[2026-07-27 00:00:12] local.INFO: TCP Data received {"connection_id":142484,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f9facdd30012d7f980005afd7c0000800062c..."} 
[2026-07-27 00:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9facdd30012d7f980005afd7c0000800062c..."} 
[2026-07-27 00:00:12] local.INFO: Processing buffer {"connection_id":142484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9facdd30012d7f980005afd7c0000800062c..."} 
[2026-07-27 00:00:12] local.INFO: Packet analysis {"connection_id":142484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fac"} 
[2026-07-27 00:00:12] local.INFO: Extracted packet for processing {"connection_id":142484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fac"} 
[2026-07-27 00:00:12] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":8,"angle":6,"satellites":44,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 00:00:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 00:00:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983048448001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:00:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:00:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:00:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:00:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785090334000,"timestamp_ms":1785090334000,"timestamp_seconds":1785090334,"priority":1,"record_length":96,"hex_timestamp":"0000019f9facdd30"} 
[2026-07-27 00:00:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 00:00:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 00:00:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-27 00:00: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-07-27 00:00:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 00:00:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 00:00:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:00:12] local.INFO: Teltonika packet parsed successfully {"connection_id":142484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:00:12] local.INFO: Passing IMEI to GPS processor {"connection_id":142484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:00:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":142484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:00: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-07-27 00:00:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:00:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:00:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983048448001,"66":25441,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:00:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:00:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:00:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983048448001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:00:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:00:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:00:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:00:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:00:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983048448001,"power":25441,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:00:12] local.INFO: DEBUG: GPS processor result {"connection_id":142484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:00:12] local.INFO: GPS data processed {"connection_id":142484,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:00:12] local.INFO: Acknowledgment sent {"connection_id":142484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:00:33] local.INFO: TCP Data received {"connection_id":142485,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:00:33] local.INFO: Processing buffer {"connection_id":142485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:00:33] local.INFO: IMEI packet received {"connection_id":142485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 00:00:33] local.INFO: IMEI acknowledgment sent {"connection_id":142485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 00:00:39] local.INFO: TCP Data received {"connection_id":142485,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:00:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:00:39] local.INFO: Processing buffer {"connection_id":142485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:00:39] local.INFO: IMEI packet received {"connection_id":142485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 00:00:39] local.INFO: IMEI acknowledgment sent {"connection_id":142485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 00:00:40] local.INFO: TCP Data received {"connection_id":142485,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f9facdd30012d7f980005afd7c0000800062c..."} 
[2026-07-27 00:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9facdd30012d7f980005afd7c0000800062c..."} 
[2026-07-27 00:00:40] local.INFO: Processing buffer {"connection_id":142485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9facdd30012d7f980005afd7c0000800062c..."} 
[2026-07-27 00:00:40] local.INFO: Packet analysis {"connection_id":142485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fac"} 
[2026-07-27 00:00:40] local.INFO: Extracted packet for processing {"connection_id":142485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fac"} 
[2026-07-27 00:00:40] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":8,"angle":6,"satellites":44,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 00: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-07-27 00:00:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983048448001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:00:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:00:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:00:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:00:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785090334000,"timestamp_ms":1785090334000,"timestamp_seconds":1785090334,"priority":1,"record_length":96,"hex_timestamp":"0000019f9facdd30"} 
[2026-07-27 00:00:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 00:00:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 00: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":107,"data_length":795,"current_offset":136} 
[2026-07-27 00:00: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-07-27 00: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-07-27 00:00:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 00:00:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:00:40] local.INFO: Teltonika packet parsed successfully {"connection_id":142485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:00:40] local.INFO: Passing IMEI to GPS processor {"connection_id":142485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:00:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":142485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00: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-07-27 00:00:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:00:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:00:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983048448001,"66":25441,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:00:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:00:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:00:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983048448001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:00:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:00:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:00:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:00:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:00:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983048448001,"power":25441,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:00:40] local.INFO: DEBUG: GPS processor result {"connection_id":142485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:00:40] local.INFO: GPS data processed {"connection_id":142485,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:00:40] local.INFO: Acknowledgment sent {"connection_id":142485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:01:11] local.INFO: TCP Data received {"connection_id":142485,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f9facdd30012d7f980005afd7c0000800062c..."} 
[2026-07-27 00:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9facdd30012d7f980005afd7c0000800062c..."} 
[2026-07-27 00:01:11] local.INFO: Processing buffer {"connection_id":142485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9facdd30012d7f980005afd7c0000800062c..."} 
[2026-07-27 00:01:11] local.INFO: Packet analysis {"connection_id":142485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fac"} 
[2026-07-27 00:01:11] local.INFO: Extracted packet for processing {"connection_id":142485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fac"} 
[2026-07-27 00:01:11] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":8,"angle":6,"satellites":44,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 00:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 00:01:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983048448001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:01:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:01:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:01:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:01:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785090334000,"timestamp_ms":1785090334000,"timestamp_seconds":1785090334,"priority":1,"record_length":96,"hex_timestamp":"0000019f9facdd30"} 
[2026-07-27 00:01:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 00:01:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 00: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":107,"data_length":795,"current_offset":136} 
[2026-07-27 00:01: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-07-27 00:01:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 00:01:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 00:01:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:01:11] local.INFO: Teltonika packet parsed successfully {"connection_id":142485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:01:11] local.INFO: Passing IMEI to GPS processor {"connection_id":142485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:01:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":142485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:01:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 00:01:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:01:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:01:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983048448001,"66":25441,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:01:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:01:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:01:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983048448001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:01:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:01:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:01:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:01:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:01:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983048448001,"power":25441,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:01:11] local.INFO: DEBUG: GPS processor result {"connection_id":142485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:01:11] local.INFO: GPS data processed {"connection_id":142485,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:01:11] local.INFO: Acknowledgment sent {"connection_id":142485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:01:39] local.INFO: TCP Data received {"connection_id":142424,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:01:39] local.INFO: Processing buffer {"connection_id":142424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:01:39] local.INFO: IMEI packet received {"connection_id":142424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 00:01:39] local.INFO: IMEI acknowledgment sent {"connection_id":142424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 00:01:44] local.INFO: TCP Data received {"connection_id":142424,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:01:44] local.INFO: Processing buffer {"connection_id":142424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:01:44] local.INFO: IMEI packet received {"connection_id":142424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 00:01:44] local.INFO: IMEI acknowledgment sent {"connection_id":142424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 00:01:44] local.INFO: TCP Data received {"connection_id":142424,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fb174f8012d7f980005afd7c0001100062d..."} 
[2026-07-27 00:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fb174f8012d7f980005afd7c0001100062d..."} 
[2026-07-27 00:01:44] local.INFO: Processing buffer {"connection_id":142424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fb174f8012d7f980005afd7c0001100062d..."} 
[2026-07-27 00:01:44] local.INFO: Packet analysis {"connection_id":142424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fb1"} 
[2026-07-27 00:01:44] local.INFO: Extracted packet for processing {"connection_id":142424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fb1"} 
[2026-07-27 00:01:44] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":45,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 00: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-07-27 00:01:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983125504001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:01:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:01:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:01:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:01:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785090635000,"timestamp_ms":1785090635000,"timestamp_seconds":1785090635,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fb174f8"} 
[2026-07-27 00:01:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 00:01:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 00: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-27 00:01:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 00: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-07-27 00:01:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 00:01:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:01:44] local.INFO: Teltonika packet parsed successfully {"connection_id":142424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:01:44] local.INFO: Passing IMEI to GPS processor {"connection_id":142424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:01:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":142424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:01:44] 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-07-27 00:01:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:01:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:01:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983125504001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:01:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:01:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:01:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983125504001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:01:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:01:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:01:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:01:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:01:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983125504001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:01:45] local.INFO: DEBUG: GPS processor result {"connection_id":142424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:01:45] local.INFO: GPS data processed {"connection_id":142424,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:01:45] local.INFO: Acknowledgment sent {"connection_id":142424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:02:16] local.INFO: TCP Data received {"connection_id":142424,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fb174f8012d7f980005afd7c0001100062d..."} 
[2026-07-27 00:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fb174f8012d7f980005afd7c0001100062d..."} 
[2026-07-27 00:02:16] local.INFO: Processing buffer {"connection_id":142424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fb174f8012d7f980005afd7c0001100062d..."} 
[2026-07-27 00:02:16] local.INFO: Packet analysis {"connection_id":142424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fb1"} 
[2026-07-27 00:02:16] local.INFO: Extracted packet for processing {"connection_id":142424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fb1"} 
[2026-07-27 00:02:16] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":45,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 00:02:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 00:02:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983125504001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:02:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:02:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:02:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:02:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785090635000,"timestamp_ms":1785090635000,"timestamp_seconds":1785090635,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fb174f8"} 
[2026-07-27 00:02:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 00:02:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 00:02:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-27 00:02: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-07-27 00:02:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 00:02:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 00:02:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:02:16] local.INFO: Teltonika packet parsed successfully {"connection_id":142424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:02:16] local.INFO: Passing IMEI to GPS processor {"connection_id":142424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:02:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":142424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:02: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-07-27 00:02:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:02:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:02:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983125504001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:02:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:02:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:02:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983125504001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:02:16] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:02:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:02:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:02:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:02:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983125504001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:02:16] local.INFO: DEBUG: GPS processor result {"connection_id":142424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:02:16] local.INFO: GPS data processed {"connection_id":142424,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:02:16] local.INFO: Acknowledgment sent {"connection_id":142424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:02:34] local.INFO: TCP Data received {"connection_id":142486,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:02:34] local.INFO: Processing buffer {"connection_id":142486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:02:34] local.INFO: IMEI packet received {"connection_id":142486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 00:02:34] local.INFO: IMEI acknowledgment sent {"connection_id":142486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 00:02:39] local.INFO: TCP Data received {"connection_id":142486,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:02:39] local.INFO: Processing buffer {"connection_id":142486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:02:39] local.INFO: IMEI packet received {"connection_id":142486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 00:02:39] local.INFO: IMEI acknowledgment sent {"connection_id":142486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 00:02:40] local.INFO: TCP Data received {"connection_id":142486,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fb174f8012d7f980005afd7c0001100062d..."} 
[2026-07-27 00:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fb174f8012d7f980005afd7c0001100062d..."} 
[2026-07-27 00:02:40] local.INFO: Processing buffer {"connection_id":142486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fb174f8012d7f980005afd7c0001100062d..."} 
[2026-07-27 00:02:40] local.INFO: Packet analysis {"connection_id":142486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fb1"} 
[2026-07-27 00:02:40] local.INFO: Extracted packet for processing {"connection_id":142486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fb1"} 
[2026-07-27 00:02:40] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":45,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 00:02:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 00:02:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983125504001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:02:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:02:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:02:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:02:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785090635000,"timestamp_ms":1785090635000,"timestamp_seconds":1785090635,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fb174f8"} 
[2026-07-27 00:02:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 00:02:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 00: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-07-27 00: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-07-27 00:02:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 00:02:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 00:02:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:02:40] local.INFO: Teltonika packet parsed successfully {"connection_id":142486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:02:40] local.INFO: Passing IMEI to GPS processor {"connection_id":142486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:02:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":142486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:02: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-07-27 00:02:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:02:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:02:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983125504001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:02:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:02:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:02:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983125504001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:02:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:02:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:02:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:02:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:02:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983125504001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:02:40] local.INFO: DEBUG: GPS processor result {"connection_id":142486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:02:40] local.INFO: GPS data processed {"connection_id":142486,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:02:40] local.INFO: Acknowledgment sent {"connection_id":142486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:03:11] local.INFO: TCP Data received {"connection_id":142486,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fb174f8012d7f980005afd7c0001100062d..."} 
[2026-07-27 00:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fb174f8012d7f980005afd7c0001100062d..."} 
[2026-07-27 00:03:11] local.INFO: Processing buffer {"connection_id":142486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fb174f8012d7f980005afd7c0001100062d..."} 
[2026-07-27 00:03:11] local.INFO: Packet analysis {"connection_id":142486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fb1"} 
[2026-07-27 00:03:11] local.INFO: Extracted packet for processing {"connection_id":142486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fb1"} 
[2026-07-27 00:03:11] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":45,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 00:03:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 00:03:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983125504001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:03:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:03:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:03:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:03:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785090635000,"timestamp_ms":1785090635000,"timestamp_seconds":1785090635,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fb174f8"} 
[2026-07-27 00:03:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 00:03:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 00: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":97,"data_length":795,"current_offset":136} 
[2026-07-27 00:03: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-07-27 00:03:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 00:03:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 00:03:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:03:11] local.INFO: Teltonika packet parsed successfully {"connection_id":142486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:03:11] local.INFO: Passing IMEI to GPS processor {"connection_id":142486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:03:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":142486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00: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-07-27 00:03:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:03:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:03:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983125504001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:03:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:03:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:03:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983125504001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:03:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:03:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:03:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:03:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:03:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983125504001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:03:11] local.INFO: DEBUG: GPS processor result {"connection_id":142486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:03:11] local.INFO: GPS data processed {"connection_id":142486,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:03:11] local.INFO: Acknowledgment sent {"connection_id":142486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:03:33] local.INFO: TCP Data received {"connection_id":144809,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:03:33] local.INFO: Processing buffer {"connection_id":144809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:03:33] local.INFO: IMEI packet received {"connection_id":144809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 00:03:33] local.INFO: IMEI acknowledgment sent {"connection_id":144809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 00:03:39] local.INFO: TCP Data received {"connection_id":144809,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:03:39] local.INFO: Processing buffer {"connection_id":144809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:03:39] local.INFO: IMEI packet received {"connection_id":144809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 00:03:39] local.INFO: IMEI acknowledgment sent {"connection_id":144809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 00:03:39] local.INFO: TCP Data received {"connection_id":144809,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fb174f8012d7f980005afd7c0001100062d..."} 
[2026-07-27 00:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fb174f8012d7f980005afd7c0001100062d..."} 
[2026-07-27 00:03:39] local.INFO: Processing buffer {"connection_id":144809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fb174f8012d7f980005afd7c0001100062d..."} 
[2026-07-27 00:03:39] local.INFO: Packet analysis {"connection_id":144809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fb1"} 
[2026-07-27 00:03:39] local.INFO: Extracted packet for processing {"connection_id":144809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fb1"} 
[2026-07-27 00:03:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":45,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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":795,"current_offset":40} 
[2026-07-27 00:03:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983125504001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:03:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:03:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:03:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:03:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785090635000,"timestamp_ms":1785090635000,"timestamp_seconds":1785090635,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fb174f8"} 
[2026-07-27 00:03:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 00:03:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 00: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-07-27 00: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-07-27 00: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-07-27 00:03:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 00:03:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:03:39] local.INFO: Teltonika packet parsed successfully {"connection_id":144809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:03:39] local.INFO: Passing IMEI to GPS processor {"connection_id":144809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:03:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":144809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:03:39] 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-07-27 00:03:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:03:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:03:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983125504001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:03:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:03:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:03:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983125504001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:03:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:03:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:03:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:03:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:03:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983125504001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:03:39] local.INFO: DEBUG: GPS processor result {"connection_id":144809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:03:39] local.INFO: GPS data processed {"connection_id":144809,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:03:39] local.INFO: Acknowledgment sent {"connection_id":144809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:03:51] local.INFO: TCP Data received {"connection_id":143457,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 00:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143457,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 00:03:51] local.INFO: Processing buffer {"connection_id":143457,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 00:03:51] local.INFO: IMEI packet received {"connection_id":143457,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 00:03:51] local.INFO: IMEI acknowledgment sent {"connection_id":143457,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 00:04:11] local.INFO: TCP Data received {"connection_id":144809,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fb174f8012d7f980005afd7c0001100062d..."} 
[2026-07-27 00:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fb174f8012d7f980005afd7c0001100062d..."} 
[2026-07-27 00:04:11] local.INFO: Processing buffer {"connection_id":144809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fb174f8012d7f980005afd7c0001100062d..."} 
[2026-07-27 00:04:11] local.INFO: Packet analysis {"connection_id":144809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fb1"} 
[2026-07-27 00:04:11] local.INFO: Extracted packet for processing {"connection_id":144809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fb1"} 
[2026-07-27 00:04:11] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":45,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 00:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 00:04:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983125504001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:04:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:04:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:04:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:04:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785090635000,"timestamp_ms":1785090635000,"timestamp_seconds":1785090635,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fb174f8"} 
[2026-07-27 00:04:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 00:04:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 00: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":97,"data_length":795,"current_offset":136} 
[2026-07-27 00:04: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-07-27 00:04:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 00:04:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 00:04:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:04:11] local.INFO: Teltonika packet parsed successfully {"connection_id":144809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:04:11] local.INFO: Passing IMEI to GPS processor {"connection_id":144809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:04:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":144809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:04: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-07-27 00:04:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:04:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:04:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983125504001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:04:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:04:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:04:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983125504001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:04:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:04:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:04:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:04:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:04:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983125504001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:04:11] local.INFO: DEBUG: GPS processor result {"connection_id":144809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:04:11] local.INFO: GPS data processed {"connection_id":144809,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:04:11] local.INFO: Acknowledgment sent {"connection_id":144809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:04:33] local.INFO: TCP Data received {"connection_id":143458,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:04:33] local.INFO: Processing buffer {"connection_id":143458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:04:33] local.INFO: IMEI packet received {"connection_id":143458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 00:04:33] local.INFO: IMEI acknowledgment sent {"connection_id":143458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 00:04:39] local.INFO: TCP Data received {"connection_id":143458,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:04:39] local.INFO: Processing buffer {"connection_id":143458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:04:39] local.INFO: IMEI packet received {"connection_id":143458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 00:04:39] local.INFO: IMEI acknowledgment sent {"connection_id":143458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 00:04:39] local.INFO: TCP Data received {"connection_id":143458,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fb174f8012d7f980005afd7c0001100062d..."} 
[2026-07-27 00:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fb174f8012d7f980005afd7c0001100062d..."} 
[2026-07-27 00:04:39] local.INFO: Processing buffer {"connection_id":143458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fb174f8012d7f980005afd7c0001100062d..."} 
[2026-07-27 00:04:39] local.INFO: Packet analysis {"connection_id":143458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fb1"} 
[2026-07-27 00:04:39] local.INFO: Extracted packet for processing {"connection_id":143458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fb1"} 
[2026-07-27 00:04:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":45,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 00:04:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 00:04:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983125504001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:04:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:04:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:04:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:04:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785090635000,"timestamp_ms":1785090635000,"timestamp_seconds":1785090635,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fb174f8"} 
[2026-07-27 00:04:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 00:04:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 00: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":97,"data_length":795,"current_offset":136} 
[2026-07-27 00:04: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-07-27 00:04:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 00:04:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 00:04:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:04:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:04:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:04:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:04:39] 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-07-27 00:04:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:04:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:04:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983125504001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:04:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:04:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:04:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983125504001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:04:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:04:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:04:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:04:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:04:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983125504001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:04:39] local.INFO: DEBUG: GPS processor result {"connection_id":143458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:04:39] local.INFO: GPS data processed {"connection_id":143458,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:04:39] local.INFO: Acknowledgment sent {"connection_id":143458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:05:10] local.INFO: TCP Data received {"connection_id":143458,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fb174f8012d7f980005afd7c0001100062d..."} 
[2026-07-27 00:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fb174f8012d7f980005afd7c0001100062d..."} 
[2026-07-27 00:05:10] local.INFO: Processing buffer {"connection_id":143458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fb174f8012d7f980005afd7c0001100062d..."} 
[2026-07-27 00:05:10] local.INFO: Packet analysis {"connection_id":143458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fb1"} 
[2026-07-27 00:05:10] local.INFO: Extracted packet for processing {"connection_id":143458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fb1"} 
[2026-07-27 00:05:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":45,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 00:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 00:05:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983125504001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:05:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:05:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:05:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:05:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785090635000,"timestamp_ms":1785090635000,"timestamp_seconds":1785090635,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fb174f8"} 
[2026-07-27 00:05:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 00:05:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 00: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-07-27 00: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-07-27 00:05:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 00:05:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 00:05:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:05:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:05:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:05:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:05: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-07-27 00:05:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:05:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:05:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983125504001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:05:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:05:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:05:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983125504001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:05:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:05:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:05:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:05:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:05:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983125504001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:05:10] local.INFO: DEBUG: GPS processor result {"connection_id":143458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:05:10] local.INFO: GPS data processed {"connection_id":143458,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:05:10] local.INFO: Acknowledgment sent {"connection_id":143458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:05:33] local.INFO: TCP Data received {"connection_id":144811,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:05:33] local.INFO: Processing buffer {"connection_id":144811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:05:33] local.INFO: IMEI packet received {"connection_id":144811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 00:05:33] local.INFO: IMEI acknowledgment sent {"connection_id":144811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 00:05:39] local.INFO: TCP Data received {"connection_id":144811,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:05:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:05:39] local.INFO: Processing buffer {"connection_id":144811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:05:39] local.INFO: IMEI packet received {"connection_id":144811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 00:05:39] local.INFO: IMEI acknowledgment sent {"connection_id":144811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 00:05:39] local.INFO: TCP Data received {"connection_id":144811,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fb174f8012d7f980005afd7c0001100062d..."} 
[2026-07-27 00:05:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fb174f8012d7f980005afd7c0001100062d..."} 
[2026-07-27 00:05:39] local.INFO: Processing buffer {"connection_id":144811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fb174f8012d7f980005afd7c0001100062d..."} 
[2026-07-27 00:05:39] local.INFO: Packet analysis {"connection_id":144811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fb1"} 
[2026-07-27 00:05:39] local.INFO: Extracted packet for processing {"connection_id":144811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fb1"} 
[2026-07-27 00:05:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":45,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 00: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-07-27 00:05:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983125504001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:05:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:05:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:05:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:05:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785090635000,"timestamp_ms":1785090635000,"timestamp_seconds":1785090635,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fb174f8"} 
[2026-07-27 00:05:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 00:05:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 00: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":97,"data_length":795,"current_offset":136} 
[2026-07-27 00:05: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-07-27 00: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-07-27 00:05:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 00:05:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:05:39] local.INFO: Teltonika packet parsed successfully {"connection_id":144811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:05:39] local.INFO: Passing IMEI to GPS processor {"connection_id":144811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:05:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":144811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:05:39] 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-07-27 00:05:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:05:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:05:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983125504001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:05:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:05:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:05:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983125504001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:05:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:05:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:05:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:05:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:05:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983125504001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:05:39] local.INFO: DEBUG: GPS processor result {"connection_id":144811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:05:39] local.INFO: GPS data processed {"connection_id":144811,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:05:39] local.INFO: Acknowledgment sent {"connection_id":144811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:06:10] local.INFO: TCP Data received {"connection_id":144811,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fb174f8012d7f980005afd7c0001100062d..."} 
[2026-07-27 00:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fb174f8012d7f980005afd7c0001100062d..."} 
[2026-07-27 00:06:10] local.INFO: Processing buffer {"connection_id":144811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fb174f8012d7f980005afd7c0001100062d..."} 
[2026-07-27 00:06:10] local.INFO: Packet analysis {"connection_id":144811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fb1"} 
[2026-07-27 00:06:10] local.INFO: Extracted packet for processing {"connection_id":144811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fb1"} 
[2026-07-27 00:06:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":45,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 00:06:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 00:06:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983125504001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:06:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:06:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:06:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:06:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785090635000,"timestamp_ms":1785090635000,"timestamp_seconds":1785090635,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fb174f8"} 
[2026-07-27 00:06:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 00:06:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 00: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-07-27 00: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-07-27 00:06:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 00:06:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 00:06:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:06:10] local.INFO: Teltonika packet parsed successfully {"connection_id":144811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:06:10] local.INFO: Passing IMEI to GPS processor {"connection_id":144811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:06:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":144811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:06: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-07-27 00:06:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:06:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:06:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983125504001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:06:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:06:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:06:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983125504001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:06:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:06:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:06:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:06:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:06:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983125504001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:06:10] local.INFO: DEBUG: GPS processor result {"connection_id":144811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:06:10] local.INFO: GPS data processed {"connection_id":144811,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:06:10] local.INFO: Acknowledgment sent {"connection_id":144811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:06:39] local.INFO: TCP Data received {"connection_id":143459,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:06:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:06:39] local.INFO: Processing buffer {"connection_id":143459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:06:39] local.INFO: IMEI packet received {"connection_id":143459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 00:06:39] local.INFO: IMEI acknowledgment sent {"connection_id":143459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 00:06:44] local.INFO: TCP Data received {"connection_id":143459,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:06:44] local.INFO: Processing buffer {"connection_id":143459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:06:44] local.INFO: IMEI packet received {"connection_id":143459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 00:06:44] local.INFO: IMEI acknowledgment sent {"connection_id":143459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 00:06:44] local.INFO: TCP Data received {"connection_id":143459,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fb60cc0012d7f980005afd7c0001100062c..."} 
[2026-07-27 00:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143459,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fb60cc0012d7f980005afd7c0001100062c..."} 
[2026-07-27 00:06:44] local.INFO: Processing buffer {"connection_id":143459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fb60cc0012d7f980005afd7c0001100062c..."} 
[2026-07-27 00:06:44] local.INFO: Packet analysis {"connection_id":143459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fb6"} 
[2026-07-27 00:06:44] local.INFO: Extracted packet for processing {"connection_id":143459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fb6"} 
[2026-07-27 00:06:44] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":44,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 00:06:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 00:06:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983202560001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:06:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:06:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:06:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:06:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785090936000,"timestamp_ms":1785090936000,"timestamp_seconds":1785090936,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fb60cc0"} 
[2026-07-27 00:06:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 00:06:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 00:06:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-27 00:06: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-07-27 00:06:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 00:06:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 00:06:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:06:44] local.INFO: Teltonika packet parsed successfully {"connection_id":143459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:06:44] local.INFO: Passing IMEI to GPS processor {"connection_id":143459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:06:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":143459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:06:44] 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-07-27 00:06:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:06:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:06:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983202560001,"66":25375,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:06:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:06:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:06:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983202560001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:06:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:06:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:06:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:06:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:06:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983202560001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:06:44] local.INFO: DEBUG: GPS processor result {"connection_id":143459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:06:44] local.INFO: GPS data processed {"connection_id":143459,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:06:44] local.INFO: Acknowledgment sent {"connection_id":143459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:07:16] local.INFO: TCP Data received {"connection_id":143459,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fb60cc0012d7f980005afd7c0001100062c..."} 
[2026-07-27 00:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143459,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fb60cc0012d7f980005afd7c0001100062c..."} 
[2026-07-27 00:07:16] local.INFO: Processing buffer {"connection_id":143459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fb60cc0012d7f980005afd7c0001100062c..."} 
[2026-07-27 00:07:16] local.INFO: Packet analysis {"connection_id":143459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fb6"} 
[2026-07-27 00:07:16] local.INFO: Extracted packet for processing {"connection_id":143459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fb6"} 
[2026-07-27 00:07:16] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":44,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 00:07:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 00:07:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983202560001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:07:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:07:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:07:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:07:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785090936000,"timestamp_ms":1785090936000,"timestamp_seconds":1785090936,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fb60cc0"} 
[2026-07-27 00:07:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 00:07:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 00:07:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-27 00:07: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-07-27 00:07:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 00:07:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 00:07:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:07:16] local.INFO: Teltonika packet parsed successfully {"connection_id":143459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:07:16] local.INFO: Passing IMEI to GPS processor {"connection_id":143459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:07:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":143459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:07: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-07-27 00:07:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:07:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:07:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983202560001,"66":25375,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:07:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:07:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:07:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983202560001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:07:16] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:07:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:07:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:07:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:07:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983202560001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:07:16] local.INFO: DEBUG: GPS processor result {"connection_id":143459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:07:16] local.INFO: GPS data processed {"connection_id":143459,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:07:16] local.INFO: Acknowledgment sent {"connection_id":143459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:07:33] local.INFO: TCP Data received {"connection_id":142489,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:07:33] local.INFO: Processing buffer {"connection_id":142489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:07:33] local.INFO: IMEI packet received {"connection_id":142489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 00:07:33] local.INFO: IMEI acknowledgment sent {"connection_id":142489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 00:07:39] local.INFO: TCP Data received {"connection_id":142489,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:07:39] local.INFO: Processing buffer {"connection_id":142489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:07:39] local.INFO: IMEI packet received {"connection_id":142489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 00:07:39] local.INFO: IMEI acknowledgment sent {"connection_id":142489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 00:07:40] local.INFO: TCP Data received {"connection_id":142489,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fb60cc0012d7f980005afd7c0001100062c..."} 
[2026-07-27 00:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fb60cc0012d7f980005afd7c0001100062c..."} 
[2026-07-27 00:07:40] local.INFO: Processing buffer {"connection_id":142489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fb60cc0012d7f980005afd7c0001100062c..."} 
[2026-07-27 00:07:40] local.INFO: Packet analysis {"connection_id":142489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fb6"} 
[2026-07-27 00:07:40] local.INFO: Extracted packet for processing {"connection_id":142489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fb6"} 
[2026-07-27 00:07:40] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":44,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 00: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-07-27 00:07:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983202560001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:07:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:07:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:07:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:07:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785090936000,"timestamp_ms":1785090936000,"timestamp_seconds":1785090936,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fb60cc0"} 
[2026-07-27 00:07:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 00:07:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 00: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":86,"data_length":795,"current_offset":136} 
[2026-07-27 00:07: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-07-27 00: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-07-27 00:07:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 00:07:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:07:40] local.INFO: Teltonika packet parsed successfully {"connection_id":142489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:07:40] local.INFO: Passing IMEI to GPS processor {"connection_id":142489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:07:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":142489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:07: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-07-27 00:07:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:07:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:07:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983202560001,"66":25375,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:07:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:07:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:07:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983202560001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:07:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:07:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:07:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:07:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:07:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983202560001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:07:40] local.INFO: DEBUG: GPS processor result {"connection_id":142489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:07:40] local.INFO: GPS data processed {"connection_id":142489,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:07:40] local.INFO: Acknowledgment sent {"connection_id":142489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:08:11] local.INFO: TCP Data received {"connection_id":142489,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fb60cc0012d7f980005afd7c0001100062c..."} 
[2026-07-27 00:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fb60cc0012d7f980005afd7c0001100062c..."} 
[2026-07-27 00:08:11] local.INFO: Processing buffer {"connection_id":142489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fb60cc0012d7f980005afd7c0001100062c..."} 
[2026-07-27 00:08:11] local.INFO: Packet analysis {"connection_id":142489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fb6"} 
[2026-07-27 00:08:11] local.INFO: Extracted packet for processing {"connection_id":142489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fb6"} 
[2026-07-27 00:08:11] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":44,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 00:08:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 00:08:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983202560001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:08:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:08:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:08:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:08:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785090936000,"timestamp_ms":1785090936000,"timestamp_seconds":1785090936,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fb60cc0"} 
[2026-07-27 00:08:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 00:08:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 00:08:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-27 00:08:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 00:08:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 00:08:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 00:08:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:08:11] local.INFO: Teltonika packet parsed successfully {"connection_id":142489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:08:11] local.INFO: Passing IMEI to GPS processor {"connection_id":142489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:08:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":142489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:08:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 00:08:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:08:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:08:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983202560001,"66":25375,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:08:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:08:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:08:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983202560001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:08:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:08:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:08:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:08:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:08:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983202560001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:08:11] local.INFO: DEBUG: GPS processor result {"connection_id":142489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:08:11] local.INFO: GPS data processed {"connection_id":142489,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:08:11] local.INFO: Acknowledgment sent {"connection_id":142489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:08:33] local.INFO: TCP Data received {"connection_id":142491,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:08:33] local.INFO: Processing buffer {"connection_id":142491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:08:33] local.INFO: IMEI packet received {"connection_id":142491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 00:08:33] local.INFO: IMEI acknowledgment sent {"connection_id":142491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 00:08:39] local.INFO: TCP Data received {"connection_id":142491,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:08:39] local.INFO: Processing buffer {"connection_id":142491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:08:39] local.INFO: IMEI packet received {"connection_id":142491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 00:08:39] local.INFO: IMEI acknowledgment sent {"connection_id":142491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 00:08:40] local.INFO: TCP Data received {"connection_id":142491,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fb60cc0012d7f980005afd7c0001100062c..."} 
[2026-07-27 00:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fb60cc0012d7f980005afd7c0001100062c..."} 
[2026-07-27 00:08:40] local.INFO: Processing buffer {"connection_id":142491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fb60cc0012d7f980005afd7c0001100062c..."} 
[2026-07-27 00:08:40] local.INFO: Packet analysis {"connection_id":142491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fb6"} 
[2026-07-27 00:08:40] local.INFO: Extracted packet for processing {"connection_id":142491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fb6"} 
[2026-07-27 00:08:40] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":44,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 00: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-07-27 00:08:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983202560001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:08:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:08:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:08:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:08:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785090936000,"timestamp_ms":1785090936000,"timestamp_seconds":1785090936,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fb60cc0"} 
[2026-07-27 00:08:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 00:08:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 00: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-07-27 00: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-07-27 00: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-07-27 00:08:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 00:08:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:08:40] local.INFO: Teltonika packet parsed successfully {"connection_id":142491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:08:40] local.INFO: Passing IMEI to GPS processor {"connection_id":142491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:08:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":142491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:08: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-07-27 00:08:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:08:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:08:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983202560001,"66":25375,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:08:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:08:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:08:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983202560001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:08:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:08:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:08:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:08:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:08:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983202560001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:08:40] local.INFO: DEBUG: GPS processor result {"connection_id":142491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:08:40] local.INFO: GPS data processed {"connection_id":142491,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:08:40] local.INFO: Acknowledgment sent {"connection_id":142491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:09:11] local.INFO: TCP Data received {"connection_id":142492,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 00:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142492,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 00:09:11] local.INFO: Processing buffer {"connection_id":142492,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 00:09:11] local.INFO: IMEI packet received {"connection_id":142492,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 00:09:11] local.INFO: IMEI acknowledgment sent {"connection_id":142492,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 00:09:12] local.INFO: TCP Data received {"connection_id":142491,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fb60cc0012d7f980005afd7c0001100062c..."} 
[2026-07-27 00:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fb60cc0012d7f980005afd7c0001100062c..."} 
[2026-07-27 00:09:12] local.INFO: Processing buffer {"connection_id":142491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fb60cc0012d7f980005afd7c0001100062c..."} 
[2026-07-27 00:09:12] local.INFO: Packet analysis {"connection_id":142491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fb6"} 
[2026-07-27 00:09:12] local.INFO: Extracted packet for processing {"connection_id":142491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fb6"} 
[2026-07-27 00:09:12] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":44,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 00:09:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 00:09:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983202560001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:09:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:09:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:09:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:09:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785090936000,"timestamp_ms":1785090936000,"timestamp_seconds":1785090936,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fb60cc0"} 
[2026-07-27 00:09:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 00:09:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 00: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-07-27 00: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-07-27 00:09:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 00:09:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 00:09:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:09:12] local.INFO: Teltonika packet parsed successfully {"connection_id":142491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:09:12] local.INFO: Passing IMEI to GPS processor {"connection_id":142491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:09:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":142491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:09:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 00:09:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:09:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:09:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983202560001,"66":25375,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:09:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:09:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:09:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983202560001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:09:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:09:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:09:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:09:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:09:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983202560001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:09:12] local.INFO: DEBUG: GPS processor result {"connection_id":142491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:09:12] local.INFO: GPS data processed {"connection_id":142491,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:09:12] local.INFO: Acknowledgment sent {"connection_id":142491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:09:39] local.INFO: TCP Data received {"connection_id":144812,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:09:39] local.INFO: Processing buffer {"connection_id":144812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:09:39] local.INFO: IMEI packet received {"connection_id":144812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 00:09:39] local.INFO: IMEI acknowledgment sent {"connection_id":144812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 00:09:44] local.INFO: TCP Data received {"connection_id":144812,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:09:44] local.INFO: Processing buffer {"connection_id":144812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:09:44] local.INFO: IMEI packet received {"connection_id":144812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 00:09:44] local.INFO: IMEI acknowledgment sent {"connection_id":144812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 00:09:45] local.INFO: TCP Data received {"connection_id":144812,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fb60cc0012d7f980005afd7c0001100062c..."} 
[2026-07-27 00:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fb60cc0012d7f980005afd7c0001100062c..."} 
[2026-07-27 00:09:45] local.INFO: Processing buffer {"connection_id":144812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fb60cc0012d7f980005afd7c0001100062c..."} 
[2026-07-27 00:09:45] local.INFO: Packet analysis {"connection_id":144812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fb6"} 
[2026-07-27 00:09:45] local.INFO: Extracted packet for processing {"connection_id":144812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fb6"} 
[2026-07-27 00:09:45] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":44,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 00:09:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 00:09:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983202560001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:09:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:09:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:09:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:09:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785090936000,"timestamp_ms":1785090936000,"timestamp_seconds":1785090936,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fb60cc0"} 
[2026-07-27 00:09:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 00:09:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 00:09:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-27 00:09:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 00:09:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 00:09:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 00:09:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:09:45] local.INFO: Teltonika packet parsed successfully {"connection_id":144812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:09:45] local.INFO: Passing IMEI to GPS processor {"connection_id":144812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:09:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":144812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:09: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-07-27 00:09:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:09:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:09:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983202560001,"66":25375,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:09:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:09:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:09:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983202560001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:09:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:09:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:09:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:09:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:09:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983202560001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:09:45] local.INFO: DEBUG: GPS processor result {"connection_id":144812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:09:45] local.INFO: GPS data processed {"connection_id":144812,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:09:45] local.INFO: Acknowledgment sent {"connection_id":144812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:09:51] local.INFO: TCP Data received {"connection_id":143460,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 00:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143460,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 00:09:51] local.INFO: Processing buffer {"connection_id":143460,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 00:09:51] local.INFO: IMEI packet received {"connection_id":143460,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 00:09:51] local.INFO: IMEI acknowledgment sent {"connection_id":143460,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 00:10:16] local.INFO: TCP Data received {"connection_id":144812,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fb60cc0012d7f980005afd7c0001100062c..."} 
[2026-07-27 00:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fb60cc0012d7f980005afd7c0001100062c..."} 
[2026-07-27 00:10:16] local.INFO: Processing buffer {"connection_id":144812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fb60cc0012d7f980005afd7c0001100062c..."} 
[2026-07-27 00:10:16] local.INFO: Packet analysis {"connection_id":144812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fb6"} 
[2026-07-27 00:10:16] local.INFO: Extracted packet for processing {"connection_id":144812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fb6"} 
[2026-07-27 00:10:16] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":44,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 00:10:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 00:10:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983202560001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:10:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:10:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:10:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:10:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785090936000,"timestamp_ms":1785090936000,"timestamp_seconds":1785090936,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fb60cc0"} 
[2026-07-27 00:10:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 00:10:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 00:10: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-07-27 00:10: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-07-27 00:10:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 00:10:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 00:10:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:10:16] local.INFO: Teltonika packet parsed successfully {"connection_id":144812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:10:16] local.INFO: Passing IMEI to GPS processor {"connection_id":144812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:10:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":144812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:10: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-07-27 00:10:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:10:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:10:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983202560001,"66":25375,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:10:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:10:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:10:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983202560001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:10:16] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:10:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:10:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:10:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:10:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983202560001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:10:16] local.INFO: DEBUG: GPS processor result {"connection_id":144812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:10:16] local.INFO: GPS data processed {"connection_id":144812,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:10:16] local.INFO: Acknowledgment sent {"connection_id":144812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:10:32] local.INFO: TCP Data received {"connection_id":142495,"ip":"69.164.217.74","data_length":109,"data_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-07-27 00:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142495,"packet_length":109,"packet_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-07-27 00:10:32] local.INFO: Processing buffer {"connection_id":142495,"buffer_length":109,"buffer_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-07-27 00:10:32] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":142495,"buffer_length":109,"first_bytes_hex":"474554202f20485454502f312e310d0a"} 
[2026-07-27 00:10:33] local.INFO: TCP Data received {"connection_id":142494,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:10:33] local.INFO: Processing buffer {"connection_id":142494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:10:33] local.INFO: IMEI packet received {"connection_id":142494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 00:10:33] local.INFO: IMEI acknowledgment sent {"connection_id":142494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 00:10:39] local.INFO: TCP Data received {"connection_id":142494,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:10:39] local.INFO: Processing buffer {"connection_id":142494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:10:39] local.INFO: IMEI packet received {"connection_id":142494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 00:10:39] local.INFO: IMEI acknowledgment sent {"connection_id":142494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 00:10:40] local.INFO: TCP Data received {"connection_id":142494,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fb60cc0012d7f980005afd7c0001100062c..."} 
[2026-07-27 00:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fb60cc0012d7f980005afd7c0001100062c..."} 
[2026-07-27 00:10:40] local.INFO: Processing buffer {"connection_id":142494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fb60cc0012d7f980005afd7c0001100062c..."} 
[2026-07-27 00:10:40] local.INFO: Packet analysis {"connection_id":142494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fb6"} 
[2026-07-27 00:10:40] local.INFO: Extracted packet for processing {"connection_id":142494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fb6"} 
[2026-07-27 00:10:40] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":44,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 00: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-07-27 00:10:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983202560001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:10:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:10:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:10:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:10:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785090936000,"timestamp_ms":1785090936000,"timestamp_seconds":1785090936,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fb60cc0"} 
[2026-07-27 00:10:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 00:10:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 00: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":86,"data_length":795,"current_offset":136} 
[2026-07-27 00:10: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-07-27 00: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-07-27 00:10:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 00:10:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:10:40] local.INFO: Teltonika packet parsed successfully {"connection_id":142494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:10:40] local.INFO: Passing IMEI to GPS processor {"connection_id":142494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:10:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":142494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:10: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-07-27 00:10:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:10:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:10:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983202560001,"66":25375,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:10:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:10:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:10:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983202560001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:10:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:10:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:10:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:10:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:10:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983202560001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:10:40] local.INFO: DEBUG: GPS processor result {"connection_id":142494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:10:40] local.INFO: GPS data processed {"connection_id":142494,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:10:40] local.INFO: Acknowledgment sent {"connection_id":142494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:11:11] local.INFO: TCP Data received {"connection_id":142494,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fb60cc0012d7f980005afd7c0001100062c..."} 
[2026-07-27 00:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fb60cc0012d7f980005afd7c0001100062c..."} 
[2026-07-27 00:11:11] local.INFO: Processing buffer {"connection_id":142494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fb60cc0012d7f980005afd7c0001100062c..."} 
[2026-07-27 00:11:11] local.INFO: Packet analysis {"connection_id":142494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fb6"} 
[2026-07-27 00:11:11] local.INFO: Extracted packet for processing {"connection_id":142494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fb6"} 
[2026-07-27 00:11:11] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":44,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 00:11:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983202560001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:11:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:11:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:11:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:11:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785090936000,"timestamp_ms":1785090936000,"timestamp_seconds":1785090936,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fb60cc0"} 
[2026-07-27 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-07-27 00:11:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":86,"data_length":795,"current_offset":136} 
[2026-07-27 00: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-07-27 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-07-27 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-07-27 00:11:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:11:11] local.INFO: Teltonika packet parsed successfully {"connection_id":142494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:11:11] local.INFO: Passing IMEI to GPS processor {"connection_id":142494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:11:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":142494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:11:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 00:11:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:11:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:11:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983202560001,"66":25375,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:11:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:11:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:11:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983202560001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:11:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:11:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:11:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:11:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:11:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983202560001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:11:11] local.INFO: DEBUG: GPS processor result {"connection_id":142494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:11:11] local.INFO: GPS data processed {"connection_id":142494,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:11:11] local.INFO: Acknowledgment sent {"connection_id":142494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:11:33] local.INFO: TCP Data received {"connection_id":143461,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:11:33] local.INFO: Processing buffer {"connection_id":143461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:11:33] local.INFO: IMEI packet received {"connection_id":143461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 00:11:33] local.INFO: IMEI acknowledgment sent {"connection_id":143461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 00:11:39] local.INFO: TCP Data received {"connection_id":143461,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:11:39] local.INFO: Processing buffer {"connection_id":143461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:11:39] local.INFO: IMEI packet received {"connection_id":143461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 00:11:39] local.INFO: IMEI acknowledgment sent {"connection_id":143461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 00:11:39] local.INFO: TCP Data received {"connection_id":143461,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fbaa488012d7f980005afd7c0001100062c..."} 
[2026-07-27 00:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fbaa488012d7f980005afd7c0001100062c..."} 
[2026-07-27 00:11:39] local.INFO: Processing buffer {"connection_id":143461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fbaa488012d7f980005afd7c0001100062c..."} 
[2026-07-27 00:11:39] local.INFO: Packet analysis {"connection_id":143461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fba"} 
[2026-07-27 00:11:39] local.INFO: Extracted packet for processing {"connection_id":143461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fba"} 
[2026-07-27 00:11:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":44,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 00:11:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 00:11:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983279616001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:11:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:11:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:11:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:11:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785091237000,"timestamp_ms":1785091237000,"timestamp_seconds":1785091237,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fbaa488"} 
[2026-07-27 00:11:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 00:11:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 00: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":31,"data_length":795,"current_offset":136} 
[2026-07-27 00:11: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-07-27 00:11:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 00:11:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 00:11:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:11:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:11:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:11:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:11:39] 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-07-27 00:11:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:11:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:11:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983279616001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:11:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:11:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:11:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983279616001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:11:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:11:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:11:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:11:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:11:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983279616001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:11:39] local.INFO: DEBUG: GPS processor result {"connection_id":143461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:11:39] local.INFO: GPS data processed {"connection_id":143461,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:11:39] local.INFO: Acknowledgment sent {"connection_id":143461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:12:11] local.INFO: TCP Data received {"connection_id":143461,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fbaa488012d7f980005afd7c0001100062c..."} 
[2026-07-27 00:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fbaa488012d7f980005afd7c0001100062c..."} 
[2026-07-27 00:12:11] local.INFO: Processing buffer {"connection_id":143461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fbaa488012d7f980005afd7c0001100062c..."} 
[2026-07-27 00:12:11] local.INFO: Packet analysis {"connection_id":143461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fba"} 
[2026-07-27 00:12:11] local.INFO: Extracted packet for processing {"connection_id":143461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fba"} 
[2026-07-27 00:12:11] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":44,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 00:12:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983279616001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:12:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:12:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:12:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:12:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785091237000,"timestamp_ms":1785091237000,"timestamp_seconds":1785091237,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fbaa488"} 
[2026-07-27 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-07-27 00:12:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":31,"data_length":795,"current_offset":136} 
[2026-07-27 00:12: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-07-27 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-07-27 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-07-27 00:12:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:12:11] local.INFO: Teltonika packet parsed successfully {"connection_id":143461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:12:11] local.INFO: Passing IMEI to GPS processor {"connection_id":143461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:12:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":143461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:12: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-07-27 00:12:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:12:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:12:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983279616001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:12:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:12:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:12:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983279616001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:12:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:12:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:12:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:12:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:12:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983279616001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:12:11] local.INFO: DEBUG: GPS processor result {"connection_id":143461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:12:11] local.INFO: GPS data processed {"connection_id":143461,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:12:11] local.INFO: Acknowledgment sent {"connection_id":143461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:12:39] local.INFO: TCP Data received {"connection_id":142497,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:12:39] local.INFO: Processing buffer {"connection_id":142497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:12:39] local.INFO: IMEI packet received {"connection_id":142497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 00:12:39] local.INFO: IMEI acknowledgment sent {"connection_id":142497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 00:12:44] local.INFO: TCP Data received {"connection_id":142497,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:12:44] local.INFO: Processing buffer {"connection_id":142497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:12:44] local.INFO: IMEI packet received {"connection_id":142497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 00:12:44] local.INFO: IMEI acknowledgment sent {"connection_id":142497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 00:12:44] local.INFO: TCP Data received {"connection_id":142497,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fbaa488012d7f980005afd7c0001100062c..."} 
[2026-07-27 00:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fbaa488012d7f980005afd7c0001100062c..."} 
[2026-07-27 00:12:44] local.INFO: Processing buffer {"connection_id":142497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fbaa488012d7f980005afd7c0001100062c..."} 
[2026-07-27 00:12:44] local.INFO: Packet analysis {"connection_id":142497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fba"} 
[2026-07-27 00:12:44] local.INFO: Extracted packet for processing {"connection_id":142497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fba"} 
[2026-07-27 00:12:44] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":44,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 00: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-07-27 00:12:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983279616001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:12:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:12:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:12:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:12:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785091237000,"timestamp_ms":1785091237000,"timestamp_seconds":1785091237,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fbaa488"} 
[2026-07-27 00:12:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 00:12:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 00: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 00:12:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 00: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-07-27 00:12:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 00:12:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:12:44] local.INFO: Teltonika packet parsed successfully {"connection_id":142497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:12:44] local.INFO: Passing IMEI to GPS processor {"connection_id":142497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:12:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":142497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:12: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-07-27 00:12:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:12:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:12:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983279616001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:12:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:12:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:12:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983279616001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:12:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:12:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:12:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:12:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:12:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983279616001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:12:44] local.INFO: DEBUG: GPS processor result {"connection_id":142497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:12:44] local.INFO: GPS data processed {"connection_id":142497,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:12:44] local.INFO: Acknowledgment sent {"connection_id":142497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:12:49] local.INFO: TCP Data received {"connection_id":142497,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fbaa488012d7f980005afd7c0001100062c..."} 
[2026-07-27 00:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fbaa488012d7f980005afd7c0001100062c..."} 
[2026-07-27 00:12:49] local.INFO: Processing buffer {"connection_id":142497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fbaa488012d7f980005afd7c0001100062c..."} 
[2026-07-27 00:12:49] local.INFO: Packet analysis {"connection_id":142497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fba"} 
[2026-07-27 00:12:49] local.INFO: Extracted packet for processing {"connection_id":142497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fba"} 
[2026-07-27 00:12:49] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":44,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 00: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-07-27 00:12:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983279616001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:12:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:12:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:12:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:12:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785091237000,"timestamp_ms":1785091237000,"timestamp_seconds":1785091237,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fbaa488"} 
[2026-07-27 00:12:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 00:12:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 00: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 00:12: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-07-27 00: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-07-27 00:12:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 00:12:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:12:49] local.INFO: Teltonika packet parsed successfully {"connection_id":142497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:12:49] local.INFO: Passing IMEI to GPS processor {"connection_id":142497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:12:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":142497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:12:49] 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-07-27 00:12:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:12:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:12:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983279616001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:12:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:12:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:12:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983279616001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:12:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:12:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:12:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:12:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:12:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983279616001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:12:49] local.INFO: DEBUG: GPS processor result {"connection_id":142497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:12:49] local.INFO: GPS data processed {"connection_id":142497,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:12:49] local.INFO: Acknowledgment sent {"connection_id":142497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:13:34] local.INFO: TCP Data received {"connection_id":142427,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:13:34] local.INFO: Processing buffer {"connection_id":142427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:13:34] local.INFO: IMEI packet received {"connection_id":142427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 00:13:34] local.INFO: IMEI acknowledgment sent {"connection_id":142427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 00:13:39] local.INFO: TCP Data received {"connection_id":142427,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:13:39] local.INFO: Processing buffer {"connection_id":142427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:13:39] local.INFO: IMEI packet received {"connection_id":142427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 00:13:39] local.INFO: IMEI acknowledgment sent {"connection_id":142427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 00:13:39] local.INFO: TCP Data received {"connection_id":142427,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fbaa488012d7f980005afd7c0001100062c..."} 
[2026-07-27 00:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fbaa488012d7f980005afd7c0001100062c..."} 
[2026-07-27 00:13:39] local.INFO: Processing buffer {"connection_id":142427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fbaa488012d7f980005afd7c0001100062c..."} 
[2026-07-27 00:13:39] local.INFO: Packet analysis {"connection_id":142427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fba"} 
[2026-07-27 00:13:39] local.INFO: Extracted packet for processing {"connection_id":142427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fba"} 
[2026-07-27 00:13:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":44,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 00: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-07-27 00:13:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983279616001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:13:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:13:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:13:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:13:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785091237000,"timestamp_ms":1785091237000,"timestamp_seconds":1785091237,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fbaa488"} 
[2026-07-27 00:13:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 00:13:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 00:13:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 00:13:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 00: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-07-27 00:13:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 00:13:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:13:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:13:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:13:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:13:39] 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-07-27 00:13:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:13:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:13:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983279616001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:13:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:13:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:13:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983279616001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:13:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:13:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:13:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:13:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:13:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983279616001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:13:39] local.INFO: DEBUG: GPS processor result {"connection_id":142427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:13:39] local.INFO: GPS data processed {"connection_id":142427,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:13:39] local.INFO: Acknowledgment sent {"connection_id":142427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:14:10] local.INFO: TCP Data received {"connection_id":142427,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fbaa488012d7f980005afd7c0001100062c..."} 
[2026-07-27 00:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fbaa488012d7f980005afd7c0001100062c..."} 
[2026-07-27 00:14:10] local.INFO: Processing buffer {"connection_id":142427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fbaa488012d7f980005afd7c0001100062c..."} 
[2026-07-27 00:14:10] local.INFO: Packet analysis {"connection_id":142427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fba"} 
[2026-07-27 00:14:10] local.INFO: Extracted packet for processing {"connection_id":142427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fba"} 
[2026-07-27 00:14:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":44,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 00:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 00:14:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983279616001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:14:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:14:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:14:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:14:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785091237000,"timestamp_ms":1785091237000,"timestamp_seconds":1785091237,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fbaa488"} 
[2026-07-27 00:14:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 00:14:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 00: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-07-27 00: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-07-27 00:14:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 00:14:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 00:14:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:14:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:14:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:14:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00: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-07-27 00:14:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:14:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:14:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983279616001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:14:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:14:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:14:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983279616001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:14:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:14:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:14:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:14:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:14:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983279616001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:14:10] local.INFO: DEBUG: GPS processor result {"connection_id":142427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:14:10] local.INFO: GPS data processed {"connection_id":142427,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:14:10] local.INFO: Acknowledgment sent {"connection_id":142427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:14:38] local.INFO: TCP Data received {"connection_id":143462,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:14:38] local.INFO: Processing buffer {"connection_id":143462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:14:38] local.INFO: IMEI packet received {"connection_id":143462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 00:14:38] local.INFO: IMEI acknowledgment sent {"connection_id":143462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 00:14:44] local.INFO: TCP Data received {"connection_id":143462,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:14:44] local.INFO: Processing buffer {"connection_id":143462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:14:44] local.INFO: IMEI packet received {"connection_id":143462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 00:14:44] local.INFO: IMEI acknowledgment sent {"connection_id":143462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 00:14:44] local.INFO: TCP Data received {"connection_id":143462,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fbaa488012d7f980005afd7c0001100062c..."} 
[2026-07-27 00:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fbaa488012d7f980005afd7c0001100062c..."} 
[2026-07-27 00:14:44] local.INFO: Processing buffer {"connection_id":143462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fbaa488012d7f980005afd7c0001100062c..."} 
[2026-07-27 00:14:44] local.INFO: Packet analysis {"connection_id":143462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fba"} 
[2026-07-27 00:14:44] local.INFO: Extracted packet for processing {"connection_id":143462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fba"} 
[2026-07-27 00:14:44] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":44,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 00:14:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 00:14:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983279616001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:14:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:14:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:14:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:14:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785091237000,"timestamp_ms":1785091237000,"timestamp_seconds":1785091237,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fbaa488"} 
[2026-07-27 00:14:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 00:14:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 00:14:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 00:14:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 00:14:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 00:14:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 00:14:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:14:44] local.INFO: Teltonika packet parsed successfully {"connection_id":143462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:14:44] local.INFO: Passing IMEI to GPS processor {"connection_id":143462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:14:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":143462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:14: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-07-27 00:14:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:14:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:14:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983279616001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:14:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:14:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:14:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983279616001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:14:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:14:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:14:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:14:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:14:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983279616001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:14:44] local.INFO: DEBUG: GPS processor result {"connection_id":143462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:14:44] local.INFO: GPS data processed {"connection_id":143462,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:14:44] local.INFO: Acknowledgment sent {"connection_id":143462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:15:06] local.INFO: TCP Data received {"connection_id":143463,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 00:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143463,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 00:15:06] local.INFO: Processing buffer {"connection_id":143463,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 00:15:06] local.INFO: IMEI packet received {"connection_id":143463,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 00:15:06] local.INFO: IMEI acknowledgment sent {"connection_id":143463,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 00:15:15] local.INFO: TCP Data received {"connection_id":143462,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fbaa488012d7f980005afd7c0001100062c..."} 
[2026-07-27 00:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fbaa488012d7f980005afd7c0001100062c..."} 
[2026-07-27 00:15:15] local.INFO: Processing buffer {"connection_id":143462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fbaa488012d7f980005afd7c0001100062c..."} 
[2026-07-27 00:15:15] local.INFO: Packet analysis {"connection_id":143462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fba"} 
[2026-07-27 00:15:15] local.INFO: Extracted packet for processing {"connection_id":143462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fba"} 
[2026-07-27 00:15:15] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":44,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 00: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-07-27 00:15:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983279616001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:15:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:15:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:15:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:15:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785091237000,"timestamp_ms":1785091237000,"timestamp_seconds":1785091237,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fbaa488"} 
[2026-07-27 00:15:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 00:15:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 00: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":31,"data_length":795,"current_offset":136} 
[2026-07-27 00:15: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-07-27 00: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-07-27 00:15:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 00:15:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:15:15] local.INFO: Teltonika packet parsed successfully {"connection_id":143462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:15:15] local.INFO: Passing IMEI to GPS processor {"connection_id":143462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:15:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":143462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:15: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-07-27 00:15:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:15:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:15:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983279616001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:15:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:15:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:15:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983279616001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:15:15] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:15:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:15:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:15:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:15:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983279616001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:15:15] local.INFO: DEBUG: GPS processor result {"connection_id":143462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:15:15] local.INFO: GPS data processed {"connection_id":143462,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:15:15] local.INFO: Acknowledgment sent {"connection_id":143462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:15:39] local.INFO: TCP Data received {"connection_id":144814,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:15:39] local.INFO: Processing buffer {"connection_id":144814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:15:39] local.INFO: IMEI packet received {"connection_id":144814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 00:15:39] local.INFO: IMEI acknowledgment sent {"connection_id":144814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 00:15:44] local.INFO: TCP Data received {"connection_id":144814,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:15:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:15:44] local.INFO: Processing buffer {"connection_id":144814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:15:44] local.INFO: IMEI packet received {"connection_id":144814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 00:15:44] local.INFO: IMEI acknowledgment sent {"connection_id":144814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 00:15:44] local.INFO: TCP Data received {"connection_id":144814,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fbaa488012d7f980005afd7c0001100062c..."} 
[2026-07-27 00:15:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144814,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fbaa488012d7f980005afd7c0001100062c..."} 
[2026-07-27 00:15:44] local.INFO: Processing buffer {"connection_id":144814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fbaa488012d7f980005afd7c0001100062c..."} 
[2026-07-27 00:15:44] local.INFO: Packet analysis {"connection_id":144814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fba"} 
[2026-07-27 00:15:44] local.INFO: Extracted packet for processing {"connection_id":144814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fba"} 
[2026-07-27 00:15:44] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":44,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 00:15:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 00:15:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983279616001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:15:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:15:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:15:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:15:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785091237000,"timestamp_ms":1785091237000,"timestamp_seconds":1785091237,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fbaa488"} 
[2026-07-27 00:15:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 00:15:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 00:15:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 00:15:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 00:15:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 00:15:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 00:15:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:15:44] local.INFO: Teltonika packet parsed successfully {"connection_id":144814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:15:44] local.INFO: Passing IMEI to GPS processor {"connection_id":144814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:15:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":144814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:15: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-07-27 00:15:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:15:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:15:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983279616001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:15:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:15:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:15:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983279616001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:15:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:15:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:15:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:15:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:15:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983279616001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:15:44] local.INFO: DEBUG: GPS processor result {"connection_id":144814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:15:44] local.INFO: GPS data processed {"connection_id":144814,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:15:44] local.INFO: Acknowledgment sent {"connection_id":144814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:15:51] local.INFO: TCP Data received {"connection_id":142428,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 00:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142428,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 00:15:51] local.INFO: Processing buffer {"connection_id":142428,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 00:15:51] local.INFO: IMEI packet received {"connection_id":142428,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 00:15:51] local.INFO: IMEI acknowledgment sent {"connection_id":142428,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 00:16:16] local.INFO: TCP Data received {"connection_id":144814,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fbaa488012d7f980005afd7c0001100062c..."} 
[2026-07-27 00:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144814,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fbaa488012d7f980005afd7c0001100062c..."} 
[2026-07-27 00:16:16] local.INFO: Processing buffer {"connection_id":144814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fbaa488012d7f980005afd7c0001100062c..."} 
[2026-07-27 00:16:16] local.INFO: Packet analysis {"connection_id":144814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fba"} 
[2026-07-27 00:16:16] local.INFO: Extracted packet for processing {"connection_id":144814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fba"} 
[2026-07-27 00:16:16] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":44,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 00:16:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 00:16:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983279616001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:16:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:16:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:16:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:16:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785091237000,"timestamp_ms":1785091237000,"timestamp_seconds":1785091237,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fbaa488"} 
[2026-07-27 00:16:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 00:16:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 00:16:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 00:16: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-07-27 00:16:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 00:16:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 00:16:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:16:16] local.INFO: Teltonika packet parsed successfully {"connection_id":144814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:16:16] local.INFO: Passing IMEI to GPS processor {"connection_id":144814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:16:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":144814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:16: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-07-27 00:16:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:16:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:16:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983279616001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:16:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:16:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:16:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983279616001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:16:16] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:16:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:16:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:16:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:16:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983279616001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:16:16] local.INFO: DEBUG: GPS processor result {"connection_id":144814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:16:16] local.INFO: GPS data processed {"connection_id":144814,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:16:16] local.INFO: Acknowledgment sent {"connection_id":144814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:16:33] local.INFO: TCP Data received {"connection_id":142429,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:16:33] local.INFO: Processing buffer {"connection_id":142429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:16:33] local.INFO: IMEI packet received {"connection_id":142429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 00:16:33] local.INFO: IMEI acknowledgment sent {"connection_id":142429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 00:16:39] local.INFO: TCP Data received {"connection_id":142429,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:16:39] local.INFO: Processing buffer {"connection_id":142429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:16:39] local.INFO: IMEI packet received {"connection_id":142429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 00:16:39] local.INFO: IMEI acknowledgment sent {"connection_id":142429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 00:16:40] local.INFO: TCP Data received {"connection_id":142429,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fbf3c50012d7f980005afd7c00011000625..."} 
[2026-07-27 00:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fbf3c50012d7f980005afd7c00011000625..."} 
[2026-07-27 00:16:40] local.INFO: Processing buffer {"connection_id":142429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fbf3c50012d7f980005afd7c00011000625..."} 
[2026-07-27 00:16:40] local.INFO: Packet analysis {"connection_id":142429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fbf"} 
[2026-07-27 00:16:40] local.INFO: Extracted packet for processing {"connection_id":142429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fbf"} 
[2026-07-27 00:16:40] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":37,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 00:16:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 00:16:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983356672001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:16:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:16:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:16:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:16:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785091538000,"timestamp_ms":1785091538000,"timestamp_seconds":1785091538,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fbf3c50"} 
[2026-07-27 00:16:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 00:16:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 00: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-07-27 00: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-07-27 00:16:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 00:16:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 00:16:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:16:40] local.INFO: Teltonika packet parsed successfully {"connection_id":142429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:16:40] local.INFO: Passing IMEI to GPS processor {"connection_id":142429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:16:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":142429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:16: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-07-27 00:16:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:16:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:16:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983356672001,"66":25441,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:16:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:16:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:16:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983356672001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:16:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:16:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:16:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:16:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:16:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983356672001,"power":25441,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:16:40] local.INFO: DEBUG: GPS processor result {"connection_id":142429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:16:40] local.INFO: GPS data processed {"connection_id":142429,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:16:40] local.INFO: Acknowledgment sent {"connection_id":142429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:17:12] local.INFO: TCP Data received {"connection_id":142429,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fbf3c50012d7f980005afd7c00011000625..."} 
[2026-07-27 00:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fbf3c50012d7f980005afd7c00011000625..."} 
[2026-07-27 00:17:12] local.INFO: Processing buffer {"connection_id":142429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fbf3c50012d7f980005afd7c00011000625..."} 
[2026-07-27 00:17:12] local.INFO: Packet analysis {"connection_id":142429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fbf"} 
[2026-07-27 00:17:12] local.INFO: Extracted packet for processing {"connection_id":142429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fbf"} 
[2026-07-27 00:17:12] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":37,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 00:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 00:17:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983356672001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:17:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:17:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:17:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:17:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785091538000,"timestamp_ms":1785091538000,"timestamp_seconds":1785091538,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fbf3c50"} 
[2026-07-27 00:17:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 00:17:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 00:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 00:17: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-07-27 00:17:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 00:17:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 00:17:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:17:12] local.INFO: Teltonika packet parsed successfully {"connection_id":142429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:17:12] local.INFO: Passing IMEI to GPS processor {"connection_id":142429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:17:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":142429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:17:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 00:17:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:17:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:17:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983356672001,"66":25441,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:17:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:17:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:17:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983356672001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:17:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:17:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:17:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:17:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:17:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983356672001,"power":25441,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:17:12] local.INFO: DEBUG: GPS processor result {"connection_id":142429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:17:12] local.INFO: GPS data processed {"connection_id":142429,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:17:12] local.INFO: Acknowledgment sent {"connection_id":142429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:17:33] local.INFO: TCP Data received {"connection_id":144815,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:17:33] local.INFO: Processing buffer {"connection_id":144815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:17:33] local.INFO: IMEI packet received {"connection_id":144815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 00:17:33] local.INFO: IMEI acknowledgment sent {"connection_id":144815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 00:17:38] local.INFO: TCP Data received {"connection_id":144815,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:17:38] local.INFO: Processing buffer {"connection_id":144815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:17:38] local.INFO: IMEI packet received {"connection_id":144815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 00:17:38] local.INFO: IMEI acknowledgment sent {"connection_id":144815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 00:17:44] local.INFO: TCP Data received {"connection_id":144815,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:17:44] local.INFO: Processing buffer {"connection_id":144815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:17:44] local.INFO: IMEI packet received {"connection_id":144815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 00:17:44] local.INFO: IMEI acknowledgment sent {"connection_id":144815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 00:17:44] local.INFO: TCP Data received {"connection_id":144815,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fbf3c50012d7f980005afd7c00011000625..."} 
[2026-07-27 00:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fbf3c50012d7f980005afd7c00011000625..."} 
[2026-07-27 00:17:44] local.INFO: Processing buffer {"connection_id":144815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fbf3c50012d7f980005afd7c00011000625..."} 
[2026-07-27 00:17:44] local.INFO: Packet analysis {"connection_id":144815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fbf"} 
[2026-07-27 00:17:44] local.INFO: Extracted packet for processing {"connection_id":144815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fbf"} 
[2026-07-27 00:17:44] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":37,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 00:17:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 00:17:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983356672001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:17:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:17:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:17:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:17:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785091538000,"timestamp_ms":1785091538000,"timestamp_seconds":1785091538,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fbf3c50"} 
[2026-07-27 00:17:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 00:17:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 00:17: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-07-27 00:17: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-07-27 00:17:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 00:17:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 00:17:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:17:44] local.INFO: Teltonika packet parsed successfully {"connection_id":144815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:17:44] local.INFO: Passing IMEI to GPS processor {"connection_id":144815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:17:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":144815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:17: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-07-27 00:17:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:17:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:17:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983356672001,"66":25441,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:17:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:17:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:17:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983356672001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:17:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:17:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:17:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:17:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:17:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983356672001,"power":25441,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:17:44] local.INFO: DEBUG: GPS processor result {"connection_id":144815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:17:44] local.INFO: GPS data processed {"connection_id":144815,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:17:44] local.INFO: Acknowledgment sent {"connection_id":144815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:18:15] local.INFO: TCP Data received {"connection_id":144815,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fbf3c50012d7f980005afd7c00011000625..."} 
[2026-07-27 00:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fbf3c50012d7f980005afd7c00011000625..."} 
[2026-07-27 00:18:15] local.INFO: Processing buffer {"connection_id":144815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fbf3c50012d7f980005afd7c00011000625..."} 
[2026-07-27 00:18:15] local.INFO: Packet analysis {"connection_id":144815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fbf"} 
[2026-07-27 00:18:15] local.INFO: Extracted packet for processing {"connection_id":144815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fbf"} 
[2026-07-27 00:18:15] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":37,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 00:18:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 00:18:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983356672001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:18:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:18:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:18:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:18:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785091538000,"timestamp_ms":1785091538000,"timestamp_seconds":1785091538,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fbf3c50"} 
[2026-07-27 00:18:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 00:18:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 00:18:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 00:18: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-07-27 00:18:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 00:18:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 00:18:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:18:15] local.INFO: Teltonika packet parsed successfully {"connection_id":144815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:18:15] local.INFO: Passing IMEI to GPS processor {"connection_id":144815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:18:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":144815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:18: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-07-27 00:18:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:18:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:18:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983356672001,"66":25441,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:18:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:18:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:18:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983356672001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:18:15] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:18:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:18:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:18:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:18:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983356672001,"power":25441,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:18:15] local.INFO: DEBUG: GPS processor result {"connection_id":144815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:18:15] local.INFO: GPS data processed {"connection_id":144815,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:18:15] local.INFO: Acknowledgment sent {"connection_id":144815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:18:33] local.INFO: TCP Data received {"connection_id":142430,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:18:33] local.INFO: Processing buffer {"connection_id":142430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:18:33] local.INFO: IMEI packet received {"connection_id":142430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 00:18:33] local.INFO: IMEI acknowledgment sent {"connection_id":142430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 00:18:39] local.INFO: TCP Data received {"connection_id":142430,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:18:39] local.INFO: Processing buffer {"connection_id":142430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:18:39] local.INFO: IMEI packet received {"connection_id":142430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 00:18:39] local.INFO: IMEI acknowledgment sent {"connection_id":142430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 00:18:39] local.INFO: TCP Data received {"connection_id":142430,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fbf3c50012d7f980005afd7c00011000625..."} 
[2026-07-27 00:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fbf3c50012d7f980005afd7c00011000625..."} 
[2026-07-27 00:18:39] local.INFO: Processing buffer {"connection_id":142430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fbf3c50012d7f980005afd7c00011000625..."} 
[2026-07-27 00:18:39] local.INFO: Packet analysis {"connection_id":142430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fbf"} 
[2026-07-27 00:18:39] local.INFO: Extracted packet for processing {"connection_id":142430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fbf"} 
[2026-07-27 00:18:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":37,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 00:18:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 00:18:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983356672001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:18:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:18:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:18:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:18:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785091538000,"timestamp_ms":1785091538000,"timestamp_seconds":1785091538,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fbf3c50"} 
[2026-07-27 00:18:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 00:18:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 00:18:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 00: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-07-27 00:18:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 00:18:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 00:18:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:18:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:18:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:18:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:18:39] 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-07-27 00:18:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:18:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:18:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983356672001,"66":25441,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:18:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:18:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:18:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983356672001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:18:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:18:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:18:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:18:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:18:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983356672001,"power":25441,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:18:39] local.INFO: DEBUG: GPS processor result {"connection_id":142430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:18:39] local.INFO: GPS data processed {"connection_id":142430,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:18:39] local.INFO: Acknowledgment sent {"connection_id":142430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:19:11] local.INFO: TCP Data received {"connection_id":142430,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fbf3c50012d7f980005afd7c00011000625..."} 
[2026-07-27 00:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fbf3c50012d7f980005afd7c00011000625..."} 
[2026-07-27 00:19:11] local.INFO: Processing buffer {"connection_id":142430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fbf3c50012d7f980005afd7c00011000625..."} 
[2026-07-27 00:19:11] local.INFO: Packet analysis {"connection_id":142430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fbf"} 
[2026-07-27 00:19:11] local.INFO: Extracted packet for processing {"connection_id":142430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fbf"} 
[2026-07-27 00:19:11] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":37,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 00:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 00:19:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983356672001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:19:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:19:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:19:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:19:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785091538000,"timestamp_ms":1785091538000,"timestamp_seconds":1785091538,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fbf3c50"} 
[2026-07-27 00:19:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 00:19:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 00:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 00:19: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-07-27 00:19:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 00:19:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 00:19:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:19:11] local.INFO: Teltonika packet parsed successfully {"connection_id":142430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:19:11] local.INFO: Passing IMEI to GPS processor {"connection_id":142430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:19:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":142430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00: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-07-27 00:19:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:19:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:19:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983356672001,"66":25441,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:19:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:19:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:19:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983356672001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:19:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:19:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:19:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:19:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:19:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983356672001,"power":25441,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:19:11] local.INFO: DEBUG: GPS processor result {"connection_id":142430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:19:11] local.INFO: GPS data processed {"connection_id":142430,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:19:11] local.INFO: Acknowledgment sent {"connection_id":142430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:19:39] local.INFO: TCP Data received {"connection_id":143464,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:19:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:19:39] local.INFO: Processing buffer {"connection_id":143464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:19:39] local.INFO: IMEI packet received {"connection_id":143464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 00:19:39] local.INFO: IMEI acknowledgment sent {"connection_id":143464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 00:19:44] local.INFO: TCP Data received {"connection_id":143464,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:19:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:19:44] local.INFO: Processing buffer {"connection_id":143464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:19:44] local.INFO: IMEI packet received {"connection_id":143464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 00:19:44] local.INFO: IMEI acknowledgment sent {"connection_id":143464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 00:19:44] local.INFO: TCP Data received {"connection_id":143464,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fbf3c50012d7f980005afd7c00011000625..."} 
[2026-07-27 00:19:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fbf3c50012d7f980005afd7c00011000625..."} 
[2026-07-27 00:19:44] local.INFO: Processing buffer {"connection_id":143464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fbf3c50012d7f980005afd7c00011000625..."} 
[2026-07-27 00:19:44] local.INFO: Packet analysis {"connection_id":143464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fbf"} 
[2026-07-27 00:19:44] local.INFO: Extracted packet for processing {"connection_id":143464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fbf"} 
[2026-07-27 00:19:44] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":37,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 00: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-07-27 00:19:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983356672001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:19:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:19:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:19:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:19:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785091538000,"timestamp_ms":1785091538000,"timestamp_seconds":1785091538,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fbf3c50"} 
[2026-07-27 00:19:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 00:19:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 00: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":53,"data_length":795,"current_offset":136} 
[2026-07-27 00:19: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-07-27 00: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-07-27 00:19:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 00:19:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:19:44] local.INFO: Teltonika packet parsed successfully {"connection_id":143464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:19:44] local.INFO: Passing IMEI to GPS processor {"connection_id":143464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:19:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":143464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:19: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-07-27 00:19:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:19:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:19:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983356672001,"66":25441,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:19:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:19:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:19:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983356672001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:19:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:19:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:19:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:19:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:19:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983356672001,"power":25441,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:19:44] local.INFO: DEBUG: GPS processor result {"connection_id":143464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:19:44] local.INFO: GPS data processed {"connection_id":143464,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:19:44] local.INFO: Acknowledgment sent {"connection_id":143464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:19:49] local.INFO: TCP Data received {"connection_id":143464,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fbf3c50012d7f980005afd7c00011000625..."} 
[2026-07-27 00:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fbf3c50012d7f980005afd7c00011000625..."} 
[2026-07-27 00:19:49] local.INFO: Processing buffer {"connection_id":143464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fbf3c50012d7f980005afd7c00011000625..."} 
[2026-07-27 00:19:49] local.INFO: Packet analysis {"connection_id":143464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fbf"} 
[2026-07-27 00:19:49] local.INFO: Extracted packet for processing {"connection_id":143464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fbf"} 
[2026-07-27 00:19:49] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":37,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 00: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-07-27 00:19:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983356672001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:19:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:19:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:19:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:19:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785091538000,"timestamp_ms":1785091538000,"timestamp_seconds":1785091538,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fbf3c50"} 
[2026-07-27 00:19:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 00:19:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 00: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 00:19:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 00: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-07-27 00:19:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 00:19:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:19:49] local.INFO: Teltonika packet parsed successfully {"connection_id":143464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:19:49] local.INFO: Passing IMEI to GPS processor {"connection_id":143464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:19:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":143464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:19:49] 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-07-27 00:19:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:19:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:19:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983356672001,"66":25441,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:19:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:19:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:19:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983356672001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:19:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:19:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:19:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:19:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:19:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983356672001,"power":25441,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:19:49] local.INFO: DEBUG: GPS processor result {"connection_id":143464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:19:49] local.INFO: GPS data processed {"connection_id":143464,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:19:49] local.INFO: Acknowledgment sent {"connection_id":143464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:20:34] local.INFO: TCP Data received {"connection_id":144816,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:20:34] local.INFO: Processing buffer {"connection_id":144816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:20:34] local.INFO: IMEI packet received {"connection_id":144816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 00:20:34] local.INFO: IMEI acknowledgment sent {"connection_id":144816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 00:20:39] local.INFO: TCP Data received {"connection_id":144816,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:20:39] local.INFO: Processing buffer {"connection_id":144816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:20:39] local.INFO: IMEI packet received {"connection_id":144816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 00:20:39] local.INFO: IMEI acknowledgment sent {"connection_id":144816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 00:20:40] local.INFO: TCP Data received {"connection_id":144816,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fbf3c50012d7f980005afd7c00011000625..."} 
[2026-07-27 00:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fbf3c50012d7f980005afd7c00011000625..."} 
[2026-07-27 00:20:40] local.INFO: Processing buffer {"connection_id":144816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fbf3c50012d7f980005afd7c00011000625..."} 
[2026-07-27 00:20:40] local.INFO: Packet analysis {"connection_id":144816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fbf"} 
[2026-07-27 00:20:40] local.INFO: Extracted packet for processing {"connection_id":144816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fbf"} 
[2026-07-27 00:20:40] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":37,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 00: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-07-27 00:20:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983356672001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:20:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:20:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:20:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:20:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785091538000,"timestamp_ms":1785091538000,"timestamp_seconds":1785091538,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fbf3c50"} 
[2026-07-27 00:20:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 00:20:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 00: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":53,"data_length":795,"current_offset":136} 
[2026-07-27 00:20: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-07-27 00: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-07-27 00:20:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 00:20:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:20:40] local.INFO: Teltonika packet parsed successfully {"connection_id":144816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:20:40] local.INFO: Passing IMEI to GPS processor {"connection_id":144816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:20:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":144816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:20: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-07-27 00:20:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:20:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:20:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983356672001,"66":25441,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:20:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:20:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:20:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983356672001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:20:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:20:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:20:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:20:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:20:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983356672001,"power":25441,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:20:40] local.INFO: DEBUG: GPS processor result {"connection_id":144816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:20:40] local.INFO: GPS data processed {"connection_id":144816,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:20:40] local.INFO: Acknowledgment sent {"connection_id":144816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:21:12] local.INFO: TCP Data received {"connection_id":144816,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fbf3c50012d7f980005afd7c00011000625..."} 
[2026-07-27 00:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fbf3c50012d7f980005afd7c00011000625..."} 
[2026-07-27 00:21:12] local.INFO: Processing buffer {"connection_id":144816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fbf3c50012d7f980005afd7c00011000625..."} 
[2026-07-27 00:21:12] local.INFO: Packet analysis {"connection_id":144816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fbf"} 
[2026-07-27 00:21:12] local.INFO: Extracted packet for processing {"connection_id":144816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fbf"} 
[2026-07-27 00:21:12] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":37,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 00:21:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 00:21:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983356672001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:21:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:21:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:21:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:21:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785091538000,"timestamp_ms":1785091538000,"timestamp_seconds":1785091538,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fbf3c50"} 
[2026-07-27 00:21:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 00:21:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 00:21:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 00:21: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-07-27 00:21:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 00:21:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 00:21:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:21:12] local.INFO: Teltonika packet parsed successfully {"connection_id":144816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:21:12] local.INFO: Passing IMEI to GPS processor {"connection_id":144816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:21:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":144816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:21:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 00:21:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:21:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:21:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983356672001,"66":25441,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:21:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:21:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:21:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983356672001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:21:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:21:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:21:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:21:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:21:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983356672001,"power":25441,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:21:12] local.INFO: DEBUG: GPS processor result {"connection_id":144816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:21:12] local.INFO: GPS data processed {"connection_id":144816,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:21:12] local.INFO: Acknowledgment sent {"connection_id":144816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:21:16] local.INFO: TCP Data received {"connection_id":142432,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 00:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142432,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 00:21:16] local.INFO: Processing buffer {"connection_id":142432,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 00:21:16] local.INFO: IMEI packet received {"connection_id":142432,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 00:21:16] local.INFO: IMEI acknowledgment sent {"connection_id":142432,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 00:21:33] local.INFO: TCP Data received {"connection_id":142433,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:21:33] local.INFO: Processing buffer {"connection_id":142433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:21:33] local.INFO: IMEI packet received {"connection_id":142433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 00:21:33] local.INFO: IMEI acknowledgment sent {"connection_id":142433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 00:21:39] local.INFO: TCP Data received {"connection_id":142433,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:21:39] local.INFO: Processing buffer {"connection_id":142433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:21:39] local.INFO: IMEI packet received {"connection_id":142433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 00:21:39] local.INFO: IMEI acknowledgment sent {"connection_id":142433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 00:21:40] local.INFO: TCP Data received {"connection_id":142433,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fc3d418012d7f980005afd7c00011000627..."} 
[2026-07-27 00:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fc3d418012d7f980005afd7c00011000627..."} 
[2026-07-27 00:21:40] local.INFO: Processing buffer {"connection_id":142433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fc3d418012d7f980005afd7c00011000627..."} 
[2026-07-27 00:21:40] local.INFO: Packet analysis {"connection_id":142433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fc3"} 
[2026-07-27 00:21:40] local.INFO: Extracted packet for processing {"connection_id":142433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fc3"} 
[2026-07-27 00:21:40] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":39,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 00:21:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 00:21:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983433728001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:21:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:21:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:21:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:21:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785091839000,"timestamp_ms":1785091839000,"timestamp_seconds":1785091839,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fc3d418"} 
[2026-07-27 00:21:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 00:21:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 00:21:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-27 00: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-07-27 00:21:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 00:21:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 00:21:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:21:40] local.INFO: Teltonika packet parsed successfully {"connection_id":142433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:21:40] local.INFO: Passing IMEI to GPS processor {"connection_id":142433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:21:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":142433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:21: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-07-27 00:21:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:21:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:21:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983433728001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:21:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:21:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:21:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983433728001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:21:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:21:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:21:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:21:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:21:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983433728001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:21:40] local.INFO: DEBUG: GPS processor result {"connection_id":142433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:21:40] local.INFO: GPS data processed {"connection_id":142433,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:21:40] local.INFO: Acknowledgment sent {"connection_id":142433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:21:46] local.INFO: TCP Data received {"connection_id":142501,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 00:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142501,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 00:21:46] local.INFO: Processing buffer {"connection_id":142501,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 00:21:46] local.INFO: IMEI packet received {"connection_id":142501,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 00:21:46] local.INFO: IMEI acknowledgment sent {"connection_id":142501,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 00:22:11] local.INFO: TCP Data received {"connection_id":142433,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fc3d418012d7f980005afd7c00011000627..."} 
[2026-07-27 00:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fc3d418012d7f980005afd7c00011000627..."} 
[2026-07-27 00:22:11] local.INFO: Processing buffer {"connection_id":142433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fc3d418012d7f980005afd7c00011000627..."} 
[2026-07-27 00:22:11] local.INFO: Packet analysis {"connection_id":142433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fc3"} 
[2026-07-27 00:22:11] local.INFO: Extracted packet for processing {"connection_id":142433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fc3"} 
[2026-07-27 00:22:11] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":39,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 00:22:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 00:22:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983433728001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:22:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:22:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:22:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:22:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785091839000,"timestamp_ms":1785091839000,"timestamp_seconds":1785091839,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fc3d418"} 
[2026-07-27 00:22:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 00:22:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 00:22:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-27 00:22: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-07-27 00:22:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 00:22:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 00:22:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:22:11] local.INFO: Teltonika packet parsed successfully {"connection_id":142433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:22:11] local.INFO: Passing IMEI to GPS processor {"connection_id":142433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:22:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":142433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:22: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-07-27 00:22:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:22:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:22:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983433728001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:22:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:22:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:22:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983433728001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:22:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:22:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:22:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:22:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:22:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983433728001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:22:11] local.INFO: DEBUG: GPS processor result {"connection_id":142433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:22:11] local.INFO: GPS data processed {"connection_id":142433,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:22:11] local.INFO: Acknowledgment sent {"connection_id":142433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:22:33] local.INFO: TCP Data received {"connection_id":142434,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:22:33] local.INFO: Processing buffer {"connection_id":142434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:22:33] local.INFO: IMEI packet received {"connection_id":142434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 00:22:33] local.INFO: IMEI acknowledgment sent {"connection_id":142434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 00:22:39] local.INFO: TCP Data received {"connection_id":142434,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:22:39] local.INFO: Processing buffer {"connection_id":142434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:22:39] local.INFO: IMEI packet received {"connection_id":142434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 00:22:39] local.INFO: IMEI acknowledgment sent {"connection_id":142434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 00:22:39] local.INFO: TCP Data received {"connection_id":142434,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fc3d418012d7f980005afd7c00011000627..."} 
[2026-07-27 00:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fc3d418012d7f980005afd7c00011000627..."} 
[2026-07-27 00:22:39] local.INFO: Processing buffer {"connection_id":142434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fc3d418012d7f980005afd7c00011000627..."} 
[2026-07-27 00:22:39] local.INFO: Packet analysis {"connection_id":142434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fc3"} 
[2026-07-27 00:22:39] local.INFO: Extracted packet for processing {"connection_id":142434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fc3"} 
[2026-07-27 00:22:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":39,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 00:22:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 00:22:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983433728001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:22:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:22:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:22:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:22:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785091839000,"timestamp_ms":1785091839000,"timestamp_seconds":1785091839,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fc3d418"} 
[2026-07-27 00:22:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 00:22:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 00: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":97,"data_length":795,"current_offset":136} 
[2026-07-27 00:22: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-07-27 00:22:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 00:22:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 00:22:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:22:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:22:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:22:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:22:39] 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-07-27 00:22:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:22:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:22:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983433728001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:22:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:22:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:22:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983433728001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:22:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:22:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:22:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:22:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:22:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983433728001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:22:39] local.INFO: DEBUG: GPS processor result {"connection_id":142434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:22:39] local.INFO: GPS data processed {"connection_id":142434,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:22:39] local.INFO: Acknowledgment sent {"connection_id":142434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:23:11] local.INFO: TCP Data received {"connection_id":142434,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fc3d418012d7f980005afd7c00011000627..."} 
[2026-07-27 00:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fc3d418012d7f980005afd7c00011000627..."} 
[2026-07-27 00:23:11] local.INFO: Processing buffer {"connection_id":142434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fc3d418012d7f980005afd7c00011000627..."} 
[2026-07-27 00:23:11] local.INFO: Packet analysis {"connection_id":142434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fc3"} 
[2026-07-27 00:23:11] local.INFO: Extracted packet for processing {"connection_id":142434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fc3"} 
[2026-07-27 00:23:11] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":39,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 00:23:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983433728001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:23:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:23:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:23:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:23:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785091839000,"timestamp_ms":1785091839000,"timestamp_seconds":1785091839,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fc3d418"} 
[2026-07-27 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-07-27 00:23:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":97,"data_length":795,"current_offset":136} 
[2026-07-27 00:23: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-07-27 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-07-27 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-07-27 00:23:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:23:11] local.INFO: Teltonika packet parsed successfully {"connection_id":142434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:23:11] local.INFO: Passing IMEI to GPS processor {"connection_id":142434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:23:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":142434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:23: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-07-27 00:23:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:23:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:23:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983433728001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:23:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:23:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:23:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983433728001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:23:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:23:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:23:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:23:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:23:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983433728001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:23:11] local.INFO: DEBUG: GPS processor result {"connection_id":142434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:23:11] local.INFO: GPS data processed {"connection_id":142434,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:23:11] local.INFO: Acknowledgment sent {"connection_id":142434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:23:33] local.INFO: TCP Data received {"connection_id":143466,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:23:33] local.INFO: Processing buffer {"connection_id":143466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:23:33] local.INFO: IMEI packet received {"connection_id":143466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 00:23:33] local.INFO: IMEI acknowledgment sent {"connection_id":143466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 00:23:39] local.INFO: TCP Data received {"connection_id":143466,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:23:39] local.INFO: Processing buffer {"connection_id":143466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:23:39] local.INFO: IMEI packet received {"connection_id":143466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 00:23:39] local.INFO: IMEI acknowledgment sent {"connection_id":143466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 00:23:39] local.INFO: TCP Data received {"connection_id":143466,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fc3d418012d7f980005afd7c00011000627..."} 
[2026-07-27 00:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fc3d418012d7f980005afd7c00011000627..."} 
[2026-07-27 00:23:39] local.INFO: Processing buffer {"connection_id":143466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fc3d418012d7f980005afd7c00011000627..."} 
[2026-07-27 00:23:39] local.INFO: Packet analysis {"connection_id":143466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fc3"} 
[2026-07-27 00:23:39] local.INFO: Extracted packet for processing {"connection_id":143466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fc3"} 
[2026-07-27 00:23:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":39,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 00:23:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 00:23:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983433728001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:23:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:23:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:23:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:23:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785091839000,"timestamp_ms":1785091839000,"timestamp_seconds":1785091839,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fc3d418"} 
[2026-07-27 00:23:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 00:23:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 00:23:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-27 00:23: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-07-27 00:23:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 00:23:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 00:23:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:23:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:23:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:23:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:23:39] 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-07-27 00:23:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:23:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:23:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983433728001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:23:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:23:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:23:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983433728001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:23:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:23:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:23:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:23:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:23:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983433728001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:23:39] local.INFO: DEBUG: GPS processor result {"connection_id":143466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:23:39] local.INFO: GPS data processed {"connection_id":143466,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:23:39] local.INFO: Acknowledgment sent {"connection_id":143466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:24:10] local.INFO: TCP Data received {"connection_id":143466,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fc3d418012d7f980005afd7c00011000627..."} 
[2026-07-27 00:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fc3d418012d7f980005afd7c00011000627..."} 
[2026-07-27 00:24:10] local.INFO: Processing buffer {"connection_id":143466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fc3d418012d7f980005afd7c00011000627..."} 
[2026-07-27 00:24:10] local.INFO: Packet analysis {"connection_id":143466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fc3"} 
[2026-07-27 00:24:10] local.INFO: Extracted packet for processing {"connection_id":143466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fc3"} 
[2026-07-27 00:24:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":39,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 00:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 00:24:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983433728001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:24:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:24:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:24:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:24:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785091839000,"timestamp_ms":1785091839000,"timestamp_seconds":1785091839,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fc3d418"} 
[2026-07-27 00:24:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 00:24:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 00: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":97,"data_length":795,"current_offset":136} 
[2026-07-27 00:24:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 00:24:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 00:24:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 00:24:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:24:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:24:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:24:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:24: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-07-27 00:24:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:24:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:24:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983433728001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:24:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:24:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:24:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983433728001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:24:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:24:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:24:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:24:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:24:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983433728001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:24:10] local.INFO: DEBUG: GPS processor result {"connection_id":143466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:24:10] local.INFO: GPS data processed {"connection_id":143466,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:24:10] local.INFO: Acknowledgment sent {"connection_id":143466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:24:39] local.INFO: TCP Data received {"connection_id":144817,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:24:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:24:39] local.INFO: Processing buffer {"connection_id":144817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:24:39] local.INFO: IMEI packet received {"connection_id":144817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 00:24:39] local.INFO: IMEI acknowledgment sent {"connection_id":144817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 00:24:44] local.INFO: TCP Data received {"connection_id":144817,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:24:44] local.INFO: Processing buffer {"connection_id":144817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:24:44] local.INFO: IMEI packet received {"connection_id":144817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 00:24:44] local.INFO: IMEI acknowledgment sent {"connection_id":144817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 00:24:45] local.INFO: TCP Data received {"connection_id":144817,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fc3d418012d7f980005afd7c00011000627..."} 
[2026-07-27 00:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fc3d418012d7f980005afd7c00011000627..."} 
[2026-07-27 00:24:45] local.INFO: Processing buffer {"connection_id":144817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fc3d418012d7f980005afd7c00011000627..."} 
[2026-07-27 00:24:45] local.INFO: Packet analysis {"connection_id":144817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fc3"} 
[2026-07-27 00:24:45] local.INFO: Extracted packet for processing {"connection_id":144817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fc3"} 
[2026-07-27 00:24:45] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":39,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 00: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-07-27 00:24:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983433728001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:24:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:24:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:24:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:24:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785091839000,"timestamp_ms":1785091839000,"timestamp_seconds":1785091839,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fc3d418"} 
[2026-07-27 00:24:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 00:24:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 00: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":97,"data_length":795,"current_offset":136} 
[2026-07-27 00:24: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-07-27 00: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-07-27 00:24:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 00:24:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:24:45] local.INFO: Teltonika packet parsed successfully {"connection_id":144817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:24:45] local.INFO: Passing IMEI to GPS processor {"connection_id":144817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:24:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":144817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:24:45] 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-07-27 00:24:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:24:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:24:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983433728001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:24:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:24:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:24:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983433728001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:24:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:24:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:24:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:24:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:24:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983433728001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:24:45] local.INFO: DEBUG: GPS processor result {"connection_id":144817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:24:45] local.INFO: GPS data processed {"connection_id":144817,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:24:45] local.INFO: Acknowledgment sent {"connection_id":144817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:24:50] local.INFO: TCP Data received {"connection_id":144817,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fc3d418012d7f980005afd7c00011000627..."} 
[2026-07-27 00:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fc3d418012d7f980005afd7c00011000627..."} 
[2026-07-27 00:24:50] local.INFO: Processing buffer {"connection_id":144817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fc3d418012d7f980005afd7c00011000627..."} 
[2026-07-27 00:24:50] local.INFO: Packet analysis {"connection_id":144817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fc3"} 
[2026-07-27 00:24:50] local.INFO: Extracted packet for processing {"connection_id":144817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fc3"} 
[2026-07-27 00:24:50] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":39,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 00: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-07-27 00:24:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983433728001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:24:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:24:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:24:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:24:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785091839000,"timestamp_ms":1785091839000,"timestamp_seconds":1785091839,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fc3d418"} 
[2026-07-27 00:24:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 00:24:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 00: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-27 00:24:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 00: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-07-27 00:24:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 00:24:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:24:50] local.INFO: Teltonika packet parsed successfully {"connection_id":144817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:24:50] local.INFO: Passing IMEI to GPS processor {"connection_id":144817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:24:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":144817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:24:50] 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-07-27 00:24:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:24:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:24:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983433728001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:24:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:24:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:24:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983433728001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:24:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:24:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:24:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:24:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:24:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983433728001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:24:50] local.INFO: DEBUG: GPS processor result {"connection_id":144817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:24:50] local.INFO: GPS data processed {"connection_id":144817,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:24:50] local.INFO: Acknowledgment sent {"connection_id":144817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:25:33] local.INFO: TCP Data received {"connection_id":142503,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:25:33] local.INFO: Processing buffer {"connection_id":142503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:25:33] local.INFO: IMEI packet received {"connection_id":142503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 00:25:33] local.INFO: IMEI acknowledgment sent {"connection_id":142503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 00:25:39] local.INFO: TCP Data received {"connection_id":142503,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:25:39] local.INFO: Processing buffer {"connection_id":142503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:25:39] local.INFO: IMEI packet received {"connection_id":142503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 00:25:39] local.INFO: IMEI acknowledgment sent {"connection_id":142503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 00:25:39] local.INFO: TCP Data received {"connection_id":142503,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fc3d418012d7f980005afd7c00011000627..."} 
[2026-07-27 00:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fc3d418012d7f980005afd7c00011000627..."} 
[2026-07-27 00:25:39] local.INFO: Processing buffer {"connection_id":142503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fc3d418012d7f980005afd7c00011000627..."} 
[2026-07-27 00:25:39] local.INFO: Packet analysis {"connection_id":142503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fc3"} 
[2026-07-27 00:25:39] local.INFO: Extracted packet for processing {"connection_id":142503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fc3"} 
[2026-07-27 00:25:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":39,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 00:25:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 00:25:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983433728001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:25:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:25:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:25:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:25:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785091839000,"timestamp_ms":1785091839000,"timestamp_seconds":1785091839,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fc3d418"} 
[2026-07-27 00:25:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 00:25:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 00: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":97,"data_length":795,"current_offset":136} 
[2026-07-27 00:25: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-07-27 00:25:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 00:25:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 00:25:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:25:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:25:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:25:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:25:39] 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-07-27 00:25:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:25:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:25:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983433728001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:25:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:25:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:25:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983433728001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:25:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:25:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:25:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:25:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:25:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983433728001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:25:40] local.INFO: DEBUG: GPS processor result {"connection_id":142503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:25:40] local.INFO: GPS data processed {"connection_id":142503,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:25:40] local.INFO: Acknowledgment sent {"connection_id":142503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:26:11] local.INFO: TCP Data received {"connection_id":142503,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fc3d418012d7f980005afd7c00011000627..."} 
[2026-07-27 00:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fc3d418012d7f980005afd7c00011000627..."} 
[2026-07-27 00:26:11] local.INFO: Processing buffer {"connection_id":142503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fc3d418012d7f980005afd7c00011000627..."} 
[2026-07-27 00:26:11] local.INFO: Packet analysis {"connection_id":142503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fc3"} 
[2026-07-27 00:26:11] local.INFO: Extracted packet for processing {"connection_id":142503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fc3"} 
[2026-07-27 00:26:11] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":39,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 00:26:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983433728001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:26:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:26:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:26:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:26:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785091839000,"timestamp_ms":1785091839000,"timestamp_seconds":1785091839,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fc3d418"} 
[2026-07-27 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-07-27 00:26:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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-07-27 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-07-27 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-07-27 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-07-27 00:26:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:26:11] local.INFO: Teltonika packet parsed successfully {"connection_id":142503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:26:11] local.INFO: Passing IMEI to GPS processor {"connection_id":142503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:26:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":142503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 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-07-27 00:26:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:26:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:26:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983433728001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:26:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:26:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:26:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983433728001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:26:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:26:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:26:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:26:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:26:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983433728001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:26:11] local.INFO: DEBUG: GPS processor result {"connection_id":142503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:26:11] local.INFO: GPS data processed {"connection_id":142503,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:26:11] local.INFO: Acknowledgment sent {"connection_id":142503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:26:33] local.INFO: TCP Data received {"connection_id":142436,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:26:33] local.INFO: Processing buffer {"connection_id":142436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:26:33] local.INFO: IMEI packet received {"connection_id":142436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 00:26:33] local.INFO: IMEI acknowledgment sent {"connection_id":142436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 00:26:39] local.INFO: TCP Data received {"connection_id":142436,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:26:39] local.INFO: Processing buffer {"connection_id":142436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:26:39] local.INFO: IMEI packet received {"connection_id":142436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 00:26:39] local.INFO: IMEI acknowledgment sent {"connection_id":142436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 00:26:39] local.INFO: TCP Data received {"connection_id":142436,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fc86be0012d7f980005afd7c00011000628..."} 
[2026-07-27 00:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fc86be0012d7f980005afd7c00011000628..."} 
[2026-07-27 00:26:39] local.INFO: Processing buffer {"connection_id":142436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fc86be0012d7f980005afd7c00011000628..."} 
[2026-07-27 00:26:39] local.INFO: Packet analysis {"connection_id":142436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fc8"} 
[2026-07-27 00:26:39] local.INFO: Extracted packet for processing {"connection_id":142436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fc8"} 
[2026-07-27 00:26:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 00:26:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 00:26:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983510784001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:26:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:26:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:26:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:26:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785092140000,"timestamp_ms":1785092140000,"timestamp_seconds":1785092140,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fc86be0"} 
[2026-07-27 00:26:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 00:26:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 00: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":86,"data_length":795,"current_offset":136} 
[2026-07-27 00:26:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 00:26:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 00:26:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 00:26:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:26:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:26:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:26:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:26:39] 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-07-27 00:26:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:26:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:26:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983510784001,"66":25451,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:26:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:26:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:26:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983510784001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:26:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:26:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:26:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:26:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:26:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983510784001,"power":25451,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:26:40] local.INFO: DEBUG: GPS processor result {"connection_id":142436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:26:40] local.INFO: GPS data processed {"connection_id":142436,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:26:40] local.INFO: Acknowledgment sent {"connection_id":142436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:27:10] local.INFO: TCP Data received {"connection_id":143467,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 00:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143467,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 00:27:11] local.INFO: Processing buffer {"connection_id":143467,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 00:27:11] local.INFO: IMEI packet received {"connection_id":143467,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 00:27:11] local.INFO: IMEI acknowledgment sent {"connection_id":143467,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 00:27:11] local.INFO: TCP Data received {"connection_id":142436,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fc86be0012d7f980005afd7c00011000628..."} 
[2026-07-27 00:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fc86be0012d7f980005afd7c00011000628..."} 
[2026-07-27 00:27:11] local.INFO: Processing buffer {"connection_id":142436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fc86be0012d7f980005afd7c00011000628..."} 
[2026-07-27 00:27:11] local.INFO: Packet analysis {"connection_id":142436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fc8"} 
[2026-07-27 00:27:11] local.INFO: Extracted packet for processing {"connection_id":142436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fc8"} 
[2026-07-27 00:27:11] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 00:27:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983510784001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:27:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:27:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:27:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:27:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785092140000,"timestamp_ms":1785092140000,"timestamp_seconds":1785092140,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fc86be0"} 
[2026-07-27 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-07-27 00:27:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":86,"data_length":795,"current_offset":136} 
[2026-07-27 00: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-07-27 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-07-27 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-07-27 00:27:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:27:11] local.INFO: Teltonika packet parsed successfully {"connection_id":142436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:27:11] local.INFO: Passing IMEI to GPS processor {"connection_id":142436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:27:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":142436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 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-07-27 00:27:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:27:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:27:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983510784001,"66":25451,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:27:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:27:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:27:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983510784001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:27:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:27:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:27:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:27:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:27:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983510784001,"power":25451,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:27:11] local.INFO: DEBUG: GPS processor result {"connection_id":142436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:27:11] local.INFO: GPS data processed {"connection_id":142436,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:27:11] local.INFO: Acknowledgment sent {"connection_id":142436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:27:33] local.INFO: TCP Data received {"connection_id":144819,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:27:33] local.INFO: Processing buffer {"connection_id":144819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:27:33] local.INFO: IMEI packet received {"connection_id":144819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 00:27:33] local.INFO: IMEI acknowledgment sent {"connection_id":144819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 00:27:39] local.INFO: TCP Data received {"connection_id":144819,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:27:39] local.INFO: Processing buffer {"connection_id":144819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:27:39] local.INFO: IMEI packet received {"connection_id":144819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 00:27:39] local.INFO: IMEI acknowledgment sent {"connection_id":144819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 00:27:40] local.INFO: TCP Data received {"connection_id":144819,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fc86be0012d7f980005afd7c00011000628..."} 
[2026-07-27 00:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fc86be0012d7f980005afd7c00011000628..."} 
[2026-07-27 00:27:40] local.INFO: Processing buffer {"connection_id":144819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fc86be0012d7f980005afd7c00011000628..."} 
[2026-07-27 00:27:40] local.INFO: Packet analysis {"connection_id":144819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fc8"} 
[2026-07-27 00:27:40] local.INFO: Extracted packet for processing {"connection_id":144819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fc8"} 
[2026-07-27 00:27:40] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 00:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 00:27:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983510784001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:27:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:27:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:27:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:27:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785092140000,"timestamp_ms":1785092140000,"timestamp_seconds":1785092140,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fc86be0"} 
[2026-07-27 00:27:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 00:27:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 00:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-27 00: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-07-27 00:27:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 00:27:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 00:27:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:27:40] local.INFO: Teltonika packet parsed successfully {"connection_id":144819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:27:40] local.INFO: Passing IMEI to GPS processor {"connection_id":144819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:27:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":144819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:27: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-07-27 00:27:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:27:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:27:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983510784001,"66":25451,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:27:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:27:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:27:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983510784001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:27:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:27:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:27:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:27:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:27:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983510784001,"power":25451,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:27:40] local.INFO: DEBUG: GPS processor result {"connection_id":144819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:27:40] local.INFO: GPS data processed {"connection_id":144819,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:27:40] local.INFO: Acknowledgment sent {"connection_id":144819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:27:46] local.INFO: TCP Data received {"connection_id":143468,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 00:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143468,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 00:27:46] local.INFO: Processing buffer {"connection_id":143468,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 00:27:46] local.INFO: IMEI packet received {"connection_id":143468,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 00:27:46] local.INFO: IMEI acknowledgment sent {"connection_id":143468,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 00:28:11] local.INFO: TCP Data received {"connection_id":144819,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fc86be0012d7f980005afd7c00011000628..."} 
[2026-07-27 00:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fc86be0012d7f980005afd7c00011000628..."} 
[2026-07-27 00:28:11] local.INFO: Processing buffer {"connection_id":144819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fc86be0012d7f980005afd7c00011000628..."} 
[2026-07-27 00:28:11] local.INFO: Packet analysis {"connection_id":144819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fc8"} 
[2026-07-27 00:28:11] local.INFO: Extracted packet for processing {"connection_id":144819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fc8"} 
[2026-07-27 00:28:11] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 00:28:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983510784001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:28:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:28:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:28:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:28:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785092140000,"timestamp_ms":1785092140000,"timestamp_seconds":1785092140,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fc86be0"} 
[2026-07-27 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-07-27 00:28:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":86,"data_length":795,"current_offset":136} 
[2026-07-27 00: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-07-27 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-07-27 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-07-27 00:28:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:28:11] local.INFO: Teltonika packet parsed successfully {"connection_id":144819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:28:11] local.INFO: Passing IMEI to GPS processor {"connection_id":144819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:28:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":144819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 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-07-27 00:28:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:28:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:28:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983510784001,"66":25451,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:28:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:28:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:28:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983510784001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:28:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:28:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:28:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:28:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:28:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983510784001,"power":25451,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:28:11] local.INFO: DEBUG: GPS processor result {"connection_id":144819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:28:11] local.INFO: GPS data processed {"connection_id":144819,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:28:11] local.INFO: Acknowledgment sent {"connection_id":144819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:28:38] local.INFO: TCP Data received {"connection_id":143469,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:28:38] local.INFO: Processing buffer {"connection_id":143469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:28:38] local.INFO: IMEI packet received {"connection_id":143469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 00:28:38] local.INFO: IMEI acknowledgment sent {"connection_id":143469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 00:28:44] local.INFO: TCP Data received {"connection_id":143469,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:28:44] local.INFO: Processing buffer {"connection_id":143469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:28:44] local.INFO: IMEI packet received {"connection_id":143469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 00:28:44] local.INFO: IMEI acknowledgment sent {"connection_id":143469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 00:28:45] local.INFO: TCP Data received {"connection_id":143469,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fc86be0012d7f980005afd7c00011000628..."} 
[2026-07-27 00:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fc86be0012d7f980005afd7c00011000628..."} 
[2026-07-27 00:28:45] local.INFO: Processing buffer {"connection_id":143469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fc86be0012d7f980005afd7c00011000628..."} 
[2026-07-27 00:28:45] local.INFO: Packet analysis {"connection_id":143469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fc8"} 
[2026-07-27 00:28:45] local.INFO: Extracted packet for processing {"connection_id":143469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fc8"} 
[2026-07-27 00:28:45] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 00: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-07-27 00:28:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983510784001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:28:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:28:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:28:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:28:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785092140000,"timestamp_ms":1785092140000,"timestamp_seconds":1785092140,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fc86be0"} 
[2026-07-27 00:28:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 00:28:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 00: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":86,"data_length":795,"current_offset":136} 
[2026-07-27 00:28:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 00: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-07-27 00:28:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 00:28:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:28:45] local.INFO: Teltonika packet parsed successfully {"connection_id":143469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:28:45] local.INFO: Passing IMEI to GPS processor {"connection_id":143469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:28:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":143469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:28:45] 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-07-27 00:28:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:28:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:28:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983510784001,"66":25451,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:28:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:28:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:28:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983510784001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:28:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:28:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:28:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:28:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:28:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983510784001,"power":25451,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:28:45] local.INFO: DEBUG: GPS processor result {"connection_id":143469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:28:45] local.INFO: GPS data processed {"connection_id":143469,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:28:45] local.INFO: Acknowledgment sent {"connection_id":143469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:29:16] local.INFO: TCP Data received {"connection_id":143469,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fc86be0012d7f980005afd7c00011000628..."} 
[2026-07-27 00:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fc86be0012d7f980005afd7c00011000628..."} 
[2026-07-27 00:29:16] local.INFO: Processing buffer {"connection_id":143469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fc86be0012d7f980005afd7c00011000628..."} 
[2026-07-27 00:29:16] local.INFO: Packet analysis {"connection_id":143469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fc8"} 
[2026-07-27 00:29:16] local.INFO: Extracted packet for processing {"connection_id":143469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fc8"} 
[2026-07-27 00:29:16] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 00:29:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983510784001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:29:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:29:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:29:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:29:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785092140000,"timestamp_ms":1785092140000,"timestamp_seconds":1785092140,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fc86be0"} 
[2026-07-27 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-07-27 00:29:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":86,"data_length":795,"current_offset":136} 
[2026-07-27 00:29: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-07-27 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-07-27 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-07-27 00:29:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:29:16] local.INFO: Teltonika packet parsed successfully {"connection_id":143469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:29:16] local.INFO: Passing IMEI to GPS processor {"connection_id":143469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:29:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":143469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 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-07-27 00:29:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:29:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:29:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983510784001,"66":25451,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:29:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:29:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:29:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983510784001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:29:16] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:29:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:29:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:29:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:29:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983510784001,"power":25451,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:29:16] local.INFO: DEBUG: GPS processor result {"connection_id":143469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:29:16] local.INFO: GPS data processed {"connection_id":143469,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:29:16] local.INFO: Acknowledgment sent {"connection_id":143469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:29:33] local.INFO: TCP Data received {"connection_id":142504,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:29:33] local.INFO: Processing buffer {"connection_id":142504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:29:33] local.INFO: IMEI packet received {"connection_id":142504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 00:29:33] local.INFO: IMEI acknowledgment sent {"connection_id":142504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 00:29:39] local.INFO: TCP Data received {"connection_id":142504,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:29:39] local.INFO: Processing buffer {"connection_id":142504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:29:39] local.INFO: IMEI packet received {"connection_id":142504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 00:29:39] local.INFO: IMEI acknowledgment sent {"connection_id":142504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 00:29:39] local.INFO: TCP Data received {"connection_id":142504,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fc86be0012d7f980005afd7c00011000628..."} 
[2026-07-27 00:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fc86be0012d7f980005afd7c00011000628..."} 
[2026-07-27 00:29:39] local.INFO: Processing buffer {"connection_id":142504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fc86be0012d7f980005afd7c00011000628..."} 
[2026-07-27 00:29:39] local.INFO: Packet analysis {"connection_id":142504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fc8"} 
[2026-07-27 00:29:39] local.INFO: Extracted packet for processing {"connection_id":142504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fc8"} 
[2026-07-27 00:29:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 00:29:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 00:29:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983510784001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:29:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:29:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:29:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:29:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785092140000,"timestamp_ms":1785092140000,"timestamp_seconds":1785092140,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fc86be0"} 
[2026-07-27 00:29:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 00:29:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 00: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-07-27 00: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-07-27 00:29:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 00:29:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 00:29:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:29:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:29:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:29:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:29:39] 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-07-27 00:29:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:29:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:29:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983510784001,"66":25451,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:29:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:29:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:29:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983510784001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:29:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:29:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:29:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:29:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:29:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983510784001,"power":25451,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:29:40] local.INFO: DEBUG: GPS processor result {"connection_id":142504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:29:40] local.INFO: GPS data processed {"connection_id":142504,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:29:40] local.INFO: Acknowledgment sent {"connection_id":142504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:30:11] local.INFO: TCP Data received {"connection_id":142504,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fc86be0012d7f980005afd7c00011000628..."} 
[2026-07-27 00:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fc86be0012d7f980005afd7c00011000628..."} 
[2026-07-27 00:30:11] local.INFO: Processing buffer {"connection_id":142504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fc86be0012d7f980005afd7c00011000628..."} 
[2026-07-27 00:30:11] local.INFO: Packet analysis {"connection_id":142504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fc8"} 
[2026-07-27 00:30:11] local.INFO: Extracted packet for processing {"connection_id":142504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fc8"} 
[2026-07-27 00:30:11] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 00:30:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 00:30:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983510784001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:30:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:30:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:30:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:30:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785092140000,"timestamp_ms":1785092140000,"timestamp_seconds":1785092140,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fc86be0"} 
[2026-07-27 00:30:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 00:30:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 00:30:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-27 00:30:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 00:30:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 00:30:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 00:30:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:30:11] local.INFO: Teltonika packet parsed successfully {"connection_id":142504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:30:11] local.INFO: Passing IMEI to GPS processor {"connection_id":142504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:30:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":142504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:30: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-07-27 00:30:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:30:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:30:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983510784001,"66":25451,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:30:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:30:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:30:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983510784001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:30:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:30:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:30:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:30:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:30:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983510784001,"power":25451,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:30:11] local.INFO: DEBUG: GPS processor result {"connection_id":142504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:30:11] local.INFO: GPS data processed {"connection_id":142504,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:30:11] local.INFO: Acknowledgment sent {"connection_id":142504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:30:33] local.INFO: TCP Data received {"connection_id":142505,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:30:33] local.INFO: Processing buffer {"connection_id":142505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:30:33] local.INFO: IMEI packet received {"connection_id":142505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 00:30:33] local.INFO: IMEI acknowledgment sent {"connection_id":142505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 00:30:39] local.INFO: TCP Data received {"connection_id":142505,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:30:39] local.INFO: Processing buffer {"connection_id":142505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:30:39] local.INFO: IMEI packet received {"connection_id":142505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 00:30:39] local.INFO: IMEI acknowledgment sent {"connection_id":142505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 00:30:40] local.INFO: TCP Data received {"connection_id":142505,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fc86be0012d7f980005afd7c00011000628..."} 
[2026-07-27 00:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fc86be0012d7f980005afd7c00011000628..."} 
[2026-07-27 00:30:40] local.INFO: Processing buffer {"connection_id":142505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fc86be0012d7f980005afd7c00011000628..."} 
[2026-07-27 00:30:40] local.INFO: Packet analysis {"connection_id":142505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fc8"} 
[2026-07-27 00:30:40] local.INFO: Extracted packet for processing {"connection_id":142505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fc8"} 
[2026-07-27 00:30:40] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 00:30:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 00:30:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983510784001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:30:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:30:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:30:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:30:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785092140000,"timestamp_ms":1785092140000,"timestamp_seconds":1785092140,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fc86be0"} 
[2026-07-27 00:30:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 00:30:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 00: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":86,"data_length":795,"current_offset":136} 
[2026-07-27 00:30: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-07-27 00:30:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 00:30:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 00:30:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:30:40] local.INFO: Teltonika packet parsed successfully {"connection_id":142505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:30:40] local.INFO: Passing IMEI to GPS processor {"connection_id":142505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:30:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":142505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:30: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-07-27 00:30:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:30:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:30:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983510784001,"66":25451,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:30:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:30:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:30:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983510784001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:30:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:30:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:30:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:30:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:30:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983510784001,"power":25451,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:30:40] local.INFO: DEBUG: GPS processor result {"connection_id":142505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:30:40] local.INFO: GPS data processed {"connection_id":142505,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:30:40] local.INFO: Acknowledgment sent {"connection_id":142505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:31:11] local.INFO: TCP Data received {"connection_id":142505,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fc86be0012d7f980005afd7c00011000628..."} 
[2026-07-27 00:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fc86be0012d7f980005afd7c00011000628..."} 
[2026-07-27 00:31:11] local.INFO: Processing buffer {"connection_id":142505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fc86be0012d7f980005afd7c00011000628..."} 
[2026-07-27 00:31:11] local.INFO: Packet analysis {"connection_id":142505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fc8"} 
[2026-07-27 00:31:11] local.INFO: Extracted packet for processing {"connection_id":142505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fc8"} 
[2026-07-27 00:31:11] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 00:31:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983510784001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:31:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:31:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:31:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:31:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785092140000,"timestamp_ms":1785092140000,"timestamp_seconds":1785092140,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fc86be0"} 
[2026-07-27 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-07-27 00:31:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":86,"data_length":795,"current_offset":136} 
[2026-07-27 00:31:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 00:31:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:31:11] local.INFO: Teltonika packet parsed successfully {"connection_id":142505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:31:11] local.INFO: Passing IMEI to GPS processor {"connection_id":142505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:31:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":142505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 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-07-27 00:31:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:31:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:31:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983510784001,"66":25451,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:31:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:31:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:31:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983510784001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:31:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:31:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:31:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:31:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:31:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983510784001,"power":25451,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:31:11] local.INFO: DEBUG: GPS processor result {"connection_id":142505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:31:11] local.INFO: GPS data processed {"connection_id":142505,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:31:11] local.INFO: Acknowledgment sent {"connection_id":142505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:31:33] local.INFO: TCP Data received {"connection_id":142506,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:31:33] local.INFO: Processing buffer {"connection_id":142506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:31:33] local.INFO: IMEI packet received {"connection_id":142506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 00:31:33] local.INFO: IMEI acknowledgment sent {"connection_id":142506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 00:31:38] local.INFO: TCP Data received {"connection_id":142506,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:31:38] local.INFO: Processing buffer {"connection_id":142506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:31:38] local.INFO: IMEI packet received {"connection_id":142506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 00:31:38] local.INFO: IMEI acknowledgment sent {"connection_id":142506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 00:31:39] local.INFO: TCP Data received {"connection_id":142506,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fcd03a8012d7f980005afd7c00011000620..."} 
[2026-07-27 00:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fcd03a8012d7f980005afd7c00011000620..."} 
[2026-07-27 00:31:39] local.INFO: Processing buffer {"connection_id":142506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fcd03a8012d7f980005afd7c00011000620..."} 
[2026-07-27 00:31:39] local.INFO: Packet analysis {"connection_id":142506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fcd"} 
[2026-07-27 00:31:39] local.INFO: Extracted packet for processing {"connection_id":142506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fcd"} 
[2026-07-27 00:31:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":32,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 00:31:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 00:31:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983587840001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:31:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:31:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:31:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:31:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785092441000,"timestamp_ms":1785092441000,"timestamp_seconds":1785092441,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fcd03a8"} 
[2026-07-27 00:31:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 00:31:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 00:31:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-27 00:31: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-07-27 00:31:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 00:31:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 00:31:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:31:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:31:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:31:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:31:39] 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-07-27 00:31:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:31:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:31:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983587840001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:31:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:31:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:31:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983587840001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:31:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:31:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:31:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:31:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:31:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983587840001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:31:39] local.INFO: DEBUG: GPS processor result {"connection_id":142506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:31:39] local.INFO: GPS data processed {"connection_id":142506,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:31:39] local.INFO: Acknowledgment sent {"connection_id":142506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:32:10] local.INFO: TCP Data received {"connection_id":142506,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fcd03a8012d7f980005afd7c00011000620..."} 
[2026-07-27 00:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fcd03a8012d7f980005afd7c00011000620..."} 
[2026-07-27 00:32:10] local.INFO: Processing buffer {"connection_id":142506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fcd03a8012d7f980005afd7c00011000620..."} 
[2026-07-27 00:32:10] local.INFO: Packet analysis {"connection_id":142506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fcd"} 
[2026-07-27 00:32:10] local.INFO: Extracted packet for processing {"connection_id":142506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fcd"} 
[2026-07-27 00:32:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":32,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 00:32:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983587840001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:32:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:32:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:32:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:32:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785092441000,"timestamp_ms":1785092441000,"timestamp_seconds":1785092441,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fcd03a8"} 
[2026-07-27 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-07-27 00:32:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":107,"data_length":795,"current_offset":136} 
[2026-07-27 00:32: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-07-27 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-07-27 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-07-27 00:32:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:32:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:32:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:32:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:32: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-07-27 00:32:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:32:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:32:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983587840001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:32:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:32:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:32:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983587840001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:32:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:32:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:32:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:32:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:32:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983587840001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:32:10] local.INFO: DEBUG: GPS processor result {"connection_id":142506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:32:10] local.INFO: GPS data processed {"connection_id":142506,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:32:10] local.INFO: Acknowledgment sent {"connection_id":142506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:32:39] local.INFO: TCP Data received {"connection_id":143471,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:32:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:32:39] local.INFO: Processing buffer {"connection_id":143471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:32:39] local.INFO: IMEI packet received {"connection_id":143471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 00:32:39] local.INFO: IMEI acknowledgment sent {"connection_id":143471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 00:32:44] local.INFO: TCP Data received {"connection_id":143471,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:32:44] local.INFO: Processing buffer {"connection_id":143471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:32:44] local.INFO: IMEI packet received {"connection_id":143471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 00:32:44] local.INFO: IMEI acknowledgment sent {"connection_id":143471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 00:32:44] local.INFO: TCP Data received {"connection_id":143471,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fcd03a8012d7f980005afd7c00011000620..."} 
[2026-07-27 00:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143471,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fcd03a8012d7f980005afd7c00011000620..."} 
[2026-07-27 00:32:44] local.INFO: Processing buffer {"connection_id":143471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fcd03a8012d7f980005afd7c00011000620..."} 
[2026-07-27 00:32:44] local.INFO: Packet analysis {"connection_id":143471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fcd"} 
[2026-07-27 00:32:44] local.INFO: Extracted packet for processing {"connection_id":143471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fcd"} 
[2026-07-27 00:32:44] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":32,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 00:32:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 00:32:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983587840001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:32:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:32:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:32:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:32:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785092441000,"timestamp_ms":1785092441000,"timestamp_seconds":1785092441,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fcd03a8"} 
[2026-07-27 00:32:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 00:32:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 00:32:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-27 00:32:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 00:32:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 00:32:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 00:32:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:32:44] local.INFO: Teltonika packet parsed successfully {"connection_id":143471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:32:44] local.INFO: Passing IMEI to GPS processor {"connection_id":143471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:32:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":143471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:32: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-07-27 00:32:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:32:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:32:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983587840001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:32:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:32:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:32:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983587840001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:32:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:32:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:32:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:32:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:32:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983587840001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:32:44] local.INFO: DEBUG: GPS processor result {"connection_id":143471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:32:44] local.INFO: GPS data processed {"connection_id":143471,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:32:44] local.INFO: Acknowledgment sent {"connection_id":143471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:32:49] local.INFO: TCP Data received {"connection_id":143471,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fcd03a8012d7f980005afd7c00011000620..."} 
[2026-07-27 00:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143471,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fcd03a8012d7f980005afd7c00011000620..."} 
[2026-07-27 00:32:49] local.INFO: Processing buffer {"connection_id":143471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fcd03a8012d7f980005afd7c00011000620..."} 
[2026-07-27 00:32:49] local.INFO: Packet analysis {"connection_id":143471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fcd"} 
[2026-07-27 00:32:49] local.INFO: Extracted packet for processing {"connection_id":143471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fcd"} 
[2026-07-27 00:32:49] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":32,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 00: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-07-27 00:32:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983587840001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:32:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:32:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:32:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:32:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785092441000,"timestamp_ms":1785092441000,"timestamp_seconds":1785092441,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fcd03a8"} 
[2026-07-27 00:32:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 00:32:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 00: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-27 00:32:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 00: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-07-27 00:32:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 00:32:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:32:49] local.INFO: Teltonika packet parsed successfully {"connection_id":143471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:32:49] local.INFO: Passing IMEI to GPS processor {"connection_id":143471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:32:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":143471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:32:49] 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-07-27 00:32:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:32:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:32:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983587840001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:32:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:32:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:32:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983587840001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:32:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:32:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:32:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:32:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:32:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983587840001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:32:49] local.INFO: DEBUG: GPS processor result {"connection_id":143471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:32:49] local.INFO: GPS data processed {"connection_id":143471,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:32:49] local.INFO: Acknowledgment sent {"connection_id":143471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:33:16] local.INFO: TCP Data received {"connection_id":142438,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 00:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142438,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 00:33:16] local.INFO: Processing buffer {"connection_id":142438,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 00:33:16] local.INFO: IMEI packet received {"connection_id":142438,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 00:33:16] local.INFO: IMEI acknowledgment sent {"connection_id":142438,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 00:33:34] local.INFO: TCP Data received {"connection_id":142507,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:33:34] local.INFO: Processing buffer {"connection_id":142507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:33:34] local.INFO: IMEI packet received {"connection_id":142507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 00:33:34] local.INFO: IMEI acknowledgment sent {"connection_id":142507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 00:33:39] local.INFO: TCP Data received {"connection_id":142507,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:33:39] local.INFO: Processing buffer {"connection_id":142507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:33:39] local.INFO: IMEI packet received {"connection_id":142507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 00:33:39] local.INFO: IMEI acknowledgment sent {"connection_id":142507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 00:33:39] local.INFO: TCP Data received {"connection_id":142507,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fcd03a8012d7f980005afd7c00011000620..."} 
[2026-07-27 00:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fcd03a8012d7f980005afd7c00011000620..."} 
[2026-07-27 00:33:39] local.INFO: Processing buffer {"connection_id":142507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fcd03a8012d7f980005afd7c00011000620..."} 
[2026-07-27 00:33:39] local.INFO: Packet analysis {"connection_id":142507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fcd"} 
[2026-07-27 00:33:39] local.INFO: Extracted packet for processing {"connection_id":142507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fcd"} 
[2026-07-27 00:33:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":32,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 00:33:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 00:33:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983587840001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:33:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:33:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:33:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:33:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785092441000,"timestamp_ms":1785092441000,"timestamp_seconds":1785092441,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fcd03a8"} 
[2026-07-27 00:33:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 00:33:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 00: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":107,"data_length":795,"current_offset":136} 
[2026-07-27 00:33: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-07-27 00:33:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 00:33:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 00:33:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:33:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:33:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:33:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:33:39] 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-07-27 00:33:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:33:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:33:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983587840001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:33:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:33:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:33:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983587840001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:33:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:33:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:33:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:33:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:33:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983587840001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:33:39] local.INFO: DEBUG: GPS processor result {"connection_id":142507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:33:39] local.INFO: GPS data processed {"connection_id":142507,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:33:39] local.INFO: Acknowledgment sent {"connection_id":142507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:33:45] local.INFO: TCP Data received {"connection_id":142439,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 00:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142439,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 00:33:46] local.INFO: Processing buffer {"connection_id":142439,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 00:33:46] local.INFO: IMEI packet received {"connection_id":142439,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 00:33:46] local.INFO: IMEI acknowledgment sent {"connection_id":142439,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 00:34:10] local.INFO: TCP Data received {"connection_id":142507,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fcd03a8012d7f980005afd7c00011000620..."} 
[2026-07-27 00:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fcd03a8012d7f980005afd7c00011000620..."} 
[2026-07-27 00:34:10] local.INFO: Processing buffer {"connection_id":142507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fcd03a8012d7f980005afd7c00011000620..."} 
[2026-07-27 00:34:10] local.INFO: Packet analysis {"connection_id":142507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fcd"} 
[2026-07-27 00:34:10] local.INFO: Extracted packet for processing {"connection_id":142507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fcd"} 
[2026-07-27 00:34:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":32,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 00:34:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983587840001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:34:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:34:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:34:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:34:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785092441000,"timestamp_ms":1785092441000,"timestamp_seconds":1785092441,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fcd03a8"} 
[2026-07-27 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-07-27 00:34:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":107,"data_length":795,"current_offset":136} 
[2026-07-27 00:34: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-07-27 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-07-27 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-07-27 00:34:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:34:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:34:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:34:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:34: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-07-27 00:34:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:34:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:34:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983587840001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:34:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:34:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:34:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983587840001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:34:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:34:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:34:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:34:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:34:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983587840001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:34:10] local.INFO: DEBUG: GPS processor result {"connection_id":142507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:34:10] local.INFO: GPS data processed {"connection_id":142507,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:34:10] local.INFO: Acknowledgment sent {"connection_id":142507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:34:34] local.INFO: TCP Data received {"connection_id":144822,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:34:34] local.INFO: Processing buffer {"connection_id":144822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:34:34] local.INFO: IMEI packet received {"connection_id":144822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 00:34:34] local.INFO: IMEI acknowledgment sent {"connection_id":144822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 00:34:39] local.INFO: TCP Data received {"connection_id":144822,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:34:39] local.INFO: Processing buffer {"connection_id":144822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:34:39] local.INFO: IMEI packet received {"connection_id":144822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 00:34:39] local.INFO: IMEI acknowledgment sent {"connection_id":144822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 00:34:39] local.INFO: TCP Data received {"connection_id":144822,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fcd03a8012d7f980005afd7c00011000620..."} 
[2026-07-27 00:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fcd03a8012d7f980005afd7c00011000620..."} 
[2026-07-27 00:34:39] local.INFO: Processing buffer {"connection_id":144822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fcd03a8012d7f980005afd7c00011000620..."} 
[2026-07-27 00:34:39] local.INFO: Packet analysis {"connection_id":144822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fcd"} 
[2026-07-27 00:34:39] local.INFO: Extracted packet for processing {"connection_id":144822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fcd"} 
[2026-07-27 00:34:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":32,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 00:34:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 00:34:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983587840001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:34:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:34:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:34:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:34:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785092441000,"timestamp_ms":1785092441000,"timestamp_seconds":1785092441,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fcd03a8"} 
[2026-07-27 00:34:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 00:34:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 00: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":107,"data_length":795,"current_offset":136} 
[2026-07-27 00:34: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-07-27 00:34:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 00:34:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 00:34:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:34:39] local.INFO: Teltonika packet parsed successfully {"connection_id":144822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:34:39] local.INFO: Passing IMEI to GPS processor {"connection_id":144822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:34:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":144822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:34:39] 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-07-27 00:34:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:34:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:34:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983587840001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:34:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:34:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:34:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983587840001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:34:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:34:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:34:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:34:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:34:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983587840001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:34:39] local.INFO: DEBUG: GPS processor result {"connection_id":144822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:34:39] local.INFO: GPS data processed {"connection_id":144822,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:34:39] local.INFO: Acknowledgment sent {"connection_id":144822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:35:10] local.INFO: TCP Data received {"connection_id":144822,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fcd03a8012d7f980005afd7c00011000620..."} 
[2026-07-27 00:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fcd03a8012d7f980005afd7c00011000620..."} 
[2026-07-27 00:35:10] local.INFO: Processing buffer {"connection_id":144822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fcd03a8012d7f980005afd7c00011000620..."} 
[2026-07-27 00:35:10] local.INFO: Packet analysis {"connection_id":144822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fcd"} 
[2026-07-27 00:35:10] local.INFO: Extracted packet for processing {"connection_id":144822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fcd"} 
[2026-07-27 00:35:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":32,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 00:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 00:35:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983587840001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:35:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:35:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:35:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:35:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785092441000,"timestamp_ms":1785092441000,"timestamp_seconds":1785092441,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fcd03a8"} 
[2026-07-27 00:35:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 00:35:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 00: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":107,"data_length":795,"current_offset":136} 
[2026-07-27 00:35: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-07-27 00:35:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 00:35:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 00:35:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:35:10] local.INFO: Teltonika packet parsed successfully {"connection_id":144822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:35:10] local.INFO: Passing IMEI to GPS processor {"connection_id":144822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:35:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":144822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:35: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-07-27 00:35:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:35:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:35:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983587840001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:35:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:35:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:35:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983587840001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:35:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:35:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:35:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:35:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:35:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983587840001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:35:10] local.INFO: DEBUG: GPS processor result {"connection_id":144822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:35:10] local.INFO: GPS data processed {"connection_id":144822,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:35:10] local.INFO: Acknowledgment sent {"connection_id":144822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:35:33] local.INFO: TCP Data received {"connection_id":142440,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:35:33] local.INFO: Processing buffer {"connection_id":142440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:35:33] local.INFO: IMEI packet received {"connection_id":142440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 00:35:33] local.INFO: IMEI acknowledgment sent {"connection_id":142440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 00:35:39] local.INFO: TCP Data received {"connection_id":142440,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:35:39] local.INFO: Processing buffer {"connection_id":142440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:35:39] local.INFO: IMEI packet received {"connection_id":142440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 00:35:39] local.INFO: IMEI acknowledgment sent {"connection_id":142440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 00:35:39] local.INFO: TCP Data received {"connection_id":142440,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fcd03a8012d7f980005afd7c00011000620..."} 
[2026-07-27 00:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fcd03a8012d7f980005afd7c00011000620..."} 
[2026-07-27 00:35:39] local.INFO: Processing buffer {"connection_id":142440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fcd03a8012d7f980005afd7c00011000620..."} 
[2026-07-27 00:35:39] local.INFO: Packet analysis {"connection_id":142440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fcd"} 
[2026-07-27 00:35:39] local.INFO: Extracted packet for processing {"connection_id":142440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fcd"} 
[2026-07-27 00:35:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":32,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 00: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-07-27 00:35:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983587840001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:35:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:35:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:35:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:35:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785092441000,"timestamp_ms":1785092441000,"timestamp_seconds":1785092441,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fcd03a8"} 
[2026-07-27 00:35:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 00:35:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 00: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":107,"data_length":795,"current_offset":136} 
[2026-07-27 00:35: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-07-27 00: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-07-27 00:35:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 00:35:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:35:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:35:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:35:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:35:39] 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-07-27 00:35:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:35:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:35:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983587840001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:35:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:35:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:35:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983587840001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:35:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:35:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:35:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:35:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:35:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983587840001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:35:39] local.INFO: DEBUG: GPS processor result {"connection_id":142440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:35:39] local.INFO: GPS data processed {"connection_id":142440,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:35:39] local.INFO: Acknowledgment sent {"connection_id":142440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:36:10] local.INFO: TCP Data received {"connection_id":142440,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fcd03a8012d7f980005afd7c00011000620..."} 
[2026-07-27 00:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fcd03a8012d7f980005afd7c00011000620..."} 
[2026-07-27 00:36:10] local.INFO: Processing buffer {"connection_id":142440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fcd03a8012d7f980005afd7c00011000620..."} 
[2026-07-27 00:36:10] local.INFO: Packet analysis {"connection_id":142440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fcd"} 
[2026-07-27 00:36:10] local.INFO: Extracted packet for processing {"connection_id":142440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fcd"} 
[2026-07-27 00:36:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":32,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 00:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 00:36:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983587840001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:36:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:36:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:36:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:36:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785092441000,"timestamp_ms":1785092441000,"timestamp_seconds":1785092441,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fcd03a8"} 
[2026-07-27 00:36:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 00:36:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 00: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":107,"data_length":795,"current_offset":136} 
[2026-07-27 00:36: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-07-27 00:36:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 00:36:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 00:36:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:36:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:36:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:36:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00: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-07-27 00:36:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:36:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:36:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983587840001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:36:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:36:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:36:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983587840001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:36:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:36:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:36:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:36:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:36:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983587840001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:36:10] local.INFO: DEBUG: GPS processor result {"connection_id":142440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:36:10] local.INFO: GPS data processed {"connection_id":142440,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:36:10] local.INFO: Acknowledgment sent {"connection_id":142440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:36:33] local.INFO: TCP Data received {"connection_id":143473,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:36:33] local.INFO: Processing buffer {"connection_id":143473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:36:33] local.INFO: IMEI packet received {"connection_id":143473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 00:36:33] local.INFO: IMEI acknowledgment sent {"connection_id":143473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 00:36:38] local.INFO: TCP Data received {"connection_id":143473,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:36:38] local.INFO: Processing buffer {"connection_id":143473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:36:38] local.INFO: IMEI packet received {"connection_id":143473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 00:36:38] local.INFO: IMEI acknowledgment sent {"connection_id":143473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 00:36:39] local.INFO: TCP Data received {"connection_id":143473,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fd19b70012d7f980005afd7c00011000626..."} 
[2026-07-27 00:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fd19b70012d7f980005afd7c00011000626..."} 
[2026-07-27 00:36:39] local.INFO: Processing buffer {"connection_id":143473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fd19b70012d7f980005afd7c00011000626..."} 
[2026-07-27 00:36:39] local.INFO: Packet analysis {"connection_id":143473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fd1"} 
[2026-07-27 00:36:39] local.INFO: Extracted packet for processing {"connection_id":143473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fd1"} 
[2026-07-27 00:36:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":38,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 00:36:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 00:36:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983664896001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:36:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:36:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:36:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:36:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785092742000,"timestamp_ms":1785092742000,"timestamp_seconds":1785092742,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fd19b70"} 
[2026-07-27 00:36:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 00:36:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 00: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-07-27 00: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-07-27 00:36:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 00:36:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 00:36:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:36:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:36:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:36:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:36:39] 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-07-27 00:36:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:36:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:36:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983664896001,"66":25441,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:36:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:36:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:36:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983664896001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:36:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:36:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:36:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:36:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:36:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983664896001,"power":25441,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:36:39] local.INFO: DEBUG: GPS processor result {"connection_id":143473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:36:39] local.INFO: GPS data processed {"connection_id":143473,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:36:39] local.INFO: Acknowledgment sent {"connection_id":143473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:37:10] local.INFO: TCP Data received {"connection_id":143473,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fd19b70012d7f980005afd7c00011000626..."} 
[2026-07-27 00:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fd19b70012d7f980005afd7c00011000626..."} 
[2026-07-27 00:37:10] local.INFO: Processing buffer {"connection_id":143473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fd19b70012d7f980005afd7c00011000626..."} 
[2026-07-27 00:37:10] local.INFO: Packet analysis {"connection_id":143473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fd1"} 
[2026-07-27 00:37:10] local.INFO: Extracted packet for processing {"connection_id":143473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fd1"} 
[2026-07-27 00:37:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":38,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 00:37:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 00:37:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983664896001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:37:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:37:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:37:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:37:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785092742000,"timestamp_ms":1785092742000,"timestamp_seconds":1785092742,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fd19b70"} 
[2026-07-27 00:37:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 00:37:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 00: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-07-27 00: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-07-27 00:37:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 00:37:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 00:37:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:37:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:37:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:37:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:37: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-07-27 00:37:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:37:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:37:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983664896001,"66":25441,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:37:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:37:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:37:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983664896001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:37:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:37:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:37:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:37:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:37:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983664896001,"power":25441,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:37:10] local.INFO: DEBUG: GPS processor result {"connection_id":143473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:37:10] local.INFO: GPS data processed {"connection_id":143473,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:37:10] local.INFO: Acknowledgment sent {"connection_id":143473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:37:34] local.INFO: TCP Data received {"connection_id":142441,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:37:34] local.INFO: Processing buffer {"connection_id":142441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:37:34] local.INFO: IMEI packet received {"connection_id":142441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 00:37:34] local.INFO: IMEI acknowledgment sent {"connection_id":142441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 00:37:39] local.INFO: TCP Data received {"connection_id":142441,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:37:39] local.INFO: Processing buffer {"connection_id":142441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:37:39] local.INFO: IMEI packet received {"connection_id":142441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 00:37:39] local.INFO: IMEI acknowledgment sent {"connection_id":142441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 00:37:39] local.INFO: TCP Data received {"connection_id":142441,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fd19b70012d7f980005afd7c00011000626..."} 
[2026-07-27 00:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fd19b70012d7f980005afd7c00011000626..."} 
[2026-07-27 00:37:39] local.INFO: Processing buffer {"connection_id":142441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fd19b70012d7f980005afd7c00011000626..."} 
[2026-07-27 00:37:39] local.INFO: Packet analysis {"connection_id":142441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fd1"} 
[2026-07-27 00:37:39] local.INFO: Extracted packet for processing {"connection_id":142441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fd1"} 
[2026-07-27 00:37:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":38,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 00:37:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 00:37:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983664896001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:37:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:37:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:37:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:37:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785092742000,"timestamp_ms":1785092742000,"timestamp_seconds":1785092742,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fd19b70"} 
[2026-07-27 00:37:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 00:37:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 00:37:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 00: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-07-27 00:37:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 00:37:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 00:37:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:37:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:37:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:37:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:37:39] 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-07-27 00:37:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:37:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:37:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983664896001,"66":25441,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:37:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:37:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:37:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983664896001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:37:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:37:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:37:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:37:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:37:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983664896001,"power":25441,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:37:39] local.INFO: DEBUG: GPS processor result {"connection_id":142441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:37:39] local.INFO: GPS data processed {"connection_id":142441,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:37:39] local.INFO: Acknowledgment sent {"connection_id":142441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:38:11] local.INFO: TCP Data received {"connection_id":142441,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fd19b70012d7f980005afd7c00011000626..."} 
[2026-07-27 00:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fd19b70012d7f980005afd7c00011000626..."} 
[2026-07-27 00:38:11] local.INFO: Processing buffer {"connection_id":142441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fd19b70012d7f980005afd7c00011000626..."} 
[2026-07-27 00:38:11] local.INFO: Packet analysis {"connection_id":142441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fd1"} 
[2026-07-27 00:38:11] local.INFO: Extracted packet for processing {"connection_id":142441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fd1"} 
[2026-07-27 00:38:11] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":38,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 00:38:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983664896001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:38:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:38:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:38:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:38:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785092742000,"timestamp_ms":1785092742000,"timestamp_seconds":1785092742,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fd19b70"} 
[2026-07-27 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-07-27 00:38:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":53,"data_length":795,"current_offset":136} 
[2026-07-27 00:38: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-07-27 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-07-27 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-07-27 00:38:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:38:11] local.INFO: Teltonika packet parsed successfully {"connection_id":142441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:38:11] local.INFO: Passing IMEI to GPS processor {"connection_id":142441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:38:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":142441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:38: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-07-27 00:38:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:38:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:38:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983664896001,"66":25441,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:38:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:38:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:38:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983664896001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:38:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:38:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:38:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:38:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:38:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983664896001,"power":25441,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:38:11] local.INFO: DEBUG: GPS processor result {"connection_id":142441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:38:11] local.INFO: GPS data processed {"connection_id":142441,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:38:11] local.INFO: Acknowledgment sent {"connection_id":142441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:38:33] local.INFO: TCP Data received {"connection_id":143474,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:38:33] local.INFO: Processing buffer {"connection_id":143474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:38:33] local.INFO: IMEI packet received {"connection_id":143474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 00:38:33] local.INFO: IMEI acknowledgment sent {"connection_id":143474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 00:38:39] local.INFO: TCP Data received {"connection_id":143474,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:38:39] local.INFO: Processing buffer {"connection_id":143474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:38:39] local.INFO: IMEI packet received {"connection_id":143474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 00:38:39] local.INFO: IMEI acknowledgment sent {"connection_id":143474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 00:38:40] local.INFO: TCP Data received {"connection_id":143474,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fd19b70012d7f980005afd7c00011000626..."} 
[2026-07-27 00:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143474,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fd19b70012d7f980005afd7c00011000626..."} 
[2026-07-27 00:38:40] local.INFO: Processing buffer {"connection_id":143474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fd19b70012d7f980005afd7c00011000626..."} 
[2026-07-27 00:38:40] local.INFO: Packet analysis {"connection_id":143474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fd1"} 
[2026-07-27 00:38:40] local.INFO: Extracted packet for processing {"connection_id":143474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fd1"} 
[2026-07-27 00:38:40] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":38,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 00: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-07-27 00:38:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983664896001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:38:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:38:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:38:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:38:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785092742000,"timestamp_ms":1785092742000,"timestamp_seconds":1785092742,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fd19b70"} 
[2026-07-27 00:38:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 00:38:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 00: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":53,"data_length":795,"current_offset":136} 
[2026-07-27 00:38: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-07-27 00: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-07-27 00:38:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 00:38:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:38:40] local.INFO: Teltonika packet parsed successfully {"connection_id":143474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:38:40] local.INFO: Passing IMEI to GPS processor {"connection_id":143474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:38:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":143474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:38: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-07-27 00:38:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:38:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:38:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983664896001,"66":25441,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:38:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:38:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:38:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983664896001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:38:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:38:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:38:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:38:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:38:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983664896001,"power":25441,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:38:40] local.INFO: DEBUG: GPS processor result {"connection_id":143474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:38:40] local.INFO: GPS data processed {"connection_id":143474,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:38:40] local.INFO: Acknowledgment sent {"connection_id":143474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:39:11] local.INFO: TCP Data received {"connection_id":143474,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fd19b70012d7f980005afd7c00011000626..."} 
[2026-07-27 00:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143474,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fd19b70012d7f980005afd7c00011000626..."} 
[2026-07-27 00:39:11] local.INFO: Processing buffer {"connection_id":143474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fd19b70012d7f980005afd7c00011000626..."} 
[2026-07-27 00:39:11] local.INFO: Packet analysis {"connection_id":143474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fd1"} 
[2026-07-27 00:39:11] local.INFO: Extracted packet for processing {"connection_id":143474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fd1"} 
[2026-07-27 00:39:11] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":38,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 00:39:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983664896001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:39:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:39:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:39:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:39:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785092742000,"timestamp_ms":1785092742000,"timestamp_seconds":1785092742,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fd19b70"} 
[2026-07-27 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-07-27 00:39:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":53,"data_length":795,"current_offset":136} 
[2026-07-27 00:39: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-07-27 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-07-27 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-07-27 00:39:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:39:11] local.INFO: Teltonika packet parsed successfully {"connection_id":143474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:39:11] local.INFO: Passing IMEI to GPS processor {"connection_id":143474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:39:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":143474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:39: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-07-27 00:39:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:39:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:39:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983664896001,"66":25441,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:39:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:39:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:39:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983664896001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:39:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:39:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:39:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:39:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:39:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983664896001,"power":25441,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:39:11] local.INFO: TCP Data received {"connection_id":142510,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 00:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142510,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 00:39:11] local.INFO: Processing buffer {"connection_id":142510,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 00:39:11] local.INFO: IMEI packet received {"connection_id":142510,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 00:39:11] local.INFO: IMEI acknowledgment sent {"connection_id":142510,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 00:39:11] local.INFO: DEBUG: GPS processor result {"connection_id":143474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:39:11] local.INFO: GPS data processed {"connection_id":143474,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:39:11] local.INFO: Acknowledgment sent {"connection_id":143474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:39:33] local.INFO: TCP Data received {"connection_id":144824,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:39:33] local.INFO: Processing buffer {"connection_id":144824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:39:33] local.INFO: IMEI packet received {"connection_id":144824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 00:39:33] local.INFO: IMEI acknowledgment sent {"connection_id":144824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 00:39:39] local.INFO: TCP Data received {"connection_id":144824,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:39:39] local.INFO: Processing buffer {"connection_id":144824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:39:39] local.INFO: IMEI packet received {"connection_id":144824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 00:39:39] local.INFO: IMEI acknowledgment sent {"connection_id":144824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 00:39:40] local.INFO: TCP Data received {"connection_id":144824,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fd19b70012d7f980005afd7c00011000626..."} 
[2026-07-27 00:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fd19b70012d7f980005afd7c00011000626..."} 
[2026-07-27 00:39:40] local.INFO: Processing buffer {"connection_id":144824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fd19b70012d7f980005afd7c00011000626..."} 
[2026-07-27 00:39:40] local.INFO: Packet analysis {"connection_id":144824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fd1"} 
[2026-07-27 00:39:40] local.INFO: Extracted packet for processing {"connection_id":144824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fd1"} 
[2026-07-27 00:39:40] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":38,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 00: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-07-27 00:39:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983664896001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:39:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:39:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:39:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:39:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785092742000,"timestamp_ms":1785092742000,"timestamp_seconds":1785092742,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fd19b70"} 
[2026-07-27 00:39:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 00:39:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 00: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":53,"data_length":795,"current_offset":136} 
[2026-07-27 00:39: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-07-27 00: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-07-27 00:39:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 00:39:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:39:40] local.INFO: Teltonika packet parsed successfully {"connection_id":144824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:39:40] local.INFO: Passing IMEI to GPS processor {"connection_id":144824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:39:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":144824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:39: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-07-27 00:39:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:39:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:39:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983664896001,"66":25441,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:39:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:39:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:39:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983664896001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:39:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:39:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:39:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:39:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:39:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983664896001,"power":25441,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:39:40] local.INFO: DEBUG: GPS processor result {"connection_id":144824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:39:40] local.INFO: GPS data processed {"connection_id":144824,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:39:40] local.INFO: Acknowledgment sent {"connection_id":144824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:39:46] local.INFO: TCP Data received {"connection_id":142442,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 00:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142442,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 00:39:46] local.INFO: Processing buffer {"connection_id":142442,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 00:39:46] local.INFO: IMEI packet received {"connection_id":142442,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 00:39:46] local.INFO: IMEI acknowledgment sent {"connection_id":142442,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 00:40:11] local.INFO: TCP Data received {"connection_id":144824,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fd19b70012d7f980005afd7c00011000626..."} 
[2026-07-27 00:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fd19b70012d7f980005afd7c00011000626..."} 
[2026-07-27 00:40:11] local.INFO: Processing buffer {"connection_id":144824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fd19b70012d7f980005afd7c00011000626..."} 
[2026-07-27 00:40:11] local.INFO: Packet analysis {"connection_id":144824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fd1"} 
[2026-07-27 00:40:11] local.INFO: Extracted packet for processing {"connection_id":144824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fd1"} 
[2026-07-27 00:40:11] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":38,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 00:40:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983664896001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:40:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:40:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:40:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:40:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785092742000,"timestamp_ms":1785092742000,"timestamp_seconds":1785092742,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fd19b70"} 
[2026-07-27 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-07-27 00:40:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":53,"data_length":795,"current_offset":136} 
[2026-07-27 00:40: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-07-27 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-07-27 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-07-27 00:40:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:40:11] local.INFO: Teltonika packet parsed successfully {"connection_id":144824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:40:11] local.INFO: Passing IMEI to GPS processor {"connection_id":144824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:40:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":144824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:40: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-07-27 00:40:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:40:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:40:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983664896001,"66":25441,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:40:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:40:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:40:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983664896001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:40:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:40:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:40:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:40:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:40:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983664896001,"power":25441,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:40:11] local.INFO: DEBUG: GPS processor result {"connection_id":144824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:40:11] local.INFO: GPS data processed {"connection_id":144824,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:40:11] local.INFO: Acknowledgment sent {"connection_id":144824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:40:33] local.INFO: TCP Data received {"connection_id":143475,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:40:33] local.INFO: Processing buffer {"connection_id":143475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:40:33] local.INFO: IMEI packet received {"connection_id":143475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 00:40:33] local.INFO: IMEI acknowledgment sent {"connection_id":143475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 00:40:39] local.INFO: TCP Data received {"connection_id":143475,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:40:39] local.INFO: Processing buffer {"connection_id":143475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:40:39] local.INFO: IMEI packet received {"connection_id":143475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 00:40:39] local.INFO: IMEI acknowledgment sent {"connection_id":143475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 00:40:39] local.INFO: TCP Data received {"connection_id":143475,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fd19b70012d7f980005afd7c00011000626..."} 
[2026-07-27 00:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fd19b70012d7f980005afd7c00011000626..."} 
[2026-07-27 00:40:39] local.INFO: Processing buffer {"connection_id":143475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fd19b70012d7f980005afd7c00011000626..."} 
[2026-07-27 00:40:39] local.INFO: Packet analysis {"connection_id":143475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fd1"} 
[2026-07-27 00:40:39] local.INFO: Extracted packet for processing {"connection_id":143475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fd1"} 
[2026-07-27 00:40:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":38,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 00:40:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 00:40:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983664896001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:40:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:40:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:40:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:40:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785092742000,"timestamp_ms":1785092742000,"timestamp_seconds":1785092742,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fd19b70"} 
[2026-07-27 00:40:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 00:40:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 00: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-07-27 00: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-07-27 00:40:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 00:40:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 00:40:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:40:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:40:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:40:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:40:39] 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-07-27 00:40:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:40:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:40:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983664896001,"66":25441,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:40:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:40:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:40:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983664896001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:40:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:40:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:40:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:40:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:40:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983664896001,"power":25441,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:40:39] local.INFO: DEBUG: GPS processor result {"connection_id":143475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:40:39] local.INFO: GPS data processed {"connection_id":143475,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:40:39] local.INFO: Acknowledgment sent {"connection_id":143475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:41:10] local.INFO: TCP Data received {"connection_id":143475,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fd19b70012d7f980005afd7c00011000626..."} 
[2026-07-27 00:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fd19b70012d7f980005afd7c00011000626..."} 
[2026-07-27 00:41:10] local.INFO: Processing buffer {"connection_id":143475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fd19b70012d7f980005afd7c00011000626..."} 
[2026-07-27 00:41:10] local.INFO: Packet analysis {"connection_id":143475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fd1"} 
[2026-07-27 00:41:10] local.INFO: Extracted packet for processing {"connection_id":143475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fd1"} 
[2026-07-27 00:41:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":38,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 00:41:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 00:41:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983664896001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:41:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:41:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:41:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:41:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785092742000,"timestamp_ms":1785092742000,"timestamp_seconds":1785092742,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fd19b70"} 
[2026-07-27 00:41:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 00:41:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 00: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-07-27 00: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-07-27 00:41:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 00:41:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 00:41:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:41:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:41:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:41:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00: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-07-27 00:41:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:41:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:41:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983664896001,"66":25441,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:41:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:41:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:41:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983664896001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:41:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:41:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:41:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:41:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:41:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983664896001,"power":25441,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:41:10] local.INFO: DEBUG: GPS processor result {"connection_id":143475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:41:10] local.INFO: GPS data processed {"connection_id":143475,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:41:10] local.INFO: Acknowledgment sent {"connection_id":143475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:41:39] local.INFO: TCP Data received {"connection_id":144826,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:41:39] local.INFO: Processing buffer {"connection_id":144826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:41:39] local.INFO: IMEI packet received {"connection_id":144826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 00:41:39] local.INFO: IMEI acknowledgment sent {"connection_id":144826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 00:41:44] local.INFO: TCP Data received {"connection_id":144826,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:41:44] local.INFO: Processing buffer {"connection_id":144826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:41:44] local.INFO: IMEI packet received {"connection_id":144826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 00:41:44] local.INFO: IMEI acknowledgment sent {"connection_id":144826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 00:41:45] local.INFO: TCP Data received {"connection_id":144826,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fd63338012d7f980005afd7c00011000624..."} 
[2026-07-27 00:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fd63338012d7f980005afd7c00011000624..."} 
[2026-07-27 00:41:45] local.INFO: Processing buffer {"connection_id":144826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fd63338012d7f980005afd7c00011000624..."} 
[2026-07-27 00:41:45] local.INFO: Packet analysis {"connection_id":144826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fd6"} 
[2026-07-27 00:41:45] local.INFO: Extracted packet for processing {"connection_id":144826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fd6"} 
[2026-07-27 00:41:45] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":36,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 00:41:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 00:41:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983741952001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:41:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:41:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:41:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:41:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785093043000,"timestamp_ms":1785093043000,"timestamp_seconds":1785093043,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fd63338"} 
[2026-07-27 00:41:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 00:41:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 00:41:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-27 00:41: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-07-27 00:41:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 00:41:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 00:41:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:41:45] local.INFO: Teltonika packet parsed successfully {"connection_id":144826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:41:45] local.INFO: Passing IMEI to GPS processor {"connection_id":144826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:41:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":144826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:41:45] 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-07-27 00:41:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:41:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:41:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983741952001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:41:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:41:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:41:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983741952001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:41:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:41:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:41:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:41:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:41:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983741952001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:41:45] local.INFO: DEBUG: GPS processor result {"connection_id":144826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:41:45] local.INFO: GPS data processed {"connection_id":144826,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:41:45] local.INFO: Acknowledgment sent {"connection_id":144826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:41:49] local.INFO: TCP Data received {"connection_id":144826,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fd63338012d7f980005afd7c00011000624..."} 
[2026-07-27 00:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fd63338012d7f980005afd7c00011000624..."} 
[2026-07-27 00:41:49] local.INFO: Processing buffer {"connection_id":144826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fd63338012d7f980005afd7c00011000624..."} 
[2026-07-27 00:41:49] local.INFO: Packet analysis {"connection_id":144826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fd6"} 
[2026-07-27 00:41:49] local.INFO: Extracted packet for processing {"connection_id":144826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fd6"} 
[2026-07-27 00:41:49] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":36,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 00: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-07-27 00:41:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983741952001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:41:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:41:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:41:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:41:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785093043000,"timestamp_ms":1785093043000,"timestamp_seconds":1785093043,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fd63338"} 
[2026-07-27 00:41:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 00:41:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 00: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-27 00:41: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-07-27 00: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-07-27 00:41:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 00:41:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:41:49] local.INFO: Teltonika packet parsed successfully {"connection_id":144826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:41:49] local.INFO: Passing IMEI to GPS processor {"connection_id":144826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:41:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":144826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:41:49] 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-07-27 00:41:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:41:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:41:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983741952001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:41:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:41:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:41:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983741952001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:41:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:41:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:41:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:41:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:41:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983741952001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:41:49] local.INFO: DEBUG: GPS processor result {"connection_id":144826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:41:49] local.INFO: GPS data processed {"connection_id":144826,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:41:49] local.INFO: Acknowledgment sent {"connection_id":144826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:42:33] local.INFO: TCP Data received {"connection_id":143476,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:42:33] local.INFO: Processing buffer {"connection_id":143476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:42:33] local.INFO: IMEI packet received {"connection_id":143476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 00:42:33] local.INFO: IMEI acknowledgment sent {"connection_id":143476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 00:42:39] local.INFO: TCP Data received {"connection_id":143476,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:42:39] local.INFO: Processing buffer {"connection_id":143476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:42:39] local.INFO: IMEI packet received {"connection_id":143476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 00:42:39] local.INFO: IMEI acknowledgment sent {"connection_id":143476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 00:42:39] local.INFO: TCP Data received {"connection_id":143476,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fd63338012d7f980005afd7c00011000624..."} 
[2026-07-27 00:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fd63338012d7f980005afd7c00011000624..."} 
[2026-07-27 00:42:39] local.INFO: Processing buffer {"connection_id":143476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fd63338012d7f980005afd7c00011000624..."} 
[2026-07-27 00:42:39] local.INFO: Packet analysis {"connection_id":143476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fd6"} 
[2026-07-27 00:42:39] local.INFO: Extracted packet for processing {"connection_id":143476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fd6"} 
[2026-07-27 00:42:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":36,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 00:42:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 00:42:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983741952001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:42:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:42:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:42:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:42:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785093043000,"timestamp_ms":1785093043000,"timestamp_seconds":1785093043,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fd63338"} 
[2026-07-27 00:42:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 00:42:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 00: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":97,"data_length":795,"current_offset":136} 
[2026-07-27 00:42: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-07-27 00:42:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 00:42:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 00:42:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:42:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:42:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:42:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:42:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 00:42:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:42:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:42:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983741952001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:42:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:42:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:42:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983741952001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:42:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:42:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:42:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:42:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:42:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983741952001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:42:39] local.INFO: DEBUG: GPS processor result {"connection_id":143476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:42:39] local.INFO: GPS data processed {"connection_id":143476,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:42:39] local.INFO: Acknowledgment sent {"connection_id":143476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:43:11] local.INFO: TCP Data received {"connection_id":143476,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fd63338012d7f980005afd7c00011000624..."} 
[2026-07-27 00:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fd63338012d7f980005afd7c00011000624..."} 
[2026-07-27 00:43:11] local.INFO: Processing buffer {"connection_id":143476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fd63338012d7f980005afd7c00011000624..."} 
[2026-07-27 00:43:11] local.INFO: Packet analysis {"connection_id":143476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fd6"} 
[2026-07-27 00:43:11] local.INFO: Extracted packet for processing {"connection_id":143476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fd6"} 
[2026-07-27 00:43:11] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":36,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 00:43:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983741952001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:43:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:43:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:43:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:43:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785093043000,"timestamp_ms":1785093043000,"timestamp_seconds":1785093043,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fd63338"} 
[2026-07-27 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-07-27 00:43:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":97,"data_length":795,"current_offset":136} 
[2026-07-27 00:43: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-07-27 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-07-27 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-07-27 00:43:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:43:11] local.INFO: Teltonika packet parsed successfully {"connection_id":143476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:43:11] local.INFO: Passing IMEI to GPS processor {"connection_id":143476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:43:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":143476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:43: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-07-27 00:43:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:43:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:43:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983741952001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:43:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:43:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:43:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983741952001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:43:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:43:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:43:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:43:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:43:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983741952001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:43:11] local.INFO: DEBUG: GPS processor result {"connection_id":143476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:43:11] local.INFO: GPS data processed {"connection_id":143476,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:43:11] local.INFO: Acknowledgment sent {"connection_id":143476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:43:33] local.INFO: TCP Data received {"connection_id":142443,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:43:33] local.INFO: Processing buffer {"connection_id":142443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:43:33] local.INFO: IMEI packet received {"connection_id":142443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 00:43:33] local.INFO: IMEI acknowledgment sent {"connection_id":142443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 00:43:39] local.INFO: TCP Data received {"connection_id":142443,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:43:39] local.INFO: Processing buffer {"connection_id":142443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:43:39] local.INFO: IMEI packet received {"connection_id":142443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 00:43:39] local.INFO: IMEI acknowledgment sent {"connection_id":142443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 00:43:39] local.INFO: TCP Data received {"connection_id":142443,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fd63338012d7f980005afd7c00011000624..."} 
[2026-07-27 00:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142443,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fd63338012d7f980005afd7c00011000624..."} 
[2026-07-27 00:43:39] local.INFO: Processing buffer {"connection_id":142443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fd63338012d7f980005afd7c00011000624..."} 
[2026-07-27 00:43:39] local.INFO: Packet analysis {"connection_id":142443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fd6"} 
[2026-07-27 00:43:39] local.INFO: Extracted packet for processing {"connection_id":142443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fd6"} 
[2026-07-27 00:43:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":36,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 00:43:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 00:43:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983741952001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:43:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:43:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:43:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:43:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785093043000,"timestamp_ms":1785093043000,"timestamp_seconds":1785093043,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fd63338"} 
[2026-07-27 00:43:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 00:43:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 00:43:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-27 00:43: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-07-27 00:43:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 00:43:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 00:43:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:43:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:43:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:43:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:43:39] 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-07-27 00:43:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:43:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:43:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983741952001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:43:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:43:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:43:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983741952001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:43:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:43:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:43:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:43:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:43:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983741952001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:43:39] local.INFO: DEBUG: GPS processor result {"connection_id":142443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:43:39] local.INFO: GPS data processed {"connection_id":142443,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:43:39] local.INFO: Acknowledgment sent {"connection_id":142443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:44:11] local.INFO: TCP Data received {"connection_id":142443,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fd63338012d7f980005afd7c00011000624..."} 
[2026-07-27 00:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142443,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fd63338012d7f980005afd7c00011000624..."} 
[2026-07-27 00:44:11] local.INFO: Processing buffer {"connection_id":142443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fd63338012d7f980005afd7c00011000624..."} 
[2026-07-27 00:44:11] local.INFO: Packet analysis {"connection_id":142443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fd6"} 
[2026-07-27 00:44:11] local.INFO: Extracted packet for processing {"connection_id":142443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fd6"} 
[2026-07-27 00:44:11] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":36,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 00:44:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983741952001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:44:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:44:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:44:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:44:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785093043000,"timestamp_ms":1785093043000,"timestamp_seconds":1785093043,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fd63338"} 
[2026-07-27 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-07-27 00:44:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":97,"data_length":795,"current_offset":136} 
[2026-07-27 00:44: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-07-27 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-07-27 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-07-27 00:44:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:44:11] local.INFO: Teltonika packet parsed successfully {"connection_id":142443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:44:11] local.INFO: Passing IMEI to GPS processor {"connection_id":142443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:44:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":142443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:44: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-07-27 00:44:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:44:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:44:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983741952001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:44:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:44:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:44:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983741952001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:44:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:44:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:44:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:44:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:44:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983741952001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:44:11] local.INFO: DEBUG: GPS processor result {"connection_id":142443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:44:11] local.INFO: GPS data processed {"connection_id":142443,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:44:11] local.INFO: Acknowledgment sent {"connection_id":142443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:44:39] local.INFO: TCP Data received {"connection_id":144828,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:44:39] local.INFO: Processing buffer {"connection_id":144828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:44:39] local.INFO: IMEI packet received {"connection_id":144828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 00:44:39] local.INFO: IMEI acknowledgment sent {"connection_id":144828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 00:44:44] local.INFO: TCP Data received {"connection_id":144828,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:44:44] local.INFO: Processing buffer {"connection_id":144828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:44:44] local.INFO: IMEI packet received {"connection_id":144828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 00:44:44] local.INFO: IMEI acknowledgment sent {"connection_id":144828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 00:44:56] local.INFO: TCP Data received {"connection_id":144828,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fd63338012d7f980005afd7c00011000624..."} 
[2026-07-27 00:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144828,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fd63338012d7f980005afd7c00011000624..."} 
[2026-07-27 00:44:56] local.INFO: Processing buffer {"connection_id":144828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fd63338012d7f980005afd7c00011000624..."} 
[2026-07-27 00:44:56] local.INFO: Packet analysis {"connection_id":144828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fd6"} 
[2026-07-27 00:44:56] local.INFO: Extracted packet for processing {"connection_id":144828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fd6"} 
[2026-07-27 00:44:56] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":36,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 00:44:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 00:44:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983741952001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:44:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:44:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:44:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:44:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785093043000,"timestamp_ms":1785093043000,"timestamp_seconds":1785093043,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fd63338"} 
[2026-07-27 00:44:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 00:44:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 00:44:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-27 00:44:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 00:44:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 00:44:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 00:44:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:44:56] local.INFO: Teltonika packet parsed successfully {"connection_id":144828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:44:56] local.INFO: Passing IMEI to GPS processor {"connection_id":144828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:44:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":144828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:44:56] 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-07-27 00:44:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:44:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:44:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983741952001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:44:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:44:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:44:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983741952001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:44:57] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:44:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:44:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:44:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:44:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983741952001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:44:57] local.INFO: DEBUG: GPS processor result {"connection_id":144828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:44:57] local.INFO: GPS data processed {"connection_id":144828,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:44:57] local.INFO: Acknowledgment sent {"connection_id":144828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:44:57] local.INFO: TCP Data received {"connection_id":144828,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fd63338012d7f980005afd7c00011000624..."} 
[2026-07-27 00:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144828,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fd63338012d7f980005afd7c00011000624..."} 
[2026-07-27 00:44:57] local.INFO: Processing buffer {"connection_id":144828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fd63338012d7f980005afd7c00011000624..."} 
[2026-07-27 00:44:57] local.INFO: Packet analysis {"connection_id":144828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fd6"} 
[2026-07-27 00:44:57] local.INFO: Extracted packet for processing {"connection_id":144828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fd6"} 
[2026-07-27 00:44:57] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":36,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 00:44:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 00:44:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983741952001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:44:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:44:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:44:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:44:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785093043000,"timestamp_ms":1785093043000,"timestamp_seconds":1785093043,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fd63338"} 
[2026-07-27 00:44:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 00:44:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 00:44:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-27 00:44:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 00:44:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 00:44:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 00:44:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:44:57] local.INFO: Teltonika packet parsed successfully {"connection_id":144828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:44:57] local.INFO: Passing IMEI to GPS processor {"connection_id":144828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:44:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":144828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:44:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 00:44:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:44:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:44:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983741952001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:44:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:44:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:44:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983741952001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:44:57] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:44:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:44:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:44:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:44:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983741952001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:44:57] local.INFO: DEBUG: GPS processor result {"connection_id":144828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:44:57] local.INFO: GPS data processed {"connection_id":144828,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:44:57] local.INFO: Acknowledgment sent {"connection_id":144828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:45:01] local.INFO: TCP Data received {"connection_id":143477,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 00:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143477,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 00:45:01] local.INFO: Processing buffer {"connection_id":143477,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 00:45:01] local.INFO: IMEI packet received {"connection_id":143477,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 00:45:01] local.INFO: IMEI acknowledgment sent {"connection_id":143477,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 00:45:34] local.INFO: TCP Data received {"connection_id":143478,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:45:34] local.INFO: Processing buffer {"connection_id":143478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:45:34] local.INFO: IMEI packet received {"connection_id":143478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 00:45:34] local.INFO: IMEI acknowledgment sent {"connection_id":143478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 00:45:39] local.INFO: TCP Data received {"connection_id":143478,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:45:39] local.INFO: Processing buffer {"connection_id":143478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:45:39] local.INFO: IMEI packet received {"connection_id":143478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 00:45:39] local.INFO: IMEI acknowledgment sent {"connection_id":143478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 00:45:40] local.INFO: TCP Data received {"connection_id":143478,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fd63338012d7f980005afd7c00011000624..."} 
[2026-07-27 00:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fd63338012d7f980005afd7c00011000624..."} 
[2026-07-27 00:45:40] local.INFO: Processing buffer {"connection_id":143478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fd63338012d7f980005afd7c00011000624..."} 
[2026-07-27 00:45:40] local.INFO: Packet analysis {"connection_id":143478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fd6"} 
[2026-07-27 00:45:40] local.INFO: Extracted packet for processing {"connection_id":143478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fd6"} 
[2026-07-27 00:45:40] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":36,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 00: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-07-27 00:45:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983741952001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:45:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:45:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:45:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:45:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785093043000,"timestamp_ms":1785093043000,"timestamp_seconds":1785093043,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fd63338"} 
[2026-07-27 00:45:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 00:45:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 00: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":97,"data_length":795,"current_offset":136} 
[2026-07-27 00:45: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-07-27 00: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-07-27 00:45:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 00:45:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:45:40] local.INFO: Teltonika packet parsed successfully {"connection_id":143478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:45:40] local.INFO: Passing IMEI to GPS processor {"connection_id":143478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:45:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":143478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:45: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-07-27 00:45:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:45:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:45:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983741952001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:45:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:45:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:45:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983741952001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:45:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:45:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:45:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:45:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:45:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983741952001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:45:40] local.INFO: DEBUG: GPS processor result {"connection_id":143478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:45:40] local.INFO: GPS data processed {"connection_id":143478,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:45:40] local.INFO: Acknowledgment sent {"connection_id":143478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:45:44] local.INFO: TCP Data received {"connection_id":143478,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fd63338012d7f980005afd7c00011000624..."} 
[2026-07-27 00:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fd63338012d7f980005afd7c00011000624..."} 
[2026-07-27 00:45:44] local.INFO: Processing buffer {"connection_id":143478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fd63338012d7f980005afd7c00011000624..."} 
[2026-07-27 00:45:44] local.INFO: Packet analysis {"connection_id":143478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fd6"} 
[2026-07-27 00:45:44] local.INFO: Extracted packet for processing {"connection_id":143478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fd6"} 
[2026-07-27 00:45:44] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":36,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 00: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-07-27 00:45:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983741952001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:45:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:45:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:45:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:45:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785093043000,"timestamp_ms":1785093043000,"timestamp_seconds":1785093043,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fd63338"} 
[2026-07-27 00:45:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 00:45:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 00: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":97,"data_length":795,"current_offset":136} 
[2026-07-27 00:45:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 00: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-07-27 00:45:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 00:45:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:45:44] local.INFO: Teltonika packet parsed successfully {"connection_id":143478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:45:44] local.INFO: Passing IMEI to GPS processor {"connection_id":143478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:45:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":143478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:45:44] 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-07-27 00:45:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:45:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:45:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983741952001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:45:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:45:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:45:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983741952001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:45:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:45:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:45:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:45:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:45:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983741952001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:45:44] local.INFO: DEBUG: GPS processor result {"connection_id":143478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:45:44] local.INFO: GPS data processed {"connection_id":143478,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:45:44] local.INFO: Acknowledgment sent {"connection_id":143478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:45:45] local.INFO: TCP Data received {"connection_id":143479,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 00:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143479,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 00:45:45] local.INFO: Processing buffer {"connection_id":143479,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 00:45:45] local.INFO: IMEI packet received {"connection_id":143479,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 00:45:45] local.INFO: IMEI acknowledgment sent {"connection_id":143479,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 00:46:15] local.INFO: TCP Data received {"connection_id":143478,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fd63338012d7f980005afd7c00011000624..."} 
[2026-07-27 00:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fd63338012d7f980005afd7c00011000624..."} 
[2026-07-27 00:46:15] local.INFO: Processing buffer {"connection_id":143478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fd63338012d7f980005afd7c00011000624..."} 
[2026-07-27 00:46:15] local.INFO: Packet analysis {"connection_id":143478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fd6"} 
[2026-07-27 00:46:15] local.INFO: Extracted packet for processing {"connection_id":143478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fd6"} 
[2026-07-27 00:46:15] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":36,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 00:46:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983741952001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:46:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:46:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:46:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:46:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785093043000,"timestamp_ms":1785093043000,"timestamp_seconds":1785093043,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fd63338"} 
[2026-07-27 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-07-27 00:46:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":97,"data_length":795,"current_offset":136} 
[2026-07-27 00:46:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 00:46:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:46:15] local.INFO: Teltonika packet parsed successfully {"connection_id":143478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:46:15] local.INFO: Passing IMEI to GPS processor {"connection_id":143478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:46:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":143478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:46: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-07-27 00:46:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:46:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:46:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983741952001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:46:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:46:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:46:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983741952001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:46:15] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:46:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:46:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:46:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:46:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983741952001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:46:15] local.INFO: DEBUG: GPS processor result {"connection_id":143478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:46:15] local.INFO: GPS data processed {"connection_id":143478,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:46:15] local.INFO: Acknowledgment sent {"connection_id":143478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:46:33] local.INFO: TCP Data received {"connection_id":144830,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:46:33] local.INFO: Processing buffer {"connection_id":144830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:46:33] local.INFO: IMEI packet received {"connection_id":144830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 00:46:33] local.INFO: IMEI acknowledgment sent {"connection_id":144830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 00:46:38] local.INFO: TCP Data received {"connection_id":144830,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:46:38] local.INFO: Processing buffer {"connection_id":144830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:46:38] local.INFO: IMEI packet received {"connection_id":144830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 00:46:38] local.INFO: IMEI acknowledgment sent {"connection_id":144830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 00:46:40] local.INFO: TCP Data received {"connection_id":144830,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fdacb00012d7f980005afd7c0001100062b..."} 
[2026-07-27 00:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fdacb00012d7f980005afd7c0001100062b..."} 
[2026-07-27 00:46:40] local.INFO: Processing buffer {"connection_id":144830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fdacb00012d7f980005afd7c0001100062b..."} 
[2026-07-27 00:46:40] local.INFO: Packet analysis {"connection_id":144830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fda"} 
[2026-07-27 00:46:40] local.INFO: Extracted packet for processing {"connection_id":144830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fda"} 
[2026-07-27 00:46:40] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 00:46:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 00:46:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983819008001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:46:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:46:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:46:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:46:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785093344000,"timestamp_ms":1785093344000,"timestamp_seconds":1785093344,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fdacb00"} 
[2026-07-27 00:46:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 00:46:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 00: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":86,"data_length":795,"current_offset":136} 
[2026-07-27 00:46: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-07-27 00:46:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 00:46:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 00:46:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:46:40] local.INFO: Teltonika packet parsed successfully {"connection_id":144830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:46:40] local.INFO: Passing IMEI to GPS processor {"connection_id":144830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:46:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":144830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:46: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-07-27 00:46:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:46:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:46:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983819008001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:46:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:46:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:46:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983819008001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:46:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:46:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:46:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:46:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:46:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983819008001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:46:40] local.INFO: DEBUG: GPS processor result {"connection_id":144830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:46:40] local.INFO: GPS data processed {"connection_id":144830,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:46:40] local.INFO: Acknowledgment sent {"connection_id":144830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:46:44] local.INFO: TCP Data received {"connection_id":144830,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fdacb00012d7f980005afd7c0001100062b..."} 
[2026-07-27 00:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fdacb00012d7f980005afd7c0001100062b..."} 
[2026-07-27 00:46:44] local.INFO: Processing buffer {"connection_id":144830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fdacb00012d7f980005afd7c0001100062b..."} 
[2026-07-27 00:46:44] local.INFO: Packet analysis {"connection_id":144830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fda"} 
[2026-07-27 00:46:44] local.INFO: Extracted packet for processing {"connection_id":144830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fda"} 
[2026-07-27 00:46:44] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 00:46:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 00:46:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983819008001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:46:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:46:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:46:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:46:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785093344000,"timestamp_ms":1785093344000,"timestamp_seconds":1785093344,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fdacb00"} 
[2026-07-27 00:46:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 00:46:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 00:46:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-27 00:46: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-07-27 00:46:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 00:46:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 00:46:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:46:44] local.INFO: Teltonika packet parsed successfully {"connection_id":144830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:46:44] local.INFO: Passing IMEI to GPS processor {"connection_id":144830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:46:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":144830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:46: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-07-27 00:46:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:46:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:46:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983819008001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:46:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:46:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:46:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983819008001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:46:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:46:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:46:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:46:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:46:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983819008001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:46:44] local.INFO: DEBUG: GPS processor result {"connection_id":144830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:46:44] local.INFO: GPS data processed {"connection_id":144830,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:46:44] local.INFO: Acknowledgment sent {"connection_id":144830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:47:15] local.INFO: TCP Data received {"connection_id":144830,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fdacb00012d7f980005afd7c0001100062b..."} 
[2026-07-27 00:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fdacb00012d7f980005afd7c0001100062b..."} 
[2026-07-27 00:47:15] local.INFO: Processing buffer {"connection_id":144830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fdacb00012d7f980005afd7c0001100062b..."} 
[2026-07-27 00:47:15] local.INFO: Packet analysis {"connection_id":144830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fda"} 
[2026-07-27 00:47:15] local.INFO: Extracted packet for processing {"connection_id":144830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fda"} 
[2026-07-27 00:47:15] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 00:47:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 00:47:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983819008001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:47:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:47:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:47:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:47:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785093344000,"timestamp_ms":1785093344000,"timestamp_seconds":1785093344,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fdacb00"} 
[2026-07-27 00:47:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 00:47:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 00:47:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-27 00:47: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-07-27 00:47:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 00:47:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 00:47:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:47:15] local.INFO: Teltonika packet parsed successfully {"connection_id":144830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:47:15] local.INFO: Passing IMEI to GPS processor {"connection_id":144830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:47:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":144830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:47: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-07-27 00:47:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:47:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:47:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983819008001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:47:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:47:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:47:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983819008001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:47:15] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:47:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:47:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:47:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:47:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983819008001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:47:15] local.INFO: DEBUG: GPS processor result {"connection_id":144830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:47:15] local.INFO: GPS data processed {"connection_id":144830,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:47:15] local.INFO: Acknowledgment sent {"connection_id":144830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:47:33] local.INFO: TCP Data received {"connection_id":143480,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:47:33] local.INFO: Processing buffer {"connection_id":143480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:47:33] local.INFO: IMEI packet received {"connection_id":143480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 00:47:33] local.INFO: IMEI acknowledgment sent {"connection_id":143480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 00:47:39] local.INFO: TCP Data received {"connection_id":143480,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:47:39] local.INFO: Processing buffer {"connection_id":143480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:47:39] local.INFO: IMEI packet received {"connection_id":143480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 00:47:39] local.INFO: IMEI acknowledgment sent {"connection_id":143480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 00:47:40] local.INFO: TCP Data received {"connection_id":143480,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fdacb00012d7f980005afd7c0001100062b..."} 
[2026-07-27 00:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fdacb00012d7f980005afd7c0001100062b..."} 
[2026-07-27 00:47:40] local.INFO: Processing buffer {"connection_id":143480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fdacb00012d7f980005afd7c0001100062b..."} 
[2026-07-27 00:47:40] local.INFO: Packet analysis {"connection_id":143480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fda"} 
[2026-07-27 00:47:40] local.INFO: Extracted packet for processing {"connection_id":143480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fda"} 
[2026-07-27 00:47:40] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 00: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-07-27 00:47:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983819008001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:47:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:47:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:47:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:47:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785093344000,"timestamp_ms":1785093344000,"timestamp_seconds":1785093344,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fdacb00"} 
[2026-07-27 00:47:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 00:47:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 00: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":86,"data_length":795,"current_offset":136} 
[2026-07-27 00:47: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-07-27 00: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-07-27 00:47:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 00:47:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:47:40] local.INFO: Teltonika packet parsed successfully {"connection_id":143480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:47:40] local.INFO: Passing IMEI to GPS processor {"connection_id":143480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:47:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":143480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:47: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-07-27 00:47:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:47:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:47:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983819008001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:47:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:47:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:47:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983819008001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:47:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:47:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:47:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:47:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:47:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983819008001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:47:40] local.INFO: DEBUG: GPS processor result {"connection_id":143480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:47:40] local.INFO: GPS data processed {"connection_id":143480,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:47:40] local.INFO: Acknowledgment sent {"connection_id":143480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:48:11] local.INFO: TCP Data received {"connection_id":143480,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fdacb00012d7f980005afd7c0001100062b..."} 
[2026-07-27 00:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fdacb00012d7f980005afd7c0001100062b..."} 
[2026-07-27 00:48:11] local.INFO: Processing buffer {"connection_id":143480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fdacb00012d7f980005afd7c0001100062b..."} 
[2026-07-27 00:48:11] local.INFO: Packet analysis {"connection_id":143480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fda"} 
[2026-07-27 00:48:11] local.INFO: Extracted packet for processing {"connection_id":143480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fda"} 
[2026-07-27 00:48:11] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 00:48:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 00:48:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983819008001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:48:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:48:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:48:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:48:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785093344000,"timestamp_ms":1785093344000,"timestamp_seconds":1785093344,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fdacb00"} 
[2026-07-27 00:48:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 00:48:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 00: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-07-27 00: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-07-27 00:48:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 00:48:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 00:48:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:48:11] local.INFO: Teltonika packet parsed successfully {"connection_id":143480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:48:11] local.INFO: Passing IMEI to GPS processor {"connection_id":143480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:48:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":143480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00: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-07-27 00:48:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:48:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:48:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983819008001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:48:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:48:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:48:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983819008001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:48:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:48:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:48:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:48:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:48:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983819008001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:48:11] local.INFO: DEBUG: GPS processor result {"connection_id":143480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:48:11] local.INFO: GPS data processed {"connection_id":143480,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:48:11] local.INFO: Acknowledgment sent {"connection_id":143480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:48:38] local.INFO: TCP Data received {"connection_id":142514,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:48:38] local.INFO: Processing buffer {"connection_id":142514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:48:38] local.INFO: IMEI packet received {"connection_id":142514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 00:48:38] local.INFO: IMEI acknowledgment sent {"connection_id":142514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 00:48:48] local.INFO: TCP Data received {"connection_id":142514,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:48:48] local.INFO: Processing buffer {"connection_id":142514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:48:48] local.INFO: IMEI packet received {"connection_id":142514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 00:48:48] local.INFO: IMEI acknowledgment sent {"connection_id":142514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 00:48:48] local.INFO: TCP Data received {"connection_id":142514,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fdacb00012d7f980005afd7c0001100062b..."} 
[2026-07-27 00:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fdacb00012d7f980005afd7c0001100062b..."} 
[2026-07-27 00:48:48] local.INFO: Processing buffer {"connection_id":142514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fdacb00012d7f980005afd7c0001100062b..."} 
[2026-07-27 00:48:48] local.INFO: Packet analysis {"connection_id":142514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fda"} 
[2026-07-27 00:48:48] local.INFO: Extracted packet for processing {"connection_id":142514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fda"} 
[2026-07-27 00:48:48] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 00: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-07-27 00:48:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983819008001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:48:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:48:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:48:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:48:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785093344000,"timestamp_ms":1785093344000,"timestamp_seconds":1785093344,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fdacb00"} 
[2026-07-27 00:48:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 00:48:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 00: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-27 00:48:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 00: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-07-27 00:48:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 00:48:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:48:48] local.INFO: Teltonika packet parsed successfully {"connection_id":142514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:48:48] local.INFO: Passing IMEI to GPS processor {"connection_id":142514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:48:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":142514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:48:48] 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-07-27 00:48:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:48:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:48:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983819008001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:48:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:48:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:48:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983819008001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:48:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:48:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:48:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:48:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:48:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983819008001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:48:48] local.INFO: DEBUG: GPS processor result {"connection_id":142514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:48:48] local.INFO: GPS data processed {"connection_id":142514,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:48:48] local.INFO: Acknowledgment sent {"connection_id":142514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:48:49] local.INFO: TCP Data received {"connection_id":142514,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fdacb00012d7f980005afd7c0001100062b..."} 
[2026-07-27 00:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fdacb00012d7f980005afd7c0001100062b..."} 
[2026-07-27 00:48:49] local.INFO: Processing buffer {"connection_id":142514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fdacb00012d7f980005afd7c0001100062b..."} 
[2026-07-27 00:48:49] local.INFO: Packet analysis {"connection_id":142514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fda"} 
[2026-07-27 00:48:49] local.INFO: Extracted packet for processing {"connection_id":142514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fda"} 
[2026-07-27 00:48:49] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 00: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-07-27 00:48:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983819008001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:48:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:48:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:48:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:48:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785093344000,"timestamp_ms":1785093344000,"timestamp_seconds":1785093344,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fdacb00"} 
[2026-07-27 00:48:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 00:48:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 00: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-27 00:48:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 00: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-07-27 00:48:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 00:48:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:48:49] local.INFO: Teltonika packet parsed successfully {"connection_id":142514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:48:49] local.INFO: Passing IMEI to GPS processor {"connection_id":142514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:48:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":142514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:48:49] 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-07-27 00:48:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:48:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:48:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983819008001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:48:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:48:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:48:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983819008001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:48:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:48:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:48:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:48:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:48:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983819008001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:48:49] local.INFO: DEBUG: GPS processor result {"connection_id":142514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:48:49] local.INFO: GPS data processed {"connection_id":142514,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:48:49] local.INFO: Acknowledgment sent {"connection_id":142514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:49:34] local.INFO: TCP Data received {"connection_id":142515,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:49:34] local.INFO: Processing buffer {"connection_id":142515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:49:34] local.INFO: IMEI packet received {"connection_id":142515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 00:49:34] local.INFO: IMEI acknowledgment sent {"connection_id":142515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 00:49:41] local.INFO: TCP Data received {"connection_id":142515,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:49:41] local.INFO: Processing buffer {"connection_id":142515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:49:41] local.INFO: IMEI packet received {"connection_id":142515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 00:49:41] local.INFO: IMEI acknowledgment sent {"connection_id":142515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 00:49:42] local.INFO: TCP Data received {"connection_id":142515,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fdacb00012d7f980005afd7c0001100062b..."} 
[2026-07-27 00:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fdacb00012d7f980005afd7c0001100062b..."} 
[2026-07-27 00:49:42] local.INFO: Processing buffer {"connection_id":142515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fdacb00012d7f980005afd7c0001100062b..."} 
[2026-07-27 00:49:42] local.INFO: Packet analysis {"connection_id":142515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fda"} 
[2026-07-27 00:49:42] local.INFO: Extracted packet for processing {"connection_id":142515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fda"} 
[2026-07-27 00:49:42] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 00:49:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983819008001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:49:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:49:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:49:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:49:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785093344000,"timestamp_ms":1785093344000,"timestamp_seconds":1785093344,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fdacb00"} 
[2026-07-27 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-07-27 00:49:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":86,"data_length":795,"current_offset":136} 
[2026-07-27 00: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-07-27 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-07-27 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-07-27 00:49:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:49:42] local.INFO: Teltonika packet parsed successfully {"connection_id":142515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:49:42] local.INFO: Passing IMEI to GPS processor {"connection_id":142515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:49:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":142515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00: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-07-27 00:49:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:49:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:49:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983819008001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:49:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:49:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:49:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983819008001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:49:43] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:49:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:49:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:49:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:49:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983819008001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:49:43] local.INFO: DEBUG: GPS processor result {"connection_id":142515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:49:43] local.INFO: GPS data processed {"connection_id":142515,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:49:43] local.INFO: Acknowledgment sent {"connection_id":142515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:50:14] local.INFO: TCP Data received {"connection_id":142515,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fdacb00012d7f980005afd7c0001100062b..."} 
[2026-07-27 00:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fdacb00012d7f980005afd7c0001100062b..."} 
[2026-07-27 00:50:14] local.INFO: Processing buffer {"connection_id":142515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fdacb00012d7f980005afd7c0001100062b..."} 
[2026-07-27 00:50:14] local.INFO: Packet analysis {"connection_id":142515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fda"} 
[2026-07-27 00:50:14] local.INFO: Extracted packet for processing {"connection_id":142515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fda"} 
[2026-07-27 00:50:14] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 00: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-07-27 00:50:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983819008001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:50:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:50:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:50:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:50:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785093344000,"timestamp_ms":1785093344000,"timestamp_seconds":1785093344,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fdacb00"} 
[2026-07-27 00:50:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 00:50:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 00: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":86,"data_length":795,"current_offset":136} 
[2026-07-27 00:50: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-07-27 00: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-07-27 00:50:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 00:50:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:50:14] local.INFO: Teltonika packet parsed successfully {"connection_id":142515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:50:14] local.INFO: Passing IMEI to GPS processor {"connection_id":142515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:50:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":142515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:50: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-07-27 00:50:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:50:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:50:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983819008001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:50:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:50:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:50:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983819008001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:50:14] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:50:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:50:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:50:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:50:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983819008001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:50:14] local.INFO: DEBUG: GPS processor result {"connection_id":142515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:50:14] local.INFO: GPS data processed {"connection_id":142515,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:50:14] local.INFO: Acknowledgment sent {"connection_id":142515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:50:34] local.INFO: TCP Data received {"connection_id":142446,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:50:34] local.INFO: Processing buffer {"connection_id":142446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:50:34] local.INFO: IMEI packet received {"connection_id":142446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 00:50:34] local.INFO: IMEI acknowledgment sent {"connection_id":142446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 00:50:39] local.INFO: TCP Data received {"connection_id":142446,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:50:39] local.INFO: Processing buffer {"connection_id":142446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:50:39] local.INFO: IMEI packet received {"connection_id":142446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 00:50:39] local.INFO: IMEI acknowledgment sent {"connection_id":142446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 00:50:40] local.INFO: TCP Data received {"connection_id":142446,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fdacb00012d7f980005afd7c0001100062b..."} 
[2026-07-27 00:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142446,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fdacb00012d7f980005afd7c0001100062b..."} 
[2026-07-27 00:50:40] local.INFO: Processing buffer {"connection_id":142446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fdacb00012d7f980005afd7c0001100062b..."} 
[2026-07-27 00:50:40] local.INFO: Packet analysis {"connection_id":142446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fda"} 
[2026-07-27 00:50:40] local.INFO: Extracted packet for processing {"connection_id":142446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fda"} 
[2026-07-27 00:50:40] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 00: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-07-27 00:50:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983819008001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:50:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:50:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:50:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:50:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785093344000,"timestamp_ms":1785093344000,"timestamp_seconds":1785093344,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fdacb00"} 
[2026-07-27 00:50:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 00:50:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 00: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":86,"data_length":795,"current_offset":136} 
[2026-07-27 00:50: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-07-27 00: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-07-27 00:50:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 00:50:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:50:40] local.INFO: Teltonika packet parsed successfully {"connection_id":142446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:50:40] local.INFO: Passing IMEI to GPS processor {"connection_id":142446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:50:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":142446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:50: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-07-27 00:50:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:50:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:50:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983819008001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:50:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:50:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:50:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983819008001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:50:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:50:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:50:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:50:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:50:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983819008001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:50:40] local.INFO: DEBUG: GPS processor result {"connection_id":142446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:50:40] local.INFO: GPS data processed {"connection_id":142446,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:50:40] local.INFO: Acknowledgment sent {"connection_id":142446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:51:11] local.INFO: TCP Data received {"connection_id":142446,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fdacb00012d7f980005afd7c0001100062b..."} 
[2026-07-27 00:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142446,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fdacb00012d7f980005afd7c0001100062b..."} 
[2026-07-27 00:51:11] local.INFO: Processing buffer {"connection_id":142446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fdacb00012d7f980005afd7c0001100062b..."} 
[2026-07-27 00:51:11] local.INFO: Packet analysis {"connection_id":142446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fda"} 
[2026-07-27 00:51:11] local.INFO: Extracted packet for processing {"connection_id":142446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fda"} 
[2026-07-27 00:51:11] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 00:51:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 00:51:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983819008001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:51:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:51:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:51:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:51:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785093344000,"timestamp_ms":1785093344000,"timestamp_seconds":1785093344,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fdacb00"} 
[2026-07-27 00:51:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 00:51:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 00: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":86,"data_length":795,"current_offset":136} 
[2026-07-27 00:51:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 00:51:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 00:51:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 00:51:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:51:11] local.INFO: Teltonika packet parsed successfully {"connection_id":142446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:51:11] local.INFO: Passing IMEI to GPS processor {"connection_id":142446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:51:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":142446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:51: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-07-27 00:51:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:51:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:51:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983819008001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:51:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:51:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:51:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983819008001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:51:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:51:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:51:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:51:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:51:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983819008001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:51:11] local.INFO: DEBUG: GPS processor result {"connection_id":142446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:51:11] local.INFO: GPS data processed {"connection_id":142446,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:51:11] local.INFO: Acknowledgment sent {"connection_id":142446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:51:16] local.INFO: TCP Data received {"connection_id":143482,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 00:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143482,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 00:51:16] local.INFO: Processing buffer {"connection_id":143482,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 00:51:16] local.INFO: IMEI packet received {"connection_id":143482,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 00:51:16] local.INFO: IMEI acknowledgment sent {"connection_id":143482,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 00:51:33] local.INFO: TCP Data received {"connection_id":143483,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:51:33] local.INFO: Processing buffer {"connection_id":143483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:51:33] local.INFO: IMEI packet received {"connection_id":143483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 00:51:33] local.INFO: IMEI acknowledgment sent {"connection_id":143483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 00:51:38] local.INFO: TCP Data received {"connection_id":143483,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:51:38] local.INFO: Processing buffer {"connection_id":143483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:51:38] local.INFO: IMEI packet received {"connection_id":143483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 00:51:38] local.INFO: IMEI acknowledgment sent {"connection_id":143483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 00:51:39] local.INFO: TCP Data received {"connection_id":143483,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fdf62c8012d7f980005afd7c00011000627..."} 
[2026-07-27 00:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143483,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fdf62c8012d7f980005afd7c00011000627..."} 
[2026-07-27 00:51:39] local.INFO: Processing buffer {"connection_id":143483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fdf62c8012d7f980005afd7c00011000627..."} 
[2026-07-27 00:51:39] local.INFO: Packet analysis {"connection_id":143483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fdf"} 
[2026-07-27 00:51:39] local.INFO: Extracted packet for processing {"connection_id":143483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fdf"} 
[2026-07-27 00:51:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":39,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 00:51:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 00:51:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983896064001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:51:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:51:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:51:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:51:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785093645000,"timestamp_ms":1785093645000,"timestamp_seconds":1785093645,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fdf62c8"} 
[2026-07-27 00:51:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 00:51:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 00: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-07-27 00: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-07-27 00:51:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 00:51:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 00:51:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:51:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:51:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:51:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:51:39] 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-07-27 00:51:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:51:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:51:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983896064001,"66":25419,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:51:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:51:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:51:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983896064001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:51:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:51:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:51:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:51:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:51:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983896064001,"power":25419,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:51:39] local.INFO: DEBUG: GPS processor result {"connection_id":143483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:51:39] local.INFO: GPS data processed {"connection_id":143483,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:51:39] local.INFO: Acknowledgment sent {"connection_id":143483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:51:52] local.INFO: TCP Data received {"connection_id":142447,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 00:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142447,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 00:51:52] local.INFO: Processing buffer {"connection_id":142447,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 00:51:52] local.INFO: IMEI packet received {"connection_id":142447,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 00:51:52] local.INFO: IMEI acknowledgment sent {"connection_id":142447,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 00:52:10] local.INFO: TCP Data received {"connection_id":143483,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fdf62c8012d7f980005afd7c00011000627..."} 
[2026-07-27 00:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143483,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fdf62c8012d7f980005afd7c00011000627..."} 
[2026-07-27 00:52:10] local.INFO: Processing buffer {"connection_id":143483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fdf62c8012d7f980005afd7c00011000627..."} 
[2026-07-27 00:52:10] local.INFO: Packet analysis {"connection_id":143483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fdf"} 
[2026-07-27 00:52:10] local.INFO: Extracted packet for processing {"connection_id":143483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fdf"} 
[2026-07-27 00:52:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":39,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 00:52:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983896064001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:52:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:52:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:52:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:52:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785093645000,"timestamp_ms":1785093645000,"timestamp_seconds":1785093645,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fdf62c8"} 
[2026-07-27 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-07-27 00:52:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":53,"data_length":795,"current_offset":136} 
[2026-07-27 00: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-07-27 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-07-27 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-07-27 00:52:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:52:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:52:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:52:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:52: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-07-27 00:52:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:52:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:52:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983896064001,"66":25419,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:52:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:52:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:52:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983896064001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:52:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:52:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:52:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:52:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:52:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983896064001,"power":25419,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:52:10] local.INFO: DEBUG: GPS processor result {"connection_id":143483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:52:10] local.INFO: GPS data processed {"connection_id":143483,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:52:10] local.INFO: Acknowledgment sent {"connection_id":143483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:52:39] local.INFO: TCP Data received {"connection_id":144831,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:52:39] local.INFO: Processing buffer {"connection_id":144831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:52:39] local.INFO: IMEI packet received {"connection_id":144831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 00:52:39] local.INFO: IMEI acknowledgment sent {"connection_id":144831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 00:52:44] local.INFO: TCP Data received {"connection_id":144831,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:52:44] local.INFO: Processing buffer {"connection_id":144831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:52:44] local.INFO: IMEI packet received {"connection_id":144831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 00:52:44] local.INFO: IMEI acknowledgment sent {"connection_id":144831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 00:52:44] local.INFO: TCP Data received {"connection_id":144831,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fdf62c8012d7f980005afd7c00011000627..."} 
[2026-07-27 00:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fdf62c8012d7f980005afd7c00011000627..."} 
[2026-07-27 00:52:44] local.INFO: Processing buffer {"connection_id":144831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fdf62c8012d7f980005afd7c00011000627..."} 
[2026-07-27 00:52:44] local.INFO: Packet analysis {"connection_id":144831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fdf"} 
[2026-07-27 00:52:44] local.INFO: Extracted packet for processing {"connection_id":144831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fdf"} 
[2026-07-27 00:52:44] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":39,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 00:52:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 00:52:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983896064001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:52:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:52:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:52:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:52:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785093645000,"timestamp_ms":1785093645000,"timestamp_seconds":1785093645,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fdf62c8"} 
[2026-07-27 00:52:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 00:52:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 00:52: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-07-27 00:52: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-07-27 00:52:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 00:52:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 00:52:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:52:44] local.INFO: Teltonika packet parsed successfully {"connection_id":144831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:52:44] local.INFO: Passing IMEI to GPS processor {"connection_id":144831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:52:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":144831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:52: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-07-27 00:52:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:52:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:52:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983896064001,"66":25419,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:52:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:52:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:52:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983896064001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:52:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:52:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:52:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:52:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:52:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983896064001,"power":25419,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:52:44] local.INFO: DEBUG: GPS processor result {"connection_id":144831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:52:44] local.INFO: GPS data processed {"connection_id":144831,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:52:44] local.INFO: Acknowledgment sent {"connection_id":144831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:52:49] local.INFO: TCP Data received {"connection_id":144831,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fdf62c8012d7f980005afd7c00011000627..."} 
[2026-07-27 00:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fdf62c8012d7f980005afd7c00011000627..."} 
[2026-07-27 00:52:49] local.INFO: Processing buffer {"connection_id":144831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fdf62c8012d7f980005afd7c00011000627..."} 
[2026-07-27 00:52:49] local.INFO: Packet analysis {"connection_id":144831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fdf"} 
[2026-07-27 00:52:49] local.INFO: Extracted packet for processing {"connection_id":144831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fdf"} 
[2026-07-27 00:52:49] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":39,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 00: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-07-27 00:52:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983896064001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:52:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:52:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:52:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:52:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785093645000,"timestamp_ms":1785093645000,"timestamp_seconds":1785093645,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fdf62c8"} 
[2026-07-27 00:52:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 00:52:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 00: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 00:52:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 00: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-07-27 00:52:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 00:52:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:52:49] local.INFO: Teltonika packet parsed successfully {"connection_id":144831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:52:49] local.INFO: Passing IMEI to GPS processor {"connection_id":144831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:52:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":144831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:52:49] 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-07-27 00:52:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:52:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:52:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983896064001,"66":25419,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:52:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:52:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:52:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983896064001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:52:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:52:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:52:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:52:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:52:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983896064001,"power":25419,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:52:49] local.INFO: DEBUG: GPS processor result {"connection_id":144831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:52:49] local.INFO: GPS data processed {"connection_id":144831,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:52:49] local.INFO: Acknowledgment sent {"connection_id":144831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:53:34] local.INFO: TCP Data received {"connection_id":142448,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:53:34] local.INFO: Processing buffer {"connection_id":142448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:53:34] local.INFO: IMEI packet received {"connection_id":142448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 00:53:34] local.INFO: IMEI acknowledgment sent {"connection_id":142448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 00:53:39] local.INFO: TCP Data received {"connection_id":142448,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:53:39] local.INFO: Processing buffer {"connection_id":142448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:53:39] local.INFO: IMEI packet received {"connection_id":142448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 00:53:39] local.INFO: IMEI acknowledgment sent {"connection_id":142448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 00:53:39] local.INFO: TCP Data received {"connection_id":142448,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fdf62c8012d7f980005afd7c00011000627..."} 
[2026-07-27 00:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fdf62c8012d7f980005afd7c00011000627..."} 
[2026-07-27 00:53:39] local.INFO: Processing buffer {"connection_id":142448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fdf62c8012d7f980005afd7c00011000627..."} 
[2026-07-27 00:53:39] local.INFO: Packet analysis {"connection_id":142448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fdf"} 
[2026-07-27 00:53:39] local.INFO: Extracted packet for processing {"connection_id":142448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fdf"} 
[2026-07-27 00:53:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":39,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 00:53:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 00:53:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983896064001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:53:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:53:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:53:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:53:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785093645000,"timestamp_ms":1785093645000,"timestamp_seconds":1785093645,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fdf62c8"} 
[2026-07-27 00:53:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 00:53:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 00: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-07-27 00: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-07-27 00:53:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 00:53:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 00:53:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:53:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:53:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:53:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:53:39] 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-07-27 00:53:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:53:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:53:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983896064001,"66":25419,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:53:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:53:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:53:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983896064001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:53:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:53:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:53:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:53:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:53:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983896064001,"power":25419,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:53:39] local.INFO: DEBUG: GPS processor result {"connection_id":142448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:53:39] local.INFO: GPS data processed {"connection_id":142448,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:53:39] local.INFO: Acknowledgment sent {"connection_id":142448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:54:10] local.INFO: TCP Data received {"connection_id":142448,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fdf62c8012d7f980005afd7c00011000627..."} 
[2026-07-27 00:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fdf62c8012d7f980005afd7c00011000627..."} 
[2026-07-27 00:54:10] local.INFO: Processing buffer {"connection_id":142448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fdf62c8012d7f980005afd7c00011000627..."} 
[2026-07-27 00:54:10] local.INFO: Packet analysis {"connection_id":142448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fdf"} 
[2026-07-27 00:54:10] local.INFO: Extracted packet for processing {"connection_id":142448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fdf"} 
[2026-07-27 00:54:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":39,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 00:54:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983896064001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:54:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:54:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:54:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:54:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785093645000,"timestamp_ms":1785093645000,"timestamp_seconds":1785093645,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fdf62c8"} 
[2026-07-27 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-07-27 00:54:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":53,"data_length":795,"current_offset":136} 
[2026-07-27 00: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-07-27 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-07-27 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-07-27 00:54:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:54:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:54:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:54:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:54: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-07-27 00:54:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:54:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:54:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983896064001,"66":25419,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:54:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:54:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:54:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983896064001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:54:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:54:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:54:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:54:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:54:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983896064001,"power":25419,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:54:10] local.INFO: DEBUG: GPS processor result {"connection_id":142448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:54:10] local.INFO: GPS data processed {"connection_id":142448,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:54:10] local.INFO: Acknowledgment sent {"connection_id":142448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:54:34] local.INFO: TCP Data received {"connection_id":143486,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:54:34] local.INFO: Processing buffer {"connection_id":143486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:54:34] local.INFO: IMEI packet received {"connection_id":143486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 00:54:34] local.INFO: IMEI acknowledgment sent {"connection_id":143486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 00:54:39] local.INFO: TCP Data received {"connection_id":143486,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:54:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:54:39] local.INFO: Processing buffer {"connection_id":143486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:54:39] local.INFO: IMEI packet received {"connection_id":143486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 00:54:39] local.INFO: IMEI acknowledgment sent {"connection_id":143486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 00:54:39] local.INFO: TCP Data received {"connection_id":143486,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fdf62c8012d7f980005afd7c00011000627..."} 
[2026-07-27 00:54:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fdf62c8012d7f980005afd7c00011000627..."} 
[2026-07-27 00:54:39] local.INFO: Processing buffer {"connection_id":143486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fdf62c8012d7f980005afd7c00011000627..."} 
[2026-07-27 00:54:39] local.INFO: Packet analysis {"connection_id":143486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fdf"} 
[2026-07-27 00:54:39] local.INFO: Extracted packet for processing {"connection_id":143486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fdf"} 
[2026-07-27 00:54:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":39,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 00:54:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 00:54:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983896064001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:54:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:54:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:54:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:54:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785093645000,"timestamp_ms":1785093645000,"timestamp_seconds":1785093645,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fdf62c8"} 
[2026-07-27 00:54:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 00:54:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 00: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":53,"data_length":795,"current_offset":136} 
[2026-07-27 00:54: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-07-27 00:54:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 00:54:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 00:54:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:54:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:54:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:54:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:54:39] 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-07-27 00:54:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:54:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:54:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983896064001,"66":25419,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:54:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:54:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:54:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983896064001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:54:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:54:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:54:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:54:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:54:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983896064001,"power":25419,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:54:39] local.INFO: DEBUG: GPS processor result {"connection_id":143486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:54:39] local.INFO: GPS data processed {"connection_id":143486,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:54:39] local.INFO: Acknowledgment sent {"connection_id":143486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:55:11] local.INFO: TCP Data received {"connection_id":143486,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fdf62c8012d7f980005afd7c00011000627..."} 
[2026-07-27 00:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fdf62c8012d7f980005afd7c00011000627..."} 
[2026-07-27 00:55:11] local.INFO: Processing buffer {"connection_id":143486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fdf62c8012d7f980005afd7c00011000627..."} 
[2026-07-27 00:55:11] local.INFO: Packet analysis {"connection_id":143486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fdf"} 
[2026-07-27 00:55:11] local.INFO: Extracted packet for processing {"connection_id":143486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fdf"} 
[2026-07-27 00:55:11] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":39,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 00:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 00:55:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983896064001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:55:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:55:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:55:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:55:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785093645000,"timestamp_ms":1785093645000,"timestamp_seconds":1785093645,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fdf62c8"} 
[2026-07-27 00:55:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 00:55:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 00: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-07-27 00: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-07-27 00:55:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 00:55:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 00:55:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:55:11] local.INFO: Teltonika packet parsed successfully {"connection_id":143486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:55:11] local.INFO: Passing IMEI to GPS processor {"connection_id":143486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:55:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":143486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:55: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-07-27 00:55:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:55:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:55:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983896064001,"66":25419,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:55:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:55:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:55:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983896064001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:55:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:55:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:55:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:55:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:55:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983896064001,"power":25419,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:55:11] local.INFO: DEBUG: GPS processor result {"connection_id":143486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:55:11] local.INFO: GPS data processed {"connection_id":143486,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:55:11] local.INFO: Acknowledgment sent {"connection_id":143486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:55:33] local.INFO: TCP Data received {"connection_id":142449,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:55:33] local.INFO: Processing buffer {"connection_id":142449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:55:33] local.INFO: IMEI packet received {"connection_id":142449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 00:55:33] local.INFO: IMEI acknowledgment sent {"connection_id":142449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 00:55:39] local.INFO: TCP Data received {"connection_id":142449,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:55:39] local.INFO: Processing buffer {"connection_id":142449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:55:39] local.INFO: IMEI packet received {"connection_id":142449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 00:55:39] local.INFO: IMEI acknowledgment sent {"connection_id":142449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 00:55:39] local.INFO: TCP Data received {"connection_id":142449,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fdf62c8012d7f980005afd7c00011000627..."} 
[2026-07-27 00:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fdf62c8012d7f980005afd7c00011000627..."} 
[2026-07-27 00:55:39] local.INFO: Processing buffer {"connection_id":142449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fdf62c8012d7f980005afd7c00011000627..."} 
[2026-07-27 00:55:39] local.INFO: Packet analysis {"connection_id":142449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fdf"} 
[2026-07-27 00:55:39] local.INFO: Extracted packet for processing {"connection_id":142449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fdf"} 
[2026-07-27 00:55:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":39,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 00:55:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 00:55:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983896064001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:55:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:55:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:55:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:55:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785093645000,"timestamp_ms":1785093645000,"timestamp_seconds":1785093645,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fdf62c8"} 
[2026-07-27 00:55:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 00:55:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 00:55:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 00: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-07-27 00:55:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 00:55:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 00:55:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:55:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:55:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:55:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:55:39] 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-07-27 00:55:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:55:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:55:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983896064001,"66":25419,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:55:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:55:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:55:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983896064001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:55:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:55:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:55:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:55:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:55:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983896064001,"power":25419,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:55:39] local.INFO: DEBUG: GPS processor result {"connection_id":142449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:55:39] local.INFO: GPS data processed {"connection_id":142449,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:55:39] local.INFO: Acknowledgment sent {"connection_id":142449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:56:10] local.INFO: TCP Data received {"connection_id":142449,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fdf62c8012d7f980005afd7c00011000627..."} 
[2026-07-27 00:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fdf62c8012d7f980005afd7c00011000627..."} 
[2026-07-27 00:56:10] local.INFO: Processing buffer {"connection_id":142449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fdf62c8012d7f980005afd7c00011000627..."} 
[2026-07-27 00:56:10] local.INFO: Packet analysis {"connection_id":142449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fdf"} 
[2026-07-27 00:56:10] local.INFO: Extracted packet for processing {"connection_id":142449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fdf"} 
[2026-07-27 00:56:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":39,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 00:56:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983896064001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:56:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:56:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:56:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:56:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785093645000,"timestamp_ms":1785093645000,"timestamp_seconds":1785093645,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fdf62c8"} 
[2026-07-27 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-07-27 00:56:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":53,"data_length":795,"current_offset":136} 
[2026-07-27 00: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-07-27 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-07-27 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-07-27 00:56:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:56:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:56:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:56:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 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-07-27 00:56:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:56:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:56:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983896064001,"66":25419,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:56:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:56:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:56:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983896064001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:56:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:56:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:56:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:56:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:56:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983896064001,"power":25419,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:56:10] local.INFO: DEBUG: GPS processor result {"connection_id":142449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:56:10] local.INFO: GPS data processed {"connection_id":142449,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:56:10] local.INFO: Acknowledgment sent {"connection_id":142449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:56:33] local.INFO: TCP Data received {"connection_id":142517,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:56:33] local.INFO: Processing buffer {"connection_id":142517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:56:33] local.INFO: IMEI packet received {"connection_id":142517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 00:56:33] local.INFO: IMEI acknowledgment sent {"connection_id":142517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 00:56:39] local.INFO: TCP Data received {"connection_id":142517,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:56:39] local.INFO: Processing buffer {"connection_id":142517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:56:39] local.INFO: IMEI packet received {"connection_id":142517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 00:56:39] local.INFO: IMEI acknowledgment sent {"connection_id":142517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 00:56:40] local.INFO: TCP Data received {"connection_id":142517,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fe3fa90012d7f980005afd7c0001100062d..."} 
[2026-07-27 00:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fe3fa90012d7f980005afd7c0001100062d..."} 
[2026-07-27 00:56:40] local.INFO: Processing buffer {"connection_id":142517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fe3fa90012d7f980005afd7c0001100062d..."} 
[2026-07-27 00:56:40] local.INFO: Packet analysis {"connection_id":142517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fe3"} 
[2026-07-27 00:56:40] local.INFO: Extracted packet for processing {"connection_id":142517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fe3"} 
[2026-07-27 00:56:40] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":45,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 00: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-07-27 00:56:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983973120001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:56:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:56:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:56:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:56:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785093946000,"timestamp_ms":1785093946000,"timestamp_seconds":1785093946,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fe3fa90"} 
[2026-07-27 00:56:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 00:56:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 00: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":75,"data_length":795,"current_offset":136} 
[2026-07-27 00:56: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-07-27 00: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-07-27 00:56:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 00:56:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:56:40] local.INFO: Teltonika packet parsed successfully {"connection_id":142517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:56:40] local.INFO: Passing IMEI to GPS processor {"connection_id":142517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:56:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":142517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:56: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-07-27 00:56:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:56:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:56:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983973120001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:56:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:56:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:56:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983973120001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:56:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:56:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:56:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:56:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:56:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983973120001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:56:40] local.INFO: DEBUG: GPS processor result {"connection_id":142517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:56:40] local.INFO: GPS data processed {"connection_id":142517,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:56:40] local.INFO: Acknowledgment sent {"connection_id":142517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:57:11] local.INFO: TCP Data received {"connection_id":142517,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fe3fa90012d7f980005afd7c0001100062d..."} 
[2026-07-27 00:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fe3fa90012d7f980005afd7c0001100062d..."} 
[2026-07-27 00:57:11] local.INFO: Processing buffer {"connection_id":142517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fe3fa90012d7f980005afd7c0001100062d..."} 
[2026-07-27 00:57:11] local.INFO: Packet analysis {"connection_id":142517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fe3"} 
[2026-07-27 00:57:11] local.INFO: Extracted packet for processing {"connection_id":142517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fe3"} 
[2026-07-27 00:57:11] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":45,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 00:57:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983973120001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:57:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:57:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:57:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:57:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785093946000,"timestamp_ms":1785093946000,"timestamp_seconds":1785093946,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fe3fa90"} 
[2026-07-27 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-07-27 00:57:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":75,"data_length":795,"current_offset":136} 
[2026-07-27 00:57: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-07-27 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-07-27 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-07-27 00:57:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:57:11] local.INFO: Teltonika packet parsed successfully {"connection_id":142517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:57:11] local.INFO: Passing IMEI to GPS processor {"connection_id":142517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:57:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":142517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:57: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-07-27 00:57:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:57:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:57:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983973120001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:57:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:57:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:57:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983973120001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:57:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:57:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:57:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:57:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:57:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983973120001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:57:11] local.INFO: DEBUG: GPS processor result {"connection_id":142517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:57:11] local.INFO: GPS data processed {"connection_id":142517,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:57:11] local.INFO: Acknowledgment sent {"connection_id":142517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:57:39] local.INFO: TCP Data received {"connection_id":143487,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:57:39] local.INFO: Processing buffer {"connection_id":143487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:57:39] local.INFO: IMEI packet received {"connection_id":143487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 00:57:39] local.INFO: IMEI acknowledgment sent {"connection_id":143487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 00:57:44] local.INFO: TCP Data received {"connection_id":143487,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:57:44] local.INFO: Processing buffer {"connection_id":143487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:57:44] local.INFO: IMEI packet received {"connection_id":143487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 00:57:44] local.INFO: IMEI acknowledgment sent {"connection_id":143487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 00:57:44] local.INFO: TCP Data received {"connection_id":143487,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fe3fa90012d7f980005afd7c0001100062d..."} 
[2026-07-27 00:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fe3fa90012d7f980005afd7c0001100062d..."} 
[2026-07-27 00:57:44] local.INFO: Processing buffer {"connection_id":143487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fe3fa90012d7f980005afd7c0001100062d..."} 
[2026-07-27 00:57:44] local.INFO: Packet analysis {"connection_id":143487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fe3"} 
[2026-07-27 00:57:44] local.INFO: Extracted packet for processing {"connection_id":143487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fe3"} 
[2026-07-27 00:57:44] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":45,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 00:57:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 00:57:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983973120001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:57:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:57:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:57:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:57:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785093946000,"timestamp_ms":1785093946000,"timestamp_seconds":1785093946,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fe3fa90"} 
[2026-07-27 00:57:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 00:57:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 00:57:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-27 00:57:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 00:57:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 00:57:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 00:57:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:57:44] local.INFO: Teltonika packet parsed successfully {"connection_id":143487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:57:44] local.INFO: Passing IMEI to GPS processor {"connection_id":143487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:57:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":143487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:57: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-07-27 00:57:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:57:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:57:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983973120001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:57:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:57:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:57:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983973120001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:57:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:57:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:57:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:57:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:57:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983973120001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:57:44] local.INFO: DEBUG: GPS processor result {"connection_id":143487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:57:44] local.INFO: GPS data processed {"connection_id":143487,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:57:44] local.INFO: Acknowledgment sent {"connection_id":143487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:57:46] local.INFO: TCP Data received {"connection_id":144832,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 00:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144832,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 00:57:46] local.INFO: Processing buffer {"connection_id":144832,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 00:57:46] local.INFO: IMEI packet received {"connection_id":144832,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 00:57:46] local.INFO: IMEI acknowledgment sent {"connection_id":144832,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 00:58:15] local.INFO: TCP Data received {"connection_id":143487,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fe3fa90012d7f980005afd7c0001100062d..."} 
[2026-07-27 00:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fe3fa90012d7f980005afd7c0001100062d..."} 
[2026-07-27 00:58:15] local.INFO: Processing buffer {"connection_id":143487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fe3fa90012d7f980005afd7c0001100062d..."} 
[2026-07-27 00:58:15] local.INFO: Packet analysis {"connection_id":143487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fe3"} 
[2026-07-27 00:58:15] local.INFO: Extracted packet for processing {"connection_id":143487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fe3"} 
[2026-07-27 00:58:15] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":45,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 00: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-07-27 00:58:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983973120001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:58:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:58:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:58:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:58:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785093946000,"timestamp_ms":1785093946000,"timestamp_seconds":1785093946,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fe3fa90"} 
[2026-07-27 00:58:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 00:58:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 00: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":75,"data_length":795,"current_offset":136} 
[2026-07-27 00:58: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-07-27 00: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-07-27 00:58:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 00:58:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:58:15] local.INFO: Teltonika packet parsed successfully {"connection_id":143487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:58:15] local.INFO: Passing IMEI to GPS processor {"connection_id":143487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:58:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":143487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:58: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-07-27 00:58:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:58:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:58:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983973120001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:58:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:58:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:58:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983973120001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:58:15] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:58:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:58:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:58:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:58:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983973120001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:58:15] local.INFO: DEBUG: GPS processor result {"connection_id":143487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:58:15] local.INFO: GPS data processed {"connection_id":143487,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:58:15] local.INFO: Acknowledgment sent {"connection_id":143487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:58:38] local.INFO: TCP Data received {"connection_id":143488,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:58:38] local.INFO: Processing buffer {"connection_id":143488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:58:38] local.INFO: IMEI packet received {"connection_id":143488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 00:58:38] local.INFO: IMEI acknowledgment sent {"connection_id":143488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 00:58:44] local.INFO: TCP Data received {"connection_id":143488,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:58:44] local.INFO: Processing buffer {"connection_id":143488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:58:44] local.INFO: IMEI packet received {"connection_id":143488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 00:58:44] local.INFO: IMEI acknowledgment sent {"connection_id":143488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 00:58:44] local.INFO: TCP Data received {"connection_id":143488,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fe3fa90012d7f980005afd7c0001100062d..."} 
[2026-07-27 00:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fe3fa90012d7f980005afd7c0001100062d..."} 
[2026-07-27 00:58:44] local.INFO: Processing buffer {"connection_id":143488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fe3fa90012d7f980005afd7c0001100062d..."} 
[2026-07-27 00:58:44] local.INFO: Packet analysis {"connection_id":143488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fe3"} 
[2026-07-27 00:58:44] local.INFO: Extracted packet for processing {"connection_id":143488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fe3"} 
[2026-07-27 00:58:44] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":45,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 00:58:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 00:58:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983973120001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:58:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:58:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:58:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:58:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785093946000,"timestamp_ms":1785093946000,"timestamp_seconds":1785093946,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fe3fa90"} 
[2026-07-27 00:58:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 00:58:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 00:58:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-27 00:58:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 00:58:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 00:58:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 00:58:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:58:44] local.INFO: Teltonika packet parsed successfully {"connection_id":143488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:58:44] local.INFO: Passing IMEI to GPS processor {"connection_id":143488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:58:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":143488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:58:44] 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-07-27 00:58:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:58:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:58:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983973120001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:58:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:58:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:58:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983973120001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:58:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:58:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:58:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:58:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:58:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983973120001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:58:44] local.INFO: DEBUG: GPS processor result {"connection_id":143488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:58:44] local.INFO: GPS data processed {"connection_id":143488,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:58:44] local.INFO: Acknowledgment sent {"connection_id":143488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:59:16] local.INFO: TCP Data received {"connection_id":143488,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fe3fa90012d7f980005afd7c0001100062d..."} 
[2026-07-27 00:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fe3fa90012d7f980005afd7c0001100062d..."} 
[2026-07-27 00:59:16] local.INFO: Processing buffer {"connection_id":143488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fe3fa90012d7f980005afd7c0001100062d..."} 
[2026-07-27 00:59:16] local.INFO: Packet analysis {"connection_id":143488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fe3"} 
[2026-07-27 00:59:16] local.INFO: Extracted packet for processing {"connection_id":143488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fe3"} 
[2026-07-27 00:59:16] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":45,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 00: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-07-27 00:59:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983973120001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:59:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:59:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:59:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:59:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785093946000,"timestamp_ms":1785093946000,"timestamp_seconds":1785093946,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fe3fa90"} 
[2026-07-27 00:59:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 00:59:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 00: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-27 00:59: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-07-27 00: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-07-27 00:59:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 00:59:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:59:16] local.INFO: Teltonika packet parsed successfully {"connection_id":143488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:59:16] local.INFO: Passing IMEI to GPS processor {"connection_id":143488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:59:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":143488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:59:16] 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-07-27 00:59:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:59:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:59:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983973120001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:59:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:59:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:59:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983973120001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:59:16] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:59:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:59:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:59:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:59:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983973120001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:59:16] local.INFO: DEBUG: GPS processor result {"connection_id":143488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:59:16] local.INFO: GPS data processed {"connection_id":143488,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:59:16] local.INFO: Acknowledgment sent {"connection_id":143488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:59:44] local.INFO: TCP Data received {"connection_id":143489,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:59:44] local.INFO: Processing buffer {"connection_id":143489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:59:44] local.INFO: IMEI packet received {"connection_id":143489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 00:59:44] local.INFO: IMEI acknowledgment sent {"connection_id":143489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 00:59:48] local.INFO: TCP Data received {"connection_id":143489,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:59:48] local.INFO: Processing buffer {"connection_id":143489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 00:59:48] local.INFO: IMEI packet received {"connection_id":143489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 00:59:48] local.INFO: IMEI acknowledgment sent {"connection_id":143489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 00:59:51] local.INFO: TCP Data received {"connection_id":143489,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fe3fa90012d7f980005afd7c0001100062d..."} 
[2026-07-27 00:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fe3fa90012d7f980005afd7c0001100062d..."} 
[2026-07-27 00:59:51] local.INFO: Processing buffer {"connection_id":143489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fe3fa90012d7f980005afd7c0001100062d..."} 
[2026-07-27 00:59:51] local.INFO: Packet analysis {"connection_id":143489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fe3"} 
[2026-07-27 00:59:51] local.INFO: Extracted packet for processing {"connection_id":143489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fe3"} 
[2026-07-27 00:59:51] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":45,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 00:59:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 00:59:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983973120001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:59:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:59:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:59:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:59:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785093946000,"timestamp_ms":1785093946000,"timestamp_seconds":1785093946,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fe3fa90"} 
[2026-07-27 00:59:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 00:59:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 00:59:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-27 00:59:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 00:59:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 00:59:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 00:59:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:59:51] local.INFO: Teltonika packet parsed successfully {"connection_id":143489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:59:51] local.INFO: Passing IMEI to GPS processor {"connection_id":143489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:59:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":143489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:59:51] 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-07-27 00:59:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:59:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:59:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983973120001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:59:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:59:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:59:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983973120001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:59:51] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:59:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:59:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:59:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:59:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983973120001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:59:51] local.INFO: DEBUG: GPS processor result {"connection_id":143489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:59:51] local.INFO: GPS data processed {"connection_id":143489,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:59:51] local.INFO: Acknowledgment sent {"connection_id":143489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 00:59:54] local.INFO: TCP Data received {"connection_id":143489,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fe3fa90012d7f980005afd7c0001100062d..."} 
[2026-07-27 00:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fe3fa90012d7f980005afd7c0001100062d..."} 
[2026-07-27 00:59:54] local.INFO: Processing buffer {"connection_id":143489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fe3fa90012d7f980005afd7c0001100062d..."} 
[2026-07-27 00:59:54] local.INFO: Packet analysis {"connection_id":143489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fe3"} 
[2026-07-27 00:59:54] local.INFO: Extracted packet for processing {"connection_id":143489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fe3"} 
[2026-07-27 00:59:54] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":45,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 00: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-07-27 00:59:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983973120001,"note":"Value kept but may cause issues"} 
[2026-07-27 00:59:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 00:59:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 00:59:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 00:59:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785093946000,"timestamp_ms":1785093946000,"timestamp_seconds":1785093946,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fe3fa90"} 
[2026-07-27 00:59:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 00:59:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 00:59:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-27 00:59:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 00: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-07-27 00:59:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 00:59:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 00:59:54] local.INFO: Teltonika packet parsed successfully {"connection_id":143489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 00:59:54] local.INFO: Passing IMEI to GPS processor {"connection_id":143489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:59:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":143489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 00:59:54] 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-07-27 00:59:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 00:59:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 00:59:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983973120001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 00:59:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 00:59:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 00:59:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983973120001,"description":"Unknown IO ID 0"} 
[2026-07-27 00:59:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 00:59:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 00:59:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 00:59:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 00:59:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983973120001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 00:59:54] local.INFO: DEBUG: GPS processor result {"connection_id":143489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 00:59:54] local.INFO: GPS data processed {"connection_id":143489,"processed":1,"errors":0,"total":1} 
[2026-07-27 00:59:54] local.INFO: Acknowledgment sent {"connection_id":143489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:00:00] local.INFO: TCP Data received {"connection_id":143489,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fe3fa90012d7f980005afd7c0001100062d..."} 
[2026-07-27 01:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fe3fa90012d7f980005afd7c0001100062d..."} 
[2026-07-27 01:00:00] local.INFO: Processing buffer {"connection_id":143489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fe3fa90012d7f980005afd7c0001100062d..."} 
[2026-07-27 01:00:00] local.INFO: Packet analysis {"connection_id":143489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fe3"} 
[2026-07-27 01:00:00] local.INFO: Extracted packet for processing {"connection_id":143489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fe3"} 
[2026-07-27 01:00:00] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":45,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 01:00:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 01:00:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983973120001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:00:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:00:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:00:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:00:00] local.INFO: AVL Record Parsed {"raw_timestamp":1785093946000,"timestamp_ms":1785093946000,"timestamp_seconds":1785093946,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fe3fa90"} 
[2026-07-27 01:00:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 01:00:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 01:00:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-27 01:00:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 01:00:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 01:00:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 01:00:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:00:00] local.INFO: Teltonika packet parsed successfully {"connection_id":143489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:00:00] local.INFO: Passing IMEI to GPS processor {"connection_id":143489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:00:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":143489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:00:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 01:00:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:00:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:00:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983973120001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:00:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:00:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:00:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983973120001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:00:00] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:00:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:00:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:00:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:00:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983973120001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:00:00] local.INFO: DEBUG: GPS processor result {"connection_id":143489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:00:00] local.INFO: GPS data processed {"connection_id":143489,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:00:00] local.INFO: Acknowledgment sent {"connection_id":143489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:00:36] local.INFO: TCP Data received {"connection_id":142452,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:00:36] local.INFO: Processing buffer {"connection_id":142452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:00:36] local.INFO: IMEI packet received {"connection_id":142452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 01:00:36] local.INFO: IMEI acknowledgment sent {"connection_id":142452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 01:00:38] local.INFO: TCP Data received {"connection_id":142452,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:00:38] local.INFO: Processing buffer {"connection_id":142452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:00:38] local.INFO: IMEI packet received {"connection_id":142452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 01:00:38] local.INFO: IMEI acknowledgment sent {"connection_id":142452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 01:00:39] local.INFO: TCP Data received {"connection_id":142452,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fe3fa90012d7f980005afd7c0001100062d..."} 
[2026-07-27 01:00:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fe3fa90012d7f980005afd7c0001100062d..."} 
[2026-07-27 01:00:39] local.INFO: Processing buffer {"connection_id":142452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fe3fa90012d7f980005afd7c0001100062d..."} 
[2026-07-27 01:00:39] local.INFO: Packet analysis {"connection_id":142452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fe3"} 
[2026-07-27 01:00:39] local.INFO: Extracted packet for processing {"connection_id":142452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fe3"} 
[2026-07-27 01:00:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":45,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 01: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-07-27 01:00:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983973120001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:00:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:00:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:00:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:00:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785093946000,"timestamp_ms":1785093946000,"timestamp_seconds":1785093946,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fe3fa90"} 
[2026-07-27 01:00:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 01:00:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 01: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":75,"data_length":795,"current_offset":136} 
[2026-07-27 01:00: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-07-27 01: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-07-27 01:00:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 01:00:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:00:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:00:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:00:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:00:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 01:00:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:00:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:00:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983973120001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:00:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:00:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:00:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983973120001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:00:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:00:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:00:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:00:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:00:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983973120001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:00:39] local.INFO: DEBUG: GPS processor result {"connection_id":142452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:00:39] local.INFO: GPS data processed {"connection_id":142452,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:00:39] local.INFO: Acknowledgment sent {"connection_id":142452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:00:44] local.INFO: TCP Data received {"connection_id":142452,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fe3fa90012d7f980005afd7c0001100062d..."} 
[2026-07-27 01:00:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fe3fa90012d7f980005afd7c0001100062d..."} 
[2026-07-27 01:00:44] local.INFO: Processing buffer {"connection_id":142452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fe3fa90012d7f980005afd7c0001100062d..."} 
[2026-07-27 01:00:44] local.INFO: Packet analysis {"connection_id":142452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fe3"} 
[2026-07-27 01:00:44] local.INFO: Extracted packet for processing {"connection_id":142452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fe3"} 
[2026-07-27 01:00:44] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":45,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 01:00:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 01:00:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983973120001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:00:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:00:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:00:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:00:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785093946000,"timestamp_ms":1785093946000,"timestamp_seconds":1785093946,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fe3fa90"} 
[2026-07-27 01:00:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 01:00:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 01:00:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-27 01:00:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 01:00:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 01:00:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 01:00:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:00:44] local.INFO: Teltonika packet parsed successfully {"connection_id":142452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:00:44] local.INFO: Passing IMEI to GPS processor {"connection_id":142452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:00:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":142452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:00: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-07-27 01:00:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:00:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:00:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983973120001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:00:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:00:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:00:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983973120001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:00:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:00:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:00:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:00:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:00:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983973120001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:00:44] local.INFO: DEBUG: GPS processor result {"connection_id":142452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:00:44] local.INFO: GPS data processed {"connection_id":142452,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:00:44] local.INFO: Acknowledgment sent {"connection_id":142452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:01:15] local.INFO: TCP Data received {"connection_id":142452,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fe3fa90012d7f980005afd7c0001100062d..."} 
[2026-07-27 01:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fe3fa90012d7f980005afd7c0001100062d..."} 
[2026-07-27 01:01:15] local.INFO: Processing buffer {"connection_id":142452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fe3fa90012d7f980005afd7c0001100062d..."} 
[2026-07-27 01:01:15] local.INFO: Packet analysis {"connection_id":142452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fe3"} 
[2026-07-27 01:01:15] local.INFO: Extracted packet for processing {"connection_id":142452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fe3"} 
[2026-07-27 01:01:15] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":45,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 01: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-07-27 01:01:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456983973120001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:01:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:01:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:01:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:01:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785093946000,"timestamp_ms":1785093946000,"timestamp_seconds":1785093946,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fe3fa90"} 
[2026-07-27 01:01:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 01:01:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 01: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-07-27 01: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-07-27 01: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-07-27 01:01:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 01:01:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:01:15] local.INFO: Teltonika packet parsed successfully {"connection_id":142452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:01:15] local.INFO: Passing IMEI to GPS processor {"connection_id":142452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:01:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":142452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:01: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-07-27 01:01:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:01:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:01:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456983973120001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:01:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:01:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:01:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456983973120001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:01:15] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:01:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:01:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:01:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:01:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456983973120001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:01:15] local.INFO: DEBUG: GPS processor result {"connection_id":142452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:01:15] local.INFO: GPS data processed {"connection_id":142452,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:01:15] local.INFO: Acknowledgment sent {"connection_id":142452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:01:33] local.INFO: TCP Data received {"connection_id":142521,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:01:33] local.INFO: Processing buffer {"connection_id":142521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:01:33] local.INFO: IMEI packet received {"connection_id":142521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 01:01:33] local.INFO: IMEI acknowledgment sent {"connection_id":142521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 01:01:39] local.INFO: TCP Data received {"connection_id":142521,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:01:39] local.INFO: Processing buffer {"connection_id":142521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:01:39] local.INFO: IMEI packet received {"connection_id":142521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 01:01:39] local.INFO: IMEI acknowledgment sent {"connection_id":142521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 01:01:40] local.INFO: TCP Data received {"connection_id":142521,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fe89258012d7f980005afd7c00011000628..."} 
[2026-07-27 01:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fe89258012d7f980005afd7c00011000628..."} 
[2026-07-27 01:01:40] local.INFO: Processing buffer {"connection_id":142521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fe89258012d7f980005afd7c00011000628..."} 
[2026-07-27 01:01:40] local.INFO: Packet analysis {"connection_id":142521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fe8"} 
[2026-07-27 01:01:40] local.INFO: Extracted packet for processing {"connection_id":142521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fe8"} 
[2026-07-27 01:01:40] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 01: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-07-27 01:01:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984050176001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:01:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:01:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:01:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:01:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785094247000,"timestamp_ms":1785094247000,"timestamp_seconds":1785094247,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fe89258"} 
[2026-07-27 01:01:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 01:01:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 01: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-07-27 01: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-07-27 01: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-07-27 01:01:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 01:01:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:01:40] local.INFO: Teltonika packet parsed successfully {"connection_id":142521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:01:40] local.INFO: Passing IMEI to GPS processor {"connection_id":142521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:01:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":142521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:01: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-07-27 01:01:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:01:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:01:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984050176001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:01:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:01:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:01:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984050176001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:01:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:01:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:01:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:01:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:01:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984050176001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:01:40] local.INFO: DEBUG: GPS processor result {"connection_id":142521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:01:40] local.INFO: GPS data processed {"connection_id":142521,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:01:40] local.INFO: Acknowledgment sent {"connection_id":142521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:02:12] local.INFO: TCP Data received {"connection_id":142521,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fe89258012d7f980005afd7c00011000628..."} 
[2026-07-27 01:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fe89258012d7f980005afd7c00011000628..."} 
[2026-07-27 01:02:12] local.INFO: Processing buffer {"connection_id":142521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fe89258012d7f980005afd7c00011000628..."} 
[2026-07-27 01:02:12] local.INFO: Packet analysis {"connection_id":142521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fe8"} 
[2026-07-27 01:02:12] local.INFO: Extracted packet for processing {"connection_id":142521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fe8"} 
[2026-07-27 01:02:12] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 01: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-07-27 01:02:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984050176001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:02:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:02:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:02:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:02:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785094247000,"timestamp_ms":1785094247000,"timestamp_seconds":1785094247,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fe89258"} 
[2026-07-27 01:02:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 01:02:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 01: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-27 01:02: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-07-27 01: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-07-27 01:02:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 01:02:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:02:12] local.INFO: Teltonika packet parsed successfully {"connection_id":142521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:02:12] local.INFO: Passing IMEI to GPS processor {"connection_id":142521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:02:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":142521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:02:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 01:02:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:02:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:02:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984050176001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:02:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:02:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:02:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984050176001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:02:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:02:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:02:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:02:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:02:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984050176001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:02:12] local.INFO: DEBUG: GPS processor result {"connection_id":142521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:02:12] local.INFO: GPS data processed {"connection_id":142521,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:02:12] local.INFO: Acknowledgment sent {"connection_id":142521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:02:34] local.INFO: TCP Data received {"connection_id":143490,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:02:34] local.INFO: Processing buffer {"connection_id":143490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:02:34] local.INFO: IMEI packet received {"connection_id":143490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 01:02:34] local.INFO: IMEI acknowledgment sent {"connection_id":143490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 01:02:39] local.INFO: TCP Data received {"connection_id":143490,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:02:39] local.INFO: Processing buffer {"connection_id":143490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:02:39] local.INFO: IMEI packet received {"connection_id":143490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 01:02:39] local.INFO: IMEI acknowledgment sent {"connection_id":143490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 01:02:39] local.INFO: TCP Data received {"connection_id":143490,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fe89258012d7f980005afd7c00011000628..."} 
[2026-07-27 01:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fe89258012d7f980005afd7c00011000628..."} 
[2026-07-27 01:02:39] local.INFO: Processing buffer {"connection_id":143490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fe89258012d7f980005afd7c00011000628..."} 
[2026-07-27 01:02:39] local.INFO: Packet analysis {"connection_id":143490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fe8"} 
[2026-07-27 01:02:39] local.INFO: Extracted packet for processing {"connection_id":143490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fe8"} 
[2026-07-27 01:02:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 01:02:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 01:02:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984050176001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:02:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:02:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:02:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:02:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785094247000,"timestamp_ms":1785094247000,"timestamp_seconds":1785094247,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fe89258"} 
[2026-07-27 01:02:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 01:02:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 01: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":86,"data_length":795,"current_offset":136} 
[2026-07-27 01:02:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 01:02:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 01:02:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 01:02:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:02:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:02:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:02:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:02:39] 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-07-27 01:02:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:02:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:02:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984050176001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:02:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:02:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:02:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984050176001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:02:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:02:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:02:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:02:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:02:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984050176001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:02:39] local.INFO: DEBUG: GPS processor result {"connection_id":143490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:02:39] local.INFO: GPS data processed {"connection_id":143490,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:02:39] local.INFO: Acknowledgment sent {"connection_id":143490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:03:10] local.INFO: TCP Data received {"connection_id":143490,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fe89258012d7f980005afd7c00011000628..."} 
[2026-07-27 01:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fe89258012d7f980005afd7c00011000628..."} 
[2026-07-27 01:03:10] local.INFO: Processing buffer {"connection_id":143490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fe89258012d7f980005afd7c00011000628..."} 
[2026-07-27 01:03:10] local.INFO: Packet analysis {"connection_id":143490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fe8"} 
[2026-07-27 01:03:10] local.INFO: Extracted packet for processing {"connection_id":143490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fe8"} 
[2026-07-27 01:03:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 01:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 01:03:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984050176001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:03:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:03:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:03:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:03:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785094247000,"timestamp_ms":1785094247000,"timestamp_seconds":1785094247,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fe89258"} 
[2026-07-27 01:03:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 01:03:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 01: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":86,"data_length":795,"current_offset":136} 
[2026-07-27 01:03:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 01:03:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 01:03:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 01:03:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:03:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:03:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:03:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:03: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-07-27 01:03:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:03:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:03:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984050176001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:03:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:03:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:03:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984050176001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:03:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:03:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:03:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:03:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:03:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984050176001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:03:10] local.INFO: DEBUG: GPS processor result {"connection_id":143490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:03:10] local.INFO: GPS data processed {"connection_id":143490,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:03:10] local.INFO: Acknowledgment sent {"connection_id":143490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:03:11] local.INFO: TCP Data received {"connection_id":142453,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 01:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142453,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 01:03:11] local.INFO: Processing buffer {"connection_id":142453,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 01:03:11] local.INFO: IMEI packet received {"connection_id":142453,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 01:03:11] local.INFO: IMEI acknowledgment sent {"connection_id":142453,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 01:03:33] local.INFO: TCP Data received {"connection_id":144833,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:03:33] local.INFO: Processing buffer {"connection_id":144833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:03:33] local.INFO: IMEI packet received {"connection_id":144833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 01:03:33] local.INFO: IMEI acknowledgment sent {"connection_id":144833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 01:03:37] local.INFO: TCP Data received {"connection_id":144834,"ip":"172.236.228.38","data_length":207,"data_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-07-27 01:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144834,"packet_length":207,"packet_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-07-27 01:03:37] local.INFO: Processing buffer {"connection_id":144834,"buffer_length":207,"buffer_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-07-27 01:03:37] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":144834,"buffer_length":207,"first_bytes_hex":"474554202f20485454502f312e310d0a"} 
[2026-07-27 01:03:37] local.INFO: TCP Data received {"connection_id":144835,"ip":"172.236.228.38","data_length":128,"data_hex":"160301007b0100007703035e3a888eae50e68afb88657f71f9f8784c6d55b7e5..."} 
[2026-07-27 01:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144835,"packet_length":128,"packet_hex":"160301007b0100007703035e3a888eae50e68afb88657f71f9f8784c6d55b7e5..."} 
[2026-07-27 01:03:37] local.INFO: Processing buffer {"connection_id":144835,"buffer_length":128,"buffer_hex":"160301007b0100007703035e3a888eae50e68afb88657f71f9f8784c6d55b7e5..."} 
[2026-07-27 01:03:37] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":144835,"buffer_length":128,"first_bytes_hex":"160301007b0100007703035e3a888eae"} 
[2026-07-27 01:03:37] local.INFO: TCP Data received {"connection_id":144835,"ip":"172.236.228.38","data_length":7,"data_hex":"15030100020216..."} 
[2026-07-27 01:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144835,"packet_length":7,"packet_hex":"15030100020216..."} 
[2026-07-27 01:03:37] local.INFO: Processing buffer {"connection_id":144835,"buffer_length":7,"buffer_hex":"15030100020216..."} 
[2026-07-27 01:03:39] local.INFO: TCP Data received {"connection_id":144833,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:03:39] local.INFO: Processing buffer {"connection_id":144833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:03:39] local.INFO: IMEI packet received {"connection_id":144833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 01:03:39] local.INFO: IMEI acknowledgment sent {"connection_id":144833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 01:03:39] local.INFO: TCP Data received {"connection_id":144833,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fe89258012d7f980005afd7c00011000628..."} 
[2026-07-27 01:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fe89258012d7f980005afd7c00011000628..."} 
[2026-07-27 01:03:39] local.INFO: Processing buffer {"connection_id":144833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fe89258012d7f980005afd7c00011000628..."} 
[2026-07-27 01:03:39] local.INFO: Packet analysis {"connection_id":144833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fe8"} 
[2026-07-27 01:03:39] local.INFO: Extracted packet for processing {"connection_id":144833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fe8"} 
[2026-07-27 01:03:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 01:03:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 01:03:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984050176001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:03:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:03:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:03:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:03:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785094247000,"timestamp_ms":1785094247000,"timestamp_seconds":1785094247,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fe89258"} 
[2026-07-27 01:03:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 01:03:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 01:03:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-27 01:03:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 01:03:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 01:03:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 01:03:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:03:39] local.INFO: Teltonika packet parsed successfully {"connection_id":144833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:03:39] local.INFO: Passing IMEI to GPS processor {"connection_id":144833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:03:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":144833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:03:39] 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-07-27 01:03:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:03:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:03:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984050176001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:03:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:03:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:03:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984050176001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:03:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:03:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:03:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:03:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:03:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984050176001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:03:39] local.INFO: DEBUG: GPS processor result {"connection_id":144833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:03:39] local.INFO: GPS data processed {"connection_id":144833,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:03:39] local.INFO: Acknowledgment sent {"connection_id":144833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:03:45] local.INFO: TCP Data received {"connection_id":143491,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 01:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143491,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 01:03:45] local.INFO: Processing buffer {"connection_id":143491,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 01:03:45] local.INFO: IMEI packet received {"connection_id":143491,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 01:03:45] local.INFO: IMEI acknowledgment sent {"connection_id":143491,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 01:04:11] local.INFO: TCP Data received {"connection_id":144833,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fe89258012d7f980005afd7c00011000628..."} 
[2026-07-27 01:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fe89258012d7f980005afd7c00011000628..."} 
[2026-07-27 01:04:11] local.INFO: Processing buffer {"connection_id":144833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fe89258012d7f980005afd7c00011000628..."} 
[2026-07-27 01:04:11] local.INFO: Packet analysis {"connection_id":144833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fe8"} 
[2026-07-27 01:04:11] local.INFO: Extracted packet for processing {"connection_id":144833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fe8"} 
[2026-07-27 01:04:11] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 01:04:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984050176001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:04:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:04:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:04:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:04:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785094247000,"timestamp_ms":1785094247000,"timestamp_seconds":1785094247,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fe89258"} 
[2026-07-27 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-07-27 01:04:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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-07-27 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-07-27 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-07-27 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-07-27 01:04:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:04:11] local.INFO: Teltonika packet parsed successfully {"connection_id":144833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:04:11] local.INFO: Passing IMEI to GPS processor {"connection_id":144833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:04:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":144833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:04: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-07-27 01:04:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:04:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:04:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984050176001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:04:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:04:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:04:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984050176001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:04:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:04:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:04:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:04:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:04:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984050176001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:04:11] local.INFO: DEBUG: GPS processor result {"connection_id":144833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:04:11] local.INFO: GPS data processed {"connection_id":144833,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:04:11] local.INFO: Acknowledgment sent {"connection_id":144833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:04:33] local.INFO: TCP Data received {"connection_id":144836,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:04:33] local.INFO: Processing buffer {"connection_id":144836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:04:33] local.INFO: IMEI packet received {"connection_id":144836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 01:04:33] local.INFO: IMEI acknowledgment sent {"connection_id":144836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 01:04:39] local.INFO: TCP Data received {"connection_id":144836,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:04:39] local.INFO: Processing buffer {"connection_id":144836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:04:39] local.INFO: IMEI packet received {"connection_id":144836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 01:04:39] local.INFO: IMEI acknowledgment sent {"connection_id":144836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 01:04:39] local.INFO: TCP Data received {"connection_id":144836,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fe89258012d7f980005afd7c00011000628..."} 
[2026-07-27 01:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fe89258012d7f980005afd7c00011000628..."} 
[2026-07-27 01:04:40] local.INFO: Processing buffer {"connection_id":144836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fe89258012d7f980005afd7c00011000628..."} 
[2026-07-27 01:04:40] local.INFO: Packet analysis {"connection_id":144836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fe8"} 
[2026-07-27 01:04:40] local.INFO: Extracted packet for processing {"connection_id":144836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fe8"} 
[2026-07-27 01:04:40] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 01: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-07-27 01:04:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984050176001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:04:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:04:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:04:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:04:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785094247000,"timestamp_ms":1785094247000,"timestamp_seconds":1785094247,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fe89258"} 
[2026-07-27 01:04:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 01:04:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 01: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-07-27 01: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-07-27 01: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-07-27 01:04:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 01:04:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:04:40] local.INFO: Teltonika packet parsed successfully {"connection_id":144836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:04:40] local.INFO: Passing IMEI to GPS processor {"connection_id":144836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:04:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":144836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:04: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-07-27 01:04:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:04:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:04:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984050176001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:04:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:04:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:04:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984050176001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:04:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:04:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:04:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:04:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:04:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984050176001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:04:40] local.INFO: DEBUG: GPS processor result {"connection_id":144836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:04:40] local.INFO: GPS data processed {"connection_id":144836,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:04:40] local.INFO: Acknowledgment sent {"connection_id":144836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:05:11] local.INFO: TCP Data received {"connection_id":144836,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fe89258012d7f980005afd7c00011000628..."} 
[2026-07-27 01:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fe89258012d7f980005afd7c00011000628..."} 
[2026-07-27 01:05:11] local.INFO: Processing buffer {"connection_id":144836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fe89258012d7f980005afd7c00011000628..."} 
[2026-07-27 01:05:11] local.INFO: Packet analysis {"connection_id":144836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fe8"} 
[2026-07-27 01:05:11] local.INFO: Extracted packet for processing {"connection_id":144836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fe8"} 
[2026-07-27 01:05:11] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 01:05:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 01:05:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984050176001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:05:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:05:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:05:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:05:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785094247000,"timestamp_ms":1785094247000,"timestamp_seconds":1785094247,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fe89258"} 
[2026-07-27 01:05:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 01:05:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 01:05:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-27 01: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-07-27 01:05:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 01:05:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 01:05:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:05:11] local.INFO: Teltonika packet parsed successfully {"connection_id":144836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:05:11] local.INFO: Passing IMEI to GPS processor {"connection_id":144836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:05:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":144836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:05: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-07-27 01:05:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:05:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:05:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984050176001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:05:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:05:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:05:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984050176001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:05:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:05:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:05:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:05:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:05:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984050176001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:05:11] local.INFO: DEBUG: GPS processor result {"connection_id":144836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:05:11] local.INFO: GPS data processed {"connection_id":144836,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:05:11] local.INFO: Acknowledgment sent {"connection_id":144836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:05:39] local.INFO: TCP Data received {"connection_id":143492,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:05:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:05:39] local.INFO: Processing buffer {"connection_id":143492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:05:39] local.INFO: IMEI packet received {"connection_id":143492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 01:05:39] local.INFO: IMEI acknowledgment sent {"connection_id":143492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 01:05:44] local.INFO: TCP Data received {"connection_id":143492,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:05:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:05:44] local.INFO: Processing buffer {"connection_id":143492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:05:44] local.INFO: IMEI packet received {"connection_id":143492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 01:05:44] local.INFO: IMEI acknowledgment sent {"connection_id":143492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 01:05:44] local.INFO: TCP Data received {"connection_id":143492,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fe89258012d7f980005afd7c00011000628..."} 
[2026-07-27 01:05:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fe89258012d7f980005afd7c00011000628..."} 
[2026-07-27 01:05:44] local.INFO: Processing buffer {"connection_id":143492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fe89258012d7f980005afd7c00011000628..."} 
[2026-07-27 01:05:44] local.INFO: Packet analysis {"connection_id":143492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fe8"} 
[2026-07-27 01:05:44] local.INFO: Extracted packet for processing {"connection_id":143492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fe8"} 
[2026-07-27 01:05:44] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 01:05:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 01:05:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984050176001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:05:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:05:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:05:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:05:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785094247000,"timestamp_ms":1785094247000,"timestamp_seconds":1785094247,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fe89258"} 
[2026-07-27 01:05:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 01:05:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 01:05:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-27 01:05: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-07-27 01:05:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 01:05:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 01:05:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:05:44] local.INFO: Teltonika packet parsed successfully {"connection_id":143492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:05:44] local.INFO: Passing IMEI to GPS processor {"connection_id":143492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:05:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":143492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:05:44] 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-07-27 01:05:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:05:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:05:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984050176001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:05:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:05:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:05:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984050176001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:05:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:05:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:05:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:05:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:05:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984050176001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:05:44] local.INFO: DEBUG: GPS processor result {"connection_id":143492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:05:44] local.INFO: GPS data processed {"connection_id":143492,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:05:44] local.INFO: Acknowledgment sent {"connection_id":143492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:05:50] local.INFO: TCP Data received {"connection_id":143492,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fe89258012d7f980005afd7c00011000628..."} 
[2026-07-27 01:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fe89258012d7f980005afd7c00011000628..."} 
[2026-07-27 01:05:50] local.INFO: Processing buffer {"connection_id":143492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fe89258012d7f980005afd7c00011000628..."} 
[2026-07-27 01:05:50] local.INFO: Packet analysis {"connection_id":143492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fe8"} 
[2026-07-27 01:05:50] local.INFO: Extracted packet for processing {"connection_id":143492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fe8"} 
[2026-07-27 01:05:50] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 01: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-07-27 01:05:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984050176001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:05:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:05:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:05:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:05:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785094247000,"timestamp_ms":1785094247000,"timestamp_seconds":1785094247,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fe89258"} 
[2026-07-27 01:05:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 01:05:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 01: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-27 01:05:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 01: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-07-27 01:05:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 01:05:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:05:50] local.INFO: Teltonika packet parsed successfully {"connection_id":143492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:05:50] local.INFO: Passing IMEI to GPS processor {"connection_id":143492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:05:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":143492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:05:50] 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-07-27 01:05:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:05:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:05:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984050176001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:05:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:05:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:05:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984050176001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:05:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:05:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:05:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:05:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:05:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984050176001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:05:50] local.INFO: DEBUG: GPS processor result {"connection_id":143492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:05:50] local.INFO: GPS data processed {"connection_id":143492,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:05:50] local.INFO: Acknowledgment sent {"connection_id":143492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:06:18] local.INFO: TCP Data received {"connection_id":142525,"ip":"69.164.217.74","data_length":109,"data_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-07-27 01:06:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142525,"packet_length":109,"packet_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-07-27 01:06:18] local.INFO: Processing buffer {"connection_id":142525,"buffer_length":109,"buffer_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-07-27 01:06:18] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":142525,"buffer_length":109,"first_bytes_hex":"474554202f20485454502f312e310d0a"} 
[2026-07-27 01:06:34] local.INFO: TCP Data received {"connection_id":144837,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:06:34] local.INFO: Processing buffer {"connection_id":144837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:06:34] local.INFO: IMEI packet received {"connection_id":144837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 01:06:34] local.INFO: IMEI acknowledgment sent {"connection_id":144837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 01:06:39] local.INFO: TCP Data received {"connection_id":144837,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:06:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:06:39] local.INFO: Processing buffer {"connection_id":144837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:06:39] local.INFO: IMEI packet received {"connection_id":144837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 01:06:39] local.INFO: IMEI acknowledgment sent {"connection_id":144837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 01:06:39] local.INFO: TCP Data received {"connection_id":144837,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fed2638012d7f980005afd7c00002000628..."} 
[2026-07-27 01:06:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144837,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fed2638012d7f980005afd7c00002000628..."} 
[2026-07-27 01:06:39] local.INFO: Processing buffer {"connection_id":144837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fed2638012d7f980005afd7c00002000628..."} 
[2026-07-27 01:06:39] local.INFO: Packet analysis {"connection_id":144837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fed"} 
[2026-07-27 01:06:39] local.INFO: Extracted packet for processing {"connection_id":144837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fed"} 
[2026-07-27 01:06:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 01:06:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 01:06:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984127232001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:06:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:06:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:06:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:06:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785094547000,"timestamp_ms":1785094547000,"timestamp_seconds":1785094547,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fed2638"} 
[2026-07-27 01:06:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 01:06:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 01: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":86,"data_length":795,"current_offset":136} 
[2026-07-27 01:06:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 01:06:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 01:06:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 01:06:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:06:39] local.INFO: Teltonika packet parsed successfully {"connection_id":144837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:06:39] local.INFO: Passing IMEI to GPS processor {"connection_id":144837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:06:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":144837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:06:39] 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-07-27 01:06:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:06:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:06:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984127232001,"66":25441,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:06:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:06:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:06:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984127232001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:06:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:06:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:06:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:06:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:06:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984127232001,"power":25441,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:06:39] local.INFO: DEBUG: GPS processor result {"connection_id":144837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:06:39] local.INFO: GPS data processed {"connection_id":144837,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:06:39] local.INFO: Acknowledgment sent {"connection_id":144837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:07:10] local.INFO: TCP Data received {"connection_id":144837,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fed2638012d7f980005afd7c00002000628..."} 
[2026-07-27 01:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144837,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fed2638012d7f980005afd7c00002000628..."} 
[2026-07-27 01:07:10] local.INFO: Processing buffer {"connection_id":144837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fed2638012d7f980005afd7c00002000628..."} 
[2026-07-27 01:07:10] local.INFO: Packet analysis {"connection_id":144837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fed"} 
[2026-07-27 01:07:10] local.INFO: Extracted packet for processing {"connection_id":144837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fed"} 
[2026-07-27 01:07:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 01:07:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 01:07:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984127232001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:07:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:07:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:07:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:07:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785094547000,"timestamp_ms":1785094547000,"timestamp_seconds":1785094547,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fed2638"} 
[2026-07-27 01:07:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 01:07:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 01: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":86,"data_length":795,"current_offset":136} 
[2026-07-27 01:07:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 01:07:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 01:07:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 01:07:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:07:10] local.INFO: Teltonika packet parsed successfully {"connection_id":144837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:07:10] local.INFO: Passing IMEI to GPS processor {"connection_id":144837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:07:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":144837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:07: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-07-27 01:07:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:07:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:07:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984127232001,"66":25441,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:07:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:07:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:07:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984127232001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:07:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:07:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:07:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:07:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:07:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984127232001,"power":25441,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:07:10] local.INFO: DEBUG: GPS processor result {"connection_id":144837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:07:10] local.INFO: GPS data processed {"connection_id":144837,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:07:10] local.INFO: Acknowledgment sent {"connection_id":144837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:07:39] local.INFO: TCP Data received {"connection_id":142455,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:07:39] local.INFO: Processing buffer {"connection_id":142455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:07:39] local.INFO: IMEI packet received {"connection_id":142455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 01:07:39] local.INFO: IMEI acknowledgment sent {"connection_id":142455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 01:07:44] local.INFO: TCP Data received {"connection_id":142455,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:07:44] local.INFO: Processing buffer {"connection_id":142455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:07:44] local.INFO: IMEI packet received {"connection_id":142455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 01:07:44] local.INFO: IMEI acknowledgment sent {"connection_id":142455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 01:07:44] local.INFO: TCP Data received {"connection_id":142455,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fed2638012d7f980005afd7c00002000628..."} 
[2026-07-27 01:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fed2638012d7f980005afd7c00002000628..."} 
[2026-07-27 01:07:44] local.INFO: Processing buffer {"connection_id":142455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fed2638012d7f980005afd7c00002000628..."} 
[2026-07-27 01:07:44] local.INFO: Packet analysis {"connection_id":142455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fed"} 
[2026-07-27 01:07:44] local.INFO: Extracted packet for processing {"connection_id":142455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fed"} 
[2026-07-27 01:07:44] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 01:07:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 01:07:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984127232001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:07:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:07:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:07:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:07:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785094547000,"timestamp_ms":1785094547000,"timestamp_seconds":1785094547,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fed2638"} 
[2026-07-27 01:07:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 01:07:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 01: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-07-27 01: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-07-27 01:07:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 01:07:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 01:07:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:07:44] local.INFO: Teltonika packet parsed successfully {"connection_id":142455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:07:44] local.INFO: Passing IMEI to GPS processor {"connection_id":142455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:07:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":142455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:07:44] 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-07-27 01:07:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:07:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:07:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984127232001,"66":25441,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:07:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:07:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:07:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984127232001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:07:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:07:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:07:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:07:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:07:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984127232001,"power":25441,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:07:44] local.INFO: DEBUG: GPS processor result {"connection_id":142455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:07:44] local.INFO: GPS data processed {"connection_id":142455,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:07:44] local.INFO: Acknowledgment sent {"connection_id":142455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:07:49] local.INFO: TCP Data received {"connection_id":142455,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fed2638012d7f980005afd7c00002000628..."} 
[2026-07-27 01:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fed2638012d7f980005afd7c00002000628..."} 
[2026-07-27 01:07:49] local.INFO: Processing buffer {"connection_id":142455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fed2638012d7f980005afd7c00002000628..."} 
[2026-07-27 01:07:49] local.INFO: Packet analysis {"connection_id":142455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fed"} 
[2026-07-27 01:07:49] local.INFO: Extracted packet for processing {"connection_id":142455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fed"} 
[2026-07-27 01:07:49] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 01: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-07-27 01:07:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984127232001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:07:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:07:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:07:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:07:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785094547000,"timestamp_ms":1785094547000,"timestamp_seconds":1785094547,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fed2638"} 
[2026-07-27 01:07:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 01:07:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 01: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-27 01:07:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 01: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-07-27 01:07:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 01:07:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:07:49] local.INFO: Teltonika packet parsed successfully {"connection_id":142455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:07:49] local.INFO: Passing IMEI to GPS processor {"connection_id":142455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:07:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":142455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:07:49] 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-07-27 01:07:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:07:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:07:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984127232001,"66":25441,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:07:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:07:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:07:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984127232001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:07:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:07:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:07:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:07:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:07:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984127232001,"power":25441,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:07:49] local.INFO: DEBUG: GPS processor result {"connection_id":142455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:07:49] local.INFO: GPS data processed {"connection_id":142455,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:07:49] local.INFO: Acknowledgment sent {"connection_id":142455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:08:34] local.INFO: TCP Data received {"connection_id":143493,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:08:34] local.INFO: Processing buffer {"connection_id":143493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:08:34] local.INFO: IMEI packet received {"connection_id":143493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 01:08:34] local.INFO: IMEI acknowledgment sent {"connection_id":143493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 01:08:38] local.INFO: TCP Data received {"connection_id":143493,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:08:38] local.INFO: Processing buffer {"connection_id":143493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:08:38] local.INFO: IMEI packet received {"connection_id":143493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 01:08:38] local.INFO: IMEI acknowledgment sent {"connection_id":143493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 01:08:39] local.INFO: TCP Data received {"connection_id":143493,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fed2638012d7f980005afd7c00002000628..."} 
[2026-07-27 01:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fed2638012d7f980005afd7c00002000628..."} 
[2026-07-27 01:08:39] local.INFO: Processing buffer {"connection_id":143493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fed2638012d7f980005afd7c00002000628..."} 
[2026-07-27 01:08:39] local.INFO: Packet analysis {"connection_id":143493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fed"} 
[2026-07-27 01:08:39] local.INFO: Extracted packet for processing {"connection_id":143493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fed"} 
[2026-07-27 01:08:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 01:08:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 01:08:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984127232001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:08:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:08:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:08:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:08:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785094547000,"timestamp_ms":1785094547000,"timestamp_seconds":1785094547,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fed2638"} 
[2026-07-27 01:08:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 01:08:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 01:08:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-27 01: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-07-27 01:08:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 01:08:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 01:08:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:08:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:08:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:08:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:08:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 01:08:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:08:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:08:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984127232001,"66":25441,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:08:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:08:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:08:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984127232001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:08:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:08:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:08:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:08:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:08:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984127232001,"power":25441,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:08:39] local.INFO: DEBUG: GPS processor result {"connection_id":143493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:08:39] local.INFO: GPS data processed {"connection_id":143493,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:08:39] local.INFO: Acknowledgment sent {"connection_id":143493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:08:44] local.INFO: TCP Data received {"connection_id":143493,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fed2638012d7f980005afd7c00002000628..."} 
[2026-07-27 01:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fed2638012d7f980005afd7c00002000628..."} 
[2026-07-27 01:08:44] local.INFO: Processing buffer {"connection_id":143493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fed2638012d7f980005afd7c00002000628..."} 
[2026-07-27 01:08:44] local.INFO: Packet analysis {"connection_id":143493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fed"} 
[2026-07-27 01:08:44] local.INFO: Extracted packet for processing {"connection_id":143493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fed"} 
[2026-07-27 01:08:44] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 01:08:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 01:08:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984127232001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:08:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:08:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:08:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:08:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785094547000,"timestamp_ms":1785094547000,"timestamp_seconds":1785094547,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fed2638"} 
[2026-07-27 01:08:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 01:08:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 01:08:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-27 01:08: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-07-27 01:08:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 01:08:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 01:08:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:08:44] local.INFO: Teltonika packet parsed successfully {"connection_id":143493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:08:44] local.INFO: Passing IMEI to GPS processor {"connection_id":143493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:08:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":143493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:08: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-07-27 01:08:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:08:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:08:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984127232001,"66":25441,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:08:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:08:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:08:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984127232001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:08:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:08:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:08:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:08:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:08:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984127232001,"power":25441,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:08:44] local.INFO: DEBUG: GPS processor result {"connection_id":143493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:08:44] local.INFO: GPS data processed {"connection_id":143493,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:08:44] local.INFO: Acknowledgment sent {"connection_id":143493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:09:11] local.INFO: TCP Data received {"connection_id":144838,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 01:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144838,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 01:09:11] local.INFO: Processing buffer {"connection_id":144838,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 01:09:11] local.INFO: IMEI packet received {"connection_id":144838,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 01:09:11] local.INFO: IMEI acknowledgment sent {"connection_id":144838,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 01:09:16] local.INFO: TCP Data received {"connection_id":143493,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fed2638012d7f980005afd7c00002000628..."} 
[2026-07-27 01:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fed2638012d7f980005afd7c00002000628..."} 
[2026-07-27 01:09:16] local.INFO: Processing buffer {"connection_id":143493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fed2638012d7f980005afd7c00002000628..."} 
[2026-07-27 01:09:16] local.INFO: Packet analysis {"connection_id":143493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fed"} 
[2026-07-27 01:09:16] local.INFO: Extracted packet for processing {"connection_id":143493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fed"} 
[2026-07-27 01:09:16] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 01: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-07-27 01:09:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984127232001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:09:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:09:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:09:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:09:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785094547000,"timestamp_ms":1785094547000,"timestamp_seconds":1785094547,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fed2638"} 
[2026-07-27 01:09:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 01:09:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 01:09:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-27 01:09: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-07-27 01:09:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 01:09:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 01:09:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:09:16] local.INFO: Teltonika packet parsed successfully {"connection_id":143493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:09:16] local.INFO: Passing IMEI to GPS processor {"connection_id":143493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:09:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":143493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:09: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-07-27 01:09:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:09:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:09:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984127232001,"66":25441,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:09:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:09:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:09:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984127232001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:09:16] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:09:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:09:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:09:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:09:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984127232001,"power":25441,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:09:16] local.INFO: DEBUG: GPS processor result {"connection_id":143493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:09:16] local.INFO: GPS data processed {"connection_id":143493,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:09:16] local.INFO: Acknowledgment sent {"connection_id":143493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:09:34] local.INFO: TCP Data received {"connection_id":142527,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:09:34] local.INFO: Processing buffer {"connection_id":142527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:09:34] local.INFO: IMEI packet received {"connection_id":142527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 01:09:34] local.INFO: IMEI acknowledgment sent {"connection_id":142527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 01:09:39] local.INFO: TCP Data received {"connection_id":142527,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:09:39] local.INFO: Processing buffer {"connection_id":142527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:09:39] local.INFO: IMEI packet received {"connection_id":142527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 01:09:39] local.INFO: IMEI acknowledgment sent {"connection_id":142527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 01:09:39] local.INFO: TCP Data received {"connection_id":142527,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fed2638012d7f980005afd7c00002000628..."} 
[2026-07-27 01:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fed2638012d7f980005afd7c00002000628..."} 
[2026-07-27 01:09:39] local.INFO: Processing buffer {"connection_id":142527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fed2638012d7f980005afd7c00002000628..."} 
[2026-07-27 01:09:39] local.INFO: Packet analysis {"connection_id":142527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fed"} 
[2026-07-27 01:09:39] local.INFO: Extracted packet for processing {"connection_id":142527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fed"} 
[2026-07-27 01:09:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 01:09:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 01:09:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984127232001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:09:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:09:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:09:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:09:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785094547000,"timestamp_ms":1785094547000,"timestamp_seconds":1785094547,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fed2638"} 
[2026-07-27 01:09:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 01:09:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 01:09:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-27 01:09:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 01:09:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 01:09:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 01:09:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:09:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:09:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:09:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:09:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 01:09:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:09:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:09:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984127232001,"66":25441,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:09:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:09:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:09:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984127232001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:09:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:09:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:09:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:09:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:09:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984127232001,"power":25441,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:09:39] local.INFO: DEBUG: GPS processor result {"connection_id":142527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:09:39] local.INFO: GPS data processed {"connection_id":142527,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:09:39] local.INFO: Acknowledgment sent {"connection_id":142527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:09:45] local.INFO: TCP Data received {"connection_id":143494,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 01:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143494,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 01:09:45] local.INFO: Processing buffer {"connection_id":143494,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 01:09:45] local.INFO: IMEI packet received {"connection_id":143494,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 01:09:45] local.INFO: IMEI acknowledgment sent {"connection_id":143494,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 01:10:10] local.INFO: TCP Data received {"connection_id":142527,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fed2638012d7f980005afd7c00002000628..."} 
[2026-07-27 01:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fed2638012d7f980005afd7c00002000628..."} 
[2026-07-27 01:10:10] local.INFO: Processing buffer {"connection_id":142527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fed2638012d7f980005afd7c00002000628..."} 
[2026-07-27 01:10:10] local.INFO: Packet analysis {"connection_id":142527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fed"} 
[2026-07-27 01:10:10] local.INFO: Extracted packet for processing {"connection_id":142527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fed"} 
[2026-07-27 01:10:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 01:10:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984127232001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:10:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:10:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:10:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:10:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785094547000,"timestamp_ms":1785094547000,"timestamp_seconds":1785094547,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fed2638"} 
[2026-07-27 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-07-27 01:10:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":86,"data_length":795,"current_offset":136} 
[2026-07-27 01:10:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 01:10:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:10:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:10:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:10:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:10: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-07-27 01:10:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:10:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:10:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984127232001,"66":25441,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:10:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:10:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:10:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984127232001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:10:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:10:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:10:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:10:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:10:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984127232001,"power":25441,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:10:10] local.INFO: DEBUG: GPS processor result {"connection_id":142527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:10:10] local.INFO: GPS data processed {"connection_id":142527,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:10:10] local.INFO: Acknowledgment sent {"connection_id":142527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:10:33] local.INFO: TCP Data received {"connection_id":142456,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:10:33] local.INFO: Processing buffer {"connection_id":142456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:10:33] local.INFO: IMEI packet received {"connection_id":142456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 01:10:33] local.INFO: IMEI acknowledgment sent {"connection_id":142456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 01:10:39] local.INFO: TCP Data received {"connection_id":142456,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:10:39] local.INFO: Processing buffer {"connection_id":142456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:10:39] local.INFO: IMEI packet received {"connection_id":142456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 01:10:39] local.INFO: IMEI acknowledgment sent {"connection_id":142456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 01:10:39] local.INFO: TCP Data received {"connection_id":142456,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fed2638012d7f980005afd7c00002000628..."} 
[2026-07-27 01:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fed2638012d7f980005afd7c00002000628..."} 
[2026-07-27 01:10:39] local.INFO: Processing buffer {"connection_id":142456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fed2638012d7f980005afd7c00002000628..."} 
[2026-07-27 01:10:39] local.INFO: Packet analysis {"connection_id":142456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fed"} 
[2026-07-27 01:10:39] local.INFO: Extracted packet for processing {"connection_id":142456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fed"} 
[2026-07-27 01:10:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 01:10:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 01:10:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984127232001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:10:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:10:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:10:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:10:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785094547000,"timestamp_ms":1785094547000,"timestamp_seconds":1785094547,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fed2638"} 
[2026-07-27 01:10:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 01:10:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 01:10:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-27 01:10:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 01:10:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 01:10:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 01:10:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:10:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:10:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:10:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:10:39] 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-07-27 01:10:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:10:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:10:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984127232001,"66":25441,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:10:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:10:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:10:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984127232001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:10:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:10:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:10:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:10:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:10:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984127232001,"power":25441,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:10:39] local.INFO: DEBUG: GPS processor result {"connection_id":142456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:10:39] local.INFO: GPS data processed {"connection_id":142456,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:10:39] local.INFO: Acknowledgment sent {"connection_id":142456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:11:10] local.INFO: TCP Data received {"connection_id":142456,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fed2638012d7f980005afd7c00002000628..."} 
[2026-07-27 01:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fed2638012d7f980005afd7c00002000628..."} 
[2026-07-27 01:11:10] local.INFO: Processing buffer {"connection_id":142456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fed2638012d7f980005afd7c00002000628..."} 
[2026-07-27 01:11:10] local.INFO: Packet analysis {"connection_id":142456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fed"} 
[2026-07-27 01:11:10] local.INFO: Extracted packet for processing {"connection_id":142456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fed"} 
[2026-07-27 01:11:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 01:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 01:11:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984127232001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:11:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:11:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:11:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:11:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785094547000,"timestamp_ms":1785094547000,"timestamp_seconds":1785094547,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fed2638"} 
[2026-07-27 01:11:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 01:11:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 01: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-07-27 01: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-07-27 01:11:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 01:11:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 01:11:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:11:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:11:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:11:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:11: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-07-27 01:11:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:11:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:11:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984127232001,"66":25441,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:11:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:11:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:11:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984127232001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:11:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:11:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:11:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:11:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:11:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984127232001,"power":25441,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:11:10] local.INFO: DEBUG: GPS processor result {"connection_id":142456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:11:10] local.INFO: GPS data processed {"connection_id":142456,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:11:10] local.INFO: Acknowledgment sent {"connection_id":142456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:11:33] local.INFO: TCP Data received {"connection_id":143495,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:11:33] local.INFO: Processing buffer {"connection_id":143495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:11:33] local.INFO: IMEI packet received {"connection_id":143495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 01:11:33] local.INFO: IMEI acknowledgment sent {"connection_id":143495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 01:11:39] local.INFO: TCP Data received {"connection_id":143495,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:11:39] local.INFO: Processing buffer {"connection_id":143495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:11:39] local.INFO: IMEI packet received {"connection_id":143495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 01:11:39] local.INFO: IMEI acknowledgment sent {"connection_id":143495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 01:11:39] local.INFO: TCP Data received {"connection_id":143495,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f9ff1be00012d7f980005afd7c0000100062c..."} 
[2026-07-27 01:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9ff1be00012d7f980005afd7c0000100062c..."} 
[2026-07-27 01:11:39] local.INFO: Processing buffer {"connection_id":143495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9ff1be00012d7f980005afd7c0000100062c..."} 
[2026-07-27 01:11:39] local.INFO: Packet analysis {"connection_id":143495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9ff1"} 
[2026-07-27 01:11:39] local.INFO: Extracted packet for processing {"connection_id":143495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9ff1"} 
[2026-07-27 01:11:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":1,"angle":6,"satellites":44,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 01:11:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 01:11:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984204032001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:11:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:11:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:11:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:11:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785094848000,"timestamp_ms":1785094848000,"timestamp_seconds":1785094848,"priority":1,"record_length":96,"hex_timestamp":"0000019f9ff1be00"} 
[2026-07-27 01:11:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 01:11:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 01: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-07-27 01: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-07-27 01:11:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 01:11:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 01:11:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:11:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:11:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:11:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:11:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 01:11:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:11:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:11:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984204032001,"66":25441,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:11:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:11:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:11:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984204032001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:11:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:11:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:11:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:11:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:11:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984204032001,"power":25441,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:11:39] local.INFO: DEBUG: GPS processor result {"connection_id":143495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:11:39] local.INFO: GPS data processed {"connection_id":143495,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:11:39] local.INFO: Acknowledgment sent {"connection_id":143495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:12:10] local.INFO: TCP Data received {"connection_id":143495,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f9ff1be00012d7f980005afd7c0000100062c..."} 
[2026-07-27 01:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9ff1be00012d7f980005afd7c0000100062c..."} 
[2026-07-27 01:12:10] local.INFO: Processing buffer {"connection_id":143495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9ff1be00012d7f980005afd7c0000100062c..."} 
[2026-07-27 01:12:10] local.INFO: Packet analysis {"connection_id":143495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9ff1"} 
[2026-07-27 01:12:10] local.INFO: Extracted packet for processing {"connection_id":143495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9ff1"} 
[2026-07-27 01:12:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":1,"angle":6,"satellites":44,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 01:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 01:12:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984204032001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:12:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:12:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:12:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:12:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785094848000,"timestamp_ms":1785094848000,"timestamp_seconds":1785094848,"priority":1,"record_length":96,"hex_timestamp":"0000019f9ff1be00"} 
[2026-07-27 01:12:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 01:12:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 01: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":97,"data_length":795,"current_offset":136} 
[2026-07-27 01:12:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 01:12:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 01:12:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 01:12:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:12:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:12:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:12:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:12: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-07-27 01:12:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:12:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:12:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984204032001,"66":25441,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:12:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:12:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:12:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984204032001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:12:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:12:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:12:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:12:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:12:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984204032001,"power":25441,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:12:11] local.INFO: DEBUG: GPS processor result {"connection_id":143495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:12:11] local.INFO: GPS data processed {"connection_id":143495,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:12:11] local.INFO: Acknowledgment sent {"connection_id":143495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:12:39] local.INFO: TCP Data received {"connection_id":144840,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:12:39] local.INFO: Processing buffer {"connection_id":144840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:12:39] local.INFO: IMEI packet received {"connection_id":144840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 01:12:39] local.INFO: IMEI acknowledgment sent {"connection_id":144840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 01:12:44] local.INFO: TCP Data received {"connection_id":144840,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:12:44] local.INFO: Processing buffer {"connection_id":144840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:12:44] local.INFO: IMEI packet received {"connection_id":144840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 01:12:44] local.INFO: IMEI acknowledgment sent {"connection_id":144840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 01:12:44] local.INFO: TCP Data received {"connection_id":144840,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f9ff1be00012d7f980005afd7c0000100062c..."} 
[2026-07-27 01:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9ff1be00012d7f980005afd7c0000100062c..."} 
[2026-07-27 01:12:44] local.INFO: Processing buffer {"connection_id":144840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9ff1be00012d7f980005afd7c0000100062c..."} 
[2026-07-27 01:12:44] local.INFO: Packet analysis {"connection_id":144840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9ff1"} 
[2026-07-27 01:12:44] local.INFO: Extracted packet for processing {"connection_id":144840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9ff1"} 
[2026-07-27 01:12:44] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":1,"angle":6,"satellites":44,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 01: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-07-27 01:12:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984204032001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:12:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:12:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:12:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:12:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785094848000,"timestamp_ms":1785094848000,"timestamp_seconds":1785094848,"priority":1,"record_length":96,"hex_timestamp":"0000019f9ff1be00"} 
[2026-07-27 01:12:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 01:12:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 01: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-27 01:12:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 01: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-07-27 01:12:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 01:12:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:12:44] local.INFO: Teltonika packet parsed successfully {"connection_id":144840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:12:44] local.INFO: Passing IMEI to GPS processor {"connection_id":144840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:12:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":144840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:12:44] 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-07-27 01:12:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:12:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:12:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984204032001,"66":25441,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:12:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:12:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:12:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984204032001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:12:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:12:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:12:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:12:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:12:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984204032001,"power":25441,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:12:44] local.INFO: DEBUG: GPS processor result {"connection_id":144840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:12:44] local.INFO: GPS data processed {"connection_id":144840,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:12:44] local.INFO: Acknowledgment sent {"connection_id":144840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:12:49] local.INFO: TCP Data received {"connection_id":144840,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f9ff1be00012d7f980005afd7c0000100062c..."} 
[2026-07-27 01:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9ff1be00012d7f980005afd7c0000100062c..."} 
[2026-07-27 01:12:49] local.INFO: Processing buffer {"connection_id":144840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9ff1be00012d7f980005afd7c0000100062c..."} 
[2026-07-27 01:12:49] local.INFO: Packet analysis {"connection_id":144840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9ff1"} 
[2026-07-27 01:12:49] local.INFO: Extracted packet for processing {"connection_id":144840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9ff1"} 
[2026-07-27 01:12:49] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":1,"angle":6,"satellites":44,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 01: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-07-27 01:12:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984204032001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:12:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:12:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:12:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:12:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785094848000,"timestamp_ms":1785094848000,"timestamp_seconds":1785094848,"priority":1,"record_length":96,"hex_timestamp":"0000019f9ff1be00"} 
[2026-07-27 01:12:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 01:12:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 01: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-27 01:12: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-07-27 01: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-07-27 01:12:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 01:12:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:12:49] local.INFO: Teltonika packet parsed successfully {"connection_id":144840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:12:49] local.INFO: Passing IMEI to GPS processor {"connection_id":144840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:12:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":144840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:12:49] 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-07-27 01:12:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:12:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:12:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984204032001,"66":25441,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:12:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:12:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:12:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984204032001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:12:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:12:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:12:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:12:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:12:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984204032001,"power":25441,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:12:49] local.INFO: DEBUG: GPS processor result {"connection_id":144840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:12:49] local.INFO: GPS data processed {"connection_id":144840,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:12:49] local.INFO: Acknowledgment sent {"connection_id":144840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:13:34] local.INFO: TCP Data received {"connection_id":142458,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:13:34] local.INFO: Processing buffer {"connection_id":142458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:13:34] local.INFO: IMEI packet received {"connection_id":142458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 01:13:34] local.INFO: IMEI acknowledgment sent {"connection_id":142458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 01:13:39] local.INFO: TCP Data received {"connection_id":142458,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:13:39] local.INFO: Processing buffer {"connection_id":142458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:13:39] local.INFO: IMEI packet received {"connection_id":142458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 01:13:39] local.INFO: IMEI acknowledgment sent {"connection_id":142458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 01:13:39] local.INFO: TCP Data received {"connection_id":142458,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9ff1be00012d7f980005afd7c0000100062c..."} 
[2026-07-27 01:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9ff1be00012d7f980005afd7c0000100062c..."} 
[2026-07-27 01:13:39] local.INFO: Processing buffer {"connection_id":142458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9ff1be00012d7f980005afd7c0000100062c..."} 
[2026-07-27 01:13:39] local.INFO: Packet analysis {"connection_id":142458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9ff1"} 
[2026-07-27 01:13:39] local.INFO: Extracted packet for processing {"connection_id":142458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9ff1"} 
[2026-07-27 01:13:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":1,"angle":6,"satellites":44,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 01: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-07-27 01:13:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984204032001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:13:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:13:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:13:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:13:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785094848000,"timestamp_ms":1785094848000,"timestamp_seconds":1785094848,"priority":1,"record_length":96,"hex_timestamp":"0000019f9ff1be00"} 
[2026-07-27 01:13:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 01:13:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 01:13:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-27 01:13: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-07-27 01: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-07-27 01:13:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 01:13:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:13:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:13:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:13:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:13:39] 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-07-27 01:13:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:13:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:13:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984204032001,"66":25441,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:13:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:13:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:13:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984204032001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:13:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:13:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:13:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:13:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:13:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984204032001,"power":25441,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:13:39] local.INFO: DEBUG: GPS processor result {"connection_id":142458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:13:39] local.INFO: GPS data processed {"connection_id":142458,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:13:39] local.INFO: Acknowledgment sent {"connection_id":142458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:14:10] local.INFO: TCP Data received {"connection_id":142458,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9ff1be00012d7f980005afd7c0000100062c..."} 
[2026-07-27 01:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9ff1be00012d7f980005afd7c0000100062c..."} 
[2026-07-27 01:14:10] local.INFO: Processing buffer {"connection_id":142458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9ff1be00012d7f980005afd7c0000100062c..."} 
[2026-07-27 01:14:10] local.INFO: Packet analysis {"connection_id":142458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9ff1"} 
[2026-07-27 01:14:10] local.INFO: Extracted packet for processing {"connection_id":142458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9ff1"} 
[2026-07-27 01:14:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":1,"angle":6,"satellites":44,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 01:14:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984204032001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:14:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:14:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:14:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:14:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785094848000,"timestamp_ms":1785094848000,"timestamp_seconds":1785094848,"priority":1,"record_length":96,"hex_timestamp":"0000019f9ff1be00"} 
[2026-07-27 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-07-27 01:14:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":97,"data_length":795,"current_offset":136} 
[2026-07-27 01:14:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 01:14:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:14:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:14:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:14:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:14: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-07-27 01:14:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:14:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:14:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984204032001,"66":25441,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:14:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:14:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:14:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984204032001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:14:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:14:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:14:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:14:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:14:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984204032001,"power":25441,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:14:10] local.INFO: DEBUG: GPS processor result {"connection_id":142458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:14:10] local.INFO: GPS data processed {"connection_id":142458,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:14:10] local.INFO: Acknowledgment sent {"connection_id":142458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:14:33] local.INFO: TCP Data received {"connection_id":144841,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:14:33] local.INFO: Processing buffer {"connection_id":144841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:14:33] local.INFO: IMEI packet received {"connection_id":144841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 01:14:33] local.INFO: IMEI acknowledgment sent {"connection_id":144841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 01:14:39] local.INFO: TCP Data received {"connection_id":144841,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:14:39] local.INFO: Processing buffer {"connection_id":144841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:14:39] local.INFO: IMEI packet received {"connection_id":144841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 01:14:39] local.INFO: IMEI acknowledgment sent {"connection_id":144841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 01:14:40] local.INFO: TCP Data received {"connection_id":144841,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9ff1be00012d7f980005afd7c0000100062c..."} 
[2026-07-27 01:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9ff1be00012d7f980005afd7c0000100062c..."} 
[2026-07-27 01:14:40] local.INFO: Processing buffer {"connection_id":144841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9ff1be00012d7f980005afd7c0000100062c..."} 
[2026-07-27 01:14:40] local.INFO: Packet analysis {"connection_id":144841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9ff1"} 
[2026-07-27 01:14:40] local.INFO: Extracted packet for processing {"connection_id":144841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9ff1"} 
[2026-07-27 01:14:40] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":1,"angle":6,"satellites":44,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 01: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-07-27 01:14:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984204032001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:14:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:14:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:14:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:14:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785094848000,"timestamp_ms":1785094848000,"timestamp_seconds":1785094848,"priority":1,"record_length":96,"hex_timestamp":"0000019f9ff1be00"} 
[2026-07-27 01:14:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 01:14:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 01: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-07-27 01: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-07-27 01: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-07-27 01:14:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 01:14:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:14:40] local.INFO: Teltonika packet parsed successfully {"connection_id":144841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:14:40] local.INFO: Passing IMEI to GPS processor {"connection_id":144841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:14:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":144841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:14: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-07-27 01:14:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:14:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:14:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984204032001,"66":25441,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:14:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:14:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:14:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984204032001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:14:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:14:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:14:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:14:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:14:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984204032001,"power":25441,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:14:40] local.INFO: DEBUG: GPS processor result {"connection_id":144841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:14:40] local.INFO: GPS data processed {"connection_id":144841,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:14:40] local.INFO: Acknowledgment sent {"connection_id":144841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:15:11] local.INFO: TCP Data received {"connection_id":142528,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 01:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142528,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 01:15:11] local.INFO: Processing buffer {"connection_id":142528,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 01:15:11] local.INFO: IMEI packet received {"connection_id":142528,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 01:15:11] local.INFO: IMEI acknowledgment sent {"connection_id":142528,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 01:15:11] local.INFO: TCP Data received {"connection_id":144841,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9ff1be00012d7f980005afd7c0000100062c..."} 
[2026-07-27 01:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9ff1be00012d7f980005afd7c0000100062c..."} 
[2026-07-27 01:15:11] local.INFO: Processing buffer {"connection_id":144841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9ff1be00012d7f980005afd7c0000100062c..."} 
[2026-07-27 01:15:11] local.INFO: Packet analysis {"connection_id":144841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9ff1"} 
[2026-07-27 01:15:11] local.INFO: Extracted packet for processing {"connection_id":144841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9ff1"} 
[2026-07-27 01:15:11] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":1,"angle":6,"satellites":44,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 01:15:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984204032001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:15:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:15:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:15:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:15:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785094848000,"timestamp_ms":1785094848000,"timestamp_seconds":1785094848,"priority":1,"record_length":96,"hex_timestamp":"0000019f9ff1be00"} 
[2026-07-27 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-07-27 01:15:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":97,"data_length":795,"current_offset":136} 
[2026-07-27 01:15: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-07-27 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-07-27 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-07-27 01:15:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:15:11] local.INFO: Teltonika packet parsed successfully {"connection_id":144841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:15:11] local.INFO: Passing IMEI to GPS processor {"connection_id":144841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:15:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":144841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:15: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-07-27 01:15:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:15:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:15:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984204032001,"66":25441,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:15:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:15:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:15:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984204032001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:15:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:15:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:15:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:15:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:15:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984204032001,"power":25441,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:15:11] local.INFO: DEBUG: GPS processor result {"connection_id":144841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:15:11] local.INFO: GPS data processed {"connection_id":144841,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:15:11] local.INFO: Acknowledgment sent {"connection_id":144841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:15:39] local.INFO: TCP Data received {"connection_id":142529,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:15:39] local.INFO: Processing buffer {"connection_id":142529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:15:39] local.INFO: IMEI packet received {"connection_id":142529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 01:15:39] local.INFO: IMEI acknowledgment sent {"connection_id":142529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 01:15:44] local.INFO: TCP Data received {"connection_id":142529,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:15:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:15:44] local.INFO: Processing buffer {"connection_id":142529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:15:44] local.INFO: IMEI packet received {"connection_id":142529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 01:15:44] local.INFO: IMEI acknowledgment sent {"connection_id":142529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 01:15:45] local.INFO: TCP Data received {"connection_id":142529,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9ff1be00012d7f980005afd7c0000100062c..."} 
[2026-07-27 01:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9ff1be00012d7f980005afd7c0000100062c..."} 
[2026-07-27 01:15:45] local.INFO: Processing buffer {"connection_id":142529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9ff1be00012d7f980005afd7c0000100062c..."} 
[2026-07-27 01:15:45] local.INFO: Packet analysis {"connection_id":142529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9ff1"} 
[2026-07-27 01:15:45] local.INFO: Extracted packet for processing {"connection_id":142529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9ff1"} 
[2026-07-27 01:15:45] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":1,"angle":6,"satellites":44,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 01:15:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 01:15:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984204032001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:15:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:15:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:15:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:15:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785094848000,"timestamp_ms":1785094848000,"timestamp_seconds":1785094848,"priority":1,"record_length":96,"hex_timestamp":"0000019f9ff1be00"} 
[2026-07-27 01:15:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 01:15:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 01: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":97,"data_length":795,"current_offset":136} 
[2026-07-27 01:15: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-07-27 01:15:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 01:15:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 01:15:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:15:45] local.INFO: Teltonika packet parsed successfully {"connection_id":142529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:15:45] local.INFO: Passing IMEI to GPS processor {"connection_id":142529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:15:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":142529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:15:45] 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-07-27 01:15:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:15:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:15:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984204032001,"66":25441,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:15:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:15:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:15:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984204032001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:15:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:15:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:15:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:15:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:15:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984204032001,"power":25441,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:15:45] local.INFO: DEBUG: GPS processor result {"connection_id":142529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:15:45] local.INFO: GPS data processed {"connection_id":142529,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:15:45] local.INFO: Acknowledgment sent {"connection_id":142529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:15:51] local.INFO: TCP Data received {"connection_id":144842,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 01:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144842,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 01:15:51] local.INFO: Processing buffer {"connection_id":144842,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 01:15:51] local.INFO: IMEI packet received {"connection_id":144842,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 01:15:51] local.INFO: IMEI acknowledgment sent {"connection_id":144842,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 01:15:51] local.INFO: TCP Data received {"connection_id":142529,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9ff1be00012d7f980005afd7c0000100062c..."} 
[2026-07-27 01:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9ff1be00012d7f980005afd7c0000100062c..."} 
[2026-07-27 01:15:51] local.INFO: Processing buffer {"connection_id":142529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9ff1be00012d7f980005afd7c0000100062c..."} 
[2026-07-27 01:15:51] local.INFO: Packet analysis {"connection_id":142529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9ff1"} 
[2026-07-27 01:15:51] local.INFO: Extracted packet for processing {"connection_id":142529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9ff1"} 
[2026-07-27 01:15:51] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":1,"angle":6,"satellites":44,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 01: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-07-27 01:15:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984204032001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:15:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:15:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:15:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:15:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785094848000,"timestamp_ms":1785094848000,"timestamp_seconds":1785094848,"priority":1,"record_length":96,"hex_timestamp":"0000019f9ff1be00"} 
[2026-07-27 01:15:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 01:15:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 01: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-27 01:15:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 01: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-07-27 01:15:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 01:15:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:15:51] local.INFO: Teltonika packet parsed successfully {"connection_id":142529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:15:51] local.INFO: Passing IMEI to GPS processor {"connection_id":142529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:15:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":142529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:15:51] 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-07-27 01:15:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:15:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:15:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984204032001,"66":25441,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:15:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:15:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:15:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984204032001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:15:51] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:15:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:15:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:15:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:15:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984204032001,"power":25441,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:15:51] local.INFO: DEBUG: GPS processor result {"connection_id":142529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:15:51] local.INFO: GPS data processed {"connection_id":142529,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:15:51] local.INFO: Acknowledgment sent {"connection_id":142529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:16:34] local.INFO: TCP Data received {"connection_id":142459,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:16:34] local.INFO: Processing buffer {"connection_id":142459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:16:34] local.INFO: IMEI packet received {"connection_id":142459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 01:16:34] local.INFO: IMEI acknowledgment sent {"connection_id":142459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 01:16:39] local.INFO: TCP Data received {"connection_id":142459,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:16:39] local.INFO: Processing buffer {"connection_id":142459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:16:39] local.INFO: IMEI packet received {"connection_id":142459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 01:16:39] local.INFO: IMEI acknowledgment sent {"connection_id":142459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 01:16:39] local.INFO: TCP Data received {"connection_id":142459,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f9ff655c8012d7f980005afd7c0000100062b..."} 
[2026-07-27 01:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142459,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9ff655c8012d7f980005afd7c0000100062b..."} 
[2026-07-27 01:16:39] local.INFO: Processing buffer {"connection_id":142459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9ff655c8012d7f980005afd7c0000100062b..."} 
[2026-07-27 01:16:39] local.INFO: Packet analysis {"connection_id":142459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9ff6"} 
[2026-07-27 01:16:39] local.INFO: Extracted packet for processing {"connection_id":142459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9ff6"} 
[2026-07-27 01:16:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":1,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 01:16:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 01:16:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984281088001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:16:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:16:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:16:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:16:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785095149000,"timestamp_ms":1785095149000,"timestamp_seconds":1785095149,"priority":1,"record_length":96,"hex_timestamp":"0000019f9ff655c8"} 
[2026-07-27 01:16:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 01:16:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 01:16:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-27 01:16: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-07-27 01:16:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 01:16:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 01:16:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:16:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:16:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:16:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:16:39] 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-07-27 01:16:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:16:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:16:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984281088001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:16:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:16:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:16:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984281088001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:16:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:16:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:16:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:16:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:16:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984281088001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:16:39] local.INFO: DEBUG: GPS processor result {"connection_id":142459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:16:39] local.INFO: GPS data processed {"connection_id":142459,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:16:39] local.INFO: Acknowledgment sent {"connection_id":142459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:17:10] local.INFO: TCP Data received {"connection_id":142459,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f9ff655c8012d7f980005afd7c0000100062b..."} 
[2026-07-27 01:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142459,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9ff655c8012d7f980005afd7c0000100062b..."} 
[2026-07-27 01:17:10] local.INFO: Processing buffer {"connection_id":142459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9ff655c8012d7f980005afd7c0000100062b..."} 
[2026-07-27 01:17:10] local.INFO: Packet analysis {"connection_id":142459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9ff6"} 
[2026-07-27 01:17:10] local.INFO: Extracted packet for processing {"connection_id":142459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9ff6"} 
[2026-07-27 01:17:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":1,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 01:17:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 01:17:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984281088001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:17:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:17:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:17:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:17:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785095149000,"timestamp_ms":1785095149000,"timestamp_seconds":1785095149,"priority":1,"record_length":96,"hex_timestamp":"0000019f9ff655c8"} 
[2026-07-27 01:17:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 01:17:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 01: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-07-27 01: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-07-27 01:17:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 01:17:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 01:17:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:17:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:17:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:17:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:17: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-07-27 01:17:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:17:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:17:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984281088001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:17:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:17:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:17:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984281088001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:17:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:17:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:17:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:17:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:17:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984281088001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:17:11] local.INFO: DEBUG: GPS processor result {"connection_id":142459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:17:11] local.INFO: GPS data processed {"connection_id":142459,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:17:11] local.INFO: Acknowledgment sent {"connection_id":142459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:17:33] local.INFO: TCP Data received {"connection_id":143498,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:17:33] local.INFO: Processing buffer {"connection_id":143498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:17:33] local.INFO: IMEI packet received {"connection_id":143498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 01:17:33] local.INFO: IMEI acknowledgment sent {"connection_id":143498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 01:17:42] local.INFO: TCP Data received {"connection_id":143498,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:17:42] local.INFO: Processing buffer {"connection_id":143498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:17:42] local.INFO: IMEI packet received {"connection_id":143498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 01:17:42] local.INFO: IMEI acknowledgment sent {"connection_id":143498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 01:17:52] local.INFO: TCP Data received {"connection_id":143498,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f9ff655c8012d7f980005afd7c0000100062b..."} 
[2026-07-27 01:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9ff655c8012d7f980005afd7c0000100062b..."} 
[2026-07-27 01:17:52] local.INFO: Processing buffer {"connection_id":143498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9ff655c8012d7f980005afd7c0000100062b..."} 
[2026-07-27 01:17:52] local.INFO: Packet analysis {"connection_id":143498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9ff6"} 
[2026-07-27 01:17:52] local.INFO: Extracted packet for processing {"connection_id":143498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9ff6"} 
[2026-07-27 01:17:52] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":1,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 01: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-07-27 01:17:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984281088001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:17:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:17:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:17:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:17:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785095149000,"timestamp_ms":1785095149000,"timestamp_seconds":1785095149,"priority":1,"record_length":96,"hex_timestamp":"0000019f9ff655c8"} 
[2026-07-27 01:17:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 01:17:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 01: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-27 01:17:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 01: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-07-27 01:17:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 01:17:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:17:52] local.INFO: Teltonika packet parsed successfully {"connection_id":143498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:17:52] local.INFO: Passing IMEI to GPS processor {"connection_id":143498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:17:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":143498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:17:52] 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-07-27 01:17:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:17:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:17:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984281088001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:17:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:17:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:17:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984281088001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:17:52] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:17:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:17:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:17:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:17:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984281088001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:17:52] local.INFO: DEBUG: GPS processor result {"connection_id":143498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:17:52] local.INFO: GPS data processed {"connection_id":143498,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:17:52] local.INFO: Acknowledgment sent {"connection_id":143498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:18:33] local.INFO: TCP Data received {"connection_id":142531,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:18:33] local.INFO: Processing buffer {"connection_id":142531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:18:33] local.INFO: IMEI packet received {"connection_id":142531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 01:18:33] local.INFO: IMEI acknowledgment sent {"connection_id":142531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 01:18:39] local.INFO: TCP Data received {"connection_id":142531,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:18:39] local.INFO: Processing buffer {"connection_id":142531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:18:39] local.INFO: IMEI packet received {"connection_id":142531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 01:18:39] local.INFO: IMEI acknowledgment sent {"connection_id":142531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 01:18:39] local.INFO: TCP Data received {"connection_id":142531,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f9ff655c8012d7f980005afd7c0000100062b..."} 
[2026-07-27 01:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9ff655c8012d7f980005afd7c0000100062b..."} 
[2026-07-27 01:18:39] local.INFO: Processing buffer {"connection_id":142531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9ff655c8012d7f980005afd7c0000100062b..."} 
[2026-07-27 01:18:39] local.INFO: Packet analysis {"connection_id":142531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9ff6"} 
[2026-07-27 01:18:39] local.INFO: Extracted packet for processing {"connection_id":142531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9ff6"} 
[2026-07-27 01:18:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":1,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 01:18:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 01:18:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984281088001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:18:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:18:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:18:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:18:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785095149000,"timestamp_ms":1785095149000,"timestamp_seconds":1785095149,"priority":1,"record_length":96,"hex_timestamp":"0000019f9ff655c8"} 
[2026-07-27 01:18:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 01:18:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 01: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-07-27 01: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-07-27 01:18:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 01:18:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 01:18:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:18:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:18:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:18:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:18:39] 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-07-27 01:18:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:18:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:18:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984281088001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:18:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:18:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:18:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984281088001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:18:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:18:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:18:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:18:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:18:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984281088001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:18:39] local.INFO: DEBUG: GPS processor result {"connection_id":142531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:18:39] local.INFO: GPS data processed {"connection_id":142531,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:18:39] local.INFO: Acknowledgment sent {"connection_id":142531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:19:11] local.INFO: TCP Data received {"connection_id":142531,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f9ff655c8012d7f980005afd7c0000100062b..."} 
[2026-07-27 01:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9ff655c8012d7f980005afd7c0000100062b..."} 
[2026-07-27 01:19:11] local.INFO: Processing buffer {"connection_id":142531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9ff655c8012d7f980005afd7c0000100062b..."} 
[2026-07-27 01:19:11] local.INFO: Packet analysis {"connection_id":142531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9ff6"} 
[2026-07-27 01:19:11] local.INFO: Extracted packet for processing {"connection_id":142531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9ff6"} 
[2026-07-27 01:19:11] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":1,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 01:19:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984281088001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:19:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:19:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:19:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:19:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785095149000,"timestamp_ms":1785095149000,"timestamp_seconds":1785095149,"priority":1,"record_length":96,"hex_timestamp":"0000019f9ff655c8"} 
[2026-07-27 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-07-27 01:19:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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-07-27 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-07-27 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-07-27 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-07-27 01:19:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:19:11] local.INFO: Teltonika packet parsed successfully {"connection_id":142531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:19:11] local.INFO: Passing IMEI to GPS processor {"connection_id":142531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:19:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":142531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:19: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-07-27 01:19:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:19:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:19:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984281088001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:19:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:19:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:19:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984281088001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:19:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:19:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:19:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:19:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:19:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984281088001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:19:11] local.INFO: DEBUG: GPS processor result {"connection_id":142531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:19:11] local.INFO: GPS data processed {"connection_id":142531,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:19:11] local.INFO: Acknowledgment sent {"connection_id":142531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:19:33] local.INFO: TCP Data received {"connection_id":143500,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:19:33] local.INFO: Processing buffer {"connection_id":143500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:19:33] local.INFO: IMEI packet received {"connection_id":143500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 01:19:33] local.INFO: IMEI acknowledgment sent {"connection_id":143500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 01:19:39] local.INFO: TCP Data received {"connection_id":143500,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:19:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:19:39] local.INFO: Processing buffer {"connection_id":143500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:19:39] local.INFO: IMEI packet received {"connection_id":143500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 01:19:39] local.INFO: IMEI acknowledgment sent {"connection_id":143500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 01:19:39] local.INFO: TCP Data received {"connection_id":143500,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f9ff655c8012d7f980005afd7c0000100062b..."} 
[2026-07-27 01:19:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9ff655c8012d7f980005afd7c0000100062b..."} 
[2026-07-27 01:19:39] local.INFO: Processing buffer {"connection_id":143500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9ff655c8012d7f980005afd7c0000100062b..."} 
[2026-07-27 01:19:39] local.INFO: Packet analysis {"connection_id":143500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9ff6"} 
[2026-07-27 01:19:39] local.INFO: Extracted packet for processing {"connection_id":143500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9ff6"} 
[2026-07-27 01:19:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":1,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 01:19:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 01:19:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984281088001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:19:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:19:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:19:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:19:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785095149000,"timestamp_ms":1785095149000,"timestamp_seconds":1785095149,"priority":1,"record_length":96,"hex_timestamp":"0000019f9ff655c8"} 
[2026-07-27 01:19:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 01:19:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 01: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":97,"data_length":795,"current_offset":136} 
[2026-07-27 01:19: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-07-27 01:19:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 01:19:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 01:19:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:19:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:19:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:19:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:19:39] 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-07-27 01:19:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:19:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:19:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984281088001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:19:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:19:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:19:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984281088001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:19:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:19:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:19:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:19:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:19:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984281088001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:19:39] local.INFO: DEBUG: GPS processor result {"connection_id":143500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:19:39] local.INFO: GPS data processed {"connection_id":143500,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:19:39] local.INFO: Acknowledgment sent {"connection_id":143500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:20:10] local.INFO: TCP Data received {"connection_id":143500,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f9ff655c8012d7f980005afd7c0000100062b..."} 
[2026-07-27 01:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9ff655c8012d7f980005afd7c0000100062b..."} 
[2026-07-27 01:20:10] local.INFO: Processing buffer {"connection_id":143500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9ff655c8012d7f980005afd7c0000100062b..."} 
[2026-07-27 01:20:10] local.INFO: Packet analysis {"connection_id":143500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9ff6"} 
[2026-07-27 01:20:10] local.INFO: Extracted packet for processing {"connection_id":143500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9ff6"} 
[2026-07-27 01:20:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":1,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 01:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 01:20:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984281088001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:20:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:20:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:20:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:20:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785095149000,"timestamp_ms":1785095149000,"timestamp_seconds":1785095149,"priority":1,"record_length":96,"hex_timestamp":"0000019f9ff655c8"} 
[2026-07-27 01:20:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 01:20:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 01: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":97,"data_length":795,"current_offset":136} 
[2026-07-27 01:20:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 01:20:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 01:20:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 01:20:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:20:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:20:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:20:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:20: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-07-27 01:20:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:20:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:20:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984281088001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:20:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:20:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:20:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984281088001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:20:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:20:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:20:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:20:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:20:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984281088001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:20:10] local.INFO: DEBUG: GPS processor result {"connection_id":143500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:20:10] local.INFO: GPS data processed {"connection_id":143500,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:20:10] local.INFO: Acknowledgment sent {"connection_id":143500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:20:38] local.INFO: TCP Data received {"connection_id":142532,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:20:38] local.INFO: Processing buffer {"connection_id":142532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:20:38] local.INFO: IMEI packet received {"connection_id":142532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 01:20:38] local.INFO: IMEI acknowledgment sent {"connection_id":142532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 01:20:44] local.INFO: TCP Data received {"connection_id":142532,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:20:44] local.INFO: Processing buffer {"connection_id":142532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:20:44] local.INFO: IMEI packet received {"connection_id":142532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 01:20:44] local.INFO: IMEI acknowledgment sent {"connection_id":142532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 01:20:44] local.INFO: TCP Data received {"connection_id":142532,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f9ff655c8012d7f980005afd7c0000100062b..."} 
[2026-07-27 01:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142532,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9ff655c8012d7f980005afd7c0000100062b..."} 
[2026-07-27 01:20:44] local.INFO: Processing buffer {"connection_id":142532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9ff655c8012d7f980005afd7c0000100062b..."} 
[2026-07-27 01:20:44] local.INFO: Packet analysis {"connection_id":142532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9ff6"} 
[2026-07-27 01:20:44] local.INFO: Extracted packet for processing {"connection_id":142532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9ff6"} 
[2026-07-27 01:20:44] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":1,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 01:20:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 01:20:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984281088001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:20:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:20:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:20:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:20:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785095149000,"timestamp_ms":1785095149000,"timestamp_seconds":1785095149,"priority":1,"record_length":96,"hex_timestamp":"0000019f9ff655c8"} 
[2026-07-27 01:20:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 01:20:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 01:20:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-27 01:20:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 01:20:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 01:20:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 01:20:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:20:44] local.INFO: Teltonika packet parsed successfully {"connection_id":142532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:20:44] local.INFO: Passing IMEI to GPS processor {"connection_id":142532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:20:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":142532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:20:44] 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-07-27 01:20:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:20:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:20:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984281088001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:20:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:20:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:20:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984281088001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:20:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:20:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:20:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:20:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:20:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984281088001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:20:44] local.INFO: DEBUG: GPS processor result {"connection_id":142532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:20:44] local.INFO: GPS data processed {"connection_id":142532,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:20:44] local.INFO: Acknowledgment sent {"connection_id":142532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:21:11] local.INFO: TCP Data received {"connection_id":142461,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 01:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142461,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 01:21:11] local.INFO: Processing buffer {"connection_id":142461,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 01:21:11] local.INFO: IMEI packet received {"connection_id":142461,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 01:21:11] local.INFO: IMEI acknowledgment sent {"connection_id":142461,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 01:21:15] local.INFO: TCP Data received {"connection_id":142532,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f9ff655c8012d7f980005afd7c0000100062b..."} 
[2026-07-27 01:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142532,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9ff655c8012d7f980005afd7c0000100062b..."} 
[2026-07-27 01:21:15] local.INFO: Processing buffer {"connection_id":142532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9ff655c8012d7f980005afd7c0000100062b..."} 
[2026-07-27 01:21:15] local.INFO: Packet analysis {"connection_id":142532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9ff6"} 
[2026-07-27 01:21:15] local.INFO: Extracted packet for processing {"connection_id":142532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9ff6"} 
[2026-07-27 01:21:15] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":1,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 01: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-07-27 01:21:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984281088001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:21:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:21:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:21:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:21:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785095149000,"timestamp_ms":1785095149000,"timestamp_seconds":1785095149,"priority":1,"record_length":96,"hex_timestamp":"0000019f9ff655c8"} 
[2026-07-27 01:21:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 01:21:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 01: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":97,"data_length":795,"current_offset":136} 
[2026-07-27 01:21:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 01: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-07-27 01:21:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 01:21:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:21:15] local.INFO: Teltonika packet parsed successfully {"connection_id":142532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:21:15] local.INFO: Passing IMEI to GPS processor {"connection_id":142532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:21:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":142532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:21: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-07-27 01:21:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:21:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:21:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984281088001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:21:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:21:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:21:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984281088001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:21:15] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:21:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:21:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:21:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:21:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984281088001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:21:15] local.INFO: DEBUG: GPS processor result {"connection_id":142532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:21:15] local.INFO: GPS data processed {"connection_id":142532,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:21:15] local.INFO: Acknowledgment sent {"connection_id":142532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:21:34] local.INFO: TCP Data received {"connection_id":144844,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:21:34] local.INFO: Processing buffer {"connection_id":144844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:21:34] local.INFO: IMEI packet received {"connection_id":144844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 01:21:34] local.INFO: IMEI acknowledgment sent {"connection_id":144844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 01:21:39] local.INFO: TCP Data received {"connection_id":144844,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:21:39] local.INFO: Processing buffer {"connection_id":144844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:21:39] local.INFO: IMEI packet received {"connection_id":144844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 01:21:39] local.INFO: IMEI acknowledgment sent {"connection_id":144844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 01:21:39] local.INFO: TCP Data received {"connection_id":144844,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f9ffaed90012d7f980005afd7c00001000625..."} 
[2026-07-27 01:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9ffaed90012d7f980005afd7c00001000625..."} 
[2026-07-27 01:21:39] local.INFO: Processing buffer {"connection_id":144844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9ffaed90012d7f980005afd7c00001000625..."} 
[2026-07-27 01:21:39] local.INFO: Packet analysis {"connection_id":144844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9ffa"} 
[2026-07-27 01:21:39] local.INFO: Extracted packet for processing {"connection_id":144844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9ffa"} 
[2026-07-27 01:21:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":1,"angle":6,"satellites":37,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 01:21:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 01:21:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984358144001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:21:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:21:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:21:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:21:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785095450000,"timestamp_ms":1785095450000,"timestamp_seconds":1785095450,"priority":1,"record_length":96,"hex_timestamp":"0000019f9ffaed90"} 
[2026-07-27 01:21:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 01:21:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 01: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-07-27 01: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-07-27 01:21:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 01:21:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 01:21:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:21:39] local.INFO: Teltonika packet parsed successfully {"connection_id":144844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:21:39] local.INFO: Passing IMEI to GPS processor {"connection_id":144844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:21:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":144844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:21:39] 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-07-27 01:21:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:21:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:21:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984358144001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:21:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:21:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:21:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984358144001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:21:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:21:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:21:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:21:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:21:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984358144001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:21:39] local.INFO: DEBUG: GPS processor result {"connection_id":144844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:21:39] local.INFO: GPS data processed {"connection_id":144844,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:21:39] local.INFO: Acknowledgment sent {"connection_id":144844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:21:46] local.INFO: TCP Data received {"connection_id":142533,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 01:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142533,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 01:21:46] local.INFO: Processing buffer {"connection_id":142533,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 01:21:46] local.INFO: IMEI packet received {"connection_id":142533,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 01:21:46] local.INFO: IMEI acknowledgment sent {"connection_id":142533,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 01:22:10] local.INFO: TCP Data received {"connection_id":144844,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f9ffaed90012d7f980005afd7c00001000625..."} 
[2026-07-27 01:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9ffaed90012d7f980005afd7c00001000625..."} 
[2026-07-27 01:22:10] local.INFO: Processing buffer {"connection_id":144844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9ffaed90012d7f980005afd7c00001000625..."} 
[2026-07-27 01:22:10] local.INFO: Packet analysis {"connection_id":144844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9ffa"} 
[2026-07-27 01:22:10] local.INFO: Extracted packet for processing {"connection_id":144844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9ffa"} 
[2026-07-27 01:22:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":1,"angle":6,"satellites":37,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 01:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 01:22:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984358144001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:22:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:22:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:22:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:22:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785095450000,"timestamp_ms":1785095450000,"timestamp_seconds":1785095450,"priority":1,"record_length":96,"hex_timestamp":"0000019f9ffaed90"} 
[2026-07-27 01:22:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 01:22:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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-07-27 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-07-27 01:22:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 01:22:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 01:22:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:22:10] local.INFO: Teltonika packet parsed successfully {"connection_id":144844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:22:10] local.INFO: Passing IMEI to GPS processor {"connection_id":144844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:22:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":144844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:22: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-07-27 01:22:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:22:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:22:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984358144001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:22:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:22:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:22:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984358144001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:22:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:22:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:22:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:22:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:22:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984358144001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:22:10] local.INFO: DEBUG: GPS processor result {"connection_id":144844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:22:10] local.INFO: GPS data processed {"connection_id":144844,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:22:10] local.INFO: Acknowledgment sent {"connection_id":144844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:22:39] local.INFO: TCP Data received {"connection_id":143501,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:22:39] local.INFO: Processing buffer {"connection_id":143501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:22:39] local.INFO: IMEI packet received {"connection_id":143501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 01:22:39] local.INFO: IMEI acknowledgment sent {"connection_id":143501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 01:22:44] local.INFO: TCP Data received {"connection_id":143501,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:22:44] local.INFO: Processing buffer {"connection_id":143501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:22:44] local.INFO: IMEI packet received {"connection_id":143501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 01:22:44] local.INFO: IMEI acknowledgment sent {"connection_id":143501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 01:22:44] local.INFO: TCP Data received {"connection_id":143501,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f9ffaed90012d7f980005afd7c00001000625..."} 
[2026-07-27 01:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9ffaed90012d7f980005afd7c00001000625..."} 
[2026-07-27 01:22:44] local.INFO: Processing buffer {"connection_id":143501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9ffaed90012d7f980005afd7c00001000625..."} 
[2026-07-27 01:22:44] local.INFO: Packet analysis {"connection_id":143501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9ffa"} 
[2026-07-27 01:22:44] local.INFO: Extracted packet for processing {"connection_id":143501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9ffa"} 
[2026-07-27 01:22:44] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":1,"angle":6,"satellites":37,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 01:22:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 01:22:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984358144001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:22:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:22:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:22:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:22:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785095450000,"timestamp_ms":1785095450000,"timestamp_seconds":1785095450,"priority":1,"record_length":96,"hex_timestamp":"0000019f9ffaed90"} 
[2026-07-27 01:22:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 01:22:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 01:22:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-27 01:22: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-07-27 01:22:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 01:22:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 01:22:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:22:44] local.INFO: Teltonika packet parsed successfully {"connection_id":143501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:22:44] local.INFO: Passing IMEI to GPS processor {"connection_id":143501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:22:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":143501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:22: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-07-27 01:22:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:22:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:22:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984358144001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:22:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:22:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:22:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984358144001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:22:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:22:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:22:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:22:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:22:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984358144001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:22:44] local.INFO: DEBUG: GPS processor result {"connection_id":143501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:22:44] local.INFO: GPS data processed {"connection_id":143501,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:22:44] local.INFO: Acknowledgment sent {"connection_id":143501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:23:15] local.INFO: TCP Data received {"connection_id":143501,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f9ffaed90012d7f980005afd7c00001000625..."} 
[2026-07-27 01:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9ffaed90012d7f980005afd7c00001000625..."} 
[2026-07-27 01:23:15] local.INFO: Processing buffer {"connection_id":143501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9ffaed90012d7f980005afd7c00001000625..."} 
[2026-07-27 01:23:15] local.INFO: Packet analysis {"connection_id":143501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9ffa"} 
[2026-07-27 01:23:15] local.INFO: Extracted packet for processing {"connection_id":143501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9ffa"} 
[2026-07-27 01:23:15] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":1,"angle":6,"satellites":37,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 01: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-07-27 01:23:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984358144001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:23:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:23:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:23:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:23:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785095450000,"timestamp_ms":1785095450000,"timestamp_seconds":1785095450,"priority":1,"record_length":96,"hex_timestamp":"0000019f9ffaed90"} 
[2026-07-27 01:23:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 01:23:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 01: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":86,"data_length":795,"current_offset":136} 
[2026-07-27 01:23: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-07-27 01: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-07-27 01:23:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 01:23:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:23:15] local.INFO: Teltonika packet parsed successfully {"connection_id":143501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:23:15] local.INFO: Passing IMEI to GPS processor {"connection_id":143501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:23:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":143501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01: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-07-27 01:23:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:23:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:23:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984358144001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:23:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:23:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:23:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984358144001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:23:15] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:23:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:23:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:23:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:23:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984358144001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:23:15] local.INFO: DEBUG: GPS processor result {"connection_id":143501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:23:15] local.INFO: GPS data processed {"connection_id":143501,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:23:15] local.INFO: Acknowledgment sent {"connection_id":143501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:23:34] local.INFO: TCP Data received {"connection_id":142462,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:23:34] local.INFO: Processing buffer {"connection_id":142462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:23:34] local.INFO: IMEI packet received {"connection_id":142462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 01:23:34] local.INFO: IMEI acknowledgment sent {"connection_id":142462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 01:23:39] local.INFO: TCP Data received {"connection_id":142462,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:23:39] local.INFO: Processing buffer {"connection_id":142462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:23:39] local.INFO: IMEI packet received {"connection_id":142462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 01:23:39] local.INFO: IMEI acknowledgment sent {"connection_id":142462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 01:23:39] local.INFO: TCP Data received {"connection_id":142462,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f9ffaed90012d7f980005afd7c00001000625..."} 
[2026-07-27 01:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9ffaed90012d7f980005afd7c00001000625..."} 
[2026-07-27 01:23:39] local.INFO: Processing buffer {"connection_id":142462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9ffaed90012d7f980005afd7c00001000625..."} 
[2026-07-27 01:23:39] local.INFO: Packet analysis {"connection_id":142462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9ffa"} 
[2026-07-27 01:23:39] local.INFO: Extracted packet for processing {"connection_id":142462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9ffa"} 
[2026-07-27 01:23:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":1,"angle":6,"satellites":37,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 01:23:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 01:23:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984358144001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:23:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:23:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:23:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:23:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785095450000,"timestamp_ms":1785095450000,"timestamp_seconds":1785095450,"priority":1,"record_length":96,"hex_timestamp":"0000019f9ffaed90"} 
[2026-07-27 01:23:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 01:23:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 01: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-07-27 01: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-07-27 01:23:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 01:23:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 01:23:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:23:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:23:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:23:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:23:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 01:23:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:23:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:23:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984358144001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:23:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:23:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:23:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984358144001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:23:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:23:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:23:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:23:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:23:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984358144001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:23:39] local.INFO: DEBUG: GPS processor result {"connection_id":142462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:23:39] local.INFO: GPS data processed {"connection_id":142462,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:23:39] local.INFO: Acknowledgment sent {"connection_id":142462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:24:10] local.INFO: TCP Data received {"connection_id":142462,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f9ffaed90012d7f980005afd7c00001000625..."} 
[2026-07-27 01:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9ffaed90012d7f980005afd7c00001000625..."} 
[2026-07-27 01:24:10] local.INFO: Processing buffer {"connection_id":142462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9ffaed90012d7f980005afd7c00001000625..."} 
[2026-07-27 01:24:10] local.INFO: Packet analysis {"connection_id":142462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9ffa"} 
[2026-07-27 01:24:10] local.INFO: Extracted packet for processing {"connection_id":142462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9ffa"} 
[2026-07-27 01:24:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":1,"angle":6,"satellites":37,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 01:24:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984358144001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:24:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:24:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:24:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:24:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785095450000,"timestamp_ms":1785095450000,"timestamp_seconds":1785095450,"priority":1,"record_length":96,"hex_timestamp":"0000019f9ffaed90"} 
[2026-07-27 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-07-27 01:24:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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-07-27 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-07-27 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-07-27 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-07-27 01:24:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:24:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:24:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:24:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:24: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-07-27 01:24:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:24:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:24:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984358144001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:24:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:24:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:24:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984358144001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:24:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:24:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:24:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:24:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:24:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984358144001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:24:10] local.INFO: DEBUG: GPS processor result {"connection_id":142462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:24:10] local.INFO: GPS data processed {"connection_id":142462,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:24:10] local.INFO: Acknowledgment sent {"connection_id":142462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:24:34] local.INFO: TCP Data received {"connection_id":142535,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:24:34] local.INFO: Processing buffer {"connection_id":142535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:24:34] local.INFO: IMEI packet received {"connection_id":142535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 01:24:34] local.INFO: IMEI acknowledgment sent {"connection_id":142535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 01:24:39] local.INFO: TCP Data received {"connection_id":142535,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:24:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:24:39] local.INFO: Processing buffer {"connection_id":142535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:24:39] local.INFO: IMEI packet received {"connection_id":142535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 01:24:39] local.INFO: IMEI acknowledgment sent {"connection_id":142535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 01:24:40] local.INFO: TCP Data received {"connection_id":142535,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f9ffaed90012d7f980005afd7c00001000625..."} 
[2026-07-27 01:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142535,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9ffaed90012d7f980005afd7c00001000625..."} 
[2026-07-27 01:24:40] local.INFO: Processing buffer {"connection_id":142535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9ffaed90012d7f980005afd7c00001000625..."} 
[2026-07-27 01:24:40] local.INFO: Packet analysis {"connection_id":142535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9ffa"} 
[2026-07-27 01:24:40] local.INFO: Extracted packet for processing {"connection_id":142535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9ffa"} 
[2026-07-27 01:24:40] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":1,"angle":6,"satellites":37,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 01: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-07-27 01:24:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984358144001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:24:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:24:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:24:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:24:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785095450000,"timestamp_ms":1785095450000,"timestamp_seconds":1785095450,"priority":1,"record_length":96,"hex_timestamp":"0000019f9ffaed90"} 
[2026-07-27 01:24:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 01:24:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 01: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-07-27 01: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-07-27 01: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-07-27 01:24:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 01:24:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:24:40] local.INFO: Teltonika packet parsed successfully {"connection_id":142535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:24:40] local.INFO: Passing IMEI to GPS processor {"connection_id":142535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:24:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":142535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:24: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-07-27 01:24:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:24:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:24:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984358144001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:24:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:24:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:24:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984358144001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:24:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:24:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:24:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:24:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:24:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984358144001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:24:40] local.INFO: DEBUG: GPS processor result {"connection_id":142535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:24:40] local.INFO: GPS data processed {"connection_id":142535,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:24:40] local.INFO: Acknowledgment sent {"connection_id":142535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:25:11] local.INFO: TCP Data received {"connection_id":142535,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f9ffaed90012d7f980005afd7c00001000625..."} 
[2026-07-27 01:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142535,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9ffaed90012d7f980005afd7c00001000625..."} 
[2026-07-27 01:25:11] local.INFO: Processing buffer {"connection_id":142535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9ffaed90012d7f980005afd7c00001000625..."} 
[2026-07-27 01:25:11] local.INFO: Packet analysis {"connection_id":142535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9ffa"} 
[2026-07-27 01:25:11] local.INFO: Extracted packet for processing {"connection_id":142535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9ffa"} 
[2026-07-27 01:25:11] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":1,"angle":6,"satellites":37,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 01:25:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 01:25:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984358144001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:25:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:25:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:25:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:25:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785095450000,"timestamp_ms":1785095450000,"timestamp_seconds":1785095450,"priority":1,"record_length":96,"hex_timestamp":"0000019f9ffaed90"} 
[2026-07-27 01:25:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 01:25:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 01: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":86,"data_length":795,"current_offset":136} 
[2026-07-27 01:25:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 01:25:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 01:25:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 01:25:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:25:11] local.INFO: Teltonika packet parsed successfully {"connection_id":142535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:25:11] local.INFO: Passing IMEI to GPS processor {"connection_id":142535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:25:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":142535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:25: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-07-27 01:25:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:25:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:25:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984358144001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:25:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:25:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:25:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984358144001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:25:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:25:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:25:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:25:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:25:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984358144001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:25:11] local.INFO: DEBUG: GPS processor result {"connection_id":142535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:25:11] local.INFO: GPS data processed {"connection_id":142535,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:25:11] local.INFO: Acknowledgment sent {"connection_id":142535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:25:33] local.INFO: TCP Data received {"connection_id":144845,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:25:33] local.INFO: Processing buffer {"connection_id":144845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:25:33] local.INFO: IMEI packet received {"connection_id":144845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 01:25:33] local.INFO: IMEI acknowledgment sent {"connection_id":144845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 01:25:39] local.INFO: TCP Data received {"connection_id":144845,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:25:39] local.INFO: Processing buffer {"connection_id":144845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:25:39] local.INFO: IMEI packet received {"connection_id":144845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 01:25:39] local.INFO: IMEI acknowledgment sent {"connection_id":144845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 01:25:39] local.INFO: TCP Data received {"connection_id":144845,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f9ffaed90012d7f980005afd7c00001000625..."} 
[2026-07-27 01:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9ffaed90012d7f980005afd7c00001000625..."} 
[2026-07-27 01:25:39] local.INFO: Processing buffer {"connection_id":144845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9ffaed90012d7f980005afd7c00001000625..."} 
[2026-07-27 01:25:39] local.INFO: Packet analysis {"connection_id":144845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9ffa"} 
[2026-07-27 01:25:39] local.INFO: Extracted packet for processing {"connection_id":144845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9ffa"} 
[2026-07-27 01:25:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":1,"angle":6,"satellites":37,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 01:25:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 01:25:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984358144001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:25:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:25:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:25:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:25:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785095450000,"timestamp_ms":1785095450000,"timestamp_seconds":1785095450,"priority":1,"record_length":96,"hex_timestamp":"0000019f9ffaed90"} 
[2026-07-27 01:25:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 01:25:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 01: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-07-27 01: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-07-27 01:25:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 01:25:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 01:25:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:25:39] local.INFO: Teltonika packet parsed successfully {"connection_id":144845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:25:39] local.INFO: Passing IMEI to GPS processor {"connection_id":144845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:25:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":144845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:25:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 01:25:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:25:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:25:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984358144001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:25:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:25:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:25:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984358144001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:25:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:25:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:25:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:25:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:25:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984358144001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:25:39] local.INFO: DEBUG: GPS processor result {"connection_id":144845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:25:39] local.INFO: GPS data processed {"connection_id":144845,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:25:39] local.INFO: Acknowledgment sent {"connection_id":144845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:26:11] local.INFO: TCP Data received {"connection_id":144845,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f9ffaed90012d7f980005afd7c00001000625..."} 
[2026-07-27 01:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9ffaed90012d7f980005afd7c00001000625..."} 
[2026-07-27 01:26:11] local.INFO: Processing buffer {"connection_id":144845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9ffaed90012d7f980005afd7c00001000625..."} 
[2026-07-27 01:26:11] local.INFO: Packet analysis {"connection_id":144845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9ffa"} 
[2026-07-27 01:26:11] local.INFO: Extracted packet for processing {"connection_id":144845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9ffa"} 
[2026-07-27 01:26:11] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":1,"angle":6,"satellites":37,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 01:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 01:26:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984358144001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:26:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:26:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:26:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:26:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785095450000,"timestamp_ms":1785095450000,"timestamp_seconds":1785095450,"priority":1,"record_length":96,"hex_timestamp":"0000019f9ffaed90"} 
[2026-07-27 01:26:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 01:26:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 01: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":86,"data_length":795,"current_offset":136} 
[2026-07-27 01:26:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 01:26:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 01:26:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 01:26:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:26:11] local.INFO: Teltonika packet parsed successfully {"connection_id":144845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:26:11] local.INFO: Passing IMEI to GPS processor {"connection_id":144845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:26:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":144845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:26: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-07-27 01:26:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:26:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:26:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984358144001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:26:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:26:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:26:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984358144001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:26:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:26:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:26:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:26:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:26:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984358144001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:26:11] local.INFO: DEBUG: GPS processor result {"connection_id":144845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:26:11] local.INFO: GPS data processed {"connection_id":144845,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:26:11] local.INFO: Acknowledgment sent {"connection_id":144845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:26:33] local.INFO: TCP Data received {"connection_id":142537,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:26:33] local.INFO: Processing buffer {"connection_id":142537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:26:33] local.INFO: IMEI packet received {"connection_id":142537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 01:26:33] local.INFO: IMEI acknowledgment sent {"connection_id":142537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 01:26:39] local.INFO: TCP Data received {"connection_id":142537,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:26:39] local.INFO: Processing buffer {"connection_id":142537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:26:39] local.INFO: IMEI packet received {"connection_id":142537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 01:26:39] local.INFO: IMEI acknowledgment sent {"connection_id":142537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 01:26:40] local.INFO: TCP Data received {"connection_id":142537,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fff8558012d7f980005afd7c0000100062b..."} 
[2026-07-27 01:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fff8558012d7f980005afd7c0000100062b..."} 
[2026-07-27 01:26:40] local.INFO: Processing buffer {"connection_id":142537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fff8558012d7f980005afd7c0000100062b..."} 
[2026-07-27 01:26:40] local.INFO: Packet analysis {"connection_id":142537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fff"} 
[2026-07-27 01:26:40] local.INFO: Extracted packet for processing {"connection_id":142537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fff"} 
[2026-07-27 01:26:40] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":1,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 01: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-07-27 01:26:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984435200001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:26:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:26:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:26:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:26:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785095751000,"timestamp_ms":1785095751000,"timestamp_seconds":1785095751,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fff8558"} 
[2026-07-27 01:26:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 01:26:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 01: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-07-27 01: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-07-27 01: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-07-27 01:26:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 01:26:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:26:40] local.INFO: Teltonika packet parsed successfully {"connection_id":142537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:26:40] local.INFO: Passing IMEI to GPS processor {"connection_id":142537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:26:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":142537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:26: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-07-27 01:26:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:26:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:26:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984435200001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:26:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:26:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:26:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984435200001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:26:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:26:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:26:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:26:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:26:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984435200001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:26:40] local.INFO: DEBUG: GPS processor result {"connection_id":142537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:26:40] local.INFO: GPS data processed {"connection_id":142537,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:26:40] local.INFO: Acknowledgment sent {"connection_id":142537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:27:11] local.INFO: TCP Data received {"connection_id":142537,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fff8558012d7f980005afd7c0000100062b..."} 
[2026-07-27 01:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fff8558012d7f980005afd7c0000100062b..."} 
[2026-07-27 01:27:11] local.INFO: Processing buffer {"connection_id":142537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fff8558012d7f980005afd7c0000100062b..."} 
[2026-07-27 01:27:11] local.INFO: Packet analysis {"connection_id":142537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fff"} 
[2026-07-27 01:27:11] local.INFO: Extracted packet for processing {"connection_id":142537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fff"} 
[2026-07-27 01:27:11] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":1,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 01:27:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984435200001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:27:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:27:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:27:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:27:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785095751000,"timestamp_ms":1785095751000,"timestamp_seconds":1785095751,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fff8558"} 
[2026-07-27 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-07-27 01:27:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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-07-27 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-07-27 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-07-27 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-07-27 01:27:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:27:11] local.INFO: Teltonika packet parsed successfully {"connection_id":142537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:27:11] local.INFO: Passing IMEI to GPS processor {"connection_id":142537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:27:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":142537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:27: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-07-27 01:27:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:27:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:27:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984435200001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:27:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:27:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:27:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984435200001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:27:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:27:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:27:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:27:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:27:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984435200001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:27:11] local.INFO: DEBUG: GPS processor result {"connection_id":142537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:27:11] local.INFO: GPS data processed {"connection_id":142537,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:27:11] local.INFO: Acknowledgment sent {"connection_id":142537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:27:16] local.INFO: TCP Data received {"connection_id":142538,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 01:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142538,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 01:27:16] local.INFO: Processing buffer {"connection_id":142538,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 01:27:16] local.INFO: IMEI packet received {"connection_id":142538,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 01:27:16] local.INFO: IMEI acknowledgment sent {"connection_id":142538,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 01:27:36] local.INFO: TCP Data received {"connection_id":143504,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:27:36] local.INFO: Processing buffer {"connection_id":143504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:27:36] local.INFO: IMEI packet received {"connection_id":143504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 01:27:36] local.INFO: IMEI acknowledgment sent {"connection_id":143504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 01:27:39] local.INFO: TCP Data received {"connection_id":143504,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:27:39] local.INFO: Processing buffer {"connection_id":143504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:27:39] local.INFO: IMEI packet received {"connection_id":143504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 01:27:39] local.INFO: IMEI acknowledgment sent {"connection_id":143504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 01:27:39] local.INFO: TCP Data received {"connection_id":143504,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fff8558012d7f980005afd7c0000100062b..."} 
[2026-07-27 01:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fff8558012d7f980005afd7c0000100062b..."} 
[2026-07-27 01:27:39] local.INFO: Processing buffer {"connection_id":143504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fff8558012d7f980005afd7c0000100062b..."} 
[2026-07-27 01:27:39] local.INFO: Packet analysis {"connection_id":143504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fff"} 
[2026-07-27 01:27:39] local.INFO: Extracted packet for processing {"connection_id":143504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fff"} 
[2026-07-27 01:27:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":1,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 01:27:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 01:27:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984435200001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:27:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:27:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:27:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:27:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785095751000,"timestamp_ms":1785095751000,"timestamp_seconds":1785095751,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fff8558"} 
[2026-07-27 01:27:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 01:27:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 01: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-07-27 01: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-07-27 01:27:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 01:27:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 01:27:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:27:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:27:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:27:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:27:39] 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-07-27 01:27:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:27:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:27:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984435200001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:27:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:27:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:27:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984435200001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:27:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:27:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:27:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:27:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:27:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984435200001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:27:39] local.INFO: DEBUG: GPS processor result {"connection_id":143504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:27:39] local.INFO: GPS data processed {"connection_id":143504,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:27:39] local.INFO: Acknowledgment sent {"connection_id":143504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:27:44] local.INFO: TCP Data received {"connection_id":143504,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fff8558012d7f980005afd7c0000100062b..."} 
[2026-07-27 01:27:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fff8558012d7f980005afd7c0000100062b..."} 
[2026-07-27 01:27:44] local.INFO: Processing buffer {"connection_id":143504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fff8558012d7f980005afd7c0000100062b..."} 
[2026-07-27 01:27:44] local.INFO: Packet analysis {"connection_id":143504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fff"} 
[2026-07-27 01:27:44] local.INFO: Extracted packet for processing {"connection_id":143504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fff"} 
[2026-07-27 01:27:44] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":1,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 01:27:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 01:27:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984435200001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:27:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:27:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:27:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:27:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785095751000,"timestamp_ms":1785095751000,"timestamp_seconds":1785095751,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fff8558"} 
[2026-07-27 01:27:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 01:27:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 01:27:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-27 01:27: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-07-27 01:27:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 01:27:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 01:27:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:27:44] local.INFO: Teltonika packet parsed successfully {"connection_id":143504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:27:44] local.INFO: Passing IMEI to GPS processor {"connection_id":143504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:27:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":143504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:27:44] 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-07-27 01:27:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:27:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:27:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984435200001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:27:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:27:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:27:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984435200001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:27:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:27:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:27:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:27:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:27:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984435200001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:27:44] local.INFO: DEBUG: GPS processor result {"connection_id":143504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:27:44] local.INFO: GPS data processed {"connection_id":143504,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:27:44] local.INFO: Acknowledgment sent {"connection_id":143504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:27:45] local.INFO: TCP Data received {"connection_id":142539,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 01:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142539,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 01:27:45] local.INFO: Processing buffer {"connection_id":142539,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 01:27:45] local.INFO: IMEI packet received {"connection_id":142539,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 01:27:45] local.INFO: IMEI acknowledgment sent {"connection_id":142539,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 01:28:15] local.INFO: TCP Data received {"connection_id":143504,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fff8558012d7f980005afd7c0000100062b..."} 
[2026-07-27 01:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fff8558012d7f980005afd7c0000100062b..."} 
[2026-07-27 01:28:15] local.INFO: Processing buffer {"connection_id":143504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fff8558012d7f980005afd7c0000100062b..."} 
[2026-07-27 01:28:15] local.INFO: Packet analysis {"connection_id":143504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fff"} 
[2026-07-27 01:28:15] local.INFO: Extracted packet for processing {"connection_id":143504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fff"} 
[2026-07-27 01:28:15] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":1,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 01:28:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 01:28:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984435200001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:28:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:28:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:28:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:28:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785095751000,"timestamp_ms":1785095751000,"timestamp_seconds":1785095751,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fff8558"} 
[2026-07-27 01:28:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 01:28:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 01:28:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-27 01:28: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-07-27 01:28:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 01:28:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 01:28:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:28:15] local.INFO: Teltonika packet parsed successfully {"connection_id":143504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:28:15] local.INFO: Passing IMEI to GPS processor {"connection_id":143504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:28:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":143504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:28: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-07-27 01:28:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:28:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:28:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984435200001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:28:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:28:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:28:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984435200001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:28:15] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:28:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:28:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:28:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:28:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984435200001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:28:15] local.INFO: DEBUG: GPS processor result {"connection_id":143504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:28:15] local.INFO: GPS data processed {"connection_id":143504,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:28:15] local.INFO: Acknowledgment sent {"connection_id":143504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:28:34] local.INFO: TCP Data received {"connection_id":144846,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:28:34] local.INFO: Processing buffer {"connection_id":144846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:28:34] local.INFO: IMEI packet received {"connection_id":144846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 01:28:34] local.INFO: IMEI acknowledgment sent {"connection_id":144846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 01:28:39] local.INFO: TCP Data received {"connection_id":144846,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:28:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:28:39] local.INFO: Processing buffer {"connection_id":144846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:28:39] local.INFO: IMEI packet received {"connection_id":144846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 01:28:39] local.INFO: IMEI acknowledgment sent {"connection_id":144846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 01:28:39] local.INFO: TCP Data received {"connection_id":144846,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fff8558012d7f980005afd7c0000100062b..."} 
[2026-07-27 01:28:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fff8558012d7f980005afd7c0000100062b..."} 
[2026-07-27 01:28:39] local.INFO: Processing buffer {"connection_id":144846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fff8558012d7f980005afd7c0000100062b..."} 
[2026-07-27 01:28:39] local.INFO: Packet analysis {"connection_id":144846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fff"} 
[2026-07-27 01:28:39] local.INFO: Extracted packet for processing {"connection_id":144846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fff"} 
[2026-07-27 01:28:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":1,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 01:28:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 01:28:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984435200001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:28:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:28:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:28:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:28:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785095751000,"timestamp_ms":1785095751000,"timestamp_seconds":1785095751,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fff8558"} 
[2026-07-27 01:28:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 01:28:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 01: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-07-27 01: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-07-27 01:28:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 01:28:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 01:28:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:28:39] local.INFO: Teltonika packet parsed successfully {"connection_id":144846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:28:39] local.INFO: Passing IMEI to GPS processor {"connection_id":144846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:28:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":144846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:28:39] 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-07-27 01:28:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:28:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:28:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984435200001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:28:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:28:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:28:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984435200001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:28:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:28:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:28:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:28:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:28:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984435200001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:28:39] local.INFO: DEBUG: GPS processor result {"connection_id":144846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:28:39] local.INFO: GPS data processed {"connection_id":144846,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:28:39] local.INFO: Acknowledgment sent {"connection_id":144846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:29:10] local.INFO: TCP Data received {"connection_id":144846,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fff8558012d7f980005afd7c0000100062b..."} 
[2026-07-27 01:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fff8558012d7f980005afd7c0000100062b..."} 
[2026-07-27 01:29:10] local.INFO: Processing buffer {"connection_id":144846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fff8558012d7f980005afd7c0000100062b..."} 
[2026-07-27 01:29:10] local.INFO: Packet analysis {"connection_id":144846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fff"} 
[2026-07-27 01:29:10] local.INFO: Extracted packet for processing {"connection_id":144846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fff"} 
[2026-07-27 01:29:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":1,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 01:29:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 01:29:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984435200001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:29:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:29:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:29:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:29:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785095751000,"timestamp_ms":1785095751000,"timestamp_seconds":1785095751,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fff8558"} 
[2026-07-27 01:29:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 01:29:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 01: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-07-27 01: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-07-27 01:29:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 01:29:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 01:29:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:29:10] local.INFO: Teltonika packet parsed successfully {"connection_id":144846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:29:10] local.INFO: Passing IMEI to GPS processor {"connection_id":144846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:29:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":144846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:29: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-07-27 01:29:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:29:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:29:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984435200001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:29:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:29:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:29:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984435200001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:29:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:29:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:29:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:29:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:29:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984435200001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:29:10] local.INFO: DEBUG: GPS processor result {"connection_id":144846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:29:10] local.INFO: GPS data processed {"connection_id":144846,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:29:10] local.INFO: Acknowledgment sent {"connection_id":144846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:29:33] local.INFO: TCP Data received {"connection_id":142541,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:29:33] local.INFO: Processing buffer {"connection_id":142541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:29:33] local.INFO: IMEI packet received {"connection_id":142541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 01:29:33] local.INFO: IMEI acknowledgment sent {"connection_id":142541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 01:29:39] local.INFO: TCP Data received {"connection_id":142541,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:29:39] local.INFO: Processing buffer {"connection_id":142541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:29:39] local.INFO: IMEI packet received {"connection_id":142541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 01:29:39] local.INFO: IMEI acknowledgment sent {"connection_id":142541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 01:29:39] local.INFO: TCP Data received {"connection_id":142541,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fff8558012d7f980005afd7c0000100062b..."} 
[2026-07-27 01:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fff8558012d7f980005afd7c0000100062b..."} 
[2026-07-27 01:29:39] local.INFO: Processing buffer {"connection_id":142541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fff8558012d7f980005afd7c0000100062b..."} 
[2026-07-27 01:29:39] local.INFO: Packet analysis {"connection_id":142541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fff"} 
[2026-07-27 01:29:39] local.INFO: Extracted packet for processing {"connection_id":142541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fff"} 
[2026-07-27 01:29:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":1,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 01:29:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 01:29:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984435200001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:29:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:29:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:29:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:29:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785095751000,"timestamp_ms":1785095751000,"timestamp_seconds":1785095751,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fff8558"} 
[2026-07-27 01:29:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 01:29:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 01: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-07-27 01: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-07-27 01:29:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 01:29:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 01:29:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:29:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:29:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:29:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:29:39] 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-07-27 01:29:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:29:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:29:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984435200001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:29:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:29:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:29:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984435200001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:29:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:29:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:29:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:29:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:29:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984435200001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:29:39] local.INFO: DEBUG: GPS processor result {"connection_id":142541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:29:39] local.INFO: GPS data processed {"connection_id":142541,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:29:39] local.INFO: Acknowledgment sent {"connection_id":142541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:30:10] local.INFO: TCP Data received {"connection_id":142541,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fff8558012d7f980005afd7c0000100062b..."} 
[2026-07-27 01:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fff8558012d7f980005afd7c0000100062b..."} 
[2026-07-27 01:30:10] local.INFO: Processing buffer {"connection_id":142541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fff8558012d7f980005afd7c0000100062b..."} 
[2026-07-27 01:30:10] local.INFO: Packet analysis {"connection_id":142541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fff"} 
[2026-07-27 01:30:10] local.INFO: Extracted packet for processing {"connection_id":142541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fff"} 
[2026-07-27 01:30:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":1,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 01:30:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984435200001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:30:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:30:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:30:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:30:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785095751000,"timestamp_ms":1785095751000,"timestamp_seconds":1785095751,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fff8558"} 
[2026-07-27 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-07-27 01:30:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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-07-27 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-07-27 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-07-27 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-07-27 01:30:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:30:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:30:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:30:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:30: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-07-27 01:30:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:30:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:30:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984435200001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:30:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:30:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:30:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984435200001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:30:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:30:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:30:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:30:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:30:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984435200001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:30:10] local.INFO: DEBUG: GPS processor result {"connection_id":142541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:30:10] local.INFO: GPS data processed {"connection_id":142541,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:30:10] local.INFO: Acknowledgment sent {"connection_id":142541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:30:33] local.INFO: TCP Data received {"connection_id":143506,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:30:33] local.INFO: Processing buffer {"connection_id":143506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:30:33] local.INFO: IMEI packet received {"connection_id":143506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 01:30:33] local.INFO: IMEI acknowledgment sent {"connection_id":143506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 01:30:39] local.INFO: TCP Data received {"connection_id":143506,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:30:39] local.INFO: Processing buffer {"connection_id":143506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:30:39] local.INFO: IMEI packet received {"connection_id":143506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 01:30:39] local.INFO: IMEI acknowledgment sent {"connection_id":143506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 01:30:39] local.INFO: TCP Data received {"connection_id":143506,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fff8558012d7f980005afd7c0000100062b..."} 
[2026-07-27 01:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fff8558012d7f980005afd7c0000100062b..."} 
[2026-07-27 01:30:39] local.INFO: Processing buffer {"connection_id":143506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fff8558012d7f980005afd7c0000100062b..."} 
[2026-07-27 01:30:39] local.INFO: Packet analysis {"connection_id":143506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fff"} 
[2026-07-27 01:30:39] local.INFO: Extracted packet for processing {"connection_id":143506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fff"} 
[2026-07-27 01:30:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":1,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 01:30:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 01:30:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984435200001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:30:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:30:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:30:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:30:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785095751000,"timestamp_ms":1785095751000,"timestamp_seconds":1785095751,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fff8558"} 
[2026-07-27 01:30:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 01:30:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 01: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":86,"data_length":795,"current_offset":136} 
[2026-07-27 01:30:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 01:30:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 01:30:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 01:30:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:30:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:30:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:30:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:30:39] 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-07-27 01:30:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:30:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:30:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984435200001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:30:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:30:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:30:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984435200001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:30:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:30:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:30:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:30:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:30:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984435200001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:30:39] local.INFO: DEBUG: GPS processor result {"connection_id":143506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:30:39] local.INFO: GPS data processed {"connection_id":143506,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:30:39] local.INFO: Acknowledgment sent {"connection_id":143506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:31:10] local.INFO: TCP Data received {"connection_id":143506,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9fff8558012d7f980005afd7c0000100062b..."} 
[2026-07-27 01:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9fff8558012d7f980005afd7c0000100062b..."} 
[2026-07-27 01:31:10] local.INFO: Processing buffer {"connection_id":143506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9fff8558012d7f980005afd7c0000100062b..."} 
[2026-07-27 01:31:10] local.INFO: Packet analysis {"connection_id":143506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9fff"} 
[2026-07-27 01:31:10] local.INFO: Extracted packet for processing {"connection_id":143506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9fff"} 
[2026-07-27 01:31:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":1,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 01:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 01:31:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984435200001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:31:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:31:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:31:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:31:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785095751000,"timestamp_ms":1785095751000,"timestamp_seconds":1785095751,"priority":1,"record_length":96,"hex_timestamp":"0000019f9fff8558"} 
[2026-07-27 01:31:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 01:31:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 01: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-07-27 01: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-07-27 01:31:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 01:31:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 01:31:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:31:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:31:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:31:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:31: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-07-27 01:31:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:31:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:31:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984435200001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:31:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:31:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:31:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984435200001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:31:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:31:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:31:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:31:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:31:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984435200001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:31:10] local.INFO: DEBUG: GPS processor result {"connection_id":143506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:31:10] local.INFO: GPS data processed {"connection_id":143506,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:31:10] local.INFO: Acknowledgment sent {"connection_id":143506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:31:39] local.INFO: TCP Data received {"connection_id":142542,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:31:39] local.INFO: Processing buffer {"connection_id":142542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:31:39] local.INFO: IMEI packet received {"connection_id":142542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 01:31:39] local.INFO: IMEI acknowledgment sent {"connection_id":142542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 01:31:44] local.INFO: TCP Data received {"connection_id":142542,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:31:44] local.INFO: Processing buffer {"connection_id":142542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:31:44] local.INFO: IMEI packet received {"connection_id":142542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 01:31:44] local.INFO: IMEI acknowledgment sent {"connection_id":142542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 01:31:44] local.INFO: TCP Data received {"connection_id":142542,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0041d20012d7f980005afd7c00009000629..."} 
[2026-07-27 01:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0041d20012d7f980005afd7c00009000629..."} 
[2026-07-27 01:31:44] local.INFO: Processing buffer {"connection_id":142542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0041d20012d7f980005afd7c00009000629..."} 
[2026-07-27 01:31:44] local.INFO: Packet analysis {"connection_id":142542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa004"} 
[2026-07-27 01:31:44] local.INFO: Extracted packet for processing {"connection_id":142542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa004"} 
[2026-07-27 01:31:44] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":9,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 01:31:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984512256001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:31:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:31:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:31:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:31:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785096052000,"timestamp_ms":1785096052000,"timestamp_seconds":1785096052,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0041d20"} 
[2026-07-27 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-07-27 01:31:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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-07-27 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-07-27 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-07-27 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-07-27 01:31:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:31:44] local.INFO: Teltonika packet parsed successfully {"connection_id":142542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:31:44] local.INFO: Passing IMEI to GPS processor {"connection_id":142542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:31:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":142542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:31:44] 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-07-27 01:31:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:31:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:31:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984512256001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:31:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:31:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:31:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984512256001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:31:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:31:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:31:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:31:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:31:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984512256001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:31:44] local.INFO: DEBUG: GPS processor result {"connection_id":142542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:31:44] local.INFO: GPS data processed {"connection_id":142542,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:31:44] local.INFO: Acknowledgment sent {"connection_id":142542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:31:49] local.INFO: TCP Data received {"connection_id":142542,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0041d20012d7f980005afd7c00009000629..."} 
[2026-07-27 01:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0041d20012d7f980005afd7c00009000629..."} 
[2026-07-27 01:31:49] local.INFO: Processing buffer {"connection_id":142542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0041d20012d7f980005afd7c00009000629..."} 
[2026-07-27 01:31:49] local.INFO: Packet analysis {"connection_id":142542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa004"} 
[2026-07-27 01:31:49] local.INFO: Extracted packet for processing {"connection_id":142542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa004"} 
[2026-07-27 01:31:49] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":9,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 01: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-07-27 01:31:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984512256001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:31:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:31:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:31:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:31:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785096052000,"timestamp_ms":1785096052000,"timestamp_seconds":1785096052,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0041d20"} 
[2026-07-27 01:31:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 01:31:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 01: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-27 01:31:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 01: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-07-27 01:31:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 01:31:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:31:49] local.INFO: Teltonika packet parsed successfully {"connection_id":142542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:31:49] local.INFO: Passing IMEI to GPS processor {"connection_id":142542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:31:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":142542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:31:49] 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-07-27 01:31:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:31:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:31:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984512256001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:31:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:31:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:31:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984512256001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:31:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:31:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:31:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:31:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:31:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984512256001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:31:49] local.INFO: DEBUG: GPS processor result {"connection_id":142542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:31:49] local.INFO: GPS data processed {"connection_id":142542,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:31:49] local.INFO: Acknowledgment sent {"connection_id":142542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:32:33] local.INFO: TCP Data received {"connection_id":143507,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:32:33] local.INFO: Processing buffer {"connection_id":143507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:32:33] local.INFO: IMEI packet received {"connection_id":143507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 01:32:33] local.INFO: IMEI acknowledgment sent {"connection_id":143507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 01:32:39] local.INFO: TCP Data received {"connection_id":143507,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:32:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:32:39] local.INFO: Processing buffer {"connection_id":143507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:32:39] local.INFO: IMEI packet received {"connection_id":143507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 01:32:39] local.INFO: IMEI acknowledgment sent {"connection_id":143507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 01:32:39] local.INFO: TCP Data received {"connection_id":143507,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0041d20012d7f980005afd7c00009000629..."} 
[2026-07-27 01:32:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0041d20012d7f980005afd7c00009000629..."} 
[2026-07-27 01:32:39] local.INFO: Processing buffer {"connection_id":143507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0041d20012d7f980005afd7c00009000629..."} 
[2026-07-27 01:32:39] local.INFO: Packet analysis {"connection_id":143507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa004"} 
[2026-07-27 01:32:39] local.INFO: Extracted packet for processing {"connection_id":143507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa004"} 
[2026-07-27 01:32:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":9,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 01: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-07-27 01:32:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984512256001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:32:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:32:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:32:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:32:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785096052000,"timestamp_ms":1785096052000,"timestamp_seconds":1785096052,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0041d20"} 
[2026-07-27 01:32:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 01:32:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 01: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":86,"data_length":795,"current_offset":136} 
[2026-07-27 01:32:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 01: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-07-27 01:32:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 01:32:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:32:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:32:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:32:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:32:39] 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-07-27 01:32:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:32:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:32:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984512256001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:32:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:32:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:32:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984512256001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:32:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:32:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:32:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:32:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:32:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984512256001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:32:39] local.INFO: DEBUG: GPS processor result {"connection_id":143507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:32:39] local.INFO: GPS data processed {"connection_id":143507,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:32:39] local.INFO: Acknowledgment sent {"connection_id":143507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:33:11] local.INFO: TCP Data received {"connection_id":144850,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 01:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144850,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 01:33:11] local.INFO: Processing buffer {"connection_id":144850,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 01:33:11] local.INFO: IMEI packet received {"connection_id":144850,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 01:33:11] local.INFO: IMEI acknowledgment sent {"connection_id":144850,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 01:33:11] local.INFO: TCP Data received {"connection_id":143507,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0041d20012d7f980005afd7c00009000629..."} 
[2026-07-27 01:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0041d20012d7f980005afd7c00009000629..."} 
[2026-07-27 01:33:11] local.INFO: Processing buffer {"connection_id":143507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0041d20012d7f980005afd7c00009000629..."} 
[2026-07-27 01:33:11] local.INFO: Packet analysis {"connection_id":143507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa004"} 
[2026-07-27 01:33:11] local.INFO: Extracted packet for processing {"connection_id":143507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa004"} 
[2026-07-27 01:33:11] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":9,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 01:33:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984512256001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:33:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:33:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:33:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:33:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785096052000,"timestamp_ms":1785096052000,"timestamp_seconds":1785096052,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0041d20"} 
[2026-07-27 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-07-27 01:33:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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-07-27 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-07-27 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-07-27 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-07-27 01:33:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:33:11] local.INFO: Teltonika packet parsed successfully {"connection_id":143507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:33:11] local.INFO: Passing IMEI to GPS processor {"connection_id":143507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:33:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":143507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:33: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-07-27 01:33:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:33:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:33:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984512256001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:33:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:33:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:33:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984512256001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:33:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:33:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:33:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:33:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:33:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984512256001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:33:11] local.INFO: DEBUG: GPS processor result {"connection_id":143507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:33:11] local.INFO: GPS data processed {"connection_id":143507,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:33:11] local.INFO: Acknowledgment sent {"connection_id":143507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:33:33] local.INFO: TCP Data received {"connection_id":143508,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:33:33] local.INFO: Processing buffer {"connection_id":143508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:33:33] local.INFO: IMEI packet received {"connection_id":143508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 01:33:33] local.INFO: IMEI acknowledgment sent {"connection_id":143508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 01:33:39] local.INFO: TCP Data received {"connection_id":143508,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:33:39] local.INFO: Processing buffer {"connection_id":143508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:33:39] local.INFO: IMEI packet received {"connection_id":143508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 01:33:39] local.INFO: IMEI acknowledgment sent {"connection_id":143508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 01:33:39] local.INFO: TCP Data received {"connection_id":143508,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0041d20012d7f980005afd7c00009000629..."} 
[2026-07-27 01:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143508,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0041d20012d7f980005afd7c00009000629..."} 
[2026-07-27 01:33:39] local.INFO: Processing buffer {"connection_id":143508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0041d20012d7f980005afd7c00009000629..."} 
[2026-07-27 01:33:39] local.INFO: Packet analysis {"connection_id":143508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa004"} 
[2026-07-27 01:33:39] local.INFO: Extracted packet for processing {"connection_id":143508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa004"} 
[2026-07-27 01:33:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":9,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 01:33:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 01:33:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984512256001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:33:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:33:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:33:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:33:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785096052000,"timestamp_ms":1785096052000,"timestamp_seconds":1785096052,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0041d20"} 
[2026-07-27 01:33:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 01:33:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 01:33:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-27 01:33:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 01:33:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 01:33:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 01:33:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:33:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:33:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:33:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:33:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 01:33:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:33:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:33:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984512256001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:33:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:33:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:33:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984512256001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:33:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:33:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:33:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:33:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:33:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984512256001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:33:40] local.INFO: DEBUG: GPS processor result {"connection_id":143508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:33:40] local.INFO: GPS data processed {"connection_id":143508,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:33:40] local.INFO: Acknowledgment sent {"connection_id":143508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:33:45] local.INFO: TCP Data received {"connection_id":144851,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 01:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144851,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 01:33:45] local.INFO: Processing buffer {"connection_id":144851,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 01:33:45] local.INFO: IMEI packet received {"connection_id":144851,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 01:33:45] local.INFO: IMEI acknowledgment sent {"connection_id":144851,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 01:34:10] local.INFO: TCP Data received {"connection_id":143508,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0041d20012d7f980005afd7c00009000629..."} 
[2026-07-27 01:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143508,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0041d20012d7f980005afd7c00009000629..."} 
[2026-07-27 01:34:10] local.INFO: Processing buffer {"connection_id":143508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0041d20012d7f980005afd7c00009000629..."} 
[2026-07-27 01:34:10] local.INFO: Packet analysis {"connection_id":143508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa004"} 
[2026-07-27 01:34:10] local.INFO: Extracted packet for processing {"connection_id":143508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa004"} 
[2026-07-27 01:34:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":9,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 01:34:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984512256001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:34:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:34:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:34:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:34:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785096052000,"timestamp_ms":1785096052000,"timestamp_seconds":1785096052,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0041d20"} 
[2026-07-27 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-07-27 01:34:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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-07-27 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-07-27 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-07-27 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-07-27 01:34:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:34:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:34:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:34:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01: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-07-27 01:34:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:34:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:34:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984512256001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:34:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:34:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:34:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984512256001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:34:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:34:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:34:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:34:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:34:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984512256001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:34:11] local.INFO: DEBUG: GPS processor result {"connection_id":143508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:34:11] local.INFO: GPS data processed {"connection_id":143508,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:34:11] local.INFO: Acknowledgment sent {"connection_id":143508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:34:33] local.INFO: TCP Data received {"connection_id":143509,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:34:33] local.INFO: Processing buffer {"connection_id":143509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:34:33] local.INFO: IMEI packet received {"connection_id":143509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 01:34:33] local.INFO: IMEI acknowledgment sent {"connection_id":143509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 01:34:39] local.INFO: TCP Data received {"connection_id":143509,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:34:39] local.INFO: Processing buffer {"connection_id":143509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:34:39] local.INFO: IMEI packet received {"connection_id":143509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 01:34:39] local.INFO: IMEI acknowledgment sent {"connection_id":143509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 01:34:39] local.INFO: TCP Data received {"connection_id":143509,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0041d20012d7f980005afd7c00009000629..."} 
[2026-07-27 01:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0041d20012d7f980005afd7c00009000629..."} 
[2026-07-27 01:34:39] local.INFO: Processing buffer {"connection_id":143509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0041d20012d7f980005afd7c00009000629..."} 
[2026-07-27 01:34:39] local.INFO: Packet analysis {"connection_id":143509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa004"} 
[2026-07-27 01:34:39] local.INFO: Extracted packet for processing {"connection_id":143509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa004"} 
[2026-07-27 01:34:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":9,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 01:34:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 01:34:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984512256001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:34:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:34:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:34:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:34:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785096052000,"timestamp_ms":1785096052000,"timestamp_seconds":1785096052,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0041d20"} 
[2026-07-27 01:34:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 01:34:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 01:34:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-27 01:34:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 01:34:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 01:34:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 01:34:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:34:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:34:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:34:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:34:39] 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-07-27 01:34:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:34:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:34:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984512256001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:34:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:34:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:34:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984512256001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:34:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:34:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:34:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:34:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:34:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984512256001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:34:39] local.INFO: DEBUG: GPS processor result {"connection_id":143509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:34:39] local.INFO: GPS data processed {"connection_id":143509,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:34:39] local.INFO: Acknowledgment sent {"connection_id":143509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:35:11] local.INFO: TCP Data received {"connection_id":143509,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0041d20012d7f980005afd7c00009000629..."} 
[2026-07-27 01:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0041d20012d7f980005afd7c00009000629..."} 
[2026-07-27 01:35:11] local.INFO: Processing buffer {"connection_id":143509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0041d20012d7f980005afd7c00009000629..."} 
[2026-07-27 01:35:11] local.INFO: Packet analysis {"connection_id":143509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa004"} 
[2026-07-27 01:35:11] local.INFO: Extracted packet for processing {"connection_id":143509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa004"} 
[2026-07-27 01:35:11] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":9,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 01:35:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984512256001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:35:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:35:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:35:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:35:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785096052000,"timestamp_ms":1785096052000,"timestamp_seconds":1785096052,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0041d20"} 
[2026-07-27 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-07-27 01:35:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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-07-27 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-07-27 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-07-27 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-07-27 01:35:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:35:11] local.INFO: Teltonika packet parsed successfully {"connection_id":143509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:35:11] local.INFO: Passing IMEI to GPS processor {"connection_id":143509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:35:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":143509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:35: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-07-27 01:35:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:35:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:35:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984512256001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:35:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:35:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:35:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984512256001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:35:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:35:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:35:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:35:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:35:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984512256001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:35:11] local.INFO: DEBUG: GPS processor result {"connection_id":143509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:35:11] local.INFO: GPS data processed {"connection_id":143509,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:35:11] local.INFO: Acknowledgment sent {"connection_id":143509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:35:39] local.INFO: TCP Data received {"connection_id":142464,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:35:39] local.INFO: Processing buffer {"connection_id":142464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:35:39] local.INFO: IMEI packet received {"connection_id":142464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 01:35:39] local.INFO: IMEI acknowledgment sent {"connection_id":142464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 01:35:44] local.INFO: TCP Data received {"connection_id":142464,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:35:44] local.INFO: Processing buffer {"connection_id":142464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:35:44] local.INFO: IMEI packet received {"connection_id":142464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 01:35:44] local.INFO: IMEI acknowledgment sent {"connection_id":142464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 01:35:44] local.INFO: TCP Data received {"connection_id":142464,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0041d20012d7f980005afd7c00009000629..."} 
[2026-07-27 01:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0041d20012d7f980005afd7c00009000629..."} 
[2026-07-27 01:35:44] local.INFO: Processing buffer {"connection_id":142464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0041d20012d7f980005afd7c00009000629..."} 
[2026-07-27 01:35:44] local.INFO: Packet analysis {"connection_id":142464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa004"} 
[2026-07-27 01:35:44] local.INFO: Extracted packet for processing {"connection_id":142464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa004"} 
[2026-07-27 01:35:44] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":9,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 01:35:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 01:35:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984512256001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:35:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:35:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:35:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:35:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785096052000,"timestamp_ms":1785096052000,"timestamp_seconds":1785096052,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0041d20"} 
[2026-07-27 01:35:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 01:35:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 01:35: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-07-27 01:35: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-07-27 01:35:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 01:35:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 01:35:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:35:44] local.INFO: Teltonika packet parsed successfully {"connection_id":142464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:35:44] local.INFO: Passing IMEI to GPS processor {"connection_id":142464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:35:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":142464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:35:44] 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-07-27 01:35:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:35:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:35:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984512256001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:35:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:35:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:35:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984512256001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:35:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:35:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:35:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:35:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:35:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984512256001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:35:44] local.INFO: DEBUG: GPS processor result {"connection_id":142464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:35:44] local.INFO: GPS data processed {"connection_id":142464,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:35:44] local.INFO: Acknowledgment sent {"connection_id":142464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:35:49] local.INFO: TCP Data received {"connection_id":142464,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0041d20012d7f980005afd7c00009000629..."} 
[2026-07-27 01:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0041d20012d7f980005afd7c00009000629..."} 
[2026-07-27 01:35:49] local.INFO: Processing buffer {"connection_id":142464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0041d20012d7f980005afd7c00009000629..."} 
[2026-07-27 01:35:49] local.INFO: Packet analysis {"connection_id":142464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa004"} 
[2026-07-27 01:35:49] local.INFO: Extracted packet for processing {"connection_id":142464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa004"} 
[2026-07-27 01:35:49] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":9,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 01: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-07-27 01:35:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984512256001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:35:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:35:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:35:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:35:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785096052000,"timestamp_ms":1785096052000,"timestamp_seconds":1785096052,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0041d20"} 
[2026-07-27 01:35:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 01:35:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 01: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-27 01:35:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 01: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-07-27 01:35:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 01:35:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:35:49] local.INFO: Teltonika packet parsed successfully {"connection_id":142464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:35:49] local.INFO: Passing IMEI to GPS processor {"connection_id":142464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:35:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":142464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:35:49] 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-07-27 01:35:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:35:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:35:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984512256001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:35:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:35:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:35:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984512256001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:35:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:35:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:35:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:35:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:35:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984512256001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:35:49] local.INFO: DEBUG: GPS processor result {"connection_id":142464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:35:49] local.INFO: GPS data processed {"connection_id":142464,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:35:49] local.INFO: Acknowledgment sent {"connection_id":142464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:36:31] local.INFO: TCP Data received {"connection_id":144852,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:36:31] local.INFO: Processing buffer {"connection_id":144852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:36:31] local.INFO: IMEI packet received {"connection_id":144852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 01:36:31] local.INFO: IMEI acknowledgment sent {"connection_id":144852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 01:36:33] local.INFO: TCP Data received {"connection_id":144852,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:36:33] local.INFO: Processing buffer {"connection_id":144852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:36:33] local.INFO: IMEI packet received {"connection_id":144852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 01:36:33] local.INFO: IMEI acknowledgment sent {"connection_id":144852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 01:36:39] local.INFO: TCP Data received {"connection_id":144852,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:36:39] local.INFO: Processing buffer {"connection_id":144852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:36:39] local.INFO: IMEI packet received {"connection_id":144852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 01:36:39] local.INFO: IMEI acknowledgment sent {"connection_id":144852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 01:36:39] local.INFO: TCP Data received {"connection_id":144852,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa008b4e8012d7f980005afd7c00009000626..."} 
[2026-07-27 01:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa008b4e8012d7f980005afd7c00009000626..."} 
[2026-07-27 01:36:39] local.INFO: Processing buffer {"connection_id":144852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa008b4e8012d7f980005afd7c00009000626..."} 
[2026-07-27 01:36:39] local.INFO: Packet analysis {"connection_id":144852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa008"} 
[2026-07-27 01:36:39] local.INFO: Extracted packet for processing {"connection_id":144852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa008"} 
[2026-07-27 01:36:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":9,"angle":6,"satellites":38,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 01:36:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 01:36:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984589312001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:36:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:36:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:36:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:36:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785096353000,"timestamp_ms":1785096353000,"timestamp_seconds":1785096353,"priority":1,"record_length":96,"hex_timestamp":"0000019fa008b4e8"} 
[2026-07-27 01:36:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 01:36:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 01: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-07-27 01: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-07-27 01:36:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 01:36:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 01:36:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:36:39] local.INFO: Teltonika packet parsed successfully {"connection_id":144852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:36:39] local.INFO: Passing IMEI to GPS processor {"connection_id":144852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:36:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":144852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:36:39] 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-07-27 01:36:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:36:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:36:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984589312001,"66":24397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:36:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:36:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:36:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984589312001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:36:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:36:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:36:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:36:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:36:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984589312001,"power":24397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:36:39] local.INFO: DEBUG: GPS processor result {"connection_id":144852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:36:39] local.INFO: GPS data processed {"connection_id":144852,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:36:39] local.INFO: Acknowledgment sent {"connection_id":144852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:37:11] local.INFO: TCP Data received {"connection_id":144852,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa008b4e8012d7f980005afd7c00009000626..."} 
[2026-07-27 01:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa008b4e8012d7f980005afd7c00009000626..."} 
[2026-07-27 01:37:11] local.INFO: Processing buffer {"connection_id":144852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa008b4e8012d7f980005afd7c00009000626..."} 
[2026-07-27 01:37:11] local.INFO: Packet analysis {"connection_id":144852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa008"} 
[2026-07-27 01:37:11] local.INFO: Extracted packet for processing {"connection_id":144852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa008"} 
[2026-07-27 01:37:11] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":9,"angle":6,"satellites":38,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 01:37:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984589312001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:37:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:37:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:37:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:37:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785096353000,"timestamp_ms":1785096353000,"timestamp_seconds":1785096353,"priority":1,"record_length":96,"hex_timestamp":"0000019fa008b4e8"} 
[2026-07-27 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-07-27 01:37:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":86,"data_length":795,"current_offset":136} 
[2026-07-27 01:37:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 01:37:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:37:11] local.INFO: Teltonika packet parsed successfully {"connection_id":144852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:37:11] local.INFO: Passing IMEI to GPS processor {"connection_id":144852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:37:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":144852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:37: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-07-27 01:37:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:37:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:37:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984589312001,"66":24397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:37:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:37:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:37:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984589312001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:37:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:37:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:37:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:37:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:37:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984589312001,"power":24397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:37:11] local.INFO: DEBUG: GPS processor result {"connection_id":144852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:37:11] local.INFO: GPS data processed {"connection_id":144852,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:37:11] local.INFO: Acknowledgment sent {"connection_id":144852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:37:33] local.INFO: TCP Data received {"connection_id":143511,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:37:33] local.INFO: Processing buffer {"connection_id":143511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:37:33] local.INFO: IMEI packet received {"connection_id":143511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 01:37:33] local.INFO: IMEI acknowledgment sent {"connection_id":143511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 01:37:39] local.INFO: TCP Data received {"connection_id":143511,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:37:39] local.INFO: Processing buffer {"connection_id":143511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:37:39] local.INFO: IMEI packet received {"connection_id":143511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 01:37:39] local.INFO: IMEI acknowledgment sent {"connection_id":143511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 01:37:39] local.INFO: TCP Data received {"connection_id":143511,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa008b4e8012d7f980005afd7c00009000626..."} 
[2026-07-27 01:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa008b4e8012d7f980005afd7c00009000626..."} 
[2026-07-27 01:37:39] local.INFO: Processing buffer {"connection_id":143511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa008b4e8012d7f980005afd7c00009000626..."} 
[2026-07-27 01:37:39] local.INFO: Packet analysis {"connection_id":143511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa008"} 
[2026-07-27 01:37:39] local.INFO: Extracted packet for processing {"connection_id":143511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa008"} 
[2026-07-27 01:37:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":9,"angle":6,"satellites":38,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 01: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-07-27 01:37:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984589312001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:37:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:37:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:37:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:37:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785096353000,"timestamp_ms":1785096353000,"timestamp_seconds":1785096353,"priority":1,"record_length":96,"hex_timestamp":"0000019fa008b4e8"} 
[2026-07-27 01:37:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 01:37:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 01: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":86,"data_length":795,"current_offset":136} 
[2026-07-27 01:37:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 01: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-07-27 01:37:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 01:37:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:37:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:37:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:37:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:37:39] 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-07-27 01:37:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:37:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:37:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984589312001,"66":24397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:37:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:37:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:37:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984589312001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:37:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:37:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:37:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:37:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:37:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984589312001,"power":24397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:37:39] local.INFO: DEBUG: GPS processor result {"connection_id":143511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:37:39] local.INFO: GPS data processed {"connection_id":143511,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:37:39] local.INFO: Acknowledgment sent {"connection_id":143511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:38:10] local.INFO: TCP Data received {"connection_id":143511,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa008b4e8012d7f980005afd7c00009000626..."} 
[2026-07-27 01:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa008b4e8012d7f980005afd7c00009000626..."} 
[2026-07-27 01:38:10] local.INFO: Processing buffer {"connection_id":143511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa008b4e8012d7f980005afd7c00009000626..."} 
[2026-07-27 01:38:10] local.INFO: Packet analysis {"connection_id":143511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa008"} 
[2026-07-27 01:38:10] local.INFO: Extracted packet for processing {"connection_id":143511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa008"} 
[2026-07-27 01:38:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":9,"angle":6,"satellites":38,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 01:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 01:38:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984589312001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:38:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:38:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:38:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:38:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785096353000,"timestamp_ms":1785096353000,"timestamp_seconds":1785096353,"priority":1,"record_length":96,"hex_timestamp":"0000019fa008b4e8"} 
[2026-07-27 01:38:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 01:38:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 01: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-07-27 01: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-07-27 01:38:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 01:38:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 01:38:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:38:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:38:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:38:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:38: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-07-27 01:38:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:38:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:38:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984589312001,"66":24397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:38:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:38:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:38:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984589312001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:38:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:38:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:38:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:38:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:38:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984589312001,"power":24397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:38:10] local.INFO: DEBUG: GPS processor result {"connection_id":143511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:38:10] local.INFO: GPS data processed {"connection_id":143511,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:38:10] local.INFO: Acknowledgment sent {"connection_id":143511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:38:33] local.INFO: TCP Data received {"connection_id":144853,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:38:33] local.INFO: Processing buffer {"connection_id":144853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:38:33] local.INFO: IMEI packet received {"connection_id":144853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 01:38:33] local.INFO: IMEI acknowledgment sent {"connection_id":144853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 01:38:39] local.INFO: TCP Data received {"connection_id":144853,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:38:39] local.INFO: Processing buffer {"connection_id":144853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:38:39] local.INFO: IMEI packet received {"connection_id":144853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 01:38:39] local.INFO: IMEI acknowledgment sent {"connection_id":144853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 01:38:39] local.INFO: TCP Data received {"connection_id":144853,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa008b4e8012d7f980005afd7c00009000626..."} 
[2026-07-27 01:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa008b4e8012d7f980005afd7c00009000626..."} 
[2026-07-27 01:38:39] local.INFO: Processing buffer {"connection_id":144853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa008b4e8012d7f980005afd7c00009000626..."} 
[2026-07-27 01:38:39] local.INFO: Packet analysis {"connection_id":144853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa008"} 
[2026-07-27 01:38:39] local.INFO: Extracted packet for processing {"connection_id":144853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa008"} 
[2026-07-27 01:38:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":9,"angle":6,"satellites":38,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 01:38:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 01:38:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984589312001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:38:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:38:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:38:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:38:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785096353000,"timestamp_ms":1785096353000,"timestamp_seconds":1785096353,"priority":1,"record_length":96,"hex_timestamp":"0000019fa008b4e8"} 
[2026-07-27 01:38:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 01:38:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 01:38:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-27 01:38:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 01:38:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 01:38:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 01:38:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:38:39] local.INFO: Teltonika packet parsed successfully {"connection_id":144853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:38:39] local.INFO: Passing IMEI to GPS processor {"connection_id":144853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:38:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":144853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:38:39] 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-07-27 01:38:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:38:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:38:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984589312001,"66":24397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:38:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:38:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:38:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984589312001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:38:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:38:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:38:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:38:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:38:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984589312001,"power":24397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:38:39] local.INFO: DEBUG: GPS processor result {"connection_id":144853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:38:39] local.INFO: GPS data processed {"connection_id":144853,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:38:39] local.INFO: Acknowledgment sent {"connection_id":144853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:39:10] local.INFO: TCP Data received {"connection_id":144853,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa008b4e8012d7f980005afd7c00009000626..."} 
[2026-07-27 01:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa008b4e8012d7f980005afd7c00009000626..."} 
[2026-07-27 01:39:10] local.INFO: Processing buffer {"connection_id":144853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa008b4e8012d7f980005afd7c00009000626..."} 
[2026-07-27 01:39:10] local.INFO: Packet analysis {"connection_id":144853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa008"} 
[2026-07-27 01:39:10] local.INFO: Extracted packet for processing {"connection_id":144853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa008"} 
[2026-07-27 01:39:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":9,"angle":6,"satellites":38,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 01:39:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 01:39:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984589312001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:39:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:39:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:39:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:39:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785096353000,"timestamp_ms":1785096353000,"timestamp_seconds":1785096353,"priority":1,"record_length":96,"hex_timestamp":"0000019fa008b4e8"} 
[2026-07-27 01:39:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 01:39:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 01: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-07-27 01: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-07-27 01:39:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 01:39:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 01:39:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:39:10] local.INFO: Teltonika packet parsed successfully {"connection_id":144853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:39:10] local.INFO: Passing IMEI to GPS processor {"connection_id":144853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:39:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":144853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01: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-07-27 01:39:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:39:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:39:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984589312001,"66":24397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:39:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:39:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:39:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984589312001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:39:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:39:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:39:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:39:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:39:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984589312001,"power":24397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:39:10] local.INFO: DEBUG: GPS processor result {"connection_id":144853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:39:10] local.INFO: GPS data processed {"connection_id":144853,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:39:10] local.INFO: Acknowledgment sent {"connection_id":144853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:39:11] local.INFO: TCP Data received {"connection_id":142466,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 01:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142466,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 01:39:11] local.INFO: Processing buffer {"connection_id":142466,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 01:39:11] local.INFO: IMEI packet received {"connection_id":142466,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 01:39:11] local.INFO: IMEI acknowledgment sent {"connection_id":142466,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 01:39:33] local.INFO: TCP Data received {"connection_id":142467,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:39:33] local.INFO: Processing buffer {"connection_id":142467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:39:33] local.INFO: IMEI packet received {"connection_id":142467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 01:39:33] local.INFO: IMEI acknowledgment sent {"connection_id":142467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 01:39:39] local.INFO: TCP Data received {"connection_id":142467,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:39:39] local.INFO: Processing buffer {"connection_id":142467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:39:39] local.INFO: IMEI packet received {"connection_id":142467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 01:39:39] local.INFO: IMEI acknowledgment sent {"connection_id":142467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 01:39:39] local.INFO: TCP Data received {"connection_id":142467,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa008b4e8012d7f980005afd7c00009000626..."} 
[2026-07-27 01:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa008b4e8012d7f980005afd7c00009000626..."} 
[2026-07-27 01:39:39] local.INFO: Processing buffer {"connection_id":142467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa008b4e8012d7f980005afd7c00009000626..."} 
[2026-07-27 01:39:39] local.INFO: Packet analysis {"connection_id":142467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa008"} 
[2026-07-27 01:39:39] local.INFO: Extracted packet for processing {"connection_id":142467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa008"} 
[2026-07-27 01:39:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":9,"angle":6,"satellites":38,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 01:39:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 01:39:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984589312001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:39:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:39:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:39:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:39:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785096353000,"timestamp_ms":1785096353000,"timestamp_seconds":1785096353,"priority":1,"record_length":96,"hex_timestamp":"0000019fa008b4e8"} 
[2026-07-27 01:39:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 01:39:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 01: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":86,"data_length":795,"current_offset":136} 
[2026-07-27 01:39:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 01:39:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 01:39:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 01:39:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:39:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:39:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:39:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:39:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 01:39:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:39:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:39:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984589312001,"66":24397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:39:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:39:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:39:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984589312001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:39:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:39:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:39:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:39:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:39:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984589312001,"power":24397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:39:39] local.INFO: DEBUG: GPS processor result {"connection_id":142467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:39:39] local.INFO: GPS data processed {"connection_id":142467,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:39:39] local.INFO: Acknowledgment sent {"connection_id":142467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:39:46] local.INFO: TCP Data received {"connection_id":142468,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 01:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142468,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 01:39:46] local.INFO: Processing buffer {"connection_id":142468,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 01:39:46] local.INFO: IMEI packet received {"connection_id":142468,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 01:39:46] local.INFO: IMEI acknowledgment sent {"connection_id":142468,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 01:40:10] local.INFO: TCP Data received {"connection_id":142467,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa008b4e8012d7f980005afd7c00009000626..."} 
[2026-07-27 01:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa008b4e8012d7f980005afd7c00009000626..."} 
[2026-07-27 01:40:10] local.INFO: Processing buffer {"connection_id":142467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa008b4e8012d7f980005afd7c00009000626..."} 
[2026-07-27 01:40:10] local.INFO: Packet analysis {"connection_id":142467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa008"} 
[2026-07-27 01:40:10] local.INFO: Extracted packet for processing {"connection_id":142467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa008"} 
[2026-07-27 01:40:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":9,"angle":6,"satellites":38,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 01:40:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984589312001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:40:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:40:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:40:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:40:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785096353000,"timestamp_ms":1785096353000,"timestamp_seconds":1785096353,"priority":1,"record_length":96,"hex_timestamp":"0000019fa008b4e8"} 
[2026-07-27 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-07-27 01:40:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":86,"data_length":795,"current_offset":136} 
[2026-07-27 01: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-07-27 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-07-27 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-07-27 01:40:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:40:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:40:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:40:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:40: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-07-27 01:40:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:40:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:40:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984589312001,"66":24397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:40:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:40:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:40:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984589312001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:40:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:40:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:40:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:40:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:40:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984589312001,"power":24397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:40:10] local.INFO: DEBUG: GPS processor result {"connection_id":142467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:40:10] local.INFO: GPS data processed {"connection_id":142467,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:40:10] local.INFO: Acknowledgment sent {"connection_id":142467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:40:33] local.INFO: TCP Data received {"connection_id":144854,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:40:33] local.INFO: Processing buffer {"connection_id":144854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:40:33] local.INFO: IMEI packet received {"connection_id":144854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 01:40:33] local.INFO: IMEI acknowledgment sent {"connection_id":144854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 01:40:39] local.INFO: TCP Data received {"connection_id":144854,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:40:39] local.INFO: Processing buffer {"connection_id":144854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:40:39] local.INFO: IMEI packet received {"connection_id":144854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 01:40:39] local.INFO: IMEI acknowledgment sent {"connection_id":144854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 01:40:39] local.INFO: TCP Data received {"connection_id":144854,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa008b4e8012d7f980005afd7c00009000626..."} 
[2026-07-27 01:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa008b4e8012d7f980005afd7c00009000626..."} 
[2026-07-27 01:40:39] local.INFO: Processing buffer {"connection_id":144854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa008b4e8012d7f980005afd7c00009000626..."} 
[2026-07-27 01:40:39] local.INFO: Packet analysis {"connection_id":144854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa008"} 
[2026-07-27 01:40:39] local.INFO: Extracted packet for processing {"connection_id":144854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa008"} 
[2026-07-27 01:40:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":9,"angle":6,"satellites":38,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 01:40:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 01:40:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984589312001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:40:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:40:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:40:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:40:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785096353000,"timestamp_ms":1785096353000,"timestamp_seconds":1785096353,"priority":1,"record_length":96,"hex_timestamp":"0000019fa008b4e8"} 
[2026-07-27 01:40:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 01:40:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 01: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-07-27 01: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-07-27 01:40:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 01:40:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 01:40:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:40:39] local.INFO: Teltonika packet parsed successfully {"connection_id":144854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:40:39] local.INFO: Passing IMEI to GPS processor {"connection_id":144854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:40:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":144854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:40:39] 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-07-27 01:40:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:40:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:40:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984589312001,"66":24397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:40:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:40:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:40:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984589312001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:40:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:40:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:40:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:40:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:40:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984589312001,"power":24397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:40:39] local.INFO: DEBUG: GPS processor result {"connection_id":144854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:40:39] local.INFO: GPS data processed {"connection_id":144854,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:40:39] local.INFO: Acknowledgment sent {"connection_id":144854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:41:11] local.INFO: TCP Data received {"connection_id":144854,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa008b4e8012d7f980005afd7c00009000626..."} 
[2026-07-27 01:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa008b4e8012d7f980005afd7c00009000626..."} 
[2026-07-27 01:41:11] local.INFO: Processing buffer {"connection_id":144854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa008b4e8012d7f980005afd7c00009000626..."} 
[2026-07-27 01:41:11] local.INFO: Packet analysis {"connection_id":144854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa008"} 
[2026-07-27 01:41:11] local.INFO: Extracted packet for processing {"connection_id":144854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa008"} 
[2026-07-27 01:41:11] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":9,"angle":6,"satellites":38,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 01:41:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984589312001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:41:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:41:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:41:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:41:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785096353000,"timestamp_ms":1785096353000,"timestamp_seconds":1785096353,"priority":1,"record_length":96,"hex_timestamp":"0000019fa008b4e8"} 
[2026-07-27 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-07-27 01:41:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-27 01:41:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 01:41:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:41:11] local.INFO: Teltonika packet parsed successfully {"connection_id":144854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:41:11] local.INFO: Passing IMEI to GPS processor {"connection_id":144854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:41:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":144854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:41: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-07-27 01:41:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:41:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:41:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984589312001,"66":24397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:41:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:41:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:41:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984589312001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:41:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:41:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:41:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:41:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:41:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984589312001,"power":24397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:41:11] local.INFO: DEBUG: GPS processor result {"connection_id":144854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:41:11] local.INFO: GPS data processed {"connection_id":144854,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:41:11] local.INFO: Acknowledgment sent {"connection_id":144854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:41:39] local.INFO: TCP Data received {"connection_id":142469,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:41:39] local.INFO: Processing buffer {"connection_id":142469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:41:39] local.INFO: IMEI packet received {"connection_id":142469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 01:41:39] local.INFO: IMEI acknowledgment sent {"connection_id":142469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 01:41:44] local.INFO: TCP Data received {"connection_id":142469,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:41:44] local.INFO: Processing buffer {"connection_id":142469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:41:44] local.INFO: IMEI packet received {"connection_id":142469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 01:41:44] local.INFO: IMEI acknowledgment sent {"connection_id":142469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 01:41:44] local.INFO: TCP Data received {"connection_id":142469,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa00d4cb0012d7f980005afd7c00009000629..."} 
[2026-07-27 01:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa00d4cb0012d7f980005afd7c00009000629..."} 
[2026-07-27 01:41:44] local.INFO: Processing buffer {"connection_id":142469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa00d4cb0012d7f980005afd7c00009000629..."} 
[2026-07-27 01:41:44] local.INFO: Packet analysis {"connection_id":142469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa00d"} 
[2026-07-27 01:41:44] local.INFO: Extracted packet for processing {"connection_id":142469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa00d"} 
[2026-07-27 01:41:44] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":9,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 01:41:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 01:41:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984666368001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:41:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:41:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:41:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:41:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785096654000,"timestamp_ms":1785096654000,"timestamp_seconds":1785096654,"priority":1,"record_length":96,"hex_timestamp":"0000019fa00d4cb0"} 
[2026-07-27 01:41:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 01:41:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 01:41: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":95,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-27 01:41:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1366,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 01:41:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 01:41:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 01:41:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:41:44] local.INFO: Teltonika packet parsed successfully {"connection_id":142469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:41:44] local.INFO: Passing IMEI to GPS processor {"connection_id":142469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:41:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":142469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:41:44] 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-07-27 01:41:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:41:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:41:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984666368001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:41:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:41:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:41:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984666368001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:41:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:41:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:41:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:41:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:41:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984666368001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:41:44] local.INFO: DEBUG: GPS processor result {"connection_id":142469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:41:44] local.INFO: GPS data processed {"connection_id":142469,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:41:44] local.INFO: Acknowledgment sent {"connection_id":142469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:41:49] local.INFO: TCP Data received {"connection_id":142469,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa00d4cb0012d7f980005afd7c00009000629..."} 
[2026-07-27 01:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa00d4cb0012d7f980005afd7c00009000629..."} 
[2026-07-27 01:41:49] local.INFO: Processing buffer {"connection_id":142469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa00d4cb0012d7f980005afd7c00009000629..."} 
[2026-07-27 01:41:49] local.INFO: Packet analysis {"connection_id":142469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa00d"} 
[2026-07-27 01:41:49] local.INFO: Extracted packet for processing {"connection_id":142469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa00d"} 
[2026-07-27 01:41:49] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":9,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 01: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-07-27 01:41:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984666368001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:41:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:41:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:41:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:41:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785096654000,"timestamp_ms":1785096654000,"timestamp_seconds":1785096654,"priority":1,"record_length":96,"hex_timestamp":"0000019fa00d4cb0"} 
[2026-07-27 01:41:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 01:41:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 01: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":95,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-27 01:41:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1366,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 01: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-07-27 01:41:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 01:41:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:41:49] local.INFO: Teltonika packet parsed successfully {"connection_id":142469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:41:49] local.INFO: Passing IMEI to GPS processor {"connection_id":142469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:41:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":142469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:41:49] 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-07-27 01:41:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:41:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:41:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984666368001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:41:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:41:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:41:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984666368001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:41:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:41:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:41:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:41:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:41:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984666368001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:41:49] local.INFO: DEBUG: GPS processor result {"connection_id":142469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:41:49] local.INFO: GPS data processed {"connection_id":142469,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:41:49] local.INFO: Acknowledgment sent {"connection_id":142469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:42:33] local.INFO: TCP Data received {"connection_id":144855,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:42:33] local.INFO: Processing buffer {"connection_id":144855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:42:33] local.INFO: IMEI packet received {"connection_id":144855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 01:42:33] local.INFO: IMEI acknowledgment sent {"connection_id":144855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 01:42:38] local.INFO: TCP Data received {"connection_id":144855,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:42:38] local.INFO: Processing buffer {"connection_id":144855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:42:38] local.INFO: IMEI packet received {"connection_id":144855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 01:42:38] local.INFO: IMEI acknowledgment sent {"connection_id":144855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 01:42:39] local.INFO: TCP Data received {"connection_id":144855,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa00d4cb0012d7f980005afd7c00009000629..."} 
[2026-07-27 01:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144855,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa00d4cb0012d7f980005afd7c00009000629..."} 
[2026-07-27 01:42:39] local.INFO: Processing buffer {"connection_id":144855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa00d4cb0012d7f980005afd7c00009000629..."} 
[2026-07-27 01:42:39] local.INFO: Packet analysis {"connection_id":144855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa00d"} 
[2026-07-27 01:42:39] local.INFO: Extracted packet for processing {"connection_id":144855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa00d"} 
[2026-07-27 01:42:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":9,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 01:42:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 01:42:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984666368001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:42:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:42:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:42:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:42:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785096654000,"timestamp_ms":1785096654000,"timestamp_seconds":1785096654,"priority":1,"record_length":96,"hex_timestamp":"0000019fa00d4cb0"} 
[2026-07-27 01:42:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 01:42:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 01: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":95,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-27 01:42:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1366,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 01:42:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 01:42:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 01:42:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:42:39] local.INFO: Teltonika packet parsed successfully {"connection_id":144855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:42:39] local.INFO: Passing IMEI to GPS processor {"connection_id":144855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:42:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":144855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:42:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 01:42:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:42:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:42:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984666368001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:42:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:42:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:42:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984666368001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:42:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:42:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:42:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:42:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:42:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984666368001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:42:39] local.INFO: DEBUG: GPS processor result {"connection_id":144855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:42:39] local.INFO: GPS data processed {"connection_id":144855,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:42:39] local.INFO: Acknowledgment sent {"connection_id":144855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:43:10] local.INFO: TCP Data received {"connection_id":144855,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa00d4cb0012d7f980005afd7c00009000629..."} 
[2026-07-27 01:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144855,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa00d4cb0012d7f980005afd7c00009000629..."} 
[2026-07-27 01:43:10] local.INFO: Processing buffer {"connection_id":144855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa00d4cb0012d7f980005afd7c00009000629..."} 
[2026-07-27 01:43:10] local.INFO: Packet analysis {"connection_id":144855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa00d"} 
[2026-07-27 01:43:10] local.INFO: Extracted packet for processing {"connection_id":144855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa00d"} 
[2026-07-27 01:43:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":9,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 01:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 01:43:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984666368001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:43:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:43:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:43:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:43:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785096654000,"timestamp_ms":1785096654000,"timestamp_seconds":1785096654,"priority":1,"record_length":96,"hex_timestamp":"0000019fa00d4cb0"} 
[2026-07-27 01:43:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 01:43:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 01: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":95,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-27 01:43:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1366,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 01:43:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 01:43:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 01:43:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:43:10] local.INFO: Teltonika packet parsed successfully {"connection_id":144855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:43:10] local.INFO: Passing IMEI to GPS processor {"connection_id":144855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:43:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":144855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:43: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-07-27 01:43:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:43:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:43:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984666368001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:43:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:43:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:43:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984666368001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:43:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:43:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:43:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:43:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:43:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984666368001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:43:10] local.INFO: DEBUG: GPS processor result {"connection_id":144855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:43:10] local.INFO: GPS data processed {"connection_id":144855,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:43:10] local.INFO: Acknowledgment sent {"connection_id":144855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:43:33] local.INFO: TCP Data received {"connection_id":142545,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:43:33] local.INFO: Processing buffer {"connection_id":142545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:43:33] local.INFO: IMEI packet received {"connection_id":142545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 01:43:33] local.INFO: IMEI acknowledgment sent {"connection_id":142545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 01:43:39] local.INFO: TCP Data received {"connection_id":142545,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:43:39] local.INFO: Processing buffer {"connection_id":142545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:43:39] local.INFO: IMEI packet received {"connection_id":142545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 01:43:39] local.INFO: IMEI acknowledgment sent {"connection_id":142545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 01:43:39] local.INFO: TCP Data received {"connection_id":142545,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa00d4cb0012d7f980005afd7c00009000629..."} 
[2026-07-27 01:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142545,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa00d4cb0012d7f980005afd7c00009000629..."} 
[2026-07-27 01:43:39] local.INFO: Processing buffer {"connection_id":142545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa00d4cb0012d7f980005afd7c00009000629..."} 
[2026-07-27 01:43:39] local.INFO: Packet analysis {"connection_id":142545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa00d"} 
[2026-07-27 01:43:39] local.INFO: Extracted packet for processing {"connection_id":142545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa00d"} 
[2026-07-27 01:43:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":9,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 01:43:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 01:43:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984666368001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:43:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:43:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:43:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:43:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785096654000,"timestamp_ms":1785096654000,"timestamp_seconds":1785096654,"priority":1,"record_length":96,"hex_timestamp":"0000019fa00d4cb0"} 
[2026-07-27 01:43:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 01:43:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 01:43:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-27 01:43:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1366,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 01:43:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 01:43:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 01:43:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:43:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:43:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:43:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:43:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 01:43:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:43:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:43:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984666368001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:43:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:43:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:43:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984666368001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:43:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:43:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:43:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:43:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:43:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984666368001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:43:39] local.INFO: DEBUG: GPS processor result {"connection_id":142545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:43:39] local.INFO: GPS data processed {"connection_id":142545,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:43:39] local.INFO: Acknowledgment sent {"connection_id":142545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:44:11] local.INFO: TCP Data received {"connection_id":142545,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa00d4cb0012d7f980005afd7c00009000629..."} 
[2026-07-27 01:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142545,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa00d4cb0012d7f980005afd7c00009000629..."} 
[2026-07-27 01:44:11] local.INFO: Processing buffer {"connection_id":142545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa00d4cb0012d7f980005afd7c00009000629..."} 
[2026-07-27 01:44:11] local.INFO: Packet analysis {"connection_id":142545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa00d"} 
[2026-07-27 01:44:11] local.INFO: Extracted packet for processing {"connection_id":142545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa00d"} 
[2026-07-27 01:44:11] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":9,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 01:44:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 01:44:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984666368001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:44:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:44:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:44:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:44:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785096654000,"timestamp_ms":1785096654000,"timestamp_seconds":1785096654,"priority":1,"record_length":96,"hex_timestamp":"0000019fa00d4cb0"} 
[2026-07-27 01:44:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 01:44:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 01: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":95,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-27 01:44:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1366,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 01:44:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 01:44:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 01:44:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:44:11] local.INFO: Teltonika packet parsed successfully {"connection_id":142545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:44:11] local.INFO: Passing IMEI to GPS processor {"connection_id":142545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:44:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":142545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:44: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-07-27 01:44:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:44:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:44:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984666368001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:44:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:44:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:44:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984666368001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:44:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:44:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:44:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:44:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:44:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984666368001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:44:11] local.INFO: DEBUG: GPS processor result {"connection_id":142545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:44:11] local.INFO: GPS data processed {"connection_id":142545,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:44:11] local.INFO: Acknowledgment sent {"connection_id":142545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:44:39] local.INFO: TCP Data received {"connection_id":142470,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:44:39] local.INFO: Processing buffer {"connection_id":142470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:44:39] local.INFO: IMEI packet received {"connection_id":142470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 01:44:39] local.INFO: IMEI acknowledgment sent {"connection_id":142470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 01:44:44] local.INFO: TCP Data received {"connection_id":142470,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:44:44] local.INFO: Processing buffer {"connection_id":142470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:44:44] local.INFO: IMEI packet received {"connection_id":142470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 01:44:44] local.INFO: IMEI acknowledgment sent {"connection_id":142470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 01:44:44] local.INFO: TCP Data received {"connection_id":142470,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa00d4cb0012d7f980005afd7c00009000629..."} 
[2026-07-27 01:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa00d4cb0012d7f980005afd7c00009000629..."} 
[2026-07-27 01:44:44] local.INFO: Processing buffer {"connection_id":142470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa00d4cb0012d7f980005afd7c00009000629..."} 
[2026-07-27 01:44:44] local.INFO: Packet analysis {"connection_id":142470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa00d"} 
[2026-07-27 01:44:44] local.INFO: Extracted packet for processing {"connection_id":142470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa00d"} 
[2026-07-27 01:44:44] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":9,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 01:44:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 01:44:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984666368001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:44:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:44:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:44:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:44:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785096654000,"timestamp_ms":1785096654000,"timestamp_seconds":1785096654,"priority":1,"record_length":96,"hex_timestamp":"0000019fa00d4cb0"} 
[2026-07-27 01:44:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 01:44:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 01:44:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-27 01:44:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1366,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 01:44:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 01:44:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 01:44:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:44:44] local.INFO: Teltonika packet parsed successfully {"connection_id":142470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:44:44] local.INFO: Passing IMEI to GPS processor {"connection_id":142470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:44:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":142470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:44:44] 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-07-27 01:44:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:44:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:44:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984666368001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:44:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:44:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:44:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984666368001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:44:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:44:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:44:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:44:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:44:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984666368001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:44:44] local.INFO: DEBUG: GPS processor result {"connection_id":142470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:44:44] local.INFO: GPS data processed {"connection_id":142470,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:44:44] local.INFO: Acknowledgment sent {"connection_id":142470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:44:49] local.INFO: TCP Data received {"connection_id":142470,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa00d4cb0012d7f980005afd7c00009000629..."} 
[2026-07-27 01:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa00d4cb0012d7f980005afd7c00009000629..."} 
[2026-07-27 01:44:49] local.INFO: Processing buffer {"connection_id":142470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa00d4cb0012d7f980005afd7c00009000629..."} 
[2026-07-27 01:44:49] local.INFO: Packet analysis {"connection_id":142470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa00d"} 
[2026-07-27 01:44:49] local.INFO: Extracted packet for processing {"connection_id":142470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa00d"} 
[2026-07-27 01:44:49] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":9,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 01: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-07-27 01:44:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984666368001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:44:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:44:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:44:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:44:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785096654000,"timestamp_ms":1785096654000,"timestamp_seconds":1785096654,"priority":1,"record_length":96,"hex_timestamp":"0000019fa00d4cb0"} 
[2026-07-27 01:44:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 01:44:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 01: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":95,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-27 01:44:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1366,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 01: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-07-27 01:44:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 01:44:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:44:49] local.INFO: Teltonika packet parsed successfully {"connection_id":142470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:44:49] local.INFO: Passing IMEI to GPS processor {"connection_id":142470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:44:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":142470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:44:49] 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-07-27 01:44:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:44:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:44:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984666368001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:44:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:44:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:44:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984666368001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:44:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:44:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:44:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:44:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:44:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984666368001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:44:49] local.INFO: DEBUG: GPS processor result {"connection_id":142470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:44:49] local.INFO: GPS data processed {"connection_id":142470,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:44:49] local.INFO: Acknowledgment sent {"connection_id":142470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:45:16] local.INFO: TCP Data received {"connection_id":143514,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 01:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143514,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 01:45:16] local.INFO: Processing buffer {"connection_id":143514,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 01:45:16] local.INFO: IMEI packet received {"connection_id":143514,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 01:45:16] local.INFO: IMEI acknowledgment sent {"connection_id":143514,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 01:45:35] local.INFO: TCP Data received {"connection_id":144857,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:45:35] local.INFO: Processing buffer {"connection_id":144857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:45:35] local.INFO: IMEI packet received {"connection_id":144857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 01:45:35] local.INFO: IMEI acknowledgment sent {"connection_id":144857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 01:45:38] local.INFO: TCP Data received {"connection_id":144857,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:45:38] local.INFO: Processing buffer {"connection_id":144857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:45:38] local.INFO: IMEI packet received {"connection_id":144857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 01:45:38] local.INFO: IMEI acknowledgment sent {"connection_id":144857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 01:45:39] local.INFO: TCP Data received {"connection_id":144857,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa00d4cb0012d7f980005afd7c00009000629..."} 
[2026-07-27 01:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa00d4cb0012d7f980005afd7c00009000629..."} 
[2026-07-27 01:45:39] local.INFO: Processing buffer {"connection_id":144857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa00d4cb0012d7f980005afd7c00009000629..."} 
[2026-07-27 01:45:39] local.INFO: Packet analysis {"connection_id":144857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa00d"} 
[2026-07-27 01:45:39] local.INFO: Extracted packet for processing {"connection_id":144857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa00d"} 
[2026-07-27 01:45:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":9,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 01:45:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 01:45:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984666368001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:45:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:45:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:45:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:45:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785096654000,"timestamp_ms":1785096654000,"timestamp_seconds":1785096654,"priority":1,"record_length":96,"hex_timestamp":"0000019fa00d4cb0"} 
[2026-07-27 01:45:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 01:45:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 01: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":95,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-27 01:45:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1366,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 01:45:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 01:45:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 01:45:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:45:39] local.INFO: Teltonika packet parsed successfully {"connection_id":144857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:45:39] local.INFO: Passing IMEI to GPS processor {"connection_id":144857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:45:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":144857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:45:39] 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-07-27 01:45:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:45:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:45:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984666368001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:45:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:45:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:45:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984666368001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:45:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:45:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:45:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:45:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:45:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984666368001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:45:39] local.INFO: DEBUG: GPS processor result {"connection_id":144857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:45:39] local.INFO: GPS data processed {"connection_id":144857,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:45:39] local.INFO: Acknowledgment sent {"connection_id":144857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:45:44] local.INFO: TCP Data received {"connection_id":144857,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa00d4cb0012d7f980005afd7c00009000629..."} 
[2026-07-27 01:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa00d4cb0012d7f980005afd7c00009000629..."} 
[2026-07-27 01:45:44] local.INFO: Processing buffer {"connection_id":144857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa00d4cb0012d7f980005afd7c00009000629..."} 
[2026-07-27 01:45:44] local.INFO: Packet analysis {"connection_id":144857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa00d"} 
[2026-07-27 01:45:44] local.INFO: Extracted packet for processing {"connection_id":144857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa00d"} 
[2026-07-27 01:45:44] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":9,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 01: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-07-27 01:45:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984666368001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:45:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:45:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:45:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:45:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785096654000,"timestamp_ms":1785096654000,"timestamp_seconds":1785096654,"priority":1,"record_length":96,"hex_timestamp":"0000019fa00d4cb0"} 
[2026-07-27 01:45:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 01:45:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 01: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":95,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-27 01:45:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1366,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 01: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-07-27 01:45:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 01:45:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:45:44] local.INFO: Teltonika packet parsed successfully {"connection_id":144857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:45:44] local.INFO: Passing IMEI to GPS processor {"connection_id":144857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:45:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":144857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:45:44] 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-07-27 01:45:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:45:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:45:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984666368001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:45:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:45:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:45:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984666368001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:45:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:45:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:45:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:45:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:45:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984666368001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:45:44] local.INFO: DEBUG: GPS processor result {"connection_id":144857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:45:44] local.INFO: GPS data processed {"connection_id":144857,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:45:44] local.INFO: Acknowledgment sent {"connection_id":144857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:45:46] local.INFO: TCP Data received {"connection_id":142471,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 01:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142471,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 01:45:46] local.INFO: Processing buffer {"connection_id":142471,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 01:45:46] local.INFO: IMEI packet received {"connection_id":142471,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 01:45:46] local.INFO: IMEI acknowledgment sent {"connection_id":142471,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 01:46:15] local.INFO: TCP Data received {"connection_id":144857,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa00d4cb0012d7f980005afd7c00009000629..."} 
[2026-07-27 01:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa00d4cb0012d7f980005afd7c00009000629..."} 
[2026-07-27 01:46:15] local.INFO: Processing buffer {"connection_id":144857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa00d4cb0012d7f980005afd7c00009000629..."} 
[2026-07-27 01:46:15] local.INFO: Packet analysis {"connection_id":144857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa00d"} 
[2026-07-27 01:46:15] local.INFO: Extracted packet for processing {"connection_id":144857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa00d"} 
[2026-07-27 01:46:15] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":9,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 01: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-07-27 01:46:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984666368001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:46:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:46:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:46:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:46:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785096654000,"timestamp_ms":1785096654000,"timestamp_seconds":1785096654,"priority":1,"record_length":96,"hex_timestamp":"0000019fa00d4cb0"} 
[2026-07-27 01:46:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 01:46:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 01: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":95,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-27 01:46:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1366,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 01: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-07-27 01:46:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 01:46:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:46:15] local.INFO: Teltonika packet parsed successfully {"connection_id":144857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:46:15] local.INFO: Passing IMEI to GPS processor {"connection_id":144857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:46:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":144857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:46: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-07-27 01:46:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:46:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:46:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984666368001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:46:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:46:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:46:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984666368001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:46:15] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:46:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:46:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:46:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:46:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984666368001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:46:15] local.INFO: DEBUG: GPS processor result {"connection_id":144857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:46:15] local.INFO: GPS data processed {"connection_id":144857,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:46:15] local.INFO: Acknowledgment sent {"connection_id":144857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:46:33] local.INFO: TCP Data received {"connection_id":142472,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:46:33] local.INFO: Processing buffer {"connection_id":142472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:46:33] local.INFO: IMEI packet received {"connection_id":142472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 01:46:33] local.INFO: IMEI acknowledgment sent {"connection_id":142472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 01:46:34] local.INFO: TCP Data received {"connection_id":142472,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:46:34] local.INFO: Processing buffer {"connection_id":142472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:46:34] local.INFO: IMEI packet received {"connection_id":142472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 01:46:34] local.INFO: IMEI acknowledgment sent {"connection_id":142472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 01:46:38] local.INFO: TCP Data received {"connection_id":142472,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:46:38] local.INFO: Processing buffer {"connection_id":142472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:46:38] local.INFO: IMEI packet received {"connection_id":142472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 01:46:38] local.INFO: IMEI acknowledgment sent {"connection_id":142472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 01:46:39] local.INFO: TCP Data received {"connection_id":142472,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019fa011e478012d7f980005afd7c0000900062a..."} 
[2026-07-27 01:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa011e478012d7f980005afd7c0000900062a..."} 
[2026-07-27 01:46:39] local.INFO: Processing buffer {"connection_id":142472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa011e478012d7f980005afd7c0000900062a..."} 
[2026-07-27 01:46:39] local.INFO: Packet analysis {"connection_id":142472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa011"} 
[2026-07-27 01:46:39] local.INFO: Extracted packet for processing {"connection_id":142472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa011"} 
[2026-07-27 01:46:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":9,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 01:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 01:46:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984743424001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:46:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:46:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:46:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:46:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785096955000,"timestamp_ms":1785096955000,"timestamp_seconds":1785096955,"priority":1,"record_length":96,"hex_timestamp":"0000019fa011e478"} 
[2026-07-27 01:46:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 01:46:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 01:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-27 01: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-07-27 01:46:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 01:46:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 01:46:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:46:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:46:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:46:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:46:39] 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-07-27 01:46:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:46:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:46:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984743424001,"66":24734,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:46:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:46:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:46:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984743424001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:46:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:46:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:46:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:46:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:46:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984743424001,"power":24734,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:46:39] local.INFO: DEBUG: GPS processor result {"connection_id":142472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:46:39] local.INFO: GPS data processed {"connection_id":142472,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:46:39] local.INFO: Acknowledgment sent {"connection_id":142472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:47:10] local.INFO: TCP Data received {"connection_id":142472,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019fa011e478012d7f980005afd7c0000900062a..."} 
[2026-07-27 01:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa011e478012d7f980005afd7c0000900062a..."} 
[2026-07-27 01:47:10] local.INFO: Processing buffer {"connection_id":142472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa011e478012d7f980005afd7c0000900062a..."} 
[2026-07-27 01:47:10] local.INFO: Packet analysis {"connection_id":142472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa011"} 
[2026-07-27 01:47:10] local.INFO: Extracted packet for processing {"connection_id":142472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa011"} 
[2026-07-27 01:47:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":9,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 01:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 01:47:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984743424001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:47:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:47:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:47:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:47:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785096955000,"timestamp_ms":1785096955000,"timestamp_seconds":1785096955,"priority":1,"record_length":96,"hex_timestamp":"0000019fa011e478"} 
[2026-07-27 01:47:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 01:47:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 01: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":86,"data_length":795,"current_offset":136} 
[2026-07-27 01:47:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 01:47:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 01:47:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 01:47:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:47:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:47:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:47:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01: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-07-27 01:47:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:47:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:47:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984743424001,"66":24734,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:47:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:47:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:47:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984743424001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:47:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:47:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:47:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:47:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:47:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984743424001,"power":24734,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:47:10] local.INFO: DEBUG: GPS processor result {"connection_id":142472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:47:10] local.INFO: GPS data processed {"connection_id":142472,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:47:10] local.INFO: Acknowledgment sent {"connection_id":142472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:47:33] local.INFO: TCP Data received {"connection_id":144858,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:47:33] local.INFO: Processing buffer {"connection_id":144858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:47:33] local.INFO: IMEI packet received {"connection_id":144858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 01:47:33] local.INFO: IMEI acknowledgment sent {"connection_id":144858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 01:47:38] local.INFO: TCP Data received {"connection_id":144858,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:47:38] local.INFO: Processing buffer {"connection_id":144858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:47:38] local.INFO: IMEI packet received {"connection_id":144858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 01:47:38] local.INFO: IMEI acknowledgment sent {"connection_id":144858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 01:47:39] local.INFO: TCP Data received {"connection_id":144858,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019fa011e478012d7f980005afd7c0000900062a..."} 
[2026-07-27 01:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa011e478012d7f980005afd7c0000900062a..."} 
[2026-07-27 01:47:39] local.INFO: Processing buffer {"connection_id":144858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa011e478012d7f980005afd7c0000900062a..."} 
[2026-07-27 01:47:39] local.INFO: Packet analysis {"connection_id":144858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa011"} 
[2026-07-27 01:47:39] local.INFO: Extracted packet for processing {"connection_id":144858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa011"} 
[2026-07-27 01:47:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":9,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 01: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-07-27 01:47:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984743424001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:47:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:47:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:47:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:47:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785096955000,"timestamp_ms":1785096955000,"timestamp_seconds":1785096955,"priority":1,"record_length":96,"hex_timestamp":"0000019fa011e478"} 
[2026-07-27 01:47:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 01:47:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 01: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":86,"data_length":795,"current_offset":136} 
[2026-07-27 01:47:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 01: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-07-27 01:47:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 01:47:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:47:39] local.INFO: Teltonika packet parsed successfully {"connection_id":144858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:47:39] local.INFO: Passing IMEI to GPS processor {"connection_id":144858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:47:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":144858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:47:39] 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-07-27 01:47:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:47:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:47:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984743424001,"66":24734,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:47:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:47:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:47:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984743424001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:47:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:47:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:47:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:47:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:47:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984743424001,"power":24734,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:47:39] local.INFO: DEBUG: GPS processor result {"connection_id":144858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:47:39] local.INFO: GPS data processed {"connection_id":144858,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:47:39] local.INFO: Acknowledgment sent {"connection_id":144858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:48:10] local.INFO: TCP Data received {"connection_id":144858,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019fa011e478012d7f980005afd7c0000900062a..."} 
[2026-07-27 01:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa011e478012d7f980005afd7c0000900062a..."} 
[2026-07-27 01:48:10] local.INFO: Processing buffer {"connection_id":144858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa011e478012d7f980005afd7c0000900062a..."} 
[2026-07-27 01:48:10] local.INFO: Packet analysis {"connection_id":144858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa011"} 
[2026-07-27 01:48:10] local.INFO: Extracted packet for processing {"connection_id":144858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa011"} 
[2026-07-27 01:48:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":9,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 01:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 01:48:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984743424001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:48:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:48:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:48:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:48:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785096955000,"timestamp_ms":1785096955000,"timestamp_seconds":1785096955,"priority":1,"record_length":96,"hex_timestamp":"0000019fa011e478"} 
[2026-07-27 01:48:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 01:48:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 01: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-07-27 01: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-07-27 01:48:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 01:48:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 01:48:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:48:10] local.INFO: Teltonika packet parsed successfully {"connection_id":144858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:48:10] local.INFO: Passing IMEI to GPS processor {"connection_id":144858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:48:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":144858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01: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-07-27 01:48:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:48:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:48:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984743424001,"66":24734,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:48:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:48:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:48:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984743424001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:48:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:48:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:48:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:48:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:48:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984743424001,"power":24734,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:48:10] local.INFO: DEBUG: GPS processor result {"connection_id":144858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:48:10] local.INFO: GPS data processed {"connection_id":144858,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:48:10] local.INFO: Acknowledgment sent {"connection_id":144858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:48:38] local.INFO: TCP Data received {"connection_id":143515,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:48:38] local.INFO: Processing buffer {"connection_id":143515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:48:38] local.INFO: IMEI packet received {"connection_id":143515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 01:48:38] local.INFO: IMEI acknowledgment sent {"connection_id":143515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 01:48:44] local.INFO: TCP Data received {"connection_id":143515,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:48:44] local.INFO: Processing buffer {"connection_id":143515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:48:44] local.INFO: IMEI packet received {"connection_id":143515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 01:48:44] local.INFO: IMEI acknowledgment sent {"connection_id":143515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 01:48:44] local.INFO: TCP Data received {"connection_id":143515,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa011e478012d7f980005afd7c0000900062a..."} 
[2026-07-27 01:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa011e478012d7f980005afd7c0000900062a..."} 
[2026-07-27 01:48:44] local.INFO: Processing buffer {"connection_id":143515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa011e478012d7f980005afd7c0000900062a..."} 
[2026-07-27 01:48:44] local.INFO: Packet analysis {"connection_id":143515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa011"} 
[2026-07-27 01:48:44] local.INFO: Extracted packet for processing {"connection_id":143515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa011"} 
[2026-07-27 01:48:44] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":9,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 01:48:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 01:48:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984743424001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:48:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:48:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:48:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:48:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785096955000,"timestamp_ms":1785096955000,"timestamp_seconds":1785096955,"priority":1,"record_length":96,"hex_timestamp":"0000019fa011e478"} 
[2026-07-27 01:48:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 01:48:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 01:48: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-07-27 01:48: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-07-27 01:48:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 01:48:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 01:48:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:48:44] local.INFO: Teltonika packet parsed successfully {"connection_id":143515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:48:44] local.INFO: Passing IMEI to GPS processor {"connection_id":143515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:48:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":143515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:48: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-07-27 01:48:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:48:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:48:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984743424001,"66":24734,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:48:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:48:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:48:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984743424001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:48:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:48:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:48:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:48:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:48:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984743424001,"power":24734,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:48:44] local.INFO: DEBUG: GPS processor result {"connection_id":143515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:48:44] local.INFO: GPS data processed {"connection_id":143515,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:48:44] local.INFO: Acknowledgment sent {"connection_id":143515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:49:16] local.INFO: TCP Data received {"connection_id":143515,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa011e478012d7f980005afd7c0000900062a..."} 
[2026-07-27 01:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa011e478012d7f980005afd7c0000900062a..."} 
[2026-07-27 01:49:16] local.INFO: Processing buffer {"connection_id":143515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa011e478012d7f980005afd7c0000900062a..."} 
[2026-07-27 01:49:16] local.INFO: Packet analysis {"connection_id":143515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa011"} 
[2026-07-27 01:49:16] local.INFO: Extracted packet for processing {"connection_id":143515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa011"} 
[2026-07-27 01:49:16] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":9,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 01:49:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 01:49:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984743424001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:49:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:49:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:49:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:49:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785096955000,"timestamp_ms":1785096955000,"timestamp_seconds":1785096955,"priority":1,"record_length":96,"hex_timestamp":"0000019fa011e478"} 
[2026-07-27 01:49:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 01:49:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 01:49:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-27 01:49: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-07-27 01:49:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 01:49:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 01:49:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:49:16] local.INFO: Teltonika packet parsed successfully {"connection_id":143515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:49:16] local.INFO: Passing IMEI to GPS processor {"connection_id":143515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:49:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":143515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:49: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-07-27 01:49:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:49:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:49:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984743424001,"66":24734,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:49:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:49:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:49:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984743424001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:49:16] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:49:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:49:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:49:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:49:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984743424001,"power":24734,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:49:16] local.INFO: DEBUG: GPS processor result {"connection_id":143515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:49:16] local.INFO: GPS data processed {"connection_id":143515,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:49:16] local.INFO: Acknowledgment sent {"connection_id":143515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:49:33] local.INFO: TCP Data received {"connection_id":142548,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:49:33] local.INFO: Processing buffer {"connection_id":142548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:49:33] local.INFO: IMEI packet received {"connection_id":142548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 01:49:33] local.INFO: IMEI acknowledgment sent {"connection_id":142548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 01:49:38] local.INFO: TCP Data received {"connection_id":142548,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:49:38] local.INFO: Processing buffer {"connection_id":142548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:49:38] local.INFO: IMEI packet received {"connection_id":142548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 01:49:38] local.INFO: IMEI acknowledgment sent {"connection_id":142548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 01:49:39] local.INFO: TCP Data received {"connection_id":142548,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019fa011e478012d7f980005afd7c0000900062a..."} 
[2026-07-27 01:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa011e478012d7f980005afd7c0000900062a..."} 
[2026-07-27 01:49:39] local.INFO: Processing buffer {"connection_id":142548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa011e478012d7f980005afd7c0000900062a..."} 
[2026-07-27 01:49:39] local.INFO: Packet analysis {"connection_id":142548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa011"} 
[2026-07-27 01:49:39] local.INFO: Extracted packet for processing {"connection_id":142548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa011"} 
[2026-07-27 01:49:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":9,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 01:49:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 01:49:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984743424001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:49:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:49:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:49:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:49:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785096955000,"timestamp_ms":1785096955000,"timestamp_seconds":1785096955,"priority":1,"record_length":96,"hex_timestamp":"0000019fa011e478"} 
[2026-07-27 01:49:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 01:49:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 01: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":86,"data_length":795,"current_offset":136} 
[2026-07-27 01:49:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 01:49:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 01:49:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 01:49:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:49:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:49:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:49:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:49:39] 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-07-27 01:49:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:49:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:49:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984743424001,"66":24734,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:49:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:49:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:49:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984743424001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:49:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:49:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:49:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:49:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:49:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984743424001,"power":24734,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:49:39] local.INFO: DEBUG: GPS processor result {"connection_id":142548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:49:39] local.INFO: GPS data processed {"connection_id":142548,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:49:39] local.INFO: Acknowledgment sent {"connection_id":142548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:50:10] local.INFO: TCP Data received {"connection_id":142548,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019fa011e478012d7f980005afd7c0000900062a..."} 
[2026-07-27 01:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa011e478012d7f980005afd7c0000900062a..."} 
[2026-07-27 01:50:10] local.INFO: Processing buffer {"connection_id":142548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa011e478012d7f980005afd7c0000900062a..."} 
[2026-07-27 01:50:10] local.INFO: Packet analysis {"connection_id":142548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa011"} 
[2026-07-27 01:50:10] local.INFO: Extracted packet for processing {"connection_id":142548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa011"} 
[2026-07-27 01:50:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":9,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 01:50:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984743424001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:50:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:50:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:50:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:50:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785096955000,"timestamp_ms":1785096955000,"timestamp_seconds":1785096955,"priority":1,"record_length":96,"hex_timestamp":"0000019fa011e478"} 
[2026-07-27 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-07-27 01:50:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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-07-27 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-07-27 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-07-27 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-07-27 01:50:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:50:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:50:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:50:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:50: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-07-27 01:50:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:50:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:50:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984743424001,"66":24734,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:50:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:50:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:50:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984743424001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:50:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:50:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:50:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:50:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:50:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984743424001,"power":24734,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:50:11] local.INFO: DEBUG: GPS processor result {"connection_id":142548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:50:11] local.INFO: GPS data processed {"connection_id":142548,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:50:11] local.INFO: Acknowledgment sent {"connection_id":142548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:50:33] local.INFO: TCP Data received {"connection_id":142474,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:50:33] local.INFO: Processing buffer {"connection_id":142474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:50:33] local.INFO: IMEI packet received {"connection_id":142474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 01:50:33] local.INFO: IMEI acknowledgment sent {"connection_id":142474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 01:50:38] local.INFO: TCP Data received {"connection_id":142474,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:50:38] local.INFO: Processing buffer {"connection_id":142474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:50:38] local.INFO: IMEI packet received {"connection_id":142474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 01:50:38] local.INFO: IMEI acknowledgment sent {"connection_id":142474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 01:50:39] local.INFO: TCP Data received {"connection_id":142474,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019fa011e478012d7f980005afd7c0000900062a..."} 
[2026-07-27 01:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142474,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa011e478012d7f980005afd7c0000900062a..."} 
[2026-07-27 01:50:39] local.INFO: Processing buffer {"connection_id":142474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa011e478012d7f980005afd7c0000900062a..."} 
[2026-07-27 01:50:39] local.INFO: Packet analysis {"connection_id":142474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa011"} 
[2026-07-27 01:50:39] local.INFO: Extracted packet for processing {"connection_id":142474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa011"} 
[2026-07-27 01:50:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":9,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 01:50:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 01:50:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984743424001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:50:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:50:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:50:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:50:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785096955000,"timestamp_ms":1785096955000,"timestamp_seconds":1785096955,"priority":1,"record_length":96,"hex_timestamp":"0000019fa011e478"} 
[2026-07-27 01:50:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 01:50:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 01: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-07-27 01: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-07-27 01:50:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 01:50:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 01:50:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:50:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:50:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:50:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:50:39] 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-07-27 01:50:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:50:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:50:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984743424001,"66":24734,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:50:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:50:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:50:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984743424001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:50:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:50:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:50:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:50:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:50:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984743424001,"power":24734,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:50:39] local.INFO: DEBUG: GPS processor result {"connection_id":142474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:50:39] local.INFO: GPS data processed {"connection_id":142474,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:50:39] local.INFO: Acknowledgment sent {"connection_id":142474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:51:11] local.INFO: TCP Data received {"connection_id":142474,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019fa011e478012d7f980005afd7c0000900062a..."} 
[2026-07-27 01:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142474,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa011e478012d7f980005afd7c0000900062a..."} 
[2026-07-27 01:51:11] local.INFO: Processing buffer {"connection_id":142474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa011e478012d7f980005afd7c0000900062a..."} 
[2026-07-27 01:51:11] local.INFO: Packet analysis {"connection_id":142474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa011"} 
[2026-07-27 01:51:11] local.INFO: Extracted packet for processing {"connection_id":142474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa011"} 
[2026-07-27 01:51:11] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":9,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 01:51:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 01:51:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984743424001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:51:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:51:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:51:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:51:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785096955000,"timestamp_ms":1785096955000,"timestamp_seconds":1785096955,"priority":1,"record_length":96,"hex_timestamp":"0000019fa011e478"} 
[2026-07-27 01:51:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 01:51:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":86,"data_length":795,"current_offset":136} 
[2026-07-27 01:51:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 01:51:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 01:51:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 01:51:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:51:11] local.INFO: Teltonika packet parsed successfully {"connection_id":142474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:51:11] local.INFO: Passing IMEI to GPS processor {"connection_id":142474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:51:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":142474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:51:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 01:51:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:51:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:51:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984743424001,"66":24734,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:51:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:51:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:51:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984743424001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:51:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:51:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:51:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:51:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:51:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984743424001,"power":24734,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:51:11] local.INFO: DEBUG: GPS processor result {"connection_id":142474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:51:11] local.INFO: GPS data processed {"connection_id":142474,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:51:11] local.INFO: Acknowledgment sent {"connection_id":142474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:51:16] local.INFO: TCP Data received {"connection_id":143517,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 01:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143517,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 01:51:16] local.INFO: Processing buffer {"connection_id":143517,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 01:51:16] local.INFO: IMEI packet received {"connection_id":143517,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 01:51:16] local.INFO: IMEI acknowledgment sent {"connection_id":143517,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 01:51:33] local.INFO: TCP Data received {"connection_id":143518,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:51:33] local.INFO: Processing buffer {"connection_id":143518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:51:33] local.INFO: IMEI packet received {"connection_id":143518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 01:51:33] local.INFO: IMEI acknowledgment sent {"connection_id":143518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 01:51:38] local.INFO: TCP Data received {"connection_id":143518,"ip":"42.109.136.7","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-27 01:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143518,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-27 01:51:38] local.INFO: Processing buffer {"connection_id":143518,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-27 01:51:38] local.INFO: IMEI packet received {"connection_id":143518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 01:51:38] local.INFO: IMEI acknowledgment sent {"connection_id":143518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 01:51:39] local.INFO: TCP Data received {"connection_id":143518,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0167c40012d7f980005afd7c0000900062a..."} 
[2026-07-27 01:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143518,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0167c40012d7f980005afd7c0000900062a..."} 
[2026-07-27 01:51:39] local.INFO: Processing buffer {"connection_id":143518,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019fa0..."} 
[2026-07-27 01:51:39] local.INFO: IMEI packet received {"connection_id":143518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 01:51:39] local.INFO: IMEI acknowledgment sent {"connection_id":143518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 01:51:45] local.INFO: TCP Data received {"connection_id":143518,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0167c40012d7f980005afd7c0000900062a..."} 
[2026-07-27 01:51:45] local.INFO: TCP Data received {"connection_id":144859,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 01:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143518,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0167c40012d7f980005afd7c0000900062a..."} 
[2026-07-27 01:51:45] local.INFO: Processing buffer {"connection_id":143518,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019fa0167c40012d7f980005afd7c0000900062a..."} 
[2026-07-27 01:51:45] local.INFO: Packet analysis {"connection_id":143518,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fa016"} 
[2026-07-27 01:51:45] local.INFO: Extracted packet for processing {"connection_id":143518,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa016"} 
[2026-07-27 01:51:45] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":9,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 01: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-07-27 01:51:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984820480001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:51:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:51:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:51:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:51:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785097256000,"timestamp_ms":1785097256000,"timestamp_seconds":1785097256,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0167c40"} 
[2026-07-27 01:51:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 01:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144859,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 01:51:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 01:51:45] local.INFO: Processing buffer {"connection_id":144859,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 01: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":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-07-27 01:51:45] local.INFO: IMEI packet received {"connection_id":144859,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 01:51:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2100,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 01: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-07-27 01:51:45] local.INFO: IMEI acknowledgment sent {"connection_id":144859,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 01:51:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 01:51:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:51:45] local.INFO: Teltonika packet parsed successfully {"connection_id":143518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:51:45] local.INFO: Passing IMEI to GPS processor {"connection_id":143518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:51:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":143518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:51:45] 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-07-27 01:51:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:51:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:51:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984820480001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:51:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:51:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:51:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984820480001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:51:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:51:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:51:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:51:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:51:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984820480001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:51:45] local.INFO: DEBUG: GPS processor result {"connection_id":143518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:51:45] local.INFO: GPS data processed {"connection_id":143518,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:51:45] local.INFO: Acknowledgment sent {"connection_id":143518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:51:45] local.INFO: Packet analysis {"connection_id":143518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa016"} 
[2026-07-27 01:51:45] local.INFO: Extracted packet for processing {"connection_id":143518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa016"} 
[2026-07-27 01:51:45] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":9,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 01: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-07-27 01:51:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984820480001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:51:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:51:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:51:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:51:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785097256000,"timestamp_ms":1785097256000,"timestamp_seconds":1785097256,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0167c40"} 
[2026-07-27 01:51:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 01:51:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 01: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":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-07-27 01:51:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2100,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 01: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-07-27 01:51:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 01:51:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:51:45] local.INFO: Teltonika packet parsed successfully {"connection_id":143518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:51:45] local.INFO: Passing IMEI to GPS processor {"connection_id":143518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:51:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":143518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:51:45] 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-07-27 01:51:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:51:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:51:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984820480001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:51:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:51:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:51:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984820480001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:51:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:51:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:51:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:51:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:51:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984820480001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:51:45] local.INFO: DEBUG: GPS processor result {"connection_id":143518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:51:45] local.INFO: GPS data processed {"connection_id":143518,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:51:45] local.INFO: Acknowledgment sent {"connection_id":143518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:52:17] local.INFO: TCP Data received {"connection_id":143518,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0167c40012d7f980005afd7c0000900062a..."} 
[2026-07-27 01:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143518,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0167c40012d7f980005afd7c0000900062a..."} 
[2026-07-27 01:52:17] local.INFO: Processing buffer {"connection_id":143518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0167c40012d7f980005afd7c0000900062a..."} 
[2026-07-27 01:52:17] local.INFO: Packet analysis {"connection_id":143518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa016"} 
[2026-07-27 01:52:17] local.INFO: Extracted packet for processing {"connection_id":143518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa016"} 
[2026-07-27 01:52:17] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":9,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 01:52:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 01:52:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984820480001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:52:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:52:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:52:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:52:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785097256000,"timestamp_ms":1785097256000,"timestamp_seconds":1785097256,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0167c40"} 
[2026-07-27 01:52:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 01:52:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 01:52:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-07-27 01:52:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2100,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 01:52:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 01:52:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 01:52:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:52:17] local.INFO: Teltonika packet parsed successfully {"connection_id":143518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:52:17] local.INFO: Passing IMEI to GPS processor {"connection_id":143518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:52:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":143518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:52:17] 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-07-27 01:52:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:52:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:52:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984820480001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:52:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:52:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:52:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984820480001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:52:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:52:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:52:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:52:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:52:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984820480001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:52:17] local.INFO: DEBUG: GPS processor result {"connection_id":143518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:52:17] local.INFO: GPS data processed {"connection_id":143518,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:52:17] local.INFO: Acknowledgment sent {"connection_id":143518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:52:33] local.INFO: TCP Data received {"connection_id":144860,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:52:33] local.INFO: Processing buffer {"connection_id":144860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:52:33] local.INFO: IMEI packet received {"connection_id":144860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 01:52:33] local.INFO: IMEI acknowledgment sent {"connection_id":144860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 01:52:39] local.INFO: TCP Data received {"connection_id":144860,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:52:39] local.INFO: Processing buffer {"connection_id":144860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:52:39] local.INFO: IMEI packet received {"connection_id":144860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 01:52:39] local.INFO: IMEI acknowledgment sent {"connection_id":144860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 01:52:39] local.INFO: TCP Data received {"connection_id":144860,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0167c40012d7f980005afd7c0000900062a..."} 
[2026-07-27 01:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0167c40012d7f980005afd7c0000900062a..."} 
[2026-07-27 01:52:39] local.INFO: Processing buffer {"connection_id":144860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0167c40012d7f980005afd7c0000900062a..."} 
[2026-07-27 01:52:39] local.INFO: Packet analysis {"connection_id":144860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa016"} 
[2026-07-27 01:52:39] local.INFO: Extracted packet for processing {"connection_id":144860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa016"} 
[2026-07-27 01:52:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":9,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 01:52:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 01:52:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984820480001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:52:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:52:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:52:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:52:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785097256000,"timestamp_ms":1785097256000,"timestamp_seconds":1785097256,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0167c40"} 
[2026-07-27 01:52:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 01:52:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 01: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":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-07-27 01:52:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2100,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 01:52:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 01:52:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 01:52:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:52:39] local.INFO: Teltonika packet parsed successfully {"connection_id":144860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:52:39] local.INFO: Passing IMEI to GPS processor {"connection_id":144860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:52:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":144860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:52:39] 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-07-27 01:52:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:52:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:52:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984820480001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:52:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:52:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:52:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984820480001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:52:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:52:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:52:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:52:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:52:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984820480001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:52:39] local.INFO: DEBUG: GPS processor result {"connection_id":144860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:52:39] local.INFO: GPS data processed {"connection_id":144860,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:52:39] local.INFO: Acknowledgment sent {"connection_id":144860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:53:10] local.INFO: TCP Data received {"connection_id":144860,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0167c40012d7f980005afd7c0000900062a..."} 
[2026-07-27 01:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0167c40012d7f980005afd7c0000900062a..."} 
[2026-07-27 01:53:10] local.INFO: Processing buffer {"connection_id":144860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0167c40012d7f980005afd7c0000900062a..."} 
[2026-07-27 01:53:10] local.INFO: Packet analysis {"connection_id":144860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa016"} 
[2026-07-27 01:53:10] local.INFO: Extracted packet for processing {"connection_id":144860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa016"} 
[2026-07-27 01:53:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":9,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 01:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 01:53:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984820480001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:53:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:53:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:53:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:53:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785097256000,"timestamp_ms":1785097256000,"timestamp_seconds":1785097256,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0167c40"} 
[2026-07-27 01:53:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 01:53:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 01: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":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-07-27 01:53:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2100,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 01:53:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 01:53:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 01:53:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:53:10] local.INFO: Teltonika packet parsed successfully {"connection_id":144860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:53:10] local.INFO: Passing IMEI to GPS processor {"connection_id":144860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:53:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":144860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:53: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-07-27 01:53:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:53:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:53:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984820480001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:53:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:53:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:53:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984820480001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:53:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:53:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:53:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:53:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:53:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984820480001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:53:10] local.INFO: DEBUG: GPS processor result {"connection_id":144860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:53:10] local.INFO: GPS data processed {"connection_id":144860,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:53:10] local.INFO: Acknowledgment sent {"connection_id":144860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:53:34] local.INFO: TCP Data received {"connection_id":142549,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:53:34] local.INFO: Processing buffer {"connection_id":142549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:53:34] local.INFO: IMEI packet received {"connection_id":142549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 01:53:34] local.INFO: IMEI acknowledgment sent {"connection_id":142549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 01:53:38] local.INFO: TCP Data received {"connection_id":142549,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:53:39] local.INFO: Processing buffer {"connection_id":142549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:53:39] local.INFO: IMEI packet received {"connection_id":142549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 01:53:39] local.INFO: IMEI acknowledgment sent {"connection_id":142549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 01:53:39] local.INFO: TCP Data received {"connection_id":142549,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0167c40012d7f980005afd7c0000900062a..."} 
[2026-07-27 01:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0167c40012d7f980005afd7c0000900062a..."} 
[2026-07-27 01:53:39] local.INFO: Processing buffer {"connection_id":142549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0167c40012d7f980005afd7c0000900062a..."} 
[2026-07-27 01:53:39] local.INFO: Packet analysis {"connection_id":142549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa016"} 
[2026-07-27 01:53:39] local.INFO: Extracted packet for processing {"connection_id":142549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa016"} 
[2026-07-27 01:53:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":9,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 01:53:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 01:53:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984820480001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:53:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:53:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:53:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:53:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785097256000,"timestamp_ms":1785097256000,"timestamp_seconds":1785097256,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0167c40"} 
[2026-07-27 01:53:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 01:53:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 01: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":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-07-27 01:53:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2100,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 01:53:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 01:53:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 01:53:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:53:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:53:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:53:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:53:39] 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-07-27 01:53:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:53:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:53:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984820480001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:53:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:53:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:53:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984820480001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:53:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:53:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:53:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:53:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:53:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984820480001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:53:39] local.INFO: DEBUG: GPS processor result {"connection_id":142549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:53:39] local.INFO: GPS data processed {"connection_id":142549,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:53:39] local.INFO: Acknowledgment sent {"connection_id":142549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:54:10] local.INFO: TCP Data received {"connection_id":142549,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0167c40012d7f980005afd7c0000900062a..."} 
[2026-07-27 01:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0167c40012d7f980005afd7c0000900062a..."} 
[2026-07-27 01:54:10] local.INFO: Processing buffer {"connection_id":142549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0167c40012d7f980005afd7c0000900062a..."} 
[2026-07-27 01:54:10] local.INFO: Packet analysis {"connection_id":142549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa016"} 
[2026-07-27 01:54:10] local.INFO: Extracted packet for processing {"connection_id":142549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa016"} 
[2026-07-27 01:54:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":9,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 01:54:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984820480001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:54:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:54:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:54:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:54:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785097256000,"timestamp_ms":1785097256000,"timestamp_seconds":1785097256,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0167c40"} 
[2026-07-27 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-07-27 01:54:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-07-27 01:54:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2100,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 01:54:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:54:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:54:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:54:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:54: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-07-27 01:54:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:54:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:54:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984820480001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:54:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:54:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:54:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984820480001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:54:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:54:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:54:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:54:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:54:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984820480001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:54:10] local.INFO: DEBUG: GPS processor result {"connection_id":142549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:54:10] local.INFO: GPS data processed {"connection_id":142549,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:54:10] local.INFO: Acknowledgment sent {"connection_id":142549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:54:33] local.INFO: TCP Data received {"connection_id":143520,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:54:33] local.INFO: Processing buffer {"connection_id":143520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:54:33] local.INFO: IMEI packet received {"connection_id":143520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 01:54:33] local.INFO: IMEI acknowledgment sent {"connection_id":143520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 01:54:38] local.INFO: TCP Data received {"connection_id":143520,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:54:38] local.INFO: Processing buffer {"connection_id":143520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:54:38] local.INFO: IMEI packet received {"connection_id":143520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 01:54:38] local.INFO: IMEI acknowledgment sent {"connection_id":143520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 01:54:39] local.INFO: TCP Data received {"connection_id":143520,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0167c40012d7f980005afd7c0000900062a..."} 
[2026-07-27 01:54:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0167c40012d7f980005afd7c0000900062a..."} 
[2026-07-27 01:54:39] local.INFO: Processing buffer {"connection_id":143520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0167c40012d7f980005afd7c0000900062a..."} 
[2026-07-27 01:54:39] local.INFO: Packet analysis {"connection_id":143520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa016"} 
[2026-07-27 01:54:39] local.INFO: Extracted packet for processing {"connection_id":143520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa016"} 
[2026-07-27 01:54:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":9,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 01:54:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 01:54:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984820480001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:54:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:54:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:54:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:54:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785097256000,"timestamp_ms":1785097256000,"timestamp_seconds":1785097256,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0167c40"} 
[2026-07-27 01:54:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 01:54:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 01: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":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-07-27 01:54:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2100,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 01:54:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 01:54:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 01:54:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:54:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:54:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:54:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:54:39] 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-07-27 01:54:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:54:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:54:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984820480001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:54:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:54:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:54:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984820480001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:54:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:54:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:54:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:54:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:54:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984820480001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:54:39] local.INFO: DEBUG: GPS processor result {"connection_id":143520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:54:39] local.INFO: GPS data processed {"connection_id":143520,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:54:39] local.INFO: Acknowledgment sent {"connection_id":143520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:55:10] local.INFO: TCP Data received {"connection_id":143520,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0167c40012d7f980005afd7c0000900062a..."} 
[2026-07-27 01:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0167c40012d7f980005afd7c0000900062a..."} 
[2026-07-27 01:55:10] local.INFO: Processing buffer {"connection_id":143520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0167c40012d7f980005afd7c0000900062a..."} 
[2026-07-27 01:55:10] local.INFO: Packet analysis {"connection_id":143520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa016"} 
[2026-07-27 01:55:10] local.INFO: Extracted packet for processing {"connection_id":143520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa016"} 
[2026-07-27 01:55:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":9,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 01:55:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 01:55:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984820480001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:55:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:55:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:55:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:55:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785097256000,"timestamp_ms":1785097256000,"timestamp_seconds":1785097256,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0167c40"} 
[2026-07-27 01:55:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 01:55:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 01: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":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-07-27 01:55:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2100,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 01:55:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 01:55:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 01:55:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:55:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:55:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:55:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:55: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-07-27 01:55:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:55:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:55:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984820480001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:55:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:55:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:55:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984820480001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:55:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:55:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:55:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:55:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:55:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984820480001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:55:10] local.INFO: DEBUG: GPS processor result {"connection_id":143520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:55:10] local.INFO: GPS data processed {"connection_id":143520,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:55:10] local.INFO: Acknowledgment sent {"connection_id":143520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:55:33] local.INFO: TCP Data received {"connection_id":144862,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:55:33] local.INFO: Processing buffer {"connection_id":144862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:55:33] local.INFO: IMEI packet received {"connection_id":144862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 01:55:33] local.INFO: IMEI acknowledgment sent {"connection_id":144862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 01:55:38] local.INFO: TCP Data received {"connection_id":144862,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:55:38] local.INFO: Processing buffer {"connection_id":144862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:55:38] local.INFO: IMEI packet received {"connection_id":144862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 01:55:38] local.INFO: IMEI acknowledgment sent {"connection_id":144862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 01:55:39] local.INFO: TCP Data received {"connection_id":144862,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0167c40012d7f980005afd7c0000900062a..."} 
[2026-07-27 01:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0167c40012d7f980005afd7c0000900062a..."} 
[2026-07-27 01:55:39] local.INFO: Processing buffer {"connection_id":144862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0167c40012d7f980005afd7c0000900062a..."} 
[2026-07-27 01:55:39] local.INFO: Packet analysis {"connection_id":144862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa016"} 
[2026-07-27 01:55:39] local.INFO: Extracted packet for processing {"connection_id":144862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa016"} 
[2026-07-27 01:55:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":9,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 01: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-07-27 01:55:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984820480001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:55:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:55:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:55:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:55:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785097256000,"timestamp_ms":1785097256000,"timestamp_seconds":1785097256,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0167c40"} 
[2026-07-27 01:55:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 01:55:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 01: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":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-07-27 01:55:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2100,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 01: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-07-27 01:55:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 01:55:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:55:39] local.INFO: Teltonika packet parsed successfully {"connection_id":144862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:55:39] local.INFO: Passing IMEI to GPS processor {"connection_id":144862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:55:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":144862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:55:39] 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-07-27 01:55:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:55:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:55:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984820480001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:55:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:55:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:55:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984820480001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:55:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:55:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:55:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:55:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:55:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984820480001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:55:39] local.INFO: DEBUG: GPS processor result {"connection_id":144862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:55:39] local.INFO: GPS data processed {"connection_id":144862,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:55:39] local.INFO: Acknowledgment sent {"connection_id":144862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:56:10] local.INFO: TCP Data received {"connection_id":144862,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0167c40012d7f980005afd7c0000900062a..."} 
[2026-07-27 01:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0167c40012d7f980005afd7c0000900062a..."} 
[2026-07-27 01:56:10] local.INFO: Processing buffer {"connection_id":144862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0167c40012d7f980005afd7c0000900062a..."} 
[2026-07-27 01:56:10] local.INFO: Packet analysis {"connection_id":144862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa016"} 
[2026-07-27 01:56:10] local.INFO: Extracted packet for processing {"connection_id":144862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa016"} 
[2026-07-27 01:56:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":9,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 01:56:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984820480001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:56:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:56:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:56:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:56:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785097256000,"timestamp_ms":1785097256000,"timestamp_seconds":1785097256,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0167c40"} 
[2026-07-27 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-07-27 01:56:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-07-27 01:56:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2100,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 01:56:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:56:10] local.INFO: Teltonika packet parsed successfully {"connection_id":144862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:56:10] local.INFO: Passing IMEI to GPS processor {"connection_id":144862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:56:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":144862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01: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-07-27 01:56:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:56:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:56:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984820480001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:56:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:56:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:56:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984820480001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:56:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:56:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:56:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:56:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:56:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984820480001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:56:10] local.INFO: DEBUG: GPS processor result {"connection_id":144862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:56:10] local.INFO: GPS data processed {"connection_id":144862,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:56:10] local.INFO: Acknowledgment sent {"connection_id":144862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:56:35] local.INFO: TCP Data received {"connection_id":144864,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:56:35] local.INFO: Processing buffer {"connection_id":144864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:56:35] local.INFO: IMEI packet received {"connection_id":144864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 01:56:35] local.INFO: IMEI acknowledgment sent {"connection_id":144864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 01:56:38] local.INFO: TCP Data received {"connection_id":144864,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:56:38] local.INFO: Processing buffer {"connection_id":144864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:56:38] local.INFO: IMEI packet received {"connection_id":144864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 01:56:38] local.INFO: IMEI acknowledgment sent {"connection_id":144864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 01:56:43] local.INFO: TCP Data received {"connection_id":144864,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:56:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:56:43] local.INFO: Processing buffer {"connection_id":144864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:56:43] local.INFO: IMEI packet received {"connection_id":144864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 01:56:43] local.INFO: IMEI acknowledgment sent {"connection_id":144864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 01:56:44] local.INFO: TCP Data received {"connection_id":144864,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa01b1408012d7f980005afd7c00009000628..."} 
[2026-07-27 01:56:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa01b1408012d7f980005afd7c00009000628..."} 
[2026-07-27 01:56:44] local.INFO: Processing buffer {"connection_id":144864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa01b1408012d7f980005afd7c00009000628..."} 
[2026-07-27 01:56:44] local.INFO: Packet analysis {"connection_id":144864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa01b"} 
[2026-07-27 01:56:44] local.INFO: Extracted packet for processing {"connection_id":144864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa01b"} 
[2026-07-27 01:56:44] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":9,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 01:56:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 01:56:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984897536001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:56:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:56:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:56:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:56:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785097557000,"timestamp_ms":1785097557000,"timestamp_seconds":1785097557,"priority":1,"record_length":96,"hex_timestamp":"0000019fa01b1408"} 
[2026-07-27 01:56:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 01:56:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 01:56:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-27 01:56: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-07-27 01:56:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 01:56:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 01:56:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:56:44] local.INFO: Teltonika packet parsed successfully {"connection_id":144864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:56:44] local.INFO: Passing IMEI to GPS processor {"connection_id":144864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:56:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":144864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:56:44] 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-07-27 01:56:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:56:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:56:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984897536001,"66":25419,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:56:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:56:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:56:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984897536001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:56:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:56:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:56:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:56:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:56:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984897536001,"power":25419,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:56:44] local.INFO: DEBUG: GPS processor result {"connection_id":144864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:56:44] local.INFO: GPS data processed {"connection_id":144864,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:56:44] local.INFO: Acknowledgment sent {"connection_id":144864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:56:49] local.INFO: TCP Data received {"connection_id":144864,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa01b1408012d7f980005afd7c00009000628..."} 
[2026-07-27 01:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa01b1408012d7f980005afd7c00009000628..."} 
[2026-07-27 01:56:49] local.INFO: Processing buffer {"connection_id":144864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa01b1408012d7f980005afd7c00009000628..."} 
[2026-07-27 01:56:49] local.INFO: Packet analysis {"connection_id":144864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa01b"} 
[2026-07-27 01:56:49] local.INFO: Extracted packet for processing {"connection_id":144864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa01b"} 
[2026-07-27 01:56:49] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":9,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 01: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-07-27 01:56:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984897536001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:56:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:56:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:56:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:56:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785097557000,"timestamp_ms":1785097557000,"timestamp_seconds":1785097557,"priority":1,"record_length":96,"hex_timestamp":"0000019fa01b1408"} 
[2026-07-27 01:56:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 01:56:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 01: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-27 01:56:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 01: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-07-27 01:56:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 01:56:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:56:49] local.INFO: Teltonika packet parsed successfully {"connection_id":144864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:56:49] local.INFO: Passing IMEI to GPS processor {"connection_id":144864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:56:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":144864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:56:49] 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-07-27 01:56:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:56:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:56:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984897536001,"66":25419,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:56:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:56:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:56:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984897536001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:56:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:56:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:56:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:56:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:56:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984897536001,"power":25419,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:56:49] local.INFO: DEBUG: GPS processor result {"connection_id":144864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:56:49] local.INFO: GPS data processed {"connection_id":144864,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:56:49] local.INFO: Acknowledgment sent {"connection_id":144864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:57:16] local.INFO: TCP Data received {"connection_id":143521,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 01:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143521,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 01:57:16] local.INFO: Processing buffer {"connection_id":143521,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 01:57:16] local.INFO: IMEI packet received {"connection_id":143521,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 01:57:16] local.INFO: IMEI acknowledgment sent {"connection_id":143521,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 01:57:33] local.INFO: TCP Data received {"connection_id":143522,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:57:33] local.INFO: Processing buffer {"connection_id":143522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:57:33] local.INFO: IMEI packet received {"connection_id":143522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 01:57:33] local.INFO: IMEI acknowledgment sent {"connection_id":143522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 01:57:39] local.INFO: TCP Data received {"connection_id":143522,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:57:39] local.INFO: Processing buffer {"connection_id":143522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:57:39] local.INFO: IMEI packet received {"connection_id":143522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 01:57:39] local.INFO: IMEI acknowledgment sent {"connection_id":143522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 01:57:40] local.INFO: TCP Data received {"connection_id":143522,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa01b1408012d7f980005afd7c00009000628..."} 
[2026-07-27 01:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa01b1408012d7f980005afd7c00009000628..."} 
[2026-07-27 01:57:40] local.INFO: Processing buffer {"connection_id":143522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa01b1408012d7f980005afd7c00009000628..."} 
[2026-07-27 01:57:40] local.INFO: Packet analysis {"connection_id":143522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa01b"} 
[2026-07-27 01:57:40] local.INFO: Extracted packet for processing {"connection_id":143522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa01b"} 
[2026-07-27 01:57:40] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":9,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 01:57:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 01:57:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984897536001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:57:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:57:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:57:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:57:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785097557000,"timestamp_ms":1785097557000,"timestamp_seconds":1785097557,"priority":1,"record_length":96,"hex_timestamp":"0000019fa01b1408"} 
[2026-07-27 01:57:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 01:57:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 01:57:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-27 01: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-07-27 01:57:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 01:57:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 01:57:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:57:40] local.INFO: Teltonika packet parsed successfully {"connection_id":143522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:57:40] local.INFO: Passing IMEI to GPS processor {"connection_id":143522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:57:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":143522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:57: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-07-27 01:57:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:57:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:57:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984897536001,"66":25419,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:57:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:57:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:57:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984897536001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:57:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:57:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:57:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:57:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:57:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984897536001,"power":25419,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:57:40] local.INFO: DEBUG: GPS processor result {"connection_id":143522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:57:40] local.INFO: GPS data processed {"connection_id":143522,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:57:40] local.INFO: Acknowledgment sent {"connection_id":143522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:57:46] local.INFO: TCP Data received {"connection_id":143522,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa01b1408012d7f980005afd7c00009000628..."} 
[2026-07-27 01:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa01b1408012d7f980005afd7c00009000628..."} 
[2026-07-27 01:57:46] local.INFO: Processing buffer {"connection_id":143522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa01b1408012d7f980005afd7c00009000628..."} 
[2026-07-27 01:57:46] local.INFO: Packet analysis {"connection_id":143522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa01b"} 
[2026-07-27 01:57:46] local.INFO: Extracted packet for processing {"connection_id":143522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa01b"} 
[2026-07-27 01:57:46] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":9,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 01:57:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 01:57:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984897536001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:57:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:57:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:57:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:57:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785097557000,"timestamp_ms":1785097557000,"timestamp_seconds":1785097557,"priority":1,"record_length":96,"hex_timestamp":"0000019fa01b1408"} 
[2026-07-27 01:57:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 01:57:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 01: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":86,"data_length":795,"current_offset":136} 
[2026-07-27 01:57:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 01:57:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 01:57:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 01:57:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:57:46] local.INFO: Teltonika packet parsed successfully {"connection_id":143522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:57:46] local.INFO: Passing IMEI to GPS processor {"connection_id":143522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:57:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":143522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:57:46] 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-07-27 01:57:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:57:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:57:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984897536001,"66":25419,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:57:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:57:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:57:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984897536001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:57:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:57:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:57:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:57:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:57:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984897536001,"power":25419,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:57:46] local.INFO: DEBUG: GPS processor result {"connection_id":143522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:57:46] local.INFO: GPS data processed {"connection_id":143522,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:57:46] local.INFO: Acknowledgment sent {"connection_id":143522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:57:51] local.INFO: TCP Data received {"connection_id":144865,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 01:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144865,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 01:57:51] local.INFO: Processing buffer {"connection_id":144865,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 01:57:51] local.INFO: IMEI packet received {"connection_id":144865,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 01:57:51] local.INFO: IMEI acknowledgment sent {"connection_id":144865,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 01:58:17] local.INFO: TCP Data received {"connection_id":143522,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa01b1408012d7f980005afd7c00009000628..."} 
[2026-07-27 01:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa01b1408012d7f980005afd7c00009000628..."} 
[2026-07-27 01:58:17] local.INFO: Processing buffer {"connection_id":143522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa01b1408012d7f980005afd7c00009000628..."} 
[2026-07-27 01:58:17] local.INFO: Packet analysis {"connection_id":143522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa01b"} 
[2026-07-27 01:58:17] local.INFO: Extracted packet for processing {"connection_id":143522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa01b"} 
[2026-07-27 01:58:17] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":9,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 01:58:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 01:58:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984897536001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:58:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:58:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:58:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:58:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785097557000,"timestamp_ms":1785097557000,"timestamp_seconds":1785097557,"priority":1,"record_length":96,"hex_timestamp":"0000019fa01b1408"} 
[2026-07-27 01:58:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 01:58:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 01: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-27 01:58: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-07-27 01:58:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 01:58:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 01:58:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:58:17] local.INFO: Teltonika packet parsed successfully {"connection_id":143522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:58:17] local.INFO: Passing IMEI to GPS processor {"connection_id":143522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:58:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":143522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:58:17] 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-07-27 01:58:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:58:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:58:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984897536001,"66":25419,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:58:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:58:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:58:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984897536001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:58:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:58:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:58:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:58:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:58:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984897536001,"power":25419,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:58:17] local.INFO: DEBUG: GPS processor result {"connection_id":143522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:58:17] local.INFO: GPS data processed {"connection_id":143522,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:58:17] local.INFO: Acknowledgment sent {"connection_id":143522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:58:33] local.INFO: TCP Data received {"connection_id":142476,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:58:33] local.INFO: Processing buffer {"connection_id":142476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:58:33] local.INFO: IMEI packet received {"connection_id":142476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 01:58:33] local.INFO: IMEI acknowledgment sent {"connection_id":142476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 01:58:38] local.INFO: TCP Data received {"connection_id":142476,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:58:38] local.INFO: Processing buffer {"connection_id":142476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:58:38] local.INFO: IMEI packet received {"connection_id":142476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 01:58:38] local.INFO: IMEI acknowledgment sent {"connection_id":142476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 01:58:39] local.INFO: TCP Data received {"connection_id":142476,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa01b1408012d7f980005afd7c00009000628..."} 
[2026-07-27 01:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa01b1408012d7f980005afd7c00009000628..."} 
[2026-07-27 01:58:39] local.INFO: Processing buffer {"connection_id":142476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa01b1408012d7f980005afd7c00009000628..."} 
[2026-07-27 01:58:39] local.INFO: Packet analysis {"connection_id":142476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa01b"} 
[2026-07-27 01:58:39] local.INFO: Extracted packet for processing {"connection_id":142476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa01b"} 
[2026-07-27 01:58:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":9,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 01:58:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 01:58:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984897536001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:58:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:58:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:58:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:58:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785097557000,"timestamp_ms":1785097557000,"timestamp_seconds":1785097557,"priority":1,"record_length":96,"hex_timestamp":"0000019fa01b1408"} 
[2026-07-27 01:58:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 01:58:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 01: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-07-27 01: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-07-27 01:58:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 01:58:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 01:58:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:58:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:58:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:58:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:58:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 01:58:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:58:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:58:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984897536001,"66":25419,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:58:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:58:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:58:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984897536001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:58:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:58:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:58:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:58:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:58:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984897536001,"power":25419,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:58:39] local.INFO: DEBUG: GPS processor result {"connection_id":142476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:58:39] local.INFO: GPS data processed {"connection_id":142476,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:58:39] local.INFO: Acknowledgment sent {"connection_id":142476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:59:10] local.INFO: TCP Data received {"connection_id":142476,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa01b1408012d7f980005afd7c00009000628..."} 
[2026-07-27 01:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa01b1408012d7f980005afd7c00009000628..."} 
[2026-07-27 01:59:10] local.INFO: Processing buffer {"connection_id":142476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa01b1408012d7f980005afd7c00009000628..."} 
[2026-07-27 01:59:10] local.INFO: Packet analysis {"connection_id":142476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa01b"} 
[2026-07-27 01:59:10] local.INFO: Extracted packet for processing {"connection_id":142476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa01b"} 
[2026-07-27 01:59:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":9,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 01:59:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 01:59:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984897536001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:59:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:59:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:59:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:59:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785097557000,"timestamp_ms":1785097557000,"timestamp_seconds":1785097557,"priority":1,"record_length":96,"hex_timestamp":"0000019fa01b1408"} 
[2026-07-27 01:59:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 01:59:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 01: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-07-27 01: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-07-27 01:59:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 01:59:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 01:59:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:59:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:59:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:59:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:59: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-07-27 01:59:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:59:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:59:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984897536001,"66":25419,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:59:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:59:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:59:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984897536001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:59:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:59:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:59:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:59:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:59:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984897536001,"power":25419,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:59:10] local.INFO: DEBUG: GPS processor result {"connection_id":142476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:59:10] local.INFO: GPS data processed {"connection_id":142476,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:59:10] local.INFO: Acknowledgment sent {"connection_id":142476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 01:59:33] local.INFO: TCP Data received {"connection_id":144867,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:59:33] local.INFO: Processing buffer {"connection_id":144867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:59:33] local.INFO: IMEI packet received {"connection_id":144867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 01:59:33] local.INFO: IMEI acknowledgment sent {"connection_id":144867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 01:59:38] local.INFO: TCP Data received {"connection_id":144867,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:59:38] local.INFO: Processing buffer {"connection_id":144867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 01:59:38] local.INFO: IMEI packet received {"connection_id":144867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 01:59:38] local.INFO: IMEI acknowledgment sent {"connection_id":144867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 01:59:39] local.INFO: TCP Data received {"connection_id":144867,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa01b1408012d7f980005afd7c00009000628..."} 
[2026-07-27 01:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144867,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa01b1408012d7f980005afd7c00009000628..."} 
[2026-07-27 01:59:39] local.INFO: Processing buffer {"connection_id":144867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa01b1408012d7f980005afd7c00009000628..."} 
[2026-07-27 01:59:39] local.INFO: Packet analysis {"connection_id":144867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa01b"} 
[2026-07-27 01:59:39] local.INFO: Extracted packet for processing {"connection_id":144867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa01b"} 
[2026-07-27 01:59:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":9,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 01:59:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 01:59:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984897536001,"note":"Value kept but may cause issues"} 
[2026-07-27 01:59:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 01:59:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 01:59:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 01:59:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785097557000,"timestamp_ms":1785097557000,"timestamp_seconds":1785097557,"priority":1,"record_length":96,"hex_timestamp":"0000019fa01b1408"} 
[2026-07-27 01:59:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 01:59:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 01:59:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-27 01: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-07-27 01:59:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 01:59:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 01:59:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 01:59:39] local.INFO: Teltonika packet parsed successfully {"connection_id":144867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 01:59:39] local.INFO: Passing IMEI to GPS processor {"connection_id":144867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:59:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":144867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 01:59:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 01:59:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 01:59:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 01:59:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984897536001,"66":25419,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 01:59:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 01:59:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 01:59:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984897536001,"description":"Unknown IO ID 0"} 
[2026-07-27 01:59:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 01:59:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 01:59:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 01:59:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 01:59:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984897536001,"power":25419,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 01:59:39] local.INFO: DEBUG: GPS processor result {"connection_id":144867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 01:59:39] local.INFO: GPS data processed {"connection_id":144867,"processed":1,"errors":0,"total":1} 
[2026-07-27 01:59:39] local.INFO: Acknowledgment sent {"connection_id":144867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:00:10] local.INFO: TCP Data received {"connection_id":144867,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa01b1408012d7f980005afd7c00009000628..."} 
[2026-07-27 02:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144867,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa01b1408012d7f980005afd7c00009000628..."} 
[2026-07-27 02:00:10] local.INFO: Processing buffer {"connection_id":144867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa01b1408012d7f980005afd7c00009000628..."} 
[2026-07-27 02:00:10] local.INFO: Packet analysis {"connection_id":144867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa01b"} 
[2026-07-27 02:00:10] local.INFO: Extracted packet for processing {"connection_id":144867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa01b"} 
[2026-07-27 02:00:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":9,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 02:00:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984897536001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:00:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:00:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:00:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:00:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785097557000,"timestamp_ms":1785097557000,"timestamp_seconds":1785097557,"priority":1,"record_length":96,"hex_timestamp":"0000019fa01b1408"} 
[2026-07-27 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-07-27 02:00:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-27 02: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-07-27 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-07-27 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-07-27 02:00:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:00:10] local.INFO: Teltonika packet parsed successfully {"connection_id":144867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:00:10] local.INFO: Passing IMEI to GPS processor {"connection_id":144867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:00:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":144867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:00: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-07-27 02:00:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:00:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:00:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984897536001,"66":25419,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:00:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:00:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:00:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984897536001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:00:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:00:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:00:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:00:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:00:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984897536001,"power":25419,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:00:10] local.INFO: DEBUG: GPS processor result {"connection_id":144867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:00:10] local.INFO: GPS data processed {"connection_id":144867,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:00:10] local.INFO: Acknowledgment sent {"connection_id":144867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:00:38] local.INFO: TCP Data received {"connection_id":143523,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:00:38] local.INFO: Processing buffer {"connection_id":143523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:00:38] local.INFO: IMEI packet received {"connection_id":143523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 02:00:38] local.INFO: IMEI acknowledgment sent {"connection_id":143523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 02:00:43] local.INFO: TCP Data received {"connection_id":143523,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:00:43] local.INFO: Processing buffer {"connection_id":143523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:00:43] local.INFO: IMEI packet received {"connection_id":143523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 02:00:43] local.INFO: IMEI acknowledgment sent {"connection_id":143523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 02:00:44] local.INFO: TCP Data received {"connection_id":143523,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa01b1408012d7f980005afd7c00009000628..."} 
[2026-07-27 02:00:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa01b1408012d7f980005afd7c00009000628..."} 
[2026-07-27 02:00:44] local.INFO: Processing buffer {"connection_id":143523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa01b1408012d7f980005afd7c00009000628..."} 
[2026-07-27 02:00:44] local.INFO: Packet analysis {"connection_id":143523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa01b"} 
[2026-07-27 02:00:44] local.INFO: Extracted packet for processing {"connection_id":143523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa01b"} 
[2026-07-27 02:00:44] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":9,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 02:00:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 02:00:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984897536001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:00:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:00:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:00:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:00:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785097557000,"timestamp_ms":1785097557000,"timestamp_seconds":1785097557,"priority":1,"record_length":96,"hex_timestamp":"0000019fa01b1408"} 
[2026-07-27 02:00:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 02:00:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 02:00:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-27 02:00: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-07-27 02:00:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 02:00:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 02:00:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:00:44] local.INFO: Teltonika packet parsed successfully {"connection_id":143523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:00:44] local.INFO: Passing IMEI to GPS processor {"connection_id":143523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:00:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":143523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:00: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-07-27 02:00:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:00:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:00:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984897536001,"66":25419,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:00:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:00:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:00:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984897536001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:00:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:00:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:00:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:00:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:00:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984897536001,"power":25419,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:00:44] local.INFO: DEBUG: GPS processor result {"connection_id":143523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:00:44] local.INFO: GPS data processed {"connection_id":143523,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:00:44] local.INFO: Acknowledgment sent {"connection_id":143523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:00:49] local.INFO: TCP Data received {"connection_id":143523,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa01b1408012d7f980005afd7c00009000628..."} 
[2026-07-27 02:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa01b1408012d7f980005afd7c00009000628..."} 
[2026-07-27 02:00:49] local.INFO: Processing buffer {"connection_id":143523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa01b1408012d7f980005afd7c00009000628..."} 
[2026-07-27 02:00:49] local.INFO: Packet analysis {"connection_id":143523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa01b"} 
[2026-07-27 02:00:49] local.INFO: Extracted packet for processing {"connection_id":143523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa01b"} 
[2026-07-27 02:00:49] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":9,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 02:00:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 02:00:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984897536001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:00:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:00:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:00:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:00:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785097557000,"timestamp_ms":1785097557000,"timestamp_seconds":1785097557,"priority":1,"record_length":96,"hex_timestamp":"0000019fa01b1408"} 
[2026-07-27 02:00:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 02:00:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 02: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-27 02:00:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 02:00:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 02:00:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 02:00:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:00:49] local.INFO: Teltonika packet parsed successfully {"connection_id":143523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:00:49] local.INFO: Passing IMEI to GPS processor {"connection_id":143523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:00:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":143523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:00:49] 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-07-27 02:00:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:00:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:00:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984897536001,"66":25419,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:00:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:00:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:00:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984897536001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:00:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:00:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:00:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:00:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:00:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984897536001,"power":25419,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:00:49] local.INFO: DEBUG: GPS processor result {"connection_id":143523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:00:49] local.INFO: GPS data processed {"connection_id":143523,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:00:49] local.INFO: Acknowledgment sent {"connection_id":143523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:01:33] local.INFO: TCP Data received {"connection_id":142477,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:01:33] local.INFO: Processing buffer {"connection_id":142477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:01:33] local.INFO: IMEI packet received {"connection_id":142477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 02:01:33] local.INFO: IMEI acknowledgment sent {"connection_id":142477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 02:01:36] local.INFO: TCP Data received {"connection_id":142477,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:01:36] local.INFO: Processing buffer {"connection_id":142477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:01:36] local.INFO: IMEI packet received {"connection_id":142477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 02:01:36] local.INFO: IMEI acknowledgment sent {"connection_id":142477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 02:01:41] local.INFO: TCP Data received {"connection_id":142477,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa01fabd0012d7f980005afd7c0000900062b..."} 
[2026-07-27 02:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa01fabd0012d7f980005afd7c0000900062b..."} 
[2026-07-27 02:01:41] local.INFO: Processing buffer {"connection_id":142477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa01fabd0012d7f980005afd7c0000900062b..."} 
[2026-07-27 02:01:41] local.INFO: Packet analysis {"connection_id":142477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa01f"} 
[2026-07-27 02:01:41] local.INFO: Extracted packet for processing {"connection_id":142477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa01f"} 
[2026-07-27 02:01:41] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":9,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 02: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-07-27 02:01:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984974592001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:01:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:01:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:01:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:01:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785097858000,"timestamp_ms":1785097858000,"timestamp_seconds":1785097858,"priority":1,"record_length":96,"hex_timestamp":"0000019fa01fabd0"} 
[2026-07-27 02:01:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 02:01:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 02: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":75,"data_length":795,"current_offset":136} 
[2026-07-27 02:01:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 02: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-07-27 02:01:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 02:01:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:01:41] local.INFO: Teltonika packet parsed successfully {"connection_id":142477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:01:41] local.INFO: Passing IMEI to GPS processor {"connection_id":142477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:01:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":142477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:01: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-07-27 02:01:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:01:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:01:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984974592001,"66":25343,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:01:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:01:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:01:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984974592001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:01:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:01:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:01:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:01:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:01:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984974592001,"power":25343,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:01:41] local.INFO: DEBUG: GPS processor result {"connection_id":142477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:01:41] local.INFO: GPS data processed {"connection_id":142477,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:01:41] local.INFO: Acknowledgment sent {"connection_id":142477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:02:12] local.INFO: TCP Data received {"connection_id":142477,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa01fabd0012d7f980005afd7c0000900062b..."} 
[2026-07-27 02:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa01fabd0012d7f980005afd7c0000900062b..."} 
[2026-07-27 02:02:12] local.INFO: Processing buffer {"connection_id":142477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa01fabd0012d7f980005afd7c0000900062b..."} 
[2026-07-27 02:02:12] local.INFO: Packet analysis {"connection_id":142477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa01f"} 
[2026-07-27 02:02:12] local.INFO: Extracted packet for processing {"connection_id":142477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa01f"} 
[2026-07-27 02:02:12] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":9,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 02: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-07-27 02:02:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984974592001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:02:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:02:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:02:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:02:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785097858000,"timestamp_ms":1785097858000,"timestamp_seconds":1785097858,"priority":1,"record_length":96,"hex_timestamp":"0000019fa01fabd0"} 
[2026-07-27 02:02:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 02:02:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 02: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-27 02:02: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-07-27 02: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-07-27 02:02:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 02:02:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:02:12] local.INFO: Teltonika packet parsed successfully {"connection_id":142477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:02:12] local.INFO: Passing IMEI to GPS processor {"connection_id":142477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:02:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":142477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:02: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-07-27 02:02:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:02:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:02:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984974592001,"66":25343,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:02:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:02:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:02:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984974592001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:02:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:02:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:02:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:02:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:02:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984974592001,"power":25343,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:02:12] local.INFO: DEBUG: GPS processor result {"connection_id":142477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:02:12] local.INFO: GPS data processed {"connection_id":142477,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:02:12] local.INFO: Acknowledgment sent {"connection_id":142477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:02:33] local.INFO: TCP Data received {"connection_id":143525,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:02:33] local.INFO: Processing buffer {"connection_id":143525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:02:33] local.INFO: IMEI packet received {"connection_id":143525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 02:02:33] local.INFO: IMEI acknowledgment sent {"connection_id":143525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 02:02:38] local.INFO: TCP Data received {"connection_id":143525,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:02:38] local.INFO: Processing buffer {"connection_id":143525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:02:38] local.INFO: IMEI packet received {"connection_id":143525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 02:02:38] local.INFO: IMEI acknowledgment sent {"connection_id":143525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 02:02:39] local.INFO: TCP Data received {"connection_id":143525,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019fa01fabd0012d7f980005afd7c0000900062b..."} 
[2026-07-27 02:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa01fabd0012d7f980005afd7c0000900062b..."} 
[2026-07-27 02:02:39] local.INFO: Processing buffer {"connection_id":143525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa01fabd0012d7f980005afd7c0000900062b..."} 
[2026-07-27 02:02:39] local.INFO: Packet analysis {"connection_id":143525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa01f"} 
[2026-07-27 02:02:39] local.INFO: Extracted packet for processing {"connection_id":143525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa01f"} 
[2026-07-27 02:02:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":9,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 02:02:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 02:02:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984974592001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:02:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:02:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:02:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:02:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785097858000,"timestamp_ms":1785097858000,"timestamp_seconds":1785097858,"priority":1,"record_length":96,"hex_timestamp":"0000019fa01fabd0"} 
[2026-07-27 02:02:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 02:02:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 02: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":75,"data_length":795,"current_offset":136} 
[2026-07-27 02:02: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-07-27 02:02:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 02:02:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 02:02:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:02:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:02:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:02:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:02:39] 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-07-27 02:02:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:02:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:02:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984974592001,"66":25343,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:02:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:02:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:02:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984974592001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:02:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:02:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:02:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:02:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:02:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984974592001,"power":25343,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:02:39] local.INFO: DEBUG: GPS processor result {"connection_id":143525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:02:39] local.INFO: GPS data processed {"connection_id":143525,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:02:39] local.INFO: Acknowledgment sent {"connection_id":143525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:03:11] local.INFO: TCP Data received {"connection_id":143525,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019fa01fabd0012d7f980005afd7c0000900062b..."} 
[2026-07-27 02:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa01fabd0012d7f980005afd7c0000900062b..."} 
[2026-07-27 02:03:11] local.INFO: Processing buffer {"connection_id":143525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa01fabd0012d7f980005afd7c0000900062b..."} 
[2026-07-27 02:03:11] local.INFO: Packet analysis {"connection_id":143525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa01f"} 
[2026-07-27 02:03:11] local.INFO: Extracted packet for processing {"connection_id":143525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa01f"} 
[2026-07-27 02:03:11] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":9,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 02:03:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984974592001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:03:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:03:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:03:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:03:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785097858000,"timestamp_ms":1785097858000,"timestamp_seconds":1785097858,"priority":1,"record_length":96,"hex_timestamp":"0000019fa01fabd0"} 
[2026-07-27 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-07-27 02:03:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-27 02:03: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-07-27 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-07-27 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-07-27 02:03:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:03:11] local.INFO: Teltonika packet parsed successfully {"connection_id":143525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:03:11] local.INFO: Passing IMEI to GPS processor {"connection_id":143525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:03:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":143525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:03: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-07-27 02:03:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:03:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:03:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984974592001,"66":25343,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:03:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:03:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:03:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984974592001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:03:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:03:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:03:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:03:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:03:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984974592001,"power":25343,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:03:11] local.INFO: DEBUG: GPS processor result {"connection_id":143525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:03:11] local.INFO: GPS data processed {"connection_id":143525,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:03:11] local.INFO: Acknowledgment sent {"connection_id":143525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:03:16] local.INFO: TCP Data received {"connection_id":143526,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 02:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143526,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 02:03:16] local.INFO: Processing buffer {"connection_id":143526,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 02:03:16] local.INFO: IMEI packet received {"connection_id":143526,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 02:03:16] local.INFO: IMEI acknowledgment sent {"connection_id":143526,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 02:03:33] local.INFO: TCP Data received {"connection_id":142552,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:03:33] local.INFO: Processing buffer {"connection_id":142552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:03:33] local.INFO: IMEI packet received {"connection_id":142552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 02:03:33] local.INFO: IMEI acknowledgment sent {"connection_id":142552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 02:03:38] local.INFO: TCP Data received {"connection_id":142552,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:03:38] local.INFO: Processing buffer {"connection_id":142552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:03:38] local.INFO: IMEI packet received {"connection_id":142552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 02:03:38] local.INFO: IMEI acknowledgment sent {"connection_id":142552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 02:03:39] local.INFO: TCP Data received {"connection_id":142552,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa01fabd0012d7f980005afd7c0000900062b..."} 
[2026-07-27 02:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142552,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa01fabd0012d7f980005afd7c0000900062b..."} 
[2026-07-27 02:03:39] local.INFO: Processing buffer {"connection_id":142552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa01fabd0012d7f980005afd7c0000900062b..."} 
[2026-07-27 02:03:39] local.INFO: Packet analysis {"connection_id":142552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa01f"} 
[2026-07-27 02:03:39] local.INFO: Extracted packet for processing {"connection_id":142552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa01f"} 
[2026-07-27 02:03:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":9,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 02: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-07-27 02:03:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984974592001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:03:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:03:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:03:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:03:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785097858000,"timestamp_ms":1785097858000,"timestamp_seconds":1785097858,"priority":1,"record_length":96,"hex_timestamp":"0000019fa01fabd0"} 
[2026-07-27 02:03:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 02:03:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 02: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":75,"data_length":795,"current_offset":136} 
[2026-07-27 02:03: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-07-27 02: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-07-27 02:03:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 02:03:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:03:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:03:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:03:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:03:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 02:03:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:03:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:03:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984974592001,"66":25343,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:03:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:03:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:03:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984974592001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:03:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:03:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:03:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:03:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:03:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984974592001,"power":25343,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:03:39] local.INFO: DEBUG: GPS processor result {"connection_id":142552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:03:39] local.INFO: GPS data processed {"connection_id":142552,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:03:39] local.INFO: Acknowledgment sent {"connection_id":142552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:03:46] local.INFO: TCP Data received {"connection_id":142553,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 02:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142553,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 02:03:46] local.INFO: Processing buffer {"connection_id":142553,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 02:03:46] local.INFO: IMEI packet received {"connection_id":142553,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 02:03:46] local.INFO: IMEI acknowledgment sent {"connection_id":142553,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 02:04:10] local.INFO: TCP Data received {"connection_id":142552,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa01fabd0012d7f980005afd7c0000900062b..."} 
[2026-07-27 02:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142552,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa01fabd0012d7f980005afd7c0000900062b..."} 
[2026-07-27 02:04:10] local.INFO: Processing buffer {"connection_id":142552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa01fabd0012d7f980005afd7c0000900062b..."} 
[2026-07-27 02:04:10] local.INFO: Packet analysis {"connection_id":142552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa01f"} 
[2026-07-27 02:04:10] local.INFO: Extracted packet for processing {"connection_id":142552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa01f"} 
[2026-07-27 02:04:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":9,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 02:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 02:04:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984974592001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:04:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:04:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:04:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:04:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785097858000,"timestamp_ms":1785097858000,"timestamp_seconds":1785097858,"priority":1,"record_length":96,"hex_timestamp":"0000019fa01fabd0"} 
[2026-07-27 02:04:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 02:04:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 02: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":75,"data_length":795,"current_offset":136} 
[2026-07-27 02:04: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-07-27 02:04:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 02:04:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 02:04:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:04:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:04:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:04:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:04: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-07-27 02:04:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:04:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:04:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984974592001,"66":25343,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:04:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:04:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:04:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984974592001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:04:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:04:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:04:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:04:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:04:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984974592001,"power":25343,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:04:10] local.INFO: DEBUG: GPS processor result {"connection_id":142552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:04:10] local.INFO: GPS data processed {"connection_id":142552,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:04:10] local.INFO: Acknowledgment sent {"connection_id":142552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:04:33] local.INFO: TCP Data received {"connection_id":142554,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:04:33] local.INFO: Processing buffer {"connection_id":142554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:04:33] local.INFO: IMEI packet received {"connection_id":142554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 02:04:33] local.INFO: IMEI acknowledgment sent {"connection_id":142554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 02:04:38] local.INFO: TCP Data received {"connection_id":142554,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:04:38] local.INFO: Processing buffer {"connection_id":142554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:04:38] local.INFO: IMEI packet received {"connection_id":142554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 02:04:38] local.INFO: IMEI acknowledgment sent {"connection_id":142554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 02:04:39] local.INFO: TCP Data received {"connection_id":142554,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019fa01fabd0012d7f980005afd7c0000900062b..."} 
[2026-07-27 02:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa01fabd0012d7f980005afd7c0000900062b..."} 
[2026-07-27 02:04:39] local.INFO: Processing buffer {"connection_id":142554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa01fabd0012d7f980005afd7c0000900062b..."} 
[2026-07-27 02:04:39] local.INFO: Packet analysis {"connection_id":142554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa01f"} 
[2026-07-27 02:04:39] local.INFO: Extracted packet for processing {"connection_id":142554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa01f"} 
[2026-07-27 02:04:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":9,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 02:04:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 02:04:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984974592001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:04:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:04:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:04:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:04:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785097858000,"timestamp_ms":1785097858000,"timestamp_seconds":1785097858,"priority":1,"record_length":96,"hex_timestamp":"0000019fa01fabd0"} 
[2026-07-27 02:04:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 02:04:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 02: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":75,"data_length":795,"current_offset":136} 
[2026-07-27 02:04: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-07-27 02:04:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 02:04:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 02:04:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:04:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:04:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:04:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:04:39] 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-07-27 02:04:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:04:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:04:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984974592001,"66":25343,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:04:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:04:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:04:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984974592001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:04:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:04:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:04:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:04:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:04:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984974592001,"power":25343,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:04:39] local.INFO: DEBUG: GPS processor result {"connection_id":142554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:04:39] local.INFO: GPS data processed {"connection_id":142554,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:04:39] local.INFO: Acknowledgment sent {"connection_id":142554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:05:10] local.INFO: TCP Data received {"connection_id":142554,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019fa01fabd0012d7f980005afd7c0000900062b..."} 
[2026-07-27 02:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa01fabd0012d7f980005afd7c0000900062b..."} 
[2026-07-27 02:05:10] local.INFO: Processing buffer {"connection_id":142554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa01fabd0012d7f980005afd7c0000900062b..."} 
[2026-07-27 02:05:10] local.INFO: Packet analysis {"connection_id":142554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa01f"} 
[2026-07-27 02:05:10] local.INFO: Extracted packet for processing {"connection_id":142554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa01f"} 
[2026-07-27 02:05:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":9,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 02:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 02:05:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984974592001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:05:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:05:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:05:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:05:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785097858000,"timestamp_ms":1785097858000,"timestamp_seconds":1785097858,"priority":1,"record_length":96,"hex_timestamp":"0000019fa01fabd0"} 
[2026-07-27 02:05:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 02:05:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 02: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":75,"data_length":795,"current_offset":136} 
[2026-07-27 02:05: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-07-27 02:05:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 02:05:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 02:05:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:05:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:05:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:05:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:05: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-07-27 02:05:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:05:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:05:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984974592001,"66":25343,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:05:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:05:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:05:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984974592001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:05:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:05:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:05:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:05:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:05:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984974592001,"power":25343,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:05:10] local.INFO: DEBUG: GPS processor result {"connection_id":142554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:05:10] local.INFO: GPS data processed {"connection_id":142554,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:05:10] local.INFO: Acknowledgment sent {"connection_id":142554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:05:38] local.INFO: TCP Data received {"connection_id":142478,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:05:38] local.INFO: Processing buffer {"connection_id":142478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:05:38] local.INFO: IMEI packet received {"connection_id":142478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 02:05:38] local.INFO: IMEI acknowledgment sent {"connection_id":142478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 02:05:43] local.INFO: TCP Data received {"connection_id":142478,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:05:43] local.INFO: Processing buffer {"connection_id":142478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:05:43] local.INFO: IMEI packet received {"connection_id":142478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 02:05:43] local.INFO: IMEI acknowledgment sent {"connection_id":142478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 02:05:44] local.INFO: TCP Data received {"connection_id":142478,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa01fabd0012d7f980005afd7c0000900062b..."} 
[2026-07-27 02:05:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa01fabd0012d7f980005afd7c0000900062b..."} 
[2026-07-27 02:05:44] local.INFO: Processing buffer {"connection_id":142478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa01fabd0012d7f980005afd7c0000900062b..."} 
[2026-07-27 02:05:44] local.INFO: Packet analysis {"connection_id":142478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa01f"} 
[2026-07-27 02:05:44] local.INFO: Extracted packet for processing {"connection_id":142478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa01f"} 
[2026-07-27 02:05:44] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":9,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 02:05:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 02:05:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984974592001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:05:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:05:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:05:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:05:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785097858000,"timestamp_ms":1785097858000,"timestamp_seconds":1785097858,"priority":1,"record_length":96,"hex_timestamp":"0000019fa01fabd0"} 
[2026-07-27 02:05:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 02:05:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 02:05:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-27 02:05:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 02:05:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 02:05:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 02:05:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:05:44] local.INFO: Teltonika packet parsed successfully {"connection_id":142478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:05:44] local.INFO: Passing IMEI to GPS processor {"connection_id":142478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:05:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":142478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:05: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-07-27 02:05:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:05:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:05:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984974592001,"66":25343,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:05:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:05:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:05:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984974592001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:05:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:05:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:05:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:05:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:05:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984974592001,"power":25343,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:05:44] local.INFO: DEBUG: GPS processor result {"connection_id":142478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:05:44] local.INFO: GPS data processed {"connection_id":142478,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:05:44] local.INFO: Acknowledgment sent {"connection_id":142478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:05:49] local.INFO: TCP Data received {"connection_id":142478,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa01fabd0012d7f980005afd7c0000900062b..."} 
[2026-07-27 02:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa01fabd0012d7f980005afd7c0000900062b..."} 
[2026-07-27 02:05:49] local.INFO: Processing buffer {"connection_id":142478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa01fabd0012d7f980005afd7c0000900062b..."} 
[2026-07-27 02:05:49] local.INFO: Packet analysis {"connection_id":142478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa01f"} 
[2026-07-27 02:05:49] local.INFO: Extracted packet for processing {"connection_id":142478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa01f"} 
[2026-07-27 02:05:49] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":9,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 02:05:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 02:05:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456984974592001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:05:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:05:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:05:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:05:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785097858000,"timestamp_ms":1785097858000,"timestamp_seconds":1785097858,"priority":1,"record_length":96,"hex_timestamp":"0000019fa01fabd0"} 
[2026-07-27 02:05:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 02:05:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 02: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-27 02:05:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 02:05:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 02:05:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 02:05:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:05:49] local.INFO: Teltonika packet parsed successfully {"connection_id":142478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:05:49] local.INFO: Passing IMEI to GPS processor {"connection_id":142478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:05:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":142478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:05:49] 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-07-27 02:05:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:05:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:05:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456984974592001,"66":25343,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:05:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:05:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:05:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456984974592001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:05:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:05:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:05:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:05:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:05:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456984974592001,"power":25343,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:05:49] local.INFO: DEBUG: GPS processor result {"connection_id":142478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:05:49] local.INFO: GPS data processed {"connection_id":142478,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:05:49] local.INFO: Acknowledgment sent {"connection_id":142478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:06:33] local.INFO: TCP Data received {"connection_id":143527,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:06:33] local.INFO: Processing buffer {"connection_id":143527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:06:33] local.INFO: IMEI packet received {"connection_id":143527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 02:06:33] local.INFO: IMEI acknowledgment sent {"connection_id":143527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 02:06:37] local.INFO: TCP Data received {"connection_id":143527,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:06:37] local.INFO: Processing buffer {"connection_id":143527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:06:37] local.INFO: IMEI packet received {"connection_id":143527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 02:06:37] local.INFO: IMEI acknowledgment sent {"connection_id":143527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 02:06:38] local.INFO: TCP Data received {"connection_id":143527,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0244398012d7f980005afd7c0000900062a..."} 
[2026-07-27 02:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0244398012d7f980005afd7c0000900062a..."} 
[2026-07-27 02:06:38] local.INFO: Processing buffer {"connection_id":143527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0244398012d7f980005afd7c0000900062a..."} 
[2026-07-27 02:06:38] local.INFO: Packet analysis {"connection_id":143527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa024"} 
[2026-07-27 02:06:38] local.INFO: Extracted packet for processing {"connection_id":143527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa024"} 
[2026-07-27 02:06:38] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":9,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 02:06:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 02:06:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985051648001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:06:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:06:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:06:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:06:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785098159000,"timestamp_ms":1785098159000,"timestamp_seconds":1785098159,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0244398"} 
[2026-07-27 02:06:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 02:06:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 02:06:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-27 02:06:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 02:06:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 02:06:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 02:06:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:06:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:06:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:06:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:06:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 02:06:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:06:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:06:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985051648001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:06:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:06:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:06:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985051648001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:06:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:06:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:06:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:06:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:06:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985051648001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:06:38] local.INFO: DEBUG: GPS processor result {"connection_id":143527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:06:38] local.INFO: GPS data processed {"connection_id":143527,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:06:38] local.INFO: Acknowledgment sent {"connection_id":143527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:07:09] local.INFO: TCP Data received {"connection_id":143527,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0244398012d7f980005afd7c0000900062a..."} 
[2026-07-27 02:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0244398012d7f980005afd7c0000900062a..."} 
[2026-07-27 02:07:09] local.INFO: Processing buffer {"connection_id":143527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0244398012d7f980005afd7c0000900062a..."} 
[2026-07-27 02:07:09] local.INFO: Packet analysis {"connection_id":143527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa024"} 
[2026-07-27 02:07:09] local.INFO: Extracted packet for processing {"connection_id":143527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa024"} 
[2026-07-27 02:07:09] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":9,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 02:07:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 02:07:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985051648001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:07:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:07:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:07:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:07:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785098159000,"timestamp_ms":1785098159000,"timestamp_seconds":1785098159,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0244398"} 
[2026-07-27 02:07:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 02:07:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 02:07:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-27 02:07:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 02:07:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 02:07:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 02:07:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:07:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:07:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:07:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:07: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-07-27 02:07:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:07:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:07:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985051648001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:07:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:07:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:07:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985051648001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:07:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:07:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:07:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:07:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:07:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985051648001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:07:09] local.INFO: DEBUG: GPS processor result {"connection_id":143527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:07:09] local.INFO: GPS data processed {"connection_id":143527,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:07:09] local.INFO: Acknowledgment sent {"connection_id":143527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:07:33] local.INFO: TCP Data received {"connection_id":144870,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:07:33] local.INFO: Processing buffer {"connection_id":144870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:07:33] local.INFO: IMEI packet received {"connection_id":144870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 02:07:33] local.INFO: IMEI acknowledgment sent {"connection_id":144870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 02:07:38] local.INFO: TCP Data received {"connection_id":144870,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:07:38] local.INFO: Processing buffer {"connection_id":144870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:07:38] local.INFO: IMEI packet received {"connection_id":144870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 02:07:38] local.INFO: IMEI acknowledgment sent {"connection_id":144870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 02:07:39] local.INFO: TCP Data received {"connection_id":144870,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0244398012d7f980005afd7c0000900062a..."} 
[2026-07-27 02:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0244398012d7f980005afd7c0000900062a..."} 
[2026-07-27 02:07:39] local.INFO: Processing buffer {"connection_id":144870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0244398012d7f980005afd7c0000900062a..."} 
[2026-07-27 02:07:39] local.INFO: Packet analysis {"connection_id":144870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa024"} 
[2026-07-27 02:07:39] local.INFO: Extracted packet for processing {"connection_id":144870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa024"} 
[2026-07-27 02:07:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":9,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 02: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-07-27 02:07:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985051648001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:07:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:07:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:07:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:07:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785098159000,"timestamp_ms":1785098159000,"timestamp_seconds":1785098159,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0244398"} 
[2026-07-27 02:07:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 02:07:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 02:07:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-27 02:07:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 02: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-07-27 02:07:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 02:07:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:07:39] local.INFO: Teltonika packet parsed successfully {"connection_id":144870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:07:39] local.INFO: Passing IMEI to GPS processor {"connection_id":144870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:07:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":144870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:07:39] 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-07-27 02:07:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:07:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:07:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985051648001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:07:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:07:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:07:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985051648001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:07:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:07:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:07:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:07:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:07:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985051648001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:07:39] local.INFO: DEBUG: GPS processor result {"connection_id":144870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:07:39] local.INFO: GPS data processed {"connection_id":144870,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:07:39] local.INFO: Acknowledgment sent {"connection_id":144870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:08:10] local.INFO: TCP Data received {"connection_id":144870,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0244398012d7f980005afd7c0000900062a..."} 
[2026-07-27 02:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0244398012d7f980005afd7c0000900062a..."} 
[2026-07-27 02:08:10] local.INFO: Processing buffer {"connection_id":144870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0244398012d7f980005afd7c0000900062a..."} 
[2026-07-27 02:08:10] local.INFO: Packet analysis {"connection_id":144870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa024"} 
[2026-07-27 02:08:10] local.INFO: Extracted packet for processing {"connection_id":144870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa024"} 
[2026-07-27 02:08:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":9,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 02:08:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985051648001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:08:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:08:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:08:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:08:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785098159000,"timestamp_ms":1785098159000,"timestamp_seconds":1785098159,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0244398"} 
[2026-07-27 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-07-27 02:08:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-27 02: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-07-27 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-07-27 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-07-27 02:08:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:08:10] local.INFO: Teltonika packet parsed successfully {"connection_id":144870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:08:10] local.INFO: Passing IMEI to GPS processor {"connection_id":144870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:08:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":144870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:08: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-07-27 02:08:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:08:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:08:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985051648001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:08:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:08:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:08:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985051648001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:08:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:08:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:08:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:08:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:08:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985051648001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:08:10] local.INFO: DEBUG: GPS processor result {"connection_id":144870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:08:10] local.INFO: GPS data processed {"connection_id":144870,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:08:10] local.INFO: Acknowledgment sent {"connection_id":144870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:08:33] local.INFO: TCP Data received {"connection_id":142556,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:08:33] local.INFO: Processing buffer {"connection_id":142556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:08:33] local.INFO: IMEI packet received {"connection_id":142556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 02:08:33] local.INFO: IMEI acknowledgment sent {"connection_id":142556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 02:08:38] local.INFO: TCP Data received {"connection_id":142556,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:08:38] local.INFO: Processing buffer {"connection_id":142556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:08:38] local.INFO: IMEI packet received {"connection_id":142556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 02:08:38] local.INFO: IMEI acknowledgment sent {"connection_id":142556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 02:08:39] local.INFO: TCP Data received {"connection_id":142556,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0244398012d7f980005afd7c0000900062a..."} 
[2026-07-27 02:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142556,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0244398012d7f980005afd7c0000900062a..."} 
[2026-07-27 02:08:39] local.INFO: Processing buffer {"connection_id":142556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0244398012d7f980005afd7c0000900062a..."} 
[2026-07-27 02:08:39] local.INFO: Packet analysis {"connection_id":142556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa024"} 
[2026-07-27 02:08:39] local.INFO: Extracted packet for processing {"connection_id":142556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa024"} 
[2026-07-27 02:08:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":9,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 02: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-07-27 02:08:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985051648001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:08:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:08:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:08:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:08:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785098159000,"timestamp_ms":1785098159000,"timestamp_seconds":1785098159,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0244398"} 
[2026-07-27 02:08:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 02:08:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 02:08:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-27 02:08:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 02:08:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 02:08:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 02:08:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:08:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:08:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:08:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:08:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 02:08:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:08:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:08:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985051648001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:08:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:08:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:08:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985051648001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:08:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:08:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:08:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:08:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:08:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985051648001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:08:39] local.INFO: DEBUG: GPS processor result {"connection_id":142556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:08:39] local.INFO: GPS data processed {"connection_id":142556,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:08:39] local.INFO: Acknowledgment sent {"connection_id":142556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:09:10] local.INFO: TCP Data received {"connection_id":142556,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0244398012d7f980005afd7c0000900062a..."} 
[2026-07-27 02:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142556,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0244398012d7f980005afd7c0000900062a..."} 
[2026-07-27 02:09:10] local.INFO: Processing buffer {"connection_id":142556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0244398012d7f980005afd7c0000900062a..."} 
[2026-07-27 02:09:10] local.INFO: Packet analysis {"connection_id":142556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa024"} 
[2026-07-27 02:09:10] local.INFO: Extracted packet for processing {"connection_id":142556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa024"} 
[2026-07-27 02:09:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":9,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 02:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 02:09:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985051648001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:09:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:09:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:09:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:09:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785098159000,"timestamp_ms":1785098159000,"timestamp_seconds":1785098159,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0244398"} 
[2026-07-27 02:09:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 02:09:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 02:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-27 02:09:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 02:09:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 02:09:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 02:09:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:09:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:09:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:09:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:09: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-07-27 02:09:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:09:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:09:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985051648001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:09:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:09:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:09:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985051648001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:09:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:09:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:09:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:09:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:09:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985051648001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:09:10] local.INFO: DEBUG: GPS processor result {"connection_id":142556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:09:10] local.INFO: GPS data processed {"connection_id":142556,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:09:10] local.INFO: Acknowledgment sent {"connection_id":142556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:09:11] local.INFO: TCP Data received {"connection_id":142557,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 02:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142557,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 02:09:11] local.INFO: Processing buffer {"connection_id":142557,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 02:09:11] local.INFO: IMEI packet received {"connection_id":142557,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 02:09:11] local.INFO: IMEI acknowledgment sent {"connection_id":142557,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 02:09:38] local.INFO: TCP Data received {"connection_id":143528,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:09:38] local.INFO: Processing buffer {"connection_id":143528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:09:38] local.INFO: IMEI packet received {"connection_id":143528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 02:09:38] local.INFO: IMEI acknowledgment sent {"connection_id":143528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 02:09:43] local.INFO: TCP Data received {"connection_id":143528,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:09:43] local.INFO: Processing buffer {"connection_id":143528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:09:43] local.INFO: IMEI packet received {"connection_id":143528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 02:09:43] local.INFO: IMEI acknowledgment sent {"connection_id":143528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 02:09:44] local.INFO: TCP Data received {"connection_id":143528,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0244398012d7f980005afd7c0000900062a..."} 
[2026-07-27 02:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0244398012d7f980005afd7c0000900062a..."} 
[2026-07-27 02:09:44] local.INFO: Processing buffer {"connection_id":143528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0244398012d7f980005afd7c0000900062a..."} 
[2026-07-27 02:09:44] local.INFO: Packet analysis {"connection_id":143528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa024"} 
[2026-07-27 02:09:44] local.INFO: Extracted packet for processing {"connection_id":143528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa024"} 
[2026-07-27 02:09:44] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":9,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 02:09:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 02:09:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985051648001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:09:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:09:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:09:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:09:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785098159000,"timestamp_ms":1785098159000,"timestamp_seconds":1785098159,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0244398"} 
[2026-07-27 02:09:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 02:09:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 02:09:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-27 02:09:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 02:09:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 02:09:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 02:09:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:09:44] local.INFO: Teltonika packet parsed successfully {"connection_id":143528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:09:44] local.INFO: Passing IMEI to GPS processor {"connection_id":143528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:09:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":143528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:09: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-07-27 02:09:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:09:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:09:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985051648001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:09:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:09:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:09:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985051648001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:09:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:09:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:09:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:09:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:09:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985051648001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:09:44] local.INFO: DEBUG: GPS processor result {"connection_id":143528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:09:44] local.INFO: GPS data processed {"connection_id":143528,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:09:44] local.INFO: Acknowledgment sent {"connection_id":143528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:09:46] local.INFO: TCP Data received {"connection_id":143529,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 02:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143529,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 02:09:46] local.INFO: Processing buffer {"connection_id":143529,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 02:09:46] local.INFO: IMEI packet received {"connection_id":143529,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 02:09:46] local.INFO: IMEI acknowledgment sent {"connection_id":143529,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 02:10:15] local.INFO: TCP Data received {"connection_id":143528,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0244398012d7f980005afd7c0000900062a..."} 
[2026-07-27 02:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0244398012d7f980005afd7c0000900062a..."} 
[2026-07-27 02:10:15] local.INFO: Processing buffer {"connection_id":143528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0244398012d7f980005afd7c0000900062a..."} 
[2026-07-27 02:10:15] local.INFO: Packet analysis {"connection_id":143528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa024"} 
[2026-07-27 02:10:15] local.INFO: Extracted packet for processing {"connection_id":143528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa024"} 
[2026-07-27 02:10:15] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":9,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 02:10:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 02:10:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985051648001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:10:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:10:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:10:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:10:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785098159000,"timestamp_ms":1785098159000,"timestamp_seconds":1785098159,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0244398"} 
[2026-07-27 02:10:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 02:10:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 02:10:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-27 02:10:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 02:10:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 02:10:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 02:10:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:10:15] local.INFO: Teltonika packet parsed successfully {"connection_id":143528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:10:15] local.INFO: Passing IMEI to GPS processor {"connection_id":143528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:10:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":143528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:10: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-07-27 02:10:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:10:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:10:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985051648001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:10:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:10:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:10:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985051648001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:10:15] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:10:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:10:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:10:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:10:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985051648001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:10:15] local.INFO: DEBUG: GPS processor result {"connection_id":143528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:10:15] local.INFO: GPS data processed {"connection_id":143528,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:10:15] local.INFO: Acknowledgment sent {"connection_id":143528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:10:33] local.INFO: TCP Data received {"connection_id":142480,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:10:33] local.INFO: Processing buffer {"connection_id":142480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:10:33] local.INFO: IMEI packet received {"connection_id":142480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 02:10:33] local.INFO: IMEI acknowledgment sent {"connection_id":142480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 02:10:38] local.INFO: TCP Data received {"connection_id":142480,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:10:38] local.INFO: Processing buffer {"connection_id":142480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:10:38] local.INFO: IMEI packet received {"connection_id":142480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 02:10:38] local.INFO: IMEI acknowledgment sent {"connection_id":142480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 02:10:39] local.INFO: TCP Data received {"connection_id":142480,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0244398012d7f980005afd7c0000900062a..."} 
[2026-07-27 02:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0244398012d7f980005afd7c0000900062a..."} 
[2026-07-27 02:10:39] local.INFO: Processing buffer {"connection_id":142480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0244398012d7f980005afd7c0000900062a..."} 
[2026-07-27 02:10:39] local.INFO: Packet analysis {"connection_id":142480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa024"} 
[2026-07-27 02:10:39] local.INFO: Extracted packet for processing {"connection_id":142480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa024"} 
[2026-07-27 02:10:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":9,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 02:10:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 02:10:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985051648001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:10:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:10:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:10:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:10:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785098159000,"timestamp_ms":1785098159000,"timestamp_seconds":1785098159,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0244398"} 
[2026-07-27 02:10:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 02:10:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 02: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":255,"data_length":795,"current_offset":136} 
[2026-07-27 02:10:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 02:10:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 02:10:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 02:10:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:10:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:10:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:10:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:10:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 02:10:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:10:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:10:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985051648001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:10:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:10:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:10:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985051648001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:10:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:10:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:10:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:10:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:10:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985051648001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:10:39] local.INFO: DEBUG: GPS processor result {"connection_id":142480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:10:39] local.INFO: GPS data processed {"connection_id":142480,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:10:39] local.INFO: Acknowledgment sent {"connection_id":142480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:11:11] local.INFO: TCP Data received {"connection_id":142480,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0244398012d7f980005afd7c0000900062a..."} 
[2026-07-27 02:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0244398012d7f980005afd7c0000900062a..."} 
[2026-07-27 02:11:11] local.INFO: Processing buffer {"connection_id":142480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0244398012d7f980005afd7c0000900062a..."} 
[2026-07-27 02:11:11] local.INFO: Packet analysis {"connection_id":142480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa024"} 
[2026-07-27 02:11:11] local.INFO: Extracted packet for processing {"connection_id":142480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa024"} 
[2026-07-27 02:11:11] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":9,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 02:11:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985051648001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:11:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:11:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:11:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:11:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785098159000,"timestamp_ms":1785098159000,"timestamp_seconds":1785098159,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0244398"} 
[2026-07-27 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-07-27 02:11:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-27 02:11: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-07-27 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-07-27 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-07-27 02:11:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:11:11] local.INFO: Teltonika packet parsed successfully {"connection_id":142480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:11:11] local.INFO: Passing IMEI to GPS processor {"connection_id":142480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:11:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":142480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:11: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-07-27 02:11:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:11:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:11:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985051648001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:11:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:11:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:11:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985051648001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:11:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:11:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:11:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:11:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:11:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985051648001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:11:11] local.INFO: DEBUG: GPS processor result {"connection_id":142480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:11:11] local.INFO: GPS data processed {"connection_id":142480,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:11:11] local.INFO: Acknowledgment sent {"connection_id":142480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:11:33] local.INFO: TCP Data received {"connection_id":143530,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:11:33] local.INFO: Processing buffer {"connection_id":143530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:11:33] local.INFO: IMEI packet received {"connection_id":143530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 02:11:33] local.INFO: IMEI acknowledgment sent {"connection_id":143530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 02:11:38] local.INFO: TCP Data received {"connection_id":143530,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:11:38] local.INFO: Processing buffer {"connection_id":143530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:11:38] local.INFO: IMEI packet received {"connection_id":143530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 02:11:38] local.INFO: IMEI acknowledgment sent {"connection_id":143530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 02:11:39] local.INFO: TCP Data received {"connection_id":143530,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fa028db60012d7f980005afd7c0000100062a..."} 
[2026-07-27 02:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143530,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa028db60012d7f980005afd7c0000100062a..."} 
[2026-07-27 02:11:39] local.INFO: Processing buffer {"connection_id":143530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa028db60012d7f980005afd7c0000100062a..."} 
[2026-07-27 02:11:39] local.INFO: Packet analysis {"connection_id":143530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa028"} 
[2026-07-27 02:11:39] local.INFO: Extracted packet for processing {"connection_id":143530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa028"} 
[2026-07-27 02:11:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":1,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 02:11:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 02:11:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985128704001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:11:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:11:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:11:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:11:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785098460000,"timestamp_ms":1785098460000,"timestamp_seconds":1785098460,"priority":1,"record_length":96,"hex_timestamp":"0000019fa028db60"} 
[2026-07-27 02:11:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 02:11:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 02: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":53,"data_length":795,"current_offset":136} 
[2026-07-27 02:11: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-07-27 02:11:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 02:11:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 02:11:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:11:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:11:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:11:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:11:39] 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-07-27 02:11:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:11:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:11:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985128704001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:11:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:11:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:11:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985128704001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:11:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:11:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:11:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:11:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:11:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985128704001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:11:39] local.INFO: DEBUG: GPS processor result {"connection_id":143530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:11:39] local.INFO: GPS data processed {"connection_id":143530,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:11:39] local.INFO: Acknowledgment sent {"connection_id":143530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:12:10] local.INFO: TCP Data received {"connection_id":143530,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fa028db60012d7f980005afd7c0000100062a..."} 
[2026-07-27 02:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143530,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa028db60012d7f980005afd7c0000100062a..."} 
[2026-07-27 02:12:10] local.INFO: Processing buffer {"connection_id":143530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa028db60012d7f980005afd7c0000100062a..."} 
[2026-07-27 02:12:10] local.INFO: Packet analysis {"connection_id":143530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa028"} 
[2026-07-27 02:12:10] local.INFO: Extracted packet for processing {"connection_id":143530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa028"} 
[2026-07-27 02:12:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":1,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 02:12:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985128704001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:12:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:12:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:12:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:12:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785098460000,"timestamp_ms":1785098460000,"timestamp_seconds":1785098460,"priority":1,"record_length":96,"hex_timestamp":"0000019fa028db60"} 
[2026-07-27 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-07-27 02:12:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":53,"data_length":795,"current_offset":136} 
[2026-07-27 02:12:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 02:12:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:12:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:12:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:12:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02: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-07-27 02:12:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:12:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:12:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985128704001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:12:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:12:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:12:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985128704001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:12:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:12:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:12:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:12:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:12:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985128704001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:12:10] local.INFO: DEBUG: GPS processor result {"connection_id":143530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:12:10] local.INFO: GPS data processed {"connection_id":143530,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:12:10] local.INFO: Acknowledgment sent {"connection_id":143530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:12:38] local.INFO: TCP Data received {"connection_id":142559,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:12:38] local.INFO: Processing buffer {"connection_id":142559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:12:38] local.INFO: IMEI packet received {"connection_id":142559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 02:12:38] local.INFO: IMEI acknowledgment sent {"connection_id":142559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 02:12:43] local.INFO: TCP Data received {"connection_id":142559,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:12:43] local.INFO: Processing buffer {"connection_id":142559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:12:43] local.INFO: IMEI packet received {"connection_id":142559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 02:12:43] local.INFO: IMEI acknowledgment sent {"connection_id":142559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 02:12:44] local.INFO: TCP Data received {"connection_id":142559,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fa028db60012d7f980005afd7c0000100062a..."} 
[2026-07-27 02:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa028db60012d7f980005afd7c0000100062a..."} 
[2026-07-27 02:12:44] local.INFO: Processing buffer {"connection_id":142559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa028db60012d7f980005afd7c0000100062a..."} 
[2026-07-27 02:12:44] local.INFO: Packet analysis {"connection_id":142559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa028"} 
[2026-07-27 02:12:44] local.INFO: Extracted packet for processing {"connection_id":142559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa028"} 
[2026-07-27 02:12:44] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":1,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 02: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-07-27 02:12:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985128704001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:12:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:12:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:12:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:12:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785098460000,"timestamp_ms":1785098460000,"timestamp_seconds":1785098460,"priority":1,"record_length":96,"hex_timestamp":"0000019fa028db60"} 
[2026-07-27 02:12:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 02:12:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 02: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 02:12: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-07-27 02: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-07-27 02:12:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 02:12:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:12:44] local.INFO: Teltonika packet parsed successfully {"connection_id":142559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:12:44] local.INFO: Passing IMEI to GPS processor {"connection_id":142559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:12:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":142559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:12: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-07-27 02:12:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:12:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:12:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985128704001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:12:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:12:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:12:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985128704001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:12:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:12:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:12:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:12:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:12:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985128704001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:12:44] local.INFO: DEBUG: GPS processor result {"connection_id":142559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:12:44] local.INFO: GPS data processed {"connection_id":142559,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:12:44] local.INFO: Acknowledgment sent {"connection_id":142559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:12:49] local.INFO: TCP Data received {"connection_id":142559,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fa028db60012d7f980005afd7c0000100062a..."} 
[2026-07-27 02:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa028db60012d7f980005afd7c0000100062a..."} 
[2026-07-27 02:12:49] local.INFO: Processing buffer {"connection_id":142559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa028db60012d7f980005afd7c0000100062a..."} 
[2026-07-27 02:12:49] local.INFO: Packet analysis {"connection_id":142559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa028"} 
[2026-07-27 02:12:49] local.INFO: Extracted packet for processing {"connection_id":142559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa028"} 
[2026-07-27 02:12:49] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":1,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 02: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-07-27 02:12:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985128704001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:12:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:12:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:12:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:12:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785098460000,"timestamp_ms":1785098460000,"timestamp_seconds":1785098460,"priority":1,"record_length":96,"hex_timestamp":"0000019fa028db60"} 
[2026-07-27 02:12:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 02:12:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 02: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 02:12:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 02: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-07-27 02:12:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 02:12:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:12:49] local.INFO: Teltonika packet parsed successfully {"connection_id":142559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:12:49] local.INFO: Passing IMEI to GPS processor {"connection_id":142559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:12:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":142559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:12:49] 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-07-27 02:12:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:12:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:12:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985128704001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:12:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:12:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:12:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985128704001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:12:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:12:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:12:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:12:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:12:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985128704001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:12:49] local.INFO: DEBUG: GPS processor result {"connection_id":142559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:12:49] local.INFO: GPS data processed {"connection_id":142559,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:12:49] local.INFO: Acknowledgment sent {"connection_id":142559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:13:33] local.INFO: TCP Data received {"connection_id":143531,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:13:33] local.INFO: Processing buffer {"connection_id":143531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:13:33] local.INFO: IMEI packet received {"connection_id":143531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 02:13:33] local.INFO: IMEI acknowledgment sent {"connection_id":143531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 02:13:38] local.INFO: TCP Data received {"connection_id":143531,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:13:38] local.INFO: Processing buffer {"connection_id":143531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:13:38] local.INFO: IMEI packet received {"connection_id":143531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 02:13:38] local.INFO: IMEI acknowledgment sent {"connection_id":143531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 02:13:39] local.INFO: TCP Data received {"connection_id":143531,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019fa028db60012d7f980005afd7c0000100062a..."} 
[2026-07-27 02:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa028db60012d7f980005afd7c0000100062a..."} 
[2026-07-27 02:13:39] local.INFO: Processing buffer {"connection_id":143531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa028db60012d7f980005afd7c0000100062a..."} 
[2026-07-27 02:13:39] local.INFO: Packet analysis {"connection_id":143531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa028"} 
[2026-07-27 02:13:39] local.INFO: Extracted packet for processing {"connection_id":143531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa028"} 
[2026-07-27 02:13:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":1,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 02:13:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 02:13:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985128704001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:13:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:13:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:13:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:13:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785098460000,"timestamp_ms":1785098460000,"timestamp_seconds":1785098460,"priority":1,"record_length":96,"hex_timestamp":"0000019fa028db60"} 
[2026-07-27 02:13:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 02:13:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 02:13:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 02:13: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-07-27 02:13:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 02:13:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 02:13:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:13:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:13:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:13:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:13:39] 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-07-27 02:13:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:13:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:13:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985128704001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:13:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:13:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:13:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985128704001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:13:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:13:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:13:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:13:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:13:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985128704001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:13:39] local.INFO: DEBUG: GPS processor result {"connection_id":143531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:13:39] local.INFO: GPS data processed {"connection_id":143531,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:13:39] local.INFO: Acknowledgment sent {"connection_id":143531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:14:10] local.INFO: TCP Data received {"connection_id":143531,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019fa028db60012d7f980005afd7c0000100062a..."} 
[2026-07-27 02:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa028db60012d7f980005afd7c0000100062a..."} 
[2026-07-27 02:14:10] local.INFO: Processing buffer {"connection_id":143531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa028db60012d7f980005afd7c0000100062a..."} 
[2026-07-27 02:14:10] local.INFO: Packet analysis {"connection_id":143531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa028"} 
[2026-07-27 02:14:10] local.INFO: Extracted packet for processing {"connection_id":143531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa028"} 
[2026-07-27 02:14:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":1,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 02:14:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985128704001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:14:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:14:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:14:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:14:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785098460000,"timestamp_ms":1785098460000,"timestamp_seconds":1785098460,"priority":1,"record_length":96,"hex_timestamp":"0000019fa028db60"} 
[2026-07-27 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-07-27 02:14:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":53,"data_length":795,"current_offset":136} 
[2026-07-27 02: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-07-27 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-07-27 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-07-27 02:14:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:14:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:14:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:14:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02: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-07-27 02:14:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:14:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:14:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985128704001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:14:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:14:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:14:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985128704001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:14:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:14:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:14:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:14:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:14:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985128704001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:14:10] local.INFO: DEBUG: GPS processor result {"connection_id":143531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:14:10] local.INFO: GPS data processed {"connection_id":143531,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:14:10] local.INFO: Acknowledgment sent {"connection_id":143531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:14:33] local.INFO: TCP Data received {"connection_id":144873,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:14:33] local.INFO: Processing buffer {"connection_id":144873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:14:33] local.INFO: IMEI packet received {"connection_id":144873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 02:14:33] local.INFO: IMEI acknowledgment sent {"connection_id":144873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 02:14:38] local.INFO: TCP Data received {"connection_id":144873,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:14:38] local.INFO: Processing buffer {"connection_id":144873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:14:38] local.INFO: IMEI packet received {"connection_id":144873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 02:14:38] local.INFO: IMEI acknowledgment sent {"connection_id":144873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 02:14:39] local.INFO: TCP Data received {"connection_id":144873,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa028db60012d7f980005afd7c0000100062a..."} 
[2026-07-27 02:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144873,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa028db60012d7f980005afd7c0000100062a..."} 
[2026-07-27 02:14:39] local.INFO: Processing buffer {"connection_id":144873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa028db60012d7f980005afd7c0000100062a..."} 
[2026-07-27 02:14:39] local.INFO: Packet analysis {"connection_id":144873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa028"} 
[2026-07-27 02:14:39] local.INFO: Extracted packet for processing {"connection_id":144873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa028"} 
[2026-07-27 02:14:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":1,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 02:14:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 02:14:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985128704001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:14:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:14:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:14:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:14:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785098460000,"timestamp_ms":1785098460000,"timestamp_seconds":1785098460,"priority":1,"record_length":96,"hex_timestamp":"0000019fa028db60"} 
[2026-07-27 02:14:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 02:14:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 02: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":53,"data_length":795,"current_offset":136} 
[2026-07-27 02:14: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-07-27 02:14:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 02:14:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 02:14:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:14:39] local.INFO: Teltonika packet parsed successfully {"connection_id":144873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:14:39] local.INFO: Passing IMEI to GPS processor {"connection_id":144873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:14:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":144873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:14:39] 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-07-27 02:14:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:14:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:14:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985128704001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:14:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:14:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:14:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985128704001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:14:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:14:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:14:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:14:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:14:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985128704001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:14:39] local.INFO: DEBUG: GPS processor result {"connection_id":144873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:14:39] local.INFO: GPS data processed {"connection_id":144873,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:14:39] local.INFO: Acknowledgment sent {"connection_id":144873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:15:10] local.INFO: TCP Data received {"connection_id":144873,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa028db60012d7f980005afd7c0000100062a..."} 
[2026-07-27 02:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144873,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa028db60012d7f980005afd7c0000100062a..."} 
[2026-07-27 02:15:10] local.INFO: Processing buffer {"connection_id":144873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa028db60012d7f980005afd7c0000100062a..."} 
[2026-07-27 02:15:10] local.INFO: Packet analysis {"connection_id":144873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa028"} 
[2026-07-27 02:15:10] local.INFO: Extracted packet for processing {"connection_id":144873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa028"} 
[2026-07-27 02:15:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":1,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 02:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 02:15:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985128704001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:15:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:15:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:15:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:15:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785098460000,"timestamp_ms":1785098460000,"timestamp_seconds":1785098460,"priority":1,"record_length":96,"hex_timestamp":"0000019fa028db60"} 
[2026-07-27 02:15:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 02:15:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 02: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":53,"data_length":795,"current_offset":136} 
[2026-07-27 02:15:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 02:15:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 02:15:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 02:15:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:15:10] local.INFO: Teltonika packet parsed successfully {"connection_id":144873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:15:10] local.INFO: Passing IMEI to GPS processor {"connection_id":144873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:15:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":144873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:15: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-07-27 02:15:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:15:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:15:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985128704001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:15:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:15:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:15:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985128704001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:15:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:15:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:15:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:15:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:15:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985128704001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:15:10] local.INFO: DEBUG: GPS processor result {"connection_id":144873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:15:10] local.INFO: GPS data processed {"connection_id":144873,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:15:10] local.INFO: Acknowledgment sent {"connection_id":144873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:15:16] local.INFO: TCP Data received {"connection_id":144874,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 02:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144874,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 02:15:16] local.INFO: Processing buffer {"connection_id":144874,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 02:15:16] local.INFO: IMEI packet received {"connection_id":144874,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 02:15:16] local.INFO: IMEI acknowledgment sent {"connection_id":144874,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 02:15:33] local.INFO: TCP Data received {"connection_id":142560,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:15:33] local.INFO: Processing buffer {"connection_id":142560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:15:33] local.INFO: IMEI packet received {"connection_id":142560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 02:15:33] local.INFO: IMEI acknowledgment sent {"connection_id":142560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 02:15:38] local.INFO: TCP Data received {"connection_id":142560,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:15:38] local.INFO: Processing buffer {"connection_id":142560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:15:38] local.INFO: IMEI packet received {"connection_id":142560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 02:15:38] local.INFO: IMEI acknowledgment sent {"connection_id":142560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 02:15:39] local.INFO: TCP Data received {"connection_id":142560,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa028db60012d7f980005afd7c0000100062a..."} 
[2026-07-27 02:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa028db60012d7f980005afd7c0000100062a..."} 
[2026-07-27 02:15:39] local.INFO: Processing buffer {"connection_id":142560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa028db60012d7f980005afd7c0000100062a..."} 
[2026-07-27 02:15:39] local.INFO: Packet analysis {"connection_id":142560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa028"} 
[2026-07-27 02:15:39] local.INFO: Extracted packet for processing {"connection_id":142560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa028"} 
[2026-07-27 02:15:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":1,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 02:15:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 02:15:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985128704001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:15:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:15:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:15:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:15:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785098460000,"timestamp_ms":1785098460000,"timestamp_seconds":1785098460,"priority":1,"record_length":96,"hex_timestamp":"0000019fa028db60"} 
[2026-07-27 02:15:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 02:15:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 02: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-07-27 02: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-07-27 02:15:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 02:15:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 02:15:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:15:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:15:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:15:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:15:39] 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-07-27 02:15:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:15:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:15:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985128704001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:15:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:15:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:15:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985128704001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:15:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:15:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:15:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:15:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:15:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985128704001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:15:39] local.INFO: DEBUG: GPS processor result {"connection_id":142560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:15:39] local.INFO: GPS data processed {"connection_id":142560,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:15:39] local.INFO: Acknowledgment sent {"connection_id":142560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:15:45] local.INFO: TCP Data received {"connection_id":143532,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 02:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143532,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 02:15:45] local.INFO: Processing buffer {"connection_id":143532,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 02:15:45] local.INFO: IMEI packet received {"connection_id":143532,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 02:15:45] local.INFO: IMEI acknowledgment sent {"connection_id":143532,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 02:16:10] local.INFO: TCP Data received {"connection_id":142560,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa028db60012d7f980005afd7c0000100062a..."} 
[2026-07-27 02:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa028db60012d7f980005afd7c0000100062a..."} 
[2026-07-27 02:16:10] local.INFO: Processing buffer {"connection_id":142560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa028db60012d7f980005afd7c0000100062a..."} 
[2026-07-27 02:16:10] local.INFO: Packet analysis {"connection_id":142560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa028"} 
[2026-07-27 02:16:10] local.INFO: Extracted packet for processing {"connection_id":142560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa028"} 
[2026-07-27 02:16:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":1,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 02:16:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985128704001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:16:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:16:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:16:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:16:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785098460000,"timestamp_ms":1785098460000,"timestamp_seconds":1785098460,"priority":1,"record_length":96,"hex_timestamp":"0000019fa028db60"} 
[2026-07-27 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-07-27 02:16:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":53,"data_length":795,"current_offset":136} 
[2026-07-27 02: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-07-27 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-07-27 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-07-27 02:16:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:16:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:16:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:16:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:16: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-07-27 02:16:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:16:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:16:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985128704001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:16:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:16:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:16:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985128704001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:16:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:16:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:16:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:16:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:16:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985128704001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:16:10] local.INFO: DEBUG: GPS processor result {"connection_id":142560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:16:10] local.INFO: GPS data processed {"connection_id":142560,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:16:10] local.INFO: Acknowledgment sent {"connection_id":142560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:16:33] local.INFO: TCP Data received {"connection_id":144875,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:16:33] local.INFO: Processing buffer {"connection_id":144875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:16:33] local.INFO: IMEI packet received {"connection_id":144875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 02:16:33] local.INFO: IMEI acknowledgment sent {"connection_id":144875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 02:16:38] local.INFO: TCP Data received {"connection_id":144875,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:16:38] local.INFO: Processing buffer {"connection_id":144875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:16:38] local.INFO: IMEI packet received {"connection_id":144875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 02:16:38] local.INFO: IMEI acknowledgment sent {"connection_id":144875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 02:16:39] local.INFO: TCP Data received {"connection_id":144875,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa028db60012d7f980005afd7c0000100062a..."} 
[2026-07-27 02:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa028db60012d7f980005afd7c0000100062a..."} 
[2026-07-27 02:16:39] local.INFO: Processing buffer {"connection_id":144875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa028db60012d7f980005afd7c0000100062a..."} 
[2026-07-27 02:16:39] local.INFO: Packet analysis {"connection_id":144875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa028"} 
[2026-07-27 02:16:39] local.INFO: Extracted packet for processing {"connection_id":144875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa028"} 
[2026-07-27 02:16:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":1,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 02: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-07-27 02:16:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985128704001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:16:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:16:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:16:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:16:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785098460000,"timestamp_ms":1785098460000,"timestamp_seconds":1785098460,"priority":1,"record_length":96,"hex_timestamp":"0000019fa028db60"} 
[2026-07-27 02:16:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 02:16:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 02: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":53,"data_length":795,"current_offset":136} 
[2026-07-27 02:16: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-07-27 02: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-07-27 02:16:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 02:16:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:16:39] local.INFO: Teltonika packet parsed successfully {"connection_id":144875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:16:39] local.INFO: Passing IMEI to GPS processor {"connection_id":144875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:16:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":144875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:16:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 02:16:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:16:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:16:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985128704001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:16:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:16:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:16:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985128704001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:16:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:16:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:16:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:16:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:16:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985128704001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:16:39] local.INFO: DEBUG: GPS processor result {"connection_id":144875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:16:39] local.INFO: GPS data processed {"connection_id":144875,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:16:39] local.INFO: Acknowledgment sent {"connection_id":144875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:17:10] local.INFO: TCP Data received {"connection_id":144875,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa02d7328012d7f980005afd7c00001000629..."} 
[2026-07-27 02:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa02d7328012d7f980005afd7c00001000629..."} 
[2026-07-27 02:17:10] local.INFO: Processing buffer {"connection_id":144875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa02d7328012d7f980005afd7c00001000629..."} 
[2026-07-27 02:17:10] local.INFO: Packet analysis {"connection_id":144875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa02d"} 
[2026-07-27 02:17:10] local.INFO: Extracted packet for processing {"connection_id":144875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa02d"} 
[2026-07-27 02:17:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":1,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 02:17:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 02:17:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985205760001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:17:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:17:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:17:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:17:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785098761000,"timestamp_ms":1785098761000,"timestamp_seconds":1785098761,"priority":1,"record_length":96,"hex_timestamp":"0000019fa02d7328"} 
[2026-07-27 02:17:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 02:17:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 02: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-07-27 02: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-07-27 02:17:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 02:17:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 02:17:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:17:10] local.INFO: Teltonika packet parsed successfully {"connection_id":144875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:17:10] local.INFO: Passing IMEI to GPS processor {"connection_id":144875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:17:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":144875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:17: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-07-27 02:17:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:17:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:17:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985205760001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:17:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:17:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:17:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985205760001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:17:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:17:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:17:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:17:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:17:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985205760001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:17:10] local.INFO: DEBUG: GPS processor result {"connection_id":144875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:17:10] local.INFO: GPS data processed {"connection_id":144875,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:17:10] local.INFO: Acknowledgment sent {"connection_id":144875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:17:38] local.INFO: TCP Data received {"connection_id":143533,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:17:38] local.INFO: Processing buffer {"connection_id":143533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:17:38] local.INFO: IMEI packet received {"connection_id":143533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 02:17:38] local.INFO: IMEI acknowledgment sent {"connection_id":143533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 02:17:43] local.INFO: TCP Data received {"connection_id":143533,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:17:43] local.INFO: Processing buffer {"connection_id":143533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:17:43] local.INFO: IMEI packet received {"connection_id":143533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 02:17:43] local.INFO: IMEI acknowledgment sent {"connection_id":143533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 02:17:44] local.INFO: TCP Data received {"connection_id":143533,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fa02d7328012d7f980005afd7c00001000629..."} 
[2026-07-27 02:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa02d7328012d7f980005afd7c00001000629..."} 
[2026-07-27 02:17:44] local.INFO: Processing buffer {"connection_id":143533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa02d7328012d7f980005afd7c00001000629..."} 
[2026-07-27 02:17:44] local.INFO: Packet analysis {"connection_id":143533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa02d"} 
[2026-07-27 02:17:44] local.INFO: Extracted packet for processing {"connection_id":143533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa02d"} 
[2026-07-27 02:17:44] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":1,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 02:17:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 02:17:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985205760001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:17:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:17:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:17:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:17:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785098761000,"timestamp_ms":1785098761000,"timestamp_seconds":1785098761,"priority":1,"record_length":96,"hex_timestamp":"0000019fa02d7328"} 
[2026-07-27 02:17:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 02:17:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 02:17: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-07-27 02:17: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-07-27 02:17:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 02:17:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 02:17:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:17:44] local.INFO: Teltonika packet parsed successfully {"connection_id":143533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:17:44] local.INFO: Passing IMEI to GPS processor {"connection_id":143533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:17:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":143533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:17:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 02:17:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:17:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:17:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985205760001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:17:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:17:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:17:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985205760001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:17:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:17:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:17:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:17:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:17:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985205760001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:17:44] local.INFO: DEBUG: GPS processor result {"connection_id":143533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:17:44] local.INFO: GPS data processed {"connection_id":143533,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:17:44] local.INFO: Acknowledgment sent {"connection_id":143533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:18:15] local.INFO: TCP Data received {"connection_id":143533,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fa02d7328012d7f980005afd7c00001000629..."} 
[2026-07-27 02:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa02d7328012d7f980005afd7c00001000629..."} 
[2026-07-27 02:18:15] local.INFO: Processing buffer {"connection_id":143533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa02d7328012d7f980005afd7c00001000629..."} 
[2026-07-27 02:18:15] local.INFO: Packet analysis {"connection_id":143533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa02d"} 
[2026-07-27 02:18:15] local.INFO: Extracted packet for processing {"connection_id":143533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa02d"} 
[2026-07-27 02:18:15] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":1,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 02:18:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 02:18:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985205760001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:18:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:18:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:18:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:18:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785098761000,"timestamp_ms":1785098761000,"timestamp_seconds":1785098761,"priority":1,"record_length":96,"hex_timestamp":"0000019fa02d7328"} 
[2026-07-27 02:18:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 02:18:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 02:18:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-27 02:18: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-07-27 02:18:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 02:18:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 02:18:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:18:15] local.INFO: Teltonika packet parsed successfully {"connection_id":143533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:18:15] local.INFO: Passing IMEI to GPS processor {"connection_id":143533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:18:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":143533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:18:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 02:18:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:18:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:18:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985205760001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:18:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:18:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:18:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985205760001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:18:15] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:18:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:18:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:18:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:18:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985205760001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:18:15] local.INFO: DEBUG: GPS processor result {"connection_id":143533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:18:15] local.INFO: GPS data processed {"connection_id":143533,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:18:15] local.INFO: Acknowledgment sent {"connection_id":143533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:18:33] local.INFO: TCP Data received {"connection_id":143534,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:18:33] local.INFO: Processing buffer {"connection_id":143534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:18:33] local.INFO: IMEI packet received {"connection_id":143534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 02:18:33] local.INFO: IMEI acknowledgment sent {"connection_id":143534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 02:18:38] local.INFO: TCP Data received {"connection_id":143534,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:18:38] local.INFO: Processing buffer {"connection_id":143534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:18:38] local.INFO: IMEI packet received {"connection_id":143534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 02:18:38] local.INFO: IMEI acknowledgment sent {"connection_id":143534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 02:18:39] local.INFO: TCP Data received {"connection_id":143534,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fa02d7328012d7f980005afd7c00001000629..."} 
[2026-07-27 02:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa02d7328012d7f980005afd7c00001000629..."} 
[2026-07-27 02:18:39] local.INFO: Processing buffer {"connection_id":143534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa02d7328012d7f980005afd7c00001000629..."} 
[2026-07-27 02:18:39] local.INFO: Packet analysis {"connection_id":143534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa02d"} 
[2026-07-27 02:18:39] local.INFO: Extracted packet for processing {"connection_id":143534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa02d"} 
[2026-07-27 02:18:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":1,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 02:18:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 02:18:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985205760001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:18:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:18:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:18:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:18:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785098761000,"timestamp_ms":1785098761000,"timestamp_seconds":1785098761,"priority":1,"record_length":96,"hex_timestamp":"0000019fa02d7328"} 
[2026-07-27 02:18:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 02:18:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 02: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":86,"data_length":795,"current_offset":136} 
[2026-07-27 02:18:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 02:18:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 02:18:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 02:18:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:18:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:18:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:18:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:18:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 02:18:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:18:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:18:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985205760001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:18:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:18:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:18:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985205760001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:18:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:18:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:18:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:18:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:18:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985205760001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:18:39] local.INFO: DEBUG: GPS processor result {"connection_id":143534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:18:39] local.INFO: GPS data processed {"connection_id":143534,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:18:39] local.INFO: Acknowledgment sent {"connection_id":143534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:19:10] local.INFO: TCP Data received {"connection_id":143534,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fa02d7328012d7f980005afd7c00001000629..."} 
[2026-07-27 02:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa02d7328012d7f980005afd7c00001000629..."} 
[2026-07-27 02:19:10] local.INFO: Processing buffer {"connection_id":143534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa02d7328012d7f980005afd7c00001000629..."} 
[2026-07-27 02:19:10] local.INFO: Packet analysis {"connection_id":143534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa02d"} 
[2026-07-27 02:19:10] local.INFO: Extracted packet for processing {"connection_id":143534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa02d"} 
[2026-07-27 02:19:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":1,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 02:19:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 02:19:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985205760001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:19:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:19:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:19:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:19:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785098761000,"timestamp_ms":1785098761000,"timestamp_seconds":1785098761,"priority":1,"record_length":96,"hex_timestamp":"0000019fa02d7328"} 
[2026-07-27 02:19:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 02:19:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 02: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-07-27 02: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-07-27 02:19:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 02:19:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 02:19:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:19:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:19:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:19:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:19:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 02:19:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:19:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:19:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985205760001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:19:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:19:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:19:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985205760001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:19:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:19:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:19:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:19:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:19:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985205760001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:19:10] local.INFO: DEBUG: GPS processor result {"connection_id":143534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:19:10] local.INFO: GPS data processed {"connection_id":143534,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:19:10] local.INFO: Acknowledgment sent {"connection_id":143534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:19:33] local.INFO: TCP Data received {"connection_id":142484,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:19:33] local.INFO: Processing buffer {"connection_id":142484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:19:33] local.INFO: IMEI packet received {"connection_id":142484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 02:19:33] local.INFO: IMEI acknowledgment sent {"connection_id":142484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 02:19:38] local.INFO: TCP Data received {"connection_id":142484,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:19:38] local.INFO: Processing buffer {"connection_id":142484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:19:38] local.INFO: IMEI packet received {"connection_id":142484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 02:19:38] local.INFO: IMEI acknowledgment sent {"connection_id":142484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 02:19:39] local.INFO: TCP Data received {"connection_id":142484,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fa02d7328012d7f980005afd7c00001000629..."} 
[2026-07-27 02:19:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa02d7328012d7f980005afd7c00001000629..."} 
[2026-07-27 02:19:39] local.INFO: Processing buffer {"connection_id":142484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa02d7328012d7f980005afd7c00001000629..."} 
[2026-07-27 02:19:39] local.INFO: Packet analysis {"connection_id":142484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa02d"} 
[2026-07-27 02:19:39] local.INFO: Extracted packet for processing {"connection_id":142484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa02d"} 
[2026-07-27 02:19:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":1,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 02:19:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 02:19:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985205760001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:19:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:19:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:19:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:19:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785098761000,"timestamp_ms":1785098761000,"timestamp_seconds":1785098761,"priority":1,"record_length":96,"hex_timestamp":"0000019fa02d7328"} 
[2026-07-27 02:19:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 02:19:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 02: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":86,"data_length":795,"current_offset":136} 
[2026-07-27 02:19:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 02:19:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 02:19:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 02:19:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:19:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:19:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:19:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:19:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 02:19:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:19:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:19:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985205760001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:19:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:19:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:19:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985205760001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:19:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:19:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:19:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:19:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:19:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985205760001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:19:39] local.INFO: DEBUG: GPS processor result {"connection_id":142484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:19:39] local.INFO: GPS data processed {"connection_id":142484,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:19:39] local.INFO: Acknowledgment sent {"connection_id":142484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:20:10] local.INFO: TCP Data received {"connection_id":142484,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fa02d7328012d7f980005afd7c00001000629..."} 
[2026-07-27 02:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa02d7328012d7f980005afd7c00001000629..."} 
[2026-07-27 02:20:10] local.INFO: Processing buffer {"connection_id":142484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa02d7328012d7f980005afd7c00001000629..."} 
[2026-07-27 02:20:10] local.INFO: Packet analysis {"connection_id":142484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa02d"} 
[2026-07-27 02:20:10] local.INFO: Extracted packet for processing {"connection_id":142484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa02d"} 
[2026-07-27 02:20:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":1,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 02:20:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985205760001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:20:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:20:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:20:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:20:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785098761000,"timestamp_ms":1785098761000,"timestamp_seconds":1785098761,"priority":1,"record_length":96,"hex_timestamp":"0000019fa02d7328"} 
[2026-07-27 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-07-27 02:20:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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-07-27 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-07-27 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-07-27 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-07-27 02:20:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:20:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:20:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:20:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02: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-07-27 02:20:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:20:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:20:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985205760001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:20:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:20:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:20:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985205760001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:20:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:20:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:20:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:20:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:20:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985205760001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:20:10] local.INFO: DEBUG: GPS processor result {"connection_id":142484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:20:10] local.INFO: GPS data processed {"connection_id":142484,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:20:10] local.INFO: Acknowledgment sent {"connection_id":142484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:20:33] local.INFO: TCP Data received {"connection_id":143535,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:20:33] local.INFO: Processing buffer {"connection_id":143535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:20:33] local.INFO: IMEI packet received {"connection_id":143535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 02:20:33] local.INFO: IMEI acknowledgment sent {"connection_id":143535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 02:20:38] local.INFO: TCP Data received {"connection_id":143535,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:20:38] local.INFO: Processing buffer {"connection_id":143535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:20:38] local.INFO: IMEI packet received {"connection_id":143535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 02:20:38] local.INFO: IMEI acknowledgment sent {"connection_id":143535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 02:20:39] local.INFO: TCP Data received {"connection_id":143535,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fa02d7328012d7f980005afd7c00001000629..."} 
[2026-07-27 02:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143535,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa02d7328012d7f980005afd7c00001000629..."} 
[2026-07-27 02:20:39] local.INFO: Processing buffer {"connection_id":143535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa02d7328012d7f980005afd7c00001000629..."} 
[2026-07-27 02:20:39] local.INFO: Packet analysis {"connection_id":143535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa02d"} 
[2026-07-27 02:20:39] local.INFO: Extracted packet for processing {"connection_id":143535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa02d"} 
[2026-07-27 02:20:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":1,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 02:20:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 02:20:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985205760001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:20:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:20:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:20:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:20:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785098761000,"timestamp_ms":1785098761000,"timestamp_seconds":1785098761,"priority":1,"record_length":96,"hex_timestamp":"0000019fa02d7328"} 
[2026-07-27 02:20:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 02:20:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 02: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-07-27 02: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-07-27 02:20:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 02:20:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 02:20:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:20:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:20:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:20:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:20:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 02:20:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:20:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:20:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985205760001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:20:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:20:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:20:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985205760001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:20:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:20:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:20:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:20:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:20:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985205760001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:20:39] local.INFO: DEBUG: GPS processor result {"connection_id":143535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:20:39] local.INFO: GPS data processed {"connection_id":143535,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:20:39] local.INFO: Acknowledgment sent {"connection_id":143535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:21:11] local.INFO: TCP Data received {"connection_id":143535,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fa02d7328012d7f980005afd7c00001000629..."} 
[2026-07-27 02:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143535,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa02d7328012d7f980005afd7c00001000629..."} 
[2026-07-27 02:21:11] local.INFO: Processing buffer {"connection_id":143535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa02d7328012d7f980005afd7c00001000629..."} 
[2026-07-27 02:21:11] local.INFO: Packet analysis {"connection_id":143535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa02d"} 
[2026-07-27 02:21:11] local.INFO: Extracted packet for processing {"connection_id":143535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa02d"} 
[2026-07-27 02:21:11] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":1,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 02: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-07-27 02:21:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985205760001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:21:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:21:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:21:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:21:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785098761000,"timestamp_ms":1785098761000,"timestamp_seconds":1785098761,"priority":1,"record_length":96,"hex_timestamp":"0000019fa02d7328"} 
[2026-07-27 02:21:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 02:21:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 02: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-07-27 02: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-07-27 02: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-07-27 02:21:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 02:21:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:21:11] local.INFO: Teltonika packet parsed successfully {"connection_id":143535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:21:11] local.INFO: Passing IMEI to GPS processor {"connection_id":143535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:21:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":143535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:21:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 02:21:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:21:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:21:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985205760001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:21:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:21:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:21:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985205760001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:21:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:21:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:21:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:21:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:21:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985205760001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:21:11] local.INFO: DEBUG: GPS processor result {"connection_id":143535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:21:11] local.INFO: GPS data processed {"connection_id":143535,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:21:11] local.INFO: Acknowledgment sent {"connection_id":143535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:21:16] local.INFO: TCP Data received {"connection_id":142486,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 02:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142486,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 02:21:16] local.INFO: Processing buffer {"connection_id":142486,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 02:21:16] local.INFO: IMEI packet received {"connection_id":142486,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 02:21:16] local.INFO: IMEI acknowledgment sent {"connection_id":142486,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 02:21:38] local.INFO: TCP Data received {"connection_id":142561,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:21:38] local.INFO: Processing buffer {"connection_id":142561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:21:38] local.INFO: IMEI packet received {"connection_id":142561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 02:21:38] local.INFO: IMEI acknowledgment sent {"connection_id":142561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 02:21:40] local.INFO: TCP Data received {"connection_id":142561,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:21:40] local.INFO: Processing buffer {"connection_id":142561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:21:40] local.INFO: IMEI packet received {"connection_id":142561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 02:21:40] local.INFO: IMEI acknowledgment sent {"connection_id":142561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 02:21:41] local.INFO: TCP Data received {"connection_id":142561,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0320af0012d7f980005afd7c00001000629..."} 
[2026-07-27 02:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0320af0012d7f980005afd7c00001000629..."} 
[2026-07-27 02:21:41] local.INFO: Processing buffer {"connection_id":142561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0320af0012d7f980005afd7c00001000629..."} 
[2026-07-27 02:21:41] local.INFO: Packet analysis {"connection_id":142561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa032"} 
[2026-07-27 02:21:41] local.INFO: Extracted packet for processing {"connection_id":142561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa032"} 
[2026-07-27 02:21:41] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":1,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 02: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-07-27 02:21:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985282816001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:21:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:21:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:21:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:21:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785099062000,"timestamp_ms":1785099062000,"timestamp_seconds":1785099062,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0320af0"} 
[2026-07-27 02:21:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 02:21:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 02: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-07-27 02: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-07-27 02: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-07-27 02:21:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 02:21:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:21:41] local.INFO: Teltonika packet parsed successfully {"connection_id":142561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:21:41] local.INFO: Passing IMEI to GPS processor {"connection_id":142561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:21:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":142561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02: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-07-27 02:21:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:21:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:21:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985282816001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:21:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:21:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:21:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985282816001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:21:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:21:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:21:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:21:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:21:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985282816001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:21:41] local.INFO: DEBUG: GPS processor result {"connection_id":142561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:21:41] local.INFO: GPS data processed {"connection_id":142561,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:21:41] local.INFO: Acknowledgment sent {"connection_id":142561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:21:44] local.INFO: TCP Data received {"connection_id":142561,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0320af0012d7f980005afd7c00001000629..."} 
[2026-07-27 02:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0320af0012d7f980005afd7c00001000629..."} 
[2026-07-27 02:21:44] local.INFO: Processing buffer {"connection_id":142561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0320af0012d7f980005afd7c00001000629..."} 
[2026-07-27 02:21:44] local.INFO: Packet analysis {"connection_id":142561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa032"} 
[2026-07-27 02:21:44] local.INFO: Extracted packet for processing {"connection_id":142561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa032"} 
[2026-07-27 02:21:44] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":1,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 02:21:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 02:21:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985282816001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:21:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:21:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:21:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:21:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785099062000,"timestamp_ms":1785099062000,"timestamp_seconds":1785099062,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0320af0"} 
[2026-07-27 02:21:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 02:21:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 02:21:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 02:21: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-07-27 02:21:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 02:21:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 02:21:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:21:44] local.INFO: Teltonika packet parsed successfully {"connection_id":142561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:21:44] local.INFO: Passing IMEI to GPS processor {"connection_id":142561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:21:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":142561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:21:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 02:21:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:21:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:21:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985282816001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:21:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:21:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:21:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985282816001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:21:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:21:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:21:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:21:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:21:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985282816001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:21:44] local.INFO: DEBUG: GPS processor result {"connection_id":142561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:21:44] local.INFO: GPS data processed {"connection_id":142561,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:21:44] local.INFO: Acknowledgment sent {"connection_id":142561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:21:45] local.INFO: TCP Data received {"connection_id":142562,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 02:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142562,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 02:21:45] local.INFO: Processing buffer {"connection_id":142562,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 02:21:45] local.INFO: IMEI packet received {"connection_id":142562,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 02:21:45] local.INFO: IMEI acknowledgment sent {"connection_id":142562,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 02:22:15] local.INFO: TCP Data received {"connection_id":142561,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0320af0012d7f980005afd7c00001000629..."} 
[2026-07-27 02:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0320af0012d7f980005afd7c00001000629..."} 
[2026-07-27 02:22:15] local.INFO: Processing buffer {"connection_id":142561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0320af0012d7f980005afd7c00001000629..."} 
[2026-07-27 02:22:15] local.INFO: Packet analysis {"connection_id":142561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa032"} 
[2026-07-27 02:22:15] local.INFO: Extracted packet for processing {"connection_id":142561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa032"} 
[2026-07-27 02:22:15] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":1,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 02:22:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 02:22:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985282816001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:22:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:22:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:22:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:22:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785099062000,"timestamp_ms":1785099062000,"timestamp_seconds":1785099062,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0320af0"} 
[2026-07-27 02:22:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 02:22:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 02: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":53,"data_length":795,"current_offset":136} 
[2026-07-27 02:22: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-07-27 02:22:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 02:22:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 02:22:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:22:15] local.INFO: Teltonika packet parsed successfully {"connection_id":142561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:22:15] local.INFO: Passing IMEI to GPS processor {"connection_id":142561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:22:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":142561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:22:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 02:22:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:22:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:22:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985282816001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:22:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:22:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:22:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985282816001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:22:15] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:22:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:22:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:22:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:22:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985282816001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:22:15] local.INFO: DEBUG: GPS processor result {"connection_id":142561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:22:15] local.INFO: GPS data processed {"connection_id":142561,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:22:15] local.INFO: Acknowledgment sent {"connection_id":142561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:22:33] local.INFO: TCP Data received {"connection_id":142487,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:22:33] local.INFO: Processing buffer {"connection_id":142487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:22:33] local.INFO: IMEI packet received {"connection_id":142487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 02:22:33] local.INFO: IMEI acknowledgment sent {"connection_id":142487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 02:22:38] local.INFO: TCP Data received {"connection_id":142487,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:22:38] local.INFO: Processing buffer {"connection_id":142487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:22:38] local.INFO: IMEI packet received {"connection_id":142487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 02:22:38] local.INFO: IMEI acknowledgment sent {"connection_id":142487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 02:22:39] local.INFO: TCP Data received {"connection_id":142487,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0320af0012d7f980005afd7c00001000629..."} 
[2026-07-27 02:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0320af0012d7f980005afd7c00001000629..."} 
[2026-07-27 02:22:39] local.INFO: Processing buffer {"connection_id":142487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0320af0012d7f980005afd7c00001000629..."} 
[2026-07-27 02:22:39] local.INFO: Packet analysis {"connection_id":142487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa032"} 
[2026-07-27 02:22:39] local.INFO: Extracted packet for processing {"connection_id":142487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa032"} 
[2026-07-27 02:22:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":1,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 02:22:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 02:22:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985282816001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:22:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:22:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:22:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:22:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785099062000,"timestamp_ms":1785099062000,"timestamp_seconds":1785099062,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0320af0"} 
[2026-07-27 02:22:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 02:22:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 02: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":53,"data_length":795,"current_offset":136} 
[2026-07-27 02:22: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-07-27 02:22:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 02:22:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 02:22:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:22:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:22:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:22:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:22:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 02:22:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:22:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:22:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985282816001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:22:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:22:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:22:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985282816001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:22:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:22:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:22:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:22:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:22:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985282816001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:22:39] local.INFO: DEBUG: GPS processor result {"connection_id":142487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:22:39] local.INFO: GPS data processed {"connection_id":142487,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:22:39] local.INFO: Acknowledgment sent {"connection_id":142487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:23:11] local.INFO: TCP Data received {"connection_id":142487,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0320af0012d7f980005afd7c00001000629..."} 
[2026-07-27 02:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0320af0012d7f980005afd7c00001000629..."} 
[2026-07-27 02:23:11] local.INFO: Processing buffer {"connection_id":142487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0320af0012d7f980005afd7c00001000629..."} 
[2026-07-27 02:23:11] local.INFO: Packet analysis {"connection_id":142487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa032"} 
[2026-07-27 02:23:11] local.INFO: Extracted packet for processing {"connection_id":142487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa032"} 
[2026-07-27 02:23:11] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":1,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 02:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 02:23:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985282816001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:23:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:23:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:23:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:23:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785099062000,"timestamp_ms":1785099062000,"timestamp_seconds":1785099062,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0320af0"} 
[2026-07-27 02:23:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 02:23:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 02: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":53,"data_length":795,"current_offset":136} 
[2026-07-27 02:23: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-07-27 02:23:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 02:23:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 02:23:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:23:11] local.INFO: Teltonika packet parsed successfully {"connection_id":142487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:23:11] local.INFO: Passing IMEI to GPS processor {"connection_id":142487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:23:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":142487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:23: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-07-27 02:23:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:23:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:23:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985282816001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:23:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:23:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:23:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985282816001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:23:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:23:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:23:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:23:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:23:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985282816001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:23:11] local.INFO: DEBUG: GPS processor result {"connection_id":142487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:23:11] local.INFO: GPS data processed {"connection_id":142487,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:23:11] local.INFO: Acknowledgment sent {"connection_id":142487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:23:33] local.INFO: TCP Data received {"connection_id":144877,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:23:33] local.INFO: Processing buffer {"connection_id":144877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:23:33] local.INFO: IMEI packet received {"connection_id":144877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 02:23:33] local.INFO: IMEI acknowledgment sent {"connection_id":144877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 02:23:38] local.INFO: TCP Data received {"connection_id":144877,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:23:38] local.INFO: Processing buffer {"connection_id":144877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:23:38] local.INFO: IMEI packet received {"connection_id":144877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 02:23:38] local.INFO: IMEI acknowledgment sent {"connection_id":144877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 02:23:39] local.INFO: TCP Data received {"connection_id":144877,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0320af0012d7f980005afd7c00001000629..."} 
[2026-07-27 02:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0320af0012d7f980005afd7c00001000629..."} 
[2026-07-27 02:23:39] local.INFO: Processing buffer {"connection_id":144877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0320af0012d7f980005afd7c00001000629..."} 
[2026-07-27 02:23:39] local.INFO: Packet analysis {"connection_id":144877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa032"} 
[2026-07-27 02:23:39] local.INFO: Extracted packet for processing {"connection_id":144877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa032"} 
[2026-07-27 02:23:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":1,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 02:23:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 02:23:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985282816001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:23:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:23:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:23:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:23:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785099062000,"timestamp_ms":1785099062000,"timestamp_seconds":1785099062,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0320af0"} 
[2026-07-27 02:23:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 02:23:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 02: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":53,"data_length":795,"current_offset":136} 
[2026-07-27 02:23: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-07-27 02:23:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 02:23:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 02:23:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:23:39] local.INFO: Teltonika packet parsed successfully {"connection_id":144877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:23:39] local.INFO: Passing IMEI to GPS processor {"connection_id":144877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:23:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":144877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:23:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 02:23:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:23:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:23:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985282816001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:23:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:23:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:23:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985282816001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:23:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:23:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:23:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:23:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:23:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985282816001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:23:39] local.INFO: DEBUG: GPS processor result {"connection_id":144877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:23:39] local.INFO: GPS data processed {"connection_id":144877,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:23:39] local.INFO: Acknowledgment sent {"connection_id":144877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:24:33] local.INFO: TCP Data received {"connection_id":142564,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:24:33] local.INFO: Processing buffer {"connection_id":142564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:24:33] local.INFO: IMEI packet received {"connection_id":142564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 02:24:33] local.INFO: IMEI acknowledgment sent {"connection_id":142564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 02:24:38] local.INFO: TCP Data received {"connection_id":142564,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:24:38] local.INFO: Processing buffer {"connection_id":142564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:24:38] local.INFO: IMEI packet received {"connection_id":142564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 02:24:38] local.INFO: IMEI acknowledgment sent {"connection_id":142564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 02:24:39] local.INFO: TCP Data received {"connection_id":142564,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0320af0012d7f980005afd7c00001000629..."} 
[2026-07-27 02:24:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142564,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0320af0012d7f980005afd7c00001000629..."} 
[2026-07-27 02:24:39] local.INFO: Processing buffer {"connection_id":142564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0320af0012d7f980005afd7c00001000629..."} 
[2026-07-27 02:24:39] local.INFO: Packet analysis {"connection_id":142564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa032"} 
[2026-07-27 02:24:39] local.INFO: Extracted packet for processing {"connection_id":142564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa032"} 
[2026-07-27 02:24:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":1,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 02:24:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 02:24:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985282816001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:24:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:24:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:24:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:24:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785099062000,"timestamp_ms":1785099062000,"timestamp_seconds":1785099062,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0320af0"} 
[2026-07-27 02:24:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 02:24:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 02: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":53,"data_length":795,"current_offset":136} 
[2026-07-27 02:24: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-07-27 02:24:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 02:24:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 02:24:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:24:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:24:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:24:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:24:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 02:24:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:24:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:24:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985282816001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:24:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:24:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:24:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985282816001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:24:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:24:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:24:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:24:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:24:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985282816001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:24:39] local.INFO: DEBUG: GPS processor result {"connection_id":142564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:24:39] local.INFO: GPS data processed {"connection_id":142564,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:24:39] local.INFO: Acknowledgment sent {"connection_id":142564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:25:11] local.INFO: TCP Data received {"connection_id":142564,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0320af0012d7f980005afd7c00001000629..."} 
[2026-07-27 02:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142564,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0320af0012d7f980005afd7c00001000629..."} 
[2026-07-27 02:25:11] local.INFO: Processing buffer {"connection_id":142564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0320af0012d7f980005afd7c00001000629..."} 
[2026-07-27 02:25:11] local.INFO: Packet analysis {"connection_id":142564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa032"} 
[2026-07-27 02:25:11] local.INFO: Extracted packet for processing {"connection_id":142564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa032"} 
[2026-07-27 02:25:11] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":1,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 02:25:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 02:25:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985282816001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:25:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:25:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:25:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:25:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785099062000,"timestamp_ms":1785099062000,"timestamp_seconds":1785099062,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0320af0"} 
[2026-07-27 02:25:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 02:25:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 02: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-07-27 02: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-07-27 02:25:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 02:25:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 02:25:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:25:11] local.INFO: Teltonika packet parsed successfully {"connection_id":142564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:25:11] local.INFO: Passing IMEI to GPS processor {"connection_id":142564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:25:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":142564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:25:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 02:25:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:25:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:25:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985282816001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:25:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:25:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:25:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985282816001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:25:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:25:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:25:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:25:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:25:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985282816001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:25:11] local.INFO: DEBUG: GPS processor result {"connection_id":142564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:25:11] local.INFO: GPS data processed {"connection_id":142564,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:25:11] local.INFO: Acknowledgment sent {"connection_id":142564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:25:38] local.INFO: TCP Data received {"connection_id":143537,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:25:38] local.INFO: Processing buffer {"connection_id":143537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:25:38] local.INFO: IMEI packet received {"connection_id":143537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 02:25:38] local.INFO: IMEI acknowledgment sent {"connection_id":143537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 02:25:43] local.INFO: TCP Data received {"connection_id":143537,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:25:43] local.INFO: Processing buffer {"connection_id":143537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:25:43] local.INFO: IMEI packet received {"connection_id":143537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 02:25:43] local.INFO: IMEI acknowledgment sent {"connection_id":143537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 02:25:44] local.INFO: TCP Data received {"connection_id":143537,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0320af0012d7f980005afd7c00001000629..."} 
[2026-07-27 02:25:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0320af0012d7f980005afd7c00001000629..."} 
[2026-07-27 02:25:44] local.INFO: Processing buffer {"connection_id":143537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0320af0012d7f980005afd7c00001000629..."} 
[2026-07-27 02:25:44] local.INFO: Packet analysis {"connection_id":143537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa032"} 
[2026-07-27 02:25:44] local.INFO: Extracted packet for processing {"connection_id":143537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa032"} 
[2026-07-27 02:25:44] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":1,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 02: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-07-27 02:25:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985282816001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:25:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:25:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:25:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:25:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785099062000,"timestamp_ms":1785099062000,"timestamp_seconds":1785099062,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0320af0"} 
[2026-07-27 02:25:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 02:25:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 02: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-07-27 02: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-07-27 02: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-07-27 02:25:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 02:25:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:25:44] local.INFO: Teltonika packet parsed successfully {"connection_id":143537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:25:44] local.INFO: Passing IMEI to GPS processor {"connection_id":143537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:25:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":143537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:25:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 02:25:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:25:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:25:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985282816001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:25:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:25:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:25:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985282816001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:25:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:25:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:25:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:25:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:25:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985282816001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:25:44] local.INFO: DEBUG: GPS processor result {"connection_id":143537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:25:44] local.INFO: GPS data processed {"connection_id":143537,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:25:44] local.INFO: Acknowledgment sent {"connection_id":143537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:25:49] local.INFO: TCP Data received {"connection_id":143537,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0320af0012d7f980005afd7c00001000629..."} 
[2026-07-27 02:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0320af0012d7f980005afd7c00001000629..."} 
[2026-07-27 02:25:49] local.INFO: Processing buffer {"connection_id":143537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0320af0012d7f980005afd7c00001000629..."} 
[2026-07-27 02:25:49] local.INFO: Packet analysis {"connection_id":143537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa032"} 
[2026-07-27 02:25:49] local.INFO: Extracted packet for processing {"connection_id":143537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa032"} 
[2026-07-27 02:25:49] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":1,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 02: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-07-27 02:25:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985282816001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:25:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:25:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:25:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:25:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785099062000,"timestamp_ms":1785099062000,"timestamp_seconds":1785099062,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0320af0"} 
[2026-07-27 02:25:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 02:25:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 02: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 02:25:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 02: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-07-27 02:25:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 02:25:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:25:49] local.INFO: Teltonika packet parsed successfully {"connection_id":143537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:25:49] local.INFO: Passing IMEI to GPS processor {"connection_id":143537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:25:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":143537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:25:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 02:25:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:25:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:25:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985282816001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:25:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:25:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:25:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985282816001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:25:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:25:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:25:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:25:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:25:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985282816001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:25:49] local.INFO: DEBUG: GPS processor result {"connection_id":143537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:25:49] local.INFO: GPS data processed {"connection_id":143537,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:25:49] local.INFO: Acknowledgment sent {"connection_id":143537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:26:33] local.INFO: TCP Data received {"connection_id":142488,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:26:33] local.INFO: Processing buffer {"connection_id":142488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:26:33] local.INFO: IMEI packet received {"connection_id":142488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 02:26:33] local.INFO: IMEI acknowledgment sent {"connection_id":142488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 02:26:38] local.INFO: TCP Data received {"connection_id":142488,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:26:38] local.INFO: Processing buffer {"connection_id":142488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:26:38] local.INFO: IMEI packet received {"connection_id":142488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 02:26:38] local.INFO: IMEI acknowledgment sent {"connection_id":142488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 02:26:42] local.INFO: TCP Data received {"connection_id":142488,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fa036a2b8012d7f980005afd7c0000100062b..."} 
[2026-07-27 02:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa036a2b8012d7f980005afd7c0000100062b..."} 
[2026-07-27 02:26:42] local.INFO: Processing buffer {"connection_id":142488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa036a2b8012d7f980005afd7c0000100062b..."} 
[2026-07-27 02:26:42] local.INFO: Packet analysis {"connection_id":142488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa036"} 
[2026-07-27 02:26:42] local.INFO: Extracted packet for processing {"connection_id":142488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa036"} 
[2026-07-27 02:26:42] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":1,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 02:26:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985359872001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:26:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:26:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:26:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:26:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785099363000,"timestamp_ms":1785099363000,"timestamp_seconds":1785099363,"priority":1,"record_length":96,"hex_timestamp":"0000019fa036a2b8"} 
[2026-07-27 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-07-27 02:26:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 02: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-07-27 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-07-27 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-07-27 02:26:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:26:42] local.INFO: Teltonika packet parsed successfully {"connection_id":142488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:26:42] local.INFO: Passing IMEI to GPS processor {"connection_id":142488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:26:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":142488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:26:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 02:26:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:26:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:26:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985359872001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:26:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:26:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:26:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985359872001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:26:42] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:26:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:26:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:26:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:26:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985359872001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:26:42] local.INFO: DEBUG: GPS processor result {"connection_id":142488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:26:42] local.INFO: GPS data processed {"connection_id":142488,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:26:42] local.INFO: Acknowledgment sent {"connection_id":142488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:27:11] local.INFO: TCP Data received {"connection_id":143539,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 02:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143539,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 02:27:11] local.INFO: Processing buffer {"connection_id":143539,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 02:27:11] local.INFO: IMEI packet received {"connection_id":143539,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 02:27:11] local.INFO: IMEI acknowledgment sent {"connection_id":143539,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 02:27:13] local.INFO: TCP Data received {"connection_id":142488,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fa036a2b8012d7f980005afd7c0000100062b..."} 
[2026-07-27 02:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa036a2b8012d7f980005afd7c0000100062b..."} 
[2026-07-27 02:27:13] local.INFO: Processing buffer {"connection_id":142488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa036a2b8012d7f980005afd7c0000100062b..."} 
[2026-07-27 02:27:13] local.INFO: Packet analysis {"connection_id":142488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa036"} 
[2026-07-27 02:27:13] local.INFO: Extracted packet for processing {"connection_id":142488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa036"} 
[2026-07-27 02:27:13] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":1,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 02:27:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 02:27:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985359872001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:27:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:27:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:27:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:27:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785099363000,"timestamp_ms":1785099363000,"timestamp_seconds":1785099363,"priority":1,"record_length":96,"hex_timestamp":"0000019fa036a2b8"} 
[2026-07-27 02:27:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 02:27:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 02:27:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 02:27: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-07-27 02:27:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 02:27:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 02:27:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:27:13] local.INFO: Teltonika packet parsed successfully {"connection_id":142488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:27:13] local.INFO: Passing IMEI to GPS processor {"connection_id":142488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:27:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":142488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:27:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 02:27:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:27:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:27:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985359872001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:27:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:27:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:27:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985359872001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:27:13] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:27:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:27:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:27:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:27:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985359872001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:27:13] local.INFO: DEBUG: GPS processor result {"connection_id":142488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:27:13] local.INFO: GPS data processed {"connection_id":142488,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:27:13] local.INFO: Acknowledgment sent {"connection_id":142488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:27:33] local.INFO: TCP Data received {"connection_id":143540,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:27:33] local.INFO: Processing buffer {"connection_id":143540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:27:33] local.INFO: IMEI packet received {"connection_id":143540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 02:27:33] local.INFO: IMEI acknowledgment sent {"connection_id":143540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 02:27:38] local.INFO: TCP Data received {"connection_id":143540,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:27:38] local.INFO: Processing buffer {"connection_id":143540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:27:38] local.INFO: IMEI packet received {"connection_id":143540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 02:27:38] local.INFO: IMEI acknowledgment sent {"connection_id":143540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 02:27:39] local.INFO: TCP Data received {"connection_id":143540,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa036a2b8012d7f980005afd7c0000100062b..."} 
[2026-07-27 02:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143540,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa036a2b8012d7f980005afd7c0000100062b..."} 
[2026-07-27 02:27:39] local.INFO: Processing buffer {"connection_id":143540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa036a2b8012d7f980005afd7c0000100062b..."} 
[2026-07-27 02:27:39] local.INFO: Packet analysis {"connection_id":143540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa036"} 
[2026-07-27 02:27:39] local.INFO: Extracted packet for processing {"connection_id":143540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa036"} 
[2026-07-27 02:27:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":1,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 02:27:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 02:27:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985359872001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:27:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:27:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:27:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:27:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785099363000,"timestamp_ms":1785099363000,"timestamp_seconds":1785099363,"priority":1,"record_length":96,"hex_timestamp":"0000019fa036a2b8"} 
[2026-07-27 02:27:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 02:27:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 02: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":53,"data_length":795,"current_offset":136} 
[2026-07-27 02:27: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-07-27 02:27:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 02:27:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 02:27:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:27:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:27:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:27:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:27:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 02:27:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:27:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:27:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985359872001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:27:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:27:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:27:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985359872001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:27:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:27:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:27:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:27:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:27:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985359872001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:27:39] local.INFO: DEBUG: GPS processor result {"connection_id":143540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:27:39] local.INFO: GPS data processed {"connection_id":143540,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:27:39] local.INFO: Acknowledgment sent {"connection_id":143540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:27:51] local.INFO: TCP Data received {"connection_id":143541,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 02:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143541,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 02:27:51] local.INFO: Processing buffer {"connection_id":143541,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 02:27:51] local.INFO: IMEI packet received {"connection_id":143541,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 02:27:51] local.INFO: IMEI acknowledgment sent {"connection_id":143541,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 02:28:10] local.INFO: TCP Data received {"connection_id":143540,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa036a2b8012d7f980005afd7c0000100062b..."} 
[2026-07-27 02:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143540,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa036a2b8012d7f980005afd7c0000100062b..."} 
[2026-07-27 02:28:10] local.INFO: Processing buffer {"connection_id":143540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa036a2b8012d7f980005afd7c0000100062b..."} 
[2026-07-27 02:28:10] local.INFO: Packet analysis {"connection_id":143540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa036"} 
[2026-07-27 02:28:10] local.INFO: Extracted packet for processing {"connection_id":143540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa036"} 
[2026-07-27 02:28:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":1,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 02:28:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985359872001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:28:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:28:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:28:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:28:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785099363000,"timestamp_ms":1785099363000,"timestamp_seconds":1785099363,"priority":1,"record_length":96,"hex_timestamp":"0000019fa036a2b8"} 
[2026-07-27 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-07-27 02:28:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 02: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-07-27 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-07-27 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-07-27 02:28:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:28:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:28:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:28:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:28:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 02:28:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:28:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:28:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985359872001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:28:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:28:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:28:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985359872001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:28:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:28:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:28:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:28:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:28:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985359872001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:28:10] local.INFO: DEBUG: GPS processor result {"connection_id":143540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:28:10] local.INFO: GPS data processed {"connection_id":143540,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:28:10] local.INFO: Acknowledgment sent {"connection_id":143540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:28:38] local.INFO: TCP Data received {"connection_id":142489,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:28:38] local.INFO: Processing buffer {"connection_id":142489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:28:38] local.INFO: IMEI packet received {"connection_id":142489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 02:28:38] local.INFO: IMEI acknowledgment sent {"connection_id":142489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 02:28:43] local.INFO: TCP Data received {"connection_id":142489,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:28:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:28:43] local.INFO: Processing buffer {"connection_id":142489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:28:43] local.INFO: IMEI packet received {"connection_id":142489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 02:28:43] local.INFO: IMEI acknowledgment sent {"connection_id":142489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 02:28:44] local.INFO: TCP Data received {"connection_id":142489,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa036a2b8012d7f980005afd7c0000100062b..."} 
[2026-07-27 02:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa036a2b8012d7f980005afd7c0000100062b..."} 
[2026-07-27 02:28:44] local.INFO: Processing buffer {"connection_id":142489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa036a2b8012d7f980005afd7c0000100062b..."} 
[2026-07-27 02:28:44] local.INFO: Packet analysis {"connection_id":142489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa036"} 
[2026-07-27 02:28:44] local.INFO: Extracted packet for processing {"connection_id":142489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa036"} 
[2026-07-27 02:28:44] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":1,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 02:28:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 02:28:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985359872001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:28:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:28:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:28:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:28:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785099363000,"timestamp_ms":1785099363000,"timestamp_seconds":1785099363,"priority":1,"record_length":96,"hex_timestamp":"0000019fa036a2b8"} 
[2026-07-27 02:28:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 02:28:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 02:28: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-07-27 02:28: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-07-27 02:28:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 02:28:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 02:28:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:28:44] local.INFO: Teltonika packet parsed successfully {"connection_id":142489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:28:44] local.INFO: Passing IMEI to GPS processor {"connection_id":142489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:28:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":142489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:28: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-07-27 02:28:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:28:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:28:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985359872001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:28:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:28:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:28:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985359872001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:28:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:28:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:28:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:28:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:28:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985359872001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:28:44] local.INFO: DEBUG: GPS processor result {"connection_id":142489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:28:44] local.INFO: GPS data processed {"connection_id":142489,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:28:44] local.INFO: Acknowledgment sent {"connection_id":142489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:28:48] local.INFO: TCP Data received {"connection_id":142489,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa036a2b8012d7f980005afd7c0000100062b..."} 
[2026-07-27 02:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa036a2b8012d7f980005afd7c0000100062b..."} 
[2026-07-27 02:28:48] local.INFO: Processing buffer {"connection_id":142489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa036a2b8012d7f980005afd7c0000100062b..."} 
[2026-07-27 02:28:48] local.INFO: Packet analysis {"connection_id":142489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa036"} 
[2026-07-27 02:28:48] local.INFO: Extracted packet for processing {"connection_id":142489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa036"} 
[2026-07-27 02:28:48] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":1,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 02:28:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 02:28:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985359872001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:28:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:28:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:28:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:28:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785099363000,"timestamp_ms":1785099363000,"timestamp_seconds":1785099363,"priority":1,"record_length":96,"hex_timestamp":"0000019fa036a2b8"} 
[2026-07-27 02:28:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 02:28:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 02:28:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 02:28: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-07-27 02:28:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 02:28:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 02:28:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:28:48] local.INFO: Teltonika packet parsed successfully {"connection_id":142489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:28:48] local.INFO: Passing IMEI to GPS processor {"connection_id":142489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:28:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":142489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:28:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 02:28:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:28:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:28:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985359872001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:28:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:28:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:28:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985359872001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:28:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:28:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:28:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:28:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:28:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985359872001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:28:48] local.INFO: DEBUG: GPS processor result {"connection_id":142489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:28:48] local.INFO: GPS data processed {"connection_id":142489,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:28:48] local.INFO: Acknowledgment sent {"connection_id":142489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:29:36] local.INFO: TCP Data received {"connection_id":142566,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:29:36] local.INFO: Processing buffer {"connection_id":142566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:29:36] local.INFO: IMEI packet received {"connection_id":142566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 02:29:36] local.INFO: IMEI acknowledgment sent {"connection_id":142566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 02:29:38] local.INFO: TCP Data received {"connection_id":142566,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:29:38] local.INFO: Processing buffer {"connection_id":142566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:29:38] local.INFO: IMEI packet received {"connection_id":142566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 02:29:38] local.INFO: IMEI acknowledgment sent {"connection_id":142566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 02:29:39] local.INFO: TCP Data received {"connection_id":142566,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fa036a2b8012d7f980005afd7c0000100062b..."} 
[2026-07-27 02:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa036a2b8012d7f980005afd7c0000100062b..."} 
[2026-07-27 02:29:39] local.INFO: Processing buffer {"connection_id":142566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa036a2b8012d7f980005afd7c0000100062b..."} 
[2026-07-27 02:29:39] local.INFO: Packet analysis {"connection_id":142566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa036"} 
[2026-07-27 02:29:39] local.INFO: Extracted packet for processing {"connection_id":142566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa036"} 
[2026-07-27 02:29:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":1,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 02:29:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 02:29:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985359872001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:29:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:29:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:29:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:29:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785099363000,"timestamp_ms":1785099363000,"timestamp_seconds":1785099363,"priority":1,"record_length":96,"hex_timestamp":"0000019fa036a2b8"} 
[2026-07-27 02:29:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 02:29:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 02: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-07-27 02: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-07-27 02:29:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 02:29:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 02:29:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:29:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:29:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:29:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:29:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 02:29:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:29:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:29:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985359872001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:29:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:29:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:29:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985359872001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:29:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:29:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:29:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:29:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:29:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985359872001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:29:39] local.INFO: DEBUG: GPS processor result {"connection_id":142566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:29:39] local.INFO: GPS data processed {"connection_id":142566,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:29:39] local.INFO: Acknowledgment sent {"connection_id":142566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:29:44] local.INFO: TCP Data received {"connection_id":142566,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fa036a2b8012d7f980005afd7c0000100062b..."} 
[2026-07-27 02:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa036a2b8012d7f980005afd7c0000100062b..."} 
[2026-07-27 02:29:44] local.INFO: Processing buffer {"connection_id":142566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa036a2b8012d7f980005afd7c0000100062b..."} 
[2026-07-27 02:29:44] local.INFO: Packet analysis {"connection_id":142566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa036"} 
[2026-07-27 02:29:44] local.INFO: Extracted packet for processing {"connection_id":142566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa036"} 
[2026-07-27 02:29:44] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":1,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 02: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-07-27 02:29:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985359872001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:29:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:29:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:29:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:29:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785099363000,"timestamp_ms":1785099363000,"timestamp_seconds":1785099363,"priority":1,"record_length":96,"hex_timestamp":"0000019fa036a2b8"} 
[2026-07-27 02:29:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 02:29:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 02: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-07-27 02: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-07-27 02: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-07-27 02:29:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 02:29:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:29:44] local.INFO: Teltonika packet parsed successfully {"connection_id":142566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:29:44] local.INFO: Passing IMEI to GPS processor {"connection_id":142566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:29:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":142566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:29:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 02:29:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:29:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:29:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985359872001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:29:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:29:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:29:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985359872001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:29:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:29:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:29:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:29:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:29:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985359872001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:29:44] local.INFO: DEBUG: GPS processor result {"connection_id":142566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:29:44] local.INFO: GPS data processed {"connection_id":142566,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:29:44] local.INFO: Acknowledgment sent {"connection_id":142566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:30:15] local.INFO: TCP Data received {"connection_id":142566,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fa036a2b8012d7f980005afd7c0000100062b..."} 
[2026-07-27 02:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa036a2b8012d7f980005afd7c0000100062b..."} 
[2026-07-27 02:30:15] local.INFO: Processing buffer {"connection_id":142566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa036a2b8012d7f980005afd7c0000100062b..."} 
[2026-07-27 02:30:15] local.INFO: Packet analysis {"connection_id":142566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa036"} 
[2026-07-27 02:30:15] local.INFO: Extracted packet for processing {"connection_id":142566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa036"} 
[2026-07-27 02:30:15] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":1,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 02:30:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 02:30:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985359872001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:30:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:30:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:30:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:30:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785099363000,"timestamp_ms":1785099363000,"timestamp_seconds":1785099363,"priority":1,"record_length":96,"hex_timestamp":"0000019fa036a2b8"} 
[2026-07-27 02:30:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 02:30:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 02:30:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 02:30: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-07-27 02:30:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 02:30:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 02:30:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:30:15] local.INFO: Teltonika packet parsed successfully {"connection_id":142566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:30:15] local.INFO: Passing IMEI to GPS processor {"connection_id":142566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:30:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":142566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:30:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 02:30:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:30:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:30:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985359872001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:30:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:30:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:30:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985359872001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:30:15] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:30:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:30:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:30:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:30:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985359872001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:30:15] local.INFO: DEBUG: GPS processor result {"connection_id":142566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:30:15] local.INFO: GPS data processed {"connection_id":142566,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:30:15] local.INFO: Acknowledgment sent {"connection_id":142566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:30:33] local.INFO: TCP Data received {"connection_id":144878,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:30:33] local.INFO: Processing buffer {"connection_id":144878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:30:33] local.INFO: IMEI packet received {"connection_id":144878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 02:30:33] local.INFO: IMEI acknowledgment sent {"connection_id":144878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 02:30:38] local.INFO: TCP Data received {"connection_id":144878,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:30:38] local.INFO: Processing buffer {"connection_id":144878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:30:38] local.INFO: IMEI packet received {"connection_id":144878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 02:30:38] local.INFO: IMEI acknowledgment sent {"connection_id":144878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 02:30:39] local.INFO: TCP Data received {"connection_id":144878,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fa036a2b8012d7f980005afd7c0000100062b..."} 
[2026-07-27 02:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa036a2b8012d7f980005afd7c0000100062b..."} 
[2026-07-27 02:30:39] local.INFO: Processing buffer {"connection_id":144878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa036a2b8012d7f980005afd7c0000100062b..."} 
[2026-07-27 02:30:39] local.INFO: Packet analysis {"connection_id":144878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa036"} 
[2026-07-27 02:30:39] local.INFO: Extracted packet for processing {"connection_id":144878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa036"} 
[2026-07-27 02:30:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":1,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 02:30:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 02:30:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985359872001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:30:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:30:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:30:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:30:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785099363000,"timestamp_ms":1785099363000,"timestamp_seconds":1785099363,"priority":1,"record_length":96,"hex_timestamp":"0000019fa036a2b8"} 
[2026-07-27 02:30:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 02:30:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 02: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-07-27 02: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-07-27 02:30:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 02:30:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 02:30:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:30:39] local.INFO: Teltonika packet parsed successfully {"connection_id":144878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:30:39] local.INFO: Passing IMEI to GPS processor {"connection_id":144878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:30:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":144878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:30:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 02:30:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:30:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:30:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985359872001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:30:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:30:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:30:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985359872001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:30:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:30:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:30:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:30:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:30:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985359872001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:30:39] local.INFO: DEBUG: GPS processor result {"connection_id":144878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:30:39] local.INFO: GPS data processed {"connection_id":144878,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:30:39] local.INFO: Acknowledgment sent {"connection_id":144878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:31:10] local.INFO: TCP Data received {"connection_id":144878,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fa036a2b8012d7f980005afd7c0000100062b..."} 
[2026-07-27 02:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa036a2b8012d7f980005afd7c0000100062b..."} 
[2026-07-27 02:31:10] local.INFO: Processing buffer {"connection_id":144878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa036a2b8012d7f980005afd7c0000100062b..."} 
[2026-07-27 02:31:10] local.INFO: Packet analysis {"connection_id":144878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa036"} 
[2026-07-27 02:31:10] local.INFO: Extracted packet for processing {"connection_id":144878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa036"} 
[2026-07-27 02:31:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":1,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 02:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 02:31:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985359872001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:31:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:31:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:31:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:31:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785099363000,"timestamp_ms":1785099363000,"timestamp_seconds":1785099363,"priority":1,"record_length":96,"hex_timestamp":"0000019fa036a2b8"} 
[2026-07-27 02:31:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 02:31:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 02:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 02:31:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 02:31:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 02:31:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 02:31:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:31:10] local.INFO: Teltonika packet parsed successfully {"connection_id":144878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:31:10] local.INFO: Passing IMEI to GPS processor {"connection_id":144878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:31:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":144878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:31:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 02:31:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:31:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:31:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985359872001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:31:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:31:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:31:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985359872001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:31:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:31:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:31:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:31:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:31:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985359872001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:31:10] local.INFO: DEBUG: GPS processor result {"connection_id":144878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:31:10] local.INFO: GPS data processed {"connection_id":144878,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:31:10] local.INFO: Acknowledgment sent {"connection_id":144878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:31:33] local.INFO: TCP Data received {"connection_id":142567,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:31:33] local.INFO: Processing buffer {"connection_id":142567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:31:33] local.INFO: IMEI packet received {"connection_id":142567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 02:31:33] local.INFO: IMEI acknowledgment sent {"connection_id":142567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 02:31:38] local.INFO: TCP Data received {"connection_id":142567,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:31:38] local.INFO: Processing buffer {"connection_id":142567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:31:38] local.INFO: IMEI packet received {"connection_id":142567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 02:31:38] local.INFO: IMEI acknowledgment sent {"connection_id":142567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 02:31:39] local.INFO: TCP Data received {"connection_id":142567,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fa036a2b8012d7f980005afd7c0000100062b..."} 
[2026-07-27 02:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa036a2b8012d7f980005afd7c0000100062b..."} 
[2026-07-27 02:31:39] local.INFO: Processing buffer {"connection_id":142567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa036a2b8012d7f980005afd7c0000100062b..."} 
[2026-07-27 02:31:39] local.INFO: Packet analysis {"connection_id":142567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa036"} 
[2026-07-27 02:31:39] local.INFO: Extracted packet for processing {"connection_id":142567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa036"} 
[2026-07-27 02:31:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":1,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 02:31:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 02:31:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985359872001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:31:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:31:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:31:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:31:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785099363000,"timestamp_ms":1785099363000,"timestamp_seconds":1785099363,"priority":1,"record_length":96,"hex_timestamp":"0000019fa036a2b8"} 
[2026-07-27 02:31:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 02:31:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 02: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-07-27 02: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-07-27 02:31:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 02:31:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 02:31:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:31:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:31:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:31:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:31:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 02:31:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:31:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:31:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985359872001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:31:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:31:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:31:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985359872001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:31:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:31:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:31:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:31:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:31:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985359872001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:31:39] local.INFO: DEBUG: GPS processor result {"connection_id":142567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:31:39] local.INFO: GPS data processed {"connection_id":142567,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:31:39] local.INFO: Acknowledgment sent {"connection_id":142567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:32:10] local.INFO: TCP Data received {"connection_id":142567,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fa03b3a80012d7f980005afd7c00002000627..."} 
[2026-07-27 02:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa03b3a80012d7f980005afd7c00002000627..."} 
[2026-07-27 02:32:10] local.INFO: Processing buffer {"connection_id":142567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa03b3a80012d7f980005afd7c00002000627..."} 
[2026-07-27 02:32:10] local.INFO: Packet analysis {"connection_id":142567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa03b"} 
[2026-07-27 02:32:10] local.INFO: Extracted packet for processing {"connection_id":142567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa03b"} 
[2026-07-27 02:32:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":39,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 02:32:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985436928001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:32:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:32:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:32:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:32:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785099664000,"timestamp_ms":1785099664000,"timestamp_seconds":1785099664,"priority":1,"record_length":96,"hex_timestamp":"0000019fa03b3a80"} 
[2026-07-27 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-07-27 02:32:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 02: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-07-27 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-07-27 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-07-27 02:32:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:32:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:32:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:32:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02: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-07-27 02:32:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:32:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:32:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985436928001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:32:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:32:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:32:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985436928001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:32:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:32:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:32:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:32:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:32:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985436928001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:32:10] local.INFO: DEBUG: GPS processor result {"connection_id":142567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:32:10] local.INFO: GPS data processed {"connection_id":142567,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:32:10] local.INFO: Acknowledgment sent {"connection_id":142567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:32:38] local.INFO: TCP Data received {"connection_id":143543,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:32:38] local.INFO: Processing buffer {"connection_id":143543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:32:38] local.INFO: IMEI packet received {"connection_id":143543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 02:32:38] local.INFO: IMEI acknowledgment sent {"connection_id":143543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 02:32:43] local.INFO: TCP Data received {"connection_id":143543,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:32:43] local.INFO: Processing buffer {"connection_id":143543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:32:43] local.INFO: IMEI packet received {"connection_id":143543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 02:32:43] local.INFO: IMEI acknowledgment sent {"connection_id":143543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 02:32:44] local.INFO: TCP Data received {"connection_id":143543,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fa03b3a80012d7f980005afd7c00002000627..."} 
[2026-07-27 02:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa03b3a80012d7f980005afd7c00002000627..."} 
[2026-07-27 02:32:44] local.INFO: Processing buffer {"connection_id":143543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa03b3a80012d7f980005afd7c00002000627..."} 
[2026-07-27 02:32:44] local.INFO: Packet analysis {"connection_id":143543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa03b"} 
[2026-07-27 02:32:44] local.INFO: Extracted packet for processing {"connection_id":143543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa03b"} 
[2026-07-27 02:32:44] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":39,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 02:32:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 02:32:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985436928001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:32:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:32:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:32:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:32:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785099664000,"timestamp_ms":1785099664000,"timestamp_seconds":1785099664,"priority":1,"record_length":96,"hex_timestamp":"0000019fa03b3a80"} 
[2026-07-27 02:32:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 02:32:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 02:32:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 02:32: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-07-27 02:32:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 02:32:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 02:32:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:32:44] local.INFO: Teltonika packet parsed successfully {"connection_id":143543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:32:44] local.INFO: Passing IMEI to GPS processor {"connection_id":143543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:32:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":143543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:32:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 02:32:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:32:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:32:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985436928001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:32:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:32:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:32:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985436928001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:32:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:32:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:32:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:32:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:32:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985436928001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:32:44] local.INFO: DEBUG: GPS processor result {"connection_id":143543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:32:44] local.INFO: GPS data processed {"connection_id":143543,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:32:44] local.INFO: Acknowledgment sent {"connection_id":143543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:32:49] local.INFO: TCP Data received {"connection_id":143543,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fa03b3a80012d7f980005afd7c00002000627..."} 
[2026-07-27 02:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa03b3a80012d7f980005afd7c00002000627..."} 
[2026-07-27 02:32:49] local.INFO: Processing buffer {"connection_id":143543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa03b3a80012d7f980005afd7c00002000627..."} 
[2026-07-27 02:32:49] local.INFO: Packet analysis {"connection_id":143543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa03b"} 
[2026-07-27 02:32:49] local.INFO: Extracted packet for processing {"connection_id":143543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa03b"} 
[2026-07-27 02:32:49] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":39,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 02: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-07-27 02:32:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985436928001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:32:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:32:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:32:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:32:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785099664000,"timestamp_ms":1785099664000,"timestamp_seconds":1785099664,"priority":1,"record_length":96,"hex_timestamp":"0000019fa03b3a80"} 
[2026-07-27 02:32:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 02:32:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 02: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 02:32:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 02: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-07-27 02:32:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 02:32:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:32:49] local.INFO: Teltonika packet parsed successfully {"connection_id":143543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:32:49] local.INFO: Passing IMEI to GPS processor {"connection_id":143543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:32:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":143543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:32:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 02:32:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:32:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:32:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985436928001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:32:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:32:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:32:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985436928001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:32:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:32:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:32:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:32:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:32:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985436928001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:32:49] local.INFO: DEBUG: GPS processor result {"connection_id":143543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:32:49] local.INFO: GPS data processed {"connection_id":143543,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:32:49] local.INFO: Acknowledgment sent {"connection_id":143543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:33:16] local.INFO: TCP Data received {"connection_id":142568,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 02:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142568,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 02:33:16] local.INFO: Processing buffer {"connection_id":142568,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 02:33:16] local.INFO: IMEI packet received {"connection_id":142568,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 02:33:16] local.INFO: IMEI acknowledgment sent {"connection_id":142568,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 02:33:33] local.INFO: TCP Data received {"connection_id":144880,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:33:33] local.INFO: Processing buffer {"connection_id":144880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:33:33] local.INFO: IMEI packet received {"connection_id":144880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 02:33:33] local.INFO: IMEI acknowledgment sent {"connection_id":144880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 02:33:38] local.INFO: TCP Data received {"connection_id":144880,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:33:38] local.INFO: Processing buffer {"connection_id":144880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:33:38] local.INFO: IMEI packet received {"connection_id":144880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 02:33:38] local.INFO: IMEI acknowledgment sent {"connection_id":144880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 02:33:39] local.INFO: TCP Data received {"connection_id":144880,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fa03b3a80012d7f980005afd7c00002000627..."} 
[2026-07-27 02:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa03b3a80012d7f980005afd7c00002000627..."} 
[2026-07-27 02:33:39] local.INFO: Processing buffer {"connection_id":144880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa03b3a80012d7f980005afd7c00002000627..."} 
[2026-07-27 02:33:39] local.INFO: Packet analysis {"connection_id":144880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa03b"} 
[2026-07-27 02:33:39] local.INFO: Extracted packet for processing {"connection_id":144880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa03b"} 
[2026-07-27 02:33:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":39,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 02:33:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 02:33:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985436928001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:33:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:33:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:33:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:33:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785099664000,"timestamp_ms":1785099664000,"timestamp_seconds":1785099664,"priority":1,"record_length":96,"hex_timestamp":"0000019fa03b3a80"} 
[2026-07-27 02:33:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 02:33:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 02: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":53,"data_length":795,"current_offset":136} 
[2026-07-27 02:33: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-07-27 02:33:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 02:33:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 02:33:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:33:39] local.INFO: Teltonika packet parsed successfully {"connection_id":144880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:33:39] local.INFO: Passing IMEI to GPS processor {"connection_id":144880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:33:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":144880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:33:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 02:33:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:33:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:33:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985436928001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:33:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:33:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:33:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985436928001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:33:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:33:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:33:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:33:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:33:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985436928001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:33:39] local.INFO: DEBUG: GPS processor result {"connection_id":144880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:33:39] local.INFO: GPS data processed {"connection_id":144880,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:33:39] local.INFO: Acknowledgment sent {"connection_id":144880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:33:51] local.INFO: TCP Data received {"connection_id":143544,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 02:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143544,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 02:33:51] local.INFO: Processing buffer {"connection_id":143544,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 02:33:51] local.INFO: IMEI packet received {"connection_id":143544,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 02:33:51] local.INFO: IMEI acknowledgment sent {"connection_id":143544,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 02:34:10] local.INFO: TCP Data received {"connection_id":144880,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fa03b3a80012d7f980005afd7c00002000627..."} 
[2026-07-27 02:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa03b3a80012d7f980005afd7c00002000627..."} 
[2026-07-27 02:34:10] local.INFO: Processing buffer {"connection_id":144880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa03b3a80012d7f980005afd7c00002000627..."} 
[2026-07-27 02:34:10] local.INFO: Packet analysis {"connection_id":144880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa03b"} 
[2026-07-27 02:34:10] local.INFO: Extracted packet for processing {"connection_id":144880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa03b"} 
[2026-07-27 02:34:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":39,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 02:34:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985436928001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:34:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:34:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:34:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:34:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785099664000,"timestamp_ms":1785099664000,"timestamp_seconds":1785099664,"priority":1,"record_length":96,"hex_timestamp":"0000019fa03b3a80"} 
[2026-07-27 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-07-27 02:34:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 02: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-07-27 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-07-27 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-07-27 02:34:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:34:10] local.INFO: Teltonika packet parsed successfully {"connection_id":144880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:34:10] local.INFO: Passing IMEI to GPS processor {"connection_id":144880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:34:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":144880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:34:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 02:34:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:34:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:34:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985436928001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:34:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:34:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:34:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985436928001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:34:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:34:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:34:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:34:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:34:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985436928001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:34:10] local.INFO: DEBUG: GPS processor result {"connection_id":144880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:34:10] local.INFO: GPS data processed {"connection_id":144880,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:34:10] local.INFO: Acknowledgment sent {"connection_id":144880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:34:33] local.INFO: TCP Data received {"connection_id":144881,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:34:33] local.INFO: Processing buffer {"connection_id":144881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:34:33] local.INFO: IMEI packet received {"connection_id":144881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 02:34:33] local.INFO: IMEI acknowledgment sent {"connection_id":144881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 02:34:38] local.INFO: TCP Data received {"connection_id":144881,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:34:38] local.INFO: Processing buffer {"connection_id":144881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:34:38] local.INFO: IMEI packet received {"connection_id":144881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 02:34:38] local.INFO: IMEI acknowledgment sent {"connection_id":144881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 02:34:39] local.INFO: TCP Data received {"connection_id":144881,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fa03b3a80012d7f980005afd7c00002000627..."} 
[2026-07-27 02:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa03b3a80012d7f980005afd7c00002000627..."} 
[2026-07-27 02:34:39] local.INFO: Processing buffer {"connection_id":144881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa03b3a80012d7f980005afd7c00002000627..."} 
[2026-07-27 02:34:39] local.INFO: Packet analysis {"connection_id":144881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa03b"} 
[2026-07-27 02:34:39] local.INFO: Extracted packet for processing {"connection_id":144881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa03b"} 
[2026-07-27 02:34:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":39,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 02:34:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 02:34:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985436928001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:34:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:34:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:34:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:34:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785099664000,"timestamp_ms":1785099664000,"timestamp_seconds":1785099664,"priority":1,"record_length":96,"hex_timestamp":"0000019fa03b3a80"} 
[2026-07-27 02:34:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 02:34:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 02: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-07-27 02: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-07-27 02:34:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 02:34:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 02:34:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:34:39] local.INFO: Teltonika packet parsed successfully {"connection_id":144881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:34:39] local.INFO: Passing IMEI to GPS processor {"connection_id":144881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:34:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":144881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:34:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 02:34:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:34:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:34:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985436928001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:34:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:34:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:34:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985436928001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:34:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:34:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:34:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:34:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:34:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985436928001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:34:39] local.INFO: DEBUG: GPS processor result {"connection_id":144881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:34:39] local.INFO: GPS data processed {"connection_id":144881,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:34:39] local.INFO: Acknowledgment sent {"connection_id":144881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:35:10] local.INFO: TCP Data received {"connection_id":144881,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fa03b3a80012d7f980005afd7c00002000627..."} 
[2026-07-27 02:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa03b3a80012d7f980005afd7c00002000627..."} 
[2026-07-27 02:35:10] local.INFO: Processing buffer {"connection_id":144881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa03b3a80012d7f980005afd7c00002000627..."} 
[2026-07-27 02:35:10] local.INFO: Packet analysis {"connection_id":144881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa03b"} 
[2026-07-27 02:35:10] local.INFO: Extracted packet for processing {"connection_id":144881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa03b"} 
[2026-07-27 02:35:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":39,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 02:35:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985436928001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:35:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:35:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:35:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:35:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785099664000,"timestamp_ms":1785099664000,"timestamp_seconds":1785099664,"priority":1,"record_length":96,"hex_timestamp":"0000019fa03b3a80"} 
[2026-07-27 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-07-27 02:35:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 02: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-07-27 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-07-27 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-07-27 02:35:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:35:10] local.INFO: Teltonika packet parsed successfully {"connection_id":144881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:35:10] local.INFO: Passing IMEI to GPS processor {"connection_id":144881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:35:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":144881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:35:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 02:35:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:35:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:35:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985436928001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:35:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:35:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:35:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985436928001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:35:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:35:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:35:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:35:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:35:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985436928001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:35:10] local.INFO: DEBUG: GPS processor result {"connection_id":144881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:35:10] local.INFO: GPS data processed {"connection_id":144881,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:35:10] local.INFO: Acknowledgment sent {"connection_id":144881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:35:33] local.INFO: TCP Data received {"connection_id":142492,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:35:33] local.INFO: Processing buffer {"connection_id":142492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:35:33] local.INFO: IMEI packet received {"connection_id":142492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 02:35:33] local.INFO: IMEI acknowledgment sent {"connection_id":142492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 02:35:38] local.INFO: TCP Data received {"connection_id":142492,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:35:38] local.INFO: Processing buffer {"connection_id":142492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:35:38] local.INFO: IMEI packet received {"connection_id":142492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 02:35:38] local.INFO: IMEI acknowledgment sent {"connection_id":142492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 02:35:39] local.INFO: TCP Data received {"connection_id":142492,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa03b3a80012d7f980005afd7c00002000627..."} 
[2026-07-27 02:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa03b3a80012d7f980005afd7c00002000627..."} 
[2026-07-27 02:35:39] local.INFO: Processing buffer {"connection_id":142492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa03b3a80012d7f980005afd7c00002000627..."} 
[2026-07-27 02:35:39] local.INFO: Packet analysis {"connection_id":142492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa03b"} 
[2026-07-27 02:35:39] local.INFO: Extracted packet for processing {"connection_id":142492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa03b"} 
[2026-07-27 02:35:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":39,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 02: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-07-27 02:35:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985436928001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:35:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:35:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:35:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:35:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785099664000,"timestamp_ms":1785099664000,"timestamp_seconds":1785099664,"priority":1,"record_length":96,"hex_timestamp":"0000019fa03b3a80"} 
[2026-07-27 02:35:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 02:35:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 02: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-07-27 02: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-07-27 02: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-07-27 02:35:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 02:35:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:35:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:35:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:35:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:35:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 02:35:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:35:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:35:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985436928001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:35:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:35:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:35:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985436928001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:35:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:35:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:35:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:35:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:35:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985436928001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:35:39] local.INFO: DEBUG: GPS processor result {"connection_id":142492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:35:39] local.INFO: GPS data processed {"connection_id":142492,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:35:39] local.INFO: Acknowledgment sent {"connection_id":142492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:36:10] local.INFO: TCP Data received {"connection_id":142492,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa03b3a80012d7f980005afd7c00002000627..."} 
[2026-07-27 02:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa03b3a80012d7f980005afd7c00002000627..."} 
[2026-07-27 02:36:10] local.INFO: Processing buffer {"connection_id":142492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa03b3a80012d7f980005afd7c00002000627..."} 
[2026-07-27 02:36:10] local.INFO: Packet analysis {"connection_id":142492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa03b"} 
[2026-07-27 02:36:10] local.INFO: Extracted packet for processing {"connection_id":142492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa03b"} 
[2026-07-27 02:36:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":39,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 02:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 02:36:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985436928001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:36:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:36:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:36:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:36:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785099664000,"timestamp_ms":1785099664000,"timestamp_seconds":1785099664,"priority":1,"record_length":96,"hex_timestamp":"0000019fa03b3a80"} 
[2026-07-27 02:36:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 02:36:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 02:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 02: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-07-27 02:36:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 02:36:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 02:36:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:36:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:36:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:36:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:36:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 02:36:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:36:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:36:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985436928001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:36:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:36:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:36:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985436928001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:36:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:36:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:36:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:36:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:36:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985436928001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:36:10] local.INFO: DEBUG: GPS processor result {"connection_id":142492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:36:10] local.INFO: GPS data processed {"connection_id":142492,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:36:10] local.INFO: Acknowledgment sent {"connection_id":142492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:36:33] local.INFO: TCP Data received {"connection_id":143546,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:36:33] local.INFO: Processing buffer {"connection_id":143546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:36:33] local.INFO: IMEI packet received {"connection_id":143546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 02:36:33] local.INFO: IMEI acknowledgment sent {"connection_id":143546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 02:36:38] local.INFO: TCP Data received {"connection_id":143546,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:36:38] local.INFO: Processing buffer {"connection_id":143546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:36:38] local.INFO: IMEI packet received {"connection_id":143546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 02:36:38] local.INFO: IMEI acknowledgment sent {"connection_id":143546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 02:36:39] local.INFO: TCP Data received {"connection_id":143546,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fa03b3a80012d7f980005afd7c00002000627..."} 
[2026-07-27 02:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa03b3a80012d7f980005afd7c00002000627..."} 
[2026-07-27 02:36:39] local.INFO: Processing buffer {"connection_id":143546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa03b3a80012d7f980005afd7c00002000627..."} 
[2026-07-27 02:36:39] local.INFO: Packet analysis {"connection_id":143546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa03b"} 
[2026-07-27 02:36:39] local.INFO: Extracted packet for processing {"connection_id":143546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa03b"} 
[2026-07-27 02:36:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":39,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 02:36:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 02:36:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985436928001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:36:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:36:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:36:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:36:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785099664000,"timestamp_ms":1785099664000,"timestamp_seconds":1785099664,"priority":1,"record_length":96,"hex_timestamp":"0000019fa03b3a80"} 
[2026-07-27 02:36:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 02:36:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 02: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-07-27 02: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-07-27 02:36:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 02:36:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 02:36:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:36:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:36:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:36:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:36:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 02:36:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:36:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:36:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985436928001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:36:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:36:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:36:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985436928001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:36:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:36:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:36:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:36:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:36:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985436928001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:36:39] local.INFO: DEBUG: GPS processor result {"connection_id":143546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:36:39] local.INFO: GPS data processed {"connection_id":143546,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:36:39] local.INFO: Acknowledgment sent {"connection_id":143546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:37:13] local.INFO: TCP Data received {"connection_id":143546,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fa03fd248012d7f980005afd7c00002000625..."} 
[2026-07-27 02:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa03fd248012d7f980005afd7c00002000625..."} 
[2026-07-27 02:37:13] local.INFO: Processing buffer {"connection_id":143546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa03fd248012d7f980005afd7c00002000625..."} 
[2026-07-27 02:37:13] local.INFO: Packet analysis {"connection_id":143546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa03f"} 
[2026-07-27 02:37:13] local.INFO: Extracted packet for processing {"connection_id":143546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa03f"} 
[2026-07-27 02:37:13] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":37,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 02:37:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 02:37:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985513984001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:37:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:37:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:37:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:37:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785099965000,"timestamp_ms":1785099965000,"timestamp_seconds":1785099965,"priority":1,"record_length":96,"hex_timestamp":"0000019fa03fd248"} 
[2026-07-27 02:37:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 02:37:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 02:37:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 02:37: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-07-27 02:37:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 02:37:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 02:37:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:37:13] local.INFO: Teltonika packet parsed successfully {"connection_id":143546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:37:13] local.INFO: Passing IMEI to GPS processor {"connection_id":143546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:37:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":143546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:37:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 02:37:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:37:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:37:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985513984001,"66":25375,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:37:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:37:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:37:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985513984001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:37:13] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:37:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:37:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:37:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:37:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985513984001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:37:13] local.INFO: DEBUG: GPS processor result {"connection_id":143546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:37:13] local.INFO: GPS data processed {"connection_id":143546,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:37:13] local.INFO: Acknowledgment sent {"connection_id":143546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:37:33] local.INFO: TCP Data received {"connection_id":142571,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:37:33] local.INFO: Processing buffer {"connection_id":142571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:37:33] local.INFO: IMEI packet received {"connection_id":142571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 02:37:33] local.INFO: IMEI acknowledgment sent {"connection_id":142571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 02:37:38] local.INFO: TCP Data received {"connection_id":142571,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:37:38] local.INFO: Processing buffer {"connection_id":142571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:37:38] local.INFO: IMEI packet received {"connection_id":142571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 02:37:38] local.INFO: IMEI acknowledgment sent {"connection_id":142571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 02:37:40] local.INFO: TCP Data received {"connection_id":142571,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fa03fd248012d7f980005afd7c00002000625..."} 
[2026-07-27 02:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa03fd248012d7f980005afd7c00002000625..."} 
[2026-07-27 02:37:40] local.INFO: Processing buffer {"connection_id":142571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa03fd248012d7f980005afd7c00002000625..."} 
[2026-07-27 02:37:40] local.INFO: Packet analysis {"connection_id":142571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa03f"} 
[2026-07-27 02:37:40] local.INFO: Extracted packet for processing {"connection_id":142571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa03f"} 
[2026-07-27 02:37:40] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":37,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 02:37:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 02:37:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985513984001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:37:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:37:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:37:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:37:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785099965000,"timestamp_ms":1785099965000,"timestamp_seconds":1785099965,"priority":1,"record_length":96,"hex_timestamp":"0000019fa03fd248"} 
[2026-07-27 02:37:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 02:37:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 02: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-07-27 02: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-07-27 02:37:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 02:37:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 02:37:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:37:40] local.INFO: Teltonika packet parsed successfully {"connection_id":142571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:37:40] local.INFO: Passing IMEI to GPS processor {"connection_id":142571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:37:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":142571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:37:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 02:37:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:37:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:37:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985513984001,"66":25375,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:37:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:37:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:37:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985513984001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:37:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:37:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:37:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:37:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:37:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985513984001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:37:40] local.INFO: DEBUG: GPS processor result {"connection_id":142571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:37:40] local.INFO: GPS data processed {"connection_id":142571,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:37:40] local.INFO: Acknowledgment sent {"connection_id":142571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:38:12] local.INFO: TCP Data received {"connection_id":142571,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fa03fd248012d7f980005afd7c00002000625..."} 
[2026-07-27 02:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa03fd248012d7f980005afd7c00002000625..."} 
[2026-07-27 02:38:12] local.INFO: Processing buffer {"connection_id":142571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa03fd248012d7f980005afd7c00002000625..."} 
[2026-07-27 02:38:12] local.INFO: Packet analysis {"connection_id":142571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa03f"} 
[2026-07-27 02:38:12] local.INFO: Extracted packet for processing {"connection_id":142571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa03f"} 
[2026-07-27 02:38:12] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":37,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 02:38:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 02:38:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985513984001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:38:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:38:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:38:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:38:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785099965000,"timestamp_ms":1785099965000,"timestamp_seconds":1785099965,"priority":1,"record_length":96,"hex_timestamp":"0000019fa03fd248"} 
[2026-07-27 02:38:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 02:38:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 02: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-07-27 02: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-07-27 02:38:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 02:38:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 02:38:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:38:12] local.INFO: Teltonika packet parsed successfully {"connection_id":142571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:38:12] local.INFO: Passing IMEI to GPS processor {"connection_id":142571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:38:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":142571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:38:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 02:38:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:38:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:38:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985513984001,"66":25375,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:38:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:38:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:38:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985513984001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:38:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:38:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:38:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:38:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:38:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985513984001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:38:12] local.INFO: DEBUG: GPS processor result {"connection_id":142571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:38:12] local.INFO: GPS data processed {"connection_id":142571,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:38:12] local.INFO: Acknowledgment sent {"connection_id":142571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:38:33] local.INFO: TCP Data received {"connection_id":144882,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:38:33] local.INFO: Processing buffer {"connection_id":144882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:38:33] local.INFO: IMEI packet received {"connection_id":144882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 02:38:33] local.INFO: IMEI acknowledgment sent {"connection_id":144882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 02:38:38] local.INFO: TCP Data received {"connection_id":144882,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:38:38] local.INFO: Processing buffer {"connection_id":144882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:38:38] local.INFO: IMEI packet received {"connection_id":144882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 02:38:38] local.INFO: IMEI acknowledgment sent {"connection_id":144882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 02:38:39] local.INFO: TCP Data received {"connection_id":144882,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fa03fd248012d7f980005afd7c00002000625..."} 
[2026-07-27 02:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa03fd248012d7f980005afd7c00002000625..."} 
[2026-07-27 02:38:39] local.INFO: Processing buffer {"connection_id":144882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa03fd248012d7f980005afd7c00002000625..."} 
[2026-07-27 02:38:39] local.INFO: Packet analysis {"connection_id":144882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa03f"} 
[2026-07-27 02:38:39] local.INFO: Extracted packet for processing {"connection_id":144882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa03f"} 
[2026-07-27 02:38:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":37,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 02:38:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 02:38:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985513984001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:38:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:38:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:38:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:38:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785099965000,"timestamp_ms":1785099965000,"timestamp_seconds":1785099965,"priority":1,"record_length":96,"hex_timestamp":"0000019fa03fd248"} 
[2026-07-27 02:38:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 02:38:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 02: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":53,"data_length":795,"current_offset":136} 
[2026-07-27 02:38: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-07-27 02:38:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 02:38:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 02:38:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:38:39] local.INFO: Teltonika packet parsed successfully {"connection_id":144882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:38:39] local.INFO: Passing IMEI to GPS processor {"connection_id":144882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:38:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":144882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:38:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 02:38:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:38:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:38:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985513984001,"66":25375,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:38:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:38:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:38:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985513984001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:38:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:38:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:38:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:38:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:38:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985513984001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:38:39] local.INFO: DEBUG: GPS processor result {"connection_id":144882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:38:39] local.INFO: GPS data processed {"connection_id":144882,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:38:39] local.INFO: Acknowledgment sent {"connection_id":144882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:39:10] local.INFO: TCP Data received {"connection_id":144882,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fa03fd248012d7f980005afd7c00002000625..."} 
[2026-07-27 02:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa03fd248012d7f980005afd7c00002000625..."} 
[2026-07-27 02:39:10] local.INFO: Processing buffer {"connection_id":144882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa03fd248012d7f980005afd7c00002000625..."} 
[2026-07-27 02:39:10] local.INFO: Packet analysis {"connection_id":144882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa03f"} 
[2026-07-27 02:39:10] local.INFO: Extracted packet for processing {"connection_id":144882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa03f"} 
[2026-07-27 02:39:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":37,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 02:39:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985513984001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:39:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:39:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:39:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:39:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785099965000,"timestamp_ms":1785099965000,"timestamp_seconds":1785099965,"priority":1,"record_length":96,"hex_timestamp":"0000019fa03fd248"} 
[2026-07-27 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-07-27 02:39:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 02: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-07-27 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-07-27 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-07-27 02:39:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:39:10] local.INFO: Teltonika packet parsed successfully {"connection_id":144882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:39:10] local.INFO: Passing IMEI to GPS processor {"connection_id":144882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:39:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":144882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:39:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 02:39:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:39:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:39:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985513984001,"66":25375,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:39:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:39:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:39:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985513984001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:39:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:39:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:39:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:39:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:39:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985513984001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:39:10] local.INFO: DEBUG: GPS processor result {"connection_id":144882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:39:10] local.INFO: GPS data processed {"connection_id":144882,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:39:10] local.INFO: Acknowledgment sent {"connection_id":144882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:39:11] local.INFO: TCP Data received {"connection_id":142573,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 02:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142573,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 02:39:11] local.INFO: Processing buffer {"connection_id":142573,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 02:39:11] local.INFO: IMEI packet received {"connection_id":142573,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 02:39:11] local.INFO: IMEI acknowledgment sent {"connection_id":142573,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 02:39:33] local.INFO: TCP Data received {"connection_id":144883,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:39:33] local.INFO: Processing buffer {"connection_id":144883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:39:33] local.INFO: IMEI packet received {"connection_id":144883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 02:39:33] local.INFO: IMEI acknowledgment sent {"connection_id":144883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 02:39:38] local.INFO: TCP Data received {"connection_id":144883,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:39:38] local.INFO: Processing buffer {"connection_id":144883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:39:38] local.INFO: IMEI packet received {"connection_id":144883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 02:39:38] local.INFO: IMEI acknowledgment sent {"connection_id":144883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 02:39:39] local.INFO: TCP Data received {"connection_id":144883,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa03fd248012d7f980005afd7c00002000625..."} 
[2026-07-27 02:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa03fd248012d7f980005afd7c00002000625..."} 
[2026-07-27 02:39:39] local.INFO: Processing buffer {"connection_id":144883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa03fd248012d7f980005afd7c00002000625..."} 
[2026-07-27 02:39:39] local.INFO: Packet analysis {"connection_id":144883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa03f"} 
[2026-07-27 02:39:39] local.INFO: Extracted packet for processing {"connection_id":144883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa03f"} 
[2026-07-27 02:39:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":37,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 02:39:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 02:39:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985513984001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:39:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:39:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:39:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:39:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785099965000,"timestamp_ms":1785099965000,"timestamp_seconds":1785099965,"priority":1,"record_length":96,"hex_timestamp":"0000019fa03fd248"} 
[2026-07-27 02:39:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 02:39:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 02: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-07-27 02: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-07-27 02:39:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 02:39:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 02:39:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:39:39] local.INFO: Teltonika packet parsed successfully {"connection_id":144883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:39:39] local.INFO: Passing IMEI to GPS processor {"connection_id":144883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:39:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":144883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02: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-07-27 02:39:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:39:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:39:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985513984001,"66":25375,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:39:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:39:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:39:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985513984001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:39:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:39:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:39:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:39:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:39:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985513984001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:39:39] local.INFO: DEBUG: GPS processor result {"connection_id":144883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:39:39] local.INFO: GPS data processed {"connection_id":144883,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:39:39] local.INFO: Acknowledgment sent {"connection_id":144883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:39:46] local.INFO: TCP Data received {"connection_id":143547,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 02:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143547,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 02:39:46] local.INFO: Processing buffer {"connection_id":143547,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 02:39:46] local.INFO: IMEI packet received {"connection_id":143547,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 02:39:46] local.INFO: IMEI acknowledgment sent {"connection_id":143547,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 02:40:10] local.INFO: TCP Data received {"connection_id":144883,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa03fd248012d7f980005afd7c00002000625..."} 
[2026-07-27 02:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa03fd248012d7f980005afd7c00002000625..."} 
[2026-07-27 02:40:10] local.INFO: Processing buffer {"connection_id":144883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa03fd248012d7f980005afd7c00002000625..."} 
[2026-07-27 02:40:10] local.INFO: Packet analysis {"connection_id":144883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa03f"} 
[2026-07-27 02:40:10] local.INFO: Extracted packet for processing {"connection_id":144883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa03f"} 
[2026-07-27 02:40:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":37,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 02:40:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985513984001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:40:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:40:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:40:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:40:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785099965000,"timestamp_ms":1785099965000,"timestamp_seconds":1785099965,"priority":1,"record_length":96,"hex_timestamp":"0000019fa03fd248"} 
[2026-07-27 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-07-27 02:40:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 02: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-07-27 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-07-27 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-07-27 02:40:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:40:10] local.INFO: Teltonika packet parsed successfully {"connection_id":144883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:40:10] local.INFO: Passing IMEI to GPS processor {"connection_id":144883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:40:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":144883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:40:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 02:40:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:40:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:40:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985513984001,"66":25375,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:40:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:40:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:40:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985513984001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:40:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:40:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:40:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:40:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:40:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985513984001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:40:10] local.INFO: DEBUG: GPS processor result {"connection_id":144883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:40:10] local.INFO: GPS data processed {"connection_id":144883,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:40:10] local.INFO: Acknowledgment sent {"connection_id":144883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:40:33] local.INFO: TCP Data received {"connection_id":143548,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:40:33] local.INFO: Processing buffer {"connection_id":143548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:40:33] local.INFO: IMEI packet received {"connection_id":143548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 02:40:33] local.INFO: IMEI acknowledgment sent {"connection_id":143548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 02:40:38] local.INFO: TCP Data received {"connection_id":143548,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:40:38] local.INFO: Processing buffer {"connection_id":143548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:40:38] local.INFO: IMEI packet received {"connection_id":143548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 02:40:38] local.INFO: IMEI acknowledgment sent {"connection_id":143548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 02:40:40] local.INFO: TCP Data received {"connection_id":143548,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fa03fd248012d7f980005afd7c00002000625..."} 
[2026-07-27 02:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa03fd248012d7f980005afd7c00002000625..."} 
[2026-07-27 02:40:40] local.INFO: Processing buffer {"connection_id":143548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa03fd248012d7f980005afd7c00002000625..."} 
[2026-07-27 02:40:40] local.INFO: Packet analysis {"connection_id":143548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa03f"} 
[2026-07-27 02:40:40] local.INFO: Extracted packet for processing {"connection_id":143548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa03f"} 
[2026-07-27 02:40:40] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":37,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 02: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-07-27 02:40:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985513984001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:40:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:40:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:40:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:40:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785099965000,"timestamp_ms":1785099965000,"timestamp_seconds":1785099965,"priority":1,"record_length":96,"hex_timestamp":"0000019fa03fd248"} 
[2026-07-27 02:40:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 02:40:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 02: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":53,"data_length":795,"current_offset":136} 
[2026-07-27 02:40: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-07-27 02: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-07-27 02:40:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 02:40:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:40:40] local.INFO: Teltonika packet parsed successfully {"connection_id":143548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:40:40] local.INFO: Passing IMEI to GPS processor {"connection_id":143548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:40:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":143548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:40:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 02:40:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:40:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:40:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985513984001,"66":25375,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:40:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:40:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:40:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985513984001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:40:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:40:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:40:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:40:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:40:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985513984001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:40:40] local.INFO: DEBUG: GPS processor result {"connection_id":143548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:40:40] local.INFO: GPS data processed {"connection_id":143548,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:40:40] local.INFO: Acknowledgment sent {"connection_id":143548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:41:11] local.INFO: TCP Data received {"connection_id":143548,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fa03fd248012d7f980005afd7c00002000625..."} 
[2026-07-27 02:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa03fd248012d7f980005afd7c00002000625..."} 
[2026-07-27 02:41:11] local.INFO: Processing buffer {"connection_id":143548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa03fd248012d7f980005afd7c00002000625..."} 
[2026-07-27 02:41:11] local.INFO: Packet analysis {"connection_id":143548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa03f"} 
[2026-07-27 02:41:11] local.INFO: Extracted packet for processing {"connection_id":143548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa03f"} 
[2026-07-27 02:41:11] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":37,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 02: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-07-27 02:41:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985513984001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:41:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:41:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:41:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:41:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785099965000,"timestamp_ms":1785099965000,"timestamp_seconds":1785099965,"priority":1,"record_length":96,"hex_timestamp":"0000019fa03fd248"} 
[2026-07-27 02:41:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 02:41:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 02: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-07-27 02: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-07-27 02: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-07-27 02:41:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 02:41:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:41:11] local.INFO: Teltonika packet parsed successfully {"connection_id":143548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:41:11] local.INFO: Passing IMEI to GPS processor {"connection_id":143548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:41:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":143548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:41:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 02:41:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:41:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:41:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985513984001,"66":25375,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:41:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:41:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:41:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985513984001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:41:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:41:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:41:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:41:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:41:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985513984001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:41:11] local.INFO: DEBUG: GPS processor result {"connection_id":143548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:41:11] local.INFO: GPS data processed {"connection_id":143548,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:41:11] local.INFO: Acknowledgment sent {"connection_id":143548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:41:33] local.INFO: TCP Data received {"connection_id":142494,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:41:33] local.INFO: Processing buffer {"connection_id":142494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:41:33] local.INFO: IMEI packet received {"connection_id":142494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 02:41:33] local.INFO: IMEI acknowledgment sent {"connection_id":142494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 02:41:38] local.INFO: TCP Data received {"connection_id":142494,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:41:38] local.INFO: Processing buffer {"connection_id":142494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:41:38] local.INFO: IMEI packet received {"connection_id":142494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 02:41:38] local.INFO: IMEI acknowledgment sent {"connection_id":142494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 02:41:39] local.INFO: TCP Data received {"connection_id":142494,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa03fd248012d7f980005afd7c00002000625..."} 
[2026-07-27 02:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa03fd248012d7f980005afd7c00002000625..."} 
[2026-07-27 02:41:39] local.INFO: Processing buffer {"connection_id":142494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa03fd248012d7f980005afd7c00002000625..."} 
[2026-07-27 02:41:39] local.INFO: Packet analysis {"connection_id":142494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa03f"} 
[2026-07-27 02:41:39] local.INFO: Extracted packet for processing {"connection_id":142494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa03f"} 
[2026-07-27 02:41:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":37,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 02: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-07-27 02:41:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985513984001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:41:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:41:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:41:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:41:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785099965000,"timestamp_ms":1785099965000,"timestamp_seconds":1785099965,"priority":1,"record_length":96,"hex_timestamp":"0000019fa03fd248"} 
[2026-07-27 02:41:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 02:41:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 02: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":53,"data_length":795,"current_offset":136} 
[2026-07-27 02:41: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-07-27 02: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-07-27 02:41:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 02:41:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:41:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:41:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:41:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:41:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 02:41:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:41:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:41:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985513984001,"66":25375,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:41:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:41:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:41:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985513984001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:41:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:41:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:41:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:41:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:41:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985513984001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:41:39] local.INFO: DEBUG: GPS processor result {"connection_id":142494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:41:39] local.INFO: GPS data processed {"connection_id":142494,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:41:39] local.INFO: Acknowledgment sent {"connection_id":142494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:42:10] local.INFO: TCP Data received {"connection_id":142494,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0446a10012d7f980005afd7c00002000629..."} 
[2026-07-27 02:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0446a10012d7f980005afd7c00002000629..."} 
[2026-07-27 02:42:10] local.INFO: Processing buffer {"connection_id":142494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0446a10012d7f980005afd7c00002000629..."} 
[2026-07-27 02:42:10] local.INFO: Packet analysis {"connection_id":142494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa044"} 
[2026-07-27 02:42:10] local.INFO: Extracted packet for processing {"connection_id":142494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa044"} 
[2026-07-27 02:42:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 02:42:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985591040001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:42:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:42:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:42:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:42:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785100266000,"timestamp_ms":1785100266000,"timestamp_seconds":1785100266,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0446a10"} 
[2026-07-27 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-07-27 02:42:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 02:42: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-07-27 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-07-27 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-07-27 02:42:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:42:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:42:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:42:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:42:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 02:42:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:42:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:42:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985591040001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:42:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:42:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:42:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985591040001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:42:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:42:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:42:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:42:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:42:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985591040001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:42:10] local.INFO: DEBUG: GPS processor result {"connection_id":142494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:42:10] local.INFO: GPS data processed {"connection_id":142494,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:42:10] local.INFO: Acknowledgment sent {"connection_id":142494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:42:33] local.INFO: TCP Data received {"connection_id":142495,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:42:33] local.INFO: Processing buffer {"connection_id":142495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:42:33] local.INFO: IMEI packet received {"connection_id":142495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 02:42:33] local.INFO: IMEI acknowledgment sent {"connection_id":142495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 02:42:38] local.INFO: TCP Data received {"connection_id":142495,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:42:38] local.INFO: Processing buffer {"connection_id":142495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:42:38] local.INFO: IMEI packet received {"connection_id":142495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 02:42:38] local.INFO: IMEI acknowledgment sent {"connection_id":142495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 02:42:39] local.INFO: TCP Data received {"connection_id":142495,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0446a10012d7f980005afd7c00002000629..."} 
[2026-07-27 02:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0446a10012d7f980005afd7c00002000629..."} 
[2026-07-27 02:42:39] local.INFO: Processing buffer {"connection_id":142495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0446a10012d7f980005afd7c00002000629..."} 
[2026-07-27 02:42:39] local.INFO: Packet analysis {"connection_id":142495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa044"} 
[2026-07-27 02:42:39] local.INFO: Extracted packet for processing {"connection_id":142495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa044"} 
[2026-07-27 02:42:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 02:42:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 02:42:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985591040001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:42:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:42:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:42:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:42:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785100266000,"timestamp_ms":1785100266000,"timestamp_seconds":1785100266,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0446a10"} 
[2026-07-27 02:42:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 02:42:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 02:42:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 02:42: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-07-27 02:42:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 02:42:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 02:42:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:42:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:42:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:42:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:42:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 02:42:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:42:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:42:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985591040001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:42:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:42:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:42:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985591040001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:42:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:42:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:42:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:42:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:42:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985591040001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:42:39] local.INFO: DEBUG: GPS processor result {"connection_id":142495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:42:39] local.INFO: GPS data processed {"connection_id":142495,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:42:39] local.INFO: Acknowledgment sent {"connection_id":142495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:43:10] local.INFO: TCP Data received {"connection_id":142495,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0446a10012d7f980005afd7c00002000629..."} 
[2026-07-27 02:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0446a10012d7f980005afd7c00002000629..."} 
[2026-07-27 02:43:10] local.INFO: Processing buffer {"connection_id":142495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0446a10012d7f980005afd7c00002000629..."} 
[2026-07-27 02:43:10] local.INFO: Packet analysis {"connection_id":142495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa044"} 
[2026-07-27 02:43:10] local.INFO: Extracted packet for processing {"connection_id":142495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa044"} 
[2026-07-27 02:43:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 02:43:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985591040001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:43:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:43:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:43:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:43:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785100266000,"timestamp_ms":1785100266000,"timestamp_seconds":1785100266,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0446a10"} 
[2026-07-27 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-07-27 02:43:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 02:43: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-07-27 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-07-27 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-07-27 02:43:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:43:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:43:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:43:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:43:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 02:43:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:43:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:43:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985591040001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:43:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:43:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:43:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985591040001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:43:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:43:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:43:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:43:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:43:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985591040001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:43:10] local.INFO: DEBUG: GPS processor result {"connection_id":142495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:43:10] local.INFO: GPS data processed {"connection_id":142495,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:43:10] local.INFO: Acknowledgment sent {"connection_id":142495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:43:33] local.INFO: TCP Data received {"connection_id":144885,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:43:33] local.INFO: Processing buffer {"connection_id":144885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:43:33] local.INFO: IMEI packet received {"connection_id":144885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 02:43:33] local.INFO: IMEI acknowledgment sent {"connection_id":144885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 02:43:38] local.INFO: TCP Data received {"connection_id":144885,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:43:38] local.INFO: Processing buffer {"connection_id":144885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:43:38] local.INFO: IMEI packet received {"connection_id":144885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 02:43:38] local.INFO: IMEI acknowledgment sent {"connection_id":144885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 02:43:39] local.INFO: TCP Data received {"connection_id":144885,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0446a10012d7f980005afd7c00002000629..."} 
[2026-07-27 02:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0446a10012d7f980005afd7c00002000629..."} 
[2026-07-27 02:43:39] local.INFO: Processing buffer {"connection_id":144885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0446a10012d7f980005afd7c00002000629..."} 
[2026-07-27 02:43:39] local.INFO: Packet analysis {"connection_id":144885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa044"} 
[2026-07-27 02:43:39] local.INFO: Extracted packet for processing {"connection_id":144885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa044"} 
[2026-07-27 02:43:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 02: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-07-27 02:43:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985591040001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:43:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:43:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:43:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:43:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785100266000,"timestamp_ms":1785100266000,"timestamp_seconds":1785100266,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0446a10"} 
[2026-07-27 02:43:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 02:43:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 02: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":31,"data_length":795,"current_offset":136} 
[2026-07-27 02:43: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-07-27 02: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-07-27 02:43:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 02:43:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:43:39] local.INFO: Teltonika packet parsed successfully {"connection_id":144885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:43:39] local.INFO: Passing IMEI to GPS processor {"connection_id":144885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:43:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":144885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:43:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 02:43:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:43:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:43:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985591040001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:43:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:43:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:43:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985591040001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:43:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:43:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:43:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:43:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:43:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985591040001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:43:39] local.INFO: DEBUG: GPS processor result {"connection_id":144885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:43:39] local.INFO: GPS data processed {"connection_id":144885,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:43:39] local.INFO: Acknowledgment sent {"connection_id":144885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:44:10] local.INFO: TCP Data received {"connection_id":144885,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0446a10012d7f980005afd7c00002000629..."} 
[2026-07-27 02:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0446a10012d7f980005afd7c00002000629..."} 
[2026-07-27 02:44:10] local.INFO: Processing buffer {"connection_id":144885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0446a10012d7f980005afd7c00002000629..."} 
[2026-07-27 02:44:10] local.INFO: Packet analysis {"connection_id":144885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa044"} 
[2026-07-27 02:44:10] local.INFO: Extracted packet for processing {"connection_id":144885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa044"} 
[2026-07-27 02:44:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 02:44:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985591040001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:44:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:44:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:44:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:44:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785100266000,"timestamp_ms":1785100266000,"timestamp_seconds":1785100266,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0446a10"} 
[2026-07-27 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-07-27 02:44:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 02:44: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-07-27 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-07-27 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-07-27 02:44:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:44:10] local.INFO: Teltonika packet parsed successfully {"connection_id":144885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:44:10] local.INFO: Passing IMEI to GPS processor {"connection_id":144885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:44:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":144885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:44:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 02:44:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:44:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:44:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985591040001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:44:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:44:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:44:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985591040001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:44:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:44:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:44:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:44:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:44:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985591040001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:44:10] local.INFO: DEBUG: GPS processor result {"connection_id":144885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:44:10] local.INFO: GPS data processed {"connection_id":144885,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:44:10] local.INFO: Acknowledgment sent {"connection_id":144885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:44:33] local.INFO: TCP Data received {"connection_id":143549,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:44:33] local.INFO: Processing buffer {"connection_id":143549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:44:33] local.INFO: IMEI packet received {"connection_id":143549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 02:44:33] local.INFO: IMEI acknowledgment sent {"connection_id":143549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 02:44:38] local.INFO: TCP Data received {"connection_id":143549,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:44:38] local.INFO: Processing buffer {"connection_id":143549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:44:38] local.INFO: IMEI packet received {"connection_id":143549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 02:44:38] local.INFO: IMEI acknowledgment sent {"connection_id":143549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 02:44:39] local.INFO: TCP Data received {"connection_id":143549,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0446a10012d7f980005afd7c00002000629..."} 
[2026-07-27 02:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0446a10012d7f980005afd7c00002000629..."} 
[2026-07-27 02:44:39] local.INFO: Processing buffer {"connection_id":143549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0446a10012d7f980005afd7c00002000629..."} 
[2026-07-27 02:44:39] local.INFO: Packet analysis {"connection_id":143549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa044"} 
[2026-07-27 02:44:39] local.INFO: Extracted packet for processing {"connection_id":143549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa044"} 
[2026-07-27 02:44:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 02:44:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 02:44:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985591040001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:44:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:44:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:44:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:44:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785100266000,"timestamp_ms":1785100266000,"timestamp_seconds":1785100266,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0446a10"} 
[2026-07-27 02:44:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 02:44:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 02: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":31,"data_length":795,"current_offset":136} 
[2026-07-27 02:44: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-07-27 02:44:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 02:44:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 02:44:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:44:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:44:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:44:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:44:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 02:44:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:44:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:44:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985591040001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:44:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:44:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:44:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985591040001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:44:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:44:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:44:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:44:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:44:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985591040001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:44:39] local.INFO: DEBUG: GPS processor result {"connection_id":143549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:44:39] local.INFO: GPS data processed {"connection_id":143549,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:44:39] local.INFO: Acknowledgment sent {"connection_id":143549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:45:10] local.INFO: TCP Data received {"connection_id":143549,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0446a10012d7f980005afd7c00002000629..."} 
[2026-07-27 02:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0446a10012d7f980005afd7c00002000629..."} 
[2026-07-27 02:45:10] local.INFO: Processing buffer {"connection_id":143549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0446a10012d7f980005afd7c00002000629..."} 
[2026-07-27 02:45:10] local.INFO: Packet analysis {"connection_id":143549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa044"} 
[2026-07-27 02:45:10] local.INFO: Extracted packet for processing {"connection_id":143549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa044"} 
[2026-07-27 02:45:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 02:45:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985591040001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:45:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:45:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:45:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:45:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785100266000,"timestamp_ms":1785100266000,"timestamp_seconds":1785100266,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0446a10"} 
[2026-07-27 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-07-27 02:45:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 02:45: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-07-27 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-07-27 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-07-27 02:45:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:45:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:45:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:45:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:45:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 02:45:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:45:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:45:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985591040001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:45:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:45:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:45:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985591040001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:45:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:45:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:45:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:45:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:45:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985591040001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:45:10] local.INFO: DEBUG: GPS processor result {"connection_id":143549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:45:10] local.INFO: GPS data processed {"connection_id":143549,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:45:10] local.INFO: Acknowledgment sent {"connection_id":143549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:45:11] local.INFO: TCP Data received {"connection_id":142576,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 02:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142576,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 02:45:11] local.INFO: Processing buffer {"connection_id":142576,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 02:45:11] local.INFO: IMEI packet received {"connection_id":142576,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 02:45:11] local.INFO: IMEI acknowledgment sent {"connection_id":142576,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 02:45:33] local.INFO: TCP Data received {"connection_id":142577,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:45:33] local.INFO: Processing buffer {"connection_id":142577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:45:33] local.INFO: IMEI packet received {"connection_id":142577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 02:45:33] local.INFO: IMEI acknowledgment sent {"connection_id":142577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 02:45:38] local.INFO: TCP Data received {"connection_id":142577,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:45:38] local.INFO: Processing buffer {"connection_id":142577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:45:38] local.INFO: IMEI packet received {"connection_id":142577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 02:45:38] local.INFO: IMEI acknowledgment sent {"connection_id":142577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 02:45:40] local.INFO: TCP Data received {"connection_id":142577,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0446a10012d7f980005afd7c00002000629..."} 
[2026-07-27 02:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0446a10012d7f980005afd7c00002000629..."} 
[2026-07-27 02:45:40] local.INFO: Processing buffer {"connection_id":142577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0446a10012d7f980005afd7c00002000629..."} 
[2026-07-27 02:45:40] local.INFO: Packet analysis {"connection_id":142577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa044"} 
[2026-07-27 02:45:40] local.INFO: Extracted packet for processing {"connection_id":142577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa044"} 
[2026-07-27 02:45:40] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 02: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-07-27 02:45:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985591040001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:45:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:45:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:45:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:45:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785100266000,"timestamp_ms":1785100266000,"timestamp_seconds":1785100266,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0446a10"} 
[2026-07-27 02:45:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 02:45:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 02: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":31,"data_length":795,"current_offset":136} 
[2026-07-27 02:45: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-07-27 02: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-07-27 02:45:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 02:45:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:45:40] local.INFO: Teltonika packet parsed successfully {"connection_id":142577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:45:40] local.INFO: Passing IMEI to GPS processor {"connection_id":142577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:45:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":142577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:45: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-07-27 02:45:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:45:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:45:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985591040001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:45:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:45:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:45:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985591040001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:45:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:45:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:45:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:45:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:45:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985591040001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:45:40] local.INFO: DEBUG: GPS processor result {"connection_id":142577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:45:40] local.INFO: GPS data processed {"connection_id":142577,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:45:40] local.INFO: Acknowledgment sent {"connection_id":142577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:45:46] local.INFO: TCP Data received {"connection_id":142578,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 02:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142578,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 02:45:46] local.INFO: Processing buffer {"connection_id":142578,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 02:45:46] local.INFO: IMEI packet received {"connection_id":142578,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 02:45:46] local.INFO: IMEI acknowledgment sent {"connection_id":142578,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 02:46:11] local.INFO: TCP Data received {"connection_id":142577,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0446a10012d7f980005afd7c00002000629..."} 
[2026-07-27 02:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0446a10012d7f980005afd7c00002000629..."} 
[2026-07-27 02:46:11] local.INFO: Processing buffer {"connection_id":142577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0446a10012d7f980005afd7c00002000629..."} 
[2026-07-27 02:46:11] local.INFO: Packet analysis {"connection_id":142577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa044"} 
[2026-07-27 02:46:11] local.INFO: Extracted packet for processing {"connection_id":142577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa044"} 
[2026-07-27 02:46:11] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 02:46:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 02:46:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985591040001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:46:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:46:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:46:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:46:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785100266000,"timestamp_ms":1785100266000,"timestamp_seconds":1785100266,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0446a10"} 
[2026-07-27 02:46:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 02:46:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 02:46:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 02:46: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-07-27 02:46:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 02:46:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 02:46:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:46:11] local.INFO: Teltonika packet parsed successfully {"connection_id":142577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:46:11] local.INFO: Passing IMEI to GPS processor {"connection_id":142577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:46:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":142577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:46:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 02:46:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:46:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:46:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985591040001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:46:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:46:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:46:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985591040001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:46:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:46:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:46:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:46:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:46:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985591040001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:46:11] local.INFO: DEBUG: GPS processor result {"connection_id":142577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:46:11] local.INFO: GPS data processed {"connection_id":142577,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:46:11] local.INFO: Acknowledgment sent {"connection_id":142577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:46:33] local.INFO: TCP Data received {"connection_id":144886,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:46:33] local.INFO: Processing buffer {"connection_id":144886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:46:33] local.INFO: IMEI packet received {"connection_id":144886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 02:46:33] local.INFO: IMEI acknowledgment sent {"connection_id":144886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 02:46:38] local.INFO: TCP Data received {"connection_id":144886,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:46:38] local.INFO: Processing buffer {"connection_id":144886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:46:38] local.INFO: IMEI packet received {"connection_id":144886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 02:46:38] local.INFO: IMEI acknowledgment sent {"connection_id":144886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 02:46:39] local.INFO: TCP Data received {"connection_id":144886,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0446a10012d7f980005afd7c00002000629..."} 
[2026-07-27 02:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144886,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0446a10012d7f980005afd7c00002000629..."} 
[2026-07-27 02:46:39] local.INFO: Processing buffer {"connection_id":144886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0446a10012d7f980005afd7c00002000629..."} 
[2026-07-27 02:46:39] local.INFO: Packet analysis {"connection_id":144886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa044"} 
[2026-07-27 02:46:39] local.INFO: Extracted packet for processing {"connection_id":144886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa044"} 
[2026-07-27 02:46:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 02:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 02:46:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985591040001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:46:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:46:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:46:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:46:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785100266000,"timestamp_ms":1785100266000,"timestamp_seconds":1785100266,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0446a10"} 
[2026-07-27 02:46:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 02:46:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 02:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 02:46: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-07-27 02:46:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 02:46:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 02:46:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:46:39] local.INFO: Teltonika packet parsed successfully {"connection_id":144886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:46:39] local.INFO: Passing IMEI to GPS processor {"connection_id":144886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:46:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":144886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:46:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 02:46:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:46:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:46:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985591040001,"66":25430,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:46:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:46:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:46:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985591040001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:46:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:46:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:46:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:46:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:46:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985591040001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:46:39] local.INFO: DEBUG: GPS processor result {"connection_id":144886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:46:39] local.INFO: GPS data processed {"connection_id":144886,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:46:39] local.INFO: Acknowledgment sent {"connection_id":144886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:47:10] local.INFO: TCP Data received {"connection_id":144886,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fa04901d8012d7f980005afd7c00002000625..."} 
[2026-07-27 02:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144886,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa04901d8012d7f980005afd7c00002000625..."} 
[2026-07-27 02:47:10] local.INFO: Processing buffer {"connection_id":144886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa04901d8012d7f980005afd7c00002000625..."} 
[2026-07-27 02:47:10] local.INFO: Packet analysis {"connection_id":144886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa049"} 
[2026-07-27 02:47:10] local.INFO: Extracted packet for processing {"connection_id":144886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa049"} 
[2026-07-27 02:47:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":37,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 02:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 02:47:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985668096001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:47:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:47:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:47:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:47:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785100567000,"timestamp_ms":1785100567000,"timestamp_seconds":1785100567,"priority":1,"record_length":96,"hex_timestamp":"0000019fa04901d8"} 
[2026-07-27 02:47:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 02:47:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 02: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":86,"data_length":795,"current_offset":136} 
[2026-07-27 02:47:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 02:47:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 02:47:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 02:47:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:47:10] local.INFO: Teltonika packet parsed successfully {"connection_id":144886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:47:10] local.INFO: Passing IMEI to GPS processor {"connection_id":144886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:47:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":144886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:47:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 02:47:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:47:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:47:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985668096001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:47:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:47:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:47:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985668096001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:47:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:47:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:47:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:47:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:47:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985668096001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:47:10] local.INFO: DEBUG: GPS processor result {"connection_id":144886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:47:10] local.INFO: GPS data processed {"connection_id":144886,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:47:10] local.INFO: Acknowledgment sent {"connection_id":144886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:47:33] local.INFO: TCP Data received {"connection_id":142579,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:47:33] local.INFO: Processing buffer {"connection_id":142579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:47:33] local.INFO: IMEI packet received {"connection_id":142579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 02:47:33] local.INFO: IMEI acknowledgment sent {"connection_id":142579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 02:47:38] local.INFO: TCP Data received {"connection_id":142579,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:47:38] local.INFO: Processing buffer {"connection_id":142579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:47:38] local.INFO: IMEI packet received {"connection_id":142579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 02:47:38] local.INFO: IMEI acknowledgment sent {"connection_id":142579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 02:47:40] local.INFO: TCP Data received {"connection_id":142579,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fa04901d8012d7f980005afd7c00002000625..."} 
[2026-07-27 02:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa04901d8012d7f980005afd7c00002000625..."} 
[2026-07-27 02:47:40] local.INFO: Processing buffer {"connection_id":142579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa04901d8012d7f980005afd7c00002000625..."} 
[2026-07-27 02:47:40] local.INFO: Packet analysis {"connection_id":142579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa049"} 
[2026-07-27 02:47:40] local.INFO: Extracted packet for processing {"connection_id":142579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa049"} 
[2026-07-27 02:47:40] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":37,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 02: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-07-27 02:47:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985668096001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:47:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:47:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:47:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:47:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785100567000,"timestamp_ms":1785100567000,"timestamp_seconds":1785100567,"priority":1,"record_length":96,"hex_timestamp":"0000019fa04901d8"} 
[2026-07-27 02:47:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 02:47:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 02: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":86,"data_length":795,"current_offset":136} 
[2026-07-27 02:47: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-07-27 02: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-07-27 02:47:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 02:47:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:47:40] local.INFO: Teltonika packet parsed successfully {"connection_id":142579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:47:40] local.INFO: Passing IMEI to GPS processor {"connection_id":142579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:47:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":142579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02: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-07-27 02:47:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:47:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:47:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985668096001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:47:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:47:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:47:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985668096001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:47:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:47:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:47:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:47:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:47:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985668096001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:47:40] local.INFO: DEBUG: GPS processor result {"connection_id":142579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:47:40] local.INFO: GPS data processed {"connection_id":142579,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:47:40] local.INFO: Acknowledgment sent {"connection_id":142579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:47:43] local.INFO: TCP Data received {"connection_id":142579,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fa04901d8012d7f980005afd7c00002000625..."} 
[2026-07-27 02:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa04901d8012d7f980005afd7c00002000625..."} 
[2026-07-27 02:47:43] local.INFO: Processing buffer {"connection_id":142579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa04901d8012d7f980005afd7c00002000625..."} 
[2026-07-27 02:47:43] local.INFO: Packet analysis {"connection_id":142579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa049"} 
[2026-07-27 02:47:43] local.INFO: Extracted packet for processing {"connection_id":142579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa049"} 
[2026-07-27 02:47:43] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":37,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 02:47:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 02:47:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985668096001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:47:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:47:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:47:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:47:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785100567000,"timestamp_ms":1785100567000,"timestamp_seconds":1785100567,"priority":1,"record_length":96,"hex_timestamp":"0000019fa04901d8"} 
[2026-07-27 02:47:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 02:47:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 02: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":86,"data_length":795,"current_offset":136} 
[2026-07-27 02:47: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-07-27 02:47:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 02:47:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 02:47:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:47:43] local.INFO: Teltonika packet parsed successfully {"connection_id":142579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:47:43] local.INFO: Passing IMEI to GPS processor {"connection_id":142579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:47:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":142579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:47: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-07-27 02:47:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:47:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:47:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985668096001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:47:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:47:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:47:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985668096001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:47:43] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:47:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:47:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:47:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:47:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985668096001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:47:43] local.INFO: DEBUG: GPS processor result {"connection_id":142579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:47:43] local.INFO: GPS data processed {"connection_id":142579,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:47:43] local.INFO: Acknowledgment sent {"connection_id":142579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:48:14] local.INFO: TCP Data received {"connection_id":142579,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fa04901d8012d7f980005afd7c00002000625..."} 
[2026-07-27 02:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa04901d8012d7f980005afd7c00002000625..."} 
[2026-07-27 02:48:14] local.INFO: Processing buffer {"connection_id":142579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa04901d8012d7f980005afd7c00002000625..."} 
[2026-07-27 02:48:14] local.INFO: Packet analysis {"connection_id":142579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa049"} 
[2026-07-27 02:48:14] local.INFO: Extracted packet for processing {"connection_id":142579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa049"} 
[2026-07-27 02:48:14] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":37,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 02: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-07-27 02:48:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985668096001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:48:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:48:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:48:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:48:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785100567000,"timestamp_ms":1785100567000,"timestamp_seconds":1785100567,"priority":1,"record_length":96,"hex_timestamp":"0000019fa04901d8"} 
[2026-07-27 02:48:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 02:48:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 02: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-07-27 02: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-07-27 02: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-07-27 02:48:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 02:48:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:48:14] local.INFO: Teltonika packet parsed successfully {"connection_id":142579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:48:14] local.INFO: Passing IMEI to GPS processor {"connection_id":142579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:48:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":142579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:48:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 02:48:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:48:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:48:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985668096001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:48:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:48:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:48:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985668096001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:48:14] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:48:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:48:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:48:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:48:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985668096001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:48:14] local.INFO: DEBUG: GPS processor result {"connection_id":142579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:48:14] local.INFO: GPS data processed {"connection_id":142579,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:48:14] local.INFO: Acknowledgment sent {"connection_id":142579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:48:33] local.INFO: TCP Data received {"connection_id":142581,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142581,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:48:33] local.INFO: Processing buffer {"connection_id":142581,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:48:33] local.INFO: IMEI packet received {"connection_id":142581,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 02:48:33] local.INFO: IMEI acknowledgment sent {"connection_id":142581,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 02:48:38] local.INFO: TCP Data received {"connection_id":142581,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142581,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:48:38] local.INFO: Processing buffer {"connection_id":142581,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:48:38] local.INFO: IMEI packet received {"connection_id":142581,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 02:48:38] local.INFO: IMEI acknowledgment sent {"connection_id":142581,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 02:48:39] local.INFO: TCP Data received {"connection_id":142581,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fa04901d8012d7f980005afd7c00002000625..."} 
[2026-07-27 02:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142581,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa04901d8012d7f980005afd7c00002000625..."} 
[2026-07-27 02:48:39] local.INFO: Processing buffer {"connection_id":142581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa04901d8012d7f980005afd7c00002000625..."} 
[2026-07-27 02:48:39] local.INFO: Packet analysis {"connection_id":142581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa049"} 
[2026-07-27 02:48:39] local.INFO: Extracted packet for processing {"connection_id":142581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa049"} 
[2026-07-27 02:48:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":37,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 02:48:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 02:48:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985668096001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:48:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:48:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:48:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:48:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785100567000,"timestamp_ms":1785100567000,"timestamp_seconds":1785100567,"priority":1,"record_length":96,"hex_timestamp":"0000019fa04901d8"} 
[2026-07-27 02:48:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 02:48:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 02: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-07-27 02: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-07-27 02:48:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 02:48:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 02:48:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:48:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:48:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:48:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:48:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 02:48:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:48:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:48:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985668096001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:48:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:48:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:48:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985668096001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:48:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:48:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:48:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:48:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:48:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985668096001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:48:39] local.INFO: DEBUG: GPS processor result {"connection_id":142581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:48:39] local.INFO: GPS data processed {"connection_id":142581,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:48:39] local.INFO: Acknowledgment sent {"connection_id":142581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:49:10] local.INFO: TCP Data received {"connection_id":142581,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fa04901d8012d7f980005afd7c00002000625..."} 
[2026-07-27 02:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142581,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa04901d8012d7f980005afd7c00002000625..."} 
[2026-07-27 02:49:10] local.INFO: Processing buffer {"connection_id":142581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa04901d8012d7f980005afd7c00002000625..."} 
[2026-07-27 02:49:10] local.INFO: Packet analysis {"connection_id":142581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa049"} 
[2026-07-27 02:49:10] local.INFO: Extracted packet for processing {"connection_id":142581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa049"} 
[2026-07-27 02:49:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":37,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 02:49:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 02:49:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985668096001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:49:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:49:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:49:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:49:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785100567000,"timestamp_ms":1785100567000,"timestamp_seconds":1785100567,"priority":1,"record_length":96,"hex_timestamp":"0000019fa04901d8"} 
[2026-07-27 02:49:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 02:49:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 02: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-07-27 02: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-07-27 02:49:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 02:49:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 02:49:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:49:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:49:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:49:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:49:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 02:49:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:49:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:49:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985668096001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:49:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:49:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:49:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985668096001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:49:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:49:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:49:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:49:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:49:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985668096001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:49:10] local.INFO: DEBUG: GPS processor result {"connection_id":142581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:49:10] local.INFO: GPS data processed {"connection_id":142581,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:49:10] local.INFO: Acknowledgment sent {"connection_id":142581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:49:33] local.INFO: TCP Data received {"connection_id":144887,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:49:33] local.INFO: Processing buffer {"connection_id":144887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:49:33] local.INFO: IMEI packet received {"connection_id":144887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 02:49:33] local.INFO: IMEI acknowledgment sent {"connection_id":144887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 02:49:38] local.INFO: TCP Data received {"connection_id":144887,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:49:38] local.INFO: Processing buffer {"connection_id":144887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:49:38] local.INFO: IMEI packet received {"connection_id":144887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 02:49:38] local.INFO: IMEI acknowledgment sent {"connection_id":144887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 02:49:39] local.INFO: TCP Data received {"connection_id":144887,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa04901d8012d7f980005afd7c00002000625..."} 
[2026-07-27 02:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa04901d8012d7f980005afd7c00002000625..."} 
[2026-07-27 02:49:39] local.INFO: Processing buffer {"connection_id":144887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa04901d8012d7f980005afd7c00002000625..."} 
[2026-07-27 02:49:39] local.INFO: Packet analysis {"connection_id":144887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa049"} 
[2026-07-27 02:49:39] local.INFO: Extracted packet for processing {"connection_id":144887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa049"} 
[2026-07-27 02:49:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":37,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 02:49:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 02:49:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985668096001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:49:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:49:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:49:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:49:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785100567000,"timestamp_ms":1785100567000,"timestamp_seconds":1785100567,"priority":1,"record_length":96,"hex_timestamp":"0000019fa04901d8"} 
[2026-07-27 02:49:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 02:49:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 02: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":86,"data_length":795,"current_offset":136} 
[2026-07-27 02:49:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 02:49:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 02:49:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 02:49:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:49:39] local.INFO: Teltonika packet parsed successfully {"connection_id":144887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:49:39] local.INFO: Passing IMEI to GPS processor {"connection_id":144887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:49:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":144887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:49:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 02:49:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:49:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:49:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985668096001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:49:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:49:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:49:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985668096001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:49:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:49:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:49:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:49:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:49:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985668096001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:49:39] local.INFO: DEBUG: GPS processor result {"connection_id":144887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:49:39] local.INFO: GPS data processed {"connection_id":144887,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:49:39] local.INFO: Acknowledgment sent {"connection_id":144887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:50:10] local.INFO: TCP Data received {"connection_id":144887,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa04901d8012d7f980005afd7c00002000625..."} 
[2026-07-27 02:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa04901d8012d7f980005afd7c00002000625..."} 
[2026-07-27 02:50:10] local.INFO: Processing buffer {"connection_id":144887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa04901d8012d7f980005afd7c00002000625..."} 
[2026-07-27 02:50:10] local.INFO: Packet analysis {"connection_id":144887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa049"} 
[2026-07-27 02:50:10] local.INFO: Extracted packet for processing {"connection_id":144887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa049"} 
[2026-07-27 02:50:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":37,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 02:50:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985668096001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:50:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:50:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:50:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:50:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785100567000,"timestamp_ms":1785100567000,"timestamp_seconds":1785100567,"priority":1,"record_length":96,"hex_timestamp":"0000019fa04901d8"} 
[2026-07-27 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-07-27 02:50:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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-07-27 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-07-27 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-07-27 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-07-27 02:50:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:50:10] local.INFO: Teltonika packet parsed successfully {"connection_id":144887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:50:10] local.INFO: Passing IMEI to GPS processor {"connection_id":144887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:50:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":144887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:50:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 02:50:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:50:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:50:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985668096001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:50:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:50:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:50:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985668096001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:50:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:50:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:50:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:50:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:50:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985668096001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:50:10] local.INFO: DEBUG: GPS processor result {"connection_id":144887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:50:10] local.INFO: GPS data processed {"connection_id":144887,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:50:10] local.INFO: Acknowledgment sent {"connection_id":144887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:50:33] local.INFO: TCP Data received {"connection_id":142498,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:50:33] local.INFO: Processing buffer {"connection_id":142498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:50:33] local.INFO: IMEI packet received {"connection_id":142498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 02:50:33] local.INFO: IMEI acknowledgment sent {"connection_id":142498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 02:50:38] local.INFO: TCP Data received {"connection_id":142498,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:50:38] local.INFO: Processing buffer {"connection_id":142498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:50:38] local.INFO: IMEI packet received {"connection_id":142498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 02:50:38] local.INFO: IMEI acknowledgment sent {"connection_id":142498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 02:50:39] local.INFO: TCP Data received {"connection_id":142498,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fa04901d8012d7f980005afd7c00002000625..."} 
[2026-07-27 02:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa04901d8012d7f980005afd7c00002000625..."} 
[2026-07-27 02:50:39] local.INFO: Processing buffer {"connection_id":142498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa04901d8012d7f980005afd7c00002000625..."} 
[2026-07-27 02:50:39] local.INFO: Packet analysis {"connection_id":142498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa049"} 
[2026-07-27 02:50:39] local.INFO: Extracted packet for processing {"connection_id":142498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa049"} 
[2026-07-27 02:50:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":37,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 02:50:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 02:50:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985668096001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:50:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:50:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:50:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:50:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785100567000,"timestamp_ms":1785100567000,"timestamp_seconds":1785100567,"priority":1,"record_length":96,"hex_timestamp":"0000019fa04901d8"} 
[2026-07-27 02:50:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 02:50:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 02:50:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-27 02: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-07-27 02:50:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 02:50:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 02:50:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:50:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:50:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:50:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:50: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-07-27 02:50:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:50:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:50:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985668096001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:50:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:50:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:50:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985668096001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:50:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:50:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:50:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:50:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:50:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985668096001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:50:39] local.INFO: DEBUG: GPS processor result {"connection_id":142498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:50:39] local.INFO: GPS data processed {"connection_id":142498,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:50:39] local.INFO: Acknowledgment sent {"connection_id":142498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:51:10] local.INFO: TCP Data received {"connection_id":142498,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fa04901d8012d7f980005afd7c00002000625..."} 
[2026-07-27 02:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa04901d8012d7f980005afd7c00002000625..."} 
[2026-07-27 02:51:10] local.INFO: Processing buffer {"connection_id":142498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa04901d8012d7f980005afd7c00002000625..."} 
[2026-07-27 02:51:10] local.INFO: Packet analysis {"connection_id":142498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa049"} 
[2026-07-27 02:51:10] local.INFO: Extracted packet for processing {"connection_id":142498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa049"} 
[2026-07-27 02:51:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":37,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 02:51:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985668096001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:51:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:51:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:51:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:51:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785100567000,"timestamp_ms":1785100567000,"timestamp_seconds":1785100567,"priority":1,"record_length":96,"hex_timestamp":"0000019fa04901d8"} 
[2026-07-27 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-07-27 02:51:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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-07-27 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-07-27 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-07-27 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-07-27 02:51:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:51:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:51:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:51:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:51:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 02:51:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:51:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:51:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985668096001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:51:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:51:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:51:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985668096001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:51:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:51:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:51:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:51:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:51:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985668096001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:51:10] local.INFO: DEBUG: GPS processor result {"connection_id":142498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:51:10] local.INFO: GPS data processed {"connection_id":142498,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:51:10] local.INFO: Acknowledgment sent {"connection_id":142498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:51:16] local.INFO: TCP Data received {"connection_id":143551,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 02:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143551,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 02:51:16] local.INFO: Processing buffer {"connection_id":143551,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 02:51:16] local.INFO: IMEI packet received {"connection_id":143551,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 02:51:16] local.INFO: IMEI acknowledgment sent {"connection_id":143551,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 02:51:39] local.INFO: TCP Data received {"connection_id":142582,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:51:39] local.INFO: Processing buffer {"connection_id":142582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:51:39] local.INFO: IMEI packet received {"connection_id":142582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 02:51:39] local.INFO: IMEI acknowledgment sent {"connection_id":142582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 02:51:43] local.INFO: TCP Data received {"connection_id":142582,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:51:43] local.INFO: Processing buffer {"connection_id":142582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:51:43] local.INFO: IMEI packet received {"connection_id":142582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 02:51:43] local.INFO: IMEI acknowledgment sent {"connection_id":142582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 02:51:44] local.INFO: TCP Data received {"connection_id":142582,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fa04901d8012d7f980005afd7c00002000625..."} 
[2026-07-27 02:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142582,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa04901d8012d7f980005afd7c00002000625..."} 
[2026-07-27 02:51:44] local.INFO: Processing buffer {"connection_id":142582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa04901d8012d7f980005afd7c00002000625..."} 
[2026-07-27 02:51:44] local.INFO: Packet analysis {"connection_id":142582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa049"} 
[2026-07-27 02:51:44] local.INFO: Extracted packet for processing {"connection_id":142582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa049"} 
[2026-07-27 02:51:44] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":37,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 02:51:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 02:51:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985668096001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:51:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:51:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:51:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:51:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785100567000,"timestamp_ms":1785100567000,"timestamp_seconds":1785100567,"priority":1,"record_length":96,"hex_timestamp":"0000019fa04901d8"} 
[2026-07-27 02:51:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 02:51:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 02:51:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-27 02:51: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-07-27 02:51:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 02:51:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 02:51:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:51:44] local.INFO: Teltonika packet parsed successfully {"connection_id":142582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:51:44] local.INFO: Passing IMEI to GPS processor {"connection_id":142582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:51:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":142582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:51:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 02:51:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:51:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:51:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985668096001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:51:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:51:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:51:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985668096001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:51:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:51:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:51:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:51:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:51:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985668096001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:51:44] local.INFO: DEBUG: GPS processor result {"connection_id":142582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:51:44] local.INFO: GPS data processed {"connection_id":142582,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:51:44] local.INFO: Acknowledgment sent {"connection_id":142582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:51:45] local.INFO: TCP Data received {"connection_id":144888,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 02:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144888,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 02:51:45] local.INFO: Processing buffer {"connection_id":144888,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 02:51:45] local.INFO: IMEI packet received {"connection_id":144888,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 02:51:45] local.INFO: IMEI acknowledgment sent {"connection_id":144888,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 02:51:46] local.INFO: TCP Data received {"connection_id":142582,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fa04d99a0012d7f980005afd7c00002000628..."} 
[2026-07-27 02:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142582,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa04d99a0012d7f980005afd7c00002000628..."} 
[2026-07-27 02:51:46] local.INFO: Processing buffer {"connection_id":142582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa04d99a0012d7f980005afd7c00002000628..."} 
[2026-07-27 02:51:46] local.INFO: Packet analysis {"connection_id":142582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa04d"} 
[2026-07-27 02:51:46] local.INFO: Extracted packet for processing {"connection_id":142582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa04d"} 
[2026-07-27 02:51:46] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 02: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-07-27 02:51:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985745152001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:51:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:51:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:51:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:51:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785100868000,"timestamp_ms":1785100868000,"timestamp_seconds":1785100868,"priority":1,"record_length":96,"hex_timestamp":"0000019fa04d99a0"} 
[2026-07-27 02:51:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 02:51:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 02: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 02:51:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 02: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-07-27 02:51:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 02:51:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:51:46] local.INFO: Teltonika packet parsed successfully {"connection_id":142582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:51:46] local.INFO: Passing IMEI to GPS processor {"connection_id":142582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:51:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":142582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:51:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 02:51:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:51:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:51:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985745152001,"66":25321,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:51:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:51:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:51:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985745152001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:51:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:51:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:51:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:51:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:51:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985745152001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:51:46] local.INFO: DEBUG: GPS processor result {"connection_id":142582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:51:46] local.INFO: GPS data processed {"connection_id":142582,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:51:46] local.INFO: Acknowledgment sent {"connection_id":142582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:52:17] local.INFO: TCP Data received {"connection_id":142582,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fa04d99a0012d7f980005afd7c00002000628..."} 
[2026-07-27 02:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142582,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa04d99a0012d7f980005afd7c00002000628..."} 
[2026-07-27 02:52:17] local.INFO: Processing buffer {"connection_id":142582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa04d99a0012d7f980005afd7c00002000628..."} 
[2026-07-27 02:52:17] local.INFO: Packet analysis {"connection_id":142582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa04d"} 
[2026-07-27 02:52:17] local.INFO: Extracted packet for processing {"connection_id":142582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa04d"} 
[2026-07-27 02:52:17] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 02:52:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 02:52:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985745152001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:52:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:52:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:52:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:52:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785100868000,"timestamp_ms":1785100868000,"timestamp_seconds":1785100868,"priority":1,"record_length":96,"hex_timestamp":"0000019fa04d99a0"} 
[2026-07-27 02:52:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 02:52:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 02:52:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 02:52: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-07-27 02:52:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 02:52:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 02:52:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:52:17] local.INFO: Teltonika packet parsed successfully {"connection_id":142582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:52:17] local.INFO: Passing IMEI to GPS processor {"connection_id":142582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:52:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":142582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:52: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-07-27 02:52:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:52:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:52:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985745152001,"66":25321,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:52:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:52:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:52:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985745152001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:52:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:52:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:52:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:52:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:52:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985745152001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:52:18] local.INFO: DEBUG: GPS processor result {"connection_id":142582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:52:18] local.INFO: GPS data processed {"connection_id":142582,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:52:18] local.INFO: Acknowledgment sent {"connection_id":142582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:52:33] local.INFO: TCP Data received {"connection_id":142499,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:52:33] local.INFO: Processing buffer {"connection_id":142499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:52:33] local.INFO: IMEI packet received {"connection_id":142499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 02:52:33] local.INFO: IMEI acknowledgment sent {"connection_id":142499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 02:52:38] local.INFO: TCP Data received {"connection_id":142499,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:52:38] local.INFO: Processing buffer {"connection_id":142499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:52:38] local.INFO: IMEI packet received {"connection_id":142499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 02:52:38] local.INFO: IMEI acknowledgment sent {"connection_id":142499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 02:52:39] local.INFO: TCP Data received {"connection_id":142499,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa04d99a0012d7f980005afd7c00002000628..."} 
[2026-07-27 02:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa04d99a0012d7f980005afd7c00002000628..."} 
[2026-07-27 02:52:39] local.INFO: Processing buffer {"connection_id":142499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa04d99a0012d7f980005afd7c00002000628..."} 
[2026-07-27 02:52:39] local.INFO: Packet analysis {"connection_id":142499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa04d"} 
[2026-07-27 02:52:39] local.INFO: Extracted packet for processing {"connection_id":142499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa04d"} 
[2026-07-27 02:52:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 02:52:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 02:52:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985745152001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:52:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:52:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:52:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:52:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785100868000,"timestamp_ms":1785100868000,"timestamp_seconds":1785100868,"priority":1,"record_length":96,"hex_timestamp":"0000019fa04d99a0"} 
[2026-07-27 02:52:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 02:52:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 02: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":53,"data_length":795,"current_offset":136} 
[2026-07-27 02:52: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-07-27 02:52:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 02:52:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 02:52:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:52:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:52:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:52:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:52:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 02:52:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:52:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:52:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985745152001,"66":25321,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:52:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:52:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:52:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985745152001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:52:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:52:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:52:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:52:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:52:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985745152001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:52:39] local.INFO: DEBUG: GPS processor result {"connection_id":142499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:52:39] local.INFO: GPS data processed {"connection_id":142499,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:52:39] local.INFO: Acknowledgment sent {"connection_id":142499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:52:44] local.INFO: TCP Data received {"connection_id":142499,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa04d99a0012d7f980005afd7c00002000628..."} 
[2026-07-27 02:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa04d99a0012d7f980005afd7c00002000628..."} 
[2026-07-27 02:52:44] local.INFO: Processing buffer {"connection_id":142499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa04d99a0012d7f980005afd7c00002000628..."} 
[2026-07-27 02:52:44] local.INFO: Packet analysis {"connection_id":142499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa04d"} 
[2026-07-27 02:52:44] local.INFO: Extracted packet for processing {"connection_id":142499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa04d"} 
[2026-07-27 02:52:44] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 02:52:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 02:52:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985745152001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:52:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:52:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:52:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:52:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785100868000,"timestamp_ms":1785100868000,"timestamp_seconds":1785100868,"priority":1,"record_length":96,"hex_timestamp":"0000019fa04d99a0"} 
[2026-07-27 02:52:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 02:52:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 02:52: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-07-27 02:52: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-07-27 02:52:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 02:52:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 02:52:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:52:44] local.INFO: Teltonika packet parsed successfully {"connection_id":142499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:52:44] local.INFO: Passing IMEI to GPS processor {"connection_id":142499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:52:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":142499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:52:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 02:52:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:52:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:52:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985745152001,"66":25321,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:52:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:52:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:52:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985745152001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:52:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:52:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:52:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:52:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:52:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985745152001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:52:44] local.INFO: DEBUG: GPS processor result {"connection_id":142499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:52:44] local.INFO: GPS data processed {"connection_id":142499,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:52:44] local.INFO: Acknowledgment sent {"connection_id":142499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:53:14] local.INFO: TCP Data received {"connection_id":142499,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa04d99a0012d7f980005afd7c00002000628..."} 
[2026-07-27 02:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa04d99a0012d7f980005afd7c00002000628..."} 
[2026-07-27 02:53:14] local.INFO: Processing buffer {"connection_id":142499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa04d99a0012d7f980005afd7c00002000628..."} 
[2026-07-27 02:53:14] local.INFO: Packet analysis {"connection_id":142499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa04d"} 
[2026-07-27 02:53:14] local.INFO: Extracted packet for processing {"connection_id":142499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa04d"} 
[2026-07-27 02:53:14] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 02:53:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 02:53:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985745152001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:53:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:53:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:53:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:53:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785100868000,"timestamp_ms":1785100868000,"timestamp_seconds":1785100868,"priority":1,"record_length":96,"hex_timestamp":"0000019fa04d99a0"} 
[2026-07-27 02:53:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 02:53:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 02: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-07-27 02: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-07-27 02:53:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 02:53:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 02:53:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:53:14] local.INFO: Teltonika packet parsed successfully {"connection_id":142499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:53:14] local.INFO: Passing IMEI to GPS processor {"connection_id":142499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:53:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":142499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:53:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 02:53:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:53:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:53:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985745152001,"66":25321,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:53:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:53:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:53:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985745152001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:53:14] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:53:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:53:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:53:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:53:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985745152001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:53:15] local.INFO: DEBUG: GPS processor result {"connection_id":142499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:53:15] local.INFO: GPS data processed {"connection_id":142499,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:53:15] local.INFO: Acknowledgment sent {"connection_id":142499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:53:33] local.INFO: TCP Data received {"connection_id":144889,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:53:33] local.INFO: Processing buffer {"connection_id":144889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:53:33] local.INFO: IMEI packet received {"connection_id":144889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 02:53:33] local.INFO: IMEI acknowledgment sent {"connection_id":144889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 02:53:38] local.INFO: TCP Data received {"connection_id":144889,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:53:38] local.INFO: Processing buffer {"connection_id":144889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:53:38] local.INFO: IMEI packet received {"connection_id":144889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 02:53:38] local.INFO: IMEI acknowledgment sent {"connection_id":144889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 02:53:39] local.INFO: TCP Data received {"connection_id":144889,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa04d99a0012d7f980005afd7c00002000628..."} 
[2026-07-27 02:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144889,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa04d99a0012d7f980005afd7c00002000628..."} 
[2026-07-27 02:53:39] local.INFO: Processing buffer {"connection_id":144889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa04d99a0012d7f980005afd7c00002000628..."} 
[2026-07-27 02:53:39] local.INFO: Packet analysis {"connection_id":144889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa04d"} 
[2026-07-27 02:53:39] local.INFO: Extracted packet for processing {"connection_id":144889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa04d"} 
[2026-07-27 02:53:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 02:53:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 02:53:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985745152001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:53:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:53:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:53:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:53:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785100868000,"timestamp_ms":1785100868000,"timestamp_seconds":1785100868,"priority":1,"record_length":96,"hex_timestamp":"0000019fa04d99a0"} 
[2026-07-27 02:53:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 02:53:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 02: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-07-27 02: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-07-27 02:53:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 02:53:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 02:53:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:53:39] local.INFO: Teltonika packet parsed successfully {"connection_id":144889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:53:39] local.INFO: Passing IMEI to GPS processor {"connection_id":144889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:53:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":144889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:53:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 02:53:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:53:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:53:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985745152001,"66":25321,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:53:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:53:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:53:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985745152001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:53:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:53:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:53:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:53:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:53:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985745152001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:53:39] local.INFO: DEBUG: GPS processor result {"connection_id":144889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:53:39] local.INFO: GPS data processed {"connection_id":144889,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:53:39] local.INFO: Acknowledgment sent {"connection_id":144889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:54:09] local.INFO: TCP Data received {"connection_id":144889,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa04d99a0012d7f980005afd7c00002000628..."} 
[2026-07-27 02:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144889,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa04d99a0012d7f980005afd7c00002000628..."} 
[2026-07-27 02:54:09] local.INFO: Processing buffer {"connection_id":144889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa04d99a0012d7f980005afd7c00002000628..."} 
[2026-07-27 02:54:09] local.INFO: Packet analysis {"connection_id":144889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa04d"} 
[2026-07-27 02:54:09] local.INFO: Extracted packet for processing {"connection_id":144889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa04d"} 
[2026-07-27 02:54:09] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 02:54:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 02:54:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985745152001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:54:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:54:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:54:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:54:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785100868000,"timestamp_ms":1785100868000,"timestamp_seconds":1785100868,"priority":1,"record_length":96,"hex_timestamp":"0000019fa04d99a0"} 
[2026-07-27 02:54:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 02:54:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 02: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-07-27 02: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-07-27 02:54:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 02:54:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 02:54:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:54:09] local.INFO: Teltonika packet parsed successfully {"connection_id":144889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:54:09] local.INFO: Passing IMEI to GPS processor {"connection_id":144889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:54:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":144889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:54:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 02:54:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:54:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:54:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985745152001,"66":25321,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:54:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:54:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:54:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985745152001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:54:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:54:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:54:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:54:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:54:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985745152001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:54:09] local.INFO: DEBUG: GPS processor result {"connection_id":144889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:54:09] local.INFO: GPS data processed {"connection_id":144889,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:54:09] local.INFO: Acknowledgment sent {"connection_id":144889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:54:33] local.INFO: TCP Data received {"connection_id":144891,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:54:33] local.INFO: Processing buffer {"connection_id":144891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:54:33] local.INFO: IMEI packet received {"connection_id":144891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 02:54:33] local.INFO: IMEI acknowledgment sent {"connection_id":144891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 02:54:38] local.INFO: TCP Data received {"connection_id":144891,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:54:38] local.INFO: Processing buffer {"connection_id":144891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:54:38] local.INFO: IMEI packet received {"connection_id":144891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 02:54:38] local.INFO: IMEI acknowledgment sent {"connection_id":144891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 02:54:39] local.INFO: TCP Data received {"connection_id":144891,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa04d99a0012d7f980005afd7c00002000628..."} 
[2026-07-27 02:54:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144891,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa04d99a0012d7f980005afd7c00002000628..."} 
[2026-07-27 02:54:39] local.INFO: Processing buffer {"connection_id":144891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa04d99a0012d7f980005afd7c00002000628..."} 
[2026-07-27 02:54:39] local.INFO: Packet analysis {"connection_id":144891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa04d"} 
[2026-07-27 02:54:39] local.INFO: Extracted packet for processing {"connection_id":144891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa04d"} 
[2026-07-27 02:54:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 02:54:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 02:54:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985745152001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:54:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:54:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:54:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:54:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785100868000,"timestamp_ms":1785100868000,"timestamp_seconds":1785100868,"priority":1,"record_length":96,"hex_timestamp":"0000019fa04d99a0"} 
[2026-07-27 02:54:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 02:54:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 02: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":53,"data_length":795,"current_offset":136} 
[2026-07-27 02:54: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-07-27 02:54:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 02:54:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 02:54:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:54:39] local.INFO: Teltonika packet parsed successfully {"connection_id":144891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:54:39] local.INFO: Passing IMEI to GPS processor {"connection_id":144891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:54:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":144891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:54:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 02:54:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:54:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:54:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985745152001,"66":25321,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:54:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:54:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:54:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985745152001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:54:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:54:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:54:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:54:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:54:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985745152001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:54:39] local.INFO: DEBUG: GPS processor result {"connection_id":144891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:54:39] local.INFO: GPS data processed {"connection_id":144891,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:54:39] local.INFO: Acknowledgment sent {"connection_id":144891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:55:10] local.INFO: TCP Data received {"connection_id":144891,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa04d99a0012d7f980005afd7c00002000628..."} 
[2026-07-27 02:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144891,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa04d99a0012d7f980005afd7c00002000628..."} 
[2026-07-27 02:55:10] local.INFO: Processing buffer {"connection_id":144891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa04d99a0012d7f980005afd7c00002000628..."} 
[2026-07-27 02:55:10] local.INFO: Packet analysis {"connection_id":144891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa04d"} 
[2026-07-27 02:55:10] local.INFO: Extracted packet for processing {"connection_id":144891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa04d"} 
[2026-07-27 02:55:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 02:55:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985745152001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:55:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:55:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:55:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:55:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785100868000,"timestamp_ms":1785100868000,"timestamp_seconds":1785100868,"priority":1,"record_length":96,"hex_timestamp":"0000019fa04d99a0"} 
[2026-07-27 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-07-27 02:55:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":53,"data_length":795,"current_offset":136} 
[2026-07-27 02: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-07-27 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-07-27 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-07-27 02:55:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:55:10] local.INFO: Teltonika packet parsed successfully {"connection_id":144891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:55:10] local.INFO: Passing IMEI to GPS processor {"connection_id":144891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:55:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":144891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:55:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 02:55:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:55:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:55:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985745152001,"66":25321,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:55:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:55:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:55:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985745152001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:55:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:55:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:55:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:55:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:55:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985745152001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:55:10] local.INFO: DEBUG: GPS processor result {"connection_id":144891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:55:10] local.INFO: GPS data processed {"connection_id":144891,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:55:10] local.INFO: Acknowledgment sent {"connection_id":144891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:55:33] local.INFO: TCP Data received {"connection_id":142585,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:55:33] local.INFO: Processing buffer {"connection_id":142585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:55:33] local.INFO: IMEI packet received {"connection_id":142585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 02:55:33] local.INFO: IMEI acknowledgment sent {"connection_id":142585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 02:55:38] local.INFO: TCP Data received {"connection_id":142585,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:55:38] local.INFO: Processing buffer {"connection_id":142585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:55:38] local.INFO: IMEI packet received {"connection_id":142585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 02:55:38] local.INFO: IMEI acknowledgment sent {"connection_id":142585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 02:55:39] local.INFO: TCP Data received {"connection_id":142585,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa04d99a0012d7f980005afd7c00002000628..."} 
[2026-07-27 02:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa04d99a0012d7f980005afd7c00002000628..."} 
[2026-07-27 02:55:39] local.INFO: Processing buffer {"connection_id":142585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa04d99a0012d7f980005afd7c00002000628..."} 
[2026-07-27 02:55:39] local.INFO: Packet analysis {"connection_id":142585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa04d"} 
[2026-07-27 02:55:39] local.INFO: Extracted packet for processing {"connection_id":142585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa04d"} 
[2026-07-27 02:55:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 02: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-07-27 02:55:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985745152001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:55:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:55:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:55:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:55:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785100868000,"timestamp_ms":1785100868000,"timestamp_seconds":1785100868,"priority":1,"record_length":96,"hex_timestamp":"0000019fa04d99a0"} 
[2026-07-27 02:55:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 02:55:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 02: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-07-27 02: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-07-27 02: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-07-27 02:55:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 02:55:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:55:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:55:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:55:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:55:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 02:55:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:55:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:55:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985745152001,"66":25321,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:55:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:55:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:55:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985745152001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:55:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:55:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:55:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:55:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:55:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985745152001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:55:39] local.INFO: DEBUG: GPS processor result {"connection_id":142585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:55:39] local.INFO: GPS data processed {"connection_id":142585,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:55:39] local.INFO: Acknowledgment sent {"connection_id":142585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:56:10] local.INFO: TCP Data received {"connection_id":142585,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa04d99a0012d7f980005afd7c00002000628..."} 
[2026-07-27 02:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa04d99a0012d7f980005afd7c00002000628..."} 
[2026-07-27 02:56:10] local.INFO: Processing buffer {"connection_id":142585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa04d99a0012d7f980005afd7c00002000628..."} 
[2026-07-27 02:56:10] local.INFO: Packet analysis {"connection_id":142585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa04d"} 
[2026-07-27 02:56:10] local.INFO: Extracted packet for processing {"connection_id":142585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa04d"} 
[2026-07-27 02:56:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 02:56:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985745152001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:56:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:56:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:56:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:56:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785100868000,"timestamp_ms":1785100868000,"timestamp_seconds":1785100868,"priority":1,"record_length":96,"hex_timestamp":"0000019fa04d99a0"} 
[2026-07-27 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-07-27 02:56:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":53,"data_length":795,"current_offset":136} 
[2026-07-27 02: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-07-27 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-07-27 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-07-27 02:56:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:56:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:56:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:56:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:56:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 02:56:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:56:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:56:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985745152001,"66":25321,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:56:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:56:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:56:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985745152001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:56:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:56:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:56:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:56:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:56:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985745152001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:56:10] local.INFO: DEBUG: GPS processor result {"connection_id":142585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:56:10] local.INFO: GPS data processed {"connection_id":142585,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:56:10] local.INFO: Acknowledgment sent {"connection_id":142585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:56:33] local.INFO: TCP Data received {"connection_id":142500,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:56:33] local.INFO: Processing buffer {"connection_id":142500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:56:33] local.INFO: IMEI packet received {"connection_id":142500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 02:56:33] local.INFO: IMEI acknowledgment sent {"connection_id":142500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 02:56:38] local.INFO: TCP Data received {"connection_id":142500,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:56:38] local.INFO: Processing buffer {"connection_id":142500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:56:38] local.INFO: IMEI packet received {"connection_id":142500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 02:56:38] local.INFO: IMEI acknowledgment sent {"connection_id":142500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 02:56:39] local.INFO: TCP Data received {"connection_id":142500,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa04d99a0012d7f980005afd7c00002000628..."} 
[2026-07-27 02:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa04d99a0012d7f980005afd7c00002000628..."} 
[2026-07-27 02:56:39] local.INFO: Processing buffer {"connection_id":142500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa04d99a0012d7f980005afd7c00002000628..."} 
[2026-07-27 02:56:39] local.INFO: Packet analysis {"connection_id":142500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa04d"} 
[2026-07-27 02:56:39] local.INFO: Extracted packet for processing {"connection_id":142500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa04d"} 
[2026-07-27 02:56:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 02: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-07-27 02:56:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985745152001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:56:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:56:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:56:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:56:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785100868000,"timestamp_ms":1785100868000,"timestamp_seconds":1785100868,"priority":1,"record_length":96,"hex_timestamp":"0000019fa04d99a0"} 
[2026-07-27 02:56:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 02:56:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 02: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-07-27 02: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-07-27 02: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-07-27 02:56:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 02:56:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:56:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:56:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:56:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:56:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 02:56:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:56:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:56:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985745152001,"66":25321,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:56:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:56:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:56:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985745152001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:56:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:56:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:56:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:56:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:56:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985745152001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:56:39] local.INFO: DEBUG: GPS processor result {"connection_id":142500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:56:39] local.INFO: GPS data processed {"connection_id":142500,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:56:39] local.INFO: Acknowledgment sent {"connection_id":142500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:57:10] local.INFO: TCP Data received {"connection_id":142500,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0523168012d7f980005afd7c00002000628..."} 
[2026-07-27 02:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0523168012d7f980005afd7c00002000628..."} 
[2026-07-27 02:57:10] local.INFO: Processing buffer {"connection_id":142500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0523168012d7f980005afd7c00002000628..."} 
[2026-07-27 02:57:10] local.INFO: Packet analysis {"connection_id":142500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa052"} 
[2026-07-27 02:57:10] local.INFO: Extracted packet for processing {"connection_id":142500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa052"} 
[2026-07-27 02:57:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 02:57:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 02:57:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985822208001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:57:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:57:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:57:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:57:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785101169000,"timestamp_ms":1785101169000,"timestamp_seconds":1785101169,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0523168"} 
[2026-07-27 02:57:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 02:57:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 02: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-07-27 02: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-07-27 02:57:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 02:57:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 02:57:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:57:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:57:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:57:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02: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-07-27 02:57:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:57:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:57:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985822208001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:57:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:57:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:57:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985822208001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:57:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:57:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:57:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:57:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:57:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985822208001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:57:10] local.INFO: DEBUG: GPS processor result {"connection_id":142500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:57:10] local.INFO: GPS data processed {"connection_id":142500,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:57:10] local.INFO: Acknowledgment sent {"connection_id":142500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:57:16] local.INFO: TCP Data received {"connection_id":143553,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 02:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143553,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 02:57:16] local.INFO: Processing buffer {"connection_id":143553,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 02:57:16] local.INFO: IMEI packet received {"connection_id":143553,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 02:57:16] local.INFO: IMEI acknowledgment sent {"connection_id":143553,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 02:57:33] local.INFO: TCP Data received {"connection_id":144892,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144892,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:57:33] local.INFO: Processing buffer {"connection_id":144892,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:57:33] local.INFO: IMEI packet received {"connection_id":144892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 02:57:33] local.INFO: IMEI acknowledgment sent {"connection_id":144892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 02:57:38] local.INFO: TCP Data received {"connection_id":144892,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144892,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:57:38] local.INFO: Processing buffer {"connection_id":144892,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:57:38] local.INFO: IMEI packet received {"connection_id":144892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 02:57:38] local.INFO: IMEI acknowledgment sent {"connection_id":144892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 02:57:39] local.INFO: TCP Data received {"connection_id":144892,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0523168012d7f980005afd7c00002000628..."} 
[2026-07-27 02:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144892,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0523168012d7f980005afd7c00002000628..."} 
[2026-07-27 02:57:39] local.INFO: Processing buffer {"connection_id":144892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0523168012d7f980005afd7c00002000628..."} 
[2026-07-27 02:57:39] local.INFO: Packet analysis {"connection_id":144892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa052"} 
[2026-07-27 02:57:39] local.INFO: Extracted packet for processing {"connection_id":144892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa052"} 
[2026-07-27 02:57:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 02:57:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 02:57:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985822208001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:57:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:57:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:57:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:57:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785101169000,"timestamp_ms":1785101169000,"timestamp_seconds":1785101169,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0523168"} 
[2026-07-27 02:57:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 02:57:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 02:57:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 02:57:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 02:57:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 02:57:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 02:57:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:57:39] local.INFO: Teltonika packet parsed successfully {"connection_id":144892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:57:39] local.INFO: Passing IMEI to GPS processor {"connection_id":144892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:57:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":144892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:57:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 02:57:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:57:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:57:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985822208001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:57:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:57:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:57:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985822208001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:57:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:57:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:57:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:57:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:57:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985822208001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:57:39] local.INFO: DEBUG: GPS processor result {"connection_id":144892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:57:39] local.INFO: GPS data processed {"connection_id":144892,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:57:39] local.INFO: Acknowledgment sent {"connection_id":144892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:57:43] local.INFO: TCP Data received {"connection_id":144892,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0523168012d7f980005afd7c00002000628..."} 
[2026-07-27 02:57:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144892,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0523168012d7f980005afd7c00002000628..."} 
[2026-07-27 02:57:43] local.INFO: Processing buffer {"connection_id":144892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0523168012d7f980005afd7c00002000628..."} 
[2026-07-27 02:57:43] local.INFO: Packet analysis {"connection_id":144892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa052"} 
[2026-07-27 02:57:43] local.INFO: Extracted packet for processing {"connection_id":144892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa052"} 
[2026-07-27 02:57:43] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 02: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-07-27 02:57:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985822208001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:57:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:57:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:57:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:57:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785101169000,"timestamp_ms":1785101169000,"timestamp_seconds":1785101169,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0523168"} 
[2026-07-27 02:57:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 02:57:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 02: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":233,"data_length":795,"current_offset":136} 
[2026-07-27 02:57: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-07-27 02: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-07-27 02:57:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 02:57:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:57:43] local.INFO: Teltonika packet parsed successfully {"connection_id":144892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:57:43] local.INFO: Passing IMEI to GPS processor {"connection_id":144892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:57:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":144892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:57:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 02:57:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:57:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:57:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985822208001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:57:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:57:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:57:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985822208001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:57:43] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:57:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:57:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:57:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:57:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985822208001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:57:43] local.INFO: DEBUG: GPS processor result {"connection_id":144892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:57:43] local.INFO: GPS data processed {"connection_id":144892,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:57:43] local.INFO: Acknowledgment sent {"connection_id":144892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:57:45] local.INFO: TCP Data received {"connection_id":144893,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 02:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144893,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 02:57:45] local.INFO: Processing buffer {"connection_id":144893,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 02:57:45] local.INFO: IMEI packet received {"connection_id":144893,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 02:57:45] local.INFO: IMEI acknowledgment sent {"connection_id":144893,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 02:58:14] local.INFO: TCP Data received {"connection_id":144892,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0523168012d7f980005afd7c00002000628..."} 
[2026-07-27 02:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144892,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0523168012d7f980005afd7c00002000628..."} 
[2026-07-27 02:58:14] local.INFO: Processing buffer {"connection_id":144892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0523168012d7f980005afd7c00002000628..."} 
[2026-07-27 02:58:14] local.INFO: Packet analysis {"connection_id":144892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa052"} 
[2026-07-27 02:58:14] local.INFO: Extracted packet for processing {"connection_id":144892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa052"} 
[2026-07-27 02:58:14] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 02: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-07-27 02:58:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985822208001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:58:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:58:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:58:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:58:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785101169000,"timestamp_ms":1785101169000,"timestamp_seconds":1785101169,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0523168"} 
[2026-07-27 02:58:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 02:58:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 02:58: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-07-27 02: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-07-27 02:58:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 02:58:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:58:14] local.INFO: Teltonika packet parsed successfully {"connection_id":144892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:58:14] local.INFO: Passing IMEI to GPS processor {"connection_id":144892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:58:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":144892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:58:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 02:58:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:58:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:58:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985822208001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:58:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:58:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:58:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985822208001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:58:14] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:58:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:58:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:58:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:58:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985822208001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:58:14] local.INFO: DEBUG: GPS processor result {"connection_id":144892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:58:14] local.INFO: GPS data processed {"connection_id":144892,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:58:14] local.INFO: Acknowledgment sent {"connection_id":144892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:58:33] local.INFO: TCP Data received {"connection_id":142501,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:58:33] local.INFO: Processing buffer {"connection_id":142501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:58:33] local.INFO: IMEI packet received {"connection_id":142501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 02:58:33] local.INFO: IMEI acknowledgment sent {"connection_id":142501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 02:58:38] local.INFO: TCP Data received {"connection_id":142501,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:58:38] local.INFO: Processing buffer {"connection_id":142501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:58:38] local.INFO: IMEI packet received {"connection_id":142501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 02:58:38] local.INFO: IMEI acknowledgment sent {"connection_id":142501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 02:58:39] local.INFO: TCP Data received {"connection_id":142501,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0523168012d7f980005afd7c00002000628..."} 
[2026-07-27 02:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0523168012d7f980005afd7c00002000628..."} 
[2026-07-27 02:58:39] local.INFO: Processing buffer {"connection_id":142501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0523168012d7f980005afd7c00002000628..."} 
[2026-07-27 02:58:39] local.INFO: Packet analysis {"connection_id":142501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa052"} 
[2026-07-27 02:58:39] local.INFO: Extracted packet for processing {"connection_id":142501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa052"} 
[2026-07-27 02:58:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 02:58:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 02:58:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985822208001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:58:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:58:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:58:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:58:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785101169000,"timestamp_ms":1785101169000,"timestamp_seconds":1785101169,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0523168"} 
[2026-07-27 02:58:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 02:58:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 02:58:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 02:58:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 02:58:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 02:58:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:58:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:58:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:58:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02: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-07-27 02:58:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:58:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:58:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985822208001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:58:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:58:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:58:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985822208001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:58:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:58:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:58:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:58:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:58:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985822208001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:58:39] local.INFO: DEBUG: GPS processor result {"connection_id":142501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:58:39] local.INFO: GPS data processed {"connection_id":142501,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:58:39] local.INFO: Acknowledgment sent {"connection_id":142501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:59:11] local.INFO: TCP Data received {"connection_id":142501,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0523168012d7f980005afd7c00002000628..."} 
[2026-07-27 02:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0523168012d7f980005afd7c00002000628..."} 
[2026-07-27 02:59:11] local.INFO: Processing buffer {"connection_id":142501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0523168012d7f980005afd7c00002000628..."} 
[2026-07-27 02:59:11] local.INFO: Packet analysis {"connection_id":142501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa052"} 
[2026-07-27 02:59:11] local.INFO: Extracted packet for processing {"connection_id":142501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa052"} 
[2026-07-27 02:59:11] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 02:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 02:59:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985822208001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:59:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:59:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:59:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:59:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785101169000,"timestamp_ms":1785101169000,"timestamp_seconds":1785101169,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0523168"} 
[2026-07-27 02:59:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 02:59:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 02: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":233,"data_length":795,"current_offset":136} 
[2026-07-27 02:59: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-07-27 02:59:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 02:59:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 02:59:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:59:11] local.INFO: Teltonika packet parsed successfully {"connection_id":142501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:59:11] local.INFO: Passing IMEI to GPS processor {"connection_id":142501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:59:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":142501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:59:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 02:59:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:59:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:59:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985822208001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:59:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:59:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:59:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985822208001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:59:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:59:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:59:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:59:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:59:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985822208001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:59:11] local.INFO: DEBUG: GPS processor result {"connection_id":142501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:59:11] local.INFO: GPS data processed {"connection_id":142501,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:59:11] local.INFO: Acknowledgment sent {"connection_id":142501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 02:59:33] local.INFO: TCP Data received {"connection_id":142588,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:59:33] local.INFO: Processing buffer {"connection_id":142588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:59:33] local.INFO: IMEI packet received {"connection_id":142588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 02:59:33] local.INFO: IMEI acknowledgment sent {"connection_id":142588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 02:59:38] local.INFO: TCP Data received {"connection_id":142588,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:59:38] local.INFO: Processing buffer {"connection_id":142588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 02:59:38] local.INFO: IMEI packet received {"connection_id":142588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 02:59:38] local.INFO: IMEI acknowledgment sent {"connection_id":142588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 02:59:39] local.INFO: TCP Data received {"connection_id":142588,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0523168012d7f980005afd7c00002000628..."} 
[2026-07-27 02:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0523168012d7f980005afd7c00002000628..."} 
[2026-07-27 02:59:39] local.INFO: Processing buffer {"connection_id":142588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0523168012d7f980005afd7c00002000628..."} 
[2026-07-27 02:59:39] local.INFO: Packet analysis {"connection_id":142588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa052"} 
[2026-07-27 02:59:39] local.INFO: Extracted packet for processing {"connection_id":142588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa052"} 
[2026-07-27 02:59:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 02:59:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 02:59:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985822208001,"note":"Value kept but may cause issues"} 
[2026-07-27 02:59:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 02:59:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 02:59:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 02:59:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785101169000,"timestamp_ms":1785101169000,"timestamp_seconds":1785101169,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0523168"} 
[2026-07-27 02:59:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 02:59:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 02:59:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 02:59:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 02:59:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 02:59:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 02:59:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 02:59:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 02:59:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02:59:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 02: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-07-27 02:59:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 02:59:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 02:59:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985822208001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 02:59:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 02:59:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 02:59:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985822208001,"description":"Unknown IO ID 0"} 
[2026-07-27 02:59:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 02:59:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 02:59:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 02:59:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 02:59:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985822208001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 02:59:39] local.INFO: DEBUG: GPS processor result {"connection_id":142588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 02:59:39] local.INFO: GPS data processed {"connection_id":142588,"processed":1,"errors":0,"total":1} 
[2026-07-27 02:59:39] local.INFO: Acknowledgment sent {"connection_id":142588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:00:09] local.INFO: TCP Data received {"connection_id":142588,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0523168012d7f980005afd7c00002000628..."} 
[2026-07-27 03:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0523168012d7f980005afd7c00002000628..."} 
[2026-07-27 03:00:09] local.INFO: Processing buffer {"connection_id":142588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0523168012d7f980005afd7c00002000628..."} 
[2026-07-27 03:00:09] local.INFO: Packet analysis {"connection_id":142588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa052"} 
[2026-07-27 03:00:09] local.INFO: Extracted packet for processing {"connection_id":142588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa052"} 
[2026-07-27 03:00:09] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 03:00:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 03:00:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985822208001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:00:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:00:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:00:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:00:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785101169000,"timestamp_ms":1785101169000,"timestamp_seconds":1785101169,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0523168"} 
[2026-07-27 03:00:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 03:00:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 03:00:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 03:00:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 03:00:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 03:00:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 03:00:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:00:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:00:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:00:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:00:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 03:00:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:00:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:00:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985822208001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:00:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:00:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:00:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985822208001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:00:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:00:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:00:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:00:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:00:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985822208001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:00:09] local.INFO: DEBUG: GPS processor result {"connection_id":142588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:00:09] local.INFO: GPS data processed {"connection_id":142588,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:00:09] local.INFO: Acknowledgment sent {"connection_id":142588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:00:33] local.INFO: TCP Data received {"connection_id":144894,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:00:33] local.INFO: Processing buffer {"connection_id":144894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:00:33] local.INFO: IMEI packet received {"connection_id":144894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 03:00:33] local.INFO: IMEI acknowledgment sent {"connection_id":144894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 03:00:38] local.INFO: TCP Data received {"connection_id":144894,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:00:38] local.INFO: Processing buffer {"connection_id":144894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:00:38] local.INFO: IMEI packet received {"connection_id":144894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 03:00:38] local.INFO: IMEI acknowledgment sent {"connection_id":144894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 03:00:39] local.INFO: TCP Data received {"connection_id":144894,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0523168012d7f980005afd7c00002000628..."} 
[2026-07-27 03:00:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0523168012d7f980005afd7c00002000628..."} 
[2026-07-27 03:00:39] local.INFO: Processing buffer {"connection_id":144894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0523168012d7f980005afd7c00002000628..."} 
[2026-07-27 03:00:39] local.INFO: Packet analysis {"connection_id":144894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa052"} 
[2026-07-27 03:00:39] local.INFO: Extracted packet for processing {"connection_id":144894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa052"} 
[2026-07-27 03:00:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 03: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-07-27 03:00:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985822208001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:00:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:00:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:00:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:00:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785101169000,"timestamp_ms":1785101169000,"timestamp_seconds":1785101169,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0523168"} 
[2026-07-27 03:00:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 03:00:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 03: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-07-27 03: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-07-27 03: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-07-27 03:00:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 03:00:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:00:39] local.INFO: Teltonika packet parsed successfully {"connection_id":144894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:00:39] local.INFO: Passing IMEI to GPS processor {"connection_id":144894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:00:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":144894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:00:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 03:00:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:00:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:00:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985822208001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:00:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:00:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:00:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985822208001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:00:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:00:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:00:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:00:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:00:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985822208001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:00:39] local.INFO: DEBUG: GPS processor result {"connection_id":144894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:00:39] local.INFO: GPS data processed {"connection_id":144894,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:00:39] local.INFO: Acknowledgment sent {"connection_id":144894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:01:10] local.INFO: TCP Data received {"connection_id":144894,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0523168012d7f980005afd7c00002000628..."} 
[2026-07-27 03:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0523168012d7f980005afd7c00002000628..."} 
[2026-07-27 03:01:10] local.INFO: Processing buffer {"connection_id":144894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0523168012d7f980005afd7c00002000628..."} 
[2026-07-27 03:01:10] local.INFO: Packet analysis {"connection_id":144894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa052"} 
[2026-07-27 03:01:10] local.INFO: Extracted packet for processing {"connection_id":144894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa052"} 
[2026-07-27 03:01:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 03:01:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 03:01:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985822208001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:01:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:01:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:01:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:01:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785101169000,"timestamp_ms":1785101169000,"timestamp_seconds":1785101169,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0523168"} 
[2026-07-27 03:01:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 03:01:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 03: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":233,"data_length":795,"current_offset":136} 
[2026-07-27 03:01:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 03:01:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 03:01:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 03:01:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:01:10] local.INFO: Teltonika packet parsed successfully {"connection_id":144894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:01:10] local.INFO: Passing IMEI to GPS processor {"connection_id":144894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:01:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":144894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:01:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 03:01:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:01:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:01:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985822208001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:01:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:01:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:01:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985822208001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:01:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:01:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:01:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:01:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:01:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985822208001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:01:10] local.INFO: DEBUG: GPS processor result {"connection_id":144894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:01:10] local.INFO: GPS data processed {"connection_id":144894,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:01:10] local.INFO: Acknowledgment sent {"connection_id":144894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:01:33] local.INFO: TCP Data received {"connection_id":143555,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:01:33] local.INFO: Processing buffer {"connection_id":143555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:01:33] local.INFO: IMEI packet received {"connection_id":143555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 03:01:33] local.INFO: IMEI acknowledgment sent {"connection_id":143555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 03:01:39] local.INFO: TCP Data received {"connection_id":143555,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:01:39] local.INFO: Processing buffer {"connection_id":143555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:01:39] local.INFO: IMEI packet received {"connection_id":143555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 03:01:39] local.INFO: IMEI acknowledgment sent {"connection_id":143555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 03:01:40] local.INFO: TCP Data received {"connection_id":143555,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0523168012d7f980005afd7c00002000628..."} 
[2026-07-27 03:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0523168012d7f980005afd7c00002000628..."} 
[2026-07-27 03:01:40] local.INFO: Processing buffer {"connection_id":143555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0523168012d7f980005afd7c00002000628..."} 
[2026-07-27 03:01:40] local.INFO: Packet analysis {"connection_id":143555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa052"} 
[2026-07-27 03:01:40] local.INFO: Extracted packet for processing {"connection_id":143555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa052"} 
[2026-07-27 03:01:40] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 03: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-07-27 03:01:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985822208001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:01:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:01:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:01:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:01:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785101169000,"timestamp_ms":1785101169000,"timestamp_seconds":1785101169,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0523168"} 
[2026-07-27 03:01:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 03:01:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 03: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 03:01: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-07-27 03: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-07-27 03:01:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 03:01:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:01:40] local.INFO: Teltonika packet parsed successfully {"connection_id":143555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:01:40] local.INFO: Passing IMEI to GPS processor {"connection_id":143555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:01:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":143555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:01: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-07-27 03:01:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:01:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:01:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985822208001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:01:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:01:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:01:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985822208001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:01:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:01:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:01:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:01:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:01:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985822208001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:01:40] local.INFO: DEBUG: GPS processor result {"connection_id":143555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:01:40] local.INFO: GPS data processed {"connection_id":143555,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:01:40] local.INFO: Acknowledgment sent {"connection_id":143555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:02:10] local.INFO: TCP Data received {"connection_id":143555,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fa056c930012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa056c930012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:02:10] local.INFO: Processing buffer {"connection_id":143555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa056c930012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:02:10] local.INFO: Packet analysis {"connection_id":143555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa056"} 
[2026-07-27 03:02:10] local.INFO: Extracted packet for processing {"connection_id":143555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa056"} 
[2026-07-27 03:02:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 03:02:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985899264001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:02:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:02:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:02:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:02:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785101470000,"timestamp_ms":1785101470000,"timestamp_seconds":1785101470,"priority":1,"record_length":96,"hex_timestamp":"0000019fa056c930"} 
[2026-07-27 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-07-27 03:02:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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-07-27 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-07-27 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-07-27 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-07-27 03:02:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:02:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:02:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:02:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:02:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 03:02:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:02:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:02:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985899264001,"66":25419,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:02:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:02:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:02:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985899264001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:02:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:02:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:02:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:02:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:02:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985899264001,"power":25419,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:02:10] local.INFO: DEBUG: GPS processor result {"connection_id":143555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:02:10] local.INFO: GPS data processed {"connection_id":143555,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:02:10] local.INFO: Acknowledgment sent {"connection_id":143555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:02:33] local.INFO: TCP Data received {"connection_id":142503,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:02:33] local.INFO: Processing buffer {"connection_id":142503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:02:33] local.INFO: IMEI packet received {"connection_id":142503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 03:02:33] local.INFO: IMEI acknowledgment sent {"connection_id":142503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 03:02:38] local.INFO: TCP Data received {"connection_id":142503,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:02:38] local.INFO: Processing buffer {"connection_id":142503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:02:38] local.INFO: IMEI packet received {"connection_id":142503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 03:02:38] local.INFO: IMEI acknowledgment sent {"connection_id":142503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 03:02:39] local.INFO: TCP Data received {"connection_id":142503,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fa056c930012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa056c930012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:02:39] local.INFO: Processing buffer {"connection_id":142503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa056c930012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:02:39] local.INFO: Packet analysis {"connection_id":142503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa056"} 
[2026-07-27 03:02:39] local.INFO: Extracted packet for processing {"connection_id":142503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa056"} 
[2026-07-27 03:02:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 03:02:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 03:02:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985899264001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:02:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:02:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:02:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:02:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785101470000,"timestamp_ms":1785101470000,"timestamp_seconds":1785101470,"priority":1,"record_length":96,"hex_timestamp":"0000019fa056c930"} 
[2026-07-27 03:02:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 03:02:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 03: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-07-27 03: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-07-27 03:02:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 03:02:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 03:02:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:02:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:02:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:02:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:02:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 03:02:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:02:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:02:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985899264001,"66":25419,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:02:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:02:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:02:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985899264001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:02:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:02:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:02:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:02:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:02:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985899264001,"power":25419,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:02:39] local.INFO: DEBUG: GPS processor result {"connection_id":142503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:02:39] local.INFO: GPS data processed {"connection_id":142503,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:02:39] local.INFO: Acknowledgment sent {"connection_id":142503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:03:10] local.INFO: TCP Data received {"connection_id":142503,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fa056c930012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa056c930012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:03:10] local.INFO: Processing buffer {"connection_id":142503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa056c930012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:03:10] local.INFO: Packet analysis {"connection_id":142503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa056"} 
[2026-07-27 03:03:10] local.INFO: Extracted packet for processing {"connection_id":142503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa056"} 
[2026-07-27 03:03:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 03:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 03:03:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985899264001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:03:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:03:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:03:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:03:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785101470000,"timestamp_ms":1785101470000,"timestamp_seconds":1785101470,"priority":1,"record_length":96,"hex_timestamp":"0000019fa056c930"} 
[2026-07-27 03:03:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 03:03:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 03: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-07-27 03: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-07-27 03:03:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 03:03:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 03:03:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:03:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:03:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:03:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:03:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 03:03:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:03:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:03:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985899264001,"66":25419,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:03:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:03:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:03:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985899264001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:03:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:03:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:03:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:03:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:03:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985899264001,"power":25419,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:03:10] local.INFO: DEBUG: GPS processor result {"connection_id":142503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:03:10] local.INFO: GPS data processed {"connection_id":142503,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:03:10] local.INFO: Acknowledgment sent {"connection_id":142503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:03:15] local.INFO: TCP Data received {"connection_id":142589,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 03:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142589,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 03:03:15] local.INFO: Processing buffer {"connection_id":142589,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 03:03:15] local.INFO: IMEI packet received {"connection_id":142589,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 03:03:15] local.INFO: IMEI acknowledgment sent {"connection_id":142589,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 03:03:38] local.INFO: TCP Data received {"connection_id":142590,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:03:38] local.INFO: Processing buffer {"connection_id":142590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:03:38] local.INFO: IMEI packet received {"connection_id":142590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 03:03:38] local.INFO: IMEI acknowledgment sent {"connection_id":142590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 03:03:43] local.INFO: TCP Data received {"connection_id":142590,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:03:43] local.INFO: Processing buffer {"connection_id":142590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:03:43] local.INFO: IMEI packet received {"connection_id":142590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 03:03:43] local.INFO: IMEI acknowledgment sent {"connection_id":142590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 03:03:44] local.INFO: TCP Data received {"connection_id":142590,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fa056c930012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142590,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa056c930012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:03:44] local.INFO: Processing buffer {"connection_id":142590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa056c930012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:03:44] local.INFO: Packet analysis {"connection_id":142590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa056"} 
[2026-07-27 03:03:44] local.INFO: Extracted packet for processing {"connection_id":142590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa056"} 
[2026-07-27 03:03:44] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 03:03:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 03:03:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985899264001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:03:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:03:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:03:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:03:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785101470000,"timestamp_ms":1785101470000,"timestamp_seconds":1785101470,"priority":1,"record_length":96,"hex_timestamp":"0000019fa056c930"} 
[2026-07-27 03:03:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 03:03:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 03:03:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 03:03: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-07-27 03:03:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 03:03:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 03:03:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:03:44] local.INFO: Teltonika packet parsed successfully {"connection_id":142590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:03:44] local.INFO: Passing IMEI to GPS processor {"connection_id":142590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:03:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":142590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:03:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 03:03:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:03:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:03:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985899264001,"66":25419,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:03:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:03:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:03:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985899264001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:03:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:03:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:03:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:03:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:03:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985899264001,"power":25419,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:03:44] local.INFO: DEBUG: GPS processor result {"connection_id":142590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:03:44] local.INFO: GPS data processed {"connection_id":142590,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:03:44] local.INFO: Acknowledgment sent {"connection_id":142590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:03:45] local.INFO: TCP Data received {"connection_id":142591,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 03:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142591,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 03:03:45] local.INFO: Processing buffer {"connection_id":142591,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 03:03:45] local.INFO: IMEI packet received {"connection_id":142591,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 03:03:45] local.INFO: IMEI acknowledgment sent {"connection_id":142591,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 03:03:49] local.INFO: TCP Data received {"connection_id":142590,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fa056c930012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142590,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa056c930012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:03:49] local.INFO: Processing buffer {"connection_id":142590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa056c930012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:03:49] local.INFO: Packet analysis {"connection_id":142590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa056"} 
[2026-07-27 03:03:49] local.INFO: Extracted packet for processing {"connection_id":142590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa056"} 
[2026-07-27 03:03:49] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 03: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-07-27 03:03:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985899264001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:03:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:03:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:03:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:03:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785101470000,"timestamp_ms":1785101470000,"timestamp_seconds":1785101470,"priority":1,"record_length":96,"hex_timestamp":"0000019fa056c930"} 
[2026-07-27 03:03:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 03:03:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 03: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 03:03:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 03: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-07-27 03:03:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 03:03:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:03:49] local.INFO: Teltonika packet parsed successfully {"connection_id":142590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:03:49] local.INFO: Passing IMEI to GPS processor {"connection_id":142590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:03:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":142590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:03:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 03:03:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:03:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:03:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985899264001,"66":25419,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:03:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:03:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:03:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985899264001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:03:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:03:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:03:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:03:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:03:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985899264001,"power":25419,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:03:49] local.INFO: DEBUG: GPS processor result {"connection_id":142590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:03:49] local.INFO: GPS data processed {"connection_id":142590,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:03:49] local.INFO: Acknowledgment sent {"connection_id":142590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:04:33] local.INFO: TCP Data received {"connection_id":142504,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:04:33] local.INFO: Processing buffer {"connection_id":142504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:04:33] local.INFO: IMEI packet received {"connection_id":142504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 03:04:33] local.INFO: IMEI acknowledgment sent {"connection_id":142504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 03:04:38] local.INFO: TCP Data received {"connection_id":142504,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:04:38] local.INFO: Processing buffer {"connection_id":142504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:04:38] local.INFO: IMEI packet received {"connection_id":142504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 03:04:38] local.INFO: IMEI acknowledgment sent {"connection_id":142504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 03:04:39] local.INFO: TCP Data received {"connection_id":142504,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fa056c930012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa056c930012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:04:39] local.INFO: Processing buffer {"connection_id":142504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa056c930012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:04:39] local.INFO: Packet analysis {"connection_id":142504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa056"} 
[2026-07-27 03:04:39] local.INFO: Extracted packet for processing {"connection_id":142504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa056"} 
[2026-07-27 03:04:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 03:04:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 03:04:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985899264001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:04:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:04:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:04:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:04:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785101470000,"timestamp_ms":1785101470000,"timestamp_seconds":1785101470,"priority":1,"record_length":96,"hex_timestamp":"0000019fa056c930"} 
[2026-07-27 03:04:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 03:04:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 03: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-07-27 03: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-07-27 03:04:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 03:04:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 03:04:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:04:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:04:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:04:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:04:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 03:04:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:04:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:04:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985899264001,"66":25419,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:04:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:04:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:04:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985899264001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:04:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:04:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:04:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:04:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:04:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985899264001,"power":25419,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:04:39] local.INFO: DEBUG: GPS processor result {"connection_id":142504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:04:39] local.INFO: GPS data processed {"connection_id":142504,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:04:39] local.INFO: Acknowledgment sent {"connection_id":142504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:05:10] local.INFO: TCP Data received {"connection_id":142504,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fa056c930012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa056c930012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:05:10] local.INFO: Processing buffer {"connection_id":142504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa056c930012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:05:10] local.INFO: Packet analysis {"connection_id":142504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa056"} 
[2026-07-27 03:05:10] local.INFO: Extracted packet for processing {"connection_id":142504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa056"} 
[2026-07-27 03:05:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 03:05:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985899264001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:05:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:05:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:05:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:05:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785101470000,"timestamp_ms":1785101470000,"timestamp_seconds":1785101470,"priority":1,"record_length":96,"hex_timestamp":"0000019fa056c930"} 
[2026-07-27 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-07-27 03:05:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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-07-27 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-07-27 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-07-27 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-07-27 03:05:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:05:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:05:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:05:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:05:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 03:05:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:05:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:05:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985899264001,"66":25419,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:05:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:05:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:05:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985899264001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:05:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:05:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:05:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:05:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:05:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985899264001,"power":25419,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:05:10] local.INFO: DEBUG: GPS processor result {"connection_id":142504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:05:10] local.INFO: GPS data processed {"connection_id":142504,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:05:10] local.INFO: Acknowledgment sent {"connection_id":142504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:05:33] local.INFO: TCP Data received {"connection_id":143557,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:05:33] local.INFO: Processing buffer {"connection_id":143557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:05:33] local.INFO: IMEI packet received {"connection_id":143557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 03:05:33] local.INFO: IMEI acknowledgment sent {"connection_id":143557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 03:05:38] local.INFO: TCP Data received {"connection_id":143557,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:05:38] local.INFO: Processing buffer {"connection_id":143557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:05:38] local.INFO: IMEI packet received {"connection_id":143557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 03:05:38] local.INFO: IMEI acknowledgment sent {"connection_id":143557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 03:05:39] local.INFO: TCP Data received {"connection_id":143557,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fa056c930012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:05:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa056c930012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:05:39] local.INFO: Processing buffer {"connection_id":143557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa056c930012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:05:39] local.INFO: Packet analysis {"connection_id":143557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa056"} 
[2026-07-27 03:05:39] local.INFO: Extracted packet for processing {"connection_id":143557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa056"} 
[2026-07-27 03:05:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 03:05:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 03:05:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985899264001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:05:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:05:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:05:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:05:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785101470000,"timestamp_ms":1785101470000,"timestamp_seconds":1785101470,"priority":1,"record_length":96,"hex_timestamp":"0000019fa056c930"} 
[2026-07-27 03:05:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 03:05:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 03:05:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 03: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-07-27 03:05:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 03:05:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 03:05:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:05:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:05:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:05:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:05: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-07-27 03:05:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:05:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:05:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985899264001,"66":25419,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:05:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:05:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:05:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985899264001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:05:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:05:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:05:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:05:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:05:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985899264001,"power":25419,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:05:39] local.INFO: DEBUG: GPS processor result {"connection_id":143557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:05:39] local.INFO: GPS data processed {"connection_id":143557,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:05:39] local.INFO: Acknowledgment sent {"connection_id":143557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:06:10] local.INFO: TCP Data received {"connection_id":143557,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fa056c930012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa056c930012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:06:10] local.INFO: Processing buffer {"connection_id":143557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa056c930012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:06:10] local.INFO: Packet analysis {"connection_id":143557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa056"} 
[2026-07-27 03:06:10] local.INFO: Extracted packet for processing {"connection_id":143557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa056"} 
[2026-07-27 03:06:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 03:06:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985899264001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:06:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:06:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:06:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:06:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785101470000,"timestamp_ms":1785101470000,"timestamp_seconds":1785101470,"priority":1,"record_length":96,"hex_timestamp":"0000019fa056c930"} 
[2026-07-27 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-07-27 03:06:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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-07-27 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-07-27 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-07-27 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-07-27 03:06:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:06:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:06:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:06:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:06:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 03:06:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:06:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:06:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985899264001,"66":25419,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:06:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:06:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:06:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985899264001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:06:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:06:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:06:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:06:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:06:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985899264001,"power":25419,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:06:10] local.INFO: DEBUG: GPS processor result {"connection_id":143557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:06:10] local.INFO: GPS data processed {"connection_id":143557,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:06:10] local.INFO: Acknowledgment sent {"connection_id":143557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:06:33] local.INFO: TCP Data received {"connection_id":142505,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:06:33] local.INFO: Processing buffer {"connection_id":142505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:06:33] local.INFO: IMEI packet received {"connection_id":142505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 03:06:33] local.INFO: IMEI acknowledgment sent {"connection_id":142505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 03:06:38] local.INFO: TCP Data received {"connection_id":142505,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:06:38] local.INFO: Processing buffer {"connection_id":142505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:06:38] local.INFO: IMEI packet received {"connection_id":142505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 03:06:38] local.INFO: IMEI acknowledgment sent {"connection_id":142505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 03:06:39] local.INFO: TCP Data received {"connection_id":142505,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fa056c930012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:06:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa056c930012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:06:39] local.INFO: Processing buffer {"connection_id":142505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa056c930012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:06:39] local.INFO: Packet analysis {"connection_id":142505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa056"} 
[2026-07-27 03:06:39] local.INFO: Extracted packet for processing {"connection_id":142505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa056"} 
[2026-07-27 03:06:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 03:06:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 03:06:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985899264001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:06:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:06:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:06:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:06:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785101470000,"timestamp_ms":1785101470000,"timestamp_seconds":1785101470,"priority":1,"record_length":96,"hex_timestamp":"0000019fa056c930"} 
[2026-07-27 03:06:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 03:06:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 03: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-07-27 03: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-07-27 03:06:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 03:06:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 03:06:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:06:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:06:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:06:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:06:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 03:06:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:06:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:06:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985899264001,"66":25419,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:06:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:06:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:06:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985899264001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:06:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:06:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:06:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:06:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:06:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985899264001,"power":25419,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:06:39] local.INFO: DEBUG: GPS processor result {"connection_id":142505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:06:39] local.INFO: GPS data processed {"connection_id":142505,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:06:39] local.INFO: Acknowledgment sent {"connection_id":142505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:07:10] local.INFO: TCP Data received {"connection_id":142505,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fa05b60f8012d7f980005afd7c0000200062b..."} 
[2026-07-27 03:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa05b60f8012d7f980005afd7c0000200062b..."} 
[2026-07-27 03:07:10] local.INFO: Processing buffer {"connection_id":142505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa05b60f8012d7f980005afd7c0000200062b..."} 
[2026-07-27 03:07:10] local.INFO: Packet analysis {"connection_id":142505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa05b"} 
[2026-07-27 03:07:10] local.INFO: Extracted packet for processing {"connection_id":142505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa05b"} 
[2026-07-27 03:07:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 03:07:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 03:07:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985976320001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:07:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:07:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:07:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:07:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785101771000,"timestamp_ms":1785101771000,"timestamp_seconds":1785101771,"priority":1,"record_length":96,"hex_timestamp":"0000019fa05b60f8"} 
[2026-07-27 03:07:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 03:07:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 03:07:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-27 03:07: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-07-27 03:07:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 03:07:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 03:07:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:07:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:07:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:07:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:07:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 03:07:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:07:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:07:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985976320001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:07:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:07:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:07:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985976320001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:07:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:07:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:07:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:07:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:07:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985976320001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:07:10] local.INFO: DEBUG: GPS processor result {"connection_id":142505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:07:10] local.INFO: GPS data processed {"connection_id":142505,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:07:10] local.INFO: Acknowledgment sent {"connection_id":142505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:07:33] local.INFO: TCP Data received {"connection_id":144895,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:07:33] local.INFO: Processing buffer {"connection_id":144895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:07:33] local.INFO: IMEI packet received {"connection_id":144895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 03:07:33] local.INFO: IMEI acknowledgment sent {"connection_id":144895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 03:07:38] local.INFO: TCP Data received {"connection_id":144895,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:07:38] local.INFO: Processing buffer {"connection_id":144895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:07:38] local.INFO: IMEI packet received {"connection_id":144895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 03:07:38] local.INFO: IMEI acknowledgment sent {"connection_id":144895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 03:07:39] local.INFO: TCP Data received {"connection_id":144895,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fa05b60f8012d7f980005afd7c0000200062b..."} 
[2026-07-27 03:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa05b60f8012d7f980005afd7c0000200062b..."} 
[2026-07-27 03:07:39] local.INFO: Processing buffer {"connection_id":144895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa05b60f8012d7f980005afd7c0000200062b..."} 
[2026-07-27 03:07:39] local.INFO: Packet analysis {"connection_id":144895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa05b"} 
[2026-07-27 03:07:39] local.INFO: Extracted packet for processing {"connection_id":144895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa05b"} 
[2026-07-27 03:07:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 03: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-07-27 03:07:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985976320001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:07:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:07:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:07:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:07:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785101771000,"timestamp_ms":1785101771000,"timestamp_seconds":1785101771,"priority":1,"record_length":96,"hex_timestamp":"0000019fa05b60f8"} 
[2026-07-27 03:07:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 03:07:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 03: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":75,"data_length":795,"current_offset":136} 
[2026-07-27 03:07: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-07-27 03: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-07-27 03:07:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 03:07:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:07:39] local.INFO: Teltonika packet parsed successfully {"connection_id":144895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:07:39] local.INFO: Passing IMEI to GPS processor {"connection_id":144895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:07:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":144895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:07:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 03:07:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:07:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:07:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985976320001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:07:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:07:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:07:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985976320001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:07:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:07:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:07:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:07:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:07:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985976320001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:07:39] local.INFO: DEBUG: GPS processor result {"connection_id":144895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:07:39] local.INFO: GPS data processed {"connection_id":144895,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:07:39] local.INFO: Acknowledgment sent {"connection_id":144895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:08:11] local.INFO: TCP Data received {"connection_id":144895,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fa05b60f8012d7f980005afd7c0000200062b..."} 
[2026-07-27 03:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa05b60f8012d7f980005afd7c0000200062b..."} 
[2026-07-27 03:08:11] local.INFO: Processing buffer {"connection_id":144895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa05b60f8012d7f980005afd7c0000200062b..."} 
[2026-07-27 03:08:11] local.INFO: Packet analysis {"connection_id":144895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa05b"} 
[2026-07-27 03:08:11] local.INFO: Extracted packet for processing {"connection_id":144895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa05b"} 
[2026-07-27 03:08:11] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 03:08:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 03:08:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985976320001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:08:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:08:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:08:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:08:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785101771000,"timestamp_ms":1785101771000,"timestamp_seconds":1785101771,"priority":1,"record_length":96,"hex_timestamp":"0000019fa05b60f8"} 
[2026-07-27 03:08:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 03:08:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 03:08:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-27 03:08: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-07-27 03:08:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 03:08:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 03:08:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:08:11] local.INFO: Teltonika packet parsed successfully {"connection_id":144895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:08:11] local.INFO: Passing IMEI to GPS processor {"connection_id":144895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:08:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":144895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:08: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-07-27 03:08:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:08:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:08:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985976320001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:08:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:08:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:08:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985976320001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:08:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:08:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:08:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:08:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:08:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985976320001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:08:11] local.INFO: DEBUG: GPS processor result {"connection_id":144895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:08:11] local.INFO: GPS data processed {"connection_id":144895,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:08:11] local.INFO: Acknowledgment sent {"connection_id":144895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:08:38] local.INFO: TCP Data received {"connection_id":144896,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:08:38] local.INFO: Processing buffer {"connection_id":144896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:08:38] local.INFO: IMEI packet received {"connection_id":144896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 03:08:38] local.INFO: IMEI acknowledgment sent {"connection_id":144896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 03:08:43] local.INFO: TCP Data received {"connection_id":144896,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:08:43] local.INFO: Processing buffer {"connection_id":144896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:08:43] local.INFO: IMEI packet received {"connection_id":144896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 03:08:43] local.INFO: IMEI acknowledgment sent {"connection_id":144896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 03:08:44] local.INFO: TCP Data received {"connection_id":144896,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fa05b60f8012d7f980005afd7c0000200062b..."} 
[2026-07-27 03:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa05b60f8012d7f980005afd7c0000200062b..."} 
[2026-07-27 03:08:44] local.INFO: Processing buffer {"connection_id":144896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa05b60f8012d7f980005afd7c0000200062b..."} 
[2026-07-27 03:08:44] local.INFO: Packet analysis {"connection_id":144896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa05b"} 
[2026-07-27 03:08:44] local.INFO: Extracted packet for processing {"connection_id":144896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa05b"} 
[2026-07-27 03:08:44] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 03:08:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 03:08:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985976320001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:08:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:08:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:08:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:08:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785101771000,"timestamp_ms":1785101771000,"timestamp_seconds":1785101771,"priority":1,"record_length":96,"hex_timestamp":"0000019fa05b60f8"} 
[2026-07-27 03:08:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 03:08:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 03:08:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-27 03:08:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 03:08:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 03:08:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 03:08:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:08:44] local.INFO: Teltonika packet parsed successfully {"connection_id":144896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:08:44] local.INFO: Passing IMEI to GPS processor {"connection_id":144896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:08:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":144896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:08:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 03:08:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:08:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:08:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985976320001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:08:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:08:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:08:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985976320001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:08:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:08:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:08:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:08:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:08:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985976320001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:08:44] local.INFO: DEBUG: GPS processor result {"connection_id":144896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:08:44] local.INFO: GPS data processed {"connection_id":144896,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:08:44] local.INFO: Acknowledgment sent {"connection_id":144896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:08:49] local.INFO: TCP Data received {"connection_id":144896,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fa05b60f8012d7f980005afd7c0000200062b..."} 
[2026-07-27 03:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa05b60f8012d7f980005afd7c0000200062b..."} 
[2026-07-27 03:08:49] local.INFO: Processing buffer {"connection_id":144896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa05b60f8012d7f980005afd7c0000200062b..."} 
[2026-07-27 03:08:49] local.INFO: Packet analysis {"connection_id":144896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa05b"} 
[2026-07-27 03:08:49] local.INFO: Extracted packet for processing {"connection_id":144896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa05b"} 
[2026-07-27 03:08:49] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 03: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-07-27 03:08:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985976320001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:08:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:08:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:08:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:08:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785101771000,"timestamp_ms":1785101771000,"timestamp_seconds":1785101771,"priority":1,"record_length":96,"hex_timestamp":"0000019fa05b60f8"} 
[2026-07-27 03:08:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 03:08:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 03: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-27 03:08:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 03: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-07-27 03:08:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 03:08:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:08:49] local.INFO: Teltonika packet parsed successfully {"connection_id":144896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:08:49] local.INFO: Passing IMEI to GPS processor {"connection_id":144896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:08:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":144896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:08:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 03:08:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:08:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:08:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985976320001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:08:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:08:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:08:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985976320001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:08:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:08:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:08:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:08:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:08:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985976320001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:08:49] local.INFO: DEBUG: GPS processor result {"connection_id":144896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:08:49] local.INFO: GPS data processed {"connection_id":144896,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:08:49] local.INFO: Acknowledgment sent {"connection_id":144896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:09:15] local.INFO: TCP Data received {"connection_id":142506,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 03:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142506,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 03:09:15] local.INFO: Processing buffer {"connection_id":142506,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 03:09:15] local.INFO: IMEI packet received {"connection_id":142506,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 03:09:15] local.INFO: IMEI acknowledgment sent {"connection_id":142506,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 03:09:33] local.INFO: TCP Data received {"connection_id":142507,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:09:33] local.INFO: Processing buffer {"connection_id":142507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:09:33] local.INFO: IMEI packet received {"connection_id":142507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 03:09:33] local.INFO: IMEI acknowledgment sent {"connection_id":142507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 03:09:38] local.INFO: TCP Data received {"connection_id":142507,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:09:38] local.INFO: Processing buffer {"connection_id":142507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:09:38] local.INFO: IMEI packet received {"connection_id":142507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 03:09:38] local.INFO: IMEI acknowledgment sent {"connection_id":142507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 03:09:39] local.INFO: TCP Data received {"connection_id":142507,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa05b60f8012d7f980005afd7c0000200062b..."} 
[2026-07-27 03:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa05b60f8012d7f980005afd7c0000200062b..."} 
[2026-07-27 03:09:39] local.INFO: Processing buffer {"connection_id":142507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa05b60f8012d7f980005afd7c0000200062b..."} 
[2026-07-27 03:09:39] local.INFO: Packet analysis {"connection_id":142507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa05b"} 
[2026-07-27 03:09:39] local.INFO: Extracted packet for processing {"connection_id":142507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa05b"} 
[2026-07-27 03:09:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 03:09:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 03:09:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985976320001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:09:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:09:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:09:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:09:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785101771000,"timestamp_ms":1785101771000,"timestamp_seconds":1785101771,"priority":1,"record_length":96,"hex_timestamp":"0000019fa05b60f8"} 
[2026-07-27 03:09:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 03:09:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 03:09:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-27 03:09: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-07-27 03:09:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 03:09:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 03:09:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:09:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:09:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:09:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:09:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 03:09:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:09:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:09:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985976320001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:09:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:09:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:09:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985976320001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:09:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:09:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:09:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:09:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:09:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985976320001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:09:39] local.INFO: DEBUG: GPS processor result {"connection_id":142507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:09:39] local.INFO: GPS data processed {"connection_id":142507,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:09:39] local.INFO: Acknowledgment sent {"connection_id":142507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:09:45] local.INFO: TCP Data received {"connection_id":143559,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 03:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143559,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 03:09:45] local.INFO: Processing buffer {"connection_id":143559,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 03:09:45] local.INFO: IMEI packet received {"connection_id":143559,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 03:09:45] local.INFO: IMEI acknowledgment sent {"connection_id":143559,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 03:10:10] local.INFO: TCP Data received {"connection_id":142507,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa05b60f8012d7f980005afd7c0000200062b..."} 
[2026-07-27 03:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa05b60f8012d7f980005afd7c0000200062b..."} 
[2026-07-27 03:10:10] local.INFO: Processing buffer {"connection_id":142507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa05b60f8012d7f980005afd7c0000200062b..."} 
[2026-07-27 03:10:10] local.INFO: Packet analysis {"connection_id":142507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa05b"} 
[2026-07-27 03:10:10] local.INFO: Extracted packet for processing {"connection_id":142507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa05b"} 
[2026-07-27 03:10:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 03:10:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985976320001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:10:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:10:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:10:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:10:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785101771000,"timestamp_ms":1785101771000,"timestamp_seconds":1785101771,"priority":1,"record_length":96,"hex_timestamp":"0000019fa05b60f8"} 
[2026-07-27 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-07-27 03:10:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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-07-27 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-07-27 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-07-27 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-07-27 03:10:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:10:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:10:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:10:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:10:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 03:10:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:10:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:10:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985976320001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:10:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:10:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:10:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985976320001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:10:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:10:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:10:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:10:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:10:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985976320001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:10:10] local.INFO: DEBUG: GPS processor result {"connection_id":142507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:10:10] local.INFO: GPS data processed {"connection_id":142507,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:10:10] local.INFO: Acknowledgment sent {"connection_id":142507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:10:33] local.INFO: TCP Data received {"connection_id":143560,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:10:33] local.INFO: Processing buffer {"connection_id":143560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:10:33] local.INFO: IMEI packet received {"connection_id":143560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 03:10:33] local.INFO: IMEI acknowledgment sent {"connection_id":143560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 03:10:38] local.INFO: TCP Data received {"connection_id":143560,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:10:38] local.INFO: Processing buffer {"connection_id":143560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:10:38] local.INFO: IMEI packet received {"connection_id":143560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 03:10:38] local.INFO: IMEI acknowledgment sent {"connection_id":143560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 03:10:39] local.INFO: TCP Data received {"connection_id":143560,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fa05b60f8012d7f980005afd7c0000200062b..."} 
[2026-07-27 03:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa05b60f8012d7f980005afd7c0000200062b..."} 
[2026-07-27 03:10:39] local.INFO: Processing buffer {"connection_id":143560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa05b60f8012d7f980005afd7c0000200062b..."} 
[2026-07-27 03:10:39] local.INFO: Packet analysis {"connection_id":143560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa05b"} 
[2026-07-27 03:10:39] local.INFO: Extracted packet for processing {"connection_id":143560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa05b"} 
[2026-07-27 03:10:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 03:10:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 03:10:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985976320001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:10:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:10:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:10:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:10:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785101771000,"timestamp_ms":1785101771000,"timestamp_seconds":1785101771,"priority":1,"record_length":96,"hex_timestamp":"0000019fa05b60f8"} 
[2026-07-27 03:10:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 03:10:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 03:10:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-27 03:10: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-07-27 03:10:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 03:10:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 03:10:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:10:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:10:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:10:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:10:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 03:10:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:10:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:10:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985976320001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:10:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:10:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:10:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985976320001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:10:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:10:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:10:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:10:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:10:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985976320001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:10:39] local.INFO: DEBUG: GPS processor result {"connection_id":143560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:10:39] local.INFO: GPS data processed {"connection_id":143560,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:10:39] local.INFO: Acknowledgment sent {"connection_id":143560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:11:11] local.INFO: TCP Data received {"connection_id":143560,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fa05b60f8012d7f980005afd7c0000200062b..."} 
[2026-07-27 03:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa05b60f8012d7f980005afd7c0000200062b..."} 
[2026-07-27 03:11:11] local.INFO: Processing buffer {"connection_id":143560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa05b60f8012d7f980005afd7c0000200062b..."} 
[2026-07-27 03:11:11] local.INFO: Packet analysis {"connection_id":143560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa05b"} 
[2026-07-27 03:11:11] local.INFO: Extracted packet for processing {"connection_id":143560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa05b"} 
[2026-07-27 03:11:11] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 03:11:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 03:11:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985976320001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:11:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:11:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:11:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:11:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785101771000,"timestamp_ms":1785101771000,"timestamp_seconds":1785101771,"priority":1,"record_length":96,"hex_timestamp":"0000019fa05b60f8"} 
[2026-07-27 03:11:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 03:11:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 03: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":75,"data_length":795,"current_offset":136} 
[2026-07-27 03:11: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-07-27 03:11:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 03:11:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 03:11:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:11:11] local.INFO: Teltonika packet parsed successfully {"connection_id":143560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:11:11] local.INFO: Passing IMEI to GPS processor {"connection_id":143560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:11:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":143560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:11:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 03:11:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:11:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:11:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985976320001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:11:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:11:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:11:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985976320001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:11:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:11:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:11:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:11:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:11:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985976320001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:11:11] local.INFO: DEBUG: GPS processor result {"connection_id":143560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:11:11] local.INFO: GPS data processed {"connection_id":143560,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:11:11] local.INFO: Acknowledgment sent {"connection_id":143560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:11:33] local.INFO: TCP Data received {"connection_id":142509,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:11:33] local.INFO: Processing buffer {"connection_id":142509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:11:33] local.INFO: IMEI packet received {"connection_id":142509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 03:11:33] local.INFO: IMEI acknowledgment sent {"connection_id":142509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 03:11:38] local.INFO: TCP Data received {"connection_id":142509,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:11:38] local.INFO: Processing buffer {"connection_id":142509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:11:38] local.INFO: IMEI packet received {"connection_id":142509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 03:11:38] local.INFO: IMEI acknowledgment sent {"connection_id":142509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 03:11:39] local.INFO: TCP Data received {"connection_id":142509,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fa05b60f8012d7f980005afd7c0000200062b..."} 
[2026-07-27 03:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa05b60f8012d7f980005afd7c0000200062b..."} 
[2026-07-27 03:11:39] local.INFO: Processing buffer {"connection_id":142509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa05b60f8012d7f980005afd7c0000200062b..."} 
[2026-07-27 03:11:39] local.INFO: Packet analysis {"connection_id":142509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa05b"} 
[2026-07-27 03:11:39] local.INFO: Extracted packet for processing {"connection_id":142509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa05b"} 
[2026-07-27 03:11:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 03:11:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 03:11:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456985976320001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:11:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:11:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:11:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:11:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785101771000,"timestamp_ms":1785101771000,"timestamp_seconds":1785101771,"priority":1,"record_length":96,"hex_timestamp":"0000019fa05b60f8"} 
[2026-07-27 03:11:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 03:11:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 03:11:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-27 03:11: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-07-27 03:11:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 03:11:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 03:11:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:11:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:11:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:11:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:11:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 03:11:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:11:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:11:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456985976320001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:11:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:11:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:11:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456985976320001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:11:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:11:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:11:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:11:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:11:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456985976320001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:11:39] local.INFO: DEBUG: GPS processor result {"connection_id":142509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:11:39] local.INFO: GPS data processed {"connection_id":142509,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:11:39] local.INFO: Acknowledgment sent {"connection_id":142509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:12:10] local.INFO: TCP Data received {"connection_id":142509,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fa05ff8c0012d7f980005afd7c00002000628..."} 
[2026-07-27 03:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa05ff8c0012d7f980005afd7c00002000628..."} 
[2026-07-27 03:12:10] local.INFO: Processing buffer {"connection_id":142509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa05ff8c0012d7f980005afd7c00002000628..."} 
[2026-07-27 03:12:10] local.INFO: Packet analysis {"connection_id":142509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa05f"} 
[2026-07-27 03:12:10] local.INFO: Extracted packet for processing {"connection_id":142509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa05f"} 
[2026-07-27 03:12:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 03:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 03:12:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986053376001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:12:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:12:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:12:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:12:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785102072000,"timestamp_ms":1785102072000,"timestamp_seconds":1785102072,"priority":1,"record_length":96,"hex_timestamp":"0000019fa05ff8c0"} 
[2026-07-27 03:12:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 03:12:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 03: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":53,"data_length":795,"current_offset":136} 
[2026-07-27 03:12:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 03:12:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 03:12:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 03:12:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:12:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:12:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:12:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03: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-07-27 03:12:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:12:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:12:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986053376001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:12:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:12:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:12:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986053376001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:12:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:12:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:12:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:12:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:12:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986053376001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:12:10] local.INFO: DEBUG: GPS processor result {"connection_id":142509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:12:10] local.INFO: GPS data processed {"connection_id":142509,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:12:10] local.INFO: Acknowledgment sent {"connection_id":142509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:12:38] local.INFO: TCP Data received {"connection_id":142595,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:12:38] local.INFO: Processing buffer {"connection_id":142595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:12:38] local.INFO: IMEI packet received {"connection_id":142595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 03:12:38] local.INFO: IMEI acknowledgment sent {"connection_id":142595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 03:12:43] local.INFO: TCP Data received {"connection_id":142595,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:12:43] local.INFO: Processing buffer {"connection_id":142595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:12:43] local.INFO: IMEI packet received {"connection_id":142595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 03:12:43] local.INFO: IMEI acknowledgment sent {"connection_id":142595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 03:12:44] local.INFO: TCP Data received {"connection_id":142595,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fa05ff8c0012d7f980005afd7c00002000628..."} 
[2026-07-27 03:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa05ff8c0012d7f980005afd7c00002000628..."} 
[2026-07-27 03:12:44] local.INFO: Processing buffer {"connection_id":142595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa05ff8c0012d7f980005afd7c00002000628..."} 
[2026-07-27 03:12:44] local.INFO: Packet analysis {"connection_id":142595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa05f"} 
[2026-07-27 03:12:44] local.INFO: Extracted packet for processing {"connection_id":142595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa05f"} 
[2026-07-27 03:12:44] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 03: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-07-27 03:12:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986053376001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:12:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:12:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:12:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:12:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785102072000,"timestamp_ms":1785102072000,"timestamp_seconds":1785102072,"priority":1,"record_length":96,"hex_timestamp":"0000019fa05ff8c0"} 
[2026-07-27 03:12:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 03:12:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 03: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 03:12: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-07-27 03: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-07-27 03:12:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 03:12:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:12:44] local.INFO: Teltonika packet parsed successfully {"connection_id":142595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:12:44] local.INFO: Passing IMEI to GPS processor {"connection_id":142595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:12:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":142595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:12:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 03:12:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:12:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:12:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986053376001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:12:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:12:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:12:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986053376001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:12:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:12:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:12:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:12:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:12:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986053376001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:12:44] local.INFO: DEBUG: GPS processor result {"connection_id":142595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:12:44] local.INFO: GPS data processed {"connection_id":142595,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:12:44] local.INFO: Acknowledgment sent {"connection_id":142595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:12:49] local.INFO: TCP Data received {"connection_id":142595,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fa05ff8c0012d7f980005afd7c00002000628..."} 
[2026-07-27 03:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa05ff8c0012d7f980005afd7c00002000628..."} 
[2026-07-27 03:12:49] local.INFO: Processing buffer {"connection_id":142595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa05ff8c0012d7f980005afd7c00002000628..."} 
[2026-07-27 03:12:49] local.INFO: Packet analysis {"connection_id":142595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa05f"} 
[2026-07-27 03:12:49] local.INFO: Extracted packet for processing {"connection_id":142595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa05f"} 
[2026-07-27 03:12:49] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 03: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-07-27 03:12:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986053376001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:12:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:12:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:12:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:12:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785102072000,"timestamp_ms":1785102072000,"timestamp_seconds":1785102072,"priority":1,"record_length":96,"hex_timestamp":"0000019fa05ff8c0"} 
[2026-07-27 03:12:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 03:12:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 03: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 03:12:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 03: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-07-27 03:12:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 03:12:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:12:49] local.INFO: Teltonika packet parsed successfully {"connection_id":142595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:12:49] local.INFO: Passing IMEI to GPS processor {"connection_id":142595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:12:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":142595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:12:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 03:12:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:12:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:12:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986053376001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:12:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:12:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:12:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986053376001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:12:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:12:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:12:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:12:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:12:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986053376001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:12:49] local.INFO: DEBUG: GPS processor result {"connection_id":142595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:12:49] local.INFO: GPS data processed {"connection_id":142595,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:12:49] local.INFO: Acknowledgment sent {"connection_id":142595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:13:33] local.INFO: TCP Data received {"connection_id":144897,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:13:33] local.INFO: Processing buffer {"connection_id":144897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:13:33] local.INFO: IMEI packet received {"connection_id":144897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 03:13:33] local.INFO: IMEI acknowledgment sent {"connection_id":144897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 03:13:38] local.INFO: TCP Data received {"connection_id":144897,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:13:38] local.INFO: Processing buffer {"connection_id":144897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:13:38] local.INFO: IMEI packet received {"connection_id":144897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 03:13:38] local.INFO: IMEI acknowledgment sent {"connection_id":144897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 03:13:40] local.INFO: TCP Data received {"connection_id":144897,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fa05ff8c0012d7f980005afd7c00002000628..."} 
[2026-07-27 03:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144897,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa05ff8c0012d7f980005afd7c00002000628..."} 
[2026-07-27 03:13:40] local.INFO: Processing buffer {"connection_id":144897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa05ff8c0012d7f980005afd7c00002000628..."} 
[2026-07-27 03:13:40] local.INFO: Packet analysis {"connection_id":144897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa05f"} 
[2026-07-27 03:13:40] local.INFO: Extracted packet for processing {"connection_id":144897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa05f"} 
[2026-07-27 03:13:40] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 03: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-07-27 03:13:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986053376001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:13:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:13:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:13:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:13:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785102072000,"timestamp_ms":1785102072000,"timestamp_seconds":1785102072,"priority":1,"record_length":96,"hex_timestamp":"0000019fa05ff8c0"} 
[2026-07-27 03:13:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 03:13:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 03: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":53,"data_length":795,"current_offset":136} 
[2026-07-27 03:13: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-07-27 03: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-07-27 03:13:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 03:13:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:13:40] local.INFO: Teltonika packet parsed successfully {"connection_id":144897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:13:40] local.INFO: Passing IMEI to GPS processor {"connection_id":144897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:13:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":144897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:13: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-07-27 03:13:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:13:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:13:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986053376001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:13:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:13:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:13:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986053376001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:13:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:13:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:13:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:13:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:13:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986053376001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:13:40] local.INFO: DEBUG: GPS processor result {"connection_id":144897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:13:40] local.INFO: GPS data processed {"connection_id":144897,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:13:40] local.INFO: Acknowledgment sent {"connection_id":144897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:14:11] local.INFO: TCP Data received {"connection_id":144897,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fa05ff8c0012d7f980005afd7c00002000628..."} 
[2026-07-27 03:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144897,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa05ff8c0012d7f980005afd7c00002000628..."} 
[2026-07-27 03:14:11] local.INFO: Processing buffer {"connection_id":144897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa05ff8c0012d7f980005afd7c00002000628..."} 
[2026-07-27 03:14:11] local.INFO: Packet analysis {"connection_id":144897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa05f"} 
[2026-07-27 03:14:11] local.INFO: Extracted packet for processing {"connection_id":144897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa05f"} 
[2026-07-27 03:14:11] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 03: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-07-27 03:14:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986053376001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:14:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:14:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:14:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:14:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785102072000,"timestamp_ms":1785102072000,"timestamp_seconds":1785102072,"priority":1,"record_length":96,"hex_timestamp":"0000019fa05ff8c0"} 
[2026-07-27 03:14:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 03:14:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 03: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-07-27 03: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-07-27 03: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-07-27 03:14:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 03:14:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:14:11] local.INFO: Teltonika packet parsed successfully {"connection_id":144897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:14:11] local.INFO: Passing IMEI to GPS processor {"connection_id":144897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:14:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":144897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:14: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-07-27 03:14:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:14:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:14:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986053376001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:14:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:14:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:14:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986053376001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:14:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:14:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:14:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:14:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:14:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986053376001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:14:11] local.INFO: DEBUG: GPS processor result {"connection_id":144897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:14:11] local.INFO: GPS data processed {"connection_id":144897,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:14:11] local.INFO: Acknowledgment sent {"connection_id":144897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:14:33] local.INFO: TCP Data received {"connection_id":142596,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:14:33] local.INFO: Processing buffer {"connection_id":142596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:14:33] local.INFO: IMEI packet received {"connection_id":142596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 03:14:33] local.INFO: IMEI acknowledgment sent {"connection_id":142596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 03:14:38] local.INFO: TCP Data received {"connection_id":142596,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:14:38] local.INFO: Processing buffer {"connection_id":142596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:14:38] local.INFO: IMEI packet received {"connection_id":142596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 03:14:38] local.INFO: IMEI acknowledgment sent {"connection_id":142596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 03:14:39] local.INFO: TCP Data received {"connection_id":142596,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa05ff8c0012d7f980005afd7c00002000628..."} 
[2026-07-27 03:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa05ff8c0012d7f980005afd7c00002000628..."} 
[2026-07-27 03:14:39] local.INFO: Processing buffer {"connection_id":142596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa05ff8c0012d7f980005afd7c00002000628..."} 
[2026-07-27 03:14:39] local.INFO: Packet analysis {"connection_id":142596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa05f"} 
[2026-07-27 03:14:39] local.INFO: Extracted packet for processing {"connection_id":142596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa05f"} 
[2026-07-27 03:14:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 03:14:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 03:14:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986053376001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:14:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:14:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:14:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:14:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785102072000,"timestamp_ms":1785102072000,"timestamp_seconds":1785102072,"priority":1,"record_length":96,"hex_timestamp":"0000019fa05ff8c0"} 
[2026-07-27 03:14:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 03:14:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 03:14:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 03:14: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-07-27 03:14:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 03:14:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 03:14:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:14:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:14:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:14:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:14:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 03:14:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:14:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:14:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986053376001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:14:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:14:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:14:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986053376001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:14:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:14:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:14:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:14:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:14:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986053376001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:14:39] local.INFO: DEBUG: GPS processor result {"connection_id":142596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:14:39] local.INFO: GPS data processed {"connection_id":142596,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:14:39] local.INFO: Acknowledgment sent {"connection_id":142596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:15:10] local.INFO: TCP Data received {"connection_id":142596,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa05ff8c0012d7f980005afd7c00002000628..."} 
[2026-07-27 03:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa05ff8c0012d7f980005afd7c00002000628..."} 
[2026-07-27 03:15:10] local.INFO: Processing buffer {"connection_id":142596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa05ff8c0012d7f980005afd7c00002000628..."} 
[2026-07-27 03:15:10] local.INFO: Packet analysis {"connection_id":142596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa05f"} 
[2026-07-27 03:15:10] local.INFO: Extracted packet for processing {"connection_id":142596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa05f"} 
[2026-07-27 03:15:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 03:15:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986053376001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:15:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:15:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:15:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:15:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785102072000,"timestamp_ms":1785102072000,"timestamp_seconds":1785102072,"priority":1,"record_length":96,"hex_timestamp":"0000019fa05ff8c0"} 
[2026-07-27 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-07-27 03:15:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":53,"data_length":795,"current_offset":136} 
[2026-07-27 03:15:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 03:15:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:15:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:15:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:15:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:15:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 03:15:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:15:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:15:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986053376001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:15:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:15:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:15:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986053376001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:15:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:15:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:15:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:15:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:15:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986053376001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:15:10] local.INFO: DEBUG: GPS processor result {"connection_id":142596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:15:10] local.INFO: GPS data processed {"connection_id":142596,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:15:10] local.INFO: Acknowledgment sent {"connection_id":142596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:15:10] local.INFO: TCP Data received {"connection_id":143564,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 03:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143564,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 03:15:10] local.INFO: Processing buffer {"connection_id":143564,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 03:15:10] local.INFO: IMEI packet received {"connection_id":143564,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 03:15:10] local.INFO: IMEI acknowledgment sent {"connection_id":143564,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 03:15:33] local.INFO: TCP Data received {"connection_id":143565,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:15:33] local.INFO: Processing buffer {"connection_id":143565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:15:33] local.INFO: IMEI packet received {"connection_id":143565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 03:15:33] local.INFO: IMEI acknowledgment sent {"connection_id":143565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 03:15:38] local.INFO: TCP Data received {"connection_id":143565,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:15:38] local.INFO: Processing buffer {"connection_id":143565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:15:38] local.INFO: IMEI packet received {"connection_id":143565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 03:15:38] local.INFO: IMEI acknowledgment sent {"connection_id":143565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 03:15:39] local.INFO: TCP Data received {"connection_id":143565,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fa05ff8c0012d7f980005afd7c00002000628..."} 
[2026-07-27 03:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143565,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa05ff8c0012d7f980005afd7c00002000628..."} 
[2026-07-27 03:15:39] local.INFO: Processing buffer {"connection_id":143565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa05ff8c0012d7f980005afd7c00002000628..."} 
[2026-07-27 03:15:39] local.INFO: Packet analysis {"connection_id":143565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa05f"} 
[2026-07-27 03:15:39] local.INFO: Extracted packet for processing {"connection_id":143565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa05f"} 
[2026-07-27 03:15:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 03:15:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 03:15:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986053376001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:15:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:15:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:15:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:15:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785102072000,"timestamp_ms":1785102072000,"timestamp_seconds":1785102072,"priority":1,"record_length":96,"hex_timestamp":"0000019fa05ff8c0"} 
[2026-07-27 03:15:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 03:15:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 03:15:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 03: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-07-27 03:15:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 03:15:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 03:15:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:15:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:15:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:15:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:15:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 03:15:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:15:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:15:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986053376001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:15:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:15:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:15:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986053376001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:15:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:15:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:15:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:15:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:15:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986053376001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:15:39] local.INFO: DEBUG: GPS processor result {"connection_id":143565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:15:39] local.INFO: GPS data processed {"connection_id":143565,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:15:39] local.INFO: Acknowledgment sent {"connection_id":143565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:15:50] local.INFO: TCP Data received {"connection_id":142597,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 03:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142597,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 03:15:50] local.INFO: Processing buffer {"connection_id":142597,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 03:15:50] local.INFO: IMEI packet received {"connection_id":142597,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 03:15:50] local.INFO: IMEI acknowledgment sent {"connection_id":142597,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 03:16:10] local.INFO: TCP Data received {"connection_id":143565,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fa05ff8c0012d7f980005afd7c00002000628..."} 
[2026-07-27 03:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143565,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa05ff8c0012d7f980005afd7c00002000628..."} 
[2026-07-27 03:16:10] local.INFO: Processing buffer {"connection_id":143565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa05ff8c0012d7f980005afd7c00002000628..."} 
[2026-07-27 03:16:10] local.INFO: Packet analysis {"connection_id":143565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa05f"} 
[2026-07-27 03:16:10] local.INFO: Extracted packet for processing {"connection_id":143565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa05f"} 
[2026-07-27 03:16:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 03:16:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986053376001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:16:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:16:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:16:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:16:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785102072000,"timestamp_ms":1785102072000,"timestamp_seconds":1785102072,"priority":1,"record_length":96,"hex_timestamp":"0000019fa05ff8c0"} 
[2026-07-27 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-07-27 03:16:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":53,"data_length":795,"current_offset":136} 
[2026-07-27 03: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-07-27 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-07-27 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-07-27 03:16:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:16:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:16:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:16:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 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-07-27 03:16:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:16:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:16:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986053376001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:16:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:16:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:16:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986053376001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:16:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:16:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:16:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:16:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:16:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986053376001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:16:10] local.INFO: DEBUG: GPS processor result {"connection_id":143565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:16:10] local.INFO: GPS data processed {"connection_id":143565,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:16:10] local.INFO: Acknowledgment sent {"connection_id":143565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:16:33] local.INFO: TCP Data received {"connection_id":142510,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:16:33] local.INFO: Processing buffer {"connection_id":142510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:16:33] local.INFO: IMEI packet received {"connection_id":142510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 03:16:33] local.INFO: IMEI acknowledgment sent {"connection_id":142510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 03:16:38] local.INFO: TCP Data received {"connection_id":142510,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:16:38] local.INFO: Processing buffer {"connection_id":142510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:16:38] local.INFO: IMEI packet received {"connection_id":142510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 03:16:38] local.INFO: IMEI acknowledgment sent {"connection_id":142510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 03:16:39] local.INFO: TCP Data received {"connection_id":142510,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fa05ff8c0012d7f980005afd7c00002000628..."} 
[2026-07-27 03:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa05ff8c0012d7f980005afd7c00002000628..."} 
[2026-07-27 03:16:39] local.INFO: Processing buffer {"connection_id":142510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa05ff8c0012d7f980005afd7c00002000628..."} 
[2026-07-27 03:16:39] local.INFO: Packet analysis {"connection_id":142510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa05f"} 
[2026-07-27 03:16:39] local.INFO: Extracted packet for processing {"connection_id":142510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa05f"} 
[2026-07-27 03:16:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 03: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-07-27 03:16:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986053376001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:16:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:16:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:16:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:16:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785102072000,"timestamp_ms":1785102072000,"timestamp_seconds":1785102072,"priority":1,"record_length":96,"hex_timestamp":"0000019fa05ff8c0"} 
[2026-07-27 03:16:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 03:16:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 03: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":53,"data_length":795,"current_offset":136} 
[2026-07-27 03:16: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-07-27 03: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-07-27 03:16:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 03:16:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:16:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:16:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:16:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:16:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 03:16:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:16:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:16:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986053376001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:16:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:16:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:16:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986053376001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:16:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:16:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:16:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:16:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:16:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986053376001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:16:39] local.INFO: DEBUG: GPS processor result {"connection_id":142510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:16:39] local.INFO: GPS data processed {"connection_id":142510,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:16:39] local.INFO: Acknowledgment sent {"connection_id":142510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:17:10] local.INFO: TCP Data received {"connection_id":142510,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0649088012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0649088012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:17:10] local.INFO: Processing buffer {"connection_id":142510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0649088012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:17:10] local.INFO: Packet analysis {"connection_id":142510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa064"} 
[2026-07-27 03:17:10] local.INFO: Extracted packet for processing {"connection_id":142510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa064"} 
[2026-07-27 03:17:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 03:17:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986130432001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:17:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:17:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:17:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:17:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785102373000,"timestamp_ms":1785102373000,"timestamp_seconds":1785102373,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0649088"} 
[2026-07-27 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-07-27 03:17:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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-07-27 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-07-27 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-07-27 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-07-27 03:17:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:17:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:17:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:17:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:17:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 03:17:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:17:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:17:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986130432001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:17:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:17:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:17:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986130432001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:17:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:17:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:17:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:17:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:17:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986130432001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:17:10] local.INFO: DEBUG: GPS processor result {"connection_id":142510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:17:10] local.INFO: GPS data processed {"connection_id":142510,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:17:10] local.INFO: Acknowledgment sent {"connection_id":142510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:17:35] local.INFO: TCP Data received {"connection_id":144898,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:17:35] local.INFO: Processing buffer {"connection_id":144898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:17:35] local.INFO: IMEI packet received {"connection_id":144898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 03:17:35] local.INFO: IMEI acknowledgment sent {"connection_id":144898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 03:17:38] local.INFO: TCP Data received {"connection_id":144898,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:17:38] local.INFO: Processing buffer {"connection_id":144898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:17:38] local.INFO: IMEI packet received {"connection_id":144898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 03:17:38] local.INFO: IMEI acknowledgment sent {"connection_id":144898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 03:17:39] local.INFO: TCP Data received {"connection_id":144898,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0649088012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144898,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0649088012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:17:39] local.INFO: Processing buffer {"connection_id":144898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0649088012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:17:39] local.INFO: Packet analysis {"connection_id":144898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa064"} 
[2026-07-27 03:17:39] local.INFO: Extracted packet for processing {"connection_id":144898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa064"} 
[2026-07-27 03:17:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 03:17:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 03:17:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986130432001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:17:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:17:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:17:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:17:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785102373000,"timestamp_ms":1785102373000,"timestamp_seconds":1785102373,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0649088"} 
[2026-07-27 03:17:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 03:17:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 03:17:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 03: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-07-27 03:17:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 03:17:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 03:17:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:17:39] local.INFO: Teltonika packet parsed successfully {"connection_id":144898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:17:39] local.INFO: Passing IMEI to GPS processor {"connection_id":144898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:17:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":144898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:17:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 03:17:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:17:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:17:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986130432001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:17:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:17:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:17:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986130432001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:17:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:17:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:17:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:17:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:17:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986130432001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:17:39] local.INFO: DEBUG: GPS processor result {"connection_id":144898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:17:39] local.INFO: GPS data processed {"connection_id":144898,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:17:39] local.INFO: Acknowledgment sent {"connection_id":144898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:17:44] local.INFO: TCP Data received {"connection_id":144898,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0649088012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144898,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0649088012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:17:44] local.INFO: Processing buffer {"connection_id":144898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0649088012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:17:44] local.INFO: Packet analysis {"connection_id":144898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa064"} 
[2026-07-27 03:17:44] local.INFO: Extracted packet for processing {"connection_id":144898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa064"} 
[2026-07-27 03:17:44] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 03:17:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 03:17:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986130432001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:17:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:17:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:17:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:17:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785102373000,"timestamp_ms":1785102373000,"timestamp_seconds":1785102373,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0649088"} 
[2026-07-27 03:17:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 03:17:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 03:17: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-07-27 03:17: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-07-27 03:17:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 03:17:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 03:17:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:17:44] local.INFO: Teltonika packet parsed successfully {"connection_id":144898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:17:44] local.INFO: Passing IMEI to GPS processor {"connection_id":144898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:17:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":144898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:17:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 03:17:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:17:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:17:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986130432001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:17:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:17:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:17:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986130432001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:17:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:17:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:17:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:17:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:17:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986130432001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:17:44] local.INFO: DEBUG: GPS processor result {"connection_id":144898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:17:44] local.INFO: GPS data processed {"connection_id":144898,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:17:44] local.INFO: Acknowledgment sent {"connection_id":144898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:18:15] local.INFO: TCP Data received {"connection_id":144898,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0649088012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144898,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0649088012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:18:15] local.INFO: Processing buffer {"connection_id":144898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0649088012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:18:15] local.INFO: Packet analysis {"connection_id":144898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa064"} 
[2026-07-27 03:18:15] local.INFO: Extracted packet for processing {"connection_id":144898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa064"} 
[2026-07-27 03:18:15] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 03:18:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 03:18:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986130432001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:18:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:18:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:18:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:18:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785102373000,"timestamp_ms":1785102373000,"timestamp_seconds":1785102373,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0649088"} 
[2026-07-27 03:18:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 03:18:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 03:18:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 03:18: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-07-27 03:18:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 03:18:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 03:18:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:18:15] local.INFO: Teltonika packet parsed successfully {"connection_id":144898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:18:15] local.INFO: Passing IMEI to GPS processor {"connection_id":144898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:18:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":144898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:18:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 03:18:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:18:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:18:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986130432001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:18:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:18:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:18:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986130432001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:18:15] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:18:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:18:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:18:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:18:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986130432001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:18:15] local.INFO: DEBUG: GPS processor result {"connection_id":144898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:18:15] local.INFO: GPS data processed {"connection_id":144898,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:18:15] local.INFO: Acknowledgment sent {"connection_id":144898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:18:33] local.INFO: TCP Data received {"connection_id":143566,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:18:33] local.INFO: Processing buffer {"connection_id":143566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:18:33] local.INFO: IMEI packet received {"connection_id":143566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 03:18:33] local.INFO: IMEI acknowledgment sent {"connection_id":143566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 03:18:38] local.INFO: TCP Data received {"connection_id":143566,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:18:38] local.INFO: Processing buffer {"connection_id":143566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:18:38] local.INFO: IMEI packet received {"connection_id":143566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 03:18:38] local.INFO: IMEI acknowledgment sent {"connection_id":143566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 03:18:39] local.INFO: TCP Data received {"connection_id":143566,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0649088012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0649088012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:18:39] local.INFO: Processing buffer {"connection_id":143566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0649088012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:18:39] local.INFO: Packet analysis {"connection_id":143566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa064"} 
[2026-07-27 03:18:39] local.INFO: Extracted packet for processing {"connection_id":143566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa064"} 
[2026-07-27 03:18:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 03:18:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 03:18:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986130432001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:18:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:18:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:18:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:18:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785102373000,"timestamp_ms":1785102373000,"timestamp_seconds":1785102373,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0649088"} 
[2026-07-27 03:18:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 03:18:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 03: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-07-27 03: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-07-27 03:18:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 03:18:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 03:18:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:18:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:18:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:18:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:18:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 03:18:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:18:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:18:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986130432001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:18:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:18:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:18:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986130432001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:18:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:18:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:18:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:18:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:18:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986130432001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:18:39] local.INFO: DEBUG: GPS processor result {"connection_id":143566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:18:39] local.INFO: GPS data processed {"connection_id":143566,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:18:39] local.INFO: Acknowledgment sent {"connection_id":143566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:19:10] local.INFO: TCP Data received {"connection_id":143566,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0649088012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0649088012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:19:10] local.INFO: Processing buffer {"connection_id":143566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0649088012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:19:10] local.INFO: Packet analysis {"connection_id":143566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa064"} 
[2026-07-27 03:19:10] local.INFO: Extracted packet for processing {"connection_id":143566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa064"} 
[2026-07-27 03:19:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 03:19:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986130432001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:19:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:19:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:19:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:19:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785102373000,"timestamp_ms":1785102373000,"timestamp_seconds":1785102373,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0649088"} 
[2026-07-27 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-07-27 03:19:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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-07-27 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-07-27 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-07-27 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-07-27 03:19:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:19:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:19:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:19:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:19:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 03:19:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:19:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:19:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986130432001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:19:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:19:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:19:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986130432001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:19:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:19:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:19:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:19:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:19:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986130432001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:19:10] local.INFO: DEBUG: GPS processor result {"connection_id":143566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:19:10] local.INFO: GPS data processed {"connection_id":143566,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:19:10] local.INFO: Acknowledgment sent {"connection_id":143566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:19:33] local.INFO: TCP Data received {"connection_id":143568,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:19:33] local.INFO: Processing buffer {"connection_id":143568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:19:33] local.INFO: IMEI packet received {"connection_id":143568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 03:19:33] local.INFO: IMEI acknowledgment sent {"connection_id":143568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 03:19:38] local.INFO: TCP Data received {"connection_id":143568,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:19:38] local.INFO: Processing buffer {"connection_id":143568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:19:38] local.INFO: IMEI packet received {"connection_id":143568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 03:19:38] local.INFO: IMEI acknowledgment sent {"connection_id":143568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 03:19:39] local.INFO: TCP Data received {"connection_id":143568,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0649088012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:19:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0649088012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:19:39] local.INFO: Processing buffer {"connection_id":143568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0649088012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:19:39] local.INFO: Packet analysis {"connection_id":143568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa064"} 
[2026-07-27 03:19:39] local.INFO: Extracted packet for processing {"connection_id":143568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa064"} 
[2026-07-27 03:19:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 03:19:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 03:19:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986130432001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:19:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:19:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:19:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:19:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785102373000,"timestamp_ms":1785102373000,"timestamp_seconds":1785102373,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0649088"} 
[2026-07-27 03:19:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 03:19:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 03:19:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 03: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-07-27 03:19:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 03:19:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 03:19:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:19:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:19:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:19:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:19:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 03:19:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:19:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:19:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986130432001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:19:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:19:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:19:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986130432001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:19:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:19:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:19:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:19:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:19:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986130432001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:19:39] local.INFO: DEBUG: GPS processor result {"connection_id":143568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:19:39] local.INFO: GPS data processed {"connection_id":143568,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:19:39] local.INFO: Acknowledgment sent {"connection_id":143568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:20:10] local.INFO: TCP Data received {"connection_id":143568,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0649088012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0649088012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:20:10] local.INFO: Processing buffer {"connection_id":143568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0649088012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:20:10] local.INFO: Packet analysis {"connection_id":143568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa064"} 
[2026-07-27 03:20:10] local.INFO: Extracted packet for processing {"connection_id":143568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa064"} 
[2026-07-27 03:20:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 03:20:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986130432001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:20:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:20:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:20:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:20:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785102373000,"timestamp_ms":1785102373000,"timestamp_seconds":1785102373,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0649088"} 
[2026-07-27 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-07-27 03:20:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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-07-27 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-07-27 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-07-27 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-07-27 03:20:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:20:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:20:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:20:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:20:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 03:20:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:20:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:20:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986130432001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:20:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:20:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:20:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986130432001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:20:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:20:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:20:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:20:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:20:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986130432001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:20:10] local.INFO: DEBUG: GPS processor result {"connection_id":143568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:20:10] local.INFO: GPS data processed {"connection_id":143568,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:20:10] local.INFO: Acknowledgment sent {"connection_id":143568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:20:33] local.INFO: TCP Data received {"connection_id":143569,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:20:33] local.INFO: Processing buffer {"connection_id":143569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:20:33] local.INFO: IMEI packet received {"connection_id":143569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 03:20:33] local.INFO: IMEI acknowledgment sent {"connection_id":143569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 03:20:38] local.INFO: TCP Data received {"connection_id":143569,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:20:38] local.INFO: Processing buffer {"connection_id":143569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:20:38] local.INFO: IMEI packet received {"connection_id":143569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 03:20:38] local.INFO: IMEI acknowledgment sent {"connection_id":143569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 03:20:39] local.INFO: TCP Data received {"connection_id":143569,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0649088012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143569,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0649088012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:20:39] local.INFO: Processing buffer {"connection_id":143569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0649088012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:20:39] local.INFO: Packet analysis {"connection_id":143569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa064"} 
[2026-07-27 03:20:39] local.INFO: Extracted packet for processing {"connection_id":143569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa064"} 
[2026-07-27 03:20:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 03:20:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 03:20:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986130432001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:20:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:20:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:20:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:20:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785102373000,"timestamp_ms":1785102373000,"timestamp_seconds":1785102373,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0649088"} 
[2026-07-27 03:20:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 03:20:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 03:20:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 03:20: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-07-27 03:20:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 03:20:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 03:20:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:20:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:20:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:20:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:20:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 03:20:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:20:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:20:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986130432001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:20:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:20:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:20:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986130432001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:20:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:20:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:20:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:20:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:20:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986130432001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:20:39] local.INFO: DEBUG: GPS processor result {"connection_id":143569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:20:39] local.INFO: GPS data processed {"connection_id":143569,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:20:39] local.INFO: Acknowledgment sent {"connection_id":143569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:21:10] local.INFO: TCP Data received {"connection_id":143569,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0649088012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143569,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0649088012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:21:10] local.INFO: Processing buffer {"connection_id":143569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0649088012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:21:10] local.INFO: Packet analysis {"connection_id":143569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa064"} 
[2026-07-27 03:21:10] local.INFO: Extracted packet for processing {"connection_id":143569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa064"} 
[2026-07-27 03:21:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 03:21:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 03:21:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986130432001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:21:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:21:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:21:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:21:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785102373000,"timestamp_ms":1785102373000,"timestamp_seconds":1785102373,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0649088"} 
[2026-07-27 03:21:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 03:21:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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-07-27 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-07-27 03:21:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 03:21:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 03:21:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:21:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:21:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:21:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:21:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 03:21:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:21:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:21:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986130432001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:21:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:21:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:21:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986130432001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:21:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:21:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:21:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:21:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:21:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986130432001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:21:10] local.INFO: DEBUG: GPS processor result {"connection_id":143569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:21:10] local.INFO: GPS data processed {"connection_id":143569,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:21:10] local.INFO: Acknowledgment sent {"connection_id":143569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:21:10] local.INFO: TCP Data received {"connection_id":144901,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 03:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144901,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 03:21:10] local.INFO: Processing buffer {"connection_id":144901,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 03:21:10] local.INFO: IMEI packet received {"connection_id":144901,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 03:21:10] local.INFO: IMEI acknowledgment sent {"connection_id":144901,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 03:21:33] local.INFO: TCP Data received {"connection_id":142599,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:21:33] local.INFO: Processing buffer {"connection_id":142599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:21:33] local.INFO: IMEI packet received {"connection_id":142599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 03:21:33] local.INFO: IMEI acknowledgment sent {"connection_id":142599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 03:21:38] local.INFO: TCP Data received {"connection_id":142599,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:21:38] local.INFO: Processing buffer {"connection_id":142599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:21:38] local.INFO: IMEI packet received {"connection_id":142599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 03:21:38] local.INFO: IMEI acknowledgment sent {"connection_id":142599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 03:21:39] local.INFO: TCP Data received {"connection_id":142599,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0649088012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0649088012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:21:39] local.INFO: Processing buffer {"connection_id":142599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0649088012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:21:39] local.INFO: Packet analysis {"connection_id":142599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa064"} 
[2026-07-27 03:21:39] local.INFO: Extracted packet for processing {"connection_id":142599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa064"} 
[2026-07-27 03:21:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 03:21:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 03:21:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986130432001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:21:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:21:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:21:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:21:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785102373000,"timestamp_ms":1785102373000,"timestamp_seconds":1785102373,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0649088"} 
[2026-07-27 03:21:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 03:21:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 03:21:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 03:21: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-07-27 03:21:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 03:21:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 03:21:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:21:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:21:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:21:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:21:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 03:21:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:21:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:21:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986130432001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:21:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:21:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:21:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986130432001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:21:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:21:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:21:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:21:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:21:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986130432001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:21:39] local.INFO: DEBUG: GPS processor result {"connection_id":142599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:21:39] local.INFO: GPS data processed {"connection_id":142599,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:21:39] local.INFO: Acknowledgment sent {"connection_id":142599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:21:45] local.INFO: TCP Data received {"connection_id":144902,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 03:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144902,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 03:21:45] local.INFO: Processing buffer {"connection_id":144902,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 03:21:45] local.INFO: IMEI packet received {"connection_id":144902,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 03:21:45] local.INFO: IMEI acknowledgment sent {"connection_id":144902,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 03:22:10] local.INFO: TCP Data received {"connection_id":142599,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0692850012d7f980005afd7c00002000628..."} 
[2026-07-27 03:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0692850012d7f980005afd7c00002000628..."} 
[2026-07-27 03:22:10] local.INFO: Processing buffer {"connection_id":142599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0692850012d7f980005afd7c00002000628..."} 
[2026-07-27 03:22:10] local.INFO: Packet analysis {"connection_id":142599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa069"} 
[2026-07-27 03:22:10] local.INFO: Extracted packet for processing {"connection_id":142599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa069"} 
[2026-07-27 03:22:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 03:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 03:22:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986207488001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:22:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:22:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:22:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:22:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785102674000,"timestamp_ms":1785102674000,"timestamp_seconds":1785102674,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0692850"} 
[2026-07-27 03:22:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 03:22:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 03: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-07-27 03: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-07-27 03:22:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 03:22:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 03:22:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:22:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:22:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:22:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:22:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 03:22:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:22:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:22:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986207488001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:22:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:22:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:22:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986207488001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:22:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:22:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:22:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:22:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:22:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986207488001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:22:10] local.INFO: DEBUG: GPS processor result {"connection_id":142599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:22:10] local.INFO: GPS data processed {"connection_id":142599,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:22:10] local.INFO: Acknowledgment sent {"connection_id":142599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:22:33] local.INFO: TCP Data received {"connection_id":143570,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:22:33] local.INFO: Processing buffer {"connection_id":143570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:22:33] local.INFO: IMEI packet received {"connection_id":143570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 03:22:33] local.INFO: IMEI acknowledgment sent {"connection_id":143570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 03:22:38] local.INFO: TCP Data received {"connection_id":143570,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:22:38] local.INFO: Processing buffer {"connection_id":143570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:22:38] local.INFO: IMEI packet received {"connection_id":143570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 03:22:38] local.INFO: IMEI acknowledgment sent {"connection_id":143570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 03:22:39] local.INFO: TCP Data received {"connection_id":143570,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0692850012d7f980005afd7c00002000628..."} 
[2026-07-27 03:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143570,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0692850012d7f980005afd7c00002000628..."} 
[2026-07-27 03:22:39] local.INFO: Processing buffer {"connection_id":143570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0692850012d7f980005afd7c00002000628..."} 
[2026-07-27 03:22:39] local.INFO: Packet analysis {"connection_id":143570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa069"} 
[2026-07-27 03:22:39] local.INFO: Extracted packet for processing {"connection_id":143570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa069"} 
[2026-07-27 03:22:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 03:22:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 03:22:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986207488001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:22:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:22:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:22:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:22:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785102674000,"timestamp_ms":1785102674000,"timestamp_seconds":1785102674,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0692850"} 
[2026-07-27 03:22:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 03:22:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 03: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":53,"data_length":795,"current_offset":136} 
[2026-07-27 03:22: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-07-27 03:22:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 03:22:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 03:22:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:22:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:22:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:22:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:22:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 03:22:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:22:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:22:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986207488001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:22:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:22:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:22:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986207488001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:22:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:22:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:22:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:22:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:22:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986207488001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:22:39] local.INFO: DEBUG: GPS processor result {"connection_id":143570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:22:39] local.INFO: GPS data processed {"connection_id":143570,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:22:39] local.INFO: Acknowledgment sent {"connection_id":143570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:23:10] local.INFO: TCP Data received {"connection_id":143570,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0692850012d7f980005afd7c00002000628..."} 
[2026-07-27 03:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143570,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0692850012d7f980005afd7c00002000628..."} 
[2026-07-27 03:23:10] local.INFO: Processing buffer {"connection_id":143570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0692850012d7f980005afd7c00002000628..."} 
[2026-07-27 03:23:10] local.INFO: Packet analysis {"connection_id":143570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa069"} 
[2026-07-27 03:23:10] local.INFO: Extracted packet for processing {"connection_id":143570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa069"} 
[2026-07-27 03:23:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 03:23:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986207488001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:23:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:23:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:23:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:23:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785102674000,"timestamp_ms":1785102674000,"timestamp_seconds":1785102674,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0692850"} 
[2026-07-27 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-07-27 03:23:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":53,"data_length":795,"current_offset":136} 
[2026-07-27 03: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-07-27 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-07-27 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-07-27 03:23:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:23:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:23:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:23:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:23:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 03:23:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:23:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:23:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986207488001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:23:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:23:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:23:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986207488001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:23:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:23:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:23:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:23:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:23:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986207488001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:23:10] local.INFO: DEBUG: GPS processor result {"connection_id":143570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:23:10] local.INFO: GPS data processed {"connection_id":143570,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:23:10] local.INFO: Acknowledgment sent {"connection_id":143570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:23:34] local.INFO: TCP Data received {"connection_id":143571,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:23:34] local.INFO: Processing buffer {"connection_id":143571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:23:34] local.INFO: IMEI packet received {"connection_id":143571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 03:23:34] local.INFO: IMEI acknowledgment sent {"connection_id":143571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 03:23:38] local.INFO: TCP Data received {"connection_id":143571,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:23:38] local.INFO: Processing buffer {"connection_id":143571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:23:38] local.INFO: IMEI packet received {"connection_id":143571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 03:23:38] local.INFO: IMEI acknowledgment sent {"connection_id":143571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 03:23:39] local.INFO: TCP Data received {"connection_id":143571,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0692850012d7f980005afd7c00002000628..."} 
[2026-07-27 03:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0692850012d7f980005afd7c00002000628..."} 
[2026-07-27 03:23:39] local.INFO: Processing buffer {"connection_id":143571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0692850012d7f980005afd7c00002000628..."} 
[2026-07-27 03:23:39] local.INFO: Packet analysis {"connection_id":143571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa069"} 
[2026-07-27 03:23:39] local.INFO: Extracted packet for processing {"connection_id":143571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa069"} 
[2026-07-27 03:23:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 03:23:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 03:23:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986207488001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:23:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:23:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:23:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:23:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785102674000,"timestamp_ms":1785102674000,"timestamp_seconds":1785102674,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0692850"} 
[2026-07-27 03:23:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 03:23:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 03: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":53,"data_length":795,"current_offset":136} 
[2026-07-27 03:23: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-07-27 03:23:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 03:23:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 03:23:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:23:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:23:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:23:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:23:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 03:23:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:23:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:23:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986207488001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:23:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:23:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:23:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986207488001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:23:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:23:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:23:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:23:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:23:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986207488001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:23:39] local.INFO: DEBUG: GPS processor result {"connection_id":143571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:23:39] local.INFO: GPS data processed {"connection_id":143571,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:23:39] local.INFO: Acknowledgment sent {"connection_id":143571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:24:10] local.INFO: TCP Data received {"connection_id":143571,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0692850012d7f980005afd7c00002000628..."} 
[2026-07-27 03:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0692850012d7f980005afd7c00002000628..."} 
[2026-07-27 03:24:10] local.INFO: Processing buffer {"connection_id":143571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0692850012d7f980005afd7c00002000628..."} 
[2026-07-27 03:24:10] local.INFO: Packet analysis {"connection_id":143571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa069"} 
[2026-07-27 03:24:10] local.INFO: Extracted packet for processing {"connection_id":143571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa069"} 
[2026-07-27 03:24:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 03:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 03:24:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986207488001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:24:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:24:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:24:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:24:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785102674000,"timestamp_ms":1785102674000,"timestamp_seconds":1785102674,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0692850"} 
[2026-07-27 03:24:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 03:24:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 03: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-07-27 03: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-07-27 03:24:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 03:24:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 03:24:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:24:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:24:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:24:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:24:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 03:24:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:24:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:24:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986207488001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:24:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:24:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:24:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986207488001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:24:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:24:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:24:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:24:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:24:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986207488001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:24:10] local.INFO: DEBUG: GPS processor result {"connection_id":143571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:24:10] local.INFO: GPS data processed {"connection_id":143571,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:24:10] local.INFO: Acknowledgment sent {"connection_id":143571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:24:33] local.INFO: TCP Data received {"connection_id":142512,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:24:33] local.INFO: Processing buffer {"connection_id":142512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:24:33] local.INFO: IMEI packet received {"connection_id":142512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 03:24:33] local.INFO: IMEI acknowledgment sent {"connection_id":142512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 03:24:38] local.INFO: TCP Data received {"connection_id":142512,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:24:38] local.INFO: Processing buffer {"connection_id":142512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:24:38] local.INFO: IMEI packet received {"connection_id":142512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 03:24:38] local.INFO: IMEI acknowledgment sent {"connection_id":142512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 03:24:39] local.INFO: TCP Data received {"connection_id":142512,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0692850012d7f980005afd7c00002000628..."} 
[2026-07-27 03:24:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142512,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0692850012d7f980005afd7c00002000628..."} 
[2026-07-27 03:24:39] local.INFO: Processing buffer {"connection_id":142512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0692850012d7f980005afd7c00002000628..."} 
[2026-07-27 03:24:39] local.INFO: Packet analysis {"connection_id":142512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa069"} 
[2026-07-27 03:24:39] local.INFO: Extracted packet for processing {"connection_id":142512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa069"} 
[2026-07-27 03:24:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 03:24:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 03:24:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986207488001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:24:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:24:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:24:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:24:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785102674000,"timestamp_ms":1785102674000,"timestamp_seconds":1785102674,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0692850"} 
[2026-07-27 03:24:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 03:24:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 03:24:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 03:24: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-07-27 03:24:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 03:24:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 03:24:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:24:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:24:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:24:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:24: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-07-27 03:24:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:24:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:24:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986207488001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:24:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:24:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:24:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986207488001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:24:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:24:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:24:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:24:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:24:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986207488001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:24:39] local.INFO: DEBUG: GPS processor result {"connection_id":142512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:24:39] local.INFO: GPS data processed {"connection_id":142512,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:24:39] local.INFO: Acknowledgment sent {"connection_id":142512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:25:11] local.INFO: TCP Data received {"connection_id":142512,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0692850012d7f980005afd7c00002000628..."} 
[2026-07-27 03:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142512,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0692850012d7f980005afd7c00002000628..."} 
[2026-07-27 03:25:11] local.INFO: Processing buffer {"connection_id":142512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0692850012d7f980005afd7c00002000628..."} 
[2026-07-27 03:25:11] local.INFO: Packet analysis {"connection_id":142512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa069"} 
[2026-07-27 03:25:11] local.INFO: Extracted packet for processing {"connection_id":142512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa069"} 
[2026-07-27 03:25:11] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 03:25:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 03:25:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986207488001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:25:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:25:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:25:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:25:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785102674000,"timestamp_ms":1785102674000,"timestamp_seconds":1785102674,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0692850"} 
[2026-07-27 03:25:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 03:25:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 03: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-07-27 03: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-07-27 03:25:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 03:25:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 03:25:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:25:11] local.INFO: Teltonika packet parsed successfully {"connection_id":142512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:25:11] local.INFO: Passing IMEI to GPS processor {"connection_id":142512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:25:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":142512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:25:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 03:25:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:25:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:25:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986207488001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:25:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:25:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:25:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986207488001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:25:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:25:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:25:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:25:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:25:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986207488001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:25:11] local.INFO: DEBUG: GPS processor result {"connection_id":142512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:25:11] local.INFO: GPS data processed {"connection_id":142512,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:25:11] local.INFO: Acknowledgment sent {"connection_id":142512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:25:33] local.INFO: TCP Data received {"connection_id":142513,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:25:33] local.INFO: Processing buffer {"connection_id":142513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:25:33] local.INFO: IMEI packet received {"connection_id":142513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 03:25:33] local.INFO: IMEI acknowledgment sent {"connection_id":142513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 03:25:38] local.INFO: TCP Data received {"connection_id":142513,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:25:38] local.INFO: Processing buffer {"connection_id":142513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:25:38] local.INFO: IMEI packet received {"connection_id":142513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 03:25:38] local.INFO: IMEI acknowledgment sent {"connection_id":142513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 03:25:39] local.INFO: TCP Data received {"connection_id":142513,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0692850012d7f980005afd7c00002000628..."} 
[2026-07-27 03:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142513,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0692850012d7f980005afd7c00002000628..."} 
[2026-07-27 03:25:39] local.INFO: Processing buffer {"connection_id":142513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0692850012d7f980005afd7c00002000628..."} 
[2026-07-27 03:25:39] local.INFO: Packet analysis {"connection_id":142513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa069"} 
[2026-07-27 03:25:39] local.INFO: Extracted packet for processing {"connection_id":142513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa069"} 
[2026-07-27 03:25:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 03:25:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 03:25:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986207488001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:25:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:25:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:25:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:25:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785102674000,"timestamp_ms":1785102674000,"timestamp_seconds":1785102674,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0692850"} 
[2026-07-27 03:25:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 03:25:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 03:25:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 03: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-07-27 03:25:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 03:25:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 03:25:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:25:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:25:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:25:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:25:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 03:25:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:25:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:25:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986207488001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:25:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:25:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:25:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986207488001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:25:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:25:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:25:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:25:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:25:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986207488001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:25:39] local.INFO: DEBUG: GPS processor result {"connection_id":142513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:25:39] local.INFO: GPS data processed {"connection_id":142513,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:25:39] local.INFO: Acknowledgment sent {"connection_id":142513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:26:11] local.INFO: TCP Data received {"connection_id":142513,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0692850012d7f980005afd7c00002000628..."} 
[2026-07-27 03:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142513,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0692850012d7f980005afd7c00002000628..."} 
[2026-07-27 03:26:11] local.INFO: Processing buffer {"connection_id":142513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0692850012d7f980005afd7c00002000628..."} 
[2026-07-27 03:26:11] local.INFO: Packet analysis {"connection_id":142513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa069"} 
[2026-07-27 03:26:11] local.INFO: Extracted packet for processing {"connection_id":142513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa069"} 
[2026-07-27 03:26:11] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 03:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 03:26:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986207488001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:26:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:26:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:26:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:26:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785102674000,"timestamp_ms":1785102674000,"timestamp_seconds":1785102674,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0692850"} 
[2026-07-27 03:26:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 03:26:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 03:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 03:26: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-07-27 03:26:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 03:26:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 03:26:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:26:11] local.INFO: Teltonika packet parsed successfully {"connection_id":142513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:26:11] local.INFO: Passing IMEI to GPS processor {"connection_id":142513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:26:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":142513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:26:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 03:26:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:26:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:26:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986207488001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:26:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:26:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:26:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986207488001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:26:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:26:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:26:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:26:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:26:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986207488001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:26:11] local.INFO: DEBUG: GPS processor result {"connection_id":142513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:26:11] local.INFO: GPS data processed {"connection_id":142513,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:26:11] local.INFO: Acknowledgment sent {"connection_id":142513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:26:33] local.INFO: TCP Data received {"connection_id":142515,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:26:33] local.INFO: Processing buffer {"connection_id":142515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:26:33] local.INFO: IMEI packet received {"connection_id":142515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 03:26:33] local.INFO: IMEI acknowledgment sent {"connection_id":142515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 03:26:38] local.INFO: TCP Data received {"connection_id":142515,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:26:38] local.INFO: Processing buffer {"connection_id":142515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:26:38] local.INFO: IMEI packet received {"connection_id":142515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 03:26:38] local.INFO: IMEI acknowledgment sent {"connection_id":142515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 03:26:39] local.INFO: TCP Data received {"connection_id":142515,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0692850012d7f980005afd7c00002000628..."} 
[2026-07-27 03:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0692850012d7f980005afd7c00002000628..."} 
[2026-07-27 03:26:39] local.INFO: Processing buffer {"connection_id":142515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0692850012d7f980005afd7c00002000628..."} 
[2026-07-27 03:26:39] local.INFO: Packet analysis {"connection_id":142515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa069"} 
[2026-07-27 03:26:39] local.INFO: Extracted packet for processing {"connection_id":142515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa069"} 
[2026-07-27 03:26:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 03:26:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 03:26:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986207488001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:26:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:26:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:26:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:26:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785102674000,"timestamp_ms":1785102674000,"timestamp_seconds":1785102674,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0692850"} 
[2026-07-27 03:26:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 03:26:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 03:26:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 03: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-07-27 03:26:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 03:26:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 03:26:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:26:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:26:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:26:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:26:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 03:26:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:26:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:26:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986207488001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:26:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:26:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:26:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986207488001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:26:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:26:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:26:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:26:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:26:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986207488001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:26:39] local.INFO: DEBUG: GPS processor result {"connection_id":142515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:26:39] local.INFO: GPS data processed {"connection_id":142515,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:26:39] local.INFO: Acknowledgment sent {"connection_id":142515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:27:10] local.INFO: TCP Data received {"connection_id":142515,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fa06dc018012d7f980005afd7c0000200062c..."} 
[2026-07-27 03:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa06dc018012d7f980005afd7c0000200062c..."} 
[2026-07-27 03:27:10] local.INFO: Processing buffer {"connection_id":142515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa06dc018012d7f980005afd7c0000200062c..."} 
[2026-07-27 03:27:10] local.INFO: Packet analysis {"connection_id":142515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa06d"} 
[2026-07-27 03:27:10] local.INFO: Extracted packet for processing {"connection_id":142515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa06d"} 
[2026-07-27 03:27:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":44,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 03:27:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986284544001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:27:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:27:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:27:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:27:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785102975000,"timestamp_ms":1785102975000,"timestamp_seconds":1785102975,"priority":1,"record_length":96,"hex_timestamp":"0000019fa06dc018"} 
[2026-07-27 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-07-27 03:27:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":53,"data_length":795,"current_offset":136} 
[2026-07-27 03: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-07-27 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-07-27 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-07-27 03:27:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:27:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:27:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:27:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:27:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 03:27:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:27:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:27:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986284544001,"66":25343,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:27:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:27:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:27:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986284544001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:27:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:27:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:27:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:27:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:27:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986284544001,"power":25343,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:27:10] local.INFO: DEBUG: GPS processor result {"connection_id":142515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:27:10] local.INFO: GPS data processed {"connection_id":142515,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:27:10] local.INFO: Acknowledgment sent {"connection_id":142515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:27:33] local.INFO: TCP Data received {"connection_id":142516,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:27:33] local.INFO: Processing buffer {"connection_id":142516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:27:33] local.INFO: IMEI packet received {"connection_id":142516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 03:27:33] local.INFO: IMEI acknowledgment sent {"connection_id":142516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 03:27:38] local.INFO: TCP Data received {"connection_id":142516,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:27:38] local.INFO: Processing buffer {"connection_id":142516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:27:38] local.INFO: IMEI packet received {"connection_id":142516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 03:27:38] local.INFO: IMEI acknowledgment sent {"connection_id":142516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 03:27:39] local.INFO: TCP Data received {"connection_id":142516,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fa06dc018012d7f980005afd7c0000200062c..."} 
[2026-07-27 03:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142516,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa06dc018012d7f980005afd7c0000200062c..."} 
[2026-07-27 03:27:39] local.INFO: Processing buffer {"connection_id":142516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa06dc018012d7f980005afd7c0000200062c..."} 
[2026-07-27 03:27:39] local.INFO: Packet analysis {"connection_id":142516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa06d"} 
[2026-07-27 03:27:39] local.INFO: Extracted packet for processing {"connection_id":142516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa06d"} 
[2026-07-27 03:27:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":44,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 03:27:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 03:27:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986284544001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:27:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:27:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:27:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:27:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785102975000,"timestamp_ms":1785102975000,"timestamp_seconds":1785102975,"priority":1,"record_length":96,"hex_timestamp":"0000019fa06dc018"} 
[2026-07-27 03:27:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 03:27:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 03: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":53,"data_length":795,"current_offset":136} 
[2026-07-27 03:27: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-07-27 03:27:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 03:27:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 03:27:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:27:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:27:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:27:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:27:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 03:27:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:27:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:27:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986284544001,"66":25343,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:27:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:27:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:27:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986284544001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:27:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:27:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:27:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:27:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:27:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986284544001,"power":25343,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:27:39] local.INFO: DEBUG: GPS processor result {"connection_id":142516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:27:39] local.INFO: GPS data processed {"connection_id":142516,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:27:39] local.INFO: Acknowledgment sent {"connection_id":142516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:28:05] local.INFO: TCP Data received {"connection_id":143573,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 03:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143573,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 03:28:05] local.INFO: Processing buffer {"connection_id":143573,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 03:28:05] local.INFO: IMEI packet received {"connection_id":143573,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 03:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":143573,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 03:28:10] local.INFO: TCP Data received {"connection_id":142516,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fa06dc018012d7f980005afd7c0000200062c..."} 
[2026-07-27 03:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142516,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa06dc018012d7f980005afd7c0000200062c..."} 
[2026-07-27 03:28:10] local.INFO: Processing buffer {"connection_id":142516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa06dc018012d7f980005afd7c0000200062c..."} 
[2026-07-27 03:28:10] local.INFO: Packet analysis {"connection_id":142516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa06d"} 
[2026-07-27 03:28:10] local.INFO: Extracted packet for processing {"connection_id":142516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa06d"} 
[2026-07-27 03:28:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":44,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 03:28:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986284544001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:28:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:28:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:28:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:28:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785102975000,"timestamp_ms":1785102975000,"timestamp_seconds":1785102975,"priority":1,"record_length":96,"hex_timestamp":"0000019fa06dc018"} 
[2026-07-27 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-07-27 03:28:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":53,"data_length":795,"current_offset":136} 
[2026-07-27 03: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-07-27 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-07-27 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-07-27 03:28:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:28:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:28:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:28:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 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-07-27 03:28:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:28:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:28:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986284544001,"66":25343,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:28:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:28:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:28:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986284544001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:28:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:28:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:28:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:28:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:28:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986284544001,"power":25343,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:28:10] local.INFO: DEBUG: GPS processor result {"connection_id":142516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:28:10] local.INFO: GPS data processed {"connection_id":142516,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:28:10] local.INFO: Acknowledgment sent {"connection_id":142516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:28:33] local.INFO: TCP Data received {"connection_id":144904,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:28:33] local.INFO: Processing buffer {"connection_id":144904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:28:33] local.INFO: IMEI packet received {"connection_id":144904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 03:28:33] local.INFO: IMEI acknowledgment sent {"connection_id":144904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 03:28:38] local.INFO: TCP Data received {"connection_id":144904,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:28:38] local.INFO: Processing buffer {"connection_id":144904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:28:38] local.INFO: IMEI packet received {"connection_id":144904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 03:28:38] local.INFO: IMEI acknowledgment sent {"connection_id":144904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 03:28:39] local.INFO: TCP Data received {"connection_id":144904,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa06dc018012d7f980005afd7c0000200062c..."} 
[2026-07-27 03:28:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144904,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa06dc018012d7f980005afd7c0000200062c..."} 
[2026-07-27 03:28:39] local.INFO: Processing buffer {"connection_id":144904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa06dc018012d7f980005afd7c0000200062c..."} 
[2026-07-27 03:28:39] local.INFO: Packet analysis {"connection_id":144904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa06d"} 
[2026-07-27 03:28:39] local.INFO: Extracted packet for processing {"connection_id":144904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa06d"} 
[2026-07-27 03:28:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":44,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 03:28:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 03:28:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986284544001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:28:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:28:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:28:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:28:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785102975000,"timestamp_ms":1785102975000,"timestamp_seconds":1785102975,"priority":1,"record_length":96,"hex_timestamp":"0000019fa06dc018"} 
[2026-07-27 03:28:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 03:28:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 03: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":53,"data_length":795,"current_offset":136} 
[2026-07-27 03:28: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-07-27 03:28:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 03:28:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 03:28:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:28:39] local.INFO: Teltonika packet parsed successfully {"connection_id":144904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:28:39] local.INFO: Passing IMEI to GPS processor {"connection_id":144904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:28:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":144904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:28:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 03:28:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:28:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:28:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986284544001,"66":25343,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:28:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:28:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:28:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986284544001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:28:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:28:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:28:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:28:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:28:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986284544001,"power":25343,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:28:39] local.INFO: DEBUG: GPS processor result {"connection_id":144904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:28:39] local.INFO: GPS data processed {"connection_id":144904,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:28:39] local.INFO: Acknowledgment sent {"connection_id":144904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:29:10] local.INFO: TCP Data received {"connection_id":144904,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa06dc018012d7f980005afd7c0000200062c..."} 
[2026-07-27 03:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144904,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa06dc018012d7f980005afd7c0000200062c..."} 
[2026-07-27 03:29:10] local.INFO: Processing buffer {"connection_id":144904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa06dc018012d7f980005afd7c0000200062c..."} 
[2026-07-27 03:29:10] local.INFO: Packet analysis {"connection_id":144904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa06d"} 
[2026-07-27 03:29:10] local.INFO: Extracted packet for processing {"connection_id":144904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa06d"} 
[2026-07-27 03:29:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":44,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 03:29:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 03:29:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986284544001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:29:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:29:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:29:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:29:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785102975000,"timestamp_ms":1785102975000,"timestamp_seconds":1785102975,"priority":1,"record_length":96,"hex_timestamp":"0000019fa06dc018"} 
[2026-07-27 03:29:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 03:29:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 03: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-07-27 03: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-07-27 03:29:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 03:29:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 03:29:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:29:10] local.INFO: Teltonika packet parsed successfully {"connection_id":144904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:29:10] local.INFO: Passing IMEI to GPS processor {"connection_id":144904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:29:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":144904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03: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-07-27 03:29:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:29:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:29:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986284544001,"66":25343,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:29:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:29:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:29:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986284544001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:29:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:29:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:29:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:29:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:29:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986284544001,"power":25343,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:29:10] local.INFO: DEBUG: GPS processor result {"connection_id":144904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:29:10] local.INFO: GPS data processed {"connection_id":144904,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:29:10] local.INFO: Acknowledgment sent {"connection_id":144904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:29:33] local.INFO: TCP Data received {"connection_id":143574,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:29:33] local.INFO: Processing buffer {"connection_id":143574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:29:33] local.INFO: IMEI packet received {"connection_id":143574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 03:29:33] local.INFO: IMEI acknowledgment sent {"connection_id":143574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 03:29:39] local.INFO: TCP Data received {"connection_id":143574,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:29:39] local.INFO: Processing buffer {"connection_id":143574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:29:39] local.INFO: IMEI packet received {"connection_id":143574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 03:29:39] local.INFO: IMEI acknowledgment sent {"connection_id":143574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 03:29:40] local.INFO: TCP Data received {"connection_id":143574,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa06dc018012d7f980005afd7c0000200062c..."} 
[2026-07-27 03:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143574,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa06dc018012d7f980005afd7c0000200062c..."} 
[2026-07-27 03:29:40] local.INFO: Processing buffer {"connection_id":143574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa06dc018012d7f980005afd7c0000200062c..."} 
[2026-07-27 03:29:40] local.INFO: Packet analysis {"connection_id":143574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa06d"} 
[2026-07-27 03:29:40] local.INFO: Extracted packet for processing {"connection_id":143574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa06d"} 
[2026-07-27 03:29:40] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":44,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 03: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-07-27 03:29:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986284544001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:29:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:29:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:29:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:29:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785102975000,"timestamp_ms":1785102975000,"timestamp_seconds":1785102975,"priority":1,"record_length":96,"hex_timestamp":"0000019fa06dc018"} 
[2026-07-27 03:29:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 03:29:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 03: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-07-27 03: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-07-27 03: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-07-27 03:29:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 03:29:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:29:40] local.INFO: Teltonika packet parsed successfully {"connection_id":143574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:29:40] local.INFO: Passing IMEI to GPS processor {"connection_id":143574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:29:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":143574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:29: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-07-27 03:29:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:29:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:29:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986284544001,"66":25343,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:29:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:29:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:29:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986284544001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:29:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:29:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:29:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:29:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:29:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986284544001,"power":25343,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:29:40] local.INFO: DEBUG: GPS processor result {"connection_id":143574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:29:40] local.INFO: GPS data processed {"connection_id":143574,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:29:40] local.INFO: Acknowledgment sent {"connection_id":143574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:30:11] local.INFO: TCP Data received {"connection_id":143574,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa06dc018012d7f980005afd7c0000200062c..."} 
[2026-07-27 03:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143574,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa06dc018012d7f980005afd7c0000200062c..."} 
[2026-07-27 03:30:11] local.INFO: Processing buffer {"connection_id":143574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa06dc018012d7f980005afd7c0000200062c..."} 
[2026-07-27 03:30:11] local.INFO: Packet analysis {"connection_id":143574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa06d"} 
[2026-07-27 03:30:11] local.INFO: Extracted packet for processing {"connection_id":143574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa06d"} 
[2026-07-27 03:30:11] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":44,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 03:30:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 03:30:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986284544001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:30:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:30:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:30:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:30:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785102975000,"timestamp_ms":1785102975000,"timestamp_seconds":1785102975,"priority":1,"record_length":96,"hex_timestamp":"0000019fa06dc018"} 
[2026-07-27 03:30:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 03:30:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 03:30:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 03:30: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-07-27 03:30:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 03:30:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 03:30:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:30:11] local.INFO: Teltonika packet parsed successfully {"connection_id":143574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:30:11] local.INFO: Passing IMEI to GPS processor {"connection_id":143574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:30:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":143574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:30: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-07-27 03:30:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:30:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:30:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986284544001,"66":25343,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:30:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:30:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:30:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986284544001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:30:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:30:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:30:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:30:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:30:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986284544001,"power":25343,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:30:11] local.INFO: DEBUG: GPS processor result {"connection_id":143574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:30:11] local.INFO: GPS data processed {"connection_id":143574,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:30:11] local.INFO: Acknowledgment sent {"connection_id":143574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:30:33] local.INFO: TCP Data received {"connection_id":144905,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:30:33] local.INFO: Processing buffer {"connection_id":144905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:30:33] local.INFO: IMEI packet received {"connection_id":144905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 03:30:33] local.INFO: IMEI acknowledgment sent {"connection_id":144905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 03:30:38] local.INFO: TCP Data received {"connection_id":144905,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:30:38] local.INFO: Processing buffer {"connection_id":144905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:30:38] local.INFO: IMEI packet received {"connection_id":144905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 03:30:38] local.INFO: IMEI acknowledgment sent {"connection_id":144905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 03:30:39] local.INFO: TCP Data received {"connection_id":144905,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fa06dc018012d7f980005afd7c0000200062c..."} 
[2026-07-27 03:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144905,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa06dc018012d7f980005afd7c0000200062c..."} 
[2026-07-27 03:30:39] local.INFO: Processing buffer {"connection_id":144905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa06dc018012d7f980005afd7c0000200062c..."} 
[2026-07-27 03:30:39] local.INFO: Packet analysis {"connection_id":144905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa06d"} 
[2026-07-27 03:30:39] local.INFO: Extracted packet for processing {"connection_id":144905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa06d"} 
[2026-07-27 03:30:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":44,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 03:30:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 03:30:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986284544001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:30:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:30:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:30:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:30:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785102975000,"timestamp_ms":1785102975000,"timestamp_seconds":1785102975,"priority":1,"record_length":96,"hex_timestamp":"0000019fa06dc018"} 
[2026-07-27 03:30:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 03:30:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 03:30:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 03: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-07-27 03:30:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 03:30:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 03:30:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:30:39] local.INFO: Teltonika packet parsed successfully {"connection_id":144905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:30:39] local.INFO: Passing IMEI to GPS processor {"connection_id":144905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:30:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":144905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:30:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 03:30:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:30:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:30:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986284544001,"66":25343,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:30:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:30:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:30:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986284544001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:30:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:30:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:30:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:30:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:30:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986284544001,"power":25343,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:30:39] local.INFO: DEBUG: GPS processor result {"connection_id":144905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:30:39] local.INFO: GPS data processed {"connection_id":144905,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:30:39] local.INFO: Acknowledgment sent {"connection_id":144905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:31:10] local.INFO: TCP Data received {"connection_id":144905,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fa06dc018012d7f980005afd7c0000200062c..."} 
[2026-07-27 03:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144905,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa06dc018012d7f980005afd7c0000200062c..."} 
[2026-07-27 03:31:10] local.INFO: Processing buffer {"connection_id":144905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa06dc018012d7f980005afd7c0000200062c..."} 
[2026-07-27 03:31:10] local.INFO: Packet analysis {"connection_id":144905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa06d"} 
[2026-07-27 03:31:10] local.INFO: Extracted packet for processing {"connection_id":144905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa06d"} 
[2026-07-27 03:31:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":44,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 03:31:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986284544001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:31:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:31:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:31:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:31:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785102975000,"timestamp_ms":1785102975000,"timestamp_seconds":1785102975,"priority":1,"record_length":96,"hex_timestamp":"0000019fa06dc018"} 
[2026-07-27 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-07-27 03:31:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":53,"data_length":795,"current_offset":136} 
[2026-07-27 03:31:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 03:31:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:31:10] local.INFO: Teltonika packet parsed successfully {"connection_id":144905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:31:10] local.INFO: Passing IMEI to GPS processor {"connection_id":144905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:31:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":144905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:31:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 03:31:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:31:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:31:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986284544001,"66":25343,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:31:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:31:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:31:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986284544001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:31:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:31:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:31:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:31:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:31:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986284544001,"power":25343,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:31:10] local.INFO: DEBUG: GPS processor result {"connection_id":144905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:31:10] local.INFO: GPS data processed {"connection_id":144905,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:31:10] local.INFO: Acknowledgment sent {"connection_id":144905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:31:38] local.INFO: TCP Data received {"connection_id":142518,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:31:38] local.INFO: Processing buffer {"connection_id":142518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:31:38] local.INFO: IMEI packet received {"connection_id":142518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 03:31:38] local.INFO: IMEI acknowledgment sent {"connection_id":142518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 03:31:43] local.INFO: TCP Data received {"connection_id":142518,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:31:43] local.INFO: Processing buffer {"connection_id":142518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:31:43] local.INFO: IMEI packet received {"connection_id":142518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 03:31:43] local.INFO: IMEI acknowledgment sent {"connection_id":142518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 03:31:44] local.INFO: TCP Data received {"connection_id":142518,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa06dc018012d7f980005afd7c0000200062c..."} 
[2026-07-27 03:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142518,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa06dc018012d7f980005afd7c0000200062c..."} 
[2026-07-27 03:31:44] local.INFO: Processing buffer {"connection_id":142518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa06dc018012d7f980005afd7c0000200062c..."} 
[2026-07-27 03:31:44] local.INFO: Packet analysis {"connection_id":142518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa06d"} 
[2026-07-27 03:31:44] local.INFO: Extracted packet for processing {"connection_id":142518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa06d"} 
[2026-07-27 03:31:44] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":44,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 03: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-07-27 03:31:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986284544001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:31:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:31:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:31:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:31:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785102975000,"timestamp_ms":1785102975000,"timestamp_seconds":1785102975,"priority":1,"record_length":96,"hex_timestamp":"0000019fa06dc018"} 
[2026-07-27 03:31:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 03:31:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 03: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":53,"data_length":795,"current_offset":136} 
[2026-07-27 03:31: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-07-27 03: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-07-27 03:31:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 03:31:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:31:44] local.INFO: Teltonika packet parsed successfully {"connection_id":142518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:31:44] local.INFO: Passing IMEI to GPS processor {"connection_id":142518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:31:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":142518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:31:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 03:31:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:31:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:31:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986284544001,"66":25343,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:31:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:31:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:31:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986284544001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:31:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:31:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:31:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:31:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:31:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986284544001,"power":25343,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:31:44] local.INFO: DEBUG: GPS processor result {"connection_id":142518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:31:44] local.INFO: GPS data processed {"connection_id":142518,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:31:44] local.INFO: Acknowledgment sent {"connection_id":142518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:31:49] local.INFO: TCP Data received {"connection_id":142518,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa06dc018012d7f980005afd7c0000200062c..."} 
[2026-07-27 03:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142518,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa06dc018012d7f980005afd7c0000200062c..."} 
[2026-07-27 03:31:49] local.INFO: Processing buffer {"connection_id":142518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa06dc018012d7f980005afd7c0000200062c..."} 
[2026-07-27 03:31:49] local.INFO: Packet analysis {"connection_id":142518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa06d"} 
[2026-07-27 03:31:49] local.INFO: Extracted packet for processing {"connection_id":142518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa06d"} 
[2026-07-27 03:31:49] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":44,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 03: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-07-27 03:31:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986284544001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:31:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:31:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:31:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:31:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785102975000,"timestamp_ms":1785102975000,"timestamp_seconds":1785102975,"priority":1,"record_length":96,"hex_timestamp":"0000019fa06dc018"} 
[2026-07-27 03:31:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 03:31: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-07-27 03: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 03:31:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 03: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-07-27 03:31:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 03:31:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:31:49] local.INFO: Teltonika packet parsed successfully {"connection_id":142518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:31:49] local.INFO: Passing IMEI to GPS processor {"connection_id":142518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:31:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":142518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:31:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 03:31:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:31:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:31:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986284544001,"66":25343,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:31:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:31:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:31:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986284544001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:31:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:31:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:31:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:31:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:31:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986284544001,"power":25343,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:31:49] local.INFO: DEBUG: GPS processor result {"connection_id":142518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:31:49] local.INFO: GPS data processed {"connection_id":142518,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:31:49] local.INFO: Acknowledgment sent {"connection_id":142518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:32:33] local.INFO: TCP Data received {"connection_id":143576,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:32:33] local.INFO: Processing buffer {"connection_id":143576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:32:33] local.INFO: IMEI packet received {"connection_id":143576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 03:32:33] local.INFO: IMEI acknowledgment sent {"connection_id":143576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 03:32:38] local.INFO: TCP Data received {"connection_id":143576,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:32:38] local.INFO: Processing buffer {"connection_id":143576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:32:38] local.INFO: IMEI packet received {"connection_id":143576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 03:32:38] local.INFO: IMEI acknowledgment sent {"connection_id":143576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 03:32:39] local.INFO: TCP Data received {"connection_id":143576,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fa07257e0012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:32:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa07257e0012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:32:39] local.INFO: Processing buffer {"connection_id":143576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa07257e0012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:32:39] local.INFO: Packet analysis {"connection_id":143576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa072"} 
[2026-07-27 03:32:39] local.INFO: Extracted packet for processing {"connection_id":143576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa072"} 
[2026-07-27 03:32:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 03:32:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 03:32:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986361600001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:32:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:32:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:32:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:32:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785103276000,"timestamp_ms":1785103276000,"timestamp_seconds":1785103276,"priority":1,"record_length":96,"hex_timestamp":"0000019fa07257e0"} 
[2026-07-27 03:32:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 03:32:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 03:32:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-27 03:32:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 03:32:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 03:32:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 03:32:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:32:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:32:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:32:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:32: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-07-27 03:32:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:32:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:32:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986361600001,"66":25375,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:32:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:32:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:32:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986361600001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:32:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:32:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:32:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:32:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:32:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986361600001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:32:39] local.INFO: DEBUG: GPS processor result {"connection_id":143576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:32:39] local.INFO: GPS data processed {"connection_id":143576,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:32:39] local.INFO: Acknowledgment sent {"connection_id":143576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:33:11] local.INFO: TCP Data received {"connection_id":143576,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fa07257e0012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa07257e0012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:33:11] local.INFO: Processing buffer {"connection_id":143576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa07257e0012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:33:11] local.INFO: Packet analysis {"connection_id":143576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa072"} 
[2026-07-27 03:33:11] local.INFO: Extracted packet for processing {"connection_id":143576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa072"} 
[2026-07-27 03:33:11] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 03: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-07-27 03:33:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986361600001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:33:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:33:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:33:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:33:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785103276000,"timestamp_ms":1785103276000,"timestamp_seconds":1785103276,"priority":1,"record_length":96,"hex_timestamp":"0000019fa07257e0"} 
[2026-07-27 03:33:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 03:33:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 03: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-07-27 03: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-07-27 03: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-07-27 03:33:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 03:33:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:33:11] local.INFO: Teltonika packet parsed successfully {"connection_id":143576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:33:11] local.INFO: Passing IMEI to GPS processor {"connection_id":143576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:33:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":143576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:33: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-07-27 03:33:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:33:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:33:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986361600001,"66":25375,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:33:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:33:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:33:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986361600001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:33:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:33:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:33:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:33:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:33:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986361600001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:33:11] local.INFO: DEBUG: GPS processor result {"connection_id":143576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:33:11] local.INFO: GPS data processed {"connection_id":143576,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:33:11] local.INFO: Acknowledgment sent {"connection_id":143576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:33:33] local.INFO: TCP Data received {"connection_id":142604,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:33:33] local.INFO: Processing buffer {"connection_id":142604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:33:33] local.INFO: IMEI packet received {"connection_id":142604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 03:33:33] local.INFO: IMEI acknowledgment sent {"connection_id":142604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 03:33:38] local.INFO: TCP Data received {"connection_id":142604,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:33:38] local.INFO: Processing buffer {"connection_id":142604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:33:38] local.INFO: IMEI packet received {"connection_id":142604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 03:33:38] local.INFO: IMEI acknowledgment sent {"connection_id":142604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 03:33:39] local.INFO: TCP Data received {"connection_id":142604,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fa07257e0012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142604,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa07257e0012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:33:39] local.INFO: Processing buffer {"connection_id":142604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa07257e0012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:33:39] local.INFO: Packet analysis {"connection_id":142604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa072"} 
[2026-07-27 03:33:39] local.INFO: Extracted packet for processing {"connection_id":142604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa072"} 
[2026-07-27 03:33:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 03:33:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 03:33:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986361600001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:33:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:33:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:33:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:33:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785103276000,"timestamp_ms":1785103276000,"timestamp_seconds":1785103276,"priority":1,"record_length":96,"hex_timestamp":"0000019fa07257e0"} 
[2026-07-27 03:33:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 03:33:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 03:33:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-27 03:33:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 03:33:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 03:33:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 03:33:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:33:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:33:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:33:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:33:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 03:33:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:33:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:33:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986361600001,"66":25375,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:33:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:33:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:33:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986361600001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:33:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:33:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:33:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:33:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:33:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986361600001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:33:39] local.INFO: DEBUG: GPS processor result {"connection_id":142604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:33:39] local.INFO: GPS data processed {"connection_id":142604,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:33:39] local.INFO: Acknowledgment sent {"connection_id":142604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:33:45] local.INFO: TCP Data received {"connection_id":143577,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 03:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143577,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 03:33:45] local.INFO: Processing buffer {"connection_id":143577,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 03:33:45] local.INFO: IMEI packet received {"connection_id":143577,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 03:33:45] local.INFO: IMEI acknowledgment sent {"connection_id":143577,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 03:34:10] local.INFO: TCP Data received {"connection_id":142604,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fa07257e0012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142604,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa07257e0012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:34:10] local.INFO: Processing buffer {"connection_id":142604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa07257e0012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:34:10] local.INFO: Packet analysis {"connection_id":142604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa072"} 
[2026-07-27 03:34:10] local.INFO: Extracted packet for processing {"connection_id":142604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa072"} 
[2026-07-27 03:34:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 03:34:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986361600001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:34:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:34:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:34:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:34:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785103276000,"timestamp_ms":1785103276000,"timestamp_seconds":1785103276,"priority":1,"record_length":96,"hex_timestamp":"0000019fa07257e0"} 
[2026-07-27 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-07-27 03:34:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-27 03: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-07-27 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-07-27 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-07-27 03:34:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:34:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:34:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:34:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:34:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 03:34:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:34:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:34:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986361600001,"66":25375,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:34:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:34:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:34:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986361600001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:34:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:34:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:34:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:34:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:34:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986361600001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:34:10] local.INFO: DEBUG: GPS processor result {"connection_id":142604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:34:10] local.INFO: GPS data processed {"connection_id":142604,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:34:10] local.INFO: Acknowledgment sent {"connection_id":142604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:34:33] local.INFO: TCP Data received {"connection_id":144907,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:34:33] local.INFO: Processing buffer {"connection_id":144907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:34:33] local.INFO: IMEI packet received {"connection_id":144907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 03:34:33] local.INFO: IMEI acknowledgment sent {"connection_id":144907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 03:34:38] local.INFO: TCP Data received {"connection_id":144907,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:34:38] local.INFO: Processing buffer {"connection_id":144907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:34:38] local.INFO: IMEI packet received {"connection_id":144907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 03:34:38] local.INFO: IMEI acknowledgment sent {"connection_id":144907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 03:34:39] local.INFO: TCP Data received {"connection_id":144907,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fa07257e0012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144907,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa07257e0012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:34:39] local.INFO: Processing buffer {"connection_id":144907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa07257e0012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:34:39] local.INFO: Packet analysis {"connection_id":144907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa072"} 
[2026-07-27 03:34:39] local.INFO: Extracted packet for processing {"connection_id":144907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa072"} 
[2026-07-27 03:34:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 03:34:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 03:34:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986361600001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:34:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:34:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:34:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:34:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785103276000,"timestamp_ms":1785103276000,"timestamp_seconds":1785103276,"priority":1,"record_length":96,"hex_timestamp":"0000019fa07257e0"} 
[2026-07-27 03:34:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 03:34:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 03: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-27 03:34:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 03:34:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 03:34:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 03:34:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:34:39] local.INFO: Teltonika packet parsed successfully {"connection_id":144907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:34:39] local.INFO: Passing IMEI to GPS processor {"connection_id":144907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:34:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":144907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:34:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 03:34:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:34:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:34:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986361600001,"66":25375,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:34:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:34:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:34:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986361600001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:34:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:34:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:34:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:34:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:34:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986361600001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:34:39] local.INFO: DEBUG: GPS processor result {"connection_id":144907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:34:39] local.INFO: GPS data processed {"connection_id":144907,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:34:39] local.INFO: Acknowledgment sent {"connection_id":144907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:35:11] local.INFO: TCP Data received {"connection_id":144907,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fa07257e0012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144907,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa07257e0012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:35:11] local.INFO: Processing buffer {"connection_id":144907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa07257e0012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:35:11] local.INFO: Packet analysis {"connection_id":144907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa072"} 
[2026-07-27 03:35:11] local.INFO: Extracted packet for processing {"connection_id":144907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa072"} 
[2026-07-27 03:35:11] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 03: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-07-27 03:35:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986361600001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:35:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:35:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:35:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:35:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785103276000,"timestamp_ms":1785103276000,"timestamp_seconds":1785103276,"priority":1,"record_length":96,"hex_timestamp":"0000019fa07257e0"} 
[2026-07-27 03:35:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 03:35:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 03: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-27 03:35: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-07-27 03: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-07-27 03:35:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 03:35:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:35:11] local.INFO: Teltonika packet parsed successfully {"connection_id":144907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:35:11] local.INFO: Passing IMEI to GPS processor {"connection_id":144907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:35:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":144907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:35:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 03:35:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:35:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:35:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986361600001,"66":25375,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:35:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:35:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:35:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986361600001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:35:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:35:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:35:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:35:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:35:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986361600001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:35:11] local.INFO: DEBUG: GPS processor result {"connection_id":144907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:35:11] local.INFO: GPS data processed {"connection_id":144907,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:35:11] local.INFO: Acknowledgment sent {"connection_id":144907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:35:38] local.INFO: TCP Data received {"connection_id":142519,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:35:38] local.INFO: Processing buffer {"connection_id":142519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:35:38] local.INFO: IMEI packet received {"connection_id":142519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 03:35:38] local.INFO: IMEI acknowledgment sent {"connection_id":142519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 03:35:43] local.INFO: TCP Data received {"connection_id":142519,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:35:43] local.INFO: Processing buffer {"connection_id":142519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:35:43] local.INFO: IMEI packet received {"connection_id":142519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 03:35:43] local.INFO: IMEI acknowledgment sent {"connection_id":142519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 03:35:44] local.INFO: TCP Data received {"connection_id":142519,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa07257e0012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa07257e0012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:35:44] local.INFO: Processing buffer {"connection_id":142519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa07257e0012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:35:44] local.INFO: Packet analysis {"connection_id":142519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa072"} 
[2026-07-27 03:35:44] local.INFO: Extracted packet for processing {"connection_id":142519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa072"} 
[2026-07-27 03:35:44] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 03:35:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 03:35:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986361600001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:35:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:35:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:35:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:35:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785103276000,"timestamp_ms":1785103276000,"timestamp_seconds":1785103276,"priority":1,"record_length":96,"hex_timestamp":"0000019fa07257e0"} 
[2026-07-27 03:35:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 03:35:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 03:35:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-27 03:35:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 03:35:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 03:35:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 03:35:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:35:44] local.INFO: Teltonika packet parsed successfully {"connection_id":142519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:35:44] local.INFO: Passing IMEI to GPS processor {"connection_id":142519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:35:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":142519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:35:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 03:35:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:35:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:35:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986361600001,"66":25375,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:35:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:35:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:35:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986361600001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:35:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:35:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:35:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:35:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:35:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986361600001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:35:44] local.INFO: DEBUG: GPS processor result {"connection_id":142519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:35:44] local.INFO: GPS data processed {"connection_id":142519,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:35:44] local.INFO: Acknowledgment sent {"connection_id":142519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:35:49] local.INFO: TCP Data received {"connection_id":142519,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa07257e0012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa07257e0012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:35:49] local.INFO: Processing buffer {"connection_id":142519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa07257e0012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:35:49] local.INFO: Packet analysis {"connection_id":142519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa072"} 
[2026-07-27 03:35:49] local.INFO: Extracted packet for processing {"connection_id":142519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa072"} 
[2026-07-27 03:35:49] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 03: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-07-27 03:35:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986361600001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:35:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:35:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:35:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:35:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785103276000,"timestamp_ms":1785103276000,"timestamp_seconds":1785103276,"priority":1,"record_length":96,"hex_timestamp":"0000019fa07257e0"} 
[2026-07-27 03:35:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 03: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-07-27 03: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-27 03:35:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 03: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-07-27 03:35:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 03:35:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:35:49] local.INFO: Teltonika packet parsed successfully {"connection_id":142519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:35:49] local.INFO: Passing IMEI to GPS processor {"connection_id":142519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:35:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":142519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:35:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 03:35:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:35:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:35:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986361600001,"66":25375,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:35:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:35:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:35:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986361600001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:35:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:35:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:35:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:35:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:35:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986361600001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:35:49] local.INFO: DEBUG: GPS processor result {"connection_id":142519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:35:49] local.INFO: GPS data processed {"connection_id":142519,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:35:49] local.INFO: Acknowledgment sent {"connection_id":142519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:36:33] local.INFO: TCP Data received {"connection_id":142521,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:36:33] local.INFO: Processing buffer {"connection_id":142521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:36:33] local.INFO: IMEI packet received {"connection_id":142521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 03:36:33] local.INFO: IMEI acknowledgment sent {"connection_id":142521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 03:36:40] local.INFO: TCP Data received {"connection_id":142521,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:36:40] local.INFO: Processing buffer {"connection_id":142521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:36:40] local.INFO: IMEI packet received {"connection_id":142521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 03:36:40] local.INFO: IMEI acknowledgment sent {"connection_id":142521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 03:36:41] local.INFO: TCP Data received {"connection_id":142521,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a0000019fa07257e0012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa07257e0012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:36:41] local.INFO: Processing buffer {"connection_id":142521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa07257e0012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:36:41] local.INFO: Packet analysis {"connection_id":142521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa072"} 
[2026-07-27 03:36:41] local.INFO: Extracted packet for processing {"connection_id":142521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa072"} 
[2026-07-27 03:36:41] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 03: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-07-27 03:36:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986361600001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:36:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:36:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:36:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:36:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785103276000,"timestamp_ms":1785103276000,"timestamp_seconds":1785103276,"priority":1,"record_length":96,"hex_timestamp":"0000019fa07257e0"} 
[2026-07-27 03:36:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 03:36:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 03: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":255,"data_length":795,"current_offset":136} 
[2026-07-27 03:36:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 03: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-07-27 03:36:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 03:36:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:36:41] local.INFO: Teltonika packet parsed successfully {"connection_id":142521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:36:41] local.INFO: Passing IMEI to GPS processor {"connection_id":142521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:36:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":142521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:36: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-07-27 03:36:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:36:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:36:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986361600001,"66":25375,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:36:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:36:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:36:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986361600001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:36:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:36:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:36:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:36:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:36:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986361600001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:36:41] local.INFO: DEBUG: GPS processor result {"connection_id":142521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:36:41] local.INFO: GPS data processed {"connection_id":142521,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:36:41] local.INFO: Acknowledgment sent {"connection_id":142521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:37:12] local.INFO: TCP Data received {"connection_id":142521,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a0000019fa076efa8012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa076efa8012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:37:12] local.INFO: Processing buffer {"connection_id":142521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa076efa8012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:37:12] local.INFO: Packet analysis {"connection_id":142521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa076"} 
[2026-07-27 03:37:12] local.INFO: Extracted packet for processing {"connection_id":142521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa076"} 
[2026-07-27 03:37:12] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 03:37:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 03:37:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986438656001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:37:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:37:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:37:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:37:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785103577000,"timestamp_ms":1785103577000,"timestamp_seconds":1785103577,"priority":1,"record_length":96,"hex_timestamp":"0000019fa076efa8"} 
[2026-07-27 03:37:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 03:37:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 03:37:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 03:37: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-07-27 03:37:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 03:37:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 03:37:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:37:12] local.INFO: Teltonika packet parsed successfully {"connection_id":142521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:37:12] local.INFO: Passing IMEI to GPS processor {"connection_id":142521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:37:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":142521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:37:12] 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-07-27 03:37:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:37:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:37:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986438656001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:37:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:37:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:37:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986438656001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:37:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:37:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:37:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:37:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:37:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986438656001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:37:12] local.INFO: DEBUG: GPS processor result {"connection_id":142521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:37:12] local.INFO: GPS data processed {"connection_id":142521,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:37:12] local.INFO: Acknowledgment sent {"connection_id":142521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:37:33] local.INFO: TCP Data received {"connection_id":142522,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:37:33] local.INFO: Processing buffer {"connection_id":142522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:37:33] local.INFO: IMEI packet received {"connection_id":142522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 03:37:33] local.INFO: IMEI acknowledgment sent {"connection_id":142522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 03:37:38] local.INFO: TCP Data received {"connection_id":142522,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:37:38] local.INFO: Processing buffer {"connection_id":142522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:37:38] local.INFO: IMEI packet received {"connection_id":142522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 03:37:38] local.INFO: IMEI acknowledgment sent {"connection_id":142522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 03:37:39] local.INFO: TCP Data received {"connection_id":142522,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fa076efa8012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa076efa8012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:37:39] local.INFO: Processing buffer {"connection_id":142522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa076efa8012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:37:39] local.INFO: Packet analysis {"connection_id":142522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa076"} 
[2026-07-27 03:37:39] local.INFO: Extracted packet for processing {"connection_id":142522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa076"} 
[2026-07-27 03:37:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 03:37:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 03:37:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986438656001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:37:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:37:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:37:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:37:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785103577000,"timestamp_ms":1785103577000,"timestamp_seconds":1785103577,"priority":1,"record_length":96,"hex_timestamp":"0000019fa076efa8"} 
[2026-07-27 03:37:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 03:37:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 03:37:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 03:37: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-07-27 03:37:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 03:37:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 03:37:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:37:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:37:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:37:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:37:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 03:37:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:37:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:37:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986438656001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:37:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:37:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:37:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986438656001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:37:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:37:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:37:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:37:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:37:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986438656001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:37:39] local.INFO: DEBUG: GPS processor result {"connection_id":142522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:37:39] local.INFO: GPS data processed {"connection_id":142522,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:37:39] local.INFO: Acknowledgment sent {"connection_id":142522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:38:10] local.INFO: TCP Data received {"connection_id":142522,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fa076efa8012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa076efa8012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:38:10] local.INFO: Processing buffer {"connection_id":142522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa076efa8012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:38:10] local.INFO: Packet analysis {"connection_id":142522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa076"} 
[2026-07-27 03:38:10] local.INFO: Extracted packet for processing {"connection_id":142522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa076"} 
[2026-07-27 03:38:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 03:38:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986438656001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:38:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:38:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:38:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:38:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785103577000,"timestamp_ms":1785103577000,"timestamp_seconds":1785103577,"priority":1,"record_length":96,"hex_timestamp":"0000019fa076efa8"} 
[2026-07-27 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-07-27 03:38:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":31,"data_length":795,"current_offset":136} 
[2026-07-27 03:38: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-07-27 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-07-27 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-07-27 03:38:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:38:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:38:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:38:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:38:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 03:38:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:38:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:38:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986438656001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:38:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:38:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:38:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986438656001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:38:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:38:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:38:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:38:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:38:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986438656001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:38:10] local.INFO: DEBUG: GPS processor result {"connection_id":142522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:38:10] local.INFO: GPS data processed {"connection_id":142522,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:38:10] local.INFO: Acknowledgment sent {"connection_id":142522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:38:33] local.INFO: TCP Data received {"connection_id":143580,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:38:33] local.INFO: Processing buffer {"connection_id":143580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:38:33] local.INFO: IMEI packet received {"connection_id":143580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 03:38:33] local.INFO: IMEI acknowledgment sent {"connection_id":143580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 03:38:38] local.INFO: TCP Data received {"connection_id":143580,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:38:38] local.INFO: Processing buffer {"connection_id":143580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:38:38] local.INFO: IMEI packet received {"connection_id":143580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 03:38:38] local.INFO: IMEI acknowledgment sent {"connection_id":143580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 03:38:39] local.INFO: TCP Data received {"connection_id":143580,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fa076efa8012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143580,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa076efa8012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:38:39] local.INFO: Processing buffer {"connection_id":143580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa076efa8012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:38:39] local.INFO: Packet analysis {"connection_id":143580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa076"} 
[2026-07-27 03:38:39] local.INFO: Extracted packet for processing {"connection_id":143580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa076"} 
[2026-07-27 03:38:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 03:38:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 03:38:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986438656001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:38:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:38:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:38:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:38:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785103577000,"timestamp_ms":1785103577000,"timestamp_seconds":1785103577,"priority":1,"record_length":96,"hex_timestamp":"0000019fa076efa8"} 
[2026-07-27 03:38:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 03:38:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 03: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":31,"data_length":795,"current_offset":136} 
[2026-07-27 03:38: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-07-27 03:38:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 03:38:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 03:38:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:38:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:38:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:38:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:38:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 03:38:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:38:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:38:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986438656001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:38:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:38:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:38:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986438656001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:38:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:38:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:38:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:38:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:38:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986438656001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:38:39] local.INFO: DEBUG: GPS processor result {"connection_id":143580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:38:39] local.INFO: GPS data processed {"connection_id":143580,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:38:39] local.INFO: Acknowledgment sent {"connection_id":143580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:39:10] local.INFO: TCP Data received {"connection_id":143580,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fa076efa8012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143580,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa076efa8012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:39:10] local.INFO: Processing buffer {"connection_id":143580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa076efa8012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:39:10] local.INFO: Packet analysis {"connection_id":143580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa076"} 
[2026-07-27 03:39:10] local.INFO: Extracted packet for processing {"connection_id":143580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa076"} 
[2026-07-27 03:39:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 03:39:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 03:39:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986438656001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:39:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:39:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:39:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:39:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785103577000,"timestamp_ms":1785103577000,"timestamp_seconds":1785103577,"priority":1,"record_length":96,"hex_timestamp":"0000019fa076efa8"} 
[2026-07-27 03:39:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 03:39:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 03: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":31,"data_length":795,"current_offset":136} 
[2026-07-27 03:39: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-07-27 03:39:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 03:39:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 03:39:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:39:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:39:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:39:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:39:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 03:39:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:39:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:39:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986438656001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:39:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:39:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:39:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986438656001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:39:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:39:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:39:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:39:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:39:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986438656001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:39:10] local.INFO: DEBUG: GPS processor result {"connection_id":143580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:39:10] local.INFO: GPS data processed {"connection_id":143580,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:39:10] local.INFO: Acknowledgment sent {"connection_id":143580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:39:15] local.INFO: TCP Data received {"connection_id":142523,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 03:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142523,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 03:39:15] local.INFO: Processing buffer {"connection_id":142523,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 03:39:15] local.INFO: IMEI packet received {"connection_id":142523,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 03:39:15] local.INFO: IMEI acknowledgment sent {"connection_id":142523,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 03:39:38] local.INFO: TCP Data received {"connection_id":142605,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:39:38] local.INFO: Processing buffer {"connection_id":142605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:39:38] local.INFO: IMEI packet received {"connection_id":142605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 03:39:38] local.INFO: IMEI acknowledgment sent {"connection_id":142605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 03:39:44] local.INFO: TCP Data received {"connection_id":142605,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:39:44] local.INFO: Processing buffer {"connection_id":142605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:39:44] local.INFO: IMEI packet received {"connection_id":142605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 03:39:44] local.INFO: IMEI acknowledgment sent {"connection_id":142605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 03:39:45] local.INFO: TCP Data received {"connection_id":142605,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa076efa8012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa076efa8012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:39:45] local.INFO: Processing buffer {"connection_id":142605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa076efa8012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:39:45] local.INFO: Packet analysis {"connection_id":142605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa076"} 
[2026-07-27 03:39:45] local.INFO: Extracted packet for processing {"connection_id":142605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa076"} 
[2026-07-27 03:39:45] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 03:39:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 03:39:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986438656001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:39:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:39:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:39:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:39:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785103577000,"timestamp_ms":1785103577000,"timestamp_seconds":1785103577,"priority":1,"record_length":96,"hex_timestamp":"0000019fa076efa8"} 
[2026-07-27 03:39:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 03:39:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 03:39:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 03:39:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 03:39:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 03:39:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 03:39:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:39:45] local.INFO: Teltonika packet parsed successfully {"connection_id":142605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:39:45] local.INFO: Passing IMEI to GPS processor {"connection_id":142605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:39:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":142605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:39: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-07-27 03:39:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:39:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:39:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986438656001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:39:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:39:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:39:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986438656001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:39:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:39:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:39:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:39:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:39:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986438656001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:39:45] local.INFO: DEBUG: GPS processor result {"connection_id":142605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:39:45] local.INFO: GPS data processed {"connection_id":142605,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:39:45] local.INFO: Acknowledgment sent {"connection_id":142605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:39:45] local.INFO: TCP Data received {"connection_id":142606,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 03:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142606,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 03:39:45] local.INFO: Processing buffer {"connection_id":142606,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 03:39:45] local.INFO: IMEI packet received {"connection_id":142606,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 03:39:45] local.INFO: IMEI acknowledgment sent {"connection_id":142606,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 03:39:49] local.INFO: TCP Data received {"connection_id":142605,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa076efa8012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa076efa8012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:39:49] local.INFO: Processing buffer {"connection_id":142605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa076efa8012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:39:49] local.INFO: Packet analysis {"connection_id":142605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa076"} 
[2026-07-27 03:39:49] local.INFO: Extracted packet for processing {"connection_id":142605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa076"} 
[2026-07-27 03:39:49] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 03: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-07-27 03:39:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986438656001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:39:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:39:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:39:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:39:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785103577000,"timestamp_ms":1785103577000,"timestamp_seconds":1785103577,"priority":1,"record_length":96,"hex_timestamp":"0000019fa076efa8"} 
[2026-07-27 03:39:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 03:39: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-07-27 03: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 03:39: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-07-27 03: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-07-27 03:39:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 03:39:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:39:49] local.INFO: Teltonika packet parsed successfully {"connection_id":142605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:39:49] local.INFO: Passing IMEI to GPS processor {"connection_id":142605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:39:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":142605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:39:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 03:39:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:39:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:39:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986438656001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:39:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:39:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:39:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986438656001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:39:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:39:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:39:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:39:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:39:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986438656001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:39:49] local.INFO: DEBUG: GPS processor result {"connection_id":142605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:39:49] local.INFO: GPS data processed {"connection_id":142605,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:39:49] local.INFO: Acknowledgment sent {"connection_id":142605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:40:33] local.INFO: TCP Data received {"connection_id":142524,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:40:33] local.INFO: Processing buffer {"connection_id":142524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:40:33] local.INFO: IMEI packet received {"connection_id":142524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 03:40:33] local.INFO: IMEI acknowledgment sent {"connection_id":142524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 03:40:40] local.INFO: TCP Data received {"connection_id":142524,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:40:40] local.INFO: Processing buffer {"connection_id":142524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:40:40] local.INFO: IMEI packet received {"connection_id":142524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 03:40:40] local.INFO: IMEI acknowledgment sent {"connection_id":142524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 03:40:41] local.INFO: TCP Data received {"connection_id":142524,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fa076efa8012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa076efa8012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:40:41] local.INFO: Processing buffer {"connection_id":142524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa076efa8012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:40:41] local.INFO: Packet analysis {"connection_id":142524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa076"} 
[2026-07-27 03:40:41] local.INFO: Extracted packet for processing {"connection_id":142524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa076"} 
[2026-07-27 03:40:41] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 03:40:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 03:40:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986438656001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:40:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:40:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:40:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:40:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785103577000,"timestamp_ms":1785103577000,"timestamp_seconds":1785103577,"priority":1,"record_length":96,"hex_timestamp":"0000019fa076efa8"} 
[2026-07-27 03:40:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 03:40:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 03: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-07-27 03: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-07-27 03:40:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 03:40:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 03:40:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:40:41] local.INFO: Teltonika packet parsed successfully {"connection_id":142524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:40:41] local.INFO: Passing IMEI to GPS processor {"connection_id":142524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:40:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":142524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03: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-07-27 03:40:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:40:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:40:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986438656001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:40:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:40:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:40:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986438656001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:40:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:40:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:40:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:40:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:40:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986438656001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:40:41] local.INFO: DEBUG: GPS processor result {"connection_id":142524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:40:41] local.INFO: GPS data processed {"connection_id":142524,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:40:41] local.INFO: Acknowledgment sent {"connection_id":142524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:41:12] local.INFO: TCP Data received {"connection_id":142524,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fa076efa8012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa076efa8012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:41:12] local.INFO: Processing buffer {"connection_id":142524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa076efa8012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:41:12] local.INFO: Packet analysis {"connection_id":142524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa076"} 
[2026-07-27 03:41:12] local.INFO: Extracted packet for processing {"connection_id":142524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa076"} 
[2026-07-27 03:41:12] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 03:41:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 03:41:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986438656001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:41:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:41:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:41:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:41:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785103577000,"timestamp_ms":1785103577000,"timestamp_seconds":1785103577,"priority":1,"record_length":96,"hex_timestamp":"0000019fa076efa8"} 
[2026-07-27 03:41:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 03:41:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 03: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 03:41: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-07-27 03:41:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 03:41:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 03:41:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:41:12] local.INFO: Teltonika packet parsed successfully {"connection_id":142524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:41:12] local.INFO: Passing IMEI to GPS processor {"connection_id":142524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:41:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":142524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:41:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 03:41:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:41:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:41:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986438656001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:41:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:41:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:41:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986438656001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:41:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:41:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:41:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:41:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:41:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986438656001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:41:12] local.INFO: DEBUG: GPS processor result {"connection_id":142524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:41:12] local.INFO: GPS data processed {"connection_id":142524,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:41:12] local.INFO: Acknowledgment sent {"connection_id":142524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:41:33] local.INFO: TCP Data received {"connection_id":142607,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:41:33] local.INFO: Processing buffer {"connection_id":142607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:41:33] local.INFO: IMEI packet received {"connection_id":142607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 03:41:33] local.INFO: IMEI acknowledgment sent {"connection_id":142607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 03:41:38] local.INFO: TCP Data received {"connection_id":142607,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:41:38] local.INFO: Processing buffer {"connection_id":142607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:41:38] local.INFO: IMEI packet received {"connection_id":142607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 03:41:38] local.INFO: IMEI acknowledgment sent {"connection_id":142607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 03:41:39] local.INFO: TCP Data received {"connection_id":142607,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa076efa8012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa076efa8012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:41:39] local.INFO: Processing buffer {"connection_id":142607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa076efa8012d7f980005afd7c0000200062a..."} 
[2026-07-27 03:41:39] local.INFO: Packet analysis {"connection_id":142607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa076"} 
[2026-07-27 03:41:39] local.INFO: Extracted packet for processing {"connection_id":142607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa076"} 
[2026-07-27 03:41:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 03: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-07-27 03:41:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986438656001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:41:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:41:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:41:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:41:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785103577000,"timestamp_ms":1785103577000,"timestamp_seconds":1785103577,"priority":1,"record_length":96,"hex_timestamp":"0000019fa076efa8"} 
[2026-07-27 03:41:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 03:41:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 03: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":31,"data_length":795,"current_offset":136} 
[2026-07-27 03:41: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-07-27 03: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-07-27 03:41:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 03:41:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:41:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:41:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:41:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:41:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 03:41:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:41:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:41:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986438656001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:41:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:41:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:41:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986438656001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:41:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:41:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:41:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:41:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:41:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986438656001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:41:39] local.INFO: DEBUG: GPS processor result {"connection_id":142607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:41:39] local.INFO: GPS data processed {"connection_id":142607,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:41:39] local.INFO: Acknowledgment sent {"connection_id":142607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:42:10] local.INFO: TCP Data received {"connection_id":142607,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa07b8770012d7f980005afd7c00002000628..."} 
[2026-07-27 03:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa07b8770012d7f980005afd7c00002000628..."} 
[2026-07-27 03:42:10] local.INFO: Processing buffer {"connection_id":142607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa07b8770012d7f980005afd7c00002000628..."} 
[2026-07-27 03:42:10] local.INFO: Packet analysis {"connection_id":142607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa07b"} 
[2026-07-27 03:42:10] local.INFO: Extracted packet for processing {"connection_id":142607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa07b"} 
[2026-07-27 03:42:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 03:42:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986515712001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:42:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:42:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:42:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:42:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785103878000,"timestamp_ms":1785103878000,"timestamp_seconds":1785103878,"priority":1,"record_length":96,"hex_timestamp":"0000019fa07b8770"} 
[2026-07-27 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-07-27 03:42:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":53,"data_length":795,"current_offset":136} 
[2026-07-27 03: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-07-27 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-07-27 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-07-27 03:42:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:42:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:42:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:42:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:42:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 03:42:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:42:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:42:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986515712001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:42:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:42:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:42:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986515712001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:42:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:42:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:42:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:42:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:42:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986515712001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:42:10] local.INFO: DEBUG: GPS processor result {"connection_id":142607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:42:10] local.INFO: GPS data processed {"connection_id":142607,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:42:10] local.INFO: Acknowledgment sent {"connection_id":142607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:42:33] local.INFO: TCP Data received {"connection_id":142526,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:42:33] local.INFO: Processing buffer {"connection_id":142526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:42:33] local.INFO: IMEI packet received {"connection_id":142526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 03:42:33] local.INFO: IMEI acknowledgment sent {"connection_id":142526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 03:42:38] local.INFO: TCP Data received {"connection_id":142526,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:42:38] local.INFO: Processing buffer {"connection_id":142526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:42:38] local.INFO: IMEI packet received {"connection_id":142526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 03:42:38] local.INFO: IMEI acknowledgment sent {"connection_id":142526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 03:42:39] local.INFO: TCP Data received {"connection_id":142526,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fa07b8770012d7f980005afd7c00002000628..."} 
[2026-07-27 03:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142526,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa07b8770012d7f980005afd7c00002000628..."} 
[2026-07-27 03:42:39] local.INFO: Processing buffer {"connection_id":142526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa07b8770012d7f980005afd7c00002000628..."} 
[2026-07-27 03:42:39] local.INFO: Packet analysis {"connection_id":142526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa07b"} 
[2026-07-27 03:42:39] local.INFO: Extracted packet for processing {"connection_id":142526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa07b"} 
[2026-07-27 03:42:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 03:42:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 03:42:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986515712001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:42:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:42:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:42:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:42:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785103878000,"timestamp_ms":1785103878000,"timestamp_seconds":1785103878,"priority":1,"record_length":96,"hex_timestamp":"0000019fa07b8770"} 
[2026-07-27 03:42:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 03:42:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 03: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":53,"data_length":795,"current_offset":136} 
[2026-07-27 03:42: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-07-27 03:42:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 03:42:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 03:42:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:42:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:42:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:42:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03: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-07-27 03:42:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:42:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:42:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986515712001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:42:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:42:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:42:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986515712001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:42:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:42:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:42:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:42:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:42:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986515712001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:42:39] local.INFO: DEBUG: GPS processor result {"connection_id":142526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:42:39] local.INFO: GPS data processed {"connection_id":142526,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:42:39] local.INFO: Acknowledgment sent {"connection_id":142526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:43:10] local.INFO: TCP Data received {"connection_id":142526,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fa07b8770012d7f980005afd7c00002000628..."} 
[2026-07-27 03:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142526,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa07b8770012d7f980005afd7c00002000628..."} 
[2026-07-27 03:43:10] local.INFO: Processing buffer {"connection_id":142526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa07b8770012d7f980005afd7c00002000628..."} 
[2026-07-27 03:43:10] local.INFO: Packet analysis {"connection_id":142526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa07b"} 
[2026-07-27 03:43:10] local.INFO: Extracted packet for processing {"connection_id":142526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa07b"} 
[2026-07-27 03:43:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 03:43:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986515712001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:43:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:43:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:43:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:43:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785103878000,"timestamp_ms":1785103878000,"timestamp_seconds":1785103878,"priority":1,"record_length":96,"hex_timestamp":"0000019fa07b8770"} 
[2026-07-27 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-07-27 03:43:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":53,"data_length":795,"current_offset":136} 
[2026-07-27 03:43:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 03:43:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:43:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:43:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:43:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:43:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 03:43:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:43:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:43:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986515712001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:43:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:43:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:43:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986515712001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:43:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:43:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:43:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:43:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:43:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986515712001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:43:10] local.INFO: DEBUG: GPS processor result {"connection_id":142526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:43:10] local.INFO: GPS data processed {"connection_id":142526,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:43:10] local.INFO: Acknowledgment sent {"connection_id":142526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:43:33] local.INFO: TCP Data received {"connection_id":143582,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:43:33] local.INFO: Processing buffer {"connection_id":143582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:43:33] local.INFO: IMEI packet received {"connection_id":143582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 03:43:33] local.INFO: IMEI acknowledgment sent {"connection_id":143582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 03:43:38] local.INFO: TCP Data received {"connection_id":143582,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:43:38] local.INFO: Processing buffer {"connection_id":143582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:43:38] local.INFO: IMEI packet received {"connection_id":143582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 03:43:38] local.INFO: IMEI acknowledgment sent {"connection_id":143582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 03:43:39] local.INFO: TCP Data received {"connection_id":143582,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa07b8770012d7f980005afd7c00002000628..."} 
[2026-07-27 03:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143582,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa07b8770012d7f980005afd7c00002000628..."} 
[2026-07-27 03:43:39] local.INFO: Processing buffer {"connection_id":143582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa07b8770012d7f980005afd7c00002000628..."} 
[2026-07-27 03:43:39] local.INFO: Packet analysis {"connection_id":143582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa07b"} 
[2026-07-27 03:43:39] local.INFO: Extracted packet for processing {"connection_id":143582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa07b"} 
[2026-07-27 03:43:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 03: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-07-27 03:43:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986515712001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:43:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:43:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:43:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:43:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785103878000,"timestamp_ms":1785103878000,"timestamp_seconds":1785103878,"priority":1,"record_length":96,"hex_timestamp":"0000019fa07b8770"} 
[2026-07-27 03:43:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 03:43:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 03: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":53,"data_length":795,"current_offset":136} 
[2026-07-27 03:43: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-07-27 03: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-07-27 03:43:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 03:43:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:43:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:43:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:43:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:43: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-07-27 03:43:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:43:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:43:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986515712001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:43:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:43:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:43:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986515712001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:43:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:43:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:43:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:43:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:43:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986515712001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:43:39] local.INFO: DEBUG: GPS processor result {"connection_id":143582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:43:39] local.INFO: GPS data processed {"connection_id":143582,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:43:39] local.INFO: Acknowledgment sent {"connection_id":143582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:44:10] local.INFO: TCP Data received {"connection_id":143582,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa07b8770012d7f980005afd7c00002000628..."} 
[2026-07-27 03:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143582,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa07b8770012d7f980005afd7c00002000628..."} 
[2026-07-27 03:44:10] local.INFO: Processing buffer {"connection_id":143582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa07b8770012d7f980005afd7c00002000628..."} 
[2026-07-27 03:44:10] local.INFO: Packet analysis {"connection_id":143582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa07b"} 
[2026-07-27 03:44:10] local.INFO: Extracted packet for processing {"connection_id":143582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa07b"} 
[2026-07-27 03:44:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 03:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 03:44:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986515712001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:44:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:44:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:44:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:44:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785103878000,"timestamp_ms":1785103878000,"timestamp_seconds":1785103878,"priority":1,"record_length":96,"hex_timestamp":"0000019fa07b8770"} 
[2026-07-27 03:44:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 03:44:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 03: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-07-27 03: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-07-27 03:44:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 03:44:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 03:44:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:44:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:44:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:44:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:44:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 03:44:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:44:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:44:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986515712001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:44:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:44:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:44:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986515712001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:44:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:44:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:44:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:44:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:44:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986515712001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:44:10] local.INFO: DEBUG: GPS processor result {"connection_id":143582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:44:10] local.INFO: GPS data processed {"connection_id":143582,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:44:10] local.INFO: Acknowledgment sent {"connection_id":143582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:44:38] local.INFO: TCP Data received {"connection_id":143583,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:44:38] local.INFO: Processing buffer {"connection_id":143583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:44:38] local.INFO: IMEI packet received {"connection_id":143583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 03:44:38] local.INFO: IMEI acknowledgment sent {"connection_id":143583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 03:44:43] local.INFO: TCP Data received {"connection_id":143583,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:44:43] local.INFO: Processing buffer {"connection_id":143583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:44:43] local.INFO: IMEI packet received {"connection_id":143583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 03:44:43] local.INFO: IMEI acknowledgment sent {"connection_id":143583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 03:44:44] local.INFO: TCP Data received {"connection_id":143583,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fa07b8770012d7f980005afd7c00002000628..."} 
[2026-07-27 03:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143583,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa07b8770012d7f980005afd7c00002000628..."} 
[2026-07-27 03:44:44] local.INFO: Processing buffer {"connection_id":143583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa07b8770012d7f980005afd7c00002000628..."} 
[2026-07-27 03:44:44] local.INFO: Packet analysis {"connection_id":143583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa07b"} 
[2026-07-27 03:44:44] local.INFO: Extracted packet for processing {"connection_id":143583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa07b"} 
[2026-07-27 03:44:44] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 03:44:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 03:44:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986515712001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:44:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:44:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:44:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:44:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785103878000,"timestamp_ms":1785103878000,"timestamp_seconds":1785103878,"priority":1,"record_length":96,"hex_timestamp":"0000019fa07b8770"} 
[2026-07-27 03:44:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 03:44:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 03:44:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 03:44: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-07-27 03:44:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 03:44:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 03:44:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:44:44] local.INFO: Teltonika packet parsed successfully {"connection_id":143583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:44:44] local.INFO: Passing IMEI to GPS processor {"connection_id":143583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:44:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":143583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:44:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 03:44:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:44:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:44:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986515712001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:44:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:44:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:44:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986515712001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:44:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:44:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:44:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:44:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:44:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986515712001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:44:44] local.INFO: DEBUG: GPS processor result {"connection_id":143583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:44:44] local.INFO: GPS data processed {"connection_id":143583,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:44:44] local.INFO: Acknowledgment sent {"connection_id":143583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:44:50] local.INFO: TCP Data received {"connection_id":143583,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fa07b8770012d7f980005afd7c00002000628..."} 
[2026-07-27 03:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143583,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa07b8770012d7f980005afd7c00002000628..."} 
[2026-07-27 03:44:50] local.INFO: Processing buffer {"connection_id":143583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa07b8770012d7f980005afd7c00002000628..."} 
[2026-07-27 03:44:50] local.INFO: Packet analysis {"connection_id":143583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa07b"} 
[2026-07-27 03:44:50] local.INFO: Extracted packet for processing {"connection_id":143583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa07b"} 
[2026-07-27 03:44:50] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 03: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-07-27 03:44:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986515712001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:44:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:44:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:44:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:44:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785103878000,"timestamp_ms":1785103878000,"timestamp_seconds":1785103878,"priority":1,"record_length":96,"hex_timestamp":"0000019fa07b8770"} 
[2026-07-27 03:44:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 03:44:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 03: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 03:44:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 03: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-07-27 03:44:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 03:44:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:44:50] local.INFO: Teltonika packet parsed successfully {"connection_id":143583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:44:50] local.INFO: Passing IMEI to GPS processor {"connection_id":143583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:44:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":143583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:44:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 03:44:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:44:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:44:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986515712001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:44:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:44:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:44:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986515712001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:44:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:44:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:44:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:44:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:44:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986515712001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:44:50] local.INFO: DEBUG: GPS processor result {"connection_id":143583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:44:50] local.INFO: GPS data processed {"connection_id":143583,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:44:50] local.INFO: Acknowledgment sent {"connection_id":143583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:45:15] local.INFO: TCP Data received {"connection_id":142528,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 03:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142528,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 03:45:15] local.INFO: Processing buffer {"connection_id":142528,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 03:45:15] local.INFO: IMEI packet received {"connection_id":142528,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 03:45:15] local.INFO: IMEI acknowledgment sent {"connection_id":142528,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 03:45:33] local.INFO: TCP Data received {"connection_id":143584,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:45:33] local.INFO: Processing buffer {"connection_id":143584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:45:33] local.INFO: IMEI packet received {"connection_id":143584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 03:45:33] local.INFO: IMEI acknowledgment sent {"connection_id":143584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 03:45:38] local.INFO: TCP Data received {"connection_id":143584,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:45:38] local.INFO: Processing buffer {"connection_id":143584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:45:38] local.INFO: IMEI packet received {"connection_id":143584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 03:45:38] local.INFO: IMEI acknowledgment sent {"connection_id":143584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 03:45:39] local.INFO: TCP Data received {"connection_id":143584,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fa07b8770012d7f980005afd7c00002000628..."} 
[2026-07-27 03:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa07b8770012d7f980005afd7c00002000628..."} 
[2026-07-27 03:45:39] local.INFO: Processing buffer {"connection_id":143584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa07b8770012d7f980005afd7c00002000628..."} 
[2026-07-27 03:45:39] local.INFO: Packet analysis {"connection_id":143584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa07b"} 
[2026-07-27 03:45:39] local.INFO: Extracted packet for processing {"connection_id":143584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa07b"} 
[2026-07-27 03:45:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 03:45:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 03:45:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986515712001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:45:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:45:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:45:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:45:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785103878000,"timestamp_ms":1785103878000,"timestamp_seconds":1785103878,"priority":1,"record_length":96,"hex_timestamp":"0000019fa07b8770"} 
[2026-07-27 03:45:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 03:45:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 03: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-07-27 03: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-07-27 03:45:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 03:45:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 03:45:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:45:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:45:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:45:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:45:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 03:45:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:45:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:45:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986515712001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:45:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:45:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:45:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986515712001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:45:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:45:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:45:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:45:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:45:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986515712001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:45:39] local.INFO: DEBUG: GPS processor result {"connection_id":143584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:45:39] local.INFO: GPS data processed {"connection_id":143584,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:45:39] local.INFO: Acknowledgment sent {"connection_id":143584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:45:45] local.INFO: TCP Data received {"connection_id":143585,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 03:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143585,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 03:45:45] local.INFO: Processing buffer {"connection_id":143585,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 03:45:45] local.INFO: IMEI packet received {"connection_id":143585,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 03:45:45] local.INFO: IMEI acknowledgment sent {"connection_id":143585,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 03:46:10] local.INFO: TCP Data received {"connection_id":143584,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fa07b8770012d7f980005afd7c00002000628..."} 
[2026-07-27 03:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa07b8770012d7f980005afd7c00002000628..."} 
[2026-07-27 03:46:10] local.INFO: Processing buffer {"connection_id":143584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa07b8770012d7f980005afd7c00002000628..."} 
[2026-07-27 03:46:10] local.INFO: Packet analysis {"connection_id":143584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa07b"} 
[2026-07-27 03:46:10] local.INFO: Extracted packet for processing {"connection_id":143584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa07b"} 
[2026-07-27 03:46:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 03:46:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986515712001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:46:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:46:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:46:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:46:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785103878000,"timestamp_ms":1785103878000,"timestamp_seconds":1785103878,"priority":1,"record_length":96,"hex_timestamp":"0000019fa07b8770"} 
[2026-07-27 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-07-27 03:46:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":53,"data_length":795,"current_offset":136} 
[2026-07-27 03: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-07-27 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-07-27 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-07-27 03:46:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:46:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:46:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:46:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:46:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 03:46:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:46:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:46:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986515712001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:46:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:46:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:46:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986515712001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:46:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:46:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:46:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:46:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:46:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986515712001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:46:10] local.INFO: DEBUG: GPS processor result {"connection_id":143584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:46:10] local.INFO: GPS data processed {"connection_id":143584,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:46:10] local.INFO: Acknowledgment sent {"connection_id":143584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:46:33] local.INFO: TCP Data received {"connection_id":143586,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:46:33] local.INFO: Processing buffer {"connection_id":143586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:46:33] local.INFO: IMEI packet received {"connection_id":143586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 03:46:33] local.INFO: IMEI acknowledgment sent {"connection_id":143586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 03:46:38] local.INFO: TCP Data received {"connection_id":143586,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:46:38] local.INFO: Processing buffer {"connection_id":143586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:46:38] local.INFO: IMEI packet received {"connection_id":143586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 03:46:38] local.INFO: IMEI acknowledgment sent {"connection_id":143586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 03:46:39] local.INFO: TCP Data received {"connection_id":143586,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa07b8770012d7f980005afd7c00002000628..."} 
[2026-07-27 03:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa07b8770012d7f980005afd7c00002000628..."} 
[2026-07-27 03:46:39] local.INFO: Processing buffer {"connection_id":143586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa07b8770012d7f980005afd7c00002000628..."} 
[2026-07-27 03:46:39] local.INFO: Packet analysis {"connection_id":143586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa07b"} 
[2026-07-27 03:46:39] local.INFO: Extracted packet for processing {"connection_id":143586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa07b"} 
[2026-07-27 03:46:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 03:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 03:46:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986515712001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:46:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:46:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:46:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:46:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785103878000,"timestamp_ms":1785103878000,"timestamp_seconds":1785103878,"priority":1,"record_length":96,"hex_timestamp":"0000019fa07b8770"} 
[2026-07-27 03:46:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 03:46:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 03: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-07-27 03: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-07-27 03:46:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 03:46:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 03:46:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:46:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:46:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:46:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:46:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 03:46:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:46:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:46:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986515712001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:46:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:46:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:46:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986515712001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:46:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:46:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:46:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:46:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:46:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986515712001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:46:39] local.INFO: DEBUG: GPS processor result {"connection_id":143586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:46:39] local.INFO: GPS data processed {"connection_id":143586,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:46:39] local.INFO: Acknowledgment sent {"connection_id":143586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:47:11] local.INFO: TCP Data received {"connection_id":143586,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0801f38012d7f980005afd7c00002000629..."} 
[2026-07-27 03:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0801f38012d7f980005afd7c00002000629..."} 
[2026-07-27 03:47:11] local.INFO: Processing buffer {"connection_id":143586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0801f38012d7f980005afd7c00002000629..."} 
[2026-07-27 03:47:11] local.INFO: Packet analysis {"connection_id":143586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa080"} 
[2026-07-27 03:47:11] local.INFO: Extracted packet for processing {"connection_id":143586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa080"} 
[2026-07-27 03:47:11] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 03:47:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 03:47:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986592768001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:47:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:47:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:47:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:47:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785104179000,"timestamp_ms":1785104179000,"timestamp_seconds":1785104179,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0801f38"} 
[2026-07-27 03:47:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 03:47:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 03:47:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 03: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-07-27 03:47:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 03:47:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 03:47:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:47:11] local.INFO: Teltonika packet parsed successfully {"connection_id":143586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:47:11] local.INFO: Passing IMEI to GPS processor {"connection_id":143586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:47:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":143586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:47: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-07-27 03:47:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:47:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:47:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986592768001,"66":25419,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:47:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:47:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:47:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986592768001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:47:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:47:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:47:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:47:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:47:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986592768001,"power":25419,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:47:11] local.INFO: DEBUG: GPS processor result {"connection_id":143586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:47:11] local.INFO: GPS data processed {"connection_id":143586,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:47:11] local.INFO: Acknowledgment sent {"connection_id":143586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:47:38] local.INFO: TCP Data received {"connection_id":142608,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:47:38] local.INFO: Processing buffer {"connection_id":142608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:47:38] local.INFO: IMEI packet received {"connection_id":142608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 03:47:38] local.INFO: IMEI acknowledgment sent {"connection_id":142608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 03:47:43] local.INFO: TCP Data received {"connection_id":142608,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:47:43] local.INFO: Processing buffer {"connection_id":142608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:47:43] local.INFO: IMEI packet received {"connection_id":142608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 03:47:43] local.INFO: IMEI acknowledgment sent {"connection_id":142608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 03:47:44] local.INFO: TCP Data received {"connection_id":142608,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0801f38012d7f980005afd7c00002000629..."} 
[2026-07-27 03:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0801f38012d7f980005afd7c00002000629..."} 
[2026-07-27 03:47:44] local.INFO: Processing buffer {"connection_id":142608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0801f38012d7f980005afd7c00002000629..."} 
[2026-07-27 03:47:44] local.INFO: Packet analysis {"connection_id":142608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa080"} 
[2026-07-27 03:47:44] local.INFO: Extracted packet for processing {"connection_id":142608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa080"} 
[2026-07-27 03:47:44] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 03: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-07-27 03:47:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986592768001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:47:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:47:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:47:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:47:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785104179000,"timestamp_ms":1785104179000,"timestamp_seconds":1785104179,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0801f38"} 
[2026-07-27 03:47:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 03:47:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 03: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-07-27 03: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-07-27 03: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-07-27 03:47:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 03:47:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:47:44] local.INFO: Teltonika packet parsed successfully {"connection_id":142608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:47:44] local.INFO: Passing IMEI to GPS processor {"connection_id":142608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:47:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":142608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:47:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 03:47:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:47:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:47:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986592768001,"66":25419,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:47:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:47:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:47:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986592768001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:47:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:47:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:47:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:47:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:47:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986592768001,"power":25419,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:47:44] local.INFO: DEBUG: GPS processor result {"connection_id":142608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:47:44] local.INFO: GPS data processed {"connection_id":142608,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:47:44] local.INFO: Acknowledgment sent {"connection_id":142608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:47:48] local.INFO: TCP Data received {"connection_id":142608,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0801f38012d7f980005afd7c00002000629..."} 
[2026-07-27 03:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0801f38012d7f980005afd7c00002000629..."} 
[2026-07-27 03:47:48] local.INFO: Processing buffer {"connection_id":142608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0801f38012d7f980005afd7c00002000629..."} 
[2026-07-27 03:47:48] local.INFO: Packet analysis {"connection_id":142608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa080"} 
[2026-07-27 03:47:48] local.INFO: Extracted packet for processing {"connection_id":142608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa080"} 
[2026-07-27 03:47:48] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 03:47:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 03:47:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986592768001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:47:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:47:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:47:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:47:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785104179000,"timestamp_ms":1785104179000,"timestamp_seconds":1785104179,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0801f38"} 
[2026-07-27 03:47:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 03:47:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 03:47:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 03:47: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-07-27 03:47:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 03:47:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 03:47:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:47:48] local.INFO: Teltonika packet parsed successfully {"connection_id":142608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:47:48] local.INFO: Passing IMEI to GPS processor {"connection_id":142608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:47:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":142608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:47:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 03:47:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:47:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:47:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986592768001,"66":25419,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:47:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:47:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:47:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986592768001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:47:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:47:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:47:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:47:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:47:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986592768001,"power":25419,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:47:49] local.INFO: DEBUG: GPS processor result {"connection_id":142608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:47:49] local.INFO: GPS data processed {"connection_id":142608,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:47:49] local.INFO: Acknowledgment sent {"connection_id":142608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:48:33] local.INFO: TCP Data received {"connection_id":144910,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:48:33] local.INFO: Processing buffer {"connection_id":144910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:48:33] local.INFO: IMEI packet received {"connection_id":144910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 03:48:33] local.INFO: IMEI acknowledgment sent {"connection_id":144910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 03:48:38] local.INFO: TCP Data received {"connection_id":144910,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:48:38] local.INFO: Processing buffer {"connection_id":144910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:48:38] local.INFO: IMEI packet received {"connection_id":144910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 03:48:38] local.INFO: IMEI acknowledgment sent {"connection_id":144910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 03:48:39] local.INFO: TCP Data received {"connection_id":144910,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0801f38012d7f980005afd7c00002000629..."} 
[2026-07-27 03:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0801f38012d7f980005afd7c00002000629..."} 
[2026-07-27 03:48:39] local.INFO: Processing buffer {"connection_id":144910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0801f38012d7f980005afd7c00002000629..."} 
[2026-07-27 03:48:39] local.INFO: Packet analysis {"connection_id":144910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa080"} 
[2026-07-27 03:48:39] local.INFO: Extracted packet for processing {"connection_id":144910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa080"} 
[2026-07-27 03:48:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 03:48:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 03:48:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986592768001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:48:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:48:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:48:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:48:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785104179000,"timestamp_ms":1785104179000,"timestamp_seconds":1785104179,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0801f38"} 
[2026-07-27 03:48:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 03:48:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 03:48:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 03: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-07-27 03:48:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 03:48:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 03:48:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:48:39] local.INFO: Teltonika packet parsed successfully {"connection_id":144910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:48:39] local.INFO: Passing IMEI to GPS processor {"connection_id":144910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:48:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":144910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:48: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-07-27 03:48:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:48:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:48:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986592768001,"66":25419,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:48:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:48:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:48:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986592768001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:48:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:48:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:48:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:48:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:48:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986592768001,"power":25419,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:48:39] local.INFO: DEBUG: GPS processor result {"connection_id":144910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:48:39] local.INFO: GPS data processed {"connection_id":144910,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:48:39] local.INFO: Acknowledgment sent {"connection_id":144910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:49:10] local.INFO: TCP Data received {"connection_id":144910,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0801f38012d7f980005afd7c00002000629..."} 
[2026-07-27 03:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0801f38012d7f980005afd7c00002000629..."} 
[2026-07-27 03:49:10] local.INFO: Processing buffer {"connection_id":144910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0801f38012d7f980005afd7c00002000629..."} 
[2026-07-27 03:49:10] local.INFO: Packet analysis {"connection_id":144910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa080"} 
[2026-07-27 03:49:10] local.INFO: Extracted packet for processing {"connection_id":144910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa080"} 
[2026-07-27 03:49:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 03:49:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986592768001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:49:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:49:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:49:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:49:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785104179000,"timestamp_ms":1785104179000,"timestamp_seconds":1785104179,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0801f38"} 
[2026-07-27 03:49:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 03:49:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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-07-27 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-07-27 03:49:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 03:49:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 03:49:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:49:10] local.INFO: Teltonika packet parsed successfully {"connection_id":144910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:49:10] local.INFO: Passing IMEI to GPS processor {"connection_id":144910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:49:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":144910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:49:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 03:49:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:49:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:49:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986592768001,"66":25419,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:49:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:49:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:49:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986592768001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:49:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:49:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:49:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:49:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:49:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986592768001,"power":25419,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:49:10] local.INFO: DEBUG: GPS processor result {"connection_id":144910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:49:10] local.INFO: GPS data processed {"connection_id":144910,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:49:10] local.INFO: Acknowledgment sent {"connection_id":144910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:49:33] local.INFO: TCP Data received {"connection_id":144911,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:49:33] local.INFO: Processing buffer {"connection_id":144911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:49:33] local.INFO: IMEI packet received {"connection_id":144911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 03:49:33] local.INFO: IMEI acknowledgment sent {"connection_id":144911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 03:49:38] local.INFO: TCP Data received {"connection_id":144911,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:49:38] local.INFO: Processing buffer {"connection_id":144911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:49:38] local.INFO: IMEI packet received {"connection_id":144911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 03:49:38] local.INFO: IMEI acknowledgment sent {"connection_id":144911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 03:49:39] local.INFO: TCP Data received {"connection_id":144911,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0801f38012d7f980005afd7c00002000629..."} 
[2026-07-27 03:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0801f38012d7f980005afd7c00002000629..."} 
[2026-07-27 03:49:39] local.INFO: Processing buffer {"connection_id":144911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0801f38012d7f980005afd7c00002000629..."} 
[2026-07-27 03:49:39] local.INFO: Packet analysis {"connection_id":144911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa080"} 
[2026-07-27 03:49:39] local.INFO: Extracted packet for processing {"connection_id":144911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa080"} 
[2026-07-27 03:49:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 03:49:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 03:49:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986592768001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:49:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:49:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:49:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:49:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785104179000,"timestamp_ms":1785104179000,"timestamp_seconds":1785104179,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0801f38"} 
[2026-07-27 03:49:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 03:49:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 03:49:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 03:49: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-07-27 03:49:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 03:49:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 03:49:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:49:39] local.INFO: Teltonika packet parsed successfully {"connection_id":144911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:49:39] local.INFO: Passing IMEI to GPS processor {"connection_id":144911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:49:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":144911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:49:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 03:49:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:49:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:49:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986592768001,"66":25419,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:49:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:49:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:49:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986592768001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:49:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:49:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:49:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:49:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:49:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986592768001,"power":25419,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:49:39] local.INFO: DEBUG: GPS processor result {"connection_id":144911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:49:39] local.INFO: GPS data processed {"connection_id":144911,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:49:39] local.INFO: Acknowledgment sent {"connection_id":144911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:50:10] local.INFO: TCP Data received {"connection_id":144911,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0801f38012d7f980005afd7c00002000629..."} 
[2026-07-27 03:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0801f38012d7f980005afd7c00002000629..."} 
[2026-07-27 03:50:10] local.INFO: Processing buffer {"connection_id":144911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0801f38012d7f980005afd7c00002000629..."} 
[2026-07-27 03:50:10] local.INFO: Packet analysis {"connection_id":144911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa080"} 
[2026-07-27 03:50:10] local.INFO: Extracted packet for processing {"connection_id":144911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa080"} 
[2026-07-27 03:50:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 03:50:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986592768001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:50:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:50:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:50:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:50:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785104179000,"timestamp_ms":1785104179000,"timestamp_seconds":1785104179,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0801f38"} 
[2026-07-27 03:50:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 03:50:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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-07-27 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-07-27 03:50:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 03:50:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 03:50:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:50:10] local.INFO: Teltonika packet parsed successfully {"connection_id":144911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:50:10] local.INFO: Passing IMEI to GPS processor {"connection_id":144911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:50:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":144911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:50:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 03:50:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:50:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:50:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986592768001,"66":25419,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:50:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:50:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:50:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986592768001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:50:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:50:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:50:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:50:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:50:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986592768001,"power":25419,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:50:10] local.INFO: DEBUG: GPS processor result {"connection_id":144911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:50:10] local.INFO: GPS data processed {"connection_id":144911,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:50:10] local.INFO: Acknowledgment sent {"connection_id":144911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:50:33] local.INFO: TCP Data received {"connection_id":142612,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:50:33] local.INFO: Processing buffer {"connection_id":142612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:50:33] local.INFO: IMEI packet received {"connection_id":142612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 03:50:33] local.INFO: IMEI acknowledgment sent {"connection_id":142612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 03:50:39] local.INFO: TCP Data received {"connection_id":142612,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:50:39] local.INFO: Processing buffer {"connection_id":142612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:50:39] local.INFO: IMEI packet received {"connection_id":142612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 03:50:39] local.INFO: IMEI acknowledgment sent {"connection_id":142612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 03:50:40] local.INFO: TCP Data received {"connection_id":142612,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0801f38012d7f980005afd7c00002000629..."} 
[2026-07-27 03:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0801f38012d7f980005afd7c00002000629..."} 
[2026-07-27 03:50:40] local.INFO: Processing buffer {"connection_id":142612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0801f38012d7f980005afd7c00002000629..."} 
[2026-07-27 03:50:40] local.INFO: Packet analysis {"connection_id":142612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa080"} 
[2026-07-27 03:50:40] local.INFO: Extracted packet for processing {"connection_id":142612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa080"} 
[2026-07-27 03:50:40] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 03: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-07-27 03:50:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986592768001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:50:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:50:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:50:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:50:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785104179000,"timestamp_ms":1785104179000,"timestamp_seconds":1785104179,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0801f38"} 
[2026-07-27 03:50:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 03:50:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 03: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-07-27 03: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-07-27 03: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-07-27 03:50:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 03:50:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:50:40] local.INFO: Teltonika packet parsed successfully {"connection_id":142612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:50:40] local.INFO: Passing IMEI to GPS processor {"connection_id":142612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:50:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":142612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:50: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-07-27 03:50:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:50:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:50:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986592768001,"66":25419,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:50:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:50:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:50:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986592768001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:50:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:50:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:50:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:50:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:50:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986592768001,"power":25419,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:50:40] local.INFO: DEBUG: GPS processor result {"connection_id":142612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:50:40] local.INFO: GPS data processed {"connection_id":142612,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:50:40] local.INFO: Acknowledgment sent {"connection_id":142612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:51:11] local.INFO: TCP Data received {"connection_id":142612,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0801f38012d7f980005afd7c00002000629..."} 
[2026-07-27 03:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0801f38012d7f980005afd7c00002000629..."} 
[2026-07-27 03:51:11] local.INFO: Processing buffer {"connection_id":142612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0801f38012d7f980005afd7c00002000629..."} 
[2026-07-27 03:51:11] local.INFO: Packet analysis {"connection_id":142612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa080"} 
[2026-07-27 03:51:11] local.INFO: Extracted packet for processing {"connection_id":142612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa080"} 
[2026-07-27 03:51:11] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 03:51:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 03:51:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986592768001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:51:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:51:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:51:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:51:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785104179000,"timestamp_ms":1785104179000,"timestamp_seconds":1785104179,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0801f38"} 
[2026-07-27 03:51:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 03:51:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 03: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-07-27 03: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-07-27 03:51:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 03:51:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 03:51:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:51:11] local.INFO: Teltonika packet parsed successfully {"connection_id":142612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:51:11] local.INFO: Passing IMEI to GPS processor {"connection_id":142612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:51:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":142612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:51:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 03:51:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:51:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:51:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986592768001,"66":25419,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:51:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:51:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:51:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986592768001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:51:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:51:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:51:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:51:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:51:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986592768001,"power":25419,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:51:11] local.INFO: DEBUG: GPS processor result {"connection_id":142612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:51:11] local.INFO: GPS data processed {"connection_id":142612,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:51:11] local.INFO: Acknowledgment sent {"connection_id":142612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:51:25] local.INFO: TCP Data received {"connection_id":143587,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 03:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143587,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 03:51:25] local.INFO: Processing buffer {"connection_id":143587,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 03:51:25] local.INFO: IMEI packet received {"connection_id":143587,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 03:51:25] local.INFO: IMEI acknowledgment sent {"connection_id":143587,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 03:51:33] local.INFO: TCP Data received {"connection_id":142613,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:51:33] local.INFO: Processing buffer {"connection_id":142613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:51:33] local.INFO: IMEI packet received {"connection_id":142613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 03:51:33] local.INFO: IMEI acknowledgment sent {"connection_id":142613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 03:51:38] local.INFO: TCP Data received {"connection_id":142613,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:51:38] local.INFO: Processing buffer {"connection_id":142613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:51:38] local.INFO: IMEI packet received {"connection_id":142613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 03:51:38] local.INFO: IMEI acknowledgment sent {"connection_id":142613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 03:51:39] local.INFO: TCP Data received {"connection_id":142613,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0801f38012d7f980005afd7c00002000629..."} 
[2026-07-27 03:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0801f38012d7f980005afd7c00002000629..."} 
[2026-07-27 03:51:39] local.INFO: Processing buffer {"connection_id":142613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0801f38012d7f980005afd7c00002000629..."} 
[2026-07-27 03:51:39] local.INFO: Packet analysis {"connection_id":142613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa080"} 
[2026-07-27 03:51:39] local.INFO: Extracted packet for processing {"connection_id":142613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa080"} 
[2026-07-27 03:51:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 03:51:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 03:51:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986592768001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:51:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:51:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:51:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:51:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785104179000,"timestamp_ms":1785104179000,"timestamp_seconds":1785104179,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0801f38"} 
[2026-07-27 03:51:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 03:51:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 03: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-07-27 03: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-07-27 03:51:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 03:51:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 03:51:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:51:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:51:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:51:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:51: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-07-27 03:51:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:51:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:51:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986592768001,"66":25419,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:51:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:51:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:51:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986592768001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:51:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:51:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:51:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:51:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:51:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986592768001,"power":25419,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:51:39] local.INFO: DEBUG: GPS processor result {"connection_id":142613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:51:39] local.INFO: GPS data processed {"connection_id":142613,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:51:39] local.INFO: Acknowledgment sent {"connection_id":142613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:51:51] local.INFO: TCP Data received {"connection_id":142531,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 03:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142531,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 03:51:51] local.INFO: Processing buffer {"connection_id":142531,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 03:51:51] local.INFO: IMEI packet received {"connection_id":142531,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 03:51:51] local.INFO: IMEI acknowledgment sent {"connection_id":142531,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 03:52:10] local.INFO: TCP Data received {"connection_id":142613,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fa084b700012d7f980005afd7c0000200062b..."} 
[2026-07-27 03:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa084b700012d7f980005afd7c0000200062b..."} 
[2026-07-27 03:52:10] local.INFO: Processing buffer {"connection_id":142613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa084b700012d7f980005afd7c0000200062b..."} 
[2026-07-27 03:52:10] local.INFO: Packet analysis {"connection_id":142613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa084"} 
[2026-07-27 03:52:10] local.INFO: Extracted packet for processing {"connection_id":142613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa084"} 
[2026-07-27 03:52:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 03:52:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986669824001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:52:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:52:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:52:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:52:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785104480000,"timestamp_ms":1785104480000,"timestamp_seconds":1785104480,"priority":1,"record_length":96,"hex_timestamp":"0000019fa084b700"} 
[2026-07-27 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-07-27 03:52:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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-07-27 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-07-27 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-07-27 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-07-27 03:52:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:52:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:52:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:52:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:52:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 03:52:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:52:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:52:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986669824001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:52:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:52:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:52:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986669824001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:52:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:52:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:52:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:52:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:52:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986669824001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:52:10] local.INFO: DEBUG: GPS processor result {"connection_id":142613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:52:10] local.INFO: GPS data processed {"connection_id":142613,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:52:10] local.INFO: Acknowledgment sent {"connection_id":142613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:52:38] local.INFO: TCP Data received {"connection_id":143588,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:52:38] local.INFO: Processing buffer {"connection_id":143588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:52:38] local.INFO: IMEI packet received {"connection_id":143588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 03:52:38] local.INFO: IMEI acknowledgment sent {"connection_id":143588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 03:52:43] local.INFO: TCP Data received {"connection_id":143588,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:52:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:52:43] local.INFO: Processing buffer {"connection_id":143588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:52:43] local.INFO: IMEI packet received {"connection_id":143588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 03:52:43] local.INFO: IMEI acknowledgment sent {"connection_id":143588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 03:52:44] local.INFO: TCP Data received {"connection_id":143588,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fa084b700012d7f980005afd7c0000200062b..."} 
[2026-07-27 03:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa084b700012d7f980005afd7c0000200062b..."} 
[2026-07-27 03:52:44] local.INFO: Processing buffer {"connection_id":143588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa084b700012d7f980005afd7c0000200062b..."} 
[2026-07-27 03:52:44] local.INFO: Packet analysis {"connection_id":143588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa084"} 
[2026-07-27 03:52:44] local.INFO: Extracted packet for processing {"connection_id":143588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa084"} 
[2026-07-27 03:52:44] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 03:52:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 03:52:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986669824001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:52:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:52:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:52:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:52:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785104480000,"timestamp_ms":1785104480000,"timestamp_seconds":1785104480,"priority":1,"record_length":96,"hex_timestamp":"0000019fa084b700"} 
[2026-07-27 03:52:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 03:52:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 03:52: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":75,"data_length":795,"current_offset":136} 
[2026-07-27 03:52:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 03:52:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 03:52:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 03:52:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:52:44] local.INFO: Teltonika packet parsed successfully {"connection_id":143588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:52:44] local.INFO: Passing IMEI to GPS processor {"connection_id":143588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:52:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":143588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:52:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 03:52:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:52:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:52:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986669824001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:52:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:52:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:52:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986669824001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:52:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:52:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:52:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:52:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:52:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986669824001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:52:44] local.INFO: DEBUG: GPS processor result {"connection_id":143588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:52:44] local.INFO: GPS data processed {"connection_id":143588,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:52:44] local.INFO: Acknowledgment sent {"connection_id":143588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:52:48] local.INFO: TCP Data received {"connection_id":143588,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fa084b700012d7f980005afd7c0000200062b..."} 
[2026-07-27 03:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa084b700012d7f980005afd7c0000200062b..."} 
[2026-07-27 03:52:48] local.INFO: Processing buffer {"connection_id":143588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa084b700012d7f980005afd7c0000200062b..."} 
[2026-07-27 03:52:48] local.INFO: Packet analysis {"connection_id":143588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa084"} 
[2026-07-27 03:52:48] local.INFO: Extracted packet for processing {"connection_id":143588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa084"} 
[2026-07-27 03:52:48] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 03:52:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 03:52:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986669824001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:52:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:52:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:52:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:52:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785104480000,"timestamp_ms":1785104480000,"timestamp_seconds":1785104480,"priority":1,"record_length":96,"hex_timestamp":"0000019fa084b700"} 
[2026-07-27 03:52:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 03:52:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 03:52:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-27 03:52:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 03:52:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 03:52:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 03:52:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:52:48] local.INFO: Teltonika packet parsed successfully {"connection_id":143588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:52:48] local.INFO: Passing IMEI to GPS processor {"connection_id":143588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:52:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":143588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:52:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 03:52:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:52:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:52:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986669824001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:52:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:52:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:52:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986669824001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:52:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:52:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:52:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:52:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:52:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986669824001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:52:48] local.INFO: DEBUG: GPS processor result {"connection_id":143588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:52:48] local.INFO: GPS data processed {"connection_id":143588,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:52:48] local.INFO: Acknowledgment sent {"connection_id":143588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:53:33] local.INFO: TCP Data received {"connection_id":144912,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:53:33] local.INFO: Processing buffer {"connection_id":144912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:53:33] local.INFO: IMEI packet received {"connection_id":144912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 03:53:33] local.INFO: IMEI acknowledgment sent {"connection_id":144912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 03:53:40] local.INFO: TCP Data received {"connection_id":144912,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:53:40] local.INFO: Processing buffer {"connection_id":144912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:53:40] local.INFO: IMEI packet received {"connection_id":144912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 03:53:40] local.INFO: IMEI acknowledgment sent {"connection_id":144912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 03:53:40] local.INFO: TCP Data received {"connection_id":144912,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fa084b700012d7f980005afd7c0000200062b..."} 
[2026-07-27 03:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa084b700012d7f980005afd7c0000200062b..."} 
[2026-07-27 03:53:40] local.INFO: Processing buffer {"connection_id":144912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa084b700012d7f980005afd7c0000200062b..."} 
[2026-07-27 03:53:40] local.INFO: Packet analysis {"connection_id":144912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa084"} 
[2026-07-27 03:53:40] local.INFO: Extracted packet for processing {"connection_id":144912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa084"} 
[2026-07-27 03:53:40] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 03: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-07-27 03:53:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986669824001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:53:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:53:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:53:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:53:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785104480000,"timestamp_ms":1785104480000,"timestamp_seconds":1785104480,"priority":1,"record_length":96,"hex_timestamp":"0000019fa084b700"} 
[2026-07-27 03:53:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 03:53:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 03: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":75,"data_length":795,"current_offset":136} 
[2026-07-27 03:53: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-07-27 03: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-07-27 03:53:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 03:53:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:53:40] local.INFO: Teltonika packet parsed successfully {"connection_id":144912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:53:40] local.INFO: Passing IMEI to GPS processor {"connection_id":144912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:53:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":144912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:53: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-07-27 03:53:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:53:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:53:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986669824001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:53:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:53:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:53:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986669824001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:53:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:53:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:53:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:53:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:53:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986669824001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:53:41] local.INFO: DEBUG: GPS processor result {"connection_id":144912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:53:41] local.INFO: GPS data processed {"connection_id":144912,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:53:41] local.INFO: Acknowledgment sent {"connection_id":144912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:54:11] local.INFO: TCP Data received {"connection_id":144912,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fa084b700012d7f980005afd7c0000200062b..."} 
[2026-07-27 03:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa084b700012d7f980005afd7c0000200062b..."} 
[2026-07-27 03:54:11] local.INFO: Processing buffer {"connection_id":144912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa084b700012d7f980005afd7c0000200062b..."} 
[2026-07-27 03:54:11] local.INFO: Packet analysis {"connection_id":144912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa084"} 
[2026-07-27 03:54:11] local.INFO: Extracted packet for processing {"connection_id":144912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa084"} 
[2026-07-27 03:54:11] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 03:54:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 03:54:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986669824001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:54:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:54:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:54:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:54:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785104480000,"timestamp_ms":1785104480000,"timestamp_seconds":1785104480,"priority":1,"record_length":96,"hex_timestamp":"0000019fa084b700"} 
[2026-07-27 03:54:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 03:54:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 03:54:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-27 03:54: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-07-27 03:54:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 03:54:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 03:54:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:54:11] local.INFO: Teltonika packet parsed successfully {"connection_id":144912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:54:11] local.INFO: Passing IMEI to GPS processor {"connection_id":144912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:54:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":144912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:54: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-07-27 03:54:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:54:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:54:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986669824001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:54:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:54:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:54:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986669824001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:54:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:54:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:54:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:54:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:54:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986669824001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:54:11] local.INFO: DEBUG: GPS processor result {"connection_id":144912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:54:11] local.INFO: GPS data processed {"connection_id":144912,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:54:11] local.INFO: Acknowledgment sent {"connection_id":144912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:54:33] local.INFO: TCP Data received {"connection_id":144913,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:54:33] local.INFO: Processing buffer {"connection_id":144913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:54:33] local.INFO: IMEI packet received {"connection_id":144913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 03:54:33] local.INFO: IMEI acknowledgment sent {"connection_id":144913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 03:54:38] local.INFO: TCP Data received {"connection_id":144913,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:54:38] local.INFO: Processing buffer {"connection_id":144913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:54:38] local.INFO: IMEI packet received {"connection_id":144913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 03:54:38] local.INFO: IMEI acknowledgment sent {"connection_id":144913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 03:54:39] local.INFO: TCP Data received {"connection_id":144913,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fa084b700012d7f980005afd7c0000200062b..."} 
[2026-07-27 03:54:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa084b700012d7f980005afd7c0000200062b..."} 
[2026-07-27 03:54:39] local.INFO: Processing buffer {"connection_id":144913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa084b700012d7f980005afd7c0000200062b..."} 
[2026-07-27 03:54:39] local.INFO: Packet analysis {"connection_id":144913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa084"} 
[2026-07-27 03:54:39] local.INFO: Extracted packet for processing {"connection_id":144913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa084"} 
[2026-07-27 03:54:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 03:54:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 03:54:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986669824001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:54:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:54:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:54:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:54:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785104480000,"timestamp_ms":1785104480000,"timestamp_seconds":1785104480,"priority":1,"record_length":96,"hex_timestamp":"0000019fa084b700"} 
[2026-07-27 03:54:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 03:54:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 03: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":75,"data_length":795,"current_offset":136} 
[2026-07-27 03:54: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-07-27 03:54:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 03:54:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 03:54:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:54:39] local.INFO: Teltonika packet parsed successfully {"connection_id":144913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:54:39] local.INFO: Passing IMEI to GPS processor {"connection_id":144913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:54:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":144913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:54:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 03:54:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:54:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:54:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986669824001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:54:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:54:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:54:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986669824001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:54:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:54:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:54:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:54:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:54:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986669824001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:54:39] local.INFO: DEBUG: GPS processor result {"connection_id":144913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:54:39] local.INFO: GPS data processed {"connection_id":144913,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:54:39] local.INFO: Acknowledgment sent {"connection_id":144913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:55:10] local.INFO: TCP Data received {"connection_id":144913,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fa084b700012d7f980005afd7c0000200062b..."} 
[2026-07-27 03:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa084b700012d7f980005afd7c0000200062b..."} 
[2026-07-27 03:55:10] local.INFO: Processing buffer {"connection_id":144913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa084b700012d7f980005afd7c0000200062b..."} 
[2026-07-27 03:55:10] local.INFO: Packet analysis {"connection_id":144913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa084"} 
[2026-07-27 03:55:10] local.INFO: Extracted packet for processing {"connection_id":144913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa084"} 
[2026-07-27 03:55:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 03:55:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 03:55:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986669824001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:55:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:55:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:55:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:55:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785104480000,"timestamp_ms":1785104480000,"timestamp_seconds":1785104480,"priority":1,"record_length":96,"hex_timestamp":"0000019fa084b700"} 
[2026-07-27 03:55:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 03:55:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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-07-27 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-07-27 03:55:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 03:55:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 03:55:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:55:10] local.INFO: Teltonika packet parsed successfully {"connection_id":144913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:55:10] local.INFO: Passing IMEI to GPS processor {"connection_id":144913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:55:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":144913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:55:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 03:55:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:55:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:55:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986669824001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:55:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:55:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:55:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986669824001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:55:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:55:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:55:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:55:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:55:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986669824001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:55:10] local.INFO: DEBUG: GPS processor result {"connection_id":144913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:55:10] local.INFO: GPS data processed {"connection_id":144913,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:55:10] local.INFO: Acknowledgment sent {"connection_id":144913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:55:33] local.INFO: TCP Data received {"connection_id":142534,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:55:33] local.INFO: Processing buffer {"connection_id":142534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:55:33] local.INFO: IMEI packet received {"connection_id":142534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 03:55:33] local.INFO: IMEI acknowledgment sent {"connection_id":142534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 03:55:38] local.INFO: TCP Data received {"connection_id":142534,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:55:38] local.INFO: Processing buffer {"connection_id":142534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:55:38] local.INFO: IMEI packet received {"connection_id":142534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 03:55:38] local.INFO: IMEI acknowledgment sent {"connection_id":142534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 03:55:39] local.INFO: TCP Data received {"connection_id":142534,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fa084b700012d7f980005afd7c0000200062b..."} 
[2026-07-27 03:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa084b700012d7f980005afd7c0000200062b..."} 
[2026-07-27 03:55:39] local.INFO: Processing buffer {"connection_id":142534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa084b700012d7f980005afd7c0000200062b..."} 
[2026-07-27 03:55:39] local.INFO: Packet analysis {"connection_id":142534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa084"} 
[2026-07-27 03:55:39] local.INFO: Extracted packet for processing {"connection_id":142534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa084"} 
[2026-07-27 03:55:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 03: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-07-27 03:55:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986669824001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:55:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:55:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:55:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:55:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785104480000,"timestamp_ms":1785104480000,"timestamp_seconds":1785104480,"priority":1,"record_length":96,"hex_timestamp":"0000019fa084b700"} 
[2026-07-27 03:55:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 03:55:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 03: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":75,"data_length":795,"current_offset":136} 
[2026-07-27 03:55: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-07-27 03: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-07-27 03:55:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 03:55:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:55:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:55:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:55:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:55:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 03:55:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:55:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:55:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986669824001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:55:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:55:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:55:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986669824001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:55:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:55:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:55:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:55:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:55:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986669824001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:55:39] local.INFO: DEBUG: GPS processor result {"connection_id":142534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:55:39] local.INFO: GPS data processed {"connection_id":142534,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:55:39] local.INFO: Acknowledgment sent {"connection_id":142534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:56:10] local.INFO: TCP Data received {"connection_id":142534,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fa084b700012d7f980005afd7c0000200062b..."} 
[2026-07-27 03:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa084b700012d7f980005afd7c0000200062b..."} 
[2026-07-27 03:56:10] local.INFO: Processing buffer {"connection_id":142534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa084b700012d7f980005afd7c0000200062b..."} 
[2026-07-27 03:56:10] local.INFO: Packet analysis {"connection_id":142534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa084"} 
[2026-07-27 03:56:10] local.INFO: Extracted packet for processing {"connection_id":142534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa084"} 
[2026-07-27 03:56:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 03:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 03:56:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986669824001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:56:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:56:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:56:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:56:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785104480000,"timestamp_ms":1785104480000,"timestamp_seconds":1785104480,"priority":1,"record_length":96,"hex_timestamp":"0000019fa084b700"} 
[2026-07-27 03:56:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 03:56:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 03:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-27 03:56: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-07-27 03:56:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 03:56:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 03:56:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:56:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:56:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:56:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:56:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 03:56:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:56:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:56:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986669824001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:56:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:56:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:56:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986669824001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:56:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:56:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:56:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:56:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:56:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986669824001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:56:10] local.INFO: DEBUG: GPS processor result {"connection_id":142534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:56:10] local.INFO: GPS data processed {"connection_id":142534,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:56:10] local.INFO: Acknowledgment sent {"connection_id":142534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:56:33] local.INFO: TCP Data received {"connection_id":144914,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:56:33] local.INFO: Processing buffer {"connection_id":144914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:56:33] local.INFO: IMEI packet received {"connection_id":144914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 03:56:33] local.INFO: IMEI acknowledgment sent {"connection_id":144914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 03:56:38] local.INFO: TCP Data received {"connection_id":144914,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:56:38] local.INFO: Processing buffer {"connection_id":144914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:56:38] local.INFO: IMEI packet received {"connection_id":144914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 03:56:38] local.INFO: IMEI acknowledgment sent {"connection_id":144914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 03:56:39] local.INFO: TCP Data received {"connection_id":144914,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fa084b700012d7f980005afd7c0000200062b..."} 
[2026-07-27 03:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa084b700012d7f980005afd7c0000200062b..."} 
[2026-07-27 03:56:39] local.INFO: Processing buffer {"connection_id":144914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa084b700012d7f980005afd7c0000200062b..."} 
[2026-07-27 03:56:39] local.INFO: Packet analysis {"connection_id":144914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa084"} 
[2026-07-27 03:56:39] local.INFO: Extracted packet for processing {"connection_id":144914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa084"} 
[2026-07-27 03:56:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 03: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-07-27 03:56:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986669824001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:56:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:56:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:56:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:56:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785104480000,"timestamp_ms":1785104480000,"timestamp_seconds":1785104480,"priority":1,"record_length":96,"hex_timestamp":"0000019fa084b700"} 
[2026-07-27 03:56:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 03:56:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 03: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":75,"data_length":795,"current_offset":136} 
[2026-07-27 03:56: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-07-27 03: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-07-27 03:56:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 03:56:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:56:39] local.INFO: Teltonika packet parsed successfully {"connection_id":144914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:56:39] local.INFO: Passing IMEI to GPS processor {"connection_id":144914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:56:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":144914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:56:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 03:56:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:56:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:56:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986669824001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:56:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:56:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:56:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986669824001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:56:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:56:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:56:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:56:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:56:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986669824001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:56:39] local.INFO: DEBUG: GPS processor result {"connection_id":144914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:56:39] local.INFO: GPS data processed {"connection_id":144914,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:56:39] local.INFO: Acknowledgment sent {"connection_id":144914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:57:10] local.INFO: TCP Data received {"connection_id":144914,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0894ec8012d7f980005afd7c00002000628..."} 
[2026-07-27 03:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0894ec8012d7f980005afd7c00002000628..."} 
[2026-07-27 03:57:10] local.INFO: Processing buffer {"connection_id":144914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0894ec8012d7f980005afd7c00002000628..."} 
[2026-07-27 03:57:10] local.INFO: Packet analysis {"connection_id":144914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa089"} 
[2026-07-27 03:57:10] local.INFO: Extracted packet for processing {"connection_id":144914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa089"} 
[2026-07-27 03:57:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 03:57:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986746880001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:57:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:57:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:57:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:57:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785104781000,"timestamp_ms":1785104781000,"timestamp_seconds":1785104781,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0894ec8"} 
[2026-07-27 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-07-27 03:57:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":53,"data_length":795,"current_offset":136} 
[2026-07-27 03:57:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 03:57:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:57:10] local.INFO: Teltonika packet parsed successfully {"connection_id":144914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:57:10] local.INFO: Passing IMEI to GPS processor {"connection_id":144914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:57:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":144914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:57:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 03:57:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:57:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:57:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986746880001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:57:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:57:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:57:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986746880001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:57:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:57:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:57:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:57:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:57:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986746880001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:57:10] local.INFO: DEBUG: GPS processor result {"connection_id":144914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:57:10] local.INFO: GPS data processed {"connection_id":144914,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:57:10] local.INFO: Acknowledgment sent {"connection_id":144914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:57:25] local.INFO: TCP Data received {"connection_id":143590,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 03:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143590,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 03:57:25] local.INFO: Processing buffer {"connection_id":143590,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 03:57:25] local.INFO: IMEI packet received {"connection_id":143590,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 03:57:25] local.INFO: IMEI acknowledgment sent {"connection_id":143590,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 03:57:33] local.INFO: TCP Data received {"connection_id":143591,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:57:33] local.INFO: Processing buffer {"connection_id":143591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:57:33] local.INFO: IMEI packet received {"connection_id":143591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 03:57:33] local.INFO: IMEI acknowledgment sent {"connection_id":143591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 03:57:38] local.INFO: TCP Data received {"connection_id":143591,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:57:38] local.INFO: Processing buffer {"connection_id":143591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:57:38] local.INFO: IMEI packet received {"connection_id":143591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 03:57:38] local.INFO: IMEI acknowledgment sent {"connection_id":143591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 03:57:39] local.INFO: TCP Data received {"connection_id":143591,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0894ec8012d7f980005afd7c00002000628..."} 
[2026-07-27 03:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0894ec8012d7f980005afd7c00002000628..."} 
[2026-07-27 03:57:39] local.INFO: Processing buffer {"connection_id":143591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0894ec8012d7f980005afd7c00002000628..."} 
[2026-07-27 03:57:39] local.INFO: Packet analysis {"connection_id":143591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa089"} 
[2026-07-27 03:57:39] local.INFO: Extracted packet for processing {"connection_id":143591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa089"} 
[2026-07-27 03:57:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 03:57:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 03:57:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986746880001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:57:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:57:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:57:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:57:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785104781000,"timestamp_ms":1785104781000,"timestamp_seconds":1785104781,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0894ec8"} 
[2026-07-27 03:57:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 03:57:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 03:57:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 03:57: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-07-27 03:57:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 03:57:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 03:57:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:57:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:57:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:57:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:57:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 03:57:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:57:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:57:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986746880001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:57:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:57:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:57:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986746880001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:57:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:57:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:57:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:57:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:57:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986746880001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:57:39] local.INFO: DEBUG: GPS processor result {"connection_id":143591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:57:39] local.INFO: GPS data processed {"connection_id":143591,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:57:39] local.INFO: Acknowledgment sent {"connection_id":143591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:57:46] local.INFO: TCP Data received {"connection_id":142535,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 03:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142535,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 03:57:46] local.INFO: Processing buffer {"connection_id":142535,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 03:57:46] local.INFO: IMEI packet received {"connection_id":142535,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 03:57:46] local.INFO: IMEI acknowledgment sent {"connection_id":142535,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 03:58:10] local.INFO: TCP Data received {"connection_id":143591,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0894ec8012d7f980005afd7c00002000628..."} 
[2026-07-27 03:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0894ec8012d7f980005afd7c00002000628..."} 
[2026-07-27 03:58:10] local.INFO: Processing buffer {"connection_id":143591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0894ec8012d7f980005afd7c00002000628..."} 
[2026-07-27 03:58:10] local.INFO: Packet analysis {"connection_id":143591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa089"} 
[2026-07-27 03:58:10] local.INFO: Extracted packet for processing {"connection_id":143591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa089"} 
[2026-07-27 03:58:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 03:58:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 03:58:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986746880001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:58:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:58:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:58:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:58:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785104781000,"timestamp_ms":1785104781000,"timestamp_seconds":1785104781,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0894ec8"} 
[2026-07-27 03:58:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 03:58:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":53,"data_length":795,"current_offset":136} 
[2026-07-27 03: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-07-27 03:58:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 03:58:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 03:58:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:58:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:58:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:58:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:58:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 03:58:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:58:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:58:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986746880001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:58:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:58:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:58:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986746880001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:58:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:58:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:58:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:58:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:58:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986746880001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:58:10] local.INFO: DEBUG: GPS processor result {"connection_id":143591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:58:10] local.INFO: GPS data processed {"connection_id":143591,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:58:10] local.INFO: Acknowledgment sent {"connection_id":143591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:58:33] local.INFO: TCP Data received {"connection_id":142615,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:58:33] local.INFO: Processing buffer {"connection_id":142615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:58:33] local.INFO: IMEI packet received {"connection_id":142615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 03:58:33] local.INFO: IMEI acknowledgment sent {"connection_id":142615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 03:58:38] local.INFO: TCP Data received {"connection_id":142615,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:58:38] local.INFO: Processing buffer {"connection_id":142615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:58:38] local.INFO: IMEI packet received {"connection_id":142615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 03:58:38] local.INFO: IMEI acknowledgment sent {"connection_id":142615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 03:58:39] local.INFO: TCP Data received {"connection_id":142615,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0894ec8012d7f980005afd7c00002000628..."} 
[2026-07-27 03:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0894ec8012d7f980005afd7c00002000628..."} 
[2026-07-27 03:58:39] local.INFO: Processing buffer {"connection_id":142615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0894ec8012d7f980005afd7c00002000628..."} 
[2026-07-27 03:58:39] local.INFO: Packet analysis {"connection_id":142615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa089"} 
[2026-07-27 03:58:39] local.INFO: Extracted packet for processing {"connection_id":142615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa089"} 
[2026-07-27 03:58:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 03:58:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 03:58:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986746880001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:58:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:58:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:58:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:58:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785104781000,"timestamp_ms":1785104781000,"timestamp_seconds":1785104781,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0894ec8"} 
[2026-07-27 03:58:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 03:58:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 03: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-07-27 03: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-07-27 03:58:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 03:58:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 03:58:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:58:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:58:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:58:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:58:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 03:58:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:58:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:58:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986746880001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:58:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:58:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:58:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986746880001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:58:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:58:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:58:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:58:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:58:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986746880001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:58:39] local.INFO: DEBUG: GPS processor result {"connection_id":142615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:58:39] local.INFO: GPS data processed {"connection_id":142615,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:58:39] local.INFO: Acknowledgment sent {"connection_id":142615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:59:10] local.INFO: TCP Data received {"connection_id":142615,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0894ec8012d7f980005afd7c00002000628..."} 
[2026-07-27 03:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0894ec8012d7f980005afd7c00002000628..."} 
[2026-07-27 03:59:10] local.INFO: Processing buffer {"connection_id":142615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0894ec8012d7f980005afd7c00002000628..."} 
[2026-07-27 03:59:10] local.INFO: Packet analysis {"connection_id":142615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa089"} 
[2026-07-27 03:59:10] local.INFO: Extracted packet for processing {"connection_id":142615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa089"} 
[2026-07-27 03:59:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 03:59:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 03:59:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986746880001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:59:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:59:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:59:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:59:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785104781000,"timestamp_ms":1785104781000,"timestamp_seconds":1785104781,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0894ec8"} 
[2026-07-27 03:59:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 03:59:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 03:59:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 03: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-07-27 03:59:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 03:59:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 03:59:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:59:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:59:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:59:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:59:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 03:59:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:59:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:59:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986746880001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:59:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:59:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:59:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986746880001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:59:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:59:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:59:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:59:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:59:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986746880001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:59:10] local.INFO: DEBUG: GPS processor result {"connection_id":142615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:59:10] local.INFO: GPS data processed {"connection_id":142615,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:59:10] local.INFO: Acknowledgment sent {"connection_id":142615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 03:59:33] local.INFO: TCP Data received {"connection_id":142536,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:59:33] local.INFO: Processing buffer {"connection_id":142536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:59:33] local.INFO: IMEI packet received {"connection_id":142536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 03:59:33] local.INFO: IMEI acknowledgment sent {"connection_id":142536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 03:59:38] local.INFO: TCP Data received {"connection_id":142536,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:59:38] local.INFO: Processing buffer {"connection_id":142536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 03:59:38] local.INFO: IMEI packet received {"connection_id":142536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 03:59:38] local.INFO: IMEI acknowledgment sent {"connection_id":142536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 03:59:39] local.INFO: TCP Data received {"connection_id":142536,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0894ec8012d7f980005afd7c00002000628..."} 
[2026-07-27 03:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142536,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0894ec8012d7f980005afd7c00002000628..."} 
[2026-07-27 03:59:39] local.INFO: Processing buffer {"connection_id":142536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0894ec8012d7f980005afd7c00002000628..."} 
[2026-07-27 03:59:39] local.INFO: Packet analysis {"connection_id":142536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa089"} 
[2026-07-27 03:59:39] local.INFO: Extracted packet for processing {"connection_id":142536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa089"} 
[2026-07-27 03:59:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 03:59:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 03:59:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986746880001,"note":"Value kept but may cause issues"} 
[2026-07-27 03:59:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 03:59:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 03:59:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 03:59:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785104781000,"timestamp_ms":1785104781000,"timestamp_seconds":1785104781,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0894ec8"} 
[2026-07-27 03:59:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 03:59:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 03: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":53,"data_length":795,"current_offset":136} 
[2026-07-27 03:59: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-07-27 03:59:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 03:59:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 03:59:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 03:59:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 03:59:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:59:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 03:59:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 03:59:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 03:59:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 03:59:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986746880001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 03:59:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 03:59:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 03:59:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986746880001,"description":"Unknown IO ID 0"} 
[2026-07-27 03:59:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 03:59:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 03:59:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 03:59:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 03:59:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986746880001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 03:59:39] local.INFO: DEBUG: GPS processor result {"connection_id":142536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 03:59:39] local.INFO: GPS data processed {"connection_id":142536,"processed":1,"errors":0,"total":1} 
[2026-07-27 03:59:39] local.INFO: Acknowledgment sent {"connection_id":142536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:00:10] local.INFO: TCP Data received {"connection_id":142536,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0894ec8012d7f980005afd7c00002000628..."} 
[2026-07-27 04:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142536,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0894ec8012d7f980005afd7c00002000628..."} 
[2026-07-27 04:00:10] local.INFO: Processing buffer {"connection_id":142536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0894ec8012d7f980005afd7c00002000628..."} 
[2026-07-27 04:00:10] local.INFO: Packet analysis {"connection_id":142536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa089"} 
[2026-07-27 04:00:10] local.INFO: Extracted packet for processing {"connection_id":142536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa089"} 
[2026-07-27 04:00:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 04:00:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 04:00:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986746880001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:00:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:00:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:00:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:00:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785104781000,"timestamp_ms":1785104781000,"timestamp_seconds":1785104781,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0894ec8"} 
[2026-07-27 04:00:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 04:00:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":53,"data_length":795,"current_offset":136} 
[2026-07-27 04: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-07-27 04:00:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 04:00:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 04:00:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:00:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:00:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:00:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04: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-07-27 04:00:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:00:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:00:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986746880001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 04:00:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:00:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:00:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986746880001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:00:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 04:00:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:00:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:00:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:00:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986746880001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:00:10] local.INFO: DEBUG: GPS processor result {"connection_id":142536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:00:10] local.INFO: GPS data processed {"connection_id":142536,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:00:10] local.INFO: Acknowledgment sent {"connection_id":142536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:00:33] local.INFO: TCP Data received {"connection_id":144917,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:00:33] local.INFO: Processing buffer {"connection_id":144917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:00:33] local.INFO: IMEI packet received {"connection_id":144917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 04:00:33] local.INFO: IMEI acknowledgment sent {"connection_id":144917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 04:00:39] local.INFO: TCP Data received {"connection_id":144917,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:00:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:00:39] local.INFO: Processing buffer {"connection_id":144917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:00:39] local.INFO: IMEI packet received {"connection_id":144917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 04:00:39] local.INFO: IMEI acknowledgment sent {"connection_id":144917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 04:00:40] local.INFO: TCP Data received {"connection_id":144917,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0894ec8012d7f980005afd7c00002000628..."} 
[2026-07-27 04:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144917,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0894ec8012d7f980005afd7c00002000628..."} 
[2026-07-27 04:00:40] local.INFO: Processing buffer {"connection_id":144917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0894ec8012d7f980005afd7c00002000628..."} 
[2026-07-27 04:00:40] local.INFO: Packet analysis {"connection_id":144917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa089"} 
[2026-07-27 04:00:40] local.INFO: Extracted packet for processing {"connection_id":144917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa089"} 
[2026-07-27 04:00:40] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 04: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-07-27 04:00:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986746880001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:00:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:00:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:00:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:00:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785104781000,"timestamp_ms":1785104781000,"timestamp_seconds":1785104781,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0894ec8"} 
[2026-07-27 04:00:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 04:00:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 04: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":53,"data_length":795,"current_offset":136} 
[2026-07-27 04:00: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-07-27 04: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-07-27 04:00:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 04:00:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:00:40] local.INFO: Teltonika packet parsed successfully {"connection_id":144917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:00:40] local.INFO: Passing IMEI to GPS processor {"connection_id":144917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:00:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":144917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:00: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-07-27 04:00:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:00:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:00:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986746880001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 04:00:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:00:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:00:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986746880001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:00:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 04:00:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:00:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:00:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:00:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986746880001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:00:40] local.INFO: DEBUG: GPS processor result {"connection_id":144917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:00:40] local.INFO: GPS data processed {"connection_id":144917,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:00:40] local.INFO: Acknowledgment sent {"connection_id":144917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:01:11] local.INFO: TCP Data received {"connection_id":144917,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0894ec8012d7f980005afd7c00002000628..."} 
[2026-07-27 04:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144917,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0894ec8012d7f980005afd7c00002000628..."} 
[2026-07-27 04:01:11] local.INFO: Processing buffer {"connection_id":144917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0894ec8012d7f980005afd7c00002000628..."} 
[2026-07-27 04:01:11] local.INFO: Packet analysis {"connection_id":144917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa089"} 
[2026-07-27 04:01:11] local.INFO: Extracted packet for processing {"connection_id":144917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa089"} 
[2026-07-27 04:01:11] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 04:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 04:01:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986746880001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:01:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:01:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:01:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:01:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785104781000,"timestamp_ms":1785104781000,"timestamp_seconds":1785104781,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0894ec8"} 
[2026-07-27 04:01:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 04:01:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 04: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":53,"data_length":795,"current_offset":136} 
[2026-07-27 04:01: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-07-27 04:01:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 04:01:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 04:01:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:01:11] local.INFO: Teltonika packet parsed successfully {"connection_id":144917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:01:11] local.INFO: Passing IMEI to GPS processor {"connection_id":144917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:01:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":144917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:01: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-07-27 04:01:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:01:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:01:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986746880001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 04:01:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:01:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:01:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986746880001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:01:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 04:01:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:01:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:01:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:01:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986746880001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:01:11] local.INFO: DEBUG: GPS processor result {"connection_id":144917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:01:11] local.INFO: GPS data processed {"connection_id":144917,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:01:11] local.INFO: Acknowledgment sent {"connection_id":144917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:01:33] local.INFO: TCP Data received {"connection_id":142537,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:01:33] local.INFO: Processing buffer {"connection_id":142537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:01:33] local.INFO: IMEI packet received {"connection_id":142537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 04:01:33] local.INFO: IMEI acknowledgment sent {"connection_id":142537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 04:01:38] local.INFO: TCP Data received {"connection_id":142537,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:01:38] local.INFO: Processing buffer {"connection_id":142537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:01:38] local.INFO: IMEI packet received {"connection_id":142537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 04:01:38] local.INFO: IMEI acknowledgment sent {"connection_id":142537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 04:01:39] local.INFO: TCP Data received {"connection_id":142537,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0894ec8012d7f980005afd7c00002000628..."} 
[2026-07-27 04:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0894ec8012d7f980005afd7c00002000628..."} 
[2026-07-27 04:01:39] local.INFO: Processing buffer {"connection_id":142537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0894ec8012d7f980005afd7c00002000628..."} 
[2026-07-27 04:01:39] local.INFO: Packet analysis {"connection_id":142537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa089"} 
[2026-07-27 04:01:39] local.INFO: Extracted packet for processing {"connection_id":142537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa089"} 
[2026-07-27 04:01:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 04: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-07-27 04:01:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986746880001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:01:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:01:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:01:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:01:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785104781000,"timestamp_ms":1785104781000,"timestamp_seconds":1785104781,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0894ec8"} 
[2026-07-27 04:01:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 04:01:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 04: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":53,"data_length":795,"current_offset":136} 
[2026-07-27 04:01: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-07-27 04: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-07-27 04:01:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 04:01:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:01:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:01:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:01:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:01:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 04:01:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:01:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:01:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986746880001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 04:01:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:01:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:01:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986746880001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:01:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 04:01:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:01:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:01:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:01:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986746880001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:01:39] local.INFO: DEBUG: GPS processor result {"connection_id":142537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:01:39] local.INFO: GPS data processed {"connection_id":142537,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:01:39] local.INFO: Acknowledgment sent {"connection_id":142537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:02:10] local.INFO: TCP Data received {"connection_id":142537,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fa08de690012d7f980005afd7c00002000626..."} 
[2026-07-27 04:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa08de690012d7f980005afd7c00002000626..."} 
[2026-07-27 04:02:10] local.INFO: Processing buffer {"connection_id":142537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa08de690012d7f980005afd7c00002000626..."} 
[2026-07-27 04:02:10] local.INFO: Packet analysis {"connection_id":142537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa08d"} 
[2026-07-27 04:02:10] local.INFO: Extracted packet for processing {"connection_id":142537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa08d"} 
[2026-07-27 04:02:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":38,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 04:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 04:02:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986823936001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:02:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:02:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:02:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:02:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785105082000,"timestamp_ms":1785105082000,"timestamp_seconds":1785105082,"priority":1,"record_length":96,"hex_timestamp":"0000019fa08de690"} 
[2026-07-27 04:02:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 04:02:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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-07-27 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-07-27 04:02:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 04:02:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 04:02:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:02:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:02:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:02:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:02:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 04:02:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:02:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:02:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986823936001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 04:02:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:02:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:02:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986823936001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:02:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 04:02:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:02:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:02:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:02:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986823936001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:02:10] local.INFO: DEBUG: GPS processor result {"connection_id":142537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:02:10] local.INFO: GPS data processed {"connection_id":142537,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:02:10] local.INFO: Acknowledgment sent {"connection_id":142537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:02:33] local.INFO: TCP Data received {"connection_id":144918,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:02:33] local.INFO: Processing buffer {"connection_id":144918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:02:33] local.INFO: IMEI packet received {"connection_id":144918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 04:02:33] local.INFO: IMEI acknowledgment sent {"connection_id":144918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 04:02:38] local.INFO: TCP Data received {"connection_id":144918,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:02:38] local.INFO: Processing buffer {"connection_id":144918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:02:38] local.INFO: IMEI packet received {"connection_id":144918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 04:02:38] local.INFO: IMEI acknowledgment sent {"connection_id":144918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 04:02:39] local.INFO: TCP Data received {"connection_id":144918,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fa08de690012d7f980005afd7c00002000626..."} 
[2026-07-27 04:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa08de690012d7f980005afd7c00002000626..."} 
[2026-07-27 04:02:39] local.INFO: Processing buffer {"connection_id":144918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa08de690012d7f980005afd7c00002000626..."} 
[2026-07-27 04:02:39] local.INFO: Packet analysis {"connection_id":144918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa08d"} 
[2026-07-27 04:02:39] local.INFO: Extracted packet for processing {"connection_id":144918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa08d"} 
[2026-07-27 04:02:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":38,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 04:02:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 04:02:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986823936001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:02:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:02:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:02:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:02:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785105082000,"timestamp_ms":1785105082000,"timestamp_seconds":1785105082,"priority":1,"record_length":96,"hex_timestamp":"0000019fa08de690"} 
[2026-07-27 04:02:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 04:02:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 04:02:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 04: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-07-27 04:02:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 04:02:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 04:02:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:02:39] local.INFO: Teltonika packet parsed successfully {"connection_id":144918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:02:39] local.INFO: Passing IMEI to GPS processor {"connection_id":144918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:02:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":144918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:02:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 04:02:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:02:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:02:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986823936001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 04:02:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:02:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:02:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986823936001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:02:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 04:02:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:02:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:02:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:02:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986823936001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:02:39] local.INFO: DEBUG: GPS processor result {"connection_id":144918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:02:39] local.INFO: GPS data processed {"connection_id":144918,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:02:39] local.INFO: Acknowledgment sent {"connection_id":144918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:03:10] local.INFO: TCP Data received {"connection_id":144918,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fa08de690012d7f980005afd7c00002000626..."} 
[2026-07-27 04:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa08de690012d7f980005afd7c00002000626..."} 
[2026-07-27 04:03:10] local.INFO: Processing buffer {"connection_id":144918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa08de690012d7f980005afd7c00002000626..."} 
[2026-07-27 04:03:10] local.INFO: Packet analysis {"connection_id":144918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa08d"} 
[2026-07-27 04:03:10] local.INFO: Extracted packet for processing {"connection_id":144918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa08d"} 
[2026-07-27 04:03:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":38,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 04:03:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986823936001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:03:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:03:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:03:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:03:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785105082000,"timestamp_ms":1785105082000,"timestamp_seconds":1785105082,"priority":1,"record_length":96,"hex_timestamp":"0000019fa08de690"} 
[2026-07-27 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-07-27 04:03:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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-07-27 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-07-27 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-07-27 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-07-27 04:03:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:03:10] local.INFO: Teltonika packet parsed successfully {"connection_id":144918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:03:10] local.INFO: Passing IMEI to GPS processor {"connection_id":144918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:03:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":144918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:03:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 04:03:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:03:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:03:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986823936001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 04:03:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:03:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:03:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986823936001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:03:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 04:03:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:03:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:03:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:03:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986823936001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:03:10] local.INFO: DEBUG: GPS processor result {"connection_id":144918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:03:10] local.INFO: GPS data processed {"connection_id":144918,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:03:10] local.INFO: Acknowledgment sent {"connection_id":144918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:03:15] local.INFO: TCP Data received {"connection_id":142616,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 04:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142616,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 04:03:15] local.INFO: Processing buffer {"connection_id":142616,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 04:03:15] local.INFO: IMEI packet received {"connection_id":142616,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 04:03:15] local.INFO: IMEI acknowledgment sent {"connection_id":142616,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 04:03:33] local.INFO: TCP Data received {"connection_id":143593,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:03:33] local.INFO: Processing buffer {"connection_id":143593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:03:33] local.INFO: IMEI packet received {"connection_id":143593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 04:03:33] local.INFO: IMEI acknowledgment sent {"connection_id":143593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 04:03:38] local.INFO: TCP Data received {"connection_id":143593,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:03:38] local.INFO: Processing buffer {"connection_id":143593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:03:38] local.INFO: IMEI packet received {"connection_id":143593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 04:03:38] local.INFO: IMEI acknowledgment sent {"connection_id":143593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 04:03:39] local.INFO: TCP Data received {"connection_id":143593,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fa08de690012d7f980005afd7c00002000626..."} 
[2026-07-27 04:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa08de690012d7f980005afd7c00002000626..."} 
[2026-07-27 04:03:39] local.INFO: Processing buffer {"connection_id":143593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa08de690012d7f980005afd7c00002000626..."} 
[2026-07-27 04:03:39] local.INFO: Packet analysis {"connection_id":143593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa08d"} 
[2026-07-27 04:03:39] local.INFO: Extracted packet for processing {"connection_id":143593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa08d"} 
[2026-07-27 04:03:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":38,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 04: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-07-27 04:03:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986823936001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:03:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:03:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:03:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:03:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785105082000,"timestamp_ms":1785105082000,"timestamp_seconds":1785105082,"priority":1,"record_length":96,"hex_timestamp":"0000019fa08de690"} 
[2026-07-27 04:03:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 04:03:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 04: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":53,"data_length":795,"current_offset":136} 
[2026-07-27 04:03: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-07-27 04: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-07-27 04:03:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 04:03:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:03:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:03:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:03:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:03:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 04:03:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:03:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:03:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986823936001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 04:03:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:03:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:03:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986823936001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:03:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 04:03:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:03:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:03:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:03:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986823936001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:03:39] local.INFO: DEBUG: GPS processor result {"connection_id":143593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:03:39] local.INFO: GPS data processed {"connection_id":143593,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:03:39] local.INFO: Acknowledgment sent {"connection_id":143593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:03:45] local.INFO: TCP Data received {"connection_id":142539,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 04:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142539,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 04:03:45] local.INFO: Processing buffer {"connection_id":142539,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 04:03:45] local.INFO: IMEI packet received {"connection_id":142539,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 04:03:45] local.INFO: IMEI acknowledgment sent {"connection_id":142539,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 04:04:10] local.INFO: TCP Data received {"connection_id":143593,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fa08de690012d7f980005afd7c00002000626..."} 
[2026-07-27 04:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa08de690012d7f980005afd7c00002000626..."} 
[2026-07-27 04:04:10] local.INFO: Processing buffer {"connection_id":143593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa08de690012d7f980005afd7c00002000626..."} 
[2026-07-27 04:04:10] local.INFO: Packet analysis {"connection_id":143593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa08d"} 
[2026-07-27 04:04:10] local.INFO: Extracted packet for processing {"connection_id":143593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa08d"} 
[2026-07-27 04:04:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":38,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 04:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 04:04:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986823936001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:04:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:04:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:04:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:04:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785105082000,"timestamp_ms":1785105082000,"timestamp_seconds":1785105082,"priority":1,"record_length":96,"hex_timestamp":"0000019fa08de690"} 
[2026-07-27 04:04:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 04:04:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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-07-27 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-07-27 04:04:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 04:04:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 04:04:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:04:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:04:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:04:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04: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-07-27 04:04:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:04:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:04:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986823936001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 04:04:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:04:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:04:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986823936001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:04:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 04:04:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:04:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:04:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:04:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986823936001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:04:10] local.INFO: DEBUG: GPS processor result {"connection_id":143593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:04:10] local.INFO: GPS data processed {"connection_id":143593,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:04:10] local.INFO: Acknowledgment sent {"connection_id":143593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:04:38] local.INFO: TCP Data received {"connection_id":142617,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:04:38] local.INFO: Processing buffer {"connection_id":142617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:04:38] local.INFO: IMEI packet received {"connection_id":142617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 04:04:38] local.INFO: IMEI acknowledgment sent {"connection_id":142617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 04:04:43] local.INFO: TCP Data received {"connection_id":142617,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:04:43] local.INFO: Processing buffer {"connection_id":142617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:04:43] local.INFO: IMEI packet received {"connection_id":142617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 04:04:43] local.INFO: IMEI acknowledgment sent {"connection_id":142617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 04:04:48] local.INFO: TCP Data received {"connection_id":142617,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:04:48] local.INFO: Processing buffer {"connection_id":142617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:04:48] local.INFO: IMEI packet received {"connection_id":142617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 04:04:48] local.INFO: IMEI acknowledgment sent {"connection_id":142617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 04:04:49] local.INFO: TCP Data received {"connection_id":142617,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa08de690012d7f980005afd7c00002000626..."} 
[2026-07-27 04:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa08de690012d7f980005afd7c00002000626..."} 
[2026-07-27 04:04:49] local.INFO: Processing buffer {"connection_id":142617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa08de690012d7f980005afd7c00002000626..."} 
[2026-07-27 04:04:49] local.INFO: Packet analysis {"connection_id":142617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa08d"} 
[2026-07-27 04:04:49] local.INFO: Extracted packet for processing {"connection_id":142617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa08d"} 
[2026-07-27 04:04:49] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":38,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 04: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-07-27 04:04:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986823936001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:04:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:04:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:04:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:04:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785105082000,"timestamp_ms":1785105082000,"timestamp_seconds":1785105082,"priority":1,"record_length":96,"hex_timestamp":"0000019fa08de690"} 
[2026-07-27 04:04:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 04:04: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-07-27 04: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 04:04:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 04: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-07-27 04:04:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 04:04:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:04:49] local.INFO: Teltonika packet parsed successfully {"connection_id":142617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:04:49] local.INFO: Passing IMEI to GPS processor {"connection_id":142617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:04:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":142617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:04:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 04:04:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:04:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:04:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986823936001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 04:04:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:04:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:04:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986823936001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:04:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 04:04:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:04:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:04:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:04:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986823936001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:04:49] local.INFO: DEBUG: GPS processor result {"connection_id":142617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:04:49] local.INFO: GPS data processed {"connection_id":142617,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:04:49] local.INFO: Acknowledgment sent {"connection_id":142617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:04:53] local.INFO: TCP Data received {"connection_id":142617,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa08de690012d7f980005afd7c00002000626..."} 
[2026-07-27 04:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa08de690012d7f980005afd7c00002000626..."} 
[2026-07-27 04:04:53] local.INFO: Processing buffer {"connection_id":142617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa08de690012d7f980005afd7c00002000626..."} 
[2026-07-27 04:04:53] local.INFO: Packet analysis {"connection_id":142617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa08d"} 
[2026-07-27 04:04:53] local.INFO: Extracted packet for processing {"connection_id":142617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa08d"} 
[2026-07-27 04:04:53] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":38,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 04:04:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 04:04:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986823936001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:04:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:04:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:04:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:04:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785105082000,"timestamp_ms":1785105082000,"timestamp_seconds":1785105082,"priority":1,"record_length":96,"hex_timestamp":"0000019fa08de690"} 
[2026-07-27 04:04:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 04:04:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 04: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 04:04:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 04: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-07-27 04:04:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 04:04:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:04:53] local.INFO: Teltonika packet parsed successfully {"connection_id":142617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:04:53] local.INFO: Passing IMEI to GPS processor {"connection_id":142617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:04:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":142617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:04:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 04:04:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:04:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:04:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986823936001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 04:04:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:04:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:04:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986823936001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:04:53] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 04:04:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:04:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:04:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:04:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986823936001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:04:53] local.INFO: DEBUG: GPS processor result {"connection_id":142617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:04:53] local.INFO: GPS data processed {"connection_id":142617,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:04:53] local.INFO: Acknowledgment sent {"connection_id":142617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:05:33] local.INFO: TCP Data received {"connection_id":144919,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:05:33] local.INFO: Processing buffer {"connection_id":144919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:05:33] local.INFO: IMEI packet received {"connection_id":144919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 04:05:33] local.INFO: IMEI acknowledgment sent {"connection_id":144919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 04:05:38] local.INFO: TCP Data received {"connection_id":144919,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:05:38] local.INFO: Processing buffer {"connection_id":144919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:05:38] local.INFO: IMEI packet received {"connection_id":144919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 04:05:38] local.INFO: IMEI acknowledgment sent {"connection_id":144919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 04:05:39] local.INFO: TCP Data received {"connection_id":144919,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fa08de690012d7f980005afd7c00002000626..."} 
[2026-07-27 04:05:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa08de690012d7f980005afd7c00002000626..."} 
[2026-07-27 04:05:39] local.INFO: Processing buffer {"connection_id":144919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa08de690012d7f980005afd7c00002000626..."} 
[2026-07-27 04:05:39] local.INFO: Packet analysis {"connection_id":144919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa08d"} 
[2026-07-27 04:05:39] local.INFO: Extracted packet for processing {"connection_id":144919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa08d"} 
[2026-07-27 04:05:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":38,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 04: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-07-27 04:05:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986823936001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:05:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:05:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:05:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:05:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785105082000,"timestamp_ms":1785105082000,"timestamp_seconds":1785105082,"priority":1,"record_length":96,"hex_timestamp":"0000019fa08de690"} 
[2026-07-27 04:05:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 04:05:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 04: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-07-27 04: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-07-27 04: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-07-27 04:05:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 04:05:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:05:39] local.INFO: Teltonika packet parsed successfully {"connection_id":144919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:05:39] local.INFO: Passing IMEI to GPS processor {"connection_id":144919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:05:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":144919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:05:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 04:05:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:05:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:05:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986823936001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 04:05:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:05:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:05:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986823936001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:05:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 04:05:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:05:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:05:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:05:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986823936001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:05:39] local.INFO: DEBUG: GPS processor result {"connection_id":144919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:05:39] local.INFO: GPS data processed {"connection_id":144919,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:05:39] local.INFO: Acknowledgment sent {"connection_id":144919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:06:11] local.INFO: TCP Data received {"connection_id":144919,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fa08de690012d7f980005afd7c00002000626..."} 
[2026-07-27 04:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa08de690012d7f980005afd7c00002000626..."} 
[2026-07-27 04:06:11] local.INFO: Processing buffer {"connection_id":144919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa08de690012d7f980005afd7c00002000626..."} 
[2026-07-27 04:06:11] local.INFO: Packet analysis {"connection_id":144919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa08d"} 
[2026-07-27 04:06:11] local.INFO: Extracted packet for processing {"connection_id":144919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa08d"} 
[2026-07-27 04:06:11] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":38,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 04: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-07-27 04:06:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986823936001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:06:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:06:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:06:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:06:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785105082000,"timestamp_ms":1785105082000,"timestamp_seconds":1785105082,"priority":1,"record_length":96,"hex_timestamp":"0000019fa08de690"} 
[2026-07-27 04:06:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 04:06:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 04: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":53,"data_length":795,"current_offset":136} 
[2026-07-27 04:06: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-07-27 04: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-07-27 04:06:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 04:06:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:06:11] local.INFO: Teltonika packet parsed successfully {"connection_id":144919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:06:11] local.INFO: Passing IMEI to GPS processor {"connection_id":144919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:06:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":144919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:06:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 04:06:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:06:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:06:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986823936001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 04:06:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:06:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:06:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986823936001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:06:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 04:06:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:06:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:06:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:06:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986823936001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:06:11] local.INFO: DEBUG: GPS processor result {"connection_id":144919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:06:11] local.INFO: GPS data processed {"connection_id":144919,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:06:11] local.INFO: Acknowledgment sent {"connection_id":144919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:06:33] local.INFO: TCP Data received {"connection_id":143595,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:06:33] local.INFO: Processing buffer {"connection_id":143595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:06:33] local.INFO: IMEI packet received {"connection_id":143595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 04:06:33] local.INFO: IMEI acknowledgment sent {"connection_id":143595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 04:06:38] local.INFO: TCP Data received {"connection_id":143595,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:06:38] local.INFO: Processing buffer {"connection_id":143595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:06:38] local.INFO: IMEI packet received {"connection_id":143595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 04:06:38] local.INFO: IMEI acknowledgment sent {"connection_id":143595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 04:06:38] local.INFO: TCP Data received {"connection_id":143595,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa08de690012d7f980005afd7c00002000626..."} 
[2026-07-27 04:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa08de690012d7f980005afd7c00002000626..."} 
[2026-07-27 04:06:38] local.INFO: Processing buffer {"connection_id":143595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa08de690012d7f980005afd7c00002000626..."} 
[2026-07-27 04:06:38] local.INFO: Packet analysis {"connection_id":143595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa08d"} 
[2026-07-27 04:06:38] local.INFO: Extracted packet for processing {"connection_id":143595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa08d"} 
[2026-07-27 04:06:38] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":38,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 04:06:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 04:06:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986823936001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:06:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:06:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:06:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:06:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785105082000,"timestamp_ms":1785105082000,"timestamp_seconds":1785105082,"priority":1,"record_length":96,"hex_timestamp":"0000019fa08de690"} 
[2026-07-27 04:06:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 04:06:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 04:06:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 04:06:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 04:06:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 04:06:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 04:06:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:06:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:06:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:06:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:06:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 04:06:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:06:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:06:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986823936001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 04:06:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:06:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:06:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986823936001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:06:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 04:06:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:06:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:06:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:06:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986823936001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:06:39] local.INFO: DEBUG: GPS processor result {"connection_id":143595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:06:39] local.INFO: GPS data processed {"connection_id":143595,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:06:39] local.INFO: Acknowledgment sent {"connection_id":143595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:06:43] local.INFO: TCP Data received {"connection_id":143595,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa08de690012d7f980005afd7c00002000626..."} 
[2026-07-27 04:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa08de690012d7f980005afd7c00002000626..."} 
[2026-07-27 04:06:43] local.INFO: Processing buffer {"connection_id":143595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa08de690012d7f980005afd7c00002000626..."} 
[2026-07-27 04:06:43] local.INFO: Packet analysis {"connection_id":143595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa08d"} 
[2026-07-27 04:06:43] local.INFO: Extracted packet for processing {"connection_id":143595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa08d"} 
[2026-07-27 04:06:43] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":38,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 04:06:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 04:06:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986823936001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:06:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:06:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:06:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:06:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785105082000,"timestamp_ms":1785105082000,"timestamp_seconds":1785105082,"priority":1,"record_length":96,"hex_timestamp":"0000019fa08de690"} 
[2026-07-27 04:06:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 04:06:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 04: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-07-27 04: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-07-27 04:06:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 04:06:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 04:06:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:06:43] local.INFO: Teltonika packet parsed successfully {"connection_id":143595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:06:43] local.INFO: Passing IMEI to GPS processor {"connection_id":143595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:06:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":143595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:06:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 04:06:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:06:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:06:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986823936001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 04:06:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:06:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:06:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986823936001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:06:43] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 04:06:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:06:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:06:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:06:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986823936001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:06:43] local.INFO: DEBUG: GPS processor result {"connection_id":143595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:06:43] local.INFO: GPS data processed {"connection_id":143595,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:06:43] local.INFO: Acknowledgment sent {"connection_id":143595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:07:15] local.INFO: TCP Data received {"connection_id":143595,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0927e58012d7f980005afd7c00002000627..."} 
[2026-07-27 04:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0927e58012d7f980005afd7c00002000627..."} 
[2026-07-27 04:07:15] local.INFO: Processing buffer {"connection_id":143595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0927e58012d7f980005afd7c00002000627..."} 
[2026-07-27 04:07:15] local.INFO: Packet analysis {"connection_id":143595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa092"} 
[2026-07-27 04:07:15] local.INFO: Extracted packet for processing {"connection_id":143595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa092"} 
[2026-07-27 04:07:15] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":39,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 04: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-07-27 04:07:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986900992001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:07:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:07:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:07:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:07:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785105383000,"timestamp_ms":1785105383000,"timestamp_seconds":1785105383,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0927e58"} 
[2026-07-27 04:07:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 04:07:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 04: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":53,"data_length":795,"current_offset":136} 
[2026-07-27 04:07: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-07-27 04: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-07-27 04:07:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 04:07:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:07:15] local.INFO: Teltonika packet parsed successfully {"connection_id":143595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:07:15] local.INFO: Passing IMEI to GPS processor {"connection_id":143595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:07:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":143595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:07:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 04:07:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:07:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:07:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986900992001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 04:07:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:07:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:07:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986900992001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:07:15] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 04:07:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:07:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:07:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:07:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986900992001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:07:15] local.INFO: DEBUG: GPS processor result {"connection_id":143595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:07:15] local.INFO: GPS data processed {"connection_id":143595,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:07:15] local.INFO: Acknowledgment sent {"connection_id":143595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:07:33] local.INFO: TCP Data received {"connection_id":144920,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:07:33] local.INFO: Processing buffer {"connection_id":144920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:07:33] local.INFO: IMEI packet received {"connection_id":144920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 04:07:33] local.INFO: IMEI acknowledgment sent {"connection_id":144920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 04:07:38] local.INFO: TCP Data received {"connection_id":144920,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:07:38] local.INFO: Processing buffer {"connection_id":144920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:07:38] local.INFO: IMEI packet received {"connection_id":144920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 04:07:38] local.INFO: IMEI acknowledgment sent {"connection_id":144920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 04:07:39] local.INFO: TCP Data received {"connection_id":144920,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0927e58012d7f980005afd7c00002000627..."} 
[2026-07-27 04:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0927e58012d7f980005afd7c00002000627..."} 
[2026-07-27 04:07:39] local.INFO: Processing buffer {"connection_id":144920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0927e58012d7f980005afd7c00002000627..."} 
[2026-07-27 04:07:39] local.INFO: Packet analysis {"connection_id":144920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa092"} 
[2026-07-27 04:07:39] local.INFO: Extracted packet for processing {"connection_id":144920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa092"} 
[2026-07-27 04:07:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":39,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 04: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-07-27 04:07:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986900992001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:07:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:07:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:07:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:07:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785105383000,"timestamp_ms":1785105383000,"timestamp_seconds":1785105383,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0927e58"} 
[2026-07-27 04:07:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 04:07:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 04: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-07-27 04: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-07-27 04: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-07-27 04:07:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 04:07:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:07:39] local.INFO: Teltonika packet parsed successfully {"connection_id":144920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:07:39] local.INFO: Passing IMEI to GPS processor {"connection_id":144920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:07:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":144920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:07:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 04:07:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:07:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:07:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986900992001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 04:07:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:07:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:07:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986900992001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:07:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 04:07:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:07:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:07:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:07:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986900992001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:07:39] local.INFO: DEBUG: GPS processor result {"connection_id":144920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:07:39] local.INFO: GPS data processed {"connection_id":144920,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:07:39] local.INFO: Acknowledgment sent {"connection_id":144920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:08:10] local.INFO: TCP Data received {"connection_id":144920,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0927e58012d7f980005afd7c00002000627..."} 
[2026-07-27 04:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0927e58012d7f980005afd7c00002000627..."} 
[2026-07-27 04:08:10] local.INFO: Processing buffer {"connection_id":144920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0927e58012d7f980005afd7c00002000627..."} 
[2026-07-27 04:08:10] local.INFO: Packet analysis {"connection_id":144920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa092"} 
[2026-07-27 04:08:10] local.INFO: Extracted packet for processing {"connection_id":144920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa092"} 
[2026-07-27 04:08:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":39,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 04:08:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986900992001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:08:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:08:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:08:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:08:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785105383000,"timestamp_ms":1785105383000,"timestamp_seconds":1785105383,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0927e58"} 
[2026-07-27 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-07-27 04:08:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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-07-27 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-07-27 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-07-27 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-07-27 04:08:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:08:10] local.INFO: Teltonika packet parsed successfully {"connection_id":144920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:08:10] local.INFO: Passing IMEI to GPS processor {"connection_id":144920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:08:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":144920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04: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-07-27 04:08:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:08:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:08:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986900992001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 04:08:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:08:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:08:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986900992001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:08:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 04:08:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:08:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:08:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:08:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986900992001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:08:10] local.INFO: DEBUG: GPS processor result {"connection_id":144920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:08:10] local.INFO: GPS data processed {"connection_id":144920,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:08:10] local.INFO: Acknowledgment sent {"connection_id":144920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:08:33] local.INFO: TCP Data received {"connection_id":144922,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:08:33] local.INFO: Processing buffer {"connection_id":144922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:08:33] local.INFO: IMEI packet received {"connection_id":144922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 04:08:33] local.INFO: IMEI acknowledgment sent {"connection_id":144922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 04:08:38] local.INFO: TCP Data received {"connection_id":144922,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:08:38] local.INFO: Processing buffer {"connection_id":144922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:08:38] local.INFO: IMEI packet received {"connection_id":144922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 04:08:38] local.INFO: IMEI acknowledgment sent {"connection_id":144922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 04:08:39] local.INFO: TCP Data received {"connection_id":144922,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0927e58012d7f980005afd7c00002000627..."} 
[2026-07-27 04:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0927e58012d7f980005afd7c00002000627..."} 
[2026-07-27 04:08:39] local.INFO: Processing buffer {"connection_id":144922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0927e58012d7f980005afd7c00002000627..."} 
[2026-07-27 04:08:39] local.INFO: Packet analysis {"connection_id":144922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa092"} 
[2026-07-27 04:08:39] local.INFO: Extracted packet for processing {"connection_id":144922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa092"} 
[2026-07-27 04:08:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":39,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 04: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-07-27 04:08:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986900992001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:08:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:08:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:08:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:08:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785105383000,"timestamp_ms":1785105383000,"timestamp_seconds":1785105383,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0927e58"} 
[2026-07-27 04:08:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 04:08:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 04: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":53,"data_length":795,"current_offset":136} 
[2026-07-27 04:08: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-07-27 04: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-07-27 04:08:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 04:08:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:08:39] local.INFO: Teltonika packet parsed successfully {"connection_id":144922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:08:39] local.INFO: Passing IMEI to GPS processor {"connection_id":144922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:08:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":144922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:08:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 04:08:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:08:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:08:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986900992001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 04:08:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:08:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:08:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986900992001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:08:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 04:08:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:08:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:08:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:08:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986900992001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:08:39] local.INFO: DEBUG: GPS processor result {"connection_id":144922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:08:39] local.INFO: GPS data processed {"connection_id":144922,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:08:39] local.INFO: Acknowledgment sent {"connection_id":144922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:09:10] local.INFO: TCP Data received {"connection_id":144922,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0927e58012d7f980005afd7c00002000627..."} 
[2026-07-27 04:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0927e58012d7f980005afd7c00002000627..."} 
[2026-07-27 04:09:10] local.INFO: Processing buffer {"connection_id":144922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0927e58012d7f980005afd7c00002000627..."} 
[2026-07-27 04:09:10] local.INFO: Packet analysis {"connection_id":144922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa092"} 
[2026-07-27 04:09:10] local.INFO: Extracted packet for processing {"connection_id":144922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa092"} 
[2026-07-27 04:09:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":39,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 04:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 04:09:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986900992001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:09:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:09:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:09:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:09:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785105383000,"timestamp_ms":1785105383000,"timestamp_seconds":1785105383,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0927e58"} 
[2026-07-27 04:09:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 04:09:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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-07-27 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-07-27 04:09:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 04:09:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 04:09:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:09:10] local.INFO: Teltonika packet parsed successfully {"connection_id":144922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:09:10] local.INFO: Passing IMEI to GPS processor {"connection_id":144922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:09:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":144922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:09:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 04:09:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:09:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:09:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986900992001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 04:09:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:09:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:09:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986900992001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:09:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 04:09:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:09:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:09:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:09:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986900992001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:09:10] local.INFO: DEBUG: GPS processor result {"connection_id":144922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:09:10] local.INFO: GPS data processed {"connection_id":144922,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:09:10] local.INFO: Acknowledgment sent {"connection_id":144922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:09:33] local.INFO: TCP Data received {"connection_id":142542,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:09:33] local.INFO: Processing buffer {"connection_id":142542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:09:33] local.INFO: IMEI packet received {"connection_id":142542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 04:09:33] local.INFO: IMEI acknowledgment sent {"connection_id":142542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 04:09:38] local.INFO: TCP Data received {"connection_id":142542,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:09:38] local.INFO: Processing buffer {"connection_id":142542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:09:38] local.INFO: IMEI packet received {"connection_id":142542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 04:09:38] local.INFO: IMEI acknowledgment sent {"connection_id":142542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 04:09:39] local.INFO: TCP Data received {"connection_id":142542,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0927e58012d7f980005afd7c00002000627..."} 
[2026-07-27 04:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0927e58012d7f980005afd7c00002000627..."} 
[2026-07-27 04:09:39] local.INFO: Processing buffer {"connection_id":142542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0927e58012d7f980005afd7c00002000627..."} 
[2026-07-27 04:09:39] local.INFO: Packet analysis {"connection_id":142542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa092"} 
[2026-07-27 04:09:39] local.INFO: Extracted packet for processing {"connection_id":142542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa092"} 
[2026-07-27 04:09:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":39,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 04:09:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 04:09:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986900992001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:09:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:09:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:09:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:09:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785105383000,"timestamp_ms":1785105383000,"timestamp_seconds":1785105383,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0927e58"} 
[2026-07-27 04:09:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 04:09:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 04:09:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 04:09: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-07-27 04:09:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 04:09:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 04:09:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:09:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:09:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:09:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:09:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 04:09:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:09:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:09:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986900992001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 04:09:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:09:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:09:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986900992001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:09:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 04:09:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:09:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:09:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:09:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986900992001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:09:39] local.INFO: DEBUG: GPS processor result {"connection_id":142542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:09:39] local.INFO: GPS data processed {"connection_id":142542,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:09:39] local.INFO: Acknowledgment sent {"connection_id":142542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:09:45] local.INFO: TCP Data received {"connection_id":143596,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 04:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143596,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 04:09:45] local.INFO: Processing buffer {"connection_id":143596,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 04:09:45] local.INFO: IMEI packet received {"connection_id":143596,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 04:09:45] local.INFO: IMEI acknowledgment sent {"connection_id":143596,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 04:10:10] local.INFO: TCP Data received {"connection_id":142542,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0927e58012d7f980005afd7c00002000627..."} 
[2026-07-27 04:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0927e58012d7f980005afd7c00002000627..."} 
[2026-07-27 04:10:10] local.INFO: Processing buffer {"connection_id":142542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0927e58012d7f980005afd7c00002000627..."} 
[2026-07-27 04:10:10] local.INFO: Packet analysis {"connection_id":142542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa092"} 
[2026-07-27 04:10:10] local.INFO: Extracted packet for processing {"connection_id":142542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa092"} 
[2026-07-27 04:10:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":39,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 04:10:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 04:10:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986900992001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:10:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:10:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:10:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:10:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785105383000,"timestamp_ms":1785105383000,"timestamp_seconds":1785105383,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0927e58"} 
[2026-07-27 04:10:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 04:10:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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-07-27 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-07-27 04:10:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 04:10:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 04:10:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:10:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:10:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:10:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:10:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 04:10:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:10:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:10:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986900992001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 04:10:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:10:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:10:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986900992001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:10:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 04:10:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:10:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:10:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:10:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986900992001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:10:10] local.INFO: DEBUG: GPS processor result {"connection_id":142542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:10:10] local.INFO: GPS data processed {"connection_id":142542,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:10:10] local.INFO: Acknowledgment sent {"connection_id":142542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:10:38] local.INFO: TCP Data received {"connection_id":144923,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:10:38] local.INFO: Processing buffer {"connection_id":144923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:10:38] local.INFO: IMEI packet received {"connection_id":144923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 04:10:38] local.INFO: IMEI acknowledgment sent {"connection_id":144923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 04:10:43] local.INFO: TCP Data received {"connection_id":144923,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:10:43] local.INFO: Processing buffer {"connection_id":144923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:10:43] local.INFO: IMEI packet received {"connection_id":144923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 04:10:43] local.INFO: IMEI acknowledgment sent {"connection_id":144923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 04:10:44] local.INFO: TCP Data received {"connection_id":144923,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0927e58012d7f980005afd7c00002000627..."} 
[2026-07-27 04:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0927e58012d7f980005afd7c00002000627..."} 
[2026-07-27 04:10:44] local.INFO: Processing buffer {"connection_id":144923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0927e58012d7f980005afd7c00002000627..."} 
[2026-07-27 04:10:44] local.INFO: Packet analysis {"connection_id":144923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa092"} 
[2026-07-27 04:10:44] local.INFO: Extracted packet for processing {"connection_id":144923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa092"} 
[2026-07-27 04:10:44] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":39,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 04:10:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 04:10:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986900992001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:10:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:10:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:10:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:10:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785105383000,"timestamp_ms":1785105383000,"timestamp_seconds":1785105383,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0927e58"} 
[2026-07-27 04:10:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 04:10:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 04:10: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-07-27 04:10: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-07-27 04:10:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 04:10:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 04:10:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:10:44] local.INFO: Teltonika packet parsed successfully {"connection_id":144923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:10:44] local.INFO: Passing IMEI to GPS processor {"connection_id":144923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:10:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":144923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:10:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 04:10:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:10:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:10:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986900992001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 04:10:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:10:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:10:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986900992001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:10:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 04:10:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:10:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:10:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:10:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986900992001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:10:44] local.INFO: DEBUG: GPS processor result {"connection_id":144923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:10:44] local.INFO: GPS data processed {"connection_id":144923,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:10:44] local.INFO: Acknowledgment sent {"connection_id":144923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:10:45] local.INFO: TCP Data received {"connection_id":143597,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 04:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143597,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 04:10:45] local.INFO: Processing buffer {"connection_id":143597,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 04:10:45] local.INFO: IMEI packet received {"connection_id":143597,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 04:10:45] local.INFO: IMEI acknowledgment sent {"connection_id":143597,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 04:10:48] local.INFO: TCP Data received {"connection_id":144923,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0927e58012d7f980005afd7c00002000627..."} 
[2026-07-27 04:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0927e58012d7f980005afd7c00002000627..."} 
[2026-07-27 04:10:48] local.INFO: Processing buffer {"connection_id":144923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0927e58012d7f980005afd7c00002000627..."} 
[2026-07-27 04:10:48] local.INFO: Packet analysis {"connection_id":144923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa092"} 
[2026-07-27 04:10:48] local.INFO: Extracted packet for processing {"connection_id":144923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa092"} 
[2026-07-27 04:10:48] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":39,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 04: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-07-27 04:10:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986900992001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:10:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:10:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:10:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:10:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785105383000,"timestamp_ms":1785105383000,"timestamp_seconds":1785105383,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0927e58"} 
[2026-07-27 04:10:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 04:10:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 04: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 04:10: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-07-27 04: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-07-27 04:10:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 04:10:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:10:48] local.INFO: Teltonika packet parsed successfully {"connection_id":144923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:10:48] local.INFO: Passing IMEI to GPS processor {"connection_id":144923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:10:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":144923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:10:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 04:10:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:10:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:10:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986900992001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 04:10:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:10:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:10:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986900992001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:10:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 04:10:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:10:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:10:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:10:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986900992001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:10:48] local.INFO: DEBUG: GPS processor result {"connection_id":144923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:10:48] local.INFO: GPS data processed {"connection_id":144923,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:10:48] local.INFO: Acknowledgment sent {"connection_id":144923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:11:33] local.INFO: TCP Data received {"connection_id":143598,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:11:33] local.INFO: Processing buffer {"connection_id":143598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:11:33] local.INFO: IMEI packet received {"connection_id":143598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 04:11:33] local.INFO: IMEI acknowledgment sent {"connection_id":143598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 04:11:38] local.INFO: TCP Data received {"connection_id":143598,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:11:38] local.INFO: Processing buffer {"connection_id":143598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:11:38] local.INFO: IMEI packet received {"connection_id":143598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 04:11:38] local.INFO: IMEI acknowledgment sent {"connection_id":143598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 04:11:39] local.INFO: TCP Data received {"connection_id":143598,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0927e58012d7f980005afd7c00002000627..."} 
[2026-07-27 04:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0927e58012d7f980005afd7c00002000627..."} 
[2026-07-27 04:11:39] local.INFO: Processing buffer {"connection_id":143598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0927e58012d7f980005afd7c00002000627..."} 
[2026-07-27 04:11:39] local.INFO: Packet analysis {"connection_id":143598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa092"} 
[2026-07-27 04:11:39] local.INFO: Extracted packet for processing {"connection_id":143598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa092"} 
[2026-07-27 04:11:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":39,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 04:11:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 04:11:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986900992001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:11:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:11:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:11:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:11:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785105383000,"timestamp_ms":1785105383000,"timestamp_seconds":1785105383,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0927e58"} 
[2026-07-27 04:11:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 04:11:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 04: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":53,"data_length":795,"current_offset":136} 
[2026-07-27 04:11: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-07-27 04:11:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 04:11:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 04:11:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:11:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:11:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:11:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04: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-07-27 04:11:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:11:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:11:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986900992001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 04:11:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:11:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:11:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986900992001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:11:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 04:11:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:11:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:11:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:11:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986900992001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:11:39] local.INFO: DEBUG: GPS processor result {"connection_id":143598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:11:39] local.INFO: GPS data processed {"connection_id":143598,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:11:39] local.INFO: Acknowledgment sent {"connection_id":143598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:12:09] local.INFO: TCP Data received {"connection_id":143598,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0971620012d7f980005afd7c00002000626..."} 
[2026-07-27 04:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0971620012d7f980005afd7c00002000626..."} 
[2026-07-27 04:12:09] local.INFO: Processing buffer {"connection_id":143598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0971620012d7f980005afd7c00002000626..."} 
[2026-07-27 04:12:09] local.INFO: Packet analysis {"connection_id":143598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa097"} 
[2026-07-27 04:12:09] local.INFO: Extracted packet for processing {"connection_id":143598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa097"} 
[2026-07-27 04:12:09] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":38,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 04:12:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 04:12:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986978048001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:12:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:12:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:12:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:12:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785105684000,"timestamp_ms":1785105684000,"timestamp_seconds":1785105684,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0971620"} 
[2026-07-27 04:12:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 04:12:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 04:12:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 04:12:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 04:12:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 04:12:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 04:12:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:12:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:12:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:12:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:12:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 04:12:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:12:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:12:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986978048001,"66":25375,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 04:12:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:12:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:12:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986978048001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:12:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 04:12:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:12:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:12:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:12:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986978048001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:12:09] local.INFO: DEBUG: GPS processor result {"connection_id":143598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:12:09] local.INFO: GPS data processed {"connection_id":143598,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:12:09] local.INFO: Acknowledgment sent {"connection_id":143598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:12:33] local.INFO: TCP Data received {"connection_id":142620,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:12:33] local.INFO: Processing buffer {"connection_id":142620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:12:33] local.INFO: IMEI packet received {"connection_id":142620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 04:12:33] local.INFO: IMEI acknowledgment sent {"connection_id":142620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 04:12:38] local.INFO: TCP Data received {"connection_id":142620,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:12:38] local.INFO: Processing buffer {"connection_id":142620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:12:38] local.INFO: IMEI packet received {"connection_id":142620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 04:12:38] local.INFO: IMEI acknowledgment sent {"connection_id":142620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 04:12:39] local.INFO: TCP Data received {"connection_id":142620,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0971620012d7f980005afd7c00002000626..."} 
[2026-07-27 04:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142620,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0971620012d7f980005afd7c00002000626..."} 
[2026-07-27 04:12:39] local.INFO: Processing buffer {"connection_id":142620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0971620012d7f980005afd7c00002000626..."} 
[2026-07-27 04:12:39] local.INFO: Packet analysis {"connection_id":142620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa097"} 
[2026-07-27 04:12:39] local.INFO: Extracted packet for processing {"connection_id":142620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa097"} 
[2026-07-27 04:12:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":38,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 04:12:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 04:12:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986978048001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:12:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:12:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:12:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:12:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785105684000,"timestamp_ms":1785105684000,"timestamp_seconds":1785105684,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0971620"} 
[2026-07-27 04:12:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 04:12:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 04:12:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 04:12: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-07-27 04:12:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 04:12:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 04:12:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:12:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:12:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:12:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:12:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 04:12:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:12:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:12:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986978048001,"66":25375,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 04:12:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:12:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:12:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986978048001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:12:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 04:12:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:12:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:12:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:12:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986978048001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:12:39] local.INFO: DEBUG: GPS processor result {"connection_id":142620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:12:39] local.INFO: GPS data processed {"connection_id":142620,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:12:39] local.INFO: Acknowledgment sent {"connection_id":142620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:13:10] local.INFO: TCP Data received {"connection_id":142620,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0971620012d7f980005afd7c00002000626..."} 
[2026-07-27 04:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142620,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0971620012d7f980005afd7c00002000626..."} 
[2026-07-27 04:13:10] local.INFO: Processing buffer {"connection_id":142620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0971620012d7f980005afd7c00002000626..."} 
[2026-07-27 04:13:10] local.INFO: Packet analysis {"connection_id":142620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa097"} 
[2026-07-27 04:13:10] local.INFO: Extracted packet for processing {"connection_id":142620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa097"} 
[2026-07-27 04:13:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":38,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 04:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 04:13:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986978048001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:13:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:13:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:13:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:13:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785105684000,"timestamp_ms":1785105684000,"timestamp_seconds":1785105684,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0971620"} 
[2026-07-27 04:13:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 04:13:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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-07-27 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-07-27 04:13:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 04:13:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 04:13:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:13:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:13:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:13:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04: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-07-27 04:13:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:13:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:13:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986978048001,"66":25375,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 04:13:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:13:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:13:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986978048001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:13:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 04:13:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:13:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:13:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:13:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986978048001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:13:10] local.INFO: DEBUG: GPS processor result {"connection_id":142620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:13:10] local.INFO: GPS data processed {"connection_id":142620,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:13:10] local.INFO: Acknowledgment sent {"connection_id":142620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:13:33] local.INFO: TCP Data received {"connection_id":144924,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144924,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:13:33] local.INFO: Processing buffer {"connection_id":144924,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:13:33] local.INFO: IMEI packet received {"connection_id":144924,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 04:13:33] local.INFO: IMEI acknowledgment sent {"connection_id":144924,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 04:13:38] local.INFO: TCP Data received {"connection_id":144924,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144924,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:13:38] local.INFO: Processing buffer {"connection_id":144924,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:13:38] local.INFO: IMEI packet received {"connection_id":144924,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 04:13:38] local.INFO: IMEI acknowledgment sent {"connection_id":144924,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 04:13:39] local.INFO: TCP Data received {"connection_id":144924,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0971620012d7f980005afd7c00002000626..."} 
[2026-07-27 04:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144924,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0971620012d7f980005afd7c00002000626..."} 
[2026-07-27 04:13:39] local.INFO: Processing buffer {"connection_id":144924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0971620012d7f980005afd7c00002000626..."} 
[2026-07-27 04:13:39] local.INFO: Packet analysis {"connection_id":144924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa097"} 
[2026-07-27 04:13:39] local.INFO: Extracted packet for processing {"connection_id":144924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa097"} 
[2026-07-27 04:13:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":38,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 04:13:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 04:13:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986978048001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:13:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:13:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:13:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:13:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785105684000,"timestamp_ms":1785105684000,"timestamp_seconds":1785105684,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0971620"} 
[2026-07-27 04:13:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 04:13:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 04:13:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 04:13: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-07-27 04:13:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 04:13:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 04:13:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:13:39] local.INFO: Teltonika packet parsed successfully {"connection_id":144924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:13:39] local.INFO: Passing IMEI to GPS processor {"connection_id":144924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:13:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":144924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:13:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 04:13:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:13:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:13:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986978048001,"66":25375,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 04:13:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:13:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:13:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986978048001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:13:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 04:13:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:13:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:13:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:13:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986978048001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:13:39] local.INFO: DEBUG: GPS processor result {"connection_id":144924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:13:39] local.INFO: GPS data processed {"connection_id":144924,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:13:39] local.INFO: Acknowledgment sent {"connection_id":144924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:14:09] local.INFO: TCP Data received {"connection_id":144924,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0971620012d7f980005afd7c00002000626..."} 
[2026-07-27 04:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144924,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0971620012d7f980005afd7c00002000626..."} 
[2026-07-27 04:14:09] local.INFO: Processing buffer {"connection_id":144924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0971620012d7f980005afd7c00002000626..."} 
[2026-07-27 04:14:09] local.INFO: Packet analysis {"connection_id":144924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa097"} 
[2026-07-27 04:14:09] local.INFO: Extracted packet for processing {"connection_id":144924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa097"} 
[2026-07-27 04:14:09] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":38,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 04:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 04:14:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986978048001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:14:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:14:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:14:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:14:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785105684000,"timestamp_ms":1785105684000,"timestamp_seconds":1785105684,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0971620"} 
[2026-07-27 04:14:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 04:14:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 04: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-07-27 04: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-07-27 04:14:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 04:14:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 04:14:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:14:09] local.INFO: Teltonika packet parsed successfully {"connection_id":144924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:14:09] local.INFO: Passing IMEI to GPS processor {"connection_id":144924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:14:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":144924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:14:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 04:14:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:14:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:14:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986978048001,"66":25375,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 04:14:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:14:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:14:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986978048001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:14:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 04:14:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:14:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:14:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:14:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986978048001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:14:09] local.INFO: DEBUG: GPS processor result {"connection_id":144924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:14:09] local.INFO: GPS data processed {"connection_id":144924,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:14:09] local.INFO: Acknowledgment sent {"connection_id":144924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:14:33] local.INFO: TCP Data received {"connection_id":142543,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:14:33] local.INFO: Processing buffer {"connection_id":142543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:14:33] local.INFO: IMEI packet received {"connection_id":142543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 04:14:33] local.INFO: IMEI acknowledgment sent {"connection_id":142543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 04:14:38] local.INFO: TCP Data received {"connection_id":142543,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:14:38] local.INFO: Processing buffer {"connection_id":142543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:14:38] local.INFO: IMEI packet received {"connection_id":142543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 04:14:38] local.INFO: IMEI acknowledgment sent {"connection_id":142543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 04:14:39] local.INFO: TCP Data received {"connection_id":142543,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0971620012d7f980005afd7c00002000626..."} 
[2026-07-27 04:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0971620012d7f980005afd7c00002000626..."} 
[2026-07-27 04:14:39] local.INFO: Processing buffer {"connection_id":142543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0971620012d7f980005afd7c00002000626..."} 
[2026-07-27 04:14:39] local.INFO: Packet analysis {"connection_id":142543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa097"} 
[2026-07-27 04:14:39] local.INFO: Extracted packet for processing {"connection_id":142543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa097"} 
[2026-07-27 04:14:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":38,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 04:14:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 04:14:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986978048001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:14:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:14:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:14:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:14:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785105684000,"timestamp_ms":1785105684000,"timestamp_seconds":1785105684,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0971620"} 
[2026-07-27 04:14:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 04:14:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 04: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":53,"data_length":795,"current_offset":136} 
[2026-07-27 04:14: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-07-27 04:14:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 04:14:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 04:14:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:14:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:14:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:14:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:14:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 04:14:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:14:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:14:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986978048001,"66":25375,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 04:14:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:14:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:14:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986978048001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:14:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 04:14:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:14:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:14:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:14:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986978048001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:14:39] local.INFO: DEBUG: GPS processor result {"connection_id":142543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:14:39] local.INFO: GPS data processed {"connection_id":142543,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:14:39] local.INFO: Acknowledgment sent {"connection_id":142543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:15:15] local.INFO: TCP Data received {"connection_id":142543,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0971620012d7f980005afd7c00002000626..."} 
[2026-07-27 04:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0971620012d7f980005afd7c00002000626..."} 
[2026-07-27 04:15:15] local.INFO: Processing buffer {"connection_id":142543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0971620012d7f980005afd7c00002000626..."} 
[2026-07-27 04:15:15] local.INFO: Packet analysis {"connection_id":142543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa097"} 
[2026-07-27 04:15:15] local.INFO: Extracted packet for processing {"connection_id":142543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa097"} 
[2026-07-27 04:15:15] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":38,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 04: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-07-27 04:15:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986978048001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:15:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:15:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:15:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:15:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785105684000,"timestamp_ms":1785105684000,"timestamp_seconds":1785105684,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0971620"} 
[2026-07-27 04:15:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 04:15:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 04: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":53,"data_length":795,"current_offset":136} 
[2026-07-27 04:15: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-07-27 04: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-07-27 04:15:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 04:15:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:15:15] local.INFO: Teltonika packet parsed successfully {"connection_id":142543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:15:15] local.INFO: Passing IMEI to GPS processor {"connection_id":142543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:15:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":142543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:15:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 04:15:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:15:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:15:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986978048001,"66":25375,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 04:15:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:15:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:15:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986978048001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:15:15] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 04:15:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:15:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:15:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:15:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986978048001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:15:15] local.INFO: DEBUG: GPS processor result {"connection_id":142543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:15:15] local.INFO: GPS data processed {"connection_id":142543,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:15:15] local.INFO: Acknowledgment sent {"connection_id":142543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:15:33] local.INFO: TCP Data received {"connection_id":142622,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142622,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:15:33] local.INFO: Processing buffer {"connection_id":142622,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:15:33] local.INFO: IMEI packet received {"connection_id":142622,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 04:15:33] local.INFO: IMEI acknowledgment sent {"connection_id":142622,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 04:15:38] local.INFO: TCP Data received {"connection_id":142622,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142622,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:15:38] local.INFO: Processing buffer {"connection_id":142622,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:15:38] local.INFO: IMEI packet received {"connection_id":142622,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 04:15:38] local.INFO: IMEI acknowledgment sent {"connection_id":142622,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 04:15:39] local.INFO: TCP Data received {"connection_id":142622,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0971620012d7f980005afd7c00002000626..."} 
[2026-07-27 04:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0971620012d7f980005afd7c00002000626..."} 
[2026-07-27 04:15:39] local.INFO: Processing buffer {"connection_id":142622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0971620012d7f980005afd7c00002000626..."} 
[2026-07-27 04:15:39] local.INFO: Packet analysis {"connection_id":142622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa097"} 
[2026-07-27 04:15:39] local.INFO: Extracted packet for processing {"connection_id":142622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa097"} 
[2026-07-27 04:15:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":38,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 04:15:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 04:15:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986978048001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:15:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:15:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:15:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:15:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785105684000,"timestamp_ms":1785105684000,"timestamp_seconds":1785105684,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0971620"} 
[2026-07-27 04:15:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 04:15:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 04: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-07-27 04: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-07-27 04:15:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 04:15:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 04:15:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:15:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:15:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:15:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04: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-07-27 04:15:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:15:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:15:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986978048001,"66":25375,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 04:15:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:15:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:15:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986978048001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:15:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 04:15:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:15:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:15:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:15:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986978048001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:15:39] local.INFO: DEBUG: GPS processor result {"connection_id":142622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:15:39] local.INFO: GPS data processed {"connection_id":142622,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:15:39] local.INFO: Acknowledgment sent {"connection_id":142622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:15:50] local.INFO: TCP Data received {"connection_id":142623,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 04:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142623,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 04:15:50] local.INFO: Processing buffer {"connection_id":142623,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 04:15:50] local.INFO: IMEI packet received {"connection_id":142623,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 04:15:50] local.INFO: IMEI acknowledgment sent {"connection_id":142623,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 04:16:09] local.INFO: TCP Data received {"connection_id":142622,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0971620012d7f980005afd7c00002000626..."} 
[2026-07-27 04:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0971620012d7f980005afd7c00002000626..."} 
[2026-07-27 04:16:09] local.INFO: Processing buffer {"connection_id":142622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0971620012d7f980005afd7c00002000626..."} 
[2026-07-27 04:16:09] local.INFO: Packet analysis {"connection_id":142622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa097"} 
[2026-07-27 04:16:09] local.INFO: Extracted packet for processing {"connection_id":142622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa097"} 
[2026-07-27 04:16:09] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":38,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 04:16:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 04:16:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986978048001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:16:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:16:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:16:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:16:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785105684000,"timestamp_ms":1785105684000,"timestamp_seconds":1785105684,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0971620"} 
[2026-07-27 04:16:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 04:16:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 04: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-07-27 04: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-07-27 04:16:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 04:16:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 04:16:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:16:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:16:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:16:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:16:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 04:16:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:16:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:16:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986978048001,"66":25375,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 04:16:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:16:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:16:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986978048001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:16:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 04:16:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:16:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:16:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:16:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986978048001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:16:09] local.INFO: DEBUG: GPS processor result {"connection_id":142622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:16:09] local.INFO: GPS data processed {"connection_id":142622,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:16:09] local.INFO: Acknowledgment sent {"connection_id":142622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:16:33] local.INFO: TCP Data received {"connection_id":143600,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:16:33] local.INFO: Processing buffer {"connection_id":143600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:16:33] local.INFO: IMEI packet received {"connection_id":143600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 04:16:33] local.INFO: IMEI acknowledgment sent {"connection_id":143600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 04:16:38] local.INFO: TCP Data received {"connection_id":143600,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:16:38] local.INFO: Processing buffer {"connection_id":143600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:16:38] local.INFO: IMEI packet received {"connection_id":143600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 04:16:38] local.INFO: IMEI acknowledgment sent {"connection_id":143600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 04:16:39] local.INFO: TCP Data received {"connection_id":143600,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0971620012d7f980005afd7c00002000626..."} 
[2026-07-27 04:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0971620012d7f980005afd7c00002000626..."} 
[2026-07-27 04:16:39] local.INFO: Processing buffer {"connection_id":143600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0971620012d7f980005afd7c00002000626..."} 
[2026-07-27 04:16:39] local.INFO: Packet analysis {"connection_id":143600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa097"} 
[2026-07-27 04:16:39] local.INFO: Extracted packet for processing {"connection_id":143600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa097"} 
[2026-07-27 04:16:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":38,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 04:16:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 04:16:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986978048001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:16:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:16:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:16:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:16:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785105684000,"timestamp_ms":1785105684000,"timestamp_seconds":1785105684,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0971620"} 
[2026-07-27 04:16:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 04:16:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 04:16:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 04:16: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-07-27 04:16:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 04:16:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 04:16:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:16:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:16:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:16:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:16:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 04:16:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:16:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:16:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986978048001,"66":25375,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 04:16:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:16:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:16:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986978048001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:16:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 04:16:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:16:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:16:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:16:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986978048001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:16:39] local.INFO: DEBUG: GPS processor result {"connection_id":143600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:16:39] local.INFO: GPS data processed {"connection_id":143600,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:16:39] local.INFO: Acknowledgment sent {"connection_id":143600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:17:09] local.INFO: TCP Data received {"connection_id":143600,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa09bade8012d7f980005afd7c00002000629..."} 
[2026-07-27 04:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa09bade8012d7f980005afd7c00002000629..."} 
[2026-07-27 04:17:09] local.INFO: Processing buffer {"connection_id":143600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa09bade8012d7f980005afd7c00002000629..."} 
[2026-07-27 04:17:09] local.INFO: Packet analysis {"connection_id":143600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa09b"} 
[2026-07-27 04:17:09] local.INFO: Extracted packet for processing {"connection_id":143600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa09b"} 
[2026-07-27 04:17:09] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 04:17:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 04:17:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987055104001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:17:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:17:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:17:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:17:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785105985000,"timestamp_ms":1785105985000,"timestamp_seconds":1785105985,"priority":1,"record_length":96,"hex_timestamp":"0000019fa09bade8"} 
[2026-07-27 04:17:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 04:17:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 04:17:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 04:17:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 04:17:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 04:17:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 04:17:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:17:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:17:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:17:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:17:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 04:17:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:17:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:17:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987055104001,"66":25321,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 04:17:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:17:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:17:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987055104001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:17:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 04:17:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:17:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:17:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:17:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987055104001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:17:09] local.INFO: DEBUG: GPS processor result {"connection_id":143600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:17:09] local.INFO: GPS data processed {"connection_id":143600,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:17:09] local.INFO: Acknowledgment sent {"connection_id":143600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:17:38] local.INFO: TCP Data received {"connection_id":143601,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:17:38] local.INFO: Processing buffer {"connection_id":143601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:17:38] local.INFO: IMEI packet received {"connection_id":143601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 04:17:38] local.INFO: IMEI acknowledgment sent {"connection_id":143601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 04:17:43] local.INFO: TCP Data received {"connection_id":143601,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:17:43] local.INFO: Processing buffer {"connection_id":143601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:17:43] local.INFO: IMEI packet received {"connection_id":143601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 04:17:43] local.INFO: IMEI acknowledgment sent {"connection_id":143601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 04:17:44] local.INFO: TCP Data received {"connection_id":143601,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa09bade8012d7f980005afd7c00002000629..."} 
[2026-07-27 04:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa09bade8012d7f980005afd7c00002000629..."} 
[2026-07-27 04:17:44] local.INFO: Processing buffer {"connection_id":143601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa09bade8012d7f980005afd7c00002000629..."} 
[2026-07-27 04:17:44] local.INFO: Packet analysis {"connection_id":143601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa09b"} 
[2026-07-27 04:17:44] local.INFO: Extracted packet for processing {"connection_id":143601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa09b"} 
[2026-07-27 04:17:44] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 04:17:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 04:17:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987055104001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:17:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:17:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:17:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:17:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785105985000,"timestamp_ms":1785105985000,"timestamp_seconds":1785105985,"priority":1,"record_length":96,"hex_timestamp":"0000019fa09bade8"} 
[2026-07-27 04:17:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 04:17:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 04:17: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":31,"data_length":795,"current_offset":136} 
[2026-07-27 04:17:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 04:17:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 04:17:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 04:17:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:17:44] local.INFO: Teltonika packet parsed successfully {"connection_id":143601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:17:44] local.INFO: Passing IMEI to GPS processor {"connection_id":143601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:17:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":143601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:17:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 04:17:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:17:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:17:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987055104001,"66":25321,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 04:17:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:17:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:17:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987055104001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:17:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 04:17:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:17:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:17:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:17:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987055104001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:17:44] local.INFO: DEBUG: GPS processor result {"connection_id":143601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:17:44] local.INFO: GPS data processed {"connection_id":143601,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:17:44] local.INFO: Acknowledgment sent {"connection_id":143601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:18:15] local.INFO: TCP Data received {"connection_id":143601,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa09bade8012d7f980005afd7c00002000629..."} 
[2026-07-27 04:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa09bade8012d7f980005afd7c00002000629..."} 
[2026-07-27 04:18:15] local.INFO: Processing buffer {"connection_id":143601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa09bade8012d7f980005afd7c00002000629..."} 
[2026-07-27 04:18:15] local.INFO: Packet analysis {"connection_id":143601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa09b"} 
[2026-07-27 04:18:15] local.INFO: Extracted packet for processing {"connection_id":143601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa09b"} 
[2026-07-27 04:18:15] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 04:18:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 04:18:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987055104001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:18:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:18:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:18:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:18:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785105985000,"timestamp_ms":1785105985000,"timestamp_seconds":1785105985,"priority":1,"record_length":96,"hex_timestamp":"0000019fa09bade8"} 
[2026-07-27 04:18:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 04:18:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 04:18:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 04:18: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-07-27 04:18:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 04:18:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 04:18:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:18:15] local.INFO: Teltonika packet parsed successfully {"connection_id":143601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:18:15] local.INFO: Passing IMEI to GPS processor {"connection_id":143601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:18:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":143601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:18:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 04:18:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:18:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:18:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987055104001,"66":25321,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 04:18:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:18:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:18:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987055104001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:18:15] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 04:18:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:18:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:18:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:18:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987055104001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:18:15] local.INFO: DEBUG: GPS processor result {"connection_id":143601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:18:15] local.INFO: GPS data processed {"connection_id":143601,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:18:15] local.INFO: Acknowledgment sent {"connection_id":143601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:18:33] local.INFO: TCP Data received {"connection_id":142545,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:18:33] local.INFO: Processing buffer {"connection_id":142545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:18:33] local.INFO: IMEI packet received {"connection_id":142545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 04:18:33] local.INFO: IMEI acknowledgment sent {"connection_id":142545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 04:18:38] local.INFO: TCP Data received {"connection_id":142545,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:18:38] local.INFO: Processing buffer {"connection_id":142545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:18:38] local.INFO: IMEI packet received {"connection_id":142545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 04:18:38] local.INFO: IMEI acknowledgment sent {"connection_id":142545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 04:18:39] local.INFO: TCP Data received {"connection_id":142545,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa09bade8012d7f980005afd7c00002000629..."} 
[2026-07-27 04:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142545,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa09bade8012d7f980005afd7c00002000629..."} 
[2026-07-27 04:18:39] local.INFO: Processing buffer {"connection_id":142545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa09bade8012d7f980005afd7c00002000629..."} 
[2026-07-27 04:18:39] local.INFO: Packet analysis {"connection_id":142545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa09b"} 
[2026-07-27 04:18:39] local.INFO: Extracted packet for processing {"connection_id":142545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa09b"} 
[2026-07-27 04:18:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 04:18:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 04:18:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987055104001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:18:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:18:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:18:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:18:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785105985000,"timestamp_ms":1785105985000,"timestamp_seconds":1785105985,"priority":1,"record_length":96,"hex_timestamp":"0000019fa09bade8"} 
[2026-07-27 04:18:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 04:18:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 04: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":31,"data_length":795,"current_offset":136} 
[2026-07-27 04:18: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-07-27 04:18:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 04:18:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 04:18:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:18:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:18:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:18:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04: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-07-27 04:18:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:18:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:18:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987055104001,"66":25321,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 04:18:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:18:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:18:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987055104001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:18:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 04:18:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:18:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:18:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:18:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987055104001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:18:39] local.INFO: DEBUG: GPS processor result {"connection_id":142545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:18:39] local.INFO: GPS data processed {"connection_id":142545,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:18:39] local.INFO: Acknowledgment sent {"connection_id":142545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:19:09] local.INFO: TCP Data received {"connection_id":142545,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa09bade8012d7f980005afd7c00002000629..."} 
[2026-07-27 04:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142545,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa09bade8012d7f980005afd7c00002000629..."} 
[2026-07-27 04:19:09] local.INFO: Processing buffer {"connection_id":142545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa09bade8012d7f980005afd7c00002000629..."} 
[2026-07-27 04:19:09] local.INFO: Packet analysis {"connection_id":142545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa09b"} 
[2026-07-27 04:19:09] local.INFO: Extracted packet for processing {"connection_id":142545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa09b"} 
[2026-07-27 04:19:09] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 04:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 04:19:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987055104001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:19:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:19:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:19:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:19:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785105985000,"timestamp_ms":1785105985000,"timestamp_seconds":1785105985,"priority":1,"record_length":96,"hex_timestamp":"0000019fa09bade8"} 
[2026-07-27 04:19:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 04:19:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 04: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":31,"data_length":795,"current_offset":136} 
[2026-07-27 04:19:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 04:19:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 04:19:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 04:19:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:19:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:19:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:19:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:19:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 04:19:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:19:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:19:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987055104001,"66":25321,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 04:19:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:19:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:19:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987055104001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:19:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 04:19:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:19:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:19:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:19:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987055104001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:19:09] local.INFO: DEBUG: GPS processor result {"connection_id":142545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:19:09] local.INFO: GPS data processed {"connection_id":142545,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:19:09] local.INFO: Acknowledgment sent {"connection_id":142545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:19:33] local.INFO: TCP Data received {"connection_id":144926,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:19:33] local.INFO: Processing buffer {"connection_id":144926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:19:33] local.INFO: IMEI packet received {"connection_id":144926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 04:19:33] local.INFO: IMEI acknowledgment sent {"connection_id":144926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 04:19:38] local.INFO: TCP Data received {"connection_id":144926,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:19:38] local.INFO: Processing buffer {"connection_id":144926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:19:38] local.INFO: IMEI packet received {"connection_id":144926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 04:19:38] local.INFO: IMEI acknowledgment sent {"connection_id":144926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 04:19:39] local.INFO: TCP Data received {"connection_id":144926,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa09bade8012d7f980005afd7c00002000629..."} 
[2026-07-27 04:19:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa09bade8012d7f980005afd7c00002000629..."} 
[2026-07-27 04:19:39] local.INFO: Processing buffer {"connection_id":144926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa09bade8012d7f980005afd7c00002000629..."} 
[2026-07-27 04:19:39] local.INFO: Packet analysis {"connection_id":144926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa09b"} 
[2026-07-27 04:19:39] local.INFO: Extracted packet for processing {"connection_id":144926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa09b"} 
[2026-07-27 04:19:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 04:19:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 04:19:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987055104001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:19:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:19:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:19:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:19:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785105985000,"timestamp_ms":1785105985000,"timestamp_seconds":1785105985,"priority":1,"record_length":96,"hex_timestamp":"0000019fa09bade8"} 
[2026-07-27 04:19:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 04:19:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 04:19:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 04: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-07-27 04:19:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 04:19:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 04:19:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:19:39] local.INFO: Teltonika packet parsed successfully {"connection_id":144926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:19:39] local.INFO: Passing IMEI to GPS processor {"connection_id":144926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:19:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":144926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:19:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 04:19:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:19:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:19:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987055104001,"66":25321,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 04:19:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:19:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:19:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987055104001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:19:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 04:19:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:19:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:19:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:19:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987055104001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:19:39] local.INFO: DEBUG: GPS processor result {"connection_id":144926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:19:39] local.INFO: GPS data processed {"connection_id":144926,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:19:39] local.INFO: Acknowledgment sent {"connection_id":144926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:20:09] local.INFO: TCP Data received {"connection_id":144926,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa09bade8012d7f980005afd7c00002000629..."} 
[2026-07-27 04:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa09bade8012d7f980005afd7c00002000629..."} 
[2026-07-27 04:20:09] local.INFO: Processing buffer {"connection_id":144926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa09bade8012d7f980005afd7c00002000629..."} 
[2026-07-27 04:20:09] local.INFO: Packet analysis {"connection_id":144926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa09b"} 
[2026-07-27 04:20:09] local.INFO: Extracted packet for processing {"connection_id":144926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa09b"} 
[2026-07-27 04:20:09] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 04:20:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 04:20:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987055104001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:20:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:20:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:20:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:20:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785105985000,"timestamp_ms":1785105985000,"timestamp_seconds":1785105985,"priority":1,"record_length":96,"hex_timestamp":"0000019fa09bade8"} 
[2026-07-27 04:20:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 04:20:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 04: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":31,"data_length":795,"current_offset":136} 
[2026-07-27 04:20:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 04:20:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 04:20:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 04:20:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:20:09] local.INFO: Teltonika packet parsed successfully {"connection_id":144926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:20:09] local.INFO: Passing IMEI to GPS processor {"connection_id":144926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:20:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":144926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:20:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 04:20:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:20:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:20:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987055104001,"66":25321,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 04:20:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:20:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:20:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987055104001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:20:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 04:20:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:20:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:20:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:20:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987055104001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:20:09] local.INFO: DEBUG: GPS processor result {"connection_id":144926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:20:09] local.INFO: GPS data processed {"connection_id":144926,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:20:09] local.INFO: Acknowledgment sent {"connection_id":144926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:20:33] local.INFO: TCP Data received {"connection_id":143604,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:20:33] local.INFO: Processing buffer {"connection_id":143604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:20:33] local.INFO: IMEI packet received {"connection_id":143604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 04:20:33] local.INFO: IMEI acknowledgment sent {"connection_id":143604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 04:20:38] local.INFO: TCP Data received {"connection_id":143604,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:20:38] local.INFO: Processing buffer {"connection_id":143604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:20:38] local.INFO: IMEI packet received {"connection_id":143604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 04:20:38] local.INFO: IMEI acknowledgment sent {"connection_id":143604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 04:20:39] local.INFO: TCP Data received {"connection_id":143604,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa09bade8012d7f980005afd7c00002000629..."} 
[2026-07-27 04:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143604,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa09bade8012d7f980005afd7c00002000629..."} 
[2026-07-27 04:20:39] local.INFO: Processing buffer {"connection_id":143604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa09bade8012d7f980005afd7c00002000629..."} 
[2026-07-27 04:20:39] local.INFO: Packet analysis {"connection_id":143604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa09b"} 
[2026-07-27 04:20:39] local.INFO: Extracted packet for processing {"connection_id":143604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa09b"} 
[2026-07-27 04:20:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 04:20:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 04:20:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987055104001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:20:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:20:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:20:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:20:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785105985000,"timestamp_ms":1785105985000,"timestamp_seconds":1785105985,"priority":1,"record_length":96,"hex_timestamp":"0000019fa09bade8"} 
[2026-07-27 04:20:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 04:20:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 04: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":31,"data_length":795,"current_offset":136} 
[2026-07-27 04:20: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-07-27 04:20:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 04:20:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 04:20:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:20:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:20:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:20:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:20:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 04:20:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:20:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:20:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987055104001,"66":25321,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 04:20:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:20:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:20:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987055104001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:20:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 04:20:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:20:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:20:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:20:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987055104001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:20:39] local.INFO: DEBUG: GPS processor result {"connection_id":143604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:20:39] local.INFO: GPS data processed {"connection_id":143604,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:20:39] local.INFO: Acknowledgment sent {"connection_id":143604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:21:10] local.INFO: TCP Data received {"connection_id":143604,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa09bade8012d7f980005afd7c00002000629..."} 
[2026-07-27 04:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143604,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa09bade8012d7f980005afd7c00002000629..."} 
[2026-07-27 04:21:10] local.INFO: Processing buffer {"connection_id":143604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa09bade8012d7f980005afd7c00002000629..."} 
[2026-07-27 04:21:10] local.INFO: Packet analysis {"connection_id":143604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa09b"} 
[2026-07-27 04:21:10] local.INFO: Extracted packet for processing {"connection_id":143604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa09b"} 
[2026-07-27 04:21:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 04:21:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 04:21:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987055104001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:21:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:21:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:21:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:21:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785105985000,"timestamp_ms":1785105985000,"timestamp_seconds":1785105985,"priority":1,"record_length":96,"hex_timestamp":"0000019fa09bade8"} 
[2026-07-27 04:21:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 04:21:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 04:21:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 04:21: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-07-27 04:21:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 04:21:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 04:21:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:21:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:21:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:21:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:21:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 04:21:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:21:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:21:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987055104001,"66":25321,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 04:21:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:21:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:21:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987055104001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:21:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 04:21:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:21:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:21:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:21:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987055104001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:21:10] local.INFO: DEBUG: GPS processor result {"connection_id":143604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:21:10] local.INFO: GPS data processed {"connection_id":143604,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:21:10] local.INFO: Acknowledgment sent {"connection_id":143604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:21:25] local.INFO: TCP Data received {"connection_id":142546,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 04:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142546,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 04:21:25] local.INFO: Processing buffer {"connection_id":142546,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 04:21:25] local.INFO: IMEI packet received {"connection_id":142546,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 04:21:25] local.INFO: IMEI acknowledgment sent {"connection_id":142546,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 04:21:33] local.INFO: TCP Data received {"connection_id":143605,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:21:33] local.INFO: Processing buffer {"connection_id":143605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:21:33] local.INFO: IMEI packet received {"connection_id":143605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 04:21:33] local.INFO: IMEI acknowledgment sent {"connection_id":143605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 04:21:38] local.INFO: TCP Data received {"connection_id":143605,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:21:38] local.INFO: Processing buffer {"connection_id":143605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:21:38] local.INFO: IMEI packet received {"connection_id":143605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 04:21:38] local.INFO: IMEI acknowledgment sent {"connection_id":143605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 04:21:39] local.INFO: TCP Data received {"connection_id":143605,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa09bade8012d7f980005afd7c00002000629..."} 
[2026-07-27 04:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa09bade8012d7f980005afd7c00002000629..."} 
[2026-07-27 04:21:39] local.INFO: Processing buffer {"connection_id":143605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa09bade8012d7f980005afd7c00002000629..."} 
[2026-07-27 04:21:39] local.INFO: Packet analysis {"connection_id":143605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa09b"} 
[2026-07-27 04:21:39] local.INFO: Extracted packet for processing {"connection_id":143605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa09b"} 
[2026-07-27 04:21:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 04:21:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 04:21:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987055104001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:21:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:21:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:21:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:21:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785105985000,"timestamp_ms":1785105985000,"timestamp_seconds":1785105985,"priority":1,"record_length":96,"hex_timestamp":"0000019fa09bade8"} 
[2026-07-27 04:21:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 04:21:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 04:21:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 04:21:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 04:21:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 04:21:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 04:21:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:21:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:21:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:21:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:21:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 04:21:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:21:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:21:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987055104001,"66":25321,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 04:21:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:21:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:21:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987055104001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:21:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 04:21:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:21:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:21:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:21:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987055104001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:21:39] local.INFO: DEBUG: GPS processor result {"connection_id":143605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:21:39] local.INFO: GPS data processed {"connection_id":143605,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:21:39] local.INFO: Acknowledgment sent {"connection_id":143605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:21:50] local.INFO: TCP Data received {"connection_id":142625,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 04:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142625,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 04:21:50] local.INFO: Processing buffer {"connection_id":142625,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 04:21:50] local.INFO: IMEI packet received {"connection_id":142625,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 04:21:50] local.INFO: IMEI acknowledgment sent {"connection_id":142625,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 04:22:09] local.INFO: TCP Data received {"connection_id":143605,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0a045b0012d7f980005afd7c00002000629..."} 
[2026-07-27 04:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0a045b0012d7f980005afd7c00002000629..."} 
[2026-07-27 04:22:09] local.INFO: Processing buffer {"connection_id":143605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0a045b0012d7f980005afd7c00002000629..."} 
[2026-07-27 04:22:09] local.INFO: Packet analysis {"connection_id":143605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0a0"} 
[2026-07-27 04:22:09] local.INFO: Extracted packet for processing {"connection_id":143605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0a0"} 
[2026-07-27 04:22:09] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 04:22:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 04:22:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987132160001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:22:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:22:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:22:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:22:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785106286000,"timestamp_ms":1785106286000,"timestamp_seconds":1785106286,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0a045b0"} 
[2026-07-27 04:22:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 04:22:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 04:22:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 04:22:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 04:22:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 04:22:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 04:22:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:22:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:22:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:22:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:22:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 04:22:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:22:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:22:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987132160001,"66":25343,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 04:22:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:22:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:22:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987132160001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:22:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 04:22:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:22:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:22:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:22:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987132160001,"power":25343,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:22:09] local.INFO: DEBUG: GPS processor result {"connection_id":143605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:22:09] local.INFO: GPS data processed {"connection_id":143605,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:22:09] local.INFO: Acknowledgment sent {"connection_id":143605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:22:33] local.INFO: TCP Data received {"connection_id":142626,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:22:33] local.INFO: Processing buffer {"connection_id":142626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:22:33] local.INFO: IMEI packet received {"connection_id":142626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 04:22:33] local.INFO: IMEI acknowledgment sent {"connection_id":142626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 04:22:38] local.INFO: TCP Data received {"connection_id":142626,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:22:38] local.INFO: Processing buffer {"connection_id":142626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:22:38] local.INFO: IMEI packet received {"connection_id":142626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 04:22:38] local.INFO: IMEI acknowledgment sent {"connection_id":142626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 04:22:39] local.INFO: TCP Data received {"connection_id":142626,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0a045b0012d7f980005afd7c00002000629..."} 
[2026-07-27 04:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0a045b0012d7f980005afd7c00002000629..."} 
[2026-07-27 04:22:39] local.INFO: Processing buffer {"connection_id":142626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0a045b0012d7f980005afd7c00002000629..."} 
[2026-07-27 04:22:39] local.INFO: Packet analysis {"connection_id":142626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0a0"} 
[2026-07-27 04:22:39] local.INFO: Extracted packet for processing {"connection_id":142626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0a0"} 
[2026-07-27 04:22:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 04:22:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 04:22:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987132160001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:22:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:22:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:22:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:22:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785106286000,"timestamp_ms":1785106286000,"timestamp_seconds":1785106286,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0a045b0"} 
[2026-07-27 04:22:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 04:22:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 04:22:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 04:22:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 04:22:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 04:22:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 04:22:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:22:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:22:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:22:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04: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-07-27 04:22:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:22:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:22:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987132160001,"66":25343,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 04:22:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:22:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:22:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987132160001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:22:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 04:22:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:22:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:22:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:22:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987132160001,"power":25343,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:22:39] local.INFO: DEBUG: GPS processor result {"connection_id":142626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:22:39] local.INFO: GPS data processed {"connection_id":142626,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:22:39] local.INFO: Acknowledgment sent {"connection_id":142626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:23:09] local.INFO: TCP Data received {"connection_id":142626,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0a045b0012d7f980005afd7c00002000629..."} 
[2026-07-27 04:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0a045b0012d7f980005afd7c00002000629..."} 
[2026-07-27 04:23:09] local.INFO: Processing buffer {"connection_id":142626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0a045b0012d7f980005afd7c00002000629..."} 
[2026-07-27 04:23:09] local.INFO: Packet analysis {"connection_id":142626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0a0"} 
[2026-07-27 04:23:09] local.INFO: Extracted packet for processing {"connection_id":142626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0a0"} 
[2026-07-27 04:23:09] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 04:23:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 04:23:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987132160001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:23:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:23:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:23:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:23:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785106286000,"timestamp_ms":1785106286000,"timestamp_seconds":1785106286,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0a045b0"} 
[2026-07-27 04:23:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 04:23:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 04:23:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 04:23:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 04:23:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 04:23:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 04:23:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:23:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:23:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:23:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:23:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 04:23:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:23:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:23:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987132160001,"66":25343,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 04:23:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:23:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:23:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987132160001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:23:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 04:23:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:23:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:23:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:23:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987132160001,"power":25343,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:23:09] local.INFO: DEBUG: GPS processor result {"connection_id":142626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:23:09] local.INFO: GPS data processed {"connection_id":142626,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:23:09] local.INFO: Acknowledgment sent {"connection_id":142626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:23:33] local.INFO: TCP Data received {"connection_id":144927,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:23:33] local.INFO: Processing buffer {"connection_id":144927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:23:33] local.INFO: IMEI packet received {"connection_id":144927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 04:23:33] local.INFO: IMEI acknowledgment sent {"connection_id":144927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 04:23:38] local.INFO: TCP Data received {"connection_id":144927,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:23:38] local.INFO: Processing buffer {"connection_id":144927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:23:38] local.INFO: IMEI packet received {"connection_id":144927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 04:23:38] local.INFO: IMEI acknowledgment sent {"connection_id":144927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 04:23:39] local.INFO: TCP Data received {"connection_id":144927,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0a045b0012d7f980005afd7c00002000629..."} 
[2026-07-27 04:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0a045b0012d7f980005afd7c00002000629..."} 
[2026-07-27 04:23:39] local.INFO: Processing buffer {"connection_id":144927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0a045b0012d7f980005afd7c00002000629..."} 
[2026-07-27 04:23:39] local.INFO: Packet analysis {"connection_id":144927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0a0"} 
[2026-07-27 04:23:39] local.INFO: Extracted packet for processing {"connection_id":144927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0a0"} 
[2026-07-27 04:23:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 04:23:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 04:23:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987132160001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:23:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:23:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:23:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:23:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785106286000,"timestamp_ms":1785106286000,"timestamp_seconds":1785106286,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0a045b0"} 
[2026-07-27 04:23:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 04:23:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 04:23:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 04:23:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 04:23:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 04:23:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 04:23:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:23:39] local.INFO: Teltonika packet parsed successfully {"connection_id":144927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:23:39] local.INFO: Passing IMEI to GPS processor {"connection_id":144927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:23:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":144927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:23:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 04:23:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:23:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:23:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987132160001,"66":25343,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 04:23:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:23:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:23:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987132160001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:23:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 04:23:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:23:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:23:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:23:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987132160001,"power":25343,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:23:39] local.INFO: DEBUG: GPS processor result {"connection_id":144927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:23:39] local.INFO: GPS data processed {"connection_id":144927,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:23:39] local.INFO: Acknowledgment sent {"connection_id":144927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:24:09] local.INFO: TCP Data received {"connection_id":144927,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0a045b0012d7f980005afd7c00002000629..."} 
[2026-07-27 04:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0a045b0012d7f980005afd7c00002000629..."} 
[2026-07-27 04:24:09] local.INFO: Processing buffer {"connection_id":144927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0a045b0012d7f980005afd7c00002000629..."} 
[2026-07-27 04:24:09] local.INFO: Packet analysis {"connection_id":144927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0a0"} 
[2026-07-27 04:24:09] local.INFO: Extracted packet for processing {"connection_id":144927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0a0"} 
[2026-07-27 04:24:09] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 04:24:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 04:24:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987132160001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:24:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:24:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:24:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:24:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785106286000,"timestamp_ms":1785106286000,"timestamp_seconds":1785106286,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0a045b0"} 
[2026-07-27 04:24:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 04:24:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 04:24:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 04:24:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 04:24:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 04:24:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:24:09] local.INFO: Teltonika packet parsed successfully {"connection_id":144927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:24:09] local.INFO: Passing IMEI to GPS processor {"connection_id":144927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:24:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":144927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:24:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 04:24:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:24:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:24:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987132160001,"66":25343,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 04:24:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:24:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:24:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987132160001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:24:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 04:24:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:24:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:24:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:24:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987132160001,"power":25343,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:24:09] local.INFO: DEBUG: GPS processor result {"connection_id":144927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:24:09] local.INFO: GPS data processed {"connection_id":144927,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:24:09] local.INFO: Acknowledgment sent {"connection_id":144927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:24:38] local.INFO: TCP Data received {"connection_id":144929,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:24:38] local.INFO: Processing buffer {"connection_id":144929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:24:38] local.INFO: IMEI packet received {"connection_id":144929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 04:24:38] local.INFO: IMEI acknowledgment sent {"connection_id":144929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 04:24:43] local.INFO: TCP Data received {"connection_id":144929,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:24:43] local.INFO: Processing buffer {"connection_id":144929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:24:43] local.INFO: IMEI packet received {"connection_id":144929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 04:24:43] local.INFO: IMEI acknowledgment sent {"connection_id":144929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 04:24:43] local.INFO: TCP Data received {"connection_id":144929,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0a045b0012d7f980005afd7c00002000629..."} 
[2026-07-27 04:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144929,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0a045b0012d7f980005afd7c00002000629..."} 
[2026-07-27 04:24:43] local.INFO: Processing buffer {"connection_id":144929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0a045b0012d7f980005afd7c00002000629..."} 
[2026-07-27 04:24:43] local.INFO: Packet analysis {"connection_id":144929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0a0"} 
[2026-07-27 04:24:43] local.INFO: Extracted packet for processing {"connection_id":144929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0a0"} 
[2026-07-27 04:24:43] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 04:24:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 04:24:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987132160001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:24:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:24:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:24:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:24:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785106286000,"timestamp_ms":1785106286000,"timestamp_seconds":1785106286,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0a045b0"} 
[2026-07-27 04:24:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 04:24:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 04:24:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 04:24: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-07-27 04:24:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 04:24:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 04:24:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:24:43] local.INFO: Teltonika packet parsed successfully {"connection_id":144929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:24:43] local.INFO: Passing IMEI to GPS processor {"connection_id":144929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:24:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":144929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:24:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 04:24:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:24:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:24:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987132160001,"66":25343,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 04:24:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:24:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:24:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987132160001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:24:43] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 04:24:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:24:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:24:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:24:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987132160001,"power":25343,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:24:43] local.INFO: DEBUG: GPS processor result {"connection_id":144929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:24:43] local.INFO: GPS data processed {"connection_id":144929,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:24:43] local.INFO: Acknowledgment sent {"connection_id":144929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:24:48] local.INFO: TCP Data received {"connection_id":144929,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0a045b0012d7f980005afd7c00002000629..."} 
[2026-07-27 04:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144929,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0a045b0012d7f980005afd7c00002000629..."} 
[2026-07-27 04:24:48] local.INFO: Processing buffer {"connection_id":144929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0a045b0012d7f980005afd7c00002000629..."} 
[2026-07-27 04:24:48] local.INFO: Packet analysis {"connection_id":144929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0a0"} 
[2026-07-27 04:24:48] local.INFO: Extracted packet for processing {"connection_id":144929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0a0"} 
[2026-07-27 04:24:48] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 04: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-07-27 04:24:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987132160001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:24:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:24:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:24:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:24:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785106286000,"timestamp_ms":1785106286000,"timestamp_seconds":1785106286,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0a045b0"} 
[2026-07-27 04:24:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 04:24:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 04:24:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 04: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-07-27 04:24:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 04:24:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:24:48] local.INFO: Teltonika packet parsed successfully {"connection_id":144929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:24:48] local.INFO: Passing IMEI to GPS processor {"connection_id":144929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:24:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":144929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:24:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 04:24:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:24:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:24:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987132160001,"66":25343,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 04:24:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:24:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:24:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987132160001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:24:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 04:24:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:24:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:24:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:24:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987132160001,"power":25343,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:24:48] local.INFO: DEBUG: GPS processor result {"connection_id":144929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:24:48] local.INFO: GPS data processed {"connection_id":144929,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:24:48] local.INFO: Acknowledgment sent {"connection_id":144929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:25:33] local.INFO: TCP Data received {"connection_id":142547,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:25:33] local.INFO: Processing buffer {"connection_id":142547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:25:33] local.INFO: IMEI packet received {"connection_id":142547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 04:25:33] local.INFO: IMEI acknowledgment sent {"connection_id":142547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 04:25:38] local.INFO: TCP Data received {"connection_id":142547,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:25:38] local.INFO: Processing buffer {"connection_id":142547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:25:38] local.INFO: IMEI packet received {"connection_id":142547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 04:25:38] local.INFO: IMEI acknowledgment sent {"connection_id":142547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 04:25:39] local.INFO: TCP Data received {"connection_id":142547,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0a045b0012d7f980005afd7c00002000629..."} 
[2026-07-27 04:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0a045b0012d7f980005afd7c00002000629..."} 
[2026-07-27 04:25:39] local.INFO: Processing buffer {"connection_id":142547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0a045b0012d7f980005afd7c00002000629..."} 
[2026-07-27 04:25:39] local.INFO: Packet analysis {"connection_id":142547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0a0"} 
[2026-07-27 04:25:39] local.INFO: Extracted packet for processing {"connection_id":142547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0a0"} 
[2026-07-27 04:25:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 04:25:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 04:25:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987132160001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:25:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:25:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:25:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:25:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785106286000,"timestamp_ms":1785106286000,"timestamp_seconds":1785106286,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0a045b0"} 
[2026-07-27 04:25:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 04:25:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 04:25:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 04:25:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 04:25:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 04:25:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:25:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:25:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:25:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:25:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 04:25:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:25:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:25:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987132160001,"66":25343,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 04:25:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:25:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:25:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987132160001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:25:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 04:25:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:25:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:25:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:25:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987132160001,"power":25343,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:25:39] local.INFO: DEBUG: GPS processor result {"connection_id":142547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:25:39] local.INFO: GPS data processed {"connection_id":142547,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:25:39] local.INFO: Acknowledgment sent {"connection_id":142547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:26:10] local.INFO: TCP Data received {"connection_id":142547,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0a045b0012d7f980005afd7c00002000629..."} 
[2026-07-27 04:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0a045b0012d7f980005afd7c00002000629..."} 
[2026-07-27 04:26:10] local.INFO: Processing buffer {"connection_id":142547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0a045b0012d7f980005afd7c00002000629..."} 
[2026-07-27 04:26:10] local.INFO: Packet analysis {"connection_id":142547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0a0"} 
[2026-07-27 04:26:10] local.INFO: Extracted packet for processing {"connection_id":142547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0a0"} 
[2026-07-27 04:26:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 04:26:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 04:26:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987132160001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:26:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:26:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:26:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:26:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785106286000,"timestamp_ms":1785106286000,"timestamp_seconds":1785106286,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0a045b0"} 
[2026-07-27 04:26:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 04:26:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 04:26:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 04:26:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 04:26:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 04:26:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:26:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:26:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:26:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:26:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 04:26:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:26:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:26:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987132160001,"66":25343,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 04:26:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:26:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:26:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987132160001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:26:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 04:26:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:26:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:26:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:26:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987132160001,"power":25343,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:26:10] local.INFO: DEBUG: GPS processor result {"connection_id":142547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:26:10] local.INFO: GPS data processed {"connection_id":142547,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:26:10] local.INFO: Acknowledgment sent {"connection_id":142547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:26:33] local.INFO: TCP Data received {"connection_id":143608,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:26:33] local.INFO: Processing buffer {"connection_id":143608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:26:33] local.INFO: IMEI packet received {"connection_id":143608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 04:26:33] local.INFO: IMEI acknowledgment sent {"connection_id":143608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 04:26:38] local.INFO: TCP Data received {"connection_id":143608,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:26:38] local.INFO: Processing buffer {"connection_id":143608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:26:38] local.INFO: IMEI packet received {"connection_id":143608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 04:26:38] local.INFO: IMEI acknowledgment sent {"connection_id":143608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 04:26:39] local.INFO: TCP Data received {"connection_id":143608,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0a045b0012d7f980005afd7c00002000629..."} 
[2026-07-27 04:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0a045b0012d7f980005afd7c00002000629..."} 
[2026-07-27 04:26:39] local.INFO: Processing buffer {"connection_id":143608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0a045b0012d7f980005afd7c00002000629..."} 
[2026-07-27 04:26:39] local.INFO: Packet analysis {"connection_id":143608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0a0"} 
[2026-07-27 04:26:39] local.INFO: Extracted packet for processing {"connection_id":143608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0a0"} 
[2026-07-27 04:26:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":2,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 04:26:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 04:26:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987132160001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:26:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:26:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:26:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:26:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785106286000,"timestamp_ms":1785106286000,"timestamp_seconds":1785106286,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0a045b0"} 
[2026-07-27 04:26:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 04:26:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 04:26:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 04:26:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 04:26:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 04:26:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 04:26:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:26:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:26:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:26:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:26:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 04:26:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:26:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:26:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987132160001,"66":25343,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 04:26:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:26:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:26:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987132160001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:26:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 04:26:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:26:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:26:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:26:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987132160001,"power":25343,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:26:39] local.INFO: DEBUG: GPS processor result {"connection_id":143608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:26:39] local.INFO: GPS data processed {"connection_id":143608,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:26:39] local.INFO: Acknowledgment sent {"connection_id":143608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:27:10] local.INFO: TCP Data received {"connection_id":143608,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0a4dd78012d7f980005afd7c00000000628..."} 
[2026-07-27 04:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0a4dd78012d7f980005afd7c00000000628..."} 
[2026-07-27 04:27:10] local.INFO: Processing buffer {"connection_id":143608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0a4dd78012d7f980005afd7c00000000628..."} 
[2026-07-27 04:27:10] local.INFO: Packet analysis {"connection_id":143608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0a4"} 
[2026-07-27 04:27:10] local.INFO: Extracted packet for processing {"connection_id":143608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0a4"} 
[2026-07-27 04:27:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":0,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 04:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 04:27:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987209216001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:27:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:27:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:27:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:27:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785106587000,"timestamp_ms":1785106587000,"timestamp_seconds":1785106587,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0a4dd78"} 
[2026-07-27 04:27:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 04:27:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 04:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-27 04:27:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 04:27:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 04:27:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 04:27:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:27:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:27:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:27:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:27:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 04:27:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:27:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:27:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987209216001,"66":25343,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 04:27:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:27:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:27:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987209216001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:27:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 04:27:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:27:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:27:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:27:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987209216001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:27:10] local.INFO: DEBUG: GPS processor result {"connection_id":143608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:27:10] local.INFO: GPS data processed {"connection_id":143608,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:27:10] local.INFO: Acknowledgment sent {"connection_id":143608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:27:15] local.INFO: TCP Data received {"connection_id":144930,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 04:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144930,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 04:27:15] local.INFO: Processing buffer {"connection_id":144930,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 04:27:15] local.INFO: IMEI packet received {"connection_id":144930,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 04:27:15] local.INFO: IMEI acknowledgment sent {"connection_id":144930,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 04:27:33] local.INFO: TCP Data received {"connection_id":143609,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:27:33] local.INFO: Processing buffer {"connection_id":143609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:27:33] local.INFO: IMEI packet received {"connection_id":143609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 04:27:33] local.INFO: IMEI acknowledgment sent {"connection_id":143609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 04:27:38] local.INFO: TCP Data received {"connection_id":143609,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:27:38] local.INFO: Processing buffer {"connection_id":143609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:27:38] local.INFO: IMEI packet received {"connection_id":143609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 04:27:38] local.INFO: IMEI acknowledgment sent {"connection_id":143609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 04:27:39] local.INFO: TCP Data received {"connection_id":143609,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0a4dd78012d7f980005afd7c00000000628..."} 
[2026-07-27 04:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0a4dd78012d7f980005afd7c00000000628..."} 
[2026-07-27 04:27:39] local.INFO: Processing buffer {"connection_id":143609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0a4dd78012d7f980005afd7c00000000628..."} 
[2026-07-27 04:27:39] local.INFO: Packet analysis {"connection_id":143609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0a4"} 
[2026-07-27 04:27:39] local.INFO: Extracted packet for processing {"connection_id":143609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0a4"} 
[2026-07-27 04:27:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":0,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 04:27:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 04:27:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987209216001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:27:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:27:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:27:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:27:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785106587000,"timestamp_ms":1785106587000,"timestamp_seconds":1785106587,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0a4dd78"} 
[2026-07-27 04:27:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 04:27:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 04:27:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-27 04:27:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 04:27:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 04:27:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 04:27:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:27:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:27:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:27:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:27:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 04:27:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:27:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:27:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987209216001,"66":25343,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 04:27:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:27:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:27:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987209216001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:27:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 04:27:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:27:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:27:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:27:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987209216001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:27:39] local.INFO: DEBUG: GPS processor result {"connection_id":143609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:27:39] local.INFO: GPS data processed {"connection_id":143609,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:27:39] local.INFO: Acknowledgment sent {"connection_id":143609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:27:45] local.INFO: TCP Data received {"connection_id":144931,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 04:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144931,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 04:27:45] local.INFO: Processing buffer {"connection_id":144931,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 04:27:45] local.INFO: IMEI packet received {"connection_id":144931,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 04:27:45] local.INFO: IMEI acknowledgment sent {"connection_id":144931,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 04:28:09] local.INFO: TCP Data received {"connection_id":143609,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0a4dd78012d7f980005afd7c00000000628..."} 
[2026-07-27 04:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0a4dd78012d7f980005afd7c00000000628..."} 
[2026-07-27 04:28:09] local.INFO: Processing buffer {"connection_id":143609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0a4dd78012d7f980005afd7c00000000628..."} 
[2026-07-27 04:28:09] local.INFO: Packet analysis {"connection_id":143609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0a4"} 
[2026-07-27 04:28:09] local.INFO: Extracted packet for processing {"connection_id":143609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0a4"} 
[2026-07-27 04:28:09] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":0,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 04:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 04:28:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987209216001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:28:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:28:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:28:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:28:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785106587000,"timestamp_ms":1785106587000,"timestamp_seconds":1785106587,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0a4dd78"} 
[2026-07-27 04:28:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 04:28:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 04:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-27 04: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-07-27 04:28:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 04:28:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 04:28:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:28:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:28:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:28:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:28:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 04:28:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:28:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:28:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987209216001,"66":25343,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 04:28:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:28:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:28:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987209216001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:28:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 04:28:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:28:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:28:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:28:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987209216001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:28:09] local.INFO: DEBUG: GPS processor result {"connection_id":143609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:28:09] local.INFO: GPS data processed {"connection_id":143609,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:28:09] local.INFO: Acknowledgment sent {"connection_id":143609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:28:33] local.INFO: TCP Data received {"connection_id":144932,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:28:33] local.INFO: Processing buffer {"connection_id":144932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:28:33] local.INFO: IMEI packet received {"connection_id":144932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 04:28:33] local.INFO: IMEI acknowledgment sent {"connection_id":144932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 04:28:38] local.INFO: TCP Data received {"connection_id":144932,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:28:38] local.INFO: Processing buffer {"connection_id":144932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:28:38] local.INFO: IMEI packet received {"connection_id":144932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 04:28:38] local.INFO: IMEI acknowledgment sent {"connection_id":144932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 04:28:39] local.INFO: TCP Data received {"connection_id":144932,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0a4dd78012d7f980005afd7c00000000628..."} 
[2026-07-27 04:28:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144932,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0a4dd78012d7f980005afd7c00000000628..."} 
[2026-07-27 04:28:39] local.INFO: Processing buffer {"connection_id":144932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0a4dd78012d7f980005afd7c00000000628..."} 
[2026-07-27 04:28:39] local.INFO: Packet analysis {"connection_id":144932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0a4"} 
[2026-07-27 04:28:39] local.INFO: Extracted packet for processing {"connection_id":144932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0a4"} 
[2026-07-27 04:28:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":0,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 04:28:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 04:28:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987209216001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:28:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:28:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:28:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:28:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785106587000,"timestamp_ms":1785106587000,"timestamp_seconds":1785106587,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0a4dd78"} 
[2026-07-27 04:28:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 04:28:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 04: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-27 04:28:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 04:28:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 04:28:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 04:28:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:28:39] local.INFO: Teltonika packet parsed successfully {"connection_id":144932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:28:39] local.INFO: Passing IMEI to GPS processor {"connection_id":144932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:28:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":144932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:28:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 04:28:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:28:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:28:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987209216001,"66":25343,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 04:28:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:28:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:28:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987209216001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:28:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 04:28:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:28:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:28:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:28:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987209216001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:28:39] local.INFO: DEBUG: GPS processor result {"connection_id":144932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:28:39] local.INFO: GPS data processed {"connection_id":144932,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:28:39] local.INFO: Acknowledgment sent {"connection_id":144932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:29:10] local.INFO: TCP Data received {"connection_id":144932,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0a4dd78012d7f980005afd7c00000000628..."} 
[2026-07-27 04:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144932,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0a4dd78012d7f980005afd7c00000000628..."} 
[2026-07-27 04:29:10] local.INFO: Processing buffer {"connection_id":144932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0a4dd78012d7f980005afd7c00000000628..."} 
[2026-07-27 04:29:10] local.INFO: Packet analysis {"connection_id":144932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0a4"} 
[2026-07-27 04:29:10] local.INFO: Extracted packet for processing {"connection_id":144932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0a4"} 
[2026-07-27 04:29:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":0,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 04:29:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 04:29:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987209216001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:29:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:29:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:29:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:29:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785106587000,"timestamp_ms":1785106587000,"timestamp_seconds":1785106587,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0a4dd78"} 
[2026-07-27 04:29:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 04:29:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 04: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":255,"data_length":795,"current_offset":136} 
[2026-07-27 04:29:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 04:29:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 04:29:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 04:29:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:29:10] local.INFO: Teltonika packet parsed successfully {"connection_id":144932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:29:10] local.INFO: Passing IMEI to GPS processor {"connection_id":144932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:29:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":144932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:29:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 04:29:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:29:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:29:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987209216001,"66":25343,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 04:29:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:29:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:29:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987209216001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:29:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 04:29:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:29:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:29:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:29:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987209216001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:29:10] local.INFO: DEBUG: GPS processor result {"connection_id":144932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:29:10] local.INFO: GPS data processed {"connection_id":144932,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:29:10] local.INFO: Acknowledgment sent {"connection_id":144932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:29:33] local.INFO: TCP Data received {"connection_id":143611,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143611,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:29:33] local.INFO: Processing buffer {"connection_id":143611,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:29:33] local.INFO: IMEI packet received {"connection_id":143611,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 04:29:33] local.INFO: IMEI acknowledgment sent {"connection_id":143611,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 04:29:38] local.INFO: TCP Data received {"connection_id":143611,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143611,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:29:38] local.INFO: Processing buffer {"connection_id":143611,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:29:38] local.INFO: IMEI packet received {"connection_id":143611,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 04:29:38] local.INFO: IMEI acknowledgment sent {"connection_id":143611,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 04:29:39] local.INFO: TCP Data received {"connection_id":143611,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0a4dd78012d7f980005afd7c00000000628..."} 
[2026-07-27 04:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143611,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0a4dd78012d7f980005afd7c00000000628..."} 
[2026-07-27 04:29:39] local.INFO: Processing buffer {"connection_id":143611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0a4dd78012d7f980005afd7c00000000628..."} 
[2026-07-27 04:29:39] local.INFO: Packet analysis {"connection_id":143611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0a4"} 
[2026-07-27 04:29:39] local.INFO: Extracted packet for processing {"connection_id":143611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0a4"} 
[2026-07-27 04:29:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":0,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 04:29:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 04:29:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987209216001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:29:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:29:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:29:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:29:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785106587000,"timestamp_ms":1785106587000,"timestamp_seconds":1785106587,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0a4dd78"} 
[2026-07-27 04:29:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 04:29:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 04: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-27 04:29:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 04:29:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 04:29:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 04:29:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:29:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:29:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:29:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:29:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 04:29:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:29:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:29:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987209216001,"66":25343,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 04:29:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:29:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:29:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987209216001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:29:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 04:29:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:29:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:29:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:29:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987209216001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:29:39] local.INFO: DEBUG: GPS processor result {"connection_id":143611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:29:39] local.INFO: GPS data processed {"connection_id":143611,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:29:39] local.INFO: Acknowledgment sent {"connection_id":143611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:30:10] local.INFO: TCP Data received {"connection_id":143611,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0a4dd78012d7f980005afd7c00000000628..."} 
[2026-07-27 04:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143611,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0a4dd78012d7f980005afd7c00000000628..."} 
[2026-07-27 04:30:10] local.INFO: Processing buffer {"connection_id":143611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0a4dd78012d7f980005afd7c00000000628..."} 
[2026-07-27 04:30:10] local.INFO: Packet analysis {"connection_id":143611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0a4"} 
[2026-07-27 04:30:10] local.INFO: Extracted packet for processing {"connection_id":143611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0a4"} 
[2026-07-27 04:30:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":0,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 04:30:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987209216001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:30:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:30:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:30:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:30:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785106587000,"timestamp_ms":1785106587000,"timestamp_seconds":1785106587,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0a4dd78"} 
[2026-07-27 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-07-27 04:30:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-27 04: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-07-27 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-07-27 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-07-27 04:30:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:30:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:30:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:30:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:30:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 04:30:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:30:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:30:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987209216001,"66":25343,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 04:30:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:30:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:30:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987209216001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:30:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 04:30:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:30:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:30:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:30:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987209216001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:30:10] local.INFO: DEBUG: GPS processor result {"connection_id":143611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:30:10] local.INFO: GPS data processed {"connection_id":143611,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:30:10] local.INFO: Acknowledgment sent {"connection_id":143611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:30:33] local.INFO: TCP Data received {"connection_id":142627,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:30:33] local.INFO: Processing buffer {"connection_id":142627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:30:33] local.INFO: IMEI packet received {"connection_id":142627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 04:30:33] local.INFO: IMEI acknowledgment sent {"connection_id":142627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 04:30:38] local.INFO: TCP Data received {"connection_id":142627,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:30:38] local.INFO: Processing buffer {"connection_id":142627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:30:38] local.INFO: IMEI packet received {"connection_id":142627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 04:30:38] local.INFO: IMEI acknowledgment sent {"connection_id":142627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 04:30:39] local.INFO: TCP Data received {"connection_id":142627,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0a4dd78012d7f980005afd7c00000000628..."} 
[2026-07-27 04:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142627,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0a4dd78012d7f980005afd7c00000000628..."} 
[2026-07-27 04:30:39] local.INFO: Processing buffer {"connection_id":142627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0a4dd78012d7f980005afd7c00000000628..."} 
[2026-07-27 04:30:39] local.INFO: Packet analysis {"connection_id":142627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0a4"} 
[2026-07-27 04:30:39] local.INFO: Extracted packet for processing {"connection_id":142627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0a4"} 
[2026-07-27 04:30:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":0,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 04:30:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 04:30:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987209216001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:30:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:30:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:30:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:30:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785106587000,"timestamp_ms":1785106587000,"timestamp_seconds":1785106587,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0a4dd78"} 
[2026-07-27 04:30:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 04:30:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 04: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-27 04:30:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 04:30:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 04:30:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 04:30:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:30:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:30:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:30:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04: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-07-27 04:30:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:30:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:30:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987209216001,"66":25343,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 04:30:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:30:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:30:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987209216001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:30:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 04:30:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:30:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:30:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:30:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987209216001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:30:39] local.INFO: DEBUG: GPS processor result {"connection_id":142627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:30:39] local.INFO: GPS data processed {"connection_id":142627,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:30:39] local.INFO: Acknowledgment sent {"connection_id":142627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:31:10] local.INFO: TCP Data received {"connection_id":142627,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0a4dd78012d7f980005afd7c00000000628..."} 
[2026-07-27 04:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142627,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0a4dd78012d7f980005afd7c00000000628..."} 
[2026-07-27 04:31:10] local.INFO: Processing buffer {"connection_id":142627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0a4dd78012d7f980005afd7c00000000628..."} 
[2026-07-27 04:31:10] local.INFO: Packet analysis {"connection_id":142627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0a4"} 
[2026-07-27 04:31:10] local.INFO: Extracted packet for processing {"connection_id":142627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0a4"} 
[2026-07-27 04:31:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":0,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 04:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 04:31:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987209216001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:31:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:31:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:31:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:31:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785106587000,"timestamp_ms":1785106587000,"timestamp_seconds":1785106587,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0a4dd78"} 
[2026-07-27 04:31:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 04:31:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 04:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-27 04:31:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 04:31:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 04:31:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 04:31:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:31:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:31:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:31:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:31:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 04:31:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:31:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:31:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987209216001,"66":25343,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 04:31:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:31:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:31:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987209216001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:31:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 04:31:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:31:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:31:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:31:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987209216001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:31:10] local.INFO: DEBUG: GPS processor result {"connection_id":142627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:31:10] local.INFO: GPS data processed {"connection_id":142627,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:31:10] local.INFO: Acknowledgment sent {"connection_id":142627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:31:38] local.INFO: TCP Data received {"connection_id":142628,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:31:38] local.INFO: Processing buffer {"connection_id":142628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:31:38] local.INFO: IMEI packet received {"connection_id":142628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 04:31:38] local.INFO: IMEI acknowledgment sent {"connection_id":142628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 04:31:43] local.INFO: TCP Data received {"connection_id":142628,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:31:43] local.INFO: Processing buffer {"connection_id":142628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:31:43] local.INFO: IMEI packet received {"connection_id":142628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 04:31:43] local.INFO: IMEI acknowledgment sent {"connection_id":142628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 04:31:44] local.INFO: TCP Data received {"connection_id":142628,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0a4dd78012d7f980005afd7c00000000628..."} 
[2026-07-27 04:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142628,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0a4dd78012d7f980005afd7c00000000628..."} 
[2026-07-27 04:31:44] local.INFO: Processing buffer {"connection_id":142628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0a4dd78012d7f980005afd7c00000000628..."} 
[2026-07-27 04:31:44] local.INFO: Packet analysis {"connection_id":142628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0a4"} 
[2026-07-27 04:31:44] local.INFO: Extracted packet for processing {"connection_id":142628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0a4"} 
[2026-07-27 04:31:44] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":0,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 04: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-07-27 04:31:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987209216001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:31:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:31:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:31:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:31:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785106587000,"timestamp_ms":1785106587000,"timestamp_seconds":1785106587,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0a4dd78"} 
[2026-07-27 04:31:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 04:31:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 04: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-27 04:31:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 04: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-07-27 04:31:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 04:31:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:31:44] local.INFO: Teltonika packet parsed successfully {"connection_id":142628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:31:44] local.INFO: Passing IMEI to GPS processor {"connection_id":142628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:31:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":142628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:31:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 04:31:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:31:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:31:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987209216001,"66":25343,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 04:31:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:31:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:31:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987209216001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:31:44] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 04:31:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:31:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:31:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:31:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987209216001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:31:44] local.INFO: DEBUG: GPS processor result {"connection_id":142628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:31:44] local.INFO: GPS data processed {"connection_id":142628,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:31:44] local.INFO: Acknowledgment sent {"connection_id":142628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:31:48] local.INFO: TCP Data received {"connection_id":142628,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0a4dd78012d7f980005afd7c00000000628..."} 
[2026-07-27 04:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142628,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0a4dd78012d7f980005afd7c00000000628..."} 
[2026-07-27 04:31:48] local.INFO: Processing buffer {"connection_id":142628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0a4dd78012d7f980005afd7c00000000628..."} 
[2026-07-27 04:31:48] local.INFO: Packet analysis {"connection_id":142628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0a4"} 
[2026-07-27 04:31:48] local.INFO: Extracted packet for processing {"connection_id":142628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0a4"} 
[2026-07-27 04:31:48] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":0,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 04: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-07-27 04:31:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987209216001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:31:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:31:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:31:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:31:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785106587000,"timestamp_ms":1785106587000,"timestamp_seconds":1785106587,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0a4dd78"} 
[2026-07-27 04:31:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 04:31:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 04: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-27 04:31:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 04: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-07-27 04:31:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 04:31:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:31:48] local.INFO: Teltonika packet parsed successfully {"connection_id":142628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:31:48] local.INFO: Passing IMEI to GPS processor {"connection_id":142628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:31:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":142628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:31:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 04:31:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:31:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:31:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987209216001,"66":25343,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 04:31:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:31:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:31:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987209216001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:31:48] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 04:31:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:31:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:31:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:31:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987209216001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:31:48] local.INFO: DEBUG: GPS processor result {"connection_id":142628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:31:48] local.INFO: GPS data processed {"connection_id":142628,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:31:48] local.INFO: Acknowledgment sent {"connection_id":142628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:32:33] local.INFO: TCP Data received {"connection_id":143613,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:32:33] local.INFO: Processing buffer {"connection_id":143613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:32:33] local.INFO: IMEI packet received {"connection_id":143613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 04:32:33] local.INFO: IMEI acknowledgment sent {"connection_id":143613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 04:32:38] local.INFO: TCP Data received {"connection_id":143613,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:32:38] local.INFO: Processing buffer {"connection_id":143613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:32:38] local.INFO: IMEI packet received {"connection_id":143613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 04:32:38] local.INFO: IMEI acknowledgment sent {"connection_id":143613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 04:32:39] local.INFO: TCP Data received {"connection_id":143613,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0a97540012d7f980005afd7c00000000629..."} 
[2026-07-27 04:32:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0a97540012d7f980005afd7c00000000629..."} 
[2026-07-27 04:32:39] local.INFO: Processing buffer {"connection_id":143613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0a97540012d7f980005afd7c00000000629..."} 
[2026-07-27 04:32:39] local.INFO: Packet analysis {"connection_id":143613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0a9"} 
[2026-07-27 04:32:39] local.INFO: Extracted packet for processing {"connection_id":143613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0a9"} 
[2026-07-27 04:32:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":0,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 04: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-07-27 04:32:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987286272001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:32:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:32:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:32:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:32:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785106888000,"timestamp_ms":1785106888000,"timestamp_seconds":1785106888,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0a97540"} 
[2026-07-27 04:32:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 04:32:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 04: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-27 04:32:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 04: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-07-27 04:32:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 04:32:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:32:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:32:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:32:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:32:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 04:32:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:32:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:32:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987286272001,"66":25397,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 04:32:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:32:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:32:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987286272001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:32:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 04:32:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:32:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:32:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:32:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987286272001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:32:39] local.INFO: DEBUG: GPS processor result {"connection_id":143613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:32:39] local.INFO: GPS data processed {"connection_id":143613,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:32:39] local.INFO: Acknowledgment sent {"connection_id":143613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:33:10] local.INFO: TCP Data received {"connection_id":143613,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0a97540012d7f980005afd7c00000000629..."} 
[2026-07-27 04:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0a97540012d7f980005afd7c00000000629..."} 
[2026-07-27 04:33:10] local.INFO: Processing buffer {"connection_id":143613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0a97540012d7f980005afd7c00000000629..."} 
[2026-07-27 04:33:10] local.INFO: Packet analysis {"connection_id":143613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0a9"} 
[2026-07-27 04:33:10] local.INFO: Extracted packet for processing {"connection_id":143613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0a9"} 
[2026-07-27 04:33:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":0,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 04:33:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987286272001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:33:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:33:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:33:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:33:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785106888000,"timestamp_ms":1785106888000,"timestamp_seconds":1785106888,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0a97540"} 
[2026-07-27 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-07-27 04:33:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-27 04:33:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 04:33:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:33:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:33:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:33:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:33:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 04:33:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:33:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:33:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987286272001,"66":25397,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 04:33:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:33:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:33:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987286272001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:33:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 04:33:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:33:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:33:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:33:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987286272001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:33:10] local.INFO: DEBUG: GPS processor result {"connection_id":143613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:33:10] local.INFO: GPS data processed {"connection_id":143613,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:33:10] local.INFO: Acknowledgment sent {"connection_id":143613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:33:10] local.INFO: TCP Data received {"connection_id":142630,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 04:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142630,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 04:33:10] local.INFO: Processing buffer {"connection_id":142630,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 04:33:10] local.INFO: IMEI packet received {"connection_id":142630,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 04:33:10] local.INFO: IMEI acknowledgment sent {"connection_id":142630,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 04:33:33] local.INFO: TCP Data received {"connection_id":142631,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:33:33] local.INFO: Processing buffer {"connection_id":142631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:33:33] local.INFO: IMEI packet received {"connection_id":142631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 04:33:33] local.INFO: IMEI acknowledgment sent {"connection_id":142631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 04:33:38] local.INFO: TCP Data received {"connection_id":142631,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:33:38] local.INFO: Processing buffer {"connection_id":142631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:33:38] local.INFO: IMEI packet received {"connection_id":142631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 04:33:38] local.INFO: IMEI acknowledgment sent {"connection_id":142631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 04:33:39] local.INFO: TCP Data received {"connection_id":142631,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0a97540012d7f980005afd7c00000000629..."} 
[2026-07-27 04:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0a97540012d7f980005afd7c00000000629..."} 
[2026-07-27 04:33:39] local.INFO: Processing buffer {"connection_id":142631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0a97540012d7f980005afd7c00000000629..."} 
[2026-07-27 04:33:39] local.INFO: Packet analysis {"connection_id":142631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0a9"} 
[2026-07-27 04:33:39] local.INFO: Extracted packet for processing {"connection_id":142631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0a9"} 
[2026-07-27 04:33:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":0,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 04:33:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 04:33:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987286272001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:33:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:33:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:33:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:33:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785106888000,"timestamp_ms":1785106888000,"timestamp_seconds":1785106888,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0a97540"} 
[2026-07-27 04:33:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 04:33:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 04: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-27 04:33:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 04:33:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 04:33:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 04:33:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:33:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:33:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:33:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:33: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-07-27 04:33:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:33:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:33:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987286272001,"66":25397,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 04:33:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:33:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:33:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987286272001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:33:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 04:33:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:33:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:33:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:33:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987286272001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:33:39] local.INFO: DEBUG: GPS processor result {"connection_id":142631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:33:39] local.INFO: GPS data processed {"connection_id":142631,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:33:39] local.INFO: Acknowledgment sent {"connection_id":142631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:33:45] local.INFO: TCP Data received {"connection_id":144933,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 04:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144933,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 04:33:45] local.INFO: Processing buffer {"connection_id":144933,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 04:33:45] local.INFO: IMEI packet received {"connection_id":144933,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 04:33:45] local.INFO: IMEI acknowledgment sent {"connection_id":144933,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 04:34:10] local.INFO: TCP Data received {"connection_id":142631,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0a97540012d7f980005afd7c00000000629..."} 
[2026-07-27 04:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0a97540012d7f980005afd7c00000000629..."} 
[2026-07-27 04:34:10] local.INFO: Processing buffer {"connection_id":142631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0a97540012d7f980005afd7c00000000629..."} 
[2026-07-27 04:34:10] local.INFO: Packet analysis {"connection_id":142631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0a9"} 
[2026-07-27 04:34:10] local.INFO: Extracted packet for processing {"connection_id":142631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0a9"} 
[2026-07-27 04:34:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":0,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 04:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 04:34:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987286272001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:34:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:34:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:34:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:34:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785106888000,"timestamp_ms":1785106888000,"timestamp_seconds":1785106888,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0a97540"} 
[2026-07-27 04:34:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 04:34:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-27 04: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-07-27 04:34:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 04:34:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 04:34:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:34:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:34:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:34:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04: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-07-27 04:34:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:34:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:34:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987286272001,"66":25397,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 04:34:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:34:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:34:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987286272001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:34:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 04:34:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:34:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:34:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:34:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987286272001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:34:10] local.INFO: DEBUG: GPS processor result {"connection_id":142631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:34:10] local.INFO: GPS data processed {"connection_id":142631,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:34:10] local.INFO: Acknowledgment sent {"connection_id":142631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:34:33] local.INFO: TCP Data received {"connection_id":143614,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:34:33] local.INFO: Processing buffer {"connection_id":143614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:34:33] local.INFO: IMEI packet received {"connection_id":143614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 04:34:33] local.INFO: IMEI acknowledgment sent {"connection_id":143614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 04:34:38] local.INFO: TCP Data received {"connection_id":143614,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:34:38] local.INFO: Processing buffer {"connection_id":143614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:34:38] local.INFO: IMEI packet received {"connection_id":143614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 04:34:38] local.INFO: IMEI acknowledgment sent {"connection_id":143614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 04:34:39] local.INFO: TCP Data received {"connection_id":143614,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0a97540012d7f980005afd7c00000000629..."} 
[2026-07-27 04:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143614,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0a97540012d7f980005afd7c00000000629..."} 
[2026-07-27 04:34:39] local.INFO: Processing buffer {"connection_id":143614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0a97540012d7f980005afd7c00000000629..."} 
[2026-07-27 04:34:39] local.INFO: Packet analysis {"connection_id":143614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0a9"} 
[2026-07-27 04:34:39] local.INFO: Extracted packet for processing {"connection_id":143614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0a9"} 
[2026-07-27 04:34:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":0,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 04:34:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 04:34:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987286272001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:34:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:34:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:34:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:34:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785106888000,"timestamp_ms":1785106888000,"timestamp_seconds":1785106888,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0a97540"} 
[2026-07-27 04:34:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 04:34:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 04: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-27 04:34:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 04:34:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 04:34:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 04:34:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:34:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:34:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:34:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:34:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 04:34:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:34:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:34:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987286272001,"66":25397,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 04:34:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:34:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:34:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987286272001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:34:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 04:34:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:34:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:34:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:34:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987286272001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:34:39] local.INFO: DEBUG: GPS processor result {"connection_id":143614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:34:39] local.INFO: GPS data processed {"connection_id":143614,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:34:39] local.INFO: Acknowledgment sent {"connection_id":143614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:35:10] local.INFO: TCP Data received {"connection_id":143614,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0a97540012d7f980005afd7c00000000629..."} 
[2026-07-27 04:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143614,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0a97540012d7f980005afd7c00000000629..."} 
[2026-07-27 04:35:10] local.INFO: Processing buffer {"connection_id":143614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0a97540012d7f980005afd7c00000000629..."} 
[2026-07-27 04:35:10] local.INFO: Packet analysis {"connection_id":143614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0a9"} 
[2026-07-27 04:35:10] local.INFO: Extracted packet for processing {"connection_id":143614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0a9"} 
[2026-07-27 04:35:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":0,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 04:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 04:35:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987286272001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:35:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:35:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:35:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:35:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785106888000,"timestamp_ms":1785106888000,"timestamp_seconds":1785106888,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0a97540"} 
[2026-07-27 04:35:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 04:35:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-27 04: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-07-27 04:35:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 04:35:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 04:35:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:35:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:35:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:35:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:35:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 04:35:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:35:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:35:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987286272001,"66":25397,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 04:35:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:35:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:35:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987286272001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:35:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 04:35:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:35:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:35:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:35:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987286272001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:35:10] local.INFO: DEBUG: GPS processor result {"connection_id":143614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:35:10] local.INFO: GPS data processed {"connection_id":143614,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:35:10] local.INFO: Acknowledgment sent {"connection_id":143614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:35:33] local.INFO: TCP Data received {"connection_id":142551,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:35:33] local.INFO: Processing buffer {"connection_id":142551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:35:33] local.INFO: IMEI packet received {"connection_id":142551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 04:35:33] local.INFO: IMEI acknowledgment sent {"connection_id":142551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 04:35:38] local.INFO: TCP Data received {"connection_id":142551,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:35:38] local.INFO: Processing buffer {"connection_id":142551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:35:38] local.INFO: IMEI packet received {"connection_id":142551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 04:35:38] local.INFO: IMEI acknowledgment sent {"connection_id":142551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 04:35:39] local.INFO: TCP Data received {"connection_id":142551,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0a97540012d7f980005afd7c00000000629..."} 
[2026-07-27 04:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0a97540012d7f980005afd7c00000000629..."} 
[2026-07-27 04:35:39] local.INFO: Processing buffer {"connection_id":142551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0a97540012d7f980005afd7c00000000629..."} 
[2026-07-27 04:35:39] local.INFO: Packet analysis {"connection_id":142551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0a9"} 
[2026-07-27 04:35:39] local.INFO: Extracted packet for processing {"connection_id":142551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0a9"} 
[2026-07-27 04:35:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":0,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 04: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-07-27 04:35:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987286272001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:35:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:35:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:35:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:35:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785106888000,"timestamp_ms":1785106888000,"timestamp_seconds":1785106888,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0a97540"} 
[2026-07-27 04:35:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 04:35:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 04: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-27 04:35:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 04: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-07-27 04:35:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 04:35:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:35:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:35:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:35:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:35:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 04:35:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:35:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:35:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987286272001,"66":25397,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 04:35:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:35:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:35:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987286272001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:35:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 04:35:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:35:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:35:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:35:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987286272001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:35:39] local.INFO: DEBUG: GPS processor result {"connection_id":142551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:35:39] local.INFO: GPS data processed {"connection_id":142551,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:35:39] local.INFO: Acknowledgment sent {"connection_id":142551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:36:10] local.INFO: TCP Data received {"connection_id":142551,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0a97540012d7f980005afd7c00000000629..."} 
[2026-07-27 04:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0a97540012d7f980005afd7c00000000629..."} 
[2026-07-27 04:36:10] local.INFO: Processing buffer {"connection_id":142551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0a97540012d7f980005afd7c00000000629..."} 
[2026-07-27 04:36:10] local.INFO: Packet analysis {"connection_id":142551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0a9"} 
[2026-07-27 04:36:10] local.INFO: Extracted packet for processing {"connection_id":142551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0a9"} 
[2026-07-27 04:36:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":0,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 04:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 04:36:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987286272001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:36:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:36:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:36:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:36:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785106888000,"timestamp_ms":1785106888000,"timestamp_seconds":1785106888,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0a97540"} 
[2026-07-27 04:36:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 04:36:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-27 04:36:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 04:36:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 04:36:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 04:36:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:36:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:36:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:36:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:36:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 04:36:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:36:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:36:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987286272001,"66":25397,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 04:36:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:36:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:36:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987286272001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:36:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 04:36:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:36:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:36:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:36:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987286272001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:36:10] local.INFO: DEBUG: GPS processor result {"connection_id":142551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:36:10] local.INFO: GPS data processed {"connection_id":142551,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:36:10] local.INFO: Acknowledgment sent {"connection_id":142551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:36:33] local.INFO: TCP Data received {"connection_id":142632,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:36:33] local.INFO: Processing buffer {"connection_id":142632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:36:33] local.INFO: IMEI packet received {"connection_id":142632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 04:36:33] local.INFO: IMEI acknowledgment sent {"connection_id":142632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 04:36:38] local.INFO: TCP Data received {"connection_id":142632,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:36:38] local.INFO: Processing buffer {"connection_id":142632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:36:38] local.INFO: IMEI packet received {"connection_id":142632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 04:36:38] local.INFO: IMEI acknowledgment sent {"connection_id":142632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 04:36:39] local.INFO: TCP Data received {"connection_id":142632,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0a97540012d7f980005afd7c00000000629..."} 
[2026-07-27 04:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0a97540012d7f980005afd7c00000000629..."} 
[2026-07-27 04:36:39] local.INFO: Processing buffer {"connection_id":142632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0a97540012d7f980005afd7c00000000629..."} 
[2026-07-27 04:36:39] local.INFO: Packet analysis {"connection_id":142632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0a9"} 
[2026-07-27 04:36:39] local.INFO: Extracted packet for processing {"connection_id":142632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0a9"} 
[2026-07-27 04:36:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":0,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 04:36:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 04:36:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987286272001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:36:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:36:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:36:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:36:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785106888000,"timestamp_ms":1785106888000,"timestamp_seconds":1785106888,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0a97540"} 
[2026-07-27 04:36:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 04:36:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 04: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-27 04:36:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 04:36:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 04:36:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 04:36:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:36:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:36:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:36:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:36:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 04:36:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:36:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:36:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987286272001,"66":25397,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 04:36:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:36:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:36:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987286272001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:36:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 04:36:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:36:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:36:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:36:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987286272001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:36:39] local.INFO: DEBUG: GPS processor result {"connection_id":142632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:36:39] local.INFO: GPS data processed {"connection_id":142632,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:36:39] local.INFO: Acknowledgment sent {"connection_id":142632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:37:10] local.INFO: TCP Data received {"connection_id":142632,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0ae0d08012d7f980005afd7c0000b000629..."} 
[2026-07-27 04:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0ae0d08012d7f980005afd7c0000b000629..."} 
[2026-07-27 04:37:10] local.INFO: Processing buffer {"connection_id":142632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0ae0d08012d7f980005afd7c0000b000629..."} 
[2026-07-27 04:37:10] local.INFO: Packet analysis {"connection_id":142632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0ae"} 
[2026-07-27 04:37:10] local.INFO: Extracted packet for processing {"connection_id":142632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0ae"} 
[2026-07-27 04:37:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":11,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 04:37:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987363328001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:37:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:37:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:37:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:37:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785107189000,"timestamp_ms":1785107189000,"timestamp_seconds":1785107189,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0ae0d08"} 
[2026-07-27 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-07-27 04:37:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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-07-27 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-07-27 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-07-27 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-07-27 04:37:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:37:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:37:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:37:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:37:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 04:37:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:37:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:37:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987363328001,"66":25397,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 04:37:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:37:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:37:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987363328001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:37:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 04:37:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:37:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:37:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:37:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987363328001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:37:10] local.INFO: DEBUG: GPS processor result {"connection_id":142632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:37:10] local.INFO: GPS data processed {"connection_id":142632,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:37:10] local.INFO: Acknowledgment sent {"connection_id":142632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:37:38] local.INFO: TCP Data received {"connection_id":142633,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:37:38] local.INFO: Processing buffer {"connection_id":142633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:37:38] local.INFO: IMEI packet received {"connection_id":142633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 04:37:38] local.INFO: IMEI acknowledgment sent {"connection_id":142633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 04:37:43] local.INFO: TCP Data received {"connection_id":142633,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:37:43] local.INFO: Processing buffer {"connection_id":142633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:37:43] local.INFO: IMEI packet received {"connection_id":142633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 04:37:43] local.INFO: IMEI acknowledgment sent {"connection_id":142633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 04:37:44] local.INFO: TCP Data received {"connection_id":142633,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0ae0d08012d7f980005afd7c0000b000629..."} 
[2026-07-27 04:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142633,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0ae0d08012d7f980005afd7c0000b000629..."} 
[2026-07-27 04:37:44] local.INFO: Processing buffer {"connection_id":142633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0ae0d08012d7f980005afd7c0000b000629..."} 
[2026-07-27 04:37:44] local.INFO: Packet analysis {"connection_id":142633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0ae"} 
[2026-07-27 04:37:44] local.INFO: Extracted packet for processing {"connection_id":142633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0ae"} 
[2026-07-27 04:37:44] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":11,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 04:37:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 04:37:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987363328001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:37:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:37:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:37:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:37:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785107189000,"timestamp_ms":1785107189000,"timestamp_seconds":1785107189,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0ae0d08"} 
[2026-07-27 04:37:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 04:37:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 04:37: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-07-27 04:37: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-07-27 04:37:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 04:37:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 04:37:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:37:44] local.INFO: Teltonika packet parsed successfully {"connection_id":142633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:37:44] local.INFO: Passing IMEI to GPS processor {"connection_id":142633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:37:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":142633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:37:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 04:37:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:37:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:37:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987363328001,"66":25397,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 04:37:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:37:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:37:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987363328001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:37:44] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 04:37:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:37:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:37:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:37:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987363328001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:37:44] local.INFO: DEBUG: GPS processor result {"connection_id":142633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:37:44] local.INFO: GPS data processed {"connection_id":142633,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:37:44] local.INFO: Acknowledgment sent {"connection_id":142633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:38:15] local.INFO: TCP Data received {"connection_id":142633,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0ae0d08012d7f980005afd7c0000b000629..."} 
[2026-07-27 04:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142633,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0ae0d08012d7f980005afd7c0000b000629..."} 
[2026-07-27 04:38:15] local.INFO: Processing buffer {"connection_id":142633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0ae0d08012d7f980005afd7c0000b000629..."} 
[2026-07-27 04:38:15] local.INFO: Packet analysis {"connection_id":142633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0ae"} 
[2026-07-27 04:38:15] local.INFO: Extracted packet for processing {"connection_id":142633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0ae"} 
[2026-07-27 04:38:15] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":11,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 04:38:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 04:38:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987363328001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:38:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:38:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:38:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:38:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785107189000,"timestamp_ms":1785107189000,"timestamp_seconds":1785107189,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0ae0d08"} 
[2026-07-27 04:38:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 04:38:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 04:38:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 04:38: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-07-27 04:38:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 04:38:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 04:38:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:38:15] local.INFO: Teltonika packet parsed successfully {"connection_id":142633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:38:15] local.INFO: Passing IMEI to GPS processor {"connection_id":142633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:38:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":142633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:38:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 04:38:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:38:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:38:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987363328001,"66":25397,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 04:38:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:38:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:38:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987363328001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:38:15] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 04:38:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:38:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:38:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:38:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987363328001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:38:15] local.INFO: DEBUG: GPS processor result {"connection_id":142633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:38:15] local.INFO: GPS data processed {"connection_id":142633,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:38:15] local.INFO: Acknowledgment sent {"connection_id":142633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:38:33] local.INFO: TCP Data received {"connection_id":144935,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:38:33] local.INFO: Processing buffer {"connection_id":144935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:38:33] local.INFO: IMEI packet received {"connection_id":144935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 04:38:33] local.INFO: IMEI acknowledgment sent {"connection_id":144935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 04:38:38] local.INFO: TCP Data received {"connection_id":144935,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:38:38] local.INFO: Processing buffer {"connection_id":144935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:38:38] local.INFO: IMEI packet received {"connection_id":144935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 04:38:38] local.INFO: IMEI acknowledgment sent {"connection_id":144935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 04:38:39] local.INFO: TCP Data received {"connection_id":144935,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0ae0d08012d7f980005afd7c0000b000629..."} 
[2026-07-27 04:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0ae0d08012d7f980005afd7c0000b000629..."} 
[2026-07-27 04:38:39] local.INFO: Processing buffer {"connection_id":144935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0ae0d08012d7f980005afd7c0000b000629..."} 
[2026-07-27 04:38:39] local.INFO: Packet analysis {"connection_id":144935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0ae"} 
[2026-07-27 04:38:39] local.INFO: Extracted packet for processing {"connection_id":144935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0ae"} 
[2026-07-27 04:38:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":11,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 04:38:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 04:38:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987363328001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:38:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:38:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:38:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:38:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785107189000,"timestamp_ms":1785107189000,"timestamp_seconds":1785107189,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0ae0d08"} 
[2026-07-27 04:38:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 04:38:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 04: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":53,"data_length":795,"current_offset":136} 
[2026-07-27 04:38: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-07-27 04:38:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 04:38:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 04:38:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:38:39] local.INFO: Teltonika packet parsed successfully {"connection_id":144935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:38:39] local.INFO: Passing IMEI to GPS processor {"connection_id":144935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:38:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":144935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:38:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 04:38:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:38:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:38:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987363328001,"66":25397,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 04:38:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:38:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:38:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987363328001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:38:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 04:38:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:38:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:38:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:38:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987363328001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:38:39] local.INFO: DEBUG: GPS processor result {"connection_id":144935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:38:39] local.INFO: GPS data processed {"connection_id":144935,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:38:39] local.INFO: Acknowledgment sent {"connection_id":144935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:39:10] local.INFO: TCP Data received {"connection_id":144935,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0ae0d08012d7f980005afd7c0000b000629..."} 
[2026-07-27 04:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0ae0d08012d7f980005afd7c0000b000629..."} 
[2026-07-27 04:39:10] local.INFO: Processing buffer {"connection_id":144935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0ae0d08012d7f980005afd7c0000b000629..."} 
[2026-07-27 04:39:10] local.INFO: Packet analysis {"connection_id":144935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0ae"} 
[2026-07-27 04:39:10] local.INFO: Extracted packet for processing {"connection_id":144935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0ae"} 
[2026-07-27 04:39:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":11,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 04:39:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 04:39:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987363328001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:39:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:39:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:39:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:39:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785107189000,"timestamp_ms":1785107189000,"timestamp_seconds":1785107189,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0ae0d08"} 
[2026-07-27 04:39:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 04:39:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 04: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-07-27 04: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-07-27 04:39:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 04:39:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 04:39:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:39:10] local.INFO: Teltonika packet parsed successfully {"connection_id":144935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:39:10] local.INFO: Passing IMEI to GPS processor {"connection_id":144935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:39:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":144935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:39:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 04:39:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:39:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:39:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987363328001,"66":25397,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 04:39:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:39:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:39:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987363328001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:39:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 04:39:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:39:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:39:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:39:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987363328001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:39:10] local.INFO: DEBUG: GPS processor result {"connection_id":144935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:39:10] local.INFO: GPS data processed {"connection_id":144935,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:39:10] local.INFO: Acknowledgment sent {"connection_id":144935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:39:33] local.INFO: TCP Data received {"connection_id":142635,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:39:33] local.INFO: Processing buffer {"connection_id":142635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:39:33] local.INFO: IMEI packet received {"connection_id":142635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 04:39:33] local.INFO: IMEI acknowledgment sent {"connection_id":142635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 04:39:38] local.INFO: TCP Data received {"connection_id":142635,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:39:38] local.INFO: Processing buffer {"connection_id":142635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:39:38] local.INFO: IMEI packet received {"connection_id":142635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 04:39:38] local.INFO: IMEI acknowledgment sent {"connection_id":142635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 04:39:39] local.INFO: TCP Data received {"connection_id":142635,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0ae0d08012d7f980005afd7c0000b000629..."} 
[2026-07-27 04:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0ae0d08012d7f980005afd7c0000b000629..."} 
[2026-07-27 04:39:39] local.INFO: Processing buffer {"connection_id":142635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0ae0d08012d7f980005afd7c0000b000629..."} 
[2026-07-27 04:39:39] local.INFO: Packet analysis {"connection_id":142635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0ae"} 
[2026-07-27 04:39:39] local.INFO: Extracted packet for processing {"connection_id":142635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0ae"} 
[2026-07-27 04:39:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":11,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 04:39:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 04:39:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987363328001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:39:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:39:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:39:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:39:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785107189000,"timestamp_ms":1785107189000,"timestamp_seconds":1785107189,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0ae0d08"} 
[2026-07-27 04:39:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 04:39:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 04:39:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 04: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-07-27 04:39:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 04:39:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 04:39:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:39:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:39:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:39:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04: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-07-27 04:39:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:39:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:39:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987363328001,"66":25397,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 04:39:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:39:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:39:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987363328001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:39:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 04:39:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:39:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:39:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:39:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987363328001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:39:39] local.INFO: DEBUG: GPS processor result {"connection_id":142635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:39:39] local.INFO: GPS data processed {"connection_id":142635,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:39:39] local.INFO: Acknowledgment sent {"connection_id":142635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:39:45] local.INFO: TCP Data received {"connection_id":143615,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 04:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143615,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 04:39:45] local.INFO: Processing buffer {"connection_id":143615,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 04:39:45] local.INFO: IMEI packet received {"connection_id":143615,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 04:39:45] local.INFO: IMEI acknowledgment sent {"connection_id":143615,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 04:39:50] local.INFO: TCP Data received {"connection_id":143615,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 04:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143615,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 04:39:50] local.INFO: Processing buffer {"connection_id":143615,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 04:39:50] local.INFO: IMEI packet received {"connection_id":143615,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-27 04:39:50] local.INFO: IMEI acknowledgment sent {"connection_id":143615,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 04:39:51] local.INFO: TCP Data received {"connection_id":143615,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0802af0012d34cc0006aa51c8000b00002c..."} 
[2026-07-27 04:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0802af0012d34cc0006aa51c8000b00002c..."} 
[2026-07-27 04:39:51] local.INFO: Processing buffer {"connection_id":143615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0802af0012d34cc0006aa51c8000b00002c..."} 
[2026-07-27 04:39:51] local.INFO: Packet analysis {"connection_id":143615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa080"} 
[2026-07-27 04:39:51] local.INFO: Extracted packet for processing {"connection_id":143615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa080"} 
[2026-07-27 04:39:51] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111825352,"longitude_deg":75.8434816,"latitude_deg":11.1825352,"altitude":11,"angle":0,"satellites":44,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa51c8","is_valid_coordinates":true} 
[2026-07-27 04:39:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 04:39:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456986593536001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:39:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":871204051222528,"note":"Value kept but may cause issues"} 
[2026-07-27 04:39:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813848516608,"note":"Value kept but may cause issues"} 
[2026-07-27 04:39:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:39:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785104182000,"timestamp_ms":1785104182000,"timestamp_seconds":1785104182,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0802af0"} 
[2026-07-27 04:39:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 04:39:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 04:39:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 04:39:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 04:39:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 04:39:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 04:39:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:39:51] local.INFO: Teltonika packet parsed successfully {"connection_id":143615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:39:51] local.INFO: Passing IMEI to GPS processor {"connection_id":143615,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-27 04:39:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":143615,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-27 04:39:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 04:39:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-27 04:39:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-27 04:39:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456986593536001,"66":25375,"32":206,"81":23296,"24":0,"16":871204051222528,"45":3804415813848516608},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-27 04:39:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-27 04:39:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-27 04:39:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456986593536001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:39:51] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-27 04:39:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-27 04:39:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":871204051222528,"km_value":871204051222.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:39:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813848516608,"description":"Unknown IO ID 45"} 
[2026-07-27 04:39:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456986593536001,"power":25375,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813848516608}} 
[2026-07-27 04:39:52] local.INFO: DEBUG: GPS processor result {"connection_id":143615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551368,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:39:52] local.INFO: GPS data processed {"connection_id":143615,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:39:52] local.INFO: Acknowledgment sent {"connection_id":143615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:40:10] local.INFO: TCP Data received {"connection_id":142635,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0ae0d08012d7f980005afd7c0000b000629..."} 
[2026-07-27 04:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0ae0d08012d7f980005afd7c0000b000629..."} 
[2026-07-27 04:40:10] local.INFO: Processing buffer {"connection_id":142635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0ae0d08012d7f980005afd7c0000b000629..."} 
[2026-07-27 04:40:10] local.INFO: Packet analysis {"connection_id":142635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0ae"} 
[2026-07-27 04:40:10] local.INFO: Extracted packet for processing {"connection_id":142635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0ae"} 
[2026-07-27 04:40:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":11,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 04:40:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987363328001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:40:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:40:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:40:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:40:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785107189000,"timestamp_ms":1785107189000,"timestamp_seconds":1785107189,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0ae0d08"} 
[2026-07-27 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-07-27 04:40:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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-07-27 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-07-27 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-07-27 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-07-27 04:40:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:40:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:40:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:40:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:40:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 04:40:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:40:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:40:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987363328001,"66":25397,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 04:40:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:40:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:40:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987363328001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:40:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 04:40:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:40:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:40:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:40:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987363328001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:40:10] local.INFO: DEBUG: GPS processor result {"connection_id":142635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:40:10] local.INFO: GPS data processed {"connection_id":142635,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:40:10] local.INFO: Acknowledgment sent {"connection_id":142635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:40:33] local.INFO: TCP Data received {"connection_id":142554,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:40:33] local.INFO: Processing buffer {"connection_id":142554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:40:33] local.INFO: IMEI packet received {"connection_id":142554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 04:40:33] local.INFO: IMEI acknowledgment sent {"connection_id":142554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 04:40:35] local.INFO: TCP Data received {"connection_id":143616,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 04:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143616,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 04:40:35] local.INFO: Processing buffer {"connection_id":143616,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 04:40:35] local.INFO: IMEI packet received {"connection_id":143616,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 04:40:35] local.INFO: IMEI acknowledgment sent {"connection_id":143616,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 04:40:38] local.INFO: TCP Data received {"connection_id":142554,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:40:38] local.INFO: Processing buffer {"connection_id":142554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:40:38] local.INFO: IMEI packet received {"connection_id":142554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 04:40:38] local.INFO: IMEI acknowledgment sent {"connection_id":142554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 04:40:39] local.INFO: TCP Data received {"connection_id":142554,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0ae0d08012d7f980005afd7c0000b000629..."} 
[2026-07-27 04:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0ae0d08012d7f980005afd7c0000b000629..."} 
[2026-07-27 04:40:39] local.INFO: Processing buffer {"connection_id":142554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0ae0d08012d7f980005afd7c0000b000629..."} 
[2026-07-27 04:40:39] local.INFO: Packet analysis {"connection_id":142554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0ae"} 
[2026-07-27 04:40:39] local.INFO: Extracted packet for processing {"connection_id":142554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0ae"} 
[2026-07-27 04:40:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":11,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 04:40:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 04:40:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987363328001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:40:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:40:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:40:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:40:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785107189000,"timestamp_ms":1785107189000,"timestamp_seconds":1785107189,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0ae0d08"} 
[2026-07-27 04:40:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 04:40:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 04: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-07-27 04: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-07-27 04:40:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 04:40:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 04:40:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:40:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:40:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:40:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:40:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 04:40:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:40:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:40:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987363328001,"66":25397,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 04:40:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:40:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:40:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987363328001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:40:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 04:40:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:40:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:40:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:40:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987363328001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:40:39] local.INFO: DEBUG: GPS processor result {"connection_id":142554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:40:39] local.INFO: GPS data processed {"connection_id":142554,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:40:39] local.INFO: Acknowledgment sent {"connection_id":142554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:41:10] local.INFO: TCP Data received {"connection_id":142554,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0ae0d08012d7f980005afd7c0000b000629..."} 
[2026-07-27 04:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0ae0d08012d7f980005afd7c0000b000629..."} 
[2026-07-27 04:41:10] local.INFO: Processing buffer {"connection_id":142554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0ae0d08012d7f980005afd7c0000b000629..."} 
[2026-07-27 04:41:10] local.INFO: Packet analysis {"connection_id":142554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0ae"} 
[2026-07-27 04:41:10] local.INFO: Extracted packet for processing {"connection_id":142554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0ae"} 
[2026-07-27 04:41:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":11,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 04:41:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 04:41:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987363328001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:41:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:41:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:41:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:41:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785107189000,"timestamp_ms":1785107189000,"timestamp_seconds":1785107189,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0ae0d08"} 
[2026-07-27 04:41:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 04:41:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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-07-27 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-07-27 04:41:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 04:41:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 04:41:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:41:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:41:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:41:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:41:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 04:41:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:41:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:41:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987363328001,"66":25397,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 04:41:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:41:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:41:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987363328001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:41:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 04:41:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:41:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:41:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:41:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987363328001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:41:10] local.INFO: DEBUG: GPS processor result {"connection_id":142554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:41:10] local.INFO: GPS data processed {"connection_id":142554,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:41:10] local.INFO: Acknowledgment sent {"connection_id":142554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:41:33] local.INFO: TCP Data received {"connection_id":142636,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:41:33] local.INFO: Processing buffer {"connection_id":142636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:41:33] local.INFO: IMEI packet received {"connection_id":142636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 04:41:33] local.INFO: IMEI acknowledgment sent {"connection_id":142636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 04:41:38] local.INFO: TCP Data received {"connection_id":142636,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:41:38] local.INFO: Processing buffer {"connection_id":142636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:41:38] local.INFO: IMEI packet received {"connection_id":142636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 04:41:38] local.INFO: IMEI acknowledgment sent {"connection_id":142636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 04:41:39] local.INFO: TCP Data received {"connection_id":142636,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0ae0d08012d7f980005afd7c0000b000629..."} 
[2026-07-27 04:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0ae0d08012d7f980005afd7c0000b000629..."} 
[2026-07-27 04:41:39] local.INFO: Processing buffer {"connection_id":142636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0ae0d08012d7f980005afd7c0000b000629..."} 
[2026-07-27 04:41:39] local.INFO: Packet analysis {"connection_id":142636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0ae"} 
[2026-07-27 04:41:39] local.INFO: Extracted packet for processing {"connection_id":142636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0ae"} 
[2026-07-27 04:41:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":11,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 04: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-07-27 04:41:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987363328001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:41:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:41:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:41:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:41:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785107189000,"timestamp_ms":1785107189000,"timestamp_seconds":1785107189,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0ae0d08"} 
[2026-07-27 04:41:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 04:41:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 04: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":53,"data_length":795,"current_offset":136} 
[2026-07-27 04:41: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-07-27 04: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-07-27 04:41:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 04:41:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:41:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:41:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:41:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:41:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 04:41:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:41:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:41:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987363328001,"66":25397,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 04:41:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:41:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:41:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987363328001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:41:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 04:41:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:41:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:41:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:41:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987363328001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:41:39] local.INFO: DEBUG: GPS processor result {"connection_id":142636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:41:39] local.INFO: GPS data processed {"connection_id":142636,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:41:39] local.INFO: Acknowledgment sent {"connection_id":142636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:42:10] local.INFO: TCP Data received {"connection_id":142636,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0b2a4d0012d7f980005afd7c0000b00062a..."} 
[2026-07-27 04:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0b2a4d0012d7f980005afd7c0000b00062a..."} 
[2026-07-27 04:42:10] local.INFO: Processing buffer {"connection_id":142636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0b2a4d0012d7f980005afd7c0000b00062a..."} 
[2026-07-27 04:42:10] local.INFO: Packet analysis {"connection_id":142636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0b2"} 
[2026-07-27 04:42:10] local.INFO: Extracted packet for processing {"connection_id":142636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0b2"} 
[2026-07-27 04:42:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":11,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 04:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 04:42:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987440384001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:42:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:42:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:42:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:42:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785107490000,"timestamp_ms":1785107490000,"timestamp_seconds":1785107490,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0b2a4d0"} 
[2026-07-27 04:42:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 04:42:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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-07-27 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-07-27 04:42:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 04:42:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 04:42:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:42:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:42:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:42:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:42:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 04:42:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:42:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:42:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987440384001,"66":25419,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 04:42:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:42:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:42:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987440384001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:42:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 04:42:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:42:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:42:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:42:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987440384001,"power":25419,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:42:10] local.INFO: DEBUG: GPS processor result {"connection_id":142636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:42:10] local.INFO: GPS data processed {"connection_id":142636,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:42:10] local.INFO: Acknowledgment sent {"connection_id":142636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:42:38] local.INFO: TCP Data received {"connection_id":143617,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:42:38] local.INFO: Processing buffer {"connection_id":143617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:42:38] local.INFO: IMEI packet received {"connection_id":143617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 04:42:38] local.INFO: IMEI acknowledgment sent {"connection_id":143617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 04:42:43] local.INFO: TCP Data received {"connection_id":143617,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:42:43] local.INFO: Processing buffer {"connection_id":143617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:42:43] local.INFO: IMEI packet received {"connection_id":143617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 04:42:43] local.INFO: IMEI acknowledgment sent {"connection_id":143617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 04:42:44] local.INFO: TCP Data received {"connection_id":143617,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0b2a4d0012d7f980005afd7c0000b00062a..."} 
[2026-07-27 04:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0b2a4d0012d7f980005afd7c0000b00062a..."} 
[2026-07-27 04:42:44] local.INFO: Processing buffer {"connection_id":143617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0b2a4d0012d7f980005afd7c0000b00062a..."} 
[2026-07-27 04:42:44] local.INFO: Packet analysis {"connection_id":143617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0b2"} 
[2026-07-27 04:42:44] local.INFO: Extracted packet for processing {"connection_id":143617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0b2"} 
[2026-07-27 04:42:44] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":11,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 04:42:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 04:42:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987440384001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:42:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:42:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:42:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:42:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785107490000,"timestamp_ms":1785107490000,"timestamp_seconds":1785107490,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0b2a4d0"} 
[2026-07-27 04:42:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 04:42:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 04:42: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-07-27 04:42: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-07-27 04:42:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 04:42:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 04:42:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:42:44] local.INFO: Teltonika packet parsed successfully {"connection_id":143617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:42:44] local.INFO: Passing IMEI to GPS processor {"connection_id":143617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:42:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":143617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:42:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 04:42:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:42:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:42:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987440384001,"66":25419,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 04:42:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:42:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:42:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987440384001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:42:44] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 04:42:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:42:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:42:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:42:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987440384001,"power":25419,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:42:44] local.INFO: DEBUG: GPS processor result {"connection_id":143617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:42:44] local.INFO: GPS data processed {"connection_id":143617,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:42:44] local.INFO: Acknowledgment sent {"connection_id":143617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:43:15] local.INFO: TCP Data received {"connection_id":143617,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0b2a4d0012d7f980005afd7c0000b00062a..."} 
[2026-07-27 04:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0b2a4d0012d7f980005afd7c0000b00062a..."} 
[2026-07-27 04:43:15] local.INFO: Processing buffer {"connection_id":143617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0b2a4d0012d7f980005afd7c0000b00062a..."} 
[2026-07-27 04:43:15] local.INFO: Packet analysis {"connection_id":143617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0b2"} 
[2026-07-27 04:43:15] local.INFO: Extracted packet for processing {"connection_id":143617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0b2"} 
[2026-07-27 04:43:15] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":11,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 04:43:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987440384001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:43:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:43:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:43:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:43:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785107490000,"timestamp_ms":1785107490000,"timestamp_seconds":1785107490,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0b2a4d0"} 
[2026-07-27 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-07-27 04:43:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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-07-27 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-07-27 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-07-27 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-07-27 04:43:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:43:15] local.INFO: Teltonika packet parsed successfully {"connection_id":143617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:43:15] local.INFO: Passing IMEI to GPS processor {"connection_id":143617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:43:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":143617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 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-07-27 04:43:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:43:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:43:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987440384001,"66":25419,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 04:43:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:43:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:43:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987440384001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:43:15] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 04:43:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:43:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:43:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:43:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987440384001,"power":25419,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:43:15] local.INFO: DEBUG: GPS processor result {"connection_id":143617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:43:15] local.INFO: GPS data processed {"connection_id":143617,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:43:15] local.INFO: Acknowledgment sent {"connection_id":143617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:43:33] local.INFO: TCP Data received {"connection_id":144936,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:43:33] local.INFO: Processing buffer {"connection_id":144936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:43:33] local.INFO: IMEI packet received {"connection_id":144936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 04:43:33] local.INFO: IMEI acknowledgment sent {"connection_id":144936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 04:43:38] local.INFO: TCP Data received {"connection_id":144936,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:43:38] local.INFO: Processing buffer {"connection_id":144936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:43:38] local.INFO: IMEI packet received {"connection_id":144936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 04:43:38] local.INFO: IMEI acknowledgment sent {"connection_id":144936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 04:43:39] local.INFO: TCP Data received {"connection_id":144936,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0b2a4d0012d7f980005afd7c0000b00062a..."} 
[2026-07-27 04:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0b2a4d0012d7f980005afd7c0000b00062a..."} 
[2026-07-27 04:43:39] local.INFO: Processing buffer {"connection_id":144936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0b2a4d0012d7f980005afd7c0000b00062a..."} 
[2026-07-27 04:43:39] local.INFO: Packet analysis {"connection_id":144936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0b2"} 
[2026-07-27 04:43:39] local.INFO: Extracted packet for processing {"connection_id":144936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0b2"} 
[2026-07-27 04:43:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":11,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 04: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-07-27 04:43:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987440384001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:43:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:43:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:43:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:43:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785107490000,"timestamp_ms":1785107490000,"timestamp_seconds":1785107490,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0b2a4d0"} 
[2026-07-27 04:43:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 04:43:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 04: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":53,"data_length":795,"current_offset":136} 
[2026-07-27 04:43: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-07-27 04: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-07-27 04:43:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 04:43:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:43:39] local.INFO: Teltonika packet parsed successfully {"connection_id":144936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:43:39] local.INFO: Passing IMEI to GPS processor {"connection_id":144936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:43:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":144936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:43:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 04:43:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:43:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:43:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987440384001,"66":25419,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 04:43:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:43:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:43:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987440384001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:43:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 04:43:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:43:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:43:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:43:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987440384001,"power":25419,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:43:39] local.INFO: DEBUG: GPS processor result {"connection_id":144936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:43:39] local.INFO: GPS data processed {"connection_id":144936,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:43:39] local.INFO: Acknowledgment sent {"connection_id":144936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:44:10] local.INFO: TCP Data received {"connection_id":144936,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0b2a4d0012d7f980005afd7c0000b00062a..."} 
[2026-07-27 04:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0b2a4d0012d7f980005afd7c0000b00062a..."} 
[2026-07-27 04:44:10] local.INFO: Processing buffer {"connection_id":144936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0b2a4d0012d7f980005afd7c0000b00062a..."} 
[2026-07-27 04:44:10] local.INFO: Packet analysis {"connection_id":144936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0b2"} 
[2026-07-27 04:44:10] local.INFO: Extracted packet for processing {"connection_id":144936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0b2"} 
[2026-07-27 04:44:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":11,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 04:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 04:44:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987440384001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:44:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:44:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:44:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:44:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785107490000,"timestamp_ms":1785107490000,"timestamp_seconds":1785107490,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0b2a4d0"} 
[2026-07-27 04:44:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 04:44:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 04: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-07-27 04: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-07-27 04:44:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 04:44:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 04:44:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:44:10] local.INFO: Teltonika packet parsed successfully {"connection_id":144936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:44:10] local.INFO: Passing IMEI to GPS processor {"connection_id":144936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:44:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":144936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:44:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 04:44:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:44:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:44:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987440384001,"66":25419,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 04:44:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:44:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:44:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987440384001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:44:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 04:44:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:44:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:44:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:44:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987440384001,"power":25419,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:44:10] local.INFO: DEBUG: GPS processor result {"connection_id":144936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:44:10] local.INFO: GPS data processed {"connection_id":144936,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:44:10] local.INFO: Acknowledgment sent {"connection_id":144936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:44:33] local.INFO: TCP Data received {"connection_id":143619,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:44:33] local.INFO: Processing buffer {"connection_id":143619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:44:33] local.INFO: IMEI packet received {"connection_id":143619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 04:44:33] local.INFO: IMEI acknowledgment sent {"connection_id":143619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 04:44:38] local.INFO: TCP Data received {"connection_id":143619,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:44:38] local.INFO: Processing buffer {"connection_id":143619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:44:38] local.INFO: IMEI packet received {"connection_id":143619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 04:44:38] local.INFO: IMEI acknowledgment sent {"connection_id":143619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 04:44:39] local.INFO: TCP Data received {"connection_id":143619,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0b2a4d0012d7f980005afd7c0000b00062a..."} 
[2026-07-27 04:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0b2a4d0012d7f980005afd7c0000b00062a..."} 
[2026-07-27 04:44:39] local.INFO: Processing buffer {"connection_id":143619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0b2a4d0012d7f980005afd7c0000b00062a..."} 
[2026-07-27 04:44:39] local.INFO: Packet analysis {"connection_id":143619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0b2"} 
[2026-07-27 04:44:39] local.INFO: Extracted packet for processing {"connection_id":143619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0b2"} 
[2026-07-27 04:44:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":11,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 04:44:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 04:44:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987440384001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:44:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:44:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:44:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:44:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785107490000,"timestamp_ms":1785107490000,"timestamp_seconds":1785107490,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0b2a4d0"} 
[2026-07-27 04:44:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 04:44:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 04:44:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 04:44: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-07-27 04:44:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 04:44:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 04:44:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:44:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:44:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:44:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:44:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 04:44:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:44:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:44:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987440384001,"66":25419,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 04:44:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:44:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:44:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987440384001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:44:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 04:44:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:44:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:44:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:44:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987440384001,"power":25419,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:44:39] local.INFO: DEBUG: GPS processor result {"connection_id":143619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:44:39] local.INFO: GPS data processed {"connection_id":143619,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:44:39] local.INFO: Acknowledgment sent {"connection_id":143619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:45:10] local.INFO: TCP Data received {"connection_id":143619,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0b2a4d0012d7f980005afd7c0000b00062a..."} 
[2026-07-27 04:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0b2a4d0012d7f980005afd7c0000b00062a..."} 
[2026-07-27 04:45:10] local.INFO: Processing buffer {"connection_id":143619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0b2a4d0012d7f980005afd7c0000b00062a..."} 
[2026-07-27 04:45:10] local.INFO: Packet analysis {"connection_id":143619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0b2"} 
[2026-07-27 04:45:10] local.INFO: Extracted packet for processing {"connection_id":143619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0b2"} 
[2026-07-27 04:45:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":11,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 04:45:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 04:45:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987440384001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:45:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:45:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:45:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:45:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785107490000,"timestamp_ms":1785107490000,"timestamp_seconds":1785107490,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0b2a4d0"} 
[2026-07-27 04:45:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 04:45:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 04:45:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 04:45:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 04:45:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 04:45:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 04:45:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:45:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:45:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:45:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:45:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 04:45:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:45:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:45:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987440384001,"66":25419,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 04:45:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:45:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:45:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987440384001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:45:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 04:45:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:45:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:45:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:45:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987440384001,"power":25419,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:45:10] local.INFO: DEBUG: GPS processor result {"connection_id":143619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:45:10] local.INFO: GPS data processed {"connection_id":143619,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:45:10] local.INFO: Acknowledgment sent {"connection_id":143619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:45:33] local.INFO: TCP Data received {"connection_id":142639,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:45:33] local.INFO: Processing buffer {"connection_id":142639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:45:33] local.INFO: IMEI packet received {"connection_id":142639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 04:45:33] local.INFO: IMEI acknowledgment sent {"connection_id":142639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 04:45:38] local.INFO: TCP Data received {"connection_id":142639,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:45:38] local.INFO: Processing buffer {"connection_id":142639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:45:38] local.INFO: IMEI packet received {"connection_id":142639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 04:45:38] local.INFO: IMEI acknowledgment sent {"connection_id":142639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 04:45:39] local.INFO: TCP Data received {"connection_id":142639,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0b2a4d0012d7f980005afd7c0000b00062a..."} 
[2026-07-27 04:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0b2a4d0012d7f980005afd7c0000b00062a..."} 
[2026-07-27 04:45:39] local.INFO: Processing buffer {"connection_id":142639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0b2a4d0012d7f980005afd7c0000b00062a..."} 
[2026-07-27 04:45:39] local.INFO: Packet analysis {"connection_id":142639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0b2"} 
[2026-07-27 04:45:39] local.INFO: Extracted packet for processing {"connection_id":142639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0b2"} 
[2026-07-27 04:45:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":11,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 04:45:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 04:45:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987440384001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:45:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:45:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:45:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:45:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785107490000,"timestamp_ms":1785107490000,"timestamp_seconds":1785107490,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0b2a4d0"} 
[2026-07-27 04:45:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 04:45:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 04: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-07-27 04: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-07-27 04:45:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 04:45:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 04:45:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:45:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:45:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:45:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:45:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 04:45:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:45:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:45:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987440384001,"66":25419,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 04:45:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:45:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:45:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987440384001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:45:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 04:45:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:45:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:45:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:45:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987440384001,"power":25419,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:45:39] local.INFO: DEBUG: GPS processor result {"connection_id":142639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:45:39] local.INFO: GPS data processed {"connection_id":142639,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:45:39] local.INFO: Acknowledgment sent {"connection_id":142639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:46:05] local.INFO: TCP Data received {"connection_id":144938,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 04:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144938,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 04:46:05] local.INFO: Processing buffer {"connection_id":144938,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 04:46:05] local.INFO: IMEI packet received {"connection_id":144938,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 04:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":144938,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 04:46:10] local.INFO: TCP Data received {"connection_id":142639,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0b2a4d0012d7f980005afd7c0000b00062a..."} 
[2026-07-27 04:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0b2a4d0012d7f980005afd7c0000b00062a..."} 
[2026-07-27 04:46:10] local.INFO: Processing buffer {"connection_id":142639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0b2a4d0012d7f980005afd7c0000b00062a..."} 
[2026-07-27 04:46:10] local.INFO: Packet analysis {"connection_id":142639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0b2"} 
[2026-07-27 04:46:10] local.INFO: Extracted packet for processing {"connection_id":142639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0b2"} 
[2026-07-27 04:46:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":11,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 04:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 04:46:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987440384001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:46:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:46:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:46:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:46:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785107490000,"timestamp_ms":1785107490000,"timestamp_seconds":1785107490,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0b2a4d0"} 
[2026-07-27 04:46:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 04:46:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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-07-27 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-07-27 04:46:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 04:46:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 04:46:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:46:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:46:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:46:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:46:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 04:46:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:46:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:46:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987440384001,"66":25419,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 04:46:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:46:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:46:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987440384001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:46:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 04:46:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:46:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:46:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:46:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987440384001,"power":25419,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:46:10] local.INFO: DEBUG: GPS processor result {"connection_id":142639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:46:10] local.INFO: GPS data processed {"connection_id":142639,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:46:10] local.INFO: Acknowledgment sent {"connection_id":142639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:46:33] local.INFO: TCP Data received {"connection_id":144939,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:46:33] local.INFO: Processing buffer {"connection_id":144939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:46:33] local.INFO: IMEI packet received {"connection_id":144939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 04:46:33] local.INFO: IMEI acknowledgment sent {"connection_id":144939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 04:46:38] local.INFO: TCP Data received {"connection_id":144939,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:46:38] local.INFO: Processing buffer {"connection_id":144939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:46:38] local.INFO: IMEI packet received {"connection_id":144939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 04:46:38] local.INFO: IMEI acknowledgment sent {"connection_id":144939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 04:46:39] local.INFO: TCP Data received {"connection_id":144939,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0b2a4d0012d7f980005afd7c0000b00062a..."} 
[2026-07-27 04:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0b2a4d0012d7f980005afd7c0000b00062a..."} 
[2026-07-27 04:46:39] local.INFO: Processing buffer {"connection_id":144939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0b2a4d0012d7f980005afd7c0000b00062a..."} 
[2026-07-27 04:46:39] local.INFO: Packet analysis {"connection_id":144939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0b2"} 
[2026-07-27 04:46:39] local.INFO: Extracted packet for processing {"connection_id":144939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0b2"} 
[2026-07-27 04:46:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":11,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 04:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 04:46:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987440384001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:46:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:46:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:46:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:46:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785107490000,"timestamp_ms":1785107490000,"timestamp_seconds":1785107490,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0b2a4d0"} 
[2026-07-27 04:46:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 04:46:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 04: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-07-27 04: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-07-27 04:46:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 04:46:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 04:46:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:46:39] local.INFO: Teltonika packet parsed successfully {"connection_id":144939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:46:39] local.INFO: Passing IMEI to GPS processor {"connection_id":144939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:46:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":144939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:46:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 04:46:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:46:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:46:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987440384001,"66":25419,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 04:46:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:46:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:46:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987440384001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:46:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 04:46:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:46:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:46:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:46:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987440384001,"power":25419,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:46:39] local.INFO: DEBUG: GPS processor result {"connection_id":144939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:46:39] local.INFO: GPS data processed {"connection_id":144939,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:46:39] local.INFO: Acknowledgment sent {"connection_id":144939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:46:45] local.INFO: TCP Data received {"connection_id":143620,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 04:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143620,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 04:46:45] local.INFO: Processing buffer {"connection_id":143620,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 04:46:45] local.INFO: IMEI packet received {"connection_id":143620,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 04:46:45] local.INFO: IMEI acknowledgment sent {"connection_id":143620,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 04:47:10] local.INFO: TCP Data received {"connection_id":144939,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0b73c98012d7f980005afd7c0000b00062b..."} 
[2026-07-27 04:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0b73c98012d7f980005afd7c0000b00062b..."} 
[2026-07-27 04:47:10] local.INFO: Processing buffer {"connection_id":144939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0b73c98012d7f980005afd7c0000b00062b..."} 
[2026-07-27 04:47:10] local.INFO: Packet analysis {"connection_id":144939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0b7"} 
[2026-07-27 04:47:10] local.INFO: Extracted packet for processing {"connection_id":144939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0b7"} 
[2026-07-27 04:47:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":11,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 04:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 04:47:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987517440001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:47:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:47:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:47:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:47:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785107791000,"timestamp_ms":1785107791000,"timestamp_seconds":1785107791,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0b73c98"} 
[2026-07-27 04:47:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 04:47:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 04:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-27 04:47: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-07-27 04:47:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 04:47:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 04:47:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:47:10] local.INFO: Teltonika packet parsed successfully {"connection_id":144939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:47:10] local.INFO: Passing IMEI to GPS processor {"connection_id":144939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:47:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":144939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:47:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 04:47:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:47:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:47:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987517440001,"66":25343,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 04:47:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:47:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:47:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987517440001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:47:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 04:47:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:47:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:47:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:47:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987517440001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:47:10] local.INFO: DEBUG: GPS processor result {"connection_id":144939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:47:10] local.INFO: GPS data processed {"connection_id":144939,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:47:10] local.INFO: Acknowledgment sent {"connection_id":144939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:47:38] local.INFO: TCP Data received {"connection_id":144940,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:47:38] local.INFO: Processing buffer {"connection_id":144940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:47:38] local.INFO: IMEI packet received {"connection_id":144940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 04:47:38] local.INFO: IMEI acknowledgment sent {"connection_id":144940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 04:47:43] local.INFO: TCP Data received {"connection_id":144940,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:47:43] local.INFO: Processing buffer {"connection_id":144940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:47:43] local.INFO: IMEI packet received {"connection_id":144940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 04:47:43] local.INFO: IMEI acknowledgment sent {"connection_id":144940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 04:47:44] local.INFO: TCP Data received {"connection_id":144940,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0b73c98012d7f980005afd7c0000b00062b..."} 
[2026-07-27 04:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0b73c98012d7f980005afd7c0000b00062b..."} 
[2026-07-27 04:47:44] local.INFO: Processing buffer {"connection_id":144940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0b73c98012d7f980005afd7c0000b00062b..."} 
[2026-07-27 04:47:44] local.INFO: Packet analysis {"connection_id":144940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0b7"} 
[2026-07-27 04:47:44] local.INFO: Extracted packet for processing {"connection_id":144940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0b7"} 
[2026-07-27 04:47:44] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":11,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 04: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-07-27 04:47:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987517440001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:47:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:47:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:47:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:47:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785107791000,"timestamp_ms":1785107791000,"timestamp_seconds":1785107791,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0b73c98"} 
[2026-07-27 04:47:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 04:47:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 04: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":75,"data_length":795,"current_offset":136} 
[2026-07-27 04:47:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 04: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-07-27 04:47:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 04:47:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:47:44] local.INFO: Teltonika packet parsed successfully {"connection_id":144940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:47:44] local.INFO: Passing IMEI to GPS processor {"connection_id":144940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:47:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":144940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:47:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 04:47:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:47:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:47:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987517440001,"66":25343,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 04:47:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:47:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:47:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987517440001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:47:44] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 04:47:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:47:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:47:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:47:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987517440001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:47:44] local.INFO: DEBUG: GPS processor result {"connection_id":144940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:47:44] local.INFO: GPS data processed {"connection_id":144940,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:47:44] local.INFO: Acknowledgment sent {"connection_id":144940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:48:15] local.INFO: TCP Data received {"connection_id":144940,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0b73c98012d7f980005afd7c0000b00062b..."} 
[2026-07-27 04:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0b73c98012d7f980005afd7c0000b00062b..."} 
[2026-07-27 04:48:15] local.INFO: Processing buffer {"connection_id":144940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0b73c98012d7f980005afd7c0000b00062b..."} 
[2026-07-27 04:48:15] local.INFO: Packet analysis {"connection_id":144940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0b7"} 
[2026-07-27 04:48:15] local.INFO: Extracted packet for processing {"connection_id":144940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0b7"} 
[2026-07-27 04:48:15] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":11,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 04:48:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987517440001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:48:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:48:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:48:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:48:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785107791000,"timestamp_ms":1785107791000,"timestamp_seconds":1785107791,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0b73c98"} 
[2026-07-27 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-07-27 04:48:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":75,"data_length":795,"current_offset":136} 
[2026-07-27 04:48: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-07-27 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-07-27 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-07-27 04:48:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:48:15] local.INFO: Teltonika packet parsed successfully {"connection_id":144940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:48:15] local.INFO: Passing IMEI to GPS processor {"connection_id":144940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:48:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":144940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:48:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 04:48:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:48:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:48:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987517440001,"66":25343,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 04:48:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:48:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:48:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987517440001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:48:15] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 04:48:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:48:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:48:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:48:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987517440001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:48:15] local.INFO: DEBUG: GPS processor result {"connection_id":144940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:48:15] local.INFO: GPS data processed {"connection_id":144940,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:48:15] local.INFO: Acknowledgment sent {"connection_id":144940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:48:33] local.INFO: TCP Data received {"connection_id":142640,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:48:33] local.INFO: Processing buffer {"connection_id":142640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:48:33] local.INFO: IMEI packet received {"connection_id":142640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 04:48:33] local.INFO: IMEI acknowledgment sent {"connection_id":142640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 04:48:38] local.INFO: TCP Data received {"connection_id":142640,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:48:38] local.INFO: Processing buffer {"connection_id":142640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:48:38] local.INFO: IMEI packet received {"connection_id":142640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 04:48:38] local.INFO: IMEI acknowledgment sent {"connection_id":142640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 04:48:39] local.INFO: TCP Data received {"connection_id":142640,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0b73c98012d7f980005afd7c0000b00062b..."} 
[2026-07-27 04:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0b73c98012d7f980005afd7c0000b00062b..."} 
[2026-07-27 04:48:39] local.INFO: Processing buffer {"connection_id":142640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0b73c98012d7f980005afd7c0000b00062b..."} 
[2026-07-27 04:48:39] local.INFO: Packet analysis {"connection_id":142640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0b7"} 
[2026-07-27 04:48:39] local.INFO: Extracted packet for processing {"connection_id":142640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0b7"} 
[2026-07-27 04:48:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":11,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 04:48:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 04:48:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987517440001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:48:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:48:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:48:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:48:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785107791000,"timestamp_ms":1785107791000,"timestamp_seconds":1785107791,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0b73c98"} 
[2026-07-27 04:48:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 04:48:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 04: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":75,"data_length":795,"current_offset":136} 
[2026-07-27 04:48: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-07-27 04:48:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 04:48:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 04:48:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:48:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:48:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:48:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:48:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 04:48:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:48:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:48:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987517440001,"66":25343,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 04:48:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:48:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:48:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987517440001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:48:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 04:48:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:48:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:48:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:48:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987517440001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:48:39] local.INFO: DEBUG: GPS processor result {"connection_id":142640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:48:39] local.INFO: GPS data processed {"connection_id":142640,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:48:39] local.INFO: Acknowledgment sent {"connection_id":142640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:49:10] local.INFO: TCP Data received {"connection_id":142640,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0b73c98012d7f980005afd7c0000b00062b..."} 
[2026-07-27 04:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0b73c98012d7f980005afd7c0000b00062b..."} 
[2026-07-27 04:49:10] local.INFO: Processing buffer {"connection_id":142640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0b73c98012d7f980005afd7c0000b00062b..."} 
[2026-07-27 04:49:10] local.INFO: Packet analysis {"connection_id":142640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0b7"} 
[2026-07-27 04:49:10] local.INFO: Extracted packet for processing {"connection_id":142640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0b7"} 
[2026-07-27 04:49:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":11,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 04:49:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 04:49:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987517440001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:49:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:49:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:49:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:49:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785107791000,"timestamp_ms":1785107791000,"timestamp_seconds":1785107791,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0b73c98"} 
[2026-07-27 04:49:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 04:49:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":75,"data_length":795,"current_offset":136} 
[2026-07-27 04:49: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-07-27 04:49:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 04:49:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 04:49:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:49:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:49:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:49:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04: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-07-27 04:49:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:49:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:49:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987517440001,"66":25343,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 04:49:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:49:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:49:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987517440001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:49:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 04:49:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:49:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:49:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:49:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987517440001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:49:10] local.INFO: DEBUG: GPS processor result {"connection_id":142640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:49:10] local.INFO: GPS data processed {"connection_id":142640,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:49:10] local.INFO: Acknowledgment sent {"connection_id":142640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:49:33] local.INFO: TCP Data received {"connection_id":143623,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:49:33] local.INFO: Processing buffer {"connection_id":143623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:49:33] local.INFO: IMEI packet received {"connection_id":143623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 04:49:33] local.INFO: IMEI acknowledgment sent {"connection_id":143623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 04:49:38] local.INFO: TCP Data received {"connection_id":143623,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:49:38] local.INFO: Processing buffer {"connection_id":143623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:49:38] local.INFO: IMEI packet received {"connection_id":143623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 04:49:38] local.INFO: IMEI acknowledgment sent {"connection_id":143623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 04:49:39] local.INFO: TCP Data received {"connection_id":143623,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0b73c98012d7f980005afd7c0000b00062b..."} 
[2026-07-27 04:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143623,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0b73c98012d7f980005afd7c0000b00062b..."} 
[2026-07-27 04:49:39] local.INFO: Processing buffer {"connection_id":143623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0b73c98012d7f980005afd7c0000b00062b..."} 
[2026-07-27 04:49:39] local.INFO: Packet analysis {"connection_id":143623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0b7"} 
[2026-07-27 04:49:39] local.INFO: Extracted packet for processing {"connection_id":143623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0b7"} 
[2026-07-27 04:49:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":11,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 04:49:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 04:49:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987517440001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:49:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:49:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:49:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:49:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785107791000,"timestamp_ms":1785107791000,"timestamp_seconds":1785107791,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0b73c98"} 
[2026-07-27 04:49:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 04:49:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 04: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":75,"data_length":795,"current_offset":136} 
[2026-07-27 04:49: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-07-27 04:49:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 04:49:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 04:49:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:49:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:49:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:49:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:49:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 04:49:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:49:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:49:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987517440001,"66":25343,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 04:49:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:49:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:49:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987517440001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:49:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 04:49:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:49:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:49:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:49:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987517440001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:49:39] local.INFO: DEBUG: GPS processor result {"connection_id":143623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:49:39] local.INFO: GPS data processed {"connection_id":143623,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:49:39] local.INFO: Acknowledgment sent {"connection_id":143623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:50:10] local.INFO: TCP Data received {"connection_id":143623,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0b73c98012d7f980005afd7c0000b00062b..."} 
[2026-07-27 04:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143623,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0b73c98012d7f980005afd7c0000b00062b..."} 
[2026-07-27 04:50:10] local.INFO: Processing buffer {"connection_id":143623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0b73c98012d7f980005afd7c0000b00062b..."} 
[2026-07-27 04:50:10] local.INFO: Packet analysis {"connection_id":143623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0b7"} 
[2026-07-27 04:50:10] local.INFO: Extracted packet for processing {"connection_id":143623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0b7"} 
[2026-07-27 04:50:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":11,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 04:50:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 04:50:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987517440001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:50:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:50:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:50:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:50:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785107791000,"timestamp_ms":1785107791000,"timestamp_seconds":1785107791,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0b73c98"} 
[2026-07-27 04:50:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 04:50:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":75,"data_length":795,"current_offset":136} 
[2026-07-27 04: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-07-27 04:50:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 04:50:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 04:50:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:50:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:50:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:50:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:50:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 04:50:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:50:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:50:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987517440001,"66":25343,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 04:50:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:50:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:50:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987517440001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:50:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 04:50:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:50:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:50:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:50:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987517440001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:50:10] local.INFO: DEBUG: GPS processor result {"connection_id":143623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:50:10] local.INFO: GPS data processed {"connection_id":143623,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:50:10] local.INFO: Acknowledgment sent {"connection_id":143623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:50:33] local.INFO: TCP Data received {"connection_id":144942,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:50:33] local.INFO: Processing buffer {"connection_id":144942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:50:33] local.INFO: IMEI packet received {"connection_id":144942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 04:50:33] local.INFO: IMEI acknowledgment sent {"connection_id":144942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 04:50:38] local.INFO: TCP Data received {"connection_id":144942,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:50:38] local.INFO: Processing buffer {"connection_id":144942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:50:38] local.INFO: IMEI packet received {"connection_id":144942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 04:50:38] local.INFO: IMEI acknowledgment sent {"connection_id":144942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 04:50:39] local.INFO: TCP Data received {"connection_id":144942,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0b73c98012d7f980005afd7c0000b00062b..."} 
[2026-07-27 04:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0b73c98012d7f980005afd7c0000b00062b..."} 
[2026-07-27 04:50:39] local.INFO: Processing buffer {"connection_id":144942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0b73c98012d7f980005afd7c0000b00062b..."} 
[2026-07-27 04:50:39] local.INFO: Packet analysis {"connection_id":144942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0b7"} 
[2026-07-27 04:50:39] local.INFO: Extracted packet for processing {"connection_id":144942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0b7"} 
[2026-07-27 04:50:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":11,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 04:50:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 04:50:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987517440001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:50:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:50:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:50:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:50:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785107791000,"timestamp_ms":1785107791000,"timestamp_seconds":1785107791,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0b73c98"} 
[2026-07-27 04:50:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 04:50:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 04: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":75,"data_length":795,"current_offset":136} 
[2026-07-27 04:50: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-07-27 04:50:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 04:50:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 04:50:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:50:39] local.INFO: Teltonika packet parsed successfully {"connection_id":144942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:50:39] local.INFO: Passing IMEI to GPS processor {"connection_id":144942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:50:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":144942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:50: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-07-27 04:50:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:50:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:50:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987517440001,"66":25343,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 04:50:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:50:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:50:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987517440001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:50:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 04:50:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:50:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:50:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:50:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987517440001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:50:39] local.INFO: DEBUG: GPS processor result {"connection_id":144942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:50:39] local.INFO: GPS data processed {"connection_id":144942,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:50:39] local.INFO: Acknowledgment sent {"connection_id":144942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:51:10] local.INFO: TCP Data received {"connection_id":144942,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0b73c98012d7f980005afd7c0000b00062b..."} 
[2026-07-27 04:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0b73c98012d7f980005afd7c0000b00062b..."} 
[2026-07-27 04:51:10] local.INFO: Processing buffer {"connection_id":144942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0b73c98012d7f980005afd7c0000b00062b..."} 
[2026-07-27 04:51:10] local.INFO: Packet analysis {"connection_id":144942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0b7"} 
[2026-07-27 04:51:10] local.INFO: Extracted packet for processing {"connection_id":144942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0b7"} 
[2026-07-27 04:51:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":11,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 04:51:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 04:51:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987517440001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:51:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:51:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:51:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:51:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785107791000,"timestamp_ms":1785107791000,"timestamp_seconds":1785107791,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0b73c98"} 
[2026-07-27 04:51:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 04:51:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 04:51:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-27 04:51: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-07-27 04:51:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 04:51:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 04:51:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:51:10] local.INFO: Teltonika packet parsed successfully {"connection_id":144942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:51:10] local.INFO: Passing IMEI to GPS processor {"connection_id":144942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:51:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":144942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:51:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 04:51:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:51:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:51:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987517440001,"66":25343,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 04:51:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:51:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:51:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987517440001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:51:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 04:51:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:51:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:51:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:51:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987517440001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:51:10] local.INFO: DEBUG: GPS processor result {"connection_id":144942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:51:10] local.INFO: GPS data processed {"connection_id":144942,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:51:10] local.INFO: Acknowledgment sent {"connection_id":144942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:51:33] local.INFO: TCP Data received {"connection_id":142555,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:51:33] local.INFO: Processing buffer {"connection_id":142555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:51:33] local.INFO: IMEI packet received {"connection_id":142555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 04:51:33] local.INFO: IMEI acknowledgment sent {"connection_id":142555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 04:51:38] local.INFO: TCP Data received {"connection_id":142555,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:51:38] local.INFO: Processing buffer {"connection_id":142555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:51:38] local.INFO: IMEI packet received {"connection_id":142555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 04:51:38] local.INFO: IMEI acknowledgment sent {"connection_id":142555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 04:51:39] local.INFO: TCP Data received {"connection_id":142555,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0b73c98012d7f980005afd7c0000b00062b..."} 
[2026-07-27 04:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0b73c98012d7f980005afd7c0000b00062b..."} 
[2026-07-27 04:51:39] local.INFO: Processing buffer {"connection_id":142555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0b73c98012d7f980005afd7c0000b00062b..."} 
[2026-07-27 04:51:39] local.INFO: Packet analysis {"connection_id":142555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0b7"} 
[2026-07-27 04:51:39] local.INFO: Extracted packet for processing {"connection_id":142555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0b7"} 
[2026-07-27 04:51:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":11,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 04:51:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 04:51:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987517440001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:51:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:51:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:51:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:51:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785107791000,"timestamp_ms":1785107791000,"timestamp_seconds":1785107791,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0b73c98"} 
[2026-07-27 04:51:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 04:51:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 04: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":75,"data_length":795,"current_offset":136} 
[2026-07-27 04:51: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-07-27 04:51:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 04:51:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 04:51:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:51:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:51:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:51:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:51:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 04:51:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:51:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:51:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987517440001,"66":25343,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 04:51:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:51:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:51:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987517440001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:51:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 04:51:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:51:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:51:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:51:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987517440001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:51:39] local.INFO: DEBUG: GPS processor result {"connection_id":142555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:51:39] local.INFO: GPS data processed {"connection_id":142555,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:51:39] local.INFO: Acknowledgment sent {"connection_id":142555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:52:10] local.INFO: TCP Data received {"connection_id":142555,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0b73c98012d7f980005afd7c0000b00062b..."} 
[2026-07-27 04:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0b73c98012d7f980005afd7c0000b00062b..."} 
[2026-07-27 04:52:10] local.INFO: Processing buffer {"connection_id":142555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0b73c98012d7f980005afd7c0000b00062b..."} 
[2026-07-27 04:52:10] local.INFO: Packet analysis {"connection_id":142555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0b7"} 
[2026-07-27 04:52:10] local.INFO: Extracted packet for processing {"connection_id":142555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0b7"} 
[2026-07-27 04:52:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":11,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 04:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 04:52:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987517440001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:52:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:52:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:52:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:52:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785107791000,"timestamp_ms":1785107791000,"timestamp_seconds":1785107791,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0b73c98"} 
[2026-07-27 04:52:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 04:52:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":75,"data_length":795,"current_offset":136} 
[2026-07-27 04: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-07-27 04:52:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 04:52:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 04:52:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:52:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:52:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:52:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:52:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 04:52:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:52:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:52:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987517440001,"66":25343,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 04:52:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:52:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:52:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987517440001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:52:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 04:52:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:52:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:52:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:52:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987517440001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:52:10] local.INFO: DEBUG: GPS processor result {"connection_id":142555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:52:10] local.INFO: GPS data processed {"connection_id":142555,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:52:10] local.INFO: Acknowledgment sent {"connection_id":142555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:52:13] local.INFO: TCP Data received {"connection_id":142642,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 04:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142642,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 04:52:13] local.INFO: Processing buffer {"connection_id":142642,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 04:52:13] local.INFO: IMEI packet received {"connection_id":142642,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 04:52:13] local.INFO: IMEI acknowledgment sent {"connection_id":142642,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 04:52:38] local.INFO: TCP Data received {"connection_id":144943,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:52:38] local.INFO: Processing buffer {"connection_id":144943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:52:38] local.INFO: IMEI packet received {"connection_id":144943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 04:52:38] local.INFO: IMEI acknowledgment sent {"connection_id":144943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 04:52:43] local.INFO: TCP Data received {"connection_id":144943,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:52:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:52:43] local.INFO: Processing buffer {"connection_id":144943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:52:43] local.INFO: IMEI packet received {"connection_id":144943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 04:52:43] local.INFO: IMEI acknowledgment sent {"connection_id":144943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 04:52:44] local.INFO: TCP Data received {"connection_id":144943,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0bbd460012d7f980005afd7c0000800062a..."} 
[2026-07-27 04:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0bbd460012d7f980005afd7c0000800062a..."} 
[2026-07-27 04:52:44] local.INFO: Processing buffer {"connection_id":144943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0bbd460012d7f980005afd7c0000800062a..."} 
[2026-07-27 04:52:44] local.INFO: Packet analysis {"connection_id":144943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0bb"} 
[2026-07-27 04:52:44] local.INFO: Extracted packet for processing {"connection_id":144943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0bb"} 
[2026-07-27 04:52:44] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":8,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 04:52:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 04:52:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987594496001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:52:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:52:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:52:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:52:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785108092000,"timestamp_ms":1785108092000,"timestamp_seconds":1785108092,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0bbd460"} 
[2026-07-27 04:52:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 04:52:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 04:52:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-27 04:52:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 04:52:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 04:52:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 04:52:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:52:44] local.INFO: Teltonika packet parsed successfully {"connection_id":144943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:52:44] local.INFO: Passing IMEI to GPS processor {"connection_id":144943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:52:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":144943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:52:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 04:52:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:52:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:52:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987594496001,"66":25375,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 04:52:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:52:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:52:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987594496001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:52:44] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 04:52:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:52:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:52:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:52:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987594496001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:52:44] local.INFO: DEBUG: GPS processor result {"connection_id":144943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:52:44] local.INFO: GPS data processed {"connection_id":144943,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:52:44] local.INFO: Acknowledgment sent {"connection_id":144943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:52:45] local.INFO: TCP Data received {"connection_id":143624,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 04:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143624,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 04:52:45] local.INFO: Processing buffer {"connection_id":143624,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 04:52:45] local.INFO: IMEI packet received {"connection_id":143624,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 04:52:45] local.INFO: IMEI acknowledgment sent {"connection_id":143624,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 04:53:15] local.INFO: TCP Data received {"connection_id":144943,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0bbd460012d7f980005afd7c0000800062a..."} 
[2026-07-27 04:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0bbd460012d7f980005afd7c0000800062a..."} 
[2026-07-27 04:53:15] local.INFO: Processing buffer {"connection_id":144943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0bbd460012d7f980005afd7c0000800062a..."} 
[2026-07-27 04:53:15] local.INFO: Packet analysis {"connection_id":144943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0bb"} 
[2026-07-27 04:53:15] local.INFO: Extracted packet for processing {"connection_id":144943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0bb"} 
[2026-07-27 04:53:15] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":8,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 04:53:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 04:53:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987594496001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:53:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:53:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:53:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:53:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785108092000,"timestamp_ms":1785108092000,"timestamp_seconds":1785108092,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0bbd460"} 
[2026-07-27 04:53:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 04:53:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 04:53:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-27 04:53:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 04:53:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 04:53:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 04:53:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:53:15] local.INFO: Teltonika packet parsed successfully {"connection_id":144943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:53:15] local.INFO: Passing IMEI to GPS processor {"connection_id":144943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:53:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":144943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:53:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 04:53:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:53:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:53:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987594496001,"66":25375,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 04:53:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:53:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:53:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987594496001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:53:15] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 04:53:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:53:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:53:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:53:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987594496001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:53:15] local.INFO: DEBUG: GPS processor result {"connection_id":144943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:53:15] local.INFO: GPS data processed {"connection_id":144943,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:53:15] local.INFO: Acknowledgment sent {"connection_id":144943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:53:33] local.INFO: TCP Data received {"connection_id":143625,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:53:33] local.INFO: Processing buffer {"connection_id":143625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:53:33] local.INFO: IMEI packet received {"connection_id":143625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 04:53:33] local.INFO: IMEI acknowledgment sent {"connection_id":143625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 04:53:38] local.INFO: TCP Data received {"connection_id":143625,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:53:38] local.INFO: Processing buffer {"connection_id":143625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:53:38] local.INFO: IMEI packet received {"connection_id":143625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 04:53:38] local.INFO: IMEI acknowledgment sent {"connection_id":143625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 04:53:39] local.INFO: TCP Data received {"connection_id":143625,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0bbd460012d7f980005afd7c0000800062a..."} 
[2026-07-27 04:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143625,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0bbd460012d7f980005afd7c0000800062a..."} 
[2026-07-27 04:53:39] local.INFO: Processing buffer {"connection_id":143625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0bbd460012d7f980005afd7c0000800062a..."} 
[2026-07-27 04:53:39] local.INFO: Packet analysis {"connection_id":143625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0bb"} 
[2026-07-27 04:53:39] local.INFO: Extracted packet for processing {"connection_id":143625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0bb"} 
[2026-07-27 04:53:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":8,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 04:53:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 04:53:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987594496001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:53:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:53:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:53:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:53:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785108092000,"timestamp_ms":1785108092000,"timestamp_seconds":1785108092,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0bbd460"} 
[2026-07-27 04:53:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 04:53:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 04: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-27 04:53:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 04:53:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 04:53:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 04:53:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:53:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:53:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:53:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:53: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-07-27 04:53:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:53:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:53:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987594496001,"66":25375,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 04:53:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:53:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:53:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987594496001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:53:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 04:53:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:53:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:53:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:53:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987594496001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:53:39] local.INFO: DEBUG: GPS processor result {"connection_id":143625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:53:39] local.INFO: GPS data processed {"connection_id":143625,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:53:39] local.INFO: Acknowledgment sent {"connection_id":143625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:54:10] local.INFO: TCP Data received {"connection_id":143625,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0bbd460012d7f980005afd7c0000800062a..."} 
[2026-07-27 04:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143625,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0bbd460012d7f980005afd7c0000800062a..."} 
[2026-07-27 04:54:10] local.INFO: Processing buffer {"connection_id":143625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0bbd460012d7f980005afd7c0000800062a..."} 
[2026-07-27 04:54:10] local.INFO: Packet analysis {"connection_id":143625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0bb"} 
[2026-07-27 04:54:10] local.INFO: Extracted packet for processing {"connection_id":143625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0bb"} 
[2026-07-27 04:54:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":8,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 04:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 04:54:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987594496001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:54:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:54:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:54:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:54:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785108092000,"timestamp_ms":1785108092000,"timestamp_seconds":1785108092,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0bbd460"} 
[2026-07-27 04:54:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 04:54:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 04:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-27 04:54:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 04:54:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 04:54:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 04:54:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:54:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:54:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:54:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:54:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 04:54:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:54:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:54:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987594496001,"66":25375,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 04:54:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:54:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:54:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987594496001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:54:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 04:54:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:54:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:54:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:54:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987594496001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:54:10] local.INFO: DEBUG: GPS processor result {"connection_id":143625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:54:10] local.INFO: GPS data processed {"connection_id":143625,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:54:10] local.INFO: Acknowledgment sent {"connection_id":143625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:54:33] local.INFO: TCP Data received {"connection_id":144945,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:54:33] local.INFO: Processing buffer {"connection_id":144945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:54:33] local.INFO: IMEI packet received {"connection_id":144945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 04:54:33] local.INFO: IMEI acknowledgment sent {"connection_id":144945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 04:54:38] local.INFO: TCP Data received {"connection_id":144945,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:54:38] local.INFO: Processing buffer {"connection_id":144945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:54:38] local.INFO: IMEI packet received {"connection_id":144945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 04:54:38] local.INFO: IMEI acknowledgment sent {"connection_id":144945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 04:54:39] local.INFO: TCP Data received {"connection_id":144945,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0bbd460012d7f980005afd7c0000800062a..."} 
[2026-07-27 04:54:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0bbd460012d7f980005afd7c0000800062a..."} 
[2026-07-27 04:54:39] local.INFO: Processing buffer {"connection_id":144945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0bbd460012d7f980005afd7c0000800062a..."} 
[2026-07-27 04:54:39] local.INFO: Packet analysis {"connection_id":144945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0bb"} 
[2026-07-27 04:54:39] local.INFO: Extracted packet for processing {"connection_id":144945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0bb"} 
[2026-07-27 04:54:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":8,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 04:54:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 04:54:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987594496001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:54:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:54:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:54:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:54:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785108092000,"timestamp_ms":1785108092000,"timestamp_seconds":1785108092,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0bbd460"} 
[2026-07-27 04:54:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 04:54:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 04:54:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-27 04:54:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 04:54:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 04:54:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 04:54:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:54:39] local.INFO: Teltonika packet parsed successfully {"connection_id":144945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:54:39] local.INFO: Passing IMEI to GPS processor {"connection_id":144945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:54:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":144945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04: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-07-27 04:54:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:54:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:54:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987594496001,"66":25375,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 04:54:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:54:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:54:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987594496001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:54:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 04:54:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:54:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:54:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:54:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987594496001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:54:39] local.INFO: DEBUG: GPS processor result {"connection_id":144945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:54:39] local.INFO: GPS data processed {"connection_id":144945,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:54:39] local.INFO: Acknowledgment sent {"connection_id":144945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:55:10] local.INFO: TCP Data received {"connection_id":144945,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0bbd460012d7f980005afd7c0000800062a..."} 
[2026-07-27 04:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0bbd460012d7f980005afd7c0000800062a..."} 
[2026-07-27 04:55:10] local.INFO: Processing buffer {"connection_id":144945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0bbd460012d7f980005afd7c0000800062a..."} 
[2026-07-27 04:55:10] local.INFO: Packet analysis {"connection_id":144945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0bb"} 
[2026-07-27 04:55:10] local.INFO: Extracted packet for processing {"connection_id":144945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0bb"} 
[2026-07-27 04:55:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":8,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 04:55:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 04:55:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987594496001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:55:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:55:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:55:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:55:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785108092000,"timestamp_ms":1785108092000,"timestamp_seconds":1785108092,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0bbd460"} 
[2026-07-27 04:55:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 04:55:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 04:55:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-27 04:55:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 04:55:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 04:55:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 04:55:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:55:10] local.INFO: Teltonika packet parsed successfully {"connection_id":144945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:55:10] local.INFO: Passing IMEI to GPS processor {"connection_id":144945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:55:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":144945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:55:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 04:55:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:55:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:55:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987594496001,"66":25375,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 04:55:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:55:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:55:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987594496001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:55:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 04:55:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:55:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:55:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:55:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987594496001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:55:10] local.INFO: DEBUG: GPS processor result {"connection_id":144945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:55:10] local.INFO: GPS data processed {"connection_id":144945,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:55:10] local.INFO: Acknowledgment sent {"connection_id":144945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:55:33] local.INFO: TCP Data received {"connection_id":143626,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:55:33] local.INFO: Processing buffer {"connection_id":143626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:55:33] local.INFO: IMEI packet received {"connection_id":143626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 04:55:33] local.INFO: IMEI acknowledgment sent {"connection_id":143626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 04:55:38] local.INFO: TCP Data received {"connection_id":143626,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:55:38] local.INFO: Processing buffer {"connection_id":143626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:55:38] local.INFO: IMEI packet received {"connection_id":143626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 04:55:38] local.INFO: IMEI acknowledgment sent {"connection_id":143626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 04:55:39] local.INFO: TCP Data received {"connection_id":143626,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0bbd460012d7f980005afd7c0000800062a..."} 
[2026-07-27 04:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0bbd460012d7f980005afd7c0000800062a..."} 
[2026-07-27 04:55:39] local.INFO: Processing buffer {"connection_id":143626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0bbd460012d7f980005afd7c0000800062a..."} 
[2026-07-27 04:55:39] local.INFO: Packet analysis {"connection_id":143626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0bb"} 
[2026-07-27 04:55:39] local.INFO: Extracted packet for processing {"connection_id":143626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0bb"} 
[2026-07-27 04:55:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":8,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 04: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-07-27 04:55:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987594496001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:55:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:55:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:55:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:55:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785108092000,"timestamp_ms":1785108092000,"timestamp_seconds":1785108092,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0bbd460"} 
[2026-07-27 04:55:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 04:55:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 04: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-27 04:55:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 04: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-07-27 04:55:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 04:55:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:55:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:55:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:55:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:55:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 04:55:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:55:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:55:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987594496001,"66":25375,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 04:55:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:55:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:55:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987594496001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:55:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 04:55:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:55:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:55:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:55:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987594496001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:55:39] local.INFO: DEBUG: GPS processor result {"connection_id":143626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:55:39] local.INFO: GPS data processed {"connection_id":143626,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:55:39] local.INFO: Acknowledgment sent {"connection_id":143626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:56:10] local.INFO: TCP Data received {"connection_id":143626,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0bbd460012d7f980005afd7c0000800062a..."} 
[2026-07-27 04:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0bbd460012d7f980005afd7c0000800062a..."} 
[2026-07-27 04:56:10] local.INFO: Processing buffer {"connection_id":143626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0bbd460012d7f980005afd7c0000800062a..."} 
[2026-07-27 04:56:10] local.INFO: Packet analysis {"connection_id":143626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0bb"} 
[2026-07-27 04:56:10] local.INFO: Extracted packet for processing {"connection_id":143626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0bb"} 
[2026-07-27 04:56:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":8,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 04:56:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987594496001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:56:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:56:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:56:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:56:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785108092000,"timestamp_ms":1785108092000,"timestamp_seconds":1785108092,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0bbd460"} 
[2026-07-27 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-07-27 04:56:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-27 04: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-07-27 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-07-27 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-07-27 04:56:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:56:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:56:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:56:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:56: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-07-27 04:56:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:56:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:56:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987594496001,"66":25375,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 04:56:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:56:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:56:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987594496001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:56:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 04:56:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:56:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:56:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:56:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987594496001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:56:10] local.INFO: DEBUG: GPS processor result {"connection_id":143626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:56:10] local.INFO: GPS data processed {"connection_id":143626,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:56:10] local.INFO: Acknowledgment sent {"connection_id":143626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:56:33] local.INFO: TCP Data received {"connection_id":142645,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:56:33] local.INFO: Processing buffer {"connection_id":142645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:56:33] local.INFO: IMEI packet received {"connection_id":142645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 04:56:33] local.INFO: IMEI acknowledgment sent {"connection_id":142645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 04:56:38] local.INFO: TCP Data received {"connection_id":142645,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:56:38] local.INFO: Processing buffer {"connection_id":142645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:56:38] local.INFO: IMEI packet received {"connection_id":142645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 04:56:38] local.INFO: IMEI acknowledgment sent {"connection_id":142645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 04:56:39] local.INFO: TCP Data received {"connection_id":142645,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0bbd460012d7f980005afd7c0000800062a..."} 
[2026-07-27 04:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142645,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0bbd460012d7f980005afd7c0000800062a..."} 
[2026-07-27 04:56:39] local.INFO: Processing buffer {"connection_id":142645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0bbd460012d7f980005afd7c0000800062a..."} 
[2026-07-27 04:56:39] local.INFO: Packet analysis {"connection_id":142645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0bb"} 
[2026-07-27 04:56:39] local.INFO: Extracted packet for processing {"connection_id":142645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0bb"} 
[2026-07-27 04:56:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":8,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 04: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-07-27 04:56:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987594496001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:56:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:56:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:56:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:56:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785108092000,"timestamp_ms":1785108092000,"timestamp_seconds":1785108092,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0bbd460"} 
[2026-07-27 04:56:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 04:56:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 04: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-27 04:56:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 04: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-07-27 04:56:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 04:56:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:56:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:56:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:56:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:56:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 04:56:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:56:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:56:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987594496001,"66":25375,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 04:56:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:56:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:56:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987594496001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:56:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 04:56:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:56:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:56:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:56:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987594496001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:56:39] local.INFO: DEBUG: GPS processor result {"connection_id":142645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:56:39] local.INFO: GPS data processed {"connection_id":142645,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:56:39] local.INFO: Acknowledgment sent {"connection_id":142645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:57:10] local.INFO: TCP Data received {"connection_id":142645,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0bbd460012d7f980005afd7c0000800062a..."} 
[2026-07-27 04:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142645,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0bbd460012d7f980005afd7c0000800062a..."} 
[2026-07-27 04:57:10] local.INFO: Processing buffer {"connection_id":142645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0bbd460012d7f980005afd7c0000800062a..."} 
[2026-07-27 04:57:10] local.INFO: Packet analysis {"connection_id":142645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0bb"} 
[2026-07-27 04:57:10] local.INFO: Extracted packet for processing {"connection_id":142645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0bb"} 
[2026-07-27 04:57:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":8,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 04:57:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 04:57:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987594496001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:57:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:57:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:57:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:57:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785108092000,"timestamp_ms":1785108092000,"timestamp_seconds":1785108092,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0bbd460"} 
[2026-07-27 04:57:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 04:57:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 04: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":255,"data_length":795,"current_offset":136} 
[2026-07-27 04:57:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 04:57:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 04:57:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 04:57:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:57:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:57:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:57:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:57:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 04:57:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:57:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:57:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987594496001,"66":25375,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 04:57:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:57:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:57:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987594496001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:57:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 04:57:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:57:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:57:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:57:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987594496001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:57:10] local.INFO: DEBUG: GPS processor result {"connection_id":142645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:57:10] local.INFO: GPS data processed {"connection_id":142645,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:57:10] local.INFO: Acknowledgment sent {"connection_id":142645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:57:38] local.INFO: TCP Data received {"connection_id":144946,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:57:38] local.INFO: Processing buffer {"connection_id":144946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:57:38] local.INFO: IMEI packet received {"connection_id":144946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 04:57:38] local.INFO: IMEI acknowledgment sent {"connection_id":144946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 04:57:43] local.INFO: TCP Data received {"connection_id":144946,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:57:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:57:43] local.INFO: Processing buffer {"connection_id":144946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:57:43] local.INFO: IMEI packet received {"connection_id":144946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 04:57:43] local.INFO: IMEI acknowledgment sent {"connection_id":144946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 04:57:44] local.INFO: TCP Data received {"connection_id":144946,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0c06c28012d7f980005afd7c0000800062b..."} 
[2026-07-27 04:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0c06c28012d7f980005afd7c0000800062b..."} 
[2026-07-27 04:57:44] local.INFO: Processing buffer {"connection_id":144946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0c06c28012d7f980005afd7c0000800062b..."} 
[2026-07-27 04:57:44] local.INFO: Packet analysis {"connection_id":144946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0c0"} 
[2026-07-27 04:57:44] local.INFO: Extracted packet for processing {"connection_id":144946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0c0"} 
[2026-07-27 04:57:44] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":8,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 04:57:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 04:57:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987671552001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:57:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:57:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:57:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:57:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785108393000,"timestamp_ms":1785108393000,"timestamp_seconds":1785108393,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0c06c28"} 
[2026-07-27 04:57:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 04:57:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 04:57:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 04:57:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 04:57:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 04:57:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 04:57:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:57:44] local.INFO: Teltonika packet parsed successfully {"connection_id":144946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:57:44] local.INFO: Passing IMEI to GPS processor {"connection_id":144946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:57:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":144946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:57:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 04:57:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:57:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:57:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987671552001,"66":25321,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 04:57:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:57:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:57:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987671552001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:57:44] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 04:57:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:57:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:57:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:57:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987671552001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:57:44] local.INFO: DEBUG: GPS processor result {"connection_id":144946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:57:44] local.INFO: GPS data processed {"connection_id":144946,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:57:44] local.INFO: Acknowledgment sent {"connection_id":144946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:57:48] local.INFO: TCP Data received {"connection_id":144946,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0c06c28012d7f980005afd7c0000800062b..."} 
[2026-07-27 04:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0c06c28012d7f980005afd7c0000800062b..."} 
[2026-07-27 04:57:48] local.INFO: Processing buffer {"connection_id":144946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0c06c28012d7f980005afd7c0000800062b..."} 
[2026-07-27 04:57:48] local.INFO: Packet analysis {"connection_id":144946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0c0"} 
[2026-07-27 04:57:48] local.INFO: Extracted packet for processing {"connection_id":144946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0c0"} 
[2026-07-27 04:57:48] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":8,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 04: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-07-27 04:57:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987671552001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:57:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:57:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:57:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:57:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785108393000,"timestamp_ms":1785108393000,"timestamp_seconds":1785108393,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0c06c28"} 
[2026-07-27 04:57:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 04:57:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 04: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 04:57:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 04: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-07-27 04:57:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 04:57:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:57:48] local.INFO: Teltonika packet parsed successfully {"connection_id":144946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:57:48] local.INFO: Passing IMEI to GPS processor {"connection_id":144946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:57:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":144946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:57:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 04:57:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:57:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:57:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987671552001,"66":25321,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 04:57:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:57:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:57:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987671552001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:57:48] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 04:57:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:57:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:57:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:57:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987671552001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:57:48] local.INFO: DEBUG: GPS processor result {"connection_id":144946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:57:48] local.INFO: GPS data processed {"connection_id":144946,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:57:48] local.INFO: Acknowledgment sent {"connection_id":144946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:58:10] local.INFO: TCP Data received {"connection_id":143627,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 04:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143627,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 04:58:10] local.INFO: Processing buffer {"connection_id":143627,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 04:58:10] local.INFO: IMEI packet received {"connection_id":143627,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 04:58:10] local.INFO: IMEI acknowledgment sent {"connection_id":143627,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 04:58:33] local.INFO: TCP Data received {"connection_id":142647,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:58:33] local.INFO: Processing buffer {"connection_id":142647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:58:33] local.INFO: IMEI packet received {"connection_id":142647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 04:58:33] local.INFO: IMEI acknowledgment sent {"connection_id":142647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 04:58:38] local.INFO: TCP Data received {"connection_id":142647,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:58:38] local.INFO: Processing buffer {"connection_id":142647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:58:38] local.INFO: IMEI packet received {"connection_id":142647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 04:58:38] local.INFO: IMEI acknowledgment sent {"connection_id":142647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 04:58:39] local.INFO: TCP Data received {"connection_id":142647,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0c06c28012d7f980005afd7c0000800062b..."} 
[2026-07-27 04:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142647,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0c06c28012d7f980005afd7c0000800062b..."} 
[2026-07-27 04:58:39] local.INFO: Processing buffer {"connection_id":142647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0c06c28012d7f980005afd7c0000800062b..."} 
[2026-07-27 04:58:39] local.INFO: Packet analysis {"connection_id":142647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0c0"} 
[2026-07-27 04:58:39] local.INFO: Extracted packet for processing {"connection_id":142647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0c0"} 
[2026-07-27 04:58:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":8,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 04:58:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 04:58:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987671552001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:58:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:58:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:58:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:58:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785108393000,"timestamp_ms":1785108393000,"timestamp_seconds":1785108393,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0c06c28"} 
[2026-07-27 04:58:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 04:58:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 04: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-07-27 04: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-07-27 04:58:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 04:58:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 04:58:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:58:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:58:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:58:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:58:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 04:58:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:58:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:58:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987671552001,"66":25321,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 04:58:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:58:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:58:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987671552001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:58:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 04:58:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:58:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:58:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:58:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987671552001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:58:39] local.INFO: DEBUG: GPS processor result {"connection_id":142647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:58:39] local.INFO: GPS data processed {"connection_id":142647,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:58:39] local.INFO: Acknowledgment sent {"connection_id":142647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:58:50] local.INFO: TCP Data received {"connection_id":142648,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 04:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142648,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 04:58:50] local.INFO: Processing buffer {"connection_id":142648,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 04:58:50] local.INFO: IMEI packet received {"connection_id":142648,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 04:58:50] local.INFO: IMEI acknowledgment sent {"connection_id":142648,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 04:59:10] local.INFO: TCP Data received {"connection_id":142647,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0c06c28012d7f980005afd7c0000800062b..."} 
[2026-07-27 04:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142647,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0c06c28012d7f980005afd7c0000800062b..."} 
[2026-07-27 04:59:10] local.INFO: Processing buffer {"connection_id":142647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0c06c28012d7f980005afd7c0000800062b..."} 
[2026-07-27 04:59:10] local.INFO: Packet analysis {"connection_id":142647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0c0"} 
[2026-07-27 04:59:10] local.INFO: Extracted packet for processing {"connection_id":142647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0c0"} 
[2026-07-27 04:59:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":8,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 04:59:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 04:59:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987671552001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:59:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:59:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:59:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:59:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785108393000,"timestamp_ms":1785108393000,"timestamp_seconds":1785108393,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0c06c28"} 
[2026-07-27 04:59:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 04:59:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 04: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-07-27 04: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-07-27 04:59:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 04:59:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 04:59:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:59:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:59:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:59:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:59:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 04:59:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:59:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:59:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987671552001,"66":25321,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 04:59:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:59:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:59:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987671552001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:59:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 04:59:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:59:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:59:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:59:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987671552001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:59:10] local.INFO: DEBUG: GPS processor result {"connection_id":142647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:59:10] local.INFO: GPS data processed {"connection_id":142647,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:59:10] local.INFO: Acknowledgment sent {"connection_id":142647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 04:59:33] local.INFO: TCP Data received {"connection_id":142649,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:59:33] local.INFO: Processing buffer {"connection_id":142649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:59:33] local.INFO: IMEI packet received {"connection_id":142649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 04:59:33] local.INFO: IMEI acknowledgment sent {"connection_id":142649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 04:59:38] local.INFO: TCP Data received {"connection_id":142649,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:59:38] local.INFO: Processing buffer {"connection_id":142649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 04:59:38] local.INFO: IMEI packet received {"connection_id":142649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 04:59:38] local.INFO: IMEI acknowledgment sent {"connection_id":142649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 04:59:39] local.INFO: TCP Data received {"connection_id":142649,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0c06c28012d7f980005afd7c0000800062b..."} 
[2026-07-27 04:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0c06c28012d7f980005afd7c0000800062b..."} 
[2026-07-27 04:59:39] local.INFO: Processing buffer {"connection_id":142649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0c06c28012d7f980005afd7c0000800062b..."} 
[2026-07-27 04:59:39] local.INFO: Packet analysis {"connection_id":142649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0c0"} 
[2026-07-27 04:59:39] local.INFO: Extracted packet for processing {"connection_id":142649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0c0"} 
[2026-07-27 04:59:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":8,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 04:59:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 04:59:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987671552001,"note":"Value kept but may cause issues"} 
[2026-07-27 04:59:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 04:59:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 04:59:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 04:59:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785108393000,"timestamp_ms":1785108393000,"timestamp_seconds":1785108393,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0c06c28"} 
[2026-07-27 04:59:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 04:59:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 04:59:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 04:59:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 04:59:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 04:59:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 04:59:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 04:59:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 04:59:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:59:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 04:59:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 04:59:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 04:59:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 04:59:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987671552001,"66":25321,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 04:59:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 04:59:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 04:59:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987671552001,"description":"Unknown IO ID 0"} 
[2026-07-27 04:59:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 04:59:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 04:59:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 04:59:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 04:59:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987671552001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 04:59:39] local.INFO: DEBUG: GPS processor result {"connection_id":142649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 04:59:39] local.INFO: GPS data processed {"connection_id":142649,"processed":1,"errors":0,"total":1} 
[2026-07-27 04:59:39] local.INFO: Acknowledgment sent {"connection_id":142649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:00:10] local.INFO: TCP Data received {"connection_id":142649,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0c06c28012d7f980005afd7c0000800062b..."} 
[2026-07-27 05:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0c06c28012d7f980005afd7c0000800062b..."} 
[2026-07-27 05:00:10] local.INFO: Processing buffer {"connection_id":142649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0c06c28012d7f980005afd7c0000800062b..."} 
[2026-07-27 05:00:10] local.INFO: Packet analysis {"connection_id":142649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0c0"} 
[2026-07-27 05:00:10] local.INFO: Extracted packet for processing {"connection_id":142649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0c0"} 
[2026-07-27 05:00:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":8,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 05:00:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 05:00:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987671552001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:00:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:00:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:00:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:00:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785108393000,"timestamp_ms":1785108393000,"timestamp_seconds":1785108393,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0c06c28"} 
[2026-07-27 05:00:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 05:00:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 05: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-07-27 05: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-07-27 05:00:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 05:00:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 05:00:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:00:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:00:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:00:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:00:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 05:00:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:00:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:00:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987671552001,"66":25321,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:00:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:00:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:00:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987671552001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:00:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:00:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:00:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:00:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:00:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987671552001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:00:10] local.INFO: DEBUG: GPS processor result {"connection_id":142649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:00:10] local.INFO: GPS data processed {"connection_id":142649,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:00:10] local.INFO: Acknowledgment sent {"connection_id":142649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:00:33] local.INFO: TCP Data received {"connection_id":142558,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:00:33] local.INFO: Processing buffer {"connection_id":142558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:00:33] local.INFO: IMEI packet received {"connection_id":142558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 05:00:33] local.INFO: IMEI acknowledgment sent {"connection_id":142558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 05:00:38] local.INFO: TCP Data received {"connection_id":142558,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:00:38] local.INFO: Processing buffer {"connection_id":142558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:00:38] local.INFO: IMEI packet received {"connection_id":142558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 05:00:38] local.INFO: IMEI acknowledgment sent {"connection_id":142558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 05:00:39] local.INFO: TCP Data received {"connection_id":142558,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0c06c28012d7f980005afd7c0000800062b..."} 
[2026-07-27 05:00:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142558,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0c06c28012d7f980005afd7c0000800062b..."} 
[2026-07-27 05:00:39] local.INFO: Processing buffer {"connection_id":142558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0c06c28012d7f980005afd7c0000800062b..."} 
[2026-07-27 05:00:39] local.INFO: Packet analysis {"connection_id":142558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0c0"} 
[2026-07-27 05:00:39] local.INFO: Extracted packet for processing {"connection_id":142558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0c0"} 
[2026-07-27 05:00:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":8,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 05: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-07-27 05:00:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987671552001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:00:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:00:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:00:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:00:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785108393000,"timestamp_ms":1785108393000,"timestamp_seconds":1785108393,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0c06c28"} 
[2026-07-27 05:00:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 05:00:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 05: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":31,"data_length":795,"current_offset":136} 
[2026-07-27 05:00: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-07-27 05: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-07-27 05:00:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 05:00:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:00:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:00:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:00:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:00: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-07-27 05:00:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:00:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:00:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987671552001,"66":25321,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:00:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:00:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:00:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987671552001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:00:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:00:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:00:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:00:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:00:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987671552001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:00:39] local.INFO: DEBUG: GPS processor result {"connection_id":142558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:00:39] local.INFO: GPS data processed {"connection_id":142558,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:00:39] local.INFO: Acknowledgment sent {"connection_id":142558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:01:10] local.INFO: TCP Data received {"connection_id":142558,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0c06c28012d7f980005afd7c0000800062b..."} 
[2026-07-27 05:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142558,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0c06c28012d7f980005afd7c0000800062b..."} 
[2026-07-27 05:01:10] local.INFO: Processing buffer {"connection_id":142558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0c06c28012d7f980005afd7c0000800062b..."} 
[2026-07-27 05:01:10] local.INFO: Packet analysis {"connection_id":142558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0c0"} 
[2026-07-27 05:01:10] local.INFO: Extracted packet for processing {"connection_id":142558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0c0"} 
[2026-07-27 05:01:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":8,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 05:01:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 05:01:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987671552001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:01:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:01:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:01:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:01:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785108393000,"timestamp_ms":1785108393000,"timestamp_seconds":1785108393,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0c06c28"} 
[2026-07-27 05:01:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 05:01:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 05:01:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 05: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-07-27 05:01:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 05:01:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 05:01:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:01:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:01:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:01:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:01:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 05:01:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:01:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:01:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987671552001,"66":25321,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:01:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:01:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:01:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987671552001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:01:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:01:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:01:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:01:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:01:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987671552001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:01:10] local.INFO: DEBUG: GPS processor result {"connection_id":142558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:01:10] local.INFO: GPS data processed {"connection_id":142558,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:01:10] local.INFO: Acknowledgment sent {"connection_id":142558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:01:33] local.INFO: TCP Data received {"connection_id":143628,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:01:33] local.INFO: Processing buffer {"connection_id":143628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:01:33] local.INFO: IMEI packet received {"connection_id":143628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 05:01:33] local.INFO: IMEI acknowledgment sent {"connection_id":143628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 05:01:38] local.INFO: TCP Data received {"connection_id":143628,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:01:38] local.INFO: Processing buffer {"connection_id":143628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:01:38] local.INFO: IMEI packet received {"connection_id":143628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 05:01:38] local.INFO: IMEI acknowledgment sent {"connection_id":143628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 05:01:39] local.INFO: TCP Data received {"connection_id":143628,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0c06c28012d7f980005afd7c0000800062b..."} 
[2026-07-27 05:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143628,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0c06c28012d7f980005afd7c0000800062b..."} 
[2026-07-27 05:01:39] local.INFO: Processing buffer {"connection_id":143628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0c06c28012d7f980005afd7c0000800062b..."} 
[2026-07-27 05:01:39] local.INFO: Packet analysis {"connection_id":143628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0c0"} 
[2026-07-27 05:01:39] local.INFO: Extracted packet for processing {"connection_id":143628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0c0"} 
[2026-07-27 05:01:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":8,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 05:01:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 05:01:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987671552001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:01:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:01:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:01:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:01:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785108393000,"timestamp_ms":1785108393000,"timestamp_seconds":1785108393,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0c06c28"} 
[2026-07-27 05:01:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 05:01:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 05:01:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 05:01: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-07-27 05:01:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 05:01:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 05:01:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:01:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:01:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:01:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05: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-07-27 05:01:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:01:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:01:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987671552001,"66":25321,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:01:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:01:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:01:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987671552001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:01:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:01:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:01:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:01:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:01:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987671552001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:01:39] local.INFO: DEBUG: GPS processor result {"connection_id":143628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:01:39] local.INFO: GPS data processed {"connection_id":143628,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:01:39] local.INFO: Acknowledgment sent {"connection_id":143628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:02:10] local.INFO: TCP Data received {"connection_id":143628,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0c06c28012d7f980005afd7c0000800062b..."} 
[2026-07-27 05:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143628,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0c06c28012d7f980005afd7c0000800062b..."} 
[2026-07-27 05:02:10] local.INFO: Processing buffer {"connection_id":143628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0c06c28012d7f980005afd7c0000800062b..."} 
[2026-07-27 05:02:10] local.INFO: Packet analysis {"connection_id":143628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0c0"} 
[2026-07-27 05:02:10] local.INFO: Extracted packet for processing {"connection_id":143628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0c0"} 
[2026-07-27 05:02:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":8,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 05:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 05:02:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987671552001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:02:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:02:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:02:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:02:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785108393000,"timestamp_ms":1785108393000,"timestamp_seconds":1785108393,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0c06c28"} 
[2026-07-27 05:02:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 05:02:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 05: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-07-27 05:02:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 05:02:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 05:02:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:02:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:02:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:02:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:02:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 05:02:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:02:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:02:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987671552001,"66":25321,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:02:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:02:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:02:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987671552001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:02:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:02:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:02:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:02:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:02:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987671552001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:02:10] local.INFO: DEBUG: GPS processor result {"connection_id":143628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:02:10] local.INFO: GPS data processed {"connection_id":143628,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:02:10] local.INFO: Acknowledgment sent {"connection_id":143628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:02:38] local.INFO: TCP Data received {"connection_id":142650,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:02:38] local.INFO: Processing buffer {"connection_id":142650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:02:38] local.INFO: IMEI packet received {"connection_id":142650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 05:02:38] local.INFO: IMEI acknowledgment sent {"connection_id":142650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 05:02:43] local.INFO: TCP Data received {"connection_id":142650,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:02:43] local.INFO: Processing buffer {"connection_id":142650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:02:43] local.INFO: IMEI packet received {"connection_id":142650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 05:02:43] local.INFO: IMEI acknowledgment sent {"connection_id":142650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 05:02:44] local.INFO: TCP Data received {"connection_id":142650,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0c503f0012d7f980005afd7c0000c00062a..."} 
[2026-07-27 05:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142650,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0c503f0012d7f980005afd7c0000c00062a..."} 
[2026-07-27 05:02:44] local.INFO: Processing buffer {"connection_id":142650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0c503f0012d7f980005afd7c0000c00062a..."} 
[2026-07-27 05:02:44] local.INFO: Packet analysis {"connection_id":142650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0c5"} 
[2026-07-27 05:02:44] local.INFO: Extracted packet for processing {"connection_id":142650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0c5"} 
[2026-07-27 05:02:44] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":12,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 05:02:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 05:02:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987748608001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:02:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:02:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:02:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:02:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785108694000,"timestamp_ms":1785108694000,"timestamp_seconds":1785108694,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0c503f0"} 
[2026-07-27 05:02:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 05:02:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 05:02:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 05:02: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-07-27 05:02:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 05:02:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 05:02:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:02:44] local.INFO: Teltonika packet parsed successfully {"connection_id":142650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:02:44] local.INFO: Passing IMEI to GPS processor {"connection_id":142650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:02:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":142650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:02:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 05:02:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:02:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:02:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987748608001,"66":25375,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:02:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:02:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:02:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987748608001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:02:44] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:02:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:02:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:02:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:02:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987748608001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:02:44] local.INFO: DEBUG: GPS processor result {"connection_id":142650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:02:44] local.INFO: GPS data processed {"connection_id":142650,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:02:44] local.INFO: Acknowledgment sent {"connection_id":142650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:02:48] local.INFO: TCP Data received {"connection_id":142650,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0c503f0012d7f980005afd7c0000c00062a..."} 
[2026-07-27 05:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142650,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0c503f0012d7f980005afd7c0000c00062a..."} 
[2026-07-27 05:02:48] local.INFO: Processing buffer {"connection_id":142650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0c503f0012d7f980005afd7c0000c00062a..."} 
[2026-07-27 05:02:48] local.INFO: Packet analysis {"connection_id":142650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0c5"} 
[2026-07-27 05:02:48] local.INFO: Extracted packet for processing {"connection_id":142650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0c5"} 
[2026-07-27 05:02:48] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":12,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 05: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-07-27 05:02:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987748608001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:02:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:02:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:02:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:02:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785108694000,"timestamp_ms":1785108694000,"timestamp_seconds":1785108694,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0c503f0"} 
[2026-07-27 05:02:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 05:02:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 05:02:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 05:02:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 05: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-07-27 05:02:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 05:02:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:02:48] local.INFO: Teltonika packet parsed successfully {"connection_id":142650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:02:48] local.INFO: Passing IMEI to GPS processor {"connection_id":142650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:02:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":142650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:02:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 05:02:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:02:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:02:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987748608001,"66":25375,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:02:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:02:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:02:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987748608001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:02:48] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:02:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:02:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:02:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:02:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987748608001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:02:48] local.INFO: DEBUG: GPS processor result {"connection_id":142650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:02:48] local.INFO: GPS data processed {"connection_id":142650,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:02:48] local.INFO: Acknowledgment sent {"connection_id":142650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:03:33] local.INFO: TCP Data received {"connection_id":144948,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:03:33] local.INFO: Processing buffer {"connection_id":144948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:03:33] local.INFO: IMEI packet received {"connection_id":144948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 05:03:33] local.INFO: IMEI acknowledgment sent {"connection_id":144948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 05:03:38] local.INFO: TCP Data received {"connection_id":144948,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:03:38] local.INFO: Processing buffer {"connection_id":144948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:03:38] local.INFO: IMEI packet received {"connection_id":144948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 05:03:38] local.INFO: IMEI acknowledgment sent {"connection_id":144948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 05:03:39] local.INFO: TCP Data received {"connection_id":144948,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0c503f0012d7f980005afd7c0000c00062a..."} 
[2026-07-27 05:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0c503f0012d7f980005afd7c0000c00062a..."} 
[2026-07-27 05:03:39] local.INFO: Processing buffer {"connection_id":144948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0c503f0012d7f980005afd7c0000c00062a..."} 
[2026-07-27 05:03:39] local.INFO: Packet analysis {"connection_id":144948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0c5"} 
[2026-07-27 05:03:39] local.INFO: Extracted packet for processing {"connection_id":144948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0c5"} 
[2026-07-27 05:03:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":12,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 05: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-07-27 05:03:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987748608001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:03:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:03:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:03:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:03:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785108694000,"timestamp_ms":1785108694000,"timestamp_seconds":1785108694,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0c503f0"} 
[2026-07-27 05:03:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 05:03:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 05:03:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 05:03:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 05: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-07-27 05:03:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 05:03:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:03:39] local.INFO: Teltonika packet parsed successfully {"connection_id":144948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:03:39] local.INFO: Passing IMEI to GPS processor {"connection_id":144948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:03:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":144948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:03:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 05:03:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:03:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:03:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987748608001,"66":25375,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:03:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:03:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:03:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987748608001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:03:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:03:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:03:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:03:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:03:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987748608001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:03:39] local.INFO: DEBUG: GPS processor result {"connection_id":144948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:03:39] local.INFO: GPS data processed {"connection_id":144948,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:03:39] local.INFO: Acknowledgment sent {"connection_id":144948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:04:10] local.INFO: TCP Data received {"connection_id":144948,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0c503f0012d7f980005afd7c0000c00062a..."} 
[2026-07-27 05:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0c503f0012d7f980005afd7c0000c00062a..."} 
[2026-07-27 05:04:10] local.INFO: Processing buffer {"connection_id":144948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0c503f0012d7f980005afd7c0000c00062a..."} 
[2026-07-27 05:04:10] local.INFO: Packet analysis {"connection_id":144948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0c5"} 
[2026-07-27 05:04:10] local.INFO: Extracted packet for processing {"connection_id":144948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0c5"} 
[2026-07-27 05:04:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":12,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 05:04:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987748608001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:04:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:04:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:04:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:04:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785108694000,"timestamp_ms":1785108694000,"timestamp_seconds":1785108694,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0c503f0"} 
[2026-07-27 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-07-27 05:04:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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-07-27 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-07-27 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-07-27 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-07-27 05:04:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:04:10] local.INFO: Teltonika packet parsed successfully {"connection_id":144948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:04:10] local.INFO: Passing IMEI to GPS processor {"connection_id":144948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:04:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":144948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:04:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 05:04:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:04:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:04:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987748608001,"66":25375,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:04:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:04:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:04:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987748608001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:04:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:04:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:04:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:04:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:04:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987748608001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:04:10] local.INFO: DEBUG: GPS processor result {"connection_id":144948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:04:10] local.INFO: GPS data processed {"connection_id":144948,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:04:10] local.INFO: Acknowledgment sent {"connection_id":144948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:04:20] local.INFO: TCP Data received {"connection_id":143629,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 05:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143629,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 05:04:20] local.INFO: Processing buffer {"connection_id":143629,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 05:04:20] local.INFO: IMEI packet received {"connection_id":143629,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 05:04:20] local.INFO: IMEI acknowledgment sent {"connection_id":143629,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 05:04:33] local.INFO: TCP Data received {"connection_id":142651,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:04:33] local.INFO: Processing buffer {"connection_id":142651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:04:33] local.INFO: IMEI packet received {"connection_id":142651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 05:04:33] local.INFO: IMEI acknowledgment sent {"connection_id":142651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 05:04:38] local.INFO: TCP Data received {"connection_id":142651,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:04:38] local.INFO: Processing buffer {"connection_id":142651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:04:38] local.INFO: IMEI packet received {"connection_id":142651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 05:04:38] local.INFO: IMEI acknowledgment sent {"connection_id":142651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 05:04:39] local.INFO: TCP Data received {"connection_id":142651,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0c503f0012d7f980005afd7c0000c00062a..."} 
[2026-07-27 05:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0c503f0012d7f980005afd7c0000c00062a..."} 
[2026-07-27 05:04:39] local.INFO: Processing buffer {"connection_id":142651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0c503f0012d7f980005afd7c0000c00062a..."} 
[2026-07-27 05:04:39] local.INFO: Packet analysis {"connection_id":142651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0c5"} 
[2026-07-27 05:04:39] local.INFO: Extracted packet for processing {"connection_id":142651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0c5"} 
[2026-07-27 05:04:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":12,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 05:04:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 05:04:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987748608001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:04:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:04:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:04:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:04:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785108694000,"timestamp_ms":1785108694000,"timestamp_seconds":1785108694,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0c503f0"} 
[2026-07-27 05:04:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 05:04:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 05:04:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 05:04:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 05:04:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 05:04:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 05:04:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:04:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:04:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:04:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:04:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 05:04:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:04:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:04:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987748608001,"66":25375,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:04:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:04:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:04:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987748608001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:04:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:04:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:04:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:04:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:04:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987748608001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:04:39] local.INFO: DEBUG: GPS processor result {"connection_id":142651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:04:39] local.INFO: GPS data processed {"connection_id":142651,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:04:39] local.INFO: Acknowledgment sent {"connection_id":142651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:04:45] local.INFO: TCP Data received {"connection_id":144949,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 05:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144949,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 05:04:45] local.INFO: Processing buffer {"connection_id":144949,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 05:04:45] local.INFO: IMEI packet received {"connection_id":144949,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 05:04:45] local.INFO: IMEI acknowledgment sent {"connection_id":144949,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 05:05:10] local.INFO: TCP Data received {"connection_id":142651,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0c503f0012d7f980005afd7c0000c00062a..."} 
[2026-07-27 05:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0c503f0012d7f980005afd7c0000c00062a..."} 
[2026-07-27 05:05:10] local.INFO: Processing buffer {"connection_id":142651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0c503f0012d7f980005afd7c0000c00062a..."} 
[2026-07-27 05:05:10] local.INFO: Packet analysis {"connection_id":142651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0c5"} 
[2026-07-27 05:05:10] local.INFO: Extracted packet for processing {"connection_id":142651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0c5"} 
[2026-07-27 05:05:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":12,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 05:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 05:05:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987748608001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:05:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:05:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:05:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:05:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785108694000,"timestamp_ms":1785108694000,"timestamp_seconds":1785108694,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0c503f0"} 
[2026-07-27 05:05:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 05:05:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 05:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 05:05:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 05:05:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 05:05:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 05:05:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:05:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:05:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:05:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:05:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 05:05:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:05:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:05:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987748608001,"66":25375,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:05:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:05:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:05:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987748608001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:05:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:05:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:05:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:05:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:05:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987748608001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:05:10] local.INFO: DEBUG: GPS processor result {"connection_id":142651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:05:10] local.INFO: GPS data processed {"connection_id":142651,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:05:10] local.INFO: Acknowledgment sent {"connection_id":142651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:05:33] local.INFO: TCP Data received {"connection_id":142652,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:05:33] local.INFO: Processing buffer {"connection_id":142652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:05:33] local.INFO: IMEI packet received {"connection_id":142652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 05:05:33] local.INFO: IMEI acknowledgment sent {"connection_id":142652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 05:05:38] local.INFO: TCP Data received {"connection_id":142652,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:05:38] local.INFO: Processing buffer {"connection_id":142652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:05:38] local.INFO: IMEI packet received {"connection_id":142652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 05:05:38] local.INFO: IMEI acknowledgment sent {"connection_id":142652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 05:05:39] local.INFO: TCP Data received {"connection_id":142652,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0c503f0012d7f980005afd7c0000c00062a..."} 
[2026-07-27 05:05:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0c503f0012d7f980005afd7c0000c00062a..."} 
[2026-07-27 05:05:39] local.INFO: Processing buffer {"connection_id":142652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0c503f0012d7f980005afd7c0000c00062a..."} 
[2026-07-27 05:05:39] local.INFO: Packet analysis {"connection_id":142652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0c5"} 
[2026-07-27 05:05:39] local.INFO: Extracted packet for processing {"connection_id":142652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0c5"} 
[2026-07-27 05:05:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":12,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 05: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-07-27 05:05:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987748608001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:05:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:05:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:05:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:05:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785108694000,"timestamp_ms":1785108694000,"timestamp_seconds":1785108694,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0c503f0"} 
[2026-07-27 05:05:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 05:05:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 05: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 05:05:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 05: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-07-27 05:05:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 05:05:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:05:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:05:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:05:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:05:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 05:05:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:05:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:05:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987748608001,"66":25375,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:05:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:05:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:05:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987748608001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:05:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:05:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:05:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:05:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:05:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987748608001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:05:39] local.INFO: DEBUG: GPS processor result {"connection_id":142652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:05:39] local.INFO: GPS data processed {"connection_id":142652,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:05:39] local.INFO: Acknowledgment sent {"connection_id":142652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:06:10] local.INFO: TCP Data received {"connection_id":142652,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0c503f0012d7f980005afd7c0000c00062a..."} 
[2026-07-27 05:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0c503f0012d7f980005afd7c0000c00062a..."} 
[2026-07-27 05:06:10] local.INFO: Processing buffer {"connection_id":142652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0c503f0012d7f980005afd7c0000c00062a..."} 
[2026-07-27 05:06:10] local.INFO: Packet analysis {"connection_id":142652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0c5"} 
[2026-07-27 05:06:10] local.INFO: Extracted packet for processing {"connection_id":142652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0c5"} 
[2026-07-27 05:06:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":12,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 05:06:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 05:06:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987748608001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:06:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:06:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:06:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:06:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785108694000,"timestamp_ms":1785108694000,"timestamp_seconds":1785108694,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0c503f0"} 
[2026-07-27 05:06:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 05:06:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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-07-27 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-07-27 05:06:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 05:06:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 05:06:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:06:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:06:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:06:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:06:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 05:06:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:06:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:06:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987748608001,"66":25375,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:06:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:06:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:06:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987748608001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:06:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:06:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:06:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:06:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:06:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987748608001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:06:10] local.INFO: DEBUG: GPS processor result {"connection_id":142652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:06:10] local.INFO: GPS data processed {"connection_id":142652,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:06:10] local.INFO: Acknowledgment sent {"connection_id":142652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:06:33] local.INFO: TCP Data received {"connection_id":142561,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:06:33] local.INFO: Processing buffer {"connection_id":142561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:06:33] local.INFO: IMEI packet received {"connection_id":142561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 05:06:33] local.INFO: IMEI acknowledgment sent {"connection_id":142561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 05:06:38] local.INFO: TCP Data received {"connection_id":142561,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:06:38] local.INFO: Processing buffer {"connection_id":142561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:06:38] local.INFO: IMEI packet received {"connection_id":142561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 05:06:38] local.INFO: IMEI acknowledgment sent {"connection_id":142561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 05:06:39] local.INFO: TCP Data received {"connection_id":142561,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0c503f0012d7f980005afd7c0000c00062a..."} 
[2026-07-27 05:06:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0c503f0012d7f980005afd7c0000c00062a..."} 
[2026-07-27 05:06:39] local.INFO: Processing buffer {"connection_id":142561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0c503f0012d7f980005afd7c0000c00062a..."} 
[2026-07-27 05:06:39] local.INFO: Packet analysis {"connection_id":142561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0c5"} 
[2026-07-27 05:06:39] local.INFO: Extracted packet for processing {"connection_id":142561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0c5"} 
[2026-07-27 05:06:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":12,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 05:06:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 05:06:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987748608001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:06:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:06:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:06:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:06:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785108694000,"timestamp_ms":1785108694000,"timestamp_seconds":1785108694,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0c503f0"} 
[2026-07-27 05:06:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 05:06:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 05: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 05:06:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 05:06:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 05:06:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 05:06:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:06:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:06:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:06:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:06:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 05:06:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:06:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:06:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987748608001,"66":25375,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:06:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:06:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:06:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987748608001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:06:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:06:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:06:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:06:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:06:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987748608001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:06:39] local.INFO: DEBUG: GPS processor result {"connection_id":142561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:06:39] local.INFO: GPS data processed {"connection_id":142561,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:06:39] local.INFO: Acknowledgment sent {"connection_id":142561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:07:10] local.INFO: TCP Data received {"connection_id":142561,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0c503f0012d7f980005afd7c0000c00062a..."} 
[2026-07-27 05:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0c503f0012d7f980005afd7c0000c00062a..."} 
[2026-07-27 05:07:10] local.INFO: Processing buffer {"connection_id":142561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0c503f0012d7f980005afd7c0000c00062a..."} 
[2026-07-27 05:07:10] local.INFO: Packet analysis {"connection_id":142561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0c5"} 
[2026-07-27 05:07:10] local.INFO: Extracted packet for processing {"connection_id":142561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0c5"} 
[2026-07-27 05:07:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":12,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 05:07:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987748608001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:07:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:07:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:07:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:07:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785108694000,"timestamp_ms":1785108694000,"timestamp_seconds":1785108694,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0c503f0"} 
[2026-07-27 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-07-27 05:07:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 05:07:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 05:07:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:07:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:07:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:07:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:07:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 05:07:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:07:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:07:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987748608001,"66":25375,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:07:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:07:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:07:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987748608001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:07:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:07:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:07:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:07:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:07:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987748608001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:07:10] local.INFO: DEBUG: GPS processor result {"connection_id":142561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:07:10] local.INFO: GPS data processed {"connection_id":142561,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:07:10] local.INFO: Acknowledgment sent {"connection_id":142561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:07:38] local.INFO: TCP Data received {"connection_id":144951,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:07:38] local.INFO: Processing buffer {"connection_id":144951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:07:38] local.INFO: IMEI packet received {"connection_id":144951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 05:07:38] local.INFO: IMEI acknowledgment sent {"connection_id":144951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 05:07:43] local.INFO: TCP Data received {"connection_id":144951,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:07:43] local.INFO: Processing buffer {"connection_id":144951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:07:43] local.INFO: IMEI packet received {"connection_id":144951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 05:07:43] local.INFO: IMEI acknowledgment sent {"connection_id":144951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 05:07:44] local.INFO: TCP Data received {"connection_id":144951,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0c99bb8012d7f980005afd7c0000b000628..."} 
[2026-07-27 05:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0c99bb8012d7f980005afd7c0000b000628..."} 
[2026-07-27 05:07:44] local.INFO: Processing buffer {"connection_id":144951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0c99bb8012d7f980005afd7c0000b000628..."} 
[2026-07-27 05:07:44] local.INFO: Packet analysis {"connection_id":144951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0c9"} 
[2026-07-27 05:07:44] local.INFO: Extracted packet for processing {"connection_id":144951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0c9"} 
[2026-07-27 05:07:44] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":11,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 05:07:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 05:07:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987825664001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:07:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:07:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:07:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:07:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785108995000,"timestamp_ms":1785108995000,"timestamp_seconds":1785108995,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0c99bb8"} 
[2026-07-27 05:07:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 05:07:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 05: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":31,"data_length":795,"current_offset":136} 
[2026-07-27 05:07:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 05:07:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 05:07:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 05:07:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:07:44] local.INFO: Teltonika packet parsed successfully {"connection_id":144951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:07:44] local.INFO: Passing IMEI to GPS processor {"connection_id":144951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:07:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":144951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:07:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 05:07:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:07:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:07:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987825664001,"66":25375,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:07:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:07:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:07:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987825664001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:07:44] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:07:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:07:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:07:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:07:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987825664001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:07:44] local.INFO: DEBUG: GPS processor result {"connection_id":144951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:07:44] local.INFO: GPS data processed {"connection_id":144951,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:07:44] local.INFO: Acknowledgment sent {"connection_id":144951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:07:48] local.INFO: TCP Data received {"connection_id":144951,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0c99bb8012d7f980005afd7c0000b000628..."} 
[2026-07-27 05:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0c99bb8012d7f980005afd7c0000b000628..."} 
[2026-07-27 05:07:48] local.INFO: Processing buffer {"connection_id":144951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0c99bb8012d7f980005afd7c0000b000628..."} 
[2026-07-27 05:07:48] local.INFO: Packet analysis {"connection_id":144951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0c9"} 
[2026-07-27 05:07:48] local.INFO: Extracted packet for processing {"connection_id":144951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0c9"} 
[2026-07-27 05:07:48] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":11,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 05:07:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 05:07:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987825664001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:07:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:07:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:07:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:07:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785108995000,"timestamp_ms":1785108995000,"timestamp_seconds":1785108995,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0c99bb8"} 
[2026-07-27 05:07:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 05:07:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 05:07:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 05:07:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 05:07:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 05:07:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 05:07:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:07:48] local.INFO: Teltonika packet parsed successfully {"connection_id":144951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:07:48] local.INFO: Passing IMEI to GPS processor {"connection_id":144951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:07:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":144951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:07:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 05:07:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:07:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:07:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987825664001,"66":25375,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:07:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:07:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:07:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987825664001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:07:48] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:07:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:07:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:07:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:07:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987825664001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:07:48] local.INFO: DEBUG: GPS processor result {"connection_id":144951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:07:48] local.INFO: GPS data processed {"connection_id":144951,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:07:48] local.INFO: Acknowledgment sent {"connection_id":144951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:08:33] local.INFO: TCP Data received {"connection_id":143631,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:08:33] local.INFO: Processing buffer {"connection_id":143631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:08:33] local.INFO: IMEI packet received {"connection_id":143631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 05:08:33] local.INFO: IMEI acknowledgment sent {"connection_id":143631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 05:08:38] local.INFO: TCP Data received {"connection_id":143631,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:08:38] local.INFO: Processing buffer {"connection_id":143631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:08:38] local.INFO: IMEI packet received {"connection_id":143631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 05:08:38] local.INFO: IMEI acknowledgment sent {"connection_id":143631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 05:08:39] local.INFO: TCP Data received {"connection_id":143631,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0c99bb8012d7f980005afd7c0000b000628..."} 
[2026-07-27 05:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0c99bb8012d7f980005afd7c0000b000628..."} 
[2026-07-27 05:08:39] local.INFO: Processing buffer {"connection_id":143631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0c99bb8012d7f980005afd7c0000b000628..."} 
[2026-07-27 05:08:39] local.INFO: Packet analysis {"connection_id":143631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0c9"} 
[2026-07-27 05:08:39] local.INFO: Extracted packet for processing {"connection_id":143631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0c9"} 
[2026-07-27 05:08:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":11,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 05: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-07-27 05:08:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987825664001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:08:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:08:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:08:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:08:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785108995000,"timestamp_ms":1785108995000,"timestamp_seconds":1785108995,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0c99bb8"} 
[2026-07-27 05:08:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 05:08:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 05: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":31,"data_length":795,"current_offset":136} 
[2026-07-27 05:08: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-07-27 05: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-07-27 05:08:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 05:08:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:08:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:08:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:08:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:08:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 05:08:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:08:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:08:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987825664001,"66":25375,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:08:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:08:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:08:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987825664001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:08:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:08:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:08:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:08:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:08:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987825664001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:08:39] local.INFO: DEBUG: GPS processor result {"connection_id":143631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:08:39] local.INFO: GPS data processed {"connection_id":143631,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:08:39] local.INFO: Acknowledgment sent {"connection_id":143631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:09:10] local.INFO: TCP Data received {"connection_id":143631,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0c99bb8012d7f980005afd7c0000b000628..."} 
[2026-07-27 05:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0c99bb8012d7f980005afd7c0000b000628..."} 
[2026-07-27 05:09:10] local.INFO: Processing buffer {"connection_id":143631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0c99bb8012d7f980005afd7c0000b000628..."} 
[2026-07-27 05:09:10] local.INFO: Packet analysis {"connection_id":143631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0c9"} 
[2026-07-27 05:09:10] local.INFO: Extracted packet for processing {"connection_id":143631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0c9"} 
[2026-07-27 05:09:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":11,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 05:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 05:09:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987825664001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:09:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:09:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:09:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:09:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785108995000,"timestamp_ms":1785108995000,"timestamp_seconds":1785108995,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0c99bb8"} 
[2026-07-27 05:09:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 05:09:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 05:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 05: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-07-27 05:09:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 05:09:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 05:09:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:09:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:09:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:09:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:09:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 05:09:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:09:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:09:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987825664001,"66":25375,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:09:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:09:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:09:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987825664001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:09:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:09:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:09:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:09:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:09:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987825664001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:09:10] local.INFO: DEBUG: GPS processor result {"connection_id":143631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:09:10] local.INFO: GPS data processed {"connection_id":143631,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:09:10] local.INFO: Acknowledgment sent {"connection_id":143631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:09:33] local.INFO: TCP Data received {"connection_id":144952,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:09:33] local.INFO: Processing buffer {"connection_id":144952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:09:33] local.INFO: IMEI packet received {"connection_id":144952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 05:09:33] local.INFO: IMEI acknowledgment sent {"connection_id":144952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 05:09:38] local.INFO: TCP Data received {"connection_id":144952,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:09:38] local.INFO: Processing buffer {"connection_id":144952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:09:38] local.INFO: IMEI packet received {"connection_id":144952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 05:09:38] local.INFO: IMEI acknowledgment sent {"connection_id":144952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 05:09:39] local.INFO: TCP Data received {"connection_id":144952,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0c99bb8012d7f980005afd7c0000b000628..."} 
[2026-07-27 05:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0c99bb8012d7f980005afd7c0000b000628..."} 
[2026-07-27 05:09:39] local.INFO: Processing buffer {"connection_id":144952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0c99bb8012d7f980005afd7c0000b000628..."} 
[2026-07-27 05:09:39] local.INFO: Packet analysis {"connection_id":144952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0c9"} 
[2026-07-27 05:09:39] local.INFO: Extracted packet for processing {"connection_id":144952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0c9"} 
[2026-07-27 05:09:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":11,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 05:09:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 05:09:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987825664001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:09:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:09:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:09:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:09:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785108995000,"timestamp_ms":1785108995000,"timestamp_seconds":1785108995,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0c99bb8"} 
[2026-07-27 05:09:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 05:09:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 05:09:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 05:09: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-07-27 05:09:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 05:09:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 05:09:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:09:39] local.INFO: Teltonika packet parsed successfully {"connection_id":144952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:09:39] local.INFO: Passing IMEI to GPS processor {"connection_id":144952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:09:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":144952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:09: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-07-27 05:09:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:09:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:09:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987825664001,"66":25375,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:09:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:09:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:09:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987825664001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:09:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:09:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:09:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:09:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:09:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987825664001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:09:39] local.INFO: DEBUG: GPS processor result {"connection_id":144952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:09:39] local.INFO: GPS data processed {"connection_id":144952,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:09:39] local.INFO: Acknowledgment sent {"connection_id":144952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:10:10] local.INFO: TCP Data received {"connection_id":144952,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0c99bb8012d7f980005afd7c0000b000628..."} 
[2026-07-27 05:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0c99bb8012d7f980005afd7c0000b000628..."} 
[2026-07-27 05:10:10] local.INFO: Processing buffer {"connection_id":144952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0c99bb8012d7f980005afd7c0000b000628..."} 
[2026-07-27 05:10:10] local.INFO: Packet analysis {"connection_id":144952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0c9"} 
[2026-07-27 05:10:10] local.INFO: Extracted packet for processing {"connection_id":144952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0c9"} 
[2026-07-27 05:10:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":11,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 05:10:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 05:10:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987825664001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:10:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:10:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:10:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:10:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785108995000,"timestamp_ms":1785108995000,"timestamp_seconds":1785108995,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0c99bb8"} 
[2026-07-27 05:10:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 05:10:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":31,"data_length":795,"current_offset":136} 
[2026-07-27 05: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-07-27 05:10:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 05:10:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 05:10:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:10:10] local.INFO: Teltonika packet parsed successfully {"connection_id":144952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:10:10] local.INFO: Passing IMEI to GPS processor {"connection_id":144952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:10:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":144952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05: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-07-27 05:10:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:10:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:10:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987825664001,"66":25375,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:10:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:10:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:10:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987825664001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:10:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:10:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:10:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:10:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:10:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987825664001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:10:10] local.INFO: DEBUG: GPS processor result {"connection_id":144952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:10:10] local.INFO: GPS data processed {"connection_id":144952,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:10:10] local.INFO: Acknowledgment sent {"connection_id":144952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:10:15] local.INFO: TCP Data received {"connection_id":143632,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 05:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143632,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 05:10:15] local.INFO: Processing buffer {"connection_id":143632,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 05:10:15] local.INFO: IMEI packet received {"connection_id":143632,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 05:10:15] local.INFO: IMEI acknowledgment sent {"connection_id":143632,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 05:10:33] local.INFO: TCP Data received {"connection_id":142655,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:10:33] local.INFO: Processing buffer {"connection_id":142655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:10:33] local.INFO: IMEI packet received {"connection_id":142655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 05:10:33] local.INFO: IMEI acknowledgment sent {"connection_id":142655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 05:10:38] local.INFO: TCP Data received {"connection_id":142655,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:10:38] local.INFO: Processing buffer {"connection_id":142655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:10:38] local.INFO: IMEI packet received {"connection_id":142655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 05:10:38] local.INFO: IMEI acknowledgment sent {"connection_id":142655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 05:10:39] local.INFO: TCP Data received {"connection_id":142655,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0c99bb8012d7f980005afd7c0000b000628..."} 
[2026-07-27 05:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0c99bb8012d7f980005afd7c0000b000628..."} 
[2026-07-27 05:10:39] local.INFO: Processing buffer {"connection_id":142655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0c99bb8012d7f980005afd7c0000b000628..."} 
[2026-07-27 05:10:39] local.INFO: Packet analysis {"connection_id":142655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0c9"} 
[2026-07-27 05:10:39] local.INFO: Extracted packet for processing {"connection_id":142655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0c9"} 
[2026-07-27 05:10:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":11,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 05:10:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 05:10:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987825664001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:10:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:10:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:10:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:10:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785108995000,"timestamp_ms":1785108995000,"timestamp_seconds":1785108995,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0c99bb8"} 
[2026-07-27 05:10:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 05:10:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 05:10:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 05:10: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-07-27 05:10:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 05:10:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 05:10:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:10:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:10:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:10:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:10: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-07-27 05:10:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:10:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:10:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987825664001,"66":25375,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:10:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:10:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:10:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987825664001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:10:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:10:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:10:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:10:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:10:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987825664001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:10:39] local.INFO: DEBUG: GPS processor result {"connection_id":142655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:10:39] local.INFO: GPS data processed {"connection_id":142655,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:10:39] local.INFO: Acknowledgment sent {"connection_id":142655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:10:45] local.INFO: TCP Data received {"connection_id":142656,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 05:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142656,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 05:10:45] local.INFO: Processing buffer {"connection_id":142656,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 05:10:45] local.INFO: IMEI packet received {"connection_id":142656,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 05:10:45] local.INFO: IMEI acknowledgment sent {"connection_id":142656,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 05:11:10] local.INFO: TCP Data received {"connection_id":142655,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0c99bb8012d7f980005afd7c0000b000628..."} 
[2026-07-27 05:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0c99bb8012d7f980005afd7c0000b000628..."} 
[2026-07-27 05:11:10] local.INFO: Processing buffer {"connection_id":142655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0c99bb8012d7f980005afd7c0000b000628..."} 
[2026-07-27 05:11:10] local.INFO: Packet analysis {"connection_id":142655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0c9"} 
[2026-07-27 05:11:10] local.INFO: Extracted packet for processing {"connection_id":142655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0c9"} 
[2026-07-27 05:11:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":11,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 05:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 05:11:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987825664001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:11:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:11:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:11:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:11:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785108995000,"timestamp_ms":1785108995000,"timestamp_seconds":1785108995,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0c99bb8"} 
[2026-07-27 05:11:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 05:11:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 05:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 05: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-07-27 05:11:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 05:11:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 05:11:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:11:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:11:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:11:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:11:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 05:11:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:11:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:11:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987825664001,"66":25375,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:11:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:11:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:11:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987825664001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:11:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:11:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:11:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:11:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:11:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987825664001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:11:10] local.INFO: DEBUG: GPS processor result {"connection_id":142655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:11:10] local.INFO: GPS data processed {"connection_id":142655,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:11:10] local.INFO: Acknowledgment sent {"connection_id":142655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:11:33] local.INFO: TCP Data received {"connection_id":142657,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:11:33] local.INFO: Processing buffer {"connection_id":142657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:11:33] local.INFO: IMEI packet received {"connection_id":142657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 05:11:33] local.INFO: IMEI acknowledgment sent {"connection_id":142657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 05:11:38] local.INFO: TCP Data received {"connection_id":142657,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:11:38] local.INFO: Processing buffer {"connection_id":142657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:11:38] local.INFO: IMEI packet received {"connection_id":142657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 05:11:38] local.INFO: IMEI acknowledgment sent {"connection_id":142657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 05:11:39] local.INFO: TCP Data received {"connection_id":142657,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0c99bb8012d7f980005afd7c0000b000628..."} 
[2026-07-27 05:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142657,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0c99bb8012d7f980005afd7c0000b000628..."} 
[2026-07-27 05:11:39] local.INFO: Processing buffer {"connection_id":142657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0c99bb8012d7f980005afd7c0000b000628..."} 
[2026-07-27 05:11:39] local.INFO: Packet analysis {"connection_id":142657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0c9"} 
[2026-07-27 05:11:39] local.INFO: Extracted packet for processing {"connection_id":142657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0c9"} 
[2026-07-27 05:11:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":11,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 05:11:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 05:11:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987825664001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:11:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:11:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:11:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:11:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785108995000,"timestamp_ms":1785108995000,"timestamp_seconds":1785108995,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0c99bb8"} 
[2026-07-27 05:11:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 05:11:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 05: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":31,"data_length":795,"current_offset":136} 
[2026-07-27 05:11: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-07-27 05:11:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 05:11:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 05:11:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:11:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:11:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:11:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:11: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-07-27 05:11:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:11:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:11:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987825664001,"66":25375,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:11:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:11:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:11:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987825664001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:11:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:11:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:11:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:11:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:11:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987825664001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:11:39] local.INFO: DEBUG: GPS processor result {"connection_id":142657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:11:39] local.INFO: GPS data processed {"connection_id":142657,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:11:39] local.INFO: Acknowledgment sent {"connection_id":142657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:12:10] local.INFO: TCP Data received {"connection_id":142657,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0c99bb8012d7f980005afd7c0000b000628..."} 
[2026-07-27 05:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142657,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0c99bb8012d7f980005afd7c0000b000628..."} 
[2026-07-27 05:12:10] local.INFO: Processing buffer {"connection_id":142657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0c99bb8012d7f980005afd7c0000b000628..."} 
[2026-07-27 05:12:10] local.INFO: Packet analysis {"connection_id":142657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0c9"} 
[2026-07-27 05:12:10] local.INFO: Extracted packet for processing {"connection_id":142657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0c9"} 
[2026-07-27 05:12:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":11,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 05:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 05:12:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987825664001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:12:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:12:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:12:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:12:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785108995000,"timestamp_ms":1785108995000,"timestamp_seconds":1785108995,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0c99bb8"} 
[2026-07-27 05:12:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 05:12:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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-07-27 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-07-27 05:12:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 05:12:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 05:12:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:12:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:12:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:12:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:12:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 05:12:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:12:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:12:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987825664001,"66":25375,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:12:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:12:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:12:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987825664001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:12:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:12:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:12:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:12:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:12:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987825664001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:12:10] local.INFO: DEBUG: GPS processor result {"connection_id":142657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:12:10] local.INFO: GPS data processed {"connection_id":142657,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:12:10] local.INFO: Acknowledgment sent {"connection_id":142657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:12:33] local.INFO: TCP Data received {"connection_id":142563,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142563,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:12:33] local.INFO: Processing buffer {"connection_id":142563,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:12:33] local.INFO: IMEI packet received {"connection_id":142563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 05:12:33] local.INFO: IMEI acknowledgment sent {"connection_id":142563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 05:12:38] local.INFO: TCP Data received {"connection_id":142563,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142563,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:12:38] local.INFO: Processing buffer {"connection_id":142563,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:12:38] local.INFO: IMEI packet received {"connection_id":142563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 05:12:38] local.INFO: IMEI acknowledgment sent {"connection_id":142563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 05:12:39] local.INFO: TCP Data received {"connection_id":142563,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0ce3380012d7f980005afd7c0000a000628..."} 
[2026-07-27 05:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0ce3380012d7f980005afd7c0000a000628..."} 
[2026-07-27 05:12:39] local.INFO: Processing buffer {"connection_id":142563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0ce3380012d7f980005afd7c0000a000628..."} 
[2026-07-27 05:12:39] local.INFO: Packet analysis {"connection_id":142563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0ce"} 
[2026-07-27 05:12:39] local.INFO: Extracted packet for processing {"connection_id":142563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0ce"} 
[2026-07-27 05:12:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 05:12:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 05:12:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987902720001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:12:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:12:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:12:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:12:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785109296000,"timestamp_ms":1785109296000,"timestamp_seconds":1785109296,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0ce3380"} 
[2026-07-27 05:12:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 05:12:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 05: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-07-27 05: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-07-27 05:12:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 05:12:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 05:12:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:12:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:12:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:12:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:12: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-07-27 05:12:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:12:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:12:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987902720001,"66":25375,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:12:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:12:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:12:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987902720001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:12:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:12:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:12:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:12:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:12:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987902720001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:12:39] local.INFO: DEBUG: GPS processor result {"connection_id":142563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:12:39] local.INFO: GPS data processed {"connection_id":142563,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:12:39] local.INFO: Acknowledgment sent {"connection_id":142563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:12:43] local.INFO: TCP Data received {"connection_id":142563,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0ce3380012d7f980005afd7c0000a000628..."} 
[2026-07-27 05:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0ce3380012d7f980005afd7c0000a000628..."} 
[2026-07-27 05:12:43] local.INFO: Processing buffer {"connection_id":142563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0ce3380012d7f980005afd7c0000a000628..."} 
[2026-07-27 05:12:43] local.INFO: Packet analysis {"connection_id":142563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0ce"} 
[2026-07-27 05:12:43] local.INFO: Extracted packet for processing {"connection_id":142563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0ce"} 
[2026-07-27 05:12:43] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 05:12:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 05:12:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987902720001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:12:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:12:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:12:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:12:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785109296000,"timestamp_ms":1785109296000,"timestamp_seconds":1785109296,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0ce3380"} 
[2026-07-27 05:12:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 05:12:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 05:12:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 05:12:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 05:12:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 05:12:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 05:12:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:12:43] local.INFO: Teltonika packet parsed successfully {"connection_id":142563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:12:43] local.INFO: Passing IMEI to GPS processor {"connection_id":142563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:12:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":142563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:12:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 05:12:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:12:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:12:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987902720001,"66":25375,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:12:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:12:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:12:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987902720001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:12:43] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:12:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:12:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:12:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:12:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987902720001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:12:43] local.INFO: DEBUG: GPS processor result {"connection_id":142563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:12:43] local.INFO: GPS data processed {"connection_id":142563,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:12:43] local.INFO: Acknowledgment sent {"connection_id":142563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:13:14] local.INFO: TCP Data received {"connection_id":142563,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0ce3380012d7f980005afd7c0000a000628..."} 
[2026-07-27 05:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0ce3380012d7f980005afd7c0000a000628..."} 
[2026-07-27 05:13:14] local.INFO: Processing buffer {"connection_id":142563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0ce3380012d7f980005afd7c0000a000628..."} 
[2026-07-27 05:13:14] local.INFO: Packet analysis {"connection_id":142563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0ce"} 
[2026-07-27 05:13:14] local.INFO: Extracted packet for processing {"connection_id":142563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0ce"} 
[2026-07-27 05:13:14] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 05: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-07-27 05:13:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987902720001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:13:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:13:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:13:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:13:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785109296000,"timestamp_ms":1785109296000,"timestamp_seconds":1785109296,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0ce3380"} 
[2026-07-27 05:13:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 05:13:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 05: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":31,"data_length":795,"current_offset":136} 
[2026-07-27 05:13:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 05: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-07-27 05:13:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 05:13:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:13:14] local.INFO: Teltonika packet parsed successfully {"connection_id":142563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:13:14] local.INFO: Passing IMEI to GPS processor {"connection_id":142563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:13:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":142563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:13:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 05:13:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:13:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:13:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987902720001,"66":25375,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:13:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:13:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:13:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987902720001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:13:14] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:13:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:13:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:13:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:13:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987902720001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:13:14] local.INFO: DEBUG: GPS processor result {"connection_id":142563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:13:14] local.INFO: GPS data processed {"connection_id":142563,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:13:14] local.INFO: Acknowledgment sent {"connection_id":142563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:13:33] local.INFO: TCP Data received {"connection_id":143633,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:13:33] local.INFO: Processing buffer {"connection_id":143633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:13:33] local.INFO: IMEI packet received {"connection_id":143633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 05:13:33] local.INFO: IMEI acknowledgment sent {"connection_id":143633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 05:13:38] local.INFO: TCP Data received {"connection_id":143633,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:13:38] local.INFO: Processing buffer {"connection_id":143633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:13:38] local.INFO: IMEI packet received {"connection_id":143633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 05:13:38] local.INFO: IMEI acknowledgment sent {"connection_id":143633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 05:13:39] local.INFO: TCP Data received {"connection_id":143633,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0ce3380012d7f980005afd7c0000a000628..."} 
[2026-07-27 05:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143633,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0ce3380012d7f980005afd7c0000a000628..."} 
[2026-07-27 05:13:39] local.INFO: Processing buffer {"connection_id":143633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0ce3380012d7f980005afd7c0000a000628..."} 
[2026-07-27 05:13:39] local.INFO: Packet analysis {"connection_id":143633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0ce"} 
[2026-07-27 05:13:39] local.INFO: Extracted packet for processing {"connection_id":143633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0ce"} 
[2026-07-27 05:13:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 05: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-07-27 05:13:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987902720001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:13:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:13:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:13:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:13:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785109296000,"timestamp_ms":1785109296000,"timestamp_seconds":1785109296,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0ce3380"} 
[2026-07-27 05:13:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 05:13:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 05:13:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 05:13:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 05: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-07-27 05:13:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 05:13:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:13:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:13:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:13:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:13: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-07-27 05:13:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:13:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:13:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987902720001,"66":25375,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:13:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:13:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:13:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987902720001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:13:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:13:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:13:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:13:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:13:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987902720001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:13:39] local.INFO: DEBUG: GPS processor result {"connection_id":143633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:13:39] local.INFO: GPS data processed {"connection_id":143633,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:13:39] local.INFO: Acknowledgment sent {"connection_id":143633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:14:10] local.INFO: TCP Data received {"connection_id":143633,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0ce3380012d7f980005afd7c0000a000628..."} 
[2026-07-27 05:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143633,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0ce3380012d7f980005afd7c0000a000628..."} 
[2026-07-27 05:14:10] local.INFO: Processing buffer {"connection_id":143633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0ce3380012d7f980005afd7c0000a000628..."} 
[2026-07-27 05:14:10] local.INFO: Packet analysis {"connection_id":143633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0ce"} 
[2026-07-27 05:14:10] local.INFO: Extracted packet for processing {"connection_id":143633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0ce"} 
[2026-07-27 05:14:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 05:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 05:14:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987902720001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:14:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:14:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:14:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:14:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785109296000,"timestamp_ms":1785109296000,"timestamp_seconds":1785109296,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0ce3380"} 
[2026-07-27 05:14:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 05:14:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 05:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 05: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-07-27 05:14:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 05:14:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 05:14:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:14:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:14:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:14:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05: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-07-27 05:14:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:14:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:14:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987902720001,"66":25375,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:14:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:14:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:14:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987902720001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:14:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:14:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:14:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:14:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:14:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987902720001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:14:10] local.INFO: DEBUG: GPS processor result {"connection_id":143633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:14:10] local.INFO: GPS data processed {"connection_id":143633,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:14:10] local.INFO: Acknowledgment sent {"connection_id":143633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:14:33] local.INFO: TCP Data received {"connection_id":143634,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:14:33] local.INFO: Processing buffer {"connection_id":143634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:14:33] local.INFO: IMEI packet received {"connection_id":143634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 05:14:33] local.INFO: IMEI acknowledgment sent {"connection_id":143634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 05:14:38] local.INFO: TCP Data received {"connection_id":143634,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:14:38] local.INFO: Processing buffer {"connection_id":143634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:14:38] local.INFO: IMEI packet received {"connection_id":143634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 05:14:38] local.INFO: IMEI acknowledgment sent {"connection_id":143634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 05:14:39] local.INFO: TCP Data received {"connection_id":143634,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0ce3380012d7f980005afd7c0000a000628..."} 
[2026-07-27 05:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0ce3380012d7f980005afd7c0000a000628..."} 
[2026-07-27 05:14:39] local.INFO: Processing buffer {"connection_id":143634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0ce3380012d7f980005afd7c0000a000628..."} 
[2026-07-27 05:14:39] local.INFO: Packet analysis {"connection_id":143634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0ce"} 
[2026-07-27 05:14:39] local.INFO: Extracted packet for processing {"connection_id":143634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0ce"} 
[2026-07-27 05:14:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 05:14:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 05:14:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987902720001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:14:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:14:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:14:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:14:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785109296000,"timestamp_ms":1785109296000,"timestamp_seconds":1785109296,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0ce3380"} 
[2026-07-27 05:14:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 05:14:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 05: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":31,"data_length":795,"current_offset":136} 
[2026-07-27 05:14: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-07-27 05:14:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 05:14:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 05:14:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:14:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:14:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:14:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:14: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-07-27 05:14:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:14:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:14:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987902720001,"66":25375,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:14:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:14:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:14:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987902720001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:14:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:14:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:14:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:14:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:14:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987902720001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:14:39] local.INFO: DEBUG: GPS processor result {"connection_id":143634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:14:39] local.INFO: GPS data processed {"connection_id":143634,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:14:39] local.INFO: Acknowledgment sent {"connection_id":143634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:15:10] local.INFO: TCP Data received {"connection_id":143634,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0ce3380012d7f980005afd7c0000a000628..."} 
[2026-07-27 05:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0ce3380012d7f980005afd7c0000a000628..."} 
[2026-07-27 05:15:10] local.INFO: Processing buffer {"connection_id":143634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0ce3380012d7f980005afd7c0000a000628..."} 
[2026-07-27 05:15:10] local.INFO: Packet analysis {"connection_id":143634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0ce"} 
[2026-07-27 05:15:10] local.INFO: Extracted packet for processing {"connection_id":143634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0ce"} 
[2026-07-27 05:15:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 05:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 05:15:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987902720001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:15:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:15:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:15:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:15:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785109296000,"timestamp_ms":1785109296000,"timestamp_seconds":1785109296,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0ce3380"} 
[2026-07-27 05:15:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 05:15:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 05: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":31,"data_length":795,"current_offset":136} 
[2026-07-27 05:15: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-07-27 05:15:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 05:15:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 05:15:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:15:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:15:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:15:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:15:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 05:15:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:15:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:15:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987902720001,"66":25375,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:15:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:15:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:15:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987902720001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:15:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:15:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:15:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:15:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:15:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987902720001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:15:10] local.INFO: DEBUG: GPS processor result {"connection_id":143634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:15:10] local.INFO: GPS data processed {"connection_id":143634,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:15:10] local.INFO: Acknowledgment sent {"connection_id":143634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:15:33] local.INFO: TCP Data received {"connection_id":142566,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:15:33] local.INFO: Processing buffer {"connection_id":142566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:15:33] local.INFO: IMEI packet received {"connection_id":142566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 05:15:33] local.INFO: IMEI acknowledgment sent {"connection_id":142566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 05:15:38] local.INFO: TCP Data received {"connection_id":142566,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:15:38] local.INFO: Processing buffer {"connection_id":142566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:15:38] local.INFO: IMEI packet received {"connection_id":142566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 05:15:38] local.INFO: IMEI acknowledgment sent {"connection_id":142566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 05:15:39] local.INFO: TCP Data received {"connection_id":142566,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0ce3380012d7f980005afd7c0000a000628..."} 
[2026-07-27 05:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0ce3380012d7f980005afd7c0000a000628..."} 
[2026-07-27 05:15:39] local.INFO: Processing buffer {"connection_id":142566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0ce3380012d7f980005afd7c0000a000628..."} 
[2026-07-27 05:15:39] local.INFO: Packet analysis {"connection_id":142566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0ce"} 
[2026-07-27 05:15:39] local.INFO: Extracted packet for processing {"connection_id":142566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0ce"} 
[2026-07-27 05:15:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 05:15:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 05:15:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987902720001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:15:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:15:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:15:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:15:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785109296000,"timestamp_ms":1785109296000,"timestamp_seconds":1785109296,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0ce3380"} 
[2026-07-27 05:15:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 05:15:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 05: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-07-27 05: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-07-27 05:15:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 05:15:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 05:15:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:15:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:15:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:15:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:15:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 05:15:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:15:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:15:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987902720001,"66":25375,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:15:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:15:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:15:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987902720001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:15:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:15:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:15:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:15:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:15:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987902720001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:15:39] local.INFO: DEBUG: GPS processor result {"connection_id":142566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:15:39] local.INFO: GPS data processed {"connection_id":142566,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:15:39] local.INFO: Acknowledgment sent {"connection_id":142566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:16:10] local.INFO: TCP Data received {"connection_id":142566,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0ce3380012d7f980005afd7c0000a000628..."} 
[2026-07-27 05:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0ce3380012d7f980005afd7c0000a000628..."} 
[2026-07-27 05:16:10] local.INFO: Processing buffer {"connection_id":142566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0ce3380012d7f980005afd7c0000a000628..."} 
[2026-07-27 05:16:10] local.INFO: Packet analysis {"connection_id":142566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0ce"} 
[2026-07-27 05:16:10] local.INFO: Extracted packet for processing {"connection_id":142566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0ce"} 
[2026-07-27 05:16:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 05:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 05:16:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987902720001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:16:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:16:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:16:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:16:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785109296000,"timestamp_ms":1785109296000,"timestamp_seconds":1785109296,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0ce3380"} 
[2026-07-27 05:16:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 05:16:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 05: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":31,"data_length":795,"current_offset":136} 
[2026-07-27 05:16: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-07-27 05:16:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 05:16:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 05:16:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:16:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:16:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:16:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:16:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 05:16:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:16:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:16:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987902720001,"66":25375,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:16:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:16:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:16:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987902720001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:16:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:16:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:16:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:16:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:16:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987902720001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:16:10] local.INFO: DEBUG: GPS processor result {"connection_id":142566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:16:10] local.INFO: GPS data processed {"connection_id":142566,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:16:10] local.INFO: Acknowledgment sent {"connection_id":142566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:16:33] local.INFO: TCP Data received {"connection_id":142567,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:16:33] local.INFO: Processing buffer {"connection_id":142567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:16:33] local.INFO: IMEI packet received {"connection_id":142567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 05:16:33] local.INFO: IMEI acknowledgment sent {"connection_id":142567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 05:16:38] local.INFO: TCP Data received {"connection_id":142567,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:16:38] local.INFO: Processing buffer {"connection_id":142567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:16:38] local.INFO: IMEI packet received {"connection_id":142567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 05:16:38] local.INFO: IMEI acknowledgment sent {"connection_id":142567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 05:16:39] local.INFO: TCP Data received {"connection_id":142567,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0ce3380012d7f980005afd7c0000a000628..."} 
[2026-07-27 05:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0ce3380012d7f980005afd7c0000a000628..."} 
[2026-07-27 05:16:39] local.INFO: Processing buffer {"connection_id":142567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0ce3380012d7f980005afd7c0000a000628..."} 
[2026-07-27 05:16:39] local.INFO: Packet analysis {"connection_id":142567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0ce"} 
[2026-07-27 05:16:39] local.INFO: Extracted packet for processing {"connection_id":142567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0ce"} 
[2026-07-27 05:16:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 05: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-07-27 05:16:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987902720001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:16:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:16:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:16:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:16:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785109296000,"timestamp_ms":1785109296000,"timestamp_seconds":1785109296,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0ce3380"} 
[2026-07-27 05:16:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 05:16:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 05: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-07-27 05: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-07-27 05: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-07-27 05:16:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 05:16:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:16:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:16:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:16:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:16:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 05:16:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:16:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:16:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987902720001,"66":25375,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:16:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:16:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:16:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987902720001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:16:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:16:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:16:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:16:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:16:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987902720001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:16:39] local.INFO: DEBUG: GPS processor result {"connection_id":142567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:16:39] local.INFO: GPS data processed {"connection_id":142567,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:16:39] local.INFO: Acknowledgment sent {"connection_id":142567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:16:45] local.INFO: TCP Data received {"connection_id":143635,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 05:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143635,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 05:16:45] local.INFO: Processing buffer {"connection_id":143635,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 05:16:45] local.INFO: IMEI packet received {"connection_id":143635,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 05:16:45] local.INFO: IMEI acknowledgment sent {"connection_id":143635,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 05:17:10] local.INFO: TCP Data received {"connection_id":142567,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0ce3380012d7f980005afd7c0000a000628..."} 
[2026-07-27 05:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0ce3380012d7f980005afd7c0000a000628..."} 
[2026-07-27 05:17:10] local.INFO: Processing buffer {"connection_id":142567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0ce3380012d7f980005afd7c0000a000628..."} 
[2026-07-27 05:17:10] local.INFO: Packet analysis {"connection_id":142567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0ce"} 
[2026-07-27 05:17:10] local.INFO: Extracted packet for processing {"connection_id":142567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0ce"} 
[2026-07-27 05:17:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 05:17:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987902720001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:17:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:17:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:17:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:17:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785109296000,"timestamp_ms":1785109296000,"timestamp_seconds":1785109296,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0ce3380"} 
[2026-07-27 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-07-27 05:17:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 05:17: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-07-27 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-07-27 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-07-27 05:17:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:17:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:17:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:17:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:17:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 05:17:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:17:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:17:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987902720001,"66":25375,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:17:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:17:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:17:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987902720001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:17:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:17:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:17:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:17:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:17:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987902720001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:17:10] local.INFO: DEBUG: GPS processor result {"connection_id":142567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:17:10] local.INFO: GPS data processed {"connection_id":142567,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:17:10] local.INFO: Acknowledgment sent {"connection_id":142567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:17:38] local.INFO: TCP Data received {"connection_id":142659,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:17:38] local.INFO: Processing buffer {"connection_id":142659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:17:38] local.INFO: IMEI packet received {"connection_id":142659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 05:17:38] local.INFO: IMEI acknowledgment sent {"connection_id":142659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 05:17:43] local.INFO: TCP Data received {"connection_id":142659,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:17:43] local.INFO: Processing buffer {"connection_id":142659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:17:43] local.INFO: IMEI packet received {"connection_id":142659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 05:17:43] local.INFO: IMEI acknowledgment sent {"connection_id":142659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 05:17:44] local.INFO: TCP Data received {"connection_id":142659,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0d2cb48012d7f980005afd7c0000a00062a..."} 
[2026-07-27 05:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0d2cb48012d7f980005afd7c0000a00062a..."} 
[2026-07-27 05:17:44] local.INFO: Processing buffer {"connection_id":142659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0d2cb48012d7f980005afd7c0000a00062a..."} 
[2026-07-27 05:17:44] local.INFO: Packet analysis {"connection_id":142659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0d2"} 
[2026-07-27 05:17:44] local.INFO: Extracted packet for processing {"connection_id":142659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0d2"} 
[2026-07-27 05:17:44] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 05:17:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 05:17:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987979776001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:17:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:17:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:17:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:17:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785109597000,"timestamp_ms":1785109597000,"timestamp_seconds":1785109597,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0d2cb48"} 
[2026-07-27 05:17:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 05:17:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 05:17: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":31,"data_length":795,"current_offset":136} 
[2026-07-27 05:17:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 05:17:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 05:17:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 05:17:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:17:44] local.INFO: Teltonika packet parsed successfully {"connection_id":142659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:17:44] local.INFO: Passing IMEI to GPS processor {"connection_id":142659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:17:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":142659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:17: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-07-27 05:17:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:17:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:17:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987979776001,"66":25321,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:17:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:17:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:17:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987979776001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:17:44] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:17:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:17:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:17:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:17:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987979776001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:17:44] local.INFO: DEBUG: GPS processor result {"connection_id":142659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:17:44] local.INFO: GPS data processed {"connection_id":142659,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:17:44] local.INFO: Acknowledgment sent {"connection_id":142659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:17:48] local.INFO: TCP Data received {"connection_id":142659,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0d2cb48012d7f980005afd7c0000a00062a..."} 
[2026-07-27 05:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0d2cb48012d7f980005afd7c0000a00062a..."} 
[2026-07-27 05:17:48] local.INFO: Processing buffer {"connection_id":142659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0d2cb48012d7f980005afd7c0000a00062a..."} 
[2026-07-27 05:17:48] local.INFO: Packet analysis {"connection_id":142659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0d2"} 
[2026-07-27 05:17:48] local.INFO: Extracted packet for processing {"connection_id":142659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0d2"} 
[2026-07-27 05:17:48] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 05:17:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 05:17:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987979776001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:17:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:17:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:17:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:17:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785109597000,"timestamp_ms":1785109597000,"timestamp_seconds":1785109597,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0d2cb48"} 
[2026-07-27 05:17:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 05:17:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 05: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 05:17:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 05:17:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 05:17:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 05:17:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:17:48] local.INFO: Teltonika packet parsed successfully {"connection_id":142659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:17:48] local.INFO: Passing IMEI to GPS processor {"connection_id":142659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:17:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":142659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:17:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 05:17:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:17:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:17:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987979776001,"66":25321,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:17:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:17:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:17:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987979776001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:17:48] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:17:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:17:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:17:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:17:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987979776001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:17:48] local.INFO: DEBUG: GPS processor result {"connection_id":142659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:17:48] local.INFO: GPS data processed {"connection_id":142659,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:17:48] local.INFO: Acknowledgment sent {"connection_id":142659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:18:33] local.INFO: TCP Data received {"connection_id":142568,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:18:33] local.INFO: Processing buffer {"connection_id":142568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:18:33] local.INFO: IMEI packet received {"connection_id":142568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 05:18:33] local.INFO: IMEI acknowledgment sent {"connection_id":142568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 05:18:38] local.INFO: TCP Data received {"connection_id":142568,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:18:38] local.INFO: Processing buffer {"connection_id":142568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:18:38] local.INFO: IMEI packet received {"connection_id":142568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 05:18:38] local.INFO: IMEI acknowledgment sent {"connection_id":142568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 05:18:39] local.INFO: TCP Data received {"connection_id":142568,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0d2cb48012d7f980005afd7c0000a00062a..."} 
[2026-07-27 05:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0d2cb48012d7f980005afd7c0000a00062a..."} 
[2026-07-27 05:18:39] local.INFO: Processing buffer {"connection_id":142568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0d2cb48012d7f980005afd7c0000a00062a..."} 
[2026-07-27 05:18:39] local.INFO: Packet analysis {"connection_id":142568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0d2"} 
[2026-07-27 05:18:39] local.INFO: Extracted packet for processing {"connection_id":142568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0d2"} 
[2026-07-27 05:18:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 05:18:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 05:18:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987979776001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:18:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:18:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:18:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:18:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785109597000,"timestamp_ms":1785109597000,"timestamp_seconds":1785109597,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0d2cb48"} 
[2026-07-27 05:18:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 05:18:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 05: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":31,"data_length":795,"current_offset":136} 
[2026-07-27 05:18: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-07-27 05:18:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 05:18:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 05:18:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:18:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:18:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:18:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:18:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 05:18:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:18:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:18:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987979776001,"66":25321,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:18:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:18:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:18:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987979776001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:18:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:18:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:18:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:18:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:18:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987979776001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:18:39] local.INFO: DEBUG: GPS processor result {"connection_id":142568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:18:39] local.INFO: GPS data processed {"connection_id":142568,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:18:39] local.INFO: Acknowledgment sent {"connection_id":142568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:19:10] local.INFO: TCP Data received {"connection_id":142568,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0d2cb48012d7f980005afd7c0000a00062a..."} 
[2026-07-27 05:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0d2cb48012d7f980005afd7c0000a00062a..."} 
[2026-07-27 05:19:10] local.INFO: Processing buffer {"connection_id":142568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0d2cb48012d7f980005afd7c0000a00062a..."} 
[2026-07-27 05:19:10] local.INFO: Packet analysis {"connection_id":142568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0d2"} 
[2026-07-27 05:19:10] local.INFO: Extracted packet for processing {"connection_id":142568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0d2"} 
[2026-07-27 05:19:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 05:19:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 05:19:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987979776001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:19:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:19:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:19:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:19:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785109597000,"timestamp_ms":1785109597000,"timestamp_seconds":1785109597,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0d2cb48"} 
[2026-07-27 05:19:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 05:19:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 05: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":31,"data_length":795,"current_offset":136} 
[2026-07-27 05:19: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-07-27 05:19:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 05:19:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 05:19:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:19:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:19:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:19:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:19:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 05:19:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:19:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:19:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987979776001,"66":25321,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:19:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:19:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:19:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987979776001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:19:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:19:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:19:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:19:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:19:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987979776001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:19:10] local.INFO: DEBUG: GPS processor result {"connection_id":142568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:19:10] local.INFO: GPS data processed {"connection_id":142568,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:19:10] local.INFO: Acknowledgment sent {"connection_id":142568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:19:33] local.INFO: TCP Data received {"connection_id":143636,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:19:33] local.INFO: Processing buffer {"connection_id":143636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:19:33] local.INFO: IMEI packet received {"connection_id":143636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 05:19:33] local.INFO: IMEI acknowledgment sent {"connection_id":143636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 05:19:38] local.INFO: TCP Data received {"connection_id":143636,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:19:38] local.INFO: Processing buffer {"connection_id":143636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:19:38] local.INFO: IMEI packet received {"connection_id":143636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 05:19:38] local.INFO: IMEI acknowledgment sent {"connection_id":143636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 05:19:39] local.INFO: TCP Data received {"connection_id":143636,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0d2cb48012d7f980005afd7c0000a00062a..."} 
[2026-07-27 05:19:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0d2cb48012d7f980005afd7c0000a00062a..."} 
[2026-07-27 05:19:39] local.INFO: Processing buffer {"connection_id":143636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0d2cb48012d7f980005afd7c0000a00062a..."} 
[2026-07-27 05:19:39] local.INFO: Packet analysis {"connection_id":143636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0d2"} 
[2026-07-27 05:19:39] local.INFO: Extracted packet for processing {"connection_id":143636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0d2"} 
[2026-07-27 05:19:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 05:19:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 05:19:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987979776001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:19:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:19:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:19:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:19:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785109597000,"timestamp_ms":1785109597000,"timestamp_seconds":1785109597,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0d2cb48"} 
[2026-07-27 05:19:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 05:19:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 05: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-07-27 05: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-07-27 05:19:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 05:19:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 05:19:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:19:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:19:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:19:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:19:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 05:19:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:19:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:19:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987979776001,"66":25321,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:19:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:19:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:19:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987979776001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:19:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:19:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:19:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:19:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:19:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987979776001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:19:39] local.INFO: DEBUG: GPS processor result {"connection_id":143636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:19:39] local.INFO: GPS data processed {"connection_id":143636,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:19:39] local.INFO: Acknowledgment sent {"connection_id":143636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:20:10] local.INFO: TCP Data received {"connection_id":143636,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0d2cb48012d7f980005afd7c0000a00062a..."} 
[2026-07-27 05:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0d2cb48012d7f980005afd7c0000a00062a..."} 
[2026-07-27 05:20:10] local.INFO: Processing buffer {"connection_id":143636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0d2cb48012d7f980005afd7c0000a00062a..."} 
[2026-07-27 05:20:10] local.INFO: Packet analysis {"connection_id":143636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0d2"} 
[2026-07-27 05:20:10] local.INFO: Extracted packet for processing {"connection_id":143636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0d2"} 
[2026-07-27 05:20:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 05:20:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987979776001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:20:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:20:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:20:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:20:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785109597000,"timestamp_ms":1785109597000,"timestamp_seconds":1785109597,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0d2cb48"} 
[2026-07-27 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-07-27 05:20:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 05:20: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-07-27 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-07-27 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-07-27 05:20:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:20:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:20:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:20:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:20:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 05:20:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:20:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:20:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987979776001,"66":25321,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:20:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:20:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:20:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987979776001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:20:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:20:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:20:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:20:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:20:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987979776001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:20:10] local.INFO: DEBUG: GPS processor result {"connection_id":143636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:20:10] local.INFO: GPS data processed {"connection_id":143636,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:20:10] local.INFO: Acknowledgment sent {"connection_id":143636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:20:33] local.INFO: TCP Data received {"connection_id":144957,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:20:33] local.INFO: Processing buffer {"connection_id":144957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:20:33] local.INFO: IMEI packet received {"connection_id":144957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 05:20:33] local.INFO: IMEI acknowledgment sent {"connection_id":144957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 05:20:38] local.INFO: TCP Data received {"connection_id":144957,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:20:38] local.INFO: Processing buffer {"connection_id":144957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:20:38] local.INFO: IMEI packet received {"connection_id":144957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 05:20:38] local.INFO: IMEI acknowledgment sent {"connection_id":144957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 05:20:39] local.INFO: TCP Data received {"connection_id":144957,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0d2cb48012d7f980005afd7c0000a00062a..."} 
[2026-07-27 05:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0d2cb48012d7f980005afd7c0000a00062a..."} 
[2026-07-27 05:20:39] local.INFO: Processing buffer {"connection_id":144957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0d2cb48012d7f980005afd7c0000a00062a..."} 
[2026-07-27 05:20:39] local.INFO: Packet analysis {"connection_id":144957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0d2"} 
[2026-07-27 05:20:39] local.INFO: Extracted packet for processing {"connection_id":144957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0d2"} 
[2026-07-27 05:20:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 05:20:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 05:20:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987979776001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:20:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:20:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:20:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:20:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785109597000,"timestamp_ms":1785109597000,"timestamp_seconds":1785109597,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0d2cb48"} 
[2026-07-27 05:20:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 05:20:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 05: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":31,"data_length":795,"current_offset":136} 
[2026-07-27 05:20: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-07-27 05:20:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 05:20:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 05:20:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:20:39] local.INFO: Teltonika packet parsed successfully {"connection_id":144957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:20:39] local.INFO: Passing IMEI to GPS processor {"connection_id":144957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:20:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":144957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:20:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 05:20:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:20:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:20:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987979776001,"66":25321,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:20:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:20:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:20:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987979776001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:20:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:20:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:20:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:20:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:20:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987979776001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:20:39] local.INFO: DEBUG: GPS processor result {"connection_id":144957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:20:39] local.INFO: GPS data processed {"connection_id":144957,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:20:39] local.INFO: Acknowledgment sent {"connection_id":144957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:21:10] local.INFO: TCP Data received {"connection_id":144957,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0d2cb48012d7f980005afd7c0000a00062a..."} 
[2026-07-27 05:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0d2cb48012d7f980005afd7c0000a00062a..."} 
[2026-07-27 05:21:10] local.INFO: Processing buffer {"connection_id":144957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0d2cb48012d7f980005afd7c0000a00062a..."} 
[2026-07-27 05:21:10] local.INFO: Packet analysis {"connection_id":144957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0d2"} 
[2026-07-27 05:21:10] local.INFO: Extracted packet for processing {"connection_id":144957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0d2"} 
[2026-07-27 05:21:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 05:21:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987979776001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:21:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:21:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:21:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:21:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785109597000,"timestamp_ms":1785109597000,"timestamp_seconds":1785109597,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0d2cb48"} 
[2026-07-27 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-07-27 05:21:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 05:21: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-07-27 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-07-27 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-07-27 05:21:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:21:10] local.INFO: Teltonika packet parsed successfully {"connection_id":144957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:21:10] local.INFO: Passing IMEI to GPS processor {"connection_id":144957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:21:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":144957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:21:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 05:21:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:21:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:21:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987979776001,"66":25321,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:21:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:21:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:21:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987979776001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:21:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:21:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:21:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:21:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:21:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987979776001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:21:10] local.INFO: DEBUG: GPS processor result {"connection_id":144957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:21:10] local.INFO: GPS data processed {"connection_id":144957,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:21:10] local.INFO: Acknowledgment sent {"connection_id":144957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:21:33] local.INFO: TCP Data received {"connection_id":142660,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:21:33] local.INFO: Processing buffer {"connection_id":142660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:21:33] local.INFO: IMEI packet received {"connection_id":142660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 05:21:33] local.INFO: IMEI acknowledgment sent {"connection_id":142660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 05:21:38] local.INFO: TCP Data received {"connection_id":142660,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:21:38] local.INFO: Processing buffer {"connection_id":142660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:21:38] local.INFO: IMEI packet received {"connection_id":142660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 05:21:38] local.INFO: IMEI acknowledgment sent {"connection_id":142660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 05:21:39] local.INFO: TCP Data received {"connection_id":142660,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0d2cb48012d7f980005afd7c0000a00062a..."} 
[2026-07-27 05:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0d2cb48012d7f980005afd7c0000a00062a..."} 
[2026-07-27 05:21:39] local.INFO: Processing buffer {"connection_id":142660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0d2cb48012d7f980005afd7c0000a00062a..."} 
[2026-07-27 05:21:39] local.INFO: Packet analysis {"connection_id":142660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0d2"} 
[2026-07-27 05:21:39] local.INFO: Extracted packet for processing {"connection_id":142660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0d2"} 
[2026-07-27 05:21:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 05:21:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 05:21:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987979776001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:21:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:21:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:21:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:21:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785109597000,"timestamp_ms":1785109597000,"timestamp_seconds":1785109597,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0d2cb48"} 
[2026-07-27 05:21:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 05:21:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 05:21:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 05:21:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 05:21:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 05:21:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 05:21:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:21:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:21:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:21:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:21:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 05:21:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:21:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:21:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987979776001,"66":25321,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:21:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:21:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:21:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987979776001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:21:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:21:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:21:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:21:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:21:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987979776001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:21:39] local.INFO: DEBUG: GPS processor result {"connection_id":142660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:21:39] local.INFO: GPS data processed {"connection_id":142660,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:21:39] local.INFO: Acknowledgment sent {"connection_id":142660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:22:10] local.INFO: TCP Data received {"connection_id":142660,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0d2cb48012d7f980005afd7c0000a00062a..."} 
[2026-07-27 05:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0d2cb48012d7f980005afd7c0000a00062a..."} 
[2026-07-27 05:22:10] local.INFO: Processing buffer {"connection_id":142660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0d2cb48012d7f980005afd7c0000a00062a..."} 
[2026-07-27 05:22:10] local.INFO: Packet analysis {"connection_id":142660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0d2"} 
[2026-07-27 05:22:10] local.INFO: Extracted packet for processing {"connection_id":142660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0d2"} 
[2026-07-27 05:22:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 05:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 05:22:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456987979776001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:22:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:22:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:22:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:22:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785109597000,"timestamp_ms":1785109597000,"timestamp_seconds":1785109597,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0d2cb48"} 
[2026-07-27 05:22:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 05:22:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 05: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":31,"data_length":795,"current_offset":136} 
[2026-07-27 05:22: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-07-27 05:22:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 05:22:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 05:22:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:22:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:22:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:22:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:22:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 05:22:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:22:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:22:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456987979776001,"66":25321,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:22:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:22:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:22:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456987979776001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:22:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:22:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:22:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:22:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:22:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456987979776001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:22:10] local.INFO: DEBUG: GPS processor result {"connection_id":142660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:22:10] local.INFO: GPS data processed {"connection_id":142660,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:22:10] local.INFO: Acknowledgment sent {"connection_id":142660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:22:15] local.INFO: TCP Data received {"connection_id":142661,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 05:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142661,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 05:22:15] local.INFO: Processing buffer {"connection_id":142661,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 05:22:15] local.INFO: IMEI packet received {"connection_id":142661,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 05:22:15] local.INFO: IMEI acknowledgment sent {"connection_id":142661,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 05:22:38] local.INFO: TCP Data received {"connection_id":142662,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:22:38] local.INFO: Processing buffer {"connection_id":142662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:22:38] local.INFO: IMEI packet received {"connection_id":142662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 05:22:38] local.INFO: IMEI acknowledgment sent {"connection_id":142662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 05:22:43] local.INFO: TCP Data received {"connection_id":142662,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:22:43] local.INFO: Processing buffer {"connection_id":142662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:22:43] local.INFO: IMEI packet received {"connection_id":142662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 05:22:43] local.INFO: IMEI acknowledgment sent {"connection_id":142662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 05:22:44] local.INFO: TCP Data received {"connection_id":142662,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0d76310012d7f980005afd7c0000a000629..."} 
[2026-07-27 05:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0d76310012d7f980005afd7c0000a000629..."} 
[2026-07-27 05:22:44] local.INFO: Processing buffer {"connection_id":142662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0d76310012d7f980005afd7c0000a000629..."} 
[2026-07-27 05:22:44] local.INFO: Packet analysis {"connection_id":142662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0d7"} 
[2026-07-27 05:22:44] local.INFO: Extracted packet for processing {"connection_id":142662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0d7"} 
[2026-07-27 05:22:44] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 05:22:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 05:22:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988056832001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:22:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:22:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:22:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:22:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785109898000,"timestamp_ms":1785109898000,"timestamp_seconds":1785109898,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0d76310"} 
[2026-07-27 05:22:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 05:22:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 05:22:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 05:22: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-07-27 05:22:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 05:22:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 05:22:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:22:44] local.INFO: Teltonika packet parsed successfully {"connection_id":142662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:22:44] local.INFO: Passing IMEI to GPS processor {"connection_id":142662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:22:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":142662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:22: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-07-27 05:22:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:22:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:22:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988056832001,"66":25375,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:22:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:22:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:22:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988056832001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:22:44] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:22:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:22:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:22:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:22:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988056832001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:22:44] local.INFO: DEBUG: GPS processor result {"connection_id":142662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:22:44] local.INFO: GPS data processed {"connection_id":142662,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:22:44] local.INFO: Acknowledgment sent {"connection_id":142662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:22:48] local.INFO: TCP Data received {"connection_id":142662,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0d76310012d7f980005afd7c0000a000629..."} 
[2026-07-27 05:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0d76310012d7f980005afd7c0000a000629..."} 
[2026-07-27 05:22:48] local.INFO: Processing buffer {"connection_id":142662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0d76310012d7f980005afd7c0000a000629..."} 
[2026-07-27 05:22:48] local.INFO: Packet analysis {"connection_id":142662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0d7"} 
[2026-07-27 05:22:48] local.INFO: Extracted packet for processing {"connection_id":142662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0d7"} 
[2026-07-27 05:22:48] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 05:22:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 05:22:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988056832001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:22:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:22:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:22:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:22:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785109898000,"timestamp_ms":1785109898000,"timestamp_seconds":1785109898,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0d76310"} 
[2026-07-27 05:22:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 05:22:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 05:22:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 05:22:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 05:22:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 05:22:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 05:22:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:22:48] local.INFO: Teltonika packet parsed successfully {"connection_id":142662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:22:48] local.INFO: Passing IMEI to GPS processor {"connection_id":142662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:22:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":142662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:22:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 05:22:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:22:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:22:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988056832001,"66":25375,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:22:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:22:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:22:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988056832001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:22:48] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:22:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:22:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:22:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:22:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988056832001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:22:48] local.INFO: DEBUG: GPS processor result {"connection_id":142662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:22:48] local.INFO: GPS data processed {"connection_id":142662,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:22:48] local.INFO: Acknowledgment sent {"connection_id":142662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:22:50] local.INFO: TCP Data received {"connection_id":142570,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 05:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142570,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 05:22:50] local.INFO: Processing buffer {"connection_id":142570,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 05:22:50] local.INFO: IMEI packet received {"connection_id":142570,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 05:22:50] local.INFO: IMEI acknowledgment sent {"connection_id":142570,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 05:23:33] local.INFO: TCP Data received {"connection_id":142571,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:23:33] local.INFO: Processing buffer {"connection_id":142571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:23:33] local.INFO: IMEI packet received {"connection_id":142571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 05:23:33] local.INFO: IMEI acknowledgment sent {"connection_id":142571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 05:23:38] local.INFO: TCP Data received {"connection_id":142571,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:23:38] local.INFO: Processing buffer {"connection_id":142571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:23:38] local.INFO: IMEI packet received {"connection_id":142571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 05:23:38] local.INFO: IMEI acknowledgment sent {"connection_id":142571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 05:23:39] local.INFO: TCP Data received {"connection_id":142571,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0d76310012d7f980005afd7c0000a000629..."} 
[2026-07-27 05:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0d76310012d7f980005afd7c0000a000629..."} 
[2026-07-27 05:23:39] local.INFO: Processing buffer {"connection_id":142571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0d76310012d7f980005afd7c0000a000629..."} 
[2026-07-27 05:23:39] local.INFO: Packet analysis {"connection_id":142571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0d7"} 
[2026-07-27 05:23:39] local.INFO: Extracted packet for processing {"connection_id":142571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0d7"} 
[2026-07-27 05:23:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 05:23:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 05:23:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988056832001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:23:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:23:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:23:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:23:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785109898000,"timestamp_ms":1785109898000,"timestamp_seconds":1785109898,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0d76310"} 
[2026-07-27 05:23:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 05:23:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 05:23:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 05:23:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 05:23:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 05:23:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 05:23:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:23:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:23:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:23:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:23:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 05:23:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:23:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:23:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988056832001,"66":25375,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:23:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:23:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:23:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988056832001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:23:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:23:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:23:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:23:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:23:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988056832001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:23:39] local.INFO: DEBUG: GPS processor result {"connection_id":142571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:23:39] local.INFO: GPS data processed {"connection_id":142571,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:23:39] local.INFO: Acknowledgment sent {"connection_id":142571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:24:10] local.INFO: TCP Data received {"connection_id":142571,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0d76310012d7f980005afd7c0000a000629..."} 
[2026-07-27 05:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0d76310012d7f980005afd7c0000a000629..."} 
[2026-07-27 05:24:10] local.INFO: Processing buffer {"connection_id":142571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0d76310012d7f980005afd7c0000a000629..."} 
[2026-07-27 05:24:10] local.INFO: Packet analysis {"connection_id":142571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0d7"} 
[2026-07-27 05:24:10] local.INFO: Extracted packet for processing {"connection_id":142571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0d7"} 
[2026-07-27 05:24:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 05:24:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988056832001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:24:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:24:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:24:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:24:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785109898000,"timestamp_ms":1785109898000,"timestamp_seconds":1785109898,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0d76310"} 
[2026-07-27 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-07-27 05:24:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 05:24:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 05:24:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:24:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:24:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:24:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:24:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 05:24:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:24:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:24:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988056832001,"66":25375,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:24:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:24:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:24:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988056832001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:24:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:24:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:24:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:24:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:24:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988056832001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:24:10] local.INFO: DEBUG: GPS processor result {"connection_id":142571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:24:10] local.INFO: GPS data processed {"connection_id":142571,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:24:10] local.INFO: Acknowledgment sent {"connection_id":142571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:24:33] local.INFO: TCP Data received {"connection_id":142664,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:24:33] local.INFO: Processing buffer {"connection_id":142664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:24:33] local.INFO: IMEI packet received {"connection_id":142664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 05:24:33] local.INFO: IMEI acknowledgment sent {"connection_id":142664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 05:24:38] local.INFO: TCP Data received {"connection_id":142664,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:24:38] local.INFO: Processing buffer {"connection_id":142664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:24:38] local.INFO: IMEI packet received {"connection_id":142664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 05:24:38] local.INFO: IMEI acknowledgment sent {"connection_id":142664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 05:24:39] local.INFO: TCP Data received {"connection_id":142664,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0d76310012d7f980005afd7c0000a000629..."} 
[2026-07-27 05:24:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0d76310012d7f980005afd7c0000a000629..."} 
[2026-07-27 05:24:39] local.INFO: Processing buffer {"connection_id":142664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0d76310012d7f980005afd7c0000a000629..."} 
[2026-07-27 05:24:39] local.INFO: Packet analysis {"connection_id":142664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0d7"} 
[2026-07-27 05:24:39] local.INFO: Extracted packet for processing {"connection_id":142664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0d7"} 
[2026-07-27 05:24:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 05:24:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 05:24:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988056832001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:24:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:24:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:24:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:24:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785109898000,"timestamp_ms":1785109898000,"timestamp_seconds":1785109898,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0d76310"} 
[2026-07-27 05:24:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 05:24:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 05: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 05:24:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 05:24:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 05:24:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 05:24:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:24:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:24:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:24:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:24:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 05:24:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:24:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:24:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988056832001,"66":25375,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:24:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:24:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:24:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988056832001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:24:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:24:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:24:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:24:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:24:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988056832001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:24:39] local.INFO: DEBUG: GPS processor result {"connection_id":142664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:24:39] local.INFO: GPS data processed {"connection_id":142664,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:24:39] local.INFO: Acknowledgment sent {"connection_id":142664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:25:10] local.INFO: TCP Data received {"connection_id":142664,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0d76310012d7f980005afd7c0000a000629..."} 
[2026-07-27 05:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0d76310012d7f980005afd7c0000a000629..."} 
[2026-07-27 05:25:10] local.INFO: Processing buffer {"connection_id":142664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0d76310012d7f980005afd7c0000a000629..."} 
[2026-07-27 05:25:10] local.INFO: Packet analysis {"connection_id":142664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0d7"} 
[2026-07-27 05:25:10] local.INFO: Extracted packet for processing {"connection_id":142664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0d7"} 
[2026-07-27 05:25:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 05:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 05:25:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988056832001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:25:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:25:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:25:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:25:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785109898000,"timestamp_ms":1785109898000,"timestamp_seconds":1785109898,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0d76310"} 
[2026-07-27 05:25:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 05:25:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 05:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 05:25:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 05:25:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 05:25:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 05:25:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:25:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:25:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:25:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05: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-07-27 05:25:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:25:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:25:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988056832001,"66":25375,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:25:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:25:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:25:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988056832001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:25:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:25:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:25:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:25:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:25:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988056832001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:25:10] local.INFO: DEBUG: GPS processor result {"connection_id":142664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:25:10] local.INFO: GPS data processed {"connection_id":142664,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:25:10] local.INFO: Acknowledgment sent {"connection_id":142664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:25:33] local.INFO: TCP Data received {"connection_id":142572,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:25:33] local.INFO: Processing buffer {"connection_id":142572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:25:33] local.INFO: IMEI packet received {"connection_id":142572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 05:25:33] local.INFO: IMEI acknowledgment sent {"connection_id":142572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 05:25:38] local.INFO: TCP Data received {"connection_id":142572,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:25:38] local.INFO: Processing buffer {"connection_id":142572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:25:38] local.INFO: IMEI packet received {"connection_id":142572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 05:25:38] local.INFO: IMEI acknowledgment sent {"connection_id":142572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 05:25:39] local.INFO: TCP Data received {"connection_id":142572,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0d76310012d7f980005afd7c0000a000629..."} 
[2026-07-27 05:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0d76310012d7f980005afd7c0000a000629..."} 
[2026-07-27 05:25:39] local.INFO: Processing buffer {"connection_id":142572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0d76310012d7f980005afd7c0000a000629..."} 
[2026-07-27 05:25:39] local.INFO: Packet analysis {"connection_id":142572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0d7"} 
[2026-07-27 05:25:39] local.INFO: Extracted packet for processing {"connection_id":142572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0d7"} 
[2026-07-27 05:25:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 05:25:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 05:25:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988056832001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:25:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:25:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:25:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:25:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785109898000,"timestamp_ms":1785109898000,"timestamp_seconds":1785109898,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0d76310"} 
[2026-07-27 05:25:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 05:25:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 05: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 05:25:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 05:25:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 05:25:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 05:25:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:25:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:25:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:25:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:25:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 05:25:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:25:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:25:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988056832001,"66":25375,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:25:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:25:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:25:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988056832001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:25:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:25:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:25:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:25:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:25:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988056832001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:25:39] local.INFO: DEBUG: GPS processor result {"connection_id":142572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:25:39] local.INFO: GPS data processed {"connection_id":142572,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:25:39] local.INFO: Acknowledgment sent {"connection_id":142572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:26:10] local.INFO: TCP Data received {"connection_id":142572,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0d76310012d7f980005afd7c0000a000629..."} 
[2026-07-27 05:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0d76310012d7f980005afd7c0000a000629..."} 
[2026-07-27 05:26:10] local.INFO: Processing buffer {"connection_id":142572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0d76310012d7f980005afd7c0000a000629..."} 
[2026-07-27 05:26:10] local.INFO: Packet analysis {"connection_id":142572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0d7"} 
[2026-07-27 05:26:10] local.INFO: Extracted packet for processing {"connection_id":142572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0d7"} 
[2026-07-27 05:26:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 05:26:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988056832001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:26:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:26:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:26:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:26:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785109898000,"timestamp_ms":1785109898000,"timestamp_seconds":1785109898,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0d76310"} 
[2026-07-27 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-07-27 05:26:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 05:26:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 05:26:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:26:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:26:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:26:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:26:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 05:26:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:26:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:26:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988056832001,"66":25375,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:26:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:26:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:26:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988056832001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:26:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:26:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:26:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:26:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:26:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988056832001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:26:10] local.INFO: DEBUG: GPS processor result {"connection_id":142572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:26:10] local.INFO: GPS data processed {"connection_id":142572,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:26:10] local.INFO: Acknowledgment sent {"connection_id":142572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:26:33] local.INFO: TCP Data received {"connection_id":143637,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:26:33] local.INFO: Processing buffer {"connection_id":143637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:26:33] local.INFO: IMEI packet received {"connection_id":143637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 05:26:33] local.INFO: IMEI acknowledgment sent {"connection_id":143637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 05:26:38] local.INFO: TCP Data received {"connection_id":143637,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:26:38] local.INFO: Processing buffer {"connection_id":143637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:26:38] local.INFO: IMEI packet received {"connection_id":143637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 05:26:38] local.INFO: IMEI acknowledgment sent {"connection_id":143637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 05:26:39] local.INFO: TCP Data received {"connection_id":143637,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0d76310012d7f980005afd7c0000a000629..."} 
[2026-07-27 05:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143637,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0d76310012d7f980005afd7c0000a000629..."} 
[2026-07-27 05:26:39] local.INFO: Processing buffer {"connection_id":143637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0d76310012d7f980005afd7c0000a000629..."} 
[2026-07-27 05:26:39] local.INFO: Packet analysis {"connection_id":143637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0d7"} 
[2026-07-27 05:26:39] local.INFO: Extracted packet for processing {"connection_id":143637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0d7"} 
[2026-07-27 05:26:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 05:26:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 05:26:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988056832001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:26:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:26:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:26:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:26:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785109898000,"timestamp_ms":1785109898000,"timestamp_seconds":1785109898,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0d76310"} 
[2026-07-27 05:26:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 05:26:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 05:26:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 05:26:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 05:26:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 05:26:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 05:26:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:26:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:26:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:26:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:26:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 05:26:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:26:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:26:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988056832001,"66":25375,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:26:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:26:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:26:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988056832001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:26:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:26:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:26:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:26:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:26:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988056832001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:26:39] local.INFO: DEBUG: GPS processor result {"connection_id":143637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:26:39] local.INFO: GPS data processed {"connection_id":143637,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:26:39] local.INFO: Acknowledgment sent {"connection_id":143637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:27:10] local.INFO: TCP Data received {"connection_id":143637,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0d76310012d7f980005afd7c0000a000629..."} 
[2026-07-27 05:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143637,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0d76310012d7f980005afd7c0000a000629..."} 
[2026-07-27 05:27:10] local.INFO: Processing buffer {"connection_id":143637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0d76310012d7f980005afd7c0000a000629..."} 
[2026-07-27 05:27:10] local.INFO: Packet analysis {"connection_id":143637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0d7"} 
[2026-07-27 05:27:10] local.INFO: Extracted packet for processing {"connection_id":143637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0d7"} 
[2026-07-27 05:27:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 05:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 05:27:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988056832001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:27:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:27:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:27:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:27:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785109898000,"timestamp_ms":1785109898000,"timestamp_seconds":1785109898,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0d76310"} 
[2026-07-27 05:27:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 05:27:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 05:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 05:27:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 05:27:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 05:27:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 05:27:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:27:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:27:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:27:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:27:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 05:27:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:27:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:27:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988056832001,"66":25375,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:27:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:27:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:27:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988056832001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:27:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:27:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:27:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:27:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:27:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988056832001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:27:10] local.INFO: DEBUG: GPS processor result {"connection_id":143637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:27:10] local.INFO: GPS data processed {"connection_id":143637,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:27:10] local.INFO: Acknowledgment sent {"connection_id":143637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:27:38] local.INFO: TCP Data received {"connection_id":142667,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:27:38] local.INFO: Processing buffer {"connection_id":142667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:27:38] local.INFO: IMEI packet received {"connection_id":142667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 05:27:38] local.INFO: IMEI acknowledgment sent {"connection_id":142667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 05:27:43] local.INFO: TCP Data received {"connection_id":142667,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:27:43] local.INFO: Processing buffer {"connection_id":142667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:27:43] local.INFO: IMEI packet received {"connection_id":142667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 05:27:43] local.INFO: IMEI acknowledgment sent {"connection_id":142667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 05:27:44] local.INFO: TCP Data received {"connection_id":142667,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0dbfad8012d7f980005afd7c0000a000629..."} 
[2026-07-27 05:27:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0dbfad8012d7f980005afd7c0000a000629..."} 
[2026-07-27 05:27:44] local.INFO: Processing buffer {"connection_id":142667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0dbfad8012d7f980005afd7c0000a000629..."} 
[2026-07-27 05:27:44] local.INFO: Packet analysis {"connection_id":142667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0db"} 
[2026-07-27 05:27:44] local.INFO: Extracted packet for processing {"connection_id":142667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0db"} 
[2026-07-27 05:27:44] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 05:27:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 05:27:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988133888001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:27:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:27:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:27:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:27:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785110199000,"timestamp_ms":1785110199000,"timestamp_seconds":1785110199,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0dbfad8"} 
[2026-07-27 05:27:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 05:27:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 05:27:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 05:27:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 05:27:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 05:27:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 05:27:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:27:44] local.INFO: Teltonika packet parsed successfully {"connection_id":142667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:27:44] local.INFO: Passing IMEI to GPS processor {"connection_id":142667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:27:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":142667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:27: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-07-27 05:27:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:27:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:27:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988133888001,"66":25375,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:27:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:27:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:27:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988133888001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:27:44] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:27:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:27:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:27:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:27:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988133888001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:27:44] local.INFO: DEBUG: GPS processor result {"connection_id":142667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:27:44] local.INFO: GPS data processed {"connection_id":142667,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:27:44] local.INFO: Acknowledgment sent {"connection_id":142667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:27:49] local.INFO: TCP Data received {"connection_id":142667,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0dbfad8012d7f980005afd7c0000a000629..."} 
[2026-07-27 05:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0dbfad8012d7f980005afd7c0000a000629..."} 
[2026-07-27 05:27:49] local.INFO: Processing buffer {"connection_id":142667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0dbfad8012d7f980005afd7c0000a000629..."} 
[2026-07-27 05:27:49] local.INFO: Packet analysis {"connection_id":142667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0db"} 
[2026-07-27 05:27:49] local.INFO: Extracted packet for processing {"connection_id":142667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0db"} 
[2026-07-27 05:27:49] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 05: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-07-27 05:27:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988133888001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:27:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:27:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:27:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:27:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785110199000,"timestamp_ms":1785110199000,"timestamp_seconds":1785110199,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0dbfad8"} 
[2026-07-27 05:27:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 05:27: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-07-27 05: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 05:27: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-07-27 05: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-07-27 05:27:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 05:27:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:27:49] local.INFO: Teltonika packet parsed successfully {"connection_id":142667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:27:49] local.INFO: Passing IMEI to GPS processor {"connection_id":142667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:27:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":142667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:27:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 05:27:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:27:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:27:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988133888001,"66":25375,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:27:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:27:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:27:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988133888001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:27:49] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:27:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:27:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:27:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:27:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988133888001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:27:49] local.INFO: DEBUG: GPS processor result {"connection_id":142667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:27:49] local.INFO: GPS data processed {"connection_id":142667,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:27:49] local.INFO: Acknowledgment sent {"connection_id":142667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:28:33] local.INFO: TCP Data received {"connection_id":144960,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:28:33] local.INFO: Processing buffer {"connection_id":144960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:28:33] local.INFO: IMEI packet received {"connection_id":144960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 05:28:33] local.INFO: IMEI acknowledgment sent {"connection_id":144960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 05:28:38] local.INFO: TCP Data received {"connection_id":144960,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:28:38] local.INFO: Processing buffer {"connection_id":144960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:28:38] local.INFO: IMEI packet received {"connection_id":144960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 05:28:38] local.INFO: IMEI acknowledgment sent {"connection_id":144960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 05:28:39] local.INFO: TCP Data received {"connection_id":144960,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0dbfad8012d7f980005afd7c0000a000629..."} 
[2026-07-27 05:28:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0dbfad8012d7f980005afd7c0000a000629..."} 
[2026-07-27 05:28:39] local.INFO: Processing buffer {"connection_id":144960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0dbfad8012d7f980005afd7c0000a000629..."} 
[2026-07-27 05:28:39] local.INFO: Packet analysis {"connection_id":144960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0db"} 
[2026-07-27 05:28:39] local.INFO: Extracted packet for processing {"connection_id":144960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0db"} 
[2026-07-27 05:28:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 05:28:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 05:28:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988133888001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:28:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:28:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:28:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:28:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785110199000,"timestamp_ms":1785110199000,"timestamp_seconds":1785110199,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0dbfad8"} 
[2026-07-27 05:28:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 05:28:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 05: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":31,"data_length":795,"current_offset":136} 
[2026-07-27 05:28: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-07-27 05:28:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 05:28:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 05:28:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:28:39] local.INFO: Teltonika packet parsed successfully {"connection_id":144960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:28:39] local.INFO: Passing IMEI to GPS processor {"connection_id":144960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:28:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":144960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:28:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 05:28:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:28:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:28:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988133888001,"66":25375,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:28:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:28:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:28:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988133888001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:28:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:28:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:28:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:28:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:28:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988133888001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:28:39] local.INFO: DEBUG: GPS processor result {"connection_id":144960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:28:39] local.INFO: GPS data processed {"connection_id":144960,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:28:39] local.INFO: Acknowledgment sent {"connection_id":144960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:28:45] local.INFO: TCP Data received {"connection_id":142668,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 05:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142668,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 05:28:45] local.INFO: Processing buffer {"connection_id":142668,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 05:28:45] local.INFO: IMEI packet received {"connection_id":142668,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 05:28:45] local.INFO: IMEI acknowledgment sent {"connection_id":142668,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 05:29:10] local.INFO: TCP Data received {"connection_id":144960,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0dbfad8012d7f980005afd7c0000a000629..."} 
[2026-07-27 05:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0dbfad8012d7f980005afd7c0000a000629..."} 
[2026-07-27 05:29:10] local.INFO: Processing buffer {"connection_id":144960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0dbfad8012d7f980005afd7c0000a000629..."} 
[2026-07-27 05:29:10] local.INFO: Packet analysis {"connection_id":144960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0db"} 
[2026-07-27 05:29:10] local.INFO: Extracted packet for processing {"connection_id":144960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0db"} 
[2026-07-27 05:29:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 05:29:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 05:29:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988133888001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:29:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:29:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:29:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:29:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785110199000,"timestamp_ms":1785110199000,"timestamp_seconds":1785110199,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0dbfad8"} 
[2026-07-27 05:29:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 05:29:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":31,"data_length":795,"current_offset":136} 
[2026-07-27 05:29: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-07-27 05:29:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 05:29:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 05:29:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:29:10] local.INFO: Teltonika packet parsed successfully {"connection_id":144960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:29:10] local.INFO: Passing IMEI to GPS processor {"connection_id":144960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:29:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":144960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05: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-07-27 05:29:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:29:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:29:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988133888001,"66":25375,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:29:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:29:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:29:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988133888001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:29:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:29:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:29:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:29:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:29:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988133888001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:29:10] local.INFO: DEBUG: GPS processor result {"connection_id":144960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:29:10] local.INFO: GPS data processed {"connection_id":144960,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:29:10] local.INFO: Acknowledgment sent {"connection_id":144960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:29:33] local.INFO: TCP Data received {"connection_id":143638,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:29:33] local.INFO: Processing buffer {"connection_id":143638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:29:33] local.INFO: IMEI packet received {"connection_id":143638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 05:29:33] local.INFO: IMEI acknowledgment sent {"connection_id":143638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 05:29:38] local.INFO: TCP Data received {"connection_id":143638,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:29:38] local.INFO: Processing buffer {"connection_id":143638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:29:38] local.INFO: IMEI packet received {"connection_id":143638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 05:29:38] local.INFO: IMEI acknowledgment sent {"connection_id":143638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 05:29:39] local.INFO: TCP Data received {"connection_id":143638,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0dbfad8012d7f980005afd7c0000a000629..."} 
[2026-07-27 05:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143638,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0dbfad8012d7f980005afd7c0000a000629..."} 
[2026-07-27 05:29:39] local.INFO: Processing buffer {"connection_id":143638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0dbfad8012d7f980005afd7c0000a000629..."} 
[2026-07-27 05:29:39] local.INFO: Packet analysis {"connection_id":143638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0db"} 
[2026-07-27 05:29:39] local.INFO: Extracted packet for processing {"connection_id":143638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0db"} 
[2026-07-27 05:29:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 05:29:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 05:29:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988133888001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:29:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:29:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:29:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:29:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785110199000,"timestamp_ms":1785110199000,"timestamp_seconds":1785110199,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0dbfad8"} 
[2026-07-27 05:29:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 05:29:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 05:29:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 05:29: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-07-27 05:29:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 05:29:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 05:29:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:29:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:29:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:29:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:29:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 05:29:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:29:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:29:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988133888001,"66":25375,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:29:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:29:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:29:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988133888001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:29:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:29:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:29:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:29:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:29:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988133888001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:29:39] local.INFO: DEBUG: GPS processor result {"connection_id":143638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:29:39] local.INFO: GPS data processed {"connection_id":143638,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:29:39] local.INFO: Acknowledgment sent {"connection_id":143638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:30:10] local.INFO: TCP Data received {"connection_id":143638,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0dbfad8012d7f980005afd7c0000a000629..."} 
[2026-07-27 05:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143638,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0dbfad8012d7f980005afd7c0000a000629..."} 
[2026-07-27 05:30:10] local.INFO: Processing buffer {"connection_id":143638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0dbfad8012d7f980005afd7c0000a000629..."} 
[2026-07-27 05:30:10] local.INFO: Packet analysis {"connection_id":143638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0db"} 
[2026-07-27 05:30:10] local.INFO: Extracted packet for processing {"connection_id":143638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0db"} 
[2026-07-27 05:30:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 05:30:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988133888001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:30:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:30:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:30:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:30:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785110199000,"timestamp_ms":1785110199000,"timestamp_seconds":1785110199,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0dbfad8"} 
[2026-07-27 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-07-27 05:30:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":31,"data_length":795,"current_offset":136} 
[2026-07-27 05:30: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-07-27 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-07-27 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-07-27 05:30:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:30:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:30:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:30:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05: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-07-27 05:30:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:30:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:30:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988133888001,"66":25375,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:30:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:30:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:30:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988133888001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:30:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:30:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:30:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:30:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:30:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988133888001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:30:10] local.INFO: DEBUG: GPS processor result {"connection_id":143638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:30:10] local.INFO: GPS data processed {"connection_id":143638,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:30:10] local.INFO: Acknowledgment sent {"connection_id":143638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:30:33] local.INFO: TCP Data received {"connection_id":143639,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:30:33] local.INFO: Processing buffer {"connection_id":143639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:30:33] local.INFO: IMEI packet received {"connection_id":143639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 05:30:33] local.INFO: IMEI acknowledgment sent {"connection_id":143639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 05:30:38] local.INFO: TCP Data received {"connection_id":143639,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:30:38] local.INFO: Processing buffer {"connection_id":143639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:30:38] local.INFO: IMEI packet received {"connection_id":143639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 05:30:38] local.INFO: IMEI acknowledgment sent {"connection_id":143639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 05:30:39] local.INFO: TCP Data received {"connection_id":143639,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0dbfad8012d7f980005afd7c0000a000629..."} 
[2026-07-27 05:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0dbfad8012d7f980005afd7c0000a000629..."} 
[2026-07-27 05:30:39] local.INFO: Processing buffer {"connection_id":143639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0dbfad8012d7f980005afd7c0000a000629..."} 
[2026-07-27 05:30:39] local.INFO: Packet analysis {"connection_id":143639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0db"} 
[2026-07-27 05:30:39] local.INFO: Extracted packet for processing {"connection_id":143639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0db"} 
[2026-07-27 05:30:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 05:30:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 05:30:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988133888001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:30:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:30:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:30:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:30:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785110199000,"timestamp_ms":1785110199000,"timestamp_seconds":1785110199,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0dbfad8"} 
[2026-07-27 05:30:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 05:30:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 05: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":31,"data_length":795,"current_offset":136} 
[2026-07-27 05:30: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-07-27 05:30:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 05:30:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 05:30:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:30:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:30:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:30:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:30:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 05:30:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:30:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:30:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988133888001,"66":25375,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:30:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:30:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:30:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988133888001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:30:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:30:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:30:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:30:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:30:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988133888001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:30:39] local.INFO: DEBUG: GPS processor result {"connection_id":143639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:30:39] local.INFO: GPS data processed {"connection_id":143639,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:30:39] local.INFO: Acknowledgment sent {"connection_id":143639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:31:10] local.INFO: TCP Data received {"connection_id":143639,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0dbfad8012d7f980005afd7c0000a000629..."} 
[2026-07-27 05:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0dbfad8012d7f980005afd7c0000a000629..."} 
[2026-07-27 05:31:10] local.INFO: Processing buffer {"connection_id":143639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0dbfad8012d7f980005afd7c0000a000629..."} 
[2026-07-27 05:31:10] local.INFO: Packet analysis {"connection_id":143639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0db"} 
[2026-07-27 05:31:10] local.INFO: Extracted packet for processing {"connection_id":143639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0db"} 
[2026-07-27 05:31:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 05:31:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988133888001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:31:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:31:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:31:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:31:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785110199000,"timestamp_ms":1785110199000,"timestamp_seconds":1785110199,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0dbfad8"} 
[2026-07-27 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-07-27 05:31:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":31,"data_length":795,"current_offset":136} 
[2026-07-27 05:31:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 05:31:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:31:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:31:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:31:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05: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-07-27 05:31:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:31:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:31:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988133888001,"66":25375,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:31:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:31:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:31:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988133888001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:31:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:31:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:31:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:31:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:31:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988133888001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:31:10] local.INFO: DEBUG: GPS processor result {"connection_id":143639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:31:10] local.INFO: GPS data processed {"connection_id":143639,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:31:10] local.INFO: Acknowledgment sent {"connection_id":143639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:31:33] local.INFO: TCP Data received {"connection_id":144962,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:31:33] local.INFO: Processing buffer {"connection_id":144962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:31:33] local.INFO: IMEI packet received {"connection_id":144962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 05:31:33] local.INFO: IMEI acknowledgment sent {"connection_id":144962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 05:31:38] local.INFO: TCP Data received {"connection_id":144962,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:31:38] local.INFO: Processing buffer {"connection_id":144962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:31:38] local.INFO: IMEI packet received {"connection_id":144962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 05:31:38] local.INFO: IMEI acknowledgment sent {"connection_id":144962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 05:31:39] local.INFO: TCP Data received {"connection_id":144962,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0dbfad8012d7f980005afd7c0000a000629..."} 
[2026-07-27 05:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0dbfad8012d7f980005afd7c0000a000629..."} 
[2026-07-27 05:31:39] local.INFO: Processing buffer {"connection_id":144962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0dbfad8012d7f980005afd7c0000a000629..."} 
[2026-07-27 05:31:39] local.INFO: Packet analysis {"connection_id":144962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0db"} 
[2026-07-27 05:31:39] local.INFO: Extracted packet for processing {"connection_id":144962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0db"} 
[2026-07-27 05:31:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 05:31:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 05:31:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988133888001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:31:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:31:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:31:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:31:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785110199000,"timestamp_ms":1785110199000,"timestamp_seconds":1785110199,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0dbfad8"} 
[2026-07-27 05:31:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 05:31:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 05:31:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 05:31:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 05:31:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 05:31:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 05:31:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:31:39] local.INFO: Teltonika packet parsed successfully {"connection_id":144962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:31:39] local.INFO: Passing IMEI to GPS processor {"connection_id":144962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:31:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":144962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:31:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 05:31:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:31:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:31:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988133888001,"66":25375,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:31:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:31:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:31:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988133888001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:31:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:31:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:31:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:31:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:31:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988133888001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:31:39] local.INFO: DEBUG: GPS processor result {"connection_id":144962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:31:39] local.INFO: GPS data processed {"connection_id":144962,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:31:39] local.INFO: Acknowledgment sent {"connection_id":144962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:32:10] local.INFO: TCP Data received {"connection_id":144962,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0dbfad8012d7f980005afd7c0000a000629..."} 
[2026-07-27 05:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0dbfad8012d7f980005afd7c0000a000629..."} 
[2026-07-27 05:32:10] local.INFO: Processing buffer {"connection_id":144962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0dbfad8012d7f980005afd7c0000a000629..."} 
[2026-07-27 05:32:10] local.INFO: Packet analysis {"connection_id":144962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0db"} 
[2026-07-27 05:32:10] local.INFO: Extracted packet for processing {"connection_id":144962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0db"} 
[2026-07-27 05:32:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 05:32:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988133888001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:32:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:32:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:32:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:32:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785110199000,"timestamp_ms":1785110199000,"timestamp_seconds":1785110199,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0dbfad8"} 
[2026-07-27 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-07-27 05:32:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":31,"data_length":795,"current_offset":136} 
[2026-07-27 05:32: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-07-27 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-07-27 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-07-27 05:32:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:32:10] local.INFO: Teltonika packet parsed successfully {"connection_id":144962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:32:10] local.INFO: Passing IMEI to GPS processor {"connection_id":144962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:32:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":144962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:32:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 05:32:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:32:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:32:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988133888001,"66":25375,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:32:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:32:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:32:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988133888001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:32:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:32:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:32:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:32:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:32:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988133888001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:32:10] local.INFO: DEBUG: GPS processor result {"connection_id":144962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:32:10] local.INFO: GPS data processed {"connection_id":144962,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:32:10] local.INFO: Acknowledgment sent {"connection_id":144962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:32:38] local.INFO: TCP Data received {"connection_id":143642,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:32:38] local.INFO: Processing buffer {"connection_id":143642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:32:38] local.INFO: IMEI packet received {"connection_id":143642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 05:32:38] local.INFO: IMEI acknowledgment sent {"connection_id":143642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 05:32:43] local.INFO: TCP Data received {"connection_id":143642,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:32:43] local.INFO: Processing buffer {"connection_id":143642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:32:43] local.INFO: IMEI packet received {"connection_id":143642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 05:32:43] local.INFO: IMEI acknowledgment sent {"connection_id":143642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 05:32:44] local.INFO: TCP Data received {"connection_id":143642,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0e092a0012d7f980005afd7c0000a000628..."} 
[2026-07-27 05:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143642,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0e092a0012d7f980005afd7c0000a000628..."} 
[2026-07-27 05:32:44] local.INFO: Processing buffer {"connection_id":143642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0e092a0012d7f980005afd7c0000a000628..."} 
[2026-07-27 05:32:44] local.INFO: Packet analysis {"connection_id":143642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0e0"} 
[2026-07-27 05:32:44] local.INFO: Extracted packet for processing {"connection_id":143642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0e0"} 
[2026-07-27 05:32:44] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 05:32:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 05:32:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988210944001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:32:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:32:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:32:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:32:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785110500000,"timestamp_ms":1785110500000,"timestamp_seconds":1785110500,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0e092a0"} 
[2026-07-27 05:32:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 05:32:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 05:32:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 05:32:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 05:32:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 05:32:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 05:32:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:32:44] local.INFO: Teltonika packet parsed successfully {"connection_id":143642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:32:44] local.INFO: Passing IMEI to GPS processor {"connection_id":143642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:32:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":143642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:32:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 05:32:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:32:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:32:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988210944001,"66":25419,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:32:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:32:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:32:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988210944001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:32:44] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:32:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:32:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:32:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:32:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988210944001,"power":25419,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:32:44] local.INFO: DEBUG: GPS processor result {"connection_id":143642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:32:44] local.INFO: GPS data processed {"connection_id":143642,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:32:44] local.INFO: Acknowledgment sent {"connection_id":143642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:32:49] local.INFO: TCP Data received {"connection_id":143642,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0e092a0012d7f980005afd7c0000a000628..."} 
[2026-07-27 05:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143642,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0e092a0012d7f980005afd7c0000a000628..."} 
[2026-07-27 05:32:49] local.INFO: Processing buffer {"connection_id":143642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0e092a0012d7f980005afd7c0000a000628..."} 
[2026-07-27 05:32:49] local.INFO: Packet analysis {"connection_id":143642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0e0"} 
[2026-07-27 05:32:49] local.INFO: Extracted packet for processing {"connection_id":143642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0e0"} 
[2026-07-27 05:32:49] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 05: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-07-27 05:32:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988210944001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:32:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:32:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:32:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:32:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785110500000,"timestamp_ms":1785110500000,"timestamp_seconds":1785110500,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0e092a0"} 
[2026-07-27 05:32:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 05: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-07-27 05: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 05:32: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-07-27 05: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-07-27 05:32:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 05:32:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:32:49] local.INFO: Teltonika packet parsed successfully {"connection_id":143642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:32:49] local.INFO: Passing IMEI to GPS processor {"connection_id":143642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:32:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":143642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:32:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 05:32:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:32:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:32:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988210944001,"66":25419,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:32:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:32:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:32:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988210944001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:32:49] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:32:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:32:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:32:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:32:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988210944001,"power":25419,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:32:49] local.INFO: DEBUG: GPS processor result {"connection_id":143642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:32:49] local.INFO: GPS data processed {"connection_id":143642,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:32:49] local.INFO: Acknowledgment sent {"connection_id":143642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:33:33] local.INFO: TCP Data received {"connection_id":142669,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:33:33] local.INFO: Processing buffer {"connection_id":142669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:33:33] local.INFO: IMEI packet received {"connection_id":142669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 05:33:33] local.INFO: IMEI acknowledgment sent {"connection_id":142669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 05:33:38] local.INFO: TCP Data received {"connection_id":142669,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:33:38] local.INFO: Processing buffer {"connection_id":142669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:33:38] local.INFO: IMEI packet received {"connection_id":142669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 05:33:38] local.INFO: IMEI acknowledgment sent {"connection_id":142669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 05:33:39] local.INFO: TCP Data received {"connection_id":142669,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0e092a0012d7f980005afd7c0000a000628..."} 
[2026-07-27 05:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142669,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0e092a0012d7f980005afd7c0000a000628..."} 
[2026-07-27 05:33:39] local.INFO: Processing buffer {"connection_id":142669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0e092a0012d7f980005afd7c0000a000628..."} 
[2026-07-27 05:33:39] local.INFO: Packet analysis {"connection_id":142669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0e0"} 
[2026-07-27 05:33:39] local.INFO: Extracted packet for processing {"connection_id":142669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0e0"} 
[2026-07-27 05:33:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 05:33:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 05:33:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988210944001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:33:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:33:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:33:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:33:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785110500000,"timestamp_ms":1785110500000,"timestamp_seconds":1785110500,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0e092a0"} 
[2026-07-27 05:33:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 05:33:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 05: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":31,"data_length":795,"current_offset":136} 
[2026-07-27 05:33: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-07-27 05:33:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 05:33:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 05:33:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:33:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:33:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:33:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:33: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-07-27 05:33:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:33:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:33:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988210944001,"66":25419,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:33:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:33:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:33:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988210944001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:33:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:33:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:33:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:33:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:33:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988210944001,"power":25419,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:33:39] local.INFO: DEBUG: GPS processor result {"connection_id":142669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:33:39] local.INFO: GPS data processed {"connection_id":142669,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:33:39] local.INFO: Acknowledgment sent {"connection_id":142669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:34:10] local.INFO: TCP Data received {"connection_id":142669,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0e092a0012d7f980005afd7c0000a000628..."} 
[2026-07-27 05:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142669,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0e092a0012d7f980005afd7c0000a000628..."} 
[2026-07-27 05:34:10] local.INFO: Processing buffer {"connection_id":142669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0e092a0012d7f980005afd7c0000a000628..."} 
[2026-07-27 05:34:10] local.INFO: Packet analysis {"connection_id":142669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0e0"} 
[2026-07-27 05:34:10] local.INFO: Extracted packet for processing {"connection_id":142669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0e0"} 
[2026-07-27 05:34:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 05:34:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988210944001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:34:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:34:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:34:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:34:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785110500000,"timestamp_ms":1785110500000,"timestamp_seconds":1785110500,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0e092a0"} 
[2026-07-27 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-07-27 05:34:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":31,"data_length":795,"current_offset":136} 
[2026-07-27 05:34: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-07-27 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-07-27 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-07-27 05:34:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:34:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:34:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:34:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 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-07-27 05:34:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:34:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:34:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988210944001,"66":25419,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:34:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:34:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:34:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988210944001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:34:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:34:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:34:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:34:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:34:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988210944001,"power":25419,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:34:10] local.INFO: DEBUG: GPS processor result {"connection_id":142669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:34:10] local.INFO: GPS data processed {"connection_id":142669,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:34:10] local.INFO: Acknowledgment sent {"connection_id":142669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:34:33] local.INFO: TCP Data received {"connection_id":144963,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:34:33] local.INFO: Processing buffer {"connection_id":144963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:34:33] local.INFO: IMEI packet received {"connection_id":144963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 05:34:33] local.INFO: IMEI acknowledgment sent {"connection_id":144963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 05:34:38] local.INFO: TCP Data received {"connection_id":144963,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:34:38] local.INFO: Processing buffer {"connection_id":144963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:34:38] local.INFO: IMEI packet received {"connection_id":144963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 05:34:38] local.INFO: IMEI acknowledgment sent {"connection_id":144963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 05:34:39] local.INFO: TCP Data received {"connection_id":144963,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0e092a0012d7f980005afd7c0000a000628..."} 
[2026-07-27 05:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144963,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0e092a0012d7f980005afd7c0000a000628..."} 
[2026-07-27 05:34:39] local.INFO: Processing buffer {"connection_id":144963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0e092a0012d7f980005afd7c0000a000628..."} 
[2026-07-27 05:34:39] local.INFO: Packet analysis {"connection_id":144963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0e0"} 
[2026-07-27 05:34:39] local.INFO: Extracted packet for processing {"connection_id":144963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0e0"} 
[2026-07-27 05:34:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 05:34:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 05:34:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988210944001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:34:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:34:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:34:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:34:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785110500000,"timestamp_ms":1785110500000,"timestamp_seconds":1785110500,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0e092a0"} 
[2026-07-27 05:34:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 05:34:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 05: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":31,"data_length":795,"current_offset":136} 
[2026-07-27 05:34: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-07-27 05:34:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 05:34:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 05:34:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:34:39] local.INFO: Teltonika packet parsed successfully {"connection_id":144963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:34:39] local.INFO: Passing IMEI to GPS processor {"connection_id":144963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:34:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":144963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05: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-07-27 05:34:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:34:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:34:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988210944001,"66":25419,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:34:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:34:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:34:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988210944001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:34:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:34:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:34:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:34:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:34:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988210944001,"power":25419,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:34:39] local.INFO: DEBUG: GPS processor result {"connection_id":144963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:34:39] local.INFO: GPS data processed {"connection_id":144963,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:34:39] local.INFO: Acknowledgment sent {"connection_id":144963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:34:45] local.INFO: TCP Data received {"connection_id":142574,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 05:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142574,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 05:34:45] local.INFO: Processing buffer {"connection_id":142574,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 05:34:45] local.INFO: IMEI packet received {"connection_id":142574,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 05:34:45] local.INFO: IMEI acknowledgment sent {"connection_id":142574,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 05:35:10] local.INFO: TCP Data received {"connection_id":144963,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0e092a0012d7f980005afd7c0000a000628..."} 
[2026-07-27 05:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144963,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0e092a0012d7f980005afd7c0000a000628..."} 
[2026-07-27 05:35:10] local.INFO: Processing buffer {"connection_id":144963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0e092a0012d7f980005afd7c0000a000628..."} 
[2026-07-27 05:35:10] local.INFO: Packet analysis {"connection_id":144963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0e0"} 
[2026-07-27 05:35:10] local.INFO: Extracted packet for processing {"connection_id":144963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0e0"} 
[2026-07-27 05:35:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 05:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 05:35:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988210944001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:35:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:35:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:35:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:35:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785110500000,"timestamp_ms":1785110500000,"timestamp_seconds":1785110500,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0e092a0"} 
[2026-07-27 05:35:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 05:35:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":31,"data_length":795,"current_offset":136} 
[2026-07-27 05:35: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-07-27 05:35:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 05:35:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 05:35:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:35:10] local.INFO: Teltonika packet parsed successfully {"connection_id":144963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:35:10] local.INFO: Passing IMEI to GPS processor {"connection_id":144963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:35:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":144963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:35:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 05:35:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:35:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:35:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988210944001,"66":25419,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:35:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:35:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:35:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988210944001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:35:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:35:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:35:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:35:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:35:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988210944001,"power":25419,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:35:10] local.INFO: DEBUG: GPS processor result {"connection_id":144963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:35:10] local.INFO: GPS data processed {"connection_id":144963,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:35:10] local.INFO: Acknowledgment sent {"connection_id":144963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:35:33] local.INFO: TCP Data received {"connection_id":143644,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:35:33] local.INFO: Processing buffer {"connection_id":143644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:35:33] local.INFO: IMEI packet received {"connection_id":143644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 05:35:33] local.INFO: IMEI acknowledgment sent {"connection_id":143644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 05:35:38] local.INFO: TCP Data received {"connection_id":143644,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:35:38] local.INFO: Processing buffer {"connection_id":143644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:35:38] local.INFO: IMEI packet received {"connection_id":143644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 05:35:38] local.INFO: IMEI acknowledgment sent {"connection_id":143644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 05:35:39] local.INFO: TCP Data received {"connection_id":143644,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0e092a0012d7f980005afd7c0000a000628..."} 
[2026-07-27 05:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0e092a0012d7f980005afd7c0000a000628..."} 
[2026-07-27 05:35:39] local.INFO: Processing buffer {"connection_id":143644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0e092a0012d7f980005afd7c0000a000628..."} 
[2026-07-27 05:35:39] local.INFO: Packet analysis {"connection_id":143644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0e0"} 
[2026-07-27 05:35:39] local.INFO: Extracted packet for processing {"connection_id":143644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0e0"} 
[2026-07-27 05:35:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 05:35:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 05:35:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988210944001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:35:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:35:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:35:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:35:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785110500000,"timestamp_ms":1785110500000,"timestamp_seconds":1785110500,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0e092a0"} 
[2026-07-27 05:35:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 05:35:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 05:35:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 05:35: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-07-27 05:35:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 05:35:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 05:35:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:35:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:35:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:35:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:35:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 05:35:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:35:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:35:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988210944001,"66":25419,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:35:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:35:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:35:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988210944001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:35:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:35:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:35:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:35:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:35:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988210944001,"power":25419,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:35:39] local.INFO: DEBUG: GPS processor result {"connection_id":143644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:35:39] local.INFO: GPS data processed {"connection_id":143644,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:35:39] local.INFO: Acknowledgment sent {"connection_id":143644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:35:45] local.INFO: TCP Data received {"connection_id":142575,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 05:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142575,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 05:35:45] local.INFO: Processing buffer {"connection_id":142575,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 05:35:45] local.INFO: IMEI packet received {"connection_id":142575,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 05:35:45] local.INFO: IMEI acknowledgment sent {"connection_id":142575,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 05:36:10] local.INFO: TCP Data received {"connection_id":143644,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0e092a0012d7f980005afd7c0000a000628..."} 
[2026-07-27 05:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0e092a0012d7f980005afd7c0000a000628..."} 
[2026-07-27 05:36:10] local.INFO: Processing buffer {"connection_id":143644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0e092a0012d7f980005afd7c0000a000628..."} 
[2026-07-27 05:36:10] local.INFO: Packet analysis {"connection_id":143644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0e0"} 
[2026-07-27 05:36:10] local.INFO: Extracted packet for processing {"connection_id":143644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0e0"} 
[2026-07-27 05:36:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 05:36:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988210944001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:36:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:36:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:36:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:36:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785110500000,"timestamp_ms":1785110500000,"timestamp_seconds":1785110500,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0e092a0"} 
[2026-07-27 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-07-27 05:36:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":31,"data_length":795,"current_offset":136} 
[2026-07-27 05:36: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-07-27 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-07-27 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-07-27 05:36:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:36:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:36:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:36:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 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-07-27 05:36:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:36:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:36:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988210944001,"66":25419,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:36:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:36:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:36:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988210944001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:36:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:36:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:36:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:36:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:36:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988210944001,"power":25419,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:36:10] local.INFO: DEBUG: GPS processor result {"connection_id":143644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:36:10] local.INFO: GPS data processed {"connection_id":143644,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:36:10] local.INFO: Acknowledgment sent {"connection_id":143644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:36:33] local.INFO: TCP Data received {"connection_id":142576,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:36:33] local.INFO: Processing buffer {"connection_id":142576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:36:33] local.INFO: IMEI packet received {"connection_id":142576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 05:36:33] local.INFO: IMEI acknowledgment sent {"connection_id":142576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 05:36:38] local.INFO: TCP Data received {"connection_id":142576,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:36:38] local.INFO: Processing buffer {"connection_id":142576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:36:38] local.INFO: IMEI packet received {"connection_id":142576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 05:36:38] local.INFO: IMEI acknowledgment sent {"connection_id":142576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 05:36:39] local.INFO: TCP Data received {"connection_id":142576,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0e092a0012d7f980005afd7c0000a000628..."} 
[2026-07-27 05:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0e092a0012d7f980005afd7c0000a000628..."} 
[2026-07-27 05:36:39] local.INFO: Processing buffer {"connection_id":142576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0e092a0012d7f980005afd7c0000a000628..."} 
[2026-07-27 05:36:39] local.INFO: Packet analysis {"connection_id":142576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0e0"} 
[2026-07-27 05:36:39] local.INFO: Extracted packet for processing {"connection_id":142576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0e0"} 
[2026-07-27 05:36:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 05:36:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 05:36:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988210944001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:36:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:36:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:36:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:36:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785110500000,"timestamp_ms":1785110500000,"timestamp_seconds":1785110500,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0e092a0"} 
[2026-07-27 05:36:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 05:36:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 05: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":31,"data_length":795,"current_offset":136} 
[2026-07-27 05:36: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-07-27 05:36:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 05:36:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 05:36:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:36:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:36:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:36:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05: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-07-27 05:36:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:36:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:36:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988210944001,"66":25419,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:36:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:36:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:36:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988210944001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:36:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:36:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:36:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:36:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:36:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988210944001,"power":25419,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:36:39] local.INFO: DEBUG: GPS processor result {"connection_id":142576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:36:39] local.INFO: GPS data processed {"connection_id":142576,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:36:39] local.INFO: Acknowledgment sent {"connection_id":142576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:37:10] local.INFO: TCP Data received {"connection_id":142576,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0e092a0012d7f980005afd7c0000a000628..."} 
[2026-07-27 05:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0e092a0012d7f980005afd7c0000a000628..."} 
[2026-07-27 05:37:10] local.INFO: Processing buffer {"connection_id":142576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0e092a0012d7f980005afd7c0000a000628..."} 
[2026-07-27 05:37:10] local.INFO: Packet analysis {"connection_id":142576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0e0"} 
[2026-07-27 05:37:10] local.INFO: Extracted packet for processing {"connection_id":142576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0e0"} 
[2026-07-27 05:37:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 05:37:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988210944001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:37:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:37:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:37:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:37:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785110500000,"timestamp_ms":1785110500000,"timestamp_seconds":1785110500,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0e092a0"} 
[2026-07-27 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-07-27 05:37:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":31,"data_length":795,"current_offset":136} 
[2026-07-27 05:37: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-07-27 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-07-27 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-07-27 05:37:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:37:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:37:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:37:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:37:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 05:37:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:37:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:37:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988210944001,"66":25419,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:37:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:37:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:37:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988210944001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:37:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:37:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:37:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:37:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:37:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988210944001,"power":25419,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:37:10] local.INFO: DEBUG: GPS processor result {"connection_id":142576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:37:10] local.INFO: GPS data processed {"connection_id":142576,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:37:10] local.INFO: Acknowledgment sent {"connection_id":142576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:37:38] local.INFO: TCP Data received {"connection_id":142670,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:37:38] local.INFO: Processing buffer {"connection_id":142670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:37:38] local.INFO: IMEI packet received {"connection_id":142670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 05:37:38] local.INFO: IMEI acknowledgment sent {"connection_id":142670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 05:37:43] local.INFO: TCP Data received {"connection_id":142670,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:37:43] local.INFO: Processing buffer {"connection_id":142670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:37:43] local.INFO: IMEI packet received {"connection_id":142670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 05:37:43] local.INFO: IMEI acknowledgment sent {"connection_id":142670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 05:37:44] local.INFO: TCP Data received {"connection_id":142670,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0e52a68012d7f980005afd7c0000a000628..."} 
[2026-07-27 05:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142670,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0e52a68012d7f980005afd7c0000a000628..."} 
[2026-07-27 05:37:44] local.INFO: Processing buffer {"connection_id":142670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0e52a68012d7f980005afd7c0000a000628..."} 
[2026-07-27 05:37:44] local.INFO: Packet analysis {"connection_id":142670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0e5"} 
[2026-07-27 05:37:44] local.INFO: Extracted packet for processing {"connection_id":142670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0e5"} 
[2026-07-27 05:37:44] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 05:37:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 05:37:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988288000001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:37:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:37:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:37:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:37:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785110801000,"timestamp_ms":1785110801000,"timestamp_seconds":1785110801,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0e52a68"} 
[2026-07-27 05:37:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 05:37:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 05:37: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":75,"data_length":795,"current_offset":136} 
[2026-07-27 05:37:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 05:37:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 05:37:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 05:37:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:37:44] local.INFO: Teltonika packet parsed successfully {"connection_id":142670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:37:44] local.INFO: Passing IMEI to GPS processor {"connection_id":142670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:37:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":142670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:37:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 05:37:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:37:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:37:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988288000001,"66":25397,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:37:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:37:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:37:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988288000001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:37:44] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:37:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:37:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:37:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:37:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988288000001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:37:44] local.INFO: DEBUG: GPS processor result {"connection_id":142670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:37:44] local.INFO: GPS data processed {"connection_id":142670,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:37:44] local.INFO: Acknowledgment sent {"connection_id":142670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:37:48] local.INFO: TCP Data received {"connection_id":142670,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0e52a68012d7f980005afd7c0000a000628..."} 
[2026-07-27 05:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142670,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0e52a68012d7f980005afd7c0000a000628..."} 
[2026-07-27 05:37:48] local.INFO: Processing buffer {"connection_id":142670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0e52a68012d7f980005afd7c0000a000628..."} 
[2026-07-27 05:37:48] local.INFO: Packet analysis {"connection_id":142670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0e5"} 
[2026-07-27 05:37:48] local.INFO: Extracted packet for processing {"connection_id":142670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0e5"} 
[2026-07-27 05:37:48] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 05:37:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 05:37:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988288000001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:37:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:37:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:37:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:37:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785110801000,"timestamp_ms":1785110801000,"timestamp_seconds":1785110801,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0e52a68"} 
[2026-07-27 05:37:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 05:37:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 05:37:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-27 05:37:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 05:37:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 05:37:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 05:37:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:37:48] local.INFO: Teltonika packet parsed successfully {"connection_id":142670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:37:48] local.INFO: Passing IMEI to GPS processor {"connection_id":142670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:37:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":142670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:37:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 05:37:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:37:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:37:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988288000001,"66":25397,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:37:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:37:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:37:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988288000001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:37:48] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:37:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:37:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:37:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:37:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988288000001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:37:48] local.INFO: DEBUG: GPS processor result {"connection_id":142670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:37:48] local.INFO: GPS data processed {"connection_id":142670,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:37:48] local.INFO: Acknowledgment sent {"connection_id":142670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:38:33] local.INFO: TCP Data received {"connection_id":142577,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:38:33] local.INFO: Processing buffer {"connection_id":142577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:38:33] local.INFO: IMEI packet received {"connection_id":142577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 05:38:33] local.INFO: IMEI acknowledgment sent {"connection_id":142577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 05:38:38] local.INFO: TCP Data received {"connection_id":142577,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:38:38] local.INFO: Processing buffer {"connection_id":142577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:38:38] local.INFO: IMEI packet received {"connection_id":142577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 05:38:38] local.INFO: IMEI acknowledgment sent {"connection_id":142577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 05:38:39] local.INFO: TCP Data received {"connection_id":142577,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0e52a68012d7f980005afd7c0000a000628..."} 
[2026-07-27 05:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0e52a68012d7f980005afd7c0000a000628..."} 
[2026-07-27 05:38:39] local.INFO: Processing buffer {"connection_id":142577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0e52a68012d7f980005afd7c0000a000628..."} 
[2026-07-27 05:38:39] local.INFO: Packet analysis {"connection_id":142577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0e5"} 
[2026-07-27 05:38:39] local.INFO: Extracted packet for processing {"connection_id":142577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0e5"} 
[2026-07-27 05:38:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 05:38:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 05:38:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988288000001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:38:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:38:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:38:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:38:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785110801000,"timestamp_ms":1785110801000,"timestamp_seconds":1785110801,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0e52a68"} 
[2026-07-27 05:38:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 05:38:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 05: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-07-27 05: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-07-27 05:38:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 05:38:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 05:38:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:38:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:38:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:38:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:38: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-07-27 05:38:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:38:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:38:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988288000001,"66":25397,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:38:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:38:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:38:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988288000001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:38:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:38:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:38:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:38:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:38:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988288000001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:38:39] local.INFO: DEBUG: GPS processor result {"connection_id":142577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:38:39] local.INFO: GPS data processed {"connection_id":142577,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:38:39] local.INFO: Acknowledgment sent {"connection_id":142577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:39:10] local.INFO: TCP Data received {"connection_id":142577,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0e52a68012d7f980005afd7c0000a000628..."} 
[2026-07-27 05:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0e52a68012d7f980005afd7c0000a000628..."} 
[2026-07-27 05:39:10] local.INFO: Processing buffer {"connection_id":142577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0e52a68012d7f980005afd7c0000a000628..."} 
[2026-07-27 05:39:10] local.INFO: Packet analysis {"connection_id":142577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0e5"} 
[2026-07-27 05:39:10] local.INFO: Extracted packet for processing {"connection_id":142577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0e5"} 
[2026-07-27 05:39:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 05:39:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 05:39:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988288000001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:39:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:39:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:39:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:39:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785110801000,"timestamp_ms":1785110801000,"timestamp_seconds":1785110801,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0e52a68"} 
[2026-07-27 05:39:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 05:39:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":75,"data_length":795,"current_offset":136} 
[2026-07-27 05:39: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-07-27 05:39:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 05:39:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 05:39:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:39:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:39:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:39:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:39:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 05:39:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:39:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:39:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988288000001,"66":25397,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:39:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:39:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:39:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988288000001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:39:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:39:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:39:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:39:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:39:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988288000001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:39:10] local.INFO: DEBUG: GPS processor result {"connection_id":142577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:39:10] local.INFO: GPS data processed {"connection_id":142577,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:39:10] local.INFO: Acknowledgment sent {"connection_id":142577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:39:33] local.INFO: TCP Data received {"connection_id":144967,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:39:33] local.INFO: Processing buffer {"connection_id":144967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:39:33] local.INFO: IMEI packet received {"connection_id":144967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 05:39:33] local.INFO: IMEI acknowledgment sent {"connection_id":144967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 05:39:38] local.INFO: TCP Data received {"connection_id":144967,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:39:38] local.INFO: Processing buffer {"connection_id":144967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:39:38] local.INFO: IMEI packet received {"connection_id":144967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 05:39:38] local.INFO: IMEI acknowledgment sent {"connection_id":144967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 05:39:39] local.INFO: TCP Data received {"connection_id":144967,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0e52a68012d7f980005afd7c0000a000628..."} 
[2026-07-27 05:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144967,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0e52a68012d7f980005afd7c0000a000628..."} 
[2026-07-27 05:39:39] local.INFO: Processing buffer {"connection_id":144967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0e52a68012d7f980005afd7c0000a000628..."} 
[2026-07-27 05:39:39] local.INFO: Packet analysis {"connection_id":144967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0e5"} 
[2026-07-27 05:39:39] local.INFO: Extracted packet for processing {"connection_id":144967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0e5"} 
[2026-07-27 05:39:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 05:39:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 05:39:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988288000001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:39:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:39:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:39:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:39:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785110801000,"timestamp_ms":1785110801000,"timestamp_seconds":1785110801,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0e52a68"} 
[2026-07-27 05:39:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 05:39:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 05: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":75,"data_length":795,"current_offset":136} 
[2026-07-27 05:39: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-07-27 05:39:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 05:39:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 05:39:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:39:39] local.INFO: Teltonika packet parsed successfully {"connection_id":144967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:39:39] local.INFO: Passing IMEI to GPS processor {"connection_id":144967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:39:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":144967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:39:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 05:39:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:39:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:39:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988288000001,"66":25397,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:39:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:39:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:39:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988288000001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:39:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:39:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:39:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:39:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:39:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988288000001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:39:39] local.INFO: DEBUG: GPS processor result {"connection_id":144967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:39:39] local.INFO: GPS data processed {"connection_id":144967,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:39:39] local.INFO: Acknowledgment sent {"connection_id":144967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:40:10] local.INFO: TCP Data received {"connection_id":144967,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0e52a68012d7f980005afd7c0000a000628..."} 
[2026-07-27 05:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144967,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0e52a68012d7f980005afd7c0000a000628..."} 
[2026-07-27 05:40:10] local.INFO: Processing buffer {"connection_id":144967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0e52a68012d7f980005afd7c0000a000628..."} 
[2026-07-27 05:40:10] local.INFO: Packet analysis {"connection_id":144967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0e5"} 
[2026-07-27 05:40:10] local.INFO: Extracted packet for processing {"connection_id":144967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0e5"} 
[2026-07-27 05:40:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 05:40:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988288000001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:40:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:40:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:40:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:40:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785110801000,"timestamp_ms":1785110801000,"timestamp_seconds":1785110801,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0e52a68"} 
[2026-07-27 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-07-27 05:40:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":75,"data_length":795,"current_offset":136} 
[2026-07-27 05:40: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-07-27 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-07-27 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-07-27 05:40:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:40:10] local.INFO: Teltonika packet parsed successfully {"connection_id":144967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:40:10] local.INFO: Passing IMEI to GPS processor {"connection_id":144967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:40:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":144967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:40:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 05:40:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:40:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:40:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988288000001,"66":25397,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:40:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:40:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:40:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988288000001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:40:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:40:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:40:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:40:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:40:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988288000001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:40:10] local.INFO: DEBUG: GPS processor result {"connection_id":144967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:40:10] local.INFO: GPS data processed {"connection_id":144967,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:40:10] local.INFO: Acknowledgment sent {"connection_id":144967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:40:33] local.INFO: TCP Data received {"connection_id":142671,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:40:33] local.INFO: Processing buffer {"connection_id":142671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:40:33] local.INFO: IMEI packet received {"connection_id":142671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 05:40:33] local.INFO: IMEI acknowledgment sent {"connection_id":142671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 05:40:38] local.INFO: TCP Data received {"connection_id":142671,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:40:38] local.INFO: Processing buffer {"connection_id":142671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:40:38] local.INFO: IMEI packet received {"connection_id":142671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 05:40:38] local.INFO: IMEI acknowledgment sent {"connection_id":142671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 05:40:39] local.INFO: TCP Data received {"connection_id":142671,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0e52a68012d7f980005afd7c0000a000628..."} 
[2026-07-27 05:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0e52a68012d7f980005afd7c0000a000628..."} 
[2026-07-27 05:40:39] local.INFO: Processing buffer {"connection_id":142671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0e52a68012d7f980005afd7c0000a000628..."} 
[2026-07-27 05:40:39] local.INFO: Packet analysis {"connection_id":142671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0e5"} 
[2026-07-27 05:40:39] local.INFO: Extracted packet for processing {"connection_id":142671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0e5"} 
[2026-07-27 05:40:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 05:40:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 05:40:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988288000001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:40:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:40:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:40:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:40:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785110801000,"timestamp_ms":1785110801000,"timestamp_seconds":1785110801,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0e52a68"} 
[2026-07-27 05:40:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 05:40:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 05:40:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-27 05:40: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-07-27 05:40:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 05:40:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 05:40:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:40:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:40:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:40:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:40:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 05:40:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:40:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:40:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988288000001,"66":25397,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:40:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:40:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:40:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988288000001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:40:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:40:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:40:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:40:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:40:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988288000001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:40:39] local.INFO: DEBUG: GPS processor result {"connection_id":142671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:40:39] local.INFO: GPS data processed {"connection_id":142671,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:40:39] local.INFO: Acknowledgment sent {"connection_id":142671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:40:50] local.INFO: TCP Data received {"connection_id":143646,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 05:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143646,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 05:40:50] local.INFO: Processing buffer {"connection_id":143646,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 05:40:50] local.INFO: IMEI packet received {"connection_id":143646,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 05:40:50] local.INFO: IMEI acknowledgment sent {"connection_id":143646,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 05:41:10] local.INFO: TCP Data received {"connection_id":142671,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0e52a68012d7f980005afd7c0000a000628..."} 
[2026-07-27 05:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0e52a68012d7f980005afd7c0000a000628..."} 
[2026-07-27 05:41:10] local.INFO: Processing buffer {"connection_id":142671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0e52a68012d7f980005afd7c0000a000628..."} 
[2026-07-27 05:41:10] local.INFO: Packet analysis {"connection_id":142671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0e5"} 
[2026-07-27 05:41:10] local.INFO: Extracted packet for processing {"connection_id":142671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0e5"} 
[2026-07-27 05:41:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 05:41:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 05:41:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988288000001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:41:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:41:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:41:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:41:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785110801000,"timestamp_ms":1785110801000,"timestamp_seconds":1785110801,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0e52a68"} 
[2026-07-27 05:41:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 05:41:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 05: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":75,"data_length":795,"current_offset":136} 
[2026-07-27 05:41: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-07-27 05:41:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 05:41:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 05:41:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:41:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:41:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:41:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:41:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 05:41:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:41:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:41:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988288000001,"66":25397,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:41:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:41:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:41:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988288000001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:41:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:41:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:41:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:41:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:41:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988288000001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:41:10] local.INFO: DEBUG: GPS processor result {"connection_id":142671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:41:10] local.INFO: GPS data processed {"connection_id":142671,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:41:10] local.INFO: Acknowledgment sent {"connection_id":142671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:41:33] local.INFO: TCP Data received {"connection_id":144968,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:41:33] local.INFO: Processing buffer {"connection_id":144968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:41:33] local.INFO: IMEI packet received {"connection_id":144968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 05:41:33] local.INFO: IMEI acknowledgment sent {"connection_id":144968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 05:41:38] local.INFO: TCP Data received {"connection_id":144968,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:41:38] local.INFO: Processing buffer {"connection_id":144968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:41:38] local.INFO: IMEI packet received {"connection_id":144968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 05:41:38] local.INFO: IMEI acknowledgment sent {"connection_id":144968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 05:41:39] local.INFO: TCP Data received {"connection_id":144968,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0e52a68012d7f980005afd7c0000a000628..."} 
[2026-07-27 05:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144968,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0e52a68012d7f980005afd7c0000a000628..."} 
[2026-07-27 05:41:39] local.INFO: Processing buffer {"connection_id":144968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0e52a68012d7f980005afd7c0000a000628..."} 
[2026-07-27 05:41:39] local.INFO: Packet analysis {"connection_id":144968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0e5"} 
[2026-07-27 05:41:39] local.INFO: Extracted packet for processing {"connection_id":144968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0e5"} 
[2026-07-27 05:41:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 05: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-07-27 05:41:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988288000001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:41:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:41:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:41:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:41:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785110801000,"timestamp_ms":1785110801000,"timestamp_seconds":1785110801,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0e52a68"} 
[2026-07-27 05:41:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 05:41:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 05: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-07-27 05: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-07-27 05: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-07-27 05:41:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 05:41:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:41:39] local.INFO: Teltonika packet parsed successfully {"connection_id":144968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:41:39] local.INFO: Passing IMEI to GPS processor {"connection_id":144968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:41:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":144968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:41:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 05:41:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:41:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:41:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988288000001,"66":25397,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:41:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:41:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:41:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988288000001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:41:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:41:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:41:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:41:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:41:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988288000001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:41:39] local.INFO: DEBUG: GPS processor result {"connection_id":144968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:41:39] local.INFO: GPS data processed {"connection_id":144968,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:41:39] local.INFO: Acknowledgment sent {"connection_id":144968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:42:10] local.INFO: TCP Data received {"connection_id":144968,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0e52a68012d7f980005afd7c0000a000628..."} 
[2026-07-27 05:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144968,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0e52a68012d7f980005afd7c0000a000628..."} 
[2026-07-27 05:42:10] local.INFO: Processing buffer {"connection_id":144968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0e52a68012d7f980005afd7c0000a000628..."} 
[2026-07-27 05:42:10] local.INFO: Packet analysis {"connection_id":144968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0e5"} 
[2026-07-27 05:42:10] local.INFO: Extracted packet for processing {"connection_id":144968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0e5"} 
[2026-07-27 05:42:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 05:42:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988288000001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:42:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:42:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:42:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:42:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785110801000,"timestamp_ms":1785110801000,"timestamp_seconds":1785110801,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0e52a68"} 
[2026-07-27 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-07-27 05:42:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-27 05: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-07-27 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-07-27 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-07-27 05:42:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:42:10] local.INFO: Teltonika packet parsed successfully {"connection_id":144968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:42:10] local.INFO: Passing IMEI to GPS processor {"connection_id":144968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:42:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":144968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05: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-07-27 05:42:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:42:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:42:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988288000001,"66":25397,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:42:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:42:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:42:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988288000001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:42:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:42:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:42:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:42:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:42:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988288000001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:42:10] local.INFO: DEBUG: GPS processor result {"connection_id":144968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:42:10] local.INFO: GPS data processed {"connection_id":144968,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:42:10] local.INFO: Acknowledgment sent {"connection_id":144968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:42:38] local.INFO: TCP Data received {"connection_id":142672,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:42:38] local.INFO: Processing buffer {"connection_id":142672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:42:38] local.INFO: IMEI packet received {"connection_id":142672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 05:42:38] local.INFO: IMEI acknowledgment sent {"connection_id":142672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 05:42:43] local.INFO: TCP Data received {"connection_id":142672,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:42:43] local.INFO: Processing buffer {"connection_id":142672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:42:43] local.INFO: IMEI packet received {"connection_id":142672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 05:42:43] local.INFO: IMEI acknowledgment sent {"connection_id":142672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 05:42:44] local.INFO: TCP Data received {"connection_id":142672,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0e9c230012d7f980005afd7c0000a000629..."} 
[2026-07-27 05:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0e9c230012d7f980005afd7c0000a000629..."} 
[2026-07-27 05:42:44] local.INFO: Processing buffer {"connection_id":142672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0e9c230012d7f980005afd7c0000a000629..."} 
[2026-07-27 05:42:44] local.INFO: Packet analysis {"connection_id":142672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0e9"} 
[2026-07-27 05:42:44] local.INFO: Extracted packet for processing {"connection_id":142672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0e9"} 
[2026-07-27 05:42:44] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 05:42:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 05:42:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988365056001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:42:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:42:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:42:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:42:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785111102000,"timestamp_ms":1785111102000,"timestamp_seconds":1785111102,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0e9c230"} 
[2026-07-27 05:42:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 05:42:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 05:42: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-07-27 05:42: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-07-27 05:42:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 05:42:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 05:42:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:42:44] local.INFO: Teltonika packet parsed successfully {"connection_id":142672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:42:44] local.INFO: Passing IMEI to GPS processor {"connection_id":142672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:42:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":142672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:42:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 05:42:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:42:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:42:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988365056001,"66":25375,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:42:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:42:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:42:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988365056001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:42:44] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:42:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:42:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:42:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:42:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988365056001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:42:44] local.INFO: DEBUG: GPS processor result {"connection_id":142672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:42:44] local.INFO: GPS data processed {"connection_id":142672,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:42:44] local.INFO: Acknowledgment sent {"connection_id":142672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:42:48] local.INFO: TCP Data received {"connection_id":142672,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0e9c230012d7f980005afd7c0000a000629..."} 
[2026-07-27 05:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0e9c230012d7f980005afd7c0000a000629..."} 
[2026-07-27 05:42:48] local.INFO: Processing buffer {"connection_id":142672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0e9c230012d7f980005afd7c0000a000629..."} 
[2026-07-27 05:42:48] local.INFO: Packet analysis {"connection_id":142672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0e9"} 
[2026-07-27 05:42:48] local.INFO: Extracted packet for processing {"connection_id":142672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0e9"} 
[2026-07-27 05:42:48] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 05:42:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 05:42:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988365056001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:42:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:42:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:42:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:42:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785111102000,"timestamp_ms":1785111102000,"timestamp_seconds":1785111102,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0e9c230"} 
[2026-07-27 05:42:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 05:42:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 05:42:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 05:42: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-07-27 05:42:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 05:42:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 05:42:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:42:48] local.INFO: Teltonika packet parsed successfully {"connection_id":142672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:42:48] local.INFO: Passing IMEI to GPS processor {"connection_id":142672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:42:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":142672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:42:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 05:42:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:42:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:42:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988365056001,"66":25375,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:42:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:42:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:42:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988365056001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:42:48] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:42:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:42:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:42:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:42:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988365056001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:42:48] local.INFO: DEBUG: GPS processor result {"connection_id":142672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:42:48] local.INFO: GPS data processed {"connection_id":142672,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:42:48] local.INFO: Acknowledgment sent {"connection_id":142672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:43:33] local.INFO: TCP Data received {"connection_id":144969,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:43:33] local.INFO: Processing buffer {"connection_id":144969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:43:33] local.INFO: IMEI packet received {"connection_id":144969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 05:43:33] local.INFO: IMEI acknowledgment sent {"connection_id":144969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 05:43:38] local.INFO: TCP Data received {"connection_id":144969,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:43:38] local.INFO: Processing buffer {"connection_id":144969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:43:38] local.INFO: IMEI packet received {"connection_id":144969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 05:43:38] local.INFO: IMEI acknowledgment sent {"connection_id":144969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 05:43:39] local.INFO: TCP Data received {"connection_id":144969,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0e9c230012d7f980005afd7c0000a000629..."} 
[2026-07-27 05:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0e9c230012d7f980005afd7c0000a000629..."} 
[2026-07-27 05:43:39] local.INFO: Processing buffer {"connection_id":144969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0e9c230012d7f980005afd7c0000a000629..."} 
[2026-07-27 05:43:39] local.INFO: Packet analysis {"connection_id":144969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0e9"} 
[2026-07-27 05:43:39] local.INFO: Extracted packet for processing {"connection_id":144969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0e9"} 
[2026-07-27 05:43:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 05: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-07-27 05:43:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988365056001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:43:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:43:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:43:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:43:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785111102000,"timestamp_ms":1785111102000,"timestamp_seconds":1785111102,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0e9c230"} 
[2026-07-27 05:43:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 05:43:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 05: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":53,"data_length":795,"current_offset":136} 
[2026-07-27 05:43: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-07-27 05: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-07-27 05:43:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 05:43:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:43:39] local.INFO: Teltonika packet parsed successfully {"connection_id":144969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:43:39] local.INFO: Passing IMEI to GPS processor {"connection_id":144969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:43:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":144969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:43: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-07-27 05:43:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:43:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:43:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988365056001,"66":25375,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:43:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:43:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:43:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988365056001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:43:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:43:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:43:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:43:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:43:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988365056001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:43:39] local.INFO: DEBUG: GPS processor result {"connection_id":144969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:43:39] local.INFO: GPS data processed {"connection_id":144969,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:43:39] local.INFO: Acknowledgment sent {"connection_id":144969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:44:10] local.INFO: TCP Data received {"connection_id":144969,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0e9c230012d7f980005afd7c0000a000629..."} 
[2026-07-27 05:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0e9c230012d7f980005afd7c0000a000629..."} 
[2026-07-27 05:44:10] local.INFO: Processing buffer {"connection_id":144969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0e9c230012d7f980005afd7c0000a000629..."} 
[2026-07-27 05:44:10] local.INFO: Packet analysis {"connection_id":144969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0e9"} 
[2026-07-27 05:44:10] local.INFO: Extracted packet for processing {"connection_id":144969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0e9"} 
[2026-07-27 05:44:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 05:44:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988365056001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:44:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:44:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:44:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:44:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785111102000,"timestamp_ms":1785111102000,"timestamp_seconds":1785111102,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0e9c230"} 
[2026-07-27 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-07-27 05:44:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 05: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-07-27 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-07-27 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-07-27 05:44:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:44:10] local.INFO: Teltonika packet parsed successfully {"connection_id":144969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:44:10] local.INFO: Passing IMEI to GPS processor {"connection_id":144969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:44:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":144969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:44:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 05:44:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:44:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:44:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988365056001,"66":25375,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:44:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:44:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:44:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988365056001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:44:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:44:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:44:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:44:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:44:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988365056001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:44:10] local.INFO: DEBUG: GPS processor result {"connection_id":144969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:44:10] local.INFO: GPS data processed {"connection_id":144969,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:44:10] local.INFO: Acknowledgment sent {"connection_id":144969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:44:33] local.INFO: TCP Data received {"connection_id":142578,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:44:33] local.INFO: Processing buffer {"connection_id":142578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:44:33] local.INFO: IMEI packet received {"connection_id":142578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 05:44:33] local.INFO: IMEI acknowledgment sent {"connection_id":142578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 05:44:38] local.INFO: TCP Data received {"connection_id":142578,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:44:38] local.INFO: Processing buffer {"connection_id":142578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:44:38] local.INFO: IMEI packet received {"connection_id":142578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 05:44:38] local.INFO: IMEI acknowledgment sent {"connection_id":142578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 05:44:39] local.INFO: TCP Data received {"connection_id":142578,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0e9c230012d7f980005afd7c0000a000629..."} 
[2026-07-27 05:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142578,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0e9c230012d7f980005afd7c0000a000629..."} 
[2026-07-27 05:44:39] local.INFO: Processing buffer {"connection_id":142578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0e9c230012d7f980005afd7c0000a000629..."} 
[2026-07-27 05:44:39] local.INFO: Packet analysis {"connection_id":142578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0e9"} 
[2026-07-27 05:44:39] local.INFO: Extracted packet for processing {"connection_id":142578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0e9"} 
[2026-07-27 05:44:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 05:44:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 05:44:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988365056001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:44:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:44:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:44:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:44:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785111102000,"timestamp_ms":1785111102000,"timestamp_seconds":1785111102,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0e9c230"} 
[2026-07-27 05:44:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 05:44:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 05: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":53,"data_length":795,"current_offset":136} 
[2026-07-27 05:44: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-07-27 05:44:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 05:44:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 05:44:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:44:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:44:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:44:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:44:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 05:44:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:44:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:44:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988365056001,"66":25375,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:44:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:44:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:44:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988365056001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:44:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:44:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:44:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:44:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:44:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988365056001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:44:39] local.INFO: DEBUG: GPS processor result {"connection_id":142578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:44:39] local.INFO: GPS data processed {"connection_id":142578,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:44:39] local.INFO: Acknowledgment sent {"connection_id":142578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:45:10] local.INFO: TCP Data received {"connection_id":142578,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0e9c230012d7f980005afd7c0000a000629..."} 
[2026-07-27 05:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142578,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0e9c230012d7f980005afd7c0000a000629..."} 
[2026-07-27 05:45:10] local.INFO: Processing buffer {"connection_id":142578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0e9c230012d7f980005afd7c0000a000629..."} 
[2026-07-27 05:45:10] local.INFO: Packet analysis {"connection_id":142578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0e9"} 
[2026-07-27 05:45:10] local.INFO: Extracted packet for processing {"connection_id":142578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0e9"} 
[2026-07-27 05:45:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 05:45:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 05:45:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988365056001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:45:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:45:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:45:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:45:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785111102000,"timestamp_ms":1785111102000,"timestamp_seconds":1785111102,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0e9c230"} 
[2026-07-27 05:45:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 05:45:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 05:45:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 05:45:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 05:45:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 05:45:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 05:45:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:45:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:45:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:45:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:45:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 05:45:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:45:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:45:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988365056001,"66":25375,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:45:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:45:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:45:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988365056001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:45:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:45:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:45:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:45:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:45:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988365056001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:45:10] local.INFO: DEBUG: GPS processor result {"connection_id":142578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:45:10] local.INFO: GPS data processed {"connection_id":142578,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:45:10] local.INFO: Acknowledgment sent {"connection_id":142578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:45:33] local.INFO: TCP Data received {"connection_id":142579,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:45:33] local.INFO: Processing buffer {"connection_id":142579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:45:33] local.INFO: IMEI packet received {"connection_id":142579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 05:45:33] local.INFO: IMEI acknowledgment sent {"connection_id":142579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 05:45:38] local.INFO: TCP Data received {"connection_id":142579,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:45:38] local.INFO: Processing buffer {"connection_id":142579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:45:38] local.INFO: IMEI packet received {"connection_id":142579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 05:45:38] local.INFO: IMEI acknowledgment sent {"connection_id":142579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 05:45:39] local.INFO: TCP Data received {"connection_id":142579,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0e9c230012d7f980005afd7c0000a000629..."} 
[2026-07-27 05:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0e9c230012d7f980005afd7c0000a000629..."} 
[2026-07-27 05:45:39] local.INFO: Processing buffer {"connection_id":142579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0e9c230012d7f980005afd7c0000a000629..."} 
[2026-07-27 05:45:39] local.INFO: Packet analysis {"connection_id":142579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0e9"} 
[2026-07-27 05:45:39] local.INFO: Extracted packet for processing {"connection_id":142579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0e9"} 
[2026-07-27 05:45:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 05:45:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 05:45:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988365056001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:45:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:45:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:45:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:45:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785111102000,"timestamp_ms":1785111102000,"timestamp_seconds":1785111102,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0e9c230"} 
[2026-07-27 05:45:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 05:45:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 05:45:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 05: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-07-27 05:45:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 05:45:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 05:45:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:45:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:45:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:45:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:45:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 05:45:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:45:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:45:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988365056001,"66":25375,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:45:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:45:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:45:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988365056001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:45:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:45:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:45:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:45:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:45:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988365056001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:45:39] local.INFO: DEBUG: GPS processor result {"connection_id":142579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:45:39] local.INFO: GPS data processed {"connection_id":142579,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:45:39] local.INFO: Acknowledgment sent {"connection_id":142579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:46:10] local.INFO: TCP Data received {"connection_id":142579,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0e9c230012d7f980005afd7c0000a000629..."} 
[2026-07-27 05:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0e9c230012d7f980005afd7c0000a000629..."} 
[2026-07-27 05:46:10] local.INFO: Processing buffer {"connection_id":142579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0e9c230012d7f980005afd7c0000a000629..."} 
[2026-07-27 05:46:10] local.INFO: Packet analysis {"connection_id":142579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0e9"} 
[2026-07-27 05:46:10] local.INFO: Extracted packet for processing {"connection_id":142579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0e9"} 
[2026-07-27 05:46:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 05:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 05:46:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988365056001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:46:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:46:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:46:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:46:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785111102000,"timestamp_ms":1785111102000,"timestamp_seconds":1785111102,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0e9c230"} 
[2026-07-27 05:46:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 05:46:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 05:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 05: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-07-27 05:46:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 05:46:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 05:46:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:46:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:46:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:46:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:46:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 05:46:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:46:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:46:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988365056001,"66":25375,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:46:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:46:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:46:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988365056001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:46:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:46:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:46:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:46:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:46:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988365056001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:46:10] local.INFO: DEBUG: GPS processor result {"connection_id":142579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:46:10] local.INFO: GPS data processed {"connection_id":142579,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:46:10] local.INFO: Acknowledgment sent {"connection_id":142579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:46:25] local.INFO: TCP Data received {"connection_id":143650,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 05:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143650,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 05:46:25] local.INFO: Processing buffer {"connection_id":143650,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 05:46:25] local.INFO: IMEI packet received {"connection_id":143650,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 05:46:25] local.INFO: IMEI acknowledgment sent {"connection_id":143650,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 05:46:33] local.INFO: TCP Data received {"connection_id":143651,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:46:33] local.INFO: Processing buffer {"connection_id":143651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:46:33] local.INFO: IMEI packet received {"connection_id":143651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 05:46:33] local.INFO: IMEI acknowledgment sent {"connection_id":143651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 05:46:38] local.INFO: TCP Data received {"connection_id":143651,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:46:38] local.INFO: Processing buffer {"connection_id":143651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:46:38] local.INFO: IMEI packet received {"connection_id":143651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 05:46:38] local.INFO: IMEI acknowledgment sent {"connection_id":143651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 05:46:39] local.INFO: TCP Data received {"connection_id":143651,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0e9c230012d7f980005afd7c0000a000629..."} 
[2026-07-27 05:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0e9c230012d7f980005afd7c0000a000629..."} 
[2026-07-27 05:46:39] local.INFO: Processing buffer {"connection_id":143651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0e9c230012d7f980005afd7c0000a000629..."} 
[2026-07-27 05:46:39] local.INFO: Packet analysis {"connection_id":143651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0e9"} 
[2026-07-27 05:46:39] local.INFO: Extracted packet for processing {"connection_id":143651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0e9"} 
[2026-07-27 05:46:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 05:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 05:46:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988365056001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:46:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:46:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:46:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:46:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785111102000,"timestamp_ms":1785111102000,"timestamp_seconds":1785111102,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0e9c230"} 
[2026-07-27 05:46:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 05:46:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 05: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-07-27 05: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-07-27 05:46:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 05:46:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 05:46:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:46:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:46:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:46:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:46:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 05:46:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:46:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:46:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988365056001,"66":25375,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:46:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:46:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:46:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988365056001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:46:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:46:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:46:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:46:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:46:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988365056001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:46:39] local.INFO: DEBUG: GPS processor result {"connection_id":143651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:46:39] local.INFO: GPS data processed {"connection_id":143651,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:46:39] local.INFO: Acknowledgment sent {"connection_id":143651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:46:45] local.INFO: TCP Data received {"connection_id":143652,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 05:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143652,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 05:46:45] local.INFO: Processing buffer {"connection_id":143652,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 05:46:45] local.INFO: IMEI packet received {"connection_id":143652,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 05:46:45] local.INFO: IMEI acknowledgment sent {"connection_id":143652,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 05:47:10] local.INFO: TCP Data received {"connection_id":143651,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0e9c230012d7f980005afd7c0000a000629..."} 
[2026-07-27 05:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0e9c230012d7f980005afd7c0000a000629..."} 
[2026-07-27 05:47:10] local.INFO: Processing buffer {"connection_id":143651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0e9c230012d7f980005afd7c0000a000629..."} 
[2026-07-27 05:47:10] local.INFO: Packet analysis {"connection_id":143651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0e9"} 
[2026-07-27 05:47:10] local.INFO: Extracted packet for processing {"connection_id":143651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0e9"} 
[2026-07-27 05:47:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 05:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 05:47:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988365056001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:47:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:47:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:47:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:47:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785111102000,"timestamp_ms":1785111102000,"timestamp_seconds":1785111102,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0e9c230"} 
[2026-07-27 05:47:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 05:47:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 05:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 05: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-07-27 05:47:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 05:47:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 05:47:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:47:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:47:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:47:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:47:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 05:47:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:47:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:47:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988365056001,"66":25375,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:47:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:47:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:47:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988365056001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:47:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:47:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:47:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:47:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:47:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988365056001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:47:10] local.INFO: DEBUG: GPS processor result {"connection_id":143651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:47:10] local.INFO: GPS data processed {"connection_id":143651,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:47:10] local.INFO: Acknowledgment sent {"connection_id":143651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:47:38] local.INFO: TCP Data received {"connection_id":142673,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:47:38] local.INFO: Processing buffer {"connection_id":142673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:47:38] local.INFO: IMEI packet received {"connection_id":142673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 05:47:38] local.INFO: IMEI acknowledgment sent {"connection_id":142673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 05:47:43] local.INFO: TCP Data received {"connection_id":142673,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:47:43] local.INFO: Processing buffer {"connection_id":142673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:47:43] local.INFO: IMEI packet received {"connection_id":142673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 05:47:43] local.INFO: IMEI acknowledgment sent {"connection_id":142673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 05:47:44] local.INFO: TCP Data received {"connection_id":142673,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0ee59f8012d7f980005afd7c0000600062a..."} 
[2026-07-27 05:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0ee59f8012d7f980005afd7c0000600062a..."} 
[2026-07-27 05:47:44] local.INFO: Processing buffer {"connection_id":142673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0ee59f8012d7f980005afd7c0000600062a..."} 
[2026-07-27 05:47:44] local.INFO: Packet analysis {"connection_id":142673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0ee"} 
[2026-07-27 05:47:44] local.INFO: Extracted packet for processing {"connection_id":142673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0ee"} 
[2026-07-27 05:47:44] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":6,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 05: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-07-27 05:47:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988442112001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:47:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:47:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:47:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:47:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785111403000,"timestamp_ms":1785111403000,"timestamp_seconds":1785111403,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0ee59f8"} 
[2026-07-27 05:47:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 05:47:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 05: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":31,"data_length":795,"current_offset":136} 
[2026-07-27 05:47:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 05: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-07-27 05:47:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 05:47:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:47:44] local.INFO: Teltonika packet parsed successfully {"connection_id":142673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:47:44] local.INFO: Passing IMEI to GPS processor {"connection_id":142673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:47:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":142673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:47:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 05:47:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:47:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:47:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988442112001,"66":25321,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:47:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:47:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:47:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988442112001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:47:44] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:47:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:47:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:47:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:47:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988442112001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:47:44] local.INFO: DEBUG: GPS processor result {"connection_id":142673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:47:44] local.INFO: GPS data processed {"connection_id":142673,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:47:44] local.INFO: Acknowledgment sent {"connection_id":142673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:47:48] local.INFO: TCP Data received {"connection_id":142673,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0ee59f8012d7f980005afd7c0000600062a..."} 
[2026-07-27 05:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0ee59f8012d7f980005afd7c0000600062a..."} 
[2026-07-27 05:47:48] local.INFO: Processing buffer {"connection_id":142673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0ee59f8012d7f980005afd7c0000600062a..."} 
[2026-07-27 05:47:48] local.INFO: Packet analysis {"connection_id":142673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0ee"} 
[2026-07-27 05:47:48] local.INFO: Extracted packet for processing {"connection_id":142673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0ee"} 
[2026-07-27 05:47:48] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":6,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 05:47:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 05:47:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988442112001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:47:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:47:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:47:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:47:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785111403000,"timestamp_ms":1785111403000,"timestamp_seconds":1785111403,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0ee59f8"} 
[2026-07-27 05:47:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 05:47:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 05:47:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 05:47:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 05:47:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 05:47:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 05:47:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:47:48] local.INFO: Teltonika packet parsed successfully {"connection_id":142673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:47:48] local.INFO: Passing IMEI to GPS processor {"connection_id":142673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:47:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":142673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:47:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 05:47:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:47:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:47:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988442112001,"66":25321,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:47:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:47:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:47:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988442112001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:47:48] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:47:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:47:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:47:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:47:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988442112001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:47:48] local.INFO: DEBUG: GPS processor result {"connection_id":142673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:47:48] local.INFO: GPS data processed {"connection_id":142673,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:47:48] local.INFO: Acknowledgment sent {"connection_id":142673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:48:33] local.INFO: TCP Data received {"connection_id":143653,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143653,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:48:33] local.INFO: Processing buffer {"connection_id":143653,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:48:33] local.INFO: IMEI packet received {"connection_id":143653,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 05:48:33] local.INFO: IMEI acknowledgment sent {"connection_id":143653,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 05:48:38] local.INFO: TCP Data received {"connection_id":143653,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143653,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:48:38] local.INFO: Processing buffer {"connection_id":143653,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:48:38] local.INFO: IMEI packet received {"connection_id":143653,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 05:48:38] local.INFO: IMEI acknowledgment sent {"connection_id":143653,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 05:48:39] local.INFO: TCP Data received {"connection_id":143653,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0ee59f8012d7f980005afd7c0000600062a..."} 
[2026-07-27 05:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0ee59f8012d7f980005afd7c0000600062a..."} 
[2026-07-27 05:48:39] local.INFO: Processing buffer {"connection_id":143653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0ee59f8012d7f980005afd7c0000600062a..."} 
[2026-07-27 05:48:39] local.INFO: Packet analysis {"connection_id":143653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0ee"} 
[2026-07-27 05:48:39] local.INFO: Extracted packet for processing {"connection_id":143653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0ee"} 
[2026-07-27 05:48:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":6,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 05:48:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 05:48:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988442112001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:48:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:48:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:48:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:48:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785111403000,"timestamp_ms":1785111403000,"timestamp_seconds":1785111403,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0ee59f8"} 
[2026-07-27 05:48:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 05:48:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 05: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":31,"data_length":795,"current_offset":136} 
[2026-07-27 05:48: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-07-27 05:48:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 05:48:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 05:48:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:48:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:48:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:48:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:48:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 05:48:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:48:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:48:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988442112001,"66":25321,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:48:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:48:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:48:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988442112001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:48:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:48:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:48:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:48:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:48:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988442112001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:48:39] local.INFO: DEBUG: GPS processor result {"connection_id":143653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:48:39] local.INFO: GPS data processed {"connection_id":143653,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:48:39] local.INFO: Acknowledgment sent {"connection_id":143653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:49:10] local.INFO: TCP Data received {"connection_id":143653,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0ee59f8012d7f980005afd7c0000600062a..."} 
[2026-07-27 05:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0ee59f8012d7f980005afd7c0000600062a..."} 
[2026-07-27 05:49:10] local.INFO: Processing buffer {"connection_id":143653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0ee59f8012d7f980005afd7c0000600062a..."} 
[2026-07-27 05:49:10] local.INFO: Packet analysis {"connection_id":143653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0ee"} 
[2026-07-27 05:49:10] local.INFO: Extracted packet for processing {"connection_id":143653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0ee"} 
[2026-07-27 05:49:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":6,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 05:49:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988442112001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:49:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:49:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:49:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:49:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785111403000,"timestamp_ms":1785111403000,"timestamp_seconds":1785111403,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0ee59f8"} 
[2026-07-27 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-07-27 05:49:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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-07-27 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-07-27 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-07-27 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-07-27 05:49:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:49:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:49:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:49:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05: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-07-27 05:49:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:49:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:49:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988442112001,"66":25321,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:49:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:49:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:49:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988442112001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:49:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:49:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:49:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:49:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:49:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988442112001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:49:10] local.INFO: DEBUG: GPS processor result {"connection_id":143653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:49:10] local.INFO: GPS data processed {"connection_id":143653,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:49:10] local.INFO: Acknowledgment sent {"connection_id":143653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:49:33] local.INFO: TCP Data received {"connection_id":144972,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:49:33] local.INFO: Processing buffer {"connection_id":144972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:49:33] local.INFO: IMEI packet received {"connection_id":144972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 05:49:33] local.INFO: IMEI acknowledgment sent {"connection_id":144972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 05:49:38] local.INFO: TCP Data received {"connection_id":144972,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:49:38] local.INFO: Processing buffer {"connection_id":144972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:49:38] local.INFO: IMEI packet received {"connection_id":144972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 05:49:38] local.INFO: IMEI acknowledgment sent {"connection_id":144972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 05:49:39] local.INFO: TCP Data received {"connection_id":144972,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0ee59f8012d7f980005afd7c0000600062a..."} 
[2026-07-27 05:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144972,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0ee59f8012d7f980005afd7c0000600062a..."} 
[2026-07-27 05:49:39] local.INFO: Processing buffer {"connection_id":144972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0ee59f8012d7f980005afd7c0000600062a..."} 
[2026-07-27 05:49:39] local.INFO: Packet analysis {"connection_id":144972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0ee"} 
[2026-07-27 05:49:39] local.INFO: Extracted packet for processing {"connection_id":144972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0ee"} 
[2026-07-27 05:49:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":6,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 05:49:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 05:49:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988442112001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:49:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:49:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:49:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:49:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785111403000,"timestamp_ms":1785111403000,"timestamp_seconds":1785111403,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0ee59f8"} 
[2026-07-27 05:49:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 05:49:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 05: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":31,"data_length":795,"current_offset":136} 
[2026-07-27 05:49: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-07-27 05:49:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 05:49:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 05:49:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:49:39] local.INFO: Teltonika packet parsed successfully {"connection_id":144972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:49:39] local.INFO: Passing IMEI to GPS processor {"connection_id":144972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:49:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":144972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:49:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 05:49:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:49:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:49:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988442112001,"66":25321,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:49:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:49:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:49:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988442112001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:49:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:49:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:49:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:49:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:49:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988442112001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:49:39] local.INFO: DEBUG: GPS processor result {"connection_id":144972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:49:39] local.INFO: GPS data processed {"connection_id":144972,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:49:39] local.INFO: Acknowledgment sent {"connection_id":144972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:50:10] local.INFO: TCP Data received {"connection_id":144972,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0ee59f8012d7f980005afd7c0000600062a..."} 
[2026-07-27 05:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144972,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0ee59f8012d7f980005afd7c0000600062a..."} 
[2026-07-27 05:50:10] local.INFO: Processing buffer {"connection_id":144972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0ee59f8012d7f980005afd7c0000600062a..."} 
[2026-07-27 05:50:10] local.INFO: Packet analysis {"connection_id":144972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0ee"} 
[2026-07-27 05:50:10] local.INFO: Extracted packet for processing {"connection_id":144972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0ee"} 
[2026-07-27 05:50:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":6,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 05:50:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988442112001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:50:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:50:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:50:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:50:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785111403000,"timestamp_ms":1785111403000,"timestamp_seconds":1785111403,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0ee59f8"} 
[2026-07-27 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-07-27 05:50:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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-07-27 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-07-27 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-07-27 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-07-27 05:50:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:50:10] local.INFO: Teltonika packet parsed successfully {"connection_id":144972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:50:10] local.INFO: Passing IMEI to GPS processor {"connection_id":144972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:50:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":144972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:50:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 05:50:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:50:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:50:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988442112001,"66":25321,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:50:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:50:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:50:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988442112001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:50:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:50:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:50:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:50:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:50:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988442112001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:50:10] local.INFO: DEBUG: GPS processor result {"connection_id":144972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:50:10] local.INFO: GPS data processed {"connection_id":144972,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:50:10] local.INFO: Acknowledgment sent {"connection_id":144972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:50:33] local.INFO: TCP Data received {"connection_id":143656,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:50:33] local.INFO: Processing buffer {"connection_id":143656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:50:33] local.INFO: IMEI packet received {"connection_id":143656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 05:50:33] local.INFO: IMEI acknowledgment sent {"connection_id":143656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 05:50:38] local.INFO: TCP Data received {"connection_id":143656,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:50:38] local.INFO: Processing buffer {"connection_id":143656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:50:38] local.INFO: IMEI packet received {"connection_id":143656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 05:50:38] local.INFO: IMEI acknowledgment sent {"connection_id":143656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 05:50:39] local.INFO: TCP Data received {"connection_id":143656,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0ee59f8012d7f980005afd7c0000600062a..."} 
[2026-07-27 05:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0ee59f8012d7f980005afd7c0000600062a..."} 
[2026-07-27 05:50:39] local.INFO: Processing buffer {"connection_id":143656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0ee59f8012d7f980005afd7c0000600062a..."} 
[2026-07-27 05:50:39] local.INFO: Packet analysis {"connection_id":143656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0ee"} 
[2026-07-27 05:50:39] local.INFO: Extracted packet for processing {"connection_id":143656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0ee"} 
[2026-07-27 05:50:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":6,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 05:50:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 05:50:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988442112001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:50:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:50:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:50:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:50:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785111403000,"timestamp_ms":1785111403000,"timestamp_seconds":1785111403,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0ee59f8"} 
[2026-07-27 05:50:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 05:50:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 05:50:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 05:50:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 05:50:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 05:50:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 05:50:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:50:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:50:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:50:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:50:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 05:50:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:50:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:50:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988442112001,"66":25321,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:50:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:50:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:50:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988442112001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:50:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:50:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:50:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:50:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:50:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988442112001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:50:39] local.INFO: DEBUG: GPS processor result {"connection_id":143656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:50:39] local.INFO: GPS data processed {"connection_id":143656,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:50:39] local.INFO: Acknowledgment sent {"connection_id":143656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:51:10] local.INFO: TCP Data received {"connection_id":143656,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0ee59f8012d7f980005afd7c0000600062a..."} 
[2026-07-27 05:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0ee59f8012d7f980005afd7c0000600062a..."} 
[2026-07-27 05:51:10] local.INFO: Processing buffer {"connection_id":143656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0ee59f8012d7f980005afd7c0000600062a..."} 
[2026-07-27 05:51:10] local.INFO: Packet analysis {"connection_id":143656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0ee"} 
[2026-07-27 05:51:10] local.INFO: Extracted packet for processing {"connection_id":143656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0ee"} 
[2026-07-27 05:51:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":6,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 05:51:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988442112001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:51:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:51:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:51:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:51:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785111403000,"timestamp_ms":1785111403000,"timestamp_seconds":1785111403,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0ee59f8"} 
[2026-07-27 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-07-27 05:51:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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-07-27 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-07-27 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-07-27 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-07-27 05:51:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:51:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:51:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:51:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:51:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 05:51:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:51:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:51:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988442112001,"66":25321,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:51:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:51:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:51:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988442112001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:51:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:51:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:51:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:51:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:51:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988442112001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:51:10] local.INFO: DEBUG: GPS processor result {"connection_id":143656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:51:10] local.INFO: GPS data processed {"connection_id":143656,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:51:10] local.INFO: Acknowledgment sent {"connection_id":143656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:51:33] local.INFO: TCP Data received {"connection_id":143657,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:51:33] local.INFO: Processing buffer {"connection_id":143657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:51:33] local.INFO: IMEI packet received {"connection_id":143657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 05:51:33] local.INFO: IMEI acknowledgment sent {"connection_id":143657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 05:51:38] local.INFO: TCP Data received {"connection_id":143657,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:51:38] local.INFO: Processing buffer {"connection_id":143657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:51:38] local.INFO: IMEI packet received {"connection_id":143657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 05:51:38] local.INFO: IMEI acknowledgment sent {"connection_id":143657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 05:51:39] local.INFO: TCP Data received {"connection_id":143657,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0ee59f8012d7f980005afd7c0000600062a..."} 
[2026-07-27 05:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143657,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0ee59f8012d7f980005afd7c0000600062a..."} 
[2026-07-27 05:51:39] local.INFO: Processing buffer {"connection_id":143657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0ee59f8012d7f980005afd7c0000600062a..."} 
[2026-07-27 05:51:39] local.INFO: Packet analysis {"connection_id":143657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0ee"} 
[2026-07-27 05:51:39] local.INFO: Extracted packet for processing {"connection_id":143657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0ee"} 
[2026-07-27 05:51:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":6,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 05:51:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 05:51:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988442112001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:51:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:51:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:51:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:51:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785111403000,"timestamp_ms":1785111403000,"timestamp_seconds":1785111403,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0ee59f8"} 
[2026-07-27 05:51:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 05:51:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 05:51:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 05:51: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-07-27 05:51:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 05:51:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 05:51:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:51:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:51:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:51:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:51:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 05:51:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:51:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:51:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988442112001,"66":25321,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:51:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:51:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:51:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988442112001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:51:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:51:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:51:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:51:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:51:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988442112001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:51:39] local.INFO: DEBUG: GPS processor result {"connection_id":143657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:51:39] local.INFO: GPS data processed {"connection_id":143657,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:51:39] local.INFO: Acknowledgment sent {"connection_id":143657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:52:10] local.INFO: TCP Data received {"connection_id":143657,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0ee59f8012d7f980005afd7c0000600062a..."} 
[2026-07-27 05:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143657,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0ee59f8012d7f980005afd7c0000600062a..."} 
[2026-07-27 05:52:10] local.INFO: Processing buffer {"connection_id":143657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0ee59f8012d7f980005afd7c0000600062a..."} 
[2026-07-27 05:52:10] local.INFO: Packet analysis {"connection_id":143657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0ee"} 
[2026-07-27 05:52:10] local.INFO: Extracted packet for processing {"connection_id":143657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0ee"} 
[2026-07-27 05:52:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":6,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 05:52:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988442112001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:52:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:52:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:52:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:52:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785111403000,"timestamp_ms":1785111403000,"timestamp_seconds":1785111403,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0ee59f8"} 
[2026-07-27 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-07-27 05:52:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":31,"data_length":795,"current_offset":136} 
[2026-07-27 05: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-07-27 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-07-27 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-07-27 05:52:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:52:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:52:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:52:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:52:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 05:52:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:52:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:52:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988442112001,"66":25321,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:52:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:52:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:52:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988442112001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:52:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:52:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:52:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:52:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:52:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988442112001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:52:10] local.INFO: DEBUG: GPS processor result {"connection_id":143657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:52:10] local.INFO: GPS data processed {"connection_id":143657,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:52:10] local.INFO: Acknowledgment sent {"connection_id":143657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:52:10] local.INFO: TCP Data received {"connection_id":142674,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 05:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142674,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 05:52:10] local.INFO: Processing buffer {"connection_id":142674,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 05:52:10] local.INFO: IMEI packet received {"connection_id":142674,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 05:52:10] local.INFO: IMEI acknowledgment sent {"connection_id":142674,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 05:52:38] local.INFO: TCP Data received {"connection_id":142580,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:52:38] local.INFO: Processing buffer {"connection_id":142580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:52:38] local.INFO: IMEI packet received {"connection_id":142580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 05:52:38] local.INFO: IMEI acknowledgment sent {"connection_id":142580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 05:52:43] local.INFO: TCP Data received {"connection_id":142580,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:52:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:52:43] local.INFO: Processing buffer {"connection_id":142580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:52:43] local.INFO: IMEI packet received {"connection_id":142580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 05:52:43] local.INFO: IMEI acknowledgment sent {"connection_id":142580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 05:52:44] local.INFO: TCP Data received {"connection_id":142580,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0f2f1c0012d7f980005afd7c00006000627..."} 
[2026-07-27 05:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142580,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0f2f1c0012d7f980005afd7c00006000627..."} 
[2026-07-27 05:52:44] local.INFO: Processing buffer {"connection_id":142580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0f2f1c0012d7f980005afd7c00006000627..."} 
[2026-07-27 05:52:44] local.INFO: Packet analysis {"connection_id":142580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0f2"} 
[2026-07-27 05:52:44] local.INFO: Extracted packet for processing {"connection_id":142580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0f2"} 
[2026-07-27 05:52:44] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":6,"angle":6,"satellites":39,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 05:52:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 05:52:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988519168001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:52:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:52:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:52:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:52:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785111704000,"timestamp_ms":1785111704000,"timestamp_seconds":1785111704,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0f2f1c0"} 
[2026-07-27 05:52:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 05:52:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 05:52: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-07-27 05:52: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-07-27 05:52:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 05:52:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 05:52:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:52:44] local.INFO: Teltonika packet parsed successfully {"connection_id":142580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:52:44] local.INFO: Passing IMEI to GPS processor {"connection_id":142580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:52:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":142580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:52:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 05:52:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:52:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:52:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988519168001,"66":25397,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:52:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:52:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:52:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988519168001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:52:44] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:52:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:52:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:52:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:52:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988519168001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:52:44] local.INFO: DEBUG: GPS processor result {"connection_id":142580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:52:44] local.INFO: GPS data processed {"connection_id":142580,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:52:44] local.INFO: Acknowledgment sent {"connection_id":142580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:52:48] local.INFO: TCP Data received {"connection_id":142580,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0f2f1c0012d7f980005afd7c00006000627..."} 
[2026-07-27 05:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142580,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0f2f1c0012d7f980005afd7c00006000627..."} 
[2026-07-27 05:52:48] local.INFO: Processing buffer {"connection_id":142580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0f2f1c0012d7f980005afd7c00006000627..."} 
[2026-07-27 05:52:48] local.INFO: Packet analysis {"connection_id":142580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0f2"} 
[2026-07-27 05:52:48] local.INFO: Extracted packet for processing {"connection_id":142580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0f2"} 
[2026-07-27 05:52:48] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":6,"angle":6,"satellites":39,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 05:52:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 05:52:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988519168001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:52:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:52:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:52:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:52:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785111704000,"timestamp_ms":1785111704000,"timestamp_seconds":1785111704,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0f2f1c0"} 
[2026-07-27 05:52:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 05:52:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 05:52:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 05:52:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 05:52:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 05:52:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 05:52:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:52:48] local.INFO: Teltonika packet parsed successfully {"connection_id":142580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:52:48] local.INFO: Passing IMEI to GPS processor {"connection_id":142580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:52:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":142580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:52:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 05:52:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:52:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:52:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988519168001,"66":25397,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:52:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:52:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:52:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988519168001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:52:48] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:52:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:52:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:52:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:52:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988519168001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:52:48] local.INFO: DEBUG: GPS processor result {"connection_id":142580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:52:48] local.INFO: GPS data processed {"connection_id":142580,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:52:48] local.INFO: Acknowledgment sent {"connection_id":142580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:52:50] local.INFO: TCP Data received {"connection_id":144974,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 05:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144974,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 05:52:50] local.INFO: Processing buffer {"connection_id":144974,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 05:52:50] local.INFO: IMEI packet received {"connection_id":144974,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 05:52:50] local.INFO: IMEI acknowledgment sent {"connection_id":144974,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 05:53:33] local.INFO: TCP Data received {"connection_id":143658,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:53:33] local.INFO: Processing buffer {"connection_id":143658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:53:33] local.INFO: IMEI packet received {"connection_id":143658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 05:53:33] local.INFO: IMEI acknowledgment sent {"connection_id":143658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 05:53:38] local.INFO: TCP Data received {"connection_id":143658,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:53:38] local.INFO: Processing buffer {"connection_id":143658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:53:38] local.INFO: IMEI packet received {"connection_id":143658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 05:53:38] local.INFO: IMEI acknowledgment sent {"connection_id":143658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 05:53:39] local.INFO: TCP Data received {"connection_id":143658,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0f2f1c0012d7f980005afd7c00006000627..."} 
[2026-07-27 05:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0f2f1c0012d7f980005afd7c00006000627..."} 
[2026-07-27 05:53:39] local.INFO: Processing buffer {"connection_id":143658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0f2f1c0012d7f980005afd7c00006000627..."} 
[2026-07-27 05:53:39] local.INFO: Packet analysis {"connection_id":143658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0f2"} 
[2026-07-27 05:53:39] local.INFO: Extracted packet for processing {"connection_id":143658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0f2"} 
[2026-07-27 05:53:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":6,"angle":6,"satellites":39,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 05:53:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 05:53:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988519168001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:53:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:53:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:53:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:53:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785111704000,"timestamp_ms":1785111704000,"timestamp_seconds":1785111704,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0f2f1c0"} 
[2026-07-27 05:53:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 05:53:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 05: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 05:53:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 05:53:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 05:53:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 05:53:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:53:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:53:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:53:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:53:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 05:53:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:53:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:53:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988519168001,"66":25397,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:53:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:53:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:53:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988519168001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:53:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:53:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:53:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:53:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:53:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988519168001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:53:39] local.INFO: DEBUG: GPS processor result {"connection_id":143658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:53:39] local.INFO: GPS data processed {"connection_id":143658,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:53:39] local.INFO: Acknowledgment sent {"connection_id":143658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:54:10] local.INFO: TCP Data received {"connection_id":143658,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0f2f1c0012d7f980005afd7c00006000627..."} 
[2026-07-27 05:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0f2f1c0012d7f980005afd7c00006000627..."} 
[2026-07-27 05:54:10] local.INFO: Processing buffer {"connection_id":143658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0f2f1c0012d7f980005afd7c00006000627..."} 
[2026-07-27 05:54:10] local.INFO: Packet analysis {"connection_id":143658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0f2"} 
[2026-07-27 05:54:10] local.INFO: Extracted packet for processing {"connection_id":143658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0f2"} 
[2026-07-27 05:54:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":6,"angle":6,"satellites":39,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 05:54:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988519168001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:54:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:54:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:54:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:54:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785111704000,"timestamp_ms":1785111704000,"timestamp_seconds":1785111704,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0f2f1c0"} 
[2026-07-27 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-07-27 05:54:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 05: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-07-27 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-07-27 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-07-27 05:54:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:54:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:54:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:54:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:54:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 05:54:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:54:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:54:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988519168001,"66":25397,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:54:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:54:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:54:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988519168001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:54:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:54:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:54:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:54:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:54:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988519168001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:54:10] local.INFO: DEBUG: GPS processor result {"connection_id":143658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:54:10] local.INFO: GPS data processed {"connection_id":143658,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:54:10] local.INFO: Acknowledgment sent {"connection_id":143658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:54:33] local.INFO: TCP Data received {"connection_id":142675,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:54:33] local.INFO: Processing buffer {"connection_id":142675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:54:33] local.INFO: IMEI packet received {"connection_id":142675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 05:54:33] local.INFO: IMEI acknowledgment sent {"connection_id":142675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 05:54:38] local.INFO: TCP Data received {"connection_id":142675,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:54:38] local.INFO: Processing buffer {"connection_id":142675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:54:38] local.INFO: IMEI packet received {"connection_id":142675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 05:54:38] local.INFO: IMEI acknowledgment sent {"connection_id":142675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 05:54:39] local.INFO: TCP Data received {"connection_id":142675,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0f2f1c0012d7f980005afd7c00006000627..."} 
[2026-07-27 05:54:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142675,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0f2f1c0012d7f980005afd7c00006000627..."} 
[2026-07-27 05:54:39] local.INFO: Processing buffer {"connection_id":142675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0f2f1c0012d7f980005afd7c00006000627..."} 
[2026-07-27 05:54:39] local.INFO: Packet analysis {"connection_id":142675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0f2"} 
[2026-07-27 05:54:39] local.INFO: Extracted packet for processing {"connection_id":142675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0f2"} 
[2026-07-27 05:54:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":6,"angle":6,"satellites":39,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 05:54:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 05:54:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988519168001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:54:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:54:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:54:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:54:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785111704000,"timestamp_ms":1785111704000,"timestamp_seconds":1785111704,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0f2f1c0"} 
[2026-07-27 05:54:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 05:54:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 05: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 05:54:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 05:54:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 05:54:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 05:54:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:54:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:54:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:54:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:54:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 05:54:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:54:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:54:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988519168001,"66":25397,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:54:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:54:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:54:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988519168001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:54:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:54:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:54:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:54:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:54:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988519168001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:54:39] local.INFO: DEBUG: GPS processor result {"connection_id":142675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:54:39] local.INFO: GPS data processed {"connection_id":142675,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:54:39] local.INFO: Acknowledgment sent {"connection_id":142675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:55:10] local.INFO: TCP Data received {"connection_id":142675,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0f2f1c0012d7f980005afd7c00006000627..."} 
[2026-07-27 05:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142675,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0f2f1c0012d7f980005afd7c00006000627..."} 
[2026-07-27 05:55:10] local.INFO: Processing buffer {"connection_id":142675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0f2f1c0012d7f980005afd7c00006000627..."} 
[2026-07-27 05:55:10] local.INFO: Packet analysis {"connection_id":142675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0f2"} 
[2026-07-27 05:55:10] local.INFO: Extracted packet for processing {"connection_id":142675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0f2"} 
[2026-07-27 05:55:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":6,"angle":6,"satellites":39,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 05:55:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 05:55:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988519168001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:55:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:55:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:55:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:55:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785111704000,"timestamp_ms":1785111704000,"timestamp_seconds":1785111704,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0f2f1c0"} 
[2026-07-27 05:55:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 05:55:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 05: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-07-27 05: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-07-27 05:55:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 05:55:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 05:55:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:55:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:55:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:55:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05: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-07-27 05:55:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:55:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:55:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988519168001,"66":25397,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:55:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:55:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:55:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988519168001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:55:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:55:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:55:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:55:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:55:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988519168001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:55:10] local.INFO: DEBUG: GPS processor result {"connection_id":142675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:55:10] local.INFO: GPS data processed {"connection_id":142675,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:55:10] local.INFO: Acknowledgment sent {"connection_id":142675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:55:33] local.INFO: TCP Data received {"connection_id":143659,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:55:33] local.INFO: Processing buffer {"connection_id":143659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:55:33] local.INFO: IMEI packet received {"connection_id":143659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 05:55:33] local.INFO: IMEI acknowledgment sent {"connection_id":143659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 05:55:38] local.INFO: TCP Data received {"connection_id":143659,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:55:38] local.INFO: Processing buffer {"connection_id":143659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:55:38] local.INFO: IMEI packet received {"connection_id":143659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 05:55:38] local.INFO: IMEI acknowledgment sent {"connection_id":143659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 05:55:39] local.INFO: TCP Data received {"connection_id":143659,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0f2f1c0012d7f980005afd7c00006000627..."} 
[2026-07-27 05:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0f2f1c0012d7f980005afd7c00006000627..."} 
[2026-07-27 05:55:39] local.INFO: Processing buffer {"connection_id":143659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0f2f1c0012d7f980005afd7c00006000627..."} 
[2026-07-27 05:55:39] local.INFO: Packet analysis {"connection_id":143659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0f2"} 
[2026-07-27 05:55:39] local.INFO: Extracted packet for processing {"connection_id":143659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0f2"} 
[2026-07-27 05:55:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":6,"angle":6,"satellites":39,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 05: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-07-27 05:55:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988519168001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:55:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:55:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:55:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:55:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785111704000,"timestamp_ms":1785111704000,"timestamp_seconds":1785111704,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0f2f1c0"} 
[2026-07-27 05:55:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 05:55:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 05: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 05:55:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 05: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-07-27 05:55:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 05:55:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:55:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:55:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:55:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:55:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 05:55:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:55:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:55:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988519168001,"66":25397,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:55:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:55:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:55:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988519168001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:55:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:55:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:55:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:55:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:55:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988519168001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:55:39] local.INFO: DEBUG: GPS processor result {"connection_id":143659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:55:39] local.INFO: GPS data processed {"connection_id":143659,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:55:39] local.INFO: Acknowledgment sent {"connection_id":143659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:56:10] local.INFO: TCP Data received {"connection_id":143659,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0f2f1c0012d7f980005afd7c00006000627..."} 
[2026-07-27 05:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0f2f1c0012d7f980005afd7c00006000627..."} 
[2026-07-27 05:56:10] local.INFO: Processing buffer {"connection_id":143659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0f2f1c0012d7f980005afd7c00006000627..."} 
[2026-07-27 05:56:10] local.INFO: Packet analysis {"connection_id":143659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0f2"} 
[2026-07-27 05:56:10] local.INFO: Extracted packet for processing {"connection_id":143659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0f2"} 
[2026-07-27 05:56:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":6,"angle":6,"satellites":39,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 05:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 05:56:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988519168001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:56:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:56:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:56:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:56:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785111704000,"timestamp_ms":1785111704000,"timestamp_seconds":1785111704,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0f2f1c0"} 
[2026-07-27 05:56:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 05:56:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 05: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-07-27 05:56:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 05:56:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 05:56:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:56:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:56:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:56:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:56:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 05:56:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:56:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:56:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988519168001,"66":25397,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:56:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:56:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:56:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988519168001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:56:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:56:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:56:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:56:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:56:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988519168001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:56:10] local.INFO: DEBUG: GPS processor result {"connection_id":143659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:56:10] local.INFO: GPS data processed {"connection_id":143659,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:56:10] local.INFO: Acknowledgment sent {"connection_id":143659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:56:33] local.INFO: TCP Data received {"connection_id":143660,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:56:33] local.INFO: Processing buffer {"connection_id":143660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:56:33] local.INFO: IMEI packet received {"connection_id":143660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 05:56:33] local.INFO: IMEI acknowledgment sent {"connection_id":143660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 05:56:38] local.INFO: TCP Data received {"connection_id":143660,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:56:38] local.INFO: Processing buffer {"connection_id":143660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:56:38] local.INFO: IMEI packet received {"connection_id":143660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 05:56:38] local.INFO: IMEI acknowledgment sent {"connection_id":143660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 05:56:39] local.INFO: TCP Data received {"connection_id":143660,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0f2f1c0012d7f980005afd7c00006000627..."} 
[2026-07-27 05:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0f2f1c0012d7f980005afd7c00006000627..."} 
[2026-07-27 05:56:39] local.INFO: Processing buffer {"connection_id":143660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0f2f1c0012d7f980005afd7c00006000627..."} 
[2026-07-27 05:56:39] local.INFO: Packet analysis {"connection_id":143660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0f2"} 
[2026-07-27 05:56:39] local.INFO: Extracted packet for processing {"connection_id":143660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0f2"} 
[2026-07-27 05:56:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":6,"angle":6,"satellites":39,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 05: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-07-27 05:56:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988519168001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:56:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:56:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:56:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:56:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785111704000,"timestamp_ms":1785111704000,"timestamp_seconds":1785111704,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0f2f1c0"} 
[2026-07-27 05:56:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 05:56:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 05: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 05:56:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 05: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-07-27 05:56:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 05:56:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:56:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:56:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:56:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:56:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 05:56:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:56:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:56:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988519168001,"66":25397,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:56:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:56:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:56:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988519168001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:56:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:56:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:56:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:56:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:56:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988519168001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:56:39] local.INFO: DEBUG: GPS processor result {"connection_id":143660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:56:39] local.INFO: GPS data processed {"connection_id":143660,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:56:39] local.INFO: Acknowledgment sent {"connection_id":143660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:57:10] local.INFO: TCP Data received {"connection_id":143660,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0f2f1c0012d7f980005afd7c00006000627..."} 
[2026-07-27 05:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0f2f1c0012d7f980005afd7c00006000627..."} 
[2026-07-27 05:57:10] local.INFO: Processing buffer {"connection_id":143660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0f2f1c0012d7f980005afd7c00006000627..."} 
[2026-07-27 05:57:10] local.INFO: Packet analysis {"connection_id":143660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0f2"} 
[2026-07-27 05:57:10] local.INFO: Extracted packet for processing {"connection_id":143660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0f2"} 
[2026-07-27 05:57:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":6,"angle":6,"satellites":39,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 05:57:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 05:57:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988519168001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:57:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:57:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:57:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:57:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785111704000,"timestamp_ms":1785111704000,"timestamp_seconds":1785111704,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0f2f1c0"} 
[2026-07-27 05:57:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 05:57:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 05: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-07-27 05: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-07-27 05:57:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 05:57:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 05:57:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:57:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:57:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:57:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:57:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 05:57:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:57:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:57:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988519168001,"66":25397,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:57:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:57:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:57:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988519168001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:57:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:57:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:57:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:57:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:57:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988519168001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:57:10] local.INFO: DEBUG: GPS processor result {"connection_id":143660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:57:10] local.INFO: GPS data processed {"connection_id":143660,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:57:10] local.INFO: Acknowledgment sent {"connection_id":143660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:57:38] local.INFO: TCP Data received {"connection_id":142582,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:57:38] local.INFO: Processing buffer {"connection_id":142582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:57:38] local.INFO: IMEI packet received {"connection_id":142582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 05:57:38] local.INFO: IMEI acknowledgment sent {"connection_id":142582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 05:57:43] local.INFO: TCP Data received {"connection_id":142582,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:57:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:57:43] local.INFO: Processing buffer {"connection_id":142582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:57:43] local.INFO: IMEI packet received {"connection_id":142582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 05:57:43] local.INFO: IMEI acknowledgment sent {"connection_id":142582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 05:57:44] local.INFO: TCP Data received {"connection_id":142582,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0f78988012d7f980005afd7c00006000628..."} 
[2026-07-27 05:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142582,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0f78988012d7f980005afd7c00006000628..."} 
[2026-07-27 05:57:44] local.INFO: Processing buffer {"connection_id":142582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0f78988012d7f980005afd7c00006000628..."} 
[2026-07-27 05:57:44] local.INFO: Packet analysis {"connection_id":142582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0f7"} 
[2026-07-27 05:57:44] local.INFO: Extracted packet for processing {"connection_id":142582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0f7"} 
[2026-07-27 05:57:44] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":6,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 05:57:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 05:57:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988596224001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:57:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:57:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:57:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:57:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785112005000,"timestamp_ms":1785112005000,"timestamp_seconds":1785112005,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0f78988"} 
[2026-07-27 05:57:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 05:57:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 05:57:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 05:57: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-07-27 05:57:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 05:57:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 05:57:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:57:44] local.INFO: Teltonika packet parsed successfully {"connection_id":142582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:57:44] local.INFO: Passing IMEI to GPS processor {"connection_id":142582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:57:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":142582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:57:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 05:57:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:57:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:57:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988596224001,"66":25397,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:57:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:57:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:57:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988596224001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:57:44] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:57:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:57:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:57:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:57:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988596224001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:57:44] local.INFO: DEBUG: GPS processor result {"connection_id":142582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:57:44] local.INFO: GPS data processed {"connection_id":142582,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:57:44] local.INFO: Acknowledgment sent {"connection_id":142582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:57:48] local.INFO: TCP Data received {"connection_id":142582,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0f78988012d7f980005afd7c00006000628..."} 
[2026-07-27 05:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142582,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0f78988012d7f980005afd7c00006000628..."} 
[2026-07-27 05:57:48] local.INFO: Processing buffer {"connection_id":142582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0f78988012d7f980005afd7c00006000628..."} 
[2026-07-27 05:57:48] local.INFO: Packet analysis {"connection_id":142582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0f7"} 
[2026-07-27 05:57:48] local.INFO: Extracted packet for processing {"connection_id":142582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0f7"} 
[2026-07-27 05:57:48] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":6,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 05: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-07-27 05:57:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988596224001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:57:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:57:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:57:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:57:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785112005000,"timestamp_ms":1785112005000,"timestamp_seconds":1785112005,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0f78988"} 
[2026-07-27 05:57:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 05:57:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 05: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 05:57: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-07-27 05: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-07-27 05:57:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 05:57:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:57:48] local.INFO: Teltonika packet parsed successfully {"connection_id":142582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:57:48] local.INFO: Passing IMEI to GPS processor {"connection_id":142582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:57:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":142582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:57:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 05:57:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:57:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:57:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988596224001,"66":25397,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:57:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:57:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:57:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988596224001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:57:48] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:57:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:57:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:57:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:57:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988596224001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:57:48] local.INFO: DEBUG: GPS processor result {"connection_id":142582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:57:48] local.INFO: GPS data processed {"connection_id":142582,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:57:48] local.INFO: Acknowledgment sent {"connection_id":142582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:58:20] local.INFO: TCP Data received {"connection_id":142677,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 05:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142677,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 05:58:20] local.INFO: Processing buffer {"connection_id":142677,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 05:58:20] local.INFO: IMEI packet received {"connection_id":142677,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 05:58:20] local.INFO: IMEI acknowledgment sent {"connection_id":142677,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 05:58:33] local.INFO: TCP Data received {"connection_id":144977,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:58:33] local.INFO: Processing buffer {"connection_id":144977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:58:33] local.INFO: IMEI packet received {"connection_id":144977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 05:58:33] local.INFO: IMEI acknowledgment sent {"connection_id":144977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 05:58:38] local.INFO: TCP Data received {"connection_id":144977,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:58:38] local.INFO: Processing buffer {"connection_id":144977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:58:38] local.INFO: IMEI packet received {"connection_id":144977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 05:58:38] local.INFO: IMEI acknowledgment sent {"connection_id":144977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 05:58:39] local.INFO: TCP Data received {"connection_id":144977,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0f78988012d7f980005afd7c00006000628..."} 
[2026-07-27 05:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144977,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0f78988012d7f980005afd7c00006000628..."} 
[2026-07-27 05:58:39] local.INFO: Processing buffer {"connection_id":144977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0f78988012d7f980005afd7c00006000628..."} 
[2026-07-27 05:58:39] local.INFO: Packet analysis {"connection_id":144977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0f7"} 
[2026-07-27 05:58:39] local.INFO: Extracted packet for processing {"connection_id":144977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0f7"} 
[2026-07-27 05:58:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":6,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 05:58:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 05:58:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988596224001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:58:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:58:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:58:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:58:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785112005000,"timestamp_ms":1785112005000,"timestamp_seconds":1785112005,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0f78988"} 
[2026-07-27 05:58:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 05:58:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 05: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-07-27 05: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-07-27 05:58:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 05:58:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 05:58:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:58:39] local.INFO: Teltonika packet parsed successfully {"connection_id":144977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:58:39] local.INFO: Passing IMEI to GPS processor {"connection_id":144977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:58:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":144977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:58:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 05:58:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:58:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:58:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988596224001,"66":25397,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:58:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:58:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:58:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988596224001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:58:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:58:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:58:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:58:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:58:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988596224001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:58:39] local.INFO: DEBUG: GPS processor result {"connection_id":144977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:58:39] local.INFO: GPS data processed {"connection_id":144977,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:58:39] local.INFO: Acknowledgment sent {"connection_id":144977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:58:45] local.INFO: TCP Data received {"connection_id":142583,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 05:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142583,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 05:58:45] local.INFO: Processing buffer {"connection_id":142583,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 05:58:45] local.INFO: IMEI packet received {"connection_id":142583,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 05:58:45] local.INFO: IMEI acknowledgment sent {"connection_id":142583,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 05:59:10] local.INFO: TCP Data received {"connection_id":144977,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0f78988012d7f980005afd7c00006000628..."} 
[2026-07-27 05:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144977,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0f78988012d7f980005afd7c00006000628..."} 
[2026-07-27 05:59:10] local.INFO: Processing buffer {"connection_id":144977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0f78988012d7f980005afd7c00006000628..."} 
[2026-07-27 05:59:10] local.INFO: Packet analysis {"connection_id":144977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0f7"} 
[2026-07-27 05:59:10] local.INFO: Extracted packet for processing {"connection_id":144977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0f7"} 
[2026-07-27 05:59:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":6,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 05:59:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 05:59:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988596224001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:59:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:59:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:59:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:59:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785112005000,"timestamp_ms":1785112005000,"timestamp_seconds":1785112005,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0f78988"} 
[2026-07-27 05:59:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 05:59:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 05:59:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 05: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-07-27 05:59:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 05:59:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 05:59:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:59:10] local.INFO: Teltonika packet parsed successfully {"connection_id":144977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:59:10] local.INFO: Passing IMEI to GPS processor {"connection_id":144977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:59:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":144977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:59:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 05:59:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:59:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:59:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988596224001,"66":25397,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:59:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:59:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:59:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988596224001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:59:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:59:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:59:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:59:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:59:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988596224001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:59:10] local.INFO: DEBUG: GPS processor result {"connection_id":144977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:59:10] local.INFO: GPS data processed {"connection_id":144977,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:59:10] local.INFO: Acknowledgment sent {"connection_id":144977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 05:59:33] local.INFO: TCP Data received {"connection_id":142584,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:59:33] local.INFO: Processing buffer {"connection_id":142584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:59:33] local.INFO: IMEI packet received {"connection_id":142584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 05:59:33] local.INFO: IMEI acknowledgment sent {"connection_id":142584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 05:59:38] local.INFO: TCP Data received {"connection_id":142584,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:59:38] local.INFO: Processing buffer {"connection_id":142584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 05:59:38] local.INFO: IMEI packet received {"connection_id":142584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 05:59:38] local.INFO: IMEI acknowledgment sent {"connection_id":142584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 05:59:39] local.INFO: TCP Data received {"connection_id":142584,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0f78988012d7f980005afd7c00006000628..."} 
[2026-07-27 05:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0f78988012d7f980005afd7c00006000628..."} 
[2026-07-27 05:59:39] local.INFO: Processing buffer {"connection_id":142584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0f78988012d7f980005afd7c00006000628..."} 
[2026-07-27 05:59:39] local.INFO: Packet analysis {"connection_id":142584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0f7"} 
[2026-07-27 05:59:39] local.INFO: Extracted packet for processing {"connection_id":142584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0f7"} 
[2026-07-27 05:59:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":6,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 05:59:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 05:59:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988596224001,"note":"Value kept but may cause issues"} 
[2026-07-27 05:59:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 05:59:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 05:59:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 05:59:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785112005000,"timestamp_ms":1785112005000,"timestamp_seconds":1785112005,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0f78988"} 
[2026-07-27 05:59:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 05:59:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 05: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":53,"data_length":795,"current_offset":136} 
[2026-07-27 05:59: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-07-27 05:59:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 05:59:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 05:59:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 05:59:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 05:59:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:59:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 05:59: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-07-27 05:59:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 05:59:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 05:59:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988596224001,"66":25397,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 05:59:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 05:59:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 05:59:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988596224001,"description":"Unknown IO ID 0"} 
[2026-07-27 05:59:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 05:59:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 05:59:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 05:59:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 05:59:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988596224001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 05:59:39] local.INFO: DEBUG: GPS processor result {"connection_id":142584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 05:59:39] local.INFO: GPS data processed {"connection_id":142584,"processed":1,"errors":0,"total":1} 
[2026-07-27 05:59:39] local.INFO: Acknowledgment sent {"connection_id":142584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:00:10] local.INFO: TCP Data received {"connection_id":142584,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0f78988012d7f980005afd7c00006000628..."} 
[2026-07-27 06:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0f78988012d7f980005afd7c00006000628..."} 
[2026-07-27 06:00:10] local.INFO: Processing buffer {"connection_id":142584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0f78988012d7f980005afd7c00006000628..."} 
[2026-07-27 06:00:10] local.INFO: Packet analysis {"connection_id":142584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0f7"} 
[2026-07-27 06:00:10] local.INFO: Extracted packet for processing {"connection_id":142584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0f7"} 
[2026-07-27 06:00:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":6,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 06:00:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988596224001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:00:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:00:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:00:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:00:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785112005000,"timestamp_ms":1785112005000,"timestamp_seconds":1785112005,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0f78988"} 
[2026-07-27 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-07-27 06:00:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":53,"data_length":795,"current_offset":136} 
[2026-07-27 06: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-07-27 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-07-27 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-07-27 06:00:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:00:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:00:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:00:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:00:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 06:00:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:00:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:00:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988596224001,"66":25397,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:00:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:00:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:00:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988596224001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:00:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:00:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:00:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:00:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:00:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988596224001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:00:10] local.INFO: DEBUG: GPS processor result {"connection_id":142584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:00:10] local.INFO: GPS data processed {"connection_id":142584,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:00:10] local.INFO: Acknowledgment sent {"connection_id":142584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:00:33] local.INFO: TCP Data received {"connection_id":143662,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:00:33] local.INFO: Processing buffer {"connection_id":143662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:00:33] local.INFO: IMEI packet received {"connection_id":143662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 06:00:33] local.INFO: IMEI acknowledgment sent {"connection_id":143662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 06:00:38] local.INFO: TCP Data received {"connection_id":143662,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:00:38] local.INFO: Processing buffer {"connection_id":143662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:00:38] local.INFO: IMEI packet received {"connection_id":143662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 06:00:38] local.INFO: IMEI acknowledgment sent {"connection_id":143662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 06:00:39] local.INFO: TCP Data received {"connection_id":143662,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0f78988012d7f980005afd7c00006000628..."} 
[2026-07-27 06:00:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0f78988012d7f980005afd7c00006000628..."} 
[2026-07-27 06:00:39] local.INFO: Processing buffer {"connection_id":143662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0f78988012d7f980005afd7c00006000628..."} 
[2026-07-27 06:00:39] local.INFO: Packet analysis {"connection_id":143662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0f7"} 
[2026-07-27 06:00:39] local.INFO: Extracted packet for processing {"connection_id":143662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0f7"} 
[2026-07-27 06:00:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":6,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 06: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-07-27 06:00:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988596224001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:00:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:00:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:00:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:00:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785112005000,"timestamp_ms":1785112005000,"timestamp_seconds":1785112005,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0f78988"} 
[2026-07-27 06:00:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 06:00:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 06: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":53,"data_length":795,"current_offset":136} 
[2026-07-27 06:00: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-07-27 06: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-07-27 06:00:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 06:00:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:00:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:00:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:00:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:00:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 06:00:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:00:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:00:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988596224001,"66":25397,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:00:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:00:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:00:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988596224001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:00:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:00:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:00:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:00:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:00:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988596224001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:00:39] local.INFO: DEBUG: GPS processor result {"connection_id":143662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:00:39] local.INFO: GPS data processed {"connection_id":143662,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:00:39] local.INFO: Acknowledgment sent {"connection_id":143662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:01:10] local.INFO: TCP Data received {"connection_id":143662,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0f78988012d7f980005afd7c00006000628..."} 
[2026-07-27 06:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0f78988012d7f980005afd7c00006000628..."} 
[2026-07-27 06:01:10] local.INFO: Processing buffer {"connection_id":143662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0f78988012d7f980005afd7c00006000628..."} 
[2026-07-27 06:01:10] local.INFO: Packet analysis {"connection_id":143662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0f7"} 
[2026-07-27 06:01:10] local.INFO: Extracted packet for processing {"connection_id":143662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0f7"} 
[2026-07-27 06:01:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":6,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 06:01:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988596224001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:01:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:01:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:01:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:01:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785112005000,"timestamp_ms":1785112005000,"timestamp_seconds":1785112005,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0f78988"} 
[2026-07-27 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-07-27 06:01:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":53,"data_length":795,"current_offset":136} 
[2026-07-27 06: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-07-27 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-07-27 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-07-27 06:01:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:01:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:01:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:01:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:01:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 06:01:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:01:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:01:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988596224001,"66":25397,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:01:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:01:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:01:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988596224001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:01:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:01:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:01:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:01:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:01:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988596224001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:01:10] local.INFO: DEBUG: GPS processor result {"connection_id":143662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:01:10] local.INFO: GPS data processed {"connection_id":143662,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:01:10] local.INFO: Acknowledgment sent {"connection_id":143662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:01:33] local.INFO: TCP Data received {"connection_id":142678,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:01:33] local.INFO: Processing buffer {"connection_id":142678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:01:33] local.INFO: IMEI packet received {"connection_id":142678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 06:01:33] local.INFO: IMEI acknowledgment sent {"connection_id":142678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 06:01:38] local.INFO: TCP Data received {"connection_id":142678,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:01:38] local.INFO: Processing buffer {"connection_id":142678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:01:38] local.INFO: IMEI packet received {"connection_id":142678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 06:01:38] local.INFO: IMEI acknowledgment sent {"connection_id":142678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 06:01:39] local.INFO: TCP Data received {"connection_id":142678,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0f78988012d7f980005afd7c00006000628..."} 
[2026-07-27 06:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0f78988012d7f980005afd7c00006000628..."} 
[2026-07-27 06:01:39] local.INFO: Processing buffer {"connection_id":142678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0f78988012d7f980005afd7c00006000628..."} 
[2026-07-27 06:01:39] local.INFO: Packet analysis {"connection_id":142678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0f7"} 
[2026-07-27 06:01:39] local.INFO: Extracted packet for processing {"connection_id":142678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0f7"} 
[2026-07-27 06:01:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":6,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 06: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-07-27 06:01:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988596224001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:01:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:01:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:01:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:01:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785112005000,"timestamp_ms":1785112005000,"timestamp_seconds":1785112005,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0f78988"} 
[2026-07-27 06:01:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 06:01:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 06: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":53,"data_length":795,"current_offset":136} 
[2026-07-27 06:01: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-07-27 06: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-07-27 06:01:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 06:01:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:01:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:01:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:01:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:01:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 06:01:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:01:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:01:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988596224001,"66":25397,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:01:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:01:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:01:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988596224001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:01:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:01:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:01:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:01:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:01:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988596224001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:01:39] local.INFO: DEBUG: GPS processor result {"connection_id":142678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:01:39] local.INFO: GPS data processed {"connection_id":142678,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:01:39] local.INFO: Acknowledgment sent {"connection_id":142678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:02:10] local.INFO: TCP Data received {"connection_id":142678,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0f78988012d7f980005afd7c00006000628..."} 
[2026-07-27 06:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0f78988012d7f980005afd7c00006000628..."} 
[2026-07-27 06:02:10] local.INFO: Processing buffer {"connection_id":142678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0f78988012d7f980005afd7c00006000628..."} 
[2026-07-27 06:02:10] local.INFO: Packet analysis {"connection_id":142678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0f7"} 
[2026-07-27 06:02:10] local.INFO: Extracted packet for processing {"connection_id":142678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0f7"} 
[2026-07-27 06:02:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":6,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 06:02:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988596224001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:02:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:02:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:02:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:02:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785112005000,"timestamp_ms":1785112005000,"timestamp_seconds":1785112005,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0f78988"} 
[2026-07-27 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-07-27 06:02:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":53,"data_length":795,"current_offset":136} 
[2026-07-27 06: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-07-27 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-07-27 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-07-27 06:02:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:02:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:02:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:02:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:02:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 06:02:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:02:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:02:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988596224001,"66":25397,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:02:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:02:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:02:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988596224001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:02:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:02:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:02:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:02:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:02:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988596224001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:02:10] local.INFO: DEBUG: GPS processor result {"connection_id":142678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:02:10] local.INFO: GPS data processed {"connection_id":142678,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:02:10] local.INFO: Acknowledgment sent {"connection_id":142678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:02:38] local.INFO: TCP Data received {"connection_id":144979,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:02:38] local.INFO: Processing buffer {"connection_id":144979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:02:38] local.INFO: IMEI packet received {"connection_id":144979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 06:02:38] local.INFO: IMEI acknowledgment sent {"connection_id":144979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 06:02:43] local.INFO: TCP Data received {"connection_id":144979,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:02:43] local.INFO: Processing buffer {"connection_id":144979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:02:43] local.INFO: IMEI packet received {"connection_id":144979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 06:02:43] local.INFO: IMEI acknowledgment sent {"connection_id":144979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 06:02:44] local.INFO: TCP Data received {"connection_id":144979,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0fc2150012d7f980005afd7c0001300062a..."} 
[2026-07-27 06:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0fc2150012d7f980005afd7c0001300062a..."} 
[2026-07-27 06:02:44] local.INFO: Processing buffer {"connection_id":144979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0fc2150012d7f980005afd7c0001300062a..."} 
[2026-07-27 06:02:44] local.INFO: Packet analysis {"connection_id":144979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0fc"} 
[2026-07-27 06:02:44] local.INFO: Extracted packet for processing {"connection_id":144979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0fc"} 
[2026-07-27 06:02:44] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":19,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 06:02:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 06:02:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988673280001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:02:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:02:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:02:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:02:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785112306000,"timestamp_ms":1785112306000,"timestamp_seconds":1785112306,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0fc2150"} 
[2026-07-27 06:02:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 06:02:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 06:02:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 06:02: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-07-27 06:02:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 06:02:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 06:02:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:02:44] local.INFO: Teltonika packet parsed successfully {"connection_id":144979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:02:44] local.INFO: Passing IMEI to GPS processor {"connection_id":144979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:02:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":144979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:02:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 06:02:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:02:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:02:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988673280001,"66":25397,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:02:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:02:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:02:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988673280001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:02:44] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:02:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:02:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:02:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:02:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988673280001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:02:44] local.INFO: DEBUG: GPS processor result {"connection_id":144979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:02:44] local.INFO: GPS data processed {"connection_id":144979,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:02:44] local.INFO: Acknowledgment sent {"connection_id":144979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:02:48] local.INFO: TCP Data received {"connection_id":144979,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0fc2150012d7f980005afd7c0001300062a..."} 
[2026-07-27 06:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0fc2150012d7f980005afd7c0001300062a..."} 
[2026-07-27 06:02:48] local.INFO: Processing buffer {"connection_id":144979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0fc2150012d7f980005afd7c0001300062a..."} 
[2026-07-27 06:02:48] local.INFO: Packet analysis {"connection_id":144979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0fc"} 
[2026-07-27 06:02:48] local.INFO: Extracted packet for processing {"connection_id":144979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0fc"} 
[2026-07-27 06:02:48] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":19,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 06: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-07-27 06:02:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988673280001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:02:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:02:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:02:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:02:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785112306000,"timestamp_ms":1785112306000,"timestamp_seconds":1785112306,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0fc2150"} 
[2026-07-27 06:02:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 06:02:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 06: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 06:02: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-07-27 06: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-07-27 06:02:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 06:02:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:02:48] local.INFO: Teltonika packet parsed successfully {"connection_id":144979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:02:48] local.INFO: Passing IMEI to GPS processor {"connection_id":144979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:02:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":144979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:02:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 06:02:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:02:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:02:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988673280001,"66":25397,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:02:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:02:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:02:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988673280001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:02:48] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:02:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:02:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:02:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:02:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988673280001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:02:48] local.INFO: DEBUG: GPS processor result {"connection_id":144979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:02:48] local.INFO: GPS data processed {"connection_id":144979,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:02:48] local.INFO: Acknowledgment sent {"connection_id":144979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:03:33] local.INFO: TCP Data received {"connection_id":144980,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:03:33] local.INFO: Processing buffer {"connection_id":144980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:03:33] local.INFO: IMEI packet received {"connection_id":144980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 06:03:33] local.INFO: IMEI acknowledgment sent {"connection_id":144980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 06:03:38] local.INFO: TCP Data received {"connection_id":144980,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:03:38] local.INFO: Processing buffer {"connection_id":144980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:03:38] local.INFO: IMEI packet received {"connection_id":144980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 06:03:38] local.INFO: IMEI acknowledgment sent {"connection_id":144980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 06:03:39] local.INFO: TCP Data received {"connection_id":144980,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0fc2150012d7f980005afd7c0001300062a..."} 
[2026-07-27 06:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0fc2150012d7f980005afd7c0001300062a..."} 
[2026-07-27 06:03:39] local.INFO: Processing buffer {"connection_id":144980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0fc2150012d7f980005afd7c0001300062a..."} 
[2026-07-27 06:03:39] local.INFO: Packet analysis {"connection_id":144980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0fc"} 
[2026-07-27 06:03:39] local.INFO: Extracted packet for processing {"connection_id":144980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0fc"} 
[2026-07-27 06:03:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":19,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 06: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-07-27 06:03:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988673280001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:03:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:03:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:03:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:03:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785112306000,"timestamp_ms":1785112306000,"timestamp_seconds":1785112306,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0fc2150"} 
[2026-07-27 06:03:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 06:03:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 06: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":53,"data_length":795,"current_offset":136} 
[2026-07-27 06:03: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-07-27 06: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-07-27 06:03:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 06:03:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:03:39] local.INFO: Teltonika packet parsed successfully {"connection_id":144980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:03:39] local.INFO: Passing IMEI to GPS processor {"connection_id":144980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:03:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":144980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:03:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 06:03:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:03:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:03:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988673280001,"66":25397,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:03:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:03:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:03:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988673280001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:03:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:03:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:03:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:03:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:03:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988673280001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:03:39] local.INFO: DEBUG: GPS processor result {"connection_id":144980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:03:39] local.INFO: GPS data processed {"connection_id":144980,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:03:39] local.INFO: Acknowledgment sent {"connection_id":144980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:04:10] local.INFO: TCP Data received {"connection_id":144980,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0fc2150012d7f980005afd7c0001300062a..."} 
[2026-07-27 06:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0fc2150012d7f980005afd7c0001300062a..."} 
[2026-07-27 06:04:10] local.INFO: Processing buffer {"connection_id":144980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0fc2150012d7f980005afd7c0001300062a..."} 
[2026-07-27 06:04:10] local.INFO: Packet analysis {"connection_id":144980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0fc"} 
[2026-07-27 06:04:10] local.INFO: Extracted packet for processing {"connection_id":144980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0fc"} 
[2026-07-27 06:04:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":19,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 06:04:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988673280001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:04:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:04:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:04:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:04:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785112306000,"timestamp_ms":1785112306000,"timestamp_seconds":1785112306,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0fc2150"} 
[2026-07-27 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-07-27 06:04:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":53,"data_length":795,"current_offset":136} 
[2026-07-27 06: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-07-27 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-07-27 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-07-27 06:04:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:04:10] local.INFO: Teltonika packet parsed successfully {"connection_id":144980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:04:10] local.INFO: Passing IMEI to GPS processor {"connection_id":144980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:04:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":144980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:04:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 06:04:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:04:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:04:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988673280001,"66":25397,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:04:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:04:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:04:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988673280001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:04:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:04:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:04:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:04:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:04:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988673280001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:04:10] local.INFO: DEBUG: GPS processor result {"connection_id":144980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:04:10] local.INFO: GPS data processed {"connection_id":144980,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:04:10] local.INFO: Acknowledgment sent {"connection_id":144980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:04:33] local.INFO: TCP Data received {"connection_id":142679,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:04:33] local.INFO: Processing buffer {"connection_id":142679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:04:33] local.INFO: IMEI packet received {"connection_id":142679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 06:04:33] local.INFO: IMEI acknowledgment sent {"connection_id":142679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 06:04:38] local.INFO: TCP Data received {"connection_id":142679,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:04:38] local.INFO: Processing buffer {"connection_id":142679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:04:38] local.INFO: IMEI packet received {"connection_id":142679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 06:04:38] local.INFO: IMEI acknowledgment sent {"connection_id":142679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 06:04:39] local.INFO: TCP Data received {"connection_id":142679,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0fc2150012d7f980005afd7c0001300062a..."} 
[2026-07-27 06:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0fc2150012d7f980005afd7c0001300062a..."} 
[2026-07-27 06:04:39] local.INFO: Processing buffer {"connection_id":142679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0fc2150012d7f980005afd7c0001300062a..."} 
[2026-07-27 06:04:39] local.INFO: Packet analysis {"connection_id":142679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0fc"} 
[2026-07-27 06:04:39] local.INFO: Extracted packet for processing {"connection_id":142679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0fc"} 
[2026-07-27 06:04:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":19,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 06:04:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 06:04:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988673280001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:04:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:04:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:04:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:04:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785112306000,"timestamp_ms":1785112306000,"timestamp_seconds":1785112306,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0fc2150"} 
[2026-07-27 06:04:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 06:04:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 06: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-07-27 06: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-07-27 06:04:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 06:04:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 06:04:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:04:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:04:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:04:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:04:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 06:04:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:04:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:04:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988673280001,"66":25397,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:04:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:04:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:04:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988673280001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:04:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:04:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:04:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:04:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:04:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988673280001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:04:39] local.INFO: DEBUG: GPS processor result {"connection_id":142679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:04:39] local.INFO: GPS data processed {"connection_id":142679,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:04:39] local.INFO: Acknowledgment sent {"connection_id":142679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:04:45] local.INFO: TCP Data received {"connection_id":143665,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 06:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143665,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 06:04:45] local.INFO: Processing buffer {"connection_id":143665,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 06:04:45] local.INFO: IMEI packet received {"connection_id":143665,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 06:04:45] local.INFO: IMEI acknowledgment sent {"connection_id":143665,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 06:05:10] local.INFO: TCP Data received {"connection_id":142679,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0fc2150012d7f980005afd7c0001300062a..."} 
[2026-07-27 06:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0fc2150012d7f980005afd7c0001300062a..."} 
[2026-07-27 06:05:10] local.INFO: Processing buffer {"connection_id":142679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0fc2150012d7f980005afd7c0001300062a..."} 
[2026-07-27 06:05:10] local.INFO: Packet analysis {"connection_id":142679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0fc"} 
[2026-07-27 06:05:10] local.INFO: Extracted packet for processing {"connection_id":142679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0fc"} 
[2026-07-27 06:05:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":19,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 06:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 06:05:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988673280001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:05:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:05:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:05:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:05:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785112306000,"timestamp_ms":1785112306000,"timestamp_seconds":1785112306,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0fc2150"} 
[2026-07-27 06:05:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 06:05:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 06:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 06: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-07-27 06:05:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 06:05:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 06:05:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:05:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:05:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:05:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:05:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 06:05:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:05:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:05:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988673280001,"66":25397,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:05:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:05:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:05:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988673280001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:05:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:05:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:05:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:05:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:05:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988673280001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:05:10] local.INFO: DEBUG: GPS processor result {"connection_id":142679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:05:10] local.INFO: GPS data processed {"connection_id":142679,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:05:10] local.INFO: Acknowledgment sent {"connection_id":142679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:05:33] local.INFO: TCP Data received {"connection_id":144981,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:05:33] local.INFO: Processing buffer {"connection_id":144981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:05:33] local.INFO: IMEI packet received {"connection_id":144981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 06:05:33] local.INFO: IMEI acknowledgment sent {"connection_id":144981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 06:05:38] local.INFO: TCP Data received {"connection_id":144981,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:05:38] local.INFO: Processing buffer {"connection_id":144981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:05:38] local.INFO: IMEI packet received {"connection_id":144981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 06:05:38] local.INFO: IMEI acknowledgment sent {"connection_id":144981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 06:05:39] local.INFO: TCP Data received {"connection_id":144981,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0fc2150012d7f980005afd7c0001300062a..."} 
[2026-07-27 06:05:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0fc2150012d7f980005afd7c0001300062a..."} 
[2026-07-27 06:05:39] local.INFO: Processing buffer {"connection_id":144981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0fc2150012d7f980005afd7c0001300062a..."} 
[2026-07-27 06:05:39] local.INFO: Packet analysis {"connection_id":144981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0fc"} 
[2026-07-27 06:05:39] local.INFO: Extracted packet for processing {"connection_id":144981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0fc"} 
[2026-07-27 06:05:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":19,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 06: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-07-27 06:05:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988673280001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:05:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:05:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:05:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:05:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785112306000,"timestamp_ms":1785112306000,"timestamp_seconds":1785112306,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0fc2150"} 
[2026-07-27 06:05:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 06:05:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 06: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-07-27 06: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-07-27 06: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-07-27 06:05:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 06:05:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:05:39] local.INFO: Teltonika packet parsed successfully {"connection_id":144981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:05:39] local.INFO: Passing IMEI to GPS processor {"connection_id":144981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:05:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":144981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:05:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 06:05:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:05:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:05:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988673280001,"66":25397,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:05:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:05:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:05:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988673280001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:05:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:05:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:05:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:05:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:05:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988673280001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:05:39] local.INFO: DEBUG: GPS processor result {"connection_id":144981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:05:39] local.INFO: GPS data processed {"connection_id":144981,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:05:39] local.INFO: Acknowledgment sent {"connection_id":144981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:06:10] local.INFO: TCP Data received {"connection_id":144981,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0fc2150012d7f980005afd7c0001300062a..."} 
[2026-07-27 06:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0fc2150012d7f980005afd7c0001300062a..."} 
[2026-07-27 06:06:10] local.INFO: Processing buffer {"connection_id":144981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0fc2150012d7f980005afd7c0001300062a..."} 
[2026-07-27 06:06:10] local.INFO: Packet analysis {"connection_id":144981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0fc"} 
[2026-07-27 06:06:10] local.INFO: Extracted packet for processing {"connection_id":144981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0fc"} 
[2026-07-27 06:06:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":19,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 06:06:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988673280001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:06:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:06:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:06:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:06:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785112306000,"timestamp_ms":1785112306000,"timestamp_seconds":1785112306,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0fc2150"} 
[2026-07-27 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-07-27 06:06:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":53,"data_length":795,"current_offset":136} 
[2026-07-27 06: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-07-27 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-07-27 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-07-27 06:06:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:06:10] local.INFO: Teltonika packet parsed successfully {"connection_id":144981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:06:10] local.INFO: Passing IMEI to GPS processor {"connection_id":144981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:06:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":144981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:06:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 06:06:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:06:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:06:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988673280001,"66":25397,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:06:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:06:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:06:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988673280001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:06:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:06:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:06:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:06:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:06:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988673280001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:06:10] local.INFO: DEBUG: GPS processor result {"connection_id":144981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:06:10] local.INFO: GPS data processed {"connection_id":144981,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:06:10] local.INFO: Acknowledgment sent {"connection_id":144981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:06:33] local.INFO: TCP Data received {"connection_id":142587,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:06:33] local.INFO: Processing buffer {"connection_id":142587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:06:33] local.INFO: IMEI packet received {"connection_id":142587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 06:06:33] local.INFO: IMEI acknowledgment sent {"connection_id":142587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 06:06:38] local.INFO: TCP Data received {"connection_id":142587,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:06:38] local.INFO: Processing buffer {"connection_id":142587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:06:38] local.INFO: IMEI packet received {"connection_id":142587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 06:06:38] local.INFO: IMEI acknowledgment sent {"connection_id":142587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 06:06:39] local.INFO: TCP Data received {"connection_id":142587,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0fc2150012d7f980005afd7c0001300062a..."} 
[2026-07-27 06:06:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0fc2150012d7f980005afd7c0001300062a..."} 
[2026-07-27 06:06:39] local.INFO: Processing buffer {"connection_id":142587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0fc2150012d7f980005afd7c0001300062a..."} 
[2026-07-27 06:06:39] local.INFO: Packet analysis {"connection_id":142587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0fc"} 
[2026-07-27 06:06:39] local.INFO: Extracted packet for processing {"connection_id":142587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0fc"} 
[2026-07-27 06:06:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":19,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 06:06:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 06:06:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988673280001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:06:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:06:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:06:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:06:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785112306000,"timestamp_ms":1785112306000,"timestamp_seconds":1785112306,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0fc2150"} 
[2026-07-27 06:06:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 06:06:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 06:06:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 06: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-07-27 06:06:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 06:06:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 06:06:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:06:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:06:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:06:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:06: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-07-27 06:06:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:06:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:06:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988673280001,"66":25397,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:06:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:06:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:06:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988673280001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:06:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:06:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:06:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:06:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:06:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988673280001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:06:39] local.INFO: DEBUG: GPS processor result {"connection_id":142587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:06:39] local.INFO: GPS data processed {"connection_id":142587,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:06:39] local.INFO: Acknowledgment sent {"connection_id":142587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:07:11] local.INFO: TCP Data received {"connection_id":142587,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0fc2150012d7f980005afd7c0001300062a..."} 
[2026-07-27 06:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0fc2150012d7f980005afd7c0001300062a..."} 
[2026-07-27 06:07:11] local.INFO: Processing buffer {"connection_id":142587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0fc2150012d7f980005afd7c0001300062a..."} 
[2026-07-27 06:07:11] local.INFO: Packet analysis {"connection_id":142587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0fc"} 
[2026-07-27 06:07:11] local.INFO: Extracted packet for processing {"connection_id":142587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0fc"} 
[2026-07-27 06:07:11] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":19,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 06:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 06:07:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988673280001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:07:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:07:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:07:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:07:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785112306000,"timestamp_ms":1785112306000,"timestamp_seconds":1785112306,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0fc2150"} 
[2026-07-27 06:07:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 06:07:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 06: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":53,"data_length":795,"current_offset":136} 
[2026-07-27 06:07: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-07-27 06:07:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 06:07:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 06:07:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:07:11] local.INFO: Teltonika packet parsed successfully {"connection_id":142587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:07:11] local.INFO: Passing IMEI to GPS processor {"connection_id":142587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:07:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":142587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:07:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 06:07:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:07:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:07:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988673280001,"66":25397,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:07:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:07:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:07:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988673280001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:07:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:07:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:07:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:07:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:07:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988673280001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:07:11] local.INFO: DEBUG: GPS processor result {"connection_id":142587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:07:11] local.INFO: GPS data processed {"connection_id":142587,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:07:11] local.INFO: Acknowledgment sent {"connection_id":142587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:07:38] local.INFO: TCP Data received {"connection_id":142680,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:07:38] local.INFO: Processing buffer {"connection_id":142680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:07:38] local.INFO: IMEI packet received {"connection_id":142680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 06:07:38] local.INFO: IMEI acknowledgment sent {"connection_id":142680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 06:07:43] local.INFO: TCP Data received {"connection_id":142680,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:07:43] local.INFO: Processing buffer {"connection_id":142680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:07:43] local.INFO: IMEI packet received {"connection_id":142680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 06:07:43] local.INFO: IMEI acknowledgment sent {"connection_id":142680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 06:07:44] local.INFO: TCP Data received {"connection_id":142680,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fa100b918012d7f980005afd7c00011000627..."} 
[2026-07-27 06:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa100b918012d7f980005afd7c00011000627..."} 
[2026-07-27 06:07:44] local.INFO: Processing buffer {"connection_id":142680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa100b918012d7f980005afd7c00011000627..."} 
[2026-07-27 06:07:44] local.INFO: Packet analysis {"connection_id":142680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa100"} 
[2026-07-27 06:07:44] local.INFO: Extracted packet for processing {"connection_id":142680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa100"} 
[2026-07-27 06:07:44] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":39,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 06:07:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 06:07:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988750336001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:07:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:07:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:07:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:07:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785112607000,"timestamp_ms":1785112607000,"timestamp_seconds":1785112607,"priority":1,"record_length":96,"hex_timestamp":"0000019fa100b918"} 
[2026-07-27 06:07:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 06:07:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 06: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":53,"data_length":795,"current_offset":136} 
[2026-07-27 06:07: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-07-27 06:07:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 06:07:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 06:07:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:07:44] local.INFO: Teltonika packet parsed successfully {"connection_id":142680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:07:44] local.INFO: Passing IMEI to GPS processor {"connection_id":142680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:07:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":142680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:07:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 06:07:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:07:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:07:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988750336001,"66":25397,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:07:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:07:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:07:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988750336001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:07:44] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:07:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:07:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:07:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:07:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988750336001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:07:44] local.INFO: DEBUG: GPS processor result {"connection_id":142680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:07:44] local.INFO: GPS data processed {"connection_id":142680,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:07:44] local.INFO: Acknowledgment sent {"connection_id":142680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:07:48] local.INFO: TCP Data received {"connection_id":142680,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fa100b918012d7f980005afd7c00011000627..."} 
[2026-07-27 06:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa100b918012d7f980005afd7c00011000627..."} 
[2026-07-27 06:07:48] local.INFO: Processing buffer {"connection_id":142680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa100b918012d7f980005afd7c00011000627..."} 
[2026-07-27 06:07:48] local.INFO: Packet analysis {"connection_id":142680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa100"} 
[2026-07-27 06:07:48] local.INFO: Extracted packet for processing {"connection_id":142680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa100"} 
[2026-07-27 06:07:48] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":39,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 06:07:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 06:07:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988750336001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:07:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:07:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:07:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:07:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785112607000,"timestamp_ms":1785112607000,"timestamp_seconds":1785112607,"priority":1,"record_length":96,"hex_timestamp":"0000019fa100b918"} 
[2026-07-27 06:07:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 06:07:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 06:07:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 06:07: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-07-27 06:07:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 06:07:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 06:07:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:07:48] local.INFO: Teltonika packet parsed successfully {"connection_id":142680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:07:48] local.INFO: Passing IMEI to GPS processor {"connection_id":142680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:07:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":142680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:07:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 06:07:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:07:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:07:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988750336001,"66":25397,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:07:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:07:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:07:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988750336001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:07:48] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:07:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:07:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:07:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:07:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988750336001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:07:48] local.INFO: DEBUG: GPS processor result {"connection_id":142680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:07:48] local.INFO: GPS data processed {"connection_id":142680,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:07:48] local.INFO: Acknowledgment sent {"connection_id":142680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:08:33] local.INFO: TCP Data received {"connection_id":144983,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:08:33] local.INFO: Processing buffer {"connection_id":144983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:08:33] local.INFO: IMEI packet received {"connection_id":144983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 06:08:33] local.INFO: IMEI acknowledgment sent {"connection_id":144983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 06:08:38] local.INFO: TCP Data received {"connection_id":144983,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:08:38] local.INFO: Processing buffer {"connection_id":144983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:08:38] local.INFO: IMEI packet received {"connection_id":144983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 06:08:38] local.INFO: IMEI acknowledgment sent {"connection_id":144983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 06:08:39] local.INFO: TCP Data received {"connection_id":144983,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fa100b918012d7f980005afd7c00011000627..."} 
[2026-07-27 06:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa100b918012d7f980005afd7c00011000627..."} 
[2026-07-27 06:08:39] local.INFO: Processing buffer {"connection_id":144983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa100b918012d7f980005afd7c00011000627..."} 
[2026-07-27 06:08:39] local.INFO: Packet analysis {"connection_id":144983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa100"} 
[2026-07-27 06:08:39] local.INFO: Extracted packet for processing {"connection_id":144983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa100"} 
[2026-07-27 06:08:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":39,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 06: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-07-27 06:08:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988750336001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:08:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:08:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:08:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:08:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785112607000,"timestamp_ms":1785112607000,"timestamp_seconds":1785112607,"priority":1,"record_length":96,"hex_timestamp":"0000019fa100b918"} 
[2026-07-27 06:08:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 06:08:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 06: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":53,"data_length":795,"current_offset":136} 
[2026-07-27 06:08: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-07-27 06: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-07-27 06:08:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 06:08:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:08:39] local.INFO: Teltonika packet parsed successfully {"connection_id":144983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:08:39] local.INFO: Passing IMEI to GPS processor {"connection_id":144983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:08:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":144983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:08:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 06:08:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:08:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:08:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988750336001,"66":25397,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:08:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:08:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:08:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988750336001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:08:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:08:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:08:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:08:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:08:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988750336001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:08:39] local.INFO: DEBUG: GPS processor result {"connection_id":144983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:08:39] local.INFO: GPS data processed {"connection_id":144983,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:08:39] local.INFO: Acknowledgment sent {"connection_id":144983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:09:10] local.INFO: TCP Data received {"connection_id":144983,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fa100b918012d7f980005afd7c00011000627..."} 
[2026-07-27 06:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa100b918012d7f980005afd7c00011000627..."} 
[2026-07-27 06:09:10] local.INFO: Processing buffer {"connection_id":144983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa100b918012d7f980005afd7c00011000627..."} 
[2026-07-27 06:09:10] local.INFO: Packet analysis {"connection_id":144983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa100"} 
[2026-07-27 06:09:10] local.INFO: Extracted packet for processing {"connection_id":144983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa100"} 
[2026-07-27 06:09:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":39,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 06:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 06:09:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988750336001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:09:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:09:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:09:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:09:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785112607000,"timestamp_ms":1785112607000,"timestamp_seconds":1785112607,"priority":1,"record_length":96,"hex_timestamp":"0000019fa100b918"} 
[2026-07-27 06:09:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 06:09:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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-07-27 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-07-27 06:09:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 06:09:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 06:09:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:09:10] local.INFO: Teltonika packet parsed successfully {"connection_id":144983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:09:10] local.INFO: Passing IMEI to GPS processor {"connection_id":144983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:09:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":144983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:09:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 06:09:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:09:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:09:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988750336001,"66":25397,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:09:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:09:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:09:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988750336001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:09:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:09:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:09:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:09:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:09:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988750336001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:09:10] local.INFO: DEBUG: GPS processor result {"connection_id":144983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:09:10] local.INFO: GPS data processed {"connection_id":144983,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:09:10] local.INFO: Acknowledgment sent {"connection_id":144983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:09:33] local.INFO: TCP Data received {"connection_id":143668,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:09:33] local.INFO: Processing buffer {"connection_id":143668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:09:33] local.INFO: IMEI packet received {"connection_id":143668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 06:09:33] local.INFO: IMEI acknowledgment sent {"connection_id":143668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 06:09:42] local.INFO: TCP Data received {"connection_id":143668,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:09:42] local.INFO: Processing buffer {"connection_id":143668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:09:42] local.INFO: IMEI packet received {"connection_id":143668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 06:09:42] local.INFO: IMEI acknowledgment sent {"connection_id":143668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 06:09:43] local.INFO: TCP Data received {"connection_id":143668,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa100b918012d7f980005afd7c00011000627..."} 
[2026-07-27 06:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa100b918012d7f980005afd7c00011000627..."} 
[2026-07-27 06:09:43] local.INFO: Processing buffer {"connection_id":143668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa100b918012d7f980005afd7c00011000627..."} 
[2026-07-27 06:09:43] local.INFO: Packet analysis {"connection_id":143668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa100"} 
[2026-07-27 06:09:43] local.INFO: Extracted packet for processing {"connection_id":143668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa100"} 
[2026-07-27 06:09:43] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":39,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 06:09:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 06:09:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988750336001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:09:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:09:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:09:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:09:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785112607000,"timestamp_ms":1785112607000,"timestamp_seconds":1785112607,"priority":1,"record_length":96,"hex_timestamp":"0000019fa100b918"} 
[2026-07-27 06:09:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 06:09:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 06:09:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 06:09: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-07-27 06:09:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 06:09:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 06:09:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:09:43] local.INFO: Teltonika packet parsed successfully {"connection_id":143668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:09:43] local.INFO: Passing IMEI to GPS processor {"connection_id":143668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:09:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":143668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:09:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 06:09:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:09:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:09:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988750336001,"66":25397,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:09:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:09:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:09:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988750336001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:09:43] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:09:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:09:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:09:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:09:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988750336001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:09:43] local.INFO: DEBUG: GPS processor result {"connection_id":143668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:09:43] local.INFO: GPS data processed {"connection_id":143668,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:09:43] local.INFO: Acknowledgment sent {"connection_id":143668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:10:14] local.INFO: TCP Data received {"connection_id":143668,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa100b918012d7f980005afd7c00011000627..."} 
[2026-07-27 06:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa100b918012d7f980005afd7c00011000627..."} 
[2026-07-27 06:10:14] local.INFO: Processing buffer {"connection_id":143668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa100b918012d7f980005afd7c00011000627..."} 
[2026-07-27 06:10:14] local.INFO: Packet analysis {"connection_id":143668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa100"} 
[2026-07-27 06:10:14] local.INFO: Extracted packet for processing {"connection_id":143668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa100"} 
[2026-07-27 06:10:14] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":39,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 06: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-07-27 06:10:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988750336001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:10:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:10:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:10:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:10:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785112607000,"timestamp_ms":1785112607000,"timestamp_seconds":1785112607,"priority":1,"record_length":96,"hex_timestamp":"0000019fa100b918"} 
[2026-07-27 06:10:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 06:10:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 06: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":53,"data_length":795,"current_offset":136} 
[2026-07-27 06:10: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-07-27 06: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-07-27 06:10:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 06:10:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:10:14] local.INFO: Teltonika packet parsed successfully {"connection_id":143668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:10:14] local.INFO: Passing IMEI to GPS processor {"connection_id":143668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:10:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":143668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:10: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-07-27 06:10:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:10:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:10:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988750336001,"66":25397,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:10:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:10:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:10:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988750336001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:10:14] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:10:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:10:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:10:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:10:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988750336001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:10:14] local.INFO: DEBUG: GPS processor result {"connection_id":143668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:10:14] local.INFO: GPS data processed {"connection_id":143668,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:10:14] local.INFO: Acknowledgment sent {"connection_id":143668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:10:15] local.INFO: TCP Data received {"connection_id":142681,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 06:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142681,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 06:10:15] local.INFO: Processing buffer {"connection_id":142681,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 06:10:15] local.INFO: IMEI packet received {"connection_id":142681,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 06:10:15] local.INFO: IMEI acknowledgment sent {"connection_id":142681,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 06:10:33] local.INFO: TCP Data received {"connection_id":142682,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:10:33] local.INFO: Processing buffer {"connection_id":142682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:10:33] local.INFO: IMEI packet received {"connection_id":142682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 06:10:33] local.INFO: IMEI acknowledgment sent {"connection_id":142682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 06:10:38] local.INFO: TCP Data received {"connection_id":142682,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:10:38] local.INFO: Processing buffer {"connection_id":142682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:10:38] local.INFO: IMEI packet received {"connection_id":142682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 06:10:38] local.INFO: IMEI acknowledgment sent {"connection_id":142682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 06:10:39] local.INFO: TCP Data received {"connection_id":142682,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fa100b918012d7f980005afd7c00011000627..."} 
[2026-07-27 06:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa100b918012d7f980005afd7c00011000627..."} 
[2026-07-27 06:10:39] local.INFO: Processing buffer {"connection_id":142682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa100b918012d7f980005afd7c00011000627..."} 
[2026-07-27 06:10:39] local.INFO: Packet analysis {"connection_id":142682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa100"} 
[2026-07-27 06:10:39] local.INFO: Extracted packet for processing {"connection_id":142682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa100"} 
[2026-07-27 06:10:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":39,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 06:10:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 06:10:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988750336001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:10:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:10:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:10:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:10:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785112607000,"timestamp_ms":1785112607000,"timestamp_seconds":1785112607,"priority":1,"record_length":96,"hex_timestamp":"0000019fa100b918"} 
[2026-07-27 06:10:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 06:10:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 06:10:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 06:10: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-07-27 06:10:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 06:10:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 06:10:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:10:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:10:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:10:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:10:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 06:10:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:10:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:10:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988750336001,"66":25397,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:10:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:10:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:10:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988750336001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:10:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:10:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:10:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:10:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:10:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988750336001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:10:39] local.INFO: DEBUG: GPS processor result {"connection_id":142682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:10:39] local.INFO: GPS data processed {"connection_id":142682,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:10:39] local.INFO: Acknowledgment sent {"connection_id":142682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:10:45] local.INFO: TCP Data received {"connection_id":144984,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 06:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144984,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 06:10:45] local.INFO: Processing buffer {"connection_id":144984,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 06:10:45] local.INFO: IMEI packet received {"connection_id":144984,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 06:10:45] local.INFO: IMEI acknowledgment sent {"connection_id":144984,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 06:11:10] local.INFO: TCP Data received {"connection_id":142682,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fa100b918012d7f980005afd7c00011000627..."} 
[2026-07-27 06:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa100b918012d7f980005afd7c00011000627..."} 
[2026-07-27 06:11:10] local.INFO: Processing buffer {"connection_id":142682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa100b918012d7f980005afd7c00011000627..."} 
[2026-07-27 06:11:10] local.INFO: Packet analysis {"connection_id":142682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa100"} 
[2026-07-27 06:11:10] local.INFO: Extracted packet for processing {"connection_id":142682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa100"} 
[2026-07-27 06:11:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":39,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 06:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 06:11:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988750336001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:11:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:11:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:11:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:11:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785112607000,"timestamp_ms":1785112607000,"timestamp_seconds":1785112607,"priority":1,"record_length":96,"hex_timestamp":"0000019fa100b918"} 
[2026-07-27 06:11:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 06:11:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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-07-27 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-07-27 06:11:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 06:11:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 06:11:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:11:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:11:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:11:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:11:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 06:11:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:11:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:11:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988750336001,"66":25397,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:11:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:11:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:11:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988750336001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:11:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:11:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:11:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:11:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:11:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988750336001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:11:10] local.INFO: DEBUG: GPS processor result {"connection_id":142682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:11:10] local.INFO: GPS data processed {"connection_id":142682,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:11:10] local.INFO: Acknowledgment sent {"connection_id":142682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:11:33] local.INFO: TCP Data received {"connection_id":142683,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:11:33] local.INFO: Processing buffer {"connection_id":142683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:11:33] local.INFO: IMEI packet received {"connection_id":142683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 06:11:33] local.INFO: IMEI acknowledgment sent {"connection_id":142683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 06:11:38] local.INFO: TCP Data received {"connection_id":142683,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:11:38] local.INFO: Processing buffer {"connection_id":142683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:11:38] local.INFO: IMEI packet received {"connection_id":142683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 06:11:38] local.INFO: IMEI acknowledgment sent {"connection_id":142683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 06:11:39] local.INFO: TCP Data received {"connection_id":142683,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa100b918012d7f980005afd7c00011000627..."} 
[2026-07-27 06:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa100b918012d7f980005afd7c00011000627..."} 
[2026-07-27 06:11:39] local.INFO: Processing buffer {"connection_id":142683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa100b918012d7f980005afd7c00011000627..."} 
[2026-07-27 06:11:39] local.INFO: Packet analysis {"connection_id":142683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa100"} 
[2026-07-27 06:11:39] local.INFO: Extracted packet for processing {"connection_id":142683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa100"} 
[2026-07-27 06:11:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":39,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 06:11:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 06:11:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988750336001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:11:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:11:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:11:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:11:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785112607000,"timestamp_ms":1785112607000,"timestamp_seconds":1785112607,"priority":1,"record_length":96,"hex_timestamp":"0000019fa100b918"} 
[2026-07-27 06:11:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 06:11:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 06: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":53,"data_length":795,"current_offset":136} 
[2026-07-27 06:11: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-07-27 06:11:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 06:11:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 06:11:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:11:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:11:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:11:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:11:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 06:11:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:11:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:11:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988750336001,"66":25397,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:11:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:11:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:11:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988750336001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:11:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:11:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:11:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:11:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:11:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988750336001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:11:39] local.INFO: DEBUG: GPS processor result {"connection_id":142683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:11:39] local.INFO: GPS data processed {"connection_id":142683,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:11:39] local.INFO: Acknowledgment sent {"connection_id":142683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:12:10] local.INFO: TCP Data received {"connection_id":142683,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa100b918012d7f980005afd7c00011000627..."} 
[2026-07-27 06:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa100b918012d7f980005afd7c00011000627..."} 
[2026-07-27 06:12:10] local.INFO: Processing buffer {"connection_id":142683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa100b918012d7f980005afd7c00011000627..."} 
[2026-07-27 06:12:10] local.INFO: Packet analysis {"connection_id":142683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa100"} 
[2026-07-27 06:12:10] local.INFO: Extracted packet for processing {"connection_id":142683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa100"} 
[2026-07-27 06:12:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":39,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 06:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 06:12:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988750336001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:12:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:12:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:12:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:12:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785112607000,"timestamp_ms":1785112607000,"timestamp_seconds":1785112607,"priority":1,"record_length":96,"hex_timestamp":"0000019fa100b918"} 
[2026-07-27 06:12:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 06:12:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 06: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":53,"data_length":795,"current_offset":136} 
[2026-07-27 06:12:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 06:12:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 06:12:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 06:12:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:12:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:12:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:12:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:12:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 06:12:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:12:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:12:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988750336001,"66":25397,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:12:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:12:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:12:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988750336001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:12:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:12:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:12:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:12:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:12:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988750336001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:12:10] local.INFO: DEBUG: GPS processor result {"connection_id":142683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:12:10] local.INFO: GPS data processed {"connection_id":142683,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:12:10] local.INFO: Acknowledgment sent {"connection_id":142683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:12:38] local.INFO: TCP Data received {"connection_id":142684,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:12:38] local.INFO: Processing buffer {"connection_id":142684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:12:38] local.INFO: IMEI packet received {"connection_id":142684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 06:12:38] local.INFO: IMEI acknowledgment sent {"connection_id":142684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 06:12:43] local.INFO: TCP Data received {"connection_id":142684,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:12:43] local.INFO: Processing buffer {"connection_id":142684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:12:43] local.INFO: IMEI packet received {"connection_id":142684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 06:12:43] local.INFO: IMEI acknowledgment sent {"connection_id":142684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 06:12:44] local.INFO: TCP Data received {"connection_id":142684,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fa10550e0012d7f980005afd7c0001e000629..."} 
[2026-07-27 06:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa10550e0012d7f980005afd7c0001e000629..."} 
[2026-07-27 06:12:44] local.INFO: Processing buffer {"connection_id":142684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa10550e0012d7f980005afd7c0001e000629..."} 
[2026-07-27 06:12:44] local.INFO: Packet analysis {"connection_id":142684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa105"} 
[2026-07-27 06:12:44] local.INFO: Extracted packet for processing {"connection_id":142684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa105"} 
[2026-07-27 06:12:44] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":30,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 06: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-07-27 06:12:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988827392001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:12:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:12:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:12:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:12:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785112908000,"timestamp_ms":1785112908000,"timestamp_seconds":1785112908,"priority":1,"record_length":96,"hex_timestamp":"0000019fa10550e0"} 
[2026-07-27 06:12:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 06:12:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 06: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 06:12: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-07-27 06: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-07-27 06:12:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 06:12:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:12:44] local.INFO: Teltonika packet parsed successfully {"connection_id":142684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:12:44] local.INFO: Passing IMEI to GPS processor {"connection_id":142684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:12:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":142684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:12:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 06:12:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:12:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:12:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988827392001,"66":25375,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:12:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:12:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:12:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988827392001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:12:44] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:12:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:12:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:12:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:12:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988827392001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:12:44] local.INFO: DEBUG: GPS processor result {"connection_id":142684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:12:44] local.INFO: GPS data processed {"connection_id":142684,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:12:44] local.INFO: Acknowledgment sent {"connection_id":142684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:12:48] local.INFO: TCP Data received {"connection_id":142684,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fa10550e0012d7f980005afd7c0001e000629..."} 
[2026-07-27 06:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa10550e0012d7f980005afd7c0001e000629..."} 
[2026-07-27 06:12:48] local.INFO: Processing buffer {"connection_id":142684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa10550e0012d7f980005afd7c0001e000629..."} 
[2026-07-27 06:12:48] local.INFO: Packet analysis {"connection_id":142684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa105"} 
[2026-07-27 06:12:48] local.INFO: Extracted packet for processing {"connection_id":142684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa105"} 
[2026-07-27 06:12:48] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":30,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 06:12:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 06:12:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988827392001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:12:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:12:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:12:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:12:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785112908000,"timestamp_ms":1785112908000,"timestamp_seconds":1785112908,"priority":1,"record_length":96,"hex_timestamp":"0000019fa10550e0"} 
[2026-07-27 06:12:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 06:12:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 06: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 06:12: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-07-27 06:12:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 06:12:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 06:12:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:12:48] local.INFO: Teltonika packet parsed successfully {"connection_id":142684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:12:48] local.INFO: Passing IMEI to GPS processor {"connection_id":142684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:12:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":142684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:12:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 06:12:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:12:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:12:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988827392001,"66":25375,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:12:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:12:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:12:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988827392001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:12:48] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:12:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:12:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:12:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:12:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988827392001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:12:48] local.INFO: DEBUG: GPS processor result {"connection_id":142684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:12:48] local.INFO: GPS data processed {"connection_id":142684,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:12:48] local.INFO: Acknowledgment sent {"connection_id":142684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:13:33] local.INFO: TCP Data received {"connection_id":143670,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:13:33] local.INFO: Processing buffer {"connection_id":143670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:13:33] local.INFO: IMEI packet received {"connection_id":143670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 06:13:33] local.INFO: IMEI acknowledgment sent {"connection_id":143670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 06:13:38] local.INFO: TCP Data received {"connection_id":143670,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:13:38] local.INFO: Processing buffer {"connection_id":143670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:13:38] local.INFO: IMEI packet received {"connection_id":143670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 06:13:38] local.INFO: IMEI acknowledgment sent {"connection_id":143670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 06:13:39] local.INFO: TCP Data received {"connection_id":143670,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa10550e0012d7f980005afd7c0001e000629..."} 
[2026-07-27 06:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143670,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa10550e0012d7f980005afd7c0001e000629..."} 
[2026-07-27 06:13:39] local.INFO: Processing buffer {"connection_id":143670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa10550e0012d7f980005afd7c0001e000629..."} 
[2026-07-27 06:13:39] local.INFO: Packet analysis {"connection_id":143670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa105"} 
[2026-07-27 06:13:39] local.INFO: Extracted packet for processing {"connection_id":143670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa105"} 
[2026-07-27 06:13:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":30,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 06: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-07-27 06:13:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988827392001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:13:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:13:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:13:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:13:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785112908000,"timestamp_ms":1785112908000,"timestamp_seconds":1785112908,"priority":1,"record_length":96,"hex_timestamp":"0000019fa10550e0"} 
[2026-07-27 06:13:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 06:13:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 06:13:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 06:13: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-07-27 06: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-07-27 06:13:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 06:13:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:13:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:13:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:13:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:13:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 06:13:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:13:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:13:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988827392001,"66":25375,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:13:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:13:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:13:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988827392001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:13:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:13:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:13:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:13:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:13:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988827392001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:13:39] local.INFO: DEBUG: GPS processor result {"connection_id":143670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:13:39] local.INFO: GPS data processed {"connection_id":143670,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:13:39] local.INFO: Acknowledgment sent {"connection_id":143670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:14:10] local.INFO: TCP Data received {"connection_id":143670,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa10550e0012d7f980005afd7c0001e000629..."} 
[2026-07-27 06:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143670,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa10550e0012d7f980005afd7c0001e000629..."} 
[2026-07-27 06:14:10] local.INFO: Processing buffer {"connection_id":143670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa10550e0012d7f980005afd7c0001e000629..."} 
[2026-07-27 06:14:10] local.INFO: Packet analysis {"connection_id":143670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa105"} 
[2026-07-27 06:14:10] local.INFO: Extracted packet for processing {"connection_id":143670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa105"} 
[2026-07-27 06:14:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":30,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 06:14:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988827392001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:14:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:14:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:14:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:14:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785112908000,"timestamp_ms":1785112908000,"timestamp_seconds":1785112908,"priority":1,"record_length":96,"hex_timestamp":"0000019fa10550e0"} 
[2026-07-27 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-07-27 06:14:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":53,"data_length":795,"current_offset":136} 
[2026-07-27 06: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-07-27 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-07-27 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-07-27 06:14:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:14:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:14:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:14:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:14:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 06:14:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:14:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:14:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988827392001,"66":25375,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:14:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:14:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:14:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988827392001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:14:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:14:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:14:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:14:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:14:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988827392001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:14:10] local.INFO: DEBUG: GPS processor result {"connection_id":143670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:14:10] local.INFO: GPS data processed {"connection_id":143670,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:14:10] local.INFO: Acknowledgment sent {"connection_id":143670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:14:33] local.INFO: TCP Data received {"connection_id":142687,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:14:33] local.INFO: Processing buffer {"connection_id":142687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:14:33] local.INFO: IMEI packet received {"connection_id":142687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 06:14:33] local.INFO: IMEI acknowledgment sent {"connection_id":142687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 06:14:38] local.INFO: TCP Data received {"connection_id":142687,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:14:38] local.INFO: Processing buffer {"connection_id":142687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:14:38] local.INFO: IMEI packet received {"connection_id":142687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 06:14:38] local.INFO: IMEI acknowledgment sent {"connection_id":142687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 06:14:39] local.INFO: TCP Data received {"connection_id":142687,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fa10550e0012d7f980005afd7c0001e000629..."} 
[2026-07-27 06:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa10550e0012d7f980005afd7c0001e000629..."} 
[2026-07-27 06:14:39] local.INFO: Processing buffer {"connection_id":142687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa10550e0012d7f980005afd7c0001e000629..."} 
[2026-07-27 06:14:39] local.INFO: Packet analysis {"connection_id":142687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa105"} 
[2026-07-27 06:14:39] local.INFO: Extracted packet for processing {"connection_id":142687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa105"} 
[2026-07-27 06:14:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":30,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 06:14:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 06:14:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988827392001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:14:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:14:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:14:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:14:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785112908000,"timestamp_ms":1785112908000,"timestamp_seconds":1785112908,"priority":1,"record_length":96,"hex_timestamp":"0000019fa10550e0"} 
[2026-07-27 06:14:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 06:14:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 06: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":53,"data_length":795,"current_offset":136} 
[2026-07-27 06:14: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-07-27 06:14:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 06:14:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 06:14:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:14:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:14:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:14:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:14:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 06:14:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:14:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:14:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988827392001,"66":25375,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:14:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:14:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:14:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988827392001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:14:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:14:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:14:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:14:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:14:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988827392001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:14:39] local.INFO: DEBUG: GPS processor result {"connection_id":142687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:14:39] local.INFO: GPS data processed {"connection_id":142687,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:14:39] local.INFO: Acknowledgment sent {"connection_id":142687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:15:10] local.INFO: TCP Data received {"connection_id":142687,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fa10550e0012d7f980005afd7c0001e000629..."} 
[2026-07-27 06:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa10550e0012d7f980005afd7c0001e000629..."} 
[2026-07-27 06:15:10] local.INFO: Processing buffer {"connection_id":142687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa10550e0012d7f980005afd7c0001e000629..."} 
[2026-07-27 06:15:10] local.INFO: Packet analysis {"connection_id":142687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa105"} 
[2026-07-27 06:15:10] local.INFO: Extracted packet for processing {"connection_id":142687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa105"} 
[2026-07-27 06:15:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":30,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 06:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 06:15:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988827392001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:15:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:15:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:15:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:15:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785112908000,"timestamp_ms":1785112908000,"timestamp_seconds":1785112908,"priority":1,"record_length":96,"hex_timestamp":"0000019fa10550e0"} 
[2026-07-27 06:15:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 06:15:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 06:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 06:15:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 06:15:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 06:15:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 06:15:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:15:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:15:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:15:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:15:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 06:15:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:15:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:15:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988827392001,"66":25375,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:15:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:15:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:15:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988827392001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:15:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:15:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:15:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:15:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:15:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988827392001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:15:10] local.INFO: DEBUG: GPS processor result {"connection_id":142687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:15:10] local.INFO: GPS data processed {"connection_id":142687,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:15:10] local.INFO: Acknowledgment sent {"connection_id":142687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:15:33] local.INFO: TCP Data received {"connection_id":142689,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:15:33] local.INFO: Processing buffer {"connection_id":142689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:15:33] local.INFO: IMEI packet received {"connection_id":142689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 06:15:33] local.INFO: IMEI acknowledgment sent {"connection_id":142689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 06:15:38] local.INFO: TCP Data received {"connection_id":142689,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:15:38] local.INFO: Processing buffer {"connection_id":142689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:15:38] local.INFO: IMEI packet received {"connection_id":142689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 06:15:38] local.INFO: IMEI acknowledgment sent {"connection_id":142689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 06:15:39] local.INFO: TCP Data received {"connection_id":142689,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fa10550e0012d7f980005afd7c0001e000629..."} 
[2026-07-27 06:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa10550e0012d7f980005afd7c0001e000629..."} 
[2026-07-27 06:15:39] local.INFO: Processing buffer {"connection_id":142689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa10550e0012d7f980005afd7c0001e000629..."} 
[2026-07-27 06:15:39] local.INFO: Packet analysis {"connection_id":142689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa105"} 
[2026-07-27 06:15:39] local.INFO: Extracted packet for processing {"connection_id":142689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa105"} 
[2026-07-27 06:15:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":30,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 06:15:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 06:15:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988827392001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:15:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:15:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:15:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:15:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785112908000,"timestamp_ms":1785112908000,"timestamp_seconds":1785112908,"priority":1,"record_length":96,"hex_timestamp":"0000019fa10550e0"} 
[2026-07-27 06:15:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 06:15:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 06: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-07-27 06: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-07-27 06:15:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 06:15:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 06:15:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:15:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:15:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:15:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:15:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 06:15:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:15:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:15:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988827392001,"66":25375,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:15:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:15:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:15:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988827392001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:15:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:15:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:15:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:15:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:15:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988827392001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:15:39] local.INFO: DEBUG: GPS processor result {"connection_id":142689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:15:39] local.INFO: GPS data processed {"connection_id":142689,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:15:39] local.INFO: Acknowledgment sent {"connection_id":142689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:16:10] local.INFO: TCP Data received {"connection_id":142689,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fa10550e0012d7f980005afd7c0001e000629..."} 
[2026-07-27 06:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa10550e0012d7f980005afd7c0001e000629..."} 
[2026-07-27 06:16:10] local.INFO: Processing buffer {"connection_id":142689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa10550e0012d7f980005afd7c0001e000629..."} 
[2026-07-27 06:16:10] local.INFO: Packet analysis {"connection_id":142689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa105"} 
[2026-07-27 06:16:10] local.INFO: Extracted packet for processing {"connection_id":142689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa105"} 
[2026-07-27 06:16:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":30,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 06:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 06:16:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988827392001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:16:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:16:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:16:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:16:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785112908000,"timestamp_ms":1785112908000,"timestamp_seconds":1785112908,"priority":1,"record_length":96,"hex_timestamp":"0000019fa10550e0"} 
[2026-07-27 06:16:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 06:16:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 06: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-07-27 06: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-07-27 06:16:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 06:16:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 06:16:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:16:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:16:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:16:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:16:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 06:16:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:16:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:16:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988827392001,"66":25375,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:16:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:16:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:16:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988827392001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:16:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:16:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:16:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:16:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:16:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988827392001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:16:10] local.INFO: DEBUG: GPS processor result {"connection_id":142689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:16:10] local.INFO: GPS data processed {"connection_id":142689,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:16:10] local.INFO: Acknowledgment sent {"connection_id":142689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:16:15] local.INFO: TCP Data received {"connection_id":144985,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 06:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144985,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 06:16:15] local.INFO: Processing buffer {"connection_id":144985,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 06:16:15] local.INFO: IMEI packet received {"connection_id":144985,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 06:16:15] local.INFO: IMEI acknowledgment sent {"connection_id":144985,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 06:16:38] local.INFO: TCP Data received {"connection_id":142588,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:16:38] local.INFO: Processing buffer {"connection_id":142588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:16:38] local.INFO: IMEI packet received {"connection_id":142588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 06:16:38] local.INFO: IMEI acknowledgment sent {"connection_id":142588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 06:16:43] local.INFO: TCP Data received {"connection_id":142588,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:16:43] local.INFO: Processing buffer {"connection_id":142588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:16:43] local.INFO: IMEI packet received {"connection_id":142588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 06:16:43] local.INFO: IMEI acknowledgment sent {"connection_id":142588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 06:16:44] local.INFO: TCP Data received {"connection_id":142588,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fa10550e0012d7f980005afd7c0001e000629..."} 
[2026-07-27 06:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa10550e0012d7f980005afd7c0001e000629..."} 
[2026-07-27 06:16:44] local.INFO: Processing buffer {"connection_id":142588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa10550e0012d7f980005afd7c0001e000629..."} 
[2026-07-27 06:16:44] local.INFO: Packet analysis {"connection_id":142588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa105"} 
[2026-07-27 06:16:44] local.INFO: Extracted packet for processing {"connection_id":142588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa105"} 
[2026-07-27 06:16:44] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":30,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 06:16:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 06:16:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988827392001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:16:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:16:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:16:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:16:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785112908000,"timestamp_ms":1785112908000,"timestamp_seconds":1785112908,"priority":1,"record_length":96,"hex_timestamp":"0000019fa10550e0"} 
[2026-07-27 06:16:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 06:16:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 06:16:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 06:16: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-07-27 06:16:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 06:16:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 06:16:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:16:44] local.INFO: Teltonika packet parsed successfully {"connection_id":142588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:16:44] local.INFO: Passing IMEI to GPS processor {"connection_id":142588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:16:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":142588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:16:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 06:16:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:16:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:16:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988827392001,"66":25375,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:16:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:16:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:16:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988827392001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:16:44] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:16:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:16:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:16:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:16:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988827392001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:16:44] local.INFO: DEBUG: GPS processor result {"connection_id":142588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:16:44] local.INFO: GPS data processed {"connection_id":142588,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:16:44] local.INFO: Acknowledgment sent {"connection_id":142588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:16:45] local.INFO: TCP Data received {"connection_id":142589,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 06:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142589,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 06:16:45] local.INFO: Processing buffer {"connection_id":142589,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 06:16:45] local.INFO: IMEI packet received {"connection_id":142589,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 06:16:45] local.INFO: IMEI acknowledgment sent {"connection_id":142589,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 06:16:48] local.INFO: TCP Data received {"connection_id":142588,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fa10550e0012d7f980005afd7c0001e000629..."} 
[2026-07-27 06:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa10550e0012d7f980005afd7c0001e000629..."} 
[2026-07-27 06:16:48] local.INFO: Processing buffer {"connection_id":142588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa10550e0012d7f980005afd7c0001e000629..."} 
[2026-07-27 06:16:48] local.INFO: Packet analysis {"connection_id":142588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa105"} 
[2026-07-27 06:16:48] local.INFO: Extracted packet for processing {"connection_id":142588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa105"} 
[2026-07-27 06:16:48] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":30,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 06:16:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 06:16:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988827392001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:16:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:16:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:16:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:16:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785112908000,"timestamp_ms":1785112908000,"timestamp_seconds":1785112908,"priority":1,"record_length":96,"hex_timestamp":"0000019fa10550e0"} 
[2026-07-27 06:16:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 06:16:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 06:16:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 06:16: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-07-27 06:16:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 06:16:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 06:16:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:16:48] local.INFO: Teltonika packet parsed successfully {"connection_id":142588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:16:48] local.INFO: Passing IMEI to GPS processor {"connection_id":142588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:16:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":142588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:16:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 06:16:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:16:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:16:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988827392001,"66":25375,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:16:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:16:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:16:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988827392001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:16:48] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:16:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:16:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:16:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:16:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988827392001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:16:48] local.INFO: DEBUG: GPS processor result {"connection_id":142588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:16:48] local.INFO: GPS data processed {"connection_id":142588,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:16:48] local.INFO: Acknowledgment sent {"connection_id":142588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:17:33] local.INFO: TCP Data received {"connection_id":142690,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:17:33] local.INFO: Processing buffer {"connection_id":142690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:17:33] local.INFO: IMEI packet received {"connection_id":142690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 06:17:33] local.INFO: IMEI acknowledgment sent {"connection_id":142690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 06:17:38] local.INFO: TCP Data received {"connection_id":142690,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:17:38] local.INFO: Processing buffer {"connection_id":142690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:17:38] local.INFO: IMEI packet received {"connection_id":142690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 06:17:38] local.INFO: IMEI acknowledgment sent {"connection_id":142690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 06:17:39] local.INFO: TCP Data received {"connection_id":142690,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fa109e8a8012d7f980005afd7c0001e000629..."} 
[2026-07-27 06:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa109e8a8012d7f980005afd7c0001e000629..."} 
[2026-07-27 06:17:39] local.INFO: Processing buffer {"connection_id":142690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa109e8a8012d7f980005afd7c0001e000629..."} 
[2026-07-27 06:17:39] local.INFO: Packet analysis {"connection_id":142690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa109"} 
[2026-07-27 06:17:39] local.INFO: Extracted packet for processing {"connection_id":142690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa109"} 
[2026-07-27 06:17:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":30,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 06:17:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 06:17:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988904448001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:17:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:17:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:17:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:17:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785113209000,"timestamp_ms":1785113209000,"timestamp_seconds":1785113209,"priority":1,"record_length":96,"hex_timestamp":"0000019fa109e8a8"} 
[2026-07-27 06:17:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 06:17:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 06: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":31,"data_length":795,"current_offset":136} 
[2026-07-27 06:17: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-07-27 06:17:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 06:17:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 06:17:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:17:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:17:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:17:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:17:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 06:17:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:17:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:17:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988904448001,"66":25375,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:17:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:17:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:17:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988904448001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:17:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:17:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:17:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:17:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:17:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988904448001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:17:39] local.INFO: DEBUG: GPS processor result {"connection_id":142690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:17:39] local.INFO: GPS data processed {"connection_id":142690,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:17:39] local.INFO: Acknowledgment sent {"connection_id":142690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:18:03] local.INFO: TCP Data received {"connection_id":142591,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:18:03] local.INFO: Processing buffer {"connection_id":142591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:18:03] local.INFO: IMEI packet received {"connection_id":142591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 06:18:03] local.INFO: IMEI acknowledgment sent {"connection_id":142591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 06:18:08] local.INFO: TCP Data received {"connection_id":142591,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:18:08] local.INFO: Processing buffer {"connection_id":142591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:18:08] local.INFO: IMEI packet received {"connection_id":142591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 06:18:08] local.INFO: IMEI acknowledgment sent {"connection_id":142591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 06:18:09] local.INFO: TCP Data received {"connection_id":142591,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019fa109e8a8012d7f980005afd7c0001e000629..."} 
[2026-07-27 06:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa109e8a8012d7f980005afd7c0001e000629..."} 
[2026-07-27 06:18:09] local.INFO: Processing buffer {"connection_id":142591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa109e8a8012d7f980005afd7c0001e000629..."} 
[2026-07-27 06:18:09] local.INFO: Packet analysis {"connection_id":142591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa109"} 
[2026-07-27 06:18:09] local.INFO: Extracted packet for processing {"connection_id":142591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa109"} 
[2026-07-27 06:18:09] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":30,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 06:18:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 06:18:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988904448001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:18:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:18:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:18:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:18:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785113209000,"timestamp_ms":1785113209000,"timestamp_seconds":1785113209,"priority":1,"record_length":96,"hex_timestamp":"0000019fa109e8a8"} 
[2026-07-27 06:18:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 06:18:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 06: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":31,"data_length":795,"current_offset":136} 
[2026-07-27 06:18:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 06:18:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 06:18:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 06:18:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:18:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:18:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:18:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:18:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 06:18:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:18:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:18:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988904448001,"66":25375,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:18:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:18:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:18:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988904448001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:18:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:18:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:18:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:18:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:18:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988904448001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:18:09] local.INFO: DEBUG: GPS processor result {"connection_id":142591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:18:09] local.INFO: GPS data processed {"connection_id":142591,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:18:09] local.INFO: Acknowledgment sent {"connection_id":142591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:18:33] local.INFO: TCP Data received {"connection_id":142691,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:18:33] local.INFO: Processing buffer {"connection_id":142691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:18:33] local.INFO: IMEI packet received {"connection_id":142691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 06:18:33] local.INFO: IMEI acknowledgment sent {"connection_id":142691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 06:18:38] local.INFO: TCP Data received {"connection_id":142691,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:18:38] local.INFO: Processing buffer {"connection_id":142691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:18:38] local.INFO: IMEI packet received {"connection_id":142691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 06:18:38] local.INFO: IMEI acknowledgment sent {"connection_id":142691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 06:18:39] local.INFO: TCP Data received {"connection_id":142691,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa109e8a8012d7f980005afd7c0001e000629..."} 
[2026-07-27 06:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa109e8a8012d7f980005afd7c0001e000629..."} 
[2026-07-27 06:18:39] local.INFO: Processing buffer {"connection_id":142691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa109e8a8012d7f980005afd7c0001e000629..."} 
[2026-07-27 06:18:39] local.INFO: Packet analysis {"connection_id":142691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa109"} 
[2026-07-27 06:18:39] local.INFO: Extracted packet for processing {"connection_id":142691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa109"} 
[2026-07-27 06:18:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":30,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 06:18:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 06:18:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988904448001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:18:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:18:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:18:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:18:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785113209000,"timestamp_ms":1785113209000,"timestamp_seconds":1785113209,"priority":1,"record_length":96,"hex_timestamp":"0000019fa109e8a8"} 
[2026-07-27 06:18:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 06:18:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 06: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":31,"data_length":795,"current_offset":136} 
[2026-07-27 06:18: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-07-27 06:18:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 06:18:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 06:18:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:18:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:18:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:18:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:18:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 06:18:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:18:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:18:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988904448001,"66":25375,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:18:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:18:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:18:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988904448001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:18:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:18:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:18:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:18:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:18:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988904448001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:18:39] local.INFO: DEBUG: GPS processor result {"connection_id":142691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:18:39] local.INFO: GPS data processed {"connection_id":142691,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:18:39] local.INFO: Acknowledgment sent {"connection_id":142691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:19:10] local.INFO: TCP Data received {"connection_id":142691,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa109e8a8012d7f980005afd7c0001e000629..."} 
[2026-07-27 06:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa109e8a8012d7f980005afd7c0001e000629..."} 
[2026-07-27 06:19:10] local.INFO: Processing buffer {"connection_id":142691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa109e8a8012d7f980005afd7c0001e000629..."} 
[2026-07-27 06:19:10] local.INFO: Packet analysis {"connection_id":142691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa109"} 
[2026-07-27 06:19:10] local.INFO: Extracted packet for processing {"connection_id":142691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa109"} 
[2026-07-27 06:19:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":30,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 06:19:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988904448001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:19:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:19:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:19:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:19:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785113209000,"timestamp_ms":1785113209000,"timestamp_seconds":1785113209,"priority":1,"record_length":96,"hex_timestamp":"0000019fa109e8a8"} 
[2026-07-27 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-07-27 06:19:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 06:19: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-07-27 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-07-27 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-07-27 06:19:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:19:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:19:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:19:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:19:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 06:19:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:19:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:19:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988904448001,"66":25375,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:19:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:19:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:19:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988904448001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:19:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:19:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:19:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:19:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:19:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988904448001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:19:10] local.INFO: DEBUG: GPS processor result {"connection_id":142691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:19:10] local.INFO: GPS data processed {"connection_id":142691,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:19:10] local.INFO: Acknowledgment sent {"connection_id":142691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:19:33] local.INFO: TCP Data received {"connection_id":143671,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:19:33] local.INFO: Processing buffer {"connection_id":143671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:19:33] local.INFO: IMEI packet received {"connection_id":143671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 06:19:33] local.INFO: IMEI acknowledgment sent {"connection_id":143671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 06:19:38] local.INFO: TCP Data received {"connection_id":143671,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:19:38] local.INFO: Processing buffer {"connection_id":143671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:19:38] local.INFO: IMEI packet received {"connection_id":143671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 06:19:38] local.INFO: IMEI acknowledgment sent {"connection_id":143671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 06:19:39] local.INFO: TCP Data received {"connection_id":143671,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa109e8a8012d7f980005afd7c0001e000629..."} 
[2026-07-27 06:19:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa109e8a8012d7f980005afd7c0001e000629..."} 
[2026-07-27 06:19:39] local.INFO: Processing buffer {"connection_id":143671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa109e8a8012d7f980005afd7c0001e000629..."} 
[2026-07-27 06:19:39] local.INFO: Packet analysis {"connection_id":143671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa109"} 
[2026-07-27 06:19:39] local.INFO: Extracted packet for processing {"connection_id":143671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa109"} 
[2026-07-27 06:19:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":30,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 06:19:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 06:19:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988904448001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:19:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:19:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:19:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:19:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785113209000,"timestamp_ms":1785113209000,"timestamp_seconds":1785113209,"priority":1,"record_length":96,"hex_timestamp":"0000019fa109e8a8"} 
[2026-07-27 06:19:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 06:19:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 06: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-07-27 06: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-07-27 06:19:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 06:19:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 06:19:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:19:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:19:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:19:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:19:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 06:19:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:19:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:19:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988904448001,"66":25375,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:19:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:19:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:19:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988904448001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:19:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:19:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:19:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:19:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:19:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988904448001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:19:39] local.INFO: DEBUG: GPS processor result {"connection_id":143671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:19:39] local.INFO: GPS data processed {"connection_id":143671,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:19:39] local.INFO: Acknowledgment sent {"connection_id":143671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:20:10] local.INFO: TCP Data received {"connection_id":143671,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa109e8a8012d7f980005afd7c0001e000629..."} 
[2026-07-27 06:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa109e8a8012d7f980005afd7c0001e000629..."} 
[2026-07-27 06:20:10] local.INFO: Processing buffer {"connection_id":143671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa109e8a8012d7f980005afd7c0001e000629..."} 
[2026-07-27 06:20:10] local.INFO: Packet analysis {"connection_id":143671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa109"} 
[2026-07-27 06:20:10] local.INFO: Extracted packet for processing {"connection_id":143671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa109"} 
[2026-07-27 06:20:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":30,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 06:20:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988904448001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:20:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:20:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:20:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:20:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785113209000,"timestamp_ms":1785113209000,"timestamp_seconds":1785113209,"priority":1,"record_length":96,"hex_timestamp":"0000019fa109e8a8"} 
[2026-07-27 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-07-27 06:20:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 06:20: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-07-27 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-07-27 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-07-27 06:20:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:20:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:20:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:20:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06: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-07-27 06:20:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:20:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:20:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988904448001,"66":25375,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:20:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:20:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:20:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988904448001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:20:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:20:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:20:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:20:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:20:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988904448001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:20:10] local.INFO: DEBUG: GPS processor result {"connection_id":143671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:20:10] local.INFO: GPS data processed {"connection_id":143671,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:20:10] local.INFO: Acknowledgment sent {"connection_id":143671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:20:38] local.INFO: TCP Data received {"connection_id":144987,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:20:38] local.INFO: Processing buffer {"connection_id":144987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:20:38] local.INFO: IMEI packet received {"connection_id":144987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 06:20:38] local.INFO: IMEI acknowledgment sent {"connection_id":144987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 06:20:43] local.INFO: TCP Data received {"connection_id":144987,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:20:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:20:43] local.INFO: Processing buffer {"connection_id":144987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:20:43] local.INFO: IMEI packet received {"connection_id":144987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 06:20:43] local.INFO: IMEI acknowledgment sent {"connection_id":144987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 06:20:44] local.INFO: TCP Data received {"connection_id":144987,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa109e8a8012d7f980005afd7c0001e000629..."} 
[2026-07-27 06:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144987,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa109e8a8012d7f980005afd7c0001e000629..."} 
[2026-07-27 06:20:44] local.INFO: Processing buffer {"connection_id":144987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa109e8a8012d7f980005afd7c0001e000629..."} 
[2026-07-27 06:20:44] local.INFO: Packet analysis {"connection_id":144987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa109"} 
[2026-07-27 06:20:44] local.INFO: Extracted packet for processing {"connection_id":144987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa109"} 
[2026-07-27 06:20:44] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":30,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 06:20:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 06:20:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988904448001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:20:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:20:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:20:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:20:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785113209000,"timestamp_ms":1785113209000,"timestamp_seconds":1785113209,"priority":1,"record_length":96,"hex_timestamp":"0000019fa109e8a8"} 
[2026-07-27 06:20:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 06:20:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 06:20:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 06:20:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 06:20:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 06:20:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 06:20:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:20:44] local.INFO: Teltonika packet parsed successfully {"connection_id":144987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:20:44] local.INFO: Passing IMEI to GPS processor {"connection_id":144987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:20:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":144987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:20:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 06:20:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:20:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:20:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988904448001,"66":25375,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:20:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:20:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:20:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988904448001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:20:44] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:20:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:20:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:20:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:20:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988904448001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:20:44] local.INFO: DEBUG: GPS processor result {"connection_id":144987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:20:44] local.INFO: GPS data processed {"connection_id":144987,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:20:44] local.INFO: Acknowledgment sent {"connection_id":144987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:20:48] local.INFO: TCP Data received {"connection_id":144987,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa109e8a8012d7f980005afd7c0001e000629..."} 
[2026-07-27 06:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144987,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa109e8a8012d7f980005afd7c0001e000629..."} 
[2026-07-27 06:20:48] local.INFO: Processing buffer {"connection_id":144987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa109e8a8012d7f980005afd7c0001e000629..."} 
[2026-07-27 06:20:48] local.INFO: Packet analysis {"connection_id":144987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa109"} 
[2026-07-27 06:20:48] local.INFO: Extracted packet for processing {"connection_id":144987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa109"} 
[2026-07-27 06:20:48] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":30,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 06:20:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 06:20:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988904448001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:20:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:20:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:20:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:20:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785113209000,"timestamp_ms":1785113209000,"timestamp_seconds":1785113209,"priority":1,"record_length":96,"hex_timestamp":"0000019fa109e8a8"} 
[2026-07-27 06:20:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 06:20:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 06:20:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 06:20:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 06:20:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 06:20:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 06:20:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:20:48] local.INFO: Teltonika packet parsed successfully {"connection_id":144987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:20:48] local.INFO: Passing IMEI to GPS processor {"connection_id":144987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:20:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":144987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:20:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 06:20:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:20:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:20:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988904448001,"66":25375,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:20:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:20:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:20:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988904448001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:20:48] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:20:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:20:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:20:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:20:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988904448001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:20:48] local.INFO: DEBUG: GPS processor result {"connection_id":144987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:20:48] local.INFO: GPS data processed {"connection_id":144987,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:20:48] local.INFO: Acknowledgment sent {"connection_id":144987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:21:33] local.INFO: TCP Data received {"connection_id":144988,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:21:33] local.INFO: Processing buffer {"connection_id":144988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:21:33] local.INFO: IMEI packet received {"connection_id":144988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 06:21:33] local.INFO: IMEI acknowledgment sent {"connection_id":144988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 06:21:38] local.INFO: TCP Data received {"connection_id":144988,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:21:38] local.INFO: Processing buffer {"connection_id":144988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:21:38] local.INFO: IMEI packet received {"connection_id":144988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 06:21:38] local.INFO: IMEI acknowledgment sent {"connection_id":144988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 06:21:39] local.INFO: TCP Data received {"connection_id":144988,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa109e8a8012d7f980005afd7c0001e000629..."} 
[2026-07-27 06:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa109e8a8012d7f980005afd7c0001e000629..."} 
[2026-07-27 06:21:39] local.INFO: Processing buffer {"connection_id":144988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa109e8a8012d7f980005afd7c0001e000629..."} 
[2026-07-27 06:21:39] local.INFO: Packet analysis {"connection_id":144988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa109"} 
[2026-07-27 06:21:39] local.INFO: Extracted packet for processing {"connection_id":144988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa109"} 
[2026-07-27 06:21:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":30,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 06:21:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 06:21:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988904448001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:21:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:21:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:21:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:21:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785113209000,"timestamp_ms":1785113209000,"timestamp_seconds":1785113209,"priority":1,"record_length":96,"hex_timestamp":"0000019fa109e8a8"} 
[2026-07-27 06:21:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 06:21:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 06:21:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 06:21:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 06:21:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 06:21:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 06:21:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:21:39] local.INFO: Teltonika packet parsed successfully {"connection_id":144988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:21:39] local.INFO: Passing IMEI to GPS processor {"connection_id":144988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:21:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":144988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:21:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 06:21:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:21:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:21:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988904448001,"66":25375,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:21:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:21:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:21:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988904448001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:21:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:21:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:21:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:21:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:21:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988904448001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:21:39] local.INFO: DEBUG: GPS processor result {"connection_id":144988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:21:39] local.INFO: GPS data processed {"connection_id":144988,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:21:39] local.INFO: Acknowledgment sent {"connection_id":144988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:22:10] local.INFO: TCP Data received {"connection_id":144988,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa109e8a8012d7f980005afd7c0001e000629..."} 
[2026-07-27 06:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa109e8a8012d7f980005afd7c0001e000629..."} 
[2026-07-27 06:22:10] local.INFO: Processing buffer {"connection_id":144988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa109e8a8012d7f980005afd7c0001e000629..."} 
[2026-07-27 06:22:10] local.INFO: Packet analysis {"connection_id":144988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa109"} 
[2026-07-27 06:22:10] local.INFO: Extracted packet for processing {"connection_id":144988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa109"} 
[2026-07-27 06:22:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":30,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 06:22:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988904448001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:22:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:22:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:22:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:22:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785113209000,"timestamp_ms":1785113209000,"timestamp_seconds":1785113209,"priority":1,"record_length":96,"hex_timestamp":"0000019fa109e8a8"} 
[2026-07-27 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-07-27 06:22:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":31,"data_length":795,"current_offset":136} 
[2026-07-27 06:22: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-07-27 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-07-27 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-07-27 06:22:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:22:10] local.INFO: Teltonika packet parsed successfully {"connection_id":144988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:22:10] local.INFO: Passing IMEI to GPS processor {"connection_id":144988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:22:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":144988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:22:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 06:22:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:22:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:22:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988904448001,"66":25375,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:22:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:22:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:22:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988904448001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:22:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:22:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:22:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:22:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:22:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988904448001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:22:10] local.INFO: DEBUG: GPS processor result {"connection_id":144988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:22:10] local.INFO: GPS data processed {"connection_id":144988,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:22:10] local.INFO: Acknowledgment sent {"connection_id":144988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:22:33] local.INFO: TCP Data received {"connection_id":144989,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:22:33] local.INFO: Processing buffer {"connection_id":144989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:22:33] local.INFO: IMEI packet received {"connection_id":144989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 06:22:33] local.INFO: IMEI acknowledgment sent {"connection_id":144989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 06:22:38] local.INFO: TCP Data received {"connection_id":144989,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:22:38] local.INFO: Processing buffer {"connection_id":144989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:22:38] local.INFO: IMEI packet received {"connection_id":144989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 06:22:38] local.INFO: IMEI acknowledgment sent {"connection_id":144989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 06:22:39] local.INFO: TCP Data received {"connection_id":144989,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fa10e8070012d7f980005afd7c0001c000629..."} 
[2026-07-27 06:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa10e8070012d7f980005afd7c0001c000629..."} 
[2026-07-27 06:22:39] local.INFO: Processing buffer {"connection_id":144989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa10e8070012d7f980005afd7c0001c000629..."} 
[2026-07-27 06:22:39] local.INFO: Packet analysis {"connection_id":144989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa10e"} 
[2026-07-27 06:22:39] local.INFO: Extracted packet for processing {"connection_id":144989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa10e"} 
[2026-07-27 06:22:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":28,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 06:22:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 06:22:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988981504001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:22:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:22:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:22:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:22:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785113510000,"timestamp_ms":1785113510000,"timestamp_seconds":1785113510,"priority":1,"record_length":96,"hex_timestamp":"0000019fa10e8070"} 
[2026-07-27 06:22:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 06:22:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 06:22:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 06:22: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-07-27 06:22:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 06:22:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 06:22:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:22:39] local.INFO: Teltonika packet parsed successfully {"connection_id":144989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:22:39] local.INFO: Passing IMEI to GPS processor {"connection_id":144989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:22:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":144989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:22:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 06:22:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:22:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:22:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988981504001,"66":25397,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:22:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:22:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:22:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988981504001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:22:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:22:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:22:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:22:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:22:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988981504001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:22:39] local.INFO: DEBUG: GPS processor result {"connection_id":144989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:22:39] local.INFO: GPS data processed {"connection_id":144989,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:22:39] local.INFO: Acknowledgment sent {"connection_id":144989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:22:45] local.INFO: TCP Data received {"connection_id":142693,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 06:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142693,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 06:22:45] local.INFO: Processing buffer {"connection_id":142693,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 06:22:45] local.INFO: IMEI packet received {"connection_id":142693,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 06:22:45] local.INFO: IMEI acknowledgment sent {"connection_id":142693,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 06:23:10] local.INFO: TCP Data received {"connection_id":144989,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fa10e8070012d7f980005afd7c0001c000629..."} 
[2026-07-27 06:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa10e8070012d7f980005afd7c0001c000629..."} 
[2026-07-27 06:23:10] local.INFO: Processing buffer {"connection_id":144989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa10e8070012d7f980005afd7c0001c000629..."} 
[2026-07-27 06:23:10] local.INFO: Packet analysis {"connection_id":144989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa10e"} 
[2026-07-27 06:23:10] local.INFO: Extracted packet for processing {"connection_id":144989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa10e"} 
[2026-07-27 06:23:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":28,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 06:23:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 06:23:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988981504001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:23:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:23:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:23:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:23:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785113510000,"timestamp_ms":1785113510000,"timestamp_seconds":1785113510,"priority":1,"record_length":96,"hex_timestamp":"0000019fa10e8070"} 
[2026-07-27 06:23:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 06:23:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":31,"data_length":795,"current_offset":136} 
[2026-07-27 06:23: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-07-27 06:23:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 06:23:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 06:23:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:23:10] local.INFO: Teltonika packet parsed successfully {"connection_id":144989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:23:10] local.INFO: Passing IMEI to GPS processor {"connection_id":144989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:23:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":144989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:23:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 06:23:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:23:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:23:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988981504001,"66":25397,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:23:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:23:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:23:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988981504001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:23:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:23:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:23:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:23:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:23:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988981504001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:23:10] local.INFO: DEBUG: GPS processor result {"connection_id":144989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:23:10] local.INFO: GPS data processed {"connection_id":144989,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:23:10] local.INFO: Acknowledgment sent {"connection_id":144989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:23:33] local.INFO: TCP Data received {"connection_id":142592,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:23:33] local.INFO: Processing buffer {"connection_id":142592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:23:33] local.INFO: IMEI packet received {"connection_id":142592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 06:23:33] local.INFO: IMEI acknowledgment sent {"connection_id":142592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 06:23:38] local.INFO: TCP Data received {"connection_id":142592,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:23:38] local.INFO: Processing buffer {"connection_id":142592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:23:38] local.INFO: IMEI packet received {"connection_id":142592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 06:23:38] local.INFO: IMEI acknowledgment sent {"connection_id":142592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 06:23:39] local.INFO: TCP Data received {"connection_id":142592,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa10e8070012d7f980005afd7c0001c000629..."} 
[2026-07-27 06:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa10e8070012d7f980005afd7c0001c000629..."} 
[2026-07-27 06:23:39] local.INFO: Processing buffer {"connection_id":142592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa10e8070012d7f980005afd7c0001c000629..."} 
[2026-07-27 06:23:39] local.INFO: Packet analysis {"connection_id":142592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa10e"} 
[2026-07-27 06:23:39] local.INFO: Extracted packet for processing {"connection_id":142592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa10e"} 
[2026-07-27 06:23:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":28,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 06:23:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 06:23:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988981504001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:23:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:23:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:23:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:23:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785113510000,"timestamp_ms":1785113510000,"timestamp_seconds":1785113510,"priority":1,"record_length":96,"hex_timestamp":"0000019fa10e8070"} 
[2026-07-27 06:23:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 06:23:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 06: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":31,"data_length":795,"current_offset":136} 
[2026-07-27 06:23: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-07-27 06:23:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 06:23:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 06:23:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:23:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:23:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:23:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:23:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 06:23:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:23:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:23:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988981504001,"66":25397,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:23:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:23:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:23:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988981504001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:23:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:23:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:23:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:23:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:23:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988981504001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:23:39] local.INFO: DEBUG: GPS processor result {"connection_id":142592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:23:39] local.INFO: GPS data processed {"connection_id":142592,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:23:39] local.INFO: Acknowledgment sent {"connection_id":142592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:24:10] local.INFO: TCP Data received {"connection_id":142592,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa10e8070012d7f980005afd7c0001c000629..."} 
[2026-07-27 06:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa10e8070012d7f980005afd7c0001c000629..."} 
[2026-07-27 06:24:10] local.INFO: Processing buffer {"connection_id":142592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa10e8070012d7f980005afd7c0001c000629..."} 
[2026-07-27 06:24:10] local.INFO: Packet analysis {"connection_id":142592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa10e"} 
[2026-07-27 06:24:10] local.INFO: Extracted packet for processing {"connection_id":142592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa10e"} 
[2026-07-27 06:24:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":28,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 06:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 06:24:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988981504001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:24:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:24:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:24:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:24:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785113510000,"timestamp_ms":1785113510000,"timestamp_seconds":1785113510,"priority":1,"record_length":96,"hex_timestamp":"0000019fa10e8070"} 
[2026-07-27 06:24:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 06:24:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 06:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 06: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-07-27 06:24:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 06:24:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 06:24:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:24:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:24:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:24:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06: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-07-27 06:24:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:24:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:24:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988981504001,"66":25397,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:24:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:24:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:24:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988981504001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:24:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:24:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:24:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:24:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:24:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988981504001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:24:10] local.INFO: DEBUG: GPS processor result {"connection_id":142592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:24:10] local.INFO: GPS data processed {"connection_id":142592,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:24:10] local.INFO: Acknowledgment sent {"connection_id":142592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:24:38] local.INFO: TCP Data received {"connection_id":142694,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:24:38] local.INFO: Processing buffer {"connection_id":142694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:24:38] local.INFO: IMEI packet received {"connection_id":142694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 06:24:38] local.INFO: IMEI acknowledgment sent {"connection_id":142694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 06:24:39] local.INFO: TCP Data received {"connection_id":142694,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fa10e8070012d7f980005afd7c0001c000629..."} 
[2026-07-27 06:24:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142694,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa10e8070012d7f980005afd7c0001c000629..."} 
[2026-07-27 06:24:39] local.INFO: Processing buffer {"connection_id":142694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa10e8070012d7f980005afd7c0001c000629..."} 
[2026-07-27 06:24:39] local.INFO: Packet analysis {"connection_id":142694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa10e"} 
[2026-07-27 06:24:39] local.INFO: Extracted packet for processing {"connection_id":142694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa10e"} 
[2026-07-27 06:24:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":28,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 06:24:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 06:24:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988981504001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:24:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:24:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:24:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:24:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785113510000,"timestamp_ms":1785113510000,"timestamp_seconds":1785113510,"priority":1,"record_length":96,"hex_timestamp":"0000019fa10e8070"} 
[2026-07-27 06:24:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 06:24:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 06: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":31,"data_length":795,"current_offset":136} 
[2026-07-27 06:24: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-07-27 06:24:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 06:24:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 06:24:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:24:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:24:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:24:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:24:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 06:24:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:24:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:24:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988981504001,"66":25397,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:24:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:24:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:24:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988981504001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:24:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:24:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:24:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:24:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:24:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988981504001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:24:39] local.INFO: DEBUG: GPS processor result {"connection_id":142694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:24:39] local.INFO: GPS data processed {"connection_id":142694,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:24:39] local.INFO: Acknowledgment sent {"connection_id":142694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:25:10] local.INFO: TCP Data received {"connection_id":142694,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fa10e8070012d7f980005afd7c0001c000629..."} 
[2026-07-27 06:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142694,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa10e8070012d7f980005afd7c0001c000629..."} 
[2026-07-27 06:25:10] local.INFO: Processing buffer {"connection_id":142694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa10e8070012d7f980005afd7c0001c000629..."} 
[2026-07-27 06:25:10] local.INFO: Packet analysis {"connection_id":142694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa10e"} 
[2026-07-27 06:25:10] local.INFO: Extracted packet for processing {"connection_id":142694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa10e"} 
[2026-07-27 06:25:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":28,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 06:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 06:25:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988981504001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:25:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:25:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:25:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:25:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785113510000,"timestamp_ms":1785113510000,"timestamp_seconds":1785113510,"priority":1,"record_length":96,"hex_timestamp":"0000019fa10e8070"} 
[2026-07-27 06:25:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 06:25:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 06: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":31,"data_length":795,"current_offset":136} 
[2026-07-27 06:25: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-07-27 06:25:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 06:25:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 06:25:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:25:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:25:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:25:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:25:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 06:25:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:25:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:25:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988981504001,"66":25397,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:25:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:25:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:25:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988981504001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:25:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:25:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:25:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:25:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:25:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988981504001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:25:10] local.INFO: DEBUG: GPS processor result {"connection_id":142694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:25:10] local.INFO: GPS data processed {"connection_id":142694,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:25:10] local.INFO: Acknowledgment sent {"connection_id":142694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:25:38] local.INFO: TCP Data received {"connection_id":144991,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:25:38] local.INFO: Processing buffer {"connection_id":144991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:25:38] local.INFO: IMEI packet received {"connection_id":144991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 06:25:38] local.INFO: IMEI acknowledgment sent {"connection_id":144991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 06:25:43] local.INFO: TCP Data received {"connection_id":144991,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:25:43] local.INFO: Processing buffer {"connection_id":144991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:25:43] local.INFO: IMEI packet received {"connection_id":144991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 06:25:43] local.INFO: IMEI acknowledgment sent {"connection_id":144991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 06:25:44] local.INFO: TCP Data received {"connection_id":144991,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fa10e8070012d7f980005afd7c0001c000629..."} 
[2026-07-27 06:25:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa10e8070012d7f980005afd7c0001c000629..."} 
[2026-07-27 06:25:44] local.INFO: Processing buffer {"connection_id":144991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa10e8070012d7f980005afd7c0001c000629..."} 
[2026-07-27 06:25:44] local.INFO: Packet analysis {"connection_id":144991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa10e"} 
[2026-07-27 06:25:44] local.INFO: Extracted packet for processing {"connection_id":144991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa10e"} 
[2026-07-27 06:25:44] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":28,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 06:25:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988981504001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:25:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:25:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:25:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:25:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785113510000,"timestamp_ms":1785113510000,"timestamp_seconds":1785113510,"priority":1,"record_length":96,"hex_timestamp":"0000019fa10e8070"} 
[2026-07-27 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-07-27 06:25:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":31,"data_length":795,"current_offset":136} 
[2026-07-27 06:25:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 06:25:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:25:44] local.INFO: Teltonika packet parsed successfully {"connection_id":144991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:25:44] local.INFO: Passing IMEI to GPS processor {"connection_id":144991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:25:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":144991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:25:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 06:25:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:25:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:25:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988981504001,"66":25397,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:25:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:25:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:25:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988981504001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:25:44] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:25:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:25:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:25:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:25:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988981504001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:25:44] local.INFO: DEBUG: GPS processor result {"connection_id":144991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:25:44] local.INFO: GPS data processed {"connection_id":144991,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:25:44] local.INFO: Acknowledgment sent {"connection_id":144991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:25:48] local.INFO: TCP Data received {"connection_id":144991,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fa10e8070012d7f980005afd7c0001c000629..."} 
[2026-07-27 06:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa10e8070012d7f980005afd7c0001c000629..."} 
[2026-07-27 06:25:48] local.INFO: Processing buffer {"connection_id":144991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa10e8070012d7f980005afd7c0001c000629..."} 
[2026-07-27 06:25:48] local.INFO: Packet analysis {"connection_id":144991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa10e"} 
[2026-07-27 06:25:48] local.INFO: Extracted packet for processing {"connection_id":144991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa10e"} 
[2026-07-27 06:25:48] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":28,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 06:25:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 06:25:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988981504001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:25:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:25:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:25:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:25:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785113510000,"timestamp_ms":1785113510000,"timestamp_seconds":1785113510,"priority":1,"record_length":96,"hex_timestamp":"0000019fa10e8070"} 
[2026-07-27 06:25:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 06:25:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 06:25:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 06:25:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 06:25:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 06:25:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 06:25:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:25:48] local.INFO: Teltonika packet parsed successfully {"connection_id":144991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:25:48] local.INFO: Passing IMEI to GPS processor {"connection_id":144991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:25:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":144991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:25:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 06:25:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:25:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:25:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988981504001,"66":25397,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:25:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:25:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:25:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988981504001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:25:48] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:25:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:25:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:25:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:25:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988981504001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:25:48] local.INFO: DEBUG: GPS processor result {"connection_id":144991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:25:48] local.INFO: GPS data processed {"connection_id":144991,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:25:48] local.INFO: Acknowledgment sent {"connection_id":144991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:26:33] local.INFO: TCP Data received {"connection_id":144992,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:26:33] local.INFO: Processing buffer {"connection_id":144992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:26:33] local.INFO: IMEI packet received {"connection_id":144992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 06:26:33] local.INFO: IMEI acknowledgment sent {"connection_id":144992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 06:26:38] local.INFO: TCP Data received {"connection_id":144992,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:26:38] local.INFO: Processing buffer {"connection_id":144992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:26:38] local.INFO: IMEI packet received {"connection_id":144992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 06:26:38] local.INFO: IMEI acknowledgment sent {"connection_id":144992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 06:26:39] local.INFO: TCP Data received {"connection_id":144992,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fa10e8070012d7f980005afd7c0001c000629..."} 
[2026-07-27 06:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa10e8070012d7f980005afd7c0001c000629..."} 
[2026-07-27 06:26:39] local.INFO: Processing buffer {"connection_id":144992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa10e8070012d7f980005afd7c0001c000629..."} 
[2026-07-27 06:26:39] local.INFO: Packet analysis {"connection_id":144992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa10e"} 
[2026-07-27 06:26:39] local.INFO: Extracted packet for processing {"connection_id":144992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa10e"} 
[2026-07-27 06:26:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":28,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 06:26:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 06:26:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988981504001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:26:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:26:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:26:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:26:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785113510000,"timestamp_ms":1785113510000,"timestamp_seconds":1785113510,"priority":1,"record_length":96,"hex_timestamp":"0000019fa10e8070"} 
[2026-07-27 06:26:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 06:26:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 06: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":31,"data_length":795,"current_offset":136} 
[2026-07-27 06:26: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-07-27 06:26:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 06:26:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 06:26:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:26:39] local.INFO: Teltonika packet parsed successfully {"connection_id":144992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:26:39] local.INFO: Passing IMEI to GPS processor {"connection_id":144992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:26:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":144992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:26: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-07-27 06:26:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:26:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:26:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988981504001,"66":25397,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:26:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:26:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:26:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988981504001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:26:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:26:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:26:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:26:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:26:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988981504001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:26:39] local.INFO: DEBUG: GPS processor result {"connection_id":144992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:26:39] local.INFO: GPS data processed {"connection_id":144992,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:26:39] local.INFO: Acknowledgment sent {"connection_id":144992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:27:10] local.INFO: TCP Data received {"connection_id":144992,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fa10e8070012d7f980005afd7c0001c000629..."} 
[2026-07-27 06:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa10e8070012d7f980005afd7c0001c000629..."} 
[2026-07-27 06:27:10] local.INFO: Processing buffer {"connection_id":144992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa10e8070012d7f980005afd7c0001c000629..."} 
[2026-07-27 06:27:10] local.INFO: Packet analysis {"connection_id":144992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa10e"} 
[2026-07-27 06:27:10] local.INFO: Extracted packet for processing {"connection_id":144992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa10e"} 
[2026-07-27 06:27:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":28,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 06:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 06:27:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988981504001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:27:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:27:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:27:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:27:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785113510000,"timestamp_ms":1785113510000,"timestamp_seconds":1785113510,"priority":1,"record_length":96,"hex_timestamp":"0000019fa10e8070"} 
[2026-07-27 06:27:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 06:27:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 06: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":31,"data_length":795,"current_offset":136} 
[2026-07-27 06:27: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-07-27 06:27:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 06:27:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 06:27:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:27:10] local.INFO: Teltonika packet parsed successfully {"connection_id":144992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:27:10] local.INFO: Passing IMEI to GPS processor {"connection_id":144992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:27:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":144992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:27:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 06:27:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:27:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:27:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988981504001,"66":25397,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:27:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:27:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:27:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988981504001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:27:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:27:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:27:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:27:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:27:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988981504001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:27:10] local.INFO: DEBUG: GPS processor result {"connection_id":144992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:27:10] local.INFO: GPS data processed {"connection_id":144992,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:27:10] local.INFO: Acknowledgment sent {"connection_id":144992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:27:33] local.INFO: TCP Data received {"connection_id":143677,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:27:33] local.INFO: Processing buffer {"connection_id":143677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:27:33] local.INFO: IMEI packet received {"connection_id":143677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 06:27:33] local.INFO: IMEI acknowledgment sent {"connection_id":143677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 06:27:38] local.INFO: TCP Data received {"connection_id":143677,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:27:38] local.INFO: Processing buffer {"connection_id":143677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:27:38] local.INFO: IMEI packet received {"connection_id":143677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 06:27:38] local.INFO: IMEI acknowledgment sent {"connection_id":143677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 06:27:39] local.INFO: TCP Data received {"connection_id":143677,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1131838012d7f980005afd7c0000a000628..."} 
[2026-07-27 06:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1131838012d7f980005afd7c0000a000628..."} 
[2026-07-27 06:27:39] local.INFO: Processing buffer {"connection_id":143677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1131838012d7f980005afd7c0000a000628..."} 
[2026-07-27 06:27:39] local.INFO: Packet analysis {"connection_id":143677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa113"} 
[2026-07-27 06:27:39] local.INFO: Extracted packet for processing {"connection_id":143677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa113"} 
[2026-07-27 06:27:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 06:27:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 06:27:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989058560001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:27:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:27:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:27:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:27:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785113811000,"timestamp_ms":1785113811000,"timestamp_seconds":1785113811,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1131838"} 
[2026-07-27 06:27:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 06:27:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 06: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":53,"data_length":795,"current_offset":136} 
[2026-07-27 06:27: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-07-27 06:27:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 06:27:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 06:27:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:27:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:27:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:27:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:27:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 06:27:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:27:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:27:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989058560001,"66":25397,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:27:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:27:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:27:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989058560001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:27:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:27:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:27:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:27:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:27:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989058560001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:27:39] local.INFO: DEBUG: GPS processor result {"connection_id":143677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:27:39] local.INFO: GPS data processed {"connection_id":143677,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:27:39] local.INFO: Acknowledgment sent {"connection_id":143677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:28:10] local.INFO: TCP Data received {"connection_id":143677,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1131838012d7f980005afd7c0000a000628..."} 
[2026-07-27 06:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1131838012d7f980005afd7c0000a000628..."} 
[2026-07-27 06:28:10] local.INFO: Processing buffer {"connection_id":143677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1131838012d7f980005afd7c0000a000628..."} 
[2026-07-27 06:28:10] local.INFO: Packet analysis {"connection_id":143677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa113"} 
[2026-07-27 06:28:10] local.INFO: Extracted packet for processing {"connection_id":143677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa113"} 
[2026-07-27 06:28:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 06:28:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 06:28:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989058560001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:28:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:28:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:28:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:28:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785113811000,"timestamp_ms":1785113811000,"timestamp_seconds":1785113811,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1131838"} 
[2026-07-27 06:28:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 06:28:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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-07-27 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-07-27 06:28:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 06:28:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 06:28:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:28:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:28:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:28:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:28:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 06:28:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:28:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:28:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989058560001,"66":25397,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:28:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:28:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:28:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989058560001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:28:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:28:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:28:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:28:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:28:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989058560001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:28:10] local.INFO: DEBUG: GPS processor result {"connection_id":143677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:28:10] local.INFO: GPS data processed {"connection_id":143677,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:28:10] local.INFO: Acknowledgment sent {"connection_id":143677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:28:15] local.INFO: TCP Data received {"connection_id":144993,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 06:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144993,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 06:28:15] local.INFO: Processing buffer {"connection_id":144993,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 06:28:15] local.INFO: IMEI packet received {"connection_id":144993,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 06:28:15] local.INFO: IMEI acknowledgment sent {"connection_id":144993,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 06:28:33] local.INFO: TCP Data received {"connection_id":144994,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:28:33] local.INFO: Processing buffer {"connection_id":144994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:28:33] local.INFO: IMEI packet received {"connection_id":144994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 06:28:33] local.INFO: IMEI acknowledgment sent {"connection_id":144994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 06:28:38] local.INFO: TCP Data received {"connection_id":144994,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:28:38] local.INFO: Processing buffer {"connection_id":144994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:28:38] local.INFO: IMEI packet received {"connection_id":144994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 06:28:38] local.INFO: IMEI acknowledgment sent {"connection_id":144994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 06:28:39] local.INFO: TCP Data received {"connection_id":144994,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1131838012d7f980005afd7c0000a000628..."} 
[2026-07-27 06:28:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1131838012d7f980005afd7c0000a000628..."} 
[2026-07-27 06:28:39] local.INFO: Processing buffer {"connection_id":144994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1131838012d7f980005afd7c0000a000628..."} 
[2026-07-27 06:28:39] local.INFO: Packet analysis {"connection_id":144994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa113"} 
[2026-07-27 06:28:39] local.INFO: Extracted packet for processing {"connection_id":144994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa113"} 
[2026-07-27 06:28:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 06:28:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 06:28:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989058560001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:28:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:28:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:28:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:28:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785113811000,"timestamp_ms":1785113811000,"timestamp_seconds":1785113811,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1131838"} 
[2026-07-27 06:28:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 06:28:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 06: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":53,"data_length":795,"current_offset":136} 
[2026-07-27 06:28: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-07-27 06:28:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 06:28:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 06:28:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:28:39] local.INFO: Teltonika packet parsed successfully {"connection_id":144994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:28:39] local.INFO: Passing IMEI to GPS processor {"connection_id":144994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:28:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":144994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:28:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 06:28:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:28:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:28:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989058560001,"66":25397,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:28:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:28:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:28:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989058560001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:28:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:28:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:28:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:28:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:28:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989058560001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:28:39] local.INFO: DEBUG: GPS processor result {"connection_id":144994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:28:39] local.INFO: GPS data processed {"connection_id":144994,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:28:39] local.INFO: Acknowledgment sent {"connection_id":144994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:28:45] local.INFO: TCP Data received {"connection_id":142695,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 06:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142695,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 06:28:45] local.INFO: Processing buffer {"connection_id":142695,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 06:28:45] local.INFO: IMEI packet received {"connection_id":142695,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 06:28:45] local.INFO: IMEI acknowledgment sent {"connection_id":142695,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 06:29:10] local.INFO: TCP Data received {"connection_id":144994,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1131838012d7f980005afd7c0000a000628..."} 
[2026-07-27 06:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1131838012d7f980005afd7c0000a000628..."} 
[2026-07-27 06:29:10] local.INFO: Processing buffer {"connection_id":144994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1131838012d7f980005afd7c0000a000628..."} 
[2026-07-27 06:29:10] local.INFO: Packet analysis {"connection_id":144994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa113"} 
[2026-07-27 06:29:10] local.INFO: Extracted packet for processing {"connection_id":144994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa113"} 
[2026-07-27 06:29:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 06:29:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 06:29:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989058560001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:29:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:29:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:29:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:29:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785113811000,"timestamp_ms":1785113811000,"timestamp_seconds":1785113811,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1131838"} 
[2026-07-27 06:29:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 06:29:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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-07-27 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-07-27 06:29:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 06:29:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 06:29:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:29:10] local.INFO: Teltonika packet parsed successfully {"connection_id":144994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:29:10] local.INFO: Passing IMEI to GPS processor {"connection_id":144994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:29:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":144994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:29:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 06:29:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:29:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:29:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989058560001,"66":25397,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:29:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:29:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:29:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989058560001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:29:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:29:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:29:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:29:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:29:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989058560001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:29:10] local.INFO: DEBUG: GPS processor result {"connection_id":144994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:29:10] local.INFO: GPS data processed {"connection_id":144994,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:29:10] local.INFO: Acknowledgment sent {"connection_id":144994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:29:38] local.INFO: TCP Data received {"connection_id":144995,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:29:38] local.INFO: Processing buffer {"connection_id":144995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:29:38] local.INFO: IMEI packet received {"connection_id":144995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 06:29:38] local.INFO: IMEI acknowledgment sent {"connection_id":144995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 06:29:43] local.INFO: TCP Data received {"connection_id":144995,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:29:43] local.INFO: Processing buffer {"connection_id":144995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:29:43] local.INFO: IMEI packet received {"connection_id":144995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 06:29:43] local.INFO: IMEI acknowledgment sent {"connection_id":144995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 06:29:44] local.INFO: TCP Data received {"connection_id":144995,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1131838012d7f980005afd7c0000a000628..."} 
[2026-07-27 06:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1131838012d7f980005afd7c0000a000628..."} 
[2026-07-27 06:29:44] local.INFO: Processing buffer {"connection_id":144995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1131838012d7f980005afd7c0000a000628..."} 
[2026-07-27 06:29:44] local.INFO: Packet analysis {"connection_id":144995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa113"} 
[2026-07-27 06:29:44] local.INFO: Extracted packet for processing {"connection_id":144995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa113"} 
[2026-07-27 06:29:44] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 06: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-07-27 06:29:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989058560001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:29:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:29:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:29:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:29:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785113811000,"timestamp_ms":1785113811000,"timestamp_seconds":1785113811,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1131838"} 
[2026-07-27 06:29:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 06:29:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 06: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-07-27 06: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-07-27 06: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-07-27 06:29:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 06:29:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:29:44] local.INFO: Teltonika packet parsed successfully {"connection_id":144995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:29:44] local.INFO: Passing IMEI to GPS processor {"connection_id":144995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:29:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":144995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:29:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 06:29:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:29:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:29:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989058560001,"66":25397,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:29:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:29:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:29:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989058560001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:29:44] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:29:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:29:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:29:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:29:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989058560001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:29:44] local.INFO: DEBUG: GPS processor result {"connection_id":144995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:29:44] local.INFO: GPS data processed {"connection_id":144995,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:29:44] local.INFO: Acknowledgment sent {"connection_id":144995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:29:48] local.INFO: TCP Data received {"connection_id":144995,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1131838012d7f980005afd7c0000a000628..."} 
[2026-07-27 06:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1131838012d7f980005afd7c0000a000628..."} 
[2026-07-27 06:29:48] local.INFO: Processing buffer {"connection_id":144995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1131838012d7f980005afd7c0000a000628..."} 
[2026-07-27 06:29:48] local.INFO: Packet analysis {"connection_id":144995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa113"} 
[2026-07-27 06:29:48] local.INFO: Extracted packet for processing {"connection_id":144995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa113"} 
[2026-07-27 06:29:48] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 06: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-07-27 06:29:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989058560001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:29:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:29:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:29:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:29:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785113811000,"timestamp_ms":1785113811000,"timestamp_seconds":1785113811,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1131838"} 
[2026-07-27 06:29:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 06:29:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 06: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 06:29: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-07-27 06: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-07-27 06:29:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 06:29:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:29:48] local.INFO: Teltonika packet parsed successfully {"connection_id":144995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:29:48] local.INFO: Passing IMEI to GPS processor {"connection_id":144995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:29:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":144995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:29:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 06:29:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:29:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:29:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989058560001,"66":25397,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:29:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:29:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:29:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989058560001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:29:48] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:29:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:29:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:29:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:29:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989058560001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:29:48] local.INFO: DEBUG: GPS processor result {"connection_id":144995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:29:48] local.INFO: GPS data processed {"connection_id":144995,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:29:48] local.INFO: Acknowledgment sent {"connection_id":144995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:30:33] local.INFO: TCP Data received {"connection_id":142594,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:30:33] local.INFO: Processing buffer {"connection_id":142594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:30:33] local.INFO: IMEI packet received {"connection_id":142594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 06:30:33] local.INFO: IMEI acknowledgment sent {"connection_id":142594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 06:30:38] local.INFO: TCP Data received {"connection_id":142594,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:30:38] local.INFO: Processing buffer {"connection_id":142594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:30:38] local.INFO: IMEI packet received {"connection_id":142594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 06:30:38] local.INFO: IMEI acknowledgment sent {"connection_id":142594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 06:30:39] local.INFO: TCP Data received {"connection_id":142594,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1131838012d7f980005afd7c0000a000628..."} 
[2026-07-27 06:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1131838012d7f980005afd7c0000a000628..."} 
[2026-07-27 06:30:39] local.INFO: Processing buffer {"connection_id":142594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1131838012d7f980005afd7c0000a000628..."} 
[2026-07-27 06:30:39] local.INFO: Packet analysis {"connection_id":142594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa113"} 
[2026-07-27 06:30:39] local.INFO: Extracted packet for processing {"connection_id":142594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa113"} 
[2026-07-27 06:30:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 06:30:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 06:30:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989058560001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:30:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:30:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:30:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:30:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785113811000,"timestamp_ms":1785113811000,"timestamp_seconds":1785113811,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1131838"} 
[2026-07-27 06:30:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 06:30:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 06: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-07-27 06: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-07-27 06:30:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 06:30:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 06:30:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:30:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:30:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:30:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:30:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 06:30:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:30:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:30:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989058560001,"66":25397,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:30:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:30:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:30:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989058560001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:30:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:30:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:30:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:30:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:30:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989058560001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:30:39] local.INFO: DEBUG: GPS processor result {"connection_id":142594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:30:39] local.INFO: GPS data processed {"connection_id":142594,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:30:39] local.INFO: Acknowledgment sent {"connection_id":142594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:31:10] local.INFO: TCP Data received {"connection_id":142594,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1131838012d7f980005afd7c0000a000628..."} 
[2026-07-27 06:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1131838012d7f980005afd7c0000a000628..."} 
[2026-07-27 06:31:10] local.INFO: Processing buffer {"connection_id":142594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1131838012d7f980005afd7c0000a000628..."} 
[2026-07-27 06:31:10] local.INFO: Packet analysis {"connection_id":142594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa113"} 
[2026-07-27 06:31:10] local.INFO: Extracted packet for processing {"connection_id":142594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa113"} 
[2026-07-27 06:31:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 06:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 06:31:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989058560001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:31:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:31:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:31:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:31:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785113811000,"timestamp_ms":1785113811000,"timestamp_seconds":1785113811,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1131838"} 
[2026-07-27 06:31:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 06:31:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 06:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 06:31:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 06:31:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 06:31:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 06:31:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:31:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:31:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:31:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:31:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 06:31:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:31:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:31:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989058560001,"66":25397,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:31:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:31:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:31:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989058560001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:31:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:31:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:31:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:31:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:31:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989058560001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:31:10] local.INFO: DEBUG: GPS processor result {"connection_id":142594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:31:10] local.INFO: GPS data processed {"connection_id":142594,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:31:10] local.INFO: Acknowledgment sent {"connection_id":142594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:31:33] local.INFO: TCP Data received {"connection_id":143680,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:31:33] local.INFO: Processing buffer {"connection_id":143680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:31:33] local.INFO: IMEI packet received {"connection_id":143680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 06:31:33] local.INFO: IMEI acknowledgment sent {"connection_id":143680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 06:31:38] local.INFO: TCP Data received {"connection_id":143680,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:31:38] local.INFO: Processing buffer {"connection_id":143680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:31:38] local.INFO: IMEI packet received {"connection_id":143680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 06:31:38] local.INFO: IMEI acknowledgment sent {"connection_id":143680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 06:31:39] local.INFO: TCP Data received {"connection_id":143680,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1131838012d7f980005afd7c0000a000628..."} 
[2026-07-27 06:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1131838012d7f980005afd7c0000a000628..."} 
[2026-07-27 06:31:39] local.INFO: Processing buffer {"connection_id":143680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1131838012d7f980005afd7c0000a000628..."} 
[2026-07-27 06:31:39] local.INFO: Packet analysis {"connection_id":143680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa113"} 
[2026-07-27 06:31:39] local.INFO: Extracted packet for processing {"connection_id":143680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa113"} 
[2026-07-27 06:31:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 06:31:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 06:31:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989058560001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:31:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:31:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:31:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:31:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785113811000,"timestamp_ms":1785113811000,"timestamp_seconds":1785113811,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1131838"} 
[2026-07-27 06:31:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 06:31:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 06:31:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 06: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-07-27 06:31:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 06:31:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 06:31:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:31:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:31:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:31:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:31:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 06:31:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:31:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:31:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989058560001,"66":25397,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:31:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:31:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:31:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989058560001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:31:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:31:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:31:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:31:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:31:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989058560001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:31:39] local.INFO: DEBUG: GPS processor result {"connection_id":143680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:31:39] local.INFO: GPS data processed {"connection_id":143680,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:31:39] local.INFO: Acknowledgment sent {"connection_id":143680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:32:10] local.INFO: TCP Data received {"connection_id":143680,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1131838012d7f980005afd7c0000a000628..."} 
[2026-07-27 06:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1131838012d7f980005afd7c0000a000628..."} 
[2026-07-27 06:32:10] local.INFO: Processing buffer {"connection_id":143680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1131838012d7f980005afd7c0000a000628..."} 
[2026-07-27 06:32:10] local.INFO: Packet analysis {"connection_id":143680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa113"} 
[2026-07-27 06:32:10] local.INFO: Extracted packet for processing {"connection_id":143680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa113"} 
[2026-07-27 06:32:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 06:32:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989058560001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:32:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:32:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:32:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:32:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785113811000,"timestamp_ms":1785113811000,"timestamp_seconds":1785113811,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1131838"} 
[2026-07-27 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-07-27 06:32:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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-07-27 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-07-27 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-07-27 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-07-27 06:32:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:32:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:32:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:32:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:32:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 06:32:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:32:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:32:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989058560001,"66":25397,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:32:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:32:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:32:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989058560001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:32:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:32:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:32:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:32:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:32:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989058560001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:32:10] local.INFO: DEBUG: GPS processor result {"connection_id":143680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:32:10] local.INFO: GPS data processed {"connection_id":143680,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:32:10] local.INFO: Acknowledgment sent {"connection_id":143680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:32:33] local.INFO: TCP Data received {"connection_id":143681,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:32:33] local.INFO: Processing buffer {"connection_id":143681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:32:33] local.INFO: IMEI packet received {"connection_id":143681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 06:32:33] local.INFO: IMEI acknowledgment sent {"connection_id":143681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 06:32:38] local.INFO: TCP Data received {"connection_id":143681,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:32:38] local.INFO: Processing buffer {"connection_id":143681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:32:38] local.INFO: IMEI packet received {"connection_id":143681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 06:32:38] local.INFO: IMEI acknowledgment sent {"connection_id":143681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 06:32:39] local.INFO: TCP Data received {"connection_id":143681,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fa117b000012d7f980005afd7c0000a000629..."} 
[2026-07-27 06:32:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa117b000012d7f980005afd7c0000a000629..."} 
[2026-07-27 06:32:39] local.INFO: Processing buffer {"connection_id":143681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa117b000012d7f980005afd7c0000a000629..."} 
[2026-07-27 06:32:39] local.INFO: Packet analysis {"connection_id":143681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa117"} 
[2026-07-27 06:32:39] local.INFO: Extracted packet for processing {"connection_id":143681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa117"} 
[2026-07-27 06:32:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 06: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-07-27 06:32:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989135616001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:32:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:32:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:32:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:32:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785114112000,"timestamp_ms":1785114112000,"timestamp_seconds":1785114112,"priority":1,"record_length":96,"hex_timestamp":"0000019fa117b000"} 
[2026-07-27 06:32:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 06:32:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 06: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-07-27 06: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-07-27 06: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-07-27 06:32:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 06:32:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:32:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:32:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:32:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:32:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 06:32:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:32:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:32:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989135616001,"66":24962,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:32:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:32:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:32:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989135616001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:32:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:32:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:32:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:32:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:32:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989135616001,"power":24962,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:32:39] local.INFO: DEBUG: GPS processor result {"connection_id":143681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:32:39] local.INFO: GPS data processed {"connection_id":143681,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:32:39] local.INFO: Acknowledgment sent {"connection_id":143681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:33:10] local.INFO: TCP Data received {"connection_id":143681,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fa117b000012d7f980005afd7c0000a000629..."} 
[2026-07-27 06:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa117b000012d7f980005afd7c0000a000629..."} 
[2026-07-27 06:33:10] local.INFO: Processing buffer {"connection_id":143681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa117b000012d7f980005afd7c0000a000629..."} 
[2026-07-27 06:33:10] local.INFO: Packet analysis {"connection_id":143681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa117"} 
[2026-07-27 06:33:10] local.INFO: Extracted packet for processing {"connection_id":143681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa117"} 
[2026-07-27 06:33:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 06:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 06:33:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989135616001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:33:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:33:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:33:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:33:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785114112000,"timestamp_ms":1785114112000,"timestamp_seconds":1785114112,"priority":1,"record_length":96,"hex_timestamp":"0000019fa117b000"} 
[2026-07-27 06:33:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 06:33:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 06: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-07-27 06: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-07-27 06:33:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 06:33:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 06:33:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:33:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:33:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:33:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:33:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 06:33:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:33:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:33:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989135616001,"66":24962,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:33:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:33:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:33:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989135616001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:33:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:33:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:33:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:33:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:33:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989135616001,"power":24962,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:33:10] local.INFO: DEBUG: GPS processor result {"connection_id":143681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:33:10] local.INFO: GPS data processed {"connection_id":143681,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:33:10] local.INFO: Acknowledgment sent {"connection_id":143681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:33:33] local.INFO: TCP Data received {"connection_id":144998,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:33:33] local.INFO: Processing buffer {"connection_id":144998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:33:33] local.INFO: IMEI packet received {"connection_id":144998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 06:33:33] local.INFO: IMEI acknowledgment sent {"connection_id":144998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 06:33:38] local.INFO: TCP Data received {"connection_id":144998,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:33:38] local.INFO: Processing buffer {"connection_id":144998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:33:38] local.INFO: IMEI packet received {"connection_id":144998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 06:33:38] local.INFO: IMEI acknowledgment sent {"connection_id":144998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 06:33:39] local.INFO: TCP Data received {"connection_id":144998,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa117b000012d7f980005afd7c0000a000629..."} 
[2026-07-27 06:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa117b000012d7f980005afd7c0000a000629..."} 
[2026-07-27 06:33:39] local.INFO: Processing buffer {"connection_id":144998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa117b000012d7f980005afd7c0000a000629..."} 
[2026-07-27 06:33:39] local.INFO: Packet analysis {"connection_id":144998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa117"} 
[2026-07-27 06:33:39] local.INFO: Extracted packet for processing {"connection_id":144998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa117"} 
[2026-07-27 06:33:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 06:33:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 06:33:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989135616001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:33:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:33:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:33:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:33:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785114112000,"timestamp_ms":1785114112000,"timestamp_seconds":1785114112,"priority":1,"record_length":96,"hex_timestamp":"0000019fa117b000"} 
[2026-07-27 06:33:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 06:33:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 06: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":53,"data_length":795,"current_offset":136} 
[2026-07-27 06:33: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-07-27 06:33:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 06:33:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 06:33:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:33:39] local.INFO: Teltonika packet parsed successfully {"connection_id":144998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:33:39] local.INFO: Passing IMEI to GPS processor {"connection_id":144998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:33:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":144998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:33:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 06:33:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:33:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:33:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989135616001,"66":24962,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:33:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:33:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:33:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989135616001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:33:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:33:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:33:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:33:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:33:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989135616001,"power":24962,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:33:39] local.INFO: DEBUG: GPS processor result {"connection_id":144998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:33:39] local.INFO: GPS data processed {"connection_id":144998,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:33:39] local.INFO: Acknowledgment sent {"connection_id":144998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:34:10] local.INFO: TCP Data received {"connection_id":144998,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa117b000012d7f980005afd7c0000a000629..."} 
[2026-07-27 06:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa117b000012d7f980005afd7c0000a000629..."} 
[2026-07-27 06:34:10] local.INFO: Processing buffer {"connection_id":144998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa117b000012d7f980005afd7c0000a000629..."} 
[2026-07-27 06:34:10] local.INFO: Packet analysis {"connection_id":144998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa117"} 
[2026-07-27 06:34:10] local.INFO: Extracted packet for processing {"connection_id":144998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa117"} 
[2026-07-27 06:34:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 06:34:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989135616001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:34:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:34:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:34:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:34:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785114112000,"timestamp_ms":1785114112000,"timestamp_seconds":1785114112,"priority":1,"record_length":96,"hex_timestamp":"0000019fa117b000"} 
[2026-07-27 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-07-27 06:34:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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-07-27 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-07-27 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-07-27 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-07-27 06:34:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:34:10] local.INFO: Teltonika packet parsed successfully {"connection_id":144998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:34:10] local.INFO: Passing IMEI to GPS processor {"connection_id":144998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:34:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":144998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:34:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 06:34:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:34:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:34:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989135616001,"66":24962,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:34:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:34:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:34:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989135616001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:34:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:34:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:34:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:34:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:34:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989135616001,"power":24962,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:34:10] local.INFO: DEBUG: GPS processor result {"connection_id":144998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:34:10] local.INFO: GPS data processed {"connection_id":144998,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:34:10] local.INFO: Acknowledgment sent {"connection_id":144998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:34:10] local.INFO: TCP Data received {"connection_id":142697,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 06:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142697,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 06:34:10] local.INFO: Processing buffer {"connection_id":142697,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 06:34:10] local.INFO: IMEI packet received {"connection_id":142697,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 06:34:10] local.INFO: IMEI acknowledgment sent {"connection_id":142697,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 06:34:38] local.INFO: TCP Data received {"connection_id":142595,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:34:38] local.INFO: Processing buffer {"connection_id":142595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:34:38] local.INFO: IMEI packet received {"connection_id":142595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 06:34:38] local.INFO: IMEI acknowledgment sent {"connection_id":142595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 06:34:43] local.INFO: TCP Data received {"connection_id":142595,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:34:43] local.INFO: Processing buffer {"connection_id":142595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:34:43] local.INFO: IMEI packet received {"connection_id":142595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 06:34:43] local.INFO: IMEI acknowledgment sent {"connection_id":142595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 06:34:44] local.INFO: TCP Data received {"connection_id":142595,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa117b000012d7f980005afd7c0000a000629..."} 
[2026-07-27 06:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa117b000012d7f980005afd7c0000a000629..."} 
[2026-07-27 06:34:44] local.INFO: Processing buffer {"connection_id":142595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa117b000012d7f980005afd7c0000a000629..."} 
[2026-07-27 06:34:44] local.INFO: Packet analysis {"connection_id":142595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa117"} 
[2026-07-27 06:34:44] local.INFO: Extracted packet for processing {"connection_id":142595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa117"} 
[2026-07-27 06:34:44] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 06:34:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 06:34:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989135616001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:34:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:34:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:34:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:34:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785114112000,"timestamp_ms":1785114112000,"timestamp_seconds":1785114112,"priority":1,"record_length":96,"hex_timestamp":"0000019fa117b000"} 
[2026-07-27 06:34:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 06:34:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 06:34:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 06:34: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-07-27 06:34:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 06:34:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 06:34:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:34:44] local.INFO: Teltonika packet parsed successfully {"connection_id":142595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:34:44] local.INFO: Passing IMEI to GPS processor {"connection_id":142595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:34:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":142595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:34:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 06:34:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:34:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:34:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989135616001,"66":24962,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:34:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:34:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:34:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989135616001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:34:44] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:34:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:34:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:34:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:34:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989135616001,"power":24962,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:34:44] local.INFO: DEBUG: GPS processor result {"connection_id":142595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:34:44] local.INFO: GPS data processed {"connection_id":142595,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:34:44] local.INFO: Acknowledgment sent {"connection_id":142595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:34:45] local.INFO: TCP Data received {"connection_id":142596,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 06:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142596,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 06:34:45] local.INFO: Processing buffer {"connection_id":142596,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 06:34:45] local.INFO: IMEI packet received {"connection_id":142596,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 06:34:45] local.INFO: IMEI acknowledgment sent {"connection_id":142596,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 06:34:48] local.INFO: TCP Data received {"connection_id":142595,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa117b000012d7f980005afd7c0000a000629..."} 
[2026-07-27 06:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa117b000012d7f980005afd7c0000a000629..."} 
[2026-07-27 06:34:48] local.INFO: Processing buffer {"connection_id":142595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa117b000012d7f980005afd7c0000a000629..."} 
[2026-07-27 06:34:48] local.INFO: Packet analysis {"connection_id":142595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa117"} 
[2026-07-27 06:34:48] local.INFO: Extracted packet for processing {"connection_id":142595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa117"} 
[2026-07-27 06:34:48] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 06: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-07-27 06:34:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989135616001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:34:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:34:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:34:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:34:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785114112000,"timestamp_ms":1785114112000,"timestamp_seconds":1785114112,"priority":1,"record_length":96,"hex_timestamp":"0000019fa117b000"} 
[2026-07-27 06:34:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 06:34:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 06: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 06:34: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-07-27 06: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-07-27 06:34:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 06:34:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:34:48] local.INFO: Teltonika packet parsed successfully {"connection_id":142595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:34:48] local.INFO: Passing IMEI to GPS processor {"connection_id":142595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:34:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":142595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:34:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 06:34:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:34:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:34:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989135616001,"66":24962,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:34:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:34:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:34:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989135616001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:34:48] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:34:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:34:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:34:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:34:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989135616001,"power":24962,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:34:48] local.INFO: DEBUG: GPS processor result {"connection_id":142595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:34:48] local.INFO: GPS data processed {"connection_id":142595,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:34:48] local.INFO: Acknowledgment sent {"connection_id":142595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:35:33] local.INFO: TCP Data received {"connection_id":144999,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:35:33] local.INFO: Processing buffer {"connection_id":144999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:35:33] local.INFO: IMEI packet received {"connection_id":144999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 06:35:33] local.INFO: IMEI acknowledgment sent {"connection_id":144999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 06:35:38] local.INFO: TCP Data received {"connection_id":144999,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:35:38] local.INFO: Processing buffer {"connection_id":144999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:35:38] local.INFO: IMEI packet received {"connection_id":144999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 06:35:38] local.INFO: IMEI acknowledgment sent {"connection_id":144999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 06:35:39] local.INFO: TCP Data received {"connection_id":144999,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fa117b000012d7f980005afd7c0000a000629..."} 
[2026-07-27 06:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa117b000012d7f980005afd7c0000a000629..."} 
[2026-07-27 06:35:39] local.INFO: Processing buffer {"connection_id":144999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa117b000012d7f980005afd7c0000a000629..."} 
[2026-07-27 06:35:39] local.INFO: Packet analysis {"connection_id":144999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa117"} 
[2026-07-27 06:35:39] local.INFO: Extracted packet for processing {"connection_id":144999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa117"} 
[2026-07-27 06:35:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 06: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-07-27 06:35:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989135616001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:35:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:35:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:35:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:35:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785114112000,"timestamp_ms":1785114112000,"timestamp_seconds":1785114112,"priority":1,"record_length":96,"hex_timestamp":"0000019fa117b000"} 
[2026-07-27 06:35:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 06:35:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 06: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-07-27 06: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-07-27 06: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-07-27 06:35:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 06:35:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:35:39] local.INFO: Teltonika packet parsed successfully {"connection_id":144999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:35:39] local.INFO: Passing IMEI to GPS processor {"connection_id":144999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:35:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":144999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:35:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 06:35:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:35:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:35:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989135616001,"66":24962,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:35:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:35:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:35:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989135616001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:35:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:35:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:35:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:35:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:35:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989135616001,"power":24962,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:35:39] local.INFO: DEBUG: GPS processor result {"connection_id":144999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:35:39] local.INFO: GPS data processed {"connection_id":144999,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:35:39] local.INFO: Acknowledgment sent {"connection_id":144999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:36:10] local.INFO: TCP Data received {"connection_id":144999,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fa117b000012d7f980005afd7c0000a000629..."} 
[2026-07-27 06:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa117b000012d7f980005afd7c0000a000629..."} 
[2026-07-27 06:36:10] local.INFO: Processing buffer {"connection_id":144999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa117b000012d7f980005afd7c0000a000629..."} 
[2026-07-27 06:36:10] local.INFO: Packet analysis {"connection_id":144999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa117"} 
[2026-07-27 06:36:10] local.INFO: Extracted packet for processing {"connection_id":144999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa117"} 
[2026-07-27 06:36:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 06:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 06:36:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989135616001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:36:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:36:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:36:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:36:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785114112000,"timestamp_ms":1785114112000,"timestamp_seconds":1785114112,"priority":1,"record_length":96,"hex_timestamp":"0000019fa117b000"} 
[2026-07-27 06:36:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 06:36:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 06: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-07-27 06: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-07-27 06:36:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 06:36:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 06:36:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:36:10] local.INFO: Teltonika packet parsed successfully {"connection_id":144999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:36:10] local.INFO: Passing IMEI to GPS processor {"connection_id":144999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:36:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":144999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:36:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 06:36:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:36:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:36:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989135616001,"66":24962,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:36:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:36:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:36:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989135616001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:36:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:36:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:36:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:36:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:36:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989135616001,"power":24962,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:36:10] local.INFO: DEBUG: GPS processor result {"connection_id":144999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:36:10] local.INFO: GPS data processed {"connection_id":144999,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:36:10] local.INFO: Acknowledgment sent {"connection_id":144999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:36:33] local.INFO: TCP Data received {"connection_id":142597,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:36:33] local.INFO: Processing buffer {"connection_id":142597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:36:33] local.INFO: IMEI packet received {"connection_id":142597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 06:36:33] local.INFO: IMEI acknowledgment sent {"connection_id":142597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 06:36:38] local.INFO: TCP Data received {"connection_id":142597,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:36:38] local.INFO: Processing buffer {"connection_id":142597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:36:38] local.INFO: IMEI packet received {"connection_id":142597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 06:36:38] local.INFO: IMEI acknowledgment sent {"connection_id":142597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 06:36:39] local.INFO: TCP Data received {"connection_id":142597,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fa117b000012d7f980005afd7c0000a000629..."} 
[2026-07-27 06:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa117b000012d7f980005afd7c0000a000629..."} 
[2026-07-27 06:36:39] local.INFO: Processing buffer {"connection_id":142597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa117b000012d7f980005afd7c0000a000629..."} 
[2026-07-27 06:36:39] local.INFO: Packet analysis {"connection_id":142597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa117"} 
[2026-07-27 06:36:39] local.INFO: Extracted packet for processing {"connection_id":142597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa117"} 
[2026-07-27 06:36:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 06:36:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 06:36:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989135616001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:36:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:36:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:36:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:36:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785114112000,"timestamp_ms":1785114112000,"timestamp_seconds":1785114112,"priority":1,"record_length":96,"hex_timestamp":"0000019fa117b000"} 
[2026-07-27 06:36:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 06:36:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 06: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-07-27 06: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-07-27 06:36:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 06:36:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 06:36:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:36:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:36:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:36:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06: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-07-27 06:36:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:36:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:36:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989135616001,"66":24962,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:36:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:36:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:36:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989135616001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:36:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:36:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:36:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:36:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:36:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989135616001,"power":24962,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:36:39] local.INFO: DEBUG: GPS processor result {"connection_id":142597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:36:39] local.INFO: GPS data processed {"connection_id":142597,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:36:39] local.INFO: Acknowledgment sent {"connection_id":142597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:37:10] local.INFO: TCP Data received {"connection_id":142597,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fa117b000012d7f980005afd7c0000a000629..."} 
[2026-07-27 06:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa117b000012d7f980005afd7c0000a000629..."} 
[2026-07-27 06:37:10] local.INFO: Processing buffer {"connection_id":142597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa117b000012d7f980005afd7c0000a000629..."} 
[2026-07-27 06:37:10] local.INFO: Packet analysis {"connection_id":142597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa117"} 
[2026-07-27 06:37:10] local.INFO: Extracted packet for processing {"connection_id":142597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa117"} 
[2026-07-27 06:37:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 06:37:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 06:37:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989135616001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:37:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:37:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:37:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:37:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785114112000,"timestamp_ms":1785114112000,"timestamp_seconds":1785114112,"priority":1,"record_length":96,"hex_timestamp":"0000019fa117b000"} 
[2026-07-27 06:37:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 06:37:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 06: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-07-27 06: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-07-27 06:37:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 06:37:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 06:37:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:37:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:37:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:37:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:37:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 06:37:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:37:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:37:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989135616001,"66":24962,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:37:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:37:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:37:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989135616001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:37:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:37:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:37:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:37:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:37:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989135616001,"power":24962,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:37:10] local.INFO: DEBUG: GPS processor result {"connection_id":142597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:37:10] local.INFO: GPS data processed {"connection_id":142597,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:37:10] local.INFO: Acknowledgment sent {"connection_id":142597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:37:31] local.INFO: TCP Data received {"connection_id":143682,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:37:31] local.INFO: Processing buffer {"connection_id":143682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:37:31] local.INFO: IMEI packet received {"connection_id":143682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 06:37:31] local.INFO: IMEI acknowledgment sent {"connection_id":143682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 06:37:33] local.INFO: TCP Data received {"connection_id":143682,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:37:33] local.INFO: Processing buffer {"connection_id":143682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:37:33] local.INFO: IMEI packet received {"connection_id":143682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 06:37:33] local.INFO: IMEI acknowledgment sent {"connection_id":143682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 06:37:38] local.INFO: TCP Data received {"connection_id":143682,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:37:38] local.INFO: Processing buffer {"connection_id":143682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:37:38] local.INFO: IMEI packet received {"connection_id":143682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 06:37:38] local.INFO: IMEI acknowledgment sent {"connection_id":143682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 06:37:39] local.INFO: TCP Data received {"connection_id":143682,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fa11c47c8012d7f980005afd7c0001200062d..."} 
[2026-07-27 06:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa11c47c8012d7f980005afd7c0001200062d..."} 
[2026-07-27 06:37:39] local.INFO: Processing buffer {"connection_id":143682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa11c47c8012d7f980005afd7c0001200062d..."} 
[2026-07-27 06:37:39] local.INFO: Packet analysis {"connection_id":143682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa11c"} 
[2026-07-27 06:37:39] local.INFO: Extracted packet for processing {"connection_id":143682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa11c"} 
[2026-07-27 06:37:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":18,"angle":6,"satellites":45,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 06: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-07-27 06:37:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989212672001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:37:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:37:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:37:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:37:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785114413000,"timestamp_ms":1785114413000,"timestamp_seconds":1785114413,"priority":1,"record_length":96,"hex_timestamp":"0000019fa11c47c8"} 
[2026-07-27 06:37:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 06:37:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 06:37:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-07-27 06:37:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1853,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 06: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-07-27 06:37:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 06:37:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:37:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:37:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:37:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:37:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 06:37:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:37:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:37:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989212672001,"66":25375,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:37:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:37:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:37:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989212672001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:37:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:37:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:37:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:37:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:37:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989212672001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:37:39] local.INFO: DEBUG: GPS processor result {"connection_id":143682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:37:39] local.INFO: GPS data processed {"connection_id":143682,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:37:39] local.INFO: Acknowledgment sent {"connection_id":143682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:38:10] local.INFO: TCP Data received {"connection_id":143682,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fa11c47c8012d7f980005afd7c0001200062d..."} 
[2026-07-27 06:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa11c47c8012d7f980005afd7c0001200062d..."} 
[2026-07-27 06:38:10] local.INFO: Processing buffer {"connection_id":143682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa11c47c8012d7f980005afd7c0001200062d..."} 
[2026-07-27 06:38:10] local.INFO: Packet analysis {"connection_id":143682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa11c"} 
[2026-07-27 06:38:10] local.INFO: Extracted packet for processing {"connection_id":143682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa11c"} 
[2026-07-27 06:38:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":18,"angle":6,"satellites":45,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 06:38:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989212672001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:38:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:38:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:38:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:38:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785114413000,"timestamp_ms":1785114413000,"timestamp_seconds":1785114413,"priority":1,"record_length":96,"hex_timestamp":"0000019fa11c47c8"} 
[2026-07-27 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-07-27 06:38:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":97,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-07-27 06:38:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1853,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 06:38:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:38:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:38:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:38:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:38:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 06:38:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:38:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:38:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989212672001,"66":25375,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:38:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:38:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:38:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989212672001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:38:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:38:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:38:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:38:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:38:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989212672001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:38:10] local.INFO: DEBUG: GPS processor result {"connection_id":143682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:38:10] local.INFO: GPS data processed {"connection_id":143682,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:38:10] local.INFO: Acknowledgment sent {"connection_id":143682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:38:33] local.INFO: TCP Data received {"connection_id":142700,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:38:33] local.INFO: Processing buffer {"connection_id":142700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:38:33] local.INFO: IMEI packet received {"connection_id":142700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 06:38:33] local.INFO: IMEI acknowledgment sent {"connection_id":142700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 06:38:38] local.INFO: TCP Data received {"connection_id":142700,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:38:38] local.INFO: Processing buffer {"connection_id":142700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:38:38] local.INFO: IMEI packet received {"connection_id":142700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 06:38:38] local.INFO: IMEI acknowledgment sent {"connection_id":142700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 06:38:39] local.INFO: TCP Data received {"connection_id":142700,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa11c47c8012d7f980005afd7c0001200062d..."} 
[2026-07-27 06:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142700,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa11c47c8012d7f980005afd7c0001200062d..."} 
[2026-07-27 06:38:39] local.INFO: Processing buffer {"connection_id":142700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa11c47c8012d7f980005afd7c0001200062d..."} 
[2026-07-27 06:38:39] local.INFO: Packet analysis {"connection_id":142700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa11c"} 
[2026-07-27 06:38:39] local.INFO: Extracted packet for processing {"connection_id":142700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa11c"} 
[2026-07-27 06:38:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":18,"angle":6,"satellites":45,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 06:38:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 06:38:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989212672001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:38:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:38:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:38:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:38:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785114413000,"timestamp_ms":1785114413000,"timestamp_seconds":1785114413,"priority":1,"record_length":96,"hex_timestamp":"0000019fa11c47c8"} 
[2026-07-27 06:38:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 06:38:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 06:38:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-07-27 06:38:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1853,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 06:38:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 06:38:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 06:38:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:38:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:38:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:38:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06: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-07-27 06:38:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:38:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:38:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989212672001,"66":25375,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:38:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:38:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:38:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989212672001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:38:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:38:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:38:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:38:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:38:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989212672001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:38:39] local.INFO: DEBUG: GPS processor result {"connection_id":142700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:38:39] local.INFO: GPS data processed {"connection_id":142700,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:38:39] local.INFO: Acknowledgment sent {"connection_id":142700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:39:10] local.INFO: TCP Data received {"connection_id":142700,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa11c47c8012d7f980005afd7c0001200062d..."} 
[2026-07-27 06:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142700,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa11c47c8012d7f980005afd7c0001200062d..."} 
[2026-07-27 06:39:10] local.INFO: Processing buffer {"connection_id":142700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa11c47c8012d7f980005afd7c0001200062d..."} 
[2026-07-27 06:39:10] local.INFO: Packet analysis {"connection_id":142700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa11c"} 
[2026-07-27 06:39:10] local.INFO: Extracted packet for processing {"connection_id":142700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa11c"} 
[2026-07-27 06:39:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":18,"angle":6,"satellites":45,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 06:39:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989212672001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:39:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:39:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:39:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:39:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785114413000,"timestamp_ms":1785114413000,"timestamp_seconds":1785114413,"priority":1,"record_length":96,"hex_timestamp":"0000019fa11c47c8"} 
[2026-07-27 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-07-27 06:39:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":97,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-07-27 06:39:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1853,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 06:39:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:39:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:39:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:39:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:39:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 06:39:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:39:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:39:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989212672001,"66":25375,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:39:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:39:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:39:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989212672001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:39:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:39:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:39:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:39:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:39:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989212672001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:39:10] local.INFO: DEBUG: GPS processor result {"connection_id":142700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:39:10] local.INFO: GPS data processed {"connection_id":142700,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:39:10] local.INFO: Acknowledgment sent {"connection_id":142700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:39:38] local.INFO: TCP Data received {"connection_id":145001,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:39:38] local.INFO: Processing buffer {"connection_id":145001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:39:38] local.INFO: IMEI packet received {"connection_id":145001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 06:39:38] local.INFO: IMEI acknowledgment sent {"connection_id":145001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 06:39:43] local.INFO: TCP Data received {"connection_id":145001,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:39:43] local.INFO: Processing buffer {"connection_id":145001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:39:43] local.INFO: IMEI packet received {"connection_id":145001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 06:39:43] local.INFO: IMEI acknowledgment sent {"connection_id":145001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 06:39:43] local.INFO: TCP Data received {"connection_id":145001,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa11c47c8012d7f980005afd7c0001200062d..."} 
[2026-07-27 06:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145001,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa11c47c8012d7f980005afd7c0001200062d..."} 
[2026-07-27 06:39:43] local.INFO: Processing buffer {"connection_id":145001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa11c47c8012d7f980005afd7c0001200062d..."} 
[2026-07-27 06:39:43] local.INFO: Packet analysis {"connection_id":145001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa11c"} 
[2026-07-27 06:39:43] local.INFO: Extracted packet for processing {"connection_id":145001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa11c"} 
[2026-07-27 06:39:43] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":18,"angle":6,"satellites":45,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 06:39:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 06:39:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989212672001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:39:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:39:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:39:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:39:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785114413000,"timestamp_ms":1785114413000,"timestamp_seconds":1785114413,"priority":1,"record_length":96,"hex_timestamp":"0000019fa11c47c8"} 
[2026-07-27 06:39:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 06:39:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 06: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":97,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-07-27 06:39:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1853,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 06:39:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 06:39:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 06:39:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:39:43] local.INFO: Teltonika packet parsed successfully {"connection_id":145001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:39:43] local.INFO: Passing IMEI to GPS processor {"connection_id":145001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:39:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":145001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:39:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 06:39:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:39:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:39:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989212672001,"66":25375,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:39:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:39:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:39:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989212672001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:39:43] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:39:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:39:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:39:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:39:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989212672001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:39:43] local.INFO: DEBUG: GPS processor result {"connection_id":145001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:39:43] local.INFO: GPS data processed {"connection_id":145001,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:39:43] local.INFO: Acknowledgment sent {"connection_id":145001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:39:48] local.INFO: TCP Data received {"connection_id":145001,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa11c47c8012d7f980005afd7c0001200062d..."} 
[2026-07-27 06:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145001,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa11c47c8012d7f980005afd7c0001200062d..."} 
[2026-07-27 06:39:48] local.INFO: Processing buffer {"connection_id":145001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa11c47c8012d7f980005afd7c0001200062d..."} 
[2026-07-27 06:39:48] local.INFO: Packet analysis {"connection_id":145001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa11c"} 
[2026-07-27 06:39:48] local.INFO: Extracted packet for processing {"connection_id":145001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa11c"} 
[2026-07-27 06:39:48] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":18,"angle":6,"satellites":45,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 06:39:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 06:39:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989212672001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:39:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:39:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:39:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:39:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785114413000,"timestamp_ms":1785114413000,"timestamp_seconds":1785114413,"priority":1,"record_length":96,"hex_timestamp":"0000019fa11c47c8"} 
[2026-07-27 06:39:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 06:39:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 06: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":97,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-07-27 06:39:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1853,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 06:39:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 06:39:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 06:39:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:39:48] local.INFO: Teltonika packet parsed successfully {"connection_id":145001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:39:48] local.INFO: Passing IMEI to GPS processor {"connection_id":145001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:39:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":145001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:39:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 06:39:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:39:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:39:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989212672001,"66":25375,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:39:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:39:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:39:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989212672001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:39:48] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:39:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:39:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:39:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:39:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989212672001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:39:48] local.INFO: DEBUG: GPS processor result {"connection_id":145001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:39:48] local.INFO: GPS data processed {"connection_id":145001,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:39:48] local.INFO: Acknowledgment sent {"connection_id":145001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:40:33] local.INFO: TCP Data received {"connection_id":142701,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:40:33] local.INFO: Processing buffer {"connection_id":142701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:40:33] local.INFO: IMEI packet received {"connection_id":142701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 06:40:33] local.INFO: IMEI acknowledgment sent {"connection_id":142701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 06:40:38] local.INFO: TCP Data received {"connection_id":142701,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:40:38] local.INFO: Processing buffer {"connection_id":142701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:40:38] local.INFO: IMEI packet received {"connection_id":142701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 06:40:38] local.INFO: IMEI acknowledgment sent {"connection_id":142701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 06:40:39] local.INFO: TCP Data received {"connection_id":142701,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fa11c47c8012d7f980005afd7c0001200062d..."} 
[2026-07-27 06:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa11c47c8012d7f980005afd7c0001200062d..."} 
[2026-07-27 06:40:39] local.INFO: Processing buffer {"connection_id":142701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa11c47c8012d7f980005afd7c0001200062d..."} 
[2026-07-27 06:40:39] local.INFO: Packet analysis {"connection_id":142701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa11c"} 
[2026-07-27 06:40:39] local.INFO: Extracted packet for processing {"connection_id":142701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa11c"} 
[2026-07-27 06:40:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":18,"angle":6,"satellites":45,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 06:40:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 06:40:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989212672001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:40:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:40:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:40:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:40:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785114413000,"timestamp_ms":1785114413000,"timestamp_seconds":1785114413,"priority":1,"record_length":96,"hex_timestamp":"0000019fa11c47c8"} 
[2026-07-27 06:40:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 06:40:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 06: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":97,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-07-27 06:40:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1853,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 06:40:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 06:40:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 06:40:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:40:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:40:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:40:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:40:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 06:40:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:40:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:40:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989212672001,"66":25375,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:40:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:40:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:40:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989212672001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:40:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:40:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:40:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:40:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:40:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989212672001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:40:39] local.INFO: DEBUG: GPS processor result {"connection_id":142701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:40:39] local.INFO: GPS data processed {"connection_id":142701,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:40:39] local.INFO: Acknowledgment sent {"connection_id":142701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:40:45] local.INFO: TCP Data received {"connection_id":142600,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 06:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142600,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 06:40:45] local.INFO: Processing buffer {"connection_id":142600,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 06:40:45] local.INFO: IMEI packet received {"connection_id":142600,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 06:40:45] local.INFO: IMEI acknowledgment sent {"connection_id":142600,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 06:40:50] local.INFO: TCP Data received {"connection_id":142600,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 06:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142600,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 06:40:50] local.INFO: Processing buffer {"connection_id":142600,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 06:40:50] local.INFO: IMEI packet received {"connection_id":142600,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-27 06:40:50] local.INFO: IMEI acknowledgment sent {"connection_id":142600,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 06:40:51] local.INFO: TCP Data received {"connection_id":142600,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fa0fc2d08012d34cc0006aa51c8000b00002c..."} 
[2026-07-27 06:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa0fc2d08012d34cc0006aa51c8000b00002c..."} 
[2026-07-27 06:40:51] local.INFO: Processing buffer {"connection_id":142600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa0fc2d08012d34cc0006aa51c8000b00002c..."} 
[2026-07-27 06:40:51] local.INFO: Packet analysis {"connection_id":142600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa0fc"} 
[2026-07-27 06:40:51] local.INFO: Extracted packet for processing {"connection_id":142600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa0fc"} 
[2026-07-27 06:40:51] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111825352,"longitude_deg":75.8434816,"latitude_deg":11.1825352,"altitude":11,"angle":0,"satellites":44,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa51c8","is_valid_coordinates":true} 
[2026-07-27 06:40:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 06:40:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456988674048001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:40:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":871204051222528,"note":"Value kept but may cause issues"} 
[2026-07-27 06:40:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813848516608,"note":"Value kept but may cause issues"} 
[2026-07-27 06:40:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:40:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785112309000,"timestamp_ms":1785112309000,"timestamp_seconds":1785112309,"priority":1,"record_length":96,"hex_timestamp":"0000019fa0fc2d08"} 
[2026-07-27 06:40:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 06:40:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 06:40:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-27 06:40:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 06:40:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 06:40:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 06:40:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:40:51] local.INFO: Teltonika packet parsed successfully {"connection_id":142600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:40:51] local.INFO: Passing IMEI to GPS processor {"connection_id":142600,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-27 06:40:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":142600,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-27 06:40:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 06:40:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-27 06:40:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-27 06:40:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456988674048001,"66":25375,"32":206,"81":23296,"24":0,"16":871204051222528,"45":3804415813848516608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-27 06:40:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-27 06:40:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-27 06:40:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456988674048001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:40:51] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-27 06:40:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-27 06:40:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":871204051222528,"km_value":871204051222.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:40:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813848516608,"description":"Unknown IO ID 45"} 
[2026-07-27 06:40:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456988674048001,"power":25375,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813848516608}} 
[2026-07-27 06:40:51] local.INFO: DEBUG: GPS processor result {"connection_id":142600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551612,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:40:51] local.INFO: GPS data processed {"connection_id":142600,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:40:51] local.INFO: Acknowledgment sent {"connection_id":142600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:41:10] local.INFO: TCP Data received {"connection_id":142701,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fa11c47c8012d7f980005afd7c0001200062d..."} 
[2026-07-27 06:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa11c47c8012d7f980005afd7c0001200062d..."} 
[2026-07-27 06:41:10] local.INFO: Processing buffer {"connection_id":142701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa11c47c8012d7f980005afd7c0001200062d..."} 
[2026-07-27 06:41:10] local.INFO: Packet analysis {"connection_id":142701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa11c"} 
[2026-07-27 06:41:10] local.INFO: Extracted packet for processing {"connection_id":142701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa11c"} 
[2026-07-27 06:41:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":18,"angle":6,"satellites":45,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 06:41:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989212672001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:41:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:41:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:41:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:41:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785114413000,"timestamp_ms":1785114413000,"timestamp_seconds":1785114413,"priority":1,"record_length":96,"hex_timestamp":"0000019fa11c47c8"} 
[2026-07-27 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-07-27 06:41:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":97,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-07-27 06:41:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1853,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 06:41:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:41:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:41:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:41:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:41:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 06:41:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:41:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:41:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989212672001,"66":25375,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:41:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:41:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:41:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989212672001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:41:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:41:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:41:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:41:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:41:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989212672001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:41:10] local.INFO: DEBUG: GPS processor result {"connection_id":142701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:41:10] local.INFO: GPS data processed {"connection_id":142701,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:41:10] local.INFO: Acknowledgment sent {"connection_id":142701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:41:33] local.INFO: TCP Data received {"connection_id":143683,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:41:33] local.INFO: Processing buffer {"connection_id":143683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:41:33] local.INFO: IMEI packet received {"connection_id":143683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 06:41:33] local.INFO: IMEI acknowledgment sent {"connection_id":143683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 06:41:38] local.INFO: TCP Data received {"connection_id":143683,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:41:38] local.INFO: Processing buffer {"connection_id":143683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:41:38] local.INFO: IMEI packet received {"connection_id":143683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 06:41:38] local.INFO: IMEI acknowledgment sent {"connection_id":143683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 06:41:39] local.INFO: TCP Data received {"connection_id":143683,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fa11c47c8012d7f980005afd7c0001200062d..."} 
[2026-07-27 06:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa11c47c8012d7f980005afd7c0001200062d..."} 
[2026-07-27 06:41:39] local.INFO: Processing buffer {"connection_id":143683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa11c47c8012d7f980005afd7c0001200062d..."} 
[2026-07-27 06:41:39] local.INFO: Packet analysis {"connection_id":143683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa11c"} 
[2026-07-27 06:41:39] local.INFO: Extracted packet for processing {"connection_id":143683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa11c"} 
[2026-07-27 06:41:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":18,"angle":6,"satellites":45,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 06: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-07-27 06:41:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989212672001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:41:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:41:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:41:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:41:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785114413000,"timestamp_ms":1785114413000,"timestamp_seconds":1785114413,"priority":1,"record_length":96,"hex_timestamp":"0000019fa11c47c8"} 
[2026-07-27 06:41:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 06:41:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 06: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":97,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-07-27 06:41:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1853,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 06: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-07-27 06:41:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 06:41:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:41:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:41:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:41:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:41:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 06:41:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:41:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:41:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989212672001,"66":25375,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:41:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:41:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:41:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989212672001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:41:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:41:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:41:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:41:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:41:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989212672001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:41:39] local.INFO: DEBUG: GPS processor result {"connection_id":143683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:41:39] local.INFO: GPS data processed {"connection_id":143683,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:41:39] local.INFO: Acknowledgment sent {"connection_id":143683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:41:45] local.INFO: TCP Data received {"connection_id":142601,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 06:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142601,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 06:41:45] local.INFO: Processing buffer {"connection_id":142601,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 06:41:45] local.INFO: IMEI packet received {"connection_id":142601,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 06:41:45] local.INFO: IMEI acknowledgment sent {"connection_id":142601,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 06:42:10] local.INFO: TCP Data received {"connection_id":143683,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fa11c47c8012d7f980005afd7c0001200062d..."} 
[2026-07-27 06:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa11c47c8012d7f980005afd7c0001200062d..."} 
[2026-07-27 06:42:10] local.INFO: Processing buffer {"connection_id":143683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa11c47c8012d7f980005afd7c0001200062d..."} 
[2026-07-27 06:42:10] local.INFO: Packet analysis {"connection_id":143683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa11c"} 
[2026-07-27 06:42:10] local.INFO: Extracted packet for processing {"connection_id":143683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa11c"} 
[2026-07-27 06:42:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":18,"angle":6,"satellites":45,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 06:42:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989212672001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:42:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:42:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:42:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:42:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785114413000,"timestamp_ms":1785114413000,"timestamp_seconds":1785114413,"priority":1,"record_length":96,"hex_timestamp":"0000019fa11c47c8"} 
[2026-07-27 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-07-27 06:42:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":97,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-07-27 06:42:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1853,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 06:42:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:42:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:42:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:42:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:42:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 06:42:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:42:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:42:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989212672001,"66":25375,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:42:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:42:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:42:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989212672001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:42:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:42:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:42:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:42:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:42:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989212672001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:42:10] local.INFO: DEBUG: GPS processor result {"connection_id":143683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:42:10] local.INFO: GPS data processed {"connection_id":143683,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:42:10] local.INFO: Acknowledgment sent {"connection_id":143683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:42:32] local.INFO: TCP Data received {"connection_id":142702,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:42:32] local.INFO: Processing buffer {"connection_id":142702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:42:32] local.INFO: IMEI packet received {"connection_id":142702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 06:42:32] local.INFO: IMEI acknowledgment sent {"connection_id":142702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 06:42:33] local.INFO: TCP Data received {"connection_id":142702,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:42:33] local.INFO: Processing buffer {"connection_id":142702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:42:33] local.INFO: IMEI packet received {"connection_id":142702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 06:42:33] local.INFO: IMEI acknowledgment sent {"connection_id":142702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 06:42:38] local.INFO: TCP Data received {"connection_id":142702,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:42:38] local.INFO: Processing buffer {"connection_id":142702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:42:38] local.INFO: IMEI packet received {"connection_id":142702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 06:42:38] local.INFO: IMEI acknowledgment sent {"connection_id":142702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 06:42:39] local.INFO: TCP Data received {"connection_id":142702,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fa120df90012d7f980005afd7c0000a000629..."} 
[2026-07-27 06:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142702,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa120df90012d7f980005afd7c0000a000629..."} 
[2026-07-27 06:42:39] local.INFO: Processing buffer {"connection_id":142702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa120df90012d7f980005afd7c0000a000629..."} 
[2026-07-27 06:42:39] local.INFO: Packet analysis {"connection_id":142702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa120"} 
[2026-07-27 06:42:39] local.INFO: Extracted packet for processing {"connection_id":142702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa120"} 
[2026-07-27 06:42:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 06:42:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 06:42:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989289728001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:42:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:42:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:42:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:42:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785114714000,"timestamp_ms":1785114714000,"timestamp_seconds":1785114714,"priority":1,"record_length":96,"hex_timestamp":"0000019fa120df90"} 
[2026-07-27 06:42:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 06:42:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 06: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":31,"data_length":795,"current_offset":136} 
[2026-07-27 06:42: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-07-27 06:42:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 06:42:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 06:42:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:42:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:42:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:42:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:42:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 06:42:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:42:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:42:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989289728001,"66":25321,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:42:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:42:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:42:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989289728001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:42:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:42:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:42:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:42:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:42:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989289728001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:42:39] local.INFO: DEBUG: GPS processor result {"connection_id":142702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:42:39] local.INFO: GPS data processed {"connection_id":142702,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:42:39] local.INFO: Acknowledgment sent {"connection_id":142702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:43:10] local.INFO: TCP Data received {"connection_id":142702,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fa120df90012d7f980005afd7c0000a000629..."} 
[2026-07-27 06:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142702,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa120df90012d7f980005afd7c0000a000629..."} 
[2026-07-27 06:43:10] local.INFO: Processing buffer {"connection_id":142702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa120df90012d7f980005afd7c0000a000629..."} 
[2026-07-27 06:43:10] local.INFO: Packet analysis {"connection_id":142702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa120"} 
[2026-07-27 06:43:10] local.INFO: Extracted packet for processing {"connection_id":142702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa120"} 
[2026-07-27 06:43:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 06:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 06:43:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989289728001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:43:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:43:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:43:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:43:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785114714000,"timestamp_ms":1785114714000,"timestamp_seconds":1785114714,"priority":1,"record_length":96,"hex_timestamp":"0000019fa120df90"} 
[2026-07-27 06:43:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 06:43:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 06: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":31,"data_length":795,"current_offset":136} 
[2026-07-27 06:43: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-07-27 06:43:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 06:43:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 06:43:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:43:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:43:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:43:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:43:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 06:43:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:43:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:43:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989289728001,"66":25321,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:43:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:43:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:43:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989289728001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:43:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:43:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:43:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:43:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:43:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989289728001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:43:10] local.INFO: DEBUG: GPS processor result {"connection_id":142702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:43:10] local.INFO: GPS data processed {"connection_id":142702,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:43:10] local.INFO: Acknowledgment sent {"connection_id":142702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:43:32] local.INFO: TCP Data received {"connection_id":142602,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:43:33] local.INFO: Processing buffer {"connection_id":142602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:43:33] local.INFO: IMEI packet received {"connection_id":142602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 06:43:33] local.INFO: IMEI acknowledgment sent {"connection_id":142602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 06:43:38] local.INFO: TCP Data received {"connection_id":142602,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:43:38] local.INFO: Processing buffer {"connection_id":142602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:43:38] local.INFO: IMEI packet received {"connection_id":142602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 06:43:38] local.INFO: IMEI acknowledgment sent {"connection_id":142602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 06:43:39] local.INFO: TCP Data received {"connection_id":142602,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fa120df90012d7f980005afd7c0000a000629..."} 
[2026-07-27 06:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142602,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa120df90012d7f980005afd7c0000a000629..."} 
[2026-07-27 06:43:39] local.INFO: Processing buffer {"connection_id":142602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa120df90012d7f980005afd7c0000a000629..."} 
[2026-07-27 06:43:39] local.INFO: Packet analysis {"connection_id":142602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa120"} 
[2026-07-27 06:43:39] local.INFO: Extracted packet for processing {"connection_id":142602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa120"} 
[2026-07-27 06:43:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 06: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-07-27 06:43:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989289728001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:43:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:43:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:43:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:43:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785114714000,"timestamp_ms":1785114714000,"timestamp_seconds":1785114714,"priority":1,"record_length":96,"hex_timestamp":"0000019fa120df90"} 
[2026-07-27 06:43:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 06:43:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 06: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":31,"data_length":795,"current_offset":136} 
[2026-07-27 06:43: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-07-27 06: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-07-27 06:43:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 06:43:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:43:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:43:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:43:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:43:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 06:43:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:43:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:43:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989289728001,"66":25321,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:43:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:43:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:43:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989289728001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:43:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:43:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:43:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:43:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:43:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989289728001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:43:39] local.INFO: DEBUG: GPS processor result {"connection_id":142602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:43:39] local.INFO: GPS data processed {"connection_id":142602,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:43:39] local.INFO: Acknowledgment sent {"connection_id":142602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:44:10] local.INFO: TCP Data received {"connection_id":142602,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fa120df90012d7f980005afd7c0000a000629..."} 
[2026-07-27 06:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142602,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa120df90012d7f980005afd7c0000a000629..."} 
[2026-07-27 06:44:10] local.INFO: Processing buffer {"connection_id":142602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa120df90012d7f980005afd7c0000a000629..."} 
[2026-07-27 06:44:10] local.INFO: Packet analysis {"connection_id":142602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa120"} 
[2026-07-27 06:44:10] local.INFO: Extracted packet for processing {"connection_id":142602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa120"} 
[2026-07-27 06:44:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 06:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 06:44:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989289728001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:44:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:44:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:44:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:44:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785114714000,"timestamp_ms":1785114714000,"timestamp_seconds":1785114714,"priority":1,"record_length":96,"hex_timestamp":"0000019fa120df90"} 
[2026-07-27 06:44:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 06:44:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 06:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 06:44: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-07-27 06:44:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 06:44:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 06:44:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:44:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:44:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:44:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:44:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 06:44:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:44:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:44:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989289728001,"66":25321,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:44:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:44:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:44:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989289728001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:44:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:44:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:44:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:44:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:44:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989289728001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:44:10] local.INFO: DEBUG: GPS processor result {"connection_id":142602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:44:10] local.INFO: GPS data processed {"connection_id":142602,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:44:10] local.INFO: Acknowledgment sent {"connection_id":142602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:44:38] local.INFO: TCP Data received {"connection_id":143685,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:44:38] local.INFO: Processing buffer {"connection_id":143685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:44:38] local.INFO: IMEI packet received {"connection_id":143685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 06:44:38] local.INFO: IMEI acknowledgment sent {"connection_id":143685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 06:44:43] local.INFO: TCP Data received {"connection_id":143685,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:44:43] local.INFO: Processing buffer {"connection_id":143685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:44:43] local.INFO: IMEI packet received {"connection_id":143685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 06:44:43] local.INFO: IMEI acknowledgment sent {"connection_id":143685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 06:44:44] local.INFO: TCP Data received {"connection_id":143685,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa120df90012d7f980005afd7c0000a000629..."} 
[2026-07-27 06:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa120df90012d7f980005afd7c0000a000629..."} 
[2026-07-27 06:44:44] local.INFO: Processing buffer {"connection_id":143685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa120df90012d7f980005afd7c0000a000629..."} 
[2026-07-27 06:44:44] local.INFO: Packet analysis {"connection_id":143685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa120"} 
[2026-07-27 06:44:44] local.INFO: Extracted packet for processing {"connection_id":143685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa120"} 
[2026-07-27 06:44:44] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 06:44:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 06:44:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989289728001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:44:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:44:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:44:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:44:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785114714000,"timestamp_ms":1785114714000,"timestamp_seconds":1785114714,"priority":1,"record_length":96,"hex_timestamp":"0000019fa120df90"} 
[2026-07-27 06:44:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 06:44:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 06:44:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 06:44:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 06:44:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 06:44:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 06:44:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:44:44] local.INFO: Teltonika packet parsed successfully {"connection_id":143685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:44:44] local.INFO: Passing IMEI to GPS processor {"connection_id":143685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:44:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":143685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:44:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 06:44:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:44:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:44:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989289728001,"66":25321,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:44:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:44:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:44:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989289728001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:44:44] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:44:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:44:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:44:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:44:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989289728001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:44:44] local.INFO: DEBUG: GPS processor result {"connection_id":143685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:44:44] local.INFO: GPS data processed {"connection_id":143685,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:44:44] local.INFO: Acknowledgment sent {"connection_id":143685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:44:48] local.INFO: TCP Data received {"connection_id":143685,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa120df90012d7f980005afd7c0000a000629..."} 
[2026-07-27 06:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa120df90012d7f980005afd7c0000a000629..."} 
[2026-07-27 06:44:48] local.INFO: Processing buffer {"connection_id":143685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa120df90012d7f980005afd7c0000a000629..."} 
[2026-07-27 06:44:48] local.INFO: Packet analysis {"connection_id":143685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa120"} 
[2026-07-27 06:44:48] local.INFO: Extracted packet for processing {"connection_id":143685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa120"} 
[2026-07-27 06:44:48] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 06:44:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 06:44:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989289728001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:44:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:44:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:44:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:44:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785114714000,"timestamp_ms":1785114714000,"timestamp_seconds":1785114714,"priority":1,"record_length":96,"hex_timestamp":"0000019fa120df90"} 
[2026-07-27 06:44:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 06:44:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 06: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 06:44:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 06:44:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 06:44:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 06:44:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:44:48] local.INFO: Teltonika packet parsed successfully {"connection_id":143685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:44:48] local.INFO: Passing IMEI to GPS processor {"connection_id":143685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:44:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":143685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:44:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 06:44:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:44:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:44:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989289728001,"66":25321,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:44:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:44:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:44:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989289728001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:44:48] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:44:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:44:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:44:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:44:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989289728001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:44:48] local.INFO: DEBUG: GPS processor result {"connection_id":143685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:44:48] local.INFO: GPS data processed {"connection_id":143685,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:44:48] local.INFO: Acknowledgment sent {"connection_id":143685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:45:32] local.INFO: TCP Data received {"connection_id":142704,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:45:33] local.INFO: Processing buffer {"connection_id":142704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:45:33] local.INFO: IMEI packet received {"connection_id":142704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 06:45:33] local.INFO: IMEI acknowledgment sent {"connection_id":142704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 06:45:38] local.INFO: TCP Data received {"connection_id":142704,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:45:38] local.INFO: Processing buffer {"connection_id":142704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:45:38] local.INFO: IMEI packet received {"connection_id":142704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 06:45:38] local.INFO: IMEI acknowledgment sent {"connection_id":142704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 06:45:38] local.INFO: TCP Data received {"connection_id":142704,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa120df90012d7f980005afd7c0000a000629..."} 
[2026-07-27 06:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142704,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa120df90012d7f980005afd7c0000a000629..."} 
[2026-07-27 06:45:38] local.INFO: Processing buffer {"connection_id":142704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa120df90012d7f980005afd7c0000a000629..."} 
[2026-07-27 06:45:38] local.INFO: Packet analysis {"connection_id":142704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa120"} 
[2026-07-27 06:45:38] local.INFO: Extracted packet for processing {"connection_id":142704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa120"} 
[2026-07-27 06:45:38] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 06:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 06:45:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989289728001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:45:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:45:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:45:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:45:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785114714000,"timestamp_ms":1785114714000,"timestamp_seconds":1785114714,"priority":1,"record_length":96,"hex_timestamp":"0000019fa120df90"} 
[2026-07-27 06:45:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 06:45:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 06:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 06:45:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 06:45:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 06:45:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 06:45:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:45:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:45:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:45:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:45:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 06:45:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:45:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:45:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989289728001,"66":25321,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:45:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:45:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:45:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989289728001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:45:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:45:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:45:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:45:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:45:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989289728001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:45:38] local.INFO: DEBUG: GPS processor result {"connection_id":142704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:45:38] local.INFO: GPS data processed {"connection_id":142704,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:45:38] local.INFO: Acknowledgment sent {"connection_id":142704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:46:09] local.INFO: TCP Data received {"connection_id":142704,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa120df90012d7f980005afd7c0000a000629..."} 
[2026-07-27 06:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142704,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa120df90012d7f980005afd7c0000a000629..."} 
[2026-07-27 06:46:09] local.INFO: Processing buffer {"connection_id":142704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa120df90012d7f980005afd7c0000a000629..."} 
[2026-07-27 06:46:09] local.INFO: Packet analysis {"connection_id":142704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa120"} 
[2026-07-27 06:46:09] local.INFO: Extracted packet for processing {"connection_id":142704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa120"} 
[2026-07-27 06:46:09] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 06:46:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 06:46:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989289728001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:46:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:46:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:46:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:46:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785114714000,"timestamp_ms":1785114714000,"timestamp_seconds":1785114714,"priority":1,"record_length":96,"hex_timestamp":"0000019fa120df90"} 
[2026-07-27 06:46:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 06:46:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 06:46:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 06:46:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 06:46:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 06:46:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 06:46:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:46:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:46:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:46:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:46:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 06:46:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:46:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:46:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989289728001,"66":25321,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:46:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:46:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:46:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989289728001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:46:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:46:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:46:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:46:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:46:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989289728001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:46:09] local.INFO: DEBUG: GPS processor result {"connection_id":142704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:46:09] local.INFO: GPS data processed {"connection_id":142704,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:46:09] local.INFO: Acknowledgment sent {"connection_id":142704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:46:33] local.INFO: TCP Data received {"connection_id":143686,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:46:33] local.INFO: Processing buffer {"connection_id":143686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:46:33] local.INFO: IMEI packet received {"connection_id":143686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 06:46:33] local.INFO: IMEI acknowledgment sent {"connection_id":143686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 06:46:38] local.INFO: TCP Data received {"connection_id":143686,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:46:38] local.INFO: Processing buffer {"connection_id":143686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:46:38] local.INFO: IMEI packet received {"connection_id":143686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 06:46:38] local.INFO: IMEI acknowledgment sent {"connection_id":143686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 06:46:38] local.INFO: TCP Data received {"connection_id":143686,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa120df90012d7f980005afd7c0000a000629..."} 
[2026-07-27 06:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa120df90012d7f980005afd7c0000a000629..."} 
[2026-07-27 06:46:38] local.INFO: Processing buffer {"connection_id":143686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa120df90012d7f980005afd7c0000a000629..."} 
[2026-07-27 06:46:38] local.INFO: Packet analysis {"connection_id":143686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa120"} 
[2026-07-27 06:46:38] local.INFO: Extracted packet for processing {"connection_id":143686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa120"} 
[2026-07-27 06:46:38] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 06:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 06:46:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989289728001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:46:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:46:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:46:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:46:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785114714000,"timestamp_ms":1785114714000,"timestamp_seconds":1785114714,"priority":1,"record_length":96,"hex_timestamp":"0000019fa120df90"} 
[2026-07-27 06:46:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 06:46:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 06:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 06:46:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 06:46:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 06:46:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 06:46:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:46:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:46:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:46:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:46:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 06:46:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:46:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:46:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989289728001,"66":25321,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:46:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:46:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:46:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989289728001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:46:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:46:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:46:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:46:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:46:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989289728001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:46:38] local.INFO: DEBUG: GPS processor result {"connection_id":143686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:46:38] local.INFO: GPS data processed {"connection_id":143686,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:46:38] local.INFO: Acknowledgment sent {"connection_id":143686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:47:09] local.INFO: TCP Data received {"connection_id":143686,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa120df90012d7f980005afd7c0000a000629..."} 
[2026-07-27 06:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa120df90012d7f980005afd7c0000a000629..."} 
[2026-07-27 06:47:09] local.INFO: Processing buffer {"connection_id":143686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa120df90012d7f980005afd7c0000a000629..."} 
[2026-07-27 06:47:09] local.INFO: Packet analysis {"connection_id":143686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa120"} 
[2026-07-27 06:47:09] local.INFO: Extracted packet for processing {"connection_id":143686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa120"} 
[2026-07-27 06:47:09] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 06:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 06:47:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989289728001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:47:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:47:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:47:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:47:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785114714000,"timestamp_ms":1785114714000,"timestamp_seconds":1785114714,"priority":1,"record_length":96,"hex_timestamp":"0000019fa120df90"} 
[2026-07-27 06:47:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 06:47:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 06:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 06:47:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 06:47:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 06:47:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 06:47:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:47:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:47:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:47:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:47:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 06:47:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:47:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:47:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989289728001,"66":25321,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:47:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:47:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:47:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989289728001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:47:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:47:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:47:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:47:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:47:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989289728001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:47:09] local.INFO: DEBUG: GPS processor result {"connection_id":143686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:47:09] local.INFO: GPS data processed {"connection_id":143686,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:47:09] local.INFO: Acknowledgment sent {"connection_id":143686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:47:15] local.INFO: TCP Data received {"connection_id":143687,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 06:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143687,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 06:47:15] local.INFO: Processing buffer {"connection_id":143687,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 06:47:15] local.INFO: IMEI packet received {"connection_id":143687,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 06:47:15] local.INFO: IMEI acknowledgment sent {"connection_id":143687,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 06:47:33] local.INFO: TCP Data received {"connection_id":142603,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:47:33] local.INFO: Processing buffer {"connection_id":142603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:47:33] local.INFO: IMEI packet received {"connection_id":142603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 06:47:33] local.INFO: IMEI acknowledgment sent {"connection_id":142603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 06:47:33] local.INFO: TCP Data received {"connection_id":142603,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:47:33] local.INFO: Processing buffer {"connection_id":142603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:47:33] local.INFO: IMEI packet received {"connection_id":142603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 06:47:33] local.INFO: IMEI acknowledgment sent {"connection_id":142603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 06:47:38] local.INFO: TCP Data received {"connection_id":142603,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:47:38] local.INFO: Processing buffer {"connection_id":142603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:47:38] local.INFO: IMEI packet received {"connection_id":142603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 06:47:38] local.INFO: IMEI acknowledgment sent {"connection_id":142603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 06:47:39] local.INFO: TCP Data received {"connection_id":142603,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1257758012d7f980005afd7c00011000629..."} 
[2026-07-27 06:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1257758012d7f980005afd7c00011000629..."} 
[2026-07-27 06:47:39] local.INFO: Processing buffer {"connection_id":142603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1257758012d7f980005afd7c00011000629..."} 
[2026-07-27 06:47:39] local.INFO: Packet analysis {"connection_id":142603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa125"} 
[2026-07-27 06:47:39] local.INFO: Extracted packet for processing {"connection_id":142603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa125"} 
[2026-07-27 06:47:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 06: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-07-27 06:47:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989366784001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:47:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:47:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:47:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:47:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785115015000,"timestamp_ms":1785115015000,"timestamp_seconds":1785115015,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1257758"} 
[2026-07-27 06:47:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 06:47:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 06:47:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 06:47:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 06: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-07-27 06:47:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 06:47:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:47:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:47:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:47:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:47:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 06:47:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:47:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:47:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989366784001,"66":25321,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:47:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:47:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:47:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989366784001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:47:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:47:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:47:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:47:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:47:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989366784001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:47:39] local.INFO: DEBUG: GPS processor result {"connection_id":142603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:47:39] local.INFO: GPS data processed {"connection_id":142603,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:47:39] local.INFO: Acknowledgment sent {"connection_id":142603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:47:45] local.INFO: TCP Data received {"connection_id":143688,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 06:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143688,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 06:47:45] local.INFO: Processing buffer {"connection_id":143688,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 06:47:45] local.INFO: IMEI packet received {"connection_id":143688,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 06:47:45] local.INFO: IMEI acknowledgment sent {"connection_id":143688,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 06:48:10] local.INFO: TCP Data received {"connection_id":142603,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1257758012d7f980005afd7c00011000629..."} 
[2026-07-27 06:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1257758012d7f980005afd7c00011000629..."} 
[2026-07-27 06:48:10] local.INFO: Processing buffer {"connection_id":142603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1257758012d7f980005afd7c00011000629..."} 
[2026-07-27 06:48:10] local.INFO: Packet analysis {"connection_id":142603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa125"} 
[2026-07-27 06:48:10] local.INFO: Extracted packet for processing {"connection_id":142603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa125"} 
[2026-07-27 06:48:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 06:48:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989366784001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:48:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:48:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:48:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:48:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785115015000,"timestamp_ms":1785115015000,"timestamp_seconds":1785115015,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1257758"} 
[2026-07-27 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-07-27 06:48:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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-07-27 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-07-27 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-07-27 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-07-27 06:48:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:48:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:48:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:48:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:48:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 06:48:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:48:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:48:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989366784001,"66":25321,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:48:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:48:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:48:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989366784001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:48:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:48:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:48:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:48:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:48:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989366784001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:48:10] local.INFO: DEBUG: GPS processor result {"connection_id":142603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:48:10] local.INFO: GPS data processed {"connection_id":142603,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:48:10] local.INFO: Acknowledgment sent {"connection_id":142603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:48:33] local.INFO: TCP Data received {"connection_id":145004,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:48:33] local.INFO: Processing buffer {"connection_id":145004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:48:33] local.INFO: IMEI packet received {"connection_id":145004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 06:48:33] local.INFO: IMEI acknowledgment sent {"connection_id":145004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 06:48:38] local.INFO: TCP Data received {"connection_id":145004,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:48:38] local.INFO: Processing buffer {"connection_id":145004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:48:38] local.INFO: IMEI packet received {"connection_id":145004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 06:48:38] local.INFO: IMEI acknowledgment sent {"connection_id":145004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 06:48:39] local.INFO: TCP Data received {"connection_id":145004,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1257758012d7f980005afd7c00011000629..."} 
[2026-07-27 06:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1257758012d7f980005afd7c00011000629..."} 
[2026-07-27 06:48:39] local.INFO: Processing buffer {"connection_id":145004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1257758012d7f980005afd7c00011000629..."} 
[2026-07-27 06:48:39] local.INFO: Packet analysis {"connection_id":145004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa125"} 
[2026-07-27 06:48:39] local.INFO: Extracted packet for processing {"connection_id":145004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa125"} 
[2026-07-27 06:48:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 06:48:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 06:48:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989366784001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:48:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:48:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:48:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:48:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785115015000,"timestamp_ms":1785115015000,"timestamp_seconds":1785115015,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1257758"} 
[2026-07-27 06:48:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 06:48:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 06:48:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 06:48:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 06:48:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 06:48:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 06:48:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:48:39] local.INFO: Teltonika packet parsed successfully {"connection_id":145004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:48:39] local.INFO: Passing IMEI to GPS processor {"connection_id":145004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:48:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":145004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:48:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 06:48:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:48:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:48:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989366784001,"66":25321,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:48:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:48:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:48:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989366784001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:48:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:48:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:48:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:48:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:48:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989366784001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:48:39] local.INFO: DEBUG: GPS processor result {"connection_id":145004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:48:39] local.INFO: GPS data processed {"connection_id":145004,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:48:39] local.INFO: Acknowledgment sent {"connection_id":145004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:49:10] local.INFO: TCP Data received {"connection_id":145004,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1257758012d7f980005afd7c00011000629..."} 
[2026-07-27 06:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1257758012d7f980005afd7c00011000629..."} 
[2026-07-27 06:49:10] local.INFO: Processing buffer {"connection_id":145004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1257758012d7f980005afd7c00011000629..."} 
[2026-07-27 06:49:10] local.INFO: Packet analysis {"connection_id":145004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa125"} 
[2026-07-27 06:49:10] local.INFO: Extracted packet for processing {"connection_id":145004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa125"} 
[2026-07-27 06:49:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 06:49:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 06:49:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989366784001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:49:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:49:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:49:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:49:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785115015000,"timestamp_ms":1785115015000,"timestamp_seconds":1785115015,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1257758"} 
[2026-07-27 06:49:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 06:49:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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-07-27 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-07-27 06:49:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 06:49:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 06:49:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:49:10] local.INFO: Teltonika packet parsed successfully {"connection_id":145004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:49:10] local.INFO: Passing IMEI to GPS processor {"connection_id":145004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:49:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":145004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:49:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 06:49:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:49:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:49:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989366784001,"66":25321,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:49:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:49:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:49:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989366784001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:49:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:49:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:49:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:49:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:49:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989366784001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:49:10] local.INFO: DEBUG: GPS processor result {"connection_id":145004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:49:10] local.INFO: GPS data processed {"connection_id":145004,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:49:10] local.INFO: Acknowledgment sent {"connection_id":145004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:49:25] local.INFO: TCP Data received {"connection_id":142604,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 06:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142604,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 06:49:25] local.INFO: Processing buffer {"connection_id":142604,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 06:49:25] local.INFO: IMEI packet received {"connection_id":142604,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 06:49:25] local.INFO: IMEI acknowledgment sent {"connection_id":142604,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 06:49:26] local.INFO: TCP Data received {"connection_id":142604,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 06:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142604,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 06:49:26] local.INFO: Processing buffer {"connection_id":142604,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 06:49:26] local.INFO: IMEI packet received {"connection_id":142604,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 06:49:26] local.INFO: IMEI acknowledgment sent {"connection_id":142604,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 06:49:30] local.INFO: TCP Data received {"connection_id":142604,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 06:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142604,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 06:49:30] local.INFO: Processing buffer {"connection_id":142604,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 06:49:30] local.INFO: IMEI packet received {"connection_id":142604,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 06:49:30] local.INFO: IMEI acknowledgment sent {"connection_id":142604,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 06:49:31] local.INFO: TCP Data received {"connection_id":142604,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-07-27 06:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142604,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-07-27 06:49:31] local.INFO: Processing buffer {"connection_id":142604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-07-27 06:49:31] local.INFO: Packet analysis {"connection_id":142604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-27 06:49:31] local.INFO: Extracted packet for processing {"connection_id":142604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-27 06:49:31] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-27 06:49:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 06:49:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111396814409695232,"note":"Value kept but may cause issues"} 
[2026-07-27 06:49:31] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,115,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-27 06:49:31] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":47000,"timestamp_seconds":47,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 06:49:31] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 06:49:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-27 06:49:31] local.INFO: Teltonika packet parsed successfully {"connection_id":142604,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:49:31] local.INFO: Passing IMEI to GPS processor {"connection_id":142604,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-27 06:49:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":142604,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-27 06:49:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-27 06:49:31] local.WARNING: DEBUG: No valid data to process  
[2026-07-27 06:49:31] local.INFO: DEBUG: GPS processor result {"connection_id":142604,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-27 06:49:31] local.ERROR: GPS data processing failed {"connection_id":142604,"error":"No valid data to process"} 
[2026-07-27 06:49:31] local.INFO: Acknowledgment sent {"connection_id":142604,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-27 06:49:32] local.INFO: TCP Data received {"connection_id":145005,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:49:32] local.INFO: Processing buffer {"connection_id":145005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:49:32] local.INFO: IMEI packet received {"connection_id":145005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 06:49:32] local.INFO: IMEI acknowledgment sent {"connection_id":145005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 06:49:38] local.INFO: TCP Data received {"connection_id":145005,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:49:38] local.INFO: Processing buffer {"connection_id":145005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:49:38] local.INFO: IMEI packet received {"connection_id":145005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 06:49:38] local.INFO: IMEI acknowledgment sent {"connection_id":145005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 06:49:39] local.INFO: TCP Data received {"connection_id":145005,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1257758012d7f980005afd7c00011000629..."} 
[2026-07-27 06:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145005,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1257758012d7f980005afd7c00011000629..."} 
[2026-07-27 06:49:39] local.INFO: Processing buffer {"connection_id":145005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1257758012d7f980005afd7c00011000629..."} 
[2026-07-27 06:49:39] local.INFO: Packet analysis {"connection_id":145005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa125"} 
[2026-07-27 06:49:39] local.INFO: Extracted packet for processing {"connection_id":145005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa125"} 
[2026-07-27 06:49:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 06:49:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 06:49:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989366784001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:49:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:49:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:49:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:49:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785115015000,"timestamp_ms":1785115015000,"timestamp_seconds":1785115015,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1257758"} 
[2026-07-27 06:49:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 06:49:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 06: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 06:49:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 06:49:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 06:49:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 06:49:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:49:39] local.INFO: Teltonika packet parsed successfully {"connection_id":145005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:49:39] local.INFO: Passing IMEI to GPS processor {"connection_id":145005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:49:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":145005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:49:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 06:49:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:49:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:49:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989366784001,"66":25321,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:49:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:49:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:49:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989366784001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:49:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:49:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:49:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:49:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:49:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989366784001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:49:39] local.INFO: DEBUG: GPS processor result {"connection_id":145005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:49:39] local.INFO: GPS data processed {"connection_id":145005,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:49:39] local.INFO: Acknowledgment sent {"connection_id":145005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:50:02] local.INFO: TCP Data received {"connection_id":142604,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-07-27 06:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142604,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-07-27 06:50:02] local.INFO: Processing buffer {"connection_id":142604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-07-27 06:50:02] local.INFO: Packet analysis {"connection_id":142604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-27 06:50:02] local.INFO: Extracted packet for processing {"connection_id":142604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-27 06:50:02] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-27 06:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 06:50:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111396814409695232,"note":"Value kept but may cause issues"} 
[2026-07-27 06:50:02] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,115,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-27 06:50:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":68000,"timestamp_seconds":68,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 06:50:02] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 06:50:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-27 06:50:02] local.INFO: Teltonika packet parsed successfully {"connection_id":142604,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:50:02] local.INFO: Passing IMEI to GPS processor {"connection_id":142604,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-27 06:50:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":142604,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-27 06:50:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-27 06:50:02] local.WARNING: DEBUG: No valid data to process  
[2026-07-27 06:50:02] local.INFO: DEBUG: GPS processor result {"connection_id":142604,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-27 06:50:02] local.ERROR: GPS data processing failed {"connection_id":142604,"error":"No valid data to process"} 
[2026-07-27 06:50:02] local.INFO: Acknowledgment sent {"connection_id":142604,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-27 06:50:10] local.INFO: TCP Data received {"connection_id":145005,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1257758012d7f980005afd7c00011000629..."} 
[2026-07-27 06:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145005,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1257758012d7f980005afd7c00011000629..."} 
[2026-07-27 06:50:10] local.INFO: Processing buffer {"connection_id":145005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1257758012d7f980005afd7c00011000629..."} 
[2026-07-27 06:50:10] local.INFO: Packet analysis {"connection_id":145005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa125"} 
[2026-07-27 06:50:10] local.INFO: Extracted packet for processing {"connection_id":145005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa125"} 
[2026-07-27 06:50:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 06:50:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 06:50:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989366784001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:50:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:50:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:50:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:50:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785115015000,"timestamp_ms":1785115015000,"timestamp_seconds":1785115015,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1257758"} 
[2026-07-27 06:50:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 06:50:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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-07-27 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-07-27 06:50:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 06:50:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 06:50:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:50:10] local.INFO: Teltonika packet parsed successfully {"connection_id":145005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:50:10] local.INFO: Passing IMEI to GPS processor {"connection_id":145005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:50:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":145005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06: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-07-27 06:50:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:50:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:50:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989366784001,"66":25321,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:50:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:50:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:50:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989366784001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:50:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:50:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:50:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:50:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:50:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989366784001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:50:10] local.INFO: DEBUG: GPS processor result {"connection_id":145005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:50:10] local.INFO: GPS data processed {"connection_id":145005,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:50:10] local.INFO: Acknowledgment sent {"connection_id":145005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:50:33] local.INFO: TCP Data received {"connection_id":142604,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019fa12826d80100000000000000000000000000..."} 
[2026-07-27 06:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142604,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa12826d80100000000000000000000000000..."} 
[2026-07-27 06:50:33] local.INFO: Processing buffer {"connection_id":142604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa12826d80100000000000000000000000000..."} 
[2026-07-27 06:50:33] local.INFO: Packet analysis {"connection_id":142604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa128"} 
[2026-07-27 06:50:33] local.INFO: Extracted packet for processing {"connection_id":142604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa128"} 
[2026-07-27 06:50:33] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-27 06:50:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 06:50:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111396814409695232,"note":"Value kept but may cause issues"} 
[2026-07-27 06:50:33] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,115,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-27 06:50:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785115191000,"timestamp_ms":1785115191000,"timestamp_seconds":1785115191,"priority":1,"record_length":96,"hex_timestamp":"0000019fa12826d8"} 
[2026-07-27 06:50:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 06:50:33] 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-07-27 06:50:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":43,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-07-27 06:50:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2042,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 06:50:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 06:50:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 06:50:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:50:33] local.INFO: Teltonika packet parsed successfully {"connection_id":142604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:50:33] local.INFO: Passing IMEI to GPS processor {"connection_id":142604,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 06:50:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":142604,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 06:50:33] 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-07-27 06:50:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 06:50:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 06:50:33] local.INFO: DEBUG: GPS processor result {"connection_id":142604,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-27 06:50:33] local.INFO: GPS data processed {"connection_id":142604,"processed":0,"errors":0,"total":1} 
[2026-07-27 06:50:33] local.INFO: Acknowledgment sent {"connection_id":142604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:50:38] local.INFO: TCP Data received {"connection_id":145006,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:50:38] local.INFO: Processing buffer {"connection_id":145006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:50:38] local.INFO: IMEI packet received {"connection_id":145006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 06:50:38] local.INFO: IMEI acknowledgment sent {"connection_id":145006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 06:50:43] local.INFO: TCP Data received {"connection_id":145006,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:50:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:50:43] local.INFO: Processing buffer {"connection_id":145006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:50:43] local.INFO: IMEI packet received {"connection_id":145006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 06:50:43] local.INFO: IMEI acknowledgment sent {"connection_id":145006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 06:50:44] local.INFO: TCP Data received {"connection_id":145006,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1257758012d7f980005afd7c00011000629..."} 
[2026-07-27 06:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1257758012d7f980005afd7c00011000629..."} 
[2026-07-27 06:50:44] local.INFO: Processing buffer {"connection_id":145006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1257758012d7f980005afd7c00011000629..."} 
[2026-07-27 06:50:44] local.INFO: Packet analysis {"connection_id":145006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa125"} 
[2026-07-27 06:50:44] local.INFO: Extracted packet for processing {"connection_id":145006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa125"} 
[2026-07-27 06:50:44] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 06: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-07-27 06:50:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989366784001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:50:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:50:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:50:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:50:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785115015000,"timestamp_ms":1785115015000,"timestamp_seconds":1785115015,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1257758"} 
[2026-07-27 06:50:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 06:50:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 06: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 06:50: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-07-27 06: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-07-27 06:50:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 06:50:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:50:44] local.INFO: Teltonika packet parsed successfully {"connection_id":145006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:50:44] local.INFO: Passing IMEI to GPS processor {"connection_id":145006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:50:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":145006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:50:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 06:50:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:50:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:50:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989366784001,"66":25321,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:50:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:50:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:50:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989366784001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:50:44] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:50:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:50:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:50:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:50:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989366784001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:50:44] local.INFO: DEBUG: GPS processor result {"connection_id":145006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:50:44] local.INFO: GPS data processed {"connection_id":145006,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:50:44] local.INFO: Acknowledgment sent {"connection_id":145006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:50:48] local.INFO: TCP Data received {"connection_id":145006,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1257758012d7f980005afd7c00011000629..."} 
[2026-07-27 06:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1257758012d7f980005afd7c00011000629..."} 
[2026-07-27 06:50:48] local.INFO: Processing buffer {"connection_id":145006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1257758012d7f980005afd7c00011000629..."} 
[2026-07-27 06:50:48] local.INFO: Packet analysis {"connection_id":145006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa125"} 
[2026-07-27 06:50:48] local.INFO: Extracted packet for processing {"connection_id":145006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa125"} 
[2026-07-27 06:50:48] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 06: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-07-27 06:50:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989366784001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:50:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:50:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:50:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:50:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785115015000,"timestamp_ms":1785115015000,"timestamp_seconds":1785115015,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1257758"} 
[2026-07-27 06:50:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 06:50:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 06: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 06:50:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 06: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-07-27 06:50:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 06:50:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:50:48] local.INFO: Teltonika packet parsed successfully {"connection_id":145006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:50:48] local.INFO: Passing IMEI to GPS processor {"connection_id":145006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:50:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":145006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:50:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 06:50:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:50:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:50:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989366784001,"66":25321,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:50:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:50:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:50:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989366784001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:50:48] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:50:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:50:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:50:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:50:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989366784001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:50:48] local.INFO: DEBUG: GPS processor result {"connection_id":145006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:50:48] local.INFO: GPS data processed {"connection_id":145006,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:50:48] local.INFO: Acknowledgment sent {"connection_id":145006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:51:04] local.INFO: TCP Data received {"connection_id":142604,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019fa12826d80100000000000000000000000000..."} 
[2026-07-27 06:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142604,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa12826d80100000000000000000000000000..."} 
[2026-07-27 06:51:04] local.INFO: Processing buffer {"connection_id":142604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa12826d80100000000000000000000000000..."} 
[2026-07-27 06:51:04] local.INFO: Packet analysis {"connection_id":142604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa128"} 
[2026-07-27 06:51:04] local.INFO: Extracted packet for processing {"connection_id":142604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa128"} 
[2026-07-27 06:51:04] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-27 06:51:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 06:51:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111396814409695232,"note":"Value kept but may cause issues"} 
[2026-07-27 06:51:04] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,115,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-27 06:51:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785115191000,"timestamp_ms":1785115191000,"timestamp_seconds":1785115191,"priority":1,"record_length":96,"hex_timestamp":"0000019fa12826d8"} 
[2026-07-27 06:51:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 06:51:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":768,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 06:51:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-27 06:51:04] 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-07-27 06:51:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 06:51:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 06:51:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:51:04] local.INFO: Teltonika packet parsed successfully {"connection_id":142604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:51:04] local.INFO: Passing IMEI to GPS processor {"connection_id":142604,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 06:51:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":142604,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 06:51:04] 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-07-27 06:51:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 06:51:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 06:51:04] local.INFO: DEBUG: GPS processor result {"connection_id":142604,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-27 06:51:04] local.INFO: GPS data processed {"connection_id":142604,"processed":0,"errors":0,"total":1} 
[2026-07-27 06:51:04] local.INFO: Acknowledgment sent {"connection_id":142604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:51:33] local.INFO: TCP Data received {"connection_id":142605,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:51:33] local.INFO: Processing buffer {"connection_id":142605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:51:33] local.INFO: IMEI packet received {"connection_id":142605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 06:51:33] local.INFO: IMEI acknowledgment sent {"connection_id":142605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 06:51:35] local.INFO: TCP Data received {"connection_id":142604,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019fa129a1c0012d7e37c005d35988000c005f10..."} 
[2026-07-27 06:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142604,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa129a1c0012d7e37c005d35988000c005f10..."} 
[2026-07-27 06:51:35] local.INFO: Processing buffer {"connection_id":142604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa129a1c0012d7e37c005d35988000c005f10..."} 
[2026-07-27 06:51:35] local.INFO: Packet analysis {"connection_id":142604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa129"} 
[2026-07-27 06:51:35] local.INFO: Extracted packet for processing {"connection_id":142604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa129"} 
[2026-07-27 06:51:35] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97737096,"longitude_deg":76.3246528,"latitude_deg":9.7737096,"altitude":12,"angle":95,"satellites":16,"speed":4,"hex_longitude":"2d7e37c0","hex_latitude":"05d35988","is_valid_coordinates":true} 
[2026-07-27 06: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-07-27 06:51:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989512960001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:51:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111396973323485184,"note":"Value kept but may cause issues"} 
[2026-07-27 06:51:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094597260030363648,"note":"Value kept but may cause issues"} 
[2026-07-27 06:51:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:51:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785115288000,"timestamp_ms":1785115288000,"timestamp_seconds":1785115288,"priority":1,"record_length":96,"hex_timestamp":"0000019fa129a1c0"} 
[2026-07-27 06:51:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 06:51:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3328,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 06: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":44,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-27 06:51:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1894,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 06: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-07-27 06:51:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 06:51:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:51:35] local.INFO: Teltonika packet parsed successfully {"connection_id":142604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:51:35] local.INFO: Passing IMEI to GPS processor {"connection_id":142604,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 06:51:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":142604,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 06:51:35] 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-07-27 06:51:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 06:51:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 06:51:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989512960001,"66":11471,"110":206,"85":15104,"24":4,"16":111396973323485184,"45":9094597260030363648},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-07-27 06:51:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 06:51:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 06:51:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989512960001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:51:35] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-27 06:51:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 06:51:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111396973323485184,"km_value":111396973323485.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:51:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094597260030363648,"description":"Unknown IO ID 45"} 
[2026-07-27 06:51:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989512960001,"power":11471,"unknown_110":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":9094597260030363648}} 
[2026-07-27 06:51:35] local.INFO: DEBUG: GPS processor result {"connection_id":142604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551634,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:51:35] local.INFO: GPS data processed {"connection_id":142604,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:51:35] local.INFO: Acknowledgment sent {"connection_id":142604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:51:38] local.INFO: TCP Data received {"connection_id":142605,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:51:38] local.INFO: Processing buffer {"connection_id":142605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:51:38] local.INFO: IMEI packet received {"connection_id":142605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 06:51:38] local.INFO: IMEI acknowledgment sent {"connection_id":142605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 06:51:39] local.INFO: TCP Data received {"connection_id":142605,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1257758012d7f980005afd7c00011000629..."} 
[2026-07-27 06:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1257758012d7f980005afd7c00011000629..."} 
[2026-07-27 06:51:39] local.INFO: Processing buffer {"connection_id":142605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1257758012d7f980005afd7c00011000629..."} 
[2026-07-27 06:51:39] local.INFO: Packet analysis {"connection_id":142605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa125"} 
[2026-07-27 06:51:39] local.INFO: Extracted packet for processing {"connection_id":142605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa125"} 
[2026-07-27 06:51:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 06:51:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 06:51:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989366784001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:51:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:51:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:51:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:51:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785115015000,"timestamp_ms":1785115015000,"timestamp_seconds":1785115015,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1257758"} 
[2026-07-27 06:51:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 06:51:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 06: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 06:51:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 06:51:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 06:51:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 06:51:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:51:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:51:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:51:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:51:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 06:51:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:51:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:51:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989366784001,"66":25321,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:51:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:51:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:51:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989366784001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:51:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:51:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:51:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:51:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:51:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989366784001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:51:39] local.INFO: DEBUG: GPS processor result {"connection_id":142605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:51:39] local.INFO: GPS data processed {"connection_id":142605,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:51:39] local.INFO: Acknowledgment sent {"connection_id":142605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:52:10] local.INFO: TCP Data received {"connection_id":142605,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1257758012d7f980005afd7c00011000629..."} 
[2026-07-27 06:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1257758012d7f980005afd7c00011000629..."} 
[2026-07-27 06:52:10] local.INFO: Processing buffer {"connection_id":142605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1257758012d7f980005afd7c00011000629..."} 
[2026-07-27 06:52:10] local.INFO: Packet analysis {"connection_id":142605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa125"} 
[2026-07-27 06:52:10] local.INFO: Extracted packet for processing {"connection_id":142605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa125"} 
[2026-07-27 06:52:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 06:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 06:52:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989366784001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:52:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:52:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:52:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:52:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785115015000,"timestamp_ms":1785115015000,"timestamp_seconds":1785115015,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1257758"} 
[2026-07-27 06:52:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 06:52:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":233,"data_length":795,"current_offset":136} 
[2026-07-27 06:52:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 06:52:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 06:52:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 06:52:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:52:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:52:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:52:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:52:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 06:52:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:52:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:52:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989366784001,"66":25321,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:52:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:52:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:52:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989366784001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:52:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:52:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:52:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:52:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:52:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989366784001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:52:10] local.INFO: DEBUG: GPS processor result {"connection_id":142605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:52:10] local.INFO: GPS data processed {"connection_id":142605,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:52:10] local.INFO: Acknowledgment sent {"connection_id":142605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:52:33] local.INFO: TCP Data received {"connection_id":142708,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:52:33] local.INFO: Processing buffer {"connection_id":142708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:52:33] local.INFO: IMEI packet received {"connection_id":142708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 06:52:33] local.INFO: IMEI acknowledgment sent {"connection_id":142708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 06:52:34] local.INFO: TCP Data received {"connection_id":142708,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:52:34] local.INFO: Processing buffer {"connection_id":142708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:52:34] local.INFO: IMEI packet received {"connection_id":142708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 06:52:34] local.INFO: IMEI acknowledgment sent {"connection_id":142708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 06:52:38] local.INFO: TCP Data received {"connection_id":142708,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:52:38] local.INFO: Processing buffer {"connection_id":142708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:52:38] local.INFO: IMEI packet received {"connection_id":142708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 06:52:38] local.INFO: IMEI acknowledgment sent {"connection_id":142708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 06:52:39] local.INFO: TCP Data received {"connection_id":142708,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fa12a0f20012d7f980005afd7c0000f00062b..."} 
[2026-07-27 06:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa12a0f20012d7f980005afd7c0000f00062b..."} 
[2026-07-27 06:52:39] local.INFO: Processing buffer {"connection_id":142708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa12a0f20012d7f980005afd7c0000f00062b..."} 
[2026-07-27 06:52:39] local.INFO: Packet analysis {"connection_id":142708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa12a"} 
[2026-07-27 06:52:39] local.INFO: Extracted packet for processing {"connection_id":142708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa12a"} 
[2026-07-27 06:52:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":15,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 06:52:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 06:52:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989443840001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:52:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:52:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:52:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:52:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785115316000,"timestamp_ms":1785115316000,"timestamp_seconds":1785115316,"priority":1,"record_length":96,"hex_timestamp":"0000019fa12a0f20"} 
[2026-07-27 06:52:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 06:52:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 06: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 06:52:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 06:52:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 06:52:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 06:52:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:52:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:52:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:52:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:52:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 06:52:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:52:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:52:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989443840001,"66":25343,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:52:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:52:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:52:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989443840001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:52:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:52:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:52:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:52:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:52:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989443840001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:52:39] local.INFO: DEBUG: GPS processor result {"connection_id":142708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:52:39] local.INFO: GPS data processed {"connection_id":142708,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:52:39] local.INFO: Acknowledgment sent {"connection_id":142708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:53:10] local.INFO: TCP Data received {"connection_id":142708,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fa12a0f20012d7f980005afd7c0000f00062b..."} 
[2026-07-27 06:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa12a0f20012d7f980005afd7c0000f00062b..."} 
[2026-07-27 06:53:10] local.INFO: Processing buffer {"connection_id":142708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa12a0f20012d7f980005afd7c0000f00062b..."} 
[2026-07-27 06:53:10] local.INFO: Packet analysis {"connection_id":142708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa12a"} 
[2026-07-27 06:53:10] local.INFO: Extracted packet for processing {"connection_id":142708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa12a"} 
[2026-07-27 06:53:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":15,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 06:53:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989443840001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:53:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:53:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:53:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:53:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785115316000,"timestamp_ms":1785115316000,"timestamp_seconds":1785115316,"priority":1,"record_length":96,"hex_timestamp":"0000019fa12a0f20"} 
[2026-07-27 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-07-27 06:53:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":233,"data_length":795,"current_offset":136} 
[2026-07-27 06: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-07-27 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-07-27 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-07-27 06:53:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:53:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:53:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:53:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:53:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 06:53:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:53:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:53:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989443840001,"66":25343,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:53:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:53:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:53:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989443840001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:53:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:53:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:53:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:53:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:53:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989443840001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:53:10] local.INFO: DEBUG: GPS processor result {"connection_id":142708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:53:10] local.INFO: GPS data processed {"connection_id":142708,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:53:10] local.INFO: Acknowledgment sent {"connection_id":142708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:53:15] local.INFO: TCP Data received {"connection_id":142709,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 06:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142709,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 06:53:15] local.INFO: Processing buffer {"connection_id":142709,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 06:53:15] local.INFO: IMEI packet received {"connection_id":142709,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 06:53:15] local.INFO: IMEI acknowledgment sent {"connection_id":142709,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 06:53:33] local.INFO: TCP Data received {"connection_id":142607,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:53:33] local.INFO: Processing buffer {"connection_id":142607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:53:33] local.INFO: IMEI packet received {"connection_id":142607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 06:53:33] local.INFO: IMEI acknowledgment sent {"connection_id":142607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 06:53:38] local.INFO: TCP Data received {"connection_id":142607,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:53:38] local.INFO: Processing buffer {"connection_id":142607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:53:38] local.INFO: IMEI packet received {"connection_id":142607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 06:53:38] local.INFO: IMEI acknowledgment sent {"connection_id":142607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 06:53:39] local.INFO: TCP Data received {"connection_id":142607,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fa12a0f20012d7f980005afd7c0000f00062b..."} 
[2026-07-27 06:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa12a0f20012d7f980005afd7c0000f00062b..."} 
[2026-07-27 06:53:39] local.INFO: Processing buffer {"connection_id":142607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa12a0f20012d7f980005afd7c0000f00062b..."} 
[2026-07-27 06:53:39] local.INFO: Packet analysis {"connection_id":142607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa12a"} 
[2026-07-27 06:53:39] local.INFO: Extracted packet for processing {"connection_id":142607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa12a"} 
[2026-07-27 06:53:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":15,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 06:53:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 06:53:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989443840001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:53:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:53:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:53:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:53:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785115316000,"timestamp_ms":1785115316000,"timestamp_seconds":1785115316,"priority":1,"record_length":96,"hex_timestamp":"0000019fa12a0f20"} 
[2026-07-27 06:53:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 06:53:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 06:53:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 06:53:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 06:53:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 06:53:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 06:53:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:53:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:53:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:53:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:53:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 06:53:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:53:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:53:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989443840001,"66":25343,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:53:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:53:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:53:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989443840001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:53:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:53:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:53:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:53:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:53:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989443840001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:53:39] local.INFO: DEBUG: GPS processor result {"connection_id":142607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:53:39] local.INFO: GPS data processed {"connection_id":142607,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:53:39] local.INFO: Acknowledgment sent {"connection_id":142607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:53:45] local.INFO: TCP Data received {"connection_id":145007,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 06:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145007,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 06:53:45] local.INFO: Processing buffer {"connection_id":145007,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 06:53:45] local.INFO: IMEI packet received {"connection_id":145007,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 06:53:45] local.INFO: IMEI acknowledgment sent {"connection_id":145007,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 06:54:10] local.INFO: TCP Data received {"connection_id":142607,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fa12a0f20012d7f980005afd7c0000f00062b..."} 
[2026-07-27 06:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa12a0f20012d7f980005afd7c0000f00062b..."} 
[2026-07-27 06:54:10] local.INFO: Processing buffer {"connection_id":142607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa12a0f20012d7f980005afd7c0000f00062b..."} 
[2026-07-27 06:54:10] local.INFO: Packet analysis {"connection_id":142607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa12a"} 
[2026-07-27 06:54:10] local.INFO: Extracted packet for processing {"connection_id":142607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa12a"} 
[2026-07-27 06:54:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":15,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 06:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 06:54:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989443840001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:54:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:54:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:54:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:54:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785115316000,"timestamp_ms":1785115316000,"timestamp_seconds":1785115316,"priority":1,"record_length":96,"hex_timestamp":"0000019fa12a0f20"} 
[2026-07-27 06:54:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 06:54:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":233,"data_length":795,"current_offset":136} 
[2026-07-27 06: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-07-27 06:54:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 06:54:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 06:54:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:54:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:54:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:54:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:54:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 06:54:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:54:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:54:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989443840001,"66":25343,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:54:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:54:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:54:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989443840001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:54:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:54:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:54:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:54:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:54:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989443840001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:54:10] local.INFO: DEBUG: GPS processor result {"connection_id":142607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:54:10] local.INFO: GPS data processed {"connection_id":142607,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:54:10] local.INFO: Acknowledgment sent {"connection_id":142607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:54:32] local.INFO: TCP Data received {"connection_id":143689,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:54:32] local.INFO: Processing buffer {"connection_id":143689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:54:32] local.INFO: IMEI packet received {"connection_id":143689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 06:54:32] local.INFO: IMEI acknowledgment sent {"connection_id":143689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 06:54:38] local.INFO: TCP Data received {"connection_id":143689,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:54:38] local.INFO: Processing buffer {"connection_id":143689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:54:38] local.INFO: IMEI packet received {"connection_id":143689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 06:54:38] local.INFO: IMEI acknowledgment sent {"connection_id":143689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 06:54:39] local.INFO: TCP Data received {"connection_id":143689,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fa12a0f20012d7f980005afd7c0000f00062b..."} 
[2026-07-27 06:54:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa12a0f20012d7f980005afd7c0000f00062b..."} 
[2026-07-27 06:54:39] local.INFO: Processing buffer {"connection_id":143689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa12a0f20012d7f980005afd7c0000f00062b..."} 
[2026-07-27 06:54:39] local.INFO: Packet analysis {"connection_id":143689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa12a"} 
[2026-07-27 06:54:39] local.INFO: Extracted packet for processing {"connection_id":143689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa12a"} 
[2026-07-27 06:54:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":15,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 06:54:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 06:54:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989443840001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:54:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:54:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:54:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:54:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785115316000,"timestamp_ms":1785115316000,"timestamp_seconds":1785115316,"priority":1,"record_length":96,"hex_timestamp":"0000019fa12a0f20"} 
[2026-07-27 06:54:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 06:54:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 06: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 06:54:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 06:54:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 06:54:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 06:54:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:54:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:54:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:54:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06: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-07-27 06:54:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:54:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:54:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989443840001,"66":25343,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:54:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:54:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:54:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989443840001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:54:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:54:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:54:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:54:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:54:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989443840001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:54:39] local.INFO: DEBUG: GPS processor result {"connection_id":143689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:54:39] local.INFO: GPS data processed {"connection_id":143689,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:54:39] local.INFO: Acknowledgment sent {"connection_id":143689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:55:10] local.INFO: TCP Data received {"connection_id":143689,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fa12a0f20012d7f980005afd7c0000f00062b..."} 
[2026-07-27 06:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa12a0f20012d7f980005afd7c0000f00062b..."} 
[2026-07-27 06:55:10] local.INFO: Processing buffer {"connection_id":143689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa12a0f20012d7f980005afd7c0000f00062b..."} 
[2026-07-27 06:55:10] local.INFO: Packet analysis {"connection_id":143689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa12a"} 
[2026-07-27 06:55:10] local.INFO: Extracted packet for processing {"connection_id":143689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa12a"} 
[2026-07-27 06:55:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":15,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 06:55:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 06:55:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989443840001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:55:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:55:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:55:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:55:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785115316000,"timestamp_ms":1785115316000,"timestamp_seconds":1785115316,"priority":1,"record_length":96,"hex_timestamp":"0000019fa12a0f20"} 
[2026-07-27 06:55:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 06:55:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 06:55:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 06: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-07-27 06:55:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 06:55:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 06:55:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:55:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:55:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:55:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:55:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 06:55:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:55:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:55:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989443840001,"66":25343,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:55:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:55:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:55:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989443840001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:55:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:55:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:55:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:55:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:55:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989443840001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:55:10] local.INFO: DEBUG: GPS processor result {"connection_id":143689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:55:10] local.INFO: GPS data processed {"connection_id":143689,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:55:10] local.INFO: Acknowledgment sent {"connection_id":143689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:55:38] local.INFO: TCP Data received {"connection_id":142710,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:55:38] local.INFO: Processing buffer {"connection_id":142710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:55:38] local.INFO: IMEI packet received {"connection_id":142710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 06:55:38] local.INFO: IMEI acknowledgment sent {"connection_id":142710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 06:55:44] local.INFO: TCP Data received {"connection_id":142710,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:55:44] local.INFO: Processing buffer {"connection_id":142710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:55:44] local.INFO: IMEI packet received {"connection_id":142710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 06:55:44] local.INFO: IMEI acknowledgment sent {"connection_id":142710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 06:55:45] local.INFO: TCP Data received {"connection_id":142710,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fa12a0f20012d7f980005afd7c0000f00062b..."} 
[2026-07-27 06:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa12a0f20012d7f980005afd7c0000f00062b..."} 
[2026-07-27 06:55:45] local.INFO: Processing buffer {"connection_id":142710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa12a0f20012d7f980005afd7c0000f00062b..."} 
[2026-07-27 06:55:45] local.INFO: Packet analysis {"connection_id":142710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa12a"} 
[2026-07-27 06:55:45] local.INFO: Extracted packet for processing {"connection_id":142710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa12a"} 
[2026-07-27 06:55:45] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":15,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 06:55:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 06:55:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989443840001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:55:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:55:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:55:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:55:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785115316000,"timestamp_ms":1785115316000,"timestamp_seconds":1785115316,"priority":1,"record_length":96,"hex_timestamp":"0000019fa12a0f20"} 
[2026-07-27 06:55:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 06:55:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 06:55:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 06:55:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 06:55:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 06:55:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 06:55:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:55:45] local.INFO: Teltonika packet parsed successfully {"connection_id":142710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:55:45] local.INFO: Passing IMEI to GPS processor {"connection_id":142710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:55:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":142710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:55:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 06:55:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:55:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:55:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989443840001,"66":25343,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:55:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:55:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:55:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989443840001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:55:45] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:55:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:55:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:55:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:55:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989443840001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:55:45] local.INFO: DEBUG: GPS processor result {"connection_id":142710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:55:45] local.INFO: GPS data processed {"connection_id":142710,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:55:45] local.INFO: Acknowledgment sent {"connection_id":142710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:55:48] local.INFO: TCP Data received {"connection_id":142710,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fa12a0f20012d7f980005afd7c0000f00062b..."} 
[2026-07-27 06:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa12a0f20012d7f980005afd7c0000f00062b..."} 
[2026-07-27 06:55:48] local.INFO: Processing buffer {"connection_id":142710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa12a0f20012d7f980005afd7c0000f00062b..."} 
[2026-07-27 06:55:48] local.INFO: Packet analysis {"connection_id":142710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa12a"} 
[2026-07-27 06:55:48] local.INFO: Extracted packet for processing {"connection_id":142710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa12a"} 
[2026-07-27 06:55:48] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":15,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 06: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-07-27 06:55:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989443840001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:55:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:55:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:55:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:55:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785115316000,"timestamp_ms":1785115316000,"timestamp_seconds":1785115316,"priority":1,"record_length":96,"hex_timestamp":"0000019fa12a0f20"} 
[2026-07-27 06:55:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 06:55:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 06: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 06:55:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 06: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-07-27 06:55:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 06:55:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:55:48] local.INFO: Teltonika packet parsed successfully {"connection_id":142710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:55:48] local.INFO: Passing IMEI to GPS processor {"connection_id":142710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:55:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":142710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:55:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 06:55:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:55:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:55:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989443840001,"66":25343,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:55:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:55:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:55:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989443840001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:55:48] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:55:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:55:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:55:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:55:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989443840001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:55:48] local.INFO: DEBUG: GPS processor result {"connection_id":142710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:55:48] local.INFO: GPS data processed {"connection_id":142710,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:55:48] local.INFO: Acknowledgment sent {"connection_id":142710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:56:33] local.INFO: TCP Data received {"connection_id":145009,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:56:33] local.INFO: Processing buffer {"connection_id":145009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:56:33] local.INFO: IMEI packet received {"connection_id":145009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 06:56:33] local.INFO: IMEI acknowledgment sent {"connection_id":145009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 06:56:38] local.INFO: TCP Data received {"connection_id":145009,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:56:38] local.INFO: Processing buffer {"connection_id":145009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:56:38] local.INFO: IMEI packet received {"connection_id":145009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 06:56:38] local.INFO: IMEI acknowledgment sent {"connection_id":145009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 06:56:39] local.INFO: TCP Data received {"connection_id":145009,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa12a0f20012d7f980005afd7c0000f00062b..."} 
[2026-07-27 06:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa12a0f20012d7f980005afd7c0000f00062b..."} 
[2026-07-27 06:56:39] local.INFO: Processing buffer {"connection_id":145009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa12a0f20012d7f980005afd7c0000f00062b..."} 
[2026-07-27 06:56:39] local.INFO: Packet analysis {"connection_id":145009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa12a"} 
[2026-07-27 06:56:39] local.INFO: Extracted packet for processing {"connection_id":145009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa12a"} 
[2026-07-27 06:56:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":15,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 06: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-07-27 06:56:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989443840001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:56:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:56:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:56:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:56:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785115316000,"timestamp_ms":1785115316000,"timestamp_seconds":1785115316,"priority":1,"record_length":96,"hex_timestamp":"0000019fa12a0f20"} 
[2026-07-27 06:56:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 06:56:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 06: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 06:56:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 06: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-07-27 06:56:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 06:56:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:56:39] local.INFO: Teltonika packet parsed successfully {"connection_id":145009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:56:39] local.INFO: Passing IMEI to GPS processor {"connection_id":145009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:56:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":145009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:56:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 06:56:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:56:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:56:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989443840001,"66":25343,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:56:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:56:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:56:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989443840001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:56:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:56:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:56:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:56:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:56:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989443840001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:56:39] local.INFO: DEBUG: GPS processor result {"connection_id":145009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:56:39] local.INFO: GPS data processed {"connection_id":145009,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:56:39] local.INFO: Acknowledgment sent {"connection_id":145009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:57:10] local.INFO: TCP Data received {"connection_id":145009,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa12a0f20012d7f980005afd7c0000f00062b..."} 
[2026-07-27 06:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa12a0f20012d7f980005afd7c0000f00062b..."} 
[2026-07-27 06:57:10] local.INFO: Processing buffer {"connection_id":145009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa12a0f20012d7f980005afd7c0000f00062b..."} 
[2026-07-27 06:57:10] local.INFO: Packet analysis {"connection_id":145009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa12a"} 
[2026-07-27 06:57:10] local.INFO: Extracted packet for processing {"connection_id":145009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa12a"} 
[2026-07-27 06:57:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":15,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 06:57:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 06:57:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989443840001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:57:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:57:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:57:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:57:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785115316000,"timestamp_ms":1785115316000,"timestamp_seconds":1785115316,"priority":1,"record_length":96,"hex_timestamp":"0000019fa12a0f20"} 
[2026-07-27 06:57:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 06:57:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 06: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-07-27 06:57:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 06:57:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 06:57:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:57:10] local.INFO: Teltonika packet parsed successfully {"connection_id":145009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:57:10] local.INFO: Passing IMEI to GPS processor {"connection_id":145009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:57:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":145009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 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-07-27 06:57:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:57:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:57:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989443840001,"66":25343,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:57:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:57:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:57:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989443840001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:57:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:57:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:57:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:57:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:57:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989443840001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:57:10] local.INFO: DEBUG: GPS processor result {"connection_id":145009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:57:10] local.INFO: GPS data processed {"connection_id":145009,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:57:10] local.INFO: Acknowledgment sent {"connection_id":145009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:57:33] local.INFO: TCP Data received {"connection_id":145010,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:57:33] local.INFO: Processing buffer {"connection_id":145010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:57:33] local.INFO: IMEI packet received {"connection_id":145010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 06:57:33] local.INFO: IMEI acknowledgment sent {"connection_id":145010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 06:57:35] local.INFO: TCP Data received {"connection_id":145010,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:57:35] local.INFO: Processing buffer {"connection_id":145010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:57:35] local.INFO: IMEI packet received {"connection_id":145010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 06:57:35] local.INFO: IMEI acknowledgment sent {"connection_id":145010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 06:57:38] local.INFO: TCP Data received {"connection_id":145010,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:57:38] local.INFO: Processing buffer {"connection_id":145010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:57:38] local.INFO: IMEI packet received {"connection_id":145010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 06:57:38] local.INFO: IMEI acknowledgment sent {"connection_id":145010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 06:57:38] local.INFO: TCP Data received {"connection_id":145010,"ip":"42.106.6.14","data_length":93,"data_hex":"00000000000000518e010000019fa12ea6e8012d7f980005afd7c0001100062c..."} 
[2026-07-27 06:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145010,"packet_length":93,"packet_hex":"00000000000000518e010000019fa12ea6e8012d7f980005afd7c0001100062c..."} 
[2026-07-27 06:57:38] local.INFO: Processing buffer {"connection_id":145010,"buffer_length":93,"buffer_hex":"00000000000000518e010000019fa12ea6e8012d7f980005afd7c0001100062c..."} 
[2026-07-27 06:57:38] local.INFO: Packet analysis {"connection_id":145010,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019fa12e"} 
[2026-07-27 06:57:38] local.INFO: Extracted packet for processing {"connection_id":145010,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019fa12e"} 
[2026-07-27 06:57:38] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":44,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 06:57:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-07-27 06:57:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 06:57:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 06:57:38] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 06:57:38] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-07-27 06:57:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145010,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-07-27 06:57:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145010,"device_imei":"862567074773115","avl_records_count":0} 
[2026-07-27 06:57:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145010,"device_imei":"862567074773115","avl_records_count":0} 
[2026-07-27 06:57:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-27 06:57:38] local.WARNING: DEBUG: No valid data to process  
[2026-07-27 06:57:38] local.INFO: DEBUG: GPS processor result {"connection_id":145010,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-27 06:57:38] local.ERROR: GPS data processing failed {"connection_id":145010,"error":"No valid data to process"} 
[2026-07-27 06:57:38] local.INFO: Acknowledgment sent {"connection_id":145010,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-27 06:57:43] local.INFO: TCP Data received {"connection_id":145010,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa12ea6e8012d7f980005afd7c0001100062c..."} 
[2026-07-27 06:57:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145010,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa12ea6e8012d7f980005afd7c0001100062c..."} 
[2026-07-27 06:57:43] local.INFO: Processing buffer {"connection_id":145010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa12ea6e8012d7f980005afd7c0001100062c..."} 
[2026-07-27 06:57:43] local.INFO: Packet analysis {"connection_id":145010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa12e"} 
[2026-07-27 06:57:43] local.INFO: Extracted packet for processing {"connection_id":145010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa12e"} 
[2026-07-27 06:57:43] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":44,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 06: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-07-27 06:57:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989520896001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:57:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:57:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:57:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:57:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785115617000,"timestamp_ms":1785115617000,"timestamp_seconds":1785115617,"priority":1,"record_length":96,"hex_timestamp":"0000019fa12ea6e8"} 
[2026-07-27 06:57:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 06:57:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 06: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-07-27 06: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-07-27 06: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-07-27 06:57:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 06:57:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:57:43] local.INFO: Teltonika packet parsed successfully {"connection_id":145010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:57:43] local.INFO: Passing IMEI to GPS processor {"connection_id":145010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:57:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":145010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:57:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 06:57:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:57:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:57:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989520896001,"66":25321,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:57:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:57:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:57:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989520896001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:57:43] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:57:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:57:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:57:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:57:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989520896001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:57:43] local.INFO: DEBUG: GPS processor result {"connection_id":145010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:57:43] local.INFO: GPS data processed {"connection_id":145010,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:57:43] local.INFO: Acknowledgment sent {"connection_id":145010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:58:14] local.INFO: TCP Data received {"connection_id":145010,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa12ea6e8012d7f980005afd7c0001100062c..."} 
[2026-07-27 06:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145010,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa12ea6e8012d7f980005afd7c0001100062c..."} 
[2026-07-27 06:58:14] local.INFO: Processing buffer {"connection_id":145010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa12ea6e8012d7f980005afd7c0001100062c..."} 
[2026-07-27 06:58:14] local.INFO: Packet analysis {"connection_id":145010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa12e"} 
[2026-07-27 06:58:14] local.INFO: Extracted packet for processing {"connection_id":145010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa12e"} 
[2026-07-27 06:58:14] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":44,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 06: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-07-27 06:58:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989520896001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:58:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:58:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:58:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:58:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785115617000,"timestamp_ms":1785115617000,"timestamp_seconds":1785115617,"priority":1,"record_length":96,"hex_timestamp":"0000019fa12ea6e8"} 
[2026-07-27 06:58:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 06:58:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 06: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-27 06:58:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 06: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-07-27 06:58:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 06:58:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:58:14] local.INFO: Teltonika packet parsed successfully {"connection_id":145010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:58:14] local.INFO: Passing IMEI to GPS processor {"connection_id":145010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:58:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":145010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:58:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 06:58:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:58:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:58:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989520896001,"66":25321,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:58:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:58:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:58:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989520896001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:58:14] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:58:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:58:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:58:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:58:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989520896001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:58:14] local.INFO: DEBUG: GPS processor result {"connection_id":145010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:58:14] local.INFO: GPS data processed {"connection_id":145010,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:58:14] local.INFO: Acknowledgment sent {"connection_id":145010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:58:32] local.INFO: TCP Data received {"connection_id":143690,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:58:32] local.INFO: Processing buffer {"connection_id":143690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:58:32] local.INFO: IMEI packet received {"connection_id":143690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 06:58:32] local.INFO: IMEI acknowledgment sent {"connection_id":143690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 06:58:37] local.INFO: TCP Data received {"connection_id":143690,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:58:37] local.INFO: Processing buffer {"connection_id":143690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:58:37] local.INFO: IMEI packet received {"connection_id":143690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 06:58:37] local.INFO: IMEI acknowledgment sent {"connection_id":143690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 06:58:38] local.INFO: TCP Data received {"connection_id":143690,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa12ea6e8012d7f980005afd7c0001100062c..."} 
[2026-07-27 06:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa12ea6e8012d7f980005afd7c0001100062c..."} 
[2026-07-27 06:58:38] local.INFO: Processing buffer {"connection_id":143690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa12ea6e8012d7f980005afd7c0001100062c..."} 
[2026-07-27 06:58:38] local.INFO: Packet analysis {"connection_id":143690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa12e"} 
[2026-07-27 06:58:38] local.INFO: Extracted packet for processing {"connection_id":143690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa12e"} 
[2026-07-27 06:58:38] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":44,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 06:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 06:58:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989520896001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:58:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:58:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:58:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:58:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785115617000,"timestamp_ms":1785115617000,"timestamp_seconds":1785115617,"priority":1,"record_length":96,"hex_timestamp":"0000019fa12ea6e8"} 
[2026-07-27 06:58:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 06:58:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 06:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-27 06:58:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 06:58:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 06:58:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 06:58:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:58:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:58:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:58:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:58:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 06:58:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:58:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:58:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989520896001,"66":25321,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:58:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:58:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:58:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989520896001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:58:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:58:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:58:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:58:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:58:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989520896001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:58:38] local.INFO: DEBUG: GPS processor result {"connection_id":143690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:58:38] local.INFO: GPS data processed {"connection_id":143690,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:58:38] local.INFO: Acknowledgment sent {"connection_id":143690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:59:09] local.INFO: TCP Data received {"connection_id":143690,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa12ea6e8012d7f980005afd7c0001100062c..."} 
[2026-07-27 06:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa12ea6e8012d7f980005afd7c0001100062c..."} 
[2026-07-27 06:59:09] local.INFO: Processing buffer {"connection_id":143690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa12ea6e8012d7f980005afd7c0001100062c..."} 
[2026-07-27 06:59:09] local.INFO: Packet analysis {"connection_id":143690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa12e"} 
[2026-07-27 06:59:09] local.INFO: Extracted packet for processing {"connection_id":143690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa12e"} 
[2026-07-27 06:59:09] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":44,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 06:59:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 06:59:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989520896001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:59:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:59:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:59:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:59:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785115617000,"timestamp_ms":1785115617000,"timestamp_seconds":1785115617,"priority":1,"record_length":96,"hex_timestamp":"0000019fa12ea6e8"} 
[2026-07-27 06:59:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 06:59:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 06:59:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-27 06:59:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 06:59:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 06:59:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 06:59:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:59:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:59:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:59:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:59:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 06:59:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:59:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:59:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989520896001,"66":25321,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:59:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:59:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:59:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989520896001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:59:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:59:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:59:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:59:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:59:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989520896001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:59:09] local.INFO: DEBUG: GPS processor result {"connection_id":143690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:59:09] local.INFO: GPS data processed {"connection_id":143690,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:59:09] local.INFO: Acknowledgment sent {"connection_id":143690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:59:10] local.INFO: TCP Data received {"connection_id":142608,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 06:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142608,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 06:59:10] local.INFO: Processing buffer {"connection_id":142608,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 06:59:10] local.INFO: IMEI packet received {"connection_id":142608,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 06:59:10] local.INFO: IMEI acknowledgment sent {"connection_id":142608,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 06:59:32] local.INFO: TCP Data received {"connection_id":142714,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:59:33] local.INFO: Processing buffer {"connection_id":142714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:59:33] local.INFO: IMEI packet received {"connection_id":142714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 06:59:33] local.INFO: IMEI acknowledgment sent {"connection_id":142714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 06:59:37] local.INFO: TCP Data received {"connection_id":142714,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:59:37] local.INFO: Processing buffer {"connection_id":142714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 06:59:37] local.INFO: IMEI packet received {"connection_id":142714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 06:59:37] local.INFO: IMEI acknowledgment sent {"connection_id":142714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 06:59:38] local.INFO: TCP Data received {"connection_id":142714,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa12ea6e8012d7f980005afd7c0001100062c..."} 
[2026-07-27 06:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa12ea6e8012d7f980005afd7c0001100062c..."} 
[2026-07-27 06:59:38] local.INFO: Processing buffer {"connection_id":142714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa12ea6e8012d7f980005afd7c0001100062c..."} 
[2026-07-27 06:59:38] local.INFO: Packet analysis {"connection_id":142714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa12e"} 
[2026-07-27 06:59:38] local.INFO: Extracted packet for processing {"connection_id":142714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa12e"} 
[2026-07-27 06:59:38] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":44,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 06:59:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 06:59:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989520896001,"note":"Value kept but may cause issues"} 
[2026-07-27 06:59:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 06:59:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 06:59:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 06:59:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785115617000,"timestamp_ms":1785115617000,"timestamp_seconds":1785115617,"priority":1,"record_length":96,"hex_timestamp":"0000019fa12ea6e8"} 
[2026-07-27 06:59:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 06:59:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 06:59:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-27 06:59:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 06:59:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 06:59:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 06:59:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 06:59:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 06:59:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:59:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 06:59:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 06:59:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 06:59:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 06:59:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989520896001,"66":25321,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 06:59:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 06:59:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 06:59:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989520896001,"description":"Unknown IO ID 0"} 
[2026-07-27 06:59:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 06:59:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 06:59:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 06:59:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 06:59:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989520896001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 06:59:38] local.INFO: DEBUG: GPS processor result {"connection_id":142714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 06:59:38] local.INFO: GPS data processed {"connection_id":142714,"processed":1,"errors":0,"total":1} 
[2026-07-27 06:59:38] local.INFO: Acknowledgment sent {"connection_id":142714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 06:59:50] local.INFO: TCP Data received {"connection_id":143691,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 06:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143691,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 06:59:50] local.INFO: Processing buffer {"connection_id":143691,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 06:59:50] local.INFO: IMEI packet received {"connection_id":143691,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 06:59:50] local.INFO: IMEI acknowledgment sent {"connection_id":143691,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:00:09] local.INFO: TCP Data received {"connection_id":142714,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa12ea6e8012d7f980005afd7c0001100062c..."} 
[2026-07-27 07:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa12ea6e8012d7f980005afd7c0001100062c..."} 
[2026-07-27 07:00:09] local.INFO: Processing buffer {"connection_id":142714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa12ea6e8012d7f980005afd7c0001100062c..."} 
[2026-07-27 07:00:09] local.INFO: Packet analysis {"connection_id":142714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa12e"} 
[2026-07-27 07:00:09] local.INFO: Extracted packet for processing {"connection_id":142714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa12e"} 
[2026-07-27 07:00:09] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":44,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 07:00:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:00:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989520896001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:00:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:00:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:00:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:00:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785115617000,"timestamp_ms":1785115617000,"timestamp_seconds":1785115617,"priority":1,"record_length":96,"hex_timestamp":"0000019fa12ea6e8"} 
[2026-07-27 07:00:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:00:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 07:00:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-27 07:00:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:00:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:00:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:00:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:00:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:00:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:00:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:00:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:00:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:00:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:00:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989520896001,"66":25321,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 07:00:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:00:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:00:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989520896001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:00:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 07:00:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:00:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:00:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:00:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989520896001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:00:09] local.INFO: DEBUG: GPS processor result {"connection_id":142714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:00:09] local.INFO: GPS data processed {"connection_id":142714,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:00:09] local.INFO: Acknowledgment sent {"connection_id":142714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:00:32] local.INFO: TCP Data received {"connection_id":143692,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:00:32] local.INFO: Processing buffer {"connection_id":143692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:00:32] local.INFO: IMEI packet received {"connection_id":143692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 07:00:32] local.INFO: IMEI acknowledgment sent {"connection_id":143692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:00:37] local.INFO: TCP Data received {"connection_id":143692,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:00:37] local.INFO: Processing buffer {"connection_id":143692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:00:37] local.INFO: IMEI packet received {"connection_id":143692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 07:00:37] local.INFO: IMEI acknowledgment sent {"connection_id":143692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:00:38] local.INFO: TCP Data received {"connection_id":143692,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa12ea6e8012d7f980005afd7c0001100062c..."} 
[2026-07-27 07:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa12ea6e8012d7f980005afd7c0001100062c..."} 
[2026-07-27 07:00:38] local.INFO: Processing buffer {"connection_id":143692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa12ea6e8012d7f980005afd7c0001100062c..."} 
[2026-07-27 07:00:38] local.INFO: Packet analysis {"connection_id":143692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa12e"} 
[2026-07-27 07:00:38] local.INFO: Extracted packet for processing {"connection_id":143692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa12e"} 
[2026-07-27 07:00:38] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":44,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 07:00:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:00:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989520896001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:00:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:00:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:00:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:00:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785115617000,"timestamp_ms":1785115617000,"timestamp_seconds":1785115617,"priority":1,"record_length":96,"hex_timestamp":"0000019fa12ea6e8"} 
[2026-07-27 07:00:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:00:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 07:00:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-27 07:00:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:00:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:00:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:00:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:00:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:00:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:00:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:00:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:00:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:00:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:00:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989520896001,"66":25321,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 07:00:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:00:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:00:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989520896001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:00:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 07:00:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:00:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:00:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:00:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989520896001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:00:38] local.INFO: DEBUG: GPS processor result {"connection_id":143692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:00:38] local.INFO: GPS data processed {"connection_id":143692,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:00:38] local.INFO: Acknowledgment sent {"connection_id":143692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:01:09] local.INFO: TCP Data received {"connection_id":143692,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa12ea6e8012d7f980005afd7c0001100062c..."} 
[2026-07-27 07:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa12ea6e8012d7f980005afd7c0001100062c..."} 
[2026-07-27 07:01:09] local.INFO: Processing buffer {"connection_id":143692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa12ea6e8012d7f980005afd7c0001100062c..."} 
[2026-07-27 07:01:09] local.INFO: Packet analysis {"connection_id":143692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa12e"} 
[2026-07-27 07:01:09] local.INFO: Extracted packet for processing {"connection_id":143692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa12e"} 
[2026-07-27 07:01:09] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":44,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 07:01:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:01:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989520896001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:01:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:01:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:01:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:01:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785115617000,"timestamp_ms":1785115617000,"timestamp_seconds":1785115617,"priority":1,"record_length":96,"hex_timestamp":"0000019fa12ea6e8"} 
[2026-07-27 07:01:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:01:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 07:01:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-27 07:01:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:01:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:01:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:01:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:01:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:01:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:01:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:01:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:01:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:01:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:01:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989520896001,"66":25321,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 07:01:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:01:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:01:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989520896001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:01:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 07:01:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:01:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:01:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:01:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989520896001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:01:09] local.INFO: DEBUG: GPS processor result {"connection_id":143692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:01:09] local.INFO: GPS data processed {"connection_id":143692,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:01:09] local.INFO: Acknowledgment sent {"connection_id":143692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:01:32] local.INFO: TCP Data received {"connection_id":142716,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:01:32] local.INFO: Processing buffer {"connection_id":142716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:01:32] local.INFO: IMEI packet received {"connection_id":142716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 07:01:32] local.INFO: IMEI acknowledgment sent {"connection_id":142716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:01:37] local.INFO: TCP Data received {"connection_id":142716,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:01:37] local.INFO: Processing buffer {"connection_id":142716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:01:37] local.INFO: IMEI packet received {"connection_id":142716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 07:01:37] local.INFO: IMEI acknowledgment sent {"connection_id":142716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:01:38] local.INFO: TCP Data received {"connection_id":142716,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa12ea6e8012d7f980005afd7c0001100062c..."} 
[2026-07-27 07:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa12ea6e8012d7f980005afd7c0001100062c..."} 
[2026-07-27 07:01:38] local.INFO: Processing buffer {"connection_id":142716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa12ea6e8012d7f980005afd7c0001100062c..."} 
[2026-07-27 07:01:38] local.INFO: Packet analysis {"connection_id":142716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa12e"} 
[2026-07-27 07:01:38] local.INFO: Extracted packet for processing {"connection_id":142716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa12e"} 
[2026-07-27 07:01:38] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":44,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 07:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:01:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989520896001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:01:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:01:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:01:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:01:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785115617000,"timestamp_ms":1785115617000,"timestamp_seconds":1785115617,"priority":1,"record_length":96,"hex_timestamp":"0000019fa12ea6e8"} 
[2026-07-27 07:01:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:01:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 07:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-27 07:01:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:01:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:01:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:01:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:01:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:01:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:01:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:01:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:01:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:01:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:01:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989520896001,"66":25321,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 07:01:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:01:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:01:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989520896001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:01:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 07:01:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:01:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:01:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:01:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989520896001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:01:38] local.INFO: DEBUG: GPS processor result {"connection_id":142716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:01:38] local.INFO: GPS data processed {"connection_id":142716,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:01:38] local.INFO: Acknowledgment sent {"connection_id":142716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:02:09] local.INFO: TCP Data received {"connection_id":142716,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa12ea6e8012d7f980005afd7c0001100062c..."} 
[2026-07-27 07:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa12ea6e8012d7f980005afd7c0001100062c..."} 
[2026-07-27 07:02:09] local.INFO: Processing buffer {"connection_id":142716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa12ea6e8012d7f980005afd7c0001100062c..."} 
[2026-07-27 07:02:09] local.INFO: Packet analysis {"connection_id":142716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa12e"} 
[2026-07-27 07:02:09] local.INFO: Extracted packet for processing {"connection_id":142716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa12e"} 
[2026-07-27 07:02:09] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":44,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 07:02:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989520896001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:02:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:02:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:02:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:02:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785115617000,"timestamp_ms":1785115617000,"timestamp_seconds":1785115617,"priority":1,"record_length":96,"hex_timestamp":"0000019fa12ea6e8"} 
[2026-07-27 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-07-27 07:02:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-27 07:02:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 07:02:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:02:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:02:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:02:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:02:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:02:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:02:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:02:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989520896001,"66":25321,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 07:02:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:02:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:02:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989520896001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:02:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 07:02:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:02:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:02:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:02:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989520896001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:02:09] local.INFO: DEBUG: GPS processor result {"connection_id":142716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:02:09] local.INFO: GPS data processed {"connection_id":142716,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:02:09] local.INFO: Acknowledgment sent {"connection_id":142716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:02:19] local.INFO: TCP Data received {"connection_id":142609,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:02:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142609,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:02:19] local.INFO: Processing buffer {"connection_id":142609,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:02:19] local.INFO: IMEI packet received {"connection_id":142609,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 07:02:19] local.INFO: IMEI acknowledgment sent {"connection_id":142609,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:02:20] local.INFO: TCP Data received {"connection_id":142609,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142609,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:02:20] local.INFO: Processing buffer {"connection_id":142609,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:02:20] local.INFO: IMEI packet received {"connection_id":142609,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 07:02:20] local.INFO: IMEI acknowledgment sent {"connection_id":142609,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:02:23] local.INFO: TCP Data received {"connection_id":142609,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142609,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:02:23] local.INFO: Processing buffer {"connection_id":142609,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:02:23] local.INFO: IMEI packet received {"connection_id":142609,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 07:02:23] local.INFO: IMEI acknowledgment sent {"connection_id":142609,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:02:29] local.INFO: TCP Data received {"connection_id":142609,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa12928a8012d7e318005d35718000c01530f..."} 
[2026-07-27 07:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa12928a8012d7e318005d35718000c01530f..."} 
[2026-07-27 07:02:29] local.INFO: Processing buffer {"connection_id":142609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa12928a8012d7e318005d35718000c01530f..."} 
[2026-07-27 07:02:29] local.INFO: Packet analysis {"connection_id":142609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa129"} 
[2026-07-27 07:02:29] local.INFO: Extracted packet for processing {"connection_id":142609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa129"} 
[2026-07-27 07:02:29] local.INFO: GPS Element Parsed {"raw_longitude":763244928,"raw_latitude":97736472,"longitude_deg":76.3244928,"latitude_deg":9.7736472,"altitude":12,"angle":339,"satellites":15,"speed":3,"hex_longitude":"2d7e3180","hex_latitude":"05d35718","is_valid_coordinates":true} 
[2026-07-27 07:02:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:02:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989504512001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:02:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111396861654335488,"note":"Value kept but may cause issues"} 
[2026-07-27 07:02:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9093260253890695168,"note":"Value kept but may cause issues"} 
[2026-07-27 07:02:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:02:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785115257000,"timestamp_ms":1785115257000,"timestamp_seconds":1785115257,"priority":1,"record_length":96,"hex_timestamp":"0000019fa12928a8"} 
[2026-07-27 07:02:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:02:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":1024,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 07:02:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-07-27 07:02:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1359,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:02:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:02:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:02:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:02:29] local.INFO: Teltonika packet parsed successfully {"connection_id":142609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:02:29] local.INFO: Passing IMEI to GPS processor {"connection_id":142609,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:02:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":142609,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:02:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:02:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 07:02:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 07:02:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989504512001,"66":11634,"110":206,"85":15104,"24":3,"16":111396861654335488,"45":9093260253890695168},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-07-27 07:02:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 07:02:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 07:02:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989504512001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:02:29] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-27 07:02:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 07:02:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111396861654335488,"km_value":111396861654335.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:02:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9093260253890695168,"description":"Unknown IO ID 45"} 
[2026-07-27 07:02:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989504512001,"power":11634,"unknown_110":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":9093260253890695168}} 
[2026-07-27 07:02:29] local.INFO: DEBUG: GPS processor result {"connection_id":142609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551657,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:02:29] local.INFO: GPS data processed {"connection_id":142609,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:02:29] local.INFO: Acknowledgment sent {"connection_id":142609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:02:35] local.INFO: TCP Data received {"connection_id":143694,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:02:36] local.INFO: Processing buffer {"connection_id":143694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:02:36] local.INFO: IMEI packet received {"connection_id":143694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 07:02:36] local.INFO: IMEI acknowledgment sent {"connection_id":143694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:02:37] local.INFO: TCP Data received {"connection_id":143694,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:02:37] local.INFO: Processing buffer {"connection_id":143694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:02:37] local.INFO: IMEI packet received {"connection_id":143694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 07:02:37] local.INFO: IMEI acknowledgment sent {"connection_id":143694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:02:42] local.INFO: TCP Data received {"connection_id":143694,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:02:43] local.INFO: Processing buffer {"connection_id":143694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:02:43] local.INFO: IMEI packet received {"connection_id":143694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 07:02:43] local.INFO: IMEI acknowledgment sent {"connection_id":143694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:02:43] local.INFO: TCP Data received {"connection_id":143694,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1333eb0012d7f980005afd7c0001100062b..."} 
[2026-07-27 07:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143694,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1333eb0012d7f980005afd7c0001100062b..."} 
[2026-07-27 07:02:43] local.INFO: Processing buffer {"connection_id":143694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1333eb0012d7f980005afd7c0001100062b..."} 
[2026-07-27 07:02:43] local.INFO: Packet analysis {"connection_id":143694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa133"} 
[2026-07-27 07:02:43] local.INFO: Extracted packet for processing {"connection_id":143694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa133"} 
[2026-07-27 07:02:43] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 07:02:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:02:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989597952001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:02:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:02:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:02:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:02:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785115918000,"timestamp_ms":1785115918000,"timestamp_seconds":1785115918,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1333eb0"} 
[2026-07-27 07:02:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:02:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 07: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 07:02: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-07-27 07:02:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:02:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:02:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:02:43] local.INFO: Teltonika packet parsed successfully {"connection_id":143694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:02:43] local.INFO: Passing IMEI to GPS processor {"connection_id":143694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:02:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":143694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:02:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:02:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:02:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:02:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989597952001,"66":25375,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 07:02:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:02:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:02:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989597952001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:02:43] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 07:02:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:02:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:02:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:02:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989597952001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:02:43] local.INFO: DEBUG: GPS processor result {"connection_id":143694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:02:43] local.INFO: GPS data processed {"connection_id":143694,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:02:43] local.INFO: Acknowledgment sent {"connection_id":143694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:02:48] local.INFO: TCP Data received {"connection_id":143694,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1333eb0012d7f980005afd7c0001100062b..."} 
[2026-07-27 07:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143694,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1333eb0012d7f980005afd7c0001100062b..."} 
[2026-07-27 07:02:48] local.INFO: Processing buffer {"connection_id":143694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1333eb0012d7f980005afd7c0001100062b..."} 
[2026-07-27 07:02:48] local.INFO: Packet analysis {"connection_id":143694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa133"} 
[2026-07-27 07:02:48] local.INFO: Extracted packet for processing {"connection_id":143694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa133"} 
[2026-07-27 07:02:48] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 07: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-07-27 07:02:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989597952001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:02:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:02:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:02:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:02:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785115918000,"timestamp_ms":1785115918000,"timestamp_seconds":1785115918,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1333eb0"} 
[2026-07-27 07:02:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:02:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 07:02:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 07:02:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07: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-07-27 07:02:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:02:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:02:48] local.INFO: Teltonika packet parsed successfully {"connection_id":143694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:02:48] local.INFO: Passing IMEI to GPS processor {"connection_id":143694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:02:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":143694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:02:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:02:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:02:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:02:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989597952001,"66":25375,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 07:02:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:02:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:02:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989597952001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:02:48] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 07:02:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:02:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:02:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:02:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989597952001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:02:48] local.INFO: DEBUG: GPS processor result {"connection_id":143694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:02:48] local.INFO: GPS data processed {"connection_id":143694,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:02:48] local.INFO: Acknowledgment sent {"connection_id":143694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:03:00] local.INFO: TCP Data received {"connection_id":142609,"ip":"42.109.136.2","data_length":93,"data_hex":"00000000000000518e0100000000000109a00100000000000000000000000000..."} 
[2026-07-27 07:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142609,"packet_length":93,"packet_hex":"00000000000000518e0100000000000109a00100000000000000000000000000..."} 
[2026-07-27 07:03:00] local.INFO: Processing buffer {"connection_id":142609,"buffer_length":93,"buffer_hex":"00000000000000518e0100000000000109a00100000000000000000000000000..."} 
[2026-07-27 07:03:00] local.INFO: Packet analysis {"connection_id":142609,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000000000001"} 
[2026-07-27 07:03:00] local.INFO: Extracted packet for processing {"connection_id":142609,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000000000001"} 
[2026-07-27 07:03:00] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-27 07:03:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-07-27 07:03:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:03:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:03:00] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:03:00] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-07-27 07:03:00] local.INFO: Teltonika packet parsed successfully {"connection_id":142609,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-07-27 07:03:00] local.INFO: Passing IMEI to GPS processor {"connection_id":142609,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-27 07:03:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":142609,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-27 07:03:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-27 07:03:00] local.WARNING: DEBUG: No valid data to process  
[2026-07-27 07:03:00] local.INFO: DEBUG: GPS processor result {"connection_id":142609,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-27 07:03:00] local.ERROR: GPS data processing failed {"connection_id":142609,"error":"No valid data to process"} 
[2026-07-27 07:03:00] local.INFO: Acknowledgment sent {"connection_id":142609,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-27 07:03:31] local.INFO: TCP Data received {"connection_id":142609,"ip":"42.109.136.2","data_length":93,"data_hex":"00000000000000518e010000019fa13430e00100000000000000000000000000..."} 
[2026-07-27 07:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142609,"packet_length":93,"packet_hex":"00000000000000518e010000019fa13430e00100000000000000000000000000..."} 
[2026-07-27 07:03:31] local.INFO: Processing buffer {"connection_id":142609,"buffer_length":93,"buffer_hex":"00000000000000518e010000019fa13430e00100000000000000000000000000..."} 
[2026-07-27 07:03:31] local.INFO: Packet analysis {"connection_id":142609,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019fa134"} 
[2026-07-27 07:03:31] local.INFO: Extracted packet for processing {"connection_id":142609,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019fa134"} 
[2026-07-27 07:03:31] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-27 07:03:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-07-27 07:03: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-07-27 07:03: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-07-27 07:03:31] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:03:31] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-07-27 07:03:31] local.INFO: Teltonika packet parsed successfully {"connection_id":142609,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-07-27 07:03:31] local.INFO: Passing IMEI to GPS processor {"connection_id":142609,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-27 07:03:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":142609,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-27 07:03:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-27 07:03:31] local.WARNING: DEBUG: No valid data to process  
[2026-07-27 07:03:31] local.INFO: DEBUG: GPS processor result {"connection_id":142609,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-27 07:03:31] local.ERROR: GPS data processing failed {"connection_id":142609,"error":"No valid data to process"} 
[2026-07-27 07:03:31] local.INFO: Acknowledgment sent {"connection_id":142609,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-27 07:03:32] local.INFO: TCP Data received {"connection_id":142717,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:03:32] local.INFO: Processing buffer {"connection_id":142717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:03:32] local.INFO: IMEI packet received {"connection_id":142717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 07:03:32] local.INFO: IMEI acknowledgment sent {"connection_id":142717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:03:37] local.INFO: TCP Data received {"connection_id":142717,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:03:37] local.INFO: Processing buffer {"connection_id":142717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:03:37] local.INFO: IMEI packet received {"connection_id":142717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 07:03:37] local.INFO: IMEI acknowledgment sent {"connection_id":142717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:03:38] local.INFO: TCP Data received {"connection_id":142717,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1333eb0012d7f980005afd7c0001100062b..."} 
[2026-07-27 07:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1333eb0012d7f980005afd7c0001100062b..."} 
[2026-07-27 07:03:38] local.INFO: Processing buffer {"connection_id":142717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1333eb0012d7f980005afd7c0001100062b..."} 
[2026-07-27 07:03:38] local.INFO: Packet analysis {"connection_id":142717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa133"} 
[2026-07-27 07:03:38] local.INFO: Extracted packet for processing {"connection_id":142717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa133"} 
[2026-07-27 07:03:38] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 07:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:03:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989597952001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:03:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:03:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:03:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:03:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785115918000,"timestamp_ms":1785115918000,"timestamp_seconds":1785115918,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1333eb0"} 
[2026-07-27 07:03:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:03:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 07:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 07:03:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:03:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:03:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:03:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:03:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:03:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:03:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:03:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:03:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:03:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:03:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989597952001,"66":25375,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 07:03:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:03:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:03:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989597952001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:03:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 07:03:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:03:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:03:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:03:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989597952001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:03:38] local.INFO: DEBUG: GPS processor result {"connection_id":142717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:03:38] local.INFO: GPS data processed {"connection_id":142717,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:03:38] local.INFO: Acknowledgment sent {"connection_id":142717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:04:02] local.INFO: TCP Data received {"connection_id":142609,"ip":"42.109.136.2","data_length":93,"data_hex":"00000000000000518e010000019fa13482e80100000000000000000000000000..."} 
[2026-07-27 07:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142609,"packet_length":93,"packet_hex":"00000000000000518e010000019fa13482e80100000000000000000000000000..."} 
[2026-07-27 07:04:02] local.INFO: Processing buffer {"connection_id":142609,"buffer_length":93,"buffer_hex":"00000000000000518e010000019fa13482e80100000000000000000000000000..."} 
[2026-07-27 07:04:02] local.INFO: Packet analysis {"connection_id":142609,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019fa134"} 
[2026-07-27 07:04:02] local.INFO: Extracted packet for processing {"connection_id":142609,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019fa134"} 
[2026-07-27 07:04:02] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-27 07:04:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-07-27 07:04:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:04:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:04:02] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:04:02] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-07-27 07:04:02] local.INFO: Teltonika packet parsed successfully {"connection_id":142609,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-07-27 07:04:02] local.INFO: Passing IMEI to GPS processor {"connection_id":142609,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-27 07:04:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":142609,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-27 07:04:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-27 07:04:02] local.WARNING: DEBUG: No valid data to process  
[2026-07-27 07:04:02] local.INFO: DEBUG: GPS processor result {"connection_id":142609,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-27 07:04:02] local.ERROR: GPS data processing failed {"connection_id":142609,"error":"No valid data to process"} 
[2026-07-27 07:04:02] local.INFO: Acknowledgment sent {"connection_id":142609,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-27 07:04:09] local.INFO: TCP Data received {"connection_id":142717,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1333eb0012d7f980005afd7c0001100062b..."} 
[2026-07-27 07:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1333eb0012d7f980005afd7c0001100062b..."} 
[2026-07-27 07:04:09] local.INFO: Processing buffer {"connection_id":142717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1333eb0012d7f980005afd7c0001100062b..."} 
[2026-07-27 07:04:09] local.INFO: Packet analysis {"connection_id":142717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa133"} 
[2026-07-27 07:04:09] local.INFO: Extracted packet for processing {"connection_id":142717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa133"} 
[2026-07-27 07:04:09] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 07:04:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:04:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989597952001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:04:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:04:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:04:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:04:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785115918000,"timestamp_ms":1785115918000,"timestamp_seconds":1785115918,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1333eb0"} 
[2026-07-27 07:04:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:04:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 07: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 07:04:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:04:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:04:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:04:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:04:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:04:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:04:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:04:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:04:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:04:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:04:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989597952001,"66":25375,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 07:04:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:04:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:04:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989597952001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:04:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 07:04:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:04:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:04:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:04:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989597952001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:04:09] local.INFO: DEBUG: GPS processor result {"connection_id":142717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:04:09] local.INFO: GPS data processed {"connection_id":142717,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:04:09] local.INFO: Acknowledgment sent {"connection_id":142717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:04:32] local.INFO: TCP Data received {"connection_id":142610,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:04:32] local.INFO: Processing buffer {"connection_id":142610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:04:32] local.INFO: IMEI packet received {"connection_id":142610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 07:04:32] local.INFO: IMEI acknowledgment sent {"connection_id":142610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:04:33] local.INFO: TCP Data received {"connection_id":142609,"ip":"42.109.136.2","data_length":93,"data_hex":"00000000000000518e010000019fa134d4f00100000000000000000000000000..."} 
[2026-07-27 07:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142609,"packet_length":93,"packet_hex":"00000000000000518e010000019fa134d4f00100000000000000000000000000..."} 
[2026-07-27 07:04:33] local.INFO: Processing buffer {"connection_id":142609,"buffer_length":93,"buffer_hex":"00000000000000518e010000019fa134d4f00100000000000000000000000000..."} 
[2026-07-27 07:04:33] local.INFO: Packet analysis {"connection_id":142609,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019fa134"} 
[2026-07-27 07:04:33] local.INFO: Extracted packet for processing {"connection_id":142609,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019fa134"} 
[2026-07-27 07:04:33] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-27 07:04:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-07-27 07:04:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:04:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:04:33] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:04:33] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-07-27 07:04:33] local.INFO: Teltonika packet parsed successfully {"connection_id":142609,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-07-27 07:04:33] local.INFO: Passing IMEI to GPS processor {"connection_id":142609,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-27 07:04:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":142609,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-27 07:04:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-27 07:04:33] local.WARNING: DEBUG: No valid data to process  
[2026-07-27 07:04:33] local.INFO: DEBUG: GPS processor result {"connection_id":142609,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-27 07:04:33] local.ERROR: GPS data processing failed {"connection_id":142609,"error":"No valid data to process"} 
[2026-07-27 07:04:33] local.INFO: Acknowledgment sent {"connection_id":142609,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-27 07:04:37] local.INFO: TCP Data received {"connection_id":142610,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:04:37] local.INFO: Processing buffer {"connection_id":142610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:04:37] local.INFO: IMEI packet received {"connection_id":142610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 07:04:37] local.INFO: IMEI acknowledgment sent {"connection_id":142610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:04:38] local.INFO: TCP Data received {"connection_id":142610,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1333eb0012d7f980005afd7c0001100062b..."} 
[2026-07-27 07:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142610,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1333eb0012d7f980005afd7c0001100062b..."} 
[2026-07-27 07:04:38] local.INFO: Processing buffer {"connection_id":142610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1333eb0012d7f980005afd7c0001100062b..."} 
[2026-07-27 07:04:38] local.INFO: Packet analysis {"connection_id":142610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa133"} 
[2026-07-27 07:04:38] local.INFO: Extracted packet for processing {"connection_id":142610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa133"} 
[2026-07-27 07:04:38] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 07:04:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:04:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989597952001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:04:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:04:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:04:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:04:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785115918000,"timestamp_ms":1785115918000,"timestamp_seconds":1785115918,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1333eb0"} 
[2026-07-27 07:04:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:04:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 07:04:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 07:04:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:04:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:04:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:04:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:04:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:04:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:04:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:04:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:04:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:04:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:04:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989597952001,"66":25375,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 07:04:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:04:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:04:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989597952001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:04:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 07:04:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:04:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:04:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:04:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989597952001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:04:38] local.INFO: DEBUG: GPS processor result {"connection_id":142610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:04:38] local.INFO: GPS data processed {"connection_id":142610,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:04:38] local.INFO: Acknowledgment sent {"connection_id":142610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:05:05] local.INFO: TCP Data received {"connection_id":142609,"ip":"42.109.136.2","data_length":93,"data_hex":"00000000000000518e010000019fa13526f80100000000000000000000000000..."} 
[2026-07-27 07:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142609,"packet_length":93,"packet_hex":"00000000000000518e010000019fa13526f80100000000000000000000000000..."} 
[2026-07-27 07:05:05] local.INFO: Processing buffer {"connection_id":142609,"buffer_length":93,"buffer_hex":"00000000000000518e010000019fa13526f80100000000000000000000000000..."} 
[2026-07-27 07:05:05] local.INFO: Packet analysis {"connection_id":142609,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019fa135"} 
[2026-07-27 07:05:05] local.INFO: Extracted packet for processing {"connection_id":142609,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019fa135"} 
[2026-07-27 07:05: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-07-27 07: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":93,"current_offset":40} 
[2026-07-27 07:05:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:05:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:05:05] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:05:05] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-07-27 07:05:05] local.INFO: Teltonika packet parsed successfully {"connection_id":142609,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-07-27 07:05:05] local.INFO: Passing IMEI to GPS processor {"connection_id":142609,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-27 07:05:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":142609,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-27 07:05:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-27 07:05:05] local.WARNING: DEBUG: No valid data to process  
[2026-07-27 07:05:05] local.INFO: DEBUG: GPS processor result {"connection_id":142609,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-27 07:05:05] local.ERROR: GPS data processing failed {"connection_id":142609,"error":"No valid data to process"} 
[2026-07-27 07:05:05] local.INFO: Acknowledgment sent {"connection_id":142609,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-27 07:05:09] local.INFO: TCP Data received {"connection_id":142610,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1333eb0012d7f980005afd7c0001100062b..."} 
[2026-07-27 07:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142610,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1333eb0012d7f980005afd7c0001100062b..."} 
[2026-07-27 07:05:09] local.INFO: Processing buffer {"connection_id":142610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1333eb0012d7f980005afd7c0001100062b..."} 
[2026-07-27 07:05:09] local.INFO: Packet analysis {"connection_id":142610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa133"} 
[2026-07-27 07:05:09] local.INFO: Extracted packet for processing {"connection_id":142610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa133"} 
[2026-07-27 07:05:09] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 07:05:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:05:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989597952001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:05:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:05:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:05:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:05:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785115918000,"timestamp_ms":1785115918000,"timestamp_seconds":1785115918,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1333eb0"} 
[2026-07-27 07:05:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:05:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 07: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 07:05:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:05:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:05:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:05:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:05:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:05:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:05:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:05:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:05:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:05:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:05:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989597952001,"66":25375,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 07:05:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:05:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:05:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989597952001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:05:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 07:05:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:05:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:05:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:05:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989597952001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:05:09] local.INFO: DEBUG: GPS processor result {"connection_id":142610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:05:09] local.INFO: GPS data processed {"connection_id":142610,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:05:09] local.INFO: Acknowledgment sent {"connection_id":142610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:05:15] local.INFO: TCP Data received {"connection_id":142611,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 07:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142611,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 07:05:15] local.INFO: Processing buffer {"connection_id":142611,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 07:05:15] local.INFO: IMEI packet received {"connection_id":142611,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 07:05:15] local.INFO: IMEI acknowledgment sent {"connection_id":142611,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:05:32] local.INFO: TCP Data received {"connection_id":145012,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:05:32] local.INFO: Processing buffer {"connection_id":145012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:05:32] local.INFO: IMEI packet received {"connection_id":145012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 07:05:32] local.INFO: IMEI acknowledgment sent {"connection_id":145012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:05:37] local.INFO: TCP Data received {"connection_id":145012,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:05:37] local.INFO: Processing buffer {"connection_id":145012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:05:37] local.INFO: IMEI packet received {"connection_id":145012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 07:05:37] local.INFO: IMEI acknowledgment sent {"connection_id":145012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:05:38] local.INFO: TCP Data received {"connection_id":145012,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1333eb0012d7f980005afd7c0001100062b..."} 
[2026-07-27 07:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1333eb0012d7f980005afd7c0001100062b..."} 
[2026-07-27 07:05:38] local.INFO: Processing buffer {"connection_id":145012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1333eb0012d7f980005afd7c0001100062b..."} 
[2026-07-27 07:05:38] local.INFO: Packet analysis {"connection_id":145012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa133"} 
[2026-07-27 07:05:38] local.INFO: Extracted packet for processing {"connection_id":145012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa133"} 
[2026-07-27 07:05:38] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 07:05:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:05:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989597952001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:05:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:05:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:05:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:05:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785115918000,"timestamp_ms":1785115918000,"timestamp_seconds":1785115918,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1333eb0"} 
[2026-07-27 07:05:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:05:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 07:05:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 07:05:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:05:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:05:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:05:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:05:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:05:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:05:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:05:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:05:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:05:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:05:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989597952001,"66":25375,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 07:05:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:05:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:05:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989597952001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:05:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 07:05:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:05:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:05:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:05:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989597952001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:05:38] local.INFO: DEBUG: GPS processor result {"connection_id":145012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:05:38] local.INFO: GPS data processed {"connection_id":145012,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:05:38] local.INFO: Acknowledgment sent {"connection_id":145012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:05:39] local.INFO: TCP Data received {"connection_id":142609,"ip":"42.109.136.2","data_length":171,"data_hex":"000000000000009f8e020000019fa13579000100000000000000000000000000..."} 
[2026-07-27 07:05:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142609,"packet_length":171,"packet_hex":"000000000000009f8e020000019fa13579000100000000000000000000000000..."} 
[2026-07-27 07:05:39] local.INFO: Processing buffer {"connection_id":142609,"buffer_length":171,"buffer_hex":"000000000000009f8e020000019fa13579000100000000000000000000000000..."} 
[2026-07-27 07:05:39] local.INFO: Packet analysis {"connection_id":142609,"data_field_length":159,"total_packet_length":171,"buffer_length":171,"packet_hex_start":"000000000000009f8e020000019fa135"} 
[2026-07-27 07:05:39] local.INFO: Extracted packet for processing {"connection_id":142609,"packet_length":171,"remaining_buffer_length":0,"packet_hex_start":"000000000000009f8e020000019fa135"} 
[2026-07-27 07:05: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-07-27 07: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":171,"current_offset":40} 
[2026-07-27 07:05:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111396814409695232,"note":"Value kept but may cause issues"} 
[2026-07-27 07:05: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-07-27 07:05:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785116064000,"timestamp_ms":1785116064000,"timestamp_seconds":1785116064,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1357900"} 
[2026-07-27 07:05:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":2,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:05:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2816,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 07: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":52,"n8_eight_byte":51,"data_length":171,"current_offset":136} 
[2026-07-27 07:05:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":171,"available_bytes":35,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:05:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":171,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:05:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":2,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:05:39] local.INFO: AVL Records parsing completed {"total_expected":2,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:05:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142609,"avl_records_parsed":1,"avl_records_expected":2,"crc_valid":false} 
[2026-07-27 07:05:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142609,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:05:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142609,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:05:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:05:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 07:05:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 07:05:39] local.INFO: DEBUG: GPS processor result {"connection_id":142609,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-27 07:05:39] local.INFO: GPS data processed {"connection_id":142609,"processed":0,"errors":0,"total":1} 
[2026-07-27 07:05:39] local.INFO: Acknowledgment sent {"connection_id":142609,"records_acknowledged":1,"records_expected":2,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:05:45] local.INFO: TCP Data received {"connection_id":145013,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 07:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145013,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 07:05:45] local.INFO: Processing buffer {"connection_id":145013,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 07:05:45] local.INFO: IMEI packet received {"connection_id":145013,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 07:05:45] local.INFO: IMEI acknowledgment sent {"connection_id":145013,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:06:09] local.INFO: TCP Data received {"connection_id":145012,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1333eb0012d7f980005afd7c0001100062b..."} 
[2026-07-27 07:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1333eb0012d7f980005afd7c0001100062b..."} 
[2026-07-27 07:06:09] local.INFO: Processing buffer {"connection_id":145012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1333eb0012d7f980005afd7c0001100062b..."} 
[2026-07-27 07:06:09] local.INFO: Packet analysis {"connection_id":145012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa133"} 
[2026-07-27 07:06:09] local.INFO: Extracted packet for processing {"connection_id":145012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa133"} 
[2026-07-27 07:06:09] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 07:06:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:06:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989597952001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:06:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:06:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:06:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:06:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785115918000,"timestamp_ms":1785115918000,"timestamp_seconds":1785115918,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1333eb0"} 
[2026-07-27 07:06:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:06:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 07: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":233,"data_length":795,"current_offset":136} 
[2026-07-27 07:06:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:06:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:06:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:06:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:06:09] local.INFO: Teltonika packet parsed successfully {"connection_id":145012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:06:09] local.INFO: Passing IMEI to GPS processor {"connection_id":145012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:06:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":145012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:06:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:06:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:06:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:06:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989597952001,"66":25375,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 07:06:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:06:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:06:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989597952001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:06:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 07:06:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:06:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:06:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:06:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989597952001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:06:09] local.INFO: DEBUG: GPS processor result {"connection_id":145012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:06:09] local.INFO: GPS data processed {"connection_id":145012,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:06:09] local.INFO: Acknowledgment sent {"connection_id":145012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:06:11] local.INFO: TCP Data received {"connection_id":142609,"ip":"42.109.136.2","data_length":249,"data_hex":"00000000000000ed8e030000019fa135cb080100000000000000000000000000..."} 
[2026-07-27 07:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142609,"packet_length":249,"packet_hex":"00000000000000ed8e030000019fa135cb080100000000000000000000000000..."} 
[2026-07-27 07:06:11] local.INFO: Processing buffer {"connection_id":142609,"buffer_length":249,"buffer_hex":"00000000000000ed8e030000019fa135cb080100000000000000000000000000..."} 
[2026-07-27 07:06:11] local.INFO: Packet analysis {"connection_id":142609,"data_field_length":237,"total_packet_length":249,"buffer_length":249,"packet_hex_start":"00000000000000ed8e030000019fa135"} 
[2026-07-27 07:06:11] local.INFO: Extracted packet for processing {"connection_id":142609,"packet_length":249,"remaining_buffer_length":0,"packet_hex_start":"00000000000000ed8e030000019fa135"} 
[2026-07-27 07:06: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-07-27 07: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":249,"current_offset":40} 
[2026-07-27 07:06:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111396814409695232,"note":"Value kept but may cause issues"} 
[2026-07-27 07:06:11] 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-07-27 07:06:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785116085000,"timestamp_ms":1785116085000,"timestamp_seconds":1785116085,"priority":1,"record_length":96,"hex_timestamp":"0000019fa135cb08"} 
[2026-07-27 07:06:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":3,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:06:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4096,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 07: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":51,"n8_eight_byte":198,"data_length":249,"current_offset":136} 
[2026-07-27 07:06:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":249,"available_bytes":113,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:06:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":249,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:06:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":3,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:06:11] local.INFO: AVL Records parsing completed {"total_expected":3,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:06:11] local.INFO: Teltonika packet parsed successfully {"connection_id":142609,"avl_records_parsed":1,"avl_records_expected":3,"crc_valid":false} 
[2026-07-27 07:06:11] local.INFO: Passing IMEI to GPS processor {"connection_id":142609,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:06:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":142609,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:06:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:06:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 07:06:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 07:06:11] local.INFO: DEBUG: GPS processor result {"connection_id":142609,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-27 07:06:11] local.INFO: GPS data processed {"connection_id":142609,"processed":0,"errors":0,"total":1} 
[2026-07-27 07:06:11] local.INFO: Acknowledgment sent {"connection_id":142609,"records_acknowledged":1,"records_expected":3,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:06:32] local.INFO: TCP Data received {"connection_id":142612,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:06:32] local.INFO: Processing buffer {"connection_id":142612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:06:32] local.INFO: IMEI packet received {"connection_id":142612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 07:06:32] local.INFO: IMEI acknowledgment sent {"connection_id":142612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:06:37] local.INFO: TCP Data received {"connection_id":142612,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:06:37] local.INFO: Processing buffer {"connection_id":142612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:06:37] local.INFO: IMEI packet received {"connection_id":142612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 07:06:37] local.INFO: IMEI acknowledgment sent {"connection_id":142612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:06:38] local.INFO: TCP Data received {"connection_id":142612,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1333eb0012d7f980005afd7c0001100062b..."} 
[2026-07-27 07:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1333eb0012d7f980005afd7c0001100062b..."} 
[2026-07-27 07:06:38] local.INFO: Processing buffer {"connection_id":142612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1333eb0012d7f980005afd7c0001100062b..."} 
[2026-07-27 07:06:38] local.INFO: Packet analysis {"connection_id":142612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa133"} 
[2026-07-27 07:06:38] local.INFO: Extracted packet for processing {"connection_id":142612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa133"} 
[2026-07-27 07:06:38] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 07:06:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:06:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989597952001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:06:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:06:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:06:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:06:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785115918000,"timestamp_ms":1785115918000,"timestamp_seconds":1785115918,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1333eb0"} 
[2026-07-27 07:06:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:06:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 07:06:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 07:06:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:06:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:06:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:06:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:06:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:06:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:06:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:06:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:06:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:06:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:06:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989597952001,"66":25375,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 07:06:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:06:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:06:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989597952001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:06:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 07:06:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:06:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:06:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:06:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989597952001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:06:38] local.INFO: DEBUG: GPS processor result {"connection_id":142612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:06:38] local.INFO: GPS data processed {"connection_id":142612,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:06:38] local.INFO: Acknowledgment sent {"connection_id":142612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:06:46] local.INFO: TCP Data received {"connection_id":142609,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1373a38012d7fd48005d397d80009005815..."} 
[2026-07-27 07:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1373a38012d7fd48005d397d80009005815..."} 
[2026-07-27 07:06:46] local.INFO: Processing buffer {"connection_id":142609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1373a38012d7fd48005d397d80009005815..."} 
[2026-07-27 07:06:46] local.INFO: Packet analysis {"connection_id":142609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa137"} 
[2026-07-27 07:06:46] local.INFO: Extracted packet for processing {"connection_id":142609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa137"} 
[2026-07-27 07:06:46] local.INFO: GPS Element Parsed {"raw_longitude":763352192,"raw_latitude":97753048,"longitude_deg":76.3352192,"latitude_deg":9.7753048,"altitude":9,"angle":88,"satellites":21,"speed":46,"hex_longitude":"2d7fd480","hex_latitude":"05d397d8","is_valid_coordinates":true} 
[2026-07-27 07:06:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:06:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989739520001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:06:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111399404274974720,"note":"Value kept but may cause issues"} 
[2026-07-27 07:06:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200502220021721088,"note":"Value kept but may cause issues"} 
[2026-07-27 07:06:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:06:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785116179000,"timestamp_ms":1785116179000,"timestamp_seconds":1785116179,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1373a38"} 
[2026-07-27 07:06:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:06:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8192,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 07:06:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-27 07:06:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:06:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:06:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:06:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:06:46] local.INFO: Teltonika packet parsed successfully {"connection_id":142609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:06:46] local.INFO: Passing IMEI to GPS processor {"connection_id":142609,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:06:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":142609,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:06:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:06:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 07:06:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 07:06:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989739520001,"66":13200,"109":206,"85":15104,"24":46,"16":111399404274974720,"45":9200502220021721088},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-27 07:06:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 07:06:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 07:06:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989739520001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:06:46] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-27 07:06:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 07:06:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111399404274974720,"km_value":111399404274974.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:06:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200502220021721088,"description":"Unknown IO ID 45"} 
[2026-07-27 07:06:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989739520001,"power":13200,"unknown_109":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":9200502220021721088}} 
[2026-07-27 07:06:46] local.INFO: DEBUG: GPS processor result {"connection_id":142609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551667,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:06:46] local.INFO: GPS data processed {"connection_id":142609,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:06:46] local.INFO: Acknowledgment sent {"connection_id":142609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:06:58] local.INFO: TCP Data received {"connection_id":143695,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143695,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:06:58] local.INFO: Processing buffer {"connection_id":143695,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:06:58] local.INFO: IMEI packet received {"connection_id":143695,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 07:06:58] local.INFO: IMEI acknowledgment sent {"connection_id":143695,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:06:59] local.INFO: TCP Data received {"connection_id":143695,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143695,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:06:59] local.INFO: Processing buffer {"connection_id":143695,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:06:59] local.INFO: IMEI packet received {"connection_id":143695,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 07:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":143695,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:07:03] local.INFO: TCP Data received {"connection_id":143695,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143695,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:07:03] local.INFO: Processing buffer {"connection_id":143695,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:07:03] local.INFO: IMEI packet received {"connection_id":143695,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 07:07:03] local.INFO: IMEI acknowledgment sent {"connection_id":143695,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:07:04] local.INFO: TCP Data received {"connection_id":143695,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1375d60012d7ffa8005d398800005005715..."} 
[2026-07-27 07:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1375d60012d7ffa8005d398800005005715..."} 
[2026-07-27 07:07:04] local.INFO: Processing buffer {"connection_id":143695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1375d60012d7ffa8005d398800005005715..."} 
[2026-07-27 07:07:04] local.INFO: Packet analysis {"connection_id":143695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa137"} 
[2026-07-27 07:07:04] local.INFO: Extracted packet for processing {"connection_id":143695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa137"} 
[2026-07-27 07:07:04] local.INFO: GPS Element Parsed {"raw_longitude":763361920,"raw_latitude":97753216,"longitude_deg":76.336192,"latitude_deg":9.7753216,"altitude":5,"angle":87,"satellites":21,"speed":34,"hex_longitude":"2d7ffa80","hex_latitude":"05d39880","is_valid_coordinates":true} 
[2026-07-27 07:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:07:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989741824001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:07:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111399868131442688,"note":"Value kept but may cause issues"} 
[2026-07-27 07:07:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9211127900392642560,"note":"Value kept but may cause issues"} 
[2026-07-27 07:07:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:07:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785116188000,"timestamp_ms":1785116188000,"timestamp_seconds":1785116188,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1375d60"} 
[2026-07-27 07:07:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:07:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8448,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 07:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-07-27 07:07:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1749,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:07:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:07:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:07:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:07:04] local.INFO: Teltonika packet parsed successfully {"connection_id":143695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:07:04] local.INFO: Passing IMEI to GPS processor {"connection_id":143695,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:07:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":143695,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:07:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:07:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 07:07:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 07:07:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989741824001,"66":12993,"109":206,"85":15104,"24":34,"16":111399868131442688,"45":9211127900392642560},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-27 07:07:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 07:07:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 07:07:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989741824001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:07:04] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-27 07:07:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 07:07:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111399868131442688,"km_value":111399868131442.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:07:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9211127900392642560,"description":"Unknown IO ID 45"} 
[2026-07-27 07:07:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989741824001,"power":12993,"unknown_109":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":9211127900392642560}} 
[2026-07-27 07:07:04] local.INFO: DEBUG: GPS processor result {"connection_id":143695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551668,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:07:04] local.INFO: GPS data processed {"connection_id":143695,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:07:04] local.INFO: Acknowledgment sent {"connection_id":143695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:07:09] local.INFO: TCP Data received {"connection_id":142612,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1333eb0012d7f980005afd7c0001100062b..."} 
[2026-07-27 07:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1333eb0012d7f980005afd7c0001100062b..."} 
[2026-07-27 07:07:09] local.INFO: Processing buffer {"connection_id":142612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1333eb0012d7f980005afd7c0001100062b..."} 
[2026-07-27 07:07:09] local.INFO: Packet analysis {"connection_id":142612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa133"} 
[2026-07-27 07:07:09] local.INFO: Extracted packet for processing {"connection_id":142612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa133"} 
[2026-07-27 07:07:09] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 07:07:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:07:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989597952001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:07:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:07:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:07:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:07:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785115918000,"timestamp_ms":1785115918000,"timestamp_seconds":1785115918,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1333eb0"} 
[2026-07-27 07:07:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:07:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 07:07:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 07:07:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:07:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:07:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:07:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:07:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:07:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:07:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:07:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:07:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:07:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:07:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989597952001,"66":25375,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 07:07:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:07:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:07:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989597952001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:07:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 07:07:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:07:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:07:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:07:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989597952001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:07:09] local.INFO: DEBUG: GPS processor result {"connection_id":142612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:07:09] local.INFO: GPS data processed {"connection_id":142612,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:07:09] local.INFO: Acknowledgment sent {"connection_id":142612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:07:32] local.INFO: TCP Data received {"connection_id":142720,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:07:32] local.INFO: Processing buffer {"connection_id":142720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:07:32] local.INFO: IMEI packet received {"connection_id":142720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 07:07:32] local.INFO: IMEI acknowledgment sent {"connection_id":142720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:07:35] local.INFO: TCP Data received {"connection_id":143695,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1378470012d801e4005d397b80000005e16..."} 
[2026-07-27 07:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1378470012d801e4005d397b80000005e16..."} 
[2026-07-27 07:07:35] local.INFO: Processing buffer {"connection_id":143695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1378470012d801e4005d397b80000005e16..."} 
[2026-07-27 07:07:35] local.INFO: Packet analysis {"connection_id":143695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa137"} 
[2026-07-27 07:07:35] local.INFO: Extracted packet for processing {"connection_id":143695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa137"} 
[2026-07-27 07:07:35] local.INFO: GPS Element Parsed {"raw_longitude":763371072,"raw_latitude":97753016,"longitude_deg":76.3371072,"latitude_deg":9.7753016,"altitude":0,"angle":94,"satellites":22,"speed":46,"hex_longitude":"2d801e40","hex_latitude":"05d397b8","is_valid_coordinates":true} 
[2026-07-27 07:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:07:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989744128001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:07:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111400306218106880,"note":"Value kept but may cause issues"} 
[2026-07-27 07:07:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9221823949507690496,"note":"Value kept but may cause issues"} 
[2026-07-27 07:07:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:07:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785116198000,"timestamp_ms":1785116198000,"timestamp_seconds":1785116198,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1378470"} 
[2026-07-27 07:07:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:07:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8704,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 07:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-07-27 07:07:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:07:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:07:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:07:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:07:35] local.INFO: Teltonika packet parsed successfully {"connection_id":143695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:07:35] local.INFO: Passing IMEI to GPS processor {"connection_id":143695,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:07:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":143695,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:07:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:07:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 07:07:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 07:07:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989744128001,"66":13178,"109":206,"85":15104,"24":46,"16":111400306218106880,"45":9221823949507690496},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-27 07:07:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 07:07:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 07:07:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989744128001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:07:35] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-27 07:07:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 07:07:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111400306218106880,"km_value":111400306218106.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:07:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9221823949507690496,"description":"Unknown IO ID 45"} 
[2026-07-27 07:07:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989744128001,"power":13178,"unknown_109":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":9221823949507690496}} 
[2026-07-27 07:07:35] local.INFO: DEBUG: GPS processor result {"connection_id":143695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551670,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:07:35] local.INFO: GPS data processed {"connection_id":143695,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:07:35] local.INFO: Acknowledgment sent {"connection_id":143695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:07:37] local.INFO: TCP Data received {"connection_id":142720,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:07:37] local.INFO: Processing buffer {"connection_id":142720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:07:37] local.INFO: IMEI packet received {"connection_id":142720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 07:07:37] local.INFO: IMEI acknowledgment sent {"connection_id":142720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:07:37] local.INFO: TCP Data received {"connection_id":142720,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa137d678012d7f980005afd7c0001000062b..."} 
[2026-07-27 07:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa137d678012d7f980005afd7c0001000062b..."} 
[2026-07-27 07:07:37] local.INFO: Processing buffer {"connection_id":142720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa137d678012d7f980005afd7c0001000062b..."} 
[2026-07-27 07:07:37] local.INFO: Packet analysis {"connection_id":142720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa137"} 
[2026-07-27 07:07:37] local.INFO: Extracted packet for processing {"connection_id":142720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa137"} 
[2026-07-27 07:07:37] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":16,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 07:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989675008001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:07:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:07:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785116219000,"timestamp_ms":1785116219000,"timestamp_seconds":1785116219,"priority":1,"record_length":96,"hex_timestamp":"0000019fa137d678"} 
[2026-07-27 07:07:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:07:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 07:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 07:07:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:07:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:07:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":142720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":142720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":142720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:07:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989675008001,"66":25321,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 07:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989675008001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:07:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 07:07:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:07:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:07:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989675008001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:07:37] local.INFO: DEBUG: GPS processor result {"connection_id":142720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:07:37] local.INFO: GPS data processed {"connection_id":142720,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:07:37] local.INFO: Acknowledgment sent {"connection_id":142720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:08:08] local.INFO: TCP Data received {"connection_id":143695,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa138b138012d80ab8005d32550000100c018..."} 
[2026-07-27 07:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa138b138012d80ab8005d32550000100c018..."} 
[2026-07-27 07:08:08] local.INFO: Processing buffer {"connection_id":143695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa138b138012d80ab8005d32550000100c018..."} 
[2026-07-27 07:08:08] local.INFO: Packet analysis {"connection_id":143695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa138"} 
[2026-07-27 07:08:08] local.INFO: Extracted packet for processing {"connection_id":143695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa138"} 
[2026-07-27 07:08:08] local.INFO: GPS Element Parsed {"raw_longitude":763407232,"raw_latitude":97723728,"longitude_deg":76.3407232,"latitude_deg":9.7723728,"altitude":1,"angle":192,"satellites":24,"speed":43,"hex_longitude":"2d80ab80","hex_latitude":"05d32550","is_valid_coordinates":true} 
[2026-07-27 07:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:08:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989765376001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:08:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111403158076391424,"note":"Value kept but may cause issues"} 
[2026-07-27 07:08:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9174887947097950208,"note":"Value kept but may cause issues"} 
[2026-07-27 07:08:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:08:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785116275000,"timestamp_ms":1785116275000,"timestamp_seconds":1785116275,"priority":1,"record_length":96,"hex_timestamp":"0000019fa138b138"} 
[2026-07-27 07:08:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:08:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10752,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 07: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-27 07:08:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:08:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:08:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:08:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:08:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:08:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143695,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:08:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143695,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:08:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:08:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 07:08:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 07:08:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989765376001,"66":13450,"167":206,"85":15104,"24":43,"16":111403158076391424,"45":-9174887947097950208},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-27 07:08:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 07:08:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 07:08:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989765376001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:08:08] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-27 07:08:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 07:08:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111403158076391424,"km_value":111403158076391.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:08:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9174887947097950208,"description":"Unknown IO ID 45"} 
[2026-07-27 07:08:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989765376001,"power":13450,"unknown_167":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":-9174887947097950208}} 
[2026-07-27 07:08:08] local.INFO: DEBUG: GPS processor result {"connection_id":143695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551672,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:08:08] local.INFO: GPS data processed {"connection_id":143695,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:08:08] local.INFO: Acknowledgment sent {"connection_id":143695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:08:08] local.INFO: TCP Data received {"connection_id":142720,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa137d678012d7f980005afd7c0001000062b..."} 
[2026-07-27 07:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa137d678012d7f980005afd7c0001000062b..."} 
[2026-07-27 07:08:08] local.INFO: Processing buffer {"connection_id":142720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa137d678012d7f980005afd7c0001000062b..."} 
[2026-07-27 07:08:08] local.INFO: Packet analysis {"connection_id":142720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa137"} 
[2026-07-27 07:08:08] local.INFO: Extracted packet for processing {"connection_id":142720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa137"} 
[2026-07-27 07:08:08] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":16,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 07:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:08:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989675008001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:08:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:08:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:08:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:08:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785116219000,"timestamp_ms":1785116219000,"timestamp_seconds":1785116219,"priority":1,"record_length":96,"hex_timestamp":"0000019fa137d678"} 
[2026-07-27 07:08:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:08:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 07: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":31,"data_length":795,"current_offset":136} 
[2026-07-27 07:08:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:08:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:08:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:08:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:08:08] local.INFO: Teltonika packet parsed successfully {"connection_id":142720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:08:08] local.INFO: Passing IMEI to GPS processor {"connection_id":142720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:08:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":142720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:08:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:08:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:08:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:08:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989675008001,"66":25321,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 07:08:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:08:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:08:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989675008001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:08:08] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 07:08:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:08:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:08:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:08:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989675008001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:08:08] local.INFO: DEBUG: GPS processor result {"connection_id":142720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:08:08] local.INFO: GPS data processed {"connection_id":142720,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:08:08] local.INFO: Acknowledgment sent {"connection_id":142720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:08:37] local.INFO: TCP Data received {"connection_id":143696,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:08:37] local.INFO: Processing buffer {"connection_id":143696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:08:37] local.INFO: IMEI packet received {"connection_id":143696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 07:08:37] local.INFO: IMEI acknowledgment sent {"connection_id":143696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:08:38] local.INFO: TCP Data received {"connection_id":143695,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa138d460012d80a6c005d302b8000200b518..."} 
[2026-07-27 07:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa138d460012d80a6c005d302b8000200b518..."} 
[2026-07-27 07:08:38] local.INFO: Processing buffer {"connection_id":143695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa138d460012d80a6c005d302b8000200b518..."} 
[2026-07-27 07:08:38] local.INFO: Packet analysis {"connection_id":143695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa138"} 
[2026-07-27 07:08:38] local.INFO: Extracted packet for processing {"connection_id":143695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa138"} 
[2026-07-27 07:08:38] local.INFO: GPS Element Parsed {"raw_longitude":763406016,"raw_latitude":97714872,"longitude_deg":76.3406016,"latitude_deg":9.7714872,"altitude":2,"angle":181,"satellites":24,"speed":30,"hex_longitude":"2d80a6c0","hex_latitude":"05d302b8","is_valid_coordinates":true} 
[2026-07-27 07:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:08:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989766400001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:08:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111403591868088320,"note":"Value kept but may cause issues"} 
[2026-07-27 07:08:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9175099053331623936,"note":"Value kept but may cause issues"} 
[2026-07-27 07:08:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:08:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785116284000,"timestamp_ms":1785116284000,"timestamp_seconds":1785116284,"priority":1,"record_length":96,"hex_timestamp":"0000019fa138d460"} 
[2026-07-27 07:08:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:08:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10752,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 07:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-07-27 07:08:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:08:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:08:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:08:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:08:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:08:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143695,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:08:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143695,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:08:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:08:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 07:08:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 07:08:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989766400001,"66":13406,"167":206,"85":15104,"24":30,"16":111403591868088320,"45":-9175099053331623936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-27 07:08:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 07:08:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 07:08:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989766400001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:08:38] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-27 07:08:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 07:08:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111403591868088320,"km_value":111403591868088.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:08:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9175099053331623936,"description":"Unknown IO ID 45"} 
[2026-07-27 07:08:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989766400001,"power":13406,"unknown_167":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":-9175099053331623936}} 
[2026-07-27 07:08:38] local.INFO: DEBUG: GPS processor result {"connection_id":143695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551674,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:08:38] local.INFO: GPS data processed {"connection_id":143695,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:08:38] local.INFO: Acknowledgment sent {"connection_id":143695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:08:43] local.INFO: TCP Data received {"connection_id":143696,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:08:43] local.INFO: Processing buffer {"connection_id":143696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:08:43] local.INFO: IMEI packet received {"connection_id":143696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 07:08:43] local.INFO: IMEI acknowledgment sent {"connection_id":143696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:08:44] local.INFO: TCP Data received {"connection_id":143696,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa137d678012d7f980005afd7c0001000062b..."} 
[2026-07-27 07:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa137d678012d7f980005afd7c0001000062b..."} 
[2026-07-27 07:08:44] local.INFO: Processing buffer {"connection_id":143696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa137d678012d7f980005afd7c0001000062b..."} 
[2026-07-27 07:08:44] local.INFO: Packet analysis {"connection_id":143696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa137"} 
[2026-07-27 07:08:44] local.INFO: Extracted packet for processing {"connection_id":143696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa137"} 
[2026-07-27 07:08:44] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":16,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 07:08:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:08:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989675008001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:08:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:08:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:08:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:08:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785116219000,"timestamp_ms":1785116219000,"timestamp_seconds":1785116219,"priority":1,"record_length":96,"hex_timestamp":"0000019fa137d678"} 
[2026-07-27 07:08:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:08:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 07:08:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 07:08:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:08:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:08:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:08:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:08:44] local.INFO: Teltonika packet parsed successfully {"connection_id":143696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:08:44] local.INFO: Passing IMEI to GPS processor {"connection_id":143696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:08:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":143696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:08:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:08:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:08:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:08:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989675008001,"66":25321,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 07:08:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:08:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:08:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989675008001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:08:44] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 07:08:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:08:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:08:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:08:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989675008001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:08:44] local.INFO: DEBUG: GPS processor result {"connection_id":143696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:08:44] local.INFO: GPS data processed {"connection_id":143696,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:08:44] local.INFO: Acknowledgment sent {"connection_id":143696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:08:48] local.INFO: TCP Data received {"connection_id":143696,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa137d678012d7f980005afd7c0001000062b..."} 
[2026-07-27 07:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa137d678012d7f980005afd7c0001000062b..."} 
[2026-07-27 07:08:48] local.INFO: Processing buffer {"connection_id":143696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa137d678012d7f980005afd7c0001000062b..."} 
[2026-07-27 07:08:48] local.INFO: Packet analysis {"connection_id":143696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa137"} 
[2026-07-27 07:08:48] local.INFO: Extracted packet for processing {"connection_id":143696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa137"} 
[2026-07-27 07:08:48] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":16,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 07:08:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:08:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989675008001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:08:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:08:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:08:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:08:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785116219000,"timestamp_ms":1785116219000,"timestamp_seconds":1785116219,"priority":1,"record_length":96,"hex_timestamp":"0000019fa137d678"} 
[2026-07-27 07:08:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:08:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 07: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 07:08:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:08:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:08:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:08:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:08:48] local.INFO: Teltonika packet parsed successfully {"connection_id":143696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:08:48] local.INFO: Passing IMEI to GPS processor {"connection_id":143696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:08:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":143696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:08:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:08:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:08:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:08:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989675008001,"66":25321,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 07:08:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:08:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:08:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989675008001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:08:48] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 07:08:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:08:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:08:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:08:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989675008001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:08:48] local.INFO: DEBUG: GPS processor result {"connection_id":143696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:08:48] local.INFO: GPS data processed {"connection_id":143696,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:08:48] local.INFO: Acknowledgment sent {"connection_id":143696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:08:57] local.INFO: TCP Data received {"connection_id":142613,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142613,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:08:57] local.INFO: Processing buffer {"connection_id":142613,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:08:57] local.INFO: IMEI packet received {"connection_id":142613,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 07:08:57] local.INFO: IMEI acknowledgment sent {"connection_id":142613,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:08:58] local.INFO: TCP Data received {"connection_id":142613,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142613,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:08:58] local.INFO: Processing buffer {"connection_id":142613,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:08:58] local.INFO: IMEI packet received {"connection_id":142613,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 07:08:58] local.INFO: IMEI acknowledgment sent {"connection_id":142613,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:09:03] local.INFO: TCP Data received {"connection_id":142613,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142613,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:09:03] local.INFO: Processing buffer {"connection_id":142613,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:09:03] local.INFO: IMEI packet received {"connection_id":142613,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 07:09:03] local.INFO: IMEI acknowledgment sent {"connection_id":142613,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:09:04] local.INFO: TCP Data received {"connection_id":142613,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1395160012d80cdc005d2c3b8000000b118..."} 
[2026-07-27 07:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1395160012d80cdc005d2c3b8000000b118..."} 
[2026-07-27 07:09:04] local.INFO: Processing buffer {"connection_id":142613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1395160012d80cdc005d2c3b8000000b118..."} 
[2026-07-27 07:09:04] local.INFO: Packet analysis {"connection_id":142613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa139"} 
[2026-07-27 07:09:04] local.INFO: Extracted packet for processing {"connection_id":142613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa139"} 
[2026-07-27 07:09:04] local.INFO: GPS Element Parsed {"raw_longitude":763416000,"raw_latitude":97698744,"longitude_deg":76.3416,"latitude_deg":9.7698744,"altitude":0,"angle":177,"satellites":24,"speed":39,"hex_longitude":"2d80cdc0","hex_latitude":"05d2c3b8","is_valid_coordinates":true} 
[2026-07-27 07:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:09:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989774592001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:09:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111404712854552576,"note":"Value kept but may cause issues"} 
[2026-07-27 07:09:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9166162222825003008,"note":"Value kept but may cause issues"} 
[2026-07-27 07:09:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:09:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785116316000,"timestamp_ms":1785116316000,"timestamp_seconds":1785116316,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1395160"} 
[2026-07-27 07:09:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:09:04] 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-07-27 07:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-27 07:09:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:09:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:09:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:09:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:09:04] local.INFO: Teltonika packet parsed successfully {"connection_id":142613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:09:04] local.INFO: Passing IMEI to GPS processor {"connection_id":142613,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:09:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":142613,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:09:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:09:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 07:09:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 07:09:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989774592001,"66":12961,"208":206,"85":15104,"24":39,"16":111404712854552576,"45":-9166162222825003008},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-07-27 07:09:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 07:09:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 07:09:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989774592001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:09:04] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-07-27 07:09:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 07:09:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111404712854552576,"km_value":111404712854552.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:09:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9166162222825003008,"description":"Unknown IO ID 45"} 
[2026-07-27 07:09:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989774592001,"power":12961,"unknown_208":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":-9166162222825003008}} 
[2026-07-27 07:09:04] local.INFO: DEBUG: GPS processor result {"connection_id":142613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551677,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:09:04] local.INFO: GPS data processed {"connection_id":142613,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:09:04] local.INFO: Acknowledgment sent {"connection_id":142613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:09:33] local.INFO: TCP Data received {"connection_id":143697,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:09:33] local.INFO: Processing buffer {"connection_id":143697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:09:33] local.INFO: IMEI packet received {"connection_id":143697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 07:09:33] local.INFO: IMEI acknowledgment sent {"connection_id":143697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:09:35] local.INFO: TCP Data received {"connection_id":142613,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa13a2450012d811bc005d267300000009718..."} 
[2026-07-27 07:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa13a2450012d811bc005d267300000009718..."} 
[2026-07-27 07:09:35] local.INFO: Processing buffer {"connection_id":142613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa13a2450012d811bc005d267300000009718..."} 
[2026-07-27 07:09:35] local.INFO: Packet analysis {"connection_id":142613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa13a"} 
[2026-07-27 07:09:35] local.INFO: Extracted packet for processing {"connection_id":142613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa13a"} 
[2026-07-27 07:09:35] local.INFO: GPS Element Parsed {"raw_longitude":763435968,"raw_latitude":97675056,"longitude_deg":76.3435968,"latitude_deg":9.7675056,"altitude":0,"angle":151,"satellites":24,"speed":20,"hex_longitude":"2d811bc0","hex_latitude":"05d26730","is_valid_coordinates":true} 
[2026-07-27 07:09:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:09:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989790208001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:09:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111406443726372864,"note":"Value kept but may cause issues"} 
[2026-07-27 07:09:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9144277543394072576,"note":"Value kept but may cause issues"} 
[2026-07-27 07:09:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:09:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785116370000,"timestamp_ms":1785116370000,"timestamp_seconds":1785116370,"priority":1,"record_length":96,"hex_timestamp":"0000019fa13a2450"} 
[2026-07-27 07:09:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:09:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12544,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 07:09:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-27 07:09:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:09:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:09:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:09:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:09:35] local.INFO: Teltonika packet parsed successfully {"connection_id":142613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:09:35] local.INFO: Passing IMEI to GPS processor {"connection_id":142613,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:09:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":142613,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:09:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:09:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 07:09:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 07:09:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989790208001,"66":13276,"208":206,"85":15104,"24":20,"16":111406443726372864,"45":-9144277543394072576},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-07-27 07:09:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 07:09:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 07:09:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989790208001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:09:35] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-07-27 07:09:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 07:09:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111406443726372864,"km_value":111406443726372.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:09:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9144277543394072576,"description":"Unknown IO ID 45"} 
[2026-07-27 07:09:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989790208001,"power":13276,"unknown_208":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":-9144277543394072576}} 
[2026-07-27 07:09:35] local.INFO: DEBUG: GPS processor result {"connection_id":142613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551678,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:09:35] local.INFO: GPS data processed {"connection_id":142613,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:09:35] local.INFO: Acknowledgment sent {"connection_id":142613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:09:38] local.INFO: TCP Data received {"connection_id":143697,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:09:38] local.INFO: Processing buffer {"connection_id":143697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:09:38] local.INFO: IMEI packet received {"connection_id":143697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 07:09:38] local.INFO: IMEI acknowledgment sent {"connection_id":143697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:09:38] local.INFO: TCP Data received {"connection_id":143697,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa137d678012d7f980005afd7c0001000062b..."} 
[2026-07-27 07:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa137d678012d7f980005afd7c0001000062b..."} 
[2026-07-27 07:09:38] local.INFO: Processing buffer {"connection_id":143697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa137d678012d7f980005afd7c0001000062b..."} 
[2026-07-27 07:09:38] local.INFO: Packet analysis {"connection_id":143697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa137"} 
[2026-07-27 07:09:38] local.INFO: Extracted packet for processing {"connection_id":143697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa137"} 
[2026-07-27 07:09:38] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":16,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 07:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:09:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989675008001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:09:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:09:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:09:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:09:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785116219000,"timestamp_ms":1785116219000,"timestamp_seconds":1785116219,"priority":1,"record_length":96,"hex_timestamp":"0000019fa137d678"} 
[2026-07-27 07:09:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:09:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 07:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 07:09:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:09:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:09:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:09:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:09:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:09:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:09:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:09:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:09:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:09:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:09:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989675008001,"66":25321,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 07:09:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:09:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:09:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989675008001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:09:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 07:09:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:09:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:09:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:09:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989675008001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:09:38] local.INFO: DEBUG: GPS processor result {"connection_id":143697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:09:38] local.INFO: GPS data processed {"connection_id":143697,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:09:38] local.INFO: Acknowledgment sent {"connection_id":143697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:09:43] local.INFO: TCP Data received {"connection_id":143697,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa137d678012d7f980005afd7c0001000062b..."} 
[2026-07-27 07:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa137d678012d7f980005afd7c0001000062b..."} 
[2026-07-27 07:09:43] local.INFO: Processing buffer {"connection_id":143697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa137d678012d7f980005afd7c0001000062b..."} 
[2026-07-27 07:09:43] local.INFO: Packet analysis {"connection_id":143697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa137"} 
[2026-07-27 07:09:43] local.INFO: Extracted packet for processing {"connection_id":143697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa137"} 
[2026-07-27 07:09:43] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":16,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 07:09:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:09:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989675008001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:09:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:09:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:09:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:09:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785116219000,"timestamp_ms":1785116219000,"timestamp_seconds":1785116219,"priority":1,"record_length":96,"hex_timestamp":"0000019fa137d678"} 
[2026-07-27 07:09:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:09:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 07:09:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 07:09:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:09:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:09:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:09:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:09:43] local.INFO: Teltonika packet parsed successfully {"connection_id":143697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:09:43] local.INFO: Passing IMEI to GPS processor {"connection_id":143697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:09:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":143697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:09:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:09:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:09:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:09:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989675008001,"66":25321,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 07:09:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:09:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:09:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989675008001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:09:43] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 07:09:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:09:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:09:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:09:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989675008001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:09:43] local.INFO: DEBUG: GPS processor result {"connection_id":143697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:09:43] local.INFO: GPS data processed {"connection_id":143697,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:09:43] local.INFO: Acknowledgment sent {"connection_id":143697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:09:58] local.INFO: TCP Data received {"connection_id":145017,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145017,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:09:58] local.INFO: Processing buffer {"connection_id":145017,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:09:58] local.INFO: IMEI packet received {"connection_id":145017,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 07:09:58] local.INFO: IMEI acknowledgment sent {"connection_id":145017,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:10:02] local.INFO: TCP Data received {"connection_id":145017,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145017,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:10:02] local.INFO: Processing buffer {"connection_id":145017,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:10:02] local.INFO: IMEI packet received {"connection_id":145017,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 07:10:02] local.INFO: IMEI acknowledgment sent {"connection_id":145017,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:10:03] local.INFO: TCP Data received {"connection_id":145017,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145017,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:10:03] local.INFO: Processing buffer {"connection_id":145017,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:10:03] local.INFO: IMEI packet received {"connection_id":145017,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 07:10:03] local.INFO: IMEI acknowledgment sent {"connection_id":145017,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:10:04] local.INFO: TCP Data received {"connection_id":145017,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa13a2838012d811c0005d26508000000a818..."} 
[2026-07-27 07:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa13a2838012d811c0005d26508000000a818..."} 
[2026-07-27 07:10:04] local.INFO: Processing buffer {"connection_id":145017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa13a2838012d811c0005d26508000000a818..."} 
[2026-07-27 07:10:04] local.INFO: Packet analysis {"connection_id":145017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa13a"} 
[2026-07-27 07:10:04] local.INFO: Extracted packet for processing {"connection_id":145017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa13a"} 
[2026-07-27 07:10:04] local.INFO: GPS Element Parsed {"raw_longitude":763436032,"raw_latitude":97674504,"longitude_deg":76.3436032,"latitude_deg":9.7674504,"altitude":0,"angle":168,"satellites":24,"speed":22,"hex_longitude":"2d811c00","hex_latitude":"05d26508","is_valid_coordinates":true} 
[2026-07-27 07:10:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:10:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989790720001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:10:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111406473791143936,"note":"Value kept but may cause issues"} 
[2026-07-27 07:10:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9143503487208312832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:10:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:10:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785116371000,"timestamp_ms":1785116371000,"timestamp_seconds":1785116371,"priority":1,"record_length":96,"hex_timestamp":"0000019fa13a2838"} 
[2026-07-27 07:10:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:10:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12544,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 07:10:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-27 07:10:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:10:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:10:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:10:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:10:04] local.INFO: Teltonika packet parsed successfully {"connection_id":145017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:10:04] local.INFO: Passing IMEI to GPS processor {"connection_id":145017,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:10:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":145017,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:10:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:10:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 07:10:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 07:10:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989790720001,"66":13276,"208":206,"85":15104,"24":22,"16":111406473791143936,"45":-9143503487208312832},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-07-27 07:10:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 07:10:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 07:10:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989790720001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:10:04] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-07-27 07:10:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 07:10:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111406473791143936,"km_value":111406473791143.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:10:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9143503487208312832,"description":"Unknown IO ID 45"} 
[2026-07-27 07:10:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989790720001,"power":13276,"unknown_208":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":-9143503487208312832}} 
[2026-07-27 07:10:04] local.INFO: DEBUG: GPS processor result {"connection_id":145017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551681,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:10:04] local.INFO: GPS data processed {"connection_id":145017,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:10:04] local.INFO: Acknowledgment sent {"connection_id":145017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:10:14] local.INFO: TCP Data received {"connection_id":143697,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa137d678012d7f980005afd7c0001000062b..."} 
[2026-07-27 07:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa137d678012d7f980005afd7c0001000062b..."} 
[2026-07-27 07:10:14] local.INFO: Processing buffer {"connection_id":143697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa137d678012d7f980005afd7c0001000062b..."} 
[2026-07-27 07:10:14] local.INFO: Packet analysis {"connection_id":143697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa137"} 
[2026-07-27 07:10:14] local.INFO: Extracted packet for processing {"connection_id":143697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa137"} 
[2026-07-27 07:10:14] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":16,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 07: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-07-27 07:10:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989675008001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:10:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:10:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:10:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:10:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785116219000,"timestamp_ms":1785116219000,"timestamp_seconds":1785116219,"priority":1,"record_length":96,"hex_timestamp":"0000019fa137d678"} 
[2026-07-27 07:10:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:10:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 07: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":31,"data_length":795,"current_offset":136} 
[2026-07-27 07:10:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07: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-07-27 07:10:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:10:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:10:14] local.INFO: Teltonika packet parsed successfully {"connection_id":143697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:10:14] local.INFO: Passing IMEI to GPS processor {"connection_id":143697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:10:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":143697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:10:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:10:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:10:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:10:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989675008001,"66":25321,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 07:10:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:10:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:10:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989675008001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:10:14] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 07:10:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:10:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:10:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:10:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989675008001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:10:14] local.INFO: DEBUG: GPS processor result {"connection_id":143697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:10:14] local.INFO: GPS data processed {"connection_id":143697,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:10:14] local.INFO: Acknowledgment sent {"connection_id":143697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:10:33] local.INFO: TCP Data received {"connection_id":145018,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:10:33] local.INFO: Processing buffer {"connection_id":145018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:10:33] local.INFO: IMEI packet received {"connection_id":145018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 07:10:33] local.INFO: IMEI acknowledgment sent {"connection_id":145018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:10:36] local.INFO: TCP Data received {"connection_id":145017,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa13b02f8012d8113c005d18ae00000007019..."} 
[2026-07-27 07:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa13b02f8012d8113c005d18ae00000007019..."} 
[2026-07-27 07:10:36] local.INFO: Processing buffer {"connection_id":145017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa13b02f8012d8113c005d18ae00000007019..."} 
[2026-07-27 07:10:36] local.INFO: Packet analysis {"connection_id":145017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa13b"} 
[2026-07-27 07:10:36] local.INFO: Extracted packet for processing {"connection_id":145017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa13b"} 
[2026-07-27 07:10:36] local.INFO: GPS Element Parsed {"raw_longitude":763433920,"raw_latitude":97618656,"longitude_deg":76.343392,"latitude_deg":9.7618656,"altitude":0,"angle":112,"satellites":25,"speed":10,"hex_longitude":"2d8113c0","hex_latitude":"05d18ae0","is_valid_coordinates":true} 
[2026-07-27 07:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:10:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989805056001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:10:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111409222570213376,"note":"Value kept but may cause issues"} 
[2026-07-27 07:10:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9146036762013126656,"note":"Value kept but may cause issues"} 
[2026-07-27 07:10:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:10:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785116427000,"timestamp_ms":1785116427000,"timestamp_seconds":1785116427,"priority":1,"record_length":96,"hex_timestamp":"0000019fa13b02f8"} 
[2026-07-27 07:10:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:10:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 07:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-27 07:10:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:10:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:10:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:10:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:10:36] local.INFO: Teltonika packet parsed successfully {"connection_id":145017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:10:36] local.INFO: Passing IMEI to GPS processor {"connection_id":145017,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:10:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":145017,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:10:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:10:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 07:10:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 07:10:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989805056001,"66":12232,"208":206,"85":15104,"24":10,"16":111409222570213376,"45":-9146036762013126656},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-07-27 07:10:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 07:10:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 07:10:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989805056001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:10:36] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-07-27 07:10:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 07:10:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111409222570213376,"km_value":111409222570213.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:10:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9146036762013126656,"description":"Unknown IO ID 45"} 
[2026-07-27 07:10:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989805056001,"power":12232,"unknown_208":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":-9146036762013126656}} 
[2026-07-27 07:10:36] local.INFO: DEBUG: GPS processor result {"connection_id":145017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551683,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:10:36] local.INFO: GPS data processed {"connection_id":145017,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:10:36] local.INFO: Acknowledgment sent {"connection_id":145017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:10:38] local.INFO: TCP Data received {"connection_id":145018,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:10:38] local.INFO: Processing buffer {"connection_id":145018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:10:38] local.INFO: IMEI packet received {"connection_id":145018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 07:10:38] local.INFO: IMEI acknowledgment sent {"connection_id":145018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:10:39] local.INFO: TCP Data received {"connection_id":145018,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa137d678012d7f980005afd7c0001000062b..."} 
[2026-07-27 07:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa137d678012d7f980005afd7c0001000062b..."} 
[2026-07-27 07:10:39] local.INFO: Processing buffer {"connection_id":145018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa137d678012d7f980005afd7c0001000062b..."} 
[2026-07-27 07:10:39] local.INFO: Packet analysis {"connection_id":145018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa137"} 
[2026-07-27 07:10:39] local.INFO: Extracted packet for processing {"connection_id":145018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa137"} 
[2026-07-27 07:10:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":16,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 07:10:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:10:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989675008001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:10:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:10:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:10:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:10:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785116219000,"timestamp_ms":1785116219000,"timestamp_seconds":1785116219,"priority":1,"record_length":96,"hex_timestamp":"0000019fa137d678"} 
[2026-07-27 07:10:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:10:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 07:10:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 07:10: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-07-27 07:10:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:10:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:10:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:10:39] local.INFO: Teltonika packet parsed successfully {"connection_id":145018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:10:39] local.INFO: Passing IMEI to GPS processor {"connection_id":145018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:10:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":145018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:10:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:10:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:10:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:10:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989675008001,"66":25321,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 07:10:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:10:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:10:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989675008001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:10:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 07:10:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:10:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:10:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:10:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989675008001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:10:39] local.INFO: DEBUG: GPS processor result {"connection_id":145018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:10:39] local.INFO: GPS data processed {"connection_id":145018,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:10:39] local.INFO: Acknowledgment sent {"connection_id":145018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:11:02] local.INFO: TCP Data received {"connection_id":142721,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142721,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:11:02] local.INFO: Processing buffer {"connection_id":142721,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:11:02] local.INFO: IMEI packet received {"connection_id":142721,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 07:11:02] local.INFO: IMEI acknowledgment sent {"connection_id":142721,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:11:03] local.INFO: TCP Data received {"connection_id":142721,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142721,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:11:03] local.INFO: Processing buffer {"connection_id":142721,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:11:03] local.INFO: IMEI packet received {"connection_id":142721,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 07:11:03] local.INFO: IMEI acknowledgment sent {"connection_id":142721,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:11:04] local.INFO: TCP Data received {"connection_id":142721,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142721,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:11:04] local.INFO: Processing buffer {"connection_id":142721,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:11:04] local.INFO: IMEI packet received {"connection_id":142721,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 07:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":142721,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:11:06] local.INFO: TCP Data received {"connection_id":142721,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142721,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:11:06] local.INFO: Processing buffer {"connection_id":142721,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:11:06] local.INFO: IMEI packet received {"connection_id":142721,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 07:11:06] local.INFO: IMEI acknowledgment sent {"connection_id":142721,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:11:07] local.INFO: TCP Data received {"connection_id":142721,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa13b06e0012d81148005d18ab00000006119..."} 
[2026-07-27 07:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa13b06e0012d81148005d18ab00000006119..."} 
[2026-07-27 07:11:07] local.INFO: Processing buffer {"connection_id":142721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa13b06e0012d81148005d18ab00000006119..."} 
[2026-07-27 07:11:07] local.INFO: Packet analysis {"connection_id":142721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa13b"} 
[2026-07-27 07:11:07] local.INFO: Extracted packet for processing {"connection_id":142721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa13b"} 
[2026-07-27 07:11:07] local.INFO: GPS Element Parsed {"raw_longitude":763434112,"raw_latitude":97618608,"longitude_deg":76.3434112,"latitude_deg":9.7618608,"altitude":0,"angle":97,"satellites":25,"speed":12,"hex_longitude":"2d811480","hex_latitude":"05d18ab0","is_valid_coordinates":true} 
[2026-07-27 07:11:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:11:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989805312001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:11:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111409235455115264,"note":"Value kept but may cause issues"} 
[2026-07-27 07:11:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9145755287036436480,"note":"Value kept but may cause issues"} 
[2026-07-27 07:11:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:11:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785116428000,"timestamp_ms":1785116428000,"timestamp_seconds":1785116428,"priority":1,"record_length":96,"hex_timestamp":"0000019fa13b06e0"} 
[2026-07-27 07:11:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:11:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 07:11:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-27 07:11:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:11:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:11:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:11:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:11:07] local.INFO: Teltonika packet parsed successfully {"connection_id":142721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:11:07] local.INFO: Passing IMEI to GPS processor {"connection_id":142721,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:11:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":142721,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:11:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:11:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 07:11:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 07:11:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989805312001,"66":13624,"208":206,"85":15104,"24":12,"16":111409235455115264,"45":-9145755287036436480},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-07-27 07:11:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 07:11:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 07:11:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989805312001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:11:07] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-07-27 07:11:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 07:11:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111409235455115264,"km_value":111409235455115.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:11:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9145755287036436480,"description":"Unknown IO ID 45"} 
[2026-07-27 07:11:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989805312001,"power":13624,"unknown_208":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":-9145755287036436480}} 
[2026-07-27 07:11:07] local.INFO: DEBUG: GPS processor result {"connection_id":142721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551685,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:11:07] local.INFO: GPS data processed {"connection_id":142721,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:11:07] local.INFO: Acknowledgment sent {"connection_id":142721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:11:09] local.INFO: TCP Data received {"connection_id":142721,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa13b1298012d811a0005d18b080000005519..."} 
[2026-07-27 07:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa13b1298012d811a0005d18b080000005519..."} 
[2026-07-27 07:11:09] local.INFO: Processing buffer {"connection_id":142721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa13b1298012d811a0005d18b080000005519..."} 
[2026-07-27 07:11:09] local.INFO: Packet analysis {"connection_id":142721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa13b"} 
[2026-07-27 07:11:09] local.INFO: Extracted packet for processing {"connection_id":142721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa13b"} 
[2026-07-27 07:11:09] local.INFO: GPS Element Parsed {"raw_longitude":763435520,"raw_latitude":97618696,"longitude_deg":76.343552,"latitude_deg":9.7618696,"altitude":0,"angle":85,"satellites":25,"speed":23,"hex_longitude":"2d811a00","hex_latitude":"05d18b08","is_valid_coordinates":true} 
[2026-07-27 07:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:11:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989805568001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:11:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111409299879624704,"note":"Value kept but may cause issues"} 
[2026-07-27 07:11:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9145544180803915776,"note":"Value kept but may cause issues"} 
[2026-07-27 07:11:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:11:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785116431000,"timestamp_ms":1785116431000,"timestamp_seconds":1785116431,"priority":1,"record_length":96,"hex_timestamp":"0000019fa13b1298"} 
[2026-07-27 07:11:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:11:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 07: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-07-27 07:11:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:11:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:11:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:11:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:11:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:11:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142721,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:11:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142721,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:11:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:11:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 07:11:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 07:11:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989805568001,"66":13222,"208":206,"85":15104,"24":23,"16":111409299879624704,"45":-9145544180803915776},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-07-27 07:11:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 07:11:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 07:11:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989805568001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:11:09] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-07-27 07:11:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 07:11:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111409299879624704,"km_value":111409299879624.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:11:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9145544180803915776,"description":"Unknown IO ID 45"} 
[2026-07-27 07:11:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989805568001,"power":13222,"unknown_208":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":-9145544180803915776}} 
[2026-07-27 07:11:09] local.INFO: DEBUG: GPS processor result {"connection_id":142721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551686,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:11:09] local.INFO: GPS data processed {"connection_id":142721,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:11:09] local.INFO: Acknowledgment sent {"connection_id":142721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:11:10] local.INFO: TCP Data received {"connection_id":145018,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa137d678012d7f980005afd7c0001000062b..."} 
[2026-07-27 07:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa137d678012d7f980005afd7c0001000062b..."} 
[2026-07-27 07:11:10] local.INFO: Processing buffer {"connection_id":145018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa137d678012d7f980005afd7c0001000062b..."} 
[2026-07-27 07:11:10] local.INFO: Packet analysis {"connection_id":145018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa137"} 
[2026-07-27 07:11:10] local.INFO: Extracted packet for processing {"connection_id":145018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa137"} 
[2026-07-27 07:11:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":16,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 07:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:11:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989675008001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:11:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:11:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:11:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:11:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785116219000,"timestamp_ms":1785116219000,"timestamp_seconds":1785116219,"priority":1,"record_length":96,"hex_timestamp":"0000019fa137d678"} 
[2026-07-27 07:11:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:11:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 07: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-07-27 07: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-07-27 07:11:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:11:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:11:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:11:10] local.INFO: Teltonika packet parsed successfully {"connection_id":145018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:11:10] local.INFO: Passing IMEI to GPS processor {"connection_id":145018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:11:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":145018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:11:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:11:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:11:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:11:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989675008001,"66":25321,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 07:11:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:11:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:11:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989675008001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:11:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 07:11:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:11:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:11:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:11:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989675008001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:11:10] local.INFO: DEBUG: GPS processor result {"connection_id":145018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:11:10] local.INFO: GPS data processed {"connection_id":145018,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:11:10] local.INFO: Acknowledgment sent {"connection_id":145018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:11:10] local.INFO: TCP Data received {"connection_id":143698,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 07:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143698,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 07:11:10] local.INFO: Processing buffer {"connection_id":143698,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 07:11:10] local.INFO: IMEI packet received {"connection_id":143698,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 07:11:10] local.INFO: IMEI acknowledgment sent {"connection_id":143698,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:11:33] local.INFO: TCP Data received {"connection_id":143699,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:11:33] local.INFO: Processing buffer {"connection_id":143699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:11:33] local.INFO: IMEI packet received {"connection_id":143699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 07:11:33] local.INFO: IMEI acknowledgment sent {"connection_id":143699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:11:38] local.INFO: TCP Data received {"connection_id":143699,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:11:38] local.INFO: Processing buffer {"connection_id":143699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:11:38] local.INFO: IMEI packet received {"connection_id":143699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 07:11:38] local.INFO: IMEI acknowledgment sent {"connection_id":143699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:11:39] local.INFO: TCP Data received {"connection_id":143699,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa137d678012d7f980005afd7c0001000062b..."} 
[2026-07-27 07:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa137d678012d7f980005afd7c0001000062b..."} 
[2026-07-27 07:11:39] local.INFO: Processing buffer {"connection_id":143699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa137d678012d7f980005afd7c0001000062b..."} 
[2026-07-27 07:11:39] local.INFO: Packet analysis {"connection_id":143699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa137"} 
[2026-07-27 07:11:39] local.INFO: Extracted packet for processing {"connection_id":143699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa137"} 
[2026-07-27 07:11:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":16,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 07:11:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:11:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989675008001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:11:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:11:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:11:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:11:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785116219000,"timestamp_ms":1785116219000,"timestamp_seconds":1785116219,"priority":1,"record_length":96,"hex_timestamp":"0000019fa137d678"} 
[2026-07-27 07:11:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:11:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 07: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":31,"data_length":795,"current_offset":136} 
[2026-07-27 07:11: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-07-27 07:11:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:11:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:11:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:11:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:11:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:11:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:11:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:11:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:11:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:11:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989675008001,"66":25321,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 07:11:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:11:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:11:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989675008001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:11:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 07:11:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:11:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:11:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:11:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989675008001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:11:39] local.INFO: DEBUG: GPS processor result {"connection_id":143699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:11:39] local.INFO: GPS data processed {"connection_id":143699,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:11:39] local.INFO: Acknowledgment sent {"connection_id":143699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:11:39] local.INFO: TCP Data received {"connection_id":142721,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa13b2238012d81254005d18b380000006019..."} 
[2026-07-27 07:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa13b2238012d81254005d18b380000006019..."} 
[2026-07-27 07:11:39] local.INFO: Processing buffer {"connection_id":142721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa13b2238012d81254005d18b380000006019..."} 
[2026-07-27 07:11:39] local.INFO: Packet analysis {"connection_id":142721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa13b"} 
[2026-07-27 07:11:39] local.INFO: Extracted packet for processing {"connection_id":142721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa13b"} 
[2026-07-27 07:11:39] local.INFO: GPS Element Parsed {"raw_longitude":763438400,"raw_latitude":97618744,"longitude_deg":76.34384,"latitude_deg":9.7618744,"altitude":0,"angle":96,"satellites":25,"speed":33,"hex_longitude":"2d812540","hex_latitude":"05d18b38","is_valid_coordinates":true} 
[2026-07-27 07:11:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:11:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989806336001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:11:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111409437318578176,"note":"Value kept but may cause issues"} 
[2026-07-27 07:11:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9143996068431984640,"note":"Value kept but may cause issues"} 
[2026-07-27 07:11:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:11:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785116435000,"timestamp_ms":1785116435000,"timestamp_seconds":1785116435,"priority":1,"record_length":96,"hex_timestamp":"0000019fa13b2238"} 
[2026-07-27 07:11:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:11:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 07: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-27 07:11:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:11:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:11:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:11:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:11:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:11:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142721,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:11:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142721,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:11:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:11:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 07:11:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 07:11:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989806336001,"66":12917,"208":206,"85":15104,"24":33,"16":111409437318578176,"45":-9143996068431984640},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-07-27 07:11:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 07:11:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 07:11:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989806336001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:11:39] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-07-27 07:11:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 07:11:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111409437318578176,"km_value":111409437318578.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:11:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9143996068431984640,"description":"Unknown IO ID 45"} 
[2026-07-27 07:11:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989806336001,"power":12917,"unknown_208":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":-9143996068431984640}} 
[2026-07-27 07:11:40] local.INFO: DEBUG: GPS processor result {"connection_id":142721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551689,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:11:40] local.INFO: GPS data processed {"connection_id":142721,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:11:40] local.INFO: Acknowledgment sent {"connection_id":142721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:11:45] local.INFO: TCP Data received {"connection_id":142614,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 07:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142614,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 07:11:45] local.INFO: Processing buffer {"connection_id":142614,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 07:11:45] local.INFO: IMEI packet received {"connection_id":142614,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 07:11:45] local.INFO: IMEI acknowledgment sent {"connection_id":142614,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:11:58] local.INFO: TCP Data received {"connection_id":142722,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142722,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:11:58] local.INFO: Processing buffer {"connection_id":142722,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:11:58] local.INFO: IMEI packet received {"connection_id":142722,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 07:11:58] local.INFO: IMEI acknowledgment sent {"connection_id":142722,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:11:59] local.INFO: TCP Data received {"connection_id":142722,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142722,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:11:59] local.INFO: Processing buffer {"connection_id":142722,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:11:59] local.INFO: IMEI packet received {"connection_id":142722,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 07:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":142722,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:12:00] local.INFO: TCP Data received {"connection_id":142722,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa13c1c38012d81dd4005d17c60000400641a..."} 
[2026-07-27 07:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa13c1c38012d81dd4005d17c60000400641a..."} 
[2026-07-27 07:12:00] local.INFO: Processing buffer {"connection_id":142722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa13c1c38012d81dd4005d17c60000400641a..."} 
[2026-07-27 07:12:00] local.INFO: Packet analysis {"connection_id":142722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa13c"} 
[2026-07-27 07:12:00] local.INFO: Extracted packet for processing {"connection_id":142722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa13c"} 
[2026-07-27 07:12:00] local.INFO: GPS Element Parsed {"raw_longitude":763485504,"raw_latitude":97614944,"longitude_deg":76.3485504,"latitude_deg":9.7614944,"altitude":4,"angle":100,"satellites":26,"speed":31,"hex_longitude":"2d81dd40","hex_latitude":"05d17c60","is_valid_coordinates":true} 
[2026-07-27 07: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-07-27 07:12:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989822720001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:12:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111411778075754496,"note":"Value kept but may cause issues"} 
[2026-07-27 07:12:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9091993566485307392,"note":"Value kept but may cause issues"} 
[2026-07-27 07:12:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:12:00] local.INFO: AVL Record Parsed {"raw_timestamp":1785116499000,"timestamp_ms":1785116499000,"timestamp_seconds":1785116499,"priority":1,"record_length":96,"hex_timestamp":"0000019fa13c1c38"} 
[2026-07-27 07:12:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:12:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 07: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-27 07:12:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303154255154551,"note":"Value kept but may cause issues"} 
[2026-07-27 07:12:00] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-27 07:12:00] local.WARNING: Large IO value detected {"io_id":208,"raw_value":58077557095399457,"note":"Value kept but may cause issues"} 
[2026-07-27 07:12:00] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2705032160,"note":"Value kept but may cause issues"} 
[2026-07-27 07:12:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2173222917,"note":"Value kept but may cause issues"} 
[2026-07-27 07:12:00] local.WARNING: Large IO value detected {"io_id":207,"raw_value":2969567232,"note":"Value kept but may cause issues"} 
[2026-07-27 07:12:00] local.WARNING: Large IO value detected {"io_id":209,"raw_value":2294808576,"note":"Value kept but may cause issues"} 
[2026-07-27 07:12:00] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2010120398,"corrected_to":0} 
[2026-07-27 07:12:00] local.WARNING: Large IO value detected {"io_id":139,"raw_value":3478781952,"note":"Value kept but may cause issues"} 
[2026-07-27 07:12:00] local.WARNING: Large IO value detected {"io_id":130,"raw_value":2147864969,"note":"Value kept but may cause issues"} 
[2026-07-27 07:12:00] local.WARNING: Large IO value detected {"io_id":48,"raw_value":4177579383,"note":"Value kept but may cause issues"} 
[2026-07-27 07:12:00] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3515353088,"note":"Value kept but may cause issues"} 
[2026-07-27 07:12:00] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,63,85,24,241,157,16,208,159,4,45,128,131,2,26,10,66,206,25,170,1,240,187,227,207,161,209,113,205,32,139,130,192,239,48,5,33],"length":486,"final_offset":616,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2010120398,"validated":0}]} 
[2026-07-27 07:12:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":144247241141977088,"timestamp_seconds":144247241141977.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 07:12:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:12:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:12:00] local.INFO: Teltonika packet parsed successfully {"connection_id":142722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:12:00] local.INFO: Passing IMEI to GPS processor {"connection_id":142722,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:12:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":142722,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:12:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:12:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 07:12:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 07:12:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989822720001,"66":13341,"63":206,"85":15104,"24":31,"16":111411778075754496,"45":-9091993566485307392},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-07-27 07:12:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 07:12:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 07:12:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989822720001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:12:00] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-07-27 07:12:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 07:12:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111411778075754496,"km_value":111411778075754.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:12:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9091993566485307392,"description":"Unknown IO ID 45"} 
[2026-07-27 07:12:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989822720001,"power":13341,"unknown_63":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":-9091993566485307392}} 
[2026-07-27 07:12:00] local.INFO: DEBUG: GPS processor result {"connection_id":142722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551690,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:12:00] local.INFO: GPS data processed {"connection_id":142722,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:12:00] local.INFO: Acknowledgment sent {"connection_id":142722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:12:10] local.INFO: TCP Data received {"connection_id":143699,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa137d678012d7f980005afd7c0001000062b..."} 
[2026-07-27 07:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa137d678012d7f980005afd7c0001000062b..."} 
[2026-07-27 07:12:10] local.INFO: Processing buffer {"connection_id":143699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa137d678012d7f980005afd7c0001000062b..."} 
[2026-07-27 07:12:10] local.INFO: Packet analysis {"connection_id":143699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa137"} 
[2026-07-27 07:12:10] local.INFO: Extracted packet for processing {"connection_id":143699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa137"} 
[2026-07-27 07:12:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":16,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 07:12:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989675008001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:12:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:12:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:12:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:12:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785116219000,"timestamp_ms":1785116219000,"timestamp_seconds":1785116219,"priority":1,"record_length":96,"hex_timestamp":"0000019fa137d678"} 
[2026-07-27 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-07-27 07:12:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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-07-27 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-07-27 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-07-27 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-07-27 07:12:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:12:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:12:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:12:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:12:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:12:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:12:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:12:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989675008001,"66":25321,"250":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 07:12:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:12:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:12:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989675008001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:12:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 07:12:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:12:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:12:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:12:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989675008001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:12:10] local.INFO: DEBUG: GPS processor result {"connection_id":143699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:12:10] local.INFO: GPS data processed {"connection_id":143699,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:12:10] local.INFO: Acknowledgment sent {"connection_id":143699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:12:31] local.INFO: TCP Data received {"connection_id":142722,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa13c27f0012d81e8c005d17bc8000300591a..."} 
[2026-07-27 07:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa13c27f0012d81e8c005d17bc8000300591a..."} 
[2026-07-27 07:12:31] local.INFO: Processing buffer {"connection_id":142722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa13c27f0012d81e8c005d17bc8000300591a..."} 
[2026-07-27 07:12:31] local.INFO: Packet analysis {"connection_id":142722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa13c"} 
[2026-07-27 07:12:31] local.INFO: Extracted packet for processing {"connection_id":142722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa13c"} 
[2026-07-27 07:12:31] local.INFO: GPS Element Parsed {"raw_longitude":763488448,"raw_latitude":97614792,"longitude_deg":76.3488448,"latitude_deg":9.7614792,"altitude":3,"angle":89,"satellites":26,"speed":40,"hex_longitude":"2d81e8c0","hex_latitude":"05d17bc8","is_valid_coordinates":true} 
[2026-07-27 07:12:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:12:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989823744001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:12:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111411919809675264,"note":"Value kept but may cause issues"} 
[2026-07-27 07:12:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9089038079230189568,"note":"Value kept but may cause issues"} 
[2026-07-27 07:12:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:12:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785116502000,"timestamp_ms":1785116502000,"timestamp_seconds":1785116502,"priority":1,"record_length":96,"hex_timestamp":"0000019fa13c27f0"} 
[2026-07-27 07:12:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:12:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 07:12:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-07-27 07:12:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:12:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:12:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:12:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:12:31] local.INFO: Teltonika packet parsed successfully {"connection_id":142722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:12:31] local.INFO: Passing IMEI to GPS processor {"connection_id":142722,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:12:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":142722,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:12:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:12:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 07:12:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 07:12:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989823744001,"66":12982,"65":206,"85":15104,"24":40,"16":111411919809675264,"45":-9089038079230189568},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,85,24,16,45]} 
[2026-07-27 07:12:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 07:12:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 07:12:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989823744001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:12:31] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-07-27 07:12:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 07:12:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111411919809675264,"km_value":111411919809675.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:12:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9089038079230189568,"description":"Unknown IO ID 45"} 
[2026-07-27 07:12:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989823744001,"power":12982,"unknown_65":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":-9089038079230189568}} 
[2026-07-27 07:12:31] local.INFO: DEBUG: GPS processor result {"connection_id":142722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551692,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:12:31] local.INFO: GPS data processed {"connection_id":142722,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:12:31] local.INFO: Acknowledgment sent {"connection_id":142722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:12:33] local.INFO: TCP Data received {"connection_id":142723,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:12:33] local.INFO: Processing buffer {"connection_id":142723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:12:33] local.INFO: IMEI packet received {"connection_id":142723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 07:12:33] local.INFO: IMEI acknowledgment sent {"connection_id":142723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:12:38] local.INFO: TCP Data received {"connection_id":142723,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:12:38] local.INFO: Processing buffer {"connection_id":142723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:12:38] local.INFO: IMEI packet received {"connection_id":142723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 07:12:38] local.INFO: IMEI acknowledgment sent {"connection_id":142723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:12:39] local.INFO: TCP Data received {"connection_id":142723,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa13c6e40012d7f980005afd7c0000a000629..."} 
[2026-07-27 07:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa13c6e40012d7f980005afd7c0000a000629..."} 
[2026-07-27 07:12:39] local.INFO: Processing buffer {"connection_id":142723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa13c6e40012d7f980005afd7c0000a000629..."} 
[2026-07-27 07:12:39] local.INFO: Packet analysis {"connection_id":142723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa13c"} 
[2026-07-27 07:12:39] local.INFO: Extracted packet for processing {"connection_id":142723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa13c"} 
[2026-07-27 07:12:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 07:12:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:12:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989752064001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:12:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:12:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:12:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:12:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785116520000,"timestamp_ms":1785116520000,"timestamp_seconds":1785116520,"priority":1,"record_length":96,"hex_timestamp":"0000019fa13c6e40"} 
[2026-07-27 07:12:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:12:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 07:12:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 07: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-07-27 07:12:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:12:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:12:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:12:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:12:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:12:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:12:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:12:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:12:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:12:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989752064001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 07:12:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:12:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:12:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989752064001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:12:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 07:12:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:12:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:12:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:12:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989752064001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:12:39] local.INFO: DEBUG: GPS processor result {"connection_id":142723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:12:39] local.INFO: GPS data processed {"connection_id":142723,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:12:39] local.INFO: Acknowledgment sent {"connection_id":142723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:12:57] local.INFO: TCP Data received {"connection_id":142615,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142615,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:12:57] local.INFO: Processing buffer {"connection_id":142615,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:12:57] local.INFO: IMEI packet received {"connection_id":142615,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 07:12:57] local.INFO: IMEI acknowledgment sent {"connection_id":142615,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:12:58] local.INFO: TCP Data received {"connection_id":142615,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142615,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:12:58] local.INFO: Processing buffer {"connection_id":142615,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:12:58] local.INFO: IMEI packet received {"connection_id":142615,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 07:12:58] local.INFO: IMEI acknowledgment sent {"connection_id":142615,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:13:04] local.INFO: TCP Data received {"connection_id":142615,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142615,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:13:04] local.INFO: Processing buffer {"connection_id":142615,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:13:04] local.INFO: IMEI packet received {"connection_id":142615,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 07:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":142615,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:13:04] local.INFO: TCP Data received {"connection_id":142615,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa13cfec8012d82994005d162c8000f006b1a..."} 
[2026-07-27 07:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa13cfec8012d82994005d162c8000f006b1a..."} 
[2026-07-27 07:13:04] local.INFO: Processing buffer {"connection_id":142615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa13cfec8012d82994005d162c8000f006b1a..."} 
[2026-07-27 07:13:04] local.INFO: Packet analysis {"connection_id":142615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa13c"} 
[2026-07-27 07:13:04] local.INFO: Extracted packet for processing {"connection_id":142615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa13c"} 
[2026-07-27 07:13:04] local.INFO: GPS Element Parsed {"raw_longitude":763533632,"raw_latitude":97608392,"longitude_deg":76.3533632,"latitude_deg":9.7608392,"altitude":15,"angle":107,"satellites":26,"speed":14,"hex_longitude":"2d829940","hex_latitude":"05d162c8","is_valid_coordinates":true} 
[2026-07-27 07:13:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:13:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989838336001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:13:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111414191847374848,"note":"Value kept but may cause issues"} 
[2026-07-27 07:13:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036472627331119104,"note":"Value kept but may cause issues"} 
[2026-07-27 07:13:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:13:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785116557000,"timestamp_ms":1785116557000,"timestamp_seconds":1785116557,"priority":1,"record_length":96,"hex_timestamp":"0000019fa13cfec8"} 
[2026-07-27 07:13:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:13:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 07:13:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-27 07:13:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:13:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:13:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:13:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:13:04] local.INFO: Teltonika packet parsed successfully {"connection_id":142615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:13:04] local.INFO: Passing IMEI to GPS processor {"connection_id":142615,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:13:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":142615,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:13:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:13:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 07:13:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 07:13:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989838336001,"66":12939,"64":206,"85":15104,"24":14,"16":111414191847374848,"45":-9036472627331119104},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-07-27 07:13:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 07:13:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 07:13:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989838336001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:13:04] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-07-27 07:13:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 07:13:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111414191847374848,"km_value":111414191847374.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:13:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036472627331119104,"description":"Unknown IO ID 45"} 
[2026-07-27 07:13:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989838336001,"power":12939,"unknown_64":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":-9036472627331119104}} 
[2026-07-27 07:13:04] local.INFO: DEBUG: GPS processor result {"connection_id":142615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551694,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:13:04] local.INFO: GPS data processed {"connection_id":142615,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:13:04] local.INFO: Acknowledgment sent {"connection_id":142615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:13:10] local.INFO: TCP Data received {"connection_id":142723,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa13c6e40012d7f980005afd7c0000a000629..."} 
[2026-07-27 07:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa13c6e40012d7f980005afd7c0000a000629..."} 
[2026-07-27 07:13:10] local.INFO: Processing buffer {"connection_id":142723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa13c6e40012d7f980005afd7c0000a000629..."} 
[2026-07-27 07:13:10] local.INFO: Packet analysis {"connection_id":142723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa13c"} 
[2026-07-27 07:13:10] local.INFO: Extracted packet for processing {"connection_id":142723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa13c"} 
[2026-07-27 07:13:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 07:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:13:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989752064001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:13:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:13:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:13:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:13:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785116520000,"timestamp_ms":1785116520000,"timestamp_seconds":1785116520,"priority":1,"record_length":96,"hex_timestamp":"0000019fa13c6e40"} 
[2026-07-27 07:13:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:13:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 07: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-07-27 07:13:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:13:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:13:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:13:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:13:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:13:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:13:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:13:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:13:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:13:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989752064001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 07:13:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:13:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:13:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989752064001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:13:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 07:13:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:13:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:13:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:13:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989752064001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:13:10] local.INFO: DEBUG: GPS processor result {"connection_id":142723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:13:10] local.INFO: GPS data processed {"connection_id":142723,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:13:10] local.INFO: Acknowledgment sent {"connection_id":142723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:13:35] local.INFO: TCP Data received {"connection_id":142615,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa13d02b0012d829b4005d162b8000f005b1a..."} 
[2026-07-27 07:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa13d02b0012d829b4005d162b8000f005b1a..."} 
[2026-07-27 07:13:35] local.INFO: Processing buffer {"connection_id":142615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa13d02b0012d829b4005d162b8000f005b1a..."} 
[2026-07-27 07:13:35] local.INFO: Packet analysis {"connection_id":142615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa13d"} 
[2026-07-27 07:13:35] local.INFO: Extracted packet for processing {"connection_id":142615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa13d"} 
[2026-07-27 07:13:35] local.INFO: GPS Element Parsed {"raw_longitude":763534144,"raw_latitude":97608376,"longitude_deg":76.3534144,"latitude_deg":9.7608376,"altitude":15,"angle":91,"satellites":26,"speed":17,"hex_longitude":"2d829b40","hex_latitude":"05d162b8","is_valid_coordinates":true} 
[2026-07-27 07:13:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:13:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989838592001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:13:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111414217617178624,"note":"Value kept but may cause issues"} 
[2026-07-27 07:13:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036120783610263552,"note":"Value kept but may cause issues"} 
[2026-07-27 07:13:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:13:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785116558000,"timestamp_ms":1785116558000,"timestamp_seconds":1785116558,"priority":1,"record_length":96,"hex_timestamp":"0000019fa13d02b0"} 
[2026-07-27 07:13:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:13:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 07:13:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-27 07:13:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:13:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:13:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:13:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:13:35] local.INFO: Teltonika packet parsed successfully {"connection_id":142615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:13:35] local.INFO: Passing IMEI to GPS processor {"connection_id":142615,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:13:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":142615,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:13:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:13:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 07:13:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 07:13:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989838592001,"66":13189,"64":206,"85":15104,"24":17,"16":111414217617178624,"45":-9036120783610263552},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-07-27 07:13:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 07:13:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 07:13:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989838592001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:13:35] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-07-27 07:13:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 07:13:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111414217617178624,"km_value":111414217617178.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:13:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036120783610263552,"description":"Unknown IO ID 45"} 
[2026-07-27 07:13:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989838592001,"power":13189,"unknown_64":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":-9036120783610263552}} 
[2026-07-27 07:13:35] local.INFO: DEBUG: GPS processor result {"connection_id":142615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551696,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:13:35] local.INFO: GPS data processed {"connection_id":142615,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:13:35] local.INFO: Acknowledgment sent {"connection_id":142615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:13:38] local.INFO: TCP Data received {"connection_id":142616,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:13:38] local.INFO: Processing buffer {"connection_id":142616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:13:38] local.INFO: IMEI packet received {"connection_id":142616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 07:13:38] local.INFO: IMEI acknowledgment sent {"connection_id":142616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:13:43] local.INFO: TCP Data received {"connection_id":142616,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:13:43] local.INFO: Processing buffer {"connection_id":142616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:13:43] local.INFO: IMEI packet received {"connection_id":142616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 07:13:43] local.INFO: IMEI acknowledgment sent {"connection_id":142616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:13:44] local.INFO: TCP Data received {"connection_id":142616,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa13c6e40012d7f980005afd7c0000a000629..."} 
[2026-07-27 07:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa13c6e40012d7f980005afd7c0000a000629..."} 
[2026-07-27 07:13:44] local.INFO: Processing buffer {"connection_id":142616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa13c6e40012d7f980005afd7c0000a000629..."} 
[2026-07-27 07:13:44] local.INFO: Packet analysis {"connection_id":142616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa13c"} 
[2026-07-27 07:13:44] local.INFO: Extracted packet for processing {"connection_id":142616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa13c"} 
[2026-07-27 07:13:44] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 07:13:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:13:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989752064001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:13:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:13:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:13:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:13:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785116520000,"timestamp_ms":1785116520000,"timestamp_seconds":1785116520,"priority":1,"record_length":96,"hex_timestamp":"0000019fa13c6e40"} 
[2026-07-27 07:13:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:13:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 07:13:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 07:13: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-07-27 07:13:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:13:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:13:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:13:44] local.INFO: Teltonika packet parsed successfully {"connection_id":142616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:13:44] local.INFO: Passing IMEI to GPS processor {"connection_id":142616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:13:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":142616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:13:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:13:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:13:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:13:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989752064001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 07:13:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:13:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:13:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989752064001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:13:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 07:13:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:13:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:13:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:13:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989752064001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:13:44] local.INFO: DEBUG: GPS processor result {"connection_id":142616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:13:44] local.INFO: GPS data processed {"connection_id":142616,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:13:44] local.INFO: Acknowledgment sent {"connection_id":142616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:13:48] local.INFO: TCP Data received {"connection_id":142616,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa13c6e40012d7f980005afd7c0000a000629..."} 
[2026-07-27 07:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa13c6e40012d7f980005afd7c0000a000629..."} 
[2026-07-27 07:13:48] local.INFO: Processing buffer {"connection_id":142616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa13c6e40012d7f980005afd7c0000a000629..."} 
[2026-07-27 07:13:48] local.INFO: Packet analysis {"connection_id":142616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa13c"} 
[2026-07-27 07:13:48] local.INFO: Extracted packet for processing {"connection_id":142616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa13c"} 
[2026-07-27 07:13:48] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 07:13:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:13:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989752064001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:13:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:13:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:13:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:13:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785116520000,"timestamp_ms":1785116520000,"timestamp_seconds":1785116520,"priority":1,"record_length":96,"hex_timestamp":"0000019fa13c6e40"} 
[2026-07-27 07:13:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:13:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 07: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 07:13:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:13:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:13:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:13:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:13:48] local.INFO: Teltonika packet parsed successfully {"connection_id":142616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:13:48] local.INFO: Passing IMEI to GPS processor {"connection_id":142616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:13:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":142616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:13:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:13:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:13:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:13:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989752064001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 07:13:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:13:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:13:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989752064001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:13:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 07:13:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:13:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:13:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:13:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989752064001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:13:48] local.INFO: DEBUG: GPS processor result {"connection_id":142616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:13:48] local.INFO: GPS data processed {"connection_id":142616,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:13:48] local.INFO: Acknowledgment sent {"connection_id":142616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:13:58] local.INFO: TCP Data received {"connection_id":145020,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145020,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:13:58] local.INFO: Processing buffer {"connection_id":145020,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:13:58] local.INFO: IMEI packet received {"connection_id":145020,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 07:13:58] local.INFO: IMEI acknowledgment sent {"connection_id":145020,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:14:03] local.INFO: TCP Data received {"connection_id":145020,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145020,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:14:03] local.INFO: Processing buffer {"connection_id":145020,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:14:03] local.INFO: IMEI packet received {"connection_id":145020,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 07:14:03] local.INFO: IMEI acknowledgment sent {"connection_id":145020,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:14:04] local.INFO: TCP Data received {"connection_id":145020,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa13d25d8012d82b98005d16068000b00661a..."} 
[2026-07-27 07:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145020,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa13d25d8012d82b98005d16068000b00661a..."} 
[2026-07-27 07:14:04] local.INFO: Processing buffer {"connection_id":145020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa13d25d8012d82b98005d16068000b00661a..."} 
[2026-07-27 07:14:04] local.INFO: Packet analysis {"connection_id":145020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa13d"} 
[2026-07-27 07:14:04] local.INFO: Extracted packet for processing {"connection_id":145020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa13d"} 
[2026-07-27 07:14:04] local.INFO: GPS Element Parsed {"raw_longitude":763541888,"raw_latitude":97607784,"longitude_deg":76.3541888,"latitude_deg":9.7607784,"altitude":11,"angle":102,"satellites":26,"speed":40,"hex_longitude":"2d82b980","hex_latitude":"05d16068","is_valid_coordinates":true} 
[2026-07-27 07:14:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:14:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989838848001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:14:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111414586984366080,"note":"Value kept but may cause issues"} 
[2026-07-27 07:14:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9035557833656846336,"note":"Value kept but may cause issues"} 
[2026-07-27 07:14:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:14:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785116567000,"timestamp_ms":1785116567000,"timestamp_seconds":1785116567,"priority":1,"record_length":96,"hex_timestamp":"0000019fa13d25d8"} 
[2026-07-27 07:14:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:14:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 07:14:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-27 07:14:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:14:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:14:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:14:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:14:04] local.INFO: Teltonika packet parsed successfully {"connection_id":145020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:14:04] local.INFO: Passing IMEI to GPS processor {"connection_id":145020,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:14:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":145020,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:14:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:14:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 07:14:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 07:14:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989838848001,"66":13722,"64":206,"85":15104,"24":40,"16":111414586984366080,"45":-9035557833656846336},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-07-27 07:14:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 07:14:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 07:14:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989838848001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:14:04] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-07-27 07:14:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 07:14:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111414586984366080,"km_value":111414586984366.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:14:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9035557833656846336,"description":"Unknown IO ID 45"} 
[2026-07-27 07:14:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989838848001,"power":13722,"unknown_64":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":-9035557833656846336}} 
[2026-07-27 07:14:04] local.INFO: DEBUG: GPS processor result {"connection_id":145020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551699,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:14:04] local.INFO: GPS data processed {"connection_id":145020,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:14:04] local.INFO: Acknowledgment sent {"connection_id":145020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:14:33] local.INFO: TCP Data received {"connection_id":142724,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:14:33] local.INFO: Processing buffer {"connection_id":142724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:14:33] local.INFO: IMEI packet received {"connection_id":142724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 07:14:33] local.INFO: IMEI acknowledgment sent {"connection_id":142724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:14:36] local.INFO: TCP Data received {"connection_id":145020,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa13d4518012d82dc4005d159e0000900611a..."} 
[2026-07-27 07:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145020,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa13d4518012d82dc4005d159e0000900611a..."} 
[2026-07-27 07:14:36] local.INFO: Processing buffer {"connection_id":145020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa13d4518012d82dc4005d159e0000900611a..."} 
[2026-07-27 07:14:36] local.INFO: Packet analysis {"connection_id":145020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa13d"} 
[2026-07-27 07:14:36] local.INFO: Extracted packet for processing {"connection_id":145020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa13d"} 
[2026-07-27 07:14:36] local.INFO: GPS Element Parsed {"raw_longitude":763550784,"raw_latitude":97606112,"longitude_deg":76.3550784,"latitude_deg":9.7606112,"altitude":9,"angle":97,"satellites":26,"speed":43,"hex_longitude":"2d82dc40","hex_latitude":"05d159e0","is_valid_coordinates":true} 
[2026-07-27 07:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:14:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989841152001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:14:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111415020776062976,"note":"Value kept but may cause issues"} 
[2026-07-27 07:14:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9027043215611500544,"note":"Value kept but may cause issues"} 
[2026-07-27 07:14:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:14:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785116575000,"timestamp_ms":1785116575000,"timestamp_seconds":1785116575,"priority":1,"record_length":96,"hex_timestamp":"0000019fa13d4518"} 
[2026-07-27 07:14:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:14:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 07:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-07-27 07:14:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:14:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:14:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:14:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:14:36] local.INFO: Teltonika packet parsed successfully {"connection_id":145020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:14:36] local.INFO: Passing IMEI to GPS processor {"connection_id":145020,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:14:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":145020,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:14:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:14:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 07:14:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 07:14:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989841152001,"66":13352,"64":206,"85":15104,"24":43,"16":111415020776062976,"45":-9027043215611500544},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-07-27 07:14:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 07:14:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 07:14:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989841152001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:14:36] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-07-27 07:14:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 07:14:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111415020776062976,"km_value":111415020776062.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:14:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9027043215611500544,"description":"Unknown IO ID 45"} 
[2026-07-27 07:14:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989841152001,"power":13352,"unknown_64":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":-9027043215611500544}} 
[2026-07-27 07:14:36] local.INFO: DEBUG: GPS processor result {"connection_id":145020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551700,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:14:36] local.INFO: GPS data processed {"connection_id":145020,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:14:36] local.INFO: Acknowledgment sent {"connection_id":145020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:14:38] local.INFO: TCP Data received {"connection_id":142724,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:14:38] local.INFO: Processing buffer {"connection_id":142724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:14:38] local.INFO: IMEI packet received {"connection_id":142724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 07:14:38] local.INFO: IMEI acknowledgment sent {"connection_id":142724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:14:38] local.INFO: TCP Data received {"connection_id":142724,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa13c6e40012d7f980005afd7c0000a000629..."} 
[2026-07-27 07:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa13c6e40012d7f980005afd7c0000a000629..."} 
[2026-07-27 07:14:38] local.INFO: Processing buffer {"connection_id":142724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa13c6e40012d7f980005afd7c0000a000629..."} 
[2026-07-27 07:14:38] local.INFO: Packet analysis {"connection_id":142724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa13c"} 
[2026-07-27 07:14:38] local.INFO: Extracted packet for processing {"connection_id":142724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa13c"} 
[2026-07-27 07:14:38] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 07:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:14:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989752064001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:14:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:14:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:14:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:14:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785116520000,"timestamp_ms":1785116520000,"timestamp_seconds":1785116520,"priority":1,"record_length":96,"hex_timestamp":"0000019fa13c6e40"} 
[2026-07-27 07:14:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:14:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 07:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 07:14:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:14:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:14:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:14:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:14:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:14:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:14:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:14:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:14:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:14:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:14:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989752064001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 07:14:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:14:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:14:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989752064001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:14:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 07:14:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:14:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:14:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:14:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989752064001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:14:39] local.INFO: DEBUG: GPS processor result {"connection_id":142724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:14:39] local.INFO: GPS data processed {"connection_id":142724,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:14:39] local.INFO: Acknowledgment sent {"connection_id":142724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:15:04] local.INFO: TCP Data received {"connection_id":143702,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143702,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:15:04] local.INFO: Processing buffer {"connection_id":143702,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:15:04] local.INFO: IMEI packet received {"connection_id":143702,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 07:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":143702,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:15:10] local.INFO: TCP Data received {"connection_id":143702,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143702,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:15:10] local.INFO: Processing buffer {"connection_id":143702,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:15:10] local.INFO: IMEI packet received {"connection_id":143702,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 07:15:10] local.INFO: IMEI acknowledgment sent {"connection_id":143702,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:15:10] local.INFO: TCP Data received {"connection_id":142724,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa13c6e40012d7f980005afd7c0000a000629..."} 
[2026-07-27 07:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa13c6e40012d7f980005afd7c0000a000629..."} 
[2026-07-27 07:15:10] local.INFO: Processing buffer {"connection_id":142724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa13c6e40012d7f980005afd7c0000a000629..."} 
[2026-07-27 07:15:10] local.INFO: Packet analysis {"connection_id":142724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa13c"} 
[2026-07-27 07:15:10] local.INFO: Extracted packet for processing {"connection_id":142724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa13c"} 
[2026-07-27 07:15:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 07:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:15:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989752064001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:15:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:15:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:15:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:15:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785116520000,"timestamp_ms":1785116520000,"timestamp_seconds":1785116520,"priority":1,"record_length":96,"hex_timestamp":"0000019fa13c6e40"} 
[2026-07-27 07:15:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:15:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 07: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 07:15:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:15:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:15:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:15:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:15:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:15:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:15:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:15:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:15:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:15:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:15:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989752064001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 07:15:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:15:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:15:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989752064001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:15:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 07:15:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:15:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:15:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:15:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989752064001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:15:10] local.INFO: DEBUG: GPS processor result {"connection_id":142724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:15:10] local.INFO: GPS data processed {"connection_id":142724,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:15:10] local.INFO: Acknowledgment sent {"connection_id":142724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:15:10] local.INFO: TCP Data received {"connection_id":143702,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa13e7d98012d8334c005d153a00006000921..."} 
[2026-07-27 07:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143702,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa13e7d98012d8334c005d153a00006000921..."} 
[2026-07-27 07:15:10] local.INFO: Processing buffer {"connection_id":143702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa13e7d98012d8334c005d153a00006000921..."} 
[2026-07-27 07:15:10] local.INFO: Packet analysis {"connection_id":143702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa13e"} 
[2026-07-27 07:15:10] local.INFO: Extracted packet for processing {"connection_id":143702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa13e"} 
[2026-07-27 07:15:10] local.INFO: GPS Element Parsed {"raw_longitude":763573440,"raw_latitude":97604512,"longitude_deg":76.357344,"latitude_deg":9.7604512,"altitude":6,"angle":9,"satellites":33,"speed":0,"hex_longitude":"2d8334c0","hex_latitude":"05d153a0","is_valid_coordinates":true} 
[2026-07-27 07:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:15:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989858304001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:15:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111416184712200192,"note":"Value kept but may cause issues"} 
[2026-07-27 07:15:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8992351424732749824,"note":"Value kept but may cause issues"} 
[2026-07-27 07:15:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:15:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785116655000,"timestamp_ms":1785116655000,"timestamp_seconds":1785116655,"priority":1,"record_length":96,"hex_timestamp":"0000019fa13e7d98"} 
[2026-07-27 07:15:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:15:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 07: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-07-27 07:15:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:15:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:15:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:15:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:15:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:15:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143702,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:15:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143702,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:15:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:15:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 07:15:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 07:15:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989858304001,"66":12961,"221":206,"85":15104,"24":0,"16":111416184712200192,"45":-8992351424732749824},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-07-27 07:15:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 07:15:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 07:15:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989858304001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:15:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-27 07:15:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 07:15:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111416184712200192,"km_value":111416184712200.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:15:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8992351424732749824,"description":"Unknown IO ID 45"} 
[2026-07-27 07:15:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989858304001,"power":12961,"unknown_221":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8992351424732749824}} 
[2026-07-27 07:15:10] local.INFO: DEBUG: GPS processor result {"connection_id":143702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551703,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:15:10] local.INFO: GPS data processed {"connection_id":143702,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:15:10] local.INFO: Acknowledgment sent {"connection_id":143702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:15:33] local.INFO: TCP Data received {"connection_id":142725,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:15:33] local.INFO: Processing buffer {"connection_id":142725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:15:33] local.INFO: IMEI packet received {"connection_id":142725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 07:15:33] local.INFO: IMEI acknowledgment sent {"connection_id":142725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:15:38] local.INFO: TCP Data received {"connection_id":142725,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:15:38] local.INFO: Processing buffer {"connection_id":142725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:15:38] local.INFO: IMEI packet received {"connection_id":142725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 07:15:38] local.INFO: IMEI acknowledgment sent {"connection_id":142725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:15:39] local.INFO: TCP Data received {"connection_id":142725,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fa13c6e40012d7f980005afd7c0000a000629..."} 
[2026-07-27 07:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa13c6e40012d7f980005afd7c0000a000629..."} 
[2026-07-27 07:15:39] local.INFO: Processing buffer {"connection_id":142725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa13c6e40012d7f980005afd7c0000a000629..."} 
[2026-07-27 07:15:39] local.INFO: Packet analysis {"connection_id":142725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa13c"} 
[2026-07-27 07:15:39] local.INFO: Extracted packet for processing {"connection_id":142725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa13c"} 
[2026-07-27 07:15:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 07:15:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:15:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989752064001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:15:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:15:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:15:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:15:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785116520000,"timestamp_ms":1785116520000,"timestamp_seconds":1785116520,"priority":1,"record_length":96,"hex_timestamp":"0000019fa13c6e40"} 
[2026-07-27 07:15:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:15:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 07: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 07:15:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:15:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:15:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:15:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:15:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:15:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:15:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:15:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:15:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:15:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:15:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989752064001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 07:15:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:15:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:15:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989752064001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:15:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 07:15:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:15:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:15:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:15:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989752064001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:15:39] local.INFO: DEBUG: GPS processor result {"connection_id":142725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:15:39] local.INFO: GPS data processed {"connection_id":142725,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:15:39] local.INFO: Acknowledgment sent {"connection_id":142725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:15:41] local.INFO: TCP Data received {"connection_id":143702,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa13ecfa0012d8334c005d153a0000600091f..."} 
[2026-07-27 07:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143702,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa13ecfa0012d8334c005d153a0000600091f..."} 
[2026-07-27 07:15:41] local.INFO: Processing buffer {"connection_id":143702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa13ecfa0012d8334c005d153a0000600091f..."} 
[2026-07-27 07:15:41] local.INFO: Packet analysis {"connection_id":143702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa13e"} 
[2026-07-27 07:15:41] local.INFO: Extracted packet for processing {"connection_id":143702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa13e"} 
[2026-07-27 07:15:41] local.INFO: GPS Element Parsed {"raw_longitude":763573440,"raw_latitude":97604512,"longitude_deg":76.357344,"latitude_deg":9.7604512,"altitude":6,"angle":9,"satellites":31,"speed":0,"hex_longitude":"2d8334c0","hex_latitude":"05d153a0","is_valid_coordinates":true} 
[2026-07-27 07: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-07-27 07:15:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989863680001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:15:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111416184712200192,"note":"Value kept but may cause issues"} 
[2026-07-27 07:15:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8992351424732749824,"note":"Value kept but may cause issues"} 
[2026-07-27 07:15:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:15:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785116676000,"timestamp_ms":1785116676000,"timestamp_seconds":1785116676,"priority":1,"record_length":96,"hex_timestamp":"0000019fa13ecfa0"} 
[2026-07-27 07:15:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:15:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 07: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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-27 07:15:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07: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-07-27 07:15:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:15:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:15:41] local.INFO: Teltonika packet parsed successfully {"connection_id":143702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:15:41] local.INFO: Passing IMEI to GPS processor {"connection_id":143702,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:15:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":143702,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:15:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:15:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 07:15:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 07:15:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989863680001,"66":13559,"221":206,"85":15104,"24":0,"16":111416184712200192,"45":-8992351424732749824},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-07-27 07:15:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 07:15:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 07:15:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989863680001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:15:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-27 07:15:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 07:15:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111416184712200192,"km_value":111416184712200.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:15:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8992351424732749824,"description":"Unknown IO ID 45"} 
[2026-07-27 07:15:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989863680001,"power":13559,"unknown_221":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8992351424732749824}} 
[2026-07-27 07:15:41] local.INFO: DEBUG: GPS processor result {"connection_id":143702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551705,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:15:41] local.INFO: GPS data processed {"connection_id":143702,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:15:41] local.INFO: Acknowledgment sent {"connection_id":143702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:15:56] local.INFO: TCP Data received {"connection_id":142617,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142617,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:15:56] local.INFO: Processing buffer {"connection_id":142617,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:15:56] local.INFO: IMEI packet received {"connection_id":142617,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 07:15:56] local.INFO: IMEI acknowledgment sent {"connection_id":142617,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:15:57] local.INFO: TCP Data received {"connection_id":142617,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142617,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:15:57] local.INFO: Processing buffer {"connection_id":142617,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:15:57] local.INFO: IMEI packet received {"connection_id":142617,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 07:15:57] local.INFO: IMEI acknowledgment sent {"connection_id":142617,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:15:58] local.INFO: TCP Data received {"connection_id":142617,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142617,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:15:58] local.INFO: Processing buffer {"connection_id":142617,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:15:58] local.INFO: IMEI packet received {"connection_id":142617,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 07:15:58] local.INFO: IMEI acknowledgment sent {"connection_id":142617,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:15:59] local.INFO: TCP Data received {"connection_id":142617,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142617,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:15:59] local.INFO: Processing buffer {"connection_id":142617,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:15:59] local.INFO: IMEI packet received {"connection_id":142617,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 07:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":142617,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:16:10] local.INFO: TCP Data received {"connection_id":142725,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fa13c6e40012d7f980005afd7c0000a000629..."} 
[2026-07-27 07:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa13c6e40012d7f980005afd7c0000a000629..."} 
[2026-07-27 07:16:10] local.INFO: Processing buffer {"connection_id":142725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa13c6e40012d7f980005afd7c0000a000629..."} 
[2026-07-27 07:16:10] local.INFO: Packet analysis {"connection_id":142725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa13c"} 
[2026-07-27 07:16:10] local.INFO: Extracted packet for processing {"connection_id":142725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa13c"} 
[2026-07-27 07:16:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 07:16:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989752064001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:16:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:16:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:16:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:16:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785116520000,"timestamp_ms":1785116520000,"timestamp_seconds":1785116520,"priority":1,"record_length":96,"hex_timestamp":"0000019fa13c6e40"} 
[2026-07-27 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-07-27 07:16:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 07: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-07-27 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-07-27 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-07-27 07:16:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:16:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:16:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:16:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:16:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:16:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:16:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:16:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989752064001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 07:16:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:16:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:16:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989752064001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:16:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 07:16:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:16:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:16:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:16:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989752064001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:16:10] local.INFO: DEBUG: GPS processor result {"connection_id":142725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:16:10] local.INFO: GPS data processed {"connection_id":142725,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:16:10] local.INFO: Acknowledgment sent {"connection_id":142725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:16:32] local.INFO: TCP Data received {"connection_id":145021,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:16:32] local.INFO: Processing buffer {"connection_id":145021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:16:32] local.INFO: IMEI packet received {"connection_id":145021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 07:16:32] local.INFO: IMEI acknowledgment sent {"connection_id":145021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:16:38] local.INFO: TCP Data received {"connection_id":145021,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:16:38] local.INFO: Processing buffer {"connection_id":145021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:16:38] local.INFO: IMEI packet received {"connection_id":145021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 07:16:38] local.INFO: IMEI acknowledgment sent {"connection_id":145021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:16:39] local.INFO: TCP Data received {"connection_id":145021,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa13c6e40012d7f980005afd7c0000a000629..."} 
[2026-07-27 07:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145021,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa13c6e40012d7f980005afd7c0000a000629..."} 
[2026-07-27 07:16:39] local.INFO: Processing buffer {"connection_id":145021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa13c6e40012d7f980005afd7c0000a000629..."} 
[2026-07-27 07:16:39] local.INFO: Packet analysis {"connection_id":145021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa13c"} 
[2026-07-27 07:16:39] local.INFO: Extracted packet for processing {"connection_id":145021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa13c"} 
[2026-07-27 07:16:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 07: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-07-27 07:16:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989752064001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:16:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:16:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:16:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:16:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785116520000,"timestamp_ms":1785116520000,"timestamp_seconds":1785116520,"priority":1,"record_length":96,"hex_timestamp":"0000019fa13c6e40"} 
[2026-07-27 07:16:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:16:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 07:16:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 07:16:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07: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-07-27 07:16:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:16:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:16:39] local.INFO: Teltonika packet parsed successfully {"connection_id":145021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:16:39] local.INFO: Passing IMEI to GPS processor {"connection_id":145021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:16:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":145021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:16:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:16:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:16:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:16:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989752064001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 07:16:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:16:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:16:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989752064001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:16:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 07:16:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:16:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:16:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:16:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989752064001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:16:39] local.INFO: DEBUG: GPS processor result {"connection_id":145021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:16:39] local.INFO: GPS data processed {"connection_id":145021,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:16:39] local.INFO: Acknowledgment sent {"connection_id":145021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:17:10] local.INFO: TCP Data received {"connection_id":145021,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa13c6e40012d7f980005afd7c0000a000629..."} 
[2026-07-27 07:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145021,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa13c6e40012d7f980005afd7c0000a000629..."} 
[2026-07-27 07:17:10] local.INFO: Processing buffer {"connection_id":145021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa13c6e40012d7f980005afd7c0000a000629..."} 
[2026-07-27 07:17:10] local.INFO: Packet analysis {"connection_id":145021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa13c"} 
[2026-07-27 07:17:10] local.INFO: Extracted packet for processing {"connection_id":145021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa13c"} 
[2026-07-27 07:17:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 07:17:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:17:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989752064001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:17:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:17:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:17:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:17:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785116520000,"timestamp_ms":1785116520000,"timestamp_seconds":1785116520,"priority":1,"record_length":96,"hex_timestamp":"0000019fa13c6e40"} 
[2026-07-27 07:17:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:17:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 07: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-07-27 07:17:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:17:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:17:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:17:10] local.INFO: Teltonika packet parsed successfully {"connection_id":145021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:17:10] local.INFO: Passing IMEI to GPS processor {"connection_id":145021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:17:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":145021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:17:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:17:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:17:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:17:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989752064001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 07:17:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:17:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:17:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989752064001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:17:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 07:17:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:17:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:17:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:17:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989752064001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:17:10] local.INFO: DEBUG: GPS processor result {"connection_id":145021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:17:10] local.INFO: GPS data processed {"connection_id":145021,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:17:10] local.INFO: Acknowledgment sent {"connection_id":145021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:17:15] local.INFO: TCP Data received {"connection_id":142618,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 07:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142618,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 07:17:15] local.INFO: Processing buffer {"connection_id":142618,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 07:17:15] local.INFO: IMEI packet received {"connection_id":142618,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 07:17:15] local.INFO: IMEI acknowledgment sent {"connection_id":142618,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:17:32] local.INFO: TCP Data received {"connection_id":142619,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:17:32] local.INFO: Processing buffer {"connection_id":142619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:17:32] local.INFO: IMEI packet received {"connection_id":142619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 07:17:32] local.INFO: IMEI acknowledgment sent {"connection_id":142619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:17:38] local.INFO: TCP Data received {"connection_id":142619,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:17:38] local.INFO: Processing buffer {"connection_id":142619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:17:38] local.INFO: IMEI packet received {"connection_id":142619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 07:17:38] local.INFO: IMEI acknowledgment sent {"connection_id":142619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:17:38] local.INFO: TCP Data received {"connection_id":142619,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fa13c6e40012d7f980005afd7c0000a000629..."} 
[2026-07-27 07:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa13c6e40012d7f980005afd7c0000a000629..."} 
[2026-07-27 07:17:38] local.INFO: Processing buffer {"connection_id":142619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa13c6e40012d7f980005afd7c0000a000629..."} 
[2026-07-27 07:17:38] local.INFO: Packet analysis {"connection_id":142619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa13c"} 
[2026-07-27 07:17:38] local.INFO: Extracted packet for processing {"connection_id":142619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa13c"} 
[2026-07-27 07:17:38] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 07:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:17:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989752064001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:17:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:17:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:17:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:17:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785116520000,"timestamp_ms":1785116520000,"timestamp_seconds":1785116520,"priority":1,"record_length":96,"hex_timestamp":"0000019fa13c6e40"} 
[2026-07-27 07:17:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:17:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 07:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 07:17:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:17:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:17:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:17:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:17:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:17:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:17:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:17:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:17:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:17:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:17:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989752064001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 07:17:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:17:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:17:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989752064001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:17:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 07:17:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:17:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:17:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:17:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989752064001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:17:38] local.INFO: DEBUG: GPS processor result {"connection_id":142619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:17:38] local.INFO: GPS data processed {"connection_id":142619,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:17:38] local.INFO: Acknowledgment sent {"connection_id":142619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:17:45] local.INFO: TCP Data received {"connection_id":143704,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 07:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143704,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 07:17:45] local.INFO: Processing buffer {"connection_id":143704,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 07:17:45] local.INFO: IMEI packet received {"connection_id":143704,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 07:17:45] local.INFO: IMEI acknowledgment sent {"connection_id":143704,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:18:09] local.INFO: TCP Data received {"connection_id":142619,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1410608012d7f980005afd7c0000700062b..."} 
[2026-07-27 07:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1410608012d7f980005afd7c0000700062b..."} 
[2026-07-27 07:18:09] local.INFO: Processing buffer {"connection_id":142619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1410608012d7f980005afd7c0000700062b..."} 
[2026-07-27 07:18:09] local.INFO: Packet analysis {"connection_id":142619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa141"} 
[2026-07-27 07:18:09] local.INFO: Extracted packet for processing {"connection_id":142619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa141"} 
[2026-07-27 07:18:09] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":7,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 07:18:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:18:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989829120001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:18:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:18:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:18:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:18:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785116821000,"timestamp_ms":1785116821000,"timestamp_seconds":1785116821,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1410608"} 
[2026-07-27 07:18:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:18:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 07:18:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 07: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-07-27 07:18:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:18:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:18:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:18:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:18:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:18:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:18:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:18:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:18:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:18:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989829120001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 07:18:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:18:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:18:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989829120001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:18:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 07:18:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:18:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:18:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:18:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989829120001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:18:09] local.INFO: DEBUG: GPS processor result {"connection_id":142619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:18:09] local.INFO: GPS data processed {"connection_id":142619,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:18:09] local.INFO: Acknowledgment sent {"connection_id":142619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:18:33] local.INFO: TCP Data received {"connection_id":143705,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:18:33] local.INFO: Processing buffer {"connection_id":143705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:18:33] local.INFO: IMEI packet received {"connection_id":143705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 07:18:33] local.INFO: IMEI acknowledgment sent {"connection_id":143705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:18:38] local.INFO: TCP Data received {"connection_id":143705,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:18:38] local.INFO: Processing buffer {"connection_id":143705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:18:38] local.INFO: IMEI packet received {"connection_id":143705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 07:18:38] local.INFO: IMEI acknowledgment sent {"connection_id":143705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:18:39] local.INFO: TCP Data received {"connection_id":143705,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1410608012d7f980005afd7c0000700062b..."} 
[2026-07-27 07:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1410608012d7f980005afd7c0000700062b..."} 
[2026-07-27 07:18:39] local.INFO: Processing buffer {"connection_id":143705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1410608012d7f980005afd7c0000700062b..."} 
[2026-07-27 07:18:39] local.INFO: Packet analysis {"connection_id":143705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa141"} 
[2026-07-27 07:18:39] local.INFO: Extracted packet for processing {"connection_id":143705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa141"} 
[2026-07-27 07:18:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":7,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 07:18:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:18:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989829120001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:18:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:18:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:18:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:18:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785116821000,"timestamp_ms":1785116821000,"timestamp_seconds":1785116821,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1410608"} 
[2026-07-27 07:18:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:18:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 07: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-07-27 07: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-07-27 07:18:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:18:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:18:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:18:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:18:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:18:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:18: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-07-27 07:18:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:18:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:18:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989829120001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 07:18:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:18:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:18:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989829120001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:18:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 07:18:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:18:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:18:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:18:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989829120001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:18:39] local.INFO: DEBUG: GPS processor result {"connection_id":143705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:18:39] local.INFO: GPS data processed {"connection_id":143705,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:18:39] local.INFO: Acknowledgment sent {"connection_id":143705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:19:10] local.INFO: TCP Data received {"connection_id":143705,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1410608012d7f980005afd7c0000700062b..."} 
[2026-07-27 07:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1410608012d7f980005afd7c0000700062b..."} 
[2026-07-27 07:19:10] local.INFO: Processing buffer {"connection_id":143705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1410608012d7f980005afd7c0000700062b..."} 
[2026-07-27 07:19:10] local.INFO: Packet analysis {"connection_id":143705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa141"} 
[2026-07-27 07:19:10] local.INFO: Extracted packet for processing {"connection_id":143705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa141"} 
[2026-07-27 07:19:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":7,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 07:19:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989829120001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:19:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:19:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:19:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:19:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785116821000,"timestamp_ms":1785116821000,"timestamp_seconds":1785116821,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1410608"} 
[2026-07-27 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-07-27 07:19:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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-07-27 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-07-27 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-07-27 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-07-27 07:19:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:19:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:19:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:19:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:19:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:19:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:19:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:19:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989829120001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 07:19:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:19:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:19:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989829120001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:19:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 07:19:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:19:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:19:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:19:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989829120001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:19:10] local.INFO: DEBUG: GPS processor result {"connection_id":143705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:19:10] local.INFO: GPS data processed {"connection_id":143705,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:19:10] local.INFO: Acknowledgment sent {"connection_id":143705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:19:33] local.INFO: TCP Data received {"connection_id":142620,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:19:33] local.INFO: Processing buffer {"connection_id":142620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:19:33] local.INFO: IMEI packet received {"connection_id":142620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 07:19:33] local.INFO: IMEI acknowledgment sent {"connection_id":142620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:19:38] local.INFO: TCP Data received {"connection_id":142620,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:19:38] local.INFO: Processing buffer {"connection_id":142620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:19:38] local.INFO: IMEI packet received {"connection_id":142620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 07:19:38] local.INFO: IMEI acknowledgment sent {"connection_id":142620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:19:38] local.INFO: TCP Data received {"connection_id":142620,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1410608012d7f980005afd7c0000700062b..."} 
[2026-07-27 07:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142620,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1410608012d7f980005afd7c0000700062b..."} 
[2026-07-27 07:19:38] local.INFO: Processing buffer {"connection_id":142620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1410608012d7f980005afd7c0000700062b..."} 
[2026-07-27 07:19:38] local.INFO: Packet analysis {"connection_id":142620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa141"} 
[2026-07-27 07:19:38] local.INFO: Extracted packet for processing {"connection_id":142620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa141"} 
[2026-07-27 07:19:38] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":7,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 07:19:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:19:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989829120001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:19:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:19:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:19:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:19:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785116821000,"timestamp_ms":1785116821000,"timestamp_seconds":1785116821,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1410608"} 
[2026-07-27 07:19:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:19:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 07:19:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 07:19:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:19:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:19:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:19:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:19:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:19:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:19:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:19:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:19:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:19:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:19:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989829120001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 07:19:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:19:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:19:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989829120001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:19:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 07:19:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:19:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:19:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:19:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989829120001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:19:38] local.INFO: DEBUG: GPS processor result {"connection_id":142620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:19:38] local.INFO: GPS data processed {"connection_id":142620,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:19:38] local.INFO: Acknowledgment sent {"connection_id":142620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:20:09] local.INFO: TCP Data received {"connection_id":142620,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1410608012d7f980005afd7c0000700062b..."} 
[2026-07-27 07:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142620,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1410608012d7f980005afd7c0000700062b..."} 
[2026-07-27 07:20:09] local.INFO: Processing buffer {"connection_id":142620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1410608012d7f980005afd7c0000700062b..."} 
[2026-07-27 07:20:09] local.INFO: Packet analysis {"connection_id":142620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa141"} 
[2026-07-27 07:20:09] local.INFO: Extracted packet for processing {"connection_id":142620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa141"} 
[2026-07-27 07:20:09] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":7,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 07:20:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:20:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989829120001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:20:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:20:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:20:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:20:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785116821000,"timestamp_ms":1785116821000,"timestamp_seconds":1785116821,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1410608"} 
[2026-07-27 07:20:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:20:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 07: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-07-27 07: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-07-27 07:20:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:20:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:20:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:20:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:20:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:20:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:20:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:20:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:20:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:20:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989829120001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 07:20:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:20:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:20:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989829120001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:20:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 07:20:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:20:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:20:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:20:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989829120001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:20:09] local.INFO: DEBUG: GPS processor result {"connection_id":142620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:20:09] local.INFO: GPS data processed {"connection_id":142620,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:20:09] local.INFO: Acknowledgment sent {"connection_id":142620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:20:33] local.INFO: TCP Data received {"connection_id":143707,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:20:33] local.INFO: Processing buffer {"connection_id":143707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:20:33] local.INFO: IMEI packet received {"connection_id":143707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 07:20:33] local.INFO: IMEI acknowledgment sent {"connection_id":143707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:20:38] local.INFO: TCP Data received {"connection_id":143707,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:20:38] local.INFO: Processing buffer {"connection_id":143707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:20:38] local.INFO: IMEI packet received {"connection_id":143707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 07:20:38] local.INFO: IMEI acknowledgment sent {"connection_id":143707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:20:39] local.INFO: TCP Data received {"connection_id":143707,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1410608012d7f980005afd7c0000700062b..."} 
[2026-07-27 07:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1410608012d7f980005afd7c0000700062b..."} 
[2026-07-27 07:20:39] local.INFO: Processing buffer {"connection_id":143707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1410608012d7f980005afd7c0000700062b..."} 
[2026-07-27 07:20:39] local.INFO: Packet analysis {"connection_id":143707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa141"} 
[2026-07-27 07:20:39] local.INFO: Extracted packet for processing {"connection_id":143707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa141"} 
[2026-07-27 07:20:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":7,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 07:20:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:20:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989829120001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:20:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:20:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:20:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:20:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785116821000,"timestamp_ms":1785116821000,"timestamp_seconds":1785116821,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1410608"} 
[2026-07-27 07:20:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:20:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 07:20:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 07:20: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-07-27 07:20:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:20:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:20:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:20:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:20:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:20:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:20: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-07-27 07:20:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:20:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:20:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989829120001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 07:20:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:20:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:20:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989829120001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:20:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 07:20:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:20:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:20:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:20:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989829120001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:20:39] local.INFO: DEBUG: GPS processor result {"connection_id":143707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:20:39] local.INFO: GPS data processed {"connection_id":143707,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:20:39] local.INFO: Acknowledgment sent {"connection_id":143707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:21:09] local.INFO: TCP Data received {"connection_id":145025,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145025,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:21:09] local.INFO: Processing buffer {"connection_id":145025,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:21:09] local.INFO: IMEI packet received {"connection_id":145025,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 07:21:09] local.INFO: IMEI acknowledgment sent {"connection_id":145025,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:21:10] local.INFO: TCP Data received {"connection_id":143707,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1410608012d7f980005afd7c0000700062b..."} 
[2026-07-27 07:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1410608012d7f980005afd7c0000700062b..."} 
[2026-07-27 07:21:10] local.INFO: Processing buffer {"connection_id":143707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1410608012d7f980005afd7c0000700062b..."} 
[2026-07-27 07:21:10] local.INFO: Packet analysis {"connection_id":143707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa141"} 
[2026-07-27 07:21:10] local.INFO: Extracted packet for processing {"connection_id":143707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa141"} 
[2026-07-27 07:21:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":7,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 07:21:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:21:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989829120001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:21:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:21:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:21:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:21:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785116821000,"timestamp_ms":1785116821000,"timestamp_seconds":1785116821,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1410608"} 
[2026-07-27 07:21:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:21:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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-07-27 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-07-27 07:21:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:21:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:21:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:21:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:21:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:21:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:21:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:21:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:21:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:21:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989829120001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 07:21:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:21:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:21:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989829120001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:21:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 07:21:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:21:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:21:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:21:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989829120001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:21:10] local.INFO: DEBUG: GPS processor result {"connection_id":143707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:21:10] local.INFO: GPS data processed {"connection_id":143707,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:21:10] local.INFO: Acknowledgment sent {"connection_id":143707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:21:10] local.INFO: TCP Data received {"connection_id":145025,"ip":"42.109.136.2","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-27 07:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145025,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-27 07:21:10] local.INFO: Processing buffer {"connection_id":145025,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-27 07:21:10] local.INFO: IMEI packet received {"connection_id":145025,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 07:21:10] local.INFO: IMEI acknowledgment sent {"connection_id":145025,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:21:10] local.INFO: TCP Data received {"connection_id":145025,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145025,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:21:10] local.INFO: Processing buffer {"connection_id":145025,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-27 07:21:10] local.INFO: IMEI packet received {"connection_id":145025,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 07:21:10] local.INFO: IMEI acknowledgment sent {"connection_id":145025,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:21:32] local.INFO: TCP Data received {"connection_id":142621,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:21:32] local.INFO: Processing buffer {"connection_id":142621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:21:32] local.INFO: IMEI packet received {"connection_id":142621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 07:21:32] local.INFO: IMEI acknowledgment sent {"connection_id":142621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:21:38] local.INFO: TCP Data received {"connection_id":142621,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:21:38] local.INFO: Processing buffer {"connection_id":142621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:21:38] local.INFO: IMEI packet received {"connection_id":142621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 07:21:38] local.INFO: IMEI acknowledgment sent {"connection_id":142621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:21:38] local.INFO: TCP Data received {"connection_id":142621,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1410608012d7f980005afd7c0000700062b..."} 
[2026-07-27 07:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1410608012d7f980005afd7c0000700062b..."} 
[2026-07-27 07:21:38] local.INFO: Processing buffer {"connection_id":142621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1410608012d7f980005afd7c0000700062b..."} 
[2026-07-27 07:21:38] local.INFO: Packet analysis {"connection_id":142621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa141"} 
[2026-07-27 07:21:38] local.INFO: Extracted packet for processing {"connection_id":142621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa141"} 
[2026-07-27 07:21:38] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":7,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 07:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:21:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989829120001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:21:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:21:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:21:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:21:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785116821000,"timestamp_ms":1785116821000,"timestamp_seconds":1785116821,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1410608"} 
[2026-07-27 07:21:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:21:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 07:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 07:21:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:21:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:21:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:21:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:21:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:21:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:21:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:21:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:21:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:21:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:21:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989829120001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 07:21:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:21:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:21:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989829120001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:21:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 07:21:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:21:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:21:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:21:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989829120001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:21:39] local.INFO: DEBUG: GPS processor result {"connection_id":142621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:21:39] local.INFO: GPS data processed {"connection_id":142621,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:21:39] local.INFO: Acknowledgment sent {"connection_id":142621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:22:10] local.INFO: TCP Data received {"connection_id":142621,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1410608012d7f980005afd7c0000700062b..."} 
[2026-07-27 07:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1410608012d7f980005afd7c0000700062b..."} 
[2026-07-27 07:22:10] local.INFO: Processing buffer {"connection_id":142621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1410608012d7f980005afd7c0000700062b..."} 
[2026-07-27 07:22:10] local.INFO: Packet analysis {"connection_id":142621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa141"} 
[2026-07-27 07:22:10] local.INFO: Extracted packet for processing {"connection_id":142621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa141"} 
[2026-07-27 07:22:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":7,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 07:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:22:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989829120001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:22:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:22:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:22:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:22:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785116821000,"timestamp_ms":1785116821000,"timestamp_seconds":1785116821,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1410608"} 
[2026-07-27 07:22:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:22:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 07:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 07: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-07-27 07:22:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:22:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:22:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:22:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:22:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:22:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:22:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:22:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:22:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:22:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989829120001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 07:22:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:22:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:22:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989829120001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:22:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 07:22:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:22:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:22:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:22:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989829120001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:22:10] local.INFO: DEBUG: GPS processor result {"connection_id":142621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:22:10] local.INFO: GPS data processed {"connection_id":142621,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:22:10] local.INFO: Acknowledgment sent {"connection_id":142621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:22:32] local.INFO: TCP Data received {"connection_id":145027,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:22:32] local.INFO: Processing buffer {"connection_id":145027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:22:32] local.INFO: IMEI packet received {"connection_id":145027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 07:22:32] local.INFO: IMEI acknowledgment sent {"connection_id":145027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:22:38] local.INFO: TCP Data received {"connection_id":145027,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:22:38] local.INFO: Processing buffer {"connection_id":145027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:22:38] local.INFO: IMEI packet received {"connection_id":145027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 07:22:38] local.INFO: IMEI acknowledgment sent {"connection_id":145027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:22:39] local.INFO: TCP Data received {"connection_id":145027,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1410608012d7f980005afd7c0000700062b..."} 
[2026-07-27 07:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1410608012d7f980005afd7c0000700062b..."} 
[2026-07-27 07:22:39] local.INFO: Processing buffer {"connection_id":145027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1410608012d7f980005afd7c0000700062b..."} 
[2026-07-27 07:22:39] local.INFO: Packet analysis {"connection_id":145027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa141"} 
[2026-07-27 07:22:39] local.INFO: Extracted packet for processing {"connection_id":145027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa141"} 
[2026-07-27 07:22:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":7,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 07:22:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:22:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989829120001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:22:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:22:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:22:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:22:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785116821000,"timestamp_ms":1785116821000,"timestamp_seconds":1785116821,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1410608"} 
[2026-07-27 07:22:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:22:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 07:22:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 07:22: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-07-27 07:22:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:22:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:22:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:22:39] local.INFO: Teltonika packet parsed successfully {"connection_id":145027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:22:39] local.INFO: Passing IMEI to GPS processor {"connection_id":145027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:22:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":145027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:22:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:22:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:22:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:22:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989829120001,"66":25397,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 07:22:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:22:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:22:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989829120001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:22:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 07:22:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:22:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:22:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:22:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989829120001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:22:39] local.INFO: DEBUG: GPS processor result {"connection_id":145027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:22:39] local.INFO: GPS data processed {"connection_id":145027,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:22:39] local.INFO: Acknowledgment sent {"connection_id":145027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:23:09] local.INFO: TCP Data received {"connection_id":145027,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1459dd0012d7f980005afd7c0001200062a..."} 
[2026-07-27 07:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1459dd0012d7f980005afd7c0001200062a..."} 
[2026-07-27 07:23:09] local.INFO: Processing buffer {"connection_id":145027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1459dd0012d7f980005afd7c0001200062a..."} 
[2026-07-27 07:23:09] local.INFO: Packet analysis {"connection_id":145027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa145"} 
[2026-07-27 07:23:09] local.INFO: Extracted packet for processing {"connection_id":145027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa145"} 
[2026-07-27 07:23:09] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":18,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 07:23:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:23:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989906176001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:23:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:23:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:23:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:23:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785117122000,"timestamp_ms":1785117122000,"timestamp_seconds":1785117122,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1459dd0"} 
[2026-07-27 07:23:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:23:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 07: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-07-27 07: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-07-27 07:23:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:23:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:23:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:23:09] local.INFO: Teltonika packet parsed successfully {"connection_id":145027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:23:09] local.INFO: Passing IMEI to GPS processor {"connection_id":145027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:23:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":145027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07: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-07-27 07:23:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:23:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:23:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989906176001,"66":25375,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 07:23:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:23:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:23:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989906176001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:23:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 07:23:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:23:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:23:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:23:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989906176001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:23:09] local.INFO: DEBUG: GPS processor result {"connection_id":145027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:23:09] local.INFO: GPS data processed {"connection_id":145027,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:23:09] local.INFO: Acknowledgment sent {"connection_id":145027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:23:15] local.INFO: TCP Data received {"connection_id":142729,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 07:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142729,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 07:23:15] local.INFO: Processing buffer {"connection_id":142729,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 07:23:15] local.INFO: IMEI packet received {"connection_id":142729,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 07:23:15] local.INFO: IMEI acknowledgment sent {"connection_id":142729,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:23:33] local.INFO: TCP Data received {"connection_id":142731,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:23:33] local.INFO: Processing buffer {"connection_id":142731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:23:33] local.INFO: IMEI packet received {"connection_id":142731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 07:23:33] local.INFO: IMEI acknowledgment sent {"connection_id":142731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:23:38] local.INFO: TCP Data received {"connection_id":142731,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:23:38] local.INFO: Processing buffer {"connection_id":142731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:23:38] local.INFO: IMEI packet received {"connection_id":142731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 07:23:38] local.INFO: IMEI acknowledgment sent {"connection_id":142731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:23:39] local.INFO: TCP Data received {"connection_id":142731,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1459dd0012d7f980005afd7c0001200062a..."} 
[2026-07-27 07:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1459dd0012d7f980005afd7c0001200062a..."} 
[2026-07-27 07:23:39] local.INFO: Processing buffer {"connection_id":142731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1459dd0012d7f980005afd7c0001200062a..."} 
[2026-07-27 07:23:39] local.INFO: Packet analysis {"connection_id":142731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa145"} 
[2026-07-27 07:23:39] local.INFO: Extracted packet for processing {"connection_id":142731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa145"} 
[2026-07-27 07:23:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":18,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 07:23:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:23:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989906176001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:23:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:23:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:23:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:23:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785117122000,"timestamp_ms":1785117122000,"timestamp_seconds":1785117122,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1459dd0"} 
[2026-07-27 07:23:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:23:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 07: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":53,"data_length":795,"current_offset":136} 
[2026-07-27 07:23: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-07-27 07:23:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:23:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:23:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:23:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:23:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:23:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:23:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:23:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:23:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:23:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989906176001,"66":25375,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 07:23:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:23:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:23:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989906176001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:23:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 07:23:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:23:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:23:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:23:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989906176001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:23:39] local.INFO: DEBUG: GPS processor result {"connection_id":142731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:23:39] local.INFO: GPS data processed {"connection_id":142731,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:23:39] local.INFO: Acknowledgment sent {"connection_id":142731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:23:45] local.INFO: TCP Data received {"connection_id":143709,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 07:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143709,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 07:23:45] local.INFO: Processing buffer {"connection_id":143709,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 07:23:45] local.INFO: IMEI packet received {"connection_id":143709,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 07:23:45] local.INFO: IMEI acknowledgment sent {"connection_id":143709,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:24:10] local.INFO: TCP Data received {"connection_id":142731,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1459dd0012d7f980005afd7c0001200062a..."} 
[2026-07-27 07:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1459dd0012d7f980005afd7c0001200062a..."} 
[2026-07-27 07:24:10] local.INFO: Processing buffer {"connection_id":142731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1459dd0012d7f980005afd7c0001200062a..."} 
[2026-07-27 07:24:10] local.INFO: Packet analysis {"connection_id":142731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa145"} 
[2026-07-27 07:24:10] local.INFO: Extracted packet for processing {"connection_id":142731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa145"} 
[2026-07-27 07:24:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":18,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 07:24:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989906176001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:24:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:24:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:24:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:24:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785117122000,"timestamp_ms":1785117122000,"timestamp_seconds":1785117122,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1459dd0"} 
[2026-07-27 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-07-27 07:24:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 07: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-07-27 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-07-27 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-07-27 07:24:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:24:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:24:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:24:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:24:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:24:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:24:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:24:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989906176001,"66":25375,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 07:24:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:24:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:24:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989906176001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:24:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 07:24:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:24:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:24:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:24:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989906176001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:24:10] local.INFO: DEBUG: GPS processor result {"connection_id":142731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:24:10] local.INFO: GPS data processed {"connection_id":142731,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:24:10] local.INFO: Acknowledgment sent {"connection_id":142731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:24:33] local.INFO: TCP Data received {"connection_id":142622,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142622,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:24:33] local.INFO: Processing buffer {"connection_id":142622,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:24:33] local.INFO: IMEI packet received {"connection_id":142622,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 07:24:33] local.INFO: IMEI acknowledgment sent {"connection_id":142622,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:24:38] local.INFO: TCP Data received {"connection_id":142622,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142622,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:24:38] local.INFO: Processing buffer {"connection_id":142622,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:24:38] local.INFO: IMEI packet received {"connection_id":142622,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 07:24:38] local.INFO: IMEI acknowledgment sent {"connection_id":142622,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:24:39] local.INFO: TCP Data received {"connection_id":142622,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1459dd0012d7f980005afd7c0001200062a..."} 
[2026-07-27 07:24:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1459dd0012d7f980005afd7c0001200062a..."} 
[2026-07-27 07:24:39] local.INFO: Processing buffer {"connection_id":142622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1459dd0012d7f980005afd7c0001200062a..."} 
[2026-07-27 07:24:39] local.INFO: Packet analysis {"connection_id":142622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa145"} 
[2026-07-27 07:24:39] local.INFO: Extracted packet for processing {"connection_id":142622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa145"} 
[2026-07-27 07:24:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":18,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 07:24:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:24:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989906176001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:24:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:24:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:24:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:24:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785117122000,"timestamp_ms":1785117122000,"timestamp_seconds":1785117122,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1459dd0"} 
[2026-07-27 07:24:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:24:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 07: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":53,"data_length":795,"current_offset":136} 
[2026-07-27 07:24: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-07-27 07:24:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:24:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:24:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:24:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:24:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:24:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:24:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:24:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:24:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:24:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989906176001,"66":25375,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 07:24:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:24:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:24:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989906176001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:24:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 07:24:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:24:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:24:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:24:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989906176001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:24:39] local.INFO: DEBUG: GPS processor result {"connection_id":142622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:24:39] local.INFO: GPS data processed {"connection_id":142622,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:24:39] local.INFO: Acknowledgment sent {"connection_id":142622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:25:10] local.INFO: TCP Data received {"connection_id":142622,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1459dd0012d7f980005afd7c0001200062a..."} 
[2026-07-27 07:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1459dd0012d7f980005afd7c0001200062a..."} 
[2026-07-27 07:25:10] local.INFO: Processing buffer {"connection_id":142622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1459dd0012d7f980005afd7c0001200062a..."} 
[2026-07-27 07:25:10] local.INFO: Packet analysis {"connection_id":142622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa145"} 
[2026-07-27 07:25:10] local.INFO: Extracted packet for processing {"connection_id":142622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa145"} 
[2026-07-27 07:25:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":18,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 07:25:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989906176001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:25:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:25:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:25:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:25:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785117122000,"timestamp_ms":1785117122000,"timestamp_seconds":1785117122,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1459dd0"} 
[2026-07-27 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-07-27 07:25:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 07:25:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 07:25:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:25:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:25:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:25:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:25:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:25:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:25:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:25:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989906176001,"66":25375,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 07:25:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:25:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:25:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989906176001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:25:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 07:25:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:25:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:25:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:25:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989906176001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:25:10] local.INFO: DEBUG: GPS processor result {"connection_id":142622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:25:10] local.INFO: GPS data processed {"connection_id":142622,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:25:10] local.INFO: Acknowledgment sent {"connection_id":142622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:25:32] local.INFO: TCP Data received {"connection_id":142733,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:25:32] local.INFO: Processing buffer {"connection_id":142733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:25:32] local.INFO: IMEI packet received {"connection_id":142733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 07:25:32] local.INFO: IMEI acknowledgment sent {"connection_id":142733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:25:38] local.INFO: TCP Data received {"connection_id":142733,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:25:38] local.INFO: Processing buffer {"connection_id":142733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:25:38] local.INFO: IMEI packet received {"connection_id":142733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 07:25:38] local.INFO: IMEI acknowledgment sent {"connection_id":142733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:25:39] local.INFO: TCP Data received {"connection_id":142733,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1459dd0012d7f980005afd7c0001200062a..."} 
[2026-07-27 07:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1459dd0012d7f980005afd7c0001200062a..."} 
[2026-07-27 07:25:39] local.INFO: Processing buffer {"connection_id":142733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1459dd0012d7f980005afd7c0001200062a..."} 
[2026-07-27 07:25:39] local.INFO: Packet analysis {"connection_id":142733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa145"} 
[2026-07-27 07:25:39] local.INFO: Extracted packet for processing {"connection_id":142733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa145"} 
[2026-07-27 07:25:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":18,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 07:25:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:25:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989906176001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:25:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:25:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:25:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:25:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785117122000,"timestamp_ms":1785117122000,"timestamp_seconds":1785117122,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1459dd0"} 
[2026-07-27 07:25:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:25:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 07: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-07-27 07: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-07-27 07:25:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:25:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:25:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:25:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:25:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:25:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:25:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:25:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:25:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:25:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989906176001,"66":25375,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 07:25:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:25:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:25:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989906176001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:25:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 07:25:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:25:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:25:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:25:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989906176001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:25:39] local.INFO: DEBUG: GPS processor result {"connection_id":142733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:25:39] local.INFO: GPS data processed {"connection_id":142733,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:25:39] local.INFO: Acknowledgment sent {"connection_id":142733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:26:10] local.INFO: TCP Data received {"connection_id":142733,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1459dd0012d7f980005afd7c0001200062a..."} 
[2026-07-27 07:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1459dd0012d7f980005afd7c0001200062a..."} 
[2026-07-27 07:26:10] local.INFO: Processing buffer {"connection_id":142733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1459dd0012d7f980005afd7c0001200062a..."} 
[2026-07-27 07:26:10] local.INFO: Packet analysis {"connection_id":142733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa145"} 
[2026-07-27 07:26:10] local.INFO: Extracted packet for processing {"connection_id":142733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa145"} 
[2026-07-27 07:26:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":18,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 07:26:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:26:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989906176001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:26:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:26:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:26:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:26:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785117122000,"timestamp_ms":1785117122000,"timestamp_seconds":1785117122,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1459dd0"} 
[2026-07-27 07:26:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:26:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 07:26:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 07:26:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:26:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:26:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:26:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:26:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:26:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:26:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07: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-07-27 07:26:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:26:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:26:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989906176001,"66":25375,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 07:26:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:26:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:26:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989906176001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:26:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 07:26:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:26:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:26:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:26:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989906176001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:26:10] local.INFO: DEBUG: GPS processor result {"connection_id":142733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:26:10] local.INFO: GPS data processed {"connection_id":142733,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:26:10] local.INFO: Acknowledgment sent {"connection_id":142733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:26:11] local.INFO: TCP Data received {"connection_id":142734,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142734,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:26:11] local.INFO: Processing buffer {"connection_id":142734,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:26:11] local.INFO: IMEI packet received {"connection_id":142734,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 07:26:11] local.INFO: IMEI acknowledgment sent {"connection_id":142734,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:26:12] local.INFO: TCP Data received {"connection_id":142734,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1492bf8012d82a38005d5fbe80005000721..."} 
[2026-07-27 07:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1492bf8012d82a38005d5fbe80005000721..."} 
[2026-07-27 07:26:12] local.INFO: Processing buffer {"connection_id":142734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1492bf8012d82a38005d5fbe80005000721..."} 
[2026-07-27 07:26:12] local.INFO: Packet analysis {"connection_id":142734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa149"} 
[2026-07-27 07:26:12] local.INFO: Extracted packet for processing {"connection_id":142734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa149"} 
[2026-07-27 07:26:12] local.INFO: GPS Element Parsed {"raw_longitude":763536256,"raw_latitude":97909736,"longitude_deg":76.3536256,"latitude_deg":9.7909736,"altitude":5,"angle":7,"satellites":33,"speed":7,"hex_longitude":"2d82a380","hex_latitude":"05d5fbe8","is_valid_coordinates":true} 
[2026-07-27 07:26:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:26:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990042624001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:26:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111438381103185920,"note":"Value kept but may cause issues"} 
[2026-07-27 07:26:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9033376402510231552,"note":"Value kept but may cause issues"} 
[2026-07-27 07:26:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:26:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785117355000,"timestamp_ms":1785117355000,"timestamp_seconds":1785117355,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1492bf8"} 
[2026-07-27 07:26:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:26:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 07:26:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-07-27 07:26:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:26:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:26:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:26:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:26:12] local.INFO: Teltonika packet parsed successfully {"connection_id":142734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:26:12] local.INFO: Passing IMEI to GPS processor {"connection_id":142734,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:26:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":142734,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:26:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:26:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 07:26:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 07:26:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990042624001,"66":13178,"157":206,"85":15104,"24":7,"16":111438381103185920,"45":-9033376402510231552},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-07-27 07:26:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 07:26:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 07:26:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990042624001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:26:12] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-27 07:26:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 07:26:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111438381103185920,"km_value":111438381103185.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:26:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9033376402510231552,"description":"Unknown IO ID 45"} 
[2026-07-27 07:26:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990042624001,"power":13178,"unknown_157":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":-9033376402510231552}} 
[2026-07-27 07:26:12] local.INFO: DEBUG: GPS processor result {"connection_id":142734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551727,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:26:12] local.INFO: GPS data processed {"connection_id":142734,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:26:12] local.INFO: Acknowledgment sent {"connection_id":142734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:26:32] local.INFO: TCP Data received {"connection_id":145028,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:26:32] local.INFO: Processing buffer {"connection_id":145028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:26:32] local.INFO: IMEI packet received {"connection_id":145028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 07:26:32] local.INFO: IMEI acknowledgment sent {"connection_id":145028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:26:38] local.INFO: TCP Data received {"connection_id":145028,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:26:38] local.INFO: Processing buffer {"connection_id":145028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:26:38] local.INFO: IMEI packet received {"connection_id":145028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 07:26:38] local.INFO: IMEI acknowledgment sent {"connection_id":145028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:26:39] local.INFO: TCP Data received {"connection_id":145028,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1459dd0012d7f980005afd7c0001200062a..."} 
[2026-07-27 07:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1459dd0012d7f980005afd7c0001200062a..."} 
[2026-07-27 07:26:39] local.INFO: Processing buffer {"connection_id":145028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1459dd0012d7f980005afd7c0001200062a..."} 
[2026-07-27 07:26:39] local.INFO: Packet analysis {"connection_id":145028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa145"} 
[2026-07-27 07:26:39] local.INFO: Extracted packet for processing {"connection_id":145028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa145"} 
[2026-07-27 07:26:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":18,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 07:26:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:26:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989906176001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:26:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:26:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:26:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:26:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785117122000,"timestamp_ms":1785117122000,"timestamp_seconds":1785117122,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1459dd0"} 
[2026-07-27 07:26:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:26:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 07: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-07-27 07: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-07-27 07:26:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:26:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:26:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:26:39] local.INFO: Teltonika packet parsed successfully {"connection_id":145028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:26:39] local.INFO: Passing IMEI to GPS processor {"connection_id":145028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:26:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":145028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:26: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-07-27 07:26:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:26:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:26:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989906176001,"66":25375,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 07:26:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:26:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:26:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989906176001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:26:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 07:26:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:26:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:26:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:26:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989906176001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:26:39] local.INFO: DEBUG: GPS processor result {"connection_id":145028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:26:39] local.INFO: GPS data processed {"connection_id":145028,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:26:39] local.INFO: Acknowledgment sent {"connection_id":145028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:26:43] local.INFO: TCP Data received {"connection_id":142734,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1492fe0012d82a30005d5fcd00005016221..."} 
[2026-07-27 07:26:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1492fe0012d82a30005d5fcd00005016221..."} 
[2026-07-27 07:26:43] local.INFO: Processing buffer {"connection_id":142734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1492fe0012d82a30005d5fcd00005016221..."} 
[2026-07-27 07:26:43] local.INFO: Packet analysis {"connection_id":142734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa149"} 
[2026-07-27 07:26:43] local.INFO: Extracted packet for processing {"connection_id":142734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa149"} 
[2026-07-27 07:26:43] local.INFO: GPS Element Parsed {"raw_longitude":763536128,"raw_latitude":97909968,"longitude_deg":76.3536128,"latitude_deg":9.7909968,"altitude":5,"angle":354,"satellites":33,"speed":9,"hex_longitude":"2d82a300","hex_latitude":"05d5fcd0","is_valid_coordinates":true} 
[2026-07-27 07:26:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:26:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990042880001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:26:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111438389693120512,"note":"Value kept but may cause issues"} 
[2026-07-27 07:26:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9033235665021835264,"note":"Value kept but may cause issues"} 
[2026-07-27 07:26:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:26:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785117356000,"timestamp_ms":1785117356000,"timestamp_seconds":1785117356,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1492fe0"} 
[2026-07-27 07:26:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:26:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 07:26:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-07-27 07:26:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:26:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:26:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:26:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:26:43] local.INFO: Teltonika packet parsed successfully {"connection_id":142734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:26:43] local.INFO: Passing IMEI to GPS processor {"connection_id":142734,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:26:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":142734,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:26:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:26:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 07:26:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 07:26:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990042880001,"66":13178,"157":206,"85":15104,"24":9,"16":111438389693120512,"45":-9033235665021835264},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-07-27 07:26:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 07:26:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 07:26:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990042880001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:26:43] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-27 07:26:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 07:26:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111438389693120512,"km_value":111438389693120.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:26:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9033235665021835264,"description":"Unknown IO ID 45"} 
[2026-07-27 07:26:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990042880001,"power":13178,"unknown_157":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":-9033235665021835264}} 
[2026-07-27 07:26:43] local.INFO: DEBUG: GPS processor result {"connection_id":142734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551729,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:26:43] local.INFO: GPS data processed {"connection_id":142734,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:26:43] local.INFO: Acknowledgment sent {"connection_id":142734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:26:58] local.INFO: TCP Data received {"connection_id":143712,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143712,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:26:58] local.INFO: Processing buffer {"connection_id":143712,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:26:58] local.INFO: IMEI packet received {"connection_id":143712,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 07:26:58] local.INFO: IMEI acknowledgment sent {"connection_id":143712,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:27:04] local.INFO: TCP Data received {"connection_id":143712,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143712,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:27:04] local.INFO: Processing buffer {"connection_id":143712,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:27:04] local.INFO: IMEI packet received {"connection_id":143712,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 07:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":143712,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:27:04] local.INFO: TCP Data received {"connection_id":143712,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa149e778012d82ce8005d679c80008000821..."} 
[2026-07-27 07:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa149e778012d82ce8005d679c80008000821..."} 
[2026-07-27 07:27:04] local.INFO: Processing buffer {"connection_id":143712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa149e778012d82ce8005d679c80008000821..."} 
[2026-07-27 07:27:04] local.INFO: Packet analysis {"connection_id":143712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa149"} 
[2026-07-27 07:27:04] local.INFO: Extracted packet for processing {"connection_id":143712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa149"} 
[2026-07-27 07:27:04] local.INFO: GPS Element Parsed {"raw_longitude":763547264,"raw_latitude":97941960,"longitude_deg":76.3547264,"latitude_deg":9.794196,"altitude":8,"angle":8,"satellites":33,"speed":27,"hex_longitude":"2d82ce80","hex_latitude":"05d679c8","is_valid_coordinates":true} 
[2026-07-27 07:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:27:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990052864001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:27:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111440137744809984,"note":"Value kept but may cause issues"} 
[2026-07-27 07:27:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9024369203249389568,"note":"Value kept but may cause issues"} 
[2026-07-27 07:27:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:27:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785117403000,"timestamp_ms":1785117403000,"timestamp_seconds":1785117403,"priority":1,"record_length":96,"hex_timestamp":"0000019fa149e778"} 
[2026-07-27 07:27:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:27:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 07:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-07-27 07:27:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:27:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:27:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:27:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:27:04] local.INFO: Teltonika packet parsed successfully {"connection_id":143712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:27:04] local.INFO: Passing IMEI to GPS processor {"connection_id":143712,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:27:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":143712,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:27:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:27:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 07:27:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 07:27:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990052864001,"66":12711,"157":206,"85":15104,"24":27,"16":111440137744809984,"45":-9024369203249389568},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-07-27 07:27:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 07:27:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 07:27:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990052864001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:27:04] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-27 07:27:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 07:27:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111440137744809984,"km_value":111440137744809.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:27:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9024369203249389568,"description":"Unknown IO ID 45"} 
[2026-07-27 07:27:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990052864001,"power":12711,"unknown_157":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":-9024369203249389568}} 
[2026-07-27 07:27:04] local.INFO: DEBUG: GPS processor result {"connection_id":143712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551730,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:27:04] local.INFO: GPS data processed {"connection_id":143712,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:27:04] local.INFO: Acknowledgment sent {"connection_id":143712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:27:10] local.INFO: TCP Data received {"connection_id":145028,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1459dd0012d7f980005afd7c0001200062a..."} 
[2026-07-27 07:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1459dd0012d7f980005afd7c0001200062a..."} 
[2026-07-27 07:27:10] local.INFO: Processing buffer {"connection_id":145028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1459dd0012d7f980005afd7c0001200062a..."} 
[2026-07-27 07:27:10] local.INFO: Packet analysis {"connection_id":145028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa145"} 
[2026-07-27 07:27:10] local.INFO: Extracted packet for processing {"connection_id":145028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa145"} 
[2026-07-27 07:27:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":18,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 07:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:27:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989906176001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:27:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:27:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:27:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:27:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785117122000,"timestamp_ms":1785117122000,"timestamp_seconds":1785117122,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1459dd0"} 
[2026-07-27 07:27:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:27:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 07:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 07: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-07-27 07:27:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:27:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:27:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:27:10] local.INFO: Teltonika packet parsed successfully {"connection_id":145028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:27:10] local.INFO: Passing IMEI to GPS processor {"connection_id":145028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:27:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":145028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:27:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:27:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:27:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:27:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989906176001,"66":25375,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 07:27:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:27:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:27:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989906176001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:27:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 07:27:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:27:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:27:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:27:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989906176001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:27:10] local.INFO: DEBUG: GPS processor result {"connection_id":145028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:27:10] local.INFO: GPS data processed {"connection_id":145028,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:27:10] local.INFO: Acknowledgment sent {"connection_id":145028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:27:32] local.INFO: TCP Data received {"connection_id":142624,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:27:32] local.INFO: Processing buffer {"connection_id":142624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:27:32] local.INFO: IMEI packet received {"connection_id":142624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 07:27:32] local.INFO: IMEI acknowledgment sent {"connection_id":142624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:27:35] local.INFO: TCP Data received {"connection_id":143712,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa14a02d0012d82d00005d684c80007016423..."} 
[2026-07-27 07:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa14a02d0012d82d00005d684c80007016423..."} 
[2026-07-27 07:27:35] local.INFO: Processing buffer {"connection_id":143712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa14a02d0012d82d00005d684c80007016423..."} 
[2026-07-27 07:27:35] local.INFO: Packet analysis {"connection_id":143712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa14a"} 
[2026-07-27 07:27:35] local.INFO: Extracted packet for processing {"connection_id":143712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa14a"} 
[2026-07-27 07:27:35] local.INFO: GPS Element Parsed {"raw_longitude":763547648,"raw_latitude":97944776,"longitude_deg":76.3547648,"latitude_deg":9.7944776,"altitude":7,"angle":356,"satellites":35,"speed":7,"hex_longitude":"2d82d000","hex_latitude":"05d684c8","is_valid_coordinates":true} 
[2026-07-27 07:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:27:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990055168001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:27:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111440275183763456,"note":"Value kept but may cause issues"} 
[2026-07-27 07:27:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9021132241015027712,"note":"Value kept but may cause issues"} 
[2026-07-27 07:27:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:27:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785117410000,"timestamp_ms":1785117410000,"timestamp_seconds":1785117410,"priority":1,"record_length":96,"hex_timestamp":"0000019fa14a02d0"} 
[2026-07-27 07:27:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:27:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 07:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-07-27 07:27:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:27:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:27:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:27:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:27:35] local.INFO: Teltonika packet parsed successfully {"connection_id":143712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:27:35] local.INFO: Passing IMEI to GPS processor {"connection_id":143712,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:27:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":143712,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:27:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:27:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 07:27:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 07:27:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990055168001,"66":13602,"157":206,"85":15104,"24":7,"16":111440275183763456,"45":-9021132241015027712},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-07-27 07:27:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 07:27:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 07:27:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990055168001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:27:35] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-27 07:27:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 07:27:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111440275183763456,"km_value":111440275183763.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:27:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9021132241015027712,"description":"Unknown IO ID 45"} 
[2026-07-27 07:27:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990055168001,"power":13602,"unknown_157":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":-9021132241015027712}} 
[2026-07-27 07:27:35] local.INFO: DEBUG: GPS processor result {"connection_id":143712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551732,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:27:35] local.INFO: GPS data processed {"connection_id":143712,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:27:35] local.INFO: Acknowledgment sent {"connection_id":143712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:27:38] local.INFO: TCP Data received {"connection_id":142624,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:27:38] local.INFO: Processing buffer {"connection_id":142624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:27:38] local.INFO: IMEI packet received {"connection_id":142624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 07:27:38] local.INFO: IMEI acknowledgment sent {"connection_id":142624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:27:39] local.INFO: TCP Data received {"connection_id":142624,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1459dd0012d7f980005afd7c0001200062a..."} 
[2026-07-27 07:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1459dd0012d7f980005afd7c0001200062a..."} 
[2026-07-27 07:27:39] local.INFO: Processing buffer {"connection_id":142624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1459dd0012d7f980005afd7c0001200062a..."} 
[2026-07-27 07:27:39] local.INFO: Packet analysis {"connection_id":142624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa145"} 
[2026-07-27 07:27:39] local.INFO: Extracted packet for processing {"connection_id":142624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa145"} 
[2026-07-27 07:27:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":18,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 07:27:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:27:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989906176001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:27:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:27:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:27:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:27:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785117122000,"timestamp_ms":1785117122000,"timestamp_seconds":1785117122,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1459dd0"} 
[2026-07-27 07:27:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:27:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 07: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":53,"data_length":795,"current_offset":136} 
[2026-07-27 07:27: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-07-27 07:27:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:27:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:27:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:27:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:27:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:27:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:27:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:27:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:27:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:27:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989906176001,"66":25375,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 07:27:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:27:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:27:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989906176001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:27:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 07:27:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:27:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:27:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:27:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989906176001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:27:39] local.INFO: DEBUG: GPS processor result {"connection_id":142624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:27:39] local.INFO: GPS data processed {"connection_id":142624,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:27:39] local.INFO: Acknowledgment sent {"connection_id":142624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:28:04] local.INFO: TCP Data received {"connection_id":142736,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142736,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:28:04] local.INFO: Processing buffer {"connection_id":142736,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:28:04] local.INFO: IMEI packet received {"connection_id":142736,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 07:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":142736,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:28:04] local.INFO: TCP Data received {"connection_id":142736,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa14aaeb0012d82b9c005d6d9e80007016022..."} 
[2026-07-27 07:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa14aaeb0012d82b9c005d6d9e80007016022..."} 
[2026-07-27 07:28:04] local.INFO: Processing buffer {"connection_id":142736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa14aaeb0012d82b9c005d6d9e80007016022..."} 
[2026-07-27 07:28:04] local.INFO: Packet analysis {"connection_id":142736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa14a"} 
[2026-07-27 07:28:04] local.INFO: Extracted packet for processing {"connection_id":142736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa14a"} 
[2026-07-27 07:28:04] local.INFO: GPS Element Parsed {"raw_longitude":763541952,"raw_latitude":97966568,"longitude_deg":76.3541952,"latitude_deg":9.7966568,"altitude":7,"angle":352,"satellites":34,"speed":35,"hex_longitude":"2d82b9c0","hex_latitude":"05d6d9e8","is_valid_coordinates":true} 
[2026-07-27 07:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:28:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990067200001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:28:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111441469184671744,"note":"Value kept but may cause issues"} 
[2026-07-27 07:28:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9026761740543979520,"note":"Value kept but may cause issues"} 
[2026-07-27 07:28:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:28:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785117454000,"timestamp_ms":1785117454000,"timestamp_seconds":1785117454,"priority":1,"record_length":96,"hex_timestamp":"0000019fa14aaeb0"} 
[2026-07-27 07:28:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:28:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 07:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-27 07:28:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:28:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:28:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:28:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:28:04] local.INFO: Teltonika packet parsed successfully {"connection_id":142736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:28:04] local.INFO: Passing IMEI to GPS processor {"connection_id":142736,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:28:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":142736,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:28:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:28:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 07:28:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 07:28:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990067200001,"66":13341,"156":206,"85":15104,"24":35,"16":111441469184671744,"45":-9026761740543979520},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-07-27 07:28:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 07:28:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 07:28:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990067200001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:28:04] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-27 07:28:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 07:28:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111441469184671744,"km_value":111441469184671.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:28:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9026761740543979520,"description":"Unknown IO ID 45"} 
[2026-07-27 07:28:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990067200001,"power":13341,"unknown_156":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":-9026761740543979520}} 
[2026-07-27 07:28:04] local.INFO: DEBUG: GPS processor result {"connection_id":142736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551734,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:28:04] local.INFO: GPS data processed {"connection_id":142736,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:28:04] local.INFO: Acknowledgment sent {"connection_id":142736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:28:09] local.INFO: TCP Data received {"connection_id":142624,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fa14a3598012d7f980005afd7c0001200062b..."} 
[2026-07-27 07:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa14a3598012d7f980005afd7c0001200062b..."} 
[2026-07-27 07:28:09] local.INFO: Processing buffer {"connection_id":142624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa14a3598012d7f980005afd7c0001200062b..."} 
[2026-07-27 07:28:09] local.INFO: Packet analysis {"connection_id":142624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa14a"} 
[2026-07-27 07:28:09] local.INFO: Extracted packet for processing {"connection_id":142624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa14a"} 
[2026-07-27 07:28:09] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":18,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 07:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:28:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989983232001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:28:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:28:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:28:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:28:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785117423000,"timestamp_ms":1785117423000,"timestamp_seconds":1785117423,"priority":1,"record_length":96,"hex_timestamp":"0000019fa14a3598"} 
[2026-07-27 07:28:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:28:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 07: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":31,"data_length":795,"current_offset":136} 
[2026-07-27 07:28:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:28:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:28:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:28:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:28:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:28:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:28:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:28:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:28:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:28:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:28:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989983232001,"66":25375,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 07:28:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:28:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:28:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989983232001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:28:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 07:28:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:28:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:28:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:28:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989983232001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:28:09] local.INFO: DEBUG: GPS processor result {"connection_id":142624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:28:09] local.INFO: GPS data processed {"connection_id":142624,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:28:09] local.INFO: Acknowledgment sent {"connection_id":142624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:28:33] local.INFO: TCP Data received {"connection_id":145029,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:28:33] local.INFO: Processing buffer {"connection_id":145029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:28:33] local.INFO: IMEI packet received {"connection_id":145029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 07:28:33] local.INFO: IMEI acknowledgment sent {"connection_id":145029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:28:36] local.INFO: TCP Data received {"connection_id":142736,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa14ad9a8012d82b68005d6fd900006015f22..."} 
[2026-07-27 07:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa14ad9a8012d82b68005d6fd900006015f22..."} 
[2026-07-27 07:28:36] local.INFO: Processing buffer {"connection_id":142736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa14ad9a8012d82b68005d6fd900006015f22..."} 
[2026-07-27 07:28:36] local.INFO: Packet analysis {"connection_id":142736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa14a"} 
[2026-07-27 07:28:36] local.INFO: Extracted packet for processing {"connection_id":142736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa14a"} 
[2026-07-27 07:28:36] local.INFO: GPS Element Parsed {"raw_longitude":763541120,"raw_latitude":97975696,"longitude_deg":76.354112,"latitude_deg":9.7975696,"altitude":6,"angle":351,"satellites":34,"speed":37,"hex_longitude":"2d82b680","hex_latitude":"05d6fd90","is_valid_coordinates":true} 
[2026-07-27 07:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:28:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990068224001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:28:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111441911566303232,"note":"Value kept but may cause issues"} 
[2026-07-27 07:28:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9026972846775474176,"note":"Value kept but may cause issues"} 
[2026-07-27 07:28:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:28:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785117465000,"timestamp_ms":1785117465000,"timestamp_seconds":1785117465,"priority":1,"record_length":96,"hex_timestamp":"0000019fa14ad9a8"} 
[2026-07-27 07:28:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:28:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 07:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-07-27 07:28:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:28:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:28:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:28:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:28:36] local.INFO: Teltonika packet parsed successfully {"connection_id":142736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:28:36] local.INFO: Passing IMEI to GPS processor {"connection_id":142736,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:28:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":142736,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:28:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:28:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 07:28:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 07:28:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990068224001,"66":12906,"156":206,"85":15104,"24":37,"16":111441911566303232,"45":-9026972846775474176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-07-27 07:28:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 07:28:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 07:28:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990068224001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:28:36] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-27 07:28:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 07:28:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111441911566303232,"km_value":111441911566303.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:28:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9026972846775474176,"description":"Unknown IO ID 45"} 
[2026-07-27 07:28:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990068224001,"power":12906,"unknown_156":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":-9026972846775474176}} 
[2026-07-27 07:28:36] local.INFO: DEBUG: GPS processor result {"connection_id":142736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551736,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:28:36] local.INFO: GPS data processed {"connection_id":142736,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:28:36] local.INFO: Acknowledgment sent {"connection_id":142736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:28:38] local.INFO: TCP Data received {"connection_id":145029,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:28:38] local.INFO: Processing buffer {"connection_id":145029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:28:38] local.INFO: IMEI packet received {"connection_id":145029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 07:28:38] local.INFO: IMEI acknowledgment sent {"connection_id":145029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:28:39] local.INFO: TCP Data received {"connection_id":145029,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fa14a3598012d7f980005afd7c0001200062b..."} 
[2026-07-27 07:28:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa14a3598012d7f980005afd7c0001200062b..."} 
[2026-07-27 07:28:39] local.INFO: Processing buffer {"connection_id":145029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa14a3598012d7f980005afd7c0001200062b..."} 
[2026-07-27 07:28:39] local.INFO: Packet analysis {"connection_id":145029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa14a"} 
[2026-07-27 07:28:39] local.INFO: Extracted packet for processing {"connection_id":145029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa14a"} 
[2026-07-27 07:28:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":18,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 07:28:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:28:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989983232001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:28:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:28:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:28:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:28:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785117423000,"timestamp_ms":1785117423000,"timestamp_seconds":1785117423,"priority":1,"record_length":96,"hex_timestamp":"0000019fa14a3598"} 
[2026-07-27 07:28:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:28:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 07: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":31,"data_length":795,"current_offset":136} 
[2026-07-27 07:28: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-07-27 07:28:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:28:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:28:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:28:39] local.INFO: Teltonika packet parsed successfully {"connection_id":145029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:28:39] local.INFO: Passing IMEI to GPS processor {"connection_id":145029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:28:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":145029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:28:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:28:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:28:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:28:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989983232001,"66":25375,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 07:28:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:28:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:28:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989983232001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:28:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 07:28:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:28:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:28:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:28:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989983232001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:28:39] local.INFO: DEBUG: GPS processor result {"connection_id":145029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:28:39] local.INFO: GPS data processed {"connection_id":145029,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:28:39] local.INFO: Acknowledgment sent {"connection_id":145029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:29:04] local.INFO: TCP Data received {"connection_id":142737,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142737,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:29:04] local.INFO: Processing buffer {"connection_id":142737,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:29:04] local.INFO: IMEI packet received {"connection_id":142737,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 07:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":142737,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:29:07] local.INFO: TCP Data received {"connection_id":142737,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142737,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:29:07] local.INFO: Processing buffer {"connection_id":142737,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:29:07] local.INFO: IMEI packet received {"connection_id":142737,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 07:29:07] local.INFO: IMEI acknowledgment sent {"connection_id":142737,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:29:07] local.INFO: TCP Data received {"connection_id":142737,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa14afcd0012d82b04005d723800006015e22..."} 
[2026-07-27 07:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa14afcd0012d82b04005d723800006015e22..."} 
[2026-07-27 07:29:07] local.INFO: Processing buffer {"connection_id":142737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa14afcd0012d82b04005d723800006015e22..."} 
[2026-07-27 07:29:07] local.INFO: Packet analysis {"connection_id":142737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa14a"} 
[2026-07-27 07:29:07] local.INFO: Extracted packet for processing {"connection_id":142737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa14a"} 
[2026-07-27 07:29:07] local.INFO: GPS Element Parsed {"raw_longitude":763539520,"raw_latitude":97985408,"longitude_deg":76.353952,"latitude_deg":9.7985408,"altitude":6,"angle":350,"satellites":34,"speed":49,"hex_longitude":"2d82b040","hex_latitude":"05d72380","is_valid_coordinates":true} 
[2026-07-27 07:29:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:29:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990071040001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:29:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111442392602640384,"note":"Value kept but may cause issues"} 
[2026-07-27 07:29:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9027887640447447040,"note":"Value kept but may cause issues"} 
[2026-07-27 07:29:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:29:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785117474000,"timestamp_ms":1785117474000,"timestamp_seconds":1785117474,"priority":1,"record_length":96,"hex_timestamp":"0000019fa14afcd0"} 
[2026-07-27 07:29:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:29:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 07:29:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-07-27 07:29:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:29:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:29:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:29:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:29:07] local.INFO: Teltonika packet parsed successfully {"connection_id":142737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:29:07] local.INFO: Passing IMEI to GPS processor {"connection_id":142737,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:29:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":142737,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:29:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:29:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 07:29:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 07:29:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990071040001,"66":13015,"156":206,"85":15104,"24":49,"16":111442392602640384,"45":-9027887640447447040},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-07-27 07:29:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 07:29:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 07:29:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990071040001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:29:07] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-27 07:29:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 07:29:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111442392602640384,"km_value":111442392602640.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:29:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9027887640447447040,"description":"Unknown IO ID 45"} 
[2026-07-27 07:29:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990071040001,"power":13015,"unknown_156":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":-9027887640447447040}} 
[2026-07-27 07:29:07] local.INFO: DEBUG: GPS processor result {"connection_id":142737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551738,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:29:07] local.INFO: GPS data processed {"connection_id":142737,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:29:07] local.INFO: Acknowledgment sent {"connection_id":142737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:29:09] local.INFO: TCP Data received {"connection_id":142737,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa14b1c10012d82ab4005d745f80006015f22..."} 
[2026-07-27 07:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa14b1c10012d82ab4005d745f80006015f22..."} 
[2026-07-27 07:29:09] local.INFO: Processing buffer {"connection_id":142737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa14b1c10012d82ab4005d745f80006015f22..."} 
[2026-07-27 07:29:09] local.INFO: Packet analysis {"connection_id":142737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa14b"} 
[2026-07-27 07:29:09] local.INFO: Extracted packet for processing {"connection_id":142737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa14b"} 
[2026-07-27 07:29:09] local.INFO: GPS Element Parsed {"raw_longitude":763538240,"raw_latitude":97994232,"longitude_deg":76.353824,"latitude_deg":9.7994232,"altitude":6,"angle":351,"satellites":34,"speed":33,"hex_longitude":"2d82ab40","hex_latitude":"05d745f8","is_valid_coordinates":true} 
[2026-07-27 07:29:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:29:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990073344001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:29:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111442822099369984,"note":"Value kept but may cause issues"} 
[2026-07-27 07:29:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9029646859049402368,"note":"Value kept but may cause issues"} 
[2026-07-27 07:29:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:29:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785117482000,"timestamp_ms":1785117482000,"timestamp_seconds":1785117482,"priority":1,"record_length":96,"hex_timestamp":"0000019fa14b1c10"} 
[2026-07-27 07:29:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:29:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 07:29:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-27 07:29:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:29:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:29:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:29:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:29:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:29:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142737,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:29:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142737,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:29:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:29:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 07:29:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 07:29:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990073344001,"66":12515,"156":206,"85":15104,"24":33,"16":111442822099369984,"45":-9029646859049402368},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-07-27 07:29:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 07:29:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 07:29:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990073344001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:29:09] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-27 07:29:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 07:29:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111442822099369984,"km_value":111442822099369.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:29:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9029646859049402368,"description":"Unknown IO ID 45"} 
[2026-07-27 07:29:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990073344001,"power":12515,"unknown_156":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":-9029646859049402368}} 
[2026-07-27 07:29:09] local.INFO: DEBUG: GPS processor result {"connection_id":142737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551739,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:29:09] local.INFO: GPS data processed {"connection_id":142737,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:29:09] local.INFO: Acknowledgment sent {"connection_id":142737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:29:10] local.INFO: TCP Data received {"connection_id":145029,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fa14a3598012d7f980005afd7c0001200062b..."} 
[2026-07-27 07:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa14a3598012d7f980005afd7c0001200062b..."} 
[2026-07-27 07:29:10] local.INFO: Processing buffer {"connection_id":145029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa14a3598012d7f980005afd7c0001200062b..."} 
[2026-07-27 07:29:10] local.INFO: Packet analysis {"connection_id":145029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa14a"} 
[2026-07-27 07:29:10] local.INFO: Extracted packet for processing {"connection_id":145029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa14a"} 
[2026-07-27 07:29:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":18,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 07:29:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989983232001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:29:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:29:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:29:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:29:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785117423000,"timestamp_ms":1785117423000,"timestamp_seconds":1785117423,"priority":1,"record_length":96,"hex_timestamp":"0000019fa14a3598"} 
[2026-07-27 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-07-27 07:29:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 07:29: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-07-27 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-07-27 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-07-27 07:29:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:29:10] local.INFO: Teltonika packet parsed successfully {"connection_id":145029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:29:10] local.INFO: Passing IMEI to GPS processor {"connection_id":145029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:29:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":145029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:29:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:29:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:29:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:29:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989983232001,"66":25375,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 07:29:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:29:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:29:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989983232001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:29:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 07:29:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:29:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:29:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:29:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989983232001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:29:10] local.INFO: DEBUG: GPS processor result {"connection_id":145029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:29:10] local.INFO: GPS data processed {"connection_id":145029,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:29:10] local.INFO: Acknowledgment sent {"connection_id":145029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:29:32] local.INFO: TCP Data received {"connection_id":143714,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:29:32] local.INFO: Processing buffer {"connection_id":143714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:29:32] local.INFO: IMEI packet received {"connection_id":143714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 07:29:32] local.INFO: IMEI acknowledgment sent {"connection_id":143714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:29:38] local.INFO: TCP Data received {"connection_id":143714,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:29:38] local.INFO: Processing buffer {"connection_id":143714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:29:38] local.INFO: IMEI packet received {"connection_id":143714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 07:29:38] local.INFO: IMEI acknowledgment sent {"connection_id":143714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:29:39] local.INFO: TCP Data received {"connection_id":143714,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fa14a3598012d7f980005afd7c0001200062b..."} 
[2026-07-27 07:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa14a3598012d7f980005afd7c0001200062b..."} 
[2026-07-27 07:29:39] local.INFO: Processing buffer {"connection_id":143714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa14a3598012d7f980005afd7c0001200062b..."} 
[2026-07-27 07:29:39] local.INFO: Packet analysis {"connection_id":143714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa14a"} 
[2026-07-27 07:29:39] local.INFO: Extracted packet for processing {"connection_id":143714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa14a"} 
[2026-07-27 07:29:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":18,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 07:29:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:29:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989983232001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:29:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:29:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:29:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:29:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785117423000,"timestamp_ms":1785117423000,"timestamp_seconds":1785117423,"priority":1,"record_length":96,"hex_timestamp":"0000019fa14a3598"} 
[2026-07-27 07:29:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:29:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 07: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":31,"data_length":795,"current_offset":136} 
[2026-07-27 07:29: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-07-27 07:29:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:29:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:29:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:29:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:29:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:29:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07: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-07-27 07:29:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:29:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:29:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989983232001,"66":25375,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 07:29:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:29:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:29:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989983232001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:29:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 07:29:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:29:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:29:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:29:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989983232001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:29:39] local.INFO: DEBUG: GPS processor result {"connection_id":143714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:29:39] local.INFO: GPS data processed {"connection_id":143714,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:29:39] local.INFO: Acknowledgment sent {"connection_id":143714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:29:40] local.INFO: TCP Data received {"connection_id":142737,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa14b6e18012d82a94005d755580006016323..."} 
[2026-07-27 07:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa14b6e18012d82a94005d755580006016323..."} 
[2026-07-27 07:29:40] local.INFO: Processing buffer {"connection_id":142737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa14b6e18012d82a94005d755580006016323..."} 
[2026-07-27 07:29:40] local.INFO: Packet analysis {"connection_id":142737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa14b"} 
[2026-07-27 07:29:40] local.INFO: Extracted packet for processing {"connection_id":142737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa14b"} 
[2026-07-27 07:29:40] local.INFO: GPS Element Parsed {"raw_longitude":763537728,"raw_latitude":97998168,"longitude_deg":76.3537728,"latitude_deg":9.7998168,"altitude":6,"angle":355,"satellites":35,"speed":19,"hex_longitude":"2d82a940","hex_latitude":"05d75558","is_valid_coordinates":true} 
[2026-07-27 07: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-07-27 07:29:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990075392001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:29:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111443045437669376,"note":"Value kept but may cause issues"} 
[2026-07-27 07:29:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9031054233930696704,"note":"Value kept but may cause issues"} 
[2026-07-27 07:29:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:29:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785117503000,"timestamp_ms":1785117503000,"timestamp_seconds":1785117503,"priority":1,"record_length":96,"hex_timestamp":"0000019fa14b6e18"} 
[2026-07-27 07:29:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:29:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 07: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":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-07-27 07:29: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-07-27 07: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-07-27 07:29:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:29:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:29:40] local.INFO: Teltonika packet parsed successfully {"connection_id":142737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:29:40] local.INFO: Passing IMEI to GPS processor {"connection_id":142737,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:29:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":142737,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:29:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:29:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 07:29:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 07:29:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990075392001,"66":13341,"155":206,"85":15104,"24":19,"16":111443045437669376,"45":-9031054233930696704},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-07-27 07:29:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 07:29:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 07:29:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990075392001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:29:40] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-27 07:29:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 07:29:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111443045437669376,"km_value":111443045437669.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:29:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9031054233930696704,"description":"Unknown IO ID 45"} 
[2026-07-27 07:29:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990075392001,"power":13341,"unknown_155":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":-9031054233930696704}} 
[2026-07-27 07:29:40] local.INFO: DEBUG: GPS processor result {"connection_id":142737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551742,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:29:40] local.INFO: GPS data processed {"connection_id":142737,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:29:40] local.INFO: Acknowledgment sent {"connection_id":142737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:29:50] local.INFO: TCP Data received {"connection_id":143715,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 07:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143715,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 07:29:50] local.INFO: Processing buffer {"connection_id":143715,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 07:29:50] local.INFO: IMEI packet received {"connection_id":143715,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 07:29:50] local.INFO: IMEI acknowledgment sent {"connection_id":143715,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:29:59] local.INFO: TCP Data received {"connection_id":142738,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142738,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:29:59] local.INFO: Processing buffer {"connection_id":142738,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:29:59] local.INFO: IMEI packet received {"connection_id":142738,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 07:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":142738,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:30:04] local.INFO: TCP Data received {"connection_id":142738,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142738,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:30:04] local.INFO: Processing buffer {"connection_id":142738,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:30:04] local.INFO: IMEI packet received {"connection_id":142738,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 07:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":142738,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:30:05] local.INFO: TCP Data received {"connection_id":142738,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa14b9cf8012d82a5c005d77a280008016223..."} 
[2026-07-27 07:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142738,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa14b9cf8012d82a5c005d77a280008016223..."} 
[2026-07-27 07:30:05] local.INFO: Processing buffer {"connection_id":142738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa14b9cf8012d82a5c005d77a280008016223..."} 
[2026-07-27 07:30:05] local.INFO: Packet analysis {"connection_id":142738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa14b"} 
[2026-07-27 07:30:05] local.INFO: Extracted packet for processing {"connection_id":142738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa14b"} 
[2026-07-27 07:30:05] local.INFO: GPS Element Parsed {"raw_longitude":763536832,"raw_latitude":98007592,"longitude_deg":76.3536832,"latitude_deg":9.8007592,"altitude":8,"angle":354,"satellites":35,"speed":39,"hex_longitude":"2d82a5c0","hex_latitude":"05d77a28","is_valid_coordinates":true} 
[2026-07-27 07:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:30:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990080768001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:30:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111443504999170048,"note":"Value kept but may cause issues"} 
[2026-07-27 07:30:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9031617183883110400,"note":"Value kept but may cause issues"} 
[2026-07-27 07:30:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:30:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785117515000,"timestamp_ms":1785117515000,"timestamp_seconds":1785117515,"priority":1,"record_length":96,"hex_timestamp":"0000019fa14b9cf8"} 
[2026-07-27 07:30:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:30:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 07:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-07-27 07:30:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:30:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:30:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:30:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:30:05] local.INFO: Teltonika packet parsed successfully {"connection_id":142738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:30:05] local.INFO: Passing IMEI to GPS processor {"connection_id":142738,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:30:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":142738,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:30:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:30:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 07:30:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 07:30:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990080768001,"66":13037,"155":206,"85":15104,"24":39,"16":111443504999170048,"45":-9031617183883110400},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-07-27 07:30:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 07:30:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 07:30:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990080768001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:30:05] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-27 07:30:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 07:30:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111443504999170048,"km_value":111443504999170.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:30:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9031617183883110400,"description":"Unknown IO ID 45"} 
[2026-07-27 07:30:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990080768001,"power":13037,"unknown_155":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":-9031617183883110400}} 
[2026-07-27 07:30:05] local.INFO: DEBUG: GPS processor result {"connection_id":142738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551743,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:30:05] local.INFO: GPS data processed {"connection_id":142738,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:30:05] local.INFO: Acknowledgment sent {"connection_id":142738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:30:10] local.INFO: TCP Data received {"connection_id":143714,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fa14a3598012d7f980005afd7c0001200062b..."} 
[2026-07-27 07:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa14a3598012d7f980005afd7c0001200062b..."} 
[2026-07-27 07:30:10] local.INFO: Processing buffer {"connection_id":143714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa14a3598012d7f980005afd7c0001200062b..."} 
[2026-07-27 07:30:10] local.INFO: Packet analysis {"connection_id":143714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa14a"} 
[2026-07-27 07:30:10] local.INFO: Extracted packet for processing {"connection_id":143714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa14a"} 
[2026-07-27 07:30:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":18,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 07:30:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989983232001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:30:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:30:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:30:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:30:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785117423000,"timestamp_ms":1785117423000,"timestamp_seconds":1785117423,"priority":1,"record_length":96,"hex_timestamp":"0000019fa14a3598"} 
[2026-07-27 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-07-27 07:30:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 07:30: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-07-27 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-07-27 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-07-27 07:30:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:30:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:30:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:30:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:30:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:30:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:30:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:30:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989983232001,"66":25375,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 07:30:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:30:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:30:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989983232001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:30:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 07:30:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:30:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:30:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:30:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989983232001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:30:10] local.INFO: DEBUG: GPS processor result {"connection_id":143714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:30:10] local.INFO: GPS data processed {"connection_id":143714,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:30:10] local.INFO: Acknowledgment sent {"connection_id":143714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:30:32] local.INFO: TCP Data received {"connection_id":142739,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:30:32] local.INFO: Processing buffer {"connection_id":142739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:30:32] local.INFO: IMEI packet received {"connection_id":142739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 07:30:32] local.INFO: IMEI acknowledgment sent {"connection_id":142739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:30:36] local.INFO: TCP Data received {"connection_id":142738,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa14d3720012d82854005d891c80009015e23..."} 
[2026-07-27 07:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142738,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa14d3720012d82854005d891c80009015e23..."} 
[2026-07-27 07:30:36] local.INFO: Processing buffer {"connection_id":142738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa14d3720012d82854005d891c80009015e23..."} 
[2026-07-27 07:30:36] local.INFO: Packet analysis {"connection_id":142738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa14d"} 
[2026-07-27 07:30:36] local.INFO: Extracted packet for processing {"connection_id":142738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa14d"} 
[2026-07-27 07:30:36] local.INFO: GPS Element Parsed {"raw_longitude":763528512,"raw_latitude":98079176,"longitude_deg":76.3528512,"latitude_deg":9.8079176,"altitude":9,"angle":350,"satellites":35,"speed":45,"hex_longitude":"2d828540","hex_latitude":"05d891c8","is_valid_coordinates":true} 
[2026-07-27 07:30:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:30:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990110208001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:30:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111447035462287360,"note":"Value kept but may cause issues"} 
[2026-07-27 07:30:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9041187333071081472,"note":"Value kept but may cause issues"} 
[2026-07-27 07:30:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:30:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785117620000,"timestamp_ms":1785117620000,"timestamp_seconds":1785117620,"priority":1,"record_length":96,"hex_timestamp":"0000019fa14d3720"} 
[2026-07-27 07:30:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:30:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 07:30:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-27 07:30:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:30:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:30:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:30:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:30:36] local.INFO: Teltonika packet parsed successfully {"connection_id":142738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:30:36] local.INFO: Passing IMEI to GPS processor {"connection_id":142738,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:30:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":142738,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:30:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:30:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 07:30:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 07:30:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990110208001,"66":13254,"47":206,"85":15104,"24":45,"16":111447035462287360,"45":-9041187333071081472},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-07-27 07:30:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 07:30:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 07:30:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990110208001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:30:36] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-07-27 07:30:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 07:30:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111447035462287360,"km_value":111447035462287.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:30:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9041187333071081472,"description":"Unknown IO ID 45"} 
[2026-07-27 07:30:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990110208001,"power":13254,"unknown_47":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":-9041187333071081472}} 
[2026-07-27 07:30:36] local.INFO: DEBUG: GPS processor result {"connection_id":142738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551745,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:30:36] local.INFO: GPS data processed {"connection_id":142738,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:30:36] local.INFO: Acknowledgment sent {"connection_id":142738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:30:38] local.INFO: TCP Data received {"connection_id":142739,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:30:38] local.INFO: Processing buffer {"connection_id":142739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:30:38] local.INFO: IMEI packet received {"connection_id":142739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 07:30:38] local.INFO: IMEI acknowledgment sent {"connection_id":142739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:30:39] local.INFO: TCP Data received {"connection_id":142739,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fa14a3598012d7f980005afd7c0001200062b..."} 
[2026-07-27 07:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142739,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa14a3598012d7f980005afd7c0001200062b..."} 
[2026-07-27 07:30:39] local.INFO: Processing buffer {"connection_id":142739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa14a3598012d7f980005afd7c0001200062b..."} 
[2026-07-27 07:30:39] local.INFO: Packet analysis {"connection_id":142739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa14a"} 
[2026-07-27 07:30:39] local.INFO: Extracted packet for processing {"connection_id":142739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa14a"} 
[2026-07-27 07:30:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":18,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 07:30:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:30:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989983232001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:30:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:30:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:30:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:30:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785117423000,"timestamp_ms":1785117423000,"timestamp_seconds":1785117423,"priority":1,"record_length":96,"hex_timestamp":"0000019fa14a3598"} 
[2026-07-27 07:30:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:30:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 07:30:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 07:30: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-07-27 07:30:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:30:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:30:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:30:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:30:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:30:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:30:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:30:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:30:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:30:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989983232001,"66":25375,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 07:30:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:30:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:30:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989983232001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:30:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 07:30:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:30:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:30:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:30:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989983232001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:30:39] local.INFO: DEBUG: GPS processor result {"connection_id":142739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:30:39] local.INFO: GPS data processed {"connection_id":142739,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:30:39] local.INFO: Acknowledgment sent {"connection_id":142739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:30:58] local.INFO: TCP Data received {"connection_id":145030,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145030,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:30:58] local.INFO: Processing buffer {"connection_id":145030,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:30:58] local.INFO: IMEI packet received {"connection_id":145030,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 07:30:58] local.INFO: IMEI acknowledgment sent {"connection_id":145030,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:30:58] local.INFO: TCP Data received {"connection_id":145030,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145030,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:30:58] local.INFO: Processing buffer {"connection_id":145030,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:30:58] local.INFO: IMEI packet received {"connection_id":145030,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 07:30:58] local.INFO: IMEI acknowledgment sent {"connection_id":145030,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:31:03] local.INFO: TCP Data received {"connection_id":145030,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145030,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:31:03] local.INFO: Processing buffer {"connection_id":145030,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:31:03] local.INFO: IMEI packet received {"connection_id":145030,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 07:31:03] local.INFO: IMEI acknowledgment sent {"connection_id":145030,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:31:04] local.INFO: TCP Data received {"connection_id":145030,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa14d42d8012d82850005d89fe80008000122..."} 
[2026-07-27 07:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa14d42d8012d82850005d89fe80008000122..."} 
[2026-07-27 07:31:04] local.INFO: Processing buffer {"connection_id":145030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa14d42d8012d82850005d89fe80008000122..."} 
[2026-07-27 07:31:04] local.INFO: Packet analysis {"connection_id":145030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa14d"} 
[2026-07-27 07:31:04] local.INFO: Extracted packet for processing {"connection_id":145030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa14d"} 
[2026-07-27 07:31:04] local.INFO: GPS Element Parsed {"raw_longitude":763528448,"raw_latitude":98082792,"longitude_deg":76.3528448,"latitude_deg":9.8082792,"altitude":8,"angle":1,"satellites":34,"speed":47,"hex_longitude":"2d828500","hex_latitude":"05d89fe8","is_valid_coordinates":true} 
[2026-07-27 07:31:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:31:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990110720001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:31:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111447211555946496,"note":"Value kept but may cause issues"} 
[2026-07-27 07:31:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9041750283023955968,"note":"Value kept but may cause issues"} 
[2026-07-27 07:31:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:31:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785117623000,"timestamp_ms":1785117623000,"timestamp_seconds":1785117623,"priority":1,"record_length":96,"hex_timestamp":"0000019fa14d42d8"} 
[2026-07-27 07:31:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:31:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 07:31:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-27 07:31:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:31:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:31:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:31:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:31:04] local.INFO: Teltonika packet parsed successfully {"connection_id":145030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:31:04] local.INFO: Passing IMEI to GPS processor {"connection_id":145030,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:31:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":145030,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:31:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:31:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 07:31:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 07:31:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990110720001,"66":13135,"47":206,"85":15104,"24":47,"16":111447211555946496,"45":-9041750283023955968},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-07-27 07:31:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 07:31:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 07:31:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990110720001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:31:04] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-07-27 07:31:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 07:31:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111447211555946496,"km_value":111447211555946.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:31:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9041750283023955968,"description":"Unknown IO ID 45"} 
[2026-07-27 07:31:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990110720001,"power":13135,"unknown_47":206,"unknown_85":15104,"ignition":47,"odometer":null,"unknown_45":-9041750283023955968}} 
[2026-07-27 07:31:04] local.INFO: DEBUG: GPS processor result {"connection_id":145030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551747,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:31:04] local.INFO: GPS data processed {"connection_id":145030,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:31:04] local.INFO: Acknowledgment sent {"connection_id":145030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:31:10] local.INFO: TCP Data received {"connection_id":142739,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fa14a3598012d7f980005afd7c0001200062b..."} 
[2026-07-27 07:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142739,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa14a3598012d7f980005afd7c0001200062b..."} 
[2026-07-27 07:31:10] local.INFO: Processing buffer {"connection_id":142739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa14a3598012d7f980005afd7c0001200062b..."} 
[2026-07-27 07:31:10] local.INFO: Packet analysis {"connection_id":142739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa14a"} 
[2026-07-27 07:31:10] local.INFO: Extracted packet for processing {"connection_id":142739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa14a"} 
[2026-07-27 07:31:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":18,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 07:31:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989983232001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:31:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:31:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:31:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:31:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785117423000,"timestamp_ms":1785117423000,"timestamp_seconds":1785117423,"priority":1,"record_length":96,"hex_timestamp":"0000019fa14a3598"} 
[2026-07-27 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-07-27 07:31:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 07:31:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 07:31:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:31:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:31:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:31:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:31:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:31:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:31:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:31:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989983232001,"66":25375,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 07:31:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:31:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:31:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989983232001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:31:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 07:31:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:31:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:31:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:31:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989983232001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:31:10] local.INFO: DEBUG: GPS processor result {"connection_id":142739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:31:10] local.INFO: GPS data processed {"connection_id":142739,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:31:10] local.INFO: Acknowledgment sent {"connection_id":142739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:31:32] local.INFO: TCP Data received {"connection_id":142741,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:31:32] local.INFO: Processing buffer {"connection_id":142741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:31:32] local.INFO: IMEI packet received {"connection_id":142741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 07:31:32] local.INFO: IMEI acknowledgment sent {"connection_id":142741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:31:35] local.INFO: TCP Data received {"connection_id":145030,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa14d5e30012d8284c005d8c4700008016422..."} 
[2026-07-27 07:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa14d5e30012d8284c005d8c4700008016422..."} 
[2026-07-27 07:31:35] local.INFO: Processing buffer {"connection_id":145030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa14d5e30012d8284c005d8c4700008016422..."} 
[2026-07-27 07:31:35] local.INFO: Packet analysis {"connection_id":145030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa14d"} 
[2026-07-27 07:31:35] local.INFO: Extracted packet for processing {"connection_id":145030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa14d"} 
[2026-07-27 07:31:35] local.INFO: GPS Element Parsed {"raw_longitude":763528384,"raw_latitude":98092144,"longitude_deg":76.3528384,"latitude_deg":9.8092144,"altitude":8,"angle":356,"satellites":34,"speed":54,"hex_longitude":"2d8284c0","hex_latitude":"05d8c470","is_valid_coordinates":true} 
[2026-07-27 07:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:31:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990111488001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:31:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111447666822479872,"note":"Value kept but may cause issues"} 
[2026-07-27 07:31:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9041820651767207936,"note":"Value kept but may cause issues"} 
[2026-07-27 07:31:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:31:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785117630000,"timestamp_ms":1785117630000,"timestamp_seconds":1785117630,"priority":1,"record_length":96,"hex_timestamp":"0000019fa14d5e30"} 
[2026-07-27 07:31:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:31:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 07:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-27 07:31:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:31:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:31:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:31:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:31:35] local.INFO: Teltonika packet parsed successfully {"connection_id":145030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:31:35] local.INFO: Passing IMEI to GPS processor {"connection_id":145030,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:31:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":145030,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:31:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:31:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 07:31:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 07:31:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990111488001,"66":13048,"47":206,"85":15104,"24":54,"16":111447666822479872,"45":-9041820651767207936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-07-27 07:31:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 07:31:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 07:31:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990111488001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:31:35] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-07-27 07:31:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 07:31:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111447666822479872,"km_value":111447666822479.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:31:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9041820651767207936,"description":"Unknown IO ID 45"} 
[2026-07-27 07:31:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990111488001,"power":13048,"unknown_47":206,"unknown_85":15104,"ignition":54,"odometer":null,"unknown_45":-9041820651767207936}} 
[2026-07-27 07:31:35] local.INFO: DEBUG: GPS processor result {"connection_id":145030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551749,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:31:35] local.INFO: GPS data processed {"connection_id":145030,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:31:35] local.INFO: Acknowledgment sent {"connection_id":145030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:31:38] local.INFO: TCP Data received {"connection_id":142741,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:31:38] local.INFO: Processing buffer {"connection_id":142741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:31:38] local.INFO: IMEI packet received {"connection_id":142741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 07:31:38] local.INFO: IMEI acknowledgment sent {"connection_id":142741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:31:38] local.INFO: TCP Data received {"connection_id":142741,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fa14a3598012d7f980005afd7c0001200062b..."} 
[2026-07-27 07:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa14a3598012d7f980005afd7c0001200062b..."} 
[2026-07-27 07:31:38] local.INFO: Processing buffer {"connection_id":142741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa14a3598012d7f980005afd7c0001200062b..."} 
[2026-07-27 07:31:38] local.INFO: Packet analysis {"connection_id":142741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa14a"} 
[2026-07-27 07:31:38] local.INFO: Extracted packet for processing {"connection_id":142741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa14a"} 
[2026-07-27 07:31:38] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":18,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 07:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:31:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989983232001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:31:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:31:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:31:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:31:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785117423000,"timestamp_ms":1785117423000,"timestamp_seconds":1785117423,"priority":1,"record_length":96,"hex_timestamp":"0000019fa14a3598"} 
[2026-07-27 07:31:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:31:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 07:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 07:31:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:31:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:31:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:31:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:31:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:31:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:31:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:31:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:31:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:31:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:31:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989983232001,"66":25375,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 07:31:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:31:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:31:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989983232001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:31:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 07:31:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:31:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:31:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:31:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989983232001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:31:38] local.INFO: DEBUG: GPS processor result {"connection_id":142741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:31:38] local.INFO: GPS data processed {"connection_id":142741,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:31:38] local.INFO: Acknowledgment sent {"connection_id":142741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:32:09] local.INFO: TCP Data received {"connection_id":145032,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145032,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:32:09] local.INFO: Processing buffer {"connection_id":145032,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:32:09] local.INFO: IMEI packet received {"connection_id":145032,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 07:32:09] local.INFO: IMEI acknowledgment sent {"connection_id":145032,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:32:09] local.INFO: TCP Data received {"connection_id":142741,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fa14a3598012d7f980005afd7c0001200062b..."} 
[2026-07-27 07:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa14a3598012d7f980005afd7c0001200062b..."} 
[2026-07-27 07:32:09] local.INFO: Processing buffer {"connection_id":142741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa14a3598012d7f980005afd7c0001200062b..."} 
[2026-07-27 07:32:09] local.INFO: Packet analysis {"connection_id":142741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa14a"} 
[2026-07-27 07:32:09] local.INFO: Extracted packet for processing {"connection_id":142741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa14a"} 
[2026-07-27 07:32:09] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":18,"angle":6,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 07:32:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456989983232001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:32:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:32:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:32:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:32:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785117423000,"timestamp_ms":1785117423000,"timestamp_seconds":1785117423,"priority":1,"record_length":96,"hex_timestamp":"0000019fa14a3598"} 
[2026-07-27 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-07-27 07:32:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 07:32:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 07:32:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:32:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:32:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:32:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:32:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:32:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:32:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:32:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456989983232001,"66":25375,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 07:32:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:32:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:32:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456989983232001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:32:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 07:32:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:32:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:32:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:32:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456989983232001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:32:09] local.INFO: DEBUG: GPS processor result {"connection_id":142741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:32:09] local.INFO: GPS data processed {"connection_id":142741,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:32:09] local.INFO: Acknowledgment sent {"connection_id":142741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:32:11] local.INFO: TCP Data received {"connection_id":145032,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145032,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:32:11] local.INFO: Processing buffer {"connection_id":145032,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:32:11] local.INFO: IMEI packet received {"connection_id":145032,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 07:32:11] local.INFO: IMEI acknowledgment sent {"connection_id":145032,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:32:11] local.INFO: TCP Data received {"connection_id":145032,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa14d7988012d82820005d8ea700009016422..."} 
[2026-07-27 07:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa14d7988012d82820005d8ea700009016422..."} 
[2026-07-27 07:32:11] local.INFO: Processing buffer {"connection_id":145032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa14d7988012d82820005d8ea700009016422..."} 
[2026-07-27 07:32:11] local.INFO: Packet analysis {"connection_id":145032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa14d"} 
[2026-07-27 07:32:11] local.INFO: Extracted packet for processing {"connection_id":145032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa14d"} 
[2026-07-27 07:32:11] local.INFO: GPS Element Parsed {"raw_longitude":763527680,"raw_latitude":98101872,"longitude_deg":76.352768,"latitude_deg":9.8101872,"altitude":9,"angle":356,"satellites":34,"speed":53,"hex_longitude":"2d828200","hex_latitude":"05d8ea70","is_valid_coordinates":true} 
[2026-07-27 07: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-07-27 07:32:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990113280001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:32:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111448139268882432,"note":"Value kept but may cause issues"} 
[2026-07-27 07:32:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9041891020508991488,"note":"Value kept but may cause issues"} 
[2026-07-27 07:32:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:32:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785117637000,"timestamp_ms":1785117637000,"timestamp_seconds":1785117637,"priority":1,"record_length":96,"hex_timestamp":"0000019fa14d7988"} 
[2026-07-27 07:32:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:32:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 07: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-27 07:32:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07: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-07-27 07:32:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:32:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:32:11] local.INFO: Teltonika packet parsed successfully {"connection_id":145032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:32:11] local.INFO: Passing IMEI to GPS processor {"connection_id":145032,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:32:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":145032,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:32:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:32:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 07:32:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 07:32:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990113280001,"66":12917,"47":206,"85":15104,"24":53,"16":111448139268882432,"45":-9041891020508991488},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-07-27 07:32:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 07:32:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 07:32:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990113280001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:32:11] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-07-27 07:32:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 07:32:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111448139268882432,"km_value":111448139268882.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:32:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9041891020508991488,"description":"Unknown IO ID 45"} 
[2026-07-27 07:32:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990113280001,"power":12917,"unknown_47":206,"unknown_85":15104,"ignition":53,"odometer":null,"unknown_45":-9041891020508991488}} 
[2026-07-27 07:32:12] local.INFO: DEBUG: GPS processor result {"connection_id":145032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551752,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:32:12] local.INFO: GPS data processed {"connection_id":145032,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:32:12] local.INFO: Acknowledgment sent {"connection_id":145032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:32:38] local.INFO: TCP Data received {"connection_id":142626,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:32:38] local.INFO: Processing buffer {"connection_id":142626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:32:38] local.INFO: IMEI packet received {"connection_id":142626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 07:32:38] local.INFO: IMEI acknowledgment sent {"connection_id":142626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:32:42] local.INFO: TCP Data received {"connection_id":142626,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:32:42] local.INFO: Processing buffer {"connection_id":142626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:32:42] local.INFO: IMEI packet received {"connection_id":142626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 07:32:42] local.INFO: IMEI acknowledgment sent {"connection_id":142626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:32:43] local.INFO: TCP Data received {"connection_id":142626,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fa14ecd60012d7f980005afd7c0001200062c..."} 
[2026-07-27 07:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa14ecd60012d7f980005afd7c0001200062c..."} 
[2026-07-27 07:32:43] local.INFO: Processing buffer {"connection_id":142626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa14ecd60012d7f980005afd7c0001200062c..."} 
[2026-07-27 07:32:43] local.INFO: Packet analysis {"connection_id":142626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa14e"} 
[2026-07-27 07:32:43] local.INFO: Extracted packet for processing {"connection_id":142626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa14e"} 
[2026-07-27 07:32:43] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":18,"angle":6,"satellites":44,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 07:32:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:32:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990060288001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:32:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:32:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:32:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:32:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785117724000,"timestamp_ms":1785117724000,"timestamp_seconds":1785117724,"priority":1,"record_length":96,"hex_timestamp":"0000019fa14ecd60"} 
[2026-07-27 07:32:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:32:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 07:32:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 07:32:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:32:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:32:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:32:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:32:43] local.INFO: Teltonika packet parsed successfully {"connection_id":142626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:32:43] local.INFO: Passing IMEI to GPS processor {"connection_id":142626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:32:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":142626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:32:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:32:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:32:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:32:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990060288001,"66":25321,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 07:32:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:32:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:32:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990060288001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:32:43] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 07:32:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:32:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:32:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:32:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990060288001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:32:43] local.INFO: DEBUG: GPS processor result {"connection_id":142626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:32:43] local.INFO: GPS data processed {"connection_id":142626,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:32:43] local.INFO: Acknowledgment sent {"connection_id":142626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:32:43] local.INFO: TCP Data received {"connection_id":145032,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa14f4678012d82190005da8e380007012023..."} 
[2026-07-27 07:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa14f4678012d82190005da8e380007012023..."} 
[2026-07-27 07:32:43] local.INFO: Processing buffer {"connection_id":145032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa14f4678012d82190005da8e380007012023..."} 
[2026-07-27 07:32:43] local.INFO: Packet analysis {"connection_id":145032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa14f"} 
[2026-07-27 07:32:43] local.INFO: Extracted packet for processing {"connection_id":145032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa14f"} 
[2026-07-27 07:32:43] local.INFO: GPS Element Parsed {"raw_longitude":763500800,"raw_latitude":98209336,"longitude_deg":76.35008,"latitude_deg":9.8209336,"altitude":7,"angle":288,"satellites":35,"speed":20,"hex_longitude":"2d821900","hex_latitude":"05da8e38","is_valid_coordinates":true} 
[2026-07-27 07:32:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:32:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990145024001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:32:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111453572402511872,"note":"Value kept but may cause issues"} 
[2026-07-27 07:32:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9071586630522019840,"note":"Value kept but may cause issues"} 
[2026-07-27 07:32:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:32:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785117755000,"timestamp_ms":1785117755000,"timestamp_seconds":1785117755,"priority":1,"record_length":96,"hex_timestamp":"0000019fa14f4678"} 
[2026-07-27 07:32:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:32:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 07:32:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-27 07:32:43] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-27 07:32:43] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":1056964608,"corrected_to":0} 
[2026-07-27 07:32:43] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2706291160,"note":"Value kept but may cause issues"} 
[2026-07-27 07:32:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2184134661,"note":"Value kept but may cause issues"} 
[2026-07-27 07:32:43] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-07-27 07:32:43] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2806448334,"corrected_to":0} 
[2026-07-27 07:32:43] local.WARNING: Large IO value detected {"io_id":224,"raw_value":3892391298,"note":"Value kept but may cause issues"} 
[2026-07-27 07:32:43] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3338718631,"note":"Value kept but may cause issues"} 
[2026-07-27 07:32:43] local.WARNING: Large IO value detected {"io_id":139,"raw_value":4117692416,"note":"Value kept but may cause issues"} 
[2026-07-27 07:32:43] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3658876928,"note":"Value kept but may cause issues"} 
[2026-07-27 07:32:43] local.WARNING: Large IO value detected {"io_id":3,"raw_value":57886285033788731,"note":"Value kept but may cause issues"} 
[2026-07-27 07:32:43] local.WARNING: Large IO value detected {"io_id":78,"raw_value":-8714463983991390203,"note":"Value kept but may cause issues"} 
[2026-07-27 07:32:43] local.WARNING: Large IO value detected {"io_id":217,"raw_value":-954763095209795328,"note":"Value kept but may cause issues"} 
[2026-07-27 07:32:43] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,71,85,24,241,157,16,246,159,62,45,192,140,7,35,10,66,58,138,43,1,240,227,161,218,4,113,205,42,224,55,72,239,49,69,2,139,5,8,34,3,78,217],"length":527,"final_offset":657,"validated_count":43,"validation_warnings":[{"io_id":246,"original":1056964608,"validated":0},{"io_id":205,"original":2806448334,"validated":0}]} 
[2026-07-27 07:32:43] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504734257295654912,"timestamp_seconds":504734257295654.94,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 07:32:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:32:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:32:43] local.INFO: Teltonika packet parsed successfully {"connection_id":145032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:32:43] local.INFO: Passing IMEI to GPS processor {"connection_id":145032,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:32:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":145032,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:32:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:32:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 07:32:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 07:32:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990145024001,"66":13319,"71":206,"85":15104,"24":20,"16":111453572402511872,"45":-9071586630522019840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-07-27 07:32:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 07:32:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 07:32:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990145024001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:32:43] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-27 07:32:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 07:32:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111453572402511872,"km_value":111453572402511.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:32:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9071586630522019840,"description":"Unknown IO ID 45"} 
[2026-07-27 07:32:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990145024001,"power":13319,"unknown_71":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":-9071586630522019840}} 
[2026-07-27 07:32:43] local.INFO: DEBUG: GPS processor result {"connection_id":145032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551754,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:32:43] local.INFO: GPS data processed {"connection_id":145032,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:32:43] local.INFO: Acknowledgment sent {"connection_id":145032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:32:43] local.INFO: TCP Data received {"connection_id":142626,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fa14ecd60012d7f980005afd7c0001200062c..."} 
[2026-07-27 07:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa14ecd60012d7f980005afd7c0001200062c..."} 
[2026-07-27 07:32:43] local.INFO: Processing buffer {"connection_id":142626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa14ecd60012d7f980005afd7c0001200062c..."} 
[2026-07-27 07:32:43] local.INFO: Packet analysis {"connection_id":142626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa14e"} 
[2026-07-27 07:32:43] local.INFO: Extracted packet for processing {"connection_id":142626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa14e"} 
[2026-07-27 07:32:43] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":18,"angle":6,"satellites":44,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 07:32:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:32:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990060288001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:32:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:32:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:32:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:32:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785117724000,"timestamp_ms":1785117724000,"timestamp_seconds":1785117724,"priority":1,"record_length":96,"hex_timestamp":"0000019fa14ecd60"} 
[2026-07-27 07:32:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:32:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 07:32:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 07:32:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:32:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:32:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:32:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:32:43] local.INFO: Teltonika packet parsed successfully {"connection_id":142626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:32:43] local.INFO: Passing IMEI to GPS processor {"connection_id":142626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:32:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":142626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:32:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:32:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:32:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:32:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990060288001,"66":25321,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 07:32:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:32:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:32:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990060288001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:32:43] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 07:32:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:32:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:32:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:32:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990060288001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:32:43] local.INFO: DEBUG: GPS processor result {"connection_id":142626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:32:43] local.INFO: GPS data processed {"connection_id":142626,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:32:43] local.INFO: Acknowledgment sent {"connection_id":142626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:32:58] local.INFO: TCP Data received {"connection_id":142743,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142743,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:32:58] local.INFO: Processing buffer {"connection_id":142743,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:32:58] local.INFO: IMEI packet received {"connection_id":142743,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 07:32:58] local.INFO: IMEI acknowledgment sent {"connection_id":142743,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:32:59] local.INFO: TCP Data received {"connection_id":142743,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142743,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:32:59] local.INFO: Processing buffer {"connection_id":142743,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:32:59] local.INFO: IMEI packet received {"connection_id":142743,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 07:32:59] local.INFO: IMEI acknowledgment sent {"connection_id":142743,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:33:04] local.INFO: TCP Data received {"connection_id":142743,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142743,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:33:04] local.INFO: Processing buffer {"connection_id":142743,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:33:04] local.INFO: IMEI packet received {"connection_id":142743,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 07:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":142743,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:33:04] local.INFO: TCP Data received {"connection_id":142743,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa14f4a60012d82170005da8e780007011122..."} 
[2026-07-27 07:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142743,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa14f4a60012d82170005da8e780007011122..."} 
[2026-07-27 07:33:04] local.INFO: Processing buffer {"connection_id":142743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa14f4a60012d82170005da8e780007011122..."} 
[2026-07-27 07:33:04] local.INFO: Packet analysis {"connection_id":142743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa14f"} 
[2026-07-27 07:33:04] local.INFO: Extracted packet for processing {"connection_id":142743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa14f"} 
[2026-07-27 07:33:04] local.INFO: GPS Element Parsed {"raw_longitude":763500288,"raw_latitude":98209400,"longitude_deg":76.3500288,"latitude_deg":9.82094,"altitude":7,"angle":273,"satellites":34,"speed":22,"hex_longitude":"2d821700","hex_latitude":"05da8e78","is_valid_coordinates":true} 
[2026-07-27 07:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:33:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990145280001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:33:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111453598172315648,"note":"Value kept but may cause issues"} 
[2026-07-27 07:33:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9072219949219563520,"note":"Value kept but may cause issues"} 
[2026-07-27 07:33:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:33:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785117756000,"timestamp_ms":1785117756000,"timestamp_seconds":1785117756,"priority":1,"record_length":96,"hex_timestamp":"0000019fa14f4a60"} 
[2026-07-27 07:33:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:33:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 07:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-27 07:33:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-27 07:33:04] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":1560281088,"corrected_to":0} 
[2026-07-27 07:33:04] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2706301160,"note":"Value kept but may cause issues"} 
[2026-07-27 07:33:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2183249925,"note":"Value kept but may cause issues"} 
[2026-07-27 07:33:04] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788849,"note":"Value kept but may cause issues"} 
[2026-07-27 07:33:04] local.WARNING: Large IO value detected {"io_id":218,"raw_value":1587518903030850048,"note":"Value kept but may cause issues"} 
[2026-07-27 07:33:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2806448334,"corrected_to":0} 
[2026-07-27 07:33:04] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2701184423,"note":"Value kept but may cause issues"} 
[2026-07-27 07:33:04] local.WARNING: Large IO value detected {"io_id":139,"raw_value":4124508160,"note":"Value kept but may cause issues"} 
[2026-07-27 07:33:04] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3661383680,"note":"Value kept but may cause issues"} 
[2026-07-27 07:33:04] local.WARNING: Large IO value detected {"io_id":199,"raw_value":57886285033788731,"note":"Value kept but may cause issues"} 
[2026-07-27 07:33:04] local.WARNING: Large IO value detected {"io_id":78,"raw_value":-5055289286753206267,"note":"Value kept but may cause issues"} 
[2026-07-27 07:33:04] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,71,85,24,241,157,16,246,159,66,45,64,141,7,34,10,62,192,140,35,58,1,240,173,227,161,218,4,113,205,28,47,80,239,50,2,139,5,8,43,199,78],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":246,"original":1560281088,"validated":0},{"io_id":205,"original":2806448334,"validated":0}]} 
[2026-07-27 07:33:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504719967939461120,"timestamp_seconds":504719967939461.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 07:33:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:33:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:33:04] local.INFO: Teltonika packet parsed successfully {"connection_id":142743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:33:04] local.INFO: Passing IMEI to GPS processor {"connection_id":142743,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:33:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":142743,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:33:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:33:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 07:33:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 07:33:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990145280001,"66":13319,"71":206,"85":15104,"24":22,"16":111453598172315648,"45":-9072219949219563520},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-07-27 07:33:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 07:33:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 07:33:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990145280001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:33:04] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-27 07:33:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 07:33:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111453598172315648,"km_value":111453598172315.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:33:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9072219949219563520,"description":"Unknown IO ID 45"} 
[2026-07-27 07:33:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990145280001,"power":13319,"unknown_71":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":-9072219949219563520}} 
[2026-07-27 07:33:04] local.INFO: DEBUG: GPS processor result {"connection_id":142743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551756,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:33:04] local.INFO: GPS data processed {"connection_id":142743,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:33:04] local.INFO: Acknowledgment sent {"connection_id":142743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:33:14] local.INFO: TCP Data received {"connection_id":142626,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fa14ecd60012d7f980005afd7c0001200062c..."} 
[2026-07-27 07:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa14ecd60012d7f980005afd7c0001200062c..."} 
[2026-07-27 07:33:14] local.INFO: Processing buffer {"connection_id":142626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa14ecd60012d7f980005afd7c0001200062c..."} 
[2026-07-27 07:33:14] local.INFO: Packet analysis {"connection_id":142626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa14e"} 
[2026-07-27 07:33:14] local.INFO: Extracted packet for processing {"connection_id":142626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa14e"} 
[2026-07-27 07:33:14] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":18,"angle":6,"satellites":44,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 07: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-07-27 07:33:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990060288001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:33:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:33:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:33:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:33:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785117724000,"timestamp_ms":1785117724000,"timestamp_seconds":1785117724,"priority":1,"record_length":96,"hex_timestamp":"0000019fa14ecd60"} 
[2026-07-27 07:33:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:33:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 07: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":31,"data_length":795,"current_offset":136} 
[2026-07-27 07:33:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07: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-07-27 07:33:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:33:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:33:14] local.INFO: Teltonika packet parsed successfully {"connection_id":142626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:33:14] local.INFO: Passing IMEI to GPS processor {"connection_id":142626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:33:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":142626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:33:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:33:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:33:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:33:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990060288001,"66":25321,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 07:33:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:33:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:33:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990060288001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:33:14] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 07:33:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:33:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:33:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:33:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990060288001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:33:14] local.INFO: DEBUG: GPS processor result {"connection_id":142626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:33:14] local.INFO: GPS data processed {"connection_id":142626,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:33:14] local.INFO: Acknowledgment sent {"connection_id":142626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:33:33] local.INFO: TCP Data received {"connection_id":145033,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:33:33] local.INFO: Processing buffer {"connection_id":145033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:33:33] local.INFO: IMEI packet received {"connection_id":145033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 07:33:33] local.INFO: IMEI acknowledgment sent {"connection_id":145033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:33:35] local.INFO: TCP Data received {"connection_id":142743,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa14f4e48012d82148005da8e380007010522..."} 
[2026-07-27 07:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142743,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa14f4e48012d82148005da8e380007010522..."} 
[2026-07-27 07:33:35] local.INFO: Processing buffer {"connection_id":142743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa14f4e48012d82148005da8e380007010522..."} 
[2026-07-27 07:33:35] local.INFO: Packet analysis {"connection_id":142743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa14f"} 
[2026-07-27 07:33:35] local.INFO: Extracted packet for processing {"connection_id":142743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa14f"} 
[2026-07-27 07:33:35] local.INFO: GPS Element Parsed {"raw_longitude":763499648,"raw_latitude":98209336,"longitude_deg":76.3499648,"latitude_deg":9.8209336,"altitude":7,"angle":261,"satellites":34,"speed":25,"hex_longitude":"2d821480","hex_latitude":"05da8e38","is_valid_coordinates":true} 
[2026-07-27 07:33:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:33:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990145536001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:33:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111453628237086720,"note":"Value kept but may cause issues"} 
[2026-07-27 07:33:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9072782899172968448,"note":"Value kept but may cause issues"} 
[2026-07-27 07:33:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:33:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785117757000,"timestamp_ms":1785117757000,"timestamp_seconds":1785117757,"priority":1,"record_length":96,"hex_timestamp":"0000019fa14f4e48"} 
[2026-07-27 07:33:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:33:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 07:33:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-27 07:33:35] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-27 07:33:35] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":1660944384,"corrected_to":0} 
[2026-07-27 07:33:35] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2706309160,"note":"Value kept but may cause issues"} 
[2026-07-27 07:33:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2182987781,"note":"Value kept but may cause issues"} 
[2026-07-27 07:33:35] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-07-27 07:33:35] local.WARNING: Large IO value detected {"io_id":161,"raw_value":57886293623723323,"note":"Value kept but may cause issues"} 
[2026-07-27 07:33:35] local.WARNING: Large IO value detected {"io_id":218,"raw_value":4343721874981528320,"note":"Value kept but may cause issues"} 
[2026-07-27 07:33:35] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2806448334,"corrected_to":0} 
[2026-07-27 07:33:35] local.WARNING: Large IO value detected {"io_id":139,"raw_value":4131323904,"note":"Value kept but may cause issues"} 
[2026-07-27 07:33:35] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3663679488,"note":"Value kept but may cause issues"} 
[2026-07-27 07:33:35] local.WARNING: Large IO value detected {"io_id":78,"raw_value":-2240539519647023099,"note":"Value kept but may cause issues"} 
[2026-07-27 07:33:35] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,71,85,24,241,157,16,246,159,70,45,142,7,35,10,66,64,141,34,62,192,1,240,161,227,218,4,113,205,22,43,33,248,239,50,2,139,5,9,42,78],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":246,"original":1660944384,"validated":0},{"io_id":205,"original":2806448334,"validated":0}]} 
[2026-07-27 07:33:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504703470970208256,"timestamp_seconds":504703470970208.25,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 07:33:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:33:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:33:35] local.INFO: Teltonika packet parsed successfully {"connection_id":142743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:33:35] local.INFO: Passing IMEI to GPS processor {"connection_id":142743,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:33:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":142743,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:33:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:33:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 07:33:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 07:33:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990145536001,"66":13015,"71":206,"85":15104,"24":25,"16":111453628237086720,"45":-9072782899172968448},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-07-27 07:33:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 07:33:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 07:33:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990145536001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:33:35] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-27 07:33:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 07:33:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111453628237086720,"km_value":111453628237086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:33:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9072782899172968448,"description":"Unknown IO ID 45"} 
[2026-07-27 07:33:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990145536001,"power":13015,"unknown_71":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":-9072782899172968448}} 
[2026-07-27 07:33:35] local.INFO: DEBUG: GPS processor result {"connection_id":142743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551758,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:33:35] local.INFO: GPS data processed {"connection_id":142743,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:33:35] local.INFO: Acknowledgment sent {"connection_id":142743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:33:38] local.INFO: TCP Data received {"connection_id":145033,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:33:38] local.INFO: Processing buffer {"connection_id":145033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:33:38] local.INFO: IMEI packet received {"connection_id":145033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 07:33:38] local.INFO: IMEI acknowledgment sent {"connection_id":145033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:33:38] local.INFO: TCP Data received {"connection_id":145033,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fa14ecd60012d7f980005afd7c0001200062c..."} 
[2026-07-27 07:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa14ecd60012d7f980005afd7c0001200062c..."} 
[2026-07-27 07:33:38] local.INFO: Processing buffer {"connection_id":145033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa14ecd60012d7f980005afd7c0001200062c..."} 
[2026-07-27 07:33:38] local.INFO: Packet analysis {"connection_id":145033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa14e"} 
[2026-07-27 07:33:38] local.INFO: Extracted packet for processing {"connection_id":145033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa14e"} 
[2026-07-27 07:33:38] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":18,"angle":6,"satellites":44,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 07:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:33:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990060288001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:33:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:33:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:33:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:33:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785117724000,"timestamp_ms":1785117724000,"timestamp_seconds":1785117724,"priority":1,"record_length":96,"hex_timestamp":"0000019fa14ecd60"} 
[2026-07-27 07:33:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:33:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 07:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 07:33:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:33:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:33:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:33:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:33:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:33:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:33:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:33:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:33:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:33:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:33:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990060288001,"66":25321,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 07:33:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:33:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:33:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990060288001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:33:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 07:33:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:33:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:33:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:33:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990060288001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:33:38] local.INFO: DEBUG: GPS processor result {"connection_id":145033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:33:38] local.INFO: GPS data processed {"connection_id":145033,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:33:38] local.INFO: Acknowledgment sent {"connection_id":145033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:33:59] local.INFO: TCP Data received {"connection_id":142627,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142627,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:33:59] local.INFO: Processing buffer {"connection_id":142627,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:33:59] local.INFO: IMEI packet received {"connection_id":142627,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 07:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":142627,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:34:01] local.INFO: TCP Data received {"connection_id":142627,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142627,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:34:01] local.INFO: Processing buffer {"connection_id":142627,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:34:01] local.INFO: IMEI packet received {"connection_id":142627,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 07:34:01] local.INFO: IMEI acknowledgment sent {"connection_id":142627,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:34:02] local.INFO: TCP Data received {"connection_id":142627,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142627,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:34:02] local.INFO: Processing buffer {"connection_id":142627,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:34:02] local.INFO: IMEI packet received {"connection_id":142627,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 07:34:02] local.INFO: IMEI acknowledgment sent {"connection_id":142627,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:34:03] local.INFO: TCP Data received {"connection_id":142627,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1502908012d81644005da89800004014b22..."} 
[2026-07-27 07:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142627,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1502908012d81644005da89800004014b22..."} 
[2026-07-27 07:34:03] local.INFO: Processing buffer {"connection_id":142627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1502908012d81644005da89800004014b22..."} 
[2026-07-27 07:34:03] local.INFO: Packet analysis {"connection_id":142627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa150"} 
[2026-07-27 07:34:03] local.INFO: Extracted packet for processing {"connection_id":142627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa150"} 
[2026-07-27 07:34:03] local.INFO: GPS Element Parsed {"raw_longitude":763454528,"raw_latitude":98208128,"longitude_deg":76.3454528,"latitude_deg":9.8208128,"altitude":4,"angle":331,"satellites":34,"speed":26,"hex_longitude":"2d816440","hex_latitude":"05da8980","is_valid_coordinates":true} 
[2026-07-27 07:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:34:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990159872001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:34:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111455904569753600,"note":"Value kept but may cause issues"} 
[2026-07-27 07:34:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9122744707539585024,"note":"Value kept but may cause issues"} 
[2026-07-27 07:34:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:34:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785117813000,"timestamp_ms":1785117813000,"timestamp_seconds":1785117813,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1502908"} 
[2026-07-27 07:34:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:34:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 07:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-27 07:34:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1262,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:34:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:34:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:34:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:34:03] local.INFO: Teltonika packet parsed successfully {"connection_id":142627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:34:03] local.INFO: Passing IMEI to GPS processor {"connection_id":142627,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:34:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":142627,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:34:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:34:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 07:34:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 07:34:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990159872001,"66":13059,"71":206,"85":15104,"24":26,"16":111455904569753600,"45":-9122744707539585024},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-07-27 07:34:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 07:34:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 07:34:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990159872001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:34:03] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-27 07:34:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 07:34:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111455904569753600,"km_value":111455904569753.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:34:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9122744707539585024,"description":"Unknown IO ID 45"} 
[2026-07-27 07:34:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990159872001,"power":13059,"unknown_71":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":-9122744707539585024}} 
[2026-07-27 07:34:03] local.INFO: DEBUG: GPS processor result {"connection_id":142627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551760,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:34:03] local.INFO: GPS data processed {"connection_id":142627,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:34:03] local.INFO: Acknowledgment sent {"connection_id":142627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:34:09] local.INFO: TCP Data received {"connection_id":145033,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fa14ecd60012d7f980005afd7c0001200062c..."} 
[2026-07-27 07:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa14ecd60012d7f980005afd7c0001200062c..."} 
[2026-07-27 07:34:09] local.INFO: Processing buffer {"connection_id":145033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa14ecd60012d7f980005afd7c0001200062c..."} 
[2026-07-27 07:34:09] local.INFO: Packet analysis {"connection_id":145033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa14e"} 
[2026-07-27 07:34:09] local.INFO: Extracted packet for processing {"connection_id":145033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa14e"} 
[2026-07-27 07:34:09] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":18,"angle":6,"satellites":44,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 07:34:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990060288001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:34:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:34:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:34:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:34:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785117724000,"timestamp_ms":1785117724000,"timestamp_seconds":1785117724,"priority":1,"record_length":96,"hex_timestamp":"0000019fa14ecd60"} 
[2026-07-27 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-07-27 07:34:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 07:34:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 07:34:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:34:09] local.INFO: Teltonika packet parsed successfully {"connection_id":145033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:34:09] local.INFO: Passing IMEI to GPS processor {"connection_id":145033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:34:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":145033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:34:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:34:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:34:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:34:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990060288001,"66":25321,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 07:34:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:34:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:34:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990060288001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:34:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 07:34:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:34:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:34:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:34:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990060288001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:34:09] local.INFO: DEBUG: GPS processor result {"connection_id":145033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:34:09] local.INFO: GPS data processed {"connection_id":145033,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:34:09] local.INFO: Acknowledgment sent {"connection_id":145033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:34:32] local.INFO: TCP Data received {"connection_id":145034,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:34:32] local.INFO: Processing buffer {"connection_id":145034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:34:32] local.INFO: IMEI packet received {"connection_id":145034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 07:34:32] local.INFO: IMEI acknowledgment sent {"connection_id":145034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:34:34] local.INFO: TCP Data received {"connection_id":142627,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1502cf0012d81638005da8c680004015721..."} 
[2026-07-27 07:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142627,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1502cf0012d81638005da8c680004015721..."} 
[2026-07-27 07:34:34] local.INFO: Processing buffer {"connection_id":142627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1502cf0012d81638005da8c680004015721..."} 
[2026-07-27 07:34:34] local.INFO: Packet analysis {"connection_id":142627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa150"} 
[2026-07-27 07:34:34] local.INFO: Extracted packet for processing {"connection_id":142627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa150"} 
[2026-07-27 07:34:34] local.INFO: GPS Element Parsed {"raw_longitude":763454336,"raw_latitude":98208872,"longitude_deg":76.3454336,"latitude_deg":9.8208872,"altitude":4,"angle":343,"satellites":33,"speed":29,"hex_longitude":"2d816380","hex_latitude":"05da8c68","is_valid_coordinates":true} 
[2026-07-27 07:34:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:34:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990160128001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:34:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111455938929491968,"note":"Value kept but may cause issues"} 
[2026-07-27 07:34:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9123096551260323840,"note":"Value kept but may cause issues"} 
[2026-07-27 07:34:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:34:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785117814000,"timestamp_ms":1785117814000,"timestamp_seconds":1785117814,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1502cf0"} 
[2026-07-27 07:34:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:34:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 07:34:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-27 07:34:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303162643762599,"note":"Value kept but may cause issues"} 
[2026-07-27 07:34:34] local.WARNING: Large IO value detected {"io_id":71,"raw_value":58077557095399458,"note":"Value kept but may cause issues"} 
[2026-07-27 07:34:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-27 07:34:34] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2706359160,"note":"Value kept but may cause issues"} 
[2026-07-27 07:34:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2173255685,"note":"Value kept but may cause issues"} 
[2026-07-27 07:34:34] local.WARNING: Large IO value detected {"io_id":218,"raw_value":2175795203,"note":"Value kept but may cause issues"} 
[2026-07-27 07:34:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2806448334,"corrected_to":0} 
[2026-07-27 07:34:34] local.WARNING: Large IO value detected {"io_id":139,"raw_value":4161470464,"note":"Value kept but may cause issues"} 
[2026-07-27 07:34:34] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3665070080,"note":"Value kept but may cause issues"} 
[2026-07-27 07:34:34] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,71,85,24,241,157,16,248,159,37,45,128,135,4,35,10,66,33,64,133,29,1,240,91,227,161,218,113,205,31,238,143,232,34,239,50,2,139,5],"length":486,"final_offset":616,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2806448334,"validated":0}]} 
[2026-07-27 07:34:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288594460531097600,"timestamp_seconds":288594460531097.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 07:34:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:34:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:34:34] local.INFO: Teltonika packet parsed successfully {"connection_id":142627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:34:34] local.INFO: Passing IMEI to GPS processor {"connection_id":142627,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:34:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":142627,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:34:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:34:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 07:34:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 07:34:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990160128001,"66":13059,"71":206,"85":15104,"24":29,"16":111455938929491968,"45":-9123096551260323840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-07-27 07:34:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 07:34:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 07:34:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990160128001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:34:34] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-27 07:34:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 07:34:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111455938929491968,"km_value":111455938929491.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:34:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9123096551260323840,"description":"Unknown IO ID 45"} 
[2026-07-27 07:34:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990160128001,"power":13059,"unknown_71":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":-9123096551260323840}} 
[2026-07-27 07:34:34] local.INFO: DEBUG: GPS processor result {"connection_id":142627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551762,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:34:34] local.INFO: GPS data processed {"connection_id":142627,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:34:34] local.INFO: Acknowledgment sent {"connection_id":142627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:34:38] local.INFO: TCP Data received {"connection_id":145034,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:34:38] local.INFO: Processing buffer {"connection_id":145034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:34:38] local.INFO: IMEI packet received {"connection_id":145034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 07:34:38] local.INFO: IMEI acknowledgment sent {"connection_id":145034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:34:39] local.INFO: TCP Data received {"connection_id":145034,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fa14ecd60012d7f980005afd7c0001200062c..."} 
[2026-07-27 07:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa14ecd60012d7f980005afd7c0001200062c..."} 
[2026-07-27 07:34:39] local.INFO: Processing buffer {"connection_id":145034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa14ecd60012d7f980005afd7c0001200062c..."} 
[2026-07-27 07:34:39] local.INFO: Packet analysis {"connection_id":145034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa14e"} 
[2026-07-27 07:34:39] local.INFO: Extracted packet for processing {"connection_id":145034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa14e"} 
[2026-07-27 07:34:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":18,"angle":6,"satellites":44,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 07:34:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:34:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990060288001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:34:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:34:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:34:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:34:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785117724000,"timestamp_ms":1785117724000,"timestamp_seconds":1785117724,"priority":1,"record_length":96,"hex_timestamp":"0000019fa14ecd60"} 
[2026-07-27 07:34:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:34:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 07:34:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 07:34: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-07-27 07:34:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:34:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:34:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:34:39] local.INFO: Teltonika packet parsed successfully {"connection_id":145034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:34:39] local.INFO: Passing IMEI to GPS processor {"connection_id":145034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:34:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":145034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:34:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:34:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:34:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:34:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990060288001,"66":25321,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 07:34:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:34:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:34:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990060288001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:34:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 07:34:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:34:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:34:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:34:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990060288001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:34:39] local.INFO: DEBUG: GPS processor result {"connection_id":145034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:34:39] local.INFO: GPS data processed {"connection_id":145034,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:34:39] local.INFO: Acknowledgment sent {"connection_id":145034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:34:58] local.INFO: TCP Data received {"connection_id":143716,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143716,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:34:58] local.INFO: Processing buffer {"connection_id":143716,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:34:58] local.INFO: IMEI packet received {"connection_id":143716,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 07:34:58] local.INFO: IMEI acknowledgment sent {"connection_id":143716,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:35:01] local.INFO: TCP Data received {"connection_id":143716,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143716,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:35:01] local.INFO: Processing buffer {"connection_id":143716,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:35:01] local.INFO: IMEI packet received {"connection_id":143716,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 07:35:01] local.INFO: IMEI acknowledgment sent {"connection_id":143716,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:35:05] local.INFO: TCP Data received {"connection_id":143716,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143716,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:35:05] local.INFO: Processing buffer {"connection_id":143716,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:35:05] local.INFO: IMEI packet received {"connection_id":143716,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 07:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":143716,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:35:06] local.INFO: TCP Data received {"connection_id":143716,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa15103c8012d80fa0005db74880002015323..."} 
[2026-07-27 07:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa15103c8012d80fa0005db74880002015323..."} 
[2026-07-27 07:35:06] local.INFO: Processing buffer {"connection_id":143716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa15103c8012d80fa0005db74880002015323..."} 
[2026-07-27 07:35:06] local.INFO: Packet analysis {"connection_id":143716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa151"} 
[2026-07-27 07:35:06] local.INFO: Extracted packet for processing {"connection_id":143716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa151"} 
[2026-07-27 07:35:06] local.INFO: GPS Element Parsed {"raw_longitude":763427328,"raw_latitude":98268296,"longitude_deg":76.3427328,"latitude_deg":9.8268296,"altitude":2,"angle":339,"satellites":35,"speed":66,"hex_longitude":"2d80fa00","hex_latitude":"05db7488","is_valid_coordinates":true} 
[2026-07-27 07:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:35:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990173440001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:35:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111459138680127488,"note":"Value kept but may cause issues"} 
[2026-07-27 07:35:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9149907042778101760,"note":"Value kept but may cause issues"} 
[2026-07-27 07:35:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:35:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785117869000,"timestamp_ms":1785117869000,"timestamp_seconds":1785117869,"priority":1,"record_length":96,"hex_timestamp":"0000019fa15103c8"} 
[2026-07-27 07:35:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:35:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 07:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-07-27 07:35:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1065,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:35:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:35:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:35:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:35:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:35:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143716,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:35:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143716,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:35:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:35:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 07:35:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 07:35:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990173440001,"66":13222,"153":206,"85":15104,"24":66,"16":111459138680127488,"45":-9149907042778101760},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,85,24,16,45]} 
[2026-07-27 07:35:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 07:35:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 07:35:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990173440001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:35:06] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-27 07:35:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 07:35:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111459138680127488,"km_value":111459138680127.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:35:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9149907042778101760,"description":"Unknown IO ID 45"} 
[2026-07-27 07:35:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990173440001,"power":13222,"unknown_153":206,"unknown_85":15104,"ignition":66,"odometer":null,"unknown_45":-9149907042778101760}} 
[2026-07-27 07:35:06] local.INFO: DEBUG: GPS processor result {"connection_id":143716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551764,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:35:06] local.INFO: GPS data processed {"connection_id":143716,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:35:06] local.INFO: Acknowledgment sent {"connection_id":143716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:35:10] local.INFO: TCP Data received {"connection_id":145034,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fa14ecd60012d7f980005afd7c0001200062c..."} 
[2026-07-27 07:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa14ecd60012d7f980005afd7c0001200062c..."} 
[2026-07-27 07:35:10] local.INFO: Processing buffer {"connection_id":145034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa14ecd60012d7f980005afd7c0001200062c..."} 
[2026-07-27 07:35:10] local.INFO: Packet analysis {"connection_id":145034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa14e"} 
[2026-07-27 07:35:10] local.INFO: Extracted packet for processing {"connection_id":145034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa14e"} 
[2026-07-27 07:35:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":18,"angle":6,"satellites":44,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 07:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:35:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990060288001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:35:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:35:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:35:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:35:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785117724000,"timestamp_ms":1785117724000,"timestamp_seconds":1785117724,"priority":1,"record_length":96,"hex_timestamp":"0000019fa14ecd60"} 
[2026-07-27 07:35:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:35:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 07:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 07:35: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-07-27 07:35:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:35:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:35:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:35:10] local.INFO: Teltonika packet parsed successfully {"connection_id":145034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:35:10] local.INFO: Passing IMEI to GPS processor {"connection_id":145034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:35:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":145034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:35:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:35:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:35:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:35:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990060288001,"66":25321,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 07:35:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:35:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:35:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990060288001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:35:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 07:35:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:35:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:35:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:35:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990060288001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:35:10] local.INFO: DEBUG: GPS processor result {"connection_id":145034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:35:10] local.INFO: GPS data processed {"connection_id":145034,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:35:10] local.INFO: Acknowledgment sent {"connection_id":145034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:35:10] local.INFO: TCP Data received {"connection_id":145035,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 07:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145035,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 07:35:10] local.INFO: Processing buffer {"connection_id":145035,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 07:35:10] local.INFO: IMEI packet received {"connection_id":145035,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 07:35:10] local.INFO: IMEI acknowledgment sent {"connection_id":145035,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:35:33] local.INFO: TCP Data received {"connection_id":143717,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:35:33] local.INFO: Processing buffer {"connection_id":143717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:35:33] local.INFO: IMEI packet received {"connection_id":143717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 07:35:33] local.INFO: IMEI acknowledgment sent {"connection_id":143717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:35:37] local.INFO: TCP Data received {"connection_id":143716,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1511b38012d80ec8005db96f80001014b23..."} 
[2026-07-27 07:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1511b38012d80ec8005db96f80001014b23..."} 
[2026-07-27 07:35:37] local.INFO: Processing buffer {"connection_id":143716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1511b38012d80ec8005db96f80001014b23..."} 
[2026-07-27 07:35:37] local.INFO: Packet analysis {"connection_id":143716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa151"} 
[2026-07-27 07:35:37] local.INFO: Extracted packet for processing {"connection_id":143716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa151"} 
[2026-07-27 07:35:37] local.INFO: GPS Element Parsed {"raw_longitude":763423872,"raw_latitude":98277112,"longitude_deg":76.3423872,"latitude_deg":9.8277112,"altitude":1,"angle":331,"satellites":35,"speed":57,"hex_longitude":"2d80ec80","hex_latitude":"05db96f8","is_valid_coordinates":true} 
[2026-07-27 07:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990174464001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111459598241628160,"note":"Value kept but may cause issues"} 
[2026-07-27 07:35:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9153003267520428032,"note":"Value kept but may cause issues"} 
[2026-07-27 07:35:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785117875000,"timestamp_ms":1785117875000,"timestamp_seconds":1785117875,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1511b38"} 
[2026-07-27 07:35:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:35:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 07:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-27 07:35:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:35:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:35:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143716,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143716,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:35:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 07:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 07:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990174464001,"66":13222,"153":206,"85":15104,"24":57,"16":111459598241628160,"45":-9153003267520428032},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,85,24,16,45]} 
[2026-07-27 07:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 07:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 07:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990174464001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:35:37] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-27 07:35:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 07:35:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111459598241628160,"km_value":111459598241628.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:35:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9153003267520428032,"description":"Unknown IO ID 45"} 
[2026-07-27 07:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990174464001,"power":13222,"unknown_153":206,"unknown_85":15104,"ignition":57,"odometer":null,"unknown_45":-9153003267520428032}} 
[2026-07-27 07:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":143716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551766,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:35:37] local.INFO: GPS data processed {"connection_id":143716,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:35:37] local.INFO: Acknowledgment sent {"connection_id":143716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:35:38] local.INFO: TCP Data received {"connection_id":143717,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:35:38] local.INFO: Processing buffer {"connection_id":143717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:35:38] local.INFO: IMEI packet received {"connection_id":143717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 07:35:38] local.INFO: IMEI acknowledgment sent {"connection_id":143717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:35:39] local.INFO: TCP Data received {"connection_id":143717,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fa14ecd60012d7f980005afd7c0001200062c..."} 
[2026-07-27 07:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa14ecd60012d7f980005afd7c0001200062c..."} 
[2026-07-27 07:35:39] local.INFO: Processing buffer {"connection_id":143717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa14ecd60012d7f980005afd7c0001200062c..."} 
[2026-07-27 07:35:39] local.INFO: Packet analysis {"connection_id":143717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa14e"} 
[2026-07-27 07:35:39] local.INFO: Extracted packet for processing {"connection_id":143717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa14e"} 
[2026-07-27 07:35:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":18,"angle":6,"satellites":44,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 07: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-07-27 07:35:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990060288001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:35:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:35:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:35:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:35:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785117724000,"timestamp_ms":1785117724000,"timestamp_seconds":1785117724,"priority":1,"record_length":96,"hex_timestamp":"0000019fa14ecd60"} 
[2026-07-27 07:35:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:35:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 07: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":31,"data_length":795,"current_offset":136} 
[2026-07-27 07:35: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-07-27 07: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-07-27 07:35:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:35:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:35:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:35:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:35:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:35:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:35:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:35:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:35:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990060288001,"66":25321,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 07:35:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:35:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:35:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990060288001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:35:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 07:35:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:35:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:35:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:35:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990060288001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:35:39] local.INFO: DEBUG: GPS processor result {"connection_id":143717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:35:39] local.INFO: GPS data processed {"connection_id":143717,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:35:39] local.INFO: Acknowledgment sent {"connection_id":143717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:35:45] local.INFO: TCP Data received {"connection_id":145036,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 07:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145036,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 07:35:45] local.INFO: Processing buffer {"connection_id":145036,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 07:35:45] local.INFO: IMEI packet received {"connection_id":145036,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 07:35:45] local.INFO: IMEI acknowledgment sent {"connection_id":145036,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:36:04] local.INFO: TCP Data received {"connection_id":145037,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145037,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:36:04] local.INFO: Processing buffer {"connection_id":145037,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:36:04] local.INFO: IMEI packet received {"connection_id":145037,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 07:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":145037,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:36:09] local.INFO: TCP Data received {"connection_id":145037,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145037,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:36:09] local.INFO: Processing buffer {"connection_id":145037,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:36:09] local.INFO: IMEI packet received {"connection_id":145037,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 07:36:09] local.INFO: IMEI acknowledgment sent {"connection_id":145037,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:36:09] local.INFO: TCP Data received {"connection_id":145037,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa15132a8012d80d7c005dbb4980004014522..."} 
[2026-07-27 07:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa15132a8012d80d7c005dbb4980004014522..."} 
[2026-07-27 07:36:09] local.INFO: Processing buffer {"connection_id":145037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa15132a8012d80d7c005dbb4980004014522..."} 
[2026-07-27 07:36:09] local.INFO: Packet analysis {"connection_id":145037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa151"} 
[2026-07-27 07:36:09] local.INFO: Extracted packet for processing {"connection_id":145037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa151"} 
[2026-07-27 07:36:09] local.INFO: GPS Element Parsed {"raw_longitude":763418560,"raw_latitude":98284696,"longitude_deg":76.341856,"latitude_deg":9.8284696,"altitude":4,"angle":325,"satellites":34,"speed":59,"hex_longitude":"2d80d7c0","hex_latitude":"05dbb498","is_valid_coordinates":true} 
[2026-07-27 07:36:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:36:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990176000001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:36:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111460044918226944,"note":"Value kept but may cause issues"} 
[2026-07-27 07:36:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9156803179703764992,"note":"Value kept but may cause issues"} 
[2026-07-27 07:36:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:36:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785117881000,"timestamp_ms":1785117881000,"timestamp_seconds":1785117881,"priority":1,"record_length":96,"hex_timestamp":"0000019fa15132a8"} 
[2026-07-27 07:36:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:36:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 07: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-27 07:36:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:36:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:36:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:36:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:36:09] local.INFO: Teltonika packet parsed successfully {"connection_id":145037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:36:09] local.INFO: Passing IMEI to GPS processor {"connection_id":145037,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:36:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":145037,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:36:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:36:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 07:36:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 07:36:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990176000001,"66":13374,"154":206,"85":15104,"24":59,"16":111460044918226944,"45":-9156803179703764992},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,85,24,16,45]} 
[2026-07-27 07:36:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 07:36:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 07:36:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990176000001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:36:09] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-07-27 07:36:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 07:36:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111460044918226944,"km_value":111460044918226.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:36:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9156803179703764992,"description":"Unknown IO ID 45"} 
[2026-07-27 07:36:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990176000001,"power":13374,"unknown_154":206,"unknown_85":15104,"ignition":59,"odometer":null,"unknown_45":-9156803179703764992}} 
[2026-07-27 07:36:10] local.INFO: DEBUG: GPS processor result {"connection_id":145037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551768,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:36:10] local.INFO: GPS data processed {"connection_id":145037,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:36:10] local.INFO: Acknowledgment sent {"connection_id":145037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:36:10] local.INFO: TCP Data received {"connection_id":143717,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fa14ecd60012d7f980005afd7c0001200062c..."} 
[2026-07-27 07:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa14ecd60012d7f980005afd7c0001200062c..."} 
[2026-07-27 07:36:10] local.INFO: Processing buffer {"connection_id":143717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa14ecd60012d7f980005afd7c0001200062c..."} 
[2026-07-27 07:36:10] local.INFO: Packet analysis {"connection_id":143717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa14e"} 
[2026-07-27 07:36:10] local.INFO: Extracted packet for processing {"connection_id":143717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa14e"} 
[2026-07-27 07:36:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":18,"angle":6,"satellites":44,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 07:36:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990060288001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:36:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:36:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:36:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:36:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785117724000,"timestamp_ms":1785117724000,"timestamp_seconds":1785117724,"priority":1,"record_length":96,"hex_timestamp":"0000019fa14ecd60"} 
[2026-07-27 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-07-27 07:36:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 07:36: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-07-27 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-07-27 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-07-27 07:36:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:36:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:36:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:36:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:36:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:36:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:36:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:36:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990060288001,"66":25321,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 07:36:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:36:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:36:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990060288001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:36:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 07:36:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:36:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:36:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:36:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990060288001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:36:10] local.INFO: DEBUG: GPS processor result {"connection_id":143717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:36:10] local.INFO: GPS data processed {"connection_id":143717,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:36:10] local.INFO: Acknowledgment sent {"connection_id":143717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:36:14] local.INFO: TCP Data received {"connection_id":145037,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1514a18012d80c68005dbd2f00004014e22..."} 
[2026-07-27 07:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1514a18012d80c68005dbd2f00004014e22..."} 
[2026-07-27 07:36:14] local.INFO: Processing buffer {"connection_id":145037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1514a18012d80c68005dbd2f00004014e22..."} 
[2026-07-27 07:36:14] local.INFO: Packet analysis {"connection_id":145037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa151"} 
[2026-07-27 07:36:14] local.INFO: Extracted packet for processing {"connection_id":145037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa151"} 
[2026-07-27 07:36:14] local.INFO: GPS Element Parsed {"raw_longitude":763414144,"raw_latitude":98292464,"longitude_deg":76.3414144,"latitude_deg":9.8292464,"altitude":4,"angle":334,"satellites":34,"speed":62,"hex_longitude":"2d80c680","hex_latitude":"05dbd2f0","is_valid_coordinates":true} 
[2026-07-27 07: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-07-27 07:36:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990177536001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:36:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111460474414956544,"note":"Value kept but may cause issues"} 
[2026-07-27 07:36:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9162643785468569600,"note":"Value kept but may cause issues"} 
[2026-07-27 07:36:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:36:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785117887000,"timestamp_ms":1785117887000,"timestamp_seconds":1785117887,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1514a18"} 
[2026-07-27 07:36:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:36:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 07: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-07-27 07:36:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07: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-07-27 07:36:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:36:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:36:14] local.INFO: Teltonika packet parsed successfully {"connection_id":145037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:36:14] local.INFO: Passing IMEI to GPS processor {"connection_id":145037,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:36:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":145037,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:36:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:36:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 07:36:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 07:36:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990177536001,"66":13102,"154":206,"85":15104,"24":62,"16":111460474414956544,"45":-9162643785468569600},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,85,24,16,45]} 
[2026-07-27 07:36:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 07:36:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 07:36:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990177536001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:36:14] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-07-27 07:36:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 07:36:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111460474414956544,"km_value":111460474414956.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:36:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9162643785468569600,"description":"Unknown IO ID 45"} 
[2026-07-27 07:36:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990177536001,"power":13102,"unknown_154":206,"unknown_85":15104,"ignition":62,"odometer":null,"unknown_45":-9162643785468569600}} 
[2026-07-27 07:36:14] local.INFO: DEBUG: GPS processor result {"connection_id":145037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551770,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:36:14] local.INFO: GPS data processed {"connection_id":145037,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:36:14] local.INFO: Acknowledgment sent {"connection_id":145037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:36:38] local.INFO: TCP Data received {"connection_id":142745,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:36:38] local.INFO: Processing buffer {"connection_id":142745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:36:38] local.INFO: IMEI packet received {"connection_id":142745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 07:36:38] local.INFO: IMEI acknowledgment sent {"connection_id":142745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:36:43] local.INFO: TCP Data received {"connection_id":142745,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:36:43] local.INFO: Processing buffer {"connection_id":142745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:36:43] local.INFO: IMEI packet received {"connection_id":142745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 07:36:43] local.INFO: IMEI acknowledgment sent {"connection_id":142745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:36:44] local.INFO: TCP Data received {"connection_id":142745,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa14ecd60012d7f980005afd7c0001200062c..."} 
[2026-07-27 07:36:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa14ecd60012d7f980005afd7c0001200062c..."} 
[2026-07-27 07:36:44] local.INFO: Processing buffer {"connection_id":142745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa14ecd60012d7f980005afd7c0001200062c..."} 
[2026-07-27 07:36:44] local.INFO: Packet analysis {"connection_id":142745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa14e"} 
[2026-07-27 07:36:44] local.INFO: Extracted packet for processing {"connection_id":142745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa14e"} 
[2026-07-27 07:36:44] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":18,"angle":6,"satellites":44,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 07:36:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:36:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990060288001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:36:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:36:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:36:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:36:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785117724000,"timestamp_ms":1785117724000,"timestamp_seconds":1785117724,"priority":1,"record_length":96,"hex_timestamp":"0000019fa14ecd60"} 
[2026-07-27 07:36:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:36:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 07:36:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 07:36:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:36:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:36:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:36:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:36:44] local.INFO: Teltonika packet parsed successfully {"connection_id":142745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:36:44] local.INFO: Passing IMEI to GPS processor {"connection_id":142745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:36:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":142745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:36:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:36:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:36:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:36:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990060288001,"66":25321,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 07:36:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:36:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:36:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990060288001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:36:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 07:36:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:36:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:36:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:36:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990060288001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:36:44] local.INFO: DEBUG: GPS processor result {"connection_id":142745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:36:44] local.INFO: GPS data processed {"connection_id":142745,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:36:44] local.INFO: Acknowledgment sent {"connection_id":142745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:36:48] local.INFO: TCP Data received {"connection_id":142745,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa14ecd60012d7f980005afd7c0001200062c..."} 
[2026-07-27 07:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa14ecd60012d7f980005afd7c0001200062c..."} 
[2026-07-27 07:36:48] local.INFO: Processing buffer {"connection_id":142745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa14ecd60012d7f980005afd7c0001200062c..."} 
[2026-07-27 07:36:48] local.INFO: Packet analysis {"connection_id":142745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa14e"} 
[2026-07-27 07:36:48] local.INFO: Extracted packet for processing {"connection_id":142745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa14e"} 
[2026-07-27 07:36:48] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":18,"angle":6,"satellites":44,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 07:36:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:36:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990060288001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:36:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:36:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:36:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:36:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785117724000,"timestamp_ms":1785117724000,"timestamp_seconds":1785117724,"priority":1,"record_length":96,"hex_timestamp":"0000019fa14ecd60"} 
[2026-07-27 07:36:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:36:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 07:36:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 07:36:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:36:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:36:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:36:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:36:48] local.INFO: Teltonika packet parsed successfully {"connection_id":142745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:36:48] local.INFO: Passing IMEI to GPS processor {"connection_id":142745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:36:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":142745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:36:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:36:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:36:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:36:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990060288001,"66":25321,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 07:36:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:36:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:36:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990060288001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:36:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 07:36:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:36:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:36:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:36:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990060288001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:36:48] local.INFO: DEBUG: GPS processor result {"connection_id":142745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:36:48] local.INFO: GPS data processed {"connection_id":142745,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:36:48] local.INFO: Acknowledgment sent {"connection_id":142745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:36:57] local.INFO: TCP Data received {"connection_id":142746,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142746,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:36:57] local.INFO: Processing buffer {"connection_id":142746,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:36:57] local.INFO: IMEI packet received {"connection_id":142746,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 07:36:57] local.INFO: IMEI acknowledgment sent {"connection_id":142746,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:36:58] local.INFO: TCP Data received {"connection_id":142746,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142746,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:36:58] local.INFO: Processing buffer {"connection_id":142746,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:36:58] local.INFO: IMEI packet received {"connection_id":142746,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 07:36:58] local.INFO: IMEI acknowledgment sent {"connection_id":142746,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:37:05] local.INFO: TCP Data received {"connection_id":142746,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142746,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:37:05] local.INFO: Processing buffer {"connection_id":142746,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:37:05] local.INFO: IMEI packet received {"connection_id":142746,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 07:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":142746,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:37:09] local.INFO: TCP Data received {"connection_id":142746,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa152a1d8012d80428005dca1e80006010121..."} 
[2026-07-27 07:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa152a1d8012d80428005dca1e80006010121..."} 
[2026-07-27 07:37:09] local.INFO: Processing buffer {"connection_id":142746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa152a1d8012d80428005dca1e80006010121..."} 
[2026-07-27 07:37:09] local.INFO: Packet analysis {"connection_id":142746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa152"} 
[2026-07-27 07:37:09] local.INFO: Extracted packet for processing {"connection_id":142746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa152"} 
[2026-07-27 07:37:09] local.INFO: GPS Element Parsed {"raw_longitude":763380352,"raw_latitude":98345448,"longitude_deg":76.3380352,"latitude_deg":9.8345448,"altitude":6,"angle":257,"satellites":33,"speed":35,"hex_longitude":"2d804280","hex_latitude":"05dca1e8","is_valid_coordinates":true} 
[2026-07-27 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-07-27 07:37:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990196992001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:37:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111463841669316608,"note":"Value kept but may cause issues"} 
[2026-07-27 07:37:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9194731932797642752,"note":"Value kept but may cause issues"} 
[2026-07-27 07:37:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:37:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785117975000,"timestamp_ms":1785117975000,"timestamp_seconds":1785117975,"priority":1,"record_length":96,"hex_timestamp":"0000019fa152a1d8"} 
[2026-07-27 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-07-27 07:37:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-27 07:37:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 07:37:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:37:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:37:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142746,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:37:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142746,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:37:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:37:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 07:37:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 07:37:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990196992001,"66":12863,"251":206,"85":15104,"24":35,"16":111463841669316608,"45":-9194731932797642752},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-07-27 07:37:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 07:37:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 07:37:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990196992001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:37:09] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-07-27 07:37:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 07:37:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111463841669316608,"km_value":111463841669316.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:37:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9194731932797642752,"description":"Unknown IO ID 45"} 
[2026-07-27 07:37:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990196992001,"power":12863,"unknown_251":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":-9194731932797642752}} 
[2026-07-27 07:37:09] local.INFO: DEBUG: GPS processor result {"connection_id":142746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551773,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:37:09] local.INFO: GPS data processed {"connection_id":142746,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:37:09] local.INFO: Acknowledgment sent {"connection_id":142746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:37:33] local.INFO: TCP Data received {"connection_id":142629,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:37:33] local.INFO: Processing buffer {"connection_id":142629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:37:33] local.INFO: IMEI packet received {"connection_id":142629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 07:37:33] local.INFO: IMEI acknowledgment sent {"connection_id":142629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:37:38] local.INFO: TCP Data received {"connection_id":142629,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:37:38] local.INFO: Processing buffer {"connection_id":142629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:37:38] local.INFO: IMEI packet received {"connection_id":142629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 07:37:38] local.INFO: IMEI acknowledgment sent {"connection_id":142629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:37:38] local.INFO: TCP Data received {"connection_id":142629,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fa14ecd60012d7f980005afd7c0001200062c..."} 
[2026-07-27 07:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa14ecd60012d7f980005afd7c0001200062c..."} 
[2026-07-27 07:37:38] local.INFO: Processing buffer {"connection_id":142629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa14ecd60012d7f980005afd7c0001200062c..."} 
[2026-07-27 07:37:38] local.INFO: Packet analysis {"connection_id":142629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa14e"} 
[2026-07-27 07:37:38] local.INFO: Extracted packet for processing {"connection_id":142629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa14e"} 
[2026-07-27 07:37:38] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":18,"angle":6,"satellites":44,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 07:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:37:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990060288001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:37:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:37:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:37:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:37:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785117724000,"timestamp_ms":1785117724000,"timestamp_seconds":1785117724,"priority":1,"record_length":96,"hex_timestamp":"0000019fa14ecd60"} 
[2026-07-27 07:37:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:37:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 07:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 07:37:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:37:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:37:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:37:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:37:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:37:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:37:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:37:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:37:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:37:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:37:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990060288001,"66":25321,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 07:37:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:37:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:37:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990060288001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:37:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 07:37:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:37:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:37:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:37:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990060288001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:37:38] local.INFO: DEBUG: GPS processor result {"connection_id":142629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:37:38] local.INFO: GPS data processed {"connection_id":142629,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:37:38] local.INFO: Acknowledgment sent {"connection_id":142629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:37:42] local.INFO: TCP Data received {"connection_id":142746,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa152ccd0012d801f4005dc99e80006010121..."} 
[2026-07-27 07:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa152ccd0012d801f4005dc99e80006010121..."} 
[2026-07-27 07:37:42] local.INFO: Processing buffer {"connection_id":142746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa152ccd0012d801f4005dc99e80006010121..."} 
[2026-07-27 07:37:42] local.INFO: Packet analysis {"connection_id":142746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa152"} 
[2026-07-27 07:37:42] local.INFO: Extracted packet for processing {"connection_id":142746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa152"} 
[2026-07-27 07:37:42] local.INFO: GPS Element Parsed {"raw_longitude":763371328,"raw_latitude":98343400,"longitude_deg":76.3371328,"latitude_deg":9.83434,"altitude":6,"angle":257,"satellites":33,"speed":32,"hex_longitude":"2d801f40","hex_latitude":"05dc99e8","is_valid_coordinates":true} 
[2026-07-27 07:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:37:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990201600001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:37:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111464279755980800,"note":"Value kept but may cause issues"} 
[2026-07-27 07:37:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9204653925727082496,"note":"Value kept but may cause issues"} 
[2026-07-27 07:37:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:37:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785117986000,"timestamp_ms":1785117986000,"timestamp_seconds":1785117986,"priority":1,"record_length":96,"hex_timestamp":"0000019fa152ccd0"} 
[2026-07-27 07:37:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:37:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 07: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-27 07:37:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:37:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:37:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:37:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:37:42] local.INFO: Teltonika packet parsed successfully {"connection_id":142746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:37:42] local.INFO: Passing IMEI to GPS processor {"connection_id":142746,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:37:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":142746,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:37:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:37:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 07:37:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 07:37:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990201600001,"66":13059,"251":206,"85":15104,"24":32,"16":111464279755980800,"45":-9204653925727082496},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-07-27 07:37:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 07:37:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 07:37:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990201600001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:37:42] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-07-27 07:37:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 07:37:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111464279755980800,"km_value":111464279755980.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:37:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9204653925727082496,"description":"Unknown IO ID 45"} 
[2026-07-27 07:37:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990201600001,"power":13059,"unknown_251":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":-9204653925727082496}} 
[2026-07-27 07:37:42] local.INFO: DEBUG: GPS processor result {"connection_id":142746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551775,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:37:42] local.INFO: GPS data processed {"connection_id":142746,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:37:42] local.INFO: Acknowledgment sent {"connection_id":142746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:38:03] local.INFO: TCP Data received {"connection_id":142748,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142748,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:38:03] local.INFO: Processing buffer {"connection_id":142748,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:38:03] local.INFO: IMEI packet received {"connection_id":142748,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 07:38:03] local.INFO: IMEI acknowledgment sent {"connection_id":142748,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:38:07] local.INFO: TCP Data received {"connection_id":142748,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142748,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:38:07] local.INFO: Processing buffer {"connection_id":142748,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:38:07] local.INFO: IMEI packet received {"connection_id":142748,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 07:38:07] local.INFO: IMEI acknowledgment sent {"connection_id":142748,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:38:09] local.INFO: TCP Data received {"connection_id":142629,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1536528012d7f980005afd7c0001100062d..."} 
[2026-07-27 07:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1536528012d7f980005afd7c0001100062d..."} 
[2026-07-27 07:38:09] local.INFO: Processing buffer {"connection_id":142629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1536528012d7f980005afd7c0001100062d..."} 
[2026-07-27 07:38:09] local.INFO: Packet analysis {"connection_id":142629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa153"} 
[2026-07-27 07:38:09] local.INFO: Extracted packet for processing {"connection_id":142629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa153"} 
[2026-07-27 07:38:09] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":45,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 07:38:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990137344001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:38:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:38:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:38:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:38:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785118025000,"timestamp_ms":1785118025000,"timestamp_seconds":1785118025,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1536528"} 
[2026-07-27 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-07-27 07:38:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 07:38:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 07:38:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:38:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:38:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:38:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07: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-07-27 07:38:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:38:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:38:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990137344001,"66":25375,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 07:38:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:38:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:38:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990137344001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:38:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 07:38:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:38:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:38:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:38:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990137344001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:38:09] local.INFO: DEBUG: GPS processor result {"connection_id":142629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:38:09] local.INFO: GPS data processed {"connection_id":142629,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:38:09] local.INFO: Acknowledgment sent {"connection_id":142629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:38:12] local.INFO: TCP Data received {"connection_id":142748,"ip":"42.109.136.2","data_length":812,"data_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019fa1..."} 
[2026-07-27 07:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142748,"packet_length":812,"packet_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019fa1..."} 
[2026-07-27 07:38:12] local.INFO: Processing buffer {"connection_id":142748,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019fa1..."} 
[2026-07-27 07:38:12] local.INFO: IMEI packet received {"connection_id":142748,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 07:38:12] local.INFO: IMEI acknowledgment sent {"connection_id":142748,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:38:32] local.INFO: TCP Data received {"connection_id":142749,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:38:32] local.INFO: Processing buffer {"connection_id":142749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:38:32] local.INFO: IMEI packet received {"connection_id":142749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 07:38:32] local.INFO: IMEI acknowledgment sent {"connection_id":142749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:38:38] local.INFO: TCP Data received {"connection_id":142749,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:38:38] local.INFO: Processing buffer {"connection_id":142749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:38:38] local.INFO: IMEI packet received {"connection_id":142749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 07:38:38] local.INFO: IMEI acknowledgment sent {"connection_id":142749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:38:39] local.INFO: TCP Data received {"connection_id":142749,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1536528012d7f980005afd7c0001100062d..."} 
[2026-07-27 07:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1536528012d7f980005afd7c0001100062d..."} 
[2026-07-27 07:38:39] local.INFO: Processing buffer {"connection_id":142749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1536528012d7f980005afd7c0001100062d..."} 
[2026-07-27 07:38:39] local.INFO: Packet analysis {"connection_id":142749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa153"} 
[2026-07-27 07:38:39] local.INFO: Extracted packet for processing {"connection_id":142749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa153"} 
[2026-07-27 07:38:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":45,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 07:38:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:38:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990137344001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:38:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:38:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:38:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:38:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785118025000,"timestamp_ms":1785118025000,"timestamp_seconds":1785118025,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1536528"} 
[2026-07-27 07:38:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:38:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 07:38:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 07:38:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:38:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:38:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:38:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:38:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:38:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:38:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:38:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:38:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:38:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:38:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990137344001,"66":25375,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 07:38:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:38:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:38:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990137344001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:38:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 07:38:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:38:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:38:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:38:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990137344001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:38:39] local.INFO: DEBUG: GPS processor result {"connection_id":142749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:38:39] local.INFO: GPS data processed {"connection_id":142749,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:38:39] local.INFO: Acknowledgment sent {"connection_id":142749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:39:10] local.INFO: TCP Data received {"connection_id":142749,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1536528012d7f980005afd7c0001100062d..."} 
[2026-07-27 07:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1536528012d7f980005afd7c0001100062d..."} 
[2026-07-27 07:39:10] local.INFO: Processing buffer {"connection_id":142749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1536528012d7f980005afd7c0001100062d..."} 
[2026-07-27 07:39:10] local.INFO: Packet analysis {"connection_id":142749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa153"} 
[2026-07-27 07:39:10] local.INFO: Extracted packet for processing {"connection_id":142749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa153"} 
[2026-07-27 07:39:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":45,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 07:39:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990137344001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:39:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:39:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:39:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:39:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785118025000,"timestamp_ms":1785118025000,"timestamp_seconds":1785118025,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1536528"} 
[2026-07-27 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-07-27 07:39:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 07: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-07-27 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-07-27 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-07-27 07:39:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:39:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:39:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:39:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:39:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:39:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:39:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:39:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990137344001,"66":25375,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 07:39:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:39:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:39:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990137344001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:39:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 07:39:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:39:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:39:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:39:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990137344001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:39:10] local.INFO: DEBUG: GPS processor result {"connection_id":142749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:39:10] local.INFO: GPS data processed {"connection_id":142749,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:39:10] local.INFO: Acknowledgment sent {"connection_id":142749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:39:32] local.INFO: TCP Data received {"connection_id":145038,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:39:32] local.INFO: Processing buffer {"connection_id":145038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:39:32] local.INFO: IMEI packet received {"connection_id":145038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 07:39:32] local.INFO: IMEI acknowledgment sent {"connection_id":145038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:39:38] local.INFO: TCP Data received {"connection_id":145038,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:39:38] local.INFO: Processing buffer {"connection_id":145038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:39:38] local.INFO: IMEI packet received {"connection_id":145038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 07:39:38] local.INFO: IMEI acknowledgment sent {"connection_id":145038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:39:39] local.INFO: TCP Data received {"connection_id":145038,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1536528012d7f980005afd7c0001100062d..."} 
[2026-07-27 07:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145038,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1536528012d7f980005afd7c0001100062d..."} 
[2026-07-27 07:39:39] local.INFO: Processing buffer {"connection_id":145038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1536528012d7f980005afd7c0001100062d..."} 
[2026-07-27 07:39:39] local.INFO: Packet analysis {"connection_id":145038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa153"} 
[2026-07-27 07:39:39] local.INFO: Extracted packet for processing {"connection_id":145038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa153"} 
[2026-07-27 07:39:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":45,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 07:39:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:39:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990137344001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:39:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:39:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:39:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:39:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785118025000,"timestamp_ms":1785118025000,"timestamp_seconds":1785118025,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1536528"} 
[2026-07-27 07:39:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:39:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 07: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 07:39:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:39:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:39:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:39:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:39:39] local.INFO: Teltonika packet parsed successfully {"connection_id":145038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:39:39] local.INFO: Passing IMEI to GPS processor {"connection_id":145038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:39:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":145038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:39: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-07-27 07:39:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:39:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:39:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990137344001,"66":25375,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 07:39:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:39:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:39:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990137344001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:39:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 07:39:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:39:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:39:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:39:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990137344001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:39:39] local.INFO: DEBUG: GPS processor result {"connection_id":145038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:39:39] local.INFO: GPS data processed {"connection_id":145038,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:39:39] local.INFO: Acknowledgment sent {"connection_id":145038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:40:10] local.INFO: TCP Data received {"connection_id":145038,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1536528012d7f980005afd7c0001100062d..."} 
[2026-07-27 07:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145038,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1536528012d7f980005afd7c0001100062d..."} 
[2026-07-27 07:40:10] local.INFO: Processing buffer {"connection_id":145038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1536528012d7f980005afd7c0001100062d..."} 
[2026-07-27 07:40:10] local.INFO: Packet analysis {"connection_id":145038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa153"} 
[2026-07-27 07:40:10] local.INFO: Extracted packet for processing {"connection_id":145038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa153"} 
[2026-07-27 07:40:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":45,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 07:40:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990137344001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:40:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:40:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:40:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:40:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785118025000,"timestamp_ms":1785118025000,"timestamp_seconds":1785118025,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1536528"} 
[2026-07-27 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-07-27 07:40:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 07: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-07-27 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-07-27 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-07-27 07:40:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:40:10] local.INFO: Teltonika packet parsed successfully {"connection_id":145038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:40:10] local.INFO: Passing IMEI to GPS processor {"connection_id":145038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:40:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":145038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:40:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:40:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:40:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:40:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990137344001,"66":25375,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 07:40:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:40:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:40:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990137344001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:40:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 07:40:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:40:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:40:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:40:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990137344001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:40:10] local.INFO: DEBUG: GPS processor result {"connection_id":145038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:40:10] local.INFO: GPS data processed {"connection_id":145038,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:40:10] local.INFO: Acknowledgment sent {"connection_id":145038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:40:32] local.INFO: TCP Data received {"connection_id":142631,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:40:32] local.INFO: Processing buffer {"connection_id":142631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:40:32] local.INFO: IMEI packet received {"connection_id":142631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 07:40:32] local.INFO: IMEI acknowledgment sent {"connection_id":142631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:40:38] local.INFO: TCP Data received {"connection_id":142631,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:40:38] local.INFO: Processing buffer {"connection_id":142631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:40:38] local.INFO: IMEI packet received {"connection_id":142631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 07:40:38] local.INFO: IMEI acknowledgment sent {"connection_id":142631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:40:38] local.INFO: TCP Data received {"connection_id":142631,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1536528012d7f980005afd7c0001100062d..."} 
[2026-07-27 07:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1536528012d7f980005afd7c0001100062d..."} 
[2026-07-27 07:40:39] local.INFO: Processing buffer {"connection_id":142631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1536528012d7f980005afd7c0001100062d..."} 
[2026-07-27 07:40:39] local.INFO: Packet analysis {"connection_id":142631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa153"} 
[2026-07-27 07:40:39] local.INFO: Extracted packet for processing {"connection_id":142631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa153"} 
[2026-07-27 07:40:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":45,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 07:40:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:40:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990137344001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:40:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:40:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:40:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:40:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785118025000,"timestamp_ms":1785118025000,"timestamp_seconds":1785118025,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1536528"} 
[2026-07-27 07:40:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:40:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 07: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 07:40:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:40:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:40:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:40:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:40:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:40:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:40:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:40: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-07-27 07:40:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:40:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:40:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990137344001,"66":25375,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 07:40:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:40:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:40:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990137344001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:40:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 07:40:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:40:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:40:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:40:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990137344001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:40:39] local.INFO: DEBUG: GPS processor result {"connection_id":142631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:40:39] local.INFO: GPS data processed {"connection_id":142631,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:40:39] local.INFO: Acknowledgment sent {"connection_id":142631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:41:09] local.INFO: TCP Data received {"connection_id":142631,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1536528012d7f980005afd7c0001100062d..."} 
[2026-07-27 07:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1536528012d7f980005afd7c0001100062d..."} 
[2026-07-27 07:41:09] local.INFO: Processing buffer {"connection_id":142631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1536528012d7f980005afd7c0001100062d..."} 
[2026-07-27 07:41:09] local.INFO: Packet analysis {"connection_id":142631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa153"} 
[2026-07-27 07:41:09] local.INFO: Extracted packet for processing {"connection_id":142631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa153"} 
[2026-07-27 07:41:09] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":45,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 07:41:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:41:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990137344001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:41:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:41:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:41:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:41:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785118025000,"timestamp_ms":1785118025000,"timestamp_seconds":1785118025,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1536528"} 
[2026-07-27 07:41:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:41:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 07: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 07:41:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:41:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:41:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:41:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:41:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:41:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:41:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:41:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:41:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:41:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:41:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990137344001,"66":25375,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 07:41:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:41:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:41:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990137344001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:41:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 07:41:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:41:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:41:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:41:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990137344001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:41:09] local.INFO: DEBUG: GPS processor result {"connection_id":142631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:41:09] local.INFO: GPS data processed {"connection_id":142631,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:41:09] local.INFO: Acknowledgment sent {"connection_id":142631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:41:10] local.INFO: TCP Data received {"connection_id":143719,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 07:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143719,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 07:41:10] local.INFO: Processing buffer {"connection_id":143719,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 07:41:10] local.INFO: IMEI packet received {"connection_id":143719,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 07:41:10] local.INFO: IMEI acknowledgment sent {"connection_id":143719,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:41:38] local.INFO: TCP Data received {"connection_id":143720,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:41:38] local.INFO: Processing buffer {"connection_id":143720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:41:38] local.INFO: IMEI packet received {"connection_id":143720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 07:41:38] local.INFO: IMEI acknowledgment sent {"connection_id":143720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:41:43] local.INFO: TCP Data received {"connection_id":143720,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:41:43] local.INFO: Processing buffer {"connection_id":143720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:41:43] local.INFO: IMEI packet received {"connection_id":143720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 07:41:43] local.INFO: IMEI acknowledgment sent {"connection_id":143720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:41:43] local.INFO: TCP Data received {"connection_id":143720,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1536528012d7f980005afd7c0001100062d..."} 
[2026-07-27 07:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1536528012d7f980005afd7c0001100062d..."} 
[2026-07-27 07:41:43] local.INFO: Processing buffer {"connection_id":143720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1536528012d7f980005afd7c0001100062d..."} 
[2026-07-27 07:41:43] local.INFO: Packet analysis {"connection_id":143720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa153"} 
[2026-07-27 07:41:43] local.INFO: Extracted packet for processing {"connection_id":143720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa153"} 
[2026-07-27 07:41:43] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":45,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 07:41:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990137344001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:41:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:41:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:41:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:41:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785118025000,"timestamp_ms":1785118025000,"timestamp_seconds":1785118025,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1536528"} 
[2026-07-27 07:41:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:41:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 07:41: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-07-27 07:41:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:41:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:41:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:41:43] local.INFO: Teltonika packet parsed successfully {"connection_id":143720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:41:43] local.INFO: Passing IMEI to GPS processor {"connection_id":143720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:41:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":143720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:41:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:41:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:41:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:41:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990137344001,"66":25375,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 07:41:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:41:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:41:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990137344001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:41:43] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 07:41:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:41:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:41:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:41:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990137344001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:41:44] local.INFO: DEBUG: GPS processor result {"connection_id":143720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:41:44] local.INFO: GPS data processed {"connection_id":143720,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:41:44] local.INFO: Acknowledgment sent {"connection_id":143720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:41:45] local.INFO: TCP Data received {"connection_id":142750,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 07:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142750,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 07:41:45] local.INFO: Processing buffer {"connection_id":142750,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 07:41:45] local.INFO: IMEI packet received {"connection_id":142750,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 07:41:45] local.INFO: IMEI acknowledgment sent {"connection_id":142750,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:41:48] local.INFO: TCP Data received {"connection_id":143720,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1536528012d7f980005afd7c0001100062d..."} 
[2026-07-27 07:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1536528012d7f980005afd7c0001100062d..."} 
[2026-07-27 07:41:48] local.INFO: Processing buffer {"connection_id":143720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1536528012d7f980005afd7c0001100062d..."} 
[2026-07-27 07:41:48] local.INFO: Packet analysis {"connection_id":143720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa153"} 
[2026-07-27 07:41:48] local.INFO: Extracted packet for processing {"connection_id":143720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa153"} 
[2026-07-27 07:41:48] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":45,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 07: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-07-27 07:41:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990137344001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:41:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:41:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:41:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:41:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785118025000,"timestamp_ms":1785118025000,"timestamp_seconds":1785118025,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1536528"} 
[2026-07-27 07:41:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:41:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 07: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 07:41:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07: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-07-27 07:41:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:41:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:41:48] local.INFO: Teltonika packet parsed successfully {"connection_id":143720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:41:48] local.INFO: Passing IMEI to GPS processor {"connection_id":143720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:41:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":143720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:41:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:41:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:41:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:41:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990137344001,"66":25375,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 07:41:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:41:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:41:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990137344001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:41:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 07:41:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:41:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:41:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:41:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990137344001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:41:48] local.INFO: DEBUG: GPS processor result {"connection_id":143720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:41:48] local.INFO: GPS data processed {"connection_id":143720,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:41:48] local.INFO: Acknowledgment sent {"connection_id":143720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:42:33] local.INFO: TCP Data received {"connection_id":142751,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:42:33] local.INFO: Processing buffer {"connection_id":142751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:42:33] local.INFO: IMEI packet received {"connection_id":142751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 07:42:33] local.INFO: IMEI acknowledgment sent {"connection_id":142751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:42:38] local.INFO: TCP Data received {"connection_id":142751,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:42:38] local.INFO: Processing buffer {"connection_id":142751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:42:38] local.INFO: IMEI packet received {"connection_id":142751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 07:42:38] local.INFO: IMEI acknowledgment sent {"connection_id":142751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:42:39] local.INFO: TCP Data received {"connection_id":142751,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1536528012d7f980005afd7c0001100062d..."} 
[2026-07-27 07:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1536528012d7f980005afd7c0001100062d..."} 
[2026-07-27 07:42:39] local.INFO: Processing buffer {"connection_id":142751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1536528012d7f980005afd7c0001100062d..."} 
[2026-07-27 07:42:39] local.INFO: Packet analysis {"connection_id":142751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa153"} 
[2026-07-27 07:42:39] local.INFO: Extracted packet for processing {"connection_id":142751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa153"} 
[2026-07-27 07:42:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":17,"angle":6,"satellites":45,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 07:42:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:42:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990137344001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:42:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:42:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:42:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:42:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785118025000,"timestamp_ms":1785118025000,"timestamp_seconds":1785118025,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1536528"} 
[2026-07-27 07:42:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:42:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 07:42:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 07:42:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:42:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:42:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:42:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:42:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:42:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:42:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:42: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-07-27 07:42:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:42:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:42:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990137344001,"66":25375,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 07:42:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:42:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:42:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990137344001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:42:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 07:42:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:42:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:42:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:42:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990137344001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:42:39] local.INFO: DEBUG: GPS processor result {"connection_id":142751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:42:39] local.INFO: GPS data processed {"connection_id":142751,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:42:39] local.INFO: Acknowledgment sent {"connection_id":142751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:42:51] local.INFO: TCP Data received {"connection_id":143721,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143721,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:42:51] local.INFO: Processing buffer {"connection_id":143721,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:42:51] local.INFO: IMEI packet received {"connection_id":143721,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 07:42:51] local.INFO: IMEI acknowledgment sent {"connection_id":143721,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:42:55] local.INFO: TCP Data received {"connection_id":143721,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143721,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:42:55] local.INFO: Processing buffer {"connection_id":143721,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:42:55] local.INFO: IMEI packet received {"connection_id":143721,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 07:42:55] local.INFO: IMEI acknowledgment sent {"connection_id":143721,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:42:56] local.INFO: TCP Data received {"connection_id":143721,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1583b70012d7e964005df3cd8000b014f21..."} 
[2026-07-27 07:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1583b70012d7e964005df3cd8000b014f21..."} 
[2026-07-27 07:42:56] local.INFO: Processing buffer {"connection_id":143721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1583b70012d7e964005df3cd8000b014f21..."} 
[2026-07-27 07:42:56] local.INFO: Packet analysis {"connection_id":143721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa158"} 
[2026-07-27 07:42:56] local.INFO: Extracted packet for processing {"connection_id":143721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa158"} 
[2026-07-27 07:42:56] local.INFO: GPS Element Parsed {"raw_longitude":763270720,"raw_latitude":98516184,"longitude_deg":76.327072,"latitude_deg":9.8516184,"altitude":11,"angle":335,"satellites":33,"speed":34,"hex_longitude":"2d7e9640","hex_latitude":"05df3cd8","is_valid_coordinates":true} 
[2026-07-27 07:42:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:42:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111474488893243392,"note":"Value kept but may cause issues"} 
[2026-07-27 07:42:56] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,207,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-27 07:42:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785118342000,"timestamp_ms":1785118342000,"timestamp_seconds":1785118342,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1583b70"} 
[2026-07-27 07:42:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:42:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 07:42:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-07-27 07:42:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3458764513988314112,"note":"Value kept but may cause issues"} 
[2026-07-27 07:42:56] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2706852160,"note":"Value kept but may cause issues"} 
[2026-07-27 07:42:56] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-27 07:42:56] local.WARNING: Large IO value detected {"io_id":161,"raw_value":6278633612124284608,"note":"Value kept but may cause issues"} 
[2026-07-27 07:42:56] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1765081294,"corrected_to":0} 
[2026-07-27 07:42:56] local.WARNING: Large IO value detected {"io_id":50,"raw_value":6125121344968379989,"note":"Value kept but may cause issues"} 
[2026-07-27 07:42:56] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-27 07:42:56] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-2418274670139583708,"note":"Value kept but may cause issues"} 
[2026-07-27 07:42:56] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755523995238641,"note":"Value kept but may cause issues"} 
[2026-07-27 07:42:56] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,24,241,16,9,159,147,10,66,1,240,161,45,223,4,113,205,85,31,120,208,80,35,239,50,53,2,157,140,5,7,29,59,155],"length":535,"final_offset":665,"validated_count":34,"validation_warnings":[{"io_id":205,"original":1765081294,"validated":0}]} 
[2026-07-27 07:42:56] 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-07-27 07:42:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:42:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:42:56] local.INFO: Teltonika packet parsed successfully {"connection_id":143721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:42:56] local.INFO: Passing IMEI to GPS processor {"connection_id":143721,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:42:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":143721,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:42:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:42:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 07:42:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 07:42:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":12874,"207":206,"85":15104,"24":34,"16":111474488893243392},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16]} 
[2026-07-27 07:42:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 07:42:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 07:42:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-07-27 07:42:56] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-27 07:42:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 07:42:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111474488893243392,"km_value":111474488893243.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:42:56] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":12874,"unknown_207":206,"unknown_85":15104,"ignition":34,"odometer":null}} 
[2026-07-27 07:42:56] local.INFO: DEBUG: GPS processor result {"connection_id":143721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551786,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:42:56] local.INFO: GPS data processed {"connection_id":143721,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:42:56] local.INFO: Acknowledgment sent {"connection_id":143721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:43:09] local.INFO: TCP Data received {"connection_id":142751,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa157fcf0012d7f980005afd7c0000c00062e..."} 
[2026-07-27 07:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa157fcf0012d7f980005afd7c0000c00062e..."} 
[2026-07-27 07:43:09] local.INFO: Processing buffer {"connection_id":142751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa157fcf0012d7f980005afd7c0000c00062e..."} 
[2026-07-27 07:43:09] local.INFO: Packet analysis {"connection_id":142751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa157"} 
[2026-07-27 07:43:09] local.INFO: Extracted packet for processing {"connection_id":142751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa157"} 
[2026-07-27 07:43:09] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":12,"angle":6,"satellites":46,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 07:43:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:43:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990214400001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:43:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:43:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:43:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:43:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785118326000,"timestamp_ms":1785118326000,"timestamp_seconds":1785118326,"priority":1,"record_length":96,"hex_timestamp":"0000019fa157fcf0"} 
[2026-07-27 07:43:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:43:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 07: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":31,"data_length":795,"current_offset":136} 
[2026-07-27 07:43:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:43:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:43:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:43:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:43:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:43:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:43:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:43:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:43:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:43:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:43:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990214400001,"66":25343,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 07:43:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:43:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:43:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990214400001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:43:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 07:43:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:43:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:43:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:43:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990214400001,"power":25343,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:43:09] local.INFO: DEBUG: GPS processor result {"connection_id":142751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:43:09] local.INFO: GPS data processed {"connection_id":142751,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:43:09] local.INFO: Acknowledgment sent {"connection_id":142751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:43:27] local.INFO: TCP Data received {"connection_id":143721,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1586a50012d7e888005df5f180009015923..."} 
[2026-07-27 07:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1586a50012d7e888005df5f180009015923..."} 
[2026-07-27 07:43:27] local.INFO: Processing buffer {"connection_id":143721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1586a50012d7e888005df5f180009015923..."} 
[2026-07-27 07:43:27] local.INFO: Packet analysis {"connection_id":143721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa158"} 
[2026-07-27 07:43:27] local.INFO: Extracted packet for processing {"connection_id":143721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa158"} 
[2026-07-27 07:43:27] local.INFO: GPS Element Parsed {"raw_longitude":763267200,"raw_latitude":98524952,"longitude_deg":76.32672,"latitude_deg":9.8524952,"altitude":9,"angle":345,"satellites":35,"speed":24,"hex_longitude":"2d7e8880","hex_latitude":"05df5f18","is_valid_coordinates":true} 
[2026-07-27 07:43:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:43:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990295552001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:43:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111474948454744064,"note":"Value kept but may cause issues"} 
[2026-07-27 07:43:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9121548489249839104,"note":"Value kept but may cause issues"} 
[2026-07-27 07:43:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:43:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785118354000,"timestamp_ms":1785118354000,"timestamp_seconds":1785118354,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1586a50"} 
[2026-07-27 07:43:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:43:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 07:43:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-07-27 07:43:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1114,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:43:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:43:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:43:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:43:27] local.INFO: Teltonika packet parsed successfully {"connection_id":143721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:43:27] local.INFO: Passing IMEI to GPS processor {"connection_id":143721,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:43:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":143721,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:43:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:43:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 07:43:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 07:43:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990295552001,"66":12917,"207":206,"85":15104,"24":24,"16":111474948454744064,"45":9121548489249839104},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-07-27 07:43:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 07:43:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 07:43:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990295552001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:43:27] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-27 07:43:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 07:43:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111474948454744064,"km_value":111474948454744.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:43:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9121548489249839104,"description":"Unknown IO ID 45"} 
[2026-07-27 07:43:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990295552001,"power":12917,"unknown_207":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":9121548489249839104}} 
[2026-07-27 07:43:27] local.INFO: DEBUG: GPS processor result {"connection_id":143721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551788,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:43:27] local.INFO: GPS data processed {"connection_id":143721,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:43:27] local.INFO: Acknowledgment sent {"connection_id":143721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:43:32] local.INFO: TCP Data received {"connection_id":143722,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:43:32] local.INFO: Processing buffer {"connection_id":143722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:43:32] local.INFO: IMEI packet received {"connection_id":143722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 07:43:32] local.INFO: IMEI acknowledgment sent {"connection_id":143722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:43:38] local.INFO: TCP Data received {"connection_id":143722,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:43:38] local.INFO: Processing buffer {"connection_id":143722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:43:38] local.INFO: IMEI packet received {"connection_id":143722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 07:43:38] local.INFO: IMEI acknowledgment sent {"connection_id":143722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:43:38] local.INFO: TCP Data received {"connection_id":143722,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fa157fcf0012d7f980005afd7c0000c00062e..."} 
[2026-07-27 07:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa157fcf0012d7f980005afd7c0000c00062e..."} 
[2026-07-27 07:43:38] local.INFO: Processing buffer {"connection_id":143722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa157fcf0012d7f980005afd7c0000c00062e..."} 
[2026-07-27 07:43:38] local.INFO: Packet analysis {"connection_id":143722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa157"} 
[2026-07-27 07:43:38] local.INFO: Extracted packet for processing {"connection_id":143722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa157"} 
[2026-07-27 07:43:38] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":12,"angle":6,"satellites":46,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 07:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:43:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990214400001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:43:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:43:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:43:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:43:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785118326000,"timestamp_ms":1785118326000,"timestamp_seconds":1785118326,"priority":1,"record_length":96,"hex_timestamp":"0000019fa157fcf0"} 
[2026-07-27 07:43:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:43:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 07:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 07:43:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:43:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:43:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:43:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:43:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:43:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:43:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:43:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:43:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:43:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:43:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990214400001,"66":25343,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 07:43:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:43:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:43:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990214400001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:43:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 07:43:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:43:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:43:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:43:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990214400001,"power":25343,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:43:38] local.INFO: DEBUG: GPS processor result {"connection_id":143722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:43:38] local.INFO: GPS data processed {"connection_id":143722,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:43:38] local.INFO: Acknowledgment sent {"connection_id":143722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:43:58] local.INFO: TCP Data received {"connection_id":143721,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1589930012d7e7d0005df81780008015424..."} 
[2026-07-27 07:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1589930012d7e7d0005df81780008015424..."} 
[2026-07-27 07:43:58] local.INFO: Processing buffer {"connection_id":143721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1589930012d7e7d0005df81780008015424..."} 
[2026-07-27 07:43:58] local.INFO: Packet analysis {"connection_id":143721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa158"} 
[2026-07-27 07:43:58] local.INFO: Extracted packet for processing {"connection_id":143721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa158"} 
[2026-07-27 07:43:58] local.INFO: GPS Element Parsed {"raw_longitude":763264256,"raw_latitude":98533752,"longitude_deg":76.3264256,"latitude_deg":9.8533752,"altitude":8,"angle":340,"satellites":36,"speed":29,"hex_longitude":"2d7e7d00","hex_latitude":"05df8178","is_valid_coordinates":true} 
[2026-07-27 07:43:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:43:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990298624001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:43:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111475399426310144,"note":"Value kept but may cause issues"} 
[2026-07-27 07:43:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9117678208322312192,"note":"Value kept but may cause issues"} 
[2026-07-27 07:43:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:43:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785118366000,"timestamp_ms":1785118366000,"timestamp_seconds":1785118366,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1589930"} 
[2026-07-27 07:43:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:43:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 07:43:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-27 07:43:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:43:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:43:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:43:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:43:58] local.INFO: Teltonika packet parsed successfully {"connection_id":143721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:43:58] local.INFO: Passing IMEI to GPS processor {"connection_id":143721,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:43:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":143721,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:43:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:43:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 07:43:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 07:43:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990298624001,"66":12798,"207":206,"85":15104,"24":29,"16":111475399426310144,"45":9117678208322312192},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-07-27 07:43:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 07:43:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 07:43:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990298624001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:43:58] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-27 07:43:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 07:43:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111475399426310144,"km_value":111475399426310.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:43:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9117678208322312192,"description":"Unknown IO ID 45"} 
[2026-07-27 07:43:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990298624001,"power":12798,"unknown_207":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":9117678208322312192}} 
[2026-07-27 07:43:58] local.INFO: DEBUG: GPS processor result {"connection_id":143721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551790,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:43:58] local.INFO: GPS data processed {"connection_id":143721,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:43:58] local.INFO: Acknowledgment sent {"connection_id":143721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:44:09] local.INFO: TCP Data received {"connection_id":143722,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fa157fcf0012d7f980005afd7c0000c00062e..."} 
[2026-07-27 07:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa157fcf0012d7f980005afd7c0000c00062e..."} 
[2026-07-27 07:44:09] local.INFO: Processing buffer {"connection_id":143722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa157fcf0012d7f980005afd7c0000c00062e..."} 
[2026-07-27 07:44:09] local.INFO: Packet analysis {"connection_id":143722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa157"} 
[2026-07-27 07:44:09] local.INFO: Extracted packet for processing {"connection_id":143722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa157"} 
[2026-07-27 07:44:09] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":12,"angle":6,"satellites":46,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 07:44:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990214400001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:44:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:44:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:44:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:44:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785118326000,"timestamp_ms":1785118326000,"timestamp_seconds":1785118326,"priority":1,"record_length":96,"hex_timestamp":"0000019fa157fcf0"} 
[2026-07-27 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-07-27 07:44:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 07:44:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 07:44:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:44:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:44:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:44:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:44:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:44:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:44:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:44:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990214400001,"66":25343,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 07:44:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:44:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:44:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990214400001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:44:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 07:44:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:44:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:44:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:44:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990214400001,"power":25343,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:44:09] local.INFO: DEBUG: GPS processor result {"connection_id":143722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:44:09] local.INFO: GPS data processed {"connection_id":143722,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:44:09] local.INFO: Acknowledgment sent {"connection_id":143722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:44:29] local.INFO: TCP Data received {"connection_id":143721,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019fa15a1418012d7e1a4005e0bcf80004012b24..."} 
[2026-07-27 07:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa15a1418012d7e1a4005e0bcf80004012b24..."} 
[2026-07-27 07:44:29] local.INFO: Processing buffer {"connection_id":143721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa15a1418012d7e1a4005e0bcf80004012b24..."} 
[2026-07-27 07:44:29] local.INFO: Packet analysis {"connection_id":143721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa15a"} 
[2026-07-27 07:44:29] local.INFO: Extracted packet for processing {"connection_id":143721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa15a"} 
[2026-07-27 07:44:29] local.INFO: GPS Element Parsed {"raw_longitude":763238976,"raw_latitude":98614520,"longitude_deg":76.3238976,"latitude_deg":9.861452,"altitude":4,"angle":299,"satellites":36,"speed":33,"hex_longitude":"2d7e1a40","hex_latitude":"05e0bcf8","is_valid_coordinates":true} 
[2026-07-27 07:44:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:44:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990324992001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:44:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111479587019423744,"note":"Value kept but may cause issues"} 
[2026-07-27 07:44:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9091571404254627840,"note":"Value kept but may cause issues"} 
[2026-07-27 07:44:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:44:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785118463000,"timestamp_ms":1785118463000,"timestamp_seconds":1785118463,"priority":1,"record_length":96,"hex_timestamp":"0000019fa15a1418"} 
[2026-07-27 07:44:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:44:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 07:44:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-27 07:44:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:44:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:44:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:44:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:44:29] local.INFO: Teltonika packet parsed successfully {"connection_id":143721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:44:29] local.INFO: Passing IMEI to GPS processor {"connection_id":143721,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:44:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":143721,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:44:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:44:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 07:44:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 07:44:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990324992001,"66":12765,"104":206,"85":15104,"24":33,"16":111479587019423744,"45":9091571404254627840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,45]} 
[2026-07-27 07:44:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 07:44:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 07:44:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990324992001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:44:29] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-07-27 07:44:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 07:44:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111479587019423744,"km_value":111479587019423.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:44:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9091571404254627840,"description":"Unknown IO ID 45"} 
[2026-07-27 07:44:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990324992001,"power":12765,"unknown_104":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":9091571404254627840}} 
[2026-07-27 07:44:29] local.INFO: DEBUG: GPS processor result {"connection_id":143721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551792,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:44:29] local.INFO: GPS data processed {"connection_id":143721,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:44:29] local.INFO: Acknowledgment sent {"connection_id":143721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:44:32] local.INFO: TCP Data received {"connection_id":143723,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:44:32] local.INFO: Processing buffer {"connection_id":143723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:44:32] local.INFO: IMEI packet received {"connection_id":143723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 07:44:32] local.INFO: IMEI acknowledgment sent {"connection_id":143723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:44:38] local.INFO: TCP Data received {"connection_id":143723,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:44:38] local.INFO: Processing buffer {"connection_id":143723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:44:38] local.INFO: IMEI packet received {"connection_id":143723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 07:44:38] local.INFO: IMEI acknowledgment sent {"connection_id":143723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:44:38] local.INFO: TCP Data received {"connection_id":143723,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa157fcf0012d7f980005afd7c0000c00062e..."} 
[2026-07-27 07:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa157fcf0012d7f980005afd7c0000c00062e..."} 
[2026-07-27 07:44:38] local.INFO: Processing buffer {"connection_id":143723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa157fcf0012d7f980005afd7c0000c00062e..."} 
[2026-07-27 07:44:38] local.INFO: Packet analysis {"connection_id":143723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa157"} 
[2026-07-27 07:44:38] local.INFO: Extracted packet for processing {"connection_id":143723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa157"} 
[2026-07-27 07:44:38] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":12,"angle":6,"satellites":46,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 07:44:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:44:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990214400001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:44:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:44:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:44:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:44:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785118326000,"timestamp_ms":1785118326000,"timestamp_seconds":1785118326,"priority":1,"record_length":96,"hex_timestamp":"0000019fa157fcf0"} 
[2026-07-27 07:44:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:44:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 07: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":31,"data_length":795,"current_offset":136} 
[2026-07-27 07:44:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:44:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:44:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:44:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:44:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:44:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:44:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:44:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:44:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:44:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:44:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990214400001,"66":25343,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 07:44:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:44:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:44:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990214400001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:44:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 07:44:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:44:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:44:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:44:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990214400001,"power":25343,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:44:38] local.INFO: DEBUG: GPS processor result {"connection_id":143723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:44:38] local.INFO: GPS data processed {"connection_id":143723,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:44:38] local.INFO: Acknowledgment sent {"connection_id":143723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:45:01] local.INFO: TCP Data received {"connection_id":143721,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019fa15a1fd0012d7e134005e0c1600004013623..."} 
[2026-07-27 07:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa15a1fd0012d7e134005e0c1600004013623..."} 
[2026-07-27 07:45:01] local.INFO: Processing buffer {"connection_id":143721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa15a1fd0012d7e134005e0c1600004013623..."} 
[2026-07-27 07:45:01] local.INFO: Packet analysis {"connection_id":143721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa15a"} 
[2026-07-27 07:45:01] local.INFO: Extracted packet for processing {"connection_id":143721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa15a"} 
[2026-07-27 07:45:01] local.INFO: GPS Element Parsed {"raw_longitude":763237184,"raw_latitude":98615648,"longitude_deg":76.3237184,"latitude_deg":9.8615648,"altitude":4,"angle":310,"satellites":35,"speed":22,"hex_longitude":"2d7e1340","hex_latitude":"05e0c160","is_valid_coordinates":true} 
[2026-07-27 07:45:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:45:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990326528001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:45:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111479690098638848,"note":"Value kept but may cause issues"} 
[2026-07-27 07:45:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9086645592162891776,"note":"Value kept but may cause issues"} 
[2026-07-27 07:45:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:45:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785118466000,"timestamp_ms":1785118466000,"timestamp_seconds":1785118466,"priority":1,"record_length":96,"hex_timestamp":"0000019fa15a1fd0"} 
[2026-07-27 07:45:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:45:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 07:45:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-27 07:45:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:45:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:45:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:45:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:45:01] local.INFO: Teltonika packet parsed successfully {"connection_id":143721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:45:01] local.INFO: Passing IMEI to GPS processor {"connection_id":143721,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:45:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":143721,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:45:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:45:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 07:45:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 07:45:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990326528001,"66":12798,"104":206,"85":15104,"24":22,"16":111479690098638848,"45":9086645592162891776},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,45]} 
[2026-07-27 07:45:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 07:45:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 07:45:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990326528001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:45:01] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-07-27 07:45:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 07:45:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111479690098638848,"km_value":111479690098638.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:45:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9086645592162891776,"description":"Unknown IO ID 45"} 
[2026-07-27 07:45:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990326528001,"power":12798,"unknown_104":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":9086645592162891776}} 
[2026-07-27 07:45:01] local.INFO: DEBUG: GPS processor result {"connection_id":143721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551794,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:45:01] local.INFO: GPS data processed {"connection_id":143721,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:45:01] local.INFO: Acknowledgment sent {"connection_id":143721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:45:09] local.INFO: TCP Data received {"connection_id":143723,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa157fcf0012d7f980005afd7c0000c00062e..."} 
[2026-07-27 07:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa157fcf0012d7f980005afd7c0000c00062e..."} 
[2026-07-27 07:45:09] local.INFO: Processing buffer {"connection_id":143723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa157fcf0012d7f980005afd7c0000c00062e..."} 
[2026-07-27 07:45:09] local.INFO: Packet analysis {"connection_id":143723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa157"} 
[2026-07-27 07:45:09] local.INFO: Extracted packet for processing {"connection_id":143723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa157"} 
[2026-07-27 07:45:09] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":12,"angle":6,"satellites":46,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 07:45:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:45:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990214400001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:45:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:45:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:45:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:45:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785118326000,"timestamp_ms":1785118326000,"timestamp_seconds":1785118326,"priority":1,"record_length":96,"hex_timestamp":"0000019fa157fcf0"} 
[2026-07-27 07:45:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:45:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 07: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":31,"data_length":795,"current_offset":136} 
[2026-07-27 07:45:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:45:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:45:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:45:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:45:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:45:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:45:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:45:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:45:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:45:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:45:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990214400001,"66":25343,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 07:45:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:45:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:45:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990214400001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:45:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 07:45:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:45:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:45:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:45:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990214400001,"power":25343,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:45:09] local.INFO: DEBUG: GPS processor result {"connection_id":143723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:45:09] local.INFO: GPS data processed {"connection_id":143723,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:45:09] local.INFO: Acknowledgment sent {"connection_id":143723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:45:32] local.INFO: TCP Data received {"connection_id":143721,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019fa15a23b8012d7e11c005e0c2f00004014423..."} 
[2026-07-27 07:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa15a23b8012d7e11c005e0c2f00004014423..."} 
[2026-07-27 07:45:32] local.INFO: Processing buffer {"connection_id":143721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa15a23b8012d7e11c005e0c2f00004014423..."} 
[2026-07-27 07:45:32] local.INFO: Packet analysis {"connection_id":143721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa15a"} 
[2026-07-27 07:45:32] local.INFO: Extracted packet for processing {"connection_id":143721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa15a"} 
[2026-07-27 07:45:32] local.INFO: GPS Element Parsed {"raw_longitude":763236800,"raw_latitude":98616048,"longitude_deg":76.32368,"latitude_deg":9.8616048,"altitude":4,"angle":324,"satellites":35,"speed":22,"hex_longitude":"2d7e11c0","hex_latitude":"05e0c2f0","is_valid_coordinates":true} 
[2026-07-27 07:45:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:45:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990327296001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:45:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111479715868442624,"note":"Value kept but may cause issues"} 
[2026-07-27 07:45:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9084675267326205952,"note":"Value kept but may cause issues"} 
[2026-07-27 07:45:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:45:32] local.INFO: AVL Record Parsed {"raw_timestamp":1785118467000,"timestamp_ms":1785118467000,"timestamp_seconds":1785118467,"priority":1,"record_length":96,"hex_timestamp":"0000019fa15a23b8"} 
[2026-07-27 07:45:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:45:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 07:45:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-27 07:45:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:45:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:45:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:45:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:45:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:45:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143721,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:45:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143721,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:45:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:45:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 07:45:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 07:45:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990327296001,"66":13015,"104":206,"85":15104,"24":22,"16":111479715868442624,"45":9084675267326205952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,45]} 
[2026-07-27 07:45:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 07:45:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 07:45:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990327296001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:45:32] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-07-27 07:45:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 07:45:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111479715868442624,"km_value":111479715868442.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:45:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9084675267326205952,"description":"Unknown IO ID 45"} 
[2026-07-27 07:45:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990327296001,"power":13015,"unknown_104":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":9084675267326205952}} 
[2026-07-27 07:45:32] local.INFO: DEBUG: GPS processor result {"connection_id":143721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551796,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:45:32] local.INFO: GPS data processed {"connection_id":143721,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:45:32] local.INFO: Acknowledgment sent {"connection_id":143721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:45:32] local.INFO: TCP Data received {"connection_id":142752,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:45:32] local.INFO: Processing buffer {"connection_id":142752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:45:32] local.INFO: IMEI packet received {"connection_id":142752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 07:45:32] local.INFO: IMEI acknowledgment sent {"connection_id":142752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:45:38] local.INFO: TCP Data received {"connection_id":142752,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:45:38] local.INFO: Processing buffer {"connection_id":142752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:45:38] local.INFO: IMEI packet received {"connection_id":142752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 07:45:38] local.INFO: IMEI acknowledgment sent {"connection_id":142752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:45:38] local.INFO: TCP Data received {"connection_id":142752,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fa157fcf0012d7f980005afd7c0000c00062e..."} 
[2026-07-27 07:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa157fcf0012d7f980005afd7c0000c00062e..."} 
[2026-07-27 07:45:38] local.INFO: Processing buffer {"connection_id":142752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa157fcf0012d7f980005afd7c0000c00062e..."} 
[2026-07-27 07:45:38] local.INFO: Packet analysis {"connection_id":142752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa157"} 
[2026-07-27 07:45:38] local.INFO: Extracted packet for processing {"connection_id":142752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa157"} 
[2026-07-27 07:45:38] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":12,"angle":6,"satellites":46,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 07:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:45:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990214400001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:45:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:45:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:45:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:45:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785118326000,"timestamp_ms":1785118326000,"timestamp_seconds":1785118326,"priority":1,"record_length":96,"hex_timestamp":"0000019fa157fcf0"} 
[2026-07-27 07:45:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:45:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 07:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 07:45:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:45:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:45:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:45:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:45:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:45:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:45:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:45:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:45:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:45:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:45:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990214400001,"66":25343,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 07:45:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:45:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:45:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990214400001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:45:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 07:45:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:45:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:45:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:45:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990214400001,"power":25343,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:45:38] local.INFO: DEBUG: GPS processor result {"connection_id":142752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:45:38] local.INFO: GPS data processed {"connection_id":142752,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:45:38] local.INFO: Acknowledgment sent {"connection_id":142752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:46:03] local.INFO: TCP Data received {"connection_id":143721,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019fa15a2b88012d7e0fc005e0c6b80004015623..."} 
[2026-07-27 07:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa15a2b88012d7e0fc005e0c6b80004015623..."} 
[2026-07-27 07:46:03] local.INFO: Processing buffer {"connection_id":143721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa15a2b88012d7e0fc005e0c6b80004015623..."} 
[2026-07-27 07:46:03] local.INFO: Packet analysis {"connection_id":143721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa15a"} 
[2026-07-27 07:46:03] local.INFO: Extracted packet for processing {"connection_id":143721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa15a"} 
[2026-07-27 07:46:03] local.INFO: GPS Element Parsed {"raw_longitude":763236288,"raw_latitude":98617016,"longitude_deg":76.3236288,"latitude_deg":9.8617016,"altitude":4,"angle":342,"satellites":35,"speed":23,"hex_longitude":"2d7e0fc0","hex_latitude":"05e0c6b8","is_valid_coordinates":true} 
[2026-07-27 07:46:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:46:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990327552001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:46:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111479771703017472,"note":"Value kept but may cause issues"} 
[2026-07-27 07:46:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9084253054861242368,"note":"Value kept but may cause issues"} 
[2026-07-27 07:46:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:46:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785118469000,"timestamp_ms":1785118469000,"timestamp_seconds":1785118469,"priority":1,"record_length":96,"hex_timestamp":"0000019fa15a2b88"} 
[2026-07-27 07:46:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:46:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 07:46:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-27 07:46:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:46:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:46:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:46:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:46:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:46:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143721,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:46:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143721,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:46:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:46:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 07:46:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 07:46:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990327552001,"66":12428,"104":206,"85":15104,"24":23,"16":111479771703017472,"45":9084253054861242368},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,45]} 
[2026-07-27 07:46:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 07:46:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 07:46:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990327552001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:46:03] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-07-27 07:46:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 07:46:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111479771703017472,"km_value":111479771703017.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:46:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9084253054861242368,"description":"Unknown IO ID 45"} 
[2026-07-27 07:46:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990327552001,"power":12428,"unknown_104":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":9084253054861242368}} 
[2026-07-27 07:46:03] local.INFO: DEBUG: GPS processor result {"connection_id":143721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551798,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:46:03] local.INFO: GPS data processed {"connection_id":143721,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:46:03] local.INFO: Acknowledgment sent {"connection_id":143721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:46:09] local.INFO: TCP Data received {"connection_id":142752,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fa157fcf0012d7f980005afd7c0000c00062e..."} 
[2026-07-27 07:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa157fcf0012d7f980005afd7c0000c00062e..."} 
[2026-07-27 07:46:09] local.INFO: Processing buffer {"connection_id":142752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa157fcf0012d7f980005afd7c0000c00062e..."} 
[2026-07-27 07:46:09] local.INFO: Packet analysis {"connection_id":142752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa157"} 
[2026-07-27 07:46:09] local.INFO: Extracted packet for processing {"connection_id":142752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa157"} 
[2026-07-27 07:46:09] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":12,"angle":6,"satellites":46,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 07:46:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:46:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990214400001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:46:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:46:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:46:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:46:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785118326000,"timestamp_ms":1785118326000,"timestamp_seconds":1785118326,"priority":1,"record_length":96,"hex_timestamp":"0000019fa157fcf0"} 
[2026-07-27 07:46:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:46:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 07:46:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 07:46:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:46:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:46:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:46:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:46:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:46:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:46:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:46:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:46:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:46:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:46:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990214400001,"66":25343,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 07:46:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:46:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:46:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990214400001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:46:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 07:46:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:46:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:46:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:46:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990214400001,"power":25343,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:46:09] local.INFO: DEBUG: GPS processor result {"connection_id":142752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:46:09] local.INFO: GPS data processed {"connection_id":142752,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:46:09] local.INFO: Acknowledgment sent {"connection_id":142752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:46:35] local.INFO: TCP Data received {"connection_id":143721,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019fa15bc1c8012d7e2b0005e1ca580006000522..."} 
[2026-07-27 07:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa15bc1c8012d7e2b0005e1ca580006000522..."} 
[2026-07-27 07:46:35] local.INFO: Processing buffer {"connection_id":143721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa15bc1c8012d7e2b0005e1ca580006000522..."} 
[2026-07-27 07:46:35] local.INFO: Packet analysis {"connection_id":143721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa15b"} 
[2026-07-27 07:46:35] local.INFO: Extracted packet for processing {"connection_id":143721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa15b"} 
[2026-07-27 07:46:35] local.INFO: GPS Element Parsed {"raw_longitude":763243264,"raw_latitude":98683480,"longitude_deg":76.3243264,"latitude_deg":9.868348,"altitude":6,"angle":5,"satellites":34,"speed":31,"hex_longitude":"2d7e2b00","hex_latitude":"05e1ca58","is_valid_coordinates":true} 
[2026-07-27 07:46:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:46:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990353920001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:46:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111483113187573760,"note":"Value kept but may cause issues"} 
[2026-07-27 07:46:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9090938085574801408,"note":"Value kept but may cause issues"} 
[2026-07-27 07:46:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:46:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785118573000,"timestamp_ms":1785118573000,"timestamp_seconds":1785118573,"priority":1,"record_length":96,"hex_timestamp":"0000019fa15bc1c8"} 
[2026-07-27 07:46:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:46:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 07:46:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-07-27 07:46:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1749,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:46:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:46:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:46:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:46:35] local.INFO: Teltonika packet parsed successfully {"connection_id":143721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:46:35] local.INFO: Passing IMEI to GPS processor {"connection_id":143721,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:46:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":143721,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:46:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:46:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 07:46:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 07:46:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990353920001,"66":12982,"105":206,"85":15104,"24":31,"16":111483113187573760,"45":9090938085574801408},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,45]} 
[2026-07-27 07:46:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 07:46:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 07:46:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990353920001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:46:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-27 07:46:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 07:46:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111483113187573760,"km_value":111483113187573.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:46:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9090938085574801408,"description":"Unknown IO ID 45"} 
[2026-07-27 07:46:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990353920001,"power":12982,"unknown_105":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":9090938085574801408}} 
[2026-07-27 07:46:35] local.INFO: DEBUG: GPS processor result {"connection_id":143721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551800,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:46:35] local.INFO: GPS data processed {"connection_id":143721,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:46:35] local.INFO: Acknowledgment sent {"connection_id":143721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:46:38] local.INFO: TCP Data received {"connection_id":145041,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:46:38] local.INFO: Processing buffer {"connection_id":145041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:46:38] local.INFO: IMEI packet received {"connection_id":145041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 07:46:38] local.INFO: IMEI acknowledgment sent {"connection_id":145041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:46:43] local.INFO: TCP Data received {"connection_id":145041,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:46:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:46:43] local.INFO: Processing buffer {"connection_id":145041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:46:43] local.INFO: IMEI packet received {"connection_id":145041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 07:46:43] local.INFO: IMEI acknowledgment sent {"connection_id":145041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:46:43] local.INFO: TCP Data received {"connection_id":145041,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fa157fcf0012d7f980005afd7c0000c00062e..."} 
[2026-07-27 07:46:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa157fcf0012d7f980005afd7c0000c00062e..."} 
[2026-07-27 07:46:43] local.INFO: Processing buffer {"connection_id":145041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa157fcf0012d7f980005afd7c0000c00062e..."} 
[2026-07-27 07:46:43] local.INFO: Packet analysis {"connection_id":145041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa157"} 
[2026-07-27 07:46:43] local.INFO: Extracted packet for processing {"connection_id":145041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa157"} 
[2026-07-27 07:46:43] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":12,"angle":6,"satellites":46,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 07:46:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:46:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990214400001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:46:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:46:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:46:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:46:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785118326000,"timestamp_ms":1785118326000,"timestamp_seconds":1785118326,"priority":1,"record_length":96,"hex_timestamp":"0000019fa157fcf0"} 
[2026-07-27 07:46:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:46:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 07:46:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 07:46:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:46:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:46:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:46:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:46:43] local.INFO: Teltonika packet parsed successfully {"connection_id":145041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:46:43] local.INFO: Passing IMEI to GPS processor {"connection_id":145041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:46:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":145041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:46:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:46:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:46:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:46:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990214400001,"66":25343,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 07:46:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:46:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:46:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990214400001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:46:43] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 07:46:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:46:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:46:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:46:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990214400001,"power":25343,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:46:43] local.INFO: DEBUG: GPS processor result {"connection_id":145041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:46:43] local.INFO: GPS data processed {"connection_id":145041,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:46:43] local.INFO: Acknowledgment sent {"connection_id":145041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:46:48] local.INFO: TCP Data received {"connection_id":145041,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fa157fcf0012d7f980005afd7c0000c00062e..."} 
[2026-07-27 07:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa157fcf0012d7f980005afd7c0000c00062e..."} 
[2026-07-27 07:46:48] local.INFO: Processing buffer {"connection_id":145041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa157fcf0012d7f980005afd7c0000c00062e..."} 
[2026-07-27 07:46:48] local.INFO: Packet analysis {"connection_id":145041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa157"} 
[2026-07-27 07:46:48] local.INFO: Extracted packet for processing {"connection_id":145041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa157"} 
[2026-07-27 07:46:48] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":12,"angle":6,"satellites":46,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 07: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-07-27 07:46:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990214400001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:46:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:46:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:46:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:46:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785118326000,"timestamp_ms":1785118326000,"timestamp_seconds":1785118326,"priority":1,"record_length":96,"hex_timestamp":"0000019fa157fcf0"} 
[2026-07-27 07:46:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:46:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 07: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":31,"data_length":795,"current_offset":136} 
[2026-07-27 07:46:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07: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-07-27 07:46:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:46:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:46:48] local.INFO: Teltonika packet parsed successfully {"connection_id":145041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:46:48] local.INFO: Passing IMEI to GPS processor {"connection_id":145041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:46:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":145041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:46:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:46:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:46:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:46:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990214400001,"66":25343,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 07:46:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:46:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:46:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990214400001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:46:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 07:46:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:46:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:46:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:46:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990214400001,"power":25343,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:46:48] local.INFO: DEBUG: GPS processor result {"connection_id":145041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:46:48] local.INFO: GPS data processed {"connection_id":145041,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:46:48] local.INFO: Acknowledgment sent {"connection_id":145041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:47:06] local.INFO: TCP Data received {"connection_id":143721,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019fa15becc0012d7e2bc005e1ed680008000221..."} 
[2026-07-27 07:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa15becc0012d7e2bc005e1ed680008000221..."} 
[2026-07-27 07:47:06] local.INFO: Processing buffer {"connection_id":143721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa15becc0012d7e2bc005e1ed680008000221..."} 
[2026-07-27 07:47:06] local.INFO: Packet analysis {"connection_id":143721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa15b"} 
[2026-07-27 07:47:06] local.INFO: Extracted packet for processing {"connection_id":143721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa15b"} 
[2026-07-27 07:47:06] local.INFO: GPS Element Parsed {"raw_longitude":763243456,"raw_latitude":98692456,"longitude_deg":76.3243456,"latitude_deg":9.8692456,"altitude":8,"angle":2,"satellites":33,"speed":31,"hex_longitude":"2d7e2bc0","hex_latitude":"05e1ed68","is_valid_coordinates":true} 
[2026-07-27 07:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:47:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990354688001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:47:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111483546979270656,"note":"Value kept but may cause issues"} 
[2026-07-27 07:47:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9091360298040449024,"note":"Value kept but may cause issues"} 
[2026-07-27 07:47:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:47:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785118584000,"timestamp_ms":1785118584000,"timestamp_seconds":1785118584,"priority":1,"record_length":96,"hex_timestamp":"0000019fa15becc0"} 
[2026-07-27 07:47:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:47:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 07:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-27 07:47:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:47:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:47:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:47:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:47:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:47:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143721,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:47:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143721,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:47:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:47:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 07:47:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 07:47:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990354688001,"66":12765,"60":206,"85":15104,"24":31,"16":111483546979270656,"45":9091360298040449024},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,85,24,16,45]} 
[2026-07-27 07:47:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 07:47:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 07:47:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990354688001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:47:06] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-07-27 07:47:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 07:47:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111483546979270656,"km_value":111483546979270.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:47:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9091360298040449024,"description":"Unknown IO ID 45"} 
[2026-07-27 07:47:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990354688001,"power":12765,"unknown_60":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":9091360298040449024}} 
[2026-07-27 07:47:06] local.INFO: DEBUG: GPS processor result {"connection_id":143721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551803,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:47:06] local.INFO: GPS data processed {"connection_id":143721,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:47:06] local.INFO: Acknowledgment sent {"connection_id":143721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:47:15] local.INFO: TCP Data received {"connection_id":142753,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 07:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142753,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 07:47:15] local.INFO: Processing buffer {"connection_id":142753,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 07:47:15] local.INFO: IMEI packet received {"connection_id":142753,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 07:47:15] local.INFO: IMEI acknowledgment sent {"connection_id":142753,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:47:30] local.INFO: TCP Data received {"connection_id":143726,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143726,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:47:30] local.INFO: Processing buffer {"connection_id":143726,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:47:30] local.INFO: IMEI packet received {"connection_id":143726,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 07:47:30] local.INFO: IMEI acknowledgment sent {"connection_id":143726,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:47:34] local.INFO: TCP Data received {"connection_id":143727,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:47:34] local.INFO: Processing buffer {"connection_id":143727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:47:34] local.INFO: IMEI packet received {"connection_id":143727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 07:47:34] local.INFO: IMEI acknowledgment sent {"connection_id":143727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:47:35] local.INFO: TCP Data received {"connection_id":143726,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143726,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:47:35] local.INFO: Processing buffer {"connection_id":143726,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:47:35] local.INFO: IMEI packet received {"connection_id":143726,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 07:47:35] local.INFO: IMEI acknowledgment sent {"connection_id":143726,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:47:36] local.INFO: TCP Data received {"connection_id":143726,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019fa15cc398012d7dc2c005e1fc280003010623..."} 
[2026-07-27 07:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa15cc398012d7dc2c005e1fc280003010623..."} 
[2026-07-27 07:47:36] local.INFO: Processing buffer {"connection_id":143726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa15cc398012d7dc2c005e1fc280003010623..."} 
[2026-07-27 07:47:36] local.INFO: Packet analysis {"connection_id":143726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa15c"} 
[2026-07-27 07:47:36] local.INFO: Extracted packet for processing {"connection_id":143726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa15c"} 
[2026-07-27 07:47:36] local.INFO: GPS Element Parsed {"raw_longitude":763216576,"raw_latitude":98696232,"longitude_deg":76.3216576,"latitude_deg":9.8696232,"altitude":3,"angle":262,"satellites":35,"speed":45,"hex_longitude":"2d7dc2c0","hex_latitude":"05e1fc28","is_valid_coordinates":true} 
[2026-07-27 07:47:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:47:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990370304001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:47:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111485264966189056,"note":"Value kept but may cause issues"} 
[2026-07-27 07:47:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9067857137488869376,"note":"Value kept but may cause issues"} 
[2026-07-27 07:47:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:47:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785118639000,"timestamp_ms":1785118639000,"timestamp_seconds":1785118639,"priority":1,"record_length":96,"hex_timestamp":"0000019fa15cc398"} 
[2026-07-27 07:47:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:47:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 07:47:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-27 07:47:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303162828311975,"note":"Value kept but may cause issues"} 
[2026-07-27 07:47:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-27 07:47:36] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2707168160,"note":"Value kept but may cause issues"} 
[2026-07-27 07:47:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2805727438,"corrected_to":0} 
[2026-07-27 07:47:36] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2281778558,"note":"Value kept but may cause issues"} 
[2026-07-27 07:47:36] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3137392039,"note":"Value kept but may cause issues"} 
[2026-07-27 07:47:36] local.WARNING: Large IO value detected {"io_id":60,"raw_value":58077557095399449,"note":"Value kept but may cause issues"} 
[2026-07-27 07:47:36] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3792539648,"note":"Value kept but may cause issues"} 
[2026-07-27 07:47:36] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,61,85,24,241,157,16,19,159,140,45,64,17,2,34,10,66,18,133,35,113,1,240,101,227,161,226,4,205,30,31,37,168,239,51,60,5,8,25],"length":486,"final_offset":616,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2805727438,"validated":0}]} 
[2026-07-27 07:47:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216440113765941248,"timestamp_seconds":216440113765941.25,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 07:47:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:47:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:47:36] local.INFO: Teltonika packet parsed successfully {"connection_id":143726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:47:36] local.INFO: Passing IMEI to GPS processor {"connection_id":143726,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:47:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":143726,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:47:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:47:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 07:47:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 07:47:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990370304001,"66":12798,"61":206,"85":15104,"24":45,"16":111485264966189056,"45":9067857137488869376},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-07-27 07:47:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 07:47:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 07:47:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990370304001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:47:36] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-27 07:47:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 07:47:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111485264966189056,"km_value":111485264966189.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:47:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9067857137488869376,"description":"Unknown IO ID 45"} 
[2026-07-27 07:47:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990370304001,"power":12798,"unknown_61":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":9067857137488869376}} 
[2026-07-27 07:47:36] local.INFO: DEBUG: GPS processor result {"connection_id":143726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551804,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:47:36] local.INFO: GPS data processed {"connection_id":143726,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:47:36] local.INFO: Acknowledgment sent {"connection_id":143726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:47:38] local.INFO: TCP Data received {"connection_id":143727,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:47:38] local.INFO: Processing buffer {"connection_id":143727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:47:38] local.INFO: IMEI packet received {"connection_id":143727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 07:47:38] local.INFO: IMEI acknowledgment sent {"connection_id":143727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:47:38] local.INFO: TCP Data received {"connection_id":143727,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa157fcf0012d7f980005afd7c0000c00062e..."} 
[2026-07-27 07:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa157fcf0012d7f980005afd7c0000c00062e..."} 
[2026-07-27 07:47:38] local.INFO: Processing buffer {"connection_id":143727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa157fcf0012d7f980005afd7c0000c00062e..."} 
[2026-07-27 07:47:38] local.INFO: Packet analysis {"connection_id":143727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa157"} 
[2026-07-27 07:47:38] local.INFO: Extracted packet for processing {"connection_id":143727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa157"} 
[2026-07-27 07:47:38] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":12,"angle":6,"satellites":46,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 07:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:47:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990214400001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:47:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:47:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:47:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:47:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785118326000,"timestamp_ms":1785118326000,"timestamp_seconds":1785118326,"priority":1,"record_length":96,"hex_timestamp":"0000019fa157fcf0"} 
[2026-07-27 07:47:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:47:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 07:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 07:47:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:47:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:47:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:47:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:47:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:47:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:47:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:47:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:47:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:47:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:47:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990214400001,"66":25343,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 07:47:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:47:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:47:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990214400001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:47:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 07:47:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:47:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:47:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:47:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990214400001,"power":25343,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:47:38] local.INFO: DEBUG: GPS processor result {"connection_id":143727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:47:38] local.INFO: GPS data processed {"connection_id":143727,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:47:38] local.INFO: Acknowledgment sent {"connection_id":143727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:47:43] local.INFO: TCP Data received {"connection_id":143727,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa157fcf0012d7f980005afd7c0000c00062e..."} 
[2026-07-27 07:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa157fcf0012d7f980005afd7c0000c00062e..."} 
[2026-07-27 07:47:43] local.INFO: Processing buffer {"connection_id":143727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa157fcf0012d7f980005afd7c0000c00062e..."} 
[2026-07-27 07:47:43] local.INFO: Packet analysis {"connection_id":143727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa157"} 
[2026-07-27 07:47:43] local.INFO: Extracted packet for processing {"connection_id":143727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa157"} 
[2026-07-27 07:47:43] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":12,"angle":6,"satellites":46,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 07:47:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:47:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990214400001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:47:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:47:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:47:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:47:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785118326000,"timestamp_ms":1785118326000,"timestamp_seconds":1785118326,"priority":1,"record_length":96,"hex_timestamp":"0000019fa157fcf0"} 
[2026-07-27 07:47:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:47:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 07: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-07-27 07: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-07-27 07:47:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:47:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:47:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:47:43] local.INFO: Teltonika packet parsed successfully {"connection_id":143727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:47:43] local.INFO: Passing IMEI to GPS processor {"connection_id":143727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:47:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":143727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:47: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-07-27 07:47:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:47:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:47:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990214400001,"66":25343,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 07:47:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:47:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:47:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990214400001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:47:43] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 07:47:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:47:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:47:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:47:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990214400001,"power":25343,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:47:43] local.INFO: DEBUG: GPS processor result {"connection_id":143727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:47:43] local.INFO: GPS data processed {"connection_id":143727,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:47:43] local.INFO: Acknowledgment sent {"connection_id":143727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:47:45] local.INFO: TCP Data received {"connection_id":145042,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 07:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145042,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 07:47:45] local.INFO: Processing buffer {"connection_id":145042,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 07:47:45] local.INFO: IMEI packet received {"connection_id":145042,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 07:47:45] local.INFO: IMEI acknowledgment sent {"connection_id":145042,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:48:07] local.INFO: TCP Data received {"connection_id":143726,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019fa15ccb68012d7db98005e1fc800006011423..."} 
[2026-07-27 07:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa15ccb68012d7db98005e1fc800006011423..."} 
[2026-07-27 07:48:07] local.INFO: Processing buffer {"connection_id":143726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa15ccb68012d7db98005e1fc800006011423..."} 
[2026-07-27 07:48:07] local.INFO: Packet analysis {"connection_id":143726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa15c"} 
[2026-07-27 07:48:07] local.INFO: Extracted packet for processing {"connection_id":143726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa15c"} 
[2026-07-27 07:48:07] local.INFO: GPS Element Parsed {"raw_longitude":763214208,"raw_latitude":98696320,"longitude_deg":76.3214208,"latitude_deg":9.869632,"altitude":6,"angle":276,"satellites":35,"speed":45,"hex_longitude":"2d7db980","hex_latitude":"05e1fc80","is_valid_coordinates":true} 
[2026-07-27 07:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:48:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990371584001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:48:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111485380930306048,"note":"Value kept but may cause issues"} 
[2026-07-27 07:48:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9062016531721627648,"note":"Value kept but may cause issues"} 
[2026-07-27 07:48:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:48:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785118641000,"timestamp_ms":1785118641000,"timestamp_seconds":1785118641,"priority":1,"record_length":96,"hex_timestamp":"0000019fa15ccb68"} 
[2026-07-27 07:48:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:48:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 07:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-27 07:48:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:48:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:48:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:48:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:48:07] local.INFO: Teltonika packet parsed successfully {"connection_id":143726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:48:07] local.INFO: Passing IMEI to GPS processor {"connection_id":143726,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:48:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":143726,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:48:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:48:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 07:48:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 07:48:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990371584001,"66":13243,"61":206,"85":15104,"24":45,"16":111485380930306048,"45":9062016531721627648},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-07-27 07:48:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 07:48:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 07:48:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990371584001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:48:07] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-27 07:48:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 07:48:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111485380930306048,"km_value":111485380930306.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:48:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9062016531721627648,"description":"Unknown IO ID 45"} 
[2026-07-27 07:48:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990371584001,"power":13243,"unknown_61":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":9062016531721627648}} 
[2026-07-27 07:48:07] local.INFO: DEBUG: GPS processor result {"connection_id":143726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551807,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:48:07] local.INFO: GPS data processed {"connection_id":143726,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:48:07] local.INFO: Acknowledgment sent {"connection_id":143726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:48:14] local.INFO: TCP Data received {"connection_id":143727,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa15c94b8012d7f980005afd7c0000a000628..."} 
[2026-07-27 07:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa15c94b8012d7f980005afd7c0000a000628..."} 
[2026-07-27 07:48:14] local.INFO: Processing buffer {"connection_id":143727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa15c94b8012d7f980005afd7c0000a000628..."} 
[2026-07-27 07:48:14] local.INFO: Packet analysis {"connection_id":143727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa15c"} 
[2026-07-27 07:48:14] local.INFO: Extracted packet for processing {"connection_id":143727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa15c"} 
[2026-07-27 07:48:14] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 07: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-07-27 07:48:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990291456001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:48:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:48:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:48:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:48:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785118627000,"timestamp_ms":1785118627000,"timestamp_seconds":1785118627,"priority":1,"record_length":96,"hex_timestamp":"0000019fa15c94b8"} 
[2026-07-27 07:48:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:48:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 07: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-27 07:48:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07: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-07-27 07:48:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:48:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:48:14] local.INFO: Teltonika packet parsed successfully {"connection_id":143727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:48:14] local.INFO: Passing IMEI to GPS processor {"connection_id":143727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:48:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":143727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:48:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:48:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:48:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:48:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990291456001,"66":25375,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 07:48:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:48:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:48:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990291456001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:48:14] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 07:48:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:48:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:48:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:48:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990291456001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:48:14] local.INFO: DEBUG: GPS processor result {"connection_id":143727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:48:14] local.INFO: GPS data processed {"connection_id":143727,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:48:14] local.INFO: Acknowledgment sent {"connection_id":143727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:48:32] local.INFO: TCP Data received {"connection_id":143728,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:48:32] local.INFO: Processing buffer {"connection_id":143728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:48:32] local.INFO: IMEI packet received {"connection_id":143728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 07:48:32] local.INFO: IMEI acknowledgment sent {"connection_id":143728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:48:38] local.INFO: TCP Data received {"connection_id":143728,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:48:38] local.INFO: Processing buffer {"connection_id":143728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:48:38] local.INFO: IMEI packet received {"connection_id":143728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 07:48:38] local.INFO: IMEI acknowledgment sent {"connection_id":143728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:48:38] local.INFO: TCP Data received {"connection_id":143726,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019fa15cfe30012d7d960005e200780009011121..."} 
[2026-07-27 07:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa15cfe30012d7d960005e200780009011121..."} 
[2026-07-27 07:48:38] local.INFO: Processing buffer {"connection_id":143726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa15cfe30012d7d960005e200780009011121..."} 
[2026-07-27 07:48:38] local.INFO: Packet analysis {"connection_id":143726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa15c"} 
[2026-07-27 07:48:38] local.INFO: Extracted packet for processing {"connection_id":143726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa15c"} 
[2026-07-27 07:48:38] local.INFO: GPS Element Parsed {"raw_longitude":763205120,"raw_latitude":98697336,"longitude_deg":76.320512,"latitude_deg":9.8697336,"altitude":9,"angle":273,"satellites":33,"speed":17,"hex_longitude":"2d7d9600","hex_latitude":"05e20078","is_valid_coordinates":true} 
[2026-07-27 07:48:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:48:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990372096001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:48:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111485814722002944,"note":"Value kept but may cause issues"} 
[2026-07-27 07:48:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9059412888187076608,"note":"Value kept but may cause issues"} 
[2026-07-27 07:48:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:48:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785118654000,"timestamp_ms":1785118654000,"timestamp_seconds":1785118654,"priority":1,"record_length":96,"hex_timestamp":"0000019fa15cfe30"} 
[2026-07-27 07:48:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:48:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 07:48:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-27 07:48:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:48:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:48:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:48:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:48:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:48:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143726,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:48:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143726,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:48:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:48:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 07:48:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 07:48:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990372096001,"66":12917,"61":206,"85":15104,"24":17,"16":111485814722002944,"45":9059412888187076608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-07-27 07:48:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 07:48:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 07:48:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990372096001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:48:38] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-27 07:48:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 07:48:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111485814722002944,"km_value":111485814722002.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:48:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9059412888187076608,"description":"Unknown IO ID 45"} 
[2026-07-27 07:48:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990372096001,"power":12917,"unknown_61":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":9059412888187076608}} 
[2026-07-27 07:48:38] local.INFO: DEBUG: GPS processor result {"connection_id":143726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551809,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:48:38] local.INFO: GPS data processed {"connection_id":143726,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:48:38] local.INFO: Acknowledgment sent {"connection_id":143726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:48:39] local.INFO: TCP Data received {"connection_id":143728,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fa15c94b8012d7f980005afd7c0000a000628..."} 
[2026-07-27 07:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143728,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa15c94b8012d7f980005afd7c0000a000628..."} 
[2026-07-27 07:48:39] local.INFO: Processing buffer {"connection_id":143728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa15c94b8012d7f980005afd7c0000a000628..."} 
[2026-07-27 07:48:39] local.INFO: Packet analysis {"connection_id":143728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa15c"} 
[2026-07-27 07:48:39] local.INFO: Extracted packet for processing {"connection_id":143728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa15c"} 
[2026-07-27 07:48:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 07:48:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:48:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990291456001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:48:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:48:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:48:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:48:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785118627000,"timestamp_ms":1785118627000,"timestamp_seconds":1785118627,"priority":1,"record_length":96,"hex_timestamp":"0000019fa15c94b8"} 
[2026-07-27 07:48:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:48:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 07: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-27 07:48:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:48:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:48:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:48:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:48:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:48:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:48:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:48:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:48:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:48:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:48:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990291456001,"66":25375,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 07:48:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:48:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:48:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990291456001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:48:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 07:48:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:48:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:48:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:48:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990291456001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:48:39] local.INFO: DEBUG: GPS processor result {"connection_id":143728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:48:39] local.INFO: GPS data processed {"connection_id":143728,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:48:39] local.INFO: Acknowledgment sent {"connection_id":143728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:49:10] local.INFO: TCP Data received {"connection_id":143728,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fa15c94b8012d7f980005afd7c0000a000628..."} 
[2026-07-27 07:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143728,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa15c94b8012d7f980005afd7c0000a000628..."} 
[2026-07-27 07:49:10] local.INFO: Processing buffer {"connection_id":143728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa15c94b8012d7f980005afd7c0000a000628..."} 
[2026-07-27 07:49:10] local.INFO: Packet analysis {"connection_id":143728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa15c"} 
[2026-07-27 07:49:10] local.INFO: Extracted packet for processing {"connection_id":143728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa15c"} 
[2026-07-27 07:49:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 07:49:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:49:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990291456001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:49:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:49:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:49:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:49:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785118627000,"timestamp_ms":1785118627000,"timestamp_seconds":1785118627,"priority":1,"record_length":96,"hex_timestamp":"0000019fa15c94b8"} 
[2026-07-27 07:49:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:49:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-27 07:49:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:49:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:49:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:49:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:49:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:49:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:49:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:49:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:49:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:49:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:49:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990291456001,"66":25375,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 07:49:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:49:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:49:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990291456001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:49:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 07:49:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:49:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:49:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:49:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990291456001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:49:10] local.INFO: DEBUG: GPS processor result {"connection_id":143728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:49:10] local.INFO: GPS data processed {"connection_id":143728,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:49:10] local.INFO: Acknowledgment sent {"connection_id":143728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:49:10] local.INFO: TCP Data received {"connection_id":143726,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019fa15d3cb0012d7d718005e20348000c011023..."} 
[2026-07-27 07:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa15d3cb0012d7d718005e20348000c011023..."} 
[2026-07-27 07:49:10] local.INFO: Processing buffer {"connection_id":143726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa15d3cb0012d7d718005e20348000c011023..."} 
[2026-07-27 07:49:10] local.INFO: Packet analysis {"connection_id":143726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa15d"} 
[2026-07-27 07:49:10] local.INFO: Extracted packet for processing {"connection_id":143726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa15d"} 
[2026-07-27 07:49:10] local.INFO: GPS Element Parsed {"raw_longitude":763195776,"raw_latitude":98698056,"longitude_deg":76.3195776,"latitude_deg":9.8698056,"altitude":12,"angle":272,"satellites":35,"speed":25,"hex_longitude":"2d7d7180","hex_latitude":"05e20348","is_valid_coordinates":true} 
[2026-07-27 07:49:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:49:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990375424001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:49:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111486261398601728,"note":"Value kept but may cause issues"} 
[2026-07-27 07:49:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9049420526514108416,"note":"Value kept but may cause issues"} 
[2026-07-27 07:49:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:49:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785118670000,"timestamp_ms":1785118670000,"timestamp_seconds":1785118670,"priority":1,"record_length":96,"hex_timestamp":"0000019fa15d3cb0"} 
[2026-07-27 07:49:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:49:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-27 07:49:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:49:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:49:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:49:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:49:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:49:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143726,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:49:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143726,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:49:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:49:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 07:49:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 07:49:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990375424001,"66":13102,"61":206,"85":15104,"24":25,"16":111486261398601728,"45":9049420526514108416},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-07-27 07:49:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 07:49:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 07:49:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990375424001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:49:10] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-27 07:49:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 07:49:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111486261398601728,"km_value":111486261398601.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:49:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9049420526514108416,"description":"Unknown IO ID 45"} 
[2026-07-27 07:49:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990375424001,"power":13102,"unknown_61":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":9049420526514108416}} 
[2026-07-27 07:49:10] local.INFO: DEBUG: GPS processor result {"connection_id":143726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551812,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:49:10] local.INFO: GPS data processed {"connection_id":143726,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:49:10] local.INFO: Acknowledgment sent {"connection_id":143726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:49:31] local.INFO: TCP Data received {"connection_id":145043,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145043,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:49:31] local.INFO: Processing buffer {"connection_id":145043,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:49:31] local.INFO: IMEI packet received {"connection_id":145043,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 07:49:31] local.INFO: IMEI acknowledgment sent {"connection_id":145043,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:49:32] local.INFO: TCP Data received {"connection_id":142632,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:49:32] local.INFO: Processing buffer {"connection_id":142632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:49:32] local.INFO: IMEI packet received {"connection_id":142632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 07:49:32] local.INFO: IMEI acknowledgment sent {"connection_id":142632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:49:38] local.INFO: TCP Data received {"connection_id":142632,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:49:38] local.INFO: Processing buffer {"connection_id":142632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:49:38] local.INFO: IMEI packet received {"connection_id":142632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 07:49:38] local.INFO: IMEI acknowledgment sent {"connection_id":142632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:49:38] local.INFO: TCP Data received {"connection_id":145043,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145043,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:49:38] local.INFO: Processing buffer {"connection_id":145043,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:49:38] local.INFO: IMEI packet received {"connection_id":145043,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 07:49:38] local.INFO: IMEI acknowledgment sent {"connection_id":145043,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:49:39] local.INFO: TCP Data received {"connection_id":142632,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fa15c94b8012d7f980005afd7c0000a000628..."} 
[2026-07-27 07:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa15c94b8012d7f980005afd7c0000a000628..."} 
[2026-07-27 07:49:39] local.INFO: Processing buffer {"connection_id":142632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa15c94b8012d7f980005afd7c0000a000628..."} 
[2026-07-27 07:49:39] local.INFO: Packet analysis {"connection_id":142632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa15c"} 
[2026-07-27 07:49:39] local.INFO: Extracted packet for processing {"connection_id":142632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa15c"} 
[2026-07-27 07:49:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 07:49:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:49:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990291456001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:49:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:49:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:49:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:49:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785118627000,"timestamp_ms":1785118627000,"timestamp_seconds":1785118627,"priority":1,"record_length":96,"hex_timestamp":"0000019fa15c94b8"} 
[2026-07-27 07:49:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:49:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 07: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-27 07:49:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:49:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:49:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:49:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:49:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:49:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:49:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:49:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:49:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:49:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:49:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990291456001,"66":25375,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 07:49:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:49:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:49:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990291456001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:49:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 07:49:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:49:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:49:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:49:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990291456001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:49:39] local.INFO: DEBUG: GPS processor result {"connection_id":142632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:49:39] local.INFO: GPS data processed {"connection_id":142632,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:49:39] local.INFO: Acknowledgment sent {"connection_id":142632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:49:43] local.INFO: TCP Data received {"connection_id":145043,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145043,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:49:43] local.INFO: Processing buffer {"connection_id":145043,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:49:43] local.INFO: IMEI packet received {"connection_id":145043,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 07:49:43] local.INFO: IMEI acknowledgment sent {"connection_id":145043,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:49:44] local.INFO: TCP Data received {"connection_id":145043,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019fa15eb798012d7c604005e211b8000500f621..."} 
[2026-07-27 07:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa15eb798012d7c604005e211b8000500f621..."} 
[2026-07-27 07:49:44] local.INFO: Processing buffer {"connection_id":145043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa15eb798012d7c604005e211b8000500f621..."} 
[2026-07-27 07:49:44] local.INFO: Packet analysis {"connection_id":145043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa15e"} 
[2026-07-27 07:49:44] local.INFO: Extracted packet for processing {"connection_id":145043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa15e"} 
[2026-07-27 07:49:44] local.INFO: GPS Element Parsed {"raw_longitude":763125824,"raw_latitude":98701752,"longitude_deg":76.3125824,"latitude_deg":9.8701752,"altitude":5,"angle":246,"satellites":33,"speed":18,"hex_longitude":"2d7c6040","hex_latitude":"05e211b8","is_valid_coordinates":true} 
[2026-07-27 07:49:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:49:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990404096001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:49:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111489637242896384,"note":"Value kept but may cause issues"} 
[2026-07-27 07:49:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8962726233688406016,"note":"Value kept but may cause issues"} 
[2026-07-27 07:49:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:49:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785118767000,"timestamp_ms":1785118767000,"timestamp_seconds":1785118767,"priority":1,"record_length":96,"hex_timestamp":"0000019fa15eb798"} 
[2026-07-27 07:49:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:49:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 07:49:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-27 07:49:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:49:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:49:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:49:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:49:44] local.INFO: Teltonika packet parsed successfully {"connection_id":145043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:49:44] local.INFO: Passing IMEI to GPS processor {"connection_id":145043,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:49:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":145043,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:49:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:49:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 07:49:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 07:49:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990404096001,"66":13091,"61":206,"85":15104,"24":18,"16":111489637242896384,"45":8962726233688406016},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-07-27 07:49:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 07:49:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 07:49:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990404096001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:49:44] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-27 07:49:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 07:49:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111489637242896384,"km_value":111489637242896.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:49:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8962726233688406016,"description":"Unknown IO ID 45"} 
[2026-07-27 07:49:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990404096001,"power":13091,"unknown_61":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":8962726233688406016}} 
[2026-07-27 07:49:44] local.INFO: DEBUG: GPS processor result {"connection_id":145043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551814,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:49:44] local.INFO: GPS data processed {"connection_id":145043,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:49:44] local.INFO: Acknowledgment sent {"connection_id":145043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:49:47] local.INFO: TCP Data received {"connection_id":145043,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019fa15ebf68012d7c5d4005e20fc0000500e720..."} 
[2026-07-27 07:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa15ebf68012d7c5d4005e20fc0000500e720..."} 
[2026-07-27 07:49:47] local.INFO: Processing buffer {"connection_id":145043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa15ebf68012d7c5d4005e20fc0000500e720..."} 
[2026-07-27 07:49:47] local.INFO: Packet analysis {"connection_id":145043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa15e"} 
[2026-07-27 07:49:47] local.INFO: Extracted packet for processing {"connection_id":145043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa15e"} 
[2026-07-27 07:49:47] local.INFO: GPS Element Parsed {"raw_longitude":763125056,"raw_latitude":98701248,"longitude_deg":76.3125056,"latitude_deg":9.8701248,"altitude":5,"angle":231,"satellites":32,"speed":18,"hex_longitude":"2d7c5d40","hex_latitude":"05e20fc0","is_valid_coordinates":true} 
[2026-07-27 07:49:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:49:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990404352001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:49:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111489684487536640,"note":"Value kept but may cause issues"} 
[2026-07-27 07:49:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8962233652479113216,"note":"Value kept but may cause issues"} 
[2026-07-27 07:49:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:49:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785118769000,"timestamp_ms":1785118769000,"timestamp_seconds":1785118769,"priority":1,"record_length":96,"hex_timestamp":"0000019fa15ebf68"} 
[2026-07-27 07:49:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:49: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-07-27 07:49:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-27 07:49:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:49:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:49:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:49:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:49:47] local.INFO: Teltonika packet parsed successfully {"connection_id":145043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:49:47] local.INFO: Passing IMEI to GPS processor {"connection_id":145043,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:49:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":145043,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:49:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:49:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 07:49:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 07:49:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990404352001,"66":13059,"61":206,"85":15104,"24":18,"16":111489684487536640,"45":8962233652479113216},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-07-27 07:49:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 07:49:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 07:49:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990404352001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:49:47] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-27 07:49:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 07:49:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111489684487536640,"km_value":111489684487536.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:49:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8962233652479113216,"description":"Unknown IO ID 45"} 
[2026-07-27 07:49:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990404352001,"power":13059,"unknown_61":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":8962233652479113216}} 
[2026-07-27 07:49:47] local.INFO: DEBUG: GPS processor result {"connection_id":145043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551815,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:49:47] local.INFO: GPS data processed {"connection_id":145043,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:49:47] local.INFO: Acknowledgment sent {"connection_id":145043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:50:10] local.INFO: TCP Data received {"connection_id":142632,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fa15c94b8012d7f980005afd7c0000a000628..."} 
[2026-07-27 07:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa15c94b8012d7f980005afd7c0000a000628..."} 
[2026-07-27 07:50:10] local.INFO: Processing buffer {"connection_id":142632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa15c94b8012d7f980005afd7c0000a000628..."} 
[2026-07-27 07:50:10] local.INFO: Packet analysis {"connection_id":142632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa15c"} 
[2026-07-27 07:50:10] local.INFO: Extracted packet for processing {"connection_id":142632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa15c"} 
[2026-07-27 07:50:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 07:50:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990291456001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:50:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:50:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:50:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:50:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785118627000,"timestamp_ms":1785118627000,"timestamp_seconds":1785118627,"priority":1,"record_length":96,"hex_timestamp":"0000019fa15c94b8"} 
[2026-07-27 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-07-27 07:50:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-27 07:50:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 07:50:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:50:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:50:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:50:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:50:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:50:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:50:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:50:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990291456001,"66":25375,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 07:50:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:50:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:50:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990291456001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:50:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 07:50:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:50:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:50:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:50:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990291456001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:50:10] local.INFO: DEBUG: GPS processor result {"connection_id":142632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:50:10] local.INFO: GPS data processed {"connection_id":142632,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:50:10] local.INFO: Acknowledgment sent {"connection_id":142632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:50:30] local.INFO: TCP Data received {"connection_id":145044,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145044,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:50:30] local.INFO: Processing buffer {"connection_id":145044,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:50:30] local.INFO: IMEI packet received {"connection_id":145044,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 07:50:30] local.INFO: IMEI acknowledgment sent {"connection_id":145044,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:50:32] local.INFO: TCP Data received {"connection_id":142756,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:50:32] local.INFO: Processing buffer {"connection_id":142756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:50:32] local.INFO: IMEI packet received {"connection_id":142756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 07:50:32] local.INFO: IMEI acknowledgment sent {"connection_id":142756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:50:33] local.INFO: TCP Data received {"connection_id":145044,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145044,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:50:33] local.INFO: Processing buffer {"connection_id":145044,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:50:33] local.INFO: IMEI packet received {"connection_id":145044,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 07:50:33] local.INFO: IMEI acknowledgment sent {"connection_id":145044,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:50:34] local.INFO: TCP Data received {"connection_id":145044,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019fa15f4c08012d7c334005e1ddc80004010d20..."} 
[2026-07-27 07:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa15f4c08012d7c334005e1ddc80004010d20..."} 
[2026-07-27 07:50:34] local.INFO: Processing buffer {"connection_id":145044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa15f4c08012d7c334005e1ddc80004010d20..."} 
[2026-07-27 07:50:34] local.INFO: Packet analysis {"connection_id":145044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa15f"} 
[2026-07-27 07:50:34] local.INFO: Extracted packet for processing {"connection_id":145044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa15f"} 
[2026-07-27 07:50:34] local.INFO: GPS Element Parsed {"raw_longitude":763114304,"raw_latitude":98688456,"longitude_deg":76.3114304,"latitude_deg":9.8688456,"altitude":4,"angle":269,"satellites":32,"speed":22,"hex_longitude":"2d7c3340","hex_latitude":"05e1ddc8","is_valid_coordinates":true} 
[2026-07-27 07:50:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:50:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990413824001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:50:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111490517711192064,"note":"Value kept but may cause issues"} 
[2026-07-27 07:50:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8950200597221339136,"note":"Value kept but may cause issues"} 
[2026-07-27 07:50:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:50:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785118805000,"timestamp_ms":1785118805000,"timestamp_seconds":1785118805,"priority":1,"record_length":96,"hex_timestamp":"0000019fa15f4c08"} 
[2026-07-27 07:50:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:50:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 07:50:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-27 07:50:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:50:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:50:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:50:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:50:34] local.INFO: Teltonika packet parsed successfully {"connection_id":145044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:50:34] local.INFO: Passing IMEI to GPS processor {"connection_id":145044,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:50:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":145044,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:50:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:50:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 07:50:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 07:50:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990413824001,"66":13059,"43":206,"85":15104,"24":22,"16":111490517711192064,"45":8950200597221339136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-07-27 07:50:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 07:50:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 07:50:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990413824001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:50:34] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-27 07:50:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 07:50:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111490517711192064,"km_value":111490517711192.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:50:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8950200597221339136,"description":"Unknown IO ID 45"} 
[2026-07-27 07:50:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990413824001,"power":13059,"unknown_43":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":8950200597221339136}} 
[2026-07-27 07:50:34] local.INFO: DEBUG: GPS processor result {"connection_id":145044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551817,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:50:34] local.INFO: GPS data processed {"connection_id":145044,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:50:34] local.INFO: Acknowledgment sent {"connection_id":145044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:50:38] local.INFO: TCP Data received {"connection_id":142756,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:50:38] local.INFO: Processing buffer {"connection_id":142756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:50:38] local.INFO: IMEI packet received {"connection_id":142756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 07:50:38] local.INFO: IMEI acknowledgment sent {"connection_id":142756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:50:38] local.INFO: TCP Data received {"connection_id":142756,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa15c94b8012d7f980005afd7c0000a000628..."} 
[2026-07-27 07:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142756,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa15c94b8012d7f980005afd7c0000a000628..."} 
[2026-07-27 07:50:38] local.INFO: Processing buffer {"connection_id":142756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa15c94b8012d7f980005afd7c0000a000628..."} 
[2026-07-27 07:50:38] local.INFO: Packet analysis {"connection_id":142756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa15c"} 
[2026-07-27 07:50:38] local.INFO: Extracted packet for processing {"connection_id":142756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa15c"} 
[2026-07-27 07:50:38] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 07:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:50:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990291456001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:50:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:50:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:50:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:50:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785118627000,"timestamp_ms":1785118627000,"timestamp_seconds":1785118627,"priority":1,"record_length":96,"hex_timestamp":"0000019fa15c94b8"} 
[2026-07-27 07:50:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:50:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 07:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-27 07:50:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:50:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:50:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:50:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:50:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:50:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:50:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:50:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:50:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:50:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:50:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990291456001,"66":25375,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 07:50:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:50:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:50:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990291456001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:50:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 07:50:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:50:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:50:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:50:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990291456001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:50:39] local.INFO: DEBUG: GPS processor result {"connection_id":142756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:50:39] local.INFO: GPS data processed {"connection_id":142756,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:50:39] local.INFO: Acknowledgment sent {"connection_id":142756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:51:05] local.INFO: TCP Data received {"connection_id":145044,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019fa15f82b8012d7c108005e1dc300003010422..."} 
[2026-07-27 07:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa15f82b8012d7c108005e1dc300003010422..."} 
[2026-07-27 07:51:05] local.INFO: Processing buffer {"connection_id":145044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa15f82b8012d7c108005e1dc300003010422..."} 
[2026-07-27 07:51:05] local.INFO: Packet analysis {"connection_id":145044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa15f"} 
[2026-07-27 07:51:05] local.INFO: Extracted packet for processing {"connection_id":145044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa15f"} 
[2026-07-27 07:51:05] local.INFO: GPS Element Parsed {"raw_longitude":763105408,"raw_latitude":98688048,"longitude_deg":76.3105408,"latitude_deg":9.8688048,"altitude":3,"angle":260,"satellites":34,"speed":25,"hex_longitude":"2d7c1080","hex_latitude":"05e1dc30","is_valid_coordinates":true} 
[2026-07-27 07:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:51:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990414080001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:51:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111490947207921664,"note":"Value kept but may cause issues"} 
[2026-07-27 07:51:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949567278523729920,"note":"Value kept but may cause issues"} 
[2026-07-27 07:51:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:51:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785118819000,"timestamp_ms":1785118819000,"timestamp_seconds":1785118819,"priority":1,"record_length":96,"hex_timestamp":"0000019fa15f82b8"} 
[2026-07-27 07:51:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:51:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 07:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-27 07:51:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303161721015719,"note":"Value kept but may cause issues"} 
[2026-07-27 07:51:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-27 07:51:05] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2707363160,"note":"Value kept but may cause issues"} 
[2026-07-27 07:51:05] local.WARNING: Large IO value detected {"io_id":23,"raw_value":4093640704,"note":"Value kept but may cause issues"} 
[2026-07-27 07:51:05] local.WARNING: Large IO value detected {"io_id":225,"raw_value":3798466564,"note":"Value kept but may cause issues"} 
[2026-07-27 07:51:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2812870862,"corrected_to":0} 
[2026-07-27 07:51:05] local.WARNING: Large IO value detected {"io_id":40,"raw_value":3758173564,"note":"Value kept but may cause issues"} 
[2026-07-27 07:51:05] local.WARNING: Large IO value detected {"io_id":61,"raw_value":3221610981,"note":"Value kept but may cause issues"} 
[2026-07-27 07:51:05] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3607154087,"note":"Value kept but may cause issues"} 
[2026-07-27 07:51:05] local.WARNING: Large IO value detected {"io_id":169,"raw_value":58077557095399441,"note":"Value kept but may cause issues"} 
[2026-07-27 07:51:05] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,43,85,24,241,157,16,159,72,45,128,221,4,33,10,66,64,192,223,34,23,60,1,240,166,227,161,225,113,205,14,40,61,136,239,50,169,2,140,5,17],"length":486,"final_offset":616,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2812870862,"validated":0}]} 
[2026-07-27 07:51:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288526282219978752,"timestamp_seconds":288526282219978.75,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 07:51:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:51:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:51:05] local.INFO: Teltonika packet parsed successfully {"connection_id":145044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:51:05] local.INFO: Passing IMEI to GPS processor {"connection_id":145044,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:51:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":145044,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:51:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:51:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 07:51:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 07:51:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990414080001,"66":12906,"43":206,"85":15104,"24":25,"16":111490947207921664,"45":8949567278523729920},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-07-27 07:51:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 07:51:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 07:51:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990414080001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:51:05] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-27 07:51:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 07:51:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111490947207921664,"km_value":111490947207921.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:51:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949567278523729920,"description":"Unknown IO ID 45"} 
[2026-07-27 07:51:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990414080001,"power":12906,"unknown_43":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":8949567278523729920}} 
[2026-07-27 07:51:05] local.INFO: DEBUG: GPS processor result {"connection_id":145044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551819,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:51:05] local.INFO: GPS data processed {"connection_id":145044,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:51:05] local.INFO: Acknowledgment sent {"connection_id":145044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:51:10] local.INFO: TCP Data received {"connection_id":142756,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa15c94b8012d7f980005afd7c0000a000628..."} 
[2026-07-27 07:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142756,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa15c94b8012d7f980005afd7c0000a000628..."} 
[2026-07-27 07:51:10] local.INFO: Processing buffer {"connection_id":142756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa15c94b8012d7f980005afd7c0000a000628..."} 
[2026-07-27 07:51:10] local.INFO: Packet analysis {"connection_id":142756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa15c"} 
[2026-07-27 07:51:10] local.INFO: Extracted packet for processing {"connection_id":142756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa15c"} 
[2026-07-27 07:51:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 07:51:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:51:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990291456001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:51:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:51:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:51:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:51:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785118627000,"timestamp_ms":1785118627000,"timestamp_seconds":1785118627,"priority":1,"record_length":96,"hex_timestamp":"0000019fa15c94b8"} 
[2026-07-27 07:51:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:51:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 07: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":255,"data_length":795,"current_offset":136} 
[2026-07-27 07:51:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:51:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:51:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:51:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:51:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:51:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:51:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:51:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:51:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:51:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:51:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990291456001,"66":25375,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 07:51:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:51:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:51:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990291456001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:51:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 07:51:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:51:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:51:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:51:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990291456001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:51:10] local.INFO: DEBUG: GPS processor result {"connection_id":142756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:51:10] local.INFO: GPS data processed {"connection_id":142756,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:51:10] local.INFO: Acknowledgment sent {"connection_id":142756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:51:30] local.INFO: TCP Data received {"connection_id":143729,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143729,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:51:30] local.INFO: Processing buffer {"connection_id":143729,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:51:30] local.INFO: IMEI packet received {"connection_id":143729,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 07:51:30] local.INFO: IMEI acknowledgment sent {"connection_id":143729,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:51:35] local.INFO: TCP Data received {"connection_id":143729,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143729,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:51:35] local.INFO: Processing buffer {"connection_id":143729,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:51:35] local.INFO: IMEI packet received {"connection_id":143729,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 07:51:35] local.INFO: IMEI acknowledgment sent {"connection_id":143729,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:51:37] local.INFO: TCP Data received {"connection_id":143729,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019fa15fb198012d7bf34005e1d8e00004011022..."} 
[2026-07-27 07:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa15fb198012d7bf34005e1d8e00004011022..."} 
[2026-07-27 07:51:37] local.INFO: Processing buffer {"connection_id":143729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa15fb198012d7bf34005e1d8e00004011022..."} 
[2026-07-27 07:51:37] local.INFO: Packet analysis {"connection_id":143729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa15f"} 
[2026-07-27 07:51:37] local.INFO: Extracted packet for processing {"connection_id":143729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa15f"} 
[2026-07-27 07:51:37] local.INFO: GPS Element Parsed {"raw_longitude":763097920,"raw_latitude":98687200,"longitude_deg":76.309792,"latitude_deg":9.86872,"altitude":4,"angle":272,"satellites":34,"speed":25,"hex_longitude":"2d7bf340","hex_latitude":"05e1d8e0","is_valid_coordinates":true} 
[2026-07-27 07:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:51:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990417664001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:51:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111491307985174528,"note":"Value kept but may cause issues"} 
[2026-07-27 07:51:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939786023082930176,"note":"Value kept but may cause issues"} 
[2026-07-27 07:51:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:51:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785118831000,"timestamp_ms":1785118831000,"timestamp_seconds":1785118831,"priority":1,"record_length":96,"hex_timestamp":"0000019fa15fb198"} 
[2026-07-27 07:51:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:51:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 07:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-07-27 07:51:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:51:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:51:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:51:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:51:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:51:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143729,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:51:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143729,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:51:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:51:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 07:51:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 07:51:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990417664001,"66":13059,"43":206,"85":15104,"24":25,"16":111491307985174528,"45":8939786023082930176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-07-27 07:51:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 07:51:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 07:51:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990417664001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:51:37] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-27 07:51:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 07:51:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111491307985174528,"km_value":111491307985174.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:51:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939786023082930176,"description":"Unknown IO ID 45"} 
[2026-07-27 07:51:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990417664001,"power":13059,"unknown_43":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":8939786023082930176}} 
[2026-07-27 07:51:37] local.INFO: DEBUG: GPS processor result {"connection_id":143729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551821,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:51:37] local.INFO: GPS data processed {"connection_id":143729,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:51:37] local.INFO: Acknowledgment sent {"connection_id":143729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:51:38] local.INFO: TCP Data received {"connection_id":143730,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:51:38] local.INFO: Processing buffer {"connection_id":143730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:51:38] local.INFO: IMEI packet received {"connection_id":143730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 07:51:38] local.INFO: IMEI acknowledgment sent {"connection_id":143730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:51:43] local.INFO: TCP Data received {"connection_id":143730,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:51:43] local.INFO: Processing buffer {"connection_id":143730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:51:43] local.INFO: IMEI packet received {"connection_id":143730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 07:51:43] local.INFO: IMEI acknowledgment sent {"connection_id":143730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:51:44] local.INFO: TCP Data received {"connection_id":143730,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fa15c94b8012d7f980005afd7c0000a000628..."} 
[2026-07-27 07:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa15c94b8012d7f980005afd7c0000a000628..."} 
[2026-07-27 07:51:44] local.INFO: Processing buffer {"connection_id":143730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa15c94b8012d7f980005afd7c0000a000628..."} 
[2026-07-27 07:51:44] local.INFO: Packet analysis {"connection_id":143730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa15c"} 
[2026-07-27 07:51:44] local.INFO: Extracted packet for processing {"connection_id":143730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa15c"} 
[2026-07-27 07:51:44] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 07:51:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:51:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990291456001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:51:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:51:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:51:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:51:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785118627000,"timestamp_ms":1785118627000,"timestamp_seconds":1785118627,"priority":1,"record_length":96,"hex_timestamp":"0000019fa15c94b8"} 
[2026-07-27 07:51:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:51:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 07:51:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-27 07:51:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:51:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:51:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:51:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:51:44] local.INFO: Teltonika packet parsed successfully {"connection_id":143730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:51:44] local.INFO: Passing IMEI to GPS processor {"connection_id":143730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:51:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":143730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:51:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:51:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:51:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:51:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990291456001,"66":25375,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 07:51:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:51:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:51:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990291456001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:51:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 07:51:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:51:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:51:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:51:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990291456001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:51:44] local.INFO: DEBUG: GPS processor result {"connection_id":143730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:51:44] local.INFO: GPS data processed {"connection_id":143730,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:51:44] local.INFO: Acknowledgment sent {"connection_id":143730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:51:48] local.INFO: TCP Data received {"connection_id":143730,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fa15c94b8012d7f980005afd7c0000a000628..."} 
[2026-07-27 07:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa15c94b8012d7f980005afd7c0000a000628..."} 
[2026-07-27 07:51:48] local.INFO: Processing buffer {"connection_id":143730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa15c94b8012d7f980005afd7c0000a000628..."} 
[2026-07-27 07:51:48] local.INFO: Packet analysis {"connection_id":143730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa15c"} 
[2026-07-27 07:51:48] local.INFO: Extracted packet for processing {"connection_id":143730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa15c"} 
[2026-07-27 07:51:48] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 07:51:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:51:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990291456001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:51:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:51:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:51:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:51:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785118627000,"timestamp_ms":1785118627000,"timestamp_seconds":1785118627,"priority":1,"record_length":96,"hex_timestamp":"0000019fa15c94b8"} 
[2026-07-27 07:51:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:51:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 07: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-27 07:51:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:51:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:51:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:51:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:51:48] local.INFO: Teltonika packet parsed successfully {"connection_id":143730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:51:48] local.INFO: Passing IMEI to GPS processor {"connection_id":143730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:51:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":143730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:51:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:51:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:51:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:51:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990291456001,"66":25375,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 07:51:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:51:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:51:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990291456001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:51:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 07:51:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:51:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:51:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:51:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990291456001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:51:48] local.INFO: DEBUG: GPS processor result {"connection_id":143730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:51:48] local.INFO: GPS data processed {"connection_id":143730,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:51:48] local.INFO: Acknowledgment sent {"connection_id":143730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:52:08] local.INFO: TCP Data received {"connection_id":143729,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019fa15fe848012d7bd30005e1dc90000500fc23..."} 
[2026-07-27 07:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa15fe848012d7bd30005e1dc90000500fc23..."} 
[2026-07-27 07:52:08] local.INFO: Processing buffer {"connection_id":143729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa15fe848012d7bd30005e1dc90000500fc23..."} 
[2026-07-27 07:52:08] local.INFO: Packet analysis {"connection_id":143729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa15f"} 
[2026-07-27 07:52:08] local.INFO: Extracted packet for processing {"connection_id":143729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa15f"} 
[2026-07-27 07:52:08] local.INFO: GPS Element Parsed {"raw_longitude":763089664,"raw_latitude":98688144,"longitude_deg":76.3089664,"latitude_deg":9.8688144,"altitude":5,"angle":252,"satellites":35,"speed":23,"hex_longitude":"2d7bd300","hex_latitude":"05e1dc90","is_valid_coordinates":true} 
[2026-07-27 07:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:52:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990420736001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:52:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111491707417133056,"note":"Value kept but may cause issues"} 
[2026-07-27 07:52:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8931552880013926400,"note":"Value kept but may cause issues"} 
[2026-07-27 07:52:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:52:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785118845000,"timestamp_ms":1785118845000,"timestamp_seconds":1785118845,"priority":1,"record_length":96,"hex_timestamp":"0000019fa15fe848"} 
[2026-07-27 07:52:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:52:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 07:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-27 07:52:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303163012861351,"note":"Value kept but may cause issues"} 
[2026-07-27 07:52:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-27 07:52:08] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2707371160,"note":"Value kept but may cause issues"} 
[2026-07-27 07:52:08] local.WARNING: Large IO value detected {"io_id":225,"raw_value":3743416324,"note":"Value kept but may cause issues"} 
[2026-07-27 07:52:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1311441102,"corrected_to":0} 
[2026-07-27 07:52:08] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2785070503,"note":"Value kept but may cause issues"} 
[2026-07-27 07:52:08] local.WARNING: Large IO value detected {"io_id":169,"raw_value":58077557095399438,"note":"Value kept but may cause issues"} 
[2026-07-27 07:52:08] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3789711360,"note":"Value kept but may cause issues"} 
[2026-07-27 07:52:08] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,43,85,24,241,157,16,159,130,45,128,220,3,34,10,66,76,64,221,4,32,72,1,240,63,227,161,225,113,205,60,58,8,239,51,169,2,140,5,14],"length":486,"final_offset":616,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1311441102,"validated":0}]} 
[2026-07-27 07:52:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288529589344993280,"timestamp_seconds":288529589344993.25,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 07:52:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:52:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:52:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:52:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143729,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:52:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143729,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:52:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:52:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 07:52:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 07:52:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990420736001,"66":12961,"43":206,"85":15104,"24":23,"16":111491707417133056,"45":8931552880013926400},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-07-27 07:52:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 07:52:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 07:52:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990420736001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:52:08] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-27 07:52:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 07:52:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111491707417133056,"km_value":111491707417133.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:52:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8931552880013926400,"description":"Unknown IO ID 45"} 
[2026-07-27 07:52:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990420736001,"power":12961,"unknown_43":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":8931552880013926400}} 
[2026-07-27 07:52:08] local.INFO: DEBUG: GPS processor result {"connection_id":143729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551824,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:52:08] local.INFO: GPS data processed {"connection_id":143729,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:52:08] local.INFO: Acknowledgment sent {"connection_id":143729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:52:30] local.INFO: TCP Data received {"connection_id":145046,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145046,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:52:30] local.INFO: Processing buffer {"connection_id":145046,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:52:30] local.INFO: IMEI packet received {"connection_id":145046,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 07:52:30] local.INFO: IMEI acknowledgment sent {"connection_id":145046,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:52:31] local.INFO: TCP Data received {"connection_id":145046,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145046,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:52:31] local.INFO: Processing buffer {"connection_id":145046,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:52:31] local.INFO: IMEI packet received {"connection_id":145046,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 07:52:31] local.INFO: IMEI acknowledgment sent {"connection_id":145046,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:52:32] local.INFO: TCP Data received {"connection_id":143731,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:52:32] local.INFO: Processing buffer {"connection_id":143731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:52:32] local.INFO: IMEI packet received {"connection_id":143731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 07:52:32] local.INFO: IMEI acknowledgment sent {"connection_id":143731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:52:35] local.INFO: TCP Data received {"connection_id":145046,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145046,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:52:35] local.INFO: Processing buffer {"connection_id":145046,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:52:35] local.INFO: IMEI packet received {"connection_id":145046,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 07:52:35] local.INFO: IMEI acknowledgment sent {"connection_id":145046,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:52:36] local.INFO: TCP Data received {"connection_id":145046,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1611510012d7b430005e1ae680009010e25..."} 
[2026-07-27 07:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1611510012d7b430005e1ae680009010e25..."} 
[2026-07-27 07:52:36] local.INFO: Processing buffer {"connection_id":145046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1611510012d7b430005e1ae680009010e25..."} 
[2026-07-27 07:52:36] local.INFO: Packet analysis {"connection_id":145046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa161"} 
[2026-07-27 07:52:36] local.INFO: Extracted packet for processing {"connection_id":145046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa161"} 
[2026-07-27 07:52:36] local.INFO: GPS Element Parsed {"raw_longitude":763052800,"raw_latitude":98676328,"longitude_deg":76.30528,"latitude_deg":9.8676328,"altitude":9,"angle":270,"satellites":37,"speed":8,"hex_longitude":"2d7b4300","hex_latitude":"05e1ae68","is_valid_coordinates":true} 
[2026-07-27 07:52:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:52:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990441216001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:52:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111493618677579776,"note":"Value kept but may cause issues"} 
[2026-07-27 07:52:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886868727458580480,"note":"Value kept but may cause issues"} 
[2026-07-27 07:52:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:52:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785118922000,"timestamp_ms":1785118922000,"timestamp_seconds":1785118922,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1611510"} 
[2026-07-27 07:52:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:52:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 07:52:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-27 07:52:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303158634007886,"note":"Value kept but may cause issues"} 
[2026-07-27 07:52:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-27 07:52:36] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2707436160,"note":"Value kept but may cause issues"} 
[2026-07-27 07:52:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":58077557095399453,"note":"Value kept but may cause issues"} 
[2026-07-27 07:52:36] local.WARNING: Large IO value detected {"io_id":225,"raw_value":3100639237,"note":"Value kept but may cause issues"} 
[2026-07-27 07:52:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1311572174,"corrected_to":0} 
[2026-07-27 07:52:36] local.WARNING: Large IO value detected {"io_id":131,"raw_value":3221610936,"note":"Value kept but may cause issues"} 
[2026-07-27 07:52:36] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,169,85,24,241,157,16,26,159,218,45,192,178,6,38,10,66,198,179,5,116,1,240,227,161,225,4,113,205,29,101,131,208,37,239,49,2,140],"length":486,"final_offset":616,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1311572174,"validated":0}]} 
[2026-07-27 07:52:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504688099281993728,"timestamp_seconds":504688099281993.75,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 07:52:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:52:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:52:36] local.INFO: Teltonika packet parsed successfully {"connection_id":145046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:52:36] local.INFO: Passing IMEI to GPS processor {"connection_id":145046,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:52:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":145046,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:52:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:52:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 07:52:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 07:52:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990441216001,"66":12939,"169":206,"85":15104,"24":8,"16":111493618677579776,"45":8886868727458580480},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-27 07:52:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 07:52:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 07:52:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990441216001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:52:36] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-27 07:52:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 07:52:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111493618677579776,"km_value":111493618677579.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:52:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886868727458580480,"description":"Unknown IO ID 45"} 
[2026-07-27 07:52:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990441216001,"power":12939,"unknown_169":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8886868727458580480}} 
[2026-07-27 07:52:36] local.INFO: DEBUG: GPS processor result {"connection_id":145046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551825,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:52:36] local.INFO: GPS data processed {"connection_id":145046,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:52:36] local.INFO: Acknowledgment sent {"connection_id":145046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:52:38] local.INFO: TCP Data received {"connection_id":143731,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:52:38] local.INFO: Processing buffer {"connection_id":143731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:52:38] local.INFO: IMEI packet received {"connection_id":143731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 07:52:38] local.INFO: IMEI acknowledgment sent {"connection_id":143731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:52:38] local.INFO: TCP Data received {"connection_id":143731,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fa15c94b8012d7f980005afd7c0000a000628..."} 
[2026-07-27 07:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa15c94b8012d7f980005afd7c0000a000628..."} 
[2026-07-27 07:52:38] local.INFO: Processing buffer {"connection_id":143731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa15c94b8012d7f980005afd7c0000a000628..."} 
[2026-07-27 07:52:38] local.INFO: Packet analysis {"connection_id":143731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa15c"} 
[2026-07-27 07:52:38] local.INFO: Extracted packet for processing {"connection_id":143731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa15c"} 
[2026-07-27 07:52:38] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 07:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:52:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990291456001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:52:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:52:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:52:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:52:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785118627000,"timestamp_ms":1785118627000,"timestamp_seconds":1785118627,"priority":1,"record_length":96,"hex_timestamp":"0000019fa15c94b8"} 
[2026-07-27 07:52:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:52:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 07:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-27 07:52:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:52:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:52:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:52:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:52:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:52:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:52:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:52:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:52:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:52:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:52:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990291456001,"66":25375,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 07:52:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:52:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:52:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990291456001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:52:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 07:52:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:52:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:52:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:52:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990291456001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:52:39] local.INFO: DEBUG: GPS processor result {"connection_id":143731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:52:39] local.INFO: GPS data processed {"connection_id":143731,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:52:39] local.INFO: Acknowledgment sent {"connection_id":143731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:53:07] local.INFO: TCP Data received {"connection_id":145046,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1612898012d7b408005e1aef0000a011c24..."} 
[2026-07-27 07:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1612898012d7b408005e1aef0000a011c24..."} 
[2026-07-27 07:53:07] local.INFO: Processing buffer {"connection_id":145046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1612898012d7b408005e1aef0000a011c24..."} 
[2026-07-27 07:53:07] local.INFO: Packet analysis {"connection_id":145046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa161"} 
[2026-07-27 07:53:07] local.INFO: Extracted packet for processing {"connection_id":145046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa161"} 
[2026-07-27 07:53:07] local.INFO: GPS Element Parsed {"raw_longitude":763052160,"raw_latitude":98676464,"longitude_deg":76.305216,"latitude_deg":9.8676464,"altitude":10,"angle":284,"satellites":36,"speed":6,"hex_longitude":"2d7b4080","hex_latitude":"05e1aef0","is_valid_coordinates":true} 
[2026-07-27 07:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:53:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990444032001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:53:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111493648742350848,"note":"Value kept but may cause issues"} 
[2026-07-27 07:53:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8881942915365890048,"note":"Value kept but may cause issues"} 
[2026-07-27 07:53:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:53:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785118927000,"timestamp_ms":1785118927000,"timestamp_seconds":1785118927,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1612898"} 
[2026-07-27 07:53:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:53:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 07:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-27 07:53:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07: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-07-27 07:53:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:53:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:53:07] local.INFO: Teltonika packet parsed successfully {"connection_id":145046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:53:07] local.INFO: Passing IMEI to GPS processor {"connection_id":145046,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:53:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":145046,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:53:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:53:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 07:53:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 07:53:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990444032001,"66":12961,"169":206,"85":15104,"24":6,"16":111493648742350848,"45":8881942915365890048},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-27 07:53:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 07:53:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 07:53:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990444032001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:53:07] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-27 07:53:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 07:53:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111493648742350848,"km_value":111493648742350.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:53:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8881942915365890048,"description":"Unknown IO ID 45"} 
[2026-07-27 07:53:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990444032001,"power":12961,"unknown_169":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8881942915365890048}} 
[2026-07-27 07:53:07] local.INFO: DEBUG: GPS processor result {"connection_id":145046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551827,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:53:07] local.INFO: GPS data processed {"connection_id":145046,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:53:07] local.INFO: Acknowledgment sent {"connection_id":145046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:53:09] local.INFO: TCP Data received {"connection_id":143731,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1612c80012d7f980005afd7c0000a000628..."} 
[2026-07-27 07:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1612c80012d7f980005afd7c0000a000628..."} 
[2026-07-27 07:53:09] local.INFO: Processing buffer {"connection_id":143731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1612c80012d7f980005afd7c0000a000628..."} 
[2026-07-27 07:53:09] local.INFO: Packet analysis {"connection_id":143731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa161"} 
[2026-07-27 07:53:09] local.INFO: Extracted packet for processing {"connection_id":143731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa161"} 
[2026-07-27 07:53:09] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 07:53:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:53:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990368512001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:53:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:53:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:53:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:53:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785118928000,"timestamp_ms":1785118928000,"timestamp_seconds":1785118928,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1612c80"} 
[2026-07-27 07:53:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:53:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 07:53:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 07:53:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:53:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:53:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:53:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:53:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:53:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:53:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:53:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:53:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:53:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:53:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990368512001,"66":25375,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 07:53:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:53:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:53:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990368512001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:53:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 07:53:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:53:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:53:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:53:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990368512001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:53:09] local.INFO: DEBUG: GPS processor result {"connection_id":143731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:53:09] local.INFO: GPS data processed {"connection_id":143731,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:53:09] local.INFO: Acknowledgment sent {"connection_id":143731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:53:10] local.INFO: TCP Data received {"connection_id":142634,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 07:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142634,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 07:53:10] local.INFO: Processing buffer {"connection_id":142634,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 07:53:10] local.INFO: IMEI packet received {"connection_id":142634,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 07:53:10] local.INFO: IMEI acknowledgment sent {"connection_id":142634,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:53:30] local.INFO: TCP Data received {"connection_id":145047,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145047,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:53:30] local.INFO: Processing buffer {"connection_id":145047,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:53:30] local.INFO: IMEI packet received {"connection_id":145047,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 07:53:30] local.INFO: IMEI acknowledgment sent {"connection_id":145047,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:53:32] local.INFO: TCP Data received {"connection_id":145048,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:53:32] local.INFO: Processing buffer {"connection_id":145048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:53:32] local.INFO: IMEI packet received {"connection_id":145048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 07:53:32] local.INFO: IMEI acknowledgment sent {"connection_id":145048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:53:35] local.INFO: TCP Data received {"connection_id":145047,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145047,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:53:35] local.INFO: Processing buffer {"connection_id":145047,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:53:35] local.INFO: IMEI packet received {"connection_id":145047,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 07:53:35] local.INFO: IMEI acknowledgment sent {"connection_id":145047,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:53:36] local.INFO: TCP Data received {"connection_id":145047,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1615f48012d7b3c8005e1b0a80009015e21..."} 
[2026-07-27 07:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1615f48012d7b3c8005e1b0a80009015e21..."} 
[2026-07-27 07:53:36] local.INFO: Processing buffer {"connection_id":145047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1615f48012d7b3c8005e1b0a80009015e21..."} 
[2026-07-27 07:53:36] local.INFO: Packet analysis {"connection_id":145047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa161"} 
[2026-07-27 07:53:36] local.INFO: Extracted packet for processing {"connection_id":145047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa161"} 
[2026-07-27 07:53:36] local.INFO: GPS Element Parsed {"raw_longitude":763051136,"raw_latitude":98676904,"longitude_deg":76.3051136,"latitude_deg":9.8676904,"altitude":9,"angle":350,"satellites":33,"speed":4,"hex_longitude":"2d7b3c80","hex_latitude":"05e1b0a8","is_valid_coordinates":true} 
[2026-07-27 07:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:53:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990445312001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:53:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111493713166860288,"note":"Value kept but may cause issues"} 
[2026-07-27 07:53:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8881239227924148224,"note":"Value kept but may cause issues"} 
[2026-07-27 07:53:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:53:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785118941000,"timestamp_ms":1785118941000,"timestamp_seconds":1785118941,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1615f48"} 
[2026-07-27 07:53:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:53:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 07:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-27 07:53:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:53:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:53:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:53:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:53:36] local.INFO: Teltonika packet parsed successfully {"connection_id":145047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:53:36] local.INFO: Passing IMEI to GPS processor {"connection_id":145047,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:53:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":145047,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:53:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:53:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 07:53:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 07:53:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990445312001,"66":13048,"169":206,"85":15104,"24":4,"16":111493713166860288,"45":8881239227924148224},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-27 07:53:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 07:53:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 07:53:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990445312001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:53:36] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-27 07:53:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 07:53:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111493713166860288,"km_value":111493713166860.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:53:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8881239227924148224,"description":"Unknown IO ID 45"} 
[2026-07-27 07:53:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990445312001,"power":13048,"unknown_169":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":8881239227924148224}} 
[2026-07-27 07:53:36] local.INFO: DEBUG: GPS processor result {"connection_id":145047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551829,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:53:36] local.INFO: GPS data processed {"connection_id":145047,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:53:36] local.INFO: Acknowledgment sent {"connection_id":145047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:53:38] local.INFO: TCP Data received {"connection_id":145048,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:53:38] local.INFO: Processing buffer {"connection_id":145048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:53:38] local.INFO: IMEI packet received {"connection_id":145048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 07:53:38] local.INFO: IMEI acknowledgment sent {"connection_id":145048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:53:38] local.INFO: TCP Data received {"connection_id":145048,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1612c80012d7f980005afd7c0000a000628..."} 
[2026-07-27 07:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145048,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1612c80012d7f980005afd7c0000a000628..."} 
[2026-07-27 07:53:38] local.INFO: Processing buffer {"connection_id":145048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1612c80012d7f980005afd7c0000a000628..."} 
[2026-07-27 07:53:38] local.INFO: Packet analysis {"connection_id":145048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa161"} 
[2026-07-27 07:53:38] local.INFO: Extracted packet for processing {"connection_id":145048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa161"} 
[2026-07-27 07:53:38] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 07:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:53:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990368512001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:53:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:53:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:53:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:53:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785118928000,"timestamp_ms":1785118928000,"timestamp_seconds":1785118928,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1612c80"} 
[2026-07-27 07:53:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:53:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 07:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 07:53:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:53:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:53:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:53:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:53:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:53:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:53:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:53:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:53:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:53:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:53:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990368512001,"66":25375,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 07:53:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:53:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:53:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990368512001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:53:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 07:53:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:53:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:53:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:53:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990368512001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:53:38] local.INFO: DEBUG: GPS processor result {"connection_id":145048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:53:38] local.INFO: GPS data processed {"connection_id":145048,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:53:38] local.INFO: Acknowledgment sent {"connection_id":145048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:53:45] local.INFO: TCP Data received {"connection_id":143732,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 07:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143732,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 07:53:45] local.INFO: Processing buffer {"connection_id":143732,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 07:53:45] local.INFO: IMEI packet received {"connection_id":143732,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 07:53:45] local.INFO: IMEI acknowledgment sent {"connection_id":143732,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:54:07] local.INFO: TCP Data received {"connection_id":145047,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1616b00012d7b3c4005e1b3980009000320..."} 
[2026-07-27 07:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1616b00012d7b3c4005e1b3980009000320..."} 
[2026-07-27 07:54:07] local.INFO: Processing buffer {"connection_id":145047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1616b00012d7b3c4005e1b3980009000320..."} 
[2026-07-27 07:54:07] local.INFO: Packet analysis {"connection_id":145047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa161"} 
[2026-07-27 07:54:07] local.INFO: Extracted packet for processing {"connection_id":145047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa161"} 
[2026-07-27 07:54:07] local.INFO: GPS Element Parsed {"raw_longitude":763051072,"raw_latitude":98677656,"longitude_deg":76.3051072,"latitude_deg":9.8677656,"altitude":9,"angle":3,"satellites":32,"speed":14,"hex_longitude":"2d7b3c40","hex_latitude":"05e1b398","is_valid_coordinates":true} 
[2026-07-27 07:54:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:54:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990448896001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:54:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111493751821565952,"note":"Value kept but may cause issues"} 
[2026-07-27 07:54:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880113328017418240,"note":"Value kept but may cause issues"} 
[2026-07-27 07:54:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:54:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785118944000,"timestamp_ms":1785118944000,"timestamp_seconds":1785118944,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1616b00"} 
[2026-07-27 07:54:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:54:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 07:54:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-27 07:54:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:54:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:54:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:54:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:54:07] local.INFO: Teltonika packet parsed successfully {"connection_id":145047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:54:07] local.INFO: Passing IMEI to GPS processor {"connection_id":145047,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:54:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":145047,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:54:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:54:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 07:54:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 07:54:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990448896001,"66":13254,"169":206,"85":15104,"24":14,"16":111493751821565952,"45":8880113328017418240},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-27 07:54:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 07:54:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 07:54:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990448896001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:54:07] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-27 07:54:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 07:54:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111493751821565952,"km_value":111493751821565.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:54:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880113328017418240,"description":"Unknown IO ID 45"} 
[2026-07-27 07:54:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990448896001,"power":13254,"unknown_169":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":8880113328017418240}} 
[2026-07-27 07:54:07] local.INFO: DEBUG: GPS processor result {"connection_id":145047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551831,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:54:07] local.INFO: GPS data processed {"connection_id":145047,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:54:07] local.INFO: Acknowledgment sent {"connection_id":145047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:54:09] local.INFO: TCP Data received {"connection_id":145048,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1612c80012d7f980005afd7c0000a000628..."} 
[2026-07-27 07:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145048,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1612c80012d7f980005afd7c0000a000628..."} 
[2026-07-27 07:54:09] local.INFO: Processing buffer {"connection_id":145048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1612c80012d7f980005afd7c0000a000628..."} 
[2026-07-27 07:54:09] local.INFO: Packet analysis {"connection_id":145048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa161"} 
[2026-07-27 07:54:09] local.INFO: Extracted packet for processing {"connection_id":145048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa161"} 
[2026-07-27 07:54:09] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 07:54:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:54:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990368512001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:54:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:54:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:54:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:54:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785118928000,"timestamp_ms":1785118928000,"timestamp_seconds":1785118928,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1612c80"} 
[2026-07-27 07:54:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:54:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 07:54:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 07:54:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:54:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:54:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:54:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:54:09] local.INFO: Teltonika packet parsed successfully {"connection_id":145048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:54:09] local.INFO: Passing IMEI to GPS processor {"connection_id":145048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:54:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":145048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:54:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:54:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:54:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:54:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990368512001,"66":25375,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 07:54:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:54:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:54:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990368512001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:54:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 07:54:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:54:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:54:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:54:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990368512001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:54:09] local.INFO: DEBUG: GPS processor result {"connection_id":145048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:54:09] local.INFO: GPS data processed {"connection_id":145048,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:54:09] local.INFO: Acknowledgment sent {"connection_id":145048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:54:29] local.INFO: TCP Data received {"connection_id":143733,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143733,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:54:29] local.INFO: Processing buffer {"connection_id":143733,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:54:29] local.INFO: IMEI packet received {"connection_id":143733,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 07:54:29] local.INFO: IMEI acknowledgment sent {"connection_id":143733,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:54:30] local.INFO: TCP Data received {"connection_id":143733,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143733,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:54:30] local.INFO: Processing buffer {"connection_id":143733,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:54:30] local.INFO: IMEI packet received {"connection_id":143733,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 07:54:30] local.INFO: IMEI acknowledgment sent {"connection_id":143733,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:54:32] local.INFO: TCP Data received {"connection_id":142757,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:54:32] local.INFO: Processing buffer {"connection_id":142757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:54:32] local.INFO: IMEI packet received {"connection_id":142757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 07:54:32] local.INFO: IMEI acknowledgment sent {"connection_id":142757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:54:35] local.INFO: TCP Data received {"connection_id":143733,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143733,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:54:35] local.INFO: Processing buffer {"connection_id":143733,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:54:35] local.INFO: IMEI packet received {"connection_id":143733,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 07:54:35] local.INFO: IMEI acknowledgment sent {"connection_id":143733,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:54:36] local.INFO: TCP Data received {"connection_id":143733,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1618270012d7b3b0005e1c108000901611f..."} 
[2026-07-27 07:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1618270012d7b3b0005e1c108000901611f..."} 
[2026-07-27 07:54:36] local.INFO: Processing buffer {"connection_id":143733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1618270012d7b3b0005e1c108000901611f..."} 
[2026-07-27 07:54:36] local.INFO: Packet analysis {"connection_id":143733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa161"} 
[2026-07-27 07:54:36] local.INFO: Extracted packet for processing {"connection_id":143733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa161"} 
[2026-07-27 07:54:36] local.INFO: GPS Element Parsed {"raw_longitude":763050752,"raw_latitude":98681096,"longitude_deg":76.3050752,"latitude_deg":9.8681096,"altitude":9,"angle":353,"satellites":31,"speed":28,"hex_longitude":"2d7b3b00","hex_latitude":"05e1c108","is_valid_coordinates":true} 
[2026-07-27 07:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:54:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990449664001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:54:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111493919325290496,"note":"Value kept but may cause issues"} 
[2026-07-27 07:54:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880042959273433088,"note":"Value kept but may cause issues"} 
[2026-07-27 07:54:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:54:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785118950000,"timestamp_ms":1785118950000,"timestamp_seconds":1785118950,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1618270"} 
[2026-07-27 07:54:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:54:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 07:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-27 07:54:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:54:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:54:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:54:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:54:36] local.INFO: Teltonika packet parsed successfully {"connection_id":143733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:54:36] local.INFO: Passing IMEI to GPS processor {"connection_id":143733,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:54:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":143733,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:54:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:54:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 07:54:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 07:54:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990449664001,"66":13048,"169":206,"85":15104,"24":28,"16":111493919325290496,"45":8880042959273433088},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-27 07:54:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 07:54:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 07:54:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990449664001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:54:36] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-27 07:54:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 07:54:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111493919325290496,"km_value":111493919325290.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:54:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880042959273433088,"description":"Unknown IO ID 45"} 
[2026-07-27 07:54:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990449664001,"power":13048,"unknown_169":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":8880042959273433088}} 
[2026-07-27 07:54:36] local.INFO: DEBUG: GPS processor result {"connection_id":143733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551833,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:54:36] local.INFO: GPS data processed {"connection_id":143733,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:54:36] local.INFO: Acknowledgment sent {"connection_id":143733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:54:38] local.INFO: TCP Data received {"connection_id":142757,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:54:38] local.INFO: Processing buffer {"connection_id":142757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:54:38] local.INFO: IMEI packet received {"connection_id":142757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 07:54:38] local.INFO: IMEI acknowledgment sent {"connection_id":142757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:54:38] local.INFO: TCP Data received {"connection_id":142757,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1612c80012d7f980005afd7c0000a000628..."} 
[2026-07-27 07:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1612c80012d7f980005afd7c0000a000628..."} 
[2026-07-27 07:54:38] local.INFO: Processing buffer {"connection_id":142757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1612c80012d7f980005afd7c0000a000628..."} 
[2026-07-27 07:54:38] local.INFO: Packet analysis {"connection_id":142757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa161"} 
[2026-07-27 07:54:38] local.INFO: Extracted packet for processing {"connection_id":142757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa161"} 
[2026-07-27 07:54:38] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 07:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:54:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990368512001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:54:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:54:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:54:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:54:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785118928000,"timestamp_ms":1785118928000,"timestamp_seconds":1785118928,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1612c80"} 
[2026-07-27 07:54:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:54:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 07:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 07:54:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:54:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:54:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:54:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:54:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:54:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:54:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:54:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:54:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:54:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:54:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990368512001,"66":25375,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 07:54:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:54:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:54:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990368512001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:54:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 07:54:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:54:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:54:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:54:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990368512001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:54:38] local.INFO: DEBUG: GPS processor result {"connection_id":142757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:54:38] local.INFO: GPS data processed {"connection_id":142757,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:54:38] local.INFO: Acknowledgment sent {"connection_id":142757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:55:07] local.INFO: TCP Data received {"connection_id":143733,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1634f60012d7b2e0005e210a80000000422..."} 
[2026-07-27 07:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1634f60012d7b2e0005e210a80000000422..."} 
[2026-07-27 07:55:07] local.INFO: Processing buffer {"connection_id":143733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1634f60012d7b2e0005e210a80000000422..."} 
[2026-07-27 07:55:07] local.INFO: Packet analysis {"connection_id":143733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa163"} 
[2026-07-27 07:55:07] local.INFO: Extracted packet for processing {"connection_id":143733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa163"} 
[2026-07-27 07:55:07] local.INFO: GPS Element Parsed {"raw_longitude":763047424,"raw_latitude":98701480,"longitude_deg":76.3047424,"latitude_deg":9.870148,"altitude":0,"angle":4,"satellites":34,"speed":5,"hex_longitude":"2d7b2e00","hex_latitude":"05e210a8","is_valid_coordinates":true} 
[2026-07-27 07:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:55:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990480128001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:55:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111494958707376128,"note":"Value kept but may cause issues"} 
[2026-07-27 07:55:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8876172678349543424,"note":"Value kept but may cause issues"} 
[2026-07-27 07:55:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:55:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785119068000,"timestamp_ms":1785119068000,"timestamp_seconds":1785119068,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1634f60"} 
[2026-07-27 07:55:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:55:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 07:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-27 07:55:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:55:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:55:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:55:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:55:07] local.INFO: Teltonika packet parsed successfully {"connection_id":143733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:55:07] local.INFO: Passing IMEI to GPS processor {"connection_id":143733,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:55:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":143733,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:55:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:55:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 07:55:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 07:55:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990480128001,"66":12993,"169":206,"85":15104,"24":5,"16":111494958707376128,"45":8876172678349543424},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-27 07:55:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 07:55:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 07:55:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990480128001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:55:07] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-27 07:55:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 07:55:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111494958707376128,"km_value":111494958707376.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:55:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8876172678349543424,"description":"Unknown IO ID 45"} 
[2026-07-27 07:55:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990480128001,"power":12993,"unknown_169":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8876172678349543424}} 
[2026-07-27 07:55:07] local.INFO: DEBUG: GPS processor result {"connection_id":143733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551835,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:55:07] local.INFO: GPS data processed {"connection_id":143733,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:55:07] local.INFO: Acknowledgment sent {"connection_id":143733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:55:09] local.INFO: TCP Data received {"connection_id":142757,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1612c80012d7f980005afd7c0000a000628..."} 
[2026-07-27 07:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1612c80012d7f980005afd7c0000a000628..."} 
[2026-07-27 07:55:09] local.INFO: Processing buffer {"connection_id":142757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1612c80012d7f980005afd7c0000a000628..."} 
[2026-07-27 07:55:09] local.INFO: Packet analysis {"connection_id":142757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa161"} 
[2026-07-27 07:55:09] local.INFO: Extracted packet for processing {"connection_id":142757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa161"} 
[2026-07-27 07:55:09] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 07:55:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:55:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990368512001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:55:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:55:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:55:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:55:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785118928000,"timestamp_ms":1785118928000,"timestamp_seconds":1785118928,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1612c80"} 
[2026-07-27 07:55:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:55:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 07: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":31,"data_length":795,"current_offset":136} 
[2026-07-27 07:55:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:55:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:55:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:55:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:55:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:55:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:55:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:55:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:55:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:55:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:55:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990368512001,"66":25375,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 07:55:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:55:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:55:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990368512001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:55:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 07:55:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:55:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:55:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:55:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990368512001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:55:09] local.INFO: DEBUG: GPS processor result {"connection_id":142757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:55:09] local.INFO: GPS data processed {"connection_id":142757,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:55:09] local.INFO: Acknowledgment sent {"connection_id":142757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:55:30] local.INFO: TCP Data received {"connection_id":142758,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142758,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:55:30] local.INFO: Processing buffer {"connection_id":142758,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:55:30] local.INFO: IMEI packet received {"connection_id":142758,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 07:55:30] local.INFO: IMEI acknowledgment sent {"connection_id":142758,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:55:32] local.INFO: TCP Data received {"connection_id":142758,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142758,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:55:32] local.INFO: Processing buffer {"connection_id":142758,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:55:32] local.INFO: IMEI packet received {"connection_id":142758,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 07:55:32] local.INFO: IMEI acknowledgment sent {"connection_id":142758,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:55:35] local.INFO: TCP Data received {"connection_id":142758,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142758,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:55:35] local.INFO: Processing buffer {"connection_id":142758,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:55:35] local.INFO: IMEI packet received {"connection_id":142758,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 07:55:35] local.INFO: IMEI acknowledgment sent {"connection_id":142758,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:55:36] local.INFO: TCP Data received {"connection_id":142758,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1637288012d7b2dc005e218780000016026..."} 
[2026-07-27 07:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1637288012d7b2dc005e218780000016026..."} 
[2026-07-27 07:55:36] local.INFO: Processing buffer {"connection_id":142758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1637288012d7b2dc005e218780000016026..."} 
[2026-07-27 07:55:36] local.INFO: Packet analysis {"connection_id":142758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa163"} 
[2026-07-27 07:55:36] local.INFO: Extracted packet for processing {"connection_id":142758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa163"} 
[2026-07-27 07:55:36] local.INFO: GPS Element Parsed {"raw_longitude":763047360,"raw_latitude":98703480,"longitude_deg":76.304736,"latitude_deg":9.870348,"altitude":0,"angle":352,"satellites":38,"speed":9,"hex_longitude":"2d7b2dc0","hex_latitude":"05e21878","is_valid_coordinates":true} 
[2026-07-27 07:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:55:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990481408001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:55:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111495057491623936,"note":"Value kept but may cause issues"} 
[2026-07-27 07:55:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8876031940861405184,"note":"Value kept but may cause issues"} 
[2026-07-27 07:55:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:55:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785119077000,"timestamp_ms":1785119077000,"timestamp_seconds":1785119077,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1637288"} 
[2026-07-27 07:55:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:55:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 07:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-07-27 07:55:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:55:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:55:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:55:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:55:36] local.INFO: Teltonika packet parsed successfully {"connection_id":142758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:55:36] local.INFO: Passing IMEI to GPS processor {"connection_id":142758,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:55:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":142758,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:55:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:55:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 07:55:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 07:55:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990481408001,"66":13091,"169":206,"85":15104,"24":9,"16":111495057491623936,"45":8876031940861405184},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-27 07:55:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 07:55:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 07:55:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990481408001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:55:36] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-27 07:55:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 07:55:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111495057491623936,"km_value":111495057491623.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:55:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8876031940861405184,"description":"Unknown IO ID 45"} 
[2026-07-27 07:55:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990481408001,"power":13091,"unknown_169":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8876031940861405184}} 
[2026-07-27 07:55:36] local.INFO: DEBUG: GPS processor result {"connection_id":142758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551837,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:55:36] local.INFO: GPS data processed {"connection_id":142758,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:55:36] local.INFO: Acknowledgment sent {"connection_id":142758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:55:38] local.INFO: TCP Data received {"connection_id":145049,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:55:38] local.INFO: Processing buffer {"connection_id":145049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:55:38] local.INFO: IMEI packet received {"connection_id":145049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 07:55:38] local.INFO: IMEI acknowledgment sent {"connection_id":145049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:55:43] local.INFO: TCP Data received {"connection_id":145049,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:55:43] local.INFO: Processing buffer {"connection_id":145049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:55:43] local.INFO: IMEI packet received {"connection_id":145049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 07:55:43] local.INFO: IMEI acknowledgment sent {"connection_id":145049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:55:43] local.INFO: TCP Data received {"connection_id":145049,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1612c80012d7f980005afd7c0000a000628..."} 
[2026-07-27 07:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1612c80012d7f980005afd7c0000a000628..."} 
[2026-07-27 07:55:43] local.INFO: Processing buffer {"connection_id":145049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1612c80012d7f980005afd7c0000a000628..."} 
[2026-07-27 07:55:43] local.INFO: Packet analysis {"connection_id":145049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa161"} 
[2026-07-27 07:55:43] local.INFO: Extracted packet for processing {"connection_id":145049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa161"} 
[2026-07-27 07:55:43] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 07:55:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:55:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990368512001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:55:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:55:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:55:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:55:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785118928000,"timestamp_ms":1785118928000,"timestamp_seconds":1785118928,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1612c80"} 
[2026-07-27 07:55:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:55:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 07:55:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 07:55:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:55:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:55:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:55:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:55:43] local.INFO: Teltonika packet parsed successfully {"connection_id":145049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:55:43] local.INFO: Passing IMEI to GPS processor {"connection_id":145049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:55:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":145049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:55: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-07-27 07:55:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:55:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:55:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990368512001,"66":25375,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 07:55:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:55:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:55:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990368512001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:55:43] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 07:55:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:55:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:55:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:55:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990368512001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:55:43] local.INFO: DEBUG: GPS processor result {"connection_id":145049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:55:43] local.INFO: GPS data processed {"connection_id":145049,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:55:43] local.INFO: Acknowledgment sent {"connection_id":145049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:55:48] local.INFO: TCP Data received {"connection_id":145049,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1612c80012d7f980005afd7c0000a000628..."} 
[2026-07-27 07:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1612c80012d7f980005afd7c0000a000628..."} 
[2026-07-27 07:55:48] local.INFO: Processing buffer {"connection_id":145049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1612c80012d7f980005afd7c0000a000628..."} 
[2026-07-27 07:55:48] local.INFO: Packet analysis {"connection_id":145049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa161"} 
[2026-07-27 07:55:48] local.INFO: Extracted packet for processing {"connection_id":145049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa161"} 
[2026-07-27 07:55:48] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 07: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-07-27 07:55:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990368512001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:55:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:55:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:55:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:55:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785118928000,"timestamp_ms":1785118928000,"timestamp_seconds":1785118928,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1612c80"} 
[2026-07-27 07:55:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:55:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 07: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 07:55:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07: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-07-27 07:55:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:55:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:55:48] local.INFO: Teltonika packet parsed successfully {"connection_id":145049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:55:48] local.INFO: Passing IMEI to GPS processor {"connection_id":145049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:55:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":145049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:55:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:55:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:55:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:55:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990368512001,"66":25375,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 07:55:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:55:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:55:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990368512001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:55:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 07:55:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:55:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:55:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:55:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990368512001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:55:48] local.INFO: DEBUG: GPS processor result {"connection_id":145049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:55:48] local.INFO: GPS data processed {"connection_id":145049,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:55:48] local.INFO: Acknowledgment sent {"connection_id":145049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:56:07] local.INFO: TCP Data received {"connection_id":142758,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019fa163c0a8012d7b2a0005e23c580004016227..."} 
[2026-07-27 07:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa163c0a8012d7b2a0005e23c580004016227..."} 
[2026-07-27 07:56:07] local.INFO: Processing buffer {"connection_id":142758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa163c0a8012d7b2a0005e23c580004016227..."} 
[2026-07-27 07:56:07] local.INFO: Packet analysis {"connection_id":142758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa163"} 
[2026-07-27 07:56:07] local.INFO: Extracted packet for processing {"connection_id":142758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa163"} 
[2026-07-27 07:56:07] local.INFO: GPS Element Parsed {"raw_longitude":763046400,"raw_latitude":98712664,"longitude_deg":76.30464,"latitude_deg":9.8712664,"altitude":4,"angle":354,"satellites":39,"speed":23,"hex_longitude":"2d7b2a00","hex_latitude":"05e23c58","is_valid_coordinates":true} 
[2026-07-27 07:56:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:56:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990483712001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:56:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111495508463190016,"note":"Value kept but may cause issues"} 
[2026-07-27 07:56:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8875961572117739520,"note":"Value kept but may cause issues"} 
[2026-07-27 07:56:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:56:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785119097000,"timestamp_ms":1785119097000,"timestamp_seconds":1785119097,"priority":1,"record_length":96,"hex_timestamp":"0000019fa163c0a8"} 
[2026-07-27 07:56:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:56:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 07:56:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-27 07:56:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:56:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:56:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:56:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:56:07] local.INFO: Teltonika packet parsed successfully {"connection_id":142758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:56:07] local.INFO: Passing IMEI to GPS processor {"connection_id":142758,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:56:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":142758,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:56:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:56:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 07:56:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 07:56:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990483712001,"66":13091,"169":206,"85":15104,"24":23,"16":111495508463190016,"45":8875961572117739520},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-27 07:56:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 07:56:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 07:56:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990483712001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:56:07] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-27 07:56:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 07:56:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111495508463190016,"km_value":111495508463190.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:56:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8875961572117739520,"description":"Unknown IO ID 45"} 
[2026-07-27 07:56:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990483712001,"power":13091,"unknown_169":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":8875961572117739520}} 
[2026-07-27 07:56:07] local.INFO: DEBUG: GPS processor result {"connection_id":142758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551840,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:56:07] local.INFO: GPS data processed {"connection_id":142758,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:56:07] local.INFO: Acknowledgment sent {"connection_id":142758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:56:30] local.INFO: TCP Data received {"connection_id":142636,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142636,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:56:30] local.INFO: Processing buffer {"connection_id":142636,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:56:30] local.INFO: IMEI packet received {"connection_id":142636,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 07:56:30] local.INFO: IMEI acknowledgment sent {"connection_id":142636,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:56:33] local.INFO: TCP Data received {"connection_id":143735,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:56:33] local.INFO: Processing buffer {"connection_id":143735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:56:33] local.INFO: IMEI packet received {"connection_id":143735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 07:56:33] local.INFO: IMEI acknowledgment sent {"connection_id":143735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:56:35] local.INFO: TCP Data received {"connection_id":142636,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142636,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:56:35] local.INFO: Processing buffer {"connection_id":142636,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:56:35] local.INFO: IMEI packet received {"connection_id":142636,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 07:56:35] local.INFO: IMEI acknowledgment sent {"connection_id":142636,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:56:36] local.INFO: TCP Data received {"connection_id":142636,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019fa163f758012d7b254005e26188000501641b..."} 
[2026-07-27 07:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa163f758012d7b254005e26188000501641b..."} 
[2026-07-27 07:56:36] local.INFO: Processing buffer {"connection_id":142636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa163f758012d7b254005e26188000501641b..."} 
[2026-07-27 07:56:36] local.INFO: Packet analysis {"connection_id":142636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa163"} 
[2026-07-27 07:56:36] local.INFO: Extracted packet for processing {"connection_id":142636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa163"} 
[2026-07-27 07:56:36] local.INFO: GPS Element Parsed {"raw_longitude":763045184,"raw_latitude":98722184,"longitude_deg":76.3045184,"latitude_deg":9.8722184,"altitude":5,"angle":356,"satellites":27,"speed":37,"hex_longitude":"2d7b2540","hex_latitude":"05e26188","is_valid_coordinates":true} 
[2026-07-27 07:56:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:56:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990488832001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:56:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111495972319657984,"note":"Value kept but may cause issues"} 
[2026-07-27 07:56:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8874906040957425664,"note":"Value kept but may cause issues"} 
[2026-07-27 07:56:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:56:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785119111000,"timestamp_ms":1785119111000,"timestamp_seconds":1785119111,"priority":1,"record_length":96,"hex_timestamp":"0000019fa163f758"} 
[2026-07-27 07:56:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:56:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 07:56:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-27 07:56:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:56:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:56:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:56:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:56:36] local.INFO: Teltonika packet parsed successfully {"connection_id":142636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:56:36] local.INFO: Passing IMEI to GPS processor {"connection_id":142636,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:56:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":142636,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:56:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:56:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 07:56:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 07:56:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990488832001,"66":13048,"96":206,"85":15104,"24":37,"16":111495972319657984,"45":8874906040957425664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-07-27 07:56:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 07:56:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 07:56:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990488832001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:56:36] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-27 07:56:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 07:56:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111495972319657984,"km_value":111495972319657.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:56:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8874906040957425664,"description":"Unknown IO ID 45"} 
[2026-07-27 07:56:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990488832001,"power":13048,"unknown_96":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":8874906040957425664}} 
[2026-07-27 07:56:36] local.INFO: DEBUG: GPS processor result {"connection_id":142636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551841,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:56:36] local.INFO: GPS data processed {"connection_id":142636,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:56:36] local.INFO: Acknowledgment sent {"connection_id":142636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:56:38] local.INFO: TCP Data received {"connection_id":143735,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:56:38] local.INFO: Processing buffer {"connection_id":143735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:56:38] local.INFO: IMEI packet received {"connection_id":143735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 07:56:38] local.INFO: IMEI acknowledgment sent {"connection_id":143735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:56:38] local.INFO: TCP Data received {"connection_id":143735,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1612c80012d7f980005afd7c0000a000628..."} 
[2026-07-27 07:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1612c80012d7f980005afd7c0000a000628..."} 
[2026-07-27 07:56:38] local.INFO: Processing buffer {"connection_id":143735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1612c80012d7f980005afd7c0000a000628..."} 
[2026-07-27 07:56:38] local.INFO: Packet analysis {"connection_id":143735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa161"} 
[2026-07-27 07:56:38] local.INFO: Extracted packet for processing {"connection_id":143735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa161"} 
[2026-07-27 07:56:38] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 07:56:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:56:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990368512001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:56:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:56:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:56:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:56:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785118928000,"timestamp_ms":1785118928000,"timestamp_seconds":1785118928,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1612c80"} 
[2026-07-27 07:56:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:56:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 07:56:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 07:56:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:56:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:56:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:56:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:56:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:56:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:56:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:56:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:56:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:56:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:56:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990368512001,"66":25375,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 07:56:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:56:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:56:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990368512001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:56:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 07:56:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:56:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:56:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:56:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990368512001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:56:38] local.INFO: DEBUG: GPS processor result {"connection_id":143735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:56:38] local.INFO: GPS data processed {"connection_id":143735,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:56:38] local.INFO: Acknowledgment sent {"connection_id":143735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:57:07] local.INFO: TCP Data received {"connection_id":142636,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1652420012d7b00c005e35a300005015922..."} 
[2026-07-27 07:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1652420012d7b00c005e35a300005015922..."} 
[2026-07-27 07:57:07] local.INFO: Processing buffer {"connection_id":142636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1652420012d7b00c005e35a300005015922..."} 
[2026-07-27 07:57:07] local.INFO: Packet analysis {"connection_id":142636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa165"} 
[2026-07-27 07:57:07] local.INFO: Extracted packet for processing {"connection_id":142636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa165"} 
[2026-07-27 07:57:07] local.INFO: GPS Element Parsed {"raw_longitude":763035840,"raw_latitude":98785840,"longitude_deg":76.303584,"latitude_deg":9.878584,"altitude":5,"angle":345,"satellites":34,"speed":28,"hex_longitude":"2d7b00c0","hex_latitude":"05e35a30","is_valid_coordinates":true} 
[2026-07-27 07:57:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:57:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990511104001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:57:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111499107645784064,"note":"Value kept but may cause issues"} 
[2026-07-27 07:57:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864421098093127680,"note":"Value kept but may cause issues"} 
[2026-07-27 07:57:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:57:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785119188000,"timestamp_ms":1785119188000,"timestamp_seconds":1785119188,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1652420"} 
[2026-07-27 07:57:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:57:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 07:57:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-27 07:57:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:57:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:57:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:57:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:57:07] local.INFO: Teltonika packet parsed successfully {"connection_id":142636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:57:07] local.INFO: Passing IMEI to GPS processor {"connection_id":142636,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:57:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":142636,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:57:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:57:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 07:57:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 07:57:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990511104001,"66":13048,"97":206,"85":15104,"24":28,"16":111499107645784064,"45":8864421098093127680},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-27 07:57:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 07:57:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 07:57:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990511104001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:57:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-27 07:57:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 07:57:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111499107645784064,"km_value":111499107645784.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:57:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864421098093127680,"description":"Unknown IO ID 45"} 
[2026-07-27 07:57:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990511104001,"power":13048,"unknown_97":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":8864421098093127680}} 
[2026-07-27 07:57:07] local.INFO: DEBUG: GPS processor result {"connection_id":142636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551843,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:57:07] local.INFO: GPS data processed {"connection_id":142636,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:57:07] local.INFO: Acknowledgment sent {"connection_id":142636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:57:09] local.INFO: TCP Data received {"connection_id":143735,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1612c80012d7f980005afd7c0000a000628..."} 
[2026-07-27 07:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1612c80012d7f980005afd7c0000a000628..."} 
[2026-07-27 07:57:09] local.INFO: Processing buffer {"connection_id":143735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1612c80012d7f980005afd7c0000a000628..."} 
[2026-07-27 07:57:09] local.INFO: Packet analysis {"connection_id":143735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa161"} 
[2026-07-27 07:57:09] local.INFO: Extracted packet for processing {"connection_id":143735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa161"} 
[2026-07-27 07:57:09] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 07:57:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:57:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990368512001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:57:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:57:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:57:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:57:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785118928000,"timestamp_ms":1785118928000,"timestamp_seconds":1785118928,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1612c80"} 
[2026-07-27 07:57:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:57:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 07:57:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 07:57:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:57:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:57:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:57:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:57:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:57:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:57:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:57:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:57:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:57:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:57:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990368512001,"66":25375,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 07:57:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:57:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:57:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990368512001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:57:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 07:57:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:57:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:57:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:57:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990368512001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:57:09] local.INFO: DEBUG: GPS processor result {"connection_id":143735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:57:09] local.INFO: GPS data processed {"connection_id":143735,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:57:09] local.INFO: Acknowledgment sent {"connection_id":143735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:57:33] local.INFO: TCP Data received {"connection_id":145050,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:57:33] local.INFO: Processing buffer {"connection_id":145050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:57:33] local.INFO: IMEI packet received {"connection_id":145050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 07:57:33] local.INFO: IMEI acknowledgment sent {"connection_id":145050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:57:33] local.INFO: TCP Data received {"connection_id":142760,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142760,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:57:33] local.INFO: Processing buffer {"connection_id":142760,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:57:33] local.INFO: IMEI packet received {"connection_id":142760,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 07:57:33] local.INFO: IMEI acknowledgment sent {"connection_id":142760,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:57:35] local.INFO: TCP Data received {"connection_id":142760,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142760,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:57:35] local.INFO: Processing buffer {"connection_id":142760,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:57:35] local.INFO: IMEI packet received {"connection_id":142760,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 07:57:35] local.INFO: IMEI acknowledgment sent {"connection_id":142760,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:57:38] local.INFO: TCP Data received {"connection_id":145050,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:57:38] local.INFO: Processing buffer {"connection_id":145050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:57:38] local.INFO: IMEI packet received {"connection_id":145050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 07:57:38] local.INFO: IMEI acknowledgment sent {"connection_id":145050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:57:38] local.INFO: TCP Data received {"connection_id":145050,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1612c80012d7f980005afd7c0000a000628..."} 
[2026-07-27 07:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145050,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1612c80012d7f980005afd7c0000a000628..."} 
[2026-07-27 07:57:38] local.INFO: Processing buffer {"connection_id":145050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1612c80012d7f980005afd7c0000a000628..."} 
[2026-07-27 07:57:38] local.INFO: Packet analysis {"connection_id":145050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa161"} 
[2026-07-27 07:57:38] local.INFO: Extracted packet for processing {"connection_id":145050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa161"} 
[2026-07-27 07:57:38] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":10,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 07:57:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:57:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990368512001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:57:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:57:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:57:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:57:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785118928000,"timestamp_ms":1785118928000,"timestamp_seconds":1785118928,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1612c80"} 
[2026-07-27 07:57:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:57:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 07:57:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 07:57:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:57:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:57:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:57:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:57:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:57:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:57:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:57:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:57:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:57:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:57:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990368512001,"66":25375,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 07:57:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:57:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:57:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990368512001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:57:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 07:57:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:57:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:57:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:57:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990368512001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:57:38] local.INFO: DEBUG: GPS processor result {"connection_id":145050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:57:38] local.INFO: GPS data processed {"connection_id":145050,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:57:38] local.INFO: Acknowledgment sent {"connection_id":145050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:57:40] local.INFO: TCP Data received {"connection_id":142760,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142760,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:57:40] local.INFO: Processing buffer {"connection_id":142760,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:57:40] local.INFO: IMEI packet received {"connection_id":142760,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 07:57:40] local.INFO: IMEI acknowledgment sent {"connection_id":142760,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:57:41] local.INFO: TCP Data received {"connection_id":142760,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1655ad0012d7af70005e37bf80005015826..."} 
[2026-07-27 07:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1655ad0012d7af70005e37bf80005015826..."} 
[2026-07-27 07:57:41] local.INFO: Processing buffer {"connection_id":142760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1655ad0012d7af70005e37bf80005015826..."} 
[2026-07-27 07:57:41] local.INFO: Packet analysis {"connection_id":142760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa165"} 
[2026-07-27 07:57:41] local.INFO: Extracted packet for processing {"connection_id":142760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa165"} 
[2026-07-27 07:57:41] local.INFO: GPS Element Parsed {"raw_longitude":763033344,"raw_latitude":98794488,"longitude_deg":76.3033344,"latitude_deg":9.8794488,"altitude":5,"angle":344,"satellites":38,"speed":20,"hex_longitude":"2d7af700","hex_latitude":"05e37bf8","is_valid_coordinates":true} 
[2026-07-27 07:57:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:57:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990512128001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:57:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111499545732448256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:57:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8863295198186844160,"note":"Value kept but may cause issues"} 
[2026-07-27 07:57:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:57:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785119202000,"timestamp_ms":1785119202000,"timestamp_seconds":1785119202,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1655ad0"} 
[2026-07-27 07:57:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:57:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 07: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-27 07:57:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:57:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:57:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:57:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:57:41] local.INFO: Teltonika packet parsed successfully {"connection_id":142760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:57:41] local.INFO: Passing IMEI to GPS processor {"connection_id":142760,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:57:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":142760,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:57:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:57:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 07:57:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 07:57:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990512128001,"66":12852,"97":206,"85":15104,"24":20,"16":111499545732448256,"45":8863295198186844160},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-27 07:57:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 07:57:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 07:57:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990512128001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:57:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-27 07:57:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 07:57:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111499545732448256,"km_value":111499545732448.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:57:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8863295198186844160,"description":"Unknown IO ID 45"} 
[2026-07-27 07:57:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990512128001,"power":12852,"unknown_97":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":8863295198186844160}} 
[2026-07-27 07:57:41] local.INFO: DEBUG: GPS processor result {"connection_id":142760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551846,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:57:41] local.INFO: GPS data processed {"connection_id":142760,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:57:41] local.INFO: Acknowledgment sent {"connection_id":142760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:58:09] local.INFO: TCP Data received {"connection_id":145050,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fa165c448012d7f980005afd7c0000d00062a..."} 
[2026-07-27 07:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145050,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa165c448012d7f980005afd7c0000d00062a..."} 
[2026-07-27 07:58:09] local.INFO: Processing buffer {"connection_id":145050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa165c448012d7f980005afd7c0000d00062a..."} 
[2026-07-27 07:58:09] local.INFO: Packet analysis {"connection_id":145050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa165"} 
[2026-07-27 07:58:09] local.INFO: Extracted packet for processing {"connection_id":145050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa165"} 
[2026-07-27 07:58:09] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":13,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 07:58:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:58:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990445568001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:58:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:58:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:58:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:58:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785119229000,"timestamp_ms":1785119229000,"timestamp_seconds":1785119229,"priority":1,"record_length":96,"hex_timestamp":"0000019fa165c448"} 
[2026-07-27 07:58:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:58:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 07:58:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 07: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-07-27 07:58:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:58:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:58:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:58:09] local.INFO: Teltonika packet parsed successfully {"connection_id":145050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:58:09] local.INFO: Passing IMEI to GPS processor {"connection_id":145050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:58:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":145050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:58:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:58:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:58:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:58:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990445568001,"66":25375,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 07:58:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:58:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:58:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990445568001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:58:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 07:58:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:58:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:58:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:58:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990445568001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:58:09] local.INFO: DEBUG: GPS processor result {"connection_id":145050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:58:09] local.INFO: GPS data processed {"connection_id":145050,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:58:09] local.INFO: Acknowledgment sent {"connection_id":145050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:58:12] local.INFO: TCP Data received {"connection_id":142760,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019fa165acd8012d7af38005e388c80006015726..."} 
[2026-07-27 07:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa165acd8012d7af38005e388c80006015726..."} 
[2026-07-27 07:58:12] local.INFO: Processing buffer {"connection_id":142760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa165acd8012d7af38005e388c80006015726..."} 
[2026-07-27 07:58:12] local.INFO: Packet analysis {"connection_id":142760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa165"} 
[2026-07-27 07:58:12] local.INFO: Extracted packet for processing {"connection_id":142760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa165"} 
[2026-07-27 07:58:12] local.INFO: GPS Element Parsed {"raw_longitude":763032448,"raw_latitude":98797768,"longitude_deg":76.3032448,"latitude_deg":9.8797768,"altitude":6,"angle":343,"satellites":38,"speed":11,"hex_longitude":"2d7af380","hex_latitude":"05e388c8","is_valid_coordinates":true} 
[2026-07-27 07:58:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:58:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990515712001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:58:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111499713236172800,"note":"Value kept but may cause issues"} 
[2026-07-27 07:58:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8860550817166129152,"note":"Value kept but may cause issues"} 
[2026-07-27 07:58:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:58:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785119223000,"timestamp_ms":1785119223000,"timestamp_seconds":1785119223,"priority":1,"record_length":96,"hex_timestamp":"0000019fa165acd8"} 
[2026-07-27 07:58:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:58:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 07:58:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-27 07:58:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":916,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:58:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:58:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:58:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:58:12] local.INFO: Teltonika packet parsed successfully {"connection_id":142760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:58:12] local.INFO: Passing IMEI to GPS processor {"connection_id":142760,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:58:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":142760,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:58:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:58:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 07:58:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 07:58:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990515712001,"66":12972,"97":206,"85":15104,"24":11,"16":111499713236172800,"45":8860550817166129152},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-27 07:58:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 07:58:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 07:58:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990515712001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:58:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-27 07:58:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 07:58:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111499713236172800,"km_value":111499713236172.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:58:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8860550817166129152,"description":"Unknown IO ID 45"} 
[2026-07-27 07:58:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990515712001,"power":12972,"unknown_97":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":8860550817166129152}} 
[2026-07-27 07:58:12] local.INFO: DEBUG: GPS processor result {"connection_id":142760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551848,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:58:12] local.INFO: GPS data processed {"connection_id":142760,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:58:12] local.INFO: Acknowledgment sent {"connection_id":142760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:58:30] local.INFO: TCP Data received {"connection_id":142638,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142638,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:58:30] local.INFO: Processing buffer {"connection_id":142638,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:58:30] local.INFO: IMEI packet received {"connection_id":142638,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 07:58:30] local.INFO: IMEI acknowledgment sent {"connection_id":142638,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:58:31] local.INFO: TCP Data received {"connection_id":142638,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142638,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:58:31] local.INFO: Processing buffer {"connection_id":142638,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:58:31] local.INFO: IMEI packet received {"connection_id":142638,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 07:58:31] local.INFO: IMEI acknowledgment sent {"connection_id":142638,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:58:32] local.INFO: TCP Data received {"connection_id":145051,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:58:32] local.INFO: Processing buffer {"connection_id":145051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:58:32] local.INFO: IMEI packet received {"connection_id":145051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 07:58:32] local.INFO: IMEI acknowledgment sent {"connection_id":145051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:58:35] local.INFO: TCP Data received {"connection_id":142638,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142638,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:58:35] local.INFO: Processing buffer {"connection_id":142638,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:58:35] local.INFO: IMEI packet received {"connection_id":142638,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 07:58:35] local.INFO: IMEI acknowledgment sent {"connection_id":142638,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:58:38] local.INFO: TCP Data received {"connection_id":145051,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:58:38] local.INFO: Processing buffer {"connection_id":145051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:58:38] local.INFO: IMEI packet received {"connection_id":145051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 07:58:38] local.INFO: IMEI acknowledgment sent {"connection_id":145051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:58:38] local.INFO: TCP Data received {"connection_id":145051,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa165c448012d7f980005afd7c0000d00062a..."} 
[2026-07-27 07:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145051,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa165c448012d7f980005afd7c0000d00062a..."} 
[2026-07-27 07:58:38] local.INFO: Processing buffer {"connection_id":145051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa165c448012d7f980005afd7c0000d00062a..."} 
[2026-07-27 07:58:38] local.INFO: Packet analysis {"connection_id":145051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa165"} 
[2026-07-27 07:58:38] local.INFO: Extracted packet for processing {"connection_id":145051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa165"} 
[2026-07-27 07:58:38] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":13,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 07:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:58:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990445568001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:58:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:58:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:58:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:58:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785119229000,"timestamp_ms":1785119229000,"timestamp_seconds":1785119229,"priority":1,"record_length":96,"hex_timestamp":"0000019fa165c448"} 
[2026-07-27 07:58:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:58:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 07:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 07:58:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:58:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:58:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:58:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:58:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:58:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:58:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:58:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:58:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:58:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:58:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990445568001,"66":25375,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 07:58:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:58:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:58:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990445568001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:58:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 07:58:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:58:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:58:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:58:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990445568001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:58:38] local.INFO: DEBUG: GPS processor result {"connection_id":145051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:58:38] local.INFO: GPS data processed {"connection_id":145051,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:58:38] local.INFO: Acknowledgment sent {"connection_id":145051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:58:45] local.INFO: TCP Data received {"connection_id":142638,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019fa165f710012d7ae80005e3aaa00008015426..."} 
[2026-07-27 07:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142638,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa165f710012d7ae80005e3aaa00008015426..."} 
[2026-07-27 07:58:45] local.INFO: Processing buffer {"connection_id":142638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa165f710012d7ae80005e3aaa00008015426..."} 
[2026-07-27 07:58:45] local.INFO: Packet analysis {"connection_id":142638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa165"} 
[2026-07-27 07:58:45] local.INFO: Extracted packet for processing {"connection_id":142638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa165"} 
[2026-07-27 07:58:45] local.INFO: GPS Element Parsed {"raw_longitude":763029504,"raw_latitude":98806432,"longitude_deg":76.3029504,"latitude_deg":9.8806432,"altitude":8,"angle":340,"satellites":38,"speed":33,"hex_longitude":"2d7ae800","hex_latitude":"05e3aaa0","is_valid_coordinates":true} 
[2026-07-27 07:58:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:58:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990521088001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:58:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111500159912771584,"note":"Value kept but may cause issues"} 
[2026-07-27 07:58:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8859565654748481536,"note":"Value kept but may cause issues"} 
[2026-07-27 07:58:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:58:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785119242000,"timestamp_ms":1785119242000,"timestamp_seconds":1785119242,"priority":1,"record_length":96,"hex_timestamp":"0000019fa165f710"} 
[2026-07-27 07:58:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:58:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 07:58:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-27 07:58:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:58:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:58:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:58:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:58:45] local.INFO: Teltonika packet parsed successfully {"connection_id":142638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:58:45] local.INFO: Passing IMEI to GPS processor {"connection_id":142638,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:58:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":142638,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:58:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:58:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 07:58:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 07:58:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990521088001,"66":13048,"97":206,"85":15104,"24":33,"16":111500159912771584,"45":8859565654748481536},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-27 07:58:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 07:58:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 07:58:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990521088001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:58:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-27 07:58:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 07:58:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111500159912771584,"km_value":111500159912771.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:58:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8859565654748481536,"description":"Unknown IO ID 45"} 
[2026-07-27 07:58:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990521088001,"power":13048,"unknown_97":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":8859565654748481536}} 
[2026-07-27 07:58:45] local.INFO: DEBUG: GPS processor result {"connection_id":142638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551850,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:58:45] local.INFO: GPS data processed {"connection_id":142638,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:58:45] local.INFO: Acknowledgment sent {"connection_id":142638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:59:09] local.INFO: TCP Data received {"connection_id":145051,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa165c448012d7f980005afd7c0000d00062a..."} 
[2026-07-27 07:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145051,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa165c448012d7f980005afd7c0000d00062a..."} 
[2026-07-27 07:59:09] local.INFO: Processing buffer {"connection_id":145051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa165c448012d7f980005afd7c0000d00062a..."} 
[2026-07-27 07:59:09] local.INFO: Packet analysis {"connection_id":145051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa165"} 
[2026-07-27 07:59:09] local.INFO: Extracted packet for processing {"connection_id":145051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa165"} 
[2026-07-27 07:59:09] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":13,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 07:59:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:59:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990445568001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:59:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:59:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:59:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:59:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785119229000,"timestamp_ms":1785119229000,"timestamp_seconds":1785119229,"priority":1,"record_length":96,"hex_timestamp":"0000019fa165c448"} 
[2026-07-27 07:59:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:59:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 07:59:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 07:59:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:59:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:59:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:59:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:59:09] local.INFO: Teltonika packet parsed successfully {"connection_id":145051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:59:09] local.INFO: Passing IMEI to GPS processor {"connection_id":145051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:59:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":145051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:59:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:59:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:59:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:59:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990445568001,"66":25375,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 07:59:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:59:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:59:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990445568001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:59:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 07:59:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:59:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:59:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:59:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990445568001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:59:10] local.INFO: DEBUG: GPS processor result {"connection_id":145051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:59:10] local.INFO: GPS data processed {"connection_id":145051,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:59:10] local.INFO: Acknowledgment sent {"connection_id":145051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:59:10] local.INFO: TCP Data received {"connection_id":142639,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 07:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142639,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 07:59:10] local.INFO: Processing buffer {"connection_id":142639,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 07:59:10] local.INFO: IMEI packet received {"connection_id":142639,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 07:59:10] local.INFO: IMEI acknowledgment sent {"connection_id":142639,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:59:32] local.INFO: TCP Data received {"connection_id":142761,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:59:32] local.INFO: Processing buffer {"connection_id":142761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:59:32] local.INFO: IMEI packet received {"connection_id":142761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 07:59:32] local.INFO: IMEI acknowledgment sent {"connection_id":142761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:59:38] local.INFO: TCP Data received {"connection_id":142761,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:59:38] local.INFO: Processing buffer {"connection_id":142761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 07:59:38] local.INFO: IMEI packet received {"connection_id":142761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 07:59:38] local.INFO: IMEI acknowledgment sent {"connection_id":142761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:59:38] local.INFO: TCP Data received {"connection_id":142761,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa165c448012d7f980005afd7c0000d00062a..."} 
[2026-07-27 07:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa165c448012d7f980005afd7c0000d00062a..."} 
[2026-07-27 07:59:38] local.INFO: Processing buffer {"connection_id":142761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa165c448012d7f980005afd7c0000d00062a..."} 
[2026-07-27 07:59:38] local.INFO: Packet analysis {"connection_id":142761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa165"} 
[2026-07-27 07:59:38] local.INFO: Extracted packet for processing {"connection_id":142761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa165"} 
[2026-07-27 07:59:38] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":13,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 07:59:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:59:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990445568001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:59:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 07:59:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 07:59:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:59:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785119229000,"timestamp_ms":1785119229000,"timestamp_seconds":1785119229,"priority":1,"record_length":96,"hex_timestamp":"0000019fa165c448"} 
[2026-07-27 07:59:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:59:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 07:59:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 07:59:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:59:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:59:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:59:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:59:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:59:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:59:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 07:59:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:59:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 07:59:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 07:59:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990445568001,"66":25375,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 07:59:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 07:59:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 07:59:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990445568001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:59:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 07:59:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 07:59:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:59:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 07:59:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990445568001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 07:59:38] local.INFO: DEBUG: GPS processor result {"connection_id":142761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:59:38] local.INFO: GPS data processed {"connection_id":142761,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:59:38] local.INFO: Acknowledgment sent {"connection_id":142761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 07:59:40] local.INFO: TCP Data received {"connection_id":145052,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145052,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:59:40] local.INFO: Processing buffer {"connection_id":145052,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:59:40] local.INFO: IMEI packet received {"connection_id":145052,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 07:59:40] local.INFO: IMEI acknowledgment sent {"connection_id":145052,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:59:45] local.INFO: TCP Data received {"connection_id":142762,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 07:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142762,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 07:59:45] local.INFO: Processing buffer {"connection_id":142762,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 07:59:45] local.INFO: IMEI packet received {"connection_id":142762,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 07:59:45] local.INFO: IMEI acknowledgment sent {"connection_id":142762,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 07:59:45] local.INFO: TCP Data received {"connection_id":145052,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145052,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:59:45] local.INFO: Processing buffer {"connection_id":145052,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 07:59:45] local.INFO: IMEI packet received {"connection_id":145052,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 07:59:45] local.INFO: IMEI acknowledgment sent {"connection_id":145052,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 07:59:46] local.INFO: TCP Data received {"connection_id":145052,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1672f90012d7a5e8005e46868000800f326..."} 
[2026-07-27 07:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145052,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1672f90012d7a5e8005e46868000800f326..."} 
[2026-07-27 07:59:46] local.INFO: Processing buffer {"connection_id":145052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1672f90012d7a5e8005e46868000800f326..."} 
[2026-07-27 07:59:46] local.INFO: Packet analysis {"connection_id":145052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa167"} 
[2026-07-27 07:59:46] local.INFO: Extracted packet for processing {"connection_id":145052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa167"} 
[2026-07-27 07:59:46] local.INFO: GPS Element Parsed {"raw_longitude":762994304,"raw_latitude":98855016,"longitude_deg":76.2994304,"latitude_deg":9.8855016,"altitude":8,"angle":243,"satellites":38,"speed":16,"hex_longitude":"2d7a5e80","hex_latitude":"05e46868","is_valid_coordinates":true} 
[2026-07-27 07:59:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 07:59:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990545664001,"note":"Value kept but may cause issues"} 
[2026-07-27 07:59:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111503239404322816,"note":"Value kept but may cause issues"} 
[2026-07-27 07:59:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8818470308163477504,"note":"Value kept but may cause issues"} 
[2026-07-27 07:59:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 07:59:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785119322000,"timestamp_ms":1785119322000,"timestamp_seconds":1785119322,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1672f90"} 
[2026-07-27 07:59:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 07:59:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 07:59:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-27 07:59:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 07:59:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 07:59:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 07:59:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 07:59:46] local.INFO: Teltonika packet parsed successfully {"connection_id":145052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 07:59:46] local.INFO: Passing IMEI to GPS processor {"connection_id":145052,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:59:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":145052,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 07:59:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 07:59:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 07:59:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 07:59:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990545664001,"66":12982,"97":206,"85":15104,"24":16,"16":111503239404322816,"45":8818470308163477504},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-27 07:59:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 07:59:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 07:59:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990545664001,"description":"Unknown IO ID 0"} 
[2026-07-27 07:59:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-27 07:59:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 07:59:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111503239404322816,"km_value":111503239404322.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 07:59:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8818470308163477504,"description":"Unknown IO ID 45"} 
[2026-07-27 07:59:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990545664001,"power":12982,"unknown_97":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":8818470308163477504}} 
[2026-07-27 07:59:46] local.INFO: DEBUG: GPS processor result {"connection_id":145052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551853,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 07:59:46] local.INFO: GPS data processed {"connection_id":145052,"processed":1,"errors":0,"total":1} 
[2026-07-27 07:59:46] local.INFO: Acknowledgment sent {"connection_id":145052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:00:10] local.INFO: TCP Data received {"connection_id":142761,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa165c448012d7f980005afd7c0000d00062a..."} 
[2026-07-27 08:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa165c448012d7f980005afd7c0000d00062a..."} 
[2026-07-27 08:00:10] local.INFO: Processing buffer {"connection_id":142761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa165c448012d7f980005afd7c0000d00062a..."} 
[2026-07-27 08:00:10] local.INFO: Packet analysis {"connection_id":142761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa165"} 
[2026-07-27 08:00:10] local.INFO: Extracted packet for processing {"connection_id":142761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa165"} 
[2026-07-27 08:00:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":13,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 08:00:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:00:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990445568001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:00:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 08:00:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 08:00:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:00:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785119229000,"timestamp_ms":1785119229000,"timestamp_seconds":1785119229,"priority":1,"record_length":96,"hex_timestamp":"0000019fa165c448"} 
[2026-07-27 08:00:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:00:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":31,"data_length":795,"current_offset":136} 
[2026-07-27 08: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-07-27 08:00:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:00:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:00:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:00:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:00:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:00:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:00:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:00:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:00:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:00:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990445568001,"66":25375,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 08:00:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:00:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:00:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990445568001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:00:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 08:00:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:00:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:00:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 08:00:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990445568001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 08:00:10] local.INFO: DEBUG: GPS processor result {"connection_id":142761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:00:10] local.INFO: GPS data processed {"connection_id":142761,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:00:10] local.INFO: Acknowledgment sent {"connection_id":142761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:00:30] local.INFO: TCP Data received {"connection_id":142640,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142640,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:00:30] local.INFO: Processing buffer {"connection_id":142640,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:00:30] local.INFO: IMEI packet received {"connection_id":142640,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 08:00:30] local.INFO: IMEI acknowledgment sent {"connection_id":142640,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:00:32] local.INFO: TCP Data received {"connection_id":142640,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142640,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:00:32] local.INFO: Processing buffer {"connection_id":142640,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:00:32] local.INFO: IMEI packet received {"connection_id":142640,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 08:00:32] local.INFO: IMEI acknowledgment sent {"connection_id":142640,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:00:35] local.INFO: TCP Data received {"connection_id":142640,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142640,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:00:35] local.INFO: Processing buffer {"connection_id":142640,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:00:35] local.INFO: IMEI packet received {"connection_id":142640,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 08:00:35] local.INFO: IMEI acknowledgment sent {"connection_id":142640,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:00:36] local.INFO: TCP Data received {"connection_id":142640,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1675a88012d7a454005e46000000b010126..."} 
[2026-07-27 08:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1675a88012d7a454005e46000000b010126..."} 
[2026-07-27 08:00:36] local.INFO: Processing buffer {"connection_id":142640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1675a88012d7a454005e46000000b010126..."} 
[2026-07-27 08:00:36] local.INFO: Packet analysis {"connection_id":142640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa167"} 
[2026-07-27 08:00:36] local.INFO: Extracted packet for processing {"connection_id":142640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa167"} 
[2026-07-27 08:00:36] local.INFO: GPS Element Parsed {"raw_longitude":762987840,"raw_latitude":98852864,"longitude_deg":76.298784,"latitude_deg":9.8852864,"altitude":11,"angle":257,"satellites":38,"speed":18,"hex_longitude":"2d7a4540","hex_latitude":"05e46000","is_valid_coordinates":true} 
[2026-07-27 08:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:00:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990546432001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:00:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111503565821837312,"note":"Value kept but may cause issues"} 
[2026-07-27 08:00:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8817625883233249280,"note":"Value kept but may cause issues"} 
[2026-07-27 08:00:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:00:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785119333000,"timestamp_ms":1785119333000,"timestamp_seconds":1785119333,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1675a88"} 
[2026-07-27 08:00:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:00:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-27 08:00:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:00:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:00:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:00:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:00:36] local.INFO: Teltonika packet parsed successfully {"connection_id":142640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:00:36] local.INFO: Passing IMEI to GPS processor {"connection_id":142640,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:00:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":142640,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:00:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:00:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 08:00:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 08:00:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990546432001,"66":12298,"97":206,"85":15104,"24":18,"16":111503565821837312,"45":8817625883233249280},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-27 08:00:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 08:00:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 08:00:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990546432001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:00:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-27 08:00:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 08:00:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111503565821837312,"km_value":111503565821837.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:00:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8817625883233249280,"description":"Unknown IO ID 45"} 
[2026-07-27 08:00:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990546432001,"power":12298,"unknown_97":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":8817625883233249280}} 
[2026-07-27 08:00:36] local.INFO: DEBUG: GPS processor result {"connection_id":142640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551855,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:00:36] local.INFO: GPS data processed {"connection_id":142640,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:00:36] local.INFO: Acknowledgment sent {"connection_id":142640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:00:38] local.INFO: TCP Data received {"connection_id":145053,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:00:38] local.INFO: Processing buffer {"connection_id":145053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:00:38] local.INFO: IMEI packet received {"connection_id":145053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 08:00:38] local.INFO: IMEI acknowledgment sent {"connection_id":145053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:00:43] local.INFO: TCP Data received {"connection_id":145053,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:00:43] local.INFO: Processing buffer {"connection_id":145053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:00:43] local.INFO: IMEI packet received {"connection_id":145053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 08:00:43] local.INFO: IMEI acknowledgment sent {"connection_id":145053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:00:43] local.INFO: TCP Data received {"connection_id":145053,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fa165c448012d7f980005afd7c0000d00062a..."} 
[2026-07-27 08:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa165c448012d7f980005afd7c0000d00062a..."} 
[2026-07-27 08:00:43] local.INFO: Processing buffer {"connection_id":145053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa165c448012d7f980005afd7c0000d00062a..."} 
[2026-07-27 08:00:43] local.INFO: Packet analysis {"connection_id":145053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa165"} 
[2026-07-27 08:00:43] local.INFO: Extracted packet for processing {"connection_id":145053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa165"} 
[2026-07-27 08:00:43] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":13,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 08:00:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:00:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990445568001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:00:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 08:00:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 08:00:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:00:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785119229000,"timestamp_ms":1785119229000,"timestamp_seconds":1785119229,"priority":1,"record_length":96,"hex_timestamp":"0000019fa165c448"} 
[2026-07-27 08:00:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:00:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 08:00:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 08:00:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:00:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:00:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:00:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:00:43] local.INFO: Teltonika packet parsed successfully {"connection_id":145053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:00:43] local.INFO: Passing IMEI to GPS processor {"connection_id":145053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:00:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":145053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:00:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:00:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:00:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:00:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990445568001,"66":25375,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 08:00:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:00:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:00:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990445568001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:00:43] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 08:00:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:00:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:00:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 08:00:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990445568001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 08:00:43] local.INFO: DEBUG: GPS processor result {"connection_id":145053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:00:43] local.INFO: GPS data processed {"connection_id":145053,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:00:43] local.INFO: Acknowledgment sent {"connection_id":145053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:00:48] local.INFO: TCP Data received {"connection_id":145053,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fa165c448012d7f980005afd7c0000d00062a..."} 
[2026-07-27 08:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa165c448012d7f980005afd7c0000d00062a..."} 
[2026-07-27 08:00:48] local.INFO: Processing buffer {"connection_id":145053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa165c448012d7f980005afd7c0000d00062a..."} 
[2026-07-27 08:00:48] local.INFO: Packet analysis {"connection_id":145053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa165"} 
[2026-07-27 08:00:48] local.INFO: Extracted packet for processing {"connection_id":145053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa165"} 
[2026-07-27 08:00:48] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":13,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 08: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-07-27 08:00:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990445568001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:00:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 08:00:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 08:00:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:00:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785119229000,"timestamp_ms":1785119229000,"timestamp_seconds":1785119229,"priority":1,"record_length":96,"hex_timestamp":"0000019fa165c448"} 
[2026-07-27 08:00:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:00:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 08: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 08:00:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08: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-07-27 08:00:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:00:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:00:48] local.INFO: Teltonika packet parsed successfully {"connection_id":145053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:00:48] local.INFO: Passing IMEI to GPS processor {"connection_id":145053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:00:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":145053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:00:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:00:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:00:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:00:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990445568001,"66":25375,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 08:00:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:00:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:00:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990445568001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:00:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 08:00:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:00:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:00:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 08:00:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990445568001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 08:00:48] local.INFO: DEBUG: GPS processor result {"connection_id":145053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:00:48] local.INFO: GPS data processed {"connection_id":145053,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:00:48] local.INFO: Acknowledgment sent {"connection_id":145053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:01:07] local.INFO: TCP Data received {"connection_id":142640,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1694e88012d7a618005e46ac00018005e25..."} 
[2026-07-27 08:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1694e88012d7a618005e46ac00018005e25..."} 
[2026-07-27 08:01:07] local.INFO: Processing buffer {"connection_id":142640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1694e88012d7a618005e46ac00018005e25..."} 
[2026-07-27 08:01:07] local.INFO: Packet analysis {"connection_id":142640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa169"} 
[2026-07-27 08:01:07] local.INFO: Extracted packet for processing {"connection_id":142640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa169"} 
[2026-07-27 08:01:07] local.INFO: GPS Element Parsed {"raw_longitude":762995072,"raw_latitude":98855616,"longitude_deg":76.2995072,"latitude_deg":9.8855616,"altitude":24,"angle":94,"satellites":37,"speed":4,"hex_longitude":"2d7a6180","hex_latitude":"05e46ac0","is_valid_coordinates":true} 
[2026-07-27 08:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:01:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990581504001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:01:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111504519304577024,"note":"Value kept but may cause issues"} 
[2026-07-27 08:01:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8818118464442642432,"note":"Value kept but may cause issues"} 
[2026-07-27 08:01:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:01:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785119461000,"timestamp_ms":1785119461000,"timestamp_seconds":1785119461,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1694e88"} 
[2026-07-27 08:01:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:01:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-27 08:01:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:01:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:01:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:01:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:01:07] local.INFO: Teltonika packet parsed successfully {"connection_id":142640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:01:07] local.INFO: Passing IMEI to GPS processor {"connection_id":142640,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:01:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":142640,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:01:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:01:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 08:01:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 08:01:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990581504001,"66":12972,"157":206,"87":12288,"24":4,"16":111504519304577024,"45":8818118464442642432},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-27 08:01:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 08:01:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 08:01:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990581504001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:01:07] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-27 08:01:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-27 08:01:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111504519304577024,"km_value":111504519304577.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:01:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8818118464442642432,"description":"Unknown IO ID 45"} 
[2026-07-27 08:01:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990581504001,"power":12972,"unknown_157":206,"unknown_87":12288,"ignition":4,"odometer":null,"unknown_45":8818118464442642432}} 
[2026-07-27 08:01:07] local.INFO: DEBUG: GPS processor result {"connection_id":142640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551858,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:01:07] local.INFO: GPS data processed {"connection_id":142640,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:01:07] local.INFO: Acknowledgment sent {"connection_id":142640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:01:33] local.INFO: TCP Data received {"connection_id":142641,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:01:33] local.INFO: Processing buffer {"connection_id":142641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:01:33] local.INFO: IMEI packet received {"connection_id":142641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 08:01:33] local.INFO: IMEI acknowledgment sent {"connection_id":142641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:01:38] local.INFO: TCP Data received {"connection_id":142641,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:01:38] local.INFO: Processing buffer {"connection_id":142641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:01:38] local.INFO: IMEI packet received {"connection_id":142641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 08:01:38] local.INFO: IMEI acknowledgment sent {"connection_id":142641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:01:38] local.INFO: TCP Data received {"connection_id":142641,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa165c448012d7f980005afd7c0000d00062a..."} 
[2026-07-27 08:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa165c448012d7f980005afd7c0000d00062a..."} 
[2026-07-27 08:01:38] local.INFO: Processing buffer {"connection_id":142641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa165c448012d7f980005afd7c0000d00062a..."} 
[2026-07-27 08:01:38] local.INFO: Packet analysis {"connection_id":142641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa165"} 
[2026-07-27 08:01:38] local.INFO: Extracted packet for processing {"connection_id":142641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa165"} 
[2026-07-27 08:01:38] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":13,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 08:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:01:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990445568001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:01:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 08:01:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 08:01:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:01:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785119229000,"timestamp_ms":1785119229000,"timestamp_seconds":1785119229,"priority":1,"record_length":96,"hex_timestamp":"0000019fa165c448"} 
[2026-07-27 08:01:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:01:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 08:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 08:01:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:01:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:01:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:01:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:01:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:01:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:01:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:01:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:01:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:01:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:01:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990445568001,"66":25375,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 08:01:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:01:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:01:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990445568001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:01:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 08:01:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:01:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:01:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 08:01:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990445568001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 08:01:38] local.INFO: DEBUG: GPS processor result {"connection_id":142641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:01:38] local.INFO: GPS data processed {"connection_id":142641,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:01:38] local.INFO: Acknowledgment sent {"connection_id":142641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:01:40] local.INFO: TCP Data received {"connection_id":143737,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143737,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:01:40] local.INFO: Processing buffer {"connection_id":143737,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:01:40] local.INFO: IMEI packet received {"connection_id":143737,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 08:01:40] local.INFO: IMEI acknowledgment sent {"connection_id":143737,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:01:45] local.INFO: TCP Data received {"connection_id":143737,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143737,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:01:45] local.INFO: Processing buffer {"connection_id":143737,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:01:45] local.INFO: IMEI packet received {"connection_id":143737,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 08:01:45] local.INFO: IMEI acknowledgment sent {"connection_id":143737,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:01:46] local.INFO: TCP Data received {"connection_id":143737,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1695658012d7a634005e46a280018007425..."} 
[2026-07-27 08:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1695658012d7a634005e46a280018007425..."} 
[2026-07-27 08:01:46] local.INFO: Processing buffer {"connection_id":143737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1695658012d7a634005e46a280018007425..."} 
[2026-07-27 08:01:46] local.INFO: Packet analysis {"connection_id":143737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa169"} 
[2026-07-27 08:01:46] local.INFO: Extracted packet for processing {"connection_id":143737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa169"} 
[2026-07-27 08:01:46] local.INFO: GPS Element Parsed {"raw_longitude":762995520,"raw_latitude":98855464,"longitude_deg":76.299552,"latitude_deg":9.8855464,"altitude":24,"angle":116,"satellites":37,"speed":14,"hex_longitude":"2d7a6340","hex_latitude":"05e46a28","is_valid_coordinates":true} 
[2026-07-27 08:01:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:01:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990582016001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:01:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111504540779413504,"note":"Value kept but may cause issues"} 
[2026-07-27 08:01:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8818470308163534848,"note":"Value kept but may cause issues"} 
[2026-07-27 08:01:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:01:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785119463000,"timestamp_ms":1785119463000,"timestamp_seconds":1785119463,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1695658"} 
[2026-07-27 08:01:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:01:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08:01:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-27 08:01:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:01:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:01:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:01:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:01:46] local.INFO: Teltonika packet parsed successfully {"connection_id":143737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:01:46] local.INFO: Passing IMEI to GPS processor {"connection_id":143737,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:01:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":143737,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:01:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:01:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 08:01:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 08:01:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990582016001,"66":12939,"157":206,"87":12288,"24":14,"16":111504540779413504,"45":8818470308163534848},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-27 08:01:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 08:01:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 08:01:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990582016001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:01:46] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-27 08:01:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-27 08:01:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111504540779413504,"km_value":111504540779413.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:01:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8818470308163534848,"description":"Unknown IO ID 45"} 
[2026-07-27 08:01:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990582016001,"power":12939,"unknown_157":206,"unknown_87":12288,"ignition":14,"odometer":null,"unknown_45":8818470308163534848}} 
[2026-07-27 08:01:46] local.INFO: DEBUG: GPS processor result {"connection_id":143737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551860,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:01:46] local.INFO: GPS data processed {"connection_id":143737,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:01:46] local.INFO: Acknowledgment sent {"connection_id":143737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:02:10] local.INFO: TCP Data received {"connection_id":142641,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa165c448012d7f980005afd7c0000d00062a..."} 
[2026-07-27 08:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa165c448012d7f980005afd7c0000d00062a..."} 
[2026-07-27 08:02:10] local.INFO: Processing buffer {"connection_id":142641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa165c448012d7f980005afd7c0000d00062a..."} 
[2026-07-27 08:02:10] local.INFO: Packet analysis {"connection_id":142641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa165"} 
[2026-07-27 08:02:10] local.INFO: Extracted packet for processing {"connection_id":142641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa165"} 
[2026-07-27 08:02:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":13,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 08:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:02:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990445568001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:02:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 08:02:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 08:02:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:02:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785119229000,"timestamp_ms":1785119229000,"timestamp_seconds":1785119229,"priority":1,"record_length":96,"hex_timestamp":"0000019fa165c448"} 
[2026-07-27 08:02:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:02:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 08:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 08: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-07-27 08:02:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:02:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:02:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:02:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:02:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:02:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08: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-07-27 08:02:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:02:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:02:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990445568001,"66":25375,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 08:02:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:02:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:02:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990445568001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:02:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 08:02:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:02:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:02:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 08:02:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990445568001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 08:02:10] local.INFO: DEBUG: GPS processor result {"connection_id":142641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:02:10] local.INFO: GPS data processed {"connection_id":142641,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:02:10] local.INFO: Acknowledgment sent {"connection_id":142641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:02:30] local.INFO: TCP Data received {"connection_id":145054,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145054,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:02:30] local.INFO: Processing buffer {"connection_id":145054,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:02:30] local.INFO: IMEI packet received {"connection_id":145054,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 08:02:30] local.INFO: IMEI acknowledgment sent {"connection_id":145054,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:02:34] local.INFO: TCP Data received {"connection_id":145054,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145054,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:02:34] local.INFO: Processing buffer {"connection_id":145054,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:02:34] local.INFO: IMEI packet received {"connection_id":145054,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 08:02:34] local.INFO: IMEI acknowledgment sent {"connection_id":145054,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:02:34] local.INFO: TCP Data received {"connection_id":142763,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:02:34] local.INFO: Processing buffer {"connection_id":142763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:02:34] local.INFO: IMEI packet received {"connection_id":142763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 08:02:34] local.INFO: IMEI acknowledgment sent {"connection_id":142763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:02:35] local.INFO: TCP Data received {"connection_id":145054,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1695e28012d7a660005e468880018007f27..."} 
[2026-07-27 08:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145054,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1695e28012d7a660005e468880018007f27..."} 
[2026-07-27 08:02:35] local.INFO: Processing buffer {"connection_id":145054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1695e28012d7a660005e468880018007f27..."} 
[2026-07-27 08:02:35] local.INFO: Packet analysis {"connection_id":145054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa169"} 
[2026-07-27 08:02:35] local.INFO: Extracted packet for processing {"connection_id":145054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa169"} 
[2026-07-27 08:02:35] local.INFO: GPS Element Parsed {"raw_longitude":762996224,"raw_latitude":98855048,"longitude_deg":76.2996224,"latitude_deg":9.8855048,"altitude":24,"angle":127,"satellites":39,"speed":16,"hex_longitude":"2d7a6600","hex_latitude":"05e46888","is_valid_coordinates":true} 
[2026-07-27 08:02:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:02:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990582528001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:02:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111504579434119168,"note":"Value kept but may cause issues"} 
[2026-07-27 08:02:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8818962889372739584,"note":"Value kept but may cause issues"} 
[2026-07-27 08:02:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:02:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785119465000,"timestamp_ms":1785119465000,"timestamp_seconds":1785119465,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1695e28"} 
[2026-07-27 08:02:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:02:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08:02:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-27 08:02:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:02:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:02:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:02:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:02:35] local.INFO: Teltonika packet parsed successfully {"connection_id":145054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:02:35] local.INFO: Passing IMEI to GPS processor {"connection_id":145054,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:02:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":145054,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:02:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:02:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 08:02:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 08:02:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990582528001,"66":12526,"157":206,"87":12288,"24":16,"16":111504579434119168,"45":8818962889372739584},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-27 08:02:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 08:02:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 08:02:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990582528001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:02:35] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-27 08:02:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-27 08:02:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111504579434119168,"km_value":111504579434119.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:02:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8818962889372739584,"description":"Unknown IO ID 45"} 
[2026-07-27 08:02:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990582528001,"power":12526,"unknown_157":206,"unknown_87":12288,"ignition":16,"odometer":null,"unknown_45":8818962889372739584}} 
[2026-07-27 08:02:35] local.INFO: DEBUG: GPS processor result {"connection_id":145054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551862,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:02:35] local.INFO: GPS data processed {"connection_id":145054,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:02:35] local.INFO: Acknowledgment sent {"connection_id":145054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:02:38] local.INFO: TCP Data received {"connection_id":142763,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:02:38] local.INFO: Processing buffer {"connection_id":142763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:02:38] local.INFO: IMEI packet received {"connection_id":142763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 08:02:38] local.INFO: IMEI acknowledgment sent {"connection_id":142763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:02:38] local.INFO: TCP Data received {"connection_id":142763,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fa165c448012d7f980005afd7c0000d00062a..."} 
[2026-07-27 08:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142763,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa165c448012d7f980005afd7c0000d00062a..."} 
[2026-07-27 08:02:38] local.INFO: Processing buffer {"connection_id":142763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa165c448012d7f980005afd7c0000d00062a..."} 
[2026-07-27 08:02:38] local.INFO: Packet analysis {"connection_id":142763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa165"} 
[2026-07-27 08:02:38] local.INFO: Extracted packet for processing {"connection_id":142763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa165"} 
[2026-07-27 08:02:38] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":13,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 08:02:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:02:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990445568001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:02:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 08:02:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 08:02:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:02:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785119229000,"timestamp_ms":1785119229000,"timestamp_seconds":1785119229,"priority":1,"record_length":96,"hex_timestamp":"0000019fa165c448"} 
[2026-07-27 08:02:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:02:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 08:02:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 08:02:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:02:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:02:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:02:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:02:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:02:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:02:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:02:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:02:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:02:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:02:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990445568001,"66":25375,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 08:02:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:02:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:02:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990445568001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:02:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 08:02:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:02:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:02:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 08:02:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990445568001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 08:02:38] local.INFO: DEBUG: GPS processor result {"connection_id":142763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:02:38] local.INFO: GPS data processed {"connection_id":142763,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:02:38] local.INFO: Acknowledgment sent {"connection_id":142763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:02:43] local.INFO: TCP Data received {"connection_id":142763,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fa165c448012d7f980005afd7c0000d00062a..."} 
[2026-07-27 08:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142763,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa165c448012d7f980005afd7c0000d00062a..."} 
[2026-07-27 08:02:43] local.INFO: Processing buffer {"connection_id":142763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa165c448012d7f980005afd7c0000d00062a..."} 
[2026-07-27 08:02:43] local.INFO: Packet analysis {"connection_id":142763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa165"} 
[2026-07-27 08:02:43] local.INFO: Extracted packet for processing {"connection_id":142763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa165"} 
[2026-07-27 08:02:43] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":13,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 08:02:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:02:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990445568001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:02:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 08:02:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 08:02:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:02:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785119229000,"timestamp_ms":1785119229000,"timestamp_seconds":1785119229,"priority":1,"record_length":96,"hex_timestamp":"0000019fa165c448"} 
[2026-07-27 08:02:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:02:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 08:02:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 08:02:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:02:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:02:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:02:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:02:43] local.INFO: Teltonika packet parsed successfully {"connection_id":142763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:02:43] local.INFO: Passing IMEI to GPS processor {"connection_id":142763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:02:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":142763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:02:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:02:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:02:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:02:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990445568001,"66":25375,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 08:02:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:02:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:02:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990445568001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:02:43] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 08:02:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:02:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:02:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 08:02:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990445568001,"power":25375,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 08:02:43] local.INFO: DEBUG: GPS processor result {"connection_id":142763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:02:43] local.INFO: GPS data processed {"connection_id":142763,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:02:43] local.INFO: Acknowledgment sent {"connection_id":142763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:03:06] local.INFO: TCP Data received {"connection_id":145054,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1698d08012d7a83c005e452600016008227..."} 
[2026-07-27 08:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145054,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1698d08012d7a83c005e452600016008227..."} 
[2026-07-27 08:03:06] local.INFO: Processing buffer {"connection_id":145054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1698d08012d7a83c005e452600016008227..."} 
[2026-07-27 08:03:06] local.INFO: Packet analysis {"connection_id":145054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa169"} 
[2026-07-27 08:03:06] local.INFO: Extracted packet for processing {"connection_id":145054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa169"} 
[2026-07-27 08:03:06] local.INFO: GPS Element Parsed {"raw_longitude":763003840,"raw_latitude":98849376,"longitude_deg":76.300384,"latitude_deg":9.8849376,"altitude":22,"angle":130,"satellites":39,"speed":39,"hex_longitude":"2d7a83c0","hex_latitude":"05e45260","is_valid_coordinates":true} 
[2026-07-27 08:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:03:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990583040001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:03:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111505038995619840,"note":"Value kept but may cause issues"} 
[2026-07-27 08:03:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8819736945558587392,"note":"Value kept but may cause issues"} 
[2026-07-27 08:03:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:03:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785119477000,"timestamp_ms":1785119477000,"timestamp_seconds":1785119477,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1698d08"} 
[2026-07-27 08:03:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:03:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-27 08:03: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-07-27 08:03:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:03:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:03:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:03:06] local.INFO: Teltonika packet parsed successfully {"connection_id":145054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:03:06] local.INFO: Passing IMEI to GPS processor {"connection_id":145054,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:03:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":145054,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:03:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:03:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 08:03:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 08:03:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990583040001,"66":12982,"157":206,"87":12288,"24":39,"16":111505038995619840,"45":8819736945558587392},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-27 08:03:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 08:03:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 08:03:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990583040001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:03:06] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-27 08:03:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-27 08:03:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111505038995619840,"km_value":111505038995619.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:03:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8819736945558587392,"description":"Unknown IO ID 45"} 
[2026-07-27 08:03:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990583040001,"power":12982,"unknown_157":206,"unknown_87":12288,"ignition":39,"odometer":null,"unknown_45":8819736945558587392}} 
[2026-07-27 08:03:06] local.INFO: DEBUG: GPS processor result {"connection_id":145054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551865,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:03:06] local.INFO: GPS data processed {"connection_id":145054,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:03:06] local.INFO: Acknowledgment sent {"connection_id":145054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:03:14] local.INFO: TCP Data received {"connection_id":142763,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fa16a5c10012d7f980005afd7c0000d00062a..."} 
[2026-07-27 08:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142763,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa16a5c10012d7f980005afd7c0000d00062a..."} 
[2026-07-27 08:03:14] local.INFO: Processing buffer {"connection_id":142763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa16a5c10012d7f980005afd7c0000d00062a..."} 
[2026-07-27 08:03:14] local.INFO: Packet analysis {"connection_id":142763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa16a"} 
[2026-07-27 08:03:14] local.INFO: Extracted packet for processing {"connection_id":142763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa16a"} 
[2026-07-27 08:03:14] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":13,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 08: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-07-27 08:03:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990522624001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:03:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 08:03:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 08:03:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:03:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785119530000,"timestamp_ms":1785119530000,"timestamp_seconds":1785119530,"priority":1,"record_length":96,"hex_timestamp":"0000019fa16a5c10"} 
[2026-07-27 08:03:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:03:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 08: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":31,"data_length":795,"current_offset":136} 
[2026-07-27 08:03:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08: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-07-27 08:03:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:03:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:03:14] local.INFO: Teltonika packet parsed successfully {"connection_id":142763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:03:14] local.INFO: Passing IMEI to GPS processor {"connection_id":142763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:03:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":142763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:03:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:03:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:03:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:03:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990522624001,"66":25321,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 08:03:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:03:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:03:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990522624001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:03:14] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 08:03:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:03:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:03:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 08:03:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990522624001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 08:03:14] local.INFO: DEBUG: GPS processor result {"connection_id":142763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:03:14] local.INFO: GPS data processed {"connection_id":142763,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:03:14] local.INFO: Acknowledgment sent {"connection_id":142763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:03:30] local.INFO: TCP Data received {"connection_id":145055,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145055,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:03:30] local.INFO: Processing buffer {"connection_id":145055,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:03:30] local.INFO: IMEI packet received {"connection_id":145055,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 08:03:30] local.INFO: IMEI acknowledgment sent {"connection_id":145055,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:03:32] local.INFO: TCP Data received {"connection_id":145056,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:03:32] local.INFO: Processing buffer {"connection_id":145056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:03:32] local.INFO: IMEI packet received {"connection_id":145056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 08:03:32] local.INFO: IMEI acknowledgment sent {"connection_id":145056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:03:36] local.INFO: TCP Data received {"connection_id":145055,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145055,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:03:36] local.INFO: Processing buffer {"connection_id":145055,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:03:36] local.INFO: IMEI packet received {"connection_id":145055,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 08:03:36] local.INFO: IMEI acknowledgment sent {"connection_id":145055,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:03:37] local.INFO: TCP Data received {"connection_id":145055,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019fa169b030012d7aa1c005e43a08000f008227..."} 
[2026-07-27 08:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa169b030012d7aa1c005e43a08000f008227..."} 
[2026-07-27 08:03:37] local.INFO: Processing buffer {"connection_id":145055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa169b030012d7aa1c005e43a08000f008227..."} 
[2026-07-27 08:03:37] local.INFO: Packet analysis {"connection_id":145055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa169"} 
[2026-07-27 08:03:37] local.INFO: Extracted packet for processing {"connection_id":145055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa169"} 
[2026-07-27 08:03:37] local.INFO: GPS Element Parsed {"raw_longitude":763011520,"raw_latitude":98843144,"longitude_deg":76.301152,"latitude_deg":9.8843144,"altitude":15,"angle":130,"satellites":39,"speed":45,"hex_longitude":"2d7aa1c0","hex_latitude":"05e43a08","is_valid_coordinates":true} 
[2026-07-27 08:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:03:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990586112001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:03:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111505511442022400,"note":"Value kept but may cause issues"} 
[2026-07-27 08:03:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8828110826114277376,"note":"Value kept but may cause issues"} 
[2026-07-27 08:03:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:03:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785119486000,"timestamp_ms":1785119486000,"timestamp_seconds":1785119486,"priority":1,"record_length":96,"hex_timestamp":"0000019fa169b030"} 
[2026-07-27 08:03:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:03:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-27 08:03:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:03:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:03:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:03:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:03:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:03:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145055,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:03:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145055,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:03:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:03:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 08:03:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 08:03:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990586112001,"66":13048,"97":206,"85":15104,"24":45,"16":111505511442022400,"45":8828110826114277376},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-27 08:03:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 08:03:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 08:03:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990586112001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:03:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-27 08:03:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 08:03:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111505511442022400,"km_value":111505511442022.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:03:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8828110826114277376,"description":"Unknown IO ID 45"} 
[2026-07-27 08:03:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990586112001,"power":13048,"unknown_97":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":8828110826114277376}} 
[2026-07-27 08:03:37] local.INFO: DEBUG: GPS processor result {"connection_id":145055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551867,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:03:37] local.INFO: GPS data processed {"connection_id":145055,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:03:37] local.INFO: Acknowledgment sent {"connection_id":145055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:03:38] local.INFO: TCP Data received {"connection_id":145056,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:03:38] local.INFO: Processing buffer {"connection_id":145056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:03:38] local.INFO: IMEI packet received {"connection_id":145056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 08:03:38] local.INFO: IMEI acknowledgment sent {"connection_id":145056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:03:38] local.INFO: TCP Data received {"connection_id":145056,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fa16a5c10012d7f980005afd7c0000d00062a..."} 
[2026-07-27 08:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa16a5c10012d7f980005afd7c0000d00062a..."} 
[2026-07-27 08:03:38] local.INFO: Processing buffer {"connection_id":145056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa16a5c10012d7f980005afd7c0000d00062a..."} 
[2026-07-27 08:03:38] local.INFO: Packet analysis {"connection_id":145056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa16a"} 
[2026-07-27 08:03:38] local.INFO: Extracted packet for processing {"connection_id":145056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa16a"} 
[2026-07-27 08:03:38] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":13,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 08:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:03:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990522624001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:03:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 08:03:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 08:03:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:03:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785119530000,"timestamp_ms":1785119530000,"timestamp_seconds":1785119530,"priority":1,"record_length":96,"hex_timestamp":"0000019fa16a5c10"} 
[2026-07-27 08:03:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:03:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 08:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 08:03:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:03:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:03:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:03:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:03:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:03:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:03:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:03:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:03:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:03:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:03:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990522624001,"66":25321,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 08:03:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:03:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:03:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990522624001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:03:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 08:03:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:03:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:03:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 08:03:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990522624001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 08:03:38] local.INFO: DEBUG: GPS processor result {"connection_id":145056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:03:38] local.INFO: GPS data processed {"connection_id":145056,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:03:38] local.INFO: Acknowledgment sent {"connection_id":145056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:04:08] local.INFO: TCP Data received {"connection_id":145055,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019fa16c1190012d7b0f4005e328c0000b00a422..."} 
[2026-07-27 08:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa16c1190012d7b0f4005e328c0000b00a422..."} 
[2026-07-27 08:04:08] local.INFO: Processing buffer {"connection_id":145055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa16c1190012d7b0f4005e328c0000b00a422..."} 
[2026-07-27 08:04:08] local.INFO: Packet analysis {"connection_id":145055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa16c"} 
[2026-07-27 08:04:08] local.INFO: Extracted packet for processing {"connection_id":145055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa16c"} 
[2026-07-27 08:04:08] local.INFO: GPS Element Parsed {"raw_longitude":763039552,"raw_latitude":98773184,"longitude_deg":76.3039552,"latitude_deg":9.8773184,"altitude":11,"angle":164,"satellites":34,"speed":14,"hex_longitude":"2d7b0f40","hex_latitude":"05e328c0","is_valid_coordinates":true} 
[2026-07-27 08:04:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:04:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990625280001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:04:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111509265243439104,"note":"Value kept but may cause issues"} 
[2026-07-27 08:04:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866884004137814016,"note":"Value kept but may cause issues"} 
[2026-07-27 08:04:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:04:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785119642000,"timestamp_ms":1785119642000,"timestamp_seconds":1785119642,"priority":1,"record_length":96,"hex_timestamp":"0000019fa16c1190"} 
[2026-07-27 08:04:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:04:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-27 08:04:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:04:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:04:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:04:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:04:08] local.INFO: Teltonika packet parsed successfully {"connection_id":145055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:04:08] local.INFO: Passing IMEI to GPS processor {"connection_id":145055,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:04:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":145055,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:04:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:04:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 08:04:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 08:04:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990625280001,"66":12982,"97":206,"85":15104,"24":14,"16":111509265243439104,"45":8866884004137814016},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-27 08:04:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 08:04:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 08:04:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990625280001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:04:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-27 08:04:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 08:04:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111509265243439104,"km_value":111509265243439.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:04:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866884004137814016,"description":"Unknown IO ID 45"} 
[2026-07-27 08:04:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990625280001,"power":12982,"unknown_97":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":8866884004137814016}} 
[2026-07-27 08:04:08] local.INFO: DEBUG: GPS processor result {"connection_id":145055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551869,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:04:08] local.INFO: GPS data processed {"connection_id":145055,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:04:08] local.INFO: Acknowledgment sent {"connection_id":145055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:04:09] local.INFO: TCP Data received {"connection_id":145056,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fa16a5c10012d7f980005afd7c0000d00062a..."} 
[2026-07-27 08:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa16a5c10012d7f980005afd7c0000d00062a..."} 
[2026-07-27 08:04:09] local.INFO: Processing buffer {"connection_id":145056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa16a5c10012d7f980005afd7c0000d00062a..."} 
[2026-07-27 08:04:09] local.INFO: Packet analysis {"connection_id":145056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa16a"} 
[2026-07-27 08:04:09] local.INFO: Extracted packet for processing {"connection_id":145056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa16a"} 
[2026-07-27 08:04:09] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":13,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 08:04:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:04:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990522624001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:04:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 08:04:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 08:04:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:04:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785119530000,"timestamp_ms":1785119530000,"timestamp_seconds":1785119530,"priority":1,"record_length":96,"hex_timestamp":"0000019fa16a5c10"} 
[2026-07-27 08:04:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:04:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 08:04:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 08:04:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:04:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:04:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:04:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:04:09] local.INFO: Teltonika packet parsed successfully {"connection_id":145056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:04:09] local.INFO: Passing IMEI to GPS processor {"connection_id":145056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:04:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":145056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08: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-07-27 08:04:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:04:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:04:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990522624001,"66":25321,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 08:04:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:04:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:04:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990522624001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:04:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 08:04:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:04:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:04:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 08:04:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990522624001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 08:04:09] local.INFO: DEBUG: GPS processor result {"connection_id":145056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:04:09] local.INFO: GPS data processed {"connection_id":145056,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:04:09] local.INFO: Acknowledgment sent {"connection_id":145056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:04:29] local.INFO: TCP Data received {"connection_id":142643,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142643,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:04:29] local.INFO: Processing buffer {"connection_id":142643,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:04:29] local.INFO: IMEI packet received {"connection_id":142643,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 08:04:29] local.INFO: IMEI acknowledgment sent {"connection_id":142643,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:04:30] local.INFO: TCP Data received {"connection_id":142643,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142643,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:04:30] local.INFO: Processing buffer {"connection_id":142643,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:04:30] local.INFO: IMEI packet received {"connection_id":142643,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 08:04:30] local.INFO: IMEI acknowledgment sent {"connection_id":142643,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:04:35] local.INFO: TCP Data received {"connection_id":142643,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142643,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:04:35] local.INFO: Processing buffer {"connection_id":142643,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:04:35] local.INFO: IMEI packet received {"connection_id":142643,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 08:04:35] local.INFO: IMEI acknowledgment sent {"connection_id":142643,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:04:36] local.INFO: TCP Data received {"connection_id":142643,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019fa16c1960012d7b104005e326c8000b009322..."} 
[2026-07-27 08:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa16c1960012d7b104005e326c8000b009322..."} 
[2026-07-27 08:04:36] local.INFO: Processing buffer {"connection_id":142643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa16c1960012d7b104005e326c8000b009322..."} 
[2026-07-27 08:04:36] local.INFO: Packet analysis {"connection_id":142643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa16c"} 
[2026-07-27 08:04:36] local.INFO: Extracted packet for processing {"connection_id":142643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa16c"} 
[2026-07-27 08:04:36] local.INFO: GPS Element Parsed {"raw_longitude":763039808,"raw_latitude":98772680,"longitude_deg":76.3039808,"latitude_deg":9.877268,"altitude":11,"angle":147,"satellites":34,"speed":7,"hex_longitude":"2d7b1040","hex_latitude":"05e326c8","is_valid_coordinates":true} 
[2026-07-27 08:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:04:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990628352001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:04:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111509291013242880,"note":"Value kept but may cause issues"} 
[2026-07-27 08:04:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867376585345908736,"note":"Value kept but may cause issues"} 
[2026-07-27 08:04:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:04:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785119644000,"timestamp_ms":1785119644000,"timestamp_seconds":1785119644,"priority":1,"record_length":96,"hex_timestamp":"0000019fa16c1960"} 
[2026-07-27 08:04:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:04:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-27 08:04:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:04:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:04:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:04:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:04:36] local.INFO: Teltonika packet parsed successfully {"connection_id":142643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:04:36] local.INFO: Passing IMEI to GPS processor {"connection_id":142643,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:04:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":142643,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:04:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:04:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 08:04:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 08:04:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990628352001,"66":12765,"97":206,"85":15104,"24":7,"16":111509291013242880,"45":8867376585345908736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-27 08:04:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 08:04:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 08:04:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990628352001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:04:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-27 08:04:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 08:04:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111509291013242880,"km_value":111509291013242.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:04:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867376585345908736,"description":"Unknown IO ID 45"} 
[2026-07-27 08:04:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990628352001,"power":12765,"unknown_97":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8867376585345908736}} 
[2026-07-27 08:04:36] local.INFO: DEBUG: GPS processor result {"connection_id":142643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551871,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:04:36] local.INFO: GPS data processed {"connection_id":142643,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:04:36] local.INFO: Acknowledgment sent {"connection_id":142643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:04:38] local.INFO: TCP Data received {"connection_id":142644,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:04:38] local.INFO: Processing buffer {"connection_id":142644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:04:38] local.INFO: IMEI packet received {"connection_id":142644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 08:04:38] local.INFO: IMEI acknowledgment sent {"connection_id":142644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:04:43] local.INFO: TCP Data received {"connection_id":142644,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:04:43] local.INFO: Processing buffer {"connection_id":142644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:04:43] local.INFO: IMEI packet received {"connection_id":142644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 08:04:43] local.INFO: IMEI acknowledgment sent {"connection_id":142644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:04:43] local.INFO: TCP Data received {"connection_id":142644,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fa16a5c10012d7f980005afd7c0000d00062a..."} 
[2026-07-27 08:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa16a5c10012d7f980005afd7c0000d00062a..."} 
[2026-07-27 08:04:43] local.INFO: Processing buffer {"connection_id":142644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa16a5c10012d7f980005afd7c0000d00062a..."} 
[2026-07-27 08:04:43] local.INFO: Packet analysis {"connection_id":142644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa16a"} 
[2026-07-27 08:04:43] local.INFO: Extracted packet for processing {"connection_id":142644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa16a"} 
[2026-07-27 08:04:43] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":13,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 08:04:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:04:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990522624001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:04:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 08:04:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 08:04:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:04:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785119530000,"timestamp_ms":1785119530000,"timestamp_seconds":1785119530,"priority":1,"record_length":96,"hex_timestamp":"0000019fa16a5c10"} 
[2026-07-27 08:04:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:04:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 08:04:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 08:04:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:04:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:04:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:04:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:04:43] local.INFO: Teltonika packet parsed successfully {"connection_id":142644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:04:43] local.INFO: Passing IMEI to GPS processor {"connection_id":142644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:04:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":142644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:04: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-07-27 08:04:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:04:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:04:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990522624001,"66":25321,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 08:04:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:04:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:04:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990522624001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:04:43] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 08:04:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:04:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:04:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 08:04:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990522624001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 08:04:43] local.INFO: DEBUG: GPS processor result {"connection_id":142644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:04:43] local.INFO: GPS data processed {"connection_id":142644,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:04:43] local.INFO: Acknowledgment sent {"connection_id":142644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:04:48] local.INFO: TCP Data received {"connection_id":142644,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fa16a5c10012d7f980005afd7c0000d00062a..."} 
[2026-07-27 08:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa16a5c10012d7f980005afd7c0000d00062a..."} 
[2026-07-27 08:04:48] local.INFO: Processing buffer {"connection_id":142644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa16a5c10012d7f980005afd7c0000d00062a..."} 
[2026-07-27 08:04:48] local.INFO: Packet analysis {"connection_id":142644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa16a"} 
[2026-07-27 08:04:48] local.INFO: Extracted packet for processing {"connection_id":142644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa16a"} 
[2026-07-27 08:04:48] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":13,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 08:04:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:04:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990522624001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:04:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 08:04:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 08:04:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:04:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785119530000,"timestamp_ms":1785119530000,"timestamp_seconds":1785119530,"priority":1,"record_length":96,"hex_timestamp":"0000019fa16a5c10"} 
[2026-07-27 08:04:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:04:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 08:04:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 08:04:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:04:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:04:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:04:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:04:48] local.INFO: Teltonika packet parsed successfully {"connection_id":142644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:04:48] local.INFO: Passing IMEI to GPS processor {"connection_id":142644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:04:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":142644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:04:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:04:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:04:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:04:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990522624001,"66":25321,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 08:04:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:04:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:04:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990522624001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:04:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 08:04:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:04:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:04:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 08:04:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990522624001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 08:04:48] local.INFO: DEBUG: GPS processor result {"connection_id":142644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:04:48] local.INFO: GPS data processed {"connection_id":142644,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:04:48] local.INFO: Acknowledgment sent {"connection_id":142644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:04:53] local.INFO: TCP Data received {"connection_id":142644,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fa16a5c10012d7f980005afd7c0000d00062a..."} 
[2026-07-27 08:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa16a5c10012d7f980005afd7c0000d00062a..."} 
[2026-07-27 08:04:53] local.INFO: Processing buffer {"connection_id":142644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa16a5c10012d7f980005afd7c0000d00062a..."} 
[2026-07-27 08:04:53] local.INFO: Packet analysis {"connection_id":142644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa16a"} 
[2026-07-27 08:04:53] local.INFO: Extracted packet for processing {"connection_id":142644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa16a"} 
[2026-07-27 08:04:53] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":13,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 08:04:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:04:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990522624001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:04:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 08:04:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 08:04:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:04:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785119530000,"timestamp_ms":1785119530000,"timestamp_seconds":1785119530,"priority":1,"record_length":96,"hex_timestamp":"0000019fa16a5c10"} 
[2026-07-27 08:04:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:04:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 08: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 08:04:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08: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-07-27 08:04:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:04:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:04:53] local.INFO: Teltonika packet parsed successfully {"connection_id":142644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:04:53] local.INFO: Passing IMEI to GPS processor {"connection_id":142644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:04:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":142644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:04:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:04:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:04:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:04:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990522624001,"66":25321,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 08:04:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:04:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:04:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990522624001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:04:53] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 08:04:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:04:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:04:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 08:04:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990522624001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 08:04:53] local.INFO: DEBUG: GPS processor result {"connection_id":142644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:04:53] local.INFO: GPS data processed {"connection_id":142644,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:04:53] local.INFO: Acknowledgment sent {"connection_id":142644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:05:07] local.INFO: TCP Data received {"connection_id":142643,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019fa16c2130012d7b114005e325b80009009f22..."} 
[2026-07-27 08:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa16c2130012d7b114005e325b80009009f22..."} 
[2026-07-27 08:05:07] local.INFO: Processing buffer {"connection_id":142643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa16c2130012d7b114005e325b80009009f22..."} 
[2026-07-27 08:05:07] local.INFO: Packet analysis {"connection_id":142643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa16c"} 
[2026-07-27 08:05:07] local.INFO: Extracted packet for processing {"connection_id":142643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa16c"} 
[2026-07-27 08:05:07] local.INFO: GPS Element Parsed {"raw_longitude":763040064,"raw_latitude":98772408,"longitude_deg":76.3040064,"latitude_deg":9.8772408,"altitude":9,"angle":159,"satellites":34,"speed":7,"hex_longitude":"2d7b1140","hex_latitude":"05e325b8","is_valid_coordinates":true} 
[2026-07-27 08:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:05:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990628864001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:05:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111509308193112064,"note":"Value kept but may cause issues"} 
[2026-07-27 08:05:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867658060322490368,"note":"Value kept but may cause issues"} 
[2026-07-27 08:05:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:05:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785119646000,"timestamp_ms":1785119646000,"timestamp_seconds":1785119646,"priority":1,"record_length":96,"hex_timestamp":"0000019fa16c2130"} 
[2026-07-27 08:05:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:05:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-27 08:05:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:05:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:05:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:05:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:05:07] local.INFO: Teltonika packet parsed successfully {"connection_id":142643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:05:07] local.INFO: Passing IMEI to GPS processor {"connection_id":142643,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:05:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":142643,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:05:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:05:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 08:05:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 08:05:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990628864001,"66":12765,"97":206,"85":15104,"24":7,"16":111509308193112064,"45":8867658060322490368},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-27 08:05:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 08:05:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 08:05:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990628864001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:05:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-27 08:05:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 08:05:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111509308193112064,"km_value":111509308193112.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:05:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867658060322490368,"description":"Unknown IO ID 45"} 
[2026-07-27 08:05:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990628864001,"power":12765,"unknown_97":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8867658060322490368}} 
[2026-07-27 08:05:07] local.INFO: DEBUG: GPS processor result {"connection_id":142643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551875,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:05:07] local.INFO: GPS data processed {"connection_id":142643,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:05:07] local.INFO: Acknowledgment sent {"connection_id":142643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:05:15] local.INFO: TCP Data received {"connection_id":145057,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 08:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145057,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 08:05:15] local.INFO: Processing buffer {"connection_id":145057,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 08:05:15] local.INFO: IMEI packet received {"connection_id":145057,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 08:05:15] local.INFO: IMEI acknowledgment sent {"connection_id":145057,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:05:30] local.INFO: TCP Data received {"connection_id":142645,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142645,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:05:30] local.INFO: Processing buffer {"connection_id":142645,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:05:30] local.INFO: IMEI packet received {"connection_id":142645,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 08:05:30] local.INFO: IMEI acknowledgment sent {"connection_id":142645,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:05:33] local.INFO: TCP Data received {"connection_id":143740,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:05:33] local.INFO: Processing buffer {"connection_id":143740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:05:33] local.INFO: IMEI packet received {"connection_id":143740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 08:05:33] local.INFO: IMEI acknowledgment sent {"connection_id":143740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:05:35] local.INFO: TCP Data received {"connection_id":142645,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142645,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:05:35] local.INFO: Processing buffer {"connection_id":142645,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:05:35] local.INFO: IMEI packet received {"connection_id":142645,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 08:05:35] local.INFO: IMEI acknowledgment sent {"connection_id":142645,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:05:36] local.INFO: TCP Data received {"connection_id":142645,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019fa16c2518012d7b114005e32520000900b224..."} 
[2026-07-27 08:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142645,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa16c2518012d7b114005e32520000900b224..."} 
[2026-07-27 08:05:36] local.INFO: Processing buffer {"connection_id":142645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa16c2518012d7b114005e32520000900b224..."} 
[2026-07-27 08:05:36] local.INFO: Packet analysis {"connection_id":142645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa16c"} 
[2026-07-27 08:05:36] local.INFO: Extracted packet for processing {"connection_id":142645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa16c"} 
[2026-07-27 08:05:36] local.INFO: GPS Element Parsed {"raw_longitude":763040064,"raw_latitude":98772256,"longitude_deg":76.3040064,"latitude_deg":9.8772256,"altitude":9,"angle":178,"satellites":36,"speed":6,"hex_longitude":"2d7b1140","hex_latitude":"05e32520","is_valid_coordinates":true} 
[2026-07-27 08:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:05:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990629376001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:05:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111509316783046656,"note":"Value kept but may cause issues"} 
[2026-07-27 08:05:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867939535299131392,"note":"Value kept but may cause issues"} 
[2026-07-27 08:05:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:05:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785119647000,"timestamp_ms":1785119647000,"timestamp_seconds":1785119647,"priority":1,"record_length":96,"hex_timestamp":"0000019fa16c2518"} 
[2026-07-27 08:05:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:05:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-27 08:05:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:05:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:05:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:05:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:05:36] local.INFO: Teltonika packet parsed successfully {"connection_id":142645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:05:36] local.INFO: Passing IMEI to GPS processor {"connection_id":142645,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:05:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":142645,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:05:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:05:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 08:05:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 08:05:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990629376001,"66":12939,"97":206,"85":15104,"24":6,"16":111509316783046656,"45":8867939535299131392},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-27 08:05:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 08:05:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 08:05:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990629376001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:05:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-27 08:05:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 08:05:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111509316783046656,"km_value":111509316783046.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:05:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867939535299131392,"description":"Unknown IO ID 45"} 
[2026-07-27 08:05:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990629376001,"power":12939,"unknown_97":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8867939535299131392}} 
[2026-07-27 08:05:37] local.INFO: DEBUG: GPS processor result {"connection_id":142645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551876,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:05:37] local.INFO: GPS data processed {"connection_id":142645,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:05:37] local.INFO: Acknowledgment sent {"connection_id":142645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:05:38] local.INFO: TCP Data received {"connection_id":143740,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:05:38] local.INFO: Processing buffer {"connection_id":143740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:05:38] local.INFO: IMEI packet received {"connection_id":143740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 08:05:38] local.INFO: IMEI acknowledgment sent {"connection_id":143740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:05:39] local.INFO: TCP Data received {"connection_id":143740,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fa16a5c10012d7f980005afd7c0000d00062a..."} 
[2026-07-27 08:05:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa16a5c10012d7f980005afd7c0000d00062a..."} 
[2026-07-27 08:05:39] local.INFO: Processing buffer {"connection_id":143740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa16a5c10012d7f980005afd7c0000d00062a..."} 
[2026-07-27 08:05:39] local.INFO: Packet analysis {"connection_id":143740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa16a"} 
[2026-07-27 08:05:39] local.INFO: Extracted packet for processing {"connection_id":143740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa16a"} 
[2026-07-27 08:05:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":13,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 08: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-07-27 08:05:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990522624001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:05:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 08:05:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 08:05:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:05:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785119530000,"timestamp_ms":1785119530000,"timestamp_seconds":1785119530,"priority":1,"record_length":96,"hex_timestamp":"0000019fa16a5c10"} 
[2026-07-27 08:05:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:05:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 08: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":31,"data_length":795,"current_offset":136} 
[2026-07-27 08:05: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-07-27 08: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-07-27 08:05:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:05:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:05:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:05:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:05:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:05:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:05:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:05:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:05:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990522624001,"66":25321,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 08:05:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:05:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:05:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990522624001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:05:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 08:05:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:05:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:05:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 08:05:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990522624001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 08:05:39] local.INFO: DEBUG: GPS processor result {"connection_id":143740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:05:39] local.INFO: GPS data processed {"connection_id":143740,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:05:39] local.INFO: Acknowledgment sent {"connection_id":143740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:05:45] local.INFO: TCP Data received {"connection_id":145058,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 08:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145058,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 08:05:45] local.INFO: Processing buffer {"connection_id":145058,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 08:05:45] local.INFO: IMEI packet received {"connection_id":145058,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 08:05:45] local.INFO: IMEI acknowledgment sent {"connection_id":145058,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:06:07] local.INFO: TCP Data received {"connection_id":142645,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019fa16c7720012d7b130005e31620000a00af23..."} 
[2026-07-27 08:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142645,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa16c7720012d7b130005e31620000a00af23..."} 
[2026-07-27 08:06:07] local.INFO: Processing buffer {"connection_id":142645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa16c7720012d7b130005e31620000a00af23..."} 
[2026-07-27 08:06:07] local.INFO: Packet analysis {"connection_id":142645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa16c"} 
[2026-07-27 08:06:07] local.INFO: Extracted packet for processing {"connection_id":142645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa16c"} 
[2026-07-27 08:06:07] local.INFO: GPS Element Parsed {"raw_longitude":763040512,"raw_latitude":98768416,"longitude_deg":76.3040512,"latitude_deg":9.8768416,"altitude":10,"angle":175,"satellites":35,"speed":17,"hex_longitude":"2d7b1300","hex_latitude":"05e31620","is_valid_coordinates":true} 
[2026-07-27 08:06:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:06:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990629632001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:06:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111509510056574976,"note":"Value kept but may cause issues"} 
[2026-07-27 08:06:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867939535299092480,"note":"Value kept but may cause issues"} 
[2026-07-27 08:06:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:06:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785119668000,"timestamp_ms":1785119668000,"timestamp_seconds":1785119668,"priority":1,"record_length":96,"hex_timestamp":"0000019fa16c7720"} 
[2026-07-27 08:06:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:06:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08:06:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-27 08:06:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:06:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:06:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:06:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:06:07] local.INFO: Teltonika packet parsed successfully {"connection_id":142645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:06:07] local.INFO: Passing IMEI to GPS processor {"connection_id":142645,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:06:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":142645,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:06:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:06:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 08:06:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 08:06:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990629632001,"66":13004,"97":206,"85":15104,"24":17,"16":111509510056574976,"45":8867939535299092480},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-27 08:06:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 08:06:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 08:06:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990629632001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:06:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-27 08:06:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 08:06:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111509510056574976,"km_value":111509510056574.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:06:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867939535299092480,"description":"Unknown IO ID 45"} 
[2026-07-27 08:06:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990629632001,"power":13004,"unknown_97":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":8867939535299092480}} 
[2026-07-27 08:06:07] local.INFO: DEBUG: GPS processor result {"connection_id":142645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551878,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:06:07] local.INFO: GPS data processed {"connection_id":142645,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:06:07] local.INFO: Acknowledgment sent {"connection_id":142645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:06:10] local.INFO: TCP Data received {"connection_id":143740,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fa16a5c10012d7f980005afd7c0000d00062a..."} 
[2026-07-27 08:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa16a5c10012d7f980005afd7c0000d00062a..."} 
[2026-07-27 08:06:10] local.INFO: Processing buffer {"connection_id":143740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa16a5c10012d7f980005afd7c0000d00062a..."} 
[2026-07-27 08:06:10] local.INFO: Packet analysis {"connection_id":143740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa16a"} 
[2026-07-27 08:06:10] local.INFO: Extracted packet for processing {"connection_id":143740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa16a"} 
[2026-07-27 08:06:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":13,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 08:06:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:06:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990522624001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:06:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 08:06:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 08:06:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:06:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785119530000,"timestamp_ms":1785119530000,"timestamp_seconds":1785119530,"priority":1,"record_length":96,"hex_timestamp":"0000019fa16a5c10"} 
[2026-07-27 08:06:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:06:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 08: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-07-27 08: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-07-27 08:06:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:06:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:06:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:06:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:06:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:06:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:06:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:06:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:06:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:06:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990522624001,"66":25321,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 08:06:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:06:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:06:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990522624001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:06:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 08:06:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:06:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:06:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 08:06:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990522624001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 08:06:10] local.INFO: DEBUG: GPS processor result {"connection_id":143740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:06:10] local.INFO: GPS data processed {"connection_id":143740,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:06:10] local.INFO: Acknowledgment sent {"connection_id":143740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:06:30] local.INFO: TCP Data received {"connection_id":143742,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143742,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:06:30] local.INFO: Processing buffer {"connection_id":143742,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:06:30] local.INFO: IMEI packet received {"connection_id":143742,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 08:06:30] local.INFO: IMEI acknowledgment sent {"connection_id":143742,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:06:33] local.INFO: TCP Data received {"connection_id":143741,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:06:33] local.INFO: Processing buffer {"connection_id":143741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:06:33] local.INFO: IMEI packet received {"connection_id":143741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 08:06:33] local.INFO: IMEI acknowledgment sent {"connection_id":143741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:06:35] local.INFO: TCP Data received {"connection_id":143742,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143742,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:06:35] local.INFO: Processing buffer {"connection_id":143742,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:06:35] local.INFO: IMEI packet received {"connection_id":143742,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 08:06:35] local.INFO: IMEI acknowledgment sent {"connection_id":143742,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:06:36] local.INFO: TCP Data received {"connection_id":143742,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019fa16df208012d7b1ac005e2b5500007015f20..."} 
[2026-07-27 08:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143742,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa16df208012d7b1ac005e2b5500007015f20..."} 
[2026-07-27 08:06:36] local.INFO: Processing buffer {"connection_id":143742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa16df208012d7b1ac005e2b5500007015f20..."} 
[2026-07-27 08:06:36] local.INFO: Packet analysis {"connection_id":143742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa16d"} 
[2026-07-27 08:06:36] local.INFO: Extracted packet for processing {"connection_id":143742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa16d"} 
[2026-07-27 08:06:36] local.INFO: GPS Element Parsed {"raw_longitude":763042496,"raw_latitude":98743632,"longitude_deg":76.3042496,"latitude_deg":9.8743632,"altitude":7,"angle":351,"satellites":32,"speed":41,"hex_longitude":"2d7b1ac0","hex_latitude":"05e2b550","is_valid_coordinates":true} 
[2026-07-27 08:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:06:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990656512001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:06:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111511700489895936,"note":"Value kept but may cause issues"} 
[2026-07-27 08:06:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8872443134916812800,"note":"Value kept but may cause issues"} 
[2026-07-27 08:06:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:06:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785119765000,"timestamp_ms":1785119765000,"timestamp_seconds":1785119765,"priority":1,"record_length":96,"hex_timestamp":"0000019fa16df208"} 
[2026-07-27 08:06:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:06:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-27 08:06:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:06:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:06:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:06:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:06:36] local.INFO: Teltonika packet parsed successfully {"connection_id":143742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:06:36] local.INFO: Passing IMEI to GPS processor {"connection_id":143742,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:06:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":143742,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:06:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:06:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 08:06:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 08:06:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990656512001,"66":12982,"96":206,"85":15104,"24":41,"16":111511700489895936,"45":8872443134916812800},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-07-27 08:06:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 08:06:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 08:06:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990656512001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:06:36] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-27 08:06:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 08:06:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111511700489895936,"km_value":111511700489895.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:06:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8872443134916812800,"description":"Unknown IO ID 45"} 
[2026-07-27 08:06:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990656512001,"power":12982,"unknown_96":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":8872443134916812800}} 
[2026-07-27 08:06:36] local.INFO: DEBUG: GPS processor result {"connection_id":143742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551880,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:06:36] local.INFO: GPS data processed {"connection_id":143742,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:06:36] local.INFO: Acknowledgment sent {"connection_id":143742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:06:38] local.INFO: TCP Data received {"connection_id":143741,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:06:38] local.INFO: Processing buffer {"connection_id":143741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:06:38] local.INFO: IMEI packet received {"connection_id":143741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 08:06:38] local.INFO: IMEI acknowledgment sent {"connection_id":143741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:06:38] local.INFO: TCP Data received {"connection_id":143741,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fa16a5c10012d7f980005afd7c0000d00062a..."} 
[2026-07-27 08:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa16a5c10012d7f980005afd7c0000d00062a..."} 
[2026-07-27 08:06:38] local.INFO: Processing buffer {"connection_id":143741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa16a5c10012d7f980005afd7c0000d00062a..."} 
[2026-07-27 08:06:38] local.INFO: Packet analysis {"connection_id":143741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa16a"} 
[2026-07-27 08:06:38] local.INFO: Extracted packet for processing {"connection_id":143741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa16a"} 
[2026-07-27 08:06:38] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":13,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 08:06:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:06:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990522624001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:06:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 08:06:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 08:06:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:06:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785119530000,"timestamp_ms":1785119530000,"timestamp_seconds":1785119530,"priority":1,"record_length":96,"hex_timestamp":"0000019fa16a5c10"} 
[2026-07-27 08:06:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:06:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 08:06:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 08:06:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:06:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:06:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:06:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:06:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:06:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:06:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:06:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:06:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:06:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:06:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990522624001,"66":25321,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 08:06:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:06:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:06:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990522624001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:06:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 08:06:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:06:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:06:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 08:06:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990522624001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 08:06:38] local.INFO: DEBUG: GPS processor result {"connection_id":143741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:06:38] local.INFO: GPS data processed {"connection_id":143741,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:06:38] local.INFO: Acknowledgment sent {"connection_id":143741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:07:08] local.INFO: TCP Data received {"connection_id":143742,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019fa16e1148012d7b150005e2d990000801601c..."} 
[2026-07-27 08:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143742,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa16e1148012d7b150005e2d990000801601c..."} 
[2026-07-27 08:07:08] local.INFO: Processing buffer {"connection_id":143742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa16e1148012d7b150005e2d990000801601c..."} 
[2026-07-27 08:07:08] local.INFO: Packet analysis {"connection_id":143742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa16e"} 
[2026-07-27 08:07:08] local.INFO: Extracted packet for processing {"connection_id":143742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa16e"} 
[2026-07-27 08:07:08] local.INFO: GPS Element Parsed {"raw_longitude":763041024,"raw_latitude":98752912,"longitude_deg":76.3041024,"latitude_deg":9.8752912,"altitude":8,"angle":352,"satellites":28,"speed":45,"hex_longitude":"2d7b1500","hex_latitude":"05e2d990","is_valid_coordinates":true} 
[2026-07-27 08:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:07:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990659840001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:07:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111512155756429312,"note":"Value kept but may cause issues"} 
[2026-07-27 08:07:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8870613547570515968,"note":"Value kept but may cause issues"} 
[2026-07-27 08:07:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:07:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785119773000,"timestamp_ms":1785119773000,"timestamp_seconds":1785119773,"priority":1,"record_length":96,"hex_timestamp":"0000019fa16e1148"} 
[2026-07-27 08:07:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:07:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-27 08:07:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:07:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:07:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:07:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:07:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:07:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143742,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:07:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143742,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:07:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:07:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 08:07:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 08:07:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990659840001,"66":13189,"96":206,"85":15104,"24":45,"16":111512155756429312,"45":8870613547570515968},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-07-27 08:07:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 08:07:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 08:07:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990659840001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:07:08] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-27 08:07:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 08:07:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111512155756429312,"km_value":111512155756429.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:07:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8870613547570515968,"description":"Unknown IO ID 45"} 
[2026-07-27 08:07:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990659840001,"power":13189,"unknown_96":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":8870613547570515968}} 
[2026-07-27 08:07:08] local.INFO: DEBUG: GPS processor result {"connection_id":143742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551882,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:07:08] local.INFO: GPS data processed {"connection_id":143742,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:07:08] local.INFO: Acknowledgment sent {"connection_id":143742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:07:09] local.INFO: TCP Data received {"connection_id":143741,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fa16a5c10012d7f980005afd7c0000d00062a..."} 
[2026-07-27 08:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa16a5c10012d7f980005afd7c0000d00062a..."} 
[2026-07-27 08:07:09] local.INFO: Processing buffer {"connection_id":143741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa16a5c10012d7f980005afd7c0000d00062a..."} 
[2026-07-27 08:07:09] local.INFO: Packet analysis {"connection_id":143741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa16a"} 
[2026-07-27 08:07:09] local.INFO: Extracted packet for processing {"connection_id":143741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa16a"} 
[2026-07-27 08:07:09] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":13,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 08:07:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:07:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990522624001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:07:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 08:07:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 08:07:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:07:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785119530000,"timestamp_ms":1785119530000,"timestamp_seconds":1785119530,"priority":1,"record_length":96,"hex_timestamp":"0000019fa16a5c10"} 
[2026-07-27 08:07:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:07:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 08:07:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 08:07:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:07:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:07:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:07:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:07:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:07:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:07:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:07:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:07:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:07:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:07:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990522624001,"66":25321,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 08:07:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:07:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:07:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990522624001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:07:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 08:07:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:07:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:07:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 08:07:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990522624001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 08:07:09] local.INFO: DEBUG: GPS processor result {"connection_id":143741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:07:09] local.INFO: GPS data processed {"connection_id":143741,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:07:09] local.INFO: Acknowledgment sent {"connection_id":143741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:07:32] local.INFO: TCP Data received {"connection_id":142765,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:07:32] local.INFO: Processing buffer {"connection_id":142765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:07:32] local.INFO: IMEI packet received {"connection_id":142765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 08:07:32] local.INFO: IMEI acknowledgment sent {"connection_id":142765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:07:34] local.INFO: TCP Data received {"connection_id":142646,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142646,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:07:34] local.INFO: Processing buffer {"connection_id":142646,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:07:34] local.INFO: IMEI packet received {"connection_id":142646,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 08:07:34] local.INFO: IMEI acknowledgment sent {"connection_id":142646,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:07:35] local.INFO: TCP Data received {"connection_id":142646,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142646,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:07:35] local.INFO: Processing buffer {"connection_id":142646,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:07:35] local.INFO: IMEI packet received {"connection_id":142646,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 08:07:35] local.INFO: IMEI acknowledgment sent {"connection_id":142646,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:07:36] local.INFO: TCP Data received {"connection_id":142646,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142646,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:07:36] local.INFO: Processing buffer {"connection_id":142646,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:07:36] local.INFO: IMEI packet received {"connection_id":142646,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 08:07:36] local.INFO: IMEI acknowledgment sent {"connection_id":142646,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:07:37] local.INFO: TCP Data received {"connection_id":142646,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019fa16e3858012d7b0f8005e2fc680008015b16..."} 
[2026-07-27 08:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa16e3858012d7b0f8005e2fc680008015b16..."} 
[2026-07-27 08:07:37] local.INFO: Processing buffer {"connection_id":142646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa16e3858012d7b0f8005e2fc680008015b16..."} 
[2026-07-27 08:07:37] local.INFO: Packet analysis {"connection_id":142646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa16e"} 
[2026-07-27 08:07:37] local.INFO: Extracted packet for processing {"connection_id":142646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa16e"} 
[2026-07-27 08:07:37] local.INFO: GPS Element Parsed {"raw_longitude":763039616,"raw_latitude":98761832,"longitude_deg":76.3039616,"latitude_deg":9.8761832,"altitude":8,"angle":347,"satellites":22,"speed":16,"hex_longitude":"2d7b0f80","hex_latitude":"05e2fc68","is_valid_coordinates":true} 
[2026-07-27 08:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990661888001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111512593843093504,"note":"Value kept but may cause issues"} 
[2026-07-27 08:07:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8868995066456805376,"note":"Value kept but may cause issues"} 
[2026-07-27 08:07:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785119783000,"timestamp_ms":1785119783000,"timestamp_seconds":1785119783,"priority":1,"record_length":96,"hex_timestamp":"0000019fa16e3858"} 
[2026-07-27 08:07:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:07:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-27 08:07:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:07:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:07:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":142646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":142646,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":142646,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:07:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 08:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 08:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990661888001,"66":12906,"96":206,"85":15104,"24":16,"16":111512593843093504,"45":8868995066456805376},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-07-27 08:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 08:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 08:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990661888001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:07:37] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-27 08:07:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 08:07:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111512593843093504,"km_value":111512593843093.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:07:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8868995066456805376,"description":"Unknown IO ID 45"} 
[2026-07-27 08:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990661888001,"power":12906,"unknown_96":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":8868995066456805376}} 
[2026-07-27 08:07:37] local.INFO: DEBUG: GPS processor result {"connection_id":142646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551884,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:07:37] local.INFO: GPS data processed {"connection_id":142646,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:07:37] local.INFO: Acknowledgment sent {"connection_id":142646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:07:38] local.INFO: TCP Data received {"connection_id":142765,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:07:38] local.INFO: Processing buffer {"connection_id":142765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:07:38] local.INFO: IMEI packet received {"connection_id":142765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 08:07:38] local.INFO: IMEI acknowledgment sent {"connection_id":142765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:07:39] local.INFO: TCP Data received {"connection_id":142765,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fa16a5c10012d7f980005afd7c0000d00062a..."} 
[2026-07-27 08:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa16a5c10012d7f980005afd7c0000d00062a..."} 
[2026-07-27 08:07:39] local.INFO: Processing buffer {"connection_id":142765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa16a5c10012d7f980005afd7c0000d00062a..."} 
[2026-07-27 08:07:39] local.INFO: Packet analysis {"connection_id":142765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa16a"} 
[2026-07-27 08:07:39] local.INFO: Extracted packet for processing {"connection_id":142765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa16a"} 
[2026-07-27 08:07:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":13,"angle":6,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 08:07:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:07:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990522624001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:07:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 08:07:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 08:07:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:07:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785119530000,"timestamp_ms":1785119530000,"timestamp_seconds":1785119530,"priority":1,"record_length":96,"hex_timestamp":"0000019fa16a5c10"} 
[2026-07-27 08:07:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:07:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 08:07:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 08:07: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-07-27 08:07:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:07:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:07:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:07:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:07:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:07:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:07:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:07:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:07:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:07:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990522624001,"66":25321,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 08:07:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:07:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:07:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990522624001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:07:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 08:07:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:07:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:07:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 08:07:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990522624001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 08:07:39] local.INFO: DEBUG: GPS processor result {"connection_id":142765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:07:39] local.INFO: GPS data processed {"connection_id":142765,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:07:39] local.INFO: Acknowledgment sent {"connection_id":142765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:08:09] local.INFO: TCP Data received {"connection_id":142646,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019fa16e4028012d7b0f8005e2fe680008000318..."} 
[2026-07-27 08:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa16e4028012d7b0f8005e2fe680008000318..."} 
[2026-07-27 08:08:09] local.INFO: Processing buffer {"connection_id":142646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa16e4028012d7b0f8005e2fe680008000318..."} 
[2026-07-27 08:08:09] local.INFO: Packet analysis {"connection_id":142646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa16e"} 
[2026-07-27 08:08:09] local.INFO: Extracted packet for processing {"connection_id":142646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa16e"} 
[2026-07-27 08:08:09] local.INFO: GPS Element Parsed {"raw_longitude":763039616,"raw_latitude":98762344,"longitude_deg":76.3039616,"latitude_deg":9.8762344,"altitude":8,"angle":3,"satellites":24,"speed":5,"hex_longitude":"2d7b0f80","hex_latitude":"05e2fe68","is_valid_coordinates":true} 
[2026-07-27 08:08:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:08:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990664448001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:08:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111512619612897280,"note":"Value kept but may cause issues"} 
[2026-07-27 08:08:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867446954087180288,"note":"Value kept but may cause issues"} 
[2026-07-27 08:08:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:08:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785119785000,"timestamp_ms":1785119785000,"timestamp_seconds":1785119785,"priority":1,"record_length":96,"hex_timestamp":"0000019fa16e4028"} 
[2026-07-27 08:08:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:08:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08:08:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-07-27 08:08:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:08:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:08:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:08:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:08:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:08:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142646,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:08:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142646,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:08:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:08:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 08:08:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 08:08:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990664448001,"66":12863,"96":206,"85":15104,"24":5,"16":111512619612897280,"45":8867446954087180288},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-07-27 08:08:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 08:08:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 08:08:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990664448001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:08:09] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-27 08:08:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 08:08:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111512619612897280,"km_value":111512619612897.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:08:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867446954087180288,"description":"Unknown IO ID 45"} 
[2026-07-27 08:08:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990664448001,"power":12863,"unknown_96":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8867446954087180288}} 
[2026-07-27 08:08:09] local.INFO: DEBUG: GPS processor result {"connection_id":142646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551886,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:08:09] local.INFO: GPS data processed {"connection_id":142646,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:08:09] local.INFO: Acknowledgment sent {"connection_id":142646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:08:09] local.INFO: TCP Data received {"connection_id":142765,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fa16ef3d8012d7f980005afd7c0000d000629..."} 
[2026-07-27 08:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa16ef3d8012d7f980005afd7c0000d000629..."} 
[2026-07-27 08:08:09] local.INFO: Processing buffer {"connection_id":142765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa16ef3d8012d7f980005afd7c0000d000629..."} 
[2026-07-27 08:08:09] local.INFO: Packet analysis {"connection_id":142765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa16e"} 
[2026-07-27 08:08:09] local.INFO: Extracted packet for processing {"connection_id":142765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa16e"} 
[2026-07-27 08:08:09] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":13,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 08:08:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:08:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990599680001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:08:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 08:08:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 08:08:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:08:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785119831000,"timestamp_ms":1785119831000,"timestamp_seconds":1785119831,"priority":1,"record_length":96,"hex_timestamp":"0000019fa16ef3d8"} 
[2026-07-27 08:08:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:08:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 08:08:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 08:08:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:08:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:08:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:08:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:08:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:08:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:08:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08: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-07-27 08:08:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:08:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:08:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990599680001,"66":25191,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 08:08:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:08:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:08:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990599680001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:08:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 08:08:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:08:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:08:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 08:08:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990599680001,"power":25191,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 08:08:09] local.INFO: DEBUG: GPS processor result {"connection_id":142765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:08:09] local.INFO: GPS data processed {"connection_id":142765,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:08:09] local.INFO: Acknowledgment sent {"connection_id":142765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:08:30] local.INFO: TCP Data received {"connection_id":143743,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143743,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:08:30] local.INFO: Processing buffer {"connection_id":143743,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:08:30] local.INFO: IMEI packet received {"connection_id":143743,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 08:08:30] local.INFO: IMEI acknowledgment sent {"connection_id":143743,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:08:32] local.INFO: TCP Data received {"connection_id":143744,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:08:32] local.INFO: Processing buffer {"connection_id":143744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:08:32] local.INFO: IMEI packet received {"connection_id":143744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 08:08:32] local.INFO: IMEI acknowledgment sent {"connection_id":143744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:08:35] local.INFO: TCP Data received {"connection_id":143743,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143743,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:08:35] local.INFO: Processing buffer {"connection_id":143743,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:08:35] local.INFO: IMEI packet received {"connection_id":143743,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 08:08:35] local.INFO: IMEI acknowledgment sent {"connection_id":143743,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:08:36] local.INFO: TCP Data received {"connection_id":143743,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019fa16e6b20012d7b0f0005e2fe880007001118..."} 
[2026-07-27 08:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143743,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa16e6b20012d7b0f0005e2fe880007001118..."} 
[2026-07-27 08:08:36] local.INFO: Processing buffer {"connection_id":143743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa16e6b20012d7b0f0005e2fe880007001118..."} 
[2026-07-27 08:08:36] local.INFO: Packet analysis {"connection_id":143743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa16e"} 
[2026-07-27 08:08:36] local.INFO: Extracted packet for processing {"connection_id":143743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa16e"} 
[2026-07-27 08:08:36] local.INFO: GPS Element Parsed {"raw_longitude":763039488,"raw_latitude":98762376,"longitude_deg":76.3039488,"latitude_deg":9.8762376,"altitude":7,"angle":17,"satellites":24,"speed":4,"hex_longitude":"2d7b0f00","hex_latitude":"05e2fe88","is_valid_coordinates":true} 
[2026-07-27 08:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:08:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990664960001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:08:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111512653972635648,"note":"Value kept but may cause issues"} 
[2026-07-27 08:08:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867446954087311360,"note":"Value kept but may cause issues"} 
[2026-07-27 08:08:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:08:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785119796000,"timestamp_ms":1785119796000,"timestamp_seconds":1785119796,"priority":1,"record_length":96,"hex_timestamp":"0000019fa16e6b20"} 
[2026-07-27 08:08:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:08:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-27 08:08:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:08:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:08:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:08:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:08:36] local.INFO: Teltonika packet parsed successfully {"connection_id":143743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:08:36] local.INFO: Passing IMEI to GPS processor {"connection_id":143743,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:08:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":143743,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:08:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:08:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 08:08:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 08:08:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990664960001,"66":12765,"96":206,"85":15104,"24":4,"16":111512653972635648,"45":8867446954087311360},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-07-27 08:08:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 08:08:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 08:08:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990664960001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:08:36] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-27 08:08:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 08:08:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111512653972635648,"km_value":111512653972635.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:08:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867446954087311360,"description":"Unknown IO ID 45"} 
[2026-07-27 08:08:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990664960001,"power":12765,"unknown_96":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":8867446954087311360}} 
[2026-07-27 08:08:36] local.INFO: DEBUG: GPS processor result {"connection_id":143743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551888,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:08:36] local.INFO: GPS data processed {"connection_id":143743,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:08:36] local.INFO: Acknowledgment sent {"connection_id":143743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:08:38] local.INFO: TCP Data received {"connection_id":143744,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:08:38] local.INFO: Processing buffer {"connection_id":143744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:08:38] local.INFO: IMEI packet received {"connection_id":143744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 08:08:38] local.INFO: IMEI acknowledgment sent {"connection_id":143744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:08:39] local.INFO: TCP Data received {"connection_id":143744,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa16ef3d8012d7f980005afd7c0000d000629..."} 
[2026-07-27 08:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa16ef3d8012d7f980005afd7c0000d000629..."} 
[2026-07-27 08:08:39] local.INFO: Processing buffer {"connection_id":143744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa16ef3d8012d7f980005afd7c0000d000629..."} 
[2026-07-27 08:08:39] local.INFO: Packet analysis {"connection_id":143744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa16e"} 
[2026-07-27 08:08:39] local.INFO: Extracted packet for processing {"connection_id":143744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa16e"} 
[2026-07-27 08:08:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":13,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 08: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-07-27 08:08:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990599680001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:08:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 08:08:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 08:08:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:08:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785119831000,"timestamp_ms":1785119831000,"timestamp_seconds":1785119831,"priority":1,"record_length":96,"hex_timestamp":"0000019fa16ef3d8"} 
[2026-07-27 08:08:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:08:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 08:08:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 08:08:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08: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-07-27 08:08:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:08:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:08:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:08:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:08:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:08:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:08:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:08:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:08:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990599680001,"66":25191,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 08:08:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:08:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:08:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990599680001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:08:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 08:08:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:08:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:08:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 08:08:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990599680001,"power":25191,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 08:08:39] local.INFO: DEBUG: GPS processor result {"connection_id":143744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:08:39] local.INFO: GPS data processed {"connection_id":143744,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:08:39] local.INFO: Acknowledgment sent {"connection_id":143744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:09:08] local.INFO: TCP Data received {"connection_id":143743,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019fa16e72f0012d7b0f0005e2ffb8000700011b..."} 
[2026-07-27 08:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143743,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa16e72f0012d7b0f0005e2ffb8000700011b..."} 
[2026-07-27 08:09:08] local.INFO: Processing buffer {"connection_id":143743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa16e72f0012d7b0f0005e2ffb8000700011b..."} 
[2026-07-27 08:09:08] local.INFO: Packet analysis {"connection_id":143743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa16e"} 
[2026-07-27 08:09:08] local.INFO: Extracted packet for processing {"connection_id":143743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa16e"} 
[2026-07-27 08:09:08] local.INFO: GPS Element Parsed {"raw_longitude":763039488,"raw_latitude":98762680,"longitude_deg":76.3039488,"latitude_deg":9.876268,"altitude":7,"angle":1,"satellites":27,"speed":7,"hex_longitude":"2d7b0f00","hex_latitude":"05e2ffb8","is_valid_coordinates":true} 
[2026-07-27 08:09:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:09:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990667776001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:09:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111512671152504832,"note":"Value kept but may cause issues"} 
[2026-07-27 08:09:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867306216598964224,"note":"Value kept but may cause issues"} 
[2026-07-27 08:09:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:09:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785119798000,"timestamp_ms":1785119798000,"timestamp_seconds":1785119798,"priority":1,"record_length":96,"hex_timestamp":"0000019fa16e72f0"} 
[2026-07-27 08:09:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:09:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-27 08:09:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:09:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:09:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:09:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:09:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:09:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143743,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:09:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143743,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:09:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:09:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 08:09:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 08:09:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990667776001,"66":12765,"96":206,"85":15104,"24":7,"16":111512671152504832,"45":8867306216598964224},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-07-27 08:09:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 08:09:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 08:09:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990667776001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:09:08] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-27 08:09:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 08:09:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111512671152504832,"km_value":111512671152504.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:09:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867306216598964224,"description":"Unknown IO ID 45"} 
[2026-07-27 08:09:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990667776001,"power":12765,"unknown_96":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8867306216598964224}} 
[2026-07-27 08:09:08] local.INFO: DEBUG: GPS processor result {"connection_id":143743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551890,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:09:08] local.INFO: GPS data processed {"connection_id":143743,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:09:08] local.INFO: Acknowledgment sent {"connection_id":143743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:09:10] local.INFO: TCP Data received {"connection_id":143744,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa16ef3d8012d7f980005afd7c0000d000629..."} 
[2026-07-27 08:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa16ef3d8012d7f980005afd7c0000d000629..."} 
[2026-07-27 08:09:10] local.INFO: Processing buffer {"connection_id":143744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa16ef3d8012d7f980005afd7c0000d000629..."} 
[2026-07-27 08:09:10] local.INFO: Packet analysis {"connection_id":143744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa16e"} 
[2026-07-27 08:09:10] local.INFO: Extracted packet for processing {"connection_id":143744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa16e"} 
[2026-07-27 08:09:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":13,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 08:09:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990599680001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:09:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 08:09:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 08:09:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:09:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785119831000,"timestamp_ms":1785119831000,"timestamp_seconds":1785119831,"priority":1,"record_length":96,"hex_timestamp":"0000019fa16ef3d8"} 
[2026-07-27 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-07-27 08:09:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 08:09:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 08:09:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:09:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:09:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:09:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:09:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:09:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:09:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:09:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990599680001,"66":25191,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 08:09:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:09:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:09:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990599680001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:09:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 08:09:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:09:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:09:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 08:09:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990599680001,"power":25191,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 08:09:10] local.INFO: DEBUG: GPS processor result {"connection_id":143744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:09:10] local.INFO: GPS data processed {"connection_id":143744,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:09:10] local.INFO: Acknowledgment sent {"connection_id":143744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:09:30] local.INFO: TCP Data received {"connection_id":143745,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143745,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:09:30] local.INFO: Processing buffer {"connection_id":143745,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:09:30] local.INFO: IMEI packet received {"connection_id":143745,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 08:09:30] local.INFO: IMEI acknowledgment sent {"connection_id":143745,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:09:35] local.INFO: TCP Data received {"connection_id":143745,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143745,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:09:35] local.INFO: Processing buffer {"connection_id":143745,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:09:35] local.INFO: IMEI packet received {"connection_id":143745,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 08:09:35] local.INFO: IMEI acknowledgment sent {"connection_id":143745,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:09:36] local.INFO: TCP Data received {"connection_id":143745,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1707690012d7aed0005e39678000a015329..."} 
[2026-07-27 08:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1707690012d7aed0005e39678000a015329..."} 
[2026-07-27 08:09:36] local.INFO: Processing buffer {"connection_id":143745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1707690012d7aed0005e39678000a015329..."} 
[2026-07-27 08:09:36] local.INFO: Packet analysis {"connection_id":143745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa170"} 
[2026-07-27 08:09:36] local.INFO: Extracted packet for processing {"connection_id":143745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa170"} 
[2026-07-27 08:09:36] local.INFO: GPS Element Parsed {"raw_longitude":763030784,"raw_latitude":98801272,"longitude_deg":76.3030784,"latitude_deg":9.8801272,"altitude":10,"angle":339,"satellites":41,"speed":7,"hex_longitude":"2d7aed00","hex_latitude":"05e39678","is_valid_coordinates":true} 
[2026-07-27 08:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:09:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990701312001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:09:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111514616772689920,"note":"Value kept but may cause issues"} 
[2026-07-27 08:09:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8858158279865667584,"note":"Value kept but may cause issues"} 
[2026-07-27 08:09:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:09:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785119930000,"timestamp_ms":1785119930000,"timestamp_seconds":1785119930,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1707690"} 
[2026-07-27 08:09:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:09:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-27 08:09:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-07-27 08:09:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-27 08:09:36] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2708410160,"note":"Value kept but may cause issues"} 
[2026-07-27 08:09:36] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-27 08:09:36] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505301183299584,"note":"Value kept but may cause issues"} 
[2026-07-27 08:09:36] local.WARNING: Large IO value detected {"io_id":161,"raw_value":7988374193315710976,"note":"Value kept but may cause issues"} 
[2026-07-27 08:09:36] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6269274568389886208,"note":"Value kept but may cause issues"} 
[2026-07-27 08:09:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-6457879504479387624,"corrected_to":0} 
[2026-07-27 08:09:36] local.WARNING: Large IO value detected {"io_id":73,"raw_value":3355520379,"note":"Value kept but may cause issues"} 
[2026-07-27 08:09:36] local.WARNING: Large IO value detected {"io_id":3,"raw_value":2147869510,"note":"Value kept but may cause issues"} 
[2026-07-27 08:09:36] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":1125939048089856,"corrected_to":0} 
[2026-07-27 08:09:36] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182212529750272,"note":"Value kept but may cause issues"} 
[2026-07-27 08:09:36] local.WARNING: Large IO value detected {"io_id":51,"raw_value":-8862857952189428139,"note":"Value kept but may cause issues"} 
[2026-07-27 08:09:36] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-2078648722492660961,"note":"Value kept but may cause issues"} 
[2026-07-27 08:09:36] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755446685827313,"note":"Value kept but may cause issues"} 
[2026-07-27 08:09:36] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195128320,"note":"Value kept but may cause issues"} 
[2026-07-27 08:09:36] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,97,85,24,241,157,16,45,159,71,137,9,42,10,66,245,128,127,6,40,163,64,1,240,62,227,161,4,113,205,73,3,200,38,239,51,2,140,5,11,59,243,69],"length":625,"final_offset":755,"validated_count":43,"validation_warnings":[{"io_id":205,"original":-6457879504479387624,"validated":0},{"io_id":200,"original":1125939048089856,"validated":0}]} 
[2026-07-27 08:09:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720934557264248832,"timestamp_seconds":720934557264248.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 08:09:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:09:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:09:36] local.INFO: Teltonika packet parsed successfully {"connection_id":143745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:09:36] local.INFO: Passing IMEI to GPS processor {"connection_id":143745,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:09:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":143745,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:09:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:09:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 08:09:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 08:09:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990701312001,"66":12939,"97":206,"85":15104,"24":7,"16":111514616772689920,"45":8858158279865667584},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-27 08:09:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 08:09:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 08:09:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990701312001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:09:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-27 08:09:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 08:09:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111514616772689920,"km_value":111514616772689.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:09:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8858158279865667584,"description":"Unknown IO ID 45"} 
[2026-07-27 08:09:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990701312001,"power":12939,"unknown_97":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8858158279865667584}} 
[2026-07-27 08:09:36] local.INFO: DEBUG: GPS processor result {"connection_id":143745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551892,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:09:36] local.INFO: GPS data processed {"connection_id":143745,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:09:36] local.INFO: Acknowledgment sent {"connection_id":143745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:09:37] local.INFO: TCP Data received {"connection_id":142649,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:09:37] local.INFO: Processing buffer {"connection_id":142649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:09:37] local.INFO: IMEI packet received {"connection_id":142649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 08:09:37] local.INFO: IMEI acknowledgment sent {"connection_id":142649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:09:46] local.INFO: TCP Data received {"connection_id":142649,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:09:46] local.INFO: Processing buffer {"connection_id":142649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:09:46] local.INFO: IMEI packet received {"connection_id":142649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 08:09:46] local.INFO: IMEI acknowledgment sent {"connection_id":142649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:09:47] local.INFO: TCP Data received {"connection_id":142649,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa16ef3d8012d7f980005afd7c0000d000629..."} 
[2026-07-27 08:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa16ef3d8012d7f980005afd7c0000d000629..."} 
[2026-07-27 08:09:47] local.INFO: Processing buffer {"connection_id":142649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa16ef3d8012d7f980005afd7c0000d000629..."} 
[2026-07-27 08:09:47] local.INFO: Packet analysis {"connection_id":142649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa16e"} 
[2026-07-27 08:09:47] local.INFO: Extracted packet for processing {"connection_id":142649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa16e"} 
[2026-07-27 08:09:47] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":13,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 08:09:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:09:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990599680001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:09:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 08:09:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 08:09:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:09:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785119831000,"timestamp_ms":1785119831000,"timestamp_seconds":1785119831,"priority":1,"record_length":96,"hex_timestamp":"0000019fa16ef3d8"} 
[2026-07-27 08:09:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:09:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 08:09:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 08:09:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:09:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:09:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:09:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:09:47] local.INFO: Teltonika packet parsed successfully {"connection_id":142649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:09:47] local.INFO: Passing IMEI to GPS processor {"connection_id":142649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:09:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":142649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:09:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:09:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:09:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:09:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990599680001,"66":25191,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 08:09:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:09:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:09:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990599680001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:09:47] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 08:09:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:09:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:09:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 08:09:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990599680001,"power":25191,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 08:09:47] local.INFO: DEBUG: GPS processor result {"connection_id":142649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:09:47] local.INFO: GPS data processed {"connection_id":142649,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:09:47] local.INFO: Acknowledgment sent {"connection_id":142649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:09:48] local.INFO: TCP Data received {"connection_id":142649,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa16ef3d8012d7f980005afd7c0000d000629..."} 
[2026-07-27 08:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa16ef3d8012d7f980005afd7c0000d000629..."} 
[2026-07-27 08:09:48] local.INFO: Processing buffer {"connection_id":142649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa16ef3d8012d7f980005afd7c0000d000629..."} 
[2026-07-27 08:09:48] local.INFO: Packet analysis {"connection_id":142649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa16e"} 
[2026-07-27 08:09:48] local.INFO: Extracted packet for processing {"connection_id":142649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa16e"} 
[2026-07-27 08:09:48] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":13,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 08:09:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:09:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990599680001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:09:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 08:09:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 08:09:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:09:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785119831000,"timestamp_ms":1785119831000,"timestamp_seconds":1785119831,"priority":1,"record_length":96,"hex_timestamp":"0000019fa16ef3d8"} 
[2026-07-27 08:09:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:09:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 08:09:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 08:09:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:09:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:09:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:09:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:09:48] local.INFO: Teltonika packet parsed successfully {"connection_id":142649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:09:48] local.INFO: Passing IMEI to GPS processor {"connection_id":142649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:09:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":142649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:09:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:09:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:09:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:09:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990599680001,"66":25191,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 08:09:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:09:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:09:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990599680001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:09:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 08:09:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:09:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:09:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 08:09:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990599680001,"power":25191,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 08:09:48] local.INFO: DEBUG: GPS processor result {"connection_id":142649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:09:48] local.INFO: GPS data processed {"connection_id":142649,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:09:48] local.INFO: Acknowledgment sent {"connection_id":142649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:10:09] local.INFO: TCP Data received {"connection_id":143745,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019fa170c4b0012d7aecc005e397380009015329..."} 
[2026-07-27 08:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa170c4b0012d7aecc005e397380009015329..."} 
[2026-07-27 08:10:09] local.INFO: Processing buffer {"connection_id":143745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa170c4b0012d7aecc005e397380009015329..."} 
[2026-07-27 08:10:09] local.INFO: Packet analysis {"connection_id":143745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa170"} 
[2026-07-27 08:10:09] local.INFO: Extracted packet for processing {"connection_id":143745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa170"} 
[2026-07-27 08:10:09] local.INFO: GPS Element Parsed {"raw_longitude":763030720,"raw_latitude":98801464,"longitude_deg":76.303072,"latitude_deg":9.8801464,"altitude":9,"angle":339,"satellites":41,"speed":0,"hex_longitude":"2d7aecc0","hex_latitude":"05e39738","is_valid_coordinates":true} 
[2026-07-27 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-07-27 08:10:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990702080001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:10:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111514625362624512,"note":"Value kept but may cause issues"} 
[2026-07-27 08:10:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8857736067400759296,"note":"Value kept but may cause issues"} 
[2026-07-27 08:10:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:10:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785119950000,"timestamp_ms":1785119950000,"timestamp_seconds":1785119950,"priority":1,"record_length":96,"hex_timestamp":"0000019fa170c4b0"} 
[2026-07-27 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-07-27 08:10:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-27 08:10:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 08:10:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:10:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:10:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143745,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:10:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143745,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:10:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:10:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 08:10:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 08:10:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990702080001,"66":12765,"97":206,"85":15104,"24":0,"16":111514625362624512,"45":8857736067400759296},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-27 08:10:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 08:10:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 08:10:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990702080001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:10:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-27 08:10:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 08:10:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111514625362624512,"km_value":111514625362624.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:10:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8857736067400759296,"description":"Unknown IO ID 45"} 
[2026-07-27 08:10:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990702080001,"power":12765,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8857736067400759296}} 
[2026-07-27 08:10:09] local.INFO: DEBUG: GPS processor result {"connection_id":143745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551895,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:10:09] local.INFO: GPS data processed {"connection_id":143745,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:10:09] local.INFO: Acknowledgment sent {"connection_id":143745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:10:30] local.INFO: TCP Data received {"connection_id":145059,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145059,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:10:30] local.INFO: Processing buffer {"connection_id":145059,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:10:30] local.INFO: IMEI packet received {"connection_id":145059,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 08:10:30] local.INFO: IMEI acknowledgment sent {"connection_id":145059,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:10:31] local.INFO: TCP Data received {"connection_id":145059,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145059,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:10:31] local.INFO: Processing buffer {"connection_id":145059,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:10:31] local.INFO: IMEI packet received {"connection_id":145059,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 08:10:31] local.INFO: IMEI acknowledgment sent {"connection_id":145059,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:10:32] local.INFO: TCP Data received {"connection_id":145059,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145059,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:10:32] local.INFO: Processing buffer {"connection_id":145059,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:10:32] local.INFO: IMEI packet received {"connection_id":145059,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 08:10:32] local.INFO: IMEI acknowledgment sent {"connection_id":145059,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:10:32] local.INFO: TCP Data received {"connection_id":145060,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:10:32] local.INFO: Processing buffer {"connection_id":145060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:10:32] local.INFO: IMEI packet received {"connection_id":145060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 08:10:32] local.INFO: IMEI acknowledgment sent {"connection_id":145060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:10:33] local.INFO: TCP Data received {"connection_id":145059,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145059,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:10:33] local.INFO: Processing buffer {"connection_id":145059,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:10:33] local.INFO: IMEI packet received {"connection_id":145059,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 08:10:33] local.INFO: IMEI acknowledgment sent {"connection_id":145059,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:10:35] local.INFO: TCP Data received {"connection_id":145059,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019fa170e7d8012d7aec8005e398c80009000627..."} 
[2026-07-27 08:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145059,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa170e7d8012d7aec8005e398c80009000627..."} 
[2026-07-27 08:10:35] local.INFO: Processing buffer {"connection_id":145059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa170e7d8012d7aec8005e398c80009000627..."} 
[2026-07-27 08:10:35] local.INFO: Packet analysis {"connection_id":145059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa170"} 
[2026-07-27 08:10:35] local.INFO: Extracted packet for processing {"connection_id":145059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa170"} 
[2026-07-27 08:10:35] local.INFO: GPS Element Parsed {"raw_longitude":763030656,"raw_latitude":98801864,"longitude_deg":76.3030656,"latitude_deg":9.8801864,"altitude":9,"angle":6,"satellites":39,"speed":2,"hex_longitude":"2d7aec80","hex_latitude":"05e398c8","is_valid_coordinates":true} 
[2026-07-27 08:10:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:10:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990707200001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:10:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111514646837460992,"note":"Value kept but may cause issues"} 
[2026-07-27 08:10:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8857665698656630784,"note":"Value kept but may cause issues"} 
[2026-07-27 08:10:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:10:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785119959000,"timestamp_ms":1785119959000,"timestamp_seconds":1785119959,"priority":1,"record_length":96,"hex_timestamp":"0000019fa170e7d8"} 
[2026-07-27 08:10:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:10:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08:10:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-27 08:10:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:10:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:10:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:10:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:10:35] local.INFO: Teltonika packet parsed successfully {"connection_id":145059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:10:35] local.INFO: Passing IMEI to GPS processor {"connection_id":145059,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:10:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":145059,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:10:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:10:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 08:10:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 08:10:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990707200001,"66":13135,"97":206,"85":15104,"24":2,"16":111514646837460992,"45":8857665698656630784},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-27 08:10:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 08:10:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 08:10:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990707200001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:10:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-27 08:10:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 08:10:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111514646837460992,"km_value":111514646837460.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:10:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8857665698656630784,"description":"Unknown IO ID 45"} 
[2026-07-27 08:10:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990707200001,"power":13135,"unknown_97":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8857665698656630784}} 
[2026-07-27 08:10:35] local.INFO: DEBUG: GPS processor result {"connection_id":145059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551896,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:10:35] local.INFO: GPS data processed {"connection_id":145059,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:10:35] local.INFO: Acknowledgment sent {"connection_id":145059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:10:37] local.INFO: TCP Data received {"connection_id":145060,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:10:37] local.INFO: Processing buffer {"connection_id":145060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:10:37] local.INFO: IMEI packet received {"connection_id":145060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 08:10:37] local.INFO: IMEI acknowledgment sent {"connection_id":145060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:10:38] local.INFO: TCP Data received {"connection_id":145060,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa16ef3d8012d7f980005afd7c0000d000629..."} 
[2026-07-27 08:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145060,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa16ef3d8012d7f980005afd7c0000d000629..."} 
[2026-07-27 08:10:38] local.INFO: Processing buffer {"connection_id":145060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa16ef3d8012d7f980005afd7c0000d000629..."} 
[2026-07-27 08:10:38] local.INFO: Packet analysis {"connection_id":145060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa16e"} 
[2026-07-27 08:10:38] local.INFO: Extracted packet for processing {"connection_id":145060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa16e"} 
[2026-07-27 08:10:38] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":13,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 08:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:10:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990599680001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:10:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 08:10:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 08:10:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:10:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785119831000,"timestamp_ms":1785119831000,"timestamp_seconds":1785119831,"priority":1,"record_length":96,"hex_timestamp":"0000019fa16ef3d8"} 
[2026-07-27 08:10:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:10:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 08:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 08:10:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:10:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:10:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:10:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:10:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:10:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:10:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:10:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:10:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:10:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:10:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990599680001,"66":25191,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 08:10:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:10:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:10:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990599680001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:10:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 08:10:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:10:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:10:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 08:10:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990599680001,"power":25191,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 08:10:38] local.INFO: DEBUG: GPS processor result {"connection_id":145060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:10:38] local.INFO: GPS data processed {"connection_id":145060,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:10:38] local.INFO: Acknowledgment sent {"connection_id":145060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:11:05] local.INFO: TCP Data received {"connection_id":142651,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 08:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142651,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 08:11:05] local.INFO: Processing buffer {"connection_id":142651,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 08:11:05] local.INFO: IMEI packet received {"connection_id":142651,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 08:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":142651,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:11:05] local.INFO: TCP Data received {"connection_id":145059,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019fa17208e8012d7acac005e411b8000b010e29..."} 
[2026-07-27 08:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145059,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa17208e8012d7acac005e411b8000b010e29..."} 
[2026-07-27 08:11:05] local.INFO: Processing buffer {"connection_id":145059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa17208e8012d7acac005e411b8000b010e29..."} 
[2026-07-27 08:11:05] local.INFO: Packet analysis {"connection_id":145059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa172"} 
[2026-07-27 08:11:05] local.INFO: Extracted packet for processing {"connection_id":145059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa172"} 
[2026-07-27 08:11:05] local.INFO: GPS Element Parsed {"raw_longitude":763022016,"raw_latitude":98832824,"longitude_deg":76.3022016,"latitude_deg":9.8832824,"altitude":11,"angle":270,"satellites":41,"speed":10,"hex_longitude":"2d7acac0","hex_latitude":"05e411b8","is_valid_coordinates":true} 
[2026-07-27 08:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:11:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990728192001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:11:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111516231680393216,"note":"Value kept but may cause issues"} 
[2026-07-27 08:11:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848306655689021440,"note":"Value kept but may cause issues"} 
[2026-07-27 08:11:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:11:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785120033000,"timestamp_ms":1785120033000,"timestamp_seconds":1785120033,"priority":1,"record_length":96,"hex_timestamp":"0000019fa17208e8"} 
[2026-07-27 08:11:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:11:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-27 08:11:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:11:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:11:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:11:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:11:05] local.INFO: Teltonika packet parsed successfully {"connection_id":145059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:11:05] local.INFO: Passing IMEI to GPS processor {"connection_id":145059,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:11:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":145059,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:11:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:11:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 08:11:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 08:11:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990728192001,"66":13222,"97":206,"85":15104,"24":10,"16":111516231680393216,"45":8848306655689021440},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-27 08:11:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 08:11:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 08:11:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990728192001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:11:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-27 08:11:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 08:11:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111516231680393216,"km_value":111516231680393.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:11:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848306655689021440,"description":"Unknown IO ID 45"} 
[2026-07-27 08:11:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990728192001,"power":13222,"unknown_97":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8848306655689021440}} 
[2026-07-27 08:11:05] local.INFO: DEBUG: GPS processor result {"connection_id":145059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551898,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:11:05] local.INFO: GPS data processed {"connection_id":145059,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:11:05] local.INFO: Acknowledgment sent {"connection_id":145059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:11:09] local.INFO: TCP Data received {"connection_id":145060,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa16ef3d8012d7f980005afd7c0000d000629..."} 
[2026-07-27 08:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145060,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa16ef3d8012d7f980005afd7c0000d000629..."} 
[2026-07-27 08:11:09] local.INFO: Processing buffer {"connection_id":145060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa16ef3d8012d7f980005afd7c0000d000629..."} 
[2026-07-27 08:11:09] local.INFO: Packet analysis {"connection_id":145060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa16e"} 
[2026-07-27 08:11:09] local.INFO: Extracted packet for processing {"connection_id":145060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa16e"} 
[2026-07-27 08:11:09] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":13,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 08:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:11:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990599680001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:11:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 08:11:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 08:11:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:11:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785119831000,"timestamp_ms":1785119831000,"timestamp_seconds":1785119831,"priority":1,"record_length":96,"hex_timestamp":"0000019fa16ef3d8"} 
[2026-07-27 08:11:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:11:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 08:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 08:11:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:11:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:11:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:11:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:11:09] local.INFO: Teltonika packet parsed successfully {"connection_id":145060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:11:09] local.INFO: Passing IMEI to GPS processor {"connection_id":145060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:11:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":145060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:11:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:11:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:11:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:11:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990599680001,"66":25191,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 08:11:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:11:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:11:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990599680001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:11:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 08:11:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:11:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:11:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 08:11:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990599680001,"power":25191,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 08:11:09] local.INFO: DEBUG: GPS processor result {"connection_id":145060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:11:09] local.INFO: GPS data processed {"connection_id":145060,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:11:09] local.INFO: Acknowledgment sent {"connection_id":145060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:11:30] local.INFO: TCP Data received {"connection_id":142766,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142766,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:11:30] local.INFO: Processing buffer {"connection_id":142766,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:11:30] local.INFO: IMEI packet received {"connection_id":142766,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 08:11:30] local.INFO: IMEI acknowledgment sent {"connection_id":142766,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:11:32] local.INFO: TCP Data received {"connection_id":145061,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:11:32] local.INFO: Processing buffer {"connection_id":145061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:11:32] local.INFO: IMEI packet received {"connection_id":145061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 08:11:32] local.INFO: IMEI acknowledgment sent {"connection_id":145061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:11:35] local.INFO: TCP Data received {"connection_id":142766,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142766,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:11:35] local.INFO: Processing buffer {"connection_id":142766,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:11:35] local.INFO: IMEI packet received {"connection_id":142766,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 08:11:35] local.INFO: IMEI acknowledgment sent {"connection_id":142766,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:11:36] local.INFO: TCP Data received {"connection_id":142766,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1720cd0012d7ac98005e41198000b010229..."} 
[2026-07-27 08:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1720cd0012d7ac98005e41198000b010229..."} 
[2026-07-27 08:11:36] local.INFO: Processing buffer {"connection_id":142766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1720cd0012d7ac98005e41198000b010229..."} 
[2026-07-27 08:11:36] local.INFO: Packet analysis {"connection_id":142766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa172"} 
[2026-07-27 08:11:36] local.INFO: Extracted packet for processing {"connection_id":142766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa172"} 
[2026-07-27 08:11:36] local.INFO: GPS Element Parsed {"raw_longitude":763021696,"raw_latitude":98832792,"longitude_deg":76.3021696,"latitude_deg":9.8832792,"altitude":11,"angle":258,"satellites":41,"speed":11,"hex_longitude":"2d7ac980","hex_latitude":"05e41198","is_valid_coordinates":true} 
[2026-07-27 08:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:11:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990728448001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:11:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111516244565295104,"note":"Value kept but may cause issues"} 
[2026-07-27 08:11:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848095549456496640,"note":"Value kept but may cause issues"} 
[2026-07-27 08:11:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:11:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785120034000,"timestamp_ms":1785120034000,"timestamp_seconds":1785120034,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1720cd0"} 
[2026-07-27 08:11:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:11:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-27 08:11:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:11:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:11:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:11:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:11:36] local.INFO: Teltonika packet parsed successfully {"connection_id":142766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:11:36] local.INFO: Passing IMEI to GPS processor {"connection_id":142766,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:11:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":142766,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:11:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:11:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 08:11:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 08:11:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990728448001,"66":13222,"97":206,"85":15104,"24":11,"16":111516244565295104,"45":8848095549456496640},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-27 08:11:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 08:11:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 08:11:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990728448001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:11:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-27 08:11:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 08:11:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111516244565295104,"km_value":111516244565295.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:11:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848095549456496640,"description":"Unknown IO ID 45"} 
[2026-07-27 08:11:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990728448001,"power":13222,"unknown_97":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":8848095549456496640}} 
[2026-07-27 08:11:36] local.INFO: DEBUG: GPS processor result {"connection_id":142766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551900,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:11:36] local.INFO: GPS data processed {"connection_id":142766,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:11:36] local.INFO: Acknowledgment sent {"connection_id":142766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:11:37] local.INFO: TCP Data received {"connection_id":145061,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:11:37] local.INFO: Processing buffer {"connection_id":145061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:11:37] local.INFO: IMEI packet received {"connection_id":145061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 08:11:37] local.INFO: IMEI acknowledgment sent {"connection_id":145061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:11:38] local.INFO: TCP Data received {"connection_id":145061,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa16ef3d8012d7f980005afd7c0000d000629..."} 
[2026-07-27 08:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa16ef3d8012d7f980005afd7c0000d000629..."} 
[2026-07-27 08:11:38] local.INFO: Processing buffer {"connection_id":145061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa16ef3d8012d7f980005afd7c0000d000629..."} 
[2026-07-27 08:11:38] local.INFO: Packet analysis {"connection_id":145061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa16e"} 
[2026-07-27 08:11:38] local.INFO: Extracted packet for processing {"connection_id":145061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa16e"} 
[2026-07-27 08:11:38] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":13,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 08:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:11:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990599680001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:11:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 08:11:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 08:11:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:11:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785119831000,"timestamp_ms":1785119831000,"timestamp_seconds":1785119831,"priority":1,"record_length":96,"hex_timestamp":"0000019fa16ef3d8"} 
[2026-07-27 08:11:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:11:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 08:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 08:11:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:11:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:11:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:11:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:11:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:11:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:11:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:11:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:11:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:11:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:11:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990599680001,"66":25191,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 08:11:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:11:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:11:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990599680001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:11:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 08:11:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:11:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:11:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 08:11:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990599680001,"power":25191,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 08:11:38] local.INFO: DEBUG: GPS processor result {"connection_id":145061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:11:38] local.INFO: GPS data processed {"connection_id":145061,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:11:38] local.INFO: Acknowledgment sent {"connection_id":145061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:11:45] local.INFO: TCP Data received {"connection_id":145062,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 08:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145062,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 08:11:45] local.INFO: Processing buffer {"connection_id":145062,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 08:11:45] local.INFO: IMEI packet received {"connection_id":145062,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 08:11:45] local.INFO: IMEI acknowledgment sent {"connection_id":145062,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:12:07] local.INFO: TCP Data received {"connection_id":142766,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1724f38012d7aa6c005e40b78000b010424..."} 
[2026-07-27 08:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1724f38012d7aa6c005e40b78000b010424..."} 
[2026-07-27 08:12:07] local.INFO: Processing buffer {"connection_id":142766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1724f38012d7aa6c005e40b78000b010424..."} 
[2026-07-27 08:12:07] local.INFO: Packet analysis {"connection_id":142766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa172"} 
[2026-07-27 08:12:07] local.INFO: Extracted packet for processing {"connection_id":142766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa172"} 
[2026-07-27 08:12:07] local.INFO: GPS Element Parsed {"raw_longitude":763012800,"raw_latitude":98831224,"longitude_deg":76.30128,"latitude_deg":9.8831224,"altitude":11,"angle":260,"satellites":36,"speed":31,"hex_longitude":"2d7aa6c0","hex_latitude":"05e40b78","is_valid_coordinates":true} 
[2026-07-27 08:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:12:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990728704001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:12:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111516678356992000,"note":"Value kept but may cause issues"} 
[2026-07-27 08:12:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8847743705735600128,"note":"Value kept but may cause issues"} 
[2026-07-27 08:12:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:12:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785120051000,"timestamp_ms":1785120051000,"timestamp_seconds":1785120051,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1724f38"} 
[2026-07-27 08:12:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:12:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-27 08:12:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:12:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:12:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:12:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:12:07] local.INFO: Teltonika packet parsed successfully {"connection_id":142766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:12:07] local.INFO: Passing IMEI to GPS processor {"connection_id":142766,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:12:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":142766,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:12:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:12:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 08:12:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 08:12:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990728704001,"66":12982,"97":206,"85":15104,"24":31,"16":111516678356992000,"45":8847743705735600128},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-27 08:12:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 08:12:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 08:12:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990728704001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:12:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-27 08:12:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 08:12:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111516678356992000,"km_value":111516678356992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:12:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8847743705735600128,"description":"Unknown IO ID 45"} 
[2026-07-27 08:12:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990728704001,"power":12982,"unknown_97":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":8847743705735600128}} 
[2026-07-27 08:12:07] local.INFO: DEBUG: GPS processor result {"connection_id":142766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551902,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:12:07] local.INFO: GPS data processed {"connection_id":142766,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:12:07] local.INFO: Acknowledgment sent {"connection_id":142766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:12:09] local.INFO: TCP Data received {"connection_id":145061,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa16ef3d8012d7f980005afd7c0000d000629..."} 
[2026-07-27 08:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa16ef3d8012d7f980005afd7c0000d000629..."} 
[2026-07-27 08:12:09] local.INFO: Processing buffer {"connection_id":145061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa16ef3d8012d7f980005afd7c0000d000629..."} 
[2026-07-27 08:12:09] local.INFO: Packet analysis {"connection_id":145061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa16e"} 
[2026-07-27 08:12:09] local.INFO: Extracted packet for processing {"connection_id":145061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa16e"} 
[2026-07-27 08:12:09] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":13,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 08:12:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:12:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990599680001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:12:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 08:12:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 08:12:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:12:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785119831000,"timestamp_ms":1785119831000,"timestamp_seconds":1785119831,"priority":1,"record_length":96,"hex_timestamp":"0000019fa16ef3d8"} 
[2026-07-27 08:12:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:12:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 08:12:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 08:12:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:12:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:12:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:12:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:12:09] local.INFO: Teltonika packet parsed successfully {"connection_id":145061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:12:09] local.INFO: Passing IMEI to GPS processor {"connection_id":145061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:12:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":145061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:12:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:12:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:12:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:12:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990599680001,"66":25191,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 08:12:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:12:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:12:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990599680001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:12:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 08:12:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:12:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:12:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 08:12:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990599680001,"power":25191,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 08:12:09] local.INFO: DEBUG: GPS processor result {"connection_id":145061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:12:09] local.INFO: GPS data processed {"connection_id":145061,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:12:09] local.INFO: Acknowledgment sent {"connection_id":145061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:12:30] local.INFO: TCP Data received {"connection_id":142653,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142653,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:12:30] local.INFO: Processing buffer {"connection_id":142653,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:12:30] local.INFO: IMEI packet received {"connection_id":142653,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 08:12:30] local.INFO: IMEI acknowledgment sent {"connection_id":142653,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:12:32] local.INFO: TCP Data received {"connection_id":142652,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:12:32] local.INFO: Processing buffer {"connection_id":142652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:12:32] local.INFO: IMEI packet received {"connection_id":142652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 08:12:32] local.INFO: IMEI acknowledgment sent {"connection_id":142652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:12:33] local.INFO: TCP Data received {"connection_id":142653,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142653,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:12:33] local.INFO: Processing buffer {"connection_id":142653,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:12:33] local.INFO: IMEI packet received {"connection_id":142653,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 08:12:33] local.INFO: IMEI acknowledgment sent {"connection_id":142653,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:12:37] local.INFO: TCP Data received {"connection_id":142652,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:12:37] local.INFO: Processing buffer {"connection_id":142652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:12:37] local.INFO: IMEI packet received {"connection_id":142652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 08:12:37] local.INFO: IMEI acknowledgment sent {"connection_id":142652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:12:38] local.INFO: TCP Data received {"connection_id":142652,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa16ef3d8012d7f980005afd7c0000d000629..."} 
[2026-07-27 08:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa16ef3d8012d7f980005afd7c0000d000629..."} 
[2026-07-27 08:12:38] local.INFO: Processing buffer {"connection_id":142652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa16ef3d8012d7f980005afd7c0000d000629..."} 
[2026-07-27 08:12:38] local.INFO: Packet analysis {"connection_id":142652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa16e"} 
[2026-07-27 08:12:38] local.INFO: Extracted packet for processing {"connection_id":142652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa16e"} 
[2026-07-27 08:12:38] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":13,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 08:12:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:12:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990599680001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:12:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 08:12:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 08:12:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:12:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785119831000,"timestamp_ms":1785119831000,"timestamp_seconds":1785119831,"priority":1,"record_length":96,"hex_timestamp":"0000019fa16ef3d8"} 
[2026-07-27 08:12:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:12:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 08:12:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 08:12:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:12:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:12:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:12:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:12:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:12:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:12:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:12:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:12:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:12:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:12:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990599680001,"66":25191,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 08:12:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:12:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:12:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990599680001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:12:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 08:12:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:12:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:12:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 08:12:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990599680001,"power":25191,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 08:12:38] local.INFO: DEBUG: GPS processor result {"connection_id":142652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:12:38] local.INFO: GPS data processed {"connection_id":142652,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:12:38] local.INFO: Acknowledgment sent {"connection_id":142652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:12:43] local.INFO: TCP Data received {"connection_id":142653,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142653,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:12:43] local.INFO: Processing buffer {"connection_id":142653,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:12:43] local.INFO: IMEI packet received {"connection_id":142653,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 08:12:43] local.INFO: IMEI acknowledgment sent {"connection_id":142653,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:12:44] local.INFO: TCP Data received {"connection_id":142653,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1729588012d7a9d8005e40b08000c004723..."} 
[2026-07-27 08:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1729588012d7a9d8005e40b08000c004723..."} 
[2026-07-27 08:12:44] local.INFO: Processing buffer {"connection_id":142653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1729588012d7a9d8005e40b08000c004723..."} 
[2026-07-27 08:12:44] local.INFO: Packet analysis {"connection_id":142653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa172"} 
[2026-07-27 08:12:44] local.INFO: Extracted packet for processing {"connection_id":142653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa172"} 
[2026-07-27 08:12:44] local.INFO: GPS Element Parsed {"raw_longitude":763010432,"raw_latitude":98831112,"longitude_deg":76.3010432,"latitude_deg":9.8831112,"altitude":12,"angle":71,"satellites":35,"speed":2,"hex_longitude":"2d7a9d80","hex_latitude":"05e40b08","is_valid_coordinates":true} 
[2026-07-27 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-07-27 08:12:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990733056001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:12:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111516828680847360,"note":"Value kept but may cause issues"} 
[2026-07-27 08:12:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8837962450294503424,"note":"Value kept but may cause issues"} 
[2026-07-27 08:12:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:12:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785120069000,"timestamp_ms":1785120069000,"timestamp_seconds":1785120069,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1729588"} 
[2026-07-27 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-07-27 08:12:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-27 08:12:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 08:12:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:12:44] local.INFO: Teltonika packet parsed successfully {"connection_id":142653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:12:44] local.INFO: Passing IMEI to GPS processor {"connection_id":142653,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:12:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":142653,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:12:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:12:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 08:12:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 08:12:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990733056001,"66":13319,"97":206,"85":15104,"24":2,"16":111516828680847360,"45":8837962450294503424},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-27 08:12:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 08:12:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 08:12:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990733056001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:12:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-27 08:12:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 08:12:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111516828680847360,"km_value":111516828680847.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:12:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8837962450294503424,"description":"Unknown IO ID 45"} 
[2026-07-27 08:12:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990733056001,"power":13319,"unknown_97":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8837962450294503424}} 
[2026-07-27 08:12:44] local.INFO: DEBUG: GPS processor result {"connection_id":142653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551905,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:12:44] local.INFO: GPS data processed {"connection_id":142653,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:12:44] local.INFO: Acknowledgment sent {"connection_id":142653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:12:45] local.INFO: TCP Data received {"connection_id":142653,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019fa172a140012d7a9e8005e40b30000c005324..."} 
[2026-07-27 08:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa172a140012d7a9e8005e40b30000c005324..."} 
[2026-07-27 08:12:45] local.INFO: Processing buffer {"connection_id":142653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa172a140012d7a9e8005e40b30000c005324..."} 
[2026-07-27 08:12:45] local.INFO: Packet analysis {"connection_id":142653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa172"} 
[2026-07-27 08:12:45] local.INFO: Extracted packet for processing {"connection_id":142653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa172"} 
[2026-07-27 08:12:45] local.INFO: GPS Element Parsed {"raw_longitude":763010688,"raw_latitude":98831152,"longitude_deg":76.3010688,"latitude_deg":9.8831152,"altitude":12,"angle":83,"satellites":36,"speed":3,"hex_longitude":"2d7a9e80","hex_latitude":"05e40b30","is_valid_coordinates":true} 
[2026-07-27 08:12:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:12:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990737664001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:12:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111516841565749248,"note":"Value kept but may cause issues"} 
[2026-07-27 08:12:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8835358806759901184,"note":"Value kept but may cause issues"} 
[2026-07-27 08:12:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:12:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785120072000,"timestamp_ms":1785120072000,"timestamp_seconds":1785120072,"priority":1,"record_length":96,"hex_timestamp":"0000019fa172a140"} 
[2026-07-27 08:12:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:12:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08:12:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-27 08:12:45] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-27 08:12:45] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2708602160,"note":"Value kept but may cause issues"} 
[2026-07-27 08:12:45] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788849,"note":"Value kept but may cause issues"} 
[2026-07-27 08:12:45] local.WARNING: Large IO value detected {"io_id":228,"raw_value":504403205532821504,"note":"Value kept but may cause issues"} 
[2026-07-27 08:12:45] local.WARNING: Large IO value detected {"io_id":113,"raw_value":-1328560595228688379,"note":"Value kept but may cause issues"} 
[2026-07-27 08:12:45] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2791375054,"corrected_to":0} 
[2026-07-27 08:12:45] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":2147869713,"corrected_to":0} 
[2026-07-27 08:12:45] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3826262016,"note":"Value kept but may cause issues"} 
[2026-07-27 08:12:45] local.WARNING: Large IO value detected {"io_id":134,"raw_value":57885305781245243,"note":"Value kept but may cause issues"} 
[2026-07-27 08:12:45] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,97,85,24,241,157,16,47,159,79,45,192,11,36,10,66,12,128,17,41,8,1,240,166,227,161,228,4,113,205,9,204,32,239,51,2,140,5,134],"length":527,"final_offset":657,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2791375054,"validated":0},{"io_id":204,"original":2147869713,"validated":0}]} 
[2026-07-27 08:12:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864769344104693760,"timestamp_seconds":864769344104693.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 08:12:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:12:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:12:45] local.INFO: Teltonika packet parsed successfully {"connection_id":142653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:12:45] local.INFO: Passing IMEI to GPS processor {"connection_id":142653,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:12:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":142653,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:12:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:12:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 08:12:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 08:12:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990737664001,"66":13341,"97":206,"85":15104,"24":3,"16":111516841565749248,"45":8835358806759901184},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-27 08:12:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 08:12:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 08:12:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990737664001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:12:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-27 08:12:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 08:12:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111516841565749248,"km_value":111516841565749.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:12:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8835358806759901184,"description":"Unknown IO ID 45"} 
[2026-07-27 08:12:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990737664001,"power":13341,"unknown_97":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8835358806759901184}} 
[2026-07-27 08:12:45] local.INFO: DEBUG: GPS processor result {"connection_id":142653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551906,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:12:45] local.INFO: GPS data processed {"connection_id":142653,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:12:45] local.INFO: Acknowledgment sent {"connection_id":142653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:13:09] local.INFO: TCP Data received {"connection_id":142652,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1738ba0012d7f980005afd7c0000d000628..."} 
[2026-07-27 08:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1738ba0012d7f980005afd7c0000d000628..."} 
[2026-07-27 08:13:09] local.INFO: Processing buffer {"connection_id":142652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1738ba0012d7f980005afd7c0000d000628..."} 
[2026-07-27 08:13:09] local.INFO: Packet analysis {"connection_id":142652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa173"} 
[2026-07-27 08:13:09] local.INFO: Extracted packet for processing {"connection_id":142652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa173"} 
[2026-07-27 08:13:09] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":13,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 08:13:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:13:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990676736001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:13:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 08:13:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 08:13:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:13:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785120132000,"timestamp_ms":1785120132000,"timestamp_seconds":1785120132,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1738ba0"} 
[2026-07-27 08:13:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:13:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 08:13:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-27 08:13:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:13:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:13:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:13:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:13:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:13:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:13:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:13:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:13:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:13:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:13:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990676736001,"66":25158,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 08:13:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:13:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:13:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990676736001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:13:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 08:13:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:13:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:13:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 08:13:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990676736001,"power":25158,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 08:13:09] local.INFO: DEBUG: GPS processor result {"connection_id":142652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:13:09] local.INFO: GPS data processed {"connection_id":142652,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:13:09] local.INFO: Acknowledgment sent {"connection_id":142652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:13:30] local.INFO: TCP Data received {"connection_id":145063,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145063,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:13:30] local.INFO: Processing buffer {"connection_id":145063,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:13:30] local.INFO: IMEI packet received {"connection_id":145063,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 08:13:30] local.INFO: IMEI acknowledgment sent {"connection_id":145063,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:13:32] local.INFO: TCP Data received {"connection_id":143746,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:13:32] local.INFO: Processing buffer {"connection_id":143746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:13:32] local.INFO: IMEI packet received {"connection_id":143746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 08:13:32] local.INFO: IMEI acknowledgment sent {"connection_id":143746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:13:35] local.INFO: TCP Data received {"connection_id":145063,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145063,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:13:35] local.INFO: Processing buffer {"connection_id":145063,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:13:35] local.INFO: IMEI packet received {"connection_id":145063,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 08:13:35] local.INFO: IMEI acknowledgment sent {"connection_id":145063,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:13:36] local.INFO: TCP Data received {"connection_id":145063,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019fa172b0e0012d7a9f4005e40b30000c006b23..."} 
[2026-07-27 08:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145063,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa172b0e0012d7a9f4005e40b30000c006b23..."} 
[2026-07-27 08:13:36] local.INFO: Processing buffer {"connection_id":145063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa172b0e0012d7a9f4005e40b30000c006b23..."} 
[2026-07-27 08:13:36] local.INFO: Packet analysis {"connection_id":145063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa172"} 
[2026-07-27 08:13:36] local.INFO: Extracted packet for processing {"connection_id":145063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa172"} 
[2026-07-27 08:13:36] local.INFO: GPS Element Parsed {"raw_longitude":763010880,"raw_latitude":98831152,"longitude_deg":76.301088,"latitude_deg":9.8831152,"altitude":12,"angle":107,"satellites":35,"speed":1,"hex_longitude":"2d7a9f40","hex_latitude":"05e40b30","is_valid_coordinates":true} 
[2026-07-27 08:13:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:13:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990738432001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:13:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111516850155683840,"note":"Value kept but may cause issues"} 
[2026-07-27 08:13:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8835640281736622080,"note":"Value kept but may cause issues"} 
[2026-07-27 08:13:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:13:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785120076000,"timestamp_ms":1785120076000,"timestamp_seconds":1785120076,"priority":1,"record_length":96,"hex_timestamp":"0000019fa172b0e0"} 
[2026-07-27 08:13:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:13:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08:13:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-07-27 08:13:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:13:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:13:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:13:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:13:36] local.INFO: Teltonika packet parsed successfully {"connection_id":145063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:13:36] local.INFO: Passing IMEI to GPS processor {"connection_id":145063,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:13:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":145063,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:13:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:13:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 08:13:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 08:13:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990738432001,"66":12863,"97":206,"85":15104,"24":1,"16":111516850155683840,"45":8835640281736622080},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-27 08:13:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 08:13:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 08:13:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990738432001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:13:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-27 08:13:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 08:13:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111516850155683840,"km_value":111516850155683.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:13:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8835640281736622080,"description":"Unknown IO ID 45"} 
[2026-07-27 08:13:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990738432001,"power":12863,"unknown_97":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8835640281736622080}} 
[2026-07-27 08:13:36] local.INFO: DEBUG: GPS processor result {"connection_id":145063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551908,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:13:36] local.INFO: GPS data processed {"connection_id":145063,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:13:36] local.INFO: Acknowledgment sent {"connection_id":145063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:13:37] local.INFO: TCP Data received {"connection_id":143746,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:13:37] local.INFO: Processing buffer {"connection_id":143746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:13:37] local.INFO: IMEI packet received {"connection_id":143746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 08:13:37] local.INFO: IMEI acknowledgment sent {"connection_id":143746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:13:38] local.INFO: TCP Data received {"connection_id":143746,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1738ba0012d7f980005afd7c0000d000628..."} 
[2026-07-27 08:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1738ba0012d7f980005afd7c0000d000628..."} 
[2026-07-27 08:13:38] local.INFO: Processing buffer {"connection_id":143746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1738ba0012d7f980005afd7c0000d000628..."} 
[2026-07-27 08:13:38] local.INFO: Packet analysis {"connection_id":143746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa173"} 
[2026-07-27 08:13:38] local.INFO: Extracted packet for processing {"connection_id":143746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa173"} 
[2026-07-27 08:13:38] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":13,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 08:13:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:13:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990676736001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:13:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 08:13:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 08:13:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:13:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785120132000,"timestamp_ms":1785120132000,"timestamp_seconds":1785120132,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1738ba0"} 
[2026-07-27 08:13:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:13:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 08:13:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-27 08:13:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:13:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:13:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:13:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:13:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:13:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:13:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:13:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:13:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:13:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:13:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990676736001,"66":25158,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 08:13:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:13:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:13:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990676736001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:13:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 08:13:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:13:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:13:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 08:13:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990676736001,"power":25158,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 08:13:38] local.INFO: DEBUG: GPS processor result {"connection_id":143746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:13:38] local.INFO: GPS data processed {"connection_id":143746,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:13:38] local.INFO: Acknowledgment sent {"connection_id":143746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:14:07] local.INFO: TCP Data received {"connection_id":145063,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019fa174db90012d7af0c005e39140000900962a..."} 
[2026-07-27 08:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145063,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa174db90012d7af0c005e39140000900962a..."} 
[2026-07-27 08:14:07] local.INFO: Processing buffer {"connection_id":145063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa174db90012d7af0c005e39140000900962a..."} 
[2026-07-27 08:14:07] local.INFO: Packet analysis {"connection_id":145063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa174"} 
[2026-07-27 08:14:07] local.INFO: Extracted packet for processing {"connection_id":145063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa174"} 
[2026-07-27 08:14:07] local.INFO: GPS Element Parsed {"raw_longitude":763031744,"raw_latitude":98799936,"longitude_deg":76.3031744,"latitude_deg":9.8799936,"altitude":9,"angle":150,"satellites":42,"speed":11,"hex_longitude":"2d7af0c0","hex_latitude":"05e39140","is_valid_coordinates":true} 
[2026-07-27 08:14:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:14:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990772224001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:14:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111519062063841280,"note":"Value kept but may cause issues"} 
[2026-07-27 08:14:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8857032379959973888,"note":"Value kept but may cause issues"} 
[2026-07-27 08:14:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:14:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785120218000,"timestamp_ms":1785120218000,"timestamp_seconds":1785120218,"priority":1,"record_length":96,"hex_timestamp":"0000019fa174db90"} 
[2026-07-27 08:14:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:14:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08:14:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-07-27 08:14:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1114,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:14:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:14:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:14:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:14:07] local.INFO: Teltonika packet parsed successfully {"connection_id":145063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:14:07] local.INFO: Passing IMEI to GPS processor {"connection_id":145063,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:14:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":145063,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:14:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:14:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 08:14:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 08:14:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990772224001,"66":12917,"97":206,"85":15104,"24":11,"16":111519062063841280,"45":8857032379959973888},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-27 08:14:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 08:14:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 08:14:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990772224001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:14:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-27 08:14:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 08:14:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111519062063841280,"km_value":111519062063841.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:14:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8857032379959973888,"description":"Unknown IO ID 45"} 
[2026-07-27 08:14:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990772224001,"power":12917,"unknown_97":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":8857032379959973888}} 
[2026-07-27 08:14:07] local.INFO: DEBUG: GPS processor result {"connection_id":145063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551910,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:14:07] local.INFO: GPS data processed {"connection_id":145063,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:14:07] local.INFO: Acknowledgment sent {"connection_id":145063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:14:09] local.INFO: TCP Data received {"connection_id":143746,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1738ba0012d7f980005afd7c0000d000628..."} 
[2026-07-27 08:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1738ba0012d7f980005afd7c0000d000628..."} 
[2026-07-27 08:14:09] local.INFO: Processing buffer {"connection_id":143746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1738ba0012d7f980005afd7c0000d000628..."} 
[2026-07-27 08:14:09] local.INFO: Packet analysis {"connection_id":143746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa173"} 
[2026-07-27 08:14:09] local.INFO: Extracted packet for processing {"connection_id":143746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa173"} 
[2026-07-27 08:14:09] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":13,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 08:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:14:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990676736001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:14:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 08:14:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 08:14:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:14:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785120132000,"timestamp_ms":1785120132000,"timestamp_seconds":1785120132,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1738ba0"} 
[2026-07-27 08:14:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:14:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 08:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-27 08:14:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:14:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:14:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:14:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:14:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:14:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:14:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:14:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:14:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:14:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:14:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990676736001,"66":25158,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 08:14:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:14:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:14:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990676736001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:14:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 08:14:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:14:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:14:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 08:14:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990676736001,"power":25158,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 08:14:09] local.INFO: DEBUG: GPS processor result {"connection_id":143746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:14:09] local.INFO: GPS data processed {"connection_id":143746,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:14:09] local.INFO: Acknowledgment sent {"connection_id":143746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:14:35] local.INFO: TCP Data received {"connection_id":142767,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142767,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:14:35] local.INFO: Processing buffer {"connection_id":142767,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:14:35] local.INFO: IMEI packet received {"connection_id":142767,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 08:14:35] local.INFO: IMEI acknowledgment sent {"connection_id":142767,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:14:37] local.INFO: TCP Data received {"connection_id":145064,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:14:37] local.INFO: Processing buffer {"connection_id":145064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:14:37] local.INFO: IMEI packet received {"connection_id":145064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 08:14:37] local.INFO: IMEI acknowledgment sent {"connection_id":145064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:14:40] local.INFO: TCP Data received {"connection_id":142767,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142767,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:14:40] local.INFO: Processing buffer {"connection_id":142767,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:14:40] local.INFO: IMEI packet received {"connection_id":142767,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 08:14:40] local.INFO: IMEI acknowledgment sent {"connection_id":142767,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:14:41] local.INFO: TCP Data received {"connection_id":142767,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019fa174f300012d7af44005e389f8000900a229..."} 
[2026-07-27 08:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa174f300012d7af44005e389f8000900a229..."} 
[2026-07-27 08:14:41] local.INFO: Processing buffer {"connection_id":142767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa174f300012d7af44005e389f8000900a229..."} 
[2026-07-27 08:14:41] local.INFO: Packet analysis {"connection_id":142767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa174"} 
[2026-07-27 08:14:41] local.INFO: Extracted packet for processing {"connection_id":142767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa174"} 
[2026-07-27 08:14:41] local.INFO: GPS Element Parsed {"raw_longitude":763032640,"raw_latitude":98798072,"longitude_deg":76.303264,"latitude_deg":9.8798072,"altitude":9,"angle":162,"satellites":41,"speed":12,"hex_longitude":"2d7af440","hex_latitude":"05e389f8","is_valid_coordinates":true} 
[2026-07-27 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-07-27 08:14:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990775808001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:14:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111519160848089088,"note":"Value kept but may cause issues"} 
[2026-07-27 08:14:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8858791598563082240,"note":"Value kept but may cause issues"} 
[2026-07-27 08:14:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:14:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785120224000,"timestamp_ms":1785120224000,"timestamp_seconds":1785120224,"priority":1,"record_length":96,"hex_timestamp":"0000019fa174f300"} 
[2026-07-27 08:14:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:14:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-27 08:14:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:14:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:14:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:14:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:14:41] local.INFO: Teltonika packet parsed successfully {"connection_id":142767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:14:41] local.INFO: Passing IMEI to GPS processor {"connection_id":142767,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:14:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":142767,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:14:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:14:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 08:14:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 08:14:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990775808001,"66":13363,"97":206,"85":15104,"24":12,"16":111519160848089088,"45":8858791598563082240},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-27 08:14:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 08:14:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 08:14:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990775808001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:14:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-27 08:14:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 08:14:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111519160848089088,"km_value":111519160848089.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:14:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8858791598563082240,"description":"Unknown IO ID 45"} 
[2026-07-27 08:14:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990775808001,"power":13363,"unknown_97":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":8858791598563082240}} 
[2026-07-27 08:14:41] local.INFO: DEBUG: GPS processor result {"connection_id":142767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551912,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:14:41] local.INFO: GPS data processed {"connection_id":142767,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:14:41] local.INFO: Acknowledgment sent {"connection_id":142767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:14:42] local.INFO: TCP Data received {"connection_id":145064,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:14:42] local.INFO: Processing buffer {"connection_id":145064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:14:42] local.INFO: IMEI packet received {"connection_id":145064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 08:14:42] local.INFO: IMEI acknowledgment sent {"connection_id":145064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:14:43] local.INFO: TCP Data received {"connection_id":145064,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1738ba0012d7f980005afd7c0000d000628..."} 
[2026-07-27 08:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145064,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1738ba0012d7f980005afd7c0000d000628..."} 
[2026-07-27 08:14:43] local.INFO: Processing buffer {"connection_id":145064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1738ba0012d7f980005afd7c0000d000628..."} 
[2026-07-27 08:14:43] local.INFO: Packet analysis {"connection_id":145064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa173"} 
[2026-07-27 08:14:43] local.INFO: Extracted packet for processing {"connection_id":145064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa173"} 
[2026-07-27 08:14:43] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":13,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 08:14:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:14:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990676736001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:14:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 08:14:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 08:14:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:14:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785120132000,"timestamp_ms":1785120132000,"timestamp_seconds":1785120132,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1738ba0"} 
[2026-07-27 08:14:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:14:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 08:14:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-27 08:14:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:14:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:14:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:14:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:14:43] local.INFO: Teltonika packet parsed successfully {"connection_id":145064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:14:43] local.INFO: Passing IMEI to GPS processor {"connection_id":145064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:14:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":145064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:14:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:14:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:14:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:14:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990676736001,"66":25158,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 08:14:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:14:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:14:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990676736001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:14:43] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 08:14:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:14:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:14:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 08:14:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990676736001,"power":25158,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 08:14:43] local.INFO: DEBUG: GPS processor result {"connection_id":145064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:14:43] local.INFO: GPS data processed {"connection_id":145064,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:14:43] local.INFO: Acknowledgment sent {"connection_id":145064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:14:46] local.INFO: TCP Data received {"connection_id":142767,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1754508012d7afd4005e36c38000a00a327..."} 
[2026-07-27 08:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1754508012d7afd4005e36c38000a00a327..."} 
[2026-07-27 08:14:46] local.INFO: Processing buffer {"connection_id":142767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1754508012d7afd4005e36c38000a00a327..."} 
[2026-07-27 08:14:46] local.INFO: Packet analysis {"connection_id":142767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa175"} 
[2026-07-27 08:14:46] local.INFO: Extracted packet for processing {"connection_id":142767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa175"} 
[2026-07-27 08:14:46] local.INFO: GPS Element Parsed {"raw_longitude":763034944,"raw_latitude":98790456,"longitude_deg":76.3034944,"latitude_deg":9.8790456,"altitude":10,"angle":163,"satellites":39,"speed":29,"hex_longitude":"2d7afd40","hex_latitude":"05e36c38","is_valid_coordinates":true} 
[2026-07-27 08:14:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:14:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990777344001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:14:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111519551690113024,"note":"Value kept but may cause issues"} 
[2026-07-27 08:14:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8859776760981092352,"note":"Value kept but may cause issues"} 
[2026-07-27 08:14:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:14:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785120245000,"timestamp_ms":1785120245000,"timestamp_seconds":1785120245,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1754508"} 
[2026-07-27 08:14:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:14:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-27 08:14:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:14:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:14:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:14:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:14:46] local.INFO: Teltonika packet parsed successfully {"connection_id":142767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:14:46] local.INFO: Passing IMEI to GPS processor {"connection_id":142767,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:14:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":142767,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:14:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:14:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 08:14:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 08:14:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990777344001,"66":13243,"97":206,"85":15104,"24":29,"16":111519551690113024,"45":8859776760981092352},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-27 08:14:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 08:14:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 08:14:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990777344001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:14:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-27 08:14:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 08:14:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111519551690113024,"km_value":111519551690113.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:14:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8859776760981092352,"description":"Unknown IO ID 45"} 
[2026-07-27 08:14:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990777344001,"power":13243,"unknown_97":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":8859776760981092352}} 
[2026-07-27 08:14:46] local.INFO: DEBUG: GPS processor result {"connection_id":142767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551914,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:14:46] local.INFO: GPS data processed {"connection_id":142767,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:14:46] local.INFO: Acknowledgment sent {"connection_id":142767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:14:48] local.INFO: TCP Data received {"connection_id":145064,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1738ba0012d7f980005afd7c0000d000628..."} 
[2026-07-27 08:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145064,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1738ba0012d7f980005afd7c0000d000628..."} 
[2026-07-27 08:14:48] local.INFO: Processing buffer {"connection_id":145064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1738ba0012d7f980005afd7c0000d000628..."} 
[2026-07-27 08:14:48] local.INFO: Packet analysis {"connection_id":145064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa173"} 
[2026-07-27 08:14:48] local.INFO: Extracted packet for processing {"connection_id":145064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa173"} 
[2026-07-27 08:14:48] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":13,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 08: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-07-27 08:14:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990676736001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:14:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 08:14:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 08:14:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:14:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785120132000,"timestamp_ms":1785120132000,"timestamp_seconds":1785120132,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1738ba0"} 
[2026-07-27 08:14:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:14:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 08: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-27 08:14:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08: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-07-27 08:14:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:14:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:14:48] local.INFO: Teltonika packet parsed successfully {"connection_id":145064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:14:48] local.INFO: Passing IMEI to GPS processor {"connection_id":145064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:14:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":145064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:14:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:14:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:14:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:14:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990676736001,"66":25158,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 08:14:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:14:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:14:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990676736001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:14:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 08:14:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:14:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:14:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 08:14:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990676736001,"power":25158,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 08:14:48] local.INFO: DEBUG: GPS processor result {"connection_id":145064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:14:48] local.INFO: GPS data processed {"connection_id":145064,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:14:48] local.INFO: Acknowledgment sent {"connection_id":145064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:15:29] local.INFO: TCP Data received {"connection_id":143748,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143748,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:15:29] local.INFO: Processing buffer {"connection_id":143748,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:15:29] local.INFO: IMEI packet received {"connection_id":143748,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 08:15:29] local.INFO: IMEI acknowledgment sent {"connection_id":143748,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:15:31] local.INFO: TCP Data received {"connection_id":143748,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143748,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:15:31] local.INFO: Processing buffer {"connection_id":143748,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:15:31] local.INFO: IMEI packet received {"connection_id":143748,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 08:15:31] local.INFO: IMEI acknowledgment sent {"connection_id":143748,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:15:32] local.INFO: TCP Data received {"connection_id":142656,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:15:32] local.INFO: Processing buffer {"connection_id":142656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:15:32] local.INFO: IMEI packet received {"connection_id":142656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 08:15:32] local.INFO: IMEI acknowledgment sent {"connection_id":142656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:15:37] local.INFO: TCP Data received {"connection_id":142656,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:15:37] local.INFO: Processing buffer {"connection_id":142656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:15:37] local.INFO: IMEI packet received {"connection_id":142656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 08:15:37] local.INFO: IMEI acknowledgment sent {"connection_id":142656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:15:38] local.INFO: TCP Data received {"connection_id":142656,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1738ba0012d7f980005afd7c0000d000628..."} 
[2026-07-27 08:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1738ba0012d7f980005afd7c0000d000628..."} 
[2026-07-27 08:15:38] local.INFO: Processing buffer {"connection_id":142656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1738ba0012d7f980005afd7c0000d000628..."} 
[2026-07-27 08:15:38] local.INFO: Packet analysis {"connection_id":142656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa173"} 
[2026-07-27 08:15:38] local.INFO: Extracted packet for processing {"connection_id":142656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa173"} 
[2026-07-27 08:15:38] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":13,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 08:15:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:15:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990676736001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:15:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 08:15:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 08:15:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:15:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785120132000,"timestamp_ms":1785120132000,"timestamp_seconds":1785120132,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1738ba0"} 
[2026-07-27 08:15:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:15:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 08:15:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-27 08:15:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:15:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:15:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:15:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:15:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:15:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:15:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:15:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:15:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:15:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:15:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990676736001,"66":25158,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 08:15:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:15:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:15:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990676736001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:15:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 08:15:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:15:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:15:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 08:15:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990676736001,"power":25158,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 08:15:38] local.INFO: DEBUG: GPS processor result {"connection_id":142656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:15:38] local.INFO: GPS data processed {"connection_id":142656,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:15:38] local.INFO: Acknowledgment sent {"connection_id":142656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:16:09] local.INFO: TCP Data received {"connection_id":142656,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1738ba0012d7f980005afd7c0000d000628..."} 
[2026-07-27 08:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1738ba0012d7f980005afd7c0000d000628..."} 
[2026-07-27 08:16:09] local.INFO: Processing buffer {"connection_id":142656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1738ba0012d7f980005afd7c0000d000628..."} 
[2026-07-27 08:16:09] local.INFO: Packet analysis {"connection_id":142656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa173"} 
[2026-07-27 08:16:09] local.INFO: Extracted packet for processing {"connection_id":142656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa173"} 
[2026-07-27 08:16:09] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":13,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 08:16:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:16:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990676736001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:16:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 08:16:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 08:16:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:16:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785120132000,"timestamp_ms":1785120132000,"timestamp_seconds":1785120132,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1738ba0"} 
[2026-07-27 08:16:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:16:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 08:16:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-27 08:16:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:16:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:16:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:16:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:16:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:16:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:16:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:16:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:16:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:16:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:16:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990676736001,"66":25158,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 08:16:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:16:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:16:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990676736001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:16:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 08:16:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:16:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:16:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 08:16:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990676736001,"power":25158,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 08:16:09] local.INFO: DEBUG: GPS processor result {"connection_id":142656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:16:09] local.INFO: GPS data processed {"connection_id":142656,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:16:09] local.INFO: Acknowledgment sent {"connection_id":142656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:16:32] local.INFO: TCP Data received {"connection_id":143749,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:16:32] local.INFO: Processing buffer {"connection_id":143749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:16:32] local.INFO: IMEI packet received {"connection_id":143749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 08:16:32] local.INFO: IMEI acknowledgment sent {"connection_id":143749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:16:37] local.INFO: TCP Data received {"connection_id":143749,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:16:37] local.INFO: Processing buffer {"connection_id":143749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:16:37] local.INFO: IMEI packet received {"connection_id":143749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 08:16:37] local.INFO: IMEI acknowledgment sent {"connection_id":143749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:16:38] local.INFO: TCP Data received {"connection_id":143749,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1738ba0012d7f980005afd7c0000d000628..."} 
[2026-07-27 08:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1738ba0012d7f980005afd7c0000d000628..."} 
[2026-07-27 08:16:38] local.INFO: Processing buffer {"connection_id":143749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1738ba0012d7f980005afd7c0000d000628..."} 
[2026-07-27 08:16:38] local.INFO: Packet analysis {"connection_id":143749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa173"} 
[2026-07-27 08:16:38] local.INFO: Extracted packet for processing {"connection_id":143749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa173"} 
[2026-07-27 08:16:38] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":13,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 08:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:16:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990676736001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:16:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 08:16:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 08:16:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:16:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785120132000,"timestamp_ms":1785120132000,"timestamp_seconds":1785120132,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1738ba0"} 
[2026-07-27 08:16:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:16:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 08:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-27 08:16:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:16:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:16:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:16:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:16:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:16:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:16:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:16:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:16:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:16:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:16:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990676736001,"66":25158,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 08:16:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:16:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:16:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990676736001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:16:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 08:16:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:16:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:16:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 08:16:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990676736001,"power":25158,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 08:16:38] local.INFO: DEBUG: GPS processor result {"connection_id":143749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:16:38] local.INFO: GPS data processed {"connection_id":143749,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:16:38] local.INFO: Acknowledgment sent {"connection_id":143749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:17:09] local.INFO: TCP Data received {"connection_id":143749,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1738ba0012d7f980005afd7c0000d000628..."} 
[2026-07-27 08:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1738ba0012d7f980005afd7c0000d000628..."} 
[2026-07-27 08:17:09] local.INFO: Processing buffer {"connection_id":143749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1738ba0012d7f980005afd7c0000d000628..."} 
[2026-07-27 08:17:09] local.INFO: Packet analysis {"connection_id":143749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa173"} 
[2026-07-27 08:17:09] local.INFO: Extracted packet for processing {"connection_id":143749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa173"} 
[2026-07-27 08:17:09] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":13,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 08:17:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:17:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990676736001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:17:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 08:17:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 08:17:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:17:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785120132000,"timestamp_ms":1785120132000,"timestamp_seconds":1785120132,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1738ba0"} 
[2026-07-27 08:17:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:17:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 08:17:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-27 08:17:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:17:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:17:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:17:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:17:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:17:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:17:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:17:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:17:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:17:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:17:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990676736001,"66":25158,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 08:17:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:17:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:17:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990676736001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:17:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 08:17:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:17:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:17:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 08:17:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990676736001,"power":25158,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 08:17:09] local.INFO: DEBUG: GPS processor result {"connection_id":143749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:17:09] local.INFO: GPS data processed {"connection_id":143749,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:17:09] local.INFO: Acknowledgment sent {"connection_id":143749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:17:10] local.INFO: TCP Data received {"connection_id":142768,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 08:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142768,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 08:17:10] local.INFO: Processing buffer {"connection_id":142768,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 08:17:10] local.INFO: IMEI packet received {"connection_id":142768,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 08:17:10] local.INFO: IMEI acknowledgment sent {"connection_id":142768,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:17:31] local.INFO: TCP Data received {"connection_id":145065,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145065,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:17:31] local.INFO: Processing buffer {"connection_id":145065,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:17:31] local.INFO: IMEI packet received {"connection_id":145065,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 08:17:31] local.INFO: IMEI acknowledgment sent {"connection_id":145065,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:17:32] local.INFO: TCP Data received {"connection_id":145066,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:17:32] local.INFO: Processing buffer {"connection_id":145066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:17:32] local.INFO: IMEI packet received {"connection_id":145066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 08:17:32] local.INFO: IMEI acknowledgment sent {"connection_id":145066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:17:35] local.INFO: TCP Data received {"connection_id":145065,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145065,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:17:35] local.INFO: Processing buffer {"connection_id":145065,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:17:35] local.INFO: IMEI packet received {"connection_id":145065,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 08:17:35] local.INFO: IMEI acknowledgment sent {"connection_id":145065,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:17:36] local.INFO: TCP Data received {"connection_id":145065,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000000000000d2f00100000000000000000000000000..."} 
[2026-07-27 08:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145065,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000d2f00100000000000000000000000000..."} 
[2026-07-27 08:17:36] local.INFO: Processing buffer {"connection_id":145065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000d2f00100000000000000000000000000..."} 
[2026-07-27 08:17:36] local.INFO: Packet analysis {"connection_id":145065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-27 08:17:36] local.INFO: Extracted packet for processing {"connection_id":145065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-27 08:17: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-07-27 08:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:17:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25776521104850944,"note":"Value kept but may cause issues"} 
[2026-07-27 08:17:36] 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-07-27 08:17:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":54000,"timestamp_seconds":54,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 08:17:36] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:17:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-27 08:17:36] local.INFO: Teltonika packet parsed successfully {"connection_id":145065,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:17:36] local.INFO: Passing IMEI to GPS processor {"connection_id":145065,"device_imei":"862567072573210","avl_records_count":0} 
[2026-07-27 08:17:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":145065,"device_imei":"862567072573210","avl_records_count":0} 
[2026-07-27 08:17:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-27 08:17:36] local.WARNING: DEBUG: No valid data to process  
[2026-07-27 08:17:36] local.INFO: DEBUG: GPS processor result {"connection_id":145065,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-27 08:17:36] local.ERROR: GPS data processing failed {"connection_id":145065,"error":"No valid data to process"} 
[2026-07-27 08:17:36] local.INFO: Acknowledgment sent {"connection_id":145065,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-27 08:17:37] local.INFO: TCP Data received {"connection_id":145066,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:17:37] local.INFO: Processing buffer {"connection_id":145066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:17:37] local.INFO: IMEI packet received {"connection_id":145066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 08:17:37] local.INFO: IMEI acknowledgment sent {"connection_id":145066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:17:38] local.INFO: TCP Data received {"connection_id":145066,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1738ba0012d7f980005afd7c0000d000628..."} 
[2026-07-27 08:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145066,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1738ba0012d7f980005afd7c0000d000628..."} 
[2026-07-27 08:17:38] local.INFO: Processing buffer {"connection_id":145066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1738ba0012d7f980005afd7c0000d000628..."} 
[2026-07-27 08:17:38] local.INFO: Packet analysis {"connection_id":145066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa173"} 
[2026-07-27 08:17:38] local.INFO: Extracted packet for processing {"connection_id":145066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa173"} 
[2026-07-27 08:17:38] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":13,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 08:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:17:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990676736001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:17:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 08:17:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 08:17:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:17:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785120132000,"timestamp_ms":1785120132000,"timestamp_seconds":1785120132,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1738ba0"} 
[2026-07-27 08:17:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:17:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 08:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-27 08:17:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:17:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:17:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:17:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:17:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:17:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:17:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:17:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:17:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:17:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:17:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990676736001,"66":25158,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 08:17:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:17:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:17:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990676736001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:17:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 08:17:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:17:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:17:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 08:17:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990676736001,"power":25158,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 08:17:38] local.INFO: DEBUG: GPS processor result {"connection_id":145066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:17:38] local.INFO: GPS data processed {"connection_id":145066,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:17:38] local.INFO: Acknowledgment sent {"connection_id":145066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:17:45] local.INFO: TCP Data received {"connection_id":142769,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 08:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142769,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 08:17:45] local.INFO: Processing buffer {"connection_id":142769,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 08:17:45] local.INFO: IMEI packet received {"connection_id":142769,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 08:17:45] local.INFO: IMEI acknowledgment sent {"connection_id":142769,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:18:09] local.INFO: TCP Data received {"connection_id":145066,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1782368012d7f980005afd7c0000d000629..."} 
[2026-07-27 08:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145066,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1782368012d7f980005afd7c0000d000629..."} 
[2026-07-27 08:18:09] local.INFO: Processing buffer {"connection_id":145066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1782368012d7f980005afd7c0000d000629..."} 
[2026-07-27 08:18:09] local.INFO: Packet analysis {"connection_id":145066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa178"} 
[2026-07-27 08:18:09] local.INFO: Extracted packet for processing {"connection_id":145066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa178"} 
[2026-07-27 08:18:09] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":13,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 08:18:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:18:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990753792001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:18:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 08:18:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 08:18:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:18:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785120433000,"timestamp_ms":1785120433000,"timestamp_seconds":1785120433,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1782368"} 
[2026-07-27 08:18:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:18:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 08:18:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-27 08:18:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:18:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:18:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:18:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:18:09] local.INFO: Teltonika packet parsed successfully {"connection_id":145066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:18:09] local.INFO: Passing IMEI to GPS processor {"connection_id":145066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:18:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":145066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:18:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:18:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:18:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:18:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990753792001,"66":25180,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 08:18:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:18:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:18:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990753792001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:18:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 08:18:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:18:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:18:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 08:18:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990753792001,"power":25180,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 08:18:09] local.INFO: DEBUG: GPS processor result {"connection_id":145066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:18:09] local.INFO: GPS data processed {"connection_id":145066,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:18:09] local.INFO: Acknowledgment sent {"connection_id":145066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:18:23] local.INFO: TCP Data received {"connection_id":145065,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a00000000000144380100000000000000000000000000..."} 
[2026-07-27 08:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145065,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000144380100000000000000000000000000..."} 
[2026-07-27 08:18:23] local.INFO: Processing buffer {"connection_id":145065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000144380100000000000000000000000000..."} 
[2026-07-27 08:18:23] local.INFO: Packet analysis {"connection_id":145065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-27 08:18:23] local.INFO: Extracted packet for processing {"connection_id":145065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-27 08:18: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-07-27 08: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-07-27 08:18:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25776521104850944,"note":"Value kept but may cause issues"} 
[2026-07-27 08:18: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-07-27 08:18:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":83000,"timestamp_seconds":83,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 08:18:23] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:18:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-27 08:18:23] local.INFO: Teltonika packet parsed successfully {"connection_id":145065,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:18:23] local.INFO: Passing IMEI to GPS processor {"connection_id":145065,"device_imei":"862567072573210","avl_records_count":0} 
[2026-07-27 08:18:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":145065,"device_imei":"862567072573210","avl_records_count":0} 
[2026-07-27 08:18:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-27 08:18:23] local.WARNING: DEBUG: No valid data to process  
[2026-07-27 08:18:23] local.INFO: DEBUG: GPS processor result {"connection_id":145065,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-27 08:18:23] local.ERROR: GPS data processing failed {"connection_id":145065,"error":"No valid data to process"} 
[2026-07-27 08:18:23] local.INFO: Acknowledgment sent {"connection_id":145065,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-27 08:18:32] local.INFO: TCP Data received {"connection_id":142770,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:18:32] local.INFO: Processing buffer {"connection_id":142770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:18:32] local.INFO: IMEI packet received {"connection_id":142770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 08:18:32] local.INFO: IMEI acknowledgment sent {"connection_id":142770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:18:38] local.INFO: TCP Data received {"connection_id":142770,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:18:38] local.INFO: Processing buffer {"connection_id":142770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:18:38] local.INFO: IMEI packet received {"connection_id":142770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 08:18:38] local.INFO: IMEI acknowledgment sent {"connection_id":142770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:18:38] local.INFO: TCP Data received {"connection_id":142770,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1782368012d7f980005afd7c0000d000629..."} 
[2026-07-27 08:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1782368012d7f980005afd7c0000d000629..."} 
[2026-07-27 08:18:38] local.INFO: Processing buffer {"connection_id":142770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1782368012d7f980005afd7c0000d000629..."} 
[2026-07-27 08:18:38] local.INFO: Packet analysis {"connection_id":142770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa178"} 
[2026-07-27 08:18:38] local.INFO: Extracted packet for processing {"connection_id":142770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa178"} 
[2026-07-27 08:18:38] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":13,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 08:18:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:18:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990753792001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:18:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 08:18:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 08:18:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:18:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785120433000,"timestamp_ms":1785120433000,"timestamp_seconds":1785120433,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1782368"} 
[2026-07-27 08:18:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:18:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 08:18:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-27 08:18:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:18:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:18:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:18:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:18:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:18:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:18:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:18:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:18:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:18:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:18:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990753792001,"66":25180,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 08:18:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:18:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:18:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990753792001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:18:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 08:18:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:18:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:18:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 08:18:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990753792001,"power":25180,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 08:18:38] local.INFO: DEBUG: GPS processor result {"connection_id":142770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:18:38] local.INFO: GPS data processed {"connection_id":142770,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:18:38] local.INFO: Acknowledgment sent {"connection_id":142770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:18:58] local.INFO: TCP Data received {"connection_id":145065,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa179a620012d0b0f8007029d700037010806..."} 
[2026-07-27 08:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa179a620012d0b0f8007029d700037010806..."} 
[2026-07-27 08:18:58] local.INFO: Processing buffer {"connection_id":145065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa179a620012d0b0f8007029d700037010806..."} 
[2026-07-27 08:18:58] local.INFO: Packet analysis {"connection_id":145065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa179"} 
[2026-07-27 08:18:58] local.INFO: Extracted packet for processing {"connection_id":145065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa179"} 
[2026-07-27 08:18:58] local.INFO: GPS Element Parsed {"raw_longitude":755699584,"raw_latitude":117611888,"longitude_deg":75.5699584,"latitude_deg":11.7611888,"altitude":55,"angle":264,"satellites":6,"speed":2,"hex_longitude":"2d0b0f80","hex_latitude":"07029d70","is_valid_coordinates":true} 
[2026-07-27 08:18:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:18:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990855936001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:18:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25776568349491200,"note":"Value kept but may cause issues"} 
[2026-07-27 08:18:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":796996426664867840,"note":"Value kept but may cause issues"} 
[2026-07-27 08:18:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:18:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785120532000,"timestamp_ms":1785120532000,"timestamp_seconds":1785120532,"priority":1,"record_length":96,"hex_timestamp":"0000019fa179a620"} 
[2026-07-27 08:18:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:18:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6144,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08:18:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-27 08:18:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:18:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:18:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:18:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:18:58] local.INFO: Teltonika packet parsed successfully {"connection_id":145065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:18:58] local.INFO: Passing IMEI to GPS processor {"connection_id":145065,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:18:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":145065,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:18:58] 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-07-27 08:18:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 08:18:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 08:18:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990855936001,"66":14428,"96":206,"94":10240,"24":2,"16":25776568349491200,"45":796996426664867840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-07-27 08:18:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 08:18:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 08:18:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990855936001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:18:58] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-27 08:18:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 08:18:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25776568349491200,"km_value":25776568349491.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:18:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":796996426664867840,"description":"Unknown IO ID 45"} 
[2026-07-27 08:18:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990855936001,"power":14428,"unknown_96":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":796996426664867840}} 
[2026-07-27 08:18:58] local.INFO: DEBUG: GPS processor result {"connection_id":145065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551923,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:18:58] local.INFO: GPS data processed {"connection_id":145065,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:18:58] local.INFO: Acknowledgment sent {"connection_id":145065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:19:10] local.INFO: TCP Data received {"connection_id":142770,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1782368012d7f980005afd7c0000d000629..."} 
[2026-07-27 08:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1782368012d7f980005afd7c0000d000629..."} 
[2026-07-27 08:19:10] local.INFO: Processing buffer {"connection_id":142770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1782368012d7f980005afd7c0000d000629..."} 
[2026-07-27 08:19:10] local.INFO: Packet analysis {"connection_id":142770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa178"} 
[2026-07-27 08:19:10] local.INFO: Extracted packet for processing {"connection_id":142770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa178"} 
[2026-07-27 08:19:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":13,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 08:19:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990753792001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:19:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 08:19:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 08:19:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:19:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785120433000,"timestamp_ms":1785120433000,"timestamp_seconds":1785120433,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1782368"} 
[2026-07-27 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-07-27 08:19:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-27 08:19:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 08:19:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:19:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:19:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:19:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:19:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:19:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:19:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:19:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990753792001,"66":25180,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 08:19:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:19:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:19:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990753792001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:19:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 08:19:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:19:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:19:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 08:19:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990753792001,"power":25180,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 08:19:10] local.INFO: DEBUG: GPS processor result {"connection_id":142770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:19:10] local.INFO: GPS data processed {"connection_id":142770,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:19:10] local.INFO: Acknowledgment sent {"connection_id":142770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:19:32] local.INFO: TCP Data received {"connection_id":142658,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:19:32] local.INFO: Processing buffer {"connection_id":142658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:19:32] local.INFO: IMEI packet received {"connection_id":142658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 08:19:32] local.INFO: IMEI acknowledgment sent {"connection_id":142658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:19:38] local.INFO: TCP Data received {"connection_id":142658,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:19:38] local.INFO: Processing buffer {"connection_id":142658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:19:38] local.INFO: IMEI packet received {"connection_id":142658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 08:19:38] local.INFO: IMEI acknowledgment sent {"connection_id":142658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:19:38] local.INFO: TCP Data received {"connection_id":142658,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1782368012d7f980005afd7c0000d000629..."} 
[2026-07-27 08:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1782368012d7f980005afd7c0000d000629..."} 
[2026-07-27 08:19:38] local.INFO: Processing buffer {"connection_id":142658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1782368012d7f980005afd7c0000d000629..."} 
[2026-07-27 08:19:38] local.INFO: Packet analysis {"connection_id":142658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa178"} 
[2026-07-27 08:19:38] local.INFO: Extracted packet for processing {"connection_id":142658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa178"} 
[2026-07-27 08:19:38] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":13,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 08:19:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:19:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990753792001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:19:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 08:19:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 08:19:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:19:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785120433000,"timestamp_ms":1785120433000,"timestamp_seconds":1785120433,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1782368"} 
[2026-07-27 08:19:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:19:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 08:19:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-27 08:19:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:19:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:19:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:19:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:19:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:19:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:19:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:19:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:19:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:19:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:19:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990753792001,"66":25180,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 08:19:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:19:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:19:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990753792001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:19:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 08:19:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:19:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:19:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 08:19:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990753792001,"power":25180,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 08:19:38] local.INFO: DEBUG: GPS processor result {"connection_id":142658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:19:38] local.INFO: GPS data processed {"connection_id":142658,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:19:38] local.INFO: Acknowledgment sent {"connection_id":142658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:19:44] local.INFO: TCP Data received {"connection_id":143751,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:19:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143751,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:19:44] local.INFO: Processing buffer {"connection_id":143751,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:19:44] local.INFO: IMEI packet received {"connection_id":143751,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 08:19:44] local.INFO: IMEI acknowledgment sent {"connection_id":143751,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:19:45] local.INFO: TCP Data received {"connection_id":143751,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143751,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:19:45] local.INFO: Processing buffer {"connection_id":143751,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:19:45] local.INFO: IMEI packet received {"connection_id":143751,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 08:19:45] local.INFO: IMEI acknowledgment sent {"connection_id":143751,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:19:47] local.INFO: TCP Data received {"connection_id":143751,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143751,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:19:47] local.INFO: Processing buffer {"connection_id":143751,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:19:47] local.INFO: IMEI packet received {"connection_id":143751,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 08:19:47] local.INFO: IMEI acknowledgment sent {"connection_id":143751,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:19:50] local.INFO: TCP Data received {"connection_id":143751,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143751,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:19:50] local.INFO: Processing buffer {"connection_id":143751,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:19:50] local.INFO: IMEI packet received {"connection_id":143751,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 08:19:50] local.INFO: IMEI acknowledgment sent {"connection_id":143751,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:19:51] local.INFO: TCP Data received {"connection_id":143751,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa17a32c0012d0b124007029d780039007906..."} 
[2026-07-27 08:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa17a32c0012d0b124007029d780039007906..."} 
[2026-07-27 08:19:51] local.INFO: Processing buffer {"connection_id":143751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa17a32c0012d0b124007029d780039007906..."} 
[2026-07-27 08:19:51] local.INFO: Packet analysis {"connection_id":143751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa17a"} 
[2026-07-27 08:19:51] local.INFO: Extracted packet for processing {"connection_id":143751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa17a"} 
[2026-07-27 08:19:51] local.INFO: GPS Element Parsed {"raw_longitude":755700288,"raw_latitude":117611896,"longitude_deg":75.5700288,"latitude_deg":11.7611896,"altitude":57,"angle":121,"satellites":6,"speed":1,"hex_longitude":"2d0b1240","hex_latitude":"07029d78","is_valid_coordinates":true} 
[2026-07-27 08:19:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:19:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990864640001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:19:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25776680018640896,"note":"Value kept but may cause issues"} 
[2026-07-27 08:19:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083348992,"note":"Value kept but may cause issues"} 
[2026-07-27 08:19:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:19:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785120568000,"timestamp_ms":1785120568000,"timestamp_seconds":1785120568,"priority":1,"record_length":96,"hex_timestamp":"0000019fa17a32c0"} 
[2026-07-27 08:19:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:19:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8448,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08:19:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-27 08:19:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:19:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:19:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:19:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:19:51] local.INFO: Teltonika packet parsed successfully {"connection_id":143751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:19:51] local.INFO: Passing IMEI to GPS processor {"connection_id":143751,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:19:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":143751,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:19:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:19:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 08:19:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 08:19:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990864640001,"66":14559,"17":206,"94":11008,"24":1,"16":25776680018640896,"45":797981589083348992},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-27 08:19:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 08:19:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 08:19:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990864640001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:19:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-27 08:19:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25776680018640896,"km_value":25776680018640.895,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:19:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083348992,"description":"Unknown IO ID 45"} 
[2026-07-27 08:19:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990864640001,"power":14559,"axis_x":206,"unknown_94":11008,"ignition":1,"odometer":null,"unknown_45":797981589083348992}} 
[2026-07-27 08:19:51] local.INFO: DEBUG: GPS processor result {"connection_id":143751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551926,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:19:51] local.INFO: GPS data processed {"connection_id":143751,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:19:51] local.INFO: Acknowledgment sent {"connection_id":143751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:20:10] local.INFO: TCP Data received {"connection_id":142658,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1782368012d7f980005afd7c0000d000629..."} 
[2026-07-27 08:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1782368012d7f980005afd7c0000d000629..."} 
[2026-07-27 08:20:10] local.INFO: Processing buffer {"connection_id":142658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1782368012d7f980005afd7c0000d000629..."} 
[2026-07-27 08:20:10] local.INFO: Packet analysis {"connection_id":142658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa178"} 
[2026-07-27 08:20:10] local.INFO: Extracted packet for processing {"connection_id":142658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa178"} 
[2026-07-27 08:20:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":13,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 08:20:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990753792001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:20:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 08:20:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 08:20:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:20:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785120433000,"timestamp_ms":1785120433000,"timestamp_seconds":1785120433,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1782368"} 
[2026-07-27 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-07-27 08:20:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-27 08:20:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 08:20:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:20:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:20:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:20:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:20:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:20:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:20:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:20:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990753792001,"66":25180,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 08:20:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:20:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:20:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990753792001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:20:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 08:20:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:20:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:20:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 08:20:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990753792001,"power":25180,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 08:20:10] local.INFO: DEBUG: GPS processor result {"connection_id":142658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:20:10] local.INFO: GPS data processed {"connection_id":142658,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:20:10] local.INFO: Acknowledgment sent {"connection_id":142658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:20:23] local.INFO: TCP Data received {"connection_id":143751,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa17a36a8012d0b124007029d880039009906..."} 
[2026-07-27 08:20:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa17a36a8012d0b124007029d880039009906..."} 
[2026-07-27 08:20:23] local.INFO: Processing buffer {"connection_id":143751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa17a36a8012d0b124007029d880039009906..."} 
[2026-07-27 08:20:23] local.INFO: Packet analysis {"connection_id":143751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa17a"} 
[2026-07-27 08:20:23] local.INFO: Extracted packet for processing {"connection_id":143751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa17a"} 
[2026-07-27 08:20:23] local.INFO: GPS Element Parsed {"raw_longitude":755700288,"raw_latitude":117611912,"longitude_deg":75.5700288,"latitude_deg":11.7611912,"altitude":57,"angle":153,"satellites":6,"speed":1,"hex_longitude":"2d0b1240","hex_latitude":"07029d88","is_valid_coordinates":true} 
[2026-07-27 08:20:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:20:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990865408001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:20:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25776680018640896,"note":"Value kept but may cause issues"} 
[2026-07-27 08:20:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797770482850822144,"note":"Value kept but may cause issues"} 
[2026-07-27 08:20:23] 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-07-27 08:20:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785120569000,"timestamp_ms":1785120569000,"timestamp_seconds":1785120569,"priority":1,"record_length":96,"hex_timestamp":"0000019fa17a36a8"} 
[2026-07-27 08:20:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:20:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8704,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08:20:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-27 08:20:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:20:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:20:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:20:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:20:23] local.INFO: Teltonika packet parsed successfully {"connection_id":143751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:20:23] local.INFO: Passing IMEI to GPS processor {"connection_id":143751,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:20:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":143751,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:20:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:20:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 08:20:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 08:20:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990865408001,"66":14559,"17":206,"94":11008,"24":1,"16":25776680018640896,"45":797770482850822144},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-27 08:20:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 08:20:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 08:20:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990865408001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:20:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-27 08:20:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25776680018640896,"km_value":25776680018640.895,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:20:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797770482850822144,"description":"Unknown IO ID 45"} 
[2026-07-27 08:20:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990865408001,"power":14559,"axis_x":206,"unknown_94":11008,"ignition":1,"odometer":null,"unknown_45":797770482850822144}} 
[2026-07-27 08:20:23] local.INFO: DEBUG: GPS processor result {"connection_id":143751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551928,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:20:23] local.INFO: GPS data processed {"connection_id":143751,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:20:23] local.INFO: Acknowledgment sent {"connection_id":143751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:20:38] local.INFO: TCP Data received {"connection_id":142771,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:20:38] local.INFO: Processing buffer {"connection_id":142771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:20:38] local.INFO: IMEI packet received {"connection_id":142771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 08:20:38] local.INFO: IMEI acknowledgment sent {"connection_id":142771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:20:43] local.INFO: TCP Data received {"connection_id":142771,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:20:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:20:43] local.INFO: Processing buffer {"connection_id":142771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:20:43] local.INFO: IMEI packet received {"connection_id":142771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 08:20:43] local.INFO: IMEI acknowledgment sent {"connection_id":142771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:20:43] local.INFO: TCP Data received {"connection_id":142771,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1782368012d7f980005afd7c0000d000629..."} 
[2026-07-27 08:20:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1782368012d7f980005afd7c0000d000629..."} 
[2026-07-27 08:20:43] local.INFO: Processing buffer {"connection_id":142771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1782368012d7f980005afd7c0000d000629..."} 
[2026-07-27 08:20:43] local.INFO: Packet analysis {"connection_id":142771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa178"} 
[2026-07-27 08:20:43] local.INFO: Extracted packet for processing {"connection_id":142771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa178"} 
[2026-07-27 08:20:43] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":13,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 08: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-07-27 08:20:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990753792001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:20:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 08:20:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 08:20:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:20:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785120433000,"timestamp_ms":1785120433000,"timestamp_seconds":1785120433,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1782368"} 
[2026-07-27 08:20:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:20:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 08: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-27 08:20:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08: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-07-27 08:20:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:20:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:20:43] local.INFO: Teltonika packet parsed successfully {"connection_id":142771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:20:43] local.INFO: Passing IMEI to GPS processor {"connection_id":142771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:20:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":142771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:20:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:20:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:20:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:20:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990753792001,"66":25180,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 08:20:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:20:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:20:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990753792001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:20:43] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 08:20:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:20:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:20:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 08:20:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990753792001,"power":25180,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 08:20:43] local.INFO: DEBUG: GPS processor result {"connection_id":142771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:20:43] local.INFO: GPS data processed {"connection_id":142771,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:20:43] local.INFO: Acknowledgment sent {"connection_id":142771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:20:48] local.INFO: TCP Data received {"connection_id":142771,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1782368012d7f980005afd7c0000d000629..."} 
[2026-07-27 08:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1782368012d7f980005afd7c0000d000629..."} 
[2026-07-27 08:20:48] local.INFO: Processing buffer {"connection_id":142771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1782368012d7f980005afd7c0000d000629..."} 
[2026-07-27 08:20:48] local.INFO: Packet analysis {"connection_id":142771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa178"} 
[2026-07-27 08:20:48] local.INFO: Extracted packet for processing {"connection_id":142771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa178"} 
[2026-07-27 08:20:48] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":13,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 08:20:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:20:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990753792001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:20:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 08:20:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 08:20:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:20:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785120433000,"timestamp_ms":1785120433000,"timestamp_seconds":1785120433,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1782368"} 
[2026-07-27 08:20:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:20:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 08:20:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-27 08:20:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:20:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:20:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:20:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:20:48] local.INFO: Teltonika packet parsed successfully {"connection_id":142771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:20:48] local.INFO: Passing IMEI to GPS processor {"connection_id":142771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:20:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":142771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:20:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:20:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:20:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:20:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990753792001,"66":25180,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 08:20:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:20:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:20:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990753792001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:20:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 08:20:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:20:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:20:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 08:20:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990753792001,"power":25180,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 08:20:48] local.INFO: DEBUG: GPS processor result {"connection_id":142771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:20:48] local.INFO: GPS data processed {"connection_id":142771,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:20:48] local.INFO: Acknowledgment sent {"connection_id":142771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:20:54] local.INFO: TCP Data received {"connection_id":143751,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa17a4e18012d0b10c007029e280039011106..."} 
[2026-07-27 08:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa17a4e18012d0b10c007029e280039011106..."} 
[2026-07-27 08:20:54] local.INFO: Processing buffer {"connection_id":143751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa17a4e18012d0b10c007029e280039011106..."} 
[2026-07-27 08:20:54] local.INFO: Packet analysis {"connection_id":143751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa17a"} 
[2026-07-27 08:20:54] local.INFO: Extracted packet for processing {"connection_id":143751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa17a"} 
[2026-07-27 08:20:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612072,"longitude_deg":75.5699904,"latitude_deg":11.7612072,"altitude":57,"angle":273,"satellites":6,"speed":1,"hex_longitude":"2d0b10c0","hex_latitude":"07029e28","is_valid_coordinates":true} 
[2026-07-27 08:20:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:20:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990865664001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:20:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25776714378379264,"note":"Value kept but may cause issues"} 
[2026-07-27 08:20:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797770482850826240,"note":"Value kept but may cause issues"} 
[2026-07-27 08:20:54] 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-07-27 08:20:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785120575000,"timestamp_ms":1785120575000,"timestamp_seconds":1785120575,"priority":1,"record_length":96,"hex_timestamp":"0000019fa17a4e18"} 
[2026-07-27 08:20:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:20:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8704,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08:20:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-27 08:20:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:20:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:20:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:20:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:20:54] local.INFO: Teltonika packet parsed successfully {"connection_id":143751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:20:54] local.INFO: Passing IMEI to GPS processor {"connection_id":143751,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:20:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":143751,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:20:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:20:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 08:20:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 08:20:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990865664001,"66":14559,"17":206,"94":11008,"24":1,"16":25776714378379264,"45":797770482850826240},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-27 08:20:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 08:20:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 08:20:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990865664001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:20:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-27 08:20:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25776714378379264,"km_value":25776714378379.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:20:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797770482850826240,"description":"Unknown IO ID 45"} 
[2026-07-27 08:20:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990865664001,"power":14559,"axis_x":206,"unknown_94":11008,"ignition":1,"odometer":null,"unknown_45":797770482850826240}} 
[2026-07-27 08:20:54] local.INFO: DEBUG: GPS processor result {"connection_id":143751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551931,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:20:54] local.INFO: GPS data processed {"connection_id":143751,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:20:54] local.INFO: Acknowledgment sent {"connection_id":143751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:21:25] local.INFO: TCP Data received {"connection_id":143751,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa17a5200012d0b104007029e40003900fd06..."} 
[2026-07-27 08:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa17a5200012d0b104007029e40003900fd06..."} 
[2026-07-27 08:21:25] local.INFO: Processing buffer {"connection_id":143751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa17a5200012d0b104007029e40003900fd06..."} 
[2026-07-27 08:21:25] local.INFO: Packet analysis {"connection_id":143751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa17a"} 
[2026-07-27 08:21:25] local.INFO: Extracted packet for processing {"connection_id":143751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa17a"} 
[2026-07-27 08:21:25] local.INFO: GPS Element Parsed {"raw_longitude":755699776,"raw_latitude":117612096,"longitude_deg":75.5699776,"latitude_deg":11.7612096,"altitude":57,"angle":253,"satellites":6,"speed":3,"hex_longitude":"2d0b1040","hex_latitude":"07029e40","is_valid_coordinates":true} 
[2026-07-27 08:21:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:21:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990867200001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:21:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25776722968313856,"note":"Value kept but may cause issues"} 
[2026-07-27 08:21:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385801216,"note":"Value kept but may cause issues"} 
[2026-07-27 08:21:25] 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-07-27 08:21:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785120576000,"timestamp_ms":1785120576000,"timestamp_seconds":1785120576,"priority":1,"record_length":96,"hex_timestamp":"0000019fa17a5200"} 
[2026-07-27 08:21:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:21:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8960,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08:21:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-27 08:21:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:21:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:21:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:21:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:21:25] local.INFO: Teltonika packet parsed successfully {"connection_id":143751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:21:25] local.INFO: Passing IMEI to GPS processor {"connection_id":143751,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:21:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":143751,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:21:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:21:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 08:21:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 08:21:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990867200001,"66":14450,"17":206,"94":11008,"24":3,"16":25776722968313856,"45":797348270385801216},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-27 08:21:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 08:21:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 08:21:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990867200001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:21:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-27 08:21:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25776722968313856,"km_value":25776722968313.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:21:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385801216,"description":"Unknown IO ID 45"} 
[2026-07-27 08:21:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990867200001,"power":14450,"axis_x":206,"unknown_94":11008,"ignition":3,"odometer":null,"unknown_45":797348270385801216}} 
[2026-07-27 08:21:25] local.INFO: DEBUG: GPS processor result {"connection_id":143751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551932,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:21:25] local.INFO: GPS data processed {"connection_id":143751,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:21:25] local.INFO: Acknowledgment sent {"connection_id":143751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:21:33] local.INFO: TCP Data received {"connection_id":142659,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:21:33] local.INFO: Processing buffer {"connection_id":142659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:21:33] local.INFO: IMEI packet received {"connection_id":142659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 08:21:33] local.INFO: IMEI acknowledgment sent {"connection_id":142659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:21:38] local.INFO: TCP Data received {"connection_id":142659,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:21:38] local.INFO: Processing buffer {"connection_id":142659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:21:38] local.INFO: IMEI packet received {"connection_id":142659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 08:21:38] local.INFO: IMEI acknowledgment sent {"connection_id":142659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:21:41] local.INFO: TCP Data received {"connection_id":142659,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1782368012d7f980005afd7c0000d000629..."} 
[2026-07-27 08:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1782368012d7f980005afd7c0000d000629..."} 
[2026-07-27 08:21:41] local.INFO: Processing buffer {"connection_id":142659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1782368012d7f980005afd7c0000d000629..."} 
[2026-07-27 08:21:41] local.INFO: Packet analysis {"connection_id":142659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa178"} 
[2026-07-27 08:21:41] local.INFO: Extracted packet for processing {"connection_id":142659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa178"} 
[2026-07-27 08:21:41] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":13,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 08: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-07-27 08:21:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990753792001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:21:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 08:21:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 08:21:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:21:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785120433000,"timestamp_ms":1785120433000,"timestamp_seconds":1785120433,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1782368"} 
[2026-07-27 08:21:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:21:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 08: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-27 08:21:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08: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-07-27 08:21:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:21:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:21:41] local.INFO: Teltonika packet parsed successfully {"connection_id":142659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:21:41] local.INFO: Passing IMEI to GPS processor {"connection_id":142659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:21:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":142659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:21:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:21:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:21:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:21:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990753792001,"66":25180,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 08:21:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:21:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:21:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990753792001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:21:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 08:21:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:21:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:21:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 08:21:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990753792001,"power":25180,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 08:21:41] local.INFO: DEBUG: GPS processor result {"connection_id":142659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:21:41] local.INFO: GPS data processed {"connection_id":142659,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:21:41] local.INFO: Acknowledgment sent {"connection_id":142659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:21:56] local.INFO: TCP Data received {"connection_id":143751,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa17c1338012d0b10000702a0f00037011b08..."} 
[2026-07-27 08:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa17c1338012d0b10000702a0f00037011b08..."} 
[2026-07-27 08:21:56] local.INFO: Processing buffer {"connection_id":143751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa17c1338012d0b10000702a0f00037011b08..."} 
[2026-07-27 08:21:56] local.INFO: Packet analysis {"connection_id":143751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa17c"} 
[2026-07-27 08:21:56] local.INFO: Extracted packet for processing {"connection_id":143751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa17c"} 
[2026-07-27 08:21:56] local.INFO: GPS Element Parsed {"raw_longitude":755699712,"raw_latitude":117612784,"longitude_deg":75.5699712,"latitude_deg":11.7612784,"altitude":55,"angle":283,"satellites":8,"speed":1,"hex_longitude":"2d0b1000","hex_latitude":"0702a0f0","is_valid_coordinates":true} 
[2026-07-27 08:21:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:21:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990894848001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:21:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25776873292169216,"note":"Value kept but may cause issues"} 
[2026-07-27 08:21:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797207532897619968,"note":"Value kept but may cause issues"} 
[2026-07-27 08:21:56] 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-07-27 08:21:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785120691000,"timestamp_ms":1785120691000,"timestamp_seconds":1785120691,"priority":1,"record_length":96,"hex_timestamp":"0000019fa17c1338"} 
[2026-07-27 08:21:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:21:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08:21:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-27 08:21:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:21:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:21:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:21:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:21:56] local.INFO: Teltonika packet parsed successfully {"connection_id":143751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:21:56] local.INFO: Passing IMEI to GPS processor {"connection_id":143751,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:21:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":143751,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:21:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:21:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 08:21:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 08:21:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990894848001,"66":14407,"17":206,"94":11008,"24":1,"16":25776873292169216,"45":797207532897619968},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-27 08:21:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 08:21:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 08:21:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990894848001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:21:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-27 08:21:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25776873292169216,"km_value":25776873292169.215,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:21:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":797207532897619968,"description":"Unknown IO ID 45"} 
[2026-07-27 08:21:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990894848001,"power":14407,"axis_x":206,"unknown_94":11008,"ignition":1,"odometer":null,"unknown_45":797207532897619968}} 
[2026-07-27 08:21:56] local.INFO: DEBUG: GPS processor result {"connection_id":143751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551934,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:21:56] local.INFO: GPS data processed {"connection_id":143751,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:21:56] local.INFO: Acknowledgment sent {"connection_id":143751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:22:13] local.INFO: TCP Data received {"connection_id":142659,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1782368012d7f980005afd7c0000d000629..."} 
[2026-07-27 08:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1782368012d7f980005afd7c0000d000629..."} 
[2026-07-27 08:22:13] local.INFO: Processing buffer {"connection_id":142659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1782368012d7f980005afd7c0000d000629..."} 
[2026-07-27 08:22:13] local.INFO: Packet analysis {"connection_id":142659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa178"} 
[2026-07-27 08:22:13] local.INFO: Extracted packet for processing {"connection_id":142659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa178"} 
[2026-07-27 08:22:13] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":13,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 08: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-07-27 08:22:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990753792001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:22:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 08:22:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 08:22:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:22:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785120433000,"timestamp_ms":1785120433000,"timestamp_seconds":1785120433,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1782368"} 
[2026-07-27 08:22:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:22:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 08: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":70,"data_length":795,"current_offset":136} 
[2026-07-27 08:22:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08: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-07-27 08:22:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:22:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:22:13] local.INFO: Teltonika packet parsed successfully {"connection_id":142659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:22:13] local.INFO: Passing IMEI to GPS processor {"connection_id":142659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:22:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":142659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:22: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-07-27 08:22:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:22:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:22:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990753792001,"66":25180,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 08:22:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:22:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:22:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990753792001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:22:13] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 08:22:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:22:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:22:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 08:22:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990753792001,"power":25180,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 08:22:13] local.INFO: DEBUG: GPS processor result {"connection_id":142659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:22:13] local.INFO: GPS data processed {"connection_id":142659,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:22:13] local.INFO: Acknowledgment sent {"connection_id":142659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:22:28] local.INFO: TCP Data received {"connection_id":143751,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa17c22d8012d0b0f400702a1000037010d08..."} 
[2026-07-27 08:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa17c22d8012d0b0f400702a1000037010d08..."} 
[2026-07-27 08:22:28] local.INFO: Processing buffer {"connection_id":143751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa17c22d8012d0b0f400702a1000037010d08..."} 
[2026-07-27 08:22:28] local.INFO: Packet analysis {"connection_id":143751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa17c"} 
[2026-07-27 08:22:28] local.INFO: Extracted packet for processing {"connection_id":143751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa17c"} 
[2026-07-27 08:22:28] local.INFO: GPS Element Parsed {"raw_longitude":755699520,"raw_latitude":117612800,"longitude_deg":75.569952,"latitude_deg":11.76128,"altitude":55,"angle":269,"satellites":8,"speed":1,"hex_longitude":"2d0b0f40","hex_latitude":"0702a100","is_valid_coordinates":true} 
[2026-07-27 08:22:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:22:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990896896001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:22:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25776877587136512,"note":"Value kept but may cause issues"} 
[2026-07-27 08:22:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797137164153450496,"note":"Value kept but may cause issues"} 
[2026-07-27 08:22:28] 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-07-27 08:22:28] local.INFO: AVL Record Parsed {"raw_timestamp":1785120695000,"timestamp_ms":1785120695000,"timestamp_seconds":1785120695,"priority":1,"record_length":96,"hex_timestamp":"0000019fa17c22d8"} 
[2026-07-27 08:22:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:22:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08:22:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-27 08:22:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:22:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:22:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:22:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:22:28] local.INFO: Teltonika packet parsed successfully {"connection_id":143751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:22:28] local.INFO: Passing IMEI to GPS processor {"connection_id":143751,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:22:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":143751,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:22:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:22:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 08:22:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 08:22:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990896896001,"66":14450,"17":206,"94":11008,"24":1,"16":25776877587136512,"45":797137164153450496},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-27 08:22:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 08:22:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 08:22:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990896896001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:22:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-27 08:22:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25776877587136512,"km_value":25776877587136.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:22:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":797137164153450496,"description":"Unknown IO ID 45"} 
[2026-07-27 08:22:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990896896001,"power":14450,"axis_x":206,"unknown_94":11008,"ignition":1,"odometer":null,"unknown_45":797137164153450496}} 
[2026-07-27 08:22:28] local.INFO: DEBUG: GPS processor result {"connection_id":143751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551936,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:22:28] local.INFO: GPS data processed {"connection_id":143751,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:22:28] local.INFO: Acknowledgment sent {"connection_id":143751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:22:33] local.INFO: TCP Data received {"connection_id":142773,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:22:33] local.INFO: Processing buffer {"connection_id":142773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:22:33] local.INFO: IMEI packet received {"connection_id":142773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 08:22:33] local.INFO: IMEI acknowledgment sent {"connection_id":142773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:22:38] local.INFO: TCP Data received {"connection_id":142773,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:22:38] local.INFO: Processing buffer {"connection_id":142773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:22:38] local.INFO: IMEI packet received {"connection_id":142773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 08:22:38] local.INFO: IMEI acknowledgment sent {"connection_id":142773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:22:38] local.INFO: TCP Data received {"connection_id":142773,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1782368012d7f980005afd7c0000d000629..."} 
[2026-07-27 08:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1782368012d7f980005afd7c0000d000629..."} 
[2026-07-27 08:22:38] local.INFO: Processing buffer {"connection_id":142773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1782368012d7f980005afd7c0000d000629..."} 
[2026-07-27 08:22:38] local.INFO: Packet analysis {"connection_id":142773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa178"} 
[2026-07-27 08:22:38] local.INFO: Extracted packet for processing {"connection_id":142773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa178"} 
[2026-07-27 08:22:38] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":13,"angle":6,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 08:22:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:22:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990753792001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:22:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 08:22:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 08:22:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:22:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785120433000,"timestamp_ms":1785120433000,"timestamp_seconds":1785120433,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1782368"} 
[2026-07-27 08:22:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:22:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 08:22:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-27 08:22:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:22:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:22:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:22:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:22:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:22:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:22:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:22:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:22:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:22:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:22:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990753792001,"66":25180,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 08:22:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:22:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:22:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990753792001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:22:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 08:22:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:22:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:22:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 08:22:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990753792001,"power":25180,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 08:22:38] local.INFO: DEBUG: GPS processor result {"connection_id":142773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:22:38] local.INFO: GPS data processed {"connection_id":142773,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:22:38] local.INFO: Acknowledgment sent {"connection_id":142773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:23:09] local.INFO: TCP Data received {"connection_id":142773,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fa17cbb30012d7f980005afd7c0000d000628..."} 
[2026-07-27 08:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa17cbb30012d7f980005afd7c0000d000628..."} 
[2026-07-27 08:23:09] local.INFO: Processing buffer {"connection_id":142773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa17cbb30012d7f980005afd7c0000d000628..."} 
[2026-07-27 08:23:09] local.INFO: Packet analysis {"connection_id":142773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa17c"} 
[2026-07-27 08:23:09] local.INFO: Extracted packet for processing {"connection_id":142773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa17c"} 
[2026-07-27 08:23:09] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":13,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 08:23:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990830848001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:23:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 08:23:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 08:23:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:23:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785120734000,"timestamp_ms":1785120734000,"timestamp_seconds":1785120734,"priority":1,"record_length":96,"hex_timestamp":"0000019fa17cbb30"} 
[2026-07-27 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-07-27 08:23:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-27 08:23:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 08:23:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:23:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:23:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:23:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:23:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:23:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:23:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:23:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990830848001,"66":25147,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 08:23:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:23:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:23:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990830848001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:23:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 08:23:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:23:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:23:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 08:23:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990830848001,"power":25147,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 08:23:09] local.INFO: DEBUG: GPS processor result {"connection_id":142773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:23:09] local.INFO: GPS data processed {"connection_id":142773,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:23:09] local.INFO: Acknowledgment sent {"connection_id":142773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:23:10] local.INFO: TCP Data received {"connection_id":145068,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 08:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145068,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 08:23:10] local.INFO: Processing buffer {"connection_id":145068,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 08:23:10] local.INFO: IMEI packet received {"connection_id":145068,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 08:23:10] local.INFO: IMEI acknowledgment sent {"connection_id":145068,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:23:23] local.INFO: TCP Data received {"connection_id":143751,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa17d3830012d0b00c00702c298002e004808..."} 
[2026-07-27 08:23:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa17d3830012d0b00c00702c298002e004808..."} 
[2026-07-27 08:23:23] local.INFO: Processing buffer {"connection_id":143751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa17d3830012d0b00c00702c298002e004808..."} 
[2026-07-27 08:23:23] local.INFO: Packet analysis {"connection_id":143751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa17d"} 
[2026-07-27 08:23:23] local.INFO: Extracted packet for processing {"connection_id":143751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa17d"} 
[2026-07-27 08:23:23] local.INFO: GPS Element Parsed {"raw_longitude":755695808,"raw_latitude":117621400,"longitude_deg":75.5695808,"latitude_deg":11.76214,"altitude":46,"angle":72,"satellites":8,"speed":6,"hex_longitude":"2d0b00c0","hex_latitude":"0702c298","is_valid_coordinates":true} 
[2026-07-27 08:23:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:23:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990915584001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:23:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25777448817786880,"note":"Value kept but may cause issues"} 
[2026-07-27 08:23:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":792563195784067072,"note":"Value kept but may cause issues"} 
[2026-07-27 08:23:23] 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-07-27 08:23:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785120766000,"timestamp_ms":1785120766000,"timestamp_seconds":1785120766,"priority":1,"record_length":96,"hex_timestamp":"0000019fa17d3830"} 
[2026-07-27 08:23:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:23:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08:23:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-27 08:23:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:23:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:23:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:23:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:23:23] local.INFO: Teltonika packet parsed successfully {"connection_id":143751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:23:23] local.INFO: Passing IMEI to GPS processor {"connection_id":143751,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:23:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":143751,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:23:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:23:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 08:23:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 08:23:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990915584001,"66":14559,"17":206,"94":11008,"24":6,"16":25777448817786880,"45":792563195784067072},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-27 08:23:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 08:23:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 08:23:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990915584001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:23:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-27 08:23:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25777448817786880,"km_value":25777448817786.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:23:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":792563195784067072,"description":"Unknown IO ID 45"} 
[2026-07-27 08:23:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990915584001,"power":14559,"axis_x":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":792563195784067072}} 
[2026-07-27 08:23:23] local.INFO: DEBUG: GPS processor result {"connection_id":143751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551939,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:23:23] local.INFO: GPS data processed {"connection_id":143751,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:23:23] local.INFO: Acknowledgment sent {"connection_id":143751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:23:32] local.INFO: TCP Data received {"connection_id":142660,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:23:32] local.INFO: Processing buffer {"connection_id":142660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:23:32] local.INFO: IMEI packet received {"connection_id":142660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 08:23:32] local.INFO: IMEI acknowledgment sent {"connection_id":142660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:23:38] local.INFO: TCP Data received {"connection_id":142660,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:23:38] local.INFO: Processing buffer {"connection_id":142660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:23:38] local.INFO: IMEI packet received {"connection_id":142660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 08:23:38] local.INFO: IMEI acknowledgment sent {"connection_id":142660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:23:38] local.INFO: TCP Data received {"connection_id":142660,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa17cbb30012d7f980005afd7c0000d000628..."} 
[2026-07-27 08:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa17cbb30012d7f980005afd7c0000d000628..."} 
[2026-07-27 08:23:38] local.INFO: Processing buffer {"connection_id":142660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa17cbb30012d7f980005afd7c0000d000628..."} 
[2026-07-27 08:23:38] local.INFO: Packet analysis {"connection_id":142660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa17c"} 
[2026-07-27 08:23:38] local.INFO: Extracted packet for processing {"connection_id":142660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa17c"} 
[2026-07-27 08:23:38] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":13,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 08:23:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:23:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990830848001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:23:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 08:23:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 08:23:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:23:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785120734000,"timestamp_ms":1785120734000,"timestamp_seconds":1785120734,"priority":1,"record_length":96,"hex_timestamp":"0000019fa17cbb30"} 
[2026-07-27 08:23:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:23:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 08:23:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-27 08:23:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:23:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:23:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:23:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:23:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:23:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:23:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:23:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:23:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:23:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:23:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990830848001,"66":25147,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 08:23:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:23:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:23:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990830848001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:23:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 08:23:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:23:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:23:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 08:23:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990830848001,"power":25147,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 08:23:38] local.INFO: DEBUG: GPS processor result {"connection_id":142660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:23:38] local.INFO: GPS data processed {"connection_id":142660,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:23:38] local.INFO: Acknowledgment sent {"connection_id":142660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:23:45] local.INFO: TCP Data received {"connection_id":142661,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 08:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142661,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 08:23:45] local.INFO: Processing buffer {"connection_id":142661,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 08:23:45] local.INFO: IMEI packet received {"connection_id":142661,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 08:23:45] local.INFO: IMEI acknowledgment sent {"connection_id":142661,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:23:54] local.INFO: TCP Data received {"connection_id":143751,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa17e3230012d0b3d000702b0000018007b0a..."} 
[2026-07-27 08:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa17e3230012d0b3d000702b0000018007b0a..."} 
[2026-07-27 08:23:54] local.INFO: Processing buffer {"connection_id":143751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa17e3230012d0b3d000702b0000018007b0a..."} 
[2026-07-27 08:23:54] local.INFO: Packet analysis {"connection_id":143751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa17e"} 
[2026-07-27 08:23:54] local.INFO: Extracted packet for processing {"connection_id":143751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa17e"} 
[2026-07-27 08:23:54] local.INFO: GPS Element Parsed {"raw_longitude":755711232,"raw_latitude":117616640,"longitude_deg":75.5711232,"latitude_deg":11.761664,"altitude":24,"angle":123,"satellites":10,"speed":8,"hex_longitude":"2d0b3d00","hex_latitude":"0702b000","is_valid_coordinates":true} 
[2026-07-27 08:23:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:23:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990932224001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:23:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25778251976671232,"note":"Value kept but may cause issues"} 
[2026-07-27 08:23:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":809522063129735168,"note":"Value kept but may cause issues"} 
[2026-07-27 08:23:54] 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-07-27 08:23:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785120830000,"timestamp_ms":1785120830000,"timestamp_seconds":1785120830,"priority":1,"record_length":96,"hex_timestamp":"0000019fa17e3230"} 
[2026-07-27 08:23:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:23:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08:23:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-27 08:23:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:23:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:23:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:23:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:23:54] local.INFO: Teltonika packet parsed successfully {"connection_id":143751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:23:54] local.INFO: Passing IMEI to GPS processor {"connection_id":143751,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:23:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":143751,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:23:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:23:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 08:23:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 08:23:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990932224001,"66":14537,"17":206,"94":11008,"24":8,"16":25778251976671232,"45":809522063129735168},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-27 08:23:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 08:23:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 08:23:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990932224001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:23:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-27 08:23:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25778251976671232,"km_value":25778251976671.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:23:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":809522063129735168,"description":"Unknown IO ID 45"} 
[2026-07-27 08:23:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990932224001,"power":14537,"axis_x":206,"unknown_94":11008,"ignition":8,"odometer":null,"unknown_45":809522063129735168}} 
[2026-07-27 08:23:54] local.INFO: DEBUG: GPS processor result {"connection_id":143751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551941,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:23:54] local.INFO: GPS data processed {"connection_id":143751,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:23:54] local.INFO: Acknowledgment sent {"connection_id":143751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:24:09] local.INFO: TCP Data received {"connection_id":142660,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa17cbb30012d7f980005afd7c0000d000628..."} 
[2026-07-27 08:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa17cbb30012d7f980005afd7c0000d000628..."} 
[2026-07-27 08:24:09] local.INFO: Processing buffer {"connection_id":142660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa17cbb30012d7f980005afd7c0000d000628..."} 
[2026-07-27 08:24:09] local.INFO: Packet analysis {"connection_id":142660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa17c"} 
[2026-07-27 08:24:09] local.INFO: Extracted packet for processing {"connection_id":142660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa17c"} 
[2026-07-27 08:24:09] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":13,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 08:24:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:24:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990830848001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:24:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 08:24:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 08:24:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:24:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785120734000,"timestamp_ms":1785120734000,"timestamp_seconds":1785120734,"priority":1,"record_length":96,"hex_timestamp":"0000019fa17cbb30"} 
[2026-07-27 08:24:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:24:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 08: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-27 08:24:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:24:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:24:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:24:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:24:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:24:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:24:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:24:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:24:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:24:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:24:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990830848001,"66":25147,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 08:24:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:24:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:24:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990830848001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:24:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 08:24:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:24:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:24:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 08:24:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990830848001,"power":25147,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 08:24:09] local.INFO: DEBUG: GPS processor result {"connection_id":142660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:24:09] local.INFO: GPS data processed {"connection_id":142660,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:24:09] local.INFO: Acknowledgment sent {"connection_id":142660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:24:25] local.INFO: TCP Data received {"connection_id":143751,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa17e3618012d0b3e000702af180017008e0a..."} 
[2026-07-27 08:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa17e3618012d0b3e000702af180017008e0a..."} 
[2026-07-27 08:24:25] local.INFO: Processing buffer {"connection_id":143751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa17e3618012d0b3e000702af180017008e0a..."} 
[2026-07-27 08:24:25] local.INFO: Packet analysis {"connection_id":143751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa17e"} 
[2026-07-27 08:24:25] local.INFO: Extracted packet for processing {"connection_id":143751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa17e"} 
[2026-07-27 08:24:25] local.INFO: GPS Element Parsed {"raw_longitude":755711488,"raw_latitude":117616408,"longitude_deg":75.5711488,"latitude_deg":11.7616408,"altitude":23,"angle":142,"satellites":10,"speed":11,"hex_longitude":"2d0b3e00","hex_latitude":"0702af18","is_valid_coordinates":true} 
[2026-07-27 08:24:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:24:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990932480001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:24:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25778273451507712,"note":"Value kept but may cause issues"} 
[2026-07-27 08:24:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":809803538106417152,"note":"Value kept but may cause issues"} 
[2026-07-27 08:24:25] 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-07-27 08:24:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785120831000,"timestamp_ms":1785120831000,"timestamp_seconds":1785120831,"priority":1,"record_length":96,"hex_timestamp":"0000019fa17e3618"} 
[2026-07-27 08:24:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:24:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08:24:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-27 08:24:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:24:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:24:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:24:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:24:25] local.INFO: Teltonika packet parsed successfully {"connection_id":143751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:24:25] local.INFO: Passing IMEI to GPS processor {"connection_id":143751,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:24:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":143751,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:24:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:24:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 08:24:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 08:24:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990932480001,"66":14537,"17":206,"94":11008,"24":11,"16":25778273451507712,"45":809803538106417152},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-27 08:24:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 08:24:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 08:24:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990932480001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:24:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-27 08:24:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25778273451507712,"km_value":25778273451507.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:24:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":809803538106417152,"description":"Unknown IO ID 45"} 
[2026-07-27 08:24:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990932480001,"power":14537,"axis_x":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":809803538106417152}} 
[2026-07-27 08:24:25] local.INFO: DEBUG: GPS processor result {"connection_id":143751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551943,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:24:25] local.INFO: GPS data processed {"connection_id":143751,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:24:25] local.INFO: Acknowledgment sent {"connection_id":143751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:24:32] local.INFO: TCP Data received {"connection_id":142774,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:24:32] local.INFO: Processing buffer {"connection_id":142774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:24:32] local.INFO: IMEI packet received {"connection_id":142774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 08:24:32] local.INFO: IMEI acknowledgment sent {"connection_id":142774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:24:38] local.INFO: TCP Data received {"connection_id":142774,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:24:38] local.INFO: Processing buffer {"connection_id":142774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:24:38] local.INFO: IMEI packet received {"connection_id":142774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 08:24:38] local.INFO: IMEI acknowledgment sent {"connection_id":142774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:24:38] local.INFO: TCP Data received {"connection_id":142774,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fa17cbb30012d7f980005afd7c0000d000628..."} 
[2026-07-27 08:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa17cbb30012d7f980005afd7c0000d000628..."} 
[2026-07-27 08:24:38] local.INFO: Processing buffer {"connection_id":142774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa17cbb30012d7f980005afd7c0000d000628..."} 
[2026-07-27 08:24:38] local.INFO: Packet analysis {"connection_id":142774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa17c"} 
[2026-07-27 08:24:38] local.INFO: Extracted packet for processing {"connection_id":142774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa17c"} 
[2026-07-27 08:24:38] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":13,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 08:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:24:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990830848001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:24:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 08:24:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 08:24:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:24:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785120734000,"timestamp_ms":1785120734000,"timestamp_seconds":1785120734,"priority":1,"record_length":96,"hex_timestamp":"0000019fa17cbb30"} 
[2026-07-27 08:24:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:24:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 08:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-27 08:24:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:24:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:24:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:24:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:24:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:24:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:24:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:24:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:24:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:24:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:24:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990830848001,"66":25147,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 08:24:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:24:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:24:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990830848001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:24:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 08:24:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:24:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:24:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 08:24:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990830848001,"power":25147,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 08:24:39] local.INFO: DEBUG: GPS processor result {"connection_id":142774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:24:39] local.INFO: GPS data processed {"connection_id":142774,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:24:39] local.INFO: Acknowledgment sent {"connection_id":142774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:24:56] local.INFO: TCP Data received {"connection_id":143751,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa17e3a00012d0b3ec00702ae280017009d0a..."} 
[2026-07-27 08:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa17e3a00012d0b3ec00702ae280017009d0a..."} 
[2026-07-27 08:24:56] local.INFO: Processing buffer {"connection_id":143751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa17e3a00012d0b3ec00702ae280017009d0a..."} 
[2026-07-27 08:24:56] local.INFO: Packet analysis {"connection_id":143751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa17e"} 
[2026-07-27 08:24:56] local.INFO: Extracted packet for processing {"connection_id":143751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa17e"} 
[2026-07-27 08:24:56] local.INFO: GPS Element Parsed {"raw_longitude":755711680,"raw_latitude":117616168,"longitude_deg":75.571168,"latitude_deg":11.7616168,"altitude":23,"angle":157,"satellites":10,"speed":10,"hex_longitude":"2d0b3ec0","hex_latitude":"0702ae28","is_valid_coordinates":true} 
[2026-07-27 08:24:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:24:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990932736001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:24:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25778286336409600,"note":"Value kept but may cause issues"} 
[2026-07-27 08:24:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":810085013083068416,"note":"Value kept but may cause issues"} 
[2026-07-27 08:24:56] 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-07-27 08:24:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785120832000,"timestamp_ms":1785120832000,"timestamp_seconds":1785120832,"priority":1,"record_length":96,"hex_timestamp":"0000019fa17e3a00"} 
[2026-07-27 08:24:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:24:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08:24:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-27 08:24:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:24:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:24:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:24:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:24:56] local.INFO: Teltonika packet parsed successfully {"connection_id":143751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:24:56] local.INFO: Passing IMEI to GPS processor {"connection_id":143751,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:24:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":143751,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:24:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:24:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 08:24:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 08:24:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990932736001,"66":14450,"17":206,"94":11008,"24":10,"16":25778286336409600,"45":810085013083068416},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-27 08:24:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 08:24:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 08:24:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990932736001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:24:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-27 08:24:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25778286336409600,"km_value":25778286336409.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:24:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":810085013083068416,"description":"Unknown IO ID 45"} 
[2026-07-27 08:24:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990932736001,"power":14450,"axis_x":206,"unknown_94":11008,"ignition":10,"odometer":null,"unknown_45":810085013083068416}} 
[2026-07-27 08:24:56] local.INFO: DEBUG: GPS processor result {"connection_id":143751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551945,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:24:56] local.INFO: GPS data processed {"connection_id":143751,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:24:56] local.INFO: Acknowledgment sent {"connection_id":143751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:25:10] local.INFO: TCP Data received {"connection_id":142774,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fa17cbb30012d7f980005afd7c0000d000628..."} 
[2026-07-27 08:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa17cbb30012d7f980005afd7c0000d000628..."} 
[2026-07-27 08:25:10] local.INFO: Processing buffer {"connection_id":142774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa17cbb30012d7f980005afd7c0000d000628..."} 
[2026-07-27 08:25:10] local.INFO: Packet analysis {"connection_id":142774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa17c"} 
[2026-07-27 08:25:10] local.INFO: Extracted packet for processing {"connection_id":142774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa17c"} 
[2026-07-27 08:25:10] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":13,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 08:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:25:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990830848001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:25:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 08:25:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 08:25:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:25:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785120734000,"timestamp_ms":1785120734000,"timestamp_seconds":1785120734,"priority":1,"record_length":96,"hex_timestamp":"0000019fa17cbb30"} 
[2026-07-27 08:25:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:25:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 08: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":92,"data_length":795,"current_offset":136} 
[2026-07-27 08:25:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:25:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:25:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:25:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:25:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:25:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:25:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:25:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:25:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:25:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:25:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990830848001,"66":25147,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 08:25:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:25:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:25:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990830848001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:25:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 08:25:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:25:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:25:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 08:25:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990830848001,"power":25147,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 08:25:10] local.INFO: DEBUG: GPS processor result {"connection_id":142774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:25:10] local.INFO: GPS data processed {"connection_id":142774,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:25:10] local.INFO: Acknowledgment sent {"connection_id":142774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:25:38] local.INFO: TCP Data received {"connection_id":145069,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:25:38] local.INFO: Processing buffer {"connection_id":145069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:25:38] local.INFO: IMEI packet received {"connection_id":145069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 08:25:38] local.INFO: IMEI acknowledgment sent {"connection_id":145069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:25:43] local.INFO: TCP Data received {"connection_id":145069,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:25:43] local.INFO: Processing buffer {"connection_id":145069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:25:43] local.INFO: IMEI packet received {"connection_id":145069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 08:25:43] local.INFO: IMEI acknowledgment sent {"connection_id":145069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:25:43] local.INFO: TCP Data received {"connection_id":145069,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fa17cbb30012d7f980005afd7c0000d000628..."} 
[2026-07-27 08:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa17cbb30012d7f980005afd7c0000d000628..."} 
[2026-07-27 08:25:43] local.INFO: Processing buffer {"connection_id":145069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa17cbb30012d7f980005afd7c0000d000628..."} 
[2026-07-27 08:25:43] local.INFO: Packet analysis {"connection_id":145069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa17c"} 
[2026-07-27 08:25:43] local.INFO: Extracted packet for processing {"connection_id":145069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa17c"} 
[2026-07-27 08:25:43] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":13,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 08: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-07-27 08:25:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990830848001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:25:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 08:25:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 08:25:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:25:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785120734000,"timestamp_ms":1785120734000,"timestamp_seconds":1785120734,"priority":1,"record_length":96,"hex_timestamp":"0000019fa17cbb30"} 
[2026-07-27 08:25:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:25:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 08:25:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-27 08:25:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08: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-07-27 08:25:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:25:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:25:43] local.INFO: Teltonika packet parsed successfully {"connection_id":145069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:25:43] local.INFO: Passing IMEI to GPS processor {"connection_id":145069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:25:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":145069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:25:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:25:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:25:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:25:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990830848001,"66":25147,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 08:25:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:25:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:25:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990830848001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:25:43] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 08:25:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:25:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:25:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 08:25:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990830848001,"power":25147,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 08:25:44] local.INFO: DEBUG: GPS processor result {"connection_id":145069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:25:44] local.INFO: GPS data processed {"connection_id":145069,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:25:44] local.INFO: Acknowledgment sent {"connection_id":145069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:25:45] local.INFO: TCP Data received {"connection_id":145070,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145070,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:25:45] local.INFO: Processing buffer {"connection_id":145070,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:25:45] local.INFO: IMEI packet received {"connection_id":145070,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 08:25:45] local.INFO: IMEI acknowledgment sent {"connection_id":145070,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:25:48] local.INFO: TCP Data received {"connection_id":145069,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fa17cbb30012d7f980005afd7c0000d000628..."} 
[2026-07-27 08:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa17cbb30012d7f980005afd7c0000d000628..."} 
[2026-07-27 08:25:48] local.INFO: Processing buffer {"connection_id":145069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa17cbb30012d7f980005afd7c0000d000628..."} 
[2026-07-27 08:25:48] local.INFO: Packet analysis {"connection_id":145069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa17c"} 
[2026-07-27 08:25:48] local.INFO: Extracted packet for processing {"connection_id":145069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa17c"} 
[2026-07-27 08:25:48] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":13,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 08:25:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:25:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990830848001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:25:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 08:25:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 08:25:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:25:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785120734000,"timestamp_ms":1785120734000,"timestamp_seconds":1785120734,"priority":1,"record_length":96,"hex_timestamp":"0000019fa17cbb30"} 
[2026-07-27 08:25:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:25:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 08: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-27 08:25:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:25:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:25:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:25:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:25:48] local.INFO: Teltonika packet parsed successfully {"connection_id":145069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:25:48] local.INFO: Passing IMEI to GPS processor {"connection_id":145069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:25:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":145069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:25:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:25:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:25:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:25:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990830848001,"66":25147,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 08:25:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:25:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:25:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990830848001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:25:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 08:25:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:25:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:25:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 08:25:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990830848001,"power":25147,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 08:25:48] local.INFO: DEBUG: GPS processor result {"connection_id":145069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:25:48] local.INFO: GPS data processed {"connection_id":145069,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:25:48] local.INFO: Acknowledgment sent {"connection_id":145069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:25:51] local.INFO: TCP Data received {"connection_id":145070,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145070,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:25:51] local.INFO: Processing buffer {"connection_id":145070,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:25:51] local.INFO: IMEI packet received {"connection_id":145070,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 08:25:51] local.INFO: IMEI acknowledgment sent {"connection_id":145070,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:25:51] local.INFO: TCP Data received {"connection_id":145070,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa17f8dd8012d0ba8800702ac50000f00670c..."} 
[2026-07-27 08:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145070,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa17f8dd8012d0ba8800702ac50000f00670c..."} 
[2026-07-27 08:25:51] local.INFO: Processing buffer {"connection_id":145070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa17f8dd8012d0ba8800702ac50000f00670c..."} 
[2026-07-27 08:25:51] local.INFO: Packet analysis {"connection_id":145070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa17f"} 
[2026-07-27 08:25:51] local.INFO: Extracted packet for processing {"connection_id":145070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa17f"} 
[2026-07-27 08:25:51] local.INFO: GPS Element Parsed {"raw_longitude":755738752,"raw_latitude":117615696,"longitude_deg":75.5738752,"latitude_deg":11.7615696,"altitude":15,"angle":103,"satellites":12,"speed":5,"hex_longitude":"2d0ba880","hex_latitude":"0702ac50","is_valid_coordinates":true} 
[2026-07-27 08:25:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:25:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990953984001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:25:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25779716560519168,"note":"Value kept but may cause issues"} 
[2026-07-27 08:25:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":839147304428265472,"note":"Value kept but may cause issues"} 
[2026-07-27 08:25:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:25:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785120919000,"timestamp_ms":1785120919000,"timestamp_seconds":1785120919,"priority":1,"record_length":96,"hex_timestamp":"0000019fa17f8dd8"} 
[2026-07-27 08:25:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:25:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08:25:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-27 08:25:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:25:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:25:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:25:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:25:51] local.INFO: Teltonika packet parsed successfully {"connection_id":145070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:25:51] local.INFO: Passing IMEI to GPS processor {"connection_id":145070,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:25:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":145070,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:25:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:25:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 08:25:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 08:25:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990953984001,"66":14450,"36":206,"94":11008,"24":5,"16":25779716560519168,"45":839147304428265472},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,94,24,16,45]} 
[2026-07-27 08:25:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 08:25:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 08:25:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990953984001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:25:51] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-07-27 08:25:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-27 08:25:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25779716560519168,"km_value":25779716560519.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:25:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":839147304428265472,"description":"Unknown IO ID 45"} 
[2026-07-27 08:25:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990953984001,"power":14450,"unknown_36":206,"unknown_94":11008,"ignition":5,"odometer":null,"unknown_45":839147304428265472}} 
[2026-07-27 08:25:51] local.INFO: DEBUG: GPS processor result {"connection_id":145070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551949,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:25:51] local.INFO: GPS data processed {"connection_id":145070,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:25:51] local.INFO: Acknowledgment sent {"connection_id":145070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:26:22] local.INFO: TCP Data received {"connection_id":145070,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa17f9d78012d0bab000702abc8000f007a0c..."} 
[2026-07-27 08:26:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145070,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa17f9d78012d0bab000702abc8000f007a0c..."} 
[2026-07-27 08:26:22] local.INFO: Processing buffer {"connection_id":145070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa17f9d78012d0bab000702abc8000f007a0c..."} 
[2026-07-27 08:26:22] local.INFO: Packet analysis {"connection_id":145070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa17f"} 
[2026-07-27 08:26:22] local.INFO: Extracted packet for processing {"connection_id":145070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa17f"} 
[2026-07-27 08:26:22] local.INFO: GPS Element Parsed {"raw_longitude":755739392,"raw_latitude":117615560,"longitude_deg":75.5739392,"latitude_deg":11.761556,"altitude":15,"angle":122,"satellites":12,"speed":6,"hex_longitude":"2d0bab00","hex_latitude":"0702abc8","is_valid_coordinates":true} 
[2026-07-27 08: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-07-27 08:26:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990955264001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:26:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25779746625290240,"note":"Value kept but may cause issues"} 
[2026-07-27 08:26:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":840062098102571008,"note":"Value kept but may cause issues"} 
[2026-07-27 08:26:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:26:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785120923000,"timestamp_ms":1785120923000,"timestamp_seconds":1785120923,"priority":1,"record_length":96,"hex_timestamp":"0000019fa17f9d78"} 
[2026-07-27 08:26:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:26:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-27 08:26:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08: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-07-27 08:26:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:26:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:26:22] local.INFO: Teltonika packet parsed successfully {"connection_id":145070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:26:22] local.INFO: Passing IMEI to GPS processor {"connection_id":145070,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:26:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":145070,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:26:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:26:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 08:26:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 08:26:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990955264001,"66":14374,"36":206,"94":11008,"24":6,"16":25779746625290240,"45":840062098102571008},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,94,24,16,45]} 
[2026-07-27 08:26:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 08:26:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 08:26:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990955264001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:26:22] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-07-27 08:26:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-27 08:26:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25779746625290240,"km_value":25779746625290.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:26:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":840062098102571008,"description":"Unknown IO ID 45"} 
[2026-07-27 08:26:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990955264001,"power":14374,"unknown_36":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":840062098102571008}} 
[2026-07-27 08:26:22] local.INFO: DEBUG: GPS processor result {"connection_id":145070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551950,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:26:22] local.INFO: GPS data processed {"connection_id":145070,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:26:22] local.INFO: Acknowledgment sent {"connection_id":145070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:26:23] local.INFO: TCP Data received {"connection_id":145071,"ip":"117.225.166.226","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:26:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145071,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:26:23] local.INFO: Processing buffer {"connection_id":145071,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:26:23] local.INFO: IMEI packet received {"connection_id":145071,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 08:26:23] local.INFO: IMEI acknowledgment sent {"connection_id":145071,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:26:25] local.INFO: TCP Data received {"connection_id":145071,"ip":"117.225.166.226","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145071,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:26:25] local.INFO: Processing buffer {"connection_id":145071,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:26:25] local.INFO: IMEI packet received {"connection_id":145071,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 08:26:25] local.INFO: IMEI acknowledgment sent {"connection_id":145071,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:26:31] local.INFO: TCP Data received {"connection_id":145071,"ip":"117.225.166.226","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145071,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:26:31] local.INFO: Processing buffer {"connection_id":145071,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:26:31] local.INFO: IMEI packet received {"connection_id":145071,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 08:26:31] local.INFO: IMEI acknowledgment sent {"connection_id":145071,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:26:32] local.INFO: TCP Data received {"connection_id":142663,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:26:32] local.INFO: Processing buffer {"connection_id":142663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:26:32] local.INFO: IMEI packet received {"connection_id":142663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 08:26:32] local.INFO: IMEI acknowledgment sent {"connection_id":142663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:26:33] local.INFO: TCP Data received {"connection_id":145071,"ip":"117.225.166.226","data_length":795,"data_hex":"000000000000030f8e0a0000019fa17f5728012d7b598005e814580009015726..."} 
[2026-07-27 08:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa17f5728012d7b598005e814580009015726..."} 
[2026-07-27 08:26:33] local.INFO: Processing buffer {"connection_id":145071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa17f5728012d7b598005e814580009015726..."} 
[2026-07-27 08:26:33] local.INFO: Packet analysis {"connection_id":145071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa17f"} 
[2026-07-27 08:26:33] local.INFO: Extracted packet for processing {"connection_id":145071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa17f"} 
[2026-07-27 08:26:33] local.INFO: GPS Element Parsed {"raw_longitude":763058560,"raw_latitude":99095640,"longitude_deg":76.305856,"latitude_deg":9.909564,"altitude":9,"angle":343,"satellites":38,"speed":10,"hex_longitude":"2d7b5980","hex_latitude":"05e81458","is_valid_coordinates":true} 
[2026-07-27 08:26:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:26:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990950400001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:26:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111536868998250496,"note":"Value kept but may cause issues"} 
[2026-07-27 08:26:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8888839052401924096,"note":"Value kept but may cause issues"} 
[2026-07-27 08:26:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,222,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:26:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785120905000,"timestamp_ms":1785120905000,"timestamp_seconds":1785120905,"priority":1,"record_length":96,"hex_timestamp":"0000019fa17f5728"} 
[2026-07-27 08:26:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:26: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-07-27 08:26:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-27 08:26:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:26:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:26:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:26:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:26:33] local.INFO: Teltonika packet parsed successfully {"connection_id":145071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:26:33] local.INFO: Passing IMEI to GPS processor {"connection_id":145071,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:26:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":145071,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:26:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.225.166.226","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:26:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 08:26:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 08:26:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990950400001,"66":12624,"243":206,"222":17408,"24":10,"16":111536868998250496,"45":8888839052401924096},"client_ip":"117.225.166.226","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,222,24,16,45]} 
[2026-07-27 08:26:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 08:26:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 08:26:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990950400001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:26:33] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-07-27 08:26:33] local.INFO: Unknown IO ID detected {"io_id":222,"value":17408,"description":"Unknown IO ID 222"} 
[2026-07-27 08:26:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111536868998250496,"km_value":111536868998250.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:26:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8888839052401924096,"description":"Unknown IO ID 45"} 
[2026-07-27 08:26:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990950400001,"power":12624,"unknown_243":206,"unknown_222":17408,"ignition":10,"odometer":null,"unknown_45":8888839052401924096}} 
[2026-07-27 08:26:33] local.INFO: DEBUG: GPS processor result {"connection_id":145071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551951,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:26:33] local.INFO: GPS data processed {"connection_id":145071,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:26:33] local.INFO: Acknowledgment sent {"connection_id":145071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:26:38] local.INFO: TCP Data received {"connection_id":142663,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:26:38] local.INFO: Processing buffer {"connection_id":142663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:26:38] local.INFO: IMEI packet received {"connection_id":142663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 08:26:38] local.INFO: IMEI acknowledgment sent {"connection_id":142663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:26:38] local.INFO: TCP Data received {"connection_id":142663,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fa17cbb30012d7f980005afd7c0000d000628..."} 
[2026-07-27 08:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa17cbb30012d7f980005afd7c0000d000628..."} 
[2026-07-27 08:26:38] local.INFO: Processing buffer {"connection_id":142663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa17cbb30012d7f980005afd7c0000d000628..."} 
[2026-07-27 08:26:38] local.INFO: Packet analysis {"connection_id":142663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa17c"} 
[2026-07-27 08:26:38] local.INFO: Extracted packet for processing {"connection_id":142663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa17c"} 
[2026-07-27 08:26:38] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":13,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 08:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:26:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990830848001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:26:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 08:26:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 08:26:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:26:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785120734000,"timestamp_ms":1785120734000,"timestamp_seconds":1785120734,"priority":1,"record_length":96,"hex_timestamp":"0000019fa17cbb30"} 
[2026-07-27 08:26:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:26:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 08:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-27 08:26:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:26:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:26:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:26:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:26:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:26:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:26:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:26:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:26:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:26:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:26:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990830848001,"66":25147,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 08:26:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:26:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:26:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990830848001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:26:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 08:26:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:26:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:26:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 08:26:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990830848001,"power":25147,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 08:26:38] local.INFO: DEBUG: GPS processor result {"connection_id":142663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:26:38] local.INFO: GPS data processed {"connection_id":142663,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:26:38] local.INFO: Acknowledgment sent {"connection_id":142663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:26:41] local.INFO: TCP Data received {"connection_id":143753,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143753,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:26:41] local.INFO: Processing buffer {"connection_id":143753,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:26:41] local.INFO: IMEI packet received {"connection_id":143753,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 08:26:41] local.INFO: IMEI acknowledgment sent {"connection_id":143753,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:26:46] local.INFO: TCP Data received {"connection_id":143753,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143753,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:26:46] local.INFO: Processing buffer {"connection_id":143753,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:26:46] local.INFO: IMEI packet received {"connection_id":143753,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 08:26:46] local.INFO: IMEI acknowledgment sent {"connection_id":143753,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:26:46] local.INFO: TCP Data received {"connection_id":143753,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa17fa160012d0bab800702aba0000f008d0c..."} 
[2026-07-27 08:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa17fa160012d0bab800702aba0000f008d0c..."} 
[2026-07-27 08:26:46] local.INFO: Processing buffer {"connection_id":143753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa17fa160012d0bab800702aba0000f008d0c..."} 
[2026-07-27 08:26:46] local.INFO: Packet analysis {"connection_id":143753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa17f"} 
[2026-07-27 08:26:46] local.INFO: Extracted packet for processing {"connection_id":143753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa17f"} 
[2026-07-27 08:26:46] local.INFO: GPS Element Parsed {"raw_longitude":755739520,"raw_latitude":117615520,"longitude_deg":75.573952,"latitude_deg":11.761552,"altitude":15,"angle":141,"satellites":12,"speed":5,"hex_longitude":"2d0bab80","hex_latitude":"0702aba0","is_valid_coordinates":true} 
[2026-07-27 08:26:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:26:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990956288001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:26:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25779755215224832,"note":"Value kept but may cause issues"} 
[2026-07-27 08:26:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":840765785544312832,"note":"Value kept but may cause issues"} 
[2026-07-27 08:26:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:26:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785120924000,"timestamp_ms":1785120924000,"timestamp_seconds":1785120924,"priority":1,"record_length":96,"hex_timestamp":"0000019fa17fa160"} 
[2026-07-27 08:26:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:26:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08:26:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-27 08:26:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:26:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:26:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:26:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:26:46] local.INFO: Teltonika packet parsed successfully {"connection_id":143753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:26:46] local.INFO: Passing IMEI to GPS processor {"connection_id":143753,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:26:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":143753,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:26:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:26:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 08:26:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 08:26:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990956288001,"66":14461,"36":206,"94":11008,"24":5,"16":25779755215224832,"45":840765785544312832},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,94,24,16,45]} 
[2026-07-27 08:26:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 08:26:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 08:26:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990956288001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:26:46] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-07-27 08:26:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-27 08:26:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25779755215224832,"km_value":25779755215224.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:26:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":840765785544312832,"description":"Unknown IO ID 45"} 
[2026-07-27 08:26:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990956288001,"power":14461,"unknown_36":206,"unknown_94":11008,"ignition":5,"odometer":null,"unknown_45":840765785544312832}} 
[2026-07-27 08:26:46] local.INFO: DEBUG: GPS processor result {"connection_id":143753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551953,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:26:46] local.INFO: GPS data processed {"connection_id":143753,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:26:46] local.INFO: Acknowledgment sent {"connection_id":143753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:27:09] local.INFO: TCP Data received {"connection_id":142663,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fa17cbb30012d7f980005afd7c0000d000628..."} 
[2026-07-27 08:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa17cbb30012d7f980005afd7c0000d000628..."} 
[2026-07-27 08:27:09] local.INFO: Processing buffer {"connection_id":142663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa17cbb30012d7f980005afd7c0000d000628..."} 
[2026-07-27 08:27:09] local.INFO: Packet analysis {"connection_id":142663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa17c"} 
[2026-07-27 08:27:09] local.INFO: Extracted packet for processing {"connection_id":142663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa17c"} 
[2026-07-27 08:27:09] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":13,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 08:27:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:27:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990830848001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:27:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 08:27:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 08:27:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:27:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785120734000,"timestamp_ms":1785120734000,"timestamp_seconds":1785120734,"priority":1,"record_length":96,"hex_timestamp":"0000019fa17cbb30"} 
[2026-07-27 08:27:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:27:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 08:27:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-27 08:27:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:27:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:27:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:27:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:27:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:27:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:27:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:27:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:27:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:27:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:27:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990830848001,"66":25147,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 08:27:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:27:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:27:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990830848001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:27:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 08:27:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:27:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:27:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 08:27:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990830848001,"power":25147,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 08:27:09] local.INFO: DEBUG: GPS processor result {"connection_id":142663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:27:09] local.INFO: GPS data processed {"connection_id":142663,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:27:09] local.INFO: Acknowledgment sent {"connection_id":142663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:27:15] local.INFO: TCP Data received {"connection_id":145071,"ip":"117.225.166.226","data_length":795,"data_hex":"000000000000030f8e0a0000019fa180ed68012d7b49c005e92ee00005003b25..."} 
[2026-07-27 08:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa180ed68012d7b49c005e92ee00005003b25..."} 
[2026-07-27 08:27:15] local.INFO: Processing buffer {"connection_id":145071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa180ed68012d7b49c005e92ee00005003b25..."} 
[2026-07-27 08:27:15] local.INFO: Packet analysis {"connection_id":145071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa180"} 
[2026-07-27 08:27:15] local.INFO: Extracted packet for processing {"connection_id":145071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa180"} 
[2026-07-27 08:27:15] local.INFO: GPS Element Parsed {"raw_longitude":763054528,"raw_latitude":99167968,"longitude_deg":76.3054528,"latitude_deg":9.9167968,"altitude":5,"angle":59,"satellites":37,"speed":9,"hex_longitude":"2d7b49c0","hex_latitude":"05e92ee0","is_valid_coordinates":true} 
[2026-07-27 08:27:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:27:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990978048001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:27:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111540438116073472,"note":"Value kept but may cause issues"} 
[2026-07-27 08:27:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8883631765351976960,"note":"Value kept but may cause issues"} 
[2026-07-27 08:27:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:27:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785121009000,"timestamp_ms":1785121009000,"timestamp_seconds":1785121009,"priority":1,"record_length":96,"hex_timestamp":"0000019fa180ed68"} 
[2026-07-27 08:27:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:27:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08:27:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-27 08:27:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:27:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:27:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:27:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:27:15] local.INFO: Teltonika packet parsed successfully {"connection_id":145071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:27:15] local.INFO: Passing IMEI to GPS processor {"connection_id":145071,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:27:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":145071,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:27:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.225.166.226","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:27:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 08:27:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 08:27:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990978048001,"66":12537,"126":206,"9":25088,"24":9,"16":111540438116073472,"45":8883631765351976960},"client_ip":"117.225.166.226","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,9,24,16,45]} 
[2026-07-27 08:27:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 08:27:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 08:27:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990978048001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:27:15] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-27 08:27:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":25088,"description":"Unknown IO ID 9"} 
[2026-07-27 08:27:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111540438116073472,"km_value":111540438116073.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:27:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8883631765351976960,"description":"Unknown IO ID 45"} 
[2026-07-27 08:27:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990978048001,"power":12537,"unknown_126":206,"unknown_9":25088,"ignition":9,"odometer":null,"unknown_45":8883631765351976960}} 
[2026-07-27 08:27:15] local.INFO: DEBUG: GPS processor result {"connection_id":145071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551955,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:27:15] local.INFO: GPS data processed {"connection_id":145071,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:27:15] local.INFO: Acknowledgment sent {"connection_id":145071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:27:17] local.INFO: TCP Data received {"connection_id":143753,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa180f150012d0bfbc00702a8d00011004d0e..."} 
[2026-07-27 08:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa180f150012d0bfbc00702a8d00011004d0e..."} 
[2026-07-27 08:27:17] local.INFO: Processing buffer {"connection_id":143753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa180f150012d0bfbc00702a8d00011004d0e..."} 
[2026-07-27 08:27:17] local.INFO: Packet analysis {"connection_id":143753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa180"} 
[2026-07-27 08:27:17] local.INFO: Extracted packet for processing {"connection_id":143753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa180"} 
[2026-07-27 08:27:17] local.INFO: GPS Element Parsed {"raw_longitude":755760064,"raw_latitude":117614800,"longitude_deg":75.5760064,"latitude_deg":11.76148,"altitude":17,"angle":77,"satellites":14,"speed":6,"hex_longitude":"2d0bfbc0","hex_latitude":"0702a8d0","is_valid_coordinates":true} 
[2026-07-27 08: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-07-27 08:27:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990978048001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:27:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25780824662081536,"note":"Value kept but may cause issues"} 
[2026-07-27 08:27:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":863143046192590848,"note":"Value kept but may cause issues"} 
[2026-07-27 08:27:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:27:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785121010000,"timestamp_ms":1785121010000,"timestamp_seconds":1785121010,"priority":1,"record_length":96,"hex_timestamp":"0000019fa180f150"} 
[2026-07-27 08:27:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:27: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-07-27 08: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-27 08:27:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08: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-07-27 08:27:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:27:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:27:17] local.INFO: Teltonika packet parsed successfully {"connection_id":143753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:27:17] local.INFO: Passing IMEI to GPS processor {"connection_id":143753,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:27:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":143753,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:27:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:27:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 08:27:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 08:27:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990978048001,"66":14515,"36":206,"94":11008,"24":6,"16":25780824662081536,"45":863143046192590848},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,94,24,16,45]} 
[2026-07-27 08:27:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 08:27:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 08:27:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990978048001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:27:17] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-07-27 08:27:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-27 08:27:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25780824662081536,"km_value":25780824662081.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:27:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":863143046192590848,"description":"Unknown IO ID 45"} 
[2026-07-27 08:27:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990978048001,"power":14515,"unknown_36":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":863143046192590848}} 
[2026-07-27 08:27:17] local.INFO: DEBUG: GPS processor result {"connection_id":143753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551956,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:27:17] local.INFO: GPS data processed {"connection_id":143753,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:27:17] local.INFO: Acknowledgment sent {"connection_id":143753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:27:32] local.INFO: TCP Data received {"connection_id":145072,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:27:32] local.INFO: Processing buffer {"connection_id":145072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:27:32] local.INFO: IMEI packet received {"connection_id":145072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 08:27:32] local.INFO: IMEI acknowledgment sent {"connection_id":145072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:27:35] local.INFO: TCP Data received {"connection_id":142664,"ip":"117.225.166.226","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142664,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:27:35] local.INFO: Processing buffer {"connection_id":142664,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:27:35] local.INFO: IMEI packet received {"connection_id":142664,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 08:27:35] local.INFO: IMEI acknowledgment sent {"connection_id":142664,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:27:36] local.INFO: TCP Data received {"connection_id":142664,"ip":"117.225.166.226","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142664,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:27:36] local.INFO: Processing buffer {"connection_id":142664,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:27:36] local.INFO: IMEI packet received {"connection_id":142664,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 08:27:36] local.INFO: IMEI acknowledgment sent {"connection_id":142664,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:27:38] local.INFO: TCP Data received {"connection_id":145072,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:27:38] local.INFO: Processing buffer {"connection_id":145072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:27:38] local.INFO: IMEI packet received {"connection_id":145072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 08:27:38] local.INFO: IMEI acknowledgment sent {"connection_id":145072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:27:38] local.INFO: TCP Data received {"connection_id":145072,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa17cbb30012d7f980005afd7c0000d000628..."} 
[2026-07-27 08:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145072,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa17cbb30012d7f980005afd7c0000d000628..."} 
[2026-07-27 08:27:38] local.INFO: Processing buffer {"connection_id":145072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa17cbb30012d7f980005afd7c0000d000628..."} 
[2026-07-27 08:27:38] local.INFO: Packet analysis {"connection_id":145072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa17c"} 
[2026-07-27 08:27:38] local.INFO: Extracted packet for processing {"connection_id":145072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa17c"} 
[2026-07-27 08:27:38] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410112,"longitude_deg":76.3336704,"latitude_deg":9.5410112,"altitude":13,"angle":6,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7c0","is_valid_coordinates":true} 
[2026-07-27 08:27:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:27:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990830848001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:27:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 08:27:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 08:27:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:27:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785120734000,"timestamp_ms":1785120734000,"timestamp_seconds":1785120734,"priority":1,"record_length":96,"hex_timestamp":"0000019fa17cbb30"} 
[2026-07-27 08:27:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:27:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 08:27:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-27 08:27:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:27:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:27:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:27:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:27:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:27:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:27:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:27:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:27:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:27:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:27:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990830848001,"66":25147,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 08:27:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:27:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:27:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990830848001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:27:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 08:27:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:27:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:27:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 08:27:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990830848001,"power":25147,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 08:27:38] local.INFO: DEBUG: GPS processor result {"connection_id":145072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:27:38] local.INFO: GPS data processed {"connection_id":145072,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:27:38] local.INFO: Acknowledgment sent {"connection_id":145072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:27:40] local.INFO: TCP Data received {"connection_id":142664,"ip":"117.225.166.226","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142664,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:27:40] local.INFO: Processing buffer {"connection_id":142664,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:27:40] local.INFO: IMEI packet received {"connection_id":142664,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 08:27:40] local.INFO: IMEI acknowledgment sent {"connection_id":142664,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:27:41] local.INFO: TCP Data received {"connection_id":145073,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145073,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:27:41] local.INFO: Processing buffer {"connection_id":145073,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:27:41] local.INFO: IMEI packet received {"connection_id":145073,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 08:27:41] local.INFO: IMEI acknowledgment sent {"connection_id":145073,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:27:42] local.INFO: TCP Data received {"connection_id":142664,"ip":"117.225.166.226","data_length":795,"data_hex":"000000000000030f8e0a0000019fa180f150012d7b4a8005e92f380005004825..."} 
[2026-07-27 08:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa180f150012d7b4a8005e92f380005004825..."} 
[2026-07-27 08:27:42] local.INFO: Processing buffer {"connection_id":142664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa180f150012d7b4a8005e92f380005004825..."} 
[2026-07-27 08:27:42] local.INFO: Packet analysis {"connection_id":142664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa180"} 
[2026-07-27 08:27:42] local.INFO: Extracted packet for processing {"connection_id":142664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa180"} 
[2026-07-27 08:27:42] local.INFO: GPS Element Parsed {"raw_longitude":763054720,"raw_latitude":99168056,"longitude_deg":76.305472,"latitude_deg":9.9168056,"altitude":5,"angle":72,"satellites":37,"speed":6,"hex_longitude":"2d7b4a80","hex_latitude":"05e92f38","is_valid_coordinates":true} 
[2026-07-27 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-07-27 08:27:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990978304001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:27:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111540451000975360,"note":"Value kept but may cause issues"} 
[2026-07-27 08:27:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8883842871584546816,"note":"Value kept but may cause issues"} 
[2026-07-27 08:27:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:27:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785121010000,"timestamp_ms":1785121010000,"timestamp_seconds":1785121010,"priority":1,"record_length":96,"hex_timestamp":"0000019fa180f150"} 
[2026-07-27 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-07-27 08:27:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-27 08:27:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 08:27:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:27:42] local.INFO: Teltonika packet parsed successfully {"connection_id":142664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:27:42] local.INFO: Passing IMEI to GPS processor {"connection_id":142664,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:27:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":142664,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:27:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.225.166.226","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:27:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 08:27:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 08:27:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990978304001,"66":13243,"126":206,"9":25088,"24":6,"16":111540451000975360,"45":8883842871584546816},"client_ip":"117.225.166.226","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,9,24,16,45]} 
[2026-07-27 08:27:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 08:27:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 08:27:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990978304001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:27:42] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-27 08:27:42] local.INFO: Unknown IO ID detected {"io_id":9,"value":25088,"description":"Unknown IO ID 9"} 
[2026-07-27 08:27:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111540451000975360,"km_value":111540451000975.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:27:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8883842871584546816,"description":"Unknown IO ID 45"} 
[2026-07-27 08:27:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990978304001,"power":13243,"unknown_126":206,"unknown_9":25088,"ignition":6,"odometer":null,"unknown_45":8883842871584546816}} 
[2026-07-27 08:27:42] local.INFO: DEBUG: GPS processor result {"connection_id":142664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551958,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:27:42] local.INFO: GPS data processed {"connection_id":142664,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:27:42] local.INFO: Acknowledgment sent {"connection_id":142664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:27:43] local.INFO: TCP Data received {"connection_id":145073,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145073,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:27:43] local.INFO: Processing buffer {"connection_id":145073,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:27:43] local.INFO: IMEI packet received {"connection_id":145073,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 08:27:43] local.INFO: IMEI acknowledgment sent {"connection_id":145073,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:27:46] local.INFO: TCP Data received {"connection_id":145073,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145073,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:27:46] local.INFO: Processing buffer {"connection_id":145073,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:27:46] local.INFO: IMEI packet received {"connection_id":145073,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 08:27:46] local.INFO: IMEI acknowledgment sent {"connection_id":145073,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:27:46] local.INFO: TCP Data received {"connection_id":145073,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1814358012d0c0e400702ada80012004c0f..."} 
[2026-07-27 08:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145073,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1814358012d0c0e400702ada80012004c0f..."} 
[2026-07-27 08:27:46] local.INFO: Processing buffer {"connection_id":145073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1814358012d0c0e400702ada80012004c0f..."} 
[2026-07-27 08:27:46] local.INFO: Packet analysis {"connection_id":145073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa181"} 
[2026-07-27 08:27:46] local.INFO: Extracted packet for processing {"connection_id":145073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa181"} 
[2026-07-27 08:27:46] local.INFO: GPS Element Parsed {"raw_longitude":755764800,"raw_latitude":117616040,"longitude_deg":75.57648,"latitude_deg":11.761604,"altitude":18,"angle":76,"satellites":15,"speed":4,"hex_longitude":"2d0c0e40","hex_latitude":"0702ada8","is_valid_coordinates":true} 
[2026-07-27 08:27:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:27:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990978560001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:27:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25781060885282816,"note":"Value kept but may cause issues"} 
[2026-07-27 08:27:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":863494889913503744,"note":"Value kept but may cause issues"} 
[2026-07-27 08:27:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:27:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785121031000,"timestamp_ms":1785121031000,"timestamp_seconds":1785121031,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1814358"} 
[2026-07-27 08:27:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:27:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08:27:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-27 08:27:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:27:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:27:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:27:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:27:46] local.INFO: Teltonika packet parsed successfully {"connection_id":145073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:27:46] local.INFO: Passing IMEI to GPS processor {"connection_id":145073,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:27:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":145073,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:27:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:27:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 08:27:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 08:27:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990978560001,"66":14559,"37":206,"94":11008,"24":4,"16":25781060885282816,"45":863494889913503744},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-27 08:27:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 08:27:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 08:27:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990978560001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:27:46] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-27 08:27:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-27 08:27:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25781060885282816,"km_value":25781060885282.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:27:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":863494889913503744,"description":"Unknown IO ID 45"} 
[2026-07-27 08:27:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990978560001,"power":14559,"unknown_37":206,"unknown_94":11008,"ignition":4,"odometer":null,"unknown_45":863494889913503744}} 
[2026-07-27 08:27:46] local.INFO: DEBUG: GPS processor result {"connection_id":145073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551959,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:27:46] local.INFO: GPS data processed {"connection_id":145073,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:27:46] local.INFO: Acknowledgment sent {"connection_id":145073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:28:09] local.INFO: TCP Data received {"connection_id":145072,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1819560012d7f934005afdd400000000029..."} 
[2026-07-27 08:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145072,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1819560012d7f934005afdd400000000029..."} 
[2026-07-27 08:28:09] local.INFO: Processing buffer {"connection_id":145072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1819560012d7f934005afdd400000000029..."} 
[2026-07-27 08:28:09] local.INFO: Packet analysis {"connection_id":145072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa181"} 
[2026-07-27 08:28:09] local.INFO: Extracted packet for processing {"connection_id":145072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa181"} 
[2026-07-27 08:28:09] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95411520,"longitude_deg":76.3335488,"latitude_deg":9.541152,"altitude":0,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afdd40","is_valid_coordinates":true} 
[2026-07-27 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-07-27 08:28:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990907904001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:28:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 08:28:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 08:28:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:28:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785121052000,"timestamp_ms":1785121052000,"timestamp_seconds":1785121052,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1819560"} 
[2026-07-27 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-07-27 08:28:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-07-27 08:28: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-07-27 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-07-27 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-07-27 08:28:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:28:09] local.INFO: Teltonika packet parsed successfully {"connection_id":145072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:28:09] local.INFO: Passing IMEI to GPS processor {"connection_id":145072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:28:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":145072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:28:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:28:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:28:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:28:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990907904001,"66":25158,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 08:28:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:28:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:28:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990907904001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:28:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 08:28:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:28:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:28:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 08:28:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990907904001,"power":25158,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 08:28:09] local.INFO: DEBUG: GPS processor result {"connection_id":145072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:28:09] local.INFO: GPS data processed {"connection_id":145072,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:28:09] local.INFO: Acknowledgment sent {"connection_id":145072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:28:14] local.INFO: TCP Data received {"connection_id":142664,"ip":"117.225.166.226","data_length":795,"data_hex":"000000000000030f8e0a0000019fa180f538012d7b4b8005e92f480005005a25..."} 
[2026-07-27 08:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa180f538012d7b4b8005e92f480005005a25..."} 
[2026-07-27 08:28:14] local.INFO: Processing buffer {"connection_id":142664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa180f538012d7b4b8005e92f480005005a25..."} 
[2026-07-27 08:28:14] local.INFO: Packet analysis {"connection_id":142664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa180"} 
[2026-07-27 08:28:14] local.INFO: Extracted packet for processing {"connection_id":142664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa180"} 
[2026-07-27 08:28:14] local.INFO: GPS Element Parsed {"raw_longitude":763054976,"raw_latitude":99168072,"longitude_deg":76.3054976,"latitude_deg":9.9168072,"altitude":5,"angle":90,"satellites":37,"speed":9,"hex_longitude":"2d7b4b80","hex_latitude":"05e92f48","is_valid_coordinates":true} 
[2026-07-27 08:28:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:28:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990978560001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:28:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111540463885877248,"note":"Value kept but may cause issues"} 
[2026-07-27 08:28:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8884053977817102336,"note":"Value kept but may cause issues"} 
[2026-07-27 08:28:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:28:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785121011000,"timestamp_ms":1785121011000,"timestamp_seconds":1785121011,"priority":1,"record_length":96,"hex_timestamp":"0000019fa180f538"} 
[2026-07-27 08:28:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:28:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-27 08:28:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:28:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:28:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:28:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:28:14] local.INFO: Teltonika packet parsed successfully {"connection_id":142664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:28:14] local.INFO: Passing IMEI to GPS processor {"connection_id":142664,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:28:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":142664,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:28:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.225.166.226","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:28:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 08:28:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 08:28:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990978560001,"66":13243,"126":206,"9":25088,"24":9,"16":111540463885877248,"45":8884053977817102336},"client_ip":"117.225.166.226","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,9,24,16,45]} 
[2026-07-27 08:28:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 08:28:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 08:28:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990978560001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:28:14] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-27 08:28:14] local.INFO: Unknown IO ID detected {"io_id":9,"value":25088,"description":"Unknown IO ID 9"} 
[2026-07-27 08:28:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111540463885877248,"km_value":111540463885877.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:28:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8884053977817102336,"description":"Unknown IO ID 45"} 
[2026-07-27 08:28:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990978560001,"power":13243,"unknown_126":206,"unknown_9":25088,"ignition":9,"odometer":null,"unknown_45":8884053977817102336}} 
[2026-07-27 08:28:14] local.INFO: DEBUG: GPS processor result {"connection_id":142664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551961,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:28:14] local.INFO: GPS data processed {"connection_id":142664,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:28:14] local.INFO: Acknowledgment sent {"connection_id":142664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:28:17] local.INFO: TCP Data received {"connection_id":145073,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1814f10012d0c0f400702adf0001200590f..."} 
[2026-07-27 08:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145073,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1814f10012d0c0f400702adf0001200590f..."} 
[2026-07-27 08:28:17] local.INFO: Processing buffer {"connection_id":145073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1814f10012d0c0f400702adf0001200590f..."} 
[2026-07-27 08:28:17] local.INFO: Packet analysis {"connection_id":145073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa181"} 
[2026-07-27 08:28:17] local.INFO: Extracted packet for processing {"connection_id":145073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa181"} 
[2026-07-27 08:28:17] local.INFO: GPS Element Parsed {"raw_longitude":755765056,"raw_latitude":117616112,"longitude_deg":75.5765056,"latitude_deg":11.7616112,"altitude":18,"angle":89,"satellites":15,"speed":1,"hex_longitude":"2d0c0f40","hex_latitude":"0702adf0","is_valid_coordinates":true} 
[2026-07-27 08:28:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:28:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990983936001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:28:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25781073770184704,"note":"Value kept but may cause issues"} 
[2026-07-27 08:28:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":868702176982968320,"note":"Value kept but may cause issues"} 
[2026-07-27 08:28:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:28:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785121034000,"timestamp_ms":1785121034000,"timestamp_seconds":1785121034,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1814f10"} 
[2026-07-27 08:28:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:28: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-07-27 08:28:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-27 08:28:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:28:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:28:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:28:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:28:17] local.INFO: Teltonika packet parsed successfully {"connection_id":145073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:28:17] local.INFO: Passing IMEI to GPS processor {"connection_id":145073,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:28:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":145073,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:28:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:28:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 08:28:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 08:28:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990983936001,"66":14461,"37":206,"94":11008,"24":1,"16":25781073770184704,"45":868702176982968320},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-27 08:28:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 08:28:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 08:28:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990983936001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:28:17] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-27 08:28:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-27 08:28:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25781073770184704,"km_value":25781073770184.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:28:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":868702176982968320,"description":"Unknown IO ID 45"} 
[2026-07-27 08:28:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990983936001,"power":14461,"unknown_37":206,"unknown_94":11008,"ignition":1,"odometer":null,"unknown_45":868702176982968320}} 
[2026-07-27 08:28:17] local.INFO: DEBUG: GPS processor result {"connection_id":145073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551962,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:28:17] local.INFO: GPS data processed {"connection_id":145073,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:28:17] local.INFO: Acknowledgment sent {"connection_id":145073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:28:32] local.INFO: TCP Data received {"connection_id":143755,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:28:32] local.INFO: Processing buffer {"connection_id":143755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:28:32] local.INFO: IMEI packet received {"connection_id":143755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 08:28:32] local.INFO: IMEI acknowledgment sent {"connection_id":143755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:28:38] local.INFO: TCP Data received {"connection_id":143755,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:28:38] local.INFO: Processing buffer {"connection_id":143755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:28:38] local.INFO: IMEI packet received {"connection_id":143755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 08:28:38] local.INFO: IMEI acknowledgment sent {"connection_id":143755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:28:38] local.INFO: TCP Data received {"connection_id":143755,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1819560012d7f934005afdd400000000029..."} 
[2026-07-27 08:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1819560012d7f934005afdd400000000029..."} 
[2026-07-27 08:28:38] local.INFO: Processing buffer {"connection_id":143755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1819560012d7f934005afdd400000000029..."} 
[2026-07-27 08:28:38] local.INFO: Packet analysis {"connection_id":143755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa181"} 
[2026-07-27 08:28:38] local.INFO: Extracted packet for processing {"connection_id":143755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa181"} 
[2026-07-27 08:28:38] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95411520,"longitude_deg":76.3335488,"latitude_deg":9.541152,"altitude":0,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afdd40","is_valid_coordinates":true} 
[2026-07-27 08:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:28:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990907904001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:28:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 08:28:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 08:28:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:28:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785121052000,"timestamp_ms":1785121052000,"timestamp_seconds":1785121052,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1819560"} 
[2026-07-27 08:28:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:28:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 08:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-07-27 08:28:38] 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-07-27 08:28:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:28:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:28:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:28:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:28:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:28:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:28:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:28:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:28:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:28:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990907904001,"66":25158,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 08:28:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:28:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:28:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990907904001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:28:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 08:28:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:28:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:28:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 08:28:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990907904001,"power":25158,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 08:28:38] local.INFO: DEBUG: GPS processor result {"connection_id":143755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:28:38] local.INFO: GPS data processed {"connection_id":143755,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:28:38] local.INFO: Acknowledgment sent {"connection_id":143755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:28:40] local.INFO: TCP Data received {"connection_id":142777,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142777,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:28:40] local.INFO: Processing buffer {"connection_id":142777,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:28:40] local.INFO: IMEI packet received {"connection_id":142777,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 08:28:40] local.INFO: IMEI acknowledgment sent {"connection_id":142777,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:28:45] local.INFO: TCP Data received {"connection_id":142777,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142777,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:28:45] local.INFO: Processing buffer {"connection_id":142777,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:28:45] local.INFO: IMEI packet received {"connection_id":142777,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 08:28:45] local.INFO: IMEI acknowledgment sent {"connection_id":142777,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:28:46] local.INFO: TCP Data received {"connection_id":142777,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1824140012d0c28400702ae980018002714..."} 
[2026-07-27 08:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1824140012d0c28400702ae980018002714..."} 
[2026-07-27 08:28:46] local.INFO: Processing buffer {"connection_id":142777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1824140012d0c28400702ae980018002714..."} 
[2026-07-27 08:28:46] local.INFO: Packet analysis {"connection_id":142777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa182"} 
[2026-07-27 08:28:46] local.INFO: Extracted packet for processing {"connection_id":142777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa182"} 
[2026-07-27 08:28:46] local.INFO: GPS Element Parsed {"raw_longitude":755771456,"raw_latitude":117616280,"longitude_deg":75.5771456,"latitude_deg":11.761628,"altitude":24,"angle":39,"satellites":20,"speed":0,"hex_longitude":"2d0c2840","hex_latitude":"0702ae98","is_valid_coordinates":true} 
[2026-07-27 08:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:28:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991000320001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:28:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25781391597764608,"note":"Value kept but may cause issues"} 
[2026-07-27 08:28:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":876020526377506816,"note":"Value kept but may cause issues"} 
[2026-07-27 08:28:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:28:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785121096000,"timestamp_ms":1785121096000,"timestamp_seconds":1785121096,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1824140"} 
[2026-07-27 08:28:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:28:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-27 08:28:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:28:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:28:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:28:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:28:46] local.INFO: Teltonika packet parsed successfully {"connection_id":142777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:28:46] local.INFO: Passing IMEI to GPS processor {"connection_id":142777,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:28:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":142777,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:28:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:28:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 08:28:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 08:28:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991000320001,"66":14450,"37":206,"94":11008,"24":0,"16":25781391597764608,"45":876020526377506816},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-27 08:28:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 08:28:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 08:28:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991000320001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:28:46] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-27 08:28:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-27 08:28:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25781391597764608,"km_value":25781391597764.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:28:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":876020526377506816,"description":"Unknown IO ID 45"} 
[2026-07-27 08:28:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991000320001,"power":14450,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":876020526377506816}} 
[2026-07-27 08:28:46] local.INFO: DEBUG: GPS processor result {"connection_id":142777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551964,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:28:46] local.INFO: GPS data processed {"connection_id":142777,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:28:46] local.INFO: Acknowledgment sent {"connection_id":142777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:29:10] local.INFO: TCP Data received {"connection_id":143755,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1819560012d7f934005afdd400000000029..."} 
[2026-07-27 08:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1819560012d7f934005afdd400000000029..."} 
[2026-07-27 08:29:10] local.INFO: Processing buffer {"connection_id":143755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1819560012d7f934005afdd400000000029..."} 
[2026-07-27 08:29:10] local.INFO: Packet analysis {"connection_id":143755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa181"} 
[2026-07-27 08:29:10] local.INFO: Extracted packet for processing {"connection_id":143755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa181"} 
[2026-07-27 08:29:10] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95411520,"longitude_deg":76.3335488,"latitude_deg":9.541152,"altitude":0,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afdd40","is_valid_coordinates":true} 
[2026-07-27 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-07-27 08:29:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990907904001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:29:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 08:29:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 08:29:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:29:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785121052000,"timestamp_ms":1785121052000,"timestamp_seconds":1785121052,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1819560"} 
[2026-07-27 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-07-27 08:29:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-07-27 08:29:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 08:29:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:29:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:29:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:29:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:29:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:29:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:29:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:29:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990907904001,"66":25158,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 08:29:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:29:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:29:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990907904001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:29:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 08:29:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:29:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:29:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 08:29:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990907904001,"power":25158,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 08:29:10] local.INFO: DEBUG: GPS processor result {"connection_id":143755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:29:10] local.INFO: GPS data processed {"connection_id":143755,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:29:10] local.INFO: Acknowledgment sent {"connection_id":143755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:29:10] local.INFO: TCP Data received {"connection_id":142778,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 08:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142778,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 08:29:10] local.INFO: Processing buffer {"connection_id":142778,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 08:29:10] local.INFO: IMEI packet received {"connection_id":142778,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 08:29:10] local.INFO: IMEI acknowledgment sent {"connection_id":142778,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:29:17] local.INFO: TCP Data received {"connection_id":142777,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1827fc0012d0c29400702afa80018000414..."} 
[2026-07-27 08:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1827fc0012d0c29400702afa80018000414..."} 
[2026-07-27 08:29:17] local.INFO: Processing buffer {"connection_id":142777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1827fc0012d0c29400702afa80018000414..."} 
[2026-07-27 08:29:17] local.INFO: Packet analysis {"connection_id":142777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa182"} 
[2026-07-27 08:29:17] local.INFO: Extracted packet for processing {"connection_id":142777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa182"} 
[2026-07-27 08:29:17] local.INFO: GPS Element Parsed {"raw_longitude":755771712,"raw_latitude":117616552,"longitude_deg":75.5771712,"latitude_deg":11.7616552,"altitude":24,"angle":4,"satellites":20,"speed":2,"hex_longitude":"2d0c2940","hex_latitude":"0702afa8","is_valid_coordinates":true} 
[2026-07-27 08: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-07-27 08:29:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991000576001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:29:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25781408777633792,"note":"Value kept but may cause issues"} 
[2026-07-27 08:29:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":876020526377506816,"note":"Value kept but may cause issues"} 
[2026-07-27 08:29:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:29:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785121112000,"timestamp_ms":1785121112000,"timestamp_seconds":1785121112,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1827fc0"} 
[2026-07-27 08:29:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:29:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-27 08:29:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08: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-07-27 08:29:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:29:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:29:17] local.INFO: Teltonika packet parsed successfully {"connection_id":142777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:29:17] local.INFO: Passing IMEI to GPS processor {"connection_id":142777,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:29:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":142777,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:29:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:29:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 08:29:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 08:29:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991000576001,"66":14461,"37":206,"94":11008,"24":2,"16":25781408777633792,"45":876020526377506816},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-27 08:29:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 08:29:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 08:29:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991000576001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:29:17] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-27 08:29:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-27 08:29:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25781408777633792,"km_value":25781408777633.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:29:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":876020526377506816,"description":"Unknown IO ID 45"} 
[2026-07-27 08:29:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991000576001,"power":14461,"unknown_37":206,"unknown_94":11008,"ignition":2,"odometer":null,"unknown_45":876020526377506816}} 
[2026-07-27 08:29:17] local.INFO: DEBUG: GPS processor result {"connection_id":142777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551966,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:29:17] local.INFO: GPS data processed {"connection_id":142777,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:29:17] local.INFO: Acknowledgment sent {"connection_id":142777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:29:32] local.INFO: TCP Data received {"connection_id":143756,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:29:32] local.INFO: Processing buffer {"connection_id":143756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:29:32] local.INFO: IMEI packet received {"connection_id":143756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 08:29:32] local.INFO: IMEI acknowledgment sent {"connection_id":143756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:29:38] local.INFO: TCP Data received {"connection_id":143756,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:29:38] local.INFO: Processing buffer {"connection_id":143756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:29:38] local.INFO: IMEI packet received {"connection_id":143756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 08:29:38] local.INFO: IMEI acknowledgment sent {"connection_id":143756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:29:38] local.INFO: TCP Data received {"connection_id":143756,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1819560012d7f934005afdd400000000029..."} 
[2026-07-27 08:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143756,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1819560012d7f934005afdd400000000029..."} 
[2026-07-27 08:29:38] local.INFO: Processing buffer {"connection_id":143756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1819560012d7f934005afdd400000000029..."} 
[2026-07-27 08:29:38] local.INFO: Packet analysis {"connection_id":143756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa181"} 
[2026-07-27 08:29:38] local.INFO: Extracted packet for processing {"connection_id":143756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa181"} 
[2026-07-27 08:29:38] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95411520,"longitude_deg":76.3335488,"latitude_deg":9.541152,"altitude":0,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afdd40","is_valid_coordinates":true} 
[2026-07-27 08:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:29:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990907904001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:29:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 08:29:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 08:29:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:29:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785121052000,"timestamp_ms":1785121052000,"timestamp_seconds":1785121052,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1819560"} 
[2026-07-27 08:29:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:29:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 08:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-07-27 08:29:38] 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-07-27 08:29:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:29:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:29:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:29:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:29:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:29:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:29:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:29:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:29:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:29:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990907904001,"66":25158,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 08:29:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:29:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:29:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990907904001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:29:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 08:29:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:29:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:29:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 08:29:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990907904001,"power":25158,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 08:29:38] local.INFO: DEBUG: GPS processor result {"connection_id":143756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:29:38] local.INFO: GPS data processed {"connection_id":143756,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:29:38] local.INFO: Acknowledgment sent {"connection_id":143756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:29:45] local.INFO: TCP Data received {"connection_id":142780,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 08:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142780,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 08:29:45] local.INFO: Processing buffer {"connection_id":142780,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 08:29:45] local.INFO: IMEI packet received {"connection_id":142780,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 08:29:45] local.INFO: IMEI acknowledgment sent {"connection_id":142780,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:29:45] local.INFO: TCP Data received {"connection_id":142779,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142779,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:29:45] local.INFO: Processing buffer {"connection_id":142779,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:29:45] local.INFO: IMEI packet received {"connection_id":142779,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 08:29:45] local.INFO: IMEI acknowledgment sent {"connection_id":142779,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:29:45] local.INFO: TCP Data received {"connection_id":142779,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142779,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:29:45] local.INFO: Processing buffer {"connection_id":142779,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:29:45] local.INFO: IMEI packet received {"connection_id":142779,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 08:29:45] local.INFO: IMEI acknowledgment sent {"connection_id":142779,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:29:49] local.INFO: TCP Data received {"connection_id":142779,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142779,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:29:49] local.INFO: Processing buffer {"connection_id":142779,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:29:49] local.INFO: IMEI packet received {"connection_id":142779,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 08:29:49] local.INFO: IMEI acknowledgment sent {"connection_id":142779,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:29:50] local.INFO: TCP Data received {"connection_id":142779,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1828790012d0c29400702b0880018015914..."} 
[2026-07-27 08:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1828790012d0c29400702b0880018015914..."} 
[2026-07-27 08:29:50] local.INFO: Processing buffer {"connection_id":142779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1828790012d0c29400702b0880018015914..."} 
[2026-07-27 08:29:50] local.INFO: Packet analysis {"connection_id":142779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa182"} 
[2026-07-27 08:29:50] local.INFO: Extracted packet for processing {"connection_id":142779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa182"} 
[2026-07-27 08:29:50] local.INFO: GPS Element Parsed {"raw_longitude":755771712,"raw_latitude":117616776,"longitude_deg":75.5771712,"latitude_deg":11.7616776,"altitude":24,"angle":345,"satellites":20,"speed":3,"hex_longitude":"2d0c2940","hex_latitude":"0702b088","is_valid_coordinates":true} 
[2026-07-27 08:29:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:29:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991004672001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:29:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25781421662535680,"note":"Value kept but may cause issues"} 
[2026-07-27 08:29:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":876302001354287104,"note":"Value kept but may cause issues"} 
[2026-07-27 08:29:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:29:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785121114000,"timestamp_ms":1785121114000,"timestamp_seconds":1785121114,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1828790"} 
[2026-07-27 08:29:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:29: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-07-27 08:29:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-27 08:29: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-07-27 08:29:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:29:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:29:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:29:50] local.INFO: Teltonika packet parsed successfully {"connection_id":142779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:29:50] local.INFO: Passing IMEI to GPS processor {"connection_id":142779,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:29:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":142779,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:29:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:29:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 08:29:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 08:29:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991004672001,"66":14396,"37":206,"94":11008,"24":3,"16":25781421662535680,"45":876302001354287104},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-27 08:29:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 08:29:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 08:29:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991004672001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:29:50] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-27 08:29:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-27 08:29:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25781421662535680,"km_value":25781421662535.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:29:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":876302001354287104,"description":"Unknown IO ID 45"} 
[2026-07-27 08:29:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991004672001,"power":14396,"unknown_37":206,"unknown_94":11008,"ignition":3,"odometer":null,"unknown_45":876302001354287104}} 
[2026-07-27 08:29:50] local.INFO: DEBUG: GPS processor result {"connection_id":142779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551968,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:29:50] local.INFO: GPS data processed {"connection_id":142779,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:29:50] local.INFO: Acknowledgment sent {"connection_id":142779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:29:50] local.INFO: TCP Data received {"connection_id":142779,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1828b78012d0c29000702b0e80018014d14..."} 
[2026-07-27 08:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1828b78012d0c29000702b0e80018014d14..."} 
[2026-07-27 08:29:50] local.INFO: Processing buffer {"connection_id":142779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1828b78012d0c29000702b0e80018014d14..."} 
[2026-07-27 08:29:50] local.INFO: Packet analysis {"connection_id":142779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa182"} 
[2026-07-27 08:29:50] local.INFO: Extracted packet for processing {"connection_id":142779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa182"} 
[2026-07-27 08:29:50] local.INFO: GPS Element Parsed {"raw_longitude":755771648,"raw_latitude":117616872,"longitude_deg":75.5771648,"latitude_deg":11.7616872,"altitude":24,"angle":333,"satellites":20,"speed":4,"hex_longitude":"2d0c2900","hex_latitude":"0702b0e8","is_valid_coordinates":true} 
[2026-07-27 08:29:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:29:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991005184001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:29:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25781425957502976,"note":"Value kept but may cause issues"} 
[2026-07-27 08:29:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":876302001354344448,"note":"Value kept but may cause issues"} 
[2026-07-27 08:29:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:29:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785121115000,"timestamp_ms":1785121115000,"timestamp_seconds":1785121115,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1828b78"} 
[2026-07-27 08:29:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:29: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-07-27 08:29:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-27 08:29: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-07-27 08:29:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:29:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:29:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:29:50] local.INFO: Teltonika packet parsed successfully {"connection_id":142779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:29:50] local.INFO: Passing IMEI to GPS processor {"connection_id":142779,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:29:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":142779,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:29:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:29:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 08:29:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 08:29:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991005184001,"66":14396,"37":206,"94":11008,"24":4,"16":25781425957502976,"45":876302001354344448},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-27 08:29:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 08:29:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 08:29:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991005184001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:29:50] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-27 08:29:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-27 08:29:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25781425957502976,"km_value":25781425957502.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:29:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":876302001354344448,"description":"Unknown IO ID 45"} 
[2026-07-27 08:29:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991005184001,"power":14396,"unknown_37":206,"unknown_94":11008,"ignition":4,"odometer":null,"unknown_45":876302001354344448}} 
[2026-07-27 08:29:51] local.INFO: DEBUG: GPS processor result {"connection_id":142779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551969,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:29:51] local.INFO: GPS data processed {"connection_id":142779,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:29:51] local.INFO: Acknowledgment sent {"connection_id":142779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:29:55] local.INFO: TCP Data received {"connection_id":145074,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145074,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:29:55] local.INFO: Processing buffer {"connection_id":145074,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:29:55] local.INFO: IMEI packet received {"connection_id":145074,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 08:29:55] local.INFO: IMEI acknowledgment sent {"connection_id":145074,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:29:56] local.INFO: TCP Data received {"connection_id":145074,"ip":"42.106.6.28","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-27 08:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145074,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-27 08:29:56] local.INFO: Processing buffer {"connection_id":145074,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-27 08:29:56] local.INFO: IMEI packet received {"connection_id":145074,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 08:29:56] local.INFO: IMEI acknowledgment sent {"connection_id":145074,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:30:00] local.INFO: TCP Data received {"connection_id":145074,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145074,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:30:00] local.INFO: Processing buffer {"connection_id":145074,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-27 08:30:00] local.INFO: IMEI packet received {"connection_id":145074,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 08:30:00] local.INFO: IMEI acknowledgment sent {"connection_id":145074,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:30:01] local.INFO: TCP Data received {"connection_id":145074,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1827bd8012d7bca8005e958c00000003827..."} 
[2026-07-27 08:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1827bd8012d7bca8005e958c00000003827..."} 
[2026-07-27 08:30:01] local.INFO: Processing buffer {"connection_id":145074,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019fa1..."} 
[2026-07-27 08:30:01] local.INFO: IMEI packet received {"connection_id":145074,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 08:30:01] local.INFO: IMEI acknowledgment sent {"connection_id":145074,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:30:06] local.INFO: TCP Data received {"connection_id":145074,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa18283a8012d7bce8005e95aa80000004924..."} 
[2026-07-27 08:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa18283a8012d7bce8005e95aa80000004924..."} 
[2026-07-27 08:30:06] local.INFO: Processing buffer {"connection_id":145074,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019fa1827bd8012d7bca8005e958c00000003827..."} 
[2026-07-27 08:30:06] local.INFO: Packet analysis {"connection_id":145074,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fa182"} 
[2026-07-27 08:30:06] local.INFO: Extracted packet for processing {"connection_id":145074,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa182"} 
[2026-07-27 08:30:06] local.INFO: GPS Element Parsed {"raw_longitude":763087488,"raw_latitude":99178688,"longitude_deg":76.3087488,"latitude_deg":9.9178688,"altitude":0,"angle":56,"satellites":39,"speed":21,"hex_longitude":"2d7bca80","hex_latitude":"05e958c0","is_valid_coordinates":true} 
[2026-07-27 08:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:30:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991003648001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:30:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111542143218089984,"note":"Value kept but may cause issues"} 
[2026-07-27 08:30:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8918605031210772480,"note":"Value kept but may cause issues"} 
[2026-07-27 08:30:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:30:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785121111000,"timestamp_ms":1785121111000,"timestamp_seconds":1785121111,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1827bd8"} 
[2026-07-27 08:30:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:30:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-27 08:30:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:30:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:30:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:30:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:30:06] local.INFO: Teltonika packet parsed successfully {"connection_id":145074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:30:06] local.INFO: Passing IMEI to GPS processor {"connection_id":145074,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:30:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":145074,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:30:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:30:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 08:30:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 08:30:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991003648001,"66":13059,"175":206,"9":25088,"24":21,"16":111542143218089984,"45":8918605031210772480},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,9,24,16,45]} 
[2026-07-27 08:30:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 08:30:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 08:30:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991003648001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:30:06] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-07-27 08:30:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":25088,"description":"Unknown IO ID 9"} 
[2026-07-27 08:30:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111542143218089984,"km_value":111542143218089.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:30:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8918605031210772480,"description":"Unknown IO ID 45"} 
[2026-07-27 08:30:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991003648001,"power":13059,"unknown_175":206,"unknown_9":25088,"ignition":21,"odometer":null,"unknown_45":8918605031210772480}} 
[2026-07-27 08:30:06] local.INFO: DEBUG: GPS processor result {"connection_id":145074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551970,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:30:06] local.INFO: GPS data processed {"connection_id":145074,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:30:06] local.INFO: Acknowledgment sent {"connection_id":145074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:30:06] local.INFO: Packet analysis {"connection_id":145074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa182"} 
[2026-07-27 08:30:06] local.INFO: Extracted packet for processing {"connection_id":145074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa182"} 
[2026-07-27 08:30:06] local.INFO: GPS Element Parsed {"raw_longitude":763088512,"raw_latitude":99179176,"longitude_deg":76.3088512,"latitude_deg":9.9179176,"altitude":0,"angle":73,"satellites":36,"speed":22,"hex_longitude":"2d7bce80","hex_latitude":"05e95aa8","is_valid_coordinates":true} 
[2026-07-27 08:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:30:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991004416001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:30:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111542199052664832,"note":"Value kept but may cause issues"} 
[2026-07-27 08:30:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8920082774838788096,"note":"Value kept but may cause issues"} 
[2026-07-27 08:30:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:30:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785121113000,"timestamp_ms":1785121113000,"timestamp_seconds":1785121113,"priority":1,"record_length":96,"hex_timestamp":"0000019fa18283a8"} 
[2026-07-27 08:30:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:30:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-27 08:30:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303160445947145,"note":"Value kept but may cause issues"} 
[2026-07-27 08:30:06] local.WARNING: Large IO value detected {"io_id":175,"raw_value":57994161715412992,"note":"Value kept but may cause issues"} 
[2026-07-27 08:30:06] local.WARNING: Large IO value detected {"io_id":70,"raw_value":2332033024,"note":"Value kept but may cause issues"} 
[2026-07-27 08:30:06] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2709632160,"note":"Value kept but may cause issues"} 
[2026-07-27 08:30:06] local.WARNING: Large IO value detected {"io_id":161,"raw_value":2179426305,"note":"Value kept but may cause issues"} 
[2026-07-27 08:30:06] local.WARNING: Large IO value detected {"io_id":215,"raw_value":3355520379,"note":"Value kept but may cause issues"} 
[2026-07-27 08:30:06] local.WARNING: Large IO value detected {"io_id":136,"raw_value":3221612859,"note":"Value kept but may cause issues"} 
[2026-07-27 08:30:06] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3976252681,"note":"Value kept but may cause issues"} 
[2026-07-27 08:30:06] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3912957952,"note":"Value kept but may cause issues"} 
[2026-07-27 08:30:06] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,175,9,24,241,158,16,70,159,112,45,64,84,39,10,66,96,78,53,128,1,240,187,161,233,4,113,205,21,215,136,120,40,239,50,2,140,5],"length":486,"final_offset":616,"validated_count":38,"validation_warnings":[]} 
[2026-07-27 08:30:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":61740156256256,"timestamp_seconds":61740156256.256,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 08:30:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:30:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:30:06] local.INFO: Teltonika packet parsed successfully {"connection_id":145074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:30:06] local.INFO: Passing IMEI to GPS processor {"connection_id":145074,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:30:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":145074,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:30:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:30:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 08:30:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 08:30:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991004416001,"66":13222,"175":206,"9":25088,"24":22,"16":111542199052664832,"45":8920082774838788096},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,9,24,16,45]} 
[2026-07-27 08:30:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 08:30:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 08:30:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991004416001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:30:06] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-07-27 08:30:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":25088,"description":"Unknown IO ID 9"} 
[2026-07-27 08:30:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111542199052664832,"km_value":111542199052664.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:30:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8920082774838788096,"description":"Unknown IO ID 45"} 
[2026-07-27 08:30:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991004416001,"power":13222,"unknown_175":206,"unknown_9":25088,"ignition":22,"odometer":null,"unknown_45":8920082774838788096}} 
[2026-07-27 08:30:06] local.INFO: DEBUG: GPS processor result {"connection_id":145074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551971,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:30:06] local.INFO: GPS data processed {"connection_id":145074,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:30:06] local.INFO: Acknowledgment sent {"connection_id":145074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:30:09] local.INFO: TCP Data received {"connection_id":143756,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1819560012d7f934005afdd400000000029..."} 
[2026-07-27 08:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143756,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1819560012d7f934005afdd400000000029..."} 
[2026-07-27 08:30:09] local.INFO: Processing buffer {"connection_id":143756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1819560012d7f934005afdd400000000029..."} 
[2026-07-27 08:30:09] local.INFO: Packet analysis {"connection_id":143756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa181"} 
[2026-07-27 08:30:09] local.INFO: Extracted packet for processing {"connection_id":143756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa181"} 
[2026-07-27 08:30:09] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95411520,"longitude_deg":76.3335488,"latitude_deg":9.541152,"altitude":0,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afdd40","is_valid_coordinates":true} 
[2026-07-27 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-07-27 08:30:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990907904001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:30:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 08:30:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 08:30:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:30:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785121052000,"timestamp_ms":1785121052000,"timestamp_seconds":1785121052,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1819560"} 
[2026-07-27 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-07-27 08:30:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-07-27 08:30: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-07-27 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-07-27 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-07-27 08:30:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:30:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:30:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:30:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:30:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:30:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:30:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:30:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990907904001,"66":25158,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 08:30:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:30:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:30:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990907904001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:30:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 08:30:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:30:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:30:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 08:30:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990907904001,"power":25158,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 08:30:09] local.INFO: DEBUG: GPS processor result {"connection_id":143756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:30:09] local.INFO: GPS data processed {"connection_id":143756,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:30:09] local.INFO: Acknowledgment sent {"connection_id":143756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:30:22] local.INFO: TCP Data received {"connection_id":142779,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa182d5b0012d0c1a400702d2980015015214..."} 
[2026-07-27 08:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa182d5b0012d0c1a400702d2980015015214..."} 
[2026-07-27 08:30:22] local.INFO: Processing buffer {"connection_id":142779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa182d5b0012d0c1a400702d2980015015214..."} 
[2026-07-27 08:30:22] local.INFO: Packet analysis {"connection_id":142779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa182"} 
[2026-07-27 08:30:22] local.INFO: Extracted packet for processing {"connection_id":142779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa182"} 
[2026-07-27 08:30:22] local.INFO: GPS Element Parsed {"raw_longitude":755767872,"raw_latitude":117625496,"longitude_deg":75.5767872,"latitude_deg":11.7625496,"altitude":21,"angle":338,"satellites":20,"speed":28,"hex_longitude":"2d0c1a40","hex_latitude":"0702d298","is_valid_coordinates":true} 
[2026-07-27 08: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-07-27 08:30:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991005440001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:30:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25781885519003648,"note":"Value kept but may cause issues"} 
[2026-07-27 08:30:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":876231632610191360,"note":"Value kept but may cause issues"} 
[2026-07-27 08:30:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:30:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785121134000,"timestamp_ms":1785121134000,"timestamp_seconds":1785121134,"priority":1,"record_length":96,"hex_timestamp":"0000019fa182d5b0"} 
[2026-07-27 08:30:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:30:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08:30:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-27 08:30:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08: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-07-27 08:30:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:30:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:30:22] local.INFO: Teltonika packet parsed successfully {"connection_id":142779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:30:22] local.INFO: Passing IMEI to GPS processor {"connection_id":142779,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:30:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":142779,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:30:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:30:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 08:30:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 08:30:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991005440001,"66":14428,"37":206,"94":11008,"24":28,"16":25781885519003648,"45":876231632610191360},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-27 08:30:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 08:30:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 08:30:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991005440001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:30:22] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-27 08:30:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-27 08:30:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25781885519003648,"km_value":25781885519003.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:30:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":876231632610191360,"description":"Unknown IO ID 45"} 
[2026-07-27 08:30:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991005440001,"power":14428,"unknown_37":206,"unknown_94":11008,"ignition":28,"odometer":null,"unknown_45":876231632610191360}} 
[2026-07-27 08:30:22] local.INFO: DEBUG: GPS processor result {"connection_id":142779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551973,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:30:22] local.INFO: GPS data processed {"connection_id":142779,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:30:22] local.INFO: Acknowledgment sent {"connection_id":142779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:30:30] local.INFO: TCP Data received {"connection_id":143757,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143757,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:30:30] local.INFO: Processing buffer {"connection_id":143757,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:30:30] local.INFO: IMEI packet received {"connection_id":143757,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 08:30:30] local.INFO: IMEI acknowledgment sent {"connection_id":143757,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:30:35] local.INFO: TCP Data received {"connection_id":143757,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143757,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:30:35] local.INFO: Processing buffer {"connection_id":143757,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:30:35] local.INFO: IMEI packet received {"connection_id":143757,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 08:30:35] local.INFO: IMEI acknowledgment sent {"connection_id":143757,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:30:36] local.INFO: TCP Data received {"connection_id":143757,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1828f60012d7bd5c005e95c080000005426..."} 
[2026-07-27 08:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1828f60012d7bd5c005e95c080000005426..."} 
[2026-07-27 08:30:36] local.INFO: Processing buffer {"connection_id":143757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1828f60012d7bd5c005e95c080000005426..."} 
[2026-07-27 08:30:36] local.INFO: Packet analysis {"connection_id":143757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa182"} 
[2026-07-27 08:30:36] local.INFO: Extracted packet for processing {"connection_id":143757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa182"} 
[2026-07-27 08:30:36] local.INFO: GPS Element Parsed {"raw_longitude":763090368,"raw_latitude":99179528,"longitude_deg":76.3090368,"latitude_deg":9.9179528,"altitude":0,"angle":84,"satellites":38,"speed":24,"hex_longitude":"2d7bd5c0","hex_latitude":"05e95c08","is_valid_coordinates":true} 
[2026-07-27 08:30:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:30:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991004928001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:30:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111542284952010752,"note":"Value kept but may cause issues"} 
[2026-07-27 08:30:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8921208674745755648,"note":"Value kept but may cause issues"} 
[2026-07-27 08:30:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:30:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785121116000,"timestamp_ms":1785121116000,"timestamp_seconds":1785121116,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1828f60"} 
[2026-07-27 08:30:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:30:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08:30:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-27 08:30:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:30:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:30:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:30:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:30:36] local.INFO: Teltonika packet parsed successfully {"connection_id":143757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:30:36] local.INFO: Passing IMEI to GPS processor {"connection_id":143757,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:30:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":143757,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:30:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:30:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 08:30:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 08:30:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991004928001,"66":13319,"175":206,"9":25088,"24":24,"16":111542284952010752,"45":8921208674745755648},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,9,24,16,45]} 
[2026-07-27 08:30:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 08:30:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 08:30:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991004928001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:30:36] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-07-27 08:30:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":25088,"description":"Unknown IO ID 9"} 
[2026-07-27 08:30:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111542284952010752,"km_value":111542284952010.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:30:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8921208674745755648,"description":"Unknown IO ID 45"} 
[2026-07-27 08:30:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991004928001,"power":13319,"unknown_175":206,"unknown_9":25088,"ignition":24,"odometer":null,"unknown_45":8921208674745755648}} 
[2026-07-27 08:30:36] local.INFO: DEBUG: GPS processor result {"connection_id":143757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551974,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:30:36] local.INFO: GPS data processed {"connection_id":143757,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:30:36] local.INFO: Acknowledgment sent {"connection_id":143757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:30:37] local.INFO: TCP Data received {"connection_id":142665,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142665,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:30:37] local.INFO: Processing buffer {"connection_id":142665,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:30:37] local.INFO: IMEI packet received {"connection_id":142665,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 08:30:37] local.INFO: IMEI acknowledgment sent {"connection_id":142665,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:30:38] local.INFO: TCP Data received {"connection_id":145075,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:30:38] local.INFO: Processing buffer {"connection_id":145075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:30:38] local.INFO: IMEI packet received {"connection_id":145075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 08:30:38] local.INFO: IMEI acknowledgment sent {"connection_id":145075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:30:40] local.INFO: TCP Data received {"connection_id":142665,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142665,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:30:40] local.INFO: Processing buffer {"connection_id":142665,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:30:40] local.INFO: IMEI packet received {"connection_id":142665,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 08:30:40] local.INFO: IMEI acknowledgment sent {"connection_id":142665,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:30:43] local.INFO: TCP Data received {"connection_id":145075,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:30:43] local.INFO: Processing buffer {"connection_id":145075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:30:43] local.INFO: IMEI packet received {"connection_id":145075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 08:30:43] local.INFO: IMEI acknowledgment sent {"connection_id":145075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:30:43] local.INFO: TCP Data received {"connection_id":145075,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1819560012d7f934005afdd400000000029..."} 
[2026-07-27 08:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1819560012d7f934005afdd400000000029..."} 
[2026-07-27 08:30:43] local.INFO: Processing buffer {"connection_id":145075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1819560012d7f934005afdd400000000029..."} 
[2026-07-27 08:30:43] local.INFO: Packet analysis {"connection_id":145075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa181"} 
[2026-07-27 08:30:43] local.INFO: Extracted packet for processing {"connection_id":145075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa181"} 
[2026-07-27 08:30:43] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95411520,"longitude_deg":76.3335488,"latitude_deg":9.541152,"altitude":0,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afdd40","is_valid_coordinates":true} 
[2026-07-27 08:30:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:30:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990907904001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:30:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 08:30:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 08:30:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:30:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785121052000,"timestamp_ms":1785121052000,"timestamp_seconds":1785121052,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1819560"} 
[2026-07-27 08:30:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:30:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 08: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-07-27 08:30:43] 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-07-27 08:30:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:30:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:30:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:30:43] local.INFO: Teltonika packet parsed successfully {"connection_id":145075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:30:43] local.INFO: Passing IMEI to GPS processor {"connection_id":145075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:30:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":145075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:30:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:30:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:30:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:30:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990907904001,"66":25158,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 08:30:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:30:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:30:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990907904001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:30:43] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 08:30:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:30:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:30:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 08:30:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990907904001,"power":25158,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 08:30:43] local.INFO: DEBUG: GPS processor result {"connection_id":145075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:30:43] local.INFO: GPS data processed {"connection_id":145075,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:30:43] local.INFO: Acknowledgment sent {"connection_id":145075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:30:46] local.INFO: TCP Data received {"connection_id":142665,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142665,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:30:46] local.INFO: Processing buffer {"connection_id":142665,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:30:46] local.INFO: IMEI packet received {"connection_id":142665,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 08:30:46] local.INFO: IMEI acknowledgment sent {"connection_id":142665,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:30:46] local.INFO: TCP Data received {"connection_id":142665,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1842d70012d0c4ac00703c5f80013003914..."} 
[2026-07-27 08:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1842d70012d0c4ac00703c5f80013003914..."} 
[2026-07-27 08:30:46] local.INFO: Processing buffer {"connection_id":142665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1842d70012d0c4ac00703c5f80013003914..."} 
[2026-07-27 08:30:46] local.INFO: Packet analysis {"connection_id":142665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa184"} 
[2026-07-27 08:30:46] local.INFO: Extracted packet for processing {"connection_id":142665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa184"} 
[2026-07-27 08:30:46] local.INFO: GPS Element Parsed {"raw_longitude":755780288,"raw_latitude":117687800,"longitude_deg":75.5780288,"latitude_deg":11.76878,"altitude":19,"angle":57,"satellites":20,"speed":21,"hex_longitude":"2d0c4ac0","hex_latitude":"0703c5f8","is_valid_coordinates":true} 
[2026-07-27 08: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-07-27 08:30:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991031808001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:30:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25785373032448000,"note":"Value kept but may cause issues"} 
[2026-07-27 08:30:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":882846294580789248,"note":"Value kept but may cause issues"} 
[2026-07-27 08:30:46] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-27 08:30:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785121222000,"timestamp_ms":1785121222000,"timestamp_seconds":1785121222,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1842d70"} 
[2026-07-27 08:30:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:30:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-27 08:30:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08: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-07-27 08:30:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:30:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:30:46] local.INFO: Teltonika packet parsed successfully {"connection_id":142665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:30:46] local.INFO: Passing IMEI to GPS processor {"connection_id":142665,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:30:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":142665,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:30:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:30:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 08:30:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 08:30:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991031808001,"66":14407,"16":25785373032448000,"94":11008,"24":21,"45":882846294580789248},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-07-27 08:30:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 08:30:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 08:30:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991031808001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:30:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25785373032448000,"km_value":25785373032448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:30:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-27 08:30:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":882846294580789248,"description":"Unknown IO ID 45"} 
[2026-07-27 08:30:46] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456991031808001,"power":14407,"odometer":null,"unknown_94":11008,"ignition":21,"unknown_45":882846294580789248}} 
[2026-07-27 08:30:47] local.INFO: DEBUG: GPS processor result {"connection_id":142665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551976,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:30:47] local.INFO: GPS data processed {"connection_id":142665,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:30:47] local.INFO: Acknowledgment sent {"connection_id":142665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:30:48] local.INFO: TCP Data received {"connection_id":145075,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1819560012d7f934005afdd400000000029..."} 
[2026-07-27 08:30:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1819560012d7f934005afdd400000000029..."} 
[2026-07-27 08:30:48] local.INFO: Processing buffer {"connection_id":145075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1819560012d7f934005afdd400000000029..."} 
[2026-07-27 08:30:48] local.INFO: Packet analysis {"connection_id":145075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa181"} 
[2026-07-27 08:30:48] local.INFO: Extracted packet for processing {"connection_id":145075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa181"} 
[2026-07-27 08:30:48] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95411520,"longitude_deg":76.3335488,"latitude_deg":9.541152,"altitude":0,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afdd40","is_valid_coordinates":true} 
[2026-07-27 08:30:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:30:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990907904001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:30:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 08:30:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 08:30:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:30:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785121052000,"timestamp_ms":1785121052000,"timestamp_seconds":1785121052,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1819560"} 
[2026-07-27 08:30:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:30:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 08: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-07-27 08:30:48] 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-07-27 08:30:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:30:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:30:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:30:48] local.INFO: Teltonika packet parsed successfully {"connection_id":145075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:30:48] local.INFO: Passing IMEI to GPS processor {"connection_id":145075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:30:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":145075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:30:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:30:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:30:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:30:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990907904001,"66":25158,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 08:30:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:30:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:30:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990907904001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:30:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 08:30:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:30:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:30:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 08:30:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990907904001,"power":25158,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 08:30:48] local.INFO: DEBUG: GPS processor result {"connection_id":145075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:30:48] local.INFO: GPS data processed {"connection_id":145075,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:30:48] local.INFO: Acknowledgment sent {"connection_id":145075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:31:07] local.INFO: TCP Data received {"connection_id":143757,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1849eb8012d7c7d8005e997800000004727..."} 
[2026-07-27 08:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1849eb8012d7c7d8005e997800000004727..."} 
[2026-07-27 08:31:07] local.INFO: Processing buffer {"connection_id":143757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1849eb8012d7c7d8005e997800000004727..."} 
[2026-07-27 08:31:07] local.INFO: Packet analysis {"connection_id":143757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa184"} 
[2026-07-27 08:31:07] local.INFO: Extracted packet for processing {"connection_id":143757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa184"} 
[2026-07-27 08:31:07] local.INFO: GPS Element Parsed {"raw_longitude":763133312,"raw_latitude":99194752,"longitude_deg":76.3133312,"latitude_deg":9.9194752,"altitude":0,"angle":71,"satellites":39,"speed":21,"hex_longitude":"2d7c7d80","hex_latitude":"05e99780","is_valid_coordinates":true} 
[2026-07-27 08:31:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:31:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991039232001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:31:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111544483975266304,"note":"Value kept but may cause issues"} 
[2026-07-27 08:31:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8969059420790343680,"note":"Value kept but may cause issues"} 
[2026-07-27 08:31:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:31:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785121251000,"timestamp_ms":1785121251000,"timestamp_seconds":1785121251,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1849eb8"} 
[2026-07-27 08:31:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:31:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08:31:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-07-27 08:31:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:31:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:31:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:31:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:31:07] local.INFO: Teltonika packet parsed successfully {"connection_id":143757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:31:07] local.INFO: Passing IMEI to GPS processor {"connection_id":143757,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:31:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":143757,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:31:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:31:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 08:31:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 08:31:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991039232001,"66":12798,"156":206,"87":13824,"24":21,"16":111544483975266304,"45":8969059420790343680},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-07-27 08:31:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 08:31:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 08:31:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991039232001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:31:07] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-27 08:31:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 08:31:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111544483975266304,"km_value":111544483975266.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:31:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8969059420790343680,"description":"Unknown IO ID 45"} 
[2026-07-27 08:31:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991039232001,"power":12798,"unknown_156":206,"unknown_87":13824,"ignition":21,"odometer":null,"unknown_45":8969059420790343680}} 
[2026-07-27 08:31:08] local.INFO: DEBUG: GPS processor result {"connection_id":143757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551978,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:31:08] local.INFO: GPS data processed {"connection_id":143757,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:31:08] local.INFO: Acknowledgment sent {"connection_id":143757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:31:17] local.INFO: TCP Data received {"connection_id":142665,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1843158012d0c4c000703c7380013002914..."} 
[2026-07-27 08:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1843158012d0c4c000703c7380013002914..."} 
[2026-07-27 08:31:17] local.INFO: Processing buffer {"connection_id":142665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1843158012d0c4c000703c7380013002914..."} 
[2026-07-27 08:31:17] local.INFO: Packet analysis {"connection_id":142665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa184"} 
[2026-07-27 08:31:17] local.INFO: Extracted packet for processing {"connection_id":142665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa184"} 
[2026-07-27 08:31:17] local.INFO: GPS Element Parsed {"raw_longitude":755780608,"raw_latitude":117688120,"longitude_deg":75.5780608,"latitude_deg":11.768812,"altitude":19,"angle":41,"satellites":20,"speed":18,"hex_longitude":"2d0c4c00","hex_latitude":"0703c738","is_valid_coordinates":true} 
[2026-07-27 08: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-07-27 08:31:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991032832001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:31:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25785398802251776,"note":"Value kept but may cause issues"} 
[2026-07-27 08:31:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":885731413092333568,"note":"Value kept but may cause issues"} 
[2026-07-27 08:31:17] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-27 08:31:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785121223000,"timestamp_ms":1785121223000,"timestamp_seconds":1785121223,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1843158"} 
[2026-07-27 08:31:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:31:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-27 08:31:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08: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-07-27 08:31:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:31:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:31:17] local.INFO: Teltonika packet parsed successfully {"connection_id":142665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:31:17] local.INFO: Passing IMEI to GPS processor {"connection_id":142665,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:31:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":142665,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:31:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:31:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 08:31:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 08:31:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991032832001,"66":14407,"16":25785398802251776,"94":11008,"24":18,"45":885731413092333568},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-07-27 08:31:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 08:31:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 08:31:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991032832001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:31:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25785398802251776,"km_value":25785398802251.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:31:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-27 08:31:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":885731413092333568,"description":"Unknown IO ID 45"} 
[2026-07-27 08:31:17] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456991032832001,"power":14407,"odometer":null,"unknown_94":11008,"ignition":18,"unknown_45":885731413092333568}} 
[2026-07-27 08:31:17] local.INFO: DEBUG: GPS processor result {"connection_id":142665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551979,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:31:17] local.INFO: GPS data processed {"connection_id":142665,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:31:17] local.INFO: Acknowledgment sent {"connection_id":142665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:31:32] local.INFO: TCP Data received {"connection_id":142781,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:31:32] local.INFO: Processing buffer {"connection_id":142781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:31:32] local.INFO: IMEI packet received {"connection_id":142781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 08:31:32] local.INFO: IMEI acknowledgment sent {"connection_id":142781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:31:33] local.INFO: TCP Data received {"connection_id":142666,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142666,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:31:33] local.INFO: Processing buffer {"connection_id":142666,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:31:33] local.INFO: IMEI packet received {"connection_id":142666,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 08:31:33] local.INFO: IMEI acknowledgment sent {"connection_id":142666,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:31:35] local.INFO: TCP Data received {"connection_id":142666,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142666,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:31:35] local.INFO: Processing buffer {"connection_id":142666,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:31:35] local.INFO: IMEI packet received {"connection_id":142666,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 08:31:35] local.INFO: IMEI acknowledgment sent {"connection_id":142666,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:31:37] local.INFO: TCP Data received {"connection_id":142781,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:31:37] local.INFO: Processing buffer {"connection_id":142781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:31:37] local.INFO: IMEI packet received {"connection_id":142781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 08:31:37] local.INFO: IMEI acknowledgment sent {"connection_id":142781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:31:38] local.INFO: TCP Data received {"connection_id":142781,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1819560012d7f934005afdd400000000029..."} 
[2026-07-27 08:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1819560012d7f934005afdd400000000029..."} 
[2026-07-27 08:31:38] local.INFO: Processing buffer {"connection_id":142781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1819560012d7f934005afdd400000000029..."} 
[2026-07-27 08:31:38] local.INFO: Packet analysis {"connection_id":142781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa181"} 
[2026-07-27 08:31:38] local.INFO: Extracted packet for processing {"connection_id":142781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa181"} 
[2026-07-27 08:31:38] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95411520,"longitude_deg":76.3335488,"latitude_deg":9.541152,"altitude":0,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afdd40","is_valid_coordinates":true} 
[2026-07-27 08:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:31:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990907904001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:31:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 08:31:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 08:31:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:31:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785121052000,"timestamp_ms":1785121052000,"timestamp_seconds":1785121052,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1819560"} 
[2026-07-27 08:31:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:31:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 08:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-07-27 08:31:38] 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-07-27 08:31:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:31:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:31:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:31:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:31:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:31:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:31:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:31:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:31:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:31:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990907904001,"66":25158,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 08:31:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:31:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:31:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990907904001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:31:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 08:31:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:31:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:31:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 08:31:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990907904001,"power":25158,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 08:31:38] local.INFO: DEBUG: GPS processor result {"connection_id":142781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:31:38] local.INFO: GPS data processed {"connection_id":142781,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:31:38] local.INFO: Acknowledgment sent {"connection_id":142781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:31:40] local.INFO: TCP Data received {"connection_id":142666,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142666,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:31:40] local.INFO: Processing buffer {"connection_id":142666,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:31:40] local.INFO: IMEI packet received {"connection_id":142666,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 08:31:40] local.INFO: IMEI acknowledgment sent {"connection_id":142666,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:31:40] local.INFO: TCP Data received {"connection_id":145076,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145076,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:31:40] local.INFO: Processing buffer {"connection_id":145076,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:31:40] local.INFO: IMEI packet received {"connection_id":145076,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 08:31:40] local.INFO: IMEI acknowledgment sent {"connection_id":145076,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:31:41] local.INFO: TCP Data received {"connection_id":142666,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa184c1e0012d7c8c0005e99a900002005326..."} 
[2026-07-27 08:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa184c1e0012d7c8c0005e99a900002005326..."} 
[2026-07-27 08:31:41] local.INFO: Processing buffer {"connection_id":142666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa184c1e0012d7c8c0005e99a900002005326..."} 
[2026-07-27 08:31:41] local.INFO: Packet analysis {"connection_id":142666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa184"} 
[2026-07-27 08:31:41] local.INFO: Extracted packet for processing {"connection_id":142666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa184"} 
[2026-07-27 08:31:41] local.INFO: GPS Element Parsed {"raw_longitude":763137024,"raw_latitude":99195536,"longitude_deg":76.3137024,"latitude_deg":9.9195536,"altitude":2,"angle":83,"satellites":38,"speed":9,"hex_longitude":"2d7c8c00","hex_latitude":"05e99a90","is_valid_coordinates":true} 
[2026-07-27 08: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-07-27 08:31:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991040256001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:31:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111544664363892736,"note":"Value kept but may cause issues"} 
[2026-07-27 08:31:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8970466795674107904,"note":"Value kept but may cause issues"} 
[2026-07-27 08:31:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:31:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785121260000,"timestamp_ms":1785121260000,"timestamp_seconds":1785121260,"priority":1,"record_length":96,"hex_timestamp":"0000019fa184c1e0"} 
[2026-07-27 08:31:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:31:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-27 08:31:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08: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-07-27 08:31:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:31:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:31:41] local.INFO: Teltonika packet parsed successfully {"connection_id":142666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:31:41] local.INFO: Passing IMEI to GPS processor {"connection_id":142666,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:31:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":142666,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:31:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:31:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 08:31:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 08:31:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991040256001,"66":12906,"156":206,"87":13824,"24":9,"16":111544664363892736,"45":8970466795674107904},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-07-27 08:31:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 08:31:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 08:31:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991040256001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:31:41] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-27 08:31:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 08:31:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111544664363892736,"km_value":111544664363892.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:31:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8970466795674107904,"description":"Unknown IO ID 45"} 
[2026-07-27 08:31:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991040256001,"power":12906,"unknown_156":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8970466795674107904}} 
[2026-07-27 08:31:41] local.INFO: DEBUG: GPS processor result {"connection_id":142666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551981,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:31:41] local.INFO: GPS data processed {"connection_id":142666,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:31:41] local.INFO: Acknowledgment sent {"connection_id":142666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:31:46] local.INFO: TCP Data received {"connection_id":145076,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145076,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:31:46] local.INFO: Processing buffer {"connection_id":145076,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:31:46] local.INFO: IMEI packet received {"connection_id":145076,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 08:31:46] local.INFO: IMEI acknowledgment sent {"connection_id":145076,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:31:46] local.INFO: TCP Data received {"connection_id":145076,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1843540012d0c4d000703c8a80014001714..."} 
[2026-07-27 08:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145076,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1843540012d0c4d000703c8a80014001714..."} 
[2026-07-27 08:31:46] local.INFO: Processing buffer {"connection_id":145076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1843540012d0c4d000703c8a80014001714..."} 
[2026-07-27 08:31:46] local.INFO: Packet analysis {"connection_id":145076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa184"} 
[2026-07-27 08:31:46] local.INFO: Extracted packet for processing {"connection_id":145076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa184"} 
[2026-07-27 08:31:46] local.INFO: GPS Element Parsed {"raw_longitude":755780864,"raw_latitude":117688488,"longitude_deg":75.5780864,"latitude_deg":11.7688488,"altitude":20,"angle":23,"satellites":20,"speed":17,"hex_longitude":"2d0c4d00","hex_latitude":"0703c8a8","is_valid_coordinates":true} 
[2026-07-27 08: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-07-27 08:31:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991033088001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:31:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25785415982120960,"note":"Value kept but may cause issues"} 
[2026-07-27 08:31:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":886083256813303808,"note":"Value kept but may cause issues"} 
[2026-07-27 08:31:46] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-27 08:31:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785121224000,"timestamp_ms":1785121224000,"timestamp_seconds":1785121224,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1843540"} 
[2026-07-27 08:31:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:31:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-27 08:31:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08: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-07-27 08:31:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:31:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:31:46] local.INFO: Teltonika packet parsed successfully {"connection_id":145076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:31:46] local.INFO: Passing IMEI to GPS processor {"connection_id":145076,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:31:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":145076,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:31:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:31:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 08:31:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 08:31:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991033088001,"66":14352,"16":25785415982120960,"94":11008,"24":17,"45":886083256813303808},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-07-27 08:31:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 08:31:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 08:31:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991033088001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:31:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25785415982120960,"km_value":25785415982120.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:31:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-27 08:31:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":886083256813303808,"description":"Unknown IO ID 45"} 
[2026-07-27 08:31:46] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456991033088001,"power":14352,"odometer":null,"unknown_94":11008,"ignition":17,"unknown_45":886083256813303808}} 
[2026-07-27 08:31:46] local.INFO: DEBUG: GPS processor result {"connection_id":145076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551982,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:31:46] local.INFO: GPS data processed {"connection_id":145076,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:31:46] local.INFO: Acknowledgment sent {"connection_id":145076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:32:09] local.INFO: TCP Data received {"connection_id":142781,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1819560012d7f934005afdd400000000029..."} 
[2026-07-27 08:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1819560012d7f934005afdd400000000029..."} 
[2026-07-27 08:32:09] local.INFO: Processing buffer {"connection_id":142781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1819560012d7f934005afdd400000000029..."} 
[2026-07-27 08:32:09] local.INFO: Packet analysis {"connection_id":142781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa181"} 
[2026-07-27 08:32:09] local.INFO: Extracted packet for processing {"connection_id":142781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa181"} 
[2026-07-27 08:32:09] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95411520,"longitude_deg":76.3335488,"latitude_deg":9.541152,"altitude":0,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afdd40","is_valid_coordinates":true} 
[2026-07-27 08:32:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:32:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990907904001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:32:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 08:32:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 08:32:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:32:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785121052000,"timestamp_ms":1785121052000,"timestamp_seconds":1785121052,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1819560"} 
[2026-07-27 08:32:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:32:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 08: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":59,"data_length":795,"current_offset":136} 
[2026-07-27 08:32: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-07-27 08:32:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:32:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:32:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:32:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:32:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:32:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:32:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:32:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:32:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:32:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990907904001,"66":25158,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 08:32:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:32:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:32:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990907904001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:32:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 08:32:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:32:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:32:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 08:32:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990907904001,"power":25158,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 08:32:09] local.INFO: DEBUG: GPS processor result {"connection_id":142781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:32:09] local.INFO: GPS data processed {"connection_id":142781,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:32:09] local.INFO: Acknowledgment sent {"connection_id":142781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:32:14] local.INFO: TCP Data received {"connection_id":142666,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa185c3b0012d7ccb4005e9bd480005008028..."} 
[2026-07-27 08:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa185c3b0012d7ccb4005e9bd480005008028..."} 
[2026-07-27 08:32:14] local.INFO: Processing buffer {"connection_id":142666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa185c3b0012d7ccb4005e9bd480005008028..."} 
[2026-07-27 08:32:14] local.INFO: Packet analysis {"connection_id":142666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa185"} 
[2026-07-27 08:32:14] local.INFO: Extracted packet for processing {"connection_id":142666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa185"} 
[2026-07-27 08:32:14] local.INFO: GPS Element Parsed {"raw_longitude":763153216,"raw_latitude":99204424,"longitude_deg":76.3153216,"latitude_deg":9.9204424,"altitude":5,"angle":128,"satellites":40,"speed":13,"hex_longitude":"2d7ccb40","hex_latitude":"05e9bd48","is_valid_coordinates":true} 
[2026-07-27 08:32:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:32:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991059200001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:32:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111545854069833728,"note":"Value kept but may cause issues"} 
[2026-07-27 08:32:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8991999631394990080,"note":"Value kept but may cause issues"} 
[2026-07-27 08:32:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:32:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785121326000,"timestamp_ms":1785121326000,"timestamp_seconds":1785121326,"priority":1,"record_length":96,"hex_timestamp":"0000019fa185c3b0"} 
[2026-07-27 08:32:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:32:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08:32:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-27 08:32:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:32:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:32:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:32:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:32:14] local.INFO: Teltonika packet parsed successfully {"connection_id":142666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:32:14] local.INFO: Passing IMEI to GPS processor {"connection_id":142666,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:32:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":142666,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:32:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:32:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 08:32:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 08:32:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991059200001,"66":12982,"9":206,"87":13824,"24":13,"16":111545854069833728,"45":8991999631394990080},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,87,24,16,45]} 
[2026-07-27 08:32:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 08:32:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 08:32:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991059200001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:32:14] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-07-27 08:32:14] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 08:32:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111545854069833728,"km_value":111545854069833.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:32:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8991999631394990080,"description":"Unknown IO ID 45"} 
[2026-07-27 08:32:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991059200001,"power":12982,"unknown_9":206,"unknown_87":13824,"ignition":13,"odometer":null,"unknown_45":8991999631394990080}} 
[2026-07-27 08:32:14] local.INFO: DEBUG: GPS processor result {"connection_id":142666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551984,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:32:14] local.INFO: GPS data processed {"connection_id":142666,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:32:14] local.INFO: Acknowledgment sent {"connection_id":142666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:32:21] local.INFO: TCP Data received {"connection_id":145076,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa185b7f8012d0cba8007047ac00012016717..."} 
[2026-07-27 08:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145076,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa185b7f8012d0cba8007047ac00012016717..."} 
[2026-07-27 08:32:21] local.INFO: Processing buffer {"connection_id":145076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa185b7f8012d0cba8007047ac00012016717..."} 
[2026-07-27 08:32:21] local.INFO: Packet analysis {"connection_id":145076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa185"} 
[2026-07-27 08:32:21] local.INFO: Extracted packet for processing {"connection_id":145076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa185"} 
[2026-07-27 08:32:21] local.INFO: GPS Element Parsed {"raw_longitude":755808896,"raw_latitude":117734080,"longitude_deg":75.5808896,"latitude_deg":11.773408,"altitude":18,"angle":359,"satellites":23,"speed":27,"hex_longitude":"2d0cba80","hex_latitude":"07047ac0","is_valid_coordinates":true} 
[2026-07-27 08:32:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:32:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991054848001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:32:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25788151876288512,"note":"Value kept but may cause issues"} 
[2026-07-27 08:32:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":915286285656487936,"note":"Value kept but may cause issues"} 
[2026-07-27 08:32:21] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-27 08:32:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785121323000,"timestamp_ms":1785121323000,"timestamp_seconds":1785121323,"priority":1,"record_length":96,"hex_timestamp":"0000019fa185b7f8"} 
[2026-07-27 08:32:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:32:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08:32:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-27 08:32:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:32:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:32:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:32:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:32:21] local.INFO: Teltonika packet parsed successfully {"connection_id":145076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:32:21] local.INFO: Passing IMEI to GPS processor {"connection_id":145076,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:32:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":145076,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:32:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:32:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 08:32:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 08:32:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991054848001,"66":14548,"16":25788151876288512,"94":11008,"24":27,"45":915286285656487936},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-07-27 08:32:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 08:32:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 08:32:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991054848001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:32:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25788151876288512,"km_value":25788151876288.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:32:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-27 08:32:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":915286285656487936,"description":"Unknown IO ID 45"} 
[2026-07-27 08:32:21] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456991054848001,"power":14548,"odometer":null,"unknown_94":11008,"ignition":27,"unknown_45":915286285656487936}} 
[2026-07-27 08:32:21] local.INFO: DEBUG: GPS processor result {"connection_id":145076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551985,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:32:21] local.INFO: GPS data processed {"connection_id":145076,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:32:21] local.INFO: Acknowledgment sent {"connection_id":145076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:32:30] local.INFO: TCP Data received {"connection_id":142782,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142782,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:32:30] local.INFO: Processing buffer {"connection_id":142782,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:32:30] local.INFO: IMEI packet received {"connection_id":142782,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 08:32:30] local.INFO: IMEI acknowledgment sent {"connection_id":142782,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:32:32] local.INFO: TCP Data received {"connection_id":145078,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:32:32] local.INFO: Processing buffer {"connection_id":145078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:32:32] local.INFO: IMEI packet received {"connection_id":145078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 08:32:32] local.INFO: IMEI acknowledgment sent {"connection_id":145078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:32:35] local.INFO: TCP Data received {"connection_id":142782,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142782,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:32:35] local.INFO: Processing buffer {"connection_id":142782,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:32:35] local.INFO: IMEI packet received {"connection_id":142782,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 08:32:35] local.INFO: IMEI acknowledgment sent {"connection_id":142782,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:32:36] local.INFO: TCP Data received {"connection_id":142782,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa185c798012d7ccc4005e9bc380005009b27..."} 
[2026-07-27 08:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa185c798012d7ccc4005e9bc380005009b27..."} 
[2026-07-27 08:32:36] local.INFO: Processing buffer {"connection_id":142782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa185c798012d7ccc4005e9bc380005009b27..."} 
[2026-07-27 08:32:36] local.INFO: Packet analysis {"connection_id":142782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa185"} 
[2026-07-27 08:32:36] local.INFO: Extracted packet for processing {"connection_id":142782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa185"} 
[2026-07-27 08:32:36] local.INFO: GPS Element Parsed {"raw_longitude":763153472,"raw_latitude":99204152,"longitude_deg":76.3153472,"latitude_deg":9.9204152,"altitude":5,"angle":155,"satellites":39,"speed":13,"hex_longitude":"2d7ccc40","hex_latitude":"05e9bc38","is_valid_coordinates":true} 
[2026-07-27 08:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:32:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991059456001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:32:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111545871249702912,"note":"Value kept but may cause issues"} 
[2026-07-27 08:32:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8992351475115837440,"note":"Value kept but may cause issues"} 
[2026-07-27 08:32:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:32:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785121327000,"timestamp_ms":1785121327000,"timestamp_seconds":1785121327,"priority":1,"record_length":96,"hex_timestamp":"0000019fa185c798"} 
[2026-07-27 08:32:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:32:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-27 08:32:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:32:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:32:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:32:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:32:36] local.INFO: Teltonika packet parsed successfully {"connection_id":142782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:32:36] local.INFO: Passing IMEI to GPS processor {"connection_id":142782,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:32:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":142782,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:32:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:32:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 08:32:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 08:32:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991059456001,"66":12982,"9":206,"87":13824,"24":13,"16":111545871249702912,"45":8992351475115837440},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,87,24,16,45]} 
[2026-07-27 08:32:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 08:32:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 08:32:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991059456001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:32:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-07-27 08:32:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 08:32:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111545871249702912,"km_value":111545871249702.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:32:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8992351475115837440,"description":"Unknown IO ID 45"} 
[2026-07-27 08:32:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991059456001,"power":12982,"unknown_9":206,"unknown_87":13824,"ignition":13,"odometer":null,"unknown_45":8992351475115837440}} 
[2026-07-27 08:32:36] local.INFO: DEBUG: GPS processor result {"connection_id":142782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551986,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:32:36] local.INFO: GPS data processed {"connection_id":142782,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:32:36] local.INFO: Acknowledgment sent {"connection_id":142782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:32:37] local.INFO: TCP Data received {"connection_id":145078,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:32:37] local.INFO: Processing buffer {"connection_id":145078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:32:37] local.INFO: IMEI packet received {"connection_id":145078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 08:32:37] local.INFO: IMEI acknowledgment sent {"connection_id":145078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:32:38] local.INFO: TCP Data received {"connection_id":145078,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1819560012d7f934005afdd400000000029..."} 
[2026-07-27 08:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1819560012d7f934005afdd400000000029..."} 
[2026-07-27 08:32:38] local.INFO: Processing buffer {"connection_id":145078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1819560012d7f934005afdd400000000029..."} 
[2026-07-27 08:32:38] local.INFO: Packet analysis {"connection_id":145078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa181"} 
[2026-07-27 08:32:38] local.INFO: Extracted packet for processing {"connection_id":145078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa181"} 
[2026-07-27 08:32:38] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95411520,"longitude_deg":76.3335488,"latitude_deg":9.541152,"altitude":0,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afdd40","is_valid_coordinates":true} 
[2026-07-27 08:32:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:32:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990907904001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:32:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 08:32:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701856256,"note":"Value kept but may cause issues"} 
[2026-07-27 08:32:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:32:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785121052000,"timestamp_ms":1785121052000,"timestamp_seconds":1785121052,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1819560"} 
[2026-07-27 08:32:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:32:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 08:32:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-07-27 08:32:38] 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-07-27 08:32:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:32:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:32:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:32:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:32:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:32:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:32:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:32:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:32:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:32:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990907904001,"66":25158,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9194098663701856256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 08:32:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:32:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:32:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990907904001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:32:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 08:32:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:32:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:32:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701856256,"description":"Unknown IO ID 45"} 
[2026-07-27 08:32:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990907904001,"power":25158,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701856256}} 
[2026-07-27 08:32:38] local.INFO: DEBUG: GPS processor result {"connection_id":145078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:32:38] local.INFO: GPS data processed {"connection_id":145078,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:32:38] local.INFO: Acknowledgment sent {"connection_id":145078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:32:40] local.INFO: TCP Data received {"connection_id":143759,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143759,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:32:40] local.INFO: Processing buffer {"connection_id":143759,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:32:40] local.INFO: IMEI packet received {"connection_id":143759,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 08:32:40] local.INFO: IMEI acknowledgment sent {"connection_id":143759,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:32:46] local.INFO: TCP Data received {"connection_id":143759,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143759,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:32:46] local.INFO: Processing buffer {"connection_id":143759,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:32:46] local.INFO: IMEI packet received {"connection_id":143759,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 08:32:46] local.INFO: IMEI acknowledgment sent {"connection_id":143759,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:32:46] local.INFO: TCP Data received {"connection_id":143759,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa185c3b0012d0cb900070483200014015b17..."} 
[2026-07-27 08:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa185c3b0012d0cb900070483200014015b17..."} 
[2026-07-27 08:32:46] local.INFO: Processing buffer {"connection_id":143759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa185c3b0012d0cb900070483200014015b17..."} 
[2026-07-27 08:32:46] local.INFO: Packet analysis {"connection_id":143759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa185"} 
[2026-07-27 08:32:46] local.INFO: Extracted packet for processing {"connection_id":143759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa185"} 
[2026-07-27 08:32:46] local.INFO: GPS Element Parsed {"raw_longitude":755808512,"raw_latitude":117736224,"longitude_deg":75.5808512,"latitude_deg":11.7736224,"altitude":20,"angle":347,"satellites":23,"speed":29,"hex_longitude":"2d0cb900","hex_latitude":"07048320","is_valid_coordinates":true} 
[2026-07-27 08:32:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:32:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991058688001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:32:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25788254955503616,"note":"Value kept but may cause issues"} 
[2026-07-27 08:32:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":917186241751597056,"note":"Value kept but may cause issues"} 
[2026-07-27 08:32:46] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-27 08:32:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785121326000,"timestamp_ms":1785121326000,"timestamp_seconds":1785121326,"priority":1,"record_length":96,"hex_timestamp":"0000019fa185c3b0"} 
[2026-07-27 08:32:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:32:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08:32:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-27 08:32:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:32:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:32:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:32:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:32:46] local.INFO: Teltonika packet parsed successfully {"connection_id":143759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:32:46] local.INFO: Passing IMEI to GPS processor {"connection_id":143759,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:32:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":143759,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:32:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:32:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 08:32:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 08:32:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991058688001,"66":14537,"16":25788254955503616,"94":11008,"24":29,"45":917186241751597056},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-07-27 08:32:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 08:32:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 08:32:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991058688001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:32:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25788254955503616,"km_value":25788254955503.617,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:32:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-27 08:32:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":917186241751597056,"description":"Unknown IO ID 45"} 
[2026-07-27 08:32:46] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456991058688001,"power":14537,"odometer":null,"unknown_94":11008,"ignition":29,"unknown_45":917186241751597056}} 
[2026-07-27 08:32:46] local.INFO: DEBUG: GPS processor result {"connection_id":143759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551988,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:32:46] local.INFO: GPS data processed {"connection_id":143759,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:32:46] local.INFO: Acknowledgment sent {"connection_id":143759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:33:07] local.INFO: TCP Data received {"connection_id":142782,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa185cb80012d7ccc8005e9bae0000600b227..."} 
[2026-07-27 08:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa185cb80012d7ccc8005e9bae0000600b227..."} 
[2026-07-27 08:33:07] local.INFO: Processing buffer {"connection_id":142782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa185cb80012d7ccc8005e9bae0000600b227..."} 
[2026-07-27 08:33:07] local.INFO: Packet analysis {"connection_id":142782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa185"} 
[2026-07-27 08:33:07] local.INFO: Extracted packet for processing {"connection_id":142782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa185"} 
[2026-07-27 08:33:07] local.INFO: GPS Element Parsed {"raw_longitude":763153536,"raw_latitude":99203808,"longitude_deg":76.3153536,"latitude_deg":9.9203808,"altitude":6,"angle":178,"satellites":39,"speed":14,"hex_longitude":"2d7ccc80","hex_latitude":"05e9bae0","is_valid_coordinates":true} 
[2026-07-27 08:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:33:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991059712001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:33:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111545888429572096,"note":"Value kept but may cause issues"} 
[2026-07-27 08:33:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8992632950092478464,"note":"Value kept but may cause issues"} 
[2026-07-27 08:33:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:33:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785121328000,"timestamp_ms":1785121328000,"timestamp_seconds":1785121328,"priority":1,"record_length":96,"hex_timestamp":"0000019fa185cb80"} 
[2026-07-27 08:33:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:33:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-27 08:33:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:33:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:33:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:33:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:33:07] local.INFO: Teltonika packet parsed successfully {"connection_id":142782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:33:07] local.INFO: Passing IMEI to GPS processor {"connection_id":142782,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:33:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":142782,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:33:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:33:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 08:33:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 08:33:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991059712001,"66":13015,"9":206,"87":13824,"24":14,"16":111545888429572096,"45":8992632950092478464},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,87,24,16,45]} 
[2026-07-27 08:33:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 08:33:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 08:33:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991059712001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:33:07] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-07-27 08:33:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 08:33:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111545888429572096,"km_value":111545888429572.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:33:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8992632950092478464,"description":"Unknown IO ID 45"} 
[2026-07-27 08:33:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991059712001,"power":13015,"unknown_9":206,"unknown_87":13824,"ignition":14,"odometer":null,"unknown_45":8992632950092478464}} 
[2026-07-27 08:33:07] local.INFO: DEBUG: GPS processor result {"connection_id":142782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551989,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:33:07] local.INFO: GPS data processed {"connection_id":142782,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:33:07] local.INFO: Acknowledgment sent {"connection_id":142782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:33:09] local.INFO: TCP Data received {"connection_id":145078,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa185eac0012d7f934005afdd40000100002a..."} 
[2026-07-27 08:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa185eac0012d7f934005afdd40000100002a..."} 
[2026-07-27 08:33:09] local.INFO: Processing buffer {"connection_id":145078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa185eac0012d7f934005afdd40000100002a..."} 
[2026-07-27 08:33:09] local.INFO: Packet analysis {"connection_id":145078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa185"} 
[2026-07-27 08:33:09] local.INFO: Extracted packet for processing {"connection_id":145078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa185"} 
[2026-07-27 08:33:09] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95411520,"longitude_deg":76.3335488,"latitude_deg":9.541152,"altitude":1,"angle":0,"satellites":42,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afdd40","is_valid_coordinates":true} 
[2026-07-27 08:33:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:33:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990989312001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:33:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 08:33:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562841088,"note":"Value kept but may cause issues"} 
[2026-07-27 08:33:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:33:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785121336000,"timestamp_ms":1785121336000,"timestamp_seconds":1785121336,"priority":1,"record_length":96,"hex_timestamp":"0000019fa185eac0"} 
[2026-07-27 08:33:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:33:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 08:33:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-27 08:33:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:33:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:33:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:33:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:33:09] local.INFO: Teltonika packet parsed successfully {"connection_id":145078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:33:09] local.INFO: Passing IMEI to GPS processor {"connection_id":145078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:33:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":145078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:33:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:33:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:33:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:33:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990989312001,"66":25180,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9192761657562841088},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 08:33:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:33:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:33:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990989312001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:33:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 08:33:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:33:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:33:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562841088,"description":"Unknown IO ID 45"} 
[2026-07-27 08:33:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990989312001,"power":25180,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562841088}} 
[2026-07-27 08:33:09] local.INFO: DEBUG: GPS processor result {"connection_id":145078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:33:09] local.INFO: GPS data processed {"connection_id":145078,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:33:09] local.INFO: Acknowledgment sent {"connection_id":145078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:33:17] local.INFO: TCP Data received {"connection_id":143759,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa185cf68012d0cb58007048b200015014e17..."} 
[2026-07-27 08:33:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa185cf68012d0cb58007048b200015014e17..."} 
[2026-07-27 08:33:17] local.INFO: Processing buffer {"connection_id":143759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa185cf68012d0cb58007048b200015014e17..."} 
[2026-07-27 08:33:17] local.INFO: Packet analysis {"connection_id":143759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa185"} 
[2026-07-27 08:33:17] local.INFO: Extracted packet for processing {"connection_id":143759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa185"} 
[2026-07-27 08:33:17] local.INFO: GPS Element Parsed {"raw_longitude":755807616,"raw_latitude":117738272,"longitude_deg":75.5807616,"latitude_deg":11.7738272,"altitude":21,"angle":334,"satellites":23,"speed":27,"hex_longitude":"2d0cb580","hex_latitude":"07048b20","is_valid_coordinates":true} 
[2026-07-27 08: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-07-27 08:33:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991059456001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:33:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25788362329686016,"note":"Value kept but may cause issues"} 
[2026-07-27 08:33:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":916764029287079936,"note":"Value kept but may cause issues"} 
[2026-07-27 08:33:17] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-27 08:33:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785121329000,"timestamp_ms":1785121329000,"timestamp_seconds":1785121329,"priority":1,"record_length":96,"hex_timestamp":"0000019fa185cf68"} 
[2026-07-27 08:33:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:33: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-07-27 08: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-27 08:33:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08: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-07-27 08:33:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:33:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:33:17] local.INFO: Teltonika packet parsed successfully {"connection_id":143759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:33:17] local.INFO: Passing IMEI to GPS processor {"connection_id":143759,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:33:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":143759,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:33:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:33:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 08:33:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 08:33:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991059456001,"66":14515,"16":25788362329686016,"94":11008,"24":27,"45":916764029287079936},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-07-27 08:33:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 08:33:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 08:33:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991059456001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:33:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25788362329686016,"km_value":25788362329686.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:33:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-27 08:33:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":916764029287079936,"description":"Unknown IO ID 45"} 
[2026-07-27 08:33:17] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456991059456001,"power":14515,"odometer":null,"unknown_94":11008,"ignition":27,"unknown_45":916764029287079936}} 
[2026-07-27 08:33:18] local.INFO: DEBUG: GPS processor result {"connection_id":143759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551991,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:33:18] local.INFO: GPS data processed {"connection_id":143759,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:33:18] local.INFO: Acknowledgment sent {"connection_id":143759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:33:30] local.INFO: TCP Data received {"connection_id":142667,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142667,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:33:30] local.INFO: Processing buffer {"connection_id":142667,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:33:30] local.INFO: IMEI packet received {"connection_id":142667,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 08:33:30] local.INFO: IMEI acknowledgment sent {"connection_id":142667,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:33:32] local.INFO: TCP Data received {"connection_id":143760,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:33:32] local.INFO: Processing buffer {"connection_id":143760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:33:32] local.INFO: IMEI packet received {"connection_id":143760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 08:33:32] local.INFO: IMEI acknowledgment sent {"connection_id":143760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:33:35] local.INFO: TCP Data received {"connection_id":142667,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142667,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:33:35] local.INFO: Processing buffer {"connection_id":142667,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:33:35] local.INFO: IMEI packet received {"connection_id":142667,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 08:33:35] local.INFO: IMEI acknowledgment sent {"connection_id":142667,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:33:36] local.INFO: TCP Data received {"connection_id":142667,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa185d350012d7cccc005e9b820000600a327..."} 
[2026-07-27 08:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa185d350012d7cccc005e9b820000600a327..."} 
[2026-07-27 08:33:36] local.INFO: Processing buffer {"connection_id":142667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa185d350012d7cccc005e9b820000600a327..."} 
[2026-07-27 08:33:36] local.INFO: Packet analysis {"connection_id":142667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa185"} 
[2026-07-27 08:33:36] local.INFO: Extracted packet for processing {"connection_id":142667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa185"} 
[2026-07-27 08:33:36] local.INFO: GPS Element Parsed {"raw_longitude":763153600,"raw_latitude":99203104,"longitude_deg":76.31536,"latitude_deg":9.9203104,"altitude":6,"angle":163,"satellites":39,"speed":12,"hex_longitude":"2d7cccc0","hex_latitude":"05e9b820","is_valid_coordinates":true} 
[2026-07-27 08:33:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:33:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991059968001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:33:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111545922789310464,"note":"Value kept but may cause issues"} 
[2026-07-27 08:33:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8992703318836568064,"note":"Value kept but may cause issues"} 
[2026-07-27 08:33:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:33:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785121330000,"timestamp_ms":1785121330000,"timestamp_seconds":1785121330,"priority":1,"record_length":96,"hex_timestamp":"0000019fa185d350"} 
[2026-07-27 08:33:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:33:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08:33:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-27 08:33:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:33:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:33:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:33:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:33:36] local.INFO: Teltonika packet parsed successfully {"connection_id":142667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:33:36] local.INFO: Passing IMEI to GPS processor {"connection_id":142667,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:33:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":142667,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:33:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:33:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 08:33:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 08:33:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991059968001,"66":12982,"192":206,"87":13824,"24":12,"16":111545922789310464,"45":8992703318836568064},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-07-27 08:33:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 08:33:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 08:33:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991059968001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:33:36] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-07-27 08:33:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 08:33:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111545922789310464,"km_value":111545922789310.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:33:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8992703318836568064,"description":"Unknown IO ID 45"} 
[2026-07-27 08:33:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991059968001,"power":12982,"unknown_192":206,"unknown_87":13824,"ignition":12,"odometer":null,"unknown_45":8992703318836568064}} 
[2026-07-27 08:33:36] local.INFO: DEBUG: GPS processor result {"connection_id":142667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551992,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:33:36] local.INFO: GPS data processed {"connection_id":142667,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:33:36] local.INFO: Acknowledgment sent {"connection_id":142667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:33:37] local.INFO: TCP Data received {"connection_id":143760,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:33:37] local.INFO: Processing buffer {"connection_id":143760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:33:37] local.INFO: IMEI packet received {"connection_id":143760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 08:33:37] local.INFO: IMEI acknowledgment sent {"connection_id":143760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:33:38] local.INFO: TCP Data received {"connection_id":143760,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa185eac0012d7f934005afdd40000100002a..."} 
[2026-07-27 08:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa185eac0012d7f934005afdd40000100002a..."} 
[2026-07-27 08:33:38] local.INFO: Processing buffer {"connection_id":143760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa185eac0012d7f934005afdd40000100002a..."} 
[2026-07-27 08:33:38] local.INFO: Packet analysis {"connection_id":143760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa185"} 
[2026-07-27 08:33:38] local.INFO: Extracted packet for processing {"connection_id":143760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa185"} 
[2026-07-27 08:33:38] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95411520,"longitude_deg":76.3335488,"latitude_deg":9.541152,"altitude":1,"angle":0,"satellites":42,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afdd40","is_valid_coordinates":true} 
[2026-07-27 08:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:33:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990989312001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:33:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 08:33:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562841088,"note":"Value kept but may cause issues"} 
[2026-07-27 08:33:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:33:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785121336000,"timestamp_ms":1785121336000,"timestamp_seconds":1785121336,"priority":1,"record_length":96,"hex_timestamp":"0000019fa185eac0"} 
[2026-07-27 08:33:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:33:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 08:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-27 08:33:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:33:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:33:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:33:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:33:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:33:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:33:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:33:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:33:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:33:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:33:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990989312001,"66":25180,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9192761657562841088},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 08:33:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:33:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:33:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990989312001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:33:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 08:33:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:33:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:33:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562841088,"description":"Unknown IO ID 45"} 
[2026-07-27 08:33:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990989312001,"power":25180,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562841088}} 
[2026-07-27 08:33:38] local.INFO: DEBUG: GPS processor result {"connection_id":143760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:33:38] local.INFO: GPS data processed {"connection_id":143760,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:33:38] local.INFO: Acknowledgment sent {"connection_id":143760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:33:50] local.INFO: TCP Data received {"connection_id":142783,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142783,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:33:50] local.INFO: Processing buffer {"connection_id":142783,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:33:50] local.INFO: IMEI packet received {"connection_id":142783,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 08:33:50] local.INFO: IMEI acknowledgment sent {"connection_id":142783,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:33:56] local.INFO: TCP Data received {"connection_id":142783,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142783,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:33:56] local.INFO: Processing buffer {"connection_id":142783,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:33:56] local.INFO: IMEI packet received {"connection_id":142783,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 08:33:56] local.INFO: IMEI acknowledgment sent {"connection_id":142783,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:33:56] local.INFO: TCP Data received {"connection_id":142783,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa185f290012d0ca98007049ec80018014018..."} 
[2026-07-27 08:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142783,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa185f290012d0ca98007049ec80018014018..."} 
[2026-07-27 08:33:56] local.INFO: Processing buffer {"connection_id":142783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa185f290012d0ca98007049ec80018014018..."} 
[2026-07-27 08:33:56] local.INFO: Packet analysis {"connection_id":142783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa185"} 
[2026-07-27 08:33:56] local.INFO: Extracted packet for processing {"connection_id":142783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa185"} 
[2026-07-27 08:33:56] local.INFO: GPS Element Parsed {"raw_longitude":755804544,"raw_latitude":117743304,"longitude_deg":75.5804544,"latitude_deg":11.7743304,"altitude":24,"angle":320,"satellites":24,"speed":28,"hex_longitude":"2d0ca980","hex_latitude":"07049ec8","is_valid_coordinates":true} 
[2026-07-27 08:33:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:33:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991060224001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:33:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25788650092494848,"note":"Value kept but may cause issues"} 
[2026-07-27 08:33:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":915778866869116928,"note":"Value kept but may cause issues"} 
[2026-07-27 08:33:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:33:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785121338000,"timestamp_ms":1785121338000,"timestamp_seconds":1785121338,"priority":1,"record_length":96,"hex_timestamp":"0000019fa185f290"} 
[2026-07-27 08:33:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:33:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08:33:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-27 08:33:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:33:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:33:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:33:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:33:56] local.INFO: Teltonika packet parsed successfully {"connection_id":142783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:33:56] local.INFO: Passing IMEI to GPS processor {"connection_id":142783,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:33:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":142783,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:33:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:33:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 08:33:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 08:33:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991060224001,"66":14439,"95":206,"94":10240,"24":28,"16":25788650092494848,"45":915778866869116928},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-07-27 08:33:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 08:33:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 08:33:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991060224001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:33:56] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-27 08:33:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 08:33:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25788650092494848,"km_value":25788650092494.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:33:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":915778866869116928,"description":"Unknown IO ID 45"} 
[2026-07-27 08:33:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991060224001,"power":14439,"unknown_95":206,"unknown_94":10240,"ignition":28,"odometer":null,"unknown_45":915778866869116928}} 
[2026-07-27 08:33:57] local.INFO: DEBUG: GPS processor result {"connection_id":142783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551994,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:33:57] local.INFO: GPS data processed {"connection_id":142783,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:33:57] local.INFO: Acknowledgment sent {"connection_id":142783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:34:09] local.INFO: TCP Data received {"connection_id":143760,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa185eac0012d7f934005afdd40000100002a..."} 
[2026-07-27 08:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa185eac0012d7f934005afdd40000100002a..."} 
[2026-07-27 08:34:09] local.INFO: Processing buffer {"connection_id":143760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa185eac0012d7f934005afdd40000100002a..."} 
[2026-07-27 08:34:09] local.INFO: Packet analysis {"connection_id":143760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa185"} 
[2026-07-27 08:34:09] local.INFO: Extracted packet for processing {"connection_id":143760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa185"} 
[2026-07-27 08:34:09] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95411520,"longitude_deg":76.3335488,"latitude_deg":9.541152,"altitude":1,"angle":0,"satellites":42,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afdd40","is_valid_coordinates":true} 
[2026-07-27 08:34:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:34:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990989312001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:34:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 08:34:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562841088,"note":"Value kept but may cause issues"} 
[2026-07-27 08:34:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:34:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785121336000,"timestamp_ms":1785121336000,"timestamp_seconds":1785121336,"priority":1,"record_length":96,"hex_timestamp":"0000019fa185eac0"} 
[2026-07-27 08:34:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:34:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 08: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":70,"data_length":795,"current_offset":136} 
[2026-07-27 08:34:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:34:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:34:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:34:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:34:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:34:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:34:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:34:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:34:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:34:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:34:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990989312001,"66":25180,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9192761657562841088},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 08:34:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:34:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:34:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990989312001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:34:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 08:34:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:34:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:34:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562841088,"description":"Unknown IO ID 45"} 
[2026-07-27 08:34:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990989312001,"power":25180,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562841088}} 
[2026-07-27 08:34:09] local.INFO: DEBUG: GPS processor result {"connection_id":143760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:34:09] local.INFO: GPS data processed {"connection_id":143760,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:34:09] local.INFO: Acknowledgment sent {"connection_id":143760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:34:09] local.INFO: TCP Data received {"connection_id":142667,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1875220012d7d180005ea3da8000d000b26..."} 
[2026-07-27 08:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1875220012d7d180005ea3da8000d000b26..."} 
[2026-07-27 08:34:09] local.INFO: Processing buffer {"connection_id":142667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1875220012d7d180005ea3da8000d000b26..."} 
[2026-07-27 08:34:09] local.INFO: Packet analysis {"connection_id":142667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa187"} 
[2026-07-27 08:34:09] local.INFO: Extracted packet for processing {"connection_id":142667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa187"} 
[2026-07-27 08:34:09] local.INFO: GPS Element Parsed {"raw_longitude":763172864,"raw_latitude":99237288,"longitude_deg":76.3172864,"latitude_deg":9.9237288,"altitude":13,"angle":11,"satellites":38,"speed":15,"hex_longitude":"2d7d1800","hex_latitude":"05ea3da8","is_valid_coordinates":true} 
[2026-07-27 08:34:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:34:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991083776001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:34:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111548358035767296,"note":"Value kept but may cause issues"} 
[2026-07-27 08:34:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9013813942097627136,"note":"Value kept but may cause issues"} 
[2026-07-27 08:34:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:34:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785121428000,"timestamp_ms":1785121428000,"timestamp_seconds":1785121428,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1875220"} 
[2026-07-27 08:34:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:34:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08: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":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-27 08:34:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:34:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:34:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:34:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:34:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:34:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142667,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:34:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142667,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:34:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:34:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 08:34:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 08:34:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991083776001,"66":12928,"154":206,"87":13824,"24":15,"16":111548358035767296,"45":9013813942097627136},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,87,24,16,45]} 
[2026-07-27 08:34:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 08:34:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 08:34:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991083776001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:34:09] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-07-27 08:34:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 08:34:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111548358035767296,"km_value":111548358035767.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:34:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9013813942097627136,"description":"Unknown IO ID 45"} 
[2026-07-27 08:34:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991083776001,"power":12928,"unknown_154":206,"unknown_87":13824,"ignition":15,"odometer":null,"unknown_45":9013813942097627136}} 
[2026-07-27 08:34:09] local.INFO: DEBUG: GPS processor result {"connection_id":142667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551996,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:34:09] local.INFO: GPS data processed {"connection_id":142667,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:34:09] local.INFO: Acknowledgment sent {"connection_id":142667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:34:32] local.INFO: TCP Data received {"connection_id":142784,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:34:32] local.INFO: Processing buffer {"connection_id":142784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:34:32] local.INFO: IMEI packet received {"connection_id":142784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 08:34:32] local.INFO: IMEI acknowledgment sent {"connection_id":142784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:34:35] local.INFO: TCP Data received {"connection_id":142785,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142785,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:34:35] local.INFO: Processing buffer {"connection_id":142785,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:34:35] local.INFO: IMEI packet received {"connection_id":142785,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 08:34:35] local.INFO: IMEI acknowledgment sent {"connection_id":142785,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:34:37] local.INFO: TCP Data received {"connection_id":142784,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:34:37] local.INFO: Processing buffer {"connection_id":142784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:34:37] local.INFO: IMEI packet received {"connection_id":142784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 08:34:37] local.INFO: IMEI acknowledgment sent {"connection_id":142784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:34:37] local.INFO: TCP Data received {"connection_id":142668,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142668,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:34:37] local.INFO: Processing buffer {"connection_id":142668,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:34:37] local.INFO: IMEI packet received {"connection_id":142668,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 08:34:37] local.INFO: IMEI acknowledgment sent {"connection_id":142668,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:34:38] local.INFO: TCP Data received {"connection_id":142784,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa185eac0012d7f934005afdd40000100002a..."} 
[2026-07-27 08:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa185eac0012d7f934005afdd40000100002a..."} 
[2026-07-27 08:34:38] local.INFO: Processing buffer {"connection_id":142784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa185eac0012d7f934005afdd40000100002a..."} 
[2026-07-27 08:34:38] local.INFO: Packet analysis {"connection_id":142784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa185"} 
[2026-07-27 08:34:38] local.INFO: Extracted packet for processing {"connection_id":142784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa185"} 
[2026-07-27 08:34:38] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95411520,"longitude_deg":76.3335488,"latitude_deg":9.541152,"altitude":1,"angle":0,"satellites":42,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afdd40","is_valid_coordinates":true} 
[2026-07-27 08:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:34:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456990989312001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:34:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 08:34:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562841088,"note":"Value kept but may cause issues"} 
[2026-07-27 08:34:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:34:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785121336000,"timestamp_ms":1785121336000,"timestamp_seconds":1785121336,"priority":1,"record_length":96,"hex_timestamp":"0000019fa185eac0"} 
[2026-07-27 08:34:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:34:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 08:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-27 08:34:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:34:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:34:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:34:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:34:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:34:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:34:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:34:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:34:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:34:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:34:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456990989312001,"66":25180,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9192761657562841088},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 08:34:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:34:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:34:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456990989312001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:34:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 08:34:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:34:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:34:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562841088,"description":"Unknown IO ID 45"} 
[2026-07-27 08:34:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456990989312001,"power":25180,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562841088}} 
[2026-07-27 08:34:38] local.INFO: DEBUG: GPS processor result {"connection_id":142784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:34:38] local.INFO: GPS data processed {"connection_id":142784,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:34:38] local.INFO: Acknowledgment sent {"connection_id":142784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:34:38] local.INFO: TCP Data received {"connection_id":142668,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142668,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:34:38] local.INFO: Processing buffer {"connection_id":142668,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:34:38] local.INFO: IMEI packet received {"connection_id":142668,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 08:34:38] local.INFO: IMEI acknowledgment sent {"connection_id":142668,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:34:39] local.INFO: TCP Data received {"connection_id":142668,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142668,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:34:39] local.INFO: Processing buffer {"connection_id":142668,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:34:39] local.INFO: IMEI packet received {"connection_id":142668,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 08:34:39] local.INFO: IMEI acknowledgment sent {"connection_id":142668,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:34:40] local.INFO: TCP Data received {"connection_id":142668,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142668,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:34:40] local.INFO: Processing buffer {"connection_id":142668,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:34:40] local.INFO: IMEI packet received {"connection_id":142668,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 08:34:40] local.INFO: IMEI acknowledgment sent {"connection_id":142668,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:34:41] local.INFO: TCP Data received {"connection_id":142785,"ip":"42.106.6.28","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-27 08:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142785,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-27 08:34:41] local.INFO: Processing buffer {"connection_id":142785,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-27 08:34:41] local.INFO: IMEI packet received {"connection_id":142785,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 08:34:41] local.INFO: IMEI acknowledgment sent {"connection_id":142785,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:34:44] local.INFO: TCP Data received {"connection_id":142785,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1875dd8012d7d184005ea43d8000d000026..."} 
[2026-07-27 08:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1875dd8012d7d184005ea43d8000d000026..."} 
[2026-07-27 08:34:44] local.INFO: Processing buffer {"connection_id":142785,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019fa1..."} 
[2026-07-27 08:34:44] local.INFO: IMEI packet received {"connection_id":142785,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 08:34:44] local.INFO: IMEI acknowledgment sent {"connection_id":142785,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:34:46] local.INFO: TCP Data received {"connection_id":142785,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa18788d0012d7d1a8005ea6698000d000229..."} 
[2026-07-27 08:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa18788d0012d7d1a8005ea6698000d000229..."} 
[2026-07-27 08:34:46] local.INFO: Processing buffer {"connection_id":142785,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019fa1875dd8012d7d184005ea43d8000d000026..."} 
[2026-07-27 08:34:46] local.INFO: Packet analysis {"connection_id":142785,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fa187"} 
[2026-07-27 08:34:46] local.INFO: Extracted packet for processing {"connection_id":142785,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa187"} 
[2026-07-27 08:34:46] local.INFO: GPS Element Parsed {"raw_longitude":763172928,"raw_latitude":99238872,"longitude_deg":76.3172928,"latitude_deg":9.9238872,"altitude":13,"angle":0,"satellites":38,"speed":23,"hex_longitude":"2d7d1840","hex_latitude":"05ea43d8","is_valid_coordinates":true} 
[2026-07-27 08:34:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:34:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991085568001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:34:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111548435345178624,"note":"Value kept but may cause issues"} 
[2026-07-27 08:34:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9013954679586793472,"note":"Value kept but may cause issues"} 
[2026-07-27 08:34:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:34:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785121431000,"timestamp_ms":1785121431000,"timestamp_seconds":1785121431,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1875dd8"} 
[2026-07-27 08:34:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:34:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08: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":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-07-27 08:34:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1600,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:34:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:34:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:34:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:34:46] local.INFO: Teltonika packet parsed successfully {"connection_id":142785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:34:46] local.INFO: Passing IMEI to GPS processor {"connection_id":142785,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:34:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":142785,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:34:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:34:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 08:34:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 08:34:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991085568001,"66":12765,"154":206,"87":13824,"24":23,"16":111548435345178624,"45":9013954679586793472},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,87,24,16,45]} 
[2026-07-27 08:34:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 08:34:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 08:34:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991085568001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:34:46] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-07-27 08:34:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 08:34:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111548435345178624,"km_value":111548435345178.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:34:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9013954679586793472,"description":"Unknown IO ID 45"} 
[2026-07-27 08:34:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991085568001,"power":12765,"unknown_154":206,"unknown_87":13824,"ignition":23,"odometer":null,"unknown_45":9013954679586793472}} 
[2026-07-27 08:34:46] local.INFO: DEBUG: GPS processor result {"connection_id":142785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551998,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:34:46] local.INFO: GPS data processed {"connection_id":142785,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:34:46] local.INFO: Acknowledgment sent {"connection_id":142785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:34:46] local.INFO: Packet analysis {"connection_id":142785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa187"} 
[2026-07-27 08:34:46] local.INFO: Extracted packet for processing {"connection_id":142785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa187"} 
[2026-07-27 08:34:46] local.INFO: GPS Element Parsed {"raw_longitude":763173504,"raw_latitude":99247768,"longitude_deg":76.3173504,"latitude_deg":9.9247768,"altitude":13,"angle":2,"satellites":41,"speed":36,"hex_longitude":"2d7d1a80","hex_latitude":"05ea6698","is_valid_coordinates":true} 
[2026-07-27 08:34:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:34:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991086336001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:34:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111548864841908224,"note":"Value kept but may cause issues"} 
[2026-07-27 08:34:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9014025048331376640,"note":"Value kept but may cause issues"} 
[2026-07-27 08:34:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:34:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785121442000,"timestamp_ms":1785121442000,"timestamp_seconds":1785121442,"priority":1,"record_length":96,"hex_timestamp":"0000019fa18788d0"} 
[2026-07-27 08:34:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:34:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-27 08:34:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:34:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:34:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:34:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:34:46] local.INFO: Teltonika packet parsed successfully {"connection_id":142785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:34:46] local.INFO: Passing IMEI to GPS processor {"connection_id":142785,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:34:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":142785,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:34:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:34:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 08:34:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 08:34:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991086336001,"66":12841,"154":206,"87":13824,"24":36,"16":111548864841908224,"45":9014025048331376640},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,87,24,16,45]} 
[2026-07-27 08:34:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 08:34:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 08:34:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991086336001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:34:46] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-07-27 08:34:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 08:34:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111548864841908224,"km_value":111548864841908.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:34:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9014025048331376640,"description":"Unknown IO ID 45"} 
[2026-07-27 08:34:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991086336001,"power":12841,"unknown_154":206,"unknown_87":13824,"ignition":36,"odometer":null,"unknown_45":9014025048331376640}} 
[2026-07-27 08:34:46] local.INFO: DEBUG: GPS processor result {"connection_id":142785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551999,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:34:46] local.INFO: GPS data processed {"connection_id":142785,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:34:46] local.INFO: Acknowledgment sent {"connection_id":142785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:34:51] local.INFO: TCP Data received {"connection_id":142785,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa187afe0012d7d1b8005ea8250000c015f28..."} 
[2026-07-27 08:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa187afe0012d7d1b8005ea8250000c015f28..."} 
[2026-07-27 08:34:51] local.INFO: Processing buffer {"connection_id":142785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa187afe0012d7d1b8005ea8250000c015f28..."} 
[2026-07-27 08:34:51] local.INFO: Packet analysis {"connection_id":142785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa187"} 
[2026-07-27 08:34:51] local.INFO: Extracted packet for processing {"connection_id":142785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa187"} 
[2026-07-27 08:34:51] local.INFO: GPS Element Parsed {"raw_longitude":763173760,"raw_latitude":99254864,"longitude_deg":76.317376,"latitude_deg":9.9254864,"altitude":12,"angle":351,"satellites":40,"speed":26,"hex_longitude":"2d7d1b80","hex_latitude":"05ea8250","is_valid_coordinates":true} 
[2026-07-27 08:34:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:34:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991089152001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:34:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111549212734259200,"note":"Value kept but may cause issues"} 
[2026-07-27 08:34:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9014658367031252992,"note":"Value kept but may cause issues"} 
[2026-07-27 08:34:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:34:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785121452000,"timestamp_ms":1785121452000,"timestamp_seconds":1785121452,"priority":1,"record_length":96,"hex_timestamp":"0000019fa187afe0"} 
[2026-07-27 08:34:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:34:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08:34:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-27 08:34: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-07-27 08:34:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:34:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:34:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:34:51] local.INFO: Teltonika packet parsed successfully {"connection_id":142785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:34:51] local.INFO: Passing IMEI to GPS processor {"connection_id":142785,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:34:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":142785,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:34:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:34:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 08:34:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 08:34:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991089152001,"66":12906,"154":206,"87":13824,"24":26,"16":111549212734259200,"45":9014658367031252992},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,87,24,16,45]} 
[2026-07-27 08:34:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 08:34:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 08:34:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991089152001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:34:51] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-07-27 08:34:51] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 08:34:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111549212734259200,"km_value":111549212734259.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:34:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9014658367031252992,"description":"Unknown IO ID 45"} 
[2026-07-27 08:34:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991089152001,"power":12906,"unknown_154":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":9014658367031252992}} 
[2026-07-27 08:34:51] local.INFO: DEBUG: GPS processor result {"connection_id":142785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552000,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:34:51] local.INFO: GPS data processed {"connection_id":142785,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:34:51] local.INFO: Acknowledgment sent {"connection_id":142785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:35:09] local.INFO: TCP Data received {"connection_id":142784,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1879c58012d7f934005afdd400002000029..."} 
[2026-07-27 08:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1879c58012d7f934005afdd400002000029..."} 
[2026-07-27 08:35:09] local.INFO: Processing buffer {"connection_id":142784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1879c58012d7f934005afdd400002000029..."} 
[2026-07-27 08:35:09] local.INFO: Packet analysis {"connection_id":142784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa187"} 
[2026-07-27 08:35:09] local.INFO: Extracted packet for processing {"connection_id":142784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa187"} 
[2026-07-27 08:35:09] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95411520,"longitude_deg":76.3335488,"latitude_deg":9.541152,"altitude":2,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afdd40","is_valid_coordinates":true} 
[2026-07-27 08:35:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:35:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991062016001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:35:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826014861688832,"note":"Value kept but may cause issues"} 
[2026-07-27 08:35:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562841088,"note":"Value kept but may cause issues"} 
[2026-07-27 08:35:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:35:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785121447000,"timestamp_ms":1785121447000,"timestamp_seconds":1785121447,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1879c58"} 
[2026-07-27 08:35:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:35:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 08:35:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-27 08:35:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:35:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:35:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:35:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:35:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:35:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:35:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:35:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:35:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:35:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:35:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991062016001,"66":25125,"27":206,"85":12544,"24":0,"16":358826014861688832,"45":9192761657562841088},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 08:35:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:35:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:35:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991062016001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:35:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 08:35:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:35:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826014861688832,"km_value":358826014861688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:35:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562841088,"description":"Unknown IO ID 45"} 
[2026-07-27 08:35:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991062016001,"power":25125,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562841088}} 
[2026-07-27 08:35:09] local.INFO: DEBUG: GPS processor result {"connection_id":142784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:35:09] local.INFO: GPS data processed {"connection_id":142784,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:35:09] local.INFO: Acknowledgment sent {"connection_id":142784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:35:15] local.INFO: TCP Data received {"connection_id":143761,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 08:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143761,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 08:35:15] local.INFO: Processing buffer {"connection_id":143761,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 08:35:15] local.INFO: IMEI packet received {"connection_id":143761,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 08:35:15] local.INFO: IMEI acknowledgment sent {"connection_id":143761,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:35:30] local.INFO: TCP Data received {"connection_id":142786,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142786,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:35:30] local.INFO: Processing buffer {"connection_id":142786,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:35:30] local.INFO: IMEI packet received {"connection_id":142786,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 08:35:30] local.INFO: IMEI acknowledgment sent {"connection_id":142786,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:35:30] local.INFO: TCP Data received {"connection_id":145081,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:35:30] local.INFO: Processing buffer {"connection_id":145081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:35:30] local.INFO: IMEI packet received {"connection_id":145081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 08:35:30] local.INFO: IMEI acknowledgment sent {"connection_id":145081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:35:31] local.INFO: TCP Data received {"connection_id":142786,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142786,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:35:31] local.INFO: Processing buffer {"connection_id":142786,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:35:31] local.INFO: IMEI packet received {"connection_id":142786,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 08:35:31] local.INFO: IMEI acknowledgment sent {"connection_id":142786,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:35:32] local.INFO: TCP Data received {"connection_id":145081,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:35:32] local.INFO: Processing buffer {"connection_id":145081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:35:32] local.INFO: IMEI packet received {"connection_id":145081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 08:35:32] local.INFO: IMEI acknowledgment sent {"connection_id":145081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:35:35] local.INFO: TCP Data received {"connection_id":142786,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142786,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:35:35] local.INFO: Processing buffer {"connection_id":142786,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:35:35] local.INFO: IMEI packet received {"connection_id":142786,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 08:35:35] local.INFO: IMEI acknowledgment sent {"connection_id":142786,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:35:36] local.INFO: TCP Data received {"connection_id":142786,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa18801e8012d7d1ac005ea89a8000b015e22..."} 
[2026-07-27 08:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa18801e8012d7d1ac005ea89a8000b015e22..."} 
[2026-07-27 08:35:36] local.INFO: Processing buffer {"connection_id":142786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa18801e8012d7d1ac005ea89a8000b015e22..."} 
[2026-07-27 08:35:36] local.INFO: Packet analysis {"connection_id":142786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa188"} 
[2026-07-27 08:35:36] local.INFO: Extracted packet for processing {"connection_id":142786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa188"} 
[2026-07-27 08:35:36] local.INFO: GPS Element Parsed {"raw_longitude":763173568,"raw_latitude":99256744,"longitude_deg":76.3173568,"latitude_deg":9.9256744,"altitude":11,"angle":350,"satellites":34,"speed":0,"hex_longitude":"2d7d1ac0","hex_latitude":"05ea89a8","is_valid_coordinates":true} 
[2026-07-27 08:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:35:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991091712001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:35:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111549307223539712,"note":"Value kept but may cause issues"} 
[2026-07-27 08:35:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9014939842009780224,"note":"Value kept but may cause issues"} 
[2026-07-27 08:35:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:35:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785121473000,"timestamp_ms":1785121473000,"timestamp_seconds":1785121473,"priority":1,"record_length":96,"hex_timestamp":"0000019fa18801e8"} 
[2026-07-27 08:35:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:35:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-07-27 08:35:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:35:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:35:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:35:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:35:36] local.INFO: Teltonika packet parsed successfully {"connection_id":142786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:35:36] local.INFO: Passing IMEI to GPS processor {"connection_id":142786,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:35:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":142786,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:35:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:35:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 08:35:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 08:35:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991091712001,"66":12809,"109":206,"87":13824,"24":0,"16":111549307223539712,"45":9014939842009780224},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-07-27 08:35:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 08:35:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 08:35:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991091712001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:35:36] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-27 08:35:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 08:35:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111549307223539712,"km_value":111549307223539.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:35:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9014939842009780224,"description":"Unknown IO ID 45"} 
[2026-07-27 08:35:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991091712001,"power":12809,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9014939842009780224}} 
[2026-07-27 08:35:36] local.INFO: DEBUG: GPS processor result {"connection_id":142786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552002,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:35:36] local.INFO: GPS data processed {"connection_id":142786,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:35:36] local.INFO: Acknowledgment sent {"connection_id":142786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:35:37] local.INFO: TCP Data received {"connection_id":145081,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:35:37] local.INFO: Processing buffer {"connection_id":145081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:35:37] local.INFO: IMEI packet received {"connection_id":145081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 08:35:37] local.INFO: IMEI acknowledgment sent {"connection_id":145081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:35:38] local.INFO: TCP Data received {"connection_id":145081,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fa187abf8012d7f95c005afdcd80002011229..."} 
[2026-07-27 08:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa187abf8012d7f95c005afdcd80002011229..."} 
[2026-07-27 08:35:38] local.INFO: Processing buffer {"connection_id":145081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa187abf8012d7f95c005afdcd80002011229..."} 
[2026-07-27 08:35:38] local.INFO: Packet analysis {"connection_id":145081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa187"} 
[2026-07-27 08:35:38] local.INFO: Extracted packet for processing {"connection_id":145081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa187"} 
[2026-07-27 08:35:38] local.INFO: GPS Element Parsed {"raw_longitude":763336128,"raw_latitude":95411416,"longitude_deg":76.3336128,"latitude_deg":9.5411416,"altitude":2,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7f95c0","hex_latitude":"05afdcd8","is_valid_coordinates":true} 
[2026-07-27 08:35:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:35:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991090432001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:35:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826023451623424,"note":"Value kept but may cause issues"} 
[2026-07-27 08:35:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562841088,"note":"Value kept but may cause issues"} 
[2026-07-27 08:35:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:35:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785121451000,"timestamp_ms":1785121451000,"timestamp_seconds":1785121451,"priority":1,"record_length":96,"hex_timestamp":"0000019fa187abf8"} 
[2026-07-27 08:35:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:35:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08:35:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-07-27 08:35:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:35:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:35:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:35:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:35:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:35:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:35:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:35:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:35:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:35:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:35:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991090432001,"66":27441,"27":206,"85":12544,"24":0,"16":358826023451623424,"45":9192761657562841088},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 08:35:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:35:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:35:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991090432001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:35:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 08:35:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:35:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826023451623424,"km_value":358826023451623.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:35:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562841088,"description":"Unknown IO ID 45"} 
[2026-07-27 08:35:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991090432001,"power":27441,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562841088}} 
[2026-07-27 08:35:38] local.INFO: DEBUG: GPS processor result {"connection_id":145081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:35:38] local.INFO: GPS data processed {"connection_id":145081,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:35:38] local.INFO: Acknowledgment sent {"connection_id":145081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:35:41] local.INFO: TCP Data received {"connection_id":142786,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1883c80012d7d1b4005ea8a98000b000127..."} 
[2026-07-27 08:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1883c80012d7d1b4005ea8a98000b000127..."} 
[2026-07-27 08:35:41] local.INFO: Processing buffer {"connection_id":142786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1883c80012d7d1b4005ea8a98000b000127..."} 
[2026-07-27 08:35:41] local.INFO: Packet analysis {"connection_id":142786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa188"} 
[2026-07-27 08:35:41] local.INFO: Extracted packet for processing {"connection_id":142786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa188"} 
[2026-07-27 08:35:41] local.INFO: GPS Element Parsed {"raw_longitude":763173696,"raw_latitude":99256984,"longitude_deg":76.3173696,"latitude_deg":9.9256984,"altitude":11,"angle":1,"satellites":39,"speed":4,"hex_longitude":"2d7d1b40","hex_latitude":"05ea8a98","is_valid_coordinates":true} 
[2026-07-27 08: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-07-27 08:35:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991097088001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:35:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111549320108441600,"note":"Value kept but may cause issues"} 
[2026-07-27 08:35:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9014728735777728512,"note":"Value kept but may cause issues"} 
[2026-07-27 08:35:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:35:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785121488000,"timestamp_ms":1785121488000,"timestamp_seconds":1785121488,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1883c80"} 
[2026-07-27 08:35:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:35:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-07-27 08:35:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2738188573609034752,"note":"Value kept but may cause issues"} 
[2026-07-27 08:35:41] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-27 08:35:41] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2709972160,"note":"Value kept but may cause issues"} 
[2026-07-27 08:35:41] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-27 08:35:41] local.WARNING: Large IO value detected {"io_id":76,"raw_value":3053453312,"note":"Value kept but may cause issues"} 
[2026-07-27 08:35:41] local.WARNING: Large IO value detected {"io_id":161,"raw_value":-8737634182924266240,"note":"Value kept but may cause issues"} 
[2026-07-27 08:35:41] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1469710542,"corrected_to":0} 
[2026-07-27 08:35:41] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755549765042417,"note":"Value kept but may cause issues"} 
[2026-07-27 08:35:41] local.WARNING: Large IO value detected {"io_id":23,"raw_value":2147871281,"note":"Value kept but may cause issues"} 
[2026-07-27 08:35:41] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-1591072490111630552,"note":"Value kept but may cause issues"} 
[2026-07-27 08:35:41] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2954587131684638295,"note":"Value kept but may cause issues"} 
[2026-07-27 08:35:41] local.INFO: IO Element Parsed {"io_data_count":47,"io_data_keys":[0,109,87,24,241,157,16,77,159,175,45,128,130,12,40,10,66,154,136,102,13,41,93,64,1,240,221,227,76,161,234,4,113,205,15,54,23,72,38,239,49,2,140,5,35,50,28],"length":535,"final_offset":665,"validated_count":47,"validation_warnings":[{"io_id":205,"original":1469710542,"validated":0}]} 
[2026-07-27 08:35:41] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":793018509515816960,"timestamp_seconds":793018509515817.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 08:35:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:35:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:35:41] local.INFO: Teltonika packet parsed successfully {"connection_id":142786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:35:41] local.INFO: Passing IMEI to GPS processor {"connection_id":142786,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:35:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":142786,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:35:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:35:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 08:35:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 08:35:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991097088001,"66":13102,"109":206,"87":13824,"24":4,"16":111549320108441600,"45":9014728735777728512},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-07-27 08:35:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 08:35:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 08:35:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991097088001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:35:41] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-27 08:35:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 08:35:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111549320108441600,"km_value":111549320108441.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:35:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9014728735777728512,"description":"Unknown IO ID 45"} 
[2026-07-27 08:35:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991097088001,"power":13102,"unknown_109":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":9014728735777728512}} 
[2026-07-27 08:35:41] local.INFO: DEBUG: GPS processor result {"connection_id":142786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552004,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:35:41] local.INFO: GPS data processed {"connection_id":142786,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:35:41] local.INFO: Acknowledgment sent {"connection_id":142786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:35:45] local.INFO: TCP Data received {"connection_id":145083,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 08:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145083,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 08:35:45] local.INFO: Processing buffer {"connection_id":145083,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 08:35:45] local.INFO: IMEI packet received {"connection_id":145083,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 08:35:45] local.INFO: IMEI acknowledgment sent {"connection_id":145083,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:36:09] local.INFO: TCP Data received {"connection_id":145081,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fa187fe00012d7f968005afdd400003011229..."} 
[2026-07-27 08:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa187fe00012d7f968005afdd400003011229..."} 
[2026-07-27 08:36:09] local.INFO: Processing buffer {"connection_id":145081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa187fe00012d7f968005afdd400003011229..."} 
[2026-07-27 08:36:09] local.INFO: Packet analysis {"connection_id":145081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa187"} 
[2026-07-27 08:36:09] local.INFO: Extracted packet for processing {"connection_id":145081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa187"} 
[2026-07-27 08:36:09] local.INFO: GPS Element Parsed {"raw_longitude":763336320,"raw_latitude":95411520,"longitude_deg":76.333632,"latitude_deg":9.541152,"altitude":3,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7f9680","hex_latitude":"05afdd40","is_valid_coordinates":true} 
[2026-07-27 08:36:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:36:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991091456001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:36:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826036336525312,"note":"Value kept but may cause issues"} 
[2026-07-27 08:36:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193465345004591104,"note":"Value kept but may cause issues"} 
[2026-07-27 08:36:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:36:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785121472000,"timestamp_ms":1785121472000,"timestamp_seconds":1785121472,"priority":1,"record_length":96,"hex_timestamp":"0000019fa187fe00"} 
[2026-07-27 08:36:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:36:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08: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":107,"n8_eight_byte":49,"data_length":795,"current_offset":136} 
[2026-07-27 08:36:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1174,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:36:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:36:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:36:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:36:09] local.INFO: Teltonika packet parsed successfully {"connection_id":145081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:36:09] local.INFO: Passing IMEI to GPS processor {"connection_id":145081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:36:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":145081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:36:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:36:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:36:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:36:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991091456001,"66":27800,"27":206,"85":12544,"24":0,"16":358826036336525312,"45":9193465345004591104},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 08:36:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:36:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:36:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991091456001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:36:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 08:36:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:36:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826036336525312,"km_value":358826036336525.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:36:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193465345004591104,"description":"Unknown IO ID 45"} 
[2026-07-27 08:36:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991091456001,"power":27800,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193465345004591104}} 
[2026-07-27 08:36:09] local.INFO: DEBUG: GPS processor result {"connection_id":145081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:36:09] local.INFO: GPS data processed {"connection_id":145081,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:36:09] local.INFO: Acknowledgment sent {"connection_id":145081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:36:12] local.INFO: TCP Data received {"connection_id":142786,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1885bc0012d7d1c4005ea9198000a001027..."} 
[2026-07-27 08:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1885bc0012d7d1c4005ea9198000a001027..."} 
[2026-07-27 08:36:12] local.INFO: Processing buffer {"connection_id":142786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1885bc0012d7d1c4005ea9198000a001027..."} 
[2026-07-27 08:36:12] local.INFO: Packet analysis {"connection_id":142786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa188"} 
[2026-07-27 08:36:12] local.INFO: Extracted packet for processing {"connection_id":142786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa188"} 
[2026-07-27 08:36:12] local.INFO: GPS Element Parsed {"raw_longitude":763173952,"raw_latitude":99258776,"longitude_deg":76.3173952,"latitude_deg":9.9258776,"altitude":10,"angle":16,"satellites":39,"speed":9,"hex_longitude":"2d7d1c40","hex_latitude":"05ea9198","is_valid_coordinates":true} 
[2026-07-27 08: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-07-27 08:36:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991100928001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:36:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111549410302754816,"note":"Value kept but may cause issues"} 
[2026-07-27 08:36:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9014869473266145280,"note":"Value kept but may cause issues"} 
[2026-07-27 08:36:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:36:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785121496000,"timestamp_ms":1785121496000,"timestamp_seconds":1785121496,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1885bc0"} 
[2026-07-27 08:36:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:36:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-27 08:36:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08: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-07-27 08:36:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:36:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:36:12] local.INFO: Teltonika packet parsed successfully {"connection_id":142786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:36:12] local.INFO: Passing IMEI to GPS processor {"connection_id":142786,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:36:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":142786,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:36:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:36:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 08:36:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 08:36:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991100928001,"66":12928,"158":206,"87":13824,"24":9,"16":111549410302754816,"45":9014869473266145280},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-07-27 08:36:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 08:36:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 08:36:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991100928001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:36:12] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-07-27 08:36:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 08:36:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111549410302754816,"km_value":111549410302754.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:36:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9014869473266145280,"description":"Unknown IO ID 45"} 
[2026-07-27 08:36:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991100928001,"power":12928,"unknown_158":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":9014869473266145280}} 
[2026-07-27 08:36:12] local.INFO: DEBUG: GPS processor result {"connection_id":142786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552006,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:36:12] local.INFO: GPS data processed {"connection_id":142786,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:36:12] local.INFO: Acknowledgment sent {"connection_id":142786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:36:30] local.INFO: TCP Data received {"connection_id":142669,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142669,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:36:30] local.INFO: Processing buffer {"connection_id":142669,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:36:30] local.INFO: IMEI packet received {"connection_id":142669,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 08:36:30] local.INFO: IMEI acknowledgment sent {"connection_id":142669,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:36:33] local.INFO: TCP Data received {"connection_id":142670,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:36:33] local.INFO: Processing buffer {"connection_id":142670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:36:33] local.INFO: IMEI packet received {"connection_id":142670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 08:36:33] local.INFO: IMEI acknowledgment sent {"connection_id":142670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:36:36] local.INFO: TCP Data received {"connection_id":142669,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142669,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:36:36] local.INFO: Processing buffer {"connection_id":142669,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:36:36] local.INFO: IMEI packet received {"connection_id":142669,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 08:36:36] local.INFO: IMEI acknowledgment sent {"connection_id":142669,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:36:37] local.INFO: TCP Data received {"connection_id":142669,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1886778012d7d1cc005ea94a0000a000427..."} 
[2026-07-27 08:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142669,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1886778012d7d1cc005ea94a0000a000427..."} 
[2026-07-27 08:36:37] local.INFO: Processing buffer {"connection_id":142669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1886778012d7d1cc005ea94a0000a000427..."} 
[2026-07-27 08:36:37] local.INFO: Packet analysis {"connection_id":142669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa188"} 
[2026-07-27 08:36:37] local.INFO: Extracted packet for processing {"connection_id":142669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa188"} 
[2026-07-27 08:36:37] local.INFO: GPS Element Parsed {"raw_longitude":763174080,"raw_latitude":99259552,"longitude_deg":76.317408,"latitude_deg":9.9259552,"altitude":10,"angle":4,"satellites":39,"speed":13,"hex_longitude":"2d7d1cc0","hex_latitude":"05ea94a0","is_valid_coordinates":true} 
[2026-07-27 08:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991102976001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111549448957460480,"note":"Value kept but may cause issues"} 
[2026-07-27 08:36:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015150948243314688,"note":"Value kept but may cause issues"} 
[2026-07-27 08:36:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785121499000,"timestamp_ms":1785121499000,"timestamp_seconds":1785121499,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1886778"} 
[2026-07-27 08:36:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:36:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-07-27 08:36:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1600,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:36:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:36:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":142669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":142669,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":142669,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:36:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 08:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 08:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991102976001,"66":13363,"158":206,"87":13824,"24":13,"16":111549448957460480,"45":9015150948243314688},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-07-27 08:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 08:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 08:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991102976001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:36:37] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-07-27 08:36:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 08:36:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111549448957460480,"km_value":111549448957460.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:36:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015150948243314688,"description":"Unknown IO ID 45"} 
[2026-07-27 08:36:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991102976001,"power":13363,"unknown_158":206,"unknown_87":13824,"ignition":13,"odometer":null,"unknown_45":9015150948243314688}} 
[2026-07-27 08:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":142669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552007,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:36:37] local.INFO: GPS data processed {"connection_id":142669,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:36:37] local.INFO: Acknowledgment sent {"connection_id":142669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:36:38] local.INFO: TCP Data received {"connection_id":142670,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:36:38] local.INFO: Processing buffer {"connection_id":142670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:36:38] local.INFO: IMEI packet received {"connection_id":142670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 08:36:38] local.INFO: IMEI acknowledgment sent {"connection_id":142670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:36:38] local.INFO: TCP Data received {"connection_id":142670,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1884450012d7f964005afdd600007011229..."} 
[2026-07-27 08:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142670,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1884450012d7f964005afdd600007011229..."} 
[2026-07-27 08:36:38] local.INFO: Processing buffer {"connection_id":142670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1884450012d7f964005afdd600007011229..."} 
[2026-07-27 08:36:38] local.INFO: Packet analysis {"connection_id":142670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa188"} 
[2026-07-27 08:36:38] local.INFO: Extracted packet for processing {"connection_id":142670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa188"} 
[2026-07-27 08:36:38] local.INFO: GPS Element Parsed {"raw_longitude":763336256,"raw_latitude":95411552,"longitude_deg":76.3336256,"latitude_deg":9.5411552,"altitude":7,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7f9640","hex_latitude":"05afdd60","is_valid_coordinates":true} 
[2026-07-27 08:36:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:36:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991096832001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:36:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826040631492608,"note":"Value kept but may cause issues"} 
[2026-07-27 08:36:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193676451237150720,"note":"Value kept but may cause issues"} 
[2026-07-27 08:36:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:36:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785121490000,"timestamp_ms":1785121490000,"timestamp_seconds":1785121490,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1884450"} 
[2026-07-27 08:36:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:36:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08:36:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-27 08:36:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:36:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:36:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:36:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:36:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:36:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:36:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:36:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:36:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:36:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:36:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991096832001,"66":27604,"250":206,"85":12544,"24":0,"16":358826040631492608,"45":9193676451237150720},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 08:36:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:36:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:36:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991096832001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:36:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 08:36:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:36:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826040631492608,"km_value":358826040631492.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:36:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193676451237150720,"description":"Unknown IO ID 45"} 
[2026-07-27 08:36:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991096832001,"power":27604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193676451237150720}} 
[2026-07-27 08:36:38] local.INFO: DEBUG: GPS processor result {"connection_id":142670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:36:38] local.INFO: GPS data processed {"connection_id":142670,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:36:38] local.INFO: Acknowledgment sent {"connection_id":142670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:37:08] local.INFO: TCP Data received {"connection_id":142669,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa18a3080012d7cf24005eaede0000b010e24..."} 
[2026-07-27 08:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142669,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa18a3080012d7cf24005eaede0000b010e24..."} 
[2026-07-27 08:37:08] local.INFO: Processing buffer {"connection_id":142669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa18a3080012d7cf24005eaede0000b010e24..."} 
[2026-07-27 08:37:08] local.INFO: Packet analysis {"connection_id":142669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa18a"} 
[2026-07-27 08:37:08] local.INFO: Extracted packet for processing {"connection_id":142669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa18a"} 
[2026-07-27 08:37:08] local.INFO: GPS Element Parsed {"raw_longitude":763163200,"raw_latitude":99282400,"longitude_deg":76.31632,"latitude_deg":9.92824,"altitude":11,"angle":270,"satellites":36,"speed":3,"hex_longitude":"2d7cf240","hex_latitude":"05eaede0","is_valid_coordinates":true} 
[2026-07-27 08:37:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:37:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991130112001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:37:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111551407462547456,"note":"Value kept but may cause issues"} 
[2026-07-27 08:37:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9003680842948413440,"note":"Value kept but may cause issues"} 
[2026-07-27 08:37:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:37:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785121616000,"timestamp_ms":1785121616000,"timestamp_seconds":1785121616,"priority":1,"record_length":96,"hex_timestamp":"0000019fa18a3080"} 
[2026-07-27 08:37:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:37:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08:37:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-27 08:37:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:37:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:37:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:37:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:37:08] local.INFO: Teltonika packet parsed successfully {"connection_id":142669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:37:08] local.INFO: Passing IMEI to GPS processor {"connection_id":142669,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:37:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":142669,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:37:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:37:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 08:37:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 08:37:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991130112001,"66":13243,"158":206,"87":13824,"24":3,"16":111551407462547456,"45":9003680842948413440},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-07-27 08:37:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 08:37:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 08:37:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991130112001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:37:08] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-07-27 08:37:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 08:37:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111551407462547456,"km_value":111551407462547.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:37:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9003680842948413440,"description":"Unknown IO ID 45"} 
[2026-07-27 08:37:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991130112001,"power":13243,"unknown_158":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":9003680842948413440}} 
[2026-07-27 08:37:08] local.INFO: DEBUG: GPS processor result {"connection_id":142669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552009,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:37:08] local.INFO: GPS data processed {"connection_id":142669,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:37:08] local.INFO: Acknowledgment sent {"connection_id":142669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:37:09] local.INFO: TCP Data received {"connection_id":142670,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1885008012d7f964005afdd680007011229..."} 
[2026-07-27 08:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142670,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1885008012d7f964005afdd680007011229..."} 
[2026-07-27 08:37:09] local.INFO: Processing buffer {"connection_id":142670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1885008012d7f964005afdd680007011229..."} 
[2026-07-27 08:37:09] local.INFO: Packet analysis {"connection_id":142670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa188"} 
[2026-07-27 08:37:09] local.INFO: Extracted packet for processing {"connection_id":142670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa188"} 
[2026-07-27 08:37:09] local.INFO: GPS Element Parsed {"raw_longitude":763336256,"raw_latitude":95411560,"longitude_deg":76.3336256,"latitude_deg":9.541156,"altitude":7,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7f9640","hex_latitude":"05afdd68","is_valid_coordinates":true} 
[2026-07-27 08:37:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:37:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991101440001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:37:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826040631492608,"note":"Value kept but may cause issues"} 
[2026-07-27 08:37:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193606082492981248,"note":"Value kept but may cause issues"} 
[2026-07-27 08:37:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:37:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785121493000,"timestamp_ms":1785121493000,"timestamp_seconds":1785121493,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1885008"} 
[2026-07-27 08:37:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:37:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 08:37:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-27 08:37:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:37:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:37:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:37:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:37:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:37:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:37:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:37:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:37:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:37:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:37:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991101440001,"66":26560,"250":206,"85":12544,"24":0,"16":358826040631492608,"45":9193606082492981248},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 08:37:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:37:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:37:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991101440001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:37:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 08:37:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:37:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826040631492608,"km_value":358826040631492.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:37:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193606082492981248,"description":"Unknown IO ID 45"} 
[2026-07-27 08:37:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991101440001,"power":26560,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193606082492981248}} 
[2026-07-27 08:37:09] local.INFO: DEBUG: GPS processor result {"connection_id":142670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:37:09] local.INFO: GPS data processed {"connection_id":142670,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:37:09] local.INFO: Acknowledgment sent {"connection_id":142670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:37:31] local.INFO: TCP Data received {"connection_id":143763,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143763,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:37:31] local.INFO: Processing buffer {"connection_id":143763,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:37:31] local.INFO: IMEI packet received {"connection_id":143763,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 08:37:31] local.INFO: IMEI acknowledgment sent {"connection_id":143763,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:37:33] local.INFO: TCP Data received {"connection_id":145084,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:37:33] local.INFO: Processing buffer {"connection_id":145084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:37:33] local.INFO: IMEI packet received {"connection_id":145084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 08:37:33] local.INFO: IMEI acknowledgment sent {"connection_id":145084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:37:34] local.INFO: TCP Data received {"connection_id":143763,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143763,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:37:34] local.INFO: Processing buffer {"connection_id":143763,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:37:34] local.INFO: IMEI packet received {"connection_id":143763,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 08:37:34] local.INFO: IMEI acknowledgment sent {"connection_id":143763,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:37:35] local.INFO: TCP Data received {"connection_id":143763,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa18a3c38012d7cefc005eaed68000b010324..."} 
[2026-07-27 08:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143763,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa18a3c38012d7cefc005eaed68000b010324..."} 
[2026-07-27 08:37:35] local.INFO: Processing buffer {"connection_id":143763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa18a3c38012d7cefc005eaed68000b010324..."} 
[2026-07-27 08:37:35] local.INFO: Packet analysis {"connection_id":143763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa18a"} 
[2026-07-27 08:37:35] local.INFO: Extracted packet for processing {"connection_id":143763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa18a"} 
[2026-07-27 08:37:35] local.INFO: GPS Element Parsed {"raw_longitude":763162560,"raw_latitude":99282280,"longitude_deg":76.316256,"latitude_deg":9.928228,"altitude":11,"angle":259,"satellites":36,"speed":10,"hex_longitude":"2d7cefc0","hex_latitude":"05eaed68","is_valid_coordinates":true} 
[2026-07-27 08:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:37:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991133696001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:37:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111551437527318528,"note":"Value kept but may cause issues"} 
[2026-07-27 08:37:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9003328999227514880,"note":"Value kept but may cause issues"} 
[2026-07-27 08:37:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:37:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785121619000,"timestamp_ms":1785121619000,"timestamp_seconds":1785121619,"priority":1,"record_length":96,"hex_timestamp":"0000019fa18a3c38"} 
[2026-07-27 08:37:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:37:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-27 08:37:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:37:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:37:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:37:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:37:35] local.INFO: Teltonika packet parsed successfully {"connection_id":143763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:37:35] local.INFO: Passing IMEI to GPS processor {"connection_id":143763,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:37:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":143763,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:37:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:37:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 08:37:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 08:37:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991133696001,"66":13080,"158":206,"87":13824,"24":10,"16":111551437527318528,"45":9003328999227514880},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-07-27 08:37:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 08:37:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 08:37:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991133696001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:37:35] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-07-27 08:37:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 08:37:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111551437527318528,"km_value":111551437527318.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:37:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9003328999227514880,"description":"Unknown IO ID 45"} 
[2026-07-27 08:37:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991133696001,"power":13080,"unknown_158":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":9003328999227514880}} 
[2026-07-27 08:37:35] local.INFO: DEBUG: GPS processor result {"connection_id":143763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552011,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:37:35] local.INFO: GPS data processed {"connection_id":143763,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:37:35] local.INFO: Acknowledgment sent {"connection_id":143763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:37:38] local.INFO: TCP Data received {"connection_id":145084,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:37:38] local.INFO: Processing buffer {"connection_id":145084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:37:38] local.INFO: IMEI packet received {"connection_id":145084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 08:37:38] local.INFO: IMEI acknowledgment sent {"connection_id":145084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:37:38] local.INFO: TCP Data received {"connection_id":145084,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1885008012d7f964005afdd680007011229..."} 
[2026-07-27 08:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1885008012d7f964005afdd680007011229..."} 
[2026-07-27 08:37:38] local.INFO: Processing buffer {"connection_id":145084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1885008012d7f964005afdd680007011229..."} 
[2026-07-27 08:37:38] local.INFO: Packet analysis {"connection_id":145084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa188"} 
[2026-07-27 08:37:38] local.INFO: Extracted packet for processing {"connection_id":145084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa188"} 
[2026-07-27 08:37:38] local.INFO: GPS Element Parsed {"raw_longitude":763336256,"raw_latitude":95411560,"longitude_deg":76.3336256,"latitude_deg":9.541156,"altitude":7,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7f9640","hex_latitude":"05afdd68","is_valid_coordinates":true} 
[2026-07-27 08:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:37:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991101440001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:37:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826040631492608,"note":"Value kept but may cause issues"} 
[2026-07-27 08:37:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193606082492981248,"note":"Value kept but may cause issues"} 
[2026-07-27 08:37:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:37:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785121493000,"timestamp_ms":1785121493000,"timestamp_seconds":1785121493,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1885008"} 
[2026-07-27 08:37:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:37:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 08:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-27 08:37:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:37:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:37:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:37:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:37:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:37:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:37:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:37:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:37:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:37:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:37:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991101440001,"66":26560,"250":206,"85":12544,"24":0,"16":358826040631492608,"45":9193606082492981248},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 08:37:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:37:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:37:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991101440001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:37:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 08:37:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:37:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826040631492608,"km_value":358826040631492.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:37:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193606082492981248,"description":"Unknown IO ID 45"} 
[2026-07-27 08:37:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991101440001,"power":26560,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193606082492981248}} 
[2026-07-27 08:37:38] local.INFO: DEBUG: GPS processor result {"connection_id":145084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:37:38] local.INFO: GPS data processed {"connection_id":145084,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:37:38] local.INFO: Acknowledgment sent {"connection_id":145084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:38:06] local.INFO: TCP Data received {"connection_id":143763,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa18a53a8012d7ce70005eaecb0000a011824..."} 
[2026-07-27 08:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143763,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa18a53a8012d7ce70005eaecb0000a011824..."} 
[2026-07-27 08:38:06] local.INFO: Processing buffer {"connection_id":143763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa18a53a8012d7ce70005eaecb0000a011824..."} 
[2026-07-27 08:38:06] local.INFO: Packet analysis {"connection_id":143763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa18a"} 
[2026-07-27 08:38:06] local.INFO: Extracted packet for processing {"connection_id":143763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa18a"} 
[2026-07-27 08:38:06] local.INFO: GPS Element Parsed {"raw_longitude":763160320,"raw_latitude":99282096,"longitude_deg":76.316032,"latitude_deg":9.9282096,"altitude":10,"angle":280,"satellites":36,"speed":12,"hex_longitude":"2d7ce700","hex_latitude":"05eaecb0","is_valid_coordinates":true} 
[2026-07-27 08:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:38:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991134464001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:38:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111551544901500928,"note":"Value kept but may cause issues"} 
[2026-07-27 08:38:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9002625311785707520,"note":"Value kept but may cause issues"} 
[2026-07-27 08:38:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:38:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785121625000,"timestamp_ms":1785121625000,"timestamp_seconds":1785121625,"priority":1,"record_length":96,"hex_timestamp":"0000019fa18a53a8"} 
[2026-07-27 08:38:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:38:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-07-27 08:38:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:38:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:38:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:38:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:38:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:38:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143763,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:38:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143763,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:38:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:38:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 08:38:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 08:38:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991134464001,"66":13091,"158":206,"87":13824,"24":12,"16":111551544901500928,"45":9002625311785707520},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-07-27 08:38:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 08:38:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 08:38:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991134464001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:38:06] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-07-27 08:38:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 08:38:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111551544901500928,"km_value":111551544901500.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:38:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9002625311785707520,"description":"Unknown IO ID 45"} 
[2026-07-27 08:38:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991134464001,"power":13091,"unknown_158":206,"unknown_87":13824,"ignition":12,"odometer":null,"unknown_45":9002625311785707520}} 
[2026-07-27 08:38:06] local.INFO: DEBUG: GPS processor result {"connection_id":143763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552013,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:38:06] local.INFO: GPS data processed {"connection_id":143763,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:38:06] local.INFO: Acknowledgment sent {"connection_id":143763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:38:09] local.INFO: TCP Data received {"connection_id":145084,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1885008012d7f964005afdd680007011229..."} 
[2026-07-27 08:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1885008012d7f964005afdd680007011229..."} 
[2026-07-27 08:38:09] local.INFO: Processing buffer {"connection_id":145084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1885008012d7f964005afdd680007011229..."} 
[2026-07-27 08:38:09] local.INFO: Packet analysis {"connection_id":145084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa188"} 
[2026-07-27 08:38:09] local.INFO: Extracted packet for processing {"connection_id":145084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa188"} 
[2026-07-27 08:38:09] local.INFO: GPS Element Parsed {"raw_longitude":763336256,"raw_latitude":95411560,"longitude_deg":76.3336256,"latitude_deg":9.541156,"altitude":7,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7f9640","hex_latitude":"05afdd68","is_valid_coordinates":true} 
[2026-07-27 08:38:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:38:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991101440001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:38:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826040631492608,"note":"Value kept but may cause issues"} 
[2026-07-27 08:38:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193606082492981248,"note":"Value kept but may cause issues"} 
[2026-07-27 08:38:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:38:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785121493000,"timestamp_ms":1785121493000,"timestamp_seconds":1785121493,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1885008"} 
[2026-07-27 08:38:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:38:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 08:38:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-27 08:38:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:38:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:38:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:38:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:38:09] local.INFO: Teltonika packet parsed successfully {"connection_id":145084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:38:09] local.INFO: Passing IMEI to GPS processor {"connection_id":145084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:38:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":145084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:38:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:38:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:38:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:38:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991101440001,"66":26560,"250":206,"85":12544,"24":0,"16":358826040631492608,"45":9193606082492981248},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 08:38:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:38:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:38:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991101440001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:38:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 08:38:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:38:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826040631492608,"km_value":358826040631492.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:38:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193606082492981248,"description":"Unknown IO ID 45"} 
[2026-07-27 08:38:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991101440001,"power":26560,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193606082492981248}} 
[2026-07-27 08:38:09] local.INFO: DEBUG: GPS processor result {"connection_id":145084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:38:09] local.INFO: GPS data processed {"connection_id":145084,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:38:09] local.INFO: Acknowledgment sent {"connection_id":145084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:38:30] local.INFO: TCP Data received {"connection_id":145085,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145085,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:38:30] local.INFO: Processing buffer {"connection_id":145085,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:38:30] local.INFO: IMEI packet received {"connection_id":145085,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 08:38:30] local.INFO: IMEI acknowledgment sent {"connection_id":145085,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:38:33] local.INFO: TCP Data received {"connection_id":142788,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:38:33] local.INFO: Processing buffer {"connection_id":142788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:38:33] local.INFO: IMEI packet received {"connection_id":142788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 08:38:33] local.INFO: IMEI acknowledgment sent {"connection_id":142788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:38:35] local.INFO: TCP Data received {"connection_id":145085,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145085,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:38:35] local.INFO: Processing buffer {"connection_id":145085,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:38:35] local.INFO: IMEI packet received {"connection_id":145085,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 08:38:35] local.INFO: IMEI acknowledgment sent {"connection_id":145085,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:38:35] local.INFO: TCP Data received {"connection_id":145085,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa18a6b18012d7ce20005eaece8000a010925..."} 
[2026-07-27 08:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa18a6b18012d7ce20005eaece8000a010925..."} 
[2026-07-27 08:38:35] local.INFO: Processing buffer {"connection_id":145085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa18a6b18012d7ce20005eaece8000a010925..."} 
[2026-07-27 08:38:35] local.INFO: Packet analysis {"connection_id":145085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa18a"} 
[2026-07-27 08:38:35] local.INFO: Extracted packet for processing {"connection_id":145085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa18a"} 
[2026-07-27 08:38:35] local.INFO: GPS Element Parsed {"raw_longitude":763159040,"raw_latitude":99282152,"longitude_deg":76.315904,"latitude_deg":9.9282152,"altitude":10,"angle":265,"satellites":37,"speed":6,"hex_longitude":"2d7ce200","hex_latitude":"05eaece8","is_valid_coordinates":true} 
[2026-07-27 08:38:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:38:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991136000001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:38:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111551609326010368,"note":"Value kept but may cause issues"} 
[2026-07-27 08:38:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9000162405739442176,"note":"Value kept but may cause issues"} 
[2026-07-27 08:38:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:38:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785121631000,"timestamp_ms":1785121631000,"timestamp_seconds":1785121631,"priority":1,"record_length":96,"hex_timestamp":"0000019fa18a6b18"} 
[2026-07-27 08:38:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:38:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08:38:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-27 08:38:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:38:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:38:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:38:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:38:35] local.INFO: Teltonika packet parsed successfully {"connection_id":145085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:38:35] local.INFO: Passing IMEI to GPS processor {"connection_id":145085,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:38:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":145085,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:38:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:38:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 08:38:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 08:38:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991136000001,"66":12798,"158":206,"87":13824,"24":6,"16":111551609326010368,"45":9000162405739442176},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-07-27 08:38:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 08:38:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 08:38:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991136000001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:38:35] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-07-27 08:38:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 08:38:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111551609326010368,"km_value":111551609326010.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:38:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9000162405739442176,"description":"Unknown IO ID 45"} 
[2026-07-27 08:38:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991136000001,"power":12798,"unknown_158":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":9000162405739442176}} 
[2026-07-27 08:38:36] local.INFO: DEBUG: GPS processor result {"connection_id":145085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552015,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:38:36] local.INFO: GPS data processed {"connection_id":145085,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:38:36] local.INFO: Acknowledgment sent {"connection_id":145085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:38:38] local.INFO: TCP Data received {"connection_id":142788,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:38:38] local.INFO: Processing buffer {"connection_id":142788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:38:38] local.INFO: IMEI packet received {"connection_id":142788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 08:38:38] local.INFO: IMEI acknowledgment sent {"connection_id":142788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:38:38] local.INFO: TCP Data received {"connection_id":142788,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1885008012d7f964005afdd680007011229..."} 
[2026-07-27 08:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1885008012d7f964005afdd680007011229..."} 
[2026-07-27 08:38:38] local.INFO: Processing buffer {"connection_id":142788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1885008012d7f964005afdd680007011229..."} 
[2026-07-27 08:38:38] local.INFO: Packet analysis {"connection_id":142788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa188"} 
[2026-07-27 08:38:38] local.INFO: Extracted packet for processing {"connection_id":142788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa188"} 
[2026-07-27 08:38:38] local.INFO: GPS Element Parsed {"raw_longitude":763336256,"raw_latitude":95411560,"longitude_deg":76.3336256,"latitude_deg":9.541156,"altitude":7,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7f9640","hex_latitude":"05afdd68","is_valid_coordinates":true} 
[2026-07-27 08:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:38:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991101440001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:38:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826040631492608,"note":"Value kept but may cause issues"} 
[2026-07-27 08:38:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193606082492981248,"note":"Value kept but may cause issues"} 
[2026-07-27 08:38:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:38:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785121493000,"timestamp_ms":1785121493000,"timestamp_seconds":1785121493,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1885008"} 
[2026-07-27 08:38:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:38:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 08:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-27 08:38:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:38:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:38:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:38:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:38:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:38:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:38:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:38:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:38:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:38:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:38:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991101440001,"66":26560,"250":206,"85":12544,"24":0,"16":358826040631492608,"45":9193606082492981248},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 08:38:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:38:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:38:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991101440001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:38:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 08:38:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:38:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826040631492608,"km_value":358826040631492.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:38:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193606082492981248,"description":"Unknown IO ID 45"} 
[2026-07-27 08:38:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991101440001,"power":26560,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193606082492981248}} 
[2026-07-27 08:38:38] local.INFO: DEBUG: GPS processor result {"connection_id":142788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:38:38] local.INFO: GPS data processed {"connection_id":142788,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:38:38] local.INFO: Acknowledgment sent {"connection_id":142788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:39:06] local.INFO: TCP Data received {"connection_id":145085,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa18abd20012d7cc94005eaea28000a010326..."} 
[2026-07-27 08:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa18abd20012d7cc94005eaea28000a010326..."} 
[2026-07-27 08:39:06] local.INFO: Processing buffer {"connection_id":145085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa18abd20012d7cc94005eaea28000a010326..."} 
[2026-07-27 08:39:06] local.INFO: Packet analysis {"connection_id":145085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa18a"} 
[2026-07-27 08:39:06] local.INFO: Extracted packet for processing {"connection_id":145085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa18a"} 
[2026-07-27 08:39:06] local.INFO: GPS Element Parsed {"raw_longitude":763152704,"raw_latitude":99281448,"longitude_deg":76.3152704,"latitude_deg":9.9281448,"altitude":10,"angle":259,"satellites":38,"speed":21,"hex_longitude":"2d7cc940","hex_latitude":"05eaea28","is_valid_coordinates":true} 
[2026-07-27 08:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:39:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991137536001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:39:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111551914268688384,"note":"Value kept but may cause issues"} 
[2026-07-27 08:39:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8998755030855903232,"note":"Value kept but may cause issues"} 
[2026-07-27 08:39:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:39:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785121652000,"timestamp_ms":1785121652000,"timestamp_seconds":1785121652,"priority":1,"record_length":96,"hex_timestamp":"0000019fa18abd20"} 
[2026-07-27 08:39:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:39:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-27 08:39:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:39:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:39:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:39:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:39:06] local.INFO: Teltonika packet parsed successfully {"connection_id":145085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:39:06] local.INFO: Passing IMEI to GPS processor {"connection_id":145085,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:39:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":145085,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:39:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:39:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 08:39:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 08:39:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991137536001,"66":12863,"158":206,"87":13824,"24":21,"16":111551914268688384,"45":8998755030855903232},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-07-27 08:39:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 08:39:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 08:39:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991137536001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:39:06] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-07-27 08:39:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 08:39:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111551914268688384,"km_value":111551914268688.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:39:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8998755030855903232,"description":"Unknown IO ID 45"} 
[2026-07-27 08:39:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991137536001,"power":12863,"unknown_158":206,"unknown_87":13824,"ignition":21,"odometer":null,"unknown_45":8998755030855903232}} 
[2026-07-27 08:39:06] local.INFO: DEBUG: GPS processor result {"connection_id":145085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552017,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:39:06] local.INFO: GPS data processed {"connection_id":145085,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:39:06] local.INFO: Acknowledgment sent {"connection_id":145085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:39:10] local.INFO: TCP Data received {"connection_id":142788,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1885008012d7f964005afdd680007011229..."} 
[2026-07-27 08:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1885008012d7f964005afdd680007011229..."} 
[2026-07-27 08:39:10] local.INFO: Processing buffer {"connection_id":142788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1885008012d7f964005afdd680007011229..."} 
[2026-07-27 08:39:10] local.INFO: Packet analysis {"connection_id":142788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa188"} 
[2026-07-27 08:39:10] local.INFO: Extracted packet for processing {"connection_id":142788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa188"} 
[2026-07-27 08:39:10] local.INFO: GPS Element Parsed {"raw_longitude":763336256,"raw_latitude":95411560,"longitude_deg":76.3336256,"latitude_deg":9.541156,"altitude":7,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7f9640","hex_latitude":"05afdd68","is_valid_coordinates":true} 
[2026-07-27 08:39:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:39:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991101440001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:39:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826040631492608,"note":"Value kept but may cause issues"} 
[2026-07-27 08:39:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193606082492981248,"note":"Value kept but may cause issues"} 
[2026-07-27 08:39:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:39:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785121493000,"timestamp_ms":1785121493000,"timestamp_seconds":1785121493,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1885008"} 
[2026-07-27 08:39:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:39:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 08:39:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-27 08:39:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:39:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:39:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:39:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:39:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:39:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:39:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08: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-07-27 08:39:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:39:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:39:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991101440001,"66":26560,"250":206,"85":12544,"24":0,"16":358826040631492608,"45":9193606082492981248},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 08:39:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:39:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:39:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991101440001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:39:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 08:39:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:39:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826040631492608,"km_value":358826040631492.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:39:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193606082492981248,"description":"Unknown IO ID 45"} 
[2026-07-27 08:39:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991101440001,"power":26560,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193606082492981248}} 
[2026-07-27 08:39:10] local.INFO: DEBUG: GPS processor result {"connection_id":142788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:39:10] local.INFO: GPS data processed {"connection_id":142788,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:39:10] local.INFO: Acknowledgment sent {"connection_id":142788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:39:30] local.INFO: TCP Data received {"connection_id":142789,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142789,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:39:30] local.INFO: Processing buffer {"connection_id":142789,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:39:30] local.INFO: IMEI packet received {"connection_id":142789,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 08:39:30] local.INFO: IMEI acknowledgment sent {"connection_id":142789,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:39:33] local.INFO: TCP Data received {"connection_id":143765,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:39:33] local.INFO: Processing buffer {"connection_id":143765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:39:33] local.INFO: IMEI packet received {"connection_id":143765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 08:39:33] local.INFO: IMEI acknowledgment sent {"connection_id":143765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:39:35] local.INFO: TCP Data received {"connection_id":142789,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142789,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:39:35] local.INFO: Processing buffer {"connection_id":142789,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:39:35] local.INFO: IMEI packet received {"connection_id":142789,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 08:39:35] local.INFO: IMEI acknowledgment sent {"connection_id":142789,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:39:35] local.INFO: TCP Data received {"connection_id":142789,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa18afba0012d7ca58005eae2400007010025..."} 
[2026-07-27 08:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa18afba0012d7ca58005eae2400007010025..."} 
[2026-07-27 08:39:35] local.INFO: Processing buffer {"connection_id":142789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa18afba0012d7ca58005eae2400007010025..."} 
[2026-07-27 08:39:35] local.INFO: Packet analysis {"connection_id":142789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa18a"} 
[2026-07-27 08:39:35] local.INFO: Extracted packet for processing {"connection_id":142789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa18a"} 
[2026-07-27 08:39:35] local.INFO: GPS Element Parsed {"raw_longitude":763143552,"raw_latitude":99279424,"longitude_deg":76.3143552,"latitude_deg":9.9279424,"altitude":7,"angle":256,"satellites":37,"speed":17,"hex_longitude":"2d7ca580","hex_latitude":"05eae240","is_valid_coordinates":true} 
[2026-07-27 08:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:39:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991142912001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:39:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111552360945287168,"note":"Value kept but may cause issues"} 
[2026-07-27 08:39:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8991788525182134272,"note":"Value kept but may cause issues"} 
[2026-07-27 08:39:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:39:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785121668000,"timestamp_ms":1785121668000,"timestamp_seconds":1785121668,"priority":1,"record_length":96,"hex_timestamp":"0000019fa18afba0"} 
[2026-07-27 08:39:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:39:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-27 08:39:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:39:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:39:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:39:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:39:35] local.INFO: Teltonika packet parsed successfully {"connection_id":142789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:39:35] local.INFO: Passing IMEI to GPS processor {"connection_id":142789,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:39:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":142789,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:39:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:39:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 08:39:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 08:39:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991142912001,"66":12939,"8":206,"87":13824,"24":17,"16":111552360945287168,"45":8991788525182134272},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-07-27 08:39:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 08:39:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 08:39:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991142912001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:39:35] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-07-27 08:39:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 08:39:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111552360945287168,"km_value":111552360945287.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:39:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8991788525182134272,"description":"Unknown IO ID 45"} 
[2026-07-27 08:39:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991142912001,"power":12939,"unknown_8":206,"unknown_87":13824,"ignition":17,"odometer":null,"unknown_45":8991788525182134272}} 
[2026-07-27 08:39:36] local.INFO: DEBUG: GPS processor result {"connection_id":142789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552019,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:39:36] local.INFO: GPS data processed {"connection_id":142789,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:39:36] local.INFO: Acknowledgment sent {"connection_id":142789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:39:38] local.INFO: TCP Data received {"connection_id":143765,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:39:38] local.INFO: Processing buffer {"connection_id":143765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:39:38] local.INFO: IMEI packet received {"connection_id":143765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 08:39:38] local.INFO: IMEI acknowledgment sent {"connection_id":143765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:39:38] local.INFO: TCP Data received {"connection_id":143765,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1885008012d7f964005afdd680007011229..."} 
[2026-07-27 08:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1885008012d7f964005afdd680007011229..."} 
[2026-07-27 08:39:38] local.INFO: Processing buffer {"connection_id":143765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1885008012d7f964005afdd680007011229..."} 
[2026-07-27 08:39:38] local.INFO: Packet analysis {"connection_id":143765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa188"} 
[2026-07-27 08:39:38] local.INFO: Extracted packet for processing {"connection_id":143765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa188"} 
[2026-07-27 08:39:38] local.INFO: GPS Element Parsed {"raw_longitude":763336256,"raw_latitude":95411560,"longitude_deg":76.3336256,"latitude_deg":9.541156,"altitude":7,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7f9640","hex_latitude":"05afdd68","is_valid_coordinates":true} 
[2026-07-27 08:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:39:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991101440001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:39:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826040631492608,"note":"Value kept but may cause issues"} 
[2026-07-27 08:39:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193606082492981248,"note":"Value kept but may cause issues"} 
[2026-07-27 08:39:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:39:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785121493000,"timestamp_ms":1785121493000,"timestamp_seconds":1785121493,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1885008"} 
[2026-07-27 08:39:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:39:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 08:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-27 08:39:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:39:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:39:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:39:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:39:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:39:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:39:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:39:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:39:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:39:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:39:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991101440001,"66":26560,"250":206,"85":12544,"24":0,"16":358826040631492608,"45":9193606082492981248},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 08:39:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:39:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:39:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991101440001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:39:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 08:39:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:39:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826040631492608,"km_value":358826040631492.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:39:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193606082492981248,"description":"Unknown IO ID 45"} 
[2026-07-27 08:39:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991101440001,"power":26560,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193606082492981248}} 
[2026-07-27 08:39:38] local.INFO: DEBUG: GPS processor result {"connection_id":143765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:39:38] local.INFO: GPS data processed {"connection_id":143765,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:39:38] local.INFO: Acknowledgment sent {"connection_id":143765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:39:46] local.INFO: TCP Data received {"connection_id":142673,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142673,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:39:46] local.INFO: Processing buffer {"connection_id":142673,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:39:46] local.INFO: IMEI packet received {"connection_id":142673,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 08:39:46] local.INFO: IMEI acknowledgment sent {"connection_id":142673,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:39:46] local.INFO: TCP Data received {"connection_id":142673,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa18c8628012d0da0800705d5e0001300841e..."} 
[2026-07-27 08:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa18c8628012d0da0800705d5e0001300841e..."} 
[2026-07-27 08:39:46] local.INFO: Processing buffer {"connection_id":142673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa18c8628012d0da0800705d5e0001300841e..."} 
[2026-07-27 08:39:46] local.INFO: Packet analysis {"connection_id":142673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa18c"} 
[2026-07-27 08:39:46] local.INFO: Extracted packet for processing {"connection_id":142673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa18c"} 
[2026-07-27 08:39:46] local.INFO: GPS Element Parsed {"raw_longitude":755867776,"raw_latitude":117822944,"longitude_deg":75.5867776,"latitude_deg":11.7822944,"altitude":19,"angle":132,"satellites":30,"speed":19,"hex_longitude":"2d0da080","hex_latitude":"0705d5e0","is_valid_coordinates":true} 
[2026-07-27 08:39:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:39:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991172608001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:39:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25797532084862976,"note":"Value kept but may cause issues"} 
[2026-07-27 08:39:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":981432905208621056,"note":"Value kept but may cause issues"} 
[2026-07-27 08:39:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:39:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785121769000,"timestamp_ms":1785121769000,"timestamp_seconds":1785121769,"priority":1,"record_length":96,"hex_timestamp":"0000019fa18c8628"} 
[2026-07-27 08:39:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:39:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08:39:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-27 08:39:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:39:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:39:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:39:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:39:46] local.INFO: Teltonika packet parsed successfully {"connection_id":142673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:39:46] local.INFO: Passing IMEI to GPS processor {"connection_id":142673,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:39:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":142673,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:39:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:39:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 08:39:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 08:39:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991172608001,"66":14515,"167":206,"94":11008,"24":19,"16":25797532084862976,"45":981432905208621056},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-07-27 08:39:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 08:39:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 08:39:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991172608001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:39:46] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-27 08:39:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-27 08:39:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25797532084862976,"km_value":25797532084862.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:39:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":981432905208621056,"description":"Unknown IO ID 45"} 
[2026-07-27 08:39:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991172608001,"power":14515,"unknown_167":206,"unknown_94":11008,"ignition":19,"odometer":null,"unknown_45":981432905208621056}} 
[2026-07-27 08:39:46] local.INFO: DEBUG: GPS processor result {"connection_id":142673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552021,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:39:46] local.INFO: GPS data processed {"connection_id":142673,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:39:46] local.INFO: Acknowledgment sent {"connection_id":142673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:40:07] local.INFO: TCP Data received {"connection_id":142789,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa18b2e68012d7c850005ead620000600f325..."} 
[2026-07-27 08:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa18b2e68012d7c850005ead620000600f325..."} 
[2026-07-27 08:40:07] local.INFO: Processing buffer {"connection_id":142789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa18b2e68012d7c850005ead620000600f325..."} 
[2026-07-27 08:40:07] local.INFO: Packet analysis {"connection_id":142789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa18b"} 
[2026-07-27 08:40:07] local.INFO: Extracted packet for processing {"connection_id":142789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa18b"} 
[2026-07-27 08:40:07] local.INFO: GPS Element Parsed {"raw_longitude":763135232,"raw_latitude":99276320,"longitude_deg":76.3135232,"latitude_deg":9.927632,"altitude":6,"angle":243,"satellites":37,"speed":21,"hex_longitude":"2d7c8500","hex_latitude":"05ead620","is_valid_coordinates":true} 
[2026-07-27 08:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:40:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991147008001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:40:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111552786147049472,"note":"Value kept but may cause issues"} 
[2026-07-27 08:40:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8981725794764210176,"note":"Value kept but may cause issues"} 
[2026-07-27 08:40:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:40:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785121681000,"timestamp_ms":1785121681000,"timestamp_seconds":1785121681,"priority":1,"record_length":96,"hex_timestamp":"0000019fa18b2e68"} 
[2026-07-27 08:40:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:40:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-27 08:40:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:40:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:40:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:40:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:40:07] local.INFO: Teltonika packet parsed successfully {"connection_id":142789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:40:07] local.INFO: Passing IMEI to GPS processor {"connection_id":142789,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:40:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":142789,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:40:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:40:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 08:40:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 08:40:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991147008001,"66":12765,"8":206,"87":13824,"24":21,"16":111552786147049472,"45":8981725794764210176},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-07-27 08:40:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 08:40:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 08:40:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991147008001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:40:07] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-07-27 08:40:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 08:40:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111552786147049472,"km_value":111552786147049.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:40:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8981725794764210176,"description":"Unknown IO ID 45"} 
[2026-07-27 08:40:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991147008001,"power":12765,"unknown_8":206,"unknown_87":13824,"ignition":21,"odometer":null,"unknown_45":8981725794764210176}} 
[2026-07-27 08:40:07] local.INFO: DEBUG: GPS processor result {"connection_id":142789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552022,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:40:07] local.INFO: GPS data processed {"connection_id":142789,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:40:07] local.INFO: Acknowledgment sent {"connection_id":142789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:40:09] local.INFO: TCP Data received {"connection_id":143765,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1885008012d7f964005afdd680007011229..."} 
[2026-07-27 08:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1885008012d7f964005afdd680007011229..."} 
[2026-07-27 08:40:09] local.INFO: Processing buffer {"connection_id":143765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1885008012d7f964005afdd680007011229..."} 
[2026-07-27 08:40:09] local.INFO: Packet analysis {"connection_id":143765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa188"} 
[2026-07-27 08:40:09] local.INFO: Extracted packet for processing {"connection_id":143765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa188"} 
[2026-07-27 08:40:09] local.INFO: GPS Element Parsed {"raw_longitude":763336256,"raw_latitude":95411560,"longitude_deg":76.3336256,"latitude_deg":9.541156,"altitude":7,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7f9640","hex_latitude":"05afdd68","is_valid_coordinates":true} 
[2026-07-27 08:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:40:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991101440001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:40:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826040631492608,"note":"Value kept but may cause issues"} 
[2026-07-27 08:40:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193606082492981248,"note":"Value kept but may cause issues"} 
[2026-07-27 08:40:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:40:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785121493000,"timestamp_ms":1785121493000,"timestamp_seconds":1785121493,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1885008"} 
[2026-07-27 08:40:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:40:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-27 08:40:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:40:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:40:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:40:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:40:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:40:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:40:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08: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-07-27 08:40:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:40:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:40:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991101440001,"66":26560,"250":206,"85":12544,"24":0,"16":358826040631492608,"45":9193606082492981248},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 08:40:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:40:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:40:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991101440001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:40:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 08:40:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:40:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826040631492608,"km_value":358826040631492.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:40:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193606082492981248,"description":"Unknown IO ID 45"} 
[2026-07-27 08:40:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991101440001,"power":26560,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193606082492981248}} 
[2026-07-27 08:40:09] local.INFO: DEBUG: GPS processor result {"connection_id":143765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:40:09] local.INFO: GPS data processed {"connection_id":143765,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:40:09] local.INFO: Acknowledgment sent {"connection_id":143765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:40:17] local.INFO: TCP Data received {"connection_id":142673,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa18c8df8012d0da2800705d3280013009c1e..."} 
[2026-07-27 08:40:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa18c8df8012d0da2800705d3280013009c1e..."} 
[2026-07-27 08:40:17] local.INFO: Processing buffer {"connection_id":142673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa18c8df8012d0da2800705d3280013009c1e..."} 
[2026-07-27 08:40:17] local.INFO: Packet analysis {"connection_id":142673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa18c"} 
[2026-07-27 08:40:17] local.INFO: Extracted packet for processing {"connection_id":142673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa18c"} 
[2026-07-27 08:40:17] local.INFO: GPS Element Parsed {"raw_longitude":755868288,"raw_latitude":117822248,"longitude_deg":75.5868288,"latitude_deg":11.7822248,"altitude":19,"angle":156,"satellites":30,"speed":15,"hex_longitude":"2d0da280","hex_latitude":"0705d328","is_valid_coordinates":true} 
[2026-07-27 08: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-07-27 08:40:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991172864001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:40:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25797575034535936,"note":"Value kept but may cause issues"} 
[2026-07-27 08:40:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":981925486417797120,"note":"Value kept but may cause issues"} 
[2026-07-27 08:40:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:40:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785121771000,"timestamp_ms":1785121771000,"timestamp_seconds":1785121771,"priority":1,"record_length":96,"hex_timestamp":"0000019fa18c8df8"} 
[2026-07-27 08:40:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:40: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-07-27 08: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-27 08:40:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08: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-07-27 08:40:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:40:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:40:17] local.INFO: Teltonika packet parsed successfully {"connection_id":142673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:40:17] local.INFO: Passing IMEI to GPS processor {"connection_id":142673,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:40:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":142673,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:40:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:40:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 08:40:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 08:40:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991172864001,"66":14428,"167":206,"94":11008,"24":15,"16":25797575034535936,"45":981925486417797120},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-07-27 08:40:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 08:40:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 08:40:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991172864001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:40:17] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-27 08:40:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-27 08:40:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25797575034535936,"km_value":25797575034535.938,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:40:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":981925486417797120,"description":"Unknown IO ID 45"} 
[2026-07-27 08:40:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991172864001,"power":14428,"unknown_167":206,"unknown_94":11008,"ignition":15,"odometer":null,"unknown_45":981925486417797120}} 
[2026-07-27 08:40:17] local.INFO: DEBUG: GPS processor result {"connection_id":142673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552024,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:40:17] local.INFO: GPS data processed {"connection_id":142673,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:40:17] local.INFO: Acknowledgment sent {"connection_id":142673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:40:30] local.INFO: TCP Data received {"connection_id":145087,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145087,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:40:30] local.INFO: Processing buffer {"connection_id":145087,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:40:30] local.INFO: IMEI packet received {"connection_id":145087,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 08:40:30] local.INFO: IMEI acknowledgment sent {"connection_id":145087,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:40:31] local.INFO: TCP Data received {"connection_id":145087,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145087,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:40:31] local.INFO: Processing buffer {"connection_id":145087,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:40:31] local.INFO: IMEI packet received {"connection_id":145087,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 08:40:31] local.INFO: IMEI acknowledgment sent {"connection_id":145087,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:40:32] local.INFO: TCP Data received {"connection_id":145087,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145087,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:40:32] local.INFO: Processing buffer {"connection_id":145087,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:40:32] local.INFO: IMEI packet received {"connection_id":145087,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 08:40:32] local.INFO: IMEI acknowledgment sent {"connection_id":145087,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:40:33] local.INFO: TCP Data received {"connection_id":145088,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:40:33] local.INFO: Processing buffer {"connection_id":145088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:40:33] local.INFO: IMEI packet received {"connection_id":145088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 08:40:33] local.INFO: IMEI acknowledgment sent {"connection_id":145088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:40:33] local.INFO: TCP Data received {"connection_id":145088,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:40:33] local.INFO: Processing buffer {"connection_id":145088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:40:33] local.INFO: IMEI packet received {"connection_id":145088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 08:40:33] local.INFO: IMEI acknowledgment sent {"connection_id":145088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:40:34] local.INFO: TCP Data received {"connection_id":145087,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145087,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:40:34] local.INFO: Processing buffer {"connection_id":145087,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:40:34] local.INFO: IMEI packet received {"connection_id":145087,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 08:40:34] local.INFO: IMEI acknowledgment sent {"connection_id":145087,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:40:35] local.INFO: TCP Data received {"connection_id":145087,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa18d64d0012d7c408005eac7b00005012725..."} 
[2026-07-27 08:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa18d64d0012d7c408005eac7b00005012725..."} 
[2026-07-27 08:40:35] local.INFO: Processing buffer {"connection_id":145087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa18d64d0012d7c408005eac7b00005012725..."} 
[2026-07-27 08:40:35] local.INFO: Packet analysis {"connection_id":145087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa18d"} 
[2026-07-27 08:40:35] local.INFO: Extracted packet for processing {"connection_id":145087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa18d"} 
[2026-07-27 08:40:35] local.INFO: GPS Element Parsed {"raw_longitude":763117696,"raw_latitude":99272624,"longitude_deg":76.3117696,"latitude_deg":9.9272624,"altitude":5,"angle":295,"satellites":37,"speed":2,"hex_longitude":"2d7c4080","hex_latitude":"05eac7b0","is_valid_coordinates":true} 
[2026-07-27 08:40:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:40:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991185408001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:40:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111553679500247040,"note":"Value kept but may cause issues"} 
[2026-07-27 08:40:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8953930140812247040,"note":"Value kept but may cause issues"} 
[2026-07-27 08:40:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:40:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785121826000,"timestamp_ms":1785121826000,"timestamp_seconds":1785121826,"priority":1,"record_length":96,"hex_timestamp":"0000019fa18d64d0"} 
[2026-07-27 08:40:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:40:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08:40:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-27 08:40:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":916,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:40:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:40:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:40:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:40:35] local.INFO: Teltonika packet parsed successfully {"connection_id":145087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:40:35] local.INFO: Passing IMEI to GPS processor {"connection_id":145087,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:40:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":145087,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:40:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:40:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 08:40:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 08:40:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991185408001,"66":12645,"10":206,"87":13824,"24":2,"16":111553679500247040,"45":8953930140812247040},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-07-27 08:40:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 08:40:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 08:40:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991185408001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:40:35] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-27 08:40:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 08:40:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111553679500247040,"km_value":111553679500247.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:40:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8953930140812247040,"description":"Unknown IO ID 45"} 
[2026-07-27 08:40:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991185408001,"power":12645,"unknown_10":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":8953930140812247040}} 
[2026-07-27 08:40:35] local.INFO: DEBUG: GPS processor result {"connection_id":145087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552025,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:40:35] local.INFO: GPS data processed {"connection_id":145087,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:40:35] local.INFO: Acknowledgment sent {"connection_id":145087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:40:38] local.INFO: TCP Data received {"connection_id":145088,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:40:38] local.INFO: Processing buffer {"connection_id":145088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:40:38] local.INFO: IMEI packet received {"connection_id":145088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 08:40:38] local.INFO: IMEI acknowledgment sent {"connection_id":145088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:40:38] local.INFO: TCP Data received {"connection_id":145088,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fa18cebb8012d7f930005afdaf0000b01122a..."} 
[2026-07-27 08:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa18cebb8012d7f930005afdaf0000b01122a..."} 
[2026-07-27 08:40:38] local.INFO: Processing buffer {"connection_id":145088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa18cebb8012d7f930005afdaf0000b01122a..."} 
[2026-07-27 08:40:38] local.INFO: Packet analysis {"connection_id":145088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa18c"} 
[2026-07-27 08:40:38] local.INFO: Extracted packet for processing {"connection_id":145088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa18c"} 
[2026-07-27 08:40:38] local.INFO: GPS Element Parsed {"raw_longitude":763335424,"raw_latitude":95410928,"longitude_deg":76.3335424,"latitude_deg":9.5410928,"altitude":11,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7f9300","hex_latitude":"05afdaf0","is_valid_coordinates":true} 
[2026-07-27 08:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:40:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991102208001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:40:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826040631492608,"note":"Value kept but may cause issues"} 
[2026-07-27 08:40:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193606082492983296,"note":"Value kept but may cause issues"} 
[2026-07-27 08:40:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:40:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785121795000,"timestamp_ms":1785121795000,"timestamp_seconds":1785121795,"priority":1,"record_length":96,"hex_timestamp":"0000019fa18cebb8"} 
[2026-07-27 08:40:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:40:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 08:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-07-27 08:40:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2441,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:40:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:40:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:40:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:40:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:40:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:40:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:40:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:40:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:40:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:40:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991102208001,"66":25734,"250":206,"85":12544,"24":0,"16":358826040631492608,"45":9193606082492983296},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 08:40:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:40:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:40:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991102208001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:40:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 08:40:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:40:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826040631492608,"km_value":358826040631492.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:40:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193606082492983296,"description":"Unknown IO ID 45"} 
[2026-07-27 08:40:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991102208001,"power":25734,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193606082492983296}} 
[2026-07-27 08:40:38] local.INFO: DEBUG: GPS processor result {"connection_id":145088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:40:38] local.INFO: GPS data processed {"connection_id":145088,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:40:38] local.INFO: Acknowledgment sent {"connection_id":145088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:40:40] local.INFO: TCP Data received {"connection_id":142791,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142791,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:40:40] local.INFO: Processing buffer {"connection_id":142791,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:40:40] local.INFO: IMEI packet received {"connection_id":142791,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 08:40:40] local.INFO: IMEI acknowledgment sent {"connection_id":142791,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:40:43] local.INFO: TCP Data received {"connection_id":142791,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142791,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:40:43] local.INFO: Processing buffer {"connection_id":142791,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:40:43] local.INFO: IMEI packet received {"connection_id":142791,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 08:40:43] local.INFO: IMEI acknowledgment sent {"connection_id":142791,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:40:45] local.INFO: TCP Data received {"connection_id":142791,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142791,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:40:45] local.INFO: Processing buffer {"connection_id":142791,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:40:45] local.INFO: IMEI packet received {"connection_id":142791,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 08:40:45] local.INFO: IMEI acknowledgment sent {"connection_id":142791,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:40:46] local.INFO: TCP Data received {"connection_id":142791,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa18c91e0012d0da2c00705d1c8001300aa1e..."} 
[2026-07-27 08:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa18c91e0012d0da2c00705d1c8001300aa1e..."} 
[2026-07-27 08:40:46] local.INFO: Processing buffer {"connection_id":142791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa18c91e0012d0da2c00705d1c8001300aa1e..."} 
[2026-07-27 08:40:46] local.INFO: Packet analysis {"connection_id":142791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa18c"} 
[2026-07-27 08:40:46] local.INFO: Extracted packet for processing {"connection_id":142791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa18c"} 
[2026-07-27 08:40:46] local.INFO: GPS Element Parsed {"raw_longitude":755868352,"raw_latitude":117821896,"longitude_deg":75.5868352,"latitude_deg":11.7821896,"altitude":19,"angle":170,"satellites":30,"speed":15,"hex_longitude":"2d0da2c0","hex_latitude":"0705d1c8","is_valid_coordinates":true} 
[2026-07-27 08:40:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:40:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991173376001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:40:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25797592214405120,"note":"Value kept but may cause issues"} 
[2026-07-27 08:40:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":982488436371040256,"note":"Value kept but may cause issues"} 
[2026-07-27 08:40:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:40:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785121772000,"timestamp_ms":1785121772000,"timestamp_seconds":1785121772,"priority":1,"record_length":96,"hex_timestamp":"0000019fa18c91e0"} 
[2026-07-27 08:40:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:40:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08:40:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-27 08:40:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:40:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:40:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:40:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:40:46] local.INFO: Teltonika packet parsed successfully {"connection_id":142791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:40:46] local.INFO: Passing IMEI to GPS processor {"connection_id":142791,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:40:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":142791,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:40:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:40:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 08:40:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 08:40:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991173376001,"66":14439,"167":206,"94":11008,"24":15,"16":25797592214405120,"45":982488436371040256},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-07-27 08:40:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 08:40:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 08:40:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991173376001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:40:46] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-27 08:40:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-27 08:40:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25797592214405120,"km_value":25797592214405.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:40:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":982488436371040256,"description":"Unknown IO ID 45"} 
[2026-07-27 08:40:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991173376001,"power":14439,"unknown_167":206,"unknown_94":11008,"ignition":15,"odometer":null,"unknown_45":982488436371040256}} 
[2026-07-27 08:40:46] local.INFO: DEBUG: GPS processor result {"connection_id":142791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552027,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:40:46] local.INFO: GPS data processed {"connection_id":142791,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:40:46] local.INFO: Acknowledgment sent {"connection_id":142791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:41:00] local.INFO: TCP Data received {"connection_id":143766,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 08:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143766,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 08:41:00] local.INFO: Processing buffer {"connection_id":143766,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 08:41:00] local.INFO: IMEI packet received {"connection_id":143766,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 08:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":143766,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:41:06] local.INFO: TCP Data received {"connection_id":145087,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa18d7088012d7c3fc005eac8100005013925..."} 
[2026-07-27 08:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa18d7088012d7c3fc005eac8100005013925..."} 
[2026-07-27 08:41:06] local.INFO: Processing buffer {"connection_id":145087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa18d7088012d7c3fc005eac8100005013925..."} 
[2026-07-27 08:41:06] local.INFO: Packet analysis {"connection_id":145087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa18d"} 
[2026-07-27 08:41:06] local.INFO: Extracted packet for processing {"connection_id":145087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa18d"} 
[2026-07-27 08:41:06] local.INFO: GPS Element Parsed {"raw_longitude":763117504,"raw_latitude":99272720,"longitude_deg":76.3117504,"latitude_deg":9.927272,"altitude":5,"angle":313,"satellites":37,"speed":1,"hex_longitude":"2d7c3fc0","hex_latitude":"05eac810","is_valid_coordinates":true} 
[2026-07-27 08:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:41:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991187456001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:41:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111553688090181632,"note":"Value kept but may cause issues"} 
[2026-07-27 08:41:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8953296822114693120,"note":"Value kept but may cause issues"} 
[2026-07-27 08:41:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:41:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785121829000,"timestamp_ms":1785121829000,"timestamp_seconds":1785121829,"priority":1,"record_length":96,"hex_timestamp":"0000019fa18d7088"} 
[2026-07-27 08:41:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:41:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-27 08:41:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:41:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:41:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:41:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:41:06] local.INFO: Teltonika packet parsed successfully {"connection_id":145087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:41:06] local.INFO: Passing IMEI to GPS processor {"connection_id":145087,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:41:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":145087,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:41:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:41:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 08:41:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 08:41:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991187456001,"66":12439,"10":206,"87":13824,"24":1,"16":111553688090181632,"45":8953296822114693120},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-07-27 08:41:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 08:41:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 08:41:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991187456001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:41:06] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-27 08:41:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 08:41:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111553688090181632,"km_value":111553688090181.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:41:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8953296822114693120,"description":"Unknown IO ID 45"} 
[2026-07-27 08:41:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991187456001,"power":12439,"unknown_10":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":8953296822114693120}} 
[2026-07-27 08:41:06] local.INFO: DEBUG: GPS processor result {"connection_id":145087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552028,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:41:06] local.INFO: GPS data processed {"connection_id":145087,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:41:06] local.INFO: Acknowledgment sent {"connection_id":145087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:41:09] local.INFO: TCP Data received {"connection_id":145088,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fa18cebb8012d7f930005afdaf0000b01122a..."} 
[2026-07-27 08:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa18cebb8012d7f930005afdaf0000b01122a..."} 
[2026-07-27 08:41:09] local.INFO: Processing buffer {"connection_id":145088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa18cebb8012d7f930005afdaf0000b01122a..."} 
[2026-07-27 08:41:09] local.INFO: Packet analysis {"connection_id":145088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa18c"} 
[2026-07-27 08:41:09] local.INFO: Extracted packet for processing {"connection_id":145088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa18c"} 
[2026-07-27 08:41:09] local.INFO: GPS Element Parsed {"raw_longitude":763335424,"raw_latitude":95410928,"longitude_deg":76.3335424,"latitude_deg":9.5410928,"altitude":11,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7f9300","hex_latitude":"05afdaf0","is_valid_coordinates":true} 
[2026-07-27 08:41:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:41:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991102208001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:41:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826040631492608,"note":"Value kept but may cause issues"} 
[2026-07-27 08:41:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193606082492983296,"note":"Value kept but may cause issues"} 
[2026-07-27 08:41:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:41:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785121795000,"timestamp_ms":1785121795000,"timestamp_seconds":1785121795,"priority":1,"record_length":96,"hex_timestamp":"0000019fa18cebb8"} 
[2026-07-27 08:41:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:41:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 08:41:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-07-27 08:41:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2441,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:41:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:41:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:41:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:41:09] local.INFO: Teltonika packet parsed successfully {"connection_id":145088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:41:09] local.INFO: Passing IMEI to GPS processor {"connection_id":145088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:41:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":145088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:41:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:41:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:41:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:41:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991102208001,"66":25734,"250":206,"85":12544,"24":0,"16":358826040631492608,"45":9193606082492983296},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 08:41:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:41:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:41:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991102208001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:41:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 08:41:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:41:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826040631492608,"km_value":358826040631492.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:41:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193606082492983296,"description":"Unknown IO ID 45"} 
[2026-07-27 08:41:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991102208001,"power":25734,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193606082492983296}} 
[2026-07-27 08:41:09] local.INFO: DEBUG: GPS processor result {"connection_id":145088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:41:09] local.INFO: GPS data processed {"connection_id":145088,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:41:09] local.INFO: Acknowledgment sent {"connection_id":145088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:41:17] local.INFO: TCP Data received {"connection_id":142791,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa18dca60012d0da2c00705bc280014012720..."} 
[2026-07-27 08:41:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa18dca60012d0da2c00705bc280014012720..."} 
[2026-07-27 08:41:17] local.INFO: Processing buffer {"connection_id":142791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa18dca60012d0da2c00705bc280014012720..."} 
[2026-07-27 08:41:17] local.INFO: Packet analysis {"connection_id":142791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa18d"} 
[2026-07-27 08:41:17] local.INFO: Extracted packet for processing {"connection_id":142791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa18d"} 
[2026-07-27 08:41:17] local.INFO: GPS Element Parsed {"raw_longitude":755868352,"raw_latitude":117816360,"longitude_deg":75.5868352,"latitude_deg":11.781636,"altitude":20,"angle":295,"satellites":32,"speed":1,"hex_longitude":"2d0da2c0","hex_latitude":"0705bc28","is_valid_coordinates":true} 
[2026-07-27 08: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-07-27 08:41:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991193088001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:41:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25797957286625280,"note":"Value kept but may cause issues"} 
[2026-07-27 08:41:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":982840280090392576,"note":"Value kept but may cause issues"} 
[2026-07-27 08:41:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:41:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785121852000,"timestamp_ms":1785121852000,"timestamp_seconds":1785121852,"priority":1,"record_length":96,"hex_timestamp":"0000019fa18dca60"} 
[2026-07-27 08:41:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:41:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-27 08:41:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08: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-07-27 08:41:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:41:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:41:17] local.INFO: Teltonika packet parsed successfully {"connection_id":142791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:41:17] local.INFO: Passing IMEI to GPS processor {"connection_id":142791,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:41:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":142791,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:41:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:41:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 08:41:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 08:41:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991193088001,"66":14450,"167":206,"94":11008,"24":1,"16":25797957286625280,"45":982840280090392576},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-07-27 08:41:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 08:41:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 08:41:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991193088001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:41:17] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-27 08:41:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-27 08:41:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25797957286625280,"km_value":25797957286625.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:41:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":982840280090392576,"description":"Unknown IO ID 45"} 
[2026-07-27 08:41:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991193088001,"power":14450,"unknown_167":206,"unknown_94":11008,"ignition":1,"odometer":null,"unknown_45":982840280090392576}} 
[2026-07-27 08:41:18] local.INFO: DEBUG: GPS processor result {"connection_id":142791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552030,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:41:18] local.INFO: GPS data processed {"connection_id":142791,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:41:18] local.INFO: Acknowledgment sent {"connection_id":142791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:41:30] local.INFO: TCP Data received {"connection_id":142792,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142792,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:41:30] local.INFO: Processing buffer {"connection_id":142792,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:41:30] local.INFO: IMEI packet received {"connection_id":142792,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 08:41:30] local.INFO: IMEI acknowledgment sent {"connection_id":142792,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:41:34] local.INFO: TCP Data received {"connection_id":142792,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142792,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:41:34] local.INFO: Processing buffer {"connection_id":142792,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:41:34] local.INFO: IMEI packet received {"connection_id":142792,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 08:41:34] local.INFO: IMEI acknowledgment sent {"connection_id":142792,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:41:35] local.INFO: TCP Data received {"connection_id":142792,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142792,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:41:35] local.INFO: Processing buffer {"connection_id":142792,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:41:35] local.INFO: IMEI packet received {"connection_id":142792,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 08:41:35] local.INFO: IMEI acknowledgment sent {"connection_id":142792,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:41:36] local.INFO: TCP Data received {"connection_id":142792,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa18e1880012d7c270005eb2be8000a015126..."} 
[2026-07-27 08:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142792,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa18e1880012d7c270005eb2be8000a015126..."} 
[2026-07-27 08:41:36] local.INFO: Processing buffer {"connection_id":142792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa18e1880012d7c270005eb2be8000a015126..."} 
[2026-07-27 08:41:36] local.INFO: Packet analysis {"connection_id":142792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa18e"} 
[2026-07-27 08:41:36] local.INFO: Extracted packet for processing {"connection_id":142792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa18e"} 
[2026-07-27 08:41:36] local.INFO: GPS Element Parsed {"raw_longitude":763111168,"raw_latitude":99298280,"longitude_deg":76.3111168,"latitude_deg":9.929828,"altitude":10,"angle":337,"satellites":38,"speed":26,"hex_longitude":"2d7c2700","hex_latitude":"05eb2be8","is_valid_coordinates":true} 
[2026-07-27 08:41:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:41:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991198208001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:41:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111555010940108800,"note":"Value kept but may cause issues"} 
[2026-07-27 08:41:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8948019166307385344,"note":"Value kept but may cause issues"} 
[2026-07-27 08:41:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:41:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785121872000,"timestamp_ms":1785121872000,"timestamp_seconds":1785121872,"priority":1,"record_length":96,"hex_timestamp":"0000019fa18e1880"} 
[2026-07-27 08:41:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:41:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08:41:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-27 08:41:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:41:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:41:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:41:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:41:36] local.INFO: Teltonika packet parsed successfully {"connection_id":142792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:41:36] local.INFO: Passing IMEI to GPS processor {"connection_id":142792,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:41:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":142792,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:41:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:41:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 08:41:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 08:41:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991198208001,"66":12972,"10":206,"87":13824,"24":26,"16":111555010940108800,"45":8948019166307385344},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-07-27 08:41:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 08:41:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 08:41:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991198208001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:41:36] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-27 08:41:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 08:41:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111555010940108800,"km_value":111555010940108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:41:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8948019166307385344,"description":"Unknown IO ID 45"} 
[2026-07-27 08:41:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991198208001,"power":12972,"unknown_10":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":8948019166307385344}} 
[2026-07-27 08:41:37] local.INFO: DEBUG: GPS processor result {"connection_id":142792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552031,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:41:37] local.INFO: GPS data processed {"connection_id":142792,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:41:37] local.INFO: Acknowledgment sent {"connection_id":142792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:41:38] local.INFO: TCP Data received {"connection_id":145089,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:41:38] local.INFO: Processing buffer {"connection_id":145089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:41:38] local.INFO: IMEI packet received {"connection_id":145089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 08:41:38] local.INFO: IMEI acknowledgment sent {"connection_id":145089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:41:43] local.INFO: TCP Data received {"connection_id":145089,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:41:43] local.INFO: Processing buffer {"connection_id":145089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:41:43] local.INFO: IMEI packet received {"connection_id":145089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 08:41:43] local.INFO: IMEI acknowledgment sent {"connection_id":145089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:41:43] local.INFO: TCP Data received {"connection_id":145089,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa18cebb8012d7f930005afdaf0000b01122a..."} 
[2026-07-27 08:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145089,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa18cebb8012d7f930005afdaf0000b01122a..."} 
[2026-07-27 08:41:43] local.INFO: Processing buffer {"connection_id":145089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa18cebb8012d7f930005afdaf0000b01122a..."} 
[2026-07-27 08:41:43] local.INFO: Packet analysis {"connection_id":145089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa18c"} 
[2026-07-27 08:41:43] local.INFO: Extracted packet for processing {"connection_id":145089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa18c"} 
[2026-07-27 08:41:43] local.INFO: GPS Element Parsed {"raw_longitude":763335424,"raw_latitude":95410928,"longitude_deg":76.3335424,"latitude_deg":9.5410928,"altitude":11,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7f9300","hex_latitude":"05afdaf0","is_valid_coordinates":true} 
[2026-07-27 08:41:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:41:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991102208001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:41:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826040631492608,"note":"Value kept but may cause issues"} 
[2026-07-27 08:41:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193606082492983296,"note":"Value kept but may cause issues"} 
[2026-07-27 08:41:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:41:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785121795000,"timestamp_ms":1785121795000,"timestamp_seconds":1785121795,"priority":1,"record_length":96,"hex_timestamp":"0000019fa18cebb8"} 
[2026-07-27 08:41:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:41:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 08: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":103,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-07-27 08:41:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2441,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:41:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:41:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:41:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:41:43] local.INFO: Teltonika packet parsed successfully {"connection_id":145089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:41:43] local.INFO: Passing IMEI to GPS processor {"connection_id":145089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:41:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":145089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:41:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:41:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:41:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:41:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991102208001,"66":25734,"250":206,"85":12544,"24":0,"16":358826040631492608,"45":9193606082492983296},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 08:41:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:41:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:41:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991102208001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:41:43] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 08:41:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:41:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826040631492608,"km_value":358826040631492.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:41:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193606082492983296,"description":"Unknown IO ID 45"} 
[2026-07-27 08:41:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991102208001,"power":25734,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193606082492983296}} 
[2026-07-27 08:41:43] local.INFO: DEBUG: GPS processor result {"connection_id":145089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:41:43] local.INFO: GPS data processed {"connection_id":145089,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:41:43] local.INFO: Acknowledgment sent {"connection_id":145089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:41:44] local.INFO: TCP Data received {"connection_id":142793,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 08:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142793,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 08:41:44] local.INFO: Processing buffer {"connection_id":142793,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 08:41:44] local.INFO: IMEI packet received {"connection_id":142793,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 08:41:44] local.INFO: IMEI acknowledgment sent {"connection_id":142793,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:41:45] local.INFO: TCP Data received {"connection_id":143767,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143767,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:41:45] local.INFO: Processing buffer {"connection_id":143767,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:41:45] local.INFO: IMEI packet received {"connection_id":143767,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 08:41:45] local.INFO: IMEI acknowledgment sent {"connection_id":143767,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:41:48] local.INFO: TCP Data received {"connection_id":145089,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa18cebb8012d7f930005afdaf0000b01122a..."} 
[2026-07-27 08:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145089,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa18cebb8012d7f930005afdaf0000b01122a..."} 
[2026-07-27 08:41:48] local.INFO: Processing buffer {"connection_id":145089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa18cebb8012d7f930005afdaf0000b01122a..."} 
[2026-07-27 08:41:48] local.INFO: Packet analysis {"connection_id":145089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa18c"} 
[2026-07-27 08:41:48] local.INFO: Extracted packet for processing {"connection_id":145089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa18c"} 
[2026-07-27 08:41:48] local.INFO: GPS Element Parsed {"raw_longitude":763335424,"raw_latitude":95410928,"longitude_deg":76.3335424,"latitude_deg":9.5410928,"altitude":11,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7f9300","hex_latitude":"05afdaf0","is_valid_coordinates":true} 
[2026-07-27 08: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-07-27 08:41:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991102208001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:41:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826040631492608,"note":"Value kept but may cause issues"} 
[2026-07-27 08:41:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193606082492983296,"note":"Value kept but may cause issues"} 
[2026-07-27 08:41:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:41:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785121795000,"timestamp_ms":1785121795000,"timestamp_seconds":1785121795,"priority":1,"record_length":96,"hex_timestamp":"0000019fa18cebb8"} 
[2026-07-27 08:41:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:41:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 08: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":103,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-07-27 08:41:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2441,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08: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-07-27 08:41:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:41:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:41:48] local.INFO: Teltonika packet parsed successfully {"connection_id":145089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:41:48] local.INFO: Passing IMEI to GPS processor {"connection_id":145089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:41:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":145089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:41:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:41:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:41:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:41:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991102208001,"66":25734,"250":206,"85":12544,"24":0,"16":358826040631492608,"45":9193606082492983296},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 08:41:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:41:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:41:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991102208001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:41:48] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 08:41:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:41:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826040631492608,"km_value":358826040631492.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:41:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193606082492983296,"description":"Unknown IO ID 45"} 
[2026-07-27 08:41:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991102208001,"power":25734,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193606082492983296}} 
[2026-07-27 08:41:48] local.INFO: DEBUG: GPS processor result {"connection_id":145089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:41:48] local.INFO: GPS data processed {"connection_id":145089,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:41:48] local.INFO: Acknowledgment sent {"connection_id":145089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:41:51] local.INFO: TCP Data received {"connection_id":143767,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143767,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:41:51] local.INFO: Processing buffer {"connection_id":143767,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:41:51] local.INFO: IMEI packet received {"connection_id":143767,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 08:41:51] local.INFO: IMEI acknowledgment sent {"connection_id":143767,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:41:51] local.INFO: TCP Data received {"connection_id":143767,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa18df170012d0da2800705bc800014002620..."} 
[2026-07-27 08:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa18df170012d0da2800705bc800014002620..."} 
[2026-07-27 08:41:51] local.INFO: Processing buffer {"connection_id":143767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa18df170012d0da2800705bc800014002620..."} 
[2026-07-27 08:41:51] local.INFO: Packet analysis {"connection_id":143767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa18d"} 
[2026-07-27 08:41:51] local.INFO: Extracted packet for processing {"connection_id":143767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa18d"} 
[2026-07-27 08:41:51] local.INFO: GPS Element Parsed {"raw_longitude":755868288,"raw_latitude":117816448,"longitude_deg":75.5868288,"latitude_deg":11.7816448,"altitude":20,"angle":38,"satellites":32,"speed":3,"hex_longitude":"2d0da280","hex_latitude":"0705bc80","is_valid_coordinates":true} 
[2026-07-27 08:41:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:41:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991194112001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:41:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25797961581592576,"note":"Value kept but may cause issues"} 
[2026-07-27 08:41:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":982558805113710592,"note":"Value kept but may cause issues"} 
[2026-07-27 08:41:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:41:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785121862000,"timestamp_ms":1785121862000,"timestamp_seconds":1785121862,"priority":1,"record_length":96,"hex_timestamp":"0000019fa18df170"} 
[2026-07-27 08:41:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:41: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-07-27 08:41:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-27 08:41:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:41:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:41:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:41:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:41:51] local.INFO: Teltonika packet parsed successfully {"connection_id":143767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:41:51] local.INFO: Passing IMEI to GPS processor {"connection_id":143767,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:41:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":143767,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:41:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:41:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 08:41:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 08:41:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991194112001,"66":14537,"167":206,"94":11008,"24":3,"16":25797961581592576,"45":982558805113710592},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-07-27 08:41:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 08:41:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 08:41:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991194112001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:41:51] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-27 08:41:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-27 08:41:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25797961581592576,"km_value":25797961581592.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:41:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":982558805113710592,"description":"Unknown IO ID 45"} 
[2026-07-27 08:41:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991194112001,"power":14537,"unknown_167":206,"unknown_94":11008,"ignition":3,"odometer":null,"unknown_45":982558805113710592}} 
[2026-07-27 08:41:51] local.INFO: DEBUG: GPS processor result {"connection_id":143767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552034,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:41:51] local.INFO: GPS data processed {"connection_id":143767,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:41:51] local.INFO: Acknowledgment sent {"connection_id":143767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:41:55] local.INFO: TCP Data received {"connection_id":143767,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa18df940012d0da2c00705bd100014001720..."} 
[2026-07-27 08:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa18df940012d0da2c00705bd100014001720..."} 
[2026-07-27 08:41:55] local.INFO: Processing buffer {"connection_id":143767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa18df940012d0da2c00705bd100014001720..."} 
[2026-07-27 08:41:55] local.INFO: Packet analysis {"connection_id":143767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa18d"} 
[2026-07-27 08:41:55] local.INFO: Extracted packet for processing {"connection_id":143767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa18d"} 
[2026-07-27 08:41:55] local.INFO: GPS Element Parsed {"raw_longitude":755868352,"raw_latitude":117816592,"longitude_deg":75.5868352,"latitude_deg":11.7816592,"altitude":20,"angle":23,"satellites":32,"speed":2,"hex_longitude":"2d0da2c0","hex_latitude":"0705bd10","is_valid_coordinates":true} 
[2026-07-27 08: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-07-27 08:41:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991196672001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:41:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25797970171527168,"note":"Value kept but may cause issues"} 
[2026-07-27 08:41:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":982488436369555456,"note":"Value kept but may cause issues"} 
[2026-07-27 08:41:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:41:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785121864000,"timestamp_ms":1785121864000,"timestamp_seconds":1785121864,"priority":1,"record_length":96,"hex_timestamp":"0000019fa18df940"} 
[2026-07-27 08:41:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:41:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08: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":201,"data_length":795,"current_offset":136} 
[2026-07-27 08:41:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08: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-07-27 08:41:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:41:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:41:55] local.INFO: Teltonika packet parsed successfully {"connection_id":143767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:41:55] local.INFO: Passing IMEI to GPS processor {"connection_id":143767,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:41:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":143767,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:41:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:41:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 08:41:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 08:41:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991196672001,"66":14450,"167":206,"94":11008,"24":2,"16":25797970171527168,"45":982488436369555456},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-07-27 08:41:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 08:41:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 08:41:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991196672001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:41:55] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-27 08:41:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-27 08:41:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25797970171527168,"km_value":25797970171527.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:41:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":982488436369555456,"description":"Unknown IO ID 45"} 
[2026-07-27 08:41:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991196672001,"power":14450,"unknown_167":206,"unknown_94":11008,"ignition":2,"odometer":null,"unknown_45":982488436369555456}} 
[2026-07-27 08:41:55] local.INFO: DEBUG: GPS processor result {"connection_id":143767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552035,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:41:55] local.INFO: GPS data processed {"connection_id":143767,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:41:55] local.INFO: Acknowledgment sent {"connection_id":143767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:42:11] local.INFO: TCP Data received {"connection_id":142792,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa18e2050012d7c264005eb3120000b016225..."} 
[2026-07-27 08:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142792,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa18e2050012d7c264005eb3120000b016225..."} 
[2026-07-27 08:42:11] local.INFO: Processing buffer {"connection_id":142792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa18e2050012d7c264005eb3120000b016225..."} 
[2026-07-27 08:42:11] local.INFO: Packet analysis {"connection_id":142792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa18e"} 
[2026-07-27 08:42:11] local.INFO: Extracted packet for processing {"connection_id":142792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa18e"} 
[2026-07-27 08:42:11] local.INFO: GPS Element Parsed {"raw_longitude":763110976,"raw_latitude":99299616,"longitude_deg":76.3110976,"latitude_deg":9.9299616,"altitude":11,"angle":354,"satellites":37,"speed":27,"hex_longitude":"2d7c2640","hex_latitude":"05eb3120","is_valid_coordinates":true} 
[2026-07-27 08:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:42:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991199232001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:42:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111555075364618240,"note":"Value kept but may cause issues"} 
[2026-07-27 08:42:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8946119210215139328,"note":"Value kept but may cause issues"} 
[2026-07-27 08:42:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:42:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785121874000,"timestamp_ms":1785121874000,"timestamp_seconds":1785121874,"priority":1,"record_length":96,"hex_timestamp":"0000019fa18e2050"} 
[2026-07-27 08:42:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:42:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-27 08:42:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:42:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:42:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:42:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:42:11] local.INFO: Teltonika packet parsed successfully {"connection_id":142792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:42:11] local.INFO: Passing IMEI to GPS processor {"connection_id":142792,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:42:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":142792,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:42:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:42:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 08:42:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 08:42:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991199232001,"66":13243,"10":206,"87":13824,"24":27,"16":111555075364618240,"45":8946119210215139328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-07-27 08:42:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 08:42:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 08:42:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991199232001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:42:11] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-27 08:42:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 08:42:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111555075364618240,"km_value":111555075364618.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:42:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8946119210215139328,"description":"Unknown IO ID 45"} 
[2026-07-27 08:42:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991199232001,"power":13243,"unknown_10":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":8946119210215139328}} 
[2026-07-27 08:42:11] local.INFO: DEBUG: GPS processor result {"connection_id":142792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552036,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:42:11] local.INFO: GPS data processed {"connection_id":142792,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:42:11] local.INFO: Acknowledgment sent {"connection_id":142792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:42:33] local.INFO: TCP Data received {"connection_id":145090,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:42:33] local.INFO: Processing buffer {"connection_id":145090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:42:33] local.INFO: IMEI packet received {"connection_id":145090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 08:42:33] local.INFO: IMEI acknowledgment sent {"connection_id":145090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:42:35] local.INFO: TCP Data received {"connection_id":143768,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143768,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:42:35] local.INFO: Processing buffer {"connection_id":143768,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:42:35] local.INFO: IMEI packet received {"connection_id":143768,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 08:42:35] local.INFO: IMEI acknowledgment sent {"connection_id":143768,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:42:38] local.INFO: TCP Data received {"connection_id":145090,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:42:38] local.INFO: Processing buffer {"connection_id":145090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:42:38] local.INFO: IMEI packet received {"connection_id":145090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 08:42:38] local.INFO: IMEI acknowledgment sent {"connection_id":145090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:42:38] local.INFO: TCP Data received {"connection_id":145090,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fa18cebb8012d7f930005afdaf0000b01122a..."} 
[2026-07-27 08:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa18cebb8012d7f930005afdaf0000b01122a..."} 
[2026-07-27 08:42:38] local.INFO: Processing buffer {"connection_id":145090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa18cebb8012d7f930005afdaf0000b01122a..."} 
[2026-07-27 08:42:38] local.INFO: Packet analysis {"connection_id":145090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa18c"} 
[2026-07-27 08:42:38] local.INFO: Extracted packet for processing {"connection_id":145090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa18c"} 
[2026-07-27 08:42:38] local.INFO: GPS Element Parsed {"raw_longitude":763335424,"raw_latitude":95410928,"longitude_deg":76.3335424,"latitude_deg":9.5410928,"altitude":11,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7f9300","hex_latitude":"05afdaf0","is_valid_coordinates":true} 
[2026-07-27 08:42:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:42:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991102208001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:42:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826040631492608,"note":"Value kept but may cause issues"} 
[2026-07-27 08:42:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193606082492983296,"note":"Value kept but may cause issues"} 
[2026-07-27 08:42:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:42:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785121795000,"timestamp_ms":1785121795000,"timestamp_seconds":1785121795,"priority":1,"record_length":96,"hex_timestamp":"0000019fa18cebb8"} 
[2026-07-27 08:42:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:42:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 08: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":103,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-07-27 08:42:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2441,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:42:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:42:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:42:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:42:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:42:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:42:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:42:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:42:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:42:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:42:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991102208001,"66":25734,"250":206,"85":12544,"24":0,"16":358826040631492608,"45":9193606082492983296},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 08:42:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:42:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:42:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991102208001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:42:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 08:42:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:42:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826040631492608,"km_value":358826040631492.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:42:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193606082492983296,"description":"Unknown IO ID 45"} 
[2026-07-27 08:42:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991102208001,"power":25734,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193606082492983296}} 
[2026-07-27 08:42:38] local.INFO: DEBUG: GPS processor result {"connection_id":145090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:42:38] local.INFO: GPS data processed {"connection_id":145090,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:42:38] local.INFO: Acknowledgment sent {"connection_id":145090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:42:39] local.INFO: TCP Data received {"connection_id":143769,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143769,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:42:39] local.INFO: Processing buffer {"connection_id":143769,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:42:39] local.INFO: IMEI packet received {"connection_id":143769,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 08:42:39] local.INFO: IMEI acknowledgment sent {"connection_id":143769,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:42:39] local.INFO: TCP Data received {"connection_id":143769,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143769,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:42:39] local.INFO: Processing buffer {"connection_id":143769,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:42:39] local.INFO: IMEI packet received {"connection_id":143769,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 08:42:39] local.INFO: IMEI acknowledgment sent {"connection_id":143769,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:42:40] local.INFO: TCP Data received {"connection_id":143768,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143768,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:42:40] local.INFO: Processing buffer {"connection_id":143768,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:42:40] local.INFO: IMEI packet received {"connection_id":143768,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 08:42:40] local.INFO: IMEI acknowledgment sent {"connection_id":143768,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:42:40] local.INFO: TCP Data received {"connection_id":143769,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143769,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:42:40] local.INFO: Processing buffer {"connection_id":143769,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:42:40] local.INFO: IMEI packet received {"connection_id":143769,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 08:42:40] local.INFO: IMEI acknowledgment sent {"connection_id":143769,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:42:41] local.INFO: TCP Data received {"connection_id":143768,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa18e62b8012d7c238005eb5490000a016022..."} 
[2026-07-27 08:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa18e62b8012d7c238005eb5490000a016022..."} 
[2026-07-27 08:42:41] local.INFO: Processing buffer {"connection_id":143768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa18e62b8012d7c238005eb5490000a016022..."} 
[2026-07-27 08:42:41] local.INFO: Packet analysis {"connection_id":143768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa18e"} 
[2026-07-27 08:42:41] local.INFO: Extracted packet for processing {"connection_id":143768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa18e"} 
[2026-07-27 08:42:41] local.INFO: GPS Element Parsed {"raw_longitude":763110272,"raw_latitude":99308688,"longitude_deg":76.3110272,"latitude_deg":9.9308688,"altitude":10,"angle":352,"satellites":34,"speed":21,"hex_longitude":"2d7c2380","hex_latitude":"05eb5490","is_valid_coordinates":true} 
[2026-07-27 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-07-27 08:42:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991199744001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:42:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111555517746249728,"note":"Value kept but may cause issues"} 
[2026-07-27 08:42:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945908103982948352,"note":"Value kept but may cause issues"} 
[2026-07-27 08:42:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:42:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785121891000,"timestamp_ms":1785121891000,"timestamp_seconds":1785121891,"priority":1,"record_length":96,"hex_timestamp":"0000019fa18e62b8"} 
[2026-07-27 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-07-27 08:42:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-27 08:42:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 08:42:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:42:41] local.INFO: Teltonika packet parsed successfully {"connection_id":143768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:42:41] local.INFO: Passing IMEI to GPS processor {"connection_id":143768,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:42:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":143768,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:42:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:42:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 08:42:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 08:42:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991199744001,"66":12298,"10":206,"87":13824,"24":21,"16":111555517746249728,"45":8945908103982948352},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-07-27 08:42:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 08:42:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 08:42:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991199744001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:42:41] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-27 08:42:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 08:42:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111555517746249728,"km_value":111555517746249.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:42:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945908103982948352,"description":"Unknown IO ID 45"} 
[2026-07-27 08:42:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991199744001,"power":12298,"unknown_10":206,"unknown_87":13824,"ignition":21,"odometer":null,"unknown_45":8945908103982948352}} 
[2026-07-27 08:42:41] local.INFO: DEBUG: GPS processor result {"connection_id":143768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552038,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:42:41] local.INFO: GPS data processed {"connection_id":143768,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:42:41] local.INFO: Acknowledgment sent {"connection_id":143768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:42:43] local.INFO: TCP Data received {"connection_id":143768,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa18e9968012d7c1c0005eb7918000a015a24..."} 
[2026-07-27 08:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa18e9968012d7c1c0005eb7918000a015a24..."} 
[2026-07-27 08:42:43] local.INFO: Processing buffer {"connection_id":143768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa18e9968012d7c1c0005eb7918000a015a24..."} 
[2026-07-27 08:42:43] local.INFO: Packet analysis {"connection_id":143768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa18e"} 
[2026-07-27 08:42:43] local.INFO: Extracted packet for processing {"connection_id":143768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa18e"} 
[2026-07-27 08:42:43] local.INFO: GPS Element Parsed {"raw_longitude":763108352,"raw_latitude":99318040,"longitude_deg":76.3108352,"latitude_deg":9.931804,"altitude":10,"angle":346,"satellites":36,"speed":28,"hex_longitude":"2d7c1c00","hex_latitude":"05eb7918","is_valid_coordinates":true} 
[2026-07-27 08:42:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:42:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991204096001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:42:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111555981602717696,"note":"Value kept but may cause issues"} 
[2026-07-27 08:42:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945134047799316480,"note":"Value kept but may cause issues"} 
[2026-07-27 08:42:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:42:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785121905000,"timestamp_ms":1785121905000,"timestamp_seconds":1785121905,"priority":1,"record_length":96,"hex_timestamp":"0000019fa18e9968"} 
[2026-07-27 08:42:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:42:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08:42:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-27 08:42:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-27 08:42:43] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832605,"note":"Value kept but may cause issues"} 
[2026-07-27 08:42:43] local.WARNING: Large IO value detected {"io_id":87,"raw_value":3891136466813714944,"note":"Value kept but may cause issues"} 
[2026-07-27 08:42:43] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185996,"note":"Value kept but may cause issues"} 
[2026-07-27 08:42:43] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-27 08:42:43] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-6805530883430450119,"note":"Value kept but may cause issues"} 
[2026-07-27 08:42:43] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3684789801896771790,"note":"Value kept but may cause issues"} 
[2026-07-27 08:42:43] local.WARNING: Large IO value detected {"io_id":82,"raw_value":7638104968020361217,"note":"Value kept but may cause issues"} 
[2026-07-27 08:42:43] local.WARNING: Large IO value detected {"io_id":8,"raw_value":94897749568258048,"note":"Value kept but may cause issues"} 
[2026-07-27 08:42:43] local.WARNING: Large IO value detected {"io_id":161,"raw_value":2382690305,"note":"Value kept but may cause issues"} 
[2026-07-27 08:42:43] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1309278414,"corrected_to":0} 
[2026-07-27 08:42:43] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3221613339,"note":"Value kept but may cause issues"} 
[2026-07-27 08:42:43] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3607153998,"note":"Value kept but may cause issues"} 
[2026-07-27 08:42:43] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3944105984,"note":"Value kept but may cause issues"} 
[2026-07-27 08:42:43] local.WARNING: Large IO value detected {"io_id":128,"raw_value":426448986447479106,"note":"Value kept but may cause issues"} 
[2026-07-27 08:42:43] local.WARNING: Large IO value detected {"io_id":34,"raw_value":7881299348553732,"note":"Value kept but may cause issues"} 
[2026-07-27 08:42:43] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,10,87,24,241,157,16,83,159,32,45,64,49,11,37,66,82,43,38,8,192,1,240,166,227,161,235,4,113,205,27,253,48,224,239,50,2,140,5,128,34],"length":534,"final_offset":664,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1309278414,"validated":0}]} 
[2026-07-27 08:42:43] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720963114502520832,"timestamp_seconds":720963114502520.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 08:42:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:42:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:42:43] local.INFO: Teltonika packet parsed successfully {"connection_id":143768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:42:43] local.INFO: Passing IMEI to GPS processor {"connection_id":143768,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:42:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":143768,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:42:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:42:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 08:42:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 08:42:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991204096001,"66":12917,"10":206,"87":13824,"24":28,"16":111555981602717696,"45":8945134047799316480},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-07-27 08:42:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 08:42:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 08:42:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991204096001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:42:43] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-27 08:42:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 08:42:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111555981602717696,"km_value":111555981602717.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:42:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945134047799316480,"description":"Unknown IO ID 45"} 
[2026-07-27 08:42:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991204096001,"power":12917,"unknown_10":206,"unknown_87":13824,"ignition":28,"odometer":null,"unknown_45":8945134047799316480}} 
[2026-07-27 08:42:44] local.INFO: DEBUG: GPS processor result {"connection_id":143768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552039,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:42:44] local.INFO: GPS data processed {"connection_id":143768,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:42:44] local.INFO: Acknowledgment sent {"connection_id":143768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:42:45] local.INFO: TCP Data received {"connection_id":143769,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143769,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:42:45] local.INFO: Processing buffer {"connection_id":143769,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:42:45] local.INFO: IMEI packet received {"connection_id":143769,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 08:42:45] local.INFO: IMEI acknowledgment sent {"connection_id":143769,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:42:46] local.INFO: TCP Data received {"connection_id":143769,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa18f1668012d0d7cc00705cfa80010012b20..."} 
[2026-07-27 08:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa18f1668012d0d7cc00705cfa80010012b20..."} 
[2026-07-27 08:42:46] local.INFO: Processing buffer {"connection_id":143769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa18f1668012d0d7cc00705cfa80010012b20..."} 
[2026-07-27 08:42:46] local.INFO: Packet analysis {"connection_id":143769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa18f"} 
[2026-07-27 08:42:46] local.INFO: Extracted packet for processing {"connection_id":143769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa18f"} 
[2026-07-27 08:42:46] local.INFO: GPS Element Parsed {"raw_longitude":755858624,"raw_latitude":117821352,"longitude_deg":75.5858624,"latitude_deg":11.7821352,"altitude":16,"angle":299,"satellites":32,"speed":22,"hex_longitude":"2d0d7cc0","hex_latitude":"0705cfa8","is_valid_coordinates":true} 
[2026-07-27 08:42:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:42:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991215360001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:42:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25798751855575040,"note":"Value kept but may cause issues"} 
[2026-07-27 08:42:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":973059024650858496,"note":"Value kept but may cause issues"} 
[2026-07-27 08:42:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:42:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785121937000,"timestamp_ms":1785121937000,"timestamp_seconds":1785121937,"priority":1,"record_length":96,"hex_timestamp":"0000019fa18f1668"} 
[2026-07-27 08:42:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:42:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08:42:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-27 08:42:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:42:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:42:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:42:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:42:46] local.INFO: Teltonika packet parsed successfully {"connection_id":143769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:42:46] local.INFO: Passing IMEI to GPS processor {"connection_id":143769,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:42:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":143769,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:42:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:42:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 08:42:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 08:42:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991215360001,"66":14450,"167":206,"94":11008,"24":22,"16":25798751855575040,"45":973059024650858496},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-07-27 08:42:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 08:42:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 08:42:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991215360001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:42:46] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-27 08:42:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-27 08:42:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25798751855575040,"km_value":25798751855575.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:42:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":973059024650858496,"description":"Unknown IO ID 45"} 
[2026-07-27 08:42:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991215360001,"power":14450,"unknown_167":206,"unknown_94":11008,"ignition":22,"odometer":null,"unknown_45":973059024650858496}} 
[2026-07-27 08:42:46] local.INFO: DEBUG: GPS processor result {"connection_id":143769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552040,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:42:46] local.INFO: GPS data processed {"connection_id":143769,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:42:46] local.INFO: Acknowledgment sent {"connection_id":143769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:43:09] local.INFO: TCP Data received {"connection_id":145090,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fa18cebb8012d7f930005afdaf0000b01122a..."} 
[2026-07-27 08:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa18cebb8012d7f930005afdaf0000b01122a..."} 
[2026-07-27 08:43:09] local.INFO: Processing buffer {"connection_id":145090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa18cebb8012d7f930005afdaf0000b01122a..."} 
[2026-07-27 08:43:09] local.INFO: Packet analysis {"connection_id":145090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa18c"} 
[2026-07-27 08:43:09] local.INFO: Extracted packet for processing {"connection_id":145090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa18c"} 
[2026-07-27 08:43:09] local.INFO: GPS Element Parsed {"raw_longitude":763335424,"raw_latitude":95410928,"longitude_deg":76.3335424,"latitude_deg":9.5410928,"altitude":11,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7f9300","hex_latitude":"05afdaf0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 08:43:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991102208001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:43:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826040631492608,"note":"Value kept but may cause issues"} 
[2026-07-27 08:43:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193606082492983296,"note":"Value kept but may cause issues"} 
[2026-07-27 08:43:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:43:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785121795000,"timestamp_ms":1785121795000,"timestamp_seconds":1785121795,"priority":1,"record_length":96,"hex_timestamp":"0000019fa18cebb8"} 
[2026-07-27 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-07-27 08:43:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":103,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-07-27 08:43:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2441,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 08:43:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:43:09] local.INFO: Teltonika packet parsed successfully {"connection_id":145090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:43:09] local.INFO: Passing IMEI to GPS processor {"connection_id":145090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:43:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":145090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:43:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:43:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:43:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:43:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991102208001,"66":25734,"250":206,"85":12544,"24":0,"16":358826040631492608,"45":9193606082492983296},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 08:43:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:43:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:43:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991102208001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:43:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 08:43:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:43:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826040631492608,"km_value":358826040631492.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:43:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193606082492983296,"description":"Unknown IO ID 45"} 
[2026-07-27 08:43:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991102208001,"power":25734,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193606082492983296}} 
[2026-07-27 08:43:09] local.INFO: DEBUG: GPS processor result {"connection_id":145090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:43:09] local.INFO: GPS data processed {"connection_id":145090,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:43:09] local.INFO: Acknowledgment sent {"connection_id":145090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:43:16] local.INFO: TCP Data received {"connection_id":143768,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa18eb8a8012d7c188005eb8600000a014d23..."} 
[2026-07-27 08:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa18eb8a8012d7c188005eb8600000a014d23..."} 
[2026-07-27 08:43:16] local.INFO: Processing buffer {"connection_id":143768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa18eb8a8012d7c188005eb8600000a014d23..."} 
[2026-07-27 08:43:16] local.INFO: Packet analysis {"connection_id":143768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa18e"} 
[2026-07-27 08:43:16] local.INFO: Extracted packet for processing {"connection_id":143768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa18e"} 
[2026-07-27 08:43:16] local.INFO: GPS Element Parsed {"raw_longitude":763107456,"raw_latitude":99321344,"longitude_deg":76.3107456,"latitude_deg":9.9321344,"altitude":10,"angle":333,"satellites":35,"speed":8,"hex_longitude":"2d7c1880","hex_latitude":"05eb8600","is_valid_coordinates":true} 
[2026-07-27 08: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-07-27 08:43:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991207680001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:43:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111556149106442240,"note":"Value kept but may cause issues"} 
[2026-07-27 08:43:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8943022985476380672,"note":"Value kept but may cause issues"} 
[2026-07-27 08:43:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:43:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785121913000,"timestamp_ms":1785121913000,"timestamp_seconds":1785121913,"priority":1,"record_length":96,"hex_timestamp":"0000019fa18eb8a8"} 
[2026-07-27 08:43:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:43:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-27 08:43:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08: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-07-27 08:43:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:43:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:43:16] local.INFO: Teltonika packet parsed successfully {"connection_id":143768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:43:16] local.INFO: Passing IMEI to GPS processor {"connection_id":143768,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:43:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":143768,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:43:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:43:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 08:43:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 08:43:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991207680001,"66":12885,"10":206,"87":13824,"24":8,"16":111556149106442240,"45":8943022985476380672},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-07-27 08:43:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 08:43:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 08:43:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991207680001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:43:16] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-27 08:43:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 08:43:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111556149106442240,"km_value":111556149106442.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:43:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8943022985476380672,"description":"Unknown IO ID 45"} 
[2026-07-27 08:43:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991207680001,"power":12885,"unknown_10":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8943022985476380672}} 
[2026-07-27 08:43:16] local.INFO: DEBUG: GPS processor result {"connection_id":143768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552042,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:43:16] local.INFO: GPS data processed {"connection_id":143768,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:43:16] local.INFO: Acknowledgment sent {"connection_id":143768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:43:19] local.INFO: TCP Data received {"connection_id":143769,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa18f9750012d0d61400705ea48001500021f..."} 
[2026-07-27 08:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa18f9750012d0d61400705ea48001500021f..."} 
[2026-07-27 08:43:19] local.INFO: Processing buffer {"connection_id":143769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa18f9750012d0d61400705ea48001500021f..."} 
[2026-07-27 08:43:19] local.INFO: Packet analysis {"connection_id":143769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa18f"} 
[2026-07-27 08:43:19] local.INFO: Extracted packet for processing {"connection_id":143769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa18f"} 
[2026-07-27 08:43:19] local.INFO: GPS Element Parsed {"raw_longitude":755851584,"raw_latitude":117828168,"longitude_deg":75.5851584,"latitude_deg":11.7828168,"altitude":21,"angle":2,"satellites":31,"speed":7,"hex_longitude":"2d0d6140","hex_latitude":"0705ea48","is_valid_coordinates":true} 
[2026-07-27 08: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-07-27 08:43:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991223552001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:43:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25799434755375104,"note":"Value kept but may cause issues"} 
[2026-07-27 08:43:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":963981456653666304,"note":"Value kept but may cause issues"} 
[2026-07-27 08:43:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:43:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785121970000,"timestamp_ms":1785121970000,"timestamp_seconds":1785121970,"priority":1,"record_length":96,"hex_timestamp":"0000019fa18f9750"} 
[2026-07-27 08:43:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:43:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-27 08:43:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08: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-07-27 08:43:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:43:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:43:19] local.INFO: Teltonika packet parsed successfully {"connection_id":143769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:43:19] local.INFO: Passing IMEI to GPS processor {"connection_id":143769,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:43:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":143769,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:43:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:43:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 08:43:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 08:43:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991223552001,"66":14407,"167":206,"94":11008,"24":7,"16":25799434755375104,"45":963981456653666304},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-07-27 08:43:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 08:43:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 08:43:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991223552001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:43:19] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-27 08:43:19] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-27 08:43:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25799434755375104,"km_value":25799434755375.105,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:43:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":963981456653666304,"description":"Unknown IO ID 45"} 
[2026-07-27 08:43:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991223552001,"power":14407,"unknown_167":206,"unknown_94":11008,"ignition":7,"odometer":null,"unknown_45":963981456653666304}} 
[2026-07-27 08:43:19] local.INFO: DEBUG: GPS processor result {"connection_id":143769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552043,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:43:19] local.INFO: GPS data processed {"connection_id":143769,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:43:19] local.INFO: Acknowledgment sent {"connection_id":143769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:43:30] local.INFO: TCP Data received {"connection_id":145091,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145091,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:43:30] local.INFO: Processing buffer {"connection_id":145091,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:43:30] local.INFO: IMEI packet received {"connection_id":145091,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 08:43:30] local.INFO: IMEI acknowledgment sent {"connection_id":145091,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:43:32] local.INFO: TCP Data received {"connection_id":145092,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:43:32] local.INFO: Processing buffer {"connection_id":145092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:43:32] local.INFO: IMEI packet received {"connection_id":145092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 08:43:32] local.INFO: IMEI acknowledgment sent {"connection_id":145092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:43:35] local.INFO: TCP Data received {"connection_id":145091,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145091,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:43:35] local.INFO: Processing buffer {"connection_id":145091,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:43:35] local.INFO: IMEI packet received {"connection_id":145091,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 08:43:35] local.INFO: IMEI acknowledgment sent {"connection_id":145091,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:43:36] local.INFO: TCP Data received {"connection_id":145091,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa19004b0012d7be4c005ec34780003016626..."} 
[2026-07-27 08:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa19004b0012d7be4c005ec34780003016626..."} 
[2026-07-27 08:43:36] local.INFO: Processing buffer {"connection_id":145091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa19004b0012d7be4c005ec34780003016626..."} 
[2026-07-27 08:43:36] local.INFO: Packet analysis {"connection_id":145091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa190"} 
[2026-07-27 08:43:36] local.INFO: Extracted packet for processing {"connection_id":145091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa190"} 
[2026-07-27 08:43:36] local.INFO: GPS Element Parsed {"raw_longitude":763094208,"raw_latitude":99366008,"longitude_deg":76.3094208,"latitude_deg":9.9366008,"altitude":3,"angle":358,"satellites":38,"speed":10,"hex_longitude":"2d7be4c0","hex_latitude":"05ec3478","is_valid_coordinates":true} 
[2026-07-27 08:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:43:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991231232001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:43:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111558425439109120,"note":"Value kept but may cause issues"} 
[2026-07-27 08:43:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8927471493025323008,"note":"Value kept but may cause issues"} 
[2026-07-27 08:43:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:43:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785121998000,"timestamp_ms":1785121998000,"timestamp_seconds":1785121998,"priority":1,"record_length":96,"hex_timestamp":"0000019fa19004b0"} 
[2026-07-27 08:43:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:43:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-27 08:43:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:43:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:43:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:43:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:43:36] local.INFO: Teltonika packet parsed successfully {"connection_id":145091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:43:36] local.INFO: Passing IMEI to GPS processor {"connection_id":145091,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:43:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":145091,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:43:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:43:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 08:43:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 08:43:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991231232001,"66":12645,"198":206,"87":13824,"24":10,"16":111558425439109120,"45":8927471493025323008},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-07-27 08:43:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 08:43:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 08:43:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991231232001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:43:36] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-27 08:43:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 08:43:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111558425439109120,"km_value":111558425439109.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:43:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8927471493025323008,"description":"Unknown IO ID 45"} 
[2026-07-27 08:43:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991231232001,"power":12645,"unknown_198":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":8927471493025323008}} 
[2026-07-27 08:43:36] local.INFO: DEBUG: GPS processor result {"connection_id":145091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552044,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:43:36] local.INFO: GPS data processed {"connection_id":145091,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:43:36] local.INFO: Acknowledgment sent {"connection_id":145091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:43:38] local.INFO: TCP Data received {"connection_id":145092,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:43:38] local.INFO: Processing buffer {"connection_id":145092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:43:38] local.INFO: IMEI packet received {"connection_id":145092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 08:43:38] local.INFO: IMEI acknowledgment sent {"connection_id":145092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:43:38] local.INFO: TCP Data received {"connection_id":145092,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa18cebb8012d7f930005afdaf0000b01122a..."} 
[2026-07-27 08:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa18cebb8012d7f930005afdaf0000b01122a..."} 
[2026-07-27 08:43:38] local.INFO: Processing buffer {"connection_id":145092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa18cebb8012d7f930005afdaf0000b01122a..."} 
[2026-07-27 08:43:38] local.INFO: Packet analysis {"connection_id":145092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa18c"} 
[2026-07-27 08:43:38] local.INFO: Extracted packet for processing {"connection_id":145092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa18c"} 
[2026-07-27 08:43:38] local.INFO: GPS Element Parsed {"raw_longitude":763335424,"raw_latitude":95410928,"longitude_deg":76.3335424,"latitude_deg":9.5410928,"altitude":11,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7f9300","hex_latitude":"05afdaf0","is_valid_coordinates":true} 
[2026-07-27 08:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:43:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991102208001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:43:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826040631492608,"note":"Value kept but may cause issues"} 
[2026-07-27 08:43:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193606082492983296,"note":"Value kept but may cause issues"} 
[2026-07-27 08:43:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:43:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785121795000,"timestamp_ms":1785121795000,"timestamp_seconds":1785121795,"priority":1,"record_length":96,"hex_timestamp":"0000019fa18cebb8"} 
[2026-07-27 08:43:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:43:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 08:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-07-27 08:43:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2441,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:43:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:43:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:43:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:43:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:43:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:43:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:43:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:43:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:43:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:43:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991102208001,"66":25734,"250":206,"85":12544,"24":0,"16":358826040631492608,"45":9193606082492983296},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 08:43:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:43:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:43:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991102208001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:43:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 08:43:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:43:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826040631492608,"km_value":358826040631492.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:43:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193606082492983296,"description":"Unknown IO ID 45"} 
[2026-07-27 08:43:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991102208001,"power":25734,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193606082492983296}} 
[2026-07-27 08:43:38] local.INFO: DEBUG: GPS processor result {"connection_id":145092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:43:38] local.INFO: GPS data processed {"connection_id":145092,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:43:38] local.INFO: Acknowledgment sent {"connection_id":145092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:43:41] local.INFO: TCP Data received {"connection_id":142795,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142795,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:43:41] local.INFO: Processing buffer {"connection_id":142795,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:43:41] local.INFO: IMEI packet received {"connection_id":142795,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 08:43:41] local.INFO: IMEI acknowledgment sent {"connection_id":142795,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:43:46] local.INFO: TCP Data received {"connection_id":142795,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142795,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:43:46] local.INFO: Processing buffer {"connection_id":142795,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:43:46] local.INFO: IMEI packet received {"connection_id":142795,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 08:43:46] local.INFO: IMEI acknowledgment sent {"connection_id":142795,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:43:47] local.INFO: TCP Data received {"connection_id":142795,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa18f9f20012d0d61000705ec200015015b1f..."} 
[2026-07-27 08:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142795,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa18f9f20012d0d61000705ec200015015b1f..."} 
[2026-07-27 08:43:47] local.INFO: Processing buffer {"connection_id":142795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa18f9f20012d0d61000705ec200015015b1f..."} 
[2026-07-27 08:43:47] local.INFO: Packet analysis {"connection_id":142795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa18f"} 
[2026-07-27 08:43:47] local.INFO: Extracted packet for processing {"connection_id":142795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa18f"} 
[2026-07-27 08:43:47] local.INFO: GPS Element Parsed {"raw_longitude":755851520,"raw_latitude":117828640,"longitude_deg":75.585152,"latitude_deg":11.782864,"altitude":21,"angle":347,"satellites":31,"speed":7,"hex_longitude":"2d0d6100","hex_latitude":"0705ec20","is_valid_coordinates":true} 
[2026-07-27 08: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-07-27 08:43:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991224320001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:43:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25799456230211584,"note":"Value kept but may cause issues"} 
[2026-07-27 08:43:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964122194142185472,"note":"Value kept but may cause issues"} 
[2026-07-27 08:43:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:43:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785121972000,"timestamp_ms":1785121972000,"timestamp_seconds":1785121972,"priority":1,"record_length":96,"hex_timestamp":"0000019fa18f9f20"} 
[2026-07-27 08:43:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:43:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-27 08:43:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08: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-07-27 08:43:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:43:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:43:47] local.INFO: Teltonika packet parsed successfully {"connection_id":142795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:43:47] local.INFO: Passing IMEI to GPS processor {"connection_id":142795,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:43:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":142795,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:43:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:43:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 08:43:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 08:43:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991224320001,"66":14428,"167":206,"94":11008,"24":7,"16":25799456230211584,"45":964122194142185472},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-07-27 08:43:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 08:43:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 08:43:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991224320001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:43:47] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-27 08:43:47] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-27 08:43:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25799456230211584,"km_value":25799456230211.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:43:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":964122194142185472,"description":"Unknown IO ID 45"} 
[2026-07-27 08:43:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991224320001,"power":14428,"unknown_167":206,"unknown_94":11008,"ignition":7,"odometer":null,"unknown_45":964122194142185472}} 
[2026-07-27 08:43:47] local.INFO: DEBUG: GPS processor result {"connection_id":142795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552046,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:43:47] local.INFO: GPS data processed {"connection_id":142795,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:43:47] local.INFO: Acknowledgment sent {"connection_id":142795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:44:07] local.INFO: TCP Data received {"connection_id":145091,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1900898012d7be4c005ec35580003001626..."} 
[2026-07-27 08:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1900898012d7be4c005ec35580003001626..."} 
[2026-07-27 08:44:07] local.INFO: Processing buffer {"connection_id":145091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1900898012d7be4c005ec35580003001626..."} 
[2026-07-27 08:44:07] local.INFO: Packet analysis {"connection_id":145091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa190"} 
[2026-07-27 08:44:07] local.INFO: Extracted packet for processing {"connection_id":145091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa190"} 
[2026-07-27 08:44:07] local.INFO: GPS Element Parsed {"raw_longitude":763094208,"raw_latitude":99366232,"longitude_deg":76.3094208,"latitude_deg":9.9366232,"altitude":3,"angle":22,"satellites":38,"speed":8,"hex_longitude":"2d7be4c0","hex_latitude":"05ec3558","is_valid_coordinates":true} 
[2026-07-27 08:44:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:44:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991231488001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:44:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111558438324011008,"note":"Value kept but may cause issues"} 
[2026-07-27 08:44:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8927471493025396736,"note":"Value kept but may cause issues"} 
[2026-07-27 08:44:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:44:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785121999000,"timestamp_ms":1785121999000,"timestamp_seconds":1785121999,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1900898"} 
[2026-07-27 08:44:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:44:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-27 08:44:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:44:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:44:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:44:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:44:07] local.INFO: Teltonika packet parsed successfully {"connection_id":145091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:44:07] local.INFO: Passing IMEI to GPS processor {"connection_id":145091,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:44:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":145091,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:44:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:44:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 08:44:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 08:44:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991231488001,"66":12645,"198":206,"87":13824,"24":8,"16":111558438324011008,"45":8927471493025396736},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-07-27 08:44:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 08:44:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 08:44:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991231488001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:44:07] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-27 08:44:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 08:44:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111558438324011008,"km_value":111558438324011.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:44:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8927471493025396736,"description":"Unknown IO ID 45"} 
[2026-07-27 08:44:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991231488001,"power":12645,"unknown_198":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8927471493025396736}} 
[2026-07-27 08:44:07] local.INFO: DEBUG: GPS processor result {"connection_id":145091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552047,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:44:07] local.INFO: GPS data processed {"connection_id":145091,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:44:07] local.INFO: Acknowledgment sent {"connection_id":145091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:44:09] local.INFO: TCP Data received {"connection_id":145092,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa18cebb8012d7f930005afdaf0000b01122a..."} 
[2026-07-27 08:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa18cebb8012d7f930005afdaf0000b01122a..."} 
[2026-07-27 08:44:09] local.INFO: Processing buffer {"connection_id":145092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa18cebb8012d7f930005afdaf0000b01122a..."} 
[2026-07-27 08:44:09] local.INFO: Packet analysis {"connection_id":145092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa18c"} 
[2026-07-27 08:44:09] local.INFO: Extracted packet for processing {"connection_id":145092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa18c"} 
[2026-07-27 08:44:09] local.INFO: GPS Element Parsed {"raw_longitude":763335424,"raw_latitude":95410928,"longitude_deg":76.3335424,"latitude_deg":9.5410928,"altitude":11,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7f9300","hex_latitude":"05afdaf0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 08:44:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991102208001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:44:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826040631492608,"note":"Value kept but may cause issues"} 
[2026-07-27 08:44:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193606082492983296,"note":"Value kept but may cause issues"} 
[2026-07-27 08:44:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:44:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785121795000,"timestamp_ms":1785121795000,"timestamp_seconds":1785121795,"priority":1,"record_length":96,"hex_timestamp":"0000019fa18cebb8"} 
[2026-07-27 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-07-27 08:44:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":103,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-07-27 08:44:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2441,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 08:44:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:44:09] local.INFO: Teltonika packet parsed successfully {"connection_id":145092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:44:09] local.INFO: Passing IMEI to GPS processor {"connection_id":145092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:44:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":145092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:44:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:44:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:44:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:44:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991102208001,"66":25734,"250":206,"85":12544,"24":0,"16":358826040631492608,"45":9193606082492983296},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 08:44:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:44:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:44:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991102208001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:44:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 08:44:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:44:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826040631492608,"km_value":358826040631492.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:44:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193606082492983296,"description":"Unknown IO ID 45"} 
[2026-07-27 08:44:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991102208001,"power":25734,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193606082492983296}} 
[2026-07-27 08:44:09] local.INFO: DEBUG: GPS processor result {"connection_id":145092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:44:09] local.INFO: GPS data processed {"connection_id":145092,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:44:09] local.INFO: Acknowledgment sent {"connection_id":145092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:44:19] local.INFO: TCP Data received {"connection_id":142795,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa18fca18012d0d5e000705fa500012000220..."} 
[2026-07-27 08:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142795,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa18fca18012d0d5e000705fa500012000220..."} 
[2026-07-27 08:44:19] local.INFO: Processing buffer {"connection_id":142795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa18fca18012d0d5e000705fa500012000220..."} 
[2026-07-27 08:44:19] local.INFO: Packet analysis {"connection_id":142795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa18f"} 
[2026-07-27 08:44:19] local.INFO: Extracted packet for processing {"connection_id":142795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa18f"} 
[2026-07-27 08:44:19] local.INFO: GPS Element Parsed {"raw_longitude":755850752,"raw_latitude":117832272,"longitude_deg":75.5850752,"latitude_deg":11.7832272,"altitude":18,"angle":2,"satellites":32,"speed":16,"hex_longitude":"2d0d5e00","hex_latitude":"0705fa50","is_valid_coordinates":true} 
[2026-07-27 08: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-07-27 08:44:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991224832001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:44:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25799636618838016,"note":"Value kept but may cause issues"} 
[2026-07-27 08:44:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964051825398128640,"note":"Value kept but may cause issues"} 
[2026-07-27 08:44:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:44:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785121983000,"timestamp_ms":1785121983000,"timestamp_seconds":1785121983,"priority":1,"record_length":96,"hex_timestamp":"0000019fa18fca18"} 
[2026-07-27 08:44:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:44: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-07-27 08: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-27 08:44: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-07-27 08: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-07-27 08:44:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:44:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:44:19] local.INFO: Teltonika packet parsed successfully {"connection_id":142795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:44:19] local.INFO: Passing IMEI to GPS processor {"connection_id":142795,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:44:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":142795,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:44:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:44:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 08:44:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 08:44:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991224832001,"66":14439,"167":206,"94":11008,"24":16,"16":25799636618838016,"45":964051825398128640},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-07-27 08:44:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 08:44:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 08:44:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991224832001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:44:19] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-27 08:44:19] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-27 08:44:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25799636618838016,"km_value":25799636618838.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:44:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":964051825398128640,"description":"Unknown IO ID 45"} 
[2026-07-27 08:44:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991224832001,"power":14439,"unknown_167":206,"unknown_94":11008,"ignition":16,"odometer":null,"unknown_45":964051825398128640}} 
[2026-07-27 08:44:19] local.INFO: DEBUG: GPS processor result {"connection_id":142795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552049,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:44:19] local.INFO: GPS data processed {"connection_id":142795,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:44:19] local.INFO: Acknowledgment sent {"connection_id":142795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:44:30] local.INFO: TCP Data received {"connection_id":143770,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143770,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:44:30] local.INFO: Processing buffer {"connection_id":143770,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:44:30] local.INFO: IMEI packet received {"connection_id":143770,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 08:44:30] local.INFO: IMEI acknowledgment sent {"connection_id":143770,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:44:30] local.INFO: TCP Data received {"connection_id":143770,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143770,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:44:30] local.INFO: Processing buffer {"connection_id":143770,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:44:30] local.INFO: IMEI packet received {"connection_id":143770,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 08:44:30] local.INFO: IMEI acknowledgment sent {"connection_id":143770,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:44:33] local.INFO: TCP Data received {"connection_id":143771,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:44:33] local.INFO: Processing buffer {"connection_id":143771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:44:33] local.INFO: IMEI packet received {"connection_id":143771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 08:44:33] local.INFO: IMEI acknowledgment sent {"connection_id":143771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:44:35] local.INFO: TCP Data received {"connection_id":143770,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143770,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:44:35] local.INFO: Processing buffer {"connection_id":143770,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:44:35] local.INFO: IMEI packet received {"connection_id":143770,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 08:44:35] local.INFO: IMEI acknowledgment sent {"connection_id":143770,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:44:36] local.INFO: TCP Data received {"connection_id":143770,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1900c80012d7be54005ec36080004002b27..."} 
[2026-07-27 08:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1900c80012d7be54005ec36080004002b27..."} 
[2026-07-27 08:44:36] local.INFO: Processing buffer {"connection_id":143770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1900c80012d7be54005ec36080004002b27..."} 
[2026-07-27 08:44:36] local.INFO: Packet analysis {"connection_id":143770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa190"} 
[2026-07-27 08:44:36] local.INFO: Extracted packet for processing {"connection_id":143770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa190"} 
[2026-07-27 08:44:36] local.INFO: GPS Element Parsed {"raw_longitude":763094336,"raw_latitude":99366408,"longitude_deg":76.3094336,"latitude_deg":9.9366408,"altitude":4,"angle":43,"satellites":39,"speed":9,"hex_longitude":"2d7be540","hex_latitude":"05ec3608","is_valid_coordinates":true} 
[2026-07-27 08:44:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:44:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991231744001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:44:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111558446913945600,"note":"Value kept but may cause issues"} 
[2026-07-27 08:44:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8927471493025454080,"note":"Value kept but may cause issues"} 
[2026-07-27 08:44:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:44:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785122000000,"timestamp_ms":1785122000000,"timestamp_seconds":1785122000,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1900c80"} 
[2026-07-27 08:44:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:44:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08:44:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-27 08:44:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:44:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:44:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:44:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:44:36] local.INFO: Teltonika packet parsed successfully {"connection_id":143770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:44:36] local.INFO: Passing IMEI to GPS processor {"connection_id":143770,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:44:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":143770,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:44:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:44:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 08:44:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 08:44:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991231744001,"66":12906,"198":206,"87":13824,"24":9,"16":111558446913945600,"45":8927471493025454080},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-07-27 08:44:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 08:44:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 08:44:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991231744001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:44:36] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-27 08:44:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 08:44:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111558446913945600,"km_value":111558446913945.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:44:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8927471493025454080,"description":"Unknown IO ID 45"} 
[2026-07-27 08:44:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991231744001,"power":12906,"unknown_198":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8927471493025454080}} 
[2026-07-27 08:44:36] local.INFO: DEBUG: GPS processor result {"connection_id":143770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552050,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:44:36] local.INFO: GPS data processed {"connection_id":143770,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:44:36] local.INFO: Acknowledgment sent {"connection_id":143770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:44:38] local.INFO: TCP Data received {"connection_id":143771,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:44:38] local.INFO: Processing buffer {"connection_id":143771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:44:38] local.INFO: IMEI packet received {"connection_id":143771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 08:44:38] local.INFO: IMEI acknowledgment sent {"connection_id":143771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:44:38] local.INFO: TCP Data received {"connection_id":143771,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fa18cebb8012d7f930005afdaf0000b01122a..."} 
[2026-07-27 08:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa18cebb8012d7f930005afdaf0000b01122a..."} 
[2026-07-27 08:44:38] local.INFO: Processing buffer {"connection_id":143771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa18cebb8012d7f930005afdaf0000b01122a..."} 
[2026-07-27 08:44:38] local.INFO: Packet analysis {"connection_id":143771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa18c"} 
[2026-07-27 08:44:38] local.INFO: Extracted packet for processing {"connection_id":143771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa18c"} 
[2026-07-27 08:44:38] local.INFO: GPS Element Parsed {"raw_longitude":763335424,"raw_latitude":95410928,"longitude_deg":76.3335424,"latitude_deg":9.5410928,"altitude":11,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7f9300","hex_latitude":"05afdaf0","is_valid_coordinates":true} 
[2026-07-27 08:44:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:44:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991102208001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:44:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826040631492608,"note":"Value kept but may cause issues"} 
[2026-07-27 08:44:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193606082492983296,"note":"Value kept but may cause issues"} 
[2026-07-27 08:44:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:44:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785121795000,"timestamp_ms":1785121795000,"timestamp_seconds":1785121795,"priority":1,"record_length":96,"hex_timestamp":"0000019fa18cebb8"} 
[2026-07-27 08:44:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:44:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 08:44:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-07-27 08:44:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2441,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:44:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:44:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:44:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:44:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:44:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:44:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:44:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:44:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:44:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:44:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991102208001,"66":25734,"250":206,"85":12544,"24":0,"16":358826040631492608,"45":9193606082492983296},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 08:44:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:44:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:44:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991102208001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:44:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 08:44:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:44:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826040631492608,"km_value":358826040631492.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:44:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193606082492983296,"description":"Unknown IO ID 45"} 
[2026-07-27 08:44:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991102208001,"power":25734,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193606082492983296}} 
[2026-07-27 08:44:38] local.INFO: DEBUG: GPS processor result {"connection_id":143771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:44:38] local.INFO: GPS data processed {"connection_id":143771,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:44:38] local.INFO: Acknowledgment sent {"connection_id":143771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:44:39] local.INFO: TCP Data received {"connection_id":142675,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142675,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:44:39] local.INFO: Processing buffer {"connection_id":142675,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:44:39] local.INFO: IMEI packet received {"connection_id":142675,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 08:44:39] local.INFO: IMEI acknowledgment sent {"connection_id":142675,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:44:40] local.INFO: TCP Data received {"connection_id":142675,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142675,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:44:40] local.INFO: Processing buffer {"connection_id":142675,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:44:40] local.INFO: IMEI packet received {"connection_id":142675,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 08:44:40] local.INFO: IMEI acknowledgment sent {"connection_id":142675,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:44:45] local.INFO: TCP Data received {"connection_id":142675,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142675,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:44:45] local.INFO: Processing buffer {"connection_id":142675,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:44:45] local.INFO: IMEI packet received {"connection_id":142675,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 08:44:45] local.INFO: IMEI acknowledgment sent {"connection_id":142675,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:44:45] local.INFO: TCP Data received {"connection_id":142675,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa190d7a0012d0da2c0070652b8001c00151f..."} 
[2026-07-27 08:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142675,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa190d7a0012d0da2c0070652b8001c00151f..."} 
[2026-07-27 08:44:45] local.INFO: Processing buffer {"connection_id":142675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa190d7a0012d0da2c0070652b8001c00151f..."} 
[2026-07-27 08:44:45] local.INFO: Packet analysis {"connection_id":142675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa190"} 
[2026-07-27 08:44:45] local.INFO: Extracted packet for processing {"connection_id":142675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa190"} 
[2026-07-27 08:44:45] local.INFO: GPS Element Parsed {"raw_longitude":755868352,"raw_latitude":117854904,"longitude_deg":75.5868352,"latitude_deg":11.7854904,"altitude":28,"angle":21,"satellites":31,"speed":23,"hex_longitude":"2d0da2c0","hex_latitude":"070652b8","is_valid_coordinates":true} 
[2026-07-27 08: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-07-27 08:44:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991244544001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:44:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25801358900723712,"note":"Value kept but may cause issues"} 
[2026-07-27 08:44:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":981995855169701888,"note":"Value kept but may cause issues"} 
[2026-07-27 08:44:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:44:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785122052000,"timestamp_ms":1785122052000,"timestamp_seconds":1785122052,"priority":1,"record_length":96,"hex_timestamp":"0000019fa190d7a0"} 
[2026-07-27 08:44:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:44:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-27 08:44:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08: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-07-27 08:44:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:44:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:44:45] local.INFO: Teltonika packet parsed successfully {"connection_id":142675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:44:45] local.INFO: Passing IMEI to GPS processor {"connection_id":142675,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:44:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":142675,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:44:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:44:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 08:44:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 08:44:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991244544001,"66":14396,"167":206,"94":11008,"24":23,"16":25801358900723712,"45":981995855169701888},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-07-27 08:44:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 08:44:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 08:44:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991244544001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:44:45] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-27 08:44:45] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-27 08:44:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25801358900723712,"km_value":25801358900723.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:44:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":981995855169701888,"description":"Unknown IO ID 45"} 
[2026-07-27 08:44:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991244544001,"power":14396,"unknown_167":206,"unknown_94":11008,"ignition":23,"odometer":null,"unknown_45":981995855169701888}} 
[2026-07-27 08:44:45] local.INFO: DEBUG: GPS processor result {"connection_id":142675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552052,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:44:45] local.INFO: GPS data processed {"connection_id":142675,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:44:45] local.INFO: Acknowledgment sent {"connection_id":142675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:45:07] local.INFO: TCP Data received {"connection_id":143770,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1919ed8012d7d1d4005ec41e00009008822..."} 
[2026-07-27 08:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1919ed8012d7d1d4005ec41e00009008822..."} 
[2026-07-27 08:45:07] local.INFO: Processing buffer {"connection_id":143770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1919ed8012d7d1d4005ec41e00009008822..."} 
[2026-07-27 08:45:07] local.INFO: Packet analysis {"connection_id":143770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa191"} 
[2026-07-27 08:45:07] local.INFO: Extracted packet for processing {"connection_id":143770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa191"} 
[2026-07-27 08:45:07] local.INFO: GPS Element Parsed {"raw_longitude":763174208,"raw_latitude":99369440,"longitude_deg":76.3174208,"latitude_deg":9.936944,"altitude":9,"angle":136,"satellites":34,"speed":8,"hex_longitude":"2d7d1d40","hex_latitude":"05ec41e0","is_valid_coordinates":true} 
[2026-07-27 08:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:45:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991258112001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:45:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111562273729806336,"note":"Value kept but may cause issues"} 
[2026-07-27 08:45:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015291685760034816,"note":"Value kept but may cause issues"} 
[2026-07-27 08:45:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:45:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785122103000,"timestamp_ms":1785122103000,"timestamp_seconds":1785122103,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1919ed8"} 
[2026-07-27 08:45:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:45:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08: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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-27 08:45:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:45:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:45:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:45:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:45:07] local.INFO: Teltonika packet parsed successfully {"connection_id":143770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:45:07] local.INFO: Passing IMEI to GPS processor {"connection_id":143770,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:45:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":143770,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:45:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:45:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 08:45:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 08:45:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991258112001,"66":12015,"197":206,"87":13824,"24":8,"16":111562273729806336,"45":9015291685760034816},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-07-27 08:45:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 08:45:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 08:45:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991258112001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:45:07] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-27 08:45:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 08:45:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111562273729806336,"km_value":111562273729806.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:45:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015291685760034816,"description":"Unknown IO ID 45"} 
[2026-07-27 08:45:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991258112001,"power":12015,"unknown_197":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":9015291685760034816}} 
[2026-07-27 08:45:08] local.INFO: DEBUG: GPS processor result {"connection_id":143770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552053,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:45:08] local.INFO: GPS data processed {"connection_id":143770,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:45:08] local.INFO: Acknowledgment sent {"connection_id":143770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:45:09] local.INFO: TCP Data received {"connection_id":143771,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fa18cebb8012d7f930005afdaf0000b01122a..."} 
[2026-07-27 08:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa18cebb8012d7f930005afdaf0000b01122a..."} 
[2026-07-27 08:45:09] local.INFO: Processing buffer {"connection_id":143771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa18cebb8012d7f930005afdaf0000b01122a..."} 
[2026-07-27 08:45:09] local.INFO: Packet analysis {"connection_id":143771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa18c"} 
[2026-07-27 08:45:09] local.INFO: Extracted packet for processing {"connection_id":143771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa18c"} 
[2026-07-27 08:45:09] local.INFO: GPS Element Parsed {"raw_longitude":763335424,"raw_latitude":95410928,"longitude_deg":76.3335424,"latitude_deg":9.5410928,"altitude":11,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7f9300","hex_latitude":"05afdaf0","is_valid_coordinates":true} 
[2026-07-27 08:45:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:45:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991102208001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:45:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826040631492608,"note":"Value kept but may cause issues"} 
[2026-07-27 08:45:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193606082492983296,"note":"Value kept but may cause issues"} 
[2026-07-27 08:45:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:45:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785121795000,"timestamp_ms":1785121795000,"timestamp_seconds":1785121795,"priority":1,"record_length":96,"hex_timestamp":"0000019fa18cebb8"} 
[2026-07-27 08:45:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:45:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 08:45:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-07-27 08:45:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2441,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:45:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:45:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:45:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:45:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:45:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:45:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:45:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:45:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:45:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:45:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991102208001,"66":25734,"250":206,"85":12544,"24":0,"16":358826040631492608,"45":9193606082492983296},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 08:45:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:45:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:45:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991102208001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:45:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 08:45:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:45:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826040631492608,"km_value":358826040631492.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:45:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193606082492983296,"description":"Unknown IO ID 45"} 
[2026-07-27 08:45:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991102208001,"power":25734,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193606082492983296}} 
[2026-07-27 08:45:09] local.INFO: DEBUG: GPS processor result {"connection_id":143771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:45:09] local.INFO: GPS data processed {"connection_id":143771,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:45:09] local.INFO: Acknowledgment sent {"connection_id":143771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:45:17] local.INFO: TCP Data received {"connection_id":142675,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa191ba30012d0debc00706a380001b003d1d..."} 
[2026-07-27 08:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142675,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa191ba30012d0debc00706a380001b003d1d..."} 
[2026-07-27 08:45:17] local.INFO: Processing buffer {"connection_id":142675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa191ba30012d0debc00706a380001b003d1d..."} 
[2026-07-27 08:45:17] local.INFO: Packet analysis {"connection_id":142675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa191"} 
[2026-07-27 08:45:17] local.INFO: Extracted packet for processing {"connection_id":142675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa191"} 
[2026-07-27 08:45:17] local.INFO: GPS Element Parsed {"raw_longitude":755887040,"raw_latitude":117875584,"longitude_deg":75.588704,"latitude_deg":11.7875584,"altitude":27,"angle":61,"satellites":29,"speed":13,"hex_longitude":"2d0debc0","hex_latitude":"0706a380","is_valid_coordinates":true} 
[2026-07-27 08: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-07-27 08:45:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991258368001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:45:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25802892204048384,"note":"Value kept but may cause issues"} 
[2026-07-27 08:45:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":999517672475602944,"note":"Value kept but may cause issues"} 
[2026-07-27 08:45:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:45:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785122110000,"timestamp_ms":1785122110000,"timestamp_seconds":1785122110,"priority":1,"record_length":96,"hex_timestamp":"0000019fa191ba30"} 
[2026-07-27 08:45:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:45:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08: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":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-07-27 08:45:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733146368,"note":"Value kept but may cause issues"} 
[2026-07-27 08:45:17] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-27 08:45:17] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2710656160,"note":"Value kept but may cause issues"} 
[2026-07-27 08:45:17] local.WARNING: Large IO value detected {"io_id":161,"raw_value":2439010305,"note":"Value kept but may cause issues"} 
[2026-07-27 08:45:17] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-27 08:45:17] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503993338363904,"note":"Value kept but may cause issues"} 
[2026-07-27 08:45:17] local.WARNING: Large IO value detected {"io_id":6,"raw_value":2221408280,"note":"Value kept but may cause issues"} 
[2026-07-27 08:45:17] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18638616184841639,"note":"Value kept but may cause issues"} 
[2026-07-27 08:45:17] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6557504944541597952,"note":"Value kept but may cause issues"} 
[2026-07-27 08:45:17] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1705443534,"corrected_to":0} 
[2026-07-27 08:45:17] local.WARNING: Large IO value detected {"io_id":88,"raw_value":2281778445,"note":"Value kept but may cause issues"} 
[2026-07-27 08:45:17] local.WARNING: Large IO value detected {"io_id":208,"raw_value":3221685889,"note":"Value kept but may cause issues"} 
[2026-07-27 08:45:17] local.WARNING: Large IO value detected {"io_id":53,"raw_value":4227911013,"note":"Value kept but may cause issues"} 
[2026-07-27 08:45:17] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-07-27 08:45:17] local.WARNING: Large IO value detected {"io_id":91,"raw_value":2869231616,"note":"Value kept but may cause issues"} 
[2026-07-27 08:45:17] local.WARNING: Large IO value detected {"io_id":13,"raw_value":-4287419120762748905,"note":"Value kept but may cause issues"} 
[2026-07-27 08:45:17] local.WARNING: Large IO value detected {"io_id":184,"raw_value":84739149626017407,"note":"Value kept but may cause issues"} 
[2026-07-27 08:45:17] local.WARNING: Large IO value detected {"io_id":8,"raw_value":6755722066922752,"note":"Value kept but may cause issues"} 
[2026-07-27 08:45:17] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,167,94,24,241,157,16,171,159,154,45,64,162,25,30,10,66,151,192,161,26,147,1,240,71,227,6,4,113,205,20,88,208,31,239,53,2,91,7,13,206,184,8],"length":628,"final_offset":758,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1705443534,"validated":0}]} 
[2026-07-27 08:45:17] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1801530139751743488,"timestamp_seconds":1801530139751743.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 08:45:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:45:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:45:17] local.INFO: Teltonika packet parsed successfully {"connection_id":142675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:45:17] local.INFO: Passing IMEI to GPS processor {"connection_id":142675,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:45:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":142675,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:45:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:45:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 08:45:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 08:45:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991258368001,"66":14374,"167":206,"94":11008,"24":13,"16":25802892204048384,"45":999517672475602944},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-07-27 08:45:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 08:45:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 08:45:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991258368001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:45:17] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-27 08:45:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-27 08:45:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25802892204048384,"km_value":25802892204048.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:45:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":999517672475602944,"description":"Unknown IO ID 45"} 
[2026-07-27 08:45:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991258368001,"power":14374,"unknown_167":206,"unknown_94":11008,"ignition":13,"odometer":null,"unknown_45":999517672475602944}} 
[2026-07-27 08:45:17] local.INFO: DEBUG: GPS processor result {"connection_id":142675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552055,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:45:17] local.INFO: GPS data processed {"connection_id":142675,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:45:17] local.INFO: Acknowledgment sent {"connection_id":142675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:45:30] local.INFO: TCP Data received {"connection_id":142676,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142676,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:45:30] local.INFO: Processing buffer {"connection_id":142676,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:45:30] local.INFO: IMEI packet received {"connection_id":142676,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 08:45:30] local.INFO: IMEI acknowledgment sent {"connection_id":142676,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:45:32] local.INFO: TCP Data received {"connection_id":143772,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:45:32] local.INFO: Processing buffer {"connection_id":143772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:45:32] local.INFO: IMEI packet received {"connection_id":143772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 08:45:32] local.INFO: IMEI acknowledgment sent {"connection_id":143772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:45:34] local.INFO: TCP Data received {"connection_id":142676,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142676,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:45:34] local.INFO: Processing buffer {"connection_id":142676,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:45:34] local.INFO: IMEI packet received {"connection_id":142676,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 08:45:34] local.INFO: IMEI acknowledgment sent {"connection_id":142676,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:45:35] local.INFO: TCP Data received {"connection_id":142676,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa191a2c0012d7d1d8005ec4128000900a022..."} 
[2026-07-27 08:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa191a2c0012d7d1d8005ec4128000900a022..."} 
[2026-07-27 08:45:35] local.INFO: Processing buffer {"connection_id":142676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa191a2c0012d7d1d8005ec4128000900a022..."} 
[2026-07-27 08:45:35] local.INFO: Packet analysis {"connection_id":142676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa191"} 
[2026-07-27 08:45:35] local.INFO: Extracted packet for processing {"connection_id":142676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa191"} 
[2026-07-27 08:45:35] local.INFO: GPS Element Parsed {"raw_longitude":763174272,"raw_latitude":99369256,"longitude_deg":76.3174272,"latitude_deg":9.9369256,"altitude":9,"angle":160,"satellites":34,"speed":7,"hex_longitude":"2d7d1d80","hex_latitude":"05ec4128","is_valid_coordinates":true} 
[2026-07-27 08:45:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:45:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991258368001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:45:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111562282319740928,"note":"Value kept but may cause issues"} 
[2026-07-27 08:45:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015432423248355328,"note":"Value kept but may cause issues"} 
[2026-07-27 08:45:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:45:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785122104000,"timestamp_ms":1785122104000,"timestamp_seconds":1785122104,"priority":1,"record_length":96,"hex_timestamp":"0000019fa191a2c0"} 
[2026-07-27 08:45:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:45:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08:45:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-27 08:45:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2579,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:45:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:45:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:45:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:45:35] local.INFO: Teltonika packet parsed successfully {"connection_id":142676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:45:35] local.INFO: Passing IMEI to GPS processor {"connection_id":142676,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:45:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":142676,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:45:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:45:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 08:45:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 08:45:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991258368001,"66":12015,"197":206,"87":13824,"24":7,"16":111562282319740928,"45":9015432423248355328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-07-27 08:45:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 08:45:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 08:45:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991258368001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:45:35] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-27 08:45:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 08:45:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111562282319740928,"km_value":111562282319740.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:45:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015432423248355328,"description":"Unknown IO ID 45"} 
[2026-07-27 08:45:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991258368001,"power":12015,"unknown_197":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":9015432423248355328}} 
[2026-07-27 08:45:35] local.INFO: DEBUG: GPS processor result {"connection_id":142676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552056,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:45:35] local.INFO: GPS data processed {"connection_id":142676,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:45:35] local.INFO: Acknowledgment sent {"connection_id":142676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:45:36] local.INFO: TCP Data received {"connection_id":143772,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:45:36] local.INFO: Processing buffer {"connection_id":143772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:45:36] local.INFO: IMEI packet received {"connection_id":143772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 08:45:36] local.INFO: IMEI acknowledgment sent {"connection_id":143772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:45:38] local.INFO: TCP Data received {"connection_id":143772,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:45:38] local.INFO: Processing buffer {"connection_id":143772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:45:38] local.INFO: IMEI packet received {"connection_id":143772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 08:45:38] local.INFO: IMEI acknowledgment sent {"connection_id":143772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:45:39] local.INFO: TCP Data received {"connection_id":143772,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1918380012d7f930005afdaf0000a011227..."} 
[2026-07-27 08:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1918380012d7f930005afdaf0000a011227..."} 
[2026-07-27 08:45:39] local.INFO: Processing buffer {"connection_id":143772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1918380012d7f930005afdaf0000a011227..."} 
[2026-07-27 08:45:39] local.INFO: Packet analysis {"connection_id":143772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa191"} 
[2026-07-27 08:45:39] local.INFO: Extracted packet for processing {"connection_id":143772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa191"} 
[2026-07-27 08:45:39] local.INFO: GPS Element Parsed {"raw_longitude":763335424,"raw_latitude":95410928,"longitude_deg":76.3335424,"latitude_deg":9.5410928,"altitude":10,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d7f9300","hex_latitude":"05afdaf0","is_valid_coordinates":true} 
[2026-07-27 08:45:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:45:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991179520001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:45:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826040631492608,"note":"Value kept but may cause issues"} 
[2026-07-27 08:45:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192691288818511872,"note":"Value kept but may cause issues"} 
[2026-07-27 08:45:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:45:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785122096000,"timestamp_ms":1785122096000,"timestamp_seconds":1785122096,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1918380"} 
[2026-07-27 08:45:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:45:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 08: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-27 08:45:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:45:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:45:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:45:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:45:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:45:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:45:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:45: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-07-27 08:45:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:45:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:45:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991179520001,"66":25615,"250":206,"85":12544,"24":0,"16":358826040631492608,"45":9192691288818511872},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 08:45:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:45:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:45:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991179520001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:45:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 08:45:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:45:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826040631492608,"km_value":358826040631492.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:45:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192691288818511872,"description":"Unknown IO ID 45"} 
[2026-07-27 08:45:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991179520001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192691288818511872}} 
[2026-07-27 08:45:39] local.INFO: DEBUG: GPS processor result {"connection_id":143772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:45:39] local.INFO: GPS data processed {"connection_id":143772,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:45:39] local.INFO: Acknowledgment sent {"connection_id":143772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:45:41] local.INFO: TCP Data received {"connection_id":143773,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143773,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:45:41] local.INFO: Processing buffer {"connection_id":143773,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:45:41] local.INFO: IMEI packet received {"connection_id":143773,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 08:45:41] local.INFO: IMEI acknowledgment sent {"connection_id":143773,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:45:43] local.INFO: TCP Data received {"connection_id":143772,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1918380012d7f930005afdaf0000a011227..."} 
[2026-07-27 08:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1918380012d7f930005afdaf0000a011227..."} 
[2026-07-27 08:45:43] local.INFO: Processing buffer {"connection_id":143772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1918380012d7f930005afdaf0000a011227..."} 
[2026-07-27 08:45:43] local.INFO: Packet analysis {"connection_id":143772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa191"} 
[2026-07-27 08:45:43] local.INFO: Extracted packet for processing {"connection_id":143772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa191"} 
[2026-07-27 08:45:43] local.INFO: GPS Element Parsed {"raw_longitude":763335424,"raw_latitude":95410928,"longitude_deg":76.3335424,"latitude_deg":9.5410928,"altitude":10,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d7f9300","hex_latitude":"05afdaf0","is_valid_coordinates":true} 
[2026-07-27 08: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-07-27 08:45:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991179520001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:45:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826040631492608,"note":"Value kept but may cause issues"} 
[2026-07-27 08:45:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192691288818511872,"note":"Value kept but may cause issues"} 
[2026-07-27 08:45:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:45:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785122096000,"timestamp_ms":1785122096000,"timestamp_seconds":1785122096,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1918380"} 
[2026-07-27 08:45:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:45:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 08: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-27 08:45:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08: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-07-27 08:45:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:45:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:45:43] local.INFO: Teltonika packet parsed successfully {"connection_id":143772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:45:43] local.INFO: Passing IMEI to GPS processor {"connection_id":143772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:45:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":143772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:45:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:45:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:45:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:45:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991179520001,"66":25615,"250":206,"85":12544,"24":0,"16":358826040631492608,"45":9192691288818511872},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 08:45:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:45:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:45:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991179520001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:45:43] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 08:45:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:45:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826040631492608,"km_value":358826040631492.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:45:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192691288818511872,"description":"Unknown IO ID 45"} 
[2026-07-27 08:45:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991179520001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192691288818511872}} 
[2026-07-27 08:45:43] local.INFO: DEBUG: GPS processor result {"connection_id":143772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:45:43] local.INFO: GPS data processed {"connection_id":143772,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:45:43] local.INFO: Acknowledgment sent {"connection_id":143772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:45:45] local.INFO: TCP Data received {"connection_id":143773,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143773,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:45:45] local.INFO: Processing buffer {"connection_id":143773,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:45:45] local.INFO: IMEI packet received {"connection_id":143773,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 08:45:45] local.INFO: IMEI acknowledgment sent {"connection_id":143773,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:45:45] local.INFO: TCP Data received {"connection_id":143773,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa191be18012d0decc00706a468001b00231e..."} 
[2026-07-27 08:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa191be18012d0decc00706a468001b00231e..."} 
[2026-07-27 08:45:45] local.INFO: Processing buffer {"connection_id":143773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa191be18012d0decc00706a468001b00231e..."} 
[2026-07-27 08:45:45] local.INFO: Packet analysis {"connection_id":143773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa191"} 
[2026-07-27 08:45:45] local.INFO: Extracted packet for processing {"connection_id":143773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa191"} 
[2026-07-27 08:45:45] local.INFO: GPS Element Parsed {"raw_longitude":755887296,"raw_latitude":117875816,"longitude_deg":75.5887296,"latitude_deg":11.7875816,"altitude":27,"angle":35,"satellites":30,"speed":12,"hex_longitude":"2d0decc0","hex_latitude":"0706a468","is_valid_coordinates":true} 
[2026-07-27 08: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-07-27 08:45:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991260160001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:45:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25802909383917568,"note":"Value kept but may cause issues"} 
[2026-07-27 08:45:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1003106478428749824,"note":"Value kept but may cause issues"} 
[2026-07-27 08:45:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:45:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785122111000,"timestamp_ms":1785122111000,"timestamp_seconds":1785122111,"priority":1,"record_length":96,"hex_timestamp":"0000019fa191be18"} 
[2026-07-27 08:45:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:45:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-27 08:45:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08: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-07-27 08:45:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:45:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:45:45] local.INFO: Teltonika packet parsed successfully {"connection_id":143773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:45:45] local.INFO: Passing IMEI to GPS processor {"connection_id":143773,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:45:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":143773,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:45:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:45:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 08:45:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 08:45:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991260160001,"66":14374,"167":206,"94":11008,"24":12,"16":25802909383917568,"45":1003106478428749824},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-07-27 08:45:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 08:45:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 08:45:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991260160001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:45:45] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-27 08:45:45] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-27 08:45:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25802909383917568,"km_value":25802909383917.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:45:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1003106478428749824,"description":"Unknown IO ID 45"} 
[2026-07-27 08:45:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991260160001,"power":14374,"unknown_167":206,"unknown_94":11008,"ignition":12,"odometer":null,"unknown_45":1003106478428749824}} 
[2026-07-27 08:45:45] local.INFO: DEBUG: GPS processor result {"connection_id":143773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552059,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:45:45] local.INFO: GPS data processed {"connection_id":143773,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:45:45] local.INFO: Acknowledgment sent {"connection_id":143773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:45:50] local.INFO: TCP Data received {"connection_id":143774,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 08:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143774,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 08:45:50] local.INFO: Processing buffer {"connection_id":143774,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 08:45:50] local.INFO: IMEI packet received {"connection_id":143774,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 08:45:50] local.INFO: IMEI acknowledgment sent {"connection_id":143774,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:45:51] local.INFO: TCP Data received {"connection_id":143774,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 08:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143774,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 08:45:51] local.INFO: Processing buffer {"connection_id":143774,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 08:45:51] local.INFO: IMEI packet received {"connection_id":143774,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 08:45:51] local.INFO: IMEI acknowledgment sent {"connection_id":143774,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:45:55] local.INFO: TCP Data received {"connection_id":143774,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 08:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143774,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 08:45:55] local.INFO: Processing buffer {"connection_id":143774,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 08:45:55] local.INFO: IMEI packet received {"connection_id":143774,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 08:45:55] local.INFO: IMEI acknowledgment sent {"connection_id":143774,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:45:56] local.INFO: TCP Data received {"connection_id":143774,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-07-27 08:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143774,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-07-27 08:45:56] local.INFO: Processing buffer {"connection_id":143774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-07-27 08:45:56] local.INFO: Packet analysis {"connection_id":143774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-27 08:45:56] local.INFO: Extracted packet for processing {"connection_id":143774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-27 08:45:56] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-27 08:45:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:45:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8754513443815424,"note":"Value kept but may cause issues"} 
[2026-07-27 08:45:56] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,102,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-27 08:45:56] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":48000,"timestamp_seconds":48,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 08:45:56] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:45:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-27 08:45:56] local.INFO: Teltonika packet parsed successfully {"connection_id":143774,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:45:56] local.INFO: Passing IMEI to GPS processor {"connection_id":143774,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-27 08:45:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":143774,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-27 08:45:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-27 08:45:56] local.WARNING: DEBUG: No valid data to process  
[2026-07-27 08:45:56] local.INFO: DEBUG: GPS processor result {"connection_id":143774,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-27 08:45:56] local.ERROR: GPS data processing failed {"connection_id":143774,"error":"No valid data to process"} 
[2026-07-27 08:45:56] local.INFO: Acknowledgment sent {"connection_id":143774,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-27 08:46:06] local.INFO: TCP Data received {"connection_id":142676,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa191a6a8012d7d1dc005ec4088000900b322..."} 
[2026-07-27 08:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa191a6a8012d7d1dc005ec4088000900b322..."} 
[2026-07-27 08:46:06] local.INFO: Processing buffer {"connection_id":142676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa191a6a8012d7d1dc005ec4088000900b322..."} 
[2026-07-27 08:46:06] local.INFO: Packet analysis {"connection_id":142676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa191"} 
[2026-07-27 08:46:06] local.INFO: Extracted packet for processing {"connection_id":142676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa191"} 
[2026-07-27 08:46:06] local.INFO: GPS Element Parsed {"raw_longitude":763174336,"raw_latitude":99369096,"longitude_deg":76.3174336,"latitude_deg":9.9369096,"altitude":9,"angle":179,"satellites":34,"speed":6,"hex_longitude":"2d7d1dc0","hex_latitude":"05ec4088","is_valid_coordinates":true} 
[2026-07-27 08:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:46:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991258624001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:46:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111562290909675520,"note":"Value kept but may cause issues"} 
[2026-07-27 08:46:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015502791992485888,"note":"Value kept but may cause issues"} 
[2026-07-27 08:46:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:46:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785122105000,"timestamp_ms":1785122105000,"timestamp_seconds":1785122105,"priority":1,"record_length":96,"hex_timestamp":"0000019fa191a6a8"} 
[2026-07-27 08:46:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:46:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-27 08:46:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2579,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:46:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:46:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:46:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:46:06] local.INFO: Teltonika packet parsed successfully {"connection_id":142676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:46:06] local.INFO: Passing IMEI to GPS processor {"connection_id":142676,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:46:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":142676,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:46:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:46:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 08:46:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 08:46:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991258624001,"66":12015,"197":206,"87":13824,"24":6,"16":111562290909675520,"45":9015502791992485888},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-07-27 08:46:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 08:46:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 08:46:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991258624001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:46:06] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-27 08:46:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 08:46:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111562290909675520,"km_value":111562290909675.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:46:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015502791992485888,"description":"Unknown IO ID 45"} 
[2026-07-27 08:46:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991258624001,"power":12015,"unknown_197":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":9015502791992485888}} 
[2026-07-27 08:46:06] local.INFO: DEBUG: GPS processor result {"connection_id":142676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552060,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:46:06] local.INFO: GPS data processed {"connection_id":142676,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:46:06] local.INFO: Acknowledgment sent {"connection_id":142676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:46:14] local.INFO: TCP Data received {"connection_id":143772,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1918380012d7f930005afdaf0000a011227..."} 
[2026-07-27 08:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1918380012d7f930005afdaf0000a011227..."} 
[2026-07-27 08:46:14] local.INFO: Processing buffer {"connection_id":143772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1918380012d7f930005afdaf0000a011227..."} 
[2026-07-27 08:46:14] local.INFO: Packet analysis {"connection_id":143772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa191"} 
[2026-07-27 08:46:14] local.INFO: Extracted packet for processing {"connection_id":143772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa191"} 
[2026-07-27 08:46:14] local.INFO: GPS Element Parsed {"raw_longitude":763335424,"raw_latitude":95410928,"longitude_deg":76.3335424,"latitude_deg":9.5410928,"altitude":10,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d7f9300","hex_latitude":"05afdaf0","is_valid_coordinates":true} 
[2026-07-27 08:46:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:46:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991179520001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:46:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826040631492608,"note":"Value kept but may cause issues"} 
[2026-07-27 08:46:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192691288818511872,"note":"Value kept but may cause issues"} 
[2026-07-27 08:46:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:46:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785122096000,"timestamp_ms":1785122096000,"timestamp_seconds":1785122096,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1918380"} 
[2026-07-27 08:46:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:46:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 08: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-27 08:46:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:46:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:46:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:46:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:46:14] local.INFO: Teltonika packet parsed successfully {"connection_id":143772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:46:14] local.INFO: Passing IMEI to GPS processor {"connection_id":143772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:46:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":143772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:46: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-07-27 08:46:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:46:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:46:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991179520001,"66":25615,"250":206,"85":12544,"24":0,"16":358826040631492608,"45":9192691288818511872},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 08:46:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:46:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:46:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991179520001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:46:14] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 08:46:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:46:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826040631492608,"km_value":358826040631492.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:46:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192691288818511872,"description":"Unknown IO ID 45"} 
[2026-07-27 08:46:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991179520001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192691288818511872}} 
[2026-07-27 08:46:14] local.INFO: DEBUG: GPS processor result {"connection_id":143772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:46:14] local.INFO: GPS data processed {"connection_id":143772,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:46:14] local.INFO: Acknowledgment sent {"connection_id":143772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:46:17] local.INFO: TCP Data received {"connection_id":143773,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa19298d8012d0dcb000706efb8002001671e..."} 
[2026-07-27 08:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa19298d8012d0dcb000706efb8002001671e..."} 
[2026-07-27 08:46:17] local.INFO: Processing buffer {"connection_id":143773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa19298d8012d0dcb000706efb8002001671e..."} 
[2026-07-27 08:46:17] local.INFO: Packet analysis {"connection_id":143773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa192"} 
[2026-07-27 08:46:17] local.INFO: Extracted packet for processing {"connection_id":143773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa192"} 
[2026-07-27 08:46:17] local.INFO: GPS Element Parsed {"raw_longitude":755878656,"raw_latitude":117895096,"longitude_deg":75.5878656,"latitude_deg":11.7895096,"altitude":32,"angle":359,"satellites":30,"speed":16,"hex_longitude":"2d0dcb00","hex_latitude":"0706efb8","is_valid_coordinates":true} 
[2026-07-27 08: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-07-27 08:46:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991272448001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:46:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25804111974760448,"note":"Value kept but may cause issues"} 
[2026-07-27 08:46:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":994662229131556864,"note":"Value kept but may cause issues"} 
[2026-07-27 08:46:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:46:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785122167000,"timestamp_ms":1785122167000,"timestamp_seconds":1785122167,"priority":1,"record_length":96,"hex_timestamp":"0000019fa19298d8"} 
[2026-07-27 08:46:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:46:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-27 08:46:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08: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-07-27 08:46:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:46:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:46:17] local.INFO: Teltonika packet parsed successfully {"connection_id":143773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:46:17] local.INFO: Passing IMEI to GPS processor {"connection_id":143773,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:46:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":143773,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:46:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:46:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 08:46:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 08:46:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991272448001,"66":14548,"219":206,"94":10240,"24":16,"16":25804111974760448,"45":994662229131556864},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-27 08:46:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 08:46:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 08:46:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991272448001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:46:17] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-27 08:46:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 08:46:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25804111974760448,"km_value":25804111974760.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:46:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":994662229131556864,"description":"Unknown IO ID 45"} 
[2026-07-27 08:46:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991272448001,"power":14548,"unknown_219":206,"unknown_94":10240,"ignition":16,"odometer":null,"unknown_45":994662229131556864}} 
[2026-07-27 08:46:17] local.INFO: DEBUG: GPS processor result {"connection_id":143773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552062,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:46:17] local.INFO: GPS data processed {"connection_id":143773,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:46:17] local.INFO: Acknowledgment sent {"connection_id":143773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:46:30] local.INFO: TCP Data received {"connection_id":145094,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145094,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:46:30] local.INFO: Processing buffer {"connection_id":145094,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:46:30] local.INFO: IMEI packet received {"connection_id":145094,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 08:46:30] local.INFO: IMEI acknowledgment sent {"connection_id":145094,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:46:31] local.INFO: TCP Data received {"connection_id":145094,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145094,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:46:31] local.INFO: Processing buffer {"connection_id":145094,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:46:31] local.INFO: IMEI packet received {"connection_id":145094,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 08:46:31] local.INFO: IMEI acknowledgment sent {"connection_id":145094,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:46:35] local.INFO: TCP Data received {"connection_id":145094,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145094,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:46:35] local.INFO: Processing buffer {"connection_id":145094,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:46:35] local.INFO: IMEI packet received {"connection_id":145094,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 08:46:35] local.INFO: IMEI acknowledgment sent {"connection_id":145094,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:46:37] local.INFO: TCP Data received {"connection_id":145094,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa191c200012d7d1d0005ec3ed0000900eb25..."} 
[2026-07-27 08:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa191c200012d7d1d0005ec3ed0000900eb25..."} 
[2026-07-27 08:46:37] local.INFO: Processing buffer {"connection_id":145094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa191c200012d7d1d0005ec3ed0000900eb25..."} 
[2026-07-27 08:46:37] local.INFO: Packet analysis {"connection_id":145094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa191"} 
[2026-07-27 08:46:37] local.INFO: Extracted packet for processing {"connection_id":145094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa191"} 
[2026-07-27 08:46:37] local.INFO: GPS Element Parsed {"raw_longitude":763174144,"raw_latitude":99368656,"longitude_deg":76.3174144,"latitude_deg":9.9368656,"altitude":9,"angle":235,"satellites":37,"speed":7,"hex_longitude":"2d7d1d00","hex_latitude":"05ec3ed0","is_valid_coordinates":true} 
[2026-07-27 08:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:46:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991258880001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:46:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111562320974446592,"note":"Value kept but may cause issues"} 
[2026-07-27 08:46:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015573160736622592,"note":"Value kept but may cause issues"} 
[2026-07-27 08:46:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:46:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785122112000,"timestamp_ms":1785122112000,"timestamp_seconds":1785122112,"priority":1,"record_length":96,"hex_timestamp":"0000019fa191c200"} 
[2026-07-27 08:46:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:46:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-27 08:46:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2579,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:46:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:46:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:46:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:46:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:46:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145094,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:46:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145094,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:46:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:46:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 08:46:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 08:46:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991258880001,"66":12841,"110":206,"87":13824,"24":7,"16":111562320974446592,"45":9015573160736622592},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-27 08:46:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 08:46:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 08:46:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991258880001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:46:37] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-27 08:46:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 08:46:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111562320974446592,"km_value":111562320974446.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:46:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015573160736622592,"description":"Unknown IO ID 45"} 
[2026-07-27 08:46:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991258880001,"power":12841,"unknown_110":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":9015573160736622592}} 
[2026-07-27 08:46:37] local.INFO: DEBUG: GPS processor result {"connection_id":145094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552063,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:46:37] local.INFO: GPS data processed {"connection_id":145094,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:46:37] local.INFO: Acknowledgment sent {"connection_id":145094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:46:38] local.INFO: TCP Data received {"connection_id":145095,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:46:38] local.INFO: Processing buffer {"connection_id":145095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:46:38] local.INFO: IMEI packet received {"connection_id":145095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 08:46:38] local.INFO: IMEI acknowledgment sent {"connection_id":145095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:46:39] local.INFO: TCP Data received {"connection_id":142678,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142678,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:46:39] local.INFO: Processing buffer {"connection_id":142678,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:46:39] local.INFO: IMEI packet received {"connection_id":142678,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 08:46:39] local.INFO: IMEI acknowledgment sent {"connection_id":142678,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:46:40] local.INFO: TCP Data received {"connection_id":142678,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142678,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:46:40] local.INFO: Processing buffer {"connection_id":142678,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:46:40] local.INFO: IMEI packet received {"connection_id":142678,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 08:46:40] local.INFO: IMEI acknowledgment sent {"connection_id":142678,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:46:41] local.INFO: TCP Data received {"connection_id":142678,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142678,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:46:41] local.INFO: Processing buffer {"connection_id":142678,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:46:41] local.INFO: IMEI packet received {"connection_id":142678,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 08:46:41] local.INFO: IMEI acknowledgment sent {"connection_id":142678,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:46:43] local.INFO: TCP Data received {"connection_id":145095,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:46:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:46:43] local.INFO: Processing buffer {"connection_id":145095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:46:43] local.INFO: IMEI packet received {"connection_id":145095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 08:46:43] local.INFO: IMEI acknowledgment sent {"connection_id":145095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:46:43] local.INFO: TCP Data received {"connection_id":145095,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1918380012d7f930005afdaf0000a011227..."} 
[2026-07-27 08:46:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145095,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1918380012d7f930005afdaf0000a011227..."} 
[2026-07-27 08:46:43] local.INFO: Processing buffer {"connection_id":145095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1918380012d7f930005afdaf0000a011227..."} 
[2026-07-27 08:46:43] local.INFO: Packet analysis {"connection_id":145095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa191"} 
[2026-07-27 08:46:43] local.INFO: Extracted packet for processing {"connection_id":145095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa191"} 
[2026-07-27 08:46:43] local.INFO: GPS Element Parsed {"raw_longitude":763335424,"raw_latitude":95410928,"longitude_deg":76.3335424,"latitude_deg":9.5410928,"altitude":10,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d7f9300","hex_latitude":"05afdaf0","is_valid_coordinates":true} 
[2026-07-27 08:46:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:46:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991179520001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:46:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826040631492608,"note":"Value kept but may cause issues"} 
[2026-07-27 08:46:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192691288818511872,"note":"Value kept but may cause issues"} 
[2026-07-27 08:46:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:46:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785122096000,"timestamp_ms":1785122096000,"timestamp_seconds":1785122096,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1918380"} 
[2026-07-27 08:46:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:46:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 08:46:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-27 08:46:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:46:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:46:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:46:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:46:43] local.INFO: Teltonika packet parsed successfully {"connection_id":145095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:46:43] local.INFO: Passing IMEI to GPS processor {"connection_id":145095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:46:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":145095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:46: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-07-27 08:46:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:46:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:46:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991179520001,"66":25615,"250":206,"85":12544,"24":0,"16":358826040631492608,"45":9192691288818511872},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 08:46:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:46:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:46:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991179520001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:46:43] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 08:46:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:46:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826040631492608,"km_value":358826040631492.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:46:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192691288818511872,"description":"Unknown IO ID 45"} 
[2026-07-27 08:46:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991179520001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192691288818511872}} 
[2026-07-27 08:46:43] local.INFO: DEBUG: GPS processor result {"connection_id":145095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:46:43] local.INFO: GPS data processed {"connection_id":145095,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:46:43] local.INFO: Acknowledgment sent {"connection_id":145095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:46:46] local.INFO: TCP Data received {"connection_id":142678,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142678,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:46:46] local.INFO: Processing buffer {"connection_id":142678,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:46:46] local.INFO: IMEI packet received {"connection_id":142678,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 08:46:46] local.INFO: IMEI acknowledgment sent {"connection_id":142678,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:46:46] local.INFO: TCP Data received {"connection_id":142678,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa192a490012d0dcbc00706f450002100111f..."} 
[2026-07-27 08:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa192a490012d0dcbc00706f450002100111f..."} 
[2026-07-27 08:46:46] local.INFO: Processing buffer {"connection_id":142678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa192a490012d0dcbc00706f450002100111f..."} 
[2026-07-27 08:46:46] local.INFO: Packet analysis {"connection_id":142678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa192"} 
[2026-07-27 08:46:46] local.INFO: Extracted packet for processing {"connection_id":142678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa192"} 
[2026-07-27 08:46:46] local.INFO: GPS Element Parsed {"raw_longitude":755878848,"raw_latitude":117896272,"longitude_deg":75.5878848,"latitude_deg":11.7896272,"altitude":33,"angle":17,"satellites":31,"speed":15,"hex_longitude":"2d0dcbc0","hex_latitude":"0706f450","is_valid_coordinates":true} 
[2026-07-27 08:46:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:46:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991274752001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:46:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25804167809335296,"note":"Value kept but may cause issues"} 
[2026-07-27 08:46:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":993888172946470912,"note":"Value kept but may cause issues"} 
[2026-07-27 08:46:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:46:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785122170000,"timestamp_ms":1785122170000,"timestamp_seconds":1785122170,"priority":1,"record_length":96,"hex_timestamp":"0000019fa192a490"} 
[2026-07-27 08:46:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:46:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08:46:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-27 08:46:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:46:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:46:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:46:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:46:46] local.INFO: Teltonika packet parsed successfully {"connection_id":142678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:46:46] local.INFO: Passing IMEI to GPS processor {"connection_id":142678,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:46:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":142678,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:46:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:46:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 08:46:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 08:46:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991274752001,"66":14439,"219":206,"94":10240,"24":15,"16":25804167809335296,"45":993888172946470912},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-27 08:46:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 08:46:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 08:46:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991274752001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:46:46] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-27 08:46:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 08:46:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25804167809335296,"km_value":25804167809335.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:46:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":993888172946470912,"description":"Unknown IO ID 45"} 
[2026-07-27 08:46:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991274752001,"power":14439,"unknown_219":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":993888172946470912}} 
[2026-07-27 08:46:46] local.INFO: DEBUG: GPS processor result {"connection_id":142678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552065,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:46:46] local.INFO: GPS data processed {"connection_id":142678,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:46:46] local.INFO: Acknowledgment sent {"connection_id":142678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:46:48] local.INFO: TCP Data received {"connection_id":145095,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1918380012d7f930005afdaf0000a011227..."} 
[2026-07-27 08:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145095,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1918380012d7f930005afdaf0000a011227..."} 
[2026-07-27 08:46:48] local.INFO: Processing buffer {"connection_id":145095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1918380012d7f930005afdaf0000a011227..."} 
[2026-07-27 08:46:48] local.INFO: Packet analysis {"connection_id":145095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa191"} 
[2026-07-27 08:46:48] local.INFO: Extracted packet for processing {"connection_id":145095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa191"} 
[2026-07-27 08:46:48] local.INFO: GPS Element Parsed {"raw_longitude":763335424,"raw_latitude":95410928,"longitude_deg":76.3335424,"latitude_deg":9.5410928,"altitude":10,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d7f9300","hex_latitude":"05afdaf0","is_valid_coordinates":true} 
[2026-07-27 08: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-07-27 08:46:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991179520001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:46:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826040631492608,"note":"Value kept but may cause issues"} 
[2026-07-27 08:46:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192691288818511872,"note":"Value kept but may cause issues"} 
[2026-07-27 08:46:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:46:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785122096000,"timestamp_ms":1785122096000,"timestamp_seconds":1785122096,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1918380"} 
[2026-07-27 08:46:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:46:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 08: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-27 08:46:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08: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-07-27 08:46:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:46:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:46:48] local.INFO: Teltonika packet parsed successfully {"connection_id":145095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:46:48] local.INFO: Passing IMEI to GPS processor {"connection_id":145095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:46:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":145095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:46:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:46:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:46:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:46:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991179520001,"66":25615,"250":206,"85":12544,"24":0,"16":358826040631492608,"45":9192691288818511872},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 08:46:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:46:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:46:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991179520001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:46:48] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 08:46:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:46:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826040631492608,"km_value":358826040631492.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:46:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192691288818511872,"description":"Unknown IO ID 45"} 
[2026-07-27 08:46:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991179520001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192691288818511872}} 
[2026-07-27 08:46:48] local.INFO: DEBUG: GPS processor result {"connection_id":145095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:46:48] local.INFO: GPS data processed {"connection_id":145095,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:46:48] local.INFO: Acknowledgment sent {"connection_id":145095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:47:00] local.INFO: TCP Data received {"connection_id":142797,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 08:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142797,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 08:47:00] local.INFO: Processing buffer {"connection_id":142797,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 08:47:00] local.INFO: IMEI packet received {"connection_id":142797,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 08:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":142797,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:47:09] local.INFO: TCP Data received {"connection_id":145094,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa191cdb8012d7d1a0005ec3d68000a00fd25..."} 
[2026-07-27 08:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa191cdb8012d7d1a0005ec3d68000a00fd25..."} 
[2026-07-27 08:47:09] local.INFO: Processing buffer {"connection_id":145094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa191cdb8012d7d1a0005ec3d68000a00fd25..."} 
[2026-07-27 08:47:09] local.INFO: Packet analysis {"connection_id":145094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa191"} 
[2026-07-27 08:47:09] local.INFO: Extracted packet for processing {"connection_id":145094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa191"} 
[2026-07-27 08:47:09] local.INFO: GPS Element Parsed {"raw_longitude":763173376,"raw_latitude":99368296,"longitude_deg":76.3173376,"latitude_deg":9.9368296,"altitude":10,"angle":253,"satellites":37,"speed":11,"hex_longitude":"2d7d1a00","hex_latitude":"05ec3d68","is_valid_coordinates":true} 
[2026-07-27 08:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:47:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991260672001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:47:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111562359629152256,"note":"Value kept but may cause issues"} 
[2026-07-27 08:47:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015362054503976960,"note":"Value kept but may cause issues"} 
[2026-07-27 08:47:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:47:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785122115000,"timestamp_ms":1785122115000,"timestamp_seconds":1785122115,"priority":1,"record_length":96,"hex_timestamp":"0000019fa191cdb8"} 
[2026-07-27 08:47:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:47:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-27 08:47:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:47:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:47:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:47:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:47:09] local.INFO: Teltonika packet parsed successfully {"connection_id":145094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:47:09] local.INFO: Passing IMEI to GPS processor {"connection_id":145094,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:47:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":145094,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:47:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:47:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 08:47:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 08:47:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991260672001,"66":13189,"110":206,"87":13824,"24":11,"16":111562359629152256,"45":9015362054503976960},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-27 08:47:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 08:47:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 08:47:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991260672001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:47:09] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-27 08:47:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 08:47:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111562359629152256,"km_value":111562359629152.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:47:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015362054503976960,"description":"Unknown IO ID 45"} 
[2026-07-27 08:47:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991260672001,"power":13189,"unknown_110":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":9015362054503976960}} 
[2026-07-27 08:47:09] local.INFO: DEBUG: GPS processor result {"connection_id":145094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552067,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:47:09] local.INFO: GPS data processed {"connection_id":145094,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:47:09] local.INFO: Acknowledgment sent {"connection_id":145094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:47:17] local.INFO: TCP Data received {"connection_id":142678,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa19396c0012d0e3dc007070208002800981f..."} 
[2026-07-27 08:47:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa19396c0012d0e3dc007070208002800981f..."} 
[2026-07-27 08:47:17] local.INFO: Processing buffer {"connection_id":142678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa19396c0012d0e3dc007070208002800981f..."} 
[2026-07-27 08:47:17] local.INFO: Packet analysis {"connection_id":142678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa193"} 
[2026-07-27 08:47:17] local.INFO: Extracted packet for processing {"connection_id":142678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa193"} 
[2026-07-27 08:47:17] local.INFO: GPS Element Parsed {"raw_longitude":755908032,"raw_latitude":117899784,"longitude_deg":75.5908032,"latitude_deg":11.7899784,"altitude":40,"angle":152,"satellites":31,"speed":12,"hex_longitude":"2d0e3dc0","hex_latitude":"07070208","is_valid_coordinates":true} 
[2026-07-27 08: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-07-27 08:47:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991291136001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:47:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25805653868019712,"note":"Value kept but may cause issues"} 
[2026-07-27 08:47:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1025976320292759552,"note":"Value kept but may cause issues"} 
[2026-07-27 08:47:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:47:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785122232000,"timestamp_ms":1785122232000,"timestamp_seconds":1785122232,"priority":1,"record_length":96,"hex_timestamp":"0000019fa19396c0"} 
[2026-07-27 08:47:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:47: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-07-27 08: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-27 08:47:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08: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-07-27 08:47:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:47:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:47:17] local.INFO: Teltonika packet parsed successfully {"connection_id":142678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:47:17] local.INFO: Passing IMEI to GPS processor {"connection_id":142678,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:47:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":142678,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:47:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:47:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 08:47:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 08:47:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991291136001,"66":13678,"219":206,"94":10240,"24":12,"16":25805653868019712,"45":1025976320292759552},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-27 08:47:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 08:47:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 08:47:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991291136001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:47:17] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-27 08:47:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 08:47:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25805653868019712,"km_value":25805653868019.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:47:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1025976320292759552,"description":"Unknown IO ID 45"} 
[2026-07-27 08:47:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991291136001,"power":13678,"unknown_219":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":1025976320292759552}} 
[2026-07-27 08:47:17] local.INFO: DEBUG: GPS processor result {"connection_id":142678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552068,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:47:17] local.INFO: GPS data processed {"connection_id":142678,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:47:17] local.INFO: Acknowledgment sent {"connection_id":142678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:47:30] local.INFO: TCP Data received {"connection_id":145096,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145096,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:47:30] local.INFO: Processing buffer {"connection_id":145096,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:47:30] local.INFO: IMEI packet received {"connection_id":145096,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 08:47:30] local.INFO: IMEI acknowledgment sent {"connection_id":145096,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:47:32] local.INFO: TCP Data received {"connection_id":142798,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:47:32] local.INFO: Processing buffer {"connection_id":142798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:47:32] local.INFO: IMEI packet received {"connection_id":142798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 08:47:32] local.INFO: IMEI acknowledgment sent {"connection_id":142798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:47:35] local.INFO: TCP Data received {"connection_id":145096,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145096,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:47:35] local.INFO: Processing buffer {"connection_id":145096,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:47:35] local.INFO: IMEI packet received {"connection_id":145096,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 08:47:35] local.INFO: IMEI acknowledgment sent {"connection_id":145096,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:47:37] local.INFO: TCP Data received {"connection_id":145096,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa191dd58012d7d138005ec3ca8000a010b25..."} 
[2026-07-27 08:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa191dd58012d7d138005ec3ca8000a010b25..."} 
[2026-07-27 08:47:37] local.INFO: Processing buffer {"connection_id":145096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa191dd58012d7d138005ec3ca8000a010b25..."} 
[2026-07-27 08:47:37] local.INFO: Packet analysis {"connection_id":145096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa191"} 
[2026-07-27 08:47:37] local.INFO: Extracted packet for processing {"connection_id":145096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa191"} 
[2026-07-27 08:47:37] local.INFO: GPS Element Parsed {"raw_longitude":763171712,"raw_latitude":99368104,"longitude_deg":76.3171712,"latitude_deg":9.9368104,"altitude":10,"angle":267,"satellites":37,"speed":22,"hex_longitude":"2d7d1380","hex_latitude":"05ec3ca8","is_valid_coordinates":true} 
[2026-07-27 08:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:47:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991261440001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:47:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111562441233530880,"note":"Value kept but may cause issues"} 
[2026-07-27 08:47:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9014517629573752832,"note":"Value kept but may cause issues"} 
[2026-07-27 08:47:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:47:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785122119000,"timestamp_ms":1785122119000,"timestamp_seconds":1785122119,"priority":1,"record_length":96,"hex_timestamp":"0000019fa191dd58"} 
[2026-07-27 08:47:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:47:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-27 08:47:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:47:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:47:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:47:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:47:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:47:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145096,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:47:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145096,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:47:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:47:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 08:47:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 08:47:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991261440001,"66":13135,"110":206,"87":13824,"24":22,"16":111562441233530880,"45":9014517629573752832},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-27 08:47:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 08:47:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 08:47:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991261440001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:47:37] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-27 08:47:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 08:47:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111562441233530880,"km_value":111562441233530.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:47:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9014517629573752832,"description":"Unknown IO ID 45"} 
[2026-07-27 08:47:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991261440001,"power":13135,"unknown_110":206,"unknown_87":13824,"ignition":22,"odometer":null,"unknown_45":9014517629573752832}} 
[2026-07-27 08:47:37] local.INFO: DEBUG: GPS processor result {"connection_id":145096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552069,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:47:37] local.INFO: GPS data processed {"connection_id":145096,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:47:37] local.INFO: Acknowledgment sent {"connection_id":145096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:47:38] local.INFO: TCP Data received {"connection_id":142798,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:47:38] local.INFO: Processing buffer {"connection_id":142798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:47:38] local.INFO: IMEI packet received {"connection_id":142798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 08:47:38] local.INFO: IMEI acknowledgment sent {"connection_id":142798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:47:38] local.INFO: TCP Data received {"connection_id":142798,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1918380012d7f930005afdaf0000a011227..."} 
[2026-07-27 08:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1918380012d7f930005afdaf0000a011227..."} 
[2026-07-27 08:47:38] local.INFO: Processing buffer {"connection_id":142798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1918380012d7f930005afdaf0000a011227..."} 
[2026-07-27 08:47:38] local.INFO: Packet analysis {"connection_id":142798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa191"} 
[2026-07-27 08:47:38] local.INFO: Extracted packet for processing {"connection_id":142798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa191"} 
[2026-07-27 08:47:38] local.INFO: GPS Element Parsed {"raw_longitude":763335424,"raw_latitude":95410928,"longitude_deg":76.3335424,"latitude_deg":9.5410928,"altitude":10,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d7f9300","hex_latitude":"05afdaf0","is_valid_coordinates":true} 
[2026-07-27 08:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:47:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991179520001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:47:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826040631492608,"note":"Value kept but may cause issues"} 
[2026-07-27 08:47:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192691288818511872,"note":"Value kept but may cause issues"} 
[2026-07-27 08:47:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:47:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785122096000,"timestamp_ms":1785122096000,"timestamp_seconds":1785122096,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1918380"} 
[2026-07-27 08:47:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:47:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 08:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-27 08:47:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:47:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:47:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:47:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:47:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:47:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:47:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:47:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:47:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:47:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:47:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991179520001,"66":25615,"250":206,"85":12544,"24":0,"16":358826040631492608,"45":9192691288818511872},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 08:47:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:47:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:47:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991179520001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:47:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 08:47:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:47:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826040631492608,"km_value":358826040631492.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:47:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192691288818511872,"description":"Unknown IO ID 45"} 
[2026-07-27 08:47:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991179520001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192691288818511872}} 
[2026-07-27 08:47:38] local.INFO: DEBUG: GPS processor result {"connection_id":142798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:47:38] local.INFO: GPS data processed {"connection_id":142798,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:47:38] local.INFO: Acknowledgment sent {"connection_id":142798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:47:40] local.INFO: TCP Data received {"connection_id":143775,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143775,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:47:40] local.INFO: Processing buffer {"connection_id":143775,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:47:40] local.INFO: IMEI packet received {"connection_id":143775,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 08:47:40] local.INFO: IMEI acknowledgment sent {"connection_id":143775,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:47:44] local.INFO: TCP Data received {"connection_id":143776,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 08:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143776,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 08:47:44] local.INFO: Processing buffer {"connection_id":143776,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 08:47:44] local.INFO: IMEI packet received {"connection_id":143776,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 08:47:44] local.INFO: IMEI acknowledgment sent {"connection_id":143776,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:47:45] local.INFO: TCP Data received {"connection_id":143775,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143775,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:47:45] local.INFO: Processing buffer {"connection_id":143775,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:47:45] local.INFO: IMEI packet received {"connection_id":143775,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 08:47:45] local.INFO: IMEI acknowledgment sent {"connection_id":143775,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:47:45] local.INFO: TCP Data received {"connection_id":143775,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143775,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:47:45] local.INFO: Processing buffer {"connection_id":143775,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:47:45] local.INFO: IMEI packet received {"connection_id":143775,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 08:47:45] local.INFO: IMEI acknowledgment sent {"connection_id":143775,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:47:46] local.INFO: TCP Data received {"connection_id":143775,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1939aa8012d0e3dc0070700e0002800ac1f..."} 
[2026-07-27 08:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143775,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1939aa8012d0e3dc0070700e0002800ac1f..."} 
[2026-07-27 08:47:46] local.INFO: Processing buffer {"connection_id":143775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1939aa8012d0e3dc0070700e0002800ac1f..."} 
[2026-07-27 08:47:46] local.INFO: Packet analysis {"connection_id":143775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa193"} 
[2026-07-27 08:47:46] local.INFO: Extracted packet for processing {"connection_id":143775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa193"} 
[2026-07-27 08:47:46] local.INFO: GPS Element Parsed {"raw_longitude":755908032,"raw_latitude":117899488,"longitude_deg":75.5908032,"latitude_deg":11.7899488,"altitude":40,"angle":172,"satellites":31,"speed":10,"hex_longitude":"2d0e3dc0","hex_latitude":"070700e0","is_valid_coordinates":true} 
[2026-07-27 08:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:47:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991291392001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:47:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25805666752921600,"note":"Value kept but may cause issues"} 
[2026-07-27 08:47:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1026187426525218816,"note":"Value kept but may cause issues"} 
[2026-07-27 08:47:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:47:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785122233000,"timestamp_ms":1785122233000,"timestamp_seconds":1785122233,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1939aa8"} 
[2026-07-27 08:47:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:47:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-07-27 08:47:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:47:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:47:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:47:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:47:46] local.INFO: Teltonika packet parsed successfully {"connection_id":143775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:47:46] local.INFO: Passing IMEI to GPS processor {"connection_id":143775,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:47:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":143775,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:47:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:47:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 08:47:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 08:47:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991291392001,"66":13678,"219":206,"94":10240,"24":10,"16":25805666752921600,"45":1026187426525218816},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-27 08:47:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 08:47:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 08:47:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991291392001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:47:46] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-27 08:47:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 08:47:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25805666752921600,"km_value":25805666752921.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:47:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1026187426525218816,"description":"Unknown IO ID 45"} 
[2026-07-27 08:47:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991291392001,"power":13678,"unknown_219":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":1026187426525218816}} 
[2026-07-27 08:47:46] local.INFO: DEBUG: GPS processor result {"connection_id":143775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552071,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:47:46] local.INFO: GPS data processed {"connection_id":143775,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:47:46] local.INFO: Acknowledgment sent {"connection_id":143775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:47:51] local.INFO: TCP Data received {"connection_id":143775,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa193a278012d0e3dc00706fea0002800c11f..."} 
[2026-07-27 08:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143775,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa193a278012d0e3dc00706fea0002800c11f..."} 
[2026-07-27 08:47:51] local.INFO: Processing buffer {"connection_id":143775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa193a278012d0e3dc00706fea0002800c11f..."} 
[2026-07-27 08:47:51] local.INFO: Packet analysis {"connection_id":143775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa193"} 
[2026-07-27 08:47:51] local.INFO: Extracted packet for processing {"connection_id":143775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa193"} 
[2026-07-27 08:47:51] local.INFO: GPS Element Parsed {"raw_longitude":755908032,"raw_latitude":117898912,"longitude_deg":75.5908032,"latitude_deg":11.7898912,"altitude":40,"angle":193,"satellites":31,"speed":11,"hex_longitude":"2d0e3dc0","hex_latitude":"0706fea0","is_valid_coordinates":true} 
[2026-07-27 08:47:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:47:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991291648001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:47:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25805696817692672,"note":"Value kept but may cause issues"} 
[2026-07-27 08:47:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1026187426525143040,"note":"Value kept but may cause issues"} 
[2026-07-27 08:47:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:47:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785122235000,"timestamp_ms":1785122235000,"timestamp_seconds":1785122235,"priority":1,"record_length":96,"hex_timestamp":"0000019fa193a278"} 
[2026-07-27 08:47:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:47:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08:47:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-07-27 08:47:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:47:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:47:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:47:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:47:51] local.INFO: Teltonika packet parsed successfully {"connection_id":143775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:47:51] local.INFO: Passing IMEI to GPS processor {"connection_id":143775,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:47:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":143775,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:47:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:47:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 08:47:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 08:47:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991291648001,"66":14428,"219":206,"94":10240,"24":11,"16":25805696817692672,"45":1026187426525143040},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-27 08:47:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 08:47:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 08:47:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991291648001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:47:51] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-27 08:47:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 08:47:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25805696817692672,"km_value":25805696817692.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:47:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1026187426525143040,"description":"Unknown IO ID 45"} 
[2026-07-27 08:47:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991291648001,"power":14428,"unknown_219":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":1026187426525143040}} 
[2026-07-27 08:47:51] local.INFO: DEBUG: GPS processor result {"connection_id":143775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552072,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:47:51] local.INFO: GPS data processed {"connection_id":143775,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:47:51] local.INFO: Acknowledgment sent {"connection_id":143775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:48:10] local.INFO: TCP Data received {"connection_id":142798,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1918380012d7f930005afdaf0000a011227..."} 
[2026-07-27 08:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1918380012d7f930005afdaf0000a011227..."} 
[2026-07-27 08:48:10] local.INFO: Processing buffer {"connection_id":142798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1918380012d7f930005afdaf0000a011227..."} 
[2026-07-27 08:48:10] local.INFO: Packet analysis {"connection_id":142798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa191"} 
[2026-07-27 08:48:10] local.INFO: Extracted packet for processing {"connection_id":142798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa191"} 
[2026-07-27 08:48:10] local.INFO: GPS Element Parsed {"raw_longitude":763335424,"raw_latitude":95410928,"longitude_deg":76.3335424,"latitude_deg":9.5410928,"altitude":10,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d7f9300","hex_latitude":"05afdaf0","is_valid_coordinates":true} 
[2026-07-27 08:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:48:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991179520001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:48:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826040631492608,"note":"Value kept but may cause issues"} 
[2026-07-27 08:48:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192691288818511872,"note":"Value kept but may cause issues"} 
[2026-07-27 08:48:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:48:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785122096000,"timestamp_ms":1785122096000,"timestamp_seconds":1785122096,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1918380"} 
[2026-07-27 08:48:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:48:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 08:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-27 08:48:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:48:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:48:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:48:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:48:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:48:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:48:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:48:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:48:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:48:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:48:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991179520001,"66":25615,"250":206,"85":12544,"24":0,"16":358826040631492608,"45":9192691288818511872},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 08:48:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:48:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:48:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991179520001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:48:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 08:48:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:48:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826040631492608,"km_value":358826040631492.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:48:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192691288818511872,"description":"Unknown IO ID 45"} 
[2026-07-27 08:48:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991179520001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192691288818511872}} 
[2026-07-27 08:48:10] local.INFO: DEBUG: GPS processor result {"connection_id":142798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:48:10] local.INFO: GPS data processed {"connection_id":142798,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:48:10] local.INFO: Acknowledgment sent {"connection_id":142798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:48:10] local.INFO: TCP Data received {"connection_id":145096,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa193f480012d7ba00005ec1b88000f00fd28..."} 
[2026-07-27 08:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa193f480012d7ba00005ec1b88000f00fd28..."} 
[2026-07-27 08:48:10] local.INFO: Processing buffer {"connection_id":145096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa193f480012d7ba00005ec1b88000f00fd28..."} 
[2026-07-27 08:48:10] local.INFO: Packet analysis {"connection_id":145096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa193"} 
[2026-07-27 08:48:10] local.INFO: Extracted packet for processing {"connection_id":145096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa193"} 
[2026-07-27 08:48:10] local.INFO: GPS Element Parsed {"raw_longitude":763076608,"raw_latitude":99359624,"longitude_deg":76.3076608,"latitude_deg":9.9359624,"altitude":15,"angle":253,"satellites":40,"speed":33,"hex_longitude":"2d7ba000","hex_latitude":"05ec1b88","is_valid_coordinates":true} 
[2026-07-27 08:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:48:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991294464001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:48:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111567019668668416,"note":"Value kept but may cause issues"} 
[2026-07-27 08:48:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8918323556281358336,"note":"Value kept but may cause issues"} 
[2026-07-27 08:48:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:48:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785122256000,"timestamp_ms":1785122256000,"timestamp_seconds":1785122256,"priority":1,"record_length":96,"hex_timestamp":"0000019fa193f480"} 
[2026-07-27 08:48:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:48:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-27 08:48:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:48:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:48:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:48:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:48:10] local.INFO: Teltonika packet parsed successfully {"connection_id":145096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:48:10] local.INFO: Passing IMEI to GPS processor {"connection_id":145096,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:48:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":145096,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:48:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:48:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 08:48:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 08:48:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991294464001,"66":13298,"198":206,"87":13824,"24":33,"16":111567019668668416,"45":8918323556281358336},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-07-27 08:48:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 08:48:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 08:48:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991294464001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:48:10] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-27 08:48:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 08:48:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111567019668668416,"km_value":111567019668668.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:48:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8918323556281358336,"description":"Unknown IO ID 45"} 
[2026-07-27 08:48:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991294464001,"power":13298,"unknown_198":206,"unknown_87":13824,"ignition":33,"odometer":null,"unknown_45":8918323556281358336}} 
[2026-07-27 08:48:10] local.INFO: DEBUG: GPS processor result {"connection_id":145096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552074,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:48:10] local.INFO: GPS data processed {"connection_id":145096,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:48:10] local.INFO: Acknowledgment sent {"connection_id":145096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:48:22] local.INFO: TCP Data received {"connection_id":143775,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa193b600012d0e3d400706f8c8002900b51f..."} 
[2026-07-27 08:48:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143775,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa193b600012d0e3d400706f8c8002900b51f..."} 
[2026-07-27 08:48:22] local.INFO: Processing buffer {"connection_id":143775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa193b600012d0e3d400706f8c8002900b51f..."} 
[2026-07-27 08:48:22] local.INFO: Packet analysis {"connection_id":143775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa193"} 
[2026-07-27 08:48:22] local.INFO: Extracted packet for processing {"connection_id":143775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa193"} 
[2026-07-27 08:48:22] local.INFO: GPS Element Parsed {"raw_longitude":755907904,"raw_latitude":117897416,"longitude_deg":75.5907904,"latitude_deg":11.7897416,"altitude":41,"angle":181,"satellites":31,"speed":12,"hex_longitude":"2d0e3d40","hex_latitude":"0706f8c8","is_valid_coordinates":true} 
[2026-07-27 08: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-07-27 08:48:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991292160001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:48:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25805769832136704,"note":"Value kept but may cause issues"} 
[2026-07-27 08:48:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1026187426524995584,"note":"Value kept but may cause issues"} 
[2026-07-27 08:48:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:48:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785122240000,"timestamp_ms":1785122240000,"timestamp_seconds":1785122240,"priority":1,"record_length":96,"hex_timestamp":"0000019fa193b600"} 
[2026-07-27 08:48:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:48: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-07-27 08:48:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-27 08:48:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08: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-07-27 08:48:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:48:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:48:22] local.INFO: Teltonika packet parsed successfully {"connection_id":143775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:48:22] local.INFO: Passing IMEI to GPS processor {"connection_id":143775,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:48:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":143775,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:48:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:48:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 08:48:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 08:48:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991292160001,"66":14461,"219":206,"94":10240,"24":12,"16":25805769832136704,"45":1026187426524995584},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-27 08:48:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 08:48:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 08:48:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991292160001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:48:22] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-27 08:48:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 08:48:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25805769832136704,"km_value":25805769832136.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:48:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1026187426524995584,"description":"Unknown IO ID 45"} 
[2026-07-27 08:48:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991292160001,"power":14461,"unknown_219":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":1026187426524995584}} 
[2026-07-27 08:48:23] local.INFO: DEBUG: GPS processor result {"connection_id":143775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552075,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:48:23] local.INFO: GPS data processed {"connection_id":143775,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:48:23] local.INFO: Acknowledgment sent {"connection_id":143775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:48:30] local.INFO: TCP Data received {"connection_id":142680,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142680,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:48:30] local.INFO: Processing buffer {"connection_id":142680,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:48:30] local.INFO: IMEI packet received {"connection_id":142680,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 08:48:30] local.INFO: IMEI acknowledgment sent {"connection_id":142680,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:48:32] local.INFO: TCP Data received {"connection_id":142680,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142680,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:48:32] local.INFO: Processing buffer {"connection_id":142680,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:48:32] local.INFO: IMEI packet received {"connection_id":142680,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 08:48:32] local.INFO: IMEI acknowledgment sent {"connection_id":142680,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:48:33] local.INFO: TCP Data received {"connection_id":142681,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:48:33] local.INFO: Processing buffer {"connection_id":142681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:48:33] local.INFO: IMEI packet received {"connection_id":142681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 08:48:33] local.INFO: IMEI acknowledgment sent {"connection_id":142681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:48:35] local.INFO: TCP Data received {"connection_id":142680,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142680,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:48:35] local.INFO: Processing buffer {"connection_id":142680,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:48:35] local.INFO: IMEI packet received {"connection_id":142680,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 08:48:35] local.INFO: IMEI acknowledgment sent {"connection_id":142680,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:48:36] local.INFO: TCP Data received {"connection_id":142680,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1941f78012d7b7c0005ec10b0001100fd2a..."} 
[2026-07-27 08:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1941f78012d7b7c0005ec10b0001100fd2a..."} 
[2026-07-27 08:48:36] local.INFO: Processing buffer {"connection_id":142680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1941f78012d7b7c0005ec10b0001100fd2a..."} 
[2026-07-27 08:48:36] local.INFO: Packet analysis {"connection_id":142680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa194"} 
[2026-07-27 08:48:36] local.INFO: Extracted packet for processing {"connection_id":142680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa194"} 
[2026-07-27 08:48:36] local.INFO: GPS Element Parsed {"raw_longitude":763067392,"raw_latitude":99356848,"longitude_deg":76.3067392,"latitude_deg":9.9356848,"altitude":17,"angle":253,"satellites":42,"speed":34,"hex_longitude":"2d7b7c00","hex_latitude":"05ec10b0","is_valid_coordinates":true} 
[2026-07-27 08:48:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:48:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991297536001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:48:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111567479230169088,"note":"Value kept but may cause issues"} 
[2026-07-27 08:48:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8908120088374904832,"note":"Value kept but may cause issues"} 
[2026-07-27 08:48:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:48:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785122267000,"timestamp_ms":1785122267000,"timestamp_seconds":1785122267,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1941f78"} 
[2026-07-27 08:48:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:48:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08:48:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-07-27 08:48:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2631,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:48:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:48:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:48:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:48:36] local.INFO: Teltonika packet parsed successfully {"connection_id":142680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:48:36] local.INFO: Passing IMEI to GPS processor {"connection_id":142680,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:48:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":142680,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:48:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:48:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 08:48:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 08:48:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991297536001,"66":12852,"198":206,"87":13824,"24":34,"16":111567479230169088,"45":8908120088374904832},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-07-27 08:48:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 08:48:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 08:48:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991297536001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:48:36] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-27 08:48:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 08:48:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111567479230169088,"km_value":111567479230169.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:48:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8908120088374904832,"description":"Unknown IO ID 45"} 
[2026-07-27 08:48:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991297536001,"power":12852,"unknown_198":206,"unknown_87":13824,"ignition":34,"odometer":null,"unknown_45":8908120088374904832}} 
[2026-07-27 08:48:36] local.INFO: DEBUG: GPS processor result {"connection_id":142680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552076,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:48:36] local.INFO: GPS data processed {"connection_id":142680,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:48:36] local.INFO: Acknowledgment sent {"connection_id":142680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:48:38] local.INFO: TCP Data received {"connection_id":142681,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:48:38] local.INFO: Processing buffer {"connection_id":142681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:48:38] local.INFO: IMEI packet received {"connection_id":142681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 08:48:38] local.INFO: IMEI acknowledgment sent {"connection_id":142681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:48:38] local.INFO: TCP Data received {"connection_id":142681,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1918380012d7f930005afdaf0000a011227..."} 
[2026-07-27 08:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1918380012d7f930005afdaf0000a011227..."} 
[2026-07-27 08:48:38] local.INFO: Processing buffer {"connection_id":142681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1918380012d7f930005afdaf0000a011227..."} 
[2026-07-27 08:48:38] local.INFO: Packet analysis {"connection_id":142681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa191"} 
[2026-07-27 08:48:38] local.INFO: Extracted packet for processing {"connection_id":142681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa191"} 
[2026-07-27 08:48:38] local.INFO: GPS Element Parsed {"raw_longitude":763335424,"raw_latitude":95410928,"longitude_deg":76.3335424,"latitude_deg":9.5410928,"altitude":10,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d7f9300","hex_latitude":"05afdaf0","is_valid_coordinates":true} 
[2026-07-27 08:48:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:48:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991179520001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:48:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826040631492608,"note":"Value kept but may cause issues"} 
[2026-07-27 08:48:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192691288818511872,"note":"Value kept but may cause issues"} 
[2026-07-27 08:48:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:48:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785122096000,"timestamp_ms":1785122096000,"timestamp_seconds":1785122096,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1918380"} 
[2026-07-27 08:48:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:48:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 08:48:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-27 08:48:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:48:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:48:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:48:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:48:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:48:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:48:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:48:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:48:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:48:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:48:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991179520001,"66":25615,"250":206,"85":12544,"24":0,"16":358826040631492608,"45":9192691288818511872},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 08:48:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:48:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:48:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991179520001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:48:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 08:48:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:48:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826040631492608,"km_value":358826040631492.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:48:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192691288818511872,"description":"Unknown IO ID 45"} 
[2026-07-27 08:48:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991179520001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192691288818511872}} 
[2026-07-27 08:48:38] local.INFO: DEBUG: GPS processor result {"connection_id":142681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:48:38] local.INFO: GPS data processed {"connection_id":142681,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:48:38] local.INFO: Acknowledgment sent {"connection_id":142681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:48:45] local.INFO: TCP Data received {"connection_id":142799,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142799,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:48:45] local.INFO: Processing buffer {"connection_id":142799,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:48:45] local.INFO: IMEI packet received {"connection_id":142799,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 08:48:45] local.INFO: IMEI acknowledgment sent {"connection_id":142799,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:48:51] local.INFO: TCP Data received {"connection_id":142799,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142799,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:48:51] local.INFO: Processing buffer {"connection_id":142799,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:48:51] local.INFO: IMEI packet received {"connection_id":142799,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 08:48:51] local.INFO: IMEI acknowledgment sent {"connection_id":142799,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:48:51] local.INFO: TCP Data received {"connection_id":142799,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa193c5a0012d0e3d800706f2b8002a00a91f..."} 
[2026-07-27 08:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa193c5a0012d0e3d800706f2b8002a00a91f..."} 
[2026-07-27 08:48:51] local.INFO: Processing buffer {"connection_id":142799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa193c5a0012d0e3d800706f2b8002a00a91f..."} 
[2026-07-27 08:48:51] local.INFO: Packet analysis {"connection_id":142799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa193"} 
[2026-07-27 08:48:51] local.INFO: Extracted packet for processing {"connection_id":142799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa193"} 
[2026-07-27 08:48:51] local.INFO: GPS Element Parsed {"raw_longitude":755907968,"raw_latitude":117895864,"longitude_deg":75.5907968,"latitude_deg":11.7895864,"altitude":42,"angle":169,"satellites":31,"speed":15,"hex_longitude":"2d0e3d80","hex_latitude":"0706f2b8","is_valid_coordinates":true} 
[2026-07-27 08:48:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:48:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991293440001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:48:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25805842846580736,"note":"Value kept but may cause issues"} 
[2026-07-27 08:48:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1026046689036257280,"note":"Value kept but may cause issues"} 
[2026-07-27 08:48:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:48:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785122244000,"timestamp_ms":1785122244000,"timestamp_seconds":1785122244,"priority":1,"record_length":96,"hex_timestamp":"0000019fa193c5a0"} 
[2026-07-27 08:48:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:48:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08:48:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-27 08:48:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:48:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:48:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:48:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:48:51] local.INFO: Teltonika packet parsed successfully {"connection_id":142799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:48:51] local.INFO: Passing IMEI to GPS processor {"connection_id":142799,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:48:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":142799,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:48:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:48:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 08:48:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 08:48:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991293440001,"66":14450,"219":206,"94":10240,"24":15,"16":25805842846580736,"45":1026046689036257280},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-27 08:48:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 08:48:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 08:48:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991293440001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:48:51] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-27 08:48:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 08:48:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25805842846580736,"km_value":25805842846580.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:48:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1026046689036257280,"description":"Unknown IO ID 45"} 
[2026-07-27 08:48:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991293440001,"power":14450,"unknown_219":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":1026046689036257280}} 
[2026-07-27 08:48:52] local.INFO: DEBUG: GPS processor result {"connection_id":142799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552078,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:48:52] local.INFO: GPS data processed {"connection_id":142799,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:48:52] local.INFO: Acknowledgment sent {"connection_id":142799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:48:52] local.INFO: TCP Data received {"connection_id":142799,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa193d928012d0e3dc00706ec68002900b61e..."} 
[2026-07-27 08:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa193d928012d0e3dc00706ec68002900b61e..."} 
[2026-07-27 08:48:52] local.INFO: Processing buffer {"connection_id":142799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa193d928012d0e3dc00706ec68002900b61e..."} 
[2026-07-27 08:48:52] local.INFO: Packet analysis {"connection_id":142799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa193"} 
[2026-07-27 08:48:52] local.INFO: Extracted packet for processing {"connection_id":142799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa193"} 
[2026-07-27 08:48:52] local.INFO: GPS Element Parsed {"raw_longitude":755908032,"raw_latitude":117894248,"longitude_deg":75.5908032,"latitude_deg":11.7894248,"altitude":41,"angle":182,"satellites":30,"speed":9,"hex_longitude":"2d0e3dc0","hex_latitude":"0706ec68","is_valid_coordinates":true} 
[2026-07-27 08:48:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:48:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991294464001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:48:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25805924450959360,"note":"Value kept but may cause issues"} 
[2026-07-27 08:48:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1026117057780037632,"note":"Value kept but may cause issues"} 
[2026-07-27 08:48:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:48:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785122249000,"timestamp_ms":1785122249000,"timestamp_seconds":1785122249,"priority":1,"record_length":96,"hex_timestamp":"0000019fa193d928"} 
[2026-07-27 08:48:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:48:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08:48:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-27 08:48:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:48:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:48:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:48:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:48:52] local.INFO: Teltonika packet parsed successfully {"connection_id":142799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:48:52] local.INFO: Passing IMEI to GPS processor {"connection_id":142799,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:48:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":142799,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:48:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:48:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 08:48:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 08:48:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991294464001,"66":14450,"219":206,"94":10240,"24":9,"16":25805924450959360,"45":1026117057780037632},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-27 08:48:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 08:48:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 08:48:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991294464001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:48:52] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-27 08:48:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 08:48:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25805924450959360,"km_value":25805924450959.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:48:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1026117057780037632,"description":"Unknown IO ID 45"} 
[2026-07-27 08:48:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991294464001,"power":14450,"unknown_219":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":1026117057780037632}} 
[2026-07-27 08:48:52] local.INFO: DEBUG: GPS processor result {"connection_id":142799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552079,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:48:52] local.INFO: GPS data processed {"connection_id":142799,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:48:52] local.INFO: Acknowledgment sent {"connection_id":142799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:49:07] local.INFO: TCP Data received {"connection_id":142680,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1944a70012d7b59c005ec0538001000f92a..."} 
[2026-07-27 08:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1944a70012d7b59c005ec0538001000f92a..."} 
[2026-07-27 08:49:07] local.INFO: Processing buffer {"connection_id":142680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1944a70012d7b59c005ec0538001000f92a..."} 
[2026-07-27 08:49:07] local.INFO: Packet analysis {"connection_id":142680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa194"} 
[2026-07-27 08:49:07] local.INFO: Extracted packet for processing {"connection_id":142680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa194"} 
[2026-07-27 08:49:07] local.INFO: GPS Element Parsed {"raw_longitude":763058624,"raw_latitude":99353912,"longitude_deg":76.3058624,"latitude_deg":9.9353912,"altitude":16,"angle":249,"satellites":42,"speed":31,"hex_longitude":"2d7b59c0","hex_latitude":"05ec0538","is_valid_coordinates":true} 
[2026-07-27 08:49:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:49:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991300352001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:49:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111567921611800576,"note":"Value kept but may cause issues"} 
[2026-07-27 08:49:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8897986989212610560,"note":"Value kept but may cause issues"} 
[2026-07-27 08:49:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:49:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785122278000,"timestamp_ms":1785122278000,"timestamp_seconds":1785122278,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1944a70"} 
[2026-07-27 08:49:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:49:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08:49:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-27 08:49:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":916,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:49:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:49:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:49:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:49:07] local.INFO: Teltonika packet parsed successfully {"connection_id":142680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:49:07] local.INFO: Passing IMEI to GPS processor {"connection_id":142680,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:49:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":142680,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:49:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:49:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 08:49:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 08:49:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991300352001,"66":12809,"155":206,"87":13824,"24":31,"16":111567921611800576,"45":8897986989212610560},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,87,24,16,45]} 
[2026-07-27 08:49:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 08:49:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 08:49:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991300352001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:49:07] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-27 08:49:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 08:49:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111567921611800576,"km_value":111567921611800.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:49:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8897986989212610560,"description":"Unknown IO ID 45"} 
[2026-07-27 08:49:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991300352001,"power":12809,"unknown_155":206,"unknown_87":13824,"ignition":31,"odometer":null,"unknown_45":8897986989212610560}} 
[2026-07-27 08:49:07] local.INFO: DEBUG: GPS processor result {"connection_id":142680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552080,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:49:07] local.INFO: GPS data processed {"connection_id":142680,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:49:07] local.INFO: Acknowledgment sent {"connection_id":142680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:49:10] local.INFO: TCP Data received {"connection_id":142681,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1918380012d7f930005afdaf0000a011227..."} 
[2026-07-27 08:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1918380012d7f930005afdaf0000a011227..."} 
[2026-07-27 08:49:10] local.INFO: Processing buffer {"connection_id":142681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1918380012d7f930005afdaf0000a011227..."} 
[2026-07-27 08:49:10] local.INFO: Packet analysis {"connection_id":142681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa191"} 
[2026-07-27 08:49:10] local.INFO: Extracted packet for processing {"connection_id":142681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa191"} 
[2026-07-27 08:49:10] local.INFO: GPS Element Parsed {"raw_longitude":763335424,"raw_latitude":95410928,"longitude_deg":76.3335424,"latitude_deg":9.5410928,"altitude":10,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d7f9300","hex_latitude":"05afdaf0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 08:49:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991179520001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:49:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826040631492608,"note":"Value kept but may cause issues"} 
[2026-07-27 08:49:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192691288818511872,"note":"Value kept but may cause issues"} 
[2026-07-27 08:49:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:49:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785122096000,"timestamp_ms":1785122096000,"timestamp_seconds":1785122096,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1918380"} 
[2026-07-27 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-07-27 08:49:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-27 08:49:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 08:49:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:49:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:49:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:49:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08: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-07-27 08:49:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:49:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:49:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991179520001,"66":25615,"250":206,"85":12544,"24":0,"16":358826040631492608,"45":9192691288818511872},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 08:49:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:49:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:49:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991179520001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:49:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 08:49:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:49:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826040631492608,"km_value":358826040631492.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:49:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192691288818511872,"description":"Unknown IO ID 45"} 
[2026-07-27 08:49:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991179520001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192691288818511872}} 
[2026-07-27 08:49:10] local.INFO: DEBUG: GPS processor result {"connection_id":142681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:49:10] local.INFO: GPS data processed {"connection_id":142681,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:49:10] local.INFO: Acknowledgment sent {"connection_id":142681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:49:23] local.INFO: TCP Data received {"connection_id":142799,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1940fd8012d0e3e000706df60002500a71f..."} 
[2026-07-27 08:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1940fd8012d0e3e000706df60002500a71f..."} 
[2026-07-27 08:49:23] local.INFO: Processing buffer {"connection_id":142799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1940fd8012d0e3e000706df60002500a71f..."} 
[2026-07-27 08:49:23] local.INFO: Packet analysis {"connection_id":142799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa194"} 
[2026-07-27 08:49:23] local.INFO: Extracted packet for processing {"connection_id":142799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa194"} 
[2026-07-27 08:49:23] local.INFO: GPS Element Parsed {"raw_longitude":755908096,"raw_latitude":117890912,"longitude_deg":75.5908096,"latitude_deg":11.7890912,"altitude":37,"angle":167,"satellites":31,"speed":8,"hex_longitude":"2d0e3e00","hex_latitude":"0706df60","is_valid_coordinates":true} 
[2026-07-27 08: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-07-27 08:49:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991295744001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:49:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25806083364749312,"note":"Value kept but may cause issues"} 
[2026-07-27 08:49:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1026187426523801600,"note":"Value kept but may cause issues"} 
[2026-07-27 08:49:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:49:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785122263000,"timestamp_ms":1785122263000,"timestamp_seconds":1785122263,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1940fd8"} 
[2026-07-27 08:49:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:49: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-07-27 08: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-27 08:49:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08: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-07-27 08:49:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:49:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:49:23] local.INFO: Teltonika packet parsed successfully {"connection_id":142799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:49:23] local.INFO: Passing IMEI to GPS processor {"connection_id":142799,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:49:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":142799,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:49:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:49:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 08:49:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 08:49:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991295744001,"66":14396,"219":206,"94":10240,"24":8,"16":25806083364749312,"45":1026187426523801600},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-27 08:49:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 08:49:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 08:49:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991295744001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:49:23] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-27 08:49:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 08:49:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25806083364749312,"km_value":25806083364749.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:49:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1026187426523801600,"description":"Unknown IO ID 45"} 
[2026-07-27 08:49:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991295744001,"power":14396,"unknown_219":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":1026187426523801600}} 
[2026-07-27 08:49:23] local.INFO: DEBUG: GPS processor result {"connection_id":142799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552082,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:49:23] local.INFO: GPS data processed {"connection_id":142799,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:49:23] local.INFO: Acknowledgment sent {"connection_id":142799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:49:31] local.INFO: TCP Data received {"connection_id":143777,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143777,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:49:31] local.INFO: Processing buffer {"connection_id":143777,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:49:31] local.INFO: IMEI packet received {"connection_id":143777,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 08:49:31] local.INFO: IMEI acknowledgment sent {"connection_id":143777,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:49:32] local.INFO: TCP Data received {"connection_id":142800,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:49:32] local.INFO: Processing buffer {"connection_id":142800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:49:32] local.INFO: IMEI packet received {"connection_id":142800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 08:49:32] local.INFO: IMEI acknowledgment sent {"connection_id":142800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:49:37] local.INFO: TCP Data received {"connection_id":143777,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143777,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:49:37] local.INFO: Processing buffer {"connection_id":143777,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:49:37] local.INFO: IMEI packet received {"connection_id":143777,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 08:49:37] local.INFO: IMEI acknowledgment sent {"connection_id":143777,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:49:37] local.INFO: TCP Data received {"connection_id":142682,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142682,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:49:37] local.INFO: Processing buffer {"connection_id":142682,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:49:37] local.INFO: IMEI packet received {"connection_id":142682,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 08:49:37] local.INFO: IMEI acknowledgment sent {"connection_id":142682,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:49:37] local.INFO: TCP Data received {"connection_id":142800,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:49:37] local.INFO: Processing buffer {"connection_id":142800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:49:37] local.INFO: IMEI packet received {"connection_id":142800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 08:49:37] local.INFO: IMEI acknowledgment sent {"connection_id":142800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:49:38] local.INFO: TCP Data received {"connection_id":142800,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1918380012d7f930005afdaf0000a011227..."} 
[2026-07-27 08:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1918380012d7f930005afdaf0000a011227..."} 
[2026-07-27 08:49:38] local.INFO: Processing buffer {"connection_id":142800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1918380012d7f930005afdaf0000a011227..."} 
[2026-07-27 08:49:38] local.INFO: Packet analysis {"connection_id":142800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa191"} 
[2026-07-27 08:49:38] local.INFO: Extracted packet for processing {"connection_id":142800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa191"} 
[2026-07-27 08:49:38] local.INFO: GPS Element Parsed {"raw_longitude":763335424,"raw_latitude":95410928,"longitude_deg":76.3335424,"latitude_deg":9.5410928,"altitude":10,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d7f9300","hex_latitude":"05afdaf0","is_valid_coordinates":true} 
[2026-07-27 08:49:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:49:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991179520001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:49:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826040631492608,"note":"Value kept but may cause issues"} 
[2026-07-27 08:49:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192691288818511872,"note":"Value kept but may cause issues"} 
[2026-07-27 08:49:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:49:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785122096000,"timestamp_ms":1785122096000,"timestamp_seconds":1785122096,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1918380"} 
[2026-07-27 08:49:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:49:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 08:49:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-27 08:49:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:49:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:49:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:49:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:49:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:49:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:49:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:49:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:49:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:49:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:49:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991179520001,"66":25615,"250":206,"85":12544,"24":0,"16":358826040631492608,"45":9192691288818511872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 08:49:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:49:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:49:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991179520001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:49:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 08:49:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:49:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826040631492608,"km_value":358826040631492.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:49:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192691288818511872,"description":"Unknown IO ID 45"} 
[2026-07-27 08:49:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991179520001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192691288818511872}} 
[2026-07-27 08:49:38] local.INFO: DEBUG: GPS processor result {"connection_id":142800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:49:38] local.INFO: GPS data processed {"connection_id":142800,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:49:38] local.INFO: Acknowledgment sent {"connection_id":142800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:49:40] local.INFO: TCP Data received {"connection_id":143777,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143777,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:49:40] local.INFO: Processing buffer {"connection_id":143777,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:49:40] local.INFO: IMEI packet received {"connection_id":143777,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 08:49:40] local.INFO: IMEI acknowledgment sent {"connection_id":143777,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:49:41] local.INFO: TCP Data received {"connection_id":142682,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142682,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:49:41] local.INFO: Processing buffer {"connection_id":142682,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:49:41] local.INFO: IMEI packet received {"connection_id":142682,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 08:49:41] local.INFO: IMEI acknowledgment sent {"connection_id":142682,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:49:41] local.INFO: TCP Data received {"connection_id":143777,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1947568012d7b398005ebf718000e00f42a..."} 
[2026-07-27 08:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1947568012d7b398005ebf718000e00f42a..."} 
[2026-07-27 08:49:41] local.INFO: Processing buffer {"connection_id":143777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1947568012d7b398005ebf718000e00f42a..."} 
[2026-07-27 08:49:41] local.INFO: Packet analysis {"connection_id":143777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa194"} 
[2026-07-27 08:49:41] local.INFO: Extracted packet for processing {"connection_id":143777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa194"} 
[2026-07-27 08:49:41] local.INFO: GPS Element Parsed {"raw_longitude":763050368,"raw_latitude":99350296,"longitude_deg":76.3050368,"latitude_deg":9.9350296,"altitude":14,"angle":244,"satellites":42,"speed":29,"hex_longitude":"2d7b3980","hex_latitude":"05ebf718","is_valid_coordinates":true} 
[2026-07-27 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-07-27 08:49:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991303168001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:49:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111568355403497472,"note":"Value kept but may cause issues"} 
[2026-07-27 08:49:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8888346471259518976,"note":"Value kept but may cause issues"} 
[2026-07-27 08:49:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:49:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785122289000,"timestamp_ms":1785122289000,"timestamp_seconds":1785122289,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1947568"} 
[2026-07-27 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-07-27 08:49:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-07-27 08:49:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3314649325912458240,"note":"Value kept but may cause issues"} 
[2026-07-27 08:49:41] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-27 08:49:41] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2710761160,"note":"Value kept but may cause issues"} 
[2026-07-27 08:49:41] local.WARNING: Large IO value detected {"io_id":64,"raw_value":3489738107,"note":"Value kept but may cause issues"} 
[2026-07-27 08:49:41] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-27 08:49:41] local.WARNING: Large IO value detected {"io_id":161,"raw_value":-7869019996981282496,"note":"Value kept but may cause issues"} 
[2026-07-27 08:49:41] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1439039694,"corrected_to":0} 
[2026-07-27 08:49:41] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":2147871793,"corrected_to":0} 
[2026-07-27 08:49:41] local.WARNING: Large IO value detected {"io_id":50,"raw_value":8430964270715424343,"note":"Value kept but may cause issues"} 
[2026-07-27 08:49:41] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-1426339259823879129,"note":"Value kept but may cause issues"} 
[2026-07-27 08:49:41] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755558354977009,"note":"Value kept but may cause issues"} 
[2026-07-27 08:49:41] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,155,87,24,241,157,16,94,159,31,45,17,42,10,66,198,244,27,15,40,93,197,64,1,240,248,227,161,236,4,113,205,20,246,160,239,50,2,140,5,37,54,78],"length":535,"final_offset":665,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1439039694,"validated":0},{"io_id":246,"original":2147871793,"validated":0}]} 
[2026-07-27 08:49:41] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1153195463392821248,"timestamp_seconds":1153195463392821.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 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-07-27 08:49:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:49:41] local.INFO: Teltonika packet parsed successfully {"connection_id":143777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:49:41] local.INFO: Passing IMEI to GPS processor {"connection_id":143777,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:49:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":143777,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:49:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:49:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 08:49:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 08:49:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991303168001,"66":12722,"155":206,"87":13824,"24":29,"16":111568355403497472,"45":8888346471259518976},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,87,24,16,45]} 
[2026-07-27 08:49:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 08:49:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 08:49:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991303168001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:49:41] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-27 08:49:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 08:49:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111568355403497472,"km_value":111568355403497.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:49:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8888346471259518976,"description":"Unknown IO ID 45"} 
[2026-07-27 08:49:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991303168001,"power":12722,"unknown_155":206,"unknown_87":13824,"ignition":29,"odometer":null,"unknown_45":8888346471259518976}} 
[2026-07-27 08:49:41] local.INFO: DEBUG: GPS processor result {"connection_id":143777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552084,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:49:41] local.INFO: GPS data processed {"connection_id":143777,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:49:41] local.INFO: Acknowledgment sent {"connection_id":143777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:49:42] local.INFO: TCP Data received {"connection_id":142682,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142682,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:49:42] local.INFO: Processing buffer {"connection_id":142682,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:49:42] local.INFO: IMEI packet received {"connection_id":142682,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 08:49:42] local.INFO: IMEI acknowledgment sent {"connection_id":142682,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:49:43] local.INFO: TCP Data received {"connection_id":142682,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa195ade8012d0e2cc007068248001f00f421..."} 
[2026-07-27 08:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa195ade8012d0e2cc007068248001f00f421..."} 
[2026-07-27 08:49:43] local.INFO: Processing buffer {"connection_id":142682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa195ade8012d0e2cc007068248001f00f421..."} 
[2026-07-27 08:49:43] local.INFO: Packet analysis {"connection_id":142682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa195"} 
[2026-07-27 08:49:43] local.INFO: Extracted packet for processing {"connection_id":142682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa195"} 
[2026-07-27 08:49:43] local.INFO: GPS Element Parsed {"raw_longitude":755903680,"raw_latitude":117867080,"longitude_deg":75.590368,"latitude_deg":11.786708,"altitude":31,"angle":244,"satellites":33,"speed":7,"hex_longitude":"2d0e2cc0","hex_latitude":"07068248","is_valid_coordinates":true} 
[2026-07-27 08:49:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:49:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991325952001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:49:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25807298840494080,"note":"Value kept but may cause issues"} 
[2026-07-27 08:49:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1021754195633696768,"note":"Value kept but may cause issues"} 
[2026-07-27 08:49:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:49:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785122369000,"timestamp_ms":1785122369000,"timestamp_seconds":1785122369,"priority":1,"record_length":96,"hex_timestamp":"0000019fa195ade8"} 
[2026-07-27 08:49:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:49:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-27 08:49:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:49:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:49:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:49:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:49:43] local.INFO: Teltonika packet parsed successfully {"connection_id":142682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:49:43] local.INFO: Passing IMEI to GPS processor {"connection_id":142682,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:49:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":142682,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:49:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:49:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 08:49:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 08:49:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991325952001,"66":14407,"219":206,"94":10240,"24":7,"16":25807298840494080,"45":1021754195633696768},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-27 08:49:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 08:49:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 08:49:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991325952001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:49:43] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-27 08:49:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 08:49:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25807298840494080,"km_value":25807298840494.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:49:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1021754195633696768,"description":"Unknown IO ID 45"} 
[2026-07-27 08:49:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991325952001,"power":14407,"unknown_219":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":1021754195633696768}} 
[2026-07-27 08:49:43] local.INFO: DEBUG: GPS processor result {"connection_id":142682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552085,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:49:43] local.INFO: GPS data processed {"connection_id":142682,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:49:43] local.INFO: Acknowledgment sent {"connection_id":142682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:49:45] local.INFO: TCP Data received {"connection_id":143777,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa194c770012d7b310005ebf310000d00f12a..."} 
[2026-07-27 08:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa194c770012d7b310005ebf310000d00f12a..."} 
[2026-07-27 08:49:45] local.INFO: Processing buffer {"connection_id":143777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa194c770012d7b310005ebf310000d00f12a..."} 
[2026-07-27 08:49:45] local.INFO: Packet analysis {"connection_id":143777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa194"} 
[2026-07-27 08:49:45] local.INFO: Extracted packet for processing {"connection_id":143777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa194"} 
[2026-07-27 08:49:45] local.INFO: GPS Element Parsed {"raw_longitude":763048192,"raw_latitude":99349264,"longitude_deg":76.3048192,"latitude_deg":9.9349264,"altitude":13,"angle":241,"satellites":42,"speed":5,"hex_longitude":"2d7b3100","hex_latitude":"05ebf310","is_valid_coordinates":true} 
[2026-07-27 08:49:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:49:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991305984001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:49:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111568471367614464,"note":"Value kept but may cause issues"} 
[2026-07-27 08:49:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8879268903259674624,"note":"Value kept but may cause issues"} 
[2026-07-27 08:49:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:49:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785122310000,"timestamp_ms":1785122310000,"timestamp_seconds":1785122310,"priority":1,"record_length":96,"hex_timestamp":"0000019fa194c770"} 
[2026-07-27 08:49:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:49:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08:49:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-27 08:49:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:49:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:49:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:49:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:49:45] local.INFO: Teltonika packet parsed successfully {"connection_id":143777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:49:45] local.INFO: Passing IMEI to GPS processor {"connection_id":143777,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:49:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":143777,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:49:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:49:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 08:49:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 08:49:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991305984001,"66":12972,"155":206,"87":13824,"24":5,"16":111568471367614464,"45":8879268903259674624},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,87,24,16,45]} 
[2026-07-27 08:49:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 08:49:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 08:49:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991305984001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:49:45] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-27 08:49:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 08:49:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111568471367614464,"km_value":111568471367614.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:49:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8879268903259674624,"description":"Unknown IO ID 45"} 
[2026-07-27 08:49:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991305984001,"power":12972,"unknown_155":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8879268903259674624}} 
[2026-07-27 08:49:45] local.INFO: DEBUG: GPS processor result {"connection_id":143777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552086,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:49:45] local.INFO: GPS data processed {"connection_id":143777,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:49:45] local.INFO: Acknowledgment sent {"connection_id":143777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:50:09] local.INFO: TCP Data received {"connection_id":142800,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1918380012d7f930005afdaf0000a011227..."} 
[2026-07-27 08:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1918380012d7f930005afdaf0000a011227..."} 
[2026-07-27 08:50:09] local.INFO: Processing buffer {"connection_id":142800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1918380012d7f930005afdaf0000a011227..."} 
[2026-07-27 08:50:09] local.INFO: Packet analysis {"connection_id":142800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa191"} 
[2026-07-27 08:50:09] local.INFO: Extracted packet for processing {"connection_id":142800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa191"} 
[2026-07-27 08:50:09] local.INFO: GPS Element Parsed {"raw_longitude":763335424,"raw_latitude":95410928,"longitude_deg":76.3335424,"latitude_deg":9.5410928,"altitude":10,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d7f9300","hex_latitude":"05afdaf0","is_valid_coordinates":true} 
[2026-07-27 08:50:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:50:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991179520001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:50:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826040631492608,"note":"Value kept but may cause issues"} 
[2026-07-27 08:50:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192691288818511872,"note":"Value kept but may cause issues"} 
[2026-07-27 08:50:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:50:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785122096000,"timestamp_ms":1785122096000,"timestamp_seconds":1785122096,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1918380"} 
[2026-07-27 08:50:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:50:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 08:50:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-27 08:50:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:50:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:50:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:50:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:50:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:50:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:50:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:50:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:50:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:50:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:50:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991179520001,"66":25615,"250":206,"85":12544,"24":0,"16":358826040631492608,"45":9192691288818511872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 08:50:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:50:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:50:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991179520001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:50:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 08:50:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:50:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826040631492608,"km_value":358826040631492.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:50:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192691288818511872,"description":"Unknown IO ID 45"} 
[2026-07-27 08:50:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991179520001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192691288818511872}} 
[2026-07-27 08:50:09] local.INFO: DEBUG: GPS processor result {"connection_id":142800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:50:09] local.INFO: GPS data processed {"connection_id":142800,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:50:09] local.INFO: Acknowledgment sent {"connection_id":142800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:50:14] local.INFO: TCP Data received {"connection_id":142682,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa195b5b8012d0e2b40070681c8001f010421..."} 
[2026-07-27 08:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa195b5b8012d0e2b40070681c8001f010421..."} 
[2026-07-27 08:50:14] local.INFO: Processing buffer {"connection_id":142682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa195b5b8012d0e2b40070681c8001f010421..."} 
[2026-07-27 08:50:14] local.INFO: Packet analysis {"connection_id":142682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa195"} 
[2026-07-27 08:50:14] local.INFO: Extracted packet for processing {"connection_id":142682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa195"} 
[2026-07-27 08:50:14] local.INFO: GPS Element Parsed {"raw_longitude":755903296,"raw_latitude":117866952,"longitude_deg":75.5903296,"latitude_deg":11.7866952,"altitude":31,"angle":260,"satellites":33,"speed":6,"hex_longitude":"2d0e2b40","hex_latitude":"070681c8","is_valid_coordinates":true} 
[2026-07-27 08:50:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:50:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991326464001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:50:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25807316020363264,"note":"Value kept but may cause issues"} 
[2026-07-27 08:50:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1021402351912765440,"note":"Value kept but may cause issues"} 
[2026-07-27 08:50:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:50:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785122371000,"timestamp_ms":1785122371000,"timestamp_seconds":1785122371,"priority":1,"record_length":96,"hex_timestamp":"0000019fa195b5b8"} 
[2026-07-27 08:50:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:50:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08:50:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-27 08:50:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:50:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:50:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:50:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:50:14] local.INFO: Teltonika packet parsed successfully {"connection_id":142682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:50:14] local.INFO: Passing IMEI to GPS processor {"connection_id":142682,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:50:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":142682,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:50:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:50:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 08:50:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 08:50:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991326464001,"66":13993,"219":206,"94":10240,"24":6,"16":25807316020363264,"45":1021402351912765440},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-27 08:50:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 08:50:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 08:50:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991326464001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:50:14] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-27 08:50:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 08:50:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25807316020363264,"km_value":25807316020363.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:50:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1021402351912765440,"description":"Unknown IO ID 45"} 
[2026-07-27 08:50:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991326464001,"power":13993,"unknown_219":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":1021402351912765440}} 
[2026-07-27 08:50:14] local.INFO: DEBUG: GPS processor result {"connection_id":142682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552088,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:50:14] local.INFO: GPS data processed {"connection_id":142682,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:50:14] local.INFO: Acknowledgment sent {"connection_id":142682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:50:28] local.INFO: TCP Data received {"connection_id":145099,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145099,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:50:28] local.INFO: Processing buffer {"connection_id":145099,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:50:28] local.INFO: IMEI packet received {"connection_id":145099,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 08:50:28] local.INFO: IMEI acknowledgment sent {"connection_id":145099,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:50:31] local.INFO: TCP Data received {"connection_id":145099,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145099,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:50:31] local.INFO: Processing buffer {"connection_id":145099,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:50:31] local.INFO: IMEI packet received {"connection_id":145099,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 08:50:31] local.INFO: IMEI acknowledgment sent {"connection_id":145099,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:50:31] local.INFO: TCP Data received {"connection_id":145099,"ip":"42.106.6.28","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-27 08:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145099,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-27 08:50:31] local.INFO: Processing buffer {"connection_id":145099,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-27 08:50:31] local.INFO: IMEI packet received {"connection_id":145099,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 08:50:31] local.INFO: IMEI acknowledgment sent {"connection_id":145099,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:50:32] local.INFO: TCP Data received {"connection_id":145099,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa19505f0012d7b110005ebe2f8000e00f42a..."} 
[2026-07-27 08:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa19505f0012d7b110005ebe2f8000e00f42a..."} 
[2026-07-27 08:50:32] local.INFO: Processing buffer {"connection_id":145099,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019fa1..."} 
[2026-07-27 08:50:32] local.INFO: IMEI packet received {"connection_id":145099,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 08:50:32] local.INFO: IMEI acknowledgment sent {"connection_id":145099,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:50:32] local.INFO: TCP Data received {"connection_id":143778,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:50:32] local.INFO: Processing buffer {"connection_id":143778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:50:32] local.INFO: IMEI packet received {"connection_id":143778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 08:50:32] local.INFO: IMEI acknowledgment sent {"connection_id":143778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:50:33] local.INFO: TCP Data received {"connection_id":145099,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa19530e8012d7aeec005ebd1f8000e00f429..."} 
[2026-07-27 08:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa19530e8012d7aeec005ebd1f8000e00f429..."} 
[2026-07-27 08:50:33] local.INFO: Processing buffer {"connection_id":145099,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019fa19505f0012d7b110005ebe2f8000e00f42a..."} 
[2026-07-27 08:50:33] local.INFO: Packet analysis {"connection_id":145099,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fa195"} 
[2026-07-27 08:50:33] local.INFO: Extracted packet for processing {"connection_id":145099,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa195"} 
[2026-07-27 08:50:33] local.INFO: GPS Element Parsed {"raw_longitude":763040000,"raw_latitude":99345144,"longitude_deg":76.304,"latitude_deg":9.9345144,"altitude":14,"angle":244,"satellites":42,"speed":30,"hex_longitude":"2d7b1100","hex_latitude":"05ebe2f8","is_valid_coordinates":true} 
[2026-07-27 08:50:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:50:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991311360001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:50:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111568909454278656,"note":"Value kept but may cause issues"} 
[2026-07-27 08:50:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8876876365957369856,"note":"Value kept but may cause issues"} 
[2026-07-27 08:50:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:50:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785122326000,"timestamp_ms":1785122326000,"timestamp_seconds":1785122326,"priority":1,"record_length":96,"hex_timestamp":"0000019fa19505f0"} 
[2026-07-27 08:50:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:50:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08:50:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-27 08:50:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:50:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:50:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:50:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:50:33] local.INFO: Teltonika packet parsed successfully {"connection_id":145099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:50:33] local.INFO: Passing IMEI to GPS processor {"connection_id":145099,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:50:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":145099,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:50:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:50:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 08:50:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 08:50:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991311360001,"66":12885,"155":206,"87":13824,"24":30,"16":111568909454278656,"45":8876876365957369856},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,87,24,16,45]} 
[2026-07-27 08:50:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 08:50:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 08:50:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991311360001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:50:33] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-27 08:50:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 08:50:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111568909454278656,"km_value":111568909454278.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:50:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8876876365957369856,"description":"Unknown IO ID 45"} 
[2026-07-27 08:50:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991311360001,"power":12885,"unknown_155":206,"unknown_87":13824,"ignition":30,"odometer":null,"unknown_45":8876876365957369856}} 
[2026-07-27 08:50:33] local.INFO: DEBUG: GPS processor result {"connection_id":145099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552089,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:50:33] local.INFO: GPS data processed {"connection_id":145099,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:50:33] local.INFO: Acknowledgment sent {"connection_id":145099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:50:33] local.INFO: Packet analysis {"connection_id":145099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa195"} 
[2026-07-27 08:50:33] local.INFO: Extracted packet for processing {"connection_id":145099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa195"} 
[2026-07-27 08:50:33] local.INFO: GPS Element Parsed {"raw_longitude":763031232,"raw_latitude":99340792,"longitude_deg":76.3031232,"latitude_deg":9.9340792,"altitude":14,"angle":244,"satellites":41,"speed":37,"hex_longitude":"2d7aeec0","hex_latitude":"05ebd1f8","is_valid_coordinates":true} 
[2026-07-27 08:50:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:50:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991315456001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:50:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111569377605713920,"note":"Value kept but may cause issues"} 
[2026-07-27 08:50:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867869166701574144,"note":"Value kept but may cause issues"} 
[2026-07-27 08:50:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:50:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785122337000,"timestamp_ms":1785122337000,"timestamp_seconds":1785122337,"priority":1,"record_length":96,"hex_timestamp":"0000019fa19530e8"} 
[2026-07-27 08:50:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:50:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08:50:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-27 08:50:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:50:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:50:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:50:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:50:33] local.INFO: Teltonika packet parsed successfully {"connection_id":145099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:50:33] local.INFO: Passing IMEI to GPS processor {"connection_id":145099,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:50:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":145099,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:50:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:50:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 08:50:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 08:50:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991315456001,"66":12667,"155":206,"87":13824,"24":37,"16":111569377605713920,"45":8867869166701574144},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,87,24,16,45]} 
[2026-07-27 08:50:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 08:50:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 08:50:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991315456001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:50:33] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-27 08:50:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 08:50:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111569377605713920,"km_value":111569377605713.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:50:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867869166701574144,"description":"Unknown IO ID 45"} 
[2026-07-27 08:50:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991315456001,"power":12667,"unknown_155":206,"unknown_87":13824,"ignition":37,"odometer":null,"unknown_45":8867869166701574144}} 
[2026-07-27 08:50:33] local.INFO: DEBUG: GPS processor result {"connection_id":145099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552090,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:50:33] local.INFO: GPS data processed {"connection_id":145099,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:50:33] local.INFO: Acknowledgment sent {"connection_id":145099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:50:35] local.INFO: TCP Data received {"connection_id":145099,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa19557f8012d7accc005ebc110000d00f42a..."} 
[2026-07-27 08:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa19557f8012d7accc005ebc110000d00f42a..."} 
[2026-07-27 08:50:35] local.INFO: Processing buffer {"connection_id":145099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa19557f8012d7accc005ebc110000d00f42a..."} 
[2026-07-27 08:50:35] local.INFO: Packet analysis {"connection_id":145099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa195"} 
[2026-07-27 08:50:35] local.INFO: Extracted packet for processing {"connection_id":145099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa195"} 
[2026-07-27 08:50:35] local.INFO: GPS Element Parsed {"raw_longitude":763022528,"raw_latitude":99336464,"longitude_deg":76.3022528,"latitude_deg":9.9336464,"altitude":13,"angle":244,"satellites":42,"speed":36,"hex_longitude":"2d7accc0","hex_latitude":"05ebc110","is_valid_coordinates":true} 
[2026-07-27 08:50:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:50:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991318272001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:50:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111569845757149184,"note":"Value kept but may cause issues"} 
[2026-07-27 08:50:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8858228648748120064,"note":"Value kept but may cause issues"} 
[2026-07-27 08:50:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:50:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785122347000,"timestamp_ms":1785122347000,"timestamp_seconds":1785122347,"priority":1,"record_length":96,"hex_timestamp":"0000019fa19557f8"} 
[2026-07-27 08:50:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:50:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08:50:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-07-27 08:50:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:50:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:50:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:50:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:50:35] local.INFO: Teltonika packet parsed successfully {"connection_id":145099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:50:35] local.INFO: Passing IMEI to GPS processor {"connection_id":145099,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:50:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":145099,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:50:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:50:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 08:50:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 08:50:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991318272001,"66":13048,"155":206,"87":13824,"24":36,"16":111569845757149184,"45":8858228648748120064},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,87,24,16,45]} 
[2026-07-27 08:50:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 08:50:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 08:50:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991318272001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:50:35] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-27 08:50:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 08:50:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111569845757149184,"km_value":111569845757149.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:50:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8858228648748120064,"description":"Unknown IO ID 45"} 
[2026-07-27 08:50:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991318272001,"power":13048,"unknown_155":206,"unknown_87":13824,"ignition":36,"odometer":null,"unknown_45":8858228648748120064}} 
[2026-07-27 08:50:35] local.INFO: DEBUG: GPS processor result {"connection_id":145099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552091,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:50:35] local.INFO: GPS data processed {"connection_id":145099,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:50:35] local.INFO: Acknowledgment sent {"connection_id":145099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:50:36] local.INFO: TCP Data received {"connection_id":143778,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:50:36] local.INFO: Processing buffer {"connection_id":143778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:50:36] local.INFO: IMEI packet received {"connection_id":143778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 08:50:36] local.INFO: IMEI acknowledgment sent {"connection_id":143778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:50:37] local.INFO: TCP Data received {"connection_id":143779,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143779,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:50:37] local.INFO: Processing buffer {"connection_id":143779,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:50:37] local.INFO: IMEI packet received {"connection_id":143779,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 08:50:37] local.INFO: IMEI acknowledgment sent {"connection_id":143779,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:50:38] local.INFO: TCP Data received {"connection_id":143779,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143779,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:50:38] local.INFO: Processing buffer {"connection_id":143779,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:50:38] local.INFO: IMEI packet received {"connection_id":143779,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 08:50:38] local.INFO: IMEI acknowledgment sent {"connection_id":143779,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:50:39] local.INFO: TCP Data received {"connection_id":143778,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:50:39] local.INFO: Processing buffer {"connection_id":143778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:50:39] local.INFO: IMEI packet received {"connection_id":143778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 08:50:39] local.INFO: IMEI acknowledgment sent {"connection_id":143778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:50:39] local.INFO: TCP Data received {"connection_id":143779,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143779,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:50:39] local.INFO: Processing buffer {"connection_id":143779,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:50:39] local.INFO: IMEI packet received {"connection_id":143779,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 08:50:39] local.INFO: IMEI acknowledgment sent {"connection_id":143779,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:50:39] local.INFO: TCP Data received {"connection_id":143778,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1961b48012d7f930005afdaf0000a011229..."} 
[2026-07-27 08:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1961b48012d7f930005afdaf0000a011229..."} 
[2026-07-27 08:50:39] local.INFO: Processing buffer {"connection_id":143778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1961b48012d7f930005afdaf0000a011229..."} 
[2026-07-27 08:50:39] local.INFO: Packet analysis {"connection_id":143778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa196"} 
[2026-07-27 08:50:39] local.INFO: Extracted packet for processing {"connection_id":143778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa196"} 
[2026-07-27 08:50:39] local.INFO: GPS Element Parsed {"raw_longitude":763335424,"raw_latitude":95410928,"longitude_deg":76.3335424,"latitude_deg":9.5410928,"altitude":10,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7f9300","hex_latitude":"05afdaf0","is_valid_coordinates":true} 
[2026-07-27 08:50:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:50:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991256576001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:50:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826040631492608,"note":"Value kept but may cause issues"} 
[2026-07-27 08:50:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192691288818511872,"note":"Value kept but may cause issues"} 
[2026-07-27 08:50:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:50:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785122397000,"timestamp_ms":1785122397000,"timestamp_seconds":1785122397,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1961b48"} 
[2026-07-27 08:50:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:50:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 08:50:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-27 08:50:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:50:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:50:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:50:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:50:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:50:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:50:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:50:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:50:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:50:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:50:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991256576001,"66":25549,"250":206,"85":12544,"24":0,"16":358826040631492608,"45":9192691288818511872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 08:50:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:50:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:50:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991256576001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:50:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 08:50:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:50:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826040631492608,"km_value":358826040631492.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:50:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192691288818511872,"description":"Unknown IO ID 45"} 
[2026-07-27 08:50:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991256576001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192691288818511872}} 
[2026-07-27 08:50:39] local.INFO: DEBUG: GPS processor result {"connection_id":143778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:50:39] local.INFO: GPS data processed {"connection_id":143778,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:50:39] local.INFO: Acknowledgment sent {"connection_id":143778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:50:40] local.INFO: TCP Data received {"connection_id":143779,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143779,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:50:40] local.INFO: Processing buffer {"connection_id":143779,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:50:40] local.INFO: IMEI packet received {"connection_id":143779,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 08:50:40] local.INFO: IMEI acknowledgment sent {"connection_id":143779,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:50:43] local.INFO: TCP Data received {"connection_id":143778,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1961b48012d7f930005afdaf0000a011229..."} 
[2026-07-27 08:50:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1961b48012d7f930005afdaf0000a011229..."} 
[2026-07-27 08:50:43] local.INFO: Processing buffer {"connection_id":143778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1961b48012d7f930005afdaf0000a011229..."} 
[2026-07-27 08:50:43] local.INFO: Packet analysis {"connection_id":143778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa196"} 
[2026-07-27 08:50:43] local.INFO: Extracted packet for processing {"connection_id":143778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa196"} 
[2026-07-27 08:50:43] local.INFO: GPS Element Parsed {"raw_longitude":763335424,"raw_latitude":95410928,"longitude_deg":76.3335424,"latitude_deg":9.5410928,"altitude":10,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7f9300","hex_latitude":"05afdaf0","is_valid_coordinates":true} 
[2026-07-27 08:50:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:50:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991256576001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:50:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826040631492608,"note":"Value kept but may cause issues"} 
[2026-07-27 08:50:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192691288818511872,"note":"Value kept but may cause issues"} 
[2026-07-27 08:50:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:50:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785122397000,"timestamp_ms":1785122397000,"timestamp_seconds":1785122397,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1961b48"} 
[2026-07-27 08:50:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:50:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 08: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-27 08:50:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:50:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:50:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:50:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:50:43] local.INFO: Teltonika packet parsed successfully {"connection_id":143778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:50:43] local.INFO: Passing IMEI to GPS processor {"connection_id":143778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:50:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":143778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:50:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:50:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:50:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:50:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991256576001,"66":25549,"250":206,"85":12544,"24":0,"16":358826040631492608,"45":9192691288818511872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 08:50:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:50:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:50:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991256576001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:50:43] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 08:50:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:50:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826040631492608,"km_value":358826040631492.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:50:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192691288818511872,"description":"Unknown IO ID 45"} 
[2026-07-27 08:50:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991256576001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192691288818511872}} 
[2026-07-27 08:50:43] local.INFO: DEBUG: GPS processor result {"connection_id":143778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:50:43] local.INFO: GPS data processed {"connection_id":143778,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:50:43] local.INFO: Acknowledgment sent {"connection_id":143778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:51:06] local.INFO: TCP Data received {"connection_id":145099,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa19582f0012d7aaa0005ebb200000b00f92a..."} 
[2026-07-27 08:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa19582f0012d7aaa0005ebb200000b00f92a..."} 
[2026-07-27 08:51:06] local.INFO: Processing buffer {"connection_id":145099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa19582f0012d7aaa0005ebb200000b00f92a..."} 
[2026-07-27 08:51:06] local.INFO: Packet analysis {"connection_id":145099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa195"} 
[2026-07-27 08:51:06] local.INFO: Extracted packet for processing {"connection_id":145099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa195"} 
[2026-07-27 08:51:06] local.INFO: GPS Element Parsed {"raw_longitude":763013632,"raw_latitude":99332608,"longitude_deg":76.3013632,"latitude_deg":9.9332608,"altitude":11,"angle":249,"satellites":42,"speed":32,"hex_longitude":"2d7aaa00","hex_latitude":"05ebb200","is_valid_coordinates":true} 
[2026-07-27 08:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:51:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991320832001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:51:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111570309613617152,"note":"Value kept but may cause issues"} 
[2026-07-27 08:51:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848658499538849792,"note":"Value kept but may cause issues"} 
[2026-07-27 08:51:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:51:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785122358000,"timestamp_ms":1785122358000,"timestamp_seconds":1785122358,"priority":1,"record_length":96,"hex_timestamp":"0000019fa19582f0"} 
[2026-07-27 08:51:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:51:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-27 08:51:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:51:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:51:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:51:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:51:06] local.INFO: Teltonika packet parsed successfully {"connection_id":145099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:51:06] local.INFO: Passing IMEI to GPS processor {"connection_id":145099,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:51:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":145099,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:51:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:51:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 08:51:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 08:51:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991320832001,"66":12928,"155":206,"87":13824,"24":32,"16":111570309613617152,"45":8848658499538849792},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,87,24,16,45]} 
[2026-07-27 08:51:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 08:51:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 08:51:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991320832001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:51:06] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-27 08:51:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 08:51:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111570309613617152,"km_value":111570309613617.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:51:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848658499538849792,"description":"Unknown IO ID 45"} 
[2026-07-27 08:51:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991320832001,"power":12928,"unknown_155":206,"unknown_87":13824,"ignition":32,"odometer":null,"unknown_45":8848658499538849792}} 
[2026-07-27 08:51:06] local.INFO: DEBUG: GPS processor result {"connection_id":145099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552094,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:51:06] local.INFO: GPS data processed {"connection_id":145099,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:51:06] local.INFO: Acknowledgment sent {"connection_id":145099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:51:14] local.INFO: TCP Data received {"connection_id":143778,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1961b48012d7f930005afdaf0000a011229..."} 
[2026-07-27 08:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1961b48012d7f930005afdaf0000a011229..."} 
[2026-07-27 08:51:14] local.INFO: Processing buffer {"connection_id":143778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1961b48012d7f930005afdaf0000a011229..."} 
[2026-07-27 08:51:14] local.INFO: Packet analysis {"connection_id":143778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa196"} 
[2026-07-27 08:51:14] local.INFO: Extracted packet for processing {"connection_id":143778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa196"} 
[2026-07-27 08:51:14] local.INFO: GPS Element Parsed {"raw_longitude":763335424,"raw_latitude":95410928,"longitude_deg":76.3335424,"latitude_deg":9.5410928,"altitude":10,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7f9300","hex_latitude":"05afdaf0","is_valid_coordinates":true} 
[2026-07-27 08:51:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:51:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991256576001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:51:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826040631492608,"note":"Value kept but may cause issues"} 
[2026-07-27 08:51:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192691288818511872,"note":"Value kept but may cause issues"} 
[2026-07-27 08:51:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:51:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785122397000,"timestamp_ms":1785122397000,"timestamp_seconds":1785122397,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1961b48"} 
[2026-07-27 08:51:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:51:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 08:51:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-27 08:51:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:51:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:51:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:51:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:51:14] local.INFO: Teltonika packet parsed successfully {"connection_id":143778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:51:14] local.INFO: Passing IMEI to GPS processor {"connection_id":143778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:51:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":143778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08: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-07-27 08:51:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:51:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:51:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991256576001,"66":25549,"250":206,"85":12544,"24":0,"16":358826040631492608,"45":9192691288818511872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 08:51:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:51:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:51:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991256576001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:51:14] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 08:51:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:51:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826040631492608,"km_value":358826040631492.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:51:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192691288818511872,"description":"Unknown IO ID 45"} 
[2026-07-27 08:51:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991256576001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192691288818511872}} 
[2026-07-27 08:51:14] local.INFO: DEBUG: GPS processor result {"connection_id":143778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:51:14] local.INFO: GPS data processed {"connection_id":143778,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:51:14] local.INFO: Acknowledgment sent {"connection_id":143778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:51:30] local.INFO: TCP Data received {"connection_id":143780,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143780,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:51:30] local.INFO: Processing buffer {"connection_id":143780,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:51:30] local.INFO: IMEI packet received {"connection_id":143780,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 08:51:30] local.INFO: IMEI acknowledgment sent {"connection_id":143780,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:51:31] local.INFO: TCP Data received {"connection_id":143780,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143780,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:51:31] local.INFO: Processing buffer {"connection_id":143780,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:51:31] local.INFO: IMEI packet received {"connection_id":143780,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 08:51:31] local.INFO: IMEI acknowledgment sent {"connection_id":143780,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:51:32] local.INFO: TCP Data received {"connection_id":142802,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:51:32] local.INFO: Processing buffer {"connection_id":142802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:51:32] local.INFO: IMEI packet received {"connection_id":142802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 08:51:32] local.INFO: IMEI acknowledgment sent {"connection_id":142802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:51:35] local.INFO: TCP Data received {"connection_id":143780,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143780,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:51:35] local.INFO: Processing buffer {"connection_id":143780,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:51:35] local.INFO: IMEI packet received {"connection_id":143780,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 08:51:35] local.INFO: IMEI acknowledgment sent {"connection_id":143780,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:51:38] local.INFO: TCP Data received {"connection_id":142802,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:51:38] local.INFO: Processing buffer {"connection_id":142802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:51:38] local.INFO: IMEI packet received {"connection_id":142802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 08:51:38] local.INFO: IMEI acknowledgment sent {"connection_id":142802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:51:38] local.INFO: TCP Data received {"connection_id":142802,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1961b48012d7f930005afdaf0000a011229..."} 
[2026-07-27 08:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1961b48012d7f930005afdaf0000a011229..."} 
[2026-07-27 08:51:38] local.INFO: Processing buffer {"connection_id":142802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1961b48012d7f930005afdaf0000a011229..."} 
[2026-07-27 08:51:38] local.INFO: Packet analysis {"connection_id":142802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa196"} 
[2026-07-27 08:51:38] local.INFO: Extracted packet for processing {"connection_id":142802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa196"} 
[2026-07-27 08:51:38] local.INFO: GPS Element Parsed {"raw_longitude":763335424,"raw_latitude":95410928,"longitude_deg":76.3335424,"latitude_deg":9.5410928,"altitude":10,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7f9300","hex_latitude":"05afdaf0","is_valid_coordinates":true} 
[2026-07-27 08:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:51:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991256576001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:51:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826040631492608,"note":"Value kept but may cause issues"} 
[2026-07-27 08:51:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192691288818511872,"note":"Value kept but may cause issues"} 
[2026-07-27 08:51:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:51:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785122397000,"timestamp_ms":1785122397000,"timestamp_seconds":1785122397,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1961b48"} 
[2026-07-27 08:51:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:51:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 08:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-27 08:51:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:51:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:51:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:51:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:51:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:51:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:51:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:51:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:51:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:51:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:51:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991256576001,"66":25549,"250":206,"85":12544,"24":0,"16":358826040631492608,"45":9192691288818511872},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 08:51:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:51:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:51:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991256576001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:51:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 08:51:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:51:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826040631492608,"km_value":358826040631492.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:51:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192691288818511872,"description":"Unknown IO ID 45"} 
[2026-07-27 08:51:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991256576001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192691288818511872}} 
[2026-07-27 08:51:38] local.INFO: DEBUG: GPS processor result {"connection_id":142802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:51:38] local.INFO: GPS data processed {"connection_id":142802,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:51:38] local.INFO: Acknowledgment sent {"connection_id":142802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:51:40] local.INFO: TCP Data received {"connection_id":143780,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa195ade8012d7a888005eba550000a00f928..."} 
[2026-07-27 08:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa195ade8012d7a888005eba550000a00f928..."} 
[2026-07-27 08:51:40] local.INFO: Processing buffer {"connection_id":143780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa195ade8012d7a888005eba550000a00f928..."} 
[2026-07-27 08:51:40] local.INFO: Packet analysis {"connection_id":143780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa195"} 
[2026-07-27 08:51:40] local.INFO: Extracted packet for processing {"connection_id":143780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa195"} 
[2026-07-27 08:51:40] local.INFO: GPS Element Parsed {"raw_longitude":763005056,"raw_latitude":99329360,"longitude_deg":76.3005056,"latitude_deg":9.932936,"altitude":10,"angle":249,"satellites":40,"speed":32,"hex_longitude":"2d7a8880","hex_latitude":"05eba550","is_valid_coordinates":true} 
[2026-07-27 08:51:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:51:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991323648001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:51:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111570747700281344,"note":"Value kept but may cause issues"} 
[2026-07-27 08:51:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8838877244097167360,"note":"Value kept but may cause issues"} 
[2026-07-27 08:51:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:51:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785122369000,"timestamp_ms":1785122369000,"timestamp_seconds":1785122369,"priority":1,"record_length":96,"hex_timestamp":"0000019fa195ade8"} 
[2026-07-27 08:51:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:51:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08: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":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-07-27 08:51:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1600,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:51:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:51:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:51:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:51:40] local.INFO: Teltonika packet parsed successfully {"connection_id":143780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:51:40] local.INFO: Passing IMEI to GPS processor {"connection_id":143780,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:51:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":143780,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:51:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:51:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 08:51:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 08:51:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991323648001,"66":12841,"155":206,"87":13824,"24":32,"16":111570747700281344,"45":8838877244097167360},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,87,24,16,45]} 
[2026-07-27 08:51:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 08:51:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 08:51:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991323648001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:51:40] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-27 08:51:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 08:51:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111570747700281344,"km_value":111570747700281.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:51:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8838877244097167360,"description":"Unknown IO ID 45"} 
[2026-07-27 08:51:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991323648001,"power":12841,"unknown_155":206,"unknown_87":13824,"ignition":32,"odometer":null,"unknown_45":8838877244097167360}} 
[2026-07-27 08:51:40] local.INFO: DEBUG: GPS processor result {"connection_id":143780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552097,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:51:40] local.INFO: GPS data processed {"connection_id":143780,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:51:40] local.INFO: Acknowledgment sent {"connection_id":143780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:52:09] local.INFO: TCP Data received {"connection_id":142802,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1961b48012d7f930005afdaf0000a011229..."} 
[2026-07-27 08:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1961b48012d7f930005afdaf0000a011229..."} 
[2026-07-27 08:52:09] local.INFO: Processing buffer {"connection_id":142802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1961b48012d7f930005afdaf0000a011229..."} 
[2026-07-27 08:52:09] local.INFO: Packet analysis {"connection_id":142802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa196"} 
[2026-07-27 08:52:09] local.INFO: Extracted packet for processing {"connection_id":142802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa196"} 
[2026-07-27 08:52:09] local.INFO: GPS Element Parsed {"raw_longitude":763335424,"raw_latitude":95410928,"longitude_deg":76.3335424,"latitude_deg":9.5410928,"altitude":10,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7f9300","hex_latitude":"05afdaf0","is_valid_coordinates":true} 
[2026-07-27 08:52:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:52:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991256576001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:52:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826040631492608,"note":"Value kept but may cause issues"} 
[2026-07-27 08:52:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192691288818511872,"note":"Value kept but may cause issues"} 
[2026-07-27 08:52:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:52:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785122397000,"timestamp_ms":1785122397000,"timestamp_seconds":1785122397,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1961b48"} 
[2026-07-27 08:52:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:52:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 08:52:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-27 08:52:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:52:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:52:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:52:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:52:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:52:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:52:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:52:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:52:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:52:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:52:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991256576001,"66":25549,"250":206,"85":12544,"24":0,"16":358826040631492608,"45":9192691288818511872},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 08:52:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:52:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:52:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991256576001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:52:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 08:52:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:52:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826040631492608,"km_value":358826040631492.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:52:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192691288818511872,"description":"Unknown IO ID 45"} 
[2026-07-27 08:52:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991256576001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192691288818511872}} 
[2026-07-27 08:52:09] local.INFO: DEBUG: GPS processor result {"connection_id":142802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:52:09] local.INFO: GPS data processed {"connection_id":142802,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:52:09] local.INFO: Acknowledgment sent {"connection_id":142802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:52:11] local.INFO: TCP Data received {"connection_id":143780,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa19782a8012d7a220005ebf5380007014f23..."} 
[2026-07-27 08:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa19782a8012d7a220005ebf5380007014f23..."} 
[2026-07-27 08:52:11] local.INFO: Processing buffer {"connection_id":143780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa19782a8012d7a220005ebf5380007014f23..."} 
[2026-07-27 08:52:11] local.INFO: Packet analysis {"connection_id":143780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa197"} 
[2026-07-27 08:52:11] local.INFO: Extracted packet for processing {"connection_id":143780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa197"} 
[2026-07-27 08:52:11] local.INFO: GPS Element Parsed {"raw_longitude":762978816,"raw_latitude":99349816,"longitude_deg":76.2978816,"latitude_deg":9.9349816,"altitude":7,"angle":335,"satellites":35,"speed":24,"hex_longitude":"2d7a2200","hex_latitude":"05ebf538","is_valid_coordinates":true} 
[2026-07-27 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-07-27 08:52:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991352576001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:52:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111572792104714240,"note":"Value kept but may cause issues"} 
[2026-07-27 08:52:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805381721870913536,"note":"Value kept but may cause issues"} 
[2026-07-27 08:52:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:52:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785122489000,"timestamp_ms":1785122489000,"timestamp_seconds":1785122489,"priority":1,"record_length":96,"hex_timestamp":"0000019fa19782a8"} 
[2026-07-27 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-07-27 08:52:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-27 08:52:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-27 08:52:11] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2710998160,"note":"Value kept but may cause issues"} 
[2026-07-27 08:52:11] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788848,"note":"Value kept but may cause issues"} 
[2026-07-27 08:52:11] local.WARNING: Large IO value detected {"io_id":227,"raw_value":57752539752191798,"note":"Value kept but may cause issues"} 
[2026-07-27 08:52:11] local.WARNING: Large IO value detected {"io_id":97,"raw_value":2818572288,"note":"Value kept but may cause issues"} 
[2026-07-27 08:52:11] local.WARNING: Large IO value detected {"io_id":235,"raw_value":-7671881922259442176,"note":"Value kept but may cause issues"} 
[2026-07-27 08:52:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":765526222,"corrected_to":0} 
[2026-07-27 08:52:11] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3952302080,"note":"Value kept but may cause issues"} 
[2026-07-27 08:52:11] local.WARNING: Large IO value detected {"io_id":150,"raw_value":8439746996530577413,"note":"Value kept but may cause issues"} 
[2026-07-27 08:52:11] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,161,87,24,241,157,16,98,159,60,45,213,6,34,10,66,238,128,182,39,156,64,1,240,63,227,97,235,4,113,205,13,148,84,232,40,239,49,2,140,5,150],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":205,"original":765526222,"validated":0}]} 
[2026-07-27 08:52:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432714046652874752,"timestamp_seconds":432714046652874.75,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 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-07-27 08:52:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:52:11] local.INFO: Teltonika packet parsed successfully {"connection_id":143780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:52:11] local.INFO: Passing IMEI to GPS processor {"connection_id":143780,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:52:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":143780,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:52:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:52:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 08:52:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 08:52:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991352576001,"66":13135,"163":206,"87":13824,"24":24,"16":111572792104714240,"45":8805381721870913536},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-07-27 08:52:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 08:52:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 08:52:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991352576001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:52:11] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-27 08:52:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 08:52:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111572792104714240,"km_value":111572792104714.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:52:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805381721870913536,"description":"Unknown IO ID 45"} 
[2026-07-27 08:52:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991352576001,"power":13135,"unknown_163":206,"unknown_87":13824,"ignition":24,"odometer":null,"unknown_45":8805381721870913536}} 
[2026-07-27 08:52:11] local.INFO: DEBUG: GPS processor result {"connection_id":143780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552099,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:52:11] local.INFO: GPS data processed {"connection_id":143780,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:52:11] local.INFO: Acknowledgment sent {"connection_id":143780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:52:30] local.INFO: TCP Data received {"connection_id":142804,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142804,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:52:30] local.INFO: Processing buffer {"connection_id":142804,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:52:30] local.INFO: IMEI packet received {"connection_id":142804,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 08:52:30] local.INFO: IMEI acknowledgment sent {"connection_id":142804,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:52:35] local.INFO: TCP Data received {"connection_id":142804,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142804,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:52:35] local.INFO: Processing buffer {"connection_id":142804,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:52:35] local.INFO: IMEI packet received {"connection_id":142804,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 08:52:35] local.INFO: IMEI acknowledgment sent {"connection_id":142804,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:52:36] local.INFO: TCP Data received {"connection_id":142804,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa197b570012d7a160005ec1650000801531c..."} 
[2026-07-27 08:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa197b570012d7a160005ec1650000801531c..."} 
[2026-07-27 08:52:36] local.INFO: Processing buffer {"connection_id":142804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa197b570012d7a160005ec1650000801531c..."} 
[2026-07-27 08:52:36] local.INFO: Packet analysis {"connection_id":142804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa197"} 
[2026-07-27 08:52:36] local.INFO: Extracted packet for processing {"connection_id":142804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa197"} 
[2026-07-27 08:52:36] local.INFO: GPS Element Parsed {"raw_longitude":762975744,"raw_latitude":99358288,"longitude_deg":76.2975744,"latitude_deg":9.9358288,"altitude":8,"angle":339,"satellites":28,"speed":25,"hex_longitude":"2d7a1600","hex_latitude":"05ec1650","is_valid_coordinates":true} 
[2026-07-27 08:52:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:52:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991357184001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:52:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111573230191378432,"note":"Value kept but may cause issues"} 
[2026-07-27 08:52:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800596647268923392,"note":"Value kept but may cause issues"} 
[2026-07-27 08:52:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:52:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785122502000,"timestamp_ms":1785122502000,"timestamp_seconds":1785122502,"priority":1,"record_length":96,"hex_timestamp":"0000019fa197b570"} 
[2026-07-27 08:52:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:52:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08:52:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-27 08:52:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:52:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:52:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:52:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:52:36] local.INFO: Teltonika packet parsed successfully {"connection_id":142804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:52:36] local.INFO: Passing IMEI to GPS processor {"connection_id":142804,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:52:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":142804,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:52:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:52:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 08:52:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 08:52:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991357184001,"66":12602,"163":206,"87":13824,"24":25,"16":111573230191378432,"45":8800596647268923392},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-07-27 08:52:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 08:52:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 08:52:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991357184001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:52:36] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-27 08:52:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 08:52:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111573230191378432,"km_value":111573230191378.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:52:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800596647268923392,"description":"Unknown IO ID 45"} 
[2026-07-27 08:52:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991357184001,"power":12602,"unknown_163":206,"unknown_87":13824,"ignition":25,"odometer":null,"unknown_45":8800596647268923392}} 
[2026-07-27 08:52:36] local.INFO: DEBUG: GPS processor result {"connection_id":142804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552100,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:52:36] local.INFO: GPS data processed {"connection_id":142804,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:52:36] local.INFO: Acknowledgment sent {"connection_id":142804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:52:38] local.INFO: TCP Data received {"connection_id":145101,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:52:38] local.INFO: Processing buffer {"connection_id":145101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:52:38] local.INFO: IMEI packet received {"connection_id":145101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 08:52:38] local.INFO: IMEI acknowledgment sent {"connection_id":145101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:52:43] local.INFO: TCP Data received {"connection_id":145101,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:52:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:52:43] local.INFO: Processing buffer {"connection_id":145101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:52:43] local.INFO: IMEI packet received {"connection_id":145101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 08:52:43] local.INFO: IMEI acknowledgment sent {"connection_id":145101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:52:43] local.INFO: TCP Data received {"connection_id":145101,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1961b48012d7f930005afdaf0000a011229..."} 
[2026-07-27 08:52:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145101,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1961b48012d7f930005afdaf0000a011229..."} 
[2026-07-27 08:52:43] local.INFO: Processing buffer {"connection_id":145101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1961b48012d7f930005afdaf0000a011229..."} 
[2026-07-27 08:52:43] local.INFO: Packet analysis {"connection_id":145101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa196"} 
[2026-07-27 08:52:43] local.INFO: Extracted packet for processing {"connection_id":145101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa196"} 
[2026-07-27 08:52:43] local.INFO: GPS Element Parsed {"raw_longitude":763335424,"raw_latitude":95410928,"longitude_deg":76.3335424,"latitude_deg":9.5410928,"altitude":10,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7f9300","hex_latitude":"05afdaf0","is_valid_coordinates":true} 
[2026-07-27 08:52:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:52:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991256576001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:52:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826040631492608,"note":"Value kept but may cause issues"} 
[2026-07-27 08:52:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192691288818511872,"note":"Value kept but may cause issues"} 
[2026-07-27 08:52:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:52:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785122397000,"timestamp_ms":1785122397000,"timestamp_seconds":1785122397,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1961b48"} 
[2026-07-27 08:52:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:52:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 08:52:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-27 08:52:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:52:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:52:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:52:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:52:43] local.INFO: Teltonika packet parsed successfully {"connection_id":145101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:52:43] local.INFO: Passing IMEI to GPS processor {"connection_id":145101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:52:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":145101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:52:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:52:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:52:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:52:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991256576001,"66":25549,"250":206,"85":12544,"24":0,"16":358826040631492608,"45":9192691288818511872},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 08:52:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:52:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:52:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991256576001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:52:43] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 08:52:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:52:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826040631492608,"km_value":358826040631492.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:52:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192691288818511872,"description":"Unknown IO ID 45"} 
[2026-07-27 08:52:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991256576001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192691288818511872}} 
[2026-07-27 08:52:43] local.INFO: DEBUG: GPS processor result {"connection_id":145101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:52:43] local.INFO: GPS data processed {"connection_id":145101,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:52:43] local.INFO: Acknowledgment sent {"connection_id":145101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:52:48] local.INFO: TCP Data received {"connection_id":145101,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1961b48012d7f930005afdaf0000a011229..."} 
[2026-07-27 08:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145101,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1961b48012d7f930005afdaf0000a011229..."} 
[2026-07-27 08:52:48] local.INFO: Processing buffer {"connection_id":145101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1961b48012d7f930005afdaf0000a011229..."} 
[2026-07-27 08:52:48] local.INFO: Packet analysis {"connection_id":145101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa196"} 
[2026-07-27 08:52:48] local.INFO: Extracted packet for processing {"connection_id":145101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa196"} 
[2026-07-27 08:52:48] local.INFO: GPS Element Parsed {"raw_longitude":763335424,"raw_latitude":95410928,"longitude_deg":76.3335424,"latitude_deg":9.5410928,"altitude":10,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7f9300","hex_latitude":"05afdaf0","is_valid_coordinates":true} 
[2026-07-27 08:52:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:52:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991256576001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:52:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826040631492608,"note":"Value kept but may cause issues"} 
[2026-07-27 08:52:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192691288818511872,"note":"Value kept but may cause issues"} 
[2026-07-27 08:52:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:52:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785122397000,"timestamp_ms":1785122397000,"timestamp_seconds":1785122397,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1961b48"} 
[2026-07-27 08:52:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:52:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 08:52:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-27 08:52:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:52:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:52:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:52:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:52:48] local.INFO: Teltonika packet parsed successfully {"connection_id":145101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:52:48] local.INFO: Passing IMEI to GPS processor {"connection_id":145101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:52:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":145101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:52:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:52:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:52:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:52:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991256576001,"66":25549,"250":206,"85":12544,"24":0,"16":358826040631492608,"45":9192691288818511872},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 08:52:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:52:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:52:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991256576001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:52:48] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 08:52:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:52:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826040631492608,"km_value":358826040631492.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:52:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192691288818511872,"description":"Unknown IO ID 45"} 
[2026-07-27 08:52:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991256576001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192691288818511872}} 
[2026-07-27 08:52:48] local.INFO: DEBUG: GPS processor result {"connection_id":145101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:52:48] local.INFO: GPS data processed {"connection_id":145101,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:52:48] local.INFO: Acknowledgment sent {"connection_id":145101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:53:07] local.INFO: TCP Data received {"connection_id":142804,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa197fbc0012d7a0a0005ec3778000b015e23..."} 
[2026-07-27 08:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa197fbc0012d7a0a0005ec3778000b015e23..."} 
[2026-07-27 08:53:07] local.INFO: Processing buffer {"connection_id":142804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa197fbc0012d7a0a0005ec3778000b015e23..."} 
[2026-07-27 08:53:07] local.INFO: Packet analysis {"connection_id":142804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa197"} 
[2026-07-27 08:53:07] local.INFO: Extracted packet for processing {"connection_id":142804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa197"} 
[2026-07-27 08:53:07] local.INFO: GPS Element Parsed {"raw_longitude":762972672,"raw_latitude":99366776,"longitude_deg":76.2972672,"latitude_deg":9.9366776,"altitude":11,"angle":350,"satellites":35,"speed":14,"hex_longitude":"2d7a0a00","hex_latitude":"05ec3778","is_valid_coordinates":true} 
[2026-07-27 08: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-07-27 08:53:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991360512001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:53:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111573668278042624,"note":"Value kept but may cause issues"} 
[2026-07-27 08:53:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8797218947550564352,"note":"Value kept but may cause issues"} 
[2026-07-27 08:53:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:53:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785122520000,"timestamp_ms":1785122520000,"timestamp_seconds":1785122520,"priority":1,"record_length":96,"hex_timestamp":"0000019fa197fbc0"} 
[2026-07-27 08:53:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:53:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08: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":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-07-27 08:53:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08: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-07-27 08:53:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:53:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:53:07] local.INFO: Teltonika packet parsed successfully {"connection_id":142804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:53:07] local.INFO: Passing IMEI to GPS processor {"connection_id":142804,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:53:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":142804,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:53:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:53:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 08:53:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 08:53:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991360512001,"66":13189,"156":206,"87":13824,"24":14,"16":111573668278042624,"45":8797218947550564352},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-07-27 08:53:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 08:53:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 08:53:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991360512001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:53:07] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-27 08:53:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 08:53:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111573668278042624,"km_value":111573668278042.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:53:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8797218947550564352,"description":"Unknown IO ID 45"} 
[2026-07-27 08:53:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991360512001,"power":13189,"unknown_156":206,"unknown_87":13824,"ignition":14,"odometer":null,"unknown_45":8797218947550564352}} 
[2026-07-27 08:53:07] local.INFO: DEBUG: GPS processor result {"connection_id":142804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552103,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:53:07] local.INFO: GPS data processed {"connection_id":142804,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:53:07] local.INFO: Acknowledgment sent {"connection_id":142804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:53:10] local.INFO: TCP Data received {"connection_id":142683,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 08:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142683,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 08:53:10] local.INFO: Processing buffer {"connection_id":142683,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 08:53:10] local.INFO: IMEI packet received {"connection_id":142683,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 08:53:10] local.INFO: IMEI acknowledgment sent {"connection_id":142683,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:53:31] local.INFO: TCP Data received {"connection_id":142684,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142684,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:53:31] local.INFO: Processing buffer {"connection_id":142684,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:53:31] local.INFO: IMEI packet received {"connection_id":142684,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 08:53:31] local.INFO: IMEI acknowledgment sent {"connection_id":142684,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:53:32] local.INFO: TCP Data received {"connection_id":145103,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:53:32] local.INFO: Processing buffer {"connection_id":145103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:53:32] local.INFO: IMEI packet received {"connection_id":145103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 08:53:32] local.INFO: IMEI acknowledgment sent {"connection_id":145103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:53:35] local.INFO: TCP Data received {"connection_id":142684,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142684,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:53:35] local.INFO: Processing buffer {"connection_id":142684,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:53:35] local.INFO: IMEI packet received {"connection_id":142684,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 08:53:35] local.INFO: IMEI acknowledgment sent {"connection_id":142684,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:53:36] local.INFO: TCP Data received {"connection_id":142684,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1984dc8012d7a018005ec5680000a015522..."} 
[2026-07-27 08:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1984dc8012d7a018005ec5680000a015522..."} 
[2026-07-27 08:53:36] local.INFO: Processing buffer {"connection_id":142684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1984dc8012d7a018005ec5680000a015522..."} 
[2026-07-27 08:53:36] local.INFO: Packet analysis {"connection_id":142684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa198"} 
[2026-07-27 08:53:36] local.INFO: Extracted packet for processing {"connection_id":142684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa198"} 
[2026-07-27 08:53:36] local.INFO: GPS Element Parsed {"raw_longitude":762970496,"raw_latitude":99374720,"longitude_deg":76.2970496,"latitude_deg":9.937472,"altitude":10,"angle":341,"satellites":34,"speed":23,"hex_longitude":"2d7a0180","hex_latitude":"05ec5680","is_valid_coordinates":true} 
[2026-07-27 08:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:53:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991365120001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:53:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111574067710001152,"note":"Value kept but may cause issues"} 
[2026-07-27 08:53:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8793841247832209408,"note":"Value kept but may cause issues"} 
[2026-07-27 08:53:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:53:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785122541000,"timestamp_ms":1785122541000,"timestamp_seconds":1785122541,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1984dc8"} 
[2026-07-27 08:53:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:53:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-27 08:53:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:53:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:53:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:53:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:53:36] local.INFO: Teltonika packet parsed successfully {"connection_id":142684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:53:36] local.INFO: Passing IMEI to GPS processor {"connection_id":142684,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:53:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":142684,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:53:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:53:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 08:53:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 08:53:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991365120001,"66":12472,"161":206,"87":13824,"24":23,"16":111574067710001152,"45":8793841247832209408},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-07-27 08:53:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 08:53:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 08:53:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991365120001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:53:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-07-27 08:53:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 08:53:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111574067710001152,"km_value":111574067710001.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:53:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8793841247832209408,"description":"Unknown IO ID 45"} 
[2026-07-27 08:53:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991365120001,"power":12472,"unknown_161":206,"unknown_87":13824,"ignition":23,"odometer":null,"unknown_45":8793841247832209408}} 
[2026-07-27 08:53:36] local.INFO: DEBUG: GPS processor result {"connection_id":142684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552104,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:53:36] local.INFO: GPS data processed {"connection_id":142684,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:53:36] local.INFO: Acknowledgment sent {"connection_id":142684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:53:38] local.INFO: TCP Data received {"connection_id":145103,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:53:38] local.INFO: Processing buffer {"connection_id":145103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:53:38] local.INFO: IMEI packet received {"connection_id":145103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 08:53:38] local.INFO: IMEI acknowledgment sent {"connection_id":145103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:53:38] local.INFO: TCP Data received {"connection_id":145103,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1961b48012d7f930005afdaf0000a011229..."} 
[2026-07-27 08:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145103,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1961b48012d7f930005afdaf0000a011229..."} 
[2026-07-27 08:53:38] local.INFO: Processing buffer {"connection_id":145103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1961b48012d7f930005afdaf0000a011229..."} 
[2026-07-27 08:53:38] local.INFO: Packet analysis {"connection_id":145103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa196"} 
[2026-07-27 08:53:38] local.INFO: Extracted packet for processing {"connection_id":145103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa196"} 
[2026-07-27 08:53:38] local.INFO: GPS Element Parsed {"raw_longitude":763335424,"raw_latitude":95410928,"longitude_deg":76.3335424,"latitude_deg":9.5410928,"altitude":10,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7f9300","hex_latitude":"05afdaf0","is_valid_coordinates":true} 
[2026-07-27 08:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:53:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991256576001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:53:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826040631492608,"note":"Value kept but may cause issues"} 
[2026-07-27 08:53:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192691288818511872,"note":"Value kept but may cause issues"} 
[2026-07-27 08:53:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:53:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785122397000,"timestamp_ms":1785122397000,"timestamp_seconds":1785122397,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1961b48"} 
[2026-07-27 08:53:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:53:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 08:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-27 08:53:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:53:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:53:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:53:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:53:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:53:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:53:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:53:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:53:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:53:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:53:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991256576001,"66":25549,"250":206,"85":12544,"24":0,"16":358826040631492608,"45":9192691288818511872},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 08:53:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:53:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:53:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991256576001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:53:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 08:53:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:53:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826040631492608,"km_value":358826040631492.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:53:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192691288818511872,"description":"Unknown IO ID 45"} 
[2026-07-27 08:53:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991256576001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192691288818511872}} 
[2026-07-27 08:53:38] local.INFO: DEBUG: GPS processor result {"connection_id":145103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:53:38] local.INFO: GPS data processed {"connection_id":145103,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:53:38] local.INFO: Acknowledgment sent {"connection_id":145103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:53:45] local.INFO: TCP Data received {"connection_id":142805,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 08:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142805,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 08:53:45] local.INFO: Processing buffer {"connection_id":142805,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 08:53:45] local.INFO: IMEI packet received {"connection_id":142805,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 08:53:45] local.INFO: IMEI acknowledgment sent {"connection_id":142805,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:54:07] local.INFO: TCP Data received {"connection_id":142684,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1987ca8012d79fb0005ec6b900009000d24..."} 
[2026-07-27 08:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1987ca8012d79fb0005ec6b900009000d24..."} 
[2026-07-27 08:54:07] local.INFO: Processing buffer {"connection_id":142684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1987ca8012d79fb0005ec6b900009000d24..."} 
[2026-07-27 08:54:07] local.INFO: Packet analysis {"connection_id":142684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa198"} 
[2026-07-27 08:54:07] local.INFO: Extracted packet for processing {"connection_id":142684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa198"} 
[2026-07-27 08:54:07] local.INFO: GPS Element Parsed {"raw_longitude":762968832,"raw_latitude":99380112,"longitude_deg":76.2968832,"latitude_deg":9.9380112,"altitude":9,"angle":13,"satellites":36,"speed":6,"hex_longitude":"2d79fb00","hex_latitude":"05ec6b90","is_valid_coordinates":true} 
[2026-07-27 08:54:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:54:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991370496001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:54:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111574346882875392,"note":"Value kept but may cause issues"} 
[2026-07-27 08:54:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8791448710532202496,"note":"Value kept but may cause issues"} 
[2026-07-27 08:54:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:54:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785122553000,"timestamp_ms":1785122553000,"timestamp_seconds":1785122553,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1987ca8"} 
[2026-07-27 08:54:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:54:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08:54:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-27 08:54:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2094,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:54:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:54:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:54:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:54:07] local.INFO: Teltonika packet parsed successfully {"connection_id":142684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:54:07] local.INFO: Passing IMEI to GPS processor {"connection_id":142684,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:54:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":142684,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:54:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:54:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 08:54:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 08:54:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991370496001,"66":12982,"157":206,"87":13824,"24":6,"16":111574346882875392,"45":8791448710532202496},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-27 08:54:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 08:54:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 08:54:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991370496001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:54:07] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-27 08:54:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 08:54:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111574346882875392,"km_value":111574346882875.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:54:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8791448710532202496,"description":"Unknown IO ID 45"} 
[2026-07-27 08:54:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991370496001,"power":12982,"unknown_157":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8791448710532202496}} 
[2026-07-27 08:54:07] local.INFO: DEBUG: GPS processor result {"connection_id":142684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552106,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:54:07] local.INFO: GPS data processed {"connection_id":142684,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:54:07] local.INFO: Acknowledgment sent {"connection_id":142684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:54:09] local.INFO: TCP Data received {"connection_id":145103,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1961b48012d7f930005afdaf0000a011229..."} 
[2026-07-27 08:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145103,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1961b48012d7f930005afdaf0000a011229..."} 
[2026-07-27 08:54:09] local.INFO: Processing buffer {"connection_id":145103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1961b48012d7f930005afdaf0000a011229..."} 
[2026-07-27 08:54:09] local.INFO: Packet analysis {"connection_id":145103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa196"} 
[2026-07-27 08:54:09] local.INFO: Extracted packet for processing {"connection_id":145103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa196"} 
[2026-07-27 08:54:09] local.INFO: GPS Element Parsed {"raw_longitude":763335424,"raw_latitude":95410928,"longitude_deg":76.3335424,"latitude_deg":9.5410928,"altitude":10,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7f9300","hex_latitude":"05afdaf0","is_valid_coordinates":true} 
[2026-07-27 08:54:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:54:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991256576001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:54:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826040631492608,"note":"Value kept but may cause issues"} 
[2026-07-27 08:54:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192691288818511872,"note":"Value kept but may cause issues"} 
[2026-07-27 08:54:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:54:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785122397000,"timestamp_ms":1785122397000,"timestamp_seconds":1785122397,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1961b48"} 
[2026-07-27 08:54:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:54:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 08:54:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-27 08:54:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:54:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:54:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:54:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:54:09] local.INFO: Teltonika packet parsed successfully {"connection_id":145103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:54:09] local.INFO: Passing IMEI to GPS processor {"connection_id":145103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:54:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":145103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08: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-07-27 08:54:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:54:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:54:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991256576001,"66":25549,"250":206,"85":12544,"24":0,"16":358826040631492608,"45":9192691288818511872},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 08:54:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:54:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:54:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991256576001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:54:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 08:54:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:54:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826040631492608,"km_value":358826040631492.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:54:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192691288818511872,"description":"Unknown IO ID 45"} 
[2026-07-27 08:54:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991256576001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192691288818511872}} 
[2026-07-27 08:54:09] local.INFO: DEBUG: GPS processor result {"connection_id":145103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:54:09] local.INFO: GPS data processed {"connection_id":145103,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:54:09] local.INFO: Acknowledgment sent {"connection_id":145103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:54:30] local.INFO: TCP Data received {"connection_id":143781,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143781,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:54:30] local.INFO: Processing buffer {"connection_id":143781,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:54:30] local.INFO: IMEI packet received {"connection_id":143781,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 08:54:30] local.INFO: IMEI acknowledgment sent {"connection_id":143781,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:54:30] local.INFO: TCP Data received {"connection_id":143781,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143781,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:54:30] local.INFO: Processing buffer {"connection_id":143781,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:54:30] local.INFO: IMEI packet received {"connection_id":143781,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 08:54:30] local.INFO: IMEI acknowledgment sent {"connection_id":143781,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:54:32] local.INFO: TCP Data received {"connection_id":143781,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143781,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:54:32] local.INFO: Processing buffer {"connection_id":143781,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:54:32] local.INFO: IMEI packet received {"connection_id":143781,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 08:54:32] local.INFO: IMEI acknowledgment sent {"connection_id":143781,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:54:33] local.INFO: TCP Data received {"connection_id":142685,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:54:33] local.INFO: Processing buffer {"connection_id":142685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:54:33] local.INFO: IMEI packet received {"connection_id":142685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 08:54:33] local.INFO: IMEI acknowledgment sent {"connection_id":142685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:54:33] local.INFO: TCP Data received {"connection_id":143781,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143781,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:54:33] local.INFO: Processing buffer {"connection_id":143781,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:54:33] local.INFO: IMEI packet received {"connection_id":143781,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 08:54:33] local.INFO: IMEI acknowledgment sent {"connection_id":143781,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:54:38] local.INFO: TCP Data received {"connection_id":142685,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:54:38] local.INFO: Processing buffer {"connection_id":142685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:54:38] local.INFO: IMEI packet received {"connection_id":142685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 08:54:38] local.INFO: IMEI acknowledgment sent {"connection_id":142685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:54:38] local.INFO: TCP Data received {"connection_id":142685,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1961b48012d7f930005afdaf0000a011229..."} 
[2026-07-27 08:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1961b48012d7f930005afdaf0000a011229..."} 
[2026-07-27 08:54:38] local.INFO: Processing buffer {"connection_id":142685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1961b48012d7f930005afdaf0000a011229..."} 
[2026-07-27 08:54:38] local.INFO: Packet analysis {"connection_id":142685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa196"} 
[2026-07-27 08:54:38] local.INFO: Extracted packet for processing {"connection_id":142685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa196"} 
[2026-07-27 08:54:38] local.INFO: GPS Element Parsed {"raw_longitude":763335424,"raw_latitude":95410928,"longitude_deg":76.3335424,"latitude_deg":9.5410928,"altitude":10,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7f9300","hex_latitude":"05afdaf0","is_valid_coordinates":true} 
[2026-07-27 08:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:54:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991256576001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:54:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826040631492608,"note":"Value kept but may cause issues"} 
[2026-07-27 08:54:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192691288818511872,"note":"Value kept but may cause issues"} 
[2026-07-27 08:54:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:54:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785122397000,"timestamp_ms":1785122397000,"timestamp_seconds":1785122397,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1961b48"} 
[2026-07-27 08:54:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:54:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 08:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-27 08:54:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:54:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:54:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:54:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:54:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:54:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:54:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:54:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:54:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:54:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:54:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991256576001,"66":25549,"250":206,"85":12544,"24":0,"16":358826040631492608,"45":9192691288818511872},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 08:54:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:54:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:54:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991256576001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:54:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 08:54:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:54:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826040631492608,"km_value":358826040631492.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:54:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192691288818511872,"description":"Unknown IO ID 45"} 
[2026-07-27 08:54:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991256576001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192691288818511872}} 
[2026-07-27 08:54:38] local.INFO: DEBUG: GPS processor result {"connection_id":142685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:54:38] local.INFO: GPS data processed {"connection_id":142685,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:54:38] local.INFO: Acknowledgment sent {"connection_id":142685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:55:09] local.INFO: TCP Data received {"connection_id":142685,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1961b48012d7f930005afdaf0000a011229..."} 
[2026-07-27 08:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1961b48012d7f930005afdaf0000a011229..."} 
[2026-07-27 08:55:09] local.INFO: Processing buffer {"connection_id":142685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1961b48012d7f930005afdaf0000a011229..."} 
[2026-07-27 08:55:09] local.INFO: Packet analysis {"connection_id":142685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa196"} 
[2026-07-27 08:55:09] local.INFO: Extracted packet for processing {"connection_id":142685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa196"} 
[2026-07-27 08:55:09] local.INFO: GPS Element Parsed {"raw_longitude":763335424,"raw_latitude":95410928,"longitude_deg":76.3335424,"latitude_deg":9.5410928,"altitude":10,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7f9300","hex_latitude":"05afdaf0","is_valid_coordinates":true} 
[2026-07-27 08:55:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:55:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991256576001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:55:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826040631492608,"note":"Value kept but may cause issues"} 
[2026-07-27 08:55:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192691288818511872,"note":"Value kept but may cause issues"} 
[2026-07-27 08:55:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:55:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785122397000,"timestamp_ms":1785122397000,"timestamp_seconds":1785122397,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1961b48"} 
[2026-07-27 08:55:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:55:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 08:55:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-27 08:55:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:55:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:55:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:55:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:55:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:55:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:55:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08: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-07-27 08:55:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:55:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:55:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991256576001,"66":25549,"250":206,"85":12544,"24":0,"16":358826040631492608,"45":9192691288818511872},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 08:55:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:55:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:55:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991256576001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:55:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 08:55:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:55:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826040631492608,"km_value":358826040631492.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:55:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192691288818511872,"description":"Unknown IO ID 45"} 
[2026-07-27 08:55:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991256576001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192691288818511872}} 
[2026-07-27 08:55:09] local.INFO: DEBUG: GPS processor result {"connection_id":142685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:55:09] local.INFO: GPS data processed {"connection_id":142685,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:55:09] local.INFO: Acknowledgment sent {"connection_id":142685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:55:32] local.INFO: TCP Data received {"connection_id":142808,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:55:32] local.INFO: Processing buffer {"connection_id":142808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:55:32] local.INFO: IMEI packet received {"connection_id":142808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 08:55:32] local.INFO: IMEI acknowledgment sent {"connection_id":142808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:55:37] local.INFO: TCP Data received {"connection_id":142808,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:55:37] local.INFO: Processing buffer {"connection_id":142808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:55:37] local.INFO: IMEI packet received {"connection_id":142808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 08:55:37] local.INFO: IMEI acknowledgment sent {"connection_id":142808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:55:37] local.INFO: TCP Data received {"connection_id":142808,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa19ab310012d7f930005afdaf00009011229..."} 
[2026-07-27 08:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa19ab310012d7f930005afdaf00009011229..."} 
[2026-07-27 08:55:37] local.INFO: Processing buffer {"connection_id":142808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa19ab310012d7f930005afdaf00009011229..."} 
[2026-07-27 08:55:37] local.INFO: Packet analysis {"connection_id":142808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa19a"} 
[2026-07-27 08:55:37] local.INFO: Extracted packet for processing {"connection_id":142808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa19a"} 
[2026-07-27 08:55:37] local.INFO: GPS Element Parsed {"raw_longitude":763335424,"raw_latitude":95410928,"longitude_deg":76.3335424,"latitude_deg":9.5410928,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7f9300","hex_latitude":"05afdaf0","is_valid_coordinates":true} 
[2026-07-27 08:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:55:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991333632001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:55:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826040631492608,"note":"Value kept but may cause issues"} 
[2026-07-27 08:55:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192691288818511872,"note":"Value kept but may cause issues"} 
[2026-07-27 08:55:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:55:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785122698000,"timestamp_ms":1785122698000,"timestamp_seconds":1785122698,"priority":1,"record_length":96,"hex_timestamp":"0000019fa19ab310"} 
[2026-07-27 08:55:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:55:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 08:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-27 08:55:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:55:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:55:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:55:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:55:37] local.INFO: Teltonika packet parsed successfully {"connection_id":142808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:55:37] local.INFO: Passing IMEI to GPS processor {"connection_id":142808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:55:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":142808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:55:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:55:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:55:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:55:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991333632001,"66":25495,"250":206,"85":12544,"24":0,"16":358826040631492608,"45":9192691288818511872},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 08:55:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:55:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:55:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991333632001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:55:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 08:55:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:55:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826040631492608,"km_value":358826040631492.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:55:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192691288818511872,"description":"Unknown IO ID 45"} 
[2026-07-27 08:55:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991333632001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192691288818511872}} 
[2026-07-27 08:55:37] local.INFO: DEBUG: GPS processor result {"connection_id":142808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:55:37] local.INFO: GPS data processed {"connection_id":142808,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:55:37] local.INFO: Acknowledgment sent {"connection_id":142808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:55:43] local.INFO: TCP Data received {"connection_id":145105,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145105,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:55:43] local.INFO: Processing buffer {"connection_id":145105,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:55:43] local.INFO: IMEI packet received {"connection_id":145105,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 08:55:43] local.INFO: IMEI acknowledgment sent {"connection_id":145105,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:55:46] local.INFO: TCP Data received {"connection_id":145105,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145105,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:55:46] local.INFO: Processing buffer {"connection_id":145105,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:55:46] local.INFO: IMEI packet received {"connection_id":145105,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 08:55:46] local.INFO: IMEI acknowledgment sent {"connection_id":145105,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:55:47] local.INFO: TCP Data received {"connection_id":145105,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa19ad638012d0da6c00706efc00028012922..."} 
[2026-07-27 08:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145105,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa19ad638012d0da6c00706efc00028012922..."} 
[2026-07-27 08:55:47] local.INFO: Processing buffer {"connection_id":145105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa19ad638012d0da6c00706efc00028012922..."} 
[2026-07-27 08:55:47] local.INFO: Packet analysis {"connection_id":145105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa19a"} 
[2026-07-27 08:55:47] local.INFO: Extracted packet for processing {"connection_id":145105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa19a"} 
[2026-07-27 08:55:47] local.INFO: GPS Element Parsed {"raw_longitude":755869376,"raw_latitude":117895104,"longitude_deg":75.5869376,"latitude_deg":11.7895104,"altitude":40,"angle":297,"satellites":34,"speed":21,"hex_longitude":"2d0da6c0","hex_latitude":"0706efc0","is_valid_coordinates":true} 
[2026-07-27 08: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-07-27 08:55:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991412480001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:55:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25812066254192640,"note":"Value kept but may cause issues"} 
[2026-07-27 08:55:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":984880973691639808,"note":"Value kept but may cause issues"} 
[2026-07-27 08:55:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:55:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785122707000,"timestamp_ms":1785122707000,"timestamp_seconds":1785122707,"priority":1,"record_length":96,"hex_timestamp":"0000019fa19ad638"} 
[2026-07-27 08:55:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:55:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-27 08:55:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08: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-07-27 08:55:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:55:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:55:47] local.INFO: Teltonika packet parsed successfully {"connection_id":145105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:55:47] local.INFO: Passing IMEI to GPS processor {"connection_id":145105,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:55:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":145105,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:55:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:55:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 08:55:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 08:55:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991412480001,"66":14407,"219":206,"94":10240,"24":21,"16":25812066254192640,"45":984880973691639808},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-27 08:55:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 08:55:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 08:55:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991412480001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:55:47] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-27 08:55:47] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 08:55:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25812066254192640,"km_value":25812066254192.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:55:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":984880973691639808,"description":"Unknown IO ID 45"} 
[2026-07-27 08:55:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991412480001,"power":14407,"unknown_219":206,"unknown_94":10240,"ignition":21,"odometer":null,"unknown_45":984880973691639808}} 
[2026-07-27 08:55:47] local.INFO: DEBUG: GPS processor result {"connection_id":145105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552111,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:55:47] local.INFO: GPS data processed {"connection_id":145105,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:55:47] local.INFO: Acknowledgment sent {"connection_id":145105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:56:08] local.INFO: TCP Data received {"connection_id":142808,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa19ab310012d7f930005afdaf00009011229..."} 
[2026-07-27 08:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa19ab310012d7f930005afdaf00009011229..."} 
[2026-07-27 08:56:08] local.INFO: Processing buffer {"connection_id":142808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa19ab310012d7f930005afdaf00009011229..."} 
[2026-07-27 08:56:08] local.INFO: Packet analysis {"connection_id":142808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa19a"} 
[2026-07-27 08:56:08] local.INFO: Extracted packet for processing {"connection_id":142808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa19a"} 
[2026-07-27 08:56:08] local.INFO: GPS Element Parsed {"raw_longitude":763335424,"raw_latitude":95410928,"longitude_deg":76.3335424,"latitude_deg":9.5410928,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7f9300","hex_latitude":"05afdaf0","is_valid_coordinates":true} 
[2026-07-27 08:56:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:56:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991333632001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:56:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826040631492608,"note":"Value kept but may cause issues"} 
[2026-07-27 08:56:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192691288818511872,"note":"Value kept but may cause issues"} 
[2026-07-27 08:56:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:56:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785122698000,"timestamp_ms":1785122698000,"timestamp_seconds":1785122698,"priority":1,"record_length":96,"hex_timestamp":"0000019fa19ab310"} 
[2026-07-27 08:56:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:56:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 08: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":205,"data_length":795,"current_offset":136} 
[2026-07-27 08:56:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:56:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:56:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:56:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:56:08] local.INFO: Teltonika packet parsed successfully {"connection_id":142808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:56:08] local.INFO: Passing IMEI to GPS processor {"connection_id":142808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:56:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":142808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:56:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:56:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:56:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:56:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991333632001,"66":25495,"250":206,"85":12544,"24":0,"16":358826040631492608,"45":9192691288818511872},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 08:56:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:56:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:56:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991333632001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:56:08] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 08:56:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:56:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826040631492608,"km_value":358826040631492.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:56:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192691288818511872,"description":"Unknown IO ID 45"} 
[2026-07-27 08:56:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991333632001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192691288818511872}} 
[2026-07-27 08:56:08] local.INFO: DEBUG: GPS processor result {"connection_id":142808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:56:08] local.INFO: GPS data processed {"connection_id":142808,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:56:08] local.INFO: Acknowledgment sent {"connection_id":142808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:56:19] local.INFO: TCP Data received {"connection_id":145105,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa19b0518012d0d8800070700c8002a013122..."} 
[2026-07-27 08:56:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145105,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa19b0518012d0d8800070700c8002a013122..."} 
[2026-07-27 08:56:19] local.INFO: Processing buffer {"connection_id":145105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa19b0518012d0d8800070700c8002a013122..."} 
[2026-07-27 08:56:19] local.INFO: Packet analysis {"connection_id":145105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa19b"} 
[2026-07-27 08:56:19] local.INFO: Extracted packet for processing {"connection_id":145105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa19b"} 
[2026-07-27 08:56:19] local.INFO: GPS Element Parsed {"raw_longitude":755861504,"raw_latitude":117899464,"longitude_deg":75.5861504,"latitude_deg":11.7899464,"altitude":42,"angle":305,"satellites":34,"speed":30,"hex_longitude":"2d0d8800","hex_latitude":"070700c8","is_valid_coordinates":true} 
[2026-07-27 08: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-07-27 08:56:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991412992001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:56:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25812495750922240,"note":"Value kept but may cause issues"} 
[2026-07-27 08:56:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":983684705040711680,"note":"Value kept but may cause issues"} 
[2026-07-27 08:56:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:56:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785122719000,"timestamp_ms":1785122719000,"timestamp_seconds":1785122719,"priority":1,"record_length":96,"hex_timestamp":"0000019fa19b0518"} 
[2026-07-27 08:56:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:56:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08:56:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-27 08:56:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:56:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:56:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:56:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:56:19] local.INFO: Teltonika packet parsed successfully {"connection_id":145105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:56:19] local.INFO: Passing IMEI to GPS processor {"connection_id":145105,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:56:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":145105,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:56:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:56:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 08:56:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 08:56:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991412992001,"66":14396,"219":206,"94":10240,"24":30,"16":25812495750922240,"45":983684705040711680},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-27 08:56:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 08:56:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 08:56:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991412992001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:56:19] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-27 08:56:19] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 08:56:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25812495750922240,"km_value":25812495750922.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:56:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":983684705040711680,"description":"Unknown IO ID 45"} 
[2026-07-27 08:56:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991412992001,"power":14396,"unknown_219":206,"unknown_94":10240,"ignition":30,"odometer":null,"unknown_45":983684705040711680}} 
[2026-07-27 08:56:19] local.INFO: DEBUG: GPS processor result {"connection_id":145105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552113,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:56:19] local.INFO: GPS data processed {"connection_id":145105,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:56:19] local.INFO: Acknowledgment sent {"connection_id":145105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:56:32] local.INFO: TCP Data received {"connection_id":143784,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:56:32] local.INFO: Processing buffer {"connection_id":143784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:56:32] local.INFO: IMEI packet received {"connection_id":143784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 08:56:32] local.INFO: IMEI acknowledgment sent {"connection_id":143784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:56:38] local.INFO: TCP Data received {"connection_id":143784,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:56:38] local.INFO: Processing buffer {"connection_id":143784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:56:38] local.INFO: IMEI packet received {"connection_id":143784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 08:56:38] local.INFO: IMEI acknowledgment sent {"connection_id":143784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:56:38] local.INFO: TCP Data received {"connection_id":143784,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fa19ab310012d7f930005afdaf00009011229..."} 
[2026-07-27 08:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa19ab310012d7f930005afdaf00009011229..."} 
[2026-07-27 08:56:38] local.INFO: Processing buffer {"connection_id":143784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa19ab310012d7f930005afdaf00009011229..."} 
[2026-07-27 08:56:38] local.INFO: Packet analysis {"connection_id":143784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa19a"} 
[2026-07-27 08:56:38] local.INFO: Extracted packet for processing {"connection_id":143784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa19a"} 
[2026-07-27 08:56:38] local.INFO: GPS Element Parsed {"raw_longitude":763335424,"raw_latitude":95410928,"longitude_deg":76.3335424,"latitude_deg":9.5410928,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7f9300","hex_latitude":"05afdaf0","is_valid_coordinates":true} 
[2026-07-27 08:56:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:56:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991333632001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:56:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826040631492608,"note":"Value kept but may cause issues"} 
[2026-07-27 08:56:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192691288818511872,"note":"Value kept but may cause issues"} 
[2026-07-27 08:56:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:56:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785122698000,"timestamp_ms":1785122698000,"timestamp_seconds":1785122698,"priority":1,"record_length":96,"hex_timestamp":"0000019fa19ab310"} 
[2026-07-27 08:56:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:56:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 08:56:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-27 08:56:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:56:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:56:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:56:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:56:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:56:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:56:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:56:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:56:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:56:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:56:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991333632001,"66":25495,"250":206,"85":12544,"24":0,"16":358826040631492608,"45":9192691288818511872},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 08:56:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:56:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:56:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991333632001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:56:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 08:56:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:56:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826040631492608,"km_value":358826040631492.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:56:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192691288818511872,"description":"Unknown IO ID 45"} 
[2026-07-27 08:56:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991333632001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192691288818511872}} 
[2026-07-27 08:56:38] local.INFO: DEBUG: GPS processor result {"connection_id":143784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:56:38] local.INFO: GPS data processed {"connection_id":143784,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:56:38] local.INFO: Acknowledgment sent {"connection_id":143784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:56:40] local.INFO: TCP Data received {"connection_id":142686,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142686,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:56:40] local.INFO: Processing buffer {"connection_id":142686,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:56:40] local.INFO: IMEI packet received {"connection_id":142686,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 08:56:40] local.INFO: IMEI acknowledgment sent {"connection_id":142686,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:56:46] local.INFO: TCP Data received {"connection_id":142686,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142686,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:56:46] local.INFO: Processing buffer {"connection_id":142686,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:56:46] local.INFO: IMEI packet received {"connection_id":142686,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 08:56:46] local.INFO: IMEI acknowledgment sent {"connection_id":142686,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:56:46] local.INFO: TCP Data received {"connection_id":142686,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa19c0ad0012d0d2b40070737d00025000622..."} 
[2026-07-27 08:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa19c0ad0012d0d2b40070737d00025000622..."} 
[2026-07-27 08:56:46] local.INFO: Processing buffer {"connection_id":142686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa19c0ad0012d0d2b40070737d00025000622..."} 
[2026-07-27 08:56:46] local.INFO: Packet analysis {"connection_id":142686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa19c"} 
[2026-07-27 08:56:46] local.INFO: Extracted packet for processing {"connection_id":142686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa19c"} 
[2026-07-27 08:56:46] local.INFO: GPS Element Parsed {"raw_longitude":755837760,"raw_latitude":117913552,"longitude_deg":75.583776,"latitude_deg":11.7913552,"altitude":37,"angle":6,"satellites":34,"speed":25,"hex_longitude":"2d0d2b40","hex_latitude":"070737d0","is_valid_coordinates":true} 
[2026-07-27 08:56:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:56:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991431168001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:56:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25814054824050688,"note":"Value kept but may cause issues"} 
[2026-07-27 08:56:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":948781807932053504,"note":"Value kept but may cause issues"} 
[2026-07-27 08:56:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:56:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785122786000,"timestamp_ms":1785122786000,"timestamp_seconds":1785122786,"priority":1,"record_length":96,"hex_timestamp":"0000019fa19c0ad0"} 
[2026-07-27 08:56:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:56:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08:56:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-07-27 08:56:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733147648,"note":"Value kept but may cause issues"} 
[2026-07-27 08:56:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-27 08:56:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":9008346581437184,"note":"Value kept but may cause issues"} 
[2026-07-27 08:56:46] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2711327160,"note":"Value kept but may cause issues"} 
[2026-07-27 08:56:46] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1811010077465772042,"note":"Value kept but may cause issues"} 
[2026-07-27 08:56:46] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-27 08:56:46] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503993508495360,"note":"Value kept but may cause issues"} 
[2026-07-27 08:56:46] local.WARNING: Large IO value detected {"io_id":161,"raw_value":2612834305,"note":"Value kept but may cause issues"} 
[2026-07-27 08:56:46] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639226070183899,"note":"Value kept but may cause issues"} 
[2026-07-27 08:56:46] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6917792914731237632,"note":"Value kept but may cause issues"} 
[2026-07-27 08:56:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":802881742,"corrected_to":0} 
[2026-07-27 08:56:46] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-07-27 08:56:46] local.WARNING: Large IO value detected {"io_id":91,"raw_value":3040870400,"note":"Value kept but may cause issues"} 
[2026-07-27 08:56:46] local.WARNING: Large IO value detected {"io_id":8,"raw_value":84738636377425685,"note":"Value kept but may cause issues"} 
[2026-07-27 08:56:46] local.WARNING: Large IO value detected {"io_id":13,"raw_value":6755407168045842464,"note":"Value kept but may cause issues"} 
[2026-07-27 08:56:46] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,219,94,24,241,157,16,181,159,204,45,192,26,32,34,10,66,196,33,1,240,60,227,161,7,4,113,205,165,57,168,239,56,2,91,206,8,13],"length":628,"final_offset":758,"validated_count":38,"validation_warnings":[{"io_id":205,"original":802881742,"validated":0}]} 
[2026-07-27 08:56:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2450349769459040256,"timestamp_seconds":2450349769459040.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 08:56:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:56:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:56:46] local.INFO: Teltonika packet parsed successfully {"connection_id":142686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:56:46] local.INFO: Passing IMEI to GPS processor {"connection_id":142686,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:56:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":142686,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:56:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:56:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 08:56:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 08:56:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991431168001,"66":14396,"221":206,"94":10240,"24":25,"16":25814054824050688,"45":948781807932053504},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-07-27 08:56:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 08:56:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 08:56:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991431168001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:56:46] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-27 08:56:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 08:56:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25814054824050688,"km_value":25814054824050.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:56:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":948781807932053504,"description":"Unknown IO ID 45"} 
[2026-07-27 08:56:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991431168001,"power":14396,"unknown_221":206,"unknown_94":10240,"ignition":25,"odometer":null,"unknown_45":948781807932053504}} 
[2026-07-27 08:56:46] local.INFO: DEBUG: GPS processor result {"connection_id":142686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552115,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:56:46] local.INFO: GPS data processed {"connection_id":142686,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:56:46] local.INFO: Acknowledgment sent {"connection_id":142686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:57:09] local.INFO: TCP Data received {"connection_id":143784,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fa19ab310012d7f930005afdaf00009011229..."} 
[2026-07-27 08:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa19ab310012d7f930005afdaf00009011229..."} 
[2026-07-27 08:57:09] local.INFO: Processing buffer {"connection_id":143784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa19ab310012d7f930005afdaf00009011229..."} 
[2026-07-27 08:57:09] local.INFO: Packet analysis {"connection_id":143784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa19a"} 
[2026-07-27 08:57:09] local.INFO: Extracted packet for processing {"connection_id":143784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa19a"} 
[2026-07-27 08:57:09] local.INFO: GPS Element Parsed {"raw_longitude":763335424,"raw_latitude":95410928,"longitude_deg":76.3335424,"latitude_deg":9.5410928,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7f9300","hex_latitude":"05afdaf0","is_valid_coordinates":true} 
[2026-07-27 08:57:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:57:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991333632001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:57:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826040631492608,"note":"Value kept but may cause issues"} 
[2026-07-27 08:57:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192691288818511872,"note":"Value kept but may cause issues"} 
[2026-07-27 08:57:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:57:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785122698000,"timestamp_ms":1785122698000,"timestamp_seconds":1785122698,"priority":1,"record_length":96,"hex_timestamp":"0000019fa19ab310"} 
[2026-07-27 08:57:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:57:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 08:57:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-27 08:57:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:57:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:57:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:57:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:57:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:57:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:57:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:57:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:57:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:57:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:57:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991333632001,"66":25495,"250":206,"85":12544,"24":0,"16":358826040631492608,"45":9192691288818511872},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 08:57:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:57:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:57:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991333632001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:57:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 08:57:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:57:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826040631492608,"km_value":358826040631492.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:57:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192691288818511872,"description":"Unknown IO ID 45"} 
[2026-07-27 08:57:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991333632001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192691288818511872}} 
[2026-07-27 08:57:09] local.INFO: DEBUG: GPS processor result {"connection_id":143784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:57:09] local.INFO: GPS data processed {"connection_id":143784,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:57:09] local.INFO: Acknowledgment sent {"connection_id":143784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:57:18] local.INFO: TCP Data received {"connection_id":142686,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa19c9770012d0cde4007074ef8002300fb22..."} 
[2026-07-27 08:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa19c9770012d0cde4007074ef8002300fb22..."} 
[2026-07-27 08:57:18] local.INFO: Processing buffer {"connection_id":142686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa19c9770012d0cde4007074ef8002300fb22..."} 
[2026-07-27 08:57:18] local.INFO: Packet analysis {"connection_id":142686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa19c"} 
[2026-07-27 08:57:18] local.INFO: Extracted packet for processing {"connection_id":142686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa19c"} 
[2026-07-27 08:57:18] local.INFO: GPS Element Parsed {"raw_longitude":755818048,"raw_latitude":117919480,"longitude_deg":75.5818048,"latitude_deg":11.791948,"altitude":35,"angle":251,"satellites":34,"speed":14,"hex_longitude":"2d0cde40","hex_latitude":"07074ef8","is_valid_coordinates":true} 
[2026-07-27 08:57:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:57:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991442176001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:57:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25815201580318720,"note":"Value kept but may cause issues"} 
[2026-07-27 08:57:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":927671184681568256,"note":"Value kept but may cause issues"} 
[2026-07-27 08:57:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:57:18] local.INFO: AVL Record Parsed {"raw_timestamp":1785122822000,"timestamp_ms":1785122822000,"timestamp_seconds":1785122822,"priority":1,"record_length":96,"hex_timestamp":"0000019fa19c9770"} 
[2026-07-27 08:57:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:57:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08:57:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-27 08:57:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:57:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:57:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:57:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:57:18] local.INFO: Teltonika packet parsed successfully {"connection_id":142686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:57:18] local.INFO: Passing IMEI to GPS processor {"connection_id":142686,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:57:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":142686,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:57:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:57:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 08:57:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 08:57:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991442176001,"66":14439,"221":206,"94":10240,"24":14,"16":25815201580318720,"45":927671184681568256},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-07-27 08:57:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 08:57:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 08:57:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991442176001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:57:18] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-27 08:57:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 08:57:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25815201580318720,"km_value":25815201580318.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:57:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":927671184681568256,"description":"Unknown IO ID 45"} 
[2026-07-27 08:57:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991442176001,"power":14439,"unknown_221":206,"unknown_94":10240,"ignition":14,"odometer":null,"unknown_45":927671184681568256}} 
[2026-07-27 08:57:18] local.INFO: DEBUG: GPS processor result {"connection_id":142686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552117,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:57:18] local.INFO: GPS data processed {"connection_id":142686,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:57:18] local.INFO: Acknowledgment sent {"connection_id":142686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:57:38] local.INFO: TCP Data received {"connection_id":142809,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:57:38] local.INFO: Processing buffer {"connection_id":142809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:57:38] local.INFO: IMEI packet received {"connection_id":142809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 08:57:38] local.INFO: IMEI acknowledgment sent {"connection_id":142809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:57:41] local.INFO: TCP Data received {"connection_id":143785,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143785,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:57:41] local.INFO: Processing buffer {"connection_id":143785,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:57:41] local.INFO: IMEI packet received {"connection_id":143785,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 08:57:41] local.INFO: IMEI acknowledgment sent {"connection_id":143785,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:57:43] local.INFO: TCP Data received {"connection_id":142809,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:57:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:57:43] local.INFO: Processing buffer {"connection_id":142809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:57:43] local.INFO: IMEI packet received {"connection_id":142809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 08:57:43] local.INFO: IMEI acknowledgment sent {"connection_id":142809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:57:43] local.INFO: TCP Data received {"connection_id":142809,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa19ab310012d7f930005afdaf00009011229..."} 
[2026-07-27 08:57:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa19ab310012d7f930005afdaf00009011229..."} 
[2026-07-27 08:57:43] local.INFO: Processing buffer {"connection_id":142809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa19ab310012d7f930005afdaf00009011229..."} 
[2026-07-27 08:57:43] local.INFO: Packet analysis {"connection_id":142809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa19a"} 
[2026-07-27 08:57:43] local.INFO: Extracted packet for processing {"connection_id":142809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa19a"} 
[2026-07-27 08:57:43] local.INFO: GPS Element Parsed {"raw_longitude":763335424,"raw_latitude":95410928,"longitude_deg":76.3335424,"latitude_deg":9.5410928,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7f9300","hex_latitude":"05afdaf0","is_valid_coordinates":true} 
[2026-07-27 08: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-07-27 08:57:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991333632001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:57:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826040631492608,"note":"Value kept but may cause issues"} 
[2026-07-27 08:57:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192691288818511872,"note":"Value kept but may cause issues"} 
[2026-07-27 08:57:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:57:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785122698000,"timestamp_ms":1785122698000,"timestamp_seconds":1785122698,"priority":1,"record_length":96,"hex_timestamp":"0000019fa19ab310"} 
[2026-07-27 08:57:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:57:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 08: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":205,"data_length":795,"current_offset":136} 
[2026-07-27 08:57:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08: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-07-27 08:57:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:57:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:57:43] local.INFO: Teltonika packet parsed successfully {"connection_id":142809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:57:43] local.INFO: Passing IMEI to GPS processor {"connection_id":142809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:57:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":142809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:57:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:57:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:57:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:57:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991333632001,"66":25495,"250":206,"85":12544,"24":0,"16":358826040631492608,"45":9192691288818511872},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 08:57:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:57:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:57:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991333632001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:57:43] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 08:57:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:57:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826040631492608,"km_value":358826040631492.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:57:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192691288818511872,"description":"Unknown IO ID 45"} 
[2026-07-27 08:57:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991333632001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192691288818511872}} 
[2026-07-27 08:57:43] local.INFO: DEBUG: GPS processor result {"connection_id":142809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:57:43] local.INFO: GPS data processed {"connection_id":142809,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:57:43] local.INFO: Acknowledgment sent {"connection_id":142809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:57:46] local.INFO: TCP Data received {"connection_id":143785,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143785,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:57:46] local.INFO: Processing buffer {"connection_id":143785,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:57:46] local.INFO: IMEI packet received {"connection_id":143785,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 08:57:46] local.INFO: IMEI acknowledgment sent {"connection_id":143785,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:57:46] local.INFO: TCP Data received {"connection_id":143785,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143785,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:57:46] local.INFO: Processing buffer {"connection_id":143785,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:57:46] local.INFO: IMEI packet received {"connection_id":143785,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 08:57:46] local.INFO: IMEI acknowledgment sent {"connection_id":143785,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:57:46] local.INFO: TCP Data received {"connection_id":143785,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143785,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:57:46] local.INFO: Processing buffer {"connection_id":143785,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:57:46] local.INFO: IMEI packet received {"connection_id":143785,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 08:57:46] local.INFO: IMEI acknowledgment sent {"connection_id":143785,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:57:47] local.INFO: TCP Data received {"connection_id":143785,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa19c9b58012d0cdcc007074ef80023011022..."} 
[2026-07-27 08:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa19c9b58012d0cdcc007074ef80023011022..."} 
[2026-07-27 08:57:47] local.INFO: Processing buffer {"connection_id":143785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa19c9b58012d0cdcc007074ef80023011022..."} 
[2026-07-27 08:57:47] local.INFO: Packet analysis {"connection_id":143785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa19c"} 
[2026-07-27 08:57:47] local.INFO: Extracted packet for processing {"connection_id":143785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa19c"} 
[2026-07-27 08:57:47] local.INFO: GPS Element Parsed {"raw_longitude":755817664,"raw_latitude":117919480,"longitude_deg":75.5817664,"latitude_deg":11.791948,"altitude":35,"angle":272,"satellites":34,"speed":13,"hex_longitude":"2d0cdcc0","hex_latitude":"07074ef8","is_valid_coordinates":true} 
[2026-07-27 08:57:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:57:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991442432001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:57:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25815218760187904,"note":"Value kept but may cause issues"} 
[2026-07-27 08:57:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":927248972216465408,"note":"Value kept but may cause issues"} 
[2026-07-27 08:57:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:57:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785122823000,"timestamp_ms":1785122823000,"timestamp_seconds":1785122823,"priority":1,"record_length":96,"hex_timestamp":"0000019fa19c9b58"} 
[2026-07-27 08:57:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:57:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08:57:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-27 08:57:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:57:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:57:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:57:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:57:47] local.INFO: Teltonika packet parsed successfully {"connection_id":143785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:57:47] local.INFO: Passing IMEI to GPS processor {"connection_id":143785,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:57:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":143785,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:57:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:57:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 08:57:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 08:57:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991442432001,"66":14439,"221":206,"94":10240,"24":13,"16":25815218760187904,"45":927248972216465408},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-07-27 08:57:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 08:57:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 08:57:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991442432001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:57:47] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-27 08:57:47] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 08:57:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25815218760187904,"km_value":25815218760187.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:57:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":927248972216465408,"description":"Unknown IO ID 45"} 
[2026-07-27 08:57:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991442432001,"power":14439,"unknown_221":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":927248972216465408}} 
[2026-07-27 08:57:47] local.INFO: DEBUG: GPS processor result {"connection_id":143785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552119,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:57:47] local.INFO: GPS data processed {"connection_id":143785,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:57:47] local.INFO: Acknowledgment sent {"connection_id":143785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:57:48] local.INFO: TCP Data received {"connection_id":142809,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa19ab310012d7f930005afdaf00009011229..."} 
[2026-07-27 08:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa19ab310012d7f930005afdaf00009011229..."} 
[2026-07-27 08:57:48] local.INFO: Processing buffer {"connection_id":142809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa19ab310012d7f930005afdaf00009011229..."} 
[2026-07-27 08:57:48] local.INFO: Packet analysis {"connection_id":142809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa19a"} 
[2026-07-27 08:57:48] local.INFO: Extracted packet for processing {"connection_id":142809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa19a"} 
[2026-07-27 08:57:48] local.INFO: GPS Element Parsed {"raw_longitude":763335424,"raw_latitude":95410928,"longitude_deg":76.3335424,"latitude_deg":9.5410928,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7f9300","hex_latitude":"05afdaf0","is_valid_coordinates":true} 
[2026-07-27 08:57:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:57:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991333632001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:57:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826040631492608,"note":"Value kept but may cause issues"} 
[2026-07-27 08:57:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192691288818511872,"note":"Value kept but may cause issues"} 
[2026-07-27 08:57:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:57:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785122698000,"timestamp_ms":1785122698000,"timestamp_seconds":1785122698,"priority":1,"record_length":96,"hex_timestamp":"0000019fa19ab310"} 
[2026-07-27 08:57:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:57:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 08:57:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-27 08:57:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:57:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:57:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:57:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:57:48] local.INFO: Teltonika packet parsed successfully {"connection_id":142809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:57:48] local.INFO: Passing IMEI to GPS processor {"connection_id":142809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:57:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":142809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:57:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:57:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:57:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:57:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991333632001,"66":25495,"250":206,"85":12544,"24":0,"16":358826040631492608,"45":9192691288818511872},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 08:57:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:57:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:57:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991333632001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:57:48] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 08:57:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:57:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826040631492608,"km_value":358826040631492.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:57:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192691288818511872,"description":"Unknown IO ID 45"} 
[2026-07-27 08:57:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991333632001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192691288818511872}} 
[2026-07-27 08:57:48] local.INFO: DEBUG: GPS processor result {"connection_id":142809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:57:48] local.INFO: GPS data processed {"connection_id":142809,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:57:48] local.INFO: Acknowledgment sent {"connection_id":142809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:57:48] local.INFO: TCP Data received {"connection_id":143785,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa19c9f40012d0cdb4007074f880022012422..."} 
[2026-07-27 08:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa19c9f40012d0cdb4007074f880022012422..."} 
[2026-07-27 08:57:48] local.INFO: Processing buffer {"connection_id":143785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa19c9f40012d0cdb4007074f880022012422..."} 
[2026-07-27 08:57:48] local.INFO: Packet analysis {"connection_id":143785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa19c"} 
[2026-07-27 08:57:48] local.INFO: Extracted packet for processing {"connection_id":143785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa19c"} 
[2026-07-27 08:57:48] local.INFO: GPS Element Parsed {"raw_longitude":755817280,"raw_latitude":117919624,"longitude_deg":75.581728,"latitude_deg":11.7919624,"altitude":34,"angle":292,"satellites":34,"speed":16,"hex_longitude":"2d0cdb40","hex_latitude":"07074f88","is_valid_coordinates":true} 
[2026-07-27 08:57:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:57:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991442688001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:57:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25815235940057088,"note":"Value kept but may cause issues"} 
[2026-07-27 08:57:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":926826759751399424,"note":"Value kept but may cause issues"} 
[2026-07-27 08:57:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:57:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785122824000,"timestamp_ms":1785122824000,"timestamp_seconds":1785122824,"priority":1,"record_length":96,"hex_timestamp":"0000019fa19c9f40"} 
[2026-07-27 08:57:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:57:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08:57:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-27 08:57:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:57:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:57:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:57:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:57:48] local.INFO: Teltonika packet parsed successfully {"connection_id":143785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:57:48] local.INFO: Passing IMEI to GPS processor {"connection_id":143785,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:57:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":143785,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:57:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:57:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 08:57:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 08:57:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991442688001,"66":14374,"221":206,"94":10240,"24":16,"16":25815235940057088,"45":926826759751399424},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-07-27 08:57:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 08:57:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 08:57:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991442688001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:57:48] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-27 08:57:48] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 08:57:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25815235940057088,"km_value":25815235940057.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:57:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":926826759751399424,"description":"Unknown IO ID 45"} 
[2026-07-27 08:57:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991442688001,"power":14374,"unknown_221":206,"unknown_94":10240,"ignition":16,"odometer":null,"unknown_45":926826759751399424}} 
[2026-07-27 08:57:48] local.INFO: DEBUG: GPS processor result {"connection_id":143785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552121,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:57:48] local.INFO: GPS data processed {"connection_id":143785,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:57:48] local.INFO: Acknowledgment sent {"connection_id":143785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:57:49] local.INFO: TCP Data received {"connection_id":143785,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa19ce1a8012d0cb90007075bb00022012822..."} 
[2026-07-27 08:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa19ce1a8012d0cb90007075bb00022012822..."} 
[2026-07-27 08:57:49] local.INFO: Processing buffer {"connection_id":143785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa19ce1a8012d0cb90007075bb00022012822..."} 
[2026-07-27 08:57:49] local.INFO: Packet analysis {"connection_id":143785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa19c"} 
[2026-07-27 08:57:49] local.INFO: Extracted packet for processing {"connection_id":143785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa19c"} 
[2026-07-27 08:57:49] local.INFO: GPS Element Parsed {"raw_longitude":755808512,"raw_latitude":117922736,"longitude_deg":75.5808512,"latitude_deg":11.7922736,"altitude":34,"angle":296,"satellites":34,"speed":11,"hex_longitude":"2d0cb900","hex_latitude":"07075bb0","is_valid_coordinates":true} 
[2026-07-27 08: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-07-27 08:57:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991442944001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:57:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25815678321688576,"note":"Value kept but may cause issues"} 
[2026-07-27 08:57:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":926404547286370304,"note":"Value kept but may cause issues"} 
[2026-07-27 08:57:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:57:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785122841000,"timestamp_ms":1785122841000,"timestamp_seconds":1785122841,"priority":1,"record_length":96,"hex_timestamp":"0000019fa19ce1a8"} 
[2026-07-27 08:57:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:57:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08:57:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-27 08:57:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08: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-07-27 08:57:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:57:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:57:49] local.INFO: Teltonika packet parsed successfully {"connection_id":143785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:57:49] local.INFO: Passing IMEI to GPS processor {"connection_id":143785,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:57:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":143785,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:57:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:57:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 08:57:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 08:57:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991442944001,"66":14396,"221":206,"94":10240,"24":11,"16":25815678321688576,"45":926404547286370304},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-07-27 08:57:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 08:57:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 08:57:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991442944001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:57:49] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-27 08:57:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 08:57:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25815678321688576,"km_value":25815678321688.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:57:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":926404547286370304,"description":"Unknown IO ID 45"} 
[2026-07-27 08:57:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991442944001,"power":14396,"unknown_221":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":926404547286370304}} 
[2026-07-27 08:57:50] local.INFO: DEBUG: GPS processor result {"connection_id":143785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552122,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:57:50] local.INFO: GPS data processed {"connection_id":143785,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:57:50] local.INFO: Acknowledgment sent {"connection_id":143785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:58:20] local.INFO: TCP Data received {"connection_id":143786,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 08:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143786,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 08:58:20] local.INFO: Processing buffer {"connection_id":143786,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 08:58:20] local.INFO: IMEI packet received {"connection_id":143786,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 08:58:20] local.INFO: IMEI acknowledgment sent {"connection_id":143786,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:58:20] local.INFO: TCP Data received {"connection_id":143785,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa19db0b0012d0c8080070775a00017014322..."} 
[2026-07-27 08:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa19db0b0012d0c8080070775a00017014322..."} 
[2026-07-27 08:58:20] local.INFO: Processing buffer {"connection_id":143785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa19db0b0012d0c8080070775a00017014322..."} 
[2026-07-27 08:58:20] local.INFO: Packet analysis {"connection_id":143785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa19d"} 
[2026-07-27 08:58:20] local.INFO: Extracted packet for processing {"connection_id":143785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa19d"} 
[2026-07-27 08:58:20] local.INFO: GPS Element Parsed {"raw_longitude":755794048,"raw_latitude":117929376,"longitude_deg":75.5794048,"latitude_deg":11.7929376,"altitude":23,"angle":323,"satellites":34,"speed":8,"hex_longitude":"2d0c8080","hex_latitude":"070775a0","is_valid_coordinates":true} 
[2026-07-27 08:58:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:58:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991460352001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:58:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25816666164166656,"note":"Value kept but may cause issues"} 
[2026-07-27 08:58:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":901142168129013760,"note":"Value kept but may cause issues"} 
[2026-07-27 08:58:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:58:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785122894000,"timestamp_ms":1785122894000,"timestamp_seconds":1785122894,"priority":1,"record_length":96,"hex_timestamp":"0000019fa19db0b0"} 
[2026-07-27 08:58:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:58:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08:58:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":72,"data_length":795,"current_offset":136} 
[2026-07-27 08:58:20] 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-07-27 08:58:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:58:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:58:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:58:20] local.INFO: Teltonika packet parsed successfully {"connection_id":143785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:58:20] local.INFO: Passing IMEI to GPS processor {"connection_id":143785,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:58:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":143785,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:58:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:58:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 08:58:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 08:58:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991460352001,"66":14439,"221":206,"94":10240,"24":8,"16":25816666164166656,"45":901142168129013760},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-07-27 08:58:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 08:58:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 08:58:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991460352001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:58:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-27 08:58:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 08:58:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25816666164166656,"km_value":25816666164166.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:58:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":901142168129013760,"description":"Unknown IO ID 45"} 
[2026-07-27 08:58:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991460352001,"power":14439,"unknown_221":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":901142168129013760}} 
[2026-07-27 08:58:21] local.INFO: DEBUG: GPS processor result {"connection_id":143785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552123,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:58:21] local.INFO: GPS data processed {"connection_id":143785,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:58:21] local.INFO: Acknowledgment sent {"connection_id":143785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:58:25] local.INFO: TCP Data received {"connection_id":143786,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 08:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143786,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 08:58:25] local.INFO: Processing buffer {"connection_id":143786,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 08:58:25] local.INFO: IMEI packet received {"connection_id":143786,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 08:58:25] local.INFO: IMEI acknowledgment sent {"connection_id":143786,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:58:26] local.INFO: TCP Data received {"connection_id":143786,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa19a2288012d19ac0007208468003600c021..."} 
[2026-07-27 08:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa19a2288012d19ac0007208468003600c021..."} 
[2026-07-27 08:58:26] local.INFO: Processing buffer {"connection_id":143786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa19a2288012d19ac0007208468003600c021..."} 
[2026-07-27 08:58:26] local.INFO: Packet analysis {"connection_id":143786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa19a"} 
[2026-07-27 08:58:26] local.INFO: Extracted packet for processing {"connection_id":143786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa19a"} 
[2026-07-27 08:58:26] local.INFO: GPS Element Parsed {"raw_longitude":756657152,"raw_latitude":119571560,"longitude_deg":75.6657152,"latitude_deg":11.957156,"altitude":54,"angle":192,"satellites":33,"speed":0,"hex_longitude":"2d19ac00","hex_latitude":"07208468","is_valid_coordinates":true} 
[2026-07-27 08:58:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:58:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991396096001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:58:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8754698127409152,"note":"Value kept but may cause issues"} 
[2026-07-27 08:58:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850064683785285632,"note":"Value kept but may cause issues"} 
[2026-07-27 08:58:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:58:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785122661000,"timestamp_ms":1785122661000,"timestamp_seconds":1785122661,"priority":1,"record_length":96,"hex_timestamp":"0000019fa19a2288"} 
[2026-07-27 08:58:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:58:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5376,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08:58:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-07-27 08:58:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:58:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:58:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:58:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:58:26] local.INFO: Teltonika packet parsed successfully {"connection_id":143786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:58:26] local.INFO: Passing IMEI to GPS processor {"connection_id":143786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 08:58:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":143786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 08:58:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:58:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 08:58:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 08:58:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991396096001,"66":12667,"103":206,"83":41984,"24":0,"16":8754698127409152,"45":1850064683785285632},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-27 08:58:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 08:58:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 08:58:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991396096001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:58:26] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-27 08:58:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-27 08:58:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8754698127409152,"km_value":8754698127409.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:58:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850064683785285632,"description":"Unknown IO ID 45"} 
[2026-07-27 08:58:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991396096001,"power":12667,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1850064683785285632}} 
[2026-07-27 08:58:27] local.INFO: DEBUG: GPS processor result {"connection_id":143786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552124,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:58:27] local.INFO: GPS data processed {"connection_id":143786,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:58:27] local.INFO: Acknowledgment sent {"connection_id":143786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:58:33] local.INFO: TCP Data received {"connection_id":145109,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:58:33] local.INFO: Processing buffer {"connection_id":145109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:58:33] local.INFO: IMEI packet received {"connection_id":145109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 08:58:33] local.INFO: IMEI acknowledgment sent {"connection_id":145109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:58:38] local.INFO: TCP Data received {"connection_id":145109,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:58:38] local.INFO: Processing buffer {"connection_id":145109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:58:38] local.INFO: IMEI packet received {"connection_id":145109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 08:58:38] local.INFO: IMEI acknowledgment sent {"connection_id":145109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:58:38] local.INFO: TCP Data received {"connection_id":145109,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fa19ab310012d7f930005afdaf00009011229..."} 
[2026-07-27 08:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145109,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa19ab310012d7f930005afdaf00009011229..."} 
[2026-07-27 08:58:38] local.INFO: Processing buffer {"connection_id":145109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa19ab310012d7f930005afdaf00009011229..."} 
[2026-07-27 08:58:38] local.INFO: Packet analysis {"connection_id":145109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa19a"} 
[2026-07-27 08:58:38] local.INFO: Extracted packet for processing {"connection_id":145109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa19a"} 
[2026-07-27 08:58:38] local.INFO: GPS Element Parsed {"raw_longitude":763335424,"raw_latitude":95410928,"longitude_deg":76.3335424,"latitude_deg":9.5410928,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7f9300","hex_latitude":"05afdaf0","is_valid_coordinates":true} 
[2026-07-27 08:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:58:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991333632001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:58:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826040631492608,"note":"Value kept but may cause issues"} 
[2026-07-27 08:58:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192691288818511872,"note":"Value kept but may cause issues"} 
[2026-07-27 08:58:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:58:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785122698000,"timestamp_ms":1785122698000,"timestamp_seconds":1785122698,"priority":1,"record_length":96,"hex_timestamp":"0000019fa19ab310"} 
[2026-07-27 08:58:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:58:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 08:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-27 08:58:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:58:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:58:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:58:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:58:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:58:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:58:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:58:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:58:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:58:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:58:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991333632001,"66":25495,"250":206,"85":12544,"24":0,"16":358826040631492608,"45":9192691288818511872},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 08:58:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:58:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:58:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991333632001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:58:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 08:58:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:58:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826040631492608,"km_value":358826040631492.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:58:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192691288818511872,"description":"Unknown IO ID 45"} 
[2026-07-27 08:58:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991333632001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192691288818511872}} 
[2026-07-27 08:58:38] local.INFO: DEBUG: GPS processor result {"connection_id":145109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:58:38] local.INFO: GPS data processed {"connection_id":145109,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:58:38] local.INFO: Acknowledgment sent {"connection_id":145109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:58:40] local.INFO: TCP Data received {"connection_id":142810,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142810,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:58:40] local.INFO: Processing buffer {"connection_id":142810,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:58:40] local.INFO: IMEI packet received {"connection_id":142810,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 08:58:40] local.INFO: IMEI acknowledgment sent {"connection_id":142810,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:58:40] local.INFO: TCP Data received {"connection_id":142810,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142810,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:58:40] local.INFO: Processing buffer {"connection_id":142810,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:58:40] local.INFO: IMEI packet received {"connection_id":142810,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 08:58:40] local.INFO: IMEI acknowledgment sent {"connection_id":142810,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:58:45] local.INFO: TCP Data received {"connection_id":142810,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142810,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:58:45] local.INFO: Processing buffer {"connection_id":142810,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:58:45] local.INFO: IMEI packet received {"connection_id":142810,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 08:58:45] local.INFO: IMEI acknowledgment sent {"connection_id":142810,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:58:46] local.INFO: TCP Data received {"connection_id":142810,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa19db880012d0c7f00070777080016013322..."} 
[2026-07-27 08:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa19db880012d0c7f00070777080016013322..."} 
[2026-07-27 08:58:46] local.INFO: Processing buffer {"connection_id":142810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa19db880012d0c7f00070777080016013322..."} 
[2026-07-27 08:58:46] local.INFO: Packet analysis {"connection_id":142810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa19d"} 
[2026-07-27 08:58:46] local.INFO: Extracted packet for processing {"connection_id":142810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa19d"} 
[2026-07-27 08:58:46] local.INFO: GPS Element Parsed {"raw_longitude":755793664,"raw_latitude":117929736,"longitude_deg":75.5793664,"latitude_deg":11.7929736,"altitude":22,"angle":307,"satellites":34,"speed":12,"hex_longitude":"2d0c7f00","hex_latitude":"07077708","is_valid_coordinates":true} 
[2026-07-27 08:58:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:58:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991460864001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:58:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25816691933970432,"note":"Value kept but may cause issues"} 
[2026-07-27 08:58:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":900860693152374784,"note":"Value kept but may cause issues"} 
[2026-07-27 08:58:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:58:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785122896000,"timestamp_ms":1785122896000,"timestamp_seconds":1785122896,"priority":1,"record_length":96,"hex_timestamp":"0000019fa19db880"} 
[2026-07-27 08:58:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:58:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08:58:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-27 08:58:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:58:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:58:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:58:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:58:46] local.INFO: Teltonika packet parsed successfully {"connection_id":142810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:58:46] local.INFO: Passing IMEI to GPS processor {"connection_id":142810,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:58:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":142810,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:58:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:58:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 08:58:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 08:58:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991460864001,"66":14396,"221":206,"94":10240,"24":12,"16":25816691933970432,"45":900860693152374784},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-07-27 08:58:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 08:58:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 08:58:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991460864001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:58:46] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-27 08:58:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 08:58:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25816691933970432,"km_value":25816691933970.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:58:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":900860693152374784,"description":"Unknown IO ID 45"} 
[2026-07-27 08:58:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991460864001,"power":14396,"unknown_221":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":900860693152374784}} 
[2026-07-27 08:58:46] local.INFO: DEBUG: GPS processor result {"connection_id":142810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552126,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:58:46] local.INFO: GPS data processed {"connection_id":142810,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:58:46] local.INFO: Acknowledgment sent {"connection_id":142810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:58:58] local.INFO: TCP Data received {"connection_id":143786,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa19a70a8012d19abc007208480003500c021..."} 
[2026-07-27 08:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa19a70a8012d19abc007208480003500c021..."} 
[2026-07-27 08:58:58] local.INFO: Processing buffer {"connection_id":143786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa19a70a8012d19abc007208480003500c021..."} 
[2026-07-27 08:58:58] local.INFO: Packet analysis {"connection_id":143786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa19a"} 
[2026-07-27 08:58:58] local.INFO: Extracted packet for processing {"connection_id":143786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa19a"} 
[2026-07-27 08:58:58] local.INFO: GPS Element Parsed {"raw_longitude":756657088,"raw_latitude":119571584,"longitude_deg":75.6657088,"latitude_deg":11.9571584,"altitude":53,"angle":192,"satellites":33,"speed":0,"hex_longitude":"2d19abc0","hex_latitude":"07208480","is_valid_coordinates":true} 
[2026-07-27 08:58:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:58:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991401216001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:58:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8754706717343744,"note":"Value kept but may cause issues"} 
[2026-07-27 08:58:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1849853577552750592,"note":"Value kept but may cause issues"} 
[2026-07-27 08:58:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:58:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785122681000,"timestamp_ms":1785122681000,"timestamp_seconds":1785122681,"priority":1,"record_length":96,"hex_timestamp":"0000019fa19a70a8"} 
[2026-07-27 08:58:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:58:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5632,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08:58:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-07-27 08:58:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:58:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:58:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:58:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:58:58] local.INFO: Teltonika packet parsed successfully {"connection_id":143786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:58:58] local.INFO: Passing IMEI to GPS processor {"connection_id":143786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 08:58:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":143786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 08:58:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:58:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 08:58:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 08:58:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991401216001,"66":12613,"103":206,"83":41984,"24":0,"16":8754706717343744,"45":1849853577552750592},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-27 08:58:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 08:58:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 08:58:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991401216001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:58:58] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-27 08:58:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-27 08:58:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8754706717343744,"km_value":8754706717343.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:58:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1849853577552750592,"description":"Unknown IO ID 45"} 
[2026-07-27 08:58:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991401216001,"power":12613,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1849853577552750592}} 
[2026-07-27 08:58:58] local.INFO: DEBUG: GPS processor result {"connection_id":143786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552127,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:58:58] local.INFO: GPS data processed {"connection_id":143786,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:58:58] local.INFO: Acknowledgment sent {"connection_id":143786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:59:09] local.INFO: TCP Data received {"connection_id":145109,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fa19ab310012d7f930005afdaf00009011229..."} 
[2026-07-27 08:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145109,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa19ab310012d7f930005afdaf00009011229..."} 
[2026-07-27 08:59:09] local.INFO: Processing buffer {"connection_id":145109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa19ab310012d7f930005afdaf00009011229..."} 
[2026-07-27 08:59:09] local.INFO: Packet analysis {"connection_id":145109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa19a"} 
[2026-07-27 08:59:09] local.INFO: Extracted packet for processing {"connection_id":145109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa19a"} 
[2026-07-27 08:59:09] local.INFO: GPS Element Parsed {"raw_longitude":763335424,"raw_latitude":95410928,"longitude_deg":76.3335424,"latitude_deg":9.5410928,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7f9300","hex_latitude":"05afdaf0","is_valid_coordinates":true} 
[2026-07-27 08:59:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:59:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991333632001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:59:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826040631492608,"note":"Value kept but may cause issues"} 
[2026-07-27 08:59:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192691288818511872,"note":"Value kept but may cause issues"} 
[2026-07-27 08:59:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:59:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785122698000,"timestamp_ms":1785122698000,"timestamp_seconds":1785122698,"priority":1,"record_length":96,"hex_timestamp":"0000019fa19ab310"} 
[2026-07-27 08:59:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:59:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 08: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":205,"data_length":795,"current_offset":136} 
[2026-07-27 08:59:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:59:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:59:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:59:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:59:09] local.INFO: Teltonika packet parsed successfully {"connection_id":145109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:59:09] local.INFO: Passing IMEI to GPS processor {"connection_id":145109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:59:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":145109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:59:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:59:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:59:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:59:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991333632001,"66":25495,"250":206,"85":12544,"24":0,"16":358826040631492608,"45":9192691288818511872},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 08:59:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:59:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:59:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991333632001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:59:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 08:59:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:59:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826040631492608,"km_value":358826040631492.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:59:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192691288818511872,"description":"Unknown IO ID 45"} 
[2026-07-27 08:59:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991333632001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192691288818511872}} 
[2026-07-27 08:59:09] local.INFO: DEBUG: GPS processor result {"connection_id":145109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:59:09] local.INFO: GPS data processed {"connection_id":145109,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:59:09] local.INFO: Acknowledgment sent {"connection_id":145109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:59:15] local.INFO: TCP Data received {"connection_id":143787,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 08:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143787,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 08:59:15] local.INFO: Processing buffer {"connection_id":143787,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 08:59:15] local.INFO: IMEI packet received {"connection_id":143787,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 08:59:15] local.INFO: IMEI acknowledgment sent {"connection_id":143787,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:59:18] local.INFO: TCP Data received {"connection_id":142810,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa19dc050012d0c7cc0070778180017012022..."} 
[2026-07-27 08:59:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa19dc050012d0c7cc0070778180017012022..."} 
[2026-07-27 08:59:18] local.INFO: Processing buffer {"connection_id":142810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa19dc050012d0c7cc0070778180017012022..."} 
[2026-07-27 08:59:18] local.INFO: Packet analysis {"connection_id":142810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa19d"} 
[2026-07-27 08:59:18] local.INFO: Extracted packet for processing {"connection_id":142810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa19d"} 
[2026-07-27 08:59:18] local.INFO: GPS Element Parsed {"raw_longitude":755793088,"raw_latitude":117930008,"longitude_deg":75.5793088,"latitude_deg":11.7930008,"altitude":23,"angle":288,"satellites":34,"speed":13,"hex_longitude":"2d0c7cc0","hex_latitude":"07077818","is_valid_coordinates":true} 
[2026-07-27 08: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-07-27 08:59:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991461376001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:59:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25816721998741504,"note":"Value kept but may cause issues"} 
[2026-07-27 08:59:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":900438480687400960,"note":"Value kept but may cause issues"} 
[2026-07-27 08:59:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:59:18] local.INFO: AVL Record Parsed {"raw_timestamp":1785122898000,"timestamp_ms":1785122898000,"timestamp_seconds":1785122898,"priority":1,"record_length":96,"hex_timestamp":"0000019fa19dc050"} 
[2026-07-27 08:59:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:59:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-27 08:59: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-07-27 08: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-07-27 08:59:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:59:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:59:18] local.INFO: Teltonika packet parsed successfully {"connection_id":142810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:59:18] local.INFO: Passing IMEI to GPS processor {"connection_id":142810,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:59:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":142810,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:59:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:59:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 08:59:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 08:59:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991461376001,"66":14102,"221":206,"94":10240,"24":13,"16":25816721998741504,"45":900438480687400960},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-07-27 08:59:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 08:59:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 08:59:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991461376001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:59:18] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-27 08:59:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 08:59:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25816721998741504,"km_value":25816721998741.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:59:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":900438480687400960,"description":"Unknown IO ID 45"} 
[2026-07-27 08:59:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991461376001,"power":14102,"unknown_221":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":900438480687400960}} 
[2026-07-27 08:59:18] local.INFO: DEBUG: GPS processor result {"connection_id":142810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552129,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:59:18] local.INFO: GPS data processed {"connection_id":142810,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:59:18] local.INFO: Acknowledgment sent {"connection_id":142810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:59:30] local.INFO: TCP Data received {"connection_id":143786,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa19ac698012d19ac00072084c8003600c022..."} 
[2026-07-27 08:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa19ac698012d19ac00072084c8003600c022..."} 
[2026-07-27 08:59:30] local.INFO: Processing buffer {"connection_id":143786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa19ac698012d19ac00072084c8003600c022..."} 
[2026-07-27 08:59:30] local.INFO: Packet analysis {"connection_id":143786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa19a"} 
[2026-07-27 08:59:30] local.INFO: Extracted packet for processing {"connection_id":143786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa19a"} 
[2026-07-27 08:59:30] local.INFO: GPS Element Parsed {"raw_longitude":756657152,"raw_latitude":119571656,"longitude_deg":75.6657152,"latitude_deg":11.9571656,"altitude":54,"angle":192,"satellites":34,"speed":0,"hex_longitude":"2d19ac00","hex_latitude":"072084c8","is_valid_coordinates":true} 
[2026-07-27 08:59:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:59:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991406336001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:59:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8754715307278336,"note":"Value kept but may cause issues"} 
[2026-07-27 08:59:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1849783208808579072,"note":"Value kept but may cause issues"} 
[2026-07-27 08:59:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:59:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785122703000,"timestamp_ms":1785122703000,"timestamp_seconds":1785122703,"priority":1,"record_length":96,"hex_timestamp":"0000019fa19ac698"} 
[2026-07-27 08:59:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:59:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5888,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08:59:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-27 08:59:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:59:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:59:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:59:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:59:30] local.INFO: Teltonika packet parsed successfully {"connection_id":143786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:59:30] local.INFO: Passing IMEI to GPS processor {"connection_id":143786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 08:59:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":143786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 08:59:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:59:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 08:59:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 08:59:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991406336001,"66":12580,"103":206,"83":41984,"24":0,"16":8754715307278336,"45":1849783208808579072},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-27 08:59:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 08:59:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 08:59:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991406336001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:59:30] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-27 08:59:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-27 08:59:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8754715307278336,"km_value":8754715307278.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:59:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1849783208808579072,"description":"Unknown IO ID 45"} 
[2026-07-27 08:59:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991406336001,"power":12580,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1849783208808579072}} 
[2026-07-27 08:59:30] local.INFO: DEBUG: GPS processor result {"connection_id":143786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552130,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:59:30] local.INFO: GPS data processed {"connection_id":143786,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:59:30] local.INFO: Acknowledgment sent {"connection_id":143786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:59:32] local.INFO: TCP Data received {"connection_id":145111,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:59:32] local.INFO: Processing buffer {"connection_id":145111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:59:32] local.INFO: IMEI packet received {"connection_id":145111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 08:59:32] local.INFO: IMEI acknowledgment sent {"connection_id":145111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:59:35] local.INFO: TCP Data received {"connection_id":145112,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145112,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:59:35] local.INFO: Processing buffer {"connection_id":145112,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:59:35] local.INFO: IMEI packet received {"connection_id":145112,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 08:59:35] local.INFO: IMEI acknowledgment sent {"connection_id":145112,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:59:38] local.INFO: TCP Data received {"connection_id":145111,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:59:38] local.INFO: Processing buffer {"connection_id":145111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 08:59:38] local.INFO: IMEI packet received {"connection_id":145111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 08:59:38] local.INFO: IMEI acknowledgment sent {"connection_id":145111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:59:38] local.INFO: TCP Data received {"connection_id":145111,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fa19ab310012d7f930005afdaf00009011229..."} 
[2026-07-27 08:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145111,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa19ab310012d7f930005afdaf00009011229..."} 
[2026-07-27 08:59:38] local.INFO: Processing buffer {"connection_id":145111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa19ab310012d7f930005afdaf00009011229..."} 
[2026-07-27 08:59:38] local.INFO: Packet analysis {"connection_id":145111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa19a"} 
[2026-07-27 08:59:38] local.INFO: Extracted packet for processing {"connection_id":145111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa19a"} 
[2026-07-27 08:59:38] local.INFO: GPS Element Parsed {"raw_longitude":763335424,"raw_latitude":95410928,"longitude_deg":76.3335424,"latitude_deg":9.5410928,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7f9300","hex_latitude":"05afdaf0","is_valid_coordinates":true} 
[2026-07-27 08:59:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:59:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991333632001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:59:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826040631492608,"note":"Value kept but may cause issues"} 
[2026-07-27 08:59:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192691288818511872,"note":"Value kept but may cause issues"} 
[2026-07-27 08:59:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:59:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785122698000,"timestamp_ms":1785122698000,"timestamp_seconds":1785122698,"priority":1,"record_length":96,"hex_timestamp":"0000019fa19ab310"} 
[2026-07-27 08:59:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:59:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 08:59:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-27 08:59:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 08:59:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 08:59:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:59:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:59:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:59:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:59:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 08:59:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:59:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 08:59:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 08:59:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991333632001,"66":25495,"250":206,"85":12544,"24":0,"16":358826040631492608,"45":9192691288818511872},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 08:59:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 08:59:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 08:59:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991333632001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:59:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 08:59:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 08:59:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826040631492608,"km_value":358826040631492.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:59:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192691288818511872,"description":"Unknown IO ID 45"} 
[2026-07-27 08:59:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991333632001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192691288818511872}} 
[2026-07-27 08:59:38] local.INFO: DEBUG: GPS processor result {"connection_id":145111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:59:38] local.INFO: GPS data processed {"connection_id":145111,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:59:38] local.INFO: Acknowledgment sent {"connection_id":145111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:59:40] local.INFO: TCP Data received {"connection_id":142688,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142688,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:59:40] local.INFO: Processing buffer {"connection_id":142688,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:59:40] local.INFO: IMEI packet received {"connection_id":142688,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 08:59:40] local.INFO: IMEI acknowledgment sent {"connection_id":142688,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 08:59:40] local.INFO: TCP Data received {"connection_id":145112,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145112,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:59:40] local.INFO: Processing buffer {"connection_id":145112,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 08:59:40] local.INFO: IMEI packet received {"connection_id":145112,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 08:59:40] local.INFO: IMEI acknowledgment sent {"connection_id":145112,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:59:40] local.INFO: TCP Data received {"connection_id":142688,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142688,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:59:40] local.INFO: Processing buffer {"connection_id":142688,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:59:40] local.INFO: IMEI packet received {"connection_id":142688,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 08:59:40] local.INFO: IMEI acknowledgment sent {"connection_id":142688,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:59:41] local.INFO: TCP Data received {"connection_id":145112,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa19cce20012d7a5d8005eb9738000c004c29..."} 
[2026-07-27 08:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145112,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa19cce20012d7a5d8005eb9738000c004c29..."} 
[2026-07-27 08:59:41] local.INFO: Processing buffer {"connection_id":145112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa19cce20012d7a5d8005eb9738000c004c29..."} 
[2026-07-27 08:59:41] local.INFO: Packet analysis {"connection_id":145112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa19c"} 
[2026-07-27 08:59:41] local.INFO: Extracted packet for processing {"connection_id":145112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa19c"} 
[2026-07-27 08:59:41] local.INFO: GPS Element Parsed {"raw_longitude":762994048,"raw_latitude":99325752,"longitude_deg":76.2994048,"latitude_deg":9.9325752,"altitude":12,"angle":76,"satellites":41,"speed":24,"hex_longitude":"2d7a5d80","hex_latitude":"05eb9738","is_valid_coordinates":true} 
[2026-07-27 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-07-27 08:59:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991445504001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:59:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111578208058474496,"note":"Value kept but may cause issues"} 
[2026-07-27 08:59:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8816148139725975552,"note":"Value kept but may cause issues"} 
[2026-07-27 08:59:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:59:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785122836000,"timestamp_ms":1785122836000,"timestamp_seconds":1785122836,"priority":1,"record_length":96,"hex_timestamp":"0000019fa19cce20"} 
[2026-07-27 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-07-27 08:59:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-27 08:59:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 08:59:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:59:41] local.INFO: Teltonika packet parsed successfully {"connection_id":145112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:59:41] local.INFO: Passing IMEI to GPS processor {"connection_id":145112,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:59:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":145112,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 08:59:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:59:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 08:59:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 08:59:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991445504001,"66":12798,"163":206,"87":13824,"24":24,"16":111578208058474496,"45":8816148139725975552},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-07-27 08:59:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 08:59:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 08:59:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991445504001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:59:41] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-27 08:59:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 08:59:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111578208058474496,"km_value":111578208058474.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:59:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8816148139725975552,"description":"Unknown IO ID 45"} 
[2026-07-27 08:59:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991445504001,"power":12798,"unknown_163":206,"unknown_87":13824,"ignition":24,"odometer":null,"unknown_45":8816148139725975552}} 
[2026-07-27 08:59:41] local.INFO: DEBUG: GPS processor result {"connection_id":145112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552132,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:59:41] local.INFO: GPS data processed {"connection_id":145112,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:59:41] local.INFO: Acknowledgment sent {"connection_id":145112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:59:41] local.INFO: TCP Data received {"connection_id":142688,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142688,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:59:41] local.INFO: Processing buffer {"connection_id":142688,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:59:41] local.INFO: IMEI packet received {"connection_id":142688,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 08:59:41] local.INFO: IMEI acknowledgment sent {"connection_id":142688,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:59:42] local.INFO: TCP Data received {"connection_id":142688,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142688,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:59:42] local.INFO: Processing buffer {"connection_id":142688,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 08:59:42] local.INFO: IMEI packet received {"connection_id":142688,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 08:59:42] local.INFO: IMEI acknowledgment sent {"connection_id":142688,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 08:59:43] local.INFO: TCP Data received {"connection_id":142688,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa19ea2e0012d0c0880070750980015010a21..."} 
[2026-07-27 08:59:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa19ea2e0012d0c0880070750980015010a21..."} 
[2026-07-27 08:59:43] local.INFO: Processing buffer {"connection_id":142688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa19ea2e0012d0c0880070750980015010a21..."} 
[2026-07-27 08:59:43] local.INFO: Packet analysis {"connection_id":142688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa19e"} 
[2026-07-27 08:59:43] local.INFO: Extracted packet for processing {"connection_id":142688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa19e"} 
[2026-07-27 08:59:43] local.INFO: GPS Element Parsed {"raw_longitude":755763328,"raw_latitude":117919896,"longitude_deg":75.5763328,"latitude_deg":11.7919896,"altitude":21,"angle":266,"satellites":33,"speed":33,"hex_longitude":"2d0c0880","hex_latitude":"07075098","is_valid_coordinates":true} 
[2026-07-27 08:59:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 08:59:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991473920001,"note":"Value kept but may cause issues"} 
[2026-07-27 08:59:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25818461460496384,"note":"Value kept but may cause issues"} 
[2026-07-27 08:59:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":877287163850717184,"note":"Value kept but may cause issues"} 
[2026-07-27 08:59:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 08:59:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785122956000,"timestamp_ms":1785122956000,"timestamp_seconds":1785122956,"priority":1,"record_length":96,"hex_timestamp":"0000019fa19ea2e0"} 
[2026-07-27 08:59:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 08:59:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 08: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-07-27 08:59:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751537080,"note":"Value kept but may cause issues"} 
[2026-07-27 08:59:43] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-27 08:59:43] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2711497160,"note":"Value kept but may cause issues"} 
[2026-07-27 08:59:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2952867084,"note":"Value kept but may cause issues"} 
[2026-07-27 08:59:43] local.WARNING: Large IO value detected {"io_id":1,"raw_value":946037551343337482,"note":"Value kept but may cause issues"} 
[2026-07-27 08:59:43] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-27 08:59:43] local.WARNING: Large IO value detected {"io_id":161,"raw_value":2654306305,"note":"Value kept but may cause issues"} 
[2026-07-27 08:59:43] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639410753777629,"note":"Value kept but may cause issues"} 
[2026-07-27 08:59:43] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":803012814,"corrected_to":0} 
[2026-07-27 08:59:43] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3657485615,"note":"Value kept but may cause issues"} 
[2026-07-27 08:59:43] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-07-27 08:59:43] local.WARNING: Large IO value detected {"io_id":91,"raw_value":3102932992,"note":"Value kept but may cause issues"} 
[2026-07-27 08:59:43] local.WARNING: Large IO value detected {"io_id":12,"raw_value":5350284085929443349,"note":"Value kept but may cause issues"} 
[2026-07-27 08:59:43] local.WARNING: Large IO value detected {"io_id":56,"raw_value":7422157791361551966,"note":"Value kept but may cause issues"} 
[2026-07-27 08:59:43] local.WARNING: Large IO value detected {"io_id":40,"raw_value":6755554060009713,"note":"Value kept but may cause issues"} 
[2026-07-27 08:59:43] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,221,94,24,241,157,16,185,159,112,45,64,86,22,34,10,66,108,87,100,192,1,240,114,227,161,7,4,113,205,5,55,33,239,2,91,21,11,12,56,40],"length":577,"final_offset":707,"validated_count":41,"validation_warnings":[{"io_id":205,"original":803012814,"validated":0}]} 
[2026-07-27 08:59:43] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1513489996292161536,"timestamp_seconds":1513489996292161.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 08:59:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 08:59:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 08:59:43] local.INFO: Teltonika packet parsed successfully {"connection_id":142688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 08:59:43] local.INFO: Passing IMEI to GPS processor {"connection_id":142688,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:59:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":142688,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 08:59:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 08:59:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 08:59:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 08:59:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991473920001,"66":14374,"221":206,"94":10240,"24":33,"16":25818461460496384,"45":877287163850717184},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-07-27 08:59:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 08:59:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 08:59:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991473920001,"description":"Unknown IO ID 0"} 
[2026-07-27 08:59:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-27 08:59:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 08:59:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25818461460496384,"km_value":25818461460496.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 08:59:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":877287163850717184,"description":"Unknown IO ID 45"} 
[2026-07-27 08:59:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991473920001,"power":14374,"unknown_221":206,"unknown_94":10240,"ignition":33,"odometer":null,"unknown_45":877287163850717184}} 
[2026-07-27 08:59:43] local.INFO: DEBUG: GPS processor result {"connection_id":142688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552133,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 08:59:43] local.INFO: GPS data processed {"connection_id":142688,"processed":1,"errors":0,"total":1} 
[2026-07-27 08:59:43] local.INFO: Acknowledgment sent {"connection_id":142688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 08:59:45] local.INFO: TCP Data received {"connection_id":145113,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 08:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145113,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 08:59:45] local.INFO: Processing buffer {"connection_id":145113,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 08:59:45] local.INFO: IMEI packet received {"connection_id":145113,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 08:59:45] local.INFO: IMEI acknowledgment sent {"connection_id":145113,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:00:01] local.INFO: TCP Data received {"connection_id":143786,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa19e4908012d19ad8007208508003700c025..."} 
[2026-07-27 09:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa19e4908012d19ad8007208508003700c025..."} 
[2026-07-27 09:00:01] local.INFO: Processing buffer {"connection_id":143786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa19e4908012d19ad8007208508003700c025..."} 
[2026-07-27 09:00:01] local.INFO: Packet analysis {"connection_id":143786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa19e"} 
[2026-07-27 09:00:01] local.INFO: Extracted packet for processing {"connection_id":143786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa19e"} 
[2026-07-27 09:00:01] local.INFO: GPS Element Parsed {"raw_longitude":756657536,"raw_latitude":119571720,"longitude_deg":75.6657536,"latitude_deg":11.957172,"altitude":55,"angle":192,"satellites":37,"speed":0,"hex_longitude":"2d19ad80","hex_latitude":"07208508","is_valid_coordinates":true} 
[2026-07-27 09:00:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:00:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991465984001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:00:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8754801206624256,"note":"Value kept but may cause issues"} 
[2026-07-27 09:00:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850275790017857536,"note":"Value kept but may cause issues"} 
[2026-07-27 09:00:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:00:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785122933000,"timestamp_ms":1785122933000,"timestamp_seconds":1785122933,"priority":1,"record_length":96,"hex_timestamp":"0000019fa19e4908"} 
[2026-07-27 09:00:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:00:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8192,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09:00:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-27 09:00:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-27 09:00:01] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168048982131200,"note":"Value kept but may cause issues"} 
[2026-07-27 09:00:01] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452319,"note":"Value kept but may cause issues"} 
[2026-07-27 09:00:01] local.WARNING: Large IO value detected {"io_id":26,"raw_value":7349874591868649473,"note":"Value kept but may cause issues"} 
[2026-07-27 09:00:01] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-6801600988354635347,"note":"Value kept but may cause issues"} 
[2026-07-27 09:00:01] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513556833088504000,"note":"Value kept but may cause issues"} 
[2026-07-27 09:00:01] local.WARNING: Large IO value detected {"io_id":54,"raw_value":54081678435418112,"note":"Value kept but may cause issues"} 
[2026-07-27 09:00:01] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832539,"note":"Value kept but may cause issues"} 
[2026-07-27 09:00:01] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3519563993141805262,"note":"Value kept but may cause issues"} 
[2026-07-27 09:00:01] local.WARNING: Large IO value detected {"io_id":161,"raw_value":2630498305,"note":"Value kept but may cause issues"} 
[2026-07-27 09:00:01] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2233466934,"note":"Value kept but may cause issues"} 
[2026-07-27 09:00:01] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-27 09:00:01] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3993030119,"note":"Value kept but may cause issues"} 
[2026-07-27 09:00:01] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,121,28,24,241,158,16,26,159,180,45,64,132,54,36,10,66,102,128,1,240,173,161,32,4,113,205,174,48,35,239,2,31,7],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-07-27 09:00:01] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3963378937232359424,"timestamp_seconds":3963378937232359.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 09:00:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:00:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:00:01] local.INFO: Teltonika packet parsed successfully {"connection_id":143786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:00:01] local.INFO: Passing IMEI to GPS processor {"connection_id":143786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:00:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":143786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:00:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:00:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 09:00:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 09:00:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991465984001,"66":11515,"121":206,"28":31744,"24":0,"16":8754801206624256,"45":1850275790017857536},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 09:00:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 09:00:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 09:00:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991465984001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:00:01] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 09:00:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 09:00:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8754801206624256,"km_value":8754801206624.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:00:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850275790017857536,"description":"Unknown IO ID 45"} 
[2026-07-27 09:00:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991465984001,"power":11515,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1850275790017857536}} 
[2026-07-27 09:00:01] local.INFO: DEBUG: GPS processor result {"connection_id":143786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552134,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:00:01] local.INFO: GPS data processed {"connection_id":143786,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:00:01] local.INFO: Acknowledgment sent {"connection_id":143786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:00:09] local.INFO: TCP Data received {"connection_id":145111,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fa19ab310012d7f930005afdaf00009011229..."} 
[2026-07-27 09:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145111,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa19ab310012d7f930005afdaf00009011229..."} 
[2026-07-27 09:00:09] local.INFO: Processing buffer {"connection_id":145111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa19ab310012d7f930005afdaf00009011229..."} 
[2026-07-27 09:00:09] local.INFO: Packet analysis {"connection_id":145111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa19a"} 
[2026-07-27 09:00:09] local.INFO: Extracted packet for processing {"connection_id":145111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa19a"} 
[2026-07-27 09:00:09] local.INFO: GPS Element Parsed {"raw_longitude":763335424,"raw_latitude":95410928,"longitude_deg":76.3335424,"latitude_deg":9.5410928,"altitude":9,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7f9300","hex_latitude":"05afdaf0","is_valid_coordinates":true} 
[2026-07-27 09:00:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:00:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991333632001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:00:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826040631492608,"note":"Value kept but may cause issues"} 
[2026-07-27 09:00:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192691288818511872,"note":"Value kept but may cause issues"} 
[2026-07-27 09:00:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:00:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785122698000,"timestamp_ms":1785122698000,"timestamp_seconds":1785122698,"priority":1,"record_length":96,"hex_timestamp":"0000019fa19ab310"} 
[2026-07-27 09:00:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:00:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:00:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-27 09:00:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:00:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:00:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:00:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:00:09] local.INFO: Teltonika packet parsed successfully {"connection_id":145111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:00:09] local.INFO: Passing IMEI to GPS processor {"connection_id":145111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:00:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":145111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:00:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:00:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:00:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:00:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991333632001,"66":25495,"250":206,"85":12544,"24":0,"16":358826040631492608,"45":9192691288818511872},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 09:00:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:00:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:00:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991333632001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:00:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 09:00:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:00:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826040631492608,"km_value":358826040631492.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:00:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192691288818511872,"description":"Unknown IO ID 45"} 
[2026-07-27 09:00:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991333632001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192691288818511872}} 
[2026-07-27 09:00:09] local.INFO: DEBUG: GPS processor result {"connection_id":145111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:00:09] local.INFO: GPS data processed {"connection_id":145111,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:00:09] local.INFO: Acknowledgment sent {"connection_id":145111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:00:12] local.INFO: TCP Data received {"connection_id":145112,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa19f1428012d7bf6c005ec3330001200532d..."} 
[2026-07-27 09:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145112,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa19f1428012d7bf6c005ec3330001200532d..."} 
[2026-07-27 09:00:12] local.INFO: Processing buffer {"connection_id":145112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa19f1428012d7bf6c005ec3330001200532d..."} 
[2026-07-27 09:00:12] local.INFO: Packet analysis {"connection_id":145112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa19f"} 
[2026-07-27 09:00:12] local.INFO: Extracted packet for processing {"connection_id":145112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa19f"} 
[2026-07-27 09:00:12] local.INFO: GPS Element Parsed {"raw_longitude":763098816,"raw_latitude":99365680,"longitude_deg":76.3098816,"latitude_deg":9.936568,"altitude":18,"angle":83,"satellites":45,"speed":22,"hex_longitude":"2d7bf6c0","hex_latitude":"05ec3330","is_valid_coordinates":true} 
[2026-07-27 09:00:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:00:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991480064001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:00:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111583589652496384,"note":"Value kept but may cause issues"} 
[2026-07-27 09:00:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8922686418420783104,"note":"Value kept but may cause issues"} 
[2026-07-27 09:00:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:00:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785122985000,"timestamp_ms":1785122985000,"timestamp_seconds":1785122985,"priority":1,"record_length":96,"hex_timestamp":"0000019fa19f1428"} 
[2026-07-27 09:00:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:00:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09:00:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-27 09:00:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:00:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:00:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:00:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:00:12] local.INFO: Teltonika packet parsed successfully {"connection_id":145112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:00:12] local.INFO: Passing IMEI to GPS processor {"connection_id":145112,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:00:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":145112,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:00:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:00:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 09:00:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 09:00:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991480064001,"66":13135,"196":206,"87":13824,"24":22,"16":111583589652496384,"45":8922686418420783104},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,87,24,16,45]} 
[2026-07-27 09:00:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 09:00:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 09:00:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991480064001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:00:12] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-07-27 09:00:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 09:00:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111583589652496384,"km_value":111583589652496.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:00:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8922686418420783104,"description":"Unknown IO ID 45"} 
[2026-07-27 09:00:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991480064001,"power":13135,"unknown_196":206,"unknown_87":13824,"ignition":22,"odometer":null,"unknown_45":8922686418420783104}} 
[2026-07-27 09:00:12] local.INFO: DEBUG: GPS processor result {"connection_id":145112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552136,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:00:12] local.INFO: GPS data processed {"connection_id":145112,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:00:12] local.INFO: Acknowledgment sent {"connection_id":145112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:00:15] local.INFO: TCP Data received {"connection_id":142688,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa19f46f0012d0bb180070718d0001200e321..."} 
[2026-07-27 09:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa19f46f0012d0bb180070718d0001200e321..."} 
[2026-07-27 09:00:15] local.INFO: Processing buffer {"connection_id":142688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa19f46f0012d0bb180070718d0001200e321..."} 
[2026-07-27 09:00:15] local.INFO: Packet analysis {"connection_id":142688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa19f"} 
[2026-07-27 09:00:15] local.INFO: Extracted packet for processing {"connection_id":142688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa19f"} 
[2026-07-27 09:00:15] local.INFO: GPS Element Parsed {"raw_longitude":755741056,"raw_latitude":117905616,"longitude_deg":75.5741056,"latitude_deg":11.7905616,"altitude":18,"angle":227,"satellites":33,"speed":21,"hex_longitude":"2d0bb180","hex_latitude":"070718d0","is_valid_coordinates":true} 
[2026-07-27 09:00:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:00:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991487232001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:00:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25820050598395904,"note":"Value kept but may cause issues"} 
[2026-07-27 09:00:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":843087954176530432,"note":"Value kept but may cause issues"} 
[2026-07-27 09:00:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:00:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785122998000,"timestamp_ms":1785122998000,"timestamp_seconds":1785122998,"priority":1,"record_length":96,"hex_timestamp":"0000019fa19f46f0"} 
[2026-07-27 09:00:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:00:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09:00:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-27 09:00:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:00:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:00:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:00:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:00:15] local.INFO: Teltonika packet parsed successfully {"connection_id":142688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:00:15] local.INFO: Passing IMEI to GPS processor {"connection_id":142688,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:00:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":142688,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:00:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:00:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 09:00:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 09:00:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991487232001,"66":14309,"163":206,"94":10240,"24":21,"16":25820050598395904,"45":843087954176530432},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-07-27 09:00:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 09:00:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 09:00:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991487232001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:00:15] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-27 09:00:15] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 09:00:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25820050598395904,"km_value":25820050598395.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:00:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":843087954176530432,"description":"Unknown IO ID 45"} 
[2026-07-27 09:00:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991487232001,"power":14309,"unknown_163":206,"unknown_94":10240,"ignition":21,"odometer":null,"unknown_45":843087954176530432}} 
[2026-07-27 09:00:15] local.INFO: DEBUG: GPS processor result {"connection_id":142688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552137,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:00:15] local.INFO: GPS data processed {"connection_id":142688,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:00:15] local.INFO: Acknowledgment sent {"connection_id":142688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:00:30] local.INFO: TCP Data received {"connection_id":143788,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143788,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:00:30] local.INFO: Processing buffer {"connection_id":143788,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:00:30] local.INFO: IMEI packet received {"connection_id":143788,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 09:00:30] local.INFO: IMEI acknowledgment sent {"connection_id":143788,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:00:30] local.INFO: TCP Data received {"connection_id":143789,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143789,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:00:30] local.INFO: Processing buffer {"connection_id":143789,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:00:30] local.INFO: IMEI packet received {"connection_id":143789,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 09:00:30] local.INFO: IMEI acknowledgment sent {"connection_id":143789,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:00:33] local.INFO: TCP Data received {"connection_id":143790,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:00:33] local.INFO: Processing buffer {"connection_id":143790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:00:33] local.INFO: IMEI packet received {"connection_id":143790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 09:00:33] local.INFO: IMEI acknowledgment sent {"connection_id":143790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:00:33] local.INFO: TCP Data received {"connection_id":143789,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143789,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:00:33] local.INFO: Processing buffer {"connection_id":143789,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:00:33] local.INFO: IMEI packet received {"connection_id":143789,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 09:00:33] local.INFO: IMEI acknowledgment sent {"connection_id":143789,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:00:34] local.INFO: TCP Data received {"connection_id":143789,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa19f46f0012d7c1b8005ec3588001200582d..."} 
[2026-07-27 09:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa19f46f0012d7c1b8005ec3588001200582d..."} 
[2026-07-27 09:00:34] local.INFO: Processing buffer {"connection_id":143789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa19f46f0012d7c1b8005ec3588001200582d..."} 
[2026-07-27 09:00:34] local.INFO: Packet analysis {"connection_id":143789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa19f"} 
[2026-07-27 09:00:34] local.INFO: Extracted packet for processing {"connection_id":143789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa19f"} 
[2026-07-27 09:00:34] local.INFO: GPS Element Parsed {"raw_longitude":763108224,"raw_latitude":99366280,"longitude_deg":76.3108224,"latitude_deg":9.936628,"altitude":18,"angle":88,"satellites":45,"speed":32,"hex_longitude":"2d7c1b80","hex_latitude":"05ec3588","is_valid_coordinates":true} 
[2026-07-27 09:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:00:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991484160001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:00:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111584040624062464,"note":"Value kept but may cause issues"} 
[2026-07-27 09:00:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8932538042606104576,"note":"Value kept but may cause issues"} 
[2026-07-27 09:00:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:00:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785122998000,"timestamp_ms":1785122998000,"timestamp_seconds":1785122998,"priority":1,"record_length":96,"hex_timestamp":"0000019fa19f46f0"} 
[2026-07-27 09:00:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:00:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-27 09:00:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:00:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:00:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:00:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:00:34] local.INFO: Teltonika packet parsed successfully {"connection_id":143789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:00:34] local.INFO: Passing IMEI to GPS processor {"connection_id":143789,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:00:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":143789,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:00:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:00:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 09:00:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 09:00:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991484160001,"66":13222,"196":206,"87":13824,"24":32,"16":111584040624062464,"45":8932538042606104576},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,87,24,16,45]} 
[2026-07-27 09:00:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 09:00:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 09:00:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991484160001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:00:34] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-07-27 09:00:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 09:00:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111584040624062464,"km_value":111584040624062.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:00:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8932538042606104576,"description":"Unknown IO ID 45"} 
[2026-07-27 09:00:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991484160001,"power":13222,"unknown_196":206,"unknown_87":13824,"ignition":32,"odometer":null,"unknown_45":8932538042606104576}} 
[2026-07-27 09:00:34] local.INFO: DEBUG: GPS processor result {"connection_id":143789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552138,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:00:34] local.INFO: GPS data processed {"connection_id":143789,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:00:34] local.INFO: Acknowledgment sent {"connection_id":143789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:00:35] local.INFO: TCP Data received {"connection_id":143788,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143788,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:00:35] local.INFO: Processing buffer {"connection_id":143788,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:00:35] local.INFO: IMEI packet received {"connection_id":143788,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 09:00:35] local.INFO: IMEI acknowledgment sent {"connection_id":143788,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:00:36] local.INFO: TCP Data received {"connection_id":143788,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa19e8f58012d19ae00072084e0003800c025..."} 
[2026-07-27 09:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa19e8f58012d19ae00072084e0003800c025..."} 
[2026-07-27 09:00:36] local.INFO: Processing buffer {"connection_id":143788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa19e8f58012d19ae00072084e0003800c025..."} 
[2026-07-27 09:00:36] local.INFO: Packet analysis {"connection_id":143788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa19e"} 
[2026-07-27 09:00:36] local.INFO: Extracted packet for processing {"connection_id":143788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa19e"} 
[2026-07-27 09:00:36] local.INFO: GPS Element Parsed {"raw_longitude":756657664,"raw_latitude":119571680,"longitude_deg":75.6657664,"latitude_deg":11.957168,"altitude":56,"angle":192,"satellites":37,"speed":0,"hex_longitude":"2d19ae00","hex_latitude":"072084e0","is_valid_coordinates":true} 
[2026-07-27 09:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:00:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991470848001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:00:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8754809796558848,"note":"Value kept but may cause issues"} 
[2026-07-27 09:00:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850275790017857536,"note":"Value kept but may cause issues"} 
[2026-07-27 09:00:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:00:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785122951000,"timestamp_ms":1785122951000,"timestamp_seconds":1785122951,"priority":1,"record_length":96,"hex_timestamp":"0000019fa19e8f58"} 
[2026-07-27 09:00:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:00:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8192,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":251,"data_length":795,"current_offset":136} 
[2026-07-27 09:00:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2677,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:00:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:00:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:00:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:00:36] local.INFO: Teltonika packet parsed successfully {"connection_id":143788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:00:36] local.INFO: Passing IMEI to GPS processor {"connection_id":143788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:00:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":143788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:00:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:00:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 09:00:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 09:00:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991470848001,"66":12428,"121":206,"28":31744,"24":0,"16":8754809796558848,"45":1850275790017857536},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 09:00:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 09:00:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 09:00:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991470848001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:00:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 09:00:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 09:00:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8754809796558848,"km_value":8754809796558.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:00:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850275790017857536,"description":"Unknown IO ID 45"} 
[2026-07-27 09:00:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991470848001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1850275790017857536}} 
[2026-07-27 09:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":143788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552139,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:00:37] local.INFO: GPS data processed {"connection_id":143788,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:00:37] local.INFO: Acknowledgment sent {"connection_id":143788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:00:38] local.INFO: TCP Data received {"connection_id":143790,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:00:38] local.INFO: Processing buffer {"connection_id":143790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:00:38] local.INFO: IMEI packet received {"connection_id":143790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 09:00:38] local.INFO: IMEI acknowledgment sent {"connection_id":143790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:00:38] local.INFO: TCP Data received {"connection_id":143790,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fa19f4ad8012d7f930005afdaf00007011229..."} 
[2026-07-27 09:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa19f4ad8012d7f930005afdaf00007011229..."} 
[2026-07-27 09:00:38] local.INFO: Processing buffer {"connection_id":143790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa19f4ad8012d7f930005afdaf00007011229..."} 
[2026-07-27 09:00:38] local.INFO: Packet analysis {"connection_id":143790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa19f"} 
[2026-07-27 09:00:38] local.INFO: Extracted packet for processing {"connection_id":143790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa19f"} 
[2026-07-27 09:00:38] local.INFO: GPS Element Parsed {"raw_longitude":763335424,"raw_latitude":95410928,"longitude_deg":76.3335424,"latitude_deg":9.5410928,"altitude":7,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7f9300","hex_latitude":"05afdaf0","is_valid_coordinates":true} 
[2026-07-27 09:00:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:00:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991410688001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:00:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826040631492608,"note":"Value kept but may cause issues"} 
[2026-07-27 09:00:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192691288818511872,"note":"Value kept but may cause issues"} 
[2026-07-27 09:00:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:00:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785122999000,"timestamp_ms":1785122999000,"timestamp_seconds":1785122999,"priority":1,"record_length":96,"hex_timestamp":"0000019fa19f4ad8"} 
[2026-07-27 09:00:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:00:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:00:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-27 09:00:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:00:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:00:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:00:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:00:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:00:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:00:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:00:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:00:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:00:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:00:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991410688001,"66":25473,"250":206,"85":12544,"24":0,"16":358826040631492608,"45":9192691288818511872},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 09:00:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:00:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:00:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991410688001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:00:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 09:00:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:00:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826040631492608,"km_value":358826040631492.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:00:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192691288818511872,"description":"Unknown IO ID 45"} 
[2026-07-27 09:00:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991410688001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192691288818511872}} 
[2026-07-27 09:00:38] local.INFO: DEBUG: GPS processor result {"connection_id":143790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:00:38] local.INFO: GPS data processed {"connection_id":143790,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:00:38] local.INFO: Acknowledgment sent {"connection_id":143790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:00:40] local.INFO: TCP Data received {"connection_id":142689,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142689,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:00:40] local.INFO: Processing buffer {"connection_id":142689,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:00:40] local.INFO: IMEI packet received {"connection_id":142689,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 09:00:40] local.INFO: IMEI acknowledgment sent {"connection_id":142689,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:00:42] local.INFO: TCP Data received {"connection_id":142689,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142689,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:00:42] local.INFO: Processing buffer {"connection_id":142689,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:00:42] local.INFO: IMEI packet received {"connection_id":142689,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 09:00:42] local.INFO: IMEI acknowledgment sent {"connection_id":142689,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:00:45] local.INFO: TCP Data received {"connection_id":142689,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142689,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:00:45] local.INFO: Processing buffer {"connection_id":142689,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:00:45] local.INFO: IMEI packet received {"connection_id":142689,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 09:00:45] local.INFO: IMEI acknowledgment sent {"connection_id":142689,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:00:46] local.INFO: TCP Data received {"connection_id":142689,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa19f4ad8012d0baf00070717e0001200f321..."} 
[2026-07-27 09:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa19f4ad8012d0baf00070717e0001200f321..."} 
[2026-07-27 09:00:46] local.INFO: Processing buffer {"connection_id":142689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa19f4ad8012d0baf00070717e0001200f321..."} 
[2026-07-27 09:00:46] local.INFO: Packet analysis {"connection_id":142689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa19f"} 
[2026-07-27 09:00:46] local.INFO: Extracted packet for processing {"connection_id":142689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa19f"} 
[2026-07-27 09:00:46] local.INFO: GPS Element Parsed {"raw_longitude":755740416,"raw_latitude":117905376,"longitude_deg":75.5740416,"latitude_deg":11.7905376,"altitude":18,"angle":243,"satellites":33,"speed":24,"hex_longitude":"2d0baf00","hex_latitude":"070717e0","is_valid_coordinates":true} 
[2026-07-27 09:00:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:00:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991487488001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:00:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25820080663166976,"note":"Value kept but may cause issues"} 
[2026-07-27 09:00:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":842595372967186432,"note":"Value kept but may cause issues"} 
[2026-07-27 09:00:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:00:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785122999000,"timestamp_ms":1785122999000,"timestamp_seconds":1785122999,"priority":1,"record_length":96,"hex_timestamp":"0000019fa19f4ad8"} 
[2026-07-27 09:00:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:00:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09: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":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-27 09:00:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2534,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:00:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:00:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:00:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:00:46] local.INFO: Teltonika packet parsed successfully {"connection_id":142689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:00:46] local.INFO: Passing IMEI to GPS processor {"connection_id":142689,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:00:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":142689,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:00:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:00:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 09:00:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 09:00:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991487488001,"66":14309,"163":206,"94":10240,"24":24,"16":25820080663166976,"45":842595372967186432},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-07-27 09:00:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 09:00:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 09:00:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991487488001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:00:46] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-27 09:00:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 09:00:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25820080663166976,"km_value":25820080663166.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:00:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":842595372967186432,"description":"Unknown IO ID 45"} 
[2026-07-27 09:00:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991487488001,"power":14309,"unknown_163":206,"unknown_94":10240,"ignition":24,"odometer":null,"unknown_45":842595372967186432}} 
[2026-07-27 09:00:46] local.INFO: DEBUG: GPS processor result {"connection_id":142689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552141,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:00:46] local.INFO: GPS data processed {"connection_id":142689,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:00:46] local.INFO: Acknowledgment sent {"connection_id":142689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:01:06] local.INFO: TCP Data received {"connection_id":143789,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa19f71e8012d7c3f0005ec36b0001200582d..."} 
[2026-07-27 09:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa19f71e8012d7c3f0005ec36b0001200582d..."} 
[2026-07-27 09:01:06] local.INFO: Processing buffer {"connection_id":143789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa19f71e8012d7c3f0005ec36b0001200582d..."} 
[2026-07-27 09:01:06] local.INFO: Packet analysis {"connection_id":143789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa19f"} 
[2026-07-27 09:01:06] local.INFO: Extracted packet for processing {"connection_id":143789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa19f"} 
[2026-07-27 09:01:06] local.INFO: GPS Element Parsed {"raw_longitude":763117312,"raw_latitude":99366576,"longitude_deg":76.3117312,"latitude_deg":9.9366576,"altitude":18,"angle":88,"satellites":45,"speed":34,"hex_longitude":"2d7c3f00","hex_latitude":"05ec36b0","is_valid_coordinates":true} 
[2026-07-27 09:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:01:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991487488001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:01:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111584474415759360,"note":"Value kept but may cause issues"} 
[2026-07-27 09:01:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8942882248000374784,"note":"Value kept but may cause issues"} 
[2026-07-27 09:01:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:01:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785123009000,"timestamp_ms":1785123009000,"timestamp_seconds":1785123009,"priority":1,"record_length":96,"hex_timestamp":"0000019fa19f71e8"} 
[2026-07-27 09:01:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:01:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-27 09:01:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:01:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:01:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:01:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:01:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:01:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143789,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:01:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143789,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:01:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:01:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 09:01:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 09:01:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991487488001,"66":13363,"196":206,"87":13824,"24":34,"16":111584474415759360,"45":8942882248000374784},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,87,24,16,45]} 
[2026-07-27 09:01:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 09:01:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 09:01:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991487488001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:01:06] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-07-27 09:01:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 09:01:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111584474415759360,"km_value":111584474415759.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:01:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8942882248000374784,"description":"Unknown IO ID 45"} 
[2026-07-27 09:01:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991487488001,"power":13363,"unknown_196":206,"unknown_87":13824,"ignition":34,"odometer":null,"unknown_45":8942882248000374784}} 
[2026-07-27 09:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":143789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552142,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:01:06] local.INFO: GPS data processed {"connection_id":143789,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:01:06] local.INFO: Acknowledgment sent {"connection_id":143789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:01:08] local.INFO: TCP Data received {"connection_id":143788,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa19ed990012d19ad80072084c0003800c025..."} 
[2026-07-27 09:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa19ed990012d19ad80072084c0003800c025..."} 
[2026-07-27 09:01:08] local.INFO: Processing buffer {"connection_id":143788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa19ed990012d19ad80072084c0003800c025..."} 
[2026-07-27 09:01:08] local.INFO: Packet analysis {"connection_id":143788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa19e"} 
[2026-07-27 09:01:08] local.INFO: Extracted packet for processing {"connection_id":143788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa19e"} 
[2026-07-27 09:01:08] local.INFO: GPS Element Parsed {"raw_longitude":756657536,"raw_latitude":119571648,"longitude_deg":75.6657536,"latitude_deg":11.9571648,"altitude":56,"angle":192,"satellites":37,"speed":0,"hex_longitude":"2d19ad80","hex_latitude":"072084c0","is_valid_coordinates":true} 
[2026-07-27 09:01:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:01:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991475456001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:01:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8754814091526144,"note":"Value kept but may cause issues"} 
[2026-07-27 09:01:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850416527506202624,"note":"Value kept but may cause issues"} 
[2026-07-27 09:01:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:01:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785122970000,"timestamp_ms":1785122970000,"timestamp_seconds":1785122970,"priority":1,"record_length":96,"hex_timestamp":"0000019fa19ed990"} 
[2026-07-27 09:01:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:01:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8448,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09:01:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-27 09:01:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:01:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:01:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:01:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:01:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:01:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:01:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:01:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:01:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 09:01:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 09:01:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991475456001,"66":12428,"121":206,"28":31744,"24":0,"16":8754814091526144,"45":1850416527506202624},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 09:01:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 09:01:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 09:01:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991475456001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:01:08] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 09:01:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 09:01:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8754814091526144,"km_value":8754814091526.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:01:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850416527506202624,"description":"Unknown IO ID 45"} 
[2026-07-27 09:01:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991475456001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1850416527506202624}} 
[2026-07-27 09:01:08] local.INFO: DEBUG: GPS processor result {"connection_id":143788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552143,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:01:08] local.INFO: GPS data processed {"connection_id":143788,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:01:08] local.INFO: Acknowledgment sent {"connection_id":143788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:01:09] local.INFO: TCP Data received {"connection_id":143790,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fa19f4ad8012d7f930005afdaf00007011229..."} 
[2026-07-27 09:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa19f4ad8012d7f930005afdaf00007011229..."} 
[2026-07-27 09:01:09] local.INFO: Processing buffer {"connection_id":143790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa19f4ad8012d7f930005afdaf00007011229..."} 
[2026-07-27 09:01:09] local.INFO: Packet analysis {"connection_id":143790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa19f"} 
[2026-07-27 09:01:09] local.INFO: Extracted packet for processing {"connection_id":143790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa19f"} 
[2026-07-27 09:01:09] local.INFO: GPS Element Parsed {"raw_longitude":763335424,"raw_latitude":95410928,"longitude_deg":76.3335424,"latitude_deg":9.5410928,"altitude":7,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7f9300","hex_latitude":"05afdaf0","is_valid_coordinates":true} 
[2026-07-27 09:01:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:01:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991410688001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:01:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826040631492608,"note":"Value kept but may cause issues"} 
[2026-07-27 09:01:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192691288818511872,"note":"Value kept but may cause issues"} 
[2026-07-27 09:01:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:01:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785122999000,"timestamp_ms":1785122999000,"timestamp_seconds":1785122999,"priority":1,"record_length":96,"hex_timestamp":"0000019fa19f4ad8"} 
[2026-07-27 09:01:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:01:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:01:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-27 09:01:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:01:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:01:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:01:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:01:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:01:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:01:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:01:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:01:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:01:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:01:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991410688001,"66":25473,"250":206,"85":12544,"24":0,"16":358826040631492608,"45":9192691288818511872},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 09:01:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:01:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:01:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991410688001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:01:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 09:01:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:01:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826040631492608,"km_value":358826040631492.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:01:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192691288818511872,"description":"Unknown IO ID 45"} 
[2026-07-27 09:01:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991410688001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192691288818511872}} 
[2026-07-27 09:01:09] local.INFO: DEBUG: GPS processor result {"connection_id":143790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:01:09] local.INFO: GPS data processed {"connection_id":143790,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:01:09] local.INFO: Acknowledgment sent {"connection_id":143790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:01:17] local.INFO: TCP Data received {"connection_id":142689,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1a06800012d0afb0007067af8000d00c722..."} 
[2026-07-27 09:01:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1a06800012d0afb0007067af8000d00c722..."} 
[2026-07-27 09:01:17] local.INFO: Processing buffer {"connection_id":142689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1a06800012d0afb0007067af8000d00c722..."} 
[2026-07-27 09:01:17] local.INFO: Packet analysis {"connection_id":142689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1a0"} 
[2026-07-27 09:01:17] local.INFO: Extracted packet for processing {"connection_id":142689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1a0"} 
[2026-07-27 09:01:17] local.INFO: GPS Element Parsed {"raw_longitude":755694336,"raw_latitude":117865208,"longitude_deg":75.5694336,"latitude_deg":11.7865208,"altitude":13,"angle":199,"satellites":34,"speed":25,"hex_longitude":"2d0afb00","hex_latitude":"07067af8","is_valid_coordinates":true} 
[2026-07-27 09:01:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:01:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991505920001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:01:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25823267528900608,"note":"Value kept but may cause issues"} 
[2026-07-27 09:01:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":791929877149255680,"note":"Value kept but may cause issues"} 
[2026-07-27 09:01:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:01:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785123072000,"timestamp_ms":1785123072000,"timestamp_seconds":1785123072,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1a06800"} 
[2026-07-27 09:01:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:01:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09:01: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":179,"data_length":795,"current_offset":136} 
[2026-07-27 09:01:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:01:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:01:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:01:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:01:17] local.INFO: Teltonika packet parsed successfully {"connection_id":142689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:01:17] local.INFO: Passing IMEI to GPS processor {"connection_id":142689,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:01:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":142689,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:01:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:01:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 09:01:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 09:01:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991505920001,"66":14396,"163":206,"94":10240,"24":25,"16":25823267528900608,"45":791929877149255680},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-07-27 09:01:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 09:01:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 09:01:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991505920001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:01:17] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-27 09:01:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 09:01:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25823267528900608,"km_value":25823267528900.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:01:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":791929877149255680,"description":"Unknown IO ID 45"} 
[2026-07-27 09:01:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991505920001,"power":14396,"unknown_163":206,"unknown_94":10240,"ignition":25,"odometer":null,"unknown_45":791929877149255680}} 
[2026-07-27 09:01:17] local.INFO: DEBUG: GPS processor result {"connection_id":142689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552145,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:01:17] local.INFO: GPS data processed {"connection_id":142689,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:01:17] local.INFO: Acknowledgment sent {"connection_id":142689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:01:30] local.INFO: TCP Data received {"connection_id":142812,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142812,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:01:30] local.INFO: Processing buffer {"connection_id":142812,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:01:30] local.INFO: IMEI packet received {"connection_id":142812,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 09:01:30] local.INFO: IMEI acknowledgment sent {"connection_id":142812,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:01:32] local.INFO: TCP Data received {"connection_id":142690,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:01:32] local.INFO: Processing buffer {"connection_id":142690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:01:32] local.INFO: IMEI packet received {"connection_id":142690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 09:01:32] local.INFO: IMEI acknowledgment sent {"connection_id":142690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:01:35] local.INFO: TCP Data received {"connection_id":142812,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142812,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:01:35] local.INFO: Processing buffer {"connection_id":142812,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:01:35] local.INFO: IMEI packet received {"connection_id":142812,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 09:01:35] local.INFO: IMEI acknowledgment sent {"connection_id":142812,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:01:36] local.INFO: TCP Data received {"connection_id":142812,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa19f9ce0012d7c64c005ec37d8001100562e..."} 
[2026-07-27 09:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa19f9ce0012d7c64c005ec37d8001100562e..."} 
[2026-07-27 09:01:36] local.INFO: Processing buffer {"connection_id":142812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa19f9ce0012d7c64c005ec37d8001100562e..."} 
[2026-07-27 09:01:36] local.INFO: Packet analysis {"connection_id":142812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa19f"} 
[2026-07-27 09:01:36] local.INFO: Extracted packet for processing {"connection_id":142812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa19f"} 
[2026-07-27 09:01:36] local.INFO: GPS Element Parsed {"raw_longitude":763126976,"raw_latitude":99366872,"longitude_deg":76.3126976,"latitude_deg":9.9366872,"altitude":17,"angle":86,"satellites":46,"speed":34,"hex_longitude":"2d7c64c0","hex_latitude":"05ec37d8","is_valid_coordinates":true} 
[2026-07-27 09:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:01:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991490304001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:01:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111584938272227328,"note":"Value kept but may cause issues"} 
[2026-07-27 09:01:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8952874609673678848,"note":"Value kept but may cause issues"} 
[2026-07-27 09:01:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:01:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785123020000,"timestamp_ms":1785123020000,"timestamp_seconds":1785123020,"priority":1,"record_length":96,"hex_timestamp":"0000019fa19f9ce0"} 
[2026-07-27 09:01:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:01:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-27 09:01:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:01:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:01:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:01:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:01:36] local.INFO: Teltonika packet parsed successfully {"connection_id":142812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:01:36] local.INFO: Passing IMEI to GPS processor {"connection_id":142812,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:01:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":142812,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:01:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:01:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 09:01:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 09:01:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991490304001,"66":13243,"196":206,"87":13824,"24":34,"16":111584938272227328,"45":8952874609673678848},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,87,24,16,45]} 
[2026-07-27 09:01:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 09:01:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 09:01:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991490304001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:01:36] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-07-27 09:01:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 09:01:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111584938272227328,"km_value":111584938272227.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:01:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8952874609673678848,"description":"Unknown IO ID 45"} 
[2026-07-27 09:01:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991490304001,"power":13243,"unknown_196":206,"unknown_87":13824,"ignition":34,"odometer":null,"unknown_45":8952874609673678848}} 
[2026-07-27 09:01:36] local.INFO: DEBUG: GPS processor result {"connection_id":142812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552146,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:01:36] local.INFO: GPS data processed {"connection_id":142812,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:01:36] local.INFO: Acknowledgment sent {"connection_id":142812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:01:38] local.INFO: TCP Data received {"connection_id":142690,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:01:38] local.INFO: Processing buffer {"connection_id":142690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:01:38] local.INFO: IMEI packet received {"connection_id":142690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 09:01:38] local.INFO: IMEI acknowledgment sent {"connection_id":142690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:01:38] local.INFO: TCP Data received {"connection_id":142690,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fa19f4ad8012d7f930005afdaf00007011229..."} 
[2026-07-27 09:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa19f4ad8012d7f930005afdaf00007011229..."} 
[2026-07-27 09:01:38] local.INFO: Processing buffer {"connection_id":142690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa19f4ad8012d7f930005afdaf00007011229..."} 
[2026-07-27 09:01:38] local.INFO: Packet analysis {"connection_id":142690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa19f"} 
[2026-07-27 09:01:38] local.INFO: Extracted packet for processing {"connection_id":142690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa19f"} 
[2026-07-27 09:01:38] local.INFO: GPS Element Parsed {"raw_longitude":763335424,"raw_latitude":95410928,"longitude_deg":76.3335424,"latitude_deg":9.5410928,"altitude":7,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7f9300","hex_latitude":"05afdaf0","is_valid_coordinates":true} 
[2026-07-27 09:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:01:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991410688001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:01:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826040631492608,"note":"Value kept but may cause issues"} 
[2026-07-27 09:01:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192691288818511872,"note":"Value kept but may cause issues"} 
[2026-07-27 09:01:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:01:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785122999000,"timestamp_ms":1785122999000,"timestamp_seconds":1785122999,"priority":1,"record_length":96,"hex_timestamp":"0000019fa19f4ad8"} 
[2026-07-27 09:01:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:01:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-27 09:01:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:01:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:01:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:01:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:01:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:01:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:01:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:01:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:01:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:01:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:01:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991410688001,"66":25473,"250":206,"85":12544,"24":0,"16":358826040631492608,"45":9192691288818511872},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 09:01:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:01:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:01:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991410688001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:01:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 09:01:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:01:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826040631492608,"km_value":358826040631492.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:01:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192691288818511872,"description":"Unknown IO ID 45"} 
[2026-07-27 09:01:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991410688001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192691288818511872}} 
[2026-07-27 09:01:38] local.INFO: DEBUG: GPS processor result {"connection_id":142690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:01:38] local.INFO: GPS data processed {"connection_id":142690,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:01:38] local.INFO: Acknowledgment sent {"connection_id":142690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:01:40] local.INFO: TCP Data received {"connection_id":143788,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa19f23c8012d19ad80072084e0003700c025..."} 
[2026-07-27 09:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa19f23c8012d19ad80072084e0003700c025..."} 
[2026-07-27 09:01:40] local.INFO: Processing buffer {"connection_id":143788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa19f23c8012d19ad80072084e0003700c025..."} 
[2026-07-27 09:01:40] local.INFO: Packet analysis {"connection_id":143788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa19f"} 
[2026-07-27 09:01:40] local.INFO: Extracted packet for processing {"connection_id":143788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa19f"} 
[2026-07-27 09:01:40] local.INFO: GPS Element Parsed {"raw_longitude":756657536,"raw_latitude":119571680,"longitude_deg":75.6657536,"latitude_deg":11.957168,"altitude":55,"angle":192,"satellites":37,"speed":0,"hex_longitude":"2d19ad80","hex_latitude":"072084e0","is_valid_coordinates":true} 
[2026-07-27 09: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-07-27 09:01:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991480320001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:01:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8754818386493440,"note":"Value kept but may cause issues"} 
[2026-07-27 09:01:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850275790017839104,"note":"Value kept but may cause issues"} 
[2026-07-27 09:01:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:01:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785122989000,"timestamp_ms":1785122989000,"timestamp_seconds":1785122989,"priority":1,"record_length":96,"hex_timestamp":"0000019fa19f23c8"} 
[2026-07-27 09:01:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:01:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8960,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-27 09:01:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09: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-07-27 09:01:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:01:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:01:40] local.INFO: Teltonika packet parsed successfully {"connection_id":143788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:01:40] local.INFO: Passing IMEI to GPS processor {"connection_id":143788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:01:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":143788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:01:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:01:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 09:01:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 09:01:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991480320001,"66":12439,"121":206,"28":31744,"24":0,"16":8754818386493440,"45":1850275790017839104},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 09:01:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 09:01:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 09:01:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991480320001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:01:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 09:01:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 09:01:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8754818386493440,"km_value":8754818386493.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:01:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850275790017839104,"description":"Unknown IO ID 45"} 
[2026-07-27 09:01:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991480320001,"power":12439,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1850275790017839104}} 
[2026-07-27 09:01:40] local.INFO: DEBUG: GPS processor result {"connection_id":143788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552148,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:01:40] local.INFO: GPS data processed {"connection_id":143788,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:01:40] local.INFO: Acknowledgment sent {"connection_id":143788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:01:40] local.INFO: TCP Data received {"connection_id":143791,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143791,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:01:40] local.INFO: Processing buffer {"connection_id":143791,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:01:40] local.INFO: IMEI packet received {"connection_id":143791,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 09:01:40] local.INFO: IMEI acknowledgment sent {"connection_id":143791,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:01:45] local.INFO: TCP Data received {"connection_id":143791,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143791,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:01:45] local.INFO: Processing buffer {"connection_id":143791,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:01:45] local.INFO: IMEI packet received {"connection_id":143791,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 09:01:45] local.INFO: IMEI acknowledgment sent {"connection_id":143791,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:01:46] local.INFO: TCP Data received {"connection_id":143791,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1a06be8012d0af9c007067908000d00d522..."} 
[2026-07-27 09:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1a06be8012d0af9c007067908000d00d522..."} 
[2026-07-27 09:01:46] local.INFO: Processing buffer {"connection_id":143791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1a06be8012d0af9c007067908000d00d522..."} 
[2026-07-27 09:01:46] local.INFO: Packet analysis {"connection_id":143791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1a0"} 
[2026-07-27 09:01:46] local.INFO: Extracted packet for processing {"connection_id":143791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1a0"} 
[2026-07-27 09:01:46] local.INFO: GPS Element Parsed {"raw_longitude":755694016,"raw_latitude":117864712,"longitude_deg":75.5694016,"latitude_deg":11.7864712,"altitude":13,"angle":213,"satellites":34,"speed":21,"hex_longitude":"2d0af9c0","hex_latitude":"07067908","is_valid_coordinates":true} 
[2026-07-27 09:01:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:01:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991506432001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:01:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25823293298704384,"note":"Value kept but may cause issues"} 
[2026-07-27 09:01:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":791226189707147264,"note":"Value kept but may cause issues"} 
[2026-07-27 09:01:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:01:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785123073000,"timestamp_ms":1785123073000,"timestamp_seconds":1785123073,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1a06be8"} 
[2026-07-27 09:01:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:01:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09:01:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-27 09:01:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:01:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:01:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:01:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:01:46] local.INFO: Teltonika packet parsed successfully {"connection_id":143791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:01:46] local.INFO: Passing IMEI to GPS processor {"connection_id":143791,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:01:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":143791,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:01:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:01:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 09:01:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 09:01:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991506432001,"66":14396,"163":206,"94":10240,"24":21,"16":25823293298704384,"45":791226189707147264},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-07-27 09:01:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 09:01:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 09:01:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991506432001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:01:46] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-27 09:01:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 09:01:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25823293298704384,"km_value":25823293298704.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:01:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":791226189707147264,"description":"Unknown IO ID 45"} 
[2026-07-27 09:01:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991506432001,"power":14396,"unknown_163":206,"unknown_94":10240,"ignition":21,"odometer":null,"unknown_45":791226189707147264}} 
[2026-07-27 09:01:46] local.INFO: DEBUG: GPS processor result {"connection_id":143791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552149,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:01:46] local.INFO: GPS data processed {"connection_id":143791,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:01:46] local.INFO: Acknowledgment sent {"connection_id":143791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:02:07] local.INFO: TCP Data received {"connection_id":142812,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa19fc7d8012d7c888005ec38c8001000592e..."} 
[2026-07-27 09:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa19fc7d8012d7c888005ec38c8001000592e..."} 
[2026-07-27 09:02:07] local.INFO: Processing buffer {"connection_id":142812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa19fc7d8012d7c888005ec38c8001000592e..."} 
[2026-07-27 09:02:07] local.INFO: Packet analysis {"connection_id":142812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa19f"} 
[2026-07-27 09:02:07] local.INFO: Extracted packet for processing {"connection_id":142812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa19f"} 
[2026-07-27 09:02:07] local.INFO: GPS Element Parsed {"raw_longitude":763136128,"raw_latitude":99367112,"longitude_deg":76.3136128,"latitude_deg":9.9367112,"altitude":16,"angle":89,"satellites":46,"speed":27,"hex_longitude":"2d7c8880","hex_latitude":"05ec38c8","is_valid_coordinates":true} 
[2026-07-27 09:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:02:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991493120001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:02:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111585376358891520,"note":"Value kept but may cause issues"} 
[2026-07-27 09:02:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8963500290044581888,"note":"Value kept but may cause issues"} 
[2026-07-27 09:02:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:02:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785123031000,"timestamp_ms":1785123031000,"timestamp_seconds":1785123031,"priority":1,"record_length":96,"hex_timestamp":"0000019fa19fc7d8"} 
[2026-07-27 09:02:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:02:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-27 09:02:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:02:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:02:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:02:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:02:07] local.INFO: Teltonika packet parsed successfully {"connection_id":142812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:02:07] local.INFO: Passing IMEI to GPS processor {"connection_id":142812,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:02:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":142812,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:02:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:02:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 09:02:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 09:02:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991493120001,"66":12982,"196":206,"87":13824,"24":27,"16":111585376358891520,"45":8963500290044581888},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,87,24,16,45]} 
[2026-07-27 09:02:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 09:02:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 09:02:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991493120001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:02:07] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-07-27 09:02:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 09:02:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111585376358891520,"km_value":111585376358891.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:02:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8963500290044581888,"description":"Unknown IO ID 45"} 
[2026-07-27 09:02:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991493120001,"power":12982,"unknown_196":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":8963500290044581888}} 
[2026-07-27 09:02:07] local.INFO: DEBUG: GPS processor result {"connection_id":142812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552150,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:02:07] local.INFO: GPS data processed {"connection_id":142812,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:02:07] local.INFO: Acknowledgment sent {"connection_id":142812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:02:09] local.INFO: TCP Data received {"connection_id":142690,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fa19f4ad8012d7f930005afdaf00007011229..."} 
[2026-07-27 09:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa19f4ad8012d7f930005afdaf00007011229..."} 
[2026-07-27 09:02:09] local.INFO: Processing buffer {"connection_id":142690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa19f4ad8012d7f930005afdaf00007011229..."} 
[2026-07-27 09:02:09] local.INFO: Packet analysis {"connection_id":142690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa19f"} 
[2026-07-27 09:02:09] local.INFO: Extracted packet for processing {"connection_id":142690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa19f"} 
[2026-07-27 09:02:09] local.INFO: GPS Element Parsed {"raw_longitude":763335424,"raw_latitude":95410928,"longitude_deg":76.3335424,"latitude_deg":9.5410928,"altitude":7,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7f9300","hex_latitude":"05afdaf0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 09:02:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991410688001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:02:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826040631492608,"note":"Value kept but may cause issues"} 
[2026-07-27 09:02:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192691288818511872,"note":"Value kept but may cause issues"} 
[2026-07-27 09:02:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:02:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785122999000,"timestamp_ms":1785122999000,"timestamp_seconds":1785122999,"priority":1,"record_length":96,"hex_timestamp":"0000019fa19f4ad8"} 
[2026-07-27 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-07-27 09:02:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":151,"data_length":795,"current_offset":136} 
[2026-07-27 09: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-07-27 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-07-27 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-07-27 09:02:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:02:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:02:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:02:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:02:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:02:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:02:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:02:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991410688001,"66":25473,"250":206,"85":12544,"24":0,"16":358826040631492608,"45":9192691288818511872},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 09:02:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:02:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:02:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991410688001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:02:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 09:02:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:02:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826040631492608,"km_value":358826040631492.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:02:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192691288818511872,"description":"Unknown IO ID 45"} 
[2026-07-27 09:02:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991410688001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192691288818511872}} 
[2026-07-27 09:02:09] local.INFO: DEBUG: GPS processor result {"connection_id":142690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:02:09] local.INFO: GPS data processed {"connection_id":142690,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:02:09] local.INFO: Acknowledgment sent {"connection_id":142690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:02:12] local.INFO: TCP Data received {"connection_id":143788,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa19f6e00012d19ae00072084e8003600c025..."} 
[2026-07-27 09:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa19f6e00012d19ae00072084e8003600c025..."} 
[2026-07-27 09:02:12] local.INFO: Processing buffer {"connection_id":143788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa19f6e00012d19ae00072084e8003600c025..."} 
[2026-07-27 09:02:12] local.INFO: Packet analysis {"connection_id":143788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa19f"} 
[2026-07-27 09:02:12] local.INFO: Extracted packet for processing {"connection_id":143788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa19f"} 
[2026-07-27 09:02:12] local.INFO: GPS Element Parsed {"raw_longitude":756657664,"raw_latitude":119571688,"longitude_deg":75.6657664,"latitude_deg":11.9571688,"altitude":54,"angle":192,"satellites":37,"speed":0,"hex_longitude":"2d19ae00","hex_latitude":"072084e8","is_valid_coordinates":true} 
[2026-07-27 09: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-07-27 09:02:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991485184001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:02:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8754822681460736,"note":"Value kept but may cause issues"} 
[2026-07-27 09:02:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850275790017847296,"note":"Value kept but may cause issues"} 
[2026-07-27 09:02:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:02:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785123008000,"timestamp_ms":1785123008000,"timestamp_seconds":1785123008,"priority":1,"record_length":96,"hex_timestamp":"0000019fa19f6e00"} 
[2026-07-27 09:02:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:02:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8960,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09: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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-27 09:02:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09: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-07-27 09:02:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:02:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:02:12] local.INFO: Teltonika packet parsed successfully {"connection_id":143788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:02:12] local.INFO: Passing IMEI to GPS processor {"connection_id":143788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:02:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":143788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:02:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:02:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 09:02:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 09:02:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991485184001,"66":12385,"121":206,"28":31744,"24":0,"16":8754822681460736,"45":1850275790017847296},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 09:02:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 09:02:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 09:02:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991485184001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:02:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 09:02:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 09:02:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8754822681460736,"km_value":8754822681460.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:02:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850275790017847296,"description":"Unknown IO ID 45"} 
[2026-07-27 09:02:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991485184001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1850275790017847296}} 
[2026-07-27 09:02:12] local.INFO: DEBUG: GPS processor result {"connection_id":143788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552152,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:02:12] local.INFO: GPS data processed {"connection_id":143788,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:02:12] local.INFO: Acknowledgment sent {"connection_id":143788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:02:18] local.INFO: TCP Data received {"connection_id":143791,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1a06fd0012d0af88007067770000d00e121..."} 
[2026-07-27 09:02:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1a06fd0012d0af88007067770000d00e121..."} 
[2026-07-27 09:02:18] local.INFO: Processing buffer {"connection_id":143791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1a06fd0012d0af88007067770000d00e121..."} 
[2026-07-27 09:02:18] local.INFO: Packet analysis {"connection_id":143791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1a0"} 
[2026-07-27 09:02:18] local.INFO: Extracted packet for processing {"connection_id":143791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1a0"} 
[2026-07-27 09:02:18] local.INFO: GPS Element Parsed {"raw_longitude":755693696,"raw_latitude":117864304,"longitude_deg":75.5693696,"latitude_deg":11.7864304,"altitude":13,"angle":225,"satellites":33,"speed":21,"hex_longitude":"2d0af880","hex_latitude":"07067770","is_valid_coordinates":true} 
[2026-07-27 09: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-07-27 09:02:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991506688001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:02:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25823323363475456,"note":"Value kept but may cause issues"} 
[2026-07-27 09:02:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":790874345986131968,"note":"Value kept but may cause issues"} 
[2026-07-27 09:02:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:02:18] local.INFO: AVL Record Parsed {"raw_timestamp":1785123074000,"timestamp_ms":1785123074000,"timestamp_seconds":1785123074,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1a06fd0"} 
[2026-07-27 09:02:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:02:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09: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":60,"data_length":795,"current_offset":136} 
[2026-07-27 09:02: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-07-27 09: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-07-27 09:02:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:02:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:02:18] local.INFO: Teltonika packet parsed successfully {"connection_id":143791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:02:18] local.INFO: Passing IMEI to GPS processor {"connection_id":143791,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:02:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":143791,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:02:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:02:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 09:02:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 09:02:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991506688001,"66":14461,"163":206,"94":10240,"24":21,"16":25823323363475456,"45":790874345986131968},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-07-27 09:02:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 09:02:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 09:02:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991506688001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:02:18] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-27 09:02:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 09:02:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25823323363475456,"km_value":25823323363475.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:02:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":790874345986131968,"description":"Unknown IO ID 45"} 
[2026-07-27 09:02:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991506688001,"power":14461,"unknown_163":206,"unknown_94":10240,"ignition":21,"odometer":null,"unknown_45":790874345986131968}} 
[2026-07-27 09:02:18] local.INFO: DEBUG: GPS processor result {"connection_id":143791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552153,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:02:18] local.INFO: GPS data processed {"connection_id":143791,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:02:18] local.INFO: Acknowledgment sent {"connection_id":143791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:02:29] local.INFO: TCP Data received {"connection_id":145116,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145116,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:02:29] local.INFO: Processing buffer {"connection_id":145116,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:02:29] local.INFO: IMEI packet received {"connection_id":145116,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 09:02:29] local.INFO: IMEI acknowledgment sent {"connection_id":145116,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:02:30] local.INFO: TCP Data received {"connection_id":145116,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145116,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:02:30] local.INFO: Processing buffer {"connection_id":145116,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:02:30] local.INFO: IMEI packet received {"connection_id":145116,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 09:02:30] local.INFO: IMEI acknowledgment sent {"connection_id":145116,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:02:31] local.INFO: TCP Data received {"connection_id":145116,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145116,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:02:31] local.INFO: Processing buffer {"connection_id":145116,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:02:31] local.INFO: IMEI packet received {"connection_id":145116,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 09:02:31] local.INFO: IMEI acknowledgment sent {"connection_id":145116,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:02:31] local.INFO: TCP Data received {"connection_id":145116,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145116,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:02:31] local.INFO: Processing buffer {"connection_id":145116,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:02:31] local.INFO: IMEI packet received {"connection_id":145116,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 09:02:31] local.INFO: IMEI acknowledgment sent {"connection_id":145116,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:02:32] local.INFO: TCP Data received {"connection_id":143792,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:02:32] local.INFO: Processing buffer {"connection_id":143792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:02:32] local.INFO: IMEI packet received {"connection_id":143792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 09:02:32] local.INFO: IMEI acknowledgment sent {"connection_id":143792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:02:38] local.INFO: TCP Data received {"connection_id":143792,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:02:38] local.INFO: Processing buffer {"connection_id":143792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:02:38] local.INFO: IMEI packet received {"connection_id":143792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 09:02:38] local.INFO: IMEI acknowledgment sent {"connection_id":143792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:02:38] local.INFO: TCP Data received {"connection_id":143792,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fa19f4ad8012d7f930005afdaf00007011229..."} 
[2026-07-27 09:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143792,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa19f4ad8012d7f930005afdaf00007011229..."} 
[2026-07-27 09:02:38] local.INFO: Processing buffer {"connection_id":143792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa19f4ad8012d7f930005afdaf00007011229..."} 
[2026-07-27 09:02:38] local.INFO: Packet analysis {"connection_id":143792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa19f"} 
[2026-07-27 09:02:38] local.INFO: Extracted packet for processing {"connection_id":143792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa19f"} 
[2026-07-27 09:02:38] local.INFO: GPS Element Parsed {"raw_longitude":763335424,"raw_latitude":95410928,"longitude_deg":76.3335424,"latitude_deg":9.5410928,"altitude":7,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7f9300","hex_latitude":"05afdaf0","is_valid_coordinates":true} 
[2026-07-27 09:02:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:02:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991410688001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:02:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826040631492608,"note":"Value kept but may cause issues"} 
[2026-07-27 09:02:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192691288818511872,"note":"Value kept but may cause issues"} 
[2026-07-27 09:02:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:02:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785122999000,"timestamp_ms":1785122999000,"timestamp_seconds":1785122999,"priority":1,"record_length":96,"hex_timestamp":"0000019fa19f4ad8"} 
[2026-07-27 09:02:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:02:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:02:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-27 09:02:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:02:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:02:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:02:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:02:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:02:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:02:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:02:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:02:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:02:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:02:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991410688001,"66":25473,"250":206,"85":12544,"24":0,"16":358826040631492608,"45":9192691288818511872},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 09:02:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:02:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:02:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991410688001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:02:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 09:02:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:02:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826040631492608,"km_value":358826040631492.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:02:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192691288818511872,"description":"Unknown IO ID 45"} 
[2026-07-27 09:02:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991410688001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192691288818511872}} 
[2026-07-27 09:02:38] local.INFO: DEBUG: GPS processor result {"connection_id":143792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:02:38] local.INFO: GPS data processed {"connection_id":143792,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:02:38] local.INFO: Acknowledgment sent {"connection_id":143792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:02:40] local.INFO: TCP Data received {"connection_id":142691,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142691,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:02:40] local.INFO: Processing buffer {"connection_id":142691,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:02:40] local.INFO: IMEI packet received {"connection_id":142691,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 09:02:40] local.INFO: IMEI acknowledgment sent {"connection_id":142691,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:02:43] local.INFO: TCP Data received {"connection_id":143788,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa19fb450012d19ae00072084f0003500c025..."} 
[2026-07-27 09:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa19fb450012d19ae00072084f0003500c025..."} 
[2026-07-27 09:02:43] local.INFO: Processing buffer {"connection_id":143788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa19fb450012d19ae00072084f0003500c025..."} 
[2026-07-27 09:02:43] local.INFO: Packet analysis {"connection_id":143788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa19f"} 
[2026-07-27 09:02:43] local.INFO: Extracted packet for processing {"connection_id":143788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa19f"} 
[2026-07-27 09:02:43] local.INFO: GPS Element Parsed {"raw_longitude":756657664,"raw_latitude":119571696,"longitude_deg":75.6657664,"latitude_deg":11.9571696,"altitude":53,"angle":192,"satellites":37,"speed":0,"hex_longitude":"2d19ae00","hex_latitude":"072084f0","is_valid_coordinates":true} 
[2026-07-27 09:02:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:02:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991490048001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:02:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8754835566362624,"note":"Value kept but may cause issues"} 
[2026-07-27 09:02:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850416527506204672,"note":"Value kept but may cause issues"} 
[2026-07-27 09:02:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:02:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785123026000,"timestamp_ms":1785123026000,"timestamp_seconds":1785123026,"priority":1,"record_length":96,"hex_timestamp":"0000019fa19fb450"} 
[2026-07-27 09:02:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:02:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8960,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-27 09:02:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:02:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:02:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:02:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:02:43] local.INFO: Teltonika packet parsed successfully {"connection_id":143788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:02:43] local.INFO: Passing IMEI to GPS processor {"connection_id":143788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:02:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":143788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:02:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:02:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 09:02:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 09:02:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991490048001,"66":12374,"121":206,"28":31744,"24":0,"16":8754835566362624,"45":1850416527506204672},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 09:02:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 09:02:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 09:02:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991490048001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:02:43] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 09:02:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 09:02:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8754835566362624,"km_value":8754835566362.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:02:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850416527506204672,"description":"Unknown IO ID 45"} 
[2026-07-27 09:02:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991490048001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1850416527506204672}} 
[2026-07-27 09:02:43] local.INFO: DEBUG: GPS processor result {"connection_id":143788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552155,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:02:43] local.INFO: GPS data processed {"connection_id":143788,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:02:43] local.INFO: Acknowledgment sent {"connection_id":143788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:02:46] local.INFO: TCP Data received {"connection_id":142691,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142691,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:02:46] local.INFO: Processing buffer {"connection_id":142691,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:02:46] local.INFO: IMEI packet received {"connection_id":142691,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 09:02:46] local.INFO: IMEI acknowledgment sent {"connection_id":142691,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:02:46] local.INFO: TCP Data received {"connection_id":142691,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1a077a0012d0af4c007067518000e00ef21..."} 
[2026-07-27 09:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1a077a0012d0af4c007067518000e00ef21..."} 
[2026-07-27 09:02:46] local.INFO: Processing buffer {"connection_id":142691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1a077a0012d0af4c007067518000e00ef21..."} 
[2026-07-27 09:02:46] local.INFO: Packet analysis {"connection_id":142691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1a0"} 
[2026-07-27 09:02:46] local.INFO: Extracted packet for processing {"connection_id":142691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1a0"} 
[2026-07-27 09:02:46] local.INFO: GPS Element Parsed {"raw_longitude":755692736,"raw_latitude":117863704,"longitude_deg":75.5692736,"latitude_deg":11.7863704,"altitude":14,"angle":239,"satellites":33,"speed":21,"hex_longitude":"2d0af4c0","hex_latitude":"07067518","is_valid_coordinates":true} 
[2026-07-27 09:02:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:02:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991506944001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:02:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25823374903083008,"note":"Value kept but may cause issues"} 
[2026-07-27 09:02:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":790522502265139200,"note":"Value kept but may cause issues"} 
[2026-07-27 09:02:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:02:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785123076000,"timestamp_ms":1785123076000,"timestamp_seconds":1785123076,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1a077a0"} 
[2026-07-27 09:02:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:02:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-27 09:02:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:02:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:02:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:02:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:02:46] local.INFO: Teltonika packet parsed successfully {"connection_id":142691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:02:46] local.INFO: Passing IMEI to GPS processor {"connection_id":142691,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:02:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":142691,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:02:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:02:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 09:02:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 09:02:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991506944001,"66":14450,"163":206,"94":10240,"24":21,"16":25823374903083008,"45":790522502265139200},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-07-27 09:02:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 09:02:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 09:02:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991506944001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:02:46] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-27 09:02:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 09:02:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25823374903083008,"km_value":25823374903083.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:02:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":790522502265139200,"description":"Unknown IO ID 45"} 
[2026-07-27 09:02:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991506944001,"power":14450,"unknown_163":206,"unknown_94":10240,"ignition":21,"odometer":null,"unknown_45":790522502265139200}} 
[2026-07-27 09:02:46] local.INFO: DEBUG: GPS processor result {"connection_id":142691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552156,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:02:46] local.INFO: GPS data processed {"connection_id":142691,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:02:46] local.INFO: Acknowledgment sent {"connection_id":142691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:03:09] local.INFO: TCP Data received {"connection_id":143792,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fa19f4ad8012d7f930005afdaf00007011229..."} 
[2026-07-27 09:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143792,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa19f4ad8012d7f930005afdaf00007011229..."} 
[2026-07-27 09:03:09] local.INFO: Processing buffer {"connection_id":143792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa19f4ad8012d7f930005afdaf00007011229..."} 
[2026-07-27 09:03:09] local.INFO: Packet analysis {"connection_id":143792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa19f"} 
[2026-07-27 09:03:09] local.INFO: Extracted packet for processing {"connection_id":143792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa19f"} 
[2026-07-27 09:03:09] local.INFO: GPS Element Parsed {"raw_longitude":763335424,"raw_latitude":95410928,"longitude_deg":76.3335424,"latitude_deg":9.5410928,"altitude":7,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7f9300","hex_latitude":"05afdaf0","is_valid_coordinates":true} 
[2026-07-27 09:03:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:03:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991410688001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:03:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826040631492608,"note":"Value kept but may cause issues"} 
[2026-07-27 09:03:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192691288818511872,"note":"Value kept but may cause issues"} 
[2026-07-27 09:03:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:03:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785122999000,"timestamp_ms":1785122999000,"timestamp_seconds":1785122999,"priority":1,"record_length":96,"hex_timestamp":"0000019fa19f4ad8"} 
[2026-07-27 09:03:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:03:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:03:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-27 09:03:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:03:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:03:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:03:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:03:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:03:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:03:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:03:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:03:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:03:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:03:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991410688001,"66":25473,"250":206,"85":12544,"24":0,"16":358826040631492608,"45":9192691288818511872},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 09:03:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:03:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:03:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991410688001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:03:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 09:03:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:03:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826040631492608,"km_value":358826040631492.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:03:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192691288818511872,"description":"Unknown IO ID 45"} 
[2026-07-27 09:03:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991410688001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192691288818511872}} 
[2026-07-27 09:03:09] local.INFO: DEBUG: GPS processor result {"connection_id":143792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:03:09] local.INFO: GPS data processed {"connection_id":143792,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:03:09] local.INFO: Acknowledgment sent {"connection_id":143792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:03:14] local.INFO: TCP Data received {"connection_id":143788,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1a15e18012d19a6c00720b0c80038011a26..."} 
[2026-07-27 09:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1a15e18012d19a6c00720b0c80038011a26..."} 
[2026-07-27 09:03:14] local.INFO: Processing buffer {"connection_id":143788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1a15e18012d19a6c00720b0c80038011a26..."} 
[2026-07-27 09:03:14] local.INFO: Packet analysis {"connection_id":143788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1a1"} 
[2026-07-27 09:03:14] local.INFO: Extracted packet for processing {"connection_id":143788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1a1"} 
[2026-07-27 09:03:14] local.INFO: GPS Element Parsed {"raw_longitude":756655808,"raw_latitude":119582920,"longitude_deg":75.6655808,"latitude_deg":11.958292,"altitude":56,"angle":282,"satellites":38,"speed":17,"hex_longitude":"2d19a6c0","hex_latitude":"0720b0c8","is_valid_coordinates":true} 
[2026-07-27 09: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-07-27 09:03:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991521536001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:03:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8755604365508608,"note":"Value kept but may cause issues"} 
[2026-07-27 09:03:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850416527508953088,"note":"Value kept but may cause issues"} 
[2026-07-27 09:03:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:03:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785123135000,"timestamp_ms":1785123135000,"timestamp_seconds":1785123135,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1a15e18"} 
[2026-07-27 09:03:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:03:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9728,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-27 09:03:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09: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-07-27 09:03:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:03:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:03:14] local.INFO: Teltonika packet parsed successfully {"connection_id":143788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:03:14] local.INFO: Passing IMEI to GPS processor {"connection_id":143788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:03:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":143788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:03:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:03:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 09:03:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 09:03:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991521536001,"66":14243,"121":206,"28":31744,"24":17,"16":8755604365508608,"45":1850416527508953088},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 09:03:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 09:03:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 09:03:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991521536001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:03:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 09:03:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 09:03:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8755604365508608,"km_value":8755604365508.608,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:03:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850416527508953088,"description":"Unknown IO ID 45"} 
[2026-07-27 09:03:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991521536001,"power":14243,"unknown_121":206,"unknown_28":31744,"ignition":17,"odometer":null,"unknown_45":1850416527508953088}} 
[2026-07-27 09:03:15] local.INFO: DEBUG: GPS processor result {"connection_id":143788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552158,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:03:15] local.INFO: GPS data processed {"connection_id":143788,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:03:15] local.INFO: Acknowledgment sent {"connection_id":143788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:03:17] local.INFO: TCP Data received {"connection_id":142691,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1a1b408012d0b4d40070601300017004e22..."} 
[2026-07-27 09:03:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1a1b408012d0b4d40070601300017004e22..."} 
[2026-07-27 09:03:17] local.INFO: Processing buffer {"connection_id":142691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1a1b408012d0b4d40070601300017004e22..."} 
[2026-07-27 09:03:17] local.INFO: Packet analysis {"connection_id":142691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1a1"} 
[2026-07-27 09:03:17] local.INFO: Extracted packet for processing {"connection_id":142691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1a1"} 
[2026-07-27 09:03:17] local.INFO: GPS Element Parsed {"raw_longitude":755715392,"raw_latitude":117834032,"longitude_deg":75.5715392,"latitude_deg":11.7834032,"altitude":23,"angle":78,"satellites":34,"speed":5,"hex_longitude":"2d0b4d40","hex_latitude":"07060130","is_valid_coordinates":true} 
[2026-07-27 09: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-07-27 09:03:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991527936001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:03:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25825329113202688,"note":"Value kept but may cause issues"} 
[2026-07-27 09:03:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":814236769045262336,"note":"Value kept but may cause issues"} 
[2026-07-27 09:03:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:03:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785123157000,"timestamp_ms":1785123157000,"timestamp_seconds":1785123157,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1a1b408"} 
[2026-07-27 09:03:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:03:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09: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":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-07-27 09:03:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1900,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09: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-07-27 09:03:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:03:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:03:17] local.INFO: Teltonika packet parsed successfully {"connection_id":142691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:03:17] local.INFO: Passing IMEI to GPS processor {"connection_id":142691,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:03:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":142691,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:03:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:03:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 09:03:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 09:03:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991527936001,"66":14494,"165":206,"94":10240,"24":5,"16":25825329113202688,"45":814236769045262336},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-07-27 09:03:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 09:03:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 09:03:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991527936001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:03:17] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-27 09:03:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 09:03:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25825329113202688,"km_value":25825329113202.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:03:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":814236769045262336,"description":"Unknown IO ID 45"} 
[2026-07-27 09:03:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991527936001,"power":14494,"unknown_165":206,"unknown_94":10240,"ignition":5,"odometer":null,"unknown_45":814236769045262336}} 
[2026-07-27 09:03:18] local.INFO: DEBUG: GPS processor result {"connection_id":142691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552159,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:03:18] local.INFO: GPS data processed {"connection_id":142691,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:03:18] local.INFO: Acknowledgment sent {"connection_id":142691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:03:38] local.INFO: TCP Data received {"connection_id":142814,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:03:38] local.INFO: Processing buffer {"connection_id":142814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:03:38] local.INFO: IMEI packet received {"connection_id":142814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 09:03:38] local.INFO: IMEI acknowledgment sent {"connection_id":142814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:03:40] local.INFO: TCP Data received {"connection_id":143793,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143793,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:03:40] local.INFO: Processing buffer {"connection_id":143793,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:03:40] local.INFO: IMEI packet received {"connection_id":143793,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 09:03:40] local.INFO: IMEI acknowledgment sent {"connection_id":143793,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:03:41] local.INFO: TCP Data received {"connection_id":143793,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143793,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:03:41] local.INFO: Processing buffer {"connection_id":143793,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:03:41] local.INFO: IMEI packet received {"connection_id":143793,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 09:03:41] local.INFO: IMEI acknowledgment sent {"connection_id":143793,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:03:43] local.INFO: TCP Data received {"connection_id":142814,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:03:43] local.INFO: Processing buffer {"connection_id":142814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:03:43] local.INFO: IMEI packet received {"connection_id":142814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 09:03:43] local.INFO: IMEI acknowledgment sent {"connection_id":142814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:03:43] local.INFO: TCP Data received {"connection_id":142814,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa19f4ad8012d7f930005afdaf00007011229..."} 
[2026-07-27 09:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142814,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa19f4ad8012d7f930005afdaf00007011229..."} 
[2026-07-27 09:03:43] local.INFO: Processing buffer {"connection_id":142814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa19f4ad8012d7f930005afdaf00007011229..."} 
[2026-07-27 09:03:43] local.INFO: Packet analysis {"connection_id":142814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa19f"} 
[2026-07-27 09:03:43] local.INFO: Extracted packet for processing {"connection_id":142814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa19f"} 
[2026-07-27 09:03:43] local.INFO: GPS Element Parsed {"raw_longitude":763335424,"raw_latitude":95410928,"longitude_deg":76.3335424,"latitude_deg":9.5410928,"altitude":7,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7f9300","hex_latitude":"05afdaf0","is_valid_coordinates":true} 
[2026-07-27 09:03:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:03:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991410688001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:03:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826040631492608,"note":"Value kept but may cause issues"} 
[2026-07-27 09:03:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192691288818511872,"note":"Value kept but may cause issues"} 
[2026-07-27 09:03:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:03:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785122999000,"timestamp_ms":1785122999000,"timestamp_seconds":1785122999,"priority":1,"record_length":96,"hex_timestamp":"0000019fa19f4ad8"} 
[2026-07-27 09:03:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:03:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09: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":151,"data_length":795,"current_offset":136} 
[2026-07-27 09:03:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:03:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:03:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:03:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:03:43] local.INFO: Teltonika packet parsed successfully {"connection_id":142814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:03:43] local.INFO: Passing IMEI to GPS processor {"connection_id":142814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:03:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":142814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:03:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:03:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:03:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:03:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991410688001,"66":25473,"250":206,"85":12544,"24":0,"16":358826040631492608,"45":9192691288818511872},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 09:03:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:03:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:03:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991410688001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:03:43] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 09:03:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:03:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826040631492608,"km_value":358826040631492.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:03:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192691288818511872,"description":"Unknown IO ID 45"} 
[2026-07-27 09:03:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991410688001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192691288818511872}} 
[2026-07-27 09:03:43] local.INFO: DEBUG: GPS processor result {"connection_id":142814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:03:43] local.INFO: GPS data processed {"connection_id":142814,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:03:43] local.INFO: Acknowledgment sent {"connection_id":142814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:03:46] local.INFO: TCP Data received {"connection_id":143793,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143793,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:03:46] local.INFO: Processing buffer {"connection_id":143793,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:03:46] local.INFO: IMEI packet received {"connection_id":143793,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 09:03:46] local.INFO: IMEI acknowledgment sent {"connection_id":143793,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:03:46] local.INFO: TCP Data received {"connection_id":143793,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1a1d348012d0b4ec0070602d00018001b22..."} 
[2026-07-27 09:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1a1d348012d0b4ec0070602d00018001b22..."} 
[2026-07-27 09:03:46] local.INFO: Processing buffer {"connection_id":143793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1a1d348012d0b4ec0070602d00018001b22..."} 
[2026-07-27 09:03:46] local.INFO: Packet analysis {"connection_id":143793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1a1"} 
[2026-07-27 09:03:46] local.INFO: Extracted packet for processing {"connection_id":143793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1a1"} 
[2026-07-27 09:03:46] local.INFO: GPS Element Parsed {"raw_longitude":755715776,"raw_latitude":117834448,"longitude_deg":75.5715776,"latitude_deg":11.7834448,"altitude":24,"angle":27,"satellites":34,"speed":8,"hex_longitude":"2d0b4ec0","hex_latitude":"070602d0","is_valid_coordinates":true} 
[2026-07-27 09: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-07-27 09:03:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991528192001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:03:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25825359177973760,"note":"Value kept but may cause issues"} 
[2026-07-27 09:03:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":814377506533617664,"note":"Value kept but may cause issues"} 
[2026-07-27 09:03:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:03:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785123165000,"timestamp_ms":1785123165000,"timestamp_seconds":1785123165,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1a1d348"} 
[2026-07-27 09:03:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:03:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09: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":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-07-27 09:03:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1900,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09: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-07-27 09:03:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:03:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:03:46] local.INFO: Teltonika packet parsed successfully {"connection_id":143793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:03:46] local.INFO: Passing IMEI to GPS processor {"connection_id":143793,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:03:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":143793,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:03:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:03:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 09:03:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 09:03:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991528192001,"66":14428,"165":206,"94":10240,"24":8,"16":25825359177973760,"45":814377506533617664},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-07-27 09:03:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 09:03:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 09:03:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991528192001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:03:46] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-27 09:03:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 09:03:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25825359177973760,"km_value":25825359177973.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:03:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":814377506533617664,"description":"Unknown IO ID 45"} 
[2026-07-27 09:03:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991528192001,"power":14428,"unknown_165":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":814377506533617664}} 
[2026-07-27 09:03:46] local.INFO: DEBUG: GPS processor result {"connection_id":143793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552161,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:03:46] local.INFO: GPS data processed {"connection_id":143793,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:03:46] local.INFO: Acknowledgment sent {"connection_id":143793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:03:46] local.INFO: TCP Data received {"connection_id":143788,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1a18910012d198d800720b378003b010926..."} 
[2026-07-27 09:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1a18910012d198d800720b378003b010926..."} 
[2026-07-27 09:03:46] local.INFO: Processing buffer {"connection_id":143788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1a18910012d198d800720b378003b010926..."} 
[2026-07-27 09:03:46] local.INFO: Packet analysis {"connection_id":143788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1a1"} 
[2026-07-27 09:03:46] local.INFO: Extracted packet for processing {"connection_id":143788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1a1"} 
[2026-07-27 09:03:46] local.INFO: GPS Element Parsed {"raw_longitude":756649344,"raw_latitude":119583608,"longitude_deg":75.6649344,"latitude_deg":11.9583608,"altitude":59,"angle":265,"satellites":38,"speed":25,"hex_longitude":"2d198d80","hex_latitude":"0720b378","is_valid_coordinates":true} 
[2026-07-27 09: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-07-27 09:03:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991522560001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:03:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8755913603153920,"note":"Value kept but may cause issues"} 
[2026-07-27 09:03:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1848375833927927808,"note":"Value kept but may cause issues"} 
[2026-07-27 09:03: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-07-27 09:03:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785123146000,"timestamp_ms":1785123146000,"timestamp_seconds":1785123146,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1a18910"} 
[2026-07-27 09:03:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:03:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9728,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09: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":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-27 09:03:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09: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-07-27 09:03:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:03:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:03:46] local.INFO: Teltonika packet parsed successfully {"connection_id":143788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:03:46] local.INFO: Passing IMEI to GPS processor {"connection_id":143788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:03:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":143788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:03:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:03:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 09:03:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 09:03:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991522560001,"66":14341,"121":206,"28":31744,"24":25,"16":8755913603153920,"45":1848375833927927808},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 09:03:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 09:03:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 09:03:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991522560001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:03:46] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 09:03:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 09:03:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8755913603153920,"km_value":8755913603153.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:03:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1848375833927927808,"description":"Unknown IO ID 45"} 
[2026-07-27 09:03:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991522560001,"power":14341,"unknown_121":206,"unknown_28":31744,"ignition":25,"odometer":null,"unknown_45":1848375833927927808}} 
[2026-07-27 09:03:46] local.INFO: DEBUG: GPS processor result {"connection_id":143788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552162,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:03:46] local.INFO: GPS data processed {"connection_id":143788,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:03:46] local.INFO: Acknowledgment sent {"connection_id":143788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:03:48] local.INFO: TCP Data received {"connection_id":142814,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa19f4ad8012d7f930005afdaf00007011229..."} 
[2026-07-27 09:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142814,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa19f4ad8012d7f930005afdaf00007011229..."} 
[2026-07-27 09:03:48] local.INFO: Processing buffer {"connection_id":142814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa19f4ad8012d7f930005afdaf00007011229..."} 
[2026-07-27 09:03:48] local.INFO: Packet analysis {"connection_id":142814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa19f"} 
[2026-07-27 09:03:48] local.INFO: Extracted packet for processing {"connection_id":142814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa19f"} 
[2026-07-27 09:03:48] local.INFO: GPS Element Parsed {"raw_longitude":763335424,"raw_latitude":95410928,"longitude_deg":76.3335424,"latitude_deg":9.5410928,"altitude":7,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7f9300","hex_latitude":"05afdaf0","is_valid_coordinates":true} 
[2026-07-27 09: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-07-27 09:03:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991410688001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:03:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826040631492608,"note":"Value kept but may cause issues"} 
[2026-07-27 09:03:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192691288818511872,"note":"Value kept but may cause issues"} 
[2026-07-27 09:03:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:03:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785122999000,"timestamp_ms":1785122999000,"timestamp_seconds":1785122999,"priority":1,"record_length":96,"hex_timestamp":"0000019fa19f4ad8"} 
[2026-07-27 09:03:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:03:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-27 09:03:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09: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-07-27 09:03:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:03:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:03:48] local.INFO: Teltonika packet parsed successfully {"connection_id":142814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:03:48] local.INFO: Passing IMEI to GPS processor {"connection_id":142814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:03:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":142814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:03:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:03:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:03:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:03:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991410688001,"66":25473,"250":206,"85":12544,"24":0,"16":358826040631492608,"45":9192691288818511872},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 09:03:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:03:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:03:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991410688001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:03:48] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 09:03:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:03:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826040631492608,"km_value":358826040631492.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:03:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192691288818511872,"description":"Unknown IO ID 45"} 
[2026-07-27 09:03:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991410688001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192691288818511872}} 
[2026-07-27 09:03:48] local.INFO: DEBUG: GPS processor result {"connection_id":142814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:03:48] local.INFO: GPS data processed {"connection_id":142814,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:03:48] local.INFO: Acknowledgment sent {"connection_id":142814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:04:17] local.INFO: TCP Data received {"connection_id":143793,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1a20228012d0b534007060d58001a015e22..."} 
[2026-07-27 09:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1a20228012d0b534007060d58001a015e22..."} 
[2026-07-27 09:04:17] local.INFO: Processing buffer {"connection_id":143793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1a20228012d0b534007060d58001a015e22..."} 
[2026-07-27 09:04:17] local.INFO: Packet analysis {"connection_id":143793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1a2"} 
[2026-07-27 09:04:17] local.INFO: Extracted packet for processing {"connection_id":143793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1a2"} 
[2026-07-27 09:04:17] local.INFO: GPS Element Parsed {"raw_longitude":755716928,"raw_latitude":117837144,"longitude_deg":75.5716928,"latitude_deg":11.7837144,"altitude":26,"angle":350,"satellites":34,"speed":2,"hex_longitude":"2d0b5340","hex_latitude":"07060d58","is_valid_coordinates":true} 
[2026-07-27 09: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-07-27 09:04:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991530240001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:04:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25825500911894528,"note":"Value kept but may cause issues"} 
[2026-07-27 09:04:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":814799718998790144,"note":"Value kept but may cause issues"} 
[2026-07-27 09:04:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:04:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785123177000,"timestamp_ms":1785123177000,"timestamp_seconds":1785123177,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1a20228"} 
[2026-07-27 09:04:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:04:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-27 09:04:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09: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-07-27 09:04:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:04:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:04:17] local.INFO: Teltonika packet parsed successfully {"connection_id":143793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:04:17] local.INFO: Passing IMEI to GPS processor {"connection_id":143793,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:04:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":143793,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:04:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:04:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 09:04:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 09:04:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991530240001,"66":14396,"165":206,"94":10240,"24":2,"16":25825500911894528,"45":814799718998790144},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-07-27 09:04:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 09:04:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 09:04:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991530240001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:04:17] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-27 09:04:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 09:04:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25825500911894528,"km_value":25825500911894.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:04:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":814799718998790144,"description":"Unknown IO ID 45"} 
[2026-07-27 09:04:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991530240001,"power":14396,"unknown_165":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":814799718998790144}} 
[2026-07-27 09:04:17] local.INFO: DEBUG: GPS processor result {"connection_id":143793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552164,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:04:17] local.INFO: GPS data processed {"connection_id":143793,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:04:17] local.INFO: Acknowledgment sent {"connection_id":143793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:04:29] local.INFO: TCP Data received {"connection_id":145119,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145119,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:04:29] local.INFO: Processing buffer {"connection_id":145119,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:04:29] local.INFO: IMEI packet received {"connection_id":145119,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 09:04:29] local.INFO: IMEI acknowledgment sent {"connection_id":145119,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:04:30] local.INFO: TCP Data received {"connection_id":145119,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145119,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:04:30] local.INFO: Processing buffer {"connection_id":145119,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:04:30] local.INFO: IMEI packet received {"connection_id":145119,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 09:04:30] local.INFO: IMEI acknowledgment sent {"connection_id":145119,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:04:30] local.INFO: TCP Data received {"connection_id":145119,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145119,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:04:30] local.INFO: Processing buffer {"connection_id":145119,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:04:30] local.INFO: IMEI packet received {"connection_id":145119,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 09:04:30] local.INFO: IMEI acknowledgment sent {"connection_id":145119,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:04:32] local.INFO: TCP Data received {"connection_id":145119,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145119,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:04:32] local.INFO: Processing buffer {"connection_id":145119,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:04:32] local.INFO: IMEI packet received {"connection_id":145119,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 09:04:32] local.INFO: IMEI acknowledgment sent {"connection_id":145119,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:04:33] local.INFO: TCP Data received {"connection_id":145120,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:04:33] local.INFO: Processing buffer {"connection_id":145120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:04:33] local.INFO: IMEI packet received {"connection_id":145120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 09:04:33] local.INFO: IMEI acknowledgment sent {"connection_id":145120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:04:38] local.INFO: TCP Data received {"connection_id":145120,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:04:38] local.INFO: Processing buffer {"connection_id":145120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:04:38] local.INFO: IMEI packet received {"connection_id":145120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 09:04:38] local.INFO: IMEI acknowledgment sent {"connection_id":145120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:04:38] local.INFO: TCP Data received {"connection_id":145120,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fa19f4ad8012d7f930005afdaf00007011229..."} 
[2026-07-27 09:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145120,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa19f4ad8012d7f930005afdaf00007011229..."} 
[2026-07-27 09:04:38] local.INFO: Processing buffer {"connection_id":145120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa19f4ad8012d7f930005afdaf00007011229..."} 
[2026-07-27 09:04:38] local.INFO: Packet analysis {"connection_id":145120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa19f"} 
[2026-07-27 09:04:38] local.INFO: Extracted packet for processing {"connection_id":145120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa19f"} 
[2026-07-27 09:04:38] local.INFO: GPS Element Parsed {"raw_longitude":763335424,"raw_latitude":95410928,"longitude_deg":76.3335424,"latitude_deg":9.5410928,"altitude":7,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7f9300","hex_latitude":"05afdaf0","is_valid_coordinates":true} 
[2026-07-27 09:04:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:04:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991410688001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:04:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826040631492608,"note":"Value kept but may cause issues"} 
[2026-07-27 09:04:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192691288818511872,"note":"Value kept but may cause issues"} 
[2026-07-27 09:04:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:04:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785122999000,"timestamp_ms":1785122999000,"timestamp_seconds":1785122999,"priority":1,"record_length":96,"hex_timestamp":"0000019fa19f4ad8"} 
[2026-07-27 09:04:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:04:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:04:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-27 09:04:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:04:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:04:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:04:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:04:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:04:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:04:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:04:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:04:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:04:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:04:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991410688001,"66":25473,"250":206,"85":12544,"24":0,"16":358826040631492608,"45":9192691288818511872},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 09:04:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:04:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:04:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991410688001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:04:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 09:04:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:04:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826040631492608,"km_value":358826040631492.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:04:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192691288818511872,"description":"Unknown IO ID 45"} 
[2026-07-27 09:04:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991410688001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192691288818511872}} 
[2026-07-27 09:04:38] local.INFO: DEBUG: GPS processor result {"connection_id":145120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:04:38] local.INFO: GPS data processed {"connection_id":145120,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:04:38] local.INFO: Acknowledgment sent {"connection_id":145120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:04:45] local.INFO: TCP Data received {"connection_id":145122,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145122,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:04:45] local.INFO: Processing buffer {"connection_id":145122,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:04:45] local.INFO: IMEI packet received {"connection_id":145122,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 09:04:45] local.INFO: IMEI acknowledgment sent {"connection_id":145122,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:04:49] local.INFO: TCP Data received {"connection_id":142692,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 09:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142692,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 09:04:49] local.INFO: Processing buffer {"connection_id":142692,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 09:04:49] local.INFO: IMEI packet received {"connection_id":142692,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 09:04:49] local.INFO: IMEI acknowledgment sent {"connection_id":142692,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:04:50] local.INFO: TCP Data received {"connection_id":145122,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145122,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:04:50] local.INFO: Processing buffer {"connection_id":145122,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:04:50] local.INFO: IMEI packet received {"connection_id":145122,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 09:04:50] local.INFO: IMEI acknowledgment sent {"connection_id":145122,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:04:51] local.INFO: TCP Data received {"connection_id":145122,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1a25430012d0b534007060d580019015e22..."} 
[2026-07-27 09:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145122,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1a25430012d0b534007060d580019015e22..."} 
[2026-07-27 09:04:51] local.INFO: Processing buffer {"connection_id":145122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1a25430012d0b534007060d580019015e22..."} 
[2026-07-27 09:04:51] local.INFO: Packet analysis {"connection_id":145122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1a2"} 
[2026-07-27 09:04:51] local.INFO: Extracted packet for processing {"connection_id":145122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1a2"} 
[2026-07-27 09:04:51] local.INFO: GPS Element Parsed {"raw_longitude":755716928,"raw_latitude":117837144,"longitude_deg":75.5716928,"latitude_deg":11.7837144,"altitude":25,"angle":350,"satellites":34,"speed":0,"hex_longitude":"2d0b5340","hex_latitude":"07060d58","is_valid_coordinates":true} 
[2026-07-27 09:04:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:04:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991533312001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:04:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25825500911894528,"note":"Value kept but may cause issues"} 
[2026-07-27 09:04:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":816066356394678272,"note":"Value kept but may cause issues"} 
[2026-07-27 09:04:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:04:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785123198000,"timestamp_ms":1785123198000,"timestamp_seconds":1785123198,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1a25430"} 
[2026-07-27 09:04:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:04:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09:04:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-27 09:04:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:04:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:04:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:04:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:04:51] local.INFO: Teltonika packet parsed successfully {"connection_id":145122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:04:51] local.INFO: Passing IMEI to GPS processor {"connection_id":145122,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:04:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":145122,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:04:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:04:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 09:04:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 09:04:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991533312001,"66":14396,"165":206,"94":10240,"24":0,"16":25825500911894528,"45":816066356394678272},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-07-27 09:04:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 09:04:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 09:04:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991533312001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:04:51] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-27 09:04:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 09:04:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25825500911894528,"km_value":25825500911894.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:04:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":816066356394678272,"description":"Unknown IO ID 45"} 
[2026-07-27 09:04:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991533312001,"power":14396,"unknown_165":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":816066356394678272}} 
[2026-07-27 09:04:51] local.INFO: DEBUG: GPS processor result {"connection_id":145122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552166,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:04:51] local.INFO: GPS data processed {"connection_id":145122,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:04:51] local.INFO: Acknowledgment sent {"connection_id":145122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:04:56] local.INFO: TCP Data received {"connection_id":145122,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1a2a638012d0b534007060d580019015e20..."} 
[2026-07-27 09:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145122,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1a2a638012d0b534007060d580019015e20..."} 
[2026-07-27 09:04:56] local.INFO: Processing buffer {"connection_id":145122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1a2a638012d0b534007060d580019015e20..."} 
[2026-07-27 09:04:56] local.INFO: Packet analysis {"connection_id":145122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1a2"} 
[2026-07-27 09:04:56] local.INFO: Extracted packet for processing {"connection_id":145122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1a2"} 
[2026-07-27 09:04:56] local.INFO: GPS Element Parsed {"raw_longitude":755716928,"raw_latitude":117837144,"longitude_deg":75.5716928,"latitude_deg":11.7837144,"altitude":25,"angle":350,"satellites":32,"speed":0,"hex_longitude":"2d0b5340","hex_latitude":"07060d58","is_valid_coordinates":true} 
[2026-07-27 09:04:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:04:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991538688001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:04:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25825500911894528,"note":"Value kept but may cause issues"} 
[2026-07-27 09:04:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":816066356394678272,"note":"Value kept but may cause issues"} 
[2026-07-27 09:04:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:04:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785123219000,"timestamp_ms":1785123219000,"timestamp_seconds":1785123219,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1a2a638"} 
[2026-07-27 09:04:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:04:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09:04:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-27 09:04:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:04:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:04:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:04:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:04:56] local.INFO: Teltonika packet parsed successfully {"connection_id":145122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:04:56] local.INFO: Passing IMEI to GPS processor {"connection_id":145122,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:04:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":145122,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:04:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:04:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 09:04:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 09:04:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991538688001,"66":14439,"165":206,"94":10240,"24":0,"16":25825500911894528,"45":816066356394678272},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-07-27 09:04:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 09:04:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 09:04:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991538688001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:04:56] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-27 09:04:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 09:04:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25825500911894528,"km_value":25825500911894.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:04:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":816066356394678272,"description":"Unknown IO ID 45"} 
[2026-07-27 09:04:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991538688001,"power":14439,"unknown_165":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":816066356394678272}} 
[2026-07-27 09:04:56] local.INFO: DEBUG: GPS processor result {"connection_id":145122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552167,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:04:56] local.INFO: GPS data processed {"connection_id":145122,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:04:56] local.INFO: Acknowledgment sent {"connection_id":145122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:05:09] local.INFO: TCP Data received {"connection_id":145120,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1a30010012d7f930005afdaf00007011228..."} 
[2026-07-27 09:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145120,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1a30010012d7f930005afdaf00007011228..."} 
[2026-07-27 09:05:09] local.INFO: Processing buffer {"connection_id":145120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1a30010012d7f930005afdaf00007011228..."} 
[2026-07-27 09:05:09] local.INFO: Packet analysis {"connection_id":145120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1a3"} 
[2026-07-27 09:05:09] local.INFO: Extracted packet for processing {"connection_id":145120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1a3"} 
[2026-07-27 09:05:09] local.INFO: GPS Element Parsed {"raw_longitude":763335424,"raw_latitude":95410928,"longitude_deg":76.3335424,"latitude_deg":9.5410928,"altitude":7,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d7f9300","hex_latitude":"05afdaf0","is_valid_coordinates":true} 
[2026-07-27 09:05:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:05:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991487744001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:05:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826040631492608,"note":"Value kept but may cause issues"} 
[2026-07-27 09:05:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192691288818511872,"note":"Value kept but may cause issues"} 
[2026-07-27 09:05:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:05:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785123242000,"timestamp_ms":1785123242000,"timestamp_seconds":1785123242,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1a30010"} 
[2026-07-27 09:05:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:05:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:05:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-27 09:05:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:05:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:05:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:05:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:05:09] local.INFO: Teltonika packet parsed successfully {"connection_id":145120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:05:09] local.INFO: Passing IMEI to GPS processor {"connection_id":145120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:05:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":145120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09: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-07-27 09:05:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:05:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:05:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991487744001,"66":25473,"250":206,"85":12544,"24":0,"16":358826040631492608,"45":9192691288818511872},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 09:05:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:05:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:05:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991487744001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:05:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 09:05:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:05:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826040631492608,"km_value":358826040631492.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:05:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192691288818511872,"description":"Unknown IO ID 45"} 
[2026-07-27 09:05:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991487744001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192691288818511872}} 
[2026-07-27 09:05:09] local.INFO: DEBUG: GPS processor result {"connection_id":145120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:05:09] local.INFO: GPS data processed {"connection_id":145120,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:05:09] local.INFO: Acknowledgment sent {"connection_id":145120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:05:33] local.INFO: TCP Data received {"connection_id":143796,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:05:33] local.INFO: Processing buffer {"connection_id":143796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:05:33] local.INFO: IMEI packet received {"connection_id":143796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 09:05:33] local.INFO: IMEI acknowledgment sent {"connection_id":143796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:05:37] local.INFO: TCP Data received {"connection_id":143797,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143797,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:05:37] local.INFO: Processing buffer {"connection_id":143797,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:05:37] local.INFO: IMEI packet received {"connection_id":143797,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 09:05:37] local.INFO: IMEI acknowledgment sent {"connection_id":143797,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:05:38] local.INFO: TCP Data received {"connection_id":143796,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:05:38] local.INFO: Processing buffer {"connection_id":143796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:05:38] local.INFO: IMEI packet received {"connection_id":143796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 09:05:38] local.INFO: IMEI acknowledgment sent {"connection_id":143796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:05:38] local.INFO: TCP Data received {"connection_id":143797,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143797,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:05:38] local.INFO: Processing buffer {"connection_id":143797,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:05:38] local.INFO: IMEI packet received {"connection_id":143797,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 09:05:38] local.INFO: IMEI acknowledgment sent {"connection_id":143797,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:05:38] local.INFO: TCP Data received {"connection_id":143796,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1a30bc8012d7f8b0005afd8a0000700fd2a..."} 
[2026-07-27 09:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1a30bc8012d7f8b0005afd8a0000700fd2a..."} 
[2026-07-27 09:05:38] local.INFO: Processing buffer {"connection_id":143796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1a30bc8012d7f8b0005afd8a0000700fd2a..."} 
[2026-07-27 09:05:38] local.INFO: Packet analysis {"connection_id":143796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1a3"} 
[2026-07-27 09:05:38] local.INFO: Extracted packet for processing {"connection_id":143796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1a3"} 
[2026-07-27 09:05:38] local.INFO: GPS Element Parsed {"raw_longitude":763333376,"raw_latitude":95410336,"longitude_deg":76.3333376,"latitude_deg":9.5410336,"altitude":7,"angle":253,"satellites":42,"speed":0,"hex_longitude":"2d7f8b00","hex_latitude":"05afd8a0","is_valid_coordinates":true} 
[2026-07-27 09:05:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:05:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991549952001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:05:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826044926459904,"note":"Value kept but may cause issues"} 
[2026-07-27 09:05:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192691288818511872,"note":"Value kept but may cause issues"} 
[2026-07-27 09:05:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:05:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785123245000,"timestamp_ms":1785123245000,"timestamp_seconds":1785123245,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1a30bc8"} 
[2026-07-27 09:05:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:05:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09:05:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-27 09:05:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:05:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:05:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:05:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:05:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:05:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:05:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:05:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:05:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:05:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:05:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991549952001,"66":25223,"250":206,"85":12544,"24":0,"16":358826044926459904,"45":9192691288818511872},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 09:05:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:05:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:05:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991549952001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:05:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 09:05:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:05:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826044926459904,"km_value":358826044926459.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:05:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192691288818511872,"description":"Unknown IO ID 45"} 
[2026-07-27 09:05:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991549952001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192691288818511872}} 
[2026-07-27 09:05:38] local.INFO: DEBUG: GPS processor result {"connection_id":143796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:05:38] local.INFO: GPS data processed {"connection_id":143796,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:05:38] local.INFO: Acknowledgment sent {"connection_id":143796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:05:40] local.INFO: TCP Data received {"connection_id":143797,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143797,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:05:40] local.INFO: Processing buffer {"connection_id":143797,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:05:40] local.INFO: IMEI packet received {"connection_id":143797,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 09:05:40] local.INFO: IMEI acknowledgment sent {"connection_id":143797,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:05:45] local.INFO: TCP Data received {"connection_id":143797,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143797,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:05:45] local.INFO: Processing buffer {"connection_id":143797,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:05:45] local.INFO: IMEI packet received {"connection_id":143797,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 09:05:45] local.INFO: IMEI acknowledgment sent {"connection_id":143797,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:05:46] local.INFO: TCP Data received {"connection_id":143797,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1a2f070012d0b530007060d80001900c21f..."} 
[2026-07-27 09:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143797,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1a2f070012d0b530007060d80001900c21f..."} 
[2026-07-27 09:05:46] local.INFO: Processing buffer {"connection_id":143797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1a2f070012d0b530007060d80001900c21f..."} 
[2026-07-27 09:05:46] local.INFO: Packet analysis {"connection_id":143797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1a2"} 
[2026-07-27 09:05:46] local.INFO: Extracted packet for processing {"connection_id":143797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1a2"} 
[2026-07-27 09:05:46] local.INFO: GPS Element Parsed {"raw_longitude":755716864,"raw_latitude":117837184,"longitude_deg":75.5716864,"latitude_deg":11.7837184,"altitude":25,"angle":194,"satellites":31,"speed":1,"hex_longitude":"2d0b5300","hex_latitude":"07060d80","is_valid_coordinates":true} 
[2026-07-27 09:05:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:05:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991544064001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:05:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25825505206861824,"note":"Value kept but may cause issues"} 
[2026-07-27 09:05:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":816066356394678272,"note":"Value kept but may cause issues"} 
[2026-07-27 09:05:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:05:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785123238000,"timestamp_ms":1785123238000,"timestamp_seconds":1785123238,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1a2f070"} 
[2026-07-27 09:05:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:05:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09:05:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-27 09:05:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:05:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:05:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:05:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:05:46] local.INFO: Teltonika packet parsed successfully {"connection_id":143797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:05:46] local.INFO: Passing IMEI to GPS processor {"connection_id":143797,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:05:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":143797,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:05:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:05:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 09:05:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 09:05:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991544064001,"66":14450,"165":206,"94":10240,"24":1,"16":25825505206861824,"45":816066356394678272},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-07-27 09:05:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 09:05:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 09:05:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991544064001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:05:46] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-27 09:05:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 09:05:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25825505206861824,"km_value":25825505206861.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:05:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":816066356394678272,"description":"Unknown IO ID 45"} 
[2026-07-27 09:05:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991544064001,"power":14450,"unknown_165":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":816066356394678272}} 
[2026-07-27 09:05:46] local.INFO: DEBUG: GPS processor result {"connection_id":143797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552170,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:05:46] local.INFO: GPS data processed {"connection_id":143797,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:05:46] local.INFO: Acknowledgment sent {"connection_id":143797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:06:09] local.INFO: TCP Data received {"connection_id":143796,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1a35dd0012d7f8b0005afd8c8000701032a..."} 
[2026-07-27 09:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1a35dd0012d7f8b0005afd8c8000701032a..."} 
[2026-07-27 09:06:09] local.INFO: Processing buffer {"connection_id":143796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1a35dd0012d7f8b0005afd8c8000701032a..."} 
[2026-07-27 09:06:09] local.INFO: Packet analysis {"connection_id":143796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1a3"} 
[2026-07-27 09:06:09] local.INFO: Extracted packet for processing {"connection_id":143796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1a3"} 
[2026-07-27 09:06:09] local.INFO: GPS Element Parsed {"raw_longitude":763333376,"raw_latitude":95410376,"longitude_deg":76.3333376,"latitude_deg":9.5410376,"altitude":7,"angle":259,"satellites":42,"speed":0,"hex_longitude":"2d7f8b00","hex_latitude":"05afd8c8","is_valid_coordinates":true} 
[2026-07-27 09:06:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:06:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991550720001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:06:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826057811361792,"note":"Value kept but may cause issues"} 
[2026-07-27 09:06:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190439489004675072,"note":"Value kept but may cause issues"} 
[2026-07-27 09:06:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:06:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785123266000,"timestamp_ms":1785123266000,"timestamp_seconds":1785123266,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1a35dd0"} 
[2026-07-27 09:06:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:06:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":135,"data_length":795,"current_offset":136} 
[2026-07-27 09:06:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:06:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:06:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:06:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:06:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:06:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:06:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:06:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:06:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:06:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:06:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991550720001,"66":27539,"250":206,"85":12544,"24":0,"16":358826057811361792,"45":9190439489004675072},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 09:06:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:06:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:06:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991550720001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:06:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 09:06:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:06:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826057811361792,"km_value":358826057811361.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:06:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190439489004675072,"description":"Unknown IO ID 45"} 
[2026-07-27 09:06:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991550720001,"power":27539,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190439489004675072}} 
[2026-07-27 09:06:09] local.INFO: DEBUG: GPS processor result {"connection_id":143796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:06:09] local.INFO: GPS data processed {"connection_id":143796,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:06:09] local.INFO: Acknowledgment sent {"connection_id":143796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:06:17] local.INFO: TCP Data received {"connection_id":143797,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1a4b1a8012d0b2a8007060948001600b520..."} 
[2026-07-27 09:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143797,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1a4b1a8012d0b2a8007060948001600b520..."} 
[2026-07-27 09:06:17] local.INFO: Processing buffer {"connection_id":143797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1a4b1a8012d0b2a8007060948001600b520..."} 
[2026-07-27 09:06:17] local.INFO: Packet analysis {"connection_id":143797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1a4"} 
[2026-07-27 09:06:17] local.INFO: Extracted packet for processing {"connection_id":143797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1a4"} 
[2026-07-27 09:06:17] local.INFO: GPS Element Parsed {"raw_longitude":755706496,"raw_latitude":117836104,"longitude_deg":75.5706496,"latitude_deg":11.7836104,"altitude":22,"angle":181,"satellites":32,"speed":23,"hex_longitude":"2d0b2a80","hex_latitude":"07060948","is_valid_coordinates":true} 
[2026-07-27 09: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-07-27 09:06:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991577088001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:06:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25826355610386432,"note":"Value kept but may cause issues"} 
[2026-07-27 09:06:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":804103669884739584,"note":"Value kept but may cause issues"} 
[2026-07-27 09:06:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:06:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785123353000,"timestamp_ms":1785123353000,"timestamp_seconds":1785123353,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1a4b1a8"} 
[2026-07-27 09:06:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:06:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-27 09:06:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09: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-07-27 09:06:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:06:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:06:17] local.INFO: Teltonika packet parsed successfully {"connection_id":143797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:06:17] local.INFO: Passing IMEI to GPS processor {"connection_id":143797,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:06:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":143797,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:06:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:06:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 09:06:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 09:06:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991577088001,"66":14396,"165":206,"94":10240,"24":23,"16":25826355610386432,"45":804103669884739584},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-07-27 09:06:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 09:06:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 09:06:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991577088001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:06:17] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-27 09:06:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 09:06:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25826355610386432,"km_value":25826355610386.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:06:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":804103669884739584,"description":"Unknown IO ID 45"} 
[2026-07-27 09:06:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991577088001,"power":14396,"unknown_165":206,"unknown_94":10240,"ignition":23,"odometer":null,"unknown_45":804103669884739584}} 
[2026-07-27 09:06:17] local.INFO: DEBUG: GPS processor result {"connection_id":143797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552172,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:06:17] local.INFO: GPS data processed {"connection_id":143797,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:06:17] local.INFO: Acknowledgment sent {"connection_id":143797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:06:32] local.INFO: TCP Data received {"connection_id":145124,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:06:32] local.INFO: Processing buffer {"connection_id":145124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:06:32] local.INFO: IMEI packet received {"connection_id":145124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 09:06:32] local.INFO: IMEI acknowledgment sent {"connection_id":145124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:06:37] local.INFO: TCP Data received {"connection_id":142816,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142816,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:06:37] local.INFO: Processing buffer {"connection_id":142816,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:06:37] local.INFO: IMEI packet received {"connection_id":142816,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 09:06:37] local.INFO: IMEI acknowledgment sent {"connection_id":142816,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:06:38] local.INFO: TCP Data received {"connection_id":145124,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:06:38] local.INFO: Processing buffer {"connection_id":145124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:06:38] local.INFO: IMEI packet received {"connection_id":145124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 09:06:38] local.INFO: IMEI acknowledgment sent {"connection_id":145124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:06:38] local.INFO: TCP Data received {"connection_id":145124,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1a3afd8012d7f8ac005afd8c00007010329..."} 
[2026-07-27 09:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145124,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1a3afd8012d7f8ac005afd8c00007010329..."} 
[2026-07-27 09:06:38] local.INFO: Processing buffer {"connection_id":145124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1a3afd8012d7f8ac005afd8c00007010329..."} 
[2026-07-27 09:06:38] local.INFO: Packet analysis {"connection_id":145124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1a3"} 
[2026-07-27 09:06:38] local.INFO: Extracted packet for processing {"connection_id":145124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1a3"} 
[2026-07-27 09:06:38] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95410368,"longitude_deg":76.3333312,"latitude_deg":9.5410368,"altitude":7,"angle":259,"satellites":41,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afd8c0","is_valid_coordinates":true} 
[2026-07-27 09:06:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:06:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991556096001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:06:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826066401296384,"note":"Value kept but may cause issues"} 
[2026-07-27 09:06:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190439489004685312,"note":"Value kept but may cause issues"} 
[2026-07-27 09:06:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:06:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785123287000,"timestamp_ms":1785123287000,"timestamp_seconds":1785123287,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1a3afd8"} 
[2026-07-27 09:06:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:06:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09:06:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-07-27 09:06:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2056,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:06:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:06:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:06:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:06:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:06:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:06:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:06:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:06:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:06:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:06:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991556096001,"66":27843,"250":206,"85":12544,"24":0,"16":358826066401296384,"45":9190439489004685312},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 09:06:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:06:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:06:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991556096001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:06:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 09:06:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:06:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826066401296384,"km_value":358826066401296.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:06:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190439489004685312,"description":"Unknown IO ID 45"} 
[2026-07-27 09:06:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991556096001,"power":27843,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190439489004685312}} 
[2026-07-27 09:06:38] local.INFO: DEBUG: GPS processor result {"connection_id":145124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:06:38] local.INFO: GPS data processed {"connection_id":145124,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:06:38] local.INFO: Acknowledgment sent {"connection_id":145124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:06:41] local.INFO: TCP Data received {"connection_id":142816,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142816,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:06:41] local.INFO: Processing buffer {"connection_id":142816,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:06:41] local.INFO: IMEI packet received {"connection_id":142816,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 09:06:41] local.INFO: IMEI acknowledgment sent {"connection_id":142816,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:06:45] local.INFO: TCP Data received {"connection_id":142816,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142816,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:06:45] local.INFO: Processing buffer {"connection_id":142816,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:06:45] local.INFO: IMEI packet received {"connection_id":142816,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 09:06:45] local.INFO: IMEI acknowledgment sent {"connection_id":142816,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:06:46] local.INFO: TCP Data received {"connection_id":142816,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1a4bd60012d0b2940070601c0001700c323..."} 
[2026-07-27 09:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1a4bd60012d0b2940070601c0001700c323..."} 
[2026-07-27 09:06:46] local.INFO: Processing buffer {"connection_id":142816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1a4bd60012d0b2940070601c0001700c323..."} 
[2026-07-27 09:06:46] local.INFO: Packet analysis {"connection_id":142816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1a4"} 
[2026-07-27 09:06:46] local.INFO: Extracted packet for processing {"connection_id":142816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1a4"} 
[2026-07-27 09:06:46] local.INFO: GPS Element Parsed {"raw_longitude":755706176,"raw_latitude":117834176,"longitude_deg":75.5706176,"latitude_deg":11.7834176,"altitude":23,"angle":195,"satellites":35,"speed":29,"hex_longitude":"2d0b2940","hex_latitude":"070601c0","is_valid_coordinates":true} 
[2026-07-27 09:06:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:06:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991578368001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:06:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25826450099666944,"note":"Value kept but may cause issues"} 
[2026-07-27 09:06:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":804596251093452800,"note":"Value kept but may cause issues"} 
[2026-07-27 09:06:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:06:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785123356000,"timestamp_ms":1785123356000,"timestamp_seconds":1785123356,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1a4bd60"} 
[2026-07-27 09:06:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:06:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09:06:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-27 09:06:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:06:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:06:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:06:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:06:46] local.INFO: Teltonika packet parsed successfully {"connection_id":142816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:06:46] local.INFO: Passing IMEI to GPS processor {"connection_id":142816,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:06:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":142816,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:06:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:06:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 09:06:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 09:06:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991578368001,"66":14428,"165":206,"94":10240,"24":29,"16":25826450099666944,"45":804596251093452800},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-07-27 09:06:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 09:06:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 09:06:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991578368001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:06:46] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-27 09:06:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 09:06:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25826450099666944,"km_value":25826450099666.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:06:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":804596251093452800,"description":"Unknown IO ID 45"} 
[2026-07-27 09:06:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991578368001,"power":14428,"unknown_165":206,"unknown_94":10240,"ignition":29,"odometer":null,"unknown_45":804596251093452800}} 
[2026-07-27 09:06:46] local.INFO: DEBUG: GPS processor result {"connection_id":142816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552174,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:06:46] local.INFO: GPS data processed {"connection_id":142816,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:06:46] local.INFO: Acknowledgment sent {"connection_id":142816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:07:09] local.INFO: TCP Data received {"connection_id":145124,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1a401e0012d7f8ac005afd8f0000701032a..."} 
[2026-07-27 09:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145124,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1a401e0012d7f8ac005afd8f0000701032a..."} 
[2026-07-27 09:07:09] local.INFO: Processing buffer {"connection_id":145124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1a401e0012d7f8ac005afd8f0000701032a..."} 
[2026-07-27 09:07:09] local.INFO: Packet analysis {"connection_id":145124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1a4"} 
[2026-07-27 09:07:09] local.INFO: Extracted packet for processing {"connection_id":145124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1a4"} 
[2026-07-27 09:07:09] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95410416,"longitude_deg":76.3333312,"latitude_deg":9.5410416,"altitude":7,"angle":259,"satellites":42,"speed":0,"hex_longitude":"2d7f8ac0","hex_latitude":"05afd8f0","is_valid_coordinates":true} 
[2026-07-27 09:07:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:07:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991561472001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:07:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826083581165568,"note":"Value kept but may cause issues"} 
[2026-07-27 09:07:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120260505600,"note":"Value kept but may cause issues"} 
[2026-07-27 09:07:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:07:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785123308000,"timestamp_ms":1785123308000,"timestamp_seconds":1785123308,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1a401e0"} 
[2026-07-27 09:07:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:07:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09:07:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-27 09:07:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:07:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:07:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:07:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:07:09] local.INFO: Teltonika packet parsed successfully {"connection_id":145124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:07:09] local.INFO: Passing IMEI to GPS processor {"connection_id":145124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:07:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":145124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09: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-07-27 09:07:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:07:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:07:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991561472001,"66":28050,"250":206,"85":12544,"24":0,"16":358826083581165568,"45":9190369120260505600},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 09:07:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:07:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:07:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991561472001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:07:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 09:07:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:07:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826083581165568,"km_value":358826083581165.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:07:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120260505600,"description":"Unknown IO ID 45"} 
[2026-07-27 09:07:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991561472001,"power":28050,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190369120260505600}} 
[2026-07-27 09:07:09] local.INFO: DEBUG: GPS processor result {"connection_id":145124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:07:09] local.INFO: GPS data processed {"connection_id":145124,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:07:09] local.INFO: Acknowledgment sent {"connection_id":145124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:07:17] local.INFO: TCP Data received {"connection_id":142816,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1a5c318012d0af44007059780002100ff23..."} 
[2026-07-27 09:07:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1a5c318012d0af44007059780002100ff23..."} 
[2026-07-27 09:07:17] local.INFO: Processing buffer {"connection_id":142816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1a5c318012d0af44007059780002100ff23..."} 
[2026-07-27 09:07:17] local.INFO: Packet analysis {"connection_id":142816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1a5"} 
[2026-07-27 09:07:17] local.INFO: Extracted packet for processing {"connection_id":142816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1a5"} 
[2026-07-27 09:07:17] local.INFO: GPS Element Parsed {"raw_longitude":755692608,"raw_latitude":117806976,"longitude_deg":75.5692608,"latitude_deg":11.7806976,"altitude":33,"angle":255,"satellites":35,"speed":7,"hex_longitude":"2d0af440","hex_latitude":"07059780","is_valid_coordinates":true} 
[2026-07-27 09: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-07-27 09:07:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991595776001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:07:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25828262575865856,"note":"Value kept but may cause issues"} 
[2026-07-27 09:07:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":789748446064541696,"note":"Value kept but may cause issues"} 
[2026-07-27 09:07:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:07:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785123423000,"timestamp_ms":1785123423000,"timestamp_seconds":1785123423,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1a5c318"} 
[2026-07-27 09:07:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:07:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09: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":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-27 09:07:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2237,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09: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-07-27 09:07:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:07:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:07:17] local.INFO: Teltonika packet parsed successfully {"connection_id":142816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:07:17] local.INFO: Passing IMEI to GPS processor {"connection_id":142816,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:07:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":142816,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:07:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:07:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 09:07:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 09:07:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991595776001,"66":14363,"165":206,"94":10240,"24":7,"16":25828262575865856,"45":789748446064541696},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-07-27 09:07:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 09:07:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 09:07:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991595776001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:07:17] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-27 09:07:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 09:07:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25828262575865856,"km_value":25828262575865.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:07:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":789748446064541696,"description":"Unknown IO ID 45"} 
[2026-07-27 09:07:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991595776001,"power":14363,"unknown_165":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":789748446064541696}} 
[2026-07-27 09:07:17] local.INFO: DEBUG: GPS processor result {"connection_id":142816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552176,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:07:17] local.INFO: GPS data processed {"connection_id":142816,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:07:17] local.INFO: Acknowledgment sent {"connection_id":142816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:07:32] local.INFO: TCP Data received {"connection_id":143801,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:07:32] local.INFO: Processing buffer {"connection_id":143801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:07:32] local.INFO: IMEI packet received {"connection_id":143801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 09:07:32] local.INFO: IMEI acknowledgment sent {"connection_id":143801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:07:35] local.INFO: TCP Data received {"connection_id":143799,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143799,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:07:35] local.INFO: Processing buffer {"connection_id":143799,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:07:35] local.INFO: IMEI packet received {"connection_id":143799,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 09:07:35] local.INFO: IMEI acknowledgment sent {"connection_id":143799,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:07:36] local.INFO: TCP Data received {"connection_id":143799,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1a2fc28012d7d31c005ec0d100008010425..."} 
[2026-07-27 09:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1a2fc28012d7d31c005ec0d100008010425..."} 
[2026-07-27 09:07:36] local.INFO: Processing buffer {"connection_id":143799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1a2fc28012d7d31c005ec0d100008010425..."} 
[2026-07-27 09:07:36] local.INFO: Packet analysis {"connection_id":143799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1a2"} 
[2026-07-27 09:07:36] local.INFO: Extracted packet for processing {"connection_id":143799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1a2"} 
[2026-07-27 09:07:36] local.INFO: GPS Element Parsed {"raw_longitude":763179456,"raw_latitude":99355920,"longitude_deg":76.3179456,"latitude_deg":9.935592,"altitude":8,"angle":260,"satellites":37,"speed":2,"hex_longitude":"2d7d31c0","hex_latitude":"05ec0d10","is_valid_coordinates":true} 
[2026-07-27 09:07:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:07:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991548928001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:07:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111588279756783616,"note":"Value kept but may cause issues"} 
[2026-07-27 09:07:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021554503988406272,"note":"Value kept but may cause issues"} 
[2026-07-27 09:07:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:07:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785123241000,"timestamp_ms":1785123241000,"timestamp_seconds":1785123241,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1a2fc28"} 
[2026-07-27 09:07:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:07:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09:07:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-27 09:07:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:07:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:07:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:07:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:07:36] local.INFO: Teltonika packet parsed successfully {"connection_id":143799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:07:36] local.INFO: Passing IMEI to GPS processor {"connection_id":143799,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:07:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":143799,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:07:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:07:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 09:07:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 09:07:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991548928001,"66":13015,"110":206,"87":13824,"24":2,"16":111588279756783616,"45":9021554503988406272},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-27 09:07:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 09:07:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 09:07:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991548928001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:07:36] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-27 09:07:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 09:07:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111588279756783616,"km_value":111588279756783.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:07:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021554503988406272,"description":"Unknown IO ID 45"} 
[2026-07-27 09:07:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991548928001,"power":13015,"unknown_110":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":9021554503988406272}} 
[2026-07-27 09:07:36] local.INFO: DEBUG: GPS processor result {"connection_id":143799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552177,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:07:36] local.INFO: GPS data processed {"connection_id":143799,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:07:36] local.INFO: Acknowledgment sent {"connection_id":143799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:07:38] local.INFO: TCP Data received {"connection_id":143801,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:07:38] local.INFO: Processing buffer {"connection_id":143801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:07:38] local.INFO: IMEI packet received {"connection_id":143801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 09:07:38] local.INFO: IMEI acknowledgment sent {"connection_id":143801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:07:38] local.INFO: TCP Data received {"connection_id":143801,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1a40d98012d7f8ac005afd900000700482b..."} 
[2026-07-27 09:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1a40d98012d7f8ac005afd900000700482b..."} 
[2026-07-27 09:07:38] local.INFO: Processing buffer {"connection_id":143801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1a40d98012d7f8ac005afd900000700482b..."} 
[2026-07-27 09:07:38] local.INFO: Packet analysis {"connection_id":143801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1a4"} 
[2026-07-27 09:07:38] local.INFO: Extracted packet for processing {"connection_id":143801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1a4"} 
[2026-07-27 09:07:38] local.INFO: GPS Element Parsed {"raw_longitude":763333312,"raw_latitude":95410432,"longitude_deg":76.3333312,"latitude_deg":9.5410432,"altitude":7,"angle":72,"satellites":43,"speed":1,"hex_longitude":"2d7f8ac0","hex_latitude":"05afd900","is_valid_coordinates":true} 
[2026-07-27 09:07:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:07:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991566848001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:07:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826083581165568,"note":"Value kept but may cause issues"} 
[2026-07-27 09:07:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120260517888,"note":"Value kept but may cause issues"} 
[2026-07-27 09:07:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:07:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785123311000,"timestamp_ms":1785123311000,"timestamp_seconds":1785123311,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1a40d98"} 
[2026-07-27 09:07:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:07:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09:07:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-27 09:07:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:07:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:07:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:07:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:07:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:07:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:07:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:07:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:07:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:07:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:07:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991566848001,"66":27887,"250":206,"85":12544,"24":1,"16":358826083581165568,"45":9190369120260517888},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 09:07:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:07:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:07:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991566848001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:07:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 09:07:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:07:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826083581165568,"km_value":358826083581165.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:07:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120260517888,"description":"Unknown IO ID 45"} 
[2026-07-27 09:07:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991566848001,"power":27887,"unknown_250":206,"unknown_85":12544,"ignition":1,"odometer":null,"unknown_45":9190369120260517888}} 
[2026-07-27 09:07:38] local.INFO: DEBUG: GPS processor result {"connection_id":143801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:07:38] local.INFO: GPS data processed {"connection_id":143801,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:07:38] local.INFO: Acknowledgment sent {"connection_id":143801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:07:45] local.INFO: TCP Data received {"connection_id":142817,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142817,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:07:45] local.INFO: Processing buffer {"connection_id":142817,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:07:45] local.INFO: IMEI packet received {"connection_id":142817,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 09:07:45] local.INFO: IMEI acknowledgment sent {"connection_id":142817,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:07:46] local.INFO: TCP Data received {"connection_id":142817,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142817,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:07:46] local.INFO: Processing buffer {"connection_id":142817,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:07:46] local.INFO: IMEI packet received {"connection_id":142817,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 09:07:46] local.INFO: IMEI acknowledgment sent {"connection_id":142817,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:07:50] local.INFO: TCP Data received {"connection_id":142817,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142817,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:07:50] local.INFO: Processing buffer {"connection_id":142817,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:07:50] local.INFO: IMEI packet received {"connection_id":142817,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 09:07:50] local.INFO: IMEI acknowledgment sent {"connection_id":142817,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:07:51] local.INFO: TCP Data received {"connection_id":142817,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1a5ee10012d0ae540070592f00024011d23..."} 
[2026-07-27 09:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1a5ee10012d0ae540070592f00024011d23..."} 
[2026-07-27 09:07:51] local.INFO: Processing buffer {"connection_id":142817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1a5ee10012d0ae540070592f00024011d23..."} 
[2026-07-27 09:07:51] local.INFO: Packet analysis {"connection_id":142817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1a5"} 
[2026-07-27 09:07:51] local.INFO: Extracted packet for processing {"connection_id":142817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1a5"} 
[2026-07-27 09:07:51] local.INFO: GPS Element Parsed {"raw_longitude":755688768,"raw_latitude":117805808,"longitude_deg":75.5688768,"latitude_deg":11.7805808,"altitude":36,"angle":285,"satellites":35,"speed":13,"hex_longitude":"2d0ae540","hex_latitude":"070592f0","is_valid_coordinates":true} 
[2026-07-27 09:07:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:07:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991596288001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:07:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25828451554426880,"note":"Value kept but may cause issues"} 
[2026-07-27 09:07:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":789326233599442944,"note":"Value kept but may cause issues"} 
[2026-07-27 09:07:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:07:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785123434000,"timestamp_ms":1785123434000,"timestamp_seconds":1785123434,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1a5ee10"} 
[2026-07-27 09:07:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:07:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09:07:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-07-27 09:07:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:07:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:07:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:07:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:07:51] local.INFO: Teltonika packet parsed successfully {"connection_id":142817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:07:51] local.INFO: Passing IMEI to GPS processor {"connection_id":142817,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:07:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":142817,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:07:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:07:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 09:07:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 09:07:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991596288001,"66":14407,"165":206,"94":10240,"24":13,"16":25828451554426880,"45":789326233599442944},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-07-27 09:07:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 09:07:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 09:07:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991596288001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:07:51] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-27 09:07:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 09:07:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25828451554426880,"km_value":25828451554426.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:07:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":789326233599442944,"description":"Unknown IO ID 45"} 
[2026-07-27 09:07:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991596288001,"power":14407,"unknown_165":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":789326233599442944}} 
[2026-07-27 09:07:52] local.INFO: DEBUG: GPS processor result {"connection_id":142817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552179,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:07:52] local.INFO: GPS data processed {"connection_id":142817,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:07:52] local.INFO: Acknowledgment sent {"connection_id":142817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:07:56] local.INFO: TCP Data received {"connection_id":142817,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1a5f1f8012d0ae400070593900025012c23..."} 
[2026-07-27 09:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1a5f1f8012d0ae400070593900025012c23..."} 
[2026-07-27 09:07:56] local.INFO: Processing buffer {"connection_id":142817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1a5f1f8012d0ae400070593900025012c23..."} 
[2026-07-27 09:07:56] local.INFO: Packet analysis {"connection_id":142817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1a5"} 
[2026-07-27 09:07:56] local.INFO: Extracted packet for processing {"connection_id":142817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1a5"} 
[2026-07-27 09:07:56] local.INFO: GPS Element Parsed {"raw_longitude":755688448,"raw_latitude":117805968,"longitude_deg":75.5688448,"latitude_deg":11.7805968,"altitude":37,"angle":300,"satellites":35,"speed":13,"hex_longitude":"2d0ae400","hex_latitude":"07059390","is_valid_coordinates":true} 
[2026-07-27 09:07:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:07:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991599104001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:07:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25828468734296064,"note":"Value kept but may cause issues"} 
[2026-07-27 09:07:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":785104108948484096,"note":"Value kept but may cause issues"} 
[2026-07-27 09:07:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:07:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785123435000,"timestamp_ms":1785123435000,"timestamp_seconds":1785123435,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1a5f1f8"} 
[2026-07-27 09:07:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:07:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09:07:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-27 09:07:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:07:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:07:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:07:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:07:56] local.INFO: Teltonika packet parsed successfully {"connection_id":142817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:07:56] local.INFO: Passing IMEI to GPS processor {"connection_id":142817,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:07:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":142817,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:07:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:07:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 09:07:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 09:07:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991599104001,"66":14407,"165":206,"94":10240,"24":13,"16":25828468734296064,"45":785104108948484096},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-07-27 09:07:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 09:07:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 09:07:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991599104001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:07:56] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-27 09:07:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 09:07:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25828468734296064,"km_value":25828468734296.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:07:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":785104108948484096,"description":"Unknown IO ID 45"} 
[2026-07-27 09:07:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991599104001,"power":14407,"unknown_165":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":785104108948484096}} 
[2026-07-27 09:07:56] local.INFO: DEBUG: GPS processor result {"connection_id":142817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552180,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:07:56] local.INFO: GPS data processed {"connection_id":142817,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:07:56] local.INFO: Acknowledgment sent {"connection_id":142817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:08:07] local.INFO: TCP Data received {"connection_id":143799,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1a30010012d7d318005ec0ce80008011b24..."} 
[2026-07-27 09:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1a30010012d7d318005ec0ce80008011b24..."} 
[2026-07-27 09:08:07] local.INFO: Processing buffer {"connection_id":143799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1a30010012d7d318005ec0ce80008011b24..."} 
[2026-07-27 09:08:07] local.INFO: Packet analysis {"connection_id":143799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1a3"} 
[2026-07-27 09:08:07] local.INFO: Extracted packet for processing {"connection_id":143799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1a3"} 
[2026-07-27 09:08:07] local.INFO: GPS Element Parsed {"raw_longitude":763179392,"raw_latitude":99355880,"longitude_deg":76.3179392,"latitude_deg":9.935588,"altitude":8,"angle":283,"satellites":36,"speed":2,"hex_longitude":"2d7d3180","hex_latitude":"05ec0ce8","is_valid_coordinates":true} 
[2026-07-27 09:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:08:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991549696001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:08:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111588284051750912,"note":"Value kept but may cause issues"} 
[2026-07-27 09:08:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021202660267462656,"note":"Value kept but may cause issues"} 
[2026-07-27 09:08:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:08:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785123242000,"timestamp_ms":1785123242000,"timestamp_seconds":1785123242,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1a30010"} 
[2026-07-27 09:08:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:08:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-27 09:08:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:08:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:08:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:08:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:08:07] local.INFO: Teltonika packet parsed successfully {"connection_id":143799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:08:07] local.INFO: Passing IMEI to GPS processor {"connection_id":143799,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:08:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":143799,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:08:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:08:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 09:08:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 09:08:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991549696001,"66":12722,"110":206,"87":13824,"24":2,"16":111588284051750912,"45":9021202660267462656},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-27 09:08:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 09:08:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 09:08:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991549696001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:08:07] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-27 09:08:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 09:08:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111588284051750912,"km_value":111588284051750.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:08:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021202660267462656,"description":"Unknown IO ID 45"} 
[2026-07-27 09:08:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991549696001,"power":12722,"unknown_110":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":9021202660267462656}} 
[2026-07-27 09:08:07] local.INFO: DEBUG: GPS processor result {"connection_id":143799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552181,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:08:07] local.INFO: GPS data processed {"connection_id":143799,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:08:07] local.INFO: Acknowledgment sent {"connection_id":143799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:08:09] local.INFO: TCP Data received {"connection_id":143801,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1a42508012d7f8b4005afd9080007006a2b..."} 
[2026-07-27 09:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1a42508012d7f8b4005afd9080007006a2b..."} 
[2026-07-27 09:08:09] local.INFO: Processing buffer {"connection_id":143801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1a42508012d7f8b4005afd9080007006a2b..."} 
[2026-07-27 09:08:09] local.INFO: Packet analysis {"connection_id":143801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1a4"} 
[2026-07-27 09:08:09] local.INFO: Extracted packet for processing {"connection_id":143801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1a4"} 
[2026-07-27 09:08:09] local.INFO: GPS Element Parsed {"raw_longitude":763333440,"raw_latitude":95410440,"longitude_deg":76.333344,"latitude_deg":9.541044,"altitude":7,"angle":106,"satellites":43,"speed":1,"hex_longitude":"2d7f8b40","hex_latitude":"05afd908","is_valid_coordinates":true} 
[2026-07-27 09:08:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:08:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991567616001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:08:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826092171100160,"note":"Value kept but may cause issues"} 
[2026-07-27 09:08:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190369120260521984,"note":"Value kept but may cause issues"} 
[2026-07-27 09:08:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:08:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785123317000,"timestamp_ms":1785123317000,"timestamp_seconds":1785123317,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1a42508"} 
[2026-07-27 09:08:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:08:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-27 09:08:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:08:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:08:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:08:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:08:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:08:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:08:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09: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-07-27 09:08:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:08:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:08:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991567616001,"66":27919,"250":206,"85":12544,"24":1,"16":358826092171100160,"45":9190369120260521984},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 09:08:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:08:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:08:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991567616001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:08:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 09:08:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:08:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826092171100160,"km_value":358826092171100.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:08:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190369120260521984,"description":"Unknown IO ID 45"} 
[2026-07-27 09:08:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991567616001,"power":27919,"unknown_250":206,"unknown_85":12544,"ignition":1,"odometer":null,"unknown_45":9190369120260521984}} 
[2026-07-27 09:08:09] local.INFO: DEBUG: GPS processor result {"connection_id":143801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:08:09] local.INFO: GPS data processed {"connection_id":143801,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:08:09] local.INFO: Acknowledgment sent {"connection_id":143801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:08:30] local.INFO: TCP Data received {"connection_id":145126,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145126,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:08:30] local.INFO: Processing buffer {"connection_id":145126,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:08:30] local.INFO: IMEI packet received {"connection_id":145126,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 09:08:30] local.INFO: IMEI acknowledgment sent {"connection_id":145126,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:08:32] local.INFO: TCP Data received {"connection_id":145127,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:08:32] local.INFO: Processing buffer {"connection_id":145127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:08:32] local.INFO: IMEI packet received {"connection_id":145127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 09:08:32] local.INFO: IMEI acknowledgment sent {"connection_id":145127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:08:35] local.INFO: TCP Data received {"connection_id":145126,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145126,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:08:35] local.INFO: Processing buffer {"connection_id":145126,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:08:35] local.INFO: IMEI packet received {"connection_id":145126,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 09:08:35] local.INFO: IMEI acknowledgment sent {"connection_id":145126,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:08:36] local.INFO: TCP Data received {"connection_id":145126,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1a307e0012d7d310005ec0cc00008011024..."} 
[2026-07-27 09:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1a307e0012d7d310005ec0cc00008011024..."} 
[2026-07-27 09:08:36] local.INFO: Processing buffer {"connection_id":145126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1a307e0012d7d310005ec0cc00008011024..."} 
[2026-07-27 09:08:36] local.INFO: Packet analysis {"connection_id":145126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1a3"} 
[2026-07-27 09:08:36] local.INFO: Extracted packet for processing {"connection_id":145126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1a3"} 
[2026-07-27 09:08:36] local.INFO: GPS Element Parsed {"raw_longitude":763179264,"raw_latitude":99355840,"longitude_deg":76.3179264,"latitude_deg":9.935584,"altitude":8,"angle":272,"satellites":36,"speed":0,"hex_longitude":"2d7d3100","hex_latitude":"05ec0cc0","is_valid_coordinates":true} 
[2026-07-27 09:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:08:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991549952001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:08:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111588292641685504,"note":"Value kept but may cause issues"} 
[2026-07-27 09:08:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021132291523274752,"note":"Value kept but may cause issues"} 
[2026-07-27 09:08:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:08:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785123244000,"timestamp_ms":1785123244000,"timestamp_seconds":1785123244,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1a307e0"} 
[2026-07-27 09:08:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:08:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-27 09:08:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:08:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:08:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:08:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:08:36] local.INFO: Teltonika packet parsed successfully {"connection_id":145126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:08:36] local.INFO: Passing IMEI to GPS processor {"connection_id":145126,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:08:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":145126,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:08:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:08:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 09:08:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 09:08:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991549952001,"66":12928,"110":206,"87":13824,"24":0,"16":111588292641685504,"45":9021132291523274752},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-27 09:08:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 09:08:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 09:08:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991549952001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:08:36] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-27 09:08:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 09:08:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111588292641685504,"km_value":111588292641685.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:08:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021132291523274752,"description":"Unknown IO ID 45"} 
[2026-07-27 09:08:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991549952001,"power":12928,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021132291523274752}} 
[2026-07-27 09:08:36] local.INFO: DEBUG: GPS processor result {"connection_id":145126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552183,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:08:36] local.INFO: GPS data processed {"connection_id":145126,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:08:36] local.INFO: Acknowledgment sent {"connection_id":145126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:08:38] local.INFO: TCP Data received {"connection_id":145127,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:08:38] local.INFO: Processing buffer {"connection_id":145127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:08:38] local.INFO: IMEI packet received {"connection_id":145127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 09:08:38] local.INFO: IMEI acknowledgment sent {"connection_id":145127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:08:38] local.INFO: TCP Data received {"connection_id":145127,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1a434a8012d7f8bc005afd920000700412b..."} 
[2026-07-27 09:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145127,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1a434a8012d7f8bc005afd920000700412b..."} 
[2026-07-27 09:08:38] local.INFO: Processing buffer {"connection_id":145127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1a434a8012d7f8bc005afd920000700412b..."} 
[2026-07-27 09:08:38] local.INFO: Packet analysis {"connection_id":145127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1a4"} 
[2026-07-27 09:08:38] local.INFO: Extracted packet for processing {"connection_id":145127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1a4"} 
[2026-07-27 09:08:38] local.INFO: GPS Element Parsed {"raw_longitude":763333568,"raw_latitude":95410464,"longitude_deg":76.3333568,"latitude_deg":9.5410464,"altitude":7,"angle":65,"satellites":43,"speed":1,"hex_longitude":"2d7f8bc0","hex_latitude":"05afd920","is_valid_coordinates":true} 
[2026-07-27 09:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:08:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991569152001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:08:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826100761034752,"note":"Value kept but may cause issues"} 
[2026-07-27 09:08:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190509857748879360,"note":"Value kept but may cause issues"} 
[2026-07-27 09:08:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:08:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785123321000,"timestamp_ms":1785123321000,"timestamp_seconds":1785123321,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1a434a8"} 
[2026-07-27 09:08:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:08:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-27 09:08:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:08:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:08:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:08:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:08:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:08:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:08:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:08:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:08:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:08:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:08:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991569152001,"66":28006,"250":206,"85":12544,"24":1,"16":358826100761034752,"45":9190509857748879360},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 09:08:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:08:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:08:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991569152001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:08:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 09:08:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:08:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826100761034752,"km_value":358826100761034.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:08:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190509857748879360,"description":"Unknown IO ID 45"} 
[2026-07-27 09:08:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991569152001,"power":28006,"unknown_250":206,"unknown_85":12544,"ignition":1,"odometer":null,"unknown_45":9190509857748879360}} 
[2026-07-27 09:08:38] local.INFO: DEBUG: GPS processor result {"connection_id":145127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:08:38] local.INFO: GPS data processed {"connection_id":145127,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:08:38] local.INFO: Acknowledgment sent {"connection_id":145127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:08:40] local.INFO: TCP Data received {"connection_id":142818,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142818,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:08:40] local.INFO: Processing buffer {"connection_id":142818,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:08:40] local.INFO: IMEI packet received {"connection_id":142818,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 09:08:40] local.INFO: IMEI acknowledgment sent {"connection_id":142818,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:08:44] local.INFO: TCP Data received {"connection_id":142818,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142818,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:08:44] local.INFO: Processing buffer {"connection_id":142818,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:08:44] local.INFO: IMEI packet received {"connection_id":142818,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 09:08:44] local.INFO: IMEI acknowledgment sent {"connection_id":142818,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:08:44] local.INFO: TCP Data received {"connection_id":142818,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1a5f9c8012d0ae200070594880026011423..."} 
[2026-07-27 09:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1a5f9c8012d0ae200070594880026011423..."} 
[2026-07-27 09:08:44] local.INFO: Processing buffer {"connection_id":142818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1a5f9c8012d0ae200070594880026011423..."} 
[2026-07-27 09:08:44] local.INFO: Packet analysis {"connection_id":142818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1a5"} 
[2026-07-27 09:08:44] local.INFO: Extracted packet for processing {"connection_id":142818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1a5"} 
[2026-07-27 09:08:44] local.INFO: GPS Element Parsed {"raw_longitude":755687936,"raw_latitude":117806216,"longitude_deg":75.5687936,"latitude_deg":11.7806216,"altitude":38,"angle":276,"satellites":35,"speed":10,"hex_longitude":"2d0ae200","hex_latitude":"07059488","is_valid_coordinates":true} 
[2026-07-27 09:08:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:08:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991599360001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:08:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25828498799067136,"note":"Value kept but may cause issues"} 
[2026-07-27 09:08:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":784752265227636736,"note":"Value kept but may cause issues"} 
[2026-07-27 09:08:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:08:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785123437000,"timestamp_ms":1785123437000,"timestamp_seconds":1785123437,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1a5f9c8"} 
[2026-07-27 09:08:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:08:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09:08:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-27 09:08:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:08:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:08:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:08:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:08:44] local.INFO: Teltonika packet parsed successfully {"connection_id":142818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:08:44] local.INFO: Passing IMEI to GPS processor {"connection_id":142818,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:08:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":142818,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:08:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:08:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 09:08:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 09:08:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991599360001,"66":14298,"165":206,"94":10240,"24":10,"16":25828498799067136,"45":784752265227636736},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-07-27 09:08:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 09:08:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 09:08:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991599360001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:08:44] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-27 09:08:44] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 09:08:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25828498799067136,"km_value":25828498799067.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:08:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":784752265227636736,"description":"Unknown IO ID 45"} 
[2026-07-27 09:08:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991599360001,"power":14298,"unknown_165":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":784752265227636736}} 
[2026-07-27 09:08:45] local.INFO: DEBUG: GPS processor result {"connection_id":142818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552185,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:08:45] local.INFO: GPS data processed {"connection_id":142818,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:08:45] local.INFO: Acknowledgment sent {"connection_id":142818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:09:07] local.INFO: TCP Data received {"connection_id":145126,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1a359e8012d7d30c005ec0c380008011024..."} 
[2026-07-27 09:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1a359e8012d7d30c005ec0c380008011024..."} 
[2026-07-27 09:09:07] local.INFO: Processing buffer {"connection_id":145126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1a359e8012d7d30c005ec0c380008011024..."} 
[2026-07-27 09:09:07] local.INFO: Packet analysis {"connection_id":145126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1a3"} 
[2026-07-27 09:09:07] local.INFO: Extracted packet for processing {"connection_id":145126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1a3"} 
[2026-07-27 09:09:07] local.INFO: GPS Element Parsed {"raw_longitude":763179200,"raw_latitude":99355704,"longitude_deg":76.31792,"latitude_deg":9.9355704,"altitude":8,"angle":272,"satellites":36,"speed":0,"hex_longitude":"2d7d30c0","hex_latitude":"05ec0c38","is_valid_coordinates":true} 
[2026-07-27 09:09:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:09:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991550464001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:09:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111588301231620096,"note":"Value kept but may cause issues"} 
[2026-07-27 09:09:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020991554034909184,"note":"Value kept but may cause issues"} 
[2026-07-27 09:09:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:09:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785123265000,"timestamp_ms":1785123265000,"timestamp_seconds":1785123265,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1a359e8"} 
[2026-07-27 09:09:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:09:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09:09:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-07-27 09:09:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1600,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:09:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:09:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:09:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:09:07] local.INFO: Teltonika packet parsed successfully {"connection_id":145126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:09:07] local.INFO: Passing IMEI to GPS processor {"connection_id":145126,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:09:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":145126,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:09:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:09:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 09:09:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 09:09:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991550464001,"66":13059,"197":206,"87":13824,"24":0,"16":111588301231620096,"45":9020991554034909184},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-07-27 09:09:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 09:09:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 09:09:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991550464001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:09:07] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-27 09:09:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 09:09:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111588301231620096,"km_value":111588301231620.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:09:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020991554034909184,"description":"Unknown IO ID 45"} 
[2026-07-27 09:09:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991550464001,"power":13059,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020991554034909184}} 
[2026-07-27 09:09:07] local.INFO: DEBUG: GPS processor result {"connection_id":145126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552186,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:09:07] local.INFO: GPS data processed {"connection_id":145126,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:09:07] local.INFO: Acknowledgment sent {"connection_id":145126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:09:09] local.INFO: TCP Data received {"connection_id":145127,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1a44c18012d7f8d4005afd9b0000600292c..."} 
[2026-07-27 09:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145127,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1a44c18012d7f8d4005afd9b0000600292c..."} 
[2026-07-27 09:09:09] local.INFO: Processing buffer {"connection_id":145127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1a44c18012d7f8d4005afd9b0000600292c..."} 
[2026-07-27 09:09:09] local.INFO: Packet analysis {"connection_id":145127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1a4"} 
[2026-07-27 09:09:09] local.INFO: Extracted packet for processing {"connection_id":145127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1a4"} 
[2026-07-27 09:09:09] local.INFO: GPS Element Parsed {"raw_longitude":763333952,"raw_latitude":95410608,"longitude_deg":76.3333952,"latitude_deg":9.5410608,"altitude":6,"angle":41,"satellites":44,"speed":1,"hex_longitude":"2d7f8d40","hex_latitude":"05afd9b0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 09:09:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991570176001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:09:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826122235871232,"note":"Value kept but may cause issues"} 
[2026-07-27 09:09:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190650595237240832,"note":"Value kept but may cause issues"} 
[2026-07-27 09:09:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:09:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785123327000,"timestamp_ms":1785123327000,"timestamp_seconds":1785123327,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1a44c18"} 
[2026-07-27 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-07-27 09:09:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-27 09:09:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 09:09:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:09:09] local.INFO: Teltonika packet parsed successfully {"connection_id":145127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:09:09] local.INFO: Passing IMEI to GPS processor {"connection_id":145127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:09:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":145127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 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-07-27 09:09:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:09:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:09:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991570176001,"66":27767,"250":206,"85":12544,"24":1,"16":358826122235871232,"45":9190650595237240832},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 09:09:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:09:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:09:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991570176001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:09:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 09:09:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:09:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826122235871232,"km_value":358826122235871.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:09:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190650595237240832,"description":"Unknown IO ID 45"} 
[2026-07-27 09:09:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991570176001,"power":27767,"unknown_250":206,"unknown_85":12544,"ignition":1,"odometer":null,"unknown_45":9190650595237240832}} 
[2026-07-27 09:09:09] local.INFO: DEBUG: GPS processor result {"connection_id":145127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:09:09] local.INFO: GPS data processed {"connection_id":145127,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:09:09] local.INFO: Acknowledgment sent {"connection_id":145127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:09:16] local.INFO: TCP Data received {"connection_id":142818,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1a7b718012d0a86000705a8800016013325..."} 
[2026-07-27 09:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1a7b718012d0a86000705a8800016013325..."} 
[2026-07-27 09:09:16] local.INFO: Processing buffer {"connection_id":142818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1a7b718012d0a86000705a8800016013325..."} 
[2026-07-27 09:09:16] local.INFO: Packet analysis {"connection_id":142818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1a7"} 
[2026-07-27 09:09:16] local.INFO: Extracted packet for processing {"connection_id":142818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1a7"} 
[2026-07-27 09:09:16] local.INFO: GPS Element Parsed {"raw_longitude":755664384,"raw_latitude":117811328,"longitude_deg":75.5664384,"latitude_deg":11.7811328,"altitude":22,"angle":307,"satellites":37,"speed":11,"hex_longitude":"2d0a8600","hex_latitude":"0705a880","is_valid_coordinates":true} 
[2026-07-27 09: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-07-27 09:09:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991628800001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:09:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25829894663438336,"note":"Value kept but may cause issues"} 
[2026-07-27 09:09:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":758645461139032064,"note":"Value kept but may cause issues"} 
[2026-07-27 09:09:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:09:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785123551000,"timestamp_ms":1785123551000,"timestamp_seconds":1785123551,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1a7b718"} 
[2026-07-27 09:09:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:09: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-07-27 09:09:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-27 09:09:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:09:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:09:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:09:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:09:16] local.INFO: Teltonika packet parsed successfully {"connection_id":142818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:09:16] local.INFO: Passing IMEI to GPS processor {"connection_id":142818,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:09:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":142818,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:09:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:09:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 09:09:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 09:09:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991628800001,"66":14450,"153":206,"94":10240,"24":11,"16":25829894663438336,"45":758645461139032064},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-07-27 09:09:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 09:09:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 09:09:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991628800001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:09:16] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-27 09:09:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 09:09:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25829894663438336,"km_value":25829894663438.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:09:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":758645461139032064,"description":"Unknown IO ID 45"} 
[2026-07-27 09:09:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991628800001,"power":14450,"unknown_153":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":758645461139032064}} 
[2026-07-27 09:09:16] local.INFO: DEBUG: GPS processor result {"connection_id":142818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552188,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:09:16] local.INFO: GPS data processed {"connection_id":142818,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:09:16] local.INFO: Acknowledgment sent {"connection_id":142818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:09:30] local.INFO: TCP Data received {"connection_id":142819,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142819,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:09:30] local.INFO: Processing buffer {"connection_id":142819,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:09:30] local.INFO: IMEI packet received {"connection_id":142819,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 09:09:30] local.INFO: IMEI acknowledgment sent {"connection_id":142819,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:09:35] local.INFO: TCP Data received {"connection_id":142819,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142819,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:09:35] local.INFO: Processing buffer {"connection_id":142819,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:09:35] local.INFO: IMEI packet received {"connection_id":142819,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 09:09:35] local.INFO: IMEI acknowledgment sent {"connection_id":142819,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:09:35] local.INFO: TCP Data received {"connection_id":142695,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142695,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:09:35] local.INFO: Processing buffer {"connection_id":142695,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:09:35] local.INFO: IMEI packet received {"connection_id":142695,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 09:09:35] local.INFO: IMEI acknowledgment sent {"connection_id":142695,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:09:36] local.INFO: TCP Data received {"connection_id":142819,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1a3abf0012d7d30c005ec0c380008011023..."} 
[2026-07-27 09:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1a3abf0012d7d30c005ec0c380008011023..."} 
[2026-07-27 09:09:36] local.INFO: Processing buffer {"connection_id":142819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1a3abf0012d7d30c005ec0c380008011023..."} 
[2026-07-27 09:09:36] local.INFO: Packet analysis {"connection_id":142819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1a3"} 
[2026-07-27 09:09:36] local.INFO: Extracted packet for processing {"connection_id":142819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1a3"} 
[2026-07-27 09:09:36] local.INFO: GPS Element Parsed {"raw_longitude":763179200,"raw_latitude":99355704,"longitude_deg":76.31792,"latitude_deg":9.9355704,"altitude":8,"angle":272,"satellites":35,"speed":0,"hex_longitude":"2d7d30c0","hex_latitude":"05ec0c38","is_valid_coordinates":true} 
[2026-07-27 09:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:09:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991555840001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:09:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111588301231620096,"note":"Value kept but may cause issues"} 
[2026-07-27 09:09:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020921185290696704,"note":"Value kept but may cause issues"} 
[2026-07-27 09:09:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:09:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785123286000,"timestamp_ms":1785123286000,"timestamp_seconds":1785123286,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1a3abf0"} 
[2026-07-27 09:09:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:09:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-27 09:09:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303166099869001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:09:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-27 09:09:36] local.WARNING: Large IO value detected {"io_id":112,"raw_value":4076863488,"note":"Value kept but may cause issues"} 
[2026-07-27 09:09:36] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2711803160,"note":"Value kept but may cause issues"} 
[2026-07-27 09:09:36] local.WARNING: Large IO value detected {"io_id":110,"raw_value":58079734643818496,"note":"Value kept but may cause issues"} 
[2026-07-27 09:09:36] local.WARNING: Large IO value detected {"io_id":161,"raw_value":2733666305,"note":"Value kept but may cause issues"} 
[2026-07-27 09:09:36] local.WARNING: Large IO value detected {"io_id":236,"raw_value":2281778557,"note":"Value kept but may cause issues"} 
[2026-07-27 09:09:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231945934,"corrected_to":0} 
[2026-07-27 09:09:36] local.WARNING: Large IO value detected {"io_id":50,"raw_value":4160802121,"note":"Value kept but may cause issues"} 
[2026-07-27 09:09:36] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3960363008,"note":"Value kept but may cause issues"} 
[2026-07-27 09:09:36] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,197,87,24,241,157,16,112,159,7,45,12,8,36,10,66,110,128,252,192,1,240,215,227,161,236,4,113,205,2,51,248,34,239,50,140,5],"length":486,"final_offset":616,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1231945934,"validated":0}]} 
[2026-07-27 09:09:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576759974085001216,"timestamp_seconds":576759974085001.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 09:09:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:09:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:09:36] local.INFO: Teltonika packet parsed successfully {"connection_id":142819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:09:36] local.INFO: Passing IMEI to GPS processor {"connection_id":142819,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:09:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":142819,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:09:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:09:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 09:09:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 09:09:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991555840001,"66":13059,"197":206,"87":13824,"24":0,"16":111588301231620096,"45":9020921185290696704},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-07-27 09:09:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 09:09:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 09:09:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991555840001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:09:36] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-27 09:09:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 09:09:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111588301231620096,"km_value":111588301231620.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:09:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020921185290696704,"description":"Unknown IO ID 45"} 
[2026-07-27 09:09:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991555840001,"power":13059,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020921185290696704}} 
[2026-07-27 09:09:36] local.INFO: DEBUG: GPS processor result {"connection_id":142819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552189,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:09:36] local.INFO: GPS data processed {"connection_id":142819,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:09:36] local.INFO: Acknowledgment sent {"connection_id":142819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:09:36] local.INFO: TCP Data received {"connection_id":142695,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1a43890012d1826400721a040004f014325..."} 
[2026-07-27 09:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1a43890012d1826400721a040004f014325..."} 
[2026-07-27 09:09:36] local.INFO: Processing buffer {"connection_id":142695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1a43890012d1826400721a040004f014325..."} 
[2026-07-27 09:09:36] local.INFO: Packet analysis {"connection_id":142695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1a4"} 
[2026-07-27 09:09:36] local.INFO: Extracted packet for processing {"connection_id":142695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1a4"} 
[2026-07-27 09:09:36] local.INFO: GPS Element Parsed {"raw_longitude":756557376,"raw_latitude":119644224,"longitude_deg":75.6557376,"latitude_deg":11.9644224,"altitude":79,"angle":323,"satellites":37,"speed":0,"hex_longitude":"2d182640","hex_latitude":"0721a040","is_valid_coordinates":true} 
[2026-07-27 09:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:09:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991565056001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:09:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8761857837891584,"note":"Value kept but may cause issues"} 
[2026-07-27 09:09:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740922761584181248,"note":"Value kept but may cause issues"} 
[2026-07-27 09:09:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:09:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785123322000,"timestamp_ms":1785123322000,"timestamp_seconds":1785123322,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1a43890"} 
[2026-07-27 09:09:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:09:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10752,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-27 09:09:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:09:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:09:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:09:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:09:36] local.INFO: Teltonika packet parsed successfully {"connection_id":142695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:09:36] local.INFO: Passing IMEI to GPS processor {"connection_id":142695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:09:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":142695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:09:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:09:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 09:09:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 09:09:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991565056001,"66":12461,"120":206,"28":31744,"24":0,"16":8761857837891584,"45":1740922761584181248},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 09:09:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 09:09:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 09:09:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991565056001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:09:36] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 09:09:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 09:09:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8761857837891584,"km_value":8761857837891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:09:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740922761584181248,"description":"Unknown IO ID 45"} 
[2026-07-27 09:09:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991565056001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740922761584181248}} 
[2026-07-27 09:09:36] local.INFO: DEBUG: GPS processor result {"connection_id":142695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552190,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:09:36] local.INFO: GPS data processed {"connection_id":142695,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:09:36] local.INFO: Acknowledgment sent {"connection_id":142695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:09:38] local.INFO: TCP Data received {"connection_id":142820,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:09:38] local.INFO: Processing buffer {"connection_id":142820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:09:38] local.INFO: IMEI packet received {"connection_id":142820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 09:09:38] local.INFO: IMEI acknowledgment sent {"connection_id":142820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:09:41] local.INFO: TCP Data received {"connection_id":142696,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142696,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:09:41] local.INFO: Processing buffer {"connection_id":142696,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:09:41] local.INFO: IMEI packet received {"connection_id":142696,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 09:09:41] local.INFO: IMEI acknowledgment sent {"connection_id":142696,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:09:43] local.INFO: TCP Data received {"connection_id":142820,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:09:43] local.INFO: Processing buffer {"connection_id":142820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:09:43] local.INFO: IMEI packet received {"connection_id":142820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 09:09:43] local.INFO: IMEI acknowledgment sent {"connection_id":142820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:09:43] local.INFO: TCP Data received {"connection_id":142820,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1a45000012d7f8d4005afd9e00006001a2c..."} 
[2026-07-27 09:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1a45000012d7f8d4005afd9e00006001a2c..."} 
[2026-07-27 09:09:43] local.INFO: Processing buffer {"connection_id":142820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1a45000012d7f8d4005afd9e00006001a2c..."} 
[2026-07-27 09:09:43] local.INFO: Packet analysis {"connection_id":142820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1a4"} 
[2026-07-27 09:09:43] local.INFO: Extracted packet for processing {"connection_id":142820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1a4"} 
[2026-07-27 09:09:43] local.INFO: GPS Element Parsed {"raw_longitude":763333952,"raw_latitude":95410656,"longitude_deg":76.3333952,"latitude_deg":9.5410656,"altitude":6,"angle":26,"satellites":44,"speed":1,"hex_longitude":"2d7f8d40","hex_latitude":"05afd9e0","is_valid_coordinates":true} 
[2026-07-27 09:09:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:09:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991571712001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:09:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826122235871232,"note":"Value kept but may cause issues"} 
[2026-07-27 09:09:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191072807702343680,"note":"Value kept but may cause issues"} 
[2026-07-27 09:09:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:09:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785123328000,"timestamp_ms":1785123328000,"timestamp_seconds":1785123328,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1a45000"} 
[2026-07-27 09:09:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:09:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09:09:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-27 09:09:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:09:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:09:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:09:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:09:43] local.INFO: Teltonika packet parsed successfully {"connection_id":142820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:09:43] local.INFO: Passing IMEI to GPS processor {"connection_id":142820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:09:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":142820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:09:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:09:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:09:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:09:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991571712001,"66":27376,"250":206,"85":12544,"24":1,"16":358826122235871232,"45":9191072807702343680},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 09:09:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:09:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:09:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991571712001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:09:43] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 09:09:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:09:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826122235871232,"km_value":358826122235871.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:09:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191072807702343680,"description":"Unknown IO ID 45"} 
[2026-07-27 09:09:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991571712001,"power":27376,"unknown_250":206,"unknown_85":12544,"ignition":1,"odometer":null,"unknown_45":9191072807702343680}} 
[2026-07-27 09:09:43] local.INFO: DEBUG: GPS processor result {"connection_id":142820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:09:43] local.INFO: GPS data processed {"connection_id":142820,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:09:43] local.INFO: Acknowledgment sent {"connection_id":142820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:09:45] local.INFO: TCP Data received {"connection_id":142696,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142696,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:09:45] local.INFO: Processing buffer {"connection_id":142696,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:09:45] local.INFO: IMEI packet received {"connection_id":142696,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 09:09:45] local.INFO: IMEI acknowledgment sent {"connection_id":142696,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:09:46] local.INFO: TCP Data received {"connection_id":142696,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1a7bb00012d0a85000705a8f80016012625..."} 
[2026-07-27 09:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1a7bb00012d0a85000705a8f80016012625..."} 
[2026-07-27 09:09:46] local.INFO: Processing buffer {"connection_id":142696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1a7bb00012d0a85000705a8f80016012625..."} 
[2026-07-27 09:09:46] local.INFO: Packet analysis {"connection_id":142696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1a7"} 
[2026-07-27 09:09:46] local.INFO: Extracted packet for processing {"connection_id":142696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1a7"} 
[2026-07-27 09:09:46] local.INFO: GPS Element Parsed {"raw_longitude":755664128,"raw_latitude":117811448,"longitude_deg":75.5664128,"latitude_deg":11.7811448,"altitude":22,"angle":294,"satellites":37,"speed":10,"hex_longitude":"2d0a8500","hex_latitude":"0705a8f8","is_valid_coordinates":true} 
[2026-07-27 09:09:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:09:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991629056001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:09:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25829907548340224,"note":"Value kept but may cause issues"} 
[2026-07-27 09:09:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":758293617418207232,"note":"Value kept but may cause issues"} 
[2026-07-27 09:09:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:09:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785123552000,"timestamp_ms":1785123552000,"timestamp_seconds":1785123552,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1a7bb00"} 
[2026-07-27 09:09:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:09:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09:09:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-27 09:09:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:09:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:09:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:09:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:09:46] local.INFO: Teltonika packet parsed successfully {"connection_id":142696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:09:46] local.INFO: Passing IMEI to GPS processor {"connection_id":142696,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:09:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":142696,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:09:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:09:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 09:09:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 09:09:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991629056001,"66":14428,"153":206,"94":10240,"24":10,"16":25829907548340224,"45":758293617418207232},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-07-27 09:09:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 09:09:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 09:09:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991629056001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:09:46] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-27 09:09:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 09:09:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25829907548340224,"km_value":25829907548340.223,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:09:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":758293617418207232,"description":"Unknown IO ID 45"} 
[2026-07-27 09:09:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991629056001,"power":14428,"unknown_153":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":758293617418207232}} 
[2026-07-27 09:09:46] local.INFO: DEBUG: GPS processor result {"connection_id":142696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552192,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:09:46] local.INFO: GPS data processed {"connection_id":142696,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:09:46] local.INFO: Acknowledgment sent {"connection_id":142696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:09:48] local.INFO: TCP Data received {"connection_id":142820,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1a457d0012d7f8d8005afda48000601602c..."} 
[2026-07-27 09:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1a457d0012d7f8d8005afda48000601602c..."} 
[2026-07-27 09:09:48] local.INFO: Processing buffer {"connection_id":142820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1a457d0012d7f8d8005afda48000601602c..."} 
[2026-07-27 09:09:48] local.INFO: Packet analysis {"connection_id":142820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1a4"} 
[2026-07-27 09:09:48] local.INFO: Extracted packet for processing {"connection_id":142820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1a4"} 
[2026-07-27 09:09:48] local.INFO: GPS Element Parsed {"raw_longitude":763334016,"raw_latitude":95410760,"longitude_deg":76.3334016,"latitude_deg":9.541076,"altitude":6,"angle":352,"satellites":44,"speed":1,"hex_longitude":"2d7f8d80","hex_latitude":"05afda48","is_valid_coordinates":true} 
[2026-07-27 09: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-07-27 09:09:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991571968001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:09:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826130825805824,"note":"Value kept but may cause issues"} 
[2026-07-27 09:09:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191072807702355968,"note":"Value kept but may cause issues"} 
[2026-07-27 09:09:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:09:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785123330000,"timestamp_ms":1785123330000,"timestamp_seconds":1785123330,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1a457d0"} 
[2026-07-27 09:09:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:09: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-07-27 09: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-27 09:09:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09: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-07-27 09:09:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:09:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:09:48] local.INFO: Teltonika packet parsed successfully {"connection_id":142820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:09:48] local.INFO: Passing IMEI to GPS processor {"connection_id":142820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:09:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":142820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:09:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:09:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:09:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:09:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991571968001,"66":27669,"250":206,"85":12544,"24":1,"16":358826130825805824,"45":9191072807702355968},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 09:09:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:09:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:09:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991571968001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:09:48] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 09:09:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:09:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826130825805824,"km_value":358826130825805.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:09:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191072807702355968,"description":"Unknown IO ID 45"} 
[2026-07-27 09:09:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991571968001,"power":27669,"unknown_250":206,"unknown_85":12544,"ignition":1,"odometer":null,"unknown_45":9191072807702355968}} 
[2026-07-27 09:09:48] local.INFO: DEBUG: GPS processor result {"connection_id":142820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:09:48] local.INFO: GPS data processed {"connection_id":142820,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:09:48] local.INFO: Acknowledgment sent {"connection_id":142820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:10:07] local.INFO: TCP Data received {"connection_id":142819,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1a3fdf8012d7d30c005ec0c380008011022..."} 
[2026-07-27 09:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1a3fdf8012d7d30c005ec0c380008011022..."} 
[2026-07-27 09:10:07] local.INFO: Processing buffer {"connection_id":142819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1a3fdf8012d7d30c005ec0c380008011022..."} 
[2026-07-27 09:10:07] local.INFO: Packet analysis {"connection_id":142819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1a3"} 
[2026-07-27 09:10:07] local.INFO: Extracted packet for processing {"connection_id":142819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1a3"} 
[2026-07-27 09:10:07] local.INFO: GPS Element Parsed {"raw_longitude":763179200,"raw_latitude":99355704,"longitude_deg":76.31792,"latitude_deg":9.9355704,"altitude":8,"angle":272,"satellites":34,"speed":0,"hex_longitude":"2d7d30c0","hex_latitude":"05ec0c38","is_valid_coordinates":true} 
[2026-07-27 09:10:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:10:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991561216001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:10:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111588301231620096,"note":"Value kept but may cause issues"} 
[2026-07-27 09:10:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020921185290696704,"note":"Value kept but may cause issues"} 
[2026-07-27 09:10:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:10:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785123307000,"timestamp_ms":1785123307000,"timestamp_seconds":1785123307,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1a3fdf8"} 
[2026-07-27 09:10:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:10:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09:10:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-27 09:10:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303162828311881,"note":"Value kept but may cause issues"} 
[2026-07-27 09:10:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-27 09:10:07] local.WARNING: Large IO value detected {"io_id":112,"raw_value":4093640704,"note":"Value kept but may cause issues"} 
[2026-07-27 09:10:07] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2711809160,"note":"Value kept but may cause issues"} 
[2026-07-27 09:10:07] local.WARNING: Large IO value detected {"io_id":110,"raw_value":58079734643818498,"note":"Value kept but may cause issues"} 
[2026-07-27 09:10:07] local.WARNING: Large IO value detected {"io_id":161,"raw_value":2734434305,"note":"Value kept but may cause issues"} 
[2026-07-27 09:10:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231945934,"corrected_to":0} 
[2026-07-27 09:10:07] local.WARNING: Large IO value detected {"io_id":50,"raw_value":4160802121,"note":"Value kept but may cause issues"} 
[2026-07-27 09:10:07] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3960338432,"note":"Value kept but may cause issues"} 
[2026-07-27 09:10:07] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,197,87,24,241,157,16,112,159,89,45,192,12,8,36,10,66,7,110,128,1,240,178,227,161,236,4,113,205,2,51,232,35,239,50,140,5],"length":486,"final_offset":616,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1231945934,"validated":0}]} 
[2026-07-27 09:10:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576759969790033920,"timestamp_seconds":576759969790033.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 09:10:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:10:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:10:07] local.INFO: Teltonika packet parsed successfully {"connection_id":142819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:10:07] local.INFO: Passing IMEI to GPS processor {"connection_id":142819,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:10:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":142819,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:10:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:10:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 09:10:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 09:10:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991561216001,"66":13189,"197":206,"87":13824,"24":0,"16":111588301231620096,"45":9020921185290696704},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-07-27 09:10:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 09:10:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 09:10:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991561216001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:10:07] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-27 09:10:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 09:10:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111588301231620096,"km_value":111588301231620.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:10:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020921185290696704,"description":"Unknown IO ID 45"} 
[2026-07-27 09:10:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991561216001,"power":13189,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020921185290696704}} 
[2026-07-27 09:10:07] local.INFO: DEBUG: GPS processor result {"connection_id":142819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552194,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:10:07] local.INFO: GPS data processed {"connection_id":142819,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:10:07] local.INFO: Acknowledgment sent {"connection_id":142819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:10:08] local.INFO: TCP Data received {"connection_id":142695,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1a48a98012d1826400721a040004f014324..."} 
[2026-07-27 09:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1a48a98012d1826400721a040004f014324..."} 
[2026-07-27 09:10:08] local.INFO: Processing buffer {"connection_id":142695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1a48a98012d1826400721a040004f014324..."} 
[2026-07-27 09:10:08] local.INFO: Packet analysis {"connection_id":142695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1a4"} 
[2026-07-27 09:10:08] local.INFO: Extracted packet for processing {"connection_id":142695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1a4"} 
[2026-07-27 09:10:08] local.INFO: GPS Element Parsed {"raw_longitude":756557376,"raw_latitude":119644224,"longitude_deg":75.6557376,"latitude_deg":11.9644224,"altitude":79,"angle":323,"satellites":36,"speed":0,"hex_longitude":"2d182640","hex_latitude":"0721a040","is_valid_coordinates":true} 
[2026-07-27 09:10:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:10:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991570432001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:10:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8761857837891584,"note":"Value kept but may cause issues"} 
[2026-07-27 09:10:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740148705398374400,"note":"Value kept but may cause issues"} 
[2026-07-27 09:10:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:10:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785123343000,"timestamp_ms":1785123343000,"timestamp_seconds":1785123343,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1a48a98"} 
[2026-07-27 09:10:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:10:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10752,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-27 09:10: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-07-27 09:10:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:10:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:10:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:10:08] local.INFO: Teltonika packet parsed successfully {"connection_id":142695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:10:08] local.INFO: Passing IMEI to GPS processor {"connection_id":142695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:10:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":142695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:10:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:10:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 09:10:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 09:10:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991570432001,"66":13102,"120":206,"28":31744,"24":0,"16":8761857837891584,"45":1740148705398374400},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 09:10:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 09:10:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 09:10:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991570432001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:10:08] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 09:10:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 09:10:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8761857837891584,"km_value":8761857837891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:10:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740148705398374400,"description":"Unknown IO ID 45"} 
[2026-07-27 09:10:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991570432001,"power":13102,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740148705398374400}} 
[2026-07-27 09:10:08] local.INFO: DEBUG: GPS processor result {"connection_id":142695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552195,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:10:08] local.INFO: GPS data processed {"connection_id":142695,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:10:08] local.INFO: Acknowledgment sent {"connection_id":142695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:10:17] local.INFO: TCP Data received {"connection_id":142696,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1a7c2d0012d0a83000705aa000016013525..."} 
[2026-07-27 09:10:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1a7c2d0012d0a83000705aa000016013525..."} 
[2026-07-27 09:10:17] local.INFO: Processing buffer {"connection_id":142696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1a7c2d0012d0a83000705aa000016013525..."} 
[2026-07-27 09:10:17] local.INFO: Packet analysis {"connection_id":142696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1a7"} 
[2026-07-27 09:10:17] local.INFO: Extracted packet for processing {"connection_id":142696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1a7"} 
[2026-07-27 09:10:17] local.INFO: GPS Element Parsed {"raw_longitude":755663616,"raw_latitude":117811712,"longitude_deg":75.5663616,"latitude_deg":11.7811712,"altitude":22,"angle":309,"satellites":37,"speed":12,"hex_longitude":"2d0a8300","hex_latitude":"0705aa00","is_valid_coordinates":true} 
[2026-07-27 09: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-07-27 09:10:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991629312001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:10:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25829933318144000,"note":"Value kept but may cause issues"} 
[2026-07-27 09:10:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":758012142441527296,"note":"Value kept but may cause issues"} 
[2026-07-27 09:10:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:10:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785123554000,"timestamp_ms":1785123554000,"timestamp_seconds":1785123554,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1a7c2d0"} 
[2026-07-27 09:10:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:10: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-07-27 09: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":92,"data_length":795,"current_offset":136} 
[2026-07-27 09:10:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09: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-07-27 09:10:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:10:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:10:17] local.INFO: Teltonika packet parsed successfully {"connection_id":142696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:10:17] local.INFO: Passing IMEI to GPS processor {"connection_id":142696,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:10:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":142696,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:10:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:10:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 09:10:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 09:10:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991629312001,"66":14352,"153":206,"94":10240,"24":12,"16":25829933318144000,"45":758012142441527296},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-07-27 09:10:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 09:10:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 09:10:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991629312001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:10:17] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-27 09:10:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 09:10:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25829933318144000,"km_value":25829933318144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:10:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":758012142441527296,"description":"Unknown IO ID 45"} 
[2026-07-27 09:10:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991629312001,"power":14352,"unknown_153":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":758012142441527296}} 
[2026-07-27 09:10:17] local.INFO: DEBUG: GPS processor result {"connection_id":142696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552196,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:10:17] local.INFO: GPS data processed {"connection_id":142696,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:10:17] local.INFO: Acknowledgment sent {"connection_id":142696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:10:22] local.INFO: TCP Data received {"connection_id":143803,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 09:10:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143803,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 09:10:22] local.INFO: Processing buffer {"connection_id":143803,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 09:10:22] local.INFO: IMEI packet received {"connection_id":143803,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 09:10:22] local.INFO: IMEI acknowledgment sent {"connection_id":143803,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:10:30] local.INFO: TCP Data received {"connection_id":143804,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143804,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:10:30] local.INFO: Processing buffer {"connection_id":143804,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:10:30] local.INFO: IMEI packet received {"connection_id":143804,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 09:10:30] local.INFO: IMEI acknowledgment sent {"connection_id":143804,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:10:33] local.INFO: TCP Data received {"connection_id":143805,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:10:33] local.INFO: Processing buffer {"connection_id":143805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:10:33] local.INFO: IMEI packet received {"connection_id":143805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 09:10:33] local.INFO: IMEI acknowledgment sent {"connection_id":143805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:10:33] local.INFO: TCP Data received {"connection_id":143804,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143804,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:10:33] local.INFO: Processing buffer {"connection_id":143804,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:10:33] local.INFO: IMEI packet received {"connection_id":143804,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 09:10:33] local.INFO: IMEI acknowledgment sent {"connection_id":143804,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:10:34] local.INFO: TCP Data received {"connection_id":143804,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1a4dca0012d1826400721a040004f014323..."} 
[2026-07-27 09:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1a4dca0012d1826400721a040004f014323..."} 
[2026-07-27 09:10:34] local.INFO: Processing buffer {"connection_id":143804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1a4dca0012d1826400721a040004f014323..."} 
[2026-07-27 09:10:34] local.INFO: Packet analysis {"connection_id":143804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1a4"} 
[2026-07-27 09:10:34] local.INFO: Extracted packet for processing {"connection_id":143804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1a4"} 
[2026-07-27 09:10:34] local.INFO: GPS Element Parsed {"raw_longitude":756557376,"raw_latitude":119644224,"longitude_deg":75.6557376,"latitude_deg":11.9644224,"altitude":79,"angle":323,"satellites":35,"speed":0,"hex_longitude":"2d182640","hex_latitude":"0721a040","is_valid_coordinates":true} 
[2026-07-27 09: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-07-27 09:10:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991575808001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:10:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8761857837891584,"note":"Value kept but may cause issues"} 
[2026-07-27 09:10:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740148705398374400,"note":"Value kept but may cause issues"} 
[2026-07-27 09:10:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:10:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785123364000,"timestamp_ms":1785123364000,"timestamp_seconds":1785123364,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1a4dca0"} 
[2026-07-27 09:10:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:10:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10752,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-27 09:10:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09: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-07-27 09:10:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:10:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:10:34] local.INFO: Teltonika packet parsed successfully {"connection_id":143804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:10:34] local.INFO: Passing IMEI to GPS processor {"connection_id":143804,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:10:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":143804,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:10:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:10:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 09:10:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 09:10:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991575808001,"66":13091,"120":206,"28":31744,"24":0,"16":8761857837891584,"45":1740148705398374400},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 09:10:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 09:10:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 09:10:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991575808001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:10:34] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 09:10:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 09:10:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8761857837891584,"km_value":8761857837891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:10:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740148705398374400,"description":"Unknown IO ID 45"} 
[2026-07-27 09:10:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991575808001,"power":13091,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740148705398374400}} 
[2026-07-27 09:10:34] local.INFO: DEBUG: GPS processor result {"connection_id":143804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552197,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:10:34] local.INFO: GPS data processed {"connection_id":143804,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:10:34] local.INFO: Acknowledgment sent {"connection_id":143804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:10:35] local.INFO: TCP Data received {"connection_id":142821,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142821,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:10:35] local.INFO: Processing buffer {"connection_id":142821,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:10:35] local.INFO: IMEI packet received {"connection_id":142821,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 09:10:35] local.INFO: IMEI acknowledgment sent {"connection_id":142821,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:10:38] local.INFO: TCP Data received {"connection_id":143805,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:10:38] local.INFO: Processing buffer {"connection_id":143805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:10:38] local.INFO: IMEI packet received {"connection_id":143805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 09:10:38] local.INFO: IMEI acknowledgment sent {"connection_id":143805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:10:38] local.INFO: TCP Data received {"connection_id":143805,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1a45fa0012d7f8e4005afda90000600052c..."} 
[2026-07-27 09:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1a45fa0012d7f8e4005afda90000600052c..."} 
[2026-07-27 09:10:38] local.INFO: Processing buffer {"connection_id":143805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1a45fa0012d7f8e4005afda90000600052c..."} 
[2026-07-27 09:10:38] local.INFO: Packet analysis {"connection_id":143805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1a4"} 
[2026-07-27 09:10:38] local.INFO: Extracted packet for processing {"connection_id":143805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1a4"} 
[2026-07-27 09:10:38] local.INFO: GPS Element Parsed {"raw_longitude":763334208,"raw_latitude":95410832,"longitude_deg":76.3334208,"latitude_deg":9.5410832,"altitude":6,"angle":5,"satellites":44,"speed":1,"hex_longitude":"2d7f8e40","hex_latitude":"05afda90","is_valid_coordinates":true} 
[2026-07-27 09:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:10:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991572480001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:10:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826139415740416,"note":"Value kept but may cause issues"} 
[2026-07-27 09:10:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191143176446560256,"note":"Value kept but may cause issues"} 
[2026-07-27 09:10:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:10:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785123332000,"timestamp_ms":1785123332000,"timestamp_seconds":1785123332,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1a45fa0"} 
[2026-07-27 09:10:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:10:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":21,"data_length":795,"current_offset":136} 
[2026-07-27 09:10:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":927,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:10:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:10:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:10:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:10:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:10:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:10:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:10:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:10:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:10:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:10:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991572480001,"66":27876,"250":206,"85":12544,"24":1,"16":358826139415740416,"45":9191143176446560256},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 09:10:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:10:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:10:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991572480001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:10:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 09:10:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:10:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826139415740416,"km_value":358826139415740.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:10:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191143176446560256,"description":"Unknown IO ID 45"} 
[2026-07-27 09:10:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991572480001,"power":27876,"unknown_250":206,"unknown_85":12544,"ignition":1,"odometer":null,"unknown_45":9191143176446560256}} 
[2026-07-27 09:10:38] local.INFO: DEBUG: GPS processor result {"connection_id":143805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:10:38] local.INFO: GPS data processed {"connection_id":143805,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:10:38] local.INFO: Acknowledgment sent {"connection_id":143805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:10:40] local.INFO: TCP Data received {"connection_id":142821,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142821,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:10:40] local.INFO: Processing buffer {"connection_id":142821,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:10:40] local.INFO: IMEI packet received {"connection_id":142821,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 09:10:40] local.INFO: IMEI acknowledgment sent {"connection_id":142821,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:10:41] local.INFO: TCP Data received {"connection_id":142821,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1a409b0012d7d2d0005ec0bf80008012621..."} 
[2026-07-27 09:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1a409b0012d7d2d0005ec0bf80008012621..."} 
[2026-07-27 09:10:41] local.INFO: Processing buffer {"connection_id":142821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1a409b0012d7d2d0005ec0bf80008012621..."} 
[2026-07-27 09:10:41] local.INFO: Packet analysis {"connection_id":142821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1a4"} 
[2026-07-27 09:10:41] local.INFO: Extracted packet for processing {"connection_id":142821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1a4"} 
[2026-07-27 09:10:41] local.INFO: GPS Element Parsed {"raw_longitude":763178240,"raw_latitude":99355640,"longitude_deg":76.317824,"latitude_deg":9.935564,"altitude":8,"angle":294,"satellites":33,"speed":1,"hex_longitude":"2d7d2d00","hex_latitude":"05ec0bf8","is_valid_coordinates":true} 
[2026-07-27 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-07-27 09:10:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991566592001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:10:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111588344181293056,"note":"Value kept but may cause issues"} 
[2026-07-27 09:10:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020921185290696704,"note":"Value kept but may cause issues"} 
[2026-07-27 09:10:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:10:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785123310000,"timestamp_ms":1785123310000,"timestamp_seconds":1785123310,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1a409b0"} 
[2026-07-27 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-07-27 09:10:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-27 09:10:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 09:10:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:10:41] local.INFO: Teltonika packet parsed successfully {"connection_id":142821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:10:41] local.INFO: Passing IMEI to GPS processor {"connection_id":142821,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:10:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":142821,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:10:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:10:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 09:10:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 09:10:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991566592001,"66":13189,"197":206,"87":13824,"24":1,"16":111588344181293056,"45":9020921185290696704},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-07-27 09:10:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 09:10:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 09:10:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991566592001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:10:41] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-27 09:10:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 09:10:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111588344181293056,"km_value":111588344181293.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:10:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020921185290696704,"description":"Unknown IO ID 45"} 
[2026-07-27 09:10:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991566592001,"power":13189,"unknown_197":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":9020921185290696704}} 
[2026-07-27 09:10:41] local.INFO: DEBUG: GPS processor result {"connection_id":142821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552199,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:10:41] local.INFO: GPS data processed {"connection_id":142821,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:10:41] local.INFO: Acknowledgment sent {"connection_id":142821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:10:44] local.INFO: TCP Data received {"connection_id":145128,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 09:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145128,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 09:10:44] local.INFO: Processing buffer {"connection_id":145128,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 09:10:44] local.INFO: IMEI packet received {"connection_id":145128,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 09:10:44] local.INFO: IMEI acknowledgment sent {"connection_id":145128,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:10:45] local.INFO: TCP Data received {"connection_id":142697,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142697,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:10:45] local.INFO: Processing buffer {"connection_id":142697,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:10:45] local.INFO: IMEI packet received {"connection_id":142697,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 09:10:45] local.INFO: IMEI acknowledgment sent {"connection_id":142697,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:10:46] local.INFO: TCP Data received {"connection_id":142821,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1a44448012d7d2cc005ec0c000008012626..."} 
[2026-07-27 09:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1a44448012d7d2cc005ec0c000008012626..."} 
[2026-07-27 09:10:46] local.INFO: Processing buffer {"connection_id":142821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1a44448012d7d2cc005ec0c000008012626..."} 
[2026-07-27 09:10:46] local.INFO: Packet analysis {"connection_id":142821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1a4"} 
[2026-07-27 09:10:46] local.INFO: Extracted packet for processing {"connection_id":142821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1a4"} 
[2026-07-27 09:10:46] local.INFO: GPS Element Parsed {"raw_longitude":763178176,"raw_latitude":99355648,"longitude_deg":76.3178176,"latitude_deg":9.9355648,"altitude":8,"angle":294,"satellites":38,"speed":0,"hex_longitude":"2d7d2cc0","hex_latitude":"05ec0c00","is_valid_coordinates":true} 
[2026-07-27 09:10:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:10:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991567360001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:10:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111588348476260352,"note":"Value kept but may cause issues"} 
[2026-07-27 09:10:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9019865654128015360,"note":"Value kept but may cause issues"} 
[2026-07-27 09:10:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:10:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785123325000,"timestamp_ms":1785123325000,"timestamp_seconds":1785123325,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1a44448"} 
[2026-07-27 09:10:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:10:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09:10:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-27 09:10:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:10:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:10:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:10:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:10:46] local.INFO: Teltonika packet parsed successfully {"connection_id":142821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:10:46] local.INFO: Passing IMEI to GPS processor {"connection_id":142821,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:10:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":142821,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:10:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:10:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 09:10:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 09:10:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991567360001,"66":13200,"197":206,"87":13824,"24":0,"16":111588348476260352,"45":9019865654128015360},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-07-27 09:10:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 09:10:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 09:10:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991567360001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:10:46] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-27 09:10:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 09:10:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111588348476260352,"km_value":111588348476260.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:10:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9019865654128015360,"description":"Unknown IO ID 45"} 
[2026-07-27 09:10:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991567360001,"power":13200,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9019865654128015360}} 
[2026-07-27 09:10:46] local.INFO: DEBUG: GPS processor result {"connection_id":142821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552200,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:10:46] local.INFO: GPS data processed {"connection_id":142821,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:10:46] local.INFO: Acknowledgment sent {"connection_id":142821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:10:50] local.INFO: TCP Data received {"connection_id":142697,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142697,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:10:50] local.INFO: Processing buffer {"connection_id":142697,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:10:50] local.INFO: IMEI packet received {"connection_id":142697,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 09:10:50] local.INFO: IMEI acknowledgment sent {"connection_id":142697,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:10:51] local.INFO: TCP Data received {"connection_id":142697,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1a7c6b8012d0a82000705aaf80015014425..."} 
[2026-07-27 09:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1a7c6b8012d0a82000705aaf80015014425..."} 
[2026-07-27 09:10:51] local.INFO: Processing buffer {"connection_id":142697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1a7c6b8012d0a82000705aaf80015014425..."} 
[2026-07-27 09:10:51] local.INFO: Packet analysis {"connection_id":142697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1a7"} 
[2026-07-27 09:10:51] local.INFO: Extracted packet for processing {"connection_id":142697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1a7"} 
[2026-07-27 09:10:51] local.INFO: GPS Element Parsed {"raw_longitude":755663360,"raw_latitude":117811960,"longitude_deg":75.566336,"latitude_deg":11.781196,"altitude":21,"angle":324,"satellites":37,"speed":13,"hex_longitude":"2d0a8200","hex_latitude":"0705aaf8","is_valid_coordinates":true} 
[2026-07-27 09:10:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:10:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991629824001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:10:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25829950498013184,"note":"Value kept but may cause issues"} 
[2026-07-27 09:10:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":757449192488173568,"note":"Value kept but may cause issues"} 
[2026-07-27 09:10:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:10:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785123555000,"timestamp_ms":1785123555000,"timestamp_seconds":1785123555,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1a7c6b8"} 
[2026-07-27 09:10:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:10:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09:10:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-07-27 09:10:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733145344,"note":"Value kept but may cause issues"} 
[2026-07-27 09:10:51] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-27 09:10:51] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2712100160,"note":"Value kept but may cause issues"} 
[2026-07-27 09:10:51] local.WARNING: Large IO value detected {"io_id":10,"raw_value":-6160916569925353441,"note":"Value kept but may cause issues"} 
[2026-07-27 09:10:51] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-27 09:10:51] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503993751699456,"note":"Value kept but may cause issues"} 
[2026-07-27 09:10:51] local.WARNING: Large IO value detected {"io_id":161,"raw_value":2808930305,"note":"Value kept but may cause issues"} 
[2026-07-27 09:10:51] local.WARNING: Large IO value detected {"io_id":5,"raw_value":2294808606,"note":"Value kept but may cause issues"} 
[2026-07-27 09:10:51] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639084336277401,"note":"Value kept but may cause issues"} 
[2026-07-27 09:10:51] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6197216974351958272,"note":"Value kept but may cause issues"} 
[2026-07-27 09:10:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1738080462,"corrected_to":0} 
[2026-07-27 09:10:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":1966393,"corrected_to":0} 
[2026-07-27 09:10:51] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-07-27 09:10:51] local.WARNING: Large IO value detected {"io_id":91,"raw_value":3282960384,"note":"Value kept but may cause issues"} 
[2026-07-27 09:10:51] local.WARNING: Large IO value detected {"io_id":88,"raw_value":84735657817605507,"note":"Value kept but may cause issues"} 
[2026-07-27 09:10:51] local.WARNING: Large IO value detected {"io_id":112,"raw_value":8726893129895424,"note":"Value kept but may cause issues"} 
[2026-07-27 09:10:51] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,153,94,24,241,157,16,196,159,187,45,168,22,37,10,66,183,179,64,1,240,114,227,161,5,4,113,205,20,101,200,239,56,2,91,7,31,14,206,88,112],"length":628,"final_offset":758,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1738080462,"validated":0},{"io_id":200,"original":1966393,"validated":0}]} 
[2026-07-27 09:10:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1585606976841973760,"timestamp_seconds":1585606976841973.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 09:10:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:10:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:10:51] local.INFO: Teltonika packet parsed successfully {"connection_id":142697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:10:51] local.INFO: Passing IMEI to GPS processor {"connection_id":142697,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:10:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":142697,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:10:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:10:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 09:10:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 09:10:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991629824001,"66":14352,"153":206,"94":10240,"24":13,"16":25829950498013184,"45":757449192488173568},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-07-27 09:10:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 09:10:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 09:10:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991629824001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:10:51] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-27 09:10:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 09:10:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25829950498013184,"km_value":25829950498013.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:10:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":757449192488173568,"description":"Unknown IO ID 45"} 
[2026-07-27 09:10:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991629824001,"power":14352,"unknown_153":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":757449192488173568}} 
[2026-07-27 09:10:51] local.INFO: DEBUG: GPS processor result {"connection_id":142697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552201,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:10:51] local.INFO: GPS data processed {"connection_id":142697,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:10:51] local.INFO: Acknowledgment sent {"connection_id":142697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:10:56] local.INFO: TCP Data received {"connection_id":142697,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1a7d270012d0a80400705ae080015015325..."} 
[2026-07-27 09:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1a7d270012d0a80400705ae080015015325..."} 
[2026-07-27 09:10:56] local.INFO: Processing buffer {"connection_id":142697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1a7d270012d0a80400705ae080015015325..."} 
[2026-07-27 09:10:56] local.INFO: Packet analysis {"connection_id":142697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1a7"} 
[2026-07-27 09:10:56] local.INFO: Extracted packet for processing {"connection_id":142697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1a7"} 
[2026-07-27 09:10:56] local.INFO: GPS Element Parsed {"raw_longitude":755662912,"raw_latitude":117812744,"longitude_deg":75.5662912,"latitude_deg":11.7812744,"altitude":21,"angle":339,"satellites":37,"speed":11,"hex_longitude":"2d0a8040","hex_latitude":"0705ae08","is_valid_coordinates":true} 
[2026-07-27 09:10:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:10:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991630080001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:10:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25829993447686144,"note":"Value kept but may cause issues"} 
[2026-07-27 09:10:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":757167717511526400,"note":"Value kept but may cause issues"} 
[2026-07-27 09:10:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:10:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785123558000,"timestamp_ms":1785123558000,"timestamp_seconds":1785123558,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1a7d270"} 
[2026-07-27 09:10:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:10:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09:10:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-07-27 09:10:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733145088,"note":"Value kept but may cause issues"} 
[2026-07-27 09:10:56] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-27 09:10:56] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2712102160,"note":"Value kept but may cause issues"} 
[2026-07-27 09:10:56] local.WARNING: Large IO value detected {"io_id":10,"raw_value":-6791420517813321697,"note":"Value kept but may cause issues"} 
[2026-07-27 09:10:56] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1163336138874683402,"note":"Value kept but may cause issues"} 
[2026-07-27 09:10:56] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-27 09:10:56] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503993752354816,"note":"Value kept but may cause issues"} 
[2026-07-27 09:10:56] local.WARNING: Large IO value detected {"io_id":161,"raw_value":2813538305,"note":"Value kept but may cause issues"} 
[2026-07-27 09:10:56] local.WARNING: Large IO value detected {"io_id":5,"raw_value":2810707991,"note":"Value kept but may cause issues"} 
[2026-07-27 09:10:56] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639084336277401,"note":"Value kept but may cause issues"} 
[2026-07-27 09:10:56] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6197216974351958272,"note":"Value kept but may cause issues"} 
[2026-07-27 09:10:56] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1738080462,"corrected_to":0} 
[2026-07-27 09:10:56] local.WARNING: Large IO value detected {"io_id":108,"raw_value":3758173450,"note":"Value kept but may cause issues"} 
[2026-07-27 09:10:56] local.WARNING: Large IO value detected {"io_id":154,"raw_value":3221685640,"note":"Value kept but may cause issues"} 
[2026-07-27 09:10:56] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":1966406,"corrected_to":0} 
[2026-07-27 09:10:56] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-07-27 09:10:56] local.WARNING: Large IO value detected {"io_id":91,"raw_value":3283681280,"note":"Value kept but may cause issues"} 
[2026-07-27 09:10:56] local.WARNING: Large IO value detected {"io_id":64,"raw_value":84735651375154563,"note":"Value kept but may cause issues"} 
[2026-07-27 09:10:56] local.WARNING: Large IO value detected {"io_id":208,"raw_value":8726970439306752,"note":"Value kept but may cause issues"} 
[2026-07-27 09:10:56] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,153,94,24,241,157,16,196,159,194,45,170,22,37,10,66,187,168,183,1,240,114,227,161,5,4,113,205,15,108,154,200,239,56,2,91,7,30,19,206,64,208],"length":628,"final_offset":758,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1738080462,"validated":0},{"io_id":200,"original":1966406,"validated":0}]} 
[2026-07-27 09:10:56] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1513565875478528000,"timestamp_seconds":1513565875478528,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 09:10:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:10:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:10:56] local.INFO: Teltonika packet parsed successfully {"connection_id":142697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:10:56] local.INFO: Passing IMEI to GPS processor {"connection_id":142697,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:10:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":142697,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:10:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:10:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 09:10:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 09:10:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991630080001,"66":14396,"153":206,"94":10240,"24":11,"16":25829993447686144,"45":757167717511526400},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-07-27 09:10:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 09:10:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 09:10:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991630080001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:10:56] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-27 09:10:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 09:10:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25829993447686144,"km_value":25829993447686.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:10:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":757167717511526400,"description":"Unknown IO ID 45"} 
[2026-07-27 09:10:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991630080001,"power":14396,"unknown_153":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":757167717511526400}} 
[2026-07-27 09:10:56] local.INFO: DEBUG: GPS processor result {"connection_id":142697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552202,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:10:56] local.INFO: GPS data processed {"connection_id":142697,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:10:56] local.INFO: Acknowledgment sent {"connection_id":142697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:11:05] local.INFO: TCP Data received {"connection_id":143804,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1a52ea8012d1826400721a040004f014323..."} 
[2026-07-27 09:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1a52ea8012d1826400721a040004f014323..."} 
[2026-07-27 09:11:05] local.INFO: Processing buffer {"connection_id":143804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1a52ea8012d1826400721a040004f014323..."} 
[2026-07-27 09:11:05] local.INFO: Packet analysis {"connection_id":143804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1a5"} 
[2026-07-27 09:11:05] local.INFO: Extracted packet for processing {"connection_id":143804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1a5"} 
[2026-07-27 09:11:05] local.INFO: GPS Element Parsed {"raw_longitude":756557376,"raw_latitude":119644224,"longitude_deg":75.6557376,"latitude_deg":11.9644224,"altitude":79,"angle":323,"satellites":35,"speed":0,"hex_longitude":"2d182640","hex_latitude":"0721a040","is_valid_coordinates":true} 
[2026-07-27 09:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:11:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991581184001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:11:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8761857837891584,"note":"Value kept but may cause issues"} 
[2026-07-27 09:11:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740148705398374400,"note":"Value kept but may cause issues"} 
[2026-07-27 09:11:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:11:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785123385000,"timestamp_ms":1785123385000,"timestamp_seconds":1785123385,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1a52ea8"} 
[2026-07-27 09:11:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:11:05] 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-07-27 09:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-27 09:11:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:11:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:11:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:11:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:11:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:11:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143804,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:11:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143804,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:11:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:11:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 09:11:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 09:11:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991581184001,"66":12232,"120":206,"28":31744,"24":0,"16":8761857837891584,"45":1740148705398374400},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 09:11:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 09:11:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 09:11:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991581184001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:11:05] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 09:11:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 09:11:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8761857837891584,"km_value":8761857837891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:11:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740148705398374400,"description":"Unknown IO ID 45"} 
[2026-07-27 09:11:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991581184001,"power":12232,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740148705398374400}} 
[2026-07-27 09:11:05] local.INFO: DEBUG: GPS processor result {"connection_id":143804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552203,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:11:05] local.INFO: GPS data processed {"connection_id":143804,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:11:05] local.INFO: Acknowledgment sent {"connection_id":143804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:11:10] local.INFO: TCP Data received {"connection_id":143805,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1a46388012d7f8e8005afdaa8000600232c..."} 
[2026-07-27 09:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1a46388012d7f8e8005afdaa8000600232c..."} 
[2026-07-27 09:11:10] local.INFO: Processing buffer {"connection_id":143805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1a46388012d7f8e8005afdaa8000600232c..."} 
[2026-07-27 09:11:10] local.INFO: Packet analysis {"connection_id":143805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1a4"} 
[2026-07-27 09:11:10] local.INFO: Extracted packet for processing {"connection_id":143805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1a4"} 
[2026-07-27 09:11:10] local.INFO: GPS Element Parsed {"raw_longitude":763334272,"raw_latitude":95410856,"longitude_deg":76.3334272,"latitude_deg":9.5410856,"altitude":6,"angle":35,"satellites":44,"speed":1,"hex_longitude":"2d7f8e80","hex_latitude":"05afdaa8","is_valid_coordinates":true} 
[2026-07-27 09:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:11:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991572992001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:11:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826143710707712,"note":"Value kept but may cause issues"} 
[2026-07-27 09:11:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191354282679111680,"note":"Value kept but may cause issues"} 
[2026-07-27 09:11:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:11:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785123333000,"timestamp_ms":1785123333000,"timestamp_seconds":1785123333,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1a46388"} 
[2026-07-27 09:11:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:11:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-27 09:11:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:11:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:11:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:11:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:11:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:11:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:11:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:11:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:11:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:11:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:11:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991572992001,"66":27876,"250":206,"85":12544,"24":1,"16":358826143710707712,"45":9191354282679111680},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 09:11:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:11:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:11:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991572992001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:11:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 09:11:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:11:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826143710707712,"km_value":358826143710707.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:11:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191354282679111680,"description":"Unknown IO ID 45"} 
[2026-07-27 09:11:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991572992001,"power":27876,"unknown_250":206,"unknown_85":12544,"ignition":1,"odometer":null,"unknown_45":9191354282679111680}} 
[2026-07-27 09:11:10] local.INFO: DEBUG: GPS processor result {"connection_id":143805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:11:10] local.INFO: GPS data processed {"connection_id":143805,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:11:10] local.INFO: Acknowledgment sent {"connection_id":143805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:11:30] local.INFO: TCP Data received {"connection_id":145129,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145129,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:11:30] local.INFO: Processing buffer {"connection_id":145129,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:11:30] local.INFO: IMEI packet received {"connection_id":145129,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 09:11:30] local.INFO: IMEI acknowledgment sent {"connection_id":145129,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:11:30] local.INFO: TCP Data received {"connection_id":142698,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142698,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:11:30] local.INFO: Processing buffer {"connection_id":142698,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:11:30] local.INFO: IMEI packet received {"connection_id":142698,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 09:11:30] local.INFO: IMEI acknowledgment sent {"connection_id":142698,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:11:31] local.INFO: TCP Data received {"connection_id":145129,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145129,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:11:31] local.INFO: Processing buffer {"connection_id":145129,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:11:31] local.INFO: IMEI packet received {"connection_id":145129,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 09:11:31] local.INFO: IMEI acknowledgment sent {"connection_id":145129,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:11:33] local.INFO: TCP Data received {"connection_id":142822,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:11:33] local.INFO: Processing buffer {"connection_id":142822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:11:33] local.INFO: IMEI packet received {"connection_id":142822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 09:11:33] local.INFO: IMEI acknowledgment sent {"connection_id":142822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:11:35] local.INFO: TCP Data received {"connection_id":145129,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145129,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:11:35] local.INFO: Processing buffer {"connection_id":145129,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:11:35] local.INFO: IMEI packet received {"connection_id":145129,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 09:11:35] local.INFO: IMEI acknowledgment sent {"connection_id":145129,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:11:35] local.INFO: TCP Data received {"connection_id":142698,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142698,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:11:35] local.INFO: Processing buffer {"connection_id":142698,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:11:35] local.INFO: IMEI packet received {"connection_id":142698,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 09:11:35] local.INFO: IMEI acknowledgment sent {"connection_id":142698,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:11:36] local.INFO: TCP Data received {"connection_id":145129,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1a8b500012d1826400721a040004f014325..."} 
[2026-07-27 09:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145129,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1a8b500012d1826400721a040004f014325..."} 
[2026-07-27 09:11:36] local.INFO: Processing buffer {"connection_id":145129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1a8b500012d1826400721a040004f014325..."} 
[2026-07-27 09:11:36] local.INFO: Packet analysis {"connection_id":145129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1a8"} 
[2026-07-27 09:11:36] local.INFO: Extracted packet for processing {"connection_id":145129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1a8"} 
[2026-07-27 09:11:36] local.INFO: GPS Element Parsed {"raw_longitude":756557376,"raw_latitude":119644224,"longitude_deg":75.6557376,"latitude_deg":11.9644224,"altitude":79,"angle":323,"satellites":37,"speed":0,"hex_longitude":"2d182640","hex_latitude":"0721a040","is_valid_coordinates":true} 
[2026-07-27 09:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:11:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991640320001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:11:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8761857837891584,"note":"Value kept but may cause issues"} 
[2026-07-27 09:11:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740148705398374400,"note":"Value kept but may cause issues"} 
[2026-07-27 09:11:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:11:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785123616000,"timestamp_ms":1785123616000,"timestamp_seconds":1785123616,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1a8b500"} 
[2026-07-27 09:11:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:11:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-27 09:11:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:11:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:11:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:11:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:11:36] local.INFO: Teltonika packet parsed successfully {"connection_id":145129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:11:36] local.INFO: Passing IMEI to GPS processor {"connection_id":145129,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:11:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":145129,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:11:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:11:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 09:11:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 09:11:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991640320001,"66":14026,"120":206,"28":31744,"24":0,"16":8761857837891584,"45":1740148705398374400},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 09:11:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 09:11:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 09:11:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991640320001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:11:36] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 09:11:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 09:11:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8761857837891584,"km_value":8761857837891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:11:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740148705398374400,"description":"Unknown IO ID 45"} 
[2026-07-27 09:11:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991640320001,"power":14026,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740148705398374400}} 
[2026-07-27 09:11:36] local.INFO: DEBUG: GPS processor result {"connection_id":145129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552205,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:11:36] local.INFO: GPS data processed {"connection_id":145129,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:11:36] local.INFO: Acknowledgment sent {"connection_id":145129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:11:36] local.INFO: TCP Data received {"connection_id":142698,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1a44448012d7d2cc005ec0c000008012626..."} 
[2026-07-27 09:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142698,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1a44448012d7d2cc005ec0c000008012626..."} 
[2026-07-27 09:11:36] local.INFO: Processing buffer {"connection_id":142698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1a44448012d7d2cc005ec0c000008012626..."} 
[2026-07-27 09:11:36] local.INFO: Packet analysis {"connection_id":142698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1a4"} 
[2026-07-27 09:11:36] local.INFO: Extracted packet for processing {"connection_id":142698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1a4"} 
[2026-07-27 09:11:36] local.INFO: GPS Element Parsed {"raw_longitude":763178176,"raw_latitude":99355648,"longitude_deg":76.3178176,"latitude_deg":9.9355648,"altitude":8,"angle":294,"satellites":38,"speed":0,"hex_longitude":"2d7d2cc0","hex_latitude":"05ec0c00","is_valid_coordinates":true} 
[2026-07-27 09:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:11:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991571200001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:11:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111588348476260352,"note":"Value kept but may cause issues"} 
[2026-07-27 09:11:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9019795285383839744,"note":"Value kept but may cause issues"} 
[2026-07-27 09:11:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:11:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785123325000,"timestamp_ms":1785123325000,"timestamp_seconds":1785123325,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1a44448"} 
[2026-07-27 09:11:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:11:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-07-27 09:11:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1749,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:11:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:11:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:11:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:11:36] local.INFO: Teltonika packet parsed successfully {"connection_id":142698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:11:36] local.INFO: Passing IMEI to GPS processor {"connection_id":142698,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:11:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":142698,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:11:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:11:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 09:11:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 09:11:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991571200001,"66":13200,"197":206,"87":13824,"24":0,"16":111588348476260352,"45":9019795285383839744},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-07-27 09:11:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 09:11:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 09:11:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991571200001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:11:36] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-27 09:11:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 09:11:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111588348476260352,"km_value":111588348476260.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:11:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9019795285383839744,"description":"Unknown IO ID 45"} 
[2026-07-27 09:11:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991571200001,"power":13200,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9019795285383839744}} 
[2026-07-27 09:11:36] local.INFO: DEBUG: GPS processor result {"connection_id":142698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552206,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:11:36] local.INFO: GPS data processed {"connection_id":142698,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:11:36] local.INFO: Acknowledgment sent {"connection_id":142698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:11:37] local.INFO: TCP Data received {"connection_id":145130,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145130,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:11:37] local.INFO: Processing buffer {"connection_id":145130,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:11:37] local.INFO: IMEI packet received {"connection_id":145130,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 09:11:37] local.INFO: IMEI acknowledgment sent {"connection_id":145130,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:11:38] local.INFO: TCP Data received {"connection_id":142822,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:11:38] local.INFO: Processing buffer {"connection_id":142822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:11:38] local.INFO: IMEI packet received {"connection_id":142822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 09:11:38] local.INFO: IMEI acknowledgment sent {"connection_id":142822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:11:38] local.INFO: TCP Data received {"connection_id":142822,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1a46388012d7f8e8005afdaa8000600232c..."} 
[2026-07-27 09:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1a46388012d7f8e8005afdaa8000600232c..."} 
[2026-07-27 09:11:38] local.INFO: Processing buffer {"connection_id":142822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1a46388012d7f8e8005afdaa8000600232c..."} 
[2026-07-27 09:11:38] local.INFO: Packet analysis {"connection_id":142822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1a4"} 
[2026-07-27 09:11:38] local.INFO: Extracted packet for processing {"connection_id":142822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1a4"} 
[2026-07-27 09:11:38] local.INFO: GPS Element Parsed {"raw_longitude":763334272,"raw_latitude":95410856,"longitude_deg":76.3334272,"latitude_deg":9.5410856,"altitude":6,"angle":35,"satellites":44,"speed":1,"hex_longitude":"2d7f8e80","hex_latitude":"05afdaa8","is_valid_coordinates":true} 
[2026-07-27 09:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:11:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991573248001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:11:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826143710707712,"note":"Value kept but may cause issues"} 
[2026-07-27 09:11:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191424651423295488,"note":"Value kept but may cause issues"} 
[2026-07-27 09:11:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:11:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785123333000,"timestamp_ms":1785123333000,"timestamp_seconds":1785123333,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1a46388"} 
[2026-07-27 09:11:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:11:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-27 09:11:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:11:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:11:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:11:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:11:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:11:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:11:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:11:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:11:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:11:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:11:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991573248001,"66":27876,"250":206,"85":12544,"24":1,"16":358826143710707712,"45":9191424651423295488},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 09:11:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:11:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:11:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991573248001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:11:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 09:11:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:11:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826143710707712,"km_value":358826143710707.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:11:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191424651423295488,"description":"Unknown IO ID 45"} 
[2026-07-27 09:11:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991573248001,"power":27876,"unknown_250":206,"unknown_85":12544,"ignition":1,"odometer":null,"unknown_45":9191424651423295488}} 
[2026-07-27 09:11:38] local.INFO: DEBUG: GPS processor result {"connection_id":142822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:11:38] local.INFO: GPS data processed {"connection_id":142822,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:11:38] local.INFO: Acknowledgment sent {"connection_id":142822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:11:40] local.INFO: TCP Data received {"connection_id":145130,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145130,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:11:40] local.INFO: Processing buffer {"connection_id":145130,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:11:40] local.INFO: IMEI packet received {"connection_id":145130,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 09:11:40] local.INFO: IMEI acknowledgment sent {"connection_id":145130,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:11:47] local.INFO: TCP Data received {"connection_id":145130,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145130,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:11:47] local.INFO: Processing buffer {"connection_id":145130,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:11:47] local.INFO: IMEI packet received {"connection_id":145130,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 09:11:47] local.INFO: IMEI acknowledgment sent {"connection_id":145130,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:11:49] local.INFO: TCP Data received {"connection_id":145130,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1a964c8012d0a73c007060638000f00b025..."} 
[2026-07-27 09:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145130,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1a964c8012d0a73c007060638000f00b025..."} 
[2026-07-27 09:11:49] local.INFO: Processing buffer {"connection_id":145130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1a964c8012d0a73c007060638000f00b025..."} 
[2026-07-27 09:11:49] local.INFO: Packet analysis {"connection_id":145130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1a9"} 
[2026-07-27 09:11:49] local.INFO: Extracted packet for processing {"connection_id":145130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1a9"} 
[2026-07-27 09:11:49] local.INFO: GPS Element Parsed {"raw_longitude":755659712,"raw_latitude":117835320,"longitude_deg":75.5659712,"latitude_deg":11.783532,"altitude":15,"angle":176,"satellites":37,"speed":1,"hex_longitude":"2d0a73c0","hex_latitude":"07060638","is_valid_coordinates":true} 
[2026-07-27 09: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-07-27 09:11:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991655936001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:11:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25831178858659840,"note":"Value kept but may cause issues"} 
[2026-07-27 09:11:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":752875224122759168,"note":"Value kept but may cause issues"} 
[2026-07-27 09:11:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:11:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785123661000,"timestamp_ms":1785123661000,"timestamp_seconds":1785123661,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1a964c8"} 
[2026-07-27 09:11:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:11: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-07-27 09: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-27 09:11:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09: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-07-27 09:11:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:11:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:11:49] local.INFO: Teltonika packet parsed successfully {"connection_id":145130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:11:49] local.INFO: Passing IMEI to GPS processor {"connection_id":145130,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:11:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":145130,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:11:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:11:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 09:11:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 09:11:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991655936001,"66":14537,"165":206,"94":10240,"24":1,"16":25831178858659840,"45":752875224122759168},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-07-27 09:11:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 09:11:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 09:11:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991655936001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:11:49] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-27 09:11:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 09:11:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25831178858659840,"km_value":25831178858659.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:11:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":752875224122759168,"description":"Unknown IO ID 45"} 
[2026-07-27 09:11:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991655936001,"power":14537,"unknown_165":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":752875224122759168}} 
[2026-07-27 09:11:50] local.INFO: DEBUG: GPS processor result {"connection_id":145130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552208,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:11:50] local.INFO: GPS data processed {"connection_id":145130,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:11:50] local.INFO: Acknowledgment sent {"connection_id":145130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:12:07] local.INFO: TCP Data received {"connection_id":145129,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1a90708012d1826400721a040004f014325..."} 
[2026-07-27 09:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145129,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1a90708012d1826400721a040004f014325..."} 
[2026-07-27 09:12:07] local.INFO: Processing buffer {"connection_id":145129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1a90708012d1826400721a040004f014325..."} 
[2026-07-27 09:12:07] local.INFO: Packet analysis {"connection_id":145129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1a9"} 
[2026-07-27 09:12:07] local.INFO: Extracted packet for processing {"connection_id":145129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1a9"} 
[2026-07-27 09:12:07] local.INFO: GPS Element Parsed {"raw_longitude":756557376,"raw_latitude":119644224,"longitude_deg":75.6557376,"latitude_deg":11.9644224,"altitude":79,"angle":323,"satellites":37,"speed":0,"hex_longitude":"2d182640","hex_latitude":"0721a040","is_valid_coordinates":true} 
[2026-07-27 09:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:12:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991645696001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:12:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8761857837891584,"note":"Value kept but may cause issues"} 
[2026-07-27 09:12:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740148705398374400,"note":"Value kept but may cause issues"} 
[2026-07-27 09:12:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:12:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785123637000,"timestamp_ms":1785123637000,"timestamp_seconds":1785123637,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1a90708"} 
[2026-07-27 09:12:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:12:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-07-27 09:12:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2286,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:12:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:12:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:12:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:12:07] local.INFO: Teltonika packet parsed successfully {"connection_id":145129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:12:07] local.INFO: Passing IMEI to GPS processor {"connection_id":145129,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:12:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":145129,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:12:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:12:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 09:12:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 09:12:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991645696001,"66":14352,"120":206,"28":31744,"24":0,"16":8761857837891584,"45":1740148705398374400},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 09:12:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 09:12:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 09:12:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991645696001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:12:07] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 09:12:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 09:12:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8761857837891584,"km_value":8761857837891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:12:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740148705398374400,"description":"Unknown IO ID 45"} 
[2026-07-27 09:12:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991645696001,"power":14352,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740148705398374400}} 
[2026-07-27 09:12:07] local.INFO: TCP Data received {"connection_id":142698,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1a526d8012d7d2e4005ec0c280008012627..."} 
[2026-07-27 09:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142698,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1a526d8012d7d2e4005ec0c280008012627..."} 
[2026-07-27 09:12:07] local.INFO: Processing buffer {"connection_id":142698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1a526d8012d7d2e4005ec0c280008012627..."} 
[2026-07-27 09:12:07] local.INFO: Packet analysis {"connection_id":142698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1a5"} 
[2026-07-27 09:12:07] local.INFO: Extracted packet for processing {"connection_id":142698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1a5"} 
[2026-07-27 09:12:07] local.INFO: GPS Element Parsed {"raw_longitude":763178560,"raw_latitude":99355688,"longitude_deg":76.317856,"latitude_deg":9.9355688,"altitude":8,"angle":294,"satellites":39,"speed":0,"hex_longitude":"2d7d2e40","hex_latitude":"05ec0c28","is_valid_coordinates":true} 
[2026-07-27 09:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:12:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991571200001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:12:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111588348476260352,"note":"Value kept but may cause issues"} 
[2026-07-27 09:12:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9019795285383839744,"note":"Value kept but may cause issues"} 
[2026-07-27 09:12:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:12:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785123383000,"timestamp_ms":1785123383000,"timestamp_seconds":1785123383,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1a526d8"} 
[2026-07-27 09:12:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:12:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-07-27 09:12:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1749,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:12:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:12:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:12:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:12:07] local.INFO: Teltonika packet parsed successfully {"connection_id":142698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:12:07] local.INFO: Passing IMEI to GPS processor {"connection_id":142698,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:12:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":142698,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:12:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:12:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 09:12:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 09:12:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991571200001,"66":9689,"197":206,"87":13824,"24":0,"16":111588348476260352,"45":9019795285383839744},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-07-27 09:12:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 09:12:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 09:12:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991571200001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:12:07] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-27 09:12:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 09:12:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111588348476260352,"km_value":111588348476260.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:12:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9019795285383839744,"description":"Unknown IO ID 45"} 
[2026-07-27 09:12:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991571200001,"power":9689,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9019795285383839744}} 
[2026-07-27 09:12:07] local.INFO: DEBUG: GPS processor result {"connection_id":142698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552209,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:12:07] local.INFO: GPS data processed {"connection_id":142698,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:12:07] local.INFO: Acknowledgment sent {"connection_id":142698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:12:07] local.INFO: DEBUG: GPS processor result {"connection_id":145129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552210,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:12:07] local.INFO: GPS data processed {"connection_id":145129,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:12:07] local.INFO: Acknowledgment sent {"connection_id":145129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:12:09] local.INFO: TCP Data received {"connection_id":142822,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1a90320012d7f990005afda68000900232f..."} 
[2026-07-27 09:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1a90320012d7f990005afda68000900232f..."} 
[2026-07-27 09:12:09] local.INFO: Processing buffer {"connection_id":142822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1a90320012d7f990005afda68000900232f..."} 
[2026-07-27 09:12:09] local.INFO: Packet analysis {"connection_id":142822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1a9"} 
[2026-07-27 09:12:09] local.INFO: Extracted packet for processing {"connection_id":142822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1a9"} 
[2026-07-27 09:12:09] local.INFO: GPS Element Parsed {"raw_longitude":763336960,"raw_latitude":95410792,"longitude_deg":76.333696,"latitude_deg":9.5410792,"altitude":9,"angle":35,"satellites":47,"speed":0,"hex_longitude":"2d7f9900","hex_latitude":"05afda68","is_valid_coordinates":true} 
[2026-07-27 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-07-27 09:12:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991573248001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:12:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826143710707712,"note":"Value kept but may cause issues"} 
[2026-07-27 09:12:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191424651423295488,"note":"Value kept but may cause issues"} 
[2026-07-27 09:12:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:12:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785123636000,"timestamp_ms":1785123636000,"timestamp_seconds":1785123636,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1a90320"} 
[2026-07-27 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-07-27 09:12:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-27 09:12:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 09:12:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:12:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:12:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:12:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:12:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:12:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:12:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:12:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991573248001,"66":26082,"250":206,"85":12544,"24":0,"16":358826143710707712,"45":9191424651423295488},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 09:12:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:12:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:12:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991573248001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:12:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 09:12:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:12:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826143710707712,"km_value":358826143710707.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:12:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191424651423295488,"description":"Unknown IO ID 45"} 
[2026-07-27 09:12:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991573248001,"power":26082,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191424651423295488}} 
[2026-07-27 09:12:09] local.INFO: DEBUG: GPS processor result {"connection_id":142822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:12:09] local.INFO: GPS data processed {"connection_id":142822,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:12:09] local.INFO: Acknowledgment sent {"connection_id":142822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:12:21] local.INFO: TCP Data received {"connection_id":145130,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1a97c38012d0a740007060538000f009925..."} 
[2026-07-27 09:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145130,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1a97c38012d0a740007060538000f009925..."} 
[2026-07-27 09:12:21] local.INFO: Processing buffer {"connection_id":145130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1a97c38012d0a740007060538000f009925..."} 
[2026-07-27 09:12:21] local.INFO: Packet analysis {"connection_id":145130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1a9"} 
[2026-07-27 09:12:21] local.INFO: Extracted packet for processing {"connection_id":145130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1a9"} 
[2026-07-27 09:12:21] local.INFO: GPS Element Parsed {"raw_longitude":755659776,"raw_latitude":117835064,"longitude_deg":75.5659776,"latitude_deg":11.7835064,"altitude":15,"angle":153,"satellites":37,"speed":2,"hex_longitude":"2d0a7400","hex_latitude":"07060538","is_valid_coordinates":true} 
[2026-07-27 09:12:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:12:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991657216001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:12:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25831196038529024,"note":"Value kept but may cause issues"} 
[2026-07-27 09:12:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753156699099379712,"note":"Value kept but may cause issues"} 
[2026-07-27 09:12:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:12:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785123667000,"timestamp_ms":1785123667000,"timestamp_seconds":1785123667,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1a97c38"} 
[2026-07-27 09:12:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:12: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-07-27 09:12:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-27 09:12:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:12:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:12:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:12:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:12:21] local.INFO: Teltonika packet parsed successfully {"connection_id":145130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:12:21] local.INFO: Passing IMEI to GPS processor {"connection_id":145130,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:12:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":145130,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:12:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:12:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 09:12:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 09:12:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991657216001,"66":14548,"165":206,"94":10240,"24":2,"16":25831196038529024,"45":753156699099379712},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-07-27 09:12:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 09:12:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 09:12:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991657216001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:12:21] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-27 09:12:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 09:12:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25831196038529024,"km_value":25831196038529.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:12:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":753156699099379712,"description":"Unknown IO ID 45"} 
[2026-07-27 09:12:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991657216001,"power":14548,"unknown_165":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":753156699099379712}} 
[2026-07-27 09:12:21] local.INFO: DEBUG: GPS processor result {"connection_id":145130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552212,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:12:21] local.INFO: GPS data processed {"connection_id":145130,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:12:21] local.INFO: Acknowledgment sent {"connection_id":145130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:12:29] local.INFO: TCP Data received {"connection_id":143808,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143808,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:12:29] local.INFO: Processing buffer {"connection_id":143808,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:12:29] local.INFO: IMEI packet received {"connection_id":143808,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 09:12:29] local.INFO: IMEI acknowledgment sent {"connection_id":143808,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:12:30] local.INFO: TCP Data received {"connection_id":143808,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143808,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:12:30] local.INFO: Processing buffer {"connection_id":143808,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:12:30] local.INFO: IMEI packet received {"connection_id":143808,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 09:12:30] local.INFO: IMEI acknowledgment sent {"connection_id":143808,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:12:30] local.INFO: TCP Data received {"connection_id":143807,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143807,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:12:30] local.INFO: Processing buffer {"connection_id":143807,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:12:30] local.INFO: IMEI packet received {"connection_id":143807,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 09:12:30] local.INFO: IMEI acknowledgment sent {"connection_id":143807,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:12:33] local.INFO: TCP Data received {"connection_id":145131,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:12:33] local.INFO: Processing buffer {"connection_id":145131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:12:33] local.INFO: IMEI packet received {"connection_id":145131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 09:12:33] local.INFO: IMEI acknowledgment sent {"connection_id":145131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:12:35] local.INFO: TCP Data received {"connection_id":143807,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143807,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:12:35] local.INFO: Processing buffer {"connection_id":143807,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:12:35] local.INFO: IMEI packet received {"connection_id":143807,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 09:12:35] local.INFO: IMEI acknowledgment sent {"connection_id":143807,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:12:35] local.INFO: TCP Data received {"connection_id":143808,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143808,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:12:35] local.INFO: Processing buffer {"connection_id":143808,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:12:35] local.INFO: IMEI packet received {"connection_id":143808,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 09:12:35] local.INFO: IMEI acknowledgment sent {"connection_id":143808,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:12:36] local.INFO: TCP Data received {"connection_id":143807,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1a526d8012d7d2e4005ec0c280008012627..."} 
[2026-07-27 09:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1a526d8012d7d2e4005ec0c280008012627..."} 
[2026-07-27 09:12:36] local.INFO: Processing buffer {"connection_id":143807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1a526d8012d7d2e4005ec0c280008012627..."} 
[2026-07-27 09:12:36] local.INFO: Packet analysis {"connection_id":143807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1a5"} 
[2026-07-27 09:12:36] local.INFO: Extracted packet for processing {"connection_id":143807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1a5"} 
[2026-07-27 09:12:36] local.INFO: GPS Element Parsed {"raw_longitude":763178560,"raw_latitude":99355688,"longitude_deg":76.317856,"latitude_deg":9.9355688,"altitude":8,"angle":294,"satellites":39,"speed":0,"hex_longitude":"2d7d2e40","hex_latitude":"05ec0c28","is_valid_coordinates":true} 
[2026-07-27 09:12:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:12:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991586048001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:12:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111588348476260352,"note":"Value kept but may cause issues"} 
[2026-07-27 09:12:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020217497848915968,"note":"Value kept but may cause issues"} 
[2026-07-27 09:12:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:12:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785123383000,"timestamp_ms":1785123383000,"timestamp_seconds":1785123383,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1a526d8"} 
[2026-07-27 09:12:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:12:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:12:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":37,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-27 09:12:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2336,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:12:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:12:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:12:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:12:36] local.INFO: Teltonika packet parsed successfully {"connection_id":143807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:12:36] local.INFO: Passing IMEI to GPS processor {"connection_id":143807,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:12:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":143807,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:12:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:12:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 09:12:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 09:12:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991586048001,"66":9689,"197":206,"87":13824,"24":0,"16":111588348476260352,"45":9020217497848915968},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-07-27 09:12:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 09:12:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 09:12:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991586048001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:12:36] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-27 09:12:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 09:12:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111588348476260352,"km_value":111588348476260.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:12:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020217497848915968,"description":"Unknown IO ID 45"} 
[2026-07-27 09:12:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991586048001,"power":9689,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020217497848915968}} 
[2026-07-27 09:12:36] local.INFO: DEBUG: GPS processor result {"connection_id":143807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552213,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:12:36] local.INFO: GPS data processed {"connection_id":143807,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:12:36] local.INFO: Acknowledgment sent {"connection_id":143807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:12:37] local.INFO: TCP Data received {"connection_id":143808,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1a92e18012d18264007219df80057012d26..."} 
[2026-07-27 09:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1a92e18012d18264007219df80057012d26..."} 
[2026-07-27 09:12:37] local.INFO: Processing buffer {"connection_id":143808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1a92e18012d18264007219df80057012d26..."} 
[2026-07-27 09:12:37] local.INFO: Packet analysis {"connection_id":143808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1a9"} 
[2026-07-27 09:12:37] local.INFO: Extracted packet for processing {"connection_id":143808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1a9"} 
[2026-07-27 09:12:37] local.INFO: GPS Element Parsed {"raw_longitude":756557376,"raw_latitude":119643640,"longitude_deg":75.6557376,"latitude_deg":11.964364,"altitude":87,"angle":301,"satellites":38,"speed":4,"hex_longitude":"2d182640","hex_latitude":"07219df8","is_valid_coordinates":true} 
[2026-07-27 09:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:12:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991651072001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:12:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8761887902662656,"note":"Value kept but may cause issues"} 
[2026-07-27 09:12:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740148705398374400,"note":"Value kept but may cause issues"} 
[2026-07-27 09:12:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:12:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785123647000,"timestamp_ms":1785123647000,"timestamp_seconds":1785123647,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1a92e18"} 
[2026-07-27 09:12:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:12:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-07-27 09:12:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733134592,"note":"Value kept but may cause issues"} 
[2026-07-27 09:12:37] local.WARNING: Large IO value detected {"io_id":24,"raw_value":2756210812954607695,"note":"Value kept but may cause issues"} 
[2026-07-27 09:12:37] local.WARNING: Large IO value detected {"io_id":32,"raw_value":3707764736,"note":"Value kept but may cause issues"} 
[2026-07-27 09:12:37] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2712083160,"note":"Value kept but may cause issues"} 
[2026-07-27 09:12:37] local.WARNING: Large IO value detected {"io_id":64,"raw_value":22237911072112640,"note":"Value kept but may cause issues"} 
[2026-07-27 09:12:37] local.WARNING: Large IO value detected {"io_id":1,"raw_value":4838554849656176650,"note":"Value kept but may cause issues"} 
[2026-07-27 09:12:37] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-27 09:12:37] local.WARNING: Large IO value detected {"io_id":161,"raw_value":2814306305,"note":"Value kept but may cause issues"} 
[2026-07-27 09:12:37] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2688548943,"note":"Value kept but may cause issues"} 
[2026-07-27 09:12:37] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18632689130006392,"note":"Value kept but may cause issues"} 
[2026-07-27 09:12:37] local.WARNING: Large IO value detected {"io_id":113,"raw_value":3242855618796912896,"note":"Value kept but may cause issues"} 
[2026-07-27 09:12:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-07-27 09:12:37] local.WARNING: Large IO value detected {"io_id":108,"raw_value":3758173464,"note":"Value kept but may cause issues"} 
[2026-07-27 09:12:37] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472039641104,"note":"Value kept but may cause issues"} 
[2026-07-27 09:12:37] local.WARNING: Large IO value detected {"io_id":208,"raw_value":84750520551940512,"note":"Value kept but may cause issues"} 
[2026-07-27 09:12:37] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,120,28,24,241,158,16,32,159,181,45,64,160,79,37,10,66,98,1,240,41,161,33,4,113,205,108,38,239,50,2,31,7,206,208],"length":628,"final_offset":758,"validated_count":35,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-07-27 09:12:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5692905230165868544,"timestamp_seconds":5692905230165869.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 09:12:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:12:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:12:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:12:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:12:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:12:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:12:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 09:12:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 09:12:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991651072001,"66":14298,"120":206,"28":31744,"24":4,"16":8761887902662656,"45":1740148705398374400},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 09:12:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 09:12:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 09:12:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991651072001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:12:37] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 09:12:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 09:12:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8761887902662656,"km_value":8761887902662.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:12:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740148705398374400,"description":"Unknown IO ID 45"} 
[2026-07-27 09:12:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991651072001,"power":14298,"unknown_120":206,"unknown_28":31744,"ignition":4,"odometer":null,"unknown_45":1740148705398374400}} 
[2026-07-27 09:12:37] local.INFO: DEBUG: GPS processor result {"connection_id":143808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552214,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:12:37] local.INFO: GPS data processed {"connection_id":143808,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:12:37] local.INFO: Acknowledgment sent {"connection_id":143808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:12:38] local.INFO: TCP Data received {"connection_id":145131,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:12:38] local.INFO: Processing buffer {"connection_id":145131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:12:38] local.INFO: IMEI packet received {"connection_id":145131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 09:12:38] local.INFO: IMEI acknowledgment sent {"connection_id":145131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:12:38] local.INFO: TCP Data received {"connection_id":143809,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143809,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:12:38] local.INFO: Processing buffer {"connection_id":143809,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:12:38] local.INFO: IMEI packet received {"connection_id":143809,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 09:12:38] local.INFO: IMEI acknowledgment sent {"connection_id":143809,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:12:39] local.INFO: TCP Data received {"connection_id":145131,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1a90320012d7f990005afda68000900232f..."} 
[2026-07-27 09:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145131,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1a90320012d7f990005afda68000900232f..."} 
[2026-07-27 09:12:39] local.INFO: Processing buffer {"connection_id":145131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1a90320012d7f990005afda68000900232f..."} 
[2026-07-27 09:12:39] local.INFO: Packet analysis {"connection_id":145131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1a9"} 
[2026-07-27 09:12:39] local.INFO: Extracted packet for processing {"connection_id":145131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1a9"} 
[2026-07-27 09:12:39] local.INFO: GPS Element Parsed {"raw_longitude":763336960,"raw_latitude":95410792,"longitude_deg":76.333696,"latitude_deg":9.5410792,"altitude":9,"angle":35,"satellites":47,"speed":0,"hex_longitude":"2d7f9900","hex_latitude":"05afda68","is_valid_coordinates":true} 
[2026-07-27 09:12:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:12:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991573248001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:12:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826143710707712,"note":"Value kept but may cause issues"} 
[2026-07-27 09:12:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191424651423295488,"note":"Value kept but may cause issues"} 
[2026-07-27 09:12:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:12:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785123636000,"timestamp_ms":1785123636000,"timestamp_seconds":1785123636,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1a90320"} 
[2026-07-27 09:12:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:12:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:12:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-27 09:12:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:12:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:12:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:12:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:12:39] local.INFO: Teltonika packet parsed successfully {"connection_id":145131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:12:39] local.INFO: Passing IMEI to GPS processor {"connection_id":145131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:12:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":145131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:12:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:12:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:12:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:12:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991573248001,"66":26082,"250":206,"85":12544,"24":0,"16":358826143710707712,"45":9191424651423295488},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 09:12:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:12:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:12:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991573248001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:12:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 09:12:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:12:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826143710707712,"km_value":358826143710707.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:12:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191424651423295488,"description":"Unknown IO ID 45"} 
[2026-07-27 09:12:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991573248001,"power":26082,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191424651423295488}} 
[2026-07-27 09:12:39] local.INFO: DEBUG: GPS processor result {"connection_id":145131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:12:39] local.INFO: GPS data processed {"connection_id":145131,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:12:39] local.INFO: Acknowledgment sent {"connection_id":145131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:12:41] local.INFO: TCP Data received {"connection_id":143809,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143809,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:12:41] local.INFO: Processing buffer {"connection_id":143809,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:12:41] local.INFO: IMEI packet received {"connection_id":143809,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 09:12:41] local.INFO: IMEI acknowledgment sent {"connection_id":143809,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:12:45] local.INFO: TCP Data received {"connection_id":143809,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143809,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:12:45] local.INFO: Processing buffer {"connection_id":143809,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:12:45] local.INFO: IMEI packet received {"connection_id":143809,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 09:12:45] local.INFO: IMEI acknowledgment sent {"connection_id":143809,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:12:46] local.INFO: TCP Data received {"connection_id":143809,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1aa5310012d0a744007060418000e00de24..."} 
[2026-07-27 09:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1aa5310012d0a744007060418000e00de24..."} 
[2026-07-27 09:12:46] local.INFO: Processing buffer {"connection_id":143809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1aa5310012d0a744007060418000e00de24..."} 
[2026-07-27 09:12:46] local.INFO: Packet analysis {"connection_id":143809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1aa"} 
[2026-07-27 09:12:46] local.INFO: Extracted packet for processing {"connection_id":143809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1aa"} 
[2026-07-27 09:12:46] local.INFO: GPS Element Parsed {"raw_longitude":755659840,"raw_latitude":117834776,"longitude_deg":75.565984,"latitude_deg":11.7834776,"altitude":14,"angle":222,"satellites":36,"speed":1,"hex_longitude":"2d0a7440","hex_latitude":"07060418","is_valid_coordinates":true} 
[2026-07-27 09:12:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:12:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991672576001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:12:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25831277642907648,"note":"Value kept but may cause issues"} 
[2026-07-27 09:12:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753297436587608064,"note":"Value kept but may cause issues"} 
[2026-07-27 09:12:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:12:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785123722000,"timestamp_ms":1785123722000,"timestamp_seconds":1785123722,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1aa5310"} 
[2026-07-27 09:12:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:12:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09:12:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-27 09:12:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:12:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:12:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:12:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:12:46] local.INFO: Teltonika packet parsed successfully {"connection_id":143809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:12:46] local.INFO: Passing IMEI to GPS processor {"connection_id":143809,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:12:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":143809,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:12:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:12:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 09:12:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 09:12:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991672576001,"66":14439,"153":206,"94":10240,"24":1,"16":25831277642907648,"45":753297436587608064},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-07-27 09:12:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 09:12:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 09:12:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991672576001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:12:46] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-27 09:12:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 09:12:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25831277642907648,"km_value":25831277642907.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:12:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":753297436587608064,"description":"Unknown IO ID 45"} 
[2026-07-27 09:12:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991672576001,"power":14439,"unknown_153":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":753297436587608064}} 
[2026-07-27 09:12:46] local.INFO: DEBUG: GPS processor result {"connection_id":143809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552216,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:12:46] local.INFO: GPS data processed {"connection_id":143809,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:12:46] local.INFO: Acknowledgment sent {"connection_id":143809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:13:08] local.INFO: TCP Data received {"connection_id":143807,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1a8e3e0012d7d2e4005ec0c18000a012626..."} 
[2026-07-27 09:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1a8e3e0012d7d2e4005ec0c18000a012626..."} 
[2026-07-27 09:13:08] local.INFO: Processing buffer {"connection_id":143807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1a8e3e0012d7d2e4005ec0c18000a012626..."} 
[2026-07-27 09:13:08] local.INFO: Packet analysis {"connection_id":143807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1a8"} 
[2026-07-27 09:13:08] local.INFO: Extracted packet for processing {"connection_id":143807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1a8"} 
[2026-07-27 09:13:08] local.INFO: GPS Element Parsed {"raw_longitude":763178560,"raw_latitude":99355672,"longitude_deg":76.317856,"latitude_deg":9.9355672,"altitude":10,"angle":294,"satellites":38,"speed":0,"hex_longitude":"2d7d2e40","hex_latitude":"05ec0c18","is_valid_coordinates":true} 
[2026-07-27 09:13:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:13:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991586048001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:13:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111588348476260352,"note":"Value kept but may cause issues"} 
[2026-07-27 09:13:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020217497848915968,"note":"Value kept but may cause issues"} 
[2026-07-27 09:13:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:13:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785123628000,"timestamp_ms":1785123628000,"timestamp_seconds":1785123628,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1a8e3e0"} 
[2026-07-27 09:13:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:13:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09: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":37,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-27 09:13:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2336,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:13:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:13:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:13:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:13:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:13:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143807,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:13:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143807,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:13:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:13:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 09:13:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 09:13:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991586048001,"66":2242,"197":206,"87":13824,"24":0,"16":111588348476260352,"45":9020217497848915968},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-07-27 09:13:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 09:13:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 09:13:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991586048001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:13:08] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-27 09:13:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 09:13:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111588348476260352,"km_value":111588348476260.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:13:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020217497848915968,"description":"Unknown IO ID 45"} 
[2026-07-27 09:13:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991586048001,"power":2242,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020217497848915968}} 
[2026-07-27 09:13:08] local.INFO: DEBUG: GPS processor result {"connection_id":143807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552217,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:13:08] local.INFO: GPS data processed {"connection_id":143807,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:13:08] local.INFO: Acknowledgment sent {"connection_id":143807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:13:08] local.INFO: TCP Data received {"connection_id":143808,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1a94588012d1821c00721a1a80053013c26..."} 
[2026-07-27 09:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1a94588012d1821c00721a1a80053013c26..."} 
[2026-07-27 09:13:08] local.INFO: Processing buffer {"connection_id":143808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1a94588012d1821c00721a1a80053013c26..."} 
[2026-07-27 09:13:08] local.INFO: Packet analysis {"connection_id":143808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1a9"} 
[2026-07-27 09:13:08] local.INFO: Extracted packet for processing {"connection_id":143808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1a9"} 
[2026-07-27 09:13:08] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119644584,"longitude_deg":75.6556224,"latitude_deg":11.9644584,"altitude":83,"angle":316,"satellites":38,"speed":11,"hex_longitude":"2d1821c0","hex_latitude":"0721a1a8","is_valid_coordinates":true} 
[2026-07-27 09:13:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:13:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991653632001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:13:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8761956622139392,"note":"Value kept but may cause issues"} 
[2026-07-27 09:13:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740148705398224896,"note":"Value kept but may cause issues"} 
[2026-07-27 09:13:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:13:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785123653000,"timestamp_ms":1785123653000,"timestamp_seconds":1785123653,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1a94588"} 
[2026-07-27 09:13:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:13:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-07-27 09:13:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:13:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:13:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:13:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:13:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:13:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:13:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:13:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:13:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 09:13:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 09:13:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991653632001,"66":14113,"120":206,"28":31744,"24":11,"16":8761956622139392,"45":1740148705398224896},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 09:13:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 09:13:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 09:13:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991653632001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:13:08] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 09:13:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 09:13:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8761956622139392,"km_value":8761956622139.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:13:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740148705398224896,"description":"Unknown IO ID 45"} 
[2026-07-27 09:13:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991653632001,"power":14113,"unknown_120":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1740148705398224896}} 
[2026-07-27 09:13:08] local.INFO: DEBUG: GPS processor result {"connection_id":143808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552218,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:13:08] local.INFO: GPS data processed {"connection_id":143808,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:13:08] local.INFO: Acknowledgment sent {"connection_id":143808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:13:10] local.INFO: TCP Data received {"connection_id":145131,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1a90320012d7f990005afda68000900232f..."} 
[2026-07-27 09:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145131,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1a90320012d7f990005afda68000900232f..."} 
[2026-07-27 09:13:10] local.INFO: Processing buffer {"connection_id":145131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1a90320012d7f990005afda68000900232f..."} 
[2026-07-27 09:13:10] local.INFO: Packet analysis {"connection_id":145131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1a9"} 
[2026-07-27 09:13:10] local.INFO: Extracted packet for processing {"connection_id":145131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1a9"} 
[2026-07-27 09:13:10] local.INFO: GPS Element Parsed {"raw_longitude":763336960,"raw_latitude":95410792,"longitude_deg":76.333696,"latitude_deg":9.5410792,"altitude":9,"angle":35,"satellites":47,"speed":0,"hex_longitude":"2d7f9900","hex_latitude":"05afda68","is_valid_coordinates":true} 
[2026-07-27 09:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:13:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991573248001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:13:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826143710707712,"note":"Value kept but may cause issues"} 
[2026-07-27 09:13:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191424651423295488,"note":"Value kept but may cause issues"} 
[2026-07-27 09:13:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:13:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785123636000,"timestamp_ms":1785123636000,"timestamp_seconds":1785123636,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1a90320"} 
[2026-07-27 09:13:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:13:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-27 09:13:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:13:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:13:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:13:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:13:10] local.INFO: Teltonika packet parsed successfully {"connection_id":145131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:13:10] local.INFO: Passing IMEI to GPS processor {"connection_id":145131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:13:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":145131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:13:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:13:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:13:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:13:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991573248001,"66":26082,"250":206,"85":12544,"24":0,"16":358826143710707712,"45":9191424651423295488},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 09:13:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:13:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:13:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991573248001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:13:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 09:13:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:13:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826143710707712,"km_value":358826143710707.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:13:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191424651423295488,"description":"Unknown IO ID 45"} 
[2026-07-27 09:13:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991573248001,"power":26082,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191424651423295488}} 
[2026-07-27 09:13:10] local.INFO: DEBUG: GPS processor result {"connection_id":145131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:13:10] local.INFO: GPS data processed {"connection_id":145131,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:13:10] local.INFO: Acknowledgment sent {"connection_id":145131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:13:17] local.INFO: TCP Data received {"connection_id":143809,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1aa9960012d0a7440070602a0000e00bb24..."} 
[2026-07-27 09:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1aa9960012d0a7440070602a0000e00bb24..."} 
[2026-07-27 09:13:17] local.INFO: Processing buffer {"connection_id":143809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1aa9960012d0a7440070602a0000e00bb24..."} 
[2026-07-27 09:13:17] local.INFO: Packet analysis {"connection_id":143809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1aa"} 
[2026-07-27 09:13:17] local.INFO: Extracted packet for processing {"connection_id":143809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1aa"} 
[2026-07-27 09:13:17] local.INFO: GPS Element Parsed {"raw_longitude":755659840,"raw_latitude":117834400,"longitude_deg":75.565984,"latitude_deg":11.78344,"altitude":14,"angle":187,"satellites":36,"speed":2,"hex_longitude":"2d0a7440","hex_latitude":"070602a0","is_valid_coordinates":true} 
[2026-07-27 09: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-07-27 09:13:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991672832001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:13:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25831303412711424,"note":"Value kept but may cause issues"} 
[2026-07-27 09:13:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753297436587595776,"note":"Value kept but may cause issues"} 
[2026-07-27 09:13:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:13:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785123740000,"timestamp_ms":1785123740000,"timestamp_seconds":1785123740,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1aa9960"} 
[2026-07-27 09:13:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09: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-07-27 09: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-27 09:13:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09: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-07-27 09:13:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:13:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:13:17] local.INFO: Teltonika packet parsed successfully {"connection_id":143809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:13:17] local.INFO: Passing IMEI to GPS processor {"connection_id":143809,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:13:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":143809,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:13:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:13:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 09:13:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 09:13:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991672832001,"66":14428,"153":206,"94":10240,"24":2,"16":25831303412711424,"45":753297436587595776},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-07-27 09:13:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 09:13:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 09:13:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991672832001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:13:17] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-27 09:13:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 09:13:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25831303412711424,"km_value":25831303412711.426,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:13:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":753297436587595776,"description":"Unknown IO ID 45"} 
[2026-07-27 09:13:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991672832001,"power":14428,"unknown_153":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":753297436587595776}} 
[2026-07-27 09:13:18] local.INFO: DEBUG: GPS processor result {"connection_id":143809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552220,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:13:18] local.INFO: GPS data processed {"connection_id":143809,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:13:18] local.INFO: Acknowledgment sent {"connection_id":143809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:13:30] local.INFO: TCP Data received {"connection_id":142824,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142824,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:13:30] local.INFO: Processing buffer {"connection_id":142824,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:13:30] local.INFO: IMEI packet received {"connection_id":142824,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 09:13:30] local.INFO: IMEI acknowledgment sent {"connection_id":142824,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:13:30] local.INFO: TCP Data received {"connection_id":142823,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142823,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:13:30] local.INFO: Processing buffer {"connection_id":142823,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:13:30] local.INFO: IMEI packet received {"connection_id":142823,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 09:13:30] local.INFO: IMEI acknowledgment sent {"connection_id":142823,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:13:32] local.INFO: TCP Data received {"connection_id":142824,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142824,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:13:32] local.INFO: Processing buffer {"connection_id":142824,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:13:32] local.INFO: IMEI packet received {"connection_id":142824,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 09:13:32] local.INFO: IMEI acknowledgment sent {"connection_id":142824,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:13:32] local.INFO: TCP Data received {"connection_id":142825,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:13:32] local.INFO: Processing buffer {"connection_id":142825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:13:32] local.INFO: IMEI packet received {"connection_id":142825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 09:13:32] local.INFO: IMEI acknowledgment sent {"connection_id":142825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:13:35] local.INFO: TCP Data received {"connection_id":142823,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142823,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:13:35] local.INFO: Processing buffer {"connection_id":142823,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:13:35] local.INFO: IMEI packet received {"connection_id":142823,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 09:13:35] local.INFO: IMEI acknowledgment sent {"connection_id":142823,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:13:35] local.INFO: TCP Data received {"connection_id":142823,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1a8e3e0012d7d2e4005ec0c18000a012626..."} 
[2026-07-27 09:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142823,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1a8e3e0012d7d2e4005ec0c18000a012626..."} 
[2026-07-27 09:13:35] local.INFO: Processing buffer {"connection_id":142823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1a8e3e0012d7d2e4005ec0c18000a012626..."} 
[2026-07-27 09:13:35] local.INFO: Packet analysis {"connection_id":142823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1a8"} 
[2026-07-27 09:13:35] local.INFO: Extracted packet for processing {"connection_id":142823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1a8"} 
[2026-07-27 09:13:35] local.INFO: GPS Element Parsed {"raw_longitude":763178560,"raw_latitude":99355672,"longitude_deg":76.317856,"latitude_deg":9.9355672,"altitude":10,"angle":294,"satellites":38,"speed":0,"hex_longitude":"2d7d2e40","hex_latitude":"05ec0c18","is_valid_coordinates":true} 
[2026-07-27 09:13:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:13:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991586048001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:13:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111588348476260352,"note":"Value kept but may cause issues"} 
[2026-07-27 09:13:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020217497848915968,"note":"Value kept but may cause issues"} 
[2026-07-27 09:13:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:13:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785123628000,"timestamp_ms":1785123628000,"timestamp_seconds":1785123628,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1a8e3e0"} 
[2026-07-27 09:13:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:13:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:13:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":37,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-27 09:13:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2336,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:13:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:13:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:13:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:13:35] local.INFO: Teltonika packet parsed successfully {"connection_id":142823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:13:35] local.INFO: Passing IMEI to GPS processor {"connection_id":142823,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:13:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":142823,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:13:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:13:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 09:13:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 09:13:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991586048001,"66":2242,"197":206,"87":13824,"24":0,"16":111588348476260352,"45":9020217497848915968},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-07-27 09:13:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 09:13:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 09:13:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991586048001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:13:35] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-27 09:13:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 09:13:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111588348476260352,"km_value":111588348476260.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:13:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020217497848915968,"description":"Unknown IO ID 45"} 
[2026-07-27 09:13:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991586048001,"power":2242,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020217497848915968}} 
[2026-07-27 09:13:36] local.INFO: DEBUG: GPS processor result {"connection_id":142823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552221,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:13:36] local.INFO: GPS data processed {"connection_id":142823,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:13:36] local.INFO: Acknowledgment sent {"connection_id":142823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:13:36] local.INFO: TCP Data received {"connection_id":142824,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142824,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:13:36] local.INFO: Processing buffer {"connection_id":142824,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:13:36] local.INFO: IMEI packet received {"connection_id":142824,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 09:13:36] local.INFO: IMEI acknowledgment sent {"connection_id":142824,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:13:37] local.INFO: TCP Data received {"connection_id":142824,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1a97c38012d181e800721a5980051012926..."} 
[2026-07-27 09:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1a97c38012d181e800721a5980051012926..."} 
[2026-07-27 09:13:37] local.INFO: Processing buffer {"connection_id":142824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1a97c38012d181e800721a5980051012926..."} 
[2026-07-27 09:13:37] local.INFO: Packet analysis {"connection_id":142824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1a9"} 
[2026-07-27 09:13:37] local.INFO: Extracted packet for processing {"connection_id":142824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1a9"} 
[2026-07-27 09:13:37] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119645592,"longitude_deg":75.6555392,"latitude_deg":11.9645592,"altitude":81,"angle":297,"satellites":38,"speed":4,"hex_longitude":"2d181e80","hex_latitude":"0721a598","is_valid_coordinates":true} 
[2026-07-27 09:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:13:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991655168001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:13:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8762021046648832,"note":"Value kept but may cause issues"} 
[2026-07-27 09:13:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068003268608,"note":"Value kept but may cause issues"} 
[2026-07-27 09:13:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:13:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785123667000,"timestamp_ms":1785123667000,"timestamp_seconds":1785123667,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1a97c38"} 
[2026-07-27 09:13:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:13:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09: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":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-27 09:13: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-07-27 09:13:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:13:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:13:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:13:37] local.INFO: Teltonika packet parsed successfully {"connection_id":142824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:13:37] local.INFO: Passing IMEI to GPS processor {"connection_id":142824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:13:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":142824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:13:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:13:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 09:13:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 09:13:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991655168001,"66":14330,"120":206,"28":31744,"24":4,"16":8762021046648832,"45":1738882068003268608},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 09:13:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 09:13:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 09:13:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991655168001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:13:37] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 09:13:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 09:13:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8762021046648832,"km_value":8762021046648.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:13:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068003268608,"description":"Unknown IO ID 45"} 
[2026-07-27 09:13:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991655168001,"power":14330,"unknown_120":206,"unknown_28":31744,"ignition":4,"odometer":null,"unknown_45":1738882068003268608}} 
[2026-07-27 09:13:37] local.INFO: DEBUG: GPS processor result {"connection_id":142824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552222,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:13:37] local.INFO: GPS data processed {"connection_id":142824,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:13:37] local.INFO: Acknowledgment sent {"connection_id":142824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:13:38] local.INFO: TCP Data received {"connection_id":142825,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:13:38] local.INFO: Processing buffer {"connection_id":142825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:13:38] local.INFO: IMEI packet received {"connection_id":142825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 09:13:38] local.INFO: IMEI acknowledgment sent {"connection_id":142825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:13:39] local.INFO: TCP Data received {"connection_id":142825,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1a90320012d7f990005afda68000900232f..."} 
[2026-07-27 09:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142825,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1a90320012d7f990005afda68000900232f..."} 
[2026-07-27 09:13:39] local.INFO: Processing buffer {"connection_id":142825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1a90320012d7f990005afda68000900232f..."} 
[2026-07-27 09:13:39] local.INFO: Packet analysis {"connection_id":142825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1a9"} 
[2026-07-27 09:13:39] local.INFO: Extracted packet for processing {"connection_id":142825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1a9"} 
[2026-07-27 09:13:39] local.INFO: GPS Element Parsed {"raw_longitude":763336960,"raw_latitude":95410792,"longitude_deg":76.333696,"latitude_deg":9.5410792,"altitude":9,"angle":35,"satellites":47,"speed":0,"hex_longitude":"2d7f9900","hex_latitude":"05afda68","is_valid_coordinates":true} 
[2026-07-27 09:13:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:13:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991573248001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:13:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826143710707712,"note":"Value kept but may cause issues"} 
[2026-07-27 09:13:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191424651423295488,"note":"Value kept but may cause issues"} 
[2026-07-27 09:13:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:13:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785123636000,"timestamp_ms":1785123636000,"timestamp_seconds":1785123636,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1a90320"} 
[2026-07-27 09:13:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:13:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:13:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-27 09:13:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:13:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:13:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:13:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:13:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:13:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:13:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:13:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:13:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:13:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:13:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991573248001,"66":26082,"250":206,"85":12544,"24":0,"16":358826143710707712,"45":9191424651423295488},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 09:13:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:13:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:13:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991573248001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:13:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 09:13:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:13:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826143710707712,"km_value":358826143710707.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:13:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191424651423295488,"description":"Unknown IO ID 45"} 
[2026-07-27 09:13:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991573248001,"power":26082,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191424651423295488}} 
[2026-07-27 09:13:39] local.INFO: DEBUG: GPS processor result {"connection_id":142825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:13:39] local.INFO: GPS data processed {"connection_id":142825,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:13:39] local.INFO: Acknowledgment sent {"connection_id":142825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:13:40] local.INFO: TCP Data received {"connection_id":143810,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143810,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:13:40] local.INFO: Processing buffer {"connection_id":143810,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:13:40] local.INFO: IMEI packet received {"connection_id":143810,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 09:13:40] local.INFO: IMEI acknowledgment sent {"connection_id":143810,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:13:45] local.INFO: TCP Data received {"connection_id":143810,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143810,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:13:45] local.INFO: Processing buffer {"connection_id":143810,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:13:45] local.INFO: IMEI packet received {"connection_id":143810,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 09:13:45] local.INFO: IMEI acknowledgment sent {"connection_id":143810,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:13:46] local.INFO: TCP Data received {"connection_id":143810,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1ab9748012d0a76400705c9a0001800bb25..."} 
[2026-07-27 09:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1ab9748012d0a76400705c9a0001800bb25..."} 
[2026-07-27 09:13:46] local.INFO: Processing buffer {"connection_id":143810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1ab9748012d0a76400705c9a0001800bb25..."} 
[2026-07-27 09:13:46] local.INFO: Packet analysis {"connection_id":143810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1ab"} 
[2026-07-27 09:13:46] local.INFO: Extracted packet for processing {"connection_id":143810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1ab"} 
[2026-07-27 09:13:46] local.INFO: GPS Element Parsed {"raw_longitude":755660352,"raw_latitude":117819808,"longitude_deg":75.5660352,"latitude_deg":11.7819808,"altitude":24,"angle":187,"satellites":37,"speed":3,"hex_longitude":"2d0a7640","hex_latitude":"0705c9a0","is_valid_coordinates":true} 
[2026-07-27 09: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-07-27 09:13:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991692544001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:13:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25832033557151744,"note":"Value kept but may cause issues"} 
[2026-07-27 09:13:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753860386537248768,"note":"Value kept but may cause issues"} 
[2026-07-27 09:13:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:13:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785123805000,"timestamp_ms":1785123805000,"timestamp_seconds":1785123805,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1ab9748"} 
[2026-07-27 09:13:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:13:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09: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":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-27 09:13:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2534,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09: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-07-27 09:13:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:13:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:13:46] local.INFO: Teltonika packet parsed successfully {"connection_id":143810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:13:46] local.INFO: Passing IMEI to GPS processor {"connection_id":143810,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:13:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":143810,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:13:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:13:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 09:13:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 09:13:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991692544001,"66":14341,"165":206,"94":10240,"24":3,"16":25832033557151744,"45":753860386537248768},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-07-27 09:13:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 09:13:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 09:13:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991692544001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:13:46] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-27 09:13:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 09:13:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25832033557151744,"km_value":25832033557151.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:13:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":753860386537248768,"description":"Unknown IO ID 45"} 
[2026-07-27 09:13:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991692544001,"power":14341,"unknown_165":206,"unknown_94":10240,"ignition":3,"odometer":null,"unknown_45":753860386537248768}} 
[2026-07-27 09:13:47] local.INFO: DEBUG: GPS processor result {"connection_id":143810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552224,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:13:47] local.INFO: GPS data processed {"connection_id":143810,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:13:47] local.INFO: Acknowledgment sent {"connection_id":143810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:14:07] local.INFO: TCP Data received {"connection_id":142823,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1a8e3e0012d7d2e4005ec0c18000a012626..."} 
[2026-07-27 09:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142823,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1a8e3e0012d7d2e4005ec0c18000a012626..."} 
[2026-07-27 09:14:07] local.INFO: Processing buffer {"connection_id":142823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1a8e3e0012d7d2e4005ec0c18000a012626..."} 
[2026-07-27 09:14:07] local.INFO: Packet analysis {"connection_id":142823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1a8"} 
[2026-07-27 09:14:07] local.INFO: Extracted packet for processing {"connection_id":142823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1a8"} 
[2026-07-27 09:14:07] local.INFO: GPS Element Parsed {"raw_longitude":763178560,"raw_latitude":99355672,"longitude_deg":76.317856,"latitude_deg":9.9355672,"altitude":10,"angle":294,"satellites":38,"speed":0,"hex_longitude":"2d7d2e40","hex_latitude":"05ec0c18","is_valid_coordinates":true} 
[2026-07-27 09:14:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:14:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991586048001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:14:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111588348476260352,"note":"Value kept but may cause issues"} 
[2026-07-27 09:14:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020217497848915968,"note":"Value kept but may cause issues"} 
[2026-07-27 09:14:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:14:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785123628000,"timestamp_ms":1785123628000,"timestamp_seconds":1785123628,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1a8e3e0"} 
[2026-07-27 09:14:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:14:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:14:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":37,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-27 09:14:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2336,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:14:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:14:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:14:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:14:07] local.INFO: Teltonika packet parsed successfully {"connection_id":142823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:14:07] local.INFO: Passing IMEI to GPS processor {"connection_id":142823,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:14:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":142823,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:14:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:14:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 09:14:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 09:14:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991586048001,"66":2242,"197":206,"87":13824,"24":0,"16":111588348476260352,"45":9020217497848915968},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-07-27 09:14:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 09:14:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 09:14:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991586048001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:14:07] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-27 09:14:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 09:14:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111588348476260352,"km_value":111588348476260.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:14:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020217497848915968,"description":"Unknown IO ID 45"} 
[2026-07-27 09:14:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991586048001,"power":2242,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020217497848915968}} 
[2026-07-27 09:14:07] local.INFO: DEBUG: GPS processor result {"connection_id":142823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552225,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:14:07] local.INFO: GPS data processed {"connection_id":142823,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:14:07] local.INFO: Acknowledgment sent {"connection_id":142823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:14:09] local.INFO: TCP Data received {"connection_id":142824,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1a98020012d181e400721a5f80051014026..."} 
[2026-07-27 09:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1a98020012d181e400721a5f80051014026..."} 
[2026-07-27 09:14:09] local.INFO: Processing buffer {"connection_id":142824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1a98020012d181e400721a5f80051014026..."} 
[2026-07-27 09:14:09] local.INFO: Packet analysis {"connection_id":142824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1a9"} 
[2026-07-27 09:14:09] local.INFO: Extracted packet for processing {"connection_id":142824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1a9"} 
[2026-07-27 09:14:09] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119645688,"longitude_deg":75.6555328,"latitude_deg":11.9645688,"altitude":81,"angle":320,"satellites":38,"speed":4,"hex_longitude":"2d181e40","hex_latitude":"0721a5f8","is_valid_coordinates":true} 
[2026-07-27 09:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:14:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991658752001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:14:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8762029636583424,"note":"Value kept but may cause issues"} 
[2026-07-27 09:14:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329217024,"note":"Value kept but may cause issues"} 
[2026-07-27 09:14:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:14:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785123668000,"timestamp_ms":1785123668000,"timestamp_seconds":1785123668,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1a98020"} 
[2026-07-27 09:14:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:14:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09: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":55,"n8_eight_byte":250,"data_length":795,"current_offset":136} 
[2026-07-27 09:14:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2723,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:14:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:14:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:14:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:14:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:14:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:14:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:14:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:14:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 09:14:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 09:14:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991658752001,"66":14330,"120":206,"28":31744,"24":4,"16":8762029636583424,"45":1737967274329217024},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 09:14:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 09:14:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 09:14:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991658752001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:14:09] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 09:14:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 09:14:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8762029636583424,"km_value":8762029636583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:14:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329217024,"description":"Unknown IO ID 45"} 
[2026-07-27 09:14:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991658752001,"power":14330,"unknown_120":206,"unknown_28":31744,"ignition":4,"odometer":null,"unknown_45":1737967274329217024}} 
[2026-07-27 09:14:09] local.INFO: DEBUG: GPS processor result {"connection_id":142824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552226,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:14:09] local.INFO: GPS data processed {"connection_id":142824,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:14:09] local.INFO: Acknowledgment sent {"connection_id":142824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:14:09] local.INFO: TCP Data received {"connection_id":142825,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1a90320012d7f990005afda68000900232f..."} 
[2026-07-27 09:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142825,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1a90320012d7f990005afda68000900232f..."} 
[2026-07-27 09:14:09] local.INFO: Processing buffer {"connection_id":142825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1a90320012d7f990005afda68000900232f..."} 
[2026-07-27 09:14:09] local.INFO: Packet analysis {"connection_id":142825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1a9"} 
[2026-07-27 09:14:09] local.INFO: Extracted packet for processing {"connection_id":142825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1a9"} 
[2026-07-27 09:14:09] local.INFO: GPS Element Parsed {"raw_longitude":763336960,"raw_latitude":95410792,"longitude_deg":76.333696,"latitude_deg":9.5410792,"altitude":9,"angle":35,"satellites":47,"speed":0,"hex_longitude":"2d7f9900","hex_latitude":"05afda68","is_valid_coordinates":true} 
[2026-07-27 09:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:14:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991573248001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:14:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826143710707712,"note":"Value kept but may cause issues"} 
[2026-07-27 09:14:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191424651423295488,"note":"Value kept but may cause issues"} 
[2026-07-27 09:14:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:14:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785123636000,"timestamp_ms":1785123636000,"timestamp_seconds":1785123636,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1a90320"} 
[2026-07-27 09:14:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:14:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-27 09:14:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:14:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:14:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:14:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:14:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:14:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:14:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:14:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:14:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:14:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:14:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991573248001,"66":26082,"250":206,"85":12544,"24":0,"16":358826143710707712,"45":9191424651423295488},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 09:14:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:14:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:14:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991573248001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:14:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 09:14:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:14:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826143710707712,"km_value":358826143710707.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:14:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191424651423295488,"description":"Unknown IO ID 45"} 
[2026-07-27 09:14:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991573248001,"power":26082,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191424651423295488}} 
[2026-07-27 09:14:09] local.INFO: DEBUG: GPS processor result {"connection_id":142825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:14:09] local.INFO: GPS data processed {"connection_id":142825,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:14:09] local.INFO: Acknowledgment sent {"connection_id":142825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:14:18] local.INFO: TCP Data received {"connection_id":143810,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1aba300012d0a76800705c720001800b025..."} 
[2026-07-27 09:14:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1aba300012d0a76800705c720001800b025..."} 
[2026-07-27 09:14:18] local.INFO: Processing buffer {"connection_id":143810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1aba300012d0a76800705c720001800b025..."} 
[2026-07-27 09:14:18] local.INFO: Packet analysis {"connection_id":143810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1ab"} 
[2026-07-27 09:14:18] local.INFO: Extracted packet for processing {"connection_id":143810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1ab"} 
[2026-07-27 09:14:18] local.INFO: GPS Element Parsed {"raw_longitude":755660416,"raw_latitude":117819168,"longitude_deg":75.5660416,"latitude_deg":11.7819168,"altitude":24,"angle":176,"satellites":37,"speed":11,"hex_longitude":"2d0a7680","hex_latitude":"0705c720","is_valid_coordinates":true} 
[2026-07-27 09: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-07-27 09:14:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991694080001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:14:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25832067916890112,"note":"Value kept but may cause issues"} 
[2026-07-27 09:14:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753860386537185280,"note":"Value kept but may cause issues"} 
[2026-07-27 09:14:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:14:18] local.INFO: AVL Record Parsed {"raw_timestamp":1785123808000,"timestamp_ms":1785123808000,"timestamp_seconds":1785123808,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1aba300"} 
[2026-07-27 09:14:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09: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-07-27 09: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":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-27 09:14:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6973139675,"note":"Value kept but may cause issues"} 
[2026-07-27 09:14:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-27 09:14:18] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2712343160,"note":"Value kept but may cause issues"} 
[2026-07-27 09:14:18] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":38912,"corrected_to":0} 
[2026-07-27 09:14:18] local.WARNING: Large IO value detected {"io_id":197,"raw_value":3539992576,"note":"Value kept but may cause issues"} 
[2026-07-27 09:14:18] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503993787285504,"note":"Value kept but may cause issues"} 
[2026-07-27 09:14:18] local.WARNING: Large IO value detected {"io_id":161,"raw_value":2871138305,"note":"Value kept but may cause issues"} 
[2026-07-27 09:14:18] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3794272275,"note":"Value kept but may cause issues"} 
[2026-07-27 09:14:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1738080462,"corrected_to":0} 
[2026-07-27 09:14:18] local.WARNING: Large IO value detected {"io_id":115,"raw_value":2147943908,"note":"Value kept but may cause issues"} 
[2026-07-27 09:14:18] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3842035047,"note":"Value kept but may cause issues"} 
[2026-07-27 09:14:18] local.WARNING: Large IO value detected {"io_id":91,"raw_value":3318349824,"note":"Value kept but may cause issues"} 
[2026-07-27 09:14:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":84735468839044602,"corrected_to":0} 
[2026-07-27 09:14:18] local.WARNING: Large IO value detected {"io_id":40,"raw_value":4222924135334912,"note":"Value kept but may cause issues"} 
[2026-07-27 09:14:18] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,165,94,24,241,157,16,198,159,127,45,64,202,37,10,66,153,222,19,197,38,1,240,114,227,161,5,4,113,205,9,26,115,239,55,2,91,7,17,15,206,200,40],"length":529,"final_offset":659,"validated_count":43,"validation_warnings":[{"io_id":202,"original":38912,"validated":0},{"io_id":205,"original":1738080462,"validated":0},{"io_id":200,"original":84735468839044602,"validated":0}]} 
[2026-07-27 09:14:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1729588024498651136,"timestamp_seconds":1729588024498651.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 09:14:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:14:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:14:18] local.INFO: Teltonika packet parsed successfully {"connection_id":143810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:14:18] local.INFO: Passing IMEI to GPS processor {"connection_id":143810,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:14:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":143810,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:14:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:14:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 09:14:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 09:14:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991694080001,"66":14374,"165":206,"94":10240,"24":11,"16":25832067916890112,"45":753860386537185280},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-07-27 09:14:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 09:14:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 09:14:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991694080001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:14:18] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-27 09:14:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 09:14:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25832067916890112,"km_value":25832067916890.113,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:14:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":753860386537185280,"description":"Unknown IO ID 45"} 
[2026-07-27 09:14:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991694080001,"power":14374,"unknown_165":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":753860386537185280}} 
[2026-07-27 09:14:18] local.INFO: DEBUG: GPS processor result {"connection_id":143810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552228,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:14:18] local.INFO: GPS data processed {"connection_id":143810,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:14:18] local.INFO: Acknowledgment sent {"connection_id":143810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:14:30] local.INFO: TCP Data received {"connection_id":142699,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142699,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:14:30] local.INFO: Processing buffer {"connection_id":142699,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:14:30] local.INFO: IMEI packet received {"connection_id":142699,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 09:14:30] local.INFO: IMEI acknowledgment sent {"connection_id":142699,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:14:30] local.INFO: TCP Data received {"connection_id":142700,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142700,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:14:30] local.INFO: Processing buffer {"connection_id":142700,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:14:30] local.INFO: IMEI packet received {"connection_id":142700,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 09:14:30] local.INFO: IMEI acknowledgment sent {"connection_id":142700,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:14:33] local.INFO: TCP Data received {"connection_id":143812,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:14:33] local.INFO: Processing buffer {"connection_id":143812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:14:33] local.INFO: IMEI packet received {"connection_id":143812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 09:14:33] local.INFO: IMEI acknowledgment sent {"connection_id":143812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:14:35] local.INFO: TCP Data received {"connection_id":142700,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142700,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:14:35] local.INFO: Processing buffer {"connection_id":142700,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:14:35] local.INFO: IMEI packet received {"connection_id":142700,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 09:14:35] local.INFO: IMEI acknowledgment sent {"connection_id":142700,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:14:35] local.INFO: TCP Data received {"connection_id":142699,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142699,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:14:35] local.INFO: Processing buffer {"connection_id":142699,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:14:35] local.INFO: IMEI packet received {"connection_id":142699,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 09:14:35] local.INFO: IMEI acknowledgment sent {"connection_id":142699,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:14:36] local.INFO: TCP Data received {"connection_id":142700,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1a8e3e0012d7d2e4005ec0c18000a012626..."} 
[2026-07-27 09:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142700,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1a8e3e0012d7d2e4005ec0c18000a012626..."} 
[2026-07-27 09:14:36] local.INFO: Processing buffer {"connection_id":142700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1a8e3e0012d7d2e4005ec0c18000a012626..."} 
[2026-07-27 09:14:36] local.INFO: Packet analysis {"connection_id":142700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1a8"} 
[2026-07-27 09:14:36] local.INFO: Extracted packet for processing {"connection_id":142700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1a8"} 
[2026-07-27 09:14:36] local.INFO: GPS Element Parsed {"raw_longitude":763178560,"raw_latitude":99355672,"longitude_deg":76.317856,"latitude_deg":9.9355672,"altitude":10,"angle":294,"satellites":38,"speed":0,"hex_longitude":"2d7d2e40","hex_latitude":"05ec0c18","is_valid_coordinates":true} 
[2026-07-27 09:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:14:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991586048001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:14:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111588348476260352,"note":"Value kept but may cause issues"} 
[2026-07-27 09:14:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020217497848915968,"note":"Value kept but may cause issues"} 
[2026-07-27 09:14:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:14:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785123628000,"timestamp_ms":1785123628000,"timestamp_seconds":1785123628,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1a8e3e0"} 
[2026-07-27 09:14:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:14:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":37,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-27 09:14:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2336,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:14:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:14:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:14:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:14:36] local.INFO: Teltonika packet parsed successfully {"connection_id":142700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:14:36] local.INFO: Passing IMEI to GPS processor {"connection_id":142700,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:14:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":142700,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:14:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:14:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 09:14:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 09:14:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991586048001,"66":2242,"197":206,"87":13824,"24":0,"16":111588348476260352,"45":9020217497848915968},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-07-27 09:14:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 09:14:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 09:14:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991586048001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:14:36] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-27 09:14:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 09:14:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111588348476260352,"km_value":111588348476260.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:14:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020217497848915968,"description":"Unknown IO ID 45"} 
[2026-07-27 09:14:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991586048001,"power":2242,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020217497848915968}} 
[2026-07-27 09:14:36] local.INFO: DEBUG: GPS processor result {"connection_id":142700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552229,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:14:36] local.INFO: GPS data processed {"connection_id":142700,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:14:36] local.INFO: Acknowledgment sent {"connection_id":142700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:14:37] local.INFO: TCP Data received {"connection_id":142699,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1a9a348012d181d400721a8280050015626..."} 
[2026-07-27 09:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1a9a348012d181d400721a8280050015626..."} 
[2026-07-27 09:14:37] local.INFO: Processing buffer {"connection_id":142699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1a9a348012d181d400721a8280050015626..."} 
[2026-07-27 09:14:37] local.INFO: Packet analysis {"connection_id":142699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1a9"} 
[2026-07-27 09:14:37] local.INFO: Extracted packet for processing {"connection_id":142699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1a9"} 
[2026-07-27 09:14:37] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119646248,"longitude_deg":75.6555072,"latitude_deg":11.9646248,"altitude":80,"angle":342,"satellites":38,"speed":6,"hex_longitude":"2d181d40","hex_latitude":"0721a828","is_valid_coordinates":true} 
[2026-07-27 09:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:14:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991659008001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:14:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8762059701354496,"note":"Value kept but may cause issues"} 
[2026-07-27 09:14:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585063936,"note":"Value kept but may cause issues"} 
[2026-07-27 09:14:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:14:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785123677000,"timestamp_ms":1785123677000,"timestamp_seconds":1785123677,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1a9a348"} 
[2026-07-27 09:14:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:14:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":250,"data_length":795,"current_offset":136} 
[2026-07-27 09:14:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2723,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:14:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:14:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:14:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:14:37] local.INFO: Teltonika packet parsed successfully {"connection_id":142699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:14:37] local.INFO: Passing IMEI to GPS processor {"connection_id":142699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:14:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":142699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:14:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:14:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 09:14:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 09:14:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991659008001,"66":14374,"120":206,"28":31744,"24":6,"16":8762059701354496,"45":1737896905585063936},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 09:14:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 09:14:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 09:14:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991659008001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:14:37] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 09:14:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 09:14:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8762059701354496,"km_value":8762059701354.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:14:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585063936,"description":"Unknown IO ID 45"} 
[2026-07-27 09:14:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991659008001,"power":14374,"unknown_120":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1737896905585063936}} 
[2026-07-27 09:14:37] local.INFO: DEBUG: GPS processor result {"connection_id":142699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552230,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:14:37] local.INFO: GPS data processed {"connection_id":142699,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:14:37] local.INFO: Acknowledgment sent {"connection_id":142699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:14:38] local.INFO: TCP Data received {"connection_id":143812,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:14:38] local.INFO: Processing buffer {"connection_id":143812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:14:38] local.INFO: IMEI packet received {"connection_id":143812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 09:14:38] local.INFO: IMEI acknowledgment sent {"connection_id":143812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:14:38] local.INFO: TCP Data received {"connection_id":143812,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1a90320012d7f990005afda68000900232f..."} 
[2026-07-27 09:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1a90320012d7f990005afda68000900232f..."} 
[2026-07-27 09:14:38] local.INFO: Processing buffer {"connection_id":143812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1a90320012d7f990005afda68000900232f..."} 
[2026-07-27 09:14:38] local.INFO: Packet analysis {"connection_id":143812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1a9"} 
[2026-07-27 09:14:38] local.INFO: Extracted packet for processing {"connection_id":143812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1a9"} 
[2026-07-27 09:14:38] local.INFO: GPS Element Parsed {"raw_longitude":763336960,"raw_latitude":95410792,"longitude_deg":76.333696,"latitude_deg":9.5410792,"altitude":9,"angle":35,"satellites":47,"speed":0,"hex_longitude":"2d7f9900","hex_latitude":"05afda68","is_valid_coordinates":true} 
[2026-07-27 09:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:14:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991573248001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:14:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826143710707712,"note":"Value kept but may cause issues"} 
[2026-07-27 09:14:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191424651423295488,"note":"Value kept but may cause issues"} 
[2026-07-27 09:14:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:14:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785123636000,"timestamp_ms":1785123636000,"timestamp_seconds":1785123636,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1a90320"} 
[2026-07-27 09:14:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:14:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-27 09:14:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:14:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:14:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:14:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:14:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:14:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:14:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:14:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:14:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:14:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:14:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991573248001,"66":26082,"250":206,"85":12544,"24":0,"16":358826143710707712,"45":9191424651423295488},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 09:14:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:14:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:14:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991573248001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:14:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 09:14:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:14:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826143710707712,"km_value":358826143710707.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:14:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191424651423295488,"description":"Unknown IO ID 45"} 
[2026-07-27 09:14:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991573248001,"power":26082,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191424651423295488}} 
[2026-07-27 09:14:38] local.INFO: DEBUG: GPS processor result {"connection_id":143812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:14:38] local.INFO: GPS data processed {"connection_id":143812,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:14:38] local.INFO: Acknowledgment sent {"connection_id":143812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:14:40] local.INFO: TCP Data received {"connection_id":145133,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145133,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:14:40] local.INFO: Processing buffer {"connection_id":145133,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:14:40] local.INFO: IMEI packet received {"connection_id":145133,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 09:14:40] local.INFO: IMEI acknowledgment sent {"connection_id":145133,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:14:45] local.INFO: TCP Data received {"connection_id":145133,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145133,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:14:45] local.INFO: Processing buffer {"connection_id":145133,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:14:45] local.INFO: IMEI packet received {"connection_id":145133,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 09:14:45] local.INFO: IMEI acknowledgment sent {"connection_id":145133,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:14:46] local.INFO: TCP Data received {"connection_id":145133,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1abaad0012d0a77400705c3880018009e25..."} 
[2026-07-27 09:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145133,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1abaad0012d0a77400705c3880018009e25..."} 
[2026-07-27 09:14:46] local.INFO: Processing buffer {"connection_id":145133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1abaad0012d0a77400705c3880018009e25..."} 
[2026-07-27 09:14:46] local.INFO: Packet analysis {"connection_id":145133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1ab"} 
[2026-07-27 09:14:46] local.INFO: Extracted packet for processing {"connection_id":145133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1ab"} 
[2026-07-27 09:14:46] local.INFO: GPS Element Parsed {"raw_longitude":755660608,"raw_latitude":117818248,"longitude_deg":75.5660608,"latitude_deg":11.7818248,"altitude":24,"angle":158,"satellites":37,"speed":19,"hex_longitude":"2d0a7740","hex_latitude":"0705c388","is_valid_coordinates":true} 
[2026-07-27 09:14:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:14:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991694848001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:14:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25832110866563072,"note":"Value kept but may cause issues"} 
[2026-07-27 09:14:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753930755281199104,"note":"Value kept but may cause issues"} 
[2026-07-27 09:14:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:14:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785123810000,"timestamp_ms":1785123810000,"timestamp_seconds":1785123810,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1abaad0"} 
[2026-07-27 09:14:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:14:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-27 09:14:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:14:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:14:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:14:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:14:46] local.INFO: Teltonika packet parsed successfully {"connection_id":145133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:14:46] local.INFO: Passing IMEI to GPS processor {"connection_id":145133,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:14:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":145133,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:14:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:14:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 09:14:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 09:14:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991694848001,"66":14352,"165":206,"94":10240,"24":19,"16":25832110866563072,"45":753930755281199104},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-07-27 09:14:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 09:14:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 09:14:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991694848001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:14:46] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-27 09:14:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 09:14:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25832110866563072,"km_value":25832110866563.07,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:14:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":753930755281199104,"description":"Unknown IO ID 45"} 
[2026-07-27 09:14:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991694848001,"power":14352,"unknown_165":206,"unknown_94":10240,"ignition":19,"odometer":null,"unknown_45":753930755281199104}} 
[2026-07-27 09:14:46] local.INFO: DEBUG: GPS processor result {"connection_id":145133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552232,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:14:46] local.INFO: GPS data processed {"connection_id":145133,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:14:46] local.INFO: Acknowledgment sent {"connection_id":145133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:15:08] local.INFO: TCP Data received {"connection_id":142700,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1a8e3e0012d7d2e4005ec0c18000a012626..."} 
[2026-07-27 09:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142700,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1a8e3e0012d7d2e4005ec0c18000a012626..."} 
[2026-07-27 09:15:08] local.INFO: Processing buffer {"connection_id":142700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1a8e3e0012d7d2e4005ec0c18000a012626..."} 
[2026-07-27 09:15:08] local.INFO: Packet analysis {"connection_id":142700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1a8"} 
[2026-07-27 09:15:08] local.INFO: Extracted packet for processing {"connection_id":142700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1a8"} 
[2026-07-27 09:15:08] local.INFO: GPS Element Parsed {"raw_longitude":763178560,"raw_latitude":99355672,"longitude_deg":76.317856,"latitude_deg":9.9355672,"altitude":10,"angle":294,"satellites":38,"speed":0,"hex_longitude":"2d7d2e40","hex_latitude":"05ec0c18","is_valid_coordinates":true} 
[2026-07-27 09:15:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:15:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991586048001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:15:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111588348476260352,"note":"Value kept but may cause issues"} 
[2026-07-27 09:15:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020217497848915968,"note":"Value kept but may cause issues"} 
[2026-07-27 09:15:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:15:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785123628000,"timestamp_ms":1785123628000,"timestamp_seconds":1785123628,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1a8e3e0"} 
[2026-07-27 09:15:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:15:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09: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":37,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-27 09:15:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2336,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:15:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:15:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:15:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:15:08] local.INFO: Teltonika packet parsed successfully {"connection_id":142700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:15:08] local.INFO: Passing IMEI to GPS processor {"connection_id":142700,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:15:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":142700,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:15:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:15:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 09:15:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 09:15:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991586048001,"66":2242,"197":206,"87":13824,"24":0,"16":111588348476260352,"45":9020217497848915968},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-07-27 09:15:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 09:15:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 09:15:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991586048001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:15:08] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-27 09:15:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 09:15:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111588348476260352,"km_value":111588348476260.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:15:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020217497848915968,"description":"Unknown IO ID 45"} 
[2026-07-27 09:15:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991586048001,"power":2242,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020217497848915968}} 
[2026-07-27 09:15:08] local.INFO: DEBUG: GPS processor result {"connection_id":142700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552233,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:15:08] local.INFO: GPS data processed {"connection_id":142700,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:15:08] local.INFO: Acknowledgment sent {"connection_id":142700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:15:09] local.INFO: TCP Data received {"connection_id":142699,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1a9ab18012d181d000721aa080050000c26..."} 
[2026-07-27 09:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1a9ab18012d181d000721aa080050000c26..."} 
[2026-07-27 09:15:09] local.INFO: Processing buffer {"connection_id":142699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1a9ab18012d181d000721aa080050000c26..."} 
[2026-07-27 09:15:09] local.INFO: Packet analysis {"connection_id":142699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1a9"} 
[2026-07-27 09:15:09] local.INFO: Extracted packet for processing {"connection_id":142699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1a9"} 
[2026-07-27 09:15:09] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119646728,"longitude_deg":75.6555008,"latitude_deg":11.9646728,"altitude":80,"angle":12,"satellites":38,"speed":12,"hex_longitude":"2d181d00","hex_latitude":"0721aa08","is_valid_coordinates":true} 
[2026-07-27 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-07-27 09:15:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991661312001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:15:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8762085471158272,"note":"Value kept but may cause issues"} 
[2026-07-27 09:15:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608496640,"note":"Value kept but may cause issues"} 
[2026-07-27 09:15:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:15:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785123679000,"timestamp_ms":1785123679000,"timestamp_seconds":1785123679,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1a9ab18"} 
[2026-07-27 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-07-27 09:15:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-27 09:15:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 09:15:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:15:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:15:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:15:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:15:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:15:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 09:15:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 09:15:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991661312001,"66":13722,"120":206,"28":31744,"24":12,"16":8762085471158272,"45":1737615430608496640},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 09:15:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 09:15:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 09:15:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991661312001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:15:09] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 09:15:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 09:15:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8762085471158272,"km_value":8762085471158.272,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:15:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608496640,"description":"Unknown IO ID 45"} 
[2026-07-27 09:15:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991661312001,"power":13722,"unknown_120":206,"unknown_28":31744,"ignition":12,"odometer":null,"unknown_45":1737615430608496640}} 
[2026-07-27 09:15:09] local.INFO: DEBUG: GPS processor result {"connection_id":142699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552234,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:15:09] local.INFO: GPS data processed {"connection_id":142699,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:15:09] local.INFO: Acknowledgment sent {"connection_id":142699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:15:10] local.INFO: TCP Data received {"connection_id":143812,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1a90320012d7f990005afda68000900232f..."} 
[2026-07-27 09:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1a90320012d7f990005afda68000900232f..."} 
[2026-07-27 09:15:10] local.INFO: Processing buffer {"connection_id":143812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1a90320012d7f990005afda68000900232f..."} 
[2026-07-27 09:15:10] local.INFO: Packet analysis {"connection_id":143812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1a9"} 
[2026-07-27 09:15:10] local.INFO: Extracted packet for processing {"connection_id":143812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1a9"} 
[2026-07-27 09:15:10] local.INFO: GPS Element Parsed {"raw_longitude":763336960,"raw_latitude":95410792,"longitude_deg":76.333696,"latitude_deg":9.5410792,"altitude":9,"angle":35,"satellites":47,"speed":0,"hex_longitude":"2d7f9900","hex_latitude":"05afda68","is_valid_coordinates":true} 
[2026-07-27 09:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:15:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991573248001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:15:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826143710707712,"note":"Value kept but may cause issues"} 
[2026-07-27 09:15:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191424651423295488,"note":"Value kept but may cause issues"} 
[2026-07-27 09:15:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:15:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785123636000,"timestamp_ms":1785123636000,"timestamp_seconds":1785123636,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1a90320"} 
[2026-07-27 09:15:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:15:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-27 09:15:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:15:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:15:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:15:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:15:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:15:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:15:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:15:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:15:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:15:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:15:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991573248001,"66":26082,"250":206,"85":12544,"24":0,"16":358826143710707712,"45":9191424651423295488},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 09:15:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:15:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:15:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991573248001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:15:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 09:15:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:15:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826143710707712,"km_value":358826143710707.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:15:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191424651423295488,"description":"Unknown IO ID 45"} 
[2026-07-27 09:15:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991573248001,"power":26082,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191424651423295488}} 
[2026-07-27 09:15:10] local.INFO: DEBUG: GPS processor result {"connection_id":143812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:15:10] local.INFO: GPS data processed {"connection_id":143812,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:15:10] local.INFO: Acknowledgment sent {"connection_id":143812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:15:17] local.INFO: TCP Data received {"connection_id":145133,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1ad0290012d0a474007058a200010011f25..."} 
[2026-07-27 09:15:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145133,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1ad0290012d0a474007058a200010011f25..."} 
[2026-07-27 09:15:17] local.INFO: Processing buffer {"connection_id":145133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1ad0290012d0a474007058a200010011f25..."} 
[2026-07-27 09:15:17] local.INFO: Packet analysis {"connection_id":145133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1ad"} 
[2026-07-27 09:15:17] local.INFO: Extracted packet for processing {"connection_id":145133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1ad"} 
[2026-07-27 09:15:17] local.INFO: GPS Element Parsed {"raw_longitude":755648320,"raw_latitude":117803552,"longitude_deg":75.564832,"latitude_deg":11.7803552,"altitude":16,"angle":287,"satellites":37,"speed":12,"hex_longitude":"2d0a4740","hex_latitude":"07058a20","is_valid_coordinates":true} 
[2026-07-27 09: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-07-27 09:15:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991717632001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:15:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25833532500738048,"note":"Value kept but may cause issues"} 
[2026-07-27 09:15:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":740982906348486656,"note":"Value kept but may cause issues"} 
[2026-07-27 09:15:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:15:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785123898000,"timestamp_ms":1785123898000,"timestamp_seconds":1785123898,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1ad0290"} 
[2026-07-27 09:15:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:15:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-27 09:15:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09: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-07-27 09:15:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:15:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:15:17] local.INFO: Teltonika packet parsed successfully {"connection_id":145133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:15:17] local.INFO: Passing IMEI to GPS processor {"connection_id":145133,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:15:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":145133,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:15:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:15:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 09:15:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 09:15:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991717632001,"66":14439,"165":206,"94":10240,"24":12,"16":25833532500738048,"45":740982906348486656},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-07-27 09:15:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 09:15:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 09:15:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991717632001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:15:17] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-27 09:15:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 09:15:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25833532500738048,"km_value":25833532500738.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:15:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":740982906348486656,"description":"Unknown IO ID 45"} 
[2026-07-27 09:15:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991717632001,"power":14439,"unknown_165":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":740982906348486656}} 
[2026-07-27 09:15:18] local.INFO: DEBUG: GPS processor result {"connection_id":145133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552236,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:15:18] local.INFO: GPS data processed {"connection_id":145133,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:15:18] local.INFO: Acknowledgment sent {"connection_id":145133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:15:30] local.INFO: TCP Data received {"connection_id":143814,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143814,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:15:30] local.INFO: Processing buffer {"connection_id":143814,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:15:30] local.INFO: IMEI packet received {"connection_id":143814,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 09:15:30] local.INFO: IMEI acknowledgment sent {"connection_id":143814,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:15:30] local.INFO: TCP Data received {"connection_id":143815,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143815,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:15:30] local.INFO: Processing buffer {"connection_id":143815,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:15:30] local.INFO: IMEI packet received {"connection_id":143815,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 09:15:30] local.INFO: IMEI acknowledgment sent {"connection_id":143815,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:15:31] local.INFO: TCP Data received {"connection_id":143815,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143815,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:15:31] local.INFO: Processing buffer {"connection_id":143815,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:15:31] local.INFO: IMEI packet received {"connection_id":143815,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 09:15:31] local.INFO: IMEI acknowledgment sent {"connection_id":143815,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:15:32] local.INFO: TCP Data received {"connection_id":142701,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:15:32] local.INFO: Processing buffer {"connection_id":142701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:15:32] local.INFO: IMEI packet received {"connection_id":142701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 09:15:32] local.INFO: IMEI acknowledgment sent {"connection_id":142701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:15:35] local.INFO: TCP Data received {"connection_id":143814,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143814,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:15:35] local.INFO: Processing buffer {"connection_id":143814,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:15:35] local.INFO: IMEI packet received {"connection_id":143814,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 09:15:35] local.INFO: IMEI acknowledgment sent {"connection_id":143814,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:15:35] local.INFO: TCP Data received {"connection_id":143815,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143815,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:15:35] local.INFO: Processing buffer {"connection_id":143815,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:15:35] local.INFO: IMEI packet received {"connection_id":143815,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 09:15:35] local.INFO: IMEI acknowledgment sent {"connection_id":143815,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:15:36] local.INFO: TCP Data received {"connection_id":143815,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1ad7ba8012d7d2e4005ec0c18000f012623..."} 
[2026-07-27 09:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1ad7ba8012d7d2e4005ec0c18000f012623..."} 
[2026-07-27 09:15:36] local.INFO: Processing buffer {"connection_id":143815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1ad7ba8012d7d2e4005ec0c18000f012623..."} 
[2026-07-27 09:15:36] local.INFO: Packet analysis {"connection_id":143815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1ad"} 
[2026-07-27 09:15:36] local.INFO: Extracted packet for processing {"connection_id":143815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1ad"} 
[2026-07-27 09:15:36] local.INFO: GPS Element Parsed {"raw_longitude":763178560,"raw_latitude":99355672,"longitude_deg":76.317856,"latitude_deg":9.9355672,"altitude":15,"angle":294,"satellites":35,"speed":0,"hex_longitude":"2d7d2e40","hex_latitude":"05ec0c18","is_valid_coordinates":true} 
[2026-07-27 09:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:15:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991648768001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:15:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111588348476260352,"note":"Value kept but may cause issues"} 
[2026-07-27 09:15:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020217497848911872,"note":"Value kept but may cause issues"} 
[2026-07-27 09:15:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:15:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785123929000,"timestamp_ms":1785123929000,"timestamp_seconds":1785123929,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1ad7ba8"} 
[2026-07-27 09:15:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:15:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-27 09:15:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:15:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:15:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:15:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:15:36] local.INFO: Teltonika packet parsed successfully {"connection_id":143815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:15:36] local.INFO: Passing IMEI to GPS processor {"connection_id":143815,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:15:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":143815,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:15:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:15:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 09:15:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 09:15:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991648768001,"66":2242,"197":206,"87":13824,"24":0,"16":111588348476260352,"45":9020217497848911872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-07-27 09:15:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 09:15:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 09:15:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991648768001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:15:36] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-27 09:15:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 09:15:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111588348476260352,"km_value":111588348476260.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:15:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020217497848911872,"description":"Unknown IO ID 45"} 
[2026-07-27 09:15:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991648768001,"power":2242,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020217497848911872}} 
[2026-07-27 09:15:36] local.INFO: DEBUG: GPS processor result {"connection_id":143815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552237,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:15:36] local.INFO: GPS data processed {"connection_id":143815,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:15:36] local.INFO: Acknowledgment sent {"connection_id":143815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:15:36] local.INFO: TCP Data received {"connection_id":143814,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1a9af00012d181dc00721ab580050001a26..."} 
[2026-07-27 09:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143814,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1a9af00012d181dc00721ab580050001a26..."} 
[2026-07-27 09:15:36] local.INFO: Processing buffer {"connection_id":143814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1a9af00012d181dc00721ab580050001a26..."} 
[2026-07-27 09:15:36] local.INFO: Packet analysis {"connection_id":143814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1a9"} 
[2026-07-27 09:15:36] local.INFO: Extracted packet for processing {"connection_id":143814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1a9"} 
[2026-07-27 09:15:36] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647064,"longitude_deg":75.65552,"latitude_deg":11.9647064,"altitude":80,"angle":26,"satellites":38,"speed":15,"hex_longitude":"2d181dc0","hex_latitude":"0721ab58","is_valid_coordinates":true} 
[2026-07-27 09:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:15:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991661824001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:15:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8762102651027456,"note":"Value kept but may cause issues"} 
[2026-07-27 09:15:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864441856,"note":"Value kept but may cause issues"} 
[2026-07-27 09:15:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:15:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785123680000,"timestamp_ms":1785123680000,"timestamp_seconds":1785123680,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1a9af00"} 
[2026-07-27 09:15:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:15:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-07-27 09:15:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:15:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:15:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:15:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:15:36] local.INFO: Teltonika packet parsed successfully {"connection_id":143814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:15:36] local.INFO: Passing IMEI to GPS processor {"connection_id":143814,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:15:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":143814,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:15:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:15:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 09:15:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 09:15:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991661824001,"66":13722,"120":206,"28":31744,"24":15,"16":8762102651027456,"45":1737545061864441856},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 09:15:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 09:15:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 09:15:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991661824001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:15:36] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 09:15:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 09:15:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8762102651027456,"km_value":8762102651027.456,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:15:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864441856,"description":"Unknown IO ID 45"} 
[2026-07-27 09:15:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991661824001,"power":13722,"unknown_120":206,"unknown_28":31744,"ignition":15,"odometer":null,"unknown_45":1737545061864441856}} 
[2026-07-27 09:15:36] local.INFO: DEBUG: GPS processor result {"connection_id":143814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552238,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:15:36] local.INFO: GPS data processed {"connection_id":143814,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:15:36] local.INFO: Acknowledgment sent {"connection_id":143814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:15:38] local.INFO: TCP Data received {"connection_id":142701,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:15:38] local.INFO: Processing buffer {"connection_id":142701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:15:38] local.INFO: IMEI packet received {"connection_id":142701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 09:15:38] local.INFO: IMEI acknowledgment sent {"connection_id":142701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:15:39] local.INFO: TCP Data received {"connection_id":142701,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1a90320012d7f990005afda68000900232f..."} 
[2026-07-27 09:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1a90320012d7f990005afda68000900232f..."} 
[2026-07-27 09:15:39] local.INFO: Processing buffer {"connection_id":142701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1a90320012d7f990005afda68000900232f..."} 
[2026-07-27 09:15:39] local.INFO: Packet analysis {"connection_id":142701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1a9"} 
[2026-07-27 09:15:39] local.INFO: Extracted packet for processing {"connection_id":142701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1a9"} 
[2026-07-27 09:15:39] local.INFO: GPS Element Parsed {"raw_longitude":763336960,"raw_latitude":95410792,"longitude_deg":76.333696,"latitude_deg":9.5410792,"altitude":9,"angle":35,"satellites":47,"speed":0,"hex_longitude":"2d7f9900","hex_latitude":"05afda68","is_valid_coordinates":true} 
[2026-07-27 09:15:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:15:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991573248001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:15:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826143710707712,"note":"Value kept but may cause issues"} 
[2026-07-27 09:15:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191424651423295488,"note":"Value kept but may cause issues"} 
[2026-07-27 09:15:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:15:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785123636000,"timestamp_ms":1785123636000,"timestamp_seconds":1785123636,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1a90320"} 
[2026-07-27 09:15:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:15:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:15:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-27 09:15:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:15:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:15:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:15:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:15:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:15:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:15:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:15:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:15:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:15:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:15:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991573248001,"66":26082,"250":206,"85":12544,"24":0,"16":358826143710707712,"45":9191424651423295488},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 09:15:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:15:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:15:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991573248001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:15:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 09:15:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:15:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826143710707712,"km_value":358826143710707.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:15:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191424651423295488,"description":"Unknown IO ID 45"} 
[2026-07-27 09:15:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991573248001,"power":26082,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191424651423295488}} 
[2026-07-27 09:15:39] local.INFO: DEBUG: GPS processor result {"connection_id":142701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:15:39] local.INFO: GPS data processed {"connection_id":142701,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:15:39] local.INFO: Acknowledgment sent {"connection_id":142701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:15:57] local.INFO: TCP Data received {"connection_id":142702,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142702,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:15:57] local.INFO: Processing buffer {"connection_id":142702,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:15:57] local.INFO: IMEI packet received {"connection_id":142702,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 09:15:57] local.INFO: IMEI acknowledgment sent {"connection_id":142702,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:15:58] local.INFO: TCP Data received {"connection_id":142702,"ip":"42.106.6.26","data_length":51,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-07-27 09:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142702,"packet_length":51,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-07-27 09:15:58] local.INFO: Processing buffer {"connection_id":142702,"buffer_length":51,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-07-27 09:15:58] local.INFO: IMEI packet received {"connection_id":142702,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 09:15:58] local.INFO: IMEI acknowledgment sent {"connection_id":142702,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:16:06] local.INFO: TCP Data received {"connection_id":143815,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1ad7ba8012d7d2e4005ec0c18000f012623..."} 
[2026-07-27 09:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1ad7ba8012d7d2e4005ec0c18000f012623..."} 
[2026-07-27 09:16:06] local.INFO: Processing buffer {"connection_id":143815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1ad7ba8012d7d2e4005ec0c18000f012623..."} 
[2026-07-27 09:16:06] local.INFO: Packet analysis {"connection_id":143815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1ad"} 
[2026-07-27 09:16:06] local.INFO: Extracted packet for processing {"connection_id":143815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1ad"} 
[2026-07-27 09:16:06] local.INFO: GPS Element Parsed {"raw_longitude":763178560,"raw_latitude":99355672,"longitude_deg":76.317856,"latitude_deg":9.9355672,"altitude":15,"angle":294,"satellites":35,"speed":0,"hex_longitude":"2d7d2e40","hex_latitude":"05ec0c18","is_valid_coordinates":true} 
[2026-07-27 09:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991648768001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:16:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111588348476260352,"note":"Value kept but may cause issues"} 
[2026-07-27 09:16:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020217497848911872,"note":"Value kept but may cause issues"} 
[2026-07-27 09:16:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:16:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785123929000,"timestamp_ms":1785123929000,"timestamp_seconds":1785123929,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1ad7ba8"} 
[2026-07-27 09:16:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:16:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-27 09:16:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:16:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:16:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:16:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:16:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:16:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143815,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:16:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143815,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:16:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:16:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 09:16:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 09:16:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991648768001,"66":2242,"197":206,"87":13824,"24":0,"16":111588348476260352,"45":9020217497848911872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-07-27 09:16:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 09:16:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 09:16:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991648768001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:16:06] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-27 09:16:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 09:16:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111588348476260352,"km_value":111588348476260.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:16:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020217497848911872,"description":"Unknown IO ID 45"} 
[2026-07-27 09:16:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991648768001,"power":2242,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020217497848911872}} 
[2026-07-27 09:16:06] local.INFO: DEBUG: GPS processor result {"connection_id":143815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552240,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:16:06] local.INFO: GPS data processed {"connection_id":143815,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:16:06] local.INFO: Acknowledgment sent {"connection_id":143815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:16:07] local.INFO: TCP Data received {"connection_id":143814,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1a9d610012d1824800721b758004f015e26..."} 
[2026-07-27 09:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143814,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1a9d610012d1824800721b758004f015e26..."} 
[2026-07-27 09:16:07] local.INFO: Processing buffer {"connection_id":143814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1a9d610012d1824800721b758004f015e26..."} 
[2026-07-27 09:16:07] local.INFO: Packet analysis {"connection_id":143814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1a9"} 
[2026-07-27 09:16:07] local.INFO: Extracted packet for processing {"connection_id":143814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1a9"} 
[2026-07-27 09:16:07] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119650136,"longitude_deg":75.6556928,"latitude_deg":11.9650136,"altitude":79,"angle":350,"satellites":38,"speed":7,"hex_longitude":"2d182480","hex_latitude":"0721b758","is_valid_coordinates":true} 
[2026-07-27 09:16:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:16:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991662080001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:16:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8762274449719296,"note":"Value kept but may cause issues"} 
[2026-07-27 09:16:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097060864,"note":"Value kept but may cause issues"} 
[2026-07-27 09:16:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:16:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785123690000,"timestamp_ms":1785123690000,"timestamp_seconds":1785123690,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1a9d610"} 
[2026-07-27 09:16:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:16:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09:16:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-07-27 09:16:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:16:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:16:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:16:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:16:07] local.INFO: Teltonika packet parsed successfully {"connection_id":143814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:16:07] local.INFO: Passing IMEI to GPS processor {"connection_id":143814,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:16:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":143814,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:16:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:16:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 09:16:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 09:16:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991662080001,"66":13330,"120":206,"28":31744,"24":7,"16":8762274449719296,"45":1737756168097060864},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 09:16:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 09:16:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 09:16:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991662080001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:16:07] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 09:16:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 09:16:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8762274449719296,"km_value":8762274449719.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:16:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097060864,"description":"Unknown IO ID 45"} 
[2026-07-27 09:16:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991662080001,"power":13330,"unknown_120":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1737756168097060864}} 
[2026-07-27 09:16:08] local.INFO: DEBUG: GPS processor result {"connection_id":143814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552241,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:16:08] local.INFO: GPS data processed {"connection_id":143814,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:16:08] local.INFO: Acknowledgment sent {"connection_id":143814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:16:10] local.INFO: TCP Data received {"connection_id":142701,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1a90320012d7f990005afda68000900232f..."} 
[2026-07-27 09:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1a90320012d7f990005afda68000900232f..."} 
[2026-07-27 09:16:10] local.INFO: Processing buffer {"connection_id":142701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1a90320012d7f990005afda68000900232f..."} 
[2026-07-27 09:16:10] local.INFO: Packet analysis {"connection_id":142701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1a9"} 
[2026-07-27 09:16:10] local.INFO: Extracted packet for processing {"connection_id":142701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1a9"} 
[2026-07-27 09:16:10] local.INFO: GPS Element Parsed {"raw_longitude":763336960,"raw_latitude":95410792,"longitude_deg":76.333696,"latitude_deg":9.5410792,"altitude":9,"angle":35,"satellites":47,"speed":0,"hex_longitude":"2d7f9900","hex_latitude":"05afda68","is_valid_coordinates":true} 
[2026-07-27 09:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:16:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991573248001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:16:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826143710707712,"note":"Value kept but may cause issues"} 
[2026-07-27 09:16:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191424651423295488,"note":"Value kept but may cause issues"} 
[2026-07-27 09:16:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:16:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785123636000,"timestamp_ms":1785123636000,"timestamp_seconds":1785123636,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1a90320"} 
[2026-07-27 09:16:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:16:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-27 09:16:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:16:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:16:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:16:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:16:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:16:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:16:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:16:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:16:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:16:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:16:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991573248001,"66":26082,"250":206,"85":12544,"24":0,"16":358826143710707712,"45":9191424651423295488},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 09:16:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:16:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:16:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991573248001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:16:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 09:16:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:16:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826143710707712,"km_value":358826143710707.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:16:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191424651423295488,"description":"Unknown IO ID 45"} 
[2026-07-27 09:16:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991573248001,"power":26082,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191424651423295488}} 
[2026-07-27 09:16:10] local.INFO: DEBUG: GPS processor result {"connection_id":142701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:16:10] local.INFO: GPS data processed {"connection_id":142701,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:16:10] local.INFO: Acknowledgment sent {"connection_id":142701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:16:30] local.INFO: TCP Data received {"connection_id":142703,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142703,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:16:30] local.INFO: Processing buffer {"connection_id":142703,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:16:30] local.INFO: IMEI packet received {"connection_id":142703,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 09:16:30] local.INFO: IMEI acknowledgment sent {"connection_id":142703,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:16:33] local.INFO: TCP Data received {"connection_id":145134,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:16:33] local.INFO: Processing buffer {"connection_id":145134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:16:33] local.INFO: IMEI packet received {"connection_id":145134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 09:16:33] local.INFO: IMEI acknowledgment sent {"connection_id":145134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:16:35] local.INFO: TCP Data received {"connection_id":142704,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142704,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:16:35] local.INFO: Processing buffer {"connection_id":142704,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:16:35] local.INFO: IMEI packet received {"connection_id":142704,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 09:16:35] local.INFO: IMEI acknowledgment sent {"connection_id":142704,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:16:35] local.INFO: TCP Data received {"connection_id":142703,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142703,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:16:35] local.INFO: Processing buffer {"connection_id":142703,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:16:35] local.INFO: IMEI packet received {"connection_id":142703,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 09:16:35] local.INFO: IMEI acknowledgment sent {"connection_id":142703,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:16:36] local.INFO: TCP Data received {"connection_id":142703,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1ad7ba8012d7d2e4005ec0c18000f012623..."} 
[2026-07-27 09:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142703,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1ad7ba8012d7d2e4005ec0c18000f012623..."} 
[2026-07-27 09:16:36] local.INFO: Processing buffer {"connection_id":142703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1ad7ba8012d7d2e4005ec0c18000f012623..."} 
[2026-07-27 09:16:36] local.INFO: Packet analysis {"connection_id":142703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1ad"} 
[2026-07-27 09:16:36] local.INFO: Extracted packet for processing {"connection_id":142703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1ad"} 
[2026-07-27 09:16:36] local.INFO: GPS Element Parsed {"raw_longitude":763178560,"raw_latitude":99355672,"longitude_deg":76.317856,"latitude_deg":9.9355672,"altitude":15,"angle":294,"satellites":35,"speed":0,"hex_longitude":"2d7d2e40","hex_latitude":"05ec0c18","is_valid_coordinates":true} 
[2026-07-27 09:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:16:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991648768001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:16:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111588348476260352,"note":"Value kept but may cause issues"} 
[2026-07-27 09:16:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020217497848911872,"note":"Value kept but may cause issues"} 
[2026-07-27 09:16:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:16:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785123929000,"timestamp_ms":1785123929000,"timestamp_seconds":1785123929,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1ad7ba8"} 
[2026-07-27 09:16:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:16:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-27 09:16:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:16:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:16:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:16:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:16:36] local.INFO: Teltonika packet parsed successfully {"connection_id":142703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:16:36] local.INFO: Passing IMEI to GPS processor {"connection_id":142703,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:16:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":142703,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:16:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:16:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 09:16:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 09:16:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991648768001,"66":2242,"197":206,"87":13824,"24":0,"16":111588348476260352,"45":9020217497848911872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-07-27 09:16:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 09:16:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 09:16:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991648768001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:16:36] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-27 09:16:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 09:16:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111588348476260352,"km_value":111588348476260.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:16:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020217497848911872,"description":"Unknown IO ID 45"} 
[2026-07-27 09:16:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991648768001,"power":2242,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020217497848911872}} 
[2026-07-27 09:16:36] local.INFO: DEBUG: GPS processor result {"connection_id":142703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552243,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:16:36] local.INFO: GPS data processed {"connection_id":142703,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:16:36] local.INFO: Acknowledgment sent {"connection_id":142703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:16:38] local.INFO: TCP Data received {"connection_id":145134,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:16:38] local.INFO: Processing buffer {"connection_id":145134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:16:38] local.INFO: IMEI packet received {"connection_id":145134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 09:16:38] local.INFO: IMEI acknowledgment sent {"connection_id":145134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:16:38] local.INFO: TCP Data received {"connection_id":145134,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1ad9ae8012d7f990005afda68000c00232f..."} 
[2026-07-27 09:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145134,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1ad9ae8012d7f990005afda68000c00232f..."} 
[2026-07-27 09:16:38] local.INFO: Processing buffer {"connection_id":145134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1ad9ae8012d7f990005afda68000c00232f..."} 
[2026-07-27 09:16:38] local.INFO: Packet analysis {"connection_id":145134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1ad"} 
[2026-07-27 09:16:38] local.INFO: Extracted packet for processing {"connection_id":145134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1ad"} 
[2026-07-27 09:16:38] local.INFO: GPS Element Parsed {"raw_longitude":763336960,"raw_latitude":95410792,"longitude_deg":76.333696,"latitude_deg":9.5410792,"altitude":12,"angle":35,"satellites":47,"speed":0,"hex_longitude":"2d7f9900","hex_latitude":"05afda68","is_valid_coordinates":true} 
[2026-07-27 09:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:16:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991650816001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:16:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826143710707712,"note":"Value kept but may cause issues"} 
[2026-07-27 09:16:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194380138678740992,"note":"Value kept but may cause issues"} 
[2026-07-27 09:16:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:16:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785123937000,"timestamp_ms":1785123937000,"timestamp_seconds":1785123937,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1ad9ae8"} 
[2026-07-27 09:16:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:16:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-07-27 09:16:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:16:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:16:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:16:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:16:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:16:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:16:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:16:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:16:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:16:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:16:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991650816001,"66":25854,"250":206,"85":12544,"24":0,"16":358826143710707712,"45":9194380138678740992},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 09:16:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:16:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:16:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991650816001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:16:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 09:16:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:16:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826143710707712,"km_value":358826143710707.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:16:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194380138678740992,"description":"Unknown IO ID 45"} 
[2026-07-27 09:16:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991650816001,"power":25854,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194380138678740992}} 
[2026-07-27 09:16:38] local.INFO: DEBUG: GPS processor result {"connection_id":145134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:16:38] local.INFO: GPS data processed {"connection_id":145134,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:16:38] local.INFO: Acknowledgment sent {"connection_id":145134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:16:40] local.INFO: TCP Data received {"connection_id":142704,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142704,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:16:40] local.INFO: Processing buffer {"connection_id":142704,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:16:40] local.INFO: IMEI packet received {"connection_id":142704,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 09:16:40] local.INFO: IMEI acknowledgment sent {"connection_id":142704,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:16:42] local.INFO: TCP Data received {"connection_id":142704,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1aa2818012d1824000721b8b8004d015e26..."} 
[2026-07-27 09:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142704,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1aa2818012d1824000721b8b8004d015e26..."} 
[2026-07-27 09:16:42] local.INFO: Processing buffer {"connection_id":142704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1aa2818012d1824000721b8b8004d015e26..."} 
[2026-07-27 09:16:42] local.INFO: Packet analysis {"connection_id":142704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1aa"} 
[2026-07-27 09:16:42] local.INFO: Extracted packet for processing {"connection_id":142704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1aa"} 
[2026-07-27 09:16:42] local.INFO: GPS Element Parsed {"raw_longitude":756556800,"raw_latitude":119650488,"longitude_deg":75.65568,"latitude_deg":11.9650488,"altitude":77,"angle":350,"satellites":38,"speed":0,"hex_longitude":"2d182400","hex_latitude":"0721b8b8","is_valid_coordinates":true} 
[2026-07-27 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-07-27 09:16:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991664640001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:16:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8762317399392256,"note":"Value kept but may cause issues"} 
[2026-07-27 09:16:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190644224,"note":"Value kept but may cause issues"} 
[2026-07-27 09:16:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:16:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785123711000,"timestamp_ms":1785123711000,"timestamp_seconds":1785123711,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1aa2818"} 
[2026-07-27 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-07-27 09:16:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12544,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-07-27 09:16:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-07-27 09:16:42] local.WARNING: Large IO value detected {"io_id":33,"raw_value":-7063895641848732160,"note":"Value kept but may cause issues"} 
[2026-07-27 09:16:42] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2712225160,"note":"Value kept but may cause issues"} 
[2026-07-27 09:16:42] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249389187587219520,"note":"Value kept but may cause issues"} 
[2026-07-27 09:16:42] local.WARNING: Large IO value detected {"io_id":161,"raw_value":2843746305,"note":"Value kept but may cause issues"} 
[2026-07-27 09:16:42] local.WARNING: Large IO value detected {"io_id":4,"raw_value":563985040580120,"note":"Value kept but may cause issues"} 
[2026-07-27 09:16:42] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-07-27 09:16:42] local.WARNING: Large IO value detected {"io_id":30,"raw_value":2147951013,"note":"Value kept but may cause issues"} 
[2026-07-27 09:16:42] local.WARNING: Large IO value detected {"io_id":55,"raw_value":4194356711,"note":"Value kept but may cause issues"} 
[2026-07-27 09:16:42] local.WARNING: Large IO value detected {"io_id":169,"raw_value":3321406018376056839,"note":"Value kept but may cause issues"} 
[2026-07-27 09:16:42] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8647137906286139392,"note":"Value kept but may cause issues"} 
[2026-07-27 09:16:42] local.WARNING: Large IO value detected {"io_id":47,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-27 09:16:42] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,120,28,24,241,158,16,33,159,175,45,192,171,80,38,10,66,170,163,64,1,240,161,4,113,205,124,30,152,239,55,2,31,7,83,11,169,231,47],"length":626,"final_offset":756,"validated_count":39,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-07-27 09:16:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5692934921275244544,"timestamp_seconds":5692934921275245.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 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-07-27 09:16:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:16:42] local.INFO: Teltonika packet parsed successfully {"connection_id":142704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:16:42] local.INFO: Passing IMEI to GPS processor {"connection_id":142704,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:16:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":142704,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:16:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:16:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 09:16:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 09:16:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991664640001,"66":13037,"120":206,"28":31744,"24":0,"16":8762317399392256,"45":1739656124190644224},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 09:16:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 09:16:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 09:16:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991664640001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:16:42] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 09:16:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 09:16:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8762317399392256,"km_value":8762317399392.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:16:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190644224,"description":"Unknown IO ID 45"} 
[2026-07-27 09:16:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991664640001,"power":13037,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739656124190644224}} 
[2026-07-27 09:16:42] local.INFO: DEBUG: GPS processor result {"connection_id":142704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552245,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:16:42] local.INFO: GPS data processed {"connection_id":142704,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:16:42] local.INFO: Acknowledgment sent {"connection_id":142704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:16:43] local.INFO: TCP Data received {"connection_id":142704,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1aa7a20012d1822c00721b608004d015e26..."} 
[2026-07-27 09:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142704,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1aa7a20012d1822c00721b608004d015e26..."} 
[2026-07-27 09:16:43] local.INFO: Processing buffer {"connection_id":142704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1aa7a20012d1822c00721b608004d015e26..."} 
[2026-07-27 09:16:43] local.INFO: Packet analysis {"connection_id":142704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1aa"} 
[2026-07-27 09:16:43] local.INFO: Extracted packet for processing {"connection_id":142704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1aa"} 
[2026-07-27 09:16:43] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649800,"longitude_deg":75.655648,"latitude_deg":11.96498,"altitude":77,"angle":350,"satellites":38,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b608","is_valid_coordinates":true} 
[2026-07-27 09:16:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:16:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991670016001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:16:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8762368938999808,"note":"Value kept but may cause issues"} 
[2026-07-27 09:16:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739515386702379008,"note":"Value kept but may cause issues"} 
[2026-07-27 09:16: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-07-27 09:16:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785123732000,"timestamp_ms":1785123732000,"timestamp_seconds":1785123732,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1aa7a20"} 
[2026-07-27 09:16:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:16:43] 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-07-27 09:16:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-07-27 09:16:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:16:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:16:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:16:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:16:43] local.INFO: Teltonika packet parsed successfully {"connection_id":142704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:16:43] local.INFO: Passing IMEI to GPS processor {"connection_id":142704,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:16:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":142704,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:16:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:16:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 09:16:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 09:16:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991670016001,"66":13048,"120":206,"28":31744,"24":0,"16":8762368938999808,"45":1739515386702379008},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 09:16:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 09:16:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 09:16:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991670016001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:16:43] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 09:16:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 09:16:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8762368938999808,"km_value":8762368938999.808,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:16:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739515386702379008,"description":"Unknown IO ID 45"} 
[2026-07-27 09:16:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991670016001,"power":13048,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739515386702379008}} 
[2026-07-27 09:16:43] local.INFO: DEBUG: GPS processor result {"connection_id":142704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552246,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:16:43] local.INFO: GPS data processed {"connection_id":142704,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:16:43] local.INFO: Acknowledgment sent {"connection_id":142704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:16:44] local.INFO: TCP Data received {"connection_id":143817,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 09:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143817,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 09:16:44] local.INFO: Processing buffer {"connection_id":143817,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 09:16:44] local.INFO: IMEI packet received {"connection_id":143817,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 09:16:44] local.INFO: IMEI acknowledgment sent {"connection_id":143817,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:17:07] local.INFO: TCP Data received {"connection_id":142703,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1ad7ba8012d7d2e4005ec0c18000f012623..."} 
[2026-07-27 09:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142703,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1ad7ba8012d7d2e4005ec0c18000f012623..."} 
[2026-07-27 09:17:07] local.INFO: Processing buffer {"connection_id":142703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1ad7ba8012d7d2e4005ec0c18000f012623..."} 
[2026-07-27 09:17:07] local.INFO: Packet analysis {"connection_id":142703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1ad"} 
[2026-07-27 09:17:07] local.INFO: Extracted packet for processing {"connection_id":142703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1ad"} 
[2026-07-27 09:17:07] local.INFO: GPS Element Parsed {"raw_longitude":763178560,"raw_latitude":99355672,"longitude_deg":76.317856,"latitude_deg":9.9355672,"altitude":15,"angle":294,"satellites":35,"speed":0,"hex_longitude":"2d7d2e40","hex_latitude":"05ec0c18","is_valid_coordinates":true} 
[2026-07-27 09:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:17:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991648768001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:17:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111588348476260352,"note":"Value kept but may cause issues"} 
[2026-07-27 09:17:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020217497848911872,"note":"Value kept but may cause issues"} 
[2026-07-27 09:17:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:17:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785123929000,"timestamp_ms":1785123929000,"timestamp_seconds":1785123929,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1ad7ba8"} 
[2026-07-27 09:17:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:17:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-27 09:17:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:17:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:17:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:17:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:17:07] local.INFO: Teltonika packet parsed successfully {"connection_id":142703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:17:07] local.INFO: Passing IMEI to GPS processor {"connection_id":142703,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:17:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":142703,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:17:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:17:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 09:17:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 09:17:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991648768001,"66":2242,"197":206,"87":13824,"24":0,"16":111588348476260352,"45":9020217497848911872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-07-27 09:17:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 09:17:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 09:17:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991648768001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:17:07] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-27 09:17:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 09:17:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111588348476260352,"km_value":111588348476260.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:17:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020217497848911872,"description":"Unknown IO ID 45"} 
[2026-07-27 09:17:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991648768001,"power":2242,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020217497848911872}} 
[2026-07-27 09:17:07] local.INFO: DEBUG: GPS processor result {"connection_id":142703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552247,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:17:07] local.INFO: GPS data processed {"connection_id":142703,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:17:07] local.INFO: Acknowledgment sent {"connection_id":142703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:17:09] local.INFO: TCP Data received {"connection_id":145134,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1ad9ae8012d7f990005afda68000c00232f..."} 
[2026-07-27 09:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145134,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1ad9ae8012d7f990005afda68000c00232f..."} 
[2026-07-27 09:17:09] local.INFO: Processing buffer {"connection_id":145134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1ad9ae8012d7f990005afda68000c00232f..."} 
[2026-07-27 09:17:09] local.INFO: Packet analysis {"connection_id":145134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1ad"} 
[2026-07-27 09:17:09] local.INFO: Extracted packet for processing {"connection_id":145134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1ad"} 
[2026-07-27 09:17:09] local.INFO: GPS Element Parsed {"raw_longitude":763336960,"raw_latitude":95410792,"longitude_deg":76.333696,"latitude_deg":9.5410792,"altitude":12,"angle":35,"satellites":47,"speed":0,"hex_longitude":"2d7f9900","hex_latitude":"05afda68","is_valid_coordinates":true} 
[2026-07-27 09:17:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:17:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991650816001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:17:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826143710707712,"note":"Value kept but may cause issues"} 
[2026-07-27 09:17:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194380138678740992,"note":"Value kept but may cause issues"} 
[2026-07-27 09:17:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:17:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785123937000,"timestamp_ms":1785123937000,"timestamp_seconds":1785123937,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1ad9ae8"} 
[2026-07-27 09:17:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:17:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-07-27 09:17:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:17:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:17:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:17:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:17:09] local.INFO: Teltonika packet parsed successfully {"connection_id":145134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:17:09] local.INFO: Passing IMEI to GPS processor {"connection_id":145134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:17:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":145134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:17:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:17:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:17:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:17:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991650816001,"66":25854,"250":206,"85":12544,"24":0,"16":358826143710707712,"45":9194380138678740992},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 09:17:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:17:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:17:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991650816001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:17:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 09:17:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:17:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826143710707712,"km_value":358826143710707.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:17:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194380138678740992,"description":"Unknown IO ID 45"} 
[2026-07-27 09:17:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991650816001,"power":25854,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194380138678740992}} 
[2026-07-27 09:17:09] local.INFO: DEBUG: GPS processor result {"connection_id":145134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:17:09] local.INFO: GPS data processed {"connection_id":145134,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:17:09] local.INFO: Acknowledgment sent {"connection_id":145134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:17:15] local.INFO: TCP Data received {"connection_id":142704,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1aacc28012d1822c00721b608004d015e25..."} 
[2026-07-27 09:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142704,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1aacc28012d1822c00721b608004d015e25..."} 
[2026-07-27 09:17:15] local.INFO: Processing buffer {"connection_id":142704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1aacc28012d1822c00721b608004d015e25..."} 
[2026-07-27 09:17:15] local.INFO: Packet analysis {"connection_id":142704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1aa"} 
[2026-07-27 09:17:15] local.INFO: Extracted packet for processing {"connection_id":142704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1aa"} 
[2026-07-27 09:17:15] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649800,"longitude_deg":75.655648,"latitude_deg":11.96498,"altitude":77,"angle":350,"satellites":37,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b608","is_valid_coordinates":true} 
[2026-07-27 09:17:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:17:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991675392001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:17:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8762368938999808,"note":"Value kept but may cause issues"} 
[2026-07-27 09:17:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981314560,"note":"Value kept but may cause issues"} 
[2026-07-27 09:17:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:17:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785123753000,"timestamp_ms":1785123753000,"timestamp_seconds":1785123753,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1aacc28"} 
[2026-07-27 09:17:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:17:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12544,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-27 09:17:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:17:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:17:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:17:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:17:15] local.INFO: Teltonika packet parsed successfully {"connection_id":142704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:17:15] local.INFO: Passing IMEI to GPS processor {"connection_id":142704,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:17:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":142704,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:17:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:17:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 09:17:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 09:17:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991675392001,"66":12993,"120":206,"28":31744,"24":0,"16":8762368938999808,"45":1739163542981314560},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 09:17:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 09:17:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 09:17:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991675392001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:17:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 09:17:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 09:17:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8762368938999808,"km_value":8762368938999.808,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:17:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981314560,"description":"Unknown IO ID 45"} 
[2026-07-27 09:17:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991675392001,"power":12993,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739163542981314560}} 
[2026-07-27 09:17:15] local.INFO: DEBUG: GPS processor result {"connection_id":142704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552249,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:17:15] local.INFO: GPS data processed {"connection_id":142704,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:17:15] local.INFO: Acknowledgment sent {"connection_id":142704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:17:30] local.INFO: TCP Data received {"connection_id":142826,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142826,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:17:30] local.INFO: Processing buffer {"connection_id":142826,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:17:30] local.INFO: IMEI packet received {"connection_id":142826,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 09:17:30] local.INFO: IMEI acknowledgment sent {"connection_id":142826,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:17:30] local.INFO: TCP Data received {"connection_id":142827,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142827,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:17:30] local.INFO: Processing buffer {"connection_id":142827,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:17:30] local.INFO: IMEI packet received {"connection_id":142827,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 09:17:30] local.INFO: IMEI acknowledgment sent {"connection_id":142827,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:17:32] local.INFO: TCP Data received {"connection_id":142828,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:17:32] local.INFO: Processing buffer {"connection_id":142828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:17:32] local.INFO: IMEI packet received {"connection_id":142828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 09:17:32] local.INFO: IMEI acknowledgment sent {"connection_id":142828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:17:35] local.INFO: TCP Data received {"connection_id":142827,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142827,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:17:35] local.INFO: Processing buffer {"connection_id":142827,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:17:35] local.INFO: IMEI packet received {"connection_id":142827,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 09:17:35] local.INFO: IMEI acknowledgment sent {"connection_id":142827,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:17:35] local.INFO: TCP Data received {"connection_id":142826,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142826,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:17:35] local.INFO: Processing buffer {"connection_id":142826,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:17:35] local.INFO: IMEI packet received {"connection_id":142826,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 09:17:35] local.INFO: IMEI acknowledgment sent {"connection_id":142826,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:17:36] local.INFO: TCP Data received {"connection_id":142827,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1ad7ba8012d7d2e4005ec0c18000f012623..."} 
[2026-07-27 09:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142827,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1ad7ba8012d7d2e4005ec0c18000f012623..."} 
[2026-07-27 09:17:36] local.INFO: Processing buffer {"connection_id":142827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1ad7ba8012d7d2e4005ec0c18000f012623..."} 
[2026-07-27 09:17:36] local.INFO: Packet analysis {"connection_id":142827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1ad"} 
[2026-07-27 09:17:36] local.INFO: Extracted packet for processing {"connection_id":142827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1ad"} 
[2026-07-27 09:17:36] local.INFO: GPS Element Parsed {"raw_longitude":763178560,"raw_latitude":99355672,"longitude_deg":76.317856,"latitude_deg":9.9355672,"altitude":15,"angle":294,"satellites":35,"speed":0,"hex_longitude":"2d7d2e40","hex_latitude":"05ec0c18","is_valid_coordinates":true} 
[2026-07-27 09:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:17:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991648768001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:17:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111588348476260352,"note":"Value kept but may cause issues"} 
[2026-07-27 09:17:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020217497848911872,"note":"Value kept but may cause issues"} 
[2026-07-27 09:17:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:17:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785123929000,"timestamp_ms":1785123929000,"timestamp_seconds":1785123929,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1ad7ba8"} 
[2026-07-27 09:17:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:17:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-27 09:17:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:17:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:17:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:17:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:17:36] local.INFO: Teltonika packet parsed successfully {"connection_id":142827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:17:36] local.INFO: Passing IMEI to GPS processor {"connection_id":142827,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:17:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":142827,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:17:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:17:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 09:17:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 09:17:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991648768001,"66":2242,"197":206,"87":13824,"24":0,"16":111588348476260352,"45":9020217497848911872},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-07-27 09:17:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 09:17:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 09:17:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991648768001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:17:36] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-27 09:17:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 09:17:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111588348476260352,"km_value":111588348476260.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:17:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020217497848911872,"description":"Unknown IO ID 45"} 
[2026-07-27 09:17:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991648768001,"power":2242,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020217497848911872}} 
[2026-07-27 09:17:36] local.INFO: DEBUG: GPS processor result {"connection_id":142827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552250,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:17:36] local.INFO: GPS data processed {"connection_id":142827,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:17:36] local.INFO: Acknowledgment sent {"connection_id":142827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:17:36] local.INFO: TCP Data received {"connection_id":142826,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1ab1e30012d1822c00721b608004d015e24..."} 
[2026-07-27 09:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1ab1e30012d1822c00721b608004d015e24..."} 
[2026-07-27 09:17:36] local.INFO: Processing buffer {"connection_id":142826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1ab1e30012d1822c00721b608004d015e24..."} 
[2026-07-27 09:17:36] local.INFO: Packet analysis {"connection_id":142826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1ab"} 
[2026-07-27 09:17:36] local.INFO: Extracted packet for processing {"connection_id":142826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1ab"} 
[2026-07-27 09:17:36] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649800,"longitude_deg":75.655648,"latitude_deg":11.96498,"altitude":77,"angle":350,"satellites":36,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b608","is_valid_coordinates":true} 
[2026-07-27 09:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:17:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991680768001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:17:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8762368938999808,"note":"Value kept but may cause issues"} 
[2026-07-27 09:17:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981314560,"note":"Value kept but may cause issues"} 
[2026-07-27 09:17:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:17:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785123774000,"timestamp_ms":1785123774000,"timestamp_seconds":1785123774,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1ab1e30"} 
[2026-07-27 09:17:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:17:36] 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-07-27 09:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-07-27 09:17:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:17:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:17:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:17:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:17:36] local.INFO: Teltonika packet parsed successfully {"connection_id":142826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:17:36] local.INFO: Passing IMEI to GPS processor {"connection_id":142826,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:17:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":142826,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:17:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:17:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 09:17:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 09:17:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991680768001,"66":12232,"120":206,"28":31744,"24":0,"16":8762368938999808,"45":1739163542981314560},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 09:17:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 09:17:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 09:17:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991680768001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:17:36] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 09:17:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 09:17:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8762368938999808,"km_value":8762368938999.808,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:17:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981314560,"description":"Unknown IO ID 45"} 
[2026-07-27 09:17:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991680768001,"power":12232,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739163542981314560}} 
[2026-07-27 09:17:36] local.INFO: DEBUG: GPS processor result {"connection_id":142826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552251,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:17:36] local.INFO: GPS data processed {"connection_id":142826,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:17:36] local.INFO: Acknowledgment sent {"connection_id":142826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:17:38] local.INFO: TCP Data received {"connection_id":142828,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:17:38] local.INFO: Processing buffer {"connection_id":142828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:17:38] local.INFO: IMEI packet received {"connection_id":142828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 09:17:38] local.INFO: IMEI acknowledgment sent {"connection_id":142828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:17:38] local.INFO: TCP Data received {"connection_id":142828,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1ad9ae8012d7f990005afda68000c00232f..."} 
[2026-07-27 09:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142828,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1ad9ae8012d7f990005afda68000c00232f..."} 
[2026-07-27 09:17:38] local.INFO: Processing buffer {"connection_id":142828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1ad9ae8012d7f990005afda68000c00232f..."} 
[2026-07-27 09:17:38] local.INFO: Packet analysis {"connection_id":142828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1ad"} 
[2026-07-27 09:17:38] local.INFO: Extracted packet for processing {"connection_id":142828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1ad"} 
[2026-07-27 09:17:38] local.INFO: GPS Element Parsed {"raw_longitude":763336960,"raw_latitude":95410792,"longitude_deg":76.333696,"latitude_deg":9.5410792,"altitude":12,"angle":35,"satellites":47,"speed":0,"hex_longitude":"2d7f9900","hex_latitude":"05afda68","is_valid_coordinates":true} 
[2026-07-27 09:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:17:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991650816001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:17:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826143710707712,"note":"Value kept but may cause issues"} 
[2026-07-27 09:17:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194380138678740992,"note":"Value kept but may cause issues"} 
[2026-07-27 09:17:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:17:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785123937000,"timestamp_ms":1785123937000,"timestamp_seconds":1785123937,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1ad9ae8"} 
[2026-07-27 09:17:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:17:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-07-27 09:17:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:17:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:17:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:17:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:17:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:17:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:17:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:17:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:17:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:17:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:17:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991650816001,"66":25854,"250":206,"85":12544,"24":0,"16":358826143710707712,"45":9194380138678740992},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 09:17:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:17:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:17:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991650816001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:17:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 09:17:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:17:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826143710707712,"km_value":358826143710707.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:17:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194380138678740992,"description":"Unknown IO ID 45"} 
[2026-07-27 09:17:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991650816001,"power":25854,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194380138678740992}} 
[2026-07-27 09:17:38] local.INFO: DEBUG: GPS processor result {"connection_id":142828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:17:38] local.INFO: GPS data processed {"connection_id":142828,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:17:38] local.INFO: Acknowledgment sent {"connection_id":142828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:18:08] local.INFO: TCP Data received {"connection_id":142827,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1ad7ba8012d7d2e4005ec0c18000f012623..."} 
[2026-07-27 09:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142827,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1ad7ba8012d7d2e4005ec0c18000f012623..."} 
[2026-07-27 09:18:08] local.INFO: Processing buffer {"connection_id":142827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1ad7ba8012d7d2e4005ec0c18000f012623..."} 
[2026-07-27 09:18:08] local.INFO: Packet analysis {"connection_id":142827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1ad"} 
[2026-07-27 09:18:08] local.INFO: Extracted packet for processing {"connection_id":142827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1ad"} 
[2026-07-27 09:18:08] local.INFO: GPS Element Parsed {"raw_longitude":763178560,"raw_latitude":99355672,"longitude_deg":76.317856,"latitude_deg":9.9355672,"altitude":15,"angle":294,"satellites":35,"speed":0,"hex_longitude":"2d7d2e40","hex_latitude":"05ec0c18","is_valid_coordinates":true} 
[2026-07-27 09:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:18:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991648768001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:18:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111588348476260352,"note":"Value kept but may cause issues"} 
[2026-07-27 09:18:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020217497848911872,"note":"Value kept but may cause issues"} 
[2026-07-27 09:18:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:18:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785123929000,"timestamp_ms":1785123929000,"timestamp_seconds":1785123929,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1ad7ba8"} 
[2026-07-27 09:18:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:18:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-27 09:18:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:18:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:18:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:18:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:18:08] local.INFO: Teltonika packet parsed successfully {"connection_id":142827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:18:08] local.INFO: Passing IMEI to GPS processor {"connection_id":142827,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:18:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":142827,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:18:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:18:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 09:18:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 09:18:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991648768001,"66":2242,"197":206,"87":13824,"24":0,"16":111588348476260352,"45":9020217497848911872},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-07-27 09:18:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 09:18:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 09:18:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991648768001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:18:08] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-27 09:18:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 09:18:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111588348476260352,"km_value":111588348476260.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:18:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020217497848911872,"description":"Unknown IO ID 45"} 
[2026-07-27 09:18:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991648768001,"power":2242,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020217497848911872}} 
[2026-07-27 09:18:08] local.INFO: DEBUG: GPS processor result {"connection_id":142827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552253,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:18:08] local.INFO: GPS data processed {"connection_id":142827,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:18:08] local.INFO: Acknowledgment sent {"connection_id":142827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:18:08] local.INFO: TCP Data received {"connection_id":142826,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1aea488012d1822c00721b608004d015e27..."} 
[2026-07-27 09:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1aea488012d1822c00721b608004d015e27..."} 
[2026-07-27 09:18:08] local.INFO: Processing buffer {"connection_id":142826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1aea488012d1822c00721b608004d015e27..."} 
[2026-07-27 09:18:08] local.INFO: Packet analysis {"connection_id":142826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1ae"} 
[2026-07-27 09:18:08] local.INFO: Extracted packet for processing {"connection_id":142826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1ae"} 
[2026-07-27 09:18:08] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649800,"longitude_deg":75.655648,"latitude_deg":11.96498,"altitude":77,"angle":350,"satellites":39,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b608","is_valid_coordinates":true} 
[2026-07-27 09:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:18:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991739904001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:18:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8762368938999808,"note":"Value kept but may cause issues"} 
[2026-07-27 09:18:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981314560,"note":"Value kept but may cause issues"} 
[2026-07-27 09:18:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:18:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785124005000,"timestamp_ms":1785124005000,"timestamp_seconds":1785124005,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1aea488"} 
[2026-07-27 09:18:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:18:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-07-27 09:18:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:18:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:18:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:18:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:18:08] local.INFO: Teltonika packet parsed successfully {"connection_id":142826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:18:08] local.INFO: Passing IMEI to GPS processor {"connection_id":142826,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:18:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":142826,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:18:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:18:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 09:18:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 09:18:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991739904001,"66":12558,"120":206,"28":31744,"24":0,"16":8762368938999808,"45":1739163542981314560},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 09:18:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 09:18:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 09:18:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991739904001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:18:08] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 09:18:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 09:18:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8762368938999808,"km_value":8762368938999.808,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:18:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981314560,"description":"Unknown IO ID 45"} 
[2026-07-27 09:18:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991739904001,"power":12558,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739163542981314560}} 
[2026-07-27 09:18:08] local.INFO: DEBUG: GPS processor result {"connection_id":142826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552254,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:18:08] local.INFO: GPS data processed {"connection_id":142826,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:18:08] local.INFO: Acknowledgment sent {"connection_id":142826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:18:10] local.INFO: TCP Data received {"connection_id":142828,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1ad9ae8012d7f990005afda68000c00232f..."} 
[2026-07-27 09:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142828,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1ad9ae8012d7f990005afda68000c00232f..."} 
[2026-07-27 09:18:10] local.INFO: Processing buffer {"connection_id":142828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1ad9ae8012d7f990005afda68000c00232f..."} 
[2026-07-27 09:18:10] local.INFO: Packet analysis {"connection_id":142828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1ad"} 
[2026-07-27 09:18:10] local.INFO: Extracted packet for processing {"connection_id":142828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1ad"} 
[2026-07-27 09:18:10] local.INFO: GPS Element Parsed {"raw_longitude":763336960,"raw_latitude":95410792,"longitude_deg":76.333696,"latitude_deg":9.5410792,"altitude":12,"angle":35,"satellites":47,"speed":0,"hex_longitude":"2d7f9900","hex_latitude":"05afda68","is_valid_coordinates":true} 
[2026-07-27 09:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:18:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991650816001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:18:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826143710707712,"note":"Value kept but may cause issues"} 
[2026-07-27 09:18:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194380138678740992,"note":"Value kept but may cause issues"} 
[2026-07-27 09:18:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:18:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785123937000,"timestamp_ms":1785123937000,"timestamp_seconds":1785123937,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1ad9ae8"} 
[2026-07-27 09:18:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:18:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-07-27 09:18:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:18:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:18:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:18:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:18:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:18:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:18:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:18:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:18:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:18:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:18:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991650816001,"66":25854,"250":206,"85":12544,"24":0,"16":358826143710707712,"45":9194380138678740992},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 09:18:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:18:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:18:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991650816001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:18:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 09:18:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:18:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826143710707712,"km_value":358826143710707.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:18:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194380138678740992,"description":"Unknown IO ID 45"} 
[2026-07-27 09:18:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991650816001,"power":25854,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194380138678740992}} 
[2026-07-27 09:18:10] local.INFO: DEBUG: GPS processor result {"connection_id":142828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:18:10] local.INFO: GPS data processed {"connection_id":142828,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:18:10] local.INFO: Acknowledgment sent {"connection_id":142828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:18:30] local.INFO: TCP Data received {"connection_id":145136,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145136,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:18:30] local.INFO: Processing buffer {"connection_id":145136,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:18:30] local.INFO: IMEI packet received {"connection_id":145136,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 09:18:30] local.INFO: IMEI acknowledgment sent {"connection_id":145136,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:18:30] local.INFO: TCP Data received {"connection_id":143819,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143819,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:18:30] local.INFO: Processing buffer {"connection_id":143819,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:18:30] local.INFO: IMEI packet received {"connection_id":143819,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 09:18:30] local.INFO: IMEI acknowledgment sent {"connection_id":143819,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:18:32] local.INFO: TCP Data received {"connection_id":143820,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:18:32] local.INFO: Processing buffer {"connection_id":143820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:18:32] local.INFO: IMEI packet received {"connection_id":143820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 09:18:32] local.INFO: IMEI acknowledgment sent {"connection_id":143820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:18:35] local.INFO: TCP Data received {"connection_id":143819,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143819,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:18:35] local.INFO: Processing buffer {"connection_id":143819,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:18:35] local.INFO: IMEI packet received {"connection_id":143819,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 09:18:35] local.INFO: IMEI acknowledgment sent {"connection_id":143819,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:18:35] local.INFO: TCP Data received {"connection_id":145136,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145136,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:18:35] local.INFO: Processing buffer {"connection_id":145136,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:18:35] local.INFO: IMEI packet received {"connection_id":145136,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 09:18:35] local.INFO: IMEI acknowledgment sent {"connection_id":145136,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:18:36] local.INFO: TCP Data received {"connection_id":143819,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1ad7ba8012d7d2e4005ec0c18000f012623..."} 
[2026-07-27 09:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1ad7ba8012d7d2e4005ec0c18000f012623..."} 
[2026-07-27 09:18:36] local.INFO: Processing buffer {"connection_id":143819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1ad7ba8012d7d2e4005ec0c18000f012623..."} 
[2026-07-27 09:18:36] local.INFO: Packet analysis {"connection_id":143819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1ad"} 
[2026-07-27 09:18:36] local.INFO: Extracted packet for processing {"connection_id":143819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1ad"} 
[2026-07-27 09:18:36] local.INFO: GPS Element Parsed {"raw_longitude":763178560,"raw_latitude":99355672,"longitude_deg":76.317856,"latitude_deg":9.9355672,"altitude":15,"angle":294,"satellites":35,"speed":0,"hex_longitude":"2d7d2e40","hex_latitude":"05ec0c18","is_valid_coordinates":true} 
[2026-07-27 09:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:18:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991648768001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:18:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111588348476260352,"note":"Value kept but may cause issues"} 
[2026-07-27 09:18:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020217497848911872,"note":"Value kept but may cause issues"} 
[2026-07-27 09:18:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:18:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785123929000,"timestamp_ms":1785123929000,"timestamp_seconds":1785123929,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1ad7ba8"} 
[2026-07-27 09:18:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:18:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-27 09:18:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:18:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:18:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:18:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:18:36] local.INFO: Teltonika packet parsed successfully {"connection_id":143819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:18:36] local.INFO: Passing IMEI to GPS processor {"connection_id":143819,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:18:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":143819,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:18:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:18:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 09:18:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 09:18:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991648768001,"66":2242,"197":206,"87":13824,"24":0,"16":111588348476260352,"45":9020217497848911872},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-07-27 09:18:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 09:18:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 09:18:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991648768001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:18:36] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-27 09:18:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 09:18:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111588348476260352,"km_value":111588348476260.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:18:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020217497848911872,"description":"Unknown IO ID 45"} 
[2026-07-27 09:18:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991648768001,"power":2242,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020217497848911872}} 
[2026-07-27 09:18:36] local.INFO: DEBUG: GPS processor result {"connection_id":143819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552256,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:18:36] local.INFO: GPS data processed {"connection_id":143819,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:18:36] local.INFO: Acknowledgment sent {"connection_id":143819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:18:36] local.INFO: TCP Data received {"connection_id":145136,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1aef690012d1822c00721b608004d015e27..."} 
[2026-07-27 09:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145136,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1aef690012d1822c00721b608004d015e27..."} 
[2026-07-27 09:18:36] local.INFO: Processing buffer {"connection_id":145136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1aef690012d1822c00721b608004d015e27..."} 
[2026-07-27 09:18:36] local.INFO: Packet analysis {"connection_id":145136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1ae"} 
[2026-07-27 09:18:36] local.INFO: Extracted packet for processing {"connection_id":145136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1ae"} 
[2026-07-27 09:18:36] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649800,"longitude_deg":75.655648,"latitude_deg":11.96498,"altitude":77,"angle":350,"satellites":39,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b608","is_valid_coordinates":true} 
[2026-07-27 09:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:18:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991745280001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:18:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8762368938999808,"note":"Value kept but may cause issues"} 
[2026-07-27 09:18:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981314560,"note":"Value kept but may cause issues"} 
[2026-07-27 09:18:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:18:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785124026000,"timestamp_ms":1785124026000,"timestamp_seconds":1785124026,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1aef690"} 
[2026-07-27 09:18:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:18:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-07-27 09:18:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-07-27 09:18:36] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3053977677,"note":"Value kept but may cause issues"} 
[2026-07-27 09:18:36] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2712451160,"note":"Value kept but may cause issues"} 
[2026-07-27 09:18:36] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249385339296527880,"note":"Value kept but may cause issues"} 
[2026-07-27 09:18:36] local.WARNING: Large IO value detected {"io_id":161,"raw_value":2908514305,"note":"Value kept but may cause issues"} 
[2026-07-27 09:18:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-07-27 09:18:36] local.WARNING: Large IO value detected {"io_id":34,"raw_value":3221692854,"note":"Value kept but may cause issues"} 
[2026-07-27 09:18:36] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8647137906286139392,"note":"Value kept but may cause issues"} 
[2026-07-27 09:18:36] local.WARNING: Large IO value detected {"io_id":51,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-27 09:18:36] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-07-27 09:18:36] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,120,28,24,241,158,16,33,159,82,45,192,182,77,38,10,66,174,1,240,41,161,4,113,205,34,8,239,50,2,31,7,231,51,206],"length":575,"final_offset":705,"validated_count":35,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-07-27 09:18:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5548819737493897216,"timestamp_seconds":5548819737493897.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 09:18:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:18:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:18:36] local.INFO: Teltonika packet parsed successfully {"connection_id":145136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:18:36] local.INFO: Passing IMEI to GPS processor {"connection_id":145136,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:18:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":145136,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:18:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:18:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 09:18:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 09:18:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991745280001,"66":12711,"120":206,"28":31744,"24":0,"16":8762368938999808,"45":1739163542981314560},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 09:18:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 09:18:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 09:18:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991745280001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:18:36] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 09:18:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 09:18:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8762368938999808,"km_value":8762368938999.808,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:18:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981314560,"description":"Unknown IO ID 45"} 
[2026-07-27 09:18:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991745280001,"power":12711,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739163542981314560}} 
[2026-07-27 09:18:36] local.INFO: DEBUG: GPS processor result {"connection_id":145136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552257,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:18:36] local.INFO: GPS data processed {"connection_id":145136,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:18:36] local.INFO: Acknowledgment sent {"connection_id":145136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:18:38] local.INFO: TCP Data received {"connection_id":143820,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:18:38] local.INFO: Processing buffer {"connection_id":143820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:18:38] local.INFO: IMEI packet received {"connection_id":143820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 09:18:38] local.INFO: IMEI acknowledgment sent {"connection_id":143820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:18:38] local.INFO: TCP Data received {"connection_id":143820,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1ad9ae8012d7f990005afda68000c00232f..."} 
[2026-07-27 09:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1ad9ae8012d7f990005afda68000c00232f..."} 
[2026-07-27 09:18:38] local.INFO: Processing buffer {"connection_id":143820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1ad9ae8012d7f990005afda68000c00232f..."} 
[2026-07-27 09:18:38] local.INFO: Packet analysis {"connection_id":143820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1ad"} 
[2026-07-27 09:18:38] local.INFO: Extracted packet for processing {"connection_id":143820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1ad"} 
[2026-07-27 09:18:38] local.INFO: GPS Element Parsed {"raw_longitude":763336960,"raw_latitude":95410792,"longitude_deg":76.333696,"latitude_deg":9.5410792,"altitude":12,"angle":35,"satellites":47,"speed":0,"hex_longitude":"2d7f9900","hex_latitude":"05afda68","is_valid_coordinates":true} 
[2026-07-27 09:18:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:18:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991650816001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:18:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826143710707712,"note":"Value kept but may cause issues"} 
[2026-07-27 09:18:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194380138678740992,"note":"Value kept but may cause issues"} 
[2026-07-27 09:18:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:18:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785123937000,"timestamp_ms":1785123937000,"timestamp_seconds":1785123937,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1ad9ae8"} 
[2026-07-27 09:18:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:18:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:18:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-07-27 09:18:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:18:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:18:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:18:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:18:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:18:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:18:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:18:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:18:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:18:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:18:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991650816001,"66":25854,"250":206,"85":12544,"24":0,"16":358826143710707712,"45":9194380138678740992},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 09:18:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:18:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:18:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991650816001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:18:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 09:18:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:18:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826143710707712,"km_value":358826143710707.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:18:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194380138678740992,"description":"Unknown IO ID 45"} 
[2026-07-27 09:18:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991650816001,"power":25854,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194380138678740992}} 
[2026-07-27 09:18:39] local.INFO: DEBUG: GPS processor result {"connection_id":143820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:18:39] local.INFO: GPS data processed {"connection_id":143820,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:18:39] local.INFO: Acknowledgment sent {"connection_id":143820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:19:07] local.INFO: TCP Data received {"connection_id":143819,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1ad7ba8012d7d2e4005ec0c18000f012623..."} 
[2026-07-27 09:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1ad7ba8012d7d2e4005ec0c18000f012623..."} 
[2026-07-27 09:19:07] local.INFO: Processing buffer {"connection_id":143819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1ad7ba8012d7d2e4005ec0c18000f012623..."} 
[2026-07-27 09:19:07] local.INFO: Packet analysis {"connection_id":143819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1ad"} 
[2026-07-27 09:19:07] local.INFO: Extracted packet for processing {"connection_id":143819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1ad"} 
[2026-07-27 09:19:07] local.INFO: GPS Element Parsed {"raw_longitude":763178560,"raw_latitude":99355672,"longitude_deg":76.317856,"latitude_deg":9.9355672,"altitude":15,"angle":294,"satellites":35,"speed":0,"hex_longitude":"2d7d2e40","hex_latitude":"05ec0c18","is_valid_coordinates":true} 
[2026-07-27 09:19:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:19:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991648768001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:19:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111588348476260352,"note":"Value kept but may cause issues"} 
[2026-07-27 09:19:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020217497848911872,"note":"Value kept but may cause issues"} 
[2026-07-27 09:19:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:19:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785123929000,"timestamp_ms":1785123929000,"timestamp_seconds":1785123929,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1ad7ba8"} 
[2026-07-27 09:19:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:19:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:19:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-27 09:19:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:19:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:19:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:19:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:19:07] local.INFO: Teltonika packet parsed successfully {"connection_id":143819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:19:07] local.INFO: Passing IMEI to GPS processor {"connection_id":143819,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:19:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":143819,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:19:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:19:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 09:19:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 09:19:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991648768001,"66":2242,"197":206,"87":13824,"24":0,"16":111588348476260352,"45":9020217497848911872},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-07-27 09:19:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 09:19:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 09:19:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991648768001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:19:07] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-27 09:19:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 09:19:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111588348476260352,"km_value":111588348476260.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:19:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020217497848911872,"description":"Unknown IO ID 45"} 
[2026-07-27 09:19:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991648768001,"power":2242,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020217497848911872}} 
[2026-07-27 09:19:07] local.INFO: DEBUG: GPS processor result {"connection_id":143819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552259,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:19:07] local.INFO: GPS data processed {"connection_id":143819,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:19:07] local.INFO: Acknowledgment sent {"connection_id":143819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:19:08] local.INFO: TCP Data received {"connection_id":145136,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1af4898012d1822c00721b608004d015e27..."} 
[2026-07-27 09:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145136,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1af4898012d1822c00721b608004d015e27..."} 
[2026-07-27 09:19:08] local.INFO: Processing buffer {"connection_id":145136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1af4898012d1822c00721b608004d015e27..."} 
[2026-07-27 09:19:08] local.INFO: Packet analysis {"connection_id":145136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1af"} 
[2026-07-27 09:19:08] local.INFO: Extracted packet for processing {"connection_id":145136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1af"} 
[2026-07-27 09:19:08] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649800,"longitude_deg":75.655648,"latitude_deg":11.96498,"altitude":77,"angle":350,"satellites":39,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b608","is_valid_coordinates":true} 
[2026-07-27 09:19:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:19:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991750656001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:19:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8762368938999808,"note":"Value kept but may cause issues"} 
[2026-07-27 09:19:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981314560,"note":"Value kept but may cause issues"} 
[2026-07-27 09:19:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:19:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785124047000,"timestamp_ms":1785124047000,"timestamp_seconds":1785124047,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1af4898"} 
[2026-07-27 09:19:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:19:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-07-27 09:19:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:19:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:19:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:19:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:19:08] local.INFO: Teltonika packet parsed successfully {"connection_id":145136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:19:08] local.INFO: Passing IMEI to GPS processor {"connection_id":145136,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:19:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":145136,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:19:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:19:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 09:19:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 09:19:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991750656001,"66":12667,"120":206,"28":31744,"24":0,"16":8762368938999808,"45":1739163542981314560},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 09:19:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 09:19:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 09:19:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991750656001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:19:08] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 09:19:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 09:19:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8762368938999808,"km_value":8762368938999.808,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:19:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981314560,"description":"Unknown IO ID 45"} 
[2026-07-27 09:19:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991750656001,"power":12667,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739163542981314560}} 
[2026-07-27 09:19:08] local.INFO: DEBUG: GPS processor result {"connection_id":145136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552260,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:19:08] local.INFO: GPS data processed {"connection_id":145136,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:19:08] local.INFO: Acknowledgment sent {"connection_id":145136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:19:10] local.INFO: TCP Data received {"connection_id":143820,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1ad9ae8012d7f990005afda68000c00232f..."} 
[2026-07-27 09:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1ad9ae8012d7f990005afda68000c00232f..."} 
[2026-07-27 09:19:10] local.INFO: Processing buffer {"connection_id":143820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1ad9ae8012d7f990005afda68000c00232f..."} 
[2026-07-27 09:19:10] local.INFO: Packet analysis {"connection_id":143820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1ad"} 
[2026-07-27 09:19:10] local.INFO: Extracted packet for processing {"connection_id":143820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1ad"} 
[2026-07-27 09:19:10] local.INFO: GPS Element Parsed {"raw_longitude":763336960,"raw_latitude":95410792,"longitude_deg":76.333696,"latitude_deg":9.5410792,"altitude":12,"angle":35,"satellites":47,"speed":0,"hex_longitude":"2d7f9900","hex_latitude":"05afda68","is_valid_coordinates":true} 
[2026-07-27 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-07-27 09:19:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991650816001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:19:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826143710707712,"note":"Value kept but may cause issues"} 
[2026-07-27 09:19:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194380138678740992,"note":"Value kept but may cause issues"} 
[2026-07-27 09:19:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:19:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785123937000,"timestamp_ms":1785123937000,"timestamp_seconds":1785123937,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1ad9ae8"} 
[2026-07-27 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-07-27 09:19:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-07-27 09:19:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 09:19:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:19:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:19:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:19:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:19:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:19:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:19:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:19:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991650816001,"66":25854,"250":206,"85":12544,"24":0,"16":358826143710707712,"45":9194380138678740992},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 09:19:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:19:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:19:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991650816001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:19:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 09:19:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:19:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826143710707712,"km_value":358826143710707.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:19:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194380138678740992,"description":"Unknown IO ID 45"} 
[2026-07-27 09:19:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991650816001,"power":25854,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194380138678740992}} 
[2026-07-27 09:19:10] local.INFO: DEBUG: GPS processor result {"connection_id":143820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:19:10] local.INFO: GPS data processed {"connection_id":143820,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:19:10] local.INFO: Acknowledgment sent {"connection_id":143820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:19:29] local.INFO: TCP Data received {"connection_id":143821,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143821,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:19:29] local.INFO: Processing buffer {"connection_id":143821,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:19:29] local.INFO: IMEI packet received {"connection_id":143821,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 09:19:29] local.INFO: IMEI acknowledgment sent {"connection_id":143821,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:19:30] local.INFO: TCP Data received {"connection_id":143821,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143821,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:19:30] local.INFO: Processing buffer {"connection_id":143821,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:19:30] local.INFO: IMEI packet received {"connection_id":143821,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 09:19:30] local.INFO: IMEI acknowledgment sent {"connection_id":143821,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:19:30] local.INFO: TCP Data received {"connection_id":143822,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143822,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:19:30] local.INFO: Processing buffer {"connection_id":143822,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:19:30] local.INFO: IMEI packet received {"connection_id":143822,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 09:19:30] local.INFO: IMEI acknowledgment sent {"connection_id":143822,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:19:35] local.INFO: TCP Data received {"connection_id":143822,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143822,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:19:35] local.INFO: Processing buffer {"connection_id":143822,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:19:35] local.INFO: IMEI packet received {"connection_id":143822,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 09:19:35] local.INFO: IMEI acknowledgment sent {"connection_id":143822,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:19:35] local.INFO: TCP Data received {"connection_id":143821,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143821,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:19:35] local.INFO: Processing buffer {"connection_id":143821,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:19:35] local.INFO: IMEI packet received {"connection_id":143821,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 09:19:35] local.INFO: IMEI acknowledgment sent {"connection_id":143821,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:19:35] local.INFO: TCP Data received {"connection_id":143822,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1ad7ba8012d7d2e4005ec0c18000f012623..."} 
[2026-07-27 09:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1ad7ba8012d7d2e4005ec0c18000f012623..."} 
[2026-07-27 09:19:35] local.INFO: Processing buffer {"connection_id":143822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1ad7ba8012d7d2e4005ec0c18000f012623..."} 
[2026-07-27 09:19:35] local.INFO: Packet analysis {"connection_id":143822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1ad"} 
[2026-07-27 09:19:35] local.INFO: Extracted packet for processing {"connection_id":143822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1ad"} 
[2026-07-27 09:19:35] local.INFO: GPS Element Parsed {"raw_longitude":763178560,"raw_latitude":99355672,"longitude_deg":76.317856,"latitude_deg":9.9355672,"altitude":15,"angle":294,"satellites":35,"speed":0,"hex_longitude":"2d7d2e40","hex_latitude":"05ec0c18","is_valid_coordinates":true} 
[2026-07-27 09:19:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:19:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991648768001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:19:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111588348476260352,"note":"Value kept but may cause issues"} 
[2026-07-27 09:19:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020217497848911872,"note":"Value kept but may cause issues"} 
[2026-07-27 09:19:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:19:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785123929000,"timestamp_ms":1785123929000,"timestamp_seconds":1785123929,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1ad7ba8"} 
[2026-07-27 09:19:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:19:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:19:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-27 09:19:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:19:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:19:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:19:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:19:35] local.INFO: Teltonika packet parsed successfully {"connection_id":143822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:19:35] local.INFO: Passing IMEI to GPS processor {"connection_id":143822,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:19:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":143822,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:19:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:19:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 09:19:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 09:19:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991648768001,"66":2242,"197":206,"87":13824,"24":0,"16":111588348476260352,"45":9020217497848911872},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-07-27 09:19:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 09:19:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 09:19:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991648768001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:19:35] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-27 09:19:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 09:19:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111588348476260352,"km_value":111588348476260.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:19:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020217497848911872,"description":"Unknown IO ID 45"} 
[2026-07-27 09:19:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991648768001,"power":2242,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020217497848911872}} 
[2026-07-27 09:19:35] local.INFO: DEBUG: GPS processor result {"connection_id":143822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552262,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:19:35] local.INFO: GPS data processed {"connection_id":143822,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:19:35] local.INFO: Acknowledgment sent {"connection_id":143822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:19:36] local.INFO: TCP Data received {"connection_id":143821,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1af9aa0012d1822c00721b608004d015e27..."} 
[2026-07-27 09:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1af9aa0012d1822c00721b608004d015e27..."} 
[2026-07-27 09:19:36] local.INFO: Processing buffer {"connection_id":143821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1af9aa0012d1822c00721b608004d015e27..."} 
[2026-07-27 09:19:36] local.INFO: Packet analysis {"connection_id":143821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1af"} 
[2026-07-27 09:19:36] local.INFO: Extracted packet for processing {"connection_id":143821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1af"} 
[2026-07-27 09:19:36] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649800,"longitude_deg":75.655648,"latitude_deg":11.96498,"altitude":77,"angle":350,"satellites":39,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b608","is_valid_coordinates":true} 
[2026-07-27 09:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:19:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991756032001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:19:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8762368938999808,"note":"Value kept but may cause issues"} 
[2026-07-27 09:19:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981314560,"note":"Value kept but may cause issues"} 
[2026-07-27 09:19:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:19:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785124068000,"timestamp_ms":1785124068000,"timestamp_seconds":1785124068,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1af9aa0"} 
[2026-07-27 09:19:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:19:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-07-27 09:19:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:19:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:19:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:19:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:19:36] local.INFO: Teltonika packet parsed successfully {"connection_id":143821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:19:36] local.INFO: Passing IMEI to GPS processor {"connection_id":143821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:19:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":143821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:19:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:19:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 09:19:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 09:19:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991756032001,"66":12689,"120":206,"28":31744,"24":0,"16":8762368938999808,"45":1739163542981314560},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 09:19:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 09:19:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 09:19:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991756032001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:19:36] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 09:19:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 09:19:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8762368938999808,"km_value":8762368938999.808,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:19:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981314560,"description":"Unknown IO ID 45"} 
[2026-07-27 09:19:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991756032001,"power":12689,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739163542981314560}} 
[2026-07-27 09:19:36] local.INFO: DEBUG: GPS processor result {"connection_id":143821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552263,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:19:36] local.INFO: GPS data processed {"connection_id":143821,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:19:36] local.INFO: Acknowledgment sent {"connection_id":143821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:19:38] local.INFO: TCP Data received {"connection_id":145138,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:19:38] local.INFO: Processing buffer {"connection_id":145138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:19:38] local.INFO: IMEI packet received {"connection_id":145138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 09:19:38] local.INFO: IMEI acknowledgment sent {"connection_id":145138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:19:43] local.INFO: TCP Data received {"connection_id":145138,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:19:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:19:43] local.INFO: Processing buffer {"connection_id":145138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:19:43] local.INFO: IMEI packet received {"connection_id":145138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 09:19:43] local.INFO: IMEI acknowledgment sent {"connection_id":145138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:19:43] local.INFO: TCP Data received {"connection_id":145138,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1ad9ae8012d7f990005afda68000c00232f..."} 
[2026-07-27 09:19:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145138,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1ad9ae8012d7f990005afda68000c00232f..."} 
[2026-07-27 09:19:43] local.INFO: Processing buffer {"connection_id":145138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1ad9ae8012d7f990005afda68000c00232f..."} 
[2026-07-27 09:19:43] local.INFO: Packet analysis {"connection_id":145138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1ad"} 
[2026-07-27 09:19:43] local.INFO: Extracted packet for processing {"connection_id":145138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1ad"} 
[2026-07-27 09:19:43] local.INFO: GPS Element Parsed {"raw_longitude":763336960,"raw_latitude":95410792,"longitude_deg":76.333696,"latitude_deg":9.5410792,"altitude":12,"angle":35,"satellites":47,"speed":0,"hex_longitude":"2d7f9900","hex_latitude":"05afda68","is_valid_coordinates":true} 
[2026-07-27 09:19:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:19:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991650816001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:19:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826143710707712,"note":"Value kept but may cause issues"} 
[2026-07-27 09:19:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194380138678740992,"note":"Value kept but may cause issues"} 
[2026-07-27 09:19:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:19:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785123937000,"timestamp_ms":1785123937000,"timestamp_seconds":1785123937,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1ad9ae8"} 
[2026-07-27 09:19:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:19:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:19:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-07-27 09:19:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:19:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:19:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:19:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:19:43] local.INFO: Teltonika packet parsed successfully {"connection_id":145138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:19:43] local.INFO: Passing IMEI to GPS processor {"connection_id":145138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:19:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":145138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:19:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:19:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:19:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:19:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991650816001,"66":25854,"250":206,"85":12544,"24":0,"16":358826143710707712,"45":9194380138678740992},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 09:19:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:19:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:19:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991650816001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:19:43] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 09:19:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:19:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826143710707712,"km_value":358826143710707.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:19:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194380138678740992,"description":"Unknown IO ID 45"} 
[2026-07-27 09:19:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991650816001,"power":25854,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194380138678740992}} 
[2026-07-27 09:19:43] local.INFO: DEBUG: GPS processor result {"connection_id":145138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:19:43] local.INFO: GPS data processed {"connection_id":145138,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:19:43] local.INFO: Acknowledgment sent {"connection_id":145138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:20:07] local.INFO: TCP Data received {"connection_id":143822,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1ad7ba8012d7d2e4005ec0c18000f012623..."} 
[2026-07-27 09:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1ad7ba8012d7d2e4005ec0c18000f012623..."} 
[2026-07-27 09:20:07] local.INFO: Processing buffer {"connection_id":143822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1ad7ba8012d7d2e4005ec0c18000f012623..."} 
[2026-07-27 09:20:07] local.INFO: Packet analysis {"connection_id":143822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1ad"} 
[2026-07-27 09:20:07] local.INFO: Extracted packet for processing {"connection_id":143822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1ad"} 
[2026-07-27 09:20:07] local.INFO: GPS Element Parsed {"raw_longitude":763178560,"raw_latitude":99355672,"longitude_deg":76.317856,"latitude_deg":9.9355672,"altitude":15,"angle":294,"satellites":35,"speed":0,"hex_longitude":"2d7d2e40","hex_latitude":"05ec0c18","is_valid_coordinates":true} 
[2026-07-27 09:20:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:20:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991648768001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:20:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111588348476260352,"note":"Value kept but may cause issues"} 
[2026-07-27 09:20:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020217497848911872,"note":"Value kept but may cause issues"} 
[2026-07-27 09:20:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:20:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785123929000,"timestamp_ms":1785123929000,"timestamp_seconds":1785123929,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1ad7ba8"} 
[2026-07-27 09:20:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:20:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:20:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-27 09:20:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:20:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:20:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:20:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:20:07] local.INFO: Teltonika packet parsed successfully {"connection_id":143822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:20:07] local.INFO: Passing IMEI to GPS processor {"connection_id":143822,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:20:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":143822,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:20:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:20:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 09:20:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 09:20:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991648768001,"66":2242,"197":206,"87":13824,"24":0,"16":111588348476260352,"45":9020217497848911872},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-07-27 09:20:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 09:20:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 09:20:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991648768001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:20:07] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-27 09:20:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 09:20:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111588348476260352,"km_value":111588348476260.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:20:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020217497848911872,"description":"Unknown IO ID 45"} 
[2026-07-27 09:20:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991648768001,"power":2242,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020217497848911872}} 
[2026-07-27 09:20:07] local.INFO: DEBUG: GPS processor result {"connection_id":143822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552265,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:20:07] local.INFO: GPS data processed {"connection_id":143822,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:20:07] local.INFO: Acknowledgment sent {"connection_id":143822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:20:08] local.INFO: TCP Data received {"connection_id":143821,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1afeca8012d1822c00721b608004d015e27..."} 
[2026-07-27 09:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1afeca8012d1822c00721b608004d015e27..."} 
[2026-07-27 09:20:08] local.INFO: Processing buffer {"connection_id":143821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1afeca8012d1822c00721b608004d015e27..."} 
[2026-07-27 09:20:08] local.INFO: Packet analysis {"connection_id":143821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1af"} 
[2026-07-27 09:20:08] local.INFO: Extracted packet for processing {"connection_id":143821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1af"} 
[2026-07-27 09:20:08] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649800,"longitude_deg":75.655648,"latitude_deg":11.96498,"altitude":77,"angle":350,"satellites":39,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b608","is_valid_coordinates":true} 
[2026-07-27 09:20:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:20:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991761408001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:20:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8762368938999808,"note":"Value kept but may cause issues"} 
[2026-07-27 09:20:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981314560,"note":"Value kept but may cause issues"} 
[2026-07-27 09:20:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:20:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785124089000,"timestamp_ms":1785124089000,"timestamp_seconds":1785124089,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1afeca8"} 
[2026-07-27 09:20:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:20:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-27 09:20: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-07-27 09:20:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:20:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:20:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:20:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:20:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:20:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:20:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:20:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 09:20:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 09:20:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991761408001,"66":12711,"120":206,"28":31744,"24":0,"16":8762368938999808,"45":1739163542981314560},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 09:20:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 09:20:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 09:20:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991761408001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:20:08] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 09:20:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 09:20:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8762368938999808,"km_value":8762368938999.808,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:20:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981314560,"description":"Unknown IO ID 45"} 
[2026-07-27 09:20:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991761408001,"power":12711,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739163542981314560}} 
[2026-07-27 09:20:08] local.INFO: DEBUG: GPS processor result {"connection_id":143821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552266,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:20:08] local.INFO: GPS data processed {"connection_id":143821,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:20:08] local.INFO: Acknowledgment sent {"connection_id":143821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:20:15] local.INFO: TCP Data received {"connection_id":145138,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1b12cf8012d7f990005afda68000a00232f..."} 
[2026-07-27 09:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145138,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1b12cf8012d7f990005afda68000a00232f..."} 
[2026-07-27 09:20:15] local.INFO: Processing buffer {"connection_id":145138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1b12cf8012d7f990005afda68000a00232f..."} 
[2026-07-27 09:20:15] local.INFO: Packet analysis {"connection_id":145138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1b1"} 
[2026-07-27 09:20:15] local.INFO: Extracted packet for processing {"connection_id":145138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1b1"} 
[2026-07-27 09:20:15] local.INFO: GPS Element Parsed {"raw_longitude":763336960,"raw_latitude":95410792,"longitude_deg":76.333696,"latitude_deg":9.5410792,"altitude":10,"angle":35,"satellites":47,"speed":0,"hex_longitude":"2d7f9900","hex_latitude":"05afda68","is_valid_coordinates":true} 
[2026-07-27 09:20:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:20:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991727872001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:20:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826143710707712,"note":"Value kept but may cause issues"} 
[2026-07-27 09:20:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194380138678740992,"note":"Value kept but may cause issues"} 
[2026-07-27 09:20:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:20:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785124171000,"timestamp_ms":1785124171000,"timestamp_seconds":1785124171,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1b12cf8"} 
[2026-07-27 09:20:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:20:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:20:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-27 09:20:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:20:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:20:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:20:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:20:15] local.INFO: Teltonika packet parsed successfully {"connection_id":145138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:20:15] local.INFO: Passing IMEI to GPS processor {"connection_id":145138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:20:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":145138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:20: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-07-27 09:20:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:20:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:20:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991727872001,"66":25647,"250":206,"85":12544,"24":0,"16":358826143710707712,"45":9194380138678740992},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 09:20:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:20:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:20:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991727872001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:20:15] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 09:20:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:20:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826143710707712,"km_value":358826143710707.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:20:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194380138678740992,"description":"Unknown IO ID 45"} 
[2026-07-27 09:20:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991727872001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194380138678740992}} 
[2026-07-27 09:20:15] local.INFO: DEBUG: GPS processor result {"connection_id":145138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:20:15] local.INFO: GPS data processed {"connection_id":145138,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:20:15] local.INFO: Acknowledgment sent {"connection_id":145138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:20:30] local.INFO: TCP Data received {"connection_id":142706,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142706,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:20:30] local.INFO: Processing buffer {"connection_id":142706,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:20:30] local.INFO: IMEI packet received {"connection_id":142706,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 09:20:30] local.INFO: IMEI acknowledgment sent {"connection_id":142706,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:20:30] local.INFO: TCP Data received {"connection_id":143823,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143823,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:20:30] local.INFO: Processing buffer {"connection_id":143823,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:20:30] local.INFO: IMEI packet received {"connection_id":143823,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 09:20:30] local.INFO: IMEI acknowledgment sent {"connection_id":143823,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:20:32] local.INFO: TCP Data received {"connection_id":143823,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143823,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:20:32] local.INFO: Processing buffer {"connection_id":143823,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:20:32] local.INFO: IMEI packet received {"connection_id":143823,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 09:20:32] local.INFO: IMEI acknowledgment sent {"connection_id":143823,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:20:32] local.INFO: TCP Data received {"connection_id":142706,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142706,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:20:32] local.INFO: Processing buffer {"connection_id":142706,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:20:32] local.INFO: IMEI packet received {"connection_id":142706,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 09:20:32] local.INFO: IMEI acknowledgment sent {"connection_id":142706,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:20:33] local.INFO: TCP Data received {"connection_id":142707,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:20:33] local.INFO: Processing buffer {"connection_id":142707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:20:33] local.INFO: IMEI packet received {"connection_id":142707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 09:20:33] local.INFO: IMEI acknowledgment sent {"connection_id":142707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:20:34] local.INFO: TCP Data received {"connection_id":142707,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:20:34] local.INFO: Processing buffer {"connection_id":142707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:20:34] local.INFO: IMEI packet received {"connection_id":142707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 09:20:34] local.INFO: IMEI acknowledgment sent {"connection_id":142707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:20:35] local.INFO: TCP Data received {"connection_id":142706,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142706,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:20:35] local.INFO: Processing buffer {"connection_id":142706,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:20:35] local.INFO: IMEI packet received {"connection_id":142706,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 09:20:35] local.INFO: IMEI acknowledgment sent {"connection_id":142706,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:20:35] local.INFO: TCP Data received {"connection_id":143823,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143823,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:20:35] local.INFO: Processing buffer {"connection_id":143823,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:20:35] local.INFO: IMEI packet received {"connection_id":143823,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 09:20:35] local.INFO: IMEI acknowledgment sent {"connection_id":143823,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:20:36] local.INFO: TCP Data received {"connection_id":143823,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1b21370012d7d2e4005ec0c18000f012626..."} 
[2026-07-27 09:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143823,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1b21370012d7d2e4005ec0c18000f012626..."} 
[2026-07-27 09:20:36] local.INFO: Processing buffer {"connection_id":143823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1b21370012d7d2e4005ec0c18000f012626..."} 
[2026-07-27 09:20:36] local.INFO: Packet analysis {"connection_id":143823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1b2"} 
[2026-07-27 09:20:36] local.INFO: Extracted packet for processing {"connection_id":143823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1b2"} 
[2026-07-27 09:20:36] local.INFO: GPS Element Parsed {"raw_longitude":763178560,"raw_latitude":99355672,"longitude_deg":76.317856,"latitude_deg":9.9355672,"altitude":15,"angle":294,"satellites":38,"speed":0,"hex_longitude":"2d7d2e40","hex_latitude":"05ec0c18","is_valid_coordinates":true} 
[2026-07-27 09:20:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:20:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991725824001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:20:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111588348476260352,"note":"Value kept but may cause issues"} 
[2026-07-27 09:20:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020217497848911872,"note":"Value kept but may cause issues"} 
[2026-07-27 09:20:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:20:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785124230000,"timestamp_ms":1785124230000,"timestamp_seconds":1785124230,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1b21370"} 
[2026-07-27 09:20:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:20:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:20:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-27 09:20:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:20:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:20:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:20:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:20:36] local.INFO: Teltonika packet parsed successfully {"connection_id":143823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:20:36] local.INFO: Passing IMEI to GPS processor {"connection_id":143823,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:20:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":143823,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:20:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:20:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 09:20:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 09:20:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991725824001,"66":2220,"197":206,"87":13824,"24":0,"16":111588348476260352,"45":9020217497848911872},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-07-27 09:20:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 09:20:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 09:20:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991725824001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:20:36] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-27 09:20:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 09:20:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111588348476260352,"km_value":111588348476260.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:20:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020217497848911872,"description":"Unknown IO ID 45"} 
[2026-07-27 09:20:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991725824001,"power":2220,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020217497848911872}} 
[2026-07-27 09:20:36] local.INFO: DEBUG: GPS processor result {"connection_id":143823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552268,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:20:36] local.INFO: GPS data processed {"connection_id":143823,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:20:36] local.INFO: Acknowledgment sent {"connection_id":143823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:20:36] local.INFO: TCP Data received {"connection_id":142706,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1b03eb0012d1822c00721b608004d015e27..."} 
[2026-07-27 09:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1b03eb0012d1822c00721b608004d015e27..."} 
[2026-07-27 09:20:36] local.INFO: Processing buffer {"connection_id":142706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1b03eb0012d1822c00721b608004d015e27..."} 
[2026-07-27 09:20:36] local.INFO: Packet analysis {"connection_id":142706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1b0"} 
[2026-07-27 09:20:36] local.INFO: Extracted packet for processing {"connection_id":142706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1b0"} 
[2026-07-27 09:20:36] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649800,"longitude_deg":75.655648,"latitude_deg":11.96498,"altitude":77,"angle":350,"satellites":39,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b608","is_valid_coordinates":true} 
[2026-07-27 09:20:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:20:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991766784001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:20:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8762368938999808,"note":"Value kept but may cause issues"} 
[2026-07-27 09:20:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981314560,"note":"Value kept but may cause issues"} 
[2026-07-27 09:20:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:20:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785124110000,"timestamp_ms":1785124110000,"timestamp_seconds":1785124110,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1b03eb0"} 
[2026-07-27 09:20:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:20:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09:20:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-07-27 09:20:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:20:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:20:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:20:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:20:36] local.INFO: Teltonika packet parsed successfully {"connection_id":142706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:20:36] local.INFO: Passing IMEI to GPS processor {"connection_id":142706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:20:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":142706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:20:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:20:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 09:20:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 09:20:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991766784001,"66":12689,"120":206,"28":31744,"24":0,"16":8762368938999808,"45":1739163542981314560},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 09:20:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 09:20:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 09:20:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991766784001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:20:36] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 09:20:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 09:20:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8762368938999808,"km_value":8762368938999.808,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:20:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981314560,"description":"Unknown IO ID 45"} 
[2026-07-27 09:20:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991766784001,"power":12689,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739163542981314560}} 
[2026-07-27 09:20:36] local.INFO: DEBUG: GPS processor result {"connection_id":142706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552269,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:20:36] local.INFO: GPS data processed {"connection_id":142706,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:20:36] local.INFO: Acknowledgment sent {"connection_id":142706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:20:38] local.INFO: TCP Data received {"connection_id":142707,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:20:38] local.INFO: Processing buffer {"connection_id":142707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:20:38] local.INFO: IMEI packet received {"connection_id":142707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 09:20:38] local.INFO: IMEI acknowledgment sent {"connection_id":142707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:20:38] local.INFO: TCP Data received {"connection_id":142707,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1b13c98012d7f9cc005afd9a0000a004f2d..."} 
[2026-07-27 09:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1b13c98012d7f9cc005afd9a0000a004f2d..."} 
[2026-07-27 09:20:38] local.INFO: Processing buffer {"connection_id":142707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1b13c98012d7f9cc005afd9a0000a004f2d..."} 
[2026-07-27 09:20:38] local.INFO: Packet analysis {"connection_id":142707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1b1"} 
[2026-07-27 09:20:38] local.INFO: Extracted packet for processing {"connection_id":142707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1b1"} 
[2026-07-27 09:20:38] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95410592,"longitude_deg":76.333792,"latitude_deg":9.5410592,"altitude":10,"angle":79,"satellites":45,"speed":0,"hex_longitude":"2d7f9cc0","hex_latitude":"05afd9a0","is_valid_coordinates":true} 
[2026-07-27 09:20:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:20:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991787776001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:20:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826148005675008,"note":"Value kept but may cause issues"} 
[2026-07-27 09:20:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194380138678740992,"note":"Value kept but may cause issues"} 
[2026-07-27 09:20:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:20:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785124175000,"timestamp_ms":1785124175000,"timestamp_seconds":1785124175,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1b13c98"} 
[2026-07-27 09:20:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:20:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09:20:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-27 09:20:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:20:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:20:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:20:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:20:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:20:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:20:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:20:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:20:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:20:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:20:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991787776001,"66":27843,"250":206,"85":12544,"24":0,"16":358826148005675008,"45":9194380138678740992},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 09:20:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:20:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:20:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991787776001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:20:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 09:20:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:20:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826148005675008,"km_value":358826148005675.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:20:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194380138678740992,"description":"Unknown IO ID 45"} 
[2026-07-27 09:20:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991787776001,"power":27843,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194380138678740992}} 
[2026-07-27 09:20:38] local.INFO: DEBUG: GPS processor result {"connection_id":142707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:20:38] local.INFO: GPS data processed {"connection_id":142707,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:20:38] local.INFO: Acknowledgment sent {"connection_id":142707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:20:43] local.INFO: TCP Data received {"connection_id":142707,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1b18ea0012d7f9cc005afd9b8000c004f2d..."} 
[2026-07-27 09:20:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1b18ea0012d7f9cc005afd9b8000c004f2d..."} 
[2026-07-27 09:20:43] local.INFO: Processing buffer {"connection_id":142707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1b18ea0012d7f9cc005afd9b8000c004f2d..."} 
[2026-07-27 09:20:43] local.INFO: Packet analysis {"connection_id":142707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1b1"} 
[2026-07-27 09:20:43] local.INFO: Extracted packet for processing {"connection_id":142707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1b1"} 
[2026-07-27 09:20:43] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95410616,"longitude_deg":76.333792,"latitude_deg":9.5410616,"altitude":12,"angle":79,"satellites":45,"speed":0,"hex_longitude":"2d7f9cc0","hex_latitude":"05afd9b8","is_valid_coordinates":true} 
[2026-07-27 09:20:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:20:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991788800001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:20:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826156595609600,"note":"Value kept but may cause issues"} 
[2026-07-27 09:20:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195435669841354752,"note":"Value kept but may cause issues"} 
[2026-07-27 09:20:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:20:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785124196000,"timestamp_ms":1785124196000,"timestamp_seconds":1785124196,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1b18ea0"} 
[2026-07-27 09:20:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:20:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09:20:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-27 09:20:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:20:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:20:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:20:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:20:43] local.INFO: Teltonika packet parsed successfully {"connection_id":142707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:20:43] local.INFO: Passing IMEI to GPS processor {"connection_id":142707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:20:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":142707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:20:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:20:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:20:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:20:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991788800001,"66":27995,"250":206,"85":12544,"24":0,"16":358826156595609600,"45":9195435669841354752},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 09:20:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:20:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:20:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991788800001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:20:43] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 09:20:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:20:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826156595609600,"km_value":358826156595609.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:20:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195435669841354752,"description":"Unknown IO ID 45"} 
[2026-07-27 09:20:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991788800001,"power":27995,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195435669841354752}} 
[2026-07-27 09:20:43] local.INFO: DEBUG: GPS processor result {"connection_id":142707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:20:43] local.INFO: GPS data processed {"connection_id":142707,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:20:43] local.INFO: Acknowledgment sent {"connection_id":142707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:21:00] local.INFO: TCP Data received {"connection_id":142832,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142832,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:21:00] local.INFO: Processing buffer {"connection_id":142832,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:21:00] local.INFO: IMEI packet received {"connection_id":142832,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 09:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":142832,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:21:01] local.INFO: TCP Data received {"connection_id":142832,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1b25da8012d0a7e4007047ae8001900b11f..."} 
[2026-07-27 09:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142832,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1b25da8012d0a7e4007047ae8001900b11f..."} 
[2026-07-27 09:21:01] local.INFO: Processing buffer {"connection_id":142832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1b25da8012d0a7e4007047ae8001900b11f..."} 
[2026-07-27 09:21:01] local.INFO: Packet analysis {"connection_id":142832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1b2"} 
[2026-07-27 09:21:01] local.INFO: Extracted packet for processing {"connection_id":142832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1b2"} 
[2026-07-27 09:21:01] local.INFO: GPS Element Parsed {"raw_longitude":755662400,"raw_latitude":117734120,"longitude_deg":75.56624,"latitude_deg":11.773412,"altitude":25,"angle":177,"satellites":31,"speed":27,"hex_longitude":"2d0a7e40","hex_latitude":"07047ae8","is_valid_coordinates":true} 
[2026-07-27 09:21:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:21:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991805952001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:21:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25841323571412992,"note":"Value kept but may cause issues"} 
[2026-07-27 09:21:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":756675136283793408,"note":"Value kept but may cause issues"} 
[2026-07-27 09:21:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:21:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785124249000,"timestamp_ms":1785124249000,"timestamp_seconds":1785124249,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1b25da8"} 
[2026-07-27 09:21:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:21:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09:21:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-27 09:21:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2534,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:21:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:21:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:21:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:21:01] local.INFO: Teltonika packet parsed successfully {"connection_id":142832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:21:01] local.INFO: Passing IMEI to GPS processor {"connection_id":142832,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:21:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":142832,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:21:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:21:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 09:21:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 09:21:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991805952001,"66":14265,"177":206,"94":10240,"24":27,"16":25841323571412992,"45":756675136283793408},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-07-27 09:21:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 09:21:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 09:21:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991805952001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:21:01] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-27 09:21:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 09:21:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25841323571412992,"km_value":25841323571412.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:21:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":756675136283793408,"description":"Unknown IO ID 45"} 
[2026-07-27 09:21:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991805952001,"power":14265,"unknown_177":206,"unknown_94":10240,"ignition":27,"odometer":null,"unknown_45":756675136283793408}} 
[2026-07-27 09:21:01] local.INFO: DEBUG: GPS processor result {"connection_id":142832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552272,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:21:01] local.INFO: GPS data processed {"connection_id":142832,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:21:01] local.INFO: Acknowledgment sent {"connection_id":142832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:21:07] local.INFO: TCP Data received {"connection_id":143823,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1b21370012d7d2e4005ec0c18000f012626..."} 
[2026-07-27 09:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143823,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1b21370012d7d2e4005ec0c18000f012626..."} 
[2026-07-27 09:21:07] local.INFO: Processing buffer {"connection_id":143823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1b21370012d7d2e4005ec0c18000f012626..."} 
[2026-07-27 09:21:07] local.INFO: Packet analysis {"connection_id":143823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1b2"} 
[2026-07-27 09:21:07] local.INFO: Extracted packet for processing {"connection_id":143823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1b2"} 
[2026-07-27 09:21:07] local.INFO: GPS Element Parsed {"raw_longitude":763178560,"raw_latitude":99355672,"longitude_deg":76.317856,"latitude_deg":9.9355672,"altitude":15,"angle":294,"satellites":38,"speed":0,"hex_longitude":"2d7d2e40","hex_latitude":"05ec0c18","is_valid_coordinates":true} 
[2026-07-27 09:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:21:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991725824001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:21:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111588348476260352,"note":"Value kept but may cause issues"} 
[2026-07-27 09:21:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020217497848911872,"note":"Value kept but may cause issues"} 
[2026-07-27 09:21:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:21:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785124230000,"timestamp_ms":1785124230000,"timestamp_seconds":1785124230,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1b21370"} 
[2026-07-27 09:21:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:21:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-27 09:21:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:21:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:21:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:21:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:21:07] local.INFO: Teltonika packet parsed successfully {"connection_id":143823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:21:07] local.INFO: Passing IMEI to GPS processor {"connection_id":143823,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:21:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":143823,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:21:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:21:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 09:21:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 09:21:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991725824001,"66":2220,"197":206,"87":13824,"24":0,"16":111588348476260352,"45":9020217497848911872},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-07-27 09:21:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 09:21:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 09:21:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991725824001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:21:07] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-27 09:21:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 09:21:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111588348476260352,"km_value":111588348476260.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:21:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020217497848911872,"description":"Unknown IO ID 45"} 
[2026-07-27 09:21:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991725824001,"power":2220,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020217497848911872}} 
[2026-07-27 09:21:07] local.INFO: DEBUG: GPS processor result {"connection_id":143823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552273,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:21:07] local.INFO: GPS data processed {"connection_id":143823,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:21:07] local.INFO: Acknowledgment sent {"connection_id":143823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:21:08] local.INFO: TCP Data received {"connection_id":142706,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1b090b8012d1822c00721b608004d015e26..."} 
[2026-07-27 09:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1b090b8012d1822c00721b608004d015e26..."} 
[2026-07-27 09:21:08] local.INFO: Processing buffer {"connection_id":142706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1b090b8012d1822c00721b608004d015e26..."} 
[2026-07-27 09:21:08] local.INFO: Packet analysis {"connection_id":142706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1b0"} 
[2026-07-27 09:21:08] local.INFO: Extracted packet for processing {"connection_id":142706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1b0"} 
[2026-07-27 09:21:08] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649800,"longitude_deg":75.655648,"latitude_deg":11.96498,"altitude":77,"angle":350,"satellites":38,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b608","is_valid_coordinates":true} 
[2026-07-27 09:21:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:21:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991772160001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:21:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8762368938999808,"note":"Value kept but may cause issues"} 
[2026-07-27 09:21:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981314560,"note":"Value kept but may cause issues"} 
[2026-07-27 09:21:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:21:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785124131000,"timestamp_ms":1785124131000,"timestamp_seconds":1785124131,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1b090b8"} 
[2026-07-27 09:21:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:21:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-27 09:21: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-07-27 09:21:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:21:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:21:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:21:08] local.INFO: Teltonika packet parsed successfully {"connection_id":142706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:21:08] local.INFO: Passing IMEI to GPS processor {"connection_id":142706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:21:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":142706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:21:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:21:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 09:21:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 09:21:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991772160001,"66":12406,"120":206,"28":31744,"24":0,"16":8762368938999808,"45":1739163542981314560},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 09:21:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 09:21:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 09:21:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991772160001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:21:08] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 09:21:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 09:21:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8762368938999808,"km_value":8762368938999.808,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:21:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981314560,"description":"Unknown IO ID 45"} 
[2026-07-27 09:21:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991772160001,"power":12406,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739163542981314560}} 
[2026-07-27 09:21:08] local.INFO: DEBUG: GPS processor result {"connection_id":142706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552274,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:21:08] local.INFO: GPS data processed {"connection_id":142706,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:21:08] local.INFO: Acknowledgment sent {"connection_id":142706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:21:14] local.INFO: TCP Data received {"connection_id":142707,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1b1e490012d7f9b4005afd968000e00f42e..."} 
[2026-07-27 09:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1b1e490012d7f9b4005afd968000e00f42e..."} 
[2026-07-27 09:21:14] local.INFO: Processing buffer {"connection_id":142707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1b1e490012d7f9b4005afd968000e00f42e..."} 
[2026-07-27 09:21:14] local.INFO: Packet analysis {"connection_id":142707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1b1"} 
[2026-07-27 09:21:14] local.INFO: Extracted packet for processing {"connection_id":142707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1b1"} 
[2026-07-27 09:21:14] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95410536,"longitude_deg":76.3337536,"latitude_deg":9.5410536,"altitude":14,"angle":244,"satellites":46,"speed":6,"hex_longitude":"2d7f9b40","hex_latitude":"05afd968","is_valid_coordinates":true} 
[2026-07-27 09:21:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:21:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991794176001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:21:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826178070446080,"note":"Value kept but may cause issues"} 
[2026-07-27 09:21:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195435669841360896,"note":"Value kept but may cause issues"} 
[2026-07-27 09:21:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:21:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785124218000,"timestamp_ms":1785124218000,"timestamp_seconds":1785124218,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1b1e490"} 
[2026-07-27 09:21:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:21:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09:21:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-27 09:21:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:21:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:21:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:21:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:21:14] local.INFO: Teltonika packet parsed successfully {"connection_id":142707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:21:14] local.INFO: Passing IMEI to GPS processor {"connection_id":142707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:21:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":142707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:21:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:21:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:21:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:21:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991794176001,"66":27800,"250":206,"85":12544,"24":6,"16":358826178070446080,"45":9195435669841360896},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 09:21:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:21:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:21:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991794176001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:21:14] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 09:21:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:21:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826178070446080,"km_value":358826178070446.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:21:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195435669841360896,"description":"Unknown IO ID 45"} 
[2026-07-27 09:21:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991794176001,"power":27800,"unknown_250":206,"unknown_85":12544,"ignition":6,"odometer":null,"unknown_45":9195435669841360896}} 
[2026-07-27 09:21:14] local.INFO: DEBUG: GPS processor result {"connection_id":142707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:21:14] local.INFO: GPS data processed {"connection_id":142707,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:21:14] local.INFO: Acknowledgment sent {"connection_id":142707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:21:30] local.INFO: TCP Data received {"connection_id":142708,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142708,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:21:30] local.INFO: Processing buffer {"connection_id":142708,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:21:30] local.INFO: IMEI packet received {"connection_id":142708,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 09:21:30] local.INFO: IMEI acknowledgment sent {"connection_id":142708,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:21:30] local.INFO: TCP Data received {"connection_id":143824,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143824,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:21:30] local.INFO: Processing buffer {"connection_id":143824,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:21:30] local.INFO: IMEI packet received {"connection_id":143824,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 09:21:30] local.INFO: IMEI acknowledgment sent {"connection_id":143824,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:21:33] local.INFO: TCP Data received {"connection_id":143825,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:21:33] local.INFO: Processing buffer {"connection_id":143825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:21:33] local.INFO: IMEI packet received {"connection_id":143825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 09:21:33] local.INFO: IMEI acknowledgment sent {"connection_id":143825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:21:35] local.INFO: TCP Data received {"connection_id":143824,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143824,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:21:35] local.INFO: Processing buffer {"connection_id":143824,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:21:35] local.INFO: IMEI packet received {"connection_id":143824,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 09:21:35] local.INFO: IMEI acknowledgment sent {"connection_id":143824,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:21:35] local.INFO: TCP Data received {"connection_id":142708,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142708,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:21:35] local.INFO: Processing buffer {"connection_id":142708,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:21:35] local.INFO: IMEI packet received {"connection_id":142708,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 09:21:35] local.INFO: IMEI acknowledgment sent {"connection_id":142708,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:21:36] local.INFO: TCP Data received {"connection_id":143824,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1b21370012d7d2e4005ec0c18000f012626..."} 
[2026-07-27 09:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1b21370012d7d2e4005ec0c18000f012626..."} 
[2026-07-27 09:21:36] local.INFO: Processing buffer {"connection_id":143824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1b21370012d7d2e4005ec0c18000f012626..."} 
[2026-07-27 09:21:36] local.INFO: Packet analysis {"connection_id":143824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1b2"} 
[2026-07-27 09:21:36] local.INFO: Extracted packet for processing {"connection_id":143824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1b2"} 
[2026-07-27 09:21:36] local.INFO: GPS Element Parsed {"raw_longitude":763178560,"raw_latitude":99355672,"longitude_deg":76.317856,"latitude_deg":9.9355672,"altitude":15,"angle":294,"satellites":38,"speed":0,"hex_longitude":"2d7d2e40","hex_latitude":"05ec0c18","is_valid_coordinates":true} 
[2026-07-27 09:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:21:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991725824001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:21:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111588348476260352,"note":"Value kept but may cause issues"} 
[2026-07-27 09:21:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020217497848911872,"note":"Value kept but may cause issues"} 
[2026-07-27 09:21:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:21:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785124230000,"timestamp_ms":1785124230000,"timestamp_seconds":1785124230,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1b21370"} 
[2026-07-27 09:21:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:21:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-27 09:21:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:21:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:21:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:21:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:21:36] local.INFO: Teltonika packet parsed successfully {"connection_id":143824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:21:36] local.INFO: Passing IMEI to GPS processor {"connection_id":143824,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:21:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":143824,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:21:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:21:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 09:21:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 09:21:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991725824001,"66":2220,"197":206,"87":13824,"24":0,"16":111588348476260352,"45":9020217497848911872},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-07-27 09:21:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 09:21:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 09:21:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991725824001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:21:36] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-27 09:21:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 09:21:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111588348476260352,"km_value":111588348476260.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:21:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020217497848911872,"description":"Unknown IO ID 45"} 
[2026-07-27 09:21:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991725824001,"power":2220,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020217497848911872}} 
[2026-07-27 09:21:36] local.INFO: DEBUG: GPS processor result {"connection_id":143824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552276,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:21:36] local.INFO: GPS data processed {"connection_id":143824,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:21:36] local.INFO: Acknowledgment sent {"connection_id":143824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:21:37] local.INFO: TCP Data received {"connection_id":142708,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1b0e2c0012d1822c00721b608004d015e27..."} 
[2026-07-27 09:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1b0e2c0012d1822c00721b608004d015e27..."} 
[2026-07-27 09:21:37] local.INFO: Processing buffer {"connection_id":142708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1b0e2c0012d1822c00721b608004d015e27..."} 
[2026-07-27 09:21:37] local.INFO: Packet analysis {"connection_id":142708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1b0"} 
[2026-07-27 09:21:37] local.INFO: Extracted packet for processing {"connection_id":142708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1b0"} 
[2026-07-27 09:21:37] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649800,"longitude_deg":75.655648,"latitude_deg":11.96498,"altitude":77,"angle":350,"satellites":39,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b608","is_valid_coordinates":true} 
[2026-07-27 09:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:21:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991777536001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:21:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8762368938999808,"note":"Value kept but may cause issues"} 
[2026-07-27 09:21:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981314560,"note":"Value kept but may cause issues"} 
[2026-07-27 09:21:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:21:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785124152000,"timestamp_ms":1785124152000,"timestamp_seconds":1785124152,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1b0e2c0"} 
[2026-07-27 09:21:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:21:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 09:21:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:21:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:21:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:21:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:21:37] local.INFO: Teltonika packet parsed successfully {"connection_id":142708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:21:37] local.INFO: Passing IMEI to GPS processor {"connection_id":142708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:21:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":142708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:21:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:21:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 09:21:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 09:21:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991777536001,"66":12591,"120":206,"28":31744,"24":0,"16":8762368938999808,"45":1739163542981314560},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 09:21:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 09:21:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 09:21:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991777536001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:21:37] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 09:21:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 09:21:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8762368938999808,"km_value":8762368938999.808,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:21:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981314560,"description":"Unknown IO ID 45"} 
[2026-07-27 09:21:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991777536001,"power":12591,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739163542981314560}} 
[2026-07-27 09:21:37] local.INFO: DEBUG: GPS processor result {"connection_id":142708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552277,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:21:37] local.INFO: GPS data processed {"connection_id":142708,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:21:37] local.INFO: Acknowledgment sent {"connection_id":142708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:21:38] local.INFO: TCP Data received {"connection_id":143825,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:21:38] local.INFO: Processing buffer {"connection_id":143825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:21:38] local.INFO: IMEI packet received {"connection_id":143825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 09:21:38] local.INFO: IMEI acknowledgment sent {"connection_id":143825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:21:38] local.INFO: TCP Data received {"connection_id":143825,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1b1e490012d7f9b4005afd968000e00f42e..."} 
[2026-07-27 09:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143825,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1b1e490012d7f9b4005afd968000e00f42e..."} 
[2026-07-27 09:21:38] local.INFO: Processing buffer {"connection_id":143825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1b1e490012d7f9b4005afd968000e00f42e..."} 
[2026-07-27 09:21:38] local.INFO: Packet analysis {"connection_id":143825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1b1"} 
[2026-07-27 09:21:38] local.INFO: Extracted packet for processing {"connection_id":143825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1b1"} 
[2026-07-27 09:21:38] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95410536,"longitude_deg":76.3337536,"latitude_deg":9.5410536,"altitude":14,"angle":244,"satellites":46,"speed":6,"hex_longitude":"2d7f9b40","hex_latitude":"05afd968","is_valid_coordinates":true} 
[2026-07-27 09:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:21:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991799808001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:21:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826178070446080,"note":"Value kept but may cause issues"} 
[2026-07-27 09:21:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195013457376274432,"note":"Value kept but may cause issues"} 
[2026-07-27 09:21:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:21:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785124218000,"timestamp_ms":1785124218000,"timestamp_seconds":1785124218,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1b1e490"} 
[2026-07-27 09:21:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:21:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-27 09:21:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:21:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:21:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:21:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:21:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:21:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:21:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:21:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:21:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:21:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:21:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991799808001,"66":27800,"250":206,"85":12544,"24":6,"16":358826178070446080,"45":9195013457376274432},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 09:21:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:21:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:21:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991799808001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:21:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 09:21:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:21:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826178070446080,"km_value":358826178070446.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:21:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195013457376274432,"description":"Unknown IO ID 45"} 
[2026-07-27 09:21:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991799808001,"power":27800,"unknown_250":206,"unknown_85":12544,"ignition":6,"odometer":null,"unknown_45":9195013457376274432}} 
[2026-07-27 09:21:38] local.INFO: DEBUG: GPS processor result {"connection_id":143825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:21:38] local.INFO: GPS data processed {"connection_id":143825,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:21:38] local.INFO: Acknowledgment sent {"connection_id":143825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:21:57] local.INFO: TCP Data received {"connection_id":145140,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145140,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:21:57] local.INFO: Processing buffer {"connection_id":145140,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:21:57] local.INFO: IMEI packet received {"connection_id":145140,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 09:21:57] local.INFO: IMEI acknowledgment sent {"connection_id":145140,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:21:57] local.INFO: TCP Data received {"connection_id":145140,"ip":"42.106.6.26","data_length":34,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-07-27 09:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145140,"packet_length":34,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-07-27 09:21:57] local.INFO: Processing buffer {"connection_id":145140,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-07-27 09:21:57] local.INFO: IMEI packet received {"connection_id":145140,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 09:21:57] local.INFO: IMEI acknowledgment sent {"connection_id":145140,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:21:58] local.INFO: TCP Data received {"connection_id":145140,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145140,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:21:58] local.INFO: Processing buffer {"connection_id":145140,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-07-27 09:21:58] local.INFO: IMEI packet received {"connection_id":145140,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 09:21:58] local.INFO: IMEI acknowledgment sent {"connection_id":145140,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:22:07] local.INFO: TCP Data received {"connection_id":143824,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1b21370012d7d2e4005ec0c18000f012626..."} 
[2026-07-27 09:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1b21370012d7d2e4005ec0c18000f012626..."} 
[2026-07-27 09:22:07] local.INFO: Processing buffer {"connection_id":143824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1b21370012d7d2e4005ec0c18000f012626..."} 
[2026-07-27 09:22:07] local.INFO: Packet analysis {"connection_id":143824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1b2"} 
[2026-07-27 09:22:07] local.INFO: Extracted packet for processing {"connection_id":143824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1b2"} 
[2026-07-27 09:22:07] local.INFO: GPS Element Parsed {"raw_longitude":763178560,"raw_latitude":99355672,"longitude_deg":76.317856,"latitude_deg":9.9355672,"altitude":15,"angle":294,"satellites":38,"speed":0,"hex_longitude":"2d7d2e40","hex_latitude":"05ec0c18","is_valid_coordinates":true} 
[2026-07-27 09:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:22:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991725824001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:22:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111588348476260352,"note":"Value kept but may cause issues"} 
[2026-07-27 09:22:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020217497848911872,"note":"Value kept but may cause issues"} 
[2026-07-27 09:22:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:22:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785124230000,"timestamp_ms":1785124230000,"timestamp_seconds":1785124230,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1b21370"} 
[2026-07-27 09:22:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:22:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-27 09:22:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:22:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:22:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:22:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:22:07] local.INFO: Teltonika packet parsed successfully {"connection_id":143824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:22:07] local.INFO: Passing IMEI to GPS processor {"connection_id":143824,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:22:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":143824,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:22:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:22:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 09:22:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 09:22:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991725824001,"66":2220,"197":206,"87":13824,"24":0,"16":111588348476260352,"45":9020217497848911872},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-07-27 09:22:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 09:22:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 09:22:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991725824001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:22:07] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-27 09:22:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 09:22:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111588348476260352,"km_value":111588348476260.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:22:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020217497848911872,"description":"Unknown IO ID 45"} 
[2026-07-27 09:22:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991725824001,"power":2220,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020217497848911872}} 
[2026-07-27 09:22:07] local.INFO: DEBUG: GPS processor result {"connection_id":143824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552279,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:22:07] local.INFO: GPS data processed {"connection_id":143824,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:22:07] local.INFO: Acknowledgment sent {"connection_id":143824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:22:08] local.INFO: TCP Data received {"connection_id":142708,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1b134c8012d1822c00721b608004d015e27..."} 
[2026-07-27 09:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1b134c8012d1822c00721b608004d015e27..."} 
[2026-07-27 09:22:08] local.INFO: Processing buffer {"connection_id":142708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1b134c8012d1822c00721b608004d015e27..."} 
[2026-07-27 09:22:08] local.INFO: Packet analysis {"connection_id":142708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1b1"} 
[2026-07-27 09:22:08] local.INFO: Extracted packet for processing {"connection_id":142708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1b1"} 
[2026-07-27 09:22:08] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649800,"longitude_deg":75.655648,"latitude_deg":11.96498,"altitude":77,"angle":350,"satellites":39,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b608","is_valid_coordinates":true} 
[2026-07-27 09:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:22:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991782912001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:22:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8762368938999808,"note":"Value kept but may cause issues"} 
[2026-07-27 09:22:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981314560,"note":"Value kept but may cause issues"} 
[2026-07-27 09:22:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:22:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785124173000,"timestamp_ms":1785124173000,"timestamp_seconds":1785124173,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1b134c8"} 
[2026-07-27 09:22:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:22:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-27 09:22:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:22:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:22:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:22:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:22:08] local.INFO: Teltonika packet parsed successfully {"connection_id":142708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:22:08] local.INFO: Passing IMEI to GPS processor {"connection_id":142708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:22:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":142708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:22:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:22:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 09:22:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 09:22:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991782912001,"66":12461,"120":206,"28":31744,"24":0,"16":8762368938999808,"45":1739163542981314560},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 09:22:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 09:22:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 09:22:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991782912001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:22:08] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 09:22:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 09:22:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8762368938999808,"km_value":8762368938999.808,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:22:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981314560,"description":"Unknown IO ID 45"} 
[2026-07-27 09:22:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991782912001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739163542981314560}} 
[2026-07-27 09:22:09] local.INFO: DEBUG: GPS processor result {"connection_id":142708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552280,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:22:09] local.INFO: GPS data processed {"connection_id":142708,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:22:09] local.INFO: Acknowledgment sent {"connection_id":142708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:22:09] local.INFO: TCP Data received {"connection_id":143825,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1b251f0012d7f97c005afe3e00007014b2f..."} 
[2026-07-27 09:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143825,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1b251f0012d7f97c005afe3e00007014b2f..."} 
[2026-07-27 09:22:09] local.INFO: Processing buffer {"connection_id":143825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1b251f0012d7f97c005afe3e00007014b2f..."} 
[2026-07-27 09:22:09] local.INFO: Packet analysis {"connection_id":143825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1b2"} 
[2026-07-27 09:22:09] local.INFO: Extracted packet for processing {"connection_id":143825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1b2"} 
[2026-07-27 09:22:09] local.INFO: GPS Element Parsed {"raw_longitude":763336640,"raw_latitude":95413216,"longitude_deg":76.333664,"latitude_deg":9.5413216,"altitude":7,"angle":331,"satellites":47,"speed":1,"hex_longitude":"2d7f97c0","hex_latitude":"05afe3e0","is_valid_coordinates":true} 
[2026-07-27 09:22:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:22:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991805696001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:22:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826358459072512,"note":"Value kept but may cause issues"} 
[2026-07-27 09:22:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193746819981725696,"note":"Value kept but may cause issues"} 
[2026-07-27 09:22:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:22:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785124246000,"timestamp_ms":1785124246000,"timestamp_seconds":1785124246,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1b251f0"} 
[2026-07-27 09:22:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:22:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-27 09:22:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:22:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:22:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:22:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:22:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:22:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:22:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:22:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:22:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:22:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:22:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991805696001,"66":28050,"250":206,"85":12544,"24":1,"16":358826358459072512,"45":9193746819981725696},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 09:22:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:22:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:22:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991805696001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:22:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 09:22:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:22:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826358459072512,"km_value":358826358459072.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:22:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193746819981725696,"description":"Unknown IO ID 45"} 
[2026-07-27 09:22:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991805696001,"power":28050,"unknown_250":206,"unknown_85":12544,"ignition":1,"odometer":null,"unknown_45":9193746819981725696}} 
[2026-07-27 09:22:09] local.INFO: DEBUG: GPS processor result {"connection_id":143825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:22:09] local.INFO: GPS data processed {"connection_id":143825,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:22:09] local.INFO: Acknowledgment sent {"connection_id":143825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:22:25] local.INFO: TCP Data received {"connection_id":142833,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 09:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142833,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 09:22:25] local.INFO: Processing buffer {"connection_id":142833,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 09:22:25] local.INFO: IMEI packet received {"connection_id":142833,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 09:22:25] local.INFO: IMEI acknowledgment sent {"connection_id":142833,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:22:30] local.INFO: TCP Data received {"connection_id":142709,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142709,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:22:30] local.INFO: Processing buffer {"connection_id":142709,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:22:30] local.INFO: IMEI packet received {"connection_id":142709,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 09:22:30] local.INFO: IMEI acknowledgment sent {"connection_id":142709,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:22:30] local.INFO: TCP Data received {"connection_id":145141,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145141,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:22:30] local.INFO: Processing buffer {"connection_id":145141,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:22:30] local.INFO: IMEI packet received {"connection_id":145141,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 09:22:30] local.INFO: IMEI acknowledgment sent {"connection_id":145141,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:22:32] local.INFO: TCP Data received {"connection_id":142710,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:22:32] local.INFO: Processing buffer {"connection_id":142710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:22:32] local.INFO: IMEI packet received {"connection_id":142710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 09:22:32] local.INFO: IMEI acknowledgment sent {"connection_id":142710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:22:35] local.INFO: TCP Data received {"connection_id":142709,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142709,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:22:35] local.INFO: Processing buffer {"connection_id":142709,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:22:35] local.INFO: IMEI packet received {"connection_id":142709,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 09:22:35] local.INFO: IMEI acknowledgment sent {"connection_id":142709,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:22:35] local.INFO: TCP Data received {"connection_id":145141,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145141,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:22:35] local.INFO: Processing buffer {"connection_id":145141,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:22:35] local.INFO: IMEI packet received {"connection_id":145141,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 09:22:35] local.INFO: IMEI acknowledgment sent {"connection_id":145141,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:22:36] local.INFO: TCP Data received {"connection_id":142709,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1b186d0012d1822c00721b608004d015e27..."} 
[2026-07-27 09:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1b186d0012d1822c00721b608004d015e27..."} 
[2026-07-27 09:22:36] local.INFO: Processing buffer {"connection_id":142709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1b186d0012d1822c00721b608004d015e27..."} 
[2026-07-27 09:22:36] local.INFO: Packet analysis {"connection_id":142709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1b1"} 
[2026-07-27 09:22:36] local.INFO: Extracted packet for processing {"connection_id":142709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1b1"} 
[2026-07-27 09:22:36] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649800,"longitude_deg":75.655648,"latitude_deg":11.96498,"altitude":77,"angle":350,"satellites":39,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b608","is_valid_coordinates":true} 
[2026-07-27 09:22:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:22:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991788288001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:22:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8762368938999808,"note":"Value kept but may cause issues"} 
[2026-07-27 09:22:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981314560,"note":"Value kept but may cause issues"} 
[2026-07-27 09:22:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:22:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785124194000,"timestamp_ms":1785124194000,"timestamp_seconds":1785124194,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1b186d0"} 
[2026-07-27 09:22:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:22:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09:22:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-27 09:22:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:22:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:22:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:22:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:22:36] local.INFO: Teltonika packet parsed successfully {"connection_id":142709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:22:36] local.INFO: Passing IMEI to GPS processor {"connection_id":142709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:22:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":142709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:22:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:22:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 09:22:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 09:22:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991788288001,"66":12558,"120":206,"28":31744,"24":0,"16":8762368938999808,"45":1739163542981314560},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 09:22:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 09:22:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 09:22:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991788288001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:22:36] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 09:22:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 09:22:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8762368938999808,"km_value":8762368938999.808,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:22:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981314560,"description":"Unknown IO ID 45"} 
[2026-07-27 09:22:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991788288001,"power":12558,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739163542981314560}} 
[2026-07-27 09:22:36] local.INFO: TCP Data received {"connection_id":145141,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1b21370012d7d2e4005ec0c18000f012626..."} 
[2026-07-27 09:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145141,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1b21370012d7d2e4005ec0c18000f012626..."} 
[2026-07-27 09:22:36] local.INFO: Processing buffer {"connection_id":145141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1b21370012d7d2e4005ec0c18000f012626..."} 
[2026-07-27 09:22:36] local.INFO: Packet analysis {"connection_id":145141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1b2"} 
[2026-07-27 09:22:36] local.INFO: Extracted packet for processing {"connection_id":145141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1b2"} 
[2026-07-27 09:22:36] local.INFO: GPS Element Parsed {"raw_longitude":763178560,"raw_latitude":99355672,"longitude_deg":76.317856,"latitude_deg":9.9355672,"altitude":15,"angle":294,"satellites":38,"speed":0,"hex_longitude":"2d7d2e40","hex_latitude":"05ec0c18","is_valid_coordinates":true} 
[2026-07-27 09:22:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:22:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991725824001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:22:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111588348476260352,"note":"Value kept but may cause issues"} 
[2026-07-27 09:22:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020217497848911872,"note":"Value kept but may cause issues"} 
[2026-07-27 09:22:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:22:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785124230000,"timestamp_ms":1785124230000,"timestamp_seconds":1785124230,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1b21370"} 
[2026-07-27 09:22:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:22:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:22:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-27 09:22:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:22:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:22:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:22:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:22:36] local.INFO: Teltonika packet parsed successfully {"connection_id":145141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:22:36] local.INFO: Passing IMEI to GPS processor {"connection_id":145141,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:22:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":145141,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:22:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:22:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 09:22:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 09:22:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991725824001,"66":2220,"197":206,"87":13824,"24":0,"16":111588348476260352,"45":9020217497848911872},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-07-27 09:22:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 09:22:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 09:22:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991725824001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:22:36] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-27 09:22:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 09:22:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111588348476260352,"km_value":111588348476260.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:22:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020217497848911872,"description":"Unknown IO ID 45"} 
[2026-07-27 09:22:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991725824001,"power":2220,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020217497848911872}} 
[2026-07-27 09:22:36] local.INFO: DEBUG: GPS processor result {"connection_id":145141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552282,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:22:36] local.INFO: GPS data processed {"connection_id":145141,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:22:36] local.INFO: Acknowledgment sent {"connection_id":145141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:22:36] local.INFO: DEBUG: GPS processor result {"connection_id":142709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552283,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:22:36] local.INFO: GPS data processed {"connection_id":142709,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:22:36] local.INFO: Acknowledgment sent {"connection_id":142709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:22:37] local.INFO: TCP Data received {"connection_id":142710,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:22:37] local.INFO: Processing buffer {"connection_id":142710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:22:37] local.INFO: IMEI packet received {"connection_id":142710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 09:22:37] local.INFO: IMEI acknowledgment sent {"connection_id":142710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:22:38] local.INFO: TCP Data received {"connection_id":142710,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1b29c28012d7f994005afe4300007014b30..."} 
[2026-07-27 09:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1b29c28012d7f994005afe4300007014b30..."} 
[2026-07-27 09:22:38] local.INFO: Processing buffer {"connection_id":142710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1b29c28012d7f994005afe4300007014b30..."} 
[2026-07-27 09:22:38] local.INFO: Packet analysis {"connection_id":142710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1b2"} 
[2026-07-27 09:22:38] local.INFO: Extracted packet for processing {"connection_id":142710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1b2"} 
[2026-07-27 09:22:38] local.INFO: GPS Element Parsed {"raw_longitude":763337024,"raw_latitude":95413296,"longitude_deg":76.3337024,"latitude_deg":9.5413296,"altitude":7,"angle":331,"satellites":48,"speed":0,"hex_longitude":"2d7f9940","hex_latitude":"05afe430","is_valid_coordinates":true} 
[2026-07-27 09:22:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:22:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991806976001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:22:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826379933908992,"note":"Value kept but may cause issues"} 
[2026-07-27 09:22:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194028294958473216,"note":"Value kept but may cause issues"} 
[2026-07-27 09:22:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:22:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785124265000,"timestamp_ms":1785124265000,"timestamp_seconds":1785124265,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1b29c28"} 
[2026-07-27 09:22:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:22:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09:22:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-27 09:22:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:22:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:22:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:22:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:22:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:22:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:22:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:22:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:22:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:22:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:22:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991806976001,"66":27887,"27":206,"85":12544,"24":0,"16":358826379933908992,"45":9194028294958473216},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 09:22:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:22:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:22:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991806976001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:22:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 09:22:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:22:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826379933908992,"km_value":358826379933909.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:22:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194028294958473216,"description":"Unknown IO ID 45"} 
[2026-07-27 09:22:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991806976001,"power":27887,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194028294958473216}} 
[2026-07-27 09:22:38] local.INFO: DEBUG: GPS processor result {"connection_id":142710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:22:38] local.INFO: GPS data processed {"connection_id":142710,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:22:38] local.INFO: Acknowledgment sent {"connection_id":142710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:22:45] local.INFO: TCP Data received {"connection_id":142711,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 09:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142711,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 09:22:45] local.INFO: Processing buffer {"connection_id":142711,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 09:22:45] local.INFO: IMEI packet received {"connection_id":142711,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 09:22:45] local.INFO: IMEI acknowledgment sent {"connection_id":142711,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:23:08] local.INFO: TCP Data received {"connection_id":142709,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1b1d8d8012d1822c00721b608004d015e27..."} 
[2026-07-27 09:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1b1d8d8012d1822c00721b608004d015e27..."} 
[2026-07-27 09:23:08] local.INFO: Processing buffer {"connection_id":142709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1b1d8d8012d1822c00721b608004d015e27..."} 
[2026-07-27 09:23:08] local.INFO: Packet analysis {"connection_id":142709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1b1"} 
[2026-07-27 09:23:08] local.INFO: Extracted packet for processing {"connection_id":142709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1b1"} 
[2026-07-27 09:23:08] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649800,"longitude_deg":75.655648,"latitude_deg":11.96498,"altitude":77,"angle":350,"satellites":39,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b608","is_valid_coordinates":true} 
[2026-07-27 09:23:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:23:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991793664001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:23:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8762368938999808,"note":"Value kept but may cause issues"} 
[2026-07-27 09:23:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981314560,"note":"Value kept but may cause issues"} 
[2026-07-27 09:23:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:23:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785124215000,"timestamp_ms":1785124215000,"timestamp_seconds":1785124215,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1b1d8d8"} 
[2026-07-27 09:23:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:23:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-07-27 09:23:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-07-27 09:23:08] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3053977677,"note":"Value kept but may cause issues"} 
[2026-07-27 09:23:08] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2712640160,"note":"Value kept but may cause issues"} 
[2026-07-27 09:23:08] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249385339296527880,"note":"Value kept but may cause issues"} 
[2026-07-27 09:23:08] local.WARNING: Large IO value detected {"io_id":161,"raw_value":2956898305,"note":"Value kept but may cause issues"} 
[2026-07-27 09:23:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-07-27 09:23:08] local.WARNING: Large IO value detected {"io_id":236,"raw_value":2818649368,"note":"Value kept but may cause issues"} 
[2026-07-27 09:23:08] local.WARNING: Large IO value detected {"io_id":34,"raw_value":3221692854,"note":"Value kept but may cause issues"} 
[2026-07-27 09:23:08] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2801847783,"note":"Value kept but may cause issues"} 
[2026-07-27 09:23:08] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8647137906286139392,"note":"Value kept but may cause issues"} 
[2026-07-27 09:23:08] local.WARNING: Large IO value detected {"io_id":53,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-27 09:23:08] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-07-27 09:23:08] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,120,28,24,241,158,16,33,159,52,45,192,182,77,39,10,66,226,144,1,240,118,161,4,113,205,236,34,8,239,49,2,31,7,231,53,206],"length":575,"final_offset":705,"validated_count":37,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-07-27 09:23:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5548819737493897216,"timestamp_seconds":5548819737493897.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 09:23:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:23:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:23:08] local.INFO: Teltonika packet parsed successfully {"connection_id":142709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:23:08] local.INFO: Passing IMEI to GPS processor {"connection_id":142709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:23:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":142709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:23:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:23:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 09:23:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 09:23:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991793664001,"66":12591,"120":206,"28":31744,"24":0,"16":8762368938999808,"45":1739163542981314560},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 09:23:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 09:23:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 09:23:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991793664001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:23:08] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 09:23:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 09:23:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8762368938999808,"km_value":8762368938999.808,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:23:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981314560,"description":"Unknown IO ID 45"} 
[2026-07-27 09:23:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991793664001,"power":12591,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739163542981314560}} 
[2026-07-27 09:23:08] local.INFO: DEBUG: GPS processor result {"connection_id":142709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552285,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:23:08] local.INFO: GPS data processed {"connection_id":142709,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:23:08] local.INFO: Acknowledgment sent {"connection_id":142709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:23:08] local.INFO: TCP Data received {"connection_id":145141,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1b21370012d7d2e4005ec0c18000f012626..."} 
[2026-07-27 09:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145141,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1b21370012d7d2e4005ec0c18000f012626..."} 
[2026-07-27 09:23:08] local.INFO: Processing buffer {"connection_id":145141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1b21370012d7d2e4005ec0c18000f012626..."} 
[2026-07-27 09:23:08] local.INFO: Packet analysis {"connection_id":145141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1b2"} 
[2026-07-27 09:23:08] local.INFO: Extracted packet for processing {"connection_id":145141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1b2"} 
[2026-07-27 09:23:08] local.INFO: GPS Element Parsed {"raw_longitude":763178560,"raw_latitude":99355672,"longitude_deg":76.317856,"latitude_deg":9.9355672,"altitude":15,"angle":294,"satellites":38,"speed":0,"hex_longitude":"2d7d2e40","hex_latitude":"05ec0c18","is_valid_coordinates":true} 
[2026-07-27 09:23:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:23:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991725824001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:23:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111588348476260352,"note":"Value kept but may cause issues"} 
[2026-07-27 09:23:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020217497848911872,"note":"Value kept but may cause issues"} 
[2026-07-27 09:23:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:23:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785124230000,"timestamp_ms":1785124230000,"timestamp_seconds":1785124230,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1b21370"} 
[2026-07-27 09:23:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:23:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-27 09:23:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:23:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:23:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:23:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:23:08] local.INFO: Teltonika packet parsed successfully {"connection_id":145141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:23:08] local.INFO: Passing IMEI to GPS processor {"connection_id":145141,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:23:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":145141,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:23:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:23:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 09:23:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 09:23:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991725824001,"66":2220,"197":206,"87":13824,"24":0,"16":111588348476260352,"45":9020217497848911872},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-07-27 09:23:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 09:23:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 09:23:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991725824001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:23:08] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-27 09:23:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 09:23:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111588348476260352,"km_value":111588348476260.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:23:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020217497848911872,"description":"Unknown IO ID 45"} 
[2026-07-27 09:23:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991725824001,"power":2220,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020217497848911872}} 
[2026-07-27 09:23:08] local.INFO: DEBUG: GPS processor result {"connection_id":145141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552286,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:23:08] local.INFO: GPS data processed {"connection_id":145141,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:23:08] local.INFO: Acknowledgment sent {"connection_id":145141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:23:09] local.INFO: TCP Data received {"connection_id":142710,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1b2a3f8012d7f998005afe4300007014b30..."} 
[2026-07-27 09:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1b2a3f8012d7f998005afe4300007014b30..."} 
[2026-07-27 09:23:09] local.INFO: Processing buffer {"connection_id":142710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1b2a3f8012d7f998005afe4300007014b30..."} 
[2026-07-27 09:23:09] local.INFO: Packet analysis {"connection_id":142710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1b2"} 
[2026-07-27 09:23:09] local.INFO: Extracted packet for processing {"connection_id":142710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1b2"} 
[2026-07-27 09:23:09] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95413296,"longitude_deg":76.3337088,"latitude_deg":9.5413296,"altitude":7,"angle":331,"satellites":48,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afe430","is_valid_coordinates":true} 
[2026-07-27 09:23:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:23:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991811840001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:23:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826379933908992,"note":"Value kept but may cause issues"} 
[2026-07-27 09:23:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194450507423559680,"note":"Value kept but may cause issues"} 
[2026-07-27 09:23:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:23:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785124267000,"timestamp_ms":1785124267000,"timestamp_seconds":1785124267,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1b2a3f8"} 
[2026-07-27 09:23:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:23:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-27 09:23:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:23:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:23:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:23:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:23:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:23:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:23:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:23:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:23:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:23:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:23:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991811840001,"66":27234,"27":206,"85":12544,"24":0,"16":358826379933908992,"45":9194450507423559680},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 09:23:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:23:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:23:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991811840001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:23:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 09:23:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:23:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826379933908992,"km_value":358826379933909.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:23:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194450507423559680,"description":"Unknown IO ID 45"} 
[2026-07-27 09:23:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991811840001,"power":27234,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194450507423559680}} 
[2026-07-27 09:23:09] local.INFO: DEBUG: GPS processor result {"connection_id":142710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:23:09] local.INFO: GPS data processed {"connection_id":142710,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:23:09] local.INFO: Acknowledgment sent {"connection_id":142710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:23:30] local.INFO: TCP Data received {"connection_id":143826,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143826,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:23:30] local.INFO: Processing buffer {"connection_id":143826,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:23:30] local.INFO: IMEI packet received {"connection_id":143826,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 09:23:30] local.INFO: IMEI acknowledgment sent {"connection_id":143826,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:23:32] local.INFO: TCP Data received {"connection_id":145142,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:23:32] local.INFO: Processing buffer {"connection_id":145142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:23:32] local.INFO: IMEI packet received {"connection_id":145142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 09:23:32] local.INFO: IMEI acknowledgment sent {"connection_id":145142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:23:35] local.INFO: TCP Data received {"connection_id":143826,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143826,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:23:35] local.INFO: Processing buffer {"connection_id":143826,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:23:35] local.INFO: IMEI packet received {"connection_id":143826,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 09:23:35] local.INFO: IMEI acknowledgment sent {"connection_id":143826,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:23:36] local.INFO: TCP Data received {"connection_id":143826,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1b21370012d7d2e4005ec0c18000f012626..."} 
[2026-07-27 09:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1b21370012d7d2e4005ec0c18000f012626..."} 
[2026-07-27 09:23:36] local.INFO: Processing buffer {"connection_id":143826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1b21370012d7d2e4005ec0c18000f012626..."} 
[2026-07-27 09:23:36] local.INFO: Packet analysis {"connection_id":143826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1b2"} 
[2026-07-27 09:23:36] local.INFO: Extracted packet for processing {"connection_id":143826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1b2"} 
[2026-07-27 09:23:36] local.INFO: GPS Element Parsed {"raw_longitude":763178560,"raw_latitude":99355672,"longitude_deg":76.317856,"latitude_deg":9.9355672,"altitude":15,"angle":294,"satellites":38,"speed":0,"hex_longitude":"2d7d2e40","hex_latitude":"05ec0c18","is_valid_coordinates":true} 
[2026-07-27 09:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:23:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991725824001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:23:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111588348476260352,"note":"Value kept but may cause issues"} 
[2026-07-27 09:23:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020217497848911872,"note":"Value kept but may cause issues"} 
[2026-07-27 09:23:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:23:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785124230000,"timestamp_ms":1785124230000,"timestamp_seconds":1785124230,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1b21370"} 
[2026-07-27 09:23:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:23:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-27 09:23:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:23:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:23:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:23:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:23:36] local.INFO: Teltonika packet parsed successfully {"connection_id":143826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:23:36] local.INFO: Passing IMEI to GPS processor {"connection_id":143826,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:23:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":143826,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:23:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:23:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 09:23:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 09:23:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991725824001,"66":2220,"197":206,"87":13824,"24":0,"16":111588348476260352,"45":9020217497848911872},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-07-27 09:23:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 09:23:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 09:23:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991725824001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:23:36] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-27 09:23:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 09:23:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111588348476260352,"km_value":111588348476260.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:23:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020217497848911872,"description":"Unknown IO ID 45"} 
[2026-07-27 09:23:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991725824001,"power":2220,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020217497848911872}} 
[2026-07-27 09:23:36] local.INFO: DEBUG: GPS processor result {"connection_id":143826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552288,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:23:36] local.INFO: GPS data processed {"connection_id":143826,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:23:36] local.INFO: Acknowledgment sent {"connection_id":143826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:23:36] local.INFO: TCP Data received {"connection_id":143827,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143827,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:23:36] local.INFO: Processing buffer {"connection_id":143827,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:23:36] local.INFO: IMEI packet received {"connection_id":143827,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 09:23:36] local.INFO: IMEI acknowledgment sent {"connection_id":143827,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:23:37] local.INFO: TCP Data received {"connection_id":145142,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:23:37] local.INFO: Processing buffer {"connection_id":145142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:23:37] local.INFO: IMEI packet received {"connection_id":145142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 09:23:37] local.INFO: IMEI acknowledgment sent {"connection_id":145142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:23:38] local.INFO: TCP Data received {"connection_id":145142,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1b2a3f8012d7f998005afe4300007014b30..."} 
[2026-07-27 09:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1b2a3f8012d7f998005afe4300007014b30..."} 
[2026-07-27 09:23:38] local.INFO: Processing buffer {"connection_id":145142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1b2a3f8012d7f998005afe4300007014b30..."} 
[2026-07-27 09:23:38] local.INFO: Packet analysis {"connection_id":145142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1b2"} 
[2026-07-27 09:23:38] local.INFO: Extracted packet for processing {"connection_id":145142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1b2"} 
[2026-07-27 09:23:38] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95413296,"longitude_deg":76.3337088,"latitude_deg":9.5413296,"altitude":7,"angle":331,"satellites":48,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afe430","is_valid_coordinates":true} 
[2026-07-27 09:23:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:23:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991811840001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:23:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826379933908992,"note":"Value kept but may cause issues"} 
[2026-07-27 09:23:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194450507423559680,"note":"Value kept but may cause issues"} 
[2026-07-27 09:23:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:23:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785124267000,"timestamp_ms":1785124267000,"timestamp_seconds":1785124267,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1b2a3f8"} 
[2026-07-27 09:23:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:23:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:23:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-27 09:23:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:23:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:23:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:23:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:23:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:23:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:23:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:23:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:23:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:23:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:23:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991811840001,"66":27234,"27":206,"85":12544,"24":0,"16":358826379933908992,"45":9194450507423559680},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 09:23:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:23:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:23:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991811840001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:23:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 09:23:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:23:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826379933908992,"km_value":358826379933909.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:23:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194450507423559680,"description":"Unknown IO ID 45"} 
[2026-07-27 09:23:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991811840001,"power":27234,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194450507423559680}} 
[2026-07-27 09:23:38] local.INFO: DEBUG: GPS processor result {"connection_id":145142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:23:38] local.INFO: GPS data processed {"connection_id":145142,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:23:38] local.INFO: Acknowledgment sent {"connection_id":145142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:23:40] local.INFO: TCP Data received {"connection_id":143827,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143827,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:23:40] local.INFO: Processing buffer {"connection_id":143827,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:23:40] local.INFO: IMEI packet received {"connection_id":143827,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 09:23:40] local.INFO: IMEI acknowledgment sent {"connection_id":143827,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:23:42] local.INFO: TCP Data received {"connection_id":143827,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1b22ae0012d1822c00721b608004d015e27..."} 
[2026-07-27 09:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143827,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1b22ae0012d1822c00721b608004d015e27..."} 
[2026-07-27 09:23:42] local.INFO: Processing buffer {"connection_id":143827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1b22ae0012d1822c00721b608004d015e27..."} 
[2026-07-27 09:23:42] local.INFO: Packet analysis {"connection_id":143827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1b2"} 
[2026-07-27 09:23:42] local.INFO: Extracted packet for processing {"connection_id":143827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1b2"} 
[2026-07-27 09:23:42] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649800,"longitude_deg":75.655648,"latitude_deg":11.96498,"altitude":77,"angle":350,"satellites":39,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b608","is_valid_coordinates":true} 
[2026-07-27 09:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:23:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991799040001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:23:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8762368938999808,"note":"Value kept but may cause issues"} 
[2026-07-27 09:23:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981314560,"note":"Value kept but may cause issues"} 
[2026-07-27 09:23:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:23:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785124236000,"timestamp_ms":1785124236000,"timestamp_seconds":1785124236,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1b22ae0"} 
[2026-07-27 09:23:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:23:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-27 09:23:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:23:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:23:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:23:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:23:42] local.INFO: Teltonika packet parsed successfully {"connection_id":143827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:23:42] local.INFO: Passing IMEI to GPS processor {"connection_id":143827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:23:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":143827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:23:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:23:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 09:23:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 09:23:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991799040001,"66":12591,"120":206,"28":31744,"24":0,"16":8762368938999808,"45":1739163542981314560},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 09:23:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 09:23:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 09:23:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991799040001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:23:42] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 09:23:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 09:23:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8762368938999808,"km_value":8762368938999.808,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:23:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981314560,"description":"Unknown IO ID 45"} 
[2026-07-27 09:23:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991799040001,"power":12591,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739163542981314560}} 
[2026-07-27 09:23:42] local.INFO: DEBUG: GPS processor result {"connection_id":143827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552290,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:23:42] local.INFO: GPS data processed {"connection_id":143827,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:23:42] local.INFO: Acknowledgment sent {"connection_id":143827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:23:46] local.INFO: TCP Data received {"connection_id":143827,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1b27ce8012d1822c00721b608004d015e27..."} 
[2026-07-27 09:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143827,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1b27ce8012d1822c00721b608004d015e27..."} 
[2026-07-27 09:23:46] local.INFO: Processing buffer {"connection_id":143827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1b27ce8012d1822c00721b608004d015e27..."} 
[2026-07-27 09:23:46] local.INFO: Packet analysis {"connection_id":143827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1b2"} 
[2026-07-27 09:23:46] local.INFO: Extracted packet for processing {"connection_id":143827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1b2"} 
[2026-07-27 09:23:46] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649800,"longitude_deg":75.655648,"latitude_deg":11.96498,"altitude":77,"angle":350,"satellites":39,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b608","is_valid_coordinates":true} 
[2026-07-27 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-07-27 09:23:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991804416001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:23:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8762368938999808,"note":"Value kept but may cause issues"} 
[2026-07-27 09:23:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981314560,"note":"Value kept but may cause issues"} 
[2026-07-27 09:23: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-07-27 09:23:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785124257000,"timestamp_ms":1785124257000,"timestamp_seconds":1785124257,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1b27ce8"} 
[2026-07-27 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-07-27 09:23:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-27 09:23:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 09:23:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:23:46] local.INFO: Teltonika packet parsed successfully {"connection_id":143827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:23:46] local.INFO: Passing IMEI to GPS processor {"connection_id":143827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:23:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":143827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:23:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:23:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 09:23:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 09:23:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991804416001,"66":12558,"120":206,"28":31744,"24":0,"16":8762368938999808,"45":1739163542981314560},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 09:23:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 09:23:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 09:23:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991804416001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:23:46] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 09:23:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 09:23:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8762368938999808,"km_value":8762368938999.808,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:23:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981314560,"description":"Unknown IO ID 45"} 
[2026-07-27 09:23:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991804416001,"power":12558,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739163542981314560}} 
[2026-07-27 09:23:46] local.INFO: DEBUG: GPS processor result {"connection_id":143827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552291,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:23:46] local.INFO: GPS data processed {"connection_id":143827,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:23:46] local.INFO: Acknowledgment sent {"connection_id":143827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:24:07] local.INFO: TCP Data received {"connection_id":143826,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1b21370012d7d2e4005ec0c18000f012626..."} 
[2026-07-27 09:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1b21370012d7d2e4005ec0c18000f012626..."} 
[2026-07-27 09:24:07] local.INFO: Processing buffer {"connection_id":143826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1b21370012d7d2e4005ec0c18000f012626..."} 
[2026-07-27 09:24:07] local.INFO: Packet analysis {"connection_id":143826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1b2"} 
[2026-07-27 09:24:07] local.INFO: Extracted packet for processing {"connection_id":143826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1b2"} 
[2026-07-27 09:24:07] local.INFO: GPS Element Parsed {"raw_longitude":763178560,"raw_latitude":99355672,"longitude_deg":76.317856,"latitude_deg":9.9355672,"altitude":15,"angle":294,"satellites":38,"speed":0,"hex_longitude":"2d7d2e40","hex_latitude":"05ec0c18","is_valid_coordinates":true} 
[2026-07-27 09:24:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:24:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991725824001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:24:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111588348476260352,"note":"Value kept but may cause issues"} 
[2026-07-27 09:24:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020217497848911872,"note":"Value kept but may cause issues"} 
[2026-07-27 09:24:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:24:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785124230000,"timestamp_ms":1785124230000,"timestamp_seconds":1785124230,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1b21370"} 
[2026-07-27 09:24:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:24:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-27 09:24:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:24:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:24:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:24:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:24:07] local.INFO: Teltonika packet parsed successfully {"connection_id":143826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:24:07] local.INFO: Passing IMEI to GPS processor {"connection_id":143826,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:24:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":143826,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:24:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:24:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 09:24:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 09:24:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991725824001,"66":2220,"197":206,"87":13824,"24":0,"16":111588348476260352,"45":9020217497848911872},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-07-27 09:24:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 09:24:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 09:24:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991725824001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:24:07] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-27 09:24:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 09:24:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111588348476260352,"km_value":111588348476260.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:24:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020217497848911872,"description":"Unknown IO ID 45"} 
[2026-07-27 09:24:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991725824001,"power":2220,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020217497848911872}} 
[2026-07-27 09:24:07] local.INFO: DEBUG: GPS processor result {"connection_id":143826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552292,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:24:07] local.INFO: GPS data processed {"connection_id":143826,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:24:07] local.INFO: Acknowledgment sent {"connection_id":143826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:24:09] local.INFO: TCP Data received {"connection_id":145142,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1b2a3f8012d7f998005afe4300007014b30..."} 
[2026-07-27 09:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1b2a3f8012d7f998005afe4300007014b30..."} 
[2026-07-27 09:24:09] local.INFO: Processing buffer {"connection_id":145142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1b2a3f8012d7f998005afe4300007014b30..."} 
[2026-07-27 09:24:09] local.INFO: Packet analysis {"connection_id":145142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1b2"} 
[2026-07-27 09:24:09] local.INFO: Extracted packet for processing {"connection_id":145142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1b2"} 
[2026-07-27 09:24:09] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95413296,"longitude_deg":76.3337088,"latitude_deg":9.5413296,"altitude":7,"angle":331,"satellites":48,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afe430","is_valid_coordinates":true} 
[2026-07-27 09:24:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:24:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991811840001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:24:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826379933908992,"note":"Value kept but may cause issues"} 
[2026-07-27 09:24:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194450507423559680,"note":"Value kept but may cause issues"} 
[2026-07-27 09:24:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:24:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785124267000,"timestamp_ms":1785124267000,"timestamp_seconds":1785124267,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1b2a3f8"} 
[2026-07-27 09:24:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:24:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-27 09:24:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:24:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:24:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:24:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:24:09] local.INFO: Teltonika packet parsed successfully {"connection_id":145142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:24:09] local.INFO: Passing IMEI to GPS processor {"connection_id":145142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:24:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":145142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:24:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:24:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:24:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:24:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991811840001,"66":27234,"27":206,"85":12544,"24":0,"16":358826379933908992,"45":9194450507423559680},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 09:24:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:24:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:24:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991811840001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:24:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 09:24:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:24:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826379933908992,"km_value":358826379933909.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:24:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194450507423559680,"description":"Unknown IO ID 45"} 
[2026-07-27 09:24:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991811840001,"power":27234,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194450507423559680}} 
[2026-07-27 09:24:09] local.INFO: DEBUG: GPS processor result {"connection_id":145142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:24:09] local.INFO: GPS data processed {"connection_id":145142,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:24:09] local.INFO: Acknowledgment sent {"connection_id":145142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:24:30] local.INFO: TCP Data received {"connection_id":142712,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142712,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:24:30] local.INFO: Processing buffer {"connection_id":142712,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:24:30] local.INFO: IMEI packet received {"connection_id":142712,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 09:24:30] local.INFO: IMEI acknowledgment sent {"connection_id":142712,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:24:30] local.INFO: TCP Data received {"connection_id":142838,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142838,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:24:30] local.INFO: Processing buffer {"connection_id":142838,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:24:30] local.INFO: IMEI packet received {"connection_id":142838,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 09:24:30] local.INFO: IMEI acknowledgment sent {"connection_id":142838,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:24:32] local.INFO: TCP Data received {"connection_id":142712,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142712,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:24:32] local.INFO: Processing buffer {"connection_id":142712,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:24:32] local.INFO: IMEI packet received {"connection_id":142712,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 09:24:32] local.INFO: IMEI acknowledgment sent {"connection_id":142712,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:24:33] local.INFO: TCP Data received {"connection_id":142712,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1b2cef0012d1822c00721b608004d015e27..."} 
[2026-07-27 09:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1b2cef0012d1822c00721b608004d015e27..."} 
[2026-07-27 09:24:33] local.INFO: Processing buffer {"connection_id":142712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1b2cef0012d1822c00721b608004d015e27..."} 
[2026-07-27 09:24:33] local.INFO: Packet analysis {"connection_id":142712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1b2"} 
[2026-07-27 09:24:33] local.INFO: Extracted packet for processing {"connection_id":142712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1b2"} 
[2026-07-27 09:24:33] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649800,"longitude_deg":75.655648,"latitude_deg":11.96498,"altitude":77,"angle":350,"satellites":39,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b608","is_valid_coordinates":true} 
[2026-07-27 09:24:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:24:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991809792001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:24:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8762368938999808,"note":"Value kept but may cause issues"} 
[2026-07-27 09:24:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981314560,"note":"Value kept but may cause issues"} 
[2026-07-27 09:24:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:24:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785124278000,"timestamp_ms":1785124278000,"timestamp_seconds":1785124278,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1b2cef0"} 
[2026-07-27 09:24:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:24:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09:24:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-07-27 09:24:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-07-27 09:24:33] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3053977677,"note":"Value kept but may cause issues"} 
[2026-07-27 09:24:33] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2712703160,"note":"Value kept but may cause issues"} 
[2026-07-27 09:24:33] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249385339296527880,"note":"Value kept but may cause issues"} 
[2026-07-27 09:24:33] local.WARNING: Large IO value detected {"io_id":161,"raw_value":2973026305,"note":"Value kept but may cause issues"} 
[2026-07-27 09:24:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-07-27 09:24:33] local.WARNING: Large IO value detected {"io_id":226,"raw_value":3221302552,"note":"Value kept but may cause issues"} 
[2026-07-27 09:24:33] local.WARNING: Large IO value detected {"io_id":34,"raw_value":3221692854,"note":"Value kept but may cause issues"} 
[2026-07-27 09:24:33] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8647137906286139392,"note":"Value kept but may cause issues"} 
[2026-07-27 09:24:33] local.WARNING: Large IO value detected {"io_id":52,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-27 09:24:33] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-07-27 09:24:33] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,120,28,24,241,158,16,33,159,42,45,192,182,77,39,10,66,216,134,1,240,14,161,4,113,205,226,34,8,239,49,2,31,7,231,52,206],"length":575,"final_offset":705,"validated_count":37,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-07-27 09:24:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5548819737493897216,"timestamp_seconds":5548819737493897.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 09:24:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:24:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:24:33] local.INFO: Teltonika packet parsed successfully {"connection_id":142712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:24:33] local.INFO: Passing IMEI to GPS processor {"connection_id":142712,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:24:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":142712,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:24:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:24:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 09:24:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 09:24:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991809792001,"66":12504,"120":206,"28":31744,"24":0,"16":8762368938999808,"45":1739163542981314560},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 09:24:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 09:24:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 09:24:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991809792001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:24:33] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 09:24:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 09:24:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8762368938999808,"km_value":8762368938999.808,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:24:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981314560,"description":"Unknown IO ID 45"} 
[2026-07-27 09:24:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991809792001,"power":12504,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739163542981314560}} 
[2026-07-27 09:24:33] local.INFO: DEBUG: GPS processor result {"connection_id":142712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552294,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:24:33] local.INFO: GPS data processed {"connection_id":142712,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:24:33] local.INFO: Acknowledgment sent {"connection_id":142712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:24:35] local.INFO: TCP Data received {"connection_id":142838,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142838,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:24:35] local.INFO: Processing buffer {"connection_id":142838,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:24:35] local.INFO: IMEI packet received {"connection_id":142838,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 09:24:35] local.INFO: IMEI acknowledgment sent {"connection_id":142838,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:24:36] local.INFO: TCP Data received {"connection_id":142838,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1b21370012d7d2e4005ec0c18000f012626..."} 
[2026-07-27 09:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1b21370012d7d2e4005ec0c18000f012626..."} 
[2026-07-27 09:24:36] local.INFO: Processing buffer {"connection_id":142838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1b21370012d7d2e4005ec0c18000f012626..."} 
[2026-07-27 09:24:36] local.INFO: Packet analysis {"connection_id":142838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1b2"} 
[2026-07-27 09:24:36] local.INFO: Extracted packet for processing {"connection_id":142838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1b2"} 
[2026-07-27 09:24:36] local.INFO: GPS Element Parsed {"raw_longitude":763178560,"raw_latitude":99355672,"longitude_deg":76.317856,"latitude_deg":9.9355672,"altitude":15,"angle":294,"satellites":38,"speed":0,"hex_longitude":"2d7d2e40","hex_latitude":"05ec0c18","is_valid_coordinates":true} 
[2026-07-27 09:24:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:24:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991725824001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:24:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111588348476260352,"note":"Value kept but may cause issues"} 
[2026-07-27 09:24:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020217497848911872,"note":"Value kept but may cause issues"} 
[2026-07-27 09:24:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:24:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785124230000,"timestamp_ms":1785124230000,"timestamp_seconds":1785124230,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1b21370"} 
[2026-07-27 09:24:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:24:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:24:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-27 09:24:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:24:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:24:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:24:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:24:36] local.INFO: Teltonika packet parsed successfully {"connection_id":142838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:24:36] local.INFO: Passing IMEI to GPS processor {"connection_id":142838,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:24:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":142838,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:24:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:24:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 09:24:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 09:24:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991725824001,"66":2220,"197":206,"87":13824,"24":0,"16":111588348476260352,"45":9020217497848911872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-07-27 09:24:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 09:24:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 09:24:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991725824001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:24:36] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-27 09:24:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 09:24:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111588348476260352,"km_value":111588348476260.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:24:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020217497848911872,"description":"Unknown IO ID 45"} 
[2026-07-27 09:24:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991725824001,"power":2220,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020217497848911872}} 
[2026-07-27 09:24:36] local.INFO: DEBUG: GPS processor result {"connection_id":142838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552295,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:24:36] local.INFO: GPS data processed {"connection_id":142838,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:24:36] local.INFO: Acknowledgment sent {"connection_id":142838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:24:37] local.INFO: TCP Data received {"connection_id":145143,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:24:37] local.INFO: Processing buffer {"connection_id":145143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:24:37] local.INFO: IMEI packet received {"connection_id":145143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 09:24:37] local.INFO: IMEI acknowledgment sent {"connection_id":145143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:24:42] local.INFO: TCP Data received {"connection_id":145143,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:24:42] local.INFO: Processing buffer {"connection_id":145143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:24:42] local.INFO: IMEI packet received {"connection_id":145143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 09:24:42] local.INFO: IMEI acknowledgment sent {"connection_id":145143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:24:43] local.INFO: TCP Data received {"connection_id":145143,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1b2a3f8012d7f998005afe4300007014b30..."} 
[2026-07-27 09:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145143,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1b2a3f8012d7f998005afe4300007014b30..."} 
[2026-07-27 09:24:43] local.INFO: Processing buffer {"connection_id":145143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1b2a3f8012d7f998005afe4300007014b30..."} 
[2026-07-27 09:24:43] local.INFO: Packet analysis {"connection_id":145143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1b2"} 
[2026-07-27 09:24:43] local.INFO: Extracted packet for processing {"connection_id":145143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1b2"} 
[2026-07-27 09:24:43] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95413296,"longitude_deg":76.3337088,"latitude_deg":9.5413296,"altitude":7,"angle":331,"satellites":48,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afe430","is_valid_coordinates":true} 
[2026-07-27 09:24:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:24:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991811840001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:24:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826379933908992,"note":"Value kept but may cause issues"} 
[2026-07-27 09:24:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194450507423559680,"note":"Value kept but may cause issues"} 
[2026-07-27 09:24:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:24:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785124267000,"timestamp_ms":1785124267000,"timestamp_seconds":1785124267,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1b2a3f8"} 
[2026-07-27 09:24:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:24:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:24:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-27 09:24:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:24:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:24:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:24:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:24:43] local.INFO: Teltonika packet parsed successfully {"connection_id":145143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:24:43] local.INFO: Passing IMEI to GPS processor {"connection_id":145143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:24:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":145143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:24:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:24:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:24:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:24:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991811840001,"66":27234,"27":206,"85":12544,"24":0,"16":358826379933908992,"45":9194450507423559680},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 09:24:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:24:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:24:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991811840001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:24:43] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 09:24:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:24:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826379933908992,"km_value":358826379933909.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:24:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194450507423559680,"description":"Unknown IO ID 45"} 
[2026-07-27 09:24:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991811840001,"power":27234,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194450507423559680}} 
[2026-07-27 09:24:43] local.INFO: DEBUG: GPS processor result {"connection_id":145143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:24:43] local.INFO: GPS data processed {"connection_id":145143,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:24:43] local.INFO: Acknowledgment sent {"connection_id":145143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:24:48] local.INFO: TCP Data received {"connection_id":145143,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1b2a3f8012d7f998005afe4300007014b30..."} 
[2026-07-27 09:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145143,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1b2a3f8012d7f998005afe4300007014b30..."} 
[2026-07-27 09:24:48] local.INFO: Processing buffer {"connection_id":145143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1b2a3f8012d7f998005afe4300007014b30..."} 
[2026-07-27 09:24:48] local.INFO: Packet analysis {"connection_id":145143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1b2"} 
[2026-07-27 09:24:48] local.INFO: Extracted packet for processing {"connection_id":145143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1b2"} 
[2026-07-27 09:24:48] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95413296,"longitude_deg":76.3337088,"latitude_deg":9.5413296,"altitude":7,"angle":331,"satellites":48,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afe430","is_valid_coordinates":true} 
[2026-07-27 09: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-07-27 09:24:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991811840001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:24:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826379933908992,"note":"Value kept but may cause issues"} 
[2026-07-27 09:24:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194450507423559680,"note":"Value kept but may cause issues"} 
[2026-07-27 09:24:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:24:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785124267000,"timestamp_ms":1785124267000,"timestamp_seconds":1785124267,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1b2a3f8"} 
[2026-07-27 09:24:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:24:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-27 09:24:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09: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-07-27 09:24:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:24:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:24:48] local.INFO: Teltonika packet parsed successfully {"connection_id":145143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:24:48] local.INFO: Passing IMEI to GPS processor {"connection_id":145143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:24:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":145143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:24:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:24:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:24:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:24:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991811840001,"66":27234,"27":206,"85":12544,"24":0,"16":358826379933908992,"45":9194450507423559680},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 09:24:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:24:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:24:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991811840001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:24:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 09:24:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:24:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826379933908992,"km_value":358826379933909.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:24:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194450507423559680,"description":"Unknown IO ID 45"} 
[2026-07-27 09:24:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991811840001,"power":27234,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194450507423559680}} 
[2026-07-27 09:24:48] local.INFO: DEBUG: GPS processor result {"connection_id":145143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:24:48] local.INFO: GPS data processed {"connection_id":145143,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:24:48] local.INFO: Acknowledgment sent {"connection_id":145143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:25:05] local.INFO: TCP Data received {"connection_id":142712,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1b320f8012d1822c00721b608004d015e26..."} 
[2026-07-27 09:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1b320f8012d1822c00721b608004d015e26..."} 
[2026-07-27 09:25:05] local.INFO: Processing buffer {"connection_id":142712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1b320f8012d1822c00721b608004d015e26..."} 
[2026-07-27 09:25:05] local.INFO: Packet analysis {"connection_id":142712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1b3"} 
[2026-07-27 09:25:05] local.INFO: Extracted packet for processing {"connection_id":142712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1b3"} 
[2026-07-27 09:25:05] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649800,"longitude_deg":75.655648,"latitude_deg":11.96498,"altitude":77,"angle":350,"satellites":38,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b608","is_valid_coordinates":true} 
[2026-07-27 09:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:25:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991815168001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:25:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8762368938999808,"note":"Value kept but may cause issues"} 
[2026-07-27 09:25:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981314560,"note":"Value kept but may cause issues"} 
[2026-07-27 09:25:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:25:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785124299000,"timestamp_ms":1785124299000,"timestamp_seconds":1785124299,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1b320f8"} 
[2026-07-27 09:25:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:25:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-27 09:25:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:25:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:25:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:25:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:25:05] local.INFO: Teltonika packet parsed successfully {"connection_id":142712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:25:05] local.INFO: Passing IMEI to GPS processor {"connection_id":142712,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:25:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":142712,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:25:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:25:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 09:25:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 09:25:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991815168001,"66":12504,"120":206,"28":31744,"24":0,"16":8762368938999808,"45":1739163542981314560},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 09:25:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 09:25:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 09:25:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991815168001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:25:05] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 09:25:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 09:25:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8762368938999808,"km_value":8762368938999.808,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:25:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981314560,"description":"Unknown IO ID 45"} 
[2026-07-27 09:25:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991815168001,"power":12504,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739163542981314560}} 
[2026-07-27 09:25:05] local.INFO: DEBUG: GPS processor result {"connection_id":142712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552298,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:25:05] local.INFO: GPS data processed {"connection_id":142712,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:25:05] local.INFO: Acknowledgment sent {"connection_id":142712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:25:07] local.INFO: TCP Data received {"connection_id":142838,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1b21370012d7d2e4005ec0c18000f012626..."} 
[2026-07-27 09:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1b21370012d7d2e4005ec0c18000f012626..."} 
[2026-07-27 09:25:07] local.INFO: Processing buffer {"connection_id":142838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1b21370012d7d2e4005ec0c18000f012626..."} 
[2026-07-27 09:25:07] local.INFO: Packet analysis {"connection_id":142838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1b2"} 
[2026-07-27 09:25:07] local.INFO: Extracted packet for processing {"connection_id":142838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1b2"} 
[2026-07-27 09:25:07] local.INFO: GPS Element Parsed {"raw_longitude":763178560,"raw_latitude":99355672,"longitude_deg":76.317856,"latitude_deg":9.9355672,"altitude":15,"angle":294,"satellites":38,"speed":0,"hex_longitude":"2d7d2e40","hex_latitude":"05ec0c18","is_valid_coordinates":true} 
[2026-07-27 09:25:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:25:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991725824001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:25:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111588348476260352,"note":"Value kept but may cause issues"} 
[2026-07-27 09:25:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020217497848911872,"note":"Value kept but may cause issues"} 
[2026-07-27 09:25:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:25:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785124230000,"timestamp_ms":1785124230000,"timestamp_seconds":1785124230,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1b21370"} 
[2026-07-27 09:25:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:25:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:25:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-27 09:25:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:25:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:25:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:25:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:25:07] local.INFO: Teltonika packet parsed successfully {"connection_id":142838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:25:07] local.INFO: Passing IMEI to GPS processor {"connection_id":142838,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:25:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":142838,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:25:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:25:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 09:25:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 09:25:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991725824001,"66":2220,"197":206,"87":13824,"24":0,"16":111588348476260352,"45":9020217497848911872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-07-27 09:25:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 09:25:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 09:25:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991725824001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:25:07] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-27 09:25:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 09:25:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111588348476260352,"km_value":111588348476260.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:25:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020217497848911872,"description":"Unknown IO ID 45"} 
[2026-07-27 09:25:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991725824001,"power":2220,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020217497848911872}} 
[2026-07-27 09:25:08] local.INFO: DEBUG: GPS processor result {"connection_id":142838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552299,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:25:08] local.INFO: GPS data processed {"connection_id":142838,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:25:08] local.INFO: Acknowledgment sent {"connection_id":142838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:25:30] local.INFO: TCP Data received {"connection_id":143829,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143829,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:25:30] local.INFO: Processing buffer {"connection_id":143829,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:25:30] local.INFO: IMEI packet received {"connection_id":143829,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 09:25:30] local.INFO: IMEI acknowledgment sent {"connection_id":143829,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:25:30] local.INFO: TCP Data received {"connection_id":145144,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145144,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:25:30] local.INFO: Processing buffer {"connection_id":145144,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:25:30] local.INFO: IMEI packet received {"connection_id":145144,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 09:25:30] local.INFO: IMEI acknowledgment sent {"connection_id":145144,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:25:32] local.INFO: TCP Data received {"connection_id":143828,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:25:32] local.INFO: Processing buffer {"connection_id":143828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:25:32] local.INFO: IMEI packet received {"connection_id":143828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 09:25:32] local.INFO: IMEI acknowledgment sent {"connection_id":143828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:25:33] local.INFO: TCP Data received {"connection_id":143829,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143829,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:25:33] local.INFO: Processing buffer {"connection_id":143829,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:25:33] local.INFO: IMEI packet received {"connection_id":143829,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 09:25:33] local.INFO: IMEI acknowledgment sent {"connection_id":143829,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:25:35] local.INFO: TCP Data received {"connection_id":143829,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143829,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:25:35] local.INFO: Processing buffer {"connection_id":143829,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:25:35] local.INFO: IMEI packet received {"connection_id":143829,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 09:25:35] local.INFO: IMEI acknowledgment sent {"connection_id":143829,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:25:35] local.INFO: TCP Data received {"connection_id":145144,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145144,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:25:35] local.INFO: Processing buffer {"connection_id":145144,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:25:35] local.INFO: IMEI packet received {"connection_id":145144,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 09:25:35] local.INFO: IMEI acknowledgment sent {"connection_id":145144,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:25:36] local.INFO: TCP Data received {"connection_id":143829,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1b6ab38012d7d2e4005ec0c18000f012621..."} 
[2026-07-27 09:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1b6ab38012d7d2e4005ec0c18000f012621..."} 
[2026-07-27 09:25:36] local.INFO: Processing buffer {"connection_id":143829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1b6ab38012d7d2e4005ec0c18000f012621..."} 
[2026-07-27 09:25:36] local.INFO: Packet analysis {"connection_id":143829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1b6"} 
[2026-07-27 09:25:36] local.INFO: Extracted packet for processing {"connection_id":143829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1b6"} 
[2026-07-27 09:25:36] local.INFO: GPS Element Parsed {"raw_longitude":763178560,"raw_latitude":99355672,"longitude_deg":76.317856,"latitude_deg":9.9355672,"altitude":15,"angle":294,"satellites":33,"speed":0,"hex_longitude":"2d7d2e40","hex_latitude":"05ec0c18","is_valid_coordinates":true} 
[2026-07-27 09:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:25:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991802880001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:25:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111588348476260352,"note":"Value kept but may cause issues"} 
[2026-07-27 09:25:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020217497848911872,"note":"Value kept but may cause issues"} 
[2026-07-27 09:25:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:25:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785124531000,"timestamp_ms":1785124531000,"timestamp_seconds":1785124531,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1b6ab38"} 
[2026-07-27 09:25:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:25:36] 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-07-27 09:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-27 09:25:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:25:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:25:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:25:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:25:36] local.INFO: Teltonika packet parsed successfully {"connection_id":143829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:25:36] local.INFO: Passing IMEI to GPS processor {"connection_id":143829,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:25:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":143829,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:25:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:25:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 09:25:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 09:25:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991802880001,"66":2231,"197":206,"87":13824,"24":0,"16":111588348476260352,"45":9020217497848911872},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-07-27 09:25:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 09:25:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 09:25:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991802880001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:25:36] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-27 09:25:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 09:25:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111588348476260352,"km_value":111588348476260.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:25:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020217497848911872,"description":"Unknown IO ID 45"} 
[2026-07-27 09:25:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991802880001,"power":2231,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020217497848911872}} 
[2026-07-27 09:25:36] local.INFO: DEBUG: GPS processor result {"connection_id":143829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552300,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:25:36] local.INFO: GPS data processed {"connection_id":143829,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:25:36] local.INFO: Acknowledgment sent {"connection_id":143829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:25:36] local.INFO: TCP Data received {"connection_id":145144,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1b37300012d1822c00721b608004d015e27..."} 
[2026-07-27 09:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1b37300012d1822c00721b608004d015e27..."} 
[2026-07-27 09:25:36] local.INFO: Processing buffer {"connection_id":145144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1b37300012d1822c00721b608004d015e27..."} 
[2026-07-27 09:25:36] local.INFO: Packet analysis {"connection_id":145144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1b3"} 
[2026-07-27 09:25:36] local.INFO: Extracted packet for processing {"connection_id":145144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1b3"} 
[2026-07-27 09:25:36] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649800,"longitude_deg":75.655648,"latitude_deg":11.96498,"altitude":77,"angle":350,"satellites":39,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b608","is_valid_coordinates":true} 
[2026-07-27 09:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:25:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991820544001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:25:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8762368938999808,"note":"Value kept but may cause issues"} 
[2026-07-27 09:25:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981314560,"note":"Value kept but may cause issues"} 
[2026-07-27 09:25:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:25:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785124320000,"timestamp_ms":1785124320000,"timestamp_seconds":1785124320,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1b37300"} 
[2026-07-27 09:25:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:25:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-27 09:25:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:25:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:25:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:25:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:25:36] local.INFO: Teltonika packet parsed successfully {"connection_id":145144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:25:36] local.INFO: Passing IMEI to GPS processor {"connection_id":145144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:25:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":145144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:25:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:25:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 09:25:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 09:25:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991820544001,"66":12526,"120":206,"28":31744,"24":0,"16":8762368938999808,"45":1739163542981314560},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 09:25:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 09:25:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 09:25:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991820544001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:25:36] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 09:25:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 09:25:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8762368938999808,"km_value":8762368938999.808,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:25:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981314560,"description":"Unknown IO ID 45"} 
[2026-07-27 09:25:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991820544001,"power":12526,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739163542981314560}} 
[2026-07-27 09:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":145144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552301,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:25:37] local.INFO: GPS data processed {"connection_id":145144,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:25:37] local.INFO: Acknowledgment sent {"connection_id":145144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:25:37] local.INFO: TCP Data received {"connection_id":143828,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:25:37] local.INFO: Processing buffer {"connection_id":143828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:25:37] local.INFO: IMEI packet received {"connection_id":143828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 09:25:37] local.INFO: IMEI acknowledgment sent {"connection_id":143828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:25:38] local.INFO: TCP Data received {"connection_id":143828,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1b2a3f8012d7f998005afe4300007014b30..."} 
[2026-07-27 09:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143828,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1b2a3f8012d7f998005afe4300007014b30..."} 
[2026-07-27 09:25:38] local.INFO: Processing buffer {"connection_id":143828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1b2a3f8012d7f998005afe4300007014b30..."} 
[2026-07-27 09:25:38] local.INFO: Packet analysis {"connection_id":143828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1b2"} 
[2026-07-27 09:25:38] local.INFO: Extracted packet for processing {"connection_id":143828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1b2"} 
[2026-07-27 09:25:38] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95413296,"longitude_deg":76.3337088,"latitude_deg":9.5413296,"altitude":7,"angle":331,"satellites":48,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afe430","is_valid_coordinates":true} 
[2026-07-27 09:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:25:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991811840001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:25:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826379933908992,"note":"Value kept but may cause issues"} 
[2026-07-27 09:25:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194450507423559680,"note":"Value kept but may cause issues"} 
[2026-07-27 09:25:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:25:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785124267000,"timestamp_ms":1785124267000,"timestamp_seconds":1785124267,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1b2a3f8"} 
[2026-07-27 09:25:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:25:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-27 09:25:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:25:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:25:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:25:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:25:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:25:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:25:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:25:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:25:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:25:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:25:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991811840001,"66":27234,"27":206,"85":12544,"24":0,"16":358826379933908992,"45":9194450507423559680},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 09:25:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:25:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:25:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991811840001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:25:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 09:25:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:25:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826379933908992,"km_value":358826379933909.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:25:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194450507423559680,"description":"Unknown IO ID 45"} 
[2026-07-27 09:25:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991811840001,"power":27234,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194450507423559680}} 
[2026-07-27 09:25:38] local.INFO: DEBUG: GPS processor result {"connection_id":143828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:25:38] local.INFO: GPS data processed {"connection_id":143828,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:25:38] local.INFO: Acknowledgment sent {"connection_id":143828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:26:07] local.INFO: TCP Data received {"connection_id":143829,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1b6ab38012d7d2e4005ec0c18000f012621..."} 
[2026-07-27 09:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1b6ab38012d7d2e4005ec0c18000f012621..."} 
[2026-07-27 09:26:07] local.INFO: Processing buffer {"connection_id":143829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1b6ab38012d7d2e4005ec0c18000f012621..."} 
[2026-07-27 09:26:07] local.INFO: Packet analysis {"connection_id":143829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1b6"} 
[2026-07-27 09:26:07] local.INFO: Extracted packet for processing {"connection_id":143829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1b6"} 
[2026-07-27 09:26:07] local.INFO: GPS Element Parsed {"raw_longitude":763178560,"raw_latitude":99355672,"longitude_deg":76.317856,"latitude_deg":9.9355672,"altitude":15,"angle":294,"satellites":33,"speed":0,"hex_longitude":"2d7d2e40","hex_latitude":"05ec0c18","is_valid_coordinates":true} 
[2026-07-27 09:26:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:26:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991802880001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:26:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111588348476260352,"note":"Value kept but may cause issues"} 
[2026-07-27 09:26:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020217497848911872,"note":"Value kept but may cause issues"} 
[2026-07-27 09:26:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:26:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785124531000,"timestamp_ms":1785124531000,"timestamp_seconds":1785124531,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1b6ab38"} 
[2026-07-27 09:26:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:26:07] 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-07-27 09:26:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-27 09:26:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:26:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:26:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:26:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:26:07] local.INFO: Teltonika packet parsed successfully {"connection_id":143829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:26:07] local.INFO: Passing IMEI to GPS processor {"connection_id":143829,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:26:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":143829,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:26:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:26:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 09:26:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 09:26:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991802880001,"66":2231,"197":206,"87":13824,"24":0,"16":111588348476260352,"45":9020217497848911872},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-07-27 09:26:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 09:26:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 09:26:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991802880001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:26:07] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-27 09:26:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 09:26:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111588348476260352,"km_value":111588348476260.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:26:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020217497848911872,"description":"Unknown IO ID 45"} 
[2026-07-27 09:26:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991802880001,"power":2231,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020217497848911872}} 
[2026-07-27 09:26:07] local.INFO: DEBUG: GPS processor result {"connection_id":143829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552303,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:26:07] local.INFO: GPS data processed {"connection_id":143829,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:26:07] local.INFO: Acknowledgment sent {"connection_id":143829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:26:08] local.INFO: TCP Data received {"connection_id":145144,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1b3c508012d1822c00721b608004d015e27..."} 
[2026-07-27 09:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1b3c508012d1822c00721b608004d015e27..."} 
[2026-07-27 09:26:08] local.INFO: Processing buffer {"connection_id":145144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1b3c508012d1822c00721b608004d015e27..."} 
[2026-07-27 09:26:08] local.INFO: Packet analysis {"connection_id":145144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1b3"} 
[2026-07-27 09:26:08] local.INFO: Extracted packet for processing {"connection_id":145144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1b3"} 
[2026-07-27 09:26:08] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649800,"longitude_deg":75.655648,"latitude_deg":11.96498,"altitude":77,"angle":350,"satellites":39,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b608","is_valid_coordinates":true} 
[2026-07-27 09:26:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:26:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991825920001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:26:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8762368938999808,"note":"Value kept but may cause issues"} 
[2026-07-27 09:26:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981314560,"note":"Value kept but may cause issues"} 
[2026-07-27 09:26:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:26:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785124341000,"timestamp_ms":1785124341000,"timestamp_seconds":1785124341,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1b3c508"} 
[2026-07-27 09:26:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:26:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-27 09:26: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-07-27 09:26:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:26:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:26:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:26:08] local.INFO: Teltonika packet parsed successfully {"connection_id":145144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:26:08] local.INFO: Passing IMEI to GPS processor {"connection_id":145144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:26:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":145144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:26:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:26:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 09:26:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 09:26:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991825920001,"66":12537,"120":206,"28":31744,"24":0,"16":8762368938999808,"45":1739163542981314560},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 09:26:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 09:26:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 09:26:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991825920001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:26:08] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 09:26:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 09:26:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8762368938999808,"km_value":8762368938999.808,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:26:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981314560,"description":"Unknown IO ID 45"} 
[2026-07-27 09:26:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991825920001,"power":12537,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739163542981314560}} 
[2026-07-27 09:26:08] local.INFO: DEBUG: GPS processor result {"connection_id":145144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552304,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:26:08] local.INFO: GPS data processed {"connection_id":145144,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:26:08] local.INFO: Acknowledgment sent {"connection_id":145144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:26:09] local.INFO: TCP Data received {"connection_id":143828,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1b2a3f8012d7f998005afe4300007014b30..."} 
[2026-07-27 09:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143828,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1b2a3f8012d7f998005afe4300007014b30..."} 
[2026-07-27 09:26:09] local.INFO: Processing buffer {"connection_id":143828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1b2a3f8012d7f998005afe4300007014b30..."} 
[2026-07-27 09:26:09] local.INFO: Packet analysis {"connection_id":143828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1b2"} 
[2026-07-27 09:26:09] local.INFO: Extracted packet for processing {"connection_id":143828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1b2"} 
[2026-07-27 09:26:09] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95413296,"longitude_deg":76.3337088,"latitude_deg":9.5413296,"altitude":7,"angle":331,"satellites":48,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afe430","is_valid_coordinates":true} 
[2026-07-27 09:26:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:26:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991811840001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:26:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826379933908992,"note":"Value kept but may cause issues"} 
[2026-07-27 09:26:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194450507423559680,"note":"Value kept but may cause issues"} 
[2026-07-27 09:26:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:26:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785124267000,"timestamp_ms":1785124267000,"timestamp_seconds":1785124267,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1b2a3f8"} 
[2026-07-27 09:26:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:26:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:26:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-27 09:26:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:26:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:26:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:26:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:26:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:26:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:26:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:26:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:26:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:26:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:26:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991811840001,"66":27234,"27":206,"85":12544,"24":0,"16":358826379933908992,"45":9194450507423559680},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 09:26:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:26:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:26:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991811840001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:26:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 09:26:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:26:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826379933908992,"km_value":358826379933909.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:26:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194450507423559680,"description":"Unknown IO ID 45"} 
[2026-07-27 09:26:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991811840001,"power":27234,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194450507423559680}} 
[2026-07-27 09:26:09] local.INFO: DEBUG: GPS processor result {"connection_id":143828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:26:09] local.INFO: GPS data processed {"connection_id":143828,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:26:09] local.INFO: Acknowledgment sent {"connection_id":143828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:26:30] local.INFO: TCP Data received {"connection_id":142841,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142841,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:26:30] local.INFO: Processing buffer {"connection_id":142841,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:26:30] local.INFO: IMEI packet received {"connection_id":142841,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 09:26:30] local.INFO: IMEI acknowledgment sent {"connection_id":142841,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:26:30] local.INFO: TCP Data received {"connection_id":142714,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142714,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:26:30] local.INFO: Processing buffer {"connection_id":142714,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:26:30] local.INFO: IMEI packet received {"connection_id":142714,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 09:26:30] local.INFO: IMEI acknowledgment sent {"connection_id":142714,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:26:32] local.INFO: TCP Data received {"connection_id":142842,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:26:32] local.INFO: Processing buffer {"connection_id":142842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:26:32] local.INFO: IMEI packet received {"connection_id":142842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 09:26:32] local.INFO: IMEI acknowledgment sent {"connection_id":142842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:26:35] local.INFO: TCP Data received {"connection_id":142714,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142714,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:26:35] local.INFO: Processing buffer {"connection_id":142714,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:26:35] local.INFO: IMEI packet received {"connection_id":142714,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 09:26:35] local.INFO: IMEI acknowledgment sent {"connection_id":142714,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:26:35] local.INFO: TCP Data received {"connection_id":142841,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142841,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:26:35] local.INFO: Processing buffer {"connection_id":142841,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:26:35] local.INFO: IMEI packet received {"connection_id":142841,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 09:26:35] local.INFO: IMEI acknowledgment sent {"connection_id":142841,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:26:36] local.INFO: TCP Data received {"connection_id":142714,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1b6ab38012d7d2e4005ec0c18000f012621..."} 
[2026-07-27 09:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1b6ab38012d7d2e4005ec0c18000f012621..."} 
[2026-07-27 09:26:36] local.INFO: Processing buffer {"connection_id":142714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1b6ab38012d7d2e4005ec0c18000f012621..."} 
[2026-07-27 09:26:36] local.INFO: Packet analysis {"connection_id":142714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1b6"} 
[2026-07-27 09:26:36] local.INFO: Extracted packet for processing {"connection_id":142714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1b6"} 
[2026-07-27 09:26:36] local.INFO: GPS Element Parsed {"raw_longitude":763178560,"raw_latitude":99355672,"longitude_deg":76.317856,"latitude_deg":9.9355672,"altitude":15,"angle":294,"satellites":33,"speed":0,"hex_longitude":"2d7d2e40","hex_latitude":"05ec0c18","is_valid_coordinates":true} 
[2026-07-27 09:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:26:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991802880001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:26:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111588348476260352,"note":"Value kept but may cause issues"} 
[2026-07-27 09:26:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020217497848911872,"note":"Value kept but may cause issues"} 
[2026-07-27 09:26:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:26:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785124531000,"timestamp_ms":1785124531000,"timestamp_seconds":1785124531,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1b6ab38"} 
[2026-07-27 09:26:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:26:36] 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-07-27 09:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-27 09:26:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:26:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:26:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:26:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:26:36] local.INFO: Teltonika packet parsed successfully {"connection_id":142714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:26:36] local.INFO: Passing IMEI to GPS processor {"connection_id":142714,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:26:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":142714,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:26:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:26:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 09:26:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 09:26:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991802880001,"66":2231,"197":206,"87":13824,"24":0,"16":111588348476260352,"45":9020217497848911872},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-07-27 09:26:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 09:26:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 09:26:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991802880001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:26:36] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-27 09:26:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 09:26:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111588348476260352,"km_value":111588348476260.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:26:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020217497848911872,"description":"Unknown IO ID 45"} 
[2026-07-27 09:26:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991802880001,"power":2231,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020217497848911872}} 
[2026-07-27 09:26:36] local.INFO: DEBUG: GPS processor result {"connection_id":142714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552306,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:26:36] local.INFO: GPS data processed {"connection_id":142714,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:26:36] local.INFO: Acknowledgment sent {"connection_id":142714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:26:36] local.INFO: TCP Data received {"connection_id":142841,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1b3e830012d1820000721b380004e00dc27..."} 
[2026-07-27 09:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1b3e830012d1820000721b380004e00dc27..."} 
[2026-07-27 09:26:36] local.INFO: Processing buffer {"connection_id":142841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1b3e830012d1820000721b380004e00dc27..."} 
[2026-07-27 09:26:36] local.INFO: Packet analysis {"connection_id":142841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1b3"} 
[2026-07-27 09:26:36] local.INFO: Extracted packet for processing {"connection_id":142841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1b3"} 
[2026-07-27 09:26:36] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119649152,"longitude_deg":75.6555776,"latitude_deg":11.9649152,"altitude":78,"angle":220,"satellites":39,"speed":1,"hex_longitude":"2d182000","hex_latitude":"0721b380","is_valid_coordinates":true} 
[2026-07-27 09:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:26:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991831296001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:26:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8762416183640064,"note":"Value kept but may cause issues"} 
[2026-07-27 09:26:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981314560,"note":"Value kept but may cause issues"} 
[2026-07-27 09:26:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:26:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785124350000,"timestamp_ms":1785124350000,"timestamp_seconds":1785124350,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1b3e830"} 
[2026-07-27 09:26:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:26:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-27 09:26:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:26:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:26:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:26:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:26:36] local.INFO: Teltonika packet parsed successfully {"connection_id":142841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:26:36] local.INFO: Passing IMEI to GPS processor {"connection_id":142841,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:26:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":142841,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:26:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:26:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 09:26:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 09:26:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991831296001,"66":12504,"120":206,"28":31744,"24":1,"16":8762416183640064,"45":1739163542981314560},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 09:26:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 09:26:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 09:26:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991831296001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:26:36] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 09:26:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 09:26:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8762416183640064,"km_value":8762416183640.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:26:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981314560,"description":"Unknown IO ID 45"} 
[2026-07-27 09:26:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991831296001,"power":12504,"unknown_120":206,"unknown_28":31744,"ignition":1,"odometer":null,"unknown_45":1739163542981314560}} 
[2026-07-27 09:26:36] local.INFO: DEBUG: GPS processor result {"connection_id":142841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552307,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:26:36] local.INFO: GPS data processed {"connection_id":142841,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:26:36] local.INFO: Acknowledgment sent {"connection_id":142841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:26:37] local.INFO: TCP Data received {"connection_id":142842,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:26:37] local.INFO: Processing buffer {"connection_id":142842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:26:37] local.INFO: IMEI packet received {"connection_id":142842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 09:26:37] local.INFO: IMEI acknowledgment sent {"connection_id":142842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:26:38] local.INFO: TCP Data received {"connection_id":142842,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1b2a3f8012d7f998005afe4300007014b30..."} 
[2026-07-27 09:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1b2a3f8012d7f998005afe4300007014b30..."} 
[2026-07-27 09:26:38] local.INFO: Processing buffer {"connection_id":142842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1b2a3f8012d7f998005afe4300007014b30..."} 
[2026-07-27 09:26:38] local.INFO: Packet analysis {"connection_id":142842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1b2"} 
[2026-07-27 09:26:38] local.INFO: Extracted packet for processing {"connection_id":142842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1b2"} 
[2026-07-27 09:26:38] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95413296,"longitude_deg":76.3337088,"latitude_deg":9.5413296,"altitude":7,"angle":331,"satellites":48,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afe430","is_valid_coordinates":true} 
[2026-07-27 09:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:26:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991811840001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:26:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826379933908992,"note":"Value kept but may cause issues"} 
[2026-07-27 09:26:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194450507423559680,"note":"Value kept but may cause issues"} 
[2026-07-27 09:26:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:26:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785124267000,"timestamp_ms":1785124267000,"timestamp_seconds":1785124267,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1b2a3f8"} 
[2026-07-27 09:26:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:26:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-27 09:26:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:26:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:26:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:26:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:26:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:26:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:26:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:26:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:26:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:26:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:26:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991811840001,"66":27234,"27":206,"85":12544,"24":0,"16":358826379933908992,"45":9194450507423559680},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 09:26:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:26:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:26:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991811840001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:26:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 09:26:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:26:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826379933908992,"km_value":358826379933909.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:26:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194450507423559680,"description":"Unknown IO ID 45"} 
[2026-07-27 09:26:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991811840001,"power":27234,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194450507423559680}} 
[2026-07-27 09:26:38] local.INFO: DEBUG: GPS processor result {"connection_id":142842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:26:38] local.INFO: GPS data processed {"connection_id":142842,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:26:38] local.INFO: Acknowledgment sent {"connection_id":142842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:27:00] local.INFO: TCP Data received {"connection_id":143830,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143830,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:27:00] local.INFO: Processing buffer {"connection_id":143830,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:27:00] local.INFO: IMEI packet received {"connection_id":143830,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 09:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":143830,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:27:02] local.INFO: TCP Data received {"connection_id":143830,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1b78210012d0bb9800704bd400016001820..."} 
[2026-07-27 09:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1b78210012d0bb9800704bd400016001820..."} 
[2026-07-27 09:27:02] local.INFO: Processing buffer {"connection_id":143830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1b78210012d0bb9800704bd400016001820..."} 
[2026-07-27 09:27:02] local.INFO: Packet analysis {"connection_id":143830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1b7"} 
[2026-07-27 09:27:02] local.INFO: Extracted packet for processing {"connection_id":143830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1b7"} 
[2026-07-27 09:27:02] local.INFO: GPS Element Parsed {"raw_longitude":755743104,"raw_latitude":117751104,"longitude_deg":75.5743104,"latitude_deg":11.7751104,"altitude":22,"angle":24,"satellites":32,"speed":9,"hex_longitude":"2d0bb980","hex_latitude":"0704bd40","is_valid_coordinates":true} 
[2026-07-27 09:27:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:27:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991893760001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:27:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25849535548882944,"note":"Value kept but may cause issues"} 
[2026-07-27 09:27:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":844776803997075456,"note":"Value kept but may cause issues"} 
[2026-07-27 09:27:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:27:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785124586000,"timestamp_ms":1785124586000,"timestamp_seconds":1785124586,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1b78210"} 
[2026-07-27 09:27:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:27:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09:27:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-07-27 09:27:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1256,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:27:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:27:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:27:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:27:02] local.INFO: Teltonika packet parsed successfully {"connection_id":143830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:27:02] local.INFO: Passing IMEI to GPS processor {"connection_id":143830,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:27:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":143830,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:27:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:27:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 09:27:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 09:27:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991893760001,"66":14450,"96":206,"94":10240,"24":9,"16":25849535548882944,"45":844776803997075456},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-07-27 09:27:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 09:27:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 09:27:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991893760001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:27:02] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-27 09:27:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 09:27:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25849535548882944,"km_value":25849535548882.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:27:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":844776803997075456,"description":"Unknown IO ID 45"} 
[2026-07-27 09:27:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991893760001,"power":14450,"unknown_96":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":844776803997075456}} 
[2026-07-27 09:27:02] local.INFO: DEBUG: GPS processor result {"connection_id":143830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552309,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:27:02] local.INFO: GPS data processed {"connection_id":143830,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:27:02] local.INFO: Acknowledgment sent {"connection_id":143830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:27:07] local.INFO: TCP Data received {"connection_id":142714,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1b6ab38012d7d2e4005ec0c18000f012621..."} 
[2026-07-27 09:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1b6ab38012d7d2e4005ec0c18000f012621..."} 
[2026-07-27 09:27:07] local.INFO: Processing buffer {"connection_id":142714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1b6ab38012d7d2e4005ec0c18000f012621..."} 
[2026-07-27 09:27:07] local.INFO: Packet analysis {"connection_id":142714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1b6"} 
[2026-07-27 09:27:07] local.INFO: Extracted packet for processing {"connection_id":142714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1b6"} 
[2026-07-27 09:27:07] local.INFO: GPS Element Parsed {"raw_longitude":763178560,"raw_latitude":99355672,"longitude_deg":76.317856,"latitude_deg":9.9355672,"altitude":15,"angle":294,"satellites":33,"speed":0,"hex_longitude":"2d7d2e40","hex_latitude":"05ec0c18","is_valid_coordinates":true} 
[2026-07-27 09:27:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:27:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991802880001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:27:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111588348476260352,"note":"Value kept but may cause issues"} 
[2026-07-27 09:27:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020217497848911872,"note":"Value kept but may cause issues"} 
[2026-07-27 09:27:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:27:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785124531000,"timestamp_ms":1785124531000,"timestamp_seconds":1785124531,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1b6ab38"} 
[2026-07-27 09:27:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:27:07] 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-07-27 09:27:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-27 09:27:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:27:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:27:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:27:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:27:07] local.INFO: Teltonika packet parsed successfully {"connection_id":142714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:27:07] local.INFO: Passing IMEI to GPS processor {"connection_id":142714,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:27:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":142714,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:27:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:27:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 09:27:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 09:27:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991802880001,"66":2231,"197":206,"87":13824,"24":0,"16":111588348476260352,"45":9020217497848911872},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-07-27 09:27:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 09:27:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 09:27:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991802880001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:27:07] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-27 09:27:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 09:27:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111588348476260352,"km_value":111588348476260.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:27:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020217497848911872,"description":"Unknown IO ID 45"} 
[2026-07-27 09:27:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991802880001,"power":2231,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020217497848911872}} 
[2026-07-27 09:27:07] local.INFO: DEBUG: GPS processor result {"connection_id":142714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552310,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:27:07] local.INFO: GPS data processed {"connection_id":142714,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:27:07] local.INFO: Acknowledgment sent {"connection_id":142714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:27:08] local.INFO: TCP Data received {"connection_id":142841,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1b43a38012d181fc00721b338004e00da26..."} 
[2026-07-27 09:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1b43a38012d181fc00721b338004e00da26..."} 
[2026-07-27 09:27:08] local.INFO: Processing buffer {"connection_id":142841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1b43a38012d181fc00721b338004e00da26..."} 
[2026-07-27 09:27:08] local.INFO: Packet analysis {"connection_id":142841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1b4"} 
[2026-07-27 09:27:08] local.INFO: Extracted packet for processing {"connection_id":142841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1b4"} 
[2026-07-27 09:27:08] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119649080,"longitude_deg":75.6555712,"latitude_deg":11.964908,"altitude":78,"angle":218,"satellites":38,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b338","is_valid_coordinates":true} 
[2026-07-27 09:27:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:27:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991833600001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:27:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8762420478607360,"note":"Value kept but may cause issues"} 
[2026-07-27 09:27:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795194368,"note":"Value kept but may cause issues"} 
[2026-07-27 09:27:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:27:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785124371000,"timestamp_ms":1785124371000,"timestamp_seconds":1785124371,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1b43a38"} 
[2026-07-27 09:27:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:27:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09:27:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-27 09:27:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:27:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:27:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:27:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:27:08] local.INFO: Teltonika packet parsed successfully {"connection_id":142841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:27:08] local.INFO: Passing IMEI to GPS processor {"connection_id":142841,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:27:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":142841,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:27:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:27:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 09:27:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 09:27:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991833600001,"66":12504,"120":206,"28":31744,"24":0,"16":8762420478607360,"45":1738389486795194368},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 09:27:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 09:27:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 09:27:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991833600001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:27:08] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 09:27:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 09:27:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8762420478607360,"km_value":8762420478607.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:27:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795194368,"description":"Unknown IO ID 45"} 
[2026-07-27 09:27:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991833600001,"power":12504,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738389486795194368}} 
[2026-07-27 09:27:08] local.INFO: DEBUG: GPS processor result {"connection_id":142841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552311,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:27:08] local.INFO: GPS data processed {"connection_id":142841,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:27:08] local.INFO: Acknowledgment sent {"connection_id":142841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:27:09] local.INFO: TCP Data received {"connection_id":142842,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1b74390012d7f994005afe448000c014b30..."} 
[2026-07-27 09:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1b74390012d7f994005afe448000c014b30..."} 
[2026-07-27 09:27:09] local.INFO: Processing buffer {"connection_id":142842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1b74390012d7f994005afe448000c014b30..."} 
[2026-07-27 09:27:09] local.INFO: Packet analysis {"connection_id":142842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1b7"} 
[2026-07-27 09:27:09] local.INFO: Extracted packet for processing {"connection_id":142842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1b7"} 
[2026-07-27 09:27:09] local.INFO: GPS Element Parsed {"raw_longitude":763337024,"raw_latitude":95413320,"longitude_deg":76.3337024,"latitude_deg":9.541332,"altitude":12,"angle":331,"satellites":48,"speed":0,"hex_longitude":"2d7f9940","hex_latitude":"05afe448","is_valid_coordinates":true} 
[2026-07-27 09:27:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:27:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991812352001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:27:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826379933908992,"note":"Value kept but may cause issues"} 
[2026-07-27 09:27:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167737344,"note":"Value kept but may cause issues"} 
[2026-07-27 09:27:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:27:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785124570000,"timestamp_ms":1785124570000,"timestamp_seconds":1785124570,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1b74390"} 
[2026-07-27 09:27:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:27:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-27 09:27:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:27:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:27:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:27:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:27:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:27:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:27:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:27:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:27:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:27:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:27:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991812352001,"66":26180,"27":206,"85":12544,"24":0,"16":358826379933908992,"45":9194520876167737344},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 09:27:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:27:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:27:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991812352001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:27:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 09:27:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:27:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826379933908992,"km_value":358826379933909.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:27:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167737344,"description":"Unknown IO ID 45"} 
[2026-07-27 09:27:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991812352001,"power":26180,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167737344}} 
[2026-07-27 09:27:09] local.INFO: DEBUG: GPS processor result {"connection_id":142842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:27:09] local.INFO: GPS data processed {"connection_id":142842,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:27:09] local.INFO: Acknowledgment sent {"connection_id":142842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:27:30] local.INFO: TCP Data received {"connection_id":143832,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143832,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:27:30] local.INFO: Processing buffer {"connection_id":143832,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:27:30] local.INFO: IMEI packet received {"connection_id":143832,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 09:27:30] local.INFO: IMEI acknowledgment sent {"connection_id":143832,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:27:30] local.INFO: TCP Data received {"connection_id":143831,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143831,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:27:30] local.INFO: Processing buffer {"connection_id":143831,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:27:30] local.INFO: IMEI packet received {"connection_id":143831,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 09:27:30] local.INFO: IMEI acknowledgment sent {"connection_id":143831,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:27:32] local.INFO: TCP Data received {"connection_id":145146,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:27:32] local.INFO: Processing buffer {"connection_id":145146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:27:32] local.INFO: IMEI packet received {"connection_id":145146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 09:27:32] local.INFO: IMEI acknowledgment sent {"connection_id":145146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:27:35] local.INFO: TCP Data received {"connection_id":143832,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143832,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:27:35] local.INFO: Processing buffer {"connection_id":143832,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:27:35] local.INFO: IMEI packet received {"connection_id":143832,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 09:27:35] local.INFO: IMEI acknowledgment sent {"connection_id":143832,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:27:35] local.INFO: TCP Data received {"connection_id":143831,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143831,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:27:35] local.INFO: Processing buffer {"connection_id":143831,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:27:35] local.INFO: IMEI packet received {"connection_id":143831,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 09:27:35] local.INFO: IMEI acknowledgment sent {"connection_id":143831,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:27:36] local.INFO: TCP Data received {"connection_id":143832,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1b48c40012d181fc00721b338004e00da26..."} 
[2026-07-27 09:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143832,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1b48c40012d181fc00721b338004e00da26..."} 
[2026-07-27 09:27:36] local.INFO: Processing buffer {"connection_id":143832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1b48c40012d181fc00721b338004e00da26..."} 
[2026-07-27 09:27:36] local.INFO: Packet analysis {"connection_id":143832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1b4"} 
[2026-07-27 09:27:36] local.INFO: Extracted packet for processing {"connection_id":143832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1b4"} 
[2026-07-27 09:27:36] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119649080,"longitude_deg":75.6555712,"latitude_deg":11.964908,"altitude":78,"angle":218,"satellites":38,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b338","is_valid_coordinates":true} 
[2026-07-27 09:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:27:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991838976001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:27:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8762420478607360,"note":"Value kept but may cause issues"} 
[2026-07-27 09:27:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050998272,"note":"Value kept but may cause issues"} 
[2026-07-27 09:27:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:27:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785124392000,"timestamp_ms":1785124392000,"timestamp_seconds":1785124392,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1b48c40"} 
[2026-07-27 09:27:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:27:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-27 09:27:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:27:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:27:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:27:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:27:36] local.INFO: Teltonika packet parsed successfully {"connection_id":143832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:27:36] local.INFO: Passing IMEI to GPS processor {"connection_id":143832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:27:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":143832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:27:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:27:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 09:27:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 09:27:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991838976001,"66":12461,"120":206,"28":31744,"24":0,"16":8762420478607360,"45":1738319118050998272},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 09:27:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 09:27:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 09:27:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991838976001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:27:36] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 09:27:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 09:27:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8762420478607360,"km_value":8762420478607.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:27:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050998272,"description":"Unknown IO ID 45"} 
[2026-07-27 09:27:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991838976001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738319118050998272}} 
[2026-07-27 09:27:36] local.INFO: DEBUG: GPS processor result {"connection_id":143832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552313,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:27:36] local.INFO: GPS data processed {"connection_id":143832,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:27:36] local.INFO: Acknowledgment sent {"connection_id":143832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:27:36] local.INFO: TCP Data received {"connection_id":143831,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1b6ab38012d7d2e4005ec0c18000f012621..."} 
[2026-07-27 09:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1b6ab38012d7d2e4005ec0c18000f012621..."} 
[2026-07-27 09:27:36] local.INFO: Processing buffer {"connection_id":143831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1b6ab38012d7d2e4005ec0c18000f012621..."} 
[2026-07-27 09:27:36] local.INFO: Packet analysis {"connection_id":143831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1b6"} 
[2026-07-27 09:27:36] local.INFO: Extracted packet for processing {"connection_id":143831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1b6"} 
[2026-07-27 09:27:36] local.INFO: GPS Element Parsed {"raw_longitude":763178560,"raw_latitude":99355672,"longitude_deg":76.317856,"latitude_deg":9.9355672,"altitude":15,"angle":294,"satellites":33,"speed":0,"hex_longitude":"2d7d2e40","hex_latitude":"05ec0c18","is_valid_coordinates":true} 
[2026-07-27 09:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:27:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991802880001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:27:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111588348476260352,"note":"Value kept but may cause issues"} 
[2026-07-27 09:27:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020217497848911872,"note":"Value kept but may cause issues"} 
[2026-07-27 09:27:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:27:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785124531000,"timestamp_ms":1785124531000,"timestamp_seconds":1785124531,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1b6ab38"} 
[2026-07-27 09:27:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:27:36] 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-07-27 09:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-27 09:27:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:27:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:27:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:27:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:27:36] local.INFO: Teltonika packet parsed successfully {"connection_id":143831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:27:36] local.INFO: Passing IMEI to GPS processor {"connection_id":143831,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:27:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":143831,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:27:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:27:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 09:27:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 09:27:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991802880001,"66":2231,"197":206,"87":13824,"24":0,"16":111588348476260352,"45":9020217497848911872},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-07-27 09:27:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 09:27:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 09:27:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991802880001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:27:36] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-27 09:27:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 09:27:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111588348476260352,"km_value":111588348476260.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:27:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020217497848911872,"description":"Unknown IO ID 45"} 
[2026-07-27 09:27:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991802880001,"power":2231,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020217497848911872}} 
[2026-07-27 09:27:36] local.INFO: DEBUG: GPS processor result {"connection_id":143831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552314,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:27:36] local.INFO: GPS data processed {"connection_id":143831,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:27:36] local.INFO: Acknowledgment sent {"connection_id":143831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:27:38] local.INFO: TCP Data received {"connection_id":145146,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:27:38] local.INFO: Processing buffer {"connection_id":145146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:27:38] local.INFO: IMEI packet received {"connection_id":145146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 09:27:38] local.INFO: IMEI acknowledgment sent {"connection_id":145146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:27:38] local.INFO: TCP Data received {"connection_id":145146,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1b74390012d7f994005afe448000c014b30..."} 
[2026-07-27 09:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145146,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1b74390012d7f994005afe448000c014b30..."} 
[2026-07-27 09:27:38] local.INFO: Processing buffer {"connection_id":145146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1b74390012d7f994005afe448000c014b30..."} 
[2026-07-27 09:27:38] local.INFO: Packet analysis {"connection_id":145146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1b7"} 
[2026-07-27 09:27:38] local.INFO: Extracted packet for processing {"connection_id":145146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1b7"} 
[2026-07-27 09:27:38] local.INFO: GPS Element Parsed {"raw_longitude":763337024,"raw_latitude":95413320,"longitude_deg":76.3337024,"latitude_deg":9.541332,"altitude":12,"angle":331,"satellites":48,"speed":0,"hex_longitude":"2d7f9940","hex_latitude":"05afe448","is_valid_coordinates":true} 
[2026-07-27 09:27:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:27:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991812352001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:27:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826379933908992,"note":"Value kept but may cause issues"} 
[2026-07-27 09:27:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167737344,"note":"Value kept but may cause issues"} 
[2026-07-27 09:27:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:27:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785124570000,"timestamp_ms":1785124570000,"timestamp_seconds":1785124570,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1b74390"} 
[2026-07-27 09:27:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:27:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:27:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-27 09:27:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:27:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:27:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:27:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:27:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:27:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:27:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:27:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:27:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:27:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:27:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991812352001,"66":26180,"27":206,"85":12544,"24":0,"16":358826379933908992,"45":9194520876167737344},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 09:27:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:27:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:27:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991812352001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:27:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 09:27:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:27:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826379933908992,"km_value":358826379933909.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:27:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167737344,"description":"Unknown IO ID 45"} 
[2026-07-27 09:27:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991812352001,"power":26180,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167737344}} 
[2026-07-27 09:27:38] local.INFO: DEBUG: GPS processor result {"connection_id":145146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:27:38] local.INFO: GPS data processed {"connection_id":145146,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:27:38] local.INFO: Acknowledgment sent {"connection_id":145146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:28:07] local.INFO: TCP Data received {"connection_id":143832,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1b4de48012d181fc00721b338004e00da26..."} 
[2026-07-27 09:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143832,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1b4de48012d181fc00721b338004e00da26..."} 
[2026-07-27 09:28:07] local.INFO: Processing buffer {"connection_id":143832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1b4de48012d181fc00721b338004e00da26..."} 
[2026-07-27 09:28:07] local.INFO: Packet analysis {"connection_id":143832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1b4"} 
[2026-07-27 09:28:07] local.INFO: Extracted packet for processing {"connection_id":143832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1b4"} 
[2026-07-27 09:28:07] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119649080,"longitude_deg":75.6555712,"latitude_deg":11.964908,"altitude":78,"angle":218,"satellites":38,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b338","is_valid_coordinates":true} 
[2026-07-27 09:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:28:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991844352001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:28:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8762420478607360,"note":"Value kept but may cause issues"} 
[2026-07-27 09:28:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050998272,"note":"Value kept but may cause issues"} 
[2026-07-27 09:28:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:28:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785124413000,"timestamp_ms":1785124413000,"timestamp_seconds":1785124413,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1b4de48"} 
[2026-07-27 09:28:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:28:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-27 09:28:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:28:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:28:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:28:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:28:07] local.INFO: Teltonika packet parsed successfully {"connection_id":143832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:28:07] local.INFO: Passing IMEI to GPS processor {"connection_id":143832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:28:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":143832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:28:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:28:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 09:28:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 09:28:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991844352001,"66":12461,"120":206,"28":31744,"24":0,"16":8762420478607360,"45":1738319118050998272},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 09:28:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 09:28:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 09:28:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991844352001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:28:07] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 09:28:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 09:28:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8762420478607360,"km_value":8762420478607.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:28:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050998272,"description":"Unknown IO ID 45"} 
[2026-07-27 09:28:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991844352001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738319118050998272}} 
[2026-07-27 09:28:07] local.INFO: DEBUG: GPS processor result {"connection_id":143832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552316,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:28:07] local.INFO: GPS data processed {"connection_id":143832,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:28:07] local.INFO: Acknowledgment sent {"connection_id":143832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:28:08] local.INFO: TCP Data received {"connection_id":143831,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1b6ab38012d7d2e4005ec0c18000f012621..."} 
[2026-07-27 09:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1b6ab38012d7d2e4005ec0c18000f012621..."} 
[2026-07-27 09:28:08] local.INFO: Processing buffer {"connection_id":143831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1b6ab38012d7d2e4005ec0c18000f012621..."} 
[2026-07-27 09:28:08] local.INFO: Packet analysis {"connection_id":143831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1b6"} 
[2026-07-27 09:28:08] local.INFO: Extracted packet for processing {"connection_id":143831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1b6"} 
[2026-07-27 09:28:08] local.INFO: GPS Element Parsed {"raw_longitude":763178560,"raw_latitude":99355672,"longitude_deg":76.317856,"latitude_deg":9.9355672,"altitude":15,"angle":294,"satellites":33,"speed":0,"hex_longitude":"2d7d2e40","hex_latitude":"05ec0c18","is_valid_coordinates":true} 
[2026-07-27 09:28:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:28:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991802880001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:28:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111588348476260352,"note":"Value kept but may cause issues"} 
[2026-07-27 09:28:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020217497848911872,"note":"Value kept but may cause issues"} 
[2026-07-27 09:28:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:28:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785124531000,"timestamp_ms":1785124531000,"timestamp_seconds":1785124531,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1b6ab38"} 
[2026-07-27 09:28:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:28:08] 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-07-27 09:28:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-27 09:28:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:28:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:28:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:28:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:28:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:28:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143831,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:28:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143831,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:28:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:28:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 09:28:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 09:28:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991802880001,"66":2231,"197":206,"87":13824,"24":0,"16":111588348476260352,"45":9020217497848911872},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-07-27 09:28:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 09:28:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 09:28:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991802880001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:28:08] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-27 09:28:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 09:28:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111588348476260352,"km_value":111588348476260.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:28:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020217497848911872,"description":"Unknown IO ID 45"} 
[2026-07-27 09:28:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991802880001,"power":2231,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020217497848911872}} 
[2026-07-27 09:28:08] local.INFO: DEBUG: GPS processor result {"connection_id":143831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552317,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:28:08] local.INFO: GPS data processed {"connection_id":143831,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:28:08] local.INFO: Acknowledgment sent {"connection_id":143831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:28:09] local.INFO: TCP Data received {"connection_id":145146,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1b74390012d7f994005afe448000c014b30..."} 
[2026-07-27 09:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145146,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1b74390012d7f994005afe448000c014b30..."} 
[2026-07-27 09:28:09] local.INFO: Processing buffer {"connection_id":145146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1b74390012d7f994005afe448000c014b30..."} 
[2026-07-27 09:28:09] local.INFO: Packet analysis {"connection_id":145146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1b7"} 
[2026-07-27 09:28:09] local.INFO: Extracted packet for processing {"connection_id":145146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1b7"} 
[2026-07-27 09:28:09] local.INFO: GPS Element Parsed {"raw_longitude":763337024,"raw_latitude":95413320,"longitude_deg":76.3337024,"latitude_deg":9.541332,"altitude":12,"angle":331,"satellites":48,"speed":0,"hex_longitude":"2d7f9940","hex_latitude":"05afe448","is_valid_coordinates":true} 
[2026-07-27 09:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:28:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991812352001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:28:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826379933908992,"note":"Value kept but may cause issues"} 
[2026-07-27 09:28:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167737344,"note":"Value kept but may cause issues"} 
[2026-07-27 09:28:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:28:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785124570000,"timestamp_ms":1785124570000,"timestamp_seconds":1785124570,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1b74390"} 
[2026-07-27 09:28:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:28:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-27 09:28:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:28:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:28:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:28:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:28:09] local.INFO: Teltonika packet parsed successfully {"connection_id":145146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:28:09] local.INFO: Passing IMEI to GPS processor {"connection_id":145146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:28:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":145146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:28:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:28:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:28:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:28:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991812352001,"66":26180,"27":206,"85":12544,"24":0,"16":358826379933908992,"45":9194520876167737344},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 09:28:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:28:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:28:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991812352001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:28:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 09:28:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:28:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826379933908992,"km_value":358826379933909.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:28:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167737344,"description":"Unknown IO ID 45"} 
[2026-07-27 09:28:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991812352001,"power":26180,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167737344}} 
[2026-07-27 09:28:09] local.INFO: DEBUG: GPS processor result {"connection_id":145146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:28:09] local.INFO: GPS data processed {"connection_id":145146,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:28:09] local.INFO: Acknowledgment sent {"connection_id":145146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:28:19] local.INFO: TCP Data received {"connection_id":143833,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 09:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143833,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 09:28:19] local.INFO: Processing buffer {"connection_id":143833,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 09:28:19] local.INFO: IMEI packet received {"connection_id":143833,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 09:28:19] local.INFO: IMEI acknowledgment sent {"connection_id":143833,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:28:30] local.INFO: TCP Data received {"connection_id":143835,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143835,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:28:30] local.INFO: Processing buffer {"connection_id":143835,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:28:30] local.INFO: IMEI packet received {"connection_id":143835,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 09:28:30] local.INFO: IMEI acknowledgment sent {"connection_id":143835,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:28:30] local.INFO: TCP Data received {"connection_id":143834,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143834,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:28:30] local.INFO: Processing buffer {"connection_id":143834,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:28:30] local.INFO: IMEI packet received {"connection_id":143834,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 09:28:30] local.INFO: IMEI acknowledgment sent {"connection_id":143834,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:28:32] local.INFO: TCP Data received {"connection_id":145147,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:28:32] local.INFO: Processing buffer {"connection_id":145147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:28:32] local.INFO: IMEI packet received {"connection_id":145147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 09:28:32] local.INFO: IMEI acknowledgment sent {"connection_id":145147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:28:35] local.INFO: TCP Data received {"connection_id":143834,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143834,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:28:35] local.INFO: Processing buffer {"connection_id":143834,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:28:35] local.INFO: IMEI packet received {"connection_id":143834,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 09:28:35] local.INFO: IMEI acknowledgment sent {"connection_id":143834,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:28:35] local.INFO: TCP Data received {"connection_id":143835,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143835,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:28:35] local.INFO: Processing buffer {"connection_id":143835,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:28:35] local.INFO: IMEI packet received {"connection_id":143835,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 09:28:35] local.INFO: IMEI acknowledgment sent {"connection_id":143835,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:28:36] local.INFO: TCP Data received {"connection_id":143834,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1b6ab38012d7d2e4005ec0c18000f012621..."} 
[2026-07-27 09:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1b6ab38012d7d2e4005ec0c18000f012621..."} 
[2026-07-27 09:28:36] local.INFO: Processing buffer {"connection_id":143834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1b6ab38012d7d2e4005ec0c18000f012621..."} 
[2026-07-27 09:28:36] local.INFO: Packet analysis {"connection_id":143834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1b6"} 
[2026-07-27 09:28:36] local.INFO: Extracted packet for processing {"connection_id":143834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1b6"} 
[2026-07-27 09:28:36] local.INFO: GPS Element Parsed {"raw_longitude":763178560,"raw_latitude":99355672,"longitude_deg":76.317856,"latitude_deg":9.9355672,"altitude":15,"angle":294,"satellites":33,"speed":0,"hex_longitude":"2d7d2e40","hex_latitude":"05ec0c18","is_valid_coordinates":true} 
[2026-07-27 09:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:28:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991802880001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:28:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111588348476260352,"note":"Value kept but may cause issues"} 
[2026-07-27 09:28:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020217497848911872,"note":"Value kept but may cause issues"} 
[2026-07-27 09:28:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:28:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785124531000,"timestamp_ms":1785124531000,"timestamp_seconds":1785124531,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1b6ab38"} 
[2026-07-27 09:28:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:28:36] 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-07-27 09:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-27 09:28:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:28:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:28:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:28:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:28:36] local.INFO: Teltonika packet parsed successfully {"connection_id":143834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:28:36] local.INFO: Passing IMEI to GPS processor {"connection_id":143834,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:28:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":143834,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:28:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:28:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 09:28:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 09:28:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991802880001,"66":2231,"197":206,"87":13824,"24":0,"16":111588348476260352,"45":9020217497848911872},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-07-27 09:28:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 09:28:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 09:28:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991802880001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:28:36] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-27 09:28:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 09:28:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111588348476260352,"km_value":111588348476260.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:28:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020217497848911872,"description":"Unknown IO ID 45"} 
[2026-07-27 09:28:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991802880001,"power":2231,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020217497848911872}} 
[2026-07-27 09:28:36] local.INFO: DEBUG: GPS processor result {"connection_id":143834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552319,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:28:36] local.INFO: GPS data processed {"connection_id":143834,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:28:36] local.INFO: Acknowledgment sent {"connection_id":143834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:28:36] local.INFO: TCP Data received {"connection_id":143835,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1b53050012d181fc00721b338004e00da25..."} 
[2026-07-27 09:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1b53050012d181fc00721b338004e00da25..."} 
[2026-07-27 09:28:36] local.INFO: Processing buffer {"connection_id":143835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1b53050012d181fc00721b338004e00da25..."} 
[2026-07-27 09:28:36] local.INFO: Packet analysis {"connection_id":143835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1b5"} 
[2026-07-27 09:28:36] local.INFO: Extracted packet for processing {"connection_id":143835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1b5"} 
[2026-07-27 09:28:36] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119649080,"longitude_deg":75.6555712,"latitude_deg":11.964908,"altitude":78,"angle":218,"satellites":37,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b338","is_valid_coordinates":true} 
[2026-07-27 09:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:28:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991849728001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:28:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8762420478607360,"note":"Value kept but may cause issues"} 
[2026-07-27 09:28:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050998272,"note":"Value kept but may cause issues"} 
[2026-07-27 09:28:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:28:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785124434000,"timestamp_ms":1785124434000,"timestamp_seconds":1785124434,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1b53050"} 
[2026-07-27 09:28:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:28:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-27 09:28:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:28:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:28:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:28:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:28:36] local.INFO: Teltonika packet parsed successfully {"connection_id":143835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:28:36] local.INFO: Passing IMEI to GPS processor {"connection_id":143835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:28:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":143835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:28:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:28:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 09:28:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 09:28:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991849728001,"66":12461,"120":206,"28":31744,"24":0,"16":8762420478607360,"45":1738319118050998272},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 09:28:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 09:28:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 09:28:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991849728001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:28:36] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 09:28:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 09:28:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8762420478607360,"km_value":8762420478607.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:28:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050998272,"description":"Unknown IO ID 45"} 
[2026-07-27 09:28:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991849728001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738319118050998272}} 
[2026-07-27 09:28:36] local.INFO: DEBUG: GPS processor result {"connection_id":143835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552320,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:28:36] local.INFO: GPS data processed {"connection_id":143835,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:28:36] local.INFO: Acknowledgment sent {"connection_id":143835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:28:37] local.INFO: TCP Data received {"connection_id":145147,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:28:37] local.INFO: Processing buffer {"connection_id":145147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:28:37] local.INFO: IMEI packet received {"connection_id":145147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 09:28:37] local.INFO: IMEI acknowledgment sent {"connection_id":145147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:28:38] local.INFO: TCP Data received {"connection_id":145147,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1b74390012d7f994005afe448000c014b30..."} 
[2026-07-27 09:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1b74390012d7f994005afe448000c014b30..."} 
[2026-07-27 09:28:38] local.INFO: Processing buffer {"connection_id":145147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1b74390012d7f994005afe448000c014b30..."} 
[2026-07-27 09:28:38] local.INFO: Packet analysis {"connection_id":145147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1b7"} 
[2026-07-27 09:28:38] local.INFO: Extracted packet for processing {"connection_id":145147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1b7"} 
[2026-07-27 09:28:38] local.INFO: GPS Element Parsed {"raw_longitude":763337024,"raw_latitude":95413320,"longitude_deg":76.3337024,"latitude_deg":9.541332,"altitude":12,"angle":331,"satellites":48,"speed":0,"hex_longitude":"2d7f9940","hex_latitude":"05afe448","is_valid_coordinates":true} 
[2026-07-27 09:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:28:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991812352001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:28:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826379933908992,"note":"Value kept but may cause issues"} 
[2026-07-27 09:28:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167737344,"note":"Value kept but may cause issues"} 
[2026-07-27 09:28:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:28:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785124570000,"timestamp_ms":1785124570000,"timestamp_seconds":1785124570,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1b74390"} 
[2026-07-27 09:28:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:28:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-27 09:28:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:28:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:28:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:28:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:28:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:28:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:28:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:28:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:28:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:28:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:28:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991812352001,"66":26180,"27":206,"85":12544,"24":0,"16":358826379933908992,"45":9194520876167737344},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 09:28:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:28:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:28:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991812352001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:28:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 09:28:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:28:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826379933908992,"km_value":358826379933909.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:28:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167737344,"description":"Unknown IO ID 45"} 
[2026-07-27 09:28:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991812352001,"power":26180,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167737344}} 
[2026-07-27 09:28:38] local.INFO: DEBUG: GPS processor result {"connection_id":145147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:28:38] local.INFO: GPS data processed {"connection_id":145147,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:28:38] local.INFO: Acknowledgment sent {"connection_id":145147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:28:45] local.INFO: TCP Data received {"connection_id":142844,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142844,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:28:45] local.INFO: Processing buffer {"connection_id":142844,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:28:45] local.INFO: IMEI packet received {"connection_id":142844,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 09:28:45] local.INFO: IMEI acknowledgment sent {"connection_id":142844,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:28:45] local.INFO: TCP Data received {"connection_id":142843,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 09:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142843,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 09:28:45] local.INFO: Processing buffer {"connection_id":142843,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 09:28:45] local.INFO: IMEI packet received {"connection_id":142843,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 09:28:45] local.INFO: IMEI acknowledgment sent {"connection_id":142843,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:28:45] local.INFO: TCP Data received {"connection_id":142844,"ip":"42.106.6.26","data_length":34,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-07-27 09:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142844,"packet_length":34,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-07-27 09:28:45] local.INFO: Processing buffer {"connection_id":142844,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-07-27 09:28:45] local.INFO: IMEI packet received {"connection_id":142844,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 09:28:45] local.INFO: IMEI acknowledgment sent {"connection_id":142844,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:28:46] local.INFO: TCP Data received {"connection_id":142844,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142844,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:28:46] local.INFO: Processing buffer {"connection_id":142844,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-07-27 09:28:46] local.INFO: IMEI packet received {"connection_id":142844,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 09:28:46] local.INFO: IMEI acknowledgment sent {"connection_id":142844,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:29:08] local.INFO: TCP Data received {"connection_id":143835,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1b8b6a8012d181fc00721b338004e00da25..."} 
[2026-07-27 09:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1b8b6a8012d181fc00721b338004e00da25..."} 
[2026-07-27 09:29:08] local.INFO: Processing buffer {"connection_id":143835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1b8b6a8012d181fc00721b338004e00da25..."} 
[2026-07-27 09:29:08] local.INFO: Packet analysis {"connection_id":143835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1b8"} 
[2026-07-27 09:29:08] local.INFO: Extracted packet for processing {"connection_id":143835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1b8"} 
[2026-07-27 09:29:08] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119649080,"longitude_deg":75.6555712,"latitude_deg":11.964908,"altitude":78,"angle":218,"satellites":37,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b338","is_valid_coordinates":true} 
[2026-07-27 09:29:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:29:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991908864001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:29:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8762420478607360,"note":"Value kept but may cause issues"} 
[2026-07-27 09:29:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050998272,"note":"Value kept but may cause issues"} 
[2026-07-27 09:29:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:29:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785124665000,"timestamp_ms":1785124665000,"timestamp_seconds":1785124665,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1b8b6a8"} 
[2026-07-27 09:29:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:29:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-27 09:29:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:29:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:29:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:29:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:29:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:29:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:29:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:29:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:29:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 09:29:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 09:29:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991908864001,"66":12428,"120":206,"28":31744,"24":0,"16":8762420478607360,"45":1738319118050998272},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 09:29:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 09:29:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 09:29:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991908864001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:29:08] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 09:29:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 09:29:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8762420478607360,"km_value":8762420478607.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:29:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050998272,"description":"Unknown IO ID 45"} 
[2026-07-27 09:29:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991908864001,"power":12428,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738319118050998272}} 
[2026-07-27 09:29:08] local.INFO: DEBUG: GPS processor result {"connection_id":143835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552322,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:29:08] local.INFO: GPS data processed {"connection_id":143835,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:29:08] local.INFO: Acknowledgment sent {"connection_id":143835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:29:08] local.INFO: TCP Data received {"connection_id":143834,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1b6ab38012d7d2e4005ec0c18000f012621..."} 
[2026-07-27 09:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1b6ab38012d7d2e4005ec0c18000f012621..."} 
[2026-07-27 09:29:08] local.INFO: Processing buffer {"connection_id":143834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1b6ab38012d7d2e4005ec0c18000f012621..."} 
[2026-07-27 09:29:08] local.INFO: Packet analysis {"connection_id":143834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1b6"} 
[2026-07-27 09:29:08] local.INFO: Extracted packet for processing {"connection_id":143834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1b6"} 
[2026-07-27 09:29:08] local.INFO: GPS Element Parsed {"raw_longitude":763178560,"raw_latitude":99355672,"longitude_deg":76.317856,"latitude_deg":9.9355672,"altitude":15,"angle":294,"satellites":33,"speed":0,"hex_longitude":"2d7d2e40","hex_latitude":"05ec0c18","is_valid_coordinates":true} 
[2026-07-27 09:29:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:29:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991802880001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:29:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111588348476260352,"note":"Value kept but may cause issues"} 
[2026-07-27 09:29:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020217497848911872,"note":"Value kept but may cause issues"} 
[2026-07-27 09:29:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:29:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785124531000,"timestamp_ms":1785124531000,"timestamp_seconds":1785124531,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1b6ab38"} 
[2026-07-27 09:29:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:29:08] 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-07-27 09: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":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-27 09:29:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:29:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:29:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:29:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:29:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:29:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143834,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:29:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143834,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:29:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:29:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 09:29:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 09:29:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991802880001,"66":2231,"197":206,"87":13824,"24":0,"16":111588348476260352,"45":9020217497848911872},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-07-27 09:29:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 09:29:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 09:29:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991802880001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:29:08] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-27 09:29:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 09:29:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111588348476260352,"km_value":111588348476260.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:29:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020217497848911872,"description":"Unknown IO ID 45"} 
[2026-07-27 09:29:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991802880001,"power":2231,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020217497848911872}} 
[2026-07-27 09:29:08] local.INFO: DEBUG: GPS processor result {"connection_id":143834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552323,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:29:08] local.INFO: GPS data processed {"connection_id":143834,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:29:08] local.INFO: Acknowledgment sent {"connection_id":143834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:29:09] local.INFO: TCP Data received {"connection_id":145147,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1b74390012d7f994005afe448000c014b30..."} 
[2026-07-27 09:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1b74390012d7f994005afe448000c014b30..."} 
[2026-07-27 09:29:09] local.INFO: Processing buffer {"connection_id":145147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1b74390012d7f994005afe448000c014b30..."} 
[2026-07-27 09:29:09] local.INFO: Packet analysis {"connection_id":145147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1b7"} 
[2026-07-27 09:29:09] local.INFO: Extracted packet for processing {"connection_id":145147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1b7"} 
[2026-07-27 09:29:09] local.INFO: GPS Element Parsed {"raw_longitude":763337024,"raw_latitude":95413320,"longitude_deg":76.3337024,"latitude_deg":9.541332,"altitude":12,"angle":331,"satellites":48,"speed":0,"hex_longitude":"2d7f9940","hex_latitude":"05afe448","is_valid_coordinates":true} 
[2026-07-27 09:29:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:29:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991812352001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:29:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826379933908992,"note":"Value kept but may cause issues"} 
[2026-07-27 09:29:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167737344,"note":"Value kept but may cause issues"} 
[2026-07-27 09:29:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:29:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785124570000,"timestamp_ms":1785124570000,"timestamp_seconds":1785124570,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1b74390"} 
[2026-07-27 09:29:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:29:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:29:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-27 09:29:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:29:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:29:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:29:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:29:09] local.INFO: Teltonika packet parsed successfully {"connection_id":145147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:29:09] local.INFO: Passing IMEI to GPS processor {"connection_id":145147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:29:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":145147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:29:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:29:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:29:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:29:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991812352001,"66":26180,"27":206,"85":12544,"24":0,"16":358826379933908992,"45":9194520876167737344},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 09:29:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:29:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:29:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991812352001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:29:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 09:29:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:29:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826379933908992,"km_value":358826379933909.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:29:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167737344,"description":"Unknown IO ID 45"} 
[2026-07-27 09:29:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991812352001,"power":26180,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167737344}} 
[2026-07-27 09:29:09] local.INFO: DEBUG: GPS processor result {"connection_id":145147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:29:09] local.INFO: GPS data processed {"connection_id":145147,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:29:09] local.INFO: Acknowledgment sent {"connection_id":145147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:29:30] local.INFO: TCP Data received {"connection_id":145149,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145149,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:29:30] local.INFO: Processing buffer {"connection_id":145149,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:29:30] local.INFO: IMEI packet received {"connection_id":145149,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 09:29:30] local.INFO: IMEI acknowledgment sent {"connection_id":145149,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:29:30] local.INFO: TCP Data received {"connection_id":145148,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145148,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:29:30] local.INFO: Processing buffer {"connection_id":145148,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:29:30] local.INFO: IMEI packet received {"connection_id":145148,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 09:29:30] local.INFO: IMEI acknowledgment sent {"connection_id":145148,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:29:35] local.INFO: TCP Data received {"connection_id":145148,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145148,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:29:35] local.INFO: Processing buffer {"connection_id":145148,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:29:35] local.INFO: IMEI packet received {"connection_id":145148,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 09:29:35] local.INFO: IMEI acknowledgment sent {"connection_id":145148,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:29:35] local.INFO: TCP Data received {"connection_id":145149,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145149,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:29:35] local.INFO: Processing buffer {"connection_id":145149,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:29:35] local.INFO: IMEI packet received {"connection_id":145149,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 09:29:35] local.INFO: IMEI acknowledgment sent {"connection_id":145149,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:29:36] local.INFO: TCP Data received {"connection_id":145148,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1b6ab38012d7d2e4005ec0c18000f012621..."} 
[2026-07-27 09:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145148,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1b6ab38012d7d2e4005ec0c18000f012621..."} 
[2026-07-27 09:29:36] local.INFO: Processing buffer {"connection_id":145148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1b6ab38012d7d2e4005ec0c18000f012621..."} 
[2026-07-27 09:29:36] local.INFO: Packet analysis {"connection_id":145148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1b6"} 
[2026-07-27 09:29:36] local.INFO: Extracted packet for processing {"connection_id":145148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1b6"} 
[2026-07-27 09:29:36] local.INFO: GPS Element Parsed {"raw_longitude":763178560,"raw_latitude":99355672,"longitude_deg":76.317856,"latitude_deg":9.9355672,"altitude":15,"angle":294,"satellites":33,"speed":0,"hex_longitude":"2d7d2e40","hex_latitude":"05ec0c18","is_valid_coordinates":true} 
[2026-07-27 09:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:29:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991802880001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:29:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111588348476260352,"note":"Value kept but may cause issues"} 
[2026-07-27 09:29:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020217497848911872,"note":"Value kept but may cause issues"} 
[2026-07-27 09:29:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:29:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785124531000,"timestamp_ms":1785124531000,"timestamp_seconds":1785124531,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1b6ab38"} 
[2026-07-27 09:29:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:29:36] 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-07-27 09:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-27 09:29:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:29:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:29:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:29:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:29:36] local.INFO: Teltonika packet parsed successfully {"connection_id":145148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:29:36] local.INFO: Passing IMEI to GPS processor {"connection_id":145148,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:29:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":145148,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:29:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:29:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 09:29:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 09:29:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991802880001,"66":2231,"197":206,"87":13824,"24":0,"16":111588348476260352,"45":9020217497848911872},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-07-27 09:29:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 09:29:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 09:29:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991802880001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:29:36] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-27 09:29:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 09:29:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111588348476260352,"km_value":111588348476260.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:29:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020217497848911872,"description":"Unknown IO ID 45"} 
[2026-07-27 09:29:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991802880001,"power":2231,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020217497848911872}} 
[2026-07-27 09:29:36] local.INFO: DEBUG: GPS processor result {"connection_id":145148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552325,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:29:36] local.INFO: GPS data processed {"connection_id":145148,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:29:36] local.INFO: Acknowledgment sent {"connection_id":145148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:29:36] local.INFO: TCP Data received {"connection_id":145149,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1b908b0012d181fc00721b338004e00da26..."} 
[2026-07-27 09:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145149,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1b908b0012d181fc00721b338004e00da26..."} 
[2026-07-27 09:29:36] local.INFO: Processing buffer {"connection_id":145149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1b908b0012d181fc00721b338004e00da26..."} 
[2026-07-27 09:29:36] local.INFO: Packet analysis {"connection_id":145149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1b9"} 
[2026-07-27 09:29:36] local.INFO: Extracted packet for processing {"connection_id":145149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1b9"} 
[2026-07-27 09:29:36] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119649080,"longitude_deg":75.6555712,"latitude_deg":11.964908,"altitude":78,"angle":218,"satellites":38,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b338","is_valid_coordinates":true} 
[2026-07-27 09:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:29:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991914240001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:29:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8762420478607360,"note":"Value kept but may cause issues"} 
[2026-07-27 09:29:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050998272,"note":"Value kept but may cause issues"} 
[2026-07-27 09:29:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:29:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785124686000,"timestamp_ms":1785124686000,"timestamp_seconds":1785124686,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1b908b0"} 
[2026-07-27 09:29:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:29:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-27 09:29:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:29:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:29:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:29:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:29:36] local.INFO: Teltonika packet parsed successfully {"connection_id":145149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:29:36] local.INFO: Passing IMEI to GPS processor {"connection_id":145149,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:29:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":145149,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:29:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:29:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 09:29:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 09:29:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991914240001,"66":12385,"120":206,"28":31744,"24":0,"16":8762420478607360,"45":1738319118050998272},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 09:29:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 09:29:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 09:29:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991914240001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:29:36] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 09:29:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 09:29:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8762420478607360,"km_value":8762420478607.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:29:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050998272,"description":"Unknown IO ID 45"} 
[2026-07-27 09:29:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991914240001,"power":12385,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738319118050998272}} 
[2026-07-27 09:29:36] local.INFO: DEBUG: GPS processor result {"connection_id":145149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552326,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:29:36] local.INFO: GPS data processed {"connection_id":145149,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:29:36] local.INFO: Acknowledgment sent {"connection_id":145149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:29:37] local.INFO: TCP Data received {"connection_id":143836,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:29:37] local.INFO: Processing buffer {"connection_id":143836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:29:37] local.INFO: IMEI packet received {"connection_id":143836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 09:29:37] local.INFO: IMEI acknowledgment sent {"connection_id":143836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:29:43] local.INFO: TCP Data received {"connection_id":143836,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:29:43] local.INFO: Processing buffer {"connection_id":143836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:29:43] local.INFO: IMEI packet received {"connection_id":143836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 09:29:43] local.INFO: IMEI acknowledgment sent {"connection_id":143836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:29:43] local.INFO: TCP Data received {"connection_id":143836,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1b74390012d7f994005afe448000c014b30..."} 
[2026-07-27 09:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1b74390012d7f994005afe448000c014b30..."} 
[2026-07-27 09:29:43] local.INFO: Processing buffer {"connection_id":143836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1b74390012d7f994005afe448000c014b30..."} 
[2026-07-27 09:29:43] local.INFO: Packet analysis {"connection_id":143836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1b7"} 
[2026-07-27 09:29:43] local.INFO: Extracted packet for processing {"connection_id":143836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1b7"} 
[2026-07-27 09:29:43] local.INFO: GPS Element Parsed {"raw_longitude":763337024,"raw_latitude":95413320,"longitude_deg":76.3337024,"latitude_deg":9.541332,"altitude":12,"angle":331,"satellites":48,"speed":0,"hex_longitude":"2d7f9940","hex_latitude":"05afe448","is_valid_coordinates":true} 
[2026-07-27 09:29:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:29:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991812352001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:29:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826379933908992,"note":"Value kept but may cause issues"} 
[2026-07-27 09:29:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167737344,"note":"Value kept but may cause issues"} 
[2026-07-27 09:29:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:29:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785124570000,"timestamp_ms":1785124570000,"timestamp_seconds":1785124570,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1b74390"} 
[2026-07-27 09:29:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:29:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:29:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-27 09:29:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:29:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:29:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:29:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:29:43] local.INFO: Teltonika packet parsed successfully {"connection_id":143836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:29:43] local.INFO: Passing IMEI to GPS processor {"connection_id":143836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:29:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":143836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:29:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:29:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:29:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:29:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991812352001,"66":26180,"27":206,"85":12544,"24":0,"16":358826379933908992,"45":9194520876167737344},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 09:29:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:29:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:29:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991812352001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:29:43] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 09:29:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:29:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826379933908992,"km_value":358826379933909.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:29:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167737344,"description":"Unknown IO ID 45"} 
[2026-07-27 09:29:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991812352001,"power":26180,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167737344}} 
[2026-07-27 09:29:43] local.INFO: DEBUG: GPS processor result {"connection_id":143836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:29:43] local.INFO: GPS data processed {"connection_id":143836,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:29:43] local.INFO: Acknowledgment sent {"connection_id":143836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:29:48] local.INFO: TCP Data received {"connection_id":143836,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1b74390012d7f994005afe448000c014b30..."} 
[2026-07-27 09:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1b74390012d7f994005afe448000c014b30..."} 
[2026-07-27 09:29:48] local.INFO: Processing buffer {"connection_id":143836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1b74390012d7f994005afe448000c014b30..."} 
[2026-07-27 09:29:48] local.INFO: Packet analysis {"connection_id":143836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1b7"} 
[2026-07-27 09:29:48] local.INFO: Extracted packet for processing {"connection_id":143836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1b7"} 
[2026-07-27 09:29:48] local.INFO: GPS Element Parsed {"raw_longitude":763337024,"raw_latitude":95413320,"longitude_deg":76.3337024,"latitude_deg":9.541332,"altitude":12,"angle":331,"satellites":48,"speed":0,"hex_longitude":"2d7f9940","hex_latitude":"05afe448","is_valid_coordinates":true} 
[2026-07-27 09:29:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:29:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991812352001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:29:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826379933908992,"note":"Value kept but may cause issues"} 
[2026-07-27 09:29:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167737344,"note":"Value kept but may cause issues"} 
[2026-07-27 09:29:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:29:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785124570000,"timestamp_ms":1785124570000,"timestamp_seconds":1785124570,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1b74390"} 
[2026-07-27 09:29:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:29:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:29:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-27 09:29:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:29:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:29:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:29:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:29:48] local.INFO: Teltonika packet parsed successfully {"connection_id":143836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:29:48] local.INFO: Passing IMEI to GPS processor {"connection_id":143836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:29:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":143836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:29:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:29:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:29:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:29:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991812352001,"66":26180,"27":206,"85":12544,"24":0,"16":358826379933908992,"45":9194520876167737344},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 09:29:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:29:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:29:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991812352001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:29:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 09:29:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:29:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826379933908992,"km_value":358826379933909.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:29:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167737344,"description":"Unknown IO ID 45"} 
[2026-07-27 09:29:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991812352001,"power":26180,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167737344}} 
[2026-07-27 09:29:48] local.INFO: DEBUG: GPS processor result {"connection_id":143836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:29:48] local.INFO: GPS data processed {"connection_id":143836,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:29:48] local.INFO: Acknowledgment sent {"connection_id":143836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:30:07] local.INFO: TCP Data received {"connection_id":145148,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1b6ab38012d7d2e4005ec0c18000f012621..."} 
[2026-07-27 09:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145148,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1b6ab38012d7d2e4005ec0c18000f012621..."} 
[2026-07-27 09:30:07] local.INFO: Processing buffer {"connection_id":145148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1b6ab38012d7d2e4005ec0c18000f012621..."} 
[2026-07-27 09:30:07] local.INFO: Packet analysis {"connection_id":145148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1b6"} 
[2026-07-27 09:30:07] local.INFO: Extracted packet for processing {"connection_id":145148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1b6"} 
[2026-07-27 09:30:07] local.INFO: GPS Element Parsed {"raw_longitude":763178560,"raw_latitude":99355672,"longitude_deg":76.317856,"latitude_deg":9.9355672,"altitude":15,"angle":294,"satellites":33,"speed":0,"hex_longitude":"2d7d2e40","hex_latitude":"05ec0c18","is_valid_coordinates":true} 
[2026-07-27 09:30:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:30:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991802880001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:30:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111588348476260352,"note":"Value kept but may cause issues"} 
[2026-07-27 09:30:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020217497848911872,"note":"Value kept but may cause issues"} 
[2026-07-27 09:30:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:30:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785124531000,"timestamp_ms":1785124531000,"timestamp_seconds":1785124531,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1b6ab38"} 
[2026-07-27 09:30:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:30:07] 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-07-27 09:30:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-27 09:30:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:30:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:30:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:30:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:30:07] local.INFO: Teltonika packet parsed successfully {"connection_id":145148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:30:07] local.INFO: Passing IMEI to GPS processor {"connection_id":145148,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:30:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":145148,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:30:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:30:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 09:30:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 09:30:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991802880001,"66":2231,"197":206,"87":13824,"24":0,"16":111588348476260352,"45":9020217497848911872},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-07-27 09:30:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 09:30:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 09:30:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991802880001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:30:07] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-27 09:30:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 09:30:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111588348476260352,"km_value":111588348476260.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:30:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020217497848911872,"description":"Unknown IO ID 45"} 
[2026-07-27 09:30:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991802880001,"power":2231,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020217497848911872}} 
[2026-07-27 09:30:07] local.INFO: DEBUG: GPS processor result {"connection_id":145148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552329,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:30:07] local.INFO: GPS data processed {"connection_id":145148,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:30:07] local.INFO: Acknowledgment sent {"connection_id":145148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:30:08] local.INFO: TCP Data received {"connection_id":145149,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1b95ab8012d181fc00721b338004e00da26..."} 
[2026-07-27 09:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145149,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1b95ab8012d181fc00721b338004e00da26..."} 
[2026-07-27 09:30:08] local.INFO: Processing buffer {"connection_id":145149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1b95ab8012d181fc00721b338004e00da26..."} 
[2026-07-27 09:30:08] local.INFO: Packet analysis {"connection_id":145149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1b9"} 
[2026-07-27 09:30:08] local.INFO: Extracted packet for processing {"connection_id":145149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1b9"} 
[2026-07-27 09:30:08] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119649080,"longitude_deg":75.6555712,"latitude_deg":11.964908,"altitude":78,"angle":218,"satellites":38,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b338","is_valid_coordinates":true} 
[2026-07-27 09:30:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:30:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991919616001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:30:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8762420478607360,"note":"Value kept but may cause issues"} 
[2026-07-27 09:30:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050998272,"note":"Value kept but may cause issues"} 
[2026-07-27 09:30:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:30:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785124707000,"timestamp_ms":1785124707000,"timestamp_seconds":1785124707,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1b95ab8"} 
[2026-07-27 09:30:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:30:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09:30:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-27 09:30:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:30:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:30:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:30:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:30:08] local.INFO: Teltonika packet parsed successfully {"connection_id":145149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:30:08] local.INFO: Passing IMEI to GPS processor {"connection_id":145149,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:30:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":145149,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:30:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:30:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 09:30:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 09:30:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991919616001,"66":12385,"120":206,"28":31744,"24":0,"16":8762420478607360,"45":1738319118050998272},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 09:30:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 09:30:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 09:30:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991919616001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:30:08] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 09:30:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 09:30:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8762420478607360,"km_value":8762420478607.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:30:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050998272,"description":"Unknown IO ID 45"} 
[2026-07-27 09:30:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991919616001,"power":12385,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738319118050998272}} 
[2026-07-27 09:30:08] local.INFO: DEBUG: GPS processor result {"connection_id":145149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552330,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:30:08] local.INFO: GPS data processed {"connection_id":145149,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:30:08] local.INFO: Acknowledgment sent {"connection_id":145149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:30:30] local.INFO: TCP Data received {"connection_id":142717,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142717,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:30:30] local.INFO: Processing buffer {"connection_id":142717,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:30:30] local.INFO: IMEI packet received {"connection_id":142717,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 09:30:30] local.INFO: IMEI acknowledgment sent {"connection_id":142717,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:30:30] local.INFO: TCP Data received {"connection_id":142845,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142845,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:30:30] local.INFO: Processing buffer {"connection_id":142845,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:30:30] local.INFO: IMEI packet received {"connection_id":142845,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 09:30:30] local.INFO: IMEI acknowledgment sent {"connection_id":142845,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:30:32] local.INFO: TCP Data received {"connection_id":145150,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:30:32] local.INFO: Processing buffer {"connection_id":145150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:30:32] local.INFO: IMEI packet received {"connection_id":145150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 09:30:32] local.INFO: IMEI acknowledgment sent {"connection_id":145150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:30:34] local.INFO: TCP Data received {"connection_id":142845,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142845,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:30:34] local.INFO: Processing buffer {"connection_id":142845,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:30:34] local.INFO: IMEI packet received {"connection_id":142845,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 09:30:34] local.INFO: IMEI acknowledgment sent {"connection_id":142845,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:30:35] local.INFO: TCP Data received {"connection_id":142845,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142845,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:30:35] local.INFO: Processing buffer {"connection_id":142845,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:30:35] local.INFO: IMEI packet received {"connection_id":142845,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 09:30:35] local.INFO: IMEI acknowledgment sent {"connection_id":142845,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:30:35] local.INFO: TCP Data received {"connection_id":142717,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142717,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:30:35] local.INFO: Processing buffer {"connection_id":142717,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:30:35] local.INFO: IMEI packet received {"connection_id":142717,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 09:30:35] local.INFO: IMEI acknowledgment sent {"connection_id":142717,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:30:35] local.INFO: TCP Data received {"connection_id":142845,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1bb4300012d7d2e4005ec0c180013012620..."} 
[2026-07-27 09:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1bb4300012d7d2e4005ec0c180013012620..."} 
[2026-07-27 09:30:35] local.INFO: Processing buffer {"connection_id":142845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1bb4300012d7d2e4005ec0c180013012620..."} 
[2026-07-27 09:30:35] local.INFO: Packet analysis {"connection_id":142845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1bb"} 
[2026-07-27 09:30:35] local.INFO: Extracted packet for processing {"connection_id":142845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1bb"} 
[2026-07-27 09:30:35] local.INFO: GPS Element Parsed {"raw_longitude":763178560,"raw_latitude":99355672,"longitude_deg":76.317856,"latitude_deg":9.9355672,"altitude":19,"angle":294,"satellites":32,"speed":0,"hex_longitude":"2d7d2e40","hex_latitude":"05ec0c18","is_valid_coordinates":true} 
[2026-07-27 09:30:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:30:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991879936001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:30:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111588348476260352,"note":"Value kept but may cause issues"} 
[2026-07-27 09:30:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020217497848911872,"note":"Value kept but may cause issues"} 
[2026-07-27 09:30:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:30:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785124832000,"timestamp_ms":1785124832000,"timestamp_seconds":1785124832,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1bb4300"} 
[2026-07-27 09:30:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:30:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:30:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-27 09:30:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:30:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:30:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:30:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:30:35] local.INFO: Teltonika packet parsed successfully {"connection_id":142845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:30:35] local.INFO: Passing IMEI to GPS processor {"connection_id":142845,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:30:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":142845,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:30:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:30:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 09:30:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 09:30:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991879936001,"66":2209,"197":206,"87":13824,"24":0,"16":111588348476260352,"45":9020217497848911872},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-07-27 09:30:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 09:30:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 09:30:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991879936001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:30:35] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-27 09:30:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 09:30:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111588348476260352,"km_value":111588348476260.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:30:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020217497848911872,"description":"Unknown IO ID 45"} 
[2026-07-27 09:30:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991879936001,"power":2209,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020217497848911872}} 
[2026-07-27 09:30:35] local.INFO: DEBUG: GPS processor result {"connection_id":142845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552331,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:30:35] local.INFO: GPS data processed {"connection_id":142845,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:30:35] local.INFO: Acknowledgment sent {"connection_id":142845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:30:36] local.INFO: TCP Data received {"connection_id":142717,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1b9acc0012d181fc00721b338004e00da27..."} 
[2026-07-27 09:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1b9acc0012d181fc00721b338004e00da27..."} 
[2026-07-27 09:30:36] local.INFO: Processing buffer {"connection_id":142717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1b9acc0012d181fc00721b338004e00da27..."} 
[2026-07-27 09:30:36] local.INFO: Packet analysis {"connection_id":142717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1b9"} 
[2026-07-27 09:30:36] local.INFO: Extracted packet for processing {"connection_id":142717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1b9"} 
[2026-07-27 09:30:36] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119649080,"longitude_deg":75.6555712,"latitude_deg":11.964908,"altitude":78,"angle":218,"satellites":39,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b338","is_valid_coordinates":true} 
[2026-07-27 09:30:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:30:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991924992001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:30:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8762420478607360,"note":"Value kept but may cause issues"} 
[2026-07-27 09:30:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050998272,"note":"Value kept but may cause issues"} 
[2026-07-27 09:30:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:30:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785124728000,"timestamp_ms":1785124728000,"timestamp_seconds":1785124728,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1b9acc0"} 
[2026-07-27 09:30:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:30:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09:30:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-27 09:30:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:30:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:30:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:30:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:30:36] local.INFO: Teltonika packet parsed successfully {"connection_id":142717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:30:36] local.INFO: Passing IMEI to GPS processor {"connection_id":142717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:30:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":142717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:30:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:30:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 09:30:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 09:30:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991924992001,"66":12385,"120":206,"28":31744,"24":0,"16":8762420478607360,"45":1738319118050998272},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 09:30:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 09:30:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 09:30:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991924992001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:30:36] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 09:30:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 09:30:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8762420478607360,"km_value":8762420478607.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:30:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050998272,"description":"Unknown IO ID 45"} 
[2026-07-27 09:30:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991924992001,"power":12385,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738319118050998272}} 
[2026-07-27 09:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":142717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552332,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:30:37] local.INFO: GPS data processed {"connection_id":142717,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:30:37] local.INFO: Acknowledgment sent {"connection_id":142717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:30:37] local.INFO: TCP Data received {"connection_id":145150,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:30:37] local.INFO: Processing buffer {"connection_id":145150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:30:37] local.INFO: IMEI packet received {"connection_id":145150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 09:30:37] local.INFO: IMEI acknowledgment sent {"connection_id":145150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:30:38] local.INFO: TCP Data received {"connection_id":145150,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1b74390012d7f994005afe448000c014b30..."} 
[2026-07-27 09:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145150,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1b74390012d7f994005afe448000c014b30..."} 
[2026-07-27 09:30:38] local.INFO: Processing buffer {"connection_id":145150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1b74390012d7f994005afe448000c014b30..."} 
[2026-07-27 09:30:38] local.INFO: Packet analysis {"connection_id":145150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1b7"} 
[2026-07-27 09:30:38] local.INFO: Extracted packet for processing {"connection_id":145150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1b7"} 
[2026-07-27 09:30:38] local.INFO: GPS Element Parsed {"raw_longitude":763337024,"raw_latitude":95413320,"longitude_deg":76.3337024,"latitude_deg":9.541332,"altitude":12,"angle":331,"satellites":48,"speed":0,"hex_longitude":"2d7f9940","hex_latitude":"05afe448","is_valid_coordinates":true} 
[2026-07-27 09:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:30:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991812352001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:30:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826379933908992,"note":"Value kept but may cause issues"} 
[2026-07-27 09:30:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167737344,"note":"Value kept but may cause issues"} 
[2026-07-27 09:30:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:30:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785124570000,"timestamp_ms":1785124570000,"timestamp_seconds":1785124570,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1b74390"} 
[2026-07-27 09:30:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:30:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-27 09:30:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:30:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:30:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:30:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:30:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:30:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:30:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:30:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:30:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:30:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:30:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991812352001,"66":26180,"27":206,"85":12544,"24":0,"16":358826379933908992,"45":9194520876167737344},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 09:30:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:30:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:30:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991812352001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:30:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 09:30:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:30:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826379933908992,"km_value":358826379933909.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:30:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167737344,"description":"Unknown IO ID 45"} 
[2026-07-27 09:30:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991812352001,"power":26180,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167737344}} 
[2026-07-27 09:30:38] local.INFO: DEBUG: GPS processor result {"connection_id":145150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:30:38] local.INFO: GPS data processed {"connection_id":145150,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:30:38] local.INFO: Acknowledgment sent {"connection_id":145150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:30:40] local.INFO: TCP Data received {"connection_id":142845,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1bb4300012d7d2e4005ec0c180013012620..."} 
[2026-07-27 09:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1bb4300012d7d2e4005ec0c180013012620..."} 
[2026-07-27 09:30:40] local.INFO: Processing buffer {"connection_id":142845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1bb4300012d7d2e4005ec0c180013012620..."} 
[2026-07-27 09:30:40] local.INFO: Packet analysis {"connection_id":142845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1bb"} 
[2026-07-27 09:30:40] local.INFO: Extracted packet for processing {"connection_id":142845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1bb"} 
[2026-07-27 09:30:40] local.INFO: GPS Element Parsed {"raw_longitude":763178560,"raw_latitude":99355672,"longitude_deg":76.317856,"latitude_deg":9.9355672,"altitude":19,"angle":294,"satellites":32,"speed":0,"hex_longitude":"2d7d2e40","hex_latitude":"05ec0c18","is_valid_coordinates":true} 
[2026-07-27 09:30:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:30:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991879936001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:30:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111588348476260352,"note":"Value kept but may cause issues"} 
[2026-07-27 09:30:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020217497848911872,"note":"Value kept but may cause issues"} 
[2026-07-27 09:30:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:30:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785124832000,"timestamp_ms":1785124832000,"timestamp_seconds":1785124832,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1bb4300"} 
[2026-07-27 09:30:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:30:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:30:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-27 09:30:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:30:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:30:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:30:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:30:40] local.INFO: Teltonika packet parsed successfully {"connection_id":142845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:30:40] local.INFO: Passing IMEI to GPS processor {"connection_id":142845,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:30:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":142845,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:30:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:30:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 09:30:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 09:30:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991879936001,"66":2209,"197":206,"87":13824,"24":0,"16":111588348476260352,"45":9020217497848911872},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-07-27 09:30:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 09:30:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 09:30:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991879936001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:30:40] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-27 09:30:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 09:30:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111588348476260352,"km_value":111588348476260.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:30:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020217497848911872,"description":"Unknown IO ID 45"} 
[2026-07-27 09:30:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991879936001,"power":2209,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020217497848911872}} 
[2026-07-27 09:30:40] local.INFO: DEBUG: GPS processor result {"connection_id":142845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552334,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:30:40] local.INFO: GPS data processed {"connection_id":142845,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:30:40] local.INFO: Acknowledgment sent {"connection_id":142845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:31:08] local.INFO: TCP Data received {"connection_id":142717,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1b9fec8012d181fc00721b338004e00da28..."} 
[2026-07-27 09:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1b9fec8012d181fc00721b338004e00da28..."} 
[2026-07-27 09:31:08] local.INFO: Processing buffer {"connection_id":142717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1b9fec8012d181fc00721b338004e00da28..."} 
[2026-07-27 09:31:08] local.INFO: Packet analysis {"connection_id":142717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1b9"} 
[2026-07-27 09:31:08] local.INFO: Extracted packet for processing {"connection_id":142717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1b9"} 
[2026-07-27 09:31:08] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119649080,"longitude_deg":75.6555712,"latitude_deg":11.964908,"altitude":78,"angle":218,"satellites":40,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b338","is_valid_coordinates":true} 
[2026-07-27 09:31:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:31:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991930368001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:31:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8762420478607360,"note":"Value kept but may cause issues"} 
[2026-07-27 09:31:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050998272,"note":"Value kept but may cause issues"} 
[2026-07-27 09:31:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:31:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785124749000,"timestamp_ms":1785124749000,"timestamp_seconds":1785124749,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1b9fec8"} 
[2026-07-27 09:31:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:31:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09:31:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-27 09:31:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:31:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:31:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:31:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:31:08] local.INFO: Teltonika packet parsed successfully {"connection_id":142717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:31:08] local.INFO: Passing IMEI to GPS processor {"connection_id":142717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:31:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":142717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:31:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:31:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 09:31:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 09:31:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991930368001,"66":12363,"120":206,"28":31744,"24":0,"16":8762420478607360,"45":1738319118050998272},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 09:31:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 09:31:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 09:31:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991930368001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:31:08] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 09:31:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 09:31:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8762420478607360,"km_value":8762420478607.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:31:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050998272,"description":"Unknown IO ID 45"} 
[2026-07-27 09:31:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991930368001,"power":12363,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738319118050998272}} 
[2026-07-27 09:31:08] local.INFO: DEBUG: GPS processor result {"connection_id":142717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552335,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:31:08] local.INFO: GPS data processed {"connection_id":142717,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:31:08] local.INFO: Acknowledgment sent {"connection_id":142717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:31:09] local.INFO: TCP Data received {"connection_id":145150,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1b74390012d7f994005afe448000c014b30..."} 
[2026-07-27 09:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145150,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1b74390012d7f994005afe448000c014b30..."} 
[2026-07-27 09:31:09] local.INFO: Processing buffer {"connection_id":145150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1b74390012d7f994005afe448000c014b30..."} 
[2026-07-27 09:31:09] local.INFO: Packet analysis {"connection_id":145150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1b7"} 
[2026-07-27 09:31:09] local.INFO: Extracted packet for processing {"connection_id":145150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1b7"} 
[2026-07-27 09:31:09] local.INFO: GPS Element Parsed {"raw_longitude":763337024,"raw_latitude":95413320,"longitude_deg":76.3337024,"latitude_deg":9.541332,"altitude":12,"angle":331,"satellites":48,"speed":0,"hex_longitude":"2d7f9940","hex_latitude":"05afe448","is_valid_coordinates":true} 
[2026-07-27 09:31:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:31:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991812352001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:31:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826379933908992,"note":"Value kept but may cause issues"} 
[2026-07-27 09:31:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167737344,"note":"Value kept but may cause issues"} 
[2026-07-27 09:31:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:31:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785124570000,"timestamp_ms":1785124570000,"timestamp_seconds":1785124570,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1b74390"} 
[2026-07-27 09:31:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:31:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:31:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-27 09:31:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:31:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:31:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:31:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:31:09] local.INFO: Teltonika packet parsed successfully {"connection_id":145150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:31:09] local.INFO: Passing IMEI to GPS processor {"connection_id":145150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:31:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":145150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:31:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:31:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:31:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:31:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991812352001,"66":26180,"27":206,"85":12544,"24":0,"16":358826379933908992,"45":9194520876167737344},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 09:31:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:31:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:31:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991812352001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:31:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 09:31:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:31:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826379933908992,"km_value":358826379933909.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:31:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167737344,"description":"Unknown IO ID 45"} 
[2026-07-27 09:31:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991812352001,"power":26180,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167737344}} 
[2026-07-27 09:31:09] local.INFO: DEBUG: GPS processor result {"connection_id":145150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:31:09] local.INFO: GPS data processed {"connection_id":145150,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:31:09] local.INFO: Acknowledgment sent {"connection_id":145150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:31:12] local.INFO: TCP Data received {"connection_id":142845,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1bb4300012d7d2e4005ec0c180013012620..."} 
[2026-07-27 09:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1bb4300012d7d2e4005ec0c180013012620..."} 
[2026-07-27 09:31:12] local.INFO: Processing buffer {"connection_id":142845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1bb4300012d7d2e4005ec0c180013012620..."} 
[2026-07-27 09:31:12] local.INFO: Packet analysis {"connection_id":142845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1bb"} 
[2026-07-27 09:31:12] local.INFO: Extracted packet for processing {"connection_id":142845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1bb"} 
[2026-07-27 09:31:12] local.INFO: GPS Element Parsed {"raw_longitude":763178560,"raw_latitude":99355672,"longitude_deg":76.317856,"latitude_deg":9.9355672,"altitude":19,"angle":294,"satellites":32,"speed":0,"hex_longitude":"2d7d2e40","hex_latitude":"05ec0c18","is_valid_coordinates":true} 
[2026-07-27 09:31:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:31:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991879936001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:31:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111588348476260352,"note":"Value kept but may cause issues"} 
[2026-07-27 09:31:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020217497848911872,"note":"Value kept but may cause issues"} 
[2026-07-27 09:31:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:31:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785124832000,"timestamp_ms":1785124832000,"timestamp_seconds":1785124832,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1bb4300"} 
[2026-07-27 09:31:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:31:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-27 09:31:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:31:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:31:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:31:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:31:12] local.INFO: Teltonika packet parsed successfully {"connection_id":142845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:31:12] local.INFO: Passing IMEI to GPS processor {"connection_id":142845,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:31:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":142845,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:31:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:31:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 09:31:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 09:31:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991879936001,"66":2209,"197":206,"87":13824,"24":0,"16":111588348476260352,"45":9020217497848911872},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-07-27 09:31:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 09:31:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 09:31:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991879936001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:31:12] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-27 09:31:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 09:31:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111588348476260352,"km_value":111588348476260.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:31:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020217497848911872,"description":"Unknown IO ID 45"} 
[2026-07-27 09:31:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991879936001,"power":2209,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020217497848911872}} 
[2026-07-27 09:31:12] local.INFO: DEBUG: GPS processor result {"connection_id":142845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552337,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:31:12] local.INFO: GPS data processed {"connection_id":142845,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:31:12] local.INFO: Acknowledgment sent {"connection_id":142845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:31:30] local.INFO: TCP Data received {"connection_id":142719,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142719,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:31:30] local.INFO: Processing buffer {"connection_id":142719,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:31:30] local.INFO: IMEI packet received {"connection_id":142719,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 09:31:30] local.INFO: IMEI acknowledgment sent {"connection_id":142719,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:31:32] local.INFO: TCP Data received {"connection_id":142720,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142720,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:31:32] local.INFO: Processing buffer {"connection_id":142720,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:31:32] local.INFO: IMEI packet received {"connection_id":142720,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 09:31:32] local.INFO: IMEI acknowledgment sent {"connection_id":142720,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:31:32] local.INFO: TCP Data received {"connection_id":142846,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:31:32] local.INFO: Processing buffer {"connection_id":142846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:31:32] local.INFO: IMEI packet received {"connection_id":142846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 09:31:32] local.INFO: IMEI acknowledgment sent {"connection_id":142846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:31:35] local.INFO: TCP Data received {"connection_id":142720,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142720,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:31:35] local.INFO: Processing buffer {"connection_id":142720,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:31:35] local.INFO: IMEI packet received {"connection_id":142720,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 09:31:35] local.INFO: IMEI acknowledgment sent {"connection_id":142720,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:31:35] local.INFO: TCP Data received {"connection_id":142719,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142719,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:31:35] local.INFO: Processing buffer {"connection_id":142719,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:31:35] local.INFO: IMEI packet received {"connection_id":142719,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 09:31:35] local.INFO: IMEI acknowledgment sent {"connection_id":142719,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:31:36] local.INFO: TCP Data received {"connection_id":142719,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1bb4300012d7d2e4005ec0c180013012620..."} 
[2026-07-27 09:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1bb4300012d7d2e4005ec0c180013012620..."} 
[2026-07-27 09:31:36] local.INFO: Processing buffer {"connection_id":142719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1bb4300012d7d2e4005ec0c180013012620..."} 
[2026-07-27 09:31:36] local.INFO: Packet analysis {"connection_id":142719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1bb"} 
[2026-07-27 09:31:36] local.INFO: Extracted packet for processing {"connection_id":142719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1bb"} 
[2026-07-27 09:31:36] local.INFO: GPS Element Parsed {"raw_longitude":763178560,"raw_latitude":99355672,"longitude_deg":76.317856,"latitude_deg":9.9355672,"altitude":19,"angle":294,"satellites":32,"speed":0,"hex_longitude":"2d7d2e40","hex_latitude":"05ec0c18","is_valid_coordinates":true} 
[2026-07-27 09:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:31:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991879936001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:31:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111588348476260352,"note":"Value kept but may cause issues"} 
[2026-07-27 09:31:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020217497848911872,"note":"Value kept but may cause issues"} 
[2026-07-27 09:31:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:31:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785124832000,"timestamp_ms":1785124832000,"timestamp_seconds":1785124832,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1bb4300"} 
[2026-07-27 09:31:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:31:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-27 09:31:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:31:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:31:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:31:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:31:36] local.INFO: Teltonika packet parsed successfully {"connection_id":142719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:31:36] local.INFO: Passing IMEI to GPS processor {"connection_id":142719,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:31:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":142719,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:31:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:31:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 09:31:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 09:31:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991879936001,"66":2209,"197":206,"87":13824,"24":0,"16":111588348476260352,"45":9020217497848911872},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-07-27 09:31:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 09:31:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 09:31:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991879936001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:31:36] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-27 09:31:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 09:31:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111588348476260352,"km_value":111588348476260.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:31:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020217497848911872,"description":"Unknown IO ID 45"} 
[2026-07-27 09:31:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991879936001,"power":2209,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020217497848911872}} 
[2026-07-27 09:31:36] local.INFO: DEBUG: GPS processor result {"connection_id":142719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552338,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:31:36] local.INFO: GPS data processed {"connection_id":142719,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:31:36] local.INFO: Acknowledgment sent {"connection_id":142719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:31:38] local.INFO: TCP Data received {"connection_id":142846,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:31:38] local.INFO: Processing buffer {"connection_id":142846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:31:38] local.INFO: IMEI packet received {"connection_id":142846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 09:31:38] local.INFO: IMEI acknowledgment sent {"connection_id":142846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:31:38] local.INFO: TCP Data received {"connection_id":142846,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1b74390012d7f994005afe448000c014b30..."} 
[2026-07-27 09:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1b74390012d7f994005afe448000c014b30..."} 
[2026-07-27 09:31:38] local.INFO: Processing buffer {"connection_id":142846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1b74390012d7f994005afe448000c014b30..."} 
[2026-07-27 09:31:38] local.INFO: Packet analysis {"connection_id":142846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1b7"} 
[2026-07-27 09:31:38] local.INFO: Extracted packet for processing {"connection_id":142846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1b7"} 
[2026-07-27 09:31:38] local.INFO: GPS Element Parsed {"raw_longitude":763337024,"raw_latitude":95413320,"longitude_deg":76.3337024,"latitude_deg":9.541332,"altitude":12,"angle":331,"satellites":48,"speed":0,"hex_longitude":"2d7f9940","hex_latitude":"05afe448","is_valid_coordinates":true} 
[2026-07-27 09:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:31:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991812352001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:31:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826379933908992,"note":"Value kept but may cause issues"} 
[2026-07-27 09:31:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167737344,"note":"Value kept but may cause issues"} 
[2026-07-27 09:31:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:31:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785124570000,"timestamp_ms":1785124570000,"timestamp_seconds":1785124570,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1b74390"} 
[2026-07-27 09:31:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:31:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-27 09:31:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:31:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:31:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:31:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:31:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:31:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:31:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:31:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:31:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:31:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:31:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991812352001,"66":26180,"27":206,"85":12544,"24":0,"16":358826379933908992,"45":9194520876167737344},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 09:31:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:31:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:31:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991812352001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:31:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 09:31:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:31:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826379933908992,"km_value":358826379933909.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:31:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167737344,"description":"Unknown IO ID 45"} 
[2026-07-27 09:31:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991812352001,"power":26180,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167737344}} 
[2026-07-27 09:31:38] local.INFO: DEBUG: GPS processor result {"connection_id":142846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:31:38] local.INFO: GPS data processed {"connection_id":142846,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:31:38] local.INFO: Acknowledgment sent {"connection_id":142846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:31:40] local.INFO: TCP Data received {"connection_id":142720,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142720,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:31:40] local.INFO: Processing buffer {"connection_id":142720,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:31:40] local.INFO: IMEI packet received {"connection_id":142720,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 09:31:40] local.INFO: IMEI acknowledgment sent {"connection_id":142720,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:31:42] local.INFO: TCP Data received {"connection_id":142720,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1ba50d0012d181fc00721b338004e00da29..."} 
[2026-07-27 09:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1ba50d0012d181fc00721b338004e00da29..."} 
[2026-07-27 09:31:42] local.INFO: Processing buffer {"connection_id":142720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1ba50d0012d181fc00721b338004e00da29..."} 
[2026-07-27 09:31:42] local.INFO: Packet analysis {"connection_id":142720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1ba"} 
[2026-07-27 09:31:42] local.INFO: Extracted packet for processing {"connection_id":142720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1ba"} 
[2026-07-27 09:31:42] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119649080,"longitude_deg":75.6555712,"latitude_deg":11.964908,"altitude":78,"angle":218,"satellites":41,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b338","is_valid_coordinates":true} 
[2026-07-27 09:31:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:31:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991935744001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:31:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8762420478607360,"note":"Value kept but may cause issues"} 
[2026-07-27 09:31:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050998272,"note":"Value kept but may cause issues"} 
[2026-07-27 09:31:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:31:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785124770000,"timestamp_ms":1785124770000,"timestamp_seconds":1785124770,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1ba50d0"} 
[2026-07-27 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-07-27 09:31:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-27 09:31:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 09:31:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:31:42] local.INFO: Teltonika packet parsed successfully {"connection_id":142720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:31:42] local.INFO: Passing IMEI to GPS processor {"connection_id":142720,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:31:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":142720,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:31:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:31:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 09:31:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 09:31:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991935744001,"66":12385,"120":206,"28":31744,"24":0,"16":8762420478607360,"45":1738319118050998272},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 09:31:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 09:31:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 09:31:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991935744001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:31:42] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 09:31:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 09:31:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8762420478607360,"km_value":8762420478607.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:31:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050998272,"description":"Unknown IO ID 45"} 
[2026-07-27 09:31:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991935744001,"power":12385,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738319118050998272}} 
[2026-07-27 09:31:42] local.INFO: DEBUG: GPS processor result {"connection_id":142720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552340,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:31:42] local.INFO: GPS data processed {"connection_id":142720,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:31:42] local.INFO: Acknowledgment sent {"connection_id":142720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:31:46] local.INFO: TCP Data received {"connection_id":142720,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1baa2d8012d181fc00721b338004e00da28..."} 
[2026-07-27 09:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1baa2d8012d181fc00721b338004e00da28..."} 
[2026-07-27 09:31:46] local.INFO: Processing buffer {"connection_id":142720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1baa2d8012d181fc00721b338004e00da28..."} 
[2026-07-27 09:31:46] local.INFO: Packet analysis {"connection_id":142720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1ba"} 
[2026-07-27 09:31:46] local.INFO: Extracted packet for processing {"connection_id":142720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1ba"} 
[2026-07-27 09:31:46] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119649080,"longitude_deg":75.6555712,"latitude_deg":11.964908,"altitude":78,"angle":218,"satellites":40,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b338","is_valid_coordinates":true} 
[2026-07-27 09:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:31:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991941120001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:31:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8762420478607360,"note":"Value kept but may cause issues"} 
[2026-07-27 09:31:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050998272,"note":"Value kept but may cause issues"} 
[2026-07-27 09:31: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-07-27 09:31:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785124791000,"timestamp_ms":1785124791000,"timestamp_seconds":1785124791,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1baa2d8"} 
[2026-07-27 09:31:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:31:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-27 09:31:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:31:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:31:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:31:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:31:46] local.INFO: Teltonika packet parsed successfully {"connection_id":142720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:31:46] local.INFO: Passing IMEI to GPS processor {"connection_id":142720,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:31:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":142720,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:31:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:31:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 09:31:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 09:31:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991941120001,"66":12374,"120":206,"28":31744,"24":0,"16":8762420478607360,"45":1738319118050998272},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 09:31:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 09:31:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 09:31:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991941120001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:31:46] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 09:31:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 09:31:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8762420478607360,"km_value":8762420478607.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:31:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050998272,"description":"Unknown IO ID 45"} 
[2026-07-27 09:31:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991941120001,"power":12374,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738319118050998272}} 
[2026-07-27 09:31:46] local.INFO: DEBUG: GPS processor result {"connection_id":142720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552341,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:31:46] local.INFO: GPS data processed {"connection_id":142720,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:31:46] local.INFO: Acknowledgment sent {"connection_id":142720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:32:07] local.INFO: TCP Data received {"connection_id":142719,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1bb4300012d7d2e4005ec0c180013012620..."} 
[2026-07-27 09:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1bb4300012d7d2e4005ec0c180013012620..."} 
[2026-07-27 09:32:07] local.INFO: Processing buffer {"connection_id":142719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1bb4300012d7d2e4005ec0c180013012620..."} 
[2026-07-27 09:32:07] local.INFO: Packet analysis {"connection_id":142719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1bb"} 
[2026-07-27 09:32:07] local.INFO: Extracted packet for processing {"connection_id":142719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1bb"} 
[2026-07-27 09:32:07] local.INFO: GPS Element Parsed {"raw_longitude":763178560,"raw_latitude":99355672,"longitude_deg":76.317856,"latitude_deg":9.9355672,"altitude":19,"angle":294,"satellites":32,"speed":0,"hex_longitude":"2d7d2e40","hex_latitude":"05ec0c18","is_valid_coordinates":true} 
[2026-07-27 09:32:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:32:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991879936001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:32:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111588348476260352,"note":"Value kept but may cause issues"} 
[2026-07-27 09:32:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020217497848911872,"note":"Value kept but may cause issues"} 
[2026-07-27 09:32:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:32:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785124832000,"timestamp_ms":1785124832000,"timestamp_seconds":1785124832,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1bb4300"} 
[2026-07-27 09:32:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:32:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:32:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-27 09:32:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:32:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:32:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:32:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:32:07] local.INFO: Teltonika packet parsed successfully {"connection_id":142719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:32:07] local.INFO: Passing IMEI to GPS processor {"connection_id":142719,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:32:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":142719,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:32:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:32:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 09:32:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 09:32:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991879936001,"66":2209,"197":206,"87":13824,"24":0,"16":111588348476260352,"45":9020217497848911872},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-07-27 09:32:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 09:32:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 09:32:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991879936001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:32:07] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-27 09:32:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 09:32:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111588348476260352,"km_value":111588348476260.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:32:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020217497848911872,"description":"Unknown IO ID 45"} 
[2026-07-27 09:32:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991879936001,"power":2209,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020217497848911872}} 
[2026-07-27 09:32:07] local.INFO: DEBUG: GPS processor result {"connection_id":142719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552342,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:32:07] local.INFO: GPS data processed {"connection_id":142719,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:32:07] local.INFO: Acknowledgment sent {"connection_id":142719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:32:09] local.INFO: TCP Data received {"connection_id":142846,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1bbdb58012d7f994005afe4480007014b2e..."} 
[2026-07-27 09:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1bbdb58012d7f994005afe4480007014b2e..."} 
[2026-07-27 09:32:09] local.INFO: Processing buffer {"connection_id":142846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1bbdb58012d7f994005afe4480007014b2e..."} 
[2026-07-27 09:32:09] local.INFO: Packet analysis {"connection_id":142846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1bb"} 
[2026-07-27 09:32:09] local.INFO: Extracted packet for processing {"connection_id":142846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1bb"} 
[2026-07-27 09:32:09] local.INFO: GPS Element Parsed {"raw_longitude":763337024,"raw_latitude":95413320,"longitude_deg":76.3337024,"latitude_deg":9.541332,"altitude":7,"angle":331,"satellites":46,"speed":0,"hex_longitude":"2d7f9940","hex_latitude":"05afe448","is_valid_coordinates":true} 
[2026-07-27 09:32:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:32:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991889920001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:32:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826379933908992,"note":"Value kept but may cause issues"} 
[2026-07-27 09:32:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194450507423565824,"note":"Value kept but may cause issues"} 
[2026-07-27 09:32:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:32:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785124871000,"timestamp_ms":1785124871000,"timestamp_seconds":1785124871,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1bbdb58"} 
[2026-07-27 09:32:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:32:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09: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":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-07-27 09:32:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:32:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:32:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:32:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:32:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:32:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:32:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:32:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:32:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:32:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:32:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991889920001,"66":25952,"27":206,"85":12544,"24":0,"16":358826379933908992,"45":9194450507423565824},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 09:32:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:32:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:32:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991889920001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:32:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 09:32:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:32:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826379933908992,"km_value":358826379933909.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:32:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194450507423565824,"description":"Unknown IO ID 45"} 
[2026-07-27 09:32:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991889920001,"power":25952,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194450507423565824}} 
[2026-07-27 09:32:09] local.INFO: DEBUG: GPS processor result {"connection_id":142846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:32:09] local.INFO: GPS data processed {"connection_id":142846,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:32:09] local.INFO: Acknowledgment sent {"connection_id":142846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:32:30] local.INFO: TCP Data received {"connection_id":145151,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145151,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:32:30] local.INFO: Processing buffer {"connection_id":145151,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:32:30] local.INFO: IMEI packet received {"connection_id":145151,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 09:32:30] local.INFO: IMEI acknowledgment sent {"connection_id":145151,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:32:30] local.INFO: TCP Data received {"connection_id":145152,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145152,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:32:30] local.INFO: Processing buffer {"connection_id":145152,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:32:30] local.INFO: IMEI packet received {"connection_id":145152,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 09:32:30] local.INFO: IMEI acknowledgment sent {"connection_id":145152,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:32:32] local.INFO: TCP Data received {"connection_id":142722,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:32:32] local.INFO: Processing buffer {"connection_id":142722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:32:32] local.INFO: IMEI packet received {"connection_id":142722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 09:32:32] local.INFO: IMEI acknowledgment sent {"connection_id":142722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:32:35] local.INFO: TCP Data received {"connection_id":145151,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145151,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:32:35] local.INFO: Processing buffer {"connection_id":145151,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:32:35] local.INFO: IMEI packet received {"connection_id":145151,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 09:32:35] local.INFO: IMEI acknowledgment sent {"connection_id":145151,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:32:35] local.INFO: TCP Data received {"connection_id":145152,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145152,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:32:35] local.INFO: Processing buffer {"connection_id":145152,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:32:35] local.INFO: IMEI packet received {"connection_id":145152,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 09:32:35] local.INFO: IMEI acknowledgment sent {"connection_id":145152,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:32:36] local.INFO: TCP Data received {"connection_id":145151,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1baf4e0012d181fc00721b338004e00da27..."} 
[2026-07-27 09:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1baf4e0012d181fc00721b338004e00da27..."} 
[2026-07-27 09:32:36] local.INFO: Processing buffer {"connection_id":145151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1baf4e0012d181fc00721b338004e00da27..."} 
[2026-07-27 09:32:36] local.INFO: Packet analysis {"connection_id":145151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1ba"} 
[2026-07-27 09:32:36] local.INFO: Extracted packet for processing {"connection_id":145151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1ba"} 
[2026-07-27 09:32:36] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119649080,"longitude_deg":75.6555712,"latitude_deg":11.964908,"altitude":78,"angle":218,"satellites":39,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b338","is_valid_coordinates":true} 
[2026-07-27 09:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:32:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991946496001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:32:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8762420478607360,"note":"Value kept but may cause issues"} 
[2026-07-27 09:32:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050998272,"note":"Value kept but may cause issues"} 
[2026-07-27 09:32:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:32:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785124812000,"timestamp_ms":1785124812000,"timestamp_seconds":1785124812,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1baf4e0"} 
[2026-07-27 09:32:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:32:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-27 09:32:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:32:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:32:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:32:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:32:36] local.INFO: Teltonika packet parsed successfully {"connection_id":145151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:32:36] local.INFO: Passing IMEI to GPS processor {"connection_id":145151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:32:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":145151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:32:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:32:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 09:32:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 09:32:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991946496001,"66":11721,"120":206,"28":31744,"24":0,"16":8762420478607360,"45":1738319118050998272},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 09:32:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 09:32:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 09:32:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991946496001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:32:36] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 09:32:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 09:32:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8762420478607360,"km_value":8762420478607.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:32:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050998272,"description":"Unknown IO ID 45"} 
[2026-07-27 09:32:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991946496001,"power":11721,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738319118050998272}} 
[2026-07-27 09:32:36] local.INFO: DEBUG: GPS processor result {"connection_id":145151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552344,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:32:36] local.INFO: GPS data processed {"connection_id":145151,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:32:36] local.INFO: Acknowledgment sent {"connection_id":145151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:32:36] local.INFO: TCP Data received {"connection_id":145152,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1bb4300012d7d2e4005ec0c180013012620..."} 
[2026-07-27 09:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145152,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1bb4300012d7d2e4005ec0c180013012620..."} 
[2026-07-27 09:32:36] local.INFO: Processing buffer {"connection_id":145152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1bb4300012d7d2e4005ec0c180013012620..."} 
[2026-07-27 09:32:36] local.INFO: Packet analysis {"connection_id":145152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1bb"} 
[2026-07-27 09:32:36] local.INFO: Extracted packet for processing {"connection_id":145152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1bb"} 
[2026-07-27 09:32:36] local.INFO: GPS Element Parsed {"raw_longitude":763178560,"raw_latitude":99355672,"longitude_deg":76.317856,"latitude_deg":9.9355672,"altitude":19,"angle":294,"satellites":32,"speed":0,"hex_longitude":"2d7d2e40","hex_latitude":"05ec0c18","is_valid_coordinates":true} 
[2026-07-27 09:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:32:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991879936001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:32:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111588348476260352,"note":"Value kept but may cause issues"} 
[2026-07-27 09:32:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020217497848911872,"note":"Value kept but may cause issues"} 
[2026-07-27 09:32:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:32:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785124832000,"timestamp_ms":1785124832000,"timestamp_seconds":1785124832,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1bb4300"} 
[2026-07-27 09:32:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:32:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-27 09:32:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:32:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:32:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:32:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:32:36] local.INFO: Teltonika packet parsed successfully {"connection_id":145152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:32:36] local.INFO: Passing IMEI to GPS processor {"connection_id":145152,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:32:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":145152,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:32:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:32:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 09:32:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 09:32:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991879936001,"66":2209,"197":206,"87":13824,"24":0,"16":111588348476260352,"45":9020217497848911872},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-07-27 09:32:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 09:32:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 09:32:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991879936001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:32:36] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-27 09:32:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 09:32:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111588348476260352,"km_value":111588348476260.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:32:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020217497848911872,"description":"Unknown IO ID 45"} 
[2026-07-27 09:32:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991879936001,"power":2209,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020217497848911872}} 
[2026-07-27 09:32:36] local.INFO: DEBUG: GPS processor result {"connection_id":145152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552345,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:32:36] local.INFO: GPS data processed {"connection_id":145152,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:32:36] local.INFO: Acknowledgment sent {"connection_id":145152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:32:37] local.INFO: TCP Data received {"connection_id":142722,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:32:37] local.INFO: Processing buffer {"connection_id":142722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:32:37] local.INFO: IMEI packet received {"connection_id":142722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 09:32:37] local.INFO: IMEI acknowledgment sent {"connection_id":142722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:32:38] local.INFO: TCP Data received {"connection_id":142722,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1bbdb58012d7f994005afe4480007014b2e..."} 
[2026-07-27 09:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1bbdb58012d7f994005afe4480007014b2e..."} 
[2026-07-27 09:32:38] local.INFO: Processing buffer {"connection_id":142722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1bbdb58012d7f994005afe4480007014b2e..."} 
[2026-07-27 09:32:38] local.INFO: Packet analysis {"connection_id":142722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1bb"} 
[2026-07-27 09:32:38] local.INFO: Extracted packet for processing {"connection_id":142722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1bb"} 
[2026-07-27 09:32:38] local.INFO: GPS Element Parsed {"raw_longitude":763337024,"raw_latitude":95413320,"longitude_deg":76.3337024,"latitude_deg":9.541332,"altitude":7,"angle":331,"satellites":46,"speed":0,"hex_longitude":"2d7f9940","hex_latitude":"05afe448","is_valid_coordinates":true} 
[2026-07-27 09:32:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:32:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991889920001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:32:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826379933908992,"note":"Value kept but may cause issues"} 
[2026-07-27 09:32:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194450507423565824,"note":"Value kept but may cause issues"} 
[2026-07-27 09:32:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:32:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785124871000,"timestamp_ms":1785124871000,"timestamp_seconds":1785124871,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1bbdb58"} 
[2026-07-27 09:32:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:32:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:32:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-07-27 09:32:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:32:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:32:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:32:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:32:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:32:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:32:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:32:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:32:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:32:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:32:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991889920001,"66":25952,"27":206,"85":12544,"24":0,"16":358826379933908992,"45":9194450507423565824},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 09:32:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:32:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:32:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991889920001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:32:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 09:32:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:32:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826379933908992,"km_value":358826379933909.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:32:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194450507423565824,"description":"Unknown IO ID 45"} 
[2026-07-27 09:32:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991889920001,"power":25952,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194450507423565824}} 
[2026-07-27 09:32:38] local.INFO: DEBUG: GPS processor result {"connection_id":142722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:32:38] local.INFO: GPS data processed {"connection_id":142722,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:32:38] local.INFO: Acknowledgment sent {"connection_id":142722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:33:07] local.INFO: TCP Data received {"connection_id":145152,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1bb4300012d7d2e4005ec0c180013012620..."} 
[2026-07-27 09:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145152,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1bb4300012d7d2e4005ec0c180013012620..."} 
[2026-07-27 09:33:07] local.INFO: Processing buffer {"connection_id":145152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1bb4300012d7d2e4005ec0c180013012620..."} 
[2026-07-27 09:33:07] local.INFO: Packet analysis {"connection_id":145152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1bb"} 
[2026-07-27 09:33:07] local.INFO: Extracted packet for processing {"connection_id":145152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1bb"} 
[2026-07-27 09:33:07] local.INFO: GPS Element Parsed {"raw_longitude":763178560,"raw_latitude":99355672,"longitude_deg":76.317856,"latitude_deg":9.9355672,"altitude":19,"angle":294,"satellites":32,"speed":0,"hex_longitude":"2d7d2e40","hex_latitude":"05ec0c18","is_valid_coordinates":true} 
[2026-07-27 09:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:33:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991879936001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:33:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111588348476260352,"note":"Value kept but may cause issues"} 
[2026-07-27 09:33:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020217497848911872,"note":"Value kept but may cause issues"} 
[2026-07-27 09:33:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:33:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785124832000,"timestamp_ms":1785124832000,"timestamp_seconds":1785124832,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1bb4300"} 
[2026-07-27 09:33:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:33:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-27 09:33:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:33:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:33:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:33:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:33:07] local.INFO: Teltonika packet parsed successfully {"connection_id":145152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:33:07] local.INFO: Passing IMEI to GPS processor {"connection_id":145152,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:33:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":145152,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:33:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:33:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 09:33:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 09:33:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991879936001,"66":2209,"197":206,"87":13824,"24":0,"16":111588348476260352,"45":9020217497848911872},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-07-27 09:33:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 09:33:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 09:33:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991879936001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:33:07] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-27 09:33:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 09:33:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111588348476260352,"km_value":111588348476260.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:33:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020217497848911872,"description":"Unknown IO ID 45"} 
[2026-07-27 09:33:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991879936001,"power":2209,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020217497848911872}} 
[2026-07-27 09:33:08] local.INFO: DEBUG: GPS processor result {"connection_id":145152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552347,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:33:08] local.INFO: GPS data processed {"connection_id":145152,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:33:08] local.INFO: Acknowledgment sent {"connection_id":145152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:33:08] local.INFO: TCP Data received {"connection_id":145151,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1bb46e8012d181fc00721b338004e00da28..."} 
[2026-07-27 09:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1bb46e8012d181fc00721b338004e00da28..."} 
[2026-07-27 09:33:08] local.INFO: Processing buffer {"connection_id":145151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1bb46e8012d181fc00721b338004e00da28..."} 
[2026-07-27 09:33:08] local.INFO: Packet analysis {"connection_id":145151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1bb"} 
[2026-07-27 09:33:08] local.INFO: Extracted packet for processing {"connection_id":145151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1bb"} 
[2026-07-27 09:33:08] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119649080,"longitude_deg":75.6555712,"latitude_deg":11.964908,"altitude":78,"angle":218,"satellites":40,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b338","is_valid_coordinates":true} 
[2026-07-27 09:33:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:33:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991951872001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:33:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8762420478607360,"note":"Value kept but may cause issues"} 
[2026-07-27 09:33:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050998272,"note":"Value kept but may cause issues"} 
[2026-07-27 09:33:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:33:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785124833000,"timestamp_ms":1785124833000,"timestamp_seconds":1785124833,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1bb46e8"} 
[2026-07-27 09:33:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:33:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09: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":45,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-27 09:33:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2232,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:33:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:33:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:33:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:33:08] local.INFO: Teltonika packet parsed successfully {"connection_id":145151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:33:08] local.INFO: Passing IMEI to GPS processor {"connection_id":145151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:33:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":145151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:33:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:33:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 09:33:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 09:33:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991951872001,"66":12037,"120":206,"28":31744,"24":0,"16":8762420478607360,"45":1738319118050998272},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 09:33:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 09:33:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 09:33:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991951872001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:33:08] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 09:33:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 09:33:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8762420478607360,"km_value":8762420478607.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:33:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050998272,"description":"Unknown IO ID 45"} 
[2026-07-27 09:33:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991951872001,"power":12037,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738319118050998272}} 
[2026-07-27 09:33:08] local.INFO: DEBUG: GPS processor result {"connection_id":145151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552348,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:33:08] local.INFO: GPS data processed {"connection_id":145151,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:33:08] local.INFO: Acknowledgment sent {"connection_id":145151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:33:09] local.INFO: TCP Data received {"connection_id":142722,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1bbdb58012d7f994005afe4480007014b2e..."} 
[2026-07-27 09:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1bbdb58012d7f994005afe4480007014b2e..."} 
[2026-07-27 09:33:09] local.INFO: Processing buffer {"connection_id":142722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1bbdb58012d7f994005afe4480007014b2e..."} 
[2026-07-27 09:33:09] local.INFO: Packet analysis {"connection_id":142722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1bb"} 
[2026-07-27 09:33:09] local.INFO: Extracted packet for processing {"connection_id":142722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1bb"} 
[2026-07-27 09:33:09] local.INFO: GPS Element Parsed {"raw_longitude":763337024,"raw_latitude":95413320,"longitude_deg":76.3337024,"latitude_deg":9.541332,"altitude":7,"angle":331,"satellites":46,"speed":0,"hex_longitude":"2d7f9940","hex_latitude":"05afe448","is_valid_coordinates":true} 
[2026-07-27 09:33:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:33:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991889920001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:33:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826379933908992,"note":"Value kept but may cause issues"} 
[2026-07-27 09:33:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194450507423565824,"note":"Value kept but may cause issues"} 
[2026-07-27 09:33:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:33:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785124871000,"timestamp_ms":1785124871000,"timestamp_seconds":1785124871,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1bbdb58"} 
[2026-07-27 09:33:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:33:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:33:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-07-27 09:33:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:33:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:33:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:33:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:33:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:33:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:33:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:33:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:33:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:33:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:33:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991889920001,"66":25952,"27":206,"85":12544,"24":0,"16":358826379933908992,"45":9194450507423565824},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 09:33:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:33:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:33:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991889920001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:33:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 09:33:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:33:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826379933908992,"km_value":358826379933909.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:33:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194450507423565824,"description":"Unknown IO ID 45"} 
[2026-07-27 09:33:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991889920001,"power":25952,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194450507423565824}} 
[2026-07-27 09:33:09] local.INFO: DEBUG: GPS processor result {"connection_id":142722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:33:09] local.INFO: GPS data processed {"connection_id":142722,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:33:09] local.INFO: Acknowledgment sent {"connection_id":142722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:33:30] local.INFO: TCP Data received {"connection_id":145153,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145153,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:33:30] local.INFO: Processing buffer {"connection_id":145153,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:33:30] local.INFO: IMEI packet received {"connection_id":145153,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 09:33:30] local.INFO: IMEI acknowledgment sent {"connection_id":145153,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:33:31] local.INFO: TCP Data received {"connection_id":142849,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142849,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:33:31] local.INFO: Processing buffer {"connection_id":142849,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:33:31] local.INFO: IMEI packet received {"connection_id":142849,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 09:33:31] local.INFO: IMEI acknowledgment sent {"connection_id":142849,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:33:32] local.INFO: TCP Data received {"connection_id":142850,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:33:32] local.INFO: Processing buffer {"connection_id":142850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:33:32] local.INFO: IMEI packet received {"connection_id":142850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 09:33:32] local.INFO: IMEI acknowledgment sent {"connection_id":142850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:33:35] local.INFO: TCP Data received {"connection_id":145153,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145153,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:33:35] local.INFO: Processing buffer {"connection_id":145153,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:33:35] local.INFO: IMEI packet received {"connection_id":145153,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 09:33:35] local.INFO: IMEI acknowledgment sent {"connection_id":145153,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:33:35] local.INFO: TCP Data received {"connection_id":142849,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142849,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:33:35] local.INFO: Processing buffer {"connection_id":142849,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:33:35] local.INFO: IMEI packet received {"connection_id":142849,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 09:33:35] local.INFO: IMEI acknowledgment sent {"connection_id":142849,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:33:36] local.INFO: TCP Data received {"connection_id":142849,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1bb4300012d7d2e4005ec0c180013012620..."} 
[2026-07-27 09:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1bb4300012d7d2e4005ec0c180013012620..."} 
[2026-07-27 09:33:36] local.INFO: Processing buffer {"connection_id":142849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1bb4300012d7d2e4005ec0c180013012620..."} 
[2026-07-27 09:33:36] local.INFO: Packet analysis {"connection_id":142849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1bb"} 
[2026-07-27 09:33:36] local.INFO: Extracted packet for processing {"connection_id":142849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1bb"} 
[2026-07-27 09:33:36] local.INFO: GPS Element Parsed {"raw_longitude":763178560,"raw_latitude":99355672,"longitude_deg":76.317856,"latitude_deg":9.9355672,"altitude":19,"angle":294,"satellites":32,"speed":0,"hex_longitude":"2d7d2e40","hex_latitude":"05ec0c18","is_valid_coordinates":true} 
[2026-07-27 09:33:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:33:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991879936001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:33:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111588348476260352,"note":"Value kept but may cause issues"} 
[2026-07-27 09:33:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020217497848911872,"note":"Value kept but may cause issues"} 
[2026-07-27 09:33:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:33:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785124832000,"timestamp_ms":1785124832000,"timestamp_seconds":1785124832,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1bb4300"} 
[2026-07-27 09:33:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:33:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:33:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-27 09:33:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:33:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:33:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:33:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:33:36] local.INFO: Teltonika packet parsed successfully {"connection_id":142849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:33:36] local.INFO: Passing IMEI to GPS processor {"connection_id":142849,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:33:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":142849,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:33:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:33:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 09:33:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 09:33:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991879936001,"66":2209,"197":206,"87":13824,"24":0,"16":111588348476260352,"45":9020217497848911872},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-07-27 09:33:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 09:33:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 09:33:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991879936001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:33:36] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-27 09:33:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 09:33:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111588348476260352,"km_value":111588348476260.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:33:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020217497848911872,"description":"Unknown IO ID 45"} 
[2026-07-27 09:33:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991879936001,"power":2209,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020217497848911872}} 
[2026-07-27 09:33:36] local.INFO: DEBUG: GPS processor result {"connection_id":142849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552350,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:33:36] local.INFO: GPS data processed {"connection_id":142849,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:33:36] local.INFO: Acknowledgment sent {"connection_id":142849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:33:37] local.INFO: TCP Data received {"connection_id":145153,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1bb98f0012d181fc00721b338004e00da29..."} 
[2026-07-27 09:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145153,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1bb98f0012d181fc00721b338004e00da29..."} 
[2026-07-27 09:33:37] local.INFO: Processing buffer {"connection_id":145153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1bb98f0012d181fc00721b338004e00da29..."} 
[2026-07-27 09:33:37] local.INFO: Packet analysis {"connection_id":145153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1bb"} 
[2026-07-27 09:33:37] local.INFO: Extracted packet for processing {"connection_id":145153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1bb"} 
[2026-07-27 09:33:37] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119649080,"longitude_deg":75.6555712,"latitude_deg":11.964908,"altitude":78,"angle":218,"satellites":41,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b338","is_valid_coordinates":true} 
[2026-07-27 09:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:33:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991957248001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:33:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8762420478607360,"note":"Value kept but may cause issues"} 
[2026-07-27 09:33:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050998272,"note":"Value kept but may cause issues"} 
[2026-07-27 09:33:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:33:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785124854000,"timestamp_ms":1785124854000,"timestamp_seconds":1785124854,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1bb98f0"} 
[2026-07-27 09:33:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:33:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-27 09:33:37] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3006791758,"note":"Value kept but may cause issues"} 
[2026-07-27 09:33:37] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2713279160,"note":"Value kept but may cause issues"} 
[2026-07-27 09:33:37] local.WARNING: Large IO value detected {"io_id":161,"raw_value":3120482305,"note":"Value kept but may cause issues"} 
[2026-07-27 09:33:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-1767661968501768168,"corrected_to":0} 
[2026-07-27 09:33:37] local.WARNING: Large IO value detected {"io_id":172,"raw_value":3221302552,"note":"Value kept but may cause issues"} 
[2026-07-27 09:33:37] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182066500862208,"note":"Value kept but may cause issues"} 
[2026-07-27 09:33:37] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2428346198042663462,"note":"Value kept but may cause issues"} 
[2026-07-27 09:33:37] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194905856,"note":"Value kept but may cause issues"} 
[2026-07-27 09:33:37] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,120,28,24,241,158,16,33,159,244,45,192,179,78,39,10,66,162,40,80,1,240,97,161,4,113,205,172,31,56,239,48,2,7,69],"length":484,"final_offset":614,"validated_count":35,"validation_warnings":[{"io_id":205,"original":-1767661968501768168,"validated":0}]} 
[2026-07-27 09:33:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5620732200291926016,"timestamp_seconds":5620732200291926.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 09:33:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:33:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:33:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:33:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:33:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:33:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:33:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 09:33:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 09:33:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991957248001,"66":12319,"120":206,"28":31744,"24":0,"16":8762420478607360,"45":1738319118050998272},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 09:33:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 09:33:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 09:33:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991957248001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:33:37] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 09:33:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 09:33:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8762420478607360,"km_value":8762420478607.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:33:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050998272,"description":"Unknown IO ID 45"} 
[2026-07-27 09:33:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991957248001,"power":12319,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738319118050998272}} 
[2026-07-27 09:33:37] local.INFO: DEBUG: GPS processor result {"connection_id":145153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552351,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:33:37] local.INFO: GPS data processed {"connection_id":145153,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:33:37] local.INFO: Acknowledgment sent {"connection_id":145153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:33:37] local.INFO: TCP Data received {"connection_id":142850,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:33:37] local.INFO: Processing buffer {"connection_id":142850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:33:37] local.INFO: IMEI packet received {"connection_id":142850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 09:33:37] local.INFO: IMEI acknowledgment sent {"connection_id":142850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:33:38] local.INFO: TCP Data received {"connection_id":142850,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1bbdb58012d7f994005afe4480007014b2e..."} 
[2026-07-27 09:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1bbdb58012d7f994005afe4480007014b2e..."} 
[2026-07-27 09:33:38] local.INFO: Processing buffer {"connection_id":142850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1bbdb58012d7f994005afe4480007014b2e..."} 
[2026-07-27 09:33:38] local.INFO: Packet analysis {"connection_id":142850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1bb"} 
[2026-07-27 09:33:38] local.INFO: Extracted packet for processing {"connection_id":142850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1bb"} 
[2026-07-27 09:33:38] local.INFO: GPS Element Parsed {"raw_longitude":763337024,"raw_latitude":95413320,"longitude_deg":76.3337024,"latitude_deg":9.541332,"altitude":7,"angle":331,"satellites":46,"speed":0,"hex_longitude":"2d7f9940","hex_latitude":"05afe448","is_valid_coordinates":true} 
[2026-07-27 09:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:33:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991889920001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:33:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826379933908992,"note":"Value kept but may cause issues"} 
[2026-07-27 09:33:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194450507423565824,"note":"Value kept but may cause issues"} 
[2026-07-27 09:33:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:33:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785124871000,"timestamp_ms":1785124871000,"timestamp_seconds":1785124871,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1bbdb58"} 
[2026-07-27 09:33:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:33:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-07-27 09:33:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:33:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:33:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:33:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:33:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:33:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:33:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:33:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:33:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:33:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:33:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991889920001,"66":25952,"27":206,"85":12544,"24":0,"16":358826379933908992,"45":9194450507423565824},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 09:33:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:33:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:33:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991889920001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:33:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 09:33:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:33:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826379933908992,"km_value":358826379933909.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:33:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194450507423565824,"description":"Unknown IO ID 45"} 
[2026-07-27 09:33:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991889920001,"power":25952,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194450507423565824}} 
[2026-07-27 09:33:38] local.INFO: DEBUG: GPS processor result {"connection_id":142850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:33:38] local.INFO: GPS data processed {"connection_id":142850,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:33:38] local.INFO: Acknowledgment sent {"connection_id":142850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:33:50] local.INFO: TCP Data received {"connection_id":142724,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142724,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:33:50] local.INFO: Processing buffer {"connection_id":142724,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:33:50] local.INFO: IMEI packet received {"connection_id":142724,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 09:33:50] local.INFO: IMEI acknowledgment sent {"connection_id":142724,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:33:51] local.INFO: TCP Data received {"connection_id":142724,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1bd46a0012d0c9ac00705f018001b008f22..."} 
[2026-07-27 09:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1bd46a0012d0c9ac00705f018001b008f22..."} 
[2026-07-27 09:33:51] local.INFO: Processing buffer {"connection_id":142724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1bd46a0012d0c9ac00705f018001b008f22..."} 
[2026-07-27 09:33:51] local.INFO: Packet analysis {"connection_id":142724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1bd"} 
[2026-07-27 09:33:51] local.INFO: Extracted packet for processing {"connection_id":142724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1bd"} 
[2026-07-27 09:33:51] local.INFO: GPS Element Parsed {"raw_longitude":755800768,"raw_latitude":117829656,"longitude_deg":75.5800768,"latitude_deg":11.7829656,"altitude":27,"angle":143,"satellites":34,"speed":14,"hex_longitude":"2d0c9ac0","hex_latitude":"0705f018","is_valid_coordinates":true} 
[2026-07-27 09:33:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:33:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991988992001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:33:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25857283669884928,"note":"Value kept but may cause issues"} 
[2026-07-27 09:33:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":906771667638378496,"note":"Value kept but may cause issues"} 
[2026-07-27 09:33:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:33:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785124964000,"timestamp_ms":1785124964000,"timestamp_seconds":1785124964,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1bd46a0"} 
[2026-07-27 09:33:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:33:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09:33:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-27 09:33: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-07-27 09:33:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:33:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:33:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:33:51] local.INFO: Teltonika packet parsed successfully {"connection_id":142724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:33:51] local.INFO: Passing IMEI to GPS processor {"connection_id":142724,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:33:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":142724,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:33:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:33:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 09:33:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 09:33:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991988992001,"66":14428,"220":206,"94":10240,"24":14,"16":25857283669884928,"45":906771667638378496},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-07-27 09:33:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 09:33:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 09:33:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991988992001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:33:51] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-07-27 09:33:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 09:33:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25857283669884928,"km_value":25857283669884.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:33:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":906771667638378496,"description":"Unknown IO ID 45"} 
[2026-07-27 09:33:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991988992001,"power":14428,"unknown_220":206,"unknown_94":10240,"ignition":14,"odometer":null,"unknown_45":906771667638378496}} 
[2026-07-27 09:33:51] local.INFO: DEBUG: GPS processor result {"connection_id":142724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552353,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:33:51] local.INFO: GPS data processed {"connection_id":142724,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:33:51] local.INFO: Acknowledgment sent {"connection_id":142724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:34:08] local.INFO: TCP Data received {"connection_id":142849,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1bb4300012d7d2e4005ec0c180013012620..."} 
[2026-07-27 09:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1bb4300012d7d2e4005ec0c180013012620..."} 
[2026-07-27 09:34:08] local.INFO: Processing buffer {"connection_id":142849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1bb4300012d7d2e4005ec0c180013012620..."} 
[2026-07-27 09:34:08] local.INFO: Packet analysis {"connection_id":142849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1bb"} 
[2026-07-27 09:34:08] local.INFO: Extracted packet for processing {"connection_id":142849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1bb"} 
[2026-07-27 09:34:08] local.INFO: GPS Element Parsed {"raw_longitude":763178560,"raw_latitude":99355672,"longitude_deg":76.317856,"latitude_deg":9.9355672,"altitude":19,"angle":294,"satellites":32,"speed":0,"hex_longitude":"2d7d2e40","hex_latitude":"05ec0c18","is_valid_coordinates":true} 
[2026-07-27 09:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:34:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991879936001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:34:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111588348476260352,"note":"Value kept but may cause issues"} 
[2026-07-27 09:34:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020217497848911872,"note":"Value kept but may cause issues"} 
[2026-07-27 09:34:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:34:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785124832000,"timestamp_ms":1785124832000,"timestamp_seconds":1785124832,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1bb4300"} 
[2026-07-27 09:34:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:34:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-27 09:34:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:34:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:34:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:34:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:34:08] local.INFO: Teltonika packet parsed successfully {"connection_id":142849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:34:08] local.INFO: Passing IMEI to GPS processor {"connection_id":142849,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:34:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":142849,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:34:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:34:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 09:34:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 09:34:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991879936001,"66":2209,"197":206,"87":13824,"24":0,"16":111588348476260352,"45":9020217497848911872},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-07-27 09:34:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 09:34:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 09:34:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991879936001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:34:08] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-27 09:34:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 09:34:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111588348476260352,"km_value":111588348476260.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:34:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020217497848911872,"description":"Unknown IO ID 45"} 
[2026-07-27 09:34:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991879936001,"power":2209,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020217497848911872}} 
[2026-07-27 09:34:08] local.INFO: DEBUG: GPS processor result {"connection_id":142849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552354,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:34:08] local.INFO: GPS data processed {"connection_id":142849,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:34:08] local.INFO: Acknowledgment sent {"connection_id":142849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:34:09] local.INFO: TCP Data received {"connection_id":145153,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1bbeaf8012d181fc00721b338004e00da29..."} 
[2026-07-27 09:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145153,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1bbeaf8012d181fc00721b338004e00da29..."} 
[2026-07-27 09:34:09] local.INFO: Processing buffer {"connection_id":145153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1bbeaf8012d181fc00721b338004e00da29..."} 
[2026-07-27 09:34:09] local.INFO: Packet analysis {"connection_id":145153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1bb"} 
[2026-07-27 09:34:09] local.INFO: Extracted packet for processing {"connection_id":145153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1bb"} 
[2026-07-27 09:34:09] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119649080,"longitude_deg":75.6555712,"latitude_deg":11.964908,"altitude":78,"angle":218,"satellites":41,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b338","is_valid_coordinates":true} 
[2026-07-27 09:34:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:34:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991962624001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:34:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8762420478607360,"note":"Value kept but may cause issues"} 
[2026-07-27 09:34:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050998272,"note":"Value kept but may cause issues"} 
[2026-07-27 09:34:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:34:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785124875000,"timestamp_ms":1785124875000,"timestamp_seconds":1785124875,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1bbeaf8"} 
[2026-07-27 09:34:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:34:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 09:34:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:34:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:34:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:34:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:34:09] local.INFO: Teltonika packet parsed successfully {"connection_id":145153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:34:09] local.INFO: Passing IMEI to GPS processor {"connection_id":145153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:34:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":145153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:34:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:34:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 09:34:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 09:34:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991962624001,"66":12319,"120":206,"28":31744,"24":0,"16":8762420478607360,"45":1738319118050998272},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 09:34:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 09:34:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 09:34:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991962624001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:34:09] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 09:34:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 09:34:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8762420478607360,"km_value":8762420478607.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:34:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050998272,"description":"Unknown IO ID 45"} 
[2026-07-27 09:34:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991962624001,"power":12319,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738319118050998272}} 
[2026-07-27 09:34:09] local.INFO: DEBUG: GPS processor result {"connection_id":145153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552355,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:34:09] local.INFO: GPS data processed {"connection_id":145153,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:34:09] local.INFO: Acknowledgment sent {"connection_id":145153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:34:09] local.INFO: TCP Data received {"connection_id":142850,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1bbdb58012d7f994005afe4480007014b2e..."} 
[2026-07-27 09:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1bbdb58012d7f994005afe4480007014b2e..."} 
[2026-07-27 09:34:09] local.INFO: Processing buffer {"connection_id":142850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1bbdb58012d7f994005afe4480007014b2e..."} 
[2026-07-27 09:34:09] local.INFO: Packet analysis {"connection_id":142850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1bb"} 
[2026-07-27 09:34:09] local.INFO: Extracted packet for processing {"connection_id":142850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1bb"} 
[2026-07-27 09:34:09] local.INFO: GPS Element Parsed {"raw_longitude":763337024,"raw_latitude":95413320,"longitude_deg":76.3337024,"latitude_deg":9.541332,"altitude":7,"angle":331,"satellites":46,"speed":0,"hex_longitude":"2d7f9940","hex_latitude":"05afe448","is_valid_coordinates":true} 
[2026-07-27 09:34:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:34:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991889920001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:34:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826379933908992,"note":"Value kept but may cause issues"} 
[2026-07-27 09:34:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194450507423565824,"note":"Value kept but may cause issues"} 
[2026-07-27 09:34:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:34:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785124871000,"timestamp_ms":1785124871000,"timestamp_seconds":1785124871,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1bbdb58"} 
[2026-07-27 09:34:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:34:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09: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":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-07-27 09:34:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:34:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:34:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:34:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:34:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:34:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:34:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:34:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:34:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:34:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:34:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991889920001,"66":25952,"27":206,"85":12544,"24":0,"16":358826379933908992,"45":9194450507423565824},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 09:34:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:34:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:34:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991889920001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:34:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 09:34:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:34:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826379933908992,"km_value":358826379933909.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:34:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194450507423565824,"description":"Unknown IO ID 45"} 
[2026-07-27 09:34:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991889920001,"power":25952,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194450507423565824}} 
[2026-07-27 09:34:09] local.INFO: DEBUG: GPS processor result {"connection_id":142850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:34:09] local.INFO: GPS data processed {"connection_id":142850,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:34:09] local.INFO: Acknowledgment sent {"connection_id":142850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:34:22] local.INFO: TCP Data received {"connection_id":142724,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1bea248012d0c6d0007059f70001d00bb1f..."} 
[2026-07-27 09:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1bea248012d0c6d0007059f70001d00bb1f..."} 
[2026-07-27 09:34:22] local.INFO: Processing buffer {"connection_id":142724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1bea248012d0c6d0007059f70001d00bb1f..."} 
[2026-07-27 09:34:22] local.INFO: Packet analysis {"connection_id":142724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1be"} 
[2026-07-27 09:34:22] local.INFO: Extracted packet for processing {"connection_id":142724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1be"} 
[2026-07-27 09:34:22] local.INFO: GPS Element Parsed {"raw_longitude":755789056,"raw_latitude":117809008,"longitude_deg":75.5789056,"latitude_deg":11.7809008,"altitude":29,"angle":187,"satellites":31,"speed":18,"hex_longitude":"2d0c6d00","hex_latitude":"07059f70","is_valid_coordinates":true} 
[2026-07-27 09: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-07-27 09:34:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992013312001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:34:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25859177750462464,"note":"Value kept but may cause issues"} 
[2026-07-27 09:34:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":895442299820007424,"note":"Value kept but may cause issues"} 
[2026-07-27 09:34:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:34:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785125053000,"timestamp_ms":1785125053000,"timestamp_seconds":1785125053,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1bea248"} 
[2026-07-27 09:34:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:34: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-07-27 09:34:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-27 09:34:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09: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-07-27 09:34:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:34:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:34:22] local.INFO: Teltonika packet parsed successfully {"connection_id":142724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:34:22] local.INFO: Passing IMEI to GPS processor {"connection_id":142724,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:34:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":142724,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:34:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:34:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 09:34:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 09:34:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992013312001,"66":14407,"220":206,"94":10240,"24":18,"16":25859177750462464,"45":895442299820007424},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-07-27 09:34:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 09:34:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 09:34:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992013312001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:34:22] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-07-27 09:34:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 09:34:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25859177750462464,"km_value":25859177750462.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:34:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":895442299820007424,"description":"Unknown IO ID 45"} 
[2026-07-27 09:34:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992013312001,"power":14407,"unknown_220":206,"unknown_94":10240,"ignition":18,"odometer":null,"unknown_45":895442299820007424}} 
[2026-07-27 09:34:22] local.INFO: DEBUG: GPS processor result {"connection_id":142724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552357,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:34:22] local.INFO: GPS data processed {"connection_id":142724,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:34:22] local.INFO: Acknowledgment sent {"connection_id":142724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:34:30] local.INFO: TCP Data received {"connection_id":142726,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142726,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:34:30] local.INFO: Processing buffer {"connection_id":142726,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:34:30] local.INFO: IMEI packet received {"connection_id":142726,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 09:34:30] local.INFO: IMEI acknowledgment sent {"connection_id":142726,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:34:30] local.INFO: TCP Data received {"connection_id":142725,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142725,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:34:30] local.INFO: Processing buffer {"connection_id":142725,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:34:30] local.INFO: IMEI packet received {"connection_id":142725,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 09:34:30] local.INFO: IMEI acknowledgment sent {"connection_id":142725,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:34:31] local.INFO: TCP Data received {"connection_id":143839,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 09:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143839,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 09:34:31] local.INFO: Processing buffer {"connection_id":143839,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 09:34:31] local.INFO: IMEI packet received {"connection_id":143839,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 09:34:31] local.INFO: IMEI acknowledgment sent {"connection_id":143839,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:34:35] local.INFO: TCP Data received {"connection_id":142725,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142725,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:34:35] local.INFO: Processing buffer {"connection_id":142725,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:34:35] local.INFO: IMEI packet received {"connection_id":142725,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 09:34:35] local.INFO: IMEI acknowledgment sent {"connection_id":142725,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:34:35] local.INFO: TCP Data received {"connection_id":142726,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142726,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:34:35] local.INFO: Processing buffer {"connection_id":142726,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:34:35] local.INFO: IMEI packet received {"connection_id":142726,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 09:34:35] local.INFO: IMEI acknowledgment sent {"connection_id":142726,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:34:36] local.INFO: TCP Data received {"connection_id":142725,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1bb4300012d7d2e4005ec0c180013012620..."} 
[2026-07-27 09:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1bb4300012d7d2e4005ec0c180013012620..."} 
[2026-07-27 09:34:36] local.INFO: Processing buffer {"connection_id":142725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1bb4300012d7d2e4005ec0c180013012620..."} 
[2026-07-27 09:34:36] local.INFO: Packet analysis {"connection_id":142725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1bb"} 
[2026-07-27 09:34:36] local.INFO: Extracted packet for processing {"connection_id":142725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1bb"} 
[2026-07-27 09:34:36] local.INFO: GPS Element Parsed {"raw_longitude":763178560,"raw_latitude":99355672,"longitude_deg":76.317856,"latitude_deg":9.9355672,"altitude":19,"angle":294,"satellites":32,"speed":0,"hex_longitude":"2d7d2e40","hex_latitude":"05ec0c18","is_valid_coordinates":true} 
[2026-07-27 09:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:34:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991879936001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:34:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111588348476260352,"note":"Value kept but may cause issues"} 
[2026-07-27 09:34:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020217497848911872,"note":"Value kept but may cause issues"} 
[2026-07-27 09:34:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:34:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785124832000,"timestamp_ms":1785124832000,"timestamp_seconds":1785124832,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1bb4300"} 
[2026-07-27 09:34:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:34:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-27 09:34:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:34:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:34:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:34:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:34:36] local.INFO: Teltonika packet parsed successfully {"connection_id":142725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:34:36] local.INFO: Passing IMEI to GPS processor {"connection_id":142725,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:34:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":142725,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:34:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:34:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 09:34:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 09:34:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991879936001,"66":2209,"197":206,"87":13824,"24":0,"16":111588348476260352,"45":9020217497848911872},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-07-27 09:34:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 09:34:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 09:34:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991879936001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:34:36] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-27 09:34:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 09:34:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111588348476260352,"km_value":111588348476260.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:34:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020217497848911872,"description":"Unknown IO ID 45"} 
[2026-07-27 09:34:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991879936001,"power":2209,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020217497848911872}} 
[2026-07-27 09:34:36] local.INFO: DEBUG: GPS processor result {"connection_id":142725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552358,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:34:36] local.INFO: GPS data processed {"connection_id":142725,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:34:36] local.INFO: Acknowledgment sent {"connection_id":142725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:34:36] local.INFO: TCP Data received {"connection_id":142726,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1bc3d00012d181fc00721b338004e00da29..."} 
[2026-07-27 09:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1bc3d00012d181fc00721b338004e00da29..."} 
[2026-07-27 09:34:36] local.INFO: Processing buffer {"connection_id":142726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1bc3d00012d181fc00721b338004e00da29..."} 
[2026-07-27 09:34:36] local.INFO: Packet analysis {"connection_id":142726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1bc"} 
[2026-07-27 09:34:36] local.INFO: Extracted packet for processing {"connection_id":142726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1bc"} 
[2026-07-27 09:34:36] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119649080,"longitude_deg":75.6555712,"latitude_deg":11.964908,"altitude":78,"angle":218,"satellites":41,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b338","is_valid_coordinates":true} 
[2026-07-27 09:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:34:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991968000001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:34:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8762420478607360,"note":"Value kept but may cause issues"} 
[2026-07-27 09:34:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050998272,"note":"Value kept but may cause issues"} 
[2026-07-27 09:34:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:34:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785124896000,"timestamp_ms":1785124896000,"timestamp_seconds":1785124896,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1bc3d00"} 
[2026-07-27 09:34:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:34:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 09:34:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:34:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:34:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:34:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:34:36] local.INFO: Teltonika packet parsed successfully {"connection_id":142726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:34:36] local.INFO: Passing IMEI to GPS processor {"connection_id":142726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:34:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":142726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:34:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:34:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 09:34:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 09:34:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991968000001,"66":12341,"120":206,"28":31744,"24":0,"16":8762420478607360,"45":1738319118050998272},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 09:34:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 09:34:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 09:34:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991968000001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:34:36] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 09:34:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 09:34:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8762420478607360,"km_value":8762420478607.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:34:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050998272,"description":"Unknown IO ID 45"} 
[2026-07-27 09:34:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991968000001,"power":12341,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738319118050998272}} 
[2026-07-27 09:34:37] local.INFO: DEBUG: GPS processor result {"connection_id":142726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552359,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:34:37] local.INFO: GPS data processed {"connection_id":142726,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:34:37] local.INFO: Acknowledgment sent {"connection_id":142726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:34:37] local.INFO: TCP Data received {"connection_id":143840,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:34:37] local.INFO: Processing buffer {"connection_id":143840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:34:37] local.INFO: IMEI packet received {"connection_id":143840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 09:34:37] local.INFO: IMEI acknowledgment sent {"connection_id":143840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:34:42] local.INFO: TCP Data received {"connection_id":143840,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:34:42] local.INFO: Processing buffer {"connection_id":143840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:34:42] local.INFO: IMEI packet received {"connection_id":143840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 09:34:42] local.INFO: IMEI acknowledgment sent {"connection_id":143840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:34:43] local.INFO: TCP Data received {"connection_id":143840,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1bbdb58012d7f994005afe4480007014b2e..."} 
[2026-07-27 09:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1bbdb58012d7f994005afe4480007014b2e..."} 
[2026-07-27 09:34:43] local.INFO: Processing buffer {"connection_id":143840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1bbdb58012d7f994005afe4480007014b2e..."} 
[2026-07-27 09:34:43] local.INFO: Packet analysis {"connection_id":143840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1bb"} 
[2026-07-27 09:34:43] local.INFO: Extracted packet for processing {"connection_id":143840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1bb"} 
[2026-07-27 09:34:43] local.INFO: GPS Element Parsed {"raw_longitude":763337024,"raw_latitude":95413320,"longitude_deg":76.3337024,"latitude_deg":9.541332,"altitude":7,"angle":331,"satellites":46,"speed":0,"hex_longitude":"2d7f9940","hex_latitude":"05afe448","is_valid_coordinates":true} 
[2026-07-27 09:34:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:34:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991889920001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:34:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826379933908992,"note":"Value kept but may cause issues"} 
[2026-07-27 09:34:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194450507423565824,"note":"Value kept but may cause issues"} 
[2026-07-27 09:34:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:34:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785124871000,"timestamp_ms":1785124871000,"timestamp_seconds":1785124871,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1bbdb58"} 
[2026-07-27 09:34:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:34:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:34:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-07-27 09:34:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:34:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:34:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:34:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:34:43] local.INFO: Teltonika packet parsed successfully {"connection_id":143840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:34:43] local.INFO: Passing IMEI to GPS processor {"connection_id":143840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:34:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":143840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:34:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:34:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:34:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:34:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991889920001,"66":25952,"27":206,"85":12544,"24":0,"16":358826379933908992,"45":9194450507423565824},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 09:34:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:34:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:34:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991889920001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:34:43] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 09:34:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:34:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826379933908992,"km_value":358826379933909.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:34:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194450507423565824,"description":"Unknown IO ID 45"} 
[2026-07-27 09:34:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991889920001,"power":25952,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194450507423565824}} 
[2026-07-27 09:34:43] local.INFO: DEBUG: GPS processor result {"connection_id":143840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:34:43] local.INFO: GPS data processed {"connection_id":143840,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:34:43] local.INFO: Acknowledgment sent {"connection_id":143840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:34:45] local.INFO: TCP Data received {"connection_id":142851,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 09:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142851,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 09:34:45] local.INFO: Processing buffer {"connection_id":142851,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 09:34:45] local.INFO: IMEI packet received {"connection_id":142851,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 09:34:45] local.INFO: IMEI acknowledgment sent {"connection_id":142851,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:34:48] local.INFO: TCP Data received {"connection_id":143840,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1bbdb58012d7f994005afe4480007014b2e..."} 
[2026-07-27 09:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1bbdb58012d7f994005afe4480007014b2e..."} 
[2026-07-27 09:34:48] local.INFO: Processing buffer {"connection_id":143840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1bbdb58012d7f994005afe4480007014b2e..."} 
[2026-07-27 09:34:48] local.INFO: Packet analysis {"connection_id":143840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1bb"} 
[2026-07-27 09:34:48] local.INFO: Extracted packet for processing {"connection_id":143840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1bb"} 
[2026-07-27 09:34:48] local.INFO: GPS Element Parsed {"raw_longitude":763337024,"raw_latitude":95413320,"longitude_deg":76.3337024,"latitude_deg":9.541332,"altitude":7,"angle":331,"satellites":46,"speed":0,"hex_longitude":"2d7f9940","hex_latitude":"05afe448","is_valid_coordinates":true} 
[2026-07-27 09: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-07-27 09:34:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991889920001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:34:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826379933908992,"note":"Value kept but may cause issues"} 
[2026-07-27 09:34:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194450507423565824,"note":"Value kept but may cause issues"} 
[2026-07-27 09:34:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:34:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785124871000,"timestamp_ms":1785124871000,"timestamp_seconds":1785124871,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1bbdb58"} 
[2026-07-27 09:34:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:34:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09: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":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-07-27 09:34:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09: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-07-27 09:34:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:34:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:34:48] local.INFO: Teltonika packet parsed successfully {"connection_id":143840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:34:48] local.INFO: Passing IMEI to GPS processor {"connection_id":143840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:34:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":143840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:34:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:34:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:34:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:34:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991889920001,"66":25952,"27":206,"85":12544,"24":0,"16":358826379933908992,"45":9194450507423565824},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 09:34:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:34:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:34:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991889920001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:34:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 09:34:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:34:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826379933908992,"km_value":358826379933909.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:34:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194450507423565824,"description":"Unknown IO ID 45"} 
[2026-07-27 09:34:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991889920001,"power":25952,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194450507423565824}} 
[2026-07-27 09:34:48] local.INFO: DEBUG: GPS processor result {"connection_id":143840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:34:48] local.INFO: GPS data processed {"connection_id":143840,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:34:48] local.INFO: Acknowledgment sent {"connection_id":143840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:35:08] local.INFO: TCP Data received {"connection_id":142725,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1bb4300012d7d2e4005ec0c180013012620..."} 
[2026-07-27 09:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1bb4300012d7d2e4005ec0c180013012620..."} 
[2026-07-27 09:35:08] local.INFO: Processing buffer {"connection_id":142725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1bb4300012d7d2e4005ec0c180013012620..."} 
[2026-07-27 09:35:08] local.INFO: Packet analysis {"connection_id":142725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1bb"} 
[2026-07-27 09:35:08] local.INFO: Extracted packet for processing {"connection_id":142725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1bb"} 
[2026-07-27 09:35:08] local.INFO: GPS Element Parsed {"raw_longitude":763178560,"raw_latitude":99355672,"longitude_deg":76.317856,"latitude_deg":9.9355672,"altitude":19,"angle":294,"satellites":32,"speed":0,"hex_longitude":"2d7d2e40","hex_latitude":"05ec0c18","is_valid_coordinates":true} 
[2026-07-27 09:35:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:35:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991879936001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:35:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111588348476260352,"note":"Value kept but may cause issues"} 
[2026-07-27 09:35:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020217497848911872,"note":"Value kept but may cause issues"} 
[2026-07-27 09:35:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:35:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785124832000,"timestamp_ms":1785124832000,"timestamp_seconds":1785124832,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1bb4300"} 
[2026-07-27 09:35:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:35:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:35:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-27 09:35:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:35:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:35:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:35:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:35:08] local.INFO: Teltonika packet parsed successfully {"connection_id":142725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:35:08] local.INFO: Passing IMEI to GPS processor {"connection_id":142725,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:35:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":142725,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:35:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:35:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 09:35:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 09:35:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991879936001,"66":2209,"197":206,"87":13824,"24":0,"16":111588348476260352,"45":9020217497848911872},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-07-27 09:35:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 09:35:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 09:35:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991879936001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:35:08] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-27 09:35:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 09:35:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111588348476260352,"km_value":111588348476260.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:35:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020217497848911872,"description":"Unknown IO ID 45"} 
[2026-07-27 09:35:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991879936001,"power":2209,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020217497848911872}} 
[2026-07-27 09:35:08] local.INFO: DEBUG: GPS processor result {"connection_id":142725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552362,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:35:08] local.INFO: GPS data processed {"connection_id":142725,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:35:08] local.INFO: Acknowledgment sent {"connection_id":142725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:35:08] local.INFO: TCP Data received {"connection_id":142726,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1bc8f08012d181fc00721b338004e00da26..."} 
[2026-07-27 09:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1bc8f08012d181fc00721b338004e00da26..."} 
[2026-07-27 09:35:08] local.INFO: Processing buffer {"connection_id":142726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1bc8f08012d181fc00721b338004e00da26..."} 
[2026-07-27 09:35:08] local.INFO: Packet analysis {"connection_id":142726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1bc"} 
[2026-07-27 09:35:08] local.INFO: Extracted packet for processing {"connection_id":142726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1bc"} 
[2026-07-27 09:35:08] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119649080,"longitude_deg":75.6555712,"latitude_deg":11.964908,"altitude":78,"angle":218,"satellites":38,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b338","is_valid_coordinates":true} 
[2026-07-27 09:35:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:35:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991973376001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:35:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8762420478607360,"note":"Value kept but may cause issues"} 
[2026-07-27 09:35:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050998272,"note":"Value kept but may cause issues"} 
[2026-07-27 09:35:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:35:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785124917000,"timestamp_ms":1785124917000,"timestamp_seconds":1785124917,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1bc8f08"} 
[2026-07-27 09:35:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:35:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09:35:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 09:35:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:35:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:35:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:35:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:35:08] local.INFO: Teltonika packet parsed successfully {"connection_id":142726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:35:08] local.INFO: Passing IMEI to GPS processor {"connection_id":142726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:35:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":142726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:35:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:35:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 09:35:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 09:35:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991973376001,"66":12287,"120":206,"28":31744,"24":0,"16":8762420478607360,"45":1738319118050998272},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 09:35:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 09:35:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 09:35:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991973376001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:35:08] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 09:35:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 09:35:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8762420478607360,"km_value":8762420478607.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:35:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050998272,"description":"Unknown IO ID 45"} 
[2026-07-27 09:35:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991973376001,"power":12287,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738319118050998272}} 
[2026-07-27 09:35:08] local.INFO: DEBUG: GPS processor result {"connection_id":142726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552363,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:35:08] local.INFO: GPS data processed {"connection_id":142726,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:35:08] local.INFO: Acknowledgment sent {"connection_id":142726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:35:15] local.INFO: TCP Data received {"connection_id":145154,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145154,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:35:15] local.INFO: Processing buffer {"connection_id":145154,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:35:15] local.INFO: IMEI packet received {"connection_id":145154,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 09:35:15] local.INFO: IMEI acknowledgment sent {"connection_id":145154,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:35:20] local.INFO: TCP Data received {"connection_id":145154,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145154,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:35:20] local.INFO: Processing buffer {"connection_id":145154,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:35:20] local.INFO: IMEI packet received {"connection_id":145154,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 09:35:20] local.INFO: IMEI acknowledgment sent {"connection_id":145154,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:35:29] local.INFO: TCP Data received {"connection_id":145155,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145155,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:35:29] local.INFO: Processing buffer {"connection_id":145155,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:35:29] local.INFO: IMEI packet received {"connection_id":145155,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 09:35:29] local.INFO: IMEI acknowledgment sent {"connection_id":145155,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:35:30] local.INFO: TCP Data received {"connection_id":142853,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142853,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:35:30] local.INFO: Processing buffer {"connection_id":142853,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:35:30] local.INFO: IMEI packet received {"connection_id":142853,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 09:35:30] local.INFO: IMEI acknowledgment sent {"connection_id":142853,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:35:30] local.INFO: TCP Data received {"connection_id":145155,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145155,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:35:30] local.INFO: Processing buffer {"connection_id":145155,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:35:30] local.INFO: IMEI packet received {"connection_id":145155,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 09:35:30] local.INFO: IMEI acknowledgment sent {"connection_id":145155,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:35:32] local.INFO: TCP Data received {"connection_id":142854,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:35:32] local.INFO: Processing buffer {"connection_id":142854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:35:32] local.INFO: IMEI packet received {"connection_id":142854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 09:35:32] local.INFO: IMEI acknowledgment sent {"connection_id":142854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:35:35] local.INFO: TCP Data received {"connection_id":142853,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142853,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:35:35] local.INFO: Processing buffer {"connection_id":142853,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:35:35] local.INFO: IMEI packet received {"connection_id":142853,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 09:35:35] local.INFO: IMEI acknowledgment sent {"connection_id":142853,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:35:35] local.INFO: TCP Data received {"connection_id":142853,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1bfdac8012d7d2e4005ec0c18001301261f..."} 
[2026-07-27 09:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1bfdac8012d7d2e4005ec0c18001301261f..."} 
[2026-07-27 09:35:35] local.INFO: Processing buffer {"connection_id":142853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1bfdac8012d7d2e4005ec0c18001301261f..."} 
[2026-07-27 09:35:35] local.INFO: Packet analysis {"connection_id":142853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1bf"} 
[2026-07-27 09:35:35] local.INFO: Extracted packet for processing {"connection_id":142853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1bf"} 
[2026-07-27 09:35:35] local.INFO: GPS Element Parsed {"raw_longitude":763178560,"raw_latitude":99355672,"longitude_deg":76.317856,"latitude_deg":9.9355672,"altitude":19,"angle":294,"satellites":31,"speed":0,"hex_longitude":"2d7d2e40","hex_latitude":"05ec0c18","is_valid_coordinates":true} 
[2026-07-27 09:35:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:35:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991956992001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:35:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111588348476260352,"note":"Value kept but may cause issues"} 
[2026-07-27 09:35:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020217497848911872,"note":"Value kept but may cause issues"} 
[2026-07-27 09:35:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:35:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785125133000,"timestamp_ms":1785125133000,"timestamp_seconds":1785125133,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1bfdac8"} 
[2026-07-27 09:35:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:35:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:35:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-27 09:35:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:35:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:35:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:35:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:35:35] local.INFO: Teltonika packet parsed successfully {"connection_id":142853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:35:35] local.INFO: Passing IMEI to GPS processor {"connection_id":142853,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:35:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":142853,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:35:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:35:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 09:35:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 09:35:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991956992001,"66":2220,"197":206,"87":13824,"24":0,"16":111588348476260352,"45":9020217497848911872},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-07-27 09:35:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 09:35:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 09:35:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991956992001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:35:35] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-27 09:35:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 09:35:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111588348476260352,"km_value":111588348476260.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:35:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020217497848911872,"description":"Unknown IO ID 45"} 
[2026-07-27 09:35:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991956992001,"power":2220,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020217497848911872}} 
[2026-07-27 09:35:35] local.INFO: DEBUG: GPS processor result {"connection_id":142853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552364,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:35:35] local.INFO: GPS data processed {"connection_id":142853,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:35:35] local.INFO: Acknowledgment sent {"connection_id":142853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:35:36] local.INFO: TCP Data received {"connection_id":145155,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145155,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:35:36] local.INFO: Processing buffer {"connection_id":145155,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:35:36] local.INFO: IMEI packet received {"connection_id":145155,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 09:35:36] local.INFO: IMEI acknowledgment sent {"connection_id":145155,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:35:37] local.INFO: TCP Data received {"connection_id":145155,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1bce110012d181fc00721b338004e00da29..."} 
[2026-07-27 09:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145155,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1bce110012d181fc00721b338004e00da29..."} 
[2026-07-27 09:35:37] local.INFO: Processing buffer {"connection_id":145155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1bce110012d181fc00721b338004e00da29..."} 
[2026-07-27 09:35:37] local.INFO: Packet analysis {"connection_id":145155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1bc"} 
[2026-07-27 09:35:37] local.INFO: Extracted packet for processing {"connection_id":145155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1bc"} 
[2026-07-27 09:35:37] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119649080,"longitude_deg":75.6555712,"latitude_deg":11.964908,"altitude":78,"angle":218,"satellites":41,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b338","is_valid_coordinates":true} 
[2026-07-27 09:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991978752001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8762420478607360,"note":"Value kept but may cause issues"} 
[2026-07-27 09:35:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050998272,"note":"Value kept but may cause issues"} 
[2026-07-27 09:35:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785124938000,"timestamp_ms":1785124938000,"timestamp_seconds":1785124938,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1bce110"} 
[2026-07-27 09:35:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:35:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-27 09:35:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:35:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:35:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:35:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 09:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 09:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991978752001,"66":12298,"120":206,"28":31744,"24":0,"16":8762420478607360,"45":1738319118050998272},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 09:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 09:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 09:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991978752001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:35:37] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 09:35:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 09:35:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8762420478607360,"km_value":8762420478607.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:35:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050998272,"description":"Unknown IO ID 45"} 
[2026-07-27 09:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991978752001,"power":12298,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738319118050998272}} 
[2026-07-27 09:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":145155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552365,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:35:37] local.INFO: GPS data processed {"connection_id":145155,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:35:37] local.INFO: Acknowledgment sent {"connection_id":145155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:35:37] local.INFO: TCP Data received {"connection_id":142854,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:35:37] local.INFO: Processing buffer {"connection_id":142854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:35:37] local.INFO: IMEI packet received {"connection_id":142854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 09:35:37] local.INFO: IMEI acknowledgment sent {"connection_id":142854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:35:38] local.INFO: TCP Data received {"connection_id":142854,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1bbdb58012d7f994005afe4480007014b2e..."} 
[2026-07-27 09:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1bbdb58012d7f994005afe4480007014b2e..."} 
[2026-07-27 09:35:38] local.INFO: Processing buffer {"connection_id":142854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1bbdb58012d7f994005afe4480007014b2e..."} 
[2026-07-27 09:35:38] local.INFO: Packet analysis {"connection_id":142854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1bb"} 
[2026-07-27 09:35:38] local.INFO: Extracted packet for processing {"connection_id":142854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1bb"} 
[2026-07-27 09:35:38] local.INFO: GPS Element Parsed {"raw_longitude":763337024,"raw_latitude":95413320,"longitude_deg":76.3337024,"latitude_deg":9.541332,"altitude":7,"angle":331,"satellites":46,"speed":0,"hex_longitude":"2d7f9940","hex_latitude":"05afe448","is_valid_coordinates":true} 
[2026-07-27 09:35:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:35:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991889920001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:35:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826379933908992,"note":"Value kept but may cause issues"} 
[2026-07-27 09:35:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194450507423565824,"note":"Value kept but may cause issues"} 
[2026-07-27 09:35:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:35:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785124871000,"timestamp_ms":1785124871000,"timestamp_seconds":1785124871,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1bbdb58"} 
[2026-07-27 09:35:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:35:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:35:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-07-27 09:35:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:35:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:35:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:35:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:35:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:35:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:35:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:35:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:35:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:35:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:35:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991889920001,"66":25952,"27":206,"85":12544,"24":0,"16":358826379933908992,"45":9194450507423565824},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 09:35:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:35:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:35:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991889920001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:35:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 09:35:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:35:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826379933908992,"km_value":358826379933909.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:35:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194450507423565824,"description":"Unknown IO ID 45"} 
[2026-07-27 09:35:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991889920001,"power":25952,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194450507423565824}} 
[2026-07-27 09:35:38] local.INFO: DEBUG: GPS processor result {"connection_id":142854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:35:38] local.INFO: GPS data processed {"connection_id":142854,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:35:38] local.INFO: Acknowledgment sent {"connection_id":142854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:36:06] local.INFO: TCP Data received {"connection_id":142853,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1bfdac8012d7d2e4005ec0c18001301261f..."} 
[2026-07-27 09:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1bfdac8012d7d2e4005ec0c18001301261f..."} 
[2026-07-27 09:36:06] local.INFO: Processing buffer {"connection_id":142853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1bfdac8012d7d2e4005ec0c18001301261f..."} 
[2026-07-27 09:36:06] local.INFO: Packet analysis {"connection_id":142853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1bf"} 
[2026-07-27 09:36:06] local.INFO: Extracted packet for processing {"connection_id":142853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1bf"} 
[2026-07-27 09:36:06] local.INFO: GPS Element Parsed {"raw_longitude":763178560,"raw_latitude":99355672,"longitude_deg":76.317856,"latitude_deg":9.9355672,"altitude":19,"angle":294,"satellites":31,"speed":0,"hex_longitude":"2d7d2e40","hex_latitude":"05ec0c18","is_valid_coordinates":true} 
[2026-07-27 09:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:36:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991956992001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:36:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111588348476260352,"note":"Value kept but may cause issues"} 
[2026-07-27 09:36:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020217497848911872,"note":"Value kept but may cause issues"} 
[2026-07-27 09:36:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:36:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785125133000,"timestamp_ms":1785125133000,"timestamp_seconds":1785125133,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1bfdac8"} 
[2026-07-27 09:36:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:36:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-27 09:36:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:36:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:36:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:36:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:36:06] local.INFO: Teltonika packet parsed successfully {"connection_id":142853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:36:06] local.INFO: Passing IMEI to GPS processor {"connection_id":142853,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:36:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":142853,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:36:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:36:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 09:36:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 09:36:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991956992001,"66":2220,"197":206,"87":13824,"24":0,"16":111588348476260352,"45":9020217497848911872},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-07-27 09:36:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 09:36:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 09:36:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991956992001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:36:06] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-27 09:36:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 09:36:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111588348476260352,"km_value":111588348476260.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:36:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020217497848911872,"description":"Unknown IO ID 45"} 
[2026-07-27 09:36:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991956992001,"power":2220,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020217497848911872}} 
[2026-07-27 09:36:06] local.INFO: DEBUG: GPS processor result {"connection_id":142853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552367,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:36:06] local.INFO: GPS data processed {"connection_id":142853,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:36:06] local.INFO: Acknowledgment sent {"connection_id":142853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:36:08] local.INFO: TCP Data received {"connection_id":145154,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1bea630012d0c6dc007059d48001d00ab1f..."} 
[2026-07-27 09:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145154,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1bea630012d0c6dc007059d48001d00ab1f..."} 
[2026-07-27 09:36:08] local.INFO: Processing buffer {"connection_id":145154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1bea630012d0c6dc007059d48001d00ab1f..."} 
[2026-07-27 09:36:08] local.INFO: Packet analysis {"connection_id":145154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1be"} 
[2026-07-27 09:36:08] local.INFO: Extracted packet for processing {"connection_id":145154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1be"} 
[2026-07-27 09:36:08] local.INFO: GPS Element Parsed {"raw_longitude":755789248,"raw_latitude":117808456,"longitude_deg":75.5789248,"latitude_deg":11.7808456,"altitude":29,"angle":171,"satellites":31,"speed":20,"hex_longitude":"2d0c6dc0","hex_latitude":"07059d48","is_valid_coordinates":true} 
[2026-07-27 09:36:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:36:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992013568001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:36:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25859203520266240,"note":"Value kept but may cause issues"} 
[2026-07-27 09:36:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":895371931075702784,"note":"Value kept but may cause issues"} 
[2026-07-27 09:36:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:36:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785125054000,"timestamp_ms":1785125054000,"timestamp_seconds":1785125054,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1bea630"} 
[2026-07-27 09:36:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:36:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-27 09:36:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:36:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:36:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:36:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:36:08] local.INFO: Teltonika packet parsed successfully {"connection_id":145154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:36:08] local.INFO: Passing IMEI to GPS processor {"connection_id":145154,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:36:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":145154,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:36:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:36:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 09:36:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 09:36:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992013568001,"66":14396,"220":206,"94":10240,"24":20,"16":25859203520266240,"45":895371931075702784},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-07-27 09:36:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 09:36:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 09:36:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992013568001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:36:08] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-07-27 09:36:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 09:36:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25859203520266240,"km_value":25859203520266.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:36:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":895371931075702784,"description":"Unknown IO ID 45"} 
[2026-07-27 09:36:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992013568001,"power":14396,"unknown_220":206,"unknown_94":10240,"ignition":20,"odometer":null,"unknown_45":895371931075702784}} 
[2026-07-27 09:36:08] local.INFO: DEBUG: GPS processor result {"connection_id":145154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552368,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:36:08] local.INFO: GPS data processed {"connection_id":145154,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:36:08] local.INFO: Acknowledgment sent {"connection_id":145154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:36:08] local.INFO: TCP Data received {"connection_id":145155,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1bfa030012d18530007218ae0004d007525..."} 
[2026-07-27 09:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145155,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1bfa030012d18530007218ae0004d007525..."} 
[2026-07-27 09:36:08] local.INFO: Processing buffer {"connection_id":145155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1bfa030012d18530007218ae0004d007525..."} 
[2026-07-27 09:36:08] local.INFO: Packet analysis {"connection_id":145155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1bf"} 
[2026-07-27 09:36:08] local.INFO: Extracted packet for processing {"connection_id":145155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1bf"} 
[2026-07-27 09:36:08] local.INFO: GPS Element Parsed {"raw_longitude":756568832,"raw_latitude":119638752,"longitude_deg":75.6568832,"latitude_deg":11.9638752,"altitude":77,"angle":117,"satellites":37,"speed":29,"hex_longitude":"2d185300","hex_latitude":"07218ae0","is_valid_coordinates":true} 
[2026-07-27 09:36:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:36:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992026368001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:36:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8763322421739520,"note":"Value kept but may cause issues"} 
[2026-07-27 09:36:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1742822717676697600,"note":"Value kept but may cause issues"} 
[2026-07-27 09:36:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:36:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785125118000,"timestamp_ms":1785125118000,"timestamp_seconds":1785125118,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1bfa030"} 
[2026-07-27 09:36:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:36:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-07-27 09:36:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:36:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:36:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:36:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:36:08] local.INFO: Teltonika packet parsed successfully {"connection_id":145155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:36:08] local.INFO: Passing IMEI to GPS processor {"connection_id":145155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:36:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":145155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:36:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:36:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 09:36:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 09:36:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992026368001,"66":14374,"121":206,"28":31744,"24":29,"16":8763322421739520,"45":1742822717676697600},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 09:36:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 09:36:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 09:36:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992026368001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:36:08] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 09:36:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 09:36:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8763322421739520,"km_value":8763322421739.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:36:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1742822717676697600,"description":"Unknown IO ID 45"} 
[2026-07-27 09:36:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992026368001,"power":14374,"unknown_121":206,"unknown_28":31744,"ignition":29,"odometer":null,"unknown_45":1742822717676697600}} 
[2026-07-27 09:36:08] local.INFO: DEBUG: GPS processor result {"connection_id":145155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552369,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:36:08] local.INFO: GPS data processed {"connection_id":145155,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:36:08] local.INFO: Acknowledgment sent {"connection_id":145155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:36:09] local.INFO: TCP Data received {"connection_id":142854,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1bbdb58012d7f994005afe4480007014b2e..."} 
[2026-07-27 09:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1bbdb58012d7f994005afe4480007014b2e..."} 
[2026-07-27 09:36:09] local.INFO: Processing buffer {"connection_id":142854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1bbdb58012d7f994005afe4480007014b2e..."} 
[2026-07-27 09:36:09] local.INFO: Packet analysis {"connection_id":142854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1bb"} 
[2026-07-27 09:36:09] local.INFO: Extracted packet for processing {"connection_id":142854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1bb"} 
[2026-07-27 09:36:09] local.INFO: GPS Element Parsed {"raw_longitude":763337024,"raw_latitude":95413320,"longitude_deg":76.3337024,"latitude_deg":9.541332,"altitude":7,"angle":331,"satellites":46,"speed":0,"hex_longitude":"2d7f9940","hex_latitude":"05afe448","is_valid_coordinates":true} 
[2026-07-27 09:36:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:36:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991889920001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:36:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826379933908992,"note":"Value kept but may cause issues"} 
[2026-07-27 09:36:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194450507423565824,"note":"Value kept but may cause issues"} 
[2026-07-27 09:36:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:36:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785124871000,"timestamp_ms":1785124871000,"timestamp_seconds":1785124871,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1bbdb58"} 
[2026-07-27 09:36:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:36:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:36:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-07-27 09:36:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:36:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:36:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:36:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:36:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:36:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:36:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:36:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:36:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:36:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:36:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991889920001,"66":25952,"27":206,"85":12544,"24":0,"16":358826379933908992,"45":9194450507423565824},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 09:36:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:36:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:36:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991889920001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:36:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 09:36:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:36:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826379933908992,"km_value":358826379933909.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:36:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194450507423565824,"description":"Unknown IO ID 45"} 
[2026-07-27 09:36:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991889920001,"power":25952,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194450507423565824}} 
[2026-07-27 09:36:09] local.INFO: DEBUG: GPS processor result {"connection_id":142854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:36:09] local.INFO: GPS data processed {"connection_id":142854,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:36:09] local.INFO: Acknowledgment sent {"connection_id":142854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:36:15] local.INFO: TCP Data received {"connection_id":143841,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143841,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:36:15] local.INFO: Processing buffer {"connection_id":143841,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:36:15] local.INFO: IMEI packet received {"connection_id":143841,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 09:36:15] local.INFO: IMEI acknowledgment sent {"connection_id":143841,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:36:17] local.INFO: TCP Data received {"connection_id":143841,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:36:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143841,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:36:17] local.INFO: Processing buffer {"connection_id":143841,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:36:17] local.INFO: IMEI packet received {"connection_id":143841,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 09:36:17] local.INFO: IMEI acknowledgment sent {"connection_id":143841,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:36:21] local.INFO: TCP Data received {"connection_id":143841,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143841,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:36:21] local.INFO: Processing buffer {"connection_id":143841,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:36:21] local.INFO: IMEI packet received {"connection_id":143841,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 09:36:21] local.INFO: IMEI acknowledgment sent {"connection_id":143841,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:36:22] local.INFO: TCP Data received {"connection_id":143841,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1c005c0012d0c4a40070586c0001c00fc1f..."} 
[2026-07-27 09:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1c005c0012d0c4a40070586c0001c00fc1f..."} 
[2026-07-27 09:36:22] local.INFO: Processing buffer {"connection_id":143841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1c005c0012d0c4a40070586c0001c00fc1f..."} 
[2026-07-27 09:36:22] local.INFO: Packet analysis {"connection_id":143841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1c0"} 
[2026-07-27 09:36:22] local.INFO: Extracted packet for processing {"connection_id":143841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1c0"} 
[2026-07-27 09:36:22] local.INFO: GPS Element Parsed {"raw_longitude":755780160,"raw_latitude":117802688,"longitude_deg":75.578016,"latitude_deg":11.7802688,"altitude":28,"angle":252,"satellites":31,"speed":17,"hex_longitude":"2d0c4a40","hex_latitude":"070586c0","is_valid_coordinates":true} 
[2026-07-27 09: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-07-27 09:36:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992036096001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:36:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25859847765360640,"note":"Value kept but may cause issues"} 
[2026-07-27 09:36:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":886857313028628480,"note":"Value kept but may cause issues"} 
[2026-07-27 09:36:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:36:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785125144000,"timestamp_ms":1785125144000,"timestamp_seconds":1785125144,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1c005c0"} 
[2026-07-27 09:36:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:36:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-27 09:36:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09: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-07-27 09:36:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:36:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:36:22] local.INFO: Teltonika packet parsed successfully {"connection_id":143841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:36:22] local.INFO: Passing IMEI to GPS processor {"connection_id":143841,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:36:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":143841,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:36:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:36:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 09:36:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 09:36:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992036096001,"66":14396,"164":206,"94":10240,"24":17,"16":25859847765360640,"45":886857313028628480},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-07-27 09:36:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 09:36:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 09:36:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992036096001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:36:22] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-07-27 09:36:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 09:36:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25859847765360640,"km_value":25859847765360.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:36:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":886857313028628480,"description":"Unknown IO ID 45"} 
[2026-07-27 09:36:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992036096001,"power":14396,"unknown_164":206,"unknown_94":10240,"ignition":17,"odometer":null,"unknown_45":886857313028628480}} 
[2026-07-27 09:36:22] local.INFO: DEBUG: GPS processor result {"connection_id":143841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552371,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:36:22] local.INFO: GPS data processed {"connection_id":143841,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:36:22] local.INFO: Acknowledgment sent {"connection_id":143841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:36:30] local.INFO: TCP Data received {"connection_id":142728,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142728,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:36:30] local.INFO: Processing buffer {"connection_id":142728,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:36:30] local.INFO: IMEI packet received {"connection_id":142728,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 09:36:30] local.INFO: IMEI acknowledgment sent {"connection_id":142728,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:36:30] local.INFO: TCP Data received {"connection_id":142727,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142727,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:36:30] local.INFO: Processing buffer {"connection_id":142727,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:36:30] local.INFO: IMEI packet received {"connection_id":142727,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 09:36:30] local.INFO: IMEI acknowledgment sent {"connection_id":142727,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:36:32] local.INFO: TCP Data received {"connection_id":145156,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:36:32] local.INFO: Processing buffer {"connection_id":145156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:36:32] local.INFO: IMEI packet received {"connection_id":145156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 09:36:32] local.INFO: IMEI acknowledgment sent {"connection_id":145156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:36:35] local.INFO: TCP Data received {"connection_id":142728,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142728,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:36:35] local.INFO: Processing buffer {"connection_id":142728,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:36:35] local.INFO: IMEI packet received {"connection_id":142728,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 09:36:35] local.INFO: IMEI acknowledgment sent {"connection_id":142728,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:36:35] local.INFO: TCP Data received {"connection_id":142727,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142727,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:36:35] local.INFO: Processing buffer {"connection_id":142727,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:36:35] local.INFO: IMEI packet received {"connection_id":142727,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 09:36:35] local.INFO: IMEI acknowledgment sent {"connection_id":142727,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:36:36] local.INFO: TCP Data received {"connection_id":142727,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1bfdac8012d7d2e4005ec0c18001301261f..."} 
[2026-07-27 09:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1bfdac8012d7d2e4005ec0c18001301261f..."} 
[2026-07-27 09:36:36] local.INFO: Processing buffer {"connection_id":142727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1bfdac8012d7d2e4005ec0c18001301261f..."} 
[2026-07-27 09:36:36] local.INFO: Packet analysis {"connection_id":142727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1bf"} 
[2026-07-27 09:36:36] local.INFO: Extracted packet for processing {"connection_id":142727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1bf"} 
[2026-07-27 09:36:36] local.INFO: GPS Element Parsed {"raw_longitude":763178560,"raw_latitude":99355672,"longitude_deg":76.317856,"latitude_deg":9.9355672,"altitude":19,"angle":294,"satellites":31,"speed":0,"hex_longitude":"2d7d2e40","hex_latitude":"05ec0c18","is_valid_coordinates":true} 
[2026-07-27 09:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:36:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991956992001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:36:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111588348476260352,"note":"Value kept but may cause issues"} 
[2026-07-27 09:36:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020217497848911872,"note":"Value kept but may cause issues"} 
[2026-07-27 09:36:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:36:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785125133000,"timestamp_ms":1785125133000,"timestamp_seconds":1785125133,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1bfdac8"} 
[2026-07-27 09:36:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:36:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09: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":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-27 09:36:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:36:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:36:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:36:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:36:36] local.INFO: Teltonika packet parsed successfully {"connection_id":142727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:36:36] local.INFO: Passing IMEI to GPS processor {"connection_id":142727,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:36:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":142727,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:36:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:36:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 09:36:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 09:36:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991956992001,"66":2220,"197":206,"87":13824,"24":0,"16":111588348476260352,"45":9020217497848911872},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-07-27 09:36:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 09:36:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 09:36:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991956992001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:36:36] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-27 09:36:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 09:36:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111588348476260352,"km_value":111588348476260.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:36:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020217497848911872,"description":"Unknown IO ID 45"} 
[2026-07-27 09:36:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991956992001,"power":2220,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020217497848911872}} 
[2026-07-27 09:36:36] local.INFO: DEBUG: GPS processor result {"connection_id":142727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552372,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:36:36] local.INFO: GPS data processed {"connection_id":142727,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:36:36] local.INFO: Acknowledgment sent {"connection_id":142727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:36:36] local.INFO: TCP Data received {"connection_id":142728,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1bfb7a0012d18640007218340004a006825..."} 
[2026-07-27 09:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142728,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1bfb7a0012d18640007218340004a006825..."} 
[2026-07-27 09:36:36] local.INFO: Processing buffer {"connection_id":142728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1bfb7a0012d18640007218340004a006825..."} 
[2026-07-27 09:36:36] local.INFO: Packet analysis {"connection_id":142728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1bf"} 
[2026-07-27 09:36:36] local.INFO: Extracted packet for processing {"connection_id":142728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1bf"} 
[2026-07-27 09:36:36] local.INFO: GPS Element Parsed {"raw_longitude":756573184,"raw_latitude":119636800,"longitude_deg":75.6573184,"latitude_deg":11.96368,"altitude":74,"angle":104,"satellites":37,"speed":31,"hex_longitude":"2d186400","hex_latitude":"07218340","is_valid_coordinates":true} 
[2026-07-27 09:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:36:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992030208001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:36:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8763550055006208,"note":"Value kept but may cause issues"} 
[2026-07-27 09:36:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1752744710604775424,"note":"Value kept but may cause issues"} 
[2026-07-27 09:36:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:36:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785125124000,"timestamp_ms":1785125124000,"timestamp_seconds":1785125124,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1bfb7a0"} 
[2026-07-27 09:36:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:36:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-27 09:36:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:36:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:36:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:36:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:36:36] local.INFO: Teltonika packet parsed successfully {"connection_id":142728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:36:36] local.INFO: Passing IMEI to GPS processor {"connection_id":142728,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:36:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":142728,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:36:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:36:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 09:36:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 09:36:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992030208001,"66":14265,"121":206,"28":31744,"24":31,"16":8763550055006208,"45":1752744710604775424},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 09:36:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 09:36:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 09:36:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992030208001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:36:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 09:36:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 09:36:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8763550055006208,"km_value":8763550055006.208,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:36:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1752744710604775424,"description":"Unknown IO ID 45"} 
[2026-07-27 09:36:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992030208001,"power":14265,"unknown_121":206,"unknown_28":31744,"ignition":31,"odometer":null,"unknown_45":1752744710604775424}} 
[2026-07-27 09:36:36] local.INFO: DEBUG: GPS processor result {"connection_id":142728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552373,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:36:36] local.INFO: GPS data processed {"connection_id":142728,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:36:36] local.INFO: Acknowledgment sent {"connection_id":142728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:36:37] local.INFO: TCP Data received {"connection_id":145156,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:36:37] local.INFO: Processing buffer {"connection_id":145156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:36:37] local.INFO: IMEI packet received {"connection_id":145156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 09:36:37] local.INFO: IMEI acknowledgment sent {"connection_id":145156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:36:38] local.INFO: TCP Data received {"connection_id":145156,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1bbdb58012d7f994005afe4480007014b2e..."} 
[2026-07-27 09:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145156,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1bbdb58012d7f994005afe4480007014b2e..."} 
[2026-07-27 09:36:38] local.INFO: Processing buffer {"connection_id":145156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1bbdb58012d7f994005afe4480007014b2e..."} 
[2026-07-27 09:36:38] local.INFO: Packet analysis {"connection_id":145156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1bb"} 
[2026-07-27 09:36:38] local.INFO: Extracted packet for processing {"connection_id":145156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1bb"} 
[2026-07-27 09:36:38] local.INFO: GPS Element Parsed {"raw_longitude":763337024,"raw_latitude":95413320,"longitude_deg":76.3337024,"latitude_deg":9.541332,"altitude":7,"angle":331,"satellites":46,"speed":0,"hex_longitude":"2d7f9940","hex_latitude":"05afe448","is_valid_coordinates":true} 
[2026-07-27 09:36:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:36:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991889920001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:36:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826379933908992,"note":"Value kept but may cause issues"} 
[2026-07-27 09:36:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194450507423565824,"note":"Value kept but may cause issues"} 
[2026-07-27 09:36:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:36:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785124871000,"timestamp_ms":1785124871000,"timestamp_seconds":1785124871,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1bbdb58"} 
[2026-07-27 09:36:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:36:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:36:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-07-27 09:36:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:36:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:36:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:36:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:36:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:36:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:36:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:36:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:36:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:36:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:36:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991889920001,"66":25952,"27":206,"85":12544,"24":0,"16":358826379933908992,"45":9194450507423565824},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 09:36:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:36:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:36:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991889920001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:36:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 09:36:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:36:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826379933908992,"km_value":358826379933909.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:36:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194450507423565824,"description":"Unknown IO ID 45"} 
[2026-07-27 09:36:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991889920001,"power":25952,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194450507423565824}} 
[2026-07-27 09:36:38] local.INFO: DEBUG: GPS processor result {"connection_id":145156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:36:38] local.INFO: GPS data processed {"connection_id":145156,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:36:38] local.INFO: Acknowledgment sent {"connection_id":145156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:37:07] local.INFO: TCP Data received {"connection_id":142727,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1bfdac8012d7d2e4005ec0c18001301261f..."} 
[2026-07-27 09:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1bfdac8012d7d2e4005ec0c18001301261f..."} 
[2026-07-27 09:37:07] local.INFO: Processing buffer {"connection_id":142727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1bfdac8012d7d2e4005ec0c18001301261f..."} 
[2026-07-27 09:37:07] local.INFO: Packet analysis {"connection_id":142727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1bf"} 
[2026-07-27 09:37:07] local.INFO: Extracted packet for processing {"connection_id":142727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1bf"} 
[2026-07-27 09:37:07] local.INFO: GPS Element Parsed {"raw_longitude":763178560,"raw_latitude":99355672,"longitude_deg":76.317856,"latitude_deg":9.9355672,"altitude":19,"angle":294,"satellites":31,"speed":0,"hex_longitude":"2d7d2e40","hex_latitude":"05ec0c18","is_valid_coordinates":true} 
[2026-07-27 09:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:37:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991956992001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:37:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111588348476260352,"note":"Value kept but may cause issues"} 
[2026-07-27 09:37:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020217497848911872,"note":"Value kept but may cause issues"} 
[2026-07-27 09:37:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:37:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785125133000,"timestamp_ms":1785125133000,"timestamp_seconds":1785125133,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1bfdac8"} 
[2026-07-27 09:37:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:37:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-27 09:37:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:37:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:37:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:37:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:37:07] local.INFO: Teltonika packet parsed successfully {"connection_id":142727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:37:07] local.INFO: Passing IMEI to GPS processor {"connection_id":142727,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:37:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":142727,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:37:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:37:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 09:37:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 09:37:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991956992001,"66":2220,"197":206,"87":13824,"24":0,"16":111588348476260352,"45":9020217497848911872},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-07-27 09:37:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 09:37:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 09:37:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991956992001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:37:07] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-27 09:37:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 09:37:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111588348476260352,"km_value":111588348476260.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:37:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020217497848911872,"description":"Unknown IO ID 45"} 
[2026-07-27 09:37:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991956992001,"power":2220,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020217497848911872}} 
[2026-07-27 09:37:08] local.INFO: DEBUG: GPS processor result {"connection_id":142727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552375,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:37:08] local.INFO: GPS data processed {"connection_id":142727,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:37:08] local.INFO: Acknowledgment sent {"connection_id":142727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:37:08] local.INFO: TCP Data received {"connection_id":142728,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1c08a90012d18d380072122d8004300ad23..."} 
[2026-07-27 09:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142728,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1c08a90012d18d380072122d8004300ad23..."} 
[2026-07-27 09:37:08] local.INFO: Processing buffer {"connection_id":142728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1c08a90012d18d380072122d8004300ad23..."} 
[2026-07-27 09:37:08] local.INFO: Packet analysis {"connection_id":142728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1c0"} 
[2026-07-27 09:37:08] local.INFO: Extracted packet for processing {"connection_id":142728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1c0"} 
[2026-07-27 09:37:08] local.INFO: GPS Element Parsed {"raw_longitude":756601728,"raw_latitude":119612120,"longitude_deg":75.6601728,"latitude_deg":11.961212,"altitude":67,"angle":173,"satellites":35,"speed":31,"hex_longitude":"2d18d380","hex_latitude":"072122d8","is_valid_coordinates":true} 
[2026-07-27 09:37:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:37:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992045056001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:37:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8765594459439104,"note":"Value kept but may cause issues"} 
[2026-07-27 09:37:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788632770128953344,"note":"Value kept but may cause issues"} 
[2026-07-27 09:37:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:37:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785125178000,"timestamp_ms":1785125178000,"timestamp_seconds":1785125178,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1c08a90"} 
[2026-07-27 09:37:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:37:08] 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-07-27 09: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-27 09:37:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:37:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:37:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:37:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:37:08] local.INFO: Teltonika packet parsed successfully {"connection_id":142728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:37:08] local.INFO: Passing IMEI to GPS processor {"connection_id":142728,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:37:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":142728,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:37:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:37:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 09:37:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 09:37:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992045056001,"66":14428,"121":206,"28":31744,"24":31,"16":8765594459439104,"45":1788632770128953344},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 09:37:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 09:37:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 09:37:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992045056001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:37:08] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 09:37:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 09:37:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8765594459439104,"km_value":8765594459439.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:37:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788632770128953344,"description":"Unknown IO ID 45"} 
[2026-07-27 09:37:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992045056001,"power":14428,"unknown_121":206,"unknown_28":31744,"ignition":31,"odometer":null,"unknown_45":1788632770128953344}} 
[2026-07-27 09:37:08] local.INFO: DEBUG: GPS processor result {"connection_id":142728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552376,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:37:08] local.INFO: GPS data processed {"connection_id":142728,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:37:08] local.INFO: Acknowledgment sent {"connection_id":142728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:37:09] local.INFO: TCP Data received {"connection_id":145156,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1c07320012d7f994005afe4480008014b2d..."} 
[2026-07-27 09:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145156,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1c07320012d7f994005afe4480008014b2d..."} 
[2026-07-27 09:37:09] local.INFO: Processing buffer {"connection_id":145156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1c07320012d7f994005afe4480008014b2d..."} 
[2026-07-27 09:37:09] local.INFO: Packet analysis {"connection_id":145156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1c0"} 
[2026-07-27 09:37:09] local.INFO: Extracted packet for processing {"connection_id":145156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1c0"} 
[2026-07-27 09:37:09] local.INFO: GPS Element Parsed {"raw_longitude":763337024,"raw_latitude":95413320,"longitude_deg":76.3337024,"latitude_deg":9.541332,"altitude":8,"angle":331,"satellites":45,"speed":0,"hex_longitude":"2d7f9940","hex_latitude":"05afe448","is_valid_coordinates":true} 
[2026-07-27 09:37:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:37:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991966976001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:37:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826379933908992,"note":"Value kept but may cause issues"} 
[2026-07-27 09:37:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194450507423565824,"note":"Value kept but may cause issues"} 
[2026-07-27 09:37:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:37:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785125172000,"timestamp_ms":1785125172000,"timestamp_seconds":1785125172,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1c07320"} 
[2026-07-27 09:37:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:37:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-27 09:37:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:37:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:37:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:37:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:37:09] local.INFO: Teltonika packet parsed successfully {"connection_id":145156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:37:09] local.INFO: Passing IMEI to GPS processor {"connection_id":145156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:37:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":145156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:37:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:37:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:37:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:37:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991966976001,"66":25843,"27":206,"85":12544,"24":0,"16":358826379933908992,"45":9194450507423565824},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 09:37:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:37:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:37:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991966976001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:37:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 09:37:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:37:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826379933908992,"km_value":358826379933909.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:37:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194450507423565824,"description":"Unknown IO ID 45"} 
[2026-07-27 09:37:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991966976001,"power":25843,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194450507423565824}} 
[2026-07-27 09:37:09] local.INFO: DEBUG: GPS processor result {"connection_id":145156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:37:09] local.INFO: GPS data processed {"connection_id":145156,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:37:09] local.INFO: Acknowledgment sent {"connection_id":145156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:37:30] local.INFO: TCP Data received {"connection_id":143842,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143842,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:37:30] local.INFO: Processing buffer {"connection_id":143842,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:37:30] local.INFO: IMEI packet received {"connection_id":143842,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 09:37:30] local.INFO: IMEI acknowledgment sent {"connection_id":143842,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:37:30] local.INFO: TCP Data received {"connection_id":145158,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145158,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:37:30] local.INFO: Processing buffer {"connection_id":145158,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:37:30] local.INFO: IMEI packet received {"connection_id":145158,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 09:37:30] local.INFO: IMEI acknowledgment sent {"connection_id":145158,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:37:32] local.INFO: TCP Data received {"connection_id":143843,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:37:32] local.INFO: Processing buffer {"connection_id":143843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:37:32] local.INFO: IMEI packet received {"connection_id":143843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 09:37:32] local.INFO: IMEI acknowledgment sent {"connection_id":143843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:37:35] local.INFO: TCP Data received {"connection_id":143842,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143842,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:37:35] local.INFO: Processing buffer {"connection_id":143842,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:37:35] local.INFO: IMEI packet received {"connection_id":143842,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 09:37:35] local.INFO: IMEI acknowledgment sent {"connection_id":143842,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:37:35] local.INFO: TCP Data received {"connection_id":145158,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145158,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:37:35] local.INFO: Processing buffer {"connection_id":145158,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:37:35] local.INFO: IMEI packet received {"connection_id":145158,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 09:37:35] local.INFO: IMEI acknowledgment sent {"connection_id":145158,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:37:36] local.INFO: TCP Data received {"connection_id":145158,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1bfdac8012d7d2e4005ec0c18001301261f..."} 
[2026-07-27 09:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1bfdac8012d7d2e4005ec0c18001301261f..."} 
[2026-07-27 09:37:36] local.INFO: Processing buffer {"connection_id":145158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1bfdac8012d7d2e4005ec0c18001301261f..."} 
[2026-07-27 09:37:36] local.INFO: Packet analysis {"connection_id":145158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1bf"} 
[2026-07-27 09:37:36] local.INFO: Extracted packet for processing {"connection_id":145158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1bf"} 
[2026-07-27 09:37:36] local.INFO: GPS Element Parsed {"raw_longitude":763178560,"raw_latitude":99355672,"longitude_deg":76.317856,"latitude_deg":9.9355672,"altitude":19,"angle":294,"satellites":31,"speed":0,"hex_longitude":"2d7d2e40","hex_latitude":"05ec0c18","is_valid_coordinates":true} 
[2026-07-27 09:37:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:37:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991956992001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:37:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111588348476260352,"note":"Value kept but may cause issues"} 
[2026-07-27 09:37:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020217497848911872,"note":"Value kept but may cause issues"} 
[2026-07-27 09:37:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:37:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785125133000,"timestamp_ms":1785125133000,"timestamp_seconds":1785125133,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1bfdac8"} 
[2026-07-27 09:37:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:37:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:37:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-27 09:37:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:37:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:37:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:37:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:37:36] local.INFO: Teltonika packet parsed successfully {"connection_id":145158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:37:36] local.INFO: Passing IMEI to GPS processor {"connection_id":145158,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:37:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":145158,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:37:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:37:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 09:37:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 09:37:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991956992001,"66":2220,"197":206,"87":13824,"24":0,"16":111588348476260352,"45":9020217497848911872},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-07-27 09:37:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 09:37:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 09:37:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991956992001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:37:36] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-27 09:37:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 09:37:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111588348476260352,"km_value":111588348476260.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:37:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020217497848911872,"description":"Unknown IO ID 45"} 
[2026-07-27 09:37:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991956992001,"power":2220,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020217497848911872}} 
[2026-07-27 09:37:36] local.INFO: DEBUG: GPS processor result {"connection_id":145158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552378,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:37:36] local.INFO: GPS data processed {"connection_id":145158,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:37:36] local.INFO: Acknowledgment sent {"connection_id":145158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:37:36] local.INFO: TCP Data received {"connection_id":143842,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1c0b588012d18d7800720ff80003d009a23..."} 
[2026-07-27 09:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1c0b588012d18d7800720ff80003d009a23..."} 
[2026-07-27 09:37:36] local.INFO: Processing buffer {"connection_id":143842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1c0b588012d18d7800720ff80003d009a23..."} 
[2026-07-27 09:37:36] local.INFO: Packet analysis {"connection_id":143842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1c0"} 
[2026-07-27 09:37:36] local.INFO: Extracted packet for processing {"connection_id":143842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1c0"} 
[2026-07-27 09:37:36] local.INFO: GPS Element Parsed {"raw_longitude":756602752,"raw_latitude":119603072,"longitude_deg":75.6602752,"latitude_deg":11.9603072,"altitude":61,"angle":154,"satellites":35,"speed":32,"hex_longitude":"2d18d780","hex_latitude":"0720ff80","is_valid_coordinates":true} 
[2026-07-27 09:37:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:37:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992045568001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:37:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8766045431005184,"note":"Value kept but may cause issues"} 
[2026-07-27 09:37:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788914245105276928,"note":"Value kept but may cause issues"} 
[2026-07-27 09:37:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:37:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785125189000,"timestamp_ms":1785125189000,"timestamp_seconds":1785125189,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1c0b588"} 
[2026-07-27 09:37:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:37:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09:37:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-27 09:37:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:37:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:37:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:37:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:37:36] local.INFO: Teltonika packet parsed successfully {"connection_id":143842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:37:36] local.INFO: Passing IMEI to GPS processor {"connection_id":143842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:37:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":143842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:37:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:37:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 09:37:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 09:37:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992045568001,"66":14450,"121":206,"28":31744,"24":32,"16":8766045431005184,"45":1788914245105276928},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 09:37:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 09:37:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 09:37:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992045568001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:37:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 09:37:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 09:37:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8766045431005184,"km_value":8766045431005.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:37:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788914245105276928,"description":"Unknown IO ID 45"} 
[2026-07-27 09:37:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992045568001,"power":14450,"unknown_121":206,"unknown_28":31744,"ignition":32,"odometer":null,"unknown_45":1788914245105276928}} 
[2026-07-27 09:37:36] local.INFO: DEBUG: GPS processor result {"connection_id":143842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552379,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:37:36] local.INFO: GPS data processed {"connection_id":143842,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:37:36] local.INFO: Acknowledgment sent {"connection_id":143842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:37:37] local.INFO: TCP Data received {"connection_id":143843,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:37:37] local.INFO: Processing buffer {"connection_id":143843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:37:37] local.INFO: IMEI packet received {"connection_id":143843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 09:37:37] local.INFO: IMEI acknowledgment sent {"connection_id":143843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:37:38] local.INFO: TCP Data received {"connection_id":143843,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1c07320012d7f994005afe4480008014b2d..."} 
[2026-07-27 09:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1c07320012d7f994005afe4480008014b2d..."} 
[2026-07-27 09:37:38] local.INFO: Processing buffer {"connection_id":143843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1c07320012d7f994005afe4480008014b2d..."} 
[2026-07-27 09:37:38] local.INFO: Packet analysis {"connection_id":143843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1c0"} 
[2026-07-27 09:37:38] local.INFO: Extracted packet for processing {"connection_id":143843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1c0"} 
[2026-07-27 09:37:38] local.INFO: GPS Element Parsed {"raw_longitude":763337024,"raw_latitude":95413320,"longitude_deg":76.3337024,"latitude_deg":9.541332,"altitude":8,"angle":331,"satellites":45,"speed":0,"hex_longitude":"2d7f9940","hex_latitude":"05afe448","is_valid_coordinates":true} 
[2026-07-27 09:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:37:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991966976001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:37:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826379933908992,"note":"Value kept but may cause issues"} 
[2026-07-27 09:37:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194450507423565824,"note":"Value kept but may cause issues"} 
[2026-07-27 09:37:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:37:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785125172000,"timestamp_ms":1785125172000,"timestamp_seconds":1785125172,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1c07320"} 
[2026-07-27 09:37:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:37:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-27 09:37:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:37:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:37:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:37:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:37:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:37:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:37:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:37:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:37:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:37:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:37:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991966976001,"66":25843,"27":206,"85":12544,"24":0,"16":358826379933908992,"45":9194450507423565824},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 09:37:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:37:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:37:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991966976001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:37:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 09:37:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:37:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826379933908992,"km_value":358826379933909.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:37:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194450507423565824,"description":"Unknown IO ID 45"} 
[2026-07-27 09:37:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991966976001,"power":25843,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194450507423565824}} 
[2026-07-27 09:37:38] local.INFO: DEBUG: GPS processor result {"connection_id":143843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:37:38] local.INFO: GPS data processed {"connection_id":143843,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:37:38] local.INFO: Acknowledgment sent {"connection_id":143843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:37:54] local.INFO: TCP Data received {"connection_id":142730,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142730,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:37:54] local.INFO: Processing buffer {"connection_id":142730,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:37:54] local.INFO: IMEI packet received {"connection_id":142730,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 09:37:54] local.INFO: IMEI acknowledgment sent {"connection_id":142730,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:37:54] local.INFO: TCP Data received {"connection_id":142730,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142730,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:37:54] local.INFO: Processing buffer {"connection_id":142730,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:37:54] local.INFO: IMEI packet received {"connection_id":142730,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 09:37:54] local.INFO: IMEI acknowledgment sent {"connection_id":142730,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:37:55] local.INFO: TCP Data received {"connection_id":142730,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142730,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:37:55] local.INFO: Processing buffer {"connection_id":142730,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:37:55] local.INFO: IMEI packet received {"connection_id":142730,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 09:37:55] local.INFO: IMEI acknowledgment sent {"connection_id":142730,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:37:55] local.INFO: TCP Data received {"connection_id":142730,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142730,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:37:55] local.INFO: Processing buffer {"connection_id":142730,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:37:55] local.INFO: IMEI packet received {"connection_id":142730,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 09:37:55] local.INFO: IMEI acknowledgment sent {"connection_id":142730,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:38:07] local.INFO: TCP Data received {"connection_id":145158,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1bfdac8012d7d2e4005ec0c18001301261f..."} 
[2026-07-27 09:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1bfdac8012d7d2e4005ec0c18001301261f..."} 
[2026-07-27 09:38:07] local.INFO: Processing buffer {"connection_id":145158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1bfdac8012d7d2e4005ec0c18001301261f..."} 
[2026-07-27 09:38:07] local.INFO: Packet analysis {"connection_id":145158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1bf"} 
[2026-07-27 09:38:07] local.INFO: Extracted packet for processing {"connection_id":145158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1bf"} 
[2026-07-27 09:38:07] local.INFO: GPS Element Parsed {"raw_longitude":763178560,"raw_latitude":99355672,"longitude_deg":76.317856,"latitude_deg":9.9355672,"altitude":19,"angle":294,"satellites":31,"speed":0,"hex_longitude":"2d7d2e40","hex_latitude":"05ec0c18","is_valid_coordinates":true} 
[2026-07-27 09:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:38:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991956992001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:38:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111588348476260352,"note":"Value kept but may cause issues"} 
[2026-07-27 09:38:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020217497848911872,"note":"Value kept but may cause issues"} 
[2026-07-27 09:38:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:38:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785125133000,"timestamp_ms":1785125133000,"timestamp_seconds":1785125133,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1bfdac8"} 
[2026-07-27 09:38:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:38:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-27 09:38:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:38:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:38:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:38:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:38:07] local.INFO: Teltonika packet parsed successfully {"connection_id":145158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:38:07] local.INFO: Passing IMEI to GPS processor {"connection_id":145158,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:38:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":145158,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:38:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:38:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 09:38:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 09:38:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991956992001,"66":2220,"197":206,"87":13824,"24":0,"16":111588348476260352,"45":9020217497848911872},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-07-27 09:38:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 09:38:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 09:38:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991956992001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:38:07] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-27 09:38:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 09:38:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111588348476260352,"km_value":111588348476260.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:38:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020217497848911872,"description":"Unknown IO ID 45"} 
[2026-07-27 09:38:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991956992001,"power":2220,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020217497848911872}} 
[2026-07-27 09:38:07] local.INFO: DEBUG: GPS processor result {"connection_id":145158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552381,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:38:07] local.INFO: GPS data processed {"connection_id":145158,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:38:07] local.INFO: Acknowledgment sent {"connection_id":145158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:38:09] local.INFO: TCP Data received {"connection_id":143843,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1c07320012d7f994005afe4480008014b2d..."} 
[2026-07-27 09:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1c07320012d7f994005afe4480008014b2d..."} 
[2026-07-27 09:38:09] local.INFO: Processing buffer {"connection_id":143843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1c07320012d7f994005afe4480008014b2d..."} 
[2026-07-27 09:38:09] local.INFO: Packet analysis {"connection_id":143843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1c0"} 
[2026-07-27 09:38:09] local.INFO: Extracted packet for processing {"connection_id":143843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1c0"} 
[2026-07-27 09:38:09] local.INFO: GPS Element Parsed {"raw_longitude":763337024,"raw_latitude":95413320,"longitude_deg":76.3337024,"latitude_deg":9.541332,"altitude":8,"angle":331,"satellites":45,"speed":0,"hex_longitude":"2d7f9940","hex_latitude":"05afe448","is_valid_coordinates":true} 
[2026-07-27 09:38:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:38:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991966976001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:38:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826379933908992,"note":"Value kept but may cause issues"} 
[2026-07-27 09:38:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194450507423565824,"note":"Value kept but may cause issues"} 
[2026-07-27 09:38:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:38:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785125172000,"timestamp_ms":1785125172000,"timestamp_seconds":1785125172,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1c07320"} 
[2026-07-27 09:38:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:38:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-27 09:38:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:38:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:38:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:38:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:38:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:38:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:38:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:38:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:38:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:38:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:38:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991966976001,"66":25843,"27":206,"85":12544,"24":0,"16":358826379933908992,"45":9194450507423565824},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 09:38:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:38:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:38:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991966976001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:38:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 09:38:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:38:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826379933908992,"km_value":358826379933909.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:38:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194450507423565824,"description":"Unknown IO ID 45"} 
[2026-07-27 09:38:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991966976001,"power":25843,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194450507423565824}} 
[2026-07-27 09:38:09] local.INFO: DEBUG: GPS processor result {"connection_id":143843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:38:09] local.INFO: GPS data processed {"connection_id":143843,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:38:09] local.INFO: Acknowledgment sent {"connection_id":143843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:38:14] local.INFO: TCP Data received {"connection_id":143842,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1c0b588012d18d7800720ff80003d009a23..."} 
[2026-07-27 09:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1c0b588012d18d7800720ff80003d009a23..."} 
[2026-07-27 09:38:14] local.INFO: Processing buffer {"connection_id":143842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1c0b588012d18d7800720ff80003d009a23..."} 
[2026-07-27 09:38:14] local.INFO: Packet analysis {"connection_id":143842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1c0"} 
[2026-07-27 09:38:14] local.INFO: Extracted packet for processing {"connection_id":143842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1c0"} 
[2026-07-27 09:38:14] local.INFO: GPS Element Parsed {"raw_longitude":756602752,"raw_latitude":119603072,"longitude_deg":75.6602752,"latitude_deg":11.9603072,"altitude":61,"angle":154,"satellites":35,"speed":32,"hex_longitude":"2d18d780","hex_latitude":"0720ff80","is_valid_coordinates":true} 
[2026-07-27 09:38:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:38:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992048384001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:38:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8766045431005184,"note":"Value kept but may cause issues"} 
[2026-07-27 09:38:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1790040145009803264,"note":"Value kept but may cause issues"} 
[2026-07-27 09:38:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:38:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785125189000,"timestamp_ms":1785125189000,"timestamp_seconds":1785125189,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1c0b588"} 
[2026-07-27 09:38:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:38:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09:38:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-27 09:38:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:38:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:38:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:38:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:38:14] local.INFO: Teltonika packet parsed successfully {"connection_id":143842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:38:14] local.INFO: Passing IMEI to GPS processor {"connection_id":143842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:38:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":143842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:38:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:38:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 09:38:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 09:38:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992048384001,"66":14450,"121":206,"28":31744,"24":32,"16":8766045431005184,"45":1790040145009803264},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 09:38:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 09:38:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 09:38:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992048384001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:38:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 09:38:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 09:38:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8766045431005184,"km_value":8766045431005.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:38:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1790040145009803264,"description":"Unknown IO ID 45"} 
[2026-07-27 09:38:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992048384001,"power":14450,"unknown_121":206,"unknown_28":31744,"ignition":32,"odometer":null,"unknown_45":1790040145009803264}} 
[2026-07-27 09:38:14] local.INFO: DEBUG: GPS processor result {"connection_id":143842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552383,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:38:14] local.INFO: GPS data processed {"connection_id":143842,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:38:14] local.INFO: Acknowledgment sent {"connection_id":143842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:38:30] local.INFO: TCP Data received {"connection_id":142856,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142856,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:38:30] local.INFO: Processing buffer {"connection_id":142856,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:38:30] local.INFO: IMEI packet received {"connection_id":142856,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 09:38:30] local.INFO: IMEI acknowledgment sent {"connection_id":142856,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:38:32] local.INFO: TCP Data received {"connection_id":145160,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145160,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:38:32] local.INFO: Processing buffer {"connection_id":145160,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:38:32] local.INFO: IMEI packet received {"connection_id":145160,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 09:38:32] local.INFO: IMEI acknowledgment sent {"connection_id":145160,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:38:33] local.INFO: TCP Data received {"connection_id":145160,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145160,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:38:33] local.INFO: Processing buffer {"connection_id":145160,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:38:33] local.INFO: IMEI packet received {"connection_id":145160,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 09:38:33] local.INFO: IMEI acknowledgment sent {"connection_id":145160,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:38:35] local.INFO: TCP Data received {"connection_id":145160,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145160,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:38:35] local.INFO: Processing buffer {"connection_id":145160,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:38:35] local.INFO: IMEI packet received {"connection_id":145160,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 09:38:35] local.INFO: IMEI acknowledgment sent {"connection_id":145160,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:38:35] local.INFO: TCP Data received {"connection_id":142856,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142856,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:38:35] local.INFO: Processing buffer {"connection_id":142856,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:38:35] local.INFO: IMEI packet received {"connection_id":142856,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 09:38:35] local.INFO: IMEI acknowledgment sent {"connection_id":142856,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:38:36] local.INFO: TCP Data received {"connection_id":142856,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1bfdac8012d7d2e4005ec0c18001301261f..."} 
[2026-07-27 09:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1bfdac8012d7d2e4005ec0c18001301261f..."} 
[2026-07-27 09:38:36] local.INFO: Processing buffer {"connection_id":142856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1bfdac8012d7d2e4005ec0c18001301261f..."} 
[2026-07-27 09:38:36] local.INFO: Packet analysis {"connection_id":142856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1bf"} 
[2026-07-27 09:38:36] local.INFO: Extracted packet for processing {"connection_id":142856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1bf"} 
[2026-07-27 09:38:36] local.INFO: GPS Element Parsed {"raw_longitude":763178560,"raw_latitude":99355672,"longitude_deg":76.317856,"latitude_deg":9.9355672,"altitude":19,"angle":294,"satellites":31,"speed":0,"hex_longitude":"2d7d2e40","hex_latitude":"05ec0c18","is_valid_coordinates":true} 
[2026-07-27 09:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:38:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991956992001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:38:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111588348476260352,"note":"Value kept but may cause issues"} 
[2026-07-27 09:38:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020217497848911872,"note":"Value kept but may cause issues"} 
[2026-07-27 09:38:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:38:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785125133000,"timestamp_ms":1785125133000,"timestamp_seconds":1785125133,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1bfdac8"} 
[2026-07-27 09:38:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:38:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-27 09:38:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:38:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:38:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:38:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:38:36] local.INFO: Teltonika packet parsed successfully {"connection_id":142856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:38:36] local.INFO: Passing IMEI to GPS processor {"connection_id":142856,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:38:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":142856,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:38:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:38:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 09:38:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 09:38:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991956992001,"66":2220,"197":206,"87":13824,"24":0,"16":111588348476260352,"45":9020217497848911872},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-07-27 09:38:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 09:38:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 09:38:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991956992001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:38:36] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-27 09:38:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 09:38:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111588348476260352,"km_value":111588348476260.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:38:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020217497848911872,"description":"Unknown IO ID 45"} 
[2026-07-27 09:38:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991956992001,"power":2220,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020217497848911872}} 
[2026-07-27 09:38:36] local.INFO: DEBUG: GPS processor result {"connection_id":142856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552384,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:38:36] local.INFO: GPS data processed {"connection_id":142856,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:38:36] local.INFO: Acknowledgment sent {"connection_id":142856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:38:37] local.INFO: TCP Data received {"connection_id":145161,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:38:37] local.INFO: Processing buffer {"connection_id":145161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:38:37] local.INFO: IMEI packet received {"connection_id":145161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 09:38:37] local.INFO: IMEI acknowledgment sent {"connection_id":145161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:38:40] local.INFO: TCP Data received {"connection_id":145160,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145160,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:38:40] local.INFO: Processing buffer {"connection_id":145160,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:38:40] local.INFO: IMEI packet received {"connection_id":145160,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 09:38:40] local.INFO: IMEI acknowledgment sent {"connection_id":145160,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:38:41] local.INFO: TCP Data received {"connection_id":145160,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1c1f9c0012d19af0007209268002d00cc23..."} 
[2026-07-27 09:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145160,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1c1f9c0012d19af0007209268002d00cc23..."} 
[2026-07-27 09:38:41] local.INFO: Processing buffer {"connection_id":145160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1c1f9c0012d19af0007209268002d00cc23..."} 
[2026-07-27 09:38:41] local.INFO: Packet analysis {"connection_id":145160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1c1"} 
[2026-07-27 09:38:41] local.INFO: Extracted packet for processing {"connection_id":145160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1c1"} 
[2026-07-27 09:38:41] local.INFO: GPS Element Parsed {"raw_longitude":756657920,"raw_latitude":119575144,"longitude_deg":75.665792,"latitude_deg":11.9575144,"altitude":45,"angle":204,"satellites":35,"speed":33,"hex_longitude":"2d19af00","hex_latitude":"07209268","is_valid_coordinates":true} 
[2026-07-27 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-07-27 09:38:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992068608001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:38:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8769571599155200,"note":"Value kept but may cause issues"} 
[2026-07-27 09:38:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853160908530726912,"note":"Value kept but may cause issues"} 
[2026-07-27 09:38:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:38:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785125272000,"timestamp_ms":1785125272000,"timestamp_seconds":1785125272,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1c1f9c0"} 
[2026-07-27 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-07-27 09:38:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-07-27 09:38:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 09:38:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:38:41] local.INFO: Teltonika packet parsed successfully {"connection_id":145160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:38:41] local.INFO: Passing IMEI to GPS processor {"connection_id":145160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:38:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":145160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:38:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:38:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 09:38:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 09:38:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992068608001,"66":13906,"121":206,"28":31744,"24":33,"16":8769571599155200,"45":1853160908530726912},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 09:38:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 09:38:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 09:38:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992068608001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:38:41] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 09:38:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 09:38:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8769571599155200,"km_value":8769571599155.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:38:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853160908530726912,"description":"Unknown IO ID 45"} 
[2026-07-27 09:38:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992068608001,"power":13906,"unknown_121":206,"unknown_28":31744,"ignition":33,"odometer":null,"unknown_45":1853160908530726912}} 
[2026-07-27 09:38:41] local.INFO: DEBUG: GPS processor result {"connection_id":145160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552385,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:38:41] local.INFO: GPS data processed {"connection_id":145160,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:38:41] local.INFO: Acknowledgment sent {"connection_id":145160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:38:42] local.INFO: TCP Data received {"connection_id":145161,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:38:42] local.INFO: Processing buffer {"connection_id":145161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:38:42] local.INFO: IMEI packet received {"connection_id":145161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 09:38:42] local.INFO: IMEI acknowledgment sent {"connection_id":145161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:38:43] local.INFO: TCP Data received {"connection_id":145161,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1c07320012d7f994005afe4480008014b2d..."} 
[2026-07-27 09:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145161,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1c07320012d7f994005afe4480008014b2d..."} 
[2026-07-27 09:38:43] local.INFO: Processing buffer {"connection_id":145161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1c07320012d7f994005afe4480008014b2d..."} 
[2026-07-27 09:38:43] local.INFO: Packet analysis {"connection_id":145161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1c0"} 
[2026-07-27 09:38:43] local.INFO: Extracted packet for processing {"connection_id":145161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1c0"} 
[2026-07-27 09:38:43] local.INFO: GPS Element Parsed {"raw_longitude":763337024,"raw_latitude":95413320,"longitude_deg":76.3337024,"latitude_deg":9.541332,"altitude":8,"angle":331,"satellites":45,"speed":0,"hex_longitude":"2d7f9940","hex_latitude":"05afe448","is_valid_coordinates":true} 
[2026-07-27 09:38:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:38:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991966976001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:38:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826379933908992,"note":"Value kept but may cause issues"} 
[2026-07-27 09:38:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194450507423565824,"note":"Value kept but may cause issues"} 
[2026-07-27 09:38:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:38:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785125172000,"timestamp_ms":1785125172000,"timestamp_seconds":1785125172,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1c07320"} 
[2026-07-27 09:38:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:38:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:38:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-27 09:38:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:38:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:38:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:38:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:38:43] local.INFO: Teltonika packet parsed successfully {"connection_id":145161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:38:43] local.INFO: Passing IMEI to GPS processor {"connection_id":145161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:38:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":145161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:38:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:38:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:38:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:38:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991966976001,"66":25843,"27":206,"85":12544,"24":0,"16":358826379933908992,"45":9194450507423565824},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 09:38:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:38:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:38:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991966976001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:38:43] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 09:38:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:38:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826379933908992,"km_value":358826379933909.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:38:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194450507423565824,"description":"Unknown IO ID 45"} 
[2026-07-27 09:38:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991966976001,"power":25843,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194450507423565824}} 
[2026-07-27 09:38:43] local.INFO: DEBUG: GPS processor result {"connection_id":145161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:38:43] local.INFO: GPS data processed {"connection_id":145161,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:38:43] local.INFO: Acknowledgment sent {"connection_id":145161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:38:46] local.INFO: TCP Data received {"connection_id":145160,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1c20190012d19ad4007208c70002d00be25..."} 
[2026-07-27 09:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145160,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1c20190012d19ad4007208c70002d00be25..."} 
[2026-07-27 09:38:46] local.INFO: Processing buffer {"connection_id":145160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1c20190012d19ad4007208c70002d00be25..."} 
[2026-07-27 09:38:46] local.INFO: Packet analysis {"connection_id":145160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1c2"} 
[2026-07-27 09:38:46] local.INFO: Extracted packet for processing {"connection_id":145160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1c2"} 
[2026-07-27 09:38:46] local.INFO: GPS Element Parsed {"raw_longitude":756657472,"raw_latitude":119573616,"longitude_deg":75.6657472,"latitude_deg":11.9573616,"altitude":45,"angle":190,"satellites":37,"speed":30,"hex_longitude":"2d19ad40","hex_latitude":"07208c70","is_valid_coordinates":true} 
[2026-07-27 09:38:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:38:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992069632001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:38:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8769648908566528,"note":"Value kept but may cause issues"} 
[2026-07-27 09:38:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850698002483800064,"note":"Value kept but may cause issues"} 
[2026-07-27 09:38: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-07-27 09:38:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785125274000,"timestamp_ms":1785125274000,"timestamp_seconds":1785125274,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1c20190"} 
[2026-07-27 09:38:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:38:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09:38:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-07-27 09:38:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:38:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:38:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:38:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:38:46] local.INFO: Teltonika packet parsed successfully {"connection_id":145160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:38:46] local.INFO: Passing IMEI to GPS processor {"connection_id":145160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:38:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":145160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:38:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:38:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 09:38:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 09:38:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992069632001,"66":14113,"121":206,"28":31744,"24":30,"16":8769648908566528,"45":1850698002483800064},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 09:38:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 09:38:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 09:38:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992069632001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:38:46] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 09:38:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 09:38:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8769648908566528,"km_value":8769648908566.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:38:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850698002483800064,"description":"Unknown IO ID 45"} 
[2026-07-27 09:38:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992069632001,"power":14113,"unknown_121":206,"unknown_28":31744,"ignition":30,"odometer":null,"unknown_45":1850698002483800064}} 
[2026-07-27 09:38:46] local.INFO: DEBUG: GPS processor result {"connection_id":145160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552387,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:38:46] local.INFO: GPS data processed {"connection_id":145160,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:38:46] local.INFO: Acknowledgment sent {"connection_id":145160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:38:48] local.INFO: TCP Data received {"connection_id":145161,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1c07320012d7f994005afe4480008014b2d..."} 
[2026-07-27 09:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145161,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1c07320012d7f994005afe4480008014b2d..."} 
[2026-07-27 09:38:48] local.INFO: Processing buffer {"connection_id":145161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1c07320012d7f994005afe4480008014b2d..."} 
[2026-07-27 09:38:48] local.INFO: Packet analysis {"connection_id":145161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1c0"} 
[2026-07-27 09:38:48] local.INFO: Extracted packet for processing {"connection_id":145161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1c0"} 
[2026-07-27 09:38:48] local.INFO: GPS Element Parsed {"raw_longitude":763337024,"raw_latitude":95413320,"longitude_deg":76.3337024,"latitude_deg":9.541332,"altitude":8,"angle":331,"satellites":45,"speed":0,"hex_longitude":"2d7f9940","hex_latitude":"05afe448","is_valid_coordinates":true} 
[2026-07-27 09: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-07-27 09:38:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991966976001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:38:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826379933908992,"note":"Value kept but may cause issues"} 
[2026-07-27 09:38:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194450507423565824,"note":"Value kept but may cause issues"} 
[2026-07-27 09:38:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:38:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785125172000,"timestamp_ms":1785125172000,"timestamp_seconds":1785125172,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1c07320"} 
[2026-07-27 09:38:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:38:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-27 09:38:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09: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-07-27 09:38:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:38:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:38:48] local.INFO: Teltonika packet parsed successfully {"connection_id":145161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:38:48] local.INFO: Passing IMEI to GPS processor {"connection_id":145161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:38:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":145161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:38:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:38:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:38:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:38:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991966976001,"66":25843,"27":206,"85":12544,"24":0,"16":358826379933908992,"45":9194450507423565824},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 09:38:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:38:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:38:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991966976001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:38:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 09:38:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:38:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826379933908992,"km_value":358826379933909.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:38:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194450507423565824,"description":"Unknown IO ID 45"} 
[2026-07-27 09:38:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991966976001,"power":25843,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194450507423565824}} 
[2026-07-27 09:38:48] local.INFO: DEBUG: GPS processor result {"connection_id":145161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:38:48] local.INFO: GPS data processed {"connection_id":145161,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:38:48] local.INFO: Acknowledgment sent {"connection_id":145161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:38:53] local.INFO: TCP Data received {"connection_id":145161,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1c07320012d7f994005afe4480008014b2d..."} 
[2026-07-27 09:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145161,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1c07320012d7f994005afe4480008014b2d..."} 
[2026-07-27 09:38:53] local.INFO: Processing buffer {"connection_id":145161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1c07320012d7f994005afe4480008014b2d..."} 
[2026-07-27 09:38:53] local.INFO: Packet analysis {"connection_id":145161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1c0"} 
[2026-07-27 09:38:53] local.INFO: Extracted packet for processing {"connection_id":145161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1c0"} 
[2026-07-27 09:38:53] local.INFO: GPS Element Parsed {"raw_longitude":763337024,"raw_latitude":95413320,"longitude_deg":76.3337024,"latitude_deg":9.541332,"altitude":8,"angle":331,"satellites":45,"speed":0,"hex_longitude":"2d7f9940","hex_latitude":"05afe448","is_valid_coordinates":true} 
[2026-07-27 09:38:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:38:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991966976001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:38:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826379933908992,"note":"Value kept but may cause issues"} 
[2026-07-27 09:38:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194450507423565824,"note":"Value kept but may cause issues"} 
[2026-07-27 09:38:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:38:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785125172000,"timestamp_ms":1785125172000,"timestamp_seconds":1785125172,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1c07320"} 
[2026-07-27 09:38:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:38:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:38:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-27 09:38:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:38:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:38:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:38:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:38:53] local.INFO: Teltonika packet parsed successfully {"connection_id":145161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:38:53] local.INFO: Passing IMEI to GPS processor {"connection_id":145161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:38:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":145161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:38:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:38:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:38:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:38:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991966976001,"66":25843,"27":206,"85":12544,"24":0,"16":358826379933908992,"45":9194450507423565824},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 09:38:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:38:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:38:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991966976001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:38:53] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 09:38:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:38:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826379933908992,"km_value":358826379933909.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:38:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194450507423565824,"description":"Unknown IO ID 45"} 
[2026-07-27 09:38:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991966976001,"power":25843,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194450507423565824}} 
[2026-07-27 09:38:53] local.INFO: DEBUG: GPS processor result {"connection_id":145161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:38:53] local.INFO: GPS data processed {"connection_id":145161,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:38:53] local.INFO: Acknowledgment sent {"connection_id":145161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:39:07] local.INFO: TCP Data received {"connection_id":142856,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1bfdac8012d7d2e4005ec0c18001301261f..."} 
[2026-07-27 09:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1bfdac8012d7d2e4005ec0c18001301261f..."} 
[2026-07-27 09:39:07] local.INFO: Processing buffer {"connection_id":142856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1bfdac8012d7d2e4005ec0c18001301261f..."} 
[2026-07-27 09:39:07] local.INFO: Packet analysis {"connection_id":142856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1bf"} 
[2026-07-27 09:39:07] local.INFO: Extracted packet for processing {"connection_id":142856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1bf"} 
[2026-07-27 09:39:07] local.INFO: GPS Element Parsed {"raw_longitude":763178560,"raw_latitude":99355672,"longitude_deg":76.317856,"latitude_deg":9.9355672,"altitude":19,"angle":294,"satellites":31,"speed":0,"hex_longitude":"2d7d2e40","hex_latitude":"05ec0c18","is_valid_coordinates":true} 
[2026-07-27 09:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:39:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991956992001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:39:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111588348476260352,"note":"Value kept but may cause issues"} 
[2026-07-27 09:39:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020217497848911872,"note":"Value kept but may cause issues"} 
[2026-07-27 09:39:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:39:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785125133000,"timestamp_ms":1785125133000,"timestamp_seconds":1785125133,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1bfdac8"} 
[2026-07-27 09:39:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:39:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-27 09:39:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:39:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:39:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:39:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:39:07] local.INFO: Teltonika packet parsed successfully {"connection_id":142856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:39:07] local.INFO: Passing IMEI to GPS processor {"connection_id":142856,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:39:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":142856,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:39:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:39:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 09:39:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 09:39:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991956992001,"66":2220,"197":206,"87":13824,"24":0,"16":111588348476260352,"45":9020217497848911872},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-07-27 09:39:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 09:39:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 09:39:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991956992001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:39:07] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-27 09:39:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 09:39:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111588348476260352,"km_value":111588348476260.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:39:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020217497848911872,"description":"Unknown IO ID 45"} 
[2026-07-27 09:39:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991956992001,"power":2220,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020217497848911872}} 
[2026-07-27 09:39:07] local.INFO: DEBUG: GPS processor result {"connection_id":142856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552390,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:39:07] local.INFO: GPS data processed {"connection_id":142856,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:39:07] local.INFO: Acknowledgment sent {"connection_id":142856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:39:30] local.INFO: TCP Data received {"connection_id":142731,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142731,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:39:30] local.INFO: Processing buffer {"connection_id":142731,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:39:30] local.INFO: IMEI packet received {"connection_id":142731,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 09:39:30] local.INFO: IMEI acknowledgment sent {"connection_id":142731,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:39:30] local.INFO: TCP Data received {"connection_id":142858,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142858,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:39:30] local.INFO: Processing buffer {"connection_id":142858,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:39:30] local.INFO: IMEI packet received {"connection_id":142858,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 09:39:30] local.INFO: IMEI acknowledgment sent {"connection_id":142858,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:39:32] local.INFO: TCP Data received {"connection_id":142859,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:39:32] local.INFO: Processing buffer {"connection_id":142859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:39:32] local.INFO: IMEI packet received {"connection_id":142859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 09:39:32] local.INFO: IMEI acknowledgment sent {"connection_id":142859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:39:35] local.INFO: TCP Data received {"connection_id":142731,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142731,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:39:35] local.INFO: Processing buffer {"connection_id":142731,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:39:35] local.INFO: IMEI packet received {"connection_id":142731,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 09:39:35] local.INFO: IMEI acknowledgment sent {"connection_id":142731,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:39:35] local.INFO: TCP Data received {"connection_id":142858,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142858,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:39:35] local.INFO: Processing buffer {"connection_id":142858,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:39:35] local.INFO: IMEI packet received {"connection_id":142858,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 09:39:35] local.INFO: IMEI acknowledgment sent {"connection_id":142858,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:39:36] local.INFO: TCP Data received {"connection_id":142731,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1c20578012d19ae00072089c0002c00b022..."} 
[2026-07-27 09:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1c20578012d19ae00072089c0002c00b022..."} 
[2026-07-27 09:39:36] local.INFO: Processing buffer {"connection_id":142731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1c20578012d19ae00072089c0002c00b022..."} 
[2026-07-27 09:39:36] local.INFO: Packet analysis {"connection_id":142731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1c2"} 
[2026-07-27 09:39:36] local.INFO: Extracted packet for processing {"connection_id":142731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1c2"} 
[2026-07-27 09:39:36] local.INFO: GPS Element Parsed {"raw_longitude":756657664,"raw_latitude":119572928,"longitude_deg":75.6657664,"latitude_deg":11.9572928,"altitude":44,"angle":176,"satellites":34,"speed":25,"hex_longitude":"2d19ae00","hex_latitude":"072089c0","is_valid_coordinates":true} 
[2026-07-27 09:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:39:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992070144001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:39:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8769683268304896,"note":"Value kept but may cause issues"} 
[2026-07-27 09:39:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850205421274165248,"note":"Value kept but may cause issues"} 
[2026-07-27 09:39:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:39:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785125275000,"timestamp_ms":1785125275000,"timestamp_seconds":1785125275,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1c20578"} 
[2026-07-27 09:39:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:39:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-27 09:39:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:39:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:39:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:39:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:39:36] local.INFO: Teltonika packet parsed successfully {"connection_id":142731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:39:36] local.INFO: Passing IMEI to GPS processor {"connection_id":142731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:39:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":142731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:39:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:39:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 09:39:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 09:39:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992070144001,"66":14102,"121":206,"28":31744,"24":25,"16":8769683268304896,"45":1850205421274165248},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 09:39:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 09:39:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 09:39:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992070144001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:39:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 09:39:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 09:39:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8769683268304896,"km_value":8769683268304.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:39:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850205421274165248,"description":"Unknown IO ID 45"} 
[2026-07-27 09:39:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992070144001,"power":14102,"unknown_121":206,"unknown_28":31744,"ignition":25,"odometer":null,"unknown_45":1850205421274165248}} 
[2026-07-27 09:39:36] local.INFO: DEBUG: GPS processor result {"connection_id":142731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552391,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:39:36] local.INFO: GPS data processed {"connection_id":142731,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:39:36] local.INFO: Acknowledgment sent {"connection_id":142731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:39:36] local.INFO: TCP Data received {"connection_id":142858,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1bfdac8012d7d2e4005ec0c18001301261f..."} 
[2026-07-27 09:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1bfdac8012d7d2e4005ec0c18001301261f..."} 
[2026-07-27 09:39:36] local.INFO: Processing buffer {"connection_id":142858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1bfdac8012d7d2e4005ec0c18001301261f..."} 
[2026-07-27 09:39:36] local.INFO: Packet analysis {"connection_id":142858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1bf"} 
[2026-07-27 09:39:36] local.INFO: Extracted packet for processing {"connection_id":142858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1bf"} 
[2026-07-27 09:39:36] local.INFO: GPS Element Parsed {"raw_longitude":763178560,"raw_latitude":99355672,"longitude_deg":76.317856,"latitude_deg":9.9355672,"altitude":19,"angle":294,"satellites":31,"speed":0,"hex_longitude":"2d7d2e40","hex_latitude":"05ec0c18","is_valid_coordinates":true} 
[2026-07-27 09:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:39:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991956992001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:39:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111588348476260352,"note":"Value kept but may cause issues"} 
[2026-07-27 09:39:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020217497848911872,"note":"Value kept but may cause issues"} 
[2026-07-27 09:39:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:39:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785125133000,"timestamp_ms":1785125133000,"timestamp_seconds":1785125133,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1bfdac8"} 
[2026-07-27 09:39:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:39:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-27 09:39:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:39:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:39:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:39:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:39:36] local.INFO: Teltonika packet parsed successfully {"connection_id":142858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:39:36] local.INFO: Passing IMEI to GPS processor {"connection_id":142858,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:39:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":142858,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:39:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:39:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 09:39:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 09:39:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991956992001,"66":2220,"197":206,"87":13824,"24":0,"16":111588348476260352,"45":9020217497848911872},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-07-27 09:39:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 09:39:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 09:39:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991956992001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:39:36] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-27 09:39:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 09:39:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111588348476260352,"km_value":111588348476260.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:39:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020217497848911872,"description":"Unknown IO ID 45"} 
[2026-07-27 09:39:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991956992001,"power":2220,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020217497848911872}} 
[2026-07-27 09:39:36] local.INFO: DEBUG: GPS processor result {"connection_id":142858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552392,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:39:36] local.INFO: GPS data processed {"connection_id":142858,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:39:36] local.INFO: Acknowledgment sent {"connection_id":142858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:39:37] local.INFO: TCP Data received {"connection_id":142859,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:39:37] local.INFO: Processing buffer {"connection_id":142859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:39:37] local.INFO: IMEI packet received {"connection_id":142859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 09:39:37] local.INFO: IMEI acknowledgment sent {"connection_id":142859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:39:38] local.INFO: TCP Data received {"connection_id":142859,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1c07320012d7f994005afe4480008014b2d..."} 
[2026-07-27 09:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1c07320012d7f994005afe4480008014b2d..."} 
[2026-07-27 09:39:38] local.INFO: Processing buffer {"connection_id":142859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1c07320012d7f994005afe4480008014b2d..."} 
[2026-07-27 09:39:38] local.INFO: Packet analysis {"connection_id":142859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1c0"} 
[2026-07-27 09:39:38] local.INFO: Extracted packet for processing {"connection_id":142859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1c0"} 
[2026-07-27 09:39:38] local.INFO: GPS Element Parsed {"raw_longitude":763337024,"raw_latitude":95413320,"longitude_deg":76.3337024,"latitude_deg":9.541332,"altitude":8,"angle":331,"satellites":45,"speed":0,"hex_longitude":"2d7f9940","hex_latitude":"05afe448","is_valid_coordinates":true} 
[2026-07-27 09:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:39:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991966976001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:39:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826379933908992,"note":"Value kept but may cause issues"} 
[2026-07-27 09:39:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194450507423565824,"note":"Value kept but may cause issues"} 
[2026-07-27 09:39:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:39:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785125172000,"timestamp_ms":1785125172000,"timestamp_seconds":1785125172,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1c07320"} 
[2026-07-27 09:39:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:39:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-27 09:39:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:39:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:39:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:39:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:39:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:39:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:39:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:39:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:39:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:39:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:39:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991966976001,"66":25843,"27":206,"85":12544,"24":0,"16":358826379933908992,"45":9194450507423565824},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 09:39:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:39:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:39:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991966976001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:39:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 09:39:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:39:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826379933908992,"km_value":358826379933909.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:39:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194450507423565824,"description":"Unknown IO ID 45"} 
[2026-07-27 09:39:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991966976001,"power":25843,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194450507423565824}} 
[2026-07-27 09:39:38] local.INFO: DEBUG: GPS processor result {"connection_id":142859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:39:38] local.INFO: GPS data processed {"connection_id":142859,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:39:38] local.INFO: Acknowledgment sent {"connection_id":142859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:40:07] local.INFO: TCP Data received {"connection_id":142731,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1c349b0012d19c98007201e68002f013427..."} 
[2026-07-27 09:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1c349b0012d19c98007201e68002f013427..."} 
[2026-07-27 09:40:07] local.INFO: Processing buffer {"connection_id":142731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1c349b0012d19c98007201e68002f013427..."} 
[2026-07-27 09:40:07] local.INFO: Packet analysis {"connection_id":142731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1c3"} 
[2026-07-27 09:40:07] local.INFO: Extracted packet for processing {"connection_id":142731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1c3"} 
[2026-07-27 09:40:07] local.INFO: GPS Element Parsed {"raw_longitude":756664704,"raw_latitude":119545448,"longitude_deg":75.6664704,"latitude_deg":11.9545448,"altitude":47,"angle":308,"satellites":39,"speed":8,"hex_longitude":"2d19c980","hex_latitude":"07201e68","is_valid_coordinates":true} 
[2026-07-27 09:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:40:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992091136001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:40:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8771190801825792,"note":"Value kept but may cause issues"} 
[2026-07-27 09:40:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858508933079885824,"note":"Value kept but may cause issues"} 
[2026-07-27 09:40:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:40:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785125358000,"timestamp_ms":1785125358000,"timestamp_seconds":1785125358,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1c349b0"} 
[2026-07-27 09:40:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:40:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-07-27 09:40:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:40:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:40:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:40:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:40:07] local.INFO: Teltonika packet parsed successfully {"connection_id":142731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:40:07] local.INFO: Passing IMEI to GPS processor {"connection_id":142731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:40:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":142731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:40:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:40:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 09:40:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 09:40:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992091136001,"66":14298,"121":206,"28":31744,"24":8,"16":8771190801825792,"45":1858508933079885824},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 09:40:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 09:40:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 09:40:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992091136001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:40:08] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 09:40:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 09:40:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8771190801825792,"km_value":8771190801825.792,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:40:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858508933079885824,"description":"Unknown IO ID 45"} 
[2026-07-27 09:40:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992091136001,"power":14298,"unknown_121":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1858508933079885824}} 
[2026-07-27 09:40:08] local.INFO: TCP Data received {"connection_id":142858,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1bfdac8012d7d2e4005ec0c18001301261f..."} 
[2026-07-27 09:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1bfdac8012d7d2e4005ec0c18001301261f..."} 
[2026-07-27 09:40:08] local.INFO: Processing buffer {"connection_id":142858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1bfdac8012d7d2e4005ec0c18001301261f..."} 
[2026-07-27 09:40:08] local.INFO: Packet analysis {"connection_id":142858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1bf"} 
[2026-07-27 09:40:08] local.INFO: Extracted packet for processing {"connection_id":142858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1bf"} 
[2026-07-27 09:40:08] local.INFO: GPS Element Parsed {"raw_longitude":763178560,"raw_latitude":99355672,"longitude_deg":76.317856,"latitude_deg":9.9355672,"altitude":19,"angle":294,"satellites":31,"speed":0,"hex_longitude":"2d7d2e40","hex_latitude":"05ec0c18","is_valid_coordinates":true} 
[2026-07-27 09:40:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:40:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991956992001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:40:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111588348476260352,"note":"Value kept but may cause issues"} 
[2026-07-27 09:40:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020217497848911872,"note":"Value kept but may cause issues"} 
[2026-07-27 09:40:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:40:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785125133000,"timestamp_ms":1785125133000,"timestamp_seconds":1785125133,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1bfdac8"} 
[2026-07-27 09:40:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:40:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09: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":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-27 09:40:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:40:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:40:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:40:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:40:08] local.INFO: Teltonika packet parsed successfully {"connection_id":142858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:40:08] local.INFO: Passing IMEI to GPS processor {"connection_id":142858,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:40:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":142858,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:40:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:40:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 09:40:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 09:40:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991956992001,"66":2220,"197":206,"87":13824,"24":0,"16":111588348476260352,"45":9020217497848911872},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-07-27 09:40:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 09:40:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 09:40:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991956992001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:40:08] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-27 09:40:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 09:40:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111588348476260352,"km_value":111588348476260.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:40:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020217497848911872,"description":"Unknown IO ID 45"} 
[2026-07-27 09:40:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991956992001,"power":2220,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020217497848911872}} 
[2026-07-27 09:40:08] local.INFO: DEBUG: GPS processor result {"connection_id":142858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552394,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:40:08] local.INFO: GPS data processed {"connection_id":142858,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:40:08] local.INFO: Acknowledgment sent {"connection_id":142858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:40:08] local.INFO: DEBUG: GPS processor result {"connection_id":142731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552395,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:40:08] local.INFO: GPS data processed {"connection_id":142731,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:40:08] local.INFO: Acknowledgment sent {"connection_id":142731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:40:09] local.INFO: TCP Data received {"connection_id":142859,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1c07320012d7f994005afe4480008014b2d..."} 
[2026-07-27 09:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1c07320012d7f994005afe4480008014b2d..."} 
[2026-07-27 09:40:09] local.INFO: Processing buffer {"connection_id":142859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1c07320012d7f994005afe4480008014b2d..."} 
[2026-07-27 09:40:09] local.INFO: Packet analysis {"connection_id":142859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1c0"} 
[2026-07-27 09:40:09] local.INFO: Extracted packet for processing {"connection_id":142859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1c0"} 
[2026-07-27 09:40:09] local.INFO: GPS Element Parsed {"raw_longitude":763337024,"raw_latitude":95413320,"longitude_deg":76.3337024,"latitude_deg":9.541332,"altitude":8,"angle":331,"satellites":45,"speed":0,"hex_longitude":"2d7f9940","hex_latitude":"05afe448","is_valid_coordinates":true} 
[2026-07-27 09:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:40:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991966976001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:40:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826379933908992,"note":"Value kept but may cause issues"} 
[2026-07-27 09:40:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194450507423565824,"note":"Value kept but may cause issues"} 
[2026-07-27 09:40:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:40:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785125172000,"timestamp_ms":1785125172000,"timestamp_seconds":1785125172,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1c07320"} 
[2026-07-27 09:40:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:40:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-27 09:40:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:40:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:40:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:40:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:40:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:40:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:40:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09: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-07-27 09:40:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:40:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:40:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991966976001,"66":25843,"27":206,"85":12544,"24":0,"16":358826379933908992,"45":9194450507423565824},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 09:40:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:40:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:40:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991966976001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:40:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 09:40:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:40:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826379933908992,"km_value":358826379933909.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:40:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194450507423565824,"description":"Unknown IO ID 45"} 
[2026-07-27 09:40:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991966976001,"power":25843,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194450507423565824}} 
[2026-07-27 09:40:09] local.INFO: DEBUG: GPS processor result {"connection_id":142859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:40:09] local.INFO: GPS data processed {"connection_id":142859,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:40:09] local.INFO: Acknowledgment sent {"connection_id":142859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:40:15] local.INFO: TCP Data received {"connection_id":145162,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 09:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145162,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 09:40:15] local.INFO: Processing buffer {"connection_id":145162,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 09:40:15] local.INFO: IMEI packet received {"connection_id":145162,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 09:40:15] local.INFO: IMEI acknowledgment sent {"connection_id":145162,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:40:28] local.INFO: TCP Data received {"connection_id":142860,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142860,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:40:28] local.INFO: Processing buffer {"connection_id":142860,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:40:28] local.INFO: IMEI packet received {"connection_id":142860,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 09:40:28] local.INFO: IMEI acknowledgment sent {"connection_id":142860,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:40:30] local.INFO: TCP Data received {"connection_id":142732,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142732,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:40:30] local.INFO: Processing buffer {"connection_id":142732,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:40:30] local.INFO: IMEI packet received {"connection_id":142732,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 09:40:30] local.INFO: IMEI acknowledgment sent {"connection_id":142732,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:40:30] local.INFO: TCP Data received {"connection_id":142860,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142860,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:40:30] local.INFO: Processing buffer {"connection_id":142860,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:40:30] local.INFO: IMEI packet received {"connection_id":142860,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 09:40:30] local.INFO: IMEI acknowledgment sent {"connection_id":142860,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:40:30] local.INFO: TCP Data received {"connection_id":142860,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142860,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:40:30] local.INFO: Processing buffer {"connection_id":142860,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:40:30] local.INFO: IMEI packet received {"connection_id":142860,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 09:40:30] local.INFO: IMEI acknowledgment sent {"connection_id":142860,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:40:31] local.INFO: TCP Data received {"connection_id":142860,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142860,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:40:31] local.INFO: Processing buffer {"connection_id":142860,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:40:31] local.INFO: IMEI packet received {"connection_id":142860,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 09:40:31] local.INFO: IMEI acknowledgment sent {"connection_id":142860,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:40:32] local.INFO: TCP Data received {"connection_id":143846,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:40:32] local.INFO: Processing buffer {"connection_id":143846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:40:32] local.INFO: IMEI packet received {"connection_id":143846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 09:40:32] local.INFO: IMEI acknowledgment sent {"connection_id":143846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:40:35] local.INFO: TCP Data received {"connection_id":142732,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142732,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:40:35] local.INFO: Processing buffer {"connection_id":142732,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:40:35] local.INFO: IMEI packet received {"connection_id":142732,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 09:40:35] local.INFO: IMEI acknowledgment sent {"connection_id":142732,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:40:36] local.INFO: TCP Data received {"connection_id":142732,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1bfdac8012d7d2e4005ec0c18001301261f..."} 
[2026-07-27 09:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1bfdac8012d7d2e4005ec0c18001301261f..."} 
[2026-07-27 09:40:36] local.INFO: Processing buffer {"connection_id":142732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1bfdac8012d7d2e4005ec0c18001301261f..."} 
[2026-07-27 09:40:36] local.INFO: Packet analysis {"connection_id":142732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1bf"} 
[2026-07-27 09:40:36] local.INFO: Extracted packet for processing {"connection_id":142732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1bf"} 
[2026-07-27 09:40:36] local.INFO: GPS Element Parsed {"raw_longitude":763178560,"raw_latitude":99355672,"longitude_deg":76.317856,"latitude_deg":9.9355672,"altitude":19,"angle":294,"satellites":31,"speed":0,"hex_longitude":"2d7d2e40","hex_latitude":"05ec0c18","is_valid_coordinates":true} 
[2026-07-27 09:40:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:40:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991956992001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:40:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111588348476260352,"note":"Value kept but may cause issues"} 
[2026-07-27 09:40:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020217497848911872,"note":"Value kept but may cause issues"} 
[2026-07-27 09:40:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:40:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785125133000,"timestamp_ms":1785125133000,"timestamp_seconds":1785125133,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1bfdac8"} 
[2026-07-27 09:40:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:40:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:40:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-27 09:40:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:40:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:40:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:40:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:40:36] local.INFO: Teltonika packet parsed successfully {"connection_id":142732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:40:36] local.INFO: Passing IMEI to GPS processor {"connection_id":142732,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:40:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":142732,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:40:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:40:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 09:40:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 09:40:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991956992001,"66":2220,"197":206,"87":13824,"24":0,"16":111588348476260352,"45":9020217497848911872},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-07-27 09:40:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 09:40:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 09:40:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991956992001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:40:36] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-27 09:40:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 09:40:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111588348476260352,"km_value":111588348476260.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:40:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020217497848911872,"description":"Unknown IO ID 45"} 
[2026-07-27 09:40:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991956992001,"power":2220,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020217497848911872}} 
[2026-07-27 09:40:36] local.INFO: DEBUG: GPS processor result {"connection_id":142732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552397,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:40:36] local.INFO: GPS data processed {"connection_id":142732,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:40:36] local.INFO: Acknowledgment sent {"connection_id":142732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:40:37] local.INFO: TCP Data received {"connection_id":143846,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:40:37] local.INFO: Processing buffer {"connection_id":143846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:40:37] local.INFO: IMEI packet received {"connection_id":143846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 09:40:37] local.INFO: IMEI acknowledgment sent {"connection_id":143846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:40:38] local.INFO: TCP Data received {"connection_id":143846,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1c07320012d7f994005afe4480008014b2d..."} 
[2026-07-27 09:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1c07320012d7f994005afe4480008014b2d..."} 
[2026-07-27 09:40:38] local.INFO: Processing buffer {"connection_id":143846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1c07320012d7f994005afe4480008014b2d..."} 
[2026-07-27 09:40:38] local.INFO: Packet analysis {"connection_id":143846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1c0"} 
[2026-07-27 09:40:38] local.INFO: Extracted packet for processing {"connection_id":143846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1c0"} 
[2026-07-27 09:40:38] local.INFO: GPS Element Parsed {"raw_longitude":763337024,"raw_latitude":95413320,"longitude_deg":76.3337024,"latitude_deg":9.541332,"altitude":8,"angle":331,"satellites":45,"speed":0,"hex_longitude":"2d7f9940","hex_latitude":"05afe448","is_valid_coordinates":true} 
[2026-07-27 09:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:40:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991966976001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:40:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826379933908992,"note":"Value kept but may cause issues"} 
[2026-07-27 09:40:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194450507423565824,"note":"Value kept but may cause issues"} 
[2026-07-27 09:40:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:40:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785125172000,"timestamp_ms":1785125172000,"timestamp_seconds":1785125172,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1c07320"} 
[2026-07-27 09:40:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:40:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-27 09:40:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:40:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:40:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:40:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:40:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:40:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:40:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:40:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:40:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:40:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:40:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991966976001,"66":25843,"27":206,"85":12544,"24":0,"16":358826379933908992,"45":9194450507423565824},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 09:40:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:40:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:40:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991966976001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:40:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 09:40:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:40:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826379933908992,"km_value":358826379933909.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:40:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194450507423565824,"description":"Unknown IO ID 45"} 
[2026-07-27 09:40:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991966976001,"power":25843,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194450507423565824}} 
[2026-07-27 09:40:38] local.INFO: DEBUG: GPS processor result {"connection_id":143846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:40:38] local.INFO: GPS data processed {"connection_id":143846,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:40:38] local.INFO: Acknowledgment sent {"connection_id":143846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:40:48] local.INFO: TCP Data received {"connection_id":145163,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 09:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145163,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 09:40:48] local.INFO: Processing buffer {"connection_id":145163,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 09:40:48] local.INFO: IMEI packet received {"connection_id":145163,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 09:40:48] local.INFO: IMEI acknowledgment sent {"connection_id":145163,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:40:50] local.INFO: TCP Data received {"connection_id":145163,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 09:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145163,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 09:40:50] local.INFO: Processing buffer {"connection_id":145163,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 09:40:50] local.INFO: IMEI packet received {"connection_id":145163,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-27 09:40:50] local.INFO: IMEI acknowledgment sent {"connection_id":145163,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:41:07] local.INFO: TCP Data received {"connection_id":142732,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1c47290012d7d2e4005ec0c180018012622..."} 
[2026-07-27 09:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1c47290012d7d2e4005ec0c180018012622..."} 
[2026-07-27 09:41:07] local.INFO: Processing buffer {"connection_id":142732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1c47290012d7d2e4005ec0c180018012622..."} 
[2026-07-27 09:41:07] local.INFO: Packet analysis {"connection_id":142732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1c4"} 
[2026-07-27 09:41:07] local.INFO: Extracted packet for processing {"connection_id":142732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1c4"} 
[2026-07-27 09:41:07] local.INFO: GPS Element Parsed {"raw_longitude":763178560,"raw_latitude":99355672,"longitude_deg":76.317856,"latitude_deg":9.9355672,"altitude":24,"angle":294,"satellites":34,"speed":0,"hex_longitude":"2d7d2e40","hex_latitude":"05ec0c18","is_valid_coordinates":true} 
[2026-07-27 09:41:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:41:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992034048001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:41:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111588348476260352,"note":"Value kept but may cause issues"} 
[2026-07-27 09:41:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020217497848911872,"note":"Value kept but may cause issues"} 
[2026-07-27 09:41:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:41:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785125434000,"timestamp_ms":1785125434000,"timestamp_seconds":1785125434,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1c47290"} 
[2026-07-27 09:41:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:41:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:41:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-27 09:41:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:41:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:41:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:41:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:41:07] local.INFO: Teltonika packet parsed successfully {"connection_id":142732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:41:07] local.INFO: Passing IMEI to GPS processor {"connection_id":142732,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:41:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":142732,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:41:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:41:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 09:41:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 09:41:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992034048001,"66":2220,"197":206,"87":13824,"24":0,"16":111588348476260352,"45":9020217497848911872},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-07-27 09:41:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 09:41:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 09:41:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992034048001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:41:07] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-27 09:41:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 09:41:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111588348476260352,"km_value":111588348476260.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:41:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020217497848911872,"description":"Unknown IO ID 45"} 
[2026-07-27 09:41:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992034048001,"power":2220,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020217497848911872}} 
[2026-07-27 09:41:07] local.INFO: DEBUG: GPS processor result {"connection_id":142732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552399,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:41:07] local.INFO: GPS data processed {"connection_id":142732,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:41:07] local.INFO: Acknowledgment sent {"connection_id":142732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:41:09] local.INFO: TCP Data received {"connection_id":143846,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1c07320012d7f994005afe4480008014b2d..."} 
[2026-07-27 09:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1c07320012d7f994005afe4480008014b2d..."} 
[2026-07-27 09:41:09] local.INFO: Processing buffer {"connection_id":143846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1c07320012d7f994005afe4480008014b2d..."} 
[2026-07-27 09:41:09] local.INFO: Packet analysis {"connection_id":143846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1c0"} 
[2026-07-27 09:41:09] local.INFO: Extracted packet for processing {"connection_id":143846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1c0"} 
[2026-07-27 09:41:09] local.INFO: GPS Element Parsed {"raw_longitude":763337024,"raw_latitude":95413320,"longitude_deg":76.3337024,"latitude_deg":9.541332,"altitude":8,"angle":331,"satellites":45,"speed":0,"hex_longitude":"2d7f9940","hex_latitude":"05afe448","is_valid_coordinates":true} 
[2026-07-27 09:41:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:41:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991966976001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:41:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826379933908992,"note":"Value kept but may cause issues"} 
[2026-07-27 09:41:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194450507423565824,"note":"Value kept but may cause issues"} 
[2026-07-27 09:41:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:41:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785125172000,"timestamp_ms":1785125172000,"timestamp_seconds":1785125172,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1c07320"} 
[2026-07-27 09:41:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:41:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-27 09:41:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:41:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:41:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:41:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:41:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:41:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:41:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:41:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:41:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:41:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:41:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991966976001,"66":25843,"27":206,"85":12544,"24":0,"16":358826379933908992,"45":9194450507423565824},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 09:41:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:41:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:41:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991966976001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:41:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 09:41:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:41:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826379933908992,"km_value":358826379933909.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:41:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194450507423565824,"description":"Unknown IO ID 45"} 
[2026-07-27 09:41:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991966976001,"power":25843,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194450507423565824}} 
[2026-07-27 09:41:09] local.INFO: DEBUG: GPS processor result {"connection_id":143846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:41:09] local.INFO: GPS data processed {"connection_id":143846,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:41:09] local.INFO: Acknowledgment sent {"connection_id":143846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:41:32] local.INFO: TCP Data received {"connection_id":142863,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:41:32] local.INFO: Processing buffer {"connection_id":142863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:41:32] local.INFO: IMEI packet received {"connection_id":142863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 09:41:32] local.INFO: IMEI acknowledgment sent {"connection_id":142863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:41:35] local.INFO: TCP Data received {"connection_id":142864,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142864,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:41:35] local.INFO: Processing buffer {"connection_id":142864,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:41:35] local.INFO: IMEI packet received {"connection_id":142864,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 09:41:35] local.INFO: IMEI acknowledgment sent {"connection_id":142864,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:41:37] local.INFO: TCP Data received {"connection_id":142863,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:41:37] local.INFO: Processing buffer {"connection_id":142863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:41:37] local.INFO: IMEI packet received {"connection_id":142863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 09:41:37] local.INFO: IMEI acknowledgment sent {"connection_id":142863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:41:38] local.INFO: TCP Data received {"connection_id":142863,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1c07320012d7f994005afe4480008014b2d..."} 
[2026-07-27 09:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142863,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1c07320012d7f994005afe4480008014b2d..."} 
[2026-07-27 09:41:38] local.INFO: Processing buffer {"connection_id":142863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1c07320012d7f994005afe4480008014b2d..."} 
[2026-07-27 09:41:38] local.INFO: Packet analysis {"connection_id":142863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1c0"} 
[2026-07-27 09:41:38] local.INFO: Extracted packet for processing {"connection_id":142863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1c0"} 
[2026-07-27 09:41:38] local.INFO: GPS Element Parsed {"raw_longitude":763337024,"raw_latitude":95413320,"longitude_deg":76.3337024,"latitude_deg":9.541332,"altitude":8,"angle":331,"satellites":45,"speed":0,"hex_longitude":"2d7f9940","hex_latitude":"05afe448","is_valid_coordinates":true} 
[2026-07-27 09:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:41:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456991966976001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:41:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826379933908992,"note":"Value kept but may cause issues"} 
[2026-07-27 09:41:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194450507423565824,"note":"Value kept but may cause issues"} 
[2026-07-27 09:41:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:41:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785125172000,"timestamp_ms":1785125172000,"timestamp_seconds":1785125172,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1c07320"} 
[2026-07-27 09:41:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:41:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-27 09:41:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:41:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:41:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:41:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:41:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:41:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:41:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:41:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:41:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:41:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:41:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456991966976001,"66":25843,"27":206,"85":12544,"24":0,"16":358826379933908992,"45":9194450507423565824},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 09:41:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:41:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:41:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456991966976001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:41:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 09:41:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:41:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826379933908992,"km_value":358826379933909.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:41:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194450507423565824,"description":"Unknown IO ID 45"} 
[2026-07-27 09:41:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456991966976001,"power":25843,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194450507423565824}} 
[2026-07-27 09:41:38] local.INFO: DEBUG: GPS processor result {"connection_id":142863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:41:38] local.INFO: GPS data processed {"connection_id":142863,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:41:38] local.INFO: Acknowledgment sent {"connection_id":142863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:41:40] local.INFO: TCP Data received {"connection_id":142864,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142864,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:41:40] local.INFO: Processing buffer {"connection_id":142864,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:41:40] local.INFO: IMEI packet received {"connection_id":142864,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 09:41:40] local.INFO: IMEI acknowledgment sent {"connection_id":142864,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:41:41] local.INFO: TCP Data received {"connection_id":142864,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1c47290012d7d2e4005ec0c180018012622..."} 
[2026-07-27 09:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1c47290012d7d2e4005ec0c180018012622..."} 
[2026-07-27 09:41:41] local.INFO: Processing buffer {"connection_id":142864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1c47290012d7d2e4005ec0c180018012622..."} 
[2026-07-27 09:41:41] local.INFO: Packet analysis {"connection_id":142864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1c4"} 
[2026-07-27 09:41:41] local.INFO: Extracted packet for processing {"connection_id":142864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1c4"} 
[2026-07-27 09:41:41] local.INFO: GPS Element Parsed {"raw_longitude":763178560,"raw_latitude":99355672,"longitude_deg":76.317856,"latitude_deg":9.9355672,"altitude":24,"angle":294,"satellites":34,"speed":0,"hex_longitude":"2d7d2e40","hex_latitude":"05ec0c18","is_valid_coordinates":true} 
[2026-07-27 09:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:41:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992034048001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:41:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111588348476260352,"note":"Value kept but may cause issues"} 
[2026-07-27 09:41:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020217497848911872,"note":"Value kept but may cause issues"} 
[2026-07-27 09:41:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:41:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785125434000,"timestamp_ms":1785125434000,"timestamp_seconds":1785125434,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1c47290"} 
[2026-07-27 09:41:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:41:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09: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":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-27 09:41:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:41:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:41:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:41:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:41:41] local.INFO: Teltonika packet parsed successfully {"connection_id":142864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:41:41] local.INFO: Passing IMEI to GPS processor {"connection_id":142864,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:41:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":142864,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:41:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:41:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 09:41:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 09:41:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992034048001,"66":2220,"197":206,"87":13824,"24":0,"16":111588348476260352,"45":9020217497848911872},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-07-27 09:41:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 09:41:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 09:41:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992034048001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:41:41] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-27 09:41:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 09:41:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111588348476260352,"km_value":111588348476260.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:41:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020217497848911872,"description":"Unknown IO ID 45"} 
[2026-07-27 09:41:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992034048001,"power":2220,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020217497848911872}} 
[2026-07-27 09:41:41] local.INFO: DEBUG: GPS processor result {"connection_id":142864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552402,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:41:41] local.INFO: GPS data processed {"connection_id":142864,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:41:41] local.INFO: Acknowledgment sent {"connection_id":142864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:41:45] local.INFO: TCP Data received {"connection_id":142864,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1c47290012d7d2e4005ec0c180018012622..."} 
[2026-07-27 09:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1c47290012d7d2e4005ec0c180018012622..."} 
[2026-07-27 09:41:45] local.INFO: Processing buffer {"connection_id":142864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1c47290012d7d2e4005ec0c180018012622..."} 
[2026-07-27 09:41:45] local.INFO: Packet analysis {"connection_id":142864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1c4"} 
[2026-07-27 09:41:45] local.INFO: Extracted packet for processing {"connection_id":142864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1c4"} 
[2026-07-27 09:41:45] local.INFO: GPS Element Parsed {"raw_longitude":763178560,"raw_latitude":99355672,"longitude_deg":76.317856,"latitude_deg":9.9355672,"altitude":24,"angle":294,"satellites":34,"speed":0,"hex_longitude":"2d7d2e40","hex_latitude":"05ec0c18","is_valid_coordinates":true} 
[2026-07-27 09:41:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:41:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992034048001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:41:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111588348476260352,"note":"Value kept but may cause issues"} 
[2026-07-27 09:41:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020217497848911872,"note":"Value kept but may cause issues"} 
[2026-07-27 09:41:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:41:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785125434000,"timestamp_ms":1785125434000,"timestamp_seconds":1785125434,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1c47290"} 
[2026-07-27 09:41:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:41:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:41:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-27 09:41:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:41:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:41:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:41:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:41:45] local.INFO: Teltonika packet parsed successfully {"connection_id":142864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:41:45] local.INFO: Passing IMEI to GPS processor {"connection_id":142864,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:41:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":142864,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:41:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:41:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 09:41:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 09:41:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992034048001,"66":2220,"197":206,"87":13824,"24":0,"16":111588348476260352,"45":9020217497848911872},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-07-27 09:41:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 09:41:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 09:41:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992034048001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:41:45] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-27 09:41:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 09:41:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111588348476260352,"km_value":111588348476260.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:41:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020217497848911872,"description":"Unknown IO ID 45"} 
[2026-07-27 09:41:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992034048001,"power":2220,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020217497848911872}} 
[2026-07-27 09:41:45] local.INFO: DEBUG: GPS processor result {"connection_id":142864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552403,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:41:45] local.INFO: GPS data processed {"connection_id":142864,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:41:45] local.INFO: Acknowledgment sent {"connection_id":142864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:42:09] local.INFO: TCP Data received {"connection_id":142863,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1c4eba8012d7f994005afe4480017014b2c..."} 
[2026-07-27 09:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142863,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1c4eba8012d7f994005afe4480017014b2c..."} 
[2026-07-27 09:42:09] local.INFO: Processing buffer {"connection_id":142863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1c4eba8012d7f994005afe4480017014b2c..."} 
[2026-07-27 09:42:09] local.INFO: Packet analysis {"connection_id":142863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1c4"} 
[2026-07-27 09:42:09] local.INFO: Extracted packet for processing {"connection_id":142863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1c4"} 
[2026-07-27 09:42:09] local.INFO: GPS Element Parsed {"raw_longitude":763337024,"raw_latitude":95413320,"longitude_deg":76.3337024,"latitude_deg":9.541332,"altitude":23,"angle":331,"satellites":44,"speed":0,"hex_longitude":"2d7f9940","hex_latitude":"05afe448","is_valid_coordinates":true} 
[2026-07-27 09:42:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:42:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992044032001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:42:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826379933908992,"note":"Value kept but may cause issues"} 
[2026-07-27 09:42:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194450507423565824,"note":"Value kept but may cause issues"} 
[2026-07-27 09:42:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:42:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785125465000,"timestamp_ms":1785125465000,"timestamp_seconds":1785125465,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1c4eba8"} 
[2026-07-27 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-07-27 09:42:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-27 09:42:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 09:42:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:42:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:42:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:42:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:42:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:42:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:42:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:42:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992044032001,"66":25702,"27":206,"85":12544,"24":0,"16":358826379933908992,"45":9194450507423565824},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 09:42:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:42:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:42:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992044032001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:42:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 09:42:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:42:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826379933908992,"km_value":358826379933909.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:42:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194450507423565824,"description":"Unknown IO ID 45"} 
[2026-07-27 09:42:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992044032001,"power":25702,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194450507423565824}} 
[2026-07-27 09:42:09] local.INFO: DEBUG: GPS processor result {"connection_id":142863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:42:09] local.INFO: GPS data processed {"connection_id":142863,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:42:09] local.INFO: Acknowledgment sent {"connection_id":142863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:42:30] local.INFO: TCP Data received {"connection_id":143847,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143847,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:42:30] local.INFO: Processing buffer {"connection_id":143847,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:42:30] local.INFO: IMEI packet received {"connection_id":143847,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 09:42:30] local.INFO: IMEI acknowledgment sent {"connection_id":143847,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:42:32] local.INFO: TCP Data received {"connection_id":142735,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:42:32] local.INFO: Processing buffer {"connection_id":142735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:42:32] local.INFO: IMEI packet received {"connection_id":142735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 09:42:32] local.INFO: IMEI acknowledgment sent {"connection_id":142735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:42:35] local.INFO: TCP Data received {"connection_id":143847,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143847,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:42:35] local.INFO: Processing buffer {"connection_id":143847,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:42:35] local.INFO: IMEI packet received {"connection_id":143847,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 09:42:35] local.INFO: IMEI acknowledgment sent {"connection_id":143847,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:42:36] local.INFO: TCP Data received {"connection_id":143847,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1c47290012d7d2e4005ec0c180018012622..."} 
[2026-07-27 09:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1c47290012d7d2e4005ec0c180018012622..."} 
[2026-07-27 09:42:36] local.INFO: Processing buffer {"connection_id":143847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1c47290012d7d2e4005ec0c180018012622..."} 
[2026-07-27 09:42:36] local.INFO: Packet analysis {"connection_id":143847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1c4"} 
[2026-07-27 09:42:36] local.INFO: Extracted packet for processing {"connection_id":143847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1c4"} 
[2026-07-27 09:42:36] local.INFO: GPS Element Parsed {"raw_longitude":763178560,"raw_latitude":99355672,"longitude_deg":76.317856,"latitude_deg":9.9355672,"altitude":24,"angle":294,"satellites":34,"speed":0,"hex_longitude":"2d7d2e40","hex_latitude":"05ec0c18","is_valid_coordinates":true} 
[2026-07-27 09:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:42:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992034048001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:42:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111588348476260352,"note":"Value kept but may cause issues"} 
[2026-07-27 09:42:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020217497848911872,"note":"Value kept but may cause issues"} 
[2026-07-27 09:42:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:42:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785125434000,"timestamp_ms":1785125434000,"timestamp_seconds":1785125434,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1c47290"} 
[2026-07-27 09:42:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:42:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-27 09:42:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:42:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:42:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:42:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:42:36] local.INFO: Teltonika packet parsed successfully {"connection_id":143847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:42:36] local.INFO: Passing IMEI to GPS processor {"connection_id":143847,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:42:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":143847,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:42:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:42:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 09:42:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 09:42:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992034048001,"66":2220,"197":206,"87":13824,"24":0,"16":111588348476260352,"45":9020217497848911872},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-07-27 09:42:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 09:42:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 09:42:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992034048001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:42:36] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-27 09:42:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 09:42:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111588348476260352,"km_value":111588348476260.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:42:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020217497848911872,"description":"Unknown IO ID 45"} 
[2026-07-27 09:42:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992034048001,"power":2220,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020217497848911872}} 
[2026-07-27 09:42:36] local.INFO: DEBUG: GPS processor result {"connection_id":143847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552405,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:42:36] local.INFO: GPS data processed {"connection_id":143847,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:42:36] local.INFO: Acknowledgment sent {"connection_id":143847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:42:38] local.INFO: TCP Data received {"connection_id":142735,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:42:38] local.INFO: Processing buffer {"connection_id":142735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:42:38] local.INFO: IMEI packet received {"connection_id":142735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 09:42:38] local.INFO: IMEI acknowledgment sent {"connection_id":142735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:42:39] local.INFO: TCP Data received {"connection_id":142735,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1c54d50012d7f994005afe1c00018014b2c..."} 
[2026-07-27 09:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1c54d50012d7f994005afe1c00018014b2c..."} 
[2026-07-27 09:42:39] local.INFO: Processing buffer {"connection_id":142735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1c54d50012d7f994005afe1c00018014b2c..."} 
[2026-07-27 09:42:39] local.INFO: Packet analysis {"connection_id":142735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1c5"} 
[2026-07-27 09:42:39] local.INFO: Extracted packet for processing {"connection_id":142735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1c5"} 
[2026-07-27 09:42:39] local.INFO: GPS Element Parsed {"raw_longitude":763337024,"raw_latitude":95412672,"longitude_deg":76.3337024,"latitude_deg":9.5412672,"altitude":24,"angle":331,"satellites":44,"speed":0,"hex_longitude":"2d7f9940","hex_latitude":"05afe1c0","is_valid_coordinates":true} 
[2026-07-27 09:42:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:42:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992119040001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:42:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826405703712768,"note":"Value kept but may cause issues"} 
[2026-07-27 09:42:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194450507423565824,"note":"Value kept but may cause issues"} 
[2026-07-27 09:42:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:42:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785125490000,"timestamp_ms":1785125490000,"timestamp_seconds":1785125490,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1c54d50"} 
[2026-07-27 09:42:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:42:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-27 09:42:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:42:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:42:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:42:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:42:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:42:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:42:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:42:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:42:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:42:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:42:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992119040001,"66":27908,"27":206,"85":12544,"24":0,"16":358826405703712768,"45":9194450507423565824},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 09:42:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:42:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:42:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992119040001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:42:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 09:42:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:42:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826405703712768,"km_value":358826405703712.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:42:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194450507423565824,"description":"Unknown IO ID 45"} 
[2026-07-27 09:42:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992119040001,"power":27908,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194450507423565824}} 
[2026-07-27 09:42:39] local.INFO: DEBUG: GPS processor result {"connection_id":142735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:42:39] local.INFO: GPS data processed {"connection_id":142735,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:42:39] local.INFO: Acknowledgment sent {"connection_id":142735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:43:01] local.INFO: TCP Data received {"connection_id":145165,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145165,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:43:01] local.INFO: Processing buffer {"connection_id":145165,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:43:01] local.INFO: IMEI packet received {"connection_id":145165,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 09:43:01] local.INFO: IMEI acknowledgment sent {"connection_id":145165,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:43:02] local.INFO: TCP Data received {"connection_id":145165,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1c4b8e0012d0d28c007043f28001700c823..."} 
[2026-07-27 09:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145165,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1c4b8e0012d0d28c007043f28001700c823..."} 
[2026-07-27 09:43:02] local.INFO: Processing buffer {"connection_id":145165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1c4b8e0012d0d28c007043f28001700c823..."} 
[2026-07-27 09:43:02] local.INFO: Packet analysis {"connection_id":145165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1c4"} 
[2026-07-27 09:43:02] local.INFO: Extracted packet for processing {"connection_id":145165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1c4"} 
[2026-07-27 09:43:02] local.INFO: GPS Element Parsed {"raw_longitude":755837120,"raw_latitude":117718824,"longitude_deg":75.583712,"latitude_deg":11.7718824,"altitude":23,"angle":200,"satellites":35,"speed":14,"hex_longitude":"2d0d28c0","hex_latitude":"07043f28","is_valid_coordinates":true} 
[2026-07-27 09:43:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:43:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992112896001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:43:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25866255856566272,"note":"Value kept but may cause issues"} 
[2026-07-27 09:43:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":948711439139971072,"note":"Value kept but may cause issues"} 
[2026-07-27 09:43: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-07-27 09:43:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785125452000,"timestamp_ms":1785125452000,"timestamp_seconds":1785125452,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1c4b8e0"} 
[2026-07-27 09:43:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:43:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09:43:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-07-27 09:43:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1900,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:43:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:43:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:43:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:43:02] local.INFO: Teltonika packet parsed successfully {"connection_id":145165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:43:02] local.INFO: Passing IMEI to GPS processor {"connection_id":145165,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:43:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":145165,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:43:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:43:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 09:43:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 09:43:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992112896001,"66":14407,"17":206,"94":11008,"24":14,"16":25866255856566272,"45":948711439139971072},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-27 09:43:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 09:43:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 09:43:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992112896001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:43:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-27 09:43:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25866255856566272,"km_value":25866255856566.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:43:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":948711439139971072,"description":"Unknown IO ID 45"} 
[2026-07-27 09:43:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992112896001,"power":14407,"axis_x":206,"unknown_94":11008,"ignition":14,"odometer":null,"unknown_45":948711439139971072}} 
[2026-07-27 09:43:02] local.INFO: DEBUG: GPS processor result {"connection_id":145165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552407,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:43:02] local.INFO: GPS data processed {"connection_id":145165,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:43:02] local.INFO: Acknowledgment sent {"connection_id":145165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:43:07] local.INFO: TCP Data received {"connection_id":143847,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1c47290012d7d2e4005ec0c180018012622..."} 
[2026-07-27 09:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1c47290012d7d2e4005ec0c180018012622..."} 
[2026-07-27 09:43:07] local.INFO: Processing buffer {"connection_id":143847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1c47290012d7d2e4005ec0c180018012622..."} 
[2026-07-27 09:43:07] local.INFO: Packet analysis {"connection_id":143847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1c4"} 
[2026-07-27 09:43:07] local.INFO: Extracted packet for processing {"connection_id":143847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1c4"} 
[2026-07-27 09:43:07] local.INFO: GPS Element Parsed {"raw_longitude":763178560,"raw_latitude":99355672,"longitude_deg":76.317856,"latitude_deg":9.9355672,"altitude":24,"angle":294,"satellites":34,"speed":0,"hex_longitude":"2d7d2e40","hex_latitude":"05ec0c18","is_valid_coordinates":true} 
[2026-07-27 09:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:43:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992034048001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:43:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111588348476260352,"note":"Value kept but may cause issues"} 
[2026-07-27 09:43:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020217497848911872,"note":"Value kept but may cause issues"} 
[2026-07-27 09:43:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:43:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785125434000,"timestamp_ms":1785125434000,"timestamp_seconds":1785125434,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1c47290"} 
[2026-07-27 09:43:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:43:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09: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":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-27 09:43:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:43:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:43:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:43:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:43:07] local.INFO: Teltonika packet parsed successfully {"connection_id":143847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:43:07] local.INFO: Passing IMEI to GPS processor {"connection_id":143847,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:43:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":143847,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:43:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:43:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 09:43:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 09:43:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992034048001,"66":2220,"197":206,"87":13824,"24":0,"16":111588348476260352,"45":9020217497848911872},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-07-27 09:43:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 09:43:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 09:43:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992034048001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:43:07] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-27 09:43:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 09:43:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111588348476260352,"km_value":111588348476260.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:43:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020217497848911872,"description":"Unknown IO ID 45"} 
[2026-07-27 09:43:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992034048001,"power":2220,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020217497848911872}} 
[2026-07-27 09:43:07] local.INFO: DEBUG: GPS processor result {"connection_id":143847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552408,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:43:07] local.INFO: GPS data processed {"connection_id":143847,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:43:07] local.INFO: Acknowledgment sent {"connection_id":143847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:43:10] local.INFO: TCP Data received {"connection_id":142735,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1c59f58012d7f990005afe2d00013014b2b..."} 
[2026-07-27 09:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1c59f58012d7f990005afe2d00013014b2b..."} 
[2026-07-27 09:43:10] local.INFO: Processing buffer {"connection_id":142735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1c59f58012d7f990005afe2d00013014b2b..."} 
[2026-07-27 09:43:10] local.INFO: Packet analysis {"connection_id":142735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1c5"} 
[2026-07-27 09:43:10] local.INFO: Extracted packet for processing {"connection_id":142735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1c5"} 
[2026-07-27 09:43:10] local.INFO: GPS Element Parsed {"raw_longitude":763336960,"raw_latitude":95412944,"longitude_deg":76.333696,"latitude_deg":9.5412944,"altitude":19,"angle":331,"satellites":43,"speed":0,"hex_longitude":"2d7f9900","hex_latitude":"05afe2d0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 09:43:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992125440001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:43:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826427178549248,"note":"Value kept but may cause issues"} 
[2026-07-27 09:43:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194450507423399936,"note":"Value kept but may cause issues"} 
[2026-07-27 09:43:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:43:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785125511000,"timestamp_ms":1785125511000,"timestamp_seconds":1785125511,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1c59f58"} 
[2026-07-27 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-07-27 09:43:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-27 09:43:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 09:43:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:43:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:43:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:43:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:43:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:43:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:43:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:43:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992125440001,"66":27767,"27":206,"85":12544,"24":0,"16":358826427178549248,"45":9194450507423399936},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 09:43:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:43:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:43:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992125440001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:43:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 09:43:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:43:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826427178549248,"km_value":358826427178549.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:43:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194450507423399936,"description":"Unknown IO ID 45"} 
[2026-07-27 09:43:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992125440001,"power":27767,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194450507423399936}} 
[2026-07-27 09:43:10] local.INFO: DEBUG: GPS processor result {"connection_id":142735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:43:10] local.INFO: GPS data processed {"connection_id":142735,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:43:10] local.INFO: Acknowledgment sent {"connection_id":142735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:43:30] local.INFO: TCP Data received {"connection_id":142866,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142866,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:43:30] local.INFO: Processing buffer {"connection_id":142866,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:43:30] local.INFO: IMEI packet received {"connection_id":142866,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 09:43:30] local.INFO: IMEI acknowledgment sent {"connection_id":142866,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:43:35] local.INFO: TCP Data received {"connection_id":142866,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142866,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:43:35] local.INFO: Processing buffer {"connection_id":142866,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:43:35] local.INFO: IMEI packet received {"connection_id":142866,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 09:43:35] local.INFO: IMEI acknowledgment sent {"connection_id":142866,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:43:36] local.INFO: TCP Data received {"connection_id":142866,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1c47290012d7d2e4005ec0c180018012622..."} 
[2026-07-27 09:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1c47290012d7d2e4005ec0c180018012622..."} 
[2026-07-27 09:43:36] local.INFO: Processing buffer {"connection_id":142866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1c47290012d7d2e4005ec0c180018012622..."} 
[2026-07-27 09:43:36] local.INFO: Packet analysis {"connection_id":142866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1c4"} 
[2026-07-27 09:43:36] local.INFO: Extracted packet for processing {"connection_id":142866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1c4"} 
[2026-07-27 09:43:36] local.INFO: GPS Element Parsed {"raw_longitude":763178560,"raw_latitude":99355672,"longitude_deg":76.317856,"latitude_deg":9.9355672,"altitude":24,"angle":294,"satellites":34,"speed":0,"hex_longitude":"2d7d2e40","hex_latitude":"05ec0c18","is_valid_coordinates":true} 
[2026-07-27 09:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:43:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992034048001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:43:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111588348476260352,"note":"Value kept but may cause issues"} 
[2026-07-27 09:43:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020217497848911872,"note":"Value kept but may cause issues"} 
[2026-07-27 09:43:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:43:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785125434000,"timestamp_ms":1785125434000,"timestamp_seconds":1785125434,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1c47290"} 
[2026-07-27 09:43:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:43:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-27 09:43:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:43:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:43:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:43:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:43:36] local.INFO: Teltonika packet parsed successfully {"connection_id":142866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:43:36] local.INFO: Passing IMEI to GPS processor {"connection_id":142866,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:43:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":142866,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:43:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:43:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 09:43:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 09:43:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992034048001,"66":2220,"197":206,"87":13824,"24":0,"16":111588348476260352,"45":9020217497848911872},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-07-27 09:43:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 09:43:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 09:43:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992034048001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:43:36] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-27 09:43:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 09:43:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111588348476260352,"km_value":111588348476260.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:43:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020217497848911872,"description":"Unknown IO ID 45"} 
[2026-07-27 09:43:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992034048001,"power":2220,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020217497848911872}} 
[2026-07-27 09:43:36] local.INFO: DEBUG: GPS processor result {"connection_id":142866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552410,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:43:36] local.INFO: GPS data processed {"connection_id":142866,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:43:36] local.INFO: Acknowledgment sent {"connection_id":142866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:43:37] local.INFO: TCP Data received {"connection_id":142868,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:43:37] local.INFO: Processing buffer {"connection_id":142868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:43:37] local.INFO: IMEI packet received {"connection_id":142868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 09:43:37] local.INFO: IMEI acknowledgment sent {"connection_id":142868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:43:40] local.INFO: TCP Data received {"connection_id":142736,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142736,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:43:40] local.INFO: Processing buffer {"connection_id":142736,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:43:40] local.INFO: IMEI packet received {"connection_id":142736,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 09:43:40] local.INFO: IMEI acknowledgment sent {"connection_id":142736,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:43:41] local.INFO: TCP Data received {"connection_id":142868,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:43:41] local.INFO: Processing buffer {"connection_id":142868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:43:41] local.INFO: IMEI packet received {"connection_id":142868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 09:43:41] local.INFO: IMEI acknowledgment sent {"connection_id":142868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:43:41] local.INFO: TCP Data received {"connection_id":142868,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1c64750012d7f9a4005afdc78001000932b..."} 
[2026-07-27 09:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1c64750012d7f9a4005afdc78001000932b..."} 
[2026-07-27 09:43:41] local.INFO: Processing buffer {"connection_id":142868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1c64750012d7f9a4005afdc78001000932b..."} 
[2026-07-27 09:43:41] local.INFO: Packet analysis {"connection_id":142868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1c6"} 
[2026-07-27 09:43:41] local.INFO: Extracted packet for processing {"connection_id":142868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1c6"} 
[2026-07-27 09:43:41] local.INFO: GPS Element Parsed {"raw_longitude":763337280,"raw_latitude":95411320,"longitude_deg":76.333728,"latitude_deg":9.541132,"altitude":16,"angle":147,"satellites":43,"speed":2,"hex_longitude":"2d7f9a40","hex_latitude":"05afdc78","is_valid_coordinates":true} 
[2026-07-27 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-07-27 09:43:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992141568001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:43:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826538847698944,"note":"Value kept but may cause issues"} 
[2026-07-27 09:43:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194802351143966720,"note":"Value kept but may cause issues"} 
[2026-07-27 09:43:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:43:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785125554000,"timestamp_ms":1785125554000,"timestamp_seconds":1785125554,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1c64750"} 
[2026-07-27 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-07-27 09:43:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-27 09:43:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 09:43:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:43:41] local.INFO: Teltonika packet parsed successfully {"connection_id":142868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:43:41] local.INFO: Passing IMEI to GPS processor {"connection_id":142868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:43:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":142868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:43:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:43:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:43:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:43:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992141568001,"66":27995,"250":206,"85":12544,"24":2,"16":358826538847698944,"45":9194802351143966720},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 09:43:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:43:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:43:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992141568001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:43:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 09:43:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:43:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826538847698944,"km_value":358826538847698.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:43:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194802351143966720,"description":"Unknown IO ID 45"} 
[2026-07-27 09:43:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992141568001,"power":27995,"unknown_250":206,"unknown_85":12544,"ignition":2,"odometer":null,"unknown_45":9194802351143966720}} 
[2026-07-27 09:43:41] local.INFO: DEBUG: GPS processor result {"connection_id":142868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:43:41] local.INFO: GPS data processed {"connection_id":142868,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:43:41] local.INFO: Acknowledgment sent {"connection_id":142868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:43:45] local.INFO: TCP Data received {"connection_id":142736,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142736,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:43:45] local.INFO: Processing buffer {"connection_id":142736,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:43:45] local.INFO: IMEI packet received {"connection_id":142736,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 09:43:45] local.INFO: IMEI acknowledgment sent {"connection_id":142736,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:43:46] local.INFO: TCP Data received {"connection_id":142736,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1c6e390012d0d2c800703cc780014013923..."} 
[2026-07-27 09:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1c6e390012d0d2c800703cc780014013923..."} 
[2026-07-27 09:43:46] local.INFO: Processing buffer {"connection_id":142736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1c6e390012d0d2c800703cc780014013923..."} 
[2026-07-27 09:43:46] local.INFO: Packet analysis {"connection_id":142736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1c6"} 
[2026-07-27 09:43:46] local.INFO: Extracted packet for processing {"connection_id":142736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1c6"} 
[2026-07-27 09:43:46] local.INFO: GPS Element Parsed {"raw_longitude":755838080,"raw_latitude":117689464,"longitude_deg":75.583808,"latitude_deg":11.7689464,"altitude":20,"angle":313,"satellites":35,"speed":5,"hex_longitude":"2d0d2c80","hex_latitude":"0703cc78","is_valid_coordinates":true} 
[2026-07-27 09:43:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:43:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992151808001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:43:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25867802044792832,"note":"Value kept but may cause issues"} 
[2026-07-27 09:43:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":949485495317696512,"note":"Value kept but may cause issues"} 
[2026-07-27 09:43:46] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-27 09:43:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785125594000,"timestamp_ms":1785125594000,"timestamp_seconds":1785125594,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1c6e390"} 
[2026-07-27 09:43:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:43:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09:43:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-27 09:43:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:43:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:43:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:43:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:43:46] local.INFO: Teltonika packet parsed successfully {"connection_id":142736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:43:46] local.INFO: Passing IMEI to GPS processor {"connection_id":142736,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:43:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":142736,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:43:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:43:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 09:43:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 09:43:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992151808001,"66":14439,"16":25867802044792832,"94":11008,"24":5,"45":949485495317696512},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-07-27 09:43:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 09:43:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 09:43:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992151808001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:43:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25867802044792832,"km_value":25867802044792.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:43:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-27 09:43:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":949485495317696512,"description":"Unknown IO ID 45"} 
[2026-07-27 09:43:46] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456992151808001,"power":14439,"odometer":null,"unknown_94":11008,"ignition":5,"unknown_45":949485495317696512}} 
[2026-07-27 09:43:46] local.INFO: DEBUG: GPS processor result {"connection_id":142736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552412,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:43:46] local.INFO: GPS data processed {"connection_id":142736,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:43:46] local.INFO: Acknowledgment sent {"connection_id":142736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:44:07] local.INFO: TCP Data received {"connection_id":142866,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1c47290012d7d2e4005ec0c180018012622..."} 
[2026-07-27 09:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1c47290012d7d2e4005ec0c180018012622..."} 
[2026-07-27 09:44:07] local.INFO: Processing buffer {"connection_id":142866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1c47290012d7d2e4005ec0c180018012622..."} 
[2026-07-27 09:44:07] local.INFO: Packet analysis {"connection_id":142866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1c4"} 
[2026-07-27 09:44:07] local.INFO: Extracted packet for processing {"connection_id":142866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1c4"} 
[2026-07-27 09:44:07] local.INFO: GPS Element Parsed {"raw_longitude":763178560,"raw_latitude":99355672,"longitude_deg":76.317856,"latitude_deg":9.9355672,"altitude":24,"angle":294,"satellites":34,"speed":0,"hex_longitude":"2d7d2e40","hex_latitude":"05ec0c18","is_valid_coordinates":true} 
[2026-07-27 09:44:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:44:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992034048001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:44:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111588348476260352,"note":"Value kept but may cause issues"} 
[2026-07-27 09:44:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020217497848911872,"note":"Value kept but may cause issues"} 
[2026-07-27 09:44:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:44:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785125434000,"timestamp_ms":1785125434000,"timestamp_seconds":1785125434,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1c47290"} 
[2026-07-27 09:44:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:44:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:44:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-27 09:44:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:44:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:44:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:44:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:44:07] local.INFO: Teltonika packet parsed successfully {"connection_id":142866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:44:07] local.INFO: Passing IMEI to GPS processor {"connection_id":142866,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:44:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":142866,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:44:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:44:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 09:44:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 09:44:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992034048001,"66":2220,"197":206,"87":13824,"24":0,"16":111588348476260352,"45":9020217497848911872},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-07-27 09:44:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 09:44:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 09:44:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992034048001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:44:07] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-27 09:44:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 09:44:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111588348476260352,"km_value":111588348476260.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:44:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020217497848911872,"description":"Unknown IO ID 45"} 
[2026-07-27 09:44:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992034048001,"power":2220,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020217497848911872}} 
[2026-07-27 09:44:07] local.INFO: DEBUG: GPS processor result {"connection_id":142866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552413,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:44:07] local.INFO: GPS data processed {"connection_id":142866,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:44:07] local.INFO: Acknowledgment sent {"connection_id":142866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:44:13] local.INFO: TCP Data received {"connection_id":142868,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1c64b38012d7f9a4005afdc380011007a2b..."} 
[2026-07-27 09:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1c64b38012d7f9a4005afdc380011007a2b..."} 
[2026-07-27 09:44:13] local.INFO: Processing buffer {"connection_id":142868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1c64b38012d7f9a4005afdc380011007a2b..."} 
[2026-07-27 09:44:13] local.INFO: Packet analysis {"connection_id":142868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1c6"} 
[2026-07-27 09:44:13] local.INFO: Extracted packet for processing {"connection_id":142868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1c6"} 
[2026-07-27 09:44:13] local.INFO: GPS Element Parsed {"raw_longitude":763337280,"raw_latitude":95411256,"longitude_deg":76.333728,"latitude_deg":9.5411256,"altitude":17,"angle":122,"satellites":43,"speed":2,"hex_longitude":"2d7f9a40","hex_latitude":"05afdc38","is_valid_coordinates":true} 
[2026-07-27 09:44:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:44:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992141824001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:44:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826538847698944,"note":"Value kept but may cause issues"} 
[2026-07-27 09:44:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194731982399764480,"note":"Value kept but may cause issues"} 
[2026-07-27 09:44:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:44:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785125555000,"timestamp_ms":1785125555000,"timestamp_seconds":1785125555,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1c64b38"} 
[2026-07-27 09:44:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:44:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09:44:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-27 09:44:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:44:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:44:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:44:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:44:13] local.INFO: Teltonika packet parsed successfully {"connection_id":142868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:44:13] local.INFO: Passing IMEI to GPS processor {"connection_id":142868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:44:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":142868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:44:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:44:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:44:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:44:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992141824001,"66":27843,"250":206,"85":12544,"24":2,"16":358826538847698944,"45":9194731982399764480},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 09:44:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:44:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:44:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992141824001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:44:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 09:44:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:44:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826538847698944,"km_value":358826538847698.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:44:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194731982399764480,"description":"Unknown IO ID 45"} 
[2026-07-27 09:44:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992141824001,"power":27843,"unknown_250":206,"unknown_85":12544,"ignition":2,"odometer":null,"unknown_45":9194731982399764480}} 
[2026-07-27 09:44:13] local.INFO: DEBUG: GPS processor result {"connection_id":142868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:44:13] local.INFO: GPS data processed {"connection_id":142868,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:44:13] local.INFO: Acknowledgment sent {"connection_id":142868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:44:17] local.INFO: TCP Data received {"connection_id":142736,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1c6e778012d0d2c400703ccf80014014f22..."} 
[2026-07-27 09:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1c6e778012d0d2c400703ccf80014014f22..."} 
[2026-07-27 09:44:17] local.INFO: Processing buffer {"connection_id":142736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1c6e778012d0d2c400703ccf80014014f22..."} 
[2026-07-27 09:44:17] local.INFO: Packet analysis {"connection_id":142736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1c6"} 
[2026-07-27 09:44:17] local.INFO: Extracted packet for processing {"connection_id":142736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1c6"} 
[2026-07-27 09:44:17] local.INFO: GPS Element Parsed {"raw_longitude":755838016,"raw_latitude":117689592,"longitude_deg":75.5838016,"latitude_deg":11.7689592,"altitude":20,"angle":335,"satellites":34,"speed":6,"hex_longitude":"2d0d2c40","hex_latitude":"0703ccf8","is_valid_coordinates":true} 
[2026-07-27 09: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-07-27 09:44:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992152064001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:44:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25867810634727424,"note":"Value kept but may cause issues"} 
[2026-07-27 09:44:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":949274389085190144,"note":"Value kept but may cause issues"} 
[2026-07-27 09:44:17] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-27 09:44:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785125595000,"timestamp_ms":1785125595000,"timestamp_seconds":1785125595,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1c6e778"} 
[2026-07-27 09:44:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:44:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-27 09:44:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09: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-07-27 09:44:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:44:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:44:17] local.INFO: Teltonika packet parsed successfully {"connection_id":142736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:44:17] local.INFO: Passing IMEI to GPS processor {"connection_id":142736,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:44:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":142736,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:44:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:44:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 09:44:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 09:44:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992152064001,"66":14439,"16":25867810634727424,"94":11008,"24":6,"45":949274389085190144},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-07-27 09:44:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 09:44:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 09:44:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992152064001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:44:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25867810634727424,"km_value":25867810634727.426,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:44:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-27 09:44:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":949274389085190144,"description":"Unknown IO ID 45"} 
[2026-07-27 09:44:17] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456992152064001,"power":14439,"odometer":null,"unknown_94":11008,"ignition":6,"unknown_45":949274389085190144}} 
[2026-07-27 09:44:18] local.INFO: DEBUG: GPS processor result {"connection_id":142736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552415,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:44:18] local.INFO: GPS data processed {"connection_id":142736,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:44:18] local.INFO: Acknowledgment sent {"connection_id":142736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:44:31] local.INFO: TCP Data received {"connection_id":145166,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145166,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:44:31] local.INFO: Processing buffer {"connection_id":145166,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:44:31] local.INFO: IMEI packet received {"connection_id":145166,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 09:44:31] local.INFO: IMEI acknowledgment sent {"connection_id":145166,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:44:35] local.INFO: TCP Data received {"connection_id":145166,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145166,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:44:35] local.INFO: Processing buffer {"connection_id":145166,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:44:35] local.INFO: IMEI packet received {"connection_id":145166,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 09:44:35] local.INFO: IMEI acknowledgment sent {"connection_id":145166,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:44:36] local.INFO: TCP Data received {"connection_id":145166,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1c47290012d7d2e4005ec0c180018012622..."} 
[2026-07-27 09:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1c47290012d7d2e4005ec0c180018012622..."} 
[2026-07-27 09:44:36] local.INFO: Processing buffer {"connection_id":145166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1c47290012d7d2e4005ec0c180018012622..."} 
[2026-07-27 09:44:36] local.INFO: Packet analysis {"connection_id":145166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1c4"} 
[2026-07-27 09:44:36] local.INFO: Extracted packet for processing {"connection_id":145166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1c4"} 
[2026-07-27 09:44:36] local.INFO: GPS Element Parsed {"raw_longitude":763178560,"raw_latitude":99355672,"longitude_deg":76.317856,"latitude_deg":9.9355672,"altitude":24,"angle":294,"satellites":34,"speed":0,"hex_longitude":"2d7d2e40","hex_latitude":"05ec0c18","is_valid_coordinates":true} 
[2026-07-27 09:44:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:44:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992034048001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:44:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111588348476260352,"note":"Value kept but may cause issues"} 
[2026-07-27 09:44:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020217497848911872,"note":"Value kept but may cause issues"} 
[2026-07-27 09:44:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:44:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785125434000,"timestamp_ms":1785125434000,"timestamp_seconds":1785125434,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1c47290"} 
[2026-07-27 09:44:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:44:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:44:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-27 09:44:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:44:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:44:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:44:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:44:36] local.INFO: Teltonika packet parsed successfully {"connection_id":145166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:44:36] local.INFO: Passing IMEI to GPS processor {"connection_id":145166,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:44:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":145166,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:44:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:44:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 09:44:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 09:44:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992034048001,"66":2220,"197":206,"87":13824,"24":0,"16":111588348476260352,"45":9020217497848911872},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-07-27 09:44:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 09:44:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 09:44:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992034048001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:44:36] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-27 09:44:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 09:44:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111588348476260352,"km_value":111588348476260.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:44:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020217497848911872,"description":"Unknown IO ID 45"} 
[2026-07-27 09:44:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992034048001,"power":2220,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020217497848911872}} 
[2026-07-27 09:44:36] local.INFO: DEBUG: GPS processor result {"connection_id":145166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552416,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:44:36] local.INFO: GPS data processed {"connection_id":145166,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:44:36] local.INFO: Acknowledgment sent {"connection_id":145166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:44:38] local.INFO: TCP Data received {"connection_id":145168,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:44:38] local.INFO: Processing buffer {"connection_id":145168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:44:38] local.INFO: IMEI packet received {"connection_id":145168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 09:44:38] local.INFO: IMEI acknowledgment sent {"connection_id":145168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:44:43] local.INFO: TCP Data received {"connection_id":145168,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:44:43] local.INFO: Processing buffer {"connection_id":145168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:44:43] local.INFO: IMEI packet received {"connection_id":145168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 09:44:43] local.INFO: IMEI acknowledgment sent {"connection_id":145168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:44:45] local.INFO: TCP Data received {"connection_id":143849,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143849,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:44:45] local.INFO: Processing buffer {"connection_id":143849,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:44:45] local.INFO: IMEI packet received {"connection_id":143849,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 09:44:45] local.INFO: IMEI acknowledgment sent {"connection_id":143849,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:44:46] local.INFO: TCP Data received {"connection_id":143849,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1c6eb60012d0d2c400703cda00014016123..."} 
[2026-07-27 09:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1c6eb60012d0d2c400703cda00014016123..."} 
[2026-07-27 09:44:46] local.INFO: Processing buffer {"connection_id":143849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1c6eb60012d0d2c400703cda00014016123..."} 
[2026-07-27 09:44:46] local.INFO: Packet analysis {"connection_id":143849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1c6"} 
[2026-07-27 09:44:46] local.INFO: Extracted packet for processing {"connection_id":143849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1c6"} 
[2026-07-27 09:44:46] local.INFO: GPS Element Parsed {"raw_longitude":755838016,"raw_latitude":117689760,"longitude_deg":75.5838016,"latitude_deg":11.768976,"altitude":20,"angle":353,"satellites":35,"speed":8,"hex_longitude":"2d0d2c40","hex_latitude":"0703cda0","is_valid_coordinates":true} 
[2026-07-27 09:44:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:44:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992152320001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:44:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25867819224662016,"note":"Value kept but may cause issues"} 
[2026-07-27 09:44:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":949204020341045248,"note":"Value kept but may cause issues"} 
[2026-07-27 09:44:46] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-27 09:44:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785125596000,"timestamp_ms":1785125596000,"timestamp_seconds":1785125596,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1c6eb60"} 
[2026-07-27 09:44:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:44:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09:44:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-27 09:44:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:44:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:44:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:44:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:44:46] local.INFO: Teltonika packet parsed successfully {"connection_id":143849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:44:46] local.INFO: Passing IMEI to GPS processor {"connection_id":143849,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:44:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":143849,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:44:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:44:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 09:44:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 09:44:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992152320001,"66":14407,"16":25867819224662016,"94":11008,"24":8,"45":949204020341045248},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-07-27 09:44:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 09:44:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 09:44:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992152320001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:44:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25867819224662016,"km_value":25867819224662.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:44:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-27 09:44:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":949204020341045248,"description":"Unknown IO ID 45"} 
[2026-07-27 09:44:46] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456992152320001,"power":14407,"odometer":null,"unknown_94":11008,"ignition":8,"unknown_45":949204020341045248}} 
[2026-07-27 09:44:47] local.INFO: DEBUG: GPS processor result {"connection_id":143849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552417,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:44:47] local.INFO: GPS data processed {"connection_id":143849,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:44:47] local.INFO: Acknowledgment sent {"connection_id":143849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:44:49] local.INFO: TCP Data received {"connection_id":145168,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1c64f20012d7f9a8005afdbf80010006d2c..."} 
[2026-07-27 09:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1c64f20012d7f9a8005afdbf80010006d2c..."} 
[2026-07-27 09:44:49] local.INFO: Processing buffer {"connection_id":145168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1c64f20012d7f9a8005afdbf80010006d2c..."} 
[2026-07-27 09:44:49] local.INFO: Packet analysis {"connection_id":145168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1c6"} 
[2026-07-27 09:44:49] local.INFO: Extracted packet for processing {"connection_id":145168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1c6"} 
[2026-07-27 09:44:49] local.INFO: GPS Element Parsed {"raw_longitude":763337344,"raw_latitude":95411192,"longitude_deg":76.3337344,"latitude_deg":9.5411192,"altitude":16,"angle":109,"satellites":44,"speed":3,"hex_longitude":"2d7f9a80","hex_latitude":"05afdbf8","is_valid_coordinates":true} 
[2026-07-27 09: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-07-27 09:44:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992142080001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:44:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826543142666240,"note":"Value kept but may cause issues"} 
[2026-07-27 09:44:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194731982399748096,"note":"Value kept but may cause issues"} 
[2026-07-27 09:44:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:44:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785125556000,"timestamp_ms":1785125556000,"timestamp_seconds":1785125556,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1c64f20"} 
[2026-07-27 09:44:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:44:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-27 09:44:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09: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-07-27 09:44:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:44:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:44:49] local.INFO: Teltonika packet parsed successfully {"connection_id":145168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:44:49] local.INFO: Passing IMEI to GPS processor {"connection_id":145168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:44:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":145168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:44:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:44:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:44:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:44:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992142080001,"66":27843,"250":206,"85":12544,"24":3,"16":358826543142666240,"45":9194731982399748096},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 09:44:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:44:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:44:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992142080001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:44:49] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 09:44:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:44:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826543142666240,"km_value":358826543142666.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:44:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194731982399748096,"description":"Unknown IO ID 45"} 
[2026-07-27 09:44:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992142080001,"power":27843,"unknown_250":206,"unknown_85":12544,"ignition":3,"odometer":null,"unknown_45":9194731982399748096}} 
[2026-07-27 09:44:49] local.INFO: DEBUG: GPS processor result {"connection_id":145168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:44:49] local.INFO: GPS data processed {"connection_id":145168,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:44:49] local.INFO: Acknowledgment sent {"connection_id":145168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:44:53] local.INFO: TCP Data received {"connection_id":145168,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1c66a78012d7f9c0005afdb280011005c2c..."} 
[2026-07-27 09:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1c66a78012d7f9c0005afdb280011005c2c..."} 
[2026-07-27 09:44:53] local.INFO: Processing buffer {"connection_id":145168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1c66a78012d7f9c0005afdb280011005c2c..."} 
[2026-07-27 09:44:53] local.INFO: Packet analysis {"connection_id":145168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1c6"} 
[2026-07-27 09:44:53] local.INFO: Extracted packet for processing {"connection_id":145168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1c6"} 
[2026-07-27 09:44:53] local.INFO: GPS Element Parsed {"raw_longitude":763337728,"raw_latitude":95410984,"longitude_deg":76.3337728,"latitude_deg":9.5410984,"altitude":17,"angle":92,"satellites":44,"speed":3,"hex_longitude":"2d7f9c00","hex_latitude":"05afdb28","is_valid_coordinates":true} 
[2026-07-27 09:44:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:44:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992142336001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:44:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826568912470016,"note":"Value kept but may cause issues"} 
[2026-07-27 09:44:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194802351143909376,"note":"Value kept but may cause issues"} 
[2026-07-27 09:44:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:44:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785125563000,"timestamp_ms":1785125563000,"timestamp_seconds":1785125563,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1c66a78"} 
[2026-07-27 09:44:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:44:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09:44:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-27 09:44:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:44:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:44:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:44:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:44:53] local.INFO: Teltonika packet parsed successfully {"connection_id":145168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:44:53] local.INFO: Passing IMEI to GPS processor {"connection_id":145168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:44:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":145168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:44:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:44:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:44:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:44:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992142336001,"66":27974,"250":206,"85":12544,"24":3,"16":358826568912470016,"45":9194802351143909376},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 09:44:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:44:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:44:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992142336001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:44:53] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 09:44:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:44:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826568912470016,"km_value":358826568912470.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:44:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194802351143909376,"description":"Unknown IO ID 45"} 
[2026-07-27 09:44:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992142336001,"power":27974,"unknown_250":206,"unknown_85":12544,"ignition":3,"odometer":null,"unknown_45":9194802351143909376}} 
[2026-07-27 09:44:53] local.INFO: DEBUG: GPS processor result {"connection_id":145168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:44:53] local.INFO: GPS data processed {"connection_id":145168,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:44:53] local.INFO: Acknowledgment sent {"connection_id":145168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:45:07] local.INFO: TCP Data received {"connection_id":145166,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1c47290012d7d2e4005ec0c180018012622..."} 
[2026-07-27 09:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1c47290012d7d2e4005ec0c180018012622..."} 
[2026-07-27 09:45:07] local.INFO: Processing buffer {"connection_id":145166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1c47290012d7d2e4005ec0c180018012622..."} 
[2026-07-27 09:45:07] local.INFO: Packet analysis {"connection_id":145166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1c4"} 
[2026-07-27 09:45:07] local.INFO: Extracted packet for processing {"connection_id":145166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1c4"} 
[2026-07-27 09:45:07] local.INFO: GPS Element Parsed {"raw_longitude":763178560,"raw_latitude":99355672,"longitude_deg":76.317856,"latitude_deg":9.9355672,"altitude":24,"angle":294,"satellites":34,"speed":0,"hex_longitude":"2d7d2e40","hex_latitude":"05ec0c18","is_valid_coordinates":true} 
[2026-07-27 09:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:45:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992034048001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:45:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111588348476260352,"note":"Value kept but may cause issues"} 
[2026-07-27 09:45:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020217497848911872,"note":"Value kept but may cause issues"} 
[2026-07-27 09:45:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:45:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785125434000,"timestamp_ms":1785125434000,"timestamp_seconds":1785125434,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1c47290"} 
[2026-07-27 09:45:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:45:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09: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":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-27 09:45:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:45:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:45:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:45:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:45:07] local.INFO: Teltonika packet parsed successfully {"connection_id":145166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:45:07] local.INFO: Passing IMEI to GPS processor {"connection_id":145166,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:45:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":145166,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:45:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:45:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 09:45:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 09:45:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992034048001,"66":2220,"197":206,"87":13824,"24":0,"16":111588348476260352,"45":9020217497848911872},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-07-27 09:45:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 09:45:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 09:45:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992034048001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:45:07] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-27 09:45:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 09:45:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111588348476260352,"km_value":111588348476260.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:45:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020217497848911872,"description":"Unknown IO ID 45"} 
[2026-07-27 09:45:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992034048001,"power":2220,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020217497848911872}} 
[2026-07-27 09:45:07] local.INFO: DEBUG: GPS processor result {"connection_id":145166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552420,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:45:07] local.INFO: GPS data processed {"connection_id":145166,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:45:07] local.INFO: Acknowledgment sent {"connection_id":145166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:45:18] local.INFO: TCP Data received {"connection_id":143849,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1c73d68012d0d29400703ef880017016722..."} 
[2026-07-27 09:45:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1c73d68012d0d29400703ef880017016722..."} 
[2026-07-27 09:45:18] local.INFO: Processing buffer {"connection_id":143849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1c73d68012d0d29400703ef880017016722..."} 
[2026-07-27 09:45:18] local.INFO: Packet analysis {"connection_id":143849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1c7"} 
[2026-07-27 09:45:18] local.INFO: Extracted packet for processing {"connection_id":143849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1c7"} 
[2026-07-27 09:45:18] local.INFO: GPS Element Parsed {"raw_longitude":755837248,"raw_latitude":117698440,"longitude_deg":75.5837248,"latitude_deg":11.769844,"altitude":23,"angle":359,"satellites":34,"speed":14,"hex_longitude":"2d0d2940","hex_latitude":"0703ef88","is_valid_coordinates":true} 
[2026-07-27 09: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-07-27 09:45:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992152576001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:45:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25868244426424320,"note":"Value kept but may cause issues"} 
[2026-07-27 09:45:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":949204020341088256,"note":"Value kept but may cause issues"} 
[2026-07-27 09:45:18] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-27 09:45:18] local.INFO: AVL Record Parsed {"raw_timestamp":1785125617000,"timestamp_ms":1785125617000,"timestamp_seconds":1785125617,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1c73d68"} 
[2026-07-27 09:45:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:45: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-07-27 09: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-27 09:45: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-07-27 09: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-07-27 09:45:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:45:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:45:18] local.INFO: Teltonika packet parsed successfully {"connection_id":143849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:45:18] local.INFO: Passing IMEI to GPS processor {"connection_id":143849,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:45:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":143849,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:45:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:45:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 09:45:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 09:45:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992152576001,"66":14374,"16":25868244426424320,"94":11008,"24":14,"45":949204020341088256},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-07-27 09:45:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 09:45:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 09:45:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992152576001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:45:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25868244426424320,"km_value":25868244426424.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:45:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-27 09:45:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":949204020341088256,"description":"Unknown IO ID 45"} 
[2026-07-27 09:45:18] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456992152576001,"power":14374,"odometer":null,"unknown_94":11008,"ignition":14,"unknown_45":949204020341088256}} 
[2026-07-27 09:45:18] local.INFO: DEBUG: GPS processor result {"connection_id":143849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552421,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:45:18] local.INFO: GPS data processed {"connection_id":143849,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:45:18] local.INFO: Acknowledgment sent {"connection_id":143849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:45:30] local.INFO: TCP Data received {"connection_id":143851,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143851,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:45:30] local.INFO: Processing buffer {"connection_id":143851,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:45:30] local.INFO: IMEI packet received {"connection_id":143851,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 09:45:30] local.INFO: IMEI acknowledgment sent {"connection_id":143851,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:45:32] local.INFO: TCP Data received {"connection_id":143853,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143853,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:45:32] local.INFO: Processing buffer {"connection_id":143853,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:45:32] local.INFO: IMEI packet received {"connection_id":143853,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 09:45:32] local.INFO: IMEI acknowledgment sent {"connection_id":143853,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:45:33] local.INFO: TCP Data received {"connection_id":143852,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:45:33] local.INFO: Processing buffer {"connection_id":143852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:45:33] local.INFO: IMEI packet received {"connection_id":143852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 09:45:33] local.INFO: IMEI acknowledgment sent {"connection_id":143852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:45:35] local.INFO: TCP Data received {"connection_id":143853,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143853,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:45:35] local.INFO: Processing buffer {"connection_id":143853,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:45:35] local.INFO: IMEI packet received {"connection_id":143853,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 09:45:35] local.INFO: IMEI acknowledgment sent {"connection_id":143853,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:45:35] local.INFO: TCP Data received {"connection_id":143851,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143851,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:45:35] local.INFO: Processing buffer {"connection_id":143851,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:45:35] local.INFO: IMEI packet received {"connection_id":143851,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 09:45:35] local.INFO: IMEI acknowledgment sent {"connection_id":143851,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:45:36] local.INFO: TCP Data received {"connection_id":143851,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1c47290012d7d2e4005ec0c180018012622..."} 
[2026-07-27 09:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1c47290012d7d2e4005ec0c180018012622..."} 
[2026-07-27 09:45:36] local.INFO: Processing buffer {"connection_id":143851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1c47290012d7d2e4005ec0c180018012622..."} 
[2026-07-27 09:45:36] local.INFO: Packet analysis {"connection_id":143851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1c4"} 
[2026-07-27 09:45:36] local.INFO: Extracted packet for processing {"connection_id":143851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1c4"} 
[2026-07-27 09:45:36] local.INFO: GPS Element Parsed {"raw_longitude":763178560,"raw_latitude":99355672,"longitude_deg":76.317856,"latitude_deg":9.9355672,"altitude":24,"angle":294,"satellites":34,"speed":0,"hex_longitude":"2d7d2e40","hex_latitude":"05ec0c18","is_valid_coordinates":true} 
[2026-07-27 09:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:45:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992034048001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:45:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111588348476260352,"note":"Value kept but may cause issues"} 
[2026-07-27 09:45:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020217497848911872,"note":"Value kept but may cause issues"} 
[2026-07-27 09:45:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:45:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785125434000,"timestamp_ms":1785125434000,"timestamp_seconds":1785125434,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1c47290"} 
[2026-07-27 09:45:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:45:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-27 09:45:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:45:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:45:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:45:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:45:36] local.INFO: Teltonika packet parsed successfully {"connection_id":143851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:45:36] local.INFO: Passing IMEI to GPS processor {"connection_id":143851,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:45:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":143851,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:45:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:45:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 09:45:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 09:45:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992034048001,"66":2220,"197":206,"87":13824,"24":0,"16":111588348476260352,"45":9020217497848911872},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-07-27 09:45:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 09:45:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 09:45:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992034048001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:45:36] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-27 09:45:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 09:45:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111588348476260352,"km_value":111588348476260.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:45:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020217497848911872,"description":"Unknown IO ID 45"} 
[2026-07-27 09:45:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992034048001,"power":2220,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020217497848911872}} 
[2026-07-27 09:45:36] local.INFO: DEBUG: GPS processor result {"connection_id":143851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552422,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:45:36] local.INFO: GPS data processed {"connection_id":143851,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:45:36] local.INFO: Acknowledgment sent {"connection_id":143851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:45:37] local.INFO: TCP Data received {"connection_id":143852,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:45:37] local.INFO: Processing buffer {"connection_id":143852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:45:37] local.INFO: IMEI packet received {"connection_id":143852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 09:45:37] local.INFO: IMEI acknowledgment sent {"connection_id":143852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:45:39] local.INFO: TCP Data received {"connection_id":143852,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1c6b0c8012d7fa34005afd9d0000f004f2c..."} 
[2026-07-27 09:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1c6b0c8012d7fa34005afd9d0000f004f2c..."} 
[2026-07-27 09:45:39] local.INFO: Processing buffer {"connection_id":143852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1c6b0c8012d7fa34005afd9d0000f004f2c..."} 
[2026-07-27 09:45:39] local.INFO: Packet analysis {"connection_id":143852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1c6"} 
[2026-07-27 09:45:39] local.INFO: Extracted packet for processing {"connection_id":143852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1c6"} 
[2026-07-27 09:45:39] local.INFO: GPS Element Parsed {"raw_longitude":763339584,"raw_latitude":95410640,"longitude_deg":76.3339584,"latitude_deg":9.541064,"altitude":15,"angle":79,"satellites":44,"speed":3,"hex_longitude":"2d7fa340","hex_latitude":"05afd9d0","is_valid_coordinates":true} 
[2026-07-27 09:45:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:45:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992144128001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:45:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826659106783232,"note":"Value kept but may cause issues"} 
[2026-07-27 09:45:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195224563608922112,"note":"Value kept but may cause issues"} 
[2026-07-27 09:45:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:45:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785125581000,"timestamp_ms":1785125581000,"timestamp_seconds":1785125581,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1c6b0c8"} 
[2026-07-27 09:45:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:45:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-27 09:45:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:45:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:45:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:45:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:45:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:45:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:45:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:45:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:45:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:45:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:45:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992144128001,"66":27887,"250":206,"85":12544,"24":3,"16":358826659106783232,"45":9195224563608922112},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 09:45:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:45:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:45:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992144128001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:45:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 09:45:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:45:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826659106783232,"km_value":358826659106783.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:45:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195224563608922112,"description":"Unknown IO ID 45"} 
[2026-07-27 09:45:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992144128001,"power":27887,"unknown_250":206,"unknown_85":12544,"ignition":3,"odometer":null,"unknown_45":9195224563608922112}} 
[2026-07-27 09:45:39] local.INFO: DEBUG: GPS processor result {"connection_id":143852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:45:39] local.INFO: GPS data processed {"connection_id":143852,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:45:39] local.INFO: Acknowledgment sent {"connection_id":143852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:45:39] local.INFO: TCP Data received {"connection_id":143853,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143853,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:45:39] local.INFO: Processing buffer {"connection_id":143853,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:45:39] local.INFO: IMEI packet received {"connection_id":143853,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 09:45:39] local.INFO: IMEI acknowledgment sent {"connection_id":143853,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:45:40] local.INFO: TCP Data received {"connection_id":143853,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1c82bb0012d18cfc007212a600042015227..."} 
[2026-07-27 09:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1c82bb0012d18cfc007212a600042015227..."} 
[2026-07-27 09:45:40] local.INFO: Processing buffer {"connection_id":143853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1c82bb0012d18cfc007212a600042015227..."} 
[2026-07-27 09:45:40] local.INFO: Packet analysis {"connection_id":143853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1c8"} 
[2026-07-27 09:45:40] local.INFO: Extracted packet for processing {"connection_id":143853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1c8"} 
[2026-07-27 09:45:40] local.INFO: GPS Element Parsed {"raw_longitude":756600768,"raw_latitude":119614048,"longitude_deg":75.6600768,"latitude_deg":11.9614048,"altitude":66,"angle":338,"satellites":39,"speed":26,"hex_longitude":"2d18cfc0","hex_latitude":"07212a60","is_valid_coordinates":true} 
[2026-07-27 09: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-07-27 09:45:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992173312001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:45:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8776778554277888,"note":"Value kept but may cause issues"} 
[2026-07-27 09:45:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788140188919646208,"note":"Value kept but may cause issues"} 
[2026-07-27 09:45:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:45:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785125678000,"timestamp_ms":1785125678000,"timestamp_seconds":1785125678,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1c82bb0"} 
[2026-07-27 09:45:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:45:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09: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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-27 09:45:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09: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-07-27 09:45:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:45:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:45:40] local.INFO: Teltonika packet parsed successfully {"connection_id":143853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:45:40] local.INFO: Passing IMEI to GPS processor {"connection_id":143853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:45:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":143853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:45:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:45:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 09:45:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 09:45:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992173312001,"66":14559,"121":206,"28":31744,"24":26,"16":8776778554277888,"45":1788140188919646208},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 09:45:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 09:45:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 09:45:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992173312001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:45:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 09:45:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 09:45:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8776778554277888,"km_value":8776778554277.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:45:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788140188919646208,"description":"Unknown IO ID 45"} 
[2026-07-27 09:45:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992173312001,"power":14559,"unknown_121":206,"unknown_28":31744,"ignition":26,"odometer":null,"unknown_45":1788140188919646208}} 
[2026-07-27 09:45:40] local.INFO: DEBUG: GPS processor result {"connection_id":143853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552424,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:45:40] local.INFO: GPS data processed {"connection_id":143853,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:45:40] local.INFO: Acknowledgment sent {"connection_id":143853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:46:00] local.INFO: TCP Data received {"connection_id":142738,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142738,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:46:00] local.INFO: Processing buffer {"connection_id":142738,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:46:00] local.INFO: IMEI packet received {"connection_id":142738,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 09:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":142738,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:46:05] local.INFO: TCP Data received {"connection_id":142738,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142738,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:46:05] local.INFO: Processing buffer {"connection_id":142738,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:46:05] local.INFO: IMEI packet received {"connection_id":142738,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 09:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":142738,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:46:06] local.INFO: TCP Data received {"connection_id":142738,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1c8c020012d0d3540070470a8001c001822..."} 
[2026-07-27 09:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142738,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1c8c020012d0d3540070470a8001c001822..."} 
[2026-07-27 09:46:06] local.INFO: Processing buffer {"connection_id":142738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1c8c020012d0d3540070470a8001c001822..."} 
[2026-07-27 09:46:06] local.INFO: Packet analysis {"connection_id":142738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1c8"} 
[2026-07-27 09:46:06] local.INFO: Extracted packet for processing {"connection_id":142738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1c8"} 
[2026-07-27 09:46:06] local.INFO: GPS Element Parsed {"raw_longitude":755840320,"raw_latitude":117731496,"longitude_deg":75.584032,"latitude_deg":11.7731496,"altitude":28,"angle":24,"satellites":34,"speed":19,"hex_longitude":"2d0d3540","hex_latitude":"070470a8","is_valid_coordinates":true} 
[2026-07-27 09:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:46:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992181504001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:46:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25869893693865984,"note":"Value kept but may cause issues"} 
[2026-07-27 09:46:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":950822501467004928,"note":"Value kept but may cause issues"} 
[2026-07-27 09:46:06] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-27 09:46:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785125716000,"timestamp_ms":1785125716000,"timestamp_seconds":1785125716,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1c8c020"} 
[2026-07-27 09:46:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:46:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-27 09:46:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:46:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:46:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:46:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:46:06] local.INFO: Teltonika packet parsed successfully {"connection_id":142738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:46:06] local.INFO: Passing IMEI to GPS processor {"connection_id":142738,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:46:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":142738,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:46:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:46:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 09:46:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 09:46:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992181504001,"66":14461,"16":25869893693865984,"94":11008,"24":19,"45":950822501467004928},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-07-27 09:46:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 09:46:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 09:46:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992181504001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:46:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25869893693865984,"km_value":25869893693865.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:46:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-27 09:46:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":950822501467004928,"description":"Unknown IO ID 45"} 
[2026-07-27 09:46:06] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456992181504001,"power":14461,"odometer":null,"unknown_94":11008,"ignition":19,"unknown_45":950822501467004928}} 
[2026-07-27 09:46:06] local.INFO: DEBUG: GPS processor result {"connection_id":142738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552425,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:46:06] local.INFO: GPS data processed {"connection_id":142738,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:46:06] local.INFO: Acknowledgment sent {"connection_id":142738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:46:07] local.INFO: TCP Data received {"connection_id":143851,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1c90a58012d7d2e4005ec0c180013012625..."} 
[2026-07-27 09:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1c90a58012d7d2e4005ec0c180013012625..."} 
[2026-07-27 09:46:07] local.INFO: Processing buffer {"connection_id":143851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1c90a58012d7d2e4005ec0c180013012625..."} 
[2026-07-27 09:46:07] local.INFO: Packet analysis {"connection_id":143851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1c9"} 
[2026-07-27 09:46:07] local.INFO: Extracted packet for processing {"connection_id":143851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1c9"} 
[2026-07-27 09:46:07] local.INFO: GPS Element Parsed {"raw_longitude":763178560,"raw_latitude":99355672,"longitude_deg":76.317856,"latitude_deg":9.9355672,"altitude":19,"angle":294,"satellites":37,"speed":0,"hex_longitude":"2d7d2e40","hex_latitude":"05ec0c18","is_valid_coordinates":true} 
[2026-07-27 09: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-07-27 09:46:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992111104001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:46:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111588348476260352,"note":"Value kept but may cause issues"} 
[2026-07-27 09:46:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020217497848911872,"note":"Value kept but may cause issues"} 
[2026-07-27 09:46:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:46:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785125735000,"timestamp_ms":1785125735000,"timestamp_seconds":1785125735,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1c90a58"} 
[2026-07-27 09:46:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:46:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09: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":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-27 09:46:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09: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-07-27 09:46:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:46:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:46:07] local.INFO: Teltonika packet parsed successfully {"connection_id":143851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:46:07] local.INFO: Passing IMEI to GPS processor {"connection_id":143851,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:46:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":143851,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:46:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:46:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 09:46:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 09:46:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992111104001,"66":2231,"197":206,"87":13824,"24":0,"16":111588348476260352,"45":9020217497848911872},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-07-27 09:46:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 09:46:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 09:46:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992111104001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:46:07] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-27 09:46:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 09:46:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111588348476260352,"km_value":111588348476260.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:46:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020217497848911872,"description":"Unknown IO ID 45"} 
[2026-07-27 09:46:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992111104001,"power":2231,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020217497848911872}} 
[2026-07-27 09:46:07] local.INFO: DEBUG: GPS processor result {"connection_id":143851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552426,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:46:07] local.INFO: GPS data processed {"connection_id":143851,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:46:07] local.INFO: Acknowledgment sent {"connection_id":143851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:46:10] local.INFO: TCP Data received {"connection_id":143852,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1c6bc80012d7fa44005afd9f0000f003b2c..."} 
[2026-07-27 09:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1c6bc80012d7fa44005afd9f0000f003b2c..."} 
[2026-07-27 09:46:10] local.INFO: Processing buffer {"connection_id":143852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1c6bc80012d7fa44005afd9f0000f003b2c..."} 
[2026-07-27 09:46:10] local.INFO: Packet analysis {"connection_id":143852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1c6"} 
[2026-07-27 09:46:10] local.INFO: Extracted packet for processing {"connection_id":143852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1c6"} 
[2026-07-27 09:46:10] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95410672,"longitude_deg":76.333984,"latitude_deg":9.5410672,"altitude":15,"angle":59,"satellites":44,"speed":3,"hex_longitude":"2d7fa440","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-07-27 09:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:46:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992148736001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:46:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826671991685120,"note":"Value kept but may cause issues"} 
[2026-07-27 09:46:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197265257189986304,"note":"Value kept but may cause issues"} 
[2026-07-27 09:46:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:46:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785125584000,"timestamp_ms":1785125584000,"timestamp_seconds":1785125584,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1c6bc80"} 
[2026-07-27 09:46:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:46:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-27 09:46:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:46:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:46:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:46:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:46:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:46:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:46:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:46:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:46:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:46:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:46:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992148736001,"66":27865,"250":206,"85":12544,"24":3,"16":358826671991685120,"45":9197265257189986304},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 09:46:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:46:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:46:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992148736001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:46:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 09:46:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:46:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826671991685120,"km_value":358826671991685.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:46:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197265257189986304,"description":"Unknown IO ID 45"} 
[2026-07-27 09:46:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992148736001,"power":27865,"unknown_250":206,"unknown_85":12544,"ignition":3,"odometer":null,"unknown_45":9197265257189986304}} 
[2026-07-27 09:46:10] local.INFO: DEBUG: GPS processor result {"connection_id":143852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:46:10] local.INFO: GPS data processed {"connection_id":143852,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:46:10] local.INFO: Acknowledgment sent {"connection_id":143852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:46:11] local.INFO: TCP Data received {"connection_id":143853,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1c83380012d18cd8007212eb80043014426..."} 
[2026-07-27 09:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1c83380012d18cd8007212eb80043014426..."} 
[2026-07-27 09:46:11] local.INFO: Processing buffer {"connection_id":143853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1c83380012d18cd8007212eb80043014426..."} 
[2026-07-27 09:46:11] local.INFO: Packet analysis {"connection_id":143853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1c8"} 
[2026-07-27 09:46:11] local.INFO: Extracted packet for processing {"connection_id":143853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1c8"} 
[2026-07-27 09:46:11] local.INFO: GPS Element Parsed {"raw_longitude":756600192,"raw_latitude":119615160,"longitude_deg":75.6600192,"latitude_deg":11.961516,"altitude":67,"angle":324,"satellites":38,"speed":23,"hex_longitude":"2d18cd80","hex_latitude":"07212eb8","is_valid_coordinates":true} 
[2026-07-27 09:46:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:46:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992173568001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:46:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8776838683820032,"note":"Value kept but may cause issues"} 
[2026-07-27 09:46:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787858713943105536,"note":"Value kept but may cause issues"} 
[2026-07-27 09:46:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:46:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785125680000,"timestamp_ms":1785125680000,"timestamp_seconds":1785125680,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1c83380"} 
[2026-07-27 09:46:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:46:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09: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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-27 09:46:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:46:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:46:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:46:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:46:11] local.INFO: Teltonika packet parsed successfully {"connection_id":143853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:46:11] local.INFO: Passing IMEI to GPS processor {"connection_id":143853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:46:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":143853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:46:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:46:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 09:46:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 09:46:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992173568001,"66":14515,"121":206,"28":31744,"24":23,"16":8776838683820032,"45":1787858713943105536},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 09:46:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 09:46:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 09:46:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992173568001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:46:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 09:46:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 09:46:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8776838683820032,"km_value":8776838683820.032,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:46:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787858713943105536,"description":"Unknown IO ID 45"} 
[2026-07-27 09:46:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992173568001,"power":14515,"unknown_121":206,"unknown_28":31744,"ignition":23,"odometer":null,"unknown_45":1787858713943105536}} 
[2026-07-27 09:46:12] local.INFO: DEBUG: GPS processor result {"connection_id":143853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552428,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:46:12] local.INFO: GPS data processed {"connection_id":143853,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:46:12] local.INFO: Acknowledgment sent {"connection_id":143853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:46:20] local.INFO: TCP Data received {"connection_id":145169,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 09:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145169,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 09:46:20] local.INFO: Processing buffer {"connection_id":145169,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 09:46:20] local.INFO: IMEI packet received {"connection_id":145169,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 09:46:20] local.INFO: IMEI acknowledgment sent {"connection_id":145169,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:46:30] local.INFO: TCP Data received {"connection_id":142739,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142739,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:46:30] local.INFO: Processing buffer {"connection_id":142739,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:46:30] local.INFO: IMEI packet received {"connection_id":142739,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 09:46:30] local.INFO: IMEI acknowledgment sent {"connection_id":142739,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:46:32] local.INFO: TCP Data received {"connection_id":142869,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:46:32] local.INFO: Processing buffer {"connection_id":142869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:46:32] local.INFO: IMEI packet received {"connection_id":142869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 09:46:32] local.INFO: IMEI acknowledgment sent {"connection_id":142869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:46:35] local.INFO: TCP Data received {"connection_id":142870,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142870,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:46:35] local.INFO: Processing buffer {"connection_id":142870,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:46:35] local.INFO: IMEI packet received {"connection_id":142870,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 09:46:35] local.INFO: IMEI acknowledgment sent {"connection_id":142870,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:46:35] local.INFO: TCP Data received {"connection_id":142739,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142739,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:46:35] local.INFO: Processing buffer {"connection_id":142739,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:46:35] local.INFO: IMEI packet received {"connection_id":142739,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 09:46:35] local.INFO: IMEI acknowledgment sent {"connection_id":142739,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:46:37] local.INFO: TCP Data received {"connection_id":142739,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1c852c0012d18c640072139800045015228..."} 
[2026-07-27 09:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142739,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1c852c0012d18c640072139800045015228..."} 
[2026-07-27 09:46:37] local.INFO: Processing buffer {"connection_id":142739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1c852c0012d18c640072139800045015228..."} 
[2026-07-27 09:46:37] local.INFO: Packet analysis {"connection_id":142739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1c8"} 
[2026-07-27 09:46:37] local.INFO: Extracted packet for processing {"connection_id":142739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1c8"} 
[2026-07-27 09:46:37] local.INFO: GPS Element Parsed {"raw_longitude":756598336,"raw_latitude":119617920,"longitude_deg":75.6598336,"latitude_deg":11.961792,"altitude":69,"angle":338,"satellites":40,"speed":10,"hex_longitude":"2d18c640","hex_latitude":"07213980","is_valid_coordinates":true} 
[2026-07-27 09:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:46:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992174080001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:46:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8777001892577280,"note":"Value kept but may cause issues"} 
[2026-07-27 09:46:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787225395245791232,"note":"Value kept but may cause issues"} 
[2026-07-27 09:46:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:46:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785125688000,"timestamp_ms":1785125688000,"timestamp_seconds":1785125688,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1c852c0"} 
[2026-07-27 09:46:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:46:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-27 09:46:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:46:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:46:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:46:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:46:37] local.INFO: Teltonika packet parsed successfully {"connection_id":142739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:46:37] local.INFO: Passing IMEI to GPS processor {"connection_id":142739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:46:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":142739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:46:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:46:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 09:46:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 09:46:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992174080001,"66":14374,"121":206,"28":31744,"24":10,"16":8777001892577280,"45":1787225395245791232},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 09:46:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 09:46:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 09:46:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992174080001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:46:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 09:46:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 09:46:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8777001892577280,"km_value":8777001892577.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:46:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787225395245791232,"description":"Unknown IO ID 45"} 
[2026-07-27 09:46:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992174080001,"power":14374,"unknown_121":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1787225395245791232}} 
[2026-07-27 09:46:37] local.INFO: DEBUG: GPS processor result {"connection_id":142739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552429,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:46:37] local.INFO: GPS data processed {"connection_id":142739,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:46:37] local.INFO: Acknowledgment sent {"connection_id":142739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:46:37] local.INFO: TCP Data received {"connection_id":142869,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:46:37] local.INFO: Processing buffer {"connection_id":142869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:46:37] local.INFO: IMEI packet received {"connection_id":142869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 09:46:37] local.INFO: IMEI acknowledgment sent {"connection_id":142869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:46:38] local.INFO: TCP Data received {"connection_id":142869,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1c6e390012d7fa64005afda50000d002e2c..."} 
[2026-07-27 09:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142869,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1c6e390012d7fa64005afda50000d002e2c..."} 
[2026-07-27 09:46:38] local.INFO: Processing buffer {"connection_id":142869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1c6e390012d7fa64005afda50000d002e2c..."} 
[2026-07-27 09:46:38] local.INFO: Packet analysis {"connection_id":142869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1c6"} 
[2026-07-27 09:46:38] local.INFO: Extracted packet for processing {"connection_id":142869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1c6"} 
[2026-07-27 09:46:38] local.INFO: GPS Element Parsed {"raw_longitude":763340352,"raw_latitude":95410768,"longitude_deg":76.3340352,"latitude_deg":9.5410768,"altitude":13,"angle":46,"satellites":44,"speed":2,"hex_longitude":"2d7fa640","hex_latitude":"05afda50","is_valid_coordinates":true} 
[2026-07-27 09:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:46:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992149504001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:46:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826697761488896,"note":"Value kept but may cause issues"} 
[2026-07-27 09:46:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166705152,"note":"Value kept but may cause issues"} 
[2026-07-27 09:46:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:46:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785125594000,"timestamp_ms":1785125594000,"timestamp_seconds":1785125594,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1c6e390"} 
[2026-07-27 09:46:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:46:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-27 09:46:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:46:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:46:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:46:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:46:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:46:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:46:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:46:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:46:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:46:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:46:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992149504001,"66":27908,"250":206,"85":12544,"24":2,"16":358826697761488896,"45":9197546732166705152},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 09:46:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:46:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:46:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992149504001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:46:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 09:46:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:46:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826697761488896,"km_value":358826697761488.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:46:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166705152,"description":"Unknown IO ID 45"} 
[2026-07-27 09:46:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992149504001,"power":27908,"unknown_250":206,"unknown_85":12544,"ignition":2,"odometer":null,"unknown_45":9197546732166705152}} 
[2026-07-27 09:46:38] local.INFO: DEBUG: GPS processor result {"connection_id":142869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:46:38] local.INFO: GPS data processed {"connection_id":142869,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:46:38] local.INFO: Acknowledgment sent {"connection_id":142869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:46:40] local.INFO: TCP Data received {"connection_id":142870,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142870,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:46:40] local.INFO: Processing buffer {"connection_id":142870,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:46:40] local.INFO: IMEI packet received {"connection_id":142870,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 09:46:40] local.INFO: IMEI acknowledgment sent {"connection_id":142870,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:46:41] local.INFO: TCP Data received {"connection_id":143854,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143854,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:46:41] local.INFO: Processing buffer {"connection_id":143854,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:46:41] local.INFO: IMEI packet received {"connection_id":143854,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 09:46:41] local.INFO: IMEI acknowledgment sent {"connection_id":143854,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:46:41] local.INFO: TCP Data received {"connection_id":142870,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1c90a58012d7d2e4005ec0c180013012625..."} 
[2026-07-27 09:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1c90a58012d7d2e4005ec0c180013012625..."} 
[2026-07-27 09:46:41] local.INFO: Processing buffer {"connection_id":142870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1c90a58012d7d2e4005ec0c180013012625..."} 
[2026-07-27 09:46:41] local.INFO: Packet analysis {"connection_id":142870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1c9"} 
[2026-07-27 09:46:41] local.INFO: Extracted packet for processing {"connection_id":142870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1c9"} 
[2026-07-27 09:46:41] local.INFO: GPS Element Parsed {"raw_longitude":763178560,"raw_latitude":99355672,"longitude_deg":76.317856,"latitude_deg":9.9355672,"altitude":19,"angle":294,"satellites":37,"speed":0,"hex_longitude":"2d7d2e40","hex_latitude":"05ec0c18","is_valid_coordinates":true} 
[2026-07-27 09:46:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:46:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992111104001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:46:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111588348476260352,"note":"Value kept but may cause issues"} 
[2026-07-27 09:46:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020217497848911872,"note":"Value kept but may cause issues"} 
[2026-07-27 09:46:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:46:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785125735000,"timestamp_ms":1785125735000,"timestamp_seconds":1785125735,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1c90a58"} 
[2026-07-27 09:46:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:46:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09: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":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-27 09:46:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:46:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:46:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:46:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:46:41] local.INFO: Teltonika packet parsed successfully {"connection_id":142870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:46:41] local.INFO: Passing IMEI to GPS processor {"connection_id":142870,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:46:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":142870,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:46:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:46:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 09:46:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 09:46:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992111104001,"66":2231,"197":206,"87":13824,"24":0,"16":111588348476260352,"45":9020217497848911872},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-07-27 09:46:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 09:46:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 09:46:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992111104001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:46:41] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-27 09:46:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 09:46:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111588348476260352,"km_value":111588348476260.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:46:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020217497848911872,"description":"Unknown IO ID 45"} 
[2026-07-27 09:46:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992111104001,"power":2231,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020217497848911872}} 
[2026-07-27 09:46:41] local.INFO: DEBUG: GPS processor result {"connection_id":142870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552431,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:46:41] local.INFO: GPS data processed {"connection_id":142870,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:46:41] local.INFO: Acknowledgment sent {"connection_id":142870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:46:41] local.INFO: TCP Data received {"connection_id":143854,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143854,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:46:41] local.INFO: Processing buffer {"connection_id":143854,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:46:41] local.INFO: IMEI packet received {"connection_id":143854,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 09:46:41] local.INFO: IMEI acknowledgment sent {"connection_id":143854,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:46:44] local.INFO: TCP Data received {"connection_id":143854,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143854,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:46:44] local.INFO: Processing buffer {"connection_id":143854,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:46:44] local.INFO: IMEI packet received {"connection_id":143854,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 09:46:44] local.INFO: IMEI acknowledgment sent {"connection_id":143854,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:46:44] local.INFO: TCP Data received {"connection_id":145170,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 09:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145170,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 09:46:44] local.INFO: Processing buffer {"connection_id":145170,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 09:46:44] local.INFO: IMEI packet received {"connection_id":145170,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 09:46:44] local.INFO: IMEI acknowledgment sent {"connection_id":145170,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:46:45] local.INFO: TCP Data received {"connection_id":143854,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143854,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:46:45] local.INFO: Processing buffer {"connection_id":143854,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:46:45] local.INFO: IMEI packet received {"connection_id":143854,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 09:46:45] local.INFO: IMEI acknowledgment sent {"connection_id":143854,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:46:46] local.INFO: TCP Data received {"connection_id":142870,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1c90a58012d7d2e4005ec0c180013012625..."} 
[2026-07-27 09:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1c90a58012d7d2e4005ec0c180013012625..."} 
[2026-07-27 09:46:46] local.INFO: Processing buffer {"connection_id":142870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1c90a58012d7d2e4005ec0c180013012625..."} 
[2026-07-27 09:46:46] local.INFO: Packet analysis {"connection_id":142870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1c9"} 
[2026-07-27 09:46:46] local.INFO: Extracted packet for processing {"connection_id":142870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1c9"} 
[2026-07-27 09:46:46] local.INFO: GPS Element Parsed {"raw_longitude":763178560,"raw_latitude":99355672,"longitude_deg":76.317856,"latitude_deg":9.9355672,"altitude":19,"angle":294,"satellites":37,"speed":0,"hex_longitude":"2d7d2e40","hex_latitude":"05ec0c18","is_valid_coordinates":true} 
[2026-07-27 09:46:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:46:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992111104001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:46:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111588348476260352,"note":"Value kept but may cause issues"} 
[2026-07-27 09:46:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020217497848911872,"note":"Value kept but may cause issues"} 
[2026-07-27 09:46:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:46:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785125735000,"timestamp_ms":1785125735000,"timestamp_seconds":1785125735,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1c90a58"} 
[2026-07-27 09:46:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:46:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:46:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-27 09:46:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:46:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:46:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:46:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:46:46] local.INFO: Teltonika packet parsed successfully {"connection_id":142870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:46:46] local.INFO: Passing IMEI to GPS processor {"connection_id":142870,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:46:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":142870,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:46:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:46:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 09:46:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 09:46:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992111104001,"66":2231,"197":206,"87":13824,"24":0,"16":111588348476260352,"45":9020217497848911872},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-07-27 09:46:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 09:46:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 09:46:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992111104001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:46:46] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-27 09:46:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 09:46:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111588348476260352,"km_value":111588348476260.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:46:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020217497848911872,"description":"Unknown IO ID 45"} 
[2026-07-27 09:46:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992111104001,"power":2231,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020217497848911872}} 
[2026-07-27 09:46:46] local.INFO: TCP Data received {"connection_id":143854,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1c9dd48012d0d2fc00704b960001d010323..."} 
[2026-07-27 09:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1c9dd48012d0d2fc00704b960001d010323..."} 
[2026-07-27 09:46:46] local.INFO: Processing buffer {"connection_id":143854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1c9dd48012d0d2fc00704b960001d010323..."} 
[2026-07-27 09:46:46] local.INFO: Packet analysis {"connection_id":143854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1c9"} 
[2026-07-27 09:46:46] local.INFO: Extracted packet for processing {"connection_id":143854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1c9"} 
[2026-07-27 09:46:46] local.INFO: GPS Element Parsed {"raw_longitude":755838912,"raw_latitude":117750112,"longitude_deg":75.5838912,"latitude_deg":11.7750112,"altitude":29,"angle":259,"satellites":35,"speed":17,"hex_longitude":"2d0d2fc0","hex_latitude":"0704b960","is_valid_coordinates":true} 
[2026-07-27 09:46:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:46:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992200704001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:46:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25870954550788096,"note":"Value kept but may cause issues"} 
[2026-07-27 09:46:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":951737295147075584,"note":"Value kept but may cause issues"} 
[2026-07-27 09:46:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:46:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785125789000,"timestamp_ms":1785125789000,"timestamp_seconds":1785125789,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1c9dd48"} 
[2026-07-27 09:46:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:46:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09:46:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-27 09:46:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:46:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:46:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:46:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:46:46] local.INFO: Teltonika packet parsed successfully {"connection_id":143854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:46:46] local.INFO: Passing IMEI to GPS processor {"connection_id":143854,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:46:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":143854,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:46:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:46:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 09:46:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 09:46:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992200704001,"66":14450,"17":206,"94":11008,"24":17,"16":25870954550788096,"45":951737295147075584},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-27 09:46:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 09:46:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 09:46:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992200704001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:46:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-27 09:46:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25870954550788096,"km_value":25870954550788.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:46:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":951737295147075584,"description":"Unknown IO ID 45"} 
[2026-07-27 09:46:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992200704001,"power":14450,"axis_x":206,"unknown_94":11008,"ignition":17,"odometer":null,"unknown_45":951737295147075584}} 
[2026-07-27 09:46:46] local.INFO: DEBUG: GPS processor result {"connection_id":142870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552432,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:46:46] local.INFO: GPS data processed {"connection_id":142870,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:46:46] local.INFO: Acknowledgment sent {"connection_id":142870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:46:46] local.INFO: DEBUG: GPS processor result {"connection_id":143854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552433,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:46:46] local.INFO: GPS data processed {"connection_id":143854,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:46:46] local.INFO: Acknowledgment sent {"connection_id":143854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:46:47] local.INFO: TCP Data received {"connection_id":143854,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1c9ece8012d0d26800704b908001e010e24..."} 
[2026-07-27 09:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1c9ece8012d0d26800704b908001e010e24..."} 
[2026-07-27 09:46:47] local.INFO: Processing buffer {"connection_id":143854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1c9ece8012d0d26800704b908001e010e24..."} 
[2026-07-27 09:46:47] local.INFO: Packet analysis {"connection_id":143854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1c9"} 
[2026-07-27 09:46:47] local.INFO: Extracted packet for processing {"connection_id":143854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1c9"} 
[2026-07-27 09:46:47] local.INFO: GPS Element Parsed {"raw_longitude":755836544,"raw_latitude":117750024,"longitude_deg":75.5836544,"latitude_deg":11.7750024,"altitude":30,"angle":270,"satellites":36,"speed":26,"hex_longitude":"2d0d2680","hex_latitude":"0704b908","is_valid_coordinates":true} 
[2026-07-27 09:46:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:46:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992201984001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:46:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25871066219937792,"note":"Value kept but may cause issues"} 
[2026-07-27 09:46:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":950189182775025664,"note":"Value kept but may cause issues"} 
[2026-07-27 09:46: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-07-27 09:46:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785125793000,"timestamp_ms":1785125793000,"timestamp_seconds":1785125793,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1c9ece8"} 
[2026-07-27 09:46:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:46: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-07-27 09:46:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-27 09:46:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:46:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:46:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:46:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:46:47] local.INFO: Teltonika packet parsed successfully {"connection_id":143854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:46:47] local.INFO: Passing IMEI to GPS processor {"connection_id":143854,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:46:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":143854,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:46:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:46:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 09:46:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 09:46:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992201984001,"66":14515,"17":206,"94":11008,"24":26,"16":25871066219937792,"45":950189182775025664},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-27 09:46:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 09:46:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 09:46:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992201984001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:46:47] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-27 09:46:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25871066219937792,"km_value":25871066219937.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:46:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":950189182775025664,"description":"Unknown IO ID 45"} 
[2026-07-27 09:46:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992201984001,"power":14515,"axis_x":206,"unknown_94":11008,"ignition":26,"odometer":null,"unknown_45":950189182775025664}} 
[2026-07-27 09:46:48] local.INFO: DEBUG: GPS processor result {"connection_id":143854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552434,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:46:48] local.INFO: GPS data processed {"connection_id":143854,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:46:48] local.INFO: Acknowledgment sent {"connection_id":143854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:47:09] local.INFO: TCP Data received {"connection_id":142739,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1c86a30012d18c400072142000045016028..."} 
[2026-07-27 09:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142739,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1c86a30012d18c400072142000045016028..."} 
[2026-07-27 09:47:09] local.INFO: Processing buffer {"connection_id":142739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1c86a30012d18c400072142000045016028..."} 
[2026-07-27 09:47:09] local.INFO: Packet analysis {"connection_id":142739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1c8"} 
[2026-07-27 09:47:09] local.INFO: Extracted packet for processing {"connection_id":142739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1c8"} 
[2026-07-27 09:47:09] local.INFO: GPS Element Parsed {"raw_longitude":756597760,"raw_latitude":119620096,"longitude_deg":75.659776,"latitude_deg":11.9620096,"altitude":69,"angle":352,"satellites":40,"speed":21,"hex_longitude":"2d18c400","hex_latitude":"07214200","is_valid_coordinates":true} 
[2026-07-27 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-07-27 09:47:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992176128001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:47:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8777109266759680,"note":"Value kept but may cause issues"} 
[2026-07-27 09:47:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785184701665345536,"note":"Value kept but may cause issues"} 
[2026-07-27 09:47:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:47:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785125694000,"timestamp_ms":1785125694000,"timestamp_seconds":1785125694,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1c86a30"} 
[2026-07-27 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-07-27 09:47:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-27 09:47:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 09:47:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:47:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:47:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:47:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:47:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:47:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 09:47:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 09:47:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992176128001,"66":14407,"121":206,"28":31744,"24":21,"16":8777109266759680,"45":1785184701665345536},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 09:47:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 09:47:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 09:47:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992176128001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:47:09] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 09:47:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 09:47:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8777109266759680,"km_value":8777109266759.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:47:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785184701665345536,"description":"Unknown IO ID 45"} 
[2026-07-27 09:47:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992176128001,"power":14407,"unknown_121":206,"unknown_28":31744,"ignition":21,"odometer":null,"unknown_45":1785184701665345536}} 
[2026-07-27 09:47:09] local.INFO: TCP Data received {"connection_id":142869,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1c6fb00012d7fa74005afda78000c00272c..."} 
[2026-07-27 09:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142869,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1c6fb00012d7fa74005afda78000c00272c..."} 
[2026-07-27 09:47:09] local.INFO: Processing buffer {"connection_id":142869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1c6fb00012d7fa74005afda78000c00272c..."} 
[2026-07-27 09:47:09] local.INFO: Packet analysis {"connection_id":142869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1c6"} 
[2026-07-27 09:47:09] local.INFO: Extracted packet for processing {"connection_id":142869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1c6"} 
[2026-07-27 09:47:09] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410808,"longitude_deg":76.3340608,"latitude_deg":9.5410808,"altitude":12,"angle":39,"satellites":44,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda78","is_valid_coordinates":true} 
[2026-07-27 09:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:47:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992152064001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:47:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826710646390784,"note":"Value kept but may cause issues"} 
[2026-07-27 09:47:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198109682120151040,"note":"Value kept but may cause issues"} 
[2026-07-27 09:47:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:47:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785125600000,"timestamp_ms":1785125600000,"timestamp_seconds":1785125600,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1c6fb00"} 
[2026-07-27 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-07-27 09:47:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-27 09:47:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 09:47:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:47:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:47:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:47:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:47:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:47:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:47:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:47:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992152064001,"66":27484,"250":206,"85":12544,"24":0,"16":358826710646390784,"45":9198109682120151040},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 09:47:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:47:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:47:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992152064001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:47:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 09:47:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:47:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826710646390784,"km_value":358826710646390.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:47:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198109682120151040,"description":"Unknown IO ID 45"} 
[2026-07-27 09:47:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992152064001,"power":27484,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198109682120151040}} 
[2026-07-27 09:47:09] local.INFO: DEBUG: GPS processor result {"connection_id":142869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:47:09] local.INFO: GPS data processed {"connection_id":142869,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:47:09] local.INFO: Acknowledgment sent {"connection_id":142869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:47:09] local.INFO: DEBUG: GPS processor result {"connection_id":142739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552436,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:47:09] local.INFO: GPS data processed {"connection_id":142739,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:47:09] local.INFO: Acknowledgment sent {"connection_id":142739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:47:18] local.INFO: TCP Data received {"connection_id":143854,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1ca0840012d0d16400704ba00001d011c25..."} 
[2026-07-27 09:47:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1ca0840012d0d16400704ba00001d011c25..."} 
[2026-07-27 09:47:18] local.INFO: Processing buffer {"connection_id":143854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1ca0840012d0d16400704ba00001d011c25..."} 
[2026-07-27 09:47:18] local.INFO: Packet analysis {"connection_id":143854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1ca"} 
[2026-07-27 09:47:18] local.INFO: Extracted packet for processing {"connection_id":143854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1ca"} 
[2026-07-27 09:47:18] local.INFO: GPS Element Parsed {"raw_longitude":755832384,"raw_latitude":117750272,"longitude_deg":75.5832384,"latitude_deg":11.7750272,"altitude":29,"angle":284,"satellites":37,"speed":23,"hex_longitude":"2d0d1640","hex_latitude":"0704ba00","is_valid_coordinates":true} 
[2026-07-27 09: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-07-27 09:47:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992203008001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:47:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25871268083400704,"note":"Value kept but may cause issues"} 
[2026-07-27 09:47:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":947585539240429568,"note":"Value kept but may cause issues"} 
[2026-07-27 09:47: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-07-27 09:47:18] local.INFO: AVL Record Parsed {"raw_timestamp":1785125800000,"timestamp_ms":1785125800000,"timestamp_seconds":1785125800,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1ca0840"} 
[2026-07-27 09:47:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:47: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-07-27 09: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-27 09:47:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09: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-07-27 09:47:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:47:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:47:18] local.INFO: Teltonika packet parsed successfully {"connection_id":143854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:47:18] local.INFO: Passing IMEI to GPS processor {"connection_id":143854,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:47:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":143854,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:47:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:47:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 09:47:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 09:47:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992203008001,"66":14428,"17":206,"94":11008,"24":23,"16":25871268083400704,"45":947585539240429568},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-27 09:47:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 09:47:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 09:47:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992203008001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:47:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-27 09:47:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25871268083400704,"km_value":25871268083400.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:47:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":947585539240429568,"description":"Unknown IO ID 45"} 
[2026-07-27 09:47:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992203008001,"power":14428,"axis_x":206,"unknown_94":11008,"ignition":23,"odometer":null,"unknown_45":947585539240429568}} 
[2026-07-27 09:47:18] local.INFO: DEBUG: GPS processor result {"connection_id":143854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552437,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:47:18] local.INFO: GPS data processed {"connection_id":143854,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:47:18] local.INFO: Acknowledgment sent {"connection_id":143854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:47:30] local.INFO: TCP Data received {"connection_id":142740,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142740,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:47:30] local.INFO: Processing buffer {"connection_id":142740,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:47:30] local.INFO: IMEI packet received {"connection_id":142740,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 09:47:30] local.INFO: IMEI acknowledgment sent {"connection_id":142740,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:47:30] local.INFO: TCP Data received {"connection_id":142871,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142871,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:47:30] local.INFO: Processing buffer {"connection_id":142871,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:47:30] local.INFO: IMEI packet received {"connection_id":142871,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 09:47:30] local.INFO: IMEI acknowledgment sent {"connection_id":142871,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:47:33] local.INFO: TCP Data received {"connection_id":145171,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:47:33] local.INFO: Processing buffer {"connection_id":145171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:47:33] local.INFO: IMEI packet received {"connection_id":145171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 09:47:33] local.INFO: IMEI acknowledgment sent {"connection_id":145171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:47:35] local.INFO: TCP Data received {"connection_id":142740,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142740,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:47:35] local.INFO: Processing buffer {"connection_id":142740,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:47:35] local.INFO: IMEI packet received {"connection_id":142740,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 09:47:35] local.INFO: IMEI acknowledgment sent {"connection_id":142740,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:47:35] local.INFO: TCP Data received {"connection_id":142871,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142871,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:47:35] local.INFO: Processing buffer {"connection_id":142871,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 09:47:35] local.INFO: IMEI packet received {"connection_id":142871,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 09:47:35] local.INFO: IMEI acknowledgment sent {"connection_id":142871,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:47:36] local.INFO: TCP Data received {"connection_id":142871,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1c90a58012d7d2e4005ec0c180013012625..."} 
[2026-07-27 09:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1c90a58012d7d2e4005ec0c180013012625..."} 
[2026-07-27 09:47:36] local.INFO: Processing buffer {"connection_id":142871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1c90a58012d7d2e4005ec0c180013012625..."} 
[2026-07-27 09:47:36] local.INFO: Packet analysis {"connection_id":142871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1c9"} 
[2026-07-27 09:47:36] local.INFO: Extracted packet for processing {"connection_id":142871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1c9"} 
[2026-07-27 09:47:36] local.INFO: GPS Element Parsed {"raw_longitude":763178560,"raw_latitude":99355672,"longitude_deg":76.317856,"latitude_deg":9.9355672,"altitude":19,"angle":294,"satellites":37,"speed":0,"hex_longitude":"2d7d2e40","hex_latitude":"05ec0c18","is_valid_coordinates":true} 
[2026-07-27 09:47:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:47:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992111104001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:47:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111588348476260352,"note":"Value kept but may cause issues"} 
[2026-07-27 09:47:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020217497848911872,"note":"Value kept but may cause issues"} 
[2026-07-27 09:47:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:47:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785125735000,"timestamp_ms":1785125735000,"timestamp_seconds":1785125735,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1c90a58"} 
[2026-07-27 09:47:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:47:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:47:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-27 09:47:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:47:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:47:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:47:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:47:36] local.INFO: Teltonika packet parsed successfully {"connection_id":142871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:47:36] local.INFO: Passing IMEI to GPS processor {"connection_id":142871,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:47:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":142871,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:47:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:47:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 09:47:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 09:47:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992111104001,"66":2231,"197":206,"87":13824,"24":0,"16":111588348476260352,"45":9020217497848911872},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-07-27 09:47:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 09:47:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 09:47:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992111104001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:47:36] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-27 09:47:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 09:47:36] local.INFO: TCP Data received {"connection_id":142740,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1c881a0012d18c2c0072151500047015527..."} 
[2026-07-27 09:47:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111588348476260352,"km_value":111588348476260.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:47:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020217497848911872,"description":"Unknown IO ID 45"} 
[2026-07-27 09:47:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992111104001,"power":2231,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020217497848911872}} 
[2026-07-27 09:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1c881a0012d18c2c0072151500047015527..."} 
[2026-07-27 09:47:36] local.INFO: Processing buffer {"connection_id":142740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1c881a0012d18c2c0072151500047015527..."} 
[2026-07-27 09:47:36] local.INFO: Packet analysis {"connection_id":142740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1c8"} 
[2026-07-27 09:47:36] local.INFO: Extracted packet for processing {"connection_id":142740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1c8"} 
[2026-07-27 09:47:36] local.INFO: GPS Element Parsed {"raw_longitude":756597440,"raw_latitude":119624016,"longitude_deg":75.659744,"latitude_deg":11.9624016,"altitude":71,"angle":341,"satellites":39,"speed":28,"hex_longitude":"2d18c2c0","hex_latitude":"07215150","is_valid_coordinates":true} 
[2026-07-27 09:47:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:47:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992177664001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:47:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8777302540288000,"note":"Value kept but may cause issues"} 
[2026-07-27 09:47:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784551382968303616,"note":"Value kept but may cause issues"} 
[2026-07-27 09:47:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:47:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785125700000,"timestamp_ms":1785125700000,"timestamp_seconds":1785125700,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1c881a0"} 
[2026-07-27 09:47:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:47:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09:47:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-27 09:47:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:47:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:47:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:47:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:47:36] local.INFO: Teltonika packet parsed successfully {"connection_id":142740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:47:36] local.INFO: Passing IMEI to GPS processor {"connection_id":142740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:47:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":142740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:47:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:47:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 09:47:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 09:47:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992177664001,"66":13156,"121":206,"28":31744,"24":28,"16":8777302540288000,"45":1784551382968303616},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 09:47:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 09:47:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 09:47:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992177664001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:47:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 09:47:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 09:47:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8777302540288000,"km_value":8777302540288,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:47:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784551382968303616,"description":"Unknown IO ID 45"} 
[2026-07-27 09:47:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992177664001,"power":13156,"unknown_121":206,"unknown_28":31744,"ignition":28,"odometer":null,"unknown_45":1784551382968303616}} 
[2026-07-27 09:47:36] local.INFO: DEBUG: GPS processor result {"connection_id":142871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552438,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:47:36] local.INFO: GPS data processed {"connection_id":142871,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:47:36] local.INFO: Acknowledgment sent {"connection_id":142871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:47:36] local.INFO: DEBUG: GPS processor result {"connection_id":142740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552439,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:47:36] local.INFO: GPS data processed {"connection_id":142740,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:47:36] local.INFO: Acknowledgment sent {"connection_id":142740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:47:37] local.INFO: TCP Data received {"connection_id":145171,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:47:37] local.INFO: Processing buffer {"connection_id":145171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:47:37] local.INFO: IMEI packet received {"connection_id":145171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 09:47:37] local.INFO: IMEI acknowledgment sent {"connection_id":145171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:47:38] local.INFO: TCP Data received {"connection_id":145171,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1c6fb00012d7fa74005afda78000c00272c..."} 
[2026-07-27 09:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145171,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1c6fb00012d7fa74005afda78000c00272c..."} 
[2026-07-27 09:47:38] local.INFO: Processing buffer {"connection_id":145171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1c6fb00012d7fa74005afda78000c00272c..."} 
[2026-07-27 09:47:38] local.INFO: Packet analysis {"connection_id":145171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1c6"} 
[2026-07-27 09:47:38] local.INFO: Extracted packet for processing {"connection_id":145171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1c6"} 
[2026-07-27 09:47:38] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410808,"longitude_deg":76.3340608,"latitude_deg":9.5410808,"altitude":12,"angle":39,"satellites":44,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda78","is_valid_coordinates":true} 
[2026-07-27 09:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:47:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992152064001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:47:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826710646390784,"note":"Value kept but may cause issues"} 
[2026-07-27 09:47:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198109682120151040,"note":"Value kept but may cause issues"} 
[2026-07-27 09:47:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:47:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785125600000,"timestamp_ms":1785125600000,"timestamp_seconds":1785125600,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1c6fb00"} 
[2026-07-27 09:47:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:47:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-27 09:47:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:47:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:47:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:47:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:47:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:47:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:47:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:47:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:47:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:47:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:47:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992152064001,"66":27484,"250":206,"85":12544,"24":0,"16":358826710646390784,"45":9198109682120151040},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 09:47:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:47:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:47:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992152064001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:47:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 09:47:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:47:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826710646390784,"km_value":358826710646390.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:47:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198109682120151040,"description":"Unknown IO ID 45"} 
[2026-07-27 09:47:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992152064001,"power":27484,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198109682120151040}} 
[2026-07-27 09:47:38] local.INFO: DEBUG: GPS processor result {"connection_id":145171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:47:38] local.INFO: GPS data processed {"connection_id":145171,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:47:38] local.INFO: Acknowledgment sent {"connection_id":145171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:47:40] local.INFO: TCP Data received {"connection_id":142872,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142872,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:47:40] local.INFO: Processing buffer {"connection_id":142872,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:47:40] local.INFO: IMEI packet received {"connection_id":142872,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 09:47:40] local.INFO: IMEI acknowledgment sent {"connection_id":142872,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:47:45] local.INFO: TCP Data received {"connection_id":142872,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142872,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:47:45] local.INFO: Processing buffer {"connection_id":142872,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:47:45] local.INFO: IMEI packet received {"connection_id":142872,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 09:47:45] local.INFO: IMEI acknowledgment sent {"connection_id":142872,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:47:46] local.INFO: TCP Data received {"connection_id":142872,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1cac7a8012d0ca2000704c9a0001f013522..."} 
[2026-07-27 09:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1cac7a8012d0ca2000704c9a0001f013522..."} 
[2026-07-27 09:47:46] local.INFO: Processing buffer {"connection_id":142872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1cac7a8012d0ca2000704c9a0001f013522..."} 
[2026-07-27 09:47:46] local.INFO: Packet analysis {"connection_id":142872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1ca"} 
[2026-07-27 09:47:46] local.INFO: Extracted packet for processing {"connection_id":142872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1ca"} 
[2026-07-27 09:47:46] local.INFO: GPS Element Parsed {"raw_longitude":755802624,"raw_latitude":117754272,"longitude_deg":75.5802624,"latitude_deg":11.7754272,"altitude":31,"angle":309,"satellites":34,"speed":23,"hex_longitude":"2d0ca200","hex_latitude":"0704c9a0","is_valid_coordinates":true} 
[2026-07-27 09:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:47:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992216832001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:47:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25872754142085120,"note":"Value kept but may cause issues"} 
[2026-07-27 09:47:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":911204898501423104,"note":"Value kept but may cause issues"} 
[2026-07-27 09:47:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:47:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785125849000,"timestamp_ms":1785125849000,"timestamp_seconds":1785125849,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1cac7a8"} 
[2026-07-27 09:47:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:47:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-27 09:47:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:47:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:47:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:47:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:47:46] local.INFO: Teltonika packet parsed successfully {"connection_id":142872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:47:46] local.INFO: Passing IMEI to GPS processor {"connection_id":142872,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:47:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":142872,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:47:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:47:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 09:47:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 09:47:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992216832001,"66":14396,"95":206,"94":10240,"24":23,"16":25872754142085120,"45":911204898501423104},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-07-27 09:47:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 09:47:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 09:47:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992216832001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:47:46] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-27 09:47:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 09:47:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25872754142085120,"km_value":25872754142085.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:47:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":911204898501423104,"description":"Unknown IO ID 45"} 
[2026-07-27 09:47:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992216832001,"power":14396,"unknown_95":206,"unknown_94":10240,"ignition":23,"odometer":null,"unknown_45":911204898501423104}} 
[2026-07-27 09:47:46] local.INFO: DEBUG: GPS processor result {"connection_id":142872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552441,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:47:46] local.INFO: GPS data processed {"connection_id":142872,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:47:46] local.INFO: Acknowledgment sent {"connection_id":142872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:48:07] local.INFO: TCP Data received {"connection_id":142871,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1c90a58012d7d2e4005ec0c180013012625..."} 
[2026-07-27 09:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1c90a58012d7d2e4005ec0c180013012625..."} 
[2026-07-27 09:48:07] local.INFO: Processing buffer {"connection_id":142871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1c90a58012d7d2e4005ec0c180013012625..."} 
[2026-07-27 09:48:07] local.INFO: Packet analysis {"connection_id":142871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1c9"} 
[2026-07-27 09:48:07] local.INFO: Extracted packet for processing {"connection_id":142871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1c9"} 
[2026-07-27 09:48:07] local.INFO: GPS Element Parsed {"raw_longitude":763178560,"raw_latitude":99355672,"longitude_deg":76.317856,"latitude_deg":9.9355672,"altitude":19,"angle":294,"satellites":37,"speed":0,"hex_longitude":"2d7d2e40","hex_latitude":"05ec0c18","is_valid_coordinates":true} 
[2026-07-27 09:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:48:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992111104001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:48:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111588348476260352,"note":"Value kept but may cause issues"} 
[2026-07-27 09:48:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020217497848911872,"note":"Value kept but may cause issues"} 
[2026-07-27 09:48:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:48:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785125735000,"timestamp_ms":1785125735000,"timestamp_seconds":1785125735,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1c90a58"} 
[2026-07-27 09:48:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:48:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-27 09:48:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:48:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:48:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:48:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:48:07] local.INFO: Teltonika packet parsed successfully {"connection_id":142871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:48:07] local.INFO: Passing IMEI to GPS processor {"connection_id":142871,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:48:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":142871,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 09:48:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:48:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 09:48:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 09:48:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992111104001,"66":2231,"197":206,"87":13824,"24":0,"16":111588348476260352,"45":9020217497848911872},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-07-27 09:48:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 09:48:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 09:48:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992111104001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:48:07] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-27 09:48:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 09:48:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111588348476260352,"km_value":111588348476260.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:48:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020217497848911872,"description":"Unknown IO ID 45"} 
[2026-07-27 09:48:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992111104001,"power":2231,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020217497848911872}} 
[2026-07-27 09:48:07] local.INFO: DEBUG: GPS processor result {"connection_id":142871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552442,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:48:07] local.INFO: GPS data processed {"connection_id":142871,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:48:07] local.INFO: Acknowledgment sent {"connection_id":142871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:48:08] local.INFO: TCP Data received {"connection_id":142740,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1ca8928012d186280072182e00050011e27..."} 
[2026-07-27 09:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1ca8928012d186280072182e00050011e27..."} 
[2026-07-27 09:48:08] local.INFO: Processing buffer {"connection_id":142740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1ca8928012d186280072182e00050011e27..."} 
[2026-07-27 09:48:08] local.INFO: Packet analysis {"connection_id":142740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1ca"} 
[2026-07-27 09:48:08] local.INFO: Extracted packet for processing {"connection_id":142740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1ca"} 
[2026-07-27 09:48:08] local.INFO: GPS Element Parsed {"raw_longitude":756572800,"raw_latitude":119636704,"longitude_deg":75.65728,"latitude_deg":11.9636704,"altitude":80,"angle":286,"satellites":39,"speed":27,"hex_longitude":"2d186280","hex_latitude":"072182e0","is_valid_coordinates":true} 
[2026-07-27 09:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:48:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992212224001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:48:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8778719879495680,"note":"Value kept but may cause issues"} 
[2026-07-27 09:48:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1759992691254423552,"note":"Value kept but may cause issues"} 
[2026-07-27 09:48:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:48:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785125833000,"timestamp_ms":1785125833000,"timestamp_seconds":1785125833,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1ca8928"} 
[2026-07-27 09:48:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:48:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-27 09:48:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:48:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:48:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:48:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:48:08] local.INFO: Teltonika packet parsed successfully {"connection_id":142740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:48:08] local.INFO: Passing IMEI to GPS processor {"connection_id":142740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:48:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":142740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:48:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:48:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 09:48:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 09:48:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992212224001,"66":13993,"121":206,"28":31744,"24":27,"16":8778719879495680,"45":1759992691254423552},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 09:48:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 09:48:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 09:48:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992212224001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:48:08] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 09:48:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 09:48:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8778719879495680,"km_value":8778719879495.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:48:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1759992691254423552,"description":"Unknown IO ID 45"} 
[2026-07-27 09:48:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992212224001,"power":13993,"unknown_121":206,"unknown_28":31744,"ignition":27,"odometer":null,"unknown_45":1759992691254423552}} 
[2026-07-27 09:48:08] local.INFO: DEBUG: GPS processor result {"connection_id":142740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552443,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:48:08] local.INFO: GPS data processed {"connection_id":142740,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:48:08] local.INFO: Acknowledgment sent {"connection_id":142740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:48:09] local.INFO: TCP Data received {"connection_id":145171,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1c6fb00012d7fa74005afda78000c00272c..."} 
[2026-07-27 09:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145171,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1c6fb00012d7fa74005afda78000c00272c..."} 
[2026-07-27 09:48:09] local.INFO: Processing buffer {"connection_id":145171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1c6fb00012d7fa74005afda78000c00272c..."} 
[2026-07-27 09:48:09] local.INFO: Packet analysis {"connection_id":145171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1c6"} 
[2026-07-27 09:48:09] local.INFO: Extracted packet for processing {"connection_id":145171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1c6"} 
[2026-07-27 09:48:09] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410808,"longitude_deg":76.3340608,"latitude_deg":9.5410808,"altitude":12,"angle":39,"satellites":44,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda78","is_valid_coordinates":true} 
[2026-07-27 09:48:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:48:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992152064001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:48:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826710646390784,"note":"Value kept but may cause issues"} 
[2026-07-27 09:48:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198109682120151040,"note":"Value kept but may cause issues"} 
[2026-07-27 09:48:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:48:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785125600000,"timestamp_ms":1785125600000,"timestamp_seconds":1785125600,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1c6fb00"} 
[2026-07-27 09:48:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:48:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09:48:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-27 09:48:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:48:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:48:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:48:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:48:09] local.INFO: Teltonika packet parsed successfully {"connection_id":145171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:48:09] local.INFO: Passing IMEI to GPS processor {"connection_id":145171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:48:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":145171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:48:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:48:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:48:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:48:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992152064001,"66":27484,"250":206,"85":12544,"24":0,"16":358826710646390784,"45":9198109682120151040},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 09:48:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:48:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:48:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992152064001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:48:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 09:48:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:48:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826710646390784,"km_value":358826710646390.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:48:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198109682120151040,"description":"Unknown IO ID 45"} 
[2026-07-27 09:48:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992152064001,"power":27484,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198109682120151040}} 
[2026-07-27 09:48:09] local.INFO: DEBUG: GPS processor result {"connection_id":145171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:48:09] local.INFO: GPS data processed {"connection_id":145171,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:48:09] local.INFO: Acknowledgment sent {"connection_id":145171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:48:17] local.INFO: TCP Data received {"connection_id":142872,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1cacb90012d0c9fc00704caf0001f012922..."} 
[2026-07-27 09:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1cacb90012d0c9fc00704caf0001f012922..."} 
[2026-07-27 09:48:17] local.INFO: Processing buffer {"connection_id":142872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1cacb90012d0c9fc00704caf0001f012922..."} 
[2026-07-27 09:48:17] local.INFO: Packet analysis {"connection_id":142872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1ca"} 
[2026-07-27 09:48:17] local.INFO: Extracted packet for processing {"connection_id":142872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1ca"} 
[2026-07-27 09:48:17] local.INFO: GPS Element Parsed {"raw_longitude":755802048,"raw_latitude":117754608,"longitude_deg":75.5802048,"latitude_deg":11.7754608,"altitude":31,"angle":297,"satellites":34,"speed":25,"hex_longitude":"2d0c9fc0","hex_latitude":"0704caf0","is_valid_coordinates":true} 
[2026-07-27 09: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-07-27 09:48:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992217344001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:48:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25872784206856192,"note":"Value kept but may cause issues"} 
[2026-07-27 09:48:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":910290104827355136,"note":"Value kept but may cause issues"} 
[2026-07-27 09:48:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:48:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785125850000,"timestamp_ms":1785125850000,"timestamp_seconds":1785125850,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1cacb90"} 
[2026-07-27 09:48:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:48:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-27 09:48:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09: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-07-27 09:48:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:48:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:48:17] local.INFO: Teltonika packet parsed successfully {"connection_id":142872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:48:17] local.INFO: Passing IMEI to GPS processor {"connection_id":142872,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:48:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":142872,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:48:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:48:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 09:48:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 09:48:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992217344001,"66":14157,"95":206,"94":10240,"24":25,"16":25872784206856192,"45":910290104827355136},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-07-27 09:48:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 09:48:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 09:48:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992217344001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:48:17] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-27 09:48:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 09:48:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25872784206856192,"km_value":25872784206856.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:48:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":910290104827355136,"description":"Unknown IO ID 45"} 
[2026-07-27 09:48:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992217344001,"power":14157,"unknown_95":206,"unknown_94":10240,"ignition":25,"odometer":null,"unknown_45":910290104827355136}} 
[2026-07-27 09:48:17] local.INFO: DEBUG: GPS processor result {"connection_id":142872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552445,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:48:17] local.INFO: GPS data processed {"connection_id":142872,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:48:17] local.INFO: Acknowledgment sent {"connection_id":142872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:48:30] local.INFO: TCP Data received {"connection_id":143855,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143855,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:48:30] local.INFO: Processing buffer {"connection_id":143855,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:48:30] local.INFO: IMEI packet received {"connection_id":143855,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 09:48:30] local.INFO: IMEI acknowledgment sent {"connection_id":143855,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:48:32] local.INFO: TCP Data received {"connection_id":143856,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:48:32] local.INFO: Processing buffer {"connection_id":143856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:48:32] local.INFO: IMEI packet received {"connection_id":143856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 09:48:32] local.INFO: IMEI acknowledgment sent {"connection_id":143856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:48:35] local.INFO: TCP Data received {"connection_id":143855,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143855,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:48:35] local.INFO: Processing buffer {"connection_id":143855,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:48:35] local.INFO: IMEI packet received {"connection_id":143855,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 09:48:35] local.INFO: IMEI acknowledgment sent {"connection_id":143855,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:48:36] local.INFO: TCP Data received {"connection_id":143855,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1ca94e0012d185a40072186280050012a27..."} 
[2026-07-27 09:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143855,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1ca94e0012d185a40072186280050012a27..."} 
[2026-07-27 09:48:36] local.INFO: Processing buffer {"connection_id":143855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1ca94e0012d185a40072186280050012a27..."} 
[2026-07-27 09:48:36] local.INFO: Packet analysis {"connection_id":143855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1ca"} 
[2026-07-27 09:48:36] local.INFO: Extracted packet for processing {"connection_id":143855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1ca"} 
[2026-07-27 09:48:36] local.INFO: GPS Element Parsed {"raw_longitude":756570688,"raw_latitude":119637544,"longitude_deg":75.6570688,"latitude_deg":11.9637544,"altitude":80,"angle":298,"satellites":39,"speed":30,"hex_longitude":"2d185a40","hex_latitude":"07218628","is_valid_coordinates":true} 
[2026-07-27 09:48:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:48:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992213248001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:48:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8778831548645376,"note":"Value kept but may cause issues"} 
[2026-07-27 09:48:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1757107572743266304,"note":"Value kept but may cause issues"} 
[2026-07-27 09:48:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:48:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785125836000,"timestamp_ms":1785125836000,"timestamp_seconds":1785125836,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1ca94e0"} 
[2026-07-27 09:48:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:48:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09:48:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-27 09:48:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:48:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:48:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:48:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:48:36] local.INFO: Teltonika packet parsed successfully {"connection_id":143855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:48:36] local.INFO: Passing IMEI to GPS processor {"connection_id":143855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:48:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":143855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:48:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:48:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 09:48:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 09:48:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992213248001,"66":14048,"121":206,"28":31744,"24":30,"16":8778831548645376,"45":1757107572743266304},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 09:48:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 09:48:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 09:48:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992213248001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:48:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 09:48:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 09:48:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8778831548645376,"km_value":8778831548645.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:48:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1757107572743266304,"description":"Unknown IO ID 45"} 
[2026-07-27 09:48:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992213248001,"power":14048,"unknown_121":206,"unknown_28":31744,"ignition":30,"odometer":null,"unknown_45":1757107572743266304}} 
[2026-07-27 09:48:36] local.INFO: DEBUG: GPS processor result {"connection_id":143855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552446,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:48:36] local.INFO: GPS data processed {"connection_id":143855,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:48:36] local.INFO: Acknowledgment sent {"connection_id":143855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:48:37] local.INFO: TCP Data received {"connection_id":143856,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:48:37] local.INFO: Processing buffer {"connection_id":143856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:48:37] local.INFO: IMEI packet received {"connection_id":143856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 09:48:37] local.INFO: IMEI acknowledgment sent {"connection_id":143856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:48:39] local.INFO: TCP Data received {"connection_id":143856,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1c6fb00012d7fa74005afda78000c00272c..."} 
[2026-07-27 09:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1c6fb00012d7fa74005afda78000c00272c..."} 
[2026-07-27 09:48:39] local.INFO: Processing buffer {"connection_id":143856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1c6fb00012d7fa74005afda78000c00272c..."} 
[2026-07-27 09:48:39] local.INFO: Packet analysis {"connection_id":143856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1c6"} 
[2026-07-27 09:48:39] local.INFO: Extracted packet for processing {"connection_id":143856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1c6"} 
[2026-07-27 09:48:39] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410808,"longitude_deg":76.3340608,"latitude_deg":9.5410808,"altitude":12,"angle":39,"satellites":44,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda78","is_valid_coordinates":true} 
[2026-07-27 09:48:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:48:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992152064001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:48:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826710646390784,"note":"Value kept but may cause issues"} 
[2026-07-27 09:48:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198109682120151040,"note":"Value kept but may cause issues"} 
[2026-07-27 09:48:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:48:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785125600000,"timestamp_ms":1785125600000,"timestamp_seconds":1785125600,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1c6fb00"} 
[2026-07-27 09:48:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:48:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-27 09:48:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:48:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:48:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:48:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:48:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:48:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:48:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:48:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:48:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:48:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:48:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992152064001,"66":27484,"250":206,"85":12544,"24":0,"16":358826710646390784,"45":9198109682120151040},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 09:48:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:48:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:48:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992152064001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:48:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 09:48:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:48:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826710646390784,"km_value":358826710646390.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:48:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198109682120151040,"description":"Unknown IO ID 45"} 
[2026-07-27 09:48:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992152064001,"power":27484,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198109682120151040}} 
[2026-07-27 09:48:39] local.INFO: DEBUG: GPS processor result {"connection_id":143856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:48:39] local.INFO: GPS data processed {"connection_id":143856,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:48:39] local.INFO: Acknowledgment sent {"connection_id":143856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:48:44] local.INFO: TCP Data received {"connection_id":142741,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142741,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:48:44] local.INFO: Processing buffer {"connection_id":142741,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:48:44] local.INFO: IMEI packet received {"connection_id":142741,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 09:48:44] local.INFO: IMEI acknowledgment sent {"connection_id":142741,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:48:45] local.INFO: TCP Data received {"connection_id":142741,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142741,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:48:45] local.INFO: Processing buffer {"connection_id":142741,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:48:45] local.INFO: IMEI packet received {"connection_id":142741,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 09:48:45] local.INFO: IMEI acknowledgment sent {"connection_id":142741,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:48:46] local.INFO: TCP Data received {"connection_id":142741,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142741,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:48:46] local.INFO: Processing buffer {"connection_id":142741,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:48:46] local.INFO: IMEI packet received {"connection_id":142741,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 09:48:46] local.INFO: IMEI acknowledgment sent {"connection_id":142741,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:48:50] local.INFO: TCP Data received {"connection_id":142741,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142741,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:48:50] local.INFO: Processing buffer {"connection_id":142741,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:48:50] local.INFO: IMEI packet received {"connection_id":142741,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 09:48:50] local.INFO: IMEI acknowledgment sent {"connection_id":142741,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:48:51] local.INFO: TCP Data received {"connection_id":142741,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1cadb30012d0c96000704ce80001e011d22..."} 
[2026-07-27 09:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1cadb30012d0c96000704ce80001e011d22..."} 
[2026-07-27 09:48:51] local.INFO: Processing buffer {"connection_id":142741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1cadb30012d0c96000704ce80001e011d22..."} 
[2026-07-27 09:48:51] local.INFO: Packet analysis {"connection_id":142741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1ca"} 
[2026-07-27 09:48:51] local.INFO: Extracted packet for processing {"connection_id":142741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1ca"} 
[2026-07-27 09:48:51] local.INFO: GPS Element Parsed {"raw_longitude":755799552,"raw_latitude":117755520,"longitude_deg":75.5799552,"latitude_deg":11.775552,"altitude":30,"angle":285,"satellites":34,"speed":23,"hex_longitude":"2d0c9600","hex_latitude":"0704ce80","is_valid_coordinates":true} 
[2026-07-27 09:48:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:48:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992217600001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:48:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25872908760907776,"note":"Value kept but may cause issues"} 
[2026-07-27 09:48:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":909656786129842176,"note":"Value kept but may cause issues"} 
[2026-07-27 09:48:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:48:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785125854000,"timestamp_ms":1785125854000,"timestamp_seconds":1785125854,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1cadb30"} 
[2026-07-27 09:48:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:48:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09:48:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-27 09:48:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:48:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:48:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:48:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:48:51] local.INFO: Teltonika packet parsed successfully {"connection_id":142741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:48:51] local.INFO: Passing IMEI to GPS processor {"connection_id":142741,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:48:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":142741,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:48:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:48:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 09:48:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 09:48:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992217600001,"66":14374,"95":206,"94":10240,"24":23,"16":25872908760907776,"45":909656786129842176},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-07-27 09:48:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 09:48:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 09:48:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992217600001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:48:51] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-27 09:48:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 09:48:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25872908760907776,"km_value":25872908760907.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:48:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":909656786129842176,"description":"Unknown IO ID 45"} 
[2026-07-27 09:48:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992217600001,"power":14374,"unknown_95":206,"unknown_94":10240,"ignition":23,"odometer":null,"unknown_45":909656786129842176}} 
[2026-07-27 09:48:51] local.INFO: DEBUG: GPS processor result {"connection_id":142741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552448,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:48:51] local.INFO: GPS data processed {"connection_id":142741,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:48:51] local.INFO: Acknowledgment sent {"connection_id":142741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:48:56] local.INFO: TCP Data received {"connection_id":142741,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1cae6e8012d0c92c00704ced0001d010623..."} 
[2026-07-27 09:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1cae6e8012d0c92c00704ced0001d010623..."} 
[2026-07-27 09:48:56] local.INFO: Processing buffer {"connection_id":142741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1cae6e8012d0c92c00704ced0001d010623..."} 
[2026-07-27 09:48:56] local.INFO: Packet analysis {"connection_id":142741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1ca"} 
[2026-07-27 09:48:56] local.INFO: Extracted packet for processing {"connection_id":142741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1ca"} 
[2026-07-27 09:48:56] local.INFO: GPS Element Parsed {"raw_longitude":755798720,"raw_latitude":117755600,"longitude_deg":75.579872,"latitude_deg":11.77556,"altitude":29,"angle":262,"satellites":35,"speed":7,"hex_longitude":"2d0c92c0","hex_latitude":"0704ced0","is_valid_coordinates":true} 
[2026-07-27 09:48:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:48:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992218624001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:48:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25872951710580736,"note":"Value kept but may cause issues"} 
[2026-07-27 09:48:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":906912405107146752,"note":"Value kept but may cause issues"} 
[2026-07-27 09:48:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:48:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785125857000,"timestamp_ms":1785125857000,"timestamp_seconds":1785125857,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1cae6e8"} 
[2026-07-27 09:48:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:48:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09:48:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-27 09:48:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:48:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:48:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:48:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:48:56] local.INFO: Teltonika packet parsed successfully {"connection_id":142741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:48:56] local.INFO: Passing IMEI to GPS processor {"connection_id":142741,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:48:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":142741,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:48:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:48:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 09:48:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 09:48:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992218624001,"66":14396,"95":206,"94":10240,"24":7,"16":25872951710580736,"45":906912405107146752},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-07-27 09:48:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 09:48:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 09:48:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992218624001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:48:56] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-27 09:48:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 09:48:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25872951710580736,"km_value":25872951710580.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:48:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":906912405107146752,"description":"Unknown IO ID 45"} 
[2026-07-27 09:48:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992218624001,"power":14396,"unknown_95":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":906912405107146752}} 
[2026-07-27 09:48:56] local.INFO: DEBUG: GPS processor result {"connection_id":142741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552449,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:48:56] local.INFO: GPS data processed {"connection_id":142741,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:48:56] local.INFO: Acknowledgment sent {"connection_id":142741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:49:08] local.INFO: TCP Data received {"connection_id":143855,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1cab808012d184240072190c00053011c25..."} 
[2026-07-27 09:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143855,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1cab808012d184240072190c00053011c25..."} 
[2026-07-27 09:49:08] local.INFO: Processing buffer {"connection_id":143855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1cab808012d184240072190c00053011c25..."} 
[2026-07-27 09:49:08] local.INFO: Packet analysis {"connection_id":143855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1ca"} 
[2026-07-27 09:49:08] local.INFO: Extracted packet for processing {"connection_id":143855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1ca"} 
[2026-07-27 09:49:08] local.INFO: GPS Element Parsed {"raw_longitude":756564544,"raw_latitude":119640256,"longitude_deg":75.6564544,"latitude_deg":11.9640256,"altitude":83,"angle":284,"satellites":37,"speed":17,"hex_longitude":"2d184240","hex_latitude":"072190c0","is_valid_coordinates":true} 
[2026-07-27 09:49:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:49:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992214016001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:49:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8779149376225280,"note":"Value kept but may cause issues"} 
[2026-07-27 09:49:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754785404185618432,"note":"Value kept but may cause issues"} 
[2026-07-27 09:49:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:49:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785125845000,"timestamp_ms":1785125845000,"timestamp_seconds":1785125845,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1cab808"} 
[2026-07-27 09:49:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:49:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-07-27 09:49:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:49:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:49:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:49:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:49:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:49:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:49:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:49:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:49:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 09:49:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 09:49:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992214016001,"66":14135,"121":206,"28":31744,"24":17,"16":8779149376225280,"45":1754785404185618432},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 09:49:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 09:49:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 09:49:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992214016001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:49:08] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 09:49:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 09:49:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8779149376225280,"km_value":8779149376225.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:49:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754785404185618432,"description":"Unknown IO ID 45"} 
[2026-07-27 09:49:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992214016001,"power":14135,"unknown_121":206,"unknown_28":31744,"ignition":17,"odometer":null,"unknown_45":1754785404185618432}} 
[2026-07-27 09:49:08] local.INFO: DEBUG: GPS processor result {"connection_id":143855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552450,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:49:08] local.INFO: GPS data processed {"connection_id":143855,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:49:08] local.INFO: Acknowledgment sent {"connection_id":143855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:49:10] local.INFO: TCP Data received {"connection_id":143856,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1cba268012d7faa8005afd700001400272d..."} 
[2026-07-27 09:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1cba268012d7faa8005afd700001400272d..."} 
[2026-07-27 09:49:10] local.INFO: Processing buffer {"connection_id":143856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1cba268012d7faa8005afd700001400272d..."} 
[2026-07-27 09:49:10] local.INFO: Packet analysis {"connection_id":143856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1cb"} 
[2026-07-27 09:49:10] local.INFO: Extracted packet for processing {"connection_id":143856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1cb"} 
[2026-07-27 09:49:10] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95409920,"longitude_deg":76.334144,"latitude_deg":9.540992,"altitude":20,"angle":39,"satellites":45,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd700","is_valid_coordinates":true} 
[2026-07-27 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-07-27 09:49:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992153600001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:49:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826710646390784,"note":"Value kept but may cause issues"} 
[2026-07-27 09:49:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096871936,"note":"Value kept but may cause issues"} 
[2026-07-27 09:49:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:49:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785125905000,"timestamp_ms":1785125905000,"timestamp_seconds":1785125905,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1cba268"} 
[2026-07-27 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-07-27 09:49:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-27 09:49:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 09:49:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:49:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:49:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:49:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:49:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:49:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:49:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:49:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992153600001,"66":26006,"250":206,"85":12544,"24":0,"16":358826710646390784,"45":9198391157096871936},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 09:49:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:49:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:49:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992153600001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:49:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 09:49:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:49:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826710646390784,"km_value":358826710646390.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:49:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096871936,"description":"Unknown IO ID 45"} 
[2026-07-27 09:49:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992153600001,"power":26006,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096871936}} 
[2026-07-27 09:49:10] local.INFO: DEBUG: GPS processor result {"connection_id":143856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:49:10] local.INFO: GPS data processed {"connection_id":143856,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:49:10] local.INFO: Acknowledgment sent {"connection_id":143856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:49:35] local.INFO: TCP Data received {"connection_id":145172,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145172,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:49:35] local.INFO: Processing buffer {"connection_id":145172,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:49:35] local.INFO: IMEI packet received {"connection_id":145172,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 09:49:35] local.INFO: IMEI acknowledgment sent {"connection_id":145172,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:49:37] local.INFO: TCP Data received {"connection_id":145172,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145172,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:49:37] local.INFO: Processing buffer {"connection_id":145172,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:49:37] local.INFO: IMEI packet received {"connection_id":145172,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 09:49:37] local.INFO: IMEI acknowledgment sent {"connection_id":145172,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:49:37] local.INFO: TCP Data received {"connection_id":142875,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:49:37] local.INFO: Processing buffer {"connection_id":142875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:49:37] local.INFO: IMEI packet received {"connection_id":142875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 09:49:37] local.INFO: IMEI acknowledgment sent {"connection_id":142875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:49:38] local.INFO: TCP Data received {"connection_id":145172,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1cb0a10012d183f00072191900052011e22..."} 
[2026-07-27 09:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145172,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1cb0a10012d183f00072191900052011e22..."} 
[2026-07-27 09:49:38] local.INFO: Processing buffer {"connection_id":145172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1cb0a10012d183f00072191900052011e22..."} 
[2026-07-27 09:49:38] local.INFO: Packet analysis {"connection_id":145172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1cb"} 
[2026-07-27 09:49:38] local.INFO: Extracted packet for processing {"connection_id":145172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1cb"} 
[2026-07-27 09:49:38] local.INFO: GPS Element Parsed {"raw_longitude":756563712,"raw_latitude":119640464,"longitude_deg":75.6563712,"latitude_deg":11.9640464,"altitude":82,"angle":286,"satellites":34,"speed":0,"hex_longitude":"2d183f00","hex_latitude":"07219190","is_valid_coordinates":true} 
[2026-07-27 09:49:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:49:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992216320001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:49:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8779192325898240,"note":"Value kept but may cause issues"} 
[2026-07-27 09:49:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1748030004745256960,"note":"Value kept but may cause issues"} 
[2026-07-27 09:49:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:49:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785125866000,"timestamp_ms":1785125866000,"timestamp_seconds":1785125866,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1cb0a10"} 
[2026-07-27 09:49:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:49:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09:49:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-07-27 09:49:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:49:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:49:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:49:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:49:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:49:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145172,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:49:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145172,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:49:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:49:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 09:49:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 09:49:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992216320001,"66":14102,"121":206,"28":31744,"24":0,"16":8779192325898240,"45":1748030004745256960},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 09:49:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 09:49:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 09:49:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992216320001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:49:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 09:49:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 09:49:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8779192325898240,"km_value":8779192325898.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:49:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1748030004745256960,"description":"Unknown IO ID 45"} 
[2026-07-27 09:49:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992216320001,"power":14102,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1748030004745256960}} 
[2026-07-27 09:49:38] local.INFO: DEBUG: GPS processor result {"connection_id":145172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552452,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:49:38] local.INFO: GPS data processed {"connection_id":145172,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:49:38] local.INFO: Acknowledgment sent {"connection_id":145172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:49:40] local.INFO: TCP Data received {"connection_id":145172,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1cb5c18012d183f00072191900052011e23..."} 
[2026-07-27 09:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145172,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1cb5c18012d183f00072191900052011e23..."} 
[2026-07-27 09:49:40] local.INFO: Processing buffer {"connection_id":145172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1cb5c18012d183f00072191900052011e23..."} 
[2026-07-27 09:49:40] local.INFO: Packet analysis {"connection_id":145172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1cb"} 
[2026-07-27 09:49:40] local.INFO: Extracted packet for processing {"connection_id":145172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1cb"} 
[2026-07-27 09:49:40] local.INFO: GPS Element Parsed {"raw_longitude":756563712,"raw_latitude":119640464,"longitude_deg":75.6563712,"latitude_deg":11.9640464,"altitude":82,"angle":286,"satellites":35,"speed":0,"hex_longitude":"2d183f00","hex_latitude":"07219190","is_valid_coordinates":true} 
[2026-07-27 09: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-07-27 09:49:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992221696001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:49:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8779192325898240,"note":"Value kept but may cause issues"} 
[2026-07-27 09:49:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1747115211071000576,"note":"Value kept but may cause issues"} 
[2026-07-27 09:49:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:49:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785125887000,"timestamp_ms":1785125887000,"timestamp_seconds":1785125887,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1cb5c18"} 
[2026-07-27 09:49:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:49:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-27 09:49:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09: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-07-27 09:49:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:49:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:49:40] local.INFO: Teltonika packet parsed successfully {"connection_id":145172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:49:40] local.INFO: Passing IMEI to GPS processor {"connection_id":145172,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:49:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":145172,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:49:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:49:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 09:49:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 09:49:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992221696001,"66":14396,"121":206,"28":31744,"24":0,"16":8779192325898240,"45":1747115211071000576},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 09:49:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 09:49:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 09:49:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992221696001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:49:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 09:49:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 09:49:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8779192325898240,"km_value":8779192325898.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:49:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1747115211071000576,"description":"Unknown IO ID 45"} 
[2026-07-27 09:49:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992221696001,"power":14396,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1747115211071000576}} 
[2026-07-27 09:49:40] local.INFO: DEBUG: GPS processor result {"connection_id":145172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552453,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:49:40] local.INFO: GPS data processed {"connection_id":145172,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:49:40] local.INFO: Acknowledgment sent {"connection_id":145172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:49:41] local.INFO: TCP Data received {"connection_id":143857,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143857,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:49:41] local.INFO: Processing buffer {"connection_id":143857,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:49:41] local.INFO: IMEI packet received {"connection_id":143857,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 09:49:41] local.INFO: IMEI acknowledgment sent {"connection_id":143857,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:49:41] local.INFO: TCP Data received {"connection_id":143857,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143857,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:49:41] local.INFO: Processing buffer {"connection_id":143857,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:49:41] local.INFO: IMEI packet received {"connection_id":143857,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 09:49:41] local.INFO: IMEI acknowledgment sent {"connection_id":143857,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:49:42] local.INFO: TCP Data received {"connection_id":142875,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:49:42] local.INFO: Processing buffer {"connection_id":142875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:49:42] local.INFO: IMEI packet received {"connection_id":142875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 09:49:42] local.INFO: IMEI acknowledgment sent {"connection_id":142875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:49:43] local.INFO: TCP Data received {"connection_id":142875,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1cba268012d7faa8005afd700001400272d..."} 
[2026-07-27 09:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1cba268012d7faa8005afd700001400272d..."} 
[2026-07-27 09:49:43] local.INFO: Processing buffer {"connection_id":142875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1cba268012d7faa8005afd700001400272d..."} 
[2026-07-27 09:49:43] local.INFO: Packet analysis {"connection_id":142875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1cb"} 
[2026-07-27 09:49:43] local.INFO: Extracted packet for processing {"connection_id":142875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1cb"} 
[2026-07-27 09:49:43] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95409920,"longitude_deg":76.334144,"latitude_deg":9.540992,"altitude":20,"angle":39,"satellites":45,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd700","is_valid_coordinates":true} 
[2026-07-27 09:49:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:49:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992153600001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:49:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826710646390784,"note":"Value kept but may cause issues"} 
[2026-07-27 09:49:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096871936,"note":"Value kept but may cause issues"} 
[2026-07-27 09:49:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:49:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785125905000,"timestamp_ms":1785125905000,"timestamp_seconds":1785125905,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1cba268"} 
[2026-07-27 09:49:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:49:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-27 09:49:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:49:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:49:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:49:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:49:43] local.INFO: Teltonika packet parsed successfully {"connection_id":142875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:49:43] local.INFO: Passing IMEI to GPS processor {"connection_id":142875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:49:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":142875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:49:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:49:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:49:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:49:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992153600001,"66":26006,"250":206,"85":12544,"24":0,"16":358826710646390784,"45":9198391157096871936},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 09:49:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:49:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:49:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992153600001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:49:43] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 09:49:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:49:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826710646390784,"km_value":358826710646390.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:49:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096871936,"description":"Unknown IO ID 45"} 
[2026-07-27 09:49:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992153600001,"power":26006,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096871936}} 
[2026-07-27 09:49:43] local.INFO: DEBUG: GPS processor result {"connection_id":142875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:49:43] local.INFO: GPS data processed {"connection_id":142875,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:49:43] local.INFO: Acknowledgment sent {"connection_id":142875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:49:45] local.INFO: TCP Data received {"connection_id":143857,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143857,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:49:45] local.INFO: Processing buffer {"connection_id":143857,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:49:45] local.INFO: IMEI packet received {"connection_id":143857,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 09:49:45] local.INFO: IMEI acknowledgment sent {"connection_id":143857,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:49:45] local.INFO: TCP Data received {"connection_id":143857,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1cc4290012d0cb24007044f28001600c620..."} 
[2026-07-27 09:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1cc4290012d0cb24007044f28001600c620..."} 
[2026-07-27 09:49:45] local.INFO: Processing buffer {"connection_id":143857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1cc4290012d0cb24007044f28001600c620..."} 
[2026-07-27 09:49:45] local.INFO: Packet analysis {"connection_id":143857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1cc"} 
[2026-07-27 09:49:45] local.INFO: Extracted packet for processing {"connection_id":143857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1cc"} 
[2026-07-27 09:49:45] local.INFO: GPS Element Parsed {"raw_longitude":755806784,"raw_latitude":117722920,"longitude_deg":75.5806784,"latitude_deg":11.772292,"altitude":22,"angle":198,"satellites":32,"speed":49,"hex_longitude":"2d0cb240","hex_latitude":"07044f28","is_valid_coordinates":true} 
[2026-07-27 09:49:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:49:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992240384001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:49:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25874699762270208,"note":"Value kept but may cause issues"} 
[2026-07-27 09:49:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":916834398030010368,"note":"Value kept but may cause issues"} 
[2026-07-27 09:49:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:49:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785125946000,"timestamp_ms":1785125946000,"timestamp_seconds":1785125946,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1cc4290"} 
[2026-07-27 09:49:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:49:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09:49:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-27 09:49:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:49:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:49:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:49:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:49:45] local.INFO: Teltonika packet parsed successfully {"connection_id":143857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:49:45] local.INFO: Passing IMEI to GPS processor {"connection_id":143857,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:49:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":143857,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:49:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:49:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 09:49:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 09:49:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992240384001,"66":14439,"95":206,"94":10240,"24":49,"16":25874699762270208,"45":916834398030010368},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-07-27 09:49:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 09:49:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 09:49:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992240384001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:49:45] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-27 09:49:45] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 09:49:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25874699762270208,"km_value":25874699762270.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:49:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":916834398030010368,"description":"Unknown IO ID 45"} 
[2026-07-27 09:49:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992240384001,"power":14439,"unknown_95":206,"unknown_94":10240,"ignition":49,"odometer":null,"unknown_45":916834398030010368}} 
[2026-07-27 09:49:45] local.INFO: DEBUG: GPS processor result {"connection_id":143857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552455,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:49:45] local.INFO: GPS data processed {"connection_id":143857,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:49:45] local.INFO: Acknowledgment sent {"connection_id":143857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:49:46] local.INFO: TCP Data received {"connection_id":143857,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1cc61d0012d0ca50007042e78001700d022..."} 
[2026-07-27 09:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1cc61d0012d0ca50007042e78001700d022..."} 
[2026-07-27 09:49:46] local.INFO: Processing buffer {"connection_id":143857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1cc61d0012d0ca50007042e78001700d022..."} 
[2026-07-27 09:49:46] local.INFO: Packet analysis {"connection_id":143857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1cc"} 
[2026-07-27 09:49:46] local.INFO: Extracted packet for processing {"connection_id":143857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1cc"} 
[2026-07-27 09:49:46] local.INFO: GPS Element Parsed {"raw_longitude":755803392,"raw_latitude":117714552,"longitude_deg":75.5803392,"latitude_deg":11.7714552,"altitude":23,"angle":208,"satellites":34,"speed":40,"hex_longitude":"2d0ca500","hex_latitude":"07042e78","is_valid_coordinates":true} 
[2026-07-27 09:49:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:49:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992242176001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:49:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25875137848934400,"note":"Value kept but may cause issues"} 
[2026-07-27 09:49:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":914864073190877184,"note":"Value kept but may cause issues"} 
[2026-07-27 09:49:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:49:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785125954000,"timestamp_ms":1785125954000,"timestamp_seconds":1785125954,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1cc61d0"} 
[2026-07-27 09:49:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:49:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09:49:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-27 09:49:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:49:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:49:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:49:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:49:46] local.INFO: Teltonika packet parsed successfully {"connection_id":143857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:49:46] local.INFO: Passing IMEI to GPS processor {"connection_id":143857,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:49:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":143857,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:49:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:49:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 09:49:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 09:49:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992242176001,"66":14450,"95":206,"94":10240,"24":40,"16":25875137848934400,"45":914864073190877184},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-07-27 09:49:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 09:49:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 09:49:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992242176001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:49:46] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-27 09:49:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 09:49:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25875137848934400,"km_value":25875137848934.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:49:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":914864073190877184,"description":"Unknown IO ID 45"} 
[2026-07-27 09:49:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992242176001,"power":14450,"unknown_95":206,"unknown_94":10240,"ignition":40,"odometer":null,"unknown_45":914864073190877184}} 
[2026-07-27 09:49:47] local.INFO: DEBUG: GPS processor result {"connection_id":143857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552456,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:49:47] local.INFO: GPS data processed {"connection_id":143857,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:49:47] local.INFO: Acknowledgment sent {"connection_id":143857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:49:47] local.INFO: TCP Data received {"connection_id":143857,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1cc7d28012d0c960007041758001800e023..."} 
[2026-07-27 09:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1cc7d28012d0c960007041758001800e023..."} 
[2026-07-27 09:49:47] local.INFO: Processing buffer {"connection_id":143857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1cc7d28012d0c960007041758001800e023..."} 
[2026-07-27 09:49:47] local.INFO: Packet analysis {"connection_id":143857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1cc"} 
[2026-07-27 09:49:47] local.INFO: Extracted packet for processing {"connection_id":143857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1cc"} 
[2026-07-27 09:49:47] local.INFO: GPS Element Parsed {"raw_longitude":755799552,"raw_latitude":117708632,"longitude_deg":75.5799552,"latitude_deg":11.7708632,"altitude":24,"angle":224,"satellites":35,"speed":38,"hex_longitude":"2d0c9600","hex_latitude":"07041758","is_valid_coordinates":true} 
[2026-07-27 09:49:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:49:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992244224001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:49:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25875477151350784,"note":"Value kept but may cause issues"} 
[2026-07-27 09:49:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":911134529747318784,"note":"Value kept but may cause issues"} 
[2026-07-27 09:49:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:49:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785125961000,"timestamp_ms":1785125961000,"timestamp_seconds":1785125961,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1cc7d28"} 
[2026-07-27 09:49:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:49: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-07-27 09:49:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-27 09:49:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:49:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:49:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:49:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:49:47] local.INFO: Teltonika packet parsed successfully {"connection_id":143857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:49:47] local.INFO: Passing IMEI to GPS processor {"connection_id":143857,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:49:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":143857,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:49:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:49:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 09:49:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 09:49:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992244224001,"66":14439,"95":206,"94":10240,"24":38,"16":25875477151350784,"45":911134529747318784},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-07-27 09:49:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 09:49:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 09:49:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992244224001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:49:47] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-27 09:49:47] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 09:49:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25875477151350784,"km_value":25875477151350.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:49:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":911134529747318784,"description":"Unknown IO ID 45"} 
[2026-07-27 09:49:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992244224001,"power":14439,"unknown_95":206,"unknown_94":10240,"ignition":38,"odometer":null,"unknown_45":911134529747318784}} 
[2026-07-27 09:49:47] local.INFO: DEBUG: GPS processor result {"connection_id":143857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552457,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:49:47] local.INFO: GPS data processed {"connection_id":143857,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:49:47] local.INFO: Acknowledgment sent {"connection_id":143857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:49:48] local.INFO: TCP Data received {"connection_id":142875,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1cba268012d7faa8005afd700001400272d..."} 
[2026-07-27 09:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1cba268012d7faa8005afd700001400272d..."} 
[2026-07-27 09:49:48] local.INFO: Processing buffer {"connection_id":142875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1cba268012d7faa8005afd700001400272d..."} 
[2026-07-27 09:49:48] local.INFO: Packet analysis {"connection_id":142875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1cb"} 
[2026-07-27 09:49:48] local.INFO: Extracted packet for processing {"connection_id":142875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1cb"} 
[2026-07-27 09:49:48] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95409920,"longitude_deg":76.334144,"latitude_deg":9.540992,"altitude":20,"angle":39,"satellites":45,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd700","is_valid_coordinates":true} 
[2026-07-27 09:49:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:49:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992153600001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:49:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826710646390784,"note":"Value kept but may cause issues"} 
[2026-07-27 09:49:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096871936,"note":"Value kept but may cause issues"} 
[2026-07-27 09:49:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:49:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785125905000,"timestamp_ms":1785125905000,"timestamp_seconds":1785125905,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1cba268"} 
[2026-07-27 09:49:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:49:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:49:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-27 09:49:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:49:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:49:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:49:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:49:48] local.INFO: Teltonika packet parsed successfully {"connection_id":142875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:49:48] local.INFO: Passing IMEI to GPS processor {"connection_id":142875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:49:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":142875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:49:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:49:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:49:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:49:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992153600001,"66":26006,"250":206,"85":12544,"24":0,"16":358826710646390784,"45":9198391157096871936},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 09:49:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:49:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:49:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992153600001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:49:48] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 09:49:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:49:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826710646390784,"km_value":358826710646390.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:49:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096871936,"description":"Unknown IO ID 45"} 
[2026-07-27 09:49:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992153600001,"power":26006,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096871936}} 
[2026-07-27 09:49:48] local.INFO: DEBUG: GPS processor result {"connection_id":142875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:49:48] local.INFO: GPS data processed {"connection_id":142875,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:49:48] local.INFO: Acknowledgment sent {"connection_id":142875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:50:12] local.INFO: TCP Data received {"connection_id":145172,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1cbae20012d183f00072191900052011e23..."} 
[2026-07-27 09:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145172,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1cbae20012d183f00072191900052011e23..."} 
[2026-07-27 09:50:12] local.INFO: Processing buffer {"connection_id":145172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1cbae20012d183f00072191900052011e23..."} 
[2026-07-27 09:50:12] local.INFO: Packet analysis {"connection_id":145172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1cb"} 
[2026-07-27 09:50:12] local.INFO: Extracted packet for processing {"connection_id":145172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1cb"} 
[2026-07-27 09:50:12] local.INFO: GPS Element Parsed {"raw_longitude":756563712,"raw_latitude":119640464,"longitude_deg":75.6563712,"latitude_deg":11.9640464,"altitude":82,"angle":286,"satellites":35,"speed":0,"hex_longitude":"2d183f00","hex_latitude":"07219190","is_valid_coordinates":true} 
[2026-07-27 09: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-07-27 09:50:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992227072001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:50:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8779192325898240,"note":"Value kept but may cause issues"} 
[2026-07-27 09:50:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1747115211071000576,"note":"Value kept but may cause issues"} 
[2026-07-27 09:50:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:50:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785125908000,"timestamp_ms":1785125908000,"timestamp_seconds":1785125908,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1cbae20"} 
[2026-07-27 09:50:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:50:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-27 09:50:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09: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-07-27 09:50:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:50:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:50:12] local.INFO: Teltonika packet parsed successfully {"connection_id":145172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:50:12] local.INFO: Passing IMEI to GPS processor {"connection_id":145172,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:50:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":145172,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:50:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:50:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 09:50:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 09:50:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992227072001,"66":13820,"121":206,"28":31744,"24":0,"16":8779192325898240,"45":1747115211071000576},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 09:50:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 09:50:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 09:50:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992227072001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:50:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 09:50:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 09:50:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8779192325898240,"km_value":8779192325898.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:50:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1747115211071000576,"description":"Unknown IO ID 45"} 
[2026-07-27 09:50:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992227072001,"power":13820,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1747115211071000576}} 
[2026-07-27 09:50:12] local.INFO: DEBUG: GPS processor result {"connection_id":145172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552459,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:50:12] local.INFO: GPS data processed {"connection_id":145172,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:50:12] local.INFO: Acknowledgment sent {"connection_id":145172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:50:19] local.INFO: TCP Data received {"connection_id":143857,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1cca050012d0c78c007040098001800e922..."} 
[2026-07-27 09:50:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1cca050012d0c78c007040098001800e922..."} 
[2026-07-27 09:50:19] local.INFO: Processing buffer {"connection_id":143857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1cca050012d0c78c007040098001800e922..."} 
[2026-07-27 09:50:19] local.INFO: Packet analysis {"connection_id":143857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1cc"} 
[2026-07-27 09:50:19] local.INFO: Extracted packet for processing {"connection_id":143857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1cc"} 
[2026-07-27 09:50:19] local.INFO: GPS Element Parsed {"raw_longitude":755792064,"raw_latitude":117702808,"longitude_deg":75.5792064,"latitude_deg":11.7702808,"altitude":24,"angle":233,"satellites":34,"speed":41,"hex_longitude":"2d0c78c0","hex_latitude":"07040098","is_valid_coordinates":true} 
[2026-07-27 09: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-07-27 09:50:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992246016001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:50:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25875932417884160,"note":"Value kept but may cause issues"} 
[2026-07-27 09:50:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":906912405095143424,"note":"Value kept but may cause issues"} 
[2026-07-27 09:50:19] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-27 09:50:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785125970000,"timestamp_ms":1785125970000,"timestamp_seconds":1785125970,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1cca050"} 
[2026-07-27 09:50:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:50: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-07-27 09: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-27 09:50:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09: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-07-27 09:50:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:50:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:50:19] local.INFO: Teltonika packet parsed successfully {"connection_id":143857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:50:19] local.INFO: Passing IMEI to GPS processor {"connection_id":143857,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:50:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":143857,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:50:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:50:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 09:50:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 09:50:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992246016001,"66":14428,"16":25875932417884160,"94":11008,"24":41,"45":906912405095143424},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-07-27 09:50:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 09:50:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 09:50:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992246016001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:50:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25875932417884160,"km_value":25875932417884.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:50:19] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-27 09:50:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":906912405095143424,"description":"Unknown IO ID 45"} 
[2026-07-27 09:50:19] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456992246016001,"power":14428,"odometer":null,"unknown_94":11008,"ignition":41,"unknown_45":906912405095143424}} 
[2026-07-27 09:50:19] local.INFO: DEBUG: GPS processor result {"connection_id":143857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552460,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:50:19] local.INFO: GPS data processed {"connection_id":143857,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:50:19] local.INFO: Acknowledgment sent {"connection_id":143857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:50:28] local.INFO: TCP Data received {"connection_id":145173,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145173,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:50:28] local.INFO: Processing buffer {"connection_id":145173,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:50:28] local.INFO: IMEI packet received {"connection_id":145173,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 09:50:28] local.INFO: IMEI acknowledgment sent {"connection_id":145173,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:50:30] local.INFO: TCP Data received {"connection_id":145173,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145173,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:50:30] local.INFO: Processing buffer {"connection_id":145173,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:50:30] local.INFO: IMEI packet received {"connection_id":145173,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 09:50:30] local.INFO: IMEI acknowledgment sent {"connection_id":145173,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:50:32] local.INFO: TCP Data received {"connection_id":142876,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:50:32] local.INFO: Processing buffer {"connection_id":142876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:50:32] local.INFO: IMEI packet received {"connection_id":142876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 09:50:32] local.INFO: IMEI acknowledgment sent {"connection_id":142876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:50:34] local.INFO: TCP Data received {"connection_id":145173,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145173,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:50:34] local.INFO: Processing buffer {"connection_id":145173,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:50:34] local.INFO: IMEI packet received {"connection_id":145173,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 09:50:34] local.INFO: IMEI acknowledgment sent {"connection_id":145173,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:50:35] local.INFO: TCP Data received {"connection_id":145173,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1cbfc40012d183dc0072192980052013423..."} 
[2026-07-27 09:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1cbfc40012d183dc0072192980052013423..."} 
[2026-07-27 09:50:35] local.INFO: Processing buffer {"connection_id":145173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1cbfc40012d183dc0072192980052013423..."} 
[2026-07-27 09:50:35] local.INFO: Packet analysis {"connection_id":145173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1cb"} 
[2026-07-27 09:50:35] local.INFO: Extracted packet for processing {"connection_id":145173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1cb"} 
[2026-07-27 09:50:35] local.INFO: GPS Element Parsed {"raw_longitude":756563392,"raw_latitude":119640728,"longitude_deg":75.6563392,"latitude_deg":11.9640728,"altitude":82,"angle":308,"satellites":35,"speed":5,"hex_longitude":"2d183dc0","hex_latitude":"07219298","is_valid_coordinates":true} 
[2026-07-27 09:50:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:50:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992232448001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:50:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8779209505767424,"note":"Value kept but may cause issues"} 
[2026-07-27 09:50:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1747115211071000576,"note":"Value kept but may cause issues"} 
[2026-07-27 09:50:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:50:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785125928000,"timestamp_ms":1785125928000,"timestamp_seconds":1785125928,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1cbfc40"} 
[2026-07-27 09:50:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:50:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09:50:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-07-27 09:50:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:50:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:50:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:50:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:50:35] local.INFO: Teltonika packet parsed successfully {"connection_id":145173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:50:35] local.INFO: Passing IMEI to GPS processor {"connection_id":145173,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:50:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":145173,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:50:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:50:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 09:50:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 09:50:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992232448001,"66":14341,"120":206,"28":31744,"24":5,"16":8779209505767424,"45":1747115211071000576},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 09:50:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 09:50:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 09:50:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992232448001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:50:35] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 09:50:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 09:50:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8779209505767424,"km_value":8779209505767.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:50:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1747115211071000576,"description":"Unknown IO ID 45"} 
[2026-07-27 09:50:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992232448001,"power":14341,"unknown_120":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1747115211071000576}} 
[2026-07-27 09:50:35] local.INFO: DEBUG: GPS processor result {"connection_id":145173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552461,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:50:35] local.INFO: GPS data processed {"connection_id":145173,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:50:35] local.INFO: Acknowledgment sent {"connection_id":145173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:50:37] local.INFO: TCP Data received {"connection_id":142876,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:50:37] local.INFO: Processing buffer {"connection_id":142876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:50:37] local.INFO: IMEI packet received {"connection_id":142876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 09:50:37] local.INFO: IMEI acknowledgment sent {"connection_id":142876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:50:38] local.INFO: TCP Data received {"connection_id":142876,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1cba268012d7faa8005afd700001400272d..."} 
[2026-07-27 09:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1cba268012d7faa8005afd700001400272d..."} 
[2026-07-27 09:50:38] local.INFO: Processing buffer {"connection_id":142876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1cba268012d7faa8005afd700001400272d..."} 
[2026-07-27 09:50:38] local.INFO: Packet analysis {"connection_id":142876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1cb"} 
[2026-07-27 09:50:38] local.INFO: Extracted packet for processing {"connection_id":142876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1cb"} 
[2026-07-27 09:50:38] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95409920,"longitude_deg":76.334144,"latitude_deg":9.540992,"altitude":20,"angle":39,"satellites":45,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd700","is_valid_coordinates":true} 
[2026-07-27 09:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:50:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992153600001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:50:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826710646390784,"note":"Value kept but may cause issues"} 
[2026-07-27 09:50:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096871936,"note":"Value kept but may cause issues"} 
[2026-07-27 09:50:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:50:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785125905000,"timestamp_ms":1785125905000,"timestamp_seconds":1785125905,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1cba268"} 
[2026-07-27 09:50:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:50:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-27 09:50:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:50:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:50:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:50:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:50:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:50:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:50:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:50:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:50:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:50:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:50:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992153600001,"66":26006,"250":206,"85":12544,"24":0,"16":358826710646390784,"45":9198391157096871936},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 09:50:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:50:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:50:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992153600001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:50:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 09:50:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:50:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826710646390784,"km_value":358826710646390.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:50:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096871936,"description":"Unknown IO ID 45"} 
[2026-07-27 09:50:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992153600001,"power":26006,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096871936}} 
[2026-07-27 09:50:38] local.INFO: DEBUG: GPS processor result {"connection_id":142876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:50:38] local.INFO: GPS data processed {"connection_id":142876,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:50:38] local.INFO: Acknowledgment sent {"connection_id":142876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:50:40] local.INFO: TCP Data received {"connection_id":142877,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142877,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:50:40] local.INFO: Processing buffer {"connection_id":142877,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:50:40] local.INFO: IMEI packet received {"connection_id":142877,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 09:50:40] local.INFO: IMEI acknowledgment sent {"connection_id":142877,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:50:45] local.INFO: TCP Data received {"connection_id":142877,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142877,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:50:45] local.INFO: Processing buffer {"connection_id":142877,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:50:45] local.INFO: IMEI packet received {"connection_id":142877,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 09:50:45] local.INFO: IMEI acknowledgment sent {"connection_id":142877,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:50:46] local.INFO: TCP Data received {"connection_id":142877,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1ccc378012d0c5b400703ea78001700e521..."} 
[2026-07-27 09:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1ccc378012d0c5b400703ea78001700e521..."} 
[2026-07-27 09:50:46] local.INFO: Processing buffer {"connection_id":142877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1ccc378012d0c5b400703ea78001700e521..."} 
[2026-07-27 09:50:46] local.INFO: Packet analysis {"connection_id":142877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1cc"} 
[2026-07-27 09:50:46] local.INFO: Extracted packet for processing {"connection_id":142877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1cc"} 
[2026-07-27 09:50:46] local.INFO: GPS Element Parsed {"raw_longitude":755784512,"raw_latitude":117697144,"longitude_deg":75.5784512,"latitude_deg":11.7697144,"altitude":23,"angle":229,"satellites":33,"speed":36,"hex_longitude":"2d0c5b40","hex_latitude":"0703ea78","is_valid_coordinates":true} 
[2026-07-27 09:50:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:50:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992248320001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:50:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25876383389450240,"note":"Value kept but may cause issues"} 
[2026-07-27 09:50:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":898679262024865792,"note":"Value kept but may cause issues"} 
[2026-07-27 09:50:46] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-27 09:50:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785125979000,"timestamp_ms":1785125979000,"timestamp_seconds":1785125979,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1ccc378"} 
[2026-07-27 09:50:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:50:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-27 09:50:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:50:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:50:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:50:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:50:46] local.INFO: Teltonika packet parsed successfully {"connection_id":142877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:50:46] local.INFO: Passing IMEI to GPS processor {"connection_id":142877,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:50:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":142877,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:50:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:50:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 09:50:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 09:50:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992248320001,"66":14396,"16":25876383389450240,"94":11008,"24":36,"45":898679262024865792},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-07-27 09:50:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 09:50:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 09:50:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992248320001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:50:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25876383389450240,"km_value":25876383389450.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:50:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-27 09:50:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":898679262024865792,"description":"Unknown IO ID 45"} 
[2026-07-27 09:50:46] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456992248320001,"power":14396,"odometer":null,"unknown_94":11008,"ignition":36,"unknown_45":898679262024865792}} 
[2026-07-27 09:50:46] local.INFO: DEBUG: GPS processor result {"connection_id":142877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552463,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:50:46] local.INFO: GPS data processed {"connection_id":142877,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:50:46] local.INFO: Acknowledgment sent {"connection_id":142877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:51:07] local.INFO: TCP Data received {"connection_id":145173,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1cd5018012d177ac00720ee70003b00de27..."} 
[2026-07-27 09:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1cd5018012d177ac00720ee70003b00de27..."} 
[2026-07-27 09:51:07] local.INFO: Processing buffer {"connection_id":145173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1cd5018012d177ac00720ee70003b00de27..."} 
[2026-07-27 09:51:07] local.INFO: Packet analysis {"connection_id":145173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1cd"} 
[2026-07-27 09:51:07] local.INFO: Extracted packet for processing {"connection_id":145173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1cd"} 
[2026-07-27 09:51:07] local.INFO: GPS Element Parsed {"raw_longitude":756513472,"raw_latitude":119598704,"longitude_deg":75.6513472,"latitude_deg":11.9598704,"altitude":59,"angle":222,"satellites":39,"speed":45,"hex_longitude":"2d177ac0","hex_latitude":"0720ee70","is_valid_coordinates":true} 
[2026-07-27 09:51:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:51:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992257280001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:51:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8782731378950144,"note":"Value kept but may cause issues"} 
[2026-07-27 09:51:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1699827414974498816,"note":"Value kept but may cause issues"} 
[2026-07-27 09:51:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:51:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785126015000,"timestamp_ms":1785126015000,"timestamp_seconds":1785126015,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1cd5018"} 
[2026-07-27 09:51:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:51:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09:51:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-07-27 09:51:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:51:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:51:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:51:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:51:07] local.INFO: Teltonika packet parsed successfully {"connection_id":145173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:51:07] local.INFO: Passing IMEI to GPS processor {"connection_id":145173,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:51:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":145173,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:51:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:51:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 09:51:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 09:51:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992257280001,"66":14298,"122":206,"28":31744,"24":45,"16":8782731378950144,"45":1699827414974498816},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-07-27 09:51:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 09:51:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 09:51:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992257280001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:51:07] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-27 09:51:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 09:51:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8782731378950144,"km_value":8782731378950.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:51:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1699827414974498816,"description":"Unknown IO ID 45"} 
[2026-07-27 09:51:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992257280001,"power":14298,"unknown_122":206,"unknown_28":31744,"ignition":45,"odometer":null,"unknown_45":1699827414974498816}} 
[2026-07-27 09:51:07] local.INFO: DEBUG: GPS processor result {"connection_id":145173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552464,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:51:07] local.INFO: GPS data processed {"connection_id":145173,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:51:07] local.INFO: Acknowledgment sent {"connection_id":145173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:51:09] local.INFO: TCP Data received {"connection_id":142876,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1cba268012d7faa8005afd700001400272d..."} 
[2026-07-27 09:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1cba268012d7faa8005afd700001400272d..."} 
[2026-07-27 09:51:09] local.INFO: Processing buffer {"connection_id":142876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1cba268012d7faa8005afd700001400272d..."} 
[2026-07-27 09:51:09] local.INFO: Packet analysis {"connection_id":142876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1cb"} 
[2026-07-27 09:51:09] local.INFO: Extracted packet for processing {"connection_id":142876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1cb"} 
[2026-07-27 09:51:09] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95409920,"longitude_deg":76.334144,"latitude_deg":9.540992,"altitude":20,"angle":39,"satellites":45,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd700","is_valid_coordinates":true} 
[2026-07-27 09:51:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:51:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992153600001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:51:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826710646390784,"note":"Value kept but may cause issues"} 
[2026-07-27 09:51:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096871936,"note":"Value kept but may cause issues"} 
[2026-07-27 09:51:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:51:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785125905000,"timestamp_ms":1785125905000,"timestamp_seconds":1785125905,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1cba268"} 
[2026-07-27 09:51:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:51:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:51:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-27 09:51:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:51:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:51:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:51:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:51:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:51:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:51:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:51:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:51:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:51:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:51:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992153600001,"66":26006,"250":206,"85":12544,"24":0,"16":358826710646390784,"45":9198391157096871936},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 09:51:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:51:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:51:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992153600001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:51:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 09:51:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:51:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826710646390784,"km_value":358826710646390.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:51:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096871936,"description":"Unknown IO ID 45"} 
[2026-07-27 09:51:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992153600001,"power":26006,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096871936}} 
[2026-07-27 09:51:09] local.INFO: DEBUG: GPS processor result {"connection_id":142876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:51:09] local.INFO: GPS data processed {"connection_id":142876,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:51:09] local.INFO: Acknowledgment sent {"connection_id":142876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:51:17] local.INFO: TCP Data received {"connection_id":142877,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1ccd318012d0c54400703e448001600d922..."} 
[2026-07-27 09:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1ccd318012d0c54400703e448001600d922..."} 
[2026-07-27 09:51:17] local.INFO: Processing buffer {"connection_id":142877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1ccd318012d0c54400703e448001600d922..."} 
[2026-07-27 09:51:17] local.INFO: Packet analysis {"connection_id":142877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1cc"} 
[2026-07-27 09:51:17] local.INFO: Extracted packet for processing {"connection_id":142877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1cc"} 
[2026-07-27 09:51:17] local.INFO: GPS Element Parsed {"raw_longitude":755782720,"raw_latitude":117695560,"longitude_deg":75.578272,"latitude_deg":11.769556,"altitude":22,"angle":217,"satellites":34,"speed":15,"hex_longitude":"2d0c5440","hex_latitude":"0703e448","is_valid_coordinates":true} 
[2026-07-27 09: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-07-27 09:51:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992250624001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:51:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25876499353567232,"note":"Value kept but may cause issues"} 
[2026-07-27 09:51:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":890375750210451456,"note":"Value kept but may cause issues"} 
[2026-07-27 09:51:17] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-27 09:51:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785125983000,"timestamp_ms":1785125983000,"timestamp_seconds":1785125983,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1ccd318"} 
[2026-07-27 09:51:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:51:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-27 09:51:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09: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-07-27 09:51:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:51:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:51:17] local.INFO: Teltonika packet parsed successfully {"connection_id":142877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:51:17] local.INFO: Passing IMEI to GPS processor {"connection_id":142877,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:51:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":142877,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:51:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:51:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 09:51:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 09:51:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992250624001,"66":14515,"16":25876499353567232,"94":11008,"24":15,"45":890375750210451456},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-07-27 09:51:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 09:51:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 09:51:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992250624001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:51:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25876499353567232,"km_value":25876499353567.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:51:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-27 09:51:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":890375750210451456,"description":"Unknown IO ID 45"} 
[2026-07-27 09:51:17] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456992250624001,"power":14515,"odometer":null,"unknown_94":11008,"ignition":15,"unknown_45":890375750210451456}} 
[2026-07-27 09:51:17] local.INFO: DEBUG: GPS processor result {"connection_id":142877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552466,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:51:17] local.INFO: GPS data processed {"connection_id":142877,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:51:17] local.INFO: Acknowledgment sent {"connection_id":142877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:51:31] local.INFO: TCP Data received {"connection_id":142742,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142742,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:51:31] local.INFO: Processing buffer {"connection_id":142742,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:51:31] local.INFO: IMEI packet received {"connection_id":142742,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 09:51:31] local.INFO: IMEI acknowledgment sent {"connection_id":142742,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:51:32] local.INFO: TCP Data received {"connection_id":142742,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142742,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:51:32] local.INFO: Processing buffer {"connection_id":142742,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:51:32] local.INFO: IMEI packet received {"connection_id":142742,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 09:51:32] local.INFO: IMEI acknowledgment sent {"connection_id":142742,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:51:33] local.INFO: TCP Data received {"connection_id":142743,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:51:33] local.INFO: Processing buffer {"connection_id":142743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:51:33] local.INFO: IMEI packet received {"connection_id":142743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 09:51:33] local.INFO: IMEI acknowledgment sent {"connection_id":142743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:51:35] local.INFO: TCP Data received {"connection_id":142742,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142742,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:51:35] local.INFO: Processing buffer {"connection_id":142742,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:51:35] local.INFO: IMEI packet received {"connection_id":142742,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 09:51:35] local.INFO: IMEI acknowledgment sent {"connection_id":142742,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:51:36] local.INFO: TCP Data received {"connection_id":142742,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1cd5018012d177ac00720ee70003b00de27..."} 
[2026-07-27 09:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142742,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1cd5018012d177ac00720ee70003b00de27..."} 
[2026-07-27 09:51:36] local.INFO: Processing buffer {"connection_id":142742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1cd5018012d177ac00720ee70003b00de27..."} 
[2026-07-27 09:51:36] local.INFO: Packet analysis {"connection_id":142742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1cd"} 
[2026-07-27 09:51:36] local.INFO: Extracted packet for processing {"connection_id":142742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1cd"} 
[2026-07-27 09:51:36] local.INFO: GPS Element Parsed {"raw_longitude":756513472,"raw_latitude":119598704,"longitude_deg":75.6513472,"latitude_deg":11.9598704,"altitude":59,"angle":222,"satellites":39,"speed":45,"hex_longitude":"2d177ac0","hex_latitude":"0720ee70","is_valid_coordinates":true} 
[2026-07-27 09:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:51:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992259840001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:51:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8782731378950144,"note":"Value kept but may cause issues"} 
[2026-07-27 09:51:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1691875746880843776,"note":"Value kept but may cause issues"} 
[2026-07-27 09:51:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:51:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785126015000,"timestamp_ms":1785126015000,"timestamp_seconds":1785126015,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1cd5018"} 
[2026-07-27 09:51:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:51:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-07-27 09:51:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:51:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:51:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:51:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:51:36] local.INFO: Teltonika packet parsed successfully {"connection_id":142742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:51:36] local.INFO: Passing IMEI to GPS processor {"connection_id":142742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:51:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":142742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:51:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:51:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 09:51:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 09:51:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992259840001,"66":14298,"122":206,"28":31744,"24":45,"16":8782731378950144,"45":1691875746880843776},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-07-27 09:51:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 09:51:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 09:51:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992259840001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:51:36] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-27 09:51:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 09:51:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8782731378950144,"km_value":8782731378950.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:51:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1691875746880843776,"description":"Unknown IO ID 45"} 
[2026-07-27 09:51:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992259840001,"power":14298,"unknown_122":206,"unknown_28":31744,"ignition":45,"odometer":null,"unknown_45":1691875746880843776}} 
[2026-07-27 09:51:36] local.INFO: DEBUG: GPS processor result {"connection_id":142742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552467,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:51:36] local.INFO: GPS data processed {"connection_id":142742,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:51:36] local.INFO: Acknowledgment sent {"connection_id":142742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:51:37] local.INFO: TCP Data received {"connection_id":142743,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:51:37] local.INFO: Processing buffer {"connection_id":142743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:51:37] local.INFO: IMEI packet received {"connection_id":142743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 09:51:37] local.INFO: IMEI acknowledgment sent {"connection_id":142743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:51:38] local.INFO: TCP Data received {"connection_id":142743,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1cba268012d7faa8005afd700001400272d..."} 
[2026-07-27 09:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142743,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1cba268012d7faa8005afd700001400272d..."} 
[2026-07-27 09:51:38] local.INFO: Processing buffer {"connection_id":142743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1cba268012d7faa8005afd700001400272d..."} 
[2026-07-27 09:51:38] local.INFO: Packet analysis {"connection_id":142743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1cb"} 
[2026-07-27 09:51:38] local.INFO: Extracted packet for processing {"connection_id":142743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1cb"} 
[2026-07-27 09:51:38] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95409920,"longitude_deg":76.334144,"latitude_deg":9.540992,"altitude":20,"angle":39,"satellites":45,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd700","is_valid_coordinates":true} 
[2026-07-27 09:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:51:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992153600001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:51:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826710646390784,"note":"Value kept but may cause issues"} 
[2026-07-27 09:51:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096871936,"note":"Value kept but may cause issues"} 
[2026-07-27 09:51:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:51:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785125905000,"timestamp_ms":1785125905000,"timestamp_seconds":1785125905,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1cba268"} 
[2026-07-27 09:51:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:51:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-27 09:51:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:51:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:51:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:51:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:51:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:51:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:51:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:51:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:51:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:51:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:51:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992153600001,"66":26006,"250":206,"85":12544,"24":0,"16":358826710646390784,"45":9198391157096871936},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 09:51:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:51:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:51:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992153600001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:51:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 09:51:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:51:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826710646390784,"km_value":358826710646390.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:51:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096871936,"description":"Unknown IO ID 45"} 
[2026-07-27 09:51:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992153600001,"power":26006,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096871936}} 
[2026-07-27 09:51:38] local.INFO: DEBUG: GPS processor result {"connection_id":142743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:51:38] local.INFO: GPS data processed {"connection_id":142743,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:51:38] local.INFO: Acknowledgment sent {"connection_id":142743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:51:39] local.INFO: TCP Data received {"connection_id":142742,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1cd6f58012d1761400720d358003700e126..."} 
[2026-07-27 09:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142742,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1cd6f58012d1761400720d358003700e126..."} 
[2026-07-27 09:51:39] local.INFO: Processing buffer {"connection_id":142742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1cd6f58012d1761400720d358003700e126..."} 
[2026-07-27 09:51:39] local.INFO: Packet analysis {"connection_id":142742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1cd"} 
[2026-07-27 09:51:39] local.INFO: Extracted packet for processing {"connection_id":142742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1cd"} 
[2026-07-27 09:51:39] local.INFO: GPS Element Parsed {"raw_longitude":756506944,"raw_latitude":119591768,"longitude_deg":75.6506944,"latitude_deg":11.9591768,"altitude":55,"angle":225,"satellites":38,"speed":48,"hex_longitude":"2d176140","hex_latitude":"0720d358","is_valid_coordinates":true} 
[2026-07-27 09:51:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:51:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992259840001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:51:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8783186645483520,"note":"Value kept but may cause issues"} 
[2026-07-27 09:51:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1691875746880843776,"note":"Value kept but may cause issues"} 
[2026-07-27 09:51:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:51:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785126023000,"timestamp_ms":1785126023000,"timestamp_seconds":1785126023,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1cd6f58"} 
[2026-07-27 09:51:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:51:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09:51:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-07-27 09:51:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:51:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:51:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:51:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:51:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:51:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:51:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:51:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:51:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 09:51:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 09:51:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992259840001,"66":14265,"122":206,"28":31744,"24":48,"16":8783186645483520,"45":1691875746880843776},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-07-27 09:51:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 09:51:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 09:51:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992259840001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:51:39] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-27 09:51:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 09:51:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8783186645483520,"km_value":8783186645483.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:51:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1691875746880843776,"description":"Unknown IO ID 45"} 
[2026-07-27 09:51:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992259840001,"power":14265,"unknown_122":206,"unknown_28":31744,"ignition":48,"odometer":null,"unknown_45":1691875746880843776}} 
[2026-07-27 09:51:40] local.INFO: DEBUG: GPS processor result {"connection_id":142742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552469,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:51:40] local.INFO: GPS data processed {"connection_id":142742,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:51:40] local.INFO: Acknowledgment sent {"connection_id":142742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:51:40] local.INFO: TCP Data received {"connection_id":142744,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142744,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:51:40] local.INFO: Processing buffer {"connection_id":142744,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:51:40] local.INFO: IMEI packet received {"connection_id":142744,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 09:51:40] local.INFO: IMEI acknowledgment sent {"connection_id":142744,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:51:50] local.INFO: TCP Data received {"connection_id":142744,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142744,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:51:50] local.INFO: Processing buffer {"connection_id":142744,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:51:50] local.INFO: IMEI packet received {"connection_id":142744,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 09:51:50] local.INFO: IMEI acknowledgment sent {"connection_id":142744,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:51:52] local.INFO: TCP Data received {"connection_id":142744,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1ce55d0012d0c6200070370c0001e00d223..."} 
[2026-07-27 09:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1ce55d0012d0c6200070370c0001e00d223..."} 
[2026-07-27 09:51:52] local.INFO: Processing buffer {"connection_id":142744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1ce55d0012d0c6200070370c0001e00d223..."} 
[2026-07-27 09:51:52] local.INFO: Packet analysis {"connection_id":142744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1ce"} 
[2026-07-27 09:51:52] local.INFO: Extracted packet for processing {"connection_id":142744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1ce"} 
[2026-07-27 09:51:52] local.INFO: GPS Element Parsed {"raw_longitude":755786240,"raw_latitude":117665984,"longitude_deg":75.578624,"latitude_deg":11.7665984,"altitude":30,"angle":210,"satellites":35,"speed":10,"hex_longitude":"2d0c6200","hex_latitude":"070370c0","is_valid_coordinates":true} 
[2026-07-27 09:51:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:51:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992276736001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:51:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25878251700224000,"note":"Value kept but may cause issues"} 
[2026-07-27 09:51:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":892416443783694336,"note":"Value kept but may cause issues"} 
[2026-07-27 09:51:52] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-27 09:51:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785126082000,"timestamp_ms":1785126082000,"timestamp_seconds":1785126082,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1ce55d0"} 
[2026-07-27 09:51:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:51:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09:51:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-27 09:51:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:51:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:51:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:51:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:51:52] local.INFO: Teltonika packet parsed successfully {"connection_id":142744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:51:52] local.INFO: Passing IMEI to GPS processor {"connection_id":142744,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:51:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":142744,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:51:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:51:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 09:51:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 09:51:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992276736001,"66":14352,"16":25878251700224000,"94":11008,"24":10,"45":892416443783694336},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-07-27 09:51:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 09:51:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 09:51:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992276736001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:51:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25878251700224000,"km_value":25878251700224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:51:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-27 09:51:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":892416443783694336,"description":"Unknown IO ID 45"} 
[2026-07-27 09:51:52] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456992276736001,"power":14352,"odometer":null,"unknown_94":11008,"ignition":10,"unknown_45":892416443783694336}} 
[2026-07-27 09:51:52] local.INFO: DEBUG: GPS processor result {"connection_id":142744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552470,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:51:52] local.INFO: GPS data processed {"connection_id":142744,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:51:52] local.INFO: Acknowledgment sent {"connection_id":142744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:52:10] local.INFO: TCP Data received {"connection_id":145174,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 09:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145174,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 09:52:10] local.INFO: Processing buffer {"connection_id":145174,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 09:52:10] local.INFO: IMEI packet received {"connection_id":145174,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 09:52:10] local.INFO: IMEI acknowledgment sent {"connection_id":145174,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:52:11] local.INFO: TCP Data received {"connection_id":142742,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1cd8e98012d1743800720b8f0003200e725..."} 
[2026-07-27 09:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142742,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1cd8e98012d1743800720b8f0003200e725..."} 
[2026-07-27 09:52:11] local.INFO: Processing buffer {"connection_id":142742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1cd8e98012d1743800720b8f0003200e725..."} 
[2026-07-27 09:52:11] local.INFO: Packet analysis {"connection_id":142742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1cd"} 
[2026-07-27 09:52:11] local.INFO: Extracted packet for processing {"connection_id":142742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1cd"} 
[2026-07-27 09:52:11] local.INFO: GPS Element Parsed {"raw_longitude":756499328,"raw_latitude":119585008,"longitude_deg":75.6499328,"latitude_deg":11.9585008,"altitude":50,"angle":231,"satellites":37,"speed":52,"hex_longitude":"2d174380","hex_latitude":"0720b8f0","is_valid_coordinates":true} 
[2026-07-27 09:52:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:52:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992261888001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:52:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8783676271755264,"note":"Value kept but may cause issues"} 
[2026-07-27 09:52:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1684698134972946432,"note":"Value kept but may cause issues"} 
[2026-07-27 09:52:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:52:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785126031000,"timestamp_ms":1785126031000,"timestamp_seconds":1785126031,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1cd8e98"} 
[2026-07-27 09:52:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:52:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09:52:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-27 09:52:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:52:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:52:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:52:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:52:11] local.INFO: Teltonika packet parsed successfully {"connection_id":142742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:52:11] local.INFO: Passing IMEI to GPS processor {"connection_id":142742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:52:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":142742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:52:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:52:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 09:52:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 09:52:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992261888001,"66":14254,"122":206,"28":31744,"24":52,"16":8783676271755264,"45":1684698134972946432},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-07-27 09:52:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 09:52:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 09:52:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992261888001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:52:11] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-27 09:52:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 09:52:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8783676271755264,"km_value":8783676271755.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:52:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1684698134972946432,"description":"Unknown IO ID 45"} 
[2026-07-27 09:52:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992261888001,"power":14254,"unknown_122":206,"unknown_28":31744,"ignition":52,"odometer":null,"unknown_45":1684698134972946432}} 
[2026-07-27 09:52:11] local.INFO: DEBUG: GPS processor result {"connection_id":142742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552471,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:52:11] local.INFO: GPS data processed {"connection_id":142742,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:52:11] local.INFO: Acknowledgment sent {"connection_id":142742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:52:12] local.INFO: TCP Data received {"connection_id":142743,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1cba268012d7faa8005afd700001400272d..."} 
[2026-07-27 09:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142743,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1cba268012d7faa8005afd700001400272d..."} 
[2026-07-27 09:52:12] local.INFO: Processing buffer {"connection_id":142743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1cba268012d7faa8005afd700001400272d..."} 
[2026-07-27 09:52:12] local.INFO: Packet analysis {"connection_id":142743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1cb"} 
[2026-07-27 09:52:12] local.INFO: Extracted packet for processing {"connection_id":142743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1cb"} 
[2026-07-27 09:52:12] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95409920,"longitude_deg":76.334144,"latitude_deg":9.540992,"altitude":20,"angle":39,"satellites":45,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd700","is_valid_coordinates":true} 
[2026-07-27 09:52:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:52:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992153600001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:52:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826710646390784,"note":"Value kept but may cause issues"} 
[2026-07-27 09:52:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096871936,"note":"Value kept but may cause issues"} 
[2026-07-27 09:52:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:52:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785125905000,"timestamp_ms":1785125905000,"timestamp_seconds":1785125905,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1cba268"} 
[2026-07-27 09:52:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:52:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:52:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-27 09:52:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:52:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:52:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:52:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:52:12] local.INFO: Teltonika packet parsed successfully {"connection_id":142743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:52:12] local.INFO: Passing IMEI to GPS processor {"connection_id":142743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:52:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":142743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:52:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:52:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:52:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:52:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992153600001,"66":26006,"250":206,"85":12544,"24":0,"16":358826710646390784,"45":9198391157096871936},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 09:52:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:52:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:52:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992153600001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:52:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 09:52:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:52:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826710646390784,"km_value":358826710646390.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:52:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096871936,"description":"Unknown IO ID 45"} 
[2026-07-27 09:52:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992153600001,"power":26006,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096871936}} 
[2026-07-27 09:52:12] local.INFO: DEBUG: GPS processor result {"connection_id":142743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:52:12] local.INFO: GPS data processed {"connection_id":142743,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:52:12] local.INFO: Acknowledgment sent {"connection_id":142743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:52:23] local.INFO: TCP Data received {"connection_id":142744,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1ce59b8012d0c614007036fe8001e00e923..."} 
[2026-07-27 09:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1ce59b8012d0c614007036fe8001e00e923..."} 
[2026-07-27 09:52:23] local.INFO: Processing buffer {"connection_id":142744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1ce59b8012d0c614007036fe8001e00e923..."} 
[2026-07-27 09:52:23] local.INFO: Packet analysis {"connection_id":142744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1ce"} 
[2026-07-27 09:52:23] local.INFO: Extracted packet for processing {"connection_id":142744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1ce"} 
[2026-07-27 09:52:23] local.INFO: GPS Element Parsed {"raw_longitude":755786048,"raw_latitude":117665768,"longitude_deg":75.5786048,"latitude_deg":11.7665768,"altitude":30,"angle":233,"satellites":35,"speed":11,"hex_longitude":"2d0c6140","hex_latitude":"07036fe8","is_valid_coordinates":true} 
[2026-07-27 09: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-07-27 09:52:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992276992001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:52:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25878264585125888,"note":"Value kept but may cause issues"} 
[2026-07-27 09:52:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":892275706295271424,"note":"Value kept but may cause issues"} 
[2026-07-27 09:52:23] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-27 09:52:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785126083000,"timestamp_ms":1785126083000,"timestamp_seconds":1785126083,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1ce59b8"} 
[2026-07-27 09:52:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09: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-07-27 09: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":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-07-27 09:52:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733142016,"note":"Value kept but may cause issues"} 
[2026-07-27 09:52:23] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-27 09:52:23] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-27 09:52:23] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2714585160,"note":"Value kept but may cause issues"} 
[2026-07-27 09:52:23] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5332525845896823040,"note":"Value kept but may cause issues"} 
[2026-07-27 09:52:23] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503994477838336,"note":"Value kept but may cause issues"} 
[2026-07-27 09:52:23] local.WARNING: Large IO value detected {"io_id":161,"raw_value":3447906305,"note":"Value kept but may cause issues"} 
[2026-07-27 09:52:23] local.WARNING: Large IO value detected {"io_id":3,"raw_value":3247439901,"note":"Value kept but may cause issues"} 
[2026-07-27 09:52:23] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639316264528656,"note":"Value kept but may cause issues"} 
[2026-07-27 09:52:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2869952718,"corrected_to":0} 
[2026-07-27 09:52:23] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-07-27 09:52:23] local.WARNING: Large IO value detected {"io_id":91,"raw_value":4011917312,"note":"Value kept but may cause issues"} 
[2026-07-27 09:52:23] local.WARNING: Large IO value detected {"io_id":120,"raw_value":84737632428819421,"note":"Value kept but may cause issues"} 
[2026-07-27 09:52:23] local.WARNING: Large IO value detected {"io_id":112,"raw_value":7882042947669248,"note":"Value kept but may cause issues"} 
[2026-07-27 09:52:23] local.WARNING: Large IO value detected {"io_id":12,"raw_value":7908328658871255068,"note":"Value kept but may cause issues"} 
[2026-07-27 09:52:23] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,16,94,24,241,157,240,159,81,45,128,113,31,35,10,66,15,192,148,239,212,1,114,227,161,3,4,205,19,115,107,40,33,56,2,91,7,28,206,120,112,12],"length":628,"final_offset":758,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2869952718,"validated":0}]} 
[2026-07-27 09:52:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2161958868904181760,"timestamp_seconds":2161958868904181.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 09:52:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:52:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:52:23] local.INFO: Teltonika packet parsed successfully {"connection_id":142744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:52:23] local.INFO: Passing IMEI to GPS processor {"connection_id":142744,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:52:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":142744,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:52:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:52:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 09:52:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 09:52:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992276992001,"66":14352,"16":25878264585125888,"94":11008,"24":11,"45":892275706295271424},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-07-27 09:52:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 09:52:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 09:52:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992276992001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:52:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25878264585125888,"km_value":25878264585125.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:52:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-27 09:52:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":892275706295271424,"description":"Unknown IO ID 45"} 
[2026-07-27 09:52:23] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456992276992001,"power":14352,"odometer":null,"unknown_94":11008,"ignition":11,"unknown_45":892275706295271424}} 
[2026-07-27 09:52:23] local.INFO: DEBUG: GPS processor result {"connection_id":142744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552473,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:52:23] local.INFO: GPS data processed {"connection_id":142744,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:52:23] local.INFO: Acknowledgment sent {"connection_id":142744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:52:29] local.INFO: TCP Data received {"connection_id":142878,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142878,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:52:29] local.INFO: Processing buffer {"connection_id":142878,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:52:29] local.INFO: IMEI packet received {"connection_id":142878,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 09:52:29] local.INFO: IMEI acknowledgment sent {"connection_id":142878,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:52:30] local.INFO: TCP Data received {"connection_id":142878,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142878,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:52:30] local.INFO: Processing buffer {"connection_id":142878,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:52:30] local.INFO: IMEI packet received {"connection_id":142878,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 09:52:30] local.INFO: IMEI acknowledgment sent {"connection_id":142878,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:52:31] local.INFO: TCP Data received {"connection_id":142878,"ip":"117.224.5.158","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-27 09:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142878,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-27 09:52:31] local.INFO: Processing buffer {"connection_id":142878,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-27 09:52:31] local.INFO: IMEI packet received {"connection_id":142878,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 09:52:31] local.INFO: IMEI acknowledgment sent {"connection_id":142878,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:52:33] local.INFO: TCP Data received {"connection_id":143860,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:52:33] local.INFO: Processing buffer {"connection_id":143860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:52:33] local.INFO: IMEI packet received {"connection_id":143860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 09:52:33] local.INFO: IMEI acknowledgment sent {"connection_id":143860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:52:37] local.INFO: TCP Data received {"connection_id":143860,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:52:37] local.INFO: Processing buffer {"connection_id":143860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:52:37] local.INFO: IMEI packet received {"connection_id":143860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 09:52:37] local.INFO: IMEI acknowledgment sent {"connection_id":143860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:52:38] local.INFO: TCP Data received {"connection_id":143860,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1cba268012d7faa8005afd700001400272d..."} 
[2026-07-27 09:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1cba268012d7faa8005afd700001400272d..."} 
[2026-07-27 09:52:38] local.INFO: Processing buffer {"connection_id":143860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1cba268012d7faa8005afd700001400272d..."} 
[2026-07-27 09:52:38] local.INFO: Packet analysis {"connection_id":143860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1cb"} 
[2026-07-27 09:52:38] local.INFO: Extracted packet for processing {"connection_id":143860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1cb"} 
[2026-07-27 09:52:38] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95409920,"longitude_deg":76.334144,"latitude_deg":9.540992,"altitude":20,"angle":39,"satellites":45,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd700","is_valid_coordinates":true} 
[2026-07-27 09:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:52:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992153600001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:52:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826710646390784,"note":"Value kept but may cause issues"} 
[2026-07-27 09:52:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096871936,"note":"Value kept but may cause issues"} 
[2026-07-27 09:52:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:52:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785125905000,"timestamp_ms":1785125905000,"timestamp_seconds":1785125905,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1cba268"} 
[2026-07-27 09:52:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:52:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-27 09:52:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:52:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:52:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:52:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:52:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:52:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:52:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:52:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:52:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:52:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:52:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992153600001,"66":26006,"250":206,"85":12544,"24":0,"16":358826710646390784,"45":9198391157096871936},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 09:52:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:52:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:52:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992153600001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:52:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 09:52:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:52:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826710646390784,"km_value":358826710646390.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:52:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096871936,"description":"Unknown IO ID 45"} 
[2026-07-27 09:52:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992153600001,"power":26006,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096871936}} 
[2026-07-27 09:52:38] local.INFO: DEBUG: GPS processor result {"connection_id":143860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:52:38] local.INFO: GPS data processed {"connection_id":143860,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:52:38] local.INFO: Acknowledgment sent {"connection_id":143860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:52:40] local.INFO: TCP Data received {"connection_id":142879,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142879,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:52:40] local.INFO: Processing buffer {"connection_id":142879,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:52:40] local.INFO: IMEI packet received {"connection_id":142879,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 09:52:40] local.INFO: IMEI acknowledgment sent {"connection_id":142879,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:52:45] local.INFO: TCP Data received {"connection_id":142879,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142879,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:52:45] local.INFO: Processing buffer {"connection_id":142879,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:52:45] local.INFO: IMEI packet received {"connection_id":142879,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 09:52:45] local.INFO: IMEI acknowledgment sent {"connection_id":142879,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:52:46] local.INFO: TCP Data received {"connection_id":142879,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1ce5da0012d0c600007036f48001d00f523..."} 
[2026-07-27 09:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1ce5da0012d0c600007036f48001d00f523..."} 
[2026-07-27 09:52:46] local.INFO: Processing buffer {"connection_id":142879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1ce5da0012d0c600007036f48001d00f523..."} 
[2026-07-27 09:52:46] local.INFO: Packet analysis {"connection_id":142879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1ce"} 
[2026-07-27 09:52:46] local.INFO: Extracted packet for processing {"connection_id":142879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1ce"} 
[2026-07-27 09:52:46] local.INFO: GPS Element Parsed {"raw_longitude":755785728,"raw_latitude":117665608,"longitude_deg":75.5785728,"latitude_deg":11.7665608,"altitude":29,"angle":245,"satellites":35,"speed":13,"hex_longitude":"2d0c6000","hex_latitude":"07036f48","is_valid_coordinates":true} 
[2026-07-27 09:52:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:52:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992277248001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:52:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25878281764995072,"note":"Value kept but may cause issues"} 
[2026-07-27 09:52:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":892064600062683136,"note":"Value kept but may cause issues"} 
[2026-07-27 09:52:46] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-27 09:52:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785126084000,"timestamp_ms":1785126084000,"timestamp_seconds":1785126084,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1ce5da0"} 
[2026-07-27 09:52:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:52:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09:52:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-07-27 09:52:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733142016,"note":"Value kept but may cause issues"} 
[2026-07-27 09:52:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-27 09:52:46] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-27 09:52:46] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2714596160,"note":"Value kept but may cause issues"} 
[2026-07-27 09:52:46] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5332525845896823040,"note":"Value kept but may cause issues"} 
[2026-07-27 09:52:46] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503994481311744,"note":"Value kept but may cause issues"} 
[2026-07-27 09:52:46] local.WARNING: Large IO value detected {"io_id":161,"raw_value":3453282305,"note":"Value kept but may cause issues"} 
[2026-07-27 09:52:46] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639084336294672,"note":"Value kept but may cause issues"} 
[2026-07-27 09:52:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2869952718,"corrected_to":0} 
[2026-07-27 09:52:46] local.WARNING: Large IO value detected {"io_id":130,"raw_value":3758173452,"note":"Value kept but may cause issues"} 
[2026-07-27 09:52:46] local.WARNING: Large IO value detected {"io_id":107,"raw_value":3221685185,"note":"Value kept but may cause issues"} 
[2026-07-27 09:52:46] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-07-27 09:52:46] local.WARNING: Large IO value detected {"io_id":91,"raw_value":4013162496,"note":"Value kept but may cause issues"} 
[2026-07-27 09:52:46] local.WARNING: Large IO value detected {"io_id":72,"raw_value":84737631355077594,"note":"Value kept but may cause issues"} 
[2026-07-27 09:52:46] local.WARNING: Large IO value detected {"io_id":40,"raw_value":7882098782244864,"note":"Value kept but may cause issues"} 
[2026-07-27 09:52:46] local.WARNING: Large IO value detected {"io_id":12,"raw_value":7890314260334510108,"note":"Value kept but may cause issues"} 
[2026-07-27 09:52:46] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,16,94,24,241,157,240,159,85,45,112,30,35,10,66,81,128,113,31,15,192,1,103,227,239,161,3,4,205,130,107,144,33,56,2,91,7,28,13,206,72,40,12],"length":628,"final_offset":758,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2869952718,"validated":0}]} 
[2026-07-27 09:52:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2161984157671686144,"timestamp_seconds":2161984157671686.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 09:52:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:52:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:52:46] local.INFO: Teltonika packet parsed successfully {"connection_id":142879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:52:46] local.INFO: Passing IMEI to GPS processor {"connection_id":142879,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:52:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":142879,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:52:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:52:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 09:52:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 09:52:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992277248001,"66":14428,"16":25878281764995072,"94":11008,"24":13,"45":892064600062683136},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-07-27 09:52:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 09:52:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 09:52:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992277248001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:52:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25878281764995072,"km_value":25878281764995.07,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:52:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-27 09:52:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":892064600062683136,"description":"Unknown IO ID 45"} 
[2026-07-27 09:52:46] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456992277248001,"power":14428,"odometer":null,"unknown_94":11008,"ignition":13,"unknown_45":892064600062683136}} 
[2026-07-27 09:52:46] local.INFO: DEBUG: GPS processor result {"connection_id":142879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552475,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:52:46] local.INFO: GPS data processed {"connection_id":142879,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:52:46] local.INFO: Acknowledgment sent {"connection_id":142879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:52:48] local.INFO: TCP Data received {"connection_id":145175,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 09:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145175,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 09:52:48] local.INFO: Processing buffer {"connection_id":145175,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 09:52:48] local.INFO: IMEI packet received {"connection_id":145175,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 09:52:48] local.INFO: IMEI acknowledgment sent {"connection_id":145175,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:53:09] local.INFO: TCP Data received {"connection_id":143860,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1cba268012d7faa8005afd700001400272d..."} 
[2026-07-27 09:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1cba268012d7faa8005afd700001400272d..."} 
[2026-07-27 09:53:09] local.INFO: Processing buffer {"connection_id":143860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1cba268012d7faa8005afd700001400272d..."} 
[2026-07-27 09:53:09] local.INFO: Packet analysis {"connection_id":143860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1cb"} 
[2026-07-27 09:53:09] local.INFO: Extracted packet for processing {"connection_id":143860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1cb"} 
[2026-07-27 09:53:09] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95409920,"longitude_deg":76.334144,"latitude_deg":9.540992,"altitude":20,"angle":39,"satellites":45,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd700","is_valid_coordinates":true} 
[2026-07-27 09:53:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:53:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992153600001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:53:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826710646390784,"note":"Value kept but may cause issues"} 
[2026-07-27 09:53:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096871936,"note":"Value kept but may cause issues"} 
[2026-07-27 09:53:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:53:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785125905000,"timestamp_ms":1785125905000,"timestamp_seconds":1785125905,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1cba268"} 
[2026-07-27 09:53:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:53:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:53:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-27 09:53:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:53:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:53:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:53:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:53:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:53:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:53:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:53:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:53:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:53:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:53:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992153600001,"66":26006,"250":206,"85":12544,"24":0,"16":358826710646390784,"45":9198391157096871936},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 09:53:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:53:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:53:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992153600001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:53:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 09:53:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:53:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826710646390784,"km_value":358826710646390.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:53:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096871936,"description":"Unknown IO ID 45"} 
[2026-07-27 09:53:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992153600001,"power":26006,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096871936}} 
[2026-07-27 09:53:09] local.INFO: DEBUG: GPS processor result {"connection_id":143860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:53:09] local.INFO: GPS data processed {"connection_id":143860,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:53:09] local.INFO: Acknowledgment sent {"connection_id":143860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:53:17] local.INFO: TCP Data received {"connection_id":142879,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1cffbb0012d0c21c007035408001900f223..."} 
[2026-07-27 09:53:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1cffbb0012d0c21c007035408001900f223..."} 
[2026-07-27 09:53:17] local.INFO: Processing buffer {"connection_id":142879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1cffbb0012d0c21c007035408001900f223..."} 
[2026-07-27 09:53:17] local.INFO: Packet analysis {"connection_id":142879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1cf"} 
[2026-07-27 09:53:17] local.INFO: Extracted packet for processing {"connection_id":142879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1cf"} 
[2026-07-27 09:53:17] local.INFO: GPS Element Parsed {"raw_longitude":755769792,"raw_latitude":117658632,"longitude_deg":75.5769792,"latitude_deg":11.7658632,"altitude":25,"angle":242,"satellites":35,"speed":17,"hex_longitude":"2d0c21c0","hex_latitude":"07035408","is_valid_coordinates":true} 
[2026-07-27 09: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-07-27 09:53:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992303104001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:53:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25879166528258048,"note":"Value kept but may cause issues"} 
[2026-07-27 09:53:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":877287163783833600,"note":"Value kept but may cause issues"} 
[2026-07-27 09:53:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:53:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785126190000,"timestamp_ms":1785126190000,"timestamp_seconds":1785126190,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1cffbb0"} 
[2026-07-27 09:53:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:53:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-27 09:53:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09: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-07-27 09:53:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:53:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:53:17] local.INFO: Teltonika packet parsed successfully {"connection_id":142879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:53:17] local.INFO: Passing IMEI to GPS processor {"connection_id":142879,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:53:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":142879,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:53:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:53:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 09:53:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 09:53:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992303104001,"66":14374,"37":206,"94":11008,"24":17,"16":25879166528258048,"45":877287163783833600},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-27 09:53:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 09:53:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 09:53:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992303104001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:53:17] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-27 09:53:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-27 09:53:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25879166528258048,"km_value":25879166528258.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:53:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":877287163783833600,"description":"Unknown IO ID 45"} 
[2026-07-27 09:53:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992303104001,"power":14374,"unknown_37":206,"unknown_94":11008,"ignition":17,"odometer":null,"unknown_45":877287163783833600}} 
[2026-07-27 09:53:17] local.INFO: DEBUG: GPS processor result {"connection_id":142879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552477,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:53:17] local.INFO: GPS data processed {"connection_id":142879,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:53:17] local.INFO: Acknowledgment sent {"connection_id":142879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:53:32] local.INFO: TCP Data received {"connection_id":143862,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:53:32] local.INFO: Processing buffer {"connection_id":143862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:53:32] local.INFO: IMEI packet received {"connection_id":143862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 09:53:32] local.INFO: IMEI acknowledgment sent {"connection_id":143862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:53:37] local.INFO: TCP Data received {"connection_id":143862,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:53:37] local.INFO: Processing buffer {"connection_id":143862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:53:37] local.INFO: IMEI packet received {"connection_id":143862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 09:53:37] local.INFO: IMEI acknowledgment sent {"connection_id":143862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:53:38] local.INFO: TCP Data received {"connection_id":143862,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1cba268012d7faa8005afd700001400272d..."} 
[2026-07-27 09:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1cba268012d7faa8005afd700001400272d..."} 
[2026-07-27 09:53:38] local.INFO: Processing buffer {"connection_id":143862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1cba268012d7faa8005afd700001400272d..."} 
[2026-07-27 09:53:38] local.INFO: Packet analysis {"connection_id":143862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1cb"} 
[2026-07-27 09:53:38] local.INFO: Extracted packet for processing {"connection_id":143862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1cb"} 
[2026-07-27 09:53:38] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95409920,"longitude_deg":76.334144,"latitude_deg":9.540992,"altitude":20,"angle":39,"satellites":45,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd700","is_valid_coordinates":true} 
[2026-07-27 09:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:53:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992153600001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:53:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826710646390784,"note":"Value kept but may cause issues"} 
[2026-07-27 09:53:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096871936,"note":"Value kept but may cause issues"} 
[2026-07-27 09:53:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:53:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785125905000,"timestamp_ms":1785125905000,"timestamp_seconds":1785125905,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1cba268"} 
[2026-07-27 09:53:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:53:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-27 09:53:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:53:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:53:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:53:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:53:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:53:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:53:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:53:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:53:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:53:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:53:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992153600001,"66":26006,"250":206,"85":12544,"24":0,"16":358826710646390784,"45":9198391157096871936},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 09:53:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:53:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:53:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992153600001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:53:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 09:53:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:53:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826710646390784,"km_value":358826710646390.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:53:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096871936,"description":"Unknown IO ID 45"} 
[2026-07-27 09:53:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992153600001,"power":26006,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096871936}} 
[2026-07-27 09:53:38] local.INFO: DEBUG: GPS processor result {"connection_id":143862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:53:38] local.INFO: GPS data processed {"connection_id":143862,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:53:38] local.INFO: Acknowledgment sent {"connection_id":143862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:53:40] local.INFO: TCP Data received {"connection_id":145177,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145177,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:53:40] local.INFO: Processing buffer {"connection_id":145177,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:53:40] local.INFO: IMEI packet received {"connection_id":145177,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 09:53:40] local.INFO: IMEI acknowledgment sent {"connection_id":145177,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:53:44] local.INFO: TCP Data received {"connection_id":145177,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145177,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:53:44] local.INFO: Processing buffer {"connection_id":145177,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:53:44] local.INFO: IMEI packet received {"connection_id":145177,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 09:53:44] local.INFO: IMEI acknowledgment sent {"connection_id":145177,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:53:45] local.INFO: TCP Data received {"connection_id":145177,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1d00380012d0c1fc007035230001900e023..."} 
[2026-07-27 09:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145177,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1d00380012d0c1fc007035230001900e023..."} 
[2026-07-27 09:53:45] local.INFO: Processing buffer {"connection_id":145177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1d00380012d0c1fc007035230001900e023..."} 
[2026-07-27 09:53:45] local.INFO: Packet analysis {"connection_id":145177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1d0"} 
[2026-07-27 09:53:45] local.INFO: Extracted packet for processing {"connection_id":145177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1d0"} 
[2026-07-27 09:53:45] local.INFO: GPS Element Parsed {"raw_longitude":755769280,"raw_latitude":117658160,"longitude_deg":75.576928,"latitude_deg":11.765816,"altitude":25,"angle":224,"satellites":35,"speed":13,"hex_longitude":"2d0c1fc0","hex_latitude":"07035230","is_valid_coordinates":true} 
[2026-07-27 09:53:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:53:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992304640001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:53:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25879200887996416,"note":"Value kept but may cause issues"} 
[2026-07-27 09:53:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":874190939039729664,"note":"Value kept but may cause issues"} 
[2026-07-27 09:53:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:53:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785126192000,"timestamp_ms":1785126192000,"timestamp_seconds":1785126192,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1d00380"} 
[2026-07-27 09:53:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:53:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09:53:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-27 09:53:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:53:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:53:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:53:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:53:45] local.INFO: Teltonika packet parsed successfully {"connection_id":145177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:53:45] local.INFO: Passing IMEI to GPS processor {"connection_id":145177,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:53:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":145177,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:53:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:53:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 09:53:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 09:53:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992304640001,"66":14548,"37":206,"94":11008,"24":13,"16":25879200887996416,"45":874190939039729664},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-27 09:53:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 09:53:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 09:53:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992304640001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:53:45] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-27 09:53:45] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-27 09:53:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25879200887996416,"km_value":25879200887996.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:53:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":874190939039729664,"description":"Unknown IO ID 45"} 
[2026-07-27 09:53:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992304640001,"power":14548,"unknown_37":206,"unknown_94":11008,"ignition":13,"odometer":null,"unknown_45":874190939039729664}} 
[2026-07-27 09:53:46] local.INFO: DEBUG: GPS processor result {"connection_id":145177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552479,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:53:46] local.INFO: GPS data processed {"connection_id":145177,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:53:46] local.INFO: Acknowledgment sent {"connection_id":145177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:54:10] local.INFO: TCP Data received {"connection_id":143862,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1d03a30012d7faa8005afd700001000272c..."} 
[2026-07-27 09:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1d03a30012d7faa8005afd700001000272c..."} 
[2026-07-27 09:54:10] local.INFO: Processing buffer {"connection_id":143862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1d03a30012d7faa8005afd700001000272c..."} 
[2026-07-27 09:54:10] local.INFO: Packet analysis {"connection_id":143862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1d0"} 
[2026-07-27 09:54:10] local.INFO: Extracted packet for processing {"connection_id":143862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1d0"} 
[2026-07-27 09:54:10] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95409920,"longitude_deg":76.334144,"latitude_deg":9.540992,"altitude":16,"angle":39,"satellites":44,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd700","is_valid_coordinates":true} 
[2026-07-27 09:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:54:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992231680001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:54:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826710646390784,"note":"Value kept but may cause issues"} 
[2026-07-27 09:54:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770954240,"note":"Value kept but may cause issues"} 
[2026-07-27 09:54:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:54:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785126206000,"timestamp_ms":1785126206000,"timestamp_seconds":1785126206,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1d03a30"} 
[2026-07-27 09:54:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:54:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-27 09:54:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:54:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:54:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:54:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:54:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:54:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:54:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:54:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:54:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:54:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:54:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992231680001,"66":25549,"250":206,"85":12544,"24":0,"16":358826710646390784,"45":9199305950770954240},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 09:54:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:54:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:54:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992231680001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:54:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 09:54:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:54:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826710646390784,"km_value":358826710646390.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:54:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770954240,"description":"Unknown IO ID 45"} 
[2026-07-27 09:54:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992231680001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770954240}} 
[2026-07-27 09:54:10] local.INFO: DEBUG: GPS processor result {"connection_id":143862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:54:10] local.INFO: GPS data processed {"connection_id":143862,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:54:10] local.INFO: Acknowledgment sent {"connection_id":143862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:54:16] local.INFO: TCP Data received {"connection_id":145177,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1d0e9f8012d0bfc00070358600015012c20..."} 
[2026-07-27 09:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145177,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1d0e9f8012d0bfc00070358600015012c20..."} 
[2026-07-27 09:54:16] local.INFO: Processing buffer {"connection_id":145177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1d0e9f8012d0bfc00070358600015012c20..."} 
[2026-07-27 09:54:16] local.INFO: Packet analysis {"connection_id":145177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1d0"} 
[2026-07-27 09:54:16] local.INFO: Extracted packet for processing {"connection_id":145177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1d0"} 
[2026-07-27 09:54:16] local.INFO: GPS Element Parsed {"raw_longitude":755760128,"raw_latitude":117659744,"longitude_deg":75.5760128,"latitude_deg":11.7659744,"altitude":21,"angle":300,"satellites":32,"speed":7,"hex_longitude":"2d0bfc00","hex_latitude":"07035860","is_valid_coordinates":true} 
[2026-07-27 09: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-07-27 09:54:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992320000001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:54:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25880016931782656,"note":"Value kept but may cause issues"} 
[2026-07-27 09:54:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":863776364901701632,"note":"Value kept but may cause issues"} 
[2026-07-27 09:54:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:54:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785126251000,"timestamp_ms":1785126251000,"timestamp_seconds":1785126251,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1d0e9f8"} 
[2026-07-27 09:54:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:54:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-27 09:54:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09: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-07-27 09:54:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:54:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:54:16] local.INFO: Teltonika packet parsed successfully {"connection_id":145177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:54:16] local.INFO: Passing IMEI to GPS processor {"connection_id":145177,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:54:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":145177,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:54:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:54:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 09:54:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 09:54:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992320000001,"66":14396,"37":206,"94":11008,"24":7,"16":25880016931782656,"45":863776364901701632},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-27 09:54:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 09:54:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 09:54:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992320000001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:54:16] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-27 09:54:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-27 09:54:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25880016931782656,"km_value":25880016931782.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:54:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":863776364901701632,"description":"Unknown IO ID 45"} 
[2026-07-27 09:54:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992320000001,"power":14396,"unknown_37":206,"unknown_94":11008,"ignition":7,"odometer":null,"unknown_45":863776364901701632}} 
[2026-07-27 09:54:17] local.INFO: DEBUG: GPS processor result {"connection_id":145177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552481,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:54:17] local.INFO: GPS data processed {"connection_id":145177,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:54:17] local.INFO: Acknowledgment sent {"connection_id":145177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:54:37] local.INFO: TCP Data received {"connection_id":145179,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:54:37] local.INFO: Processing buffer {"connection_id":145179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:54:37] local.INFO: IMEI packet received {"connection_id":145179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 09:54:37] local.INFO: IMEI acknowledgment sent {"connection_id":145179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:54:40] local.INFO: TCP Data received {"connection_id":142745,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142745,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:54:40] local.INFO: Processing buffer {"connection_id":142745,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:54:40] local.INFO: IMEI packet received {"connection_id":142745,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 09:54:40] local.INFO: IMEI acknowledgment sent {"connection_id":142745,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:54:42] local.INFO: TCP Data received {"connection_id":145179,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:54:42] local.INFO: Processing buffer {"connection_id":145179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:54:42] local.INFO: IMEI packet received {"connection_id":145179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 09:54:42] local.INFO: IMEI acknowledgment sent {"connection_id":145179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:54:43] local.INFO: TCP Data received {"connection_id":145179,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1d03a30012d7faa8005afd700001000272c..."} 
[2026-07-27 09:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145179,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1d03a30012d7faa8005afd700001000272c..."} 
[2026-07-27 09:54:43] local.INFO: Processing buffer {"connection_id":145179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1d03a30012d7faa8005afd700001000272c..."} 
[2026-07-27 09:54:43] local.INFO: Packet analysis {"connection_id":145179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1d0"} 
[2026-07-27 09:54:43] local.INFO: Extracted packet for processing {"connection_id":145179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1d0"} 
[2026-07-27 09:54:43] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95409920,"longitude_deg":76.334144,"latitude_deg":9.540992,"altitude":16,"angle":39,"satellites":44,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd700","is_valid_coordinates":true} 
[2026-07-27 09:54:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:54:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992231680001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:54:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826710646390784,"note":"Value kept but may cause issues"} 
[2026-07-27 09:54:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770954240,"note":"Value kept but may cause issues"} 
[2026-07-27 09:54:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:54:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785126206000,"timestamp_ms":1785126206000,"timestamp_seconds":1785126206,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1d03a30"} 
[2026-07-27 09:54:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:54:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:54:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-27 09:54:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:54:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:54:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:54:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:54:43] local.INFO: Teltonika packet parsed successfully {"connection_id":145179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:54:43] local.INFO: Passing IMEI to GPS processor {"connection_id":145179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:54:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":145179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:54:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:54:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:54:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:54:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992231680001,"66":25549,"250":206,"85":12544,"24":0,"16":358826710646390784,"45":9199305950770954240},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 09:54:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:54:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:54:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992231680001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:54:43] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 09:54:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:54:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826710646390784,"km_value":358826710646390.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:54:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770954240,"description":"Unknown IO ID 45"} 
[2026-07-27 09:54:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992231680001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770954240}} 
[2026-07-27 09:54:43] local.INFO: DEBUG: GPS processor result {"connection_id":145179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:54:43] local.INFO: GPS data processed {"connection_id":145179,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:54:43] local.INFO: Acknowledgment sent {"connection_id":145179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:54:45] local.INFO: TCP Data received {"connection_id":142745,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142745,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:54:45] local.INFO: Processing buffer {"connection_id":142745,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:54:45] local.INFO: IMEI packet received {"connection_id":142745,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 09:54:45] local.INFO: IMEI acknowledgment sent {"connection_id":142745,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:54:46] local.INFO: TCP Data received {"connection_id":142745,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1d0ede0012d0bfb40070359000016013f20..."} 
[2026-07-27 09:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1d0ede0012d0bfb40070359000016013f20..."} 
[2026-07-27 09:54:46] local.INFO: Processing buffer {"connection_id":142745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1d0ede0012d0bfb40070359000016013f20..."} 
[2026-07-27 09:54:46] local.INFO: Packet analysis {"connection_id":142745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1d0"} 
[2026-07-27 09:54:46] local.INFO: Extracted packet for processing {"connection_id":142745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1d0"} 
[2026-07-27 09:54:46] local.INFO: GPS Element Parsed {"raw_longitude":755759936,"raw_latitude":117659904,"longitude_deg":75.5759936,"latitude_deg":11.7659904,"altitude":22,"angle":319,"satellites":32,"speed":9,"hex_longitude":"2d0bfb40","hex_latitude":"07035900","is_valid_coordinates":true} 
[2026-07-27 09:54:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:54:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992320256001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:54:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25880025521717248,"note":"Value kept but may cause issues"} 
[2026-07-27 09:54:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":863565258669187072,"note":"Value kept but may cause issues"} 
[2026-07-27 09:54:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:54:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785126252000,"timestamp_ms":1785126252000,"timestamp_seconds":1785126252,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1d0ede0"} 
[2026-07-27 09:54:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:54:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09:54:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-27 09:54:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:54:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:54:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:54:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:54:46] local.INFO: Teltonika packet parsed successfully {"connection_id":142745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:54:46] local.INFO: Passing IMEI to GPS processor {"connection_id":142745,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:54:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":142745,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:54:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:54:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 09:54:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 09:54:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992320256001,"66":13722,"37":206,"94":11008,"24":9,"16":25880025521717248,"45":863565258669187072},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-27 09:54:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 09:54:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 09:54:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992320256001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:54:46] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-27 09:54:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-27 09:54:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25880025521717248,"km_value":25880025521717.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:54:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":863565258669187072,"description":"Unknown IO ID 45"} 
[2026-07-27 09:54:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992320256001,"power":13722,"unknown_37":206,"unknown_94":11008,"ignition":9,"odometer":null,"unknown_45":863565258669187072}} 
[2026-07-27 09:54:46] local.INFO: DEBUG: GPS processor result {"connection_id":142745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552483,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:54:46] local.INFO: GPS data processed {"connection_id":142745,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:54:46] local.INFO: Acknowledgment sent {"connection_id":142745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:55:14] local.INFO: TCP Data received {"connection_id":145179,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1d03a30012d7faa8005afd700001000272c..."} 
[2026-07-27 09:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145179,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1d03a30012d7faa8005afd700001000272c..."} 
[2026-07-27 09:55:14] local.INFO: Processing buffer {"connection_id":145179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1d03a30012d7faa8005afd700001000272c..."} 
[2026-07-27 09:55:14] local.INFO: Packet analysis {"connection_id":145179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1d0"} 
[2026-07-27 09:55:14] local.INFO: Extracted packet for processing {"connection_id":145179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1d0"} 
[2026-07-27 09:55:14] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95409920,"longitude_deg":76.334144,"latitude_deg":9.540992,"altitude":16,"angle":39,"satellites":44,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd700","is_valid_coordinates":true} 
[2026-07-27 09:55:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:55:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992231680001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:55:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826710646390784,"note":"Value kept but may cause issues"} 
[2026-07-27 09:55:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770954240,"note":"Value kept but may cause issues"} 
[2026-07-27 09:55:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:55:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785126206000,"timestamp_ms":1785126206000,"timestamp_seconds":1785126206,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1d03a30"} 
[2026-07-27 09:55:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:55:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-27 09:55:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:55:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:55:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:55:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:55:14] local.INFO: Teltonika packet parsed successfully {"connection_id":145179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:55:14] local.INFO: Passing IMEI to GPS processor {"connection_id":145179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:55:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":145179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:55:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:55:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:55:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:55:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992231680001,"66":25549,"250":206,"85":12544,"24":0,"16":358826710646390784,"45":9199305950770954240},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 09:55:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:55:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:55:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992231680001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:55:14] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 09:55:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:55:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826710646390784,"km_value":358826710646390.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:55:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770954240,"description":"Unknown IO ID 45"} 
[2026-07-27 09:55:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992231680001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770954240}} 
[2026-07-27 09:55:14] local.INFO: DEBUG: GPS processor result {"connection_id":145179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:55:14] local.INFO: GPS data processed {"connection_id":145179,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:55:14] local.INFO: Acknowledgment sent {"connection_id":145179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:55:18] local.INFO: TCP Data received {"connection_id":142745,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1d1dc28012d0b8500070350a8001500f21f..."} 
[2026-07-27 09:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1d1dc28012d0b8500070350a8001500f21f..."} 
[2026-07-27 09:55:18] local.INFO: Processing buffer {"connection_id":142745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1d1dc28012d0b8500070350a8001500f21f..."} 
[2026-07-27 09:55:18] local.INFO: Packet analysis {"connection_id":142745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1d1"} 
[2026-07-27 09:55:18] local.INFO: Extracted packet for processing {"connection_id":142745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1d1"} 
[2026-07-27 09:55:18] local.INFO: GPS Element Parsed {"raw_longitude":755729664,"raw_latitude":117657768,"longitude_deg":75.5729664,"latitude_deg":11.7657768,"altitude":21,"angle":242,"satellites":31,"speed":11,"hex_longitude":"2d0b8500","hex_latitude":"070350a8","is_valid_coordinates":true} 
[2026-07-27 09: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-07-27 09:55:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992335872001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:55:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25881498695499776,"note":"Value kept but may cause issues"} 
[2026-07-27 09:55:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":830421580161038336,"note":"Value kept but may cause issues"} 
[2026-07-27 09:55:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:55:18] local.INFO: AVL Record Parsed {"raw_timestamp":1785126313000,"timestamp_ms":1785126313000,"timestamp_seconds":1785126313,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1d1dc28"} 
[2026-07-27 09:55:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:55: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-07-27 09: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-27 09:55:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09: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-07-27 09:55:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:55:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:55:18] local.INFO: Teltonika packet parsed successfully {"connection_id":142745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:55:18] local.INFO: Passing IMEI to GPS processor {"connection_id":142745,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:55:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":142745,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:55:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:55:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 09:55:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 09:55:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992335872001,"66":14450,"37":206,"94":11008,"24":11,"16":25881498695499776,"45":830421580161038336},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-27 09:55:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 09:55:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 09:55:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992335872001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:55:18] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-27 09:55:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-27 09:55:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25881498695499776,"km_value":25881498695499.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:55:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":830421580161038336,"description":"Unknown IO ID 45"} 
[2026-07-27 09:55:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992335872001,"power":14450,"unknown_37":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":830421580161038336}} 
[2026-07-27 09:55:18] local.INFO: DEBUG: GPS processor result {"connection_id":142745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552485,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:55:18] local.INFO: GPS data processed {"connection_id":142745,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:55:18] local.INFO: Acknowledgment sent {"connection_id":142745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:55:32] local.INFO: TCP Data received {"connection_id":143865,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:55:32] local.INFO: Processing buffer {"connection_id":143865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:55:32] local.INFO: IMEI packet received {"connection_id":143865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 09:55:32] local.INFO: IMEI acknowledgment sent {"connection_id":143865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:55:37] local.INFO: TCP Data received {"connection_id":143865,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:55:37] local.INFO: Processing buffer {"connection_id":143865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:55:37] local.INFO: IMEI packet received {"connection_id":143865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 09:55:37] local.INFO: IMEI acknowledgment sent {"connection_id":143865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:55:38] local.INFO: TCP Data received {"connection_id":143865,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1d03a30012d7faa8005afd700001000272c..."} 
[2026-07-27 09:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1d03a30012d7faa8005afd700001000272c..."} 
[2026-07-27 09:55:38] local.INFO: Processing buffer {"connection_id":143865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1d03a30012d7faa8005afd700001000272c..."} 
[2026-07-27 09:55:38] local.INFO: Packet analysis {"connection_id":143865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1d0"} 
[2026-07-27 09:55:38] local.INFO: Extracted packet for processing {"connection_id":143865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1d0"} 
[2026-07-27 09:55:38] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95409920,"longitude_deg":76.334144,"latitude_deg":9.540992,"altitude":16,"angle":39,"satellites":44,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd700","is_valid_coordinates":true} 
[2026-07-27 09:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:55:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992231680001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:55:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826710646390784,"note":"Value kept but may cause issues"} 
[2026-07-27 09:55:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770954240,"note":"Value kept but may cause issues"} 
[2026-07-27 09:55:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:55:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785126206000,"timestamp_ms":1785126206000,"timestamp_seconds":1785126206,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1d03a30"} 
[2026-07-27 09:55:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:55:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-27 09:55:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:55:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:55:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:55:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:55:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:55:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:55:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:55:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:55:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:55:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:55:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992231680001,"66":25549,"250":206,"85":12544,"24":0,"16":358826710646390784,"45":9199305950770954240},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 09:55:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:55:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:55:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992231680001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:55:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 09:55:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:55:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826710646390784,"km_value":358826710646390.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:55:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770954240,"description":"Unknown IO ID 45"} 
[2026-07-27 09:55:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992231680001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770954240}} 
[2026-07-27 09:55:38] local.INFO: DEBUG: GPS processor result {"connection_id":143865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:55:38] local.INFO: GPS data processed {"connection_id":143865,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:55:38] local.INFO: Acknowledgment sent {"connection_id":143865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:55:40] local.INFO: TCP Data received {"connection_id":142880,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142880,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:55:40] local.INFO: Processing buffer {"connection_id":142880,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:55:40] local.INFO: IMEI packet received {"connection_id":142880,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 09:55:40] local.INFO: IMEI acknowledgment sent {"connection_id":142880,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:55:45] local.INFO: TCP Data received {"connection_id":142880,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142880,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:55:45] local.INFO: Processing buffer {"connection_id":142880,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:55:45] local.INFO: IMEI packet received {"connection_id":142880,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 09:55:45] local.INFO: IMEI acknowledgment sent {"connection_id":142880,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:55:46] local.INFO: TCP Data received {"connection_id":142880,"ip":"42.106.6.26","data_length":93,"data_hex":"00000000000000518e010000019fa1d1e010012d0b848007034fc0001500d91e..."} 
[2026-07-27 09:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142880,"packet_length":93,"packet_hex":"00000000000000518e010000019fa1d1e010012d0b848007034fc0001500d91e..."} 
[2026-07-27 09:55:46] local.INFO: Processing buffer {"connection_id":142880,"buffer_length":93,"buffer_hex":"00000000000000518e010000019fa1d1e010012d0b848007034fc0001500d91e..."} 
[2026-07-27 09:55:46] local.INFO: Packet analysis {"connection_id":142880,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019fa1d1"} 
[2026-07-27 09:55:46] local.INFO: Extracted packet for processing {"connection_id":142880,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019fa1d1"} 
[2026-07-27 09:55:46] local.INFO: GPS Element Parsed {"raw_longitude":755729536,"raw_latitude":117657536,"longitude_deg":75.5729536,"latitude_deg":11.7657536,"altitude":21,"angle":217,"satellites":30,"speed":11,"hex_longitude":"2d0b8480","hex_latitude":"07034fc0","is_valid_coordinates":true} 
[2026-07-27 09: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":93,"current_offset":40} 
[2026-07-27 09:55:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:55:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:55:46] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:55:46] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-07-27 09:55:46] local.INFO: Teltonika packet parsed successfully {"connection_id":142880,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-07-27 09:55:46] local.INFO: Passing IMEI to GPS processor {"connection_id":142880,"device_imei":"862567072573210","avl_records_count":0} 
[2026-07-27 09:55:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":142880,"device_imei":"862567072573210","avl_records_count":0} 
[2026-07-27 09:55:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-27 09:55:46] local.WARNING: DEBUG: No valid data to process  
[2026-07-27 09:55:46] local.INFO: DEBUG: GPS processor result {"connection_id":142880,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-27 09:55:46] local.ERROR: GPS data processing failed {"connection_id":142880,"error":"No valid data to process"} 
[2026-07-27 09:55:46] local.INFO: Acknowledgment sent {"connection_id":142880,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-27 09:56:09] local.INFO: TCP Data received {"connection_id":143865,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1d03a30012d7faa8005afd700001000272c..."} 
[2026-07-27 09:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1d03a30012d7faa8005afd700001000272c..."} 
[2026-07-27 09:56:09] local.INFO: Processing buffer {"connection_id":143865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1d03a30012d7faa8005afd700001000272c..."} 
[2026-07-27 09:56:09] local.INFO: Packet analysis {"connection_id":143865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1d0"} 
[2026-07-27 09:56:09] local.INFO: Extracted packet for processing {"connection_id":143865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1d0"} 
[2026-07-27 09:56:09] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95409920,"longitude_deg":76.334144,"latitude_deg":9.540992,"altitude":16,"angle":39,"satellites":44,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd700","is_valid_coordinates":true} 
[2026-07-27 09:56:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:56:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992231680001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:56:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826710646390784,"note":"Value kept but may cause issues"} 
[2026-07-27 09:56:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770954240,"note":"Value kept but may cause issues"} 
[2026-07-27 09:56:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:56:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785126206000,"timestamp_ms":1785126206000,"timestamp_seconds":1785126206,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1d03a30"} 
[2026-07-27 09:56:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:56:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:56:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-27 09:56:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:56:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:56:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:56:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:56:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:56:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:56:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:56:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:56:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:56:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:56:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992231680001,"66":25549,"250":206,"85":12544,"24":0,"16":358826710646390784,"45":9199305950770954240},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 09:56:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:56:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:56:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992231680001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:56:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 09:56:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:56:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826710646390784,"km_value":358826710646390.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:56:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770954240,"description":"Unknown IO ID 45"} 
[2026-07-27 09:56:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992231680001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770954240}} 
[2026-07-27 09:56:09] local.INFO: DEBUG: GPS processor result {"connection_id":143865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:56:09] local.INFO: GPS data processed {"connection_id":143865,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:56:09] local.INFO: Acknowledgment sent {"connection_id":143865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:56:17] local.INFO: TCP Data received {"connection_id":142880,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1d1e3f8012d0b848007034e40001500c61d..."} 
[2026-07-27 09:56:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1d1e3f8012d0b848007034e40001500c61d..."} 
[2026-07-27 09:56:17] local.INFO: Processing buffer {"connection_id":142880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1d1e3f8012d0b848007034e40001500c61d..."} 
[2026-07-27 09:56:17] local.INFO: Packet analysis {"connection_id":142880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1d1"} 
[2026-07-27 09:56:17] local.INFO: Extracted packet for processing {"connection_id":142880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1d1"} 
[2026-07-27 09:56:17] local.INFO: GPS Element Parsed {"raw_longitude":755729536,"raw_latitude":117657152,"longitude_deg":75.5729536,"latitude_deg":11.7657152,"altitude":21,"angle":198,"satellites":29,"speed":15,"hex_longitude":"2d0b8480","hex_latitude":"07034e40","is_valid_coordinates":true} 
[2026-07-27 09: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-07-27 09:56:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992336384001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:56:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25881528760270848,"note":"Value kept but may cause issues"} 
[2026-07-27 09:56:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":829928998951698432,"note":"Value kept but may cause issues"} 
[2026-07-27 09:56:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:56:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785126315000,"timestamp_ms":1785126315000,"timestamp_seconds":1785126315,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1d1e3f8"} 
[2026-07-27 09:56:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:56:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09: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":55,"n8_eight_byte":250,"data_length":795,"current_offset":136} 
[2026-07-27 09:56:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2723,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09: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-07-27 09:56:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:56:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:56:17] local.INFO: Teltonika packet parsed successfully {"connection_id":142880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:56:17] local.INFO: Passing IMEI to GPS processor {"connection_id":142880,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:56:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":142880,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:56:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:56:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 09:56:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 09:56:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992336384001,"66":14330,"37":206,"94":11008,"24":15,"16":25881528760270848,"45":829928998951698432},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-27 09:56:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 09:56:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 09:56:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992336384001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:56:17] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-27 09:56:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-27 09:56:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25881528760270848,"km_value":25881528760270.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:56:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":829928998951698432,"description":"Unknown IO ID 45"} 
[2026-07-27 09:56:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992336384001,"power":14330,"unknown_37":206,"unknown_94":11008,"ignition":15,"odometer":null,"unknown_45":829928998951698432}} 
[2026-07-27 09:56:17] local.INFO: DEBUG: GPS processor result {"connection_id":142880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552488,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:56:17] local.INFO: GPS data processed {"connection_id":142880,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:56:17] local.INFO: Acknowledgment sent {"connection_id":142880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:56:37] local.INFO: TCP Data received {"connection_id":145182,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:56:37] local.INFO: Processing buffer {"connection_id":145182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:56:37] local.INFO: IMEI packet received {"connection_id":145182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 09:56:37] local.INFO: IMEI acknowledgment sent {"connection_id":145182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:56:40] local.INFO: TCP Data received {"connection_id":142747,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142747,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:56:40] local.INFO: Processing buffer {"connection_id":142747,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:56:40] local.INFO: IMEI packet received {"connection_id":142747,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 09:56:40] local.INFO: IMEI acknowledgment sent {"connection_id":142747,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:56:42] local.INFO: TCP Data received {"connection_id":145182,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:56:42] local.INFO: Processing buffer {"connection_id":145182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:56:42] local.INFO: IMEI packet received {"connection_id":145182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 09:56:42] local.INFO: IMEI acknowledgment sent {"connection_id":145182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:56:43] local.INFO: TCP Data received {"connection_id":145182,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1d03a30012d7faa8005afd700001000272c..."} 
[2026-07-27 09:56:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145182,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1d03a30012d7faa8005afd700001000272c..."} 
[2026-07-27 09:56:43] local.INFO: Processing buffer {"connection_id":145182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1d03a30012d7faa8005afd700001000272c..."} 
[2026-07-27 09:56:43] local.INFO: Packet analysis {"connection_id":145182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1d0"} 
[2026-07-27 09:56:43] local.INFO: Extracted packet for processing {"connection_id":145182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1d0"} 
[2026-07-27 09:56:43] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95409920,"longitude_deg":76.334144,"latitude_deg":9.540992,"altitude":16,"angle":39,"satellites":44,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd700","is_valid_coordinates":true} 
[2026-07-27 09:56:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:56:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992231680001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:56:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826710646390784,"note":"Value kept but may cause issues"} 
[2026-07-27 09:56:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770954240,"note":"Value kept but may cause issues"} 
[2026-07-27 09:56:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:56:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785126206000,"timestamp_ms":1785126206000,"timestamp_seconds":1785126206,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1d03a30"} 
[2026-07-27 09:56:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:56:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:56:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-27 09:56:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:56:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:56:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:56:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:56:43] local.INFO: Teltonika packet parsed successfully {"connection_id":145182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:56:43] local.INFO: Passing IMEI to GPS processor {"connection_id":145182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:56:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":145182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:56:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:56:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:56:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:56:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992231680001,"66":25549,"250":206,"85":12544,"24":0,"16":358826710646390784,"45":9199305950770954240},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 09:56:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:56:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:56:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992231680001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:56:43] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 09:56:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:56:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826710646390784,"km_value":358826710646390.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:56:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770954240,"description":"Unknown IO ID 45"} 
[2026-07-27 09:56:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992231680001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770954240}} 
[2026-07-27 09:56:43] local.INFO: DEBUG: GPS processor result {"connection_id":145182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:56:43] local.INFO: GPS data processed {"connection_id":145182,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:56:43] local.INFO: Acknowledgment sent {"connection_id":145182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:56:43] local.INFO: TCP Data received {"connection_id":142747,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:56:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142747,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:56:43] local.INFO: Processing buffer {"connection_id":142747,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:56:43] local.INFO: IMEI packet received {"connection_id":142747,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 09:56:43] local.INFO: IMEI acknowledgment sent {"connection_id":142747,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:56:45] local.INFO: TCP Data received {"connection_id":142747,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142747,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:56:45] local.INFO: Processing buffer {"connection_id":142747,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:56:45] local.INFO: IMEI packet received {"connection_id":142747,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 09:56:45] local.INFO: IMEI acknowledgment sent {"connection_id":142747,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:56:46] local.INFO: TCP Data received {"connection_id":142747,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1d30508012d0b6c0007034b800013013d1f..."} 
[2026-07-27 09:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1d30508012d0b6c0007034b800013013d1f..."} 
[2026-07-27 09:56:47] local.INFO: Processing buffer {"connection_id":142747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1d30508012d0b6c0007034b800013013d1f..."} 
[2026-07-27 09:56:47] local.INFO: Packet analysis {"connection_id":142747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1d3"} 
[2026-07-27 09:56:47] local.INFO: Extracted packet for processing {"connection_id":142747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1d3"} 
[2026-07-27 09:56:47] local.INFO: GPS Element Parsed {"raw_longitude":755723264,"raw_latitude":117656448,"longitude_deg":75.5723264,"latitude_deg":11.7656448,"altitude":19,"angle":317,"satellites":31,"speed":13,"hex_longitude":"2d0b6c00","hex_latitude":"07034b80","is_valid_coordinates":true} 
[2026-07-27 09:56:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:56:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992355328001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:56:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25882005501640704,"note":"Value kept but may cause issues"} 
[2026-07-27 09:56:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":823314336998649856,"note":"Value kept but may cause issues"} 
[2026-07-27 09:56:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:56:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785126389000,"timestamp_ms":1785126389000,"timestamp_seconds":1785126389,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1d30508"} 
[2026-07-27 09:56:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:56:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09:56:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-27 09:56: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-07-27 09:56:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:56:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:56:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:56:47] local.INFO: Teltonika packet parsed successfully {"connection_id":142747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:56:47] local.INFO: Passing IMEI to GPS processor {"connection_id":142747,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:56:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":142747,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:56:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:56:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 09:56:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 09:56:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992355328001,"66":14374,"37":206,"94":11008,"24":13,"16":25882005501640704,"45":823314336998649856},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-27 09:56:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 09:56:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 09:56:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992355328001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:56:47] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-27 09:56:47] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-27 09:56:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25882005501640704,"km_value":25882005501640.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:56:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":823314336998649856,"description":"Unknown IO ID 45"} 
[2026-07-27 09:56:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992355328001,"power":14374,"unknown_37":206,"unknown_94":11008,"ignition":13,"odometer":null,"unknown_45":823314336998649856}} 
[2026-07-27 09:56:47] local.INFO: DEBUG: GPS processor result {"connection_id":142747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552490,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:56:47] local.INFO: GPS data processed {"connection_id":142747,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:56:47] local.INFO: Acknowledgment sent {"connection_id":142747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:56:48] local.INFO: TCP Data received {"connection_id":145182,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1d03a30012d7faa8005afd700001000272c..."} 
[2026-07-27 09:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145182,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1d03a30012d7faa8005afd700001000272c..."} 
[2026-07-27 09:56:48] local.INFO: Processing buffer {"connection_id":145182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1d03a30012d7faa8005afd700001000272c..."} 
[2026-07-27 09:56:48] local.INFO: Packet analysis {"connection_id":145182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1d0"} 
[2026-07-27 09:56:48] local.INFO: Extracted packet for processing {"connection_id":145182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1d0"} 
[2026-07-27 09:56:48] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95409920,"longitude_deg":76.334144,"latitude_deg":9.540992,"altitude":16,"angle":39,"satellites":44,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd700","is_valid_coordinates":true} 
[2026-07-27 09:56:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:56:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992231680001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:56:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826710646390784,"note":"Value kept but may cause issues"} 
[2026-07-27 09:56:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770954240,"note":"Value kept but may cause issues"} 
[2026-07-27 09:56:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:56:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785126206000,"timestamp_ms":1785126206000,"timestamp_seconds":1785126206,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1d03a30"} 
[2026-07-27 09:56:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:56:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-27 09:56:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:56:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:56:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:56:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:56:48] local.INFO: Teltonika packet parsed successfully {"connection_id":145182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:56:48] local.INFO: Passing IMEI to GPS processor {"connection_id":145182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:56:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":145182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:56:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:56:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:56:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:56:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992231680001,"66":25549,"250":206,"85":12544,"24":0,"16":358826710646390784,"45":9199305950770954240},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 09:56:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:56:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:56:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992231680001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:56:48] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 09:56:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:56:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826710646390784,"km_value":358826710646390.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:56:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770954240,"description":"Unknown IO ID 45"} 
[2026-07-27 09:56:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992231680001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770954240}} 
[2026-07-27 09:56:48] local.INFO: DEBUG: GPS processor result {"connection_id":145182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:56:48] local.INFO: GPS data processed {"connection_id":145182,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:56:48] local.INFO: Acknowledgment sent {"connection_id":145182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:57:18] local.INFO: TCP Data received {"connection_id":142747,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1d39978012d0b25c007035b980012000221..."} 
[2026-07-27 09:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1d39978012d0b25c007035b980012000221..."} 
[2026-07-27 09:57:18] local.INFO: Processing buffer {"connection_id":142747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1d39978012d0b25c007035b980012000221..."} 
[2026-07-27 09:57:18] local.INFO: Packet analysis {"connection_id":142747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1d3"} 
[2026-07-27 09:57:18] local.INFO: Extracted packet for processing {"connection_id":142747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1d3"} 
[2026-07-27 09:57:18] local.INFO: GPS Element Parsed {"raw_longitude":755705280,"raw_latitude":117660568,"longitude_deg":75.570528,"latitude_deg":11.7660568,"altitude":18,"angle":2,"satellites":33,"speed":10,"hex_longitude":"2d0b25c0","hex_latitude":"07035b98","is_valid_coordinates":true} 
[2026-07-27 09:57:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:57:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992365056001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:57:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25882920329674752,"note":"Value kept but may cause issues"} 
[2026-07-27 09:57:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":803259244909082624,"note":"Value kept but may cause issues"} 
[2026-07-27 09:57:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:57:18] local.INFO: AVL Record Parsed {"raw_timestamp":1785126427000,"timestamp_ms":1785126427000,"timestamp_seconds":1785126427,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1d39978"} 
[2026-07-27 09:57:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:57: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-07-27 09:57:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-27 09:57: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-07-27 09:57:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:57:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:57:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:57:18] local.INFO: Teltonika packet parsed successfully {"connection_id":142747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:57:18] local.INFO: Passing IMEI to GPS processor {"connection_id":142747,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:57:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":142747,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:57:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:57:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 09:57:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 09:57:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992365056001,"66":14396,"37":206,"94":11008,"24":10,"16":25882920329674752,"45":803259244909082624},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-27 09:57:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 09:57:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 09:57:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992365056001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:57:18] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-27 09:57:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-27 09:57:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25882920329674752,"km_value":25882920329674.754,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:57:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":803259244909082624,"description":"Unknown IO ID 45"} 
[2026-07-27 09:57:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992365056001,"power":14396,"unknown_37":206,"unknown_94":11008,"ignition":10,"odometer":null,"unknown_45":803259244909082624}} 
[2026-07-27 09:57:18] local.INFO: DEBUG: GPS processor result {"connection_id":142747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552492,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:57:18] local.INFO: GPS data processed {"connection_id":142747,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:57:18] local.INFO: Acknowledgment sent {"connection_id":142747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:57:32] local.INFO: TCP Data received {"connection_id":145183,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:57:32] local.INFO: Processing buffer {"connection_id":145183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:57:32] local.INFO: IMEI packet received {"connection_id":145183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 09:57:32] local.INFO: IMEI acknowledgment sent {"connection_id":145183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:57:35] local.INFO: TCP Data received {"connection_id":143866,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143866,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:57:35] local.INFO: Processing buffer {"connection_id":143866,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:57:35] local.INFO: IMEI packet received {"connection_id":143866,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 09:57:35] local.INFO: IMEI acknowledgment sent {"connection_id":143866,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:57:36] local.INFO: TCP Data received {"connection_id":143866,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1d0cea0012d168800071faaa00020005725..."} 
[2026-07-27 09:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1d0cea0012d168800071faaa00020005725..."} 
[2026-07-27 09:57:36] local.INFO: Processing buffer {"connection_id":143866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1d0cea0012d168800071faaa00020005725..."} 
[2026-07-27 09:57:36] local.INFO: Packet analysis {"connection_id":143866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1d0"} 
[2026-07-27 09:57:36] local.INFO: Extracted packet for processing {"connection_id":143866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1d0"} 
[2026-07-27 09:57:36] local.INFO: GPS Element Parsed {"raw_longitude":756451328,"raw_latitude":119515808,"longitude_deg":75.6451328,"latitude_deg":11.9515808,"altitude":32,"angle":87,"satellites":37,"speed":0,"hex_longitude":"2d168800","hex_latitude":"071faaa0","is_valid_coordinates":true} 
[2026-07-27 09:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:57:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992313088001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:57:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8789289794011136,"note":"Value kept but may cause issues"} 
[2026-07-27 09:57:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623547696263110656,"note":"Value kept but may cause issues"} 
[2026-07-27 09:57:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:57:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785126244000,"timestamp_ms":1785126244000,"timestamp_seconds":1785126244,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1d0cea0"} 
[2026-07-27 09:57:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:57:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-07-27 09:57:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1353,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:57:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:57:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:57:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:57:36] local.INFO: Teltonika packet parsed successfully {"connection_id":143866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:57:36] local.INFO: Passing IMEI to GPS processor {"connection_id":143866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:57:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":143866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:57:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:57:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 09:57:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 09:57:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992313088001,"66":13156,"131":206,"28":31744,"24":0,"16":8789289794011136,"45":1623547696263110656},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-07-27 09:57:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 09:57:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 09:57:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992313088001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:57:36] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-27 09:57:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 09:57:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8789289794011136,"km_value":8789289794011.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:57:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623547696263110656,"description":"Unknown IO ID 45"} 
[2026-07-27 09:57:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992313088001,"power":13156,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1623547696263110656}} 
[2026-07-27 09:57:37] local.INFO: DEBUG: GPS processor result {"connection_id":143866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552493,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:57:37] local.INFO: GPS data processed {"connection_id":143866,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:57:37] local.INFO: Acknowledgment sent {"connection_id":143866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:57:37] local.INFO: TCP Data received {"connection_id":145183,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:57:37] local.INFO: Processing buffer {"connection_id":145183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:57:37] local.INFO: IMEI packet received {"connection_id":145183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 09:57:37] local.INFO: IMEI acknowledgment sent {"connection_id":145183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:57:38] local.INFO: TCP Data received {"connection_id":145183,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1d03a30012d7faa8005afd700001000272c..."} 
[2026-07-27 09:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145183,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1d03a30012d7faa8005afd700001000272c..."} 
[2026-07-27 09:57:38] local.INFO: Processing buffer {"connection_id":145183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1d03a30012d7faa8005afd700001000272c..."} 
[2026-07-27 09:57:38] local.INFO: Packet analysis {"connection_id":145183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1d0"} 
[2026-07-27 09:57:38] local.INFO: Extracted packet for processing {"connection_id":145183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1d0"} 
[2026-07-27 09:57:38] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95409920,"longitude_deg":76.334144,"latitude_deg":9.540992,"altitude":16,"angle":39,"satellites":44,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd700","is_valid_coordinates":true} 
[2026-07-27 09:57:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:57:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992231680001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:57:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826710646390784,"note":"Value kept but may cause issues"} 
[2026-07-27 09:57:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770954240,"note":"Value kept but may cause issues"} 
[2026-07-27 09:57:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:57:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785126206000,"timestamp_ms":1785126206000,"timestamp_seconds":1785126206,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1d03a30"} 
[2026-07-27 09:57:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:57:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:57:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-27 09:57:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:57:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:57:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:57:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:57:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:57:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:57:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:57:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:57:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:57:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:57:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992231680001,"66":25549,"250":206,"85":12544,"24":0,"16":358826710646390784,"45":9199305950770954240},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 09:57:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:57:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:57:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992231680001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:57:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 09:57:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:57:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826710646390784,"km_value":358826710646390.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:57:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770954240,"description":"Unknown IO ID 45"} 
[2026-07-27 09:57:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992231680001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770954240}} 
[2026-07-27 09:57:38] local.INFO: DEBUG: GPS processor result {"connection_id":145183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:57:38] local.INFO: GPS data processed {"connection_id":145183,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:57:38] local.INFO: Acknowledgment sent {"connection_id":145183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:57:45] local.INFO: TCP Data received {"connection_id":142748,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142748,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:57:45] local.INFO: Processing buffer {"connection_id":142748,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:57:45] local.INFO: IMEI packet received {"connection_id":142748,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 09:57:45] local.INFO: IMEI acknowledgment sent {"connection_id":142748,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:57:45] local.INFO: TCP Data received {"connection_id":142748,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142748,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:57:45] local.INFO: Processing buffer {"connection_id":142748,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:57:45] local.INFO: IMEI packet received {"connection_id":142748,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 09:57:45] local.INFO: IMEI acknowledgment sent {"connection_id":142748,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:57:50] local.INFO: TCP Data received {"connection_id":142748,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142748,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:57:50] local.INFO: Processing buffer {"connection_id":142748,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:57:50] local.INFO: IMEI packet received {"connection_id":142748,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 09:57:50] local.INFO: IMEI acknowledgment sent {"connection_id":142748,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:57:51] local.INFO: TCP Data received {"connection_id":142748,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1d3a148012d0b264007035e180012001120..."} 
[2026-07-27 09:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142748,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1d3a148012d0b264007035e180012001120..."} 
[2026-07-27 09:57:51] local.INFO: Processing buffer {"connection_id":142748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1d3a148012d0b264007035e180012001120..."} 
[2026-07-27 09:57:51] local.INFO: Packet analysis {"connection_id":142748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1d3"} 
[2026-07-27 09:57:51] local.INFO: Extracted packet for processing {"connection_id":142748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1d3"} 
[2026-07-27 09:57:51] local.INFO: GPS Element Parsed {"raw_longitude":755705408,"raw_latitude":117661208,"longitude_deg":75.5705408,"latitude_deg":11.7661208,"altitude":18,"angle":17,"satellites":32,"speed":14,"hex_longitude":"2d0b2640","hex_latitude":"07035e18","is_valid_coordinates":true} 
[2026-07-27 09:57:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:57:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992365312001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:57:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25882954689413120,"note":"Value kept but may cause issues"} 
[2026-07-27 09:57:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":803259244909139968,"note":"Value kept but may cause issues"} 
[2026-07-27 09:57:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:57:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785126429000,"timestamp_ms":1785126429000,"timestamp_seconds":1785126429,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1d3a148"} 
[2026-07-27 09:57:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:57: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-07-27 09:57:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-27 09:57: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-07-27 09:57:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:57:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:57:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:57:51] local.INFO: Teltonika packet parsed successfully {"connection_id":142748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:57:51] local.INFO: Passing IMEI to GPS processor {"connection_id":142748,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:57:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":142748,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:57:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:57:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 09:57:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 09:57:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992365312001,"66":14428,"37":206,"94":11008,"24":14,"16":25882954689413120,"45":803259244909139968},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-27 09:57:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 09:57:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 09:57:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992365312001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:57:51] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-27 09:57:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-27 09:57:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25882954689413120,"km_value":25882954689413.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:57:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":803259244909139968,"description":"Unknown IO ID 45"} 
[2026-07-27 09:57:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992365312001,"power":14428,"unknown_37":206,"unknown_94":11008,"ignition":14,"odometer":null,"unknown_45":803259244909139968}} 
[2026-07-27 09:57:51] local.INFO: DEBUG: GPS processor result {"connection_id":142748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552495,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:57:51] local.INFO: GPS data processed {"connection_id":142748,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:57:51] local.INFO: Acknowledgment sent {"connection_id":142748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:57:51] local.INFO: TCP Data received {"connection_id":143867,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 09:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143867,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 09:57:51] local.INFO: Processing buffer {"connection_id":143867,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 09:57:51] local.INFO: IMEI packet received {"connection_id":143867,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 09:57:51] local.INFO: IMEI acknowledgment sent {"connection_id":143867,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:57:52] local.INFO: TCP Data received {"connection_id":142748,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1d3ad00012d0b27c0070361580012001c1e..."} 
[2026-07-27 09:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142748,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1d3ad00012d0b27c0070361580012001c1e..."} 
[2026-07-27 09:57:52] local.INFO: Processing buffer {"connection_id":142748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1d3ad00012d0b27c0070361580012001c1e..."} 
[2026-07-27 09:57:52] local.INFO: Packet analysis {"connection_id":142748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1d3"} 
[2026-07-27 09:57:52] local.INFO: Extracted packet for processing {"connection_id":142748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1d3"} 
[2026-07-27 09:57:52] local.INFO: GPS Element Parsed {"raw_longitude":755705792,"raw_latitude":117662040,"longitude_deg":75.5705792,"latitude_deg":11.766204,"altitude":18,"angle":28,"satellites":30,"speed":11,"hex_longitude":"2d0b27c0","hex_latitude":"07036158","is_valid_coordinates":true} 
[2026-07-27 09:57:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:57:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992365824001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:57:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25882997639086080,"note":"Value kept but may cause issues"} 
[2026-07-27 09:57:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":803399982397659136,"note":"Value kept but may cause issues"} 
[2026-07-27 09:57:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:57:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785126432000,"timestamp_ms":1785126432000,"timestamp_seconds":1785126432,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1d3ad00"} 
[2026-07-27 09:57:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:57: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-07-27 09:57:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-27 09:57:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:57:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:57:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:57:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:57:52] local.INFO: Teltonika packet parsed successfully {"connection_id":142748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:57:52] local.INFO: Passing IMEI to GPS processor {"connection_id":142748,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:57:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":142748,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:57:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:57:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 09:57:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 09:57:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992365824001,"66":14428,"37":206,"94":11008,"24":11,"16":25882997639086080,"45":803399982397659136},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-27 09:57:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 09:57:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 09:57:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992365824001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:57:52] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-27 09:57:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-27 09:57:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25882997639086080,"km_value":25882997639086.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:57:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":803399982397659136,"description":"Unknown IO ID 45"} 
[2026-07-27 09:57:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992365824001,"power":14428,"unknown_37":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":803399982397659136}} 
[2026-07-27 09:57:53] local.INFO: DEBUG: GPS processor result {"connection_id":142748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552496,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:57:53] local.INFO: GPS data processed {"connection_id":142748,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:57:53] local.INFO: Acknowledgment sent {"connection_id":142748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:57:56] local.INFO: TCP Data received {"connection_id":142748,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1d3ff08012d0b2b00070367f00013001a20..."} 
[2026-07-27 09:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142748,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1d3ff08012d0b2b00070367f00013001a20..."} 
[2026-07-27 09:57:56] local.INFO: Processing buffer {"connection_id":142748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1d3ff08012d0b2b00070367f00013001a20..."} 
[2026-07-27 09:57:56] local.INFO: Packet analysis {"connection_id":142748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1d3"} 
[2026-07-27 09:57:56] local.INFO: Extracted packet for processing {"connection_id":142748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1d3"} 
[2026-07-27 09:57:56] local.INFO: GPS Element Parsed {"raw_longitude":755706624,"raw_latitude":117663728,"longitude_deg":75.5706624,"latitude_deg":11.7663728,"altitude":19,"angle":26,"satellites":32,"speed":0,"hex_longitude":"2d0b2b00","hex_latitude":"070367f0","is_valid_coordinates":true} 
[2026-07-27 09:57:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:57:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992366592001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:57:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25883092128366592,"note":"Value kept but may cause issues"} 
[2026-07-27 09:57:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":803822194862938112,"note":"Value kept but may cause issues"} 
[2026-07-27 09:57:56] 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-07-27 09:57:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785126453000,"timestamp_ms":1785126453000,"timestamp_seconds":1785126453,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1d3ff08"} 
[2026-07-27 09:57:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:57:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09:57:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-27 09:57:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:57:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:57:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:57:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:57:56] local.INFO: Teltonika packet parsed successfully {"connection_id":142748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:57:56] local.INFO: Passing IMEI to GPS processor {"connection_id":142748,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:57:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":142748,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 09:57:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:57:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 09:57:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 09:57:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992366592001,"66":14450,"17":206,"94":11008,"24":0,"16":25883092128366592,"45":803822194862938112},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-27 09:57:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 09:57:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 09:57:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992366592001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:57:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-27 09:57:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25883092128366592,"km_value":25883092128366.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:57:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":803822194862938112,"description":"Unknown IO ID 45"} 
[2026-07-27 09:57:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992366592001,"power":14450,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":803822194862938112}} 
[2026-07-27 09:57:56] local.INFO: DEBUG: GPS processor result {"connection_id":142748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552497,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:57:56] local.INFO: GPS data processed {"connection_id":142748,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:57:56] local.INFO: Acknowledgment sent {"connection_id":142748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:58:08] local.INFO: TCP Data received {"connection_id":143866,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1d120a8012d168800071faaa00020005724..."} 
[2026-07-27 09:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1d120a8012d168800071faaa00020005724..."} 
[2026-07-27 09:58:08] local.INFO: Processing buffer {"connection_id":143866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1d120a8012d168800071faaa00020005724..."} 
[2026-07-27 09:58:08] local.INFO: Packet analysis {"connection_id":143866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1d1"} 
[2026-07-27 09:58:08] local.INFO: Extracted packet for processing {"connection_id":143866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1d1"} 
[2026-07-27 09:58:08] local.INFO: GPS Element Parsed {"raw_longitude":756451328,"raw_latitude":119515808,"longitude_deg":75.6451328,"latitude_deg":11.9515808,"altitude":32,"angle":87,"satellites":36,"speed":0,"hex_longitude":"2d168800","hex_latitude":"071faaa0","is_valid_coordinates":true} 
[2026-07-27 09:58:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:58:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992318464001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:58:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8789289794011136,"note":"Value kept but may cause issues"} 
[2026-07-27 09:58:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623547696263110656,"note":"Value kept but may cause issues"} 
[2026-07-27 09:58:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:58:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785126265000,"timestamp_ms":1785126265000,"timestamp_seconds":1785126265,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1d120a8"} 
[2026-07-27 09:58:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:58:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09:58:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-07-27 09:58:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1353,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:58:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:58:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:58:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:58:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:58:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:58:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:58:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:58:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 09:58:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 09:58:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992318464001,"66":13102,"131":206,"28":31744,"24":0,"16":8789289794011136,"45":1623547696263110656},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-07-27 09:58:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 09:58:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 09:58:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992318464001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:58:08] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-27 09:58:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 09:58:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8789289794011136,"km_value":8789289794011.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:58:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623547696263110656,"description":"Unknown IO ID 45"} 
[2026-07-27 09:58:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992318464001,"power":13102,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1623547696263110656}} 
[2026-07-27 09:58:08] local.INFO: DEBUG: GPS processor result {"connection_id":143866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552498,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:58:08] local.INFO: GPS data processed {"connection_id":143866,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:58:08] local.INFO: Acknowledgment sent {"connection_id":143866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:58:09] local.INFO: TCP Data received {"connection_id":145183,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1d03a30012d7faa8005afd700001000272c..."} 
[2026-07-27 09:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145183,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1d03a30012d7faa8005afd700001000272c..."} 
[2026-07-27 09:58:09] local.INFO: Processing buffer {"connection_id":145183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1d03a30012d7faa8005afd700001000272c..."} 
[2026-07-27 09:58:09] local.INFO: Packet analysis {"connection_id":145183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1d0"} 
[2026-07-27 09:58:09] local.INFO: Extracted packet for processing {"connection_id":145183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1d0"} 
[2026-07-27 09:58:09] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95409920,"longitude_deg":76.334144,"latitude_deg":9.540992,"altitude":16,"angle":39,"satellites":44,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd700","is_valid_coordinates":true} 
[2026-07-27 09:58:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:58:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992231680001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:58:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826710646390784,"note":"Value kept but may cause issues"} 
[2026-07-27 09:58:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770954240,"note":"Value kept but may cause issues"} 
[2026-07-27 09:58:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:58:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785126206000,"timestamp_ms":1785126206000,"timestamp_seconds":1785126206,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1d03a30"} 
[2026-07-27 09:58:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:58:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:58:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-27 09:58:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:58:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:58:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:58:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:58:09] local.INFO: Teltonika packet parsed successfully {"connection_id":145183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:58:09] local.INFO: Passing IMEI to GPS processor {"connection_id":145183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:58:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":145183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:58:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:58:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:58:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:58:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992231680001,"66":25549,"250":206,"85":12544,"24":0,"16":358826710646390784,"45":9199305950770954240},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 09:58:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:58:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:58:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992231680001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:58:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 09:58:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:58:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826710646390784,"km_value":358826710646390.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:58:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770954240,"description":"Unknown IO ID 45"} 
[2026-07-27 09:58:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992231680001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770954240}} 
[2026-07-27 09:58:09] local.INFO: DEBUG: GPS processor result {"connection_id":145183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:58:09] local.INFO: GPS data processed {"connection_id":145183,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:58:09] local.INFO: Acknowledgment sent {"connection_id":145183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:58:30] local.INFO: TCP Data received {"connection_id":143869,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143869,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:58:30] local.INFO: Processing buffer {"connection_id":143869,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:58:30] local.INFO: IMEI packet received {"connection_id":143869,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 09:58:30] local.INFO: IMEI acknowledgment sent {"connection_id":143869,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:58:33] local.INFO: TCP Data received {"connection_id":143868,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:58:33] local.INFO: Processing buffer {"connection_id":143868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:58:33] local.INFO: IMEI packet received {"connection_id":143868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 09:58:33] local.INFO: IMEI acknowledgment sent {"connection_id":143868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:58:33] local.INFO: TCP Data received {"connection_id":143869,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143869,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:58:33] local.INFO: Processing buffer {"connection_id":143869,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:58:33] local.INFO: IMEI packet received {"connection_id":143869,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 09:58:33] local.INFO: IMEI acknowledgment sent {"connection_id":143869,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:58:35] local.INFO: TCP Data received {"connection_id":143869,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143869,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:58:35] local.INFO: Processing buffer {"connection_id":143869,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:58:35] local.INFO: IMEI packet received {"connection_id":143869,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 09:58:35] local.INFO: IMEI acknowledgment sent {"connection_id":143869,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:58:35] local.INFO: TCP Data received {"connection_id":143869,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1d172b0012d168800071faaa00020005728..."} 
[2026-07-27 09:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143869,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1d172b0012d168800071faaa00020005728..."} 
[2026-07-27 09:58:35] local.INFO: Processing buffer {"connection_id":143869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1d172b0012d168800071faaa00020005728..."} 
[2026-07-27 09:58:35] local.INFO: Packet analysis {"connection_id":143869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1d1"} 
[2026-07-27 09:58:35] local.INFO: Extracted packet for processing {"connection_id":143869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1d1"} 
[2026-07-27 09:58:35] local.INFO: GPS Element Parsed {"raw_longitude":756451328,"raw_latitude":119515808,"longitude_deg":75.6451328,"latitude_deg":11.9515808,"altitude":32,"angle":87,"satellites":40,"speed":0,"hex_longitude":"2d168800","hex_latitude":"071faaa0","is_valid_coordinates":true} 
[2026-07-27 09:58:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:58:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992323840001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:58:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8789289794011136,"note":"Value kept but may cause issues"} 
[2026-07-27 09:58:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623547696263110656,"note":"Value kept but may cause issues"} 
[2026-07-27 09:58:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:58:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785126286000,"timestamp_ms":1785126286000,"timestamp_seconds":1785126286,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1d172b0"} 
[2026-07-27 09:58:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:58:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-27 09:58:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:58:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:58:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:58:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:58:35] local.INFO: Teltonika packet parsed successfully {"connection_id":143869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:58:35] local.INFO: Passing IMEI to GPS processor {"connection_id":143869,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:58:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":143869,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:58:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:58:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 09:58:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 09:58:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992323840001,"66":13091,"131":206,"28":31744,"24":0,"16":8789289794011136,"45":1623547696263110656},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-07-27 09:58:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 09:58:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 09:58:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992323840001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:58:35] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-27 09:58:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 09:58:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8789289794011136,"km_value":8789289794011.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:58:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623547696263110656,"description":"Unknown IO ID 45"} 
[2026-07-27 09:58:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992323840001,"power":13091,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1623547696263110656}} 
[2026-07-27 09:58:35] local.INFO: DEBUG: GPS processor result {"connection_id":143869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552500,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:58:35] local.INFO: GPS data processed {"connection_id":143869,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:58:35] local.INFO: Acknowledgment sent {"connection_id":143869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:58:36] local.INFO: TCP Data received {"connection_id":142749,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142749,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:58:36] local.INFO: Processing buffer {"connection_id":142749,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:58:36] local.INFO: IMEI packet received {"connection_id":142749,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 09:58:36] local.INFO: IMEI acknowledgment sent {"connection_id":142749,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:58:37] local.INFO: TCP Data received {"connection_id":143868,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:58:37] local.INFO: Processing buffer {"connection_id":143868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:58:37] local.INFO: IMEI packet received {"connection_id":143868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 09:58:37] local.INFO: IMEI acknowledgment sent {"connection_id":143868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:58:38] local.INFO: TCP Data received {"connection_id":143868,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1d03a30012d7faa8005afd700001000272c..."} 
[2026-07-27 09:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1d03a30012d7faa8005afd700001000272c..."} 
[2026-07-27 09:58:38] local.INFO: Processing buffer {"connection_id":143868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1d03a30012d7faa8005afd700001000272c..."} 
[2026-07-27 09:58:38] local.INFO: Packet analysis {"connection_id":143868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1d0"} 
[2026-07-27 09:58:38] local.INFO: Extracted packet for processing {"connection_id":143868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1d0"} 
[2026-07-27 09:58:38] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95409920,"longitude_deg":76.334144,"latitude_deg":9.540992,"altitude":16,"angle":39,"satellites":44,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd700","is_valid_coordinates":true} 
[2026-07-27 09:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:58:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992231680001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:58:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826710646390784,"note":"Value kept but may cause issues"} 
[2026-07-27 09:58:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770954240,"note":"Value kept but may cause issues"} 
[2026-07-27 09:58:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:58:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785126206000,"timestamp_ms":1785126206000,"timestamp_seconds":1785126206,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1d03a30"} 
[2026-07-27 09:58:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:58:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-27 09:58:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:58:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:58:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:58:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:58:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:58:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:58:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:58:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:58:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:58:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:58:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992231680001,"66":25549,"250":206,"85":12544,"24":0,"16":358826710646390784,"45":9199305950770954240},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 09:58:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:58:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:58:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992231680001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:58:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 09:58:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:58:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826710646390784,"km_value":358826710646390.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:58:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770954240,"description":"Unknown IO ID 45"} 
[2026-07-27 09:58:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992231680001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770954240}} 
[2026-07-27 09:58:38] local.INFO: DEBUG: GPS processor result {"connection_id":143868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:58:38] local.INFO: GPS data processed {"connection_id":143868,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:58:38] local.INFO: Acknowledgment sent {"connection_id":143868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:58:41] local.INFO: TCP Data received {"connection_id":142749,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142749,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:58:41] local.INFO: Processing buffer {"connection_id":142749,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:58:41] local.INFO: IMEI packet received {"connection_id":142749,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 09:58:41] local.INFO: IMEI acknowledgment sent {"connection_id":142749,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:58:41] local.INFO: TCP Data received {"connection_id":142749,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142749,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:58:41] local.INFO: Processing buffer {"connection_id":142749,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:58:41] local.INFO: IMEI packet received {"connection_id":142749,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 09:58:41] local.INFO: IMEI acknowledgment sent {"connection_id":142749,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:59:07] local.INFO: TCP Data received {"connection_id":143869,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1d1c4b8012d168800071faaa00020005729..."} 
[2026-07-27 09:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143869,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1d1c4b8012d168800071faaa00020005729..."} 
[2026-07-27 09:59:07] local.INFO: Processing buffer {"connection_id":143869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1d1c4b8012d168800071faaa00020005729..."} 
[2026-07-27 09:59:07] local.INFO: Packet analysis {"connection_id":143869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1d1"} 
[2026-07-27 09:59:07] local.INFO: Extracted packet for processing {"connection_id":143869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1d1"} 
[2026-07-27 09:59:07] local.INFO: GPS Element Parsed {"raw_longitude":756451328,"raw_latitude":119515808,"longitude_deg":75.6451328,"latitude_deg":11.9515808,"altitude":32,"angle":87,"satellites":41,"speed":0,"hex_longitude":"2d168800","hex_latitude":"071faaa0","is_valid_coordinates":true} 
[2026-07-27 09: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-07-27 09:59:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992329216001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:59:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8789289794011136,"note":"Value kept but may cause issues"} 
[2026-07-27 09:59:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623547696263110656,"note":"Value kept but may cause issues"} 
[2026-07-27 09:59:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:59:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785126307000,"timestamp_ms":1785126307000,"timestamp_seconds":1785126307,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1d1c4b8"} 
[2026-07-27 09:59:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:59:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-27 09:59:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09: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-07-27 09:59:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:59:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:59:07] local.INFO: Teltonika packet parsed successfully {"connection_id":143869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:59:07] local.INFO: Passing IMEI to GPS processor {"connection_id":143869,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:59:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":143869,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:59:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:59:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 09:59:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 09:59:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992329216001,"66":13015,"131":206,"28":31744,"24":0,"16":8789289794011136,"45":1623547696263110656},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-07-27 09:59:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 09:59:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 09:59:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992329216001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:59:07] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-27 09:59:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 09:59:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8789289794011136,"km_value":8789289794011.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:59:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623547696263110656,"description":"Unknown IO ID 45"} 
[2026-07-27 09:59:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992329216001,"power":13015,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1623547696263110656}} 
[2026-07-27 09:59:07] local.INFO: DEBUG: GPS processor result {"connection_id":143869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552502,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:59:07] local.INFO: GPS data processed {"connection_id":143869,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:59:07] local.INFO: Acknowledgment sent {"connection_id":143869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:59:09] local.INFO: TCP Data received {"connection_id":143868,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1d4d1f8012d7faa8005afd700000c002728..."} 
[2026-07-27 09:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1d4d1f8012d7faa8005afd700000c002728..."} 
[2026-07-27 09:59:09] local.INFO: Processing buffer {"connection_id":143868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1d4d1f8012d7faa8005afd700000c002728..."} 
[2026-07-27 09:59:09] local.INFO: Packet analysis {"connection_id":143868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1d4"} 
[2026-07-27 09:59:09] local.INFO: Extracted packet for processing {"connection_id":143868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1d4"} 
[2026-07-27 09:59:09] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95409920,"longitude_deg":76.334144,"latitude_deg":9.540992,"altitude":12,"angle":39,"satellites":40,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd700","is_valid_coordinates":true} 
[2026-07-27 09:59:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:59:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992308736001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:59:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826710646390784,"note":"Value kept but may cause issues"} 
[2026-07-27 09:59:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770954240,"note":"Value kept but may cause issues"} 
[2026-07-27 09:59:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:59:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785126507000,"timestamp_ms":1785126507000,"timestamp_seconds":1785126507,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1d4d1f8"} 
[2026-07-27 09:59:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:59:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09: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":205,"data_length":795,"current_offset":136} 
[2026-07-27 09:59:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:59:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:59:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:59:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:59:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:59:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:59:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:59:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:59:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:59:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:59:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992308736001,"66":25343,"250":206,"85":12544,"24":0,"16":358826710646390784,"45":9199305950770954240},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 09:59:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:59:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:59:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992308736001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:59:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 09:59:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:59:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826710646390784,"km_value":358826710646390.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:59:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770954240,"description":"Unknown IO ID 45"} 
[2026-07-27 09:59:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992308736001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770954240}} 
[2026-07-27 09:59:09] local.INFO: DEBUG: GPS processor result {"connection_id":143868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:59:09] local.INFO: GPS data processed {"connection_id":143868,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:59:09] local.INFO: Acknowledgment sent {"connection_id":143868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:59:18] local.INFO: TCP Data received {"connection_id":145184,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:59:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145184,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:59:18] local.INFO: Processing buffer {"connection_id":145184,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:59:18] local.INFO: IMEI packet received {"connection_id":145184,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 09:59:18] local.INFO: IMEI acknowledgment sent {"connection_id":145184,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:59:20] local.INFO: TCP Data received {"connection_id":145184,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145184,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:59:20] local.INFO: Processing buffer {"connection_id":145184,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:59:20] local.INFO: IMEI packet received {"connection_id":145184,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 09:59:20] local.INFO: IMEI acknowledgment sent {"connection_id":145184,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:59:21] local.INFO: TCP Data received {"connection_id":145184,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145184,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:59:21] local.INFO: Processing buffer {"connection_id":145184,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:59:21] local.INFO: IMEI packet received {"connection_id":145184,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 09:59:21] local.INFO: IMEI acknowledgment sent {"connection_id":145184,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:59:32] local.INFO: TCP Data received {"connection_id":142882,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:59:32] local.INFO: Processing buffer {"connection_id":142882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:59:32] local.INFO: IMEI packet received {"connection_id":142882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 09:59:32] local.INFO: IMEI acknowledgment sent {"connection_id":142882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:59:35] local.INFO: TCP Data received {"connection_id":143870,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143870,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:59:35] local.INFO: Processing buffer {"connection_id":143870,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:59:35] local.INFO: IMEI packet received {"connection_id":143870,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 09:59:35] local.INFO: IMEI acknowledgment sent {"connection_id":143870,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 09:59:36] local.INFO: TCP Data received {"connection_id":143870,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143870,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:59:36] local.INFO: Processing buffer {"connection_id":143870,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 09:59:36] local.INFO: IMEI packet received {"connection_id":143870,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 09:59:36] local.INFO: IMEI acknowledgment sent {"connection_id":143870,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:59:37] local.INFO: TCP Data received {"connection_id":143870,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1d216c0012d168800071faaa00020005725..."} 
[2026-07-27 09:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1d216c0012d168800071faaa00020005725..."} 
[2026-07-27 09:59:37] local.INFO: Processing buffer {"connection_id":143870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1d216c0012d168800071faaa00020005725..."} 
[2026-07-27 09:59:37] local.INFO: Packet analysis {"connection_id":143870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1d2"} 
[2026-07-27 09:59:37] local.INFO: Extracted packet for processing {"connection_id":143870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1d2"} 
[2026-07-27 09:59:37] local.INFO: GPS Element Parsed {"raw_longitude":756451328,"raw_latitude":119515808,"longitude_deg":75.6451328,"latitude_deg":11.9515808,"altitude":32,"angle":87,"satellites":37,"speed":0,"hex_longitude":"2d168800","hex_latitude":"071faaa0","is_valid_coordinates":true} 
[2026-07-27 09:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:59:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992334592001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:59:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8789289794011136,"note":"Value kept but may cause issues"} 
[2026-07-27 09:59:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623547696263110656,"note":"Value kept but may cause issues"} 
[2026-07-27 09:59:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:59:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785126328000,"timestamp_ms":1785126328000,"timestamp_seconds":1785126328,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1d216c0"} 
[2026-07-27 09:59:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:59:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 09:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-27 09:59:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:59:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:59:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:59:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:59:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:59:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143870,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:59:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143870,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 09:59:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:59:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 09:59:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 09:59:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992334592001,"66":13015,"131":206,"28":31744,"24":0,"16":8789289794011136,"45":1623547696263110656},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-07-27 09:59:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 09:59:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 09:59:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992334592001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:59:37] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-27 09:59:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 09:59:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8789289794011136,"km_value":8789289794011.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:59:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623547696263110656,"description":"Unknown IO ID 45"} 
[2026-07-27 09:59:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992334592001,"power":13015,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1623547696263110656}} 
[2026-07-27 09:59:37] local.INFO: DEBUG: GPS processor result {"connection_id":143870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552504,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:59:37] local.INFO: GPS data processed {"connection_id":143870,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:59:37] local.INFO: Acknowledgment sent {"connection_id":143870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:59:37] local.INFO: TCP Data received {"connection_id":142882,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:59:37] local.INFO: Processing buffer {"connection_id":142882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 09:59:37] local.INFO: IMEI packet received {"connection_id":142882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 09:59:37] local.INFO: IMEI acknowledgment sent {"connection_id":142882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 09:59:38] local.INFO: TCP Data received {"connection_id":142882,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1d4d1f8012d7faa8005afd700000c002728..."} 
[2026-07-27 09:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1d4d1f8012d7faa8005afd700000c002728..."} 
[2026-07-27 09:59:38] local.INFO: Processing buffer {"connection_id":142882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1d4d1f8012d7faa8005afd700000c002728..."} 
[2026-07-27 09:59:38] local.INFO: Packet analysis {"connection_id":142882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1d4"} 
[2026-07-27 09:59:38] local.INFO: Extracted packet for processing {"connection_id":142882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1d4"} 
[2026-07-27 09:59:38] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95409920,"longitude_deg":76.334144,"latitude_deg":9.540992,"altitude":12,"angle":39,"satellites":40,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd700","is_valid_coordinates":true} 
[2026-07-27 09:59:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 09:59:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992308736001,"note":"Value kept but may cause issues"} 
[2026-07-27 09:59:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826710646390784,"note":"Value kept but may cause issues"} 
[2026-07-27 09:59:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770954240,"note":"Value kept but may cause issues"} 
[2026-07-27 09:59:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 09:59:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785126507000,"timestamp_ms":1785126507000,"timestamp_seconds":1785126507,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1d4d1f8"} 
[2026-07-27 09:59:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 09:59:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 09:59:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-27 09:59:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 09:59:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 09:59:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 09:59:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 09:59:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 09:59:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:59:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 09:59:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 09:59:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 09:59:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 09:59:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992308736001,"66":25343,"250":206,"85":12544,"24":0,"16":358826710646390784,"45":9199305950770954240},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 09:59:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 09:59:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 09:59:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992308736001,"description":"Unknown IO ID 0"} 
[2026-07-27 09:59:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 09:59:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 09:59:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826710646390784,"km_value":358826710646390.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 09:59:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770954240,"description":"Unknown IO ID 45"} 
[2026-07-27 09:59:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992308736001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770954240}} 
[2026-07-27 09:59:38] local.INFO: DEBUG: GPS processor result {"connection_id":142882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 09:59:38] local.INFO: GPS data processed {"connection_id":142882,"processed":1,"errors":0,"total":1} 
[2026-07-27 09:59:38] local.INFO: Acknowledgment sent {"connection_id":142882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 09:59:51] local.INFO: TCP Data received {"connection_id":145186,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145186,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:59:51] local.INFO: Processing buffer {"connection_id":145186,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 09:59:51] local.INFO: IMEI packet received {"connection_id":145186,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 09:59:51] local.INFO: IMEI acknowledgment sent {"connection_id":145186,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:00:09] local.INFO: TCP Data received {"connection_id":143870,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1d268c8012d168800071faaa00020005726..."} 
[2026-07-27 10:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1d268c8012d168800071faaa00020005726..."} 
[2026-07-27 10:00:09] local.INFO: Processing buffer {"connection_id":143870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1d268c8012d168800071faaa00020005726..."} 
[2026-07-27 10:00:09] local.INFO: Packet analysis {"connection_id":143870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1d2"} 
[2026-07-27 10:00:09] local.INFO: Extracted packet for processing {"connection_id":143870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1d2"} 
[2026-07-27 10:00:09] local.INFO: GPS Element Parsed {"raw_longitude":756451328,"raw_latitude":119515808,"longitude_deg":75.6451328,"latitude_deg":11.9515808,"altitude":32,"angle":87,"satellites":38,"speed":0,"hex_longitude":"2d168800","hex_latitude":"071faaa0","is_valid_coordinates":true} 
[2026-07-27 10:00:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:00:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992339968001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:00:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8789289794011136,"note":"Value kept but may cause issues"} 
[2026-07-27 10:00:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623547696263110656,"note":"Value kept but may cause issues"} 
[2026-07-27 10:00:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:00:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785126349000,"timestamp_ms":1785126349000,"timestamp_seconds":1785126349,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1d268c8"} 
[2026-07-27 10:00:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:00:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 10: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-27 10:00:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:00:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:00:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:00:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:00:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:00:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143870,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:00:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143870,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:00:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:00:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:00:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:00:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992339968001,"66":12972,"131":206,"28":31744,"24":0,"16":8789289794011136,"45":1623547696263110656},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-07-27 10:00:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:00:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:00:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992339968001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:00:09] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-27 10:00:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:00:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8789289794011136,"km_value":8789289794011.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:00:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623547696263110656,"description":"Unknown IO ID 45"} 
[2026-07-27 10:00:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992339968001,"power":12972,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1623547696263110656}} 
[2026-07-27 10:00:09] local.INFO: DEBUG: GPS processor result {"connection_id":143870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552506,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:00:09] local.INFO: GPS data processed {"connection_id":143870,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:00:09] local.INFO: Acknowledgment sent {"connection_id":143870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:00:09] local.INFO: TCP Data received {"connection_id":142882,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1d4d1f8012d7faa8005afd700000c002728..."} 
[2026-07-27 10:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1d4d1f8012d7faa8005afd700000c002728..."} 
[2026-07-27 10:00:09] local.INFO: Processing buffer {"connection_id":142882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1d4d1f8012d7faa8005afd700000c002728..."} 
[2026-07-27 10:00:09] local.INFO: Packet analysis {"connection_id":142882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1d4"} 
[2026-07-27 10:00:09] local.INFO: Extracted packet for processing {"connection_id":142882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1d4"} 
[2026-07-27 10:00:09] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95409920,"longitude_deg":76.334144,"latitude_deg":9.540992,"altitude":12,"angle":39,"satellites":40,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd700","is_valid_coordinates":true} 
[2026-07-27 10:00:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:00:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992308736001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:00:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826710646390784,"note":"Value kept but may cause issues"} 
[2026-07-27 10:00:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770954240,"note":"Value kept but may cause issues"} 
[2026-07-27 10:00:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:00:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785126507000,"timestamp_ms":1785126507000,"timestamp_seconds":1785126507,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1d4d1f8"} 
[2026-07-27 10:00:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:00:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 10: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":205,"data_length":795,"current_offset":136} 
[2026-07-27 10:00:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:00:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:00:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:00:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:00:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:00:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:00:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:00:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:00:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 10:00:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 10:00:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992308736001,"66":25343,"250":206,"85":12544,"24":0,"16":358826710646390784,"45":9199305950770954240},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 10:00:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 10:00:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 10:00:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992308736001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:00:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 10:00:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 10:00:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826710646390784,"km_value":358826710646390.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:00:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770954240,"description":"Unknown IO ID 45"} 
[2026-07-27 10:00:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992308736001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770954240}} 
[2026-07-27 10:00:09] local.INFO: DEBUG: GPS processor result {"connection_id":142882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:00:09] local.INFO: GPS data processed {"connection_id":142882,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:00:09] local.INFO: Acknowledgment sent {"connection_id":142882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:00:30] local.INFO: TCP Data received {"connection_id":142883,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142883,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:00:30] local.INFO: Processing buffer {"connection_id":142883,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:00:30] local.INFO: IMEI packet received {"connection_id":142883,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 10:00:30] local.INFO: IMEI acknowledgment sent {"connection_id":142883,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:00:35] local.INFO: TCP Data received {"connection_id":142883,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142883,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:00:36] local.INFO: Processing buffer {"connection_id":142883,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:00:36] local.INFO: IMEI packet received {"connection_id":142883,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 10:00:36] local.INFO: IMEI acknowledgment sent {"connection_id":142883,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:00:37] local.INFO: TCP Data received {"connection_id":142883,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1d2bad0012d168800071faaa00020005726..."} 
[2026-07-27 10:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1d2bad0012d168800071faaa00020005726..."} 
[2026-07-27 10:00:37] local.INFO: Processing buffer {"connection_id":142883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1d2bad0012d168800071faaa00020005726..."} 
[2026-07-27 10:00:37] local.INFO: Packet analysis {"connection_id":142883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1d2"} 
[2026-07-27 10:00:37] local.INFO: Extracted packet for processing {"connection_id":142883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1d2"} 
[2026-07-27 10:00:37] local.INFO: GPS Element Parsed {"raw_longitude":756451328,"raw_latitude":119515808,"longitude_deg":75.6451328,"latitude_deg":11.9515808,"altitude":32,"angle":87,"satellites":38,"speed":0,"hex_longitude":"2d168800","hex_latitude":"071faaa0","is_valid_coordinates":true} 
[2026-07-27 10:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992345344001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8789289794011136,"note":"Value kept but may cause issues"} 
[2026-07-27 10:00:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623547696263110656,"note":"Value kept but may cause issues"} 
[2026-07-27 10:00:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785126370000,"timestamp_ms":1785126370000,"timestamp_seconds":1785126370,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1d2bad0"} 
[2026-07-27 10:00:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:00:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 10:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-27 10:00:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:00:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:00:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":142883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":142883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":142883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:00:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:00:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992345344001,"66":12972,"131":206,"28":31744,"24":0,"16":8789289794011136,"45":1623547696263110656},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-07-27 10:00:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:00:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:00:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992345344001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:00:37] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-27 10:00:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:00:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8789289794011136,"km_value":8789289794011.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:00:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623547696263110656,"description":"Unknown IO ID 45"} 
[2026-07-27 10:00:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992345344001,"power":12972,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1623547696263110656}} 
[2026-07-27 10:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":142883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552508,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:00:37] local.INFO: GPS data processed {"connection_id":142883,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:00:37] local.INFO: Acknowledgment sent {"connection_id":142883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:00:37] local.INFO: TCP Data received {"connection_id":145187,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:00:37] local.INFO: Processing buffer {"connection_id":145187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:00:37] local.INFO: IMEI packet received {"connection_id":145187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 10:00:37] local.INFO: IMEI acknowledgment sent {"connection_id":145187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:00:42] local.INFO: TCP Data received {"connection_id":145187,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:00:42] local.INFO: Processing buffer {"connection_id":145187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:00:42] local.INFO: IMEI packet received {"connection_id":145187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 10:00:42] local.INFO: IMEI acknowledgment sent {"connection_id":145187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:00:43] local.INFO: TCP Data received {"connection_id":145187,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1d4d1f8012d7faa8005afd700000c002728..."} 
[2026-07-27 10:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145187,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1d4d1f8012d7faa8005afd700000c002728..."} 
[2026-07-27 10:00:43] local.INFO: Processing buffer {"connection_id":145187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1d4d1f8012d7faa8005afd700000c002728..."} 
[2026-07-27 10:00:43] local.INFO: Packet analysis {"connection_id":145187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1d4"} 
[2026-07-27 10:00:43] local.INFO: Extracted packet for processing {"connection_id":145187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1d4"} 
[2026-07-27 10:00:43] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95409920,"longitude_deg":76.334144,"latitude_deg":9.540992,"altitude":12,"angle":39,"satellites":40,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd700","is_valid_coordinates":true} 
[2026-07-27 10:00:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:00:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992308736001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:00:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826710646390784,"note":"Value kept but may cause issues"} 
[2026-07-27 10:00:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770954240,"note":"Value kept but may cause issues"} 
[2026-07-27 10:00:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:00:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785126507000,"timestamp_ms":1785126507000,"timestamp_seconds":1785126507,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1d4d1f8"} 
[2026-07-27 10:00:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:00:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 10:00:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-27 10:00:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:00:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:00:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:00:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:00:43] local.INFO: Teltonika packet parsed successfully {"connection_id":145187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:00:43] local.INFO: Passing IMEI to GPS processor {"connection_id":145187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:00:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":145187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:00:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:00:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 10:00:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 10:00:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992308736001,"66":25343,"250":206,"85":12544,"24":0,"16":358826710646390784,"45":9199305950770954240},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 10:00:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 10:00:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 10:00:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992308736001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:00:43] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 10:00:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 10:00:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826710646390784,"km_value":358826710646390.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:00:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770954240,"description":"Unknown IO ID 45"} 
[2026-07-27 10:00:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992308736001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770954240}} 
[2026-07-27 10:00:43] local.INFO: DEBUG: GPS processor result {"connection_id":145187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:00:43] local.INFO: GPS data processed {"connection_id":145187,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:00:43] local.INFO: Acknowledgment sent {"connection_id":145187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:00:48] local.INFO: TCP Data received {"connection_id":145187,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1d4d1f8012d7faa8005afd700000c002728..."} 
[2026-07-27 10:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145187,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1d4d1f8012d7faa8005afd700000c002728..."} 
[2026-07-27 10:00:48] local.INFO: Processing buffer {"connection_id":145187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1d4d1f8012d7faa8005afd700000c002728..."} 
[2026-07-27 10:00:48] local.INFO: Packet analysis {"connection_id":145187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1d4"} 
[2026-07-27 10:00:48] local.INFO: Extracted packet for processing {"connection_id":145187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1d4"} 
[2026-07-27 10:00:48] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95409920,"longitude_deg":76.334144,"latitude_deg":9.540992,"altitude":12,"angle":39,"satellites":40,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd700","is_valid_coordinates":true} 
[2026-07-27 10: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-07-27 10:00:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992308736001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:00:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826710646390784,"note":"Value kept but may cause issues"} 
[2026-07-27 10:00:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770954240,"note":"Value kept but may cause issues"} 
[2026-07-27 10:00:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:00:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785126507000,"timestamp_ms":1785126507000,"timestamp_seconds":1785126507,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1d4d1f8"} 
[2026-07-27 10:00:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:00:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 10: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-27 10:00:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10: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-07-27 10:00:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:00:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:00:48] local.INFO: Teltonika packet parsed successfully {"connection_id":145187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:00:48] local.INFO: Passing IMEI to GPS processor {"connection_id":145187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:00:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":145187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:00:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:00:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 10:00:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 10:00:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992308736001,"66":25343,"250":206,"85":12544,"24":0,"16":358826710646390784,"45":9199305950770954240},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 10:00:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 10:00:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 10:00:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992308736001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:00:48] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 10:00:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 10:00:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826710646390784,"km_value":358826710646390.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:00:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770954240,"description":"Unknown IO ID 45"} 
[2026-07-27 10:00:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992308736001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770954240}} 
[2026-07-27 10:00:48] local.INFO: DEBUG: GPS processor result {"connection_id":145187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:00:48] local.INFO: GPS data processed {"connection_id":145187,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:00:48] local.INFO: Acknowledgment sent {"connection_id":145187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:01:08] local.INFO: TCP Data received {"connection_id":142883,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1d30cd8012d168800071faaa00020005728..."} 
[2026-07-27 10:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1d30cd8012d168800071faaa00020005728..."} 
[2026-07-27 10:01:08] local.INFO: Processing buffer {"connection_id":142883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1d30cd8012d168800071faaa00020005728..."} 
[2026-07-27 10:01:08] local.INFO: Packet analysis {"connection_id":142883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1d3"} 
[2026-07-27 10:01:08] local.INFO: Extracted packet for processing {"connection_id":142883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1d3"} 
[2026-07-27 10:01:08] local.INFO: GPS Element Parsed {"raw_longitude":756451328,"raw_latitude":119515808,"longitude_deg":75.6451328,"latitude_deg":11.9515808,"altitude":32,"angle":87,"satellites":40,"speed":0,"hex_longitude":"2d168800","hex_latitude":"071faaa0","is_valid_coordinates":true} 
[2026-07-27 10:01:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:01:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992350720001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:01:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8789289794011136,"note":"Value kept but may cause issues"} 
[2026-07-27 10:01:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623547696263110656,"note":"Value kept but may cause issues"} 
[2026-07-27 10:01:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:01:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785126391000,"timestamp_ms":1785126391000,"timestamp_seconds":1785126391,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1d30cd8"} 
[2026-07-27 10:01:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:01:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 10: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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-27 10:01:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:01:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:01:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:01:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:01:08] local.INFO: Teltonika packet parsed successfully {"connection_id":142883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:01:08] local.INFO: Passing IMEI to GPS processor {"connection_id":142883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:01:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":142883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:01:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:01:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:01:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:01:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992350720001,"66":12950,"131":206,"28":31744,"24":0,"16":8789289794011136,"45":1623547696263110656},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-07-27 10:01:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:01:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:01:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992350720001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:01:08] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-27 10:01:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:01:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8789289794011136,"km_value":8789289794011.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:01:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623547696263110656,"description":"Unknown IO ID 45"} 
[2026-07-27 10:01:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992350720001,"power":12950,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1623547696263110656}} 
[2026-07-27 10:01:08] local.INFO: DEBUG: GPS processor result {"connection_id":142883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552511,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:01:08] local.INFO: GPS data processed {"connection_id":142883,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:01:08] local.INFO: Acknowledgment sent {"connection_id":142883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:01:30] local.INFO: TCP Data received {"connection_id":142884,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142884,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:01:30] local.INFO: Processing buffer {"connection_id":142884,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:01:30] local.INFO: IMEI packet received {"connection_id":142884,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 10:01:30] local.INFO: IMEI acknowledgment sent {"connection_id":142884,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:01:32] local.INFO: TCP Data received {"connection_id":142753,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:01:32] local.INFO: Processing buffer {"connection_id":142753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:01:32] local.INFO: IMEI packet received {"connection_id":142753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 10:01:32] local.INFO: IMEI acknowledgment sent {"connection_id":142753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:01:35] local.INFO: TCP Data received {"connection_id":142884,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142884,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:01:35] local.INFO: Processing buffer {"connection_id":142884,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:01:35] local.INFO: IMEI packet received {"connection_id":142884,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 10:01:35] local.INFO: IMEI acknowledgment sent {"connection_id":142884,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:01:37] local.INFO: TCP Data received {"connection_id":142884,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1d35ee0012d168800071faaa0002000572a..."} 
[2026-07-27 10:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142884,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1d35ee0012d168800071faaa0002000572a..."} 
[2026-07-27 10:01:37] local.INFO: Processing buffer {"connection_id":142884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1d35ee0012d168800071faaa0002000572a..."} 
[2026-07-27 10:01:37] local.INFO: Packet analysis {"connection_id":142884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1d3"} 
[2026-07-27 10:01:37] local.INFO: Extracted packet for processing {"connection_id":142884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1d3"} 
[2026-07-27 10:01:37] local.INFO: GPS Element Parsed {"raw_longitude":756451328,"raw_latitude":119515808,"longitude_deg":75.6451328,"latitude_deg":11.9515808,"altitude":32,"angle":87,"satellites":42,"speed":0,"hex_longitude":"2d168800","hex_latitude":"071faaa0","is_valid_coordinates":true} 
[2026-07-27 10:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992356096001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8789289794011136,"note":"Value kept but may cause issues"} 
[2026-07-27 10:01:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623547696263110656,"note":"Value kept but may cause issues"} 
[2026-07-27 10:01:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785126412000,"timestamp_ms":1785126412000,"timestamp_seconds":1785126412,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1d35ee0"} 
[2026-07-27 10:01:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:01:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 10:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-27 10:01:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:01:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:01:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":142884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":142884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":142884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:01:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992356096001,"66":12885,"131":206,"28":31744,"24":0,"16":8789289794011136,"45":1623547696263110656},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-07-27 10:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992356096001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:01:37] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-27 10:01:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:01:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8789289794011136,"km_value":8789289794011.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:01:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623547696263110656,"description":"Unknown IO ID 45"} 
[2026-07-27 10:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992356096001,"power":12885,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1623547696263110656}} 
[2026-07-27 10:01:37] local.INFO: DEBUG: GPS processor result {"connection_id":142884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552512,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:01:37] local.INFO: GPS data processed {"connection_id":142884,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:01:37] local.INFO: Acknowledgment sent {"connection_id":142884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:01:37] local.INFO: TCP Data received {"connection_id":142753,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:01:37] local.INFO: Processing buffer {"connection_id":142753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:01:37] local.INFO: IMEI packet received {"connection_id":142753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 10:01:37] local.INFO: IMEI acknowledgment sent {"connection_id":142753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:01:38] local.INFO: TCP Data received {"connection_id":142753,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1d4d1f8012d7faa8005afd700000c002728..."} 
[2026-07-27 10:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1d4d1f8012d7faa8005afd700000c002728..."} 
[2026-07-27 10:01:38] local.INFO: Processing buffer {"connection_id":142753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1d4d1f8012d7faa8005afd700000c002728..."} 
[2026-07-27 10:01:38] local.INFO: Packet analysis {"connection_id":142753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1d4"} 
[2026-07-27 10:01:38] local.INFO: Extracted packet for processing {"connection_id":142753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1d4"} 
[2026-07-27 10:01:38] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95409920,"longitude_deg":76.334144,"latitude_deg":9.540992,"altitude":12,"angle":39,"satellites":40,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd700","is_valid_coordinates":true} 
[2026-07-27 10:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:01:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992308736001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:01:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826710646390784,"note":"Value kept but may cause issues"} 
[2026-07-27 10:01:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770954240,"note":"Value kept but may cause issues"} 
[2026-07-27 10:01:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:01:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785126507000,"timestamp_ms":1785126507000,"timestamp_seconds":1785126507,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1d4d1f8"} 
[2026-07-27 10:01:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:01:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 10:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-27 10:01:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:01:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:01:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:01:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:01:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:01:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:01:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:01:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:01:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 10:01:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 10:01:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992308736001,"66":25343,"250":206,"85":12544,"24":0,"16":358826710646390784,"45":9199305950770954240},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 10:01:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 10:01:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 10:01:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992308736001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:01:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 10:01:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 10:01:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826710646390784,"km_value":358826710646390.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:01:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770954240,"description":"Unknown IO ID 45"} 
[2026-07-27 10:01:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992308736001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770954240}} 
[2026-07-27 10:01:38] local.INFO: DEBUG: GPS processor result {"connection_id":142753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:01:38] local.INFO: GPS data processed {"connection_id":142753,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:01:38] local.INFO: Acknowledgment sent {"connection_id":142753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:02:09] local.INFO: TCP Data received {"connection_id":142884,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1d6e538012d168800071faaa00020005727..."} 
[2026-07-27 10:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142884,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1d6e538012d168800071faaa00020005727..."} 
[2026-07-27 10:02:09] local.INFO: Processing buffer {"connection_id":142884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1d6e538012d168800071faaa00020005727..."} 
[2026-07-27 10:02:09] local.INFO: Packet analysis {"connection_id":142884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1d6"} 
[2026-07-27 10:02:09] local.INFO: Extracted packet for processing {"connection_id":142884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1d6"} 
[2026-07-27 10:02:09] local.INFO: GPS Element Parsed {"raw_longitude":756451328,"raw_latitude":119515808,"longitude_deg":75.6451328,"latitude_deg":11.9515808,"altitude":32,"angle":87,"satellites":39,"speed":0,"hex_longitude":"2d168800","hex_latitude":"071faaa0","is_valid_coordinates":true} 
[2026-07-27 10:02:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:02:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992415232001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:02:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8789289794011136,"note":"Value kept but may cause issues"} 
[2026-07-27 10:02:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623547696263110656,"note":"Value kept but may cause issues"} 
[2026-07-27 10:02:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:02:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785126643000,"timestamp_ms":1785126643000,"timestamp_seconds":1785126643,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1d6e538"} 
[2026-07-27 10:02:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:02:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 10:02:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-27 10:02:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:02:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:02:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:02:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:02:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:02:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:02:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:02:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:02:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:02:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:02:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992415232001,"66":12743,"131":206,"28":31744,"24":0,"16":8789289794011136,"45":1623547696263110656},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-07-27 10:02:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:02:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:02:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992415232001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:02:09] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-27 10:02:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:02:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8789289794011136,"km_value":8789289794011.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:02:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623547696263110656,"description":"Unknown IO ID 45"} 
[2026-07-27 10:02:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992415232001,"power":12743,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1623547696263110656}} 
[2026-07-27 10:02:09] local.INFO: TCP Data received {"connection_id":142753,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1d79500012d7faa8005afd700001100272d..."} 
[2026-07-27 10:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1d79500012d7faa8005afd700001100272d..."} 
[2026-07-27 10:02:09] local.INFO: Processing buffer {"connection_id":142753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1d79500012d7faa8005afd700001100272d..."} 
[2026-07-27 10:02:09] local.INFO: Packet analysis {"connection_id":142753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1d7"} 
[2026-07-27 10:02:09] local.INFO: Extracted packet for processing {"connection_id":142753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1d7"} 
[2026-07-27 10:02:09] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95409920,"longitude_deg":76.334144,"latitude_deg":9.540992,"altitude":17,"angle":39,"satellites":45,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd700","is_valid_coordinates":true} 
[2026-07-27 10:02:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:02:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992385792001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:02:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826710646390784,"note":"Value kept but may cause issues"} 
[2026-07-27 10:02:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770954240,"note":"Value kept but may cause issues"} 
[2026-07-27 10:02:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:02:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785126688000,"timestamp_ms":1785126688000,"timestamp_seconds":1785126688,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1d79500"} 
[2026-07-27 10:02:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:02:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 10:02:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-27 10:02:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:02:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:02:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:02:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:02:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:02:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:02:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:02:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:02:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 10:02:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 10:02:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992385792001,"66":25299,"250":206,"85":12544,"24":0,"16":358826710646390784,"45":9199305950770954240},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 10:02:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 10:02:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 10:02:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992385792001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:02:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 10:02:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 10:02:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826710646390784,"km_value":358826710646390.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:02:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770954240,"description":"Unknown IO ID 45"} 
[2026-07-27 10:02:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992385792001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770954240}} 
[2026-07-27 10:02:09] local.INFO: DEBUG: GPS processor result {"connection_id":142753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:02:09] local.INFO: GPS data processed {"connection_id":142753,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:02:09] local.INFO: Acknowledgment sent {"connection_id":142753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:02:09] local.INFO: DEBUG: GPS processor result {"connection_id":142884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552515,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:02:09] local.INFO: GPS data processed {"connection_id":142884,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:02:09] local.INFO: Acknowledgment sent {"connection_id":142884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:02:30] local.INFO: TCP Data received {"connection_id":143873,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143873,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:02:30] local.INFO: Processing buffer {"connection_id":143873,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:02:30] local.INFO: IMEI packet received {"connection_id":143873,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 10:02:30] local.INFO: IMEI acknowledgment sent {"connection_id":143873,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:02:32] local.INFO: TCP Data received {"connection_id":143874,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:02:32] local.INFO: Processing buffer {"connection_id":143874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:02:32] local.INFO: IMEI packet received {"connection_id":143874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 10:02:32] local.INFO: IMEI acknowledgment sent {"connection_id":143874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:02:36] local.INFO: TCP Data received {"connection_id":143873,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143873,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:02:36] local.INFO: Processing buffer {"connection_id":143873,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:02:36] local.INFO: IMEI packet received {"connection_id":143873,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 10:02:36] local.INFO: IMEI acknowledgment sent {"connection_id":143873,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:02:37] local.INFO: TCP Data received {"connection_id":143873,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1d73740012d168800071faaa00020005726..."} 
[2026-07-27 10:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143873,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1d73740012d168800071faaa00020005726..."} 
[2026-07-27 10:02:37] local.INFO: Processing buffer {"connection_id":143873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1d73740012d168800071faaa00020005726..."} 
[2026-07-27 10:02:37] local.INFO: Packet analysis {"connection_id":143873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1d7"} 
[2026-07-27 10:02:37] local.INFO: Extracted packet for processing {"connection_id":143873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1d7"} 
[2026-07-27 10:02:37] local.INFO: GPS Element Parsed {"raw_longitude":756451328,"raw_latitude":119515808,"longitude_deg":75.6451328,"latitude_deg":11.9515808,"altitude":32,"angle":87,"satellites":38,"speed":0,"hex_longitude":"2d168800","hex_latitude":"071faaa0","is_valid_coordinates":true} 
[2026-07-27 10:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992420608001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8789289794011136,"note":"Value kept but may cause issues"} 
[2026-07-27 10:02:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623547696263110656,"note":"Value kept but may cause issues"} 
[2026-07-27 10:02:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785126664000,"timestamp_ms":1785126664000,"timestamp_seconds":1785126664,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1d73740"} 
[2026-07-27 10:02:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:02:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 10:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-07-27 10:02:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:02:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:02:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143873,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143873,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:02:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992420608001,"66":12722,"131":206,"28":31744,"24":0,"16":8789289794011136,"45":1623547696263110656},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-07-27 10:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992420608001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:02:37] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-27 10:02:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:02:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8789289794011136,"km_value":8789289794011.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:02:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623547696263110656,"description":"Unknown IO ID 45"} 
[2026-07-27 10:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992420608001,"power":12722,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1623547696263110656}} 
[2026-07-27 10:02:37] local.INFO: DEBUG: GPS processor result {"connection_id":143873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552516,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:02:37] local.INFO: GPS data processed {"connection_id":143873,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:02:37] local.INFO: Acknowledgment sent {"connection_id":143873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:02:37] local.INFO: TCP Data received {"connection_id":143874,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:02:37] local.INFO: Processing buffer {"connection_id":143874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:02:37] local.INFO: IMEI packet received {"connection_id":143874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 10:02:37] local.INFO: IMEI acknowledgment sent {"connection_id":143874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:02:38] local.INFO: TCP Data received {"connection_id":143874,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1d79cd0012d7fad8005afd650001100ea2d..."} 
[2026-07-27 10:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1d79cd0012d7fad8005afd650001100ea2d..."} 
[2026-07-27 10:02:38] local.INFO: Processing buffer {"connection_id":143874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1d79cd0012d7fad8005afd650001100ea2d..."} 
[2026-07-27 10:02:38] local.INFO: Packet analysis {"connection_id":143874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1d7"} 
[2026-07-27 10:02:38] local.INFO: Extracted packet for processing {"connection_id":143874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1d7"} 
[2026-07-27 10:02:38] local.INFO: GPS Element Parsed {"raw_longitude":763342208,"raw_latitude":95409744,"longitude_deg":76.3342208,"latitude_deg":9.5409744,"altitude":17,"angle":234,"satellites":45,"speed":0,"hex_longitude":"2d7fad80","hex_latitude":"05afd650","is_valid_coordinates":true} 
[2026-07-27 10:02:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:02:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992432128001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:02:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826710646390784,"note":"Value kept but may cause issues"} 
[2026-07-27 10:02:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770954240,"note":"Value kept but may cause issues"} 
[2026-07-27 10:02:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:02:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785126690000,"timestamp_ms":1785126690000,"timestamp_seconds":1785126690,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1d79cd0"} 
[2026-07-27 10:02:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:02:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 10:02:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-27 10:02:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:02:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:02:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:02:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:02:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:02:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:02:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:02:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:02:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 10:02:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 10:02:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992432128001,"66":25180,"250":206,"85":12544,"24":0,"16":358826710646390784,"45":9199305950770954240},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 10:02:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 10:02:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 10:02:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992432128001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:02:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 10:02:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 10:02:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826710646390784,"km_value":358826710646390.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:02:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770954240,"description":"Unknown IO ID 45"} 
[2026-07-27 10:02:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992432128001,"power":25180,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770954240}} 
[2026-07-27 10:02:38] local.INFO: DEBUG: GPS processor result {"connection_id":143874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:02:38] local.INFO: GPS data processed {"connection_id":143874,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:02:38] local.INFO: Acknowledgment sent {"connection_id":143874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:03:08] local.INFO: TCP Data received {"connection_id":143873,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1d78948012d168800071faaa00020005726..."} 
[2026-07-27 10:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143873,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1d78948012d168800071faaa00020005726..."} 
[2026-07-27 10:03:08] local.INFO: Processing buffer {"connection_id":143873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1d78948012d168800071faaa00020005726..."} 
[2026-07-27 10:03:08] local.INFO: Packet analysis {"connection_id":143873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1d7"} 
[2026-07-27 10:03:08] local.INFO: Extracted packet for processing {"connection_id":143873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1d7"} 
[2026-07-27 10:03:08] local.INFO: GPS Element Parsed {"raw_longitude":756451328,"raw_latitude":119515808,"longitude_deg":75.6451328,"latitude_deg":11.9515808,"altitude":32,"angle":87,"satellites":38,"speed":0,"hex_longitude":"2d168800","hex_latitude":"071faaa0","is_valid_coordinates":true} 
[2026-07-27 10:03:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:03:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992425984001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:03:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8789289794011136,"note":"Value kept but may cause issues"} 
[2026-07-27 10:03:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623547696263110656,"note":"Value kept but may cause issues"} 
[2026-07-27 10:03:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:03:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785126685000,"timestamp_ms":1785126685000,"timestamp_seconds":1785126685,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1d78948"} 
[2026-07-27 10:03:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:03:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 10:03:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-27 10:03:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:03:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:03:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:03:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:03:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:03:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143873,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:03:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143873,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:03:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:03:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:03:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:03:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992425984001,"66":11874,"131":206,"28":31744,"24":0,"16":8789289794011136,"45":1623547696263110656},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-07-27 10:03:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:03:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:03:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992425984001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:03:08] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-27 10:03:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:03:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8789289794011136,"km_value":8789289794011.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:03:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623547696263110656,"description":"Unknown IO ID 45"} 
[2026-07-27 10:03:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992425984001,"power":11874,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1623547696263110656}} 
[2026-07-27 10:03:08] local.INFO: DEBUG: GPS processor result {"connection_id":143873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552518,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:03:08] local.INFO: GPS data processed {"connection_id":143873,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:03:08] local.INFO: Acknowledgment sent {"connection_id":143873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:03:09] local.INFO: TCP Data received {"connection_id":143874,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1d7eaf0012d7fad4005afd650001100ea2b..."} 
[2026-07-27 10:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1d7eaf0012d7fad4005afd650001100ea2b..."} 
[2026-07-27 10:03:09] local.INFO: Processing buffer {"connection_id":143874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1d7eaf0012d7fad4005afd650001100ea2b..."} 
[2026-07-27 10:03:09] local.INFO: Packet analysis {"connection_id":143874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1d7"} 
[2026-07-27 10:03:09] local.INFO: Extracted packet for processing {"connection_id":143874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1d7"} 
[2026-07-27 10:03:09] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95409744,"longitude_deg":76.3342144,"latitude_deg":9.5409744,"altitude":17,"angle":234,"satellites":43,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afd650","is_valid_coordinates":true} 
[2026-07-27 10:03:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:03:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992432640001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:03:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826719236325376,"note":"Value kept but may cause issues"} 
[2026-07-27 10:03:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200150375701041152,"note":"Value kept but may cause issues"} 
[2026-07-27 10:03:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:03:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785126710000,"timestamp_ms":1785126710000,"timestamp_seconds":1785126710,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1d7eaf0"} 
[2026-07-27 10:03:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:03:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-27 10:03:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:03:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:03:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:03:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:03:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:03:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:03:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:03:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:03:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 10:03:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 10:03:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992432640001,"66":27626,"250":206,"85":12544,"24":0,"16":358826719236325376,"45":9200150375701041152},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 10:03:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 10:03:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 10:03:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992432640001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:03:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 10:03:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 10:03:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826719236325376,"km_value":358826719236325.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:03:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200150375701041152,"description":"Unknown IO ID 45"} 
[2026-07-27 10:03:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992432640001,"power":27626,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200150375701041152}} 
[2026-07-27 10:03:09] local.INFO: DEBUG: GPS processor result {"connection_id":143874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:03:09] local.INFO: GPS data processed {"connection_id":143874,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:03:09] local.INFO: Acknowledgment sent {"connection_id":143874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:03:25] local.INFO: TCP Data received {"connection_id":145188,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 10:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145188,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 10:03:25] local.INFO: Processing buffer {"connection_id":145188,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 10:03:25] local.INFO: IMEI packet received {"connection_id":145188,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 10:03:25] local.INFO: IMEI acknowledgment sent {"connection_id":145188,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:03:30] local.INFO: TCP Data received {"connection_id":143875,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143875,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:03:30] local.INFO: Processing buffer {"connection_id":143875,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:03:30] local.INFO: IMEI packet received {"connection_id":143875,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 10:03:30] local.INFO: IMEI acknowledgment sent {"connection_id":143875,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:03:32] local.INFO: TCP Data received {"connection_id":142755,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:03:32] local.INFO: Processing buffer {"connection_id":142755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:03:32] local.INFO: IMEI packet received {"connection_id":142755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 10:03:32] local.INFO: IMEI acknowledgment sent {"connection_id":142755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:03:35] local.INFO: TCP Data received {"connection_id":143875,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143875,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:03:35] local.INFO: Processing buffer {"connection_id":143875,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:03:35] local.INFO: IMEI packet received {"connection_id":143875,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 10:03:35] local.INFO: IMEI acknowledgment sent {"connection_id":143875,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:03:36] local.INFO: TCP Data received {"connection_id":143875,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1d7db50012d168800071faaa00020005726..."} 
[2026-07-27 10:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1d7db50012d168800071faaa00020005726..."} 
[2026-07-27 10:03:36] local.INFO: Processing buffer {"connection_id":143875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1d7db50012d168800071faaa00020005726..."} 
[2026-07-27 10:03:36] local.INFO: Packet analysis {"connection_id":143875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1d7"} 
[2026-07-27 10:03:36] local.INFO: Extracted packet for processing {"connection_id":143875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1d7"} 
[2026-07-27 10:03:36] local.INFO: GPS Element Parsed {"raw_longitude":756451328,"raw_latitude":119515808,"longitude_deg":75.6451328,"latitude_deg":11.9515808,"altitude":32,"angle":87,"satellites":38,"speed":0,"hex_longitude":"2d168800","hex_latitude":"071faaa0","is_valid_coordinates":true} 
[2026-07-27 10:03:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:03:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992431360001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:03:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8789289794011136,"note":"Value kept but may cause issues"} 
[2026-07-27 10:03:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623547696263110656,"note":"Value kept but may cause issues"} 
[2026-07-27 10:03:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:03:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785126706000,"timestamp_ms":1785126706000,"timestamp_seconds":1785126706,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1d7db50"} 
[2026-07-27 10:03:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:03:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 10:03:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-27 10:03:36] 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-07-27 10:03:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:03:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:03:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:03:36] local.INFO: Teltonika packet parsed successfully {"connection_id":143875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:03:36] local.INFO: Passing IMEI to GPS processor {"connection_id":143875,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:03:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":143875,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:03:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:03:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:03:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:03:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992431360001,"66":12711,"131":206,"28":31744,"24":0,"16":8789289794011136,"45":1623547696263110656},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-07-27 10:03:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:03:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:03:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992431360001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:03:36] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-27 10:03:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:03:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8789289794011136,"km_value":8789289794011.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:03:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623547696263110656,"description":"Unknown IO ID 45"} 
[2026-07-27 10:03:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992431360001,"power":12711,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1623547696263110656}} 
[2026-07-27 10:03:37] local.INFO: DEBUG: GPS processor result {"connection_id":143875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552520,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:03:37] local.INFO: GPS data processed {"connection_id":143875,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:03:37] local.INFO: Acknowledgment sent {"connection_id":143875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:03:37] local.INFO: TCP Data received {"connection_id":142755,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:03:37] local.INFO: Processing buffer {"connection_id":142755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:03:37] local.INFO: IMEI packet received {"connection_id":142755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 10:03:37] local.INFO: IMEI acknowledgment sent {"connection_id":142755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:03:38] local.INFO: TCP Data received {"connection_id":142755,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1d7eed8012d7fad4005afd650001200ea2a..."} 
[2026-07-27 10:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1d7eed8012d7fad4005afd650001200ea2a..."} 
[2026-07-27 10:03:38] local.INFO: Processing buffer {"connection_id":142755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1d7eed8012d7fad4005afd650001200ea2a..."} 
[2026-07-27 10:03:38] local.INFO: Packet analysis {"connection_id":142755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1d7"} 
[2026-07-27 10:03:38] local.INFO: Extracted packet for processing {"connection_id":142755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1d7"} 
[2026-07-27 10:03:38] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95409744,"longitude_deg":76.3342144,"latitude_deg":9.5409744,"altitude":18,"angle":234,"satellites":42,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afd650","is_valid_coordinates":true} 
[2026-07-27 10:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:03:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992437760001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:03:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826719236325376,"note":"Value kept but may cause issues"} 
[2026-07-27 10:03:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006956863488,"note":"Value kept but may cause issues"} 
[2026-07-27 10:03:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:03:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785126711000,"timestamp_ms":1785126711000,"timestamp_seconds":1785126711,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1d7eed8"} 
[2026-07-27 10:03:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:03:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 10:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-07-27 10:03:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:03:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:03:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:03:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:03:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:03:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:03:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:03:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:03:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 10:03:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 10:03:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992437760001,"66":26278,"250":206,"85":12544,"24":0,"16":358826719236325376,"45":9200080006956863488},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 10:03:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 10:03:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 10:03:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992437760001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:03:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 10:03:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 10:03:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826719236325376,"km_value":358826719236325.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:03:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006956863488,"description":"Unknown IO ID 45"} 
[2026-07-27 10:03:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992437760001,"power":26278,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006956863488}} 
[2026-07-27 10:03:38] local.INFO: DEBUG: GPS processor result {"connection_id":142755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:03:38] local.INFO: GPS data processed {"connection_id":142755,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:03:38] local.INFO: Acknowledgment sent {"connection_id":142755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:03:45] local.INFO: TCP Data received {"connection_id":143876,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 10:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143876,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 10:03:45] local.INFO: Processing buffer {"connection_id":143876,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 10:03:45] local.INFO: IMEI packet received {"connection_id":143876,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 10:03:45] local.INFO: IMEI acknowledgment sent {"connection_id":143876,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:04:08] local.INFO: TCP Data received {"connection_id":143875,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1d82d58012d168800071faaa00020005722..."} 
[2026-07-27 10:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1d82d58012d168800071faaa00020005722..."} 
[2026-07-27 10:04:08] local.INFO: Processing buffer {"connection_id":143875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1d82d58012d168800071faaa00020005722..."} 
[2026-07-27 10:04:08] local.INFO: Packet analysis {"connection_id":143875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1d8"} 
[2026-07-27 10:04:08] local.INFO: Extracted packet for processing {"connection_id":143875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1d8"} 
[2026-07-27 10:04:08] local.INFO: GPS Element Parsed {"raw_longitude":756451328,"raw_latitude":119515808,"longitude_deg":75.6451328,"latitude_deg":11.9515808,"altitude":32,"angle":87,"satellites":34,"speed":0,"hex_longitude":"2d168800","hex_latitude":"071faaa0","is_valid_coordinates":true} 
[2026-07-27 10:04:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:04:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992436736001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:04:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8789289794011136,"note":"Value kept but may cause issues"} 
[2026-07-27 10:04:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623547696263110656,"note":"Value kept but may cause issues"} 
[2026-07-27 10:04:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:04:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785126727000,"timestamp_ms":1785126727000,"timestamp_seconds":1785126727,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1d82d58"} 
[2026-07-27 10:04:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:04:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 10:04:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-07-27 10:04:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:04:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:04:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:04:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:04:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:04:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143875,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:04:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143875,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:04:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:04:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:04:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:04:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992436736001,"66":12711,"131":206,"28":31744,"24":0,"16":8789289794011136,"45":1623547696263110656},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-07-27 10:04:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:04:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:04:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992436736001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:04:08] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-27 10:04:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:04:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8789289794011136,"km_value":8789289794011.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:04:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623547696263110656,"description":"Unknown IO ID 45"} 
[2026-07-27 10:04:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992436736001,"power":12711,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1623547696263110656}} 
[2026-07-27 10:04:08] local.INFO: DEBUG: GPS processor result {"connection_id":143875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552522,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:04:08] local.INFO: GPS data processed {"connection_id":143875,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:04:08] local.INFO: Acknowledgment sent {"connection_id":143875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:04:09] local.INFO: TCP Data received {"connection_id":142755,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1d7eed8012d7fad4005afd650001200ea2a..."} 
[2026-07-27 10:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1d7eed8012d7fad4005afd650001200ea2a..."} 
[2026-07-27 10:04:09] local.INFO: Processing buffer {"connection_id":142755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1d7eed8012d7fad4005afd650001200ea2a..."} 
[2026-07-27 10:04:09] local.INFO: Packet analysis {"connection_id":142755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1d7"} 
[2026-07-27 10:04:09] local.INFO: Extracted packet for processing {"connection_id":142755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1d7"} 
[2026-07-27 10:04:09] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95409744,"longitude_deg":76.3342144,"latitude_deg":9.5409744,"altitude":18,"angle":234,"satellites":42,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afd650","is_valid_coordinates":true} 
[2026-07-27 10:04:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:04:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992437760001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:04:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826719236325376,"note":"Value kept but may cause issues"} 
[2026-07-27 10:04:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006956863488,"note":"Value kept but may cause issues"} 
[2026-07-27 10:04:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:04:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785126711000,"timestamp_ms":1785126711000,"timestamp_seconds":1785126711,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1d7eed8"} 
[2026-07-27 10:04:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:04:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 10:04:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-07-27 10:04:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:04:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:04:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:04:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:04:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:04:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:04:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:04:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:04:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 10:04:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 10:04:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992437760001,"66":26278,"250":206,"85":12544,"24":0,"16":358826719236325376,"45":9200080006956863488},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 10:04:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 10:04:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 10:04:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992437760001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:04:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 10:04:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 10:04:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826719236325376,"km_value":358826719236325.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:04:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006956863488,"description":"Unknown IO ID 45"} 
[2026-07-27 10:04:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992437760001,"power":26278,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006956863488}} 
[2026-07-27 10:04:09] local.INFO: DEBUG: GPS processor result {"connection_id":142755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:04:09] local.INFO: GPS data processed {"connection_id":142755,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:04:09] local.INFO: Acknowledgment sent {"connection_id":142755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:04:32] local.INFO: TCP Data received {"connection_id":145189,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:04:32] local.INFO: Processing buffer {"connection_id":145189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:04:32] local.INFO: IMEI packet received {"connection_id":145189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 10:04:32] local.INFO: IMEI acknowledgment sent {"connection_id":145189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:04:35] local.INFO: TCP Data received {"connection_id":145190,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145190,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:04:35] local.INFO: Processing buffer {"connection_id":145190,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:04:35] local.INFO: IMEI packet received {"connection_id":145190,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 10:04:35] local.INFO: IMEI acknowledgment sent {"connection_id":145190,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:04:38] local.INFO: TCP Data received {"connection_id":145189,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:04:38] local.INFO: Processing buffer {"connection_id":145189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:04:38] local.INFO: IMEI packet received {"connection_id":145189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 10:04:38] local.INFO: IMEI acknowledgment sent {"connection_id":145189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:04:39] local.INFO: TCP Data received {"connection_id":145189,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1d7eed8012d7fad4005afd650001200ea2a..."} 
[2026-07-27 10:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145189,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1d7eed8012d7fad4005afd650001200ea2a..."} 
[2026-07-27 10:04:39] local.INFO: Processing buffer {"connection_id":145189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1d7eed8012d7fad4005afd650001200ea2a..."} 
[2026-07-27 10:04:39] local.INFO: Packet analysis {"connection_id":145189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1d7"} 
[2026-07-27 10:04:39] local.INFO: Extracted packet for processing {"connection_id":145189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1d7"} 
[2026-07-27 10:04:39] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95409744,"longitude_deg":76.3342144,"latitude_deg":9.5409744,"altitude":18,"angle":234,"satellites":42,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afd650","is_valid_coordinates":true} 
[2026-07-27 10:04:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:04:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992437760001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:04:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826719236325376,"note":"Value kept but may cause issues"} 
[2026-07-27 10:04:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006956863488,"note":"Value kept but may cause issues"} 
[2026-07-27 10:04:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:04:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785126711000,"timestamp_ms":1785126711000,"timestamp_seconds":1785126711,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1d7eed8"} 
[2026-07-27 10:04:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:04:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 10:04:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-07-27 10:04:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:04:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:04:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:04:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:04:39] local.INFO: Teltonika packet parsed successfully {"connection_id":145189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:04:39] local.INFO: Passing IMEI to GPS processor {"connection_id":145189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:04:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":145189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10: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-07-27 10:04:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 10:04:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 10:04:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992437760001,"66":26278,"250":206,"85":12544,"24":0,"16":358826719236325376,"45":9200080006956863488},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 10:04:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 10:04:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 10:04:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992437760001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:04:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 10:04:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 10:04:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826719236325376,"km_value":358826719236325.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:04:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006956863488,"description":"Unknown IO ID 45"} 
[2026-07-27 10:04:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992437760001,"power":26278,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006956863488}} 
[2026-07-27 10:04:39] local.INFO: DEBUG: GPS processor result {"connection_id":145189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:04:39] local.INFO: GPS data processed {"connection_id":145189,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:04:39] local.INFO: Acknowledgment sent {"connection_id":145189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:04:40] local.INFO: TCP Data received {"connection_id":145190,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145190,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:04:40] local.INFO: Processing buffer {"connection_id":145190,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:04:40] local.INFO: IMEI packet received {"connection_id":145190,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 10:04:40] local.INFO: IMEI acknowledgment sent {"connection_id":145190,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:04:41] local.INFO: TCP Data received {"connection_id":145190,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1d87f60012d168800071faaa00020005723..."} 
[2026-07-27 10:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145190,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1d87f60012d168800071faaa00020005723..."} 
[2026-07-27 10:04:41] local.INFO: Processing buffer {"connection_id":145190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1d87f60012d168800071faaa00020005723..."} 
[2026-07-27 10:04:41] local.INFO: Packet analysis {"connection_id":145190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1d8"} 
[2026-07-27 10:04:41] local.INFO: Extracted packet for processing {"connection_id":145190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1d8"} 
[2026-07-27 10:04:41] local.INFO: GPS Element Parsed {"raw_longitude":756451328,"raw_latitude":119515808,"longitude_deg":75.6451328,"latitude_deg":11.9515808,"altitude":32,"angle":87,"satellites":35,"speed":0,"hex_longitude":"2d168800","hex_latitude":"071faaa0","is_valid_coordinates":true} 
[2026-07-27 10:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:04:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992442112001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:04:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8789289794011136,"note":"Value kept but may cause issues"} 
[2026-07-27 10:04:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623547696263110656,"note":"Value kept but may cause issues"} 
[2026-07-27 10:04:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:04:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785126748000,"timestamp_ms":1785126748000,"timestamp_seconds":1785126748,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1d87f60"} 
[2026-07-27 10:04:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:04:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 10: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-07-27 10:04:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:04:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:04:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:04:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:04:41] local.INFO: Teltonika packet parsed successfully {"connection_id":145190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:04:41] local.INFO: Passing IMEI to GPS processor {"connection_id":145190,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:04:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":145190,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:04:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:04:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:04:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:04:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992442112001,"66":12689,"131":206,"28":31744,"24":0,"16":8789289794011136,"45":1623547696263110656},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-07-27 10:04:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:04:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:04:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992442112001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:04:41] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-27 10:04:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:04:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8789289794011136,"km_value":8789289794011.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:04:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623547696263110656,"description":"Unknown IO ID 45"} 
[2026-07-27 10:04:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992442112001,"power":12689,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1623547696263110656}} 
[2026-07-27 10:04:41] local.INFO: DEBUG: GPS processor result {"connection_id":145190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552525,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:04:41] local.INFO: GPS data processed {"connection_id":145190,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:04:41] local.INFO: Acknowledgment sent {"connection_id":145190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:04:55] local.INFO: TCP Data received {"connection_id":142756,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 10:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142756,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 10:04:55] local.INFO: Processing buffer {"connection_id":142756,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 10:04:55] local.INFO: IMEI packet received {"connection_id":142756,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 10:04:55] local.INFO: IMEI acknowledgment sent {"connection_id":142756,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:04:57] local.INFO: TCP Data received {"connection_id":142756,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1da2540012d0b0f0007032d38001000d822..."} 
[2026-07-27 10:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142756,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1da2540012d0b0f0007032d38001000d822..."} 
[2026-07-27 10:04:57] local.INFO: Processing buffer {"connection_id":142756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1da2540012d0b0f0007032d38001000d822..."} 
[2026-07-27 10:04:57] local.INFO: Packet analysis {"connection_id":142756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1da"} 
[2026-07-27 10:04:57] local.INFO: Extracted packet for processing {"connection_id":142756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1da"} 
[2026-07-27 10:04:57] local.INFO: GPS Element Parsed {"raw_longitude":755699456,"raw_latitude":117648696,"longitude_deg":75.5699456,"latitude_deg":11.7648696,"altitude":16,"angle":216,"satellites":34,"speed":8,"hex_longitude":"2d0b0f00","hex_latitude":"07032d38","is_valid_coordinates":true} 
[2026-07-27 10:04:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:04:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992473088001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:04:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25891394300149760,"note":"Value kept but may cause issues"} 
[2026-07-27 10:04:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798614907791349760,"note":"Value kept but may cause issues"} 
[2026-07-27 10:04:57] 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-07-27 10:04:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785126856000,"timestamp_ms":1785126856000,"timestamp_seconds":1785126856,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1da2540"} 
[2026-07-27 10:04:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:04:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 10:04:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-27 10:04:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:04:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:04:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:04:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:04:57] local.INFO: Teltonika packet parsed successfully {"connection_id":142756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:04:57] local.INFO: Passing IMEI to GPS processor {"connection_id":142756,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 10:04:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":142756,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 10:04:57] 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-07-27 10:04:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 10:04:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 10:04:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992473088001,"66":14374,"17":206,"94":11008,"24":8,"16":25891394300149760,"45":798614907791349760},"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-07-27 10:04:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 10:04:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 10:04:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992473088001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:04:57] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-27 10:04:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25891394300149760,"km_value":25891394300149.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:04:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":798614907791349760,"description":"Unknown IO ID 45"} 
[2026-07-27 10:04:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992473088001,"power":14374,"axis_x":206,"unknown_94":11008,"ignition":8,"odometer":null,"unknown_45":798614907791349760}} 
[2026-07-27 10:04:57] local.INFO: DEBUG: GPS processor result {"connection_id":142756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552526,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:04:57] local.INFO: GPS data processed {"connection_id":142756,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:04:57] local.INFO: Acknowledgment sent {"connection_id":142756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:05:10] local.INFO: TCP Data received {"connection_id":145189,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1d7eed8012d7fad4005afd650001200ea2a..."} 
[2026-07-27 10:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145189,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1d7eed8012d7fad4005afd650001200ea2a..."} 
[2026-07-27 10:05:10] local.INFO: Processing buffer {"connection_id":145189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1d7eed8012d7fad4005afd650001200ea2a..."} 
[2026-07-27 10:05:10] local.INFO: Packet analysis {"connection_id":145189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1d7"} 
[2026-07-27 10:05:10] local.INFO: Extracted packet for processing {"connection_id":145189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1d7"} 
[2026-07-27 10:05:10] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95409744,"longitude_deg":76.3342144,"latitude_deg":9.5409744,"altitude":18,"angle":234,"satellites":42,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afd650","is_valid_coordinates":true} 
[2026-07-27 10:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:05:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992437760001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:05:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826719236325376,"note":"Value kept but may cause issues"} 
[2026-07-27 10:05:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006956863488,"note":"Value kept but may cause issues"} 
[2026-07-27 10:05:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:05:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785126711000,"timestamp_ms":1785126711000,"timestamp_seconds":1785126711,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1d7eed8"} 
[2026-07-27 10:05:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:05:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 10: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":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-07-27 10:05:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:05:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:05:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:05:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:05:10] local.INFO: Teltonika packet parsed successfully {"connection_id":145189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:05:10] local.INFO: Passing IMEI to GPS processor {"connection_id":145189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:05:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":145189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:05:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:05:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 10:05:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 10:05:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992437760001,"66":26278,"250":206,"85":12544,"24":0,"16":358826719236325376,"45":9200080006956863488},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 10:05:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 10:05:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 10:05:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992437760001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:05:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 10:05:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 10:05:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826719236325376,"km_value":358826719236325.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:05:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006956863488,"description":"Unknown IO ID 45"} 
[2026-07-27 10:05:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992437760001,"power":26278,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006956863488}} 
[2026-07-27 10:05:10] local.INFO: DEBUG: GPS processor result {"connection_id":145189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:05:10] local.INFO: GPS data processed {"connection_id":145189,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:05:10] local.INFO: Acknowledgment sent {"connection_id":145189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:05:12] local.INFO: TCP Data received {"connection_id":145190,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1d8d168012d168800071faaa00020005726..."} 
[2026-07-27 10:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145190,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1d8d168012d168800071faaa00020005726..."} 
[2026-07-27 10:05:12] local.INFO: Processing buffer {"connection_id":145190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1d8d168012d168800071faaa00020005726..."} 
[2026-07-27 10:05:12] local.INFO: Packet analysis {"connection_id":145190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1d8"} 
[2026-07-27 10:05:12] local.INFO: Extracted packet for processing {"connection_id":145190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1d8"} 
[2026-07-27 10:05:12] local.INFO: GPS Element Parsed {"raw_longitude":756451328,"raw_latitude":119515808,"longitude_deg":75.6451328,"latitude_deg":11.9515808,"altitude":32,"angle":87,"satellites":38,"speed":0,"hex_longitude":"2d168800","hex_latitude":"071faaa0","is_valid_coordinates":true} 
[2026-07-27 10: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-07-27 10:05:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992447488001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:05:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8789289794011136,"note":"Value kept but may cause issues"} 
[2026-07-27 10:05:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623547696263110656,"note":"Value kept but may cause issues"} 
[2026-07-27 10:05:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:05:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785126769000,"timestamp_ms":1785126769000,"timestamp_seconds":1785126769,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1d8d168"} 
[2026-07-27 10:05:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:05:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 10: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-27 10:05:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10: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-07-27 10:05:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:05:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:05:12] local.INFO: Teltonika packet parsed successfully {"connection_id":145190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:05:12] local.INFO: Passing IMEI to GPS processor {"connection_id":145190,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:05:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":145190,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:05:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:05:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:05:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:05:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992447488001,"66":12689,"131":206,"28":31744,"24":0,"16":8789289794011136,"45":1623547696263110656},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-07-27 10:05:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:05:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:05:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992447488001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:05:12] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-27 10:05:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:05:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8789289794011136,"km_value":8789289794011.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:05:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623547696263110656,"description":"Unknown IO ID 45"} 
[2026-07-27 10:05:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992447488001,"power":12689,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1623547696263110656}} 
[2026-07-27 10:05:12] local.INFO: DEBUG: GPS processor result {"connection_id":145190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552528,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:05:12] local.INFO: GPS data processed {"connection_id":145190,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:05:12] local.INFO: Acknowledgment sent {"connection_id":145190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:05:30] local.INFO: TCP Data received {"connection_id":142758,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142758,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:05:30] local.INFO: Processing buffer {"connection_id":142758,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:05:30] local.INFO: IMEI packet received {"connection_id":142758,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 10:05:30] local.INFO: IMEI acknowledgment sent {"connection_id":142758,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:05:32] local.INFO: TCP Data received {"connection_id":142759,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:05:32] local.INFO: Processing buffer {"connection_id":142759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:05:32] local.INFO: IMEI packet received {"connection_id":142759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 10:05:32] local.INFO: IMEI acknowledgment sent {"connection_id":142759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:05:33] local.INFO: TCP Data received {"connection_id":142758,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142758,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:05:33] local.INFO: Processing buffer {"connection_id":142758,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:05:33] local.INFO: IMEI packet received {"connection_id":142758,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 10:05:33] local.INFO: IMEI acknowledgment sent {"connection_id":142758,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:05:34] local.INFO: TCP Data received {"connection_id":142758,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1d92370012d168800071faaa00020005725..."} 
[2026-07-27 10:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1d92370012d168800071faaa00020005725..."} 
[2026-07-27 10:05:34] local.INFO: Processing buffer {"connection_id":142758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1d92370012d168800071faaa00020005725..."} 
[2026-07-27 10:05:34] local.INFO: Packet analysis {"connection_id":142758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1d9"} 
[2026-07-27 10:05:34] local.INFO: Extracted packet for processing {"connection_id":142758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1d9"} 
[2026-07-27 10:05:34] local.INFO: GPS Element Parsed {"raw_longitude":756451328,"raw_latitude":119515808,"longitude_deg":75.6451328,"latitude_deg":11.9515808,"altitude":32,"angle":87,"satellites":37,"speed":0,"hex_longitude":"2d168800","hex_latitude":"071faaa0","is_valid_coordinates":true} 
[2026-07-27 10:05:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:05:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992452864001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:05:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8789289794011136,"note":"Value kept but may cause issues"} 
[2026-07-27 10:05:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623547696263110656,"note":"Value kept but may cause issues"} 
[2026-07-27 10:05:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:05:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785126790000,"timestamp_ms":1785126790000,"timestamp_seconds":1785126790,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1d92370"} 
[2026-07-27 10:05:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:05:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 10:05:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-27 10:05: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-07-27 10:05:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:05:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:05:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:05:34] local.INFO: Teltonika packet parsed successfully {"connection_id":142758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:05:34] local.INFO: Passing IMEI to GPS processor {"connection_id":142758,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:05:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":142758,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:05:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:05:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:05:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:05:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992452864001,"66":12645,"131":206,"28":31744,"24":0,"16":8789289794011136,"45":1623547696263110656},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-07-27 10:05:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:05:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:05:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992452864001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:05:34] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-27 10:05:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:05:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8789289794011136,"km_value":8789289794011.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:05:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623547696263110656,"description":"Unknown IO ID 45"} 
[2026-07-27 10:05:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992452864001,"power":12645,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1623547696263110656}} 
[2026-07-27 10:05:34] local.INFO: DEBUG: GPS processor result {"connection_id":142758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552529,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:05:34] local.INFO: GPS data processed {"connection_id":142758,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:05:34] local.INFO: Acknowledgment sent {"connection_id":142758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:05:37] local.INFO: TCP Data received {"connection_id":142759,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:05:37] local.INFO: Processing buffer {"connection_id":142759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:05:37] local.INFO: IMEI packet received {"connection_id":142759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 10:05:37] local.INFO: IMEI acknowledgment sent {"connection_id":142759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:05:38] local.INFO: TCP Data received {"connection_id":142759,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1d7eed8012d7fad4005afd650001200ea2a..."} 
[2026-07-27 10:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1d7eed8012d7fad4005afd650001200ea2a..."} 
[2026-07-27 10:05:38] local.INFO: Processing buffer {"connection_id":142759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1d7eed8012d7fad4005afd650001200ea2a..."} 
[2026-07-27 10:05:38] local.INFO: Packet analysis {"connection_id":142759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1d7"} 
[2026-07-27 10:05:38] local.INFO: Extracted packet for processing {"connection_id":142759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1d7"} 
[2026-07-27 10:05:38] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95409744,"longitude_deg":76.3342144,"latitude_deg":9.5409744,"altitude":18,"angle":234,"satellites":42,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afd650","is_valid_coordinates":true} 
[2026-07-27 10:05:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:05:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992437760001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:05:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826719236325376,"note":"Value kept but may cause issues"} 
[2026-07-27 10:05:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006956863488,"note":"Value kept but may cause issues"} 
[2026-07-27 10:05:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:05:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785126711000,"timestamp_ms":1785126711000,"timestamp_seconds":1785126711,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1d7eed8"} 
[2026-07-27 10:05:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:05:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 10:05:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-07-27 10:05:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:05:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:05:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:05:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:05:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:05:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:05:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:05:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:05:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 10:05:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 10:05:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992437760001,"66":26278,"250":206,"85":12544,"24":0,"16":358826719236325376,"45":9200080006956863488},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 10:05:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 10:05:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 10:05:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992437760001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:05:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 10:05:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 10:05:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826719236325376,"km_value":358826719236325.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:05:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006956863488,"description":"Unknown IO ID 45"} 
[2026-07-27 10:05:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992437760001,"power":26278,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006956863488}} 
[2026-07-27 10:05:38] local.INFO: DEBUG: GPS processor result {"connection_id":142759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:05:38] local.INFO: GPS data processed {"connection_id":142759,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:05:38] local.INFO: Acknowledgment sent {"connection_id":142759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:05:45] local.INFO: TCP Data received {"connection_id":145191,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 10:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145191,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 10:05:45] local.INFO: Processing buffer {"connection_id":145191,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 10:05:45] local.INFO: IMEI packet received {"connection_id":145191,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 10:05:45] local.INFO: IMEI acknowledgment sent {"connection_id":145191,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:05:46] local.INFO: TCP Data received {"connection_id":145191,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 10:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145191,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 10:05:46] local.INFO: Processing buffer {"connection_id":145191,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 10:05:46] local.INFO: IMEI packet received {"connection_id":145191,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 10:05:46] local.INFO: IMEI acknowledgment sent {"connection_id":145191,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:05:47] local.INFO: TCP Data received {"connection_id":145191,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1db2710012d0afc000702c6480016006724..."} 
[2026-07-27 10:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145191,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1db2710012d0afc000702c6480016006724..."} 
[2026-07-27 10:05:47] local.INFO: Processing buffer {"connection_id":145191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1db2710012d0afc000702c6480016006724..."} 
[2026-07-27 10:05:47] local.INFO: Packet analysis {"connection_id":145191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1db"} 
[2026-07-27 10:05:47] local.INFO: Extracted packet for processing {"connection_id":145191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1db"} 
[2026-07-27 10:05:47] local.INFO: GPS Element Parsed {"raw_longitude":755694592,"raw_latitude":117622344,"longitude_deg":75.5694592,"latitude_deg":11.7622344,"altitude":22,"angle":103,"satellites":36,"speed":20,"hex_longitude":"2d0afc00","hex_latitude":"0702c648","is_valid_coordinates":true} 
[2026-07-27 10:05:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:05:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992490752001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:05:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25892914718572544,"note":"Value kept but may cause issues"} 
[2026-07-27 10:05:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":789044758575505408,"note":"Value kept but may cause issues"} 
[2026-07-27 10:05: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-07-27 10:05:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785126922000,"timestamp_ms":1785126922000,"timestamp_seconds":1785126922,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1db2710"} 
[2026-07-27 10:05:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:05:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 10:05:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-27 10:05:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:05:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:05:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:05:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:05:47] local.INFO: Teltonika packet parsed successfully {"connection_id":145191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:05:47] local.INFO: Passing IMEI to GPS processor {"connection_id":145191,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 10:05:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":145191,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 10:05:47] 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-07-27 10:05:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 10:05:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 10:05:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992490752001,"66":14439,"17":206,"94":11008,"24":20,"16":25892914718572544,"45":789044758575505408},"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-07-27 10:05:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 10:05:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 10:05:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992490752001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:05:48] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-27 10:05:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25892914718572544,"km_value":25892914718572.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:05:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":789044758575505408,"description":"Unknown IO ID 45"} 
[2026-07-27 10:05:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992490752001,"power":14439,"axis_x":206,"unknown_94":11008,"ignition":20,"odometer":null,"unknown_45":789044758575505408}} 
[2026-07-27 10:05:48] local.INFO: DEBUG: GPS processor result {"connection_id":145191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552531,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:05:48] local.INFO: GPS data processed {"connection_id":145191,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:05:48] local.INFO: Acknowledgment sent {"connection_id":145191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:05:52] local.INFO: TCP Data received {"connection_id":145191,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1db2af8012d0afdc00702c5800016007523..."} 
[2026-07-27 10:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145191,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1db2af8012d0afdc00702c5800016007523..."} 
[2026-07-27 10:05:52] local.INFO: Processing buffer {"connection_id":145191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1db2af8012d0afdc00702c5800016007523..."} 
[2026-07-27 10:05:52] local.INFO: Packet analysis {"connection_id":145191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1db"} 
[2026-07-27 10:05:52] local.INFO: Extracted packet for processing {"connection_id":145191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1db"} 
[2026-07-27 10:05:52] local.INFO: GPS Element Parsed {"raw_longitude":755695040,"raw_latitude":117622144,"longitude_deg":75.569504,"latitude_deg":11.7622144,"altitude":22,"angle":117,"satellites":35,"speed":18,"hex_longitude":"2d0afdc0","hex_latitude":"0702c580","is_valid_coordinates":true} 
[2026-07-27 10:05:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:05:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992492032001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:05:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25892936193409024,"note":"Value kept but may cause issues"} 
[2026-07-27 10:05:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":791507664621684736,"note":"Value kept but may cause issues"} 
[2026-07-27 10:05:52] 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-07-27 10:05:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785126923000,"timestamp_ms":1785126923000,"timestamp_seconds":1785126923,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1db2af8"} 
[2026-07-27 10:05:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:05:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 10:05:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-27 10:05:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:05:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:05:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:05:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:05:52] local.INFO: Teltonika packet parsed successfully {"connection_id":145191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:05:52] local.INFO: Passing IMEI to GPS processor {"connection_id":145191,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 10:05:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":145191,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 10:05:52] 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-07-27 10:05:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 10:05:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 10:05:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992492032001,"66":14439,"17":206,"94":11008,"24":18,"16":25892936193409024,"45":791507664621684736},"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-07-27 10:05:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 10:05:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 10:05:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992492032001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:05:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-27 10:05:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25892936193409024,"km_value":25892936193409.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:05:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":791507664621684736,"description":"Unknown IO ID 45"} 
[2026-07-27 10:05:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992492032001,"power":14439,"axis_x":206,"unknown_94":11008,"ignition":18,"odometer":null,"unknown_45":791507664621684736}} 
[2026-07-27 10:05:52] local.INFO: DEBUG: GPS processor result {"connection_id":145191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552532,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:05:52] local.INFO: GPS data processed {"connection_id":145191,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:05:52] local.INFO: Acknowledgment sent {"connection_id":145191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:06:06] local.INFO: TCP Data received {"connection_id":142758,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1d97578012d168800071faaa00020005725..."} 
[2026-07-27 10:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1d97578012d168800071faaa00020005725..."} 
[2026-07-27 10:06:06] local.INFO: Processing buffer {"connection_id":142758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1d97578012d168800071faaa00020005725..."} 
[2026-07-27 10:06:06] local.INFO: Packet analysis {"connection_id":142758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1d9"} 
[2026-07-27 10:06:06] local.INFO: Extracted packet for processing {"connection_id":142758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1d9"} 
[2026-07-27 10:06:06] local.INFO: GPS Element Parsed {"raw_longitude":756451328,"raw_latitude":119515808,"longitude_deg":75.6451328,"latitude_deg":11.9515808,"altitude":32,"angle":87,"satellites":37,"speed":0,"hex_longitude":"2d168800","hex_latitude":"071faaa0","is_valid_coordinates":true} 
[2026-07-27 10: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-07-27 10:06:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992458240001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:06:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8789289794011136,"note":"Value kept but may cause issues"} 
[2026-07-27 10:06:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623547696263110656,"note":"Value kept but may cause issues"} 
[2026-07-27 10:06:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:06:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785126811000,"timestamp_ms":1785126811000,"timestamp_seconds":1785126811,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1d97578"} 
[2026-07-27 10:06:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:06:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 10: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-27 10:06:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10: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-07-27 10:06:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:06:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:06:06] local.INFO: Teltonika packet parsed successfully {"connection_id":142758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:06:06] local.INFO: Passing IMEI to GPS processor {"connection_id":142758,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:06:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":142758,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:06:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:06:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:06:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:06:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992458240001,"66":12558,"131":206,"28":31744,"24":0,"16":8789289794011136,"45":1623547696263110656},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-07-27 10:06:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:06:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:06:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992458240001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:06:06] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-27 10:06:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:06:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8789289794011136,"km_value":8789289794011.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:06:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623547696263110656,"description":"Unknown IO ID 45"} 
[2026-07-27 10:06:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992458240001,"power":12558,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1623547696263110656}} 
[2026-07-27 10:06:06] local.INFO: DEBUG: GPS processor result {"connection_id":142758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552533,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:06:06] local.INFO: GPS data processed {"connection_id":142758,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:06:06] local.INFO: Acknowledgment sent {"connection_id":142758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:06:10] local.INFO: TCP Data received {"connection_id":142759,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1d7eed8012d7fad4005afd650001200ea2a..."} 
[2026-07-27 10:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1d7eed8012d7fad4005afd650001200ea2a..."} 
[2026-07-27 10:06:10] local.INFO: Processing buffer {"connection_id":142759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1d7eed8012d7fad4005afd650001200ea2a..."} 
[2026-07-27 10:06:10] local.INFO: Packet analysis {"connection_id":142759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1d7"} 
[2026-07-27 10:06:10] local.INFO: Extracted packet for processing {"connection_id":142759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1d7"} 
[2026-07-27 10:06:10] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95409744,"longitude_deg":76.3342144,"latitude_deg":9.5409744,"altitude":18,"angle":234,"satellites":42,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afd650","is_valid_coordinates":true} 
[2026-07-27 10:06:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:06:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992437760001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:06:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826719236325376,"note":"Value kept but may cause issues"} 
[2026-07-27 10:06:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006956863488,"note":"Value kept but may cause issues"} 
[2026-07-27 10:06:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:06:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785126711000,"timestamp_ms":1785126711000,"timestamp_seconds":1785126711,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1d7eed8"} 
[2026-07-27 10:06:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:06:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 10: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":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-07-27 10:06:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:06:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:06:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:06:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:06:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:06:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:06:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:06:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:06:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 10:06:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 10:06:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992437760001,"66":26278,"250":206,"85":12544,"24":0,"16":358826719236325376,"45":9200080006956863488},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 10:06:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 10:06:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 10:06:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992437760001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:06:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 10:06:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 10:06:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826719236325376,"km_value":358826719236325.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:06:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006956863488,"description":"Unknown IO ID 45"} 
[2026-07-27 10:06:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992437760001,"power":26278,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006956863488}} 
[2026-07-27 10:06:10] local.INFO: DEBUG: GPS processor result {"connection_id":142759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:06:10] local.INFO: GPS data processed {"connection_id":142759,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:06:10] local.INFO: Acknowledgment sent {"connection_id":142759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:06:25] local.INFO: TCP Data received {"connection_id":145191,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1db2ee0012d0aff000702c4580016008524..."} 
[2026-07-27 10:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145191,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1db2ee0012d0aff000702c4580016008524..."} 
[2026-07-27 10:06:25] local.INFO: Processing buffer {"connection_id":145191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1db2ee0012d0aff000702c4580016008524..."} 
[2026-07-27 10:06:25] local.INFO: Packet analysis {"connection_id":145191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1db"} 
[2026-07-27 10:06:25] local.INFO: Extracted packet for processing {"connection_id":145191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1db"} 
[2026-07-27 10:06:25] local.INFO: GPS Element Parsed {"raw_longitude":755695360,"raw_latitude":117621848,"longitude_deg":75.569536,"latitude_deg":11.7621848,"altitude":22,"angle":133,"satellites":36,"speed":14,"hex_longitude":"2d0aff00","hex_latitude":"0702c458","is_valid_coordinates":true} 
[2026-07-27 10:06:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:06:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992492288001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:06:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25892957668245504,"note":"Value kept but may cause issues"} 
[2026-07-27 10:06:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":792000245830877184,"note":"Value kept but may cause issues"} 
[2026-07-27 10:06:25] 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-07-27 10:06:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785126924000,"timestamp_ms":1785126924000,"timestamp_seconds":1785126924,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1db2ee0"} 
[2026-07-27 10:06:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:06:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 10:06:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-27 10:06:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:06:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:06:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:06:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:06:25] local.INFO: Teltonika packet parsed successfully {"connection_id":145191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:06:25] local.INFO: Passing IMEI to GPS processor {"connection_id":145191,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 10:06:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":145191,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 10:06:25] 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-07-27 10:06:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 10:06:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 10:06:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992492288001,"66":14450,"17":206,"94":11008,"24":14,"16":25892957668245504,"45":792000245830877184},"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-07-27 10:06:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 10:06:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 10:06:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992492288001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:06:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-27 10:06:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25892957668245504,"km_value":25892957668245.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:06:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":792000245830877184,"description":"Unknown IO ID 45"} 
[2026-07-27 10:06:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992492288001,"power":14450,"axis_x":206,"unknown_94":11008,"ignition":14,"odometer":null,"unknown_45":792000245830877184}} 
[2026-07-27 10:06:25] local.INFO: DEBUG: GPS processor result {"connection_id":145191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552535,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:06:25] local.INFO: GPS data processed {"connection_id":145191,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:06:25] local.INFO: Acknowledgment sent {"connection_id":145191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:06:30] local.INFO: TCP Data received {"connection_id":142887,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142887,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:06:30] local.INFO: Processing buffer {"connection_id":142887,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:06:30] local.INFO: IMEI packet received {"connection_id":142887,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 10:06:30] local.INFO: IMEI acknowledgment sent {"connection_id":142887,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:06:32] local.INFO: TCP Data received {"connection_id":142888,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:06:32] local.INFO: Processing buffer {"connection_id":142888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:06:32] local.INFO: IMEI packet received {"connection_id":142888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 10:06:32] local.INFO: IMEI acknowledgment sent {"connection_id":142888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:06:35] local.INFO: TCP Data received {"connection_id":142887,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142887,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:06:35] local.INFO: Processing buffer {"connection_id":142887,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:06:35] local.INFO: IMEI packet received {"connection_id":142887,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 10:06:35] local.INFO: IMEI acknowledgment sent {"connection_id":142887,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:06:36] local.INFO: TCP Data received {"connection_id":142887,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1d9c780012d168800071faaa00020005725..."} 
[2026-07-27 10:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1d9c780012d168800071faaa00020005725..."} 
[2026-07-27 10:06:36] local.INFO: Processing buffer {"connection_id":142887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1d9c780012d168800071faaa00020005725..."} 
[2026-07-27 10:06:36] local.INFO: Packet analysis {"connection_id":142887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1d9"} 
[2026-07-27 10:06:36] local.INFO: Extracted packet for processing {"connection_id":142887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1d9"} 
[2026-07-27 10:06:36] local.INFO: GPS Element Parsed {"raw_longitude":756451328,"raw_latitude":119515808,"longitude_deg":75.6451328,"latitude_deg":11.9515808,"altitude":32,"angle":87,"satellites":37,"speed":0,"hex_longitude":"2d168800","hex_latitude":"071faaa0","is_valid_coordinates":true} 
[2026-07-27 10:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:06:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992463616001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:06:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8789289794011136,"note":"Value kept but may cause issues"} 
[2026-07-27 10:06:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623547696263110656,"note":"Value kept but may cause issues"} 
[2026-07-27 10:06:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:06:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785126832000,"timestamp_ms":1785126832000,"timestamp_seconds":1785126832,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1d9c780"} 
[2026-07-27 10:06:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:06:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 10:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-07-27 10:06:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-07-27 10:06:36] local.WARNING: Large IO value detected {"io_id":57,"raw_value":3489660928,"note":"Value kept but may cause issues"} 
[2026-07-27 10:06:36] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2715257160,"note":"Value kept but may cause issues"} 
[2026-07-27 10:06:36] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3248933714895284896,"note":"Value kept but may cause issues"} 
[2026-07-27 10:06:36] local.WARNING: Large IO value detected {"io_id":161,"raw_value":3626850305,"note":"Value kept but may cause issues"} 
[2026-07-27 10:06:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3884122318,"corrected_to":0} 
[2026-07-27 10:06:36] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2801847783,"note":"Value kept but may cause issues"} 
[2026-07-27 10:06:36] local.WARNING: Large IO value detected {"io_id":231,"raw_value":-9006972633006204928,"note":"Value kept but may cause issues"} 
[2026-07-27 10:06:36] local.WARNING: Large IO value detected {"io_id":61,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-27 10:06:36] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-07-27 10:06:36] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,131,28,24,241,158,16,57,159,35,45,170,32,37,10,66,209,38,127,1,240,145,161,31,4,113,205,219,136,160,239,49,2,7,231,61,206],"length":575,"final_offset":705,"validated_count":37,"validation_warnings":[{"io_id":205,"original":3884122318,"validated":0}]} 
[2026-07-27 10:06:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2305938825639100416,"timestamp_seconds":2305938825639100.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 10:06:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:06:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:06:36] local.INFO: Teltonika packet parsed successfully {"connection_id":142887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:06:36] local.INFO: Passing IMEI to GPS processor {"connection_id":142887,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:06:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":142887,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:06:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:06:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:06:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:06:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992463616001,"66":12645,"131":206,"28":31744,"24":0,"16":8789289794011136,"45":1623547696263110656},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-07-27 10:06:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:06:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:06:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992463616001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:06:36] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-27 10:06:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:06:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8789289794011136,"km_value":8789289794011.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:06:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623547696263110656,"description":"Unknown IO ID 45"} 
[2026-07-27 10:06:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992463616001,"power":12645,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1623547696263110656}} 
[2026-07-27 10:06:37] local.INFO: DEBUG: GPS processor result {"connection_id":142887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552536,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:06:37] local.INFO: GPS data processed {"connection_id":142887,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:06:37] local.INFO: Acknowledgment sent {"connection_id":142887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:06:37] local.INFO: TCP Data received {"connection_id":142888,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:06:37] local.INFO: Processing buffer {"connection_id":142888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:06:37] local.INFO: IMEI packet received {"connection_id":142888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 10:06:37] local.INFO: IMEI acknowledgment sent {"connection_id":142888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:06:38] local.INFO: TCP Data received {"connection_id":142888,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1d7eed8012d7fad4005afd650001200ea2a..."} 
[2026-07-27 10:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1d7eed8012d7fad4005afd650001200ea2a..."} 
[2026-07-27 10:06:38] local.INFO: Processing buffer {"connection_id":142888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1d7eed8012d7fad4005afd650001200ea2a..."} 
[2026-07-27 10:06:38] local.INFO: Packet analysis {"connection_id":142888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1d7"} 
[2026-07-27 10:06:38] local.INFO: Extracted packet for processing {"connection_id":142888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1d7"} 
[2026-07-27 10:06:38] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95409744,"longitude_deg":76.3342144,"latitude_deg":9.5409744,"altitude":18,"angle":234,"satellites":42,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afd650","is_valid_coordinates":true} 
[2026-07-27 10:06:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:06:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992437760001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:06:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826719236325376,"note":"Value kept but may cause issues"} 
[2026-07-27 10:06:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006956863488,"note":"Value kept but may cause issues"} 
[2026-07-27 10:06:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:06:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785126711000,"timestamp_ms":1785126711000,"timestamp_seconds":1785126711,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1d7eed8"} 
[2026-07-27 10:06:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:06:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 10:06:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-07-27 10:06:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:06:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:06:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:06:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:06:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:06:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:06:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:06:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:06:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 10:06:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 10:06:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992437760001,"66":26278,"250":206,"85":12544,"24":0,"16":358826719236325376,"45":9200080006956863488},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 10:06:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 10:06:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 10:06:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992437760001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:06:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 10:06:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 10:06:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826719236325376,"km_value":358826719236325.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:06:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006956863488,"description":"Unknown IO ID 45"} 
[2026-07-27 10:06:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992437760001,"power":26278,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006956863488}} 
[2026-07-27 10:06:38] local.INFO: DEBUG: GPS processor result {"connection_id":142888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:06:38] local.INFO: GPS data processed {"connection_id":142888,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:06:38] local.INFO: Acknowledgment sent {"connection_id":142888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:06:41] local.INFO: TCP Data received {"connection_id":142760,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 10:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142760,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 10:06:41] local.INFO: Processing buffer {"connection_id":142760,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 10:06:41] local.INFO: IMEI packet received {"connection_id":142760,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 10:06:41] local.INFO: IMEI acknowledgment sent {"connection_id":142760,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:06:41] local.INFO: TCP Data received {"connection_id":142760,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 10:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142760,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 10:06:41] local.INFO: Processing buffer {"connection_id":142760,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 10:06:41] local.INFO: IMEI packet received {"connection_id":142760,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 10:06:41] local.INFO: IMEI acknowledgment sent {"connection_id":142760,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:06:42] local.INFO: TCP Data received {"connection_id":142760,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 10:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142760,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 10:06:42] local.INFO: Processing buffer {"connection_id":142760,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 10:06:42] local.INFO: IMEI packet received {"connection_id":142760,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 10:06:42] local.INFO: IMEI acknowledgment sent {"connection_id":142760,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:06:43] local.INFO: TCP Data received {"connection_id":142760,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1db32c8012d0aff800702c3300016009e22..."} 
[2026-07-27 10:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1db32c8012d0aff800702c3300016009e22..."} 
[2026-07-27 10:06:43] local.INFO: Processing buffer {"connection_id":142760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1db32c8012d0aff800702c3300016009e22..."} 
[2026-07-27 10:06:43] local.INFO: Packet analysis {"connection_id":142760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1db"} 
[2026-07-27 10:06:43] local.INFO: Extracted packet for processing {"connection_id":142760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1db"} 
[2026-07-27 10:06:43] local.INFO: GPS Element Parsed {"raw_longitude":755695488,"raw_latitude":117621552,"longitude_deg":75.5695488,"latitude_deg":11.7621552,"altitude":22,"angle":158,"satellites":34,"speed":11,"hex_longitude":"2d0aff80","hex_latitude":"0702c330","is_valid_coordinates":true} 
[2026-07-27 10:06:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:06:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992492544001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:06:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25892974848114688,"note":"Value kept but may cause issues"} 
[2026-07-27 10:06:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":792352089551689728,"note":"Value kept but may cause issues"} 
[2026-07-27 10:06: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-07-27 10:06:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785126925000,"timestamp_ms":1785126925000,"timestamp_seconds":1785126925,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1db32c8"} 
[2026-07-27 10:06:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:06:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 10: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-27 10:06:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:06:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:06:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:06:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:06:43] local.INFO: Teltonika packet parsed successfully {"connection_id":142760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:06:43] local.INFO: Passing IMEI to GPS processor {"connection_id":142760,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 10:06:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":142760,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 10:06: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-07-27 10:06:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 10:06:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 10:06:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992492544001,"66":14450,"17":206,"94":11008,"24":11,"16":25892974848114688,"45":792352089551689728},"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-07-27 10:06:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 10:06:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 10:06:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992492544001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:06:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-27 10:06:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25892974848114688,"km_value":25892974848114.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:06:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":792352089551689728,"description":"Unknown IO ID 45"} 
[2026-07-27 10:06:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992492544001,"power":14450,"axis_x":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":792352089551689728}} 
[2026-07-27 10:06:43] local.INFO: DEBUG: GPS processor result {"connection_id":142760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552538,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:06:43] local.INFO: GPS data processed {"connection_id":142760,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:06:43] local.INFO: Acknowledgment sent {"connection_id":142760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:06:46] local.INFO: TCP Data received {"connection_id":142760,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1db36b0012d0aff800702c228001600b922..."} 
[2026-07-27 10:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1db36b0012d0aff800702c228001600b922..."} 
[2026-07-27 10:06:46] local.INFO: Processing buffer {"connection_id":142760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1db36b0012d0aff800702c228001600b922..."} 
[2026-07-27 10:06:46] local.INFO: Packet analysis {"connection_id":142760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1db"} 
[2026-07-27 10:06:46] local.INFO: Extracted packet for processing {"connection_id":142760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1db"} 
[2026-07-27 10:06:46] local.INFO: GPS Element Parsed {"raw_longitude":755695488,"raw_latitude":117621288,"longitude_deg":75.5695488,"latitude_deg":11.7621288,"altitude":22,"angle":185,"satellites":34,"speed":11,"hex_longitude":"2d0aff80","hex_latitude":"0702c228","is_valid_coordinates":true} 
[2026-07-27 10:06:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:06:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992492800001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:06:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25892987733016576,"note":"Value kept but may cause issues"} 
[2026-07-27 10:06:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":792492827039969280,"note":"Value kept but may cause issues"} 
[2026-07-27 10:06:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:06:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785126926000,"timestamp_ms":1785126926000,"timestamp_seconds":1785126926,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1db36b0"} 
[2026-07-27 10:06:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:06:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 10:06:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-27 10:06:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:06:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:06:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:06:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:06:46] local.INFO: Teltonika packet parsed successfully {"connection_id":142760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:06:46] local.INFO: Passing IMEI to GPS processor {"connection_id":142760,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 10:06:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":142760,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 10:06:46] 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-07-27 10:06:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 10:06:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 10:06:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992492800001,"66":14439,"17":206,"94":11008,"24":11,"16":25892987733016576,"45":792492827039969280},"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-07-27 10:06:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 10:06:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 10:06:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992492800001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:06:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-27 10:06:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25892987733016576,"km_value":25892987733016.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:06:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":792492827039969280,"description":"Unknown IO ID 45"} 
[2026-07-27 10:06:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992492800001,"power":14439,"axis_x":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":792492827039969280}} 
[2026-07-27 10:06:46] local.INFO: DEBUG: GPS processor result {"connection_id":142760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552539,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:06:46] local.INFO: GPS data processed {"connection_id":142760,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:06:46] local.INFO: Acknowledgment sent {"connection_id":142760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:07:09] local.INFO: TCP Data received {"connection_id":142887,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1da1988012d168800071faaa00020005728..."} 
[2026-07-27 10:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1da1988012d168800071faaa00020005728..."} 
[2026-07-27 10:07:09] local.INFO: Processing buffer {"connection_id":142887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1da1988012d168800071faaa00020005728..."} 
[2026-07-27 10:07:09] local.INFO: Packet analysis {"connection_id":142887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1da"} 
[2026-07-27 10:07:09] local.INFO: Extracted packet for processing {"connection_id":142887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1da"} 
[2026-07-27 10:07:09] local.INFO: GPS Element Parsed {"raw_longitude":756451328,"raw_latitude":119515808,"longitude_deg":75.6451328,"latitude_deg":11.9515808,"altitude":32,"angle":87,"satellites":40,"speed":0,"hex_longitude":"2d168800","hex_latitude":"071faaa0","is_valid_coordinates":true} 
[2026-07-27 10:07:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:07:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992468992001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:07:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8789289794011136,"note":"Value kept but may cause issues"} 
[2026-07-27 10:07:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623547696263110656,"note":"Value kept but may cause issues"} 
[2026-07-27 10:07:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:07:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785126853000,"timestamp_ms":1785126853000,"timestamp_seconds":1785126853,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1da1988"} 
[2026-07-27 10:07:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:07:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-27 10:07:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:07:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:07:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:07:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:07:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:07:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142887,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:07:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142887,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:07:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:07:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:07:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:07:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992468992001,"66":12613,"131":206,"28":31744,"24":0,"16":8789289794011136,"45":1623547696263110656},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-07-27 10:07:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:07:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:07:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992468992001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:07:09] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-27 10:07:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:07:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8789289794011136,"km_value":8789289794011.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:07:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623547696263110656,"description":"Unknown IO ID 45"} 
[2026-07-27 10:07:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992468992001,"power":12613,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1623547696263110656}} 
[2026-07-27 10:07:09] local.INFO: DEBUG: GPS processor result {"connection_id":142887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552540,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:07:09] local.INFO: GPS data processed {"connection_id":142887,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:07:09] local.INFO: Acknowledgment sent {"connection_id":142887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:07:09] local.INFO: TCP Data received {"connection_id":142888,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1d7eed8012d7fad4005afd650001200ea2a..."} 
[2026-07-27 10:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1d7eed8012d7fad4005afd650001200ea2a..."} 
[2026-07-27 10:07:09] local.INFO: Processing buffer {"connection_id":142888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1d7eed8012d7fad4005afd650001200ea2a..."} 
[2026-07-27 10:07:09] local.INFO: Packet analysis {"connection_id":142888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1d7"} 
[2026-07-27 10:07:09] local.INFO: Extracted packet for processing {"connection_id":142888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1d7"} 
[2026-07-27 10:07:09] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95409744,"longitude_deg":76.3342144,"latitude_deg":9.5409744,"altitude":18,"angle":234,"satellites":42,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afd650","is_valid_coordinates":true} 
[2026-07-27 10:07:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:07:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992437760001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:07:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826719236325376,"note":"Value kept but may cause issues"} 
[2026-07-27 10:07:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006956863488,"note":"Value kept but may cause issues"} 
[2026-07-27 10:07:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:07:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785126711000,"timestamp_ms":1785126711000,"timestamp_seconds":1785126711,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1d7eed8"} 
[2026-07-27 10:07:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:07:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-07-27 10:07:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:07:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:07:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:07:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:07:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:07:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:07:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:07:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:07:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 10:07:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 10:07:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992437760001,"66":26278,"250":206,"85":12544,"24":0,"16":358826719236325376,"45":9200080006956863488},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 10:07:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 10:07:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 10:07:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992437760001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:07:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 10:07:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 10:07:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826719236325376,"km_value":358826719236325.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:07:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006956863488,"description":"Unknown IO ID 45"} 
[2026-07-27 10:07:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992437760001,"power":26278,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006956863488}} 
[2026-07-27 10:07:09] local.INFO: DEBUG: GPS processor result {"connection_id":142888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:07:09] local.INFO: GPS data processed {"connection_id":142888,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:07:09] local.INFO: Acknowledgment sent {"connection_id":142888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:07:33] local.INFO: TCP Data received {"connection_id":142761,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:07:33] local.INFO: Processing buffer {"connection_id":142761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:07:33] local.INFO: IMEI packet received {"connection_id":142761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 10:07:33] local.INFO: IMEI acknowledgment sent {"connection_id":142761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:07:35] local.INFO: TCP Data received {"connection_id":143878,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143878,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:07:35] local.INFO: Processing buffer {"connection_id":143878,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:07:35] local.INFO: IMEI packet received {"connection_id":143878,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 10:07:35] local.INFO: IMEI acknowledgment sent {"connection_id":143878,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:07:37] local.INFO: TCP Data received {"connection_id":142761,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:07:37] local.INFO: Processing buffer {"connection_id":142761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:07:37] local.INFO: IMEI packet received {"connection_id":142761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 10:07:37] local.INFO: IMEI acknowledgment sent {"connection_id":142761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:07:39] local.INFO: TCP Data received {"connection_id":142760,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1dc7700012d0b13000702a090001e014018..."} 
[2026-07-27 10:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1dc7700012d0b13000702a090001e014018..."} 
[2026-07-27 10:07:39] local.INFO: Processing buffer {"connection_id":142760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1dc7700012d0b13000702a090001e014018..."} 
[2026-07-27 10:07:39] local.INFO: Packet analysis {"connection_id":142760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1dc"} 
[2026-07-27 10:07:39] local.INFO: Extracted packet for processing {"connection_id":142760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1dc"} 
[2026-07-27 10:07:39] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612688,"longitude_deg":75.570048,"latitude_deg":11.7612688,"altitude":30,"angle":320,"satellites":24,"speed":1,"hex_longitude":"2d0b1300","hex_latitude":"0702a090","is_valid_coordinates":true} 
[2026-07-27 10:07:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:07:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992514048001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:07:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25893533193863168,"note":"Value kept but may cause issues"} 
[2026-07-27 10:07:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083557888,"note":"Value kept but may cause issues"} 
[2026-07-27 10:07: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-07-27 10:07:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785127008000,"timestamp_ms":1785127008000,"timestamp_seconds":1785127008,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1dc7700"} 
[2026-07-27 10:07:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:07:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 10:07:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-27 10:07:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10: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-07-27 10:07:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:07:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:07:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:07:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142760,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 10:07:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142760,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 10:07:39] 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-07-27 10:07:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 10:07:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 10:07:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992514048001,"66":14450,"17":206,"94":11008,"24":1,"16":25893533193863168,"45":797981589083557888},"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-07-27 10:07:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 10:07:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 10:07:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992514048001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:07:39] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-27 10:07:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25893533193863168,"km_value":25893533193863.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:07:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083557888,"description":"Unknown IO ID 45"} 
[2026-07-27 10:07:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992514048001,"power":14450,"axis_x":206,"unknown_94":11008,"ignition":1,"odometer":null,"unknown_45":797981589083557888}} 
[2026-07-27 10:07:39] local.INFO: DEBUG: GPS processor result {"connection_id":142760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552542,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:07:39] local.INFO: GPS data processed {"connection_id":142760,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:07:39] local.INFO: Acknowledgment sent {"connection_id":142760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:07:39] local.INFO: TCP Data received {"connection_id":143878,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143878,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:07:39] local.INFO: Processing buffer {"connection_id":143878,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:07:39] local.INFO: IMEI packet received {"connection_id":143878,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 10:07:39] local.INFO: IMEI acknowledgment sent {"connection_id":143878,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:07:41] local.INFO: TCP Data received {"connection_id":143878,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1da6b90012d168800071faaa00020005726..."} 
[2026-07-27 10:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1da6b90012d168800071faaa00020005726..."} 
[2026-07-27 10:07:41] local.INFO: Processing buffer {"connection_id":143878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1da6b90012d168800071faaa00020005726..."} 
[2026-07-27 10:07:41] local.INFO: Packet analysis {"connection_id":143878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1da"} 
[2026-07-27 10:07:41] local.INFO: Extracted packet for processing {"connection_id":143878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1da"} 
[2026-07-27 10:07:41] local.INFO: GPS Element Parsed {"raw_longitude":756451328,"raw_latitude":119515808,"longitude_deg":75.6451328,"latitude_deg":11.9515808,"altitude":32,"angle":87,"satellites":38,"speed":0,"hex_longitude":"2d168800","hex_latitude":"071faaa0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 10:07:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992474368001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:07:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8789289794011136,"note":"Value kept but may cause issues"} 
[2026-07-27 10:07:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623547696263110656,"note":"Value kept but may cause issues"} 
[2026-07-27 10:07:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:07:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785126874000,"timestamp_ms":1785126874000,"timestamp_seconds":1785126874,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1da6b90"} 
[2026-07-27 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-07-27 10:07:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-27 10:07:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 10:07:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:07:41] local.INFO: Teltonika packet parsed successfully {"connection_id":143878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:07:41] local.INFO: Passing IMEI to GPS processor {"connection_id":143878,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:07:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":143878,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:07:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:07:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:07:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:07:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992474368001,"66":12591,"131":206,"28":31744,"24":0,"16":8789289794011136,"45":1623547696263110656},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-07-27 10:07:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:07:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:07:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992474368001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:07:41] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-27 10:07:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:07:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8789289794011136,"km_value":8789289794011.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:07:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623547696263110656,"description":"Unknown IO ID 45"} 
[2026-07-27 10:07:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992474368001,"power":12591,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1623547696263110656}} 
[2026-07-27 10:07:41] local.INFO: DEBUG: GPS processor result {"connection_id":143878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552543,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:07:41] local.INFO: GPS data processed {"connection_id":143878,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:07:41] local.INFO: Acknowledgment sent {"connection_id":143878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:07:42] local.INFO: TCP Data received {"connection_id":143878,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1dabd98012d168800071faaa00020005727..."} 
[2026-07-27 10:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1dabd98012d168800071faaa00020005727..."} 
[2026-07-27 10:07:42] local.INFO: Processing buffer {"connection_id":143878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1dabd98012d168800071faaa00020005727..."} 
[2026-07-27 10:07:42] local.INFO: Packet analysis {"connection_id":143878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1da"} 
[2026-07-27 10:07:42] local.INFO: Extracted packet for processing {"connection_id":143878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1da"} 
[2026-07-27 10:07:42] local.INFO: GPS Element Parsed {"raw_longitude":756451328,"raw_latitude":119515808,"longitude_deg":75.6451328,"latitude_deg":11.9515808,"altitude":32,"angle":87,"satellites":39,"speed":0,"hex_longitude":"2d168800","hex_latitude":"071faaa0","is_valid_coordinates":true} 
[2026-07-27 10:07:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:07:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992479744001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:07:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8789289794011136,"note":"Value kept but may cause issues"} 
[2026-07-27 10:07:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623547696263110656,"note":"Value kept but may cause issues"} 
[2026-07-27 10:07:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:07:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785126895000,"timestamp_ms":1785126895000,"timestamp_seconds":1785126895,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1dabd98"} 
[2026-07-27 10:07:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:07:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 10:07:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-27 10:07:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:07:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:07:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:07:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:07:42] local.INFO: Teltonika packet parsed successfully {"connection_id":143878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:07:42] local.INFO: Passing IMEI to GPS processor {"connection_id":143878,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:07:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":143878,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:07:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:07:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:07:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:07:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992479744001,"66":12439,"131":206,"28":31744,"24":0,"16":8789289794011136,"45":1623547696263110656},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-07-27 10:07:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:07:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:07:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992479744001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:07:42] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-27 10:07:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:07:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8789289794011136,"km_value":8789289794011.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:07:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623547696263110656,"description":"Unknown IO ID 45"} 
[2026-07-27 10:07:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992479744001,"power":12439,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1623547696263110656}} 
[2026-07-27 10:07:42] local.INFO: DEBUG: GPS processor result {"connection_id":143878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552544,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:07:42] local.INFO: GPS data processed {"connection_id":143878,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:07:42] local.INFO: Acknowledgment sent {"connection_id":143878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:07:42] local.INFO: TCP Data received {"connection_id":142761,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:07:42] local.INFO: Processing buffer {"connection_id":142761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:07:42] local.INFO: IMEI packet received {"connection_id":142761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 10:07:42] local.INFO: IMEI acknowledgment sent {"connection_id":142761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:07:43] local.INFO: TCP Data received {"connection_id":142761,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1dc9258012d7faec005afd6a0001700ea26..."} 
[2026-07-27 10:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1dc9258012d7faec005afd6a0001700ea26..."} 
[2026-07-27 10:07:43] local.INFO: Processing buffer {"connection_id":142761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1dc9258012d7faec005afd6a0001700ea26..."} 
[2026-07-27 10:07:43] local.INFO: Packet analysis {"connection_id":142761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1dc"} 
[2026-07-27 10:07:43] local.INFO: Extracted packet for processing {"connection_id":142761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1dc"} 
[2026-07-27 10:07:43] local.INFO: GPS Element Parsed {"raw_longitude":763342528,"raw_latitude":95409824,"longitude_deg":76.3342528,"latitude_deg":9.5409824,"altitude":23,"angle":234,"satellites":38,"speed":0,"hex_longitude":"2d7faec0","hex_latitude":"05afd6a0","is_valid_coordinates":true} 
[2026-07-27 10: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-07-27 10:07:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992438016001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:07:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826719236325376,"note":"Value kept but may cause issues"} 
[2026-07-27 10:07:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006956863488,"note":"Value kept but may cause issues"} 
[2026-07-27 10:07:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:07:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785127015000,"timestamp_ms":1785127015000,"timestamp_seconds":1785127015,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1dc9258"} 
[2026-07-27 10:07:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:07:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 10: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":102,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-27 10:07:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2202,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10: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-07-27 10:07:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:07:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:07:43] local.INFO: Teltonika packet parsed successfully {"connection_id":142761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:07:43] local.INFO: Passing IMEI to GPS processor {"connection_id":142761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:07:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":142761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:07:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:07:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 10:07:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 10:07:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992438016001,"66":25191,"250":206,"85":12544,"24":0,"16":358826719236325376,"45":9200080006956863488},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 10:07:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 10:07:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 10:07:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992438016001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:07:43] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 10:07:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 10:07:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826719236325376,"km_value":358826719236325.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:07:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006956863488,"description":"Unknown IO ID 45"} 
[2026-07-27 10:07:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992438016001,"power":25191,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006956863488}} 
[2026-07-27 10:07:43] local.INFO: DEBUG: GPS processor result {"connection_id":142761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:07:43] local.INFO: GPS data processed {"connection_id":142761,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:07:43] local.INFO: Acknowledgment sent {"connection_id":142761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:07:48] local.INFO: TCP Data received {"connection_id":142761,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1dc9258012d7faec005afd6a0001700ea26..."} 
[2026-07-27 10:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1dc9258012d7faec005afd6a0001700ea26..."} 
[2026-07-27 10:07:48] local.INFO: Processing buffer {"connection_id":142761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1dc9258012d7faec005afd6a0001700ea26..."} 
[2026-07-27 10:07:48] local.INFO: Packet analysis {"connection_id":142761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1dc"} 
[2026-07-27 10:07:48] local.INFO: Extracted packet for processing {"connection_id":142761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1dc"} 
[2026-07-27 10:07:48] local.INFO: GPS Element Parsed {"raw_longitude":763342528,"raw_latitude":95409824,"longitude_deg":76.3342528,"latitude_deg":9.5409824,"altitude":23,"angle":234,"satellites":38,"speed":0,"hex_longitude":"2d7faec0","hex_latitude":"05afd6a0","is_valid_coordinates":true} 
[2026-07-27 10:07:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:07:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992438016001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:07:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826719236325376,"note":"Value kept but may cause issues"} 
[2026-07-27 10:07:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006956863488,"note":"Value kept but may cause issues"} 
[2026-07-27 10:07:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:07:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785127015000,"timestamp_ms":1785127015000,"timestamp_seconds":1785127015,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1dc9258"} 
[2026-07-27 10:07:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:07:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 10:07:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-27 10:07:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2202,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:07:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:07:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:07:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:07:48] local.INFO: Teltonika packet parsed successfully {"connection_id":142761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:07:48] local.INFO: Passing IMEI to GPS processor {"connection_id":142761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:07:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":142761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:07:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:07:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 10:07:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 10:07:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992438016001,"66":25191,"250":206,"85":12544,"24":0,"16":358826719236325376,"45":9200080006956863488},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 10:07:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 10:07:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 10:07:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992438016001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:07:48] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 10:07:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 10:07:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826719236325376,"km_value":358826719236325.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:07:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006956863488,"description":"Unknown IO ID 45"} 
[2026-07-27 10:07:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992438016001,"power":25191,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006956863488}} 
[2026-07-27 10:07:48] local.INFO: DEBUG: GPS processor result {"connection_id":142761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:07:48] local.INFO: GPS data processed {"connection_id":142761,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:07:48] local.INFO: Acknowledgment sent {"connection_id":142761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:07:52] local.INFO: TCP Data received {"connection_id":143879,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 10:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143879,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 10:07:52] local.INFO: Processing buffer {"connection_id":143879,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 10:07:52] local.INFO: IMEI packet received {"connection_id":143879,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 10:07:52] local.INFO: IMEI acknowledgment sent {"connection_id":143879,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:07:55] local.INFO: TCP Data received {"connection_id":143879,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 10:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143879,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 10:07:55] local.INFO: Processing buffer {"connection_id":143879,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 10:07:55] local.INFO: IMEI packet received {"connection_id":143879,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 10:07:55] local.INFO: IMEI acknowledgment sent {"connection_id":143879,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:08:13] local.INFO: TCP Data received {"connection_id":143878,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1db0fa0012d168800071faaa00020005726..."} 
[2026-07-27 10:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1db0fa0012d168800071faaa00020005726..."} 
[2026-07-27 10:08:13] local.INFO: Processing buffer {"connection_id":143878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1db0fa0012d168800071faaa00020005726..."} 
[2026-07-27 10:08:13] local.INFO: Packet analysis {"connection_id":143878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1db"} 
[2026-07-27 10:08:13] local.INFO: Extracted packet for processing {"connection_id":143878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1db"} 
[2026-07-27 10:08:13] local.INFO: GPS Element Parsed {"raw_longitude":756451328,"raw_latitude":119515808,"longitude_deg":75.6451328,"latitude_deg":11.9515808,"altitude":32,"angle":87,"satellites":38,"speed":0,"hex_longitude":"2d168800","hex_latitude":"071faaa0","is_valid_coordinates":true} 
[2026-07-27 10:08:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:08:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992485120001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:08:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8789289794011136,"note":"Value kept but may cause issues"} 
[2026-07-27 10:08:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623547696263110656,"note":"Value kept but may cause issues"} 
[2026-07-27 10:08:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:08:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785126916000,"timestamp_ms":1785126916000,"timestamp_seconds":1785126916,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1db0fa0"} 
[2026-07-27 10:08:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:08:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 10: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":151,"data_length":795,"current_offset":136} 
[2026-07-27 10:08:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:08:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:08:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:08:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:08:13] local.INFO: Teltonika packet parsed successfully {"connection_id":143878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:08:13] local.INFO: Passing IMEI to GPS processor {"connection_id":143878,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:08:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":143878,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:08:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:08:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:08:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:08:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992485120001,"66":11721,"131":206,"28":31744,"24":0,"16":8789289794011136,"45":1623547696263110656},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-07-27 10:08:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:08:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:08:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992485120001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:08:13] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-27 10:08:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:08:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8789289794011136,"km_value":8789289794011.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:08:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623547696263110656,"description":"Unknown IO ID 45"} 
[2026-07-27 10:08:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992485120001,"power":11721,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1623547696263110656}} 
[2026-07-27 10:08:13] local.INFO: DEBUG: GPS processor result {"connection_id":143878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552547,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:08:13] local.INFO: GPS data processed {"connection_id":143878,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:08:13] local.INFO: Acknowledgment sent {"connection_id":143878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:08:14] local.INFO: TCP Data received {"connection_id":143879,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1dc7700012d0b13000702a090001e014018..."} 
[2026-07-27 10:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1dc7700012d0b13000702a090001e014018..."} 
[2026-07-27 10:08:14] local.INFO: Processing buffer {"connection_id":143879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1dc7700012d0b13000702a090001e014018..."} 
[2026-07-27 10:08:14] local.INFO: Packet analysis {"connection_id":143879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1dc"} 
[2026-07-27 10:08:14] local.INFO: Extracted packet for processing {"connection_id":143879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1dc"} 
[2026-07-27 10:08:14] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612688,"longitude_deg":75.570048,"latitude_deg":11.7612688,"altitude":30,"angle":320,"satellites":24,"speed":1,"hex_longitude":"2d0b1300","hex_latitude":"0702a090","is_valid_coordinates":true} 
[2026-07-27 10:08:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:08:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992514048001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:08:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25893533193863168,"note":"Value kept but may cause issues"} 
[2026-07-27 10:08:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083557888,"note":"Value kept but may cause issues"} 
[2026-07-27 10:08: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-07-27 10:08:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785127008000,"timestamp_ms":1785127008000,"timestamp_seconds":1785127008,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1dc7700"} 
[2026-07-27 10:08:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:08:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 10:08:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-27 10:08:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:08:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:08:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:08:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:08:14] local.INFO: Teltonika packet parsed successfully {"connection_id":143879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:08:14] local.INFO: Passing IMEI to GPS processor {"connection_id":143879,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 10:08:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":143879,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 10:08:14] 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-07-27 10:08:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 10:08:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 10:08:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992514048001,"66":14450,"17":206,"94":11008,"24":1,"16":25893533193863168,"45":797981589083557888},"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-07-27 10:08:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 10:08:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 10:08:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992514048001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:08:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-27 10:08:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25893533193863168,"km_value":25893533193863.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:08:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083557888,"description":"Unknown IO ID 45"} 
[2026-07-27 10:08:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992514048001,"power":14450,"axis_x":206,"unknown_94":11008,"ignition":1,"odometer":null,"unknown_45":797981589083557888}} 
[2026-07-27 10:08:14] local.INFO: DEBUG: GPS processor result {"connection_id":143879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552548,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:08:14] local.INFO: GPS data processed {"connection_id":143879,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:08:14] local.INFO: Acknowledgment sent {"connection_id":143879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:08:16] local.INFO: TCP Data received {"connection_id":143879,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1dc7ed0012d0b12800702a0c8001e013318..."} 
[2026-07-27 10:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1dc7ed0012d0b12800702a0c8001e013318..."} 
[2026-07-27 10:08:16] local.INFO: Processing buffer {"connection_id":143879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1dc7ed0012d0b12800702a0c8001e013318..."} 
[2026-07-27 10:08:16] local.INFO: Packet analysis {"connection_id":143879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1dc"} 
[2026-07-27 10:08:16] local.INFO: Extracted packet for processing {"connection_id":143879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1dc"} 
[2026-07-27 10:08:16] local.INFO: GPS Element Parsed {"raw_longitude":755700352,"raw_latitude":117612744,"longitude_deg":75.5700352,"latitude_deg":11.7612744,"altitude":30,"angle":307,"satellites":24,"speed":0,"hex_longitude":"2d0b1280","hex_latitude":"0702a0c8","is_valid_coordinates":true} 
[2026-07-27 10:08:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:08:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992514048001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:08:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25893533193863168,"note":"Value kept but may cause issues"} 
[2026-07-27 10:08:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083557888,"note":"Value kept but may cause issues"} 
[2026-07-27 10:08:16] 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-07-27 10:08:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785127010000,"timestamp_ms":1785127010000,"timestamp_seconds":1785127010,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1dc7ed0"} 
[2026-07-27 10:08:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:08:16] 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-07-27 10:08:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-27 10:08:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:08:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:08:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:08:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:08:16] local.INFO: Teltonika packet parsed successfully {"connection_id":143879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:08:16] local.INFO: Passing IMEI to GPS processor {"connection_id":143879,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 10:08:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":143879,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 10:08:16] 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-07-27 10:08:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 10:08:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 10:08:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992514048001,"66":12874,"17":206,"94":11008,"24":0,"16":25893533193863168,"45":797981589083557888},"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-07-27 10:08:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 10:08:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 10:08:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992514048001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:08:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-27 10:08:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25893533193863168,"km_value":25893533193863.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:08:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083557888,"description":"Unknown IO ID 45"} 
[2026-07-27 10:08:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992514048001,"power":12874,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083557888}} 
[2026-07-27 10:08:16] local.INFO: DEBUG: GPS processor result {"connection_id":143879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552549,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:08:16] local.INFO: GPS data processed {"connection_id":143879,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:08:16] local.INFO: Acknowledgment sent {"connection_id":143879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:08:30] local.INFO: TCP Data received {"connection_id":143881,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143881,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:08:30] local.INFO: Processing buffer {"connection_id":143881,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:08:30] local.INFO: IMEI packet received {"connection_id":143881,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 10:08:30] local.INFO: IMEI acknowledgment sent {"connection_id":143881,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:08:32] local.INFO: TCP Data received {"connection_id":143882,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:08:32] local.INFO: Processing buffer {"connection_id":143882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:08:32] local.INFO: IMEI packet received {"connection_id":143882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 10:08:32] local.INFO: IMEI acknowledgment sent {"connection_id":143882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:08:35] local.INFO: TCP Data received {"connection_id":143881,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143881,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:08:35] local.INFO: Processing buffer {"connection_id":143881,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:08:35] local.INFO: IMEI packet received {"connection_id":143881,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 10:08:35] local.INFO: IMEI acknowledgment sent {"connection_id":143881,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:08:37] local.INFO: TCP Data received {"connection_id":143881,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1db61a8012d168800071faaa00020005729..."} 
[2026-07-27 10:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1db61a8012d168800071faaa00020005729..."} 
[2026-07-27 10:08:37] local.INFO: Processing buffer {"connection_id":143881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1db61a8012d168800071faaa00020005729..."} 
[2026-07-27 10:08:37] local.INFO: Packet analysis {"connection_id":143881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1db"} 
[2026-07-27 10:08:37] local.INFO: Extracted packet for processing {"connection_id":143881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1db"} 
[2026-07-27 10:08:37] local.INFO: GPS Element Parsed {"raw_longitude":756451328,"raw_latitude":119515808,"longitude_deg":75.6451328,"latitude_deg":11.9515808,"altitude":32,"angle":87,"satellites":41,"speed":0,"hex_longitude":"2d168800","hex_latitude":"071faaa0","is_valid_coordinates":true} 
[2026-07-27 10:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:08:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992490496001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:08:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8789289794011136,"note":"Value kept but may cause issues"} 
[2026-07-27 10:08:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623547696263110656,"note":"Value kept but may cause issues"} 
[2026-07-27 10:08:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:08:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785126937000,"timestamp_ms":1785126937000,"timestamp_seconds":1785126937,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1db61a8"} 
[2026-07-27 10:08:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:08:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 10:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-27 10:08:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2232,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:08:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:08:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:08:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:08:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:08:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143881,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:08:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143881,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:08:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:08:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:08:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:08:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992490496001,"66":12548,"131":206,"28":31744,"24":0,"16":8789289794011136,"45":1623547696263110656},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-07-27 10:08:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:08:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:08:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992490496001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:08:37] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-27 10:08:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:08:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8789289794011136,"km_value":8789289794011.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:08:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623547696263110656,"description":"Unknown IO ID 45"} 
[2026-07-27 10:08:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992490496001,"power":12548,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1623547696263110656}} 
[2026-07-27 10:08:37] local.INFO: DEBUG: GPS processor result {"connection_id":143881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552550,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:08:37] local.INFO: GPS data processed {"connection_id":143881,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:08:37] local.INFO: Acknowledgment sent {"connection_id":143881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:08:37] local.INFO: TCP Data received {"connection_id":143882,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:08:37] local.INFO: Processing buffer {"connection_id":143882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:08:37] local.INFO: IMEI packet received {"connection_id":143882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 10:08:37] local.INFO: IMEI acknowledgment sent {"connection_id":143882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:08:38] local.INFO: TCP Data received {"connection_id":143882,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1dc9258012d7faec005afd6a0001700ea26..."} 
[2026-07-27 10:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1dc9258012d7faec005afd6a0001700ea26..."} 
[2026-07-27 10:08:38] local.INFO: Processing buffer {"connection_id":143882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1dc9258012d7faec005afd6a0001700ea26..."} 
[2026-07-27 10:08:38] local.INFO: Packet analysis {"connection_id":143882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1dc"} 
[2026-07-27 10:08:38] local.INFO: Extracted packet for processing {"connection_id":143882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1dc"} 
[2026-07-27 10:08:38] local.INFO: GPS Element Parsed {"raw_longitude":763342528,"raw_latitude":95409824,"longitude_deg":76.3342528,"latitude_deg":9.5409824,"altitude":23,"angle":234,"satellites":38,"speed":0,"hex_longitude":"2d7faec0","hex_latitude":"05afd6a0","is_valid_coordinates":true} 
[2026-07-27 10:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:08:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992438016001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:08:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826719236325376,"note":"Value kept but may cause issues"} 
[2026-07-27 10:08:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006956863488,"note":"Value kept but may cause issues"} 
[2026-07-27 10:08:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:08:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785127015000,"timestamp_ms":1785127015000,"timestamp_seconds":1785127015,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1dc9258"} 
[2026-07-27 10:08:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:08:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 10:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-27 10:08:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2202,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:08:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:08:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:08:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:08:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:08:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:08:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:08:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:08:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 10:08:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 10:08:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992438016001,"66":25191,"250":206,"85":12544,"24":0,"16":358826719236325376,"45":9200080006956863488},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 10:08:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 10:08:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 10:08:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992438016001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:08:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 10:08:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 10:08:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826719236325376,"km_value":358826719236325.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:08:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006956863488,"description":"Unknown IO ID 45"} 
[2026-07-27 10:08:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992438016001,"power":25191,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006956863488}} 
[2026-07-27 10:08:38] local.INFO: DEBUG: GPS processor result {"connection_id":143882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:08:38] local.INFO: GPS data processed {"connection_id":143882,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:08:38] local.INFO: Acknowledgment sent {"connection_id":143882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:08:45] local.INFO: TCP Data received {"connection_id":142762,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 10:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142762,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 10:08:45] local.INFO: Processing buffer {"connection_id":142762,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 10:08:45] local.INFO: IMEI packet received {"connection_id":142762,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 10:08:45] local.INFO: IMEI acknowledgment sent {"connection_id":142762,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:08:49] local.INFO: TCP Data received {"connection_id":142889,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 10:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142889,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 10:08:49] local.INFO: Processing buffer {"connection_id":142889,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 10:08:49] local.INFO: IMEI packet received {"connection_id":142889,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 10:08:49] local.INFO: IMEI acknowledgment sent {"connection_id":142889,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:08:50] local.INFO: TCP Data received {"connection_id":142762,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 10:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142762,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 10:08:50] local.INFO: Processing buffer {"connection_id":142762,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 10:08:50] local.INFO: IMEI packet received {"connection_id":142762,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 10:08:50] local.INFO: IMEI acknowledgment sent {"connection_id":142762,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:08:51] local.INFO: TCP Data received {"connection_id":142762,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1dc7ed0012d0b12800702a0c8001e013318..."} 
[2026-07-27 10:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1dc7ed0012d0b12800702a0c8001e013318..."} 
[2026-07-27 10:08:51] local.INFO: Processing buffer {"connection_id":142762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1dc7ed0012d0b12800702a0c8001e013318..."} 
[2026-07-27 10:08:51] local.INFO: Packet analysis {"connection_id":142762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1dc"} 
[2026-07-27 10:08:51] local.INFO: Extracted packet for processing {"connection_id":142762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1dc"} 
[2026-07-27 10:08:51] local.INFO: GPS Element Parsed {"raw_longitude":755700352,"raw_latitude":117612744,"longitude_deg":75.5700352,"latitude_deg":11.7612744,"altitude":30,"angle":307,"satellites":24,"speed":0,"hex_longitude":"2d0b1280","hex_latitude":"0702a0c8","is_valid_coordinates":true} 
[2026-07-27 10:08:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:08:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992514048001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:08:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25893533193863168,"note":"Value kept but may cause issues"} 
[2026-07-27 10:08:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083557888,"note":"Value kept but may cause issues"} 
[2026-07-27 10:08:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:08:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785127010000,"timestamp_ms":1785127010000,"timestamp_seconds":1785127010,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1dc7ed0"} 
[2026-07-27 10:08:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:08:51] 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-07-27 10:08:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-27 10:08:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:08:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:08:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:08:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:08:51] local.INFO: Teltonika packet parsed successfully {"connection_id":142762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:08:51] local.INFO: Passing IMEI to GPS processor {"connection_id":142762,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 10:08:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":142762,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 10:08:51] 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-07-27 10:08:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 10:08:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 10:08:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992514048001,"66":12874,"17":206,"94":11008,"24":0,"16":25893533193863168,"45":797981589083557888},"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-07-27 10:08:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 10:08:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 10:08:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992514048001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:08:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-27 10:08:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25893533193863168,"km_value":25893533193863.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:08:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083557888,"description":"Unknown IO ID 45"} 
[2026-07-27 10:08:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992514048001,"power":12874,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083557888}} 
[2026-07-27 10:08:51] local.INFO: DEBUG: GPS processor result {"connection_id":142762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552552,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:08:51] local.INFO: GPS data processed {"connection_id":142762,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:08:51] local.INFO: Acknowledgment sent {"connection_id":142762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:08:56] local.INFO: TCP Data received {"connection_id":142762,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1dc7ed0012d0b12800702a0c8001e013318..."} 
[2026-07-27 10:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1dc7ed0012d0b12800702a0c8001e013318..."} 
[2026-07-27 10:08:56] local.INFO: Processing buffer {"connection_id":142762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1dc7ed0012d0b12800702a0c8001e013318..."} 
[2026-07-27 10:08:56] local.INFO: Packet analysis {"connection_id":142762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1dc"} 
[2026-07-27 10:08:56] local.INFO: Extracted packet for processing {"connection_id":142762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1dc"} 
[2026-07-27 10:08:56] local.INFO: GPS Element Parsed {"raw_longitude":755700352,"raw_latitude":117612744,"longitude_deg":75.5700352,"latitude_deg":11.7612744,"altitude":30,"angle":307,"satellites":24,"speed":0,"hex_longitude":"2d0b1280","hex_latitude":"0702a0c8","is_valid_coordinates":true} 
[2026-07-27 10:08:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:08:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992514048001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:08:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25893533193863168,"note":"Value kept but may cause issues"} 
[2026-07-27 10:08:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083557888,"note":"Value kept but may cause issues"} 
[2026-07-27 10:08:56] 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-07-27 10:08:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785127010000,"timestamp_ms":1785127010000,"timestamp_seconds":1785127010,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1dc7ed0"} 
[2026-07-27 10:08:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:08:56] 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-07-27 10:08:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-27 10:08:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:08:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:08:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:08:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:08:56] local.INFO: Teltonika packet parsed successfully {"connection_id":142762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:08:56] local.INFO: Passing IMEI to GPS processor {"connection_id":142762,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 10:08:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":142762,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 10:08:56] 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-07-27 10:08:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 10:08:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 10:08:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992514048001,"66":12874,"17":206,"94":11008,"24":0,"16":25893533193863168,"45":797981589083557888},"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-07-27 10:08:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 10:08:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 10:08:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992514048001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:08:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-27 10:08:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25893533193863168,"km_value":25893533193863.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:08:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083557888,"description":"Unknown IO ID 45"} 
[2026-07-27 10:08:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992514048001,"power":12874,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083557888}} 
[2026-07-27 10:08:56] local.INFO: DEBUG: GPS processor result {"connection_id":142762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552553,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:08:56] local.INFO: GPS data processed {"connection_id":142762,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:08:56] local.INFO: Acknowledgment sent {"connection_id":142762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:09:09] local.INFO: TCP Data received {"connection_id":143881,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1dbb3b0012d168800071faaa00020005727..."} 
[2026-07-27 10:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1dbb3b0012d168800071faaa00020005727..."} 
[2026-07-27 10:09:09] local.INFO: Processing buffer {"connection_id":143881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1dbb3b0012d168800071faaa00020005727..."} 
[2026-07-27 10:09:09] local.INFO: Packet analysis {"connection_id":143881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1db"} 
[2026-07-27 10:09:09] local.INFO: Extracted packet for processing {"connection_id":143881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1db"} 
[2026-07-27 10:09:09] local.INFO: GPS Element Parsed {"raw_longitude":756451328,"raw_latitude":119515808,"longitude_deg":75.6451328,"latitude_deg":11.9515808,"altitude":32,"angle":87,"satellites":39,"speed":0,"hex_longitude":"2d168800","hex_latitude":"071faaa0","is_valid_coordinates":true} 
[2026-07-27 10:09:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:09:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992495872001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:09:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8789289794011136,"note":"Value kept but may cause issues"} 
[2026-07-27 10:09:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623547696263110656,"note":"Value kept but may cause issues"} 
[2026-07-27 10:09:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:09:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785126958000,"timestamp_ms":1785126958000,"timestamp_seconds":1785126958,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1dbb3b0"} 
[2026-07-27 10:09:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:09:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-27 10:09:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-07-27 10:09:09] local.WARNING: Large IO value detected {"io_id":57,"raw_value":3489660928,"note":"Value kept but may cause issues"} 
[2026-07-27 10:09:09] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2715383160,"note":"Value kept but may cause issues"} 
[2026-07-27 10:09:09] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184197685453,"note":"Value kept but may cause issues"} 
[2026-07-27 10:09:09] local.WARNING: Large IO value detected {"io_id":161,"raw_value":3659106305,"note":"Value kept but may cause issues"} 
[2026-07-27 10:09:09] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3884122318,"corrected_to":0} 
[2026-07-27 10:09:09] local.WARNING: Large IO value detected {"io_id":199,"raw_value":2147560726,"note":"Value kept but may cause issues"} 
[2026-07-27 10:09:09] local.WARNING: Large IO value detected {"io_id":231,"raw_value":-9006972633006204928,"note":"Value kept but may cause issues"} 
[2026-07-27 10:09:09] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,131,28,24,241,158,16,57,159,15,45,170,32,38,10,66,189,39,107,1,240,47,161,31,4,113,205,199,136,160,37,239,49,2,7,231],"length":485,"final_offset":615,"validated_count":36,"validation_warnings":[{"io_id":205,"original":3884122318,"validated":0}]} 
[2026-07-27 10:09:09] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2305938842818969600,"timestamp_seconds":2305938842818969.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 10:09:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:09:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:09:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:09:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143881,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:09:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143881,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:09:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:09:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:09:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:09:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992495872001,"66":12548,"131":206,"28":31744,"24":0,"16":8789289794011136,"45":1623547696263110656},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-07-27 10:09:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:09:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:09:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992495872001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:09:09] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-27 10:09:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:09:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8789289794011136,"km_value":8789289794011.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:09:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623547696263110656,"description":"Unknown IO ID 45"} 
[2026-07-27 10:09:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992495872001,"power":12548,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1623547696263110656}} 
[2026-07-27 10:09:09] local.INFO: DEBUG: GPS processor result {"connection_id":143881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552554,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:09:09] local.INFO: GPS data processed {"connection_id":143881,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:09:09] local.INFO: Acknowledgment sent {"connection_id":143881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:09:11] local.INFO: TCP Data received {"connection_id":143882,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1dc9258012d7faec005afd6a0001700ea26..."} 
[2026-07-27 10:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1dc9258012d7faec005afd6a0001700ea26..."} 
[2026-07-27 10:09:11] local.INFO: Processing buffer {"connection_id":143882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1dc9258012d7faec005afd6a0001700ea26..."} 
[2026-07-27 10:09:11] local.INFO: Packet analysis {"connection_id":143882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1dc"} 
[2026-07-27 10:09:11] local.INFO: Extracted packet for processing {"connection_id":143882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1dc"} 
[2026-07-27 10:09:11] local.INFO: GPS Element Parsed {"raw_longitude":763342528,"raw_latitude":95409824,"longitude_deg":76.3342528,"latitude_deg":9.5409824,"altitude":23,"angle":234,"satellites":38,"speed":0,"hex_longitude":"2d7faec0","hex_latitude":"05afd6a0","is_valid_coordinates":true} 
[2026-07-27 10: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-07-27 10:09:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992438016001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:09:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826719236325376,"note":"Value kept but may cause issues"} 
[2026-07-27 10:09:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006956863488,"note":"Value kept but may cause issues"} 
[2026-07-27 10:09:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:09:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785127015000,"timestamp_ms":1785127015000,"timestamp_seconds":1785127015,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1dc9258"} 
[2026-07-27 10:09:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:09:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 10: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":102,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-27 10:09:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2202,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10: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-07-27 10:09:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:09:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:09:11] local.INFO: Teltonika packet parsed successfully {"connection_id":143882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:09:11] local.INFO: Passing IMEI to GPS processor {"connection_id":143882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:09:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":143882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:09:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:09:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 10:09:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 10:09:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992438016001,"66":25191,"250":206,"85":12544,"24":0,"16":358826719236325376,"45":9200080006956863488},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 10:09:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 10:09:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 10:09:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992438016001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:09:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 10:09:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 10:09:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826719236325376,"km_value":358826719236325.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:09:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006956863488,"description":"Unknown IO ID 45"} 
[2026-07-27 10:09:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992438016001,"power":25191,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006956863488}} 
[2026-07-27 10:09:11] local.INFO: DEBUG: GPS processor result {"connection_id":143882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:09:11] local.INFO: GPS data processed {"connection_id":143882,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:09:11] local.INFO: Acknowledgment sent {"connection_id":143882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:09:30] local.INFO: TCP Data received {"connection_id":145193,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145193,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:09:30] local.INFO: Processing buffer {"connection_id":145193,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:09:30] local.INFO: IMEI packet received {"connection_id":145193,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 10:09:30] local.INFO: IMEI acknowledgment sent {"connection_id":145193,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:09:32] local.INFO: TCP Data received {"connection_id":145194,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:09:32] local.INFO: Processing buffer {"connection_id":145194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:09:32] local.INFO: IMEI packet received {"connection_id":145194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 10:09:32] local.INFO: IMEI acknowledgment sent {"connection_id":145194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:09:35] local.INFO: TCP Data received {"connection_id":145193,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145193,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:09:35] local.INFO: Processing buffer {"connection_id":145193,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:09:35] local.INFO: IMEI packet received {"connection_id":145193,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 10:09:35] local.INFO: IMEI acknowledgment sent {"connection_id":145193,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:09:37] local.INFO: TCP Data received {"connection_id":145193,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1dc05b8012d168800071faaa00020005729..."} 
[2026-07-27 10:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1dc05b8012d168800071faaa00020005729..."} 
[2026-07-27 10:09:37] local.INFO: Processing buffer {"connection_id":145193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1dc05b8012d168800071faaa00020005729..."} 
[2026-07-27 10:09:37] local.INFO: Packet analysis {"connection_id":145193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1dc"} 
[2026-07-27 10:09:37] local.INFO: Extracted packet for processing {"connection_id":145193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1dc"} 
[2026-07-27 10:09:37] local.INFO: GPS Element Parsed {"raw_longitude":756451328,"raw_latitude":119515808,"longitude_deg":75.6451328,"latitude_deg":11.9515808,"altitude":32,"angle":87,"satellites":41,"speed":0,"hex_longitude":"2d168800","hex_latitude":"071faaa0","is_valid_coordinates":true} 
[2026-07-27 10:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992501248001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8789289794011136,"note":"Value kept but may cause issues"} 
[2026-07-27 10:09:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623547696263110656,"note":"Value kept but may cause issues"} 
[2026-07-27 10:09:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785126979000,"timestamp_ms":1785126979000,"timestamp_seconds":1785126979,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1dc05b8"} 
[2026-07-27 10:09:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:09:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 10:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-27 10:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-07-27 10:09:37] local.WARNING: Large IO value detected {"io_id":57,"raw_value":3489660928,"note":"Value kept but may cause issues"} 
[2026-07-27 10:09:37] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2715404160,"note":"Value kept but may cause issues"} 
[2026-07-27 10:09:37] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184203387085,"note":"Value kept but may cause issues"} 
[2026-07-27 10:09:37] local.WARNING: Large IO value detected {"io_id":161,"raw_value":3664482305,"note":"Value kept but may cause issues"} 
[2026-07-27 10:09:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3884122318,"corrected_to":0} 
[2026-07-27 10:09:37] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2281778454,"note":"Value kept but may cause issues"} 
[2026-07-27 10:09:37] local.WARNING: Large IO value detected {"io_id":231,"raw_value":-9006972633006204928,"note":"Value kept but may cause issues"} 
[2026-07-27 10:09:37] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,131,28,24,241,158,16,57,159,97,45,170,32,41,10,66,15,38,189,1,240,151,161,31,4,113,205,25,136,160,40,239,49,2,7,231],"length":485,"final_offset":615,"validated_count":36,"validation_warnings":[{"io_id":205,"original":3884122318,"validated":0}]} 
[2026-07-27 10:09:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2305938834229035008,"timestamp_seconds":2305938834229035.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 10:09:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145193,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145193,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:09:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992501248001,"66":12537,"131":206,"28":31744,"24":0,"16":8789289794011136,"45":1623547696263110656},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-07-27 10:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992501248001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:09:37] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-27 10:09:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:09:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8789289794011136,"km_value":8789289794011.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:09:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623547696263110656,"description":"Unknown IO ID 45"} 
[2026-07-27 10:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992501248001,"power":12537,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1623547696263110656}} 
[2026-07-27 10:09:37] local.INFO: DEBUG: GPS processor result {"connection_id":145193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552556,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:09:37] local.INFO: GPS data processed {"connection_id":145193,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:09:37] local.INFO: Acknowledgment sent {"connection_id":145193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:09:44] local.INFO: TCP Data received {"connection_id":145194,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:09:44] local.INFO: Processing buffer {"connection_id":145194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:09:44] local.INFO: IMEI packet received {"connection_id":145194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 10:09:44] local.INFO: IMEI acknowledgment sent {"connection_id":145194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:09:45] local.INFO: TCP Data received {"connection_id":145194,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1dc9258012d7faec005afd6a0001700ea26..."} 
[2026-07-27 10:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145194,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1dc9258012d7faec005afd6a0001700ea26..."} 
[2026-07-27 10:09:45] local.INFO: Processing buffer {"connection_id":145194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1dc9258012d7faec005afd6a0001700ea26..."} 
[2026-07-27 10:09:45] local.INFO: Packet analysis {"connection_id":145194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1dc"} 
[2026-07-27 10:09:45] local.INFO: Extracted packet for processing {"connection_id":145194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1dc"} 
[2026-07-27 10:09:45] local.INFO: GPS Element Parsed {"raw_longitude":763342528,"raw_latitude":95409824,"longitude_deg":76.3342528,"latitude_deg":9.5409824,"altitude":23,"angle":234,"satellites":38,"speed":0,"hex_longitude":"2d7faec0","hex_latitude":"05afd6a0","is_valid_coordinates":true} 
[2026-07-27 10:09:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:09:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992438016001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:09:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826719236325376,"note":"Value kept but may cause issues"} 
[2026-07-27 10:09:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006956863488,"note":"Value kept but may cause issues"} 
[2026-07-27 10:09:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:09:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785127015000,"timestamp_ms":1785127015000,"timestamp_seconds":1785127015,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1dc9258"} 
[2026-07-27 10:09:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:09:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 10:09:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-27 10:09:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2202,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:09:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:09:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:09:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:09:45] local.INFO: Teltonika packet parsed successfully {"connection_id":145194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:09:45] local.INFO: Passing IMEI to GPS processor {"connection_id":145194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:09:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":145194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:09:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:09:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 10:09:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 10:09:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992438016001,"66":25191,"250":206,"85":12544,"24":0,"16":358826719236325376,"45":9200080006956863488},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 10:09:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 10:09:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 10:09:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992438016001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:09:45] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 10:09:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 10:09:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826719236325376,"km_value":358826719236325.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:09:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006956863488,"description":"Unknown IO ID 45"} 
[2026-07-27 10:09:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992438016001,"power":25191,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006956863488}} 
[2026-07-27 10:09:45] local.INFO: DEBUG: GPS processor result {"connection_id":145194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:09:45] local.INFO: GPS data processed {"connection_id":145194,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:09:45] local.INFO: Acknowledgment sent {"connection_id":145194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:10:08] local.INFO: TCP Data received {"connection_id":145193,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1dc57c0012d168800071faaa00020005724..."} 
[2026-07-27 10:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1dc57c0012d168800071faaa00020005724..."} 
[2026-07-27 10:10:08] local.INFO: Processing buffer {"connection_id":145193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1dc57c0012d168800071faaa00020005724..."} 
[2026-07-27 10:10:08] local.INFO: Packet analysis {"connection_id":145193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1dc"} 
[2026-07-27 10:10:08] local.INFO: Extracted packet for processing {"connection_id":145193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1dc"} 
[2026-07-27 10:10:08] local.INFO: GPS Element Parsed {"raw_longitude":756451328,"raw_latitude":119515808,"longitude_deg":75.6451328,"latitude_deg":11.9515808,"altitude":32,"angle":87,"satellites":36,"speed":0,"hex_longitude":"2d168800","hex_latitude":"071faaa0","is_valid_coordinates":true} 
[2026-07-27 10:10:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:10:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992506624001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:10:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8789289794011136,"note":"Value kept but may cause issues"} 
[2026-07-27 10:10:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623547696263110656,"note":"Value kept but may cause issues"} 
[2026-07-27 10:10:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:10:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785127000000,"timestamp_ms":1785127000000,"timestamp_seconds":1785127000,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1dc57c0"} 
[2026-07-27 10:10:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:10:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 10: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":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-27 10:10: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-07-27 10:10:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:10:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:10:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:10:08] local.INFO: Teltonika packet parsed successfully {"connection_id":145193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:10:08] local.INFO: Passing IMEI to GPS processor {"connection_id":145193,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:10:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":145193,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:10:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:10:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:10:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:10:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992506624001,"66":12504,"131":206,"28":31744,"24":0,"16":8789289794011136,"45":1623547696263110656},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-07-27 10:10:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:10:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:10:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992506624001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:10:08] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-27 10:10:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:10:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8789289794011136,"km_value":8789289794011.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:10:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623547696263110656,"description":"Unknown IO ID 45"} 
[2026-07-27 10:10:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992506624001,"power":12504,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1623547696263110656}} 
[2026-07-27 10:10:08] local.INFO: DEBUG: GPS processor result {"connection_id":145193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552558,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:10:08] local.INFO: GPS data processed {"connection_id":145193,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:10:08] local.INFO: Acknowledgment sent {"connection_id":145193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:10:16] local.INFO: TCP Data received {"connection_id":145194,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1dc9258012d7faec005afd6a0001700ea26..."} 
[2026-07-27 10:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145194,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1dc9258012d7faec005afd6a0001700ea26..."} 
[2026-07-27 10:10:16] local.INFO: Processing buffer {"connection_id":145194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1dc9258012d7faec005afd6a0001700ea26..."} 
[2026-07-27 10:10:16] local.INFO: Packet analysis {"connection_id":145194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1dc"} 
[2026-07-27 10:10:16] local.INFO: Extracted packet for processing {"connection_id":145194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1dc"} 
[2026-07-27 10:10:16] local.INFO: GPS Element Parsed {"raw_longitude":763342528,"raw_latitude":95409824,"longitude_deg":76.3342528,"latitude_deg":9.5409824,"altitude":23,"angle":234,"satellites":38,"speed":0,"hex_longitude":"2d7faec0","hex_latitude":"05afd6a0","is_valid_coordinates":true} 
[2026-07-27 10:10:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:10:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992438016001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:10:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826719236325376,"note":"Value kept but may cause issues"} 
[2026-07-27 10:10:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006956863488,"note":"Value kept but may cause issues"} 
[2026-07-27 10:10:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:10:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785127015000,"timestamp_ms":1785127015000,"timestamp_seconds":1785127015,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1dc9258"} 
[2026-07-27 10:10:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:10:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 10:10: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":102,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-27 10:10:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2202,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:10:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:10:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:10:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:10:16] local.INFO: Teltonika packet parsed successfully {"connection_id":145194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:10:16] local.INFO: Passing IMEI to GPS processor {"connection_id":145194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:10:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":145194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:10:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:10:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 10:10:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 10:10:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992438016001,"66":25191,"250":206,"85":12544,"24":0,"16":358826719236325376,"45":9200080006956863488},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 10:10:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 10:10:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 10:10:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992438016001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:10:16] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 10:10:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 10:10:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826719236325376,"km_value":358826719236325.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:10:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006956863488,"description":"Unknown IO ID 45"} 
[2026-07-27 10:10:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992438016001,"power":25191,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006956863488}} 
[2026-07-27 10:10:16] local.INFO: DEBUG: GPS processor result {"connection_id":145194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:10:16] local.INFO: GPS data processed {"connection_id":145194,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:10:16] local.INFO: Acknowledgment sent {"connection_id":145194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:10:30] local.INFO: TCP Data received {"connection_id":142890,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142890,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:10:30] local.INFO: Processing buffer {"connection_id":142890,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:10:30] local.INFO: IMEI packet received {"connection_id":142890,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 10:10:30] local.INFO: IMEI acknowledgment sent {"connection_id":142890,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:10:32] local.INFO: TCP Data received {"connection_id":143883,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:10:32] local.INFO: Processing buffer {"connection_id":143883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:10:32] local.INFO: IMEI packet received {"connection_id":143883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 10:10:32] local.INFO: IMEI acknowledgment sent {"connection_id":143883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:10:35] local.INFO: TCP Data received {"connection_id":142890,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142890,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:10:35] local.INFO: Processing buffer {"connection_id":142890,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:10:35] local.INFO: IMEI packet received {"connection_id":142890,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 10:10:35] local.INFO: IMEI acknowledgment sent {"connection_id":142890,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:10:36] local.INFO: TCP Data received {"connection_id":142890,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1dca9c8012d168800071faaa00020005729..."} 
[2026-07-27 10:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1dca9c8012d168800071faaa00020005729..."} 
[2026-07-27 10:10:36] local.INFO: Processing buffer {"connection_id":142890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1dca9c8012d168800071faaa00020005729..."} 
[2026-07-27 10:10:36] local.INFO: Packet analysis {"connection_id":142890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1dc"} 
[2026-07-27 10:10:36] local.INFO: Extracted packet for processing {"connection_id":142890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1dc"} 
[2026-07-27 10:10:36] local.INFO: GPS Element Parsed {"raw_longitude":756451328,"raw_latitude":119515808,"longitude_deg":75.6451328,"latitude_deg":11.9515808,"altitude":32,"angle":87,"satellites":41,"speed":0,"hex_longitude":"2d168800","hex_latitude":"071faaa0","is_valid_coordinates":true} 
[2026-07-27 10:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:10:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992512000001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:10:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8789289794011136,"note":"Value kept but may cause issues"} 
[2026-07-27 10:10:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623547696263110656,"note":"Value kept but may cause issues"} 
[2026-07-27 10:10:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:10:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785127021000,"timestamp_ms":1785127021000,"timestamp_seconds":1785127021,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1dca9c8"} 
[2026-07-27 10:10:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:10:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 10:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-27 10:10:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:10:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:10:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:10:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:10:36] local.INFO: Teltonika packet parsed successfully {"connection_id":142890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:10:36] local.INFO: Passing IMEI to GPS processor {"connection_id":142890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:10:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":142890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:10:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:10:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:10:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:10:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992512000001,"66":12526,"131":206,"28":31744,"24":0,"16":8789289794011136,"45":1623547696263110656},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-07-27 10:10:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:10:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:10:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992512000001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:10:36] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-27 10:10:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:10:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8789289794011136,"km_value":8789289794011.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:10:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623547696263110656,"description":"Unknown IO ID 45"} 
[2026-07-27 10:10:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992512000001,"power":12526,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1623547696263110656}} 
[2026-07-27 10:10:36] local.INFO: DEBUG: GPS processor result {"connection_id":142890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552560,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:10:36] local.INFO: GPS data processed {"connection_id":142890,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:10:36] local.INFO: Acknowledgment sent {"connection_id":142890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:10:37] local.INFO: TCP Data received {"connection_id":143883,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:10:37] local.INFO: Processing buffer {"connection_id":143883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:10:37] local.INFO: IMEI packet received {"connection_id":143883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 10:10:37] local.INFO: IMEI acknowledgment sent {"connection_id":143883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:10:38] local.INFO: TCP Data received {"connection_id":143883,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1dc9258012d7faec005afd6a0001700ea26..."} 
[2026-07-27 10:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1dc9258012d7faec005afd6a0001700ea26..."} 
[2026-07-27 10:10:38] local.INFO: Processing buffer {"connection_id":143883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1dc9258012d7faec005afd6a0001700ea26..."} 
[2026-07-27 10:10:38] local.INFO: Packet analysis {"connection_id":143883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1dc"} 
[2026-07-27 10:10:38] local.INFO: Extracted packet for processing {"connection_id":143883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1dc"} 
[2026-07-27 10:10:38] local.INFO: GPS Element Parsed {"raw_longitude":763342528,"raw_latitude":95409824,"longitude_deg":76.3342528,"latitude_deg":9.5409824,"altitude":23,"angle":234,"satellites":38,"speed":0,"hex_longitude":"2d7faec0","hex_latitude":"05afd6a0","is_valid_coordinates":true} 
[2026-07-27 10:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:10:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992438016001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:10:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826719236325376,"note":"Value kept but may cause issues"} 
[2026-07-27 10:10:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006956863488,"note":"Value kept but may cause issues"} 
[2026-07-27 10:10:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:10:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785127015000,"timestamp_ms":1785127015000,"timestamp_seconds":1785127015,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1dc9258"} 
[2026-07-27 10:10:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:10:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 10:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-27 10:10:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2202,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:10:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:10:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:10:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:10:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:10:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:10:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:10:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:10:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 10:10:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 10:10:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992438016001,"66":25191,"250":206,"85":12544,"24":0,"16":358826719236325376,"45":9200080006956863488},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 10:10:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 10:10:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 10:10:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992438016001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:10:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 10:10:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 10:10:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826719236325376,"km_value":358826719236325.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:10:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006956863488,"description":"Unknown IO ID 45"} 
[2026-07-27 10:10:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992438016001,"power":25191,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006956863488}} 
[2026-07-27 10:10:38] local.INFO: DEBUG: GPS processor result {"connection_id":143883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:10:38] local.INFO: GPS data processed {"connection_id":143883,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:10:38] local.INFO: Acknowledgment sent {"connection_id":143883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:11:08] local.INFO: TCP Data received {"connection_id":142890,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1dcfbd0012d168800071faaa00020005727..."} 
[2026-07-27 10:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1dcfbd0012d168800071faaa00020005727..."} 
[2026-07-27 10:11:08] local.INFO: Processing buffer {"connection_id":142890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1dcfbd0012d168800071faaa00020005727..."} 
[2026-07-27 10:11:08] local.INFO: Packet analysis {"connection_id":142890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1dc"} 
[2026-07-27 10:11:08] local.INFO: Extracted packet for processing {"connection_id":142890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1dc"} 
[2026-07-27 10:11:08] local.INFO: GPS Element Parsed {"raw_longitude":756451328,"raw_latitude":119515808,"longitude_deg":75.6451328,"latitude_deg":11.9515808,"altitude":32,"angle":87,"satellites":39,"speed":0,"hex_longitude":"2d168800","hex_latitude":"071faaa0","is_valid_coordinates":true} 
[2026-07-27 10:11:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:11:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992517376001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:11:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8789289794011136,"note":"Value kept but may cause issues"} 
[2026-07-27 10:11:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623547696263110656,"note":"Value kept but may cause issues"} 
[2026-07-27 10:11:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:11:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785127042000,"timestamp_ms":1785127042000,"timestamp_seconds":1785127042,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1dcfbd0"} 
[2026-07-27 10:11:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:11:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 10: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-27 10:11: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-07-27 10:11:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:11:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:11:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:11:08] local.INFO: Teltonika packet parsed successfully {"connection_id":142890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:11:08] local.INFO: Passing IMEI to GPS processor {"connection_id":142890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:11:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":142890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:11:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:11:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:11:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:11:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992517376001,"66":12526,"131":206,"28":31744,"24":0,"16":8789289794011136,"45":1623547696263110656},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-07-27 10:11:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:11:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:11:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992517376001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:11:08] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-27 10:11:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:11:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8789289794011136,"km_value":8789289794011.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:11:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623547696263110656,"description":"Unknown IO ID 45"} 
[2026-07-27 10:11:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992517376001,"power":12526,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1623547696263110656}} 
[2026-07-27 10:11:08] local.INFO: DEBUG: GPS processor result {"connection_id":142890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552562,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:11:08] local.INFO: GPS data processed {"connection_id":142890,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:11:08] local.INFO: Acknowledgment sent {"connection_id":142890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:11:11] local.INFO: TCP Data received {"connection_id":143883,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1dc9258012d7faec005afd6a0001700ea26..."} 
[2026-07-27 10:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1dc9258012d7faec005afd6a0001700ea26..."} 
[2026-07-27 10:11:11] local.INFO: Processing buffer {"connection_id":143883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1dc9258012d7faec005afd6a0001700ea26..."} 
[2026-07-27 10:11:11] local.INFO: Packet analysis {"connection_id":143883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1dc"} 
[2026-07-27 10:11:11] local.INFO: Extracted packet for processing {"connection_id":143883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1dc"} 
[2026-07-27 10:11:11] local.INFO: GPS Element Parsed {"raw_longitude":763342528,"raw_latitude":95409824,"longitude_deg":76.3342528,"latitude_deg":9.5409824,"altitude":23,"angle":234,"satellites":38,"speed":0,"hex_longitude":"2d7faec0","hex_latitude":"05afd6a0","is_valid_coordinates":true} 
[2026-07-27 10:11:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:11:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992438016001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:11:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826719236325376,"note":"Value kept but may cause issues"} 
[2026-07-27 10:11:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006956863488,"note":"Value kept but may cause issues"} 
[2026-07-27 10:11:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:11:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785127015000,"timestamp_ms":1785127015000,"timestamp_seconds":1785127015,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1dc9258"} 
[2026-07-27 10:11:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:11:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 10: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":102,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-27 10:11:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2202,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:11:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:11:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:11:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:11:11] local.INFO: Teltonika packet parsed successfully {"connection_id":143883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:11:11] local.INFO: Passing IMEI to GPS processor {"connection_id":143883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:11:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":143883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:11:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:11:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 10:11:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 10:11:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992438016001,"66":25191,"250":206,"85":12544,"24":0,"16":358826719236325376,"45":9200080006956863488},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 10:11:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 10:11:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 10:11:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992438016001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:11:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 10:11:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 10:11:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826719236325376,"km_value":358826719236325.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:11:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006956863488,"description":"Unknown IO ID 45"} 
[2026-07-27 10:11:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992438016001,"power":25191,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006956863488}} 
[2026-07-27 10:11:11] local.INFO: DEBUG: GPS processor result {"connection_id":143883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:11:11] local.INFO: GPS data processed {"connection_id":143883,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:11:11] local.INFO: Acknowledgment sent {"connection_id":143883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:11:30] local.INFO: TCP Data received {"connection_id":142763,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142763,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:11:30] local.INFO: Processing buffer {"connection_id":142763,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:11:30] local.INFO: IMEI packet received {"connection_id":142763,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 10:11:30] local.INFO: IMEI acknowledgment sent {"connection_id":142763,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:11:31] local.INFO: TCP Data received {"connection_id":142763,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142763,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:11:31] local.INFO: Processing buffer {"connection_id":142763,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:11:31] local.INFO: IMEI packet received {"connection_id":142763,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 10:11:31] local.INFO: IMEI acknowledgment sent {"connection_id":142763,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:11:32] local.INFO: TCP Data received {"connection_id":145195,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:11:32] local.INFO: Processing buffer {"connection_id":145195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:11:32] local.INFO: IMEI packet received {"connection_id":145195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 10:11:32] local.INFO: IMEI acknowledgment sent {"connection_id":145195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:11:35] local.INFO: TCP Data received {"connection_id":142763,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142763,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:11:35] local.INFO: Processing buffer {"connection_id":142763,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:11:35] local.INFO: IMEI packet received {"connection_id":142763,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 10:11:35] local.INFO: IMEI acknowledgment sent {"connection_id":142763,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:11:35] local.INFO: TCP Data received {"connection_id":142763,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1dd4dd8012d168800071faaa00020005727..."} 
[2026-07-27 10:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142763,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1dd4dd8012d168800071faaa00020005727..."} 
[2026-07-27 10:11:35] local.INFO: Processing buffer {"connection_id":142763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1dd4dd8012d168800071faaa00020005727..."} 
[2026-07-27 10:11:35] local.INFO: Packet analysis {"connection_id":142763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1dd"} 
[2026-07-27 10:11:35] local.INFO: Extracted packet for processing {"connection_id":142763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1dd"} 
[2026-07-27 10:11:35] local.INFO: GPS Element Parsed {"raw_longitude":756451328,"raw_latitude":119515808,"longitude_deg":75.6451328,"latitude_deg":11.9515808,"altitude":32,"angle":87,"satellites":39,"speed":0,"hex_longitude":"2d168800","hex_latitude":"071faaa0","is_valid_coordinates":true} 
[2026-07-27 10:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:11:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992522752001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:11:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8789289794011136,"note":"Value kept but may cause issues"} 
[2026-07-27 10:11:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623547696263110656,"note":"Value kept but may cause issues"} 
[2026-07-27 10:11:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:11:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785127063000,"timestamp_ms":1785127063000,"timestamp_seconds":1785127063,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1dd4dd8"} 
[2026-07-27 10:11:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:11:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 10:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-27 10:11:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:11:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:11:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:11:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:11:35] local.INFO: Teltonika packet parsed successfully {"connection_id":142763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:11:35] local.INFO: Passing IMEI to GPS processor {"connection_id":142763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:11:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":142763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:11:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:11:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:11:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:11:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992522752001,"66":12504,"131":206,"28":31744,"24":0,"16":8789289794011136,"45":1623547696263110656},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-07-27 10:11:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:11:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:11:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992522752001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:11:35] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-27 10:11:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:11:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8789289794011136,"km_value":8789289794011.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:11:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623547696263110656,"description":"Unknown IO ID 45"} 
[2026-07-27 10:11:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992522752001,"power":12504,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1623547696263110656}} 
[2026-07-27 10:11:35] local.INFO: DEBUG: GPS processor result {"connection_id":142763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552564,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:11:35] local.INFO: GPS data processed {"connection_id":142763,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:11:35] local.INFO: Acknowledgment sent {"connection_id":142763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:11:37] local.INFO: TCP Data received {"connection_id":145195,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:11:37] local.INFO: Processing buffer {"connection_id":145195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:11:37] local.INFO: IMEI packet received {"connection_id":145195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 10:11:37] local.INFO: IMEI acknowledgment sent {"connection_id":145195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:11:38] local.INFO: TCP Data received {"connection_id":145195,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1dc9258012d7faec005afd6a0001700ea26..."} 
[2026-07-27 10:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145195,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1dc9258012d7faec005afd6a0001700ea26..."} 
[2026-07-27 10:11:38] local.INFO: Processing buffer {"connection_id":145195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1dc9258012d7faec005afd6a0001700ea26..."} 
[2026-07-27 10:11:38] local.INFO: Packet analysis {"connection_id":145195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1dc"} 
[2026-07-27 10:11:38] local.INFO: Extracted packet for processing {"connection_id":145195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1dc"} 
[2026-07-27 10:11:38] local.INFO: GPS Element Parsed {"raw_longitude":763342528,"raw_latitude":95409824,"longitude_deg":76.3342528,"latitude_deg":9.5409824,"altitude":23,"angle":234,"satellites":38,"speed":0,"hex_longitude":"2d7faec0","hex_latitude":"05afd6a0","is_valid_coordinates":true} 
[2026-07-27 10:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:11:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992438016001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:11:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826719236325376,"note":"Value kept but may cause issues"} 
[2026-07-27 10:11:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006956863488,"note":"Value kept but may cause issues"} 
[2026-07-27 10:11:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:11:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785127015000,"timestamp_ms":1785127015000,"timestamp_seconds":1785127015,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1dc9258"} 
[2026-07-27 10:11:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:11:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 10:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-27 10:11:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2202,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:11:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:11:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:11:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:11:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:11:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:11:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:11:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:11:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 10:11:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 10:11:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992438016001,"66":25191,"250":206,"85":12544,"24":0,"16":358826719236325376,"45":9200080006956863488},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 10:11:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 10:11:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 10:11:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992438016001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:11:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 10:11:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 10:11:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826719236325376,"km_value":358826719236325.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:11:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006956863488,"description":"Unknown IO ID 45"} 
[2026-07-27 10:11:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992438016001,"power":25191,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006956863488}} 
[2026-07-27 10:11:38] local.INFO: DEBUG: GPS processor result {"connection_id":145195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:11:38] local.INFO: GPS data processed {"connection_id":145195,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:11:38] local.INFO: Acknowledgment sent {"connection_id":145195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:12:07] local.INFO: TCP Data received {"connection_id":142763,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1dd9fe0012d168800071faaa00020005727..."} 
[2026-07-27 10:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142763,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1dd9fe0012d168800071faaa00020005727..."} 
[2026-07-27 10:12:07] local.INFO: Processing buffer {"connection_id":142763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1dd9fe0012d168800071faaa00020005727..."} 
[2026-07-27 10:12:07] local.INFO: Packet analysis {"connection_id":142763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1dd"} 
[2026-07-27 10:12:07] local.INFO: Extracted packet for processing {"connection_id":142763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1dd"} 
[2026-07-27 10:12:07] local.INFO: GPS Element Parsed {"raw_longitude":756451328,"raw_latitude":119515808,"longitude_deg":75.6451328,"latitude_deg":11.9515808,"altitude":32,"angle":87,"satellites":39,"speed":0,"hex_longitude":"2d168800","hex_latitude":"071faaa0","is_valid_coordinates":true} 
[2026-07-27 10:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:12:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992528128001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:12:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8789289794011136,"note":"Value kept but may cause issues"} 
[2026-07-27 10:12:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623547696263110656,"note":"Value kept but may cause issues"} 
[2026-07-27 10:12:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:12:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785127084000,"timestamp_ms":1785127084000,"timestamp_seconds":1785127084,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1dd9fe0"} 
[2026-07-27 10:12:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:12:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 10:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-27 10:12:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:12:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:12:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:12:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:12:07] local.INFO: Teltonika packet parsed successfully {"connection_id":142763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:12:07] local.INFO: Passing IMEI to GPS processor {"connection_id":142763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:12:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":142763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:12:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:12:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:12:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:12:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992528128001,"66":12515,"131":206,"28":31744,"24":0,"16":8789289794011136,"45":1623547696263110656},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-07-27 10:12:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:12:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:12:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992528128001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:12:07] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-27 10:12:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:12:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8789289794011136,"km_value":8789289794011.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:12:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623547696263110656,"description":"Unknown IO ID 45"} 
[2026-07-27 10:12:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992528128001,"power":12515,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1623547696263110656}} 
[2026-07-27 10:12:07] local.INFO: DEBUG: GPS processor result {"connection_id":142763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552566,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:12:07] local.INFO: GPS data processed {"connection_id":142763,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:12:07] local.INFO: Acknowledgment sent {"connection_id":142763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:12:09] local.INFO: TCP Data received {"connection_id":145195,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1dc9258012d7faec005afd6a0001700ea26..."} 
[2026-07-27 10:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145195,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1dc9258012d7faec005afd6a0001700ea26..."} 
[2026-07-27 10:12:09] local.INFO: Processing buffer {"connection_id":145195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1dc9258012d7faec005afd6a0001700ea26..."} 
[2026-07-27 10:12:09] local.INFO: Packet analysis {"connection_id":145195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1dc"} 
[2026-07-27 10:12:09] local.INFO: Extracted packet for processing {"connection_id":145195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1dc"} 
[2026-07-27 10:12:09] local.INFO: GPS Element Parsed {"raw_longitude":763342528,"raw_latitude":95409824,"longitude_deg":76.3342528,"latitude_deg":9.5409824,"altitude":23,"angle":234,"satellites":38,"speed":0,"hex_longitude":"2d7faec0","hex_latitude":"05afd6a0","is_valid_coordinates":true} 
[2026-07-27 10:12:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:12:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992438016001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:12:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826719236325376,"note":"Value kept but may cause issues"} 
[2026-07-27 10:12:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006956863488,"note":"Value kept but may cause issues"} 
[2026-07-27 10:12:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:12:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785127015000,"timestamp_ms":1785127015000,"timestamp_seconds":1785127015,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1dc9258"} 
[2026-07-27 10:12:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:12:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 10:12:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-27 10:12:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2202,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:12:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:12:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:12:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:12:09] local.INFO: Teltonika packet parsed successfully {"connection_id":145195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:12:09] local.INFO: Passing IMEI to GPS processor {"connection_id":145195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:12:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":145195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:12:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:12:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 10:12:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 10:12:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992438016001,"66":25191,"250":206,"85":12544,"24":0,"16":358826719236325376,"45":9200080006956863488},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 10:12:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 10:12:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 10:12:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992438016001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:12:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 10:12:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 10:12:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826719236325376,"km_value":358826719236325.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:12:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006956863488,"description":"Unknown IO ID 45"} 
[2026-07-27 10:12:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992438016001,"power":25191,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006956863488}} 
[2026-07-27 10:12:09] local.INFO: DEBUG: GPS processor result {"connection_id":145195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:12:09] local.INFO: GPS data processed {"connection_id":145195,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:12:09] local.INFO: Acknowledgment sent {"connection_id":145195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:12:33] local.INFO: TCP Data received {"connection_id":145196,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145196,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:12:33] local.INFO: Processing buffer {"connection_id":145196,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:12:33] local.INFO: IMEI packet received {"connection_id":145196,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 10:12:33] local.INFO: IMEI acknowledgment sent {"connection_id":145196,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:12:35] local.INFO: TCP Data received {"connection_id":145196,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145196,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:12:35] local.INFO: Processing buffer {"connection_id":145196,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:12:35] local.INFO: IMEI packet received {"connection_id":145196,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 10:12:35] local.INFO: IMEI acknowledgment sent {"connection_id":145196,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:12:37] local.INFO: TCP Data received {"connection_id":142891,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:12:37] local.INFO: Processing buffer {"connection_id":142891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:12:37] local.INFO: IMEI packet received {"connection_id":142891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 10:12:37] local.INFO: IMEI acknowledgment sent {"connection_id":142891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:12:39] local.INFO: TCP Data received {"connection_id":142891,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:12:39] local.INFO: Processing buffer {"connection_id":142891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:12:39] local.INFO: IMEI packet received {"connection_id":142891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 10:12:39] local.INFO: IMEI acknowledgment sent {"connection_id":142891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:12:40] local.INFO: TCP Data received {"connection_id":145196,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145196,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:12:40] local.INFO: Processing buffer {"connection_id":145196,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:12:40] local.INFO: IMEI packet received {"connection_id":145196,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 10:12:40] local.INFO: IMEI acknowledgment sent {"connection_id":145196,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:12:41] local.INFO: TCP Data received {"connection_id":145196,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1ddf1e8012d168800071faaa00020005726..."} 
[2026-07-27 10:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145196,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1ddf1e8012d168800071faaa00020005726..."} 
[2026-07-27 10:12:41] local.INFO: Processing buffer {"connection_id":145196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1ddf1e8012d168800071faaa00020005726..."} 
[2026-07-27 10:12:41] local.INFO: Packet analysis {"connection_id":145196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1dd"} 
[2026-07-27 10:12:41] local.INFO: Extracted packet for processing {"connection_id":145196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1dd"} 
[2026-07-27 10:12:41] local.INFO: GPS Element Parsed {"raw_longitude":756451328,"raw_latitude":119515808,"longitude_deg":75.6451328,"latitude_deg":11.9515808,"altitude":32,"angle":87,"satellites":38,"speed":0,"hex_longitude":"2d168800","hex_latitude":"071faaa0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 10:12:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992533504001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:12:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8789289794011136,"note":"Value kept but may cause issues"} 
[2026-07-27 10:12:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623547696263110656,"note":"Value kept but may cause issues"} 
[2026-07-27 10:12:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:12:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785127105000,"timestamp_ms":1785127105000,"timestamp_seconds":1785127105,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1ddf1e8"} 
[2026-07-27 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-07-27 10:12:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-07-27 10:12: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-07-27 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-07-27 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-07-27 10:12:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:12:41] local.INFO: Teltonika packet parsed successfully {"connection_id":145196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:12:41] local.INFO: Passing IMEI to GPS processor {"connection_id":145196,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:12:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":145196,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:12:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:12:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:12:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:12:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992533504001,"66":12504,"131":206,"28":31744,"24":0,"16":8789289794011136,"45":1623547696263110656},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-07-27 10:12:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:12:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:12:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992533504001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:12:41] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-27 10:12:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:12:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8789289794011136,"km_value":8789289794011.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:12:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623547696263110656,"description":"Unknown IO ID 45"} 
[2026-07-27 10:12:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992533504001,"power":12504,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1623547696263110656}} 
[2026-07-27 10:12:41] local.INFO: DEBUG: GPS processor result {"connection_id":145196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552568,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:12:41] local.INFO: GPS data processed {"connection_id":145196,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:12:41] local.INFO: Acknowledgment sent {"connection_id":145196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:12:42] local.INFO: TCP Data received {"connection_id":142891,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:12:42] local.INFO: Processing buffer {"connection_id":142891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:12:42] local.INFO: IMEI packet received {"connection_id":142891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 10:12:42] local.INFO: IMEI acknowledgment sent {"connection_id":142891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:12:44] local.INFO: TCP Data received {"connection_id":142891,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1e12a20012d7faec005afd6a0001900ea27..."} 
[2026-07-27 10:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142891,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1e12a20012d7faec005afd6a0001900ea27..."} 
[2026-07-27 10:12:44] local.INFO: Processing buffer {"connection_id":142891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1e12a20012d7faec005afd6a0001900ea27..."} 
[2026-07-27 10:12:44] local.INFO: Packet analysis {"connection_id":142891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1e1"} 
[2026-07-27 10:12:44] local.INFO: Extracted packet for processing {"connection_id":142891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1e1"} 
[2026-07-27 10:12:44] local.INFO: GPS Element Parsed {"raw_longitude":763342528,"raw_latitude":95409824,"longitude_deg":76.3342528,"latitude_deg":9.5409824,"altitude":25,"angle":234,"satellites":39,"speed":0,"hex_longitude":"2d7faec0","hex_latitude":"05afd6a0","is_valid_coordinates":true} 
[2026-07-27 10: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-07-27 10:12:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992515840001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:12:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826719236325376,"note":"Value kept but may cause issues"} 
[2026-07-27 10:12:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200502219421949952,"note":"Value kept but may cause issues"} 
[2026-07-27 10:12:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:12:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785127316000,"timestamp_ms":1785127316000,"timestamp_seconds":1785127316,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1e12a20"} 
[2026-07-27 10:12:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:12:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 10: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":103,"data_length":795,"current_offset":136} 
[2026-07-27 10:12:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10: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-07-27 10:12:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:12:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:12:44] local.INFO: Teltonika packet parsed successfully {"connection_id":142891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:12:44] local.INFO: Passing IMEI to GPS processor {"connection_id":142891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:12:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":142891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:12:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:12:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 10:12:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 10:12:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992515840001,"66":25060,"28":206,"85":12544,"24":0,"16":358826719236325376,"45":9200502219421949952},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-07-27 10:12:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 10:12:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 10:12:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992515840001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:12:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-27 10:12:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 10:12:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826719236325376,"km_value":358826719236325.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:12:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200502219421949952,"description":"Unknown IO ID 45"} 
[2026-07-27 10:12:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992515840001,"power":25060,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200502219421949952}} 
[2026-07-27 10:12:44] local.INFO: DEBUG: GPS processor result {"connection_id":142891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:12:44] local.INFO: GPS data processed {"connection_id":142891,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:12:44] local.INFO: Acknowledgment sent {"connection_id":142891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:12:49] local.INFO: TCP Data received {"connection_id":142891,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1e12a20012d7faec005afd6a0001900ea27..."} 
[2026-07-27 10:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142891,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1e12a20012d7faec005afd6a0001900ea27..."} 
[2026-07-27 10:12:49] local.INFO: Processing buffer {"connection_id":142891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1e12a20012d7faec005afd6a0001900ea27..."} 
[2026-07-27 10:12:49] local.INFO: Packet analysis {"connection_id":142891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1e1"} 
[2026-07-27 10:12:49] local.INFO: Extracted packet for processing {"connection_id":142891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1e1"} 
[2026-07-27 10:12:49] local.INFO: GPS Element Parsed {"raw_longitude":763342528,"raw_latitude":95409824,"longitude_deg":76.3342528,"latitude_deg":9.5409824,"altitude":25,"angle":234,"satellites":39,"speed":0,"hex_longitude":"2d7faec0","hex_latitude":"05afd6a0","is_valid_coordinates":true} 
[2026-07-27 10: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-07-27 10:12:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992515840001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:12:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826719236325376,"note":"Value kept but may cause issues"} 
[2026-07-27 10:12:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200502219421949952,"note":"Value kept but may cause issues"} 
[2026-07-27 10:12:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:12:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785127316000,"timestamp_ms":1785127316000,"timestamp_seconds":1785127316,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1e12a20"} 
[2026-07-27 10:12:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:12:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 10: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-27 10:12:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10: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-07-27 10:12:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:12:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:12:49] local.INFO: Teltonika packet parsed successfully {"connection_id":142891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:12:49] local.INFO: Passing IMEI to GPS processor {"connection_id":142891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:12:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":142891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:12:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:12:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 10:12:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 10:12:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992515840001,"66":25060,"28":206,"85":12544,"24":0,"16":358826719236325376,"45":9200502219421949952},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-07-27 10:12:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 10:12:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 10:12:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992515840001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:12:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-27 10:12:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 10:12:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826719236325376,"km_value":358826719236325.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:12:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200502219421949952,"description":"Unknown IO ID 45"} 
[2026-07-27 10:12:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992515840001,"power":25060,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200502219421949952}} 
[2026-07-27 10:12:49] local.INFO: DEBUG: GPS processor result {"connection_id":142891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:12:49] local.INFO: GPS data processed {"connection_id":142891,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:12:49] local.INFO: Acknowledgment sent {"connection_id":142891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:13:13] local.INFO: TCP Data received {"connection_id":145196,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1de43f0012d168800071faaa00020005725..."} 
[2026-07-27 10:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145196,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1de43f0012d168800071faaa00020005725..."} 
[2026-07-27 10:13:13] local.INFO: Processing buffer {"connection_id":145196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1de43f0012d168800071faaa00020005725..."} 
[2026-07-27 10:13:13] local.INFO: Packet analysis {"connection_id":145196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1de"} 
[2026-07-27 10:13:13] local.INFO: Extracted packet for processing {"connection_id":145196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1de"} 
[2026-07-27 10:13:13] local.INFO: GPS Element Parsed {"raw_longitude":756451328,"raw_latitude":119515808,"longitude_deg":75.6451328,"latitude_deg":11.9515808,"altitude":32,"angle":87,"satellites":37,"speed":0,"hex_longitude":"2d168800","hex_latitude":"071faaa0","is_valid_coordinates":true} 
[2026-07-27 10: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-07-27 10:13:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992538880001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:13:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8789289794011136,"note":"Value kept but may cause issues"} 
[2026-07-27 10:13:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623547696263110656,"note":"Value kept but may cause issues"} 
[2026-07-27 10:13:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:13:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785127126000,"timestamp_ms":1785127126000,"timestamp_seconds":1785127126,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1de43f0"} 
[2026-07-27 10:13:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:13:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 10: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-27 10:13:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10: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-07-27 10:13:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:13:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:13:13] local.INFO: Teltonika packet parsed successfully {"connection_id":145196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:13:13] local.INFO: Passing IMEI to GPS processor {"connection_id":145196,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:13:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":145196,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:13:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:13:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:13:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:13:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992538880001,"66":12504,"131":206,"28":31744,"24":0,"16":8789289794011136,"45":1623547696263110656},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-07-27 10:13:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:13:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:13:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992538880001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:13:13] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-27 10:13:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:13:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8789289794011136,"km_value":8789289794011.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:13:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623547696263110656,"description":"Unknown IO ID 45"} 
[2026-07-27 10:13:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992538880001,"power":12504,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1623547696263110656}} 
[2026-07-27 10:13:13] local.INFO: DEBUG: GPS processor result {"connection_id":145196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552571,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:13:13] local.INFO: GPS data processed {"connection_id":145196,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:13:13] local.INFO: Acknowledgment sent {"connection_id":145196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:13:30] local.INFO: TCP Data received {"connection_id":142892,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142892,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:13:30] local.INFO: Processing buffer {"connection_id":142892,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:13:30] local.INFO: IMEI packet received {"connection_id":142892,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 10:13:30] local.INFO: IMEI acknowledgment sent {"connection_id":142892,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:13:32] local.INFO: TCP Data received {"connection_id":142764,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:13:32] local.INFO: Processing buffer {"connection_id":142764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:13:32] local.INFO: IMEI packet received {"connection_id":142764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 10:13:32] local.INFO: IMEI acknowledgment sent {"connection_id":142764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:13:35] local.INFO: TCP Data received {"connection_id":142892,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142892,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:13:35] local.INFO: Processing buffer {"connection_id":142892,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:13:35] local.INFO: IMEI packet received {"connection_id":142892,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 10:13:35] local.INFO: IMEI acknowledgment sent {"connection_id":142892,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:13:36] local.INFO: TCP Data received {"connection_id":142892,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1de95f8012d168800071faaa00020005727..."} 
[2026-07-27 10:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142892,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1de95f8012d168800071faaa00020005727..."} 
[2026-07-27 10:13:36] local.INFO: Processing buffer {"connection_id":142892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1de95f8012d168800071faaa00020005727..."} 
[2026-07-27 10:13:36] local.INFO: Packet analysis {"connection_id":142892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1de"} 
[2026-07-27 10:13:36] local.INFO: Extracted packet for processing {"connection_id":142892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1de"} 
[2026-07-27 10:13:36] local.INFO: GPS Element Parsed {"raw_longitude":756451328,"raw_latitude":119515808,"longitude_deg":75.6451328,"latitude_deg":11.9515808,"altitude":32,"angle":87,"satellites":39,"speed":0,"hex_longitude":"2d168800","hex_latitude":"071faaa0","is_valid_coordinates":true} 
[2026-07-27 10:13:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:13:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992544256001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:13:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8789289794011136,"note":"Value kept but may cause issues"} 
[2026-07-27 10:13:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623547696263110656,"note":"Value kept but may cause issues"} 
[2026-07-27 10:13:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:13:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785127147000,"timestamp_ms":1785127147000,"timestamp_seconds":1785127147,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1de95f8"} 
[2026-07-27 10:13:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:13:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 10:13:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-27 10:13:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:13:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:13:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:13:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:13:36] local.INFO: Teltonika packet parsed successfully {"connection_id":142892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:13:36] local.INFO: Passing IMEI to GPS processor {"connection_id":142892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:13:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":142892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:13:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:13:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:13:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:13:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992544256001,"66":12461,"131":206,"28":31744,"24":0,"16":8789289794011136,"45":1623547696263110656},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-07-27 10:13:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:13:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:13:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992544256001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:13:36] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-27 10:13:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:13:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8789289794011136,"km_value":8789289794011.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:13:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623547696263110656,"description":"Unknown IO ID 45"} 
[2026-07-27 10:13:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992544256001,"power":12461,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1623547696263110656}} 
[2026-07-27 10:13:36] local.INFO: DEBUG: GPS processor result {"connection_id":142892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552572,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:13:36] local.INFO: GPS data processed {"connection_id":142892,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:13:36] local.INFO: Acknowledgment sent {"connection_id":142892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:13:37] local.INFO: TCP Data received {"connection_id":142764,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:13:37] local.INFO: Processing buffer {"connection_id":142764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:13:37] local.INFO: IMEI packet received {"connection_id":142764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 10:13:37] local.INFO: IMEI acknowledgment sent {"connection_id":142764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:13:38] local.INFO: TCP Data received {"connection_id":142764,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1e12a20012d7faec005afd6a0001900ea27..."} 
[2026-07-27 10:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1e12a20012d7faec005afd6a0001900ea27..."} 
[2026-07-27 10:13:38] local.INFO: Processing buffer {"connection_id":142764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1e12a20012d7faec005afd6a0001900ea27..."} 
[2026-07-27 10:13:38] local.INFO: Packet analysis {"connection_id":142764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1e1"} 
[2026-07-27 10:13:38] local.INFO: Extracted packet for processing {"connection_id":142764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1e1"} 
[2026-07-27 10:13:38] local.INFO: GPS Element Parsed {"raw_longitude":763342528,"raw_latitude":95409824,"longitude_deg":76.3342528,"latitude_deg":9.5409824,"altitude":25,"angle":234,"satellites":39,"speed":0,"hex_longitude":"2d7faec0","hex_latitude":"05afd6a0","is_valid_coordinates":true} 
[2026-07-27 10:13:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:13:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992515840001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:13:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826719236325376,"note":"Value kept but may cause issues"} 
[2026-07-27 10:13:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200502219421949952,"note":"Value kept but may cause issues"} 
[2026-07-27 10:13:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:13:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785127316000,"timestamp_ms":1785127316000,"timestamp_seconds":1785127316,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1e12a20"} 
[2026-07-27 10:13:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:13:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 10:13:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-27 10:13:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:13:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:13:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:13:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:13:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:13:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:13:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:13:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:13:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 10:13:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 10:13:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992515840001,"66":25060,"28":206,"85":12544,"24":0,"16":358826719236325376,"45":9200502219421949952},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-07-27 10:13:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 10:13:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 10:13:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992515840001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:13:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-27 10:13:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 10:13:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826719236325376,"km_value":358826719236325.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:13:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200502219421949952,"description":"Unknown IO ID 45"} 
[2026-07-27 10:13:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992515840001,"power":25060,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200502219421949952}} 
[2026-07-27 10:13:38] local.INFO: DEBUG: GPS processor result {"connection_id":142764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:13:38] local.INFO: GPS data processed {"connection_id":142764,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:13:38] local.INFO: Acknowledgment sent {"connection_id":142764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:13:44] local.INFO: TCP Data received {"connection_id":143884,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 10:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143884,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 10:13:44] local.INFO: Processing buffer {"connection_id":143884,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 10:13:44] local.INFO: IMEI packet received {"connection_id":143884,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 10:13:44] local.INFO: IMEI acknowledgment sent {"connection_id":143884,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:14:08] local.INFO: TCP Data received {"connection_id":142892,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1dee800012d168800071faaa00020005726..."} 
[2026-07-27 10:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142892,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1dee800012d168800071faaa00020005726..."} 
[2026-07-27 10:14:08] local.INFO: Processing buffer {"connection_id":142892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1dee800012d168800071faaa00020005726..."} 
[2026-07-27 10:14:08] local.INFO: Packet analysis {"connection_id":142892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1de"} 
[2026-07-27 10:14:08] local.INFO: Extracted packet for processing {"connection_id":142892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1de"} 
[2026-07-27 10:14:08] local.INFO: GPS Element Parsed {"raw_longitude":756451328,"raw_latitude":119515808,"longitude_deg":75.6451328,"latitude_deg":11.9515808,"altitude":32,"angle":87,"satellites":38,"speed":0,"hex_longitude":"2d168800","hex_latitude":"071faaa0","is_valid_coordinates":true} 
[2026-07-27 10:14:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:14:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992549632001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:14:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8789289794011136,"note":"Value kept but may cause issues"} 
[2026-07-27 10:14:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623547696263110656,"note":"Value kept but may cause issues"} 
[2026-07-27 10:14:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:14:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785127168000,"timestamp_ms":1785127168000,"timestamp_seconds":1785127168,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1dee800"} 
[2026-07-27 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-07-27 10:14:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-27 10:14: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-07-27 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-07-27 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-07-27 10:14:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:14:08] local.INFO: Teltonika packet parsed successfully {"connection_id":142892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:14:08] local.INFO: Passing IMEI to GPS processor {"connection_id":142892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:14:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":142892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:14:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:14:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:14:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:14:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992549632001,"66":12461,"131":206,"28":31744,"24":0,"16":8789289794011136,"45":1623547696263110656},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-07-27 10:14:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:14:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:14:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992549632001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:14:08] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-27 10:14:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:14:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8789289794011136,"km_value":8789289794011.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:14:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623547696263110656,"description":"Unknown IO ID 45"} 
[2026-07-27 10:14:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992549632001,"power":12461,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1623547696263110656}} 
[2026-07-27 10:14:08] local.INFO: DEBUG: GPS processor result {"connection_id":142892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552574,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:14:08] local.INFO: GPS data processed {"connection_id":142892,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:14:08] local.INFO: Acknowledgment sent {"connection_id":142892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:14:09] local.INFO: TCP Data received {"connection_id":142764,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1e12a20012d7faec005afd6a0001900ea27..."} 
[2026-07-27 10:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1e12a20012d7faec005afd6a0001900ea27..."} 
[2026-07-27 10:14:09] local.INFO: Processing buffer {"connection_id":142764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1e12a20012d7faec005afd6a0001900ea27..."} 
[2026-07-27 10:14:09] local.INFO: Packet analysis {"connection_id":142764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1e1"} 
[2026-07-27 10:14:09] local.INFO: Extracted packet for processing {"connection_id":142764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1e1"} 
[2026-07-27 10:14:09] local.INFO: GPS Element Parsed {"raw_longitude":763342528,"raw_latitude":95409824,"longitude_deg":76.3342528,"latitude_deg":9.5409824,"altitude":25,"angle":234,"satellites":39,"speed":0,"hex_longitude":"2d7faec0","hex_latitude":"05afd6a0","is_valid_coordinates":true} 
[2026-07-27 10:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:14:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992515840001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:14:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826719236325376,"note":"Value kept but may cause issues"} 
[2026-07-27 10:14:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200502219421949952,"note":"Value kept but may cause issues"} 
[2026-07-27 10:14:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:14:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785127316000,"timestamp_ms":1785127316000,"timestamp_seconds":1785127316,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1e12a20"} 
[2026-07-27 10:14:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:14:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 10: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":103,"data_length":795,"current_offset":136} 
[2026-07-27 10:14:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:14:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:14:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:14:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:14:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:14:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:14:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:14:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:14:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 10:14:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 10:14:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992515840001,"66":25060,"28":206,"85":12544,"24":0,"16":358826719236325376,"45":9200502219421949952},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-07-27 10:14:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 10:14:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 10:14:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992515840001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:14:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-27 10:14:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 10:14:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826719236325376,"km_value":358826719236325.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:14:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200502219421949952,"description":"Unknown IO ID 45"} 
[2026-07-27 10:14:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992515840001,"power":25060,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200502219421949952}} 
[2026-07-27 10:14:09] local.INFO: DEBUG: GPS processor result {"connection_id":142764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:14:09] local.INFO: GPS data processed {"connection_id":142764,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:14:09] local.INFO: Acknowledgment sent {"connection_id":142764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:14:30] local.INFO: TCP Data received {"connection_id":142893,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142893,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:14:30] local.INFO: Processing buffer {"connection_id":142893,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:14:30] local.INFO: IMEI packet received {"connection_id":142893,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 10:14:30] local.INFO: IMEI acknowledgment sent {"connection_id":142893,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:14:35] local.INFO: TCP Data received {"connection_id":142893,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142893,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:14:35] local.INFO: Processing buffer {"connection_id":142893,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:14:35] local.INFO: IMEI packet received {"connection_id":142893,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 10:14:35] local.INFO: IMEI acknowledgment sent {"connection_id":142893,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:14:36] local.INFO: TCP Data received {"connection_id":142893,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1df3a08012d168800071faaa00020005725..."} 
[2026-07-27 10:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142893,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1df3a08012d168800071faaa00020005725..."} 
[2026-07-27 10:14:36] local.INFO: Processing buffer {"connection_id":142893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1df3a08012d168800071faaa00020005725..."} 
[2026-07-27 10:14:36] local.INFO: Packet analysis {"connection_id":142893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1df"} 
[2026-07-27 10:14:36] local.INFO: Extracted packet for processing {"connection_id":142893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1df"} 
[2026-07-27 10:14:36] local.INFO: GPS Element Parsed {"raw_longitude":756451328,"raw_latitude":119515808,"longitude_deg":75.6451328,"latitude_deg":11.9515808,"altitude":32,"angle":87,"satellites":37,"speed":0,"hex_longitude":"2d168800","hex_latitude":"071faaa0","is_valid_coordinates":true} 
[2026-07-27 10:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:14:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992555008001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:14:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8789289794011136,"note":"Value kept but may cause issues"} 
[2026-07-27 10:14:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623547696263110656,"note":"Value kept but may cause issues"} 
[2026-07-27 10:14:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:14:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785127189000,"timestamp_ms":1785127189000,"timestamp_seconds":1785127189,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1df3a08"} 
[2026-07-27 10:14:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:14:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 10:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-27 10:14:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:14:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:14:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:14:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:14:36] local.INFO: Teltonika packet parsed successfully {"connection_id":142893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:14:36] local.INFO: Passing IMEI to GPS processor {"connection_id":142893,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:14:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":142893,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:14:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:14:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:14:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:14:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992555008001,"66":12504,"131":206,"28":31744,"24":0,"16":8789289794011136,"45":1623547696263110656},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-07-27 10:14:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:14:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:14:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992555008001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:14:36] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-27 10:14:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:14:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8789289794011136,"km_value":8789289794011.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:14:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623547696263110656,"description":"Unknown IO ID 45"} 
[2026-07-27 10:14:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992555008001,"power":12504,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1623547696263110656}} 
[2026-07-27 10:14:36] local.INFO: DEBUG: GPS processor result {"connection_id":142893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552576,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:14:36] local.INFO: GPS data processed {"connection_id":142893,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:14:36] local.INFO: Acknowledgment sent {"connection_id":142893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:14:37] local.INFO: TCP Data received {"connection_id":143885,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:14:37] local.INFO: Processing buffer {"connection_id":143885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:14:37] local.INFO: IMEI packet received {"connection_id":143885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 10:14:37] local.INFO: IMEI acknowledgment sent {"connection_id":143885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:14:42] local.INFO: TCP Data received {"connection_id":143885,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:14:42] local.INFO: Processing buffer {"connection_id":143885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:14:42] local.INFO: IMEI packet received {"connection_id":143885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 10:14:42] local.INFO: IMEI acknowledgment sent {"connection_id":143885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:14:43] local.INFO: TCP Data received {"connection_id":143885,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1e12a20012d7faec005afd6a0001900ea27..."} 
[2026-07-27 10:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1e12a20012d7faec005afd6a0001900ea27..."} 
[2026-07-27 10:14:43] local.INFO: Processing buffer {"connection_id":143885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1e12a20012d7faec005afd6a0001900ea27..."} 
[2026-07-27 10:14:43] local.INFO: Packet analysis {"connection_id":143885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1e1"} 
[2026-07-27 10:14:43] local.INFO: Extracted packet for processing {"connection_id":143885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1e1"} 
[2026-07-27 10:14:43] local.INFO: GPS Element Parsed {"raw_longitude":763342528,"raw_latitude":95409824,"longitude_deg":76.3342528,"latitude_deg":9.5409824,"altitude":25,"angle":234,"satellites":39,"speed":0,"hex_longitude":"2d7faec0","hex_latitude":"05afd6a0","is_valid_coordinates":true} 
[2026-07-27 10:14:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:14:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992515840001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:14:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826719236325376,"note":"Value kept but may cause issues"} 
[2026-07-27 10:14:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200502219421949952,"note":"Value kept but may cause issues"} 
[2026-07-27 10:14:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:14:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785127316000,"timestamp_ms":1785127316000,"timestamp_seconds":1785127316,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1e12a20"} 
[2026-07-27 10:14:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:14:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 10:14:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-27 10:14:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:14:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:14:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:14:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:14:43] local.INFO: Teltonika packet parsed successfully {"connection_id":143885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:14:43] local.INFO: Passing IMEI to GPS processor {"connection_id":143885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:14:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":143885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:14:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:14:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 10:14:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 10:14:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992515840001,"66":25060,"28":206,"85":12544,"24":0,"16":358826719236325376,"45":9200502219421949952},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-07-27 10:14:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 10:14:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 10:14:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992515840001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:14:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-27 10:14:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 10:14:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826719236325376,"km_value":358826719236325.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:14:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200502219421949952,"description":"Unknown IO ID 45"} 
[2026-07-27 10:14:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992515840001,"power":25060,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200502219421949952}} 
[2026-07-27 10:14:43] local.INFO: DEBUG: GPS processor result {"connection_id":143885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:14:43] local.INFO: GPS data processed {"connection_id":143885,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:14:43] local.INFO: Acknowledgment sent {"connection_id":143885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:14:48] local.INFO: TCP Data received {"connection_id":143885,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1e12a20012d7faec005afd6a0001900ea27..."} 
[2026-07-27 10:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1e12a20012d7faec005afd6a0001900ea27..."} 
[2026-07-27 10:14:48] local.INFO: Processing buffer {"connection_id":143885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1e12a20012d7faec005afd6a0001900ea27..."} 
[2026-07-27 10:14:48] local.INFO: Packet analysis {"connection_id":143885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1e1"} 
[2026-07-27 10:14:48] local.INFO: Extracted packet for processing {"connection_id":143885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1e1"} 
[2026-07-27 10:14:48] local.INFO: GPS Element Parsed {"raw_longitude":763342528,"raw_latitude":95409824,"longitude_deg":76.3342528,"latitude_deg":9.5409824,"altitude":25,"angle":234,"satellites":39,"speed":0,"hex_longitude":"2d7faec0","hex_latitude":"05afd6a0","is_valid_coordinates":true} 
[2026-07-27 10: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-07-27 10:14:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992515840001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:14:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826719236325376,"note":"Value kept but may cause issues"} 
[2026-07-27 10:14:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200502219421949952,"note":"Value kept but may cause issues"} 
[2026-07-27 10:14:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:14:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785127316000,"timestamp_ms":1785127316000,"timestamp_seconds":1785127316,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1e12a20"} 
[2026-07-27 10:14:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:14:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 10: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-27 10:14:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10: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-07-27 10:14:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:14:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:14:48] local.INFO: Teltonika packet parsed successfully {"connection_id":143885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:14:48] local.INFO: Passing IMEI to GPS processor {"connection_id":143885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:14:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":143885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:14:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:14:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 10:14:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 10:14:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992515840001,"66":25060,"28":206,"85":12544,"24":0,"16":358826719236325376,"45":9200502219421949952},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-07-27 10:14:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 10:14:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 10:14:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992515840001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:14:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-27 10:14:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 10:14:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826719236325376,"km_value":358826719236325.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:14:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200502219421949952,"description":"Unknown IO ID 45"} 
[2026-07-27 10:14:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992515840001,"power":25060,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200502219421949952}} 
[2026-07-27 10:14:48] local.INFO: DEBUG: GPS processor result {"connection_id":143885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:14:48] local.INFO: GPS data processed {"connection_id":143885,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:14:48] local.INFO: Acknowledgment sent {"connection_id":143885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:15:08] local.INFO: TCP Data received {"connection_id":142893,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1e2c060012d168800071faaa00020005728..."} 
[2026-07-27 10:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142893,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1e2c060012d168800071faaa00020005728..."} 
[2026-07-27 10:15:08] local.INFO: Processing buffer {"connection_id":142893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1e2c060012d168800071faaa00020005728..."} 
[2026-07-27 10:15:08] local.INFO: Packet analysis {"connection_id":142893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1e2"} 
[2026-07-27 10:15:08] local.INFO: Extracted packet for processing {"connection_id":142893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1e2"} 
[2026-07-27 10:15:08] local.INFO: GPS Element Parsed {"raw_longitude":756451328,"raw_latitude":119515808,"longitude_deg":75.6451328,"latitude_deg":11.9515808,"altitude":32,"angle":87,"satellites":40,"speed":0,"hex_longitude":"2d168800","hex_latitude":"071faaa0","is_valid_coordinates":true} 
[2026-07-27 10:15:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:15:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992614144001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:15:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8789289794011136,"note":"Value kept but may cause issues"} 
[2026-07-27 10:15:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623547696263110656,"note":"Value kept but may cause issues"} 
[2026-07-27 10:15:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:15:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785127420000,"timestamp_ms":1785127420000,"timestamp_seconds":1785127420,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1e2c060"} 
[2026-07-27 10:15:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:15:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 10:15:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-27 10:15:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:15:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:15:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:15:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:15:08] local.INFO: Teltonika packet parsed successfully {"connection_id":142893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:15:08] local.INFO: Passing IMEI to GPS processor {"connection_id":142893,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:15:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":142893,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:15:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:15:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:15:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:15:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992614144001,"66":11678,"131":206,"28":31744,"24":0,"16":8789289794011136,"45":1623547696263110656},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-07-27 10:15:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:15:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:15:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992614144001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:15:08] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-27 10:15:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:15:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8789289794011136,"km_value":8789289794011.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:15:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623547696263110656,"description":"Unknown IO ID 45"} 
[2026-07-27 10:15:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992614144001,"power":11678,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1623547696263110656}} 
[2026-07-27 10:15:08] local.INFO: DEBUG: GPS processor result {"connection_id":142893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552579,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:15:08] local.INFO: GPS data processed {"connection_id":142893,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:15:08] local.INFO: Acknowledgment sent {"connection_id":142893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:15:30] local.INFO: TCP Data received {"connection_id":142894,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142894,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:15:30] local.INFO: Processing buffer {"connection_id":142894,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:15:30] local.INFO: IMEI packet received {"connection_id":142894,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 10:15:30] local.INFO: IMEI acknowledgment sent {"connection_id":142894,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:15:32] local.INFO: TCP Data received {"connection_id":145197,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:15:32] local.INFO: Processing buffer {"connection_id":145197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:15:32] local.INFO: IMEI packet received {"connection_id":145197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 10:15:32] local.INFO: IMEI acknowledgment sent {"connection_id":145197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:15:35] local.INFO: TCP Data received {"connection_id":142894,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142894,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:15:35] local.INFO: Processing buffer {"connection_id":142894,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:15:35] local.INFO: IMEI packet received {"connection_id":142894,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 10:15:35] local.INFO: IMEI acknowledgment sent {"connection_id":142894,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:15:36] local.INFO: TCP Data received {"connection_id":142894,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1e31268012d168800071faaa00020005722..."} 
[2026-07-27 10:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1e31268012d168800071faaa00020005722..."} 
[2026-07-27 10:15:36] local.INFO: Processing buffer {"connection_id":142894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1e31268012d168800071faaa00020005722..."} 
[2026-07-27 10:15:36] local.INFO: Packet analysis {"connection_id":142894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1e3"} 
[2026-07-27 10:15:36] local.INFO: Extracted packet for processing {"connection_id":142894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1e3"} 
[2026-07-27 10:15:36] local.INFO: GPS Element Parsed {"raw_longitude":756451328,"raw_latitude":119515808,"longitude_deg":75.6451328,"latitude_deg":11.9515808,"altitude":32,"angle":87,"satellites":34,"speed":0,"hex_longitude":"2d168800","hex_latitude":"071faaa0","is_valid_coordinates":true} 
[2026-07-27 10:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:15:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992619520001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:15:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8789289794011136,"note":"Value kept but may cause issues"} 
[2026-07-27 10:15:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623547696263110656,"note":"Value kept but may cause issues"} 
[2026-07-27 10:15:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:15:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785127441000,"timestamp_ms":1785127441000,"timestamp_seconds":1785127441,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1e31268"} 
[2026-07-27 10:15:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:15:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 10:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-07-27 10:15:36] 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-07-27 10:15:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:15:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:15:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:15:36] local.INFO: Teltonika packet parsed successfully {"connection_id":142894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:15:36] local.INFO: Passing IMEI to GPS processor {"connection_id":142894,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:15:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":142894,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:15:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:15:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:15:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:15:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992619520001,"66":12428,"131":206,"28":31744,"24":0,"16":8789289794011136,"45":1623547696263110656},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-07-27 10:15:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:15:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:15:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992619520001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:15:36] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-27 10:15:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:15:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8789289794011136,"km_value":8789289794011.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:15:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623547696263110656,"description":"Unknown IO ID 45"} 
[2026-07-27 10:15:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992619520001,"power":12428,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1623547696263110656}} 
[2026-07-27 10:15:36] local.INFO: DEBUG: GPS processor result {"connection_id":142894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552580,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:15:36] local.INFO: GPS data processed {"connection_id":142894,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:15:36] local.INFO: Acknowledgment sent {"connection_id":142894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:15:37] local.INFO: TCP Data received {"connection_id":145197,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:15:37] local.INFO: Processing buffer {"connection_id":145197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:15:37] local.INFO: IMEI packet received {"connection_id":145197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 10:15:37] local.INFO: IMEI acknowledgment sent {"connection_id":145197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:15:38] local.INFO: TCP Data received {"connection_id":145197,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1e12a20012d7faec005afd6a0001900ea27..."} 
[2026-07-27 10:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145197,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1e12a20012d7faec005afd6a0001900ea27..."} 
[2026-07-27 10:15:38] local.INFO: Processing buffer {"connection_id":145197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1e12a20012d7faec005afd6a0001900ea27..."} 
[2026-07-27 10:15:38] local.INFO: Packet analysis {"connection_id":145197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1e1"} 
[2026-07-27 10:15:38] local.INFO: Extracted packet for processing {"connection_id":145197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1e1"} 
[2026-07-27 10:15:38] local.INFO: GPS Element Parsed {"raw_longitude":763342528,"raw_latitude":95409824,"longitude_deg":76.3342528,"latitude_deg":9.5409824,"altitude":25,"angle":234,"satellites":39,"speed":0,"hex_longitude":"2d7faec0","hex_latitude":"05afd6a0","is_valid_coordinates":true} 
[2026-07-27 10:15:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:15:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992515840001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:15:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826719236325376,"note":"Value kept but may cause issues"} 
[2026-07-27 10:15:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200502219421949952,"note":"Value kept but may cause issues"} 
[2026-07-27 10:15:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:15:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785127316000,"timestamp_ms":1785127316000,"timestamp_seconds":1785127316,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1e12a20"} 
[2026-07-27 10:15:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:15:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 10:15:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-27 10:15:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:15:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:15:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:15:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:15:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:15:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:15:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:15:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:15:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 10:15:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 10:15:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992515840001,"66":25060,"28":206,"85":12544,"24":0,"16":358826719236325376,"45":9200502219421949952},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-07-27 10:15:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 10:15:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 10:15:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992515840001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:15:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-27 10:15:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 10:15:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826719236325376,"km_value":358826719236325.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:15:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200502219421949952,"description":"Unknown IO ID 45"} 
[2026-07-27 10:15:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992515840001,"power":25060,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200502219421949952}} 
[2026-07-27 10:15:38] local.INFO: DEBUG: GPS processor result {"connection_id":145197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:15:38] local.INFO: GPS data processed {"connection_id":145197,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:15:38] local.INFO: Acknowledgment sent {"connection_id":145197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:16:08] local.INFO: TCP Data received {"connection_id":142894,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1e36470012d168800071faaa00020005726..."} 
[2026-07-27 10:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1e36470012d168800071faaa00020005726..."} 
[2026-07-27 10:16:08] local.INFO: Processing buffer {"connection_id":142894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1e36470012d168800071faaa00020005726..."} 
[2026-07-27 10:16:08] local.INFO: Packet analysis {"connection_id":142894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1e3"} 
[2026-07-27 10:16:08] local.INFO: Extracted packet for processing {"connection_id":142894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1e3"} 
[2026-07-27 10:16:08] local.INFO: GPS Element Parsed {"raw_longitude":756451328,"raw_latitude":119515808,"longitude_deg":75.6451328,"latitude_deg":11.9515808,"altitude":32,"angle":87,"satellites":38,"speed":0,"hex_longitude":"2d168800","hex_latitude":"071faaa0","is_valid_coordinates":true} 
[2026-07-27 10:16:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:16:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992624896001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:16:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8789289794011136,"note":"Value kept but may cause issues"} 
[2026-07-27 10:16:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623547696263110656,"note":"Value kept but may cause issues"} 
[2026-07-27 10:16:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:16:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785127462000,"timestamp_ms":1785127462000,"timestamp_seconds":1785127462,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1e36470"} 
[2026-07-27 10:16:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:16:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 10: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-27 10:16:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:16:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:16:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:16:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:16:08] local.INFO: Teltonika packet parsed successfully {"connection_id":142894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:16:08] local.INFO: Passing IMEI to GPS processor {"connection_id":142894,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:16:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":142894,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:16:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:16:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:16:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:16:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992624896001,"66":12439,"131":206,"28":31744,"24":0,"16":8789289794011136,"45":1623547696263110656},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-07-27 10:16:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:16:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:16:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992624896001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:16:08] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-27 10:16:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:16:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8789289794011136,"km_value":8789289794011.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:16:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623547696263110656,"description":"Unknown IO ID 45"} 
[2026-07-27 10:16:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992624896001,"power":12439,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1623547696263110656}} 
[2026-07-27 10:16:08] local.INFO: DEBUG: GPS processor result {"connection_id":142894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552582,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:16:08] local.INFO: GPS data processed {"connection_id":142894,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:16:08] local.INFO: Acknowledgment sent {"connection_id":142894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:16:11] local.INFO: TCP Data received {"connection_id":145197,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1e12a20012d7faec005afd6a0001900ea27..."} 
[2026-07-27 10:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145197,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1e12a20012d7faec005afd6a0001900ea27..."} 
[2026-07-27 10:16:11] local.INFO: Processing buffer {"connection_id":145197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1e12a20012d7faec005afd6a0001900ea27..."} 
[2026-07-27 10:16:11] local.INFO: Packet analysis {"connection_id":145197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1e1"} 
[2026-07-27 10:16:11] local.INFO: Extracted packet for processing {"connection_id":145197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1e1"} 
[2026-07-27 10:16:11] local.INFO: GPS Element Parsed {"raw_longitude":763342528,"raw_latitude":95409824,"longitude_deg":76.3342528,"latitude_deg":9.5409824,"altitude":25,"angle":234,"satellites":39,"speed":0,"hex_longitude":"2d7faec0","hex_latitude":"05afd6a0","is_valid_coordinates":true} 
[2026-07-27 10:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:16:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992515840001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:16:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826719236325376,"note":"Value kept but may cause issues"} 
[2026-07-27 10:16:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200502219421949952,"note":"Value kept but may cause issues"} 
[2026-07-27 10:16:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:16:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785127316000,"timestamp_ms":1785127316000,"timestamp_seconds":1785127316,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1e12a20"} 
[2026-07-27 10:16:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:16:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 10:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-27 10:16:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:16:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:16:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:16:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:16:11] local.INFO: Teltonika packet parsed successfully {"connection_id":145197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:16:11] local.INFO: Passing IMEI to GPS processor {"connection_id":145197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:16:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":145197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:16: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-07-27 10:16:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 10:16:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 10:16:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992515840001,"66":25060,"28":206,"85":12544,"24":0,"16":358826719236325376,"45":9200502219421949952},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-07-27 10:16:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 10:16:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 10:16:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992515840001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:16:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-27 10:16:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 10:16:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826719236325376,"km_value":358826719236325.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:16:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200502219421949952,"description":"Unknown IO ID 45"} 
[2026-07-27 10:16:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992515840001,"power":25060,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200502219421949952}} 
[2026-07-27 10:16:11] local.INFO: DEBUG: GPS processor result {"connection_id":145197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:16:11] local.INFO: GPS data processed {"connection_id":145197,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:16:11] local.INFO: Acknowledgment sent {"connection_id":145197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:16:32] local.INFO: TCP Data received {"connection_id":145198,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:16:32] local.INFO: Processing buffer {"connection_id":145198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:16:32] local.INFO: IMEI packet received {"connection_id":145198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 10:16:32] local.INFO: IMEI acknowledgment sent {"connection_id":145198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:16:35] local.INFO: TCP Data received {"connection_id":142765,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142765,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:16:35] local.INFO: Processing buffer {"connection_id":142765,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:16:35] local.INFO: IMEI packet received {"connection_id":142765,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 10:16:35] local.INFO: IMEI acknowledgment sent {"connection_id":142765,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:16:37] local.INFO: TCP Data received {"connection_id":145198,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:16:37] local.INFO: Processing buffer {"connection_id":145198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:16:37] local.INFO: IMEI packet received {"connection_id":145198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 10:16:37] local.INFO: IMEI acknowledgment sent {"connection_id":145198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:16:38] local.INFO: TCP Data received {"connection_id":145198,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1e12a20012d7faec005afd6a0001900ea27..."} 
[2026-07-27 10:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145198,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1e12a20012d7faec005afd6a0001900ea27..."} 
[2026-07-27 10:16:38] local.INFO: Processing buffer {"connection_id":145198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1e12a20012d7faec005afd6a0001900ea27..."} 
[2026-07-27 10:16:38] local.INFO: Packet analysis {"connection_id":145198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1e1"} 
[2026-07-27 10:16:38] local.INFO: Extracted packet for processing {"connection_id":145198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1e1"} 
[2026-07-27 10:16:38] local.INFO: GPS Element Parsed {"raw_longitude":763342528,"raw_latitude":95409824,"longitude_deg":76.3342528,"latitude_deg":9.5409824,"altitude":25,"angle":234,"satellites":39,"speed":0,"hex_longitude":"2d7faec0","hex_latitude":"05afd6a0","is_valid_coordinates":true} 
[2026-07-27 10:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:16:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992515840001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:16:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826719236325376,"note":"Value kept but may cause issues"} 
[2026-07-27 10:16:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200502219421949952,"note":"Value kept but may cause issues"} 
[2026-07-27 10:16:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:16:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785127316000,"timestamp_ms":1785127316000,"timestamp_seconds":1785127316,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1e12a20"} 
[2026-07-27 10:16:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:16:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 10:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-27 10:16:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:16:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:16:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:16:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:16:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:16:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:16:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:16:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:16:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 10:16:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 10:16:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992515840001,"66":25060,"28":206,"85":12544,"24":0,"16":358826719236325376,"45":9200502219421949952},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-07-27 10:16:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 10:16:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 10:16:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992515840001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:16:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-27 10:16:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 10:16:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826719236325376,"km_value":358826719236325.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:16:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200502219421949952,"description":"Unknown IO ID 45"} 
[2026-07-27 10:16:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992515840001,"power":25060,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200502219421949952}} 
[2026-07-27 10:16:38] local.INFO: DEBUG: GPS processor result {"connection_id":145198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:16:38] local.INFO: GPS data processed {"connection_id":145198,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:16:38] local.INFO: Acknowledgment sent {"connection_id":145198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:16:40] local.INFO: TCP Data received {"connection_id":142765,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142765,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:16:40] local.INFO: Processing buffer {"connection_id":142765,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:16:40] local.INFO: IMEI packet received {"connection_id":142765,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 10:16:40] local.INFO: IMEI acknowledgment sent {"connection_id":142765,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:16:41] local.INFO: TCP Data received {"connection_id":142765,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1e3b678012d168800071faaa00020005729..."} 
[2026-07-27 10:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1e3b678012d168800071faaa00020005729..."} 
[2026-07-27 10:16:41] local.INFO: Processing buffer {"connection_id":142765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1e3b678012d168800071faaa00020005729..."} 
[2026-07-27 10:16:41] local.INFO: Packet analysis {"connection_id":142765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1e3"} 
[2026-07-27 10:16:41] local.INFO: Extracted packet for processing {"connection_id":142765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1e3"} 
[2026-07-27 10:16:41] local.INFO: GPS Element Parsed {"raw_longitude":756451328,"raw_latitude":119515808,"longitude_deg":75.6451328,"latitude_deg":11.9515808,"altitude":32,"angle":87,"satellites":41,"speed":0,"hex_longitude":"2d168800","hex_latitude":"071faaa0","is_valid_coordinates":true} 
[2026-07-27 10: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-07-27 10:16:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992630272001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:16:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8789289794011136,"note":"Value kept but may cause issues"} 
[2026-07-27 10:16:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623547696263110656,"note":"Value kept but may cause issues"} 
[2026-07-27 10:16:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:16:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785127483000,"timestamp_ms":1785127483000,"timestamp_seconds":1785127483,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1e3b678"} 
[2026-07-27 10:16:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:16:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 10: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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-27 10:16:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10: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-07-27 10:16:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:16:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:16:41] local.INFO: Teltonika packet parsed successfully {"connection_id":142765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:16:41] local.INFO: Passing IMEI to GPS processor {"connection_id":142765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:16:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":142765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:16:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:16:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:16:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:16:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992630272001,"66":12428,"131":206,"28":31744,"24":0,"16":8789289794011136,"45":1623547696263110656},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-07-27 10:16:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:16:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:16:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992630272001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:16:41] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-27 10:16:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:16:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8789289794011136,"km_value":8789289794011.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:16:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623547696263110656,"description":"Unknown IO ID 45"} 
[2026-07-27 10:16:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992630272001,"power":12428,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1623547696263110656}} 
[2026-07-27 10:16:41] local.INFO: DEBUG: GPS processor result {"connection_id":142765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552585,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:16:41] local.INFO: GPS data processed {"connection_id":142765,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:16:41] local.INFO: Acknowledgment sent {"connection_id":142765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:16:46] local.INFO: TCP Data received {"connection_id":142765,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1e40880012d168800071faaa00020005728..."} 
[2026-07-27 10:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1e40880012d168800071faaa00020005728..."} 
[2026-07-27 10:16:46] local.INFO: Processing buffer {"connection_id":142765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1e40880012d168800071faaa00020005728..."} 
[2026-07-27 10:16:46] local.INFO: Packet analysis {"connection_id":142765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1e4"} 
[2026-07-27 10:16:46] local.INFO: Extracted packet for processing {"connection_id":142765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1e4"} 
[2026-07-27 10:16:46] local.INFO: GPS Element Parsed {"raw_longitude":756451328,"raw_latitude":119515808,"longitude_deg":75.6451328,"latitude_deg":11.9515808,"altitude":32,"angle":87,"satellites":40,"speed":0,"hex_longitude":"2d168800","hex_latitude":"071faaa0","is_valid_coordinates":true} 
[2026-07-27 10:16:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:16:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992635648001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:16:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8789289794011136,"note":"Value kept but may cause issues"} 
[2026-07-27 10:16:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623547696263110656,"note":"Value kept but may cause issues"} 
[2026-07-27 10:16:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:16:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785127504000,"timestamp_ms":1785127504000,"timestamp_seconds":1785127504,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1e40880"} 
[2026-07-27 10:16:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:16:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 10:16:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-27 10:16:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:16:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:16:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:16:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:16:46] local.INFO: Teltonika packet parsed successfully {"connection_id":142765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:16:46] local.INFO: Passing IMEI to GPS processor {"connection_id":142765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:16:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":142765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:16:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:16:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:16:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:16:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992635648001,"66":12461,"131":206,"28":31744,"24":0,"16":8789289794011136,"45":1623547696263110656},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-07-27 10:16:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:16:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:16:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992635648001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:16:46] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-27 10:16:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:16:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8789289794011136,"km_value":8789289794011.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:16:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623547696263110656,"description":"Unknown IO ID 45"} 
[2026-07-27 10:16:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992635648001,"power":12461,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1623547696263110656}} 
[2026-07-27 10:16:46] local.INFO: DEBUG: GPS processor result {"connection_id":142765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552586,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:16:46] local.INFO: GPS data processed {"connection_id":142765,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:16:46] local.INFO: Acknowledgment sent {"connection_id":142765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:17:09] local.INFO: TCP Data received {"connection_id":145198,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1e12a20012d7faec005afd6a0001900ea27..."} 
[2026-07-27 10:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145198,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1e12a20012d7faec005afd6a0001900ea27..."} 
[2026-07-27 10:17:09] local.INFO: Processing buffer {"connection_id":145198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1e12a20012d7faec005afd6a0001900ea27..."} 
[2026-07-27 10:17:09] local.INFO: Packet analysis {"connection_id":145198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1e1"} 
[2026-07-27 10:17:09] local.INFO: Extracted packet for processing {"connection_id":145198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1e1"} 
[2026-07-27 10:17:09] local.INFO: GPS Element Parsed {"raw_longitude":763342528,"raw_latitude":95409824,"longitude_deg":76.3342528,"latitude_deg":9.5409824,"altitude":25,"angle":234,"satellites":39,"speed":0,"hex_longitude":"2d7faec0","hex_latitude":"05afd6a0","is_valid_coordinates":true} 
[2026-07-27 10:17:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:17:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992515840001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:17:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826719236325376,"note":"Value kept but may cause issues"} 
[2026-07-27 10:17:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200502219421949952,"note":"Value kept but may cause issues"} 
[2026-07-27 10:17:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:17:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785127316000,"timestamp_ms":1785127316000,"timestamp_seconds":1785127316,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1e12a20"} 
[2026-07-27 10:17:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:17:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 10:17:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-27 10:17:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:17:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:17:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:17:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:17:09] local.INFO: Teltonika packet parsed successfully {"connection_id":145198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:17:09] local.INFO: Passing IMEI to GPS processor {"connection_id":145198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:17:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":145198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:17:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:17:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 10:17:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 10:17:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992515840001,"66":25060,"28":206,"85":12544,"24":0,"16":358826719236325376,"45":9200502219421949952},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-07-27 10:17:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 10:17:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 10:17:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992515840001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:17:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-27 10:17:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 10:17:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826719236325376,"km_value":358826719236325.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:17:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200502219421949952,"description":"Unknown IO ID 45"} 
[2026-07-27 10:17:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992515840001,"power":25060,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200502219421949952}} 
[2026-07-27 10:17:09] local.INFO: DEBUG: GPS processor result {"connection_id":145198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:17:09] local.INFO: GPS data processed {"connection_id":145198,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:17:09] local.INFO: Acknowledgment sent {"connection_id":145198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:17:27] local.INFO: TCP Data received {"connection_id":143886,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143886,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:17:27] local.INFO: Processing buffer {"connection_id":143886,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:17:27] local.INFO: IMEI packet received {"connection_id":143886,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 10:17:27] local.INFO: IMEI acknowledgment sent {"connection_id":143886,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:17:31] local.INFO: TCP Data received {"connection_id":143886,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143886,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:17:31] local.INFO: Processing buffer {"connection_id":143886,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:17:31] local.INFO: IMEI packet received {"connection_id":143886,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 10:17:31] local.INFO: IMEI acknowledgment sent {"connection_id":143886,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:17:32] local.INFO: TCP Data received {"connection_id":143887,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:17:32] local.INFO: Processing buffer {"connection_id":143887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:17:32] local.INFO: IMEI packet received {"connection_id":143887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 10:17:32] local.INFO: IMEI acknowledgment sent {"connection_id":143887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:17:35] local.INFO: TCP Data received {"connection_id":143886,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143886,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:17:35] local.INFO: Processing buffer {"connection_id":143886,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:17:35] local.INFO: IMEI packet received {"connection_id":143886,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 10:17:35] local.INFO: IMEI acknowledgment sent {"connection_id":143886,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:17:35] local.INFO: TCP Data received {"connection_id":143887,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:17:35] local.INFO: Processing buffer {"connection_id":143887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:17:35] local.INFO: IMEI packet received {"connection_id":143887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 10:17:35] local.INFO: IMEI acknowledgment sent {"connection_id":143887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:17:36] local.INFO: TCP Data received {"connection_id":143886,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1e45a88012d168800071faaa00020005727..."} 
[2026-07-27 10:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143886,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1e45a88012d168800071faaa00020005727..."} 
[2026-07-27 10:17:36] local.INFO: Processing buffer {"connection_id":143886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1e45a88012d168800071faaa00020005727..."} 
[2026-07-27 10:17:36] local.INFO: Packet analysis {"connection_id":143886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1e4"} 
[2026-07-27 10:17:36] local.INFO: Extracted packet for processing {"connection_id":143886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1e4"} 
[2026-07-27 10:17:36] local.INFO: GPS Element Parsed {"raw_longitude":756451328,"raw_latitude":119515808,"longitude_deg":75.6451328,"latitude_deg":11.9515808,"altitude":32,"angle":87,"satellites":39,"speed":0,"hex_longitude":"2d168800","hex_latitude":"071faaa0","is_valid_coordinates":true} 
[2026-07-27 10:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:17:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992641024001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:17:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8789289794011136,"note":"Value kept but may cause issues"} 
[2026-07-27 10:17:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623547696263110656,"note":"Value kept but may cause issues"} 
[2026-07-27 10:17:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:17:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785127525000,"timestamp_ms":1785127525000,"timestamp_seconds":1785127525,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1e45a88"} 
[2026-07-27 10:17:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:17:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 10:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-27 10:17:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:17:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:17:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:17:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:17:36] local.INFO: Teltonika packet parsed successfully {"connection_id":143886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:17:36] local.INFO: Passing IMEI to GPS processor {"connection_id":143886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:17:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":143886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:17:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:17:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:17:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:17:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992641024001,"66":12428,"131":206,"28":31744,"24":0,"16":8789289794011136,"45":1623547696263110656},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-07-27 10:17:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:17:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:17:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992641024001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:17:36] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-27 10:17:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:17:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8789289794011136,"km_value":8789289794011.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:17:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623547696263110656,"description":"Unknown IO ID 45"} 
[2026-07-27 10:17:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992641024001,"power":12428,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1623547696263110656}} 
[2026-07-27 10:17:36] local.INFO: DEBUG: GPS processor result {"connection_id":143886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552588,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:17:36] local.INFO: GPS data processed {"connection_id":143886,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:17:36] local.INFO: Acknowledgment sent {"connection_id":143886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:17:36] local.INFO: TCP Data received {"connection_id":143887,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1e5c1e8012d7faec005afd6a0001600ea27..."} 
[2026-07-27 10:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1e5c1e8012d7faec005afd6a0001600ea27..."} 
[2026-07-27 10:17:36] local.INFO: Processing buffer {"connection_id":143887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1e5c1e8012d7faec005afd6a0001600ea27..."} 
[2026-07-27 10:17:36] local.INFO: Packet analysis {"connection_id":143887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1e5"} 
[2026-07-27 10:17:36] local.INFO: Extracted packet for processing {"connection_id":143887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1e5"} 
[2026-07-27 10:17:36] local.INFO: GPS Element Parsed {"raw_longitude":763342528,"raw_latitude":95409824,"longitude_deg":76.3342528,"latitude_deg":9.5409824,"altitude":22,"angle":234,"satellites":39,"speed":0,"hex_longitude":"2d7faec0","hex_latitude":"05afd6a0","is_valid_coordinates":true} 
[2026-07-27 10:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:17:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992592896001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:17:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826719236325376,"note":"Value kept but may cause issues"} 
[2026-07-27 10:17:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200502219421949952,"note":"Value kept but may cause issues"} 
[2026-07-27 10:17:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:17:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785127617000,"timestamp_ms":1785127617000,"timestamp_seconds":1785127617,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1e5c1e8"} 
[2026-07-27 10:17:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:17:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 10:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-27 10:17:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:17:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:17:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:17:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:17:36] local.INFO: Teltonika packet parsed successfully {"connection_id":143887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:17:36] local.INFO: Passing IMEI to GPS processor {"connection_id":143887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:17:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":143887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:17:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:17:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 10:17:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 10:17:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992592896001,"66":25158,"250":206,"85":12544,"24":0,"16":358826719236325376,"45":9200502219421949952},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 10:17:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 10:17:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 10:17:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992592896001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:17:36] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 10:17:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 10:17:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826719236325376,"km_value":358826719236325.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:17:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200502219421949952,"description":"Unknown IO ID 45"} 
[2026-07-27 10:17:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992592896001,"power":25158,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200502219421949952}} 
[2026-07-27 10:17:36] local.INFO: DEBUG: GPS processor result {"connection_id":143887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:17:36] local.INFO: GPS data processed {"connection_id":143887,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:17:36] local.INFO: Acknowledgment sent {"connection_id":143887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:17:41] local.INFO: TCP Data received {"connection_id":143886,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1e4ac90012d168800071faaa00020005720..."} 
[2026-07-27 10:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143886,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1e4ac90012d168800071faaa00020005720..."} 
[2026-07-27 10:17:41] local.INFO: Processing buffer {"connection_id":143886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1e4ac90012d168800071faaa00020005720..."} 
[2026-07-27 10:17:41] local.INFO: Packet analysis {"connection_id":143886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1e4"} 
[2026-07-27 10:17:41] local.INFO: Extracted packet for processing {"connection_id":143886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1e4"} 
[2026-07-27 10:17:41] local.INFO: GPS Element Parsed {"raw_longitude":756451328,"raw_latitude":119515808,"longitude_deg":75.6451328,"latitude_deg":11.9515808,"altitude":32,"angle":87,"satellites":32,"speed":0,"hex_longitude":"2d168800","hex_latitude":"071faaa0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 10:17:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992646400001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:17:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8789289794011136,"note":"Value kept but may cause issues"} 
[2026-07-27 10:17:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623547696263110656,"note":"Value kept but may cause issues"} 
[2026-07-27 10:17:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:17:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785127546000,"timestamp_ms":1785127546000,"timestamp_seconds":1785127546,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1e4ac90"} 
[2026-07-27 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-07-27 10:17:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-27 10:17:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 10:17:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:17:41] local.INFO: Teltonika packet parsed successfully {"connection_id":143886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:17:41] local.INFO: Passing IMEI to GPS processor {"connection_id":143886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:17:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":143886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:17:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:17:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:17:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:17:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992646400001,"66":12385,"131":206,"28":31744,"24":0,"16":8789289794011136,"45":1623547696263110656},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-07-27 10:17:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:17:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:17:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992646400001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:17:41] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-27 10:17:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:17:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8789289794011136,"km_value":8789289794011.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:17:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623547696263110656,"description":"Unknown IO ID 45"} 
[2026-07-27 10:17:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992646400001,"power":12385,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1623547696263110656}} 
[2026-07-27 10:17:41] local.INFO: DEBUG: GPS processor result {"connection_id":143886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552590,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:17:41] local.INFO: GPS data processed {"connection_id":143886,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:17:41] local.INFO: Acknowledgment sent {"connection_id":143886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:18:12] local.INFO: TCP Data received {"connection_id":143886,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1e4fe98012d168800071faaa00020005728..."} 
[2026-07-27 10:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143886,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1e4fe98012d168800071faaa00020005728..."} 
[2026-07-27 10:18:12] local.INFO: Processing buffer {"connection_id":143886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1e4fe98012d168800071faaa00020005728..."} 
[2026-07-27 10:18:12] local.INFO: Packet analysis {"connection_id":143886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1e4"} 
[2026-07-27 10:18:12] local.INFO: Extracted packet for processing {"connection_id":143886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1e4"} 
[2026-07-27 10:18:12] local.INFO: GPS Element Parsed {"raw_longitude":756451328,"raw_latitude":119515808,"longitude_deg":75.6451328,"latitude_deg":11.9515808,"altitude":32,"angle":87,"satellites":40,"speed":0,"hex_longitude":"2d168800","hex_latitude":"071faaa0","is_valid_coordinates":true} 
[2026-07-27 10:18:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:18:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992651776001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:18:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8789289794011136,"note":"Value kept but may cause issues"} 
[2026-07-27 10:18:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623547696263110656,"note":"Value kept but may cause issues"} 
[2026-07-27 10:18:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:18:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785127567000,"timestamp_ms":1785127567000,"timestamp_seconds":1785127567,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1e4fe98"} 
[2026-07-27 10:18:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:18:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 10:18: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":97,"data_length":795,"current_offset":136} 
[2026-07-27 10:18:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:18:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:18:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:18:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:18:12] local.INFO: Teltonika packet parsed successfully {"connection_id":143886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:18:12] local.INFO: Passing IMEI to GPS processor {"connection_id":143886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:18:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":143886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:18:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:18:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:18:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:18:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992651776001,"66":12428,"131":206,"28":31744,"24":0,"16":8789289794011136,"45":1623547696263110656},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-07-27 10:18:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:18:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:18:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992651776001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:18:12] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-27 10:18:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:18:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8789289794011136,"km_value":8789289794011.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:18:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623547696263110656,"description":"Unknown IO ID 45"} 
[2026-07-27 10:18:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992651776001,"power":12428,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1623547696263110656}} 
[2026-07-27 10:18:12] local.INFO: DEBUG: GPS processor result {"connection_id":143886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552591,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:18:12] local.INFO: GPS data processed {"connection_id":143886,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:18:12] local.INFO: Acknowledgment sent {"connection_id":143886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:18:27] local.INFO: TCP Data received {"connection_id":142895,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:18:27] local.INFO: Processing buffer {"connection_id":142895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:18:27] local.INFO: IMEI packet received {"connection_id":142895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 10:18:27] local.INFO: IMEI acknowledgment sent {"connection_id":142895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:18:30] local.INFO: TCP Data received {"connection_id":142766,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142766,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:18:30] local.INFO: Processing buffer {"connection_id":142766,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:18:30] local.INFO: IMEI packet received {"connection_id":142766,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 10:18:30] local.INFO: IMEI acknowledgment sent {"connection_id":142766,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:18:31] local.INFO: TCP Data received {"connection_id":142766,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142766,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:18:31] local.INFO: Processing buffer {"connection_id":142766,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:18:31] local.INFO: IMEI packet received {"connection_id":142766,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 10:18:31] local.INFO: IMEI acknowledgment sent {"connection_id":142766,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:18:32] local.INFO: TCP Data received {"connection_id":142895,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:18:32] local.INFO: Processing buffer {"connection_id":142895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:18:32] local.INFO: IMEI packet received {"connection_id":142895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 10:18:32] local.INFO: IMEI acknowledgment sent {"connection_id":142895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:18:33] local.INFO: TCP Data received {"connection_id":142895,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1e5c1e8012d7faec005afd6a0001600ea27..."} 
[2026-07-27 10:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1e5c1e8012d7faec005afd6a0001600ea27..."} 
[2026-07-27 10:18:33] local.INFO: Processing buffer {"connection_id":142895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1e5c1e8012d7faec005afd6a0001600ea27..."} 
[2026-07-27 10:18:33] local.INFO: Packet analysis {"connection_id":142895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1e5"} 
[2026-07-27 10:18:33] local.INFO: Extracted packet for processing {"connection_id":142895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1e5"} 
[2026-07-27 10:18:33] local.INFO: GPS Element Parsed {"raw_longitude":763342528,"raw_latitude":95409824,"longitude_deg":76.3342528,"latitude_deg":9.5409824,"altitude":22,"angle":234,"satellites":39,"speed":0,"hex_longitude":"2d7faec0","hex_latitude":"05afd6a0","is_valid_coordinates":true} 
[2026-07-27 10:18:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:18:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992592896001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:18:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826719236325376,"note":"Value kept but may cause issues"} 
[2026-07-27 10:18:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200502219421949952,"note":"Value kept but may cause issues"} 
[2026-07-27 10:18:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:18:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785127617000,"timestamp_ms":1785127617000,"timestamp_seconds":1785127617,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1e5c1e8"} 
[2026-07-27 10:18:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:18:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 10:18:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-27 10:18:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:18:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:18:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:18:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:18:33] local.INFO: Teltonika packet parsed successfully {"connection_id":142895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:18:33] local.INFO: Passing IMEI to GPS processor {"connection_id":142895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:18:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":142895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:18:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:18:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 10:18:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 10:18:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992592896001,"66":25158,"250":206,"85":12544,"24":0,"16":358826719236325376,"45":9200502219421949952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 10:18:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 10:18:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 10:18:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992592896001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:18:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 10:18:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 10:18:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826719236325376,"km_value":358826719236325.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:18:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200502219421949952,"description":"Unknown IO ID 45"} 
[2026-07-27 10:18:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992592896001,"power":25158,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200502219421949952}} 
[2026-07-27 10:18:33] local.INFO: DEBUG: GPS processor result {"connection_id":142895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:18:33] local.INFO: GPS data processed {"connection_id":142895,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:18:33] local.INFO: Acknowledgment sent {"connection_id":142895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:18:35] local.INFO: TCP Data received {"connection_id":142766,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142766,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:18:35] local.INFO: Processing buffer {"connection_id":142766,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:18:35] local.INFO: IMEI packet received {"connection_id":142766,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 10:18:35] local.INFO: IMEI acknowledgment sent {"connection_id":142766,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:18:37] local.INFO: TCP Data received {"connection_id":142766,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1e550a0012d168800071faaa0002000572a..."} 
[2026-07-27 10:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1e550a0012d168800071faaa0002000572a..."} 
[2026-07-27 10:18:37] local.INFO: Processing buffer {"connection_id":142766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1e550a0012d168800071faaa0002000572a..."} 
[2026-07-27 10:18:37] local.INFO: Packet analysis {"connection_id":142766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1e5"} 
[2026-07-27 10:18:37] local.INFO: Extracted packet for processing {"connection_id":142766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1e5"} 
[2026-07-27 10:18:37] local.INFO: GPS Element Parsed {"raw_longitude":756451328,"raw_latitude":119515808,"longitude_deg":75.6451328,"latitude_deg":11.9515808,"altitude":32,"angle":87,"satellites":42,"speed":0,"hex_longitude":"2d168800","hex_latitude":"071faaa0","is_valid_coordinates":true} 
[2026-07-27 10:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992657152001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8789289794011136,"note":"Value kept but may cause issues"} 
[2026-07-27 10:18:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623547696263110656,"note":"Value kept but may cause issues"} 
[2026-07-27 10:18:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785127588000,"timestamp_ms":1785127588000,"timestamp_seconds":1785127588,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1e550a0"} 
[2026-07-27 10:18:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:18:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 10:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-27 10:18:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:18:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:18:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":142766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":142766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":142766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:18:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992657152001,"66":12428,"131":206,"28":31744,"24":0,"16":8789289794011136,"45":1623547696263110656},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-07-27 10:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992657152001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:18:37] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-27 10:18:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:18:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8789289794011136,"km_value":8789289794011.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:18:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623547696263110656,"description":"Unknown IO ID 45"} 
[2026-07-27 10:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992657152001,"power":12428,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1623547696263110656}} 
[2026-07-27 10:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":142766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552593,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:18:37] local.INFO: GPS data processed {"connection_id":142766,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:18:37] local.INFO: Acknowledgment sent {"connection_id":142766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:19:04] local.INFO: TCP Data received {"connection_id":142895,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1e5c1e8012d7faec005afd6a0001600ea27..."} 
[2026-07-27 10:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1e5c1e8012d7faec005afd6a0001600ea27..."} 
[2026-07-27 10:19:04] local.INFO: Processing buffer {"connection_id":142895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1e5c1e8012d7faec005afd6a0001600ea27..."} 
[2026-07-27 10:19:04] local.INFO: Packet analysis {"connection_id":142895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1e5"} 
[2026-07-27 10:19:04] local.INFO: Extracted packet for processing {"connection_id":142895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1e5"} 
[2026-07-27 10:19:04] local.INFO: GPS Element Parsed {"raw_longitude":763342528,"raw_latitude":95409824,"longitude_deg":76.3342528,"latitude_deg":9.5409824,"altitude":22,"angle":234,"satellites":39,"speed":0,"hex_longitude":"2d7faec0","hex_latitude":"05afd6a0","is_valid_coordinates":true} 
[2026-07-27 10:19:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:19:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992592896001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:19:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826719236325376,"note":"Value kept but may cause issues"} 
[2026-07-27 10:19:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200502219421949952,"note":"Value kept but may cause issues"} 
[2026-07-27 10:19:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:19:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785127617000,"timestamp_ms":1785127617000,"timestamp_seconds":1785127617,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1e5c1e8"} 
[2026-07-27 10:19:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:19:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 10:19:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-27 10:19:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:19:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:19:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:19:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:19:04] local.INFO: Teltonika packet parsed successfully {"connection_id":142895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:19:04] local.INFO: Passing IMEI to GPS processor {"connection_id":142895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:19:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":142895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:19:04] 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-07-27 10:19:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 10:19:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 10:19:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992592896001,"66":25158,"250":206,"85":12544,"24":0,"16":358826719236325376,"45":9200502219421949952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 10:19:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 10:19:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 10:19:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992592896001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:19:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 10:19:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 10:19:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826719236325376,"km_value":358826719236325.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:19:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200502219421949952,"description":"Unknown IO ID 45"} 
[2026-07-27 10:19:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992592896001,"power":25158,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200502219421949952}} 
[2026-07-27 10:19:04] local.INFO: DEBUG: GPS processor result {"connection_id":142895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:19:04] local.INFO: GPS data processed {"connection_id":142895,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:19:04] local.INFO: Acknowledgment sent {"connection_id":142895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:19:08] local.INFO: TCP Data received {"connection_id":142766,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1e5a2a8012d168800071faaa0002000572a..."} 
[2026-07-27 10:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1e5a2a8012d168800071faaa0002000572a..."} 
[2026-07-27 10:19:08] local.INFO: Processing buffer {"connection_id":142766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1e5a2a8012d168800071faaa0002000572a..."} 
[2026-07-27 10:19:08] local.INFO: Packet analysis {"connection_id":142766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1e5"} 
[2026-07-27 10:19:08] local.INFO: Extracted packet for processing {"connection_id":142766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1e5"} 
[2026-07-27 10:19:08] local.INFO: GPS Element Parsed {"raw_longitude":756451328,"raw_latitude":119515808,"longitude_deg":75.6451328,"latitude_deg":11.9515808,"altitude":32,"angle":87,"satellites":42,"speed":0,"hex_longitude":"2d168800","hex_latitude":"071faaa0","is_valid_coordinates":true} 
[2026-07-27 10:19:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:19:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992662528001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:19:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8789289794011136,"note":"Value kept but may cause issues"} 
[2026-07-27 10:19:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623547696263110656,"note":"Value kept but may cause issues"} 
[2026-07-27 10:19:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:19:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785127609000,"timestamp_ms":1785127609000,"timestamp_seconds":1785127609,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1e5a2a8"} 
[2026-07-27 10:19:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:19:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 10: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-27 10:19:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:19:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:19:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:19:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:19:08] local.INFO: Teltonika packet parsed successfully {"connection_id":142766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:19:08] local.INFO: Passing IMEI to GPS processor {"connection_id":142766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:19:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":142766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:19:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:19:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:19:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:19:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992662528001,"66":12287,"131":206,"28":31744,"24":0,"16":8789289794011136,"45":1623547696263110656},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-07-27 10:19:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:19:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:19:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992662528001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:19:08] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-27 10:19:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:19:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8789289794011136,"km_value":8789289794011.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:19:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623547696263110656,"description":"Unknown IO ID 45"} 
[2026-07-27 10:19:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992662528001,"power":12287,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1623547696263110656}} 
[2026-07-27 10:19:08] local.INFO: DEBUG: GPS processor result {"connection_id":142766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552595,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:19:08] local.INFO: GPS data processed {"connection_id":142766,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:19:08] local.INFO: Acknowledgment sent {"connection_id":142766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:19:30] local.INFO: TCP Data received {"connection_id":145199,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145199,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:19:30] local.INFO: Processing buffer {"connection_id":145199,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:19:30] local.INFO: IMEI packet received {"connection_id":145199,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 10:19:30] local.INFO: IMEI acknowledgment sent {"connection_id":145199,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:19:33] local.INFO: TCP Data received {"connection_id":145199,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145199,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:19:33] local.INFO: Processing buffer {"connection_id":145199,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:19:33] local.INFO: IMEI packet received {"connection_id":145199,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 10:19:33] local.INFO: IMEI acknowledgment sent {"connection_id":145199,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:19:35] local.INFO: TCP Data received {"connection_id":145199,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145199,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:19:35] local.INFO: Processing buffer {"connection_id":145199,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:19:35] local.INFO: IMEI packet received {"connection_id":145199,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 10:19:35] local.INFO: IMEI acknowledgment sent {"connection_id":145199,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:19:36] local.INFO: TCP Data received {"connection_id":145199,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1e5f4b0012d168800071faaa00020005729..."} 
[2026-07-27 10:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145199,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1e5f4b0012d168800071faaa00020005729..."} 
[2026-07-27 10:19:36] local.INFO: Processing buffer {"connection_id":145199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1e5f4b0012d168800071faaa00020005729..."} 
[2026-07-27 10:19:36] local.INFO: Packet analysis {"connection_id":145199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1e5"} 
[2026-07-27 10:19:36] local.INFO: Extracted packet for processing {"connection_id":145199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1e5"} 
[2026-07-27 10:19:36] local.INFO: GPS Element Parsed {"raw_longitude":756451328,"raw_latitude":119515808,"longitude_deg":75.6451328,"latitude_deg":11.9515808,"altitude":32,"angle":87,"satellites":41,"speed":0,"hex_longitude":"2d168800","hex_latitude":"071faaa0","is_valid_coordinates":true} 
[2026-07-27 10:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:19:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992667904001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:19:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8789289794011136,"note":"Value kept but may cause issues"} 
[2026-07-27 10:19:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623547696263110656,"note":"Value kept but may cause issues"} 
[2026-07-27 10:19:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:19:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785127630000,"timestamp_ms":1785127630000,"timestamp_seconds":1785127630,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1e5f4b0"} 
[2026-07-27 10:19:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:19:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 10:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-27 10:19:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:19:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:19:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:19:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:19:36] local.INFO: Teltonika packet parsed successfully {"connection_id":145199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:19:36] local.INFO: Passing IMEI to GPS processor {"connection_id":145199,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:19:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":145199,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:19:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:19:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:19:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:19:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992667904001,"66":12428,"131":206,"28":31744,"24":0,"16":8789289794011136,"45":1623547696263110656},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-07-27 10:19:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:19:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:19:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992667904001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:19:36] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-27 10:19:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:19:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8789289794011136,"km_value":8789289794011.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:19:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623547696263110656,"description":"Unknown IO ID 45"} 
[2026-07-27 10:19:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992667904001,"power":12428,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1623547696263110656}} 
[2026-07-27 10:19:36] local.INFO: DEBUG: GPS processor result {"connection_id":145199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552596,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:19:36] local.INFO: GPS data processed {"connection_id":145199,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:19:36] local.INFO: Acknowledgment sent {"connection_id":145199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:19:37] local.INFO: TCP Data received {"connection_id":143888,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:19:37] local.INFO: Processing buffer {"connection_id":143888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:19:37] local.INFO: IMEI packet received {"connection_id":143888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 10:19:37] local.INFO: IMEI acknowledgment sent {"connection_id":143888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:19:42] local.INFO: TCP Data received {"connection_id":143888,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:19:42] local.INFO: Processing buffer {"connection_id":143888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:19:42] local.INFO: IMEI packet received {"connection_id":143888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 10:19:42] local.INFO: IMEI acknowledgment sent {"connection_id":143888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:19:43] local.INFO: TCP Data received {"connection_id":143888,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1e5c1e8012d7faec005afd6a0001600ea27..."} 
[2026-07-27 10:19:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1e5c1e8012d7faec005afd6a0001600ea27..."} 
[2026-07-27 10:19:43] local.INFO: Processing buffer {"connection_id":143888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1e5c1e8012d7faec005afd6a0001600ea27..."} 
[2026-07-27 10:19:43] local.INFO: Packet analysis {"connection_id":143888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1e5"} 
[2026-07-27 10:19:43] local.INFO: Extracted packet for processing {"connection_id":143888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1e5"} 
[2026-07-27 10:19:43] local.INFO: GPS Element Parsed {"raw_longitude":763342528,"raw_latitude":95409824,"longitude_deg":76.3342528,"latitude_deg":9.5409824,"altitude":22,"angle":234,"satellites":39,"speed":0,"hex_longitude":"2d7faec0","hex_latitude":"05afd6a0","is_valid_coordinates":true} 
[2026-07-27 10:19:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:19:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992592896001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:19:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826719236325376,"note":"Value kept but may cause issues"} 
[2026-07-27 10:19:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200502219421949952,"note":"Value kept but may cause issues"} 
[2026-07-27 10:19:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:19:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785127617000,"timestamp_ms":1785127617000,"timestamp_seconds":1785127617,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1e5c1e8"} 
[2026-07-27 10:19:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:19:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 10:19:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-27 10:19:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:19:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:19:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:19:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:19:43] local.INFO: Teltonika packet parsed successfully {"connection_id":143888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:19:43] local.INFO: Passing IMEI to GPS processor {"connection_id":143888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:19:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":143888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:19: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-07-27 10:19:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 10:19:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 10:19:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992592896001,"66":25158,"250":206,"85":12544,"24":0,"16":358826719236325376,"45":9200502219421949952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 10:19:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 10:19:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 10:19:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992592896001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:19:43] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 10:19:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 10:19:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826719236325376,"km_value":358826719236325.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:19:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200502219421949952,"description":"Unknown IO ID 45"} 
[2026-07-27 10:19:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992592896001,"power":25158,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200502219421949952}} 
[2026-07-27 10:19:43] local.INFO: DEBUG: GPS processor result {"connection_id":143888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:19:43] local.INFO: GPS data processed {"connection_id":143888,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:19:43] local.INFO: Acknowledgment sent {"connection_id":143888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:19:48] local.INFO: TCP Data received {"connection_id":143888,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1e5c1e8012d7faec005afd6a0001600ea27..."} 
[2026-07-27 10:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1e5c1e8012d7faec005afd6a0001600ea27..."} 
[2026-07-27 10:19:48] local.INFO: Processing buffer {"connection_id":143888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1e5c1e8012d7faec005afd6a0001600ea27..."} 
[2026-07-27 10:19:48] local.INFO: Packet analysis {"connection_id":143888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1e5"} 
[2026-07-27 10:19:48] local.INFO: Extracted packet for processing {"connection_id":143888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1e5"} 
[2026-07-27 10:19:48] local.INFO: GPS Element Parsed {"raw_longitude":763342528,"raw_latitude":95409824,"longitude_deg":76.3342528,"latitude_deg":9.5409824,"altitude":22,"angle":234,"satellites":39,"speed":0,"hex_longitude":"2d7faec0","hex_latitude":"05afd6a0","is_valid_coordinates":true} 
[2026-07-27 10: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-07-27 10:19:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992592896001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:19:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826719236325376,"note":"Value kept but may cause issues"} 
[2026-07-27 10:19:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200502219421949952,"note":"Value kept but may cause issues"} 
[2026-07-27 10:19:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:19:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785127617000,"timestamp_ms":1785127617000,"timestamp_seconds":1785127617,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1e5c1e8"} 
[2026-07-27 10:19:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:19:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 10: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":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-27 10:19:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10: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-07-27 10:19:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:19:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:19:48] local.INFO: Teltonika packet parsed successfully {"connection_id":143888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:19:48] local.INFO: Passing IMEI to GPS processor {"connection_id":143888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:19:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":143888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:19: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-07-27 10:19:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 10:19:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 10:19:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992592896001,"66":25158,"250":206,"85":12544,"24":0,"16":358826719236325376,"45":9200502219421949952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 10:19:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 10:19:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 10:19:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992592896001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:19:48] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 10:19:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 10:19:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826719236325376,"km_value":358826719236325.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:19:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200502219421949952,"description":"Unknown IO ID 45"} 
[2026-07-27 10:19:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992592896001,"power":25158,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200502219421949952}} 
[2026-07-27 10:19:48] local.INFO: DEBUG: GPS processor result {"connection_id":143888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:19:48] local.INFO: GPS data processed {"connection_id":143888,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:19:48] local.INFO: Acknowledgment sent {"connection_id":143888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:20:08] local.INFO: TCP Data received {"connection_id":145199,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1e646b8012d168800071faaa00020005728..."} 
[2026-07-27 10:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145199,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1e646b8012d168800071faaa00020005728..."} 
[2026-07-27 10:20:08] local.INFO: Processing buffer {"connection_id":145199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1e646b8012d168800071faaa00020005728..."} 
[2026-07-27 10:20:08] local.INFO: Packet analysis {"connection_id":145199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1e6"} 
[2026-07-27 10:20:08] local.INFO: Extracted packet for processing {"connection_id":145199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1e6"} 
[2026-07-27 10:20:08] local.INFO: GPS Element Parsed {"raw_longitude":756451328,"raw_latitude":119515808,"longitude_deg":75.6451328,"latitude_deg":11.9515808,"altitude":32,"angle":87,"satellites":40,"speed":0,"hex_longitude":"2d168800","hex_latitude":"071faaa0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 10:20:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992673280001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:20:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8789289794011136,"note":"Value kept but may cause issues"} 
[2026-07-27 10:20:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623547696263110656,"note":"Value kept but may cause issues"} 
[2026-07-27 10:20:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:20:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785127651000,"timestamp_ms":1785127651000,"timestamp_seconds":1785127651,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1e646b8"} 
[2026-07-27 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-07-27 10:20:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-27 10:20:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 10:20:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:20:08] local.INFO: Teltonika packet parsed successfully {"connection_id":145199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:20:08] local.INFO: Passing IMEI to GPS processor {"connection_id":145199,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:20:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":145199,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:20:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:20:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:20:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:20:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992673280001,"66":11580,"131":206,"28":31744,"24":0,"16":8789289794011136,"45":1623547696263110656},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-07-27 10:20:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:20:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:20:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992673280001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:20:08] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-27 10:20:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:20:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8789289794011136,"km_value":8789289794011.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:20:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623547696263110656,"description":"Unknown IO ID 45"} 
[2026-07-27 10:20:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992673280001,"power":11580,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1623547696263110656}} 
[2026-07-27 10:20:08] local.INFO: DEBUG: GPS processor result {"connection_id":145199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552599,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:20:08] local.INFO: GPS data processed {"connection_id":145199,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:20:08] local.INFO: Acknowledgment sent {"connection_id":145199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:20:32] local.INFO: TCP Data received {"connection_id":142767,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:20:32] local.INFO: Processing buffer {"connection_id":142767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:20:32] local.INFO: IMEI packet received {"connection_id":142767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 10:20:32] local.INFO: IMEI acknowledgment sent {"connection_id":142767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:20:35] local.INFO: TCP Data received {"connection_id":142768,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142768,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:20:35] local.INFO: Processing buffer {"connection_id":142768,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:20:35] local.INFO: IMEI packet received {"connection_id":142768,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 10:20:35] local.INFO: IMEI acknowledgment sent {"connection_id":142768,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:20:36] local.INFO: TCP Data received {"connection_id":142768,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142768,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:20:36] local.INFO: Processing buffer {"connection_id":142768,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:20:36] local.INFO: IMEI packet received {"connection_id":142768,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 10:20:36] local.INFO: IMEI acknowledgment sent {"connection_id":142768,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:20:37] local.INFO: TCP Data received {"connection_id":142768,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1e698c0012d168800071faaa00020005729..."} 
[2026-07-27 10:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1e698c0012d168800071faaa00020005729..."} 
[2026-07-27 10:20:37] local.INFO: Processing buffer {"connection_id":142768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1e698c0012d168800071faaa00020005729..."} 
[2026-07-27 10:20:37] local.INFO: Packet analysis {"connection_id":142768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1e6"} 
[2026-07-27 10:20:37] local.INFO: Extracted packet for processing {"connection_id":142768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1e6"} 
[2026-07-27 10:20:37] local.INFO: GPS Element Parsed {"raw_longitude":756451328,"raw_latitude":119515808,"longitude_deg":75.6451328,"latitude_deg":11.9515808,"altitude":32,"angle":87,"satellites":41,"speed":0,"hex_longitude":"2d168800","hex_latitude":"071faaa0","is_valid_coordinates":true} 
[2026-07-27 10:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:20:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992678656001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:20:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8789289794011136,"note":"Value kept but may cause issues"} 
[2026-07-27 10:20:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623547696263110656,"note":"Value kept but may cause issues"} 
[2026-07-27 10:20:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:20:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785127672000,"timestamp_ms":1785127672000,"timestamp_seconds":1785127672,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1e698c0"} 
[2026-07-27 10:20:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:20:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 10:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-27 10:20:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":963,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:20:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:20:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:20:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:20:37] local.INFO: Teltonika packet parsed successfully {"connection_id":142768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:20:37] local.INFO: Passing IMEI to GPS processor {"connection_id":142768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:20:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":142768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:20:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:20:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:20:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:20:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992678656001,"66":12374,"131":206,"28":31744,"24":0,"16":8789289794011136,"45":1623547696263110656},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-07-27 10:20:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:20:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:20:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992678656001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:20:37] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-27 10:20:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:20:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8789289794011136,"km_value":8789289794011.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:20:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623547696263110656,"description":"Unknown IO ID 45"} 
[2026-07-27 10:20:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992678656001,"power":12374,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1623547696263110656}} 
[2026-07-27 10:20:37] local.INFO: DEBUG: GPS processor result {"connection_id":142768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552600,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:20:37] local.INFO: GPS data processed {"connection_id":142768,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:20:37] local.INFO: Acknowledgment sent {"connection_id":142768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:20:38] local.INFO: TCP Data received {"connection_id":142767,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:20:38] local.INFO: Processing buffer {"connection_id":142767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:20:38] local.INFO: IMEI packet received {"connection_id":142767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 10:20:38] local.INFO: IMEI acknowledgment sent {"connection_id":142767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:20:39] local.INFO: TCP Data received {"connection_id":142767,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1e5c1e8012d7faec005afd6a0001600ea27..."} 
[2026-07-27 10:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1e5c1e8012d7faec005afd6a0001600ea27..."} 
[2026-07-27 10:20:39] local.INFO: Processing buffer {"connection_id":142767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1e5c1e8012d7faec005afd6a0001600ea27..."} 
[2026-07-27 10:20:39] local.INFO: Packet analysis {"connection_id":142767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1e5"} 
[2026-07-27 10:20:39] local.INFO: Extracted packet for processing {"connection_id":142767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1e5"} 
[2026-07-27 10:20:39] local.INFO: GPS Element Parsed {"raw_longitude":763342528,"raw_latitude":95409824,"longitude_deg":76.3342528,"latitude_deg":9.5409824,"altitude":22,"angle":234,"satellites":39,"speed":0,"hex_longitude":"2d7faec0","hex_latitude":"05afd6a0","is_valid_coordinates":true} 
[2026-07-27 10:20:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:20:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992592896001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:20:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826719236325376,"note":"Value kept but may cause issues"} 
[2026-07-27 10:20:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200502219421949952,"note":"Value kept but may cause issues"} 
[2026-07-27 10:20:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:20:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785127617000,"timestamp_ms":1785127617000,"timestamp_seconds":1785127617,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1e5c1e8"} 
[2026-07-27 10:20:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:20:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 10: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":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-27 10:20: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-07-27 10:20:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:20:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:20:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:20:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:20:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:20:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:20:39] 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-07-27 10:20:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 10:20:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 10:20:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992592896001,"66":25158,"250":206,"85":12544,"24":0,"16":358826719236325376,"45":9200502219421949952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 10:20:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 10:20:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 10:20:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992592896001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:20:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 10:20:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 10:20:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826719236325376,"km_value":358826719236325.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:20:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200502219421949952,"description":"Unknown IO ID 45"} 
[2026-07-27 10:20:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992592896001,"power":25158,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200502219421949952}} 
[2026-07-27 10:20:39] local.INFO: DEBUG: GPS processor result {"connection_id":142767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:20:39] local.INFO: GPS data processed {"connection_id":142767,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:20:39] local.INFO: Acknowledgment sent {"connection_id":142767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:20:40] local.INFO: TCP Data received {"connection_id":142768,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1e6eac8012d168800071faaa00020005726..."} 
[2026-07-27 10:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1e6eac8012d168800071faaa00020005726..."} 
[2026-07-27 10:20:40] local.INFO: Processing buffer {"connection_id":142768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1e6eac8012d168800071faaa00020005726..."} 
[2026-07-27 10:20:40] local.INFO: Packet analysis {"connection_id":142768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1e6"} 
[2026-07-27 10:20:40] local.INFO: Extracted packet for processing {"connection_id":142768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1e6"} 
[2026-07-27 10:20:40] local.INFO: GPS Element Parsed {"raw_longitude":756451328,"raw_latitude":119515808,"longitude_deg":75.6451328,"latitude_deg":11.9515808,"altitude":32,"angle":87,"satellites":38,"speed":0,"hex_longitude":"2d168800","hex_latitude":"071faaa0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 10:20:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992684032001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:20:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8789289794011136,"note":"Value kept but may cause issues"} 
[2026-07-27 10:20:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623547696263110656,"note":"Value kept but may cause issues"} 
[2026-07-27 10:20:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:20:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785127693000,"timestamp_ms":1785127693000,"timestamp_seconds":1785127693,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1e6eac8"} 
[2026-07-27 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-07-27 10:20:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-27 10:20:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 10:20:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:20:40] local.INFO: Teltonika packet parsed successfully {"connection_id":142768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:20:40] local.INFO: Passing IMEI to GPS processor {"connection_id":142768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:20:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":142768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:20:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:20:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:20:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:20:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992684032001,"66":12363,"131":206,"28":31744,"24":0,"16":8789289794011136,"45":1623547696263110656},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-07-27 10:20:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:20:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:20:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992684032001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:20:40] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-27 10:20:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:20:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8789289794011136,"km_value":8789289794011.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:20:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623547696263110656,"description":"Unknown IO ID 45"} 
[2026-07-27 10:20:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992684032001,"power":12363,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1623547696263110656}} 
[2026-07-27 10:20:40] local.INFO: DEBUG: GPS processor result {"connection_id":142768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552602,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:20:40] local.INFO: GPS data processed {"connection_id":142768,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:20:40] local.INFO: Acknowledgment sent {"connection_id":142768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:20:46] local.INFO: TCP Data received {"connection_id":142767,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1e5c1e8012d7faec005afd6a0001600ea27..."} 
[2026-07-27 10:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1e5c1e8012d7faec005afd6a0001600ea27..."} 
[2026-07-27 10:20:46] local.INFO: Processing buffer {"connection_id":142767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1e5c1e8012d7faec005afd6a0001600ea27..."} 
[2026-07-27 10:20:46] local.INFO: Packet analysis {"connection_id":142767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1e5"} 
[2026-07-27 10:20:46] local.INFO: Extracted packet for processing {"connection_id":142767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1e5"} 
[2026-07-27 10:20:46] local.INFO: GPS Element Parsed {"raw_longitude":763342528,"raw_latitude":95409824,"longitude_deg":76.3342528,"latitude_deg":9.5409824,"altitude":22,"angle":234,"satellites":39,"speed":0,"hex_longitude":"2d7faec0","hex_latitude":"05afd6a0","is_valid_coordinates":true} 
[2026-07-27 10:20:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:20:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992592896001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:20:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826719236325376,"note":"Value kept but may cause issues"} 
[2026-07-27 10:20:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200502219421949952,"note":"Value kept but may cause issues"} 
[2026-07-27 10:20:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:20:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785127617000,"timestamp_ms":1785127617000,"timestamp_seconds":1785127617,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1e5c1e8"} 
[2026-07-27 10:20:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:20:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 10:20:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-27 10:20:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:20:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:20:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:20:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:20:46] local.INFO: Teltonika packet parsed successfully {"connection_id":142767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:20:46] local.INFO: Passing IMEI to GPS processor {"connection_id":142767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:20:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":142767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:20:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:20:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 10:20:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 10:20:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992592896001,"66":25158,"250":206,"85":12544,"24":0,"16":358826719236325376,"45":9200502219421949952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 10:20:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 10:20:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 10:20:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992592896001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:20:46] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 10:20:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 10:20:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826719236325376,"km_value":358826719236325.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:20:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200502219421949952,"description":"Unknown IO ID 45"} 
[2026-07-27 10:20:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992592896001,"power":25158,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200502219421949952}} 
[2026-07-27 10:20:46] local.INFO: DEBUG: GPS processor result {"connection_id":142767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:20:46] local.INFO: GPS data processed {"connection_id":142767,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:20:46] local.INFO: Acknowledgment sent {"connection_id":142767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:21:11] local.INFO: TCP Data received {"connection_id":142768,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1e73cd0012d168800071faaa00020005726..."} 
[2026-07-27 10:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1e73cd0012d168800071faaa00020005726..."} 
[2026-07-27 10:21:11] local.INFO: Processing buffer {"connection_id":142768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1e73cd0012d168800071faaa00020005726..."} 
[2026-07-27 10:21:11] local.INFO: Packet analysis {"connection_id":142768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1e7"} 
[2026-07-27 10:21:11] local.INFO: Extracted packet for processing {"connection_id":142768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1e7"} 
[2026-07-27 10:21:11] local.INFO: GPS Element Parsed {"raw_longitude":756451328,"raw_latitude":119515808,"longitude_deg":75.6451328,"latitude_deg":11.9515808,"altitude":32,"angle":87,"satellites":38,"speed":0,"hex_longitude":"2d168800","hex_latitude":"071faaa0","is_valid_coordinates":true} 
[2026-07-27 10: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-07-27 10:21:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992689408001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:21:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8789289794011136,"note":"Value kept but may cause issues"} 
[2026-07-27 10:21:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623547696263110656,"note":"Value kept but may cause issues"} 
[2026-07-27 10:21:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:21:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785127714000,"timestamp_ms":1785127714000,"timestamp_seconds":1785127714,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1e73cd0"} 
[2026-07-27 10:21:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:21:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 10: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":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-27 10:21:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10: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-07-27 10:21:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:21:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:21:11] local.INFO: Teltonika packet parsed successfully {"connection_id":142768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:21:11] local.INFO: Passing IMEI to GPS processor {"connection_id":142768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:21:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":142768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:21:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:21:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:21:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:21:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992689408001,"66":12341,"131":206,"28":31744,"24":0,"16":8789289794011136,"45":1623547696263110656},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-07-27 10:21:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:21:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:21:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992689408001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:21:11] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-27 10:21:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:21:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8789289794011136,"km_value":8789289794011.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:21:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623547696263110656,"description":"Unknown IO ID 45"} 
[2026-07-27 10:21:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992689408001,"power":12341,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1623547696263110656}} 
[2026-07-27 10:21:11] local.INFO: DEBUG: GPS processor result {"connection_id":142768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552604,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:21:11] local.INFO: GPS data processed {"connection_id":142768,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:21:11] local.INFO: Acknowledgment sent {"connection_id":142768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:21:17] local.INFO: TCP Data received {"connection_id":142767,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1e5c1e8012d7faec005afd6a0001600ea27..."} 
[2026-07-27 10:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1e5c1e8012d7faec005afd6a0001600ea27..."} 
[2026-07-27 10:21:17] local.INFO: Processing buffer {"connection_id":142767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1e5c1e8012d7faec005afd6a0001600ea27..."} 
[2026-07-27 10:21:17] local.INFO: Packet analysis {"connection_id":142767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1e5"} 
[2026-07-27 10:21:17] local.INFO: Extracted packet for processing {"connection_id":142767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1e5"} 
[2026-07-27 10:21:17] local.INFO: GPS Element Parsed {"raw_longitude":763342528,"raw_latitude":95409824,"longitude_deg":76.3342528,"latitude_deg":9.5409824,"altitude":22,"angle":234,"satellites":39,"speed":0,"hex_longitude":"2d7faec0","hex_latitude":"05afd6a0","is_valid_coordinates":true} 
[2026-07-27 10: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-07-27 10:21:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992592896001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:21:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826719236325376,"note":"Value kept but may cause issues"} 
[2026-07-27 10:21:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200502219421949952,"note":"Value kept but may cause issues"} 
[2026-07-27 10:21:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:21:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785127617000,"timestamp_ms":1785127617000,"timestamp_seconds":1785127617,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1e5c1e8"} 
[2026-07-27 10:21:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:21:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 10: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":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-27 10:21:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10: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-07-27 10:21:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:21:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:21:17] local.INFO: Teltonika packet parsed successfully {"connection_id":142767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:21:17] local.INFO: Passing IMEI to GPS processor {"connection_id":142767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:21:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":142767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:21:17] 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-07-27 10:21:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 10:21:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 10:21:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992592896001,"66":25158,"250":206,"85":12544,"24":0,"16":358826719236325376,"45":9200502219421949952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 10:21:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 10:21:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 10:21:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992592896001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:21:17] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 10:21:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 10:21:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826719236325376,"km_value":358826719236325.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:21:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200502219421949952,"description":"Unknown IO ID 45"} 
[2026-07-27 10:21:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992592896001,"power":25158,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200502219421949952}} 
[2026-07-27 10:21:17] local.INFO: DEBUG: GPS processor result {"connection_id":142767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:21:17] local.INFO: GPS data processed {"connection_id":142767,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:21:17] local.INFO: Acknowledgment sent {"connection_id":142767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:21:31] local.INFO: TCP Data received {"connection_id":145200,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145200,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:21:31] local.INFO: Processing buffer {"connection_id":145200,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:21:31] local.INFO: IMEI packet received {"connection_id":145200,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 10:21:31] local.INFO: IMEI acknowledgment sent {"connection_id":145200,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:21:32] local.INFO: TCP Data received {"connection_id":143889,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:21:32] local.INFO: Processing buffer {"connection_id":143889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:21:32] local.INFO: IMEI packet received {"connection_id":143889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 10:21:32] local.INFO: IMEI acknowledgment sent {"connection_id":143889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:21:35] local.INFO: TCP Data received {"connection_id":145200,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145200,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:21:35] local.INFO: Processing buffer {"connection_id":145200,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:21:35] local.INFO: IMEI packet received {"connection_id":145200,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 10:21:35] local.INFO: IMEI acknowledgment sent {"connection_id":145200,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:21:37] local.INFO: TCP Data received {"connection_id":145200,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1e78ed8012d168800071faaa00020005725..."} 
[2026-07-27 10:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145200,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1e78ed8012d168800071faaa00020005725..."} 
[2026-07-27 10:21:37] local.INFO: Processing buffer {"connection_id":145200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1e78ed8012d168800071faaa00020005725..."} 
[2026-07-27 10:21:37] local.INFO: Packet analysis {"connection_id":145200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1e7"} 
[2026-07-27 10:21:37] local.INFO: Extracted packet for processing {"connection_id":145200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1e7"} 
[2026-07-27 10:21:37] local.INFO: GPS Element Parsed {"raw_longitude":756451328,"raw_latitude":119515808,"longitude_deg":75.6451328,"latitude_deg":11.9515808,"altitude":32,"angle":87,"satellites":37,"speed":0,"hex_longitude":"2d168800","hex_latitude":"071faaa0","is_valid_coordinates":true} 
[2026-07-27 10:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:21:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992694784001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:21:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8789289794011136,"note":"Value kept but may cause issues"} 
[2026-07-27 10:21:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623547696263110656,"note":"Value kept but may cause issues"} 
[2026-07-27 10:21:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:21:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785127735000,"timestamp_ms":1785127735000,"timestamp_seconds":1785127735,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1e78ed8"} 
[2026-07-27 10:21:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:21:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 10:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 10:21:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:21:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:21:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:21:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:21:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:21:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145200,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:21:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145200,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:21:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:21:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:21:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:21:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992694784001,"66":12374,"131":206,"28":31744,"24":0,"16":8789289794011136,"45":1623547696263110656},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-07-27 10:21:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:21:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:21:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992694784001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:21:37] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-27 10:21:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:21:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8789289794011136,"km_value":8789289794011.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:21:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623547696263110656,"description":"Unknown IO ID 45"} 
[2026-07-27 10:21:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992694784001,"power":12374,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1623547696263110656}} 
[2026-07-27 10:21:37] local.INFO: DEBUG: GPS processor result {"connection_id":145200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552606,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:21:37] local.INFO: GPS data processed {"connection_id":145200,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:21:37] local.INFO: Acknowledgment sent {"connection_id":145200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:21:37] local.INFO: TCP Data received {"connection_id":143889,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:21:37] local.INFO: Processing buffer {"connection_id":143889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:21:37] local.INFO: IMEI packet received {"connection_id":143889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 10:21:37] local.INFO: IMEI acknowledgment sent {"connection_id":143889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:21:39] local.INFO: TCP Data received {"connection_id":143889,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1e5c1e8012d7faec005afd6a0001600ea27..."} 
[2026-07-27 10:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143889,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1e5c1e8012d7faec005afd6a0001600ea27..."} 
[2026-07-27 10:21:39] local.INFO: Processing buffer {"connection_id":143889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1e5c1e8012d7faec005afd6a0001600ea27..."} 
[2026-07-27 10:21:39] local.INFO: Packet analysis {"connection_id":143889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1e5"} 
[2026-07-27 10:21:39] local.INFO: Extracted packet for processing {"connection_id":143889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1e5"} 
[2026-07-27 10:21:39] local.INFO: GPS Element Parsed {"raw_longitude":763342528,"raw_latitude":95409824,"longitude_deg":76.3342528,"latitude_deg":9.5409824,"altitude":22,"angle":234,"satellites":39,"speed":0,"hex_longitude":"2d7faec0","hex_latitude":"05afd6a0","is_valid_coordinates":true} 
[2026-07-27 10:21:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:21:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992592896001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:21:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826719236325376,"note":"Value kept but may cause issues"} 
[2026-07-27 10:21:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200502219421949952,"note":"Value kept but may cause issues"} 
[2026-07-27 10:21:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:21:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785127617000,"timestamp_ms":1785127617000,"timestamp_seconds":1785127617,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1e5c1e8"} 
[2026-07-27 10:21:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:21:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 10: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":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-27 10:21: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-07-27 10:21:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:21:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:21:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:21:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:21:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:21:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:21:39] 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-07-27 10:21:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 10:21:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 10:21:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992592896001,"66":25158,"250":206,"85":12544,"24":0,"16":358826719236325376,"45":9200502219421949952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 10:21:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 10:21:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 10:21:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992592896001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:21:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 10:21:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 10:21:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826719236325376,"km_value":358826719236325.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:21:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200502219421949952,"description":"Unknown IO ID 45"} 
[2026-07-27 10:21:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992592896001,"power":25158,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200502219421949952}} 
[2026-07-27 10:21:39] local.INFO: DEBUG: GPS processor result {"connection_id":143889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:21:39] local.INFO: GPS data processed {"connection_id":143889,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:21:39] local.INFO: Acknowledgment sent {"connection_id":143889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:21:40] local.INFO: TCP Data received {"connection_id":145200,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1e7e0e0012d168800071faaa00020005728..."} 
[2026-07-27 10:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145200,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1e7e0e0012d168800071faaa00020005728..."} 
[2026-07-27 10:21:40] local.INFO: Processing buffer {"connection_id":145200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1e7e0e0012d168800071faaa00020005728..."} 
[2026-07-27 10:21:40] local.INFO: Packet analysis {"connection_id":145200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1e7"} 
[2026-07-27 10:21:40] local.INFO: Extracted packet for processing {"connection_id":145200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1e7"} 
[2026-07-27 10:21:40] local.INFO: GPS Element Parsed {"raw_longitude":756451328,"raw_latitude":119515808,"longitude_deg":75.6451328,"latitude_deg":11.9515808,"altitude":32,"angle":87,"satellites":40,"speed":0,"hex_longitude":"2d168800","hex_latitude":"071faaa0","is_valid_coordinates":true} 
[2026-07-27 10:21:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:21:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992700160001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:21:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8789289794011136,"note":"Value kept but may cause issues"} 
[2026-07-27 10:21:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623547696263110656,"note":"Value kept but may cause issues"} 
[2026-07-27 10:21:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:21:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785127756000,"timestamp_ms":1785127756000,"timestamp_seconds":1785127756,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1e7e0e0"} 
[2026-07-27 10:21:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:21:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 10: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-27 10:21:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:21:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:21:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:21:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:21:40] local.INFO: Teltonika packet parsed successfully {"connection_id":145200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:21:40] local.INFO: Passing IMEI to GPS processor {"connection_id":145200,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:21:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":145200,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:21:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:21:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:21:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:21:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992700160001,"66":12385,"131":206,"28":31744,"24":0,"16":8789289794011136,"45":1623547696263110656},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-07-27 10:21:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:21:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:21:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992700160001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:21:40] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-27 10:21:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:21:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8789289794011136,"km_value":8789289794011.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:21:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623547696263110656,"description":"Unknown IO ID 45"} 
[2026-07-27 10:21:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992700160001,"power":12385,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1623547696263110656}} 
[2026-07-27 10:21:40] local.INFO: DEBUG: GPS processor result {"connection_id":145200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552608,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:21:40] local.INFO: GPS data processed {"connection_id":145200,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:21:40] local.INFO: Acknowledgment sent {"connection_id":145200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:21:59] local.INFO: TCP Data received {"connection_id":142769,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 10:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142769,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 10:21:59] local.INFO: Processing buffer {"connection_id":142769,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 10:21:59] local.INFO: IMEI packet received {"connection_id":142769,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 10:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":142769,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:22:10] local.INFO: TCP Data received {"connection_id":143889,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1e5c1e8012d7faec005afd6a0001600ea27..."} 
[2026-07-27 10:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143889,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1e5c1e8012d7faec005afd6a0001600ea27..."} 
[2026-07-27 10:22:10] local.INFO: Processing buffer {"connection_id":143889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1e5c1e8012d7faec005afd6a0001600ea27..."} 
[2026-07-27 10:22:10] local.INFO: Packet analysis {"connection_id":143889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1e5"} 
[2026-07-27 10:22:10] local.INFO: Extracted packet for processing {"connection_id":143889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1e5"} 
[2026-07-27 10:22:10] local.INFO: GPS Element Parsed {"raw_longitude":763342528,"raw_latitude":95409824,"longitude_deg":76.3342528,"latitude_deg":9.5409824,"altitude":22,"angle":234,"satellites":39,"speed":0,"hex_longitude":"2d7faec0","hex_latitude":"05afd6a0","is_valid_coordinates":true} 
[2026-07-27 10:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:22:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992592896001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:22:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826719236325376,"note":"Value kept but may cause issues"} 
[2026-07-27 10:22:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200502219421949952,"note":"Value kept but may cause issues"} 
[2026-07-27 10:22:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:22:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785127617000,"timestamp_ms":1785127617000,"timestamp_seconds":1785127617,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1e5c1e8"} 
[2026-07-27 10:22:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:22:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 10:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-27 10:22:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:22:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:22:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:22:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:22:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:22:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:22:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:22: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-07-27 10:22:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 10:22:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 10:22:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992592896001,"66":25158,"250":206,"85":12544,"24":0,"16":358826719236325376,"45":9200502219421949952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 10:22:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 10:22:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 10:22:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992592896001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:22:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 10:22:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 10:22:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826719236325376,"km_value":358826719236325.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:22:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200502219421949952,"description":"Unknown IO ID 45"} 
[2026-07-27 10:22:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992592896001,"power":25158,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200502219421949952}} 
[2026-07-27 10:22:10] local.INFO: DEBUG: GPS processor result {"connection_id":143889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:22:10] local.INFO: GPS data processed {"connection_id":143889,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:22:10] local.INFO: Acknowledgment sent {"connection_id":143889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:22:11] local.INFO: TCP Data received {"connection_id":145200,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1e832e8012d168800071faaa00020005726..."} 
[2026-07-27 10:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145200,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1e832e8012d168800071faaa00020005726..."} 
[2026-07-27 10:22:11] local.INFO: Processing buffer {"connection_id":145200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1e832e8012d168800071faaa00020005726..."} 
[2026-07-27 10:22:11] local.INFO: Packet analysis {"connection_id":145200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1e8"} 
[2026-07-27 10:22:11] local.INFO: Extracted packet for processing {"connection_id":145200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1e8"} 
[2026-07-27 10:22:11] local.INFO: GPS Element Parsed {"raw_longitude":756451328,"raw_latitude":119515808,"longitude_deg":75.6451328,"latitude_deg":11.9515808,"altitude":32,"angle":87,"satellites":38,"speed":0,"hex_longitude":"2d168800","hex_latitude":"071faaa0","is_valid_coordinates":true} 
[2026-07-27 10:22:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:22:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992705536001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:22:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8789289794011136,"note":"Value kept but may cause issues"} 
[2026-07-27 10:22:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623547696263110656,"note":"Value kept but may cause issues"} 
[2026-07-27 10:22:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:22:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785127777000,"timestamp_ms":1785127777000,"timestamp_seconds":1785127777,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1e832e8"} 
[2026-07-27 10:22:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:22:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 10:22:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-27 10:22:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:22:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:22:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:22:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:22:11] local.INFO: Teltonika packet parsed successfully {"connection_id":145200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:22:11] local.INFO: Passing IMEI to GPS processor {"connection_id":145200,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:22:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":145200,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:22:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:22:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:22:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:22:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992705536001,"66":12385,"131":206,"28":31744,"24":0,"16":8789289794011136,"45":1623547696263110656},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-07-27 10:22:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:22:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:22:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992705536001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:22:11] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-27 10:22:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:22:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8789289794011136,"km_value":8789289794011.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:22:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623547696263110656,"description":"Unknown IO ID 45"} 
[2026-07-27 10:22:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992705536001,"power":12385,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1623547696263110656}} 
[2026-07-27 10:22:12] local.INFO: DEBUG: GPS processor result {"connection_id":145200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552610,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:22:12] local.INFO: GPS data processed {"connection_id":145200,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:22:12] local.INFO: Acknowledgment sent {"connection_id":145200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:22:30] local.INFO: TCP Data received {"connection_id":142896,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142896,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:22:30] local.INFO: Processing buffer {"connection_id":142896,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:22:30] local.INFO: IMEI packet received {"connection_id":142896,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 10:22:30] local.INFO: IMEI acknowledgment sent {"connection_id":142896,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:22:32] local.INFO: TCP Data received {"connection_id":142897,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:22:32] local.INFO: Processing buffer {"connection_id":142897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:22:32] local.INFO: IMEI packet received {"connection_id":142897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 10:22:32] local.INFO: IMEI acknowledgment sent {"connection_id":142897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:22:35] local.INFO: TCP Data received {"connection_id":142896,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142896,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:22:35] local.INFO: Processing buffer {"connection_id":142896,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:22:35] local.INFO: IMEI packet received {"connection_id":142896,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 10:22:35] local.INFO: IMEI acknowledgment sent {"connection_id":142896,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:22:36] local.INFO: TCP Data received {"connection_id":142896,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1e884f0012d168800071faaa00020005728..."} 
[2026-07-27 10:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1e884f0012d168800071faaa00020005728..."} 
[2026-07-27 10:22:36] local.INFO: Processing buffer {"connection_id":142896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1e884f0012d168800071faaa00020005728..."} 
[2026-07-27 10:22:36] local.INFO: Packet analysis {"connection_id":142896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1e8"} 
[2026-07-27 10:22:36] local.INFO: Extracted packet for processing {"connection_id":142896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1e8"} 
[2026-07-27 10:22:36] local.INFO: GPS Element Parsed {"raw_longitude":756451328,"raw_latitude":119515808,"longitude_deg":75.6451328,"latitude_deg":11.9515808,"altitude":32,"angle":87,"satellites":40,"speed":0,"hex_longitude":"2d168800","hex_latitude":"071faaa0","is_valid_coordinates":true} 
[2026-07-27 10:22:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:22:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992710912001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:22:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8789289794011136,"note":"Value kept but may cause issues"} 
[2026-07-27 10:22:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623547696263110656,"note":"Value kept but may cause issues"} 
[2026-07-27 10:22:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:22:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785127798000,"timestamp_ms":1785127798000,"timestamp_seconds":1785127798,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1e884f0"} 
[2026-07-27 10:22:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:22:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 10:22:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-27 10:22:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:22:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:22:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:22:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:22:36] local.INFO: Teltonika packet parsed successfully {"connection_id":142896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:22:36] local.INFO: Passing IMEI to GPS processor {"connection_id":142896,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:22:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":142896,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:22:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:22:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:22:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:22:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992710912001,"66":11558,"131":206,"28":31744,"24":0,"16":8789289794011136,"45":1623547696263110656},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-07-27 10:22:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:22:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:22:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992710912001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:22:36] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-27 10:22:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:22:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8789289794011136,"km_value":8789289794011.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:22:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623547696263110656,"description":"Unknown IO ID 45"} 
[2026-07-27 10:22:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992710912001,"power":11558,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1623547696263110656}} 
[2026-07-27 10:22:36] local.INFO: DEBUG: GPS processor result {"connection_id":142896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552611,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:22:36] local.INFO: GPS data processed {"connection_id":142896,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:22:36] local.INFO: Acknowledgment sent {"connection_id":142896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:22:36] local.INFO: TCP Data received {"connection_id":142897,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:22:36] local.INFO: Processing buffer {"connection_id":142897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:22:36] local.INFO: IMEI packet received {"connection_id":142897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 10:22:36] local.INFO: IMEI acknowledgment sent {"connection_id":142897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:22:37] local.INFO: TCP Data received {"connection_id":142897,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1ea59b0012d7faec005afd6a0000900ea2a..."} 
[2026-07-27 10:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142897,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1ea59b0012d7faec005afd6a0000900ea2a..."} 
[2026-07-27 10:22:37] local.INFO: Processing buffer {"connection_id":142897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1ea59b0012d7faec005afd6a0000900ea2a..."} 
[2026-07-27 10:22:37] local.INFO: Packet analysis {"connection_id":142897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1ea"} 
[2026-07-27 10:22:37] local.INFO: Extracted packet for processing {"connection_id":142897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1ea"} 
[2026-07-27 10:22:37] local.INFO: GPS Element Parsed {"raw_longitude":763342528,"raw_latitude":95409824,"longitude_deg":76.3342528,"latitude_deg":9.5409824,"altitude":9,"angle":234,"satellites":42,"speed":0,"hex_longitude":"2d7faec0","hex_latitude":"05afd6a0","is_valid_coordinates":true} 
[2026-07-27 10:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:22:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992669952001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:22:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826719236325376,"note":"Value kept but may cause issues"} 
[2026-07-27 10:22:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200502219421949952,"note":"Value kept but may cause issues"} 
[2026-07-27 10:22:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:22:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785127918000,"timestamp_ms":1785127918000,"timestamp_seconds":1785127918,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1ea59b0"} 
[2026-07-27 10:22:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:22:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 10:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-27 10:22:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:22:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:22:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:22:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:22:37] local.INFO: Teltonika packet parsed successfully {"connection_id":142897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:22:37] local.INFO: Passing IMEI to GPS processor {"connection_id":142897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:22:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":142897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:22:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:22:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 10:22:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 10:22:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992669952001,"66":25147,"250":206,"85":12544,"24":0,"16":358826719236325376,"45":9200502219421949952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 10:22:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 10:22:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 10:22:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992669952001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:22:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 10:22:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 10:22:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826719236325376,"km_value":358826719236325.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:22:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200502219421949952,"description":"Unknown IO ID 45"} 
[2026-07-27 10:22:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992669952001,"power":25147,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200502219421949952}} 
[2026-07-27 10:22:37] local.INFO: DEBUG: GPS processor result {"connection_id":142897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:22:37] local.INFO: GPS data processed {"connection_id":142897,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:22:37] local.INFO: Acknowledgment sent {"connection_id":142897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:23:08] local.INFO: TCP Data received {"connection_id":142896,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1e8d6f8012d168800071faaa00020005727..."} 
[2026-07-27 10:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1e8d6f8012d168800071faaa00020005727..."} 
[2026-07-27 10:23:08] local.INFO: Processing buffer {"connection_id":142896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1e8d6f8012d168800071faaa00020005727..."} 
[2026-07-27 10:23:08] local.INFO: Packet analysis {"connection_id":142896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1e8"} 
[2026-07-27 10:23:08] local.INFO: Extracted packet for processing {"connection_id":142896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1e8"} 
[2026-07-27 10:23:08] local.INFO: GPS Element Parsed {"raw_longitude":756451328,"raw_latitude":119515808,"longitude_deg":75.6451328,"latitude_deg":11.9515808,"altitude":32,"angle":87,"satellites":39,"speed":0,"hex_longitude":"2d168800","hex_latitude":"071faaa0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 10:23:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992716288001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:23:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8789289794011136,"note":"Value kept but may cause issues"} 
[2026-07-27 10:23:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623547696263110656,"note":"Value kept but may cause issues"} 
[2026-07-27 10:23:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:23:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785127819000,"timestamp_ms":1785127819000,"timestamp_seconds":1785127819,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1e8d6f8"} 
[2026-07-27 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-07-27 10:23:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":45,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-27 10:23:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":765,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 10:23:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:23:08] local.INFO: Teltonika packet parsed successfully {"connection_id":142896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:23:08] local.INFO: Passing IMEI to GPS processor {"connection_id":142896,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:23:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":142896,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:23:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:23:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:23:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:23:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992716288001,"66":11558,"131":206,"28":31744,"24":0,"16":8789289794011136,"45":1623547696263110656},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-07-27 10:23:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:23:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:23:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992716288001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:23:08] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-27 10:23:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:23:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8789289794011136,"km_value":8789289794011.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:23:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623547696263110656,"description":"Unknown IO ID 45"} 
[2026-07-27 10:23:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992716288001,"power":11558,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1623547696263110656}} 
[2026-07-27 10:23:08] local.INFO: DEBUG: GPS processor result {"connection_id":142896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552613,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:23:08] local.INFO: GPS data processed {"connection_id":142896,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:23:08] local.INFO: Acknowledgment sent {"connection_id":142896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:23:08] local.INFO: TCP Data received {"connection_id":142897,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1ea59b0012d7faec005afd6a0000900ea2a..."} 
[2026-07-27 10:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142897,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1ea59b0012d7faec005afd6a0000900ea2a..."} 
[2026-07-27 10:23:08] local.INFO: Processing buffer {"connection_id":142897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1ea59b0012d7faec005afd6a0000900ea2a..."} 
[2026-07-27 10:23:08] local.INFO: Packet analysis {"connection_id":142897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1ea"} 
[2026-07-27 10:23:08] local.INFO: Extracted packet for processing {"connection_id":142897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1ea"} 
[2026-07-27 10:23:08] local.INFO: GPS Element Parsed {"raw_longitude":763342528,"raw_latitude":95409824,"longitude_deg":76.3342528,"latitude_deg":9.5409824,"altitude":9,"angle":234,"satellites":42,"speed":0,"hex_longitude":"2d7faec0","hex_latitude":"05afd6a0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 10:23:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992669952001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:23:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826719236325376,"note":"Value kept but may cause issues"} 
[2026-07-27 10:23:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200502219421949952,"note":"Value kept but may cause issues"} 
[2026-07-27 10:23:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:23:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785127918000,"timestamp_ms":1785127918000,"timestamp_seconds":1785127918,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1ea59b0"} 
[2026-07-27 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-07-27 10:23:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-27 10:23:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 10:23:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:23:08] local.INFO: Teltonika packet parsed successfully {"connection_id":142897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:23:08] local.INFO: Passing IMEI to GPS processor {"connection_id":142897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:23:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":142897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:23:08] 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-07-27 10:23:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 10:23:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 10:23:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992669952001,"66":25147,"250":206,"85":12544,"24":0,"16":358826719236325376,"45":9200502219421949952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 10:23:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 10:23:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 10:23:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992669952001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:23:08] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 10:23:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 10:23:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826719236325376,"km_value":358826719236325.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:23:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200502219421949952,"description":"Unknown IO ID 45"} 
[2026-07-27 10:23:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992669952001,"power":25147,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200502219421949952}} 
[2026-07-27 10:23:08] local.INFO: DEBUG: GPS processor result {"connection_id":142897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:23:08] local.INFO: GPS data processed {"connection_id":142897,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:23:08] local.INFO: Acknowledgment sent {"connection_id":142897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:23:30] local.INFO: TCP Data received {"connection_id":145202,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145202,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:23:30] local.INFO: Processing buffer {"connection_id":145202,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:23:30] local.INFO: IMEI packet received {"connection_id":145202,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 10:23:30] local.INFO: IMEI acknowledgment sent {"connection_id":145202,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:23:32] local.INFO: TCP Data received {"connection_id":142898,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:23:32] local.INFO: Processing buffer {"connection_id":142898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:23:32] local.INFO: IMEI packet received {"connection_id":142898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 10:23:32] local.INFO: IMEI acknowledgment sent {"connection_id":142898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:23:35] local.INFO: TCP Data received {"connection_id":145202,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145202,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:23:35] local.INFO: Processing buffer {"connection_id":145202,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:23:35] local.INFO: IMEI packet received {"connection_id":145202,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 10:23:35] local.INFO: IMEI acknowledgment sent {"connection_id":145202,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:23:36] local.INFO: TCP Data received {"connection_id":145202,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1e92900012d168800071faaa00020005727..."} 
[2026-07-27 10:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1e92900012d168800071faaa00020005727..."} 
[2026-07-27 10:23:37] local.INFO: Processing buffer {"connection_id":145202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1e92900012d168800071faaa00020005727..."} 
[2026-07-27 10:23:37] local.INFO: Packet analysis {"connection_id":145202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1e9"} 
[2026-07-27 10:23:37] local.INFO: Extracted packet for processing {"connection_id":145202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1e9"} 
[2026-07-27 10:23:37] local.INFO: GPS Element Parsed {"raw_longitude":756451328,"raw_latitude":119515808,"longitude_deg":75.6451328,"latitude_deg":11.9515808,"altitude":32,"angle":87,"satellites":39,"speed":0,"hex_longitude":"2d168800","hex_latitude":"071faaa0","is_valid_coordinates":true} 
[2026-07-27 10:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992721664001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8789289794011136,"note":"Value kept but may cause issues"} 
[2026-07-27 10:23:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623547696263110656,"note":"Value kept but may cause issues"} 
[2026-07-27 10:23:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785127840000,"timestamp_ms":1785127840000,"timestamp_seconds":1785127840,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1e92900"} 
[2026-07-27 10:23:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:23:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 10:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-27 10:23:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":765,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:23:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:23:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145202,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145202,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:23:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992721664001,"66":12374,"131":206,"28":31744,"24":0,"16":8789289794011136,"45":1623547696263110656},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-07-27 10:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:23:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:23:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992721664001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:23:37] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-27 10:23:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:23:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8789289794011136,"km_value":8789289794011.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:23:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623547696263110656,"description":"Unknown IO ID 45"} 
[2026-07-27 10:23:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992721664001,"power":12374,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1623547696263110656}} 
[2026-07-27 10:23:37] local.INFO: DEBUG: GPS processor result {"connection_id":145202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552615,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:23:37] local.INFO: GPS data processed {"connection_id":145202,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:23:37] local.INFO: Acknowledgment sent {"connection_id":145202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:23:37] local.INFO: TCP Data received {"connection_id":142898,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:23:37] local.INFO: Processing buffer {"connection_id":142898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:23:37] local.INFO: IMEI packet received {"connection_id":142898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 10:23:37] local.INFO: IMEI acknowledgment sent {"connection_id":142898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:23:38] local.INFO: TCP Data received {"connection_id":142898,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1ea59b0012d7faec005afd6a0000900ea2a..."} 
[2026-07-27 10:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142898,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1ea59b0012d7faec005afd6a0000900ea2a..."} 
[2026-07-27 10:23:38] local.INFO: Processing buffer {"connection_id":142898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1ea59b0012d7faec005afd6a0000900ea2a..."} 
[2026-07-27 10:23:38] local.INFO: Packet analysis {"connection_id":142898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1ea"} 
[2026-07-27 10:23:38] local.INFO: Extracted packet for processing {"connection_id":142898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1ea"} 
[2026-07-27 10:23:38] local.INFO: GPS Element Parsed {"raw_longitude":763342528,"raw_latitude":95409824,"longitude_deg":76.3342528,"latitude_deg":9.5409824,"altitude":9,"angle":234,"satellites":42,"speed":0,"hex_longitude":"2d7faec0","hex_latitude":"05afd6a0","is_valid_coordinates":true} 
[2026-07-27 10:23:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:23:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992669952001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:23:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826719236325376,"note":"Value kept but may cause issues"} 
[2026-07-27 10:23:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200502219421949952,"note":"Value kept but may cause issues"} 
[2026-07-27 10:23:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:23:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785127918000,"timestamp_ms":1785127918000,"timestamp_seconds":1785127918,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1ea59b0"} 
[2026-07-27 10:23:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:23:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 10:23:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-27 10:23:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:23:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:23:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:23:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:23:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:23:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:23:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:23:38] 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-07-27 10:23:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 10:23:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 10:23:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992669952001,"66":25147,"250":206,"85":12544,"24":0,"16":358826719236325376,"45":9200502219421949952},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 10:23:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 10:23:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 10:23:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992669952001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:23:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 10:23:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 10:23:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826719236325376,"km_value":358826719236325.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:23:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200502219421949952,"description":"Unknown IO ID 45"} 
[2026-07-27 10:23:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992669952001,"power":25147,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200502219421949952}} 
[2026-07-27 10:23:38] local.INFO: DEBUG: GPS processor result {"connection_id":142898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:23:38] local.INFO: GPS data processed {"connection_id":142898,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:23:38] local.INFO: Acknowledgment sent {"connection_id":142898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:24:08] local.INFO: TCP Data received {"connection_id":145202,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1e97b08012d168800071faaa00020005728..."} 
[2026-07-27 10:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1e97b08012d168800071faaa00020005728..."} 
[2026-07-27 10:24:08] local.INFO: Processing buffer {"connection_id":145202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1e97b08012d168800071faaa00020005728..."} 
[2026-07-27 10:24:08] local.INFO: Packet analysis {"connection_id":145202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1e9"} 
[2026-07-27 10:24:08] local.INFO: Extracted packet for processing {"connection_id":145202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1e9"} 
[2026-07-27 10:24:08] local.INFO: GPS Element Parsed {"raw_longitude":756451328,"raw_latitude":119515808,"longitude_deg":75.6451328,"latitude_deg":11.9515808,"altitude":32,"angle":87,"satellites":40,"speed":0,"hex_longitude":"2d168800","hex_latitude":"071faaa0","is_valid_coordinates":true} 
[2026-07-27 10:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:24:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992727040001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:24:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8789289794011136,"note":"Value kept but may cause issues"} 
[2026-07-27 10:24:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623547696263110656,"note":"Value kept but may cause issues"} 
[2026-07-27 10:24:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:24:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785127861000,"timestamp_ms":1785127861000,"timestamp_seconds":1785127861,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1e97b08"} 
[2026-07-27 10:24:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:24:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 10:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-27 10:24:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:24:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:24:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:24:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:24:08] local.INFO: Teltonika packet parsed successfully {"connection_id":145202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:24:08] local.INFO: Passing IMEI to GPS processor {"connection_id":145202,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:24:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":145202,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:24:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:24:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:24:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:24:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992727040001,"66":12341,"131":206,"28":31744,"24":0,"16":8789289794011136,"45":1623547696263110656},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-07-27 10:24:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:24:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:24:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992727040001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:24:08] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-27 10:24:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:24:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8789289794011136,"km_value":8789289794011.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:24:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623547696263110656,"description":"Unknown IO ID 45"} 
[2026-07-27 10:24:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992727040001,"power":12341,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1623547696263110656}} 
[2026-07-27 10:24:08] local.INFO: DEBUG: GPS processor result {"connection_id":145202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552617,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:24:08] local.INFO: GPS data processed {"connection_id":145202,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:24:08] local.INFO: Acknowledgment sent {"connection_id":145202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:24:09] local.INFO: TCP Data received {"connection_id":142898,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1ea59b0012d7faec005afd6a0000900ea2a..."} 
[2026-07-27 10:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142898,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1ea59b0012d7faec005afd6a0000900ea2a..."} 
[2026-07-27 10:24:09] local.INFO: Processing buffer {"connection_id":142898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1ea59b0012d7faec005afd6a0000900ea2a..."} 
[2026-07-27 10:24:09] local.INFO: Packet analysis {"connection_id":142898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1ea"} 
[2026-07-27 10:24:09] local.INFO: Extracted packet for processing {"connection_id":142898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1ea"} 
[2026-07-27 10:24:09] local.INFO: GPS Element Parsed {"raw_longitude":763342528,"raw_latitude":95409824,"longitude_deg":76.3342528,"latitude_deg":9.5409824,"altitude":9,"angle":234,"satellites":42,"speed":0,"hex_longitude":"2d7faec0","hex_latitude":"05afd6a0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 10:24:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992669952001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:24:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826719236325376,"note":"Value kept but may cause issues"} 
[2026-07-27 10:24:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200502219421949952,"note":"Value kept but may cause issues"} 
[2026-07-27 10:24:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:24:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785127918000,"timestamp_ms":1785127918000,"timestamp_seconds":1785127918,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1ea59b0"} 
[2026-07-27 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-07-27 10:24:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-27 10:24:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 10:24:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:24:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:24:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:24:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:24: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-07-27 10:24:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 10:24:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 10:24:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992669952001,"66":25147,"250":206,"85":12544,"24":0,"16":358826719236325376,"45":9200502219421949952},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 10:24:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 10:24:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 10:24:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992669952001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:24:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 10:24:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 10:24:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826719236325376,"km_value":358826719236325.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:24:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200502219421949952,"description":"Unknown IO ID 45"} 
[2026-07-27 10:24:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992669952001,"power":25147,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200502219421949952}} 
[2026-07-27 10:24:09] local.INFO: DEBUG: GPS processor result {"connection_id":142898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:24:09] local.INFO: GPS data processed {"connection_id":142898,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:24:09] local.INFO: Acknowledgment sent {"connection_id":142898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:24:30] local.INFO: TCP Data received {"connection_id":143890,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143890,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:24:30] local.INFO: Processing buffer {"connection_id":143890,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:24:30] local.INFO: IMEI packet received {"connection_id":143890,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 10:24:30] local.INFO: IMEI acknowledgment sent {"connection_id":143890,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:24:34] local.INFO: TCP Data received {"connection_id":143890,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143890,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:24:34] local.INFO: Processing buffer {"connection_id":143890,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:24:34] local.INFO: IMEI packet received {"connection_id":143890,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 10:24:34] local.INFO: IMEI acknowledgment sent {"connection_id":143890,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:24:35] local.INFO: TCP Data received {"connection_id":143890,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1e9cd10012d168800071faaa00020005726..."} 
[2026-07-27 10:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1e9cd10012d168800071faaa00020005726..."} 
[2026-07-27 10:24:35] local.INFO: Processing buffer {"connection_id":143890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1e9cd10012d168800071faaa00020005726..."} 
[2026-07-27 10:24:35] local.INFO: Packet analysis {"connection_id":143890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1e9"} 
[2026-07-27 10:24:35] local.INFO: Extracted packet for processing {"connection_id":143890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1e9"} 
[2026-07-27 10:24:35] local.INFO: GPS Element Parsed {"raw_longitude":756451328,"raw_latitude":119515808,"longitude_deg":75.6451328,"latitude_deg":11.9515808,"altitude":32,"angle":87,"satellites":38,"speed":0,"hex_longitude":"2d168800","hex_latitude":"071faaa0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 10:24:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992732416001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:24:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8789289794011136,"note":"Value kept but may cause issues"} 
[2026-07-27 10:24:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623547696263110656,"note":"Value kept but may cause issues"} 
[2026-07-27 10:24:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:24:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785127882000,"timestamp_ms":1785127882000,"timestamp_seconds":1785127882,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1e9cd10"} 
[2026-07-27 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-07-27 10:24:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 10:24:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 10:24:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:24:35] local.INFO: Teltonika packet parsed successfully {"connection_id":143890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:24:35] local.INFO: Passing IMEI to GPS processor {"connection_id":143890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:24:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":143890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:24:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:24:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:24:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:24:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992732416001,"66":12341,"131":206,"28":31744,"24":0,"16":8789289794011136,"45":1623547696263110656},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-07-27 10:24:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:24:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:24:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992732416001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:24:35] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-27 10:24:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:24:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8789289794011136,"km_value":8789289794011.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:24:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623547696263110656,"description":"Unknown IO ID 45"} 
[2026-07-27 10:24:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992732416001,"power":12341,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1623547696263110656}} 
[2026-07-27 10:24:35] local.INFO: DEBUG: GPS processor result {"connection_id":143890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552619,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:24:35] local.INFO: GPS data processed {"connection_id":143890,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:24:35] local.INFO: Acknowledgment sent {"connection_id":143890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:24:37] local.INFO: TCP Data received {"connection_id":143891,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:24:37] local.INFO: Processing buffer {"connection_id":143891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:24:37] local.INFO: IMEI packet received {"connection_id":143891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 10:24:37] local.INFO: IMEI acknowledgment sent {"connection_id":143891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:24:42] local.INFO: TCP Data received {"connection_id":143891,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:24:42] local.INFO: Processing buffer {"connection_id":143891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:24:42] local.INFO: IMEI packet received {"connection_id":143891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 10:24:42] local.INFO: IMEI acknowledgment sent {"connection_id":143891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:24:44] local.INFO: TCP Data received {"connection_id":143891,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1ea59b0012d7faec005afd6a0000900ea2a..."} 
[2026-07-27 10:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143891,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1ea59b0012d7faec005afd6a0000900ea2a..."} 
[2026-07-27 10:24:44] local.INFO: Processing buffer {"connection_id":143891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1ea59b0012d7faec005afd6a0000900ea2a..."} 
[2026-07-27 10:24:44] local.INFO: Packet analysis {"connection_id":143891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1ea"} 
[2026-07-27 10:24:44] local.INFO: Extracted packet for processing {"connection_id":143891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1ea"} 
[2026-07-27 10:24:44] local.INFO: GPS Element Parsed {"raw_longitude":763342528,"raw_latitude":95409824,"longitude_deg":76.3342528,"latitude_deg":9.5409824,"altitude":9,"angle":234,"satellites":42,"speed":0,"hex_longitude":"2d7faec0","hex_latitude":"05afd6a0","is_valid_coordinates":true} 
[2026-07-27 10:24:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:24:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992669952001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:24:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826719236325376,"note":"Value kept but may cause issues"} 
[2026-07-27 10:24:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200502219421949952,"note":"Value kept but may cause issues"} 
[2026-07-27 10:24:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:24:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785127918000,"timestamp_ms":1785127918000,"timestamp_seconds":1785127918,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1ea59b0"} 
[2026-07-27 10:24:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:24:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 10:24:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-27 10:24:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:24:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:24:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:24:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:24:44] local.INFO: Teltonika packet parsed successfully {"connection_id":143891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:24:44] local.INFO: Passing IMEI to GPS processor {"connection_id":143891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:24:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":143891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:24: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-07-27 10:24:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 10:24:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 10:24:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992669952001,"66":25147,"250":206,"85":12544,"24":0,"16":358826719236325376,"45":9200502219421949952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 10:24:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 10:24:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 10:24:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992669952001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:24:44] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 10:24:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 10:24:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826719236325376,"km_value":358826719236325.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:24:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200502219421949952,"description":"Unknown IO ID 45"} 
[2026-07-27 10:24:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992669952001,"power":25147,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200502219421949952}} 
[2026-07-27 10:24:44] local.INFO: DEBUG: GPS processor result {"connection_id":143891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:24:44] local.INFO: GPS data processed {"connection_id":143891,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:24:44] local.INFO: Acknowledgment sent {"connection_id":143891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:24:48] local.INFO: TCP Data received {"connection_id":143891,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1ea59b0012d7faec005afd6a0000900ea2a..."} 
[2026-07-27 10:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143891,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1ea59b0012d7faec005afd6a0000900ea2a..."} 
[2026-07-27 10:24:48] local.INFO: Processing buffer {"connection_id":143891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1ea59b0012d7faec005afd6a0000900ea2a..."} 
[2026-07-27 10:24:48] local.INFO: Packet analysis {"connection_id":143891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1ea"} 
[2026-07-27 10:24:48] local.INFO: Extracted packet for processing {"connection_id":143891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1ea"} 
[2026-07-27 10:24:48] local.INFO: GPS Element Parsed {"raw_longitude":763342528,"raw_latitude":95409824,"longitude_deg":76.3342528,"latitude_deg":9.5409824,"altitude":9,"angle":234,"satellites":42,"speed":0,"hex_longitude":"2d7faec0","hex_latitude":"05afd6a0","is_valid_coordinates":true} 
[2026-07-27 10: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-07-27 10:24:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992669952001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:24:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826719236325376,"note":"Value kept but may cause issues"} 
[2026-07-27 10:24:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200502219421949952,"note":"Value kept but may cause issues"} 
[2026-07-27 10:24:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:24:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785127918000,"timestamp_ms":1785127918000,"timestamp_seconds":1785127918,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1ea59b0"} 
[2026-07-27 10:24:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:24:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 10: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-27 10:24:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10: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-07-27 10:24:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:24:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:24:48] local.INFO: Teltonika packet parsed successfully {"connection_id":143891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:24:48] local.INFO: Passing IMEI to GPS processor {"connection_id":143891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:24:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":143891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:24:48] 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-07-27 10:24:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 10:24:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 10:24:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992669952001,"66":25147,"250":206,"85":12544,"24":0,"16":358826719236325376,"45":9200502219421949952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 10:24:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 10:24:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 10:24:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992669952001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:24:48] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 10:24:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 10:24:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826719236325376,"km_value":358826719236325.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:24:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200502219421949952,"description":"Unknown IO ID 45"} 
[2026-07-27 10:24:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992669952001,"power":25147,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200502219421949952}} 
[2026-07-27 10:24:48] local.INFO: DEBUG: GPS processor result {"connection_id":143891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:24:48] local.INFO: GPS data processed {"connection_id":143891,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:24:48] local.INFO: Acknowledgment sent {"connection_id":143891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:25:07] local.INFO: TCP Data received {"connection_id":143890,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1ec3640012d1686c0071fa960001f011126..."} 
[2026-07-27 10:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1ec3640012d1686c0071fa960001f011126..."} 
[2026-07-27 10:25:07] local.INFO: Processing buffer {"connection_id":143890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1ec3640012d1686c0071fa960001f011126..."} 
[2026-07-27 10:25:07] local.INFO: Packet analysis {"connection_id":143890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1ec"} 
[2026-07-27 10:25:07] local.INFO: Extracted packet for processing {"connection_id":143890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1ec"} 
[2026-07-27 10:25:07] local.INFO: GPS Element Parsed {"raw_longitude":756451008,"raw_latitude":119515488,"longitude_deg":75.6451008,"latitude_deg":11.9515488,"altitude":31,"angle":273,"satellites":38,"speed":5,"hex_longitude":"2d1686c0","hex_latitude":"071fa960","is_valid_coordinates":true} 
[2026-07-27 10:25:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:25:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992777984001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:25:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8789319858782208,"note":"Value kept but may cause issues"} 
[2026-07-27 10:25:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623336590030499840,"note":"Value kept but may cause issues"} 
[2026-07-27 10:25:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:25:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785128040000,"timestamp_ms":1785128040000,"timestamp_seconds":1785128040,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1ec3640"} 
[2026-07-27 10:25:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:25:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 10:25:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-27 10:25:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2183,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:25:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:25:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:25:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:25:07] local.INFO: Teltonika packet parsed successfully {"connection_id":143890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:25:07] local.INFO: Passing IMEI to GPS processor {"connection_id":143890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:25:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":143890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:25:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:25:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:25:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:25:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992777984001,"66":11971,"131":206,"28":31744,"24":5,"16":8789319858782208,"45":1623336590030499840},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-07-27 10:25:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:25:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:25:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992777984001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:25:07] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-27 10:25:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:25:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8789319858782208,"km_value":8789319858782.208,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:25:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623336590030499840,"description":"Unknown IO ID 45"} 
[2026-07-27 10:25:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992777984001,"power":11971,"unknown_131":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1623336590030499840}} 
[2026-07-27 10:25:07] local.INFO: DEBUG: GPS processor result {"connection_id":143890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552622,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:25:07] local.INFO: GPS data processed {"connection_id":143890,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:25:07] local.INFO: Acknowledgment sent {"connection_id":143890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:25:30] local.INFO: TCP Data received {"connection_id":145203,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145203,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:25:30] local.INFO: Processing buffer {"connection_id":145203,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:25:30] local.INFO: IMEI packet received {"connection_id":145203,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 10:25:30] local.INFO: IMEI acknowledgment sent {"connection_id":145203,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:25:32] local.INFO: TCP Data received {"connection_id":142899,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:25:32] local.INFO: Processing buffer {"connection_id":142899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:25:32] local.INFO: IMEI packet received {"connection_id":142899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 10:25:32] local.INFO: IMEI acknowledgment sent {"connection_id":142899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:25:35] local.INFO: TCP Data received {"connection_id":145203,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145203,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:25:35] local.INFO: Processing buffer {"connection_id":145203,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:25:35] local.INFO: IMEI packet received {"connection_id":145203,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 10:25:35] local.INFO: IMEI acknowledgment sent {"connection_id":145203,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:25:36] local.INFO: TCP Data received {"connection_id":145203,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1ec41f8012d168640071fa980001f012029..."} 
[2026-07-27 10:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145203,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1ec41f8012d168640071fa980001f012029..."} 
[2026-07-27 10:25:36] local.INFO: Processing buffer {"connection_id":145203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1ec41f8012d168640071fa980001f012029..."} 
[2026-07-27 10:25:36] local.INFO: Packet analysis {"connection_id":145203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1ec"} 
[2026-07-27 10:25:36] local.INFO: Extracted packet for processing {"connection_id":145203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1ec"} 
[2026-07-27 10:25:36] local.INFO: GPS Element Parsed {"raw_longitude":756450880,"raw_latitude":119515520,"longitude_deg":75.645088,"latitude_deg":11.951552,"altitude":31,"angle":288,"satellites":41,"speed":0,"hex_longitude":"2d168640","hex_latitude":"071fa980","is_valid_coordinates":true} 
[2026-07-27 10:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:25:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992778240001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:25:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8789328448716800,"note":"Value kept but may cause issues"} 
[2026-07-27 10:25:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623195852542140416,"note":"Value kept but may cause issues"} 
[2026-07-27 10:25:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:25:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785128043000,"timestamp_ms":1785128043000,"timestamp_seconds":1785128043,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1ec41f8"} 
[2026-07-27 10:25:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:25:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 10:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-27 10:25:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2183,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:25:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:25:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:25:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:25:36] local.INFO: Teltonika packet parsed successfully {"connection_id":145203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:25:36] local.INFO: Passing IMEI to GPS processor {"connection_id":145203,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:25:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":145203,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:25:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:25:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:25:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:25:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992778240001,"66":12461,"131":206,"28":31744,"24":0,"16":8789328448716800,"45":1623195852542140416},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-07-27 10:25:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:25:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:25:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992778240001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:25:36] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-27 10:25:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:25:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8789328448716800,"km_value":8789328448716.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:25:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623195852542140416,"description":"Unknown IO ID 45"} 
[2026-07-27 10:25:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992778240001,"power":12461,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1623195852542140416}} 
[2026-07-27 10:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":145203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552623,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:25:37] local.INFO: GPS data processed {"connection_id":145203,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:25:37] local.INFO: Acknowledgment sent {"connection_id":145203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:25:37] local.INFO: TCP Data received {"connection_id":142899,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:25:37] local.INFO: Processing buffer {"connection_id":142899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:25:37] local.INFO: IMEI packet received {"connection_id":142899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 10:25:37] local.INFO: IMEI acknowledgment sent {"connection_id":142899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:25:38] local.INFO: TCP Data received {"connection_id":142899,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1ecd280012d7faec005afd6a0001100ea2a..."} 
[2026-07-27 10:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1ecd280012d7faec005afd6a0001100ea2a..."} 
[2026-07-27 10:25:38] local.INFO: Processing buffer {"connection_id":142899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1ecd280012d7faec005afd6a0001100ea2a..."} 
[2026-07-27 10:25:38] local.INFO: Packet analysis {"connection_id":142899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1ec"} 
[2026-07-27 10:25:38] local.INFO: Extracted packet for processing {"connection_id":142899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1ec"} 
[2026-07-27 10:25:38] local.INFO: GPS Element Parsed {"raw_longitude":763342528,"raw_latitude":95409824,"longitude_deg":76.3342528,"latitude_deg":9.5409824,"altitude":17,"angle":234,"satellites":42,"speed":0,"hex_longitude":"2d7faec0","hex_latitude":"05afd6a0","is_valid_coordinates":true} 
[2026-07-27 10:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:25:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992747008001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:25:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826719236325376,"note":"Value kept but may cause issues"} 
[2026-07-27 10:25:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200502219421949952,"note":"Value kept but may cause issues"} 
[2026-07-27 10:25:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:25:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785128080000,"timestamp_ms":1785128080000,"timestamp_seconds":1785128080,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1ecd280"} 
[2026-07-27 10:25:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:25:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 10:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-07-27 10:25:38] 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-07-27 10:25:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:25:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:25:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:25:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:25:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:25:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:25:38] 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-07-27 10:25:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 10:25:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 10:25:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992747008001,"66":25321,"250":206,"85":12544,"24":0,"16":358826719236325376,"45":9200502219421949952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 10:25:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 10:25:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 10:25:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992747008001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:25:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 10:25:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 10:25:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826719236325376,"km_value":358826719236325.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:25:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200502219421949952,"description":"Unknown IO ID 45"} 
[2026-07-27 10:25:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992747008001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200502219421949952}} 
[2026-07-27 10:25:38] local.INFO: DEBUG: GPS processor result {"connection_id":142899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:25:38] local.INFO: GPS data processed {"connection_id":142899,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:25:38] local.INFO: Acknowledgment sent {"connection_id":142899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:26:08] local.INFO: TCP Data received {"connection_id":145203,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1ec9400012d168640071fa998001f012027..."} 
[2026-07-27 10:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145203,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1ec9400012d168640071fa998001f012027..."} 
[2026-07-27 10:26:08] local.INFO: Processing buffer {"connection_id":145203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1ec9400012d168640071fa998001f012027..."} 
[2026-07-27 10:26:08] local.INFO: Packet analysis {"connection_id":145203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1ec"} 
[2026-07-27 10:26:08] local.INFO: Extracted packet for processing {"connection_id":145203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1ec"} 
[2026-07-27 10:26:08] local.INFO: GPS Element Parsed {"raw_longitude":756450880,"raw_latitude":119515544,"longitude_deg":75.645088,"latitude_deg":11.9515544,"altitude":31,"angle":288,"satellites":39,"speed":0,"hex_longitude":"2d168640","hex_latitude":"071fa998","is_valid_coordinates":true} 
[2026-07-27 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-07-27 10:26:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992779008001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:26:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8789328448716800,"note":"Value kept but may cause issues"} 
[2026-07-27 10:26:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623055115053793280,"note":"Value kept but may cause issues"} 
[2026-07-27 10:26:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:26:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785128064000,"timestamp_ms":1785128064000,"timestamp_seconds":1785128064,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1ec9400"} 
[2026-07-27 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-07-27 10:26:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-27 10:26: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-07-27 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-07-27 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-07-27 10:26:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:26:08] local.INFO: Teltonika packet parsed successfully {"connection_id":145203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:26:08] local.INFO: Passing IMEI to GPS processor {"connection_id":145203,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:26:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":145203,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:26:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:26:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:26:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:26:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992779008001,"66":12504,"131":206,"28":31744,"24":0,"16":8789328448716800,"45":1623055115053793280},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-07-27 10:26:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:26:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:26:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992779008001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:26:08] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-27 10:26:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:26:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8789328448716800,"km_value":8789328448716.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:26:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623055115053793280,"description":"Unknown IO ID 45"} 
[2026-07-27 10:26:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992779008001,"power":12504,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1623055115053793280}} 
[2026-07-27 10:26:08] local.INFO: DEBUG: GPS processor result {"connection_id":145203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552625,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:26:08] local.INFO: GPS data processed {"connection_id":145203,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:26:08] local.INFO: Acknowledgment sent {"connection_id":145203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:26:10] local.INFO: TCP Data received {"connection_id":142899,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1ece608012d7faf4005afd6e00011005e2b..."} 
[2026-07-27 10:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1ece608012d7faf4005afd6e00011005e2b..."} 
[2026-07-27 10:26:10] local.INFO: Processing buffer {"connection_id":142899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1ece608012d7faf4005afd6e00011005e2b..."} 
[2026-07-27 10:26:10] local.INFO: Packet analysis {"connection_id":142899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1ec"} 
[2026-07-27 10:26:10] local.INFO: Extracted packet for processing {"connection_id":142899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1ec"} 
[2026-07-27 10:26:10] local.INFO: GPS Element Parsed {"raw_longitude":763342656,"raw_latitude":95409888,"longitude_deg":76.3342656,"latitude_deg":9.5409888,"altitude":17,"angle":94,"satellites":43,"speed":0,"hex_longitude":"2d7faf40","hex_latitude":"05afd6e0","is_valid_coordinates":true} 
[2026-07-27 10:26:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:26:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992788480001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:26:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826719236325376,"note":"Value kept but may cause issues"} 
[2026-07-27 10:26:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200502219421949952,"note":"Value kept but may cause issues"} 
[2026-07-27 10:26:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:26:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785128085000,"timestamp_ms":1785128085000,"timestamp_seconds":1785128085,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1ece608"} 
[2026-07-27 10:26:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:26:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 10: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":233,"data_length":795,"current_offset":136} 
[2026-07-27 10:26:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:26:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:26:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:26:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:26:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:26:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:26:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10: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-07-27 10:26:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 10:26:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 10:26:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992788480001,"66":27767,"250":206,"85":12544,"24":0,"16":358826719236325376,"45":9200502219421949952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 10:26:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 10:26:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 10:26:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992788480001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:26:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 10:26:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 10:26:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826719236325376,"km_value":358826719236325.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:26:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200502219421949952,"description":"Unknown IO ID 45"} 
[2026-07-27 10:26:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992788480001,"power":27767,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200502219421949952}} 
[2026-07-27 10:26:10] local.INFO: DEBUG: GPS processor result {"connection_id":142899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:26:10] local.INFO: GPS data processed {"connection_id":142899,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:26:10] local.INFO: Acknowledgment sent {"connection_id":142899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:26:31] local.INFO: TCP Data received {"connection_id":143892,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143892,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:26:31] local.INFO: Processing buffer {"connection_id":143892,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:26:31] local.INFO: IMEI packet received {"connection_id":143892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 10:26:31] local.INFO: IMEI acknowledgment sent {"connection_id":143892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:26:32] local.INFO: TCP Data received {"connection_id":143892,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143892,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:26:32] local.INFO: Processing buffer {"connection_id":143892,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:26:32] local.INFO: IMEI packet received {"connection_id":143892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 10:26:32] local.INFO: IMEI acknowledgment sent {"connection_id":143892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:26:33] local.INFO: TCP Data received {"connection_id":143892,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143892,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:26:33] local.INFO: Processing buffer {"connection_id":143892,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:26:33] local.INFO: IMEI packet received {"connection_id":143892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 10:26:33] local.INFO: IMEI acknowledgment sent {"connection_id":143892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:26:34] local.INFO: TCP Data received {"connection_id":143892,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143892,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:26:34] local.INFO: Processing buffer {"connection_id":143892,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:26:34] local.INFO: IMEI packet received {"connection_id":143892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 10:26:34] local.INFO: IMEI acknowledgment sent {"connection_id":143892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:26:35] local.INFO: TCP Data received {"connection_id":143893,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143893,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:26:35] local.INFO: Processing buffer {"connection_id":143893,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:26:35] local.INFO: IMEI packet received {"connection_id":143893,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 10:26:35] local.INFO: IMEI acknowledgment sent {"connection_id":143893,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:26:40] local.INFO: TCP Data received {"connection_id":143893,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143893,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:26:40] local.INFO: Processing buffer {"connection_id":143893,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:26:40] local.INFO: IMEI packet received {"connection_id":143893,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 10:26:40] local.INFO: IMEI acknowledgment sent {"connection_id":143893,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:26:41] local.INFO: TCP Data received {"connection_id":143893,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1ece608012d168640071fa998001f012021..."} 
[2026-07-27 10:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143893,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1ece608012d168640071fa998001f012021..."} 
[2026-07-27 10:26:41] local.INFO: Processing buffer {"connection_id":143893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1ece608012d168640071fa998001f012021..."} 
[2026-07-27 10:26:41] local.INFO: Packet analysis {"connection_id":143893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1ec"} 
[2026-07-27 10:26:41] local.INFO: Extracted packet for processing {"connection_id":143893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1ec"} 
[2026-07-27 10:26:41] local.INFO: GPS Element Parsed {"raw_longitude":756450880,"raw_latitude":119515544,"longitude_deg":75.645088,"latitude_deg":11.9515544,"altitude":31,"angle":288,"satellites":33,"speed":0,"hex_longitude":"2d168640","hex_latitude":"071fa998","is_valid_coordinates":true} 
[2026-07-27 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-07-27 10:26:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992784384001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:26:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8789328448716800,"note":"Value kept but may cause issues"} 
[2026-07-27 10:26:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623055115053799424,"note":"Value kept but may cause issues"} 
[2026-07-27 10:26:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:26:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785128085000,"timestamp_ms":1785128085000,"timestamp_seconds":1785128085,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1ece608"} 
[2026-07-27 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-07-27 10:26:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-27 10:26:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 10:26:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:26:41] local.INFO: Teltonika packet parsed successfully {"connection_id":143893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:26:41] local.INFO: Passing IMEI to GPS processor {"connection_id":143893,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:26:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":143893,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:26:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:26:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:26:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:26:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992784384001,"66":12504,"131":206,"28":31744,"24":0,"16":8789328448716800,"45":1623055115053799424},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-07-27 10:26:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:26:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:26:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992784384001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:26:41] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-27 10:26:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:26:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8789328448716800,"km_value":8789328448716.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:26:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623055115053799424,"description":"Unknown IO ID 45"} 
[2026-07-27 10:26:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992784384001,"power":12504,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1623055115053799424}} 
[2026-07-27 10:26:41] local.INFO: DEBUG: GPS processor result {"connection_id":143893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552627,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:26:41] local.INFO: GPS data processed {"connection_id":143893,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:26:41] local.INFO: Acknowledgment sent {"connection_id":143893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:26:45] local.INFO: TCP Data received {"connection_id":143893,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1ed3810012d168640071fa998001f012025..."} 
[2026-07-27 10:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143893,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1ed3810012d168640071fa998001f012025..."} 
[2026-07-27 10:26:45] local.INFO: Processing buffer {"connection_id":143893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1ed3810012d168640071fa998001f012025..."} 
[2026-07-27 10:26:45] local.INFO: Packet analysis {"connection_id":143893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1ed"} 
[2026-07-27 10:26:45] local.INFO: Extracted packet for processing {"connection_id":143893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1ed"} 
[2026-07-27 10:26:45] local.INFO: GPS Element Parsed {"raw_longitude":756450880,"raw_latitude":119515544,"longitude_deg":75.645088,"latitude_deg":11.9515544,"altitude":31,"angle":288,"satellites":37,"speed":0,"hex_longitude":"2d168640","hex_latitude":"071fa998","is_valid_coordinates":true} 
[2026-07-27 10: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-07-27 10:26:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992789760001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:26:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8789328448716800,"note":"Value kept but may cause issues"} 
[2026-07-27 10:26:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623055115053799424,"note":"Value kept but may cause issues"} 
[2026-07-27 10:26:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:26:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785128106000,"timestamp_ms":1785128106000,"timestamp_seconds":1785128106,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1ed3810"} 
[2026-07-27 10:26:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:26:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 10:26:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-27 10:26:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10: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-07-27 10:26:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:26:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:26:45] local.INFO: Teltonika packet parsed successfully {"connection_id":143893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:26:45] local.INFO: Passing IMEI to GPS processor {"connection_id":143893,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:26:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":143893,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:26:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:26:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:26:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:26:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992789760001,"66":12439,"131":206,"28":31744,"24":0,"16":8789328448716800,"45":1623055115053799424},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-07-27 10:26:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:26:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:26:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992789760001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:26:45] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-27 10:26:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:26:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8789328448716800,"km_value":8789328448716.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:26:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623055115053799424,"description":"Unknown IO ID 45"} 
[2026-07-27 10:26:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992789760001,"power":12439,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1623055115053799424}} 
[2026-07-27 10:26:45] local.INFO: DEBUG: GPS processor result {"connection_id":143893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552628,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:26:45] local.INFO: GPS data processed {"connection_id":143893,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:26:45] local.INFO: Acknowledgment sent {"connection_id":143893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:27:29] local.INFO: TCP Data received {"connection_id":142770,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142770,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:27:29] local.INFO: Processing buffer {"connection_id":142770,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:27:29] local.INFO: IMEI packet received {"connection_id":142770,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 10:27:29] local.INFO: IMEI acknowledgment sent {"connection_id":142770,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:27:29] local.INFO: TCP Data received {"connection_id":142770,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142770,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:27:30] local.INFO: Processing buffer {"connection_id":142770,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:27:30] local.INFO: IMEI packet received {"connection_id":142770,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 10:27:30] local.INFO: IMEI acknowledgment sent {"connection_id":142770,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:27:35] local.INFO: TCP Data received {"connection_id":142770,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142770,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:27:35] local.INFO: Processing buffer {"connection_id":142770,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:27:35] local.INFO: IMEI packet received {"connection_id":142770,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 10:27:35] local.INFO: IMEI acknowledgment sent {"connection_id":142770,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:27:36] local.INFO: TCP Data received {"connection_id":142770,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1ed8a18012d168640071fa998001f012025..."} 
[2026-07-27 10:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1ed8a18012d168640071fa998001f012025..."} 
[2026-07-27 10:27:36] local.INFO: Processing buffer {"connection_id":142770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1ed8a18012d168640071fa998001f012025..."} 
[2026-07-27 10:27:36] local.INFO: Packet analysis {"connection_id":142770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1ed"} 
[2026-07-27 10:27:36] local.INFO: Extracted packet for processing {"connection_id":142770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1ed"} 
[2026-07-27 10:27:36] local.INFO: GPS Element Parsed {"raw_longitude":756450880,"raw_latitude":119515544,"longitude_deg":75.645088,"latitude_deg":11.9515544,"altitude":31,"angle":288,"satellites":37,"speed":0,"hex_longitude":"2d168640","hex_latitude":"071fa998","is_valid_coordinates":true} 
[2026-07-27 10:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:27:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992795136001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:27:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8789328448716800,"note":"Value kept but may cause issues"} 
[2026-07-27 10:27:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623055115053799424,"note":"Value kept but may cause issues"} 
[2026-07-27 10:27:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:27:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785128127000,"timestamp_ms":1785128127000,"timestamp_seconds":1785128127,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1ed8a18"} 
[2026-07-27 10:27:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:27:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 10:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-27 10:27:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:27:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:27:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:27:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:27:36] local.INFO: Teltonika packet parsed successfully {"connection_id":142770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:27:36] local.INFO: Passing IMEI to GPS processor {"connection_id":142770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:27:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":142770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:27:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:27:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:27:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:27:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992795136001,"66":12428,"131":206,"28":31744,"24":0,"16":8789328448716800,"45":1623055115053799424},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-07-27 10:27:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:27:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:27:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992795136001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:27:36] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-27 10:27:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:27:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8789328448716800,"km_value":8789328448716.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:27:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623055115053799424,"description":"Unknown IO ID 45"} 
[2026-07-27 10:27:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992795136001,"power":12428,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1623055115053799424}} 
[2026-07-27 10:27:36] local.INFO: DEBUG: GPS processor result {"connection_id":142770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552629,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:27:36] local.INFO: GPS data processed {"connection_id":142770,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:27:36] local.INFO: Acknowledgment sent {"connection_id":142770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:28:08] local.INFO: TCP Data received {"connection_id":142770,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1eddc20012d168640071fa998001f012025..."} 
[2026-07-27 10:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1eddc20012d168640071fa998001f012025..."} 
[2026-07-27 10:28:08] local.INFO: Processing buffer {"connection_id":142770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1eddc20012d168640071fa998001f012025..."} 
[2026-07-27 10:28:08] local.INFO: Packet analysis {"connection_id":142770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1ed"} 
[2026-07-27 10:28:08] local.INFO: Extracted packet for processing {"connection_id":142770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1ed"} 
[2026-07-27 10:28:08] local.INFO: GPS Element Parsed {"raw_longitude":756450880,"raw_latitude":119515544,"longitude_deg":75.645088,"latitude_deg":11.9515544,"altitude":31,"angle":288,"satellites":37,"speed":0,"hex_longitude":"2d168640","hex_latitude":"071fa998","is_valid_coordinates":true} 
[2026-07-27 10:28:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:28:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992800512001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:28:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8789328448716800,"note":"Value kept but may cause issues"} 
[2026-07-27 10:28:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623055115053799424,"note":"Value kept but may cause issues"} 
[2026-07-27 10:28:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:28:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785128148000,"timestamp_ms":1785128148000,"timestamp_seconds":1785128148,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1eddc20"} 
[2026-07-27 10:28:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:28:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 10:28:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-27 10:28:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:28:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:28:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:28:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:28:08] local.INFO: Teltonika packet parsed successfully {"connection_id":142770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:28:08] local.INFO: Passing IMEI to GPS processor {"connection_id":142770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:28:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":142770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:28:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:28:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:28:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:28:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992800512001,"66":12461,"131":206,"28":31744,"24":0,"16":8789328448716800,"45":1623055115053799424},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-07-27 10:28:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:28:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:28:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992800512001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:28:08] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-27 10:28:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:28:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8789328448716800,"km_value":8789328448716.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:28:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623055115053799424,"description":"Unknown IO ID 45"} 
[2026-07-27 10:28:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992800512001,"power":12461,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1623055115053799424}} 
[2026-07-27 10:28:08] local.INFO: DEBUG: GPS processor result {"connection_id":142770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552630,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:28:08] local.INFO: GPS data processed {"connection_id":142770,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:28:08] local.INFO: Acknowledgment sent {"connection_id":142770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:28:30] local.INFO: TCP Data received {"connection_id":142771,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142771,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:28:30] local.INFO: Processing buffer {"connection_id":142771,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:28:30] local.INFO: IMEI packet received {"connection_id":142771,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 10:28:30] local.INFO: IMEI acknowledgment sent {"connection_id":142771,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:28:32] local.INFO: TCP Data received {"connection_id":142771,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142771,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:28:32] local.INFO: Processing buffer {"connection_id":142771,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:28:32] local.INFO: IMEI packet received {"connection_id":142771,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 10:28:32] local.INFO: IMEI acknowledgment sent {"connection_id":142771,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:28:36] local.INFO: TCP Data received {"connection_id":142771,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142771,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:28:36] local.INFO: Processing buffer {"connection_id":142771,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:28:36] local.INFO: IMEI packet received {"connection_id":142771,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 10:28:36] local.INFO: IMEI acknowledgment sent {"connection_id":142771,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:28:37] local.INFO: TCP Data received {"connection_id":142771,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1ee2e28012d168640071fa998001f012025..."} 
[2026-07-27 10:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1ee2e28012d168640071fa998001f012025..."} 
[2026-07-27 10:28:37] local.INFO: Processing buffer {"connection_id":142771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1ee2e28012d168640071fa998001f012025..."} 
[2026-07-27 10:28:37] local.INFO: Packet analysis {"connection_id":142771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1ee"} 
[2026-07-27 10:28:37] local.INFO: Extracted packet for processing {"connection_id":142771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1ee"} 
[2026-07-27 10:28:37] local.INFO: GPS Element Parsed {"raw_longitude":756450880,"raw_latitude":119515544,"longitude_deg":75.645088,"latitude_deg":11.9515544,"altitude":31,"angle":288,"satellites":37,"speed":0,"hex_longitude":"2d168640","hex_latitude":"071fa998","is_valid_coordinates":true} 
[2026-07-27 10:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:28:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992805888001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:28:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8789328448716800,"note":"Value kept but may cause issues"} 
[2026-07-27 10:28:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623055115053799424,"note":"Value kept but may cause issues"} 
[2026-07-27 10:28:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:28:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785128169000,"timestamp_ms":1785128169000,"timestamp_seconds":1785128169,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1ee2e28"} 
[2026-07-27 10:28:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:28:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 10:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-27 10:28:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:28:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:28:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:28:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:28:37] local.INFO: Teltonika packet parsed successfully {"connection_id":142771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:28:37] local.INFO: Passing IMEI to GPS processor {"connection_id":142771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:28:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":142771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:28:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:28:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:28:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:28:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992805888001,"66":12428,"131":206,"28":31744,"24":0,"16":8789328448716800,"45":1623055115053799424},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-07-27 10:28:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:28:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:28:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992805888001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:28:37] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-27 10:28:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:28:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8789328448716800,"km_value":8789328448716.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:28:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623055115053799424,"description":"Unknown IO ID 45"} 
[2026-07-27 10:28:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992805888001,"power":12428,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1623055115053799424}} 
[2026-07-27 10:28:37] local.INFO: DEBUG: GPS processor result {"connection_id":142771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552631,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:28:37] local.INFO: GPS data processed {"connection_id":142771,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:28:37] local.INFO: Acknowledgment sent {"connection_id":142771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:29:09] local.INFO: TCP Data received {"connection_id":142771,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1ee8030012d168640071fa998001f012026..."} 
[2026-07-27 10:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1ee8030012d168640071fa998001f012026..."} 
[2026-07-27 10:29:09] local.INFO: Processing buffer {"connection_id":142771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1ee8030012d168640071fa998001f012026..."} 
[2026-07-27 10:29:09] local.INFO: Packet analysis {"connection_id":142771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1ee"} 
[2026-07-27 10:29:09] local.INFO: Extracted packet for processing {"connection_id":142771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1ee"} 
[2026-07-27 10:29:09] local.INFO: GPS Element Parsed {"raw_longitude":756450880,"raw_latitude":119515544,"longitude_deg":75.645088,"latitude_deg":11.9515544,"altitude":31,"angle":288,"satellites":38,"speed":0,"hex_longitude":"2d168640","hex_latitude":"071fa998","is_valid_coordinates":true} 
[2026-07-27 10:29:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:29:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992811264001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:29:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8789328448716800,"note":"Value kept but may cause issues"} 
[2026-07-27 10:29:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623055115053799424,"note":"Value kept but may cause issues"} 
[2026-07-27 10:29:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:29:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785128190000,"timestamp_ms":1785128190000,"timestamp_seconds":1785128190,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1ee8030"} 
[2026-07-27 10:29:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:29:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 10:29:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-27 10:29:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:29:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:29:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:29:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:29:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:29:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:29:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:29:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:29:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:29:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:29:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992811264001,"66":12461,"131":206,"28":31744,"24":0,"16":8789328448716800,"45":1623055115053799424},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-07-27 10:29:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:29:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:29:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992811264001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:29:09] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-27 10:29:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:29:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8789328448716800,"km_value":8789328448716.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:29:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623055115053799424,"description":"Unknown IO ID 45"} 
[2026-07-27 10:29:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992811264001,"power":12461,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1623055115053799424}} 
[2026-07-27 10:29:09] local.INFO: DEBUG: GPS processor result {"connection_id":142771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552632,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:29:09] local.INFO: GPS data processed {"connection_id":142771,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:29:09] local.INFO: Acknowledgment sent {"connection_id":142771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:29:30] local.INFO: TCP Data received {"connection_id":143895,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143895,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:29:30] local.INFO: Processing buffer {"connection_id":143895,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:29:30] local.INFO: IMEI packet received {"connection_id":143895,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 10:29:30] local.INFO: IMEI acknowledgment sent {"connection_id":143895,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:29:30] local.INFO: TCP Data received {"connection_id":143895,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143895,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:29:30] local.INFO: Processing buffer {"connection_id":143895,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:29:30] local.INFO: IMEI packet received {"connection_id":143895,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 10:29:30] local.INFO: IMEI acknowledgment sent {"connection_id":143895,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:29:35] local.INFO: TCP Data received {"connection_id":143895,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143895,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:29:35] local.INFO: Processing buffer {"connection_id":143895,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:29:35] local.INFO: IMEI packet received {"connection_id":143895,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 10:29:35] local.INFO: IMEI acknowledgment sent {"connection_id":143895,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:29:36] local.INFO: TCP Data received {"connection_id":143895,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1eed238012d168640071fa998001f012026..."} 
[2026-07-27 10:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1eed238012d168640071fa998001f012026..."} 
[2026-07-27 10:29:36] local.INFO: Processing buffer {"connection_id":143895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1eed238012d168640071fa998001f012026..."} 
[2026-07-27 10:29:36] local.INFO: Packet analysis {"connection_id":143895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1ee"} 
[2026-07-27 10:29:36] local.INFO: Extracted packet for processing {"connection_id":143895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1ee"} 
[2026-07-27 10:29:36] local.INFO: GPS Element Parsed {"raw_longitude":756450880,"raw_latitude":119515544,"longitude_deg":75.645088,"latitude_deg":11.9515544,"altitude":31,"angle":288,"satellites":38,"speed":0,"hex_longitude":"2d168640","hex_latitude":"071fa998","is_valid_coordinates":true} 
[2026-07-27 10:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:29:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992816640001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:29:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8789328448716800,"note":"Value kept but may cause issues"} 
[2026-07-27 10:29:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623055115053799424,"note":"Value kept but may cause issues"} 
[2026-07-27 10:29:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:29:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785128211000,"timestamp_ms":1785128211000,"timestamp_seconds":1785128211,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1eed238"} 
[2026-07-27 10:29:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:29:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 10:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-27 10:29:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:29:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:29:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:29:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:29:36] local.INFO: Teltonika packet parsed successfully {"connection_id":143895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:29:36] local.INFO: Passing IMEI to GPS processor {"connection_id":143895,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:29:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":143895,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:29:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:29:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:29:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:29:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992816640001,"66":12439,"131":206,"28":31744,"24":0,"16":8789328448716800,"45":1623055115053799424},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-07-27 10:29:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:29:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:29:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992816640001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:29:36] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-27 10:29:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:29:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8789328448716800,"km_value":8789328448716.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:29:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623055115053799424,"description":"Unknown IO ID 45"} 
[2026-07-27 10:29:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992816640001,"power":12439,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1623055115053799424}} 
[2026-07-27 10:29:37] local.INFO: DEBUG: GPS processor result {"connection_id":143895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552633,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:29:37] local.INFO: GPS data processed {"connection_id":143895,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:29:37] local.INFO: Acknowledgment sent {"connection_id":143895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:30:08] local.INFO: TCP Data received {"connection_id":143895,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1f104b8012d16b200071f7ca8002d006023..."} 
[2026-07-27 10:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1f104b8012d16b200071f7ca8002d006023..."} 
[2026-07-27 10:30:08] local.INFO: Processing buffer {"connection_id":143895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1f104b8012d16b200071f7ca8002d006023..."} 
[2026-07-27 10:30:08] local.INFO: Packet analysis {"connection_id":143895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1f1"} 
[2026-07-27 10:30:08] local.INFO: Extracted packet for processing {"connection_id":143895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1f1"} 
[2026-07-27 10:30:08] local.INFO: GPS Element Parsed {"raw_longitude":756462080,"raw_latitude":119504040,"longitude_deg":75.646208,"latitude_deg":11.950404,"altitude":45,"angle":96,"satellites":35,"speed":19,"hex_longitude":"2d16b200","hex_latitude":"071f7ca8","is_valid_coordinates":true} 
[2026-07-27 10:30:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:30:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992858624001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:30:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8790238981783552,"note":"Value kept but may cause issues"} 
[2026-07-27 10:30:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1634736326584354816,"note":"Value kept but may cause issues"} 
[2026-07-27 10:30:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:30:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785128355000,"timestamp_ms":1785128355000,"timestamp_seconds":1785128355,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1f104b8"} 
[2026-07-27 10:30:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:30:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 10: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-07-27 10:30:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:30:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:30:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:30:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:30:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:30:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143895,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:30:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143895,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:30:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:30:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:30:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:30:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992858624001,"66":14102,"131":206,"28":31744,"24":19,"16":8790238981783552,"45":1634736326584354816},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-07-27 10:30:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:30:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:30:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992858624001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:30:08] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-27 10:30:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:30:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8790238981783552,"km_value":8790238981783.552,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:30:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1634736326584354816,"description":"Unknown IO ID 45"} 
[2026-07-27 10:30:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992858624001,"power":14102,"unknown_131":206,"unknown_28":31744,"ignition":19,"odometer":null,"unknown_45":1634736326584354816}} 
[2026-07-27 10:30:08] local.INFO: DEBUG: GPS processor result {"connection_id":143895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552634,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:30:08] local.INFO: GPS data processed {"connection_id":143895,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:30:08] local.INFO: Acknowledgment sent {"connection_id":143895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:30:29] local.INFO: TCP Data received {"connection_id":142902,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142902,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:30:30] local.INFO: Processing buffer {"connection_id":142902,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:30:30] local.INFO: IMEI packet received {"connection_id":142902,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 10:30:30] local.INFO: IMEI acknowledgment sent {"connection_id":142902,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:30:32] local.INFO: TCP Data received {"connection_id":142902,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142902,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:30:32] local.INFO: Processing buffer {"connection_id":142902,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:30:32] local.INFO: IMEI packet received {"connection_id":142902,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 10:30:32] local.INFO: IMEI acknowledgment sent {"connection_id":142902,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:30:36] local.INFO: TCP Data received {"connection_id":142902,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142902,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:30:36] local.INFO: Processing buffer {"connection_id":142902,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:30:36] local.INFO: IMEI packet received {"connection_id":142902,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 10:30:36] local.INFO: IMEI acknowledgment sent {"connection_id":142902,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:30:38] local.INFO: TCP Data received {"connection_id":142902,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1f11070012d16b940071f7c48002f006f21..."} 
[2026-07-27 10:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142902,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1f11070012d16b940071f7c48002f006f21..."} 
[2026-07-27 10:30:38] local.INFO: Processing buffer {"connection_id":142902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1f11070012d16b940071f7c48002f006f21..."} 
[2026-07-27 10:30:38] local.INFO: Packet analysis {"connection_id":142902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1f1"} 
[2026-07-27 10:30:38] local.INFO: Extracted packet for processing {"connection_id":142902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1f1"} 
[2026-07-27 10:30:38] local.INFO: GPS Element Parsed {"raw_longitude":756463936,"raw_latitude":119503944,"longitude_deg":75.6463936,"latitude_deg":11.9503944,"altitude":47,"angle":111,"satellites":33,"speed":20,"hex_longitude":"2d16b940","hex_latitude":"071f7c48","is_valid_coordinates":true} 
[2026-07-27 10:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:30:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992858880001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:30:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8790329176096768,"note":"Value kept but may cause issues"} 
[2026-07-27 10:30:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1635369645281945600,"note":"Value kept but may cause issues"} 
[2026-07-27 10:30:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:30:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785128358000,"timestamp_ms":1785128358000,"timestamp_seconds":1785128358,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1f11070"} 
[2026-07-27 10:30:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:30:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 10:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-27 10:30:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:30:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:30:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:30:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:30:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:30:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:30:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:30:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:30:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:30:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:30:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992858880001,"66":14189,"131":206,"28":31744,"24":20,"16":8790329176096768,"45":1635369645281945600},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-07-27 10:30:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:30:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:30:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992858880001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:30:38] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-27 10:30:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:30:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8790329176096768,"km_value":8790329176096.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:30:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1635369645281945600,"description":"Unknown IO ID 45"} 
[2026-07-27 10:30:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992858880001,"power":14189,"unknown_131":206,"unknown_28":31744,"ignition":20,"odometer":null,"unknown_45":1635369645281945600}} 
[2026-07-27 10:30:38] local.INFO: DEBUG: GPS processor result {"connection_id":142902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552635,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:30:38] local.INFO: GPS data processed {"connection_id":142902,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:30:38] local.INFO: Acknowledgment sent {"connection_id":142902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:30:54] local.INFO: TCP Data received {"connection_id":143896,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 10:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143896,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 10:30:54] local.INFO: Processing buffer {"connection_id":143896,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 10:30:54] local.INFO: IMEI packet received {"connection_id":143896,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 10:30:54] local.INFO: IMEI acknowledgment sent {"connection_id":143896,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:31:15] local.INFO: TCP Data received {"connection_id":142902,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1f127e0012d16c4c0071f79300032006123..."} 
[2026-07-27 10:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142902,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1f127e0012d16c4c0071f79300032006123..."} 
[2026-07-27 10:31:15] local.INFO: Processing buffer {"connection_id":142902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1f127e0012d16c4c0071f79300032006123..."} 
[2026-07-27 10:31:15] local.INFO: Packet analysis {"connection_id":142902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1f1"} 
[2026-07-27 10:31:15] local.INFO: Extracted packet for processing {"connection_id":142902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1f1"} 
[2026-07-27 10:31:15] local.INFO: GPS Element Parsed {"raw_longitude":756466880,"raw_latitude":119503152,"longitude_deg":75.646688,"latitude_deg":11.9503152,"altitude":50,"angle":97,"satellites":35,"speed":16,"hex_longitude":"2d16c4c0","hex_latitude":"071f7930","is_valid_coordinates":true} 
[2026-07-27 10: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-07-27 10:31:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992859648001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:31:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8790475204984832,"note":"Value kept but may cause issues"} 
[2026-07-27 10:31:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1637410338863073280,"note":"Value kept but may cause issues"} 
[2026-07-27 10:31:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:31:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785128364000,"timestamp_ms":1785128364000,"timestamp_seconds":1785128364,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1f127e0"} 
[2026-07-27 10:31:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:31:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 10: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":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-27 10:31:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10: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-07-27 10:31:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:31:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:31:15] local.INFO: Teltonika packet parsed successfully {"connection_id":142902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:31:15] local.INFO: Passing IMEI to GPS processor {"connection_id":142902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:31:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":142902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:31:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:31:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:31:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:31:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992859648001,"66":14265,"131":206,"28":31744,"24":16,"16":8790475204984832,"45":1637410338863073280},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-07-27 10:31:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:31:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:31:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992859648001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:31:15] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-27 10:31:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:31:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8790475204984832,"km_value":8790475204984.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:31:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1637410338863073280,"description":"Unknown IO ID 45"} 
[2026-07-27 10:31:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992859648001,"power":14265,"unknown_131":206,"unknown_28":31744,"ignition":16,"odometer":null,"unknown_45":1637410338863073280}} 
[2026-07-27 10:31:15] local.INFO: DEBUG: GPS processor result {"connection_id":142902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552636,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:31:15] local.INFO: GPS data processed {"connection_id":142902,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:31:15] local.INFO: Acknowledgment sent {"connection_id":142902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:31:35] local.INFO: TCP Data received {"connection_id":142772,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142772,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:31:35] local.INFO: Processing buffer {"connection_id":142772,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:31:35] local.INFO: IMEI packet received {"connection_id":142772,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 10:31:35] local.INFO: IMEI acknowledgment sent {"connection_id":142772,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:31:37] local.INFO: TCP Data received {"connection_id":142772,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142772,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:31:37] local.INFO: Processing buffer {"connection_id":142772,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:31:37] local.INFO: IMEI packet received {"connection_id":142772,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 10:31:37] local.INFO: IMEI acknowledgment sent {"connection_id":142772,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:31:37] local.INFO: TCP Data received {"connection_id":142773,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:31:37] local.INFO: Processing buffer {"connection_id":142773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:31:37] local.INFO: IMEI packet received {"connection_id":142773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 10:31:37] local.INFO: IMEI acknowledgment sent {"connection_id":142773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:31:38] local.INFO: TCP Data received {"connection_id":142772,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1f23950012d178140071f9ee00027005124..."} 
[2026-07-27 10:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1f23950012d178140071f9ee00027005124..."} 
[2026-07-27 10:31:38] local.INFO: Processing buffer {"connection_id":142772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1f23950012d178140071f9ee00027005124..."} 
[2026-07-27 10:31:38] local.INFO: Packet analysis {"connection_id":142772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1f2"} 
[2026-07-27 10:31:38] local.INFO: Extracted packet for processing {"connection_id":142772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1f2"} 
[2026-07-27 10:31:38] local.INFO: GPS Element Parsed {"raw_longitude":756515136,"raw_latitude":119512800,"longitude_deg":75.6515136,"latitude_deg":11.95128,"altitude":39,"angle":81,"satellites":36,"speed":29,"hex_longitude":"2d178140","hex_latitude":"071f9ee0","is_valid_coordinates":true} 
[2026-07-27 10:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:31:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992876288001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:31:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8792846026932224,"note":"Value kept but may cause issues"} 
[2026-07-27 10:31:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1683783341277845504,"note":"Value kept but may cause issues"} 
[2026-07-27 10:31:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:31:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785128434000,"timestamp_ms":1785128434000,"timestamp_seconds":1785128434,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1f23950"} 
[2026-07-27 10:31:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:31:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 10:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-07-27 10:31:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:31:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:31:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:31:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:31:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:31:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:31:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:31:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:31:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:31:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:31:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992876288001,"66":14363,"122":206,"28":31744,"24":29,"16":8792846026932224,"45":1683783341277845504},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-07-27 10:31:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:31:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:31:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992876288001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:31:38] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-27 10:31:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:31:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8792846026932224,"km_value":8792846026932.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:31:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1683783341277845504,"description":"Unknown IO ID 45"} 
[2026-07-27 10:31:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992876288001,"power":14363,"unknown_122":206,"unknown_28":31744,"ignition":29,"odometer":null,"unknown_45":1683783341277845504}} 
[2026-07-27 10:31:38] local.INFO: DEBUG: GPS processor result {"connection_id":142772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552637,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:31:38] local.INFO: GPS data processed {"connection_id":142772,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:31:38] local.INFO: Acknowledgment sent {"connection_id":142772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:31:40] local.INFO: TCP Data received {"connection_id":142772,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1f273e8012d17a580071fa6e0002f004822..."} 
[2026-07-27 10:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1f273e8012d17a580071fa6e0002f004822..."} 
[2026-07-27 10:31:40] local.INFO: Processing buffer {"connection_id":142772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1f273e8012d17a580071fa6e0002f004822..."} 
[2026-07-27 10:31:40] local.INFO: Packet analysis {"connection_id":142772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1f2"} 
[2026-07-27 10:31:40] local.INFO: Extracted packet for processing {"connection_id":142772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1f2"} 
[2026-07-27 10:31:40] local.INFO: GPS Element Parsed {"raw_longitude":756524416,"raw_latitude":119514848,"longitude_deg":75.6524416,"latitude_deg":11.9514848,"altitude":47,"angle":72,"satellites":34,"speed":31,"hex_longitude":"2d17a580","hex_latitude":"071fa6e0","is_valid_coordinates":true} 
[2026-07-27 10:31:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:31:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992879104001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:31:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8793301293465600,"note":"Value kept but may cause issues"} 
[2026-07-27 10:31:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1693705334207471616,"note":"Value kept but may cause issues"} 
[2026-07-27 10:31:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:31:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785128449000,"timestamp_ms":1785128449000,"timestamp_seconds":1785128449,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1f273e8"} 
[2026-07-27 10:31:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:31:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 10: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-07-27 10:31:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:31:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:31:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:31:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:31:40] local.INFO: Teltonika packet parsed successfully {"connection_id":142772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:31:40] local.INFO: Passing IMEI to GPS processor {"connection_id":142772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:31:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":142772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:31:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:31:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:31:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:31:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992879104001,"66":14407,"122":206,"28":31744,"24":31,"16":8793301293465600,"45":1693705334207471616},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-07-27 10:31:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:31:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:31:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992879104001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:31:40] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-27 10:31:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:31:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8793301293465600,"km_value":8793301293465.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:31:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1693705334207471616,"description":"Unknown IO ID 45"} 
[2026-07-27 10:31:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992879104001,"power":14407,"unknown_122":206,"unknown_28":31744,"ignition":31,"odometer":null,"unknown_45":1693705334207471616}} 
[2026-07-27 10:31:40] local.INFO: DEBUG: GPS processor result {"connection_id":142772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552638,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:31:40] local.INFO: GPS data processed {"connection_id":142772,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:31:40] local.INFO: Acknowledgment sent {"connection_id":142772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:31:42] local.INFO: TCP Data received {"connection_id":142773,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:31:42] local.INFO: Processing buffer {"connection_id":142773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:31:42] local.INFO: IMEI packet received {"connection_id":142773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 10:31:42] local.INFO: IMEI acknowledgment sent {"connection_id":142773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:31:43] local.INFO: TCP Data received {"connection_id":142773,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1ee1e88012d7faa8005afd830000e015e2d..."} 
[2026-07-27 10:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1ee1e88012d7faa8005afd830000e015e2d..."} 
[2026-07-27 10:31:43] local.INFO: Processing buffer {"connection_id":142773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1ee1e88012d7faa8005afd830000e015e2d..."} 
[2026-07-27 10:31:43] local.INFO: Packet analysis {"connection_id":142773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1ee"} 
[2026-07-27 10:31:43] local.INFO: Extracted packet for processing {"connection_id":142773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1ee"} 
[2026-07-27 10:31:43] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95410224,"longitude_deg":76.334144,"latitude_deg":9.5410224,"altitude":14,"angle":350,"satellites":45,"speed":3,"hex_longitude":"2d7faa80","hex_latitude":"05afd830","is_valid_coordinates":true} 
[2026-07-27 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-07-27 10:31:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992809984001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:31:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826873855148032,"note":"Value kept but may cause issues"} 
[2026-07-27 10:31:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950771007488,"note":"Value kept but may cause issues"} 
[2026-07-27 10:31:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:31:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785128165000,"timestamp_ms":1785128165000,"timestamp_seconds":1785128165,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1ee1e88"} 
[2026-07-27 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-07-27 10:31:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-27 10:31:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:31:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 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-07-27 10:31:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:31:43] local.INFO: Teltonika packet parsed successfully {"connection_id":142773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:31:43] local.INFO: Passing IMEI to GPS processor {"connection_id":142773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:31:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":142773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:31: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-07-27 10:31:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 10:31:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 10:31:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992809984001,"66":27930,"250":206,"85":12544,"24":3,"16":358826873855148032,"45":9199305950771007488},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 10:31:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 10:31:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 10:31:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992809984001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:31:43] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 10:31:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 10:31:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826873855148032,"km_value":358826873855148.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:31:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950771007488,"description":"Unknown IO ID 45"} 
[2026-07-27 10:31:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992809984001,"power":27930,"unknown_250":206,"unknown_85":12544,"ignition":3,"odometer":null,"unknown_45":9199305950771007488}} 
[2026-07-27 10:31:43] local.INFO: DEBUG: GPS processor result {"connection_id":142773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:31:43] local.INFO: GPS data processed {"connection_id":142773,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:31:43] local.INFO: Acknowledgment sent {"connection_id":142773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:31:48] local.INFO: TCP Data received {"connection_id":142773,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1ee2e28012d7faa4005afd988000e00082d..."} 
[2026-07-27 10:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1ee2e28012d7faa4005afd988000e00082d..."} 
[2026-07-27 10:31:48] local.INFO: Processing buffer {"connection_id":142773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1ee2e28012d7faa4005afd988000e00082d..."} 
[2026-07-27 10:31:48] local.INFO: Packet analysis {"connection_id":142773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1ee"} 
[2026-07-27 10:31:48] local.INFO: Extracted packet for processing {"connection_id":142773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1ee"} 
[2026-07-27 10:31:48] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95410568,"longitude_deg":76.3341376,"latitude_deg":9.5410568,"altitude":14,"angle":8,"satellites":45,"speed":3,"hex_longitude":"2d7faa40","hex_latitude":"05afd988","is_valid_coordinates":true} 
[2026-07-27 10: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-07-27 10:31:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992810240001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:31:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826891035017216,"note":"Value kept but may cause issues"} 
[2026-07-27 10:31:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950771032064,"note":"Value kept but may cause issues"} 
[2026-07-27 10:31:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:31:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785128169000,"timestamp_ms":1785128169000,"timestamp_seconds":1785128169,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1ee2e28"} 
[2026-07-27 10:31:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:31:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 10: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-27 10:31:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10: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-07-27 10:31:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:31:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:31:48] local.INFO: Teltonika packet parsed successfully {"connection_id":142773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:31:48] local.INFO: Passing IMEI to GPS processor {"connection_id":142773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:31:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":142773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:31: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-07-27 10:31:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 10:31:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 10:31:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992810240001,"66":28006,"250":206,"85":12544,"24":3,"16":358826891035017216,"45":9199305950771032064},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 10:31:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 10:31:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 10:31:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992810240001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:31:48] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 10:31:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 10:31:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826891035017216,"km_value":358826891035017.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:31:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950771032064,"description":"Unknown IO ID 45"} 
[2026-07-27 10:31:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992810240001,"power":28006,"unknown_250":206,"unknown_85":12544,"ignition":3,"odometer":null,"unknown_45":9199305950771032064}} 
[2026-07-27 10:31:48] local.INFO: DEBUG: GPS processor result {"connection_id":142773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:31:48] local.INFO: GPS data processed {"connection_id":142773,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:31:48] local.INFO: Acknowledgment sent {"connection_id":142773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:32:12] local.INFO: TCP Data received {"connection_id":142772,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1f29af8012d17ca40071faf08002f004e21..."} 
[2026-07-27 10:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1f29af8012d17ca40071faf08002f004e21..."} 
[2026-07-27 10:32:12] local.INFO: Processing buffer {"connection_id":142772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1f29af8012d17ca40071faf08002f004e21..."} 
[2026-07-27 10:32:12] local.INFO: Packet analysis {"connection_id":142772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1f2"} 
[2026-07-27 10:32:12] local.INFO: Extracted packet for processing {"connection_id":142772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1f2"} 
[2026-07-27 10:32:12] local.INFO: GPS Element Parsed {"raw_longitude":756533824,"raw_latitude":119516936,"longitude_deg":75.6533824,"latitude_deg":11.9516936,"altitude":47,"angle":78,"satellites":33,"speed":40,"hex_longitude":"2d17ca40","hex_latitude":"071faf08","is_valid_coordinates":true} 
[2026-07-27 10:32:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:32:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992882944001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:32:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8793756559998976,"note":"Value kept but may cause issues"} 
[2026-07-27 10:32:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1703908802113757184,"note":"Value kept but may cause issues"} 
[2026-07-27 10:32:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:32:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785128459000,"timestamp_ms":1785128459000,"timestamp_seconds":1785128459,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1f29af8"} 
[2026-07-27 10:32:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:32:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 10:32:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-27 10:32:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:32:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:32:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:32:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:32:12] local.INFO: Teltonika packet parsed successfully {"connection_id":142772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:32:12] local.INFO: Passing IMEI to GPS processor {"connection_id":142772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:32:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":142772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:32:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:32:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:32:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:32:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992882944001,"66":13863,"122":206,"28":31744,"24":40,"16":8793756559998976,"45":1703908802113757184},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-07-27 10:32:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:32:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:32:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992882944001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:32:12] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-27 10:32:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:32:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8793756559998976,"km_value":8793756559998.976,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:32:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1703908802113757184,"description":"Unknown IO ID 45"} 
[2026-07-27 10:32:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992882944001,"power":13863,"unknown_122":206,"unknown_28":31744,"ignition":40,"odometer":null,"unknown_45":1703908802113757184}} 
[2026-07-27 10:32:12] local.INFO: DEBUG: GPS processor result {"connection_id":142772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552641,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:32:12] local.INFO: GPS data processed {"connection_id":142772,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:32:12] local.INFO: Acknowledgment sent {"connection_id":142772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:32:31] local.INFO: TCP Data received {"connection_id":142903,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142903,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:32:31] local.INFO: Processing buffer {"connection_id":142903,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:32:31] local.INFO: IMEI packet received {"connection_id":142903,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 10:32:31] local.INFO: IMEI acknowledgment sent {"connection_id":142903,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:32:32] local.INFO: TCP Data received {"connection_id":142903,"ip":"117.224.5.158","data_length":51,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-27 10:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142903,"packet_length":51,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-27 10:32:32] local.INFO: Processing buffer {"connection_id":142903,"buffer_length":51,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-27 10:32:32] local.INFO: IMEI packet received {"connection_id":142903,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 10:32:32] local.INFO: IMEI acknowledgment sent {"connection_id":142903,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:32:32] local.INFO: TCP Data received {"connection_id":145205,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:32:32] local.INFO: Processing buffer {"connection_id":145205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:32:32] local.INFO: IMEI packet received {"connection_id":145205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 10:32:32] local.INFO: IMEI acknowledgment sent {"connection_id":145205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:32:37] local.INFO: TCP Data received {"connection_id":145205,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:32:37] local.INFO: Processing buffer {"connection_id":145205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:32:37] local.INFO: IMEI packet received {"connection_id":145205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 10:32:37] local.INFO: IMEI acknowledgment sent {"connection_id":145205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:32:38] local.INFO: TCP Data received {"connection_id":145205,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1ee2e28012d7faa4005afd988000e00082d..."} 
[2026-07-27 10:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1ee2e28012d7faa4005afd988000e00082d..."} 
[2026-07-27 10:32:38] local.INFO: Processing buffer {"connection_id":145205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1ee2e28012d7faa4005afd988000e00082d..."} 
[2026-07-27 10:32:38] local.INFO: Packet analysis {"connection_id":145205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1ee"} 
[2026-07-27 10:32:38] local.INFO: Extracted packet for processing {"connection_id":145205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1ee"} 
[2026-07-27 10:32:38] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95410568,"longitude_deg":76.3341376,"latitude_deg":9.5410568,"altitude":14,"angle":8,"satellites":45,"speed":3,"hex_longitude":"2d7faa40","hex_latitude":"05afd988","is_valid_coordinates":true} 
[2026-07-27 10:32:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:32:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992811264001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:32:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826891035017216,"note":"Value kept but may cause issues"} 
[2026-07-27 10:32:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582026942464,"note":"Value kept but may cause issues"} 
[2026-07-27 10:32:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:32:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785128169000,"timestamp_ms":1785128169000,"timestamp_seconds":1785128169,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1ee2e28"} 
[2026-07-27 10:32:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:32:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 10:32:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-27 10:32:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:32:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:32:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:32:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:32:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:32:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:32:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:32:38] 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-07-27 10:32:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 10:32:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 10:32:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992811264001,"66":28006,"250":206,"85":12544,"24":3,"16":358826891035017216,"45":9199235582026942464},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 10:32:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 10:32:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 10:32:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992811264001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:32:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 10:32:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 10:32:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826891035017216,"km_value":358826891035017.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:32:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582026942464,"description":"Unknown IO ID 45"} 
[2026-07-27 10:32:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992811264001,"power":28006,"unknown_250":206,"unknown_85":12544,"ignition":3,"odometer":null,"unknown_45":9199235582026942464}} 
[2026-07-27 10:32:38] local.INFO: DEBUG: GPS processor result {"connection_id":145205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:32:38] local.INFO: GPS data processed {"connection_id":145205,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:32:38] local.INFO: Acknowledgment sent {"connection_id":145205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:33:09] local.INFO: TCP Data received {"connection_id":145205,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1ee39e0012d7faa4005afdac8000e001a2d..."} 
[2026-07-27 10:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1ee39e0012d7faa4005afdac8000e001a2d..."} 
[2026-07-27 10:33:09] local.INFO: Processing buffer {"connection_id":145205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1ee39e0012d7faa4005afdac8000e001a2d..."} 
[2026-07-27 10:33:09] local.INFO: Packet analysis {"connection_id":145205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1ee"} 
[2026-07-27 10:33:09] local.INFO: Extracted packet for processing {"connection_id":145205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1ee"} 
[2026-07-27 10:33:09] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95410888,"longitude_deg":76.3341376,"latitude_deg":9.5410888,"altitude":14,"angle":26,"satellites":45,"speed":4,"hex_longitude":"2d7faa40","hex_latitude":"05afdac8","is_valid_coordinates":true} 
[2026-07-27 10:33:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:33:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992811264001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:33:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826891035017216,"note":"Value kept but may cause issues"} 
[2026-07-27 10:33:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582026942464,"note":"Value kept but may cause issues"} 
[2026-07-27 10:33:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:33:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785128172000,"timestamp_ms":1785128172000,"timestamp_seconds":1785128172,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1ee39e0"} 
[2026-07-27 10:33:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:33:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 10:33:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-27 10:33:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:33:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:33:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:33:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:33:09] local.INFO: Teltonika packet parsed successfully {"connection_id":145205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:33:09] local.INFO: Passing IMEI to GPS processor {"connection_id":145205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:33:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":145205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:33: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-07-27 10:33:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 10:33:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 10:33:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992811264001,"66":27213,"250":206,"85":12544,"24":4,"16":358826891035017216,"45":9199235582026942464},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 10:33:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 10:33:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 10:33:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992811264001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:33:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 10:33:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 10:33:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826891035017216,"km_value":358826891035017.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:33:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582026942464,"description":"Unknown IO ID 45"} 
[2026-07-27 10:33:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992811264001,"power":27213,"unknown_250":206,"unknown_85":12544,"ignition":4,"odometer":null,"unknown_45":9199235582026942464}} 
[2026-07-27 10:33:09] local.INFO: DEBUG: GPS processor result {"connection_id":145205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:33:09] local.INFO: GPS data processed {"connection_id":145205,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:33:09] local.INFO: Acknowledgment sent {"connection_id":145205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:33:32] local.INFO: TCP Data received {"connection_id":142904,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:33:32] local.INFO: Processing buffer {"connection_id":142904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:33:32] local.INFO: IMEI packet received {"connection_id":142904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 10:33:32] local.INFO: IMEI acknowledgment sent {"connection_id":142904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:33:37] local.INFO: TCP Data received {"connection_id":142904,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:33:37] local.INFO: Processing buffer {"connection_id":142904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:33:37] local.INFO: IMEI packet received {"connection_id":142904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 10:33:37] local.INFO: IMEI acknowledgment sent {"connection_id":142904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:33:38] local.INFO: TCP Data received {"connection_id":142904,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1f2d978012d7fa5c005afdf80000d00142b..."} 
[2026-07-27 10:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142904,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1f2d978012d7fa5c005afdf80000d00142b..."} 
[2026-07-27 10:33:38] local.INFO: Processing buffer {"connection_id":142904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1f2d978012d7fa5c005afdf80000d00142b..."} 
[2026-07-27 10:33:38] local.INFO: Packet analysis {"connection_id":142904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1f2"} 
[2026-07-27 10:33:38] local.INFO: Extracted packet for processing {"connection_id":142904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1f2"} 
[2026-07-27 10:33:38] local.INFO: GPS Element Parsed {"raw_longitude":763340224,"raw_latitude":95412096,"longitude_deg":76.3340224,"latitude_deg":9.5412096,"altitude":13,"angle":20,"satellites":43,"speed":0,"hex_longitude":"2d7fa5c0","hex_latitude":"05afdf80","is_valid_coordinates":true} 
[2026-07-27 10:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:33:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992812032001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:33:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826891035017216,"note":"Value kept but may cause issues"} 
[2026-07-27 10:33:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027024384,"note":"Value kept but may cause issues"} 
[2026-07-27 10:33:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:33:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785128475000,"timestamp_ms":1785128475000,"timestamp_seconds":1785128475,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1f2d978"} 
[2026-07-27 10:33:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:33:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 10:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-27 10:33:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:33:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:33:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:33:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:33:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:33:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:33:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:33:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:33:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 10:33:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 10:33:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992812032001,"66":26115,"250":206,"85":12544,"24":0,"16":358826891035017216,"45":9199235582027024384},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 10:33:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 10:33:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 10:33:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992812032001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:33:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 10:33:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 10:33:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826891035017216,"km_value":358826891035017.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:33:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027024384,"description":"Unknown IO ID 45"} 
[2026-07-27 10:33:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992812032001,"power":26115,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582027024384}} 
[2026-07-27 10:33:38] local.INFO: DEBUG: GPS processor result {"connection_id":142904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:33:38] local.INFO: GPS data processed {"connection_id":142904,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:33:38] local.INFO: Acknowledgment sent {"connection_id":142904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:34:11] local.INFO: TCP Data received {"connection_id":142904,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1f2d978012d7fa5c005afdf80000d00142b..."} 
[2026-07-27 10:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142904,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1f2d978012d7fa5c005afdf80000d00142b..."} 
[2026-07-27 10:34:11] local.INFO: Processing buffer {"connection_id":142904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1f2d978012d7fa5c005afdf80000d00142b..."} 
[2026-07-27 10:34:11] local.INFO: Packet analysis {"connection_id":142904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1f2"} 
[2026-07-27 10:34:11] local.INFO: Extracted packet for processing {"connection_id":142904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1f2"} 
[2026-07-27 10:34:11] local.INFO: GPS Element Parsed {"raw_longitude":763340224,"raw_latitude":95412096,"longitude_deg":76.3340224,"latitude_deg":9.5412096,"altitude":13,"angle":20,"satellites":43,"speed":0,"hex_longitude":"2d7fa5c0","hex_latitude":"05afdf80","is_valid_coordinates":true} 
[2026-07-27 10:34:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:34:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992812032001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:34:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826891035017216,"note":"Value kept but may cause issues"} 
[2026-07-27 10:34:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027024384,"note":"Value kept but may cause issues"} 
[2026-07-27 10:34:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:34:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785128475000,"timestamp_ms":1785128475000,"timestamp_seconds":1785128475,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1f2d978"} 
[2026-07-27 10:34:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:34:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 10:34:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-27 10:34:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:34:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:34:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:34:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:34:11] local.INFO: Teltonika packet parsed successfully {"connection_id":142904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:34:11] local.INFO: Passing IMEI to GPS processor {"connection_id":142904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:34:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":142904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:34: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-07-27 10:34:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 10:34:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 10:34:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992812032001,"66":26115,"250":206,"85":12544,"24":0,"16":358826891035017216,"45":9199235582027024384},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 10:34:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 10:34:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 10:34:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992812032001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:34:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 10:34:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 10:34:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826891035017216,"km_value":358826891035017.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:34:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027024384,"description":"Unknown IO ID 45"} 
[2026-07-27 10:34:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992812032001,"power":26115,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582027024384}} 
[2026-07-27 10:34:11] local.INFO: DEBUG: GPS processor result {"connection_id":142904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:34:11] local.INFO: GPS data processed {"connection_id":142904,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:34:11] local.INFO: Acknowledgment sent {"connection_id":142904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:34:56] local.INFO: TCP Data received {"connection_id":145206,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:34:56] local.INFO: Processing buffer {"connection_id":145206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:34:56] local.INFO: IMEI packet received {"connection_id":145206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 10:34:56] local.INFO: IMEI acknowledgment sent {"connection_id":145206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:34:57] local.INFO: TCP Data received {"connection_id":145206,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:34:57] local.INFO: Processing buffer {"connection_id":145206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:34:57] local.INFO: IMEI packet received {"connection_id":145206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 10:34:57] local.INFO: IMEI acknowledgment sent {"connection_id":145206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:34:58] local.INFO: TCP Data received {"connection_id":145206,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1f2d978012d7fa5c005afdf80000d00142b..."} 
[2026-07-27 10:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1f2d978012d7fa5c005afdf80000d00142b..."} 
[2026-07-27 10:34:58] local.INFO: Processing buffer {"connection_id":145206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1f2d978012d7fa5c005afdf80000d00142b..."} 
[2026-07-27 10:34:58] local.INFO: Packet analysis {"connection_id":145206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1f2"} 
[2026-07-27 10:34:58] local.INFO: Extracted packet for processing {"connection_id":145206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1f2"} 
[2026-07-27 10:34:58] local.INFO: GPS Element Parsed {"raw_longitude":763340224,"raw_latitude":95412096,"longitude_deg":76.3340224,"latitude_deg":9.5412096,"altitude":13,"angle":20,"satellites":43,"speed":0,"hex_longitude":"2d7fa5c0","hex_latitude":"05afdf80","is_valid_coordinates":true} 
[2026-07-27 10:34:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:34:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992812032001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:34:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826891035017216,"note":"Value kept but may cause issues"} 
[2026-07-27 10:34:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027024384,"note":"Value kept but may cause issues"} 
[2026-07-27 10:34:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:34:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785128475000,"timestamp_ms":1785128475000,"timestamp_seconds":1785128475,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1f2d978"} 
[2026-07-27 10:34:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:34:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 10:34:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-27 10:34:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:34:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:34:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:34:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:34:58] local.INFO: Teltonika packet parsed successfully {"connection_id":145206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:34:58] local.INFO: Passing IMEI to GPS processor {"connection_id":145206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:34:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":145206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:34:58] 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-07-27 10:34:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 10:34:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 10:34:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992812032001,"66":26115,"250":206,"85":12544,"24":0,"16":358826891035017216,"45":9199235582027024384},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 10:34:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 10:34:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 10:34:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992812032001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:34:58] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 10:34:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 10:34:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826891035017216,"km_value":358826891035017.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:34:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027024384,"description":"Unknown IO ID 45"} 
[2026-07-27 10:34:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992812032001,"power":26115,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582027024384}} 
[2026-07-27 10:34:58] local.INFO: DEBUG: GPS processor result {"connection_id":145206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:34:58] local.INFO: GPS data processed {"connection_id":145206,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:34:58] local.INFO: Acknowledgment sent {"connection_id":145206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:34:59] local.INFO: TCP Data received {"connection_id":145206,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1f2d978012d7fa5c005afdf80000d00142b..."} 
[2026-07-27 10:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1f2d978012d7fa5c005afdf80000d00142b..."} 
[2026-07-27 10:34:59] local.INFO: Processing buffer {"connection_id":145206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1f2d978012d7fa5c005afdf80000d00142b..."} 
[2026-07-27 10:34:59] local.INFO: Packet analysis {"connection_id":145206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1f2"} 
[2026-07-27 10:34:59] local.INFO: Extracted packet for processing {"connection_id":145206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1f2"} 
[2026-07-27 10:34:59] local.INFO: GPS Element Parsed {"raw_longitude":763340224,"raw_latitude":95412096,"longitude_deg":76.3340224,"latitude_deg":9.5412096,"altitude":13,"angle":20,"satellites":43,"speed":0,"hex_longitude":"2d7fa5c0","hex_latitude":"05afdf80","is_valid_coordinates":true} 
[2026-07-27 10:34:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:34:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992812032001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:34:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826891035017216,"note":"Value kept but may cause issues"} 
[2026-07-27 10:34:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027024384,"note":"Value kept but may cause issues"} 
[2026-07-27 10:34:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:34:59] local.INFO: AVL Record Parsed {"raw_timestamp":1785128475000,"timestamp_ms":1785128475000,"timestamp_seconds":1785128475,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1f2d978"} 
[2026-07-27 10:34:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:34:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 10:34:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-27 10:34:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:34:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:34:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:34:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:34:59] local.INFO: Teltonika packet parsed successfully {"connection_id":145206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:34:59] local.INFO: Passing IMEI to GPS processor {"connection_id":145206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:34:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":145206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:34:59] 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-07-27 10:34:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 10:34:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 10:34:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992812032001,"66":26115,"250":206,"85":12544,"24":0,"16":358826891035017216,"45":9199235582027024384},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 10:34:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 10:34:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 10:34:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992812032001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:34:59] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 10:34:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 10:34:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826891035017216,"km_value":358826891035017.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:34:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027024384,"description":"Unknown IO ID 45"} 
[2026-07-27 10:34:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992812032001,"power":26115,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582027024384}} 
[2026-07-27 10:34:59] local.INFO: DEBUG: GPS processor result {"connection_id":145206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:34:59] local.INFO: GPS data processed {"connection_id":145206,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:34:59] local.INFO: Acknowledgment sent {"connection_id":145206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:35:32] local.INFO: TCP Data received {"connection_id":142776,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:35:32] local.INFO: Processing buffer {"connection_id":142776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:35:32] local.INFO: IMEI packet received {"connection_id":142776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 10:35:32] local.INFO: IMEI acknowledgment sent {"connection_id":142776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:35:38] local.INFO: TCP Data received {"connection_id":142776,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:35:38] local.INFO: Processing buffer {"connection_id":142776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:35:38] local.INFO: IMEI packet received {"connection_id":142776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 10:35:38] local.INFO: IMEI acknowledgment sent {"connection_id":142776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:35:39] local.INFO: TCP Data received {"connection_id":142776,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1f2d978012d7fa5c005afdf80000d00142b..."} 
[2026-07-27 10:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1f2d978012d7fa5c005afdf80000d00142b..."} 
[2026-07-27 10:35:39] local.INFO: Processing buffer {"connection_id":142776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1f2d978012d7fa5c005afdf80000d00142b..."} 
[2026-07-27 10:35:39] local.INFO: Packet analysis {"connection_id":142776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1f2"} 
[2026-07-27 10:35:39] local.INFO: Extracted packet for processing {"connection_id":142776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1f2"} 
[2026-07-27 10:35:39] local.INFO: GPS Element Parsed {"raw_longitude":763340224,"raw_latitude":95412096,"longitude_deg":76.3340224,"latitude_deg":9.5412096,"altitude":13,"angle":20,"satellites":43,"speed":0,"hex_longitude":"2d7fa5c0","hex_latitude":"05afdf80","is_valid_coordinates":true} 
[2026-07-27 10: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-07-27 10:35:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992812032001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:35:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826891035017216,"note":"Value kept but may cause issues"} 
[2026-07-27 10:35:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027024384,"note":"Value kept but may cause issues"} 
[2026-07-27 10:35:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:35:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785128475000,"timestamp_ms":1785128475000,"timestamp_seconds":1785128475,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1f2d978"} 
[2026-07-27 10:35:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:35:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 10: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-27 10:35:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10: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-07-27 10:35:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:35:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:35:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:35:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:35:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:35:39] 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-07-27 10:35:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 10:35:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 10:35:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992812032001,"66":26115,"250":206,"85":12544,"24":0,"16":358826891035017216,"45":9199235582027024384},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 10:35:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 10:35:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 10:35:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992812032001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:35:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 10:35:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 10:35:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826891035017216,"km_value":358826891035017.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:35:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027024384,"description":"Unknown IO ID 45"} 
[2026-07-27 10:35:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992812032001,"power":26115,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582027024384}} 
[2026-07-27 10:35:39] local.INFO: DEBUG: GPS processor result {"connection_id":142776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:35:39] local.INFO: GPS data processed {"connection_id":142776,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:35:39] local.INFO: Acknowledgment sent {"connection_id":142776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:36:10] local.INFO: TCP Data received {"connection_id":142776,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1f2d978012d7fa5c005afdf80000d00142b..."} 
[2026-07-27 10:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1f2d978012d7fa5c005afdf80000d00142b..."} 
[2026-07-27 10:36:10] local.INFO: Processing buffer {"connection_id":142776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1f2d978012d7fa5c005afdf80000d00142b..."} 
[2026-07-27 10:36:10] local.INFO: Packet analysis {"connection_id":142776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1f2"} 
[2026-07-27 10:36:10] local.INFO: Extracted packet for processing {"connection_id":142776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1f2"} 
[2026-07-27 10:36:10] local.INFO: GPS Element Parsed {"raw_longitude":763340224,"raw_latitude":95412096,"longitude_deg":76.3340224,"latitude_deg":9.5412096,"altitude":13,"angle":20,"satellites":43,"speed":0,"hex_longitude":"2d7fa5c0","hex_latitude":"05afdf80","is_valid_coordinates":true} 
[2026-07-27 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-07-27 10:36:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992812032001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:36:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826891035017216,"note":"Value kept but may cause issues"} 
[2026-07-27 10:36:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027024384,"note":"Value kept but may cause issues"} 
[2026-07-27 10:36:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:36:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785128475000,"timestamp_ms":1785128475000,"timestamp_seconds":1785128475,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1f2d978"} 
[2026-07-27 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-07-27 10:36:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-27 10:36:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 10:36:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:36:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:36:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:36:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 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-07-27 10:36:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 10:36:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 10:36:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992812032001,"66":26115,"250":206,"85":12544,"24":0,"16":358826891035017216,"45":9199235582027024384},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 10:36:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 10:36:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 10:36:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992812032001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:36:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 10:36:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 10:36:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826891035017216,"km_value":358826891035017.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:36:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027024384,"description":"Unknown IO ID 45"} 
[2026-07-27 10:36:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992812032001,"power":26115,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582027024384}} 
[2026-07-27 10:36:10] local.INFO: DEBUG: GPS processor result {"connection_id":142776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:36:10] local.INFO: GPS data processed {"connection_id":142776,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:36:10] local.INFO: Acknowledgment sent {"connection_id":142776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:36:32] local.INFO: TCP Data received {"connection_id":142777,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:36:32] local.INFO: Processing buffer {"connection_id":142777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:36:32] local.INFO: IMEI packet received {"connection_id":142777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 10:36:32] local.INFO: IMEI acknowledgment sent {"connection_id":142777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:36:37] local.INFO: TCP Data received {"connection_id":142777,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:36:37] local.INFO: Processing buffer {"connection_id":142777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:36:37] local.INFO: IMEI packet received {"connection_id":142777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 10:36:37] local.INFO: IMEI acknowledgment sent {"connection_id":142777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:36:38] local.INFO: TCP Data received {"connection_id":142777,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1f2d978012d7fa5c005afdf80000d00142b..."} 
[2026-07-27 10:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1f2d978012d7fa5c005afdf80000d00142b..."} 
[2026-07-27 10:36:38] local.INFO: Processing buffer {"connection_id":142777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1f2d978012d7fa5c005afdf80000d00142b..."} 
[2026-07-27 10:36:38] local.INFO: Packet analysis {"connection_id":142777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1f2"} 
[2026-07-27 10:36:38] local.INFO: Extracted packet for processing {"connection_id":142777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1f2"} 
[2026-07-27 10:36:38] local.INFO: GPS Element Parsed {"raw_longitude":763340224,"raw_latitude":95412096,"longitude_deg":76.3340224,"latitude_deg":9.5412096,"altitude":13,"angle":20,"satellites":43,"speed":0,"hex_longitude":"2d7fa5c0","hex_latitude":"05afdf80","is_valid_coordinates":true} 
[2026-07-27 10:36:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:36:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992812032001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:36:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826891035017216,"note":"Value kept but may cause issues"} 
[2026-07-27 10:36:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027024384,"note":"Value kept but may cause issues"} 
[2026-07-27 10:36:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:36:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785128475000,"timestamp_ms":1785128475000,"timestamp_seconds":1785128475,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1f2d978"} 
[2026-07-27 10:36:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:36:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 10:36:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-27 10:36:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:36:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:36:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:36:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:36:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:36:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:36:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:36:38] 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-07-27 10:36:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 10:36:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 10:36:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992812032001,"66":26115,"250":206,"85":12544,"24":0,"16":358826891035017216,"45":9199235582027024384},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 10:36:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 10:36:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 10:36:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992812032001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:36:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 10:36:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 10:36:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826891035017216,"km_value":358826891035017.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:36:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027024384,"description":"Unknown IO ID 45"} 
[2026-07-27 10:36:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992812032001,"power":26115,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582027024384}} 
[2026-07-27 10:36:38] local.INFO: DEBUG: GPS processor result {"connection_id":142777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:36:38] local.INFO: GPS data processed {"connection_id":142777,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:36:38] local.INFO: Acknowledgment sent {"connection_id":142777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:37:09] local.INFO: TCP Data received {"connection_id":142777,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1f77140012d7fa5c005afdf80000b00142b..."} 
[2026-07-27 10:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1f77140012d7fa5c005afdf80000b00142b..."} 
[2026-07-27 10:37:09] local.INFO: Processing buffer {"connection_id":142777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1f77140012d7fa5c005afdf80000b00142b..."} 
[2026-07-27 10:37:09] local.INFO: Packet analysis {"connection_id":142777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1f7"} 
[2026-07-27 10:37:09] local.INFO: Extracted packet for processing {"connection_id":142777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1f7"} 
[2026-07-27 10:37:09] local.INFO: GPS Element Parsed {"raw_longitude":763340224,"raw_latitude":95412096,"longitude_deg":76.3340224,"latitude_deg":9.5412096,"altitude":11,"angle":20,"satellites":43,"speed":0,"hex_longitude":"2d7fa5c0","hex_latitude":"05afdf80","is_valid_coordinates":true} 
[2026-07-27 10:37:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:37:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992889600001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:37:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826891035017216,"note":"Value kept but may cause issues"} 
[2026-07-27 10:37:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197968944632135680,"note":"Value kept but may cause issues"} 
[2026-07-27 10:37:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:37:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785128776000,"timestamp_ms":1785128776000,"timestamp_seconds":1785128776,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1f77140"} 
[2026-07-27 10:37:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:37:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 10:37:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-27 10:37:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:37:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:37:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:37:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:37:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:37:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:37:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:37: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-07-27 10:37:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 10:37:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 10:37:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992889600001,"66":25875,"250":206,"85":12544,"24":0,"16":358826891035017216,"45":9197968944632135680},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 10:37:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 10:37:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 10:37:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992889600001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:37:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 10:37:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 10:37:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826891035017216,"km_value":358826891035017.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:37:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197968944632135680,"description":"Unknown IO ID 45"} 
[2026-07-27 10:37:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992889600001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197968944632135680}} 
[2026-07-27 10:37:09] local.INFO: DEBUG: GPS processor result {"connection_id":142777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:37:09] local.INFO: GPS data processed {"connection_id":142777,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:37:09] local.INFO: Acknowledgment sent {"connection_id":142777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:37:32] local.INFO: TCP Data received {"connection_id":143900,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:37:32] local.INFO: Processing buffer {"connection_id":143900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:37:32] local.INFO: IMEI packet received {"connection_id":143900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 10:37:32] local.INFO: IMEI acknowledgment sent {"connection_id":143900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:37:35] local.INFO: TCP Data received {"connection_id":143899,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143899,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:37:35] local.INFO: Processing buffer {"connection_id":143899,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:37:35] local.INFO: IMEI packet received {"connection_id":143899,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 10:37:35] local.INFO: IMEI acknowledgment sent {"connection_id":143899,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:37:36] local.INFO: TCP Data received {"connection_id":143899,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143899,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:37:36] local.INFO: Processing buffer {"connection_id":143899,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:37:36] local.INFO: IMEI packet received {"connection_id":143899,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 10:37:36] local.INFO: IMEI acknowledgment sent {"connection_id":143899,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:37:37] local.INFO: TCP Data received {"connection_id":143900,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:37:37] local.INFO: Processing buffer {"connection_id":143900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:37:37] local.INFO: IMEI packet received {"connection_id":143900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 10:37:37] local.INFO: IMEI acknowledgment sent {"connection_id":143900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:37:38] local.INFO: TCP Data received {"connection_id":143900,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1f77140012d7fa5c005afdf80000b00142b..."} 
[2026-07-27 10:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143900,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1f77140012d7fa5c005afdf80000b00142b..."} 
[2026-07-27 10:37:38] local.INFO: Processing buffer {"connection_id":143900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1f77140012d7fa5c005afdf80000b00142b..."} 
[2026-07-27 10:37:38] local.INFO: Packet analysis {"connection_id":143900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1f7"} 
[2026-07-27 10:37:38] local.INFO: Extracted packet for processing {"connection_id":143900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1f7"} 
[2026-07-27 10:37:38] local.INFO: GPS Element Parsed {"raw_longitude":763340224,"raw_latitude":95412096,"longitude_deg":76.3340224,"latitude_deg":9.5412096,"altitude":11,"angle":20,"satellites":43,"speed":0,"hex_longitude":"2d7fa5c0","hex_latitude":"05afdf80","is_valid_coordinates":true} 
[2026-07-27 10:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:37:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992889600001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:37:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826891035017216,"note":"Value kept but may cause issues"} 
[2026-07-27 10:37:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197968944632135680,"note":"Value kept but may cause issues"} 
[2026-07-27 10:37:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:37:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785128776000,"timestamp_ms":1785128776000,"timestamp_seconds":1785128776,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1f77140"} 
[2026-07-27 10:37:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:37:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 10:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-27 10:37:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:37:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:37:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:37:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:37:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:37:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:37:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:37:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:37:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 10:37:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 10:37:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992889600001,"66":25875,"250":206,"85":12544,"24":0,"16":358826891035017216,"45":9197968944632135680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 10:37:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 10:37:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 10:37:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992889600001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:37:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 10:37:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 10:37:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826891035017216,"km_value":358826891035017.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:37:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197968944632135680,"description":"Unknown IO ID 45"} 
[2026-07-27 10:37:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992889600001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197968944632135680}} 
[2026-07-27 10:37:38] local.INFO: DEBUG: GPS processor result {"connection_id":143900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:37:38] local.INFO: GPS data processed {"connection_id":143900,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:37:38] local.INFO: Acknowledgment sent {"connection_id":143900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:37:43] local.INFO: TCP Data received {"connection_id":143899,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143899,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:37:43] local.INFO: Processing buffer {"connection_id":143899,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:37:43] local.INFO: IMEI packet received {"connection_id":143899,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 10:37:43] local.INFO: IMEI acknowledgment sent {"connection_id":143899,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:37:44] local.INFO: TCP Data received {"connection_id":142778,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 10:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142778,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 10:37:44] local.INFO: Processing buffer {"connection_id":142778,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 10:37:44] local.INFO: IMEI packet received {"connection_id":142778,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 10:37:44] local.INFO: IMEI acknowledgment sent {"connection_id":142778,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:37:44] local.INFO: TCP Data received {"connection_id":143899,"ip":"117.224.5.158","data_length":93,"data_hex":"00000000000000518e010000019fa1f71b50012d192100071fd1100037005824..."} 
[2026-07-27 10:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143899,"packet_length":93,"packet_hex":"00000000000000518e010000019fa1f71b50012d192100071fd1100037005824..."} 
[2026-07-27 10:37:44] local.INFO: Processing buffer {"connection_id":143899,"buffer_length":93,"buffer_hex":"00000000000000518e010000019fa1f71b50012d192100071fd1100037005824..."} 
[2026-07-27 10:37:44] local.INFO: Packet analysis {"connection_id":143899,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019fa1f7"} 
[2026-07-27 10:37:44] local.INFO: Extracted packet for processing {"connection_id":143899,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019fa1f7"} 
[2026-07-27 10:37:44] local.INFO: GPS Element Parsed {"raw_longitude":756621568,"raw_latitude":119525648,"longitude_deg":75.6621568,"latitude_deg":11.9525648,"altitude":55,"angle":88,"satellites":36,"speed":6,"hex_longitude":"2d192100","hex_latitude":"071fd110","is_valid_coordinates":true} 
[2026-07-27 10:37: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":93,"current_offset":40} 
[2026-07-27 10:37:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:37:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:37:44] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:37:44] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-07-27 10:37:44] local.INFO: Teltonika packet parsed successfully {"connection_id":143899,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-07-27 10:37:44] local.INFO: Passing IMEI to GPS processor {"connection_id":143899,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-27 10:37:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":143899,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-27 10:37:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-27 10:37:44] local.WARNING: DEBUG: No valid data to process  
[2026-07-27 10:37:44] local.INFO: DEBUG: GPS processor result {"connection_id":143899,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-27 10:37:44] local.ERROR: GPS data processing failed {"connection_id":143899,"error":"No valid data to process"} 
[2026-07-27 10:37:44] local.INFO: Acknowledgment sent {"connection_id":143899,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-27 10:37:45] local.INFO: TCP Data received {"connection_id":143899,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1f76d58012d192380071fd0c80037005c23..."} 
[2026-07-27 10:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1f76d58012d192380071fd0c80037005c23..."} 
[2026-07-27 10:37:45] local.INFO: Processing buffer {"connection_id":143899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1f76d58012d192380071fd0c80037005c23..."} 
[2026-07-27 10:37:45] local.INFO: Packet analysis {"connection_id":143899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1f7"} 
[2026-07-27 10:37:45] local.INFO: Extracted packet for processing {"connection_id":143899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1f7"} 
[2026-07-27 10:37:45] local.INFO: GPS Element Parsed {"raw_longitude":756622208,"raw_latitude":119525576,"longitude_deg":75.6622208,"latitude_deg":11.9525576,"altitude":55,"angle":92,"satellites":35,"speed":0,"hex_longitude":"2d192380","hex_latitude":"071fd0c8","is_valid_coordinates":true} 
[2026-07-27 10:37:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:37:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992961024001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:37:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8800246255583232,"note":"Value kept but may cause issues"} 
[2026-07-27 10:37:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1810728555778215936,"note":"Value kept but may cause issues"} 
[2026-07-27 10:37:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:37:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785128775000,"timestamp_ms":1785128775000,"timestamp_seconds":1785128775,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1f76d58"} 
[2026-07-27 10:37:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:37:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 10: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-27 10:37:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:37:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:37:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:37:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:37:45] local.INFO: Teltonika packet parsed successfully {"connection_id":143899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:37:45] local.INFO: Passing IMEI to GPS processor {"connection_id":143899,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:37:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":143899,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:37:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:37:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:37:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:37:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992961024001,"66":14102,"121":206,"28":31744,"24":0,"16":8800246255583232,"45":1810728555778215936},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 10:37:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:37:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:37:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992961024001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:37:45] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 10:37:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:37:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8800246255583232,"km_value":8800246255583.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:37:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1810728555778215936,"description":"Unknown IO ID 45"} 
[2026-07-27 10:37:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992961024001,"power":14102,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1810728555778215936}} 
[2026-07-27 10:37:45] local.INFO: DEBUG: GPS processor result {"connection_id":143899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552653,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:37:45] local.INFO: GPS data processed {"connection_id":143899,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:37:45] local.INFO: Acknowledgment sent {"connection_id":143899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:38:09] local.INFO: TCP Data received {"connection_id":143900,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1f77140012d7fa5c005afdf80000b00142b..."} 
[2026-07-27 10:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143900,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1f77140012d7fa5c005afdf80000b00142b..."} 
[2026-07-27 10:38:09] local.INFO: Processing buffer {"connection_id":143900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1f77140012d7fa5c005afdf80000b00142b..."} 
[2026-07-27 10:38:09] local.INFO: Packet analysis {"connection_id":143900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1f7"} 
[2026-07-27 10:38:09] local.INFO: Extracted packet for processing {"connection_id":143900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1f7"} 
[2026-07-27 10:38:09] local.INFO: GPS Element Parsed {"raw_longitude":763340224,"raw_latitude":95412096,"longitude_deg":76.3340224,"latitude_deg":9.5412096,"altitude":11,"angle":20,"satellites":43,"speed":0,"hex_longitude":"2d7fa5c0","hex_latitude":"05afdf80","is_valid_coordinates":true} 
[2026-07-27 10:38:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:38:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992889600001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:38:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826891035017216,"note":"Value kept but may cause issues"} 
[2026-07-27 10:38:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197968944632135680,"note":"Value kept but may cause issues"} 
[2026-07-27 10:38:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:38:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785128776000,"timestamp_ms":1785128776000,"timestamp_seconds":1785128776,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1f77140"} 
[2026-07-27 10:38:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:38:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 10: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-27 10:38:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:38:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:38:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:38:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:38:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:38:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:38:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10: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-07-27 10:38:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 10:38:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 10:38:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992889600001,"66":25875,"250":206,"85":12544,"24":0,"16":358826891035017216,"45":9197968944632135680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 10:38:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 10:38:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 10:38:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992889600001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:38:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 10:38:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 10:38:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826891035017216,"km_value":358826891035017.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:38:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197968944632135680,"description":"Unknown IO ID 45"} 
[2026-07-27 10:38:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992889600001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197968944632135680}} 
[2026-07-27 10:38:09] local.INFO: DEBUG: GPS processor result {"connection_id":143900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:38:09] local.INFO: GPS data processed {"connection_id":143900,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:38:09] local.INFO: Acknowledgment sent {"connection_id":143900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:38:30] local.INFO: TCP Data received {"connection_id":142906,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142906,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:38:30] local.INFO: Processing buffer {"connection_id":142906,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:38:30] local.INFO: IMEI packet received {"connection_id":142906,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 10:38:30] local.INFO: IMEI acknowledgment sent {"connection_id":142906,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:38:35] local.INFO: TCP Data received {"connection_id":142906,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142906,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:38:35] local.INFO: Processing buffer {"connection_id":142906,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:38:35] local.INFO: IMEI packet received {"connection_id":142906,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 10:38:35] local.INFO: IMEI acknowledgment sent {"connection_id":142906,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:38:36] local.INFO: TCP Data received {"connection_id":142906,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1f7bf60012d192380071fd0c80037005c21..."} 
[2026-07-27 10:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142906,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1f7bf60012d192380071fd0c80037005c21..."} 
[2026-07-27 10:38:36] local.INFO: Processing buffer {"connection_id":142906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1f7bf60012d192380071fd0c80037005c21..."} 
[2026-07-27 10:38:36] local.INFO: Packet analysis {"connection_id":142906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1f7"} 
[2026-07-27 10:38:36] local.INFO: Extracted packet for processing {"connection_id":142906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1f7"} 
[2026-07-27 10:38:36] local.INFO: GPS Element Parsed {"raw_longitude":756622208,"raw_latitude":119525576,"longitude_deg":75.6622208,"latitude_deg":11.9525576,"altitude":55,"angle":92,"satellites":33,"speed":0,"hex_longitude":"2d192380","hex_latitude":"071fd0c8","is_valid_coordinates":true} 
[2026-07-27 10:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:38:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992966400001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:38:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8800246255583232,"note":"Value kept but may cause issues"} 
[2026-07-27 10:38:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1811432243219974144,"note":"Value kept but may cause issues"} 
[2026-07-27 10:38:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:38:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785128796000,"timestamp_ms":1785128796000,"timestamp_seconds":1785128796,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1f7bf60"} 
[2026-07-27 10:38:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:38:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 10:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-27 10:38:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:38:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:38:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:38:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:38:36] local.INFO: Teltonika packet parsed successfully {"connection_id":142906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:38:36] local.INFO: Passing IMEI to GPS processor {"connection_id":142906,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:38:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":142906,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:38:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:38:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:38:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:38:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992966400001,"66":14070,"121":206,"28":31744,"24":0,"16":8800246255583232,"45":1811432243219974144},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 10:38:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:38:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:38:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992966400001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:38:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 10:38:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:38:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8800246255583232,"km_value":8800246255583.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:38:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1811432243219974144,"description":"Unknown IO ID 45"} 
[2026-07-27 10:38:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992966400001,"power":14070,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1811432243219974144}} 
[2026-07-27 10:38:36] local.INFO: DEBUG: GPS processor result {"connection_id":142906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552655,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:38:36] local.INFO: GPS data processed {"connection_id":142906,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:38:36] local.INFO: Acknowledgment sent {"connection_id":142906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:38:37] local.INFO: TCP Data received {"connection_id":143901,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:38:37] local.INFO: Processing buffer {"connection_id":143901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:38:37] local.INFO: IMEI packet received {"connection_id":143901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 10:38:37] local.INFO: IMEI acknowledgment sent {"connection_id":143901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:38:42] local.INFO: TCP Data received {"connection_id":143901,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:38:42] local.INFO: Processing buffer {"connection_id":143901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:38:42] local.INFO: IMEI packet received {"connection_id":143901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 10:38:42] local.INFO: IMEI acknowledgment sent {"connection_id":143901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:38:43] local.INFO: TCP Data received {"connection_id":143901,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1f77140012d7fa5c005afdf80000b00142b..."} 
[2026-07-27 10:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1f77140012d7fa5c005afdf80000b00142b..."} 
[2026-07-27 10:38:43] local.INFO: Processing buffer {"connection_id":143901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1f77140012d7fa5c005afdf80000b00142b..."} 
[2026-07-27 10:38:43] local.INFO: Packet analysis {"connection_id":143901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1f7"} 
[2026-07-27 10:38:43] local.INFO: Extracted packet for processing {"connection_id":143901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1f7"} 
[2026-07-27 10:38:43] local.INFO: GPS Element Parsed {"raw_longitude":763340224,"raw_latitude":95412096,"longitude_deg":76.3340224,"latitude_deg":9.5412096,"altitude":11,"angle":20,"satellites":43,"speed":0,"hex_longitude":"2d7fa5c0","hex_latitude":"05afdf80","is_valid_coordinates":true} 
[2026-07-27 10:38:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:38:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992889600001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:38:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826891035017216,"note":"Value kept but may cause issues"} 
[2026-07-27 10:38:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197968944632135680,"note":"Value kept but may cause issues"} 
[2026-07-27 10:38:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:38:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785128776000,"timestamp_ms":1785128776000,"timestamp_seconds":1785128776,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1f77140"} 
[2026-07-27 10:38:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:38:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 10:38:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-27 10:38:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:38:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:38:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:38:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:38:43] local.INFO: Teltonika packet parsed successfully {"connection_id":143901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:38:43] local.INFO: Passing IMEI to GPS processor {"connection_id":143901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:38:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":143901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:38: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-07-27 10:38:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 10:38:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 10:38:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992889600001,"66":25875,"250":206,"85":12544,"24":0,"16":358826891035017216,"45":9197968944632135680},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 10:38:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 10:38:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 10:38:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992889600001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:38:43] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 10:38:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 10:38:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826891035017216,"km_value":358826891035017.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:38:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197968944632135680,"description":"Unknown IO ID 45"} 
[2026-07-27 10:38:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992889600001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197968944632135680}} 
[2026-07-27 10:38:43] local.INFO: DEBUG: GPS processor result {"connection_id":143901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:38:43] local.INFO: GPS data processed {"connection_id":143901,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:38:43] local.INFO: Acknowledgment sent {"connection_id":143901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:38:49] local.INFO: TCP Data received {"connection_id":143901,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1f77140012d7fa5c005afdf80000b00142b..."} 
[2026-07-27 10:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1f77140012d7fa5c005afdf80000b00142b..."} 
[2026-07-27 10:38:49] local.INFO: Processing buffer {"connection_id":143901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1f77140012d7fa5c005afdf80000b00142b..."} 
[2026-07-27 10:38:49] local.INFO: Packet analysis {"connection_id":143901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1f7"} 
[2026-07-27 10:38:49] local.INFO: Extracted packet for processing {"connection_id":143901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1f7"} 
[2026-07-27 10:38:49] local.INFO: GPS Element Parsed {"raw_longitude":763340224,"raw_latitude":95412096,"longitude_deg":76.3340224,"latitude_deg":9.5412096,"altitude":11,"angle":20,"satellites":43,"speed":0,"hex_longitude":"2d7fa5c0","hex_latitude":"05afdf80","is_valid_coordinates":true} 
[2026-07-27 10:38:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:38:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992889600001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:38:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826891035017216,"note":"Value kept but may cause issues"} 
[2026-07-27 10:38:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197968944632135680,"note":"Value kept but may cause issues"} 
[2026-07-27 10:38:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:38:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785128776000,"timestamp_ms":1785128776000,"timestamp_seconds":1785128776,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1f77140"} 
[2026-07-27 10:38:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:38:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 10: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-27 10:38:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:38:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:38:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:38:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:38:49] local.INFO: Teltonika packet parsed successfully {"connection_id":143901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:38:49] local.INFO: Passing IMEI to GPS processor {"connection_id":143901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:38:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":143901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:38:49] 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-07-27 10:38:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 10:38:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 10:38:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992889600001,"66":25875,"250":206,"85":12544,"24":0,"16":358826891035017216,"45":9197968944632135680},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 10:38:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 10:38:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 10:38:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992889600001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:38:49] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 10:38:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 10:38:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826891035017216,"km_value":358826891035017.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:38:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197968944632135680,"description":"Unknown IO ID 45"} 
[2026-07-27 10:38:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992889600001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197968944632135680}} 
[2026-07-27 10:38:49] local.INFO: DEBUG: GPS processor result {"connection_id":143901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:38:49] local.INFO: GPS data processed {"connection_id":143901,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:38:49] local.INFO: Acknowledgment sent {"connection_id":143901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:39:08] local.INFO: TCP Data received {"connection_id":142906,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1f81168012d192380071fd0c80037005c26..."} 
[2026-07-27 10:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142906,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1f81168012d192380071fd0c80037005c26..."} 
[2026-07-27 10:39:08] local.INFO: Processing buffer {"connection_id":142906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1f81168012d192380071fd0c80037005c26..."} 
[2026-07-27 10:39:08] local.INFO: Packet analysis {"connection_id":142906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1f8"} 
[2026-07-27 10:39:08] local.INFO: Extracted packet for processing {"connection_id":142906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1f8"} 
[2026-07-27 10:39:08] local.INFO: GPS Element Parsed {"raw_longitude":756622208,"raw_latitude":119525576,"longitude_deg":75.6622208,"latitude_deg":11.9525576,"altitude":55,"angle":92,"satellites":38,"speed":0,"hex_longitude":"2d192380","hex_latitude":"071fd0c8","is_valid_coordinates":true} 
[2026-07-27 10:39:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:39:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992971776001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:39:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8800246255583232,"note":"Value kept but may cause issues"} 
[2026-07-27 10:39:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1811432243219974144,"note":"Value kept but may cause issues"} 
[2026-07-27 10:39:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:39:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785128817000,"timestamp_ms":1785128817000,"timestamp_seconds":1785128817,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1f81168"} 
[2026-07-27 10:39:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:39:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 10: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-07-27 10:39:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:39:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:39:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:39:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:39:08] local.INFO: Teltonika packet parsed successfully {"connection_id":142906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:39:08] local.INFO: Passing IMEI to GPS processor {"connection_id":142906,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:39:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":142906,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:39:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:39:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:39:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:39:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992971776001,"66":14070,"121":206,"28":31744,"24":0,"16":8800246255583232,"45":1811432243219974144},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 10:39:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:39:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:39:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992971776001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:39:08] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 10:39:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:39:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8800246255583232,"km_value":8800246255583.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:39:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1811432243219974144,"description":"Unknown IO ID 45"} 
[2026-07-27 10:39:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992971776001,"power":14070,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1811432243219974144}} 
[2026-07-27 10:39:08] local.INFO: DEBUG: GPS processor result {"connection_id":142906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552658,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:39:08] local.INFO: GPS data processed {"connection_id":142906,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:39:08] local.INFO: Acknowledgment sent {"connection_id":142906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:39:30] local.INFO: TCP Data received {"connection_id":145207,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145207,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:39:30] local.INFO: Processing buffer {"connection_id":145207,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:39:30] local.INFO: IMEI packet received {"connection_id":145207,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 10:39:30] local.INFO: IMEI acknowledgment sent {"connection_id":145207,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:39:32] local.INFO: TCP Data received {"connection_id":142779,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:39:32] local.INFO: Processing buffer {"connection_id":142779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:39:32] local.INFO: IMEI packet received {"connection_id":142779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 10:39:32] local.INFO: IMEI acknowledgment sent {"connection_id":142779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:39:35] local.INFO: TCP Data received {"connection_id":145207,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145207,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:39:35] local.INFO: Processing buffer {"connection_id":145207,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:39:35] local.INFO: IMEI packet received {"connection_id":145207,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 10:39:35] local.INFO: IMEI acknowledgment sent {"connection_id":145207,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:39:37] local.INFO: TCP Data received {"connection_id":145207,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1f86370012d192380071fd0c80037005c23..."} 
[2026-07-27 10:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145207,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1f86370012d192380071fd0c80037005c23..."} 
[2026-07-27 10:39:37] local.INFO: Processing buffer {"connection_id":145207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1f86370012d192380071fd0c80037005c23..."} 
[2026-07-27 10:39:37] local.INFO: Packet analysis {"connection_id":145207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1f8"} 
[2026-07-27 10:39:37] local.INFO: Extracted packet for processing {"connection_id":145207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1f8"} 
[2026-07-27 10:39:37] local.INFO: GPS Element Parsed {"raw_longitude":756622208,"raw_latitude":119525576,"longitude_deg":75.6622208,"latitude_deg":11.9525576,"altitude":55,"angle":92,"satellites":35,"speed":0,"hex_longitude":"2d192380","hex_latitude":"071fd0c8","is_valid_coordinates":true} 
[2026-07-27 10:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992977152001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8800246255583232,"note":"Value kept but may cause issues"} 
[2026-07-27 10:39:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1811432243219974144,"note":"Value kept but may cause issues"} 
[2026-07-27 10:39:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785128838000,"timestamp_ms":1785128838000,"timestamp_seconds":1785128838,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1f86370"} 
[2026-07-27 10:39:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:39:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 10:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-07-27 10:39:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:39:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:39:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:39:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145207,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145207,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:39:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992977152001,"66":14483,"121":206,"28":31744,"24":0,"16":8800246255583232,"45":1811432243219974144},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 10:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992977152001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:39:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 10:39:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:39:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8800246255583232,"km_value":8800246255583.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:39:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1811432243219974144,"description":"Unknown IO ID 45"} 
[2026-07-27 10:39:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992977152001,"power":14483,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1811432243219974144}} 
[2026-07-27 10:39:37] local.INFO: DEBUG: GPS processor result {"connection_id":145207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552659,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:39:37] local.INFO: GPS data processed {"connection_id":145207,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:39:37] local.INFO: Acknowledgment sent {"connection_id":145207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:39:37] local.INFO: TCP Data received {"connection_id":142779,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:39:37] local.INFO: Processing buffer {"connection_id":142779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:39:37] local.INFO: IMEI packet received {"connection_id":142779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 10:39:37] local.INFO: IMEI acknowledgment sent {"connection_id":142779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:39:38] local.INFO: TCP Data received {"connection_id":142779,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1f77140012d7fa5c005afdf80000b00142b..."} 
[2026-07-27 10:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1f77140012d7fa5c005afdf80000b00142b..."} 
[2026-07-27 10:39:38] local.INFO: Processing buffer {"connection_id":142779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1f77140012d7fa5c005afdf80000b00142b..."} 
[2026-07-27 10:39:38] local.INFO: Packet analysis {"connection_id":142779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1f7"} 
[2026-07-27 10:39:38] local.INFO: Extracted packet for processing {"connection_id":142779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1f7"} 
[2026-07-27 10:39:38] local.INFO: GPS Element Parsed {"raw_longitude":763340224,"raw_latitude":95412096,"longitude_deg":76.3340224,"latitude_deg":9.5412096,"altitude":11,"angle":20,"satellites":43,"speed":0,"hex_longitude":"2d7fa5c0","hex_latitude":"05afdf80","is_valid_coordinates":true} 
[2026-07-27 10:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:39:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992889600001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:39:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826891035017216,"note":"Value kept but may cause issues"} 
[2026-07-27 10:39:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197968944632135680,"note":"Value kept but may cause issues"} 
[2026-07-27 10:39:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:39:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785128776000,"timestamp_ms":1785128776000,"timestamp_seconds":1785128776,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1f77140"} 
[2026-07-27 10:39:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:39:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 10:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-27 10:39:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:39:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:39:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:39:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:39:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:39:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:39:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:39:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:39:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 10:39:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 10:39:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992889600001,"66":25875,"250":206,"85":12544,"24":0,"16":358826891035017216,"45":9197968944632135680},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 10:39:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 10:39:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 10:39:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992889600001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:39:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 10:39:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 10:39:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826891035017216,"km_value":358826891035017.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:39:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197968944632135680,"description":"Unknown IO ID 45"} 
[2026-07-27 10:39:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992889600001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197968944632135680}} 
[2026-07-27 10:39:38] local.INFO: DEBUG: GPS processor result {"connection_id":142779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:39:38] local.INFO: GPS data processed {"connection_id":142779,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:39:38] local.INFO: Acknowledgment sent {"connection_id":142779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:40:08] local.INFO: TCP Data received {"connection_id":145207,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1f8b578012d192380071fd0c80037005c21..."} 
[2026-07-27 10:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145207,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1f8b578012d192380071fd0c80037005c21..."} 
[2026-07-27 10:40:08] local.INFO: Processing buffer {"connection_id":145207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1f8b578012d192380071fd0c80037005c21..."} 
[2026-07-27 10:40:08] local.INFO: Packet analysis {"connection_id":145207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1f8"} 
[2026-07-27 10:40:08] local.INFO: Extracted packet for processing {"connection_id":145207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1f8"} 
[2026-07-27 10:40:08] local.INFO: GPS Element Parsed {"raw_longitude":756622208,"raw_latitude":119525576,"longitude_deg":75.6622208,"latitude_deg":11.9525576,"altitude":55,"angle":92,"satellites":33,"speed":0,"hex_longitude":"2d192380","hex_latitude":"071fd0c8","is_valid_coordinates":true} 
[2026-07-27 10:40:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:40:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992982528001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:40:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8800246255583232,"note":"Value kept but may cause issues"} 
[2026-07-27 10:40:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1811432243219974144,"note":"Value kept but may cause issues"} 
[2026-07-27 10:40:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:40:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785128859000,"timestamp_ms":1785128859000,"timestamp_seconds":1785128859,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1f8b578"} 
[2026-07-27 10:40:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:40:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 10:40:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-07-27 10:40:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:40:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:40:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:40:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:40:08] local.INFO: Teltonika packet parsed successfully {"connection_id":145207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:40:08] local.INFO: Passing IMEI to GPS processor {"connection_id":145207,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:40:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":145207,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:40:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:40:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:40:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:40:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992982528001,"66":13993,"121":206,"28":31744,"24":0,"16":8800246255583232,"45":1811432243219974144},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 10:40:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:40:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:40:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992982528001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:40:08] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 10:40:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:40:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8800246255583232,"km_value":8800246255583.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:40:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1811432243219974144,"description":"Unknown IO ID 45"} 
[2026-07-27 10:40:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992982528001,"power":13993,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1811432243219974144}} 
[2026-07-27 10:40:08] local.INFO: DEBUG: GPS processor result {"connection_id":145207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552661,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:40:08] local.INFO: GPS data processed {"connection_id":145207,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:40:08] local.INFO: Acknowledgment sent {"connection_id":145207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:40:10] local.INFO: TCP Data received {"connection_id":142779,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1f77140012d7fa5c005afdf80000b00142b..."} 
[2026-07-27 10:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1f77140012d7fa5c005afdf80000b00142b..."} 
[2026-07-27 10:40:10] local.INFO: Processing buffer {"connection_id":142779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1f77140012d7fa5c005afdf80000b00142b..."} 
[2026-07-27 10:40:10] local.INFO: Packet analysis {"connection_id":142779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1f7"} 
[2026-07-27 10:40:10] local.INFO: Extracted packet for processing {"connection_id":142779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1f7"} 
[2026-07-27 10:40:10] local.INFO: GPS Element Parsed {"raw_longitude":763340224,"raw_latitude":95412096,"longitude_deg":76.3340224,"latitude_deg":9.5412096,"altitude":11,"angle":20,"satellites":43,"speed":0,"hex_longitude":"2d7fa5c0","hex_latitude":"05afdf80","is_valid_coordinates":true} 
[2026-07-27 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-07-27 10:40:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992889600001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:40:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826891035017216,"note":"Value kept but may cause issues"} 
[2026-07-27 10:40:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197968944632135680,"note":"Value kept but may cause issues"} 
[2026-07-27 10:40:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:40:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785128776000,"timestamp_ms":1785128776000,"timestamp_seconds":1785128776,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1f77140"} 
[2026-07-27 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-07-27 10:40:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-27 10:40:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 10:40:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:40:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:40:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:40:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:40: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-07-27 10:40:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 10:40:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 10:40:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992889600001,"66":25875,"250":206,"85":12544,"24":0,"16":358826891035017216,"45":9197968944632135680},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 10:40:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 10:40:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 10:40:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992889600001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:40:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 10:40:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 10:40:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826891035017216,"km_value":358826891035017.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:40:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197968944632135680,"description":"Unknown IO ID 45"} 
[2026-07-27 10:40:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992889600001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197968944632135680}} 
[2026-07-27 10:40:10] local.INFO: DEBUG: GPS processor result {"connection_id":142779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:40:10] local.INFO: GPS data processed {"connection_id":142779,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:40:10] local.INFO: Acknowledgment sent {"connection_id":142779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:40:29] local.INFO: TCP Data received {"connection_id":142907,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142907,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:40:29] local.INFO: Processing buffer {"connection_id":142907,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:40:29] local.INFO: IMEI packet received {"connection_id":142907,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 10:40:29] local.INFO: IMEI acknowledgment sent {"connection_id":142907,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:40:32] local.INFO: TCP Data received {"connection_id":143902,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:40:32] local.INFO: Processing buffer {"connection_id":143902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:40:32] local.INFO: IMEI packet received {"connection_id":143902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 10:40:32] local.INFO: IMEI acknowledgment sent {"connection_id":143902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:40:37] local.INFO: TCP Data received {"connection_id":142907,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142907,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:40:37] local.INFO: Processing buffer {"connection_id":142907,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:40:37] local.INFO: IMEI packet received {"connection_id":142907,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 10:40:37] local.INFO: IMEI acknowledgment sent {"connection_id":142907,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:40:37] local.INFO: TCP Data received {"connection_id":143902,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:40:37] local.INFO: Processing buffer {"connection_id":143902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:40:37] local.INFO: IMEI packet received {"connection_id":143902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 10:40:37] local.INFO: IMEI acknowledgment sent {"connection_id":143902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:40:38] local.INFO: TCP Data received {"connection_id":142907,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1f90780012d192380071fd0c80037005c24..."} 
[2026-07-27 10:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142907,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1f90780012d192380071fd0c80037005c24..."} 
[2026-07-27 10:40:38] local.INFO: Processing buffer {"connection_id":142907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1f90780012d192380071fd0c80037005c24..."} 
[2026-07-27 10:40:38] local.INFO: Packet analysis {"connection_id":142907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1f9"} 
[2026-07-27 10:40:38] local.INFO: Extracted packet for processing {"connection_id":142907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1f9"} 
[2026-07-27 10:40:38] local.INFO: GPS Element Parsed {"raw_longitude":756622208,"raw_latitude":119525576,"longitude_deg":75.6622208,"latitude_deg":11.9525576,"altitude":55,"angle":92,"satellites":36,"speed":0,"hex_longitude":"2d192380","hex_latitude":"071fd0c8","is_valid_coordinates":true} 
[2026-07-27 10:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:40:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992987904001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:40:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8800246255583232,"note":"Value kept but may cause issues"} 
[2026-07-27 10:40:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1811432243219974144,"note":"Value kept but may cause issues"} 
[2026-07-27 10:40:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:40:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785128880000,"timestamp_ms":1785128880000,"timestamp_seconds":1785128880,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1f90780"} 
[2026-07-27 10:40:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:40:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 10:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-27 10:40:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:40:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:40:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:40:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:40:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:40:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142907,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:40:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142907,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:40:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:40:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:40:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:40:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992987904001,"66":14048,"121":206,"28":31744,"24":0,"16":8800246255583232,"45":1811432243219974144},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 10:40:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:40:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:40:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992987904001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:40:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 10:40:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:40:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8800246255583232,"km_value":8800246255583.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:40:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1811432243219974144,"description":"Unknown IO ID 45"} 
[2026-07-27 10:40:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992987904001,"power":14048,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1811432243219974144}} 
[2026-07-27 10:40:38] local.INFO: DEBUG: GPS processor result {"connection_id":142907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552663,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:40:38] local.INFO: GPS data processed {"connection_id":142907,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:40:38] local.INFO: Acknowledgment sent {"connection_id":142907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:40:40] local.INFO: TCP Data received {"connection_id":143902,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1f77140012d7fa5c005afdf80000b00142b..."} 
[2026-07-27 10:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143902,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1f77140012d7fa5c005afdf80000b00142b..."} 
[2026-07-27 10:40:40] local.INFO: Processing buffer {"connection_id":143902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1f77140012d7fa5c005afdf80000b00142b..."} 
[2026-07-27 10:40:40] local.INFO: Packet analysis {"connection_id":143902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1f7"} 
[2026-07-27 10:40:40] local.INFO: Extracted packet for processing {"connection_id":143902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1f7"} 
[2026-07-27 10:40:40] local.INFO: GPS Element Parsed {"raw_longitude":763340224,"raw_latitude":95412096,"longitude_deg":76.3340224,"latitude_deg":9.5412096,"altitude":11,"angle":20,"satellites":43,"speed":0,"hex_longitude":"2d7fa5c0","hex_latitude":"05afdf80","is_valid_coordinates":true} 
[2026-07-27 10: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-07-27 10:40:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992889600001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:40:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826891035017216,"note":"Value kept but may cause issues"} 
[2026-07-27 10:40:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197968944632135680,"note":"Value kept but may cause issues"} 
[2026-07-27 10:40:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:40:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785128776000,"timestamp_ms":1785128776000,"timestamp_seconds":1785128776,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1f77140"} 
[2026-07-27 10:40:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:40:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 10: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-27 10:40:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10: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-07-27 10:40:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:40:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:40:40] local.INFO: Teltonika packet parsed successfully {"connection_id":143902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:40:40] local.INFO: Passing IMEI to GPS processor {"connection_id":143902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:40:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":143902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:40: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-07-27 10:40:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 10:40:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 10:40:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992889600001,"66":25875,"250":206,"85":12544,"24":0,"16":358826891035017216,"45":9197968944632135680},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 10:40:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 10:40:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 10:40:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992889600001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:40:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 10:40:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 10:40:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826891035017216,"km_value":358826891035017.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:40:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197968944632135680,"description":"Unknown IO ID 45"} 
[2026-07-27 10:40:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992889600001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197968944632135680}} 
[2026-07-27 10:40:40] local.INFO: DEBUG: GPS processor result {"connection_id":143902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:40:40] local.INFO: GPS data processed {"connection_id":143902,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:40:40] local.INFO: Acknowledgment sent {"connection_id":143902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:41:10] local.INFO: TCP Data received {"connection_id":142907,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1f95988012d192380071fd0c80037005c24..."} 
[2026-07-27 10:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142907,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1f95988012d192380071fd0c80037005c24..."} 
[2026-07-27 10:41:10] local.INFO: Processing buffer {"connection_id":142907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1f95988012d192380071fd0c80037005c24..."} 
[2026-07-27 10:41:10] local.INFO: Packet analysis {"connection_id":142907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1f9"} 
[2026-07-27 10:41:10] local.INFO: Extracted packet for processing {"connection_id":142907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1f9"} 
[2026-07-27 10:41:10] local.INFO: GPS Element Parsed {"raw_longitude":756622208,"raw_latitude":119525576,"longitude_deg":75.6622208,"latitude_deg":11.9525576,"altitude":55,"angle":92,"satellites":36,"speed":0,"hex_longitude":"2d192380","hex_latitude":"071fd0c8","is_valid_coordinates":true} 
[2026-07-27 10:41:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:41:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992993280001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:41:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8800246255583232,"note":"Value kept but may cause issues"} 
[2026-07-27 10:41:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1811432243219974144,"note":"Value kept but may cause issues"} 
[2026-07-27 10:41:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:41:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785128901000,"timestamp_ms":1785128901000,"timestamp_seconds":1785128901,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1f95988"} 
[2026-07-27 10:41:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:41:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-07-27 10:41:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:41:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:41:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:41:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:41:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:41:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142907,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:41:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142907,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:41:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:41:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:41:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:41:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992993280001,"66":14004,"121":206,"28":31744,"24":0,"16":8800246255583232,"45":1811432243219974144},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 10:41:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:41:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:41:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992993280001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:41:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 10:41:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:41:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8800246255583232,"km_value":8800246255583.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:41:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1811432243219974144,"description":"Unknown IO ID 45"} 
[2026-07-27 10:41:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992993280001,"power":14004,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1811432243219974144}} 
[2026-07-27 10:41:10] local.INFO: DEBUG: GPS processor result {"connection_id":142907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552665,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:41:10] local.INFO: GPS data processed {"connection_id":142907,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:41:10] local.INFO: Acknowledgment sent {"connection_id":142907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:41:12] local.INFO: TCP Data received {"connection_id":143902,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1f77140012d7fa5c005afdf80000b00142b..."} 
[2026-07-27 10:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143902,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1f77140012d7fa5c005afdf80000b00142b..."} 
[2026-07-27 10:41:12] local.INFO: Processing buffer {"connection_id":143902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1f77140012d7fa5c005afdf80000b00142b..."} 
[2026-07-27 10:41:12] local.INFO: Packet analysis {"connection_id":143902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1f7"} 
[2026-07-27 10:41:12] local.INFO: Extracted packet for processing {"connection_id":143902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1f7"} 
[2026-07-27 10:41:12] local.INFO: GPS Element Parsed {"raw_longitude":763340224,"raw_latitude":95412096,"longitude_deg":76.3340224,"latitude_deg":9.5412096,"altitude":11,"angle":20,"satellites":43,"speed":0,"hex_longitude":"2d7fa5c0","hex_latitude":"05afdf80","is_valid_coordinates":true} 
[2026-07-27 10:41:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:41:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992889600001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:41:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826891035017216,"note":"Value kept but may cause issues"} 
[2026-07-27 10:41:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197968944632135680,"note":"Value kept but may cause issues"} 
[2026-07-27 10:41:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:41:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785128776000,"timestamp_ms":1785128776000,"timestamp_seconds":1785128776,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1f77140"} 
[2026-07-27 10:41:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:41:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 10: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-27 10:41:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:41:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:41:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:41:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:41:12] local.INFO: Teltonika packet parsed successfully {"connection_id":143902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:41:12] local.INFO: Passing IMEI to GPS processor {"connection_id":143902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:41:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":143902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:41:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:41:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 10:41:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 10:41:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992889600001,"66":25875,"250":206,"85":12544,"24":0,"16":358826891035017216,"45":9197968944632135680},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 10:41:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 10:41:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 10:41:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992889600001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:41:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 10:41:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 10:41:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826891035017216,"km_value":358826891035017.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:41:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197968944632135680,"description":"Unknown IO ID 45"} 
[2026-07-27 10:41:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992889600001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197968944632135680}} 
[2026-07-27 10:41:12] local.INFO: DEBUG: GPS processor result {"connection_id":143902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:41:12] local.INFO: GPS data processed {"connection_id":143902,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:41:12] local.INFO: Acknowledgment sent {"connection_id":143902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:41:29] local.INFO: TCP Data received {"connection_id":143903,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143903,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:41:29] local.INFO: Processing buffer {"connection_id":143903,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:41:29] local.INFO: IMEI packet received {"connection_id":143903,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 10:41:29] local.INFO: IMEI acknowledgment sent {"connection_id":143903,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:41:32] local.INFO: TCP Data received {"connection_id":145208,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:41:32] local.INFO: Processing buffer {"connection_id":145208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:41:32] local.INFO: IMEI packet received {"connection_id":145208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 10:41:32] local.INFO: IMEI acknowledgment sent {"connection_id":145208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:41:35] local.INFO: TCP Data received {"connection_id":143903,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143903,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:41:35] local.INFO: Processing buffer {"connection_id":143903,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:41:35] local.INFO: IMEI packet received {"connection_id":143903,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 10:41:35] local.INFO: IMEI acknowledgment sent {"connection_id":143903,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:41:36] local.INFO: TCP Data received {"connection_id":143903,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1f9ab90012d192380071fd0c80037005c28..."} 
[2026-07-27 10:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143903,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1f9ab90012d192380071fd0c80037005c28..."} 
[2026-07-27 10:41:36] local.INFO: Processing buffer {"connection_id":143903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1f9ab90012d192380071fd0c80037005c28..."} 
[2026-07-27 10:41:36] local.INFO: Packet analysis {"connection_id":143903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1f9"} 
[2026-07-27 10:41:36] local.INFO: Extracted packet for processing {"connection_id":143903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1f9"} 
[2026-07-27 10:41:36] local.INFO: GPS Element Parsed {"raw_longitude":756622208,"raw_latitude":119525576,"longitude_deg":75.6622208,"latitude_deg":11.9525576,"altitude":55,"angle":92,"satellites":40,"speed":0,"hex_longitude":"2d192380","hex_latitude":"071fd0c8","is_valid_coordinates":true} 
[2026-07-27 10:41:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:41:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992998656001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:41:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8800246255583232,"note":"Value kept but may cause issues"} 
[2026-07-27 10:41:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1811432243219974144,"note":"Value kept but may cause issues"} 
[2026-07-27 10:41:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:41:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785128922000,"timestamp_ms":1785128922000,"timestamp_seconds":1785128922,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1f9ab90"} 
[2026-07-27 10:41:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:41:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 10:41:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-07-27 10:41:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:41:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:41:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:41:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:41:36] local.INFO: Teltonika packet parsed successfully {"connection_id":143903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:41:36] local.INFO: Passing IMEI to GPS processor {"connection_id":143903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:41:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":143903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:41:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:41:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:41:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:41:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992998656001,"66":14048,"121":206,"28":31744,"24":0,"16":8800246255583232,"45":1811432243219974144},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 10:41:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:41:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:41:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992998656001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:41:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 10:41:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:41:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8800246255583232,"km_value":8800246255583.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:41:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1811432243219974144,"description":"Unknown IO ID 45"} 
[2026-07-27 10:41:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992998656001,"power":14048,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1811432243219974144}} 
[2026-07-27 10:41:36] local.INFO: DEBUG: GPS processor result {"connection_id":143903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552667,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:41:36] local.INFO: GPS data processed {"connection_id":143903,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:41:36] local.INFO: Acknowledgment sent {"connection_id":143903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:41:38] local.INFO: TCP Data received {"connection_id":145208,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:41:38] local.INFO: Processing buffer {"connection_id":145208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:41:38] local.INFO: IMEI packet received {"connection_id":145208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 10:41:38] local.INFO: IMEI acknowledgment sent {"connection_id":145208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:41:47] local.INFO: TCP Data received {"connection_id":145208,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1f77140012d7fa5c005afdf80000b00142b..."} 
[2026-07-27 10:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1f77140012d7fa5c005afdf80000b00142b..."} 
[2026-07-27 10:41:47] local.INFO: Processing buffer {"connection_id":145208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1f77140012d7fa5c005afdf80000b00142b..."} 
[2026-07-27 10:41:47] local.INFO: Packet analysis {"connection_id":145208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1f7"} 
[2026-07-27 10:41:47] local.INFO: Extracted packet for processing {"connection_id":145208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1f7"} 
[2026-07-27 10:41:47] local.INFO: GPS Element Parsed {"raw_longitude":763340224,"raw_latitude":95412096,"longitude_deg":76.3340224,"latitude_deg":9.5412096,"altitude":11,"angle":20,"satellites":43,"speed":0,"hex_longitude":"2d7fa5c0","hex_latitude":"05afdf80","is_valid_coordinates":true} 
[2026-07-27 10:41:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:41:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992889600001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:41:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826891035017216,"note":"Value kept but may cause issues"} 
[2026-07-27 10:41:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197968944632135680,"note":"Value kept but may cause issues"} 
[2026-07-27 10:41:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:41:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785128776000,"timestamp_ms":1785128776000,"timestamp_seconds":1785128776,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1f77140"} 
[2026-07-27 10:41:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:41:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 10:41:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-27 10:41:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:41:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:41:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:41:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:41:47] local.INFO: Teltonika packet parsed successfully {"connection_id":145208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:41:47] local.INFO: Passing IMEI to GPS processor {"connection_id":145208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:41:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":145208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:41:47] 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-07-27 10:41:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 10:41:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 10:41:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992889600001,"66":25875,"250":206,"85":12544,"24":0,"16":358826891035017216,"45":9197968944632135680},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 10:41:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 10:41:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 10:41:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992889600001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:41:47] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 10:41:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 10:41:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826891035017216,"km_value":358826891035017.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:41:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197968944632135680,"description":"Unknown IO ID 45"} 
[2026-07-27 10:41:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992889600001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197968944632135680}} 
[2026-07-27 10:41:47] local.INFO: DEBUG: GPS processor result {"connection_id":145208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:41:47] local.INFO: GPS data processed {"connection_id":145208,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:41:47] local.INFO: Acknowledgment sent {"connection_id":145208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:42:08] local.INFO: TCP Data received {"connection_id":143903,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1f9fd98012d192380071fd0c80037005c24..."} 
[2026-07-27 10:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143903,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1f9fd98012d192380071fd0c80037005c24..."} 
[2026-07-27 10:42:08] local.INFO: Processing buffer {"connection_id":143903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1f9fd98012d192380071fd0c80037005c24..."} 
[2026-07-27 10:42:08] local.INFO: Packet analysis {"connection_id":143903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1f9"} 
[2026-07-27 10:42:08] local.INFO: Extracted packet for processing {"connection_id":143903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1f9"} 
[2026-07-27 10:42:08] local.INFO: GPS Element Parsed {"raw_longitude":756622208,"raw_latitude":119525576,"longitude_deg":75.6622208,"latitude_deg":11.9525576,"altitude":55,"angle":92,"satellites":36,"speed":0,"hex_longitude":"2d192380","hex_latitude":"071fd0c8","is_valid_coordinates":true} 
[2026-07-27 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-07-27 10:42:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993004032001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:42:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8800246255583232,"note":"Value kept but may cause issues"} 
[2026-07-27 10:42:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1811432243219974144,"note":"Value kept but may cause issues"} 
[2026-07-27 10:42:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:42:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785128943000,"timestamp_ms":1785128943000,"timestamp_seconds":1785128943,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1f9fd98"} 
[2026-07-27 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-07-27 10:42:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-07-27 10:42:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 10:42:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:42:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:42:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:42:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:42:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:42:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:42:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:42:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993004032001,"66":13254,"121":206,"28":31744,"24":0,"16":8800246255583232,"45":1811432243219974144},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 10:42:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:42:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:42:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993004032001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:42:08] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 10:42:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:42:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8800246255583232,"km_value":8800246255583.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:42:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1811432243219974144,"description":"Unknown IO ID 45"} 
[2026-07-27 10:42:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993004032001,"power":13254,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1811432243219974144}} 
[2026-07-27 10:42:08] local.INFO: DEBUG: GPS processor result {"connection_id":143903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552669,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:42:08] local.INFO: GPS data processed {"connection_id":143903,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:42:08] local.INFO: Acknowledgment sent {"connection_id":143903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:42:30] local.INFO: TCP Data received {"connection_id":145209,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145209,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:42:30] local.INFO: Processing buffer {"connection_id":145209,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:42:30] local.INFO: IMEI packet received {"connection_id":145209,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 10:42:30] local.INFO: IMEI acknowledgment sent {"connection_id":145209,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:42:32] local.INFO: TCP Data received {"connection_id":142908,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:42:32] local.INFO: Processing buffer {"connection_id":142908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:42:32] local.INFO: IMEI packet received {"connection_id":142908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 10:42:32] local.INFO: IMEI acknowledgment sent {"connection_id":142908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:42:35] local.INFO: TCP Data received {"connection_id":145209,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145209,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:42:35] local.INFO: Processing buffer {"connection_id":145209,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:42:35] local.INFO: IMEI packet received {"connection_id":145209,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 10:42:35] local.INFO: IMEI acknowledgment sent {"connection_id":145209,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:42:36] local.INFO: TCP Data received {"connection_id":145209,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1fa4fa0012d192380071fd0c80037005c24..."} 
[2026-07-27 10:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1fa4fa0012d192380071fd0c80037005c24..."} 
[2026-07-27 10:42:36] local.INFO: Processing buffer {"connection_id":145209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1fa4fa0012d192380071fd0c80037005c24..."} 
[2026-07-27 10:42:36] local.INFO: Packet analysis {"connection_id":145209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1fa"} 
[2026-07-27 10:42:36] local.INFO: Extracted packet for processing {"connection_id":145209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1fa"} 
[2026-07-27 10:42:36] local.INFO: GPS Element Parsed {"raw_longitude":756622208,"raw_latitude":119525576,"longitude_deg":75.6622208,"latitude_deg":11.9525576,"altitude":55,"angle":92,"satellites":36,"speed":0,"hex_longitude":"2d192380","hex_latitude":"071fd0c8","is_valid_coordinates":true} 
[2026-07-27 10:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:42:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993009408001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:42:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8800246255583232,"note":"Value kept but may cause issues"} 
[2026-07-27 10:42:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1811432243219974144,"note":"Value kept but may cause issues"} 
[2026-07-27 10:42:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:42:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785128964000,"timestamp_ms":1785128964000,"timestamp_seconds":1785128964,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1fa4fa0"} 
[2026-07-27 10:42:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:42:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 10:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-27 10:42:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:42:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:42:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:42:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:42:36] local.INFO: Teltonika packet parsed successfully {"connection_id":145209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:42:36] local.INFO: Passing IMEI to GPS processor {"connection_id":145209,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:42:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":145209,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:42:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:42:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:42:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:42:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993009408001,"66":13222,"121":206,"28":31744,"24":0,"16":8800246255583232,"45":1811432243219974144},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 10:42:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:42:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:42:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993009408001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:42:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 10:42:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:42:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8800246255583232,"km_value":8800246255583.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:42:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1811432243219974144,"description":"Unknown IO ID 45"} 
[2026-07-27 10:42:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993009408001,"power":13222,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1811432243219974144}} 
[2026-07-27 10:42:36] local.INFO: DEBUG: GPS processor result {"connection_id":145209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552670,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:42:36] local.INFO: GPS data processed {"connection_id":145209,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:42:36] local.INFO: Acknowledgment sent {"connection_id":145209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:42:37] local.INFO: TCP Data received {"connection_id":142908,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:42:37] local.INFO: Processing buffer {"connection_id":142908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:42:37] local.INFO: IMEI packet received {"connection_id":142908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 10:42:37] local.INFO: IMEI acknowledgment sent {"connection_id":142908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:42:38] local.INFO: TCP Data received {"connection_id":142908,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1fc0908012d7fa5c005afdf800010001428..."} 
[2026-07-27 10:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1fc0908012d7fa5c005afdf800010001428..."} 
[2026-07-27 10:42:38] local.INFO: Processing buffer {"connection_id":142908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1fc0908012d7fa5c005afdf800010001428..."} 
[2026-07-27 10:42:38] local.INFO: Packet analysis {"connection_id":142908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1fc"} 
[2026-07-27 10:42:38] local.INFO: Extracted packet for processing {"connection_id":142908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1fc"} 
[2026-07-27 10:42:38] local.INFO: GPS Element Parsed {"raw_longitude":763340224,"raw_latitude":95412096,"longitude_deg":76.3340224,"latitude_deg":9.5412096,"altitude":16,"angle":20,"satellites":40,"speed":0,"hex_longitude":"2d7fa5c0","hex_latitude":"05afdf80","is_valid_coordinates":true} 
[2026-07-27 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-07-27 10:42:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992966656001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:42:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826891035017216,"note":"Value kept but may cause issues"} 
[2026-07-27 10:42:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197968944632135680,"note":"Value kept but may cause issues"} 
[2026-07-27 10:42:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:42:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785129077000,"timestamp_ms":1785129077000,"timestamp_seconds":1785129077,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1fc0908"} 
[2026-07-27 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-07-27 10:42:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-27 10:42:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 10:42:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:42:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:42:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:42:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:42:38] 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-07-27 10:42:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 10:42:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 10:42:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992966656001,"66":25702,"199":206,"85":12544,"24":0,"16":358826891035017216,"45":9197968944632135680},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-27 10:42:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 10:42:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 10:42:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992966656001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:42:38] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-27 10:42:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 10:42:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826891035017216,"km_value":358826891035017.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:42:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197968944632135680,"description":"Unknown IO ID 45"} 
[2026-07-27 10:42:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992966656001,"power":25702,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197968944632135680}} 
[2026-07-27 10:42:38] local.INFO: DEBUG: GPS processor result {"connection_id":142908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:42:38] local.INFO: GPS data processed {"connection_id":142908,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:42:38] local.INFO: Acknowledgment sent {"connection_id":142908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:42:59] local.INFO: TCP Data received {"connection_id":143904,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 10:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143904,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 10:42:59] local.INFO: Processing buffer {"connection_id":143904,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 10:42:59] local.INFO: IMEI packet received {"connection_id":143904,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 10:42:59] local.INFO: IMEI acknowledgment sent {"connection_id":143904,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:43:08] local.INFO: TCP Data received {"connection_id":145209,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1faa1a8012d192380071fd0c80037005c22..."} 
[2026-07-27 10:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1faa1a8012d192380071fd0c80037005c22..."} 
[2026-07-27 10:43:08] local.INFO: Processing buffer {"connection_id":145209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1faa1a8012d192380071fd0c80037005c22..."} 
[2026-07-27 10:43:08] local.INFO: Packet analysis {"connection_id":145209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1fa"} 
[2026-07-27 10:43:08] local.INFO: Extracted packet for processing {"connection_id":145209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1fa"} 
[2026-07-27 10:43:08] local.INFO: GPS Element Parsed {"raw_longitude":756622208,"raw_latitude":119525576,"longitude_deg":75.6622208,"latitude_deg":11.9525576,"altitude":55,"angle":92,"satellites":34,"speed":0,"hex_longitude":"2d192380","hex_latitude":"071fd0c8","is_valid_coordinates":true} 
[2026-07-27 10:43:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:43:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993014784001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:43:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8800246255583232,"note":"Value kept but may cause issues"} 
[2026-07-27 10:43:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1811432243219974144,"note":"Value kept but may cause issues"} 
[2026-07-27 10:43:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:43:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785128985000,"timestamp_ms":1785128985000,"timestamp_seconds":1785128985,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1faa1a8"} 
[2026-07-27 10:43:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:43:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 10: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-27 10:43:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:43:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:43:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:43:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:43:08] local.INFO: Teltonika packet parsed successfully {"connection_id":145209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:43:08] local.INFO: Passing IMEI to GPS processor {"connection_id":145209,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:43:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":145209,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:43:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:43:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:43:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:43:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993014784001,"66":13091,"121":206,"28":31744,"24":0,"16":8800246255583232,"45":1811432243219974144},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 10:43:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:43:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:43:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993014784001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:43:08] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 10:43:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:43:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8800246255583232,"km_value":8800246255583.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:43:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1811432243219974144,"description":"Unknown IO ID 45"} 
[2026-07-27 10:43:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993014784001,"power":13091,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1811432243219974144}} 
[2026-07-27 10:43:08] local.INFO: DEBUG: GPS processor result {"connection_id":145209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552672,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:43:08] local.INFO: GPS data processed {"connection_id":145209,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:43:08] local.INFO: Acknowledgment sent {"connection_id":145209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:43:09] local.INFO: TCP Data received {"connection_id":142908,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1fc0908012d7fa5c005afdf800010001428..."} 
[2026-07-27 10:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1fc0908012d7fa5c005afdf800010001428..."} 
[2026-07-27 10:43:09] local.INFO: Processing buffer {"connection_id":142908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1fc0908012d7fa5c005afdf800010001428..."} 
[2026-07-27 10:43:09] local.INFO: Packet analysis {"connection_id":142908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1fc"} 
[2026-07-27 10:43:09] local.INFO: Extracted packet for processing {"connection_id":142908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1fc"} 
[2026-07-27 10:43:09] local.INFO: GPS Element Parsed {"raw_longitude":763340224,"raw_latitude":95412096,"longitude_deg":76.3340224,"latitude_deg":9.5412096,"altitude":16,"angle":20,"satellites":40,"speed":0,"hex_longitude":"2d7fa5c0","hex_latitude":"05afdf80","is_valid_coordinates":true} 
[2026-07-27 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-07-27 10:43:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992966656001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:43:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826891035017216,"note":"Value kept but may cause issues"} 
[2026-07-27 10:43:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197968944632135680,"note":"Value kept but may cause issues"} 
[2026-07-27 10:43:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:43:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785129077000,"timestamp_ms":1785129077000,"timestamp_seconds":1785129077,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1fc0908"} 
[2026-07-27 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-07-27 10:43:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-27 10:43:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 10:43:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:43:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:43:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:43:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:43: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-07-27 10:43:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 10:43:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 10:43:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992966656001,"66":25702,"199":206,"85":12544,"24":0,"16":358826891035017216,"45":9197968944632135680},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-27 10:43:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 10:43:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 10:43:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992966656001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:43:09] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-27 10:43:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 10:43:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826891035017216,"km_value":358826891035017.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:43:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197968944632135680,"description":"Unknown IO ID 45"} 
[2026-07-27 10:43:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992966656001,"power":25702,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197968944632135680}} 
[2026-07-27 10:43:09] local.INFO: DEBUG: GPS processor result {"connection_id":142908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:43:09] local.INFO: GPS data processed {"connection_id":142908,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:43:09] local.INFO: Acknowledgment sent {"connection_id":142908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:43:32] local.INFO: TCP Data received {"connection_id":142780,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142780,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:43:32] local.INFO: Processing buffer {"connection_id":142780,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:43:32] local.INFO: IMEI packet received {"connection_id":142780,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 10:43:32] local.INFO: IMEI acknowledgment sent {"connection_id":142780,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:43:32] local.INFO: TCP Data received {"connection_id":142781,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:43:32] local.INFO: Processing buffer {"connection_id":142781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:43:32] local.INFO: IMEI packet received {"connection_id":142781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 10:43:32] local.INFO: IMEI acknowledgment sent {"connection_id":142781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:43:35] local.INFO: TCP Data received {"connection_id":142780,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142780,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:43:35] local.INFO: Processing buffer {"connection_id":142780,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:43:35] local.INFO: IMEI packet received {"connection_id":142780,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 10:43:35] local.INFO: IMEI acknowledgment sent {"connection_id":142780,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:43:37] local.INFO: TCP Data received {"connection_id":142781,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:43:37] local.INFO: Processing buffer {"connection_id":142781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:43:37] local.INFO: IMEI packet received {"connection_id":142781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 10:43:37] local.INFO: IMEI acknowledgment sent {"connection_id":142781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:43:38] local.INFO: TCP Data received {"connection_id":142781,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1fc0908012d7fa5c005afdf800010001428..."} 
[2026-07-27 10:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1fc0908012d7fa5c005afdf800010001428..."} 
[2026-07-27 10:43:38] local.INFO: Processing buffer {"connection_id":142781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1fc0908012d7fa5c005afdf800010001428..."} 
[2026-07-27 10:43:38] local.INFO: Packet analysis {"connection_id":142781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1fc"} 
[2026-07-27 10:43:38] local.INFO: Extracted packet for processing {"connection_id":142781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1fc"} 
[2026-07-27 10:43:38] local.INFO: GPS Element Parsed {"raw_longitude":763340224,"raw_latitude":95412096,"longitude_deg":76.3340224,"latitude_deg":9.5412096,"altitude":16,"angle":20,"satellites":40,"speed":0,"hex_longitude":"2d7fa5c0","hex_latitude":"05afdf80","is_valid_coordinates":true} 
[2026-07-27 10:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:43:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992966656001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:43:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826891035017216,"note":"Value kept but may cause issues"} 
[2026-07-27 10:43:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197968944632135680,"note":"Value kept but may cause issues"} 
[2026-07-27 10:43:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:43:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785129077000,"timestamp_ms":1785129077000,"timestamp_seconds":1785129077,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1fc0908"} 
[2026-07-27 10:43:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:43:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 10:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-27 10:43:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:43:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:43:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:43:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:43:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:43:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:43:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:43:38] 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-07-27 10:43:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 10:43:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 10:43:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992966656001,"66":25702,"199":206,"85":12544,"24":0,"16":358826891035017216,"45":9197968944632135680},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-27 10:43:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 10:43:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 10:43:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992966656001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:43:38] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-27 10:43:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 10:43:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826891035017216,"km_value":358826891035017.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:43:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197968944632135680,"description":"Unknown IO ID 45"} 
[2026-07-27 10:43:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992966656001,"power":25702,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197968944632135680}} 
[2026-07-27 10:43:38] local.INFO: DEBUG: GPS processor result {"connection_id":142781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:43:38] local.INFO: GPS data processed {"connection_id":142781,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:43:38] local.INFO: Acknowledgment sent {"connection_id":142781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:43:40] local.INFO: TCP Data received {"connection_id":142780,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142780,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:43:40] local.INFO: Processing buffer {"connection_id":142780,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:43:40] local.INFO: IMEI packet received {"connection_id":142780,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 10:43:40] local.INFO: IMEI acknowledgment sent {"connection_id":142780,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:43:41] local.INFO: TCP Data received {"connection_id":142780,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1faf3b0012d192380071fd0c80037005c25..."} 
[2026-07-27 10:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1faf3b0012d192380071fd0c80037005c25..."} 
[2026-07-27 10:43:41] local.INFO: Processing buffer {"connection_id":142780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1faf3b0012d192380071fd0c80037005c25..."} 
[2026-07-27 10:43:41] local.INFO: Packet analysis {"connection_id":142780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1fa"} 
[2026-07-27 10:43:41] local.INFO: Extracted packet for processing {"connection_id":142780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1fa"} 
[2026-07-27 10:43:41] local.INFO: GPS Element Parsed {"raw_longitude":756622208,"raw_latitude":119525576,"longitude_deg":75.6622208,"latitude_deg":11.9525576,"altitude":55,"angle":92,"satellites":37,"speed":0,"hex_longitude":"2d192380","hex_latitude":"071fd0c8","is_valid_coordinates":true} 
[2026-07-27 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-07-27 10:43:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993020160001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:43:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8800246255583232,"note":"Value kept but may cause issues"} 
[2026-07-27 10:43:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1811432243219974144,"note":"Value kept but may cause issues"} 
[2026-07-27 10:43:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:43:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785129006000,"timestamp_ms":1785129006000,"timestamp_seconds":1785129006,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1faf3b0"} 
[2026-07-27 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-07-27 10:43:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-27 10:43:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 10:43:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:43:41] local.INFO: Teltonika packet parsed successfully {"connection_id":142780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:43:41] local.INFO: Passing IMEI to GPS processor {"connection_id":142780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:43:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":142780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:43:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:43:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:43:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:43:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993020160001,"66":13080,"121":206,"28":31744,"24":0,"16":8800246255583232,"45":1811432243219974144},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 10:43:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:43:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:43:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993020160001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:43:41] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 10:43:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:43:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8800246255583232,"km_value":8800246255583.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:43:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1811432243219974144,"description":"Unknown IO ID 45"} 
[2026-07-27 10:43:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993020160001,"power":13080,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1811432243219974144}} 
[2026-07-27 10:43:42] local.INFO: DEBUG: GPS processor result {"connection_id":142780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552675,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:43:42] local.INFO: GPS data processed {"connection_id":142780,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:43:42] local.INFO: Acknowledgment sent {"connection_id":142780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:43:46] local.INFO: TCP Data received {"connection_id":142780,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1fb45b8012d192380071fd0c80037005c26..."} 
[2026-07-27 10:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1fb45b8012d192380071fd0c80037005c26..."} 
[2026-07-27 10:43:46] local.INFO: Processing buffer {"connection_id":142780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1fb45b8012d192380071fd0c80037005c26..."} 
[2026-07-27 10:43:46] local.INFO: Packet analysis {"connection_id":142780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1fb"} 
[2026-07-27 10:43:46] local.INFO: Extracted packet for processing {"connection_id":142780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1fb"} 
[2026-07-27 10:43:46] local.INFO: GPS Element Parsed {"raw_longitude":756622208,"raw_latitude":119525576,"longitude_deg":75.6622208,"latitude_deg":11.9525576,"altitude":55,"angle":92,"satellites":38,"speed":0,"hex_longitude":"2d192380","hex_latitude":"071fd0c8","is_valid_coordinates":true} 
[2026-07-27 10:43:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:43:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993025536001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:43:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8800246255583232,"note":"Value kept but may cause issues"} 
[2026-07-27 10:43:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1811432243219974144,"note":"Value kept but may cause issues"} 
[2026-07-27 10:43: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-07-27 10:43:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785129027000,"timestamp_ms":1785129027000,"timestamp_seconds":1785129027,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1fb45b8"} 
[2026-07-27 10:43:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:43:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 10:43:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-07-27 10:43:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:43:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:43:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:43:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:43:46] local.INFO: Teltonika packet parsed successfully {"connection_id":142780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:43:46] local.INFO: Passing IMEI to GPS processor {"connection_id":142780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:43:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":142780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:43:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:43:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:43:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:43:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993025536001,"66":13015,"121":206,"28":31744,"24":0,"16":8800246255583232,"45":1811432243219974144},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 10:43:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:43:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:43:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993025536001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:43:46] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 10:43:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:43:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8800246255583232,"km_value":8800246255583.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:43:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1811432243219974144,"description":"Unknown IO ID 45"} 
[2026-07-27 10:43:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993025536001,"power":13015,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1811432243219974144}} 
[2026-07-27 10:43:46] local.INFO: DEBUG: GPS processor result {"connection_id":142780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552676,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:43:46] local.INFO: GPS data processed {"connection_id":142780,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:43:46] local.INFO: Acknowledgment sent {"connection_id":142780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:44:09] local.INFO: TCP Data received {"connection_id":142781,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1fc0908012d7fa5c005afdf800010001428..."} 
[2026-07-27 10:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1fc0908012d7fa5c005afdf800010001428..."} 
[2026-07-27 10:44:09] local.INFO: Processing buffer {"connection_id":142781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1fc0908012d7fa5c005afdf800010001428..."} 
[2026-07-27 10:44:09] local.INFO: Packet analysis {"connection_id":142781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1fc"} 
[2026-07-27 10:44:09] local.INFO: Extracted packet for processing {"connection_id":142781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1fc"} 
[2026-07-27 10:44:09] local.INFO: GPS Element Parsed {"raw_longitude":763340224,"raw_latitude":95412096,"longitude_deg":76.3340224,"latitude_deg":9.5412096,"altitude":16,"angle":20,"satellites":40,"speed":0,"hex_longitude":"2d7fa5c0","hex_latitude":"05afdf80","is_valid_coordinates":true} 
[2026-07-27 10:44:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:44:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992966656001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:44:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826891035017216,"note":"Value kept but may cause issues"} 
[2026-07-27 10:44:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197968944632135680,"note":"Value kept but may cause issues"} 
[2026-07-27 10:44:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:44:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785129077000,"timestamp_ms":1785129077000,"timestamp_seconds":1785129077,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1fc0908"} 
[2026-07-27 10:44:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:44:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 10: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-27 10:44:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:44:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:44:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:44:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:44:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:44:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:44:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:44: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-07-27 10:44:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 10:44:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 10:44:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992966656001,"66":25702,"199":206,"85":12544,"24":0,"16":358826891035017216,"45":9197968944632135680},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-27 10:44:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 10:44:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 10:44:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992966656001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:44:09] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-27 10:44:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 10:44:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826891035017216,"km_value":358826891035017.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:44:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197968944632135680,"description":"Unknown IO ID 45"} 
[2026-07-27 10:44:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992966656001,"power":25702,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197968944632135680}} 
[2026-07-27 10:44:09] local.INFO: DEBUG: GPS processor result {"connection_id":142781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:44:09] local.INFO: GPS data processed {"connection_id":142781,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:44:09] local.INFO: Acknowledgment sent {"connection_id":142781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:44:30] local.INFO: TCP Data received {"connection_id":142782,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142782,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:44:30] local.INFO: Processing buffer {"connection_id":142782,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:44:30] local.INFO: IMEI packet received {"connection_id":142782,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 10:44:30] local.INFO: IMEI acknowledgment sent {"connection_id":142782,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:44:32] local.INFO: TCP Data received {"connection_id":142783,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:44:32] local.INFO: Processing buffer {"connection_id":142783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:44:32] local.INFO: IMEI packet received {"connection_id":142783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 10:44:32] local.INFO: IMEI acknowledgment sent {"connection_id":142783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:44:35] local.INFO: TCP Data received {"connection_id":142782,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142782,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:44:35] local.INFO: Processing buffer {"connection_id":142782,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:44:35] local.INFO: IMEI packet received {"connection_id":142782,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 10:44:35] local.INFO: IMEI acknowledgment sent {"connection_id":142782,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:44:37] local.INFO: TCP Data received {"connection_id":142782,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1fb97c0012d192380071fd0c80037005c26..."} 
[2026-07-27 10:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1fb97c0012d192380071fd0c80037005c26..."} 
[2026-07-27 10:44:37] local.INFO: Processing buffer {"connection_id":142782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1fb97c0012d192380071fd0c80037005c26..."} 
[2026-07-27 10:44:37] local.INFO: Packet analysis {"connection_id":142782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1fb"} 
[2026-07-27 10:44:37] local.INFO: Extracted packet for processing {"connection_id":142782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1fb"} 
[2026-07-27 10:44:37] local.INFO: GPS Element Parsed {"raw_longitude":756622208,"raw_latitude":119525576,"longitude_deg":75.6622208,"latitude_deg":11.9525576,"altitude":55,"angle":92,"satellites":38,"speed":0,"hex_longitude":"2d192380","hex_latitude":"071fd0c8","is_valid_coordinates":true} 
[2026-07-27 10:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:44:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993030912001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:44:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8800246255583232,"note":"Value kept but may cause issues"} 
[2026-07-27 10:44:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1811432243219974144,"note":"Value kept but may cause issues"} 
[2026-07-27 10:44:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:44:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785129048000,"timestamp_ms":1785129048000,"timestamp_seconds":1785129048,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1fb97c0"} 
[2026-07-27 10:44:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:44:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 10:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-27 10:44:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:44:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:44:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:44:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:44:37] local.INFO: Teltonika packet parsed successfully {"connection_id":142782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:44:37] local.INFO: Passing IMEI to GPS processor {"connection_id":142782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:44:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":142782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:44:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:44:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:44:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:44:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993030912001,"66":12254,"121":206,"28":31744,"24":0,"16":8800246255583232,"45":1811432243219974144},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 10:44:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:44:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:44:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993030912001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:44:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 10:44:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:44:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8800246255583232,"km_value":8800246255583.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:44:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1811432243219974144,"description":"Unknown IO ID 45"} 
[2026-07-27 10:44:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993030912001,"power":12254,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1811432243219974144}} 
[2026-07-27 10:44:37] local.INFO: DEBUG: GPS processor result {"connection_id":142782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552678,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:44:37] local.INFO: GPS data processed {"connection_id":142782,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:44:37] local.INFO: Acknowledgment sent {"connection_id":142782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:44:37] local.INFO: TCP Data received {"connection_id":142783,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:44:37] local.INFO: Processing buffer {"connection_id":142783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:44:37] local.INFO: IMEI packet received {"connection_id":142783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 10:44:37] local.INFO: IMEI acknowledgment sent {"connection_id":142783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:44:38] local.INFO: TCP Data received {"connection_id":142783,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1fc0908012d7fa5c005afdf800010001428..."} 
[2026-07-27 10:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142783,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1fc0908012d7fa5c005afdf800010001428..."} 
[2026-07-27 10:44:38] local.INFO: Processing buffer {"connection_id":142783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1fc0908012d7fa5c005afdf800010001428..."} 
[2026-07-27 10:44:38] local.INFO: Packet analysis {"connection_id":142783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1fc"} 
[2026-07-27 10:44:38] local.INFO: Extracted packet for processing {"connection_id":142783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1fc"} 
[2026-07-27 10:44:38] local.INFO: GPS Element Parsed {"raw_longitude":763340224,"raw_latitude":95412096,"longitude_deg":76.3340224,"latitude_deg":9.5412096,"altitude":16,"angle":20,"satellites":40,"speed":0,"hex_longitude":"2d7fa5c0","hex_latitude":"05afdf80","is_valid_coordinates":true} 
[2026-07-27 10:44:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:44:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992966656001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:44:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826891035017216,"note":"Value kept but may cause issues"} 
[2026-07-27 10:44:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197968944632135680,"note":"Value kept but may cause issues"} 
[2026-07-27 10:44:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:44:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785129077000,"timestamp_ms":1785129077000,"timestamp_seconds":1785129077,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1fc0908"} 
[2026-07-27 10:44:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:44:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 10:44:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-27 10:44:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:44:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:44:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:44:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:44:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:44:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:44:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:44:38] 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-07-27 10:44:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 10:44:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 10:44:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992966656001,"66":25702,"199":206,"85":12544,"24":0,"16":358826891035017216,"45":9197968944632135680},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-27 10:44:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 10:44:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 10:44:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992966656001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:44:38] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-27 10:44:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 10:44:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826891035017216,"km_value":358826891035017.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:44:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197968944632135680,"description":"Unknown IO ID 45"} 
[2026-07-27 10:44:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992966656001,"power":25702,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197968944632135680}} 
[2026-07-27 10:44:38] local.INFO: DEBUG: GPS processor result {"connection_id":142783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:44:38] local.INFO: GPS data processed {"connection_id":142783,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:44:38] local.INFO: Acknowledgment sent {"connection_id":142783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:45:08] local.INFO: TCP Data received {"connection_id":142782,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1fbe9c8012d192380071fd0c80037005c26..."} 
[2026-07-27 10:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1fbe9c8012d192380071fd0c80037005c26..."} 
[2026-07-27 10:45:08] local.INFO: Processing buffer {"connection_id":142782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1fbe9c8012d192380071fd0c80037005c26..."} 
[2026-07-27 10:45:08] local.INFO: Packet analysis {"connection_id":142782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1fb"} 
[2026-07-27 10:45:08] local.INFO: Extracted packet for processing {"connection_id":142782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1fb"} 
[2026-07-27 10:45:08] local.INFO: GPS Element Parsed {"raw_longitude":756622208,"raw_latitude":119525576,"longitude_deg":75.6622208,"latitude_deg":11.9525576,"altitude":55,"angle":92,"satellites":38,"speed":0,"hex_longitude":"2d192380","hex_latitude":"071fd0c8","is_valid_coordinates":true} 
[2026-07-27 10:45:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:45:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993036288001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:45:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8800246255583232,"note":"Value kept but may cause issues"} 
[2026-07-27 10:45:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1811432243219974144,"note":"Value kept but may cause issues"} 
[2026-07-27 10:45:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:45:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785129069000,"timestamp_ms":1785129069000,"timestamp_seconds":1785129069,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1fbe9c8"} 
[2026-07-27 10:45:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:45:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 10: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-27 10:45:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:45:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:45:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:45:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:45:08] local.INFO: Teltonika packet parsed successfully {"connection_id":142782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:45:08] local.INFO: Passing IMEI to GPS processor {"connection_id":142782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:45:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":142782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:45:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:45:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:45:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:45:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993036288001,"66":12885,"121":206,"28":31744,"24":0,"16":8800246255583232,"45":1811432243219974144},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 10:45:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:45:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:45:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993036288001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:45:08] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 10:45:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:45:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8800246255583232,"km_value":8800246255583.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:45:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1811432243219974144,"description":"Unknown IO ID 45"} 
[2026-07-27 10:45:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993036288001,"power":12885,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1811432243219974144}} 
[2026-07-27 10:45:08] local.INFO: DEBUG: GPS processor result {"connection_id":142782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552680,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:45:08] local.INFO: GPS data processed {"connection_id":142782,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:45:08] local.INFO: Acknowledgment sent {"connection_id":142782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:45:09] local.INFO: TCP Data received {"connection_id":142783,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1fc0908012d7fa5c005afdf800010001428..."} 
[2026-07-27 10:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142783,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1fc0908012d7fa5c005afdf800010001428..."} 
[2026-07-27 10:45:09] local.INFO: Processing buffer {"connection_id":142783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1fc0908012d7fa5c005afdf800010001428..."} 
[2026-07-27 10:45:09] local.INFO: Packet analysis {"connection_id":142783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1fc"} 
[2026-07-27 10:45:09] local.INFO: Extracted packet for processing {"connection_id":142783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1fc"} 
[2026-07-27 10:45:09] local.INFO: GPS Element Parsed {"raw_longitude":763340224,"raw_latitude":95412096,"longitude_deg":76.3340224,"latitude_deg":9.5412096,"altitude":16,"angle":20,"satellites":40,"speed":0,"hex_longitude":"2d7fa5c0","hex_latitude":"05afdf80","is_valid_coordinates":true} 
[2026-07-27 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-07-27 10:45:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992966656001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:45:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826891035017216,"note":"Value kept but may cause issues"} 
[2026-07-27 10:45:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197968944632135680,"note":"Value kept but may cause issues"} 
[2026-07-27 10:45:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:45:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785129077000,"timestamp_ms":1785129077000,"timestamp_seconds":1785129077,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1fc0908"} 
[2026-07-27 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-07-27 10:45:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-27 10:45:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 10:45:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:45:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:45:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:45:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10: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-07-27 10:45:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 10:45:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 10:45:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992966656001,"66":25702,"199":206,"85":12544,"24":0,"16":358826891035017216,"45":9197968944632135680},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-27 10:45:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 10:45:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 10:45:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992966656001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:45:09] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-27 10:45:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 10:45:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826891035017216,"km_value":358826891035017.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:45:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197968944632135680,"description":"Unknown IO ID 45"} 
[2026-07-27 10:45:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992966656001,"power":25702,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197968944632135680}} 
[2026-07-27 10:45:09] local.INFO: DEBUG: GPS processor result {"connection_id":142783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:45:09] local.INFO: GPS data processed {"connection_id":142783,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:45:09] local.INFO: Acknowledgment sent {"connection_id":142783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:45:30] local.INFO: TCP Data received {"connection_id":145210,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145210,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:45:30] local.INFO: Processing buffer {"connection_id":145210,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:45:30] local.INFO: IMEI packet received {"connection_id":145210,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 10:45:30] local.INFO: IMEI acknowledgment sent {"connection_id":145210,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:45:32] local.INFO: TCP Data received {"connection_id":145211,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:45:32] local.INFO: Processing buffer {"connection_id":145211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:45:32] local.INFO: IMEI packet received {"connection_id":145211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 10:45:32] local.INFO: IMEI acknowledgment sent {"connection_id":145211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:45:35] local.INFO: TCP Data received {"connection_id":145210,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145210,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:45:35] local.INFO: Processing buffer {"connection_id":145210,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:45:35] local.INFO: IMEI packet received {"connection_id":145210,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 10:45:35] local.INFO: IMEI acknowledgment sent {"connection_id":145210,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:45:36] local.INFO: TCP Data received {"connection_id":145210,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1fc3bd0012d192380071fd0c80037005c24..."} 
[2026-07-27 10:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1fc3bd0012d192380071fd0c80037005c24..."} 
[2026-07-27 10:45:36] local.INFO: Processing buffer {"connection_id":145210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1fc3bd0012d192380071fd0c80037005c24..."} 
[2026-07-27 10:45:36] local.INFO: Packet analysis {"connection_id":145210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1fc"} 
[2026-07-27 10:45:36] local.INFO: Extracted packet for processing {"connection_id":145210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1fc"} 
[2026-07-27 10:45:36] local.INFO: GPS Element Parsed {"raw_longitude":756622208,"raw_latitude":119525576,"longitude_deg":75.6622208,"latitude_deg":11.9525576,"altitude":55,"angle":92,"satellites":36,"speed":0,"hex_longitude":"2d192380","hex_latitude":"071fd0c8","is_valid_coordinates":true} 
[2026-07-27 10:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:45:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993041664001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:45:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8800246255583232,"note":"Value kept but may cause issues"} 
[2026-07-27 10:45:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1811432243219974144,"note":"Value kept but may cause issues"} 
[2026-07-27 10:45:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:45:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785129090000,"timestamp_ms":1785129090000,"timestamp_seconds":1785129090,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1fc3bd0"} 
[2026-07-27 10:45:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:45:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 10:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-27 10:45:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:45:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:45:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:45:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:45:36] local.INFO: Teltonika packet parsed successfully {"connection_id":145210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:45:36] local.INFO: Passing IMEI to GPS processor {"connection_id":145210,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:45:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":145210,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:45:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:45:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:45:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:45:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993041664001,"66":12841,"121":206,"28":31744,"24":0,"16":8800246255583232,"45":1811432243219974144},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 10:45:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:45:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:45:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993041664001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:45:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 10:45:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:45:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8800246255583232,"km_value":8800246255583.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:45:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1811432243219974144,"description":"Unknown IO ID 45"} 
[2026-07-27 10:45:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993041664001,"power":12841,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1811432243219974144}} 
[2026-07-27 10:45:36] local.INFO: DEBUG: GPS processor result {"connection_id":145210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552682,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:45:36] local.INFO: GPS data processed {"connection_id":145210,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:45:36] local.INFO: Acknowledgment sent {"connection_id":145210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:45:37] local.INFO: TCP Data received {"connection_id":145211,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:45:37] local.INFO: Processing buffer {"connection_id":145211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:45:37] local.INFO: IMEI packet received {"connection_id":145211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 10:45:37] local.INFO: IMEI acknowledgment sent {"connection_id":145211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:45:38] local.INFO: TCP Data received {"connection_id":145211,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1fc0908012d7fa5c005afdf800010001428..."} 
[2026-07-27 10:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145211,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1fc0908012d7fa5c005afdf800010001428..."} 
[2026-07-27 10:45:38] local.INFO: Processing buffer {"connection_id":145211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1fc0908012d7fa5c005afdf800010001428..."} 
[2026-07-27 10:45:38] local.INFO: Packet analysis {"connection_id":145211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1fc"} 
[2026-07-27 10:45:38] local.INFO: Extracted packet for processing {"connection_id":145211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1fc"} 
[2026-07-27 10:45:38] local.INFO: GPS Element Parsed {"raw_longitude":763340224,"raw_latitude":95412096,"longitude_deg":76.3340224,"latitude_deg":9.5412096,"altitude":16,"angle":20,"satellites":40,"speed":0,"hex_longitude":"2d7fa5c0","hex_latitude":"05afdf80","is_valid_coordinates":true} 
[2026-07-27 10:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:45:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992966656001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:45:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826891035017216,"note":"Value kept but may cause issues"} 
[2026-07-27 10:45:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197968944632135680,"note":"Value kept but may cause issues"} 
[2026-07-27 10:45:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:45:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785129077000,"timestamp_ms":1785129077000,"timestamp_seconds":1785129077,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1fc0908"} 
[2026-07-27 10:45:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:45:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 10: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-27 10:45:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:45:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:45:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:45:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:45:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:45:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:45:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:45:38] 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-07-27 10:45:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 10:45:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 10:45:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992966656001,"66":25702,"199":206,"85":12544,"24":0,"16":358826891035017216,"45":9197968944632135680},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-27 10:45:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 10:45:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 10:45:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992966656001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:45:38] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-27 10:45:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 10:45:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826891035017216,"km_value":358826891035017.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:45:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197968944632135680,"description":"Unknown IO ID 45"} 
[2026-07-27 10:45:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992966656001,"power":25702,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197968944632135680}} 
[2026-07-27 10:45:38] local.INFO: DEBUG: GPS processor result {"connection_id":145211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:45:38] local.INFO: GPS data processed {"connection_id":145211,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:45:38] local.INFO: Acknowledgment sent {"connection_id":145211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:46:08] local.INFO: TCP Data received {"connection_id":145210,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1fc8dd8012d192380071fd0c80037005c23..."} 
[2026-07-27 10:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1fc8dd8012d192380071fd0c80037005c23..."} 
[2026-07-27 10:46:08] local.INFO: Processing buffer {"connection_id":145210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1fc8dd8012d192380071fd0c80037005c23..."} 
[2026-07-27 10:46:08] local.INFO: Packet analysis {"connection_id":145210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1fc"} 
[2026-07-27 10:46:08] local.INFO: Extracted packet for processing {"connection_id":145210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1fc"} 
[2026-07-27 10:46:08] local.INFO: GPS Element Parsed {"raw_longitude":756622208,"raw_latitude":119525576,"longitude_deg":75.6622208,"latitude_deg":11.9525576,"altitude":55,"angle":92,"satellites":35,"speed":0,"hex_longitude":"2d192380","hex_latitude":"071fd0c8","is_valid_coordinates":true} 
[2026-07-27 10:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:46:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993047040001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:46:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8800246255583232,"note":"Value kept but may cause issues"} 
[2026-07-27 10:46:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1811432243219974144,"note":"Value kept but may cause issues"} 
[2026-07-27 10:46:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:46:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785129111000,"timestamp_ms":1785129111000,"timestamp_seconds":1785129111,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1fc8dd8"} 
[2026-07-27 10:46:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:46:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 10: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-27 10:46:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:46:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:46:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:46:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:46:08] local.INFO: Teltonika packet parsed successfully {"connection_id":145210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:46:08] local.INFO: Passing IMEI to GPS processor {"connection_id":145210,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:46:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":145210,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:46:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:46:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:46:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:46:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993047040001,"66":12809,"121":206,"28":31744,"24":0,"16":8800246255583232,"45":1811432243219974144},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 10:46:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:46:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:46:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993047040001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:46:08] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 10:46:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:46:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8800246255583232,"km_value":8800246255583.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:46:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1811432243219974144,"description":"Unknown IO ID 45"} 
[2026-07-27 10:46:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993047040001,"power":12809,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1811432243219974144}} 
[2026-07-27 10:46:08] local.INFO: DEBUG: GPS processor result {"connection_id":145210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552684,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:46:08] local.INFO: GPS data processed {"connection_id":145210,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:46:08] local.INFO: Acknowledgment sent {"connection_id":145210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:46:09] local.INFO: TCP Data received {"connection_id":145211,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1fc0908012d7fa5c005afdf800010001428..."} 
[2026-07-27 10:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145211,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1fc0908012d7fa5c005afdf800010001428..."} 
[2026-07-27 10:46:09] local.INFO: Processing buffer {"connection_id":145211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1fc0908012d7fa5c005afdf800010001428..."} 
[2026-07-27 10:46:09] local.INFO: Packet analysis {"connection_id":145211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1fc"} 
[2026-07-27 10:46:09] local.INFO: Extracted packet for processing {"connection_id":145211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1fc"} 
[2026-07-27 10:46:09] local.INFO: GPS Element Parsed {"raw_longitude":763340224,"raw_latitude":95412096,"longitude_deg":76.3340224,"latitude_deg":9.5412096,"altitude":16,"angle":20,"satellites":40,"speed":0,"hex_longitude":"2d7fa5c0","hex_latitude":"05afdf80","is_valid_coordinates":true} 
[2026-07-27 10:46:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:46:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992966656001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:46:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826891035017216,"note":"Value kept but may cause issues"} 
[2026-07-27 10:46:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197968944632135680,"note":"Value kept but may cause issues"} 
[2026-07-27 10:46:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:46:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785129077000,"timestamp_ms":1785129077000,"timestamp_seconds":1785129077,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1fc0908"} 
[2026-07-27 10:46:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:46:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-27 10:46:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:46:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:46:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:46:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:46:09] local.INFO: Teltonika packet parsed successfully {"connection_id":145211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:46:09] local.INFO: Passing IMEI to GPS processor {"connection_id":145211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:46:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":145211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 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-07-27 10:46:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 10:46:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 10:46:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992966656001,"66":25702,"199":206,"85":12544,"24":0,"16":358826891035017216,"45":9197968944632135680},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-27 10:46:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 10:46:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 10:46:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992966656001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:46:09] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-27 10:46:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 10:46:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826891035017216,"km_value":358826891035017.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:46:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197968944632135680,"description":"Unknown IO ID 45"} 
[2026-07-27 10:46:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992966656001,"power":25702,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197968944632135680}} 
[2026-07-27 10:46:09] local.INFO: DEBUG: GPS processor result {"connection_id":145211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:46:09] local.INFO: GPS data processed {"connection_id":145211,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:46:09] local.INFO: Acknowledgment sent {"connection_id":145211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:46:30] local.INFO: TCP Data received {"connection_id":143905,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143905,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:46:30] local.INFO: Processing buffer {"connection_id":143905,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:46:30] local.INFO: IMEI packet received {"connection_id":143905,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 10:46:30] local.INFO: IMEI acknowledgment sent {"connection_id":143905,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:46:35] local.INFO: TCP Data received {"connection_id":143905,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143905,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:46:35] local.INFO: Processing buffer {"connection_id":143905,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:46:35] local.INFO: IMEI packet received {"connection_id":143905,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 10:46:35] local.INFO: IMEI acknowledgment sent {"connection_id":143905,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:46:36] local.INFO: TCP Data received {"connection_id":143905,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1fcdfe0012d192380071fd0c80037005c26..."} 
[2026-07-27 10:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143905,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1fcdfe0012d192380071fd0c80037005c26..."} 
[2026-07-27 10:46:36] local.INFO: Processing buffer {"connection_id":143905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1fcdfe0012d192380071fd0c80037005c26..."} 
[2026-07-27 10:46:36] local.INFO: Packet analysis {"connection_id":143905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1fc"} 
[2026-07-27 10:46:36] local.INFO: Extracted packet for processing {"connection_id":143905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1fc"} 
[2026-07-27 10:46:36] local.INFO: GPS Element Parsed {"raw_longitude":756622208,"raw_latitude":119525576,"longitude_deg":75.6622208,"latitude_deg":11.9525576,"altitude":55,"angle":92,"satellites":38,"speed":0,"hex_longitude":"2d192380","hex_latitude":"071fd0c8","is_valid_coordinates":true} 
[2026-07-27 10:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:46:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993052416001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:46:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8800246255583232,"note":"Value kept but may cause issues"} 
[2026-07-27 10:46:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1811432243219974144,"note":"Value kept but may cause issues"} 
[2026-07-27 10:46:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:46:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785129132000,"timestamp_ms":1785129132000,"timestamp_seconds":1785129132,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1fcdfe0"} 
[2026-07-27 10:46:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:46:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 10:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-07-27 10:46:36] local.WARNING: Large IO value detected {"io_id":67,"raw_value":3338665984,"note":"Value kept but may cause issues"} 
[2026-07-27 10:46:36] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2717557160,"note":"Value kept but may cause issues"} 
[2026-07-27 10:46:36] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-27 10:46:36] local.WARNING: Large IO value detected {"io_id":161,"raw_value":-409933114155392128,"note":"Value kept but may cause issues"} 
[2026-07-27 10:46:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-27 10:46:36] local.WARNING: Large IO value detected {"io_id":243,"raw_value":2952867097,"note":"Value kept but may cause issues"} 
[2026-07-27 10:46:36] local.WARNING: Large IO value detected {"io_id":35,"raw_value":2147950544,"note":"Value kept but may cause issues"} 
[2026-07-27 10:46:36] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":3604572,"corrected_to":0} 
[2026-07-27 10:46:36] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2522242185378713116,"note":"Value kept but may cause issues"} 
[2026-07-27 10:46:36] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2292552113579908132,"note":"Value kept but may cause issues"} 
[2026-07-27 10:46:36] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-07-27 10:46:36] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,121,28,24,241,158,16,67,159,59,45,128,208,55,36,10,66,233,38,151,1,240,222,161,31,4,113,205,243,35,200,37,239,51,2,7,124,199],"length":535,"final_offset":665,"validated_count":38,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0},{"io_id":200,"original":3604572,"validated":0}]} 
[2026-07-27 10:46:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3963268977479647232,"timestamp_seconds":3963268977479647.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 10:46:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:46:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:46:36] local.INFO: Teltonika packet parsed successfully {"connection_id":143905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:46:36] local.INFO: Passing IMEI to GPS processor {"connection_id":143905,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:46:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":143905,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:46:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:46:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:46:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:46:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993052416001,"66":12776,"121":206,"28":31744,"24":0,"16":8800246255583232,"45":1811432243219974144},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 10:46:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:46:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:46:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993052416001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:46:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 10:46:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:46:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8800246255583232,"km_value":8800246255583.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:46:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1811432243219974144,"description":"Unknown IO ID 45"} 
[2026-07-27 10:46:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993052416001,"power":12776,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1811432243219974144}} 
[2026-07-27 10:46:36] local.INFO: DEBUG: GPS processor result {"connection_id":143905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552686,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:46:36] local.INFO: GPS data processed {"connection_id":143905,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:46:36] local.INFO: Acknowledgment sent {"connection_id":143905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:46:37] local.INFO: TCP Data received {"connection_id":142909,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:46:37] local.INFO: Processing buffer {"connection_id":142909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:46:37] local.INFO: IMEI packet received {"connection_id":142909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 10:46:37] local.INFO: IMEI acknowledgment sent {"connection_id":142909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:46:42] local.INFO: TCP Data received {"connection_id":142909,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:46:42] local.INFO: Processing buffer {"connection_id":142909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:46:42] local.INFO: IMEI packet received {"connection_id":142909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 10:46:42] local.INFO: IMEI acknowledgment sent {"connection_id":142909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:46:43] local.INFO: TCP Data received {"connection_id":142909,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1fc0908012d7fa5c005afdf800010001428..."} 
[2026-07-27 10:46:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142909,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1fc0908012d7fa5c005afdf800010001428..."} 
[2026-07-27 10:46:43] local.INFO: Processing buffer {"connection_id":142909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1fc0908012d7fa5c005afdf800010001428..."} 
[2026-07-27 10:46:43] local.INFO: Packet analysis {"connection_id":142909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1fc"} 
[2026-07-27 10:46:43] local.INFO: Extracted packet for processing {"connection_id":142909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1fc"} 
[2026-07-27 10:46:43] local.INFO: GPS Element Parsed {"raw_longitude":763340224,"raw_latitude":95412096,"longitude_deg":76.3340224,"latitude_deg":9.5412096,"altitude":16,"angle":20,"satellites":40,"speed":0,"hex_longitude":"2d7fa5c0","hex_latitude":"05afdf80","is_valid_coordinates":true} 
[2026-07-27 10:46:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:46:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992966656001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:46:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826891035017216,"note":"Value kept but may cause issues"} 
[2026-07-27 10:46:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197968944632135680,"note":"Value kept but may cause issues"} 
[2026-07-27 10:46:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:46:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785129077000,"timestamp_ms":1785129077000,"timestamp_seconds":1785129077,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1fc0908"} 
[2026-07-27 10:46:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:46:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 10:46:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-27 10:46:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:46:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:46:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:46:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:46:43] local.INFO: Teltonika packet parsed successfully {"connection_id":142909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:46:43] local.INFO: Passing IMEI to GPS processor {"connection_id":142909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:46:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":142909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:46: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-07-27 10:46:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 10:46:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 10:46:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992966656001,"66":25702,"199":206,"85":12544,"24":0,"16":358826891035017216,"45":9197968944632135680},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-27 10:46:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 10:46:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 10:46:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992966656001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:46:43] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-27 10:46:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 10:46:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826891035017216,"km_value":358826891035017.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:46:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197968944632135680,"description":"Unknown IO ID 45"} 
[2026-07-27 10:46:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992966656001,"power":25702,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197968944632135680}} 
[2026-07-27 10:46:43] local.INFO: DEBUG: GPS processor result {"connection_id":142909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:46:43] local.INFO: GPS data processed {"connection_id":142909,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:46:43] local.INFO: Acknowledgment sent {"connection_id":142909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:46:48] local.INFO: TCP Data received {"connection_id":142909,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1fc0908012d7fa5c005afdf800010001428..."} 
[2026-07-27 10:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142909,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1fc0908012d7fa5c005afdf800010001428..."} 
[2026-07-27 10:46:48] local.INFO: Processing buffer {"connection_id":142909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1fc0908012d7fa5c005afdf800010001428..."} 
[2026-07-27 10:46:48] local.INFO: Packet analysis {"connection_id":142909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1fc"} 
[2026-07-27 10:46:48] local.INFO: Extracted packet for processing {"connection_id":142909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1fc"} 
[2026-07-27 10:46:48] local.INFO: GPS Element Parsed {"raw_longitude":763340224,"raw_latitude":95412096,"longitude_deg":76.3340224,"latitude_deg":9.5412096,"altitude":16,"angle":20,"satellites":40,"speed":0,"hex_longitude":"2d7fa5c0","hex_latitude":"05afdf80","is_valid_coordinates":true} 
[2026-07-27 10: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-07-27 10:46:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456992966656001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:46:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826891035017216,"note":"Value kept but may cause issues"} 
[2026-07-27 10:46:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197968944632135680,"note":"Value kept but may cause issues"} 
[2026-07-27 10:46:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:46:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785129077000,"timestamp_ms":1785129077000,"timestamp_seconds":1785129077,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1fc0908"} 
[2026-07-27 10:46:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:46:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 10: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-27 10:46:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10: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-07-27 10:46:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:46:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:46:48] local.INFO: Teltonika packet parsed successfully {"connection_id":142909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:46:48] local.INFO: Passing IMEI to GPS processor {"connection_id":142909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:46:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":142909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:46: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-07-27 10:46:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 10:46:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 10:46:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456992966656001,"66":25702,"199":206,"85":12544,"24":0,"16":358826891035017216,"45":9197968944632135680},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-27 10:46:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 10:46:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 10:46:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456992966656001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:46:48] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-27 10:46:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 10:46:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826891035017216,"km_value":358826891035017.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:46:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197968944632135680,"description":"Unknown IO ID 45"} 
[2026-07-27 10:46:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456992966656001,"power":25702,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197968944632135680}} 
[2026-07-27 10:46:48] local.INFO: DEBUG: GPS processor result {"connection_id":142909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:46:48] local.INFO: GPS data processed {"connection_id":142909,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:46:48] local.INFO: Acknowledgment sent {"connection_id":142909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:47:08] local.INFO: TCP Data received {"connection_id":143905,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1fd31e8012d192380071fd0c80037005c26..."} 
[2026-07-27 10:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143905,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1fd31e8012d192380071fd0c80037005c26..."} 
[2026-07-27 10:47:08] local.INFO: Processing buffer {"connection_id":143905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1fd31e8012d192380071fd0c80037005c26..."} 
[2026-07-27 10:47:08] local.INFO: Packet analysis {"connection_id":143905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1fd"} 
[2026-07-27 10:47:08] local.INFO: Extracted packet for processing {"connection_id":143905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1fd"} 
[2026-07-27 10:47:08] local.INFO: GPS Element Parsed {"raw_longitude":756622208,"raw_latitude":119525576,"longitude_deg":75.6622208,"latitude_deg":11.9525576,"altitude":55,"angle":92,"satellites":38,"speed":0,"hex_longitude":"2d192380","hex_latitude":"071fd0c8","is_valid_coordinates":true} 
[2026-07-27 10:47:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:47:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993057792001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:47:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8800246255583232,"note":"Value kept but may cause issues"} 
[2026-07-27 10:47:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1811432243219974144,"note":"Value kept but may cause issues"} 
[2026-07-27 10:47:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:47:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785129153000,"timestamp_ms":1785129153000,"timestamp_seconds":1785129153,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1fd31e8"} 
[2026-07-27 10:47:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:47:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 10: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-27 10:47:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:47:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:47:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:47:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:47:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:47:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143905,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:47:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143905,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:47:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:47:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:47:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:47:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993057792001,"66":12743,"121":206,"28":31744,"24":0,"16":8800246255583232,"45":1811432243219974144},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 10:47:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:47:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:47:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993057792001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:47:08] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 10:47:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:47:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8800246255583232,"km_value":8800246255583.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:47:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1811432243219974144,"description":"Unknown IO ID 45"} 
[2026-07-27 10:47:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993057792001,"power":12743,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1811432243219974144}} 
[2026-07-27 10:47:08] local.INFO: DEBUG: GPS processor result {"connection_id":143905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552689,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:47:08] local.INFO: GPS data processed {"connection_id":143905,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:47:08] local.INFO: Acknowledgment sent {"connection_id":143905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:47:08] local.INFO: TCP Data received {"connection_id":143906,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 10:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143906,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 10:47:08] local.INFO: Processing buffer {"connection_id":143906,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 10:47:08] local.INFO: IMEI packet received {"connection_id":143906,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 10:47:08] local.INFO: IMEI acknowledgment sent {"connection_id":143906,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:47:29] local.INFO: TCP Data received {"connection_id":145212,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145212,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:47:29] local.INFO: Processing buffer {"connection_id":145212,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:47:29] local.INFO: IMEI packet received {"connection_id":145212,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 10:47:29] local.INFO: IMEI acknowledgment sent {"connection_id":145212,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:47:32] local.INFO: TCP Data received {"connection_id":145213,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:47:32] local.INFO: Processing buffer {"connection_id":145213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:47:32] local.INFO: IMEI packet received {"connection_id":145213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 10:47:32] local.INFO: IMEI acknowledgment sent {"connection_id":145213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:47:35] local.INFO: TCP Data received {"connection_id":145212,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145212,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:47:35] local.INFO: Processing buffer {"connection_id":145212,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:47:35] local.INFO: IMEI packet received {"connection_id":145212,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 10:47:35] local.INFO: IMEI acknowledgment sent {"connection_id":145212,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:47:36] local.INFO: TCP Data received {"connection_id":145212,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa1fd83f0012d192380071fd0c80037005c25..."} 
[2026-07-27 10:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa1fd83f0012d192380071fd0c80037005c25..."} 
[2026-07-27 10:47:36] local.INFO: Processing buffer {"connection_id":145212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa1fd83f0012d192380071fd0c80037005c25..."} 
[2026-07-27 10:47:36] local.INFO: Packet analysis {"connection_id":145212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa1fd"} 
[2026-07-27 10:47:36] local.INFO: Extracted packet for processing {"connection_id":145212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa1fd"} 
[2026-07-27 10:47:36] local.INFO: GPS Element Parsed {"raw_longitude":756622208,"raw_latitude":119525576,"longitude_deg":75.6622208,"latitude_deg":11.9525576,"altitude":55,"angle":92,"satellites":37,"speed":0,"hex_longitude":"2d192380","hex_latitude":"071fd0c8","is_valid_coordinates":true} 
[2026-07-27 10:47:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:47:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993063168001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:47:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8800246255583232,"note":"Value kept but may cause issues"} 
[2026-07-27 10:47:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1811432243219974144,"note":"Value kept but may cause issues"} 
[2026-07-27 10:47:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:47:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785129174000,"timestamp_ms":1785129174000,"timestamp_seconds":1785129174,"priority":1,"record_length":96,"hex_timestamp":"0000019fa1fd83f0"} 
[2026-07-27 10:47:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:47:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 10:47:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-07-27 10:47:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:47:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:47:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:47:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:47:36] local.INFO: Teltonika packet parsed successfully {"connection_id":145212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:47:36] local.INFO: Passing IMEI to GPS processor {"connection_id":145212,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:47:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":145212,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:47:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:47:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:47:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:47:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993063168001,"66":11950,"121":206,"28":31744,"24":0,"16":8800246255583232,"45":1811432243219974144},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 10:47:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:47:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:47:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993063168001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:47:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 10:47:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:47:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8800246255583232,"km_value":8800246255583.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:47:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1811432243219974144,"description":"Unknown IO ID 45"} 
[2026-07-27 10:47:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993063168001,"power":11950,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1811432243219974144}} 
[2026-07-27 10:47:36] local.INFO: DEBUG: GPS processor result {"connection_id":145212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552690,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:47:36] local.INFO: GPS data processed {"connection_id":145212,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:47:36] local.INFO: Acknowledgment sent {"connection_id":145212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:47:38] local.INFO: TCP Data received {"connection_id":145213,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:47:38] local.INFO: Processing buffer {"connection_id":145213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:47:38] local.INFO: IMEI packet received {"connection_id":145213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 10:47:38] local.INFO: IMEI acknowledgment sent {"connection_id":145213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:47:41] local.INFO: TCP Data received {"connection_id":145213,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019fa200a0d0012d7fa5c005afdf80000800142a..."} 
[2026-07-27 10:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145213,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa200a0d0012d7fa5c005afdf80000800142a..."} 
[2026-07-27 10:47:41] local.INFO: Processing buffer {"connection_id":145213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa200a0d0012d7fa5c005afdf80000800142a..."} 
[2026-07-27 10:47:41] local.INFO: Packet analysis {"connection_id":145213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa200"} 
[2026-07-27 10:47:41] local.INFO: Extracted packet for processing {"connection_id":145213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa200"} 
[2026-07-27 10:47:41] local.INFO: GPS Element Parsed {"raw_longitude":763340224,"raw_latitude":95412096,"longitude_deg":76.3340224,"latitude_deg":9.5412096,"altitude":8,"angle":20,"satellites":42,"speed":0,"hex_longitude":"2d7fa5c0","hex_latitude":"05afdf80","is_valid_coordinates":true} 
[2026-07-27 10: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-07-27 10:47:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993043712001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:47:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826891035017216,"note":"Value kept but may cause issues"} 
[2026-07-27 10:47:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197968944632135680,"note":"Value kept but may cause issues"} 
[2026-07-27 10:47:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:47:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785129378000,"timestamp_ms":1785129378000,"timestamp_seconds":1785129378,"priority":1,"record_length":96,"hex_timestamp":"0000019fa200a0d0"} 
[2026-07-27 10:47:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:47:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 10: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-27 10:47:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10: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-07-27 10:47:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:47:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:47:41] local.INFO: Teltonika packet parsed successfully {"connection_id":145213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:47:41] local.INFO: Passing IMEI to GPS processor {"connection_id":145213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:47:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":145213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:47: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-07-27 10:47:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 10:47:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 10:47:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993043712001,"66":25647,"250":206,"85":12544,"24":0,"16":358826891035017216,"45":9197968944632135680},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 10:47:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 10:47:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 10:47:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993043712001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:47:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 10:47:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 10:47:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826891035017216,"km_value":358826891035017.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:47:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197968944632135680,"description":"Unknown IO ID 45"} 
[2026-07-27 10:47:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993043712001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197968944632135680}} 
[2026-07-27 10:47:41] local.INFO: DEBUG: GPS processor result {"connection_id":145213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:47:41] local.INFO: GPS data processed {"connection_id":145213,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:47:41] local.INFO: Acknowledgment sent {"connection_id":145213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:48:08] local.INFO: TCP Data received {"connection_id":145212,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2010a48012d192380071fd0c80037005c25..."} 
[2026-07-27 10:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2010a48012d192380071fd0c80037005c25..."} 
[2026-07-27 10:48:08] local.INFO: Processing buffer {"connection_id":145212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2010a48012d192380071fd0c80037005c25..."} 
[2026-07-27 10:48:08] local.INFO: Packet analysis {"connection_id":145212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa201"} 
[2026-07-27 10:48:08] local.INFO: Extracted packet for processing {"connection_id":145212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa201"} 
[2026-07-27 10:48:08] local.INFO: GPS Element Parsed {"raw_longitude":756622208,"raw_latitude":119525576,"longitude_deg":75.6622208,"latitude_deg":11.9525576,"altitude":55,"angle":92,"satellites":37,"speed":0,"hex_longitude":"2d192380","hex_latitude":"071fd0c8","is_valid_coordinates":true} 
[2026-07-27 10:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:48:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993122304001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:48:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8800246255583232,"note":"Value kept but may cause issues"} 
[2026-07-27 10:48:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1811432243219974144,"note":"Value kept but may cause issues"} 
[2026-07-27 10:48:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:48:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785129405000,"timestamp_ms":1785129405000,"timestamp_seconds":1785129405,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2010a48"} 
[2026-07-27 10:48:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:48:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 10:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-27 10:48:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:48:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:48:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:48:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:48:08] local.INFO: Teltonika packet parsed successfully {"connection_id":145212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:48:08] local.INFO: Passing IMEI to GPS processor {"connection_id":145212,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:48:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":145212,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:48:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:48:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:48:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:48:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993122304001,"66":12439,"121":206,"28":31744,"24":0,"16":8800246255583232,"45":1811432243219974144},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 10:48:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:48:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:48:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993122304001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:48:08] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 10:48:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:48:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8800246255583232,"km_value":8800246255583.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:48:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1811432243219974144,"description":"Unknown IO ID 45"} 
[2026-07-27 10:48:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993122304001,"power":12439,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1811432243219974144}} 
[2026-07-27 10:48:08] local.INFO: DEBUG: GPS processor result {"connection_id":145212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552692,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:48:08] local.INFO: GPS data processed {"connection_id":145212,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:48:08] local.INFO: Acknowledgment sent {"connection_id":145212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:48:13] local.INFO: TCP Data received {"connection_id":145213,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019fa200a0d0012d7fa5c005afdf80000800142a..."} 
[2026-07-27 10:48:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145213,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa200a0d0012d7fa5c005afdf80000800142a..."} 
[2026-07-27 10:48:13] local.INFO: Processing buffer {"connection_id":145213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa200a0d0012d7fa5c005afdf80000800142a..."} 
[2026-07-27 10:48:13] local.INFO: Packet analysis {"connection_id":145213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa200"} 
[2026-07-27 10:48:13] local.INFO: Extracted packet for processing {"connection_id":145213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa200"} 
[2026-07-27 10:48:13] local.INFO: GPS Element Parsed {"raw_longitude":763340224,"raw_latitude":95412096,"longitude_deg":76.3340224,"latitude_deg":9.5412096,"altitude":8,"angle":20,"satellites":42,"speed":0,"hex_longitude":"2d7fa5c0","hex_latitude":"05afdf80","is_valid_coordinates":true} 
[2026-07-27 10:48:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:48:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993043712001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:48:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826891035017216,"note":"Value kept but may cause issues"} 
[2026-07-27 10:48:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197968944632135680,"note":"Value kept but may cause issues"} 
[2026-07-27 10:48:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:48:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785129378000,"timestamp_ms":1785129378000,"timestamp_seconds":1785129378,"priority":1,"record_length":96,"hex_timestamp":"0000019fa200a0d0"} 
[2026-07-27 10:48:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:48:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 10:48:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-27 10:48:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:48:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:48:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:48:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:48:13] local.INFO: Teltonika packet parsed successfully {"connection_id":145213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:48:13] local.INFO: Passing IMEI to GPS processor {"connection_id":145213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:48:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":145213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:48: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-07-27 10:48:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 10:48:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 10:48:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993043712001,"66":25647,"250":206,"85":12544,"24":0,"16":358826891035017216,"45":9197968944632135680},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 10:48:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 10:48:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 10:48:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993043712001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:48:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 10:48:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 10:48:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826891035017216,"km_value":358826891035017.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:48:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197968944632135680,"description":"Unknown IO ID 45"} 
[2026-07-27 10:48:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993043712001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197968944632135680}} 
[2026-07-27 10:48:13] local.INFO: DEBUG: GPS processor result {"connection_id":145213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:48:13] local.INFO: GPS data processed {"connection_id":145213,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:48:13] local.INFO: Acknowledgment sent {"connection_id":145213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:48:30] local.INFO: TCP Data received {"connection_id":142784,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142784,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:48:30] local.INFO: Processing buffer {"connection_id":142784,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:48:30] local.INFO: IMEI packet received {"connection_id":142784,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 10:48:30] local.INFO: IMEI acknowledgment sent {"connection_id":142784,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:48:32] local.INFO: TCP Data received {"connection_id":143907,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:48:32] local.INFO: Processing buffer {"connection_id":143907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:48:32] local.INFO: IMEI packet received {"connection_id":143907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 10:48:32] local.INFO: IMEI acknowledgment sent {"connection_id":143907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:48:35] local.INFO: TCP Data received {"connection_id":142784,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142784,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:48:35] local.INFO: Processing buffer {"connection_id":142784,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:48:35] local.INFO: IMEI packet received {"connection_id":142784,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 10:48:35] local.INFO: IMEI acknowledgment sent {"connection_id":142784,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:48:37] local.INFO: TCP Data received {"connection_id":143907,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:48:37] local.INFO: Processing buffer {"connection_id":143907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:48:37] local.INFO: IMEI packet received {"connection_id":143907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 10:48:37] local.INFO: IMEI acknowledgment sent {"connection_id":143907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:48:38] local.INFO: TCP Data received {"connection_id":142784,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2015c50012d192380071fd0c80037005c27..."} 
[2026-07-27 10:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2015c50012d192380071fd0c80037005c27..."} 
[2026-07-27 10:48:38] local.INFO: Processing buffer {"connection_id":142784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2015c50012d192380071fd0c80037005c27..."} 
[2026-07-27 10:48:38] local.INFO: Packet analysis {"connection_id":142784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa201"} 
[2026-07-27 10:48:38] local.INFO: Extracted packet for processing {"connection_id":142784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa201"} 
[2026-07-27 10:48:38] local.INFO: GPS Element Parsed {"raw_longitude":756622208,"raw_latitude":119525576,"longitude_deg":75.6622208,"latitude_deg":11.9525576,"altitude":55,"angle":92,"satellites":39,"speed":0,"hex_longitude":"2d192380","hex_latitude":"071fd0c8","is_valid_coordinates":true} 
[2026-07-27 10:48:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:48:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993127680001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:48:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8800246255583232,"note":"Value kept but may cause issues"} 
[2026-07-27 10:48:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1811432243219974144,"note":"Value kept but may cause issues"} 
[2026-07-27 10:48:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:48:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785129426000,"timestamp_ms":1785129426000,"timestamp_seconds":1785129426,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2015c50"} 
[2026-07-27 10:48:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:48:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 10:48:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-27 10:48:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:48:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:48:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:48:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:48:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:48:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:48:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:48:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:48:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:48:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:48:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993127680001,"66":12406,"121":206,"28":31744,"24":0,"16":8800246255583232,"45":1811432243219974144},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 10:48:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:48:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:48:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993127680001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:48:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 10:48:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:48:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8800246255583232,"km_value":8800246255583.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:48:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1811432243219974144,"description":"Unknown IO ID 45"} 
[2026-07-27 10:48:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993127680001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1811432243219974144}} 
[2026-07-27 10:48:38] local.INFO: DEBUG: GPS processor result {"connection_id":142784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552694,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:48:38] local.INFO: GPS data processed {"connection_id":142784,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:48:38] local.INFO: Acknowledgment sent {"connection_id":142784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:48:38] local.INFO: TCP Data received {"connection_id":143907,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa200a0d0012d7fa5c005afdf80000800142a..."} 
[2026-07-27 10:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143907,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa200a0d0012d7fa5c005afdf80000800142a..."} 
[2026-07-27 10:48:38] local.INFO: Processing buffer {"connection_id":143907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa200a0d0012d7fa5c005afdf80000800142a..."} 
[2026-07-27 10:48:38] local.INFO: Packet analysis {"connection_id":143907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa200"} 
[2026-07-27 10:48:38] local.INFO: Extracted packet for processing {"connection_id":143907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa200"} 
[2026-07-27 10:48:38] local.INFO: GPS Element Parsed {"raw_longitude":763340224,"raw_latitude":95412096,"longitude_deg":76.3340224,"latitude_deg":9.5412096,"altitude":8,"angle":20,"satellites":42,"speed":0,"hex_longitude":"2d7fa5c0","hex_latitude":"05afdf80","is_valid_coordinates":true} 
[2026-07-27 10:48:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:48:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993043712001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:48:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826891035017216,"note":"Value kept but may cause issues"} 
[2026-07-27 10:48:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197968944632135680,"note":"Value kept but may cause issues"} 
[2026-07-27 10:48:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:48:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785129378000,"timestamp_ms":1785129378000,"timestamp_seconds":1785129378,"priority":1,"record_length":96,"hex_timestamp":"0000019fa200a0d0"} 
[2026-07-27 10:48:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:48:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 10:48:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-27 10:48:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:48:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:48:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:48:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:48:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:48:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:48:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:48:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:48:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 10:48:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 10:48:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993043712001,"66":25647,"250":206,"85":12544,"24":0,"16":358826891035017216,"45":9197968944632135680},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 10:48:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 10:48:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 10:48:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993043712001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:48:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 10:48:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 10:48:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826891035017216,"km_value":358826891035017.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:48:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197968944632135680,"description":"Unknown IO ID 45"} 
[2026-07-27 10:48:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993043712001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197968944632135680}} 
[2026-07-27 10:48:38] local.INFO: DEBUG: GPS processor result {"connection_id":143907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:48:38] local.INFO: GPS data processed {"connection_id":143907,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:48:38] local.INFO: Acknowledgment sent {"connection_id":143907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:49:09] local.INFO: TCP Data received {"connection_id":143907,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa200a0d0012d7fa5c005afdf80000800142a..."} 
[2026-07-27 10:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143907,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa200a0d0012d7fa5c005afdf80000800142a..."} 
[2026-07-27 10:49:09] local.INFO: Processing buffer {"connection_id":143907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa200a0d0012d7fa5c005afdf80000800142a..."} 
[2026-07-27 10:49:09] local.INFO: Packet analysis {"connection_id":143907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa200"} 
[2026-07-27 10:49:09] local.INFO: Extracted packet for processing {"connection_id":143907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa200"} 
[2026-07-27 10:49:09] local.INFO: GPS Element Parsed {"raw_longitude":763340224,"raw_latitude":95412096,"longitude_deg":76.3340224,"latitude_deg":9.5412096,"altitude":8,"angle":20,"satellites":42,"speed":0,"hex_longitude":"2d7fa5c0","hex_latitude":"05afdf80","is_valid_coordinates":true} 
[2026-07-27 10:49:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:49:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993043712001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:49:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826891035017216,"note":"Value kept but may cause issues"} 
[2026-07-27 10:49:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197968944632135680,"note":"Value kept but may cause issues"} 
[2026-07-27 10:49:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:49:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785129378000,"timestamp_ms":1785129378000,"timestamp_seconds":1785129378,"priority":1,"record_length":96,"hex_timestamp":"0000019fa200a0d0"} 
[2026-07-27 10:49:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:49:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 10:49:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-27 10:49:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:49:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:49:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:49:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:49:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:49:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:49:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:49: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-07-27 10:49:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 10:49:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 10:49:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993043712001,"66":25647,"250":206,"85":12544,"24":0,"16":358826891035017216,"45":9197968944632135680},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 10:49:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 10:49:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 10:49:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993043712001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:49:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 10:49:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 10:49:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826891035017216,"km_value":358826891035017.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:49:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197968944632135680,"description":"Unknown IO ID 45"} 
[2026-07-27 10:49:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993043712001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197968944632135680}} 
[2026-07-27 10:49:09] local.INFO: DEBUG: GPS processor result {"connection_id":143907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:49:09] local.INFO: GPS data processed {"connection_id":143907,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:49:09] local.INFO: Acknowledgment sent {"connection_id":143907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:49:09] local.INFO: TCP Data received {"connection_id":142784,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa201ae58012d192380071fd0c80037005c27..."} 
[2026-07-27 10:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa201ae58012d192380071fd0c80037005c27..."} 
[2026-07-27 10:49:09] local.INFO: Processing buffer {"connection_id":142784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa201ae58012d192380071fd0c80037005c27..."} 
[2026-07-27 10:49:09] local.INFO: Packet analysis {"connection_id":142784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa201"} 
[2026-07-27 10:49:09] local.INFO: Extracted packet for processing {"connection_id":142784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa201"} 
[2026-07-27 10:49:09] local.INFO: GPS Element Parsed {"raw_longitude":756622208,"raw_latitude":119525576,"longitude_deg":75.6622208,"latitude_deg":11.9525576,"altitude":55,"angle":92,"satellites":39,"speed":0,"hex_longitude":"2d192380","hex_latitude":"071fd0c8","is_valid_coordinates":true} 
[2026-07-27 10:49:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:49:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993133056001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:49:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8800246255583232,"note":"Value kept but may cause issues"} 
[2026-07-27 10:49:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1811432243219974144,"note":"Value kept but may cause issues"} 
[2026-07-27 10:49:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:49:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785129447000,"timestamp_ms":1785129447000,"timestamp_seconds":1785129447,"priority":1,"record_length":96,"hex_timestamp":"0000019fa201ae58"} 
[2026-07-27 10:49:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:49:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 10:49:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 10:49:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:49:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:49:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:49:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:49:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:49:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:49:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:49:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:49:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:49:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:49:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993133056001,"66":12385,"121":206,"28":31744,"24":0,"16":8800246255583232,"45":1811432243219974144},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 10:49:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:49:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:49:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993133056001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:49:09] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 10:49:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:49:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8800246255583232,"km_value":8800246255583.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:49:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1811432243219974144,"description":"Unknown IO ID 45"} 
[2026-07-27 10:49:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993133056001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1811432243219974144}} 
[2026-07-27 10:49:09] local.INFO: DEBUG: GPS processor result {"connection_id":142784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552697,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:49:09] local.INFO: GPS data processed {"connection_id":142784,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:49:09] local.INFO: Acknowledgment sent {"connection_id":142784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:49:32] local.INFO: TCP Data received {"connection_id":143909,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:49:32] local.INFO: Processing buffer {"connection_id":143909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:49:32] local.INFO: IMEI packet received {"connection_id":143909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 10:49:32] local.INFO: IMEI acknowledgment sent {"connection_id":143909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:49:35] local.INFO: TCP Data received {"connection_id":143908,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143908,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:49:35] local.INFO: Processing buffer {"connection_id":143908,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:49:35] local.INFO: IMEI packet received {"connection_id":143908,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 10:49:35] local.INFO: IMEI acknowledgment sent {"connection_id":143908,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:49:37] local.INFO: TCP Data received {"connection_id":143909,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:49:37] local.INFO: Processing buffer {"connection_id":143909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:49:37] local.INFO: IMEI packet received {"connection_id":143909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 10:49:37] local.INFO: IMEI acknowledgment sent {"connection_id":143909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:49:38] local.INFO: TCP Data received {"connection_id":143909,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa200a0d0012d7fa5c005afdf80000800142a..."} 
[2026-07-27 10:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143909,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa200a0d0012d7fa5c005afdf80000800142a..."} 
[2026-07-27 10:49:38] local.INFO: Processing buffer {"connection_id":143909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa200a0d0012d7fa5c005afdf80000800142a..."} 
[2026-07-27 10:49:38] local.INFO: Packet analysis {"connection_id":143909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa200"} 
[2026-07-27 10:49:38] local.INFO: Extracted packet for processing {"connection_id":143909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa200"} 
[2026-07-27 10:49:38] local.INFO: GPS Element Parsed {"raw_longitude":763340224,"raw_latitude":95412096,"longitude_deg":76.3340224,"latitude_deg":9.5412096,"altitude":8,"angle":20,"satellites":42,"speed":0,"hex_longitude":"2d7fa5c0","hex_latitude":"05afdf80","is_valid_coordinates":true} 
[2026-07-27 10:49:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:49:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993043712001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:49:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826891035017216,"note":"Value kept but may cause issues"} 
[2026-07-27 10:49:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197968944632135680,"note":"Value kept but may cause issues"} 
[2026-07-27 10:49:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:49:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785129378000,"timestamp_ms":1785129378000,"timestamp_seconds":1785129378,"priority":1,"record_length":96,"hex_timestamp":"0000019fa200a0d0"} 
[2026-07-27 10:49:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:49:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 10:49:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-27 10:49:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:49:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:49:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:49:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:49:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:49:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:49:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:49:38] 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-07-27 10:49:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 10:49:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 10:49:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993043712001,"66":25647,"250":206,"85":12544,"24":0,"16":358826891035017216,"45":9197968944632135680},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 10:49:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 10:49:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 10:49:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993043712001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:49:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 10:49:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 10:49:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826891035017216,"km_value":358826891035017.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:49:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197968944632135680,"description":"Unknown IO ID 45"} 
[2026-07-27 10:49:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993043712001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197968944632135680}} 
[2026-07-27 10:49:38] local.INFO: DEBUG: GPS processor result {"connection_id":143909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:49:38] local.INFO: GPS data processed {"connection_id":143909,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:49:38] local.INFO: Acknowledgment sent {"connection_id":143909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:49:40] local.INFO: TCP Data received {"connection_id":143908,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143908,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:49:40] local.INFO: Processing buffer {"connection_id":143908,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:49:40] local.INFO: IMEI packet received {"connection_id":143908,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 10:49:40] local.INFO: IMEI acknowledgment sent {"connection_id":143908,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:49:41] local.INFO: TCP Data received {"connection_id":143908,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2020060012d192380071fd0c80037005c26..."} 
[2026-07-27 10:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2020060012d192380071fd0c80037005c26..."} 
[2026-07-27 10:49:41] local.INFO: Processing buffer {"connection_id":143908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2020060012d192380071fd0c80037005c26..."} 
[2026-07-27 10:49:41] local.INFO: Packet analysis {"connection_id":143908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa202"} 
[2026-07-27 10:49:41] local.INFO: Extracted packet for processing {"connection_id":143908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa202"} 
[2026-07-27 10:49:41] local.INFO: GPS Element Parsed {"raw_longitude":756622208,"raw_latitude":119525576,"longitude_deg":75.6622208,"latitude_deg":11.9525576,"altitude":55,"angle":92,"satellites":38,"speed":0,"hex_longitude":"2d192380","hex_latitude":"071fd0c8","is_valid_coordinates":true} 
[2026-07-27 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-07-27 10:49:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993138432001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:49:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8800246255583232,"note":"Value kept but may cause issues"} 
[2026-07-27 10:49:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1811432243219974144,"note":"Value kept but may cause issues"} 
[2026-07-27 10:49:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:49:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785129468000,"timestamp_ms":1785129468000,"timestamp_seconds":1785129468,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2020060"} 
[2026-07-27 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-07-27 10:49:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":97,"data_length":795,"current_offset":136} 
[2026-07-27 10:49:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 10:49:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:49:41] local.INFO: Teltonika packet parsed successfully {"connection_id":143908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:49:41] local.INFO: Passing IMEI to GPS processor {"connection_id":143908,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:49:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":143908,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:49:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:49:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:49:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:49:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993138432001,"66":12341,"121":206,"28":31744,"24":0,"16":8800246255583232,"45":1811432243219974144},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 10:49:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:49:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:49:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993138432001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:49:41] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 10:49:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:49:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8800246255583232,"km_value":8800246255583.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:49:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1811432243219974144,"description":"Unknown IO ID 45"} 
[2026-07-27 10:49:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993138432001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1811432243219974144}} 
[2026-07-27 10:49:41] local.INFO: DEBUG: GPS processor result {"connection_id":143908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552699,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:49:41] local.INFO: GPS data processed {"connection_id":143908,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:49:41] local.INFO: Acknowledgment sent {"connection_id":143908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:49:45] local.INFO: TCP Data received {"connection_id":143908,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2025268012d192380071fd0c80037005c22..."} 
[2026-07-27 10:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2025268012d192380071fd0c80037005c22..."} 
[2026-07-27 10:49:45] local.INFO: Processing buffer {"connection_id":143908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2025268012d192380071fd0c80037005c22..."} 
[2026-07-27 10:49:45] local.INFO: Packet analysis {"connection_id":143908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa202"} 
[2026-07-27 10:49:45] local.INFO: Extracted packet for processing {"connection_id":143908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa202"} 
[2026-07-27 10:49:45] local.INFO: GPS Element Parsed {"raw_longitude":756622208,"raw_latitude":119525576,"longitude_deg":75.6622208,"latitude_deg":11.9525576,"altitude":55,"angle":92,"satellites":34,"speed":0,"hex_longitude":"2d192380","hex_latitude":"071fd0c8","is_valid_coordinates":true} 
[2026-07-27 10:49:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:49:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993143808001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:49:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8800246255583232,"note":"Value kept but may cause issues"} 
[2026-07-27 10:49:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1811432243219974144,"note":"Value kept but may cause issues"} 
[2026-07-27 10:49:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:49:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785129489000,"timestamp_ms":1785129489000,"timestamp_seconds":1785129489,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2025268"} 
[2026-07-27 10:49:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:49:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 10:49:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 10:49:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:49:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:49:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:49:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:49:45] local.INFO: Teltonika packet parsed successfully {"connection_id":143908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:49:45] local.INFO: Passing IMEI to GPS processor {"connection_id":143908,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:49:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":143908,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:49:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:49:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:49:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:49:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993143808001,"66":12385,"121":206,"28":31744,"24":0,"16":8800246255583232,"45":1811432243219974144},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 10:49:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:49:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:49:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993143808001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:49:45] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 10:49:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:49:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8800246255583232,"km_value":8800246255583.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:49:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1811432243219974144,"description":"Unknown IO ID 45"} 
[2026-07-27 10:49:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993143808001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1811432243219974144}} 
[2026-07-27 10:49:45] local.INFO: DEBUG: GPS processor result {"connection_id":143908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552700,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:49:45] local.INFO: GPS data processed {"connection_id":143908,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:49:45] local.INFO: Acknowledgment sent {"connection_id":143908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:50:09] local.INFO: TCP Data received {"connection_id":143909,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa200a0d0012d7fa5c005afdf80000800142a..."} 
[2026-07-27 10:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143909,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa200a0d0012d7fa5c005afdf80000800142a..."} 
[2026-07-27 10:50:09] local.INFO: Processing buffer {"connection_id":143909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa200a0d0012d7fa5c005afdf80000800142a..."} 
[2026-07-27 10:50:09] local.INFO: Packet analysis {"connection_id":143909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa200"} 
[2026-07-27 10:50:09] local.INFO: Extracted packet for processing {"connection_id":143909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa200"} 
[2026-07-27 10:50:09] local.INFO: GPS Element Parsed {"raw_longitude":763340224,"raw_latitude":95412096,"longitude_deg":76.3340224,"latitude_deg":9.5412096,"altitude":8,"angle":20,"satellites":42,"speed":0,"hex_longitude":"2d7fa5c0","hex_latitude":"05afdf80","is_valid_coordinates":true} 
[2026-07-27 10:50:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:50:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993043712001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:50:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826891035017216,"note":"Value kept but may cause issues"} 
[2026-07-27 10:50:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197968944632135680,"note":"Value kept but may cause issues"} 
[2026-07-27 10:50:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:50:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785129378000,"timestamp_ms":1785129378000,"timestamp_seconds":1785129378,"priority":1,"record_length":96,"hex_timestamp":"0000019fa200a0d0"} 
[2026-07-27 10:50:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:50:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 10:50:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-27 10:50:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:50:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:50:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:50:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:50:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:50:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:50:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:50: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-07-27 10:50:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 10:50:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 10:50:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993043712001,"66":25647,"250":206,"85":12544,"24":0,"16":358826891035017216,"45":9197968944632135680},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 10:50:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 10:50:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 10:50:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993043712001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:50:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 10:50:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 10:50:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826891035017216,"km_value":358826891035017.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:50:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197968944632135680,"description":"Unknown IO ID 45"} 
[2026-07-27 10:50:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993043712001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197968944632135680}} 
[2026-07-27 10:50:09] local.INFO: DEBUG: GPS processor result {"connection_id":143909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:50:09] local.INFO: GPS data processed {"connection_id":143909,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:50:09] local.INFO: Acknowledgment sent {"connection_id":143909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:50:29] local.INFO: TCP Data received {"connection_id":142910,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142910,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:50:29] local.INFO: Processing buffer {"connection_id":142910,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:50:29] local.INFO: IMEI packet received {"connection_id":142910,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 10:50:29] local.INFO: IMEI acknowledgment sent {"connection_id":142910,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:50:32] local.INFO: TCP Data received {"connection_id":142910,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142910,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:50:32] local.INFO: Processing buffer {"connection_id":142910,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:50:32] local.INFO: IMEI packet received {"connection_id":142910,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 10:50:32] local.INFO: IMEI acknowledgment sent {"connection_id":142910,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:50:35] local.INFO: TCP Data received {"connection_id":142910,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142910,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:50:35] local.INFO: Processing buffer {"connection_id":142910,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:50:35] local.INFO: IMEI packet received {"connection_id":142910,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 10:50:35] local.INFO: IMEI acknowledgment sent {"connection_id":142910,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:50:37] local.INFO: TCP Data received {"connection_id":142910,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa202a470012d192380071fd0c80037005c24..."} 
[2026-07-27 10:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa202a470012d192380071fd0c80037005c24..."} 
[2026-07-27 10:50:37] local.INFO: Processing buffer {"connection_id":142910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa202a470012d192380071fd0c80037005c24..."} 
[2026-07-27 10:50:37] local.INFO: Packet analysis {"connection_id":142910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa202"} 
[2026-07-27 10:50:37] local.INFO: Extracted packet for processing {"connection_id":142910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa202"} 
[2026-07-27 10:50:37] local.INFO: GPS Element Parsed {"raw_longitude":756622208,"raw_latitude":119525576,"longitude_deg":75.6622208,"latitude_deg":11.9525576,"altitude":55,"angle":92,"satellites":36,"speed":0,"hex_longitude":"2d192380","hex_latitude":"071fd0c8","is_valid_coordinates":true} 
[2026-07-27 10:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:50:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993149184001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:50:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8800246255583232,"note":"Value kept but may cause issues"} 
[2026-07-27 10:50:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1811432243219974144,"note":"Value kept but may cause issues"} 
[2026-07-27 10:50:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:50:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785129510000,"timestamp_ms":1785129510000,"timestamp_seconds":1785129510,"priority":1,"record_length":96,"hex_timestamp":"0000019fa202a470"} 
[2026-07-27 10:50:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:50:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 10:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-27 10:50:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:50:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:50:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:50:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:50:37] local.INFO: Teltonika packet parsed successfully {"connection_id":142910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:50:37] local.INFO: Passing IMEI to GPS processor {"connection_id":142910,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:50:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":142910,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:50:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:50:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:50:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:50:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993149184001,"66":12319,"121":206,"28":31744,"24":0,"16":8800246255583232,"45":1811432243219974144},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 10:50:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:50:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:50:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993149184001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:50:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 10:50:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:50:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8800246255583232,"km_value":8800246255583.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:50:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1811432243219974144,"description":"Unknown IO ID 45"} 
[2026-07-27 10:50:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993149184001,"power":12319,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1811432243219974144}} 
[2026-07-27 10:50:37] local.INFO: DEBUG: GPS processor result {"connection_id":142910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552702,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:50:37] local.INFO: GPS data processed {"connection_id":142910,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:50:37] local.INFO: Acknowledgment sent {"connection_id":142910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:50:37] local.INFO: TCP Data received {"connection_id":142911,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:50:37] local.INFO: Processing buffer {"connection_id":142911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:50:37] local.INFO: IMEI packet received {"connection_id":142911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 10:50:37] local.INFO: IMEI acknowledgment sent {"connection_id":142911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:50:42] local.INFO: TCP Data received {"connection_id":142911,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:50:42] local.INFO: Processing buffer {"connection_id":142911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:50:42] local.INFO: IMEI packet received {"connection_id":142911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 10:50:42] local.INFO: IMEI acknowledgment sent {"connection_id":142911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:50:43] local.INFO: TCP Data received {"connection_id":142911,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fa200a0d0012d7fa5c005afdf80000800142a..."} 
[2026-07-27 10:50:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa200a0d0012d7fa5c005afdf80000800142a..."} 
[2026-07-27 10:50:43] local.INFO: Processing buffer {"connection_id":142911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa200a0d0012d7fa5c005afdf80000800142a..."} 
[2026-07-27 10:50:43] local.INFO: Packet analysis {"connection_id":142911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa200"} 
[2026-07-27 10:50:43] local.INFO: Extracted packet for processing {"connection_id":142911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa200"} 
[2026-07-27 10:50:43] local.INFO: GPS Element Parsed {"raw_longitude":763340224,"raw_latitude":95412096,"longitude_deg":76.3340224,"latitude_deg":9.5412096,"altitude":8,"angle":20,"satellites":42,"speed":0,"hex_longitude":"2d7fa5c0","hex_latitude":"05afdf80","is_valid_coordinates":true} 
[2026-07-27 10:50:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:50:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993043712001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:50:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826891035017216,"note":"Value kept but may cause issues"} 
[2026-07-27 10:50:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197968944632135680,"note":"Value kept but may cause issues"} 
[2026-07-27 10:50:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:50:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785129378000,"timestamp_ms":1785129378000,"timestamp_seconds":1785129378,"priority":1,"record_length":96,"hex_timestamp":"0000019fa200a0d0"} 
[2026-07-27 10:50:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:50:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 10: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-27 10:50:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:50:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:50:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:50:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:50:43] local.INFO: Teltonika packet parsed successfully {"connection_id":142911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:50:43] local.INFO: Passing IMEI to GPS processor {"connection_id":142911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:50:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":142911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:50: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-07-27 10:50:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 10:50:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 10:50:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993043712001,"66":25647,"250":206,"85":12544,"24":0,"16":358826891035017216,"45":9197968944632135680},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 10:50:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 10:50:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 10:50:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993043712001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:50:43] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 10:50:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 10:50:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826891035017216,"km_value":358826891035017.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:50:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197968944632135680,"description":"Unknown IO ID 45"} 
[2026-07-27 10:50:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993043712001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197968944632135680}} 
[2026-07-27 10:50:43] local.INFO: DEBUG: GPS processor result {"connection_id":142911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:50:43] local.INFO: GPS data processed {"connection_id":142911,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:50:43] local.INFO: Acknowledgment sent {"connection_id":142911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:50:48] local.INFO: TCP Data received {"connection_id":142911,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fa200a0d0012d7fa5c005afdf80000800142a..."} 
[2026-07-27 10:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa200a0d0012d7fa5c005afdf80000800142a..."} 
[2026-07-27 10:50:48] local.INFO: Processing buffer {"connection_id":142911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa200a0d0012d7fa5c005afdf80000800142a..."} 
[2026-07-27 10:50:48] local.INFO: Packet analysis {"connection_id":142911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa200"} 
[2026-07-27 10:50:48] local.INFO: Extracted packet for processing {"connection_id":142911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa200"} 
[2026-07-27 10:50:48] local.INFO: GPS Element Parsed {"raw_longitude":763340224,"raw_latitude":95412096,"longitude_deg":76.3340224,"latitude_deg":9.5412096,"altitude":8,"angle":20,"satellites":42,"speed":0,"hex_longitude":"2d7fa5c0","hex_latitude":"05afdf80","is_valid_coordinates":true} 
[2026-07-27 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-07-27 10:50:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993043712001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:50:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826891035017216,"note":"Value kept but may cause issues"} 
[2026-07-27 10:50:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197968944632135680,"note":"Value kept but may cause issues"} 
[2026-07-27 10:50:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:50:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785129378000,"timestamp_ms":1785129378000,"timestamp_seconds":1785129378,"priority":1,"record_length":96,"hex_timestamp":"0000019fa200a0d0"} 
[2026-07-27 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-07-27 10:50:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-27 10:50:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 10:50:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:50:48] local.INFO: Teltonika packet parsed successfully {"connection_id":142911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:50:48] local.INFO: Passing IMEI to GPS processor {"connection_id":142911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:50:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":142911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:50:48] 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-07-27 10:50:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 10:50:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 10:50:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993043712001,"66":25647,"250":206,"85":12544,"24":0,"16":358826891035017216,"45":9197968944632135680},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 10:50:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 10:50:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 10:50:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993043712001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:50:48] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 10:50:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 10:50:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826891035017216,"km_value":358826891035017.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:50:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197968944632135680,"description":"Unknown IO ID 45"} 
[2026-07-27 10:50:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993043712001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197968944632135680}} 
[2026-07-27 10:50:48] local.INFO: DEBUG: GPS processor result {"connection_id":142911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:50:48] local.INFO: GPS data processed {"connection_id":142911,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:50:48] local.INFO: Acknowledgment sent {"connection_id":142911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:51:09] local.INFO: TCP Data received {"connection_id":142910,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa202f678012d192380071fd0c80037005c24..."} 
[2026-07-27 10:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa202f678012d192380071fd0c80037005c24..."} 
[2026-07-27 10:51:09] local.INFO: Processing buffer {"connection_id":142910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa202f678012d192380071fd0c80037005c24..."} 
[2026-07-27 10:51:09] local.INFO: Packet analysis {"connection_id":142910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa202"} 
[2026-07-27 10:51:09] local.INFO: Extracted packet for processing {"connection_id":142910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa202"} 
[2026-07-27 10:51:09] local.INFO: GPS Element Parsed {"raw_longitude":756622208,"raw_latitude":119525576,"longitude_deg":75.6622208,"latitude_deg":11.9525576,"altitude":55,"angle":92,"satellites":36,"speed":0,"hex_longitude":"2d192380","hex_latitude":"071fd0c8","is_valid_coordinates":true} 
[2026-07-27 10:51:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:51:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993154560001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:51:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8800246255583232,"note":"Value kept but may cause issues"} 
[2026-07-27 10:51:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1811432243219974144,"note":"Value kept but may cause issues"} 
[2026-07-27 10:51:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:51:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785129531000,"timestamp_ms":1785129531000,"timestamp_seconds":1785129531,"priority":1,"record_length":96,"hex_timestamp":"0000019fa202f678"} 
[2026-07-27 10:51:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:51:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 10:51:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 10:51:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:51:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:51:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:51:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:51:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:51:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142910,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:51:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142910,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:51:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:51:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:51:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:51:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993154560001,"66":12341,"121":206,"28":31744,"24":0,"16":8800246255583232,"45":1811432243219974144},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 10:51:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:51:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:51:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993154560001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:51:09] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 10:51:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:51:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8800246255583232,"km_value":8800246255583.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:51:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1811432243219974144,"description":"Unknown IO ID 45"} 
[2026-07-27 10:51:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993154560001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1811432243219974144}} 
[2026-07-27 10:51:10] local.INFO: DEBUG: GPS processor result {"connection_id":142910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552705,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:51:10] local.INFO: GPS data processed {"connection_id":142910,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:51:10] local.INFO: Acknowledgment sent {"connection_id":142910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:51:32] local.INFO: TCP Data received {"connection_id":142786,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:51:32] local.INFO: Processing buffer {"connection_id":142786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:51:32] local.INFO: IMEI packet received {"connection_id":142786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 10:51:32] local.INFO: IMEI acknowledgment sent {"connection_id":142786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:51:35] local.INFO: TCP Data received {"connection_id":142787,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142787,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:51:35] local.INFO: Processing buffer {"connection_id":142787,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:51:35] local.INFO: IMEI packet received {"connection_id":142787,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 10:51:35] local.INFO: IMEI acknowledgment sent {"connection_id":142787,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:51:36] local.INFO: TCP Data received {"connection_id":142787,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142787,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:51:36] local.INFO: Processing buffer {"connection_id":142787,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:51:36] local.INFO: IMEI packet received {"connection_id":142787,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 10:51:36] local.INFO: IMEI acknowledgment sent {"connection_id":142787,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:51:37] local.INFO: TCP Data received {"connection_id":142786,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:51:37] local.INFO: Processing buffer {"connection_id":142786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:51:37] local.INFO: IMEI packet received {"connection_id":142786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 10:51:37] local.INFO: IMEI acknowledgment sent {"connection_id":142786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:51:38] local.INFO: TCP Data received {"connection_id":142786,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa200a0d0012d7fa5c005afdf80000800142a..."} 
[2026-07-27 10:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa200a0d0012d7fa5c005afdf80000800142a..."} 
[2026-07-27 10:51:38] local.INFO: Processing buffer {"connection_id":142786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa200a0d0012d7fa5c005afdf80000800142a..."} 
[2026-07-27 10:51:38] local.INFO: Packet analysis {"connection_id":142786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa200"} 
[2026-07-27 10:51:38] local.INFO: Extracted packet for processing {"connection_id":142786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa200"} 
[2026-07-27 10:51:38] local.INFO: GPS Element Parsed {"raw_longitude":763340224,"raw_latitude":95412096,"longitude_deg":76.3340224,"latitude_deg":9.5412096,"altitude":8,"angle":20,"satellites":42,"speed":0,"hex_longitude":"2d7fa5c0","hex_latitude":"05afdf80","is_valid_coordinates":true} 
[2026-07-27 10:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:51:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993043712001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:51:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826891035017216,"note":"Value kept but may cause issues"} 
[2026-07-27 10:51:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197968944632135680,"note":"Value kept but may cause issues"} 
[2026-07-27 10:51:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:51:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785129378000,"timestamp_ms":1785129378000,"timestamp_seconds":1785129378,"priority":1,"record_length":96,"hex_timestamp":"0000019fa200a0d0"} 
[2026-07-27 10:51:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:51:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 10:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-27 10:51:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:51:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:51:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:51:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:51:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:51:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:51:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:51:38] 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-07-27 10:51:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 10:51:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 10:51:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993043712001,"66":25647,"250":206,"85":12544,"24":0,"16":358826891035017216,"45":9197968944632135680},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 10:51:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 10:51:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 10:51:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993043712001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:51:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 10:51:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 10:51:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826891035017216,"km_value":358826891035017.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:51:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197968944632135680,"description":"Unknown IO ID 45"} 
[2026-07-27 10:51:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993043712001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197968944632135680}} 
[2026-07-27 10:51:38] local.INFO: DEBUG: GPS processor result {"connection_id":142786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:51:38] local.INFO: GPS data processed {"connection_id":142786,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:51:38] local.INFO: Acknowledgment sent {"connection_id":142786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:51:42] local.INFO: TCP Data received {"connection_id":142787,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142787,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:51:42] local.INFO: Processing buffer {"connection_id":142787,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:51:42] local.INFO: IMEI packet received {"connection_id":142787,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 10:51:42] local.INFO: IMEI acknowledgment sent {"connection_id":142787,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:51:43] local.INFO: TCP Data received {"connection_id":142787,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2034880012d192380071fd0c80037005c23..."} 
[2026-07-27 10:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142787,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2034880012d192380071fd0c80037005c23..."} 
[2026-07-27 10:51:43] local.INFO: Processing buffer {"connection_id":142787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2034880012d192380071fd0c80037005c23..."} 
[2026-07-27 10:51:43] local.INFO: Packet analysis {"connection_id":142787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa203"} 
[2026-07-27 10:51:43] local.INFO: Extracted packet for processing {"connection_id":142787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa203"} 
[2026-07-27 10:51:43] local.INFO: GPS Element Parsed {"raw_longitude":756622208,"raw_latitude":119525576,"longitude_deg":75.6622208,"latitude_deg":11.9525576,"altitude":55,"angle":92,"satellites":35,"speed":0,"hex_longitude":"2d192380","hex_latitude":"071fd0c8","is_valid_coordinates":true} 
[2026-07-27 10: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-07-27 10:51:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993159936001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:51:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8800246255583232,"note":"Value kept but may cause issues"} 
[2026-07-27 10:51:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1811432243219974144,"note":"Value kept but may cause issues"} 
[2026-07-27 10:51:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:51:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785129552000,"timestamp_ms":1785129552000,"timestamp_seconds":1785129552,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2034880"} 
[2026-07-27 10:51:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:51:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 10: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 10:51:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10: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-07-27 10:51:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:51:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:51:43] local.INFO: Teltonika packet parsed successfully {"connection_id":142787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:51:43] local.INFO: Passing IMEI to GPS processor {"connection_id":142787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:51:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":142787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:51:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:51:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:51:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:51:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993159936001,"66":12298,"121":206,"28":31744,"24":0,"16":8800246255583232,"45":1811432243219974144},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 10:51:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:51:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:51:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993159936001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:51:43] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 10:51:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:51:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8800246255583232,"km_value":8800246255583.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:51:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1811432243219974144,"description":"Unknown IO ID 45"} 
[2026-07-27 10:51:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993159936001,"power":12298,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1811432243219974144}} 
[2026-07-27 10:51:43] local.INFO: DEBUG: GPS processor result {"connection_id":142787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552707,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:51:43] local.INFO: GPS data processed {"connection_id":142787,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:51:43] local.INFO: Acknowledgment sent {"connection_id":142787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:51:45] local.INFO: TCP Data received {"connection_id":142787,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2039a88012d192380071fd0c80037005c24..."} 
[2026-07-27 10:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142787,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2039a88012d192380071fd0c80037005c24..."} 
[2026-07-27 10:51:45] local.INFO: Processing buffer {"connection_id":142787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2039a88012d192380071fd0c80037005c24..."} 
[2026-07-27 10:51:45] local.INFO: Packet analysis {"connection_id":142787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa203"} 
[2026-07-27 10:51:45] local.INFO: Extracted packet for processing {"connection_id":142787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa203"} 
[2026-07-27 10:51:45] local.INFO: GPS Element Parsed {"raw_longitude":756622208,"raw_latitude":119525576,"longitude_deg":75.6622208,"latitude_deg":11.9525576,"altitude":55,"angle":92,"satellites":36,"speed":0,"hex_longitude":"2d192380","hex_latitude":"071fd0c8","is_valid_coordinates":true} 
[2026-07-27 10: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-07-27 10:51:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993165312001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:51:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8800246255583232,"note":"Value kept but may cause issues"} 
[2026-07-27 10:51:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1811432243219974144,"note":"Value kept but may cause issues"} 
[2026-07-27 10:51:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:51:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785129573000,"timestamp_ms":1785129573000,"timestamp_seconds":1785129573,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2039a88"} 
[2026-07-27 10:51:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:51:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 10: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":10,"data_length":795,"current_offset":136} 
[2026-07-27 10:51:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-27 10:51:45] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168048982131200,"note":"Value kept but may cause issues"} 
[2026-07-27 10:51:45] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452319,"note":"Value kept but may cause issues"} 
[2026-07-27 10:51:45] local.WARNING: Large IO value detected {"io_id":67,"raw_value":-4107282860161892351,"note":"Value kept but may cause issues"} 
[2026-07-27 10:51:45] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-6773121060214859485,"note":"Value kept but may cause issues"} 
[2026-07-27 10:51:45] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":30721,"corrected_to":0} 
[2026-07-27 10:51:45] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513358439959167068,"note":"Value kept but may cause issues"} 
[2026-07-27 10:51:45] local.WARNING: Large IO value detected {"io_id":55,"raw_value":25938578810863616,"note":"Value kept but may cause issues"} 
[2026-07-27 10:51:45] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832582,"note":"Value kept but may cause issues"} 
[2026-07-27 10:51:45] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3491979445424160974,"note":"Value kept but may cause issues"} 
[2026-07-27 10:51:45] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-27 10:51:45] local.WARNING: Large IO value detected {"io_id":35,"raw_value":2147950544,"note":"Value kept but may cause issues"} 
[2026-07-27 10:51:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":3604572,"corrected_to":0} 
[2026-07-27 10:51:45] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,121,28,24,241,158,16,67,159,246,45,128,208,55,36,10,66,164,82,1,240,97,162,31,4,113,205,174,35,200,39,239,48,2,7,37],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":246,"original":30721,"validated":0},{"io_id":205,"original":3883466958,"validated":0},{"io_id":200,"original":3604572,"validated":0}]} 
[2026-07-27 10:51:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3963268977479647232,"timestamp_seconds":3963268977479647.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 10:51:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:51:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:51:45] local.INFO: Teltonika packet parsed successfully {"connection_id":142787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:51:45] local.INFO: Passing IMEI to GPS processor {"connection_id":142787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:51:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":142787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:51:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:51:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:51:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:51:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993165312001,"66":12341,"121":206,"28":31744,"24":0,"16":8800246255583232,"45":1811432243219974144},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 10:51:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:51:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:51:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993165312001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:51:45] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 10:51:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:51:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8800246255583232,"km_value":8800246255583.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:51:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1811432243219974144,"description":"Unknown IO ID 45"} 
[2026-07-27 10:51:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993165312001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1811432243219974144}} 
[2026-07-27 10:51:45] local.INFO: DEBUG: GPS processor result {"connection_id":142787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552708,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:51:45] local.INFO: GPS data processed {"connection_id":142787,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:51:45] local.INFO: Acknowledgment sent {"connection_id":142787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:52:10] local.INFO: TCP Data received {"connection_id":142786,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2053898012d7fa5c005afdf80000800142b..."} 
[2026-07-27 10:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2053898012d7fa5c005afdf80000800142b..."} 
[2026-07-27 10:52:10] local.INFO: Processing buffer {"connection_id":142786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2053898012d7fa5c005afdf80000800142b..."} 
[2026-07-27 10:52:10] local.INFO: Packet analysis {"connection_id":142786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa205"} 
[2026-07-27 10:52:10] local.INFO: Extracted packet for processing {"connection_id":142786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa205"} 
[2026-07-27 10:52:10] local.INFO: GPS Element Parsed {"raw_longitude":763340224,"raw_latitude":95412096,"longitude_deg":76.3340224,"latitude_deg":9.5412096,"altitude":8,"angle":20,"satellites":43,"speed":0,"hex_longitude":"2d7fa5c0","hex_latitude":"05afdf80","is_valid_coordinates":true} 
[2026-07-27 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-07-27 10:52:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993120768001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:52:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826891035017216,"note":"Value kept but may cause issues"} 
[2026-07-27 10:52:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197968944632135680,"note":"Value kept but may cause issues"} 
[2026-07-27 10:52:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:52:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785129679000,"timestamp_ms":1785129679000,"timestamp_seconds":1785129679,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2053898"} 
[2026-07-27 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-07-27 10:52:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-27 10:52:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 10:52:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:52:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:52:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:52:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10: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-07-27 10:52:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 10:52:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 10:52:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993120768001,"66":25615,"250":206,"85":12544,"24":0,"16":358826891035017216,"45":9197968944632135680},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 10:52:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 10:52:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 10:52:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993120768001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:52:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 10:52:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 10:52:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826891035017216,"km_value":358826891035017.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:52:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197968944632135680,"description":"Unknown IO ID 45"} 
[2026-07-27 10:52:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993120768001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197968944632135680}} 
[2026-07-27 10:52:10] local.INFO: DEBUG: GPS processor result {"connection_id":142786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:52:10] local.INFO: GPS data processed {"connection_id":142786,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:52:10] local.INFO: Acknowledgment sent {"connection_id":142786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:52:19] local.INFO: TCP Data received {"connection_id":142785,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 10:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142785,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 10:52:19] local.INFO: Processing buffer {"connection_id":142785,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 10:52:19] local.INFO: IMEI packet received {"connection_id":142785,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 10:52:19] local.INFO: IMEI acknowledgment sent {"connection_id":142785,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:52:30] local.INFO: TCP Data received {"connection_id":145214,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145214,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:52:30] local.INFO: Processing buffer {"connection_id":145214,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:52:30] local.INFO: IMEI packet received {"connection_id":145214,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 10:52:30] local.INFO: IMEI acknowledgment sent {"connection_id":145214,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:52:32] local.INFO: TCP Data received {"connection_id":142912,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:52:32] local.INFO: Processing buffer {"connection_id":142912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:52:32] local.INFO: IMEI packet received {"connection_id":142912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 10:52:32] local.INFO: IMEI acknowledgment sent {"connection_id":142912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:52:35] local.INFO: TCP Data received {"connection_id":145214,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145214,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:52:35] local.INFO: Processing buffer {"connection_id":145214,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:52:35] local.INFO: IMEI packet received {"connection_id":145214,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 10:52:35] local.INFO: IMEI acknowledgment sent {"connection_id":145214,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:52:37] local.INFO: TCP Data received {"connection_id":145214,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa203ec90012d192380071fd0c80037005c23..."} 
[2026-07-27 10:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa203ec90012d192380071fd0c80037005c23..."} 
[2026-07-27 10:52:37] local.INFO: Processing buffer {"connection_id":145214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa203ec90012d192380071fd0c80037005c23..."} 
[2026-07-27 10:52:37] local.INFO: Packet analysis {"connection_id":145214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa203"} 
[2026-07-27 10:52:37] local.INFO: Extracted packet for processing {"connection_id":145214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa203"} 
[2026-07-27 10:52:37] local.INFO: GPS Element Parsed {"raw_longitude":756622208,"raw_latitude":119525576,"longitude_deg":75.6622208,"latitude_deg":11.9525576,"altitude":55,"angle":92,"satellites":35,"speed":0,"hex_longitude":"2d192380","hex_latitude":"071fd0c8","is_valid_coordinates":true} 
[2026-07-27 10:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993170688001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8800246255583232,"note":"Value kept but may cause issues"} 
[2026-07-27 10:52:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1811432243219974144,"note":"Value kept but may cause issues"} 
[2026-07-27 10:52:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785129594000,"timestamp_ms":1785129594000,"timestamp_seconds":1785129594,"priority":1,"record_length":96,"hex_timestamp":"0000019fa203ec90"} 
[2026-07-27 10:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:52:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 10:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 10:52:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:52:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145214,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145214,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:52:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993170688001,"66":12113,"121":206,"28":31744,"24":0,"16":8800246255583232,"45":1811432243219974144},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 10:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993170688001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:52:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 10:52:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8800246255583232,"km_value":8800246255583.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:52:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1811432243219974144,"description":"Unknown IO ID 45"} 
[2026-07-27 10:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993170688001,"power":12113,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1811432243219974144}} 
[2026-07-27 10:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":145214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552710,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:52:37] local.INFO: GPS data processed {"connection_id":145214,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:52:37] local.INFO: Acknowledgment sent {"connection_id":145214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:52:37] local.INFO: TCP Data received {"connection_id":142912,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:52:37] local.INFO: Processing buffer {"connection_id":142912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:52:37] local.INFO: IMEI packet received {"connection_id":142912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 10:52:37] local.INFO: IMEI acknowledgment sent {"connection_id":142912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:52:38] local.INFO: TCP Data received {"connection_id":142912,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2053898012d7fa5c005afdf80000800142b..."} 
[2026-07-27 10:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2053898012d7fa5c005afdf80000800142b..."} 
[2026-07-27 10:52:38] local.INFO: Processing buffer {"connection_id":142912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2053898012d7fa5c005afdf80000800142b..."} 
[2026-07-27 10:52:38] local.INFO: Packet analysis {"connection_id":142912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa205"} 
[2026-07-27 10:52:38] local.INFO: Extracted packet for processing {"connection_id":142912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa205"} 
[2026-07-27 10:52:38] local.INFO: GPS Element Parsed {"raw_longitude":763340224,"raw_latitude":95412096,"longitude_deg":76.3340224,"latitude_deg":9.5412096,"altitude":8,"angle":20,"satellites":43,"speed":0,"hex_longitude":"2d7fa5c0","hex_latitude":"05afdf80","is_valid_coordinates":true} 
[2026-07-27 10:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:52:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993120768001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:52:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826891035017216,"note":"Value kept but may cause issues"} 
[2026-07-27 10:52:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197968944632135680,"note":"Value kept but may cause issues"} 
[2026-07-27 10:52:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:52:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785129679000,"timestamp_ms":1785129679000,"timestamp_seconds":1785129679,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2053898"} 
[2026-07-27 10:52:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:52:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 10:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-27 10:52:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:52:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:52:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:52:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:52:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:52:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:52:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:52:38] 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-07-27 10:52:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 10:52:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 10:52:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993120768001,"66":25615,"250":206,"85":12544,"24":0,"16":358826891035017216,"45":9197968944632135680},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 10:52:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 10:52:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 10:52:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993120768001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:52:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 10:52:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 10:52:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826891035017216,"km_value":358826891035017.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:52:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197968944632135680,"description":"Unknown IO ID 45"} 
[2026-07-27 10:52:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993120768001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197968944632135680}} 
[2026-07-27 10:52:38] local.INFO: DEBUG: GPS processor result {"connection_id":142912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:52:38] local.INFO: GPS data processed {"connection_id":142912,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:52:38] local.INFO: Acknowledgment sent {"connection_id":142912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:53:09] local.INFO: TCP Data received {"connection_id":145214,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2043e98012d192380071fd0c80037005c25..."} 
[2026-07-27 10:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2043e98012d192380071fd0c80037005c25..."} 
[2026-07-27 10:53:09] local.INFO: Processing buffer {"connection_id":145214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2043e98012d192380071fd0c80037005c25..."} 
[2026-07-27 10:53:09] local.INFO: Packet analysis {"connection_id":145214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa204"} 
[2026-07-27 10:53:09] local.INFO: Extracted packet for processing {"connection_id":145214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa204"} 
[2026-07-27 10:53:09] local.INFO: GPS Element Parsed {"raw_longitude":756622208,"raw_latitude":119525576,"longitude_deg":75.6622208,"latitude_deg":11.9525576,"altitude":55,"angle":92,"satellites":37,"speed":0,"hex_longitude":"2d192380","hex_latitude":"071fd0c8","is_valid_coordinates":true} 
[2026-07-27 10:53:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:53:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993176064001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:53:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8800246255583232,"note":"Value kept but may cause issues"} 
[2026-07-27 10:53:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1811432243219974144,"note":"Value kept but may cause issues"} 
[2026-07-27 10:53:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:53:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785129615000,"timestamp_ms":1785129615000,"timestamp_seconds":1785129615,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2043e98"} 
[2026-07-27 10:53:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:53:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 10: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":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-07-27 10:53:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1162,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:53:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:53:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:53:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:53:09] local.INFO: Teltonika packet parsed successfully {"connection_id":145214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:53:09] local.INFO: Passing IMEI to GPS processor {"connection_id":145214,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:53:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":145214,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:53:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:53:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:53:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:53:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993176064001,"66":12298,"121":206,"28":31744,"24":0,"16":8800246255583232,"45":1811432243219974144},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 10:53:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:53:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:53:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993176064001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:53:09] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 10:53:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:53:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8800246255583232,"km_value":8800246255583.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:53:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1811432243219974144,"description":"Unknown IO ID 45"} 
[2026-07-27 10:53:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993176064001,"power":12298,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1811432243219974144}} 
[2026-07-27 10:53:09] local.INFO: DEBUG: GPS processor result {"connection_id":145214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552712,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:53:09] local.INFO: GPS data processed {"connection_id":145214,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:53:09] local.INFO: Acknowledgment sent {"connection_id":145214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:53:09] local.INFO: TCP Data received {"connection_id":142912,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2053898012d7fa5c005afdf80000800142b..."} 
[2026-07-27 10:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2053898012d7fa5c005afdf80000800142b..."} 
[2026-07-27 10:53:09] local.INFO: Processing buffer {"connection_id":142912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2053898012d7fa5c005afdf80000800142b..."} 
[2026-07-27 10:53:09] local.INFO: Packet analysis {"connection_id":142912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa205"} 
[2026-07-27 10:53:09] local.INFO: Extracted packet for processing {"connection_id":142912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa205"} 
[2026-07-27 10:53:09] local.INFO: GPS Element Parsed {"raw_longitude":763340224,"raw_latitude":95412096,"longitude_deg":76.3340224,"latitude_deg":9.5412096,"altitude":8,"angle":20,"satellites":43,"speed":0,"hex_longitude":"2d7fa5c0","hex_latitude":"05afdf80","is_valid_coordinates":true} 
[2026-07-27 10:53:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:53:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993120768001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:53:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826891035017216,"note":"Value kept but may cause issues"} 
[2026-07-27 10:53:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197968944632135680,"note":"Value kept but may cause issues"} 
[2026-07-27 10:53:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:53:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785129679000,"timestamp_ms":1785129679000,"timestamp_seconds":1785129679,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2053898"} 
[2026-07-27 10:53:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:53:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 10: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-27 10:53:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:53:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:53:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:53:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:53:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:53:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:53:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:53: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-07-27 10:53:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 10:53:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 10:53:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993120768001,"66":25615,"250":206,"85":12544,"24":0,"16":358826891035017216,"45":9197968944632135680},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 10:53:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 10:53:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 10:53:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993120768001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:53:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 10:53:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 10:53:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826891035017216,"km_value":358826891035017.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:53:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197968944632135680,"description":"Unknown IO ID 45"} 
[2026-07-27 10:53:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993120768001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197968944632135680}} 
[2026-07-27 10:53:09] local.INFO: DEBUG: GPS processor result {"connection_id":142912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:53:09] local.INFO: GPS data processed {"connection_id":142912,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:53:09] local.INFO: Acknowledgment sent {"connection_id":142912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:53:30] local.INFO: TCP Data received {"connection_id":142913,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142913,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:53:30] local.INFO: Processing buffer {"connection_id":142913,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:53:30] local.INFO: IMEI packet received {"connection_id":142913,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 10:53:30] local.INFO: IMEI acknowledgment sent {"connection_id":142913,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:53:32] local.INFO: TCP Data received {"connection_id":142914,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:53:32] local.INFO: Processing buffer {"connection_id":142914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:53:32] local.INFO: IMEI packet received {"connection_id":142914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 10:53:32] local.INFO: IMEI acknowledgment sent {"connection_id":142914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:53:35] local.INFO: TCP Data received {"connection_id":142913,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142913,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:53:35] local.INFO: Processing buffer {"connection_id":142913,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:53:35] local.INFO: IMEI packet received {"connection_id":142913,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 10:53:35] local.INFO: IMEI acknowledgment sent {"connection_id":142913,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:53:36] local.INFO: TCP Data received {"connection_id":142913,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa20490a0012d192380071fd0c80037005c23..."} 
[2026-07-27 10:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa20490a0012d192380071fd0c80037005c23..."} 
[2026-07-27 10:53:36] local.INFO: Processing buffer {"connection_id":142913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa20490a0012d192380071fd0c80037005c23..."} 
[2026-07-27 10:53:36] local.INFO: Packet analysis {"connection_id":142913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa204"} 
[2026-07-27 10:53:36] local.INFO: Extracted packet for processing {"connection_id":142913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa204"} 
[2026-07-27 10:53:36] local.INFO: GPS Element Parsed {"raw_longitude":756622208,"raw_latitude":119525576,"longitude_deg":75.6622208,"latitude_deg":11.9525576,"altitude":55,"angle":92,"satellites":35,"speed":0,"hex_longitude":"2d192380","hex_latitude":"071fd0c8","is_valid_coordinates":true} 
[2026-07-27 10:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:53:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993181440001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:53:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8800246255583232,"note":"Value kept but may cause issues"} 
[2026-07-27 10:53:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1811432243219974144,"note":"Value kept but may cause issues"} 
[2026-07-27 10:53:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:53:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785129636000,"timestamp_ms":1785129636000,"timestamp_seconds":1785129636,"priority":1,"record_length":96,"hex_timestamp":"0000019fa20490a0"} 
[2026-07-27 10:53:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:53:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 10:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-27 10:53:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-27 10:53:36] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168048982131200,"note":"Value kept but may cause issues"} 
[2026-07-27 10:53:36] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452319,"note":"Value kept but may cause issues"} 
[2026-07-27 10:53:36] local.WARNING: Large IO value detected {"io_id":67,"raw_value":-4107282860161892351,"note":"Value kept but may cause issues"} 
[2026-07-27 10:53:36] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-6772850477275211485,"note":"Value kept but may cause issues"} 
[2026-07-27 10:53:36] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513358439959167068,"note":"Value kept but may cause issues"} 
[2026-07-27 10:53:36] local.WARNING: Large IO value detected {"io_id":55,"raw_value":25933081252724736,"note":"Value kept but may cause issues"} 
[2026-07-27 10:53:36] local.WARNING: Large IO value detected {"io_id":35,"raw_value":2147950544,"note":"Value kept but may cause issues"} 
[2026-07-27 10:53:36] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832582,"note":"Value kept but may cause issues"} 
[2026-07-27 10:53:36] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3486068470913237198,"note":"Value kept but may cause issues"} 
[2026-07-27 10:53:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-27 10:53:36] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":3604572,"corrected_to":0} 
[2026-07-27 10:53:36] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,121,28,24,241,158,16,67,159,236,45,128,208,55,35,10,66,154,36,72,1,240,162,31,4,113,205,164,200,239,48,2,7,38],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0},{"io_id":200,"original":3604572,"validated":0}]} 
[2026-07-27 10:53:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3963268986069581824,"timestamp_seconds":3963268986069582.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 10:53:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:53:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:53:36] local.INFO: Teltonika packet parsed successfully {"connection_id":142913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:53:36] local.INFO: Passing IMEI to GPS processor {"connection_id":142913,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:53:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":142913,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:53:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:53:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:53:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:53:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993181440001,"66":12287,"121":206,"28":31744,"24":0,"16":8800246255583232,"45":1811432243219974144},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 10:53:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:53:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:53:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993181440001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:53:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 10:53:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:53:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8800246255583232,"km_value":8800246255583.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:53:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1811432243219974144,"description":"Unknown IO ID 45"} 
[2026-07-27 10:53:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993181440001,"power":12287,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1811432243219974144}} 
[2026-07-27 10:53:36] local.INFO: DEBUG: GPS processor result {"connection_id":142913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552714,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:53:36] local.INFO: GPS data processed {"connection_id":142913,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:53:36] local.INFO: Acknowledgment sent {"connection_id":142913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:53:37] local.INFO: TCP Data received {"connection_id":142914,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:53:37] local.INFO: Processing buffer {"connection_id":142914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:53:37] local.INFO: IMEI packet received {"connection_id":142914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 10:53:37] local.INFO: IMEI acknowledgment sent {"connection_id":142914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:53:38] local.INFO: TCP Data received {"connection_id":142914,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2053898012d7fa5c005afdf80000800142b..."} 
[2026-07-27 10:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2053898012d7fa5c005afdf80000800142b..."} 
[2026-07-27 10:53:38] local.INFO: Processing buffer {"connection_id":142914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2053898012d7fa5c005afdf80000800142b..."} 
[2026-07-27 10:53:38] local.INFO: Packet analysis {"connection_id":142914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa205"} 
[2026-07-27 10:53:38] local.INFO: Extracted packet for processing {"connection_id":142914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa205"} 
[2026-07-27 10:53:38] local.INFO: GPS Element Parsed {"raw_longitude":763340224,"raw_latitude":95412096,"longitude_deg":76.3340224,"latitude_deg":9.5412096,"altitude":8,"angle":20,"satellites":43,"speed":0,"hex_longitude":"2d7fa5c0","hex_latitude":"05afdf80","is_valid_coordinates":true} 
[2026-07-27 10:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:53:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993120768001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:53:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826891035017216,"note":"Value kept but may cause issues"} 
[2026-07-27 10:53:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197968944632135680,"note":"Value kept but may cause issues"} 
[2026-07-27 10:53:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:53:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785129679000,"timestamp_ms":1785129679000,"timestamp_seconds":1785129679,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2053898"} 
[2026-07-27 10:53:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:53:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 10:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-27 10:53:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:53:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:53:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:53:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:53:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:53:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:53:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:53:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:53:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 10:53:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 10:53:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993120768001,"66":25615,"250":206,"85":12544,"24":0,"16":358826891035017216,"45":9197968944632135680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 10:53:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 10:53:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 10:53:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993120768001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:53:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 10:53:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 10:53:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826891035017216,"km_value":358826891035017.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:53:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197968944632135680,"description":"Unknown IO ID 45"} 
[2026-07-27 10:53:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993120768001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197968944632135680}} 
[2026-07-27 10:53:38] local.INFO: DEBUG: GPS processor result {"connection_id":142914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:53:38] local.INFO: GPS data processed {"connection_id":142914,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:53:38] local.INFO: Acknowledgment sent {"connection_id":142914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:54:08] local.INFO: TCP Data received {"connection_id":142913,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa204e2a8012d192380071fd0c80037005c25..."} 
[2026-07-27 10:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa204e2a8012d192380071fd0c80037005c25..."} 
[2026-07-27 10:54:08] local.INFO: Processing buffer {"connection_id":142913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa204e2a8012d192380071fd0c80037005c25..."} 
[2026-07-27 10:54:08] local.INFO: Packet analysis {"connection_id":142913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa204"} 
[2026-07-27 10:54:08] local.INFO: Extracted packet for processing {"connection_id":142913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa204"} 
[2026-07-27 10:54:08] local.INFO: GPS Element Parsed {"raw_longitude":756622208,"raw_latitude":119525576,"longitude_deg":75.6622208,"latitude_deg":11.9525576,"altitude":55,"angle":92,"satellites":37,"speed":0,"hex_longitude":"2d192380","hex_latitude":"071fd0c8","is_valid_coordinates":true} 
[2026-07-27 10:54:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:54:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993186816001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:54:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8800246255583232,"note":"Value kept but may cause issues"} 
[2026-07-27 10:54:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1811432243219974144,"note":"Value kept but may cause issues"} 
[2026-07-27 10:54:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:54:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785129657000,"timestamp_ms":1785129657000,"timestamp_seconds":1785129657,"priority":1,"record_length":96,"hex_timestamp":"0000019fa204e2a8"} 
[2026-07-27 10:54:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:54:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 10:54:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-27 10:54:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:54:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:54:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:54:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:54:08] local.INFO: Teltonika packet parsed successfully {"connection_id":142913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:54:08] local.INFO: Passing IMEI to GPS processor {"connection_id":142913,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:54:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":142913,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:54:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:54:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:54:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:54:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993186816001,"66":12287,"121":206,"28":31744,"24":0,"16":8800246255583232,"45":1811432243219974144},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 10:54:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:54:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:54:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993186816001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:54:08] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 10:54:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:54:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8800246255583232,"km_value":8800246255583.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:54:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1811432243219974144,"description":"Unknown IO ID 45"} 
[2026-07-27 10:54:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993186816001,"power":12287,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1811432243219974144}} 
[2026-07-27 10:54:08] local.INFO: DEBUG: GPS processor result {"connection_id":142913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552716,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:54:08] local.INFO: GPS data processed {"connection_id":142913,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:54:08] local.INFO: Acknowledgment sent {"connection_id":142913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:54:15] local.INFO: TCP Data received {"connection_id":142914,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2053898012d7fa5c005afdf80000800142b..."} 
[2026-07-27 10:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2053898012d7fa5c005afdf80000800142b..."} 
[2026-07-27 10:54:15] local.INFO: Processing buffer {"connection_id":142914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2053898012d7fa5c005afdf80000800142b..."} 
[2026-07-27 10:54:15] local.INFO: Packet analysis {"connection_id":142914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa205"} 
[2026-07-27 10:54:15] local.INFO: Extracted packet for processing {"connection_id":142914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa205"} 
[2026-07-27 10:54:15] local.INFO: GPS Element Parsed {"raw_longitude":763340224,"raw_latitude":95412096,"longitude_deg":76.3340224,"latitude_deg":9.5412096,"altitude":8,"angle":20,"satellites":43,"speed":0,"hex_longitude":"2d7fa5c0","hex_latitude":"05afdf80","is_valid_coordinates":true} 
[2026-07-27 10:54:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:54:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993120768001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:54:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826891035017216,"note":"Value kept but may cause issues"} 
[2026-07-27 10:54:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197968944632135680,"note":"Value kept but may cause issues"} 
[2026-07-27 10:54:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:54:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785129679000,"timestamp_ms":1785129679000,"timestamp_seconds":1785129679,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2053898"} 
[2026-07-27 10:54:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:54:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 10:54:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-27 10:54:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:54:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:54:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:54:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:54:15] local.INFO: Teltonika packet parsed successfully {"connection_id":142914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:54:15] local.INFO: Passing IMEI to GPS processor {"connection_id":142914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:54:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":142914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:54:15] 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-07-27 10:54:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 10:54:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 10:54:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993120768001,"66":25615,"250":206,"85":12544,"24":0,"16":358826891035017216,"45":9197968944632135680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 10:54:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 10:54:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 10:54:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993120768001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:54:15] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 10:54:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 10:54:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826891035017216,"km_value":358826891035017.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:54:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197968944632135680,"description":"Unknown IO ID 45"} 
[2026-07-27 10:54:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993120768001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197968944632135680}} 
[2026-07-27 10:54:15] local.INFO: DEBUG: GPS processor result {"connection_id":142914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:54:15] local.INFO: GPS data processed {"connection_id":142914,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:54:15] local.INFO: Acknowledgment sent {"connection_id":142914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:54:30] local.INFO: TCP Data received {"connection_id":142788,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142788,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:54:30] local.INFO: Processing buffer {"connection_id":142788,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:54:30] local.INFO: IMEI packet received {"connection_id":142788,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 10:54:30] local.INFO: IMEI acknowledgment sent {"connection_id":142788,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:54:32] local.INFO: TCP Data received {"connection_id":145215,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:54:32] local.INFO: Processing buffer {"connection_id":145215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:54:32] local.INFO: IMEI packet received {"connection_id":145215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 10:54:32] local.INFO: IMEI acknowledgment sent {"connection_id":145215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:54:35] local.INFO: TCP Data received {"connection_id":142788,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142788,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:54:35] local.INFO: Processing buffer {"connection_id":142788,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:54:35] local.INFO: IMEI packet received {"connection_id":142788,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 10:54:35] local.INFO: IMEI acknowledgment sent {"connection_id":142788,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:54:36] local.INFO: TCP Data received {"connection_id":142788,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa20534b0012d192380071fd0c80037005c23..."} 
[2026-07-27 10:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa20534b0012d192380071fd0c80037005c23..."} 
[2026-07-27 10:54:36] local.INFO: Processing buffer {"connection_id":142788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa20534b0012d192380071fd0c80037005c23..."} 
[2026-07-27 10:54:36] local.INFO: Packet analysis {"connection_id":142788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa205"} 
[2026-07-27 10:54:36] local.INFO: Extracted packet for processing {"connection_id":142788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa205"} 
[2026-07-27 10:54:36] local.INFO: GPS Element Parsed {"raw_longitude":756622208,"raw_latitude":119525576,"longitude_deg":75.6622208,"latitude_deg":11.9525576,"altitude":55,"angle":92,"satellites":35,"speed":0,"hex_longitude":"2d192380","hex_latitude":"071fd0c8","is_valid_coordinates":true} 
[2026-07-27 10:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:54:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993192192001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:54:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8800246255583232,"note":"Value kept but may cause issues"} 
[2026-07-27 10:54:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1811432243219974144,"note":"Value kept but may cause issues"} 
[2026-07-27 10:54:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:54:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785129678000,"timestamp_ms":1785129678000,"timestamp_seconds":1785129678,"priority":1,"record_length":96,"hex_timestamp":"0000019fa20534b0"} 
[2026-07-27 10:54:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:54:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 10:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-27 10:54:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:54:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:54:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:54:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:54:36] local.INFO: Teltonika packet parsed successfully {"connection_id":142788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:54:36] local.INFO: Passing IMEI to GPS processor {"connection_id":142788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:54:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":142788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:54:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:54:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:54:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:54:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993192192001,"66":12287,"121":206,"28":31744,"24":0,"16":8800246255583232,"45":1811432243219974144},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 10:54:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:54:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:54:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993192192001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:54:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 10:54:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:54:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8800246255583232,"km_value":8800246255583.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:54:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1811432243219974144,"description":"Unknown IO ID 45"} 
[2026-07-27 10:54:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993192192001,"power":12287,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1811432243219974144}} 
[2026-07-27 10:54:36] local.INFO: DEBUG: GPS processor result {"connection_id":142788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552718,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:54:36] local.INFO: GPS data processed {"connection_id":142788,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:54:36] local.INFO: Acknowledgment sent {"connection_id":142788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:54:37] local.INFO: TCP Data received {"connection_id":145215,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:54:37] local.INFO: Processing buffer {"connection_id":145215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:54:37] local.INFO: IMEI packet received {"connection_id":145215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 10:54:37] local.INFO: IMEI acknowledgment sent {"connection_id":145215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:54:38] local.INFO: TCP Data received {"connection_id":145215,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2053898012d7fa5c005afdf80000800142b..."} 
[2026-07-27 10:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145215,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2053898012d7fa5c005afdf80000800142b..."} 
[2026-07-27 10:54:38] local.INFO: Processing buffer {"connection_id":145215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2053898012d7fa5c005afdf80000800142b..."} 
[2026-07-27 10:54:38] local.INFO: Packet analysis {"connection_id":145215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa205"} 
[2026-07-27 10:54:38] local.INFO: Extracted packet for processing {"connection_id":145215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa205"} 
[2026-07-27 10:54:38] local.INFO: GPS Element Parsed {"raw_longitude":763340224,"raw_latitude":95412096,"longitude_deg":76.3340224,"latitude_deg":9.5412096,"altitude":8,"angle":20,"satellites":43,"speed":0,"hex_longitude":"2d7fa5c0","hex_latitude":"05afdf80","is_valid_coordinates":true} 
[2026-07-27 10:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:54:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993120768001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:54:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826891035017216,"note":"Value kept but may cause issues"} 
[2026-07-27 10:54:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197968944632135680,"note":"Value kept but may cause issues"} 
[2026-07-27 10:54:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:54:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785129679000,"timestamp_ms":1785129679000,"timestamp_seconds":1785129679,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2053898"} 
[2026-07-27 10:54:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:54:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 10:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-27 10:54:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:54:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:54:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:54:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:54:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:54:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:54:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:54:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:54:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 10:54:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 10:54:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993120768001,"66":25615,"250":206,"85":12544,"24":0,"16":358826891035017216,"45":9197968944632135680},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 10:54:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 10:54:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 10:54:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993120768001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:54:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 10:54:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 10:54:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826891035017216,"km_value":358826891035017.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:54:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197968944632135680,"description":"Unknown IO ID 45"} 
[2026-07-27 10:54:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993120768001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197968944632135680}} 
[2026-07-27 10:54:38] local.INFO: DEBUG: GPS processor result {"connection_id":145215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:54:38] local.INFO: GPS data processed {"connection_id":145215,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:54:38] local.INFO: Acknowledgment sent {"connection_id":145215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:55:07] local.INFO: TCP Data received {"connection_id":142788,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa20586b8012d192380071fd0c80037005c26..."} 
[2026-07-27 10:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa20586b8012d192380071fd0c80037005c26..."} 
[2026-07-27 10:55:07] local.INFO: Processing buffer {"connection_id":142788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa20586b8012d192380071fd0c80037005c26..."} 
[2026-07-27 10:55:07] local.INFO: Packet analysis {"connection_id":142788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa205"} 
[2026-07-27 10:55:07] local.INFO: Extracted packet for processing {"connection_id":142788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa205"} 
[2026-07-27 10:55:07] local.INFO: GPS Element Parsed {"raw_longitude":756622208,"raw_latitude":119525576,"longitude_deg":75.6622208,"latitude_deg":11.9525576,"altitude":55,"angle":92,"satellites":38,"speed":0,"hex_longitude":"2d192380","hex_latitude":"071fd0c8","is_valid_coordinates":true} 
[2026-07-27 10:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:55:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993197568001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:55:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8800246255583232,"note":"Value kept but may cause issues"} 
[2026-07-27 10:55:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1811432243219974144,"note":"Value kept but may cause issues"} 
[2026-07-27 10:55:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:55:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785129699000,"timestamp_ms":1785129699000,"timestamp_seconds":1785129699,"priority":1,"record_length":96,"hex_timestamp":"0000019fa20586b8"} 
[2026-07-27 10:55:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:55:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 10:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-27 10:55:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:55:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:55:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:55:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:55:07] local.INFO: Teltonika packet parsed successfully {"connection_id":142788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:55:07] local.INFO: Passing IMEI to GPS processor {"connection_id":142788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:55:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":142788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:55:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:55:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:55:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:55:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993197568001,"66":11874,"121":206,"28":31744,"24":0,"16":8800246255583232,"45":1811432243219974144},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 10:55:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:55:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:55:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993197568001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:55:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 10:55:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:55:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8800246255583232,"km_value":8800246255583.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:55:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1811432243219974144,"description":"Unknown IO ID 45"} 
[2026-07-27 10:55:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993197568001,"power":11874,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1811432243219974144}} 
[2026-07-27 10:55:07] local.INFO: DEBUG: GPS processor result {"connection_id":142788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552720,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:55:07] local.INFO: GPS data processed {"connection_id":142788,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:55:07] local.INFO: Acknowledgment sent {"connection_id":142788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:55:09] local.INFO: TCP Data received {"connection_id":145215,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2053898012d7fa5c005afdf80000800142b..."} 
[2026-07-27 10:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145215,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2053898012d7fa5c005afdf80000800142b..."} 
[2026-07-27 10:55:09] local.INFO: Processing buffer {"connection_id":145215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2053898012d7fa5c005afdf80000800142b..."} 
[2026-07-27 10:55:09] local.INFO: Packet analysis {"connection_id":145215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa205"} 
[2026-07-27 10:55:09] local.INFO: Extracted packet for processing {"connection_id":145215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa205"} 
[2026-07-27 10:55:09] local.INFO: GPS Element Parsed {"raw_longitude":763340224,"raw_latitude":95412096,"longitude_deg":76.3340224,"latitude_deg":9.5412096,"altitude":8,"angle":20,"satellites":43,"speed":0,"hex_longitude":"2d7fa5c0","hex_latitude":"05afdf80","is_valid_coordinates":true} 
[2026-07-27 10:55:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:55:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993120768001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:55:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826891035017216,"note":"Value kept but may cause issues"} 
[2026-07-27 10:55:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197968944632135680,"note":"Value kept but may cause issues"} 
[2026-07-27 10:55:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:55:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785129679000,"timestamp_ms":1785129679000,"timestamp_seconds":1785129679,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2053898"} 
[2026-07-27 10:55:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:55:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 10:55:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-27 10:55:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:55:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:55:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:55:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:55:09] local.INFO: Teltonika packet parsed successfully {"connection_id":145215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:55:09] local.INFO: Passing IMEI to GPS processor {"connection_id":145215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:55:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":145215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:55: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-07-27 10:55:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 10:55:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 10:55:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993120768001,"66":25615,"250":206,"85":12544,"24":0,"16":358826891035017216,"45":9197968944632135680},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 10:55:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 10:55:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 10:55:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993120768001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:55:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 10:55:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 10:55:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826891035017216,"km_value":358826891035017.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:55:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197968944632135680,"description":"Unknown IO ID 45"} 
[2026-07-27 10:55:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993120768001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197968944632135680}} 
[2026-07-27 10:55:09] local.INFO: DEBUG: GPS processor result {"connection_id":145215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:55:09] local.INFO: GPS data processed {"connection_id":145215,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:55:09] local.INFO: Acknowledgment sent {"connection_id":145215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:55:35] local.INFO: TCP Data received {"connection_id":142915,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142915,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:55:35] local.INFO: Processing buffer {"connection_id":142915,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:55:35] local.INFO: IMEI packet received {"connection_id":142915,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 10:55:35] local.INFO: IMEI acknowledgment sent {"connection_id":142915,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:55:37] local.INFO: TCP Data received {"connection_id":142789,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:55:37] local.INFO: Processing buffer {"connection_id":142789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:55:37] local.INFO: IMEI packet received {"connection_id":142789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 10:55:37] local.INFO: IMEI acknowledgment sent {"connection_id":142789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:55:40] local.INFO: TCP Data received {"connection_id":142915,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142915,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:55:40] local.INFO: Processing buffer {"connection_id":142915,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:55:40] local.INFO: IMEI packet received {"connection_id":142915,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 10:55:40] local.INFO: IMEI acknowledgment sent {"connection_id":142915,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:55:42] local.INFO: TCP Data received {"connection_id":142915,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa205d8c0012d192380071fd0c80037005c24..."} 
[2026-07-27 10:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa205d8c0012d192380071fd0c80037005c24..."} 
[2026-07-27 10:55:42] local.INFO: Processing buffer {"connection_id":142915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa205d8c0012d192380071fd0c80037005c24..."} 
[2026-07-27 10:55:42] local.INFO: Packet analysis {"connection_id":142915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa205"} 
[2026-07-27 10:55:42] local.INFO: Extracted packet for processing {"connection_id":142915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa205"} 
[2026-07-27 10:55:42] local.INFO: GPS Element Parsed {"raw_longitude":756622208,"raw_latitude":119525576,"longitude_deg":75.6622208,"latitude_deg":11.9525576,"altitude":55,"angle":92,"satellites":36,"speed":0,"hex_longitude":"2d192380","hex_latitude":"071fd0c8","is_valid_coordinates":true} 
[2026-07-27 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-07-27 10:55:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993202944001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:55:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8800246255583232,"note":"Value kept but may cause issues"} 
[2026-07-27 10:55:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1811432243219974144,"note":"Value kept but may cause issues"} 
[2026-07-27 10:55:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:55:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785129720000,"timestamp_ms":1785129720000,"timestamp_seconds":1785129720,"priority":1,"record_length":96,"hex_timestamp":"0000019fa205d8c0"} 
[2026-07-27 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-07-27 10:55:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-27 10:55:42] 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-07-27 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-07-27 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-07-27 10:55:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:55:42] local.INFO: Teltonika packet parsed successfully {"connection_id":142915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:55:42] local.INFO: Passing IMEI to GPS processor {"connection_id":142915,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:55:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":142915,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:55:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:55:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:55:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:55:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993202944001,"66":11874,"121":206,"28":31744,"24":0,"16":8800246255583232,"45":1811432243219974144},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 10:55:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:55:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:55:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993202944001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:55:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 10:55:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:55:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8800246255583232,"km_value":8800246255583.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:55:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1811432243219974144,"description":"Unknown IO ID 45"} 
[2026-07-27 10:55:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993202944001,"power":11874,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1811432243219974144}} 
[2026-07-27 10:55:42] local.INFO: DEBUG: GPS processor result {"connection_id":142915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552722,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:55:42] local.INFO: GPS data processed {"connection_id":142915,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:55:42] local.INFO: Acknowledgment sent {"connection_id":142915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:55:42] local.INFO: TCP Data received {"connection_id":142789,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:55:42] local.INFO: Processing buffer {"connection_id":142789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:55:42] local.INFO: IMEI packet received {"connection_id":142789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 10:55:42] local.INFO: IMEI acknowledgment sent {"connection_id":142789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:55:43] local.INFO: TCP Data received {"connection_id":142789,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2053898012d7fa5c005afdf80000800142b..."} 
[2026-07-27 10:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2053898012d7fa5c005afdf80000800142b..."} 
[2026-07-27 10:55:43] local.INFO: Processing buffer {"connection_id":142789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2053898012d7fa5c005afdf80000800142b..."} 
[2026-07-27 10:55:43] local.INFO: Packet analysis {"connection_id":142789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa205"} 
[2026-07-27 10:55:43] local.INFO: Extracted packet for processing {"connection_id":142789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa205"} 
[2026-07-27 10:55:43] local.INFO: GPS Element Parsed {"raw_longitude":763340224,"raw_latitude":95412096,"longitude_deg":76.3340224,"latitude_deg":9.5412096,"altitude":8,"angle":20,"satellites":43,"speed":0,"hex_longitude":"2d7fa5c0","hex_latitude":"05afdf80","is_valid_coordinates":true} 
[2026-07-27 10:55:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:55:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993120768001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:55:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826891035017216,"note":"Value kept but may cause issues"} 
[2026-07-27 10:55:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197968944632135680,"note":"Value kept but may cause issues"} 
[2026-07-27 10:55:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:55:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785129679000,"timestamp_ms":1785129679000,"timestamp_seconds":1785129679,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2053898"} 
[2026-07-27 10:55:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:55:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 10:55:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-27 10:55:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:55:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:55:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:55:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:55:43] local.INFO: Teltonika packet parsed successfully {"connection_id":142789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:55:43] local.INFO: Passing IMEI to GPS processor {"connection_id":142789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:55:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":142789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:55: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-07-27 10:55:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 10:55:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 10:55:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993120768001,"66":25615,"250":206,"85":12544,"24":0,"16":358826891035017216,"45":9197968944632135680},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 10:55:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 10:55:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 10:55:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993120768001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:55:43] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 10:55:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 10:55:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826891035017216,"km_value":358826891035017.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:55:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197968944632135680,"description":"Unknown IO ID 45"} 
[2026-07-27 10:55:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993120768001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197968944632135680}} 
[2026-07-27 10:55:43] local.INFO: DEBUG: GPS processor result {"connection_id":142789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:55:43] local.INFO: GPS data processed {"connection_id":142789,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:55:43] local.INFO: Acknowledgment sent {"connection_id":142789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:55:48] local.INFO: TCP Data received {"connection_id":142789,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2053898012d7fa5c005afdf80000800142b..."} 
[2026-07-27 10:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2053898012d7fa5c005afdf80000800142b..."} 
[2026-07-27 10:55:48] local.INFO: Processing buffer {"connection_id":142789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2053898012d7fa5c005afdf80000800142b..."} 
[2026-07-27 10:55:48] local.INFO: Packet analysis {"connection_id":142789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa205"} 
[2026-07-27 10:55:48] local.INFO: Extracted packet for processing {"connection_id":142789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa205"} 
[2026-07-27 10:55:48] local.INFO: GPS Element Parsed {"raw_longitude":763340224,"raw_latitude":95412096,"longitude_deg":76.3340224,"latitude_deg":9.5412096,"altitude":8,"angle":20,"satellites":43,"speed":0,"hex_longitude":"2d7fa5c0","hex_latitude":"05afdf80","is_valid_coordinates":true} 
[2026-07-27 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-07-27 10:55:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993120768001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:55:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826891035017216,"note":"Value kept but may cause issues"} 
[2026-07-27 10:55:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197968944632135680,"note":"Value kept but may cause issues"} 
[2026-07-27 10:55:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:55:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785129679000,"timestamp_ms":1785129679000,"timestamp_seconds":1785129679,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2053898"} 
[2026-07-27 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-07-27 10:55:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-27 10:55:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 10:55:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:55:48] local.INFO: Teltonika packet parsed successfully {"connection_id":142789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:55:48] local.INFO: Passing IMEI to GPS processor {"connection_id":142789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:55:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":142789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:55:48] 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-07-27 10:55:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 10:55:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 10:55:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993120768001,"66":25615,"250":206,"85":12544,"24":0,"16":358826891035017216,"45":9197968944632135680},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 10:55:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 10:55:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 10:55:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993120768001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:55:48] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 10:55:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 10:55:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826891035017216,"km_value":358826891035017.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:55:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197968944632135680,"description":"Unknown IO ID 45"} 
[2026-07-27 10:55:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993120768001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197968944632135680}} 
[2026-07-27 10:55:48] local.INFO: DEBUG: GPS processor result {"connection_id":142789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:55:48] local.INFO: GPS data processed {"connection_id":142789,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:55:48] local.INFO: Acknowledgment sent {"connection_id":142789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:55:49] local.INFO: TCP Data received {"connection_id":142915,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2062ac8012d192380071fd0c80037005c24..."} 
[2026-07-27 10:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2062ac8012d192380071fd0c80037005c24..."} 
[2026-07-27 10:55:49] local.INFO: Processing buffer {"connection_id":142915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2062ac8012d192380071fd0c80037005c24..."} 
[2026-07-27 10:55:49] local.INFO: Packet analysis {"connection_id":142915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa206"} 
[2026-07-27 10:55:49] local.INFO: Extracted packet for processing {"connection_id":142915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa206"} 
[2026-07-27 10:55:49] local.INFO: GPS Element Parsed {"raw_longitude":756622208,"raw_latitude":119525576,"longitude_deg":75.6622208,"latitude_deg":11.9525576,"altitude":55,"angle":92,"satellites":36,"speed":0,"hex_longitude":"2d192380","hex_latitude":"071fd0c8","is_valid_coordinates":true} 
[2026-07-27 10:55:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:55:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993208320001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:55:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8800246255583232,"note":"Value kept but may cause issues"} 
[2026-07-27 10:55:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1811432243219974144,"note":"Value kept but may cause issues"} 
[2026-07-27 10:55: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-07-27 10:55:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785129741000,"timestamp_ms":1785129741000,"timestamp_seconds":1785129741,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2062ac8"} 
[2026-07-27 10:55:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:55: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-07-27 10:55:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-27 10:55:49] 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-07-27 10:55:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:55:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:55:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:55:49] local.INFO: Teltonika packet parsed successfully {"connection_id":142915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:55:49] local.INFO: Passing IMEI to GPS processor {"connection_id":142915,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:55:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":142915,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:55:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:55:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:55:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:55:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993208320001,"66":12265,"121":206,"28":31744,"24":0,"16":8800246255583232,"45":1811432243219974144},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 10:55:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:55:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:55:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993208320001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:55:49] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 10:55:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:55:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8800246255583232,"km_value":8800246255583.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:55:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1811432243219974144,"description":"Unknown IO ID 45"} 
[2026-07-27 10:55:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993208320001,"power":12265,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1811432243219974144}} 
[2026-07-27 10:55:49] local.INFO: DEBUG: GPS processor result {"connection_id":142915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552725,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:55:49] local.INFO: GPS data processed {"connection_id":142915,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:55:49] local.INFO: Acknowledgment sent {"connection_id":142915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:56:29] local.INFO: TCP Data received {"connection_id":142791,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142791,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:56:29] local.INFO: Processing buffer {"connection_id":142791,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:56:29] local.INFO: IMEI packet received {"connection_id":142791,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 10:56:29] local.INFO: IMEI acknowledgment sent {"connection_id":142791,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:56:32] local.INFO: TCP Data received {"connection_id":142790,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:56:32] local.INFO: Processing buffer {"connection_id":142790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:56:32] local.INFO: IMEI packet received {"connection_id":142790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 10:56:32] local.INFO: IMEI acknowledgment sent {"connection_id":142790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:56:34] local.INFO: TCP Data received {"connection_id":142791,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142791,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:56:34] local.INFO: Processing buffer {"connection_id":142791,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:56:34] local.INFO: IMEI packet received {"connection_id":142791,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 10:56:34] local.INFO: IMEI acknowledgment sent {"connection_id":142791,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:56:36] local.INFO: TCP Data received {"connection_id":142791,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2067cd0012d192380071fd0c80037005c25..."} 
[2026-07-27 10:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2067cd0012d192380071fd0c80037005c25..."} 
[2026-07-27 10:56:36] local.INFO: Processing buffer {"connection_id":142791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2067cd0012d192380071fd0c80037005c25..."} 
[2026-07-27 10:56:36] local.INFO: Packet analysis {"connection_id":142791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa206"} 
[2026-07-27 10:56:36] local.INFO: Extracted packet for processing {"connection_id":142791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa206"} 
[2026-07-27 10:56:36] local.INFO: GPS Element Parsed {"raw_longitude":756622208,"raw_latitude":119525576,"longitude_deg":75.6622208,"latitude_deg":11.9525576,"altitude":55,"angle":92,"satellites":37,"speed":0,"hex_longitude":"2d192380","hex_latitude":"071fd0c8","is_valid_coordinates":true} 
[2026-07-27 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-07-27 10:56:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993213696001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:56:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8800246255583232,"note":"Value kept but may cause issues"} 
[2026-07-27 10:56:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1811432243219974144,"note":"Value kept but may cause issues"} 
[2026-07-27 10:56:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:56:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785129762000,"timestamp_ms":1785129762000,"timestamp_seconds":1785129762,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2067cd0"} 
[2026-07-27 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-07-27 10:56:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 10:56:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2530,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 10:56:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:56:36] local.INFO: Teltonika packet parsed successfully {"connection_id":142791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:56:36] local.INFO: Passing IMEI to GPS processor {"connection_id":142791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:56:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":142791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:56:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:56:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:56:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:56:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993213696001,"66":12254,"121":206,"28":31744,"24":0,"16":8800246255583232,"45":1811432243219974144},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 10:56:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:56:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:56:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993213696001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:56:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 10:56:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:56:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8800246255583232,"km_value":8800246255583.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:56:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1811432243219974144,"description":"Unknown IO ID 45"} 
[2026-07-27 10:56:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993213696001,"power":12254,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1811432243219974144}} 
[2026-07-27 10:56:36] local.INFO: DEBUG: GPS processor result {"connection_id":142791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552726,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:56:36] local.INFO: GPS data processed {"connection_id":142791,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:56:36] local.INFO: Acknowledgment sent {"connection_id":142791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:56:37] local.INFO: TCP Data received {"connection_id":142790,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:56:37] local.INFO: Processing buffer {"connection_id":142790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:56:37] local.INFO: IMEI packet received {"connection_id":142790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 10:56:37] local.INFO: IMEI acknowledgment sent {"connection_id":142790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:56:38] local.INFO: TCP Data received {"connection_id":142790,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2053898012d7fa5c005afdf80000800142b..."} 
[2026-07-27 10:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2053898012d7fa5c005afdf80000800142b..."} 
[2026-07-27 10:56:38] local.INFO: Processing buffer {"connection_id":142790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2053898012d7fa5c005afdf80000800142b..."} 
[2026-07-27 10:56:38] local.INFO: Packet analysis {"connection_id":142790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa205"} 
[2026-07-27 10:56:38] local.INFO: Extracted packet for processing {"connection_id":142790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa205"} 
[2026-07-27 10:56:38] local.INFO: GPS Element Parsed {"raw_longitude":763340224,"raw_latitude":95412096,"longitude_deg":76.3340224,"latitude_deg":9.5412096,"altitude":8,"angle":20,"satellites":43,"speed":0,"hex_longitude":"2d7fa5c0","hex_latitude":"05afdf80","is_valid_coordinates":true} 
[2026-07-27 10:56:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:56:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993120768001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:56:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826891035017216,"note":"Value kept but may cause issues"} 
[2026-07-27 10:56:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197968944632135680,"note":"Value kept but may cause issues"} 
[2026-07-27 10:56:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:56:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785129679000,"timestamp_ms":1785129679000,"timestamp_seconds":1785129679,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2053898"} 
[2026-07-27 10:56:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:56:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 10:56:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-27 10:56:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:56:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:56:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:56:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:56:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:56:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:56:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:56:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:56:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 10:56:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 10:56:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993120768001,"66":25615,"250":206,"85":12544,"24":0,"16":358826891035017216,"45":9197968944632135680},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 10:56:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 10:56:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 10:56:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993120768001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:56:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 10:56:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 10:56:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826891035017216,"km_value":358826891035017.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:56:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197968944632135680,"description":"Unknown IO ID 45"} 
[2026-07-27 10:56:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993120768001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197968944632135680}} 
[2026-07-27 10:56:38] local.INFO: DEBUG: GPS processor result {"connection_id":142790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:56:38] local.INFO: GPS data processed {"connection_id":142790,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:56:38] local.INFO: Acknowledgment sent {"connection_id":142790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:56:43] local.INFO: TCP Data received {"connection_id":142790,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2053898012d7fa5c005afdf80000800142b..."} 
[2026-07-27 10:56:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2053898012d7fa5c005afdf80000800142b..."} 
[2026-07-27 10:56:43] local.INFO: Processing buffer {"connection_id":142790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2053898012d7fa5c005afdf80000800142b..."} 
[2026-07-27 10:56:43] local.INFO: Packet analysis {"connection_id":142790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa205"} 
[2026-07-27 10:56:43] local.INFO: Extracted packet for processing {"connection_id":142790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa205"} 
[2026-07-27 10:56:43] local.INFO: GPS Element Parsed {"raw_longitude":763340224,"raw_latitude":95412096,"longitude_deg":76.3340224,"latitude_deg":9.5412096,"altitude":8,"angle":20,"satellites":43,"speed":0,"hex_longitude":"2d7fa5c0","hex_latitude":"05afdf80","is_valid_coordinates":true} 
[2026-07-27 10:56:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:56:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993120768001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:56:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826891035017216,"note":"Value kept but may cause issues"} 
[2026-07-27 10:56:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197968944632135680,"note":"Value kept but may cause issues"} 
[2026-07-27 10:56:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:56:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785129679000,"timestamp_ms":1785129679000,"timestamp_seconds":1785129679,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2053898"} 
[2026-07-27 10:56:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:56:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 10:56:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-27 10:56:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:56:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:56:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:56:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:56:43] local.INFO: Teltonika packet parsed successfully {"connection_id":142790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:56:43] local.INFO: Passing IMEI to GPS processor {"connection_id":142790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:56:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":142790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:56: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-07-27 10:56:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 10:56:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 10:56:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993120768001,"66":25615,"250":206,"85":12544,"24":0,"16":358826891035017216,"45":9197968944632135680},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 10:56:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 10:56:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 10:56:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993120768001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:56:43] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 10:56:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 10:56:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826891035017216,"km_value":358826891035017.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:56:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197968944632135680,"description":"Unknown IO ID 45"} 
[2026-07-27 10:56:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993120768001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197968944632135680}} 
[2026-07-27 10:56:43] local.INFO: DEBUG: GPS processor result {"connection_id":142790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:56:43] local.INFO: GPS data processed {"connection_id":142790,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:56:43] local.INFO: Acknowledgment sent {"connection_id":142790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:57:08] local.INFO: TCP Data received {"connection_id":142791,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa206ced8012d192380071fd0c80037005c25..."} 
[2026-07-27 10:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa206ced8012d192380071fd0c80037005c25..."} 
[2026-07-27 10:57:08] local.INFO: Processing buffer {"connection_id":142791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa206ced8012d192380071fd0c80037005c25..."} 
[2026-07-27 10:57:08] local.INFO: Packet analysis {"connection_id":142791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa206"} 
[2026-07-27 10:57:08] local.INFO: Extracted packet for processing {"connection_id":142791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa206"} 
[2026-07-27 10:57:08] local.INFO: GPS Element Parsed {"raw_longitude":756622208,"raw_latitude":119525576,"longitude_deg":75.6622208,"latitude_deg":11.9525576,"altitude":55,"angle":92,"satellites":37,"speed":0,"hex_longitude":"2d192380","hex_latitude":"071fd0c8","is_valid_coordinates":true} 
[2026-07-27 10:57:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:57:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993219072001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:57:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8800246255583232,"note":"Value kept but may cause issues"} 
[2026-07-27 10:57:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1811432243219974144,"note":"Value kept but may cause issues"} 
[2026-07-27 10:57:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:57:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785129783000,"timestamp_ms":1785129783000,"timestamp_seconds":1785129783,"priority":1,"record_length":96,"hex_timestamp":"0000019fa206ced8"} 
[2026-07-27 10:57:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:57:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 10: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-27 10:57:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:57:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:57:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:57:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:57:08] local.INFO: Teltonika packet parsed successfully {"connection_id":142791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:57:08] local.INFO: Passing IMEI to GPS processor {"connection_id":142791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:57:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":142791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:57:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:57:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:57:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:57:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993219072001,"66":12232,"121":206,"28":31744,"24":0,"16":8800246255583232,"45":1811432243219974144},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 10:57:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:57:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:57:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993219072001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:57:08] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 10:57:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:57:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8800246255583232,"km_value":8800246255583.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:57:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1811432243219974144,"description":"Unknown IO ID 45"} 
[2026-07-27 10:57:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993219072001,"power":12232,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1811432243219974144}} 
[2026-07-27 10:57:08] local.INFO: DEBUG: GPS processor result {"connection_id":142791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552729,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:57:08] local.INFO: GPS data processed {"connection_id":142791,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:57:08] local.INFO: Acknowledgment sent {"connection_id":142791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:57:14] local.INFO: TCP Data received {"connection_id":142790,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa209d060012d7fa5c005afdf80000a00142c..."} 
[2026-07-27 10:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa209d060012d7fa5c005afdf80000a00142c..."} 
[2026-07-27 10:57:14] local.INFO: Processing buffer {"connection_id":142790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa209d060012d7fa5c005afdf80000a00142c..."} 
[2026-07-27 10:57:14] local.INFO: Packet analysis {"connection_id":142790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa209"} 
[2026-07-27 10:57:14] local.INFO: Extracted packet for processing {"connection_id":142790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa209"} 
[2026-07-27 10:57:14] local.INFO: GPS Element Parsed {"raw_longitude":763340224,"raw_latitude":95412096,"longitude_deg":76.3340224,"latitude_deg":9.5412096,"altitude":10,"angle":20,"satellites":44,"speed":0,"hex_longitude":"2d7fa5c0","hex_latitude":"05afdf80","is_valid_coordinates":true} 
[2026-07-27 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-07-27 10:57:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993197824001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:57:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826891035017216,"note":"Value kept but may cause issues"} 
[2026-07-27 10:57:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197968944632135680,"note":"Value kept but may cause issues"} 
[2026-07-27 10:57:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:57:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785129980000,"timestamp_ms":1785129980000,"timestamp_seconds":1785129980,"priority":1,"record_length":96,"hex_timestamp":"0000019fa209d060"} 
[2026-07-27 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-07-27 10:57:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-27 10:57:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 10:57:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:57:14] local.INFO: Teltonika packet parsed successfully {"connection_id":142790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:57:14] local.INFO: Passing IMEI to GPS processor {"connection_id":142790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:57:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":142790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:57: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-07-27 10:57:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 10:57:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 10:57:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993197824001,"66":25582,"249":206,"85":12544,"24":0,"16":358826891035017216,"45":9197968944632135680},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-07-27 10:57:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 10:57:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 10:57:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993197824001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:57:14] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-07-27 10:57:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 10:57:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826891035017216,"km_value":358826891035017.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:57:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197968944632135680,"description":"Unknown IO ID 45"} 
[2026-07-27 10:57:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993197824001,"power":25582,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197968944632135680}} 
[2026-07-27 10:57:14] local.INFO: DEBUG: GPS processor result {"connection_id":142790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:57:14] local.INFO: GPS data processed {"connection_id":142790,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:57:14] local.INFO: Acknowledgment sent {"connection_id":142790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:57:32] local.INFO: TCP Data received {"connection_id":142792,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142792,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:57:32] local.INFO: Processing buffer {"connection_id":142792,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:57:32] local.INFO: IMEI packet received {"connection_id":142792,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 10:57:32] local.INFO: IMEI acknowledgment sent {"connection_id":142792,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:57:32] local.INFO: TCP Data received {"connection_id":143910,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:57:32] local.INFO: Processing buffer {"connection_id":143910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:57:32] local.INFO: IMEI packet received {"connection_id":143910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 10:57:32] local.INFO: IMEI acknowledgment sent {"connection_id":143910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:57:34] local.INFO: TCP Data received {"connection_id":142792,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142792,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:57:34] local.INFO: Processing buffer {"connection_id":142792,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:57:34] local.INFO: IMEI packet received {"connection_id":142792,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 10:57:34] local.INFO: IMEI acknowledgment sent {"connection_id":142792,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:57:37] local.INFO: TCP Data received {"connection_id":143910,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:57:37] local.INFO: Processing buffer {"connection_id":143910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:57:37] local.INFO: IMEI packet received {"connection_id":143910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 10:57:37] local.INFO: IMEI acknowledgment sent {"connection_id":143910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:57:38] local.INFO: TCP Data received {"connection_id":143910,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019fa209d060012d7fa5c005afdf80000a00142c..."} 
[2026-07-27 10:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa209d060012d7fa5c005afdf80000a00142c..."} 
[2026-07-27 10:57:38] local.INFO: Processing buffer {"connection_id":143910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa209d060012d7fa5c005afdf80000a00142c..."} 
[2026-07-27 10:57:38] local.INFO: Packet analysis {"connection_id":143910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa209"} 
[2026-07-27 10:57:38] local.INFO: Extracted packet for processing {"connection_id":143910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa209"} 
[2026-07-27 10:57:38] local.INFO: GPS Element Parsed {"raw_longitude":763340224,"raw_latitude":95412096,"longitude_deg":76.3340224,"latitude_deg":9.5412096,"altitude":10,"angle":20,"satellites":44,"speed":0,"hex_longitude":"2d7fa5c0","hex_latitude":"05afdf80","is_valid_coordinates":true} 
[2026-07-27 10:57:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:57:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993197824001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:57:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826891035017216,"note":"Value kept but may cause issues"} 
[2026-07-27 10:57:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197968944632135680,"note":"Value kept but may cause issues"} 
[2026-07-27 10:57:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:57:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785129980000,"timestamp_ms":1785129980000,"timestamp_seconds":1785129980,"priority":1,"record_length":96,"hex_timestamp":"0000019fa209d060"} 
[2026-07-27 10:57:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:57:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 10:57:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-27 10:57:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:57:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:57:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:57:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:57:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:57:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:57:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:57:38] 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-07-27 10:57:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 10:57:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 10:57:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993197824001,"66":25582,"249":206,"85":12544,"24":0,"16":358826891035017216,"45":9197968944632135680},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-07-27 10:57:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 10:57:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 10:57:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993197824001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:57:38] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-07-27 10:57:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 10:57:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826891035017216,"km_value":358826891035017.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:57:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197968944632135680,"description":"Unknown IO ID 45"} 
[2026-07-27 10:57:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993197824001,"power":25582,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197968944632135680}} 
[2026-07-27 10:57:38] local.INFO: DEBUG: GPS processor result {"connection_id":143910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:57:38] local.INFO: GPS data processed {"connection_id":143910,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:57:38] local.INFO: Acknowledgment sent {"connection_id":143910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:57:40] local.INFO: TCP Data received {"connection_id":142792,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142792,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:57:40] local.INFO: Processing buffer {"connection_id":142792,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:57:40] local.INFO: IMEI packet received {"connection_id":142792,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 10:57:40] local.INFO: IMEI acknowledgment sent {"connection_id":142792,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:57:41] local.INFO: TCP Data received {"connection_id":142792,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa20720e0012d192380071fd0c80037005c25..."} 
[2026-07-27 10:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142792,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa20720e0012d192380071fd0c80037005c25..."} 
[2026-07-27 10:57:41] local.INFO: Processing buffer {"connection_id":142792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa20720e0012d192380071fd0c80037005c25..."} 
[2026-07-27 10:57:41] local.INFO: Packet analysis {"connection_id":142792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa207"} 
[2026-07-27 10:57:41] local.INFO: Extracted packet for processing {"connection_id":142792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa207"} 
[2026-07-27 10:57:41] local.INFO: GPS Element Parsed {"raw_longitude":756622208,"raw_latitude":119525576,"longitude_deg":75.6622208,"latitude_deg":11.9525576,"altitude":55,"angle":92,"satellites":37,"speed":0,"hex_longitude":"2d192380","hex_latitude":"071fd0c8","is_valid_coordinates":true} 
[2026-07-27 10:57:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:57:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993224448001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:57:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8800246255583232,"note":"Value kept but may cause issues"} 
[2026-07-27 10:57:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1811432243219974144,"note":"Value kept but may cause issues"} 
[2026-07-27 10:57:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:57:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785129804000,"timestamp_ms":1785129804000,"timestamp_seconds":1785129804,"priority":1,"record_length":96,"hex_timestamp":"0000019fa20720e0"} 
[2026-07-27 10:57:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:57:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 10: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-27 10:57:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:57:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:57:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:57:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:57:41] local.INFO: Teltonika packet parsed successfully {"connection_id":142792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:57:41] local.INFO: Passing IMEI to GPS processor {"connection_id":142792,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:57:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":142792,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:57:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:57:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:57:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:57:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993224448001,"66":12156,"121":206,"28":31744,"24":0,"16":8800246255583232,"45":1811432243219974144},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 10:57:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:57:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:57:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993224448001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:57:41] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 10:57:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:57:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8800246255583232,"km_value":8800246255583.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:57:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1811432243219974144,"description":"Unknown IO ID 45"} 
[2026-07-27 10:57:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993224448001,"power":12156,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1811432243219974144}} 
[2026-07-27 10:57:41] local.INFO: DEBUG: GPS processor result {"connection_id":142792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552732,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:57:41] local.INFO: GPS data processed {"connection_id":142792,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:57:41] local.INFO: Acknowledgment sent {"connection_id":142792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:57:46] local.INFO: TCP Data received {"connection_id":142792,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa20772e8012d192380071fd0c80037005c24..."} 
[2026-07-27 10:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142792,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa20772e8012d192380071fd0c80037005c24..."} 
[2026-07-27 10:57:46] local.INFO: Processing buffer {"connection_id":142792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa20772e8012d192380071fd0c80037005c24..."} 
[2026-07-27 10:57:46] local.INFO: Packet analysis {"connection_id":142792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa207"} 
[2026-07-27 10:57:46] local.INFO: Extracted packet for processing {"connection_id":142792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa207"} 
[2026-07-27 10:57:46] local.INFO: GPS Element Parsed {"raw_longitude":756622208,"raw_latitude":119525576,"longitude_deg":75.6622208,"latitude_deg":11.9525576,"altitude":55,"angle":92,"satellites":36,"speed":0,"hex_longitude":"2d192380","hex_latitude":"071fd0c8","is_valid_coordinates":true} 
[2026-07-27 10:57:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:57:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993229824001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:57:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8800246255583232,"note":"Value kept but may cause issues"} 
[2026-07-27 10:57:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1811432243219974144,"note":"Value kept but may cause issues"} 
[2026-07-27 10:57: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-07-27 10:57:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785129825000,"timestamp_ms":1785129825000,"timestamp_seconds":1785129825,"priority":1,"record_length":96,"hex_timestamp":"0000019fa20772e8"} 
[2026-07-27 10:57:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:57:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 10: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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-27 10:57:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:57:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:57:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:57:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:57:46] local.INFO: Teltonika packet parsed successfully {"connection_id":142792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:57:46] local.INFO: Passing IMEI to GPS processor {"connection_id":142792,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:57:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":142792,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:57:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:57:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:57:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:57:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993229824001,"66":12254,"121":206,"28":31744,"24":0,"16":8800246255583232,"45":1811432243219974144},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 10:57:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:57:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:57:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993229824001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:57:46] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 10:57:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:57:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8800246255583232,"km_value":8800246255583.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:57:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1811432243219974144,"description":"Unknown IO ID 45"} 
[2026-07-27 10:57:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993229824001,"power":12254,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1811432243219974144}} 
[2026-07-27 10:57:46] local.INFO: DEBUG: GPS processor result {"connection_id":142792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552733,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:57:46] local.INFO: GPS data processed {"connection_id":142792,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:57:46] local.INFO: Acknowledgment sent {"connection_id":142792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:58:09] local.INFO: TCP Data received {"connection_id":143910,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019fa209d060012d7fa5c005afdf80000a00142c..."} 
[2026-07-27 10:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa209d060012d7fa5c005afdf80000a00142c..."} 
[2026-07-27 10:58:09] local.INFO: Processing buffer {"connection_id":143910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa209d060012d7fa5c005afdf80000a00142c..."} 
[2026-07-27 10:58:09] local.INFO: Packet analysis {"connection_id":143910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa209"} 
[2026-07-27 10:58:09] local.INFO: Extracted packet for processing {"connection_id":143910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa209"} 
[2026-07-27 10:58:09] local.INFO: GPS Element Parsed {"raw_longitude":763340224,"raw_latitude":95412096,"longitude_deg":76.3340224,"latitude_deg":9.5412096,"altitude":10,"angle":20,"satellites":44,"speed":0,"hex_longitude":"2d7fa5c0","hex_latitude":"05afdf80","is_valid_coordinates":true} 
[2026-07-27 10:58:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:58:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993197824001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:58:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826891035017216,"note":"Value kept but may cause issues"} 
[2026-07-27 10:58:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197968944632135680,"note":"Value kept but may cause issues"} 
[2026-07-27 10:58:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:58:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785129980000,"timestamp_ms":1785129980000,"timestamp_seconds":1785129980,"priority":1,"record_length":96,"hex_timestamp":"0000019fa209d060"} 
[2026-07-27 10:58:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:58:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 10:58:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-27 10:58:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:58:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:58:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:58:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:58:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:58:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:58:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:58: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-07-27 10:58:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 10:58:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 10:58:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993197824001,"66":25582,"249":206,"85":12544,"24":0,"16":358826891035017216,"45":9197968944632135680},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-07-27 10:58:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 10:58:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 10:58:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993197824001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:58:09] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-07-27 10:58:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 10:58:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826891035017216,"km_value":358826891035017.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:58:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197968944632135680,"description":"Unknown IO ID 45"} 
[2026-07-27 10:58:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993197824001,"power":25582,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197968944632135680}} 
[2026-07-27 10:58:09] local.INFO: DEBUG: GPS processor result {"connection_id":143910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:58:09] local.INFO: GPS data processed {"connection_id":143910,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:58:09] local.INFO: Acknowledgment sent {"connection_id":143910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:58:30] local.INFO: TCP Data received {"connection_id":143911,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143911,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:58:30] local.INFO: Processing buffer {"connection_id":143911,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:58:30] local.INFO: IMEI packet received {"connection_id":143911,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 10:58:30] local.INFO: IMEI acknowledgment sent {"connection_id":143911,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:58:32] local.INFO: TCP Data received {"connection_id":142793,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:58:32] local.INFO: Processing buffer {"connection_id":142793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:58:32] local.INFO: IMEI packet received {"connection_id":142793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 10:58:32] local.INFO: IMEI acknowledgment sent {"connection_id":142793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:58:35] local.INFO: TCP Data received {"connection_id":143911,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143911,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:58:35] local.INFO: Processing buffer {"connection_id":143911,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:58:35] local.INFO: IMEI packet received {"connection_id":143911,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 10:58:35] local.INFO: IMEI acknowledgment sent {"connection_id":143911,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:58:36] local.INFO: TCP Data received {"connection_id":143911,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa207c4f0012d192380071fd0c80037005c26..."} 
[2026-07-27 10:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa207c4f0012d192380071fd0c80037005c26..."} 
[2026-07-27 10:58:36] local.INFO: Processing buffer {"connection_id":143911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa207c4f0012d192380071fd0c80037005c26..."} 
[2026-07-27 10:58:36] local.INFO: Packet analysis {"connection_id":143911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa207"} 
[2026-07-27 10:58:36] local.INFO: Extracted packet for processing {"connection_id":143911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa207"} 
[2026-07-27 10:58:36] local.INFO: GPS Element Parsed {"raw_longitude":756622208,"raw_latitude":119525576,"longitude_deg":75.6622208,"latitude_deg":11.9525576,"altitude":55,"angle":92,"satellites":38,"speed":0,"hex_longitude":"2d192380","hex_latitude":"071fd0c8","is_valid_coordinates":true} 
[2026-07-27 10:58:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:58:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993235200001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:58:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8800246255583232,"note":"Value kept but may cause issues"} 
[2026-07-27 10:58:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1811432243219974144,"note":"Value kept but may cause issues"} 
[2026-07-27 10:58:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:58:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785129846000,"timestamp_ms":1785129846000,"timestamp_seconds":1785129846,"priority":1,"record_length":96,"hex_timestamp":"0000019fa207c4f0"} 
[2026-07-27 10:58:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:58:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 10:58:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-27 10:58:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:58:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:58:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:58:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:58:36] local.INFO: Teltonika packet parsed successfully {"connection_id":143911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:58:36] local.INFO: Passing IMEI to GPS processor {"connection_id":143911,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:58:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":143911,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:58:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:58:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:58:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:58:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993235200001,"66":11417,"121":206,"28":31744,"24":0,"16":8800246255583232,"45":1811432243219974144},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 10:58:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:58:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:58:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993235200001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:58:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 10:58:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:58:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8800246255583232,"km_value":8800246255583.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:58:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1811432243219974144,"description":"Unknown IO ID 45"} 
[2026-07-27 10:58:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993235200001,"power":11417,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1811432243219974144}} 
[2026-07-27 10:58:36] local.INFO: DEBUG: GPS processor result {"connection_id":143911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552735,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:58:36] local.INFO: GPS data processed {"connection_id":143911,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:58:36] local.INFO: Acknowledgment sent {"connection_id":143911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:58:37] local.INFO: TCP Data received {"connection_id":142793,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:58:37] local.INFO: Processing buffer {"connection_id":142793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:58:37] local.INFO: IMEI packet received {"connection_id":142793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 10:58:37] local.INFO: IMEI acknowledgment sent {"connection_id":142793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:58:38] local.INFO: TCP Data received {"connection_id":142793,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa209d060012d7fa5c005afdf80000a00142c..."} 
[2026-07-27 10:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa209d060012d7fa5c005afdf80000a00142c..."} 
[2026-07-27 10:58:38] local.INFO: Processing buffer {"connection_id":142793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa209d060012d7fa5c005afdf80000a00142c..."} 
[2026-07-27 10:58:38] local.INFO: Packet analysis {"connection_id":142793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa209"} 
[2026-07-27 10:58:38] local.INFO: Extracted packet for processing {"connection_id":142793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa209"} 
[2026-07-27 10:58:38] local.INFO: GPS Element Parsed {"raw_longitude":763340224,"raw_latitude":95412096,"longitude_deg":76.3340224,"latitude_deg":9.5412096,"altitude":10,"angle":20,"satellites":44,"speed":0,"hex_longitude":"2d7fa5c0","hex_latitude":"05afdf80","is_valid_coordinates":true} 
[2026-07-27 10:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:58:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993197824001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:58:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826891035017216,"note":"Value kept but may cause issues"} 
[2026-07-27 10:58:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197968944632135680,"note":"Value kept but may cause issues"} 
[2026-07-27 10:58:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:58:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785129980000,"timestamp_ms":1785129980000,"timestamp_seconds":1785129980,"priority":1,"record_length":96,"hex_timestamp":"0000019fa209d060"} 
[2026-07-27 10:58:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:58:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 10:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-27 10:58:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:58:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:58:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:58:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:58:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:58:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:58:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:58:38] 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-07-27 10:58:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 10:58:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 10:58:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993197824001,"66":25582,"249":206,"85":12544,"24":0,"16":358826891035017216,"45":9197968944632135680},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-07-27 10:58:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 10:58:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 10:58:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993197824001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:58:38] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-07-27 10:58:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 10:58:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826891035017216,"km_value":358826891035017.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:58:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197968944632135680,"description":"Unknown IO ID 45"} 
[2026-07-27 10:58:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993197824001,"power":25582,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197968944632135680}} 
[2026-07-27 10:58:38] local.INFO: DEBUG: GPS processor result {"connection_id":142793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:58:38] local.INFO: GPS data processed {"connection_id":142793,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:58:38] local.INFO: Acknowledgment sent {"connection_id":142793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:59:08] local.INFO: TCP Data received {"connection_id":143911,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa20816f8012d192380071fd0c80037005c24..."} 
[2026-07-27 10:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa20816f8012d192380071fd0c80037005c24..."} 
[2026-07-27 10:59:08] local.INFO: Processing buffer {"connection_id":143911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa20816f8012d192380071fd0c80037005c24..."} 
[2026-07-27 10:59:08] local.INFO: Packet analysis {"connection_id":143911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa208"} 
[2026-07-27 10:59:08] local.INFO: Extracted packet for processing {"connection_id":143911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa208"} 
[2026-07-27 10:59:08] local.INFO: GPS Element Parsed {"raw_longitude":756622208,"raw_latitude":119525576,"longitude_deg":75.6622208,"latitude_deg":11.9525576,"altitude":55,"angle":92,"satellites":36,"speed":0,"hex_longitude":"2d192380","hex_latitude":"071fd0c8","is_valid_coordinates":true} 
[2026-07-27 10:59:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:59:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993240576001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:59:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8800246255583232,"note":"Value kept but may cause issues"} 
[2026-07-27 10:59:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1811432243219974144,"note":"Value kept but may cause issues"} 
[2026-07-27 10:59:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:59:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785129867000,"timestamp_ms":1785129867000,"timestamp_seconds":1785129867,"priority":1,"record_length":96,"hex_timestamp":"0000019fa20816f8"} 
[2026-07-27 10:59:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:59:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 10: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":44,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-07-27 10:59:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1795,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 10:59:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:59:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:59:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:59:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:59:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143911,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:59:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143911,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:59:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:59:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:59:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:59:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993240576001,"66":11254,"121":206,"28":31744,"24":0,"16":8800246255583232,"45":1811432243219974144},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 10:59:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:59:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:59:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993240576001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:59:08] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 10:59:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:59:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8800246255583232,"km_value":8800246255583.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:59:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1811432243219974144,"description":"Unknown IO ID 45"} 
[2026-07-27 10:59:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993240576001,"power":11254,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1811432243219974144}} 
[2026-07-27 10:59:08] local.INFO: DEBUG: GPS processor result {"connection_id":143911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552737,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:59:08] local.INFO: GPS data processed {"connection_id":143911,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:59:08] local.INFO: Acknowledgment sent {"connection_id":143911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:59:09] local.INFO: TCP Data received {"connection_id":142793,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa209d060012d7fa5c005afdf80000a00142c..."} 
[2026-07-27 10:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa209d060012d7fa5c005afdf80000a00142c..."} 
[2026-07-27 10:59:09] local.INFO: Processing buffer {"connection_id":142793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa209d060012d7fa5c005afdf80000a00142c..."} 
[2026-07-27 10:59:09] local.INFO: Packet analysis {"connection_id":142793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa209"} 
[2026-07-27 10:59:09] local.INFO: Extracted packet for processing {"connection_id":142793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa209"} 
[2026-07-27 10:59:09] local.INFO: GPS Element Parsed {"raw_longitude":763340224,"raw_latitude":95412096,"longitude_deg":76.3340224,"latitude_deg":9.5412096,"altitude":10,"angle":20,"satellites":44,"speed":0,"hex_longitude":"2d7fa5c0","hex_latitude":"05afdf80","is_valid_coordinates":true} 
[2026-07-27 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-07-27 10:59:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993197824001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:59:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826891035017216,"note":"Value kept but may cause issues"} 
[2026-07-27 10:59:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197968944632135680,"note":"Value kept but may cause issues"} 
[2026-07-27 10:59:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:59:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785129980000,"timestamp_ms":1785129980000,"timestamp_seconds":1785129980,"priority":1,"record_length":96,"hex_timestamp":"0000019fa209d060"} 
[2026-07-27 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-07-27 10:59:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-27 10:59:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 10:59:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:59:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:59:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:59:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 10:59: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-07-27 10:59:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 10:59:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 10:59:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993197824001,"66":25582,"249":206,"85":12544,"24":0,"16":358826891035017216,"45":9197968944632135680},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-07-27 10:59:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 10:59:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 10:59:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993197824001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:59:09] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-07-27 10:59:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 10:59:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826891035017216,"km_value":358826891035017.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:59:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197968944632135680,"description":"Unknown IO ID 45"} 
[2026-07-27 10:59:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993197824001,"power":25582,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197968944632135680}} 
[2026-07-27 10:59:09] local.INFO: DEBUG: GPS processor result {"connection_id":142793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:59:09] local.INFO: GPS data processed {"connection_id":142793,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:59:09] local.INFO: Acknowledgment sent {"connection_id":142793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:59:17] local.INFO: TCP Data received {"connection_id":143912,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 10:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143912,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 10:59:17] local.INFO: Processing buffer {"connection_id":143912,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 10:59:17] local.INFO: IMEI packet received {"connection_id":143912,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 10:59:17] local.INFO: IMEI acknowledgment sent {"connection_id":143912,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:59:30] local.INFO: TCP Data received {"connection_id":142916,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142916,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:59:30] local.INFO: Processing buffer {"connection_id":142916,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:59:30] local.INFO: IMEI packet received {"connection_id":142916,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 10:59:30] local.INFO: IMEI acknowledgment sent {"connection_id":142916,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 10:59:35] local.INFO: TCP Data received {"connection_id":142916,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142916,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:59:35] local.INFO: Processing buffer {"connection_id":142916,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 10:59:35] local.INFO: IMEI packet received {"connection_id":142916,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 10:59:35] local.INFO: IMEI acknowledgment sent {"connection_id":142916,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 10:59:37] local.INFO: TCP Data received {"connection_id":142916,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2086900012d192380071fd0c80037005c26..."} 
[2026-07-27 10:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2086900012d192380071fd0c80037005c26..."} 
[2026-07-27 10:59:37] local.INFO: Processing buffer {"connection_id":142916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2086900012d192380071fd0c80037005c26..."} 
[2026-07-27 10:59:37] local.INFO: Packet analysis {"connection_id":142916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa208"} 
[2026-07-27 10:59:37] local.INFO: Extracted packet for processing {"connection_id":142916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa208"} 
[2026-07-27 10:59:37] local.INFO: GPS Element Parsed {"raw_longitude":756622208,"raw_latitude":119525576,"longitude_deg":75.6622208,"latitude_deg":11.9525576,"altitude":55,"angle":92,"satellites":38,"speed":0,"hex_longitude":"2d192380","hex_latitude":"071fd0c8","is_valid_coordinates":true} 
[2026-07-27 10:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 10:59:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993245952001,"note":"Value kept but may cause issues"} 
[2026-07-27 10:59:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8800246255583232,"note":"Value kept but may cause issues"} 
[2026-07-27 10:59:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1811432243219974144,"note":"Value kept but may cause issues"} 
[2026-07-27 10:59:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 10:59:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785129888000,"timestamp_ms":1785129888000,"timestamp_seconds":1785129888,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2086900"} 
[2026-07-27 10:59:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 10:59:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 10:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":43,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-07-27 10:59:37] 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-07-27 10:59:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 10:59:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 10:59:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 10:59:37] local.INFO: Teltonika packet parsed successfully {"connection_id":142916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 10:59:37] local.INFO: Passing IMEI to GPS processor {"connection_id":142916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:59:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":142916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 10:59:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 10:59:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 10:59:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 10:59:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993245952001,"66":12211,"121":206,"28":31744,"24":0,"16":8800246255583232,"45":1811432243219974144},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 10:59:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 10:59:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 10:59:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993245952001,"description":"Unknown IO ID 0"} 
[2026-07-27 10:59:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 10:59:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 10:59:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8800246255583232,"km_value":8800246255583.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 10:59:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1811432243219974144,"description":"Unknown IO ID 45"} 
[2026-07-27 10:59:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993245952001,"power":12211,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1811432243219974144}} 
[2026-07-27 10:59:37] local.INFO: DEBUG: GPS processor result {"connection_id":142916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552739,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 10:59:37] local.INFO: GPS data processed {"connection_id":142916,"processed":1,"errors":0,"total":1} 
[2026-07-27 10:59:37] local.INFO: Acknowledgment sent {"connection_id":142916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 10:59:41] local.INFO: TCP Data received {"connection_id":142917,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:59:41] local.INFO: Processing buffer {"connection_id":142917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 10:59:41] local.INFO: IMEI packet received {"connection_id":142917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 10:59:41] local.INFO: IMEI acknowledgment sent {"connection_id":142917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 11:00:08] local.INFO: TCP Data received {"connection_id":142916,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa20bef58012d192380071fd0c80037005c24..."} 
[2026-07-27 11:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa20bef58012d192380071fd0c80037005c24..."} 
[2026-07-27 11:00:08] local.INFO: Processing buffer {"connection_id":142916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa20bef58012d192380071fd0c80037005c24..."} 
[2026-07-27 11:00:08] local.INFO: Packet analysis {"connection_id":142916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa20b"} 
[2026-07-27 11:00:08] local.INFO: Extracted packet for processing {"connection_id":142916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa20b"} 
[2026-07-27 11:00:08] local.INFO: GPS Element Parsed {"raw_longitude":756622208,"raw_latitude":119525576,"longitude_deg":75.6622208,"latitude_deg":11.9525576,"altitude":55,"angle":92,"satellites":36,"speed":0,"hex_longitude":"2d192380","hex_latitude":"071fd0c8","is_valid_coordinates":true} 
[2026-07-27 11:00:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:00:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993305088001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:00:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8800246255583232,"note":"Value kept but may cause issues"} 
[2026-07-27 11:00:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1811432243219974144,"note":"Value kept but may cause issues"} 
[2026-07-27 11:00:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:00:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785130119000,"timestamp_ms":1785130119000,"timestamp_seconds":1785130119,"priority":1,"record_length":96,"hex_timestamp":"0000019fa20bef58"} 
[2026-07-27 11:00:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:00:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 11:00:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-27 11:00:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:00:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:00:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:00:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:00:08] local.INFO: Teltonika packet parsed successfully {"connection_id":142916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:00:08] local.INFO: Passing IMEI to GPS processor {"connection_id":142916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:00:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":142916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:00:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 11:00:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 11:00:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 11:00:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993305088001,"66":12211,"121":206,"28":31744,"24":0,"16":8800246255583232,"45":1811432243219974144},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 11:00:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 11:00:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 11:00:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993305088001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:00:08] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 11:00:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 11:00:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8800246255583232,"km_value":8800246255583.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:00:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1811432243219974144,"description":"Unknown IO ID 45"} 
[2026-07-27 11:00:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993305088001,"power":12211,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1811432243219974144}} 
[2026-07-27 11:00:08] local.INFO: DEBUG: GPS processor result {"connection_id":142916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552740,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:00:08] local.INFO: GPS data processed {"connection_id":142916,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:00:08] local.INFO: Acknowledgment sent {"connection_id":142916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:00:15] local.INFO: TCP Data received {"connection_id":142917,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:00:15] local.INFO: Processing buffer {"connection_id":142917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:00:15] local.INFO: IMEI packet received {"connection_id":142917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 11:00:15] local.INFO: IMEI acknowledgment sent {"connection_id":142917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:00:17] local.INFO: TCP Data received {"connection_id":142917,"ip":"42.109.136.6","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-27 11:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142917,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-27 11:00:17] local.INFO: Processing buffer {"connection_id":142917,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-27 11:00:17] local.INFO: IMEI packet received {"connection_id":142917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 11:00:17] local.INFO: IMEI acknowledgment sent {"connection_id":142917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:00:30] local.INFO: TCP Data received {"connection_id":145216,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145216,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:00:30] local.INFO: Processing buffer {"connection_id":145216,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:00:30] local.INFO: IMEI packet received {"connection_id":145216,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 11:00:30] local.INFO: IMEI acknowledgment sent {"connection_id":145216,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 11:00:35] local.INFO: TCP Data received {"connection_id":145216,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145216,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:00:35] local.INFO: Processing buffer {"connection_id":145216,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:00:35] local.INFO: IMEI packet received {"connection_id":145216,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 11:00:35] local.INFO: IMEI acknowledgment sent {"connection_id":145216,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:00:36] local.INFO: TCP Data received {"connection_id":145216,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa20c4160012d192380071fd0c80037005c24..."} 
[2026-07-27 11:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa20c4160012d192380071fd0c80037005c24..."} 
[2026-07-27 11:00:36] local.INFO: Processing buffer {"connection_id":145216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa20c4160012d192380071fd0c80037005c24..."} 
[2026-07-27 11:00:36] local.INFO: Packet analysis {"connection_id":145216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa20c"} 
[2026-07-27 11:00:36] local.INFO: Extracted packet for processing {"connection_id":145216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa20c"} 
[2026-07-27 11:00:36] local.INFO: GPS Element Parsed {"raw_longitude":756622208,"raw_latitude":119525576,"longitude_deg":75.6622208,"latitude_deg":11.9525576,"altitude":55,"angle":92,"satellites":36,"speed":0,"hex_longitude":"2d192380","hex_latitude":"071fd0c8","is_valid_coordinates":true} 
[2026-07-27 11:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:00:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993310464001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:00:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8800246255583232,"note":"Value kept but may cause issues"} 
[2026-07-27 11:00:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1811432243219974144,"note":"Value kept but may cause issues"} 
[2026-07-27 11:00:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:00:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785130140000,"timestamp_ms":1785130140000,"timestamp_seconds":1785130140,"priority":1,"record_length":96,"hex_timestamp":"0000019fa20c4160"} 
[2026-07-27 11:00:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:00:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 11:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-27 11:00:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:00:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:00:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:00:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:00:36] local.INFO: Teltonika packet parsed successfully {"connection_id":145216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:00:36] local.INFO: Passing IMEI to GPS processor {"connection_id":145216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:00:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":145216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:00:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 11:00:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 11:00:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 11:00:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993310464001,"66":12189,"121":206,"28":31744,"24":0,"16":8800246255583232,"45":1811432243219974144},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 11:00:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 11:00:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 11:00:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993310464001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:00:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 11:00:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 11:00:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8800246255583232,"km_value":8800246255583.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:00:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1811432243219974144,"description":"Unknown IO ID 45"} 
[2026-07-27 11:00:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993310464001,"power":12189,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1811432243219974144}} 
[2026-07-27 11:00:36] local.INFO: DEBUG: GPS processor result {"connection_id":145216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552741,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:00:36] local.INFO: GPS data processed {"connection_id":145216,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:00:36] local.INFO: Acknowledgment sent {"connection_id":145216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:01:07] local.INFO: TCP Data received {"connection_id":145216,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa20c9368012d192380071fd0c80037005c22..."} 
[2026-07-27 11:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa20c9368012d192380071fd0c80037005c22..."} 
[2026-07-27 11:01:07] local.INFO: Processing buffer {"connection_id":145216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa20c9368012d192380071fd0c80037005c22..."} 
[2026-07-27 11:01:07] local.INFO: Packet analysis {"connection_id":145216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa20c"} 
[2026-07-27 11:01:07] local.INFO: Extracted packet for processing {"connection_id":145216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa20c"} 
[2026-07-27 11:01:07] local.INFO: GPS Element Parsed {"raw_longitude":756622208,"raw_latitude":119525576,"longitude_deg":75.6622208,"latitude_deg":11.9525576,"altitude":55,"angle":92,"satellites":34,"speed":0,"hex_longitude":"2d192380","hex_latitude":"071fd0c8","is_valid_coordinates":true} 
[2026-07-27 11:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:01:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993315840001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:01:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8800246255583232,"note":"Value kept but may cause issues"} 
[2026-07-27 11:01:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1811432243219974144,"note":"Value kept but may cause issues"} 
[2026-07-27 11:01:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:01:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785130161000,"timestamp_ms":1785130161000,"timestamp_seconds":1785130161,"priority":1,"record_length":96,"hex_timestamp":"0000019fa20c9368"} 
[2026-07-27 11:01:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:01:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 11:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-07-27 11:01:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1846,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:01:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:01:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:01:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:01:07] local.INFO: Teltonika packet parsed successfully {"connection_id":145216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:01:07] local.INFO: Passing IMEI to GPS processor {"connection_id":145216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:01:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":145216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:01:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 11:01:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 11:01:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 11:01:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993315840001,"66":12254,"121":206,"28":31744,"24":0,"16":8800246255583232,"45":1811432243219974144},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 11:01:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 11:01:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 11:01:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993315840001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:01:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 11:01:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 11:01:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8800246255583232,"km_value":8800246255583.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:01:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1811432243219974144,"description":"Unknown IO ID 45"} 
[2026-07-27 11:01:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993315840001,"power":12254,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1811432243219974144}} 
[2026-07-27 11:01:08] local.INFO: DEBUG: GPS processor result {"connection_id":145216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552742,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:01:08] local.INFO: GPS data processed {"connection_id":145216,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:01:08] local.INFO: Acknowledgment sent {"connection_id":145216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:01:30] local.INFO: TCP Data received {"connection_id":145218,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145218,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:01:30] local.INFO: Processing buffer {"connection_id":145218,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:01:30] local.INFO: IMEI packet received {"connection_id":145218,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 11:01:30] local.INFO: IMEI acknowledgment sent {"connection_id":145218,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 11:01:35] local.INFO: TCP Data received {"connection_id":145218,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145218,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:01:35] local.INFO: Processing buffer {"connection_id":145218,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:01:35] local.INFO: IMEI packet received {"connection_id":145218,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 11:01:35] local.INFO: IMEI acknowledgment sent {"connection_id":145218,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:01:36] local.INFO: TCP Data received {"connection_id":145218,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa20ce570012d192380071fd0c80037005c23..."} 
[2026-07-27 11:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145218,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa20ce570012d192380071fd0c80037005c23..."} 
[2026-07-27 11:01:36] local.INFO: Processing buffer {"connection_id":145218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa20ce570012d192380071fd0c80037005c23..."} 
[2026-07-27 11:01:36] local.INFO: Packet analysis {"connection_id":145218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa20c"} 
[2026-07-27 11:01:36] local.INFO: Extracted packet for processing {"connection_id":145218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa20c"} 
[2026-07-27 11:01:36] local.INFO: GPS Element Parsed {"raw_longitude":756622208,"raw_latitude":119525576,"longitude_deg":75.6622208,"latitude_deg":11.9525576,"altitude":55,"angle":92,"satellites":35,"speed":0,"hex_longitude":"2d192380","hex_latitude":"071fd0c8","is_valid_coordinates":true} 
[2026-07-27 11:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:01:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993321216001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:01:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8800246255583232,"note":"Value kept but may cause issues"} 
[2026-07-27 11:01:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1811432243219974144,"note":"Value kept but may cause issues"} 
[2026-07-27 11:01:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:01:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785130182000,"timestamp_ms":1785130182000,"timestamp_seconds":1785130182,"priority":1,"record_length":96,"hex_timestamp":"0000019fa20ce570"} 
[2026-07-27 11:01:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:01:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 11:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-27 11:01:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:01:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:01:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:01:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:01:36] local.INFO: Teltonika packet parsed successfully {"connection_id":145218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:01:36] local.INFO: Passing IMEI to GPS processor {"connection_id":145218,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:01:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":145218,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:01:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 11:01:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 11:01:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 11:01:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993321216001,"66":12254,"121":206,"28":31744,"24":0,"16":8800246255583232,"45":1811432243219974144},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 11:01:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 11:01:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 11:01:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993321216001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:01:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 11:01:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 11:01:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8800246255583232,"km_value":8800246255583.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:01:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1811432243219974144,"description":"Unknown IO ID 45"} 
[2026-07-27 11:01:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993321216001,"power":12254,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1811432243219974144}} 
[2026-07-27 11:01:36] local.INFO: DEBUG: GPS processor result {"connection_id":145218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552743,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:01:36] local.INFO: GPS data processed {"connection_id":145218,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:01:36] local.INFO: Acknowledgment sent {"connection_id":145218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:02:08] local.INFO: TCP Data received {"connection_id":145218,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa20e6c10012d193e80071fe758003e001626..."} 
[2026-07-27 11:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145218,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa20e6c10012d193e80071fe758003e001626..."} 
[2026-07-27 11:02:08] local.INFO: Processing buffer {"connection_id":145218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa20e6c10012d193e80071fe758003e001626..."} 
[2026-07-27 11:02:08] local.INFO: Packet analysis {"connection_id":145218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa20e"} 
[2026-07-27 11:02:08] local.INFO: Extracted packet for processing {"connection_id":145218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa20e"} 
[2026-07-27 11:02:08] local.INFO: GPS Element Parsed {"raw_longitude":756629120,"raw_latitude":119531352,"longitude_deg":75.662912,"latitude_deg":11.9531352,"altitude":62,"angle":22,"satellites":38,"speed":15,"hex_longitude":"2d193e80","hex_latitude":"071fe758","is_valid_coordinates":true} 
[2026-07-27 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-07-27 11:02:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993351936001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:02:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8800787421462528,"note":"Value kept but may cause issues"} 
[2026-07-27 11:02:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818820961360015360,"note":"Value kept but may cause issues"} 
[2026-07-27 11:02:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:02:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785130282000,"timestamp_ms":1785130282000,"timestamp_seconds":1785130282,"priority":1,"record_length":96,"hex_timestamp":"0000019fa20e6c10"} 
[2026-07-27 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-07-27 11:02:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-07-27 11:02:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 11:02:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:02:08] local.INFO: Teltonika packet parsed successfully {"connection_id":145218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:02:08] local.INFO: Passing IMEI to GPS processor {"connection_id":145218,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:02:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":145218,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:02:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 11:02:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 11:02:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 11:02:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993351936001,"66":14070,"121":206,"28":31744,"24":15,"16":8800787421462528,"45":1818820961360015360},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 11:02:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 11:02:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 11:02:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993351936001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:02:08] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 11:02:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 11:02:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8800787421462528,"km_value":8800787421462.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:02:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818820961360015360,"description":"Unknown IO ID 45"} 
[2026-07-27 11:02:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993351936001,"power":14070,"unknown_121":206,"unknown_28":31744,"ignition":15,"odometer":null,"unknown_45":1818820961360015360}} 
[2026-07-27 11:02:08] local.INFO: DEBUG: GPS processor result {"connection_id":145218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552744,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:02:08] local.INFO: GPS data processed {"connection_id":145218,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:02:08] local.INFO: Acknowledgment sent {"connection_id":145218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:02:29] local.INFO: TCP Data received {"connection_id":145219,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145219,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:02:29] local.INFO: Processing buffer {"connection_id":145219,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:02:29] local.INFO: IMEI packet received {"connection_id":145219,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 11:02:29] local.INFO: IMEI acknowledgment sent {"connection_id":145219,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 11:02:32] local.INFO: TCP Data received {"connection_id":142918,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 11:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142918,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 11:02:32] local.INFO: Processing buffer {"connection_id":142918,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 11:02:32] local.INFO: IMEI packet received {"connection_id":142918,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 11:02:32] local.INFO: IMEI acknowledgment sent {"connection_id":142918,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 11:02:34] local.INFO: TCP Data received {"connection_id":145219,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145219,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:02:34] local.INFO: Processing buffer {"connection_id":145219,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:02:34] local.INFO: IMEI packet received {"connection_id":145219,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 11:02:34] local.INFO: IMEI acknowledgment sent {"connection_id":145219,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:02:36] local.INFO: TCP Data received {"connection_id":145219,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa20ecdb8012d192700072007a8003b014e26..."} 
[2026-07-27 11:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa20ecdb8012d192700072007a8003b014e26..."} 
[2026-07-27 11:02:36] local.INFO: Processing buffer {"connection_id":145219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa20ecdb8012d192700072007a8003b014e26..."} 
[2026-07-27 11:02:36] local.INFO: Packet analysis {"connection_id":145219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa20e"} 
[2026-07-27 11:02:36] local.INFO: Extracted packet for processing {"connection_id":145219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa20e"} 
[2026-07-27 11:02:36] local.INFO: GPS Element Parsed {"raw_longitude":756623104,"raw_latitude":119539624,"longitude_deg":75.6623104,"latitude_deg":11.9539624,"altitude":59,"angle":334,"satellites":38,"speed":14,"hex_longitude":"2d192700","hex_latitude":"072007a8","is_valid_coordinates":true} 
[2026-07-27 11:02:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:02:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993358080001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:02:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8801431666556928,"note":"Value kept but may cause issues"} 
[2026-07-27 11:02:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1812487774386003968,"note":"Value kept but may cause issues"} 
[2026-07-27 11:02:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:02:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785130307000,"timestamp_ms":1785130307000,"timestamp_seconds":1785130307,"priority":1,"record_length":96,"hex_timestamp":"0000019fa20ecdb8"} 
[2026-07-27 11:02:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:02:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 11:02:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-27 11:02:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:02:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:02:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:02:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:02:36] local.INFO: Teltonika packet parsed successfully {"connection_id":145219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:02:36] local.INFO: Passing IMEI to GPS processor {"connection_id":145219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:02:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":145219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:02:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 11:02:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 11:02:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 11:02:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993358080001,"66":13722,"121":206,"28":31744,"24":14,"16":8801431666556928,"45":1812487774386003968},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 11:02:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 11:02:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 11:02:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993358080001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:02:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 11:02:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 11:02:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8801431666556928,"km_value":8801431666556.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:02:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1812487774386003968,"description":"Unknown IO ID 45"} 
[2026-07-27 11:02:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993358080001,"power":13722,"unknown_121":206,"unknown_28":31744,"ignition":14,"odometer":null,"unknown_45":1812487774386003968}} 
[2026-07-27 11:02:36] local.INFO: DEBUG: GPS processor result {"connection_id":145219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552745,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:02:36] local.INFO: GPS data processed {"connection_id":145219,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:02:36] local.INFO: Acknowledgment sent {"connection_id":145219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:03:07] local.INFO: TCP Data received {"connection_id":145219,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa20f5e40012d18d2c007201780003000de25..."} 
[2026-07-27 11:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa20f5e40012d18d2c007201780003000de25..."} 
[2026-07-27 11:03:07] local.INFO: Processing buffer {"connection_id":145219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa20f5e40012d18d2c007201780003000de25..."} 
[2026-07-27 11:03:07] local.INFO: Packet analysis {"connection_id":145219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa20f"} 
[2026-07-27 11:03:07] local.INFO: Extracted packet for processing {"connection_id":145219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa20f"} 
[2026-07-27 11:03:07] local.INFO: GPS Element Parsed {"raw_longitude":756601536,"raw_latitude":119543680,"longitude_deg":75.6601536,"latitude_deg":11.954368,"altitude":48,"angle":222,"satellites":37,"speed":22,"hex_longitude":"2d18d2c0","hex_latitude":"07201780","is_valid_coordinates":true} 
[2026-07-27 11:03:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:03:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993367808001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:03:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8802587012759552,"note":"Value kept but may cause issues"} 
[2026-07-27 11:03:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789266088808753152,"note":"Value kept but may cause issues"} 
[2026-07-27 11:03:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:03:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785130344000,"timestamp_ms":1785130344000,"timestamp_seconds":1785130344,"priority":1,"record_length":96,"hex_timestamp":"0000019fa20f5e40"} 
[2026-07-27 11:03:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:03:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 11:03:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-27 11:03:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:03:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:03:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:03:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:03:07] local.INFO: Teltonika packet parsed successfully {"connection_id":145219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:03:07] local.INFO: Passing IMEI to GPS processor {"connection_id":145219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:03:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":145219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:03:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 11:03:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 11:03:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 11:03:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993367808001,"66":14102,"121":206,"28":31744,"24":22,"16":8802587012759552,"45":1789266088808753152},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 11:03:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 11:03:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 11:03:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993367808001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:03:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 11:03:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 11:03:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8802587012759552,"km_value":8802587012759.553,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:03:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789266088808753152,"description":"Unknown IO ID 45"} 
[2026-07-27 11:03:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993367808001,"power":14102,"unknown_121":206,"unknown_28":31744,"ignition":22,"odometer":null,"unknown_45":1789266088808753152}} 
[2026-07-27 11:03:07] local.INFO: DEBUG: GPS processor result {"connection_id":145219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552746,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:03:07] local.INFO: GPS data processed {"connection_id":145219,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:03:07] local.INFO: Acknowledgment sent {"connection_id":145219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:03:30] local.INFO: TCP Data received {"connection_id":142920,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142920,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:03:30] local.INFO: Processing buffer {"connection_id":142920,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:03:30] local.INFO: IMEI packet received {"connection_id":142920,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 11:03:30] local.INFO: IMEI acknowledgment sent {"connection_id":142920,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 11:03:31] local.INFO: TCP Data received {"connection_id":142920,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142920,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:03:31] local.INFO: Processing buffer {"connection_id":142920,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:03:31] local.INFO: IMEI packet received {"connection_id":142920,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 11:03:31] local.INFO: IMEI acknowledgment sent {"connection_id":142920,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:03:35] local.INFO: TCP Data received {"connection_id":142920,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142920,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:03:35] local.INFO: Processing buffer {"connection_id":142920,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:03:35] local.INFO: IMEI packet received {"connection_id":142920,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 11:03:35] local.INFO: IMEI acknowledgment sent {"connection_id":142920,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:03:37] local.INFO: TCP Data received {"connection_id":142920,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa20f6228012d18d1c007201598003000d125..."} 
[2026-07-27 11:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa20f6228012d18d1c007201598003000d125..."} 
[2026-07-27 11:03:37] local.INFO: Processing buffer {"connection_id":142920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa20f6228012d18d1c007201598003000d125..."} 
[2026-07-27 11:03:37] local.INFO: Packet analysis {"connection_id":142920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa20f"} 
[2026-07-27 11:03:37] local.INFO: Extracted packet for processing {"connection_id":142920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa20f"} 
[2026-07-27 11:03:37] local.INFO: GPS Element Parsed {"raw_longitude":756601280,"raw_latitude":119543192,"longitude_deg":75.660128,"latitude_deg":11.9543192,"altitude":48,"angle":209,"satellites":37,"speed":23,"hex_longitude":"2d18d1c0","hex_latitude":"07201598","is_valid_coordinates":true} 
[2026-07-27 11:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:03:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993368064001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:03:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8802617077530624,"note":"Value kept but may cause issues"} 
[2026-07-27 11:03:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788703138855223296,"note":"Value kept but may cause issues"} 
[2026-07-27 11:03:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:03:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785130345000,"timestamp_ms":1785130345000,"timestamp_seconds":1785130345,"priority":1,"record_length":96,"hex_timestamp":"0000019fa20f6228"} 
[2026-07-27 11:03:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:03:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 11:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-27 11:03:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:03:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:03:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:03:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:03:37] local.INFO: Teltonika packet parsed successfully {"connection_id":142920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:03:37] local.INFO: Passing IMEI to GPS processor {"connection_id":142920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:03:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":142920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:03:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 11:03:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 11:03:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 11:03:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993368064001,"66":14135,"121":206,"28":31744,"24":23,"16":8802617077530624,"45":1788703138855223296},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 11:03:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 11:03:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 11:03:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993368064001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:03:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 11:03:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 11:03:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8802617077530624,"km_value":8802617077530.623,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:03:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788703138855223296,"description":"Unknown IO ID 45"} 
[2026-07-27 11:03:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993368064001,"power":14135,"unknown_121":206,"unknown_28":31744,"ignition":23,"odometer":null,"unknown_45":1788703138855223296}} 
[2026-07-27 11:03:37] local.INFO: DEBUG: GPS processor result {"connection_id":142920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552747,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:03:37] local.INFO: GPS data processed {"connection_id":142920,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:03:37] local.INFO: Acknowledgment sent {"connection_id":142920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:04:08] local.INFO: TCP Data received {"connection_id":142920,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2103900012d1897c0071fd9200031011e21..."} 
[2026-07-27 11:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2103900012d1897c0071fd9200031011e21..."} 
[2026-07-27 11:04:08] local.INFO: Processing buffer {"connection_id":142920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2103900012d1897c0071fd9200031011e21..."} 
[2026-07-27 11:04:08] local.INFO: Packet analysis {"connection_id":142920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa210"} 
[2026-07-27 11:04:08] local.INFO: Extracted packet for processing {"connection_id":142920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa210"} 
[2026-07-27 11:04:08] local.INFO: GPS Element Parsed {"raw_longitude":756586432,"raw_latitude":119527712,"longitude_deg":75.6586432,"latitude_deg":11.9527712,"altitude":49,"angle":286,"satellites":33,"speed":38,"hex_longitude":"2d1897c0","hex_latitude":"071fd920","is_valid_coordinates":true} 
[2026-07-27 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-07-27 11:04:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993382400001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:04:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8804197625495552,"note":"Value kept but may cause issues"} 
[2026-07-27 11:04:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1772096115225206784,"note":"Value kept but may cause issues"} 
[2026-07-27 11:04:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:04:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785130400000,"timestamp_ms":1785130400000,"timestamp_seconds":1785130400,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2103900"} 
[2026-07-27 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-07-27 11:04:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-07-27 11:04:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 11:04:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:04:08] local.INFO: Teltonika packet parsed successfully {"connection_id":142920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:04:08] local.INFO: Passing IMEI to GPS processor {"connection_id":142920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:04:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":142920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:04:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 11:04:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 11:04:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 11:04:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993382400001,"66":14233,"121":206,"28":31744,"24":38,"16":8804197625495552,"45":1772096115225206784},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 11:04:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 11:04:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 11:04:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993382400001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:04:08] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 11:04:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 11:04:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8804197625495552,"km_value":8804197625495.553,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:04:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1772096115225206784,"description":"Unknown IO ID 45"} 
[2026-07-27 11:04:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993382400001,"power":14233,"unknown_121":206,"unknown_28":31744,"ignition":38,"odometer":null,"unknown_45":1772096115225206784}} 
[2026-07-27 11:04:08] local.INFO: DEBUG: GPS processor result {"connection_id":142920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552748,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:04:08] local.INFO: GPS data processed {"connection_id":142920,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:04:08] local.INFO: Acknowledgment sent {"connection_id":142920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:04:34] local.INFO: TCP Data received {"connection_id":143916,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143916,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:04:34] local.INFO: Processing buffer {"connection_id":143916,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:04:34] local.INFO: IMEI packet received {"connection_id":143916,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 11:04:34] local.INFO: IMEI acknowledgment sent {"connection_id":143916,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 11:04:34] local.INFO: TCP Data received {"connection_id":143916,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143916,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:04:34] local.INFO: Processing buffer {"connection_id":143916,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:04:34] local.INFO: IMEI packet received {"connection_id":143916,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 11:04:34] local.INFO: IMEI acknowledgment sent {"connection_id":143916,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:04:35] local.INFO: TCP Data received {"connection_id":143916,"ip":"117.224.5.158","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-27 11:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143916,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-27 11:04:35] local.INFO: Processing buffer {"connection_id":143916,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-27 11:04:35] local.INFO: IMEI packet received {"connection_id":143916,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 11:04:35] local.INFO: IMEI acknowledgment sent {"connection_id":143916,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:05:32] local.INFO: TCP Data received {"connection_id":142922,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:05:32] local.INFO: Processing buffer {"connection_id":142922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:05:32] local.INFO: IMEI packet received {"connection_id":142922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 11:05:32] local.INFO: IMEI acknowledgment sent {"connection_id":142922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 11:05:37] local.INFO: TCP Data received {"connection_id":142922,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:05:37] local.INFO: Processing buffer {"connection_id":142922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:05:37] local.INFO: IMEI packet received {"connection_id":142922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 11:05:37] local.INFO: IMEI acknowledgment sent {"connection_id":142922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:05:42] local.INFO: TCP Data received {"connection_id":142922,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa20e6828012d7fa5c005afdf80001400142a..."} 
[2026-07-27 11:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa20e6828012d7fa5c005afdf80001400142a..."} 
[2026-07-27 11:05:42] local.INFO: Processing buffer {"connection_id":142922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa20e6828012d7fa5c005afdf80001400142a..."} 
[2026-07-27 11:05:42] local.INFO: Packet analysis {"connection_id":142922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa20e"} 
[2026-07-27 11:05:42] local.INFO: Extracted packet for processing {"connection_id":142922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa20e"} 
[2026-07-27 11:05:42] local.INFO: GPS Element Parsed {"raw_longitude":763340224,"raw_latitude":95412096,"longitude_deg":76.3340224,"latitude_deg":9.5412096,"altitude":20,"angle":20,"satellites":42,"speed":0,"hex_longitude":"2d7fa5c0","hex_latitude":"05afdf80","is_valid_coordinates":true} 
[2026-07-27 11:05:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:05:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993274880001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:05:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826891035017216,"note":"Value kept but may cause issues"} 
[2026-07-27 11:05:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197968944632135680,"note":"Value kept but may cause issues"} 
[2026-07-27 11:05:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:05:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785130281000,"timestamp_ms":1785130281000,"timestamp_seconds":1785130281,"priority":1,"record_length":96,"hex_timestamp":"0000019fa20e6828"} 
[2026-07-27 11:05:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:05:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 11: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":238,"data_length":795,"current_offset":136} 
[2026-07-27 11:05:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:05:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:05:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:05:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:05:42] local.INFO: Teltonika packet parsed successfully {"connection_id":142922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:05:42] local.INFO: Passing IMEI to GPS processor {"connection_id":142922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:05:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":142922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:05: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-07-27 11:05:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 11:05:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 11:05:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993274880001,"66":25549,"28":206,"85":12544,"24":0,"16":358826891035017216,"45":9197968944632135680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-07-27 11:05:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 11:05:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 11:05:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993274880001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:05:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-27 11:05:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 11:05:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826891035017216,"km_value":358826891035017.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:05:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197968944632135680,"description":"Unknown IO ID 45"} 
[2026-07-27 11:05:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993274880001,"power":25549,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197968944632135680}} 
[2026-07-27 11:05:42] local.INFO: DEBUG: GPS processor result {"connection_id":142922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:05:42] local.INFO: GPS data processed {"connection_id":142922,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:05:42] local.INFO: Acknowledgment sent {"connection_id":142922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:06:15] local.INFO: TCP Data received {"connection_id":142922,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa20e6828012d7fa5c005afdf80001400142a..."} 
[2026-07-27 11:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa20e6828012d7fa5c005afdf80001400142a..."} 
[2026-07-27 11:06:15] local.INFO: Processing buffer {"connection_id":142922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa20e6828012d7fa5c005afdf80001400142a..."} 
[2026-07-27 11:06:15] local.INFO: Packet analysis {"connection_id":142922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa20e"} 
[2026-07-27 11:06:15] local.INFO: Extracted packet for processing {"connection_id":142922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa20e"} 
[2026-07-27 11:06:15] local.INFO: GPS Element Parsed {"raw_longitude":763340224,"raw_latitude":95412096,"longitude_deg":76.3340224,"latitude_deg":9.5412096,"altitude":20,"angle":20,"satellites":42,"speed":0,"hex_longitude":"2d7fa5c0","hex_latitude":"05afdf80","is_valid_coordinates":true} 
[2026-07-27 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-07-27 11:06:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993274880001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:06:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826891035017216,"note":"Value kept but may cause issues"} 
[2026-07-27 11:06:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197968944632135680,"note":"Value kept but may cause issues"} 
[2026-07-27 11:06:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:06:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785130281000,"timestamp_ms":1785130281000,"timestamp_seconds":1785130281,"priority":1,"record_length":96,"hex_timestamp":"0000019fa20e6828"} 
[2026-07-27 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-07-27 11:06:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":238,"data_length":795,"current_offset":136} 
[2026-07-27 11:06: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-07-27 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-07-27 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-07-27 11:06:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:06:15] local.INFO: Teltonika packet parsed successfully {"connection_id":142922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:06:15] local.INFO: Passing IMEI to GPS processor {"connection_id":142922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:06:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":142922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:06:15] 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-07-27 11:06:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 11:06:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 11:06:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993274880001,"66":25549,"28":206,"85":12544,"24":0,"16":358826891035017216,"45":9197968944632135680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-07-27 11:06:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 11:06:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 11:06:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993274880001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:06:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-27 11:06:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 11:06:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826891035017216,"km_value":358826891035017.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:06:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197968944632135680,"description":"Unknown IO ID 45"} 
[2026-07-27 11:06:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993274880001,"power":25549,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197968944632135680}} 
[2026-07-27 11:06:15] local.INFO: DEBUG: GPS processor result {"connection_id":142922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:06:15] local.INFO: GPS data processed {"connection_id":142922,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:06:15] local.INFO: Acknowledgment sent {"connection_id":142922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:06:32] local.INFO: TCP Data received {"connection_id":142794,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:06:32] local.INFO: Processing buffer {"connection_id":142794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:06:32] local.INFO: IMEI packet received {"connection_id":142794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 11:06:32] local.INFO: IMEI acknowledgment sent {"connection_id":142794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 11:06:37] local.INFO: TCP Data received {"connection_id":142794,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:06:37] local.INFO: Processing buffer {"connection_id":142794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:06:37] local.INFO: IMEI packet received {"connection_id":142794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 11:06:37] local.INFO: IMEI acknowledgment sent {"connection_id":142794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:06:38] local.INFO: TCP Data received {"connection_id":142794,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa20e6828012d7fa5c005afdf80001400142a..."} 
[2026-07-27 11:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa20e6828012d7fa5c005afdf80001400142a..."} 
[2026-07-27 11:06:38] local.INFO: Processing buffer {"connection_id":142794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa20e6828012d7fa5c005afdf80001400142a..."} 
[2026-07-27 11:06:38] local.INFO: Packet analysis {"connection_id":142794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa20e"} 
[2026-07-27 11:06:38] local.INFO: Extracted packet for processing {"connection_id":142794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa20e"} 
[2026-07-27 11:06:38] local.INFO: GPS Element Parsed {"raw_longitude":763340224,"raw_latitude":95412096,"longitude_deg":76.3340224,"latitude_deg":9.5412096,"altitude":20,"angle":20,"satellites":42,"speed":0,"hex_longitude":"2d7fa5c0","hex_latitude":"05afdf80","is_valid_coordinates":true} 
[2026-07-27 11:06:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:06:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993274880001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:06:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826891035017216,"note":"Value kept but may cause issues"} 
[2026-07-27 11:06:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197968944632135680,"note":"Value kept but may cause issues"} 
[2026-07-27 11:06:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:06:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785130281000,"timestamp_ms":1785130281000,"timestamp_seconds":1785130281,"priority":1,"record_length":96,"hex_timestamp":"0000019fa20e6828"} 
[2026-07-27 11:06:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:06:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 11:06:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-27 11:06:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:06:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:06:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:06:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:06:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:06:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:06:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:06:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 11:06:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 11:06:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 11:06:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993274880001,"66":25549,"28":206,"85":12544,"24":0,"16":358826891035017216,"45":9197968944632135680},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-07-27 11:06:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 11:06:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 11:06:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993274880001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:06:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-27 11:06:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 11:06:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826891035017216,"km_value":358826891035017.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:06:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197968944632135680,"description":"Unknown IO ID 45"} 
[2026-07-27 11:06:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993274880001,"power":25549,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197968944632135680}} 
[2026-07-27 11:06:38] local.INFO: DEBUG: GPS processor result {"connection_id":142794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:06:38] local.INFO: GPS data processed {"connection_id":142794,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:06:38] local.INFO: Acknowledgment sent {"connection_id":142794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:07:09] local.INFO: TCP Data received {"connection_id":142794,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa212fff0012d7fa5c005afdf80001000142b..."} 
[2026-07-27 11:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa212fff0012d7fa5c005afdf80001000142b..."} 
[2026-07-27 11:07:09] local.INFO: Processing buffer {"connection_id":142794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa212fff0012d7fa5c005afdf80001000142b..."} 
[2026-07-27 11:07:09] local.INFO: Packet analysis {"connection_id":142794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa212"} 
[2026-07-27 11:07:09] local.INFO: Extracted packet for processing {"connection_id":142794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa212"} 
[2026-07-27 11:07:09] local.INFO: GPS Element Parsed {"raw_longitude":763340224,"raw_latitude":95412096,"longitude_deg":76.3340224,"latitude_deg":9.5412096,"altitude":16,"angle":20,"satellites":43,"speed":0,"hex_longitude":"2d7fa5c0","hex_latitude":"05afdf80","is_valid_coordinates":true} 
[2026-07-27 11:07:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:07:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993351936001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:07:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826891035017216,"note":"Value kept but may cause issues"} 
[2026-07-27 11:07:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197968944632135680,"note":"Value kept but may cause issues"} 
[2026-07-27 11:07:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:07:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785130582000,"timestamp_ms":1785130582000,"timestamp_seconds":1785130582,"priority":1,"record_length":96,"hex_timestamp":"0000019fa212fff0"} 
[2026-07-27 11:07:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:07:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 11:07:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-27 11:07:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:07:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:07:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:07:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:07:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:07:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:07:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:07: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-07-27 11:07:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 11:07:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 11:07:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993351936001,"66":25538,"250":206,"85":12544,"24":0,"16":358826891035017216,"45":9197968944632135680},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 11:07:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 11:07:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 11:07:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993351936001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:07:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 11:07:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 11:07:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826891035017216,"km_value":358826891035017.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:07:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197968944632135680,"description":"Unknown IO ID 45"} 
[2026-07-27 11:07:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993351936001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197968944632135680}} 
[2026-07-27 11:07:09] local.INFO: DEBUG: GPS processor result {"connection_id":142794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:07:09] local.INFO: GPS data processed {"connection_id":142794,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:07:09] local.INFO: Acknowledgment sent {"connection_id":142794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:07:39] local.INFO: TCP Data received {"connection_id":142923,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:07:39] local.INFO: Processing buffer {"connection_id":142923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:07:39] local.INFO: IMEI packet received {"connection_id":142923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 11:07:39] local.INFO: IMEI acknowledgment sent {"connection_id":142923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 11:07:39] local.INFO: TCP Data received {"connection_id":142923,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:07:39] local.INFO: Processing buffer {"connection_id":142923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:07:39] local.INFO: IMEI packet received {"connection_id":142923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 11:07:39] local.INFO: IMEI acknowledgment sent {"connection_id":142923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:07:40] local.INFO: TCP Data received {"connection_id":142923,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa212fff0012d7fa5c005afdf80001000142b..."} 
[2026-07-27 11:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa212fff0012d7fa5c005afdf80001000142b..."} 
[2026-07-27 11:07:40] local.INFO: Processing buffer {"connection_id":142923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa212fff0012d7fa5c005afdf80001000142b..."} 
[2026-07-27 11:07:40] local.INFO: Packet analysis {"connection_id":142923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa212"} 
[2026-07-27 11:07:40] local.INFO: Extracted packet for processing {"connection_id":142923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa212"} 
[2026-07-27 11:07:40] local.INFO: GPS Element Parsed {"raw_longitude":763340224,"raw_latitude":95412096,"longitude_deg":76.3340224,"latitude_deg":9.5412096,"altitude":16,"angle":20,"satellites":43,"speed":0,"hex_longitude":"2d7fa5c0","hex_latitude":"05afdf80","is_valid_coordinates":true} 
[2026-07-27 11: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-07-27 11:07:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993351936001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:07:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826891035017216,"note":"Value kept but may cause issues"} 
[2026-07-27 11:07:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197968944632135680,"note":"Value kept but may cause issues"} 
[2026-07-27 11:07:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:07:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785130582000,"timestamp_ms":1785130582000,"timestamp_seconds":1785130582,"priority":1,"record_length":96,"hex_timestamp":"0000019fa212fff0"} 
[2026-07-27 11:07:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:07:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 11: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-07-27 11: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-07-27 11: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-07-27 11:07:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:07:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:07:40] local.INFO: Teltonika packet parsed successfully {"connection_id":142923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:07:40] local.INFO: Passing IMEI to GPS processor {"connection_id":142923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:07:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":142923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:07: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-07-27 11:07:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 11:07:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 11:07:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993351936001,"66":25538,"250":206,"85":12544,"24":0,"16":358826891035017216,"45":9197968944632135680},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 11:07:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 11:07:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 11:07:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993351936001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:07:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 11:07:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 11:07:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826891035017216,"km_value":358826891035017.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:07:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197968944632135680,"description":"Unknown IO ID 45"} 
[2026-07-27 11:07:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993351936001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197968944632135680}} 
[2026-07-27 11:07:40] local.INFO: DEBUG: GPS processor result {"connection_id":142923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:07:40] local.INFO: GPS data processed {"connection_id":142923,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:07:40] local.INFO: Acknowledgment sent {"connection_id":142923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:07:43] local.INFO: TCP Data received {"connection_id":142923,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa212fff0012d7fa5c005afdf80001000142b..."} 
[2026-07-27 11:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa212fff0012d7fa5c005afdf80001000142b..."} 
[2026-07-27 11:07:43] local.INFO: Processing buffer {"connection_id":142923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa212fff0012d7fa5c005afdf80001000142b..."} 
[2026-07-27 11:07:43] local.INFO: Packet analysis {"connection_id":142923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa212"} 
[2026-07-27 11:07:43] local.INFO: Extracted packet for processing {"connection_id":142923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa212"} 
[2026-07-27 11:07:43] local.INFO: GPS Element Parsed {"raw_longitude":763340224,"raw_latitude":95412096,"longitude_deg":76.3340224,"latitude_deg":9.5412096,"altitude":16,"angle":20,"satellites":43,"speed":0,"hex_longitude":"2d7fa5c0","hex_latitude":"05afdf80","is_valid_coordinates":true} 
[2026-07-27 11: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-07-27 11:07:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993351936001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:07:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826891035017216,"note":"Value kept but may cause issues"} 
[2026-07-27 11:07:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197968944632135680,"note":"Value kept but may cause issues"} 
[2026-07-27 11:07:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:07:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785130582000,"timestamp_ms":1785130582000,"timestamp_seconds":1785130582,"priority":1,"record_length":96,"hex_timestamp":"0000019fa212fff0"} 
[2026-07-27 11:07:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:07:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 11: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":205,"data_length":795,"current_offset":136} 
[2026-07-27 11:07:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11: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-07-27 11:07:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:07:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:07:43] local.INFO: Teltonika packet parsed successfully {"connection_id":142923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:07:43] local.INFO: Passing IMEI to GPS processor {"connection_id":142923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:07:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":142923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:07: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-07-27 11:07:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 11:07:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 11:07:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993351936001,"66":25538,"250":206,"85":12544,"24":0,"16":358826891035017216,"45":9197968944632135680},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 11:07:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 11:07:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 11:07:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993351936001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:07:43] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 11:07:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 11:07:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826891035017216,"km_value":358826891035017.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:07:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197968944632135680,"description":"Unknown IO ID 45"} 
[2026-07-27 11:07:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993351936001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197968944632135680}} 
[2026-07-27 11:07:43] local.INFO: DEBUG: GPS processor result {"connection_id":142923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:07:43] local.INFO: GPS data processed {"connection_id":142923,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:07:43] local.INFO: Acknowledgment sent {"connection_id":142923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:08:14] local.INFO: TCP Data received {"connection_id":142923,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa212fff0012d7fa5c005afdf80001000142b..."} 
[2026-07-27 11:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa212fff0012d7fa5c005afdf80001000142b..."} 
[2026-07-27 11:08:14] local.INFO: Processing buffer {"connection_id":142923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa212fff0012d7fa5c005afdf80001000142b..."} 
[2026-07-27 11:08:14] local.INFO: Packet analysis {"connection_id":142923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa212"} 
[2026-07-27 11:08:14] local.INFO: Extracted packet for processing {"connection_id":142923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa212"} 
[2026-07-27 11:08:14] local.INFO: GPS Element Parsed {"raw_longitude":763340224,"raw_latitude":95412096,"longitude_deg":76.3340224,"latitude_deg":9.5412096,"altitude":16,"angle":20,"satellites":43,"speed":0,"hex_longitude":"2d7fa5c0","hex_latitude":"05afdf80","is_valid_coordinates":true} 
[2026-07-27 11:08:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:08:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993351936001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:08:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826891035017216,"note":"Value kept but may cause issues"} 
[2026-07-27 11:08:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197968944632135680,"note":"Value kept but may cause issues"} 
[2026-07-27 11:08:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:08:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785130582000,"timestamp_ms":1785130582000,"timestamp_seconds":1785130582,"priority":1,"record_length":96,"hex_timestamp":"0000019fa212fff0"} 
[2026-07-27 11:08:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:08:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 11:08:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-27 11:08:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:08:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:08:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:08:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:08:14] local.INFO: Teltonika packet parsed successfully {"connection_id":142923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:08:14] local.INFO: Passing IMEI to GPS processor {"connection_id":142923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:08:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":142923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:08: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-07-27 11:08:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 11:08:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 11:08:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993351936001,"66":25538,"250":206,"85":12544,"24":0,"16":358826891035017216,"45":9197968944632135680},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 11:08:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 11:08:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 11:08:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993351936001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:08:14] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 11:08:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 11:08:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826891035017216,"km_value":358826891035017.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:08:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197968944632135680,"description":"Unknown IO ID 45"} 
[2026-07-27 11:08:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993351936001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197968944632135680}} 
[2026-07-27 11:08:14] local.INFO: DEBUG: GPS processor result {"connection_id":142923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:08:14] local.INFO: GPS data processed {"connection_id":142923,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:08:14] local.INFO: Acknowledgment sent {"connection_id":142923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:08:22] local.INFO: TCP Data received {"connection_id":142796,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 11:08:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142796,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 11:08:22] local.INFO: Processing buffer {"connection_id":142796,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 11:08:22] local.INFO: IMEI packet received {"connection_id":142796,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 11:08:22] local.INFO: IMEI acknowledgment sent {"connection_id":142796,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 11:08:32] local.INFO: TCP Data received {"connection_id":145220,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:08:32] local.INFO: Processing buffer {"connection_id":145220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:08:32] local.INFO: IMEI packet received {"connection_id":145220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 11:08:32] local.INFO: IMEI acknowledgment sent {"connection_id":145220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 11:08:37] local.INFO: TCP Data received {"connection_id":145220,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:08:37] local.INFO: Processing buffer {"connection_id":145220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:08:37] local.INFO: IMEI packet received {"connection_id":145220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 11:08:37] local.INFO: IMEI acknowledgment sent {"connection_id":145220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:08:38] local.INFO: TCP Data received {"connection_id":145220,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa212fff0012d7fa5c005afdf80001000142b..."} 
[2026-07-27 11:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145220,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa212fff0012d7fa5c005afdf80001000142b..."} 
[2026-07-27 11:08:38] local.INFO: Processing buffer {"connection_id":145220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa212fff0012d7fa5c005afdf80001000142b..."} 
[2026-07-27 11:08:38] local.INFO: Packet analysis {"connection_id":145220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa212"} 
[2026-07-27 11:08:38] local.INFO: Extracted packet for processing {"connection_id":145220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa212"} 
[2026-07-27 11:08:38] local.INFO: GPS Element Parsed {"raw_longitude":763340224,"raw_latitude":95412096,"longitude_deg":76.3340224,"latitude_deg":9.5412096,"altitude":16,"angle":20,"satellites":43,"speed":0,"hex_longitude":"2d7fa5c0","hex_latitude":"05afdf80","is_valid_coordinates":true} 
[2026-07-27 11:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:08:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993351936001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:08:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826891035017216,"note":"Value kept but may cause issues"} 
[2026-07-27 11:08:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197968944632135680,"note":"Value kept but may cause issues"} 
[2026-07-27 11:08:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:08:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785130582000,"timestamp_ms":1785130582000,"timestamp_seconds":1785130582,"priority":1,"record_length":96,"hex_timestamp":"0000019fa212fff0"} 
[2026-07-27 11:08:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:08:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 11:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-27 11:08:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:08:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:08:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:08:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:08:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:08:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:08:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:08:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 11:08:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 11:08:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 11:08:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993351936001,"66":25538,"250":206,"85":12544,"24":0,"16":358826891035017216,"45":9197968944632135680},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 11:08:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 11:08:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 11:08:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993351936001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:08:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 11:08:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 11:08:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826891035017216,"km_value":358826891035017.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:08:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197968944632135680,"description":"Unknown IO ID 45"} 
[2026-07-27 11:08:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993351936001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197968944632135680}} 
[2026-07-27 11:08:38] local.INFO: DEBUG: GPS processor result {"connection_id":145220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:08:38] local.INFO: GPS data processed {"connection_id":145220,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:08:38] local.INFO: Acknowledgment sent {"connection_id":145220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:09:09] local.INFO: TCP Data received {"connection_id":145220,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa212fff0012d7fa5c005afdf80001000142b..."} 
[2026-07-27 11:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145220,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa212fff0012d7fa5c005afdf80001000142b..."} 
[2026-07-27 11:09:09] local.INFO: Processing buffer {"connection_id":145220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa212fff0012d7fa5c005afdf80001000142b..."} 
[2026-07-27 11:09:09] local.INFO: Packet analysis {"connection_id":145220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa212"} 
[2026-07-27 11:09:09] local.INFO: Extracted packet for processing {"connection_id":145220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa212"} 
[2026-07-27 11:09:09] local.INFO: GPS Element Parsed {"raw_longitude":763340224,"raw_latitude":95412096,"longitude_deg":76.3340224,"latitude_deg":9.5412096,"altitude":16,"angle":20,"satellites":43,"speed":0,"hex_longitude":"2d7fa5c0","hex_latitude":"05afdf80","is_valid_coordinates":true} 
[2026-07-27 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-07-27 11:09:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993351936001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:09:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826891035017216,"note":"Value kept but may cause issues"} 
[2026-07-27 11:09:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197968944632135680,"note":"Value kept but may cause issues"} 
[2026-07-27 11:09:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:09:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785130582000,"timestamp_ms":1785130582000,"timestamp_seconds":1785130582,"priority":1,"record_length":96,"hex_timestamp":"0000019fa212fff0"} 
[2026-07-27 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-07-27 11:09:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":205,"data_length":795,"current_offset":136} 
[2026-07-27 11:09:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 11:09:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:09:09] local.INFO: Teltonika packet parsed successfully {"connection_id":145220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:09:09] local.INFO: Passing IMEI to GPS processor {"connection_id":145220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:09:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":145220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:09: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-07-27 11:09:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 11:09:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 11:09:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993351936001,"66":25538,"250":206,"85":12544,"24":0,"16":358826891035017216,"45":9197968944632135680},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 11:09:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 11:09:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 11:09:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993351936001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:09:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 11:09:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 11:09:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826891035017216,"km_value":358826891035017.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:09:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197968944632135680,"description":"Unknown IO ID 45"} 
[2026-07-27 11:09:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993351936001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197968944632135680}} 
[2026-07-27 11:09:09] local.INFO: DEBUG: GPS processor result {"connection_id":145220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:09:09] local.INFO: GPS data processed {"connection_id":145220,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:09:09] local.INFO: Acknowledgment sent {"connection_id":145220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:09:37] local.INFO: TCP Data received {"connection_id":143919,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143919,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:09:37] local.INFO: Processing buffer {"connection_id":143919,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:09:37] local.INFO: IMEI packet received {"connection_id":143919,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 11:09:37] local.INFO: IMEI acknowledgment sent {"connection_id":143919,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 11:09:38] local.INFO: TCP Data received {"connection_id":143919,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2151330012d1665c0071fab700027011f27..."} 
[2026-07-27 11:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2151330012d1665c0071fab700027011f27..."} 
[2026-07-27 11:09:38] local.INFO: Processing buffer {"connection_id":143919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2151330012d1665c0071fab700027011f27..."} 
[2026-07-27 11:09:38] local.INFO: Packet analysis {"connection_id":143919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa215"} 
[2026-07-27 11:09:38] local.INFO: Extracted packet for processing {"connection_id":143919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa215"} 
[2026-07-27 11:09:38] local.INFO: GPS Element Parsed {"raw_longitude":756442560,"raw_latitude":119516016,"longitude_deg":75.644256,"latitude_deg":11.9516016,"altitude":39,"angle":287,"satellites":39,"speed":28,"hex_longitude":"2d1665c0","hex_latitude":"071fab70","is_valid_coordinates":true} 
[2026-07-27 11:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:09:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993462016001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:09:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8811864142118912,"note":"Value kept but may cause issues"} 
[2026-07-27 11:09:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1620099627798300672,"note":"Value kept but may cause issues"} 
[2026-07-27 11:09:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:09:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785130718000,"timestamp_ms":1785130718000,"timestamp_seconds":1785130718,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2151330"} 
[2026-07-27 11:09:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:09:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 11:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-07-27 11:09:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:09:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:09:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:09:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:09:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:09:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143919,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:09:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143919,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:09:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 11:09:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 11:09:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 11:09:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993462016001,"66":13243,"131":206,"28":31744,"24":28,"16":8811864142118912,"45":1620099627798300672},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-07-27 11:09:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 11:09:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 11:09:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993462016001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:09:38] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-27 11:09:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 11:09:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8811864142118912,"km_value":8811864142118.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:09:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1620099627798300672,"description":"Unknown IO ID 45"} 
[2026-07-27 11:09:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993462016001,"power":13243,"unknown_131":206,"unknown_28":31744,"ignition":28,"odometer":null,"unknown_45":1620099627798300672}} 
[2026-07-27 11:09:39] local.INFO: DEBUG: GPS processor result {"connection_id":143919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552758,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:09:39] local.INFO: GPS data processed {"connection_id":143919,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:09:39] local.INFO: Acknowledgment sent {"connection_id":143919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:10:10] local.INFO: TCP Data received {"connection_id":143919,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2151b00012d166100071fadf00027013528..."} 
[2026-07-27 11:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2151b00012d166100071fadf00027013528..."} 
[2026-07-27 11:10:10] local.INFO: Processing buffer {"connection_id":143919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2151b00012d166100071fadf00027013528..."} 
[2026-07-27 11:10:10] local.INFO: Packet analysis {"connection_id":143919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa215"} 
[2026-07-27 11:10:10] local.INFO: Extracted packet for processing {"connection_id":143919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa215"} 
[2026-07-27 11:10:10] local.INFO: GPS Element Parsed {"raw_longitude":756441344,"raw_latitude":119516656,"longitude_deg":75.6441344,"latitude_deg":11.9516656,"altitude":39,"angle":309,"satellites":40,"speed":26,"hex_longitude":"2d166100","hex_latitude":"071fadf0","is_valid_coordinates":true} 
[2026-07-27 11:10:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:10:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993463808001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:10:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8811928566628352,"note":"Value kept but may cause issues"} 
[2026-07-27 11:10:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1613907178310823936,"note":"Value kept but may cause issues"} 
[2026-07-27 11:10:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:10:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785130720000,"timestamp_ms":1785130720000,"timestamp_seconds":1785130720,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2151b00"} 
[2026-07-27 11:10:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:10:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 11:10:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-27 11:10:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:10:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:10:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:10:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:10:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:10:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143919,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:10:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143919,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:10:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 11:10:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 11:10:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 11:10:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993463808001,"66":12993,"131":206,"28":31744,"24":26,"16":8811928566628352,"45":1613907178310823936},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-07-27 11:10:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 11:10:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 11:10:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993463808001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:10:10] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-27 11:10:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 11:10:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8811928566628352,"km_value":8811928566628.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:10:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1613907178310823936,"description":"Unknown IO ID 45"} 
[2026-07-27 11:10:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993463808001,"power":12993,"unknown_131":206,"unknown_28":31744,"ignition":26,"odometer":null,"unknown_45":1613907178310823936}} 
[2026-07-27 11:10:10] local.INFO: DEBUG: GPS processor result {"connection_id":143919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552759,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:10:10] local.INFO: GPS data processed {"connection_id":143919,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:10:10] local.INFO: Acknowledgment sent {"connection_id":143919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:10:18] local.INFO: TCP Data received {"connection_id":142924,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:10:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142924,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:10:18] local.INFO: Processing buffer {"connection_id":142924,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:10:18] local.INFO: IMEI packet received {"connection_id":142924,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 11:10:18] local.INFO: IMEI acknowledgment sent {"connection_id":142924,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 11:10:18] local.INFO: TCP Data received {"connection_id":142924,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:10:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142924,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:10:18] local.INFO: Processing buffer {"connection_id":142924,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:10:18] local.INFO: IMEI packet received {"connection_id":142924,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 11:10:18] local.INFO: IMEI acknowledgment sent {"connection_id":142924,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:10:29] local.INFO: TCP Data received {"connection_id":145221,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145221,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:10:29] local.INFO: Processing buffer {"connection_id":145221,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:10:29] local.INFO: IMEI packet received {"connection_id":145221,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 11:10:29] local.INFO: IMEI acknowledgment sent {"connection_id":145221,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 11:10:35] local.INFO: TCP Data received {"connection_id":145221,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145221,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:10:35] local.INFO: Processing buffer {"connection_id":145221,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:10:35] local.INFO: IMEI packet received {"connection_id":145221,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 11:10:35] local.INFO: IMEI acknowledgment sent {"connection_id":145221,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:10:36] local.INFO: TCP Data received {"connection_id":145221,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa21522d0012d165d80071fb2180027014728..."} 
[2026-07-27 11:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145221,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa21522d0012d165d80071fb2180027014728..."} 
[2026-07-27 11:10:36] local.INFO: Processing buffer {"connection_id":145221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa21522d0012d165d80071fb2180027014728..."} 
[2026-07-27 11:10:36] local.INFO: Packet analysis {"connection_id":145221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa215"} 
[2026-07-27 11:10:36] local.INFO: Extracted packet for processing {"connection_id":145221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa215"} 
[2026-07-27 11:10:36] local.INFO: GPS Element Parsed {"raw_longitude":756440448,"raw_latitude":119517720,"longitude_deg":75.6440448,"latitude_deg":11.951772,"altitude":39,"angle":327,"satellites":40,"speed":25,"hex_longitude":"2d165d80","hex_latitude":"071fb218","is_valid_coordinates":true} 
[2026-07-27 11:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:10:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993464320001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:10:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8811997286105088,"note":"Value kept but may cause issues"} 
[2026-07-27 11:10:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1612570172171612160,"note":"Value kept but may cause issues"} 
[2026-07-27 11:10:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:10:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785130722000,"timestamp_ms":1785130722000,"timestamp_seconds":1785130722,"priority":1,"record_length":96,"hex_timestamp":"0000019fa21522d0"} 
[2026-07-27 11:10:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:10:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 11:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-07-27 11:10:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:10:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:10:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:10:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:10:36] local.INFO: Teltonika packet parsed successfully {"connection_id":145221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:10:36] local.INFO: Passing IMEI to GPS processor {"connection_id":145221,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:10:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":145221,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:10:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 11:10:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 11:10:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 11:10:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993464320001,"66":13048,"131":206,"28":31744,"24":25,"16":8811997286105088,"45":1612570172171612160},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-07-27 11:10:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 11:10:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 11:10:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993464320001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:10:36] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-27 11:10:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 11:10:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8811997286105088,"km_value":8811997286105.088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:10:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1612570172171612160,"description":"Unknown IO ID 45"} 
[2026-07-27 11:10:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993464320001,"power":13048,"unknown_131":206,"unknown_28":31744,"ignition":25,"odometer":null,"unknown_45":1612570172171612160}} 
[2026-07-27 11:10:36] local.INFO: DEBUG: GPS processor result {"connection_id":145221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552760,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:10:36] local.INFO: GPS data processed {"connection_id":145221,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:10:36] local.INFO: Acknowledgment sent {"connection_id":145221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:10:42] local.INFO: TCP Data received {"connection_id":142797,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:10:42] local.INFO: Processing buffer {"connection_id":142797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:10:42] local.INFO: IMEI packet received {"connection_id":142797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 11:10:42] local.INFO: IMEI acknowledgment sent {"connection_id":142797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 11:10:47] local.INFO: TCP Data received {"connection_id":142797,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:10:47] local.INFO: Processing buffer {"connection_id":142797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:10:47] local.INFO: IMEI packet received {"connection_id":142797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 11:10:47] local.INFO: IMEI acknowledgment sent {"connection_id":142797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:10:48] local.INFO: TCP Data received {"connection_id":142797,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fa212fff0012d7fa5c005afdf80001000142b..."} 
[2026-07-27 11:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142797,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa212fff0012d7fa5c005afdf80001000142b..."} 
[2026-07-27 11:10:48] local.INFO: Processing buffer {"connection_id":142797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa212fff0012d7fa5c005afdf80001000142b..."} 
[2026-07-27 11:10:48] local.INFO: Packet analysis {"connection_id":142797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa212"} 
[2026-07-27 11:10:48] local.INFO: Extracted packet for processing {"connection_id":142797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa212"} 
[2026-07-27 11:10:48] local.INFO: GPS Element Parsed {"raw_longitude":763340224,"raw_latitude":95412096,"longitude_deg":76.3340224,"latitude_deg":9.5412096,"altitude":16,"angle":20,"satellites":43,"speed":0,"hex_longitude":"2d7fa5c0","hex_latitude":"05afdf80","is_valid_coordinates":true} 
[2026-07-27 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-07-27 11:10:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993351936001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:10:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826891035017216,"note":"Value kept but may cause issues"} 
[2026-07-27 11:10:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197968944632135680,"note":"Value kept but may cause issues"} 
[2026-07-27 11:10:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:10:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785130582000,"timestamp_ms":1785130582000,"timestamp_seconds":1785130582,"priority":1,"record_length":96,"hex_timestamp":"0000019fa212fff0"} 
[2026-07-27 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-07-27 11:10:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-27 11:10:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 11:10:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:10:48] local.INFO: Teltonika packet parsed successfully {"connection_id":142797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:10:48] local.INFO: Passing IMEI to GPS processor {"connection_id":142797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:10:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":142797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:10:48] 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-07-27 11:10:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 11:10:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 11:10:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993351936001,"66":25538,"250":206,"85":12544,"24":0,"16":358826891035017216,"45":9197968944632135680},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 11:10:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 11:10:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 11:10:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993351936001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:10:48] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 11:10:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 11:10:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826891035017216,"km_value":358826891035017.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:10:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197968944632135680,"description":"Unknown IO ID 45"} 
[2026-07-27 11:10:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993351936001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197968944632135680}} 
[2026-07-27 11:10:48] local.INFO: DEBUG: GPS processor result {"connection_id":142797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:10:48] local.INFO: GPS data processed {"connection_id":142797,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:10:48] local.INFO: Acknowledgment sent {"connection_id":142797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:10:53] local.INFO: TCP Data received {"connection_id":142797,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fa212fff0012d7fa5c005afdf80001000142b..."} 
[2026-07-27 11:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142797,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa212fff0012d7fa5c005afdf80001000142b..."} 
[2026-07-27 11:10:53] local.INFO: Processing buffer {"connection_id":142797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa212fff0012d7fa5c005afdf80001000142b..."} 
[2026-07-27 11:10:53] local.INFO: Packet analysis {"connection_id":142797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa212"} 
[2026-07-27 11:10:53] local.INFO: Extracted packet for processing {"connection_id":142797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa212"} 
[2026-07-27 11:10:53] local.INFO: GPS Element Parsed {"raw_longitude":763340224,"raw_latitude":95412096,"longitude_deg":76.3340224,"latitude_deg":9.5412096,"altitude":16,"angle":20,"satellites":43,"speed":0,"hex_longitude":"2d7fa5c0","hex_latitude":"05afdf80","is_valid_coordinates":true} 
[2026-07-27 11:10:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:10:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993351936001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:10:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826891035017216,"note":"Value kept but may cause issues"} 
[2026-07-27 11:10:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197968944632135680,"note":"Value kept but may cause issues"} 
[2026-07-27 11:10:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:10:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785130582000,"timestamp_ms":1785130582000,"timestamp_seconds":1785130582,"priority":1,"record_length":96,"hex_timestamp":"0000019fa212fff0"} 
[2026-07-27 11:10:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:10:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 11:10:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-27 11:10:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:10:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:10:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:10:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:10:53] local.INFO: Teltonika packet parsed successfully {"connection_id":142797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:10:53] local.INFO: Passing IMEI to GPS processor {"connection_id":142797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:10:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":142797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:10:53] 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-07-27 11:10:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 11:10:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 11:10:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993351936001,"66":25538,"250":206,"85":12544,"24":0,"16":358826891035017216,"45":9197968944632135680},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 11:10:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 11:10:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 11:10:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993351936001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:10:53] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 11:10:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 11:10:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826891035017216,"km_value":358826891035017.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:10:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197968944632135680,"description":"Unknown IO ID 45"} 
[2026-07-27 11:10:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993351936001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197968944632135680}} 
[2026-07-27 11:10:53] local.INFO: DEBUG: GPS processor result {"connection_id":142797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:10:53] local.INFO: GPS data processed {"connection_id":142797,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:10:53] local.INFO: Acknowledgment sent {"connection_id":142797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:11:08] local.INFO: TCP Data received {"connection_id":145221,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2154210012d164e40071fc3d80024013a27..."} 
[2026-07-27 11:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145221,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2154210012d164e40071fc3d80024013a27..."} 
[2026-07-27 11:11:08] local.INFO: Processing buffer {"connection_id":145221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2154210012d164e40071fc3d80024013a27..."} 
[2026-07-27 11:11:08] local.INFO: Packet analysis {"connection_id":145221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa215"} 
[2026-07-27 11:11:08] local.INFO: Extracted packet for processing {"connection_id":145221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa215"} 
[2026-07-27 11:11:08] local.INFO: GPS Element Parsed {"raw_longitude":756436544,"raw_latitude":119522264,"longitude_deg":75.6436544,"latitude_deg":11.9522264,"altitude":36,"angle":314,"satellites":39,"speed":29,"hex_longitude":"2d164e40","hex_latitude":"071fc3d8","is_valid_coordinates":true} 
[2026-07-27 11:11:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:11:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993464832001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:11:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8812285048913920,"note":"Value kept but may cause issues"} 
[2026-07-27 11:11:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1611585009753397248,"note":"Value kept but may cause issues"} 
[2026-07-27 11:11:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:11:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785130730000,"timestamp_ms":1785130730000,"timestamp_seconds":1785130730,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2154210"} 
[2026-07-27 11:11:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:11:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 11: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-27 11:11:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:11:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:11:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:11:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:11:08] local.INFO: Teltonika packet parsed successfully {"connection_id":145221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:11:08] local.INFO: Passing IMEI to GPS processor {"connection_id":145221,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:11:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":145221,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:11:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 11:11:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 11:11:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 11:11:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993464832001,"66":13135,"131":206,"28":31744,"24":29,"16":8812285048913920,"45":1611585009753397248},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-07-27 11:11:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 11:11:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 11:11:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993464832001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:11:08] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-27 11:11:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 11:11:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8812285048913920,"km_value":8812285048913.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:11:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1611585009753397248,"description":"Unknown IO ID 45"} 
[2026-07-27 11:11:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993464832001,"power":13135,"unknown_131":206,"unknown_28":31744,"ignition":29,"odometer":null,"unknown_45":1611585009753397248}} 
[2026-07-27 11:11:08] local.INFO: DEBUG: GPS processor result {"connection_id":145221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552763,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:11:08] local.INFO: GPS data processed {"connection_id":145221,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:11:08] local.INFO: Acknowledgment sent {"connection_id":145221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:11:30] local.INFO: TCP Data received {"connection_id":143920,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143920,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:11:30] local.INFO: Processing buffer {"connection_id":143920,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:11:30] local.INFO: IMEI packet received {"connection_id":143920,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 11:11:30] local.INFO: IMEI acknowledgment sent {"connection_id":143920,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 11:11:32] local.INFO: TCP Data received {"connection_id":143920,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143920,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:11:32] local.INFO: Processing buffer {"connection_id":143920,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:11:32] local.INFO: IMEI packet received {"connection_id":143920,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 11:11:32] local.INFO: IMEI acknowledgment sent {"connection_id":143920,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:11:36] local.INFO: TCP Data received {"connection_id":143920,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143920,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:11:36] local.INFO: Processing buffer {"connection_id":143920,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:11:36] local.INFO: IMEI packet received {"connection_id":143920,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 11:11:36] local.INFO: IMEI acknowledgment sent {"connection_id":143920,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:11:37] local.INFO: TCP Data received {"connection_id":143920,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2168260012d163800071fe2800027000d26..."} 
[2026-07-27 11:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2168260012d163800071fe2800027000d26..."} 
[2026-07-27 11:11:37] local.INFO: Processing buffer {"connection_id":143920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2168260012d163800071fe2800027000d26..."} 
[2026-07-27 11:11:37] local.INFO: Packet analysis {"connection_id":143920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa216"} 
[2026-07-27 11:11:37] local.INFO: Extracted packet for processing {"connection_id":143920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa216"} 
[2026-07-27 11:11:37] local.INFO: GPS Element Parsed {"raw_longitude":756430848,"raw_latitude":119530112,"longitude_deg":75.6430848,"latitude_deg":11.9530112,"altitude":39,"angle":13,"satellites":38,"speed":0,"hex_longitude":"2d163800","hex_latitude":"071fe280","is_valid_coordinates":true} 
[2026-07-27 11:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993482496001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8812787560087552,"note":"Value kept but may cause issues"} 
[2026-07-27 11:11:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1601029698129920000,"note":"Value kept but may cause issues"} 
[2026-07-27 11:11:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785130812000,"timestamp_ms":1785130812000,"timestamp_seconds":1785130812,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2168260"} 
[2026-07-27 11:11:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:11:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 11:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-27 11:11:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:11:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:11:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:11:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 11:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 11:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 11:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993482496001,"66":12852,"131":206,"28":31744,"24":0,"16":8812787560087552,"45":1601029698129920000},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-07-27 11:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 11:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 11:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993482496001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:11:37] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-27 11:11:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 11:11:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8812787560087552,"km_value":8812787560087.553,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:11:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1601029698129920000,"description":"Unknown IO ID 45"} 
[2026-07-27 11:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993482496001,"power":12852,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1601029698129920000}} 
[2026-07-27 11:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":143920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552764,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:11:37] local.INFO: GPS data processed {"connection_id":143920,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:11:37] local.INFO: Acknowledgment sent {"connection_id":143920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:11:37] local.INFO: TCP Data received {"connection_id":142925,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:11:37] local.INFO: Processing buffer {"connection_id":142925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:11:37] local.INFO: IMEI packet received {"connection_id":142925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 11:11:37] local.INFO: IMEI acknowledgment sent {"connection_id":142925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 11:11:42] local.INFO: TCP Data received {"connection_id":142925,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:11:42] local.INFO: Processing buffer {"connection_id":142925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:11:42] local.INFO: IMEI packet received {"connection_id":142925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 11:11:42] local.INFO: IMEI acknowledgment sent {"connection_id":142925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:11:46] local.INFO: TCP Data received {"connection_id":142925,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa212fff0012d7fa5c005afdf80001000142b..."} 
[2026-07-27 11:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa212fff0012d7fa5c005afdf80001000142b..."} 
[2026-07-27 11:11:46] local.INFO: Processing buffer {"connection_id":142925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa212fff0012d7fa5c005afdf80001000142b..."} 
[2026-07-27 11:11:46] local.INFO: Packet analysis {"connection_id":142925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa212"} 
[2026-07-27 11:11:46] local.INFO: Extracted packet for processing {"connection_id":142925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa212"} 
[2026-07-27 11:11:46] local.INFO: GPS Element Parsed {"raw_longitude":763340224,"raw_latitude":95412096,"longitude_deg":76.3340224,"latitude_deg":9.5412096,"altitude":16,"angle":20,"satellites":43,"speed":0,"hex_longitude":"2d7fa5c0","hex_latitude":"05afdf80","is_valid_coordinates":true} 
[2026-07-27 11: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-07-27 11:11:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993351936001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:11:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826891035017216,"note":"Value kept but may cause issues"} 
[2026-07-27 11:11:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197968944632135680,"note":"Value kept but may cause issues"} 
[2026-07-27 11:11:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:11:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785130582000,"timestamp_ms":1785130582000,"timestamp_seconds":1785130582,"priority":1,"record_length":96,"hex_timestamp":"0000019fa212fff0"} 
[2026-07-27 11:11:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:11:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 11: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":205,"data_length":795,"current_offset":136} 
[2026-07-27 11:11:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11: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-07-27 11:11:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:11:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:11:46] local.INFO: Teltonika packet parsed successfully {"connection_id":142925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:11:46] local.INFO: Passing IMEI to GPS processor {"connection_id":142925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:11:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":142925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:11:46] 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-07-27 11:11:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 11:11:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 11:11:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993351936001,"66":25538,"250":206,"85":12544,"24":0,"16":358826891035017216,"45":9197968944632135680},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 11:11:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 11:11:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 11:11:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993351936001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:11:46] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 11:11:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 11:11:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826891035017216,"km_value":358826891035017.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:11:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197968944632135680,"description":"Unknown IO ID 45"} 
[2026-07-27 11:11:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993351936001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197968944632135680}} 
[2026-07-27 11:11:46] local.INFO: DEBUG: GPS processor result {"connection_id":142925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:11:46] local.INFO: GPS data processed {"connection_id":142925,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:11:46] local.INFO: Acknowledgment sent {"connection_id":142925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:12:09] local.INFO: TCP Data received {"connection_id":143920,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa216d468012d163800071fe2800027000d27..."} 
[2026-07-27 11:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa216d468012d163800071fe2800027000d27..."} 
[2026-07-27 11:12:09] local.INFO: Processing buffer {"connection_id":143920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa216d468012d163800071fe2800027000d27..."} 
[2026-07-27 11:12:09] local.INFO: Packet analysis {"connection_id":143920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa216"} 
[2026-07-27 11:12:09] local.INFO: Extracted packet for processing {"connection_id":143920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa216"} 
[2026-07-27 11:12:09] local.INFO: GPS Element Parsed {"raw_longitude":756430848,"raw_latitude":119530112,"longitude_deg":75.6430848,"latitude_deg":11.9530112,"altitude":39,"angle":13,"satellites":39,"speed":0,"hex_longitude":"2d163800","hex_latitude":"071fe280","is_valid_coordinates":true} 
[2026-07-27 11:12:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:12:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993487872001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:12:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8812787560087552,"note":"Value kept but may cause issues"} 
[2026-07-27 11:12:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1601029698129920000,"note":"Value kept but may cause issues"} 
[2026-07-27 11:12:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:12:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785130833000,"timestamp_ms":1785130833000,"timestamp_seconds":1785130833,"priority":1,"record_length":96,"hex_timestamp":"0000019fa216d468"} 
[2026-07-27 11:12:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:12:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 11: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":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-27 11:12:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":916,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:12:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:12:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:12:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:12:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:12:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:12:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:12:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 11:12:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 11:12:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 11:12:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993487872001,"66":12841,"131":206,"28":31744,"24":0,"16":8812787560087552,"45":1601029698129920000},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-07-27 11:12:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 11:12:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 11:12:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993487872001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:12:09] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-27 11:12:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 11:12:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8812787560087552,"km_value":8812787560087.553,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:12:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1601029698129920000,"description":"Unknown IO ID 45"} 
[2026-07-27 11:12:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993487872001,"power":12841,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1601029698129920000}} 
[2026-07-27 11:12:09] local.INFO: DEBUG: GPS processor result {"connection_id":143920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552766,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:12:09] local.INFO: GPS data processed {"connection_id":143920,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:12:09] local.INFO: Acknowledgment sent {"connection_id":143920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:12:20] local.INFO: TCP Data received {"connection_id":142925,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa21797b8012d7fa5c005afdf80000b001428..."} 
[2026-07-27 11:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa21797b8012d7fa5c005afdf80000b001428..."} 
[2026-07-27 11:12:20] local.INFO: Processing buffer {"connection_id":142925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa21797b8012d7fa5c005afdf80000b001428..."} 
[2026-07-27 11:12:20] local.INFO: Packet analysis {"connection_id":142925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa217"} 
[2026-07-27 11:12:20] local.INFO: Extracted packet for processing {"connection_id":142925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa217"} 
[2026-07-27 11:12:20] local.INFO: GPS Element Parsed {"raw_longitude":763340224,"raw_latitude":95412096,"longitude_deg":76.3340224,"latitude_deg":9.5412096,"altitude":11,"angle":20,"satellites":40,"speed":0,"hex_longitude":"2d7fa5c0","hex_latitude":"05afdf80","is_valid_coordinates":true} 
[2026-07-27 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-07-27 11:12:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993428992001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:12:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826891035017216,"note":"Value kept but may cause issues"} 
[2026-07-27 11:12:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197968944632135680,"note":"Value kept but may cause issues"} 
[2026-07-27 11:12:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:12:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785130883000,"timestamp_ms":1785130883000,"timestamp_seconds":1785130883,"priority":1,"record_length":96,"hex_timestamp":"0000019fa21797b8"} 
[2026-07-27 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-07-27 11:12:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":194,"data_length":795,"current_offset":136} 
[2026-07-27 11:12:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 11:12:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:12:20] local.INFO: Teltonika packet parsed successfully {"connection_id":142925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:12:20] local.INFO: Passing IMEI to GPS processor {"connection_id":142925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:12:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":142925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:12: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-07-27 11:12:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 11:12:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 11:12:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993428992001,"66":25495,"28":206,"85":12544,"24":0,"16":358826891035017216,"45":9197968944632135680},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-07-27 11:12:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 11:12:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 11:12:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993428992001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:12:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-27 11:12:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 11:12:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826891035017216,"km_value":358826891035017.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:12:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197968944632135680,"description":"Unknown IO ID 45"} 
[2026-07-27 11:12:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993428992001,"power":25495,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197968944632135680}} 
[2026-07-27 11:12:20] local.INFO: DEBUG: GPS processor result {"connection_id":142925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:12:20] local.INFO: GPS data processed {"connection_id":142925,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:12:20] local.INFO: Acknowledgment sent {"connection_id":142925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:12:32] local.INFO: TCP Data received {"connection_id":142798,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:12:32] local.INFO: Processing buffer {"connection_id":142798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:12:32] local.INFO: IMEI packet received {"connection_id":142798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 11:12:32] local.INFO: IMEI acknowledgment sent {"connection_id":142798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 11:12:35] local.INFO: TCP Data received {"connection_id":142926,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142926,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:12:35] local.INFO: Processing buffer {"connection_id":142926,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:12:35] local.INFO: IMEI packet received {"connection_id":142926,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 11:12:35] local.INFO: IMEI acknowledgment sent {"connection_id":142926,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 11:12:36] local.INFO: TCP Data received {"connection_id":142926,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142926,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:12:36] local.INFO: Processing buffer {"connection_id":142926,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:12:36] local.INFO: IMEI packet received {"connection_id":142926,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 11:12:36] local.INFO: IMEI acknowledgment sent {"connection_id":142926,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:12:37] local.INFO: TCP Data received {"connection_id":142798,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:12:37] local.INFO: Processing buffer {"connection_id":142798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:12:37] local.INFO: IMEI packet received {"connection_id":142798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 11:12:37] local.INFO: IMEI acknowledgment sent {"connection_id":142798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:12:38] local.INFO: TCP Data received {"connection_id":142798,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019fa21797b8012d7fa5c005afdf80000b001428..."} 
[2026-07-27 11:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa21797b8012d7fa5c005afdf80000b001428..."} 
[2026-07-27 11:12:38] local.INFO: Processing buffer {"connection_id":142798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa21797b8012d7fa5c005afdf80000b001428..."} 
[2026-07-27 11:12:38] local.INFO: Packet analysis {"connection_id":142798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa217"} 
[2026-07-27 11:12:38] local.INFO: Extracted packet for processing {"connection_id":142798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa217"} 
[2026-07-27 11:12:38] local.INFO: GPS Element Parsed {"raw_longitude":763340224,"raw_latitude":95412096,"longitude_deg":76.3340224,"latitude_deg":9.5412096,"altitude":11,"angle":20,"satellites":40,"speed":0,"hex_longitude":"2d7fa5c0","hex_latitude":"05afdf80","is_valid_coordinates":true} 
[2026-07-27 11:12:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:12:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993428992001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:12:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826891035017216,"note":"Value kept but may cause issues"} 
[2026-07-27 11:12:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197968944632135680,"note":"Value kept but may cause issues"} 
[2026-07-27 11:12:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:12:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785130883000,"timestamp_ms":1785130883000,"timestamp_seconds":1785130883,"priority":1,"record_length":96,"hex_timestamp":"0000019fa21797b8"} 
[2026-07-27 11:12:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:12:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 11:12:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-27 11:12:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:12:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:12:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:12:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:12:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:12:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:12:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:12:38] 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-07-27 11:12:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 11:12:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 11:12:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993428992001,"66":25495,"28":206,"85":12544,"24":0,"16":358826891035017216,"45":9197968944632135680},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-07-27 11:12:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 11:12:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 11:12:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993428992001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:12:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-27 11:12:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 11:12:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826891035017216,"km_value":358826891035017.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:12:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197968944632135680,"description":"Unknown IO ID 45"} 
[2026-07-27 11:12:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993428992001,"power":25495,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197968944632135680}} 
[2026-07-27 11:12:38] local.INFO: DEBUG: GPS processor result {"connection_id":142798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:12:38] local.INFO: GPS data processed {"connection_id":142798,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:12:38] local.INFO: Acknowledgment sent {"connection_id":142798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:12:40] local.INFO: TCP Data received {"connection_id":142926,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142926,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:12:40] local.INFO: Processing buffer {"connection_id":142926,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:12:40] local.INFO: IMEI packet received {"connection_id":142926,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 11:12:40] local.INFO: IMEI acknowledgment sent {"connection_id":142926,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:12:41] local.INFO: TCP Data received {"connection_id":142926,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2172670012d163800071fe2800027000d26..."} 
[2026-07-27 11:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2172670012d163800071fe2800027000d26..."} 
[2026-07-27 11:12:41] local.INFO: Processing buffer {"connection_id":142926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2172670012d163800071fe2800027000d26..."} 
[2026-07-27 11:12:41] local.INFO: Packet analysis {"connection_id":142926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa217"} 
[2026-07-27 11:12:41] local.INFO: Extracted packet for processing {"connection_id":142926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa217"} 
[2026-07-27 11:12:41] local.INFO: GPS Element Parsed {"raw_longitude":756430848,"raw_latitude":119530112,"longitude_deg":75.6430848,"latitude_deg":11.9530112,"altitude":39,"angle":13,"satellites":38,"speed":0,"hex_longitude":"2d163800","hex_latitude":"071fe280","is_valid_coordinates":true} 
[2026-07-27 11: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-07-27 11:12:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993493248001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:12:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8812787560087552,"note":"Value kept but may cause issues"} 
[2026-07-27 11:12:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1601029698129920000,"note":"Value kept but may cause issues"} 
[2026-07-27 11:12:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:12:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785130854000,"timestamp_ms":1785130854000,"timestamp_seconds":1785130854,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2172670"} 
[2026-07-27 11:12:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:12:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 11: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-27 11:12:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11: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-07-27 11:12:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:12:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:12:41] local.INFO: Teltonika packet parsed successfully {"connection_id":142926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:12:41] local.INFO: Passing IMEI to GPS processor {"connection_id":142926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:12:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":142926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:12:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 11:12:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 11:12:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 11:12:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993493248001,"66":12798,"131":206,"28":31744,"24":0,"16":8812787560087552,"45":1601029698129920000},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-07-27 11:12:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 11:12:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 11:12:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993493248001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:12:41] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-27 11:12:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 11:12:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8812787560087552,"km_value":8812787560087.553,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:12:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1601029698129920000,"description":"Unknown IO ID 45"} 
[2026-07-27 11:12:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993493248001,"power":12798,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1601029698129920000}} 
[2026-07-27 11:12:41] local.INFO: DEBUG: GPS processor result {"connection_id":142926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552769,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:12:41] local.INFO: GPS data processed {"connection_id":142926,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:12:41] local.INFO: Acknowledgment sent {"connection_id":142926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:12:46] local.INFO: TCP Data received {"connection_id":142926,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2177878012d163800071fe2800027000d27..."} 
[2026-07-27 11:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2177878012d163800071fe2800027000d27..."} 
[2026-07-27 11:12:46] local.INFO: Processing buffer {"connection_id":142926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2177878012d163800071fe2800027000d27..."} 
[2026-07-27 11:12:46] local.INFO: Packet analysis {"connection_id":142926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa217"} 
[2026-07-27 11:12:46] local.INFO: Extracted packet for processing {"connection_id":142926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa217"} 
[2026-07-27 11:12:46] local.INFO: GPS Element Parsed {"raw_longitude":756430848,"raw_latitude":119530112,"longitude_deg":75.6430848,"latitude_deg":11.9530112,"altitude":39,"angle":13,"satellites":39,"speed":0,"hex_longitude":"2d163800","hex_latitude":"071fe280","is_valid_coordinates":true} 
[2026-07-27 11:12:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:12:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993498624001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:12:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8812787560087552,"note":"Value kept but may cause issues"} 
[2026-07-27 11:12:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1601029698129920000,"note":"Value kept but may cause issues"} 
[2026-07-27 11:12:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:12:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785130875000,"timestamp_ms":1785130875000,"timestamp_seconds":1785130875,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2177878"} 
[2026-07-27 11:12:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:12:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 11:12:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-27 11:12:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:12:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:12:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:12:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:12:46] local.INFO: Teltonika packet parsed successfully {"connection_id":142926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:12:46] local.INFO: Passing IMEI to GPS processor {"connection_id":142926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:12:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":142926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:12:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 11:12:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 11:12:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 11:12:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993498624001,"66":14004,"131":206,"28":31744,"24":0,"16":8812787560087552,"45":1601029698129920000},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-07-27 11:12:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 11:12:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 11:12:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993498624001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:12:46] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-27 11:12:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 11:12:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8812787560087552,"km_value":8812787560087.553,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:12:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1601029698129920000,"description":"Unknown IO ID 45"} 
[2026-07-27 11:12:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993498624001,"power":14004,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1601029698129920000}} 
[2026-07-27 11:12:46] local.INFO: DEBUG: GPS processor result {"connection_id":142926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552770,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:12:46] local.INFO: GPS data processed {"connection_id":142926,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:12:46] local.INFO: Acknowledgment sent {"connection_id":142926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:13:10] local.INFO: TCP Data received {"connection_id":142798,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019fa21797b8012d7fa5c005afdf80000b001428..."} 
[2026-07-27 11:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa21797b8012d7fa5c005afdf80000b001428..."} 
[2026-07-27 11:13:10] local.INFO: Processing buffer {"connection_id":142798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa21797b8012d7fa5c005afdf80000b001428..."} 
[2026-07-27 11:13:10] local.INFO: Packet analysis {"connection_id":142798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa217"} 
[2026-07-27 11:13:10] local.INFO: Extracted packet for processing {"connection_id":142798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa217"} 
[2026-07-27 11:13:10] local.INFO: GPS Element Parsed {"raw_longitude":763340224,"raw_latitude":95412096,"longitude_deg":76.3340224,"latitude_deg":9.5412096,"altitude":11,"angle":20,"satellites":40,"speed":0,"hex_longitude":"2d7fa5c0","hex_latitude":"05afdf80","is_valid_coordinates":true} 
[2026-07-27 11:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:13:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993428992001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:13:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826891035017216,"note":"Value kept but may cause issues"} 
[2026-07-27 11:13:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197968944632135680,"note":"Value kept but may cause issues"} 
[2026-07-27 11:13:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:13:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785130883000,"timestamp_ms":1785130883000,"timestamp_seconds":1785130883,"priority":1,"record_length":96,"hex_timestamp":"0000019fa21797b8"} 
[2026-07-27 11:13:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:13:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 11:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-27 11:13:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:13:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:13:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:13:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:13:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:13:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:13:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:13: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-07-27 11:13:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 11:13:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 11:13:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993428992001,"66":25495,"28":206,"85":12544,"24":0,"16":358826891035017216,"45":9197968944632135680},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-07-27 11:13:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 11:13:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 11:13:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993428992001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:13:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-27 11:13:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 11:13:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826891035017216,"km_value":358826891035017.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:13:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197968944632135680,"description":"Unknown IO ID 45"} 
[2026-07-27 11:13:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993428992001,"power":25495,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197968944632135680}} 
[2026-07-27 11:13:10] local.INFO: DEBUG: GPS processor result {"connection_id":142798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:13:10] local.INFO: GPS data processed {"connection_id":142798,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:13:10] local.INFO: Acknowledgment sent {"connection_id":142798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:13:30] local.INFO: TCP Data received {"connection_id":142927,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142927,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:13:30] local.INFO: Processing buffer {"connection_id":142927,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:13:30] local.INFO: IMEI packet received {"connection_id":142927,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 11:13:30] local.INFO: IMEI acknowledgment sent {"connection_id":142927,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 11:13:35] local.INFO: TCP Data received {"connection_id":142927,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142927,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:13:35] local.INFO: Processing buffer {"connection_id":142927,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:13:35] local.INFO: IMEI packet received {"connection_id":142927,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 11:13:35] local.INFO: IMEI acknowledgment sent {"connection_id":142927,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:13:36] local.INFO: TCP Data received {"connection_id":142927,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2189d70012d163a00071febe80031002627..."} 
[2026-07-27 11:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2189d70012d163a00071febe80031002627..."} 
[2026-07-27 11:13:36] local.INFO: Processing buffer {"connection_id":142927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2189d70012d163a00071febe80031002627..."} 
[2026-07-27 11:13:36] local.INFO: Packet analysis {"connection_id":142927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa218"} 
[2026-07-27 11:13:36] local.INFO: Extracted packet for processing {"connection_id":142927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa218"} 
[2026-07-27 11:13:36] local.INFO: GPS Element Parsed {"raw_longitude":756431360,"raw_latitude":119532520,"longitude_deg":75.643136,"latitude_deg":11.953252,"altitude":49,"angle":38,"satellites":39,"speed":10,"hex_longitude":"2d163a00","hex_latitude":"071febe8","is_valid_coordinates":true} 
[2026-07-27 11:13:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:13:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993522944001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:13:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8812959358779392,"note":"Value kept but may cause issues"} 
[2026-07-27 11:13:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1601381541851371520,"note":"Value kept but may cause issues"} 
[2026-07-27 11:13:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:13:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785130950000,"timestamp_ms":1785130950000,"timestamp_seconds":1785130950,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2189d70"} 
[2026-07-27 11:13:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:13:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 11:13:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-07-27 11:13:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:13:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:13:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:13:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:13:36] local.INFO: Teltonika packet parsed successfully {"connection_id":142927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:13:36] local.INFO: Passing IMEI to GPS processor {"connection_id":142927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:13:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":142927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:13:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 11:13:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 11:13:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 11:13:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993522944001,"66":14233,"130":206,"28":31744,"24":10,"16":8812959358779392,"45":1601381541851371520},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,28,24,16,45]} 
[2026-07-27 11:13:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 11:13:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 11:13:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993522944001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:13:36] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-07-27 11:13:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 11:13:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8812959358779392,"km_value":8812959358779.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:13:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1601381541851371520,"description":"Unknown IO ID 45"} 
[2026-07-27 11:13:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993522944001,"power":14233,"unknown_130":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1601381541851371520}} 
[2026-07-27 11:13:36] local.INFO: DEBUG: GPS processor result {"connection_id":142927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552772,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:13:36] local.INFO: GPS data processed {"connection_id":142927,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:13:36] local.INFO: Acknowledgment sent {"connection_id":142927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:13:37] local.INFO: TCP Data received {"connection_id":143921,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:13:37] local.INFO: Processing buffer {"connection_id":143921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:13:37] local.INFO: IMEI packet received {"connection_id":143921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 11:13:37] local.INFO: IMEI acknowledgment sent {"connection_id":143921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 11:13:47] local.INFO: TCP Data received {"connection_id":143921,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:13:47] local.INFO: Processing buffer {"connection_id":143921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:13:47] local.INFO: IMEI packet received {"connection_id":143921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 11:13:47] local.INFO: IMEI acknowledgment sent {"connection_id":143921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:13:48] local.INFO: TCP Data received {"connection_id":143921,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019fa21797b8012d7fa5c005afdf80000b001428..."} 
[2026-07-27 11:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143921,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa21797b8012d7fa5c005afdf80000b001428..."} 
[2026-07-27 11:13:48] local.INFO: Processing buffer {"connection_id":143921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa21797b8012d7fa5c005afdf80000b001428..."} 
[2026-07-27 11:13:48] local.INFO: Packet analysis {"connection_id":143921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa217"} 
[2026-07-27 11:13:48] local.INFO: Extracted packet for processing {"connection_id":143921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa217"} 
[2026-07-27 11:13:48] local.INFO: GPS Element Parsed {"raw_longitude":763340224,"raw_latitude":95412096,"longitude_deg":76.3340224,"latitude_deg":9.5412096,"altitude":11,"angle":20,"satellites":40,"speed":0,"hex_longitude":"2d7fa5c0","hex_latitude":"05afdf80","is_valid_coordinates":true} 
[2026-07-27 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-07-27 11:13:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993428992001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:13:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826891035017216,"note":"Value kept but may cause issues"} 
[2026-07-27 11:13:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197968944632135680,"note":"Value kept but may cause issues"} 
[2026-07-27 11:13:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:13:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785130883000,"timestamp_ms":1785130883000,"timestamp_seconds":1785130883,"priority":1,"record_length":96,"hex_timestamp":"0000019fa21797b8"} 
[2026-07-27 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-07-27 11:13:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-27 11:13:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 11:13:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:13:48] local.INFO: Teltonika packet parsed successfully {"connection_id":143921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:13:48] local.INFO: Passing IMEI to GPS processor {"connection_id":143921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:13:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":143921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:13:48] 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-07-27 11:13:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 11:13:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 11:13:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993428992001,"66":25495,"28":206,"85":12544,"24":0,"16":358826891035017216,"45":9197968944632135680},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-07-27 11:13:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 11:13:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 11:13:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993428992001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:13:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-27 11:13:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 11:13:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826891035017216,"km_value":358826891035017.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:13:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197968944632135680,"description":"Unknown IO ID 45"} 
[2026-07-27 11:13:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993428992001,"power":25495,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197968944632135680}} 
[2026-07-27 11:13:48] local.INFO: DEBUG: GPS processor result {"connection_id":143921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:13:48] local.INFO: GPS data processed {"connection_id":143921,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:13:48] local.INFO: Acknowledgment sent {"connection_id":143921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:14:08] local.INFO: TCP Data received {"connection_id":142927,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa218a158012d163a80071fec980031003727..."} 
[2026-07-27 11:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa218a158012d163a80071fec980031003727..."} 
[2026-07-27 11:14:08] local.INFO: Processing buffer {"connection_id":142927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa218a158012d163a80071fec980031003727..."} 
[2026-07-27 11:14:08] local.INFO: Packet analysis {"connection_id":142927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa218"} 
[2026-07-27 11:14:08] local.INFO: Extracted packet for processing {"connection_id":142927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa218"} 
[2026-07-27 11:14:08] local.INFO: GPS Element Parsed {"raw_longitude":756431488,"raw_latitude":119532696,"longitude_deg":75.6431488,"latitude_deg":11.9532696,"altitude":49,"angle":55,"satellites":39,"speed":11,"hex_longitude":"2d163a80","hex_latitude":"071fec98","is_valid_coordinates":true} 
[2026-07-27 11:14:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:14:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993523200001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:14:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8812972243681280,"note":"Value kept but may cause issues"} 
[2026-07-27 11:14:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1601592648083957760,"note":"Value kept but may cause issues"} 
[2026-07-27 11:14:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:14:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785130951000,"timestamp_ms":1785130951000,"timestamp_seconds":1785130951,"priority":1,"record_length":96,"hex_timestamp":"0000019fa218a158"} 
[2026-07-27 11:14:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:14:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 11: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-07-27 11:14:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:14:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:14:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:14:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:14:08] local.INFO: Teltonika packet parsed successfully {"connection_id":142927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:14:08] local.INFO: Passing IMEI to GPS processor {"connection_id":142927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:14:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":142927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:14:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 11:14:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 11:14:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 11:14:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993523200001,"66":13993,"130":206,"28":31744,"24":11,"16":8812972243681280,"45":1601592648083957760},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,28,24,16,45]} 
[2026-07-27 11:14:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 11:14:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 11:14:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993523200001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:14:08] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-07-27 11:14:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 11:14:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8812972243681280,"km_value":8812972243681.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:14:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1601592648083957760,"description":"Unknown IO ID 45"} 
[2026-07-27 11:14:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993523200001,"power":13993,"unknown_130":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1601592648083957760}} 
[2026-07-27 11:14:08] local.INFO: DEBUG: GPS processor result {"connection_id":142927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552774,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:14:08] local.INFO: GPS data processed {"connection_id":142927,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:14:08] local.INFO: Acknowledgment sent {"connection_id":142927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:14:16] local.INFO: TCP Data received {"connection_id":145222,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 11:14:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145222,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 11:14:16] local.INFO: Processing buffer {"connection_id":145222,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 11:14:16] local.INFO: IMEI packet received {"connection_id":145222,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 11:14:16] local.INFO: IMEI acknowledgment sent {"connection_id":145222,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 11:14:30] local.INFO: TCP Data received {"connection_id":143922,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143922,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:14:30] local.INFO: Processing buffer {"connection_id":143922,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:14:30] local.INFO: IMEI packet received {"connection_id":143922,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 11:14:30] local.INFO: IMEI acknowledgment sent {"connection_id":143922,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 11:14:32] local.INFO: TCP Data received {"connection_id":142928,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:14:32] local.INFO: Processing buffer {"connection_id":142928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:14:32] local.INFO: IMEI packet received {"connection_id":142928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 11:14:32] local.INFO: IMEI acknowledgment sent {"connection_id":142928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 11:14:34] local.INFO: TCP Data received {"connection_id":143922,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143922,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:14:34] local.INFO: Processing buffer {"connection_id":143922,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:14:34] local.INFO: IMEI packet received {"connection_id":143922,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 11:14:34] local.INFO: IMEI acknowledgment sent {"connection_id":143922,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:14:36] local.INFO: TCP Data received {"connection_id":143922,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa218a540012d163bc0071fed280031004328..."} 
[2026-07-27 11:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa218a540012d163bc0071fed280031004328..."} 
[2026-07-27 11:14:36] local.INFO: Processing buffer {"connection_id":143922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa218a540012d163bc0071fed280031004328..."} 
[2026-07-27 11:14:36] local.INFO: Packet analysis {"connection_id":143922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa218"} 
[2026-07-27 11:14:36] local.INFO: Extracted packet for processing {"connection_id":143922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa218"} 
[2026-07-27 11:14:36] local.INFO: GPS Element Parsed {"raw_longitude":756431808,"raw_latitude":119532840,"longitude_deg":75.6431808,"latitude_deg":11.953284,"altitude":49,"angle":67,"satellites":40,"speed":13,"hex_longitude":"2d163bc0","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-07-27 11:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:14:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993523456001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:14:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8812985128583168,"note":"Value kept but may cause issues"} 
[2026-07-27 11:14:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1601733385572358144,"note":"Value kept but may cause issues"} 
[2026-07-27 11:14:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:14:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785130952000,"timestamp_ms":1785130952000,"timestamp_seconds":1785130952,"priority":1,"record_length":96,"hex_timestamp":"0000019fa218a540"} 
[2026-07-27 11:14:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:14:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 11:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-27 11:14:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:14:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:14:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:14:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:14:36] local.INFO: Teltonika packet parsed successfully {"connection_id":143922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:14:36] local.INFO: Passing IMEI to GPS processor {"connection_id":143922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:14:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":143922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:14:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 11:14:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 11:14:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 11:14:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993523456001,"66":13993,"130":206,"28":31744,"24":13,"16":8812985128583168,"45":1601733385572358144},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,28,24,16,45]} 
[2026-07-27 11:14:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 11:14:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 11:14:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993523456001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:14:36] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-07-27 11:14:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 11:14:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8812985128583168,"km_value":8812985128583.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:14:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1601733385572358144,"description":"Unknown IO ID 45"} 
[2026-07-27 11:14:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993523456001,"power":13993,"unknown_130":206,"unknown_28":31744,"ignition":13,"odometer":null,"unknown_45":1601733385572358144}} 
[2026-07-27 11:14:36] local.INFO: DEBUG: GPS processor result {"connection_id":143922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552775,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:14:36] local.INFO: GPS data processed {"connection_id":143922,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:14:36] local.INFO: Acknowledgment sent {"connection_id":143922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:14:37] local.INFO: TCP Data received {"connection_id":142928,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:14:37] local.INFO: Processing buffer {"connection_id":142928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:14:37] local.INFO: IMEI packet received {"connection_id":142928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 11:14:37] local.INFO: IMEI acknowledgment sent {"connection_id":142928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:14:38] local.INFO: TCP Data received {"connection_id":142928,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa21797b8012d7fa5c005afdf80000b001428..."} 
[2026-07-27 11:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa21797b8012d7fa5c005afdf80000b001428..."} 
[2026-07-27 11:14:38] local.INFO: Processing buffer {"connection_id":142928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa21797b8012d7fa5c005afdf80000b001428..."} 
[2026-07-27 11:14:38] local.INFO: Packet analysis {"connection_id":142928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa217"} 
[2026-07-27 11:14:38] local.INFO: Extracted packet for processing {"connection_id":142928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa217"} 
[2026-07-27 11:14:38] local.INFO: GPS Element Parsed {"raw_longitude":763340224,"raw_latitude":95412096,"longitude_deg":76.3340224,"latitude_deg":9.5412096,"altitude":11,"angle":20,"satellites":40,"speed":0,"hex_longitude":"2d7fa5c0","hex_latitude":"05afdf80","is_valid_coordinates":true} 
[2026-07-27 11:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:14:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993428992001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:14:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826891035017216,"note":"Value kept but may cause issues"} 
[2026-07-27 11:14:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197968944632135680,"note":"Value kept but may cause issues"} 
[2026-07-27 11:14:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:14:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785130883000,"timestamp_ms":1785130883000,"timestamp_seconds":1785130883,"priority":1,"record_length":96,"hex_timestamp":"0000019fa21797b8"} 
[2026-07-27 11:14:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:14:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 11:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-27 11:14:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:14:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:14:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:14:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:14:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:14:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:14:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:14:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 11:14:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 11:14:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 11:14:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993428992001,"66":25495,"28":206,"85":12544,"24":0,"16":358826891035017216,"45":9197968944632135680},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-07-27 11:14:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 11:14:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 11:14:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993428992001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:14:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-27 11:14:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 11:14:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826891035017216,"km_value":358826891035017.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:14:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197968944632135680,"description":"Unknown IO ID 45"} 
[2026-07-27 11:14:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993428992001,"power":25495,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197968944632135680}} 
[2026-07-27 11:14:38] local.INFO: DEBUG: GPS processor result {"connection_id":142928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:14:38] local.INFO: GPS data processed {"connection_id":142928,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:14:38] local.INFO: Acknowledgment sent {"connection_id":142928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:15:07] local.INFO: TCP Data received {"connection_id":143922,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa218dfd8012d165e00071ffdf00031004025..."} 
[2026-07-27 11:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa218dfd8012d165e00071ffdf00031004025..."} 
[2026-07-27 11:15:07] local.INFO: Processing buffer {"connection_id":143922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa218dfd8012d165e00071ffdf00031004025..."} 
[2026-07-27 11:15:07] local.INFO: Packet analysis {"connection_id":143922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa218"} 
[2026-07-27 11:15:07] local.INFO: Extracted packet for processing {"connection_id":143922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa218"} 
[2026-07-27 11:15:07] local.INFO: GPS Element Parsed {"raw_longitude":756440576,"raw_latitude":119537136,"longitude_deg":75.6440576,"latitude_deg":11.9537136,"altitude":49,"angle":64,"satellites":37,"speed":34,"hex_longitude":"2d165e00","hex_latitude":"071ffdf0","is_valid_coordinates":true} 
[2026-07-27 11:15:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:15:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993523712001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:15:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8813453280018432,"note":"Value kept but may cause issues"} 
[2026-07-27 11:15:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1602085229293283328,"note":"Value kept but may cause issues"} 
[2026-07-27 11:15:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:15:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785130967000,"timestamp_ms":1785130967000,"timestamp_seconds":1785130967,"priority":1,"record_length":96,"hex_timestamp":"0000019fa218dfd8"} 
[2026-07-27 11:15:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:15:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 11:15:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-27 11:15:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:15:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:15:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:15:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:15:07] local.INFO: Teltonika packet parsed successfully {"connection_id":143922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:15:07] local.INFO: Passing IMEI to GPS processor {"connection_id":143922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:15:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":143922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:15:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 11:15:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 11:15:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 11:15:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993523712001,"66":14243,"130":206,"28":31744,"24":34,"16":8813453280018432,"45":1602085229293283328},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,28,24,16,45]} 
[2026-07-27 11:15:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 11:15:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 11:15:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993523712001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:15:08] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-07-27 11:15:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 11:15:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8813453280018432,"km_value":8813453280018.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:15:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1602085229293283328,"description":"Unknown IO ID 45"} 
[2026-07-27 11:15:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993523712001,"power":14243,"unknown_130":206,"unknown_28":31744,"ignition":34,"odometer":null,"unknown_45":1602085229293283328}} 
[2026-07-27 11:15:08] local.INFO: DEBUG: GPS processor result {"connection_id":143922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552777,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:15:08] local.INFO: GPS data processed {"connection_id":143922,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:15:08] local.INFO: Acknowledgment sent {"connection_id":143922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:15:10] local.INFO: TCP Data received {"connection_id":142928,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa21797b8012d7fa5c005afdf80000b001428..."} 
[2026-07-27 11:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa21797b8012d7fa5c005afdf80000b001428..."} 
[2026-07-27 11:15:10] local.INFO: Processing buffer {"connection_id":142928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa21797b8012d7fa5c005afdf80000b001428..."} 
[2026-07-27 11:15:10] local.INFO: Packet analysis {"connection_id":142928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa217"} 
[2026-07-27 11:15:10] local.INFO: Extracted packet for processing {"connection_id":142928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa217"} 
[2026-07-27 11:15:10] local.INFO: GPS Element Parsed {"raw_longitude":763340224,"raw_latitude":95412096,"longitude_deg":76.3340224,"latitude_deg":9.5412096,"altitude":11,"angle":20,"satellites":40,"speed":0,"hex_longitude":"2d7fa5c0","hex_latitude":"05afdf80","is_valid_coordinates":true} 
[2026-07-27 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-07-27 11:15:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993428992001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:15:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826891035017216,"note":"Value kept but may cause issues"} 
[2026-07-27 11:15:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197968944632135680,"note":"Value kept but may cause issues"} 
[2026-07-27 11:15:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:15:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785130883000,"timestamp_ms":1785130883000,"timestamp_seconds":1785130883,"priority":1,"record_length":96,"hex_timestamp":"0000019fa21797b8"} 
[2026-07-27 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-07-27 11:15:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":194,"data_length":795,"current_offset":136} 
[2026-07-27 11:15:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 11:15:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:15:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:15:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:15:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:15: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-07-27 11:15:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 11:15:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 11:15:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993428992001,"66":25495,"28":206,"85":12544,"24":0,"16":358826891035017216,"45":9197968944632135680},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-07-27 11:15:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 11:15:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 11:15:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993428992001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:15:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-27 11:15:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 11:15:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826891035017216,"km_value":358826891035017.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:15:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197968944632135680,"description":"Unknown IO ID 45"} 
[2026-07-27 11:15:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993428992001,"power":25495,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197968944632135680}} 
[2026-07-27 11:15:10] local.INFO: DEBUG: GPS processor result {"connection_id":142928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:15:10] local.INFO: GPS data processed {"connection_id":142928,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:15:10] local.INFO: Acknowledgment sent {"connection_id":142928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:15:30] local.INFO: TCP Data received {"connection_id":142799,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142799,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:15:30] local.INFO: Processing buffer {"connection_id":142799,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:15:30] local.INFO: IMEI packet received {"connection_id":142799,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 11:15:30] local.INFO: IMEI acknowledgment sent {"connection_id":142799,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 11:15:30] local.INFO: TCP Data received {"connection_id":142799,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142799,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:15:30] local.INFO: Processing buffer {"connection_id":142799,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:15:30] local.INFO: IMEI packet received {"connection_id":142799,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 11:15:30] local.INFO: IMEI acknowledgment sent {"connection_id":142799,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:15:32] local.INFO: TCP Data received {"connection_id":142800,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:15:32] local.INFO: Processing buffer {"connection_id":142800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:15:32] local.INFO: IMEI packet received {"connection_id":142800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 11:15:32] local.INFO: IMEI acknowledgment sent {"connection_id":142800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 11:15:36] local.INFO: TCP Data received {"connection_id":142799,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142799,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:15:36] local.INFO: Processing buffer {"connection_id":142799,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:15:36] local.INFO: IMEI packet received {"connection_id":142799,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 11:15:36] local.INFO: IMEI acknowledgment sent {"connection_id":142799,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:15:37] local.INFO: TCP Data received {"connection_id":142799,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa21a6678012d178f8007210390003d003427..."} 
[2026-07-27 11:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa21a6678012d178f8007210390003d003427..."} 
[2026-07-27 11:15:37] local.INFO: Processing buffer {"connection_id":142799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa21a6678012d178f8007210390003d003427..."} 
[2026-07-27 11:15:37] local.INFO: Packet analysis {"connection_id":142799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa21a"} 
[2026-07-27 11:15:37] local.INFO: Extracted packet for processing {"connection_id":142799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa21a"} 
[2026-07-27 11:15:37] local.INFO: GPS Element Parsed {"raw_longitude":756518784,"raw_latitude":119604112,"longitude_deg":75.6518784,"latitude_deg":11.9604112,"altitude":61,"angle":52,"satellites":39,"speed":40,"hex_longitude":"2d178f80","hex_latitude":"07210390","is_valid_coordinates":true} 
[2026-07-27 11:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993550592001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8818431147114496,"note":"Value kept but may cause issues"} 
[2026-07-27 11:15:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1689975790787756032,"note":"Value kept but may cause issues"} 
[2026-07-27 11:15:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785131067000,"timestamp_ms":1785131067000,"timestamp_seconds":1785131067,"priority":1,"record_length":96,"hex_timestamp":"0000019fa21a6678"} 
[2026-07-27 11:15:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:15:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 11:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-27 11:15:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:15:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:15:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":142799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":142799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":142799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:15:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 11:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 11:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 11:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993550592001,"66":14352,"122":206,"28":31744,"24":40,"16":8818431147114496,"45":1689975790787756032},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-07-27 11:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 11:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 11:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993550592001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:15:37] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-27 11:15:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 11:15:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8818431147114496,"km_value":8818431147114.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:15:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1689975790787756032,"description":"Unknown IO ID 45"} 
[2026-07-27 11:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993550592001,"power":14352,"unknown_122":206,"unknown_28":31744,"ignition":40,"odometer":null,"unknown_45":1689975790787756032}} 
[2026-07-27 11:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":142799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552779,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:15:37] local.INFO: GPS data processed {"connection_id":142799,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:15:37] local.INFO: Acknowledgment sent {"connection_id":142799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:15:37] local.INFO: TCP Data received {"connection_id":142800,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:15:37] local.INFO: Processing buffer {"connection_id":142800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:15:37] local.INFO: IMEI packet received {"connection_id":142800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 11:15:37] local.INFO: IMEI acknowledgment sent {"connection_id":142800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:15:38] local.INFO: TCP Data received {"connection_id":142800,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fa21797b8012d7fa5c005afdf80000b001428..."} 
[2026-07-27 11:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa21797b8012d7fa5c005afdf80000b001428..."} 
[2026-07-27 11:15:38] local.INFO: Processing buffer {"connection_id":142800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa21797b8012d7fa5c005afdf80000b001428..."} 
[2026-07-27 11:15:38] local.INFO: Packet analysis {"connection_id":142800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa217"} 
[2026-07-27 11:15:38] local.INFO: Extracted packet for processing {"connection_id":142800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa217"} 
[2026-07-27 11:15:38] local.INFO: GPS Element Parsed {"raw_longitude":763340224,"raw_latitude":95412096,"longitude_deg":76.3340224,"latitude_deg":9.5412096,"altitude":11,"angle":20,"satellites":40,"speed":0,"hex_longitude":"2d7fa5c0","hex_latitude":"05afdf80","is_valid_coordinates":true} 
[2026-07-27 11:15:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:15:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993428992001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:15:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826891035017216,"note":"Value kept but may cause issues"} 
[2026-07-27 11:15:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197968944632135680,"note":"Value kept but may cause issues"} 
[2026-07-27 11:15:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:15:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785130883000,"timestamp_ms":1785130883000,"timestamp_seconds":1785130883,"priority":1,"record_length":96,"hex_timestamp":"0000019fa21797b8"} 
[2026-07-27 11:15:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:15:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 11:15:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-27 11:15:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:15:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:15:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:15:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:15:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:15:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:15:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:15:38] 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-07-27 11:15:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 11:15:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 11:15:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993428992001,"66":25495,"28":206,"85":12544,"24":0,"16":358826891035017216,"45":9197968944632135680},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-07-27 11:15:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 11:15:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 11:15:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993428992001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:15:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-27 11:15:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 11:15:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826891035017216,"km_value":358826891035017.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:15:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197968944632135680,"description":"Unknown IO ID 45"} 
[2026-07-27 11:15:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993428992001,"power":25495,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197968944632135680}} 
[2026-07-27 11:15:38] local.INFO: DEBUG: GPS processor result {"connection_id":142800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:15:38] local.INFO: GPS data processed {"connection_id":142800,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:15:38] local.INFO: Acknowledgment sent {"connection_id":142800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:16:09] local.INFO: TCP Data received {"connection_id":142799,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa21a89a0012d17ae8007211a20003c003126..."} 
[2026-07-27 11:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa21a89a0012d17ae8007211a20003c003126..."} 
[2026-07-27 11:16:09] local.INFO: Processing buffer {"connection_id":142799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa21a89a0012d17ae8007211a20003c003126..."} 
[2026-07-27 11:16:09] local.INFO: Packet analysis {"connection_id":142799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa21a"} 
[2026-07-27 11:16:09] local.INFO: Extracted packet for processing {"connection_id":142799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa21a"} 
[2026-07-27 11:16:09] local.INFO: GPS Element Parsed {"raw_longitude":756526720,"raw_latitude":119609888,"longitude_deg":75.652672,"latitude_deg":11.9609888,"altitude":60,"angle":49,"satellites":38,"speed":42,"hex_longitude":"2d17ae80","hex_latitude":"07211a20","is_valid_coordinates":true} 
[2026-07-27 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-07-27 11:16:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993553152001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:16:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8818899298549760,"note":"Value kept but may cause issues"} 
[2026-07-27 11:16:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1697716352648974336,"note":"Value kept but may cause issues"} 
[2026-07-27 11:16:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:16:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785131076000,"timestamp_ms":1785131076000,"timestamp_seconds":1785131076,"priority":1,"record_length":96,"hex_timestamp":"0000019fa21a89a0"} 
[2026-07-27 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-07-27 11:16:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-07-27 11:16:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733141248,"note":"Value kept but may cause issues"} 
[2026-07-27 11:16:09] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503734144008192,"note":"Value kept but may cause issues"} 
[2026-07-27 11:16:09] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2719583160,"note":"Value kept but may cause issues"} 
[2026-07-27 11:16:09] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-27 11:16:09] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":13494138,"corrected_to":0} 
[2026-07-27 11:16:09] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2680160302,"note":"Value kept but may cause issues"} 
[2026-07-27 11:16:09] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18637357759457146,"note":"Value kept but may cause issues"} 
[2026-07-27 11:16:09] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5188410657820967168,"note":"Value kept but may cause issues"} 
[2026-07-27 11:16:09] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883532494,"corrected_to":0} 
[2026-07-27 11:16:09] local.WARNING: Large IO value detected {"io_id":174,"raw_value":3758173463,"note":"Value kept but may cause issues"} 
[2026-07-27 11:16:09] local.WARNING: Large IO value detected {"io_id":54,"raw_value":4127247847,"note":"Value kept but may cause issues"} 
[2026-07-27 11:16:09] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472039641104,"note":"Value kept but may cause issues"} 
[2026-07-27 11:16:09] local.WARNING: Large IO value detected {"io_id":144,"raw_value":84749068852994123,"note":"Value kept but may cause issues"} 
[2026-07-27 11:16:09] local.WARNING: Large IO value detected {"io_id":80,"raw_value":11822121474862592,"note":"Value kept but may cause issues"} 
[2026-07-27 11:16:09] local.WARNING: Large IO value detected {"io_id":22,"raw_value":-5080052544854556627,"note":"Value kept but may cause issues"} 
[2026-07-27 11:16:09] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,122,28,24,241,158,16,84,159,63,45,234,57,37,10,66,83,128,206,51,38,245,1,240,246,162,32,4,113,205,42,174,7,184,39,239,54,2,31,144,80,22],"length":628,"final_offset":758,"validated_count":42,"validation_warnings":[{"io_id":246,"original":13494138,"validated":0},{"io_id":205,"original":3883532494,"validated":0}]} 
[2026-07-27 11:16:09] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395570578424594432,"timestamp_seconds":4395570578424594.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 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-07-27 11:16:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:16:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:16:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:16:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:16:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 11:16:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 11:16:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 11:16:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993553152001,"66":14341,"122":206,"28":31744,"24":42,"16":8818899298549760,"45":1697716352648974336},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-07-27 11:16:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 11:16:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 11:16:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993553152001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:16:09] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-27 11:16:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 11:16:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8818899298549760,"km_value":8818899298549.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:16:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1697716352648974336,"description":"Unknown IO ID 45"} 
[2026-07-27 11:16:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993553152001,"power":14341,"unknown_122":206,"unknown_28":31744,"ignition":42,"odometer":null,"unknown_45":1697716352648974336}} 
[2026-07-27 11:16:09] local.INFO: DEBUG: GPS processor result {"connection_id":142799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552781,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:16:09] local.INFO: GPS data processed {"connection_id":142799,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:16:09] local.INFO: Acknowledgment sent {"connection_id":142799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:16:09] local.INFO: TCP Data received {"connection_id":142800,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fa21797b8012d7fa5c005afdf80000b001428..."} 
[2026-07-27 11:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa21797b8012d7fa5c005afdf80000b001428..."} 
[2026-07-27 11:16:09] local.INFO: Processing buffer {"connection_id":142800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa21797b8012d7fa5c005afdf80000b001428..."} 
[2026-07-27 11:16:09] local.INFO: Packet analysis {"connection_id":142800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa217"} 
[2026-07-27 11:16:09] local.INFO: Extracted packet for processing {"connection_id":142800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa217"} 
[2026-07-27 11:16:09] local.INFO: GPS Element Parsed {"raw_longitude":763340224,"raw_latitude":95412096,"longitude_deg":76.3340224,"latitude_deg":9.5412096,"altitude":11,"angle":20,"satellites":40,"speed":0,"hex_longitude":"2d7fa5c0","hex_latitude":"05afdf80","is_valid_coordinates":true} 
[2026-07-27 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-07-27 11:16:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993428992001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:16:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826891035017216,"note":"Value kept but may cause issues"} 
[2026-07-27 11:16:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197968944632135680,"note":"Value kept but may cause issues"} 
[2026-07-27 11:16:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:16:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785130883000,"timestamp_ms":1785130883000,"timestamp_seconds":1785130883,"priority":1,"record_length":96,"hex_timestamp":"0000019fa21797b8"} 
[2026-07-27 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-07-27 11:16:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":194,"data_length":795,"current_offset":136} 
[2026-07-27 11:16:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 11:16:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:16:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:16:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:16:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:16: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-07-27 11:16:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 11:16:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 11:16:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993428992001,"66":25495,"28":206,"85":12544,"24":0,"16":358826891035017216,"45":9197968944632135680},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-07-27 11:16:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 11:16:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 11:16:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993428992001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:16:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-27 11:16:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 11:16:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826891035017216,"km_value":358826891035017.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:16:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197968944632135680,"description":"Unknown IO ID 45"} 
[2026-07-27 11:16:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993428992001,"power":25495,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197968944632135680}} 
[2026-07-27 11:16:09] local.INFO: DEBUG: GPS processor result {"connection_id":142800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:16:09] local.INFO: GPS data processed {"connection_id":142800,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:16:09] local.INFO: Acknowledgment sent {"connection_id":142800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:16:29] local.INFO: TCP Data received {"connection_id":142801,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142801,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:16:29] local.INFO: Processing buffer {"connection_id":142801,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:16:29] local.INFO: IMEI packet received {"connection_id":142801,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 11:16:29] local.INFO: IMEI acknowledgment sent {"connection_id":142801,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 11:16:34] local.INFO: TCP Data received {"connection_id":142801,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142801,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:16:34] local.INFO: Processing buffer {"connection_id":142801,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:16:34] local.INFO: IMEI packet received {"connection_id":142801,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 11:16:34] local.INFO: IMEI acknowledgment sent {"connection_id":142801,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:16:36] local.INFO: TCP Data received {"connection_id":142801,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa21aa4f8012d17c30007212fa8003d002426..."} 
[2026-07-27 11:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa21aa4f8012d17c30007212fa8003d002426..."} 
[2026-07-27 11:16:36] local.INFO: Processing buffer {"connection_id":142801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa21aa4f8012d17c30007212fa8003d002426..."} 
[2026-07-27 11:16:36] local.INFO: Packet analysis {"connection_id":142801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa21a"} 
[2026-07-27 11:16:36] local.INFO: Extracted packet for processing {"connection_id":142801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa21a"} 
[2026-07-27 11:16:36] local.INFO: GPS Element Parsed {"raw_longitude":756531968,"raw_latitude":119615400,"longitude_deg":75.6531968,"latitude_deg":11.96154,"altitude":61,"angle":36,"satellites":38,"speed":43,"hex_longitude":"2d17c300","hex_latitude":"07212fa8","is_valid_coordinates":true} 
[2026-07-27 11:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:16:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993555456001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:16:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8819268665737216,"note":"Value kept but may cause issues"} 
[2026-07-27 11:16:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1706442076928483328,"note":"Value kept but may cause issues"} 
[2026-07-27 11:16:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:16:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785131083000,"timestamp_ms":1785131083000,"timestamp_seconds":1785131083,"priority":1,"record_length":96,"hex_timestamp":"0000019fa21aa4f8"} 
[2026-07-27 11:16:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:16:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 11:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-27 11:16:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6973168011,"note":"Value kept but may cause issues"} 
[2026-07-27 11:16:36] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503734151086080,"note":"Value kept but may cause issues"} 
[2026-07-27 11:16:36] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2719592160,"note":"Value kept but may cause issues"} 
[2026-07-27 11:16:36] local.WARNING: Large IO value detected {"io_id":32,"raw_value":3080716336,"note":"Value kept but may cause issues"} 
[2026-07-27 11:16:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883532494,"corrected_to":0} 
[2026-07-27 11:16:36] local.WARNING: Large IO value detected {"io_id":34,"raw_value":2147950751,"note":"Value kept but may cause issues"} 
[2026-07-27 11:16:36] local.WARNING: Large IO value detected {"io_id":54,"raw_value":2483080679,"note":"Value kept but may cause issues"} 
[2026-07-27 11:16:36] local.WARNING: Large IO value detected {"io_id":184,"raw_value":84749179448402024,"note":"Value kept but may cause issues"} 
[2026-07-27 11:16:36] local.WARNING: Large IO value detected {"io_id":224,"raw_value":11822121491638784,"note":"Value kept but may cause issues"} 
[2026-07-27 11:16:36] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,122,28,24,241,158,16,84,159,102,45,128,3,61,39,10,66,63,234,57,37,83,1,240,196,162,32,4,113,205,41,210,34,192,38,239,54,2,31,7,44,42,206,184,224],"length":529,"final_offset":659,"validated_count":45,"validation_warnings":[{"io_id":205,"original":3883532494,"validated":0}]} 
[2026-07-27 11:16:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323509681556946944,"timestamp_seconds":4323509681556947.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 11:16:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:16:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:16:36] local.INFO: Teltonika packet parsed successfully {"connection_id":142801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:16:36] local.INFO: Passing IMEI to GPS processor {"connection_id":142801,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:16:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":142801,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:16:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 11:16:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 11:16:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 11:16:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993555456001,"66":14298,"122":206,"28":31744,"24":43,"16":8819268665737216,"45":1706442076928483328},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-07-27 11:16:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 11:16:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 11:16:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993555456001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:16:36] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-27 11:16:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 11:16:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8819268665737216,"km_value":8819268665737.217,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:16:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1706442076928483328,"description":"Unknown IO ID 45"} 
[2026-07-27 11:16:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993555456001,"power":14298,"unknown_122":206,"unknown_28":31744,"ignition":43,"odometer":null,"unknown_45":1706442076928483328}} 
[2026-07-27 11:16:36] local.INFO: DEBUG: GPS processor result {"connection_id":142801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552783,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:16:36] local.INFO: GPS data processed {"connection_id":142801,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:16:36] local.INFO: Acknowledgment sent {"connection_id":142801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:16:37] local.INFO: TCP Data received {"connection_id":143923,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:16:37] local.INFO: Processing buffer {"connection_id":143923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:16:37] local.INFO: IMEI packet received {"connection_id":143923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 11:16:37] local.INFO: IMEI acknowledgment sent {"connection_id":143923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 11:16:42] local.INFO: TCP Data received {"connection_id":143923,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:16:42] local.INFO: Processing buffer {"connection_id":143923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:16:42] local.INFO: IMEI packet received {"connection_id":143923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 11:16:42] local.INFO: IMEI acknowledgment sent {"connection_id":143923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:16:43] local.INFO: TCP Data received {"connection_id":143923,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019fa21797b8012d7fa5c005afdf80000b001428..."} 
[2026-07-27 11:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa21797b8012d7fa5c005afdf80000b001428..."} 
[2026-07-27 11:16:43] local.INFO: Processing buffer {"connection_id":143923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa21797b8012d7fa5c005afdf80000b001428..."} 
[2026-07-27 11:16:43] local.INFO: Packet analysis {"connection_id":143923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa217"} 
[2026-07-27 11:16:43] local.INFO: Extracted packet for processing {"connection_id":143923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa217"} 
[2026-07-27 11:16:43] local.INFO: GPS Element Parsed {"raw_longitude":763340224,"raw_latitude":95412096,"longitude_deg":76.3340224,"latitude_deg":9.5412096,"altitude":11,"angle":20,"satellites":40,"speed":0,"hex_longitude":"2d7fa5c0","hex_latitude":"05afdf80","is_valid_coordinates":true} 
[2026-07-27 11:16:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:16:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993428992001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:16:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826891035017216,"note":"Value kept but may cause issues"} 
[2026-07-27 11:16:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197968944632135680,"note":"Value kept but may cause issues"} 
[2026-07-27 11:16:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:16:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785130883000,"timestamp_ms":1785130883000,"timestamp_seconds":1785130883,"priority":1,"record_length":96,"hex_timestamp":"0000019fa21797b8"} 
[2026-07-27 11:16:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:16:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 11:16:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-27 11:16:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:16:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:16:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:16:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:16:43] local.INFO: Teltonika packet parsed successfully {"connection_id":143923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:16:43] local.INFO: Passing IMEI to GPS processor {"connection_id":143923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:16:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":143923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:16: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-07-27 11:16:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 11:16:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 11:16:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993428992001,"66":25495,"28":206,"85":12544,"24":0,"16":358826891035017216,"45":9197968944632135680},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-07-27 11:16:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 11:16:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 11:16:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993428992001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:16:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-27 11:16:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 11:16:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826891035017216,"km_value":358826891035017.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:16:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197968944632135680,"description":"Unknown IO ID 45"} 
[2026-07-27 11:16:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993428992001,"power":25495,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197968944632135680}} 
[2026-07-27 11:16:43] local.INFO: DEBUG: GPS processor result {"connection_id":143923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:16:43] local.INFO: GPS data processed {"connection_id":143923,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:16:43] local.INFO: Acknowledgment sent {"connection_id":143923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:16:48] local.INFO: TCP Data received {"connection_id":143923,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019fa21797b8012d7fa5c005afdf80000b001428..."} 
[2026-07-27 11:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa21797b8012d7fa5c005afdf80000b001428..."} 
[2026-07-27 11:16:48] local.INFO: Processing buffer {"connection_id":143923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa21797b8012d7fa5c005afdf80000b001428..."} 
[2026-07-27 11:16:48] local.INFO: Packet analysis {"connection_id":143923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa217"} 
[2026-07-27 11:16:48] local.INFO: Extracted packet for processing {"connection_id":143923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa217"} 
[2026-07-27 11:16:48] local.INFO: GPS Element Parsed {"raw_longitude":763340224,"raw_latitude":95412096,"longitude_deg":76.3340224,"latitude_deg":9.5412096,"altitude":11,"angle":20,"satellites":40,"speed":0,"hex_longitude":"2d7fa5c0","hex_latitude":"05afdf80","is_valid_coordinates":true} 
[2026-07-27 11:16:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:16:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993428992001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:16:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826891035017216,"note":"Value kept but may cause issues"} 
[2026-07-27 11:16:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197968944632135680,"note":"Value kept but may cause issues"} 
[2026-07-27 11:16:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:16:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785130883000,"timestamp_ms":1785130883000,"timestamp_seconds":1785130883,"priority":1,"record_length":96,"hex_timestamp":"0000019fa21797b8"} 
[2026-07-27 11:16:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:16:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 11:16:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-27 11:16:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:16:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:16:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:16:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:16:48] local.INFO: Teltonika packet parsed successfully {"connection_id":143923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:16:48] local.INFO: Passing IMEI to GPS processor {"connection_id":143923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:16:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":143923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:16:48] 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-07-27 11:16:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 11:16:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 11:16:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993428992001,"66":25495,"28":206,"85":12544,"24":0,"16":358826891035017216,"45":9197968944632135680},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-07-27 11:16:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 11:16:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 11:16:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993428992001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:16:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-27 11:16:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 11:16:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826891035017216,"km_value":358826891035017.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:16:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197968944632135680,"description":"Unknown IO ID 45"} 
[2026-07-27 11:16:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993428992001,"power":25495,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197968944632135680}} 
[2026-07-27 11:16:48] local.INFO: DEBUG: GPS processor result {"connection_id":143923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:16:48] local.INFO: GPS data processed {"connection_id":143923,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:16:48] local.INFO: Acknowledgment sent {"connection_id":143923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:17:07] local.INFO: TCP Data received {"connection_id":142801,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa21ac820012d17d68007214ed00041002025..."} 
[2026-07-27 11:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa21ac820012d17d68007214ed00041002025..."} 
[2026-07-27 11:17:07] local.INFO: Processing buffer {"connection_id":142801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa21ac820012d17d68007214ed00041002025..."} 
[2026-07-27 11:17:07] local.INFO: Packet analysis {"connection_id":142801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa21a"} 
[2026-07-27 11:17:07] local.INFO: Extracted packet for processing {"connection_id":142801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa21a"} 
[2026-07-27 11:17:07] local.INFO: GPS Element Parsed {"raw_longitude":756536960,"raw_latitude":119623376,"longitude_deg":75.653696,"latitude_deg":11.9623376,"altitude":65,"angle":32,"satellites":37,"speed":36,"hex_longitude":"2d17d680","hex_latitude":"07214ed0","is_valid_coordinates":true} 
[2026-07-27 11:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:17:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993557248001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:17:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8819719637303296,"note":"Value kept but may cause issues"} 
[2026-07-27 11:17:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1712212313952462848,"note":"Value kept but may cause issues"} 
[2026-07-27 11:17:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:17:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785131092000,"timestamp_ms":1785131092000,"timestamp_seconds":1785131092,"priority":1,"record_length":96,"hex_timestamp":"0000019fa21ac820"} 
[2026-07-27 11:17:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:17:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 11:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-07-27 11:17:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:17:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:17:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:17:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:17:07] local.INFO: Teltonika packet parsed successfully {"connection_id":142801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:17:07] local.INFO: Passing IMEI to GPS processor {"connection_id":142801,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:17:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":142801,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:17:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 11:17:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 11:17:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 11:17:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993557248001,"66":13928,"122":206,"28":31744,"24":36,"16":8819719637303296,"45":1712212313952462848},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-07-27 11:17:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 11:17:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 11:17:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993557248001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:17:07] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-27 11:17:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 11:17:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8819719637303296,"km_value":8819719637303.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:17:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1712212313952462848,"description":"Unknown IO ID 45"} 
[2026-07-27 11:17:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993557248001,"power":13928,"unknown_122":206,"unknown_28":31744,"ignition":36,"odometer":null,"unknown_45":1712212313952462848}} 
[2026-07-27 11:17:07] local.INFO: DEBUG: GPS processor result {"connection_id":142801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552786,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:17:07] local.INFO: GPS data processed {"connection_id":142801,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:17:07] local.INFO: Acknowledgment sent {"connection_id":142801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:17:29] local.INFO: TCP Data received {"connection_id":143924,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143924,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:17:29] local.INFO: Processing buffer {"connection_id":143924,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:17:29] local.INFO: IMEI packet received {"connection_id":143924,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 11:17:29] local.INFO: IMEI acknowledgment sent {"connection_id":143924,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 11:17:34] local.INFO: TCP Data received {"connection_id":143924,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143924,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:17:34] local.INFO: Processing buffer {"connection_id":143924,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:17:34] local.INFO: IMEI packet received {"connection_id":143924,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 11:17:34] local.INFO: IMEI acknowledgment sent {"connection_id":143924,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:17:36] local.INFO: TCP Data received {"connection_id":143924,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa21af318012d17e88007216e480046002125..."} 
[2026-07-27 11:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143924,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa21af318012d17e88007216e480046002125..."} 
[2026-07-27 11:17:36] local.INFO: Processing buffer {"connection_id":143924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa21af318012d17e88007216e480046002125..."} 
[2026-07-27 11:17:36] local.INFO: Packet analysis {"connection_id":143924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa21a"} 
[2026-07-27 11:17:36] local.INFO: Extracted packet for processing {"connection_id":143924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa21a"} 
[2026-07-27 11:17:36] local.INFO: GPS Element Parsed {"raw_longitude":756541568,"raw_latitude":119631432,"longitude_deg":75.6541568,"latitude_deg":11.9631432,"altitude":70,"angle":33,"satellites":37,"speed":31,"hex_longitude":"2d17e880","hex_latitude":"07216e48","is_valid_coordinates":true} 
[2026-07-27 11:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:17:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993559552001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:17:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8820170608869376,"note":"Value kept but may cause issues"} 
[2026-07-27 11:17:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1717701076000362496,"note":"Value kept but may cause issues"} 
[2026-07-27 11:17:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:17:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785131103000,"timestamp_ms":1785131103000,"timestamp_seconds":1785131103,"priority":1,"record_length":96,"hex_timestamp":"0000019fa21af318"} 
[2026-07-27 11:17:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:17:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 11:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-07-27 11:17:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:17:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:17:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:17:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:17:36] local.INFO: Teltonika packet parsed successfully {"connection_id":143924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:17:36] local.INFO: Passing IMEI to GPS processor {"connection_id":143924,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:17:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":143924,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:17:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 11:17:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 11:17:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 11:17:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993559552001,"66":13048,"120":206,"28":31744,"24":31,"16":8820170608869376,"45":1717701076000362496},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 11:17:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 11:17:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 11:17:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993559552001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:17:36] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 11:17:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 11:17:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8820170608869376,"km_value":8820170608869.377,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:17:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1717701076000362496,"description":"Unknown IO ID 45"} 
[2026-07-27 11:17:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993559552001,"power":13048,"unknown_120":206,"unknown_28":31744,"ignition":31,"odometer":null,"unknown_45":1717701076000362496}} 
[2026-07-27 11:17:36] local.INFO: DEBUG: GPS processor result {"connection_id":143924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552787,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:17:36] local.INFO: GPS data processed {"connection_id":143924,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:17:36] local.INFO: Acknowledgment sent {"connection_id":143924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:17:37] local.INFO: TCP Data received {"connection_id":142929,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:17:37] local.INFO: Processing buffer {"connection_id":142929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:17:37] local.INFO: IMEI packet received {"connection_id":142929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 11:17:37] local.INFO: IMEI acknowledgment sent {"connection_id":142929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 11:17:42] local.INFO: TCP Data received {"connection_id":142929,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:17:42] local.INFO: Processing buffer {"connection_id":142929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:17:42] local.INFO: IMEI packet received {"connection_id":142929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 11:17:42] local.INFO: IMEI acknowledgment sent {"connection_id":142929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:17:43] local.INFO: TCP Data received {"connection_id":142929,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa21c2f80012d7fa5c005afdf80000b00142a..."} 
[2026-07-27 11:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142929,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa21c2f80012d7fa5c005afdf80000b00142a..."} 
[2026-07-27 11:17:43] local.INFO: Processing buffer {"connection_id":142929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa21c2f80012d7fa5c005afdf80000b00142a..."} 
[2026-07-27 11:17:43] local.INFO: Packet analysis {"connection_id":142929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa21c"} 
[2026-07-27 11:17:43] local.INFO: Extracted packet for processing {"connection_id":142929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa21c"} 
[2026-07-27 11:17:43] local.INFO: GPS Element Parsed {"raw_longitude":763340224,"raw_latitude":95412096,"longitude_deg":76.3340224,"latitude_deg":9.5412096,"altitude":11,"angle":20,"satellites":42,"speed":0,"hex_longitude":"2d7fa5c0","hex_latitude":"05afdf80","is_valid_coordinates":true} 
[2026-07-27 11:17:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:17:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993506048001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:17:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826891035017216,"note":"Value kept but may cause issues"} 
[2026-07-27 11:17:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197968944632135680,"note":"Value kept but may cause issues"} 
[2026-07-27 11:17:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:17:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785131184000,"timestamp_ms":1785131184000,"timestamp_seconds":1785131184,"priority":1,"record_length":96,"hex_timestamp":"0000019fa21c2f80"} 
[2026-07-27 11:17:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:17:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 11: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":151,"data_length":795,"current_offset":136} 
[2026-07-27 11:17:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:17:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:17:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:17:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:17:43] local.INFO: Teltonika packet parsed successfully {"connection_id":142929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:17:43] local.INFO: Passing IMEI to GPS processor {"connection_id":142929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:17:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":142929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11: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-07-27 11:17:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 11:17:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 11:17:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993506048001,"66":25495,"249":206,"85":12544,"24":0,"16":358826891035017216,"45":9197968944632135680},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-07-27 11:17:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 11:17:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 11:17:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993506048001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:17:43] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-07-27 11:17:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 11:17:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826891035017216,"km_value":358826891035017.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:17:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197968944632135680,"description":"Unknown IO ID 45"} 
[2026-07-27 11:17:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993506048001,"power":25495,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197968944632135680}} 
[2026-07-27 11:17:43] local.INFO: DEBUG: GPS processor result {"connection_id":142929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:17:43] local.INFO: GPS data processed {"connection_id":142929,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:17:43] local.INFO: Acknowledgment sent {"connection_id":142929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:17:48] local.INFO: TCP Data received {"connection_id":142929,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa21c2f80012d7fa5c005afdf80000b00142a..."} 
[2026-07-27 11:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142929,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa21c2f80012d7fa5c005afdf80000b00142a..."} 
[2026-07-27 11:17:48] local.INFO: Processing buffer {"connection_id":142929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa21c2f80012d7fa5c005afdf80000b00142a..."} 
[2026-07-27 11:17:48] local.INFO: Packet analysis {"connection_id":142929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa21c"} 
[2026-07-27 11:17:48] local.INFO: Extracted packet for processing {"connection_id":142929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa21c"} 
[2026-07-27 11:17:48] local.INFO: GPS Element Parsed {"raw_longitude":763340224,"raw_latitude":95412096,"longitude_deg":76.3340224,"latitude_deg":9.5412096,"altitude":11,"angle":20,"satellites":42,"speed":0,"hex_longitude":"2d7fa5c0","hex_latitude":"05afdf80","is_valid_coordinates":true} 
[2026-07-27 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-07-27 11:17:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993506048001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:17:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826891035017216,"note":"Value kept but may cause issues"} 
[2026-07-27 11:17:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197968944632135680,"note":"Value kept but may cause issues"} 
[2026-07-27 11:17:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:17:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785131184000,"timestamp_ms":1785131184000,"timestamp_seconds":1785131184,"priority":1,"record_length":96,"hex_timestamp":"0000019fa21c2f80"} 
[2026-07-27 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-07-27 11:17:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-27 11:17:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 11:17:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:17:48] local.INFO: Teltonika packet parsed successfully {"connection_id":142929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:17:48] local.INFO: Passing IMEI to GPS processor {"connection_id":142929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:17:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":142929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:17:48] 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-07-27 11:17:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 11:17:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 11:17:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993506048001,"66":25495,"249":206,"85":12544,"24":0,"16":358826891035017216,"45":9197968944632135680},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-07-27 11:17:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 11:17:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 11:17:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993506048001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:17:48] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-07-27 11:17:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 11:17:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826891035017216,"km_value":358826891035017.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:17:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197968944632135680,"description":"Unknown IO ID 45"} 
[2026-07-27 11:17:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993506048001,"power":25495,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197968944632135680}} 
[2026-07-27 11:17:48] local.INFO: DEBUG: GPS processor result {"connection_id":142929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:17:48] local.INFO: GPS data processed {"connection_id":142929,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:17:48] local.INFO: Acknowledgment sent {"connection_id":142929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:18:07] local.INFO: TCP Data received {"connection_id":143924,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa21b0a88012d17f48007217d680047002d27..."} 
[2026-07-27 11:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143924,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa21b0a88012d17f48007217d680047002d27..."} 
[2026-07-27 11:18:07] local.INFO: Processing buffer {"connection_id":143924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa21b0a88012d17f48007217d680047002d27..."} 
[2026-07-27 11:18:07] local.INFO: Packet analysis {"connection_id":143924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa21b"} 
[2026-07-27 11:18:07] local.INFO: Extracted packet for processing {"connection_id":143924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa21b"} 
[2026-07-27 11:18:07] local.INFO: GPS Element Parsed {"raw_longitude":756544640,"raw_latitude":119635304,"longitude_deg":75.654464,"latitude_deg":11.9635304,"altitude":71,"angle":45,"satellites":39,"speed":32,"hex_longitude":"2d17f480","hex_latitude":"07217d68","is_valid_coordinates":true} 
[2026-07-27 11:18:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:18:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993562368001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:18:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8820406832070656,"note":"Value kept but may cause issues"} 
[2026-07-27 11:18:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1722767625583216640,"note":"Value kept but may cause issues"} 
[2026-07-27 11:18:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:18:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785131109000,"timestamp_ms":1785131109000,"timestamp_seconds":1785131109,"priority":1,"record_length":96,"hex_timestamp":"0000019fa21b0a88"} 
[2026-07-27 11:18:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:18:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 11:18:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-27 11:18:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:18:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:18:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:18:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:18:07] local.INFO: Teltonika packet parsed successfully {"connection_id":143924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:18:07] local.INFO: Passing IMEI to GPS processor {"connection_id":143924,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:18:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":143924,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:18:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 11:18:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 11:18:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 11:18:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993562368001,"66":13015,"120":206,"28":31744,"24":32,"16":8820406832070656,"45":1722767625583216640},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 11:18:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 11:18:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 11:18:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993562368001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:18:07] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 11:18:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 11:18:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8820406832070656,"km_value":8820406832070.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:18:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1722767625583216640,"description":"Unknown IO ID 45"} 
[2026-07-27 11:18:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993562368001,"power":13015,"unknown_120":206,"unknown_28":31744,"ignition":32,"odometer":null,"unknown_45":1722767625583216640}} 
[2026-07-27 11:18:07] local.INFO: DEBUG: GPS processor result {"connection_id":143924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552790,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:18:07] local.INFO: GPS data processed {"connection_id":143924,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:18:07] local.INFO: Acknowledgment sent {"connection_id":143924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:18:32] local.INFO: TCP Data received {"connection_id":145223,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:18:32] local.INFO: Processing buffer {"connection_id":145223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:18:32] local.INFO: IMEI packet received {"connection_id":145223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 11:18:32] local.INFO: IMEI acknowledgment sent {"connection_id":145223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 11:18:35] local.INFO: TCP Data received {"connection_id":145224,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145224,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:18:35] local.INFO: Processing buffer {"connection_id":145224,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:18:35] local.INFO: IMEI packet received {"connection_id":145224,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 11:18:35] local.INFO: IMEI acknowledgment sent {"connection_id":145224,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 11:18:37] local.INFO: TCP Data received {"connection_id":145223,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:18:37] local.INFO: Processing buffer {"connection_id":145223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:18:37] local.INFO: IMEI packet received {"connection_id":145223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 11:18:37] local.INFO: IMEI acknowledgment sent {"connection_id":145223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:18:38] local.INFO: TCP Data received {"connection_id":145223,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019fa21c2f80012d7fa5c005afdf80000b00142a..."} 
[2026-07-27 11:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa21c2f80012d7fa5c005afdf80000b00142a..."} 
[2026-07-27 11:18:38] local.INFO: Processing buffer {"connection_id":145223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa21c2f80012d7fa5c005afdf80000b00142a..."} 
[2026-07-27 11:18:38] local.INFO: Packet analysis {"connection_id":145223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa21c"} 
[2026-07-27 11:18:38] local.INFO: Extracted packet for processing {"connection_id":145223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa21c"} 
[2026-07-27 11:18:38] local.INFO: GPS Element Parsed {"raw_longitude":763340224,"raw_latitude":95412096,"longitude_deg":76.3340224,"latitude_deg":9.5412096,"altitude":11,"angle":20,"satellites":42,"speed":0,"hex_longitude":"2d7fa5c0","hex_latitude":"05afdf80","is_valid_coordinates":true} 
[2026-07-27 11:18:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:18:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993506048001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:18:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826891035017216,"note":"Value kept but may cause issues"} 
[2026-07-27 11:18:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197968944632135680,"note":"Value kept but may cause issues"} 
[2026-07-27 11:18:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:18:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785131184000,"timestamp_ms":1785131184000,"timestamp_seconds":1785131184,"priority":1,"record_length":96,"hex_timestamp":"0000019fa21c2f80"} 
[2026-07-27 11:18:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:18:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 11:18:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-27 11:18:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:18:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:18:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:18:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:18:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:18:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:18:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:18:38] 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-07-27 11:18:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 11:18:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 11:18:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993506048001,"66":25495,"249":206,"85":12544,"24":0,"16":358826891035017216,"45":9197968944632135680},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-07-27 11:18:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 11:18:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 11:18:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993506048001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:18:38] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-07-27 11:18:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 11:18:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826891035017216,"km_value":358826891035017.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:18:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197968944632135680,"description":"Unknown IO ID 45"} 
[2026-07-27 11:18:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993506048001,"power":25495,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197968944632135680}} 
[2026-07-27 11:18:38] local.INFO: DEBUG: GPS processor result {"connection_id":145223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:18:38] local.INFO: GPS data processed {"connection_id":145223,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:18:38] local.INFO: Acknowledgment sent {"connection_id":145223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:18:39] local.INFO: TCP Data received {"connection_id":145224,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145224,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:18:39] local.INFO: Processing buffer {"connection_id":145224,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:18:39] local.INFO: IMEI packet received {"connection_id":145224,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 11:18:39] local.INFO: IMEI acknowledgment sent {"connection_id":145224,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:18:41] local.INFO: TCP Data received {"connection_id":145224,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa21b3580012d180f40072195a0004a002527..."} 
[2026-07-27 11:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145224,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa21b3580012d180f40072195a0004a002527..."} 
[2026-07-27 11:18:41] local.INFO: Processing buffer {"connection_id":145224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa21b3580012d180f40072195a0004a002527..."} 
[2026-07-27 11:18:41] local.INFO: Packet analysis {"connection_id":145224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa21b"} 
[2026-07-27 11:18:41] local.INFO: Extracted packet for processing {"connection_id":145224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa21b"} 
[2026-07-27 11:18:41] local.INFO: GPS Element Parsed {"raw_longitude":756551488,"raw_latitude":119641504,"longitude_deg":75.6551488,"latitude_deg":11.9641504,"altitude":74,"angle":37,"satellites":39,"speed":33,"hex_longitude":"2d180f40","hex_latitude":"072195a0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 11:18:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993563904001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:18:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8820853508669440,"note":"Value kept but may cause issues"} 
[2026-07-27 11:18:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1726145325304735744,"note":"Value kept but may cause issues"} 
[2026-07-27 11:18:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:18:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785131120000,"timestamp_ms":1785131120000,"timestamp_seconds":1785131120,"priority":1,"record_length":96,"hex_timestamp":"0000019fa21b3580"} 
[2026-07-27 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-07-27 11:18:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-27 11:18:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 11:18:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:18:41] local.INFO: Teltonika packet parsed successfully {"connection_id":145224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:18:41] local.INFO: Passing IMEI to GPS processor {"connection_id":145224,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:18:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":145224,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:18:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 11:18:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 11:18:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 11:18:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993563904001,"66":12939,"120":206,"28":31744,"24":33,"16":8820853508669440,"45":1726145325304735744},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 11:18:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 11:18:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 11:18:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993563904001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:18:41] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 11:18:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 11:18:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8820853508669440,"km_value":8820853508669.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:18:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1726145325304735744,"description":"Unknown IO ID 45"} 
[2026-07-27 11:18:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993563904001,"power":12939,"unknown_120":206,"unknown_28":31744,"ignition":33,"odometer":null,"unknown_45":1726145325304735744}} 
[2026-07-27 11:18:41] local.INFO: DEBUG: GPS processor result {"connection_id":145224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552792,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:18:41] local.INFO: GPS data processed {"connection_id":145224,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:18:41] local.INFO: Acknowledgment sent {"connection_id":145224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:18:45] local.INFO: TCP Data received {"connection_id":145224,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa21b4520012d18150007219ec80049001726..."} 
[2026-07-27 11:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145224,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa21b4520012d18150007219ec80049001726..."} 
[2026-07-27 11:18:45] local.INFO: Processing buffer {"connection_id":145224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa21b4520012d18150007219ec80049001726..."} 
[2026-07-27 11:18:45] local.INFO: Packet analysis {"connection_id":145224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa21b"} 
[2026-07-27 11:18:45] local.INFO: Extracted packet for processing {"connection_id":145224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa21b"} 
[2026-07-27 11:18:45] local.INFO: GPS Element Parsed {"raw_longitude":756552960,"raw_latitude":119643848,"longitude_deg":75.655296,"latitude_deg":11.9643848,"altitude":73,"angle":23,"satellites":38,"speed":17,"hex_longitude":"2d181500","hex_latitude":"07219ec8","is_valid_coordinates":true} 
[2026-07-27 11: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-07-27 11:18:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993566720001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:18:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8820986652655616,"note":"Value kept but may cause issues"} 
[2026-07-27 11:18:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733674780933332992,"note":"Value kept but may cause issues"} 
[2026-07-27 11:18: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-07-27 11:18:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785131124000,"timestamp_ms":1785131124000,"timestamp_seconds":1785131124,"priority":1,"record_length":96,"hex_timestamp":"0000019fa21b4520"} 
[2026-07-27 11:18:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:18:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 11: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-27 11:18:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11: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-07-27 11:18:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:18:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:18:45] local.INFO: Teltonika packet parsed successfully {"connection_id":145224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:18:45] local.INFO: Passing IMEI to GPS processor {"connection_id":145224,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:18:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":145224,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:18:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 11:18:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 11:18:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 11:18:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993566720001,"66":12863,"120":206,"28":31744,"24":17,"16":8820986652655616,"45":1733674780933332992},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 11:18:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 11:18:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 11:18:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993566720001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:18:45] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 11:18:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 11:18:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8820986652655616,"km_value":8820986652655.615,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:18:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733674780933332992,"description":"Unknown IO ID 45"} 
[2026-07-27 11:18:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993566720001,"power":12863,"unknown_120":206,"unknown_28":31744,"ignition":17,"odometer":null,"unknown_45":1733674780933332992}} 
[2026-07-27 11:18:45] local.INFO: DEBUG: GPS processor result {"connection_id":145224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552793,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:18:45] local.INFO: GPS data processed {"connection_id":145224,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:18:45] local.INFO: Acknowledgment sent {"connection_id":145224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:19:09] local.INFO: TCP Data received {"connection_id":145223,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019fa21c2f80012d7fa5c005afdf80000b00142a..."} 
[2026-07-27 11:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa21c2f80012d7fa5c005afdf80000b00142a..."} 
[2026-07-27 11:19:09] local.INFO: Processing buffer {"connection_id":145223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa21c2f80012d7fa5c005afdf80000b00142a..."} 
[2026-07-27 11:19:09] local.INFO: Packet analysis {"connection_id":145223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa21c"} 
[2026-07-27 11:19:09] local.INFO: Extracted packet for processing {"connection_id":145223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa21c"} 
[2026-07-27 11:19:09] local.INFO: GPS Element Parsed {"raw_longitude":763340224,"raw_latitude":95412096,"longitude_deg":76.3340224,"latitude_deg":9.5412096,"altitude":11,"angle":20,"satellites":42,"speed":0,"hex_longitude":"2d7fa5c0","hex_latitude":"05afdf80","is_valid_coordinates":true} 
[2026-07-27 11:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:19:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993506048001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:19:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826891035017216,"note":"Value kept but may cause issues"} 
[2026-07-27 11:19:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197968944632135680,"note":"Value kept but may cause issues"} 
[2026-07-27 11:19:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:19:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785131184000,"timestamp_ms":1785131184000,"timestamp_seconds":1785131184,"priority":1,"record_length":96,"hex_timestamp":"0000019fa21c2f80"} 
[2026-07-27 11:19:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:19:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 11:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-27 11:19:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:19:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:19:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:19:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:19:09] local.INFO: Teltonika packet parsed successfully {"connection_id":145223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:19:09] local.INFO: Passing IMEI to GPS processor {"connection_id":145223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:19:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":145223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:19: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-07-27 11:19:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 11:19:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 11:19:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993506048001,"66":25495,"249":206,"85":12544,"24":0,"16":358826891035017216,"45":9197968944632135680},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-07-27 11:19:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 11:19:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 11:19:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993506048001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:19:09] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-07-27 11:19:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 11:19:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826891035017216,"km_value":358826891035017.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:19:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197968944632135680,"description":"Unknown IO ID 45"} 
[2026-07-27 11:19:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993506048001,"power":25495,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197968944632135680}} 
[2026-07-27 11:19:09] local.INFO: DEBUG: GPS processor result {"connection_id":145223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:19:09] local.INFO: GPS data processed {"connection_id":145223,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:19:09] local.INFO: Acknowledgment sent {"connection_id":145223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:19:32] local.INFO: TCP Data received {"connection_id":142802,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142802,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:19:32] local.INFO: Processing buffer {"connection_id":142802,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:19:32] local.INFO: IMEI packet received {"connection_id":142802,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 11:19:32] local.INFO: IMEI acknowledgment sent {"connection_id":142802,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 11:19:32] local.INFO: TCP Data received {"connection_id":142803,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142803,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:19:32] local.INFO: Processing buffer {"connection_id":142803,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:19:32] local.INFO: IMEI packet received {"connection_id":142803,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 11:19:32] local.INFO: IMEI acknowledgment sent {"connection_id":142803,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 11:19:33] local.INFO: TCP Data received {"connection_id":142802,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142802,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:19:33] local.INFO: Processing buffer {"connection_id":142802,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:19:33] local.INFO: IMEI packet received {"connection_id":142802,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 11:19:33] local.INFO: IMEI acknowledgment sent {"connection_id":142802,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:19:34] local.INFO: TCP Data received {"connection_id":142802,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa21b4908012d1815400721a0100049000b26..."} 
[2026-07-27 11:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa21b4908012d1815400721a0100049000b26..."} 
[2026-07-27 11:19:34] local.INFO: Processing buffer {"connection_id":142802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa21b4908012d1815400721a0100049000b26..."} 
[2026-07-27 11:19:34] local.INFO: Packet analysis {"connection_id":142802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa21b"} 
[2026-07-27 11:19:34] local.INFO: Extracted packet for processing {"connection_id":142802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa21b"} 
[2026-07-27 11:19:34] local.INFO: GPS Element Parsed {"raw_longitude":756553024,"raw_latitude":119644176,"longitude_deg":75.6553024,"latitude_deg":11.9644176,"altitude":73,"angle":11,"satellites":38,"speed":11,"hex_longitude":"2d181540","hex_latitude":"0721a010","is_valid_coordinates":true} 
[2026-07-27 11:19:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:19:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993567744001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:19:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8820999537557504,"note":"Value kept but may cause issues"} 
[2026-07-27 11:19:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735293262050019328,"note":"Value kept but may cause issues"} 
[2026-07-27 11:19:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:19:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785131125000,"timestamp_ms":1785131125000,"timestamp_seconds":1785131125,"priority":1,"record_length":96,"hex_timestamp":"0000019fa21b4908"} 
[2026-07-27 11:19:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:19:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 11:19:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-27 11:19:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:19:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:19:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:19:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:19:34] local.INFO: Teltonika packet parsed successfully {"connection_id":142802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:19:34] local.INFO: Passing IMEI to GPS processor {"connection_id":142802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:19:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":142802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:19:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 11:19:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 11:19:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 11:19:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993567744001,"66":12211,"120":206,"28":31744,"24":11,"16":8820999537557504,"45":1735293262050019328},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 11:19:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 11:19:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 11:19:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993567744001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:19:34] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 11:19:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 11:19:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8820999537557504,"km_value":8820999537557.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:19:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735293262050019328,"description":"Unknown IO ID 45"} 
[2026-07-27 11:19:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993567744001,"power":12211,"unknown_120":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1735293262050019328}} 
[2026-07-27 11:19:34] local.INFO: DEBUG: GPS processor result {"connection_id":142802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552795,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:19:34] local.INFO: GPS data processed {"connection_id":142802,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:19:34] local.INFO: Acknowledgment sent {"connection_id":142802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:19:35] local.INFO: TCP Data received {"connection_id":142802,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa21b9b10012d1816800721a1e8004b000d26..."} 
[2026-07-27 11:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa21b9b10012d1816800721a1e8004b000d26..."} 
[2026-07-27 11:19:35] local.INFO: Processing buffer {"connection_id":142802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa21b9b10012d1816800721a1e8004b000d26..."} 
[2026-07-27 11:19:35] local.INFO: Packet analysis {"connection_id":142802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa21b"} 
[2026-07-27 11:19:35] local.INFO: Extracted packet for processing {"connection_id":142802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa21b"} 
[2026-07-27 11:19:35] local.INFO: GPS Element Parsed {"raw_longitude":756553344,"raw_latitude":119644648,"longitude_deg":75.6553344,"latitude_deg":11.9644648,"altitude":75,"angle":13,"satellites":38,"speed":0,"hex_longitude":"2d181680","hex_latitude":"0721a1e8","is_valid_coordinates":true} 
[2026-07-27 11:19:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:19:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993568000001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:19:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8821038192263168,"note":"Value kept but may cause issues"} 
[2026-07-27 11:19:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735363630794280960,"note":"Value kept but may cause issues"} 
[2026-07-27 11:19:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:19:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785131146000,"timestamp_ms":1785131146000,"timestamp_seconds":1785131146,"priority":1,"record_length":96,"hex_timestamp":"0000019fa21b9b10"} 
[2026-07-27 11:19:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:19:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 11:19:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-27 11:19:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:19:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:19:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:19:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:19:35] local.INFO: Teltonika packet parsed successfully {"connection_id":142802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:19:35] local.INFO: Passing IMEI to GPS processor {"connection_id":142802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:19:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":142802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:19:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 11:19:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 11:19:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 11:19:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993568000001,"66":12548,"120":206,"28":31744,"24":0,"16":8821038192263168,"45":1735363630794280960},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 11:19:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 11:19:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 11:19:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993568000001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:19:35] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 11:19:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 11:19:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8821038192263168,"km_value":8821038192263.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:19:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735363630794280960,"description":"Unknown IO ID 45"} 
[2026-07-27 11:19:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993568000001,"power":12548,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1735363630794280960}} 
[2026-07-27 11:19:35] local.INFO: DEBUG: GPS processor result {"connection_id":142802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552796,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:19:35] local.INFO: GPS data processed {"connection_id":142802,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:19:35] local.INFO: Acknowledgment sent {"connection_id":142802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:19:36] local.INFO: TCP Data received {"connection_id":143925,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 11:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143925,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 11:19:36] local.INFO: Processing buffer {"connection_id":143925,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 11:19:36] local.INFO: IMEI packet received {"connection_id":143925,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 11:19:36] local.INFO: IMEI acknowledgment sent {"connection_id":143925,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 11:19:37] local.INFO: TCP Data received {"connection_id":142803,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142803,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:19:37] local.INFO: Processing buffer {"connection_id":142803,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:19:37] local.INFO: IMEI packet received {"connection_id":142803,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 11:19:37] local.INFO: IMEI acknowledgment sent {"connection_id":142803,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:19:38] local.INFO: TCP Data received {"connection_id":142803,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019fa21c2f80012d7fa5c005afdf80000b00142a..."} 
[2026-07-27 11:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa21c2f80012d7fa5c005afdf80000b00142a..."} 
[2026-07-27 11:19:38] local.INFO: Processing buffer {"connection_id":142803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa21c2f80012d7fa5c005afdf80000b00142a..."} 
[2026-07-27 11:19:38] local.INFO: Packet analysis {"connection_id":142803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa21c"} 
[2026-07-27 11:19:38] local.INFO: Extracted packet for processing {"connection_id":142803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa21c"} 
[2026-07-27 11:19:38] local.INFO: GPS Element Parsed {"raw_longitude":763340224,"raw_latitude":95412096,"longitude_deg":76.3340224,"latitude_deg":9.5412096,"altitude":11,"angle":20,"satellites":42,"speed":0,"hex_longitude":"2d7fa5c0","hex_latitude":"05afdf80","is_valid_coordinates":true} 
[2026-07-27 11:19:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:19:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993506048001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:19:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826891035017216,"note":"Value kept but may cause issues"} 
[2026-07-27 11:19:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197968944632135680,"note":"Value kept but may cause issues"} 
[2026-07-27 11:19:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:19:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785131184000,"timestamp_ms":1785131184000,"timestamp_seconds":1785131184,"priority":1,"record_length":96,"hex_timestamp":"0000019fa21c2f80"} 
[2026-07-27 11:19:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:19:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 11:19:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-27 11:19:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:19:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:19:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:19:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:19:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:19:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:19:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:19:38] 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-07-27 11:19:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 11:19:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 11:19:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993506048001,"66":25495,"249":206,"85":12544,"24":0,"16":358826891035017216,"45":9197968944632135680},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-07-27 11:19:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 11:19:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 11:19:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993506048001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:19:38] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-07-27 11:19:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 11:19:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826891035017216,"km_value":358826891035017.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:19:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197968944632135680,"description":"Unknown IO ID 45"} 
[2026-07-27 11:19:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993506048001,"power":25495,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197968944632135680}} 
[2026-07-27 11:19:38] local.INFO: DEBUG: GPS processor result {"connection_id":142803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:19:38] local.INFO: GPS data processed {"connection_id":142803,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:19:38] local.INFO: Acknowledgment sent {"connection_id":142803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:20:06] local.INFO: TCP Data received {"connection_id":142802,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa21bed18012d1816800721a1e8004b000d27..."} 
[2026-07-27 11:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa21bed18012d1816800721a1e8004b000d27..."} 
[2026-07-27 11:20:06] local.INFO: Processing buffer {"connection_id":142802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa21bed18012d1816800721a1e8004b000d27..."} 
[2026-07-27 11:20:06] local.INFO: Packet analysis {"connection_id":142802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa21b"} 
[2026-07-27 11:20:06] local.INFO: Extracted packet for processing {"connection_id":142802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa21b"} 
[2026-07-27 11:20:06] local.INFO: GPS Element Parsed {"raw_longitude":756553344,"raw_latitude":119644648,"longitude_deg":75.6553344,"latitude_deg":11.9644648,"altitude":75,"angle":13,"satellites":39,"speed":0,"hex_longitude":"2d181680","hex_latitude":"0721a1e8","is_valid_coordinates":true} 
[2026-07-27 11:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993573376001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:20:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8821038192263168,"note":"Value kept but may cause issues"} 
[2026-07-27 11:20:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735715474515290112,"note":"Value kept but may cause issues"} 
[2026-07-27 11:20:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:20:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785131167000,"timestamp_ms":1785131167000,"timestamp_seconds":1785131167,"priority":1,"record_length":96,"hex_timestamp":"0000019fa21bed18"} 
[2026-07-27 11:20:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:20:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 11:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-27 11:20:06] local.WARNING: Large IO value detected {"io_id":86,"raw_value":2231369728,"note":"Value kept but may cause issues"} 
[2026-07-27 11:20:06] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2719664160,"note":"Value kept but may cause issues"} 
[2026-07-27 11:20:06] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184287469773,"note":"Value kept but may cause issues"} 
[2026-07-27 11:20:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-07-27 11:20:06] local.WARNING: Large IO value detected {"io_id":232,"raw_value":2147950958,"note":"Value kept but may cause issues"} 
[2026-07-27 11:20:06] local.WARNING: Large IO value detected {"io_id":50,"raw_value":4160802279,"note":"Value kept but may cause issues"} 
[2026-07-27 11:20:06] local.WARNING: Large IO value detected {"io_id":36,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-07-27 11:20:06] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8791253094361995264,"note":"Value kept but may cause issues"} 
[2026-07-27 11:20:06] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,120,28,24,241,158,16,86,159,73,45,64,160,38,10,66,69,53,1,240,139,162,33,4,113,205,32,243,232,72,37,239,50,2,31,7,65,36,231],"length":485,"final_offset":615,"validated_count":39,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-07-27 11:20:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404334009704513536,"timestamp_seconds":5404334009704514.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 11:20:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:20:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:20:06] local.INFO: Teltonika packet parsed successfully {"connection_id":142802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:20:06] local.INFO: Passing IMEI to GPS processor {"connection_id":142802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:20:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":142802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:20:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 11:20:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 11:20:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 11:20:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993573376001,"66":12363,"120":206,"28":31744,"24":0,"16":8821038192263168,"45":1735715474515290112},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 11:20:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 11:20:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 11:20:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993573376001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:20:06] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 11:20:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 11:20:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8821038192263168,"km_value":8821038192263.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:20:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735715474515290112,"description":"Unknown IO ID 45"} 
[2026-07-27 11:20:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993573376001,"power":12363,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1735715474515290112}} 
[2026-07-27 11:20:06] local.INFO: DEBUG: GPS processor result {"connection_id":142802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552798,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:20:06] local.INFO: GPS data processed {"connection_id":142802,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:20:06] local.INFO: Acknowledgment sent {"connection_id":142802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:20:09] local.INFO: TCP Data received {"connection_id":142803,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019fa21c2f80012d7fa5c005afdf80000b00142a..."} 
[2026-07-27 11:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa21c2f80012d7fa5c005afdf80000b00142a..."} 
[2026-07-27 11:20:09] local.INFO: Processing buffer {"connection_id":142803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa21c2f80012d7fa5c005afdf80000b00142a..."} 
[2026-07-27 11:20:09] local.INFO: Packet analysis {"connection_id":142803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa21c"} 
[2026-07-27 11:20:09] local.INFO: Extracted packet for processing {"connection_id":142803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa21c"} 
[2026-07-27 11:20:09] local.INFO: GPS Element Parsed {"raw_longitude":763340224,"raw_latitude":95412096,"longitude_deg":76.3340224,"latitude_deg":9.5412096,"altitude":11,"angle":20,"satellites":42,"speed":0,"hex_longitude":"2d7fa5c0","hex_latitude":"05afdf80","is_valid_coordinates":true} 
[2026-07-27 11:20:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:20:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993506048001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:20:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826891035017216,"note":"Value kept but may cause issues"} 
[2026-07-27 11:20:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197968944632135680,"note":"Value kept but may cause issues"} 
[2026-07-27 11:20:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:20:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785131184000,"timestamp_ms":1785131184000,"timestamp_seconds":1785131184,"priority":1,"record_length":96,"hex_timestamp":"0000019fa21c2f80"} 
[2026-07-27 11:20:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:20:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":151,"data_length":795,"current_offset":136} 
[2026-07-27 11:20:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:20:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:20:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:20:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:20:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:20:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:20:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 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-07-27 11:20:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 11:20:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 11:20:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993506048001,"66":25495,"249":206,"85":12544,"24":0,"16":358826891035017216,"45":9197968944632135680},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-07-27 11:20:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 11:20:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 11:20:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993506048001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:20:09] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-07-27 11:20:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 11:20:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826891035017216,"km_value":358826891035017.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:20:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197968944632135680,"description":"Unknown IO ID 45"} 
[2026-07-27 11:20:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993506048001,"power":25495,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197968944632135680}} 
[2026-07-27 11:20:09] local.INFO: DEBUG: GPS processor result {"connection_id":142803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:20:09] local.INFO: GPS data processed {"connection_id":142803,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:20:09] local.INFO: Acknowledgment sent {"connection_id":142803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:20:27] local.INFO: TCP Data received {"connection_id":145225,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145225,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:20:27] local.INFO: Processing buffer {"connection_id":145225,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:20:27] local.INFO: IMEI packet received {"connection_id":145225,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 11:20:27] local.INFO: IMEI acknowledgment sent {"connection_id":145225,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 11:20:30] local.INFO: TCP Data received {"connection_id":145225,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145225,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:20:30] local.INFO: Processing buffer {"connection_id":145225,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:20:30] local.INFO: IMEI packet received {"connection_id":145225,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 11:20:30] local.INFO: IMEI acknowledgment sent {"connection_id":145225,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:20:32] local.INFO: TCP Data received {"connection_id":145226,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:20:32] local.INFO: Processing buffer {"connection_id":145226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:20:32] local.INFO: IMEI packet received {"connection_id":145226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 11:20:32] local.INFO: IMEI acknowledgment sent {"connection_id":145226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 11:20:34] local.INFO: TCP Data received {"connection_id":145225,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145225,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:20:34] local.INFO: Processing buffer {"connection_id":145225,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:20:34] local.INFO: IMEI packet received {"connection_id":145225,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 11:20:34] local.INFO: IMEI acknowledgment sent {"connection_id":145225,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:20:35] local.INFO: TCP Data received {"connection_id":145225,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa21c3f20012d1816800721a1e8004b000d28..."} 
[2026-07-27 11:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa21c3f20012d1816800721a1e8004b000d28..."} 
[2026-07-27 11:20:35] local.INFO: Processing buffer {"connection_id":145225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa21c3f20012d1816800721a1e8004b000d28..."} 
[2026-07-27 11:20:35] local.INFO: Packet analysis {"connection_id":145225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa21c"} 
[2026-07-27 11:20:35] local.INFO: Extracted packet for processing {"connection_id":145225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa21c"} 
[2026-07-27 11:20:35] local.INFO: GPS Element Parsed {"raw_longitude":756553344,"raw_latitude":119644648,"longitude_deg":75.6553344,"latitude_deg":11.9644648,"altitude":75,"angle":13,"satellites":40,"speed":0,"hex_longitude":"2d181680","hex_latitude":"0721a1e8","is_valid_coordinates":true} 
[2026-07-27 11:20:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:20:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993578752001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:20:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8821038192263168,"note":"Value kept but may cause issues"} 
[2026-07-27 11:20:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735715474515290112,"note":"Value kept but may cause issues"} 
[2026-07-27 11:20:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:20:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785131188000,"timestamp_ms":1785131188000,"timestamp_seconds":1785131188,"priority":1,"record_length":96,"hex_timestamp":"0000019fa21c3f20"} 
[2026-07-27 11:20:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:20:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 11:20:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-27 11:20:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:20:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:20:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:20:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:20:35] local.INFO: Teltonika packet parsed successfully {"connection_id":145225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:20:35] local.INFO: Passing IMEI to GPS processor {"connection_id":145225,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:20:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":145225,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:20:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 11:20:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 11:20:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 11:20:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993578752001,"66":12287,"120":206,"28":31744,"24":0,"16":8821038192263168,"45":1735715474515290112},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 11:20:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 11:20:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 11:20:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993578752001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:20:35] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 11:20:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 11:20:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8821038192263168,"km_value":8821038192263.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:20:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735715474515290112,"description":"Unknown IO ID 45"} 
[2026-07-27 11:20:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993578752001,"power":12287,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1735715474515290112}} 
[2026-07-27 11:20:35] local.INFO: DEBUG: GPS processor result {"connection_id":145225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552800,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:20:35] local.INFO: GPS data processed {"connection_id":145225,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:20:35] local.INFO: Acknowledgment sent {"connection_id":145225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:20:37] local.INFO: TCP Data received {"connection_id":145226,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:20:37] local.INFO: Processing buffer {"connection_id":145226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:20:37] local.INFO: IMEI packet received {"connection_id":145226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 11:20:37] local.INFO: IMEI acknowledgment sent {"connection_id":145226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:20:38] local.INFO: TCP Data received {"connection_id":145226,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019fa21c2f80012d7fa5c005afdf80000b00142a..."} 
[2026-07-27 11:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa21c2f80012d7fa5c005afdf80000b00142a..."} 
[2026-07-27 11:20:38] local.INFO: Processing buffer {"connection_id":145226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa21c2f80012d7fa5c005afdf80000b00142a..."} 
[2026-07-27 11:20:38] local.INFO: Packet analysis {"connection_id":145226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa21c"} 
[2026-07-27 11:20:38] local.INFO: Extracted packet for processing {"connection_id":145226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa21c"} 
[2026-07-27 11:20:38] local.INFO: GPS Element Parsed {"raw_longitude":763340224,"raw_latitude":95412096,"longitude_deg":76.3340224,"latitude_deg":9.5412096,"altitude":11,"angle":20,"satellites":42,"speed":0,"hex_longitude":"2d7fa5c0","hex_latitude":"05afdf80","is_valid_coordinates":true} 
[2026-07-27 11:20:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:20:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993506048001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:20:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826891035017216,"note":"Value kept but may cause issues"} 
[2026-07-27 11:20:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197968944632135680,"note":"Value kept but may cause issues"} 
[2026-07-27 11:20:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:20:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785131184000,"timestamp_ms":1785131184000,"timestamp_seconds":1785131184,"priority":1,"record_length":96,"hex_timestamp":"0000019fa21c2f80"} 
[2026-07-27 11:20:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:20:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 11:20:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-27 11:20:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:20:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:20:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:20:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:20:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:20:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:20:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:20:38] 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-07-27 11:20:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 11:20:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 11:20:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993506048001,"66":25495,"249":206,"85":12544,"24":0,"16":358826891035017216,"45":9197968944632135680},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-07-27 11:20:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 11:20:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 11:20:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993506048001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:20:38] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-07-27 11:20:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 11:20:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826891035017216,"km_value":358826891035017.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:20:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197968944632135680,"description":"Unknown IO ID 45"} 
[2026-07-27 11:20:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993506048001,"power":25495,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197968944632135680}} 
[2026-07-27 11:20:38] local.INFO: DEBUG: GPS processor result {"connection_id":145226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:20:38] local.INFO: GPS data processed {"connection_id":145226,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:20:38] local.INFO: Acknowledgment sent {"connection_id":145226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:21:06] local.INFO: TCP Data received {"connection_id":145225,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa21fd130012d1824c00721a148004f00a329..."} 
[2026-07-27 11:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa21fd130012d1824c00721a148004f00a329..."} 
[2026-07-27 11:21:06] local.INFO: Processing buffer {"connection_id":145225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa21fd130012d1824c00721a148004f00a329..."} 
[2026-07-27 11:21:06] local.INFO: Packet analysis {"connection_id":145225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa21f"} 
[2026-07-27 11:21:06] local.INFO: Extracted packet for processing {"connection_id":145225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa21f"} 
[2026-07-27 11:21:06] local.INFO: GPS Element Parsed {"raw_longitude":756556992,"raw_latitude":119644488,"longitude_deg":75.6556992,"latitude_deg":11.9644488,"altitude":79,"angle":163,"satellites":41,"speed":4,"hex_longitude":"2d1824c0","hex_latitude":"0721a148","is_valid_coordinates":true} 
[2026-07-27 11:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:21:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993643776001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:21:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8821291595333632,"note":"Value kept but may cause issues"} 
[2026-07-27 11:21:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124189224960,"note":"Value kept but may cause issues"} 
[2026-07-27 11:21:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:21:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785131422000,"timestamp_ms":1785131422000,"timestamp_seconds":1785131422,"priority":1,"record_length":96,"hex_timestamp":"0000019fa21fd130"} 
[2026-07-27 11:21:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:21:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 11:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-07-27 11:21:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:21:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:21:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:21:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:21:06] local.INFO: Teltonika packet parsed successfully {"connection_id":145225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:21:06] local.INFO: Passing IMEI to GPS processor {"connection_id":145225,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:21:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":145225,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:21:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 11:21:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 11:21:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 11:21:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993643776001,"66":14004,"120":206,"28":31744,"24":4,"16":8821291595333632,"45":1739656124189224960},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 11:21:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 11:21:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 11:21:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993643776001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:21:06] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 11:21:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 11:21:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8821291595333632,"km_value":8821291595333.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:21:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124189224960,"description":"Unknown IO ID 45"} 
[2026-07-27 11:21:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993643776001,"power":14004,"unknown_120":206,"unknown_28":31744,"ignition":4,"odometer":null,"unknown_45":1739656124189224960}} 
[2026-07-27 11:21:06] local.INFO: DEBUG: GPS processor result {"connection_id":145225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552802,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:21:06] local.INFO: GPS data processed {"connection_id":145225,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:21:06] local.INFO: Acknowledgment sent {"connection_id":145225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:21:14] local.INFO: TCP Data received {"connection_id":145226,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019fa21c2f80012d7fa5c005afdf80000b00142a..."} 
[2026-07-27 11:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa21c2f80012d7fa5c005afdf80000b00142a..."} 
[2026-07-27 11:21:14] local.INFO: Processing buffer {"connection_id":145226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa21c2f80012d7fa5c005afdf80000b00142a..."} 
[2026-07-27 11:21:14] local.INFO: Packet analysis {"connection_id":145226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa21c"} 
[2026-07-27 11:21:14] local.INFO: Extracted packet for processing {"connection_id":145226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa21c"} 
[2026-07-27 11:21:14] local.INFO: GPS Element Parsed {"raw_longitude":763340224,"raw_latitude":95412096,"longitude_deg":76.3340224,"latitude_deg":9.5412096,"altitude":11,"angle":20,"satellites":42,"speed":0,"hex_longitude":"2d7fa5c0","hex_latitude":"05afdf80","is_valid_coordinates":true} 
[2026-07-27 11:21:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:21:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993506048001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:21:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826891035017216,"note":"Value kept but may cause issues"} 
[2026-07-27 11:21:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197968944632135680,"note":"Value kept but may cause issues"} 
[2026-07-27 11:21:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:21:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785131184000,"timestamp_ms":1785131184000,"timestamp_seconds":1785131184,"priority":1,"record_length":96,"hex_timestamp":"0000019fa21c2f80"} 
[2026-07-27 11:21:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:21:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 11:21:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-27 11:21:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:21:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:21:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:21:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:21:14] local.INFO: Teltonika packet parsed successfully {"connection_id":145226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:21:14] local.INFO: Passing IMEI to GPS processor {"connection_id":145226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:21:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":145226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:21: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-07-27 11:21:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 11:21:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 11:21:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993506048001,"66":25495,"249":206,"85":12544,"24":0,"16":358826891035017216,"45":9197968944632135680},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-07-27 11:21:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 11:21:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 11:21:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993506048001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:21:14] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-07-27 11:21:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 11:21:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826891035017216,"km_value":358826891035017.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:21:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197968944632135680,"description":"Unknown IO ID 45"} 
[2026-07-27 11:21:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993506048001,"power":25495,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197968944632135680}} 
[2026-07-27 11:21:14] local.INFO: DEBUG: GPS processor result {"connection_id":145226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:21:14] local.INFO: GPS data processed {"connection_id":145226,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:21:14] local.INFO: Acknowledgment sent {"connection_id":145226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:21:30] local.INFO: TCP Data received {"connection_id":142930,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142930,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:21:30] local.INFO: Processing buffer {"connection_id":142930,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:21:30] local.INFO: IMEI packet received {"connection_id":142930,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 11:21:30] local.INFO: IMEI acknowledgment sent {"connection_id":142930,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 11:21:35] local.INFO: TCP Data received {"connection_id":142930,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142930,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:21:35] local.INFO: Processing buffer {"connection_id":142930,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:21:35] local.INFO: IMEI packet received {"connection_id":142930,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 11:21:35] local.INFO: IMEI acknowledgment sent {"connection_id":142930,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:21:36] local.INFO: TCP Data received {"connection_id":142930,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa21fd518012d1824c00721a118004f007628..."} 
[2026-07-27 11:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142930,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa21fd518012d1824c00721a118004f007628..."} 
[2026-07-27 11:21:36] local.INFO: Processing buffer {"connection_id":142930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa21fd518012d1824c00721a118004f007628..."} 
[2026-07-27 11:21:36] local.INFO: Packet analysis {"connection_id":142930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa21f"} 
[2026-07-27 11:21:36] local.INFO: Extracted packet for processing {"connection_id":142930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa21f"} 
[2026-07-27 11:21:36] local.INFO: GPS Element Parsed {"raw_longitude":756556992,"raw_latitude":119644440,"longitude_deg":75.6556992,"latitude_deg":11.964444,"altitude":79,"angle":118,"satellites":40,"speed":3,"hex_longitude":"2d1824c0","hex_latitude":"0721a118","is_valid_coordinates":true} 
[2026-07-27 11:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:21:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993644032001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:21:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8821295890300928,"note":"Value kept but may cause issues"} 
[2026-07-27 11:21:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739726492933376000,"note":"Value kept but may cause issues"} 
[2026-07-27 11:21:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:21:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785131423000,"timestamp_ms":1785131423000,"timestamp_seconds":1785131423,"priority":1,"record_length":96,"hex_timestamp":"0000019fa21fd518"} 
[2026-07-27 11:21:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:21:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 11:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-07-27 11:21:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:21:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:21:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:21:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:21:36] local.INFO: Teltonika packet parsed successfully {"connection_id":142930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:21:36] local.INFO: Passing IMEI to GPS processor {"connection_id":142930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:21:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":142930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:21:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 11:21:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 11:21:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 11:21:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993644032001,"66":13906,"120":206,"28":31744,"24":3,"16":8821295890300928,"45":1739726492933376000},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 11:21:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 11:21:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 11:21:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993644032001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:21:36] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 11:21:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 11:21:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8821295890300928,"km_value":8821295890300.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:21:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739726492933376000,"description":"Unknown IO ID 45"} 
[2026-07-27 11:21:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993644032001,"power":13906,"unknown_120":206,"unknown_28":31744,"ignition":3,"odometer":null,"unknown_45":1739726492933376000}} 
[2026-07-27 11:21:36] local.INFO: DEBUG: GPS processor result {"connection_id":142930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552804,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:21:36] local.INFO: GPS data processed {"connection_id":142930,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:21:36] local.INFO: Acknowledgment sent {"connection_id":142930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:21:40] local.INFO: TCP Data received {"connection_id":142931,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:21:40] local.INFO: Processing buffer {"connection_id":142931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:21:40] local.INFO: IMEI packet received {"connection_id":142931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 11:21:40] local.INFO: IMEI acknowledgment sent {"connection_id":142931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 11:21:44] local.INFO: TCP Data received {"connection_id":142931,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:21:44] local.INFO: Processing buffer {"connection_id":142931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:21:44] local.INFO: IMEI packet received {"connection_id":142931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 11:21:44] local.INFO: IMEI acknowledgment sent {"connection_id":142931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:21:47] local.INFO: TCP Data received {"connection_id":142931,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:21:47] local.INFO: Processing buffer {"connection_id":142931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:21:47] local.INFO: IMEI packet received {"connection_id":142931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 11:21:47] local.INFO: IMEI acknowledgment sent {"connection_id":142931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:22:01] local.INFO: TCP Data received {"connection_id":142931,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019fa21c2f80012d7fa5c005afdf80000b00142a..."} 
[2026-07-27 11:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa21c2f80012d7fa5c005afdf80000b00142a..."} 
[2026-07-27 11:22:01] local.INFO: Processing buffer {"connection_id":142931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa21c2f80012d7fa5c005afdf80000b00142a..."} 
[2026-07-27 11:22:01] local.INFO: Packet analysis {"connection_id":142931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa21c"} 
[2026-07-27 11:22:01] local.INFO: Extracted packet for processing {"connection_id":142931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa21c"} 
[2026-07-27 11:22:01] local.INFO: GPS Element Parsed {"raw_longitude":763340224,"raw_latitude":95412096,"longitude_deg":76.3340224,"latitude_deg":9.5412096,"altitude":11,"angle":20,"satellites":42,"speed":0,"hex_longitude":"2d7fa5c0","hex_latitude":"05afdf80","is_valid_coordinates":true} 
[2026-07-27 11:22:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:22:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993506048001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:22:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826891035017216,"note":"Value kept but may cause issues"} 
[2026-07-27 11:22:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197968944632135680,"note":"Value kept but may cause issues"} 
[2026-07-27 11:22:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:22:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785131184000,"timestamp_ms":1785131184000,"timestamp_seconds":1785131184,"priority":1,"record_length":96,"hex_timestamp":"0000019fa21c2f80"} 
[2026-07-27 11:22:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:22:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 11:22:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-27 11:22:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:22:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:22:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:22:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:22:01] local.INFO: Teltonika packet parsed successfully {"connection_id":142931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:22:01] local.INFO: Passing IMEI to GPS processor {"connection_id":142931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:22:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":142931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:22:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 11:22:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 11:22:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 11:22:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993506048001,"66":25495,"249":206,"85":12544,"24":0,"16":358826891035017216,"45":9197968944632135680},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-07-27 11:22:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 11:22:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 11:22:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993506048001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:22:01] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-07-27 11:22:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 11:22:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826891035017216,"km_value":358826891035017.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:22:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197968944632135680,"description":"Unknown IO ID 45"} 
[2026-07-27 11:22:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993506048001,"power":25495,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197968944632135680}} 
[2026-07-27 11:22:01] local.INFO: DEBUG: GPS processor result {"connection_id":142931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:22:01] local.INFO: GPS data processed {"connection_id":142931,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:22:01] local.INFO: Acknowledgment sent {"connection_id":142931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:22:03] local.INFO: TCP Data received {"connection_id":142931,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019fa21c2f80012d7fa5c005afdf80000b00142a..."} 
[2026-07-27 11:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa21c2f80012d7fa5c005afdf80000b00142a..."} 
[2026-07-27 11:22:03] local.INFO: Processing buffer {"connection_id":142931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa21c2f80012d7fa5c005afdf80000b00142a..."} 
[2026-07-27 11:22:03] local.INFO: Packet analysis {"connection_id":142931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa21c"} 
[2026-07-27 11:22:03] local.INFO: Extracted packet for processing {"connection_id":142931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa21c"} 
[2026-07-27 11:22:03] local.INFO: GPS Element Parsed {"raw_longitude":763340224,"raw_latitude":95412096,"longitude_deg":76.3340224,"latitude_deg":9.5412096,"altitude":11,"angle":20,"satellites":42,"speed":0,"hex_longitude":"2d7fa5c0","hex_latitude":"05afdf80","is_valid_coordinates":true} 
[2026-07-27 11:22:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:22:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993506048001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:22:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826891035017216,"note":"Value kept but may cause issues"} 
[2026-07-27 11:22:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197968944632135680,"note":"Value kept but may cause issues"} 
[2026-07-27 11:22:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:22:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785131184000,"timestamp_ms":1785131184000,"timestamp_seconds":1785131184,"priority":1,"record_length":96,"hex_timestamp":"0000019fa21c2f80"} 
[2026-07-27 11:22:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:22:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 11:22:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-27 11:22:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:22:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:22:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:22:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:22:03] local.INFO: Teltonika packet parsed successfully {"connection_id":142931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:22:03] local.INFO: Passing IMEI to GPS processor {"connection_id":142931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:22:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":142931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:22:03] 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-07-27 11:22:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 11:22:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 11:22:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993506048001,"66":25495,"249":206,"85":12544,"24":0,"16":358826891035017216,"45":9197968944632135680},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-07-27 11:22:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 11:22:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 11:22:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993506048001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:22:03] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-07-27 11:22:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 11:22:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826891035017216,"km_value":358826891035017.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:22:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197968944632135680,"description":"Unknown IO ID 45"} 
[2026-07-27 11:22:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993506048001,"power":25495,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197968944632135680}} 
[2026-07-27 11:22:03] local.INFO: DEBUG: GPS processor result {"connection_id":142931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:22:03] local.INFO: GPS data processed {"connection_id":142931,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:22:03] local.INFO: Acknowledgment sent {"connection_id":142931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:22:07] local.INFO: TCP Data received {"connection_id":142930,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa21fd900012d1825000721a0e8004f008129..."} 
[2026-07-27 11:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142930,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa21fd900012d1825000721a0e8004f008129..."} 
[2026-07-27 11:22:07] local.INFO: Processing buffer {"connection_id":142930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa21fd900012d1825000721a0e8004f008129..."} 
[2026-07-27 11:22:07] local.INFO: Packet analysis {"connection_id":142930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa21f"} 
[2026-07-27 11:22:07] local.INFO: Extracted packet for processing {"connection_id":142930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa21f"} 
[2026-07-27 11:22:07] local.INFO: GPS Element Parsed {"raw_longitude":756557056,"raw_latitude":119644392,"longitude_deg":75.6557056,"latitude_deg":11.9644392,"altitude":79,"angle":129,"satellites":41,"speed":3,"hex_longitude":"2d182500","hex_latitude":"0721a0e8","is_valid_coordinates":true} 
[2026-07-27 11:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:22:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993644288001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:22:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8821300185268224,"note":"Value kept but may cause issues"} 
[2026-07-27 11:22:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739726492933363712,"note":"Value kept but may cause issues"} 
[2026-07-27 11:22:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:22:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785131424000,"timestamp_ms":1785131424000,"timestamp_seconds":1785131424,"priority":1,"record_length":96,"hex_timestamp":"0000019fa21fd900"} 
[2026-07-27 11:22:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:22:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 11:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-07-27 11:22:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:22:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:22:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:22:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:22:07] local.INFO: Teltonika packet parsed successfully {"connection_id":142930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:22:07] local.INFO: Passing IMEI to GPS processor {"connection_id":142930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:22:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":142930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:22:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 11:22:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 11:22:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 11:22:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993644288001,"66":13906,"120":206,"28":31744,"24":3,"16":8821300185268224,"45":1739726492933363712},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 11:22:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 11:22:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 11:22:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993644288001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:22:07] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 11:22:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 11:22:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8821300185268224,"km_value":8821300185268.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:22:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739726492933363712,"description":"Unknown IO ID 45"} 
[2026-07-27 11:22:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993644288001,"power":13906,"unknown_120":206,"unknown_28":31744,"ignition":3,"odometer":null,"unknown_45":1739726492933363712}} 
[2026-07-27 11:22:07] local.INFO: DEBUG: GPS processor result {"connection_id":142930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552807,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:22:07] local.INFO: GPS data processed {"connection_id":142930,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:22:07] local.INFO: Acknowledgment sent {"connection_id":142930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:22:29] local.INFO: TCP Data received {"connection_id":142804,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142804,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:22:29] local.INFO: Processing buffer {"connection_id":142804,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:22:29] local.INFO: IMEI packet received {"connection_id":142804,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 11:22:29] local.INFO: IMEI acknowledgment sent {"connection_id":142804,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 11:22:34] local.INFO: TCP Data received {"connection_id":142804,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142804,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:22:34] local.INFO: Processing buffer {"connection_id":142804,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:22:34] local.INFO: IMEI packet received {"connection_id":142804,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 11:22:34] local.INFO: IMEI acknowledgment sent {"connection_id":142804,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:22:36] local.INFO: TCP Data received {"connection_id":142804,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2202b08012d18260007219fc0004f008820..."} 
[2026-07-27 11:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2202b08012d18260007219fc0004f008820..."} 
[2026-07-27 11:22:36] local.INFO: Processing buffer {"connection_id":142804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2202b08012d18260007219fc0004f008820..."} 
[2026-07-27 11:22:36] local.INFO: Packet analysis {"connection_id":142804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa220"} 
[2026-07-27 11:22:36] local.INFO: Extracted packet for processing {"connection_id":142804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa220"} 
[2026-07-27 11:22:36] local.INFO: GPS Element Parsed {"raw_longitude":756557312,"raw_latitude":119644096,"longitude_deg":75.6557312,"latitude_deg":11.9644096,"altitude":79,"angle":136,"satellites":32,"speed":0,"hex_longitude":"2d182600","hex_latitude":"07219fc0","is_valid_coordinates":true} 
[2026-07-27 11:22:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:22:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993644544001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:22:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8821317365137408,"note":"Value kept but may cause issues"} 
[2026-07-27 11:22:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739796861677529088,"note":"Value kept but may cause issues"} 
[2026-07-27 11:22:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:22:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785131445000,"timestamp_ms":1785131445000,"timestamp_seconds":1785131445,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2202b08"} 
[2026-07-27 11:22:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:22:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 11:22:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-07-27 11:22:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:22:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:22:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:22:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:22:36] local.INFO: Teltonika packet parsed successfully {"connection_id":142804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:22:36] local.INFO: Passing IMEI to GPS processor {"connection_id":142804,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:22:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":142804,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:22:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 11:22:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 11:22:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 11:22:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993644544001,"66":13993,"120":206,"28":31744,"24":0,"16":8821317365137408,"45":1739796861677529088},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 11:22:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 11:22:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 11:22:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993644544001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:22:36] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 11:22:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 11:22:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8821317365137408,"km_value":8821317365137.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:22:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739796861677529088,"description":"Unknown IO ID 45"} 
[2026-07-27 11:22:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993644544001,"power":13993,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739796861677529088}} 
[2026-07-27 11:22:36] local.INFO: DEBUG: GPS processor result {"connection_id":142804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552808,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:22:36] local.INFO: GPS data processed {"connection_id":142804,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:22:36] local.INFO: Acknowledgment sent {"connection_id":142804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:22:42] local.INFO: TCP Data received {"connection_id":143926,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:22:42] local.INFO: Processing buffer {"connection_id":143926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:22:42] local.INFO: IMEI packet received {"connection_id":143926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 11:22:42] local.INFO: IMEI acknowledgment sent {"connection_id":143926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 11:22:51] local.INFO: TCP Data received {"connection_id":143926,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:22:51] local.INFO: Processing buffer {"connection_id":143926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:22:51] local.INFO: IMEI packet received {"connection_id":143926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 11:22:51] local.INFO: IMEI acknowledgment sent {"connection_id":143926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:22:52] local.INFO: TCP Data received {"connection_id":143926,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fa220c748012d7fa5c005afdf80000800142b..."} 
[2026-07-27 11:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa220c748012d7fa5c005afdf80000800142b..."} 
[2026-07-27 11:22:52] local.INFO: Processing buffer {"connection_id":143926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa220c748012d7fa5c005afdf80000800142b..."} 
[2026-07-27 11:22:52] local.INFO: Packet analysis {"connection_id":143926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa220"} 
[2026-07-27 11:22:52] local.INFO: Extracted packet for processing {"connection_id":143926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa220"} 
[2026-07-27 11:22:52] local.INFO: GPS Element Parsed {"raw_longitude":763340224,"raw_latitude":95412096,"longitude_deg":76.3340224,"latitude_deg":9.5412096,"altitude":8,"angle":20,"satellites":43,"speed":0,"hex_longitude":"2d7fa5c0","hex_latitude":"05afdf80","is_valid_coordinates":true} 
[2026-07-27 11:22:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:22:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993583104001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:22:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826891035017216,"note":"Value kept but may cause issues"} 
[2026-07-27 11:22:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197968944632135680,"note":"Value kept but may cause issues"} 
[2026-07-27 11:22:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:22:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785131485000,"timestamp_ms":1785131485000,"timestamp_seconds":1785131485,"priority":1,"record_length":96,"hex_timestamp":"0000019fa220c748"} 
[2026-07-27 11:22:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:22:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 11:22:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-27 11:22:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:22:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:22:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:22:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:22:52] local.INFO: Teltonika packet parsed successfully {"connection_id":143926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:22:52] local.INFO: Passing IMEI to GPS processor {"connection_id":143926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:22:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":143926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:22:52] 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-07-27 11:22:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 11:22:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 11:22:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993583104001,"66":25397,"27":206,"85":12544,"24":0,"16":358826891035017216,"45":9197968944632135680},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 11:22:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 11:22:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 11:22:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993583104001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:22:52] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 11:22:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 11:22:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826891035017216,"km_value":358826891035017.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:22:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197968944632135680,"description":"Unknown IO ID 45"} 
[2026-07-27 11:22:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993583104001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197968944632135680}} 
[2026-07-27 11:22:52] local.INFO: DEBUG: GPS processor result {"connection_id":143926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:22:52] local.INFO: GPS data processed {"connection_id":143926,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:22:52] local.INFO: Acknowledgment sent {"connection_id":143926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:23:07] local.INFO: TCP Data received {"connection_id":142804,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2207d10012d18260007219fc0004f008823..."} 
[2026-07-27 11:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2207d10012d18260007219fc0004f008823..."} 
[2026-07-27 11:23:07] local.INFO: Processing buffer {"connection_id":142804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2207d10012d18260007219fc0004f008823..."} 
[2026-07-27 11:23:07] local.INFO: Packet analysis {"connection_id":142804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa220"} 
[2026-07-27 11:23:07] local.INFO: Extracted packet for processing {"connection_id":142804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa220"} 
[2026-07-27 11:23:07] local.INFO: GPS Element Parsed {"raw_longitude":756557312,"raw_latitude":119644096,"longitude_deg":75.6557312,"latitude_deg":11.9644096,"altitude":79,"angle":136,"satellites":35,"speed":0,"hex_longitude":"2d182600","hex_latitude":"07219fc0","is_valid_coordinates":true} 
[2026-07-27 11:23:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:23:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993649920001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:23:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8821317365137408,"note":"Value kept but may cause issues"} 
[2026-07-27 11:23:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740078336654163968,"note":"Value kept but may cause issues"} 
[2026-07-27 11:23:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:23:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785131466000,"timestamp_ms":1785131466000,"timestamp_seconds":1785131466,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2207d10"} 
[2026-07-27 11:23:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:23:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 11:23:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-27 11:23:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:23:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:23:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:23:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:23:07] local.INFO: Teltonika packet parsed successfully {"connection_id":142804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:23:07] local.INFO: Passing IMEI to GPS processor {"connection_id":142804,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:23:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":142804,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:23:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 11:23:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 11:23:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 11:23:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993649920001,"66":14080,"120":206,"28":31744,"24":0,"16":8821317365137408,"45":1740078336654163968},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 11:23:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 11:23:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 11:23:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993649920001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:23:07] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 11:23:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 11:23:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8821317365137408,"km_value":8821317365137.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:23:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740078336654163968,"description":"Unknown IO ID 45"} 
[2026-07-27 11:23:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993649920001,"power":14080,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740078336654163968}} 
[2026-07-27 11:23:07] local.INFO: DEBUG: GPS processor result {"connection_id":142804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552810,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:23:07] local.INFO: GPS data processed {"connection_id":142804,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:23:07] local.INFO: Acknowledgment sent {"connection_id":142804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:23:29] local.INFO: TCP Data received {"connection_id":142805,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142805,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:23:29] local.INFO: Processing buffer {"connection_id":142805,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:23:29] local.INFO: IMEI packet received {"connection_id":142805,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 11:23:29] local.INFO: IMEI acknowledgment sent {"connection_id":142805,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 11:23:29] local.INFO: TCP Data received {"connection_id":142805,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142805,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:23:29] local.INFO: Processing buffer {"connection_id":142805,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:23:29] local.INFO: IMEI packet received {"connection_id":142805,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 11:23:29] local.INFO: IMEI acknowledgment sent {"connection_id":142805,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:23:32] local.INFO: TCP Data received {"connection_id":142932,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:23:32] local.INFO: Processing buffer {"connection_id":142932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:23:32] local.INFO: IMEI packet received {"connection_id":142932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 11:23:32] local.INFO: IMEI acknowledgment sent {"connection_id":142932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 11:23:34] local.INFO: TCP Data received {"connection_id":142805,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142805,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:23:34] local.INFO: Processing buffer {"connection_id":142805,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:23:34] local.INFO: IMEI packet received {"connection_id":142805,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 11:23:34] local.INFO: IMEI acknowledgment sent {"connection_id":142805,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:23:36] local.INFO: TCP Data received {"connection_id":142805,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa220cf18012d18260007219fc0004f008825..."} 
[2026-07-27 11:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa220cf18012d18260007219fc0004f008825..."} 
[2026-07-27 11:23:36] local.INFO: Processing buffer {"connection_id":142805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa220cf18012d18260007219fc0004f008825..."} 
[2026-07-27 11:23:36] local.INFO: Packet analysis {"connection_id":142805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa220"} 
[2026-07-27 11:23:36] local.INFO: Extracted packet for processing {"connection_id":142805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa220"} 
[2026-07-27 11:23:36] local.INFO: GPS Element Parsed {"raw_longitude":756557312,"raw_latitude":119644096,"longitude_deg":75.6557312,"latitude_deg":11.9644096,"altitude":79,"angle":136,"satellites":37,"speed":0,"hex_longitude":"2d182600","hex_latitude":"07219fc0","is_valid_coordinates":true} 
[2026-07-27 11:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:23:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993655296001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:23:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8821317365137408,"note":"Value kept but may cause issues"} 
[2026-07-27 11:23:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740078336654163968,"note":"Value kept but may cause issues"} 
[2026-07-27 11:23:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:23:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785131487000,"timestamp_ms":1785131487000,"timestamp_seconds":1785131487,"priority":1,"record_length":96,"hex_timestamp":"0000019fa220cf18"} 
[2026-07-27 11:23:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:23:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 11:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-27 11:23:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3454498816,"note":"Value kept but may cause issues"} 
[2026-07-27 11:23:36] local.WARNING: Large IO value detected {"io_id":86,"raw_value":3959422976,"note":"Value kept but may cause issues"} 
[2026-07-27 11:23:36] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2719988160,"note":"Value kept but may cause issues"} 
[2026-07-27 11:23:36] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2705850447,"note":"Value kept but may cause issues"} 
[2026-07-27 11:23:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1208036632,"corrected_to":0} 
[2026-07-27 11:23:36] local.WARNING: Large IO value detected {"io_id":36,"raw_value":2147951009,"note":"Value kept but may cause issues"} 
[2026-07-27 11:23:36] local.WARNING: Large IO value detected {"io_id":54,"raw_value":3019951591,"note":"Value kept but may cause issues"} 
[2026-07-27 11:23:36] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,120,28,24,241,158,16,86,159,43,45,79,32,10,66,217,160,41,213,192,1,240,82,162,33,4,113,205,36,176,39,239,54,2,31,7,80],"length":479,"final_offset":609,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1208036632,"validated":0}]} 
[2026-07-27 11:23:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5692699612901539840,"timestamp_seconds":5692699612901540.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 11:23:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:23:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:23:36] local.INFO: Teltonika packet parsed successfully {"connection_id":142805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:23:36] local.INFO: Passing IMEI to GPS processor {"connection_id":142805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:23:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":142805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:23:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 11:23:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 11:23:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 11:23:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993655296001,"66":13580,"120":206,"28":31744,"24":0,"16":8821317365137408,"45":1740078336654163968},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 11:23:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 11:23:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 11:23:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993655296001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:23:36] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 11:23:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 11:23:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8821317365137408,"km_value":8821317365137.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:23:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740078336654163968,"description":"Unknown IO ID 45"} 
[2026-07-27 11:23:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993655296001,"power":13580,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740078336654163968}} 
[2026-07-27 11:23:36] local.INFO: DEBUG: GPS processor result {"connection_id":142805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552811,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:23:36] local.INFO: GPS data processed {"connection_id":142805,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:23:36] local.INFO: Acknowledgment sent {"connection_id":142805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:23:37] local.INFO: TCP Data received {"connection_id":142932,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:23:37] local.INFO: Processing buffer {"connection_id":142932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:23:37] local.INFO: IMEI packet received {"connection_id":142932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 11:23:37] local.INFO: IMEI acknowledgment sent {"connection_id":142932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:23:38] local.INFO: TCP Data received {"connection_id":142932,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa220c748012d7fa5c005afdf80000800142b..."} 
[2026-07-27 11:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142932,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa220c748012d7fa5c005afdf80000800142b..."} 
[2026-07-27 11:23:38] local.INFO: Processing buffer {"connection_id":142932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa220c748012d7fa5c005afdf80000800142b..."} 
[2026-07-27 11:23:38] local.INFO: Packet analysis {"connection_id":142932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa220"} 
[2026-07-27 11:23:38] local.INFO: Extracted packet for processing {"connection_id":142932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa220"} 
[2026-07-27 11:23:38] local.INFO: GPS Element Parsed {"raw_longitude":763340224,"raw_latitude":95412096,"longitude_deg":76.3340224,"latitude_deg":9.5412096,"altitude":8,"angle":20,"satellites":43,"speed":0,"hex_longitude":"2d7fa5c0","hex_latitude":"05afdf80","is_valid_coordinates":true} 
[2026-07-27 11:23:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:23:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993583104001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:23:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826891035017216,"note":"Value kept but may cause issues"} 
[2026-07-27 11:23:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197968944632135680,"note":"Value kept but may cause issues"} 
[2026-07-27 11:23:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:23:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785131485000,"timestamp_ms":1785131485000,"timestamp_seconds":1785131485,"priority":1,"record_length":96,"hex_timestamp":"0000019fa220c748"} 
[2026-07-27 11:23:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:23:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 11:23:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-27 11:23:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:23:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:23:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:23:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:23:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:23:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:23:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:23:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 11:23:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 11:23:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 11:23:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993583104001,"66":25397,"27":206,"85":12544,"24":0,"16":358826891035017216,"45":9197968944632135680},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 11:23:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 11:23:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 11:23:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993583104001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:23:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 11:23:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 11:23:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826891035017216,"km_value":358826891035017.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:23:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197968944632135680,"description":"Unknown IO ID 45"} 
[2026-07-27 11:23:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993583104001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197968944632135680}} 
[2026-07-27 11:23:38] local.INFO: DEBUG: GPS processor result {"connection_id":142932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:23:38] local.INFO: GPS data processed {"connection_id":142932,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:23:38] local.INFO: Acknowledgment sent {"connection_id":142932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:24:07] local.INFO: TCP Data received {"connection_id":142805,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2212120012d18260007219fc0004f008826..."} 
[2026-07-27 11:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2212120012d18260007219fc0004f008826..."} 
[2026-07-27 11:24:07] local.INFO: Processing buffer {"connection_id":142805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2212120012d18260007219fc0004f008826..."} 
[2026-07-27 11:24:07] local.INFO: Packet analysis {"connection_id":142805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa221"} 
[2026-07-27 11:24:07] local.INFO: Extracted packet for processing {"connection_id":142805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa221"} 
[2026-07-27 11:24:07] local.INFO: GPS Element Parsed {"raw_longitude":756557312,"raw_latitude":119644096,"longitude_deg":75.6557312,"latitude_deg":11.9644096,"altitude":79,"angle":136,"satellites":38,"speed":0,"hex_longitude":"2d182600","hex_latitude":"07219fc0","is_valid_coordinates":true} 
[2026-07-27 11:24:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:24:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993660672001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:24:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8821317365137408,"note":"Value kept but may cause issues"} 
[2026-07-27 11:24:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740078336654163968,"note":"Value kept but may cause issues"} 
[2026-07-27 11:24:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:24:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785131508000,"timestamp_ms":1785131508000,"timestamp_seconds":1785131508,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2212120"} 
[2026-07-27 11:24:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:24:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 11: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-07-27 11:24:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44499434867793750,"note":"Value kept but may cause issues"} 
[2026-07-27 11:24:07] local.WARNING: Large IO value detected {"io_id":24,"raw_value":2648124421937037392,"note":"Value kept but may cause issues"} 
[2026-07-27 11:24:07] local.WARNING: Large IO value detected {"io_id":86,"raw_value":3976200192,"note":"Value kept but may cause issues"} 
[2026-07-27 11:24:07] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2719993160,"note":"Value kept but may cause issues"} 
[2026-07-27 11:24:07] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-27 11:24:07] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2702704719,"note":"Value kept but may cause issues"} 
[2026-07-27 11:24:07] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18637495198410616,"note":"Value kept but may cause issues"} 
[2026-07-27 11:24:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-07-27 11:24:07] local.WARNING: Large IO value detected {"io_id":36,"raw_value":3221692833,"note":"Value kept but may cause issues"} 
[2026-07-27 11:24:07] local.WARNING: Large IO value detected {"io_id":54,"raw_value":7494216173978963484,"note":"Value kept but may cause issues"} 
[2026-07-27 11:24:07] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472039641104,"note":"Value kept but may cause issues"} 
[2026-07-27 11:24:07] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755403736154353,"note":"Value kept but may cause issues"} 
[2026-07-27 11:24:07] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,120,28,24,241,158,16,86,159,125,45,79,35,10,66,43,32,217,1,240,82,162,33,4,113,205,3,209,36,72,41,239,54,2,31,7,124],"length":577,"final_offset":707,"validated_count":37,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-07-27 11:24:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5692699621491474432,"timestamp_seconds":5692699621491474.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 11:24:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:24:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:24:07] local.INFO: Teltonika packet parsed successfully {"connection_id":142805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:24:07] local.INFO: Passing IMEI to GPS processor {"connection_id":142805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:24:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":142805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:24:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 11:24:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 11:24:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 11:24:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993660672001,"66":13993,"120":206,"28":31744,"24":0,"16":8821317365137408,"45":1740078336654163968},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 11:24:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 11:24:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 11:24:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993660672001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:24:07] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 11:24:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 11:24:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8821317365137408,"km_value":8821317365137.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:24:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740078336654163968,"description":"Unknown IO ID 45"} 
[2026-07-27 11:24:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993660672001,"power":13993,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740078336654163968}} 
[2026-07-27 11:24:07] local.INFO: DEBUG: GPS processor result {"connection_id":142805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552813,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:24:07] local.INFO: GPS data processed {"connection_id":142805,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:24:07] local.INFO: Acknowledgment sent {"connection_id":142805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:24:10] local.INFO: TCP Data received {"connection_id":142932,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa220c748012d7fa5c005afdf80000800142b..."} 
[2026-07-27 11:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142932,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa220c748012d7fa5c005afdf80000800142b..."} 
[2026-07-27 11:24:10] local.INFO: Processing buffer {"connection_id":142932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa220c748012d7fa5c005afdf80000800142b..."} 
[2026-07-27 11:24:10] local.INFO: Packet analysis {"connection_id":142932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa220"} 
[2026-07-27 11:24:10] local.INFO: Extracted packet for processing {"connection_id":142932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa220"} 
[2026-07-27 11:24:10] local.INFO: GPS Element Parsed {"raw_longitude":763340224,"raw_latitude":95412096,"longitude_deg":76.3340224,"latitude_deg":9.5412096,"altitude":8,"angle":20,"satellites":43,"speed":0,"hex_longitude":"2d7fa5c0","hex_latitude":"05afdf80","is_valid_coordinates":true} 
[2026-07-27 11:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:24:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993583104001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:24:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826891035017216,"note":"Value kept but may cause issues"} 
[2026-07-27 11:24:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197968944632135680,"note":"Value kept but may cause issues"} 
[2026-07-27 11:24:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:24:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785131485000,"timestamp_ms":1785131485000,"timestamp_seconds":1785131485,"priority":1,"record_length":96,"hex_timestamp":"0000019fa220c748"} 
[2026-07-27 11:24:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:24:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 11:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-27 11:24:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:24:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:24:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:24:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:24:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:24:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:24:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:24: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-07-27 11:24:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 11:24:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 11:24:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993583104001,"66":25397,"27":206,"85":12544,"24":0,"16":358826891035017216,"45":9197968944632135680},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 11:24:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 11:24:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 11:24:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993583104001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:24:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 11:24:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 11:24:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826891035017216,"km_value":358826891035017.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:24:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197968944632135680,"description":"Unknown IO ID 45"} 
[2026-07-27 11:24:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993583104001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197968944632135680}} 
[2026-07-27 11:24:10] local.INFO: DEBUG: GPS processor result {"connection_id":142932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:24:10] local.INFO: GPS data processed {"connection_id":142932,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:24:10] local.INFO: Acknowledgment sent {"connection_id":142932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:24:29] local.INFO: TCP Data received {"connection_id":142806,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142806,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:24:29] local.INFO: Processing buffer {"connection_id":142806,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:24:29] local.INFO: IMEI packet received {"connection_id":142806,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 11:24:29] local.INFO: IMEI acknowledgment sent {"connection_id":142806,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 11:24:35] local.INFO: TCP Data received {"connection_id":142806,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142806,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:24:35] local.INFO: Processing buffer {"connection_id":142806,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:24:35] local.INFO: IMEI packet received {"connection_id":142806,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 11:24:35] local.INFO: IMEI acknowledgment sent {"connection_id":142806,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:24:36] local.INFO: TCP Data received {"connection_id":142806,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2217328012d18260007219fc0004f008828..."} 
[2026-07-27 11:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2217328012d18260007219fc0004f008828..."} 
[2026-07-27 11:24:36] local.INFO: Processing buffer {"connection_id":142806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2217328012d18260007219fc0004f008828..."} 
[2026-07-27 11:24:36] local.INFO: Packet analysis {"connection_id":142806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa221"} 
[2026-07-27 11:24:36] local.INFO: Extracted packet for processing {"connection_id":142806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa221"} 
[2026-07-27 11:24:36] local.INFO: GPS Element Parsed {"raw_longitude":756557312,"raw_latitude":119644096,"longitude_deg":75.6557312,"latitude_deg":11.9644096,"altitude":79,"angle":136,"satellites":40,"speed":0,"hex_longitude":"2d182600","hex_latitude":"07219fc0","is_valid_coordinates":true} 
[2026-07-27 11:24:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:24:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993666048001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:24:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8821317365137408,"note":"Value kept but may cause issues"} 
[2026-07-27 11:24:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740078336654163968,"note":"Value kept but may cause issues"} 
[2026-07-27 11:24:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:24:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785131529000,"timestamp_ms":1785131529000,"timestamp_seconds":1785131529,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2217328"} 
[2026-07-27 11:24:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:24:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 11:24:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-27 11:24:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:24:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:24:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:24:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:24:36] local.INFO: Teltonika packet parsed successfully {"connection_id":142806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:24:36] local.INFO: Passing IMEI to GPS processor {"connection_id":142806,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:24:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":142806,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:24:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 11:24:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 11:24:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 11:24:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993666048001,"66":14341,"120":206,"28":31744,"24":0,"16":8821317365137408,"45":1740078336654163968},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 11:24:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 11:24:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 11:24:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993666048001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:24:36] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 11:24:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 11:24:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8821317365137408,"km_value":8821317365137.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:24:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740078336654163968,"description":"Unknown IO ID 45"} 
[2026-07-27 11:24:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993666048001,"power":14341,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740078336654163968}} 
[2026-07-27 11:24:36] local.INFO: DEBUG: GPS processor result {"connection_id":142806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552815,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:24:36] local.INFO: GPS data processed {"connection_id":142806,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:24:36] local.INFO: Acknowledgment sent {"connection_id":142806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:24:37] local.INFO: TCP Data received {"connection_id":143927,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:24:37] local.INFO: Processing buffer {"connection_id":143927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:24:37] local.INFO: IMEI packet received {"connection_id":143927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 11:24:37] local.INFO: IMEI acknowledgment sent {"connection_id":143927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 11:24:49] local.INFO: TCP Data received {"connection_id":143927,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:24:49] local.INFO: Processing buffer {"connection_id":143927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:24:49] local.INFO: IMEI packet received {"connection_id":143927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 11:24:49] local.INFO: IMEI acknowledgment sent {"connection_id":143927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:25:07] local.INFO: TCP Data received {"connection_id":145227,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 11:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145227,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 11:25:07] local.INFO: Processing buffer {"connection_id":145227,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 11:25:07] local.INFO: IMEI packet received {"connection_id":145227,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 11:25:07] local.INFO: IMEI acknowledgment sent {"connection_id":145227,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 11:25:08] local.INFO: TCP Data received {"connection_id":142806,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa221c530012d18260007219fc0004f008829..."} 
[2026-07-27 11:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa221c530012d18260007219fc0004f008829..."} 
[2026-07-27 11:25:08] local.INFO: Processing buffer {"connection_id":142806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa221c530012d18260007219fc0004f008829..."} 
[2026-07-27 11:25:08] local.INFO: Packet analysis {"connection_id":142806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa221"} 
[2026-07-27 11:25:08] local.INFO: Extracted packet for processing {"connection_id":142806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa221"} 
[2026-07-27 11:25:08] local.INFO: GPS Element Parsed {"raw_longitude":756557312,"raw_latitude":119644096,"longitude_deg":75.6557312,"latitude_deg":11.9644096,"altitude":79,"angle":136,"satellites":41,"speed":0,"hex_longitude":"2d182600","hex_latitude":"07219fc0","is_valid_coordinates":true} 
[2026-07-27 11:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:25:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993671424001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:25:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8821317365137408,"note":"Value kept but may cause issues"} 
[2026-07-27 11:25:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740078336654163968,"note":"Value kept but may cause issues"} 
[2026-07-27 11:25:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:25:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785131550000,"timestamp_ms":1785131550000,"timestamp_seconds":1785131550,"priority":1,"record_length":96,"hex_timestamp":"0000019fa221c530"} 
[2026-07-27 11:25:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:25:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 11:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-27 11:25:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6973169617,"note":"Value kept but may cause issues"} 
[2026-07-27 11:25:08] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503734229663744,"note":"Value kept but may cause issues"} 
[2026-07-27 11:25:08] local.WARNING: Large IO value detected {"io_id":86,"raw_value":4043309056,"note":"Value kept but may cause issues"} 
[2026-07-27 11:25:08] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2719995160,"note":"Value kept but may cause issues"} 
[2026-07-27 11:25:08] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2680160335,"note":"Value kept but may cause issues"} 
[2026-07-27 11:25:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-07-27 11:25:08] local.WARNING: Large IO value detected {"io_id":48,"raw_value":84750514109489569,"note":"Value kept but may cause issues"} 
[2026-07-27 11:25:08] local.WARNING: Large IO value detected {"io_id":72,"raw_value":22237223927677952,"note":"Value kept but may cause issues"} 
[2026-07-27 11:25:08] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,120,28,24,241,158,16,86,159,33,45,79,38,10,66,207,37,125,1,240,162,4,113,205,217,232,41,239,54,2,31,7,3,206,48,72],"length":529,"final_offset":659,"validated_count":36,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-07-27 11:25:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5692699634376376320,"timestamp_seconds":5692699634376376.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 11:25:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:25:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:25:08] local.INFO: Teltonika packet parsed successfully {"connection_id":142806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:25:08] local.INFO: Passing IMEI to GPS processor {"connection_id":142806,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:25:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":142806,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:25:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 11:25:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 11:25:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 11:25:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993671424001,"66":14341,"120":206,"28":31744,"24":0,"16":8821317365137408,"45":1740078336654163968},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 11:25:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 11:25:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 11:25:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993671424001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:25:08] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 11:25:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 11:25:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8821317365137408,"km_value":8821317365137.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:25:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740078336654163968,"description":"Unknown IO ID 45"} 
[2026-07-27 11:25:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993671424001,"power":14341,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740078336654163968}} 
[2026-07-27 11:25:08] local.INFO: DEBUG: GPS processor result {"connection_id":142806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552816,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:25:08] local.INFO: GPS data processed {"connection_id":142806,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:25:08] local.INFO: Acknowledgment sent {"connection_id":142806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:25:13] local.INFO: TCP Data received {"connection_id":143927,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:25:13] local.INFO: Processing buffer {"connection_id":143927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:25:13] local.INFO: IMEI packet received {"connection_id":143927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 11:25:13] local.INFO: IMEI acknowledgment sent {"connection_id":143927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:25:14] local.INFO: TCP Data received {"connection_id":143927,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa220c748012d7fa5c005afdf80000800142b..."} 
[2026-07-27 11:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa220c748012d7fa5c005afdf80000800142b..."} 
[2026-07-27 11:25:14] local.INFO: Processing buffer {"connection_id":143927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa220c748012d7fa5c005afdf80000800142b..."} 
[2026-07-27 11:25:14] local.INFO: Packet analysis {"connection_id":143927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa220"} 
[2026-07-27 11:25:14] local.INFO: Extracted packet for processing {"connection_id":143927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa220"} 
[2026-07-27 11:25:14] local.INFO: GPS Element Parsed {"raw_longitude":763340224,"raw_latitude":95412096,"longitude_deg":76.3340224,"latitude_deg":9.5412096,"altitude":8,"angle":20,"satellites":43,"speed":0,"hex_longitude":"2d7fa5c0","hex_latitude":"05afdf80","is_valid_coordinates":true} 
[2026-07-27 11:25:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:25:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993583104001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:25:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826891035017216,"note":"Value kept but may cause issues"} 
[2026-07-27 11:25:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197968944632135680,"note":"Value kept but may cause issues"} 
[2026-07-27 11:25:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:25:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785131485000,"timestamp_ms":1785131485000,"timestamp_seconds":1785131485,"priority":1,"record_length":96,"hex_timestamp":"0000019fa220c748"} 
[2026-07-27 11:25:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:25:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 11:25:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-27 11:25:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:25:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:25:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:25:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:25:14] local.INFO: Teltonika packet parsed successfully {"connection_id":143927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:25:14] local.INFO: Passing IMEI to GPS processor {"connection_id":143927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:25:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":143927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:25: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-07-27 11:25:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 11:25:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 11:25:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993583104001,"66":25397,"27":206,"85":12544,"24":0,"16":358826891035017216,"45":9197968944632135680},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 11:25:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 11:25:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 11:25:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993583104001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:25:14] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 11:25:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 11:25:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826891035017216,"km_value":358826891035017.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:25:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197968944632135680,"description":"Unknown IO ID 45"} 
[2026-07-27 11:25:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993583104001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197968944632135680}} 
[2026-07-27 11:25:14] local.INFO: DEBUG: GPS processor result {"connection_id":143927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:25:14] local.INFO: GPS data processed {"connection_id":143927,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:25:14] local.INFO: Acknowledgment sent {"connection_id":143927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:25:14] local.INFO: TCP Data received {"connection_id":143927,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa220c748012d7fa5c005afdf80000800142b..."} 
[2026-07-27 11:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa220c748012d7fa5c005afdf80000800142b..."} 
[2026-07-27 11:25:14] local.INFO: Processing buffer {"connection_id":143927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa220c748012d7fa5c005afdf80000800142b..."} 
[2026-07-27 11:25:14] local.INFO: Packet analysis {"connection_id":143927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa220"} 
[2026-07-27 11:25:14] local.INFO: Extracted packet for processing {"connection_id":143927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa220"} 
[2026-07-27 11:25:14] local.INFO: GPS Element Parsed {"raw_longitude":763340224,"raw_latitude":95412096,"longitude_deg":76.3340224,"latitude_deg":9.5412096,"altitude":8,"angle":20,"satellites":43,"speed":0,"hex_longitude":"2d7fa5c0","hex_latitude":"05afdf80","is_valid_coordinates":true} 
[2026-07-27 11:25:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:25:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993583104001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:25:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826891035017216,"note":"Value kept but may cause issues"} 
[2026-07-27 11:25:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197968944632135680,"note":"Value kept but may cause issues"} 
[2026-07-27 11:25:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:25:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785131485000,"timestamp_ms":1785131485000,"timestamp_seconds":1785131485,"priority":1,"record_length":96,"hex_timestamp":"0000019fa220c748"} 
[2026-07-27 11:25:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:25:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 11:25:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-27 11:25:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:25:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:25:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:25:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:25:14] local.INFO: Teltonika packet parsed successfully {"connection_id":143927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:25:14] local.INFO: Passing IMEI to GPS processor {"connection_id":143927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:25:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":143927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:25: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-07-27 11:25:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 11:25:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 11:25:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993583104001,"66":25397,"27":206,"85":12544,"24":0,"16":358826891035017216,"45":9197968944632135680},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 11:25:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 11:25:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 11:25:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993583104001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:25:14] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 11:25:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 11:25:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826891035017216,"km_value":358826891035017.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:25:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197968944632135680,"description":"Unknown IO ID 45"} 
[2026-07-27 11:25:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993583104001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197968944632135680}} 
[2026-07-27 11:25:14] local.INFO: DEBUG: GPS processor result {"connection_id":143927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:25:14] local.INFO: GPS data processed {"connection_id":143927,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:25:14] local.INFO: Acknowledgment sent {"connection_id":143927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:25:32] local.INFO: TCP Data received {"connection_id":142808,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:25:32] local.INFO: Processing buffer {"connection_id":142808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:25:32] local.INFO: IMEI packet received {"connection_id":142808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 11:25:32] local.INFO: IMEI acknowledgment sent {"connection_id":142808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 11:25:34] local.INFO: TCP Data received {"connection_id":142807,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142807,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:25:34] local.INFO: Processing buffer {"connection_id":142807,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:25:34] local.INFO: IMEI packet received {"connection_id":142807,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 11:25:34] local.INFO: IMEI acknowledgment sent {"connection_id":142807,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 11:25:38] local.INFO: TCP Data received {"connection_id":142808,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:25:38] local.INFO: Processing buffer {"connection_id":142808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:25:38] local.INFO: IMEI packet received {"connection_id":142808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 11:25:38] local.INFO: IMEI acknowledgment sent {"connection_id":142808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:25:39] local.INFO: TCP Data received {"connection_id":142808,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa220c748012d7fa5c005afdf80000800142b..."} 
[2026-07-27 11:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa220c748012d7fa5c005afdf80000800142b..."} 
[2026-07-27 11:25:39] local.INFO: Processing buffer {"connection_id":142808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa220c748012d7fa5c005afdf80000800142b..."} 
[2026-07-27 11:25:39] local.INFO: Packet analysis {"connection_id":142808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa220"} 
[2026-07-27 11:25:39] local.INFO: Extracted packet for processing {"connection_id":142808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa220"} 
[2026-07-27 11:25:39] local.INFO: GPS Element Parsed {"raw_longitude":763340224,"raw_latitude":95412096,"longitude_deg":76.3340224,"latitude_deg":9.5412096,"altitude":8,"angle":20,"satellites":43,"speed":0,"hex_longitude":"2d7fa5c0","hex_latitude":"05afdf80","is_valid_coordinates":true} 
[2026-07-27 11:25:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:25:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993583104001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:25:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826891035017216,"note":"Value kept but may cause issues"} 
[2026-07-27 11:25:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197968944632135680,"note":"Value kept but may cause issues"} 
[2026-07-27 11:25:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:25:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785131485000,"timestamp_ms":1785131485000,"timestamp_seconds":1785131485,"priority":1,"record_length":96,"hex_timestamp":"0000019fa220c748"} 
[2026-07-27 11:25:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:25:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 11:25:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-27 11:25:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:25:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:25:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:25:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:25:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:25:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:25:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:25:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 11:25:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 11:25:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 11:25:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993583104001,"66":25397,"27":206,"85":12544,"24":0,"16":358826891035017216,"45":9197968944632135680},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 11:25:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 11:25:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 11:25:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993583104001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:25:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 11:25:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 11:25:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826891035017216,"km_value":358826891035017.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:25:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197968944632135680,"description":"Unknown IO ID 45"} 
[2026-07-27 11:25:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993583104001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197968944632135680}} 
[2026-07-27 11:25:39] local.INFO: DEBUG: GPS processor result {"connection_id":142808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:25:39] local.INFO: GPS data processed {"connection_id":142808,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:25:39] local.INFO: Acknowledgment sent {"connection_id":142808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:25:40] local.INFO: TCP Data received {"connection_id":142807,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142807,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:25:40] local.INFO: Processing buffer {"connection_id":142807,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:25:40] local.INFO: IMEI packet received {"connection_id":142807,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 11:25:40] local.INFO: IMEI acknowledgment sent {"connection_id":142807,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:25:41] local.INFO: TCP Data received {"connection_id":142807,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2221738012d18260007219fc0004f008828..."} 
[2026-07-27 11:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2221738012d18260007219fc0004f008828..."} 
[2026-07-27 11:25:41] local.INFO: Processing buffer {"connection_id":142807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2221738012d18260007219fc0004f008828..."} 
[2026-07-27 11:25:41] local.INFO: Packet analysis {"connection_id":142807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa222"} 
[2026-07-27 11:25:41] local.INFO: Extracted packet for processing {"connection_id":142807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa222"} 
[2026-07-27 11:25:41] local.INFO: GPS Element Parsed {"raw_longitude":756557312,"raw_latitude":119644096,"longitude_deg":75.6557312,"latitude_deg":11.9644096,"altitude":79,"angle":136,"satellites":40,"speed":0,"hex_longitude":"2d182600","hex_latitude":"07219fc0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 11:25:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993676800001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:25:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8821317365137408,"note":"Value kept but may cause issues"} 
[2026-07-27 11:25:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740078336654163968,"note":"Value kept but may cause issues"} 
[2026-07-27 11:25:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:25:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785131571000,"timestamp_ms":1785131571000,"timestamp_seconds":1785131571,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2221738"} 
[2026-07-27 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-07-27 11:25:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-27 11:25:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6973169621,"note":"Value kept but may cause issues"} 
[2026-07-27 11:25:41] local.WARNING: Large IO value detected {"io_id":24,"raw_value":22237030637372160,"note":"Value kept but may cause issues"} 
[2026-07-27 11:25:41] local.WARNING: Large IO value detected {"io_id":86,"raw_value":4043309056,"note":"Value kept but may cause issues"} 
[2026-07-27 11:25:41] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2719996160,"note":"Value kept but may cause issues"} 
[2026-07-27 11:25:41] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2680160335,"note":"Value kept but may cause issues"} 
[2026-07-27 11:25:41] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-07-27 11:25:41] local.WARNING: Large IO value detected {"io_id":54,"raw_value":2835402215,"note":"Value kept but may cause issues"} 
[2026-07-27 11:25:41] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,120,28,24,241,158,16,86,159,115,45,79,40,10,66,33,38,207,1,240,12,162,4,113,205,43,192,32,239,54,2,31,7,3,206],"length":529,"final_offset":659,"validated_count":35,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-07-27 11:25:41] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5692699638671343616,"timestamp_seconds":5692699638671344.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 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-07-27 11:25:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:25:41] local.INFO: Teltonika packet parsed successfully {"connection_id":142807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:25:41] local.INFO: Passing IMEI to GPS processor {"connection_id":142807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:25:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":142807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:25:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 11:25:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 11:25:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 11:25:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993676800001,"66":13993,"120":206,"28":31744,"24":0,"16":8821317365137408,"45":1740078336654163968},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 11:25:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 11:25:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 11:25:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993676800001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:25:41] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 11:25:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 11:25:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8821317365137408,"km_value":8821317365137.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:25:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740078336654163968,"description":"Unknown IO ID 45"} 
[2026-07-27 11:25:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993676800001,"power":13993,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740078336654163968}} 
[2026-07-27 11:25:41] local.INFO: DEBUG: GPS processor result {"connection_id":142807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552820,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:25:41] local.INFO: GPS data processed {"connection_id":142807,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:25:41] local.INFO: Acknowledgment sent {"connection_id":142807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:25:42] local.INFO: TCP Data received {"connection_id":142807,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2223678012d18280007219f00004e007428..."} 
[2026-07-27 11:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2223678012d18280007219f00004e007428..."} 
[2026-07-27 11:25:42] local.INFO: Processing buffer {"connection_id":142807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2223678012d18280007219f00004e007428..."} 
[2026-07-27 11:25:42] local.INFO: Packet analysis {"connection_id":142807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa222"} 
[2026-07-27 11:25:42] local.INFO: Extracted packet for processing {"connection_id":142807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa222"} 
[2026-07-27 11:25:42] local.INFO: GPS Element Parsed {"raw_longitude":756557824,"raw_latitude":119643904,"longitude_deg":75.6557824,"latitude_deg":11.9643904,"altitude":78,"angle":116,"satellites":40,"speed":7,"hex_longitude":"2d182800","hex_latitude":"07219f00","is_valid_coordinates":true} 
[2026-07-27 11: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-07-27 11:25:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993682176001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:25:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8821343134941184,"note":"Value kept but may cause issues"} 
[2026-07-27 11:25:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740078336654163968,"note":"Value kept but may cause issues"} 
[2026-07-27 11:25:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:25:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785131579000,"timestamp_ms":1785131579000,"timestamp_seconds":1785131579,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2223678"} 
[2026-07-27 11:25:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:25:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 11: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-27 11:25:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11: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-07-27 11:25:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:25:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:25:42] local.INFO: Teltonika packet parsed successfully {"connection_id":142807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:25:42] local.INFO: Passing IMEI to GPS processor {"connection_id":142807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:25:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":142807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:25:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 11:25:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 11:25:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 11:25:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993682176001,"66":13167,"120":206,"28":31744,"24":7,"16":8821343134941184,"45":1740078336654163968},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 11:25:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 11:25:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 11:25:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993682176001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:25:42] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 11:25:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 11:25:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8821343134941184,"km_value":8821343134941.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:25:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740078336654163968,"description":"Unknown IO ID 45"} 
[2026-07-27 11:25:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993682176001,"power":13167,"unknown_120":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1740078336654163968}} 
[2026-07-27 11:25:42] local.INFO: DEBUG: GPS processor result {"connection_id":142807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552821,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:25:42] local.INFO: GPS data processed {"connection_id":142807,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:25:42] local.INFO: Acknowledgment sent {"connection_id":142807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:26:14] local.INFO: TCP Data received {"connection_id":142807,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa22259a0012d182d4007219b30004e008427..."} 
[2026-07-27 11:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa22259a0012d182d4007219b30004e008427..."} 
[2026-07-27 11:26:14] local.INFO: Processing buffer {"connection_id":142807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa22259a0012d182d4007219b30004e008427..."} 
[2026-07-27 11:26:14] local.INFO: Packet analysis {"connection_id":142807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa222"} 
[2026-07-27 11:26:14] local.INFO: Extracted packet for processing {"connection_id":142807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa222"} 
[2026-07-27 11:26:14] local.INFO: GPS Element Parsed {"raw_longitude":756559168,"raw_latitude":119642928,"longitude_deg":75.6559168,"latitude_deg":11.9642928,"altitude":78,"angle":132,"satellites":39,"speed":7,"hex_longitude":"2d182d40","hex_latitude":"07219b30","is_valid_coordinates":true} 
[2026-07-27 11: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-07-27 11:26:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993684224001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:26:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8821420444352512,"note":"Value kept but may cause issues"} 
[2026-07-27 11:26:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740641286607536128,"note":"Value kept but may cause issues"} 
[2026-07-27 11:26: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-07-27 11:26:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785131588000,"timestamp_ms":1785131588000,"timestamp_seconds":1785131588,"priority":1,"record_length":96,"hex_timestamp":"0000019fa22259a0"} 
[2026-07-27 11:26:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:26:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 11: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":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-07-27 11:26:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1452,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11: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-07-27 11:26:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:26:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:26:14] local.INFO: Teltonika packet parsed successfully {"connection_id":142807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:26:14] local.INFO: Passing IMEI to GPS processor {"connection_id":142807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:26:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":142807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:26:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 11:26:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 11:26:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 11:26:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993684224001,"66":13287,"120":206,"28":31744,"24":7,"16":8821420444352512,"45":1740641286607536128},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 11:26:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 11:26:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 11:26:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993684224001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:26:14] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 11:26:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 11:26:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8821420444352512,"km_value":8821420444352.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:26:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740641286607536128,"description":"Unknown IO ID 45"} 
[2026-07-27 11:26:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993684224001,"power":13287,"unknown_120":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1740641286607536128}} 
[2026-07-27 11:26:14] local.INFO: DEBUG: GPS processor result {"connection_id":142807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552822,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:26:14] local.INFO: GPS data processed {"connection_id":142807,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:26:14] local.INFO: Acknowledgment sent {"connection_id":142807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:26:17] local.INFO: TCP Data received {"connection_id":142808,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa220c748012d7fa5c005afdf80000800142b..."} 
[2026-07-27 11:26:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa220c748012d7fa5c005afdf80000800142b..."} 
[2026-07-27 11:26:17] local.INFO: Processing buffer {"connection_id":142808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa220c748012d7fa5c005afdf80000800142b..."} 
[2026-07-27 11:26:17] local.INFO: Packet analysis {"connection_id":142808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa220"} 
[2026-07-27 11:26:17] local.INFO: Extracted packet for processing {"connection_id":142808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa220"} 
[2026-07-27 11:26:17] local.INFO: GPS Element Parsed {"raw_longitude":763340224,"raw_latitude":95412096,"longitude_deg":76.3340224,"latitude_deg":9.5412096,"altitude":8,"angle":20,"satellites":43,"speed":0,"hex_longitude":"2d7fa5c0","hex_latitude":"05afdf80","is_valid_coordinates":true} 
[2026-07-27 11: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-07-27 11:26:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993583104001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:26:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826891035017216,"note":"Value kept but may cause issues"} 
[2026-07-27 11:26:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197968944632135680,"note":"Value kept but may cause issues"} 
[2026-07-27 11:26:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:26:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785131485000,"timestamp_ms":1785131485000,"timestamp_seconds":1785131485,"priority":1,"record_length":96,"hex_timestamp":"0000019fa220c748"} 
[2026-07-27 11:26:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:26:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 11: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":151,"data_length":795,"current_offset":136} 
[2026-07-27 11:26:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11: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-07-27 11:26:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:26:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:26:17] local.INFO: Teltonika packet parsed successfully {"connection_id":142808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:26:17] local.INFO: Passing IMEI to GPS processor {"connection_id":142808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:26:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":142808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:26:17] 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-07-27 11:26:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 11:26:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 11:26:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993583104001,"66":25397,"27":206,"85":12544,"24":0,"16":358826891035017216,"45":9197968944632135680},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 11:26:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 11:26:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 11:26:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993583104001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:26:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 11:26:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 11:26:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826891035017216,"km_value":358826891035017.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:26:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197968944632135680,"description":"Unknown IO ID 45"} 
[2026-07-27 11:26:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993583104001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197968944632135680}} 
[2026-07-27 11:26:17] local.INFO: DEBUG: GPS processor result {"connection_id":142808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:26:17] local.INFO: GPS data processed {"connection_id":142808,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:26:17] local.INFO: Acknowledgment sent {"connection_id":142808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:26:30] local.INFO: TCP Data received {"connection_id":145228,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145228,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:26:30] local.INFO: Processing buffer {"connection_id":145228,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:26:30] local.INFO: IMEI packet received {"connection_id":145228,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 11:26:30] local.INFO: IMEI acknowledgment sent {"connection_id":145228,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 11:26:35] local.INFO: TCP Data received {"connection_id":145228,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145228,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:26:35] local.INFO: Processing buffer {"connection_id":145228,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:26:35] local.INFO: IMEI packet received {"connection_id":145228,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 11:26:35] local.INFO: IMEI acknowledgment sent {"connection_id":145228,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:26:36] local.INFO: TCP Data received {"connection_id":145228,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2226d28012d182f8007219978004e007726..."} 
[2026-07-27 11:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2226d28012d182f8007219978004e007726..."} 
[2026-07-27 11:26:36] local.INFO: Processing buffer {"connection_id":145228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2226d28012d182f8007219978004e007726..."} 
[2026-07-27 11:26:36] local.INFO: Packet analysis {"connection_id":145228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa222"} 
[2026-07-27 11:26:36] local.INFO: Extracted packet for processing {"connection_id":145228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa222"} 
[2026-07-27 11:26:36] local.INFO: GPS Element Parsed {"raw_longitude":756559744,"raw_latitude":119642488,"longitude_deg":75.6559744,"latitude_deg":11.9642488,"altitude":78,"angle":119,"satellites":38,"speed":7,"hex_longitude":"2d182f80","hex_latitude":"07219978","is_valid_coordinates":true} 
[2026-07-27 11:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:26:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993686528001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:26:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8821459099058176,"note":"Value kept but may cause issues"} 
[2026-07-27 11:26:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1742119030235017216,"note":"Value kept but may cause issues"} 
[2026-07-27 11:26:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:26:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785131593000,"timestamp_ms":1785131593000,"timestamp_seconds":1785131593,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2226d28"} 
[2026-07-27 11:26:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:26:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 11:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":231,"data_length":795,"current_offset":136} 
[2026-07-27 11:26:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2532,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:26:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:26:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:26:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:26:36] local.INFO: Teltonika packet parsed successfully {"connection_id":145228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:26:36] local.INFO: Passing IMEI to GPS processor {"connection_id":145228,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:26:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":145228,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:26:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 11:26:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 11:26:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 11:26:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993686528001,"66":13222,"120":206,"28":31744,"24":7,"16":8821459099058176,"45":1742119030235017216},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 11:26:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 11:26:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 11:26:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993686528001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:26:36] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 11:26:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 11:26:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8821459099058176,"km_value":8821459099058.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:26:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1742119030235017216,"description":"Unknown IO ID 45"} 
[2026-07-27 11:26:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993686528001,"power":13222,"unknown_120":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1742119030235017216}} 
[2026-07-27 11:26:36] local.INFO: DEBUG: GPS processor result {"connection_id":145228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552824,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:26:36] local.INFO: GPS data processed {"connection_id":145228,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:26:36] local.INFO: Acknowledgment sent {"connection_id":145228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:26:37] local.INFO: TCP Data received {"connection_id":142933,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:26:37] local.INFO: Processing buffer {"connection_id":142933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:26:37] local.INFO: IMEI packet received {"connection_id":142933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 11:26:37] local.INFO: IMEI acknowledgment sent {"connection_id":142933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 11:26:40] local.INFO: TCP Data received {"connection_id":145228,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2228498012d18348007219698004e006727..."} 
[2026-07-27 11:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2228498012d18348007219698004e006727..."} 
[2026-07-27 11:26:40] local.INFO: Processing buffer {"connection_id":145228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2228498012d18348007219698004e006727..."} 
[2026-07-27 11:26:40] local.INFO: Packet analysis {"connection_id":145228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa222"} 
[2026-07-27 11:26:40] local.INFO: Extracted packet for processing {"connection_id":145228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa222"} 
[2026-07-27 11:26:40] local.INFO: GPS Element Parsed {"raw_longitude":756561024,"raw_latitude":119641752,"longitude_deg":75.6561024,"latitude_deg":11.9641752,"altitude":78,"angle":103,"satellites":39,"speed":15,"hex_longitude":"2d183480","hex_latitude":"07219698","is_valid_coordinates":true} 
[2026-07-27 11: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-07-27 11:26:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993687808001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:26:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8821532113502208,"note":"Value kept but may cause issues"} 
[2026-07-27 11:26:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1742752348932503552,"note":"Value kept but may cause issues"} 
[2026-07-27 11:26: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-07-27 11:26:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785131599000,"timestamp_ms":1785131599000,"timestamp_seconds":1785131599,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2228498"} 
[2026-07-27 11:26:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:26:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 11: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-27 11:26:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11: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-07-27 11:26:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:26:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:26:40] local.INFO: Teltonika packet parsed successfully {"connection_id":145228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:26:40] local.INFO: Passing IMEI to GPS processor {"connection_id":145228,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:26:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":145228,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:26:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 11:26:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 11:26:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 11:26:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993687808001,"66":13243,"120":206,"28":31744,"24":15,"16":8821532113502208,"45":1742752348932503552},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 11:26:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 11:26:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 11:26:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993687808001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:26:40] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 11:26:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 11:26:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8821532113502208,"km_value":8821532113502.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:26:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1742752348932503552,"description":"Unknown IO ID 45"} 
[2026-07-27 11:26:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993687808001,"power":13243,"unknown_120":206,"unknown_28":31744,"ignition":15,"odometer":null,"unknown_45":1742752348932503552}} 
[2026-07-27 11:26:41] local.INFO: DEBUG: GPS processor result {"connection_id":145228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552825,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:26:41] local.INFO: GPS data processed {"connection_id":145228,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:26:41] local.INFO: Acknowledgment sent {"connection_id":145228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:26:42] local.INFO: TCP Data received {"connection_id":142933,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:26:42] local.INFO: Processing buffer {"connection_id":142933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:26:42] local.INFO: IMEI packet received {"connection_id":142933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 11:26:42] local.INFO: IMEI acknowledgment sent {"connection_id":142933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:26:43] local.INFO: TCP Data received {"connection_id":142933,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa220c748012d7fa5c005afdf80000800142b..."} 
[2026-07-27 11:26:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa220c748012d7fa5c005afdf80000800142b..."} 
[2026-07-27 11:26:43] local.INFO: Processing buffer {"connection_id":142933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa220c748012d7fa5c005afdf80000800142b..."} 
[2026-07-27 11:26:43] local.INFO: Packet analysis {"connection_id":142933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa220"} 
[2026-07-27 11:26:43] local.INFO: Extracted packet for processing {"connection_id":142933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa220"} 
[2026-07-27 11:26:43] local.INFO: GPS Element Parsed {"raw_longitude":763340224,"raw_latitude":95412096,"longitude_deg":76.3340224,"latitude_deg":9.5412096,"altitude":8,"angle":20,"satellites":43,"speed":0,"hex_longitude":"2d7fa5c0","hex_latitude":"05afdf80","is_valid_coordinates":true} 
[2026-07-27 11:26:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:26:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993583104001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:26:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826891035017216,"note":"Value kept but may cause issues"} 
[2026-07-27 11:26:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197968944632135680,"note":"Value kept but may cause issues"} 
[2026-07-27 11:26:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:26:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785131485000,"timestamp_ms":1785131485000,"timestamp_seconds":1785131485,"priority":1,"record_length":96,"hex_timestamp":"0000019fa220c748"} 
[2026-07-27 11:26:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:26:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 11:26:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-27 11:26:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:26:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:26:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:26:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:26:43] local.INFO: Teltonika packet parsed successfully {"connection_id":142933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:26:43] local.INFO: Passing IMEI to GPS processor {"connection_id":142933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:26:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":142933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:26: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-07-27 11:26:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 11:26:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 11:26:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993583104001,"66":25397,"27":206,"85":12544,"24":0,"16":358826891035017216,"45":9197968944632135680},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 11:26:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 11:26:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 11:26:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993583104001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:26:43] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 11:26:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 11:26:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826891035017216,"km_value":358826891035017.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:26:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197968944632135680,"description":"Unknown IO ID 45"} 
[2026-07-27 11:26:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993583104001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197968944632135680}} 
[2026-07-27 11:26:43] local.INFO: DEBUG: GPS processor result {"connection_id":142933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:26:43] local.INFO: GPS data processed {"connection_id":142933,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:26:43] local.INFO: Acknowledgment sent {"connection_id":142933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:26:48] local.INFO: TCP Data received {"connection_id":142933,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa220c748012d7fa5c005afdf80000800142b..."} 
[2026-07-27 11:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa220c748012d7fa5c005afdf80000800142b..."} 
[2026-07-27 11:26:48] local.INFO: Processing buffer {"connection_id":142933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa220c748012d7fa5c005afdf80000800142b..."} 
[2026-07-27 11:26:48] local.INFO: Packet analysis {"connection_id":142933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa220"} 
[2026-07-27 11:26:48] local.INFO: Extracted packet for processing {"connection_id":142933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa220"} 
[2026-07-27 11:26:48] local.INFO: GPS Element Parsed {"raw_longitude":763340224,"raw_latitude":95412096,"longitude_deg":76.3340224,"latitude_deg":9.5412096,"altitude":8,"angle":20,"satellites":43,"speed":0,"hex_longitude":"2d7fa5c0","hex_latitude":"05afdf80","is_valid_coordinates":true} 
[2026-07-27 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-07-27 11:26:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993583104001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:26:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826891035017216,"note":"Value kept but may cause issues"} 
[2026-07-27 11:26:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197968944632135680,"note":"Value kept but may cause issues"} 
[2026-07-27 11:26:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:26:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785131485000,"timestamp_ms":1785131485000,"timestamp_seconds":1785131485,"priority":1,"record_length":96,"hex_timestamp":"0000019fa220c748"} 
[2026-07-27 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-07-27 11:26:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-27 11:26:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11: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-07-27 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-07-27 11:26:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:26:48] local.INFO: Teltonika packet parsed successfully {"connection_id":142933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:26:48] local.INFO: Passing IMEI to GPS processor {"connection_id":142933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:26:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":142933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:26:48] 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-07-27 11:26:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 11:26:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 11:26:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993583104001,"66":25397,"27":206,"85":12544,"24":0,"16":358826891035017216,"45":9197968944632135680},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 11:26:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 11:26:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 11:26:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993583104001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:26:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 11:26:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 11:26:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826891035017216,"km_value":358826891035017.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:26:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197968944632135680,"description":"Unknown IO ID 45"} 
[2026-07-27 11:26:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993583104001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197968944632135680}} 
[2026-07-27 11:26:48] local.INFO: DEBUG: GPS processor result {"connection_id":142933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:26:48] local.INFO: GPS data processed {"connection_id":142933,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:26:48] local.INFO: Acknowledgment sent {"connection_id":142933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:27:12] local.INFO: TCP Data received {"connection_id":145228,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa222d6a0012d1840c007219350004e006727..."} 
[2026-07-27 11:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa222d6a0012d1840c007219350004e006727..."} 
[2026-07-27 11:27:12] local.INFO: Processing buffer {"connection_id":145228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa222d6a0012d1840c007219350004e006727..."} 
[2026-07-27 11:27:12] local.INFO: Packet analysis {"connection_id":145228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa222"} 
[2026-07-27 11:27:12] local.INFO: Extracted packet for processing {"connection_id":145228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa222"} 
[2026-07-27 11:27:12] local.INFO: GPS Element Parsed {"raw_longitude":756564160,"raw_latitude":119640912,"longitude_deg":75.656416,"latitude_deg":11.9640912,"altitude":78,"angle":103,"satellites":39,"speed":0,"hex_longitude":"2d1840c0","hex_latitude":"07219350","is_valid_coordinates":true} 
[2026-07-27 11:27:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:27:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993689344001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:27:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8821686732324864,"note":"Value kept but may cause issues"} 
[2026-07-27 11:27:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1744159723815868416,"note":"Value kept but may cause issues"} 
[2026-07-27 11:27: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-07-27 11:27:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785131620000,"timestamp_ms":1785131620000,"timestamp_seconds":1785131620,"priority":1,"record_length":96,"hex_timestamp":"0000019fa222d6a0"} 
[2026-07-27 11:27:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:27:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 11:27:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-27 11:27:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:27:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:27:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:27:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:27:12] local.INFO: Teltonika packet parsed successfully {"connection_id":145228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:27:12] local.INFO: Passing IMEI to GPS processor {"connection_id":145228,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:27:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":145228,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:27:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 11:27:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 11:27:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 11:27:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993689344001,"66":12667,"120":206,"28":31744,"24":0,"16":8821686732324864,"45":1744159723815868416},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 11:27:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 11:27:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 11:27:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993689344001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:27:12] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 11:27:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 11:27:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8821686732324864,"km_value":8821686732324.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:27:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1744159723815868416,"description":"Unknown IO ID 45"} 
[2026-07-27 11:27:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993689344001,"power":12667,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1744159723815868416}} 
[2026-07-27 11:27:12] local.INFO: DEBUG: GPS processor result {"connection_id":145228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552828,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:27:12] local.INFO: GPS data processed {"connection_id":145228,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:27:12] local.INFO: Acknowledgment sent {"connection_id":145228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:27:27] local.INFO: TCP Data received {"connection_id":145229,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145229,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:27:27] local.INFO: Processing buffer {"connection_id":145229,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:27:27] local.INFO: IMEI packet received {"connection_id":145229,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 11:27:27] local.INFO: IMEI acknowledgment sent {"connection_id":145229,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 11:27:30] local.INFO: TCP Data received {"connection_id":145229,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145229,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:27:30] local.INFO: Processing buffer {"connection_id":145229,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:27:30] local.INFO: IMEI packet received {"connection_id":145229,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 11:27:30] local.INFO: IMEI acknowledgment sent {"connection_id":145229,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:27:32] local.INFO: TCP Data received {"connection_id":145230,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:27:32] local.INFO: Processing buffer {"connection_id":145230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:27:32] local.INFO: IMEI packet received {"connection_id":145230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 11:27:32] local.INFO: IMEI acknowledgment sent {"connection_id":145230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 11:27:35] local.INFO: TCP Data received {"connection_id":145229,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145229,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:27:35] local.INFO: Processing buffer {"connection_id":145229,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:27:35] local.INFO: IMEI packet received {"connection_id":145229,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 11:27:35] local.INFO: IMEI acknowledgment sent {"connection_id":145229,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:27:36] local.INFO: TCP Data received {"connection_id":145229,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa22328a8012d1840c007219350004e006724..."} 
[2026-07-27 11:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa22328a8012d1840c007219350004e006724..."} 
[2026-07-27 11:27:36] local.INFO: Processing buffer {"connection_id":145229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa22328a8012d1840c007219350004e006724..."} 
[2026-07-27 11:27:36] local.INFO: Packet analysis {"connection_id":145229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa223"} 
[2026-07-27 11:27:36] local.INFO: Extracted packet for processing {"connection_id":145229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa223"} 
[2026-07-27 11:27:36] local.INFO: GPS Element Parsed {"raw_longitude":756564160,"raw_latitude":119640912,"longitude_deg":75.656416,"latitude_deg":11.9640912,"altitude":78,"angle":103,"satellites":36,"speed":0,"hex_longitude":"2d1840c0","hex_latitude":"07219350","is_valid_coordinates":true} 
[2026-07-27 11:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:27:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993694720001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:27:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8821686732324864,"note":"Value kept but may cause issues"} 
[2026-07-27 11:27:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1747607792280358912,"note":"Value kept but may cause issues"} 
[2026-07-27 11:27:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:27:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785131641000,"timestamp_ms":1785131641000,"timestamp_seconds":1785131641,"priority":1,"record_length":96,"hex_timestamp":"0000019fa22328a8"} 
[2026-07-27 11:27:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:27:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 11:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-07-27 11:27:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:27:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:27:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:27:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:27:36] local.INFO: Teltonika packet parsed successfully {"connection_id":145229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:27:36] local.INFO: Passing IMEI to GPS processor {"connection_id":145229,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:27:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":145229,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:27:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 11:27:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 11:27:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 11:27:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993694720001,"66":13091,"120":206,"28":31744,"24":0,"16":8821686732324864,"45":1747607792280358912},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 11:27:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 11:27:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 11:27:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993694720001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:27:36] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 11:27:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 11:27:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8821686732324864,"km_value":8821686732324.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:27:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1747607792280358912,"description":"Unknown IO ID 45"} 
[2026-07-27 11:27:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993694720001,"power":13091,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1747607792280358912}} 
[2026-07-27 11:27:36] local.INFO: DEBUG: GPS processor result {"connection_id":145229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552829,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:27:36] local.INFO: GPS data processed {"connection_id":145229,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:27:36] local.INFO: Acknowledgment sent {"connection_id":145229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:27:38] local.INFO: TCP Data received {"connection_id":145230,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:27:38] local.INFO: Processing buffer {"connection_id":145230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:27:38] local.INFO: IMEI packet received {"connection_id":145230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 11:27:38] local.INFO: IMEI acknowledgment sent {"connection_id":145230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:27:41] local.INFO: TCP Data received {"connection_id":145230,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2255f10012d7fa5c005afdf80000700142a..."} 
[2026-07-27 11:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2255f10012d7fa5c005afdf80000700142a..."} 
[2026-07-27 11:27:41] local.INFO: Processing buffer {"connection_id":145230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2255f10012d7fa5c005afdf80000700142a..."} 
[2026-07-27 11:27:41] local.INFO: Packet analysis {"connection_id":145230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa225"} 
[2026-07-27 11:27:41] local.INFO: Extracted packet for processing {"connection_id":145230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa225"} 
[2026-07-27 11:27:41] local.INFO: GPS Element Parsed {"raw_longitude":763340224,"raw_latitude":95412096,"longitude_deg":76.3340224,"latitude_deg":9.5412096,"altitude":7,"angle":20,"satellites":42,"speed":0,"hex_longitude":"2d7fa5c0","hex_latitude":"05afdf80","is_valid_coordinates":true} 
[2026-07-27 11: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-07-27 11:27:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993660160001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:27:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826891035017216,"note":"Value kept but may cause issues"} 
[2026-07-27 11:27:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197968944632135680,"note":"Value kept but may cause issues"} 
[2026-07-27 11:27:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:27:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785131786000,"timestamp_ms":1785131786000,"timestamp_seconds":1785131786,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2255f10"} 
[2026-07-27 11:27:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:27:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 11:27:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 11:27:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11: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-07-27 11:27:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:27:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:27:41] local.INFO: Teltonika packet parsed successfully {"connection_id":145230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:27:41] local.INFO: Passing IMEI to GPS processor {"connection_id":145230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:27:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":145230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:27: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-07-27 11:27:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 11:27:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 11:27:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993660160001,"66":25495,"250":206,"85":12544,"24":0,"16":358826891035017216,"45":9197968944632135680},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 11:27:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 11:27:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 11:27:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993660160001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:27:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 11:27:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 11:27:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826891035017216,"km_value":358826891035017.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:27:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197968944632135680,"description":"Unknown IO ID 45"} 
[2026-07-27 11:27:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993660160001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197968944632135680}} 
[2026-07-27 11:27:41] local.INFO: DEBUG: GPS processor result {"connection_id":145230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:27:41] local.INFO: GPS data processed {"connection_id":145230,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:27:41] local.INFO: Acknowledgment sent {"connection_id":145230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:28:08] local.INFO: TCP Data received {"connection_id":145229,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2237ab0012d1840c007219350004e006726..."} 
[2026-07-27 11:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2237ab0012d1840c007219350004e006726..."} 
[2026-07-27 11:28:08] local.INFO: Processing buffer {"connection_id":145229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2237ab0012d1840c007219350004e006726..."} 
[2026-07-27 11:28:08] local.INFO: Packet analysis {"connection_id":145229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa223"} 
[2026-07-27 11:28:08] local.INFO: Extracted packet for processing {"connection_id":145229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa223"} 
[2026-07-27 11:28:08] local.INFO: GPS Element Parsed {"raw_longitude":756564160,"raw_latitude":119640912,"longitude_deg":75.656416,"latitude_deg":11.9640912,"altitude":78,"angle":103,"satellites":38,"speed":0,"hex_longitude":"2d1840c0","hex_latitude":"07219350","is_valid_coordinates":true} 
[2026-07-27 11:28:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:28:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993700096001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:28:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8821686732324864,"note":"Value kept but may cause issues"} 
[2026-07-27 11:28:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1747607792280358912,"note":"Value kept but may cause issues"} 
[2026-07-27 11:28:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:28:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785131662000,"timestamp_ms":1785131662000,"timestamp_seconds":1785131662,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2237ab0"} 
[2026-07-27 11:28:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:28:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 11: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-27 11:28:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:28:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:28:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:28:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:28:08] local.INFO: Teltonika packet parsed successfully {"connection_id":145229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:28:08] local.INFO: Passing IMEI to GPS processor {"connection_id":145229,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:28:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":145229,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:28:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 11:28:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 11:28:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 11:28:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993700096001,"66":12993,"120":206,"28":31744,"24":0,"16":8821686732324864,"45":1747607792280358912},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 11:28:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 11:28:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 11:28:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993700096001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:28:08] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 11:28:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 11:28:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8821686732324864,"km_value":8821686732324.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:28:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1747607792280358912,"description":"Unknown IO ID 45"} 
[2026-07-27 11:28:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993700096001,"power":12993,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1747607792280358912}} 
[2026-07-27 11:28:08] local.INFO: DEBUG: GPS processor result {"connection_id":145229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552831,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:28:08] local.INFO: GPS data processed {"connection_id":145229,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:28:08] local.INFO: Acknowledgment sent {"connection_id":145229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:28:15] local.INFO: TCP Data received {"connection_id":145230,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa225fb50012d7fa5c005afdf80000600142a..."} 
[2026-07-27 11:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa225fb50012d7fa5c005afdf80000600142a..."} 
[2026-07-27 11:28:15] local.INFO: Processing buffer {"connection_id":145230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa225fb50012d7fa5c005afdf80000600142a..."} 
[2026-07-27 11:28:15] local.INFO: Packet analysis {"connection_id":145230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa225"} 
[2026-07-27 11:28:15] local.INFO: Extracted packet for processing {"connection_id":145230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa225"} 
[2026-07-27 11:28:15] local.INFO: GPS Element Parsed {"raw_longitude":763340224,"raw_latitude":95412096,"longitude_deg":76.3340224,"latitude_deg":9.5412096,"altitude":6,"angle":20,"satellites":42,"speed":0,"hex_longitude":"2d7fa5c0","hex_latitude":"05afdf80","is_valid_coordinates":true} 
[2026-07-27 11:28:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:28:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993737216001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:28:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826891035017216,"note":"Value kept but may cause issues"} 
[2026-07-27 11:28:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197968944632135680,"note":"Value kept but may cause issues"} 
[2026-07-27 11:28:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:28:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785131826000,"timestamp_ms":1785131826000,"timestamp_seconds":1785131826,"priority":1,"record_length":96,"hex_timestamp":"0000019fa225fb50"} 
[2026-07-27 11:28:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:28:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 11:28:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-27 11:28:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:28:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:28:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:28:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:28:15] local.INFO: Teltonika packet parsed successfully {"connection_id":145230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:28:15] local.INFO: Passing IMEI to GPS processor {"connection_id":145230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:28:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":145230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:28: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-07-27 11:28:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 11:28:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 11:28:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993737216001,"66":25441,"28":206,"85":12544,"24":0,"16":358826891035017216,"45":9197968944632135680},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-07-27 11:28:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 11:28:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 11:28:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993737216001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:28:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-27 11:28:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 11:28:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826891035017216,"km_value":358826891035017.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:28:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197968944632135680,"description":"Unknown IO ID 45"} 
[2026-07-27 11:28:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993737216001,"power":25441,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197968944632135680}} 
[2026-07-27 11:28:15] local.INFO: DEBUG: GPS processor result {"connection_id":145230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:28:15] local.INFO: GPS data processed {"connection_id":145230,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:28:15] local.INFO: Acknowledgment sent {"connection_id":145230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:28:30] local.INFO: TCP Data received {"connection_id":142809,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142809,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:28:30] local.INFO: Processing buffer {"connection_id":142809,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:28:30] local.INFO: IMEI packet received {"connection_id":142809,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 11:28:30] local.INFO: IMEI acknowledgment sent {"connection_id":142809,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 11:28:30] local.INFO: TCP Data received {"connection_id":142934,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:28:30] local.INFO: Processing buffer {"connection_id":142934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:28:30] local.INFO: IMEI packet received {"connection_id":142934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 11:28:30] local.INFO: IMEI acknowledgment sent {"connection_id":142934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 11:28:30] local.INFO: TCP Data received {"connection_id":142809,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142809,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:28:30] local.INFO: Processing buffer {"connection_id":142809,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:28:30] local.INFO: IMEI packet received {"connection_id":142809,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 11:28:30] local.INFO: IMEI acknowledgment sent {"connection_id":142809,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:28:34] local.INFO: TCP Data received {"connection_id":142934,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:28:34] local.INFO: Processing buffer {"connection_id":142934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:28:34] local.INFO: IMEI packet received {"connection_id":142934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 11:28:34] local.INFO: IMEI acknowledgment sent {"connection_id":142934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:28:36] local.INFO: TCP Data received {"connection_id":142809,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142809,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:28:36] local.INFO: Processing buffer {"connection_id":142809,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:28:36] local.INFO: IMEI packet received {"connection_id":142809,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 11:28:36] local.INFO: IMEI acknowledgment sent {"connection_id":142809,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:28:37] local.INFO: TCP Data received {"connection_id":142809,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa223ccb8012d1840c007219350004e006728..."} 
[2026-07-27 11:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa223ccb8012d1840c007219350004e006728..."} 
[2026-07-27 11:28:37] local.INFO: Processing buffer {"connection_id":142809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa223ccb8012d1840c007219350004e006728..."} 
[2026-07-27 11:28:37] local.INFO: Packet analysis {"connection_id":142809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa223"} 
[2026-07-27 11:28:37] local.INFO: Extracted packet for processing {"connection_id":142809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa223"} 
[2026-07-27 11:28:37] local.INFO: GPS Element Parsed {"raw_longitude":756564160,"raw_latitude":119640912,"longitude_deg":75.656416,"latitude_deg":11.9640912,"altitude":78,"angle":103,"satellites":40,"speed":0,"hex_longitude":"2d1840c0","hex_latitude":"07219350","is_valid_coordinates":true} 
[2026-07-27 11:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:28:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993705472001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:28:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8821686732324864,"note":"Value kept but may cause issues"} 
[2026-07-27 11:28:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1747607792280358912,"note":"Value kept but may cause issues"} 
[2026-07-27 11:28:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:28:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785131683000,"timestamp_ms":1785131683000,"timestamp_seconds":1785131683,"priority":1,"record_length":96,"hex_timestamp":"0000019fa223ccb8"} 
[2026-07-27 11:28:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:28:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 11:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-07-27 11:28:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:28:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:28:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:28:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:28:37] local.INFO: Teltonika packet parsed successfully {"connection_id":142809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:28:37] local.INFO: Passing IMEI to GPS processor {"connection_id":142809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:28:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":142809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:28:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 11:28:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 11:28:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 11:28:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993705472001,"66":12972,"120":206,"28":31744,"24":0,"16":8821686732324864,"45":1747607792280358912},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 11:28:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 11:28:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 11:28:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993705472001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:28:37] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 11:28:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 11:28:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8821686732324864,"km_value":8821686732324.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:28:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1747607792280358912,"description":"Unknown IO ID 45"} 
[2026-07-27 11:28:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993705472001,"power":12972,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1747607792280358912}} 
[2026-07-27 11:28:37] local.INFO: DEBUG: GPS processor result {"connection_id":142809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552833,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:28:37] local.INFO: GPS data processed {"connection_id":142809,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:28:37] local.INFO: Acknowledgment sent {"connection_id":142809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:28:37] local.INFO: TCP Data received {"connection_id":142934,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:28:37] local.INFO: Processing buffer {"connection_id":142934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:28:37] local.INFO: IMEI packet received {"connection_id":142934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 11:28:37] local.INFO: IMEI acknowledgment sent {"connection_id":142934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:28:38] local.INFO: TCP Data received {"connection_id":142934,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2260af0012d7fa34005afdff80006010c29..."} 
[2026-07-27 11:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142934,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2260af0012d7fa34005afdff80006010c29..."} 
[2026-07-27 11:28:38] local.INFO: Processing buffer {"connection_id":142934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2260af0012d7fa34005afdff80006010c29..."} 
[2026-07-27 11:28:38] local.INFO: Packet analysis {"connection_id":142934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa226"} 
[2026-07-27 11:28:38] local.INFO: Extracted packet for processing {"connection_id":142934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa226"} 
[2026-07-27 11:28:38] local.INFO: GPS Element Parsed {"raw_longitude":763339584,"raw_latitude":95412216,"longitude_deg":76.3339584,"latitude_deg":9.5412216,"altitude":6,"angle":268,"satellites":41,"speed":0,"hex_longitude":"2d7fa340","hex_latitude":"05afdff8","is_valid_coordinates":true} 
[2026-07-27 11:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:28:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993747456001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:28:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826891035017216,"note":"Value kept but may cause issues"} 
[2026-07-27 11:28:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197968944632135680,"note":"Value kept but may cause issues"} 
[2026-07-27 11:28:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:28:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785131830000,"timestamp_ms":1785131830000,"timestamp_seconds":1785131830,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2260af0"} 
[2026-07-27 11:28:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:28:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 11:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-27 11:28:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:28:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:28:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:28:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:28:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:28:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:28:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:28:38] 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-07-27 11:28:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 11:28:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 11:28:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993747456001,"66":25321,"28":206,"85":12544,"24":0,"16":358826891035017216,"45":9197968944632135680},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-07-27 11:28:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 11:28:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 11:28:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993747456001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:28:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-27 11:28:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 11:28:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826891035017216,"km_value":358826891035017.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:28:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197968944632135680,"description":"Unknown IO ID 45"} 
[2026-07-27 11:28:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993747456001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197968944632135680}} 
[2026-07-27 11:28:38] local.INFO: DEBUG: GPS processor result {"connection_id":142934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:28:38] local.INFO: GPS data processed {"connection_id":142934,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:28:38] local.INFO: Acknowledgment sent {"connection_id":142934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:28:43] local.INFO: TCP Data received {"connection_id":142934,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2265cf8012d7fa34005afe0080006010c29..."} 
[2026-07-27 11:28:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142934,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2265cf8012d7fa34005afe0080006010c29..."} 
[2026-07-27 11:28:43] local.INFO: Processing buffer {"connection_id":142934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2265cf8012d7fa34005afe0080006010c29..."} 
[2026-07-27 11:28:43] local.INFO: Packet analysis {"connection_id":142934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa226"} 
[2026-07-27 11:28:43] local.INFO: Extracted packet for processing {"connection_id":142934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa226"} 
[2026-07-27 11:28:43] local.INFO: GPS Element Parsed {"raw_longitude":763339584,"raw_latitude":95412232,"longitude_deg":76.3339584,"latitude_deg":9.5412232,"altitude":6,"angle":268,"satellites":41,"speed":0,"hex_longitude":"2d7fa340","hex_latitude":"05afe008","is_valid_coordinates":true} 
[2026-07-27 11: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-07-27 11:28:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993748480001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:28:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826895329984512,"note":"Value kept but may cause issues"} 
[2026-07-27 11:28:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197265257190389760,"note":"Value kept but may cause issues"} 
[2026-07-27 11:28:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:28:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785131851000,"timestamp_ms":1785131851000,"timestamp_seconds":1785131851,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2265cf8"} 
[2026-07-27 11:28:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:28:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 11: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 11:28: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-07-27 11: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-07-27 11:28:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:28:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:28:43] local.INFO: Teltonika packet parsed successfully {"connection_id":142934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:28:43] local.INFO: Passing IMEI to GPS processor {"connection_id":142934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:28:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":142934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:28: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-07-27 11:28:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 11:28:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 11:28:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993748480001,"66":27919,"250":206,"85":12544,"24":0,"16":358826895329984512,"45":9197265257190389760},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 11:28:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 11:28:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 11:28:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993748480001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:28:43] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 11:28:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 11:28:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826895329984512,"km_value":358826895329984.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:28:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197265257190389760,"description":"Unknown IO ID 45"} 
[2026-07-27 11:28:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993748480001,"power":27919,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197265257190389760}} 
[2026-07-27 11:28:43] local.INFO: DEBUG: GPS processor result {"connection_id":142934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:28:43] local.INFO: GPS data processed {"connection_id":142934,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:28:43] local.INFO: Acknowledgment sent {"connection_id":142934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:29:09] local.INFO: TCP Data received {"connection_id":142809,"ip":"117.224.5.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2241ec0012d1840c007219350004e006725..."} 
[2026-07-27 11:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2241ec0012d1840c007219350004e006725..."} 
[2026-07-27 11:29:09] local.INFO: Processing buffer {"connection_id":142809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2241ec0012d1840c007219350004e006725..."} 
[2026-07-27 11:29:09] local.INFO: Packet analysis {"connection_id":142809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa224"} 
[2026-07-27 11:29:09] local.INFO: Extracted packet for processing {"connection_id":142809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa224"} 
[2026-07-27 11:29:09] local.INFO: GPS Element Parsed {"raw_longitude":756564160,"raw_latitude":119640912,"longitude_deg":75.656416,"latitude_deg":11.9640912,"altitude":78,"angle":103,"satellites":37,"speed":0,"hex_longitude":"2d1840c0","hex_latitude":"07219350","is_valid_coordinates":true} 
[2026-07-27 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-07-27 11:29:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993710848001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:29:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8821686732324864,"note":"Value kept but may cause issues"} 
[2026-07-27 11:29:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1747607792280358912,"note":"Value kept but may cause issues"} 
[2026-07-27 11:29:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:29:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785131704000,"timestamp_ms":1785131704000,"timestamp_seconds":1785131704,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2241ec0"} 
[2026-07-27 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-07-27 11:29:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-27 11:29:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 11:29:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:29:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:29:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:29:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:29:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.5.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 11:29:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 11:29:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 11:29:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993710848001,"66":12885,"120":206,"28":31744,"24":0,"16":8821686732324864,"45":1747607792280358912},"client_ip":"117.224.5.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 11:29:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 11:29:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 11:29:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993710848001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:29:09] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 11:29:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 11:29:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8821686732324864,"km_value":8821686732324.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:29:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1747607792280358912,"description":"Unknown IO ID 45"} 
[2026-07-27 11:29:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993710848001,"power":12885,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1747607792280358912}} 
[2026-07-27 11:29:09] local.INFO: DEBUG: GPS processor result {"connection_id":142809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552836,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:29:09] local.INFO: GPS data processed {"connection_id":142809,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:29:09] local.INFO: Acknowledgment sent {"connection_id":142809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:29:13] local.INFO: TCP Data received {"connection_id":142934,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa226af00012d7fa30005afe0800008010c2a..."} 
[2026-07-27 11:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142934,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa226af00012d7fa30005afe0800008010c2a..."} 
[2026-07-27 11:29:13] local.INFO: Processing buffer {"connection_id":142934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa226af00012d7fa30005afe0800008010c2a..."} 
[2026-07-27 11:29:13] local.INFO: Packet analysis {"connection_id":142934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa226"} 
[2026-07-27 11:29:13] local.INFO: Extracted packet for processing {"connection_id":142934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa226"} 
[2026-07-27 11:29:13] local.INFO: GPS Element Parsed {"raw_longitude":763339520,"raw_latitude":95412352,"longitude_deg":76.333952,"latitude_deg":9.5412352,"altitude":8,"angle":268,"satellites":42,"speed":0,"hex_longitude":"2d7fa300","hex_latitude":"05afe080","is_valid_coordinates":true} 
[2026-07-27 11:29:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:29:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993753856001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:29:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826908214886400,"note":"Value kept but may cause issues"} 
[2026-07-27 11:29:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197265257190393856,"note":"Value kept but may cause issues"} 
[2026-07-27 11:29:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:29:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785131872000,"timestamp_ms":1785131872000,"timestamp_seconds":1785131872,"priority":1,"record_length":96,"hex_timestamp":"0000019fa226af00"} 
[2026-07-27 11:29:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:29:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 11:29:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-27 11:29:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:29:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:29:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:29:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:29:13] local.INFO: Teltonika packet parsed successfully {"connection_id":142934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:29:13] local.INFO: Passing IMEI to GPS processor {"connection_id":142934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:29:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":142934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:29: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-07-27 11:29:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 11:29:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 11:29:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993753856001,"66":27365,"250":206,"85":12544,"24":0,"16":358826908214886400,"45":9197265257190393856},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 11:29:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 11:29:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 11:29:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993753856001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:29:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 11:29:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 11:29:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826908214886400,"km_value":358826908214886.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:29:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197265257190393856,"description":"Unknown IO ID 45"} 
[2026-07-27 11:29:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993753856001,"power":27365,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197265257190393856}} 
[2026-07-27 11:29:13] local.INFO: DEBUG: GPS processor result {"connection_id":142934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:29:13] local.INFO: GPS data processed {"connection_id":142934,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:29:13] local.INFO: Acknowledgment sent {"connection_id":142934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:29:29] local.INFO: TCP Data received {"connection_id":145231,"ip":"117.224.5.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145231,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:29:29] local.INFO: Processing buffer {"connection_id":145231,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:29:29] local.INFO: IMEI packet received {"connection_id":145231,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 11:29:29] local.INFO: IMEI acknowledgment sent {"connection_id":145231,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 11:29:32] local.INFO: TCP Data received {"connection_id":142935,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:29:32] local.INFO: Processing buffer {"connection_id":142935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:29:32] local.INFO: IMEI packet received {"connection_id":142935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 11:29:32] local.INFO: IMEI acknowledgment sent {"connection_id":142935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 11:29:37] local.INFO: TCP Data received {"connection_id":142935,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:29:37] local.INFO: Processing buffer {"connection_id":142935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:29:37] local.INFO: IMEI packet received {"connection_id":142935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 11:29:37] local.INFO: IMEI acknowledgment sent {"connection_id":142935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:29:38] local.INFO: TCP Data received {"connection_id":142935,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa226fd20012d7fa34005afe038000700842a..."} 
[2026-07-27 11:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa226fd20012d7fa34005afe038000700842a..."} 
[2026-07-27 11:29:38] local.INFO: Processing buffer {"connection_id":142935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa226fd20012d7fa34005afe038000700842a..."} 
[2026-07-27 11:29:38] local.INFO: Packet analysis {"connection_id":142935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa226"} 
[2026-07-27 11:29:38] local.INFO: Extracted packet for processing {"connection_id":142935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa226"} 
[2026-07-27 11:29:38] local.INFO: GPS Element Parsed {"raw_longitude":763339584,"raw_latitude":95412280,"longitude_deg":76.3339584,"latitude_deg":9.541228,"altitude":7,"angle":132,"satellites":42,"speed":1,"hex_longitude":"2d7fa340","hex_latitude":"05afe038","is_valid_coordinates":true} 
[2026-07-27 11:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:29:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993759232001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:29:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826912509853696,"note":"Value kept but may cause issues"} 
[2026-07-27 11:29:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197194888446246912,"note":"Value kept but may cause issues"} 
[2026-07-27 11:29:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:29:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785131892000,"timestamp_ms":1785131892000,"timestamp_seconds":1785131892,"priority":1,"record_length":96,"hex_timestamp":"0000019fa226fd20"} 
[2026-07-27 11:29:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:29:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 11:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-27 11:29:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:29:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:29:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:29:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:29:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:29:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:29:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:29:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 11:29:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 11:29:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 11:29:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993759232001,"66":27767,"250":206,"85":12544,"24":1,"16":358826912509853696,"45":9197194888446246912},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 11:29:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 11:29:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 11:29:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993759232001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:29:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 11:29:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 11:29:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826912509853696,"km_value":358826912509853.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:29:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197194888446246912,"description":"Unknown IO ID 45"} 
[2026-07-27 11:29:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993759232001,"power":27767,"unknown_250":206,"unknown_85":12544,"ignition":1,"odometer":null,"unknown_45":9197194888446246912}} 
[2026-07-27 11:29:38] local.INFO: DEBUG: GPS processor result {"connection_id":142935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:29:38] local.INFO: GPS data processed {"connection_id":142935,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:29:38] local.INFO: Acknowledgment sent {"connection_id":142935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:30:09] local.INFO: TCP Data received {"connection_id":142935,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa22704f0012d7fa3c005afe018000800772a..."} 
[2026-07-27 11:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa22704f0012d7fa3c005afe018000800772a..."} 
[2026-07-27 11:30:09] local.INFO: Processing buffer {"connection_id":142935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa22704f0012d7fa3c005afe018000800772a..."} 
[2026-07-27 11:30:09] local.INFO: Packet analysis {"connection_id":142935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa227"} 
[2026-07-27 11:30:09] local.INFO: Extracted packet for processing {"connection_id":142935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa227"} 
[2026-07-27 11:30:09] local.INFO: GPS Element Parsed {"raw_longitude":763339712,"raw_latitude":95412248,"longitude_deg":76.3339712,"latitude_deg":9.5412248,"altitude":8,"angle":119,"satellites":42,"speed":1,"hex_longitude":"2d7fa3c0","hex_latitude":"05afe018","is_valid_coordinates":true} 
[2026-07-27 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-07-27 11:30:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993764352001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:30:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826916804820992,"note":"Value kept but may cause issues"} 
[2026-07-27 11:30:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197265257190406144,"note":"Value kept but may cause issues"} 
[2026-07-27 11:30:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:30:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785131894000,"timestamp_ms":1785131894000,"timestamp_seconds":1785131894,"priority":1,"record_length":96,"hex_timestamp":"0000019fa22704f0"} 
[2026-07-27 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-07-27 11:30:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-27 11:30:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 11:30:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:30:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:30:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:30:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:30: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-07-27 11:30:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 11:30:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 11:30:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993764352001,"66":27658,"250":206,"85":12544,"24":1,"16":358826916804820992,"45":9197265257190406144},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 11:30:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 11:30:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 11:30:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993764352001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:30:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 11:30:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 11:30:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826916804820992,"km_value":358826916804821.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:30:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197265257190406144,"description":"Unknown IO ID 45"} 
[2026-07-27 11:30:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993764352001,"power":27658,"unknown_250":206,"unknown_85":12544,"ignition":1,"odometer":null,"unknown_45":9197265257190406144}} 
[2026-07-27 11:30:09] local.INFO: DEBUG: GPS processor result {"connection_id":142935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:30:09] local.INFO: GPS data processed {"connection_id":142935,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:30:09] local.INFO: Acknowledgment sent {"connection_id":142935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:30:20] local.INFO: TCP Data received {"connection_id":143928,"ip":"117.224.117.115","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143928,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:30:20] local.INFO: Processing buffer {"connection_id":143928,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:30:20] local.INFO: IMEI packet received {"connection_id":143928,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 11:30:20] local.INFO: IMEI acknowledgment sent {"connection_id":143928,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 11:30:21] local.INFO: TCP Data received {"connection_id":143928,"ip":"117.224.117.115","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143928,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:30:21] local.INFO: Processing buffer {"connection_id":143928,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:30:21] local.INFO: IMEI packet received {"connection_id":143928,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 11:30:21] local.INFO: IMEI acknowledgment sent {"connection_id":143928,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:30:25] local.INFO: TCP Data received {"connection_id":143928,"ip":"117.224.117.115","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143928,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:30:25] local.INFO: Processing buffer {"connection_id":143928,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:30:25] local.INFO: IMEI packet received {"connection_id":143928,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 11:30:25] local.INFO: IMEI acknowledgment sent {"connection_id":143928,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:30:27] local.INFO: TCP Data received {"connection_id":143928,"ip":"117.224.117.115","data_length":795,"data_hex":"000000000000030f8e0a0000019fa227eb68012d1840c007219350004e006726..."} 
[2026-07-27 11:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa227eb68012d1840c007219350004e006726..."} 
[2026-07-27 11:30:27] local.INFO: Processing buffer {"connection_id":143928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa227eb68012d1840c007219350004e006726..."} 
[2026-07-27 11:30:27] local.INFO: Packet analysis {"connection_id":143928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa227"} 
[2026-07-27 11:30:27] local.INFO: Extracted packet for processing {"connection_id":143928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa227"} 
[2026-07-27 11:30:27] local.INFO: GPS Element Parsed {"raw_longitude":756564160,"raw_latitude":119640912,"longitude_deg":75.656416,"latitude_deg":11.9640912,"altitude":78,"angle":103,"satellites":38,"speed":0,"hex_longitude":"2d1840c0","hex_latitude":"07219350","is_valid_coordinates":true} 
[2026-07-27 11:30:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:30:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8821686732324864,"note":"Value kept but may cause issues"} 
[2026-07-27 11:30: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-07-27 11:30:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785131953000,"timestamp_ms":1785131953000,"timestamp_seconds":1785131953,"priority":1,"record_length":96,"hex_timestamp":"0000019fa227eb68"} 
[2026-07-27 11:30:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:30:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 11:30:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-27 11:30:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:30:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:30:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:30:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:30:27] local.INFO: Teltonika packet parsed successfully {"connection_id":143928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:30:27] local.INFO: Passing IMEI to GPS processor {"connection_id":143928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:30:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":143928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:30:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.117.115","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 11:30:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 11:30:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 11:30:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":12504,"121":206,"28":31744,"24":0,"16":8821686732324864},"client_ip":"117.224.117.115","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16]} 
[2026-07-27 11:30:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 11:30:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 11:30:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-07-27 11:30:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 11:30:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 11:30:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8821686732324864,"km_value":8821686732324.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:30:27] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null}} 
[2026-07-27 11:30:27] local.INFO: DEBUG: GPS processor result {"connection_id":143928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552840,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:30:27] local.INFO: GPS data processed {"connection_id":143928,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:30:27] local.INFO: Acknowledgment sent {"connection_id":143928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:30:38] local.INFO: TCP Data received {"connection_id":142810,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:30:38] local.INFO: Processing buffer {"connection_id":142810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:30:38] local.INFO: IMEI packet received {"connection_id":142810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 11:30:38] local.INFO: IMEI acknowledgment sent {"connection_id":142810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 11:30:48] local.INFO: TCP Data received {"connection_id":142810,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:30:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:30:48] local.INFO: Processing buffer {"connection_id":142810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:30:48] local.INFO: IMEI packet received {"connection_id":142810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 11:30:48] local.INFO: IMEI acknowledgment sent {"connection_id":142810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:30:49] local.INFO: TCP Data received {"connection_id":142810,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa22710a8012d7fa44005afdfd00008006c2a..."} 
[2026-07-27 11:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa22710a8012d7fa44005afdfd00008006c2a..."} 
[2026-07-27 11:30:49] local.INFO: Processing buffer {"connection_id":142810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa22710a8012d7fa44005afdfd00008006c2a..."} 
[2026-07-27 11:30:49] local.INFO: Packet analysis {"connection_id":142810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa227"} 
[2026-07-27 11:30:49] local.INFO: Extracted packet for processing {"connection_id":142810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa227"} 
[2026-07-27 11:30:49] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95412176,"longitude_deg":76.333984,"latitude_deg":9.5412176,"altitude":8,"angle":108,"satellites":42,"speed":2,"hex_longitude":"2d7fa440","hex_latitude":"05afdfd0","is_valid_coordinates":true} 
[2026-07-27 11: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-07-27 11:30:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993764864001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:30:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826925394755584,"note":"Value kept but may cause issues"} 
[2026-07-27 11:30:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197405994678753280,"note":"Value kept but may cause issues"} 
[2026-07-27 11:30:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:30:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785131897000,"timestamp_ms":1785131897000,"timestamp_seconds":1785131897,"priority":1,"record_length":96,"hex_timestamp":"0000019fa22710a8"} 
[2026-07-27 11:30:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:30:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 11: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-27 11:30:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11: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-07-27 11:30:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:30:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:30:49] local.INFO: Teltonika packet parsed successfully {"connection_id":142810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:30:49] local.INFO: Passing IMEI to GPS processor {"connection_id":142810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:30:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":142810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:30:49] 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-07-27 11:30:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 11:30:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 11:30:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993764864001,"66":27984,"250":206,"85":12544,"24":2,"16":358826925394755584,"45":9197405994678753280},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 11:30:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 11:30:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 11:30:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993764864001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:30:49] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 11:30:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 11:30:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826925394755584,"km_value":358826925394755.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:30:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197405994678753280,"description":"Unknown IO ID 45"} 
[2026-07-27 11:30:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993764864001,"power":27984,"unknown_250":206,"unknown_85":12544,"ignition":2,"odometer":null,"unknown_45":9197405994678753280}} 
[2026-07-27 11:30:49] local.INFO: DEBUG: GPS processor result {"connection_id":142810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:30:49] local.INFO: GPS data processed {"connection_id":142810,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:30:49] local.INFO: Acknowledgment sent {"connection_id":142810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:30:49] local.INFO: TCP Data received {"connection_id":142810,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2271490012d7fa48005afdfc80008005b29..."} 
[2026-07-27 11:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2271490012d7fa48005afdfc80008005b29..."} 
[2026-07-27 11:30:49] local.INFO: Processing buffer {"connection_id":142810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2271490012d7fa48005afdfc80008005b29..."} 
[2026-07-27 11:30:49] local.INFO: Packet analysis {"connection_id":142810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa227"} 
[2026-07-27 11:30:49] local.INFO: Extracted packet for processing {"connection_id":142810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa227"} 
[2026-07-27 11:30:49] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95412168,"longitude_deg":76.3339904,"latitude_deg":9.5412168,"altitude":8,"angle":91,"satellites":41,"speed":2,"hex_longitude":"2d7fa480","hex_latitude":"05afdfc8","is_valid_coordinates":true} 
[2026-07-27 11: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-07-27 11:30:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993765632001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:30:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826929689722880,"note":"Value kept but may cause issues"} 
[2026-07-27 11:30:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732167090176,"note":"Value kept but may cause issues"} 
[2026-07-27 11:30:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:30:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785131898000,"timestamp_ms":1785131898000,"timestamp_seconds":1785131898,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2271490"} 
[2026-07-27 11:30:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:30:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 11: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":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-27 11:30:49] 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-07-27 11: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-07-27 11:30:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:30:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:30:49] local.INFO: Teltonika packet parsed successfully {"connection_id":142810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:30:49] local.INFO: Passing IMEI to GPS processor {"connection_id":142810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:30:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":142810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:30:49] 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-07-27 11:30:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 11:30:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 11:30:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993765632001,"66":27984,"250":206,"85":12544,"24":2,"16":358826929689722880,"45":9197546732167090176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 11:30:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 11:30:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 11:30:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993765632001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:30:49] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 11:30:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 11:30:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826929689722880,"km_value":358826929689722.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:30:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732167090176,"description":"Unknown IO ID 45"} 
[2026-07-27 11:30:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993765632001,"power":27984,"unknown_250":206,"unknown_85":12544,"ignition":2,"odometer":null,"unknown_45":9197546732167090176}} 
[2026-07-27 11:30:49] local.INFO: DEBUG: GPS processor result {"connection_id":142810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:30:49] local.INFO: GPS data processed {"connection_id":142810,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:30:49] local.INFO: Acknowledgment sent {"connection_id":142810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:30:58] local.INFO: TCP Data received {"connection_id":143928,"ip":"117.224.117.115","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2286098012d1840c007219350004e006723..."} 
[2026-07-27 11:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2286098012d1840c007219350004e006723..."} 
[2026-07-27 11:30:58] local.INFO: Processing buffer {"connection_id":143928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2286098012d1840c007219350004e006723..."} 
[2026-07-27 11:30:58] local.INFO: Packet analysis {"connection_id":143928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa228"} 
[2026-07-27 11:30:58] local.INFO: Extracted packet for processing {"connection_id":143928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa228"} 
[2026-07-27 11:30:58] local.INFO: GPS Element Parsed {"raw_longitude":756564160,"raw_latitude":119640912,"longitude_deg":75.656416,"latitude_deg":11.9640912,"altitude":78,"angle":103,"satellites":35,"speed":0,"hex_longitude":"2d1840c0","hex_latitude":"07219350","is_valid_coordinates":true} 
[2026-07-27 11:30:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:30:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993779968001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:30:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8821686732324864,"note":"Value kept but may cause issues"} 
[2026-07-27 11:30:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1747607792280358912,"note":"Value kept but may cause issues"} 
[2026-07-27 11:30:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:30:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785131983000,"timestamp_ms":1785131983000,"timestamp_seconds":1785131983,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2286098"} 
[2026-07-27 11:30:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:30:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 11:30:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-27 11:30:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:30:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:30:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:30:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:30:58] local.INFO: Teltonika packet parsed successfully {"connection_id":143928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:30:58] local.INFO: Passing IMEI to GPS processor {"connection_id":143928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:30:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":143928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:30:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.117.115","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 11:30:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 11:30:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 11:30:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993779968001,"66":12461,"121":206,"28":31744,"24":0,"16":8821686732324864,"45":1747607792280358912},"client_ip":"117.224.117.115","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 11:30:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 11:30:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 11:30:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993779968001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:30:58] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 11:30:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 11:30:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8821686732324864,"km_value":8821686732324.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:30:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1747607792280358912,"description":"Unknown IO ID 45"} 
[2026-07-27 11:30:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993779968001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1747607792280358912}} 
[2026-07-27 11:30:58] local.INFO: DEBUG: GPS processor result {"connection_id":143928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552843,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:30:58] local.INFO: GPS data processed {"connection_id":143928,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:30:58] local.INFO: Acknowledgment sent {"connection_id":143928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:31:29] local.INFO: TCP Data received {"connection_id":143928,"ip":"117.224.117.115","data_length":795,"data_hex":"000000000000030f8e0a0000019fa228b2a0012d1840c007219350004e006724..."} 
[2026-07-27 11:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa228b2a0012d1840c007219350004e006724..."} 
[2026-07-27 11:31:29] local.INFO: Processing buffer {"connection_id":143928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa228b2a0012d1840c007219350004e006724..."} 
[2026-07-27 11:31:29] local.INFO: Packet analysis {"connection_id":143928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa228"} 
[2026-07-27 11:31:29] local.INFO: Extracted packet for processing {"connection_id":143928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa228"} 
[2026-07-27 11:31:29] local.INFO: GPS Element Parsed {"raw_longitude":756564160,"raw_latitude":119640912,"longitude_deg":75.656416,"latitude_deg":11.9640912,"altitude":78,"angle":103,"satellites":36,"speed":0,"hex_longitude":"2d1840c0","hex_latitude":"07219350","is_valid_coordinates":true} 
[2026-07-27 11:31:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:31:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993787648001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:31:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8821686732324864,"note":"Value kept but may cause issues"} 
[2026-07-27 11:31:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1747607792280358912,"note":"Value kept but may cause issues"} 
[2026-07-27 11:31:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:31:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785132004000,"timestamp_ms":1785132004000,"timestamp_seconds":1785132004,"priority":1,"record_length":96,"hex_timestamp":"0000019fa228b2a0"} 
[2026-07-27 11:31:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:31:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 11:31:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-27 11:31:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:31:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:31:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:31:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:31:29] local.INFO: Teltonika packet parsed successfully {"connection_id":143928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:31:29] local.INFO: Passing IMEI to GPS processor {"connection_id":143928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:31:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":143928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:31:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.117.115","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 11:31:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 11:31:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 11:31:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993787648001,"66":12461,"121":206,"28":31744,"24":0,"16":8821686732324864,"45":1747607792280358912},"client_ip":"117.224.117.115","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 11:31:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 11:31:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 11:31:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993787648001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:31:29] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 11:31:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 11:31:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8821686732324864,"km_value":8821686732324.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:31:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1747607792280358912,"description":"Unknown IO ID 45"} 
[2026-07-27 11:31:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993787648001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1747607792280358912}} 
[2026-07-27 11:31:29] local.INFO: DEBUG: GPS processor result {"connection_id":143928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552844,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:31:29] local.INFO: GPS data processed {"connection_id":143928,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:31:29] local.INFO: Acknowledgment sent {"connection_id":143928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:31:32] local.INFO: TCP Data received {"connection_id":142936,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:31:32] local.INFO: Processing buffer {"connection_id":142936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:31:32] local.INFO: IMEI packet received {"connection_id":142936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 11:31:32] local.INFO: IMEI acknowledgment sent {"connection_id":142936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 11:31:37] local.INFO: TCP Data received {"connection_id":142936,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:31:37] local.INFO: Processing buffer {"connection_id":142936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:31:37] local.INFO: IMEI packet received {"connection_id":142936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 11:31:37] local.INFO: IMEI acknowledgment sent {"connection_id":142936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:31:38] local.INFO: TCP Data received {"connection_id":142936,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2272818012d7fa70005afdfb80008004b2b..."} 
[2026-07-27 11:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2272818012d7fa70005afdfb80008004b2b..."} 
[2026-07-27 11:31:38] local.INFO: Processing buffer {"connection_id":142936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2272818012d7fa70005afdfb80008004b2b..."} 
[2026-07-27 11:31:38] local.INFO: Packet analysis {"connection_id":142936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa227"} 
[2026-07-27 11:31:38] local.INFO: Extracted packet for processing {"connection_id":142936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa227"} 
[2026-07-27 11:31:38] local.INFO: GPS Element Parsed {"raw_longitude":763340544,"raw_latitude":95412152,"longitude_deg":76.3340544,"latitude_deg":9.5412152,"altitude":8,"angle":75,"satellites":43,"speed":5,"hex_longitude":"2d7fa700","hex_latitude":"05afdfb8","is_valid_coordinates":true} 
[2026-07-27 11:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:31:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993765888001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:31:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826959754493952,"note":"Value kept but may cause issues"} 
[2026-07-27 11:31:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100911265792,"note":"Value kept but may cause issues"} 
[2026-07-27 11:31:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:31:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785131903000,"timestamp_ms":1785131903000,"timestamp_seconds":1785131903,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2272818"} 
[2026-07-27 11:31:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:31:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 11:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-27 11:31:38] 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-07-27 11:31:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:31:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:31:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:31:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:31:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:31:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:31:38] 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-07-27 11:31:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 11:31:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 11:31:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993765888001,"66":27767,"250":206,"85":12544,"24":5,"16":358826959754493952,"45":9197617100911265792},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 11:31:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 11:31:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 11:31:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993765888001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:31:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 11:31:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 11:31:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826959754493952,"km_value":358826959754493.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:31:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100911265792,"description":"Unknown IO ID 45"} 
[2026-07-27 11:31:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993765888001,"power":27767,"unknown_250":206,"unknown_85":12544,"ignition":5,"odometer":null,"unknown_45":9197617100911265792}} 
[2026-07-27 11:31:38] local.INFO: DEBUG: GPS processor result {"connection_id":142936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:31:38] local.INFO: GPS data processed {"connection_id":142936,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:31:38] local.INFO: Acknowledgment sent {"connection_id":142936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:32:00] local.INFO: TCP Data received {"connection_id":143928,"ip":"117.224.117.115","data_length":795,"data_hex":"000000000000030f8e0a0000019fa22904a8012d1840c007219350004e006727..."} 
[2026-07-27 11:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa22904a8012d1840c007219350004e006727..."} 
[2026-07-27 11:32:00] local.INFO: Processing buffer {"connection_id":143928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa22904a8012d1840c007219350004e006727..."} 
[2026-07-27 11:32:00] local.INFO: Packet analysis {"connection_id":143928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa229"} 
[2026-07-27 11:32:00] local.INFO: Extracted packet for processing {"connection_id":143928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa229"} 
[2026-07-27 11:32:00] local.INFO: GPS Element Parsed {"raw_longitude":756564160,"raw_latitude":119640912,"longitude_deg":75.656416,"latitude_deg":11.9640912,"altitude":78,"angle":103,"satellites":39,"speed":0,"hex_longitude":"2d1840c0","hex_latitude":"07219350","is_valid_coordinates":true} 
[2026-07-27 11:32:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:32:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993793024001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:32:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8821686732324864,"note":"Value kept but may cause issues"} 
[2026-07-27 11:32:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1747607792280358912,"note":"Value kept but may cause issues"} 
[2026-07-27 11:32:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:32:00] local.INFO: AVL Record Parsed {"raw_timestamp":1785132025000,"timestamp_ms":1785132025000,"timestamp_seconds":1785132025,"priority":1,"record_length":96,"hex_timestamp":"0000019fa22904a8"} 
[2026-07-27 11:32:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:32:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 11:32:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-27 11:32:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:32:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:32:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:32:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:32:00] local.INFO: Teltonika packet parsed successfully {"connection_id":143928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:32:00] local.INFO: Passing IMEI to GPS processor {"connection_id":143928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:32:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":143928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:32:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.117.115","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 11:32:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 11:32:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 11:32:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993793024001,"66":12439,"121":206,"28":31744,"24":0,"16":8821686732324864,"45":1747607792280358912},"client_ip":"117.224.117.115","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 11:32:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 11:32:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 11:32:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993793024001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:32:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 11:32:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 11:32:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8821686732324864,"km_value":8821686732324.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:32:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1747607792280358912,"description":"Unknown IO ID 45"} 
[2026-07-27 11:32:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993793024001,"power":12439,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1747607792280358912}} 
[2026-07-27 11:32:01] local.INFO: DEBUG: GPS processor result {"connection_id":143928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552846,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:32:01] local.INFO: GPS data processed {"connection_id":143928,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:32:01] local.INFO: Acknowledgment sent {"connection_id":143928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:32:09] local.INFO: TCP Data received {"connection_id":142936,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2272c00012d7fa74005afdfc80008003e2b..."} 
[2026-07-27 11:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2272c00012d7fa74005afdfc80008003e2b..."} 
[2026-07-27 11:32:09] local.INFO: Processing buffer {"connection_id":142936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2272c00012d7fa74005afdfc80008003e2b..."} 
[2026-07-27 11:32:09] local.INFO: Packet analysis {"connection_id":142936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa227"} 
[2026-07-27 11:32:09] local.INFO: Extracted packet for processing {"connection_id":142936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa227"} 
[2026-07-27 11:32:09] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95412168,"longitude_deg":76.3340608,"latitude_deg":9.5412168,"altitude":8,"angle":62,"satellites":43,"speed":4,"hex_longitude":"2d7fa740","hex_latitude":"05afdfc8","is_valid_coordinates":true} 
[2026-07-27 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-07-27 11:32:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993767168001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:32:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826964049461248,"note":"Value kept but may cause issues"} 
[2026-07-27 11:32:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198320788353038336,"note":"Value kept but may cause issues"} 
[2026-07-27 11:32:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:32:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785131904000,"timestamp_ms":1785131904000,"timestamp_seconds":1785131904,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2272c00"} 
[2026-07-27 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-07-27 11:32:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-27 11:32:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 11:32:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:32:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:32:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:32:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11: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-07-27 11:32:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 11:32:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 11:32:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993767168001,"66":27767,"250":206,"85":12544,"24":4,"16":358826964049461248,"45":9198320788353038336},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 11:32:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 11:32:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 11:32:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993767168001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:32:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 11:32:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 11:32:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826964049461248,"km_value":358826964049461.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:32:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198320788353038336,"description":"Unknown IO ID 45"} 
[2026-07-27 11:32:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993767168001,"power":27767,"unknown_250":206,"unknown_85":12544,"ignition":4,"odometer":null,"unknown_45":9198320788353038336}} 
[2026-07-27 11:32:09] local.INFO: DEBUG: GPS processor result {"connection_id":142936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:32:09] local.INFO: GPS data processed {"connection_id":142936,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:32:09] local.INFO: Acknowledgment sent {"connection_id":142936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:32:32] local.INFO: TCP Data received {"connection_id":143928,"ip":"117.224.117.115","data_length":795,"data_hex":"000000000000030f8e0a0000019fa22956b0012d1840c007219350004e006727..."} 
[2026-07-27 11:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa22956b0012d1840c007219350004e006727..."} 
[2026-07-27 11:32:32] local.INFO: Processing buffer {"connection_id":143928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa22956b0012d1840c007219350004e006727..."} 
[2026-07-27 11:32:32] local.INFO: Packet analysis {"connection_id":143928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa229"} 
[2026-07-27 11:32:32] local.INFO: Extracted packet for processing {"connection_id":143928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa229"} 
[2026-07-27 11:32:32] local.INFO: GPS Element Parsed {"raw_longitude":756564160,"raw_latitude":119640912,"longitude_deg":75.656416,"latitude_deg":11.9640912,"altitude":78,"angle":103,"satellites":39,"speed":0,"hex_longitude":"2d1840c0","hex_latitude":"07219350","is_valid_coordinates":true} 
[2026-07-27 11:32:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:32:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993798400001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:32:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8821686732324864,"note":"Value kept but may cause issues"} 
[2026-07-27 11:32:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1747607792280358912,"note":"Value kept but may cause issues"} 
[2026-07-27 11:32:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:32:32] local.INFO: AVL Record Parsed {"raw_timestamp":1785132046000,"timestamp_ms":1785132046000,"timestamp_seconds":1785132046,"priority":1,"record_length":96,"hex_timestamp":"0000019fa22956b0"} 
[2026-07-27 11:32:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:32:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 11:32:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-27 11:32:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:32:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:32:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:32:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:32:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:32:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:32:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:32:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.117.115","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 11:32:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 11:32:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 11:32:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993798400001,"66":12950,"121":206,"28":31744,"24":0,"16":8821686732324864,"45":1747607792280358912},"client_ip":"117.224.117.115","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 11:32:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 11:32:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 11:32:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993798400001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:32:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 11:32:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 11:32:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8821686732324864,"km_value":8821686732324.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:32:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1747607792280358912,"description":"Unknown IO ID 45"} 
[2026-07-27 11:32:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993798400001,"power":12950,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1747607792280358912}} 
[2026-07-27 11:32:32] local.INFO: TCP Data received {"connection_id":142811,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:32:32] local.INFO: Processing buffer {"connection_id":142811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:32:32] local.INFO: IMEI packet received {"connection_id":142811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 11:32:32] local.INFO: IMEI acknowledgment sent {"connection_id":142811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 11:32:32] local.INFO: DEBUG: GPS processor result {"connection_id":143928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552848,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:32:32] local.INFO: GPS data processed {"connection_id":143928,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:32:32] local.INFO: Acknowledgment sent {"connection_id":143928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:32:37] local.INFO: TCP Data received {"connection_id":142811,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:32:37] local.INFO: Processing buffer {"connection_id":142811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:32:37] local.INFO: IMEI packet received {"connection_id":142811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 11:32:37] local.INFO: IMEI acknowledgment sent {"connection_id":142811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:32:38] local.INFO: TCP Data received {"connection_id":142811,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019fa22737b8012d7fa88005afe058000900292a..."} 
[2026-07-27 11:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa22737b8012d7fa88005afe058000900292a..."} 
[2026-07-27 11:32:38] local.INFO: Processing buffer {"connection_id":142811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa22737b8012d7fa88005afe058000900292a..."} 
[2026-07-27 11:32:38] local.INFO: Packet analysis {"connection_id":142811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa227"} 
[2026-07-27 11:32:38] local.INFO: Extracted packet for processing {"connection_id":142811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa227"} 
[2026-07-27 11:32:38] local.INFO: GPS Element Parsed {"raw_longitude":763340928,"raw_latitude":95412312,"longitude_deg":76.3340928,"latitude_deg":9.5412312,"altitude":9,"angle":41,"satellites":42,"speed":4,"hex_longitude":"2d7fa880","hex_latitude":"05afe058","is_valid_coordinates":true} 
[2026-07-27 11:32:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:32:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993767424001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:32:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826981229330432,"note":"Value kept but may cause issues"} 
[2026-07-27 11:32:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157097220096,"note":"Value kept but may cause issues"} 
[2026-07-27 11:32:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:32:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785131907000,"timestamp_ms":1785131907000,"timestamp_seconds":1785131907,"priority":1,"record_length":96,"hex_timestamp":"0000019fa22737b8"} 
[2026-07-27 11:32:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:32:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 11:32:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-27 11:32:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:32:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:32:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:32:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:32:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:32:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:32:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:32:38] 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-07-27 11:32:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 11:32:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 11:32:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993767424001,"66":27908,"250":206,"85":12544,"24":4,"16":358826981229330432,"45":9198391157097220096},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 11:32:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 11:32:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 11:32:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993767424001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:32:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 11:32:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 11:32:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826981229330432,"km_value":358826981229330.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:32:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157097220096,"description":"Unknown IO ID 45"} 
[2026-07-27 11:32:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993767424001,"power":27908,"unknown_250":206,"unknown_85":12544,"ignition":4,"odometer":null,"unknown_45":9198391157097220096}} 
[2026-07-27 11:32:38] local.INFO: DEBUG: GPS processor result {"connection_id":142811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:32:38] local.INFO: GPS data processed {"connection_id":142811,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:32:38] local.INFO: Acknowledgment sent {"connection_id":142811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:33:04] local.INFO: TCP Data received {"connection_id":143928,"ip":"117.224.117.115","data_length":795,"data_hex":"000000000000030f8e0a0000019fa229a8b8012d1840c007219350004e006728..."} 
[2026-07-27 11:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa229a8b8012d1840c007219350004e006728..."} 
[2026-07-27 11:33:04] local.INFO: Processing buffer {"connection_id":143928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa229a8b8012d1840c007219350004e006728..."} 
[2026-07-27 11:33:04] local.INFO: Packet analysis {"connection_id":143928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa229"} 
[2026-07-27 11:33:04] local.INFO: Extracted packet for processing {"connection_id":143928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa229"} 
[2026-07-27 11:33:04] local.INFO: GPS Element Parsed {"raw_longitude":756564160,"raw_latitude":119640912,"longitude_deg":75.656416,"latitude_deg":11.9640912,"altitude":78,"angle":103,"satellites":40,"speed":0,"hex_longitude":"2d1840c0","hex_latitude":"07219350","is_valid_coordinates":true} 
[2026-07-27 11:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:33:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993803776001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:33:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8821686732324864,"note":"Value kept but may cause issues"} 
[2026-07-27 11:33:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1747607792280358912,"note":"Value kept but may cause issues"} 
[2026-07-27 11:33:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:33:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785132067000,"timestamp_ms":1785132067000,"timestamp_seconds":1785132067,"priority":1,"record_length":96,"hex_timestamp":"0000019fa229a8b8"} 
[2026-07-27 11:33:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:33:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 11:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-27 11:33:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:33:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:33:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:33:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:33:04] local.INFO: Teltonika packet parsed successfully {"connection_id":143928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:33:04] local.INFO: Passing IMEI to GPS processor {"connection_id":143928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:33:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":143928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:33:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.117.115","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 11:33:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 11:33:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 11:33:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993803776001,"66":13928,"120":206,"28":31744,"24":0,"16":8821686732324864,"45":1747607792280358912},"client_ip":"117.224.117.115","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 11:33:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 11:33:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 11:33:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993803776001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:33:04] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 11:33:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 11:33:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8821686732324864,"km_value":8821686732324.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:33:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1747607792280358912,"description":"Unknown IO ID 45"} 
[2026-07-27 11:33:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993803776001,"power":13928,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1747607792280358912}} 
[2026-07-27 11:33:04] local.INFO: DEBUG: GPS processor result {"connection_id":143928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552850,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:33:04] local.INFO: GPS data processed {"connection_id":143928,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:33:04] local.INFO: Acknowledgment sent {"connection_id":143928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:33:09] local.INFO: TCP Data received {"connection_id":142811,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2273f88012d7fa94005afe1400009001529..."} 
[2026-07-27 11:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2273f88012d7fa94005afe1400009001529..."} 
[2026-07-27 11:33:09] local.INFO: Processing buffer {"connection_id":142811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2273f88012d7fa94005afe1400009001529..."} 
[2026-07-27 11:33:09] local.INFO: Packet analysis {"connection_id":142811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa227"} 
[2026-07-27 11:33:09] local.INFO: Extracted packet for processing {"connection_id":142811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa227"} 
[2026-07-27 11:33:09] local.INFO: GPS Element Parsed {"raw_longitude":763341120,"raw_latitude":95412544,"longitude_deg":76.334112,"latitude_deg":9.5412544,"altitude":9,"angle":21,"satellites":41,"speed":6,"hex_longitude":"2d7fa940","hex_latitude":"05afe140","is_valid_coordinates":true} 
[2026-07-27 11:33:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:33:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993768192001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:33:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358826998409199616,"note":"Value kept but may cause issues"} 
[2026-07-27 11:33:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198743000818145280,"note":"Value kept but may cause issues"} 
[2026-07-27 11:33:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:33:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785131909000,"timestamp_ms":1785131909000,"timestamp_seconds":1785131909,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2273f88"} 
[2026-07-27 11:33:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:33:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 11:33:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-27 11:33:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:33:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:33:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:33:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:33:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:33:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:33:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11: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-07-27 11:33:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 11:33:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 11:33:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993768192001,"66":27919,"250":206,"85":12544,"24":6,"16":358826998409199616,"45":9198743000818145280},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 11:33:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 11:33:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 11:33:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993768192001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:33:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 11:33:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 11:33:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358826998409199616,"km_value":358826998409199.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:33:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198743000818145280,"description":"Unknown IO ID 45"} 
[2026-07-27 11:33:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993768192001,"power":27919,"unknown_250":206,"unknown_85":12544,"ignition":6,"odometer":null,"unknown_45":9198743000818145280}} 
[2026-07-27 11:33:09] local.INFO: DEBUG: GPS processor result {"connection_id":142811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:33:09] local.INFO: GPS data processed {"connection_id":142811,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:33:09] local.INFO: Acknowledgment sent {"connection_id":142811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:33:34] local.INFO: TCP Data received {"connection_id":145232,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:33:34] local.INFO: Processing buffer {"connection_id":145232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:33:34] local.INFO: IMEI packet received {"connection_id":145232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 11:33:34] local.INFO: IMEI acknowledgment sent {"connection_id":145232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 11:33:35] local.INFO: TCP Data received {"connection_id":143928,"ip":"117.224.117.115","data_length":795,"data_hex":"000000000000030f8e0a0000019fa229fac0012d1840c007219350004e006725..."} 
[2026-07-27 11:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa229fac0012d1840c007219350004e006725..."} 
[2026-07-27 11:33:35] local.INFO: Processing buffer {"connection_id":143928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa229fac0012d1840c007219350004e006725..."} 
[2026-07-27 11:33:35] local.INFO: Packet analysis {"connection_id":143928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa229"} 
[2026-07-27 11:33:35] local.INFO: Extracted packet for processing {"connection_id":143928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa229"} 
[2026-07-27 11:33:35] local.INFO: GPS Element Parsed {"raw_longitude":756564160,"raw_latitude":119640912,"longitude_deg":75.656416,"latitude_deg":11.9640912,"altitude":78,"angle":103,"satellites":37,"speed":0,"hex_longitude":"2d1840c0","hex_latitude":"07219350","is_valid_coordinates":true} 
[2026-07-27 11:33:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:33:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993809152001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:33:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8821686732324864,"note":"Value kept but may cause issues"} 
[2026-07-27 11:33:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1747607792280358912,"note":"Value kept but may cause issues"} 
[2026-07-27 11:33:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:33:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785132088000,"timestamp_ms":1785132088000,"timestamp_seconds":1785132088,"priority":1,"record_length":96,"hex_timestamp":"0000019fa229fac0"} 
[2026-07-27 11:33:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:33:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 11:33:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-07-27 11:33:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:33:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:33:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:33:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:33:35] local.INFO: Teltonika packet parsed successfully {"connection_id":143928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:33:35] local.INFO: Passing IMEI to GPS processor {"connection_id":143928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:33:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":143928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:33:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.117.115","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 11:33:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 11:33:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 11:33:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993809152001,"66":13993,"120":206,"28":31744,"24":0,"16":8821686732324864,"45":1747607792280358912},"client_ip":"117.224.117.115","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 11:33:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 11:33:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 11:33:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993809152001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:33:36] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 11:33:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 11:33:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8821686732324864,"km_value":8821686732324.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:33:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1747607792280358912,"description":"Unknown IO ID 45"} 
[2026-07-27 11:33:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993809152001,"power":13993,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1747607792280358912}} 
[2026-07-27 11:33:36] local.INFO: DEBUG: GPS processor result {"connection_id":143928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552852,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:33:36] local.INFO: GPS data processed {"connection_id":143928,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:33:36] local.INFO: Acknowledgment sent {"connection_id":143928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:33:37] local.INFO: TCP Data received {"connection_id":145232,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:33:37] local.INFO: Processing buffer {"connection_id":145232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:33:37] local.INFO: IMEI packet received {"connection_id":145232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 11:33:37] local.INFO: IMEI acknowledgment sent {"connection_id":145232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:33:38] local.INFO: TCP Data received {"connection_id":145232,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2274758012d7fa9c005afe2680009000a2a..."} 
[2026-07-27 11:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2274758012d7fa9c005afe2680009000a2a..."} 
[2026-07-27 11:33:38] local.INFO: Processing buffer {"connection_id":145232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2274758012d7fa9c005afe2680009000a2a..."} 
[2026-07-27 11:33:38] local.INFO: Packet analysis {"connection_id":145232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa227"} 
[2026-07-27 11:33:38] local.INFO: Extracted packet for processing {"connection_id":145232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa227"} 
[2026-07-27 11:33:38] local.INFO: GPS Element Parsed {"raw_longitude":763341248,"raw_latitude":95412840,"longitude_deg":76.3341248,"latitude_deg":9.541284,"altitude":9,"angle":10,"satellites":42,"speed":6,"hex_longitude":"2d7fa9c0","hex_latitude":"05afe268","is_valid_coordinates":true} 
[2026-07-27 11:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:33:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993768704001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:33:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827011294101504,"note":"Value kept but may cause issues"} 
[2026-07-27 11:33:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198954107050737664,"note":"Value kept but may cause issues"} 
[2026-07-27 11:33:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:33:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785131911000,"timestamp_ms":1785131911000,"timestamp_seconds":1785131911,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2274758"} 
[2026-07-27 11:33:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:33:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 11:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-27 11:33:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:33:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:33:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:33:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:33:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:33:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:33:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:33:38] 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-07-27 11:33:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 11:33:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 11:33:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993768704001,"66":27821,"250":206,"85":12544,"24":6,"16":358827011294101504,"45":9198954107050737664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 11:33:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 11:33:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 11:33:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993768704001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:33:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 11:33:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 11:33:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827011294101504,"km_value":358827011294101.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:33:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198954107050737664,"description":"Unknown IO ID 45"} 
[2026-07-27 11:33:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993768704001,"power":27821,"unknown_250":206,"unknown_85":12544,"ignition":6,"odometer":null,"unknown_45":9198954107050737664}} 
[2026-07-27 11:33:38] local.INFO: DEBUG: GPS processor result {"connection_id":145232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:33:38] local.INFO: GPS data processed {"connection_id":145232,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:33:38] local.INFO: Acknowledgment sent {"connection_id":145232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:34:07] local.INFO: TCP Data received {"connection_id":143928,"ip":"117.224.117.115","data_length":795,"data_hex":"000000000000030f8e0a0000019fa22ba488012d18dc000720fab8003e008626..."} 
[2026-07-27 11:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa22ba488012d18dc000720fab8003e008626..."} 
[2026-07-27 11:34:07] local.INFO: Processing buffer {"connection_id":143928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa22ba488012d18dc000720fab8003e008626..."} 
[2026-07-27 11:34:07] local.INFO: Packet analysis {"connection_id":143928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa22b"} 
[2026-07-27 11:34:07] local.INFO: Extracted packet for processing {"connection_id":143928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa22b"} 
[2026-07-27 11:34:07] local.INFO: GPS Element Parsed {"raw_longitude":756603904,"raw_latitude":119601848,"longitude_deg":75.6603904,"latitude_deg":11.9601848,"altitude":62,"angle":134,"satellites":38,"speed":39,"hex_longitude":"2d18dc00","hex_latitude":"0720fab8","is_valid_coordinates":true} 
[2026-07-27 11: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-07-27 11:34:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993841920001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:34:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8824723274203136,"note":"Value kept but may cause issues"} 
[2026-07-27 11:34:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1790040145009913856,"note":"Value kept but may cause issues"} 
[2026-07-27 11:34:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:34:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785132197000,"timestamp_ms":1785132197000,"timestamp_seconds":1785132197,"priority":1,"record_length":96,"hex_timestamp":"0000019fa22ba488"} 
[2026-07-27 11:34:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:34:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 11: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-07-27 11:34:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11: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-07-27 11:34:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:34:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:34:07] local.INFO: Teltonika packet parsed successfully {"connection_id":143928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:34:07] local.INFO: Passing IMEI to GPS processor {"connection_id":143928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:34:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":143928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:34:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.117.115","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 11:34:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 11:34:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 11:34:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993841920001,"66":14265,"121":206,"28":31744,"24":39,"16":8824723274203136,"45":1790040145009913856},"client_ip":"117.224.117.115","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 11:34:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 11:34:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 11:34:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993841920001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:34:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 11:34:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 11:34:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8824723274203136,"km_value":8824723274203.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:34:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1790040145009913856,"description":"Unknown IO ID 45"} 
[2026-07-27 11:34:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993841920001,"power":14265,"unknown_121":206,"unknown_28":31744,"ignition":39,"odometer":null,"unknown_45":1790040145009913856}} 
[2026-07-27 11:34:07] local.INFO: DEBUG: GPS processor result {"connection_id":143928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552854,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:34:07] local.INFO: GPS data processed {"connection_id":143928,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:34:07] local.INFO: Acknowledgment sent {"connection_id":143928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:34:09] local.INFO: TCP Data received {"connection_id":145232,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2274b40012d7fa9c005afe2e0000a00032a..."} 
[2026-07-27 11:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2274b40012d7fa9c005afe2e0000a00032a..."} 
[2026-07-27 11:34:09] local.INFO: Processing buffer {"connection_id":145232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2274b40012d7fa9c005afe2e0000a00032a..."} 
[2026-07-27 11:34:09] local.INFO: Packet analysis {"connection_id":145232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa227"} 
[2026-07-27 11:34:09] local.INFO: Extracted packet for processing {"connection_id":145232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa227"} 
[2026-07-27 11:34:09] local.INFO: GPS Element Parsed {"raw_longitude":763341248,"raw_latitude":95412960,"longitude_deg":76.3341248,"latitude_deg":9.541296,"altitude":10,"angle":3,"satellites":42,"speed":5,"hex_longitude":"2d7fa9c0","hex_latitude":"05afe2e0","is_valid_coordinates":true} 
[2026-07-27 11:34:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:34:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993769216001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:34:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 11:34:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199094844539168768,"note":"Value kept but may cause issues"} 
[2026-07-27 11:34:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:34:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785131912000,"timestamp_ms":1785131912000,"timestamp_seconds":1785131912,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2274b40"} 
[2026-07-27 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-07-27 11:34:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-27 11:34:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 11:34:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:34:09] local.INFO: Teltonika packet parsed successfully {"connection_id":145232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:34:09] local.INFO: Passing IMEI to GPS processor {"connection_id":145232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:34:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":145232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:34: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-07-27 11:34:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 11:34:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 11:34:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993769216001,"66":27821,"250":206,"85":12544,"24":5,"16":358827015589068800,"45":9199094844539168768},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 11:34:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 11:34:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 11:34:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993769216001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:34:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 11:34:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 11:34:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:34:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199094844539168768,"description":"Unknown IO ID 45"} 
[2026-07-27 11:34:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993769216001,"power":27821,"unknown_250":206,"unknown_85":12544,"ignition":5,"odometer":null,"unknown_45":9199094844539168768}} 
[2026-07-27 11:34:09] local.INFO: DEBUG: GPS processor result {"connection_id":145232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:34:09] local.INFO: GPS data processed {"connection_id":145232,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:34:09] local.INFO: Acknowledgment sent {"connection_id":145232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:34:32] local.INFO: TCP Data received {"connection_id":142937,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:34:32] local.INFO: Processing buffer {"connection_id":142937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:34:32] local.INFO: IMEI packet received {"connection_id":142937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 11:34:32] local.INFO: IMEI acknowledgment sent {"connection_id":142937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 11:34:37] local.INFO: TCP Data received {"connection_id":142937,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:34:37] local.INFO: Processing buffer {"connection_id":142937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:34:37] local.INFO: IMEI packet received {"connection_id":142937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 11:34:37] local.INFO: IMEI acknowledgment sent {"connection_id":142937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:34:38] local.INFO: TCP Data received {"connection_id":142937,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019fa22756f8012d7fa9c005afe398000a015229..."} 
[2026-07-27 11:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142937,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa22756f8012d7fa9c005afe398000a015229..."} 
[2026-07-27 11:34:38] local.INFO: Processing buffer {"connection_id":142937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa22756f8012d7fa9c005afe398000a015229..."} 
[2026-07-27 11:34:38] local.INFO: Packet analysis {"connection_id":142937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa227"} 
[2026-07-27 11:34:38] local.INFO: Extracted packet for processing {"connection_id":142937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa227"} 
[2026-07-27 11:34:38] local.INFO: GPS Element Parsed {"raw_longitude":763341248,"raw_latitude":95413144,"longitude_deg":76.3341248,"latitude_deg":9.5413144,"altitude":10,"angle":338,"satellites":41,"speed":0,"hex_longitude":"2d7fa9c0","hex_latitude":"05afe398","is_valid_coordinates":true} 
[2026-07-27 11:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:34:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993769472001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:34:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 11:34:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199094844539199488,"note":"Value kept but may cause issues"} 
[2026-07-27 11:34:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:34:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785131915000,"timestamp_ms":1785131915000,"timestamp_seconds":1785131915,"priority":1,"record_length":96,"hex_timestamp":"0000019fa22756f8"} 
[2026-07-27 11:34:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:34:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 11:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-27 11:34:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:34:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:34:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:34:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:34:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:34:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:34:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:34:38] 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-07-27 11:34:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 11:34:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 11:34:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993769472001,"66":27050,"250":206,"85":12544,"24":0,"16":358827015589068800,"45":9199094844539199488},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 11:34:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 11:34:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 11:34:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993769472001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:34:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 11:34:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 11:34:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:34:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199094844539199488,"description":"Unknown IO ID 45"} 
[2026-07-27 11:34:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993769472001,"power":27050,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199094844539199488}} 
[2026-07-27 11:34:38] local.INFO: DEBUG: GPS processor result {"connection_id":142937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:34:38] local.INFO: GPS data processed {"connection_id":142937,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:34:38] local.INFO: Acknowledgment sent {"connection_id":142937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:34:54] local.INFO: TCP Data received {"connection_id":143928,"ip":"117.224.117.115","data_length":795,"data_hex":"000000000000030f8e0a0000019fa22bb428012d18e6000720ef10003d009327..."} 
[2026-07-27 11:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa22bb428012d18e6000720ef10003d009327..."} 
[2026-07-27 11:34:54] local.INFO: Processing buffer {"connection_id":143928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa22bb428012d18e6000720ef10003d009327..."} 
[2026-07-27 11:34:54] local.INFO: Packet analysis {"connection_id":143928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa22b"} 
[2026-07-27 11:34:54] local.INFO: Extracted packet for processing {"connection_id":143928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa22b"} 
[2026-07-27 11:34:54] local.INFO: GPS Element Parsed {"raw_longitude":756606464,"raw_latitude":119598864,"longitude_deg":75.6606464,"latitude_deg":11.9598864,"altitude":61,"angle":147,"satellites":39,"speed":38,"hex_longitude":"2d18e600","hex_latitude":"0720ef10","is_valid_coordinates":true} 
[2026-07-27 11:34:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:34:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993842432001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:34:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8824912252764160,"note":"Value kept but may cause issues"} 
[2026-07-27 11:34:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1791306782404687872,"note":"Value kept but may cause issues"} 
[2026-07-27 11:34: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-07-27 11:34:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785132201000,"timestamp_ms":1785132201000,"timestamp_seconds":1785132201,"priority":1,"record_length":96,"hex_timestamp":"0000019fa22bb428"} 
[2026-07-27 11:34:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:34:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 11:34:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-27 11:34:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:34:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:34:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:34:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:34:54] local.INFO: Teltonika packet parsed successfully {"connection_id":143928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:34:54] local.INFO: Passing IMEI to GPS processor {"connection_id":143928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:34:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":143928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:34:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.117.115","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 11:34:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 11:34:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 11:34:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993842432001,"66":13928,"121":206,"28":31744,"24":38,"16":8824912252764160,"45":1791306782404687872},"client_ip":"117.224.117.115","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 11:34:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 11:34:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 11:34:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993842432001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:34:54] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 11:34:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 11:34:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8824912252764160,"km_value":8824912252764.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:34:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1791306782404687872,"description":"Unknown IO ID 45"} 
[2026-07-27 11:34:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993842432001,"power":13928,"unknown_121":206,"unknown_28":31744,"ignition":38,"odometer":null,"unknown_45":1791306782404687872}} 
[2026-07-27 11:34:54] local.INFO: DEBUG: GPS processor result {"connection_id":143928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552857,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:34:54] local.INFO: GPS data processed {"connection_id":143928,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:34:54] local.INFO: Acknowledgment sent {"connection_id":143928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:35:00] local.INFO: TCP Data received {"connection_id":143929,"ip":"117.224.117.115","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143929,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:35:00] local.INFO: Processing buffer {"connection_id":143929,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:35:00] local.INFO: IMEI packet received {"connection_id":143929,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 11:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":143929,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 11:35:00] local.INFO: TCP Data received {"connection_id":143929,"ip":"117.224.117.115","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143929,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:35:00] local.INFO: Processing buffer {"connection_id":143929,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:35:00] local.INFO: IMEI packet received {"connection_id":143929,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 11:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":143929,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:35:06] local.INFO: TCP Data received {"connection_id":143929,"ip":"117.224.117.115","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143929,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:35:06] local.INFO: Processing buffer {"connection_id":143929,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:35:06] local.INFO: IMEI packet received {"connection_id":143929,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 11:35:06] local.INFO: IMEI acknowledgment sent {"connection_id":143929,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:35:07] local.INFO: TCP Data received {"connection_id":143929,"ip":"117.224.117.115","data_length":795,"data_hex":"000000000000030f8e0a0000019fa22bcf80012d18f6000720d898003a008428..."} 
[2026-07-27 11:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143929,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa22bcf80012d18f6000720d898003a008428..."} 
[2026-07-27 11:35:07] local.INFO: Processing buffer {"connection_id":143929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa22bcf80012d18f6000720d898003a008428..."} 
[2026-07-27 11:35:07] local.INFO: Packet analysis {"connection_id":143929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa22b"} 
[2026-07-27 11:35:07] local.INFO: Extracted packet for processing {"connection_id":143929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa22b"} 
[2026-07-27 11:35:07] local.INFO: GPS Element Parsed {"raw_longitude":756610560,"raw_latitude":119593112,"longitude_deg":75.661056,"latitude_deg":11.9593112,"altitude":58,"angle":132,"satellites":40,"speed":40,"hex_longitude":"2d18f600","hex_latitude":"0720d898","is_valid_coordinates":true} 
[2026-07-27 11:35:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:35:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993843456001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:35:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8825255850147840,"note":"Value kept but may cause issues"} 
[2026-07-27 11:35:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1794121532171030528,"note":"Value kept but may cause issues"} 
[2026-07-27 11:35:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:35:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785132208000,"timestamp_ms":1785132208000,"timestamp_seconds":1785132208,"priority":1,"record_length":96,"hex_timestamp":"0000019fa22bcf80"} 
[2026-07-27 11:35:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:35:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 11:35:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-07-27 11:35:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:35:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:35:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:35:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:35:07] local.INFO: Teltonika packet parsed successfully {"connection_id":143929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:35:07] local.INFO: Passing IMEI to GPS processor {"connection_id":143929,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:35:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":143929,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:35:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.117.115","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 11:35:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 11:35:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 11:35:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993843456001,"66":14048,"121":206,"28":31744,"24":40,"16":8825255850147840,"45":1794121532171030528},"client_ip":"117.224.117.115","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 11:35:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 11:35:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 11:35:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993843456001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:35:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 11:35:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 11:35:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8825255850147840,"km_value":8825255850147.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:35:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1794121532171030528,"description":"Unknown IO ID 45"} 
[2026-07-27 11:35:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993843456001,"power":14048,"unknown_121":206,"unknown_28":31744,"ignition":40,"odometer":null,"unknown_45":1794121532171030528}} 
[2026-07-27 11:35:07] local.INFO: DEBUG: GPS processor result {"connection_id":143929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552858,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:35:07] local.INFO: GPS data processed {"connection_id":143929,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:35:07] local.INFO: Acknowledgment sent {"connection_id":143929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:35:09] local.INFO: TCP Data received {"connection_id":142937,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019fa22beec0012d7faac005afe4b00004015227..."} 
[2026-07-27 11:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142937,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa22beec0012d7faac005afe4b00004015227..."} 
[2026-07-27 11:35:09] local.INFO: Processing buffer {"connection_id":142937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa22beec0012d7faac005afe4b00004015227..."} 
[2026-07-27 11:35:09] local.INFO: Packet analysis {"connection_id":142937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa22b"} 
[2026-07-27 11:35:09] local.INFO: Extracted packet for processing {"connection_id":142937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa22b"} 
[2026-07-27 11:35:09] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":4,"angle":338,"satellites":39,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 11:35:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993770240001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:35:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 11:35:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199094844539246592,"note":"Value kept but may cause issues"} 
[2026-07-27 11:35:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:35:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785132216000,"timestamp_ms":1785132216000,"timestamp_seconds":1785132216,"priority":1,"record_length":96,"hex_timestamp":"0000019fa22beec0"} 
[2026-07-27 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-07-27 11:35:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":105,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-07-27 11:35:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2253,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 11:35:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:35:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:35:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:35:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 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-07-27 11:35:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 11:35:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 11:35:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993770240001,"66":26115,"27":206,"85":12544,"24":0,"16":358827015589068800,"45":9199094844539246592},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 11:35:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 11:35:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 11:35:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993770240001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:35:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 11:35:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 11:35:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:35:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199094844539246592,"description":"Unknown IO ID 45"} 
[2026-07-27 11:35:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993770240001,"power":26115,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199094844539246592}} 
[2026-07-27 11:35:09] local.INFO: DEBUG: GPS processor result {"connection_id":142937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:35:09] local.INFO: GPS data processed {"connection_id":142937,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:35:09] local.INFO: Acknowledgment sent {"connection_id":142937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:35:37] local.INFO: TCP Data received {"connection_id":142812,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:35:37] local.INFO: Processing buffer {"connection_id":142812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:35:37] local.INFO: IMEI packet received {"connection_id":142812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 11:35:37] local.INFO: IMEI acknowledgment sent {"connection_id":142812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 11:35:42] local.INFO: TCP Data received {"connection_id":142812,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:35:42] local.INFO: Processing buffer {"connection_id":142812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:35:42] local.INFO: IMEI packet received {"connection_id":142812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 11:35:42] local.INFO: IMEI acknowledgment sent {"connection_id":142812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:35:43] local.INFO: TCP Data received {"connection_id":142812,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019fa22beec0012d7faac005afe4b00004015227..."} 
[2026-07-27 11:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa22beec0012d7faac005afe4b00004015227..."} 
[2026-07-27 11:35:43] local.INFO: Processing buffer {"connection_id":142812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa22beec0012d7faac005afe4b00004015227..."} 
[2026-07-27 11:35:43] local.INFO: Packet analysis {"connection_id":142812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa22b"} 
[2026-07-27 11:35:43] local.INFO: Extracted packet for processing {"connection_id":142812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa22b"} 
[2026-07-27 11:35:43] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":4,"angle":338,"satellites":39,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 11:35:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:35:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993770240001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:35:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 11:35:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199094844539246592,"note":"Value kept but may cause issues"} 
[2026-07-27 11:35:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:35:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785132216000,"timestamp_ms":1785132216000,"timestamp_seconds":1785132216,"priority":1,"record_length":96,"hex_timestamp":"0000019fa22beec0"} 
[2026-07-27 11:35:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:35:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 11: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":105,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-07-27 11:35:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2253,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:35:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:35:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:35:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:35:43] local.INFO: Teltonika packet parsed successfully {"connection_id":142812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:35:43] local.INFO: Passing IMEI to GPS processor {"connection_id":142812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:35:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":142812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:35: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-07-27 11:35:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 11:35:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 11:35:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993770240001,"66":26115,"27":206,"85":12544,"24":0,"16":358827015589068800,"45":9199094844539246592},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 11:35:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 11:35:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 11:35:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993770240001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:35:43] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 11:35:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 11:35:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:35:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199094844539246592,"description":"Unknown IO ID 45"} 
[2026-07-27 11:35:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993770240001,"power":26115,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199094844539246592}} 
[2026-07-27 11:35:43] local.INFO: DEBUG: GPS processor result {"connection_id":142812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:35:43] local.INFO: GPS data processed {"connection_id":142812,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:35:43] local.INFO: Acknowledgment sent {"connection_id":142812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:35:48] local.INFO: TCP Data received {"connection_id":142812,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019fa22beec0012d7faac005afe4b00004015227..."} 
[2026-07-27 11:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa22beec0012d7faac005afe4b00004015227..."} 
[2026-07-27 11:35:48] local.INFO: Processing buffer {"connection_id":142812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa22beec0012d7faac005afe4b00004015227..."} 
[2026-07-27 11:35:48] local.INFO: Packet analysis {"connection_id":142812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa22b"} 
[2026-07-27 11:35:48] local.INFO: Extracted packet for processing {"connection_id":142812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa22b"} 
[2026-07-27 11:35:48] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":4,"angle":338,"satellites":39,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 11:35:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:35:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993770240001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:35:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 11:35:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199094844539246592,"note":"Value kept but may cause issues"} 
[2026-07-27 11:35:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:35:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785132216000,"timestamp_ms":1785132216000,"timestamp_seconds":1785132216,"priority":1,"record_length":96,"hex_timestamp":"0000019fa22beec0"} 
[2026-07-27 11:35:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:35:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 11:35:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-07-27 11:35:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2253,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:35:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:35:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:35:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:35:48] local.INFO: Teltonika packet parsed successfully {"connection_id":142812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:35:48] local.INFO: Passing IMEI to GPS processor {"connection_id":142812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:35:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":142812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:35:48] 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-07-27 11:35:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 11:35:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 11:35:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993770240001,"66":26115,"27":206,"85":12544,"24":0,"16":358827015589068800,"45":9199094844539246592},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 11:35:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 11:35:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 11:35:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993770240001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:35:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 11:35:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 11:35:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:35:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199094844539246592,"description":"Unknown IO ID 45"} 
[2026-07-27 11:35:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993770240001,"power":26115,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199094844539246592}} 
[2026-07-27 11:35:48] local.INFO: DEBUG: GPS processor result {"connection_id":142812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:35:48] local.INFO: GPS data processed {"connection_id":142812,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:35:48] local.INFO: Acknowledgment sent {"connection_id":142812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:35:48] local.INFO: TCP Data received {"connection_id":143929,"ip":"117.224.117.115","data_length":795,"data_hex":"000000000000030f8e0a0000019fa22be308012d1905000720ce100038007924..."} 
[2026-07-27 11:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143929,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa22be308012d1905000720ce100038007924..."} 
[2026-07-27 11:35:48] local.INFO: Processing buffer {"connection_id":143929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa22be308012d1905000720ce100038007924..."} 
[2026-07-27 11:35:48] local.INFO: Packet analysis {"connection_id":143929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa22b"} 
[2026-07-27 11:35:48] local.INFO: Extracted packet for processing {"connection_id":143929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa22b"} 
[2026-07-27 11:35:48] local.INFO: GPS Element Parsed {"raw_longitude":756614400,"raw_latitude":119590416,"longitude_deg":75.66144,"latitude_deg":11.9590416,"altitude":56,"angle":121,"satellites":36,"speed":32,"hex_longitude":"2d190500","hex_latitude":"0720ce10","is_valid_coordinates":true} 
[2026-07-27 11:35:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:35:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993845248001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:35:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8825479188447232,"note":"Value kept but may cause issues"} 
[2026-07-27 11:35:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1798625131796928512,"note":"Value kept but may cause issues"} 
[2026-07-27 11:35: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-07-27 11:35:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785132213000,"timestamp_ms":1785132213000,"timestamp_seconds":1785132213,"priority":1,"record_length":96,"hex_timestamp":"0000019fa22be308"} 
[2026-07-27 11:35:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:35:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 11:35:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-07-27 11:35: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-07-27 11:35:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:35:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:35:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:35:48] local.INFO: Teltonika packet parsed successfully {"connection_id":143929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:35:48] local.INFO: Passing IMEI to GPS processor {"connection_id":143929,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:35:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":143929,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:35:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.117.115","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 11:35:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 11:35:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 11:35:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993845248001,"66":13993,"121":206,"28":31744,"24":32,"16":8825479188447232,"45":1798625131796928512},"client_ip":"117.224.117.115","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 11:35:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 11:35:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 11:35:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993845248001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:35:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 11:35:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 11:35:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8825479188447232,"km_value":8825479188447.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:35:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1798625131796928512,"description":"Unknown IO ID 45"} 
[2026-07-27 11:35:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993845248001,"power":13993,"unknown_121":206,"unknown_28":31744,"ignition":32,"odometer":null,"unknown_45":1798625131796928512}} 
[2026-07-27 11:35:48] local.INFO: DEBUG: GPS processor result {"connection_id":143929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552862,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:35:48] local.INFO: GPS data processed {"connection_id":143929,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:35:48] local.INFO: Acknowledgment sent {"connection_id":143929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:36:15] local.INFO: TCP Data received {"connection_id":145233,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145233,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:36:15] local.INFO: Processing buffer {"connection_id":145233,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:36:15] local.INFO: IMEI packet received {"connection_id":145233,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 11:36:15] local.INFO: IMEI acknowledgment sent {"connection_id":145233,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 11:36:18] local.INFO: TCP Data received {"connection_id":145233,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:36:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145233,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:36:18] local.INFO: Processing buffer {"connection_id":145233,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:36:18] local.INFO: IMEI packet received {"connection_id":145233,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 11:36:18] local.INFO: IMEI acknowledgment sent {"connection_id":145233,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:36:19] local.INFO: TCP Data received {"connection_id":145233,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa22d65c0012d190a400720bca00035001928..."} 
[2026-07-27 11:36:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa22d65c0012d190a400720bca00035001928..."} 
[2026-07-27 11:36:19] local.INFO: Processing buffer {"connection_id":145233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa22d65c0012d190a400720bca00035001928..."} 
[2026-07-27 11:36:19] local.INFO: Packet analysis {"connection_id":145233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa22d"} 
[2026-07-27 11:36:19] local.INFO: Extracted packet for processing {"connection_id":145233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa22d"} 
[2026-07-27 11:36:19] local.INFO: GPS Element Parsed {"raw_longitude":756615744,"raw_latitude":119585952,"longitude_deg":75.6615744,"latitude_deg":11.9585952,"altitude":53,"angle":25,"satellites":40,"speed":5,"hex_longitude":"2d190a40","hex_latitude":"0720bca0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 11:36:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993869824001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:36:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8825994584522752,"note":"Value kept but may cause issues"} 
[2026-07-27 11:36:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1804113893840863232,"note":"Value kept but may cause issues"} 
[2026-07-27 11:36:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:36:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785132312000,"timestamp_ms":1785132312000,"timestamp_seconds":1785132312,"priority":1,"record_length":96,"hex_timestamp":"0000019fa22d65c0"} 
[2026-07-27 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-07-27 11:36: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-07-27 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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-27 11: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-07-27 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-07-27 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-07-27 11:36:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:36:19] local.INFO: Teltonika packet parsed successfully {"connection_id":145233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:36:19] local.INFO: Passing IMEI to GPS processor {"connection_id":145233,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:36:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":145233,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:36:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 11:36:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 11:36:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 11:36:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993869824001,"66":14254,"106":206,"83":41984,"24":5,"16":8825994584522752,"45":1804113893840863232},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-27 11:36:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 11:36:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 11:36:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993869824001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:36:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-27 11:36:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-27 11:36:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8825994584522752,"km_value":8825994584522.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:36:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1804113893840863232,"description":"Unknown IO ID 45"} 
[2026-07-27 11:36:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993869824001,"power":14254,"unknown_106":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1804113893840863232}} 
[2026-07-27 11:36:19] local.INFO: DEBUG: GPS processor result {"connection_id":145233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552863,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:36:19] local.INFO: GPS data processed {"connection_id":145233,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:36:19] local.INFO: Acknowledgment sent {"connection_id":145233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:36:20] local.INFO: TCP Data received {"connection_id":145233,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa22d88e8012d190d800720c5000036000c28..."} 
[2026-07-27 11:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa22d88e8012d190d800720c5000036000c28..."} 
[2026-07-27 11:36:20] local.INFO: Processing buffer {"connection_id":145233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa22d88e8012d190d800720c5000036000c28..."} 
[2026-07-27 11:36:20] local.INFO: Packet analysis {"connection_id":145233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa22d"} 
[2026-07-27 11:36:20] local.INFO: Extracted packet for processing {"connection_id":145233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa22d"} 
[2026-07-27 11:36:20] local.INFO: GPS Element Parsed {"raw_longitude":756616576,"raw_latitude":119588096,"longitude_deg":75.6616576,"latitude_deg":11.9588096,"altitude":54,"angle":12,"satellites":40,"speed":10,"hex_longitude":"2d190d80","hex_latitude":"0720c500","is_valid_coordinates":true} 
[2026-07-27 11: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-07-27 11:36:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993871872001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:36:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8826106253672448,"note":"Value kept but may cause issues"} 
[2026-07-27 11:36:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1804325000073486336,"note":"Value kept but may cause issues"} 
[2026-07-27 11:36: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-07-27 11:36:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785132321000,"timestamp_ms":1785132321000,"timestamp_seconds":1785132321,"priority":1,"record_length":96,"hex_timestamp":"0000019fa22d88e8"} 
[2026-07-27 11:36:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:36:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 11: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":55,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-27 11:36:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2039,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11: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-07-27 11:36:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:36:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:36:20] local.INFO: Teltonika packet parsed successfully {"connection_id":145233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:36:20] local.INFO: Passing IMEI to GPS processor {"connection_id":145233,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:36:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":145233,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:36:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 11:36:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 11:36:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 11:36:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993871872001,"66":14298,"121":206,"28":31744,"24":10,"16":8826106253672448,"45":1804325000073486336},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 11:36:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 11:36:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 11:36:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993871872001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:36:21] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 11:36:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 11:36:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8826106253672448,"km_value":8826106253672.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:36:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1804325000073486336,"description":"Unknown IO ID 45"} 
[2026-07-27 11:36:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993871872001,"power":14298,"unknown_121":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1804325000073486336}} 
[2026-07-27 11:36:21] local.INFO: DEBUG: GPS processor result {"connection_id":145233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552864,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:36:21] local.INFO: GPS data processed {"connection_id":145233,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:36:21] local.INFO: Acknowledgment sent {"connection_id":145233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:36:32] local.INFO: TCP Data received {"connection_id":142813,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:36:32] local.INFO: Processing buffer {"connection_id":142813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:36:32] local.INFO: IMEI packet received {"connection_id":142813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 11:36:32] local.INFO: IMEI acknowledgment sent {"connection_id":142813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 11:36:37] local.INFO: TCP Data received {"connection_id":142813,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:36:37] local.INFO: Processing buffer {"connection_id":142813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:36:37] local.INFO: IMEI packet received {"connection_id":142813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 11:36:37] local.INFO: IMEI acknowledgment sent {"connection_id":142813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:36:38] local.INFO: TCP Data received {"connection_id":142813,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019fa22beec0012d7faac005afe4b00004015227..."} 
[2026-07-27 11:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa22beec0012d7faac005afe4b00004015227..."} 
[2026-07-27 11:36:38] local.INFO: Processing buffer {"connection_id":142813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa22beec0012d7faac005afe4b00004015227..."} 
[2026-07-27 11:36:38] local.INFO: Packet analysis {"connection_id":142813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa22b"} 
[2026-07-27 11:36:38] local.INFO: Extracted packet for processing {"connection_id":142813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa22b"} 
[2026-07-27 11:36:38] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":4,"angle":338,"satellites":39,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 11:36:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:36:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993770240001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:36:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 11:36:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199094844539246592,"note":"Value kept but may cause issues"} 
[2026-07-27 11:36:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:36:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785132216000,"timestamp_ms":1785132216000,"timestamp_seconds":1785132216,"priority":1,"record_length":96,"hex_timestamp":"0000019fa22beec0"} 
[2026-07-27 11:36:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:36:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 11:36:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-07-27 11:36:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2253,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:36:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:36:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:36:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:36:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:36:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:36:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:36:38] 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-07-27 11:36:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 11:36:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 11:36:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993770240001,"66":26115,"27":206,"85":12544,"24":0,"16":358827015589068800,"45":9199094844539246592},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 11:36:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 11:36:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 11:36:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993770240001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:36:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 11:36:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 11:36:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:36:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199094844539246592,"description":"Unknown IO ID 45"} 
[2026-07-27 11:36:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993770240001,"power":26115,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199094844539246592}} 
[2026-07-27 11:36:38] local.INFO: DEBUG: GPS processor result {"connection_id":142813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:36:38] local.INFO: GPS data processed {"connection_id":142813,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:36:38] local.INFO: Acknowledgment sent {"connection_id":142813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:36:56] local.INFO: TCP Data received {"connection_id":142938,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142938,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:36:56] local.INFO: Processing buffer {"connection_id":142938,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:36:56] local.INFO: IMEI packet received {"connection_id":142938,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 11:36:56] local.INFO: IMEI acknowledgment sent {"connection_id":142938,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 11:36:59] local.INFO: TCP Data received {"connection_id":142938,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142938,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:36:59] local.INFO: Processing buffer {"connection_id":142938,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:36:59] local.INFO: IMEI packet received {"connection_id":142938,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 11:36:59] local.INFO: IMEI acknowledgment sent {"connection_id":142938,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:37:00] local.INFO: TCP Data received {"connection_id":142938,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142938,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:37:00] local.INFO: Processing buffer {"connection_id":142938,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:37:00] local.INFO: IMEI packet received {"connection_id":142938,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 11:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":142938,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:37:05] local.INFO: TCP Data received {"connection_id":142938,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142938,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:37:05] local.INFO: Processing buffer {"connection_id":142938,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:37:05] local.INFO: IMEI packet received {"connection_id":142938,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 11:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":142938,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:37:07] local.INFO: TCP Data received {"connection_id":142938,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa22e2cf8012d18d1c0072118280040000126..."} 
[2026-07-27 11:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa22e2cf8012d18d1c0072118280040000126..."} 
[2026-07-27 11:37:07] local.INFO: Processing buffer {"connection_id":142938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa22e2cf8012d18d1c0072118280040000126..."} 
[2026-07-27 11:37:07] local.INFO: Packet analysis {"connection_id":142938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa22e"} 
[2026-07-27 11:37:07] local.INFO: Extracted packet for processing {"connection_id":142938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa22e"} 
[2026-07-27 11:37:07] local.INFO: GPS Element Parsed {"raw_longitude":756601280,"raw_latitude":119609384,"longitude_deg":75.660128,"latitude_deg":11.9609384,"altitude":64,"angle":1,"satellites":38,"speed":37,"hex_longitude":"2d18d1c0","hex_latitude":"07211828","is_valid_coordinates":true} 
[2026-07-27 11:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:37:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993883648001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:37:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8827433398566912,"note":"Value kept but may cause issues"} 
[2026-07-27 11:37:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789125351335952384,"note":"Value kept but may cause issues"} 
[2026-07-27 11:37:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:37:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785132363000,"timestamp_ms":1785132363000,"timestamp_seconds":1785132363,"priority":1,"record_length":96,"hex_timestamp":"0000019fa22e2cf8"} 
[2026-07-27 11:37:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:37:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 11:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-07-27 11:37:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:37:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:37:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:37:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:37:07] local.INFO: Teltonika packet parsed successfully {"connection_id":142938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:37:07] local.INFO: Passing IMEI to GPS processor {"connection_id":142938,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:37:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":142938,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:37:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 11:37:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 11:37:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 11:37:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993883648001,"66":14363,"121":206,"28":31744,"24":37,"16":8827433398566912,"45":1789125351335952384},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 11:37:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 11:37:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 11:37:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993883648001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:37:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 11:37:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 11:37:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8827433398566912,"km_value":8827433398566.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:37:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789125351335952384,"description":"Unknown IO ID 45"} 
[2026-07-27 11:37:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993883648001,"power":14363,"unknown_121":206,"unknown_28":31744,"ignition":37,"odometer":null,"unknown_45":1789125351335952384}} 
[2026-07-27 11:37:07] local.INFO: DEBUG: GPS processor result {"connection_id":142938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552866,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:37:07] local.INFO: GPS data processed {"connection_id":142938,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:37:07] local.INFO: Acknowledgment sent {"connection_id":142938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:37:09] local.INFO: TCP Data received {"connection_id":142813,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019fa22beec0012d7faac005afe4b00004015227..."} 
[2026-07-27 11:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa22beec0012d7faac005afe4b00004015227..."} 
[2026-07-27 11:37:09] local.INFO: Processing buffer {"connection_id":142813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa22beec0012d7faac005afe4b00004015227..."} 
[2026-07-27 11:37:09] local.INFO: Packet analysis {"connection_id":142813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa22b"} 
[2026-07-27 11:37:09] local.INFO: Extracted packet for processing {"connection_id":142813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa22b"} 
[2026-07-27 11:37:09] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":4,"angle":338,"satellites":39,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 11:37:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993770240001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:37:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 11:37:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199094844539246592,"note":"Value kept but may cause issues"} 
[2026-07-27 11:37:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:37:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785132216000,"timestamp_ms":1785132216000,"timestamp_seconds":1785132216,"priority":1,"record_length":96,"hex_timestamp":"0000019fa22beec0"} 
[2026-07-27 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-07-27 11:37:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":105,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-07-27 11:37:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2253,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 11:37:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:37:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:37:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:37:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:37: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-07-27 11:37:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 11:37:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 11:37:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993770240001,"66":26115,"27":206,"85":12544,"24":0,"16":358827015589068800,"45":9199094844539246592},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 11:37:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 11:37:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 11:37:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993770240001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:37:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 11:37:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 11:37:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:37:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199094844539246592,"description":"Unknown IO ID 45"} 
[2026-07-27 11:37:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993770240001,"power":26115,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199094844539246592}} 
[2026-07-27 11:37:09] local.INFO: DEBUG: GPS processor result {"connection_id":142813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:37:09] local.INFO: GPS data processed {"connection_id":142813,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:37:09] local.INFO: Acknowledgment sent {"connection_id":142813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:37:32] local.INFO: TCP Data received {"connection_id":145234,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:37:32] local.INFO: Processing buffer {"connection_id":145234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:37:32] local.INFO: IMEI packet received {"connection_id":145234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 11:37:32] local.INFO: IMEI acknowledgment sent {"connection_id":145234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 11:37:37] local.INFO: TCP Data received {"connection_id":145234,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:37:37] local.INFO: Processing buffer {"connection_id":145234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:37:37] local.INFO: IMEI packet received {"connection_id":145234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 11:37:37] local.INFO: IMEI acknowledgment sent {"connection_id":145234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:37:38] local.INFO: TCP Data received {"connection_id":142938,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa22e6790012d18d1c0072127680042015e27..."} 
[2026-07-27 11:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa22e6790012d18d1c0072127680042015e27..."} 
[2026-07-27 11:37:38] local.INFO: Processing buffer {"connection_id":142938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa22e6790012d18d1c0072127680042015e27..."} 
[2026-07-27 11:37:38] local.INFO: Packet analysis {"connection_id":142938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa22e"} 
[2026-07-27 11:37:38] local.INFO: Extracted packet for processing {"connection_id":142938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa22e"} 
[2026-07-27 11:37:38] local.INFO: GPS Element Parsed {"raw_longitude":756601280,"raw_latitude":119613288,"longitude_deg":75.660128,"latitude_deg":11.9613288,"altitude":66,"angle":350,"satellites":39,"speed":13,"hex_longitude":"2d18d1c0","hex_latitude":"07212768","is_valid_coordinates":true} 
[2026-07-27 11:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:37:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993884928001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:37:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8827622377127936,"note":"Value kept but may cause issues"} 
[2026-07-27 11:37:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788421663895332864,"note":"Value kept but may cause issues"} 
[2026-07-27 11:37:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:37:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785132378000,"timestamp_ms":1785132378000,"timestamp_seconds":1785132378,"priority":1,"record_length":96,"hex_timestamp":"0000019fa22e6790"} 
[2026-07-27 11:37:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:37:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 11:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-07-27 11:37:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:37:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:37:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:37:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:37:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:37:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142938,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:37:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142938,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:37:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 11:37:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 11:37:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 11:37:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993884928001,"66":14243,"121":206,"28":31744,"24":13,"16":8827622377127936,"45":1788421663895332864},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 11:37:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 11:37:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 11:37:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993884928001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:37:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 11:37:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 11:37:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8827622377127936,"km_value":8827622377127.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:37:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788421663895332864,"description":"Unknown IO ID 45"} 
[2026-07-27 11:37:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993884928001,"power":14243,"unknown_121":206,"unknown_28":31744,"ignition":13,"odometer":null,"unknown_45":1788421663895332864}} 
[2026-07-27 11:37:38] local.INFO: TCP Data received {"connection_id":145234,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa22beec0012d7faac005afe4b00004015227..."} 
[2026-07-27 11:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa22beec0012d7faac005afe4b00004015227..."} 
[2026-07-27 11:37:38] local.INFO: Processing buffer {"connection_id":145234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa22beec0012d7faac005afe4b00004015227..."} 
[2026-07-27 11:37:38] local.INFO: Packet analysis {"connection_id":145234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa22b"} 
[2026-07-27 11:37:38] local.INFO: Extracted packet for processing {"connection_id":145234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa22b"} 
[2026-07-27 11:37:38] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":4,"angle":338,"satellites":39,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 11:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:37:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993770240001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:37:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 11:37:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199094844539246592,"note":"Value kept but may cause issues"} 
[2026-07-27 11:37:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:37:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785132216000,"timestamp_ms":1785132216000,"timestamp_seconds":1785132216,"priority":1,"record_length":96,"hex_timestamp":"0000019fa22beec0"} 
[2026-07-27 11:37:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:37:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 11:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-07-27 11:37:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2253,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:37:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:37:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:37:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:37:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:37:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:37:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:37:38] 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-07-27 11:37:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 11:37:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 11:37:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993770240001,"66":26115,"27":206,"85":12544,"24":0,"16":358827015589068800,"45":9199094844539246592},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 11:37:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 11:37:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 11:37:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993770240001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:37:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 11:37:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 11:37:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:37:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199094844539246592,"description":"Unknown IO ID 45"} 
[2026-07-27 11:37:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993770240001,"power":26115,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199094844539246592}} 
[2026-07-27 11:37:38] local.INFO: DEBUG: GPS processor result {"connection_id":145234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:37:38] local.INFO: GPS data processed {"connection_id":145234,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:37:38] local.INFO: Acknowledgment sent {"connection_id":145234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:37:38] local.INFO: DEBUG: GPS processor result {"connection_id":142938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552869,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:37:38] local.INFO: GPS data processed {"connection_id":142938,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:37:38] local.INFO: Acknowledgment sent {"connection_id":142938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:38:00] local.INFO: TCP Data received {"connection_id":142814,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142814,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:38:00] local.INFO: Processing buffer {"connection_id":142814,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:38:00] local.INFO: IMEI packet received {"connection_id":142814,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 11:38:00] local.INFO: IMEI acknowledgment sent {"connection_id":142814,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 11:38:02] local.INFO: TCP Data received {"connection_id":142814,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142814,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:38:02] local.INFO: Processing buffer {"connection_id":142814,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:38:02] local.INFO: IMEI packet received {"connection_id":142814,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 11:38:02] local.INFO: IMEI acknowledgment sent {"connection_id":142814,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:38:03] local.INFO: TCP Data received {"connection_id":142814,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa22e7348012d18d04007212be00043014d27..."} 
[2026-07-27 11:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142814,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa22e7348012d18d04007212be00043014d27..."} 
[2026-07-27 11:38:03] local.INFO: Processing buffer {"connection_id":142814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa22e7348012d18d04007212be00043014d27..."} 
[2026-07-27 11:38:03] local.INFO: Packet analysis {"connection_id":142814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa22e"} 
[2026-07-27 11:38:03] local.INFO: Extracted packet for processing {"connection_id":142814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa22e"} 
[2026-07-27 11:38:03] local.INFO: GPS Element Parsed {"raw_longitude":756600896,"raw_latitude":119614432,"longitude_deg":75.6600896,"latitude_deg":11.9614432,"altitude":67,"angle":333,"satellites":39,"speed":16,"hex_longitude":"2d18d040","hex_latitude":"07212be0","is_valid_coordinates":true} 
[2026-07-27 11:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:38:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993888768001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:38:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8827682506670080,"note":"Value kept but may cause issues"} 
[2026-07-27 11:38:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788421663896332288,"note":"Value kept but may cause issues"} 
[2026-07-27 11:38:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:38:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785132381000,"timestamp_ms":1785132381000,"timestamp_seconds":1785132381,"priority":1,"record_length":96,"hex_timestamp":"0000019fa22e7348"} 
[2026-07-27 11:38:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:38:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 11: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":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-27 11:38:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:38:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:38:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:38:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:38:03] local.INFO: Teltonika packet parsed successfully {"connection_id":142814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:38:03] local.INFO: Passing IMEI to GPS processor {"connection_id":142814,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:38:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":142814,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:38:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 11:38:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 11:38:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 11:38:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993888768001,"66":13993,"121":206,"28":31744,"24":16,"16":8827682506670080,"45":1788421663896332288},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 11:38:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 11:38:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 11:38:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993888768001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:38:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 11:38:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 11:38:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8827682506670080,"km_value":8827682506670.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:38:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788421663896332288,"description":"Unknown IO ID 45"} 
[2026-07-27 11:38:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993888768001,"power":13993,"unknown_121":206,"unknown_28":31744,"ignition":16,"odometer":null,"unknown_45":1788421663896332288}} 
[2026-07-27 11:38:04] local.INFO: DEBUG: GPS processor result {"connection_id":142814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552870,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:38:04] local.INFO: GPS data processed {"connection_id":142814,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:38:04] local.INFO: Acknowledgment sent {"connection_id":142814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:38:09] local.INFO: TCP Data received {"connection_id":145234,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa22beec0012d7faac005afe4b00004015227..."} 
[2026-07-27 11:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa22beec0012d7faac005afe4b00004015227..."} 
[2026-07-27 11:38:09] local.INFO: Processing buffer {"connection_id":145234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa22beec0012d7faac005afe4b00004015227..."} 
[2026-07-27 11:38:09] local.INFO: Packet analysis {"connection_id":145234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa22b"} 
[2026-07-27 11:38:09] local.INFO: Extracted packet for processing {"connection_id":145234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa22b"} 
[2026-07-27 11:38:09] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":4,"angle":338,"satellites":39,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 11:38:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:38:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993770240001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:38:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 11:38:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199094844539246592,"note":"Value kept but may cause issues"} 
[2026-07-27 11:38:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:38:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785132216000,"timestamp_ms":1785132216000,"timestamp_seconds":1785132216,"priority":1,"record_length":96,"hex_timestamp":"0000019fa22beec0"} 
[2026-07-27 11:38:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:38:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":105,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-07-27 11:38:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2253,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:38:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:38:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:38:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:38:09] local.INFO: Teltonika packet parsed successfully {"connection_id":145234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:38:09] local.INFO: Passing IMEI to GPS processor {"connection_id":145234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:38:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":145234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:38: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-07-27 11:38:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 11:38:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 11:38:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993770240001,"66":26115,"27":206,"85":12544,"24":0,"16":358827015589068800,"45":9199094844539246592},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 11:38:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 11:38:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 11:38:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993770240001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:38:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 11:38:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 11:38:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:38:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199094844539246592,"description":"Unknown IO ID 45"} 
[2026-07-27 11:38:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993770240001,"power":26115,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199094844539246592}} 
[2026-07-27 11:38:09] local.INFO: DEBUG: GPS processor result {"connection_id":145234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:38:09] local.INFO: GPS data processed {"connection_id":145234,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:38:09] local.INFO: Acknowledgment sent {"connection_id":145234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:38:32] local.INFO: TCP Data received {"connection_id":142939,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:38:32] local.INFO: Processing buffer {"connection_id":142939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:38:32] local.INFO: IMEI packet received {"connection_id":142939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 11:38:32] local.INFO: IMEI acknowledgment sent {"connection_id":142939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 11:38:36] local.INFO: TCP Data received {"connection_id":142814,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa22e9a58012d18c4c0072140700043015e28..."} 
[2026-07-27 11:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142814,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa22e9a58012d18c4c0072140700043015e28..."} 
[2026-07-27 11:38:36] local.INFO: Processing buffer {"connection_id":142814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa22e9a58012d18c4c0072140700043015e28..."} 
[2026-07-27 11:38:36] local.INFO: Packet analysis {"connection_id":142814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa22e"} 
[2026-07-27 11:38:36] local.INFO: Extracted packet for processing {"connection_id":142814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa22e"} 
[2026-07-27 11:38:36] local.INFO: GPS Element Parsed {"raw_longitude":756597952,"raw_latitude":119619696,"longitude_deg":75.6597952,"latitude_deg":11.9619696,"altitude":67,"angle":350,"satellites":40,"speed":31,"hex_longitude":"2d18c4c0","hex_latitude":"07214070","is_valid_coordinates":true} 
[2026-07-27 11:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:38:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993889536001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:38:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8827970269478912,"note":"Value kept but may cause issues"} 
[2026-07-27 11:38:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787999451431559168,"note":"Value kept but may cause issues"} 
[2026-07-27 11:38:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:38:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785132391000,"timestamp_ms":1785132391000,"timestamp_seconds":1785132391,"priority":1,"record_length":96,"hex_timestamp":"0000019fa22e9a58"} 
[2026-07-27 11:38:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:38:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 11:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-27 11:38:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:38:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:38:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:38:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:38:36] local.INFO: Teltonika packet parsed successfully {"connection_id":142814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:38:36] local.INFO: Passing IMEI to GPS processor {"connection_id":142814,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:38:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":142814,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:38:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 11:38:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 11:38:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 11:38:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993889536001,"66":13993,"121":206,"28":31744,"24":31,"16":8827970269478912,"45":1787999451431559168},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 11:38:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 11:38:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 11:38:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993889536001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:38:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 11:38:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 11:38:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8827970269478912,"km_value":8827970269478.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:38:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787999451431559168,"description":"Unknown IO ID 45"} 
[2026-07-27 11:38:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993889536001,"power":13993,"unknown_121":206,"unknown_28":31744,"ignition":31,"odometer":null,"unknown_45":1787999451431559168}} 
[2026-07-27 11:38:36] local.INFO: DEBUG: GPS processor result {"connection_id":142814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552872,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:38:36] local.INFO: GPS data processed {"connection_id":142814,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:38:36] local.INFO: Acknowledgment sent {"connection_id":142814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:38:37] local.INFO: TCP Data received {"connection_id":142939,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:38:37] local.INFO: Processing buffer {"connection_id":142939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:38:37] local.INFO: IMEI packet received {"connection_id":142939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 11:38:37] local.INFO: IMEI acknowledgment sent {"connection_id":142939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:38:38] local.INFO: TCP Data received {"connection_id":142939,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa22beec0012d7faac005afe4b00004015227..."} 
[2026-07-27 11:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa22beec0012d7faac005afe4b00004015227..."} 
[2026-07-27 11:38:38] local.INFO: Processing buffer {"connection_id":142939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa22beec0012d7faac005afe4b00004015227..."} 
[2026-07-27 11:38:38] local.INFO: Packet analysis {"connection_id":142939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa22b"} 
[2026-07-27 11:38:38] local.INFO: Extracted packet for processing {"connection_id":142939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa22b"} 
[2026-07-27 11:38:38] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":4,"angle":338,"satellites":39,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 11:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:38:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993770240001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:38:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 11:38:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199094844539246592,"note":"Value kept but may cause issues"} 
[2026-07-27 11:38:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:38:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785132216000,"timestamp_ms":1785132216000,"timestamp_seconds":1785132216,"priority":1,"record_length":96,"hex_timestamp":"0000019fa22beec0"} 
[2026-07-27 11:38:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:38:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 11:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-07-27 11:38:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2253,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:38:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:38:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:38:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:38:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:38:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:38:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:38:38] 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-07-27 11:38:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 11:38:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 11:38:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993770240001,"66":26115,"27":206,"85":12544,"24":0,"16":358827015589068800,"45":9199094844539246592},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 11:38:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 11:38:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 11:38:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993770240001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:38:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 11:38:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 11:38:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:38:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199094844539246592,"description":"Unknown IO ID 45"} 
[2026-07-27 11:38:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993770240001,"power":26115,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199094844539246592}} 
[2026-07-27 11:38:38] local.INFO: DEBUG: GPS processor result {"connection_id":142939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:38:38] local.INFO: GPS data processed {"connection_id":142939,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:38:38] local.INFO: Acknowledgment sent {"connection_id":142939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:39:00] local.INFO: TCP Data received {"connection_id":143930,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143930,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:39:00] local.INFO: Processing buffer {"connection_id":143930,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:39:00] local.INFO: IMEI packet received {"connection_id":143930,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 11:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":143930,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 11:39:05] local.INFO: TCP Data received {"connection_id":143930,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143930,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:39:05] local.INFO: Processing buffer {"connection_id":143930,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:39:05] local.INFO: IMEI packet received {"connection_id":143930,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 11:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":143930,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:39:06] local.INFO: TCP Data received {"connection_id":143930,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa22eb1c8012d18c280072153580045014d28..."} 
[2026-07-27 11:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143930,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa22eb1c8012d18c280072153580045014d28..."} 
[2026-07-27 11:39:06] local.INFO: Processing buffer {"connection_id":143930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa22eb1c8012d18c280072153580045014d28..."} 
[2026-07-27 11:39:06] local.INFO: Packet analysis {"connection_id":143930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa22e"} 
[2026-07-27 11:39:06] local.INFO: Extracted packet for processing {"connection_id":143930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa22e"} 
[2026-07-27 11:39:06] local.INFO: GPS Element Parsed {"raw_longitude":756597376,"raw_latitude":119624536,"longitude_deg":75.6597376,"latitude_deg":11.9624536,"altitude":69,"angle":333,"satellites":40,"speed":32,"hex_longitude":"2d18c280","hex_latitude":"07215358","is_valid_coordinates":true} 
[2026-07-27 11:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:39:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993892096001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:39:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8828210787647488,"note":"Value kept but may cause issues"} 
[2026-07-27 11:39:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784762489200734208,"note":"Value kept but may cause issues"} 
[2026-07-27 11:39:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:39:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785132397000,"timestamp_ms":1785132397000,"timestamp_seconds":1785132397,"priority":1,"record_length":96,"hex_timestamp":"0000019fa22eb1c8"} 
[2026-07-27 11:39:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:39:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 11:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-27 11:39:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:39:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:39:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:39:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:39:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:39:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:39:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:39:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 11:39:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 11:39:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 11:39:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993892096001,"66":14004,"121":206,"28":31744,"24":32,"16":8828210787647488,"45":1784762489200734208},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 11:39:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 11:39:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 11:39:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993892096001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:39:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 11:39:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 11:39:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8828210787647488,"km_value":8828210787647.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:39:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784762489200734208,"description":"Unknown IO ID 45"} 
[2026-07-27 11:39:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993892096001,"power":14004,"unknown_121":206,"unknown_28":31744,"ignition":32,"odometer":null,"unknown_45":1784762489200734208}} 
[2026-07-27 11:39:06] local.INFO: DEBUG: GPS processor result {"connection_id":143930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552874,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:39:06] local.INFO: GPS data processed {"connection_id":143930,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:39:06] local.INFO: Acknowledgment sent {"connection_id":143930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:39:10] local.INFO: TCP Data received {"connection_id":142939,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa22beec0012d7faac005afe4b00004015227..."} 
[2026-07-27 11:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa22beec0012d7faac005afe4b00004015227..."} 
[2026-07-27 11:39:10] local.INFO: Processing buffer {"connection_id":142939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa22beec0012d7faac005afe4b00004015227..."} 
[2026-07-27 11:39:10] local.INFO: Packet analysis {"connection_id":142939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa22b"} 
[2026-07-27 11:39:10] local.INFO: Extracted packet for processing {"connection_id":142939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa22b"} 
[2026-07-27 11:39:10] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":4,"angle":338,"satellites":39,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 11:39:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993770240001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:39:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 11:39:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199094844539246592,"note":"Value kept but may cause issues"} 
[2026-07-27 11:39:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:39:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785132216000,"timestamp_ms":1785132216000,"timestamp_seconds":1785132216,"priority":1,"record_length":96,"hex_timestamp":"0000019fa22beec0"} 
[2026-07-27 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-07-27 11:39:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":105,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-07-27 11:39:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2253,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 11:39:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:39:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:39:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:39:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:39: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-07-27 11:39:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 11:39:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 11:39:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993770240001,"66":26115,"27":206,"85":12544,"24":0,"16":358827015589068800,"45":9199094844539246592},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 11:39:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 11:39:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 11:39:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993770240001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:39:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 11:39:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 11:39:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:39:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199094844539246592,"description":"Unknown IO ID 45"} 
[2026-07-27 11:39:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993770240001,"power":26115,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199094844539246592}} 
[2026-07-27 11:39:10] local.INFO: DEBUG: GPS processor result {"connection_id":142939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:39:10] local.INFO: GPS data processed {"connection_id":142939,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:39:10] local.INFO: Acknowledgment sent {"connection_id":142939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:39:37] local.INFO: TCP Data received {"connection_id":143931,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:39:37] local.INFO: Processing buffer {"connection_id":143931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:39:37] local.INFO: IMEI packet received {"connection_id":143931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 11:39:37] local.INFO: IMEI acknowledgment sent {"connection_id":143931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 11:39:38] local.INFO: TCP Data received {"connection_id":143930,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2309a10012d1826000721a068004c008d24..."} 
[2026-07-27 11:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143930,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2309a10012d1826000721a068004c008d24..."} 
[2026-07-27 11:39:38] local.INFO: Processing buffer {"connection_id":143930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2309a10012d1826000721a068004c008d24..."} 
[2026-07-27 11:39:38] local.INFO: Packet analysis {"connection_id":143930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa230"} 
[2026-07-27 11:39:38] local.INFO: Extracted packet for processing {"connection_id":143930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa230"} 
[2026-07-27 11:39:38] local.INFO: GPS Element Parsed {"raw_longitude":756557312,"raw_latitude":119644264,"longitude_deg":75.6557312,"latitude_deg":11.9644264,"altitude":76,"angle":141,"satellites":36,"speed":5,"hex_longitude":"2d182600","hex_latitude":"0721a068","is_valid_coordinates":true} 
[2026-07-27 11:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:39:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993925376001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:39:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8830504300183552,"note":"Value kept but may cause issues"} 
[2026-07-27 11:39:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740007967910060032,"note":"Value kept but may cause issues"} 
[2026-07-27 11:39:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:39:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785132522000,"timestamp_ms":1785132522000,"timestamp_seconds":1785132522,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2309a10"} 
[2026-07-27 11:39:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:39:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 11:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-27 11:39:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:39:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:39:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:39:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:39:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:39:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:39:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:39:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 11:39:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 11:39:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 11:39:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993925376001,"66":14428,"121":206,"28":31744,"24":5,"16":8830504300183552,"45":1740007967910060032},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 11:39:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 11:39:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 11:39:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993925376001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:39:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 11:39:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 11:39:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8830504300183552,"km_value":8830504300183.553,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:39:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740007967910060032,"description":"Unknown IO ID 45"} 
[2026-07-27 11:39:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993925376001,"power":14428,"unknown_121":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1740007967910060032}} 
[2026-07-27 11:39:38] local.INFO: DEBUG: GPS processor result {"connection_id":143930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552876,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:39:38] local.INFO: GPS data processed {"connection_id":143930,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:39:38] local.INFO: Acknowledgment sent {"connection_id":143930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:39:42] local.INFO: TCP Data received {"connection_id":143931,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:39:42] local.INFO: Processing buffer {"connection_id":143931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:39:42] local.INFO: IMEI packet received {"connection_id":143931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 11:39:42] local.INFO: IMEI acknowledgment sent {"connection_id":143931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:39:43] local.INFO: TCP Data received {"connection_id":143931,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2308688012d7faac005afe4b0000e015226..."} 
[2026-07-27 11:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2308688012d7faac005afe4b0000e015226..."} 
[2026-07-27 11:39:43] local.INFO: Processing buffer {"connection_id":143931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2308688012d7faac005afe4b0000e015226..."} 
[2026-07-27 11:39:43] local.INFO: Packet analysis {"connection_id":143931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa230"} 
[2026-07-27 11:39:43] local.INFO: Extracted packet for processing {"connection_id":143931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa230"} 
[2026-07-27 11:39:43] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":14,"angle":338,"satellites":38,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 11:39:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:39:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993847296001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:39:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 11:39:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 11:39:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:39:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785132517000,"timestamp_ms":1785132517000,"timestamp_seconds":1785132517,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2308688"} 
[2026-07-27 11:39:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:39:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 11: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-27 11:39:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:39:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:39:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:39:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:39:43] local.INFO: Teltonika packet parsed successfully {"connection_id":143931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:39:43] local.INFO: Passing IMEI to GPS processor {"connection_id":143931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:39:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":143931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:39: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-07-27 11:39:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 11:39:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 11:39:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993847296001,"66":25875,"33":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-27 11:39:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 11:39:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 11:39:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993847296001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:39:43] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-27 11:39:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 11:39:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:39:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 11:39:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993847296001,"power":25875,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 11:39:43] local.INFO: DEBUG: GPS processor result {"connection_id":143931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:39:43] local.INFO: GPS data processed {"connection_id":143931,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:39:43] local.INFO: Acknowledgment sent {"connection_id":143931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:39:48] local.INFO: TCP Data received {"connection_id":143931,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2308688012d7faac005afe4b0000e015226..."} 
[2026-07-27 11:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2308688012d7faac005afe4b0000e015226..."} 
[2026-07-27 11:39:48] local.INFO: Processing buffer {"connection_id":143931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2308688012d7faac005afe4b0000e015226..."} 
[2026-07-27 11:39:48] local.INFO: Packet analysis {"connection_id":143931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa230"} 
[2026-07-27 11:39:48] local.INFO: Extracted packet for processing {"connection_id":143931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa230"} 
[2026-07-27 11:39:48] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":14,"angle":338,"satellites":38,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 11:39:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:39:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993847296001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:39:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 11:39:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 11:39:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:39:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785132517000,"timestamp_ms":1785132517000,"timestamp_seconds":1785132517,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2308688"} 
[2026-07-27 11:39:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:39:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 11: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-27 11:39:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:39:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:39:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:39:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:39:48] local.INFO: Teltonika packet parsed successfully {"connection_id":143931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:39:48] local.INFO: Passing IMEI to GPS processor {"connection_id":143931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:39:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":143931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:39:48] 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-07-27 11:39:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 11:39:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 11:39:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993847296001,"66":25875,"33":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-27 11:39:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 11:39:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 11:39:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993847296001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:39:48] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-27 11:39:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 11:39:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:39:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 11:39:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993847296001,"power":25875,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 11:39:48] local.INFO: DEBUG: GPS processor result {"connection_id":143931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:39:48] local.INFO: GPS data processed {"connection_id":143931,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:39:48] local.INFO: Acknowledgment sent {"connection_id":143931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:40:00] local.INFO: TCP Data received {"connection_id":145235,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145235,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:40:00] local.INFO: Processing buffer {"connection_id":145235,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:40:00] local.INFO: IMEI packet received {"connection_id":145235,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 11:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":145235,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 11:40:05] local.INFO: TCP Data received {"connection_id":145235,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145235,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:40:05] local.INFO: Processing buffer {"connection_id":145235,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:40:05] local.INFO: IMEI packet received {"connection_id":145235,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 11:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":145235,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:40:07] local.INFO: TCP Data received {"connection_id":145235,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa230a9b0012d18294007219d70004d008024..."} 
[2026-07-27 11:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa230a9b0012d18294007219d70004d008024..."} 
[2026-07-27 11:40:07] local.INFO: Processing buffer {"connection_id":145235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa230a9b0012d18294007219d70004d008024..."} 
[2026-07-27 11:40:07] local.INFO: Packet analysis {"connection_id":145235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa230"} 
[2026-07-27 11:40:07] local.INFO: Extracted packet for processing {"connection_id":145235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa230"} 
[2026-07-27 11:40:07] local.INFO: GPS Element Parsed {"raw_longitude":756558144,"raw_latitude":119643504,"longitude_deg":75.6558144,"latitude_deg":11.9643504,"altitude":77,"angle":128,"satellites":36,"speed":16,"hex_longitude":"2d182940","hex_latitude":"07219d70","is_valid_coordinates":true} 
[2026-07-27 11:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:40:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993925632001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:40:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8830560134758400,"note":"Value kept but may cause issues"} 
[2026-07-27 11:40:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740078336654206976,"note":"Value kept but may cause issues"} 
[2026-07-27 11:40:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:40:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785132526000,"timestamp_ms":1785132526000,"timestamp_seconds":1785132526,"priority":1,"record_length":96,"hex_timestamp":"0000019fa230a9b0"} 
[2026-07-27 11:40:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:40:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 11:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-27 11:40:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:40:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:40:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:40:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:40:07] local.INFO: Teltonika packet parsed successfully {"connection_id":145235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:40:07] local.INFO: Passing IMEI to GPS processor {"connection_id":145235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:40:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":145235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:40:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 11:40:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 11:40:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 11:40:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993925632001,"66":13656,"121":206,"28":31744,"24":16,"16":8830560134758400,"45":1740078336654206976},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 11:40:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 11:40:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 11:40:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993925632001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:40:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 11:40:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 11:40:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8830560134758400,"km_value":8830560134758.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:40:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740078336654206976,"description":"Unknown IO ID 45"} 
[2026-07-27 11:40:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993925632001,"power":13656,"unknown_121":206,"unknown_28":31744,"ignition":16,"odometer":null,"unknown_45":1740078336654206976}} 
[2026-07-27 11:40:07] local.INFO: DEBUG: GPS processor result {"connection_id":145235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552879,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:40:07] local.INFO: GPS data processed {"connection_id":145235,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:40:07] local.INFO: Acknowledgment sent {"connection_id":145235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:40:32] local.INFO: TCP Data received {"connection_id":143932,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:40:32] local.INFO: Processing buffer {"connection_id":143932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:40:32] local.INFO: IMEI packet received {"connection_id":143932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 11:40:32] local.INFO: IMEI acknowledgment sent {"connection_id":143932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 11:40:37] local.INFO: TCP Data received {"connection_id":143932,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:40:37] local.INFO: Processing buffer {"connection_id":143932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:40:37] local.INFO: IMEI packet received {"connection_id":143932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 11:40:37] local.INFO: IMEI acknowledgment sent {"connection_id":143932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:40:38] local.INFO: TCP Data received {"connection_id":143932,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2308688012d7faac005afe4b0000e015226..."} 
[2026-07-27 11:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143932,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2308688012d7faac005afe4b0000e015226..."} 
[2026-07-27 11:40:38] local.INFO: Processing buffer {"connection_id":143932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2308688012d7faac005afe4b0000e015226..."} 
[2026-07-27 11:40:38] local.INFO: Packet analysis {"connection_id":143932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa230"} 
[2026-07-27 11:40:38] local.INFO: Extracted packet for processing {"connection_id":143932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa230"} 
[2026-07-27 11:40:38] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":14,"angle":338,"satellites":38,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 11:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:40:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993847296001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:40:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 11:40:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 11:40:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:40:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785132517000,"timestamp_ms":1785132517000,"timestamp_seconds":1785132517,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2308688"} 
[2026-07-27 11:40:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:40:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 11:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-27 11:40:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:40:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:40:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:40:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:40:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:40:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:40:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:40:38] 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-07-27 11:40:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 11:40:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 11:40:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993847296001,"66":25875,"33":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-27 11:40:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 11:40:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 11:40:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993847296001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:40:38] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-27 11:40:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 11:40:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:40:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 11:40:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993847296001,"power":25875,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 11:40:38] local.INFO: DEBUG: GPS processor result {"connection_id":143932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:40:38] local.INFO: GPS data processed {"connection_id":143932,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:40:38] local.INFO: Acknowledgment sent {"connection_id":143932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:40:38] local.INFO: TCP Data received {"connection_id":145235,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa230bd38012d183240072197e0004e007425..."} 
[2026-07-27 11:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa230bd38012d183240072197e0004e007425..."} 
[2026-07-27 11:40:38] local.INFO: Processing buffer {"connection_id":145235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa230bd38012d183240072197e0004e007425..."} 
[2026-07-27 11:40:38] local.INFO: Packet analysis {"connection_id":145235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa230"} 
[2026-07-27 11:40:38] local.INFO: Extracted packet for processing {"connection_id":145235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa230"} 
[2026-07-27 11:40:38] local.INFO: GPS Element Parsed {"raw_longitude":756560448,"raw_latitude":119642080,"longitude_deg":75.6560448,"latitude_deg":11.964208,"altitude":78,"angle":116,"satellites":37,"speed":25,"hex_longitude":"2d183240","hex_latitude":"072197e0","is_valid_coordinates":true} 
[2026-07-27 11:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:40:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993926656001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:40:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8830688983777280,"note":"Value kept but may cause issues"} 
[2026-07-27 11:40:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740993130328322048,"note":"Value kept but may cause issues"} 
[2026-07-27 11:40:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:40:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785132531000,"timestamp_ms":1785132531000,"timestamp_seconds":1785132531,"priority":1,"record_length":96,"hex_timestamp":"0000019fa230bd38"} 
[2026-07-27 11:40:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:40:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 11:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-07-27 11:40:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:40:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:40:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:40:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:40:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:40:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:40:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:40:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 11:40:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 11:40:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 11:40:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993926656001,"66":13993,"121":206,"28":31744,"24":25,"16":8830688983777280,"45":1740993130328322048},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 11:40:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 11:40:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 11:40:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993926656001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:40:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 11:40:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 11:40:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8830688983777280,"km_value":8830688983777.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:40:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740993130328322048,"description":"Unknown IO ID 45"} 
[2026-07-27 11:40:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993926656001,"power":13993,"unknown_121":206,"unknown_28":31744,"ignition":25,"odometer":null,"unknown_45":1740993130328322048}} 
[2026-07-27 11:40:38] local.INFO: DEBUG: GPS processor result {"connection_id":145235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552881,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:40:38] local.INFO: GPS data processed {"connection_id":145235,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:40:38] local.INFO: Acknowledgment sent {"connection_id":145235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:41:00] local.INFO: TCP Data received {"connection_id":145236,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145236,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:41:00] local.INFO: Processing buffer {"connection_id":145236,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:41:00] local.INFO: IMEI packet received {"connection_id":145236,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 11:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":145236,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 11:41:05] local.INFO: TCP Data received {"connection_id":145236,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145236,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:41:05] local.INFO: Processing buffer {"connection_id":145236,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:41:05] local.INFO: IMEI packet received {"connection_id":145236,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 11:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":145236,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:41:07] local.INFO: TCP Data received {"connection_id":145236,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa230e830012d18534007218a400050007527..."} 
[2026-07-27 11:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145236,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa230e830012d18534007218a400050007527..."} 
[2026-07-27 11:41:07] local.INFO: Processing buffer {"connection_id":145236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa230e830012d18534007218a400050007527..."} 
[2026-07-27 11:41:07] local.INFO: Packet analysis {"connection_id":145236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa230"} 
[2026-07-27 11:41:07] local.INFO: Extracted packet for processing {"connection_id":145236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa230"} 
[2026-07-27 11:41:07] local.INFO: GPS Element Parsed {"raw_longitude":756568896,"raw_latitude":119638592,"longitude_deg":75.6568896,"latitude_deg":11.9638592,"altitude":80,"angle":117,"satellites":39,"speed":35,"hex_longitude":"2d185340","hex_latitude":"07218a40","is_valid_coordinates":true} 
[2026-07-27 11:41:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:41:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993927936001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:41:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8831122775474176,"note":"Value kept but may cause issues"} 
[2026-07-27 11:41:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1743526405118353408,"note":"Value kept but may cause issues"} 
[2026-07-27 11:41:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:41:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785132542000,"timestamp_ms":1785132542000,"timestamp_seconds":1785132542,"priority":1,"record_length":96,"hex_timestamp":"0000019fa230e830"} 
[2026-07-27 11:41:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:41:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 11:41:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-27 11:41:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:41:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:41:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:41:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:41:07] local.INFO: Teltonika packet parsed successfully {"connection_id":145236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:41:07] local.INFO: Passing IMEI to GPS processor {"connection_id":145236,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:41:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":145236,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:41:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 11:41:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 11:41:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 11:41:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993927936001,"66":13993,"121":206,"28":31744,"24":35,"16":8831122775474176,"45":1743526405118353408},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 11:41:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 11:41:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 11:41:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993927936001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:41:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 11:41:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 11:41:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8831122775474176,"km_value":8831122775474.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:41:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1743526405118353408,"description":"Unknown IO ID 45"} 
[2026-07-27 11:41:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993927936001,"power":13993,"unknown_121":206,"unknown_28":31744,"ignition":35,"odometer":null,"unknown_45":1743526405118353408}} 
[2026-07-27 11:41:07] local.INFO: DEBUG: GPS processor result {"connection_id":145236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552882,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:41:07] local.INFO: GPS data processed {"connection_id":145236,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:41:07] local.INFO: Acknowledgment sent {"connection_id":145236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:41:09] local.INFO: TCP Data received {"connection_id":143932,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2308688012d7faac005afe4b0000e015226..."} 
[2026-07-27 11:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143932,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2308688012d7faac005afe4b0000e015226..."} 
[2026-07-27 11:41:09] local.INFO: Processing buffer {"connection_id":143932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2308688012d7faac005afe4b0000e015226..."} 
[2026-07-27 11:41:09] local.INFO: Packet analysis {"connection_id":143932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa230"} 
[2026-07-27 11:41:09] local.INFO: Extracted packet for processing {"connection_id":143932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa230"} 
[2026-07-27 11:41:09] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":14,"angle":338,"satellites":38,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 11:41:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:41:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993847296001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:41:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 11:41:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 11:41:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:41:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785132517000,"timestamp_ms":1785132517000,"timestamp_seconds":1785132517,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2308688"} 
[2026-07-27 11:41:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:41:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 11: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-27 11:41:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:41:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:41:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:41:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:41:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:41:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:41:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:41: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-07-27 11:41:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 11:41:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 11:41:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993847296001,"66":25875,"33":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-27 11:41:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 11:41:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 11:41:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993847296001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:41:09] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-27 11:41:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 11:41:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:41:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 11:41:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993847296001,"power":25875,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 11:41:09] local.INFO: DEBUG: GPS processor result {"connection_id":143932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:41:09] local.INFO: GPS data processed {"connection_id":143932,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:41:09] local.INFO: Acknowledgment sent {"connection_id":143932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:41:32] local.INFO: TCP Data received {"connection_id":143933,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:41:32] local.INFO: Processing buffer {"connection_id":143933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:41:32] local.INFO: IMEI packet received {"connection_id":143933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 11:41:32] local.INFO: IMEI acknowledgment sent {"connection_id":143933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 11:41:37] local.INFO: TCP Data received {"connection_id":143933,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:41:37] local.INFO: Processing buffer {"connection_id":143933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:41:37] local.INFO: IMEI packet received {"connection_id":143933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 11:41:37] local.INFO: IMEI acknowledgment sent {"connection_id":143933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:41:38] local.INFO: TCP Data received {"connection_id":143933,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2308688012d7faac005afe4b0000e015226..."} 
[2026-07-27 11:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2308688012d7faac005afe4b0000e015226..."} 
[2026-07-27 11:41:38] local.INFO: Processing buffer {"connection_id":143933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2308688012d7faac005afe4b0000e015226..."} 
[2026-07-27 11:41:38] local.INFO: Packet analysis {"connection_id":143933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa230"} 
[2026-07-27 11:41:38] local.INFO: Extracted packet for processing {"connection_id":143933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa230"} 
[2026-07-27 11:41:38] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":14,"angle":338,"satellites":38,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 11:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:41:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993847296001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:41:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 11:41:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 11:41:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:41:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785132517000,"timestamp_ms":1785132517000,"timestamp_seconds":1785132517,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2308688"} 
[2026-07-27 11:41:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:41:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 11:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-27 11:41:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:41:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:41:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:41:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:41:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:41:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:41:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:41:38] 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-07-27 11:41:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 11:41:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 11:41:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993847296001,"66":25875,"33":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-27 11:41:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 11:41:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 11:41:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993847296001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:41:38] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-27 11:41:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 11:41:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:41:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 11:41:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993847296001,"power":25875,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 11:41:38] local.INFO: DEBUG: GPS processor result {"connection_id":143933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:41:38] local.INFO: GPS data processed {"connection_id":143933,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:41:38] local.INFO: Acknowledgment sent {"connection_id":143933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:41:38] local.INFO: TCP Data received {"connection_id":145236,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa23291f8012d18c6c007213d28004600a028..."} 
[2026-07-27 11:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145236,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa23291f8012d18c6c007213d28004600a028..."} 
[2026-07-27 11:41:38] local.INFO: Processing buffer {"connection_id":145236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa23291f8012d18c6c007213d28004600a028..."} 
[2026-07-27 11:41:38] local.INFO: Packet analysis {"connection_id":145236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa232"} 
[2026-07-27 11:41:38] local.INFO: Extracted packet for processing {"connection_id":145236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa232"} 
[2026-07-27 11:41:38] local.INFO: GPS Element Parsed {"raw_longitude":756598464,"raw_latitude":119618856,"longitude_deg":75.6598464,"latitude_deg":11.9618856,"altitude":70,"angle":160,"satellites":40,"speed":29,"hex_longitude":"2d18c6c0","hex_latitude":"07213d28","is_valid_coordinates":true} 
[2026-07-27 11:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:41:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993957376001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:41:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8833034035920896,"note":"Value kept but may cause issues"} 
[2026-07-27 11:41:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784903226689832960,"note":"Value kept but may cause issues"} 
[2026-07-27 11:41:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:41:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785132651000,"timestamp_ms":1785132651000,"timestamp_seconds":1785132651,"priority":1,"record_length":96,"hex_timestamp":"0000019fa23291f8"} 
[2026-07-27 11:41:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:41:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 11:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-27 11:41:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:41:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:41:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:41:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:41:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:41:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145236,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:41:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145236,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:41:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 11:41:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 11:41:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 11:41:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993957376001,"66":14461,"121":206,"28":31744,"24":29,"16":8833034035920896,"45":1784903226689832960},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 11:41:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 11:41:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 11:41:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993957376001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:41:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 11:41:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 11:41:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8833034035920896,"km_value":8833034035920.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:41:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784903226689832960,"description":"Unknown IO ID 45"} 
[2026-07-27 11:41:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993957376001,"power":14461,"unknown_121":206,"unknown_28":31744,"ignition":29,"odometer":null,"unknown_45":1784903226689832960}} 
[2026-07-27 11:41:38] local.INFO: DEBUG: GPS processor result {"connection_id":145236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552885,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:41:38] local.INFO: GPS data processed {"connection_id":145236,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:41:38] local.INFO: Acknowledgment sent {"connection_id":145236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:42:00] local.INFO: TCP Data received {"connection_id":143934,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143934,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:42:00] local.INFO: Processing buffer {"connection_id":143934,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:42:00] local.INFO: IMEI packet received {"connection_id":143934,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 11:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":143934,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 11:42:06] local.INFO: TCP Data received {"connection_id":143934,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143934,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:42:06] local.INFO: Processing buffer {"connection_id":143934,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:42:06] local.INFO: IMEI packet received {"connection_id":143934,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 11:42:06] local.INFO: IMEI acknowledgment sent {"connection_id":143934,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:42:07] local.INFO: TCP Data received {"connection_id":143934,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2329db0012d18ca80072135800045009428..."} 
[2026-07-27 11:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143934,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2329db0012d18ca80072135800045009428..."} 
[2026-07-27 11:42:07] local.INFO: Processing buffer {"connection_id":143934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2329db0012d18ca80072135800045009428..."} 
[2026-07-27 11:42:07] local.INFO: Packet analysis {"connection_id":143934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa232"} 
[2026-07-27 11:42:07] local.INFO: Extracted packet for processing {"connection_id":143934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa232"} 
[2026-07-27 11:42:07] local.INFO: GPS Element Parsed {"raw_longitude":756599424,"raw_latitude":119616896,"longitude_deg":75.6599424,"latitude_deg":11.9616896,"altitude":69,"angle":148,"satellites":40,"speed":28,"hex_longitude":"2d18ca80","hex_latitude":"07213580","is_valid_coordinates":true} 
[2026-07-27 11:42:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:42:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993958656001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:42:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8833137115136000,"note":"Value kept but may cause issues"} 
[2026-07-27 11:42:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785325439153940480,"note":"Value kept but may cause issues"} 
[2026-07-27 11:42:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:42:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785132654000,"timestamp_ms":1785132654000,"timestamp_seconds":1785132654,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2329db0"} 
[2026-07-27 11:42:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:42:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 11:42:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-27 11:42:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:42:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:42:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:42:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:42:07] local.INFO: Teltonika packet parsed successfully {"connection_id":143934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:42:07] local.INFO: Passing IMEI to GPS processor {"connection_id":143934,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:42:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":143934,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:42:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 11:42:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 11:42:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 11:42:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993958656001,"66":14428,"121":206,"28":31744,"24":28,"16":8833137115136000,"45":1785325439153940480},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 11:42:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 11:42:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 11:42:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993958656001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:42:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 11:42:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 11:42:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8833137115136000,"km_value":8833137115136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:42:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785325439153940480,"description":"Unknown IO ID 45"} 
[2026-07-27 11:42:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993958656001,"power":14428,"unknown_121":206,"unknown_28":31744,"ignition":28,"odometer":null,"unknown_45":1785325439153940480}} 
[2026-07-27 11:42:07] local.INFO: DEBUG: GPS processor result {"connection_id":143934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552886,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:42:07] local.INFO: GPS data processed {"connection_id":143934,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:42:07] local.INFO: Acknowledgment sent {"connection_id":143934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:42:09] local.INFO: TCP Data received {"connection_id":143933,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2308688012d7faac005afe4b0000e015226..."} 
[2026-07-27 11:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2308688012d7faac005afe4b0000e015226..."} 
[2026-07-27 11:42:09] local.INFO: Processing buffer {"connection_id":143933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2308688012d7faac005afe4b0000e015226..."} 
[2026-07-27 11:42:09] local.INFO: Packet analysis {"connection_id":143933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa230"} 
[2026-07-27 11:42:09] local.INFO: Extracted packet for processing {"connection_id":143933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa230"} 
[2026-07-27 11:42:09] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":14,"angle":338,"satellites":38,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 11:42:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:42:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993847296001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:42:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 11:42:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 11:42:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:42:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785132517000,"timestamp_ms":1785132517000,"timestamp_seconds":1785132517,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2308688"} 
[2026-07-27 11:42:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:42:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 11:42:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-27 11:42:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:42:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:42:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:42:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:42:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:42:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:42:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:42: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-07-27 11:42:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 11:42:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 11:42:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993847296001,"66":25875,"33":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-27 11:42:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 11:42:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 11:42:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993847296001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:42:09] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-27 11:42:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 11:42:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:42:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 11:42:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993847296001,"power":25875,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 11:42:09] local.INFO: DEBUG: GPS processor result {"connection_id":143933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:42:09] local.INFO: GPS data processed {"connection_id":143933,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:42:09] local.INFO: Acknowledgment sent {"connection_id":143933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:42:32] local.INFO: TCP Data received {"connection_id":145237,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:42:32] local.INFO: Processing buffer {"connection_id":145237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:42:32] local.INFO: IMEI packet received {"connection_id":145237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 11:42:32] local.INFO: IMEI acknowledgment sent {"connection_id":145237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 11:42:37] local.INFO: TCP Data received {"connection_id":145237,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:42:37] local.INFO: Processing buffer {"connection_id":145237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:42:37] local.INFO: IMEI packet received {"connection_id":145237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 11:42:37] local.INFO: IMEI acknowledgment sent {"connection_id":145237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:42:38] local.INFO: TCP Data received {"connection_id":143934,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2337870012d1947800720ade00031006c27..."} 
[2026-07-27 11:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143934,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2337870012d1947800720ade00031006c27..."} 
[2026-07-27 11:42:38] local.INFO: Processing buffer {"connection_id":143934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2337870012d1947800720ade00031006c27..."} 
[2026-07-27 11:42:38] local.INFO: Packet analysis {"connection_id":143934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa233"} 
[2026-07-27 11:42:38] local.INFO: Extracted packet for processing {"connection_id":143934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa233"} 
[2026-07-27 11:42:38] local.INFO: GPS Element Parsed {"raw_longitude":756631424,"raw_latitude":119582176,"longitude_deg":75.6631424,"latitude_deg":11.9582176,"altitude":49,"angle":108,"satellites":39,"speed":36,"hex_longitude":"2d194780","hex_latitude":"0720ade0","is_valid_coordinates":true} 
[2026-07-27 11:42:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:42:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993972480001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:42:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8835580951527424,"note":"Value kept but may cause issues"} 
[2026-07-27 11:42:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1816498792815886336,"note":"Value kept but may cause issues"} 
[2026-07-27 11:42:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:42:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785132710000,"timestamp_ms":1785132710000,"timestamp_seconds":1785132710,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2337870"} 
[2026-07-27 11:42:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:42:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 11:42:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-07-27 11:42:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:42:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:42:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:42:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:42:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:42:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143934,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:42:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143934,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:42:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 11:42:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 11:42:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 11:42:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993972480001,"66":14113,"121":206,"28":31744,"24":36,"16":8835580951527424,"45":1816498792815886336},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 11:42:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 11:42:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 11:42:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993972480001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:42:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 11:42:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 11:42:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8835580951527424,"km_value":8835580951527.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:42:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1816498792815886336,"description":"Unknown IO ID 45"} 
[2026-07-27 11:42:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993972480001,"power":14113,"unknown_121":206,"unknown_28":31744,"ignition":36,"odometer":null,"unknown_45":1816498792815886336}} 
[2026-07-27 11:42:38] local.INFO: DEBUG: GPS processor result {"connection_id":143934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552888,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:42:38] local.INFO: GPS data processed {"connection_id":143934,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:42:38] local.INFO: Acknowledgment sent {"connection_id":143934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:42:38] local.INFO: TCP Data received {"connection_id":145237,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2308688012d7faac005afe4b0000e015226..."} 
[2026-07-27 11:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2308688012d7faac005afe4b0000e015226..."} 
[2026-07-27 11:42:38] local.INFO: Processing buffer {"connection_id":145237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2308688012d7faac005afe4b0000e015226..."} 
[2026-07-27 11:42:38] local.INFO: Packet analysis {"connection_id":145237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa230"} 
[2026-07-27 11:42:38] local.INFO: Extracted packet for processing {"connection_id":145237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa230"} 
[2026-07-27 11:42:38] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":14,"angle":338,"satellites":38,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 11:42:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:42:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993847296001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:42:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 11:42:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 11:42:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:42:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785132517000,"timestamp_ms":1785132517000,"timestamp_seconds":1785132517,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2308688"} 
[2026-07-27 11:42:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:42:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 11:42:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-27 11:42:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:42:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:42:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:42:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:42:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:42:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:42:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:42:38] 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-07-27 11:42:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 11:42:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 11:42:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993847296001,"66":25875,"33":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-27 11:42:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 11:42:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 11:42:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993847296001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:42:38] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-27 11:42:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 11:42:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:42:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 11:42:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993847296001,"power":25875,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 11:42:38] local.INFO: DEBUG: GPS processor result {"connection_id":145237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:42:38] local.INFO: GPS data processed {"connection_id":145237,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:42:38] local.INFO: Acknowledgment sent {"connection_id":145237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:43:01] local.INFO: TCP Data received {"connection_id":143935,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143935,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:43:01] local.INFO: Processing buffer {"connection_id":143935,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:43:01] local.INFO: IMEI packet received {"connection_id":143935,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 11:43:01] local.INFO: IMEI acknowledgment sent {"connection_id":143935,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 11:43:02] local.INFO: TCP Data received {"connection_id":143935,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143935,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:43:02] local.INFO: Processing buffer {"connection_id":143935,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:43:02] local.INFO: IMEI packet received {"connection_id":143935,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 11:43:02] local.INFO: IMEI acknowledgment sent {"connection_id":143935,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:43:05] local.INFO: TCP Data received {"connection_id":143935,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143935,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:43:05] local.INFO: Processing buffer {"connection_id":143935,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:43:05] local.INFO: IMEI packet received {"connection_id":143935,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 11:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":143935,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:43:06] local.INFO: TCP Data received {"connection_id":143935,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143935,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:43:06] local.INFO: Processing buffer {"connection_id":143935,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:43:06] local.INFO: IMEI packet received {"connection_id":143935,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 11:43:06] local.INFO: IMEI acknowledgment sent {"connection_id":143935,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:43:11] local.INFO: TCP Data received {"connection_id":145237,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2308688012d7faac005afe4b0000e015226..."} 
[2026-07-27 11:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2308688012d7faac005afe4b0000e015226..."} 
[2026-07-27 11:43:11] local.INFO: Processing buffer {"connection_id":145237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2308688012d7faac005afe4b0000e015226..."} 
[2026-07-27 11:43:11] local.INFO: Packet analysis {"connection_id":145237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa230"} 
[2026-07-27 11:43:11] local.INFO: Extracted packet for processing {"connection_id":145237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa230"} 
[2026-07-27 11:43:11] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":14,"angle":338,"satellites":38,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 11: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-07-27 11:43:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993847296001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:43:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 11:43:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 11:43:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:43:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785132517000,"timestamp_ms":1785132517000,"timestamp_seconds":1785132517,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2308688"} 
[2026-07-27 11:43:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:43:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 11: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-27 11:43:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:43:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:43:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:43:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:43:11] local.INFO: Teltonika packet parsed successfully {"connection_id":145237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:43:11] local.INFO: Passing IMEI to GPS processor {"connection_id":145237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:43:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":145237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:43: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-07-27 11:43:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 11:43:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 11:43:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993847296001,"66":25875,"33":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-27 11:43:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 11:43:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 11:43:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993847296001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:43:11] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-27 11:43:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 11:43:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:43:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 11:43:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993847296001,"power":25875,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 11:43:11] local.INFO: DEBUG: GPS processor result {"connection_id":145237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:43:11] local.INFO: GPS data processed {"connection_id":145237,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:43:11] local.INFO: Acknowledgment sent {"connection_id":145237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:43:32] local.INFO: TCP Data received {"connection_id":142940,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:43:32] local.INFO: Processing buffer {"connection_id":142940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:43:32] local.INFO: IMEI packet received {"connection_id":142940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 11:43:32] local.INFO: IMEI acknowledgment sent {"connection_id":142940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 11:43:37] local.INFO: TCP Data received {"connection_id":142940,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:43:37] local.INFO: Processing buffer {"connection_id":142940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:43:37] local.INFO: IMEI packet received {"connection_id":142940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 11:43:37] local.INFO: IMEI acknowledgment sent {"connection_id":142940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:43:38] local.INFO: TCP Data received {"connection_id":142940,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2308688012d7faac005afe4b0000e015226..."} 
[2026-07-27 11:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2308688012d7faac005afe4b0000e015226..."} 
[2026-07-27 11:43:38] local.INFO: Processing buffer {"connection_id":142940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2308688012d7faac005afe4b0000e015226..."} 
[2026-07-27 11:43:38] local.INFO: Packet analysis {"connection_id":142940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa230"} 
[2026-07-27 11:43:38] local.INFO: Extracted packet for processing {"connection_id":142940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa230"} 
[2026-07-27 11:43:38] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":14,"angle":338,"satellites":38,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 11:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:43:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993847296001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:43:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 11:43:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 11:43:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:43:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785132517000,"timestamp_ms":1785132517000,"timestamp_seconds":1785132517,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2308688"} 
[2026-07-27 11:43:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:43:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 11:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-27 11:43:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:43:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:43:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:43:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:43:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:43:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:43:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:43:38] 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-07-27 11:43:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 11:43:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 11:43:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993847296001,"66":25875,"33":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-27 11:43:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 11:43:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 11:43:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993847296001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:43:38] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-27 11:43:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 11:43:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:43:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 11:43:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993847296001,"power":25875,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 11:43:38] local.INFO: DEBUG: GPS processor result {"connection_id":142940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:43:38] local.INFO: GPS data processed {"connection_id":142940,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:43:38] local.INFO: Acknowledgment sent {"connection_id":142940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:44:09] local.INFO: TCP Data received {"connection_id":142940,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2308688012d7faac005afe4b0000e015226..."} 
[2026-07-27 11:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2308688012d7faac005afe4b0000e015226..."} 
[2026-07-27 11:44:09] local.INFO: Processing buffer {"connection_id":142940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2308688012d7faac005afe4b0000e015226..."} 
[2026-07-27 11:44:09] local.INFO: Packet analysis {"connection_id":142940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa230"} 
[2026-07-27 11:44:09] local.INFO: Extracted packet for processing {"connection_id":142940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa230"} 
[2026-07-27 11:44:09] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":14,"angle":338,"satellites":38,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 11:44:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:44:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993847296001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:44:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 11:44:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 11:44:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:44:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785132517000,"timestamp_ms":1785132517000,"timestamp_seconds":1785132517,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2308688"} 
[2026-07-27 11:44:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:44:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 11:44:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-27 11:44:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:44:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:44:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:44:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:44:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:44:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:44:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:44: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-07-27 11:44:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 11:44:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 11:44:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993847296001,"66":25875,"33":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-27 11:44:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 11:44:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 11:44:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993847296001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:44:09] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-27 11:44:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 11:44:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:44:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 11:44:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993847296001,"power":25875,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 11:44:09] local.INFO: DEBUG: GPS processor result {"connection_id":142940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:44:09] local.INFO: GPS data processed {"connection_id":142940,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:44:09] local.INFO: Acknowledgment sent {"connection_id":142940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:44:47] local.INFO: TCP Data received {"connection_id":142941,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:44:47] local.INFO: Processing buffer {"connection_id":142941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:44:47] local.INFO: IMEI packet received {"connection_id":142941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 11:44:47] local.INFO: IMEI acknowledgment sent {"connection_id":142941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 11:44:48] local.INFO: TCP Data received {"connection_id":142941,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:44:48] local.INFO: Processing buffer {"connection_id":142941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:44:48] local.INFO: IMEI packet received {"connection_id":142941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 11:44:48] local.INFO: IMEI acknowledgment sent {"connection_id":142941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:44:49] local.INFO: TCP Data received {"connection_id":142941,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2351e50012d7faac005afe4b00004015227..."} 
[2026-07-27 11:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142941,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2351e50012d7faac005afe4b00004015227..."} 
[2026-07-27 11:44:49] local.INFO: Processing buffer {"connection_id":142941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2351e50012d7faac005afe4b00004015227..."} 
[2026-07-27 11:44:49] local.INFO: Packet analysis {"connection_id":142941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa235"} 
[2026-07-27 11:44:49] local.INFO: Extracted packet for processing {"connection_id":142941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa235"} 
[2026-07-27 11:44:49] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":4,"angle":338,"satellites":39,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 11: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-07-27 11:44:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993924352001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:44:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 11:44:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 11:44:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:44:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785132818000,"timestamp_ms":1785132818000,"timestamp_seconds":1785132818,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2351e50"} 
[2026-07-27 11:44:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:44:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 11: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-27 11:44:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11: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-07-27 11:44:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:44:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:44:49] local.INFO: Teltonika packet parsed successfully {"connection_id":142941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:44:49] local.INFO: Passing IMEI to GPS processor {"connection_id":142941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:44:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":142941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:44:49] 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-07-27 11:44:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 11:44:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 11:44:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993924352001,"66":25712,"33":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-27 11:44:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 11:44:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 11:44:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993924352001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:44:49] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-27 11:44:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 11:44:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:44:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 11:44:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993924352001,"power":25712,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 11:44:49] local.INFO: DEBUG: GPS processor result {"connection_id":142941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:44:49] local.INFO: GPS data processed {"connection_id":142941,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:44:49] local.INFO: Acknowledgment sent {"connection_id":142941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:44:50] local.INFO: TCP Data received {"connection_id":142941,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2351e50012d7faac005afe4b00004015227..."} 
[2026-07-27 11:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142941,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2351e50012d7faac005afe4b00004015227..."} 
[2026-07-27 11:44:50] local.INFO: Processing buffer {"connection_id":142941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2351e50012d7faac005afe4b00004015227..."} 
[2026-07-27 11:44:50] local.INFO: Packet analysis {"connection_id":142941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa235"} 
[2026-07-27 11:44:50] local.INFO: Extracted packet for processing {"connection_id":142941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa235"} 
[2026-07-27 11:44:50] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":4,"angle":338,"satellites":39,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 11: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-07-27 11:44:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993924352001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:44:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 11:44:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 11:44:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:44:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785132818000,"timestamp_ms":1785132818000,"timestamp_seconds":1785132818,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2351e50"} 
[2026-07-27 11:44:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:44:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 11: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-27 11:44:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11: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-07-27 11:44:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:44:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:44:50] local.INFO: Teltonika packet parsed successfully {"connection_id":142941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:44:50] local.INFO: Passing IMEI to GPS processor {"connection_id":142941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:44:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":142941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:44:50] 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-07-27 11:44:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 11:44:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 11:44:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993924352001,"66":25712,"33":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-27 11:44:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 11:44:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 11:44:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993924352001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:44:50] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-27 11:44:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 11:44:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:44:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 11:44:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993924352001,"power":25712,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 11:44:50] local.INFO: DEBUG: GPS processor result {"connection_id":142941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:44:50] local.INFO: GPS data processed {"connection_id":142941,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:44:50] local.INFO: Acknowledgment sent {"connection_id":142941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:45:33] local.INFO: TCP Data received {"connection_id":142815,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:45:33] local.INFO: Processing buffer {"connection_id":142815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:45:33] local.INFO: IMEI packet received {"connection_id":142815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 11:45:33] local.INFO: IMEI acknowledgment sent {"connection_id":142815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 11:45:37] local.INFO: TCP Data received {"connection_id":142815,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:45:37] local.INFO: Processing buffer {"connection_id":142815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:45:37] local.INFO: IMEI packet received {"connection_id":142815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 11:45:37] local.INFO: IMEI acknowledgment sent {"connection_id":142815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:45:38] local.INFO: TCP Data received {"connection_id":142815,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2351e50012d7faac005afe4b00004015227..."} 
[2026-07-27 11:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2351e50012d7faac005afe4b00004015227..."} 
[2026-07-27 11:45:38] local.INFO: Processing buffer {"connection_id":142815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2351e50012d7faac005afe4b00004015227..."} 
[2026-07-27 11:45:38] local.INFO: Packet analysis {"connection_id":142815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa235"} 
[2026-07-27 11:45:38] local.INFO: Extracted packet for processing {"connection_id":142815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa235"} 
[2026-07-27 11:45:38] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":4,"angle":338,"satellites":39,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 11:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:45:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993924352001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:45:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 11:45:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 11:45:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:45:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785132818000,"timestamp_ms":1785132818000,"timestamp_seconds":1785132818,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2351e50"} 
[2026-07-27 11:45:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:45:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 11:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-27 11:45:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:45:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:45:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:45:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:45:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:45:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:45:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:45:38] 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-07-27 11:45:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 11:45:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 11:45:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993924352001,"66":25712,"33":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-27 11:45:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 11:45:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 11:45:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993924352001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:45:38] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-27 11:45:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 11:45:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:45:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 11:45:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993924352001,"power":25712,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 11:45:38] local.INFO: DEBUG: GPS processor result {"connection_id":142815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:45:38] local.INFO: GPS data processed {"connection_id":142815,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:45:38] local.INFO: Acknowledgment sent {"connection_id":142815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:46:09] local.INFO: TCP Data received {"connection_id":142815,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2351e50012d7faac005afe4b00004015227..."} 
[2026-07-27 11:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2351e50012d7faac005afe4b00004015227..."} 
[2026-07-27 11:46:09] local.INFO: Processing buffer {"connection_id":142815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2351e50012d7faac005afe4b00004015227..."} 
[2026-07-27 11:46:09] local.INFO: Packet analysis {"connection_id":142815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa235"} 
[2026-07-27 11:46:09] local.INFO: Extracted packet for processing {"connection_id":142815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa235"} 
[2026-07-27 11:46:09] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":4,"angle":338,"satellites":39,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 11:46:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:46:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993924352001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:46:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 11:46:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 11:46:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:46:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785132818000,"timestamp_ms":1785132818000,"timestamp_seconds":1785132818,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2351e50"} 
[2026-07-27 11:46:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:46:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 11:46:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-27 11:46:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:46:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:46:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:46:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:46:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:46:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:46:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:46: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-07-27 11:46:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 11:46:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 11:46:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993924352001,"66":25712,"33":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-27 11:46:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 11:46:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 11:46:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993924352001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:46:09] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-27 11:46:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 11:46:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:46:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 11:46:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993924352001,"power":25712,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 11:46:09] local.INFO: DEBUG: GPS processor result {"connection_id":142815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:46:09] local.INFO: GPS data processed {"connection_id":142815,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:46:09] local.INFO: Acknowledgment sent {"connection_id":142815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:46:32] local.INFO: TCP Data received {"connection_id":145238,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:46:32] local.INFO: Processing buffer {"connection_id":145238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:46:32] local.INFO: IMEI packet received {"connection_id":145238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 11:46:32] local.INFO: IMEI acknowledgment sent {"connection_id":145238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 11:46:39] local.INFO: TCP Data received {"connection_id":145238,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:46:39] local.INFO: Processing buffer {"connection_id":145238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:46:39] local.INFO: IMEI packet received {"connection_id":145238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 11:46:39] local.INFO: IMEI acknowledgment sent {"connection_id":145238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:46:40] local.INFO: TCP Data received {"connection_id":145238,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2351e50012d7faac005afe4b00004015227..."} 
[2026-07-27 11:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145238,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2351e50012d7faac005afe4b00004015227..."} 
[2026-07-27 11:46:40] local.INFO: Processing buffer {"connection_id":145238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2351e50012d7faac005afe4b00004015227..."} 
[2026-07-27 11:46:40] local.INFO: Packet analysis {"connection_id":145238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa235"} 
[2026-07-27 11:46:40] local.INFO: Extracted packet for processing {"connection_id":145238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa235"} 
[2026-07-27 11:46:40] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":4,"angle":338,"satellites":39,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 11:46:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:46:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993924352001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:46:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 11:46:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 11:46:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:46:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785132818000,"timestamp_ms":1785132818000,"timestamp_seconds":1785132818,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2351e50"} 
[2026-07-27 11:46:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:46:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 11: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-27 11:46:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:46:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:46:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:46:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:46:40] local.INFO: Teltonika packet parsed successfully {"connection_id":145238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:46:40] local.INFO: Passing IMEI to GPS processor {"connection_id":145238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:46:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":145238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:46: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-07-27 11:46:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 11:46:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 11:46:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993924352001,"66":25712,"33":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-27 11:46:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 11:46:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 11:46:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993924352001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:46:40] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-27 11:46:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 11:46:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:46:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 11:46:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993924352001,"power":25712,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 11:46:40] local.INFO: DEBUG: GPS processor result {"connection_id":145238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:46:40] local.INFO: GPS data processed {"connection_id":145238,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:46:40] local.INFO: Acknowledgment sent {"connection_id":145238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:47:12] local.INFO: TCP Data received {"connection_id":145238,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2351e50012d7faac005afe4b00004015227..."} 
[2026-07-27 11:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145238,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2351e50012d7faac005afe4b00004015227..."} 
[2026-07-27 11:47:12] local.INFO: Processing buffer {"connection_id":145238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2351e50012d7faac005afe4b00004015227..."} 
[2026-07-27 11:47:12] local.INFO: Packet analysis {"connection_id":145238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa235"} 
[2026-07-27 11:47:12] local.INFO: Extracted packet for processing {"connection_id":145238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa235"} 
[2026-07-27 11:47:12] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":4,"angle":338,"satellites":39,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 11: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-07-27 11:47:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993924352001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:47:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 11:47:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 11:47:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:47:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785132818000,"timestamp_ms":1785132818000,"timestamp_seconds":1785132818,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2351e50"} 
[2026-07-27 11:47:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:47:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 11:47:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-27 11:47:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:47:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:47:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:47:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:47:12] local.INFO: Teltonika packet parsed successfully {"connection_id":145238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:47:12] local.INFO: Passing IMEI to GPS processor {"connection_id":145238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:47:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":145238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:47:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 11:47:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 11:47:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 11:47:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993924352001,"66":25712,"33":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-27 11:47:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 11:47:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 11:47:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993924352001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:47:12] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-27 11:47:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 11:47:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:47:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 11:47:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993924352001,"power":25712,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 11:47:12] local.INFO: DEBUG: GPS processor result {"connection_id":145238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:47:12] local.INFO: GPS data processed {"connection_id":145238,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:47:12] local.INFO: Acknowledgment sent {"connection_id":145238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:47:32] local.INFO: TCP Data received {"connection_id":142943,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:47:32] local.INFO: Processing buffer {"connection_id":142943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:47:32] local.INFO: IMEI packet received {"connection_id":142943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 11:47:32] local.INFO: IMEI acknowledgment sent {"connection_id":142943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 11:47:37] local.INFO: TCP Data received {"connection_id":142943,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:47:37] local.INFO: Processing buffer {"connection_id":142943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:47:37] local.INFO: IMEI packet received {"connection_id":142943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 11:47:37] local.INFO: IMEI acknowledgment sent {"connection_id":142943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:47:38] local.INFO: TCP Data received {"connection_id":142943,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2351e50012d7faac005afe4b00004015227..."} 
[2026-07-27 11:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2351e50012d7faac005afe4b00004015227..."} 
[2026-07-27 11:47:38] local.INFO: Processing buffer {"connection_id":142943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2351e50012d7faac005afe4b00004015227..."} 
[2026-07-27 11:47:38] local.INFO: Packet analysis {"connection_id":142943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa235"} 
[2026-07-27 11:47:38] local.INFO: Extracted packet for processing {"connection_id":142943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa235"} 
[2026-07-27 11:47:38] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":4,"angle":338,"satellites":39,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 11:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:47:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993924352001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:47:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 11:47:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 11:47:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:47:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785132818000,"timestamp_ms":1785132818000,"timestamp_seconds":1785132818,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2351e50"} 
[2026-07-27 11:47:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:47:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 11:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-27 11:47:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:47:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:47:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:47:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:47:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:47:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:47:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:47:38] 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-07-27 11:47:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 11:47:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 11:47:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993924352001,"66":25712,"33":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-27 11:47:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 11:47:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 11:47:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993924352001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:47:38] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-27 11:47:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 11:47:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:47:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 11:47:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993924352001,"power":25712,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 11:47:38] local.INFO: DEBUG: GPS processor result {"connection_id":142943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:47:38] local.INFO: GPS data processed {"connection_id":142943,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:47:38] local.INFO: Acknowledgment sent {"connection_id":142943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:48:09] local.INFO: TCP Data received {"connection_id":142943,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2351e50012d7faac005afe4b00004015227..."} 
[2026-07-27 11:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2351e50012d7faac005afe4b00004015227..."} 
[2026-07-27 11:48:09] local.INFO: Processing buffer {"connection_id":142943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2351e50012d7faac005afe4b00004015227..."} 
[2026-07-27 11:48:09] local.INFO: Packet analysis {"connection_id":142943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa235"} 
[2026-07-27 11:48:09] local.INFO: Extracted packet for processing {"connection_id":142943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa235"} 
[2026-07-27 11:48:09] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":4,"angle":338,"satellites":39,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 11:48:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:48:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993924352001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:48:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 11:48:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 11:48:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:48:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785132818000,"timestamp_ms":1785132818000,"timestamp_seconds":1785132818,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2351e50"} 
[2026-07-27 11:48:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:48:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 11: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-27 11:48:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:48:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:48:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:48:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:48:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:48:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:48:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:48: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-07-27 11:48:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 11:48:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 11:48:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993924352001,"66":25712,"33":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-27 11:48:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 11:48:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 11:48:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993924352001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:48:09] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-27 11:48:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 11:48:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:48:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 11:48:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993924352001,"power":25712,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 11:48:09] local.INFO: DEBUG: GPS processor result {"connection_id":142943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:48:09] local.INFO: GPS data processed {"connection_id":142943,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:48:09] local.INFO: Acknowledgment sent {"connection_id":142943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:48:10] local.INFO: TCP Data received {"connection_id":145239,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145239,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:48:10] local.INFO: Processing buffer {"connection_id":145239,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:48:10] local.INFO: IMEI packet received {"connection_id":145239,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 11:48:10] local.INFO: IMEI acknowledgment sent {"connection_id":145239,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 11:48:11] local.INFO: TCP Data received {"connection_id":145239,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2351680012d18d140072116580041016728..."} 
[2026-07-27 11:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2351680012d18d140072116580041016728..."} 
[2026-07-27 11:48:11] local.INFO: Processing buffer {"connection_id":145239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2351680012d18d140072116580041016728..."} 
[2026-07-27 11:48:11] local.INFO: Packet analysis {"connection_id":145239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa235"} 
[2026-07-27 11:48:11] local.INFO: Extracted packet for processing {"connection_id":145239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa235"} 
[2026-07-27 11:48:11] local.INFO: GPS Element Parsed {"raw_longitude":756601152,"raw_latitude":119608920,"longitude_deg":75.6601152,"latitude_deg":11.960892,"altitude":65,"angle":359,"satellites":40,"speed":30,"hex_longitude":"2d18d140","hex_latitude":"07211658","is_valid_coordinates":true} 
[2026-07-27 11:48:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:48:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993999616001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:48:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8838480054452224,"note":"Value kept but may cause issues"} 
[2026-07-27 11:48:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788984613847640064,"note":"Value kept but may cause issues"} 
[2026-07-27 11:48:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:48:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785132816000,"timestamp_ms":1785132816000,"timestamp_seconds":1785132816,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2351680"} 
[2026-07-27 11:48:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:48:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 11: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-27 11:48:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:48:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:48:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:48:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:48:11] local.INFO: Teltonika packet parsed successfully {"connection_id":145239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:48:11] local.INFO: Passing IMEI to GPS processor {"connection_id":145239,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:48:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":145239,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:48:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 11:48:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 11:48:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 11:48:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993999616001,"66":13243,"121":206,"28":31744,"24":30,"16":8838480054452224,"45":1788984613847640064},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 11:48:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 11:48:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 11:48:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993999616001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:48:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 11:48:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 11:48:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8838480054452224,"km_value":8838480054452.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:48:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788984613847640064,"description":"Unknown IO ID 45"} 
[2026-07-27 11:48:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993999616001,"power":13243,"unknown_121":206,"unknown_28":31744,"ignition":30,"odometer":null,"unknown_45":1788984613847640064}} 
[2026-07-27 11:48:11] local.INFO: DEBUG: GPS processor result {"connection_id":145239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552901,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:48:11] local.INFO: GPS data processed {"connection_id":145239,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:48:11] local.INFO: Acknowledgment sent {"connection_id":145239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:48:32] local.INFO: TCP Data received {"connection_id":143939,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:48:32] local.INFO: Processing buffer {"connection_id":143939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:48:32] local.INFO: IMEI packet received {"connection_id":143939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 11:48:32] local.INFO: IMEI acknowledgment sent {"connection_id":143939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 11:48:37] local.INFO: TCP Data received {"connection_id":143939,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:48:37] local.INFO: Processing buffer {"connection_id":143939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:48:37] local.INFO: IMEI packet received {"connection_id":143939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 11:48:37] local.INFO: IMEI acknowledgment sent {"connection_id":143939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:48:38] local.INFO: TCP Data received {"connection_id":143939,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2351e50012d7faac005afe4b00004015227..."} 
[2026-07-27 11:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2351e50012d7faac005afe4b00004015227..."} 
[2026-07-27 11:48:38] local.INFO: Processing buffer {"connection_id":143939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2351e50012d7faac005afe4b00004015227..."} 
[2026-07-27 11:48:38] local.INFO: Packet analysis {"connection_id":143939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa235"} 
[2026-07-27 11:48:38] local.INFO: Extracted packet for processing {"connection_id":143939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa235"} 
[2026-07-27 11:48:38] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":4,"angle":338,"satellites":39,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 11:48:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:48:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993924352001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:48:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 11:48:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 11:48:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:48:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785132818000,"timestamp_ms":1785132818000,"timestamp_seconds":1785132818,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2351e50"} 
[2026-07-27 11:48:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:48:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 11:48:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-27 11:48:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:48:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:48:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:48:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:48:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:48:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:48:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:48:38] 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-07-27 11:48:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 11:48:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 11:48:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993924352001,"66":25712,"33":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-27 11:48:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 11:48:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 11:48:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993924352001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:48:38] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-27 11:48:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 11:48:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:48:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 11:48:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993924352001,"power":25712,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 11:48:38] local.INFO: DEBUG: GPS processor result {"connection_id":143939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:48:38] local.INFO: GPS data processed {"connection_id":143939,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:48:38] local.INFO: Acknowledgment sent {"connection_id":143939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:48:43] local.INFO: TCP Data received {"connection_id":145239,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2386240012d18cd00072124080045015925..."} 
[2026-07-27 11:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2386240012d18cd00072124080045015925..."} 
[2026-07-27 11:48:43] local.INFO: Processing buffer {"connection_id":145239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2386240012d18cd00072124080045015925..."} 
[2026-07-27 11:48:43] local.INFO: Packet analysis {"connection_id":145239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa238"} 
[2026-07-27 11:48:43] local.INFO: Extracted packet for processing {"connection_id":145239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa238"} 
[2026-07-27 11:48:43] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119612424,"longitude_deg":75.6600064,"latitude_deg":11.9612424,"altitude":69,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d18cd00","hex_latitude":"07212408","is_valid_coordinates":true} 
[2026-07-27 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-07-27 11:48:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994050816001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:48:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8838707687718912,"note":"Value kept but may cause issues"} 
[2026-07-27 11:48:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657756735488,"note":"Value kept but may cause issues"} 
[2026-07-27 11:48:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:48:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785133032000,"timestamp_ms":1785133032000,"timestamp_seconds":1785133032,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2386240"} 
[2026-07-27 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-07-27 11:48:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-27 11:48:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 11:48:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:48:43] local.INFO: Teltonika packet parsed successfully {"connection_id":145239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:48:43] local.INFO: Passing IMEI to GPS processor {"connection_id":145239,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:48:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":145239,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:48:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 11:48:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 11:48:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 11:48:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994050816001,"66":12211,"121":206,"28":31744,"24":0,"16":8838707687718912,"45":1787084657756735488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 11:48:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 11:48:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 11:48:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994050816001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:48:43] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 11:48:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 11:48:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8838707687718912,"km_value":8838707687718.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:48:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657756735488,"description":"Unknown IO ID 45"} 
[2026-07-27 11:48:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994050816001,"power":12211,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1787084657756735488}} 
[2026-07-27 11:48:43] local.INFO: DEBUG: GPS processor result {"connection_id":145239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552903,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:48:43] local.INFO: GPS data processed {"connection_id":145239,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:48:43] local.INFO: Acknowledgment sent {"connection_id":145239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:49:05] local.INFO: TCP Data received {"connection_id":142816,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142816,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:49:05] local.INFO: Processing buffer {"connection_id":142816,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:49:05] local.INFO: IMEI packet received {"connection_id":142816,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 11:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":142816,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 11:49:10] local.INFO: TCP Data received {"connection_id":142816,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142816,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:49:10] local.INFO: Processing buffer {"connection_id":142816,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:49:10] local.INFO: IMEI packet received {"connection_id":142816,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 11:49:10] local.INFO: IMEI acknowledgment sent {"connection_id":142816,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:49:11] local.INFO: TCP Data received {"connection_id":142816,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa238b448012d18cd00072124080045015929..."} 
[2026-07-27 11:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa238b448012d18cd00072124080045015929..."} 
[2026-07-27 11:49:11] local.INFO: Processing buffer {"connection_id":142816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa238b448012d18cd00072124080045015929..."} 
[2026-07-27 11:49:11] local.INFO: Packet analysis {"connection_id":142816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa238"} 
[2026-07-27 11:49:11] local.INFO: Extracted packet for processing {"connection_id":142816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa238"} 
[2026-07-27 11:49:11] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119612424,"longitude_deg":75.6600064,"latitude_deg":11.9612424,"altitude":69,"angle":345,"satellites":41,"speed":0,"hex_longitude":"2d18cd00","hex_latitude":"07212408","is_valid_coordinates":true} 
[2026-07-27 11:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:49:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994056192001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:49:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8838707687718912,"note":"Value kept but may cause issues"} 
[2026-07-27 11:49:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657756735488,"note":"Value kept but may cause issues"} 
[2026-07-27 11:49:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:49:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785133053000,"timestamp_ms":1785133053000,"timestamp_seconds":1785133053,"priority":1,"record_length":96,"hex_timestamp":"0000019fa238b448"} 
[2026-07-27 11:49:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:49:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 11: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":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-27 11:49:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:49:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:49:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:49:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:49:11] local.INFO: Teltonika packet parsed successfully {"connection_id":142816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:49:11] local.INFO: Passing IMEI to GPS processor {"connection_id":142816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:49:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":142816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:49:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 11:49:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 11:49:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 11:49:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994056192001,"66":12939,"121":206,"28":31744,"24":0,"16":8838707687718912,"45":1787084657756735488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 11:49:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 11:49:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 11:49:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994056192001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:49:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 11:49:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 11:49:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8838707687718912,"km_value":8838707687718.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:49:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657756735488,"description":"Unknown IO ID 45"} 
[2026-07-27 11:49:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994056192001,"power":12939,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1787084657756735488}} 
[2026-07-27 11:49:11] local.INFO: TCP Data received {"connection_id":143939,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2351e50012d7faac005afe4b00004015227..."} 
[2026-07-27 11:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2351e50012d7faac005afe4b00004015227..."} 
[2026-07-27 11:49:11] local.INFO: Processing buffer {"connection_id":143939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2351e50012d7faac005afe4b00004015227..."} 
[2026-07-27 11:49:11] local.INFO: Packet analysis {"connection_id":143939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa235"} 
[2026-07-27 11:49:11] local.INFO: Extracted packet for processing {"connection_id":143939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa235"} 
[2026-07-27 11:49:11] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":4,"angle":338,"satellites":39,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 11:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:49:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456993924352001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:49:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 11:49:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 11:49:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:49:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785132818000,"timestamp_ms":1785132818000,"timestamp_seconds":1785132818,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2351e50"} 
[2026-07-27 11:49:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:49:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 11:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-27 11:49:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:49:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:49:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:49:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:49:11] local.INFO: Teltonika packet parsed successfully {"connection_id":143939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:49:11] local.INFO: Passing IMEI to GPS processor {"connection_id":143939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:49:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":143939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:49: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-07-27 11:49:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 11:49:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 11:49:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456993924352001,"66":25712,"33":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-27 11:49:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 11:49:11] local.INFO: DEBUG: GPS processor result {"connection_id":142816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552904,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:49:11] local.INFO: GPS data processed {"connection_id":142816,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:49:11] local.INFO: Acknowledgment sent {"connection_id":142816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:49:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 11:49:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456993924352001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:49:11] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-27 11:49:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 11:49:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:49:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 11:49:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456993924352001,"power":25712,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 11:49:11] local.INFO: DEBUG: GPS processor result {"connection_id":143939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:49:11] local.INFO: GPS data processed {"connection_id":143939,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:49:11] local.INFO: Acknowledgment sent {"connection_id":143939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:49:15] local.INFO: TCP Data received {"connection_id":142816,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2390650012d18cd00072124080045015928..."} 
[2026-07-27 11:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2390650012d18cd00072124080045015928..."} 
[2026-07-27 11:49:15] local.INFO: Processing buffer {"connection_id":142816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2390650012d18cd00072124080045015928..."} 
[2026-07-27 11:49:15] local.INFO: Packet analysis {"connection_id":142816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa239"} 
[2026-07-27 11:49:15] local.INFO: Extracted packet for processing {"connection_id":142816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa239"} 
[2026-07-27 11:49:15] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119612424,"longitude_deg":75.6600064,"latitude_deg":11.9612424,"altitude":69,"angle":345,"satellites":40,"speed":0,"hex_longitude":"2d18cd00","hex_latitude":"07212408","is_valid_coordinates":true} 
[2026-07-27 11:49:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:49:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994061568001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:49:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8838707687718912,"note":"Value kept but may cause issues"} 
[2026-07-27 11:49:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657756735488,"note":"Value kept but may cause issues"} 
[2026-07-27 11:49: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-07-27 11:49:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785133074000,"timestamp_ms":1785133074000,"timestamp_seconds":1785133074,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2390650"} 
[2026-07-27 11:49:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:49:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 11:49:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-27 11:49:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:49:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:49:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:49:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:49:15] local.INFO: Teltonika packet parsed successfully {"connection_id":142816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:49:15] local.INFO: Passing IMEI to GPS processor {"connection_id":142816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:49:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":142816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:49:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 11:49:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 11:49:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 11:49:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994061568001,"66":12841,"121":206,"28":31744,"24":0,"16":8838707687718912,"45":1787084657756735488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 11:49:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 11:49:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 11:49:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994061568001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:49:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 11:49:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 11:49:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8838707687718912,"km_value":8838707687718.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:49:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657756735488,"description":"Unknown IO ID 45"} 
[2026-07-27 11:49:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994061568001,"power":12841,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1787084657756735488}} 
[2026-07-27 11:49:15] local.INFO: DEBUG: GPS processor result {"connection_id":142816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552906,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:49:15] local.INFO: GPS data processed {"connection_id":142816,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:49:15] local.INFO: Acknowledgment sent {"connection_id":142816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:49:48] local.INFO: TCP Data received {"connection_id":145240,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:49:48] local.INFO: Processing buffer {"connection_id":145240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:49:48] local.INFO: IMEI packet received {"connection_id":145240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 11:49:48] local.INFO: IMEI acknowledgment sent {"connection_id":145240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 11:49:55] local.INFO: TCP Data received {"connection_id":145240,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:49:55] local.INFO: Processing buffer {"connection_id":145240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:49:55] local.INFO: IMEI packet received {"connection_id":145240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 11:49:55] local.INFO: IMEI acknowledgment sent {"connection_id":145240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:49:56] local.INFO: TCP Data received {"connection_id":145240,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa239b618012d7faac005afe4b00002015225..."} 
[2026-07-27 11:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa239b618012d7faac005afe4b00002015225..."} 
[2026-07-27 11:49:56] local.INFO: Processing buffer {"connection_id":145240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa239b618012d7faac005afe4b00002015225..."} 
[2026-07-27 11:49:56] local.INFO: Packet analysis {"connection_id":145240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa239"} 
[2026-07-27 11:49:56] local.INFO: Extracted packet for processing {"connection_id":145240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa239"} 
[2026-07-27 11:49:56] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":2,"angle":338,"satellites":37,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 11:49:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:49:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994001408001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:49:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 11:49:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 11:49:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:49:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785133119000,"timestamp_ms":1785133119000,"timestamp_seconds":1785133119,"priority":1,"record_length":96,"hex_timestamp":"0000019fa239b618"} 
[2026-07-27 11:49:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:49:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 11:49:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-07-27 11:49:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:49:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:49:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:49:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:49:56] local.INFO: Teltonika packet parsed successfully {"connection_id":145240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:49:56] local.INFO: Passing IMEI to GPS processor {"connection_id":145240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:49:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":145240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:49:56] 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-07-27 11:49:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 11:49:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 11:49:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994001408001,"66":25375,"33":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-27 11:49:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 11:49:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 11:49:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994001408001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:49:56] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-27 11:49:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 11:49:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:49:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 11:49:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994001408001,"power":25375,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 11:49:56] local.INFO: DEBUG: GPS processor result {"connection_id":145240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:49:56] local.INFO: GPS data processed {"connection_id":145240,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:49:56] local.INFO: Acknowledgment sent {"connection_id":145240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:49:57] local.INFO: TCP Data received {"connection_id":145240,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa239b618012d7faac005afe4b00002015225..."} 
[2026-07-27 11:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa239b618012d7faac005afe4b00002015225..."} 
[2026-07-27 11:49:57] local.INFO: Processing buffer {"connection_id":145240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa239b618012d7faac005afe4b00002015225..."} 
[2026-07-27 11:49:57] local.INFO: Packet analysis {"connection_id":145240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa239"} 
[2026-07-27 11:49:57] local.INFO: Extracted packet for processing {"connection_id":145240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa239"} 
[2026-07-27 11:49:57] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":2,"angle":338,"satellites":37,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 11:49:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:49:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994001408001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:49:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 11:49:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 11:49:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:49:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785133119000,"timestamp_ms":1785133119000,"timestamp_seconds":1785133119,"priority":1,"record_length":96,"hex_timestamp":"0000019fa239b618"} 
[2026-07-27 11:49:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:49:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 11: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-07-27 11:49:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:49:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:49:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:49:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:49:57] local.INFO: Teltonika packet parsed successfully {"connection_id":145240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:49:57] local.INFO: Passing IMEI to GPS processor {"connection_id":145240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:49:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":145240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:49:57] 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-07-27 11:49:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 11:49:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 11:49:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994001408001,"66":25375,"33":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-27 11:49:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 11:49:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 11:49:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994001408001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:49:57] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-27 11:49:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 11:49:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:49:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 11:49:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994001408001,"power":25375,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 11:49:57] local.INFO: DEBUG: GPS processor result {"connection_id":145240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:49:57] local.INFO: GPS data processed {"connection_id":145240,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:49:57] local.INFO: Acknowledgment sent {"connection_id":145240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:50:01] local.INFO: TCP Data received {"connection_id":142817,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142817,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:50:01] local.INFO: Processing buffer {"connection_id":142817,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:50:01] local.INFO: IMEI packet received {"connection_id":142817,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 11:50:01] local.INFO: IMEI acknowledgment sent {"connection_id":142817,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 11:50:05] local.INFO: TCP Data received {"connection_id":142817,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142817,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:50:05] local.INFO: Processing buffer {"connection_id":142817,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:50:05] local.INFO: IMEI packet received {"connection_id":142817,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 11:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":142817,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:50:06] local.INFO: TCP Data received {"connection_id":142817,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2395858012d18cd0007212408004501592a..."} 
[2026-07-27 11:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2395858012d18cd0007212408004501592a..."} 
[2026-07-27 11:50:06] local.INFO: Processing buffer {"connection_id":142817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2395858012d18cd0007212408004501592a..."} 
[2026-07-27 11:50:06] local.INFO: Packet analysis {"connection_id":142817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa239"} 
[2026-07-27 11:50:07] local.INFO: Extracted packet for processing {"connection_id":142817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa239"} 
[2026-07-27 11:50:07] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119612424,"longitude_deg":75.6600064,"latitude_deg":11.9612424,"altitude":69,"angle":345,"satellites":42,"speed":0,"hex_longitude":"2d18cd00","hex_latitude":"07212408","is_valid_coordinates":true} 
[2026-07-27 11:50:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:50:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994066944001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:50:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8838707687718912,"note":"Value kept but may cause issues"} 
[2026-07-27 11:50:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657756735488,"note":"Value kept but may cause issues"} 
[2026-07-27 11:50:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:50:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785133095000,"timestamp_ms":1785133095000,"timestamp_seconds":1785133095,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2395858"} 
[2026-07-27 11:50:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:50:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 11:50:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-27 11:50:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:50:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:50:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:50:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:50:07] local.INFO: Teltonika packet parsed successfully {"connection_id":142817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:50:07] local.INFO: Passing IMEI to GPS processor {"connection_id":142817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:50:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":142817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:50:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 11:50:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 11:50:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 11:50:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994066944001,"66":12852,"121":206,"28":31744,"24":0,"16":8838707687718912,"45":1787084657756735488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 11:50:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 11:50:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 11:50:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994066944001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:50:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 11:50:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 11:50:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8838707687718912,"km_value":8838707687718.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:50:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657756735488,"description":"Unknown IO ID 45"} 
[2026-07-27 11:50:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994066944001,"power":12852,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1787084657756735488}} 
[2026-07-27 11:50:07] local.INFO: DEBUG: GPS processor result {"connection_id":142817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552909,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:50:07] local.INFO: GPS data processed {"connection_id":142817,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:50:07] local.INFO: Acknowledgment sent {"connection_id":142817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:50:37] local.INFO: TCP Data received {"connection_id":142944,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:50:37] local.INFO: Processing buffer {"connection_id":142944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:50:37] local.INFO: IMEI packet received {"connection_id":142944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 11:50:37] local.INFO: IMEI acknowledgment sent {"connection_id":142944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 11:50:37] local.INFO: TCP Data received {"connection_id":142944,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:50:37] local.INFO: Processing buffer {"connection_id":142944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:50:37] local.INFO: IMEI packet received {"connection_id":142944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 11:50:37] local.INFO: IMEI acknowledgment sent {"connection_id":142944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:50:38] local.INFO: TCP Data received {"connection_id":142817,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa239aa60012d18cd00072124080045015921..."} 
[2026-07-27 11:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa239aa60012d18cd00072124080045015921..."} 
[2026-07-27 11:50:38] local.INFO: Processing buffer {"connection_id":142817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa239aa60012d18cd00072124080045015921..."} 
[2026-07-27 11:50:38] local.INFO: Packet analysis {"connection_id":142817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa239"} 
[2026-07-27 11:50:38] local.INFO: Extracted packet for processing {"connection_id":142817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa239"} 
[2026-07-27 11:50:38] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119612424,"longitude_deg":75.6600064,"latitude_deg":11.9612424,"altitude":69,"angle":345,"satellites":33,"speed":0,"hex_longitude":"2d18cd00","hex_latitude":"07212408","is_valid_coordinates":true} 
[2026-07-27 11:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:50:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994072320001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:50:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8838707687718912,"note":"Value kept but may cause issues"} 
[2026-07-27 11:50:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657756735488,"note":"Value kept but may cause issues"} 
[2026-07-27 11:50:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:50:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785133116000,"timestamp_ms":1785133116000,"timestamp_seconds":1785133116,"priority":1,"record_length":96,"hex_timestamp":"0000019fa239aa60"} 
[2026-07-27 11:50:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:50:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 11:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-27 11:50:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":916,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:50:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:50:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:50:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:50:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:50:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:50:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:50:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 11:50:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 11:50:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 11:50:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994072320001,"66":12841,"121":206,"28":31744,"24":0,"16":8838707687718912,"45":1787084657756735488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 11:50:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 11:50:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 11:50:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994072320001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:50:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 11:50:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 11:50:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8838707687718912,"km_value":8838707687718.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:50:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657756735488,"description":"Unknown IO ID 45"} 
[2026-07-27 11:50:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994072320001,"power":12841,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1787084657756735488}} 
[2026-07-27 11:50:38] local.INFO: DEBUG: GPS processor result {"connection_id":142817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552910,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:50:38] local.INFO: GPS data processed {"connection_id":142817,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:50:38] local.INFO: Acknowledgment sent {"connection_id":142817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:50:38] local.INFO: TCP Data received {"connection_id":142944,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa239b618012d7faac005afe4b00002015225..."} 
[2026-07-27 11:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa239b618012d7faac005afe4b00002015225..."} 
[2026-07-27 11:50:38] local.INFO: Processing buffer {"connection_id":142944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa239b618012d7faac005afe4b00002015225..."} 
[2026-07-27 11:50:38] local.INFO: Packet analysis {"connection_id":142944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa239"} 
[2026-07-27 11:50:38] local.INFO: Extracted packet for processing {"connection_id":142944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa239"} 
[2026-07-27 11:50:38] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":2,"angle":338,"satellites":37,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 11:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:50:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994001408001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:50:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 11:50:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 11:50:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:50:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785133119000,"timestamp_ms":1785133119000,"timestamp_seconds":1785133119,"priority":1,"record_length":96,"hex_timestamp":"0000019fa239b618"} 
[2026-07-27 11:50:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:50:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 11:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-07-27 11:50:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:50:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:50:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:50:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:50:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:50:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:50:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:50:38] 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-07-27 11:50:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 11:50:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 11:50:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994001408001,"66":25375,"33":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-27 11:50:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 11:50:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 11:50:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994001408001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:50:38] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-27 11:50:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 11:50:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:50:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 11:50:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994001408001,"power":25375,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 11:50:38] local.INFO: DEBUG: GPS processor result {"connection_id":142944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:50:38] local.INFO: GPS data processed {"connection_id":142944,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:50:38] local.INFO: Acknowledgment sent {"connection_id":142944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:50:43] local.INFO: TCP Data received {"connection_id":142944,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa239b618012d7faac005afe4b00002015225..."} 
[2026-07-27 11:50:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa239b618012d7faac005afe4b00002015225..."} 
[2026-07-27 11:50:43] local.INFO: Processing buffer {"connection_id":142944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa239b618012d7faac005afe4b00002015225..."} 
[2026-07-27 11:50:43] local.INFO: Packet analysis {"connection_id":142944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa239"} 
[2026-07-27 11:50:43] local.INFO: Extracted packet for processing {"connection_id":142944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa239"} 
[2026-07-27 11:50:43] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":2,"angle":338,"satellites":37,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 11:50:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:50:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994001408001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:50:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 11:50:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 11:50:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:50:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785133119000,"timestamp_ms":1785133119000,"timestamp_seconds":1785133119,"priority":1,"record_length":96,"hex_timestamp":"0000019fa239b618"} 
[2026-07-27 11:50:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:50:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 11: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-07-27 11:50:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:50:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:50:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:50:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:50:43] local.INFO: Teltonika packet parsed successfully {"connection_id":142944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:50:43] local.INFO: Passing IMEI to GPS processor {"connection_id":142944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:50:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":142944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:50: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-07-27 11:50:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 11:50:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 11:50:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994001408001,"66":25375,"33":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-27 11:50:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 11:50:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 11:50:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994001408001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:50:43] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-27 11:50:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 11:50:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:50:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 11:50:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994001408001,"power":25375,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 11:50:43] local.INFO: DEBUG: GPS processor result {"connection_id":142944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:50:43] local.INFO: GPS data processed {"connection_id":142944,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:50:43] local.INFO: Acknowledgment sent {"connection_id":142944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:50:59] local.INFO: TCP Data received {"connection_id":143940,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143940,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:50:59] local.INFO: Processing buffer {"connection_id":143940,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:50:59] local.INFO: IMEI packet received {"connection_id":143940,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 11:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":143940,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 11:51:00] local.INFO: TCP Data received {"connection_id":143940,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143940,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:51:00] local.INFO: Processing buffer {"connection_id":143940,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:51:00] local.INFO: IMEI packet received {"connection_id":143940,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 11:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":143940,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:51:05] local.INFO: TCP Data received {"connection_id":143940,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143940,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:51:05] local.INFO: Processing buffer {"connection_id":143940,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:51:05] local.INFO: IMEI packet received {"connection_id":143940,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 11:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":143940,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:51:07] local.INFO: TCP Data received {"connection_id":143940,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa239fc68012d18cd00072124080045015927..."} 
[2026-07-27 11:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa239fc68012d18cd00072124080045015927..."} 
[2026-07-27 11:51:07] local.INFO: Processing buffer {"connection_id":143940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa239fc68012d18cd00072124080045015927..."} 
[2026-07-27 11:51:07] local.INFO: Packet analysis {"connection_id":143940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa239"} 
[2026-07-27 11:51:07] local.INFO: Extracted packet for processing {"connection_id":143940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa239"} 
[2026-07-27 11:51:07] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119612424,"longitude_deg":75.6600064,"latitude_deg":11.9612424,"altitude":69,"angle":345,"satellites":39,"speed":0,"hex_longitude":"2d18cd00","hex_latitude":"07212408","is_valid_coordinates":true} 
[2026-07-27 11:51:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:51:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994077696001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:51:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8838707687718912,"note":"Value kept but may cause issues"} 
[2026-07-27 11:51:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657756735488,"note":"Value kept but may cause issues"} 
[2026-07-27 11:51:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:51:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785133137000,"timestamp_ms":1785133137000,"timestamp_seconds":1785133137,"priority":1,"record_length":96,"hex_timestamp":"0000019fa239fc68"} 
[2026-07-27 11:51:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:51:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 11:51:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-27 11:51:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:51:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:51:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:51:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:51:07] local.INFO: Teltonika packet parsed successfully {"connection_id":143940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:51:07] local.INFO: Passing IMEI to GPS processor {"connection_id":143940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:51:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":143940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:51:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 11:51:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 11:51:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 11:51:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994077696001,"66":12841,"121":206,"28":31744,"24":0,"16":8838707687718912,"45":1787084657756735488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 11:51:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 11:51:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 11:51:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994077696001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:51:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 11:51:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 11:51:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8838707687718912,"km_value":8838707687718.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:51:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657756735488,"description":"Unknown IO ID 45"} 
[2026-07-27 11:51:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994077696001,"power":12841,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1787084657756735488}} 
[2026-07-27 11:51:07] local.INFO: DEBUG: GPS processor result {"connection_id":143940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552913,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:51:07] local.INFO: GPS data processed {"connection_id":143940,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:51:07] local.INFO: Acknowledgment sent {"connection_id":143940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:51:14] local.INFO: TCP Data received {"connection_id":142944,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa239b618012d7faac005afe4b00002015225..."} 
[2026-07-27 11:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa239b618012d7faac005afe4b00002015225..."} 
[2026-07-27 11:51:14] local.INFO: Processing buffer {"connection_id":142944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa239b618012d7faac005afe4b00002015225..."} 
[2026-07-27 11:51:14] local.INFO: Packet analysis {"connection_id":142944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa239"} 
[2026-07-27 11:51:14] local.INFO: Extracted packet for processing {"connection_id":142944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa239"} 
[2026-07-27 11:51:14] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":2,"angle":338,"satellites":37,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 11: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-07-27 11:51:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994001408001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:51:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 11:51:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 11:51:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:51:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785133119000,"timestamp_ms":1785133119000,"timestamp_seconds":1785133119,"priority":1,"record_length":96,"hex_timestamp":"0000019fa239b618"} 
[2026-07-27 11:51:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:51:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 11: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-07-27 11:51:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11: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-07-27 11:51:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:51:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:51:14] local.INFO: Teltonika packet parsed successfully {"connection_id":142944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:51:14] local.INFO: Passing IMEI to GPS processor {"connection_id":142944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:51:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":142944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11: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-07-27 11:51:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 11:51:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 11:51:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994001408001,"66":25375,"33":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-27 11:51:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 11:51:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 11:51:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994001408001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:51:14] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-27 11:51:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 11:51:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:51:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 11:51:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994001408001,"power":25375,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 11:51:14] local.INFO: DEBUG: GPS processor result {"connection_id":142944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:51:14] local.INFO: GPS data processed {"connection_id":142944,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:51:14] local.INFO: Acknowledgment sent {"connection_id":142944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:51:32] local.INFO: TCP Data received {"connection_id":143941,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:51:32] local.INFO: Processing buffer {"connection_id":143941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:51:32] local.INFO: IMEI packet received {"connection_id":143941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 11:51:32] local.INFO: IMEI acknowledgment sent {"connection_id":143941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 11:51:37] local.INFO: TCP Data received {"connection_id":143941,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:51:37] local.INFO: Processing buffer {"connection_id":143941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:51:37] local.INFO: IMEI packet received {"connection_id":143941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 11:51:37] local.INFO: IMEI acknowledgment sent {"connection_id":143941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:51:38] local.INFO: TCP Data received {"connection_id":143941,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa239b618012d7faac005afe4b00002015225..."} 
[2026-07-27 11:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143941,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa239b618012d7faac005afe4b00002015225..."} 
[2026-07-27 11:51:38] local.INFO: Processing buffer {"connection_id":143941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa239b618012d7faac005afe4b00002015225..."} 
[2026-07-27 11:51:38] local.INFO: Packet analysis {"connection_id":143941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa239"} 
[2026-07-27 11:51:38] local.INFO: Extracted packet for processing {"connection_id":143941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa239"} 
[2026-07-27 11:51:38] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":2,"angle":338,"satellites":37,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 11:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:51:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994001408001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:51:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 11:51:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 11:51:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:51:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785133119000,"timestamp_ms":1785133119000,"timestamp_seconds":1785133119,"priority":1,"record_length":96,"hex_timestamp":"0000019fa239b618"} 
[2026-07-27 11:51:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:51:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 11:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-07-27 11:51:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:51:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:51:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:51:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:51:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:51:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:51:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:51:38] 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-07-27 11:51:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 11:51:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 11:51:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994001408001,"66":25375,"33":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-27 11:51:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 11:51:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 11:51:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994001408001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:51:38] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-27 11:51:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 11:51:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:51:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 11:51:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994001408001,"power":25375,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 11:51:38] local.INFO: DEBUG: GPS processor result {"connection_id":143941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:51:38] local.INFO: GPS data processed {"connection_id":143941,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:51:38] local.INFO: Acknowledgment sent {"connection_id":143941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:51:38] local.INFO: TCP Data received {"connection_id":143940,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa23a4e70012d18cd00072124080045015928..."} 
[2026-07-27 11:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa23a4e70012d18cd00072124080045015928..."} 
[2026-07-27 11:51:38] local.INFO: Processing buffer {"connection_id":143940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa23a4e70012d18cd00072124080045015928..."} 
[2026-07-27 11:51:38] local.INFO: Packet analysis {"connection_id":143940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa23a"} 
[2026-07-27 11:51:38] local.INFO: Extracted packet for processing {"connection_id":143940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa23a"} 
[2026-07-27 11:51:38] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119612424,"longitude_deg":75.6600064,"latitude_deg":11.9612424,"altitude":69,"angle":345,"satellites":40,"speed":0,"hex_longitude":"2d18cd00","hex_latitude":"07212408","is_valid_coordinates":true} 
[2026-07-27 11:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:51:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994083072001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:51:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8838707687718912,"note":"Value kept but may cause issues"} 
[2026-07-27 11:51:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657756735488,"note":"Value kept but may cause issues"} 
[2026-07-27 11:51:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:51:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785133158000,"timestamp_ms":1785133158000,"timestamp_seconds":1785133158,"priority":1,"record_length":96,"hex_timestamp":"0000019fa23a4e70"} 
[2026-07-27 11:51:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:51:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 11:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-27 11:51:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:51:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:51:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:51:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:51:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:51:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:51:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:51:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 11:51:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 11:51:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 11:51:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994083072001,"66":12558,"121":206,"28":31744,"24":0,"16":8838707687718912,"45":1787084657756735488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 11:51:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 11:51:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 11:51:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994083072001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:51:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 11:51:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 11:51:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8838707687718912,"km_value":8838707687718.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:51:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657756735488,"description":"Unknown IO ID 45"} 
[2026-07-27 11:51:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994083072001,"power":12558,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1787084657756735488}} 
[2026-07-27 11:51:38] local.INFO: DEBUG: GPS processor result {"connection_id":143940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552916,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:51:38] local.INFO: GPS data processed {"connection_id":143940,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:51:38] local.INFO: Acknowledgment sent {"connection_id":143940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:52:00] local.INFO: TCP Data received {"connection_id":142818,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142818,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:52:00] local.INFO: Processing buffer {"connection_id":142818,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:52:00] local.INFO: IMEI packet received {"connection_id":142818,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 11:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":142818,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 11:52:03] local.INFO: TCP Data received {"connection_id":142818,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142818,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:52:03] local.INFO: Processing buffer {"connection_id":142818,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:52:03] local.INFO: IMEI packet received {"connection_id":142818,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 11:52:03] local.INFO: IMEI acknowledgment sent {"connection_id":142818,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:52:05] local.INFO: TCP Data received {"connection_id":142818,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142818,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:52:05] local.INFO: Processing buffer {"connection_id":142818,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:52:05] local.INFO: IMEI packet received {"connection_id":142818,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 11:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":142818,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:52:06] local.INFO: TCP Data received {"connection_id":142818,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa23aa078012d18cd00072124080045015928..."} 
[2026-07-27 11:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa23aa078012d18cd00072124080045015928..."} 
[2026-07-27 11:52:06] local.INFO: Processing buffer {"connection_id":142818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa23aa078012d18cd00072124080045015928..."} 
[2026-07-27 11:52:06] local.INFO: Packet analysis {"connection_id":142818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa23a"} 
[2026-07-27 11:52:06] local.INFO: Extracted packet for processing {"connection_id":142818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa23a"} 
[2026-07-27 11:52:06] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119612424,"longitude_deg":75.6600064,"latitude_deg":11.9612424,"altitude":69,"angle":345,"satellites":40,"speed":0,"hex_longitude":"2d18cd00","hex_latitude":"07212408","is_valid_coordinates":true} 
[2026-07-27 11:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:52:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994088448001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:52:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8838707687718912,"note":"Value kept but may cause issues"} 
[2026-07-27 11:52:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657756735488,"note":"Value kept but may cause issues"} 
[2026-07-27 11:52:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:52:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785133179000,"timestamp_ms":1785133179000,"timestamp_seconds":1785133179,"priority":1,"record_length":96,"hex_timestamp":"0000019fa23aa078"} 
[2026-07-27 11:52:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:52:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 11:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-07-27 11:52:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-07-27 11:52:06] local.WARNING: Large IO value detected {"io_id":102,"raw_value":3254779904,"note":"Value kept but may cause issues"} 
[2026-07-27 11:52:06] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2721604160,"note":"Value kept but may cause issues"} 
[2026-07-27 11:52:06] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249572531151119368,"note":"Value kept but may cause issues"} 
[2026-07-27 11:52:06] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2332085735,"note":"Value kept but may cause issues"} 
[2026-07-27 11:52:06] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8719195500324067328,"note":"Value kept but may cause issues"} 
[2026-07-27 11:52:06] local.WARNING: Large IO value detected {"io_id":74,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-27 11:52:06] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-07-27 11:52:06] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,121,28,24,241,158,16,102,159,252,45,36,69,39,10,66,170,33,88,1,240,52,162,4,113,205,180,8,41,239,50,2,31,7,231,74,206],"length":575,"final_offset":705,"validated_count":37,"validation_warnings":[]} 
[2026-07-27 11:52:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4972353491927302144,"timestamp_seconds":4972353491927302.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 11:52:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:52:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:52:06] local.INFO: Teltonika packet parsed successfully {"connection_id":142818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:52:06] local.INFO: Passing IMEI to GPS processor {"connection_id":142818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:52:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":142818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:52:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 11:52:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 11:52:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 11:52:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994088448001,"66":12798,"121":206,"28":31744,"24":0,"16":8838707687718912,"45":1787084657756735488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 11:52:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 11:52:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 11:52:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994088448001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:52:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 11:52:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 11:52:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8838707687718912,"km_value":8838707687718.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:52:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657756735488,"description":"Unknown IO ID 45"} 
[2026-07-27 11:52:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994088448001,"power":12798,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1787084657756735488}} 
[2026-07-27 11:52:07] local.INFO: DEBUG: GPS processor result {"connection_id":142818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552917,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:52:07] local.INFO: GPS data processed {"connection_id":142818,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:52:07] local.INFO: Acknowledgment sent {"connection_id":142818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:52:09] local.INFO: TCP Data received {"connection_id":143941,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa239b618012d7faac005afe4b00002015225..."} 
[2026-07-27 11:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143941,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa239b618012d7faac005afe4b00002015225..."} 
[2026-07-27 11:52:09] local.INFO: Processing buffer {"connection_id":143941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa239b618012d7faac005afe4b00002015225..."} 
[2026-07-27 11:52:09] local.INFO: Packet analysis {"connection_id":143941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa239"} 
[2026-07-27 11:52:09] local.INFO: Extracted packet for processing {"connection_id":143941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa239"} 
[2026-07-27 11:52:09] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":2,"angle":338,"satellites":37,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 11:52:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:52:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994001408001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:52:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 11:52:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 11:52:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:52:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785133119000,"timestamp_ms":1785133119000,"timestamp_seconds":1785133119,"priority":1,"record_length":96,"hex_timestamp":"0000019fa239b618"} 
[2026-07-27 11:52:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:52:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 11:52:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-07-27 11:52:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:52:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:52:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:52:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:52:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:52:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:52:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:52: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-07-27 11:52:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 11:52:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 11:52:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994001408001,"66":25375,"33":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-27 11:52:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 11:52:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 11:52:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994001408001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:52:09] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-27 11:52:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 11:52:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:52:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 11:52:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994001408001,"power":25375,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 11:52:09] local.INFO: DEBUG: GPS processor result {"connection_id":143941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:52:09] local.INFO: GPS data processed {"connection_id":143941,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:52:09] local.INFO: Acknowledgment sent {"connection_id":143941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:52:32] local.INFO: TCP Data received {"connection_id":142945,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:52:32] local.INFO: Processing buffer {"connection_id":142945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:52:32] local.INFO: IMEI packet received {"connection_id":142945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 11:52:32] local.INFO: IMEI acknowledgment sent {"connection_id":142945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 11:52:37] local.INFO: TCP Data received {"connection_id":142945,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:52:37] local.INFO: Processing buffer {"connection_id":142945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:52:37] local.INFO: IMEI packet received {"connection_id":142945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 11:52:37] local.INFO: IMEI acknowledgment sent {"connection_id":142945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:52:38] local.INFO: TCP Data received {"connection_id":142818,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa23af280012d18cd00072124080045015929..."} 
[2026-07-27 11:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa23af280012d18cd00072124080045015929..."} 
[2026-07-27 11:52:38] local.INFO: Processing buffer {"connection_id":142818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa23af280012d18cd00072124080045015929..."} 
[2026-07-27 11:52:38] local.INFO: Packet analysis {"connection_id":142818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa23a"} 
[2026-07-27 11:52:38] local.INFO: Extracted packet for processing {"connection_id":142818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa23a"} 
[2026-07-27 11:52:38] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119612424,"longitude_deg":75.6600064,"latitude_deg":11.9612424,"altitude":69,"angle":345,"satellites":41,"speed":0,"hex_longitude":"2d18cd00","hex_latitude":"07212408","is_valid_coordinates":true} 
[2026-07-27 11:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:52:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994093824001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:52:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8838707687718912,"note":"Value kept but may cause issues"} 
[2026-07-27 11:52:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657756735488,"note":"Value kept but may cause issues"} 
[2026-07-27 11:52:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:52:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785133200000,"timestamp_ms":1785133200000,"timestamp_seconds":1785133200,"priority":1,"record_length":96,"hex_timestamp":"0000019fa23af280"} 
[2026-07-27 11:52:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:52:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 11:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-27 11:52:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:52:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:52:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:52:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:52:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:52:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:52:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:52:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 11:52:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 11:52:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 11:52:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994093824001,"66":12798,"121":206,"28":31744,"24":0,"16":8838707687718912,"45":1787084657756735488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 11:52:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 11:52:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 11:52:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994093824001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:52:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 11:52:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 11:52:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8838707687718912,"km_value":8838707687718.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:52:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657756735488,"description":"Unknown IO ID 45"} 
[2026-07-27 11:52:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994093824001,"power":12798,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1787084657756735488}} 
[2026-07-27 11:52:38] local.INFO: DEBUG: GPS processor result {"connection_id":142818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552919,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:52:38] local.INFO: GPS data processed {"connection_id":142818,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:52:38] local.INFO: Acknowledgment sent {"connection_id":142818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:52:38] local.INFO: TCP Data received {"connection_id":142945,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa239b618012d7faac005afe4b00002015225..."} 
[2026-07-27 11:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa239b618012d7faac005afe4b00002015225..."} 
[2026-07-27 11:52:38] local.INFO: Processing buffer {"connection_id":142945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa239b618012d7faac005afe4b00002015225..."} 
[2026-07-27 11:52:38] local.INFO: Packet analysis {"connection_id":142945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa239"} 
[2026-07-27 11:52:38] local.INFO: Extracted packet for processing {"connection_id":142945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa239"} 
[2026-07-27 11:52:38] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":2,"angle":338,"satellites":37,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 11:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:52:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994001408001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:52:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 11:52:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 11:52:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:52:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785133119000,"timestamp_ms":1785133119000,"timestamp_seconds":1785133119,"priority":1,"record_length":96,"hex_timestamp":"0000019fa239b618"} 
[2026-07-27 11:52:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:52:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 11:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-07-27 11:52:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:52:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:52:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:52:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:52:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:52:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:52:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:52:38] 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-07-27 11:52:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 11:52:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 11:52:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994001408001,"66":25375,"33":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-27 11:52:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 11:52:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 11:52:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994001408001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:52:38] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-27 11:52:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 11:52:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:52:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 11:52:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994001408001,"power":25375,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 11:52:38] local.INFO: DEBUG: GPS processor result {"connection_id":142945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:52:38] local.INFO: GPS data processed {"connection_id":142945,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:52:38] local.INFO: Acknowledgment sent {"connection_id":142945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:53:00] local.INFO: TCP Data received {"connection_id":145241,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145241,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:53:00] local.INFO: Processing buffer {"connection_id":145241,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:53:00] local.INFO: IMEI packet received {"connection_id":145241,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 11:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":145241,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 11:53:05] local.INFO: TCP Data received {"connection_id":145241,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145241,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:53:05] local.INFO: Processing buffer {"connection_id":145241,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:53:05] local.INFO: IMEI packet received {"connection_id":145241,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 11:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":145241,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:53:06] local.INFO: TCP Data received {"connection_id":145241,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa23b4488012d18cd0007212408004501592a..."} 
[2026-07-27 11:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa23b4488012d18cd0007212408004501592a..."} 
[2026-07-27 11:53:06] local.INFO: Processing buffer {"connection_id":145241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa23b4488012d18cd0007212408004501592a..."} 
[2026-07-27 11:53:06] local.INFO: Packet analysis {"connection_id":145241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa23b"} 
[2026-07-27 11:53:06] local.INFO: Extracted packet for processing {"connection_id":145241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa23b"} 
[2026-07-27 11:53:06] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119612424,"longitude_deg":75.6600064,"latitude_deg":11.9612424,"altitude":69,"angle":345,"satellites":42,"speed":0,"hex_longitude":"2d18cd00","hex_latitude":"07212408","is_valid_coordinates":true} 
[2026-07-27 11:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:53:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994099200001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:53:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8838707687718912,"note":"Value kept but may cause issues"} 
[2026-07-27 11:53:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657756735488,"note":"Value kept but may cause issues"} 
[2026-07-27 11:53:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:53:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785133221000,"timestamp_ms":1785133221000,"timestamp_seconds":1785133221,"priority":1,"record_length":96,"hex_timestamp":"0000019fa23b4488"} 
[2026-07-27 11:53:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:53:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 11:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-27 11:53:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:53:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:53:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:53:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:53:06] local.INFO: Teltonika packet parsed successfully {"connection_id":145241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:53:06] local.INFO: Passing IMEI to GPS processor {"connection_id":145241,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:53:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":145241,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:53:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 11:53:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 11:53:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 11:53:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994099200001,"66":11787,"121":206,"28":31744,"24":0,"16":8838707687718912,"45":1787084657756735488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 11:53:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 11:53:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 11:53:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994099200001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:53:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 11:53:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 11:53:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8838707687718912,"km_value":8838707687718.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:53:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657756735488,"description":"Unknown IO ID 45"} 
[2026-07-27 11:53:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994099200001,"power":11787,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1787084657756735488}} 
[2026-07-27 11:53:06] local.INFO: DEBUG: GPS processor result {"connection_id":145241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552921,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:53:06] local.INFO: GPS data processed {"connection_id":145241,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:53:06] local.INFO: Acknowledgment sent {"connection_id":145241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:53:10] local.INFO: TCP Data received {"connection_id":142945,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa239b618012d7faac005afe4b00002015225..."} 
[2026-07-27 11:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa239b618012d7faac005afe4b00002015225..."} 
[2026-07-27 11:53:10] local.INFO: Processing buffer {"connection_id":142945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa239b618012d7faac005afe4b00002015225..."} 
[2026-07-27 11:53:10] local.INFO: Packet analysis {"connection_id":142945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa239"} 
[2026-07-27 11:53:10] local.INFO: Extracted packet for processing {"connection_id":142945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa239"} 
[2026-07-27 11:53:10] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":2,"angle":338,"satellites":37,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 11:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:53:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994001408001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:53:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 11:53:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 11:53:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:53:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785133119000,"timestamp_ms":1785133119000,"timestamp_seconds":1785133119,"priority":1,"record_length":96,"hex_timestamp":"0000019fa239b618"} 
[2026-07-27 11:53:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:53:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 11:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-07-27 11:53:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:53:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:53:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:53:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:53:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:53:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:53:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:53: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-07-27 11:53:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 11:53:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 11:53:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994001408001,"66":25375,"33":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-27 11:53:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 11:53:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 11:53:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994001408001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:53:10] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-27 11:53:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 11:53:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:53:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 11:53:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994001408001,"power":25375,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 11:53:10] local.INFO: DEBUG: GPS processor result {"connection_id":142945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:53:10] local.INFO: GPS data processed {"connection_id":142945,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:53:10] local.INFO: Acknowledgment sent {"connection_id":142945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:53:32] local.INFO: TCP Data received {"connection_id":143942,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:53:32] local.INFO: Processing buffer {"connection_id":143942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:53:32] local.INFO: IMEI packet received {"connection_id":143942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 11:53:32] local.INFO: IMEI acknowledgment sent {"connection_id":143942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 11:53:37] local.INFO: TCP Data received {"connection_id":143942,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:53:37] local.INFO: Processing buffer {"connection_id":143942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:53:37] local.INFO: IMEI packet received {"connection_id":143942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 11:53:37] local.INFO: IMEI acknowledgment sent {"connection_id":143942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:53:38] local.INFO: TCP Data received {"connection_id":145241,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa23b9690012d18cd00072124080045015928..."} 
[2026-07-27 11:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa23b9690012d18cd00072124080045015928..."} 
[2026-07-27 11:53:38] local.INFO: Processing buffer {"connection_id":145241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa23b9690012d18cd00072124080045015928..."} 
[2026-07-27 11:53:38] local.INFO: Packet analysis {"connection_id":145241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa23b"} 
[2026-07-27 11:53:38] local.INFO: Extracted packet for processing {"connection_id":145241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa23b"} 
[2026-07-27 11:53:38] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119612424,"longitude_deg":75.6600064,"latitude_deg":11.9612424,"altitude":69,"angle":345,"satellites":40,"speed":0,"hex_longitude":"2d18cd00","hex_latitude":"07212408","is_valid_coordinates":true} 
[2026-07-27 11:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:53:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994104576001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:53:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8838707687718912,"note":"Value kept but may cause issues"} 
[2026-07-27 11:53:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657756735488,"note":"Value kept but may cause issues"} 
[2026-07-27 11:53:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:53:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785133242000,"timestamp_ms":1785133242000,"timestamp_seconds":1785133242,"priority":1,"record_length":96,"hex_timestamp":"0000019fa23b9690"} 
[2026-07-27 11:53:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:53:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 11:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":11,"data_length":795,"current_offset":136} 
[2026-07-27 11:53:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-07-27 11:53:38] local.WARNING: Large IO value detected {"io_id":102,"raw_value":3254779904,"note":"Value kept but may cause issues"} 
[2026-07-27 11:53:38] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2721667160,"note":"Value kept but may cause issues"} 
[2026-07-27 11:53:38] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-6943924976177042152,"note":"Value kept but may cause issues"} 
[2026-07-27 11:53:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2006763473749249,"corrected_to":0} 
[2026-07-27 11:53:38] local.WARNING: Large IO value detected {"io_id":31,"raw_value":7404480737350516736,"note":"Value kept but may cause issues"} 
[2026-07-27 11:53:38] local.WARNING: Large IO value detected {"io_id":75,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-27 11:53:38] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-07-27 11:53:38] local.WARNING: Large IO value detected {"io_id":89,"raw_value":2882303761517120000,"note":"Value kept but may cause issues"} 
[2026-07-27 11:53:38] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,121,28,24,241,158,16,102,159,242,45,36,69,41,10,66,160,40,78,1,240,14,162,33,4,113,205,170,8,239,50,2,31,75,206,89],"length":533,"final_offset":663,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2006763473749249,"validated":0}]} 
[2026-07-27 11:53:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4972353500517236736,"timestamp_seconds":4972353500517237.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 11:53:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:53:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:53:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:53:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145241,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:53:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145241,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:53:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 11:53:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 11:53:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 11:53:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994104576001,"66":12722,"121":206,"28":31744,"24":0,"16":8838707687718912,"45":1787084657756735488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 11:53:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 11:53:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 11:53:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994104576001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:53:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 11:53:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 11:53:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8838707687718912,"km_value":8838707687718.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:53:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657756735488,"description":"Unknown IO ID 45"} 
[2026-07-27 11:53:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994104576001,"power":12722,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1787084657756735488}} 
[2026-07-27 11:53:38] local.INFO: DEBUG: GPS processor result {"connection_id":145241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552923,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:53:38] local.INFO: GPS data processed {"connection_id":145241,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:53:38] local.INFO: Acknowledgment sent {"connection_id":145241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:53:38] local.INFO: TCP Data received {"connection_id":143942,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa239b618012d7faac005afe4b00002015225..."} 
[2026-07-27 11:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa239b618012d7faac005afe4b00002015225..."} 
[2026-07-27 11:53:38] local.INFO: Processing buffer {"connection_id":143942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa239b618012d7faac005afe4b00002015225..."} 
[2026-07-27 11:53:38] local.INFO: Packet analysis {"connection_id":143942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa239"} 
[2026-07-27 11:53:38] local.INFO: Extracted packet for processing {"connection_id":143942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa239"} 
[2026-07-27 11:53:38] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":2,"angle":338,"satellites":37,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 11:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:53:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994001408001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:53:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 11:53:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 11:53:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:53:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785133119000,"timestamp_ms":1785133119000,"timestamp_seconds":1785133119,"priority":1,"record_length":96,"hex_timestamp":"0000019fa239b618"} 
[2026-07-27 11:53:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:53:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 11:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-07-27 11:53:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:53:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:53:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:53:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:53:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:53:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:53:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:53:38] 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-07-27 11:53:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 11:53:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 11:53:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994001408001,"66":25375,"33":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-27 11:53:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 11:53:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 11:53:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994001408001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:53:38] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-27 11:53:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 11:53:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:53:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 11:53:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994001408001,"power":25375,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 11:53:38] local.INFO: DEBUG: GPS processor result {"connection_id":143942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:53:38] local.INFO: GPS data processed {"connection_id":143942,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:53:38] local.INFO: Acknowledgment sent {"connection_id":143942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:54:05] local.INFO: TCP Data received {"connection_id":143943,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143943,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:54:05] local.INFO: Processing buffer {"connection_id":143943,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:54:05] local.INFO: IMEI packet received {"connection_id":143943,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 11:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":143943,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 11:54:09] local.INFO: TCP Data received {"connection_id":143943,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143943,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:54:09] local.INFO: Processing buffer {"connection_id":143943,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:54:09] local.INFO: IMEI packet received {"connection_id":143943,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 11:54:09] local.INFO: IMEI acknowledgment sent {"connection_id":143943,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:54:10] local.INFO: TCP Data received {"connection_id":143942,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa239b618012d7faac005afe4b00002015225..."} 
[2026-07-27 11:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa239b618012d7faac005afe4b00002015225..."} 
[2026-07-27 11:54:10] local.INFO: Processing buffer {"connection_id":143942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa239b618012d7faac005afe4b00002015225..."} 
[2026-07-27 11:54:10] local.INFO: Packet analysis {"connection_id":143942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa239"} 
[2026-07-27 11:54:10] local.INFO: Extracted packet for processing {"connection_id":143942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa239"} 
[2026-07-27 11:54:10] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":2,"angle":338,"satellites":37,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 11:54:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994001408001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:54:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 11:54:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 11:54:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:54:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785133119000,"timestamp_ms":1785133119000,"timestamp_seconds":1785133119,"priority":1,"record_length":96,"hex_timestamp":"0000019fa239b618"} 
[2026-07-27 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-07-27 11:54:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-07-27 11:54:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 11:54:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:54:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:54:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:54:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:54: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-07-27 11:54:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 11:54:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 11:54:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994001408001,"66":25375,"33":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-27 11:54:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 11:54:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 11:54:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994001408001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:54:10] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-27 11:54:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 11:54:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:54:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 11:54:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994001408001,"power":25375,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 11:54:10] local.INFO: DEBUG: GPS processor result {"connection_id":143942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:54:10] local.INFO: GPS data processed {"connection_id":143942,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:54:10] local.INFO: Acknowledgment sent {"connection_id":143942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:54:10] local.INFO: TCP Data received {"connection_id":143943,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa23be898012d18cd00072124080045015929..."} 
[2026-07-27 11:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa23be898012d18cd00072124080045015929..."} 
[2026-07-27 11:54:10] local.INFO: Processing buffer {"connection_id":143943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa23be898012d18cd00072124080045015929..."} 
[2026-07-27 11:54:10] local.INFO: Packet analysis {"connection_id":143943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa23b"} 
[2026-07-27 11:54:10] local.INFO: Extracted packet for processing {"connection_id":143943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa23b"} 
[2026-07-27 11:54:10] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119612424,"longitude_deg":75.6600064,"latitude_deg":11.9612424,"altitude":69,"angle":345,"satellites":41,"speed":0,"hex_longitude":"2d18cd00","hex_latitude":"07212408","is_valid_coordinates":true} 
[2026-07-27 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-07-27 11:54:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994109952001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:54:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8838707687718912,"note":"Value kept but may cause issues"} 
[2026-07-27 11:54:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657756735488,"note":"Value kept but may cause issues"} 
[2026-07-27 11:54:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:54:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785133263000,"timestamp_ms":1785133263000,"timestamp_seconds":1785133263,"priority":1,"record_length":96,"hex_timestamp":"0000019fa23be898"} 
[2026-07-27 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-07-27 11:54:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-27 11:54:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 11:54:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:54:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:54:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:54:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:54:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 11:54:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 11:54:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 11:54:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994109952001,"66":12722,"121":206,"28":31744,"24":0,"16":8838707687718912,"45":1787084657756735488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 11:54:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 11:54:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 11:54:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994109952001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:54:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 11:54:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 11:54:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8838707687718912,"km_value":8838707687718.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:54:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657756735488,"description":"Unknown IO ID 45"} 
[2026-07-27 11:54:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994109952001,"power":12722,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1787084657756735488}} 
[2026-07-27 11:54:11] local.INFO: DEBUG: GPS processor result {"connection_id":143943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552926,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:54:11] local.INFO: GPS data processed {"connection_id":143943,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:54:11] local.INFO: Acknowledgment sent {"connection_id":143943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:54:32] local.INFO: TCP Data received {"connection_id":145242,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:54:32] local.INFO: Processing buffer {"connection_id":145242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:54:32] local.INFO: IMEI packet received {"connection_id":145242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 11:54:32] local.INFO: IMEI acknowledgment sent {"connection_id":145242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 11:54:37] local.INFO: TCP Data received {"connection_id":145242,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:54:37] local.INFO: Processing buffer {"connection_id":145242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:54:37] local.INFO: IMEI packet received {"connection_id":145242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 11:54:37] local.INFO: IMEI acknowledgment sent {"connection_id":145242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:54:38] local.INFO: TCP Data received {"connection_id":145242,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa23e4de0012d7faac005afe4b00002015225..."} 
[2026-07-27 11:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145242,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa23e4de0012d7faac005afe4b00002015225..."} 
[2026-07-27 11:54:38] local.INFO: Processing buffer {"connection_id":145242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa23e4de0012d7faac005afe4b00002015225..."} 
[2026-07-27 11:54:38] local.INFO: Packet analysis {"connection_id":145242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa23e"} 
[2026-07-27 11:54:38] local.INFO: Extracted packet for processing {"connection_id":145242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa23e"} 
[2026-07-27 11:54:38] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":2,"angle":338,"satellites":37,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 11:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:54:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994078464001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:54:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 11:54:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 11:54:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:54:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785133420000,"timestamp_ms":1785133420000,"timestamp_seconds":1785133420,"priority":1,"record_length":96,"hex_timestamp":"0000019fa23e4de0"} 
[2026-07-27 11:54:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:54:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 11:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 11:54:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:54:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:54:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:54:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:54:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:54:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:54:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:54:38] 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-07-27 11:54:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 11:54:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 11:54:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994078464001,"66":25615,"27":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 11:54:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 11:54:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 11:54:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994078464001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:54:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 11:54:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 11:54:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:54:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 11:54:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994078464001,"power":25615,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 11:54:38] local.INFO: DEBUG: GPS processor result {"connection_id":145242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:54:38] local.INFO: GPS data processed {"connection_id":145242,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:54:38] local.INFO: Acknowledgment sent {"connection_id":145242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:54:42] local.INFO: TCP Data received {"connection_id":143943,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa23c3aa0012d18cd00072124080045015924..."} 
[2026-07-27 11:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa23c3aa0012d18cd00072124080045015924..."} 
[2026-07-27 11:54:42] local.INFO: Processing buffer {"connection_id":143943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa23c3aa0012d18cd00072124080045015924..."} 
[2026-07-27 11:54:42] local.INFO: Packet analysis {"connection_id":143943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa23c"} 
[2026-07-27 11:54:42] local.INFO: Extracted packet for processing {"connection_id":143943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa23c"} 
[2026-07-27 11:54:42] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119612424,"longitude_deg":75.6600064,"latitude_deg":11.9612424,"altitude":69,"angle":345,"satellites":36,"speed":0,"hex_longitude":"2d18cd00","hex_latitude":"07212408","is_valid_coordinates":true} 
[2026-07-27 11:54:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:54:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994115328001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:54:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8838707687718912,"note":"Value kept but may cause issues"} 
[2026-07-27 11:54:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657756735488,"note":"Value kept but may cause issues"} 
[2026-07-27 11:54:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:54:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785133284000,"timestamp_ms":1785133284000,"timestamp_seconds":1785133284,"priority":1,"record_length":96,"hex_timestamp":"0000019fa23c3aa0"} 
[2026-07-27 11:54:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:54:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 11: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-27 11:54:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:54:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:54:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:54:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:54:42] local.INFO: Teltonika packet parsed successfully {"connection_id":143943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:54:42] local.INFO: Passing IMEI to GPS processor {"connection_id":143943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:54:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":143943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:54:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 11:54:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 11:54:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 11:54:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994115328001,"66":12689,"121":206,"28":31744,"24":0,"16":8838707687718912,"45":1787084657756735488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 11:54:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 11:54:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 11:54:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994115328001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:54:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 11:54:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 11:54:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8838707687718912,"km_value":8838707687718.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:54:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657756735488,"description":"Unknown IO ID 45"} 
[2026-07-27 11:54:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994115328001,"power":12689,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1787084657756735488}} 
[2026-07-27 11:54:42] local.INFO: DEBUG: GPS processor result {"connection_id":143943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552928,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:54:42] local.INFO: GPS data processed {"connection_id":143943,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:54:42] local.INFO: Acknowledgment sent {"connection_id":143943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:55:00] local.INFO: TCP Data received {"connection_id":142819,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142819,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:55:00] local.INFO: Processing buffer {"connection_id":142819,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:55:00] local.INFO: IMEI packet received {"connection_id":142819,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 11:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":142819,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 11:55:05] local.INFO: TCP Data received {"connection_id":142819,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142819,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:55:05] local.INFO: Processing buffer {"connection_id":142819,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:55:05] local.INFO: IMEI packet received {"connection_id":142819,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 11:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":142819,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:55:07] local.INFO: TCP Data received {"connection_id":142819,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa23c8ca8012d18cd00072124080045015928..."} 
[2026-07-27 11:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa23c8ca8012d18cd00072124080045015928..."} 
[2026-07-27 11:55:07] local.INFO: Processing buffer {"connection_id":142819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa23c8ca8012d18cd00072124080045015928..."} 
[2026-07-27 11:55:07] local.INFO: Packet analysis {"connection_id":142819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa23c"} 
[2026-07-27 11:55:07] local.INFO: Extracted packet for processing {"connection_id":142819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa23c"} 
[2026-07-27 11:55:07] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119612424,"longitude_deg":75.6600064,"latitude_deg":11.9612424,"altitude":69,"angle":345,"satellites":40,"speed":0,"hex_longitude":"2d18cd00","hex_latitude":"07212408","is_valid_coordinates":true} 
[2026-07-27 11:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:55:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994120704001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:55:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8838707687718912,"note":"Value kept but may cause issues"} 
[2026-07-27 11:55:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657756735488,"note":"Value kept but may cause issues"} 
[2026-07-27 11:55:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:55:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785133305000,"timestamp_ms":1785133305000,"timestamp_seconds":1785133305,"priority":1,"record_length":96,"hex_timestamp":"0000019fa23c8ca8"} 
[2026-07-27 11:55:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:55:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 11:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-27 11:55:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:55:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:55:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:55:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:55:07] local.INFO: Teltonika packet parsed successfully {"connection_id":142819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:55:07] local.INFO: Passing IMEI to GPS processor {"connection_id":142819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:55:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":142819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:55:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 11:55:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 11:55:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 11:55:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994120704001,"66":12722,"121":206,"28":31744,"24":0,"16":8838707687718912,"45":1787084657756735488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 11:55:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 11:55:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 11:55:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994120704001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:55:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 11:55:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 11:55:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8838707687718912,"km_value":8838707687718.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:55:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657756735488,"description":"Unknown IO ID 45"} 
[2026-07-27 11:55:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994120704001,"power":12722,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1787084657756735488}} 
[2026-07-27 11:55:07] local.INFO: DEBUG: GPS processor result {"connection_id":142819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552929,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:55:07] local.INFO: GPS data processed {"connection_id":142819,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:55:07] local.INFO: Acknowledgment sent {"connection_id":142819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:55:09] local.INFO: TCP Data received {"connection_id":145242,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa23e4de0012d7faac005afe4b00002015225..."} 
[2026-07-27 11:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145242,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa23e4de0012d7faac005afe4b00002015225..."} 
[2026-07-27 11:55:09] local.INFO: Processing buffer {"connection_id":145242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa23e4de0012d7faac005afe4b00002015225..."} 
[2026-07-27 11:55:09] local.INFO: Packet analysis {"connection_id":145242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa23e"} 
[2026-07-27 11:55:09] local.INFO: Extracted packet for processing {"connection_id":145242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa23e"} 
[2026-07-27 11:55:09] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":2,"angle":338,"satellites":37,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 11:55:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:55:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994078464001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:55:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 11:55:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 11:55:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:55:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785133420000,"timestamp_ms":1785133420000,"timestamp_seconds":1785133420,"priority":1,"record_length":96,"hex_timestamp":"0000019fa23e4de0"} 
[2026-07-27 11:55:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:55:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 11: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":31,"data_length":795,"current_offset":136} 
[2026-07-27 11:55:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:55:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:55:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:55:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:55:09] local.INFO: Teltonika packet parsed successfully {"connection_id":145242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:55:09] local.INFO: Passing IMEI to GPS processor {"connection_id":145242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:55:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":145242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:55: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-07-27 11:55:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 11:55:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 11:55:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994078464001,"66":25615,"27":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 11:55:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 11:55:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 11:55:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994078464001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:55:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 11:55:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 11:55:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:55:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 11:55:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994078464001,"power":25615,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 11:55:09] local.INFO: DEBUG: GPS processor result {"connection_id":145242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:55:09] local.INFO: GPS data processed {"connection_id":145242,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:55:09] local.INFO: Acknowledgment sent {"connection_id":145242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:55:32] local.INFO: TCP Data received {"connection_id":142820,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:55:32] local.INFO: Processing buffer {"connection_id":142820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:55:32] local.INFO: IMEI packet received {"connection_id":142820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 11:55:32] local.INFO: IMEI acknowledgment sent {"connection_id":142820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 11:55:37] local.INFO: TCP Data received {"connection_id":142820,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:55:37] local.INFO: Processing buffer {"connection_id":142820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:55:37] local.INFO: IMEI packet received {"connection_id":142820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 11:55:37] local.INFO: IMEI acknowledgment sent {"connection_id":142820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:55:38] local.INFO: TCP Data received {"connection_id":142819,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa23cdeb0012d18cd00072124080045015921..."} 
[2026-07-27 11:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa23cdeb0012d18cd00072124080045015921..."} 
[2026-07-27 11:55:38] local.INFO: Processing buffer {"connection_id":142819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa23cdeb0012d18cd00072124080045015921..."} 
[2026-07-27 11:55:38] local.INFO: Packet analysis {"connection_id":142819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa23c"} 
[2026-07-27 11:55:38] local.INFO: Extracted packet for processing {"connection_id":142819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa23c"} 
[2026-07-27 11:55:38] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119612424,"longitude_deg":75.6600064,"latitude_deg":11.9612424,"altitude":69,"angle":345,"satellites":33,"speed":0,"hex_longitude":"2d18cd00","hex_latitude":"07212408","is_valid_coordinates":true} 
[2026-07-27 11:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:55:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994126080001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:55:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8838707687718912,"note":"Value kept but may cause issues"} 
[2026-07-27 11:55:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657756735488,"note":"Value kept but may cause issues"} 
[2026-07-27 11:55:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:55:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785133326000,"timestamp_ms":1785133326000,"timestamp_seconds":1785133326,"priority":1,"record_length":96,"hex_timestamp":"0000019fa23cdeb0"} 
[2026-07-27 11:55:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:55:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 11:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-27 11:55:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:55:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:55:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:55:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:55:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:55:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:55:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:55:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 11:55:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 11:55:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 11:55:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994126080001,"66":12711,"121":206,"28":31744,"24":0,"16":8838707687718912,"45":1787084657756735488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 11:55:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 11:55:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 11:55:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994126080001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:55:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 11:55:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 11:55:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8838707687718912,"km_value":8838707687718.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:55:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657756735488,"description":"Unknown IO ID 45"} 
[2026-07-27 11:55:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994126080001,"power":12711,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1787084657756735488}} 
[2026-07-27 11:55:38] local.INFO: DEBUG: GPS processor result {"connection_id":142819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552931,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:55:38] local.INFO: GPS data processed {"connection_id":142819,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:55:38] local.INFO: Acknowledgment sent {"connection_id":142819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:55:38] local.INFO: TCP Data received {"connection_id":142820,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa23e4de0012d7faac005afe4b00002015225..."} 
[2026-07-27 11:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa23e4de0012d7faac005afe4b00002015225..."} 
[2026-07-27 11:55:38] local.INFO: Processing buffer {"connection_id":142820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa23e4de0012d7faac005afe4b00002015225..."} 
[2026-07-27 11:55:38] local.INFO: Packet analysis {"connection_id":142820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa23e"} 
[2026-07-27 11:55:38] local.INFO: Extracted packet for processing {"connection_id":142820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa23e"} 
[2026-07-27 11:55:38] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":2,"angle":338,"satellites":37,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 11:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:55:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994078464001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:55:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 11:55:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 11:55:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:55:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785133420000,"timestamp_ms":1785133420000,"timestamp_seconds":1785133420,"priority":1,"record_length":96,"hex_timestamp":"0000019fa23e4de0"} 
[2026-07-27 11:55:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:55:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 11:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 11:55:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:55:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:55:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:55:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:55:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:55:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:55:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:55:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 11:55:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 11:55:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 11:55:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994078464001,"66":25615,"27":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 11:55:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 11:55:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 11:55:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994078464001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:55:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 11:55:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 11:55:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:55:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 11:55:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994078464001,"power":25615,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 11:55:38] local.INFO: DEBUG: GPS processor result {"connection_id":142820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:55:38] local.INFO: GPS data processed {"connection_id":142820,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:55:38] local.INFO: Acknowledgment sent {"connection_id":142820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:56:00] local.INFO: TCP Data received {"connection_id":142946,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142946,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:56:00] local.INFO: Processing buffer {"connection_id":142946,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:56:00] local.INFO: IMEI packet received {"connection_id":142946,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 11:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":142946,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 11:56:05] local.INFO: TCP Data received {"connection_id":142946,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142946,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:56:05] local.INFO: Processing buffer {"connection_id":142946,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:56:05] local.INFO: IMEI packet received {"connection_id":142946,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 11:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":142946,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:56:07] local.INFO: TCP Data received {"connection_id":142946,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa23d30b8012d18cd00072124080045015924..."} 
[2026-07-27 11:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa23d30b8012d18cd00072124080045015924..."} 
[2026-07-27 11:56:07] local.INFO: Processing buffer {"connection_id":142946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa23d30b8012d18cd00072124080045015924..."} 
[2026-07-27 11:56:07] local.INFO: Packet analysis {"connection_id":142946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa23d"} 
[2026-07-27 11:56:07] local.INFO: Extracted packet for processing {"connection_id":142946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa23d"} 
[2026-07-27 11:56:07] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119612424,"longitude_deg":75.6600064,"latitude_deg":11.9612424,"altitude":69,"angle":345,"satellites":36,"speed":0,"hex_longitude":"2d18cd00","hex_latitude":"07212408","is_valid_coordinates":true} 
[2026-07-27 11:56:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:56:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994131456001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:56:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8838707687718912,"note":"Value kept but may cause issues"} 
[2026-07-27 11:56:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657756735488,"note":"Value kept but may cause issues"} 
[2026-07-27 11:56:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:56:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785133347000,"timestamp_ms":1785133347000,"timestamp_seconds":1785133347,"priority":1,"record_length":96,"hex_timestamp":"0000019fa23d30b8"} 
[2026-07-27 11:56:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:56:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 11:56:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-07-27 11:56:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:56:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:56:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:56:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:56:07] local.INFO: Teltonika packet parsed successfully {"connection_id":142946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:56:07] local.INFO: Passing IMEI to GPS processor {"connection_id":142946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:56:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":142946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:56:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 11:56:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 11:56:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 11:56:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994131456001,"66":12667,"121":206,"28":31744,"24":0,"16":8838707687718912,"45":1787084657756735488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 11:56:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 11:56:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 11:56:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994131456001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:56:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 11:56:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 11:56:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8838707687718912,"km_value":8838707687718.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:56:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657756735488,"description":"Unknown IO ID 45"} 
[2026-07-27 11:56:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994131456001,"power":12667,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1787084657756735488}} 
[2026-07-27 11:56:07] local.INFO: DEBUG: GPS processor result {"connection_id":142946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552933,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:56:07] local.INFO: GPS data processed {"connection_id":142946,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:56:07] local.INFO: Acknowledgment sent {"connection_id":142946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:56:35] local.INFO: TCP Data received {"connection_id":142820,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa23e4de0012d7faac005afe4b00002015225..."} 
[2026-07-27 11:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa23e4de0012d7faac005afe4b00002015225..."} 
[2026-07-27 11:56:35] local.INFO: Processing buffer {"connection_id":142820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa23e4de0012d7faac005afe4b00002015225..."} 
[2026-07-27 11:56:35] local.INFO: Packet analysis {"connection_id":142820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa23e"} 
[2026-07-27 11:56:35] local.INFO: Extracted packet for processing {"connection_id":142820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa23e"} 
[2026-07-27 11:56:35] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":2,"angle":338,"satellites":37,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 11:56:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:56:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994078464001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:56:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 11:56:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 11:56:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:56:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785133420000,"timestamp_ms":1785133420000,"timestamp_seconds":1785133420,"priority":1,"record_length":96,"hex_timestamp":"0000019fa23e4de0"} 
[2026-07-27 11:56:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:56:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 11:56:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 11:56:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:56:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:56:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:56:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:56:35] local.INFO: Teltonika packet parsed successfully {"connection_id":142820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:56:35] local.INFO: Passing IMEI to GPS processor {"connection_id":142820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:56:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":142820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:56:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 11:56:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 11:56:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 11:56:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994078464001,"66":25615,"27":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 11:56:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 11:56:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 11:56:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994078464001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:56:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 11:56:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 11:56:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:56:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 11:56:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994078464001,"power":25615,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 11:56:35] local.INFO: DEBUG: GPS processor result {"connection_id":142820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:56:35] local.INFO: GPS data processed {"connection_id":142820,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:56:35] local.INFO: Acknowledgment sent {"connection_id":142820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:56:39] local.INFO: TCP Data received {"connection_id":142946,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa23d82c0012d18cd00072124080045015926..."} 
[2026-07-27 11:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa23d82c0012d18cd00072124080045015926..."} 
[2026-07-27 11:56:39] local.INFO: Processing buffer {"connection_id":142946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa23d82c0012d18cd00072124080045015926..."} 
[2026-07-27 11:56:39] local.INFO: Packet analysis {"connection_id":142946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa23d"} 
[2026-07-27 11:56:39] local.INFO: Extracted packet for processing {"connection_id":142946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa23d"} 
[2026-07-27 11:56:39] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119612424,"longitude_deg":75.6600064,"latitude_deg":11.9612424,"altitude":69,"angle":345,"satellites":38,"speed":0,"hex_longitude":"2d18cd00","hex_latitude":"07212408","is_valid_coordinates":true} 
[2026-07-27 11: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-07-27 11:56:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994136832001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:56:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8838707687718912,"note":"Value kept but may cause issues"} 
[2026-07-27 11:56:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657756735488,"note":"Value kept but may cause issues"} 
[2026-07-27 11:56:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:56:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785133368000,"timestamp_ms":1785133368000,"timestamp_seconds":1785133368,"priority":1,"record_length":96,"hex_timestamp":"0000019fa23d82c0"} 
[2026-07-27 11:56:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:56:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 11: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-07-27 11:56:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11: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-07-27 11:56:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:56:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:56:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:56:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:56:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:56:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 11:56:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 11:56:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 11:56:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994136832001,"66":12645,"121":206,"28":31744,"24":0,"16":8838707687718912,"45":1787084657756735488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 11:56:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 11:56:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 11:56:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994136832001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:56:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 11:56:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 11:56:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8838707687718912,"km_value":8838707687718.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:56:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657756735488,"description":"Unknown IO ID 45"} 
[2026-07-27 11:56:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994136832001,"power":12645,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1787084657756735488}} 
[2026-07-27 11:56:39] local.INFO: DEBUG: GPS processor result {"connection_id":142946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552935,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:56:39] local.INFO: GPS data processed {"connection_id":142946,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:56:39] local.INFO: Acknowledgment sent {"connection_id":142946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:57:00] local.INFO: TCP Data received {"connection_id":145243,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145243,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:57:00] local.INFO: Processing buffer {"connection_id":145243,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:57:00] local.INFO: IMEI packet received {"connection_id":145243,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 11:57:00] local.INFO: IMEI acknowledgment sent {"connection_id":145243,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 11:57:05] local.INFO: TCP Data received {"connection_id":145243,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145243,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:57:05] local.INFO: Processing buffer {"connection_id":145243,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:57:05] local.INFO: IMEI packet received {"connection_id":145243,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 11:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":145243,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:57:06] local.INFO: TCP Data received {"connection_id":145243,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa23dd4c8012d18cd00072124080045015924..."} 
[2026-07-27 11:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145243,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa23dd4c8012d18cd00072124080045015924..."} 
[2026-07-27 11:57:06] local.INFO: Processing buffer {"connection_id":145243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa23dd4c8012d18cd00072124080045015924..."} 
[2026-07-27 11:57:06] local.INFO: Packet analysis {"connection_id":145243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa23d"} 
[2026-07-27 11:57:06] local.INFO: Extracted packet for processing {"connection_id":145243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa23d"} 
[2026-07-27 11:57:06] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119612424,"longitude_deg":75.6600064,"latitude_deg":11.9612424,"altitude":69,"angle":345,"satellites":36,"speed":0,"hex_longitude":"2d18cd00","hex_latitude":"07212408","is_valid_coordinates":true} 
[2026-07-27 11:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994142208001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8838707687718912,"note":"Value kept but may cause issues"} 
[2026-07-27 11:57:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657756735488,"note":"Value kept but may cause issues"} 
[2026-07-27 11:57:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785133389000,"timestamp_ms":1785133389000,"timestamp_seconds":1785133389,"priority":1,"record_length":96,"hex_timestamp":"0000019fa23dd4c8"} 
[2026-07-27 11:57:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:57:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 11:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-27 11:57:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:57:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:57:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":145243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":145243,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":145243,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:57:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 11:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 11:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 11:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994142208001,"66":12645,"121":206,"28":31744,"24":0,"16":8838707687718912,"45":1787084657756735488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 11:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 11:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 11:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994142208001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:57:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 11:57:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 11:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8838707687718912,"km_value":8838707687718.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:57:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657756735488,"description":"Unknown IO ID 45"} 
[2026-07-27 11:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994142208001,"power":12645,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1787084657756735488}} 
[2026-07-27 11:57:06] local.INFO: DEBUG: GPS processor result {"connection_id":145243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552936,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:57:06] local.INFO: GPS data processed {"connection_id":145243,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:57:06] local.INFO: Acknowledgment sent {"connection_id":145243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:57:07] local.INFO: TCP Data received {"connection_id":143944,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:57:07] local.INFO: Processing buffer {"connection_id":143944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:57:07] local.INFO: IMEI packet received {"connection_id":143944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 11:57:07] local.INFO: IMEI acknowledgment sent {"connection_id":143944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 11:57:12] local.INFO: TCP Data received {"connection_id":143944,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:57:12] local.INFO: Processing buffer {"connection_id":143944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:57:12] local.INFO: IMEI packet received {"connection_id":143944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 11:57:12] local.INFO: IMEI acknowledgment sent {"connection_id":143944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:57:19] local.INFO: TCP Data received {"connection_id":143944,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa23e4de0012d7faac005afe4b00002015225..."} 
[2026-07-27 11:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa23e4de0012d7faac005afe4b00002015225..."} 
[2026-07-27 11:57:19] local.INFO: Processing buffer {"connection_id":143944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa23e4de0012d7faac005afe4b00002015225..."} 
[2026-07-27 11:57:19] local.INFO: Packet analysis {"connection_id":143944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa23e"} 
[2026-07-27 11:57:19] local.INFO: Extracted packet for processing {"connection_id":143944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa23e"} 
[2026-07-27 11:57:19] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":2,"angle":338,"satellites":37,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 11: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-07-27 11:57:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994078464001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:57:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 11:57:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 11:57:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:57:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785133420000,"timestamp_ms":1785133420000,"timestamp_seconds":1785133420,"priority":1,"record_length":96,"hex_timestamp":"0000019fa23e4de0"} 
[2026-07-27 11:57:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:57:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 11: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":31,"data_length":795,"current_offset":136} 
[2026-07-27 11:57: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-07-27 11: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-07-27 11:57:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:57:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:57:19] local.INFO: Teltonika packet parsed successfully {"connection_id":143944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:57:19] local.INFO: Passing IMEI to GPS processor {"connection_id":143944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:57:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":143944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:57: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-07-27 11:57:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 11:57:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 11:57:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994078464001,"66":25615,"27":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 11:57:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 11:57:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 11:57:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994078464001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:57:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 11:57:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 11:57:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:57:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 11:57:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994078464001,"power":25615,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 11:57:19] local.INFO: DEBUG: GPS processor result {"connection_id":143944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:57:19] local.INFO: GPS data processed {"connection_id":143944,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:57:19] local.INFO: Acknowledgment sent {"connection_id":143944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:57:37] local.INFO: TCP Data received {"connection_id":145243,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa23e26d0012d18cd00072124080045015927..."} 
[2026-07-27 11:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145243,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa23e26d0012d18cd00072124080045015927..."} 
[2026-07-27 11:57:37] local.INFO: Processing buffer {"connection_id":145243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa23e26d0012d18cd00072124080045015927..."} 
[2026-07-27 11:57:37] local.INFO: Packet analysis {"connection_id":145243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa23e"} 
[2026-07-27 11:57:37] local.INFO: Extracted packet for processing {"connection_id":145243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa23e"} 
[2026-07-27 11:57:37] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119612424,"longitude_deg":75.6600064,"latitude_deg":11.9612424,"altitude":69,"angle":345,"satellites":39,"speed":0,"hex_longitude":"2d18cd00","hex_latitude":"07212408","is_valid_coordinates":true} 
[2026-07-27 11:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:57:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994147584001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:57:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8838707687718912,"note":"Value kept but may cause issues"} 
[2026-07-27 11:57:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657756735488,"note":"Value kept but may cause issues"} 
[2026-07-27 11:57:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:57:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785133410000,"timestamp_ms":1785133410000,"timestamp_seconds":1785133410,"priority":1,"record_length":96,"hex_timestamp":"0000019fa23e26d0"} 
[2026-07-27 11:57:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:57:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 11:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-27 11:57:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:57:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:57:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:57:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:57:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:57:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145243,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:57:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145243,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:57:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 11:57:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 11:57:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 11:57:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994147584001,"66":12645,"121":206,"28":31744,"24":0,"16":8838707687718912,"45":1787084657756735488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 11:57:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 11:57:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 11:57:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994147584001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:57:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 11:57:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 11:57:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8838707687718912,"km_value":8838707687718.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:57:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657756735488,"description":"Unknown IO ID 45"} 
[2026-07-27 11:57:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994147584001,"power":12645,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1787084657756735488}} 
[2026-07-27 11:57:37] local.INFO: DEBUG: GPS processor result {"connection_id":145243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552938,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:57:37] local.INFO: GPS data processed {"connection_id":145243,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:57:37] local.INFO: Acknowledgment sent {"connection_id":145243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:57:38] local.INFO: TCP Data received {"connection_id":143945,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:57:38] local.INFO: Processing buffer {"connection_id":143945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:57:38] local.INFO: IMEI packet received {"connection_id":143945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 11:57:38] local.INFO: IMEI acknowledgment sent {"connection_id":143945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 11:57:42] local.INFO: TCP Data received {"connection_id":143945,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:57:42] local.INFO: Processing buffer {"connection_id":143945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:57:42] local.INFO: IMEI packet received {"connection_id":143945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 11:57:42] local.INFO: IMEI acknowledgment sent {"connection_id":143945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:57:43] local.INFO: TCP Data received {"connection_id":143945,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019fa23e4de0012d7faac005afe4b00002015225..."} 
[2026-07-27 11:57:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa23e4de0012d7faac005afe4b00002015225..."} 
[2026-07-27 11:57:43] local.INFO: Processing buffer {"connection_id":143945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa23e4de0012d7faac005afe4b00002015225..."} 
[2026-07-27 11:57:43] local.INFO: Packet analysis {"connection_id":143945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa23e"} 
[2026-07-27 11:57:43] local.INFO: Extracted packet for processing {"connection_id":143945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa23e"} 
[2026-07-27 11:57:43] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":2,"angle":338,"satellites":37,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 11: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-07-27 11:57:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994078464001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:57:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 11:57:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 11:57:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:57:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785133420000,"timestamp_ms":1785133420000,"timestamp_seconds":1785133420,"priority":1,"record_length":96,"hex_timestamp":"0000019fa23e4de0"} 
[2026-07-27 11:57:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:57:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 11: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":31,"data_length":795,"current_offset":136} 
[2026-07-27 11:57:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11: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-07-27 11:57:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:57:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:57:43] local.INFO: Teltonika packet parsed successfully {"connection_id":143945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:57:43] local.INFO: Passing IMEI to GPS processor {"connection_id":143945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:57:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":143945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:57: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-07-27 11:57:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 11:57:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 11:57:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994078464001,"66":25615,"27":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 11:57:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 11:57:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 11:57:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994078464001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:57:43] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 11:57:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 11:57:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:57:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 11:57:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994078464001,"power":25615,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 11:57:43] local.INFO: DEBUG: GPS processor result {"connection_id":143945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:57:43] local.INFO: GPS data processed {"connection_id":143945,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:57:43] local.INFO: Acknowledgment sent {"connection_id":143945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:57:48] local.INFO: TCP Data received {"connection_id":143945,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019fa23e4de0012d7faac005afe4b00002015225..."} 
[2026-07-27 11:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa23e4de0012d7faac005afe4b00002015225..."} 
[2026-07-27 11:57:48] local.INFO: Processing buffer {"connection_id":143945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa23e4de0012d7faac005afe4b00002015225..."} 
[2026-07-27 11:57:48] local.INFO: Packet analysis {"connection_id":143945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa23e"} 
[2026-07-27 11:57:48] local.INFO: Extracted packet for processing {"connection_id":143945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa23e"} 
[2026-07-27 11:57:48] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":2,"angle":338,"satellites":37,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 11: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-07-27 11:57:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994078464001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:57:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 11:57:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 11:57:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:57:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785133420000,"timestamp_ms":1785133420000,"timestamp_seconds":1785133420,"priority":1,"record_length":96,"hex_timestamp":"0000019fa23e4de0"} 
[2026-07-27 11:57:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:57:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 11: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 11:57:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11: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-07-27 11:57:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:57:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:57:48] local.INFO: Teltonika packet parsed successfully {"connection_id":143945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:57:48] local.INFO: Passing IMEI to GPS processor {"connection_id":143945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:57:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":143945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:57:48] 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-07-27 11:57:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 11:57:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 11:57:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994078464001,"66":25615,"27":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 11:57:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 11:57:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 11:57:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994078464001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:57:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 11:57:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 11:57:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:57:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 11:57:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994078464001,"power":25615,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 11:57:48] local.INFO: DEBUG: GPS processor result {"connection_id":143945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:57:48] local.INFO: GPS data processed {"connection_id":143945,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:57:48] local.INFO: Acknowledgment sent {"connection_id":143945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:58:05] local.INFO: TCP Data received {"connection_id":142821,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142821,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:58:05] local.INFO: Processing buffer {"connection_id":142821,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:58:05] local.INFO: IMEI packet received {"connection_id":142821,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 11:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":142821,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 11:58:10] local.INFO: TCP Data received {"connection_id":142821,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142821,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:58:10] local.INFO: Processing buffer {"connection_id":142821,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:58:10] local.INFO: IMEI packet received {"connection_id":142821,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 11:58:10] local.INFO: IMEI acknowledgment sent {"connection_id":142821,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:58:12] local.INFO: TCP Data received {"connection_id":142821,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa23e78d8012d18cd00072124080045015924..."} 
[2026-07-27 11:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa23e78d8012d18cd00072124080045015924..."} 
[2026-07-27 11:58:12] local.INFO: Processing buffer {"connection_id":142821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa23e78d8012d18cd00072124080045015924..."} 
[2026-07-27 11:58:12] local.INFO: Packet analysis {"connection_id":142821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa23e"} 
[2026-07-27 11:58:12] local.INFO: Extracted packet for processing {"connection_id":142821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa23e"} 
[2026-07-27 11:58:12] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119612424,"longitude_deg":75.6600064,"latitude_deg":11.9612424,"altitude":69,"angle":345,"satellites":36,"speed":0,"hex_longitude":"2d18cd00","hex_latitude":"07212408","is_valid_coordinates":true} 
[2026-07-27 11:58:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:58:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994152960001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:58:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8838707687718912,"note":"Value kept but may cause issues"} 
[2026-07-27 11:58:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657756735488,"note":"Value kept but may cause issues"} 
[2026-07-27 11:58:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:58:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785133431000,"timestamp_ms":1785133431000,"timestamp_seconds":1785133431,"priority":1,"record_length":96,"hex_timestamp":"0000019fa23e78d8"} 
[2026-07-27 11:58:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:58:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 11:58:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-27 11:58:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:58:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:58:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:58:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:58:12] local.INFO: Teltonika packet parsed successfully {"connection_id":142821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:58:12] local.INFO: Passing IMEI to GPS processor {"connection_id":142821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:58:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":142821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:58:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 11:58:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 11:58:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 11:58:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994152960001,"66":12667,"121":206,"28":31744,"24":0,"16":8838707687718912,"45":1787084657756735488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 11:58:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 11:58:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 11:58:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994152960001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:58:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 11:58:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 11:58:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8838707687718912,"km_value":8838707687718.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:58:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657756735488,"description":"Unknown IO ID 45"} 
[2026-07-27 11:58:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994152960001,"power":12667,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1787084657756735488}} 
[2026-07-27 11:58:12] local.INFO: DEBUG: GPS processor result {"connection_id":142821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552941,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:58:12] local.INFO: GPS data processed {"connection_id":142821,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:58:12] local.INFO: Acknowledgment sent {"connection_id":142821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:58:16] local.INFO: TCP Data received {"connection_id":142821,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa23ecae0012d18cd00072124080045015924..."} 
[2026-07-27 11:58:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa23ecae0012d18cd00072124080045015924..."} 
[2026-07-27 11:58:16] local.INFO: Processing buffer {"connection_id":142821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa23ecae0012d18cd00072124080045015924..."} 
[2026-07-27 11:58:16] local.INFO: Packet analysis {"connection_id":142821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa23e"} 
[2026-07-27 11:58:16] local.INFO: Extracted packet for processing {"connection_id":142821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa23e"} 
[2026-07-27 11:58:16] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119612424,"longitude_deg":75.6600064,"latitude_deg":11.9612424,"altitude":69,"angle":345,"satellites":36,"speed":0,"hex_longitude":"2d18cd00","hex_latitude":"07212408","is_valid_coordinates":true} 
[2026-07-27 11:58:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:58:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994158336001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:58:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8838707687718912,"note":"Value kept but may cause issues"} 
[2026-07-27 11:58:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657756735488,"note":"Value kept but may cause issues"} 
[2026-07-27 11:58:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:58:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785133452000,"timestamp_ms":1785133452000,"timestamp_seconds":1785133452,"priority":1,"record_length":96,"hex_timestamp":"0000019fa23ecae0"} 
[2026-07-27 11:58:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:58: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-07-27 11:58:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-07-27 11:58: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-07-27 11:58:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:58:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:58:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:58:16] local.INFO: Teltonika packet parsed successfully {"connection_id":142821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:58:16] local.INFO: Passing IMEI to GPS processor {"connection_id":142821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:58:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":142821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:58:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 11:58:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 11:58:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 11:58:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994158336001,"66":12645,"121":206,"28":31744,"24":0,"16":8838707687718912,"45":1787084657756735488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 11:58:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 11:58:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 11:58:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994158336001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:58:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 11:58:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 11:58:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8838707687718912,"km_value":8838707687718.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:58:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657756735488,"description":"Unknown IO ID 45"} 
[2026-07-27 11:58:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994158336001,"power":12645,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1787084657756735488}} 
[2026-07-27 11:58:16] local.INFO: DEBUG: GPS processor result {"connection_id":142821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552942,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:58:16] local.INFO: GPS data processed {"connection_id":142821,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:58:16] local.INFO: Acknowledgment sent {"connection_id":142821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:58:32] local.INFO: TCP Data received {"connection_id":142822,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:58:32] local.INFO: Processing buffer {"connection_id":142822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:58:32] local.INFO: IMEI packet received {"connection_id":142822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 11:58:32] local.INFO: IMEI acknowledgment sent {"connection_id":142822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 11:58:37] local.INFO: TCP Data received {"connection_id":142822,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:58:37] local.INFO: Processing buffer {"connection_id":142822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:58:37] local.INFO: IMEI packet received {"connection_id":142822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 11:58:37] local.INFO: IMEI acknowledgment sent {"connection_id":142822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:58:38] local.INFO: TCP Data received {"connection_id":142822,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa23e4de0012d7faac005afe4b00002015225..."} 
[2026-07-27 11:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa23e4de0012d7faac005afe4b00002015225..."} 
[2026-07-27 11:58:38] local.INFO: Processing buffer {"connection_id":142822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa23e4de0012d7faac005afe4b00002015225..."} 
[2026-07-27 11:58:38] local.INFO: Packet analysis {"connection_id":142822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa23e"} 
[2026-07-27 11:58:38] local.INFO: Extracted packet for processing {"connection_id":142822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa23e"} 
[2026-07-27 11:58:38] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":2,"angle":338,"satellites":37,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 11:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:58:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994078464001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:58:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 11:58:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 11:58:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:58:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785133420000,"timestamp_ms":1785133420000,"timestamp_seconds":1785133420,"priority":1,"record_length":96,"hex_timestamp":"0000019fa23e4de0"} 
[2026-07-27 11:58:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:58:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 11:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 11:58:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:58:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:58:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:58:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:58:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:58:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:58:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:58:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 11:58:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 11:58:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 11:58:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994078464001,"66":25615,"27":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 11:58:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 11:58:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 11:58:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994078464001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:58:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 11:58:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 11:58:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:58:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 11:58:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994078464001,"power":25615,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 11:58:38] local.INFO: DEBUG: GPS processor result {"connection_id":142822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:58:38] local.INFO: GPS data processed {"connection_id":142822,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:58:38] local.INFO: Acknowledgment sent {"connection_id":142822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:59:00] local.INFO: TCP Data received {"connection_id":143946,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143946,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:59:00] local.INFO: Processing buffer {"connection_id":143946,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:59:00] local.INFO: IMEI packet received {"connection_id":143946,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 11:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":143946,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 11:59:02] local.INFO: TCP Data received {"connection_id":143946,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143946,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:59:02] local.INFO: Processing buffer {"connection_id":143946,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 11:59:02] local.INFO: IMEI packet received {"connection_id":143946,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 11:59:02] local.INFO: IMEI acknowledgment sent {"connection_id":143946,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:59:03] local.INFO: TCP Data received {"connection_id":143946,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa23f20d0012d18cd00072124080045015926..."} 
[2026-07-27 11:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa23f20d0012d18cd00072124080045015926..."} 
[2026-07-27 11:59:03] local.INFO: Processing buffer {"connection_id":143946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa23f20d0012d18cd00072124080045015926..."} 
[2026-07-27 11:59:03] local.INFO: Packet analysis {"connection_id":143946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa23f"} 
[2026-07-27 11:59:03] local.INFO: Extracted packet for processing {"connection_id":143946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa23f"} 
[2026-07-27 11:59:03] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119612424,"longitude_deg":75.6600064,"latitude_deg":11.9612424,"altitude":69,"angle":345,"satellites":38,"speed":0,"hex_longitude":"2d18cd00","hex_latitude":"07212408","is_valid_coordinates":true} 
[2026-07-27 11: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-07-27 11:59:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994163712001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:59:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8838707687718912,"note":"Value kept but may cause issues"} 
[2026-07-27 11:59:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657756735488,"note":"Value kept but may cause issues"} 
[2026-07-27 11:59:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:59:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785133474000,"timestamp_ms":1785133474000,"timestamp_seconds":1785133474,"priority":1,"record_length":96,"hex_timestamp":"0000019fa23f20d0"} 
[2026-07-27 11:59:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:59:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 11: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-27 11:59:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11: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-07-27 11:59:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:59:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:59:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:59:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:59:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:59:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 11:59:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 11:59:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 11:59:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994163712001,"66":11787,"121":206,"28":31744,"24":0,"16":8838707687718912,"45":1787084657756735488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 11:59:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 11:59:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 11:59:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994163712001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:59:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 11:59:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 11:59:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8838707687718912,"km_value":8838707687718.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:59:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657756735488,"description":"Unknown IO ID 45"} 
[2026-07-27 11:59:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994163712001,"power":11787,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1787084657756735488}} 
[2026-07-27 11:59:03] local.INFO: DEBUG: GPS processor result {"connection_id":143946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552944,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:59:03] local.INFO: GPS data processed {"connection_id":143946,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:59:03] local.INFO: Acknowledgment sent {"connection_id":143946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:59:11] local.INFO: TCP Data received {"connection_id":142822,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa23e4de0012d7faac005afe4b00002015225..."} 
[2026-07-27 11:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa23e4de0012d7faac005afe4b00002015225..."} 
[2026-07-27 11:59:11] local.INFO: Processing buffer {"connection_id":142822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa23e4de0012d7faac005afe4b00002015225..."} 
[2026-07-27 11:59:11] local.INFO: Packet analysis {"connection_id":142822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa23e"} 
[2026-07-27 11:59:11] local.INFO: Extracted packet for processing {"connection_id":142822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa23e"} 
[2026-07-27 11:59:11] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":2,"angle":338,"satellites":37,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 11:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:59:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994078464001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:59:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 11:59:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 11:59:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:59:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785133420000,"timestamp_ms":1785133420000,"timestamp_seconds":1785133420,"priority":1,"record_length":96,"hex_timestamp":"0000019fa23e4de0"} 
[2026-07-27 11:59:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:59:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 11: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-07-27 11: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-07-27 11:59:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:59:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:59:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:59:11] local.INFO: Teltonika packet parsed successfully {"connection_id":142822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:59:11] local.INFO: Passing IMEI to GPS processor {"connection_id":142822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:59:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":142822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:59: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-07-27 11:59:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 11:59:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 11:59:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994078464001,"66":25615,"27":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 11:59:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 11:59:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 11:59:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994078464001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:59:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 11:59:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 11:59:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:59:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 11:59:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994078464001,"power":25615,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 11:59:11] local.INFO: DEBUG: GPS processor result {"connection_id":142822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:59:11] local.INFO: GPS data processed {"connection_id":142822,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:59:11] local.INFO: Acknowledgment sent {"connection_id":142822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:59:32] local.INFO: TCP Data received {"connection_id":143947,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:59:32] local.INFO: Processing buffer {"connection_id":143947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:59:32] local.INFO: IMEI packet received {"connection_id":143947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 11:59:32] local.INFO: IMEI acknowledgment sent {"connection_id":143947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 11:59:38] local.INFO: TCP Data received {"connection_id":143946,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa23f72d8012d18cd00072124080045015927..."} 
[2026-07-27 11:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa23f72d8012d18cd00072124080045015927..."} 
[2026-07-27 11:59:38] local.INFO: Processing buffer {"connection_id":143946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa23f72d8012d18cd00072124080045015927..."} 
[2026-07-27 11:59:38] local.INFO: Packet analysis {"connection_id":143946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa23f"} 
[2026-07-27 11:59:38] local.INFO: Extracted packet for processing {"connection_id":143946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa23f"} 
[2026-07-27 11:59:38] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119612424,"longitude_deg":75.6600064,"latitude_deg":11.9612424,"altitude":69,"angle":345,"satellites":39,"speed":0,"hex_longitude":"2d18cd00","hex_latitude":"07212408","is_valid_coordinates":true} 
[2026-07-27 11:59:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:59:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994169344001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:59:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8838707687718912,"note":"Value kept but may cause issues"} 
[2026-07-27 11:59:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657756735488,"note":"Value kept but may cause issues"} 
[2026-07-27 11:59:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:59:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785133495000,"timestamp_ms":1785133495000,"timestamp_seconds":1785133495,"priority":1,"record_length":96,"hex_timestamp":"0000019fa23f72d8"} 
[2026-07-27 11:59:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:59:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 11:59:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":11,"data_length":795,"current_offset":136} 
[2026-07-27 11:59:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-07-27 11:59:38] local.WARNING: Large IO value detected {"io_id":102,"raw_value":3254779904,"note":"Value kept but may cause issues"} 
[2026-07-27 11:59:38] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2721919160,"note":"Value kept but may cause issues"} 
[2026-07-27 11:59:38] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":57345,"corrected_to":0} 
[2026-07-27 11:59:38] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-6943920748318610152,"note":"Value kept but may cause issues"} 
[2026-07-27 11:59:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2006763473749249,"corrected_to":0} 
[2026-07-27 11:59:38] local.WARNING: Large IO value detected {"io_id":130,"raw_value":3221302552,"note":"Value kept but may cause issues"} 
[2026-07-27 11:59:38] local.WARNING: Large IO value detected {"io_id":31,"raw_value":7404480737350516736,"note":"Value kept but may cause issues"} 
[2026-07-27 11:59:38] local.WARNING: Large IO value detected {"io_id":76,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-27 11:59:38] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-07-27 11:59:38] local.WARNING: Large IO value detected {"io_id":89,"raw_value":2377900603251624448,"note":"Value kept but may cause issues"} 
[2026-07-27 11:59:38] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,121,28,24,241,158,16,102,159,202,45,36,69,10,66,120,38,1,240,101,162,33,4,113,205,130,8,239,49,2,31,76,206,89],"length":533,"final_offset":663,"validated_count":34,"validation_warnings":[{"io_id":202,"original":57345,"validated":0},{"io_id":205,"original":2006763473749249,"validated":0}]} 
[2026-07-27 11:59:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4972353483337367552,"timestamp_seconds":4972353483337368.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 11:59:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:59:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:59:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:59:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:59:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 11:59:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 11:59:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 11:59:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 11:59:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994169344001,"66":12558,"121":206,"28":31744,"24":0,"16":8838707687718912,"45":1787084657756735488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 11:59:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 11:59:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 11:59:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994169344001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:59:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 11:59:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 11:59:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8838707687718912,"km_value":8838707687718.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:59:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657756735488,"description":"Unknown IO ID 45"} 
[2026-07-27 11:59:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994169344001,"power":12558,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1787084657756735488}} 
[2026-07-27 11:59:39] local.INFO: DEBUG: GPS processor result {"connection_id":143946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552946,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:59:39] local.INFO: GPS data processed {"connection_id":143946,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:59:39] local.INFO: Acknowledgment sent {"connection_id":143946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 11:59:42] local.INFO: TCP Data received {"connection_id":143947,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:59:42] local.INFO: Processing buffer {"connection_id":143947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 11:59:42] local.INFO: IMEI packet received {"connection_id":143947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 11:59:42] local.INFO: IMEI acknowledgment sent {"connection_id":143947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 11:59:43] local.INFO: TCP Data received {"connection_id":143947,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa242e5a8012d7faac005afe4b00002015227..."} 
[2026-07-27 11:59:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa242e5a8012d7faac005afe4b00002015227..."} 
[2026-07-27 11:59:43] local.INFO: Processing buffer {"connection_id":143947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa242e5a8012d7faac005afe4b00002015227..."} 
[2026-07-27 11:59:43] local.INFO: Packet analysis {"connection_id":143947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa242"} 
[2026-07-27 11:59:43] local.INFO: Extracted packet for processing {"connection_id":143947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa242"} 
[2026-07-27 11:59:43] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":2,"angle":338,"satellites":39,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 11:59:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 11:59:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994155520001,"note":"Value kept but may cause issues"} 
[2026-07-27 11:59:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 11:59:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 11:59:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 11:59:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785133721000,"timestamp_ms":1785133721000,"timestamp_seconds":1785133721,"priority":1,"record_length":96,"hex_timestamp":"0000019fa242e5a8"} 
[2026-07-27 11:59:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 11:59:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 11: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-27 11:59:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 11:59:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 11:59:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 11:59:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 11:59:43] local.INFO: Teltonika packet parsed successfully {"connection_id":143947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 11:59:43] local.INFO: Passing IMEI to GPS processor {"connection_id":143947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11:59:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":143947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 11: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-07-27 11:59:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 11:59:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 11:59:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994155520001,"66":25549,"33":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-27 11:59:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 11:59:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 11:59:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994155520001,"description":"Unknown IO ID 0"} 
[2026-07-27 11:59:43] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-27 11:59:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 11:59:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 11:59:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 11:59:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994155520001,"power":25549,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 11:59:43] local.INFO: DEBUG: GPS processor result {"connection_id":143947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 11:59:43] local.INFO: GPS data processed {"connection_id":143947,"processed":1,"errors":0,"total":1} 
[2026-07-27 11:59:43] local.INFO: Acknowledgment sent {"connection_id":143947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:00:00] local.INFO: TCP Data received {"connection_id":142947,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142947,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:00:00] local.INFO: Processing buffer {"connection_id":142947,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:00:00] local.INFO: IMEI packet received {"connection_id":142947,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 12:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":142947,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:00:06] local.INFO: TCP Data received {"connection_id":142947,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142947,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:00:06] local.INFO: Processing buffer {"connection_id":142947,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:00:06] local.INFO: IMEI packet received {"connection_id":142947,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 12:00:06] local.INFO: IMEI acknowledgment sent {"connection_id":142947,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:00:07] local.INFO: TCP Data received {"connection_id":142947,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa242f548012d18cd00072124080045015929..."} 
[2026-07-27 12:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa242f548012d18cd00072124080045015929..."} 
[2026-07-27 12:00:07] local.INFO: Processing buffer {"connection_id":142947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa242f548012d18cd00072124080045015929..."} 
[2026-07-27 12:00:07] local.INFO: Packet analysis {"connection_id":142947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa242"} 
[2026-07-27 12:00:07] local.INFO: Extracted packet for processing {"connection_id":142947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa242"} 
[2026-07-27 12:00:07] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119612424,"longitude_deg":75.6600064,"latitude_deg":11.9612424,"altitude":69,"angle":345,"satellites":41,"speed":0,"hex_longitude":"2d18cd00","hex_latitude":"07212408","is_valid_coordinates":true} 
[2026-07-27 12:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:00:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994228224001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:00:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8838707687718912,"note":"Value kept but may cause issues"} 
[2026-07-27 12:00:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657756735488,"note":"Value kept but may cause issues"} 
[2026-07-27 12:00:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:00:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785133725000,"timestamp_ms":1785133725000,"timestamp_seconds":1785133725,"priority":1,"record_length":96,"hex_timestamp":"0000019fa242f548"} 
[2026-07-27 12:00:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:00:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-27 12:00:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:00:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:00:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:00:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:00:07] local.INFO: Teltonika packet parsed successfully {"connection_id":142947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:00:07] local.INFO: Passing IMEI to GPS processor {"connection_id":142947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:00:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":142947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:00:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:00:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:00:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:00:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994228224001,"66":12526,"121":206,"28":31744,"24":0,"16":8838707687718912,"45":1787084657756735488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:00:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:00:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:00:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994228224001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:00:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:00:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:00:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8838707687718912,"km_value":8838707687718.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:00:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657756735488,"description":"Unknown IO ID 45"} 
[2026-07-27 12:00:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994228224001,"power":12526,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1787084657756735488}} 
[2026-07-27 12:00:07] local.INFO: DEBUG: GPS processor result {"connection_id":142947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552948,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:00:07] local.INFO: GPS data processed {"connection_id":142947,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:00:07] local.INFO: Acknowledgment sent {"connection_id":142947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:00:14] local.INFO: TCP Data received {"connection_id":143947,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa242e5a8012d7faac005afe4b00002015227..."} 
[2026-07-27 12:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa242e5a8012d7faac005afe4b00002015227..."} 
[2026-07-27 12:00:14] local.INFO: Processing buffer {"connection_id":143947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa242e5a8012d7faac005afe4b00002015227..."} 
[2026-07-27 12:00:14] local.INFO: Packet analysis {"connection_id":143947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa242"} 
[2026-07-27 12:00:14] local.INFO: Extracted packet for processing {"connection_id":143947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa242"} 
[2026-07-27 12:00:14] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":2,"angle":338,"satellites":39,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 12:00:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:00:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994155520001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:00:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 12:00:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 12:00:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:00:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785133721000,"timestamp_ms":1785133721000,"timestamp_seconds":1785133721,"priority":1,"record_length":96,"hex_timestamp":"0000019fa242e5a8"} 
[2026-07-27 12:00:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:00:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 12: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-27 12:00:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:00:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:00:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:00:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:00:14] local.INFO: Teltonika packet parsed successfully {"connection_id":143947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:00:14] local.INFO: Passing IMEI to GPS processor {"connection_id":143947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:00:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":143947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:00: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-07-27 12:00:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:00:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:00:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994155520001,"66":25549,"33":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-27 12:00:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:00:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:00:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994155520001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:00:14] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-27 12:00:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:00:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:00:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 12:00:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994155520001,"power":25549,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 12:00:14] local.INFO: DEBUG: GPS processor result {"connection_id":143947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:00:14] local.INFO: GPS data processed {"connection_id":143947,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:00:14] local.INFO: Acknowledgment sent {"connection_id":143947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:00:33] local.INFO: TCP Data received {"connection_id":143948,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:00:33] local.INFO: Processing buffer {"connection_id":143948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:00:33] local.INFO: IMEI packet received {"connection_id":143948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 12:00:33] local.INFO: IMEI acknowledgment sent {"connection_id":143948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:00:37] local.INFO: TCP Data received {"connection_id":143948,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:00:37] local.INFO: Processing buffer {"connection_id":143948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:00:37] local.INFO: IMEI packet received {"connection_id":143948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 12:00:37] local.INFO: IMEI acknowledgment sent {"connection_id":143948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:00:38] local.INFO: TCP Data received {"connection_id":143948,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019fa242e5a8012d7faac005afe4b00002015227..."} 
[2026-07-27 12:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa242e5a8012d7faac005afe4b00002015227..."} 
[2026-07-27 12:00:38] local.INFO: Processing buffer {"connection_id":143948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa242e5a8012d7faac005afe4b00002015227..."} 
[2026-07-27 12:00:38] local.INFO: Packet analysis {"connection_id":143948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa242"} 
[2026-07-27 12:00:38] local.INFO: Extracted packet for processing {"connection_id":143948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa242"} 
[2026-07-27 12:00:38] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":2,"angle":338,"satellites":39,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 12:00:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:00:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994155520001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:00:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 12:00:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 12:00:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:00:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785133721000,"timestamp_ms":1785133721000,"timestamp_seconds":1785133721,"priority":1,"record_length":96,"hex_timestamp":"0000019fa242e5a8"} 
[2026-07-27 12:00:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:00:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 12:00:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-27 12:00:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:00:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:00:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:00:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:00:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:00:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:00:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:00:38] 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-07-27 12:00:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:00:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:00:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994155520001,"66":25549,"33":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-27 12:00:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:00:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:00:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994155520001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:00:38] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-27 12:00:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:00:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:00:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 12:00:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994155520001,"power":25549,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 12:00:38] local.INFO: DEBUG: GPS processor result {"connection_id":143948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:00:38] local.INFO: GPS data processed {"connection_id":143948,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:00:38] local.INFO: Acknowledgment sent {"connection_id":143948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:00:39] local.INFO: TCP Data received {"connection_id":142947,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2434750012d18cd00072124080045015928..."} 
[2026-07-27 12:00:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2434750012d18cd00072124080045015928..."} 
[2026-07-27 12:00:39] local.INFO: Processing buffer {"connection_id":142947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2434750012d18cd00072124080045015928..."} 
[2026-07-27 12:00:39] local.INFO: Packet analysis {"connection_id":142947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa243"} 
[2026-07-27 12:00:39] local.INFO: Extracted packet for processing {"connection_id":142947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa243"} 
[2026-07-27 12:00:39] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119612424,"longitude_deg":75.6600064,"latitude_deg":11.9612424,"altitude":69,"angle":345,"satellites":40,"speed":0,"hex_longitude":"2d18cd00","hex_latitude":"07212408","is_valid_coordinates":true} 
[2026-07-27 12: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-07-27 12:00:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994233600001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:00:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8838707687718912,"note":"Value kept but may cause issues"} 
[2026-07-27 12:00:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657756735488,"note":"Value kept but may cause issues"} 
[2026-07-27 12:00:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:00:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785133746000,"timestamp_ms":1785133746000,"timestamp_seconds":1785133746,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2434750"} 
[2026-07-27 12:00:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:00:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-27 12:00: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-07-27 12: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-07-27 12:00:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:00:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:00:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:00:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:00:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:00:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:00:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:00:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:00:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994233600001,"66":12526,"121":206,"28":31744,"24":0,"16":8838707687718912,"45":1787084657756735488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:00:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:00:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:00:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994233600001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:00:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:00:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:00:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8838707687718912,"km_value":8838707687718.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:00:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657756735488,"description":"Unknown IO ID 45"} 
[2026-07-27 12:00:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994233600001,"power":12526,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1787084657756735488}} 
[2026-07-27 12:00:39] local.INFO: DEBUG: GPS processor result {"connection_id":142947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552951,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:00:39] local.INFO: GPS data processed {"connection_id":142947,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:00:39] local.INFO: Acknowledgment sent {"connection_id":142947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:01:00] local.INFO: TCP Data received {"connection_id":142823,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142823,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:01:00] local.INFO: Processing buffer {"connection_id":142823,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:01:00] local.INFO: IMEI packet received {"connection_id":142823,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 12:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":142823,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:01:05] local.INFO: TCP Data received {"connection_id":142823,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142823,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:01:05] local.INFO: Processing buffer {"connection_id":142823,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:01:05] local.INFO: IMEI packet received {"connection_id":142823,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 12:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":142823,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:01:07] local.INFO: TCP Data received {"connection_id":142823,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2439958012d18cd00072124080045015922..."} 
[2026-07-27 12:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142823,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2439958012d18cd00072124080045015922..."} 
[2026-07-27 12:01:07] local.INFO: Processing buffer {"connection_id":142823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2439958012d18cd00072124080045015922..."} 
[2026-07-27 12:01:07] local.INFO: Packet analysis {"connection_id":142823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa243"} 
[2026-07-27 12:01:07] local.INFO: Extracted packet for processing {"connection_id":142823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa243"} 
[2026-07-27 12:01:07] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119612424,"longitude_deg":75.6600064,"latitude_deg":11.9612424,"altitude":69,"angle":345,"satellites":34,"speed":0,"hex_longitude":"2d18cd00","hex_latitude":"07212408","is_valid_coordinates":true} 
[2026-07-27 12:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:01:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994238976001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:01:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8838707687718912,"note":"Value kept but may cause issues"} 
[2026-07-27 12:01:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657756735488,"note":"Value kept but may cause issues"} 
[2026-07-27 12:01:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:01:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785133767000,"timestamp_ms":1785133767000,"timestamp_seconds":1785133767,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2439958"} 
[2026-07-27 12:01:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:01:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-27 12:01:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:01:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:01:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:01:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:01:07] local.INFO: Teltonika packet parsed successfully {"connection_id":142823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:01:07] local.INFO: Passing IMEI to GPS processor {"connection_id":142823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:01:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":142823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:01:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:01:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:01:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:01:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994238976001,"66":12504,"121":206,"28":31744,"24":0,"16":8838707687718912,"45":1787084657756735488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:01:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:01:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:01:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994238976001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:01:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:01:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:01:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8838707687718912,"km_value":8838707687718.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:01:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657756735488,"description":"Unknown IO ID 45"} 
[2026-07-27 12:01:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994238976001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1787084657756735488}} 
[2026-07-27 12:01:07] local.INFO: DEBUG: GPS processor result {"connection_id":142823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552952,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:01:07] local.INFO: GPS data processed {"connection_id":142823,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:01:07] local.INFO: Acknowledgment sent {"connection_id":142823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:01:15] local.INFO: TCP Data received {"connection_id":143948,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019fa242e5a8012d7faac005afe4b00002015227..."} 
[2026-07-27 12:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa242e5a8012d7faac005afe4b00002015227..."} 
[2026-07-27 12:01:15] local.INFO: Processing buffer {"connection_id":143948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa242e5a8012d7faac005afe4b00002015227..."} 
[2026-07-27 12:01:15] local.INFO: Packet analysis {"connection_id":143948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa242"} 
[2026-07-27 12:01:15] local.INFO: Extracted packet for processing {"connection_id":143948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa242"} 
[2026-07-27 12:01:15] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":2,"angle":338,"satellites":39,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 12: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-07-27 12:01:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994155520001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:01:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 12:01:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 12:01:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:01:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785133721000,"timestamp_ms":1785133721000,"timestamp_seconds":1785133721,"priority":1,"record_length":96,"hex_timestamp":"0000019fa242e5a8"} 
[2026-07-27 12:01:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:01:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 12: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-27 12:01:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12: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-07-27 12:01:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:01:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:01:15] local.INFO: Teltonika packet parsed successfully {"connection_id":143948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:01:15] local.INFO: Passing IMEI to GPS processor {"connection_id":143948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:01:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":143948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:01: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-07-27 12:01:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:01:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:01:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994155520001,"66":25549,"33":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-27 12:01:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:01:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:01:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994155520001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:01:15] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-27 12:01:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:01:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:01:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 12:01:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994155520001,"power":25549,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 12:01:15] local.INFO: DEBUG: GPS processor result {"connection_id":143948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:01:15] local.INFO: GPS data processed {"connection_id":143948,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:01:15] local.INFO: Acknowledgment sent {"connection_id":143948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:01:32] local.INFO: TCP Data received {"connection_id":142948,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:01:32] local.INFO: Processing buffer {"connection_id":142948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:01:32] local.INFO: IMEI packet received {"connection_id":142948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 12:01:32] local.INFO: IMEI acknowledgment sent {"connection_id":142948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:01:38] local.INFO: TCP Data received {"connection_id":142823,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa243eb60012d18cd00072124080045015924..."} 
[2026-07-27 12:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142823,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa243eb60012d18cd00072124080045015924..."} 
[2026-07-27 12:01:38] local.INFO: Processing buffer {"connection_id":142823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa243eb60012d18cd00072124080045015924..."} 
[2026-07-27 12:01:38] local.INFO: Packet analysis {"connection_id":142823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa243"} 
[2026-07-27 12:01:38] local.INFO: Extracted packet for processing {"connection_id":142823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa243"} 
[2026-07-27 12:01:38] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119612424,"longitude_deg":75.6600064,"latitude_deg":11.9612424,"altitude":69,"angle":345,"satellites":36,"speed":0,"hex_longitude":"2d18cd00","hex_latitude":"07212408","is_valid_coordinates":true} 
[2026-07-27 12:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:01:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994244352001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:01:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8838707687718912,"note":"Value kept but may cause issues"} 
[2026-07-27 12:01:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657756735488,"note":"Value kept but may cause issues"} 
[2026-07-27 12:01:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:01:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785133788000,"timestamp_ms":1785133788000,"timestamp_seconds":1785133788,"priority":1,"record_length":96,"hex_timestamp":"0000019fa243eb60"} 
[2026-07-27 12:01:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:01:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-27 12:01:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:01:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:01:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:01:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:01:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:01:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:01:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:01:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:01:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:01:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:01:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994244352001,"66":12504,"121":206,"28":31744,"24":0,"16":8838707687718912,"45":1787084657756735488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:01:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:01:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:01:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994244352001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:01:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:01:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:01:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8838707687718912,"km_value":8838707687718.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:01:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657756735488,"description":"Unknown IO ID 45"} 
[2026-07-27 12:01:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994244352001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1787084657756735488}} 
[2026-07-27 12:01:38] local.INFO: DEBUG: GPS processor result {"connection_id":142823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552954,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:01:38] local.INFO: GPS data processed {"connection_id":142823,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:01:38] local.INFO: Acknowledgment sent {"connection_id":142823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:01:39] local.INFO: TCP Data received {"connection_id":142948,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:01:39] local.INFO: Processing buffer {"connection_id":142948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:01:39] local.INFO: IMEI packet received {"connection_id":142948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 12:01:39] local.INFO: IMEI acknowledgment sent {"connection_id":142948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:01:41] local.INFO: TCP Data received {"connection_id":142948,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa242e5a8012d7faac005afe4b00002015227..."} 
[2026-07-27 12:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa242e5a8012d7faac005afe4b00002015227..."} 
[2026-07-27 12:01:41] local.INFO: Processing buffer {"connection_id":142948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa242e5a8012d7faac005afe4b00002015227..."} 
[2026-07-27 12:01:41] local.INFO: Packet analysis {"connection_id":142948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa242"} 
[2026-07-27 12:01:41] local.INFO: Extracted packet for processing {"connection_id":142948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa242"} 
[2026-07-27 12:01:41] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":2,"angle":338,"satellites":39,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 12:01:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994155520001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:01:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 12:01:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 12:01:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:01:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785133721000,"timestamp_ms":1785133721000,"timestamp_seconds":1785133721,"priority":1,"record_length":96,"hex_timestamp":"0000019fa242e5a8"} 
[2026-07-27 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-07-27 12:01:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-27 12:01:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 12:01:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:01:41] local.INFO: Teltonika packet parsed successfully {"connection_id":142948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:01:41] local.INFO: Passing IMEI to GPS processor {"connection_id":142948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:01:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":142948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:01: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-07-27 12:01:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:01:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:01:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994155520001,"66":25549,"33":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-27 12:01:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:01:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:01:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994155520001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:01:41] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-27 12:01:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:01:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:01:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 12:01:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994155520001,"power":25549,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 12:01:41] local.INFO: DEBUG: GPS processor result {"connection_id":142948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:01:41] local.INFO: GPS data processed {"connection_id":142948,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:01:41] local.INFO: Acknowledgment sent {"connection_id":142948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:01:42] local.INFO: TCP Data received {"connection_id":142948,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa242e5a8012d7faac005afe4b00002015227..."} 
[2026-07-27 12:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa242e5a8012d7faac005afe4b00002015227..."} 
[2026-07-27 12:01:42] local.INFO: Processing buffer {"connection_id":142948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa242e5a8012d7faac005afe4b00002015227..."} 
[2026-07-27 12:01:42] local.INFO: Packet analysis {"connection_id":142948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa242"} 
[2026-07-27 12:01:42] local.INFO: Extracted packet for processing {"connection_id":142948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa242"} 
[2026-07-27 12:01:42] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":2,"angle":338,"satellites":39,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 12:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:01:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994155520001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:01:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 12:01:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 12:01:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:01:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785133721000,"timestamp_ms":1785133721000,"timestamp_seconds":1785133721,"priority":1,"record_length":96,"hex_timestamp":"0000019fa242e5a8"} 
[2026-07-27 12:01:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:01:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 12: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-27 12:01:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:01:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:01:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:01:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:01:42] local.INFO: Teltonika packet parsed successfully {"connection_id":142948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:01:42] local.INFO: Passing IMEI to GPS processor {"connection_id":142948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:01:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":142948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:01: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-07-27 12:01:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:01:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:01:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994155520001,"66":25549,"33":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-27 12:01:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:01:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:01:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994155520001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:01:42] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-27 12:01:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:01:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:01:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 12:01:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994155520001,"power":25549,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 12:01:42] local.INFO: DEBUG: GPS processor result {"connection_id":142948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:01:42] local.INFO: GPS data processed {"connection_id":142948,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:01:42] local.INFO: Acknowledgment sent {"connection_id":142948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:02:00] local.INFO: TCP Data received {"connection_id":145244,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145244,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:02:00] local.INFO: Processing buffer {"connection_id":145244,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:02:00] local.INFO: IMEI packet received {"connection_id":145244,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 12:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":145244,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:02:05] local.INFO: TCP Data received {"connection_id":145244,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145244,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:02:05] local.INFO: Processing buffer {"connection_id":145244,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:02:05] local.INFO: IMEI packet received {"connection_id":145244,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 12:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":145244,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:02:06] local.INFO: TCP Data received {"connection_id":145244,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2443d68012d18cd00072124080045015925..."} 
[2026-07-27 12:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2443d68012d18cd00072124080045015925..."} 
[2026-07-27 12:02:06] local.INFO: Processing buffer {"connection_id":145244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2443d68012d18cd00072124080045015925..."} 
[2026-07-27 12:02:06] local.INFO: Packet analysis {"connection_id":145244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa244"} 
[2026-07-27 12:02:06] local.INFO: Extracted packet for processing {"connection_id":145244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa244"} 
[2026-07-27 12:02:06] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119612424,"longitude_deg":75.6600064,"latitude_deg":11.9612424,"altitude":69,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d18cd00","hex_latitude":"07212408","is_valid_coordinates":true} 
[2026-07-27 12:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:02:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994249728001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:02:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8838707687718912,"note":"Value kept but may cause issues"} 
[2026-07-27 12:02:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657756735488,"note":"Value kept but may cause issues"} 
[2026-07-27 12:02:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:02:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785133809000,"timestamp_ms":1785133809000,"timestamp_seconds":1785133809,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2443d68"} 
[2026-07-27 12:02:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:02:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-27 12:02:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:02:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:02:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:02:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:02:07] local.INFO: Teltonika packet parsed successfully {"connection_id":145244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:02:07] local.INFO: Passing IMEI to GPS processor {"connection_id":145244,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:02:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":145244,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:02:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:02:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:02:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:02:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994249728001,"66":12526,"121":206,"28":31744,"24":0,"16":8838707687718912,"45":1787084657756735488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:02:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:02:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:02:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994249728001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:02:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:02:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:02:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8838707687718912,"km_value":8838707687718.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:02:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657756735488,"description":"Unknown IO ID 45"} 
[2026-07-27 12:02:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994249728001,"power":12526,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1787084657756735488}} 
[2026-07-27 12:02:07] local.INFO: DEBUG: GPS processor result {"connection_id":145244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552957,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:02:07] local.INFO: GPS data processed {"connection_id":145244,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:02:07] local.INFO: Acknowledgment sent {"connection_id":145244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:02:14] local.INFO: TCP Data received {"connection_id":142948,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa242e5a8012d7faac005afe4b00002015227..."} 
[2026-07-27 12:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa242e5a8012d7faac005afe4b00002015227..."} 
[2026-07-27 12:02:14] local.INFO: Processing buffer {"connection_id":142948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa242e5a8012d7faac005afe4b00002015227..."} 
[2026-07-27 12:02:14] local.INFO: Packet analysis {"connection_id":142948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa242"} 
[2026-07-27 12:02:14] local.INFO: Extracted packet for processing {"connection_id":142948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa242"} 
[2026-07-27 12:02:14] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":2,"angle":338,"satellites":39,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 12:02:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:02:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994155520001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:02:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 12:02:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 12:02:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:02:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785133721000,"timestamp_ms":1785133721000,"timestamp_seconds":1785133721,"priority":1,"record_length":96,"hex_timestamp":"0000019fa242e5a8"} 
[2026-07-27 12:02:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:02:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 12:02:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-27 12:02:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:02:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:02:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:02:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:02:14] local.INFO: Teltonika packet parsed successfully {"connection_id":142948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:02:14] local.INFO: Passing IMEI to GPS processor {"connection_id":142948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:02:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":142948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:02: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-07-27 12:02:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:02:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:02:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994155520001,"66":25549,"33":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-27 12:02:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:02:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:02:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994155520001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:02:14] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-27 12:02:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:02:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:02:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 12:02:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994155520001,"power":25549,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 12:02:14] local.INFO: DEBUG: GPS processor result {"connection_id":142948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:02:14] local.INFO: GPS data processed {"connection_id":142948,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:02:14] local.INFO: Acknowledgment sent {"connection_id":142948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:02:37] local.INFO: TCP Data received {"connection_id":142824,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:02:37] local.INFO: Processing buffer {"connection_id":142824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:02:37] local.INFO: IMEI packet received {"connection_id":142824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 12:02:37] local.INFO: IMEI acknowledgment sent {"connection_id":142824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:02:38] local.INFO: TCP Data received {"connection_id":145244,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2448f70012d18cd00072124080045015927..."} 
[2026-07-27 12:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2448f70012d18cd00072124080045015927..."} 
[2026-07-27 12:02:38] local.INFO: Processing buffer {"connection_id":145244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2448f70012d18cd00072124080045015927..."} 
[2026-07-27 12:02:38] local.INFO: Packet analysis {"connection_id":145244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa244"} 
[2026-07-27 12:02:38] local.INFO: Extracted packet for processing {"connection_id":145244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa244"} 
[2026-07-27 12:02:38] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119612424,"longitude_deg":75.6600064,"latitude_deg":11.9612424,"altitude":69,"angle":345,"satellites":39,"speed":0,"hex_longitude":"2d18cd00","hex_latitude":"07212408","is_valid_coordinates":true} 
[2026-07-27 12:02:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:02:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994255104001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:02:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8838707687718912,"note":"Value kept but may cause issues"} 
[2026-07-27 12:02:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657756735488,"note":"Value kept but may cause issues"} 
[2026-07-27 12:02:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:02:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785133830000,"timestamp_ms":1785133830000,"timestamp_seconds":1785133830,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2448f70"} 
[2026-07-27 12:02:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:02:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12:02:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-27 12:02:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:02:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:02:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:02:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:02:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:02:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145244,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:02:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145244,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:02:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:02:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:02:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:02:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994255104001,"66":12385,"121":206,"28":31744,"24":0,"16":8838707687718912,"45":1787084657756735488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:02:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:02:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:02:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994255104001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:02:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:02:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:02:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8838707687718912,"km_value":8838707687718.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:02:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657756735488,"description":"Unknown IO ID 45"} 
[2026-07-27 12:02:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994255104001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1787084657756735488}} 
[2026-07-27 12:02:38] local.INFO: DEBUG: GPS processor result {"connection_id":145244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552959,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:02:38] local.INFO: GPS data processed {"connection_id":145244,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:02:38] local.INFO: Acknowledgment sent {"connection_id":145244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:02:42] local.INFO: TCP Data received {"connection_id":142824,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:02:42] local.INFO: Processing buffer {"connection_id":142824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:02:42] local.INFO: IMEI packet received {"connection_id":142824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 12:02:42] local.INFO: IMEI acknowledgment sent {"connection_id":142824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:02:43] local.INFO: TCP Data received {"connection_id":142824,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa242e5a8012d7faac005afe4b00002015227..."} 
[2026-07-27 12:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa242e5a8012d7faac005afe4b00002015227..."} 
[2026-07-27 12:02:43] local.INFO: Processing buffer {"connection_id":142824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa242e5a8012d7faac005afe4b00002015227..."} 
[2026-07-27 12:02:43] local.INFO: Packet analysis {"connection_id":142824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa242"} 
[2026-07-27 12:02:43] local.INFO: Extracted packet for processing {"connection_id":142824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa242"} 
[2026-07-27 12:02:43] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":2,"angle":338,"satellites":39,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 12:02:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994155520001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:02:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 12:02:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 12:02:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:02:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785133721000,"timestamp_ms":1785133721000,"timestamp_seconds":1785133721,"priority":1,"record_length":96,"hex_timestamp":"0000019fa242e5a8"} 
[2026-07-27 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-07-27 12:02:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-27 12:02:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 12:02:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:02:43] local.INFO: Teltonika packet parsed successfully {"connection_id":142824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:02:43] local.INFO: Passing IMEI to GPS processor {"connection_id":142824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:02:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":142824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:02:43] 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-07-27 12:02:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:02:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:02:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994155520001,"66":25549,"33":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-27 12:02:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:02:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:02:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994155520001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:02:43] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-27 12:02:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:02:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:02:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 12:02:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994155520001,"power":25549,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 12:02:43] local.INFO: DEBUG: GPS processor result {"connection_id":142824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:02:43] local.INFO: GPS data processed {"connection_id":142824,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:02:43] local.INFO: Acknowledgment sent {"connection_id":142824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:02:48] local.INFO: TCP Data received {"connection_id":142824,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa242e5a8012d7faac005afe4b00002015227..."} 
[2026-07-27 12:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa242e5a8012d7faac005afe4b00002015227..."} 
[2026-07-27 12:02:48] local.INFO: Processing buffer {"connection_id":142824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa242e5a8012d7faac005afe4b00002015227..."} 
[2026-07-27 12:02:48] local.INFO: Packet analysis {"connection_id":142824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa242"} 
[2026-07-27 12:02:48] local.INFO: Extracted packet for processing {"connection_id":142824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa242"} 
[2026-07-27 12:02:48] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":2,"angle":338,"satellites":39,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 12: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-07-27 12:02:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994155520001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:02:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 12:02:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 12:02:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:02:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785133721000,"timestamp_ms":1785133721000,"timestamp_seconds":1785133721,"priority":1,"record_length":96,"hex_timestamp":"0000019fa242e5a8"} 
[2026-07-27 12:02:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:02:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 12: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-27 12:02:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12: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-07-27 12:02:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:02:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:02:48] local.INFO: Teltonika packet parsed successfully {"connection_id":142824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:02:48] local.INFO: Passing IMEI to GPS processor {"connection_id":142824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:02:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":142824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:02:48] 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-07-27 12:02:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:02:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:02:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994155520001,"66":25549,"33":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-27 12:02:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:02:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:02:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994155520001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:02:48] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-27 12:02:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:02:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:02:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 12:02:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994155520001,"power":25549,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 12:02:48] local.INFO: DEBUG: GPS processor result {"connection_id":142824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:02:48] local.INFO: GPS data processed {"connection_id":142824,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:02:48] local.INFO: Acknowledgment sent {"connection_id":142824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:03:00] local.INFO: TCP Data received {"connection_id":143949,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143949,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:03:00] local.INFO: Processing buffer {"connection_id":143949,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:03:00] local.INFO: IMEI packet received {"connection_id":143949,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 12:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":143949,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:03:05] local.INFO: TCP Data received {"connection_id":143949,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143949,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:03:05] local.INFO: Processing buffer {"connection_id":143949,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:03:05] local.INFO: IMEI packet received {"connection_id":143949,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 12:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":143949,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:03:07] local.INFO: TCP Data received {"connection_id":143949,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa244e178012d18cd00072124080045015928..."} 
[2026-07-27 12:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa244e178012d18cd00072124080045015928..."} 
[2026-07-27 12:03:07] local.INFO: Processing buffer {"connection_id":143949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa244e178012d18cd00072124080045015928..."} 
[2026-07-27 12:03:07] local.INFO: Packet analysis {"connection_id":143949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa244"} 
[2026-07-27 12:03:07] local.INFO: Extracted packet for processing {"connection_id":143949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa244"} 
[2026-07-27 12:03:07] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119612424,"longitude_deg":75.6600064,"latitude_deg":11.9612424,"altitude":69,"angle":345,"satellites":40,"speed":0,"hex_longitude":"2d18cd00","hex_latitude":"07212408","is_valid_coordinates":true} 
[2026-07-27 12:03:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:03:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994260480001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:03:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8838707687718912,"note":"Value kept but may cause issues"} 
[2026-07-27 12:03:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657756735488,"note":"Value kept but may cause issues"} 
[2026-07-27 12:03:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:03:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785133851000,"timestamp_ms":1785133851000,"timestamp_seconds":1785133851,"priority":1,"record_length":96,"hex_timestamp":"0000019fa244e178"} 
[2026-07-27 12:03:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:03:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12:03:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-27 12:03:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:03:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:03:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:03:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:03:07] local.INFO: Teltonika packet parsed successfully {"connection_id":143949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:03:07] local.INFO: Passing IMEI to GPS processor {"connection_id":143949,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:03:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":143949,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:03:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:03:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:03:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:03:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994260480001,"66":12526,"121":206,"28":31744,"24":0,"16":8838707687718912,"45":1787084657756735488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:03:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:03:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:03:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994260480001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:03:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:03:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:03:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8838707687718912,"km_value":8838707687718.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:03:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657756735488,"description":"Unknown IO ID 45"} 
[2026-07-27 12:03:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994260480001,"power":12526,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1787084657756735488}} 
[2026-07-27 12:03:07] local.INFO: DEBUG: GPS processor result {"connection_id":143949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552962,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:03:07] local.INFO: GPS data processed {"connection_id":143949,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:03:07] local.INFO: Acknowledgment sent {"connection_id":143949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:03:32] local.INFO: TCP Data received {"connection_id":142949,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:03:32] local.INFO: Processing buffer {"connection_id":142949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:03:32] local.INFO: IMEI packet received {"connection_id":142949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 12:03:32] local.INFO: IMEI acknowledgment sent {"connection_id":142949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:03:37] local.INFO: TCP Data received {"connection_id":142949,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:03:37] local.INFO: Processing buffer {"connection_id":142949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:03:37] local.INFO: IMEI packet received {"connection_id":142949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 12:03:37] local.INFO: IMEI acknowledgment sent {"connection_id":142949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:03:38] local.INFO: TCP Data received {"connection_id":142949,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019fa242e5a8012d7faac005afe4b00002015227..."} 
[2026-07-27 12:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa242e5a8012d7faac005afe4b00002015227..."} 
[2026-07-27 12:03:38] local.INFO: Processing buffer {"connection_id":142949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa242e5a8012d7faac005afe4b00002015227..."} 
[2026-07-27 12:03:38] local.INFO: Packet analysis {"connection_id":142949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa242"} 
[2026-07-27 12:03:38] local.INFO: Extracted packet for processing {"connection_id":142949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa242"} 
[2026-07-27 12:03:38] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":2,"angle":338,"satellites":39,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 12:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:03:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994155520001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:03:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 12:03:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 12:03:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:03:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785133721000,"timestamp_ms":1785133721000,"timestamp_seconds":1785133721,"priority":1,"record_length":96,"hex_timestamp":"0000019fa242e5a8"} 
[2026-07-27 12:03:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:03:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 12:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-27 12:03:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:03:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:03:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:03:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:03:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:03:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:03:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:03:38] 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-07-27 12:03:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:03:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:03:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994155520001,"66":25549,"33":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-27 12:03:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:03:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:03:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994155520001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:03:38] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-27 12:03:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:03:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:03:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 12:03:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994155520001,"power":25549,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 12:03:38] local.INFO: DEBUG: GPS processor result {"connection_id":142949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:03:38] local.INFO: GPS data processed {"connection_id":142949,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:03:38] local.INFO: Acknowledgment sent {"connection_id":142949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:03:39] local.INFO: TCP Data received {"connection_id":143949,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2453380012d18cd00072124080045015924..."} 
[2026-07-27 12:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2453380012d18cd00072124080045015924..."} 
[2026-07-27 12:03:39] local.INFO: Processing buffer {"connection_id":143949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2453380012d18cd00072124080045015924..."} 
[2026-07-27 12:03:39] local.INFO: Packet analysis {"connection_id":143949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa245"} 
[2026-07-27 12:03:39] local.INFO: Extracted packet for processing {"connection_id":143949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa245"} 
[2026-07-27 12:03:39] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119612424,"longitude_deg":75.6600064,"latitude_deg":11.9612424,"altitude":69,"angle":345,"satellites":36,"speed":0,"hex_longitude":"2d18cd00","hex_latitude":"07212408","is_valid_coordinates":true} 
[2026-07-27 12: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-07-27 12:03:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994265856001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:03:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8838707687718912,"note":"Value kept but may cause issues"} 
[2026-07-27 12:03:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657756735488,"note":"Value kept but may cause issues"} 
[2026-07-27 12:03:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:03:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785133872000,"timestamp_ms":1785133872000,"timestamp_seconds":1785133872,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2453380"} 
[2026-07-27 12:03:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:03:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12:03:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-27 12:03: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-07-27 12: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-07-27 12:03:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:03:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:03:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:03:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143949,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:03:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143949,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:03:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:03:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:03:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:03:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994265856001,"66":12461,"121":206,"28":31744,"24":0,"16":8838707687718912,"45":1787084657756735488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:03:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:03:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:03:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994265856001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:03:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:03:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:03:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8838707687718912,"km_value":8838707687718.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:03:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657756735488,"description":"Unknown IO ID 45"} 
[2026-07-27 12:03:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994265856001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1787084657756735488}} 
[2026-07-27 12:03:39] local.INFO: DEBUG: GPS processor result {"connection_id":143949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552964,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:03:39] local.INFO: GPS data processed {"connection_id":143949,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:03:39] local.INFO: Acknowledgment sent {"connection_id":143949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:04:05] local.INFO: TCP Data received {"connection_id":143950,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143950,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:04:05] local.INFO: Processing buffer {"connection_id":143950,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:04:05] local.INFO: IMEI packet received {"connection_id":143950,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 12:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":143950,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:04:09] local.INFO: TCP Data received {"connection_id":142949,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019fa242e5a8012d7faac005afe4b00002015227..."} 
[2026-07-27 12:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa242e5a8012d7faac005afe4b00002015227..."} 
[2026-07-27 12:04:09] local.INFO: Processing buffer {"connection_id":142949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa242e5a8012d7faac005afe4b00002015227..."} 
[2026-07-27 12:04:09] local.INFO: Packet analysis {"connection_id":142949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa242"} 
[2026-07-27 12:04:09] local.INFO: Extracted packet for processing {"connection_id":142949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa242"} 
[2026-07-27 12:04:09] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":2,"angle":338,"satellites":39,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 12:04:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994155520001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:04:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 12:04:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 12:04:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:04:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785133721000,"timestamp_ms":1785133721000,"timestamp_seconds":1785133721,"priority":1,"record_length":96,"hex_timestamp":"0000019fa242e5a8"} 
[2026-07-27 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-07-27 12:04:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-27 12:04:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 12:04:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:04:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:04:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:04:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12: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-07-27 12:04:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:04:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:04:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994155520001,"66":25549,"33":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-27 12:04:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:04:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:04:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994155520001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:04:09] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-27 12:04:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:04:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:04:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 12:04:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994155520001,"power":25549,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 12:04:09] local.INFO: DEBUG: GPS processor result {"connection_id":142949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:04:09] local.INFO: GPS data processed {"connection_id":142949,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:04:09] local.INFO: Acknowledgment sent {"connection_id":142949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:04:10] local.INFO: TCP Data received {"connection_id":143950,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143950,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:04:10] local.INFO: Processing buffer {"connection_id":143950,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:04:10] local.INFO: IMEI packet received {"connection_id":143950,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 12:04:10] local.INFO: IMEI acknowledgment sent {"connection_id":143950,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:04:11] local.INFO: TCP Data received {"connection_id":143950,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2458588012d18cd00072124080045015926..."} 
[2026-07-27 12:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2458588012d18cd00072124080045015926..."} 
[2026-07-27 12:04:11] local.INFO: Processing buffer {"connection_id":143950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2458588012d18cd00072124080045015926..."} 
[2026-07-27 12:04:11] local.INFO: Packet analysis {"connection_id":143950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa245"} 
[2026-07-27 12:04:11] local.INFO: Extracted packet for processing {"connection_id":143950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa245"} 
[2026-07-27 12:04:11] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119612424,"longitude_deg":75.6600064,"latitude_deg":11.9612424,"altitude":69,"angle":345,"satellites":38,"speed":0,"hex_longitude":"2d18cd00","hex_latitude":"07212408","is_valid_coordinates":true} 
[2026-07-27 12:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:04:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994271232001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:04:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8838707687718912,"note":"Value kept but may cause issues"} 
[2026-07-27 12:04:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657756735488,"note":"Value kept but may cause issues"} 
[2026-07-27 12:04:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:04:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785133893000,"timestamp_ms":1785133893000,"timestamp_seconds":1785133893,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2458588"} 
[2026-07-27 12:04:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:04:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-27 12:04:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:04:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:04:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:04:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:04:11] local.INFO: Teltonika packet parsed successfully {"connection_id":143950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:04:11] local.INFO: Passing IMEI to GPS processor {"connection_id":143950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:04:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":143950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:04:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:04:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:04:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:04:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994271232001,"66":12461,"121":206,"28":31744,"24":0,"16":8838707687718912,"45":1787084657756735488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:04:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:04:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:04:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994271232001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:04:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:04:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:04:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8838707687718912,"km_value":8838707687718.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:04:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657756735488,"description":"Unknown IO ID 45"} 
[2026-07-27 12:04:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994271232001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1787084657756735488}} 
[2026-07-27 12:04:11] local.INFO: DEBUG: GPS processor result {"connection_id":143950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552966,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:04:11] local.INFO: GPS data processed {"connection_id":143950,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:04:11] local.INFO: Acknowledgment sent {"connection_id":143950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:04:16] local.INFO: TCP Data received {"connection_id":143950,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa245d790012d18cd00072124080045015925..."} 
[2026-07-27 12:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa245d790012d18cd00072124080045015925..."} 
[2026-07-27 12:04:16] local.INFO: Processing buffer {"connection_id":143950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa245d790012d18cd00072124080045015925..."} 
[2026-07-27 12:04:16] local.INFO: Packet analysis {"connection_id":143950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa245"} 
[2026-07-27 12:04:16] local.INFO: Extracted packet for processing {"connection_id":143950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa245"} 
[2026-07-27 12:04:16] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119612424,"longitude_deg":75.6600064,"latitude_deg":11.9612424,"altitude":69,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d18cd00","hex_latitude":"07212408","is_valid_coordinates":true} 
[2026-07-27 12:04:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:04:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994276608001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:04:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8838707687718912,"note":"Value kept but may cause issues"} 
[2026-07-27 12:04:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657756735488,"note":"Value kept but may cause issues"} 
[2026-07-27 12:04:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:04:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785133914000,"timestamp_ms":1785133914000,"timestamp_seconds":1785133914,"priority":1,"record_length":96,"hex_timestamp":"0000019fa245d790"} 
[2026-07-27 12:04:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:04: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-07-27 12:04:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-27 12:04: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-07-27 12:04:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:04:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:04:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:04:16] local.INFO: Teltonika packet parsed successfully {"connection_id":143950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:04:16] local.INFO: Passing IMEI to GPS processor {"connection_id":143950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:04:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":143950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:04:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:04:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:04:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:04:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994276608001,"66":12504,"121":206,"28":31744,"24":0,"16":8838707687718912,"45":1787084657756735488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:04:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:04:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:04:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994276608001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:04:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:04:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:04:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8838707687718912,"km_value":8838707687718.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:04:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657756735488,"description":"Unknown IO ID 45"} 
[2026-07-27 12:04:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994276608001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1787084657756735488}} 
[2026-07-27 12:04:16] local.INFO: DEBUG: GPS processor result {"connection_id":143950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552967,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:04:16] local.INFO: GPS data processed {"connection_id":143950,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:04:16] local.INFO: Acknowledgment sent {"connection_id":143950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:04:32] local.INFO: TCP Data received {"connection_id":142950,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:04:32] local.INFO: Processing buffer {"connection_id":142950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:04:32] local.INFO: IMEI packet received {"connection_id":142950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 12:04:32] local.INFO: IMEI acknowledgment sent {"connection_id":142950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:04:37] local.INFO: TCP Data received {"connection_id":142950,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:04:37] local.INFO: Processing buffer {"connection_id":142950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:04:37] local.INFO: IMEI packet received {"connection_id":142950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 12:04:37] local.INFO: IMEI acknowledgment sent {"connection_id":142950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:04:38] local.INFO: TCP Data received {"connection_id":142950,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2477d70012d7faac005afe4b00000015222..."} 
[2026-07-27 12:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2477d70012d7faac005afe4b00000015222..."} 
[2026-07-27 12:04:38] local.INFO: Processing buffer {"connection_id":142950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2477d70012d7faac005afe4b00000015222..."} 
[2026-07-27 12:04:38] local.INFO: Packet analysis {"connection_id":142950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa247"} 
[2026-07-27 12:04:38] local.INFO: Extracted packet for processing {"connection_id":142950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa247"} 
[2026-07-27 12:04:38] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":0,"angle":338,"satellites":34,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 12:04:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:04:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994232576001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:04:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 12:04:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 12:04:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:04:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785134022000,"timestamp_ms":1785134022000,"timestamp_seconds":1785134022,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2477d70"} 
[2026-07-27 12:04:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:04:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 12:04:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-27 12:04:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:04:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:04:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:04:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:04:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:04:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:04:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:04:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:04:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:04:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:04:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994232576001,"66":25538,"27":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 12:04:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:04:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:04:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994232576001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:04:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 12:04:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:04:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:04:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 12:04:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994232576001,"power":25538,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 12:04:38] local.INFO: DEBUG: GPS processor result {"connection_id":142950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:04:38] local.INFO: GPS data processed {"connection_id":142950,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:04:38] local.INFO: Acknowledgment sent {"connection_id":142950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:04:59] local.INFO: TCP Data received {"connection_id":142951,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142951,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:04:59] local.INFO: Processing buffer {"connection_id":142951,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:04:59] local.INFO: IMEI packet received {"connection_id":142951,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 12:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":142951,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:05:00] local.INFO: TCP Data received {"connection_id":142951,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142951,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:05:00] local.INFO: Processing buffer {"connection_id":142951,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:05:00] local.INFO: IMEI packet received {"connection_id":142951,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 12:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":142951,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:05:05] local.INFO: TCP Data received {"connection_id":142951,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142951,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:05:05] local.INFO: Processing buffer {"connection_id":142951,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:05:05] local.INFO: IMEI packet received {"connection_id":142951,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 12:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":142951,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:05:07] local.INFO: TCP Data received {"connection_id":142951,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2462998012d18cd00072124080045015928..."} 
[2026-07-27 12:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2462998012d18cd00072124080045015928..."} 
[2026-07-27 12:05:07] local.INFO: Processing buffer {"connection_id":142951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2462998012d18cd00072124080045015928..."} 
[2026-07-27 12:05:07] local.INFO: Packet analysis {"connection_id":142951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa246"} 
[2026-07-27 12:05:07] local.INFO: Extracted packet for processing {"connection_id":142951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa246"} 
[2026-07-27 12:05:07] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119612424,"longitude_deg":75.6600064,"latitude_deg":11.9612424,"altitude":69,"angle":345,"satellites":40,"speed":0,"hex_longitude":"2d18cd00","hex_latitude":"07212408","is_valid_coordinates":true} 
[2026-07-27 12:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:05:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994281984001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:05:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8838707687718912,"note":"Value kept but may cause issues"} 
[2026-07-27 12:05:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657756735488,"note":"Value kept but may cause issues"} 
[2026-07-27 12:05:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:05:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785133935000,"timestamp_ms":1785133935000,"timestamp_seconds":1785133935,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2462998"} 
[2026-07-27 12:05:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:05:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-27 12:05:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:05:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:05:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:05:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:05:07] local.INFO: Teltonika packet parsed successfully {"connection_id":142951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:05:07] local.INFO: Passing IMEI to GPS processor {"connection_id":142951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:05:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":142951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:05:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:05:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:05:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:05:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994281984001,"66":12428,"121":206,"28":31744,"24":0,"16":8838707687718912,"45":1787084657756735488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:05:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:05:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:05:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994281984001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:05:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:05:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:05:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8838707687718912,"km_value":8838707687718.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:05:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657756735488,"description":"Unknown IO ID 45"} 
[2026-07-27 12:05:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994281984001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1787084657756735488}} 
[2026-07-27 12:05:07] local.INFO: DEBUG: GPS processor result {"connection_id":142951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552969,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:05:07] local.INFO: GPS data processed {"connection_id":142951,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:05:07] local.INFO: Acknowledgment sent {"connection_id":142951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:05:15] local.INFO: TCP Data received {"connection_id":142950,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2477d70012d7faac005afe4b00000015222..."} 
[2026-07-27 12:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2477d70012d7faac005afe4b00000015222..."} 
[2026-07-27 12:05:15] local.INFO: Processing buffer {"connection_id":142950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2477d70012d7faac005afe4b00000015222..."} 
[2026-07-27 12:05:15] local.INFO: Packet analysis {"connection_id":142950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa247"} 
[2026-07-27 12:05:15] local.INFO: Extracted packet for processing {"connection_id":142950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa247"} 
[2026-07-27 12:05:15] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":0,"angle":338,"satellites":34,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 12:05:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:05:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994232576001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:05:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 12:05:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 12:05:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:05:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785134022000,"timestamp_ms":1785134022000,"timestamp_seconds":1785134022,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2477d70"} 
[2026-07-27 12:05:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:05:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 12: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-27 12:05:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:05:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:05:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:05:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:05:15] local.INFO: Teltonika packet parsed successfully {"connection_id":142950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:05:15] local.INFO: Passing IMEI to GPS processor {"connection_id":142950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:05:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":142950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:05: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-07-27 12:05:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:05:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:05:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994232576001,"66":25538,"27":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 12:05:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:05:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:05:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994232576001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:05:15] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 12:05:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:05:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:05:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 12:05:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994232576001,"power":25538,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 12:05:15] local.INFO: DEBUG: GPS processor result {"connection_id":142950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:05:15] local.INFO: GPS data processed {"connection_id":142950,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:05:15] local.INFO: Acknowledgment sent {"connection_id":142950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:05:34] local.INFO: TCP Data received {"connection_id":142952,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:05:34] local.INFO: Processing buffer {"connection_id":142952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:05:34] local.INFO: IMEI packet received {"connection_id":142952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 12:05:34] local.INFO: IMEI acknowledgment sent {"connection_id":142952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:05:37] local.INFO: TCP Data received {"connection_id":142952,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:05:37] local.INFO: Processing buffer {"connection_id":142952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:05:37] local.INFO: IMEI packet received {"connection_id":142952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 12:05:37] local.INFO: IMEI acknowledgment sent {"connection_id":142952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:05:38] local.INFO: TCP Data received {"connection_id":142952,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2477d70012d7faac005afe4b00000015222..."} 
[2026-07-27 12:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2477d70012d7faac005afe4b00000015222..."} 
[2026-07-27 12:05:38] local.INFO: Processing buffer {"connection_id":142952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2477d70012d7faac005afe4b00000015222..."} 
[2026-07-27 12:05:38] local.INFO: Packet analysis {"connection_id":142952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa247"} 
[2026-07-27 12:05:38] local.INFO: Extracted packet for processing {"connection_id":142952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa247"} 
[2026-07-27 12:05:38] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":0,"angle":338,"satellites":34,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 12:05:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:05:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994232576001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:05:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 12:05:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 12:05:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:05:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785134022000,"timestamp_ms":1785134022000,"timestamp_seconds":1785134022,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2477d70"} 
[2026-07-27 12:05:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:05:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 12:05:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-27 12:05:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:05:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:05:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:05:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:05:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:05:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:05:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:05:38] 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-07-27 12:05:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:05:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:05:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994232576001,"66":25538,"27":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 12:05:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:05:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:05:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994232576001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:05:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 12:05:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:05:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:05:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 12:05:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994232576001,"power":25538,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 12:05:38] local.INFO: DEBUG: GPS processor result {"connection_id":142952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:05:38] local.INFO: GPS data processed {"connection_id":142952,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:05:38] local.INFO: Acknowledgment sent {"connection_id":142952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:05:38] local.INFO: TCP Data received {"connection_id":142951,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2467ba0012d18cd00072124080045015929..."} 
[2026-07-27 12:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2467ba0012d18cd00072124080045015929..."} 
[2026-07-27 12:05:38] local.INFO: Processing buffer {"connection_id":142951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2467ba0012d18cd00072124080045015929..."} 
[2026-07-27 12:05:38] local.INFO: Packet analysis {"connection_id":142951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa246"} 
[2026-07-27 12:05:38] local.INFO: Extracted packet for processing {"connection_id":142951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa246"} 
[2026-07-27 12:05:38] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119612424,"longitude_deg":75.6600064,"latitude_deg":11.9612424,"altitude":69,"angle":345,"satellites":41,"speed":0,"hex_longitude":"2d18cd00","hex_latitude":"07212408","is_valid_coordinates":true} 
[2026-07-27 12:05:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:05:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994287360001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:05:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8838707687718912,"note":"Value kept but may cause issues"} 
[2026-07-27 12:05:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657756735488,"note":"Value kept but may cause issues"} 
[2026-07-27 12:05:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:05:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785133956000,"timestamp_ms":1785133956000,"timestamp_seconds":1785133956,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2467ba0"} 
[2026-07-27 12:05:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:05:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12:05:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-27 12:05:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:05:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:05:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:05:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:05:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:05:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:05:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:05:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:05:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:05:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:05:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994287360001,"66":12461,"121":206,"28":31744,"24":0,"16":8838707687718912,"45":1787084657756735488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:05:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:05:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:05:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994287360001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:05:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:05:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:05:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8838707687718912,"km_value":8838707687718.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:05:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657756735488,"description":"Unknown IO ID 45"} 
[2026-07-27 12:05:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994287360001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1787084657756735488}} 
[2026-07-27 12:05:38] local.INFO: DEBUG: GPS processor result {"connection_id":142951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552972,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:05:38] local.INFO: GPS data processed {"connection_id":142951,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:05:38] local.INFO: Acknowledgment sent {"connection_id":142951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:06:01] local.INFO: TCP Data received {"connection_id":143951,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143951,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:06:01] local.INFO: Processing buffer {"connection_id":143951,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:06:01] local.INFO: IMEI packet received {"connection_id":143951,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 12:06:01] local.INFO: IMEI acknowledgment sent {"connection_id":143951,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:06:02] local.INFO: TCP Data received {"connection_id":143951,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143951,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:06:02] local.INFO: Processing buffer {"connection_id":143951,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:06:02] local.INFO: IMEI packet received {"connection_id":143951,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 12:06:02] local.INFO: IMEI acknowledgment sent {"connection_id":143951,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:06:05] local.INFO: TCP Data received {"connection_id":143951,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143951,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:06:05] local.INFO: Processing buffer {"connection_id":143951,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:06:05] local.INFO: IMEI packet received {"connection_id":143951,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 12:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":143951,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:06:07] local.INFO: TCP Data received {"connection_id":143951,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa246cda8012d18cd00072124080045015927..."} 
[2026-07-27 12:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa246cda8012d18cd00072124080045015927..."} 
[2026-07-27 12:06:07] local.INFO: Processing buffer {"connection_id":143951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa246cda8012d18cd00072124080045015927..."} 
[2026-07-27 12:06:07] local.INFO: Packet analysis {"connection_id":143951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa246"} 
[2026-07-27 12:06:07] local.INFO: Extracted packet for processing {"connection_id":143951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa246"} 
[2026-07-27 12:06:07] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119612424,"longitude_deg":75.6600064,"latitude_deg":11.9612424,"altitude":69,"angle":345,"satellites":39,"speed":0,"hex_longitude":"2d18cd00","hex_latitude":"07212408","is_valid_coordinates":true} 
[2026-07-27 12:06:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:06:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994292736001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:06:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8838707687718912,"note":"Value kept but may cause issues"} 
[2026-07-27 12:06:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657756735488,"note":"Value kept but may cause issues"} 
[2026-07-27 12:06:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:06:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785133977000,"timestamp_ms":1785133977000,"timestamp_seconds":1785133977,"priority":1,"record_length":96,"hex_timestamp":"0000019fa246cda8"} 
[2026-07-27 12:06:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:06:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12:06:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-27 12:06:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:06:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:06:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:06:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:06:07] local.INFO: Teltonika packet parsed successfully {"connection_id":143951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:06:07] local.INFO: Passing IMEI to GPS processor {"connection_id":143951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:06:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":143951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:06:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:06:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:06:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:06:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994292736001,"66":12211,"121":206,"28":31744,"24":0,"16":8838707687718912,"45":1787084657756735488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:06:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:06:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:06:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994292736001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:06:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:06:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:06:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8838707687718912,"km_value":8838707687718.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:06:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657756735488,"description":"Unknown IO ID 45"} 
[2026-07-27 12:06:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994292736001,"power":12211,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1787084657756735488}} 
[2026-07-27 12:06:07] local.INFO: DEBUG: GPS processor result {"connection_id":143951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552973,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:06:07] local.INFO: GPS data processed {"connection_id":143951,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:06:07] local.INFO: Acknowledgment sent {"connection_id":143951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:06:10] local.INFO: TCP Data received {"connection_id":142952,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2477d70012d7faac005afe4b00000015222..."} 
[2026-07-27 12:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2477d70012d7faac005afe4b00000015222..."} 
[2026-07-27 12:06:10] local.INFO: Processing buffer {"connection_id":142952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2477d70012d7faac005afe4b00000015222..."} 
[2026-07-27 12:06:10] local.INFO: Packet analysis {"connection_id":142952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa247"} 
[2026-07-27 12:06:10] local.INFO: Extracted packet for processing {"connection_id":142952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa247"} 
[2026-07-27 12:06:10] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":0,"angle":338,"satellites":34,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 12:06:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994232576001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:06:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 12:06:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 12:06:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:06:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785134022000,"timestamp_ms":1785134022000,"timestamp_seconds":1785134022,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2477d70"} 
[2026-07-27 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-07-27 12:06:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":205,"data_length":795,"current_offset":136} 
[2026-07-27 12:06:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 12:06:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:06:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:06:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:06:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:06: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-07-27 12:06:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:06:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:06:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994232576001,"66":25538,"27":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 12:06:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:06:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:06:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994232576001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:06:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 12:06:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:06:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:06:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 12:06:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994232576001,"power":25538,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 12:06:10] local.INFO: DEBUG: GPS processor result {"connection_id":142952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:06:10] local.INFO: GPS data processed {"connection_id":142952,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:06:10] local.INFO: Acknowledgment sent {"connection_id":142952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:06:10] local.INFO: TCP Data received {"connection_id":143951,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2471fb0012d18cd0007212408004501592a..."} 
[2026-07-27 12:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2471fb0012d18cd0007212408004501592a..."} 
[2026-07-27 12:06:10] local.INFO: Processing buffer {"connection_id":143951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2471fb0012d18cd0007212408004501592a..."} 
[2026-07-27 12:06:10] local.INFO: Packet analysis {"connection_id":143951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa247"} 
[2026-07-27 12:06:10] local.INFO: Extracted packet for processing {"connection_id":143951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa247"} 
[2026-07-27 12:06:10] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119612424,"longitude_deg":75.6600064,"latitude_deg":11.9612424,"altitude":69,"angle":345,"satellites":42,"speed":0,"hex_longitude":"2d18cd00","hex_latitude":"07212408","is_valid_coordinates":true} 
[2026-07-27 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-07-27 12:06:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994298112001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:06:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8838707687718912,"note":"Value kept but may cause issues"} 
[2026-07-27 12:06:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657756735488,"note":"Value kept but may cause issues"} 
[2026-07-27 12:06:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:06:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785133998000,"timestamp_ms":1785133998000,"timestamp_seconds":1785133998,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2471fb0"} 
[2026-07-27 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-07-27 12:06:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-27 12:06:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 12:06:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:06:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:06:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:06:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:06:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:06:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:06:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:06:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994298112001,"66":12461,"121":206,"28":31744,"24":0,"16":8838707687718912,"45":1787084657756735488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:06:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:06:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:06:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994298112001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:06:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:06:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:06:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8838707687718912,"km_value":8838707687718.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:06:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657756735488,"description":"Unknown IO ID 45"} 
[2026-07-27 12:06:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994298112001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1787084657756735488}} 
[2026-07-27 12:06:10] local.INFO: DEBUG: GPS processor result {"connection_id":143951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552975,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:06:10] local.INFO: GPS data processed {"connection_id":143951,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:06:10] local.INFO: Acknowledgment sent {"connection_id":143951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:06:32] local.INFO: TCP Data received {"connection_id":142825,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:06:32] local.INFO: Processing buffer {"connection_id":142825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:06:32] local.INFO: IMEI packet received {"connection_id":142825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 12:06:32] local.INFO: IMEI acknowledgment sent {"connection_id":142825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:06:37] local.INFO: TCP Data received {"connection_id":142825,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:06:37] local.INFO: Processing buffer {"connection_id":142825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:06:37] local.INFO: IMEI packet received {"connection_id":142825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 12:06:37] local.INFO: IMEI acknowledgment sent {"connection_id":142825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:06:39] local.INFO: TCP Data received {"connection_id":142825,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2477d70012d7faac005afe4b00000015222..."} 
[2026-07-27 12:06:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142825,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2477d70012d7faac005afe4b00000015222..."} 
[2026-07-27 12:06:39] local.INFO: Processing buffer {"connection_id":142825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2477d70012d7faac005afe4b00000015222..."} 
[2026-07-27 12:06:39] local.INFO: Packet analysis {"connection_id":142825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa247"} 
[2026-07-27 12:06:39] local.INFO: Extracted packet for processing {"connection_id":142825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa247"} 
[2026-07-27 12:06:39] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":0,"angle":338,"satellites":34,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 12:06:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:06:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994232576001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:06:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 12:06:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 12:06:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:06:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785134022000,"timestamp_ms":1785134022000,"timestamp_seconds":1785134022,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2477d70"} 
[2026-07-27 12:06:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:06:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 12: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":205,"data_length":795,"current_offset":136} 
[2026-07-27 12:06:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:06:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:06:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:06:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:06:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:06:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:06:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:06:39] 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-07-27 12:06:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:06:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:06:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994232576001,"66":25538,"27":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 12:06:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:06:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:06:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994232576001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:06:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 12:06:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:06:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:06:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 12:06:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994232576001,"power":25538,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 12:06:39] local.INFO: DEBUG: GPS processor result {"connection_id":142825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:06:39] local.INFO: GPS data processed {"connection_id":142825,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:06:39] local.INFO: Acknowledgment sent {"connection_id":142825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:06:42] local.INFO: TCP Data received {"connection_id":143951,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa24771b8012d18cd00072124080045015928..."} 
[2026-07-27 12:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa24771b8012d18cd00072124080045015928..."} 
[2026-07-27 12:06:42] local.INFO: Processing buffer {"connection_id":143951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa24771b8012d18cd00072124080045015928..."} 
[2026-07-27 12:06:42] local.INFO: Packet analysis {"connection_id":143951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa247"} 
[2026-07-27 12:06:42] local.INFO: Extracted packet for processing {"connection_id":143951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa247"} 
[2026-07-27 12:06:42] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119612424,"longitude_deg":75.6600064,"latitude_deg":11.9612424,"altitude":69,"angle":345,"satellites":40,"speed":0,"hex_longitude":"2d18cd00","hex_latitude":"07212408","is_valid_coordinates":true} 
[2026-07-27 12:06:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:06:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994303488001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:06:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8838707687718912,"note":"Value kept but may cause issues"} 
[2026-07-27 12:06:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657756735488,"note":"Value kept but may cause issues"} 
[2026-07-27 12:06:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:06:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785134019000,"timestamp_ms":1785134019000,"timestamp_seconds":1785134019,"priority":1,"record_length":96,"hex_timestamp":"0000019fa24771b8"} 
[2026-07-27 12:06:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:06:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12:06:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-27 12:06:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:06:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:06:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:06:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:06:42] local.INFO: Teltonika packet parsed successfully {"connection_id":143951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:06:42] local.INFO: Passing IMEI to GPS processor {"connection_id":143951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:06:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":143951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:06:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:06:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:06:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:06:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994303488001,"66":12461,"121":206,"28":31744,"24":0,"16":8838707687718912,"45":1787084657756735488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:06:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:06:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:06:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994303488001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:06:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:06:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:06:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8838707687718912,"km_value":8838707687718.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:06:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657756735488,"description":"Unknown IO ID 45"} 
[2026-07-27 12:06:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994303488001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1787084657756735488}} 
[2026-07-27 12:06:42] local.INFO: DEBUG: GPS processor result {"connection_id":143951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552977,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:06:42] local.INFO: GPS data processed {"connection_id":143951,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:06:42] local.INFO: Acknowledgment sent {"connection_id":143951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:07:00] local.INFO: TCP Data received {"connection_id":143952,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143952,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:07:00] local.INFO: Processing buffer {"connection_id":143952,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:07:00] local.INFO: IMEI packet received {"connection_id":143952,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 12:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":143952,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:07:05] local.INFO: TCP Data received {"connection_id":143952,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143952,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:07:05] local.INFO: Processing buffer {"connection_id":143952,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:07:06] local.INFO: IMEI packet received {"connection_id":143952,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 12:07:06] local.INFO: IMEI acknowledgment sent {"connection_id":143952,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:07:07] local.INFO: TCP Data received {"connection_id":143952,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa247c3c0012d18cd00072124080045015929..."} 
[2026-07-27 12:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa247c3c0012d18cd00072124080045015929..."} 
[2026-07-27 12:07:07] local.INFO: Processing buffer {"connection_id":143952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa247c3c0012d18cd00072124080045015929..."} 
[2026-07-27 12:07:07] local.INFO: Packet analysis {"connection_id":143952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa247"} 
[2026-07-27 12:07:07] local.INFO: Extracted packet for processing {"connection_id":143952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa247"} 
[2026-07-27 12:07:07] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119612424,"longitude_deg":75.6600064,"latitude_deg":11.9612424,"altitude":69,"angle":345,"satellites":41,"speed":0,"hex_longitude":"2d18cd00","hex_latitude":"07212408","is_valid_coordinates":true} 
[2026-07-27 12:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:07:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994308864001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:07:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8838707687718912,"note":"Value kept but may cause issues"} 
[2026-07-27 12:07:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657756735488,"note":"Value kept but may cause issues"} 
[2026-07-27 12:07:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:07:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785134040000,"timestamp_ms":1785134040000,"timestamp_seconds":1785134040,"priority":1,"record_length":96,"hex_timestamp":"0000019fa247c3c0"} 
[2026-07-27 12:07:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:07:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-27 12:07:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:07:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:07:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:07:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:07:07] local.INFO: Teltonika packet parsed successfully {"connection_id":143952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:07:07] local.INFO: Passing IMEI to GPS processor {"connection_id":143952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:07:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":143952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:07:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:07:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:07:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:07:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994308864001,"66":12439,"121":206,"28":31744,"24":0,"16":8838707687718912,"45":1787084657756735488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:07:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:07:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:07:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994308864001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:07:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:07:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:07:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8838707687718912,"km_value":8838707687718.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:07:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657756735488,"description":"Unknown IO ID 45"} 
[2026-07-27 12:07:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994308864001,"power":12439,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1787084657756735488}} 
[2026-07-27 12:07:07] local.INFO: DEBUG: GPS processor result {"connection_id":143952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552978,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:07:07] local.INFO: GPS data processed {"connection_id":143952,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:07:07] local.INFO: Acknowledgment sent {"connection_id":143952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:07:10] local.INFO: TCP Data received {"connection_id":142825,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2477d70012d7faac005afe4b00000015222..."} 
[2026-07-27 12:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142825,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2477d70012d7faac005afe4b00000015222..."} 
[2026-07-27 12:07:10] local.INFO: Processing buffer {"connection_id":142825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2477d70012d7faac005afe4b00000015222..."} 
[2026-07-27 12:07:10] local.INFO: Packet analysis {"connection_id":142825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa247"} 
[2026-07-27 12:07:10] local.INFO: Extracted packet for processing {"connection_id":142825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa247"} 
[2026-07-27 12:07:10] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":0,"angle":338,"satellites":34,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 12:07:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:07:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994232576001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:07:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 12:07:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 12:07:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:07:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785134022000,"timestamp_ms":1785134022000,"timestamp_seconds":1785134022,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2477d70"} 
[2026-07-27 12:07:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:07:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 12: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":205,"data_length":795,"current_offset":136} 
[2026-07-27 12:07:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:07:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:07:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:07:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:07:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:07:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:07:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12: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-07-27 12:07:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:07:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:07:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994232576001,"66":25538,"27":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 12:07:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:07:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:07:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994232576001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:07:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 12:07:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:07:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:07:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 12:07:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994232576001,"power":25538,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 12:07:10] local.INFO: DEBUG: GPS processor result {"connection_id":142825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:07:10] local.INFO: GPS data processed {"connection_id":142825,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:07:10] local.INFO: Acknowledgment sent {"connection_id":142825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:07:37] local.INFO: TCP Data received {"connection_id":145245,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:07:37] local.INFO: Processing buffer {"connection_id":145245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:07:37] local.INFO: IMEI packet received {"connection_id":145245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 12:07:37] local.INFO: IMEI acknowledgment sent {"connection_id":145245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:07:38] local.INFO: TCP Data received {"connection_id":143952,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa24815c8012d18cd00072124080045015929..."} 
[2026-07-27 12:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa24815c8012d18cd00072124080045015929..."} 
[2026-07-27 12:07:38] local.INFO: Processing buffer {"connection_id":143952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa24815c8012d18cd00072124080045015929..."} 
[2026-07-27 12:07:38] local.INFO: Packet analysis {"connection_id":143952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa248"} 
[2026-07-27 12:07:38] local.INFO: Extracted packet for processing {"connection_id":143952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa248"} 
[2026-07-27 12:07:38] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119612424,"longitude_deg":75.6600064,"latitude_deg":11.9612424,"altitude":69,"angle":345,"satellites":41,"speed":0,"hex_longitude":"2d18cd00","hex_latitude":"07212408","is_valid_coordinates":true} 
[2026-07-27 12:07:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:07:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994314240001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:07:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8838707687718912,"note":"Value kept but may cause issues"} 
[2026-07-27 12:07:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657756735488,"note":"Value kept but may cause issues"} 
[2026-07-27 12:07:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:07:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785134061000,"timestamp_ms":1785134061000,"timestamp_seconds":1785134061,"priority":1,"record_length":96,"hex_timestamp":"0000019fa24815c8"} 
[2026-07-27 12:07:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:07:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12:07:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-27 12:07:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:07:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:07:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:07:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:07:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:07:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:07:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:07:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:07:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:07:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:07:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994314240001,"66":12461,"121":206,"28":31744,"24":0,"16":8838707687718912,"45":1787084657756735488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:07:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:07:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:07:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994314240001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:07:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:07:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:07:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8838707687718912,"km_value":8838707687718.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:07:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657756735488,"description":"Unknown IO ID 45"} 
[2026-07-27 12:07:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994314240001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1787084657756735488}} 
[2026-07-27 12:07:39] local.INFO: DEBUG: GPS processor result {"connection_id":143952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552980,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:07:39] local.INFO: GPS data processed {"connection_id":143952,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:07:39] local.INFO: Acknowledgment sent {"connection_id":143952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:07:43] local.INFO: TCP Data received {"connection_id":145245,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:07:43] local.INFO: Processing buffer {"connection_id":145245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:07:43] local.INFO: IMEI packet received {"connection_id":145245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 12:07:43] local.INFO: IMEI acknowledgment sent {"connection_id":145245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:07:45] local.INFO: TCP Data received {"connection_id":145245,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2477d70012d7faac005afe4b00000015222..."} 
[2026-07-27 12:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145245,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2477d70012d7faac005afe4b00000015222..."} 
[2026-07-27 12:07:45] local.INFO: Processing buffer {"connection_id":145245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2477d70012d7faac005afe4b00000015222..."} 
[2026-07-27 12:07:45] local.INFO: Packet analysis {"connection_id":145245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa247"} 
[2026-07-27 12:07:45] local.INFO: Extracted packet for processing {"connection_id":145245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa247"} 
[2026-07-27 12:07:45] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":0,"angle":338,"satellites":34,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 12:07:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:07:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994232576001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:07:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 12:07:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 12:07:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:07:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785134022000,"timestamp_ms":1785134022000,"timestamp_seconds":1785134022,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2477d70"} 
[2026-07-27 12:07:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:07:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 12:07:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-27 12:07:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:07:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:07:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:07:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:07:45] local.INFO: Teltonika packet parsed successfully {"connection_id":145245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:07:45] local.INFO: Passing IMEI to GPS processor {"connection_id":145245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:07:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":145245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:07:45] 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-07-27 12:07:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:07:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:07:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994232576001,"66":25538,"27":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 12:07:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:07:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:07:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994232576001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:07:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 12:07:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:07:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:07:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 12:07:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994232576001,"power":25538,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 12:07:45] local.INFO: DEBUG: GPS processor result {"connection_id":145245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:07:45] local.INFO: GPS data processed {"connection_id":145245,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:07:45] local.INFO: Acknowledgment sent {"connection_id":145245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:07:47] local.INFO: TCP Data received {"connection_id":145245,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2477d70012d7faac005afe4b00000015222..."} 
[2026-07-27 12:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145245,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2477d70012d7faac005afe4b00000015222..."} 
[2026-07-27 12:07:47] local.INFO: Processing buffer {"connection_id":145245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2477d70012d7faac005afe4b00000015222..."} 
[2026-07-27 12:07:47] local.INFO: Packet analysis {"connection_id":145245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa247"} 
[2026-07-27 12:07:47] local.INFO: Extracted packet for processing {"connection_id":145245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa247"} 
[2026-07-27 12:07:47] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":0,"angle":338,"satellites":34,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 12:07:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:07:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994232576001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:07:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 12:07:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 12:07:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:07:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785134022000,"timestamp_ms":1785134022000,"timestamp_seconds":1785134022,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2477d70"} 
[2026-07-27 12:07:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:07:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 12:07:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-27 12:07:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:07:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:07:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:07:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:07:47] local.INFO: Teltonika packet parsed successfully {"connection_id":145245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:07:47] local.INFO: Passing IMEI to GPS processor {"connection_id":145245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:07:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":145245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:07: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-07-27 12:07:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:07:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:07:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994232576001,"66":25538,"27":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 12:07:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:07:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:07:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994232576001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:07:47] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 12:07:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:07:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:07:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 12:07:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994232576001,"power":25538,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 12:07:47] local.INFO: DEBUG: GPS processor result {"connection_id":145245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:07:47] local.INFO: GPS data processed {"connection_id":145245,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:07:47] local.INFO: Acknowledgment sent {"connection_id":145245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:08:00] local.INFO: TCP Data received {"connection_id":142953,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142953,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:08:00] local.INFO: Processing buffer {"connection_id":142953,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:08:00] local.INFO: IMEI packet received {"connection_id":142953,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 12:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":142953,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:08:05] local.INFO: TCP Data received {"connection_id":142953,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142953,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:08:05] local.INFO: Processing buffer {"connection_id":142953,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:08:05] local.INFO: IMEI packet received {"connection_id":142953,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 12:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":142953,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:08:06] local.INFO: TCP Data received {"connection_id":142953,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa24867d0012d18cd00072124080045015929..."} 
[2026-07-27 12:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa24867d0012d18cd00072124080045015929..."} 
[2026-07-27 12:08:06] local.INFO: Processing buffer {"connection_id":142953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa24867d0012d18cd00072124080045015929..."} 
[2026-07-27 12:08:06] local.INFO: Packet analysis {"connection_id":142953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa248"} 
[2026-07-27 12:08:06] local.INFO: Extracted packet for processing {"connection_id":142953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa248"} 
[2026-07-27 12:08:06] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119612424,"longitude_deg":75.6600064,"latitude_deg":11.9612424,"altitude":69,"angle":345,"satellites":41,"speed":0,"hex_longitude":"2d18cd00","hex_latitude":"07212408","is_valid_coordinates":true} 
[2026-07-27 12:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:08:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994319616001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:08:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8838707687718912,"note":"Value kept but may cause issues"} 
[2026-07-27 12:08:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657756735488,"note":"Value kept but may cause issues"} 
[2026-07-27 12:08:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:08:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785134082000,"timestamp_ms":1785134082000,"timestamp_seconds":1785134082,"priority":1,"record_length":96,"hex_timestamp":"0000019fa24867d0"} 
[2026-07-27 12:08:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:08:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-27 12:08:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:08:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:08:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:08:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:08:06] local.INFO: Teltonika packet parsed successfully {"connection_id":142953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:08:06] local.INFO: Passing IMEI to GPS processor {"connection_id":142953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:08:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":142953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:08:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:08:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:08:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:08:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994319616001,"66":12461,"121":206,"28":31744,"24":0,"16":8838707687718912,"45":1787084657756735488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:08:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:08:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:08:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994319616001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:08:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:08:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:08:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8838707687718912,"km_value":8838707687718.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:08:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657756735488,"description":"Unknown IO ID 45"} 
[2026-07-27 12:08:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994319616001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1787084657756735488}} 
[2026-07-27 12:08:06] local.INFO: DEBUG: GPS processor result {"connection_id":142953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552983,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:08:06] local.INFO: GPS data processed {"connection_id":142953,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:08:06] local.INFO: Acknowledgment sent {"connection_id":142953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:08:35] local.INFO: TCP Data received {"connection_id":142826,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:08:35] local.INFO: Processing buffer {"connection_id":142826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:08:35] local.INFO: IMEI packet received {"connection_id":142826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 12:08:35] local.INFO: IMEI acknowledgment sent {"connection_id":142826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:08:38] local.INFO: TCP Data received {"connection_id":142826,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:08:38] local.INFO: Processing buffer {"connection_id":142826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:08:38] local.INFO: IMEI packet received {"connection_id":142826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 12:08:38] local.INFO: IMEI acknowledgment sent {"connection_id":142826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:08:38] local.INFO: TCP Data received {"connection_id":142953,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa248b9d8012d18cd0007212408004501592b..."} 
[2026-07-27 12:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa248b9d8012d18cd0007212408004501592b..."} 
[2026-07-27 12:08:38] local.INFO: Processing buffer {"connection_id":142953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa248b9d8012d18cd0007212408004501592b..."} 
[2026-07-27 12:08:38] local.INFO: Packet analysis {"connection_id":142953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa248"} 
[2026-07-27 12:08:38] local.INFO: Extracted packet for processing {"connection_id":142953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa248"} 
[2026-07-27 12:08:38] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119612424,"longitude_deg":75.6600064,"latitude_deg":11.9612424,"altitude":69,"angle":345,"satellites":43,"speed":0,"hex_longitude":"2d18cd00","hex_latitude":"07212408","is_valid_coordinates":true} 
[2026-07-27 12:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:08:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994324992001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:08:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8838707687718912,"note":"Value kept but may cause issues"} 
[2026-07-27 12:08:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657756735488,"note":"Value kept but may cause issues"} 
[2026-07-27 12:08:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:08:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785134103000,"timestamp_ms":1785134103000,"timestamp_seconds":1785134103,"priority":1,"record_length":96,"hex_timestamp":"0000019fa248b9d8"} 
[2026-07-27 12:08:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:08:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-27 12:08: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-07-27 12:08:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:08:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:08:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:08:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:08:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:08:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:08:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:08:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:08:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:08:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994324992001,"66":12461,"121":206,"28":31744,"24":0,"16":8838707687718912,"45":1787084657756735488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:08:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:08:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:08:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994324992001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:08:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:08:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:08:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8838707687718912,"km_value":8838707687718.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:08:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657756735488,"description":"Unknown IO ID 45"} 
[2026-07-27 12:08:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994324992001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1787084657756735488}} 
[2026-07-27 12:08:38] local.INFO: DEBUG: GPS processor result {"connection_id":142953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552984,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:08:38] local.INFO: GPS data processed {"connection_id":142953,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:08:38] local.INFO: Acknowledgment sent {"connection_id":142953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:08:38] local.INFO: TCP Data received {"connection_id":142826,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2477d70012d7faac005afe4b00000015222..."} 
[2026-07-27 12:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2477d70012d7faac005afe4b00000015222..."} 
[2026-07-27 12:08:38] local.INFO: Processing buffer {"connection_id":142826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2477d70012d7faac005afe4b00000015222..."} 
[2026-07-27 12:08:38] local.INFO: Packet analysis {"connection_id":142826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa247"} 
[2026-07-27 12:08:38] local.INFO: Extracted packet for processing {"connection_id":142826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa247"} 
[2026-07-27 12:08:38] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":0,"angle":338,"satellites":34,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 12:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:08:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994232576001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:08:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 12:08:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 12:08:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:08:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785134022000,"timestamp_ms":1785134022000,"timestamp_seconds":1785134022,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2477d70"} 
[2026-07-27 12:08:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:08:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 12:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-27 12:08:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:08:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:08:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:08:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:08:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:08:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:08:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:08:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:08:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:08:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:08:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994232576001,"66":25538,"27":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 12:08:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:08:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:08:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994232576001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:08:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 12:08:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:08:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:08:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 12:08:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994232576001,"power":25538,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 12:08:38] local.INFO: DEBUG: GPS processor result {"connection_id":142826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:08:38] local.INFO: GPS data processed {"connection_id":142826,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:08:38] local.INFO: Acknowledgment sent {"connection_id":142826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:08:42] local.INFO: TCP Data received {"connection_id":142826,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2477d70012d7faac005afe4b00000015222..."} 
[2026-07-27 12:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2477d70012d7faac005afe4b00000015222..."} 
[2026-07-27 12:08:42] local.INFO: Processing buffer {"connection_id":142826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2477d70012d7faac005afe4b00000015222..."} 
[2026-07-27 12:08:42] local.INFO: Packet analysis {"connection_id":142826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa247"} 
[2026-07-27 12:08:42] local.INFO: Extracted packet for processing {"connection_id":142826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa247"} 
[2026-07-27 12:08:42] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":0,"angle":338,"satellites":34,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 12:08:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:08:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994232576001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:08:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 12:08:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 12:08:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:08:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785134022000,"timestamp_ms":1785134022000,"timestamp_seconds":1785134022,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2477d70"} 
[2026-07-27 12:08:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:08:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 12:08:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-27 12:08:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:08:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:08:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:08:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:08:42] local.INFO: Teltonika packet parsed successfully {"connection_id":142826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:08:42] local.INFO: Passing IMEI to GPS processor {"connection_id":142826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:08:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":142826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12: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-07-27 12:08:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:08:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:08:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994232576001,"66":25538,"27":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 12:08:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:08:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:08:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994232576001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:08:42] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 12:08:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:08:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:08:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 12:08:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994232576001,"power":25538,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 12:08:43] local.INFO: DEBUG: GPS processor result {"connection_id":142826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:08:43] local.INFO: GPS data processed {"connection_id":142826,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:08:43] local.INFO: Acknowledgment sent {"connection_id":142826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:09:05] local.INFO: TCP Data received {"connection_id":142827,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142827,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:09:05] local.INFO: Processing buffer {"connection_id":142827,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:09:05] local.INFO: IMEI packet received {"connection_id":142827,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 12:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":142827,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:09:10] local.INFO: TCP Data received {"connection_id":142827,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142827,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:09:10] local.INFO: Processing buffer {"connection_id":142827,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:09:10] local.INFO: IMEI packet received {"connection_id":142827,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 12:09:10] local.INFO: IMEI acknowledgment sent {"connection_id":142827,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:09:14] local.INFO: TCP Data received {"connection_id":142826,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2477d70012d7faac005afe4b00000015222..."} 
[2026-07-27 12:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2477d70012d7faac005afe4b00000015222..."} 
[2026-07-27 12:09:14] local.INFO: Processing buffer {"connection_id":142826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2477d70012d7faac005afe4b00000015222..."} 
[2026-07-27 12:09:14] local.INFO: Packet analysis {"connection_id":142826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa247"} 
[2026-07-27 12:09:14] local.INFO: Extracted packet for processing {"connection_id":142826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa247"} 
[2026-07-27 12:09:14] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":0,"angle":338,"satellites":34,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 12:09:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:09:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994232576001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:09:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 12:09:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 12:09:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:09:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785134022000,"timestamp_ms":1785134022000,"timestamp_seconds":1785134022,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2477d70"} 
[2026-07-27 12:09:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:09:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":205,"data_length":795,"current_offset":136} 
[2026-07-27 12:09:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:09:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:09:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:09:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:09:14] local.INFO: Teltonika packet parsed successfully {"connection_id":142826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:09:14] local.INFO: Passing IMEI to GPS processor {"connection_id":142826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:09:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":142826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:09: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-07-27 12:09:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:09:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:09:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994232576001,"66":25538,"27":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 12:09:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:09:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:09:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994232576001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:09:14] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 12:09:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:09:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:09:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 12:09:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994232576001,"power":25538,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 12:09:14] local.INFO: DEBUG: GPS processor result {"connection_id":142826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:09:14] local.INFO: GPS data processed {"connection_id":142826,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:09:14] local.INFO: Acknowledgment sent {"connection_id":142826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:09:14] local.INFO: TCP Data received {"connection_id":142827,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2490be0012d18cd0007212408004501592b..."} 
[2026-07-27 12:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142827,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2490be0012d18cd0007212408004501592b..."} 
[2026-07-27 12:09:14] local.INFO: Processing buffer {"connection_id":142827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2490be0012d18cd0007212408004501592b..."} 
[2026-07-27 12:09:14] local.INFO: Packet analysis {"connection_id":142827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa249"} 
[2026-07-27 12:09:14] local.INFO: Extracted packet for processing {"connection_id":142827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa249"} 
[2026-07-27 12:09:14] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119612424,"longitude_deg":75.6600064,"latitude_deg":11.9612424,"altitude":69,"angle":345,"satellites":43,"speed":0,"hex_longitude":"2d18cd00","hex_latitude":"07212408","is_valid_coordinates":true} 
[2026-07-27 12:09:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:09:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994330368001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:09:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8838707687718912,"note":"Value kept but may cause issues"} 
[2026-07-27 12:09:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657756735488,"note":"Value kept but may cause issues"} 
[2026-07-27 12:09:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:09:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785134124000,"timestamp_ms":1785134124000,"timestamp_seconds":1785134124,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2490be0"} 
[2026-07-27 12:09:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:09:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-27 12:09: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-07-27 12:09:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:09:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:09:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:09:14] local.INFO: Teltonika packet parsed successfully {"connection_id":142827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:09:14] local.INFO: Passing IMEI to GPS processor {"connection_id":142827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:09:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":142827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:09:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:09:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:09:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:09:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994330368001,"66":12439,"121":206,"28":31744,"24":0,"16":8838707687718912,"45":1787084657756735488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:09:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:09:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:09:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994330368001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:09:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:09:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:09:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8838707687718912,"km_value":8838707687718.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:09:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657756735488,"description":"Unknown IO ID 45"} 
[2026-07-27 12:09:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994330368001,"power":12439,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1787084657756735488}} 
[2026-07-27 12:09:14] local.INFO: DEBUG: GPS processor result {"connection_id":142827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552988,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:09:14] local.INFO: GPS data processed {"connection_id":142827,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:09:14] local.INFO: Acknowledgment sent {"connection_id":142827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:09:15] local.INFO: TCP Data received {"connection_id":142827,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2495de8012d18cd0007212408004501592b..."} 
[2026-07-27 12:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142827,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2495de8012d18cd0007212408004501592b..."} 
[2026-07-27 12:09:15] local.INFO: Processing buffer {"connection_id":142827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2495de8012d18cd0007212408004501592b..."} 
[2026-07-27 12:09:15] local.INFO: Packet analysis {"connection_id":142827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa249"} 
[2026-07-27 12:09:15] local.INFO: Extracted packet for processing {"connection_id":142827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa249"} 
[2026-07-27 12:09:15] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119612424,"longitude_deg":75.6600064,"latitude_deg":11.9612424,"altitude":69,"angle":345,"satellites":43,"speed":0,"hex_longitude":"2d18cd00","hex_latitude":"07212408","is_valid_coordinates":true} 
[2026-07-27 12: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-07-27 12:09:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994335744001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:09:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8838707687718912,"note":"Value kept but may cause issues"} 
[2026-07-27 12:09:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657756735488,"note":"Value kept but may cause issues"} 
[2026-07-27 12:09: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-07-27 12:09:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785134145000,"timestamp_ms":1785134145000,"timestamp_seconds":1785134145,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2495de8"} 
[2026-07-27 12:09:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:09:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12:09:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-27 12:09:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12: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-07-27 12:09:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:09:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:09:15] local.INFO: Teltonika packet parsed successfully {"connection_id":142827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:09:15] local.INFO: Passing IMEI to GPS processor {"connection_id":142827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:09:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":142827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:09:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:09:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:09:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:09:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994335744001,"66":12461,"121":206,"28":31744,"24":0,"16":8838707687718912,"45":1787084657756735488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:09:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:09:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:09:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994335744001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:09:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:09:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:09:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8838707687718912,"km_value":8838707687718.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:09:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657756735488,"description":"Unknown IO ID 45"} 
[2026-07-27 12:09:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994335744001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1787084657756735488}} 
[2026-07-27 12:09:15] local.INFO: DEBUG: GPS processor result {"connection_id":142827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552989,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:09:15] local.INFO: GPS data processed {"connection_id":142827,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:09:15] local.INFO: Acknowledgment sent {"connection_id":142827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:09:32] local.INFO: TCP Data received {"connection_id":142828,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:09:32] local.INFO: Processing buffer {"connection_id":142828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:09:32] local.INFO: IMEI packet received {"connection_id":142828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 12:09:32] local.INFO: IMEI acknowledgment sent {"connection_id":142828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:09:41] local.INFO: TCP Data received {"connection_id":142828,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:09:41] local.INFO: Processing buffer {"connection_id":142828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:09:41] local.INFO: IMEI packet received {"connection_id":142828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 12:09:41] local.INFO: IMEI acknowledgment sent {"connection_id":142828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:09:42] local.INFO: TCP Data received {"connection_id":142828,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa24c1538012d7faac005afe4b00000015223..."} 
[2026-07-27 12:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142828,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa24c1538012d7faac005afe4b00000015223..."} 
[2026-07-27 12:09:42] local.INFO: Processing buffer {"connection_id":142828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa24c1538012d7faac005afe4b00000015223..."} 
[2026-07-27 12:09:42] local.INFO: Packet analysis {"connection_id":142828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa24c"} 
[2026-07-27 12:09:42] local.INFO: Extracted packet for processing {"connection_id":142828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa24c"} 
[2026-07-27 12:09:42] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":0,"angle":338,"satellites":35,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 12: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-07-27 12:09:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994309632001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:09:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 12:09:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 12:09:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:09:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785134323000,"timestamp_ms":1785134323000,"timestamp_seconds":1785134323,"priority":1,"record_length":96,"hex_timestamp":"0000019fa24c1538"} 
[2026-07-27 12:09:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:09:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 12: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":194,"data_length":795,"current_offset":136} 
[2026-07-27 12:09:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12: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-07-27 12:09:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:09:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:09:42] local.INFO: Teltonika packet parsed successfully {"connection_id":142828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:09:42] local.INFO: Passing IMEI to GPS processor {"connection_id":142828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:09:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":142828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12: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-07-27 12:09:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:09:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:09:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994309632001,"66":25517,"27":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 12:09:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:09:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:09:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994309632001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:09:42] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 12:09:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:09:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:09:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 12:09:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994309632001,"power":25517,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 12:09:42] local.INFO: DEBUG: GPS processor result {"connection_id":142828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:09:42] local.INFO: GPS data processed {"connection_id":142828,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:09:42] local.INFO: Acknowledgment sent {"connection_id":142828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:10:00] local.INFO: TCP Data received {"connection_id":143953,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143953,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:10:00] local.INFO: Processing buffer {"connection_id":143953,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:10:00] local.INFO: IMEI packet received {"connection_id":143953,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 12:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":143953,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:10:05] local.INFO: TCP Data received {"connection_id":143953,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143953,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:10:05] local.INFO: Processing buffer {"connection_id":143953,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:10:05] local.INFO: IMEI packet received {"connection_id":143953,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 12:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":143953,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:10:07] local.INFO: TCP Data received {"connection_id":143953,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa249aff0012d18cd0007212408004501592a..."} 
[2026-07-27 12:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa249aff0012d18cd0007212408004501592a..."} 
[2026-07-27 12:10:07] local.INFO: Processing buffer {"connection_id":143953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa249aff0012d18cd0007212408004501592a..."} 
[2026-07-27 12:10:07] local.INFO: Packet analysis {"connection_id":143953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa249"} 
[2026-07-27 12:10:07] local.INFO: Extracted packet for processing {"connection_id":143953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa249"} 
[2026-07-27 12:10:07] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119612424,"longitude_deg":75.6600064,"latitude_deg":11.9612424,"altitude":69,"angle":345,"satellites":42,"speed":0,"hex_longitude":"2d18cd00","hex_latitude":"07212408","is_valid_coordinates":true} 
[2026-07-27 12:10:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:10:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994341120001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:10:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8838707687718912,"note":"Value kept but may cause issues"} 
[2026-07-27 12:10:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657756735488,"note":"Value kept but may cause issues"} 
[2026-07-27 12:10:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:10:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785134166000,"timestamp_ms":1785134166000,"timestamp_seconds":1785134166,"priority":1,"record_length":96,"hex_timestamp":"0000019fa249aff0"} 
[2026-07-27 12:10:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:10:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12:10:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-27 12:10:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:10:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:10:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:10:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:10:07] local.INFO: Teltonika packet parsed successfully {"connection_id":143953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:10:07] local.INFO: Passing IMEI to GPS processor {"connection_id":143953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:10:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":143953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:10:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:10:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:10:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:10:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994341120001,"66":12428,"121":206,"28":31744,"24":0,"16":8838707687718912,"45":1787084657756735488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:10:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:10:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:10:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994341120001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:10:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:10:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:10:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8838707687718912,"km_value":8838707687718.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:10:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657756735488,"description":"Unknown IO ID 45"} 
[2026-07-27 12:10:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994341120001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1787084657756735488}} 
[2026-07-27 12:10:07] local.INFO: DEBUG: GPS processor result {"connection_id":143953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552991,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:10:07] local.INFO: GPS data processed {"connection_id":143953,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:10:07] local.INFO: Acknowledgment sent {"connection_id":143953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:10:11] local.INFO: TCP Data received {"connection_id":143953,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa24a01f8012d18cd00072124080045015928..."} 
[2026-07-27 12:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa24a01f8012d18cd00072124080045015928..."} 
[2026-07-27 12:10:11] local.INFO: Processing buffer {"connection_id":143953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa24a01f8012d18cd00072124080045015928..."} 
[2026-07-27 12:10:11] local.INFO: Packet analysis {"connection_id":143953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa24a"} 
[2026-07-27 12:10:11] local.INFO: Extracted packet for processing {"connection_id":143953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa24a"} 
[2026-07-27 12:10:11] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119612424,"longitude_deg":75.6600064,"latitude_deg":11.9612424,"altitude":69,"angle":345,"satellites":40,"speed":0,"hex_longitude":"2d18cd00","hex_latitude":"07212408","is_valid_coordinates":true} 
[2026-07-27 12:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:10:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994346496001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:10:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8838707687718912,"note":"Value kept but may cause issues"} 
[2026-07-27 12:10:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657756735488,"note":"Value kept but may cause issues"} 
[2026-07-27 12:10:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:10:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785134187000,"timestamp_ms":1785134187000,"timestamp_seconds":1785134187,"priority":1,"record_length":96,"hex_timestamp":"0000019fa24a01f8"} 
[2026-07-27 12:10:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:10:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-27 12:10:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:10:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:10:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:10:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:10:11] local.INFO: Teltonika packet parsed successfully {"connection_id":143953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:10:11] local.INFO: Passing IMEI to GPS processor {"connection_id":143953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:10:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":143953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:10:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:10:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:10:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:10:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994346496001,"66":12461,"121":206,"28":31744,"24":0,"16":8838707687718912,"45":1787084657756735488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:10:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:10:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:10:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994346496001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:10:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:10:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:10:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8838707687718912,"km_value":8838707687718.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:10:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657756735488,"description":"Unknown IO ID 45"} 
[2026-07-27 12:10:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994346496001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1787084657756735488}} 
[2026-07-27 12:10:11] local.INFO: DEBUG: GPS processor result {"connection_id":143953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552992,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:10:11] local.INFO: GPS data processed {"connection_id":143953,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:10:11] local.INFO: Acknowledgment sent {"connection_id":143953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:10:16] local.INFO: TCP Data received {"connection_id":142828,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa24c1538012d7faac005afe4b00000015223..."} 
[2026-07-27 12:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142828,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa24c1538012d7faac005afe4b00000015223..."} 
[2026-07-27 12:10:16] local.INFO: Processing buffer {"connection_id":142828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa24c1538012d7faac005afe4b00000015223..."} 
[2026-07-27 12:10:16] local.INFO: Packet analysis {"connection_id":142828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa24c"} 
[2026-07-27 12:10:16] local.INFO: Extracted packet for processing {"connection_id":142828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa24c"} 
[2026-07-27 12:10:16] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":0,"angle":338,"satellites":35,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 12:10:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:10:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994309632001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:10:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 12:10:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 12:10:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:10:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785134323000,"timestamp_ms":1785134323000,"timestamp_seconds":1785134323,"priority":1,"record_length":96,"hex_timestamp":"0000019fa24c1538"} 
[2026-07-27 12:10:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:10:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 12:10:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-27 12:10:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:10:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:10:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:10:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:10:16] local.INFO: Teltonika packet parsed successfully {"connection_id":142828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:10:16] local.INFO: Passing IMEI to GPS processor {"connection_id":142828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:10:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":142828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:10: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-07-27 12:10:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:10:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:10:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994309632001,"66":25517,"27":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 12:10:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:10:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:10:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994309632001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:10:16] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 12:10:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:10:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:10:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 12:10:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994309632001,"power":25517,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 12:10:16] local.INFO: DEBUG: GPS processor result {"connection_id":142828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:10:16] local.INFO: GPS data processed {"connection_id":142828,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:10:16] local.INFO: Acknowledgment sent {"connection_id":142828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:10:32] local.INFO: TCP Data received {"connection_id":143954,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:10:32] local.INFO: Processing buffer {"connection_id":143954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:10:32] local.INFO: IMEI packet received {"connection_id":143954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 12:10:32] local.INFO: IMEI acknowledgment sent {"connection_id":143954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:10:37] local.INFO: TCP Data received {"connection_id":143954,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:10:37] local.INFO: Processing buffer {"connection_id":143954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:10:37] local.INFO: IMEI packet received {"connection_id":143954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 12:10:37] local.INFO: IMEI acknowledgment sent {"connection_id":143954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:10:38] local.INFO: TCP Data received {"connection_id":143954,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa24c1538012d7faac005afe4b00000015223..."} 
[2026-07-27 12:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa24c1538012d7faac005afe4b00000015223..."} 
[2026-07-27 12:10:38] local.INFO: Processing buffer {"connection_id":143954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa24c1538012d7faac005afe4b00000015223..."} 
[2026-07-27 12:10:38] local.INFO: Packet analysis {"connection_id":143954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa24c"} 
[2026-07-27 12:10:38] local.INFO: Extracted packet for processing {"connection_id":143954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa24c"} 
[2026-07-27 12:10:38] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":0,"angle":338,"satellites":35,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 12:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:10:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994309632001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:10:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 12:10:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 12:10:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:10:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785134323000,"timestamp_ms":1785134323000,"timestamp_seconds":1785134323,"priority":1,"record_length":96,"hex_timestamp":"0000019fa24c1538"} 
[2026-07-27 12:10:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:10:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 12:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-27 12:10:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:10:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:10:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:10:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:10:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:10:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:10:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:10:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:10:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:10:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:10:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994309632001,"66":25517,"27":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 12:10:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:10:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:10:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994309632001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:10:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 12:10:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:10:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:10:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 12:10:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994309632001,"power":25517,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 12:10:38] local.INFO: DEBUG: GPS processor result {"connection_id":143954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:10:38] local.INFO: GPS data processed {"connection_id":143954,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:10:38] local.INFO: Acknowledgment sent {"connection_id":143954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:10:44] local.INFO: TCP Data received {"connection_id":143953,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa24a5400012d18cd00072124080045015928..."} 
[2026-07-27 12:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa24a5400012d18cd00072124080045015928..."} 
[2026-07-27 12:10:44] local.INFO: Processing buffer {"connection_id":143953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa24a5400012d18cd00072124080045015928..."} 
[2026-07-27 12:10:44] local.INFO: Packet analysis {"connection_id":143953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa24a"} 
[2026-07-27 12:10:44] local.INFO: Extracted packet for processing {"connection_id":143953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa24a"} 
[2026-07-27 12:10:44] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119612424,"longitude_deg":75.6600064,"latitude_deg":11.9612424,"altitude":69,"angle":345,"satellites":40,"speed":0,"hex_longitude":"2d18cd00","hex_latitude":"07212408","is_valid_coordinates":true} 
[2026-07-27 12:10:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:10:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994351872001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:10:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8838707687718912,"note":"Value kept but may cause issues"} 
[2026-07-27 12:10:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657756735488,"note":"Value kept but may cause issues"} 
[2026-07-27 12:10:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:10:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785134208000,"timestamp_ms":1785134208000,"timestamp_seconds":1785134208,"priority":1,"record_length":96,"hex_timestamp":"0000019fa24a5400"} 
[2026-07-27 12:10:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:10:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12:10:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-27 12:10:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:10:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:10:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:10:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:10:44] local.INFO: Teltonika packet parsed successfully {"connection_id":143953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:10:44] local.INFO: Passing IMEI to GPS processor {"connection_id":143953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:10:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":143953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:10:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:10:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:10:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:10:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994351872001,"66":12461,"121":206,"28":31744,"24":0,"16":8838707687718912,"45":1787084657756735488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:10:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:10:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:10:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994351872001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:10:44] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:10:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:10:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8838707687718912,"km_value":8838707687718.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:10:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657756735488,"description":"Unknown IO ID 45"} 
[2026-07-27 12:10:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994351872001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1787084657756735488}} 
[2026-07-27 12:10:44] local.INFO: DEBUG: GPS processor result {"connection_id":143953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552995,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:10:44] local.INFO: GPS data processed {"connection_id":143953,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:10:44] local.INFO: Acknowledgment sent {"connection_id":143953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:11:00] local.INFO: TCP Data received {"connection_id":142954,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142954,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:11:00] local.INFO: Processing buffer {"connection_id":142954,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:11:00] local.INFO: IMEI packet received {"connection_id":142954,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 12:11:00] local.INFO: IMEI acknowledgment sent {"connection_id":142954,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:11:05] local.INFO: TCP Data received {"connection_id":142954,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142954,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:11:05] local.INFO: Processing buffer {"connection_id":142954,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:11:05] local.INFO: IMEI packet received {"connection_id":142954,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 12:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":142954,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:11:07] local.INFO: TCP Data received {"connection_id":142954,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa24aa608012d18cd00072124080045015923..."} 
[2026-07-27 12:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa24aa608012d18cd00072124080045015923..."} 
[2026-07-27 12:11:07] local.INFO: Processing buffer {"connection_id":142954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa24aa608012d18cd00072124080045015923..."} 
[2026-07-27 12:11:07] local.INFO: Packet analysis {"connection_id":142954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa24a"} 
[2026-07-27 12:11:07] local.INFO: Extracted packet for processing {"connection_id":142954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa24a"} 
[2026-07-27 12:11:07] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119612424,"longitude_deg":75.6600064,"latitude_deg":11.9612424,"altitude":69,"angle":345,"satellites":35,"speed":0,"hex_longitude":"2d18cd00","hex_latitude":"07212408","is_valid_coordinates":true} 
[2026-07-27 12:11:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:11:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994357248001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:11:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8838707687718912,"note":"Value kept but may cause issues"} 
[2026-07-27 12:11:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657756735488,"note":"Value kept but may cause issues"} 
[2026-07-27 12:11:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:11:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785134229000,"timestamp_ms":1785134229000,"timestamp_seconds":1785134229,"priority":1,"record_length":96,"hex_timestamp":"0000019fa24aa608"} 
[2026-07-27 12:11:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:11:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12:11:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-27 12:11:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:11:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:11:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:11:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:11:07] local.INFO: Teltonika packet parsed successfully {"connection_id":142954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:11:07] local.INFO: Passing IMEI to GPS processor {"connection_id":142954,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:11:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":142954,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:11:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:11:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:11:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:11:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994357248001,"66":12461,"121":206,"28":31744,"24":0,"16":8838707687718912,"45":1787084657756735488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:11:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:11:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:11:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994357248001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:11:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:11:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:11:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8838707687718912,"km_value":8838707687718.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:11:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657756735488,"description":"Unknown IO ID 45"} 
[2026-07-27 12:11:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994357248001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1787084657756735488}} 
[2026-07-27 12:11:07] local.INFO: DEBUG: GPS processor result {"connection_id":142954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552996,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:11:07] local.INFO: GPS data processed {"connection_id":142954,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:11:07] local.INFO: Acknowledgment sent {"connection_id":142954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:11:09] local.INFO: TCP Data received {"connection_id":143954,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa24c1538012d7faac005afe4b00000015223..."} 
[2026-07-27 12:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa24c1538012d7faac005afe4b00000015223..."} 
[2026-07-27 12:11:09] local.INFO: Processing buffer {"connection_id":143954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa24c1538012d7faac005afe4b00000015223..."} 
[2026-07-27 12:11:09] local.INFO: Packet analysis {"connection_id":143954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa24c"} 
[2026-07-27 12:11:09] local.INFO: Extracted packet for processing {"connection_id":143954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa24c"} 
[2026-07-27 12:11:09] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":0,"angle":338,"satellites":35,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 12:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:11:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994309632001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:11:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 12:11:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 12:11:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:11:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785134323000,"timestamp_ms":1785134323000,"timestamp_seconds":1785134323,"priority":1,"record_length":96,"hex_timestamp":"0000019fa24c1538"} 
[2026-07-27 12:11:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:11:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":194,"data_length":795,"current_offset":136} 
[2026-07-27 12:11:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:11:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:11:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:11:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:11:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:11:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:11:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:11: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-07-27 12:11:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:11:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:11:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994309632001,"66":25517,"27":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 12:11:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:11:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:11:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994309632001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:11:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 12:11:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:11:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:11:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 12:11:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994309632001,"power":25517,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 12:11:09] local.INFO: DEBUG: GPS processor result {"connection_id":143954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:11:09] local.INFO: GPS data processed {"connection_id":143954,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:11:09] local.INFO: Acknowledgment sent {"connection_id":143954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:11:37] local.INFO: TCP Data received {"connection_id":143955,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:11:37] local.INFO: Processing buffer {"connection_id":143955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:11:37] local.INFO: IMEI packet received {"connection_id":143955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 12:11:37] local.INFO: IMEI acknowledgment sent {"connection_id":143955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:11:38] local.INFO: TCP Data received {"connection_id":142954,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa24af810012d18cd00072124080045015925..."} 
[2026-07-27 12:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa24af810012d18cd00072124080045015925..."} 
[2026-07-27 12:11:38] local.INFO: Processing buffer {"connection_id":142954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa24af810012d18cd00072124080045015925..."} 
[2026-07-27 12:11:38] local.INFO: Packet analysis {"connection_id":142954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa24a"} 
[2026-07-27 12:11:38] local.INFO: Extracted packet for processing {"connection_id":142954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa24a"} 
[2026-07-27 12:11:38] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119612424,"longitude_deg":75.6600064,"latitude_deg":11.9612424,"altitude":69,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d18cd00","hex_latitude":"07212408","is_valid_coordinates":true} 
[2026-07-27 12:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:11:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994362624001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:11:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8838707687718912,"note":"Value kept but may cause issues"} 
[2026-07-27 12:11:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657756735488,"note":"Value kept but may cause issues"} 
[2026-07-27 12:11:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:11:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785134250000,"timestamp_ms":1785134250000,"timestamp_seconds":1785134250,"priority":1,"record_length":96,"hex_timestamp":"0000019fa24af810"} 
[2026-07-27 12:11:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:11:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-27 12:11: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-07-27 12:11:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:11:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:11:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:11:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:11:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142954,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:11:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142954,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:11:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:11:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:11:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:11:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994362624001,"66":12428,"121":206,"28":31744,"24":0,"16":8838707687718912,"45":1787084657756735488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:11:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:11:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:11:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994362624001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:11:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:11:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:11:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8838707687718912,"km_value":8838707687718.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:11:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657756735488,"description":"Unknown IO ID 45"} 
[2026-07-27 12:11:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994362624001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1787084657756735488}} 
[2026-07-27 12:11:38] local.INFO: DEBUG: GPS processor result {"connection_id":142954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552998,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:11:38] local.INFO: GPS data processed {"connection_id":142954,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:11:38] local.INFO: Acknowledgment sent {"connection_id":142954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:11:43] local.INFO: TCP Data received {"connection_id":143955,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:11:43] local.INFO: Processing buffer {"connection_id":143955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:11:43] local.INFO: IMEI packet received {"connection_id":143955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 12:11:43] local.INFO: IMEI acknowledgment sent {"connection_id":143955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:11:44] local.INFO: TCP Data received {"connection_id":143955,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa24c1538012d7faac005afe4b00000015223..."} 
[2026-07-27 12:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa24c1538012d7faac005afe4b00000015223..."} 
[2026-07-27 12:11:44] local.INFO: Processing buffer {"connection_id":143955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa24c1538012d7faac005afe4b00000015223..."} 
[2026-07-27 12:11:44] local.INFO: Packet analysis {"connection_id":143955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa24c"} 
[2026-07-27 12:11:44] local.INFO: Extracted packet for processing {"connection_id":143955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa24c"} 
[2026-07-27 12:11:44] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":0,"angle":338,"satellites":35,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 12:11:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:11:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994309632001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:11:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 12:11:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 12:11:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:11:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785134323000,"timestamp_ms":1785134323000,"timestamp_seconds":1785134323,"priority":1,"record_length":96,"hex_timestamp":"0000019fa24c1538"} 
[2026-07-27 12:11:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:11:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 12:11:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-27 12:11:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:11:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:11:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:11:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:11:44] local.INFO: Teltonika packet parsed successfully {"connection_id":143955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:11:44] local.INFO: Passing IMEI to GPS processor {"connection_id":143955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:11:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":143955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:11:44] 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-07-27 12:11:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:11:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:11:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994309632001,"66":25517,"27":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 12:11:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:11:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:11:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994309632001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:11:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 12:11:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:11:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:11:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 12:11:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994309632001,"power":25517,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 12:11:44] local.INFO: DEBUG: GPS processor result {"connection_id":143955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:11:44] local.INFO: GPS data processed {"connection_id":143955,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:11:44] local.INFO: Acknowledgment sent {"connection_id":143955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:11:47] local.INFO: TCP Data received {"connection_id":143955,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa24c1538012d7faac005afe4b00000015223..."} 
[2026-07-27 12:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa24c1538012d7faac005afe4b00000015223..."} 
[2026-07-27 12:11:47] local.INFO: Processing buffer {"connection_id":143955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa24c1538012d7faac005afe4b00000015223..."} 
[2026-07-27 12:11:47] local.INFO: Packet analysis {"connection_id":143955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa24c"} 
[2026-07-27 12:11:47] local.INFO: Extracted packet for processing {"connection_id":143955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa24c"} 
[2026-07-27 12:11:47] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":0,"angle":338,"satellites":35,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 12:11:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:11:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994309632001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:11:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 12:11:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 12:11:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:11:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785134323000,"timestamp_ms":1785134323000,"timestamp_seconds":1785134323,"priority":1,"record_length":96,"hex_timestamp":"0000019fa24c1538"} 
[2026-07-27 12:11:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:11:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 12: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":194,"data_length":795,"current_offset":136} 
[2026-07-27 12:11:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:11:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:11:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:11:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:11:47] local.INFO: Teltonika packet parsed successfully {"connection_id":143955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:11:47] local.INFO: Passing IMEI to GPS processor {"connection_id":143955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:11:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":143955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:11: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-07-27 12:11:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:11:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:11:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994309632001,"66":25517,"27":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 12:11:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:11:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:11:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994309632001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:11:47] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 12:11:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:11:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:11:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 12:11:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994309632001,"power":25517,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 12:11:47] local.INFO: DEBUG: GPS processor result {"connection_id":143955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:11:47] local.INFO: GPS data processed {"connection_id":143955,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:11:47] local.INFO: Acknowledgment sent {"connection_id":143955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:11:59] local.INFO: TCP Data received {"connection_id":145246,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145246,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:11:59] local.INFO: Processing buffer {"connection_id":145246,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:11:59] local.INFO: IMEI packet received {"connection_id":145246,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 12:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":145246,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:12:00] local.INFO: TCP Data received {"connection_id":145246,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145246,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:12:00] local.INFO: Processing buffer {"connection_id":145246,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:12:00] local.INFO: IMEI packet received {"connection_id":145246,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 12:12:00] local.INFO: IMEI acknowledgment sent {"connection_id":145246,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:12:05] local.INFO: TCP Data received {"connection_id":145246,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145246,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:12:05] local.INFO: Processing buffer {"connection_id":145246,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:12:05] local.INFO: IMEI packet received {"connection_id":145246,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 12:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":145246,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:12:06] local.INFO: TCP Data received {"connection_id":145246,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa24b4a18012d18cd00072124080045015928..."} 
[2026-07-27 12:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa24b4a18012d18cd00072124080045015928..."} 
[2026-07-27 12:12:06] local.INFO: Processing buffer {"connection_id":145246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa24b4a18012d18cd00072124080045015928..."} 
[2026-07-27 12:12:06] local.INFO: Packet analysis {"connection_id":145246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa24b"} 
[2026-07-27 12:12:06] local.INFO: Extracted packet for processing {"connection_id":145246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa24b"} 
[2026-07-27 12:12:06] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119612424,"longitude_deg":75.6600064,"latitude_deg":11.9612424,"altitude":69,"angle":345,"satellites":40,"speed":0,"hex_longitude":"2d18cd00","hex_latitude":"07212408","is_valid_coordinates":true} 
[2026-07-27 12:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:12:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994368000001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:12:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8838707687718912,"note":"Value kept but may cause issues"} 
[2026-07-27 12:12:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657756735488,"note":"Value kept but may cause issues"} 
[2026-07-27 12:12:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:12:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785134271000,"timestamp_ms":1785134271000,"timestamp_seconds":1785134271,"priority":1,"record_length":96,"hex_timestamp":"0000019fa24b4a18"} 
[2026-07-27 12:12:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:12:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-27 12:12:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:12:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:12:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:12:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:12:06] local.INFO: Teltonika packet parsed successfully {"connection_id":145246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:12:06] local.INFO: Passing IMEI to GPS processor {"connection_id":145246,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:12:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":145246,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:12:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:12:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:12:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:12:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994368000001,"66":11656,"121":206,"28":31744,"24":0,"16":8838707687718912,"45":1787084657756735488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:12:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:12:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:12:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994368000001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:12:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:12:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:12:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8838707687718912,"km_value":8838707687718.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:12:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657756735488,"description":"Unknown IO ID 45"} 
[2026-07-27 12:12:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994368000001,"power":11656,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1787084657756735488}} 
[2026-07-27 12:12:07] local.INFO: DEBUG: GPS processor result {"connection_id":145246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553001,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:12:07] local.INFO: GPS data processed {"connection_id":145246,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:12:07] local.INFO: Acknowledgment sent {"connection_id":145246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:12:32] local.INFO: TCP Data received {"connection_id":142955,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:12:32] local.INFO: Processing buffer {"connection_id":142955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:12:32] local.INFO: IMEI packet received {"connection_id":142955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 12:12:32] local.INFO: IMEI acknowledgment sent {"connection_id":142955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:12:37] local.INFO: TCP Data received {"connection_id":142955,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:12:37] local.INFO: Processing buffer {"connection_id":142955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:12:37] local.INFO: IMEI packet received {"connection_id":142955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 12:12:37] local.INFO: IMEI acknowledgment sent {"connection_id":142955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:12:38] local.INFO: TCP Data received {"connection_id":142955,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa24c1538012d7faac005afe4b00000015223..."} 
[2026-07-27 12:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa24c1538012d7faac005afe4b00000015223..."} 
[2026-07-27 12:12:38] local.INFO: Processing buffer {"connection_id":142955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa24c1538012d7faac005afe4b00000015223..."} 
[2026-07-27 12:12:38] local.INFO: Packet analysis {"connection_id":142955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa24c"} 
[2026-07-27 12:12:38] local.INFO: Extracted packet for processing {"connection_id":142955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa24c"} 
[2026-07-27 12:12:38] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":0,"angle":338,"satellites":35,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 12:12:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:12:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994309632001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:12:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 12:12:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 12:12:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:12:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785134323000,"timestamp_ms":1785134323000,"timestamp_seconds":1785134323,"priority":1,"record_length":96,"hex_timestamp":"0000019fa24c1538"} 
[2026-07-27 12:12:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:12:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 12:12:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-27 12:12:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:12:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:12:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:12:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:12:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:12:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:12:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:12:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:12:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:12:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:12:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994309632001,"66":25517,"27":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 12:12:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:12:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:12:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994309632001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:12:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 12:12:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:12:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:12:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 12:12:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994309632001,"power":25517,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 12:12:38] local.INFO: DEBUG: GPS processor result {"connection_id":142955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:12:38] local.INFO: GPS data processed {"connection_id":142955,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:12:38] local.INFO: Acknowledgment sent {"connection_id":142955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:12:39] local.INFO: TCP Data received {"connection_id":145246,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa24b9c20012d18cd0007212408004501592a..."} 
[2026-07-27 12:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa24b9c20012d18cd0007212408004501592a..."} 
[2026-07-27 12:12:39] local.INFO: Processing buffer {"connection_id":145246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa24b9c20012d18cd0007212408004501592a..."} 
[2026-07-27 12:12:39] local.INFO: Packet analysis {"connection_id":145246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa24b"} 
[2026-07-27 12:12:39] local.INFO: Extracted packet for processing {"connection_id":145246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa24b"} 
[2026-07-27 12:12:39] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119612424,"longitude_deg":75.6600064,"latitude_deg":11.9612424,"altitude":69,"angle":345,"satellites":42,"speed":0,"hex_longitude":"2d18cd00","hex_latitude":"07212408","is_valid_coordinates":true} 
[2026-07-27 12:12:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:12:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994373376001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:12:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8838707687718912,"note":"Value kept but may cause issues"} 
[2026-07-27 12:12:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657756735488,"note":"Value kept but may cause issues"} 
[2026-07-27 12:12:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:12:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785134292000,"timestamp_ms":1785134292000,"timestamp_seconds":1785134292,"priority":1,"record_length":96,"hex_timestamp":"0000019fa24b9c20"} 
[2026-07-27 12:12:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:12:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12: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":45,"n8_eight_byte":136,"data_length":795,"current_offset":136} 
[2026-07-27 12:12:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1647,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:12:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:12:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:12:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:12:39] local.INFO: Teltonika packet parsed successfully {"connection_id":145246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:12:39] local.INFO: Passing IMEI to GPS processor {"connection_id":145246,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:12:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":145246,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:12:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:12:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:12:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:12:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994373376001,"66":12428,"121":206,"28":31744,"24":0,"16":8838707687718912,"45":1787084657756735488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:12:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:12:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:12:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994373376001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:12:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:12:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:12:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8838707687718912,"km_value":8838707687718.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:12:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657756735488,"description":"Unknown IO ID 45"} 
[2026-07-27 12:12:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994373376001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1787084657756735488}} 
[2026-07-27 12:12:39] local.INFO: DEBUG: GPS processor result {"connection_id":145246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553003,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:12:39] local.INFO: GPS data processed {"connection_id":145246,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:12:39] local.INFO: Acknowledgment sent {"connection_id":145246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:12:43] local.INFO: TCP Data received {"connection_id":142955,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa24c1538012d7faac005afe4b00000015223..."} 
[2026-07-27 12:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa24c1538012d7faac005afe4b00000015223..."} 
[2026-07-27 12:12:43] local.INFO: Processing buffer {"connection_id":142955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa24c1538012d7faac005afe4b00000015223..."} 
[2026-07-27 12:12:43] local.INFO: Packet analysis {"connection_id":142955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa24c"} 
[2026-07-27 12:12:43] local.INFO: Extracted packet for processing {"connection_id":142955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa24c"} 
[2026-07-27 12:12:43] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":0,"angle":338,"satellites":35,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 12:12:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:12:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994309632001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:12:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 12:12:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 12:12:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:12:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785134323000,"timestamp_ms":1785134323000,"timestamp_seconds":1785134323,"priority":1,"record_length":96,"hex_timestamp":"0000019fa24c1538"} 
[2026-07-27 12:12:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:12:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 12: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-07-27 12: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-07-27 12:12:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:12:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:12:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:12:43] local.INFO: Teltonika packet parsed successfully {"connection_id":142955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:12:43] local.INFO: Passing IMEI to GPS processor {"connection_id":142955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:12:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":142955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:12: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-07-27 12:12:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:12:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:12:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994309632001,"66":25517,"27":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 12:12:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:12:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:12:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994309632001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:12:43] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 12:12:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:12:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:12:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 12:12:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994309632001,"power":25517,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 12:12:43] local.INFO: DEBUG: GPS processor result {"connection_id":142955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:12:43] local.INFO: GPS data processed {"connection_id":142955,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:12:43] local.INFO: Acknowledgment sent {"connection_id":142955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:13:00] local.INFO: TCP Data received {"connection_id":142956,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142956,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:13:00] local.INFO: Processing buffer {"connection_id":142956,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:13:00] local.INFO: IMEI packet received {"connection_id":142956,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 12:13:00] local.INFO: IMEI acknowledgment sent {"connection_id":142956,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:13:02] local.INFO: TCP Data received {"connection_id":142956,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142956,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:13:02] local.INFO: Processing buffer {"connection_id":142956,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:13:02] local.INFO: IMEI packet received {"connection_id":142956,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 12:13:02] local.INFO: IMEI acknowledgment sent {"connection_id":142956,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:13:06] local.INFO: TCP Data received {"connection_id":142956,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142956,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:13:06] local.INFO: Processing buffer {"connection_id":142956,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:13:06] local.INFO: IMEI packet received {"connection_id":142956,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 12:13:06] local.INFO: IMEI acknowledgment sent {"connection_id":142956,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:13:07] local.INFO: TCP Data received {"connection_id":142956,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa24bee28012d18cd00072124080045015928..."} 
[2026-07-27 12:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142956,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa24bee28012d18cd00072124080045015928..."} 
[2026-07-27 12:13:07] local.INFO: Processing buffer {"connection_id":142956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa24bee28012d18cd00072124080045015928..."} 
[2026-07-27 12:13:07] local.INFO: Packet analysis {"connection_id":142956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa24b"} 
[2026-07-27 12:13:07] local.INFO: Extracted packet for processing {"connection_id":142956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa24b"} 
[2026-07-27 12:13:07] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119612424,"longitude_deg":75.6600064,"latitude_deg":11.9612424,"altitude":69,"angle":345,"satellites":40,"speed":0,"hex_longitude":"2d18cd00","hex_latitude":"07212408","is_valid_coordinates":true} 
[2026-07-27 12:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:13:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994378752001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:13:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8838707687718912,"note":"Value kept but may cause issues"} 
[2026-07-27 12:13:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657756735488,"note":"Value kept but may cause issues"} 
[2026-07-27 12:13:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:13:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785134313000,"timestamp_ms":1785134313000,"timestamp_seconds":1785134313,"priority":1,"record_length":96,"hex_timestamp":"0000019fa24bee28"} 
[2026-07-27 12:13:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:13:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-27 12:13:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:13:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:13:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:13:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:13:07] local.INFO: Teltonika packet parsed successfully {"connection_id":142956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:13:07] local.INFO: Passing IMEI to GPS processor {"connection_id":142956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:13:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":142956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:13:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:13:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:13:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:13:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994378752001,"66":12428,"121":206,"28":31744,"24":0,"16":8838707687718912,"45":1787084657756735488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:13:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:13:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:13:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994378752001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:13:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:13:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:13:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8838707687718912,"km_value":8838707687718.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:13:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657756735488,"description":"Unknown IO ID 45"} 
[2026-07-27 12:13:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994378752001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1787084657756735488}} 
[2026-07-27 12:13:07] local.INFO: DEBUG: GPS processor result {"connection_id":142956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553005,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:13:07] local.INFO: GPS data processed {"connection_id":142956,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:13:07] local.INFO: Acknowledgment sent {"connection_id":142956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:13:14] local.INFO: TCP Data received {"connection_id":142955,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa24c1538012d7faac005afe4b00000015223..."} 
[2026-07-27 12:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa24c1538012d7faac005afe4b00000015223..."} 
[2026-07-27 12:13:14] local.INFO: Processing buffer {"connection_id":142955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa24c1538012d7faac005afe4b00000015223..."} 
[2026-07-27 12:13:14] local.INFO: Packet analysis {"connection_id":142955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa24c"} 
[2026-07-27 12:13:14] local.INFO: Extracted packet for processing {"connection_id":142955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa24c"} 
[2026-07-27 12:13:14] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":0,"angle":338,"satellites":35,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 12:13:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994309632001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:13:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 12:13:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 12:13:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:13:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785134323000,"timestamp_ms":1785134323000,"timestamp_seconds":1785134323,"priority":1,"record_length":96,"hex_timestamp":"0000019fa24c1538"} 
[2026-07-27 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-07-27 12:13:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":194,"data_length":795,"current_offset":136} 
[2026-07-27 12:13:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 12:13:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:13:14] local.INFO: Teltonika packet parsed successfully {"connection_id":142955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:13:14] local.INFO: Passing IMEI to GPS processor {"connection_id":142955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:13:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":142955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 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-07-27 12:13:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:13:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:13:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994309632001,"66":25517,"27":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 12:13:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:13:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:13:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994309632001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:13:14] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 12:13:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:13:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:13:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 12:13:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994309632001,"power":25517,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 12:13:14] local.INFO: DEBUG: GPS processor result {"connection_id":142955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:13:14] local.INFO: GPS data processed {"connection_id":142955,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:13:14] local.INFO: Acknowledgment sent {"connection_id":142955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:13:33] local.INFO: TCP Data received {"connection_id":143956,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:13:33] local.INFO: Processing buffer {"connection_id":143956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:13:33] local.INFO: IMEI packet received {"connection_id":143956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 12:13:33] local.INFO: IMEI acknowledgment sent {"connection_id":143956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:13:38] local.INFO: TCP Data received {"connection_id":142956,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa24c4030012d18cd00072124080045015929..."} 
[2026-07-27 12:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142956,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa24c4030012d18cd00072124080045015929..."} 
[2026-07-27 12:13:38] local.INFO: Processing buffer {"connection_id":142956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa24c4030012d18cd00072124080045015929..."} 
[2026-07-27 12:13:38] local.INFO: Packet analysis {"connection_id":142956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa24c"} 
[2026-07-27 12:13:38] local.INFO: Extracted packet for processing {"connection_id":142956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa24c"} 
[2026-07-27 12:13:38] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119612424,"longitude_deg":75.6600064,"latitude_deg":11.9612424,"altitude":69,"angle":345,"satellites":41,"speed":0,"hex_longitude":"2d18cd00","hex_latitude":"07212408","is_valid_coordinates":true} 
[2026-07-27 12:13:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:13:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994384128001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:13:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8838707687718912,"note":"Value kept but may cause issues"} 
[2026-07-27 12:13:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657756735488,"note":"Value kept but may cause issues"} 
[2026-07-27 12:13:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:13:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785134334000,"timestamp_ms":1785134334000,"timestamp_seconds":1785134334,"priority":1,"record_length":96,"hex_timestamp":"0000019fa24c4030"} 
[2026-07-27 12:13:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:13:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12:13:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-27 12:13:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:13:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:13:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:13:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:13:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:13:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:13:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:13:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:13:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:13:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:13:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994384128001,"66":12287,"121":206,"28":31744,"24":0,"16":8838707687718912,"45":1787084657756735488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:13:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:13:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:13:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994384128001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:13:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:13:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:13:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8838707687718912,"km_value":8838707687718.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:13:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657756735488,"description":"Unknown IO ID 45"} 
[2026-07-27 12:13:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994384128001,"power":12287,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1787084657756735488}} 
[2026-07-27 12:13:38] local.INFO: DEBUG: GPS processor result {"connection_id":142956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553007,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:13:38] local.INFO: GPS data processed {"connection_id":142956,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:13:38] local.INFO: Acknowledgment sent {"connection_id":142956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:13:42] local.INFO: TCP Data received {"connection_id":143956,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:13:42] local.INFO: Processing buffer {"connection_id":143956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:13:42] local.INFO: IMEI packet received {"connection_id":143956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 12:13:42] local.INFO: IMEI acknowledgment sent {"connection_id":143956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:13:43] local.INFO: TCP Data received {"connection_id":143956,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa24c1538012d7faac005afe4b00000015223..."} 
[2026-07-27 12:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143956,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa24c1538012d7faac005afe4b00000015223..."} 
[2026-07-27 12:13:43] local.INFO: Processing buffer {"connection_id":143956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa24c1538012d7faac005afe4b00000015223..."} 
[2026-07-27 12:13:43] local.INFO: Packet analysis {"connection_id":143956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa24c"} 
[2026-07-27 12:13:43] local.INFO: Extracted packet for processing {"connection_id":143956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa24c"} 
[2026-07-27 12:13:43] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":0,"angle":338,"satellites":35,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 12:13:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:13:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994309632001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:13:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 12:13:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 12:13:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:13:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785134323000,"timestamp_ms":1785134323000,"timestamp_seconds":1785134323,"priority":1,"record_length":96,"hex_timestamp":"0000019fa24c1538"} 
[2026-07-27 12:13:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:13:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 12:13:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-27 12:13:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:13:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:13:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:13:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:13:43] local.INFO: Teltonika packet parsed successfully {"connection_id":143956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:13:43] local.INFO: Passing IMEI to GPS processor {"connection_id":143956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:13:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":143956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:13: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-07-27 12:13:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:13:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:13:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994309632001,"66":25517,"27":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 12:13:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:13:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:13:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994309632001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:13:43] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 12:13:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:13:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:13:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 12:13:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994309632001,"power":25517,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 12:13:43] local.INFO: DEBUG: GPS processor result {"connection_id":143956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:13:43] local.INFO: GPS data processed {"connection_id":143956,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:13:43] local.INFO: Acknowledgment sent {"connection_id":143956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:14:00] local.INFO: TCP Data received {"connection_id":142957,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142957,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:14:00] local.INFO: Processing buffer {"connection_id":142957,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:14:00] local.INFO: IMEI packet received {"connection_id":142957,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 12:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":142957,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:14:05] local.INFO: TCP Data received {"connection_id":142957,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142957,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:14:05] local.INFO: Processing buffer {"connection_id":142957,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:14:05] local.INFO: IMEI packet received {"connection_id":142957,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 12:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":142957,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:14:07] local.INFO: TCP Data received {"connection_id":142957,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa24fca70012d18cd00072124080045015929..."} 
[2026-07-27 12:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa24fca70012d18cd00072124080045015929..."} 
[2026-07-27 12:14:07] local.INFO: Processing buffer {"connection_id":142957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa24fca70012d18cd00072124080045015929..."} 
[2026-07-27 12:14:07] local.INFO: Packet analysis {"connection_id":142957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa24f"} 
[2026-07-27 12:14:07] local.INFO: Extracted packet for processing {"connection_id":142957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa24f"} 
[2026-07-27 12:14:07] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119612424,"longitude_deg":75.6600064,"latitude_deg":11.9612424,"altitude":69,"angle":345,"satellites":41,"speed":0,"hex_longitude":"2d18cd00","hex_latitude":"07212408","is_valid_coordinates":true} 
[2026-07-27 12:14:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:14:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994443520001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:14:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8838707687718912,"note":"Value kept but may cause issues"} 
[2026-07-27 12:14:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657756735488,"note":"Value kept but may cause issues"} 
[2026-07-27 12:14:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:14:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785134566000,"timestamp_ms":1785134566000,"timestamp_seconds":1785134566,"priority":1,"record_length":96,"hex_timestamp":"0000019fa24fca70"} 
[2026-07-27 12:14:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:14:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12:14:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-27 12:14:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:14:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:14:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:14:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:14:07] local.INFO: Teltonika packet parsed successfully {"connection_id":142957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:14:07] local.INFO: Passing IMEI to GPS processor {"connection_id":142957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:14:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":142957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:14:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:14:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:14:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:14:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994443520001,"66":12428,"121":206,"28":31744,"24":0,"16":8838707687718912,"45":1787084657756735488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:14:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:14:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:14:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994443520001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:14:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:14:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:14:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8838707687718912,"km_value":8838707687718.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:14:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657756735488,"description":"Unknown IO ID 45"} 
[2026-07-27 12:14:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994443520001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1787084657756735488}} 
[2026-07-27 12:14:07] local.INFO: DEBUG: GPS processor result {"connection_id":142957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553009,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:14:07] local.INFO: GPS data processed {"connection_id":142957,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:14:07] local.INFO: Acknowledgment sent {"connection_id":142957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:14:14] local.INFO: TCP Data received {"connection_id":143956,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa24c1538012d7faac005afe4b00000015223..."} 
[2026-07-27 12:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143956,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa24c1538012d7faac005afe4b00000015223..."} 
[2026-07-27 12:14:14] local.INFO: Processing buffer {"connection_id":143956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa24c1538012d7faac005afe4b00000015223..."} 
[2026-07-27 12:14:14] local.INFO: Packet analysis {"connection_id":143956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa24c"} 
[2026-07-27 12:14:14] local.INFO: Extracted packet for processing {"connection_id":143956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa24c"} 
[2026-07-27 12:14:14] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":0,"angle":338,"satellites":35,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 12:14:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:14:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994309632001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:14:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 12:14:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 12:14:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:14:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785134323000,"timestamp_ms":1785134323000,"timestamp_seconds":1785134323,"priority":1,"record_length":96,"hex_timestamp":"0000019fa24c1538"} 
[2026-07-27 12:14:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:14:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 12:14:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-27 12:14:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:14:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:14:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:14:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:14:14] local.INFO: Teltonika packet parsed successfully {"connection_id":143956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:14:14] local.INFO: Passing IMEI to GPS processor {"connection_id":143956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:14:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":143956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12: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-07-27 12:14:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:14:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:14:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994309632001,"66":25517,"27":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 12:14:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:14:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:14:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994309632001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:14:14] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 12:14:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:14:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:14:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 12:14:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994309632001,"power":25517,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 12:14:14] local.INFO: DEBUG: GPS processor result {"connection_id":143956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:14:14] local.INFO: GPS data processed {"connection_id":143956,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:14:14] local.INFO: Acknowledgment sent {"connection_id":143956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:14:32] local.INFO: TCP Data received {"connection_id":142829,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:14:32] local.INFO: Processing buffer {"connection_id":142829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:14:32] local.INFO: IMEI packet received {"connection_id":142829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 12:14:32] local.INFO: IMEI acknowledgment sent {"connection_id":142829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:14:38] local.INFO: TCP Data received {"connection_id":142829,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:14:38] local.INFO: Processing buffer {"connection_id":142829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:14:38] local.INFO: IMEI packet received {"connection_id":142829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 12:14:38] local.INFO: IMEI acknowledgment sent {"connection_id":142829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:14:38] local.INFO: TCP Data received {"connection_id":142957,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2501890012d18cd00072124080045015928..."} 
[2026-07-27 12:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2501890012d18cd00072124080045015928..."} 
[2026-07-27 12:14:38] local.INFO: Processing buffer {"connection_id":142957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2501890012d18cd00072124080045015928..."} 
[2026-07-27 12:14:38] local.INFO: Packet analysis {"connection_id":142957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa250"} 
[2026-07-27 12:14:38] local.INFO: Extracted packet for processing {"connection_id":142957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa250"} 
[2026-07-27 12:14:38] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119612424,"longitude_deg":75.6600064,"latitude_deg":11.9612424,"altitude":69,"angle":345,"satellites":40,"speed":0,"hex_longitude":"2d18cd00","hex_latitude":"07212408","is_valid_coordinates":true} 
[2026-07-27 12:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:14:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994448896001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:14:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8838707687718912,"note":"Value kept but may cause issues"} 
[2026-07-27 12:14:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657756735488,"note":"Value kept but may cause issues"} 
[2026-07-27 12:14:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:14:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785134586000,"timestamp_ms":1785134586000,"timestamp_seconds":1785134586,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2501890"} 
[2026-07-27 12:14:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:14:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-27 12:14:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:14:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:14:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:14:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:14:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:14:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:14:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:14:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:14:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:14:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:14:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994448896001,"66":12385,"121":206,"28":31744,"24":0,"16":8838707687718912,"45":1787084657756735488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:14:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:14:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:14:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994448896001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:14:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:14:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:14:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8838707687718912,"km_value":8838707687718.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:14:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657756735488,"description":"Unknown IO ID 45"} 
[2026-07-27 12:14:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994448896001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1787084657756735488}} 
[2026-07-27 12:14:39] local.INFO: DEBUG: GPS processor result {"connection_id":142957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553011,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:14:39] local.INFO: GPS data processed {"connection_id":142957,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:14:39] local.INFO: Acknowledgment sent {"connection_id":142957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:14:39] local.INFO: TCP Data received {"connection_id":142829,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa250ad00012d7faac005afe4b00000015224..."} 
[2026-07-27 12:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa250ad00012d7faac005afe4b00000015224..."} 
[2026-07-27 12:14:39] local.INFO: Processing buffer {"connection_id":142829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa250ad00012d7faac005afe4b00000015224..."} 
[2026-07-27 12:14:39] local.INFO: Packet analysis {"connection_id":142829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa250"} 
[2026-07-27 12:14:39] local.INFO: Extracted packet for processing {"connection_id":142829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa250"} 
[2026-07-27 12:14:39] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":0,"angle":338,"satellites":36,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 12:14:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:14:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994386688001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:14:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 12:14:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 12:14:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:14:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785134624000,"timestamp_ms":1785134624000,"timestamp_seconds":1785134624,"priority":1,"record_length":96,"hex_timestamp":"0000019fa250ad00"} 
[2026-07-27 12:14:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:14:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 12: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":173,"data_length":795,"current_offset":136} 
[2026-07-27 12:14:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:14:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:14:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:14:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:14:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:14:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:14:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:14:39] 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-07-27 12:14:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:14:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:14:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994386688001,"66":25538,"199":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-27 12:14:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:14:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:14:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994386688001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:14:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-27 12:14:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:14:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:14:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 12:14:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994386688001,"power":25538,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 12:14:39] local.INFO: DEBUG: GPS processor result {"connection_id":142829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:14:39] local.INFO: GPS data processed {"connection_id":142829,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:14:39] local.INFO: Acknowledgment sent {"connection_id":142829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:15:00] local.INFO: TCP Data received {"connection_id":143957,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143957,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:15:00] local.INFO: Processing buffer {"connection_id":143957,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:15:00] local.INFO: IMEI packet received {"connection_id":143957,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 12:15:00] local.INFO: IMEI acknowledgment sent {"connection_id":143957,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:15:05] local.INFO: TCP Data received {"connection_id":143957,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143957,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:15:05] local.INFO: Processing buffer {"connection_id":143957,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:15:05] local.INFO: IMEI packet received {"connection_id":143957,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 12:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":143957,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:15:07] local.INFO: TCP Data received {"connection_id":143957,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2506a98012d18cd00072124080045015929..."} 
[2026-07-27 12:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2506a98012d18cd00072124080045015929..."} 
[2026-07-27 12:15:07] local.INFO: Processing buffer {"connection_id":143957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2506a98012d18cd00072124080045015929..."} 
[2026-07-27 12:15:07] local.INFO: Packet analysis {"connection_id":143957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa250"} 
[2026-07-27 12:15:07] local.INFO: Extracted packet for processing {"connection_id":143957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa250"} 
[2026-07-27 12:15:07] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119612424,"longitude_deg":75.6600064,"latitude_deg":11.9612424,"altitude":69,"angle":345,"satellites":41,"speed":0,"hex_longitude":"2d18cd00","hex_latitude":"07212408","is_valid_coordinates":true} 
[2026-07-27 12:15:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:15:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994454016001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:15:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8838707687718912,"note":"Value kept but may cause issues"} 
[2026-07-27 12:15:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657756735488,"note":"Value kept but may cause issues"} 
[2026-07-27 12:15:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:15:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785134607000,"timestamp_ms":1785134607000,"timestamp_seconds":1785134607,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2506a98"} 
[2026-07-27 12:15:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:15:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12:15:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-27 12:15:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:15:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:15:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:15:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:15:07] local.INFO: Teltonika packet parsed successfully {"connection_id":143957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:15:07] local.INFO: Passing IMEI to GPS processor {"connection_id":143957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:15:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":143957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:15:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:15:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:15:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:15:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994454016001,"66":12385,"121":206,"28":31744,"24":0,"16":8838707687718912,"45":1787084657756735488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:15:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:15:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:15:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994454016001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:15:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:15:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:15:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8838707687718912,"km_value":8838707687718.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:15:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657756735488,"description":"Unknown IO ID 45"} 
[2026-07-27 12:15:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994454016001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1787084657756735488}} 
[2026-07-27 12:15:07] local.INFO: DEBUG: GPS processor result {"connection_id":143957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553013,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:15:07] local.INFO: GPS data processed {"connection_id":143957,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:15:07] local.INFO: Acknowledgment sent {"connection_id":143957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:15:11] local.INFO: TCP Data received {"connection_id":142829,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa250ad00012d7faac005afe4b00000015224..."} 
[2026-07-27 12:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa250ad00012d7faac005afe4b00000015224..."} 
[2026-07-27 12:15:11] local.INFO: Processing buffer {"connection_id":142829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa250ad00012d7faac005afe4b00000015224..."} 
[2026-07-27 12:15:11] local.INFO: Packet analysis {"connection_id":142829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa250"} 
[2026-07-27 12:15:11] local.INFO: Extracted packet for processing {"connection_id":142829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa250"} 
[2026-07-27 12:15:11] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":0,"angle":338,"satellites":36,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 12:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:15:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994386688001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:15:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 12:15:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 12:15:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:15:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785134624000,"timestamp_ms":1785134624000,"timestamp_seconds":1785134624,"priority":1,"record_length":96,"hex_timestamp":"0000019fa250ad00"} 
[2026-07-27 12:15:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:15:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 12: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":173,"data_length":795,"current_offset":136} 
[2026-07-27 12:15:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:15:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:15:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:15:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:15:11] local.INFO: Teltonika packet parsed successfully {"connection_id":142829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:15:11] local.INFO: Passing IMEI to GPS processor {"connection_id":142829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:15:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":142829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:15: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-07-27 12:15:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:15:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:15:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994386688001,"66":25538,"199":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-27 12:15:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:15:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:15:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994386688001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:15:11] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-27 12:15:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:15:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:15:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 12:15:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994386688001,"power":25538,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 12:15:11] local.INFO: DEBUG: GPS processor result {"connection_id":142829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:15:11] local.INFO: GPS data processed {"connection_id":142829,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:15:11] local.INFO: Acknowledgment sent {"connection_id":142829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:15:32] local.INFO: TCP Data received {"connection_id":145247,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:15:32] local.INFO: Processing buffer {"connection_id":145247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:15:32] local.INFO: IMEI packet received {"connection_id":145247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 12:15:32] local.INFO: IMEI acknowledgment sent {"connection_id":145247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:15:39] local.INFO: TCP Data received {"connection_id":143957,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa250bca0012d18cd00072124080045015928..."} 
[2026-07-27 12:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa250bca0012d18cd00072124080045015928..."} 
[2026-07-27 12:15:39] local.INFO: Processing buffer {"connection_id":143957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa250bca0012d18cd00072124080045015928..."} 
[2026-07-27 12:15:39] local.INFO: Packet analysis {"connection_id":143957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa250"} 
[2026-07-27 12:15:39] local.INFO: Extracted packet for processing {"connection_id":143957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa250"} 
[2026-07-27 12:15:39] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119612424,"longitude_deg":75.6600064,"latitude_deg":11.9612424,"altitude":69,"angle":345,"satellites":40,"speed":0,"hex_longitude":"2d18cd00","hex_latitude":"07212408","is_valid_coordinates":true} 
[2026-07-27 12:15:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:15:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994459392001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:15:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8838707687718912,"note":"Value kept but may cause issues"} 
[2026-07-27 12:15:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657756735488,"note":"Value kept but may cause issues"} 
[2026-07-27 12:15:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:15:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785134628000,"timestamp_ms":1785134628000,"timestamp_seconds":1785134628,"priority":1,"record_length":96,"hex_timestamp":"0000019fa250bca0"} 
[2026-07-27 12:15:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:15:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-27 12:15:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:15:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:15:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:15:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:15:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:15:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:15:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:15:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:15:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:15:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:15:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994459392001,"66":12428,"121":206,"28":31744,"24":0,"16":8838707687718912,"45":1787084657756735488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:15:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:15:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:15:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994459392001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:15:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:15:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:15:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8838707687718912,"km_value":8838707687718.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:15:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657756735488,"description":"Unknown IO ID 45"} 
[2026-07-27 12:15:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994459392001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1787084657756735488}} 
[2026-07-27 12:15:39] local.INFO: DEBUG: GPS processor result {"connection_id":143957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553015,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:15:39] local.INFO: GPS data processed {"connection_id":143957,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:15:39] local.INFO: Acknowledgment sent {"connection_id":143957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:15:40] local.INFO: TCP Data received {"connection_id":145247,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:15:40] local.INFO: Processing buffer {"connection_id":145247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:15:40] local.INFO: IMEI packet received {"connection_id":145247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 12:15:40] local.INFO: IMEI acknowledgment sent {"connection_id":145247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:15:41] local.INFO: TCP Data received {"connection_id":145247,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa250ad00012d7faac005afe4b00000015224..."} 
[2026-07-27 12:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa250ad00012d7faac005afe4b00000015224..."} 
[2026-07-27 12:15:41] local.INFO: Processing buffer {"connection_id":145247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa250ad00012d7faac005afe4b00000015224..."} 
[2026-07-27 12:15:41] local.INFO: Packet analysis {"connection_id":145247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa250"} 
[2026-07-27 12:15:41] local.INFO: Extracted packet for processing {"connection_id":145247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa250"} 
[2026-07-27 12:15:41] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":0,"angle":338,"satellites":36,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 12:15:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:15:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994386688001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:15:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 12:15:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 12:15:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:15:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785134624000,"timestamp_ms":1785134624000,"timestamp_seconds":1785134624,"priority":1,"record_length":96,"hex_timestamp":"0000019fa250ad00"} 
[2026-07-27 12:15:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:15:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 12:15:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-27 12:15:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:15:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:15:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:15:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:15:41] local.INFO: Teltonika packet parsed successfully {"connection_id":145247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:15:41] local.INFO: Passing IMEI to GPS processor {"connection_id":145247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:15:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":145247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12: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-07-27 12:15:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:15:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:15:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994386688001,"66":25538,"199":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-27 12:15:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:15:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:15:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994386688001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:15:41] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-27 12:15:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:15:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:15:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 12:15:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994386688001,"power":25538,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 12:15:41] local.INFO: DEBUG: GPS processor result {"connection_id":145247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:15:41] local.INFO: GPS data processed {"connection_id":145247,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:15:41] local.INFO: Acknowledgment sent {"connection_id":145247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:15:51] local.INFO: TCP Data received {"connection_id":145247,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa250ad00012d7faac005afe4b00000015224..."} 
[2026-07-27 12:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa250ad00012d7faac005afe4b00000015224..."} 
[2026-07-27 12:15:51] local.INFO: Processing buffer {"connection_id":145247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa250ad00012d7faac005afe4b00000015224..."} 
[2026-07-27 12:15:51] local.INFO: Packet analysis {"connection_id":145247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa250"} 
[2026-07-27 12:15:51] local.INFO: Extracted packet for processing {"connection_id":145247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa250"} 
[2026-07-27 12:15:51] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":0,"angle":338,"satellites":36,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 12:15:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994386688001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:15:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 12:15:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 12:15:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:15:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785134624000,"timestamp_ms":1785134624000,"timestamp_seconds":1785134624,"priority":1,"record_length":96,"hex_timestamp":"0000019fa250ad00"} 
[2026-07-27 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-07-27 12:15:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-27 12:15:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 12:15:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:15:51] local.INFO: Teltonika packet parsed successfully {"connection_id":145247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:15:51] local.INFO: Passing IMEI to GPS processor {"connection_id":145247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:15:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":145247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:15:51] 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-07-27 12:15:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:15:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:15:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994386688001,"66":25538,"199":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-27 12:15:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:15:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:15:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994386688001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:15:51] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-27 12:15:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:15:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:15:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 12:15:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994386688001,"power":25538,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 12:15:51] local.INFO: DEBUG: GPS processor result {"connection_id":145247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:15:51] local.INFO: GPS data processed {"connection_id":145247,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:15:51] local.INFO: Acknowledgment sent {"connection_id":145247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:16:05] local.INFO: TCP Data received {"connection_id":142830,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142830,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:16:05] local.INFO: Processing buffer {"connection_id":142830,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:16:05] local.INFO: IMEI packet received {"connection_id":142830,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 12:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":142830,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:16:10] local.INFO: TCP Data received {"connection_id":142830,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142830,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:16:10] local.INFO: Processing buffer {"connection_id":142830,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:16:10] local.INFO: IMEI packet received {"connection_id":142830,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 12:16:10] local.INFO: IMEI acknowledgment sent {"connection_id":142830,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:16:11] local.INFO: TCP Data received {"connection_id":142830,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2510ea8012d18cd0007212408004501592a..."} 
[2026-07-27 12:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2510ea8012d18cd0007212408004501592a..."} 
[2026-07-27 12:16:11] local.INFO: Processing buffer {"connection_id":142830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2510ea8012d18cd0007212408004501592a..."} 
[2026-07-27 12:16:11] local.INFO: Packet analysis {"connection_id":142830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa251"} 
[2026-07-27 12:16:11] local.INFO: Extracted packet for processing {"connection_id":142830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa251"} 
[2026-07-27 12:16:11] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119612424,"longitude_deg":75.6600064,"latitude_deg":11.9612424,"altitude":69,"angle":345,"satellites":42,"speed":0,"hex_longitude":"2d18cd00","hex_latitude":"07212408","is_valid_coordinates":true} 
[2026-07-27 12:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:16:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994464768001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:16:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8838707687718912,"note":"Value kept but may cause issues"} 
[2026-07-27 12:16:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657756735488,"note":"Value kept but may cause issues"} 
[2026-07-27 12:16:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:16:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785134649000,"timestamp_ms":1785134649000,"timestamp_seconds":1785134649,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2510ea8"} 
[2026-07-27 12:16:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:16:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-27 12:16:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:16:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:16:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:16:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:16:11] local.INFO: Teltonika packet parsed successfully {"connection_id":142830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:16:11] local.INFO: Passing IMEI to GPS processor {"connection_id":142830,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:16:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":142830,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:16:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:16:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:16:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:16:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994464768001,"66":12385,"121":206,"28":31744,"24":0,"16":8838707687718912,"45":1787084657756735488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:16:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:16:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:16:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994464768001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:16:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:16:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:16:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8838707687718912,"km_value":8838707687718.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:16:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657756735488,"description":"Unknown IO ID 45"} 
[2026-07-27 12:16:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994464768001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1787084657756735488}} 
[2026-07-27 12:16:11] local.INFO: DEBUG: GPS processor result {"connection_id":142830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553018,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:16:11] local.INFO: GPS data processed {"connection_id":142830,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:16:11] local.INFO: Acknowledgment sent {"connection_id":142830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:16:12] local.INFO: TCP Data received {"connection_id":142830,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa25160b0012d18cd0007212408004501592b..."} 
[2026-07-27 12:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa25160b0012d18cd0007212408004501592b..."} 
[2026-07-27 12:16:13] local.INFO: Processing buffer {"connection_id":142830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa25160b0012d18cd0007212408004501592b..."} 
[2026-07-27 12:16:13] local.INFO: Packet analysis {"connection_id":142830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa251"} 
[2026-07-27 12:16:13] local.INFO: Extracted packet for processing {"connection_id":142830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa251"} 
[2026-07-27 12:16:13] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119612424,"longitude_deg":75.6600064,"latitude_deg":11.9612424,"altitude":69,"angle":345,"satellites":43,"speed":0,"hex_longitude":"2d18cd00","hex_latitude":"07212408","is_valid_coordinates":true} 
[2026-07-27 12:16:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:16:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994470144001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:16:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8838707687718912,"note":"Value kept but may cause issues"} 
[2026-07-27 12:16:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657756735488,"note":"Value kept but may cause issues"} 
[2026-07-27 12:16:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:16:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785134670000,"timestamp_ms":1785134670000,"timestamp_seconds":1785134670,"priority":1,"record_length":96,"hex_timestamp":"0000019fa25160b0"} 
[2026-07-27 12:16:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:16:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12:16:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-27 12:16:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:16:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:16:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:16:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:16:13] local.INFO: Teltonika packet parsed successfully {"connection_id":142830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:16:13] local.INFO: Passing IMEI to GPS processor {"connection_id":142830,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:16:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":142830,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:16:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:16:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:16:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:16:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994470144001,"66":11656,"121":206,"28":31744,"24":0,"16":8838707687718912,"45":1787084657756735488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:16:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:16:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:16:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994470144001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:16:13] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:16:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:16:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8838707687718912,"km_value":8838707687718.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:16:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657756735488,"description":"Unknown IO ID 45"} 
[2026-07-27 12:16:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994470144001,"power":11656,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1787084657756735488}} 
[2026-07-27 12:16:13] local.INFO: DEBUG: GPS processor result {"connection_id":142830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553019,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:16:13] local.INFO: GPS data processed {"connection_id":142830,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:16:13] local.INFO: Acknowledgment sent {"connection_id":142830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:16:32] local.INFO: TCP Data received {"connection_id":142831,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:16:32] local.INFO: Processing buffer {"connection_id":142831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:16:32] local.INFO: IMEI packet received {"connection_id":142831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 12:16:32] local.INFO: IMEI acknowledgment sent {"connection_id":142831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:16:37] local.INFO: TCP Data received {"connection_id":142831,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:16:37] local.INFO: Processing buffer {"connection_id":142831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:16:37] local.INFO: IMEI packet received {"connection_id":142831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 12:16:37] local.INFO: IMEI acknowledgment sent {"connection_id":142831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:16:38] local.INFO: TCP Data received {"connection_id":142831,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa250ad00012d7faac005afe4b00000015224..."} 
[2026-07-27 12:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa250ad00012d7faac005afe4b00000015224..."} 
[2026-07-27 12:16:38] local.INFO: Processing buffer {"connection_id":142831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa250ad00012d7faac005afe4b00000015224..."} 
[2026-07-27 12:16:38] local.INFO: Packet analysis {"connection_id":142831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa250"} 
[2026-07-27 12:16:38] local.INFO: Extracted packet for processing {"connection_id":142831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa250"} 
[2026-07-27 12:16:38] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":0,"angle":338,"satellites":36,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 12:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:16:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994386688001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:16:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 12:16:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 12:16:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:16:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785134624000,"timestamp_ms":1785134624000,"timestamp_seconds":1785134624,"priority":1,"record_length":96,"hex_timestamp":"0000019fa250ad00"} 
[2026-07-27 12:16:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:16:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 12:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-27 12:16:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:16:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:16:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:16:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:16:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:16:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:16:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:16:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:16:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:16:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:16:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994386688001,"66":25538,"199":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-27 12:16:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:16:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:16:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994386688001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:16:38] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-27 12:16:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:16:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:16:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 12:16:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994386688001,"power":25538,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 12:16:38] local.INFO: DEBUG: GPS processor result {"connection_id":142831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:16:38] local.INFO: GPS data processed {"connection_id":142831,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:16:38] local.INFO: Acknowledgment sent {"connection_id":142831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:16:45] local.INFO: TCP Data received {"connection_id":142830,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa251b6a0012d18cd00072124080045015929..."} 
[2026-07-27 12:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa251b6a0012d18cd00072124080045015929..."} 
[2026-07-27 12:16:45] local.INFO: Processing buffer {"connection_id":142830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa251b6a0012d18cd00072124080045015929..."} 
[2026-07-27 12:16:45] local.INFO: Packet analysis {"connection_id":142830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa251"} 
[2026-07-27 12:16:45] local.INFO: Extracted packet for processing {"connection_id":142830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa251"} 
[2026-07-27 12:16:45] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119612424,"longitude_deg":75.6600064,"latitude_deg":11.9612424,"altitude":69,"angle":345,"satellites":41,"speed":0,"hex_longitude":"2d18cd00","hex_latitude":"07212408","is_valid_coordinates":true} 
[2026-07-27 12: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-07-27 12:16:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994475520001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:16:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8838707687718912,"note":"Value kept but may cause issues"} 
[2026-07-27 12:16:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657756735488,"note":"Value kept but may cause issues"} 
[2026-07-27 12:16:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:16:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785134692000,"timestamp_ms":1785134692000,"timestamp_seconds":1785134692,"priority":1,"record_length":96,"hex_timestamp":"0000019fa251b6a0"} 
[2026-07-27 12:16:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:16:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12: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":45,"n8_eight_byte":136,"data_length":795,"current_offset":136} 
[2026-07-27 12:16:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1647,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12: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-07-27 12:16:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:16:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:16:45] local.INFO: Teltonika packet parsed successfully {"connection_id":142830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:16:45] local.INFO: Passing IMEI to GPS processor {"connection_id":142830,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:16:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":142830,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:16:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:16:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:16:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:16:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994475520001,"66":12385,"121":206,"28":31744,"24":0,"16":8838707687718912,"45":1787084657756735488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:16:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:16:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:16:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994475520001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:16:45] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:16:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:16:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8838707687718912,"km_value":8838707687718.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:16:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657756735488,"description":"Unknown IO ID 45"} 
[2026-07-27 12:16:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994475520001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1787084657756735488}} 
[2026-07-27 12:16:45] local.INFO: DEBUG: GPS processor result {"connection_id":142830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553021,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:16:45] local.INFO: GPS data processed {"connection_id":142830,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:16:45] local.INFO: Acknowledgment sent {"connection_id":142830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:16:57] local.INFO: TCP Data received {"connection_id":142958,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142958,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:16:57] local.INFO: Processing buffer {"connection_id":142958,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:16:57] local.INFO: IMEI packet received {"connection_id":142958,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 12:16:57] local.INFO: IMEI acknowledgment sent {"connection_id":142958,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:17:00] local.INFO: TCP Data received {"connection_id":142958,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142958,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:17:00] local.INFO: Processing buffer {"connection_id":142958,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:17:00] local.INFO: IMEI packet received {"connection_id":142958,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 12:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":142958,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:17:05] local.INFO: TCP Data received {"connection_id":142958,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142958,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:17:05] local.INFO: Processing buffer {"connection_id":142958,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:17:05] local.INFO: IMEI packet received {"connection_id":142958,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 12:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":142958,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:17:06] local.INFO: TCP Data received {"connection_id":142958,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa25208a8012d18cd0007212408004501592b..."} 
[2026-07-27 12:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa25208a8012d18cd0007212408004501592b..."} 
[2026-07-27 12:17:06] local.INFO: Processing buffer {"connection_id":142958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa25208a8012d18cd0007212408004501592b..."} 
[2026-07-27 12:17:06] local.INFO: Packet analysis {"connection_id":142958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa252"} 
[2026-07-27 12:17:06] local.INFO: Extracted packet for processing {"connection_id":142958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa252"} 
[2026-07-27 12:17:06] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119612424,"longitude_deg":75.6600064,"latitude_deg":11.9612424,"altitude":69,"angle":345,"satellites":43,"speed":0,"hex_longitude":"2d18cd00","hex_latitude":"07212408","is_valid_coordinates":true} 
[2026-07-27 12:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994481152001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8838707687718912,"note":"Value kept but may cause issues"} 
[2026-07-27 12:17:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657756735488,"note":"Value kept but may cause issues"} 
[2026-07-27 12:17:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785134713000,"timestamp_ms":1785134713000,"timestamp_seconds":1785134713,"priority":1,"record_length":96,"hex_timestamp":"0000019fa25208a8"} 
[2026-07-27 12:17:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:17:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-27 12:17:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:17:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:17:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":142958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":142958,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":142958,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:17:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994481152001,"66":12385,"121":206,"28":31744,"24":0,"16":8838707687718912,"45":1787084657756735488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994481152001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:17:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:17:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8838707687718912,"km_value":8838707687718.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:17:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657756735488,"description":"Unknown IO ID 45"} 
[2026-07-27 12:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994481152001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1787084657756735488}} 
[2026-07-27 12:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":142958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553022,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:17:06] local.INFO: GPS data processed {"connection_id":142958,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:17:06] local.INFO: Acknowledgment sent {"connection_id":142958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:17:10] local.INFO: TCP Data received {"connection_id":142831,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa250ad00012d7faac005afe4b00000015224..."} 
[2026-07-27 12:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa250ad00012d7faac005afe4b00000015224..."} 
[2026-07-27 12:17:10] local.INFO: Processing buffer {"connection_id":142831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa250ad00012d7faac005afe4b00000015224..."} 
[2026-07-27 12:17:10] local.INFO: Packet analysis {"connection_id":142831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa250"} 
[2026-07-27 12:17:10] local.INFO: Extracted packet for processing {"connection_id":142831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa250"} 
[2026-07-27 12:17:10] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":0,"angle":338,"satellites":36,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 12:17:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:17:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994386688001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:17:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 12:17:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 12:17:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:17:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785134624000,"timestamp_ms":1785134624000,"timestamp_seconds":1785134624,"priority":1,"record_length":96,"hex_timestamp":"0000019fa250ad00"} 
[2026-07-27 12:17:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:17:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 12: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":173,"data_length":795,"current_offset":136} 
[2026-07-27 12:17:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:17:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:17:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:17:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:17:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:17:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:17:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12: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-07-27 12:17:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:17:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:17:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994386688001,"66":25538,"199":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-27 12:17:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:17:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:17:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994386688001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:17:10] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-27 12:17:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:17:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:17:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 12:17:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994386688001,"power":25538,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 12:17:10] local.INFO: DEBUG: GPS processor result {"connection_id":142831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:17:10] local.INFO: GPS data processed {"connection_id":142831,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:17:10] local.INFO: Acknowledgment sent {"connection_id":142831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:17:33] local.INFO: TCP Data received {"connection_id":142832,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:17:33] local.INFO: Processing buffer {"connection_id":142832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:17:33] local.INFO: IMEI packet received {"connection_id":142832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 12:17:33] local.INFO: IMEI acknowledgment sent {"connection_id":142832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:17:37] local.INFO: TCP Data received {"connection_id":142832,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:17:37] local.INFO: Processing buffer {"connection_id":142832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:17:37] local.INFO: IMEI packet received {"connection_id":142832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 12:17:37] local.INFO: IMEI acknowledgment sent {"connection_id":142832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:17:38] local.INFO: TCP Data received {"connection_id":142832,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa250ad00012d7faac005afe4b00000015224..."} 
[2026-07-27 12:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142832,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa250ad00012d7faac005afe4b00000015224..."} 
[2026-07-27 12:17:38] local.INFO: Processing buffer {"connection_id":142832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa250ad00012d7faac005afe4b00000015224..."} 
[2026-07-27 12:17:38] local.INFO: Packet analysis {"connection_id":142832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa250"} 
[2026-07-27 12:17:38] local.INFO: Extracted packet for processing {"connection_id":142832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa250"} 
[2026-07-27 12:17:38] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":0,"angle":338,"satellites":36,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 12:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:17:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994386688001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:17:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 12:17:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 12:17:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:17:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785134624000,"timestamp_ms":1785134624000,"timestamp_seconds":1785134624,"priority":1,"record_length":96,"hex_timestamp":"0000019fa250ad00"} 
[2026-07-27 12:17:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:17:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 12:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-27 12:17:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:17:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:17:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:17:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:17:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:17:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:17:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:17:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:17:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:17:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:17:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994386688001,"66":25538,"199":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-27 12:17:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:17:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:17:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994386688001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:17:38] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-27 12:17:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:17:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:17:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 12:17:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994386688001,"power":25538,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 12:17:38] local.INFO: DEBUG: GPS processor result {"connection_id":142832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:17:38] local.INFO: GPS data processed {"connection_id":142832,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:17:38] local.INFO: Acknowledgment sent {"connection_id":142832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:17:39] local.INFO: TCP Data received {"connection_id":142958,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa25256c8012d18cd00072124080045015928..."} 
[2026-07-27 12:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa25256c8012d18cd00072124080045015928..."} 
[2026-07-27 12:17:39] local.INFO: Processing buffer {"connection_id":142958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa25256c8012d18cd00072124080045015928..."} 
[2026-07-27 12:17:39] local.INFO: Packet analysis {"connection_id":142958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa252"} 
[2026-07-27 12:17:39] local.INFO: Extracted packet for processing {"connection_id":142958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa252"} 
[2026-07-27 12:17:39] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119612424,"longitude_deg":75.6600064,"latitude_deg":11.9612424,"altitude":69,"angle":345,"satellites":40,"speed":0,"hex_longitude":"2d18cd00","hex_latitude":"07212408","is_valid_coordinates":true} 
[2026-07-27 12:17:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:17:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994486528001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:17:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8838707687718912,"note":"Value kept but may cause issues"} 
[2026-07-27 12:17:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657756735488,"note":"Value kept but may cause issues"} 
[2026-07-27 12:17:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:17:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785134733000,"timestamp_ms":1785134733000,"timestamp_seconds":1785134733,"priority":1,"record_length":96,"hex_timestamp":"0000019fa25256c8"} 
[2026-07-27 12:17:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:17:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-27 12:17:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:17:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:17:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:17:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:17:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:17:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142958,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:17:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142958,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:17:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:17:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:17:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:17:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994486528001,"66":11993,"121":206,"28":31744,"24":0,"16":8838707687718912,"45":1787084657756735488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:17:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:17:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:17:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994486528001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:17:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:17:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:17:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8838707687718912,"km_value":8838707687718.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:17:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657756735488,"description":"Unknown IO ID 45"} 
[2026-07-27 12:17:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994486528001,"power":11993,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1787084657756735488}} 
[2026-07-27 12:17:39] local.INFO: DEBUG: GPS processor result {"connection_id":142958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553025,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:17:39] local.INFO: GPS data processed {"connection_id":142958,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:17:39] local.INFO: Acknowledgment sent {"connection_id":142958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:18:00] local.INFO: TCP Data received {"connection_id":145248,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145248,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:18:00] local.INFO: Processing buffer {"connection_id":145248,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:18:00] local.INFO: IMEI packet received {"connection_id":145248,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 12:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":145248,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:18:05] local.INFO: TCP Data received {"connection_id":145248,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145248,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:18:05] local.INFO: Processing buffer {"connection_id":145248,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:18:05] local.INFO: IMEI packet received {"connection_id":145248,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 12:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":145248,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:18:07] local.INFO: TCP Data received {"connection_id":145248,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa252a8d0012d18cd0007212408004501592b..."} 
[2026-07-27 12:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145248,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa252a8d0012d18cd0007212408004501592b..."} 
[2026-07-27 12:18:07] local.INFO: Processing buffer {"connection_id":145248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa252a8d0012d18cd0007212408004501592b..."} 
[2026-07-27 12:18:07] local.INFO: Packet analysis {"connection_id":145248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa252"} 
[2026-07-27 12:18:07] local.INFO: Extracted packet for processing {"connection_id":145248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa252"} 
[2026-07-27 12:18:07] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119612424,"longitude_deg":75.6600064,"latitude_deg":11.9612424,"altitude":69,"angle":345,"satellites":43,"speed":0,"hex_longitude":"2d18cd00","hex_latitude":"07212408","is_valid_coordinates":true} 
[2026-07-27 12:18:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:18:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994491648001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:18:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8838707687718912,"note":"Value kept but may cause issues"} 
[2026-07-27 12:18:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657756735488,"note":"Value kept but may cause issues"} 
[2026-07-27 12:18:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:18:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785134754000,"timestamp_ms":1785134754000,"timestamp_seconds":1785134754,"priority":1,"record_length":96,"hex_timestamp":"0000019fa252a8d0"} 
[2026-07-27 12:18:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:18:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12:18:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-27 12:18:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2381,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:18:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:18:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:18:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:18:07] local.INFO: Teltonika packet parsed successfully {"connection_id":145248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:18:07] local.INFO: Passing IMEI to GPS processor {"connection_id":145248,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:18:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":145248,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:18:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:18:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:18:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:18:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994491648001,"66":12298,"121":206,"28":31744,"24":0,"16":8838707687718912,"45":1787084657756735488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:18:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:18:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:18:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994491648001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:18:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:18:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:18:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8838707687718912,"km_value":8838707687718.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:18:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657756735488,"description":"Unknown IO ID 45"} 
[2026-07-27 12:18:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994491648001,"power":12298,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1787084657756735488}} 
[2026-07-27 12:18:07] local.INFO: DEBUG: GPS processor result {"connection_id":145248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553026,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:18:07] local.INFO: GPS data processed {"connection_id":145248,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:18:07] local.INFO: Acknowledgment sent {"connection_id":145248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:18:09] local.INFO: TCP Data received {"connection_id":142832,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa250ad00012d7faac005afe4b00000015224..."} 
[2026-07-27 12:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142832,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa250ad00012d7faac005afe4b00000015224..."} 
[2026-07-27 12:18:09] local.INFO: Processing buffer {"connection_id":142832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa250ad00012d7faac005afe4b00000015224..."} 
[2026-07-27 12:18:09] local.INFO: Packet analysis {"connection_id":142832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa250"} 
[2026-07-27 12:18:09] local.INFO: Extracted packet for processing {"connection_id":142832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa250"} 
[2026-07-27 12:18:09] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":0,"angle":338,"satellites":36,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 12:18:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994386688001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:18:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 12:18:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 12:18:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:18:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785134624000,"timestamp_ms":1785134624000,"timestamp_seconds":1785134624,"priority":1,"record_length":96,"hex_timestamp":"0000019fa250ad00"} 
[2026-07-27 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-07-27 12:18:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":173,"data_length":795,"current_offset":136} 
[2026-07-27 12:18:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 12:18:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:18:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:18:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:18:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12: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-07-27 12:18:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:18:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:18:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994386688001,"66":25538,"199":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-27 12:18:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:18:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:18:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994386688001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:18:09] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-27 12:18:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:18:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:18:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 12:18:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994386688001,"power":25538,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 12:18:09] local.INFO: DEBUG: GPS processor result {"connection_id":142832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:18:09] local.INFO: GPS data processed {"connection_id":142832,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:18:09] local.INFO: Acknowledgment sent {"connection_id":142832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:18:32] local.INFO: TCP Data received {"connection_id":142959,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:18:32] local.INFO: Processing buffer {"connection_id":142959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:18:32] local.INFO: IMEI packet received {"connection_id":142959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 12:18:32] local.INFO: IMEI acknowledgment sent {"connection_id":142959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:18:37] local.INFO: TCP Data received {"connection_id":142959,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:18:37] local.INFO: Processing buffer {"connection_id":142959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:18:37] local.INFO: IMEI packet received {"connection_id":142959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 12:18:37] local.INFO: IMEI acknowledgment sent {"connection_id":142959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:18:38] local.INFO: TCP Data received {"connection_id":142959,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa250ad00012d7faac005afe4b00000015224..."} 
[2026-07-27 12:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa250ad00012d7faac005afe4b00000015224..."} 
[2026-07-27 12:18:38] local.INFO: Processing buffer {"connection_id":142959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa250ad00012d7faac005afe4b00000015224..."} 
[2026-07-27 12:18:38] local.INFO: Packet analysis {"connection_id":142959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa250"} 
[2026-07-27 12:18:38] local.INFO: Extracted packet for processing {"connection_id":142959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa250"} 
[2026-07-27 12:18:38] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":0,"angle":338,"satellites":36,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 12:18:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:18:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994386688001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:18:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 12:18:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 12:18:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:18:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785134624000,"timestamp_ms":1785134624000,"timestamp_seconds":1785134624,"priority":1,"record_length":96,"hex_timestamp":"0000019fa250ad00"} 
[2026-07-27 12:18:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:18:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 12:18:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-27 12:18:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:18:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:18:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:18:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:18:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:18:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:18:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:18:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:18:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:18:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:18:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994386688001,"66":25538,"199":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-27 12:18:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:18:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:18:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994386688001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:18:38] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-27 12:18:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:18:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:18:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 12:18:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994386688001,"power":25538,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 12:18:38] local.INFO: DEBUG: GPS processor result {"connection_id":142959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:18:38] local.INFO: GPS data processed {"connection_id":142959,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:18:38] local.INFO: Acknowledgment sent {"connection_id":142959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:18:38] local.INFO: TCP Data received {"connection_id":145248,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa252fad8012d18cd0007212408004501592a..."} 
[2026-07-27 12:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145248,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa252fad8012d18cd0007212408004501592a..."} 
[2026-07-27 12:18:38] local.INFO: Processing buffer {"connection_id":145248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa252fad8012d18cd0007212408004501592a..."} 
[2026-07-27 12:18:38] local.INFO: Packet analysis {"connection_id":145248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa252"} 
[2026-07-27 12:18:38] local.INFO: Extracted packet for processing {"connection_id":145248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa252"} 
[2026-07-27 12:18:38] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119612424,"longitude_deg":75.6600064,"latitude_deg":11.9612424,"altitude":69,"angle":345,"satellites":42,"speed":0,"hex_longitude":"2d18cd00","hex_latitude":"07212408","is_valid_coordinates":true} 
[2026-07-27 12:18:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:18:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994497024001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:18:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8838707687718912,"note":"Value kept but may cause issues"} 
[2026-07-27 12:18:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657756735488,"note":"Value kept but may cause issues"} 
[2026-07-27 12:18:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:18:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785134775000,"timestamp_ms":1785134775000,"timestamp_seconds":1785134775,"priority":1,"record_length":96,"hex_timestamp":"0000019fa252fad8"} 
[2026-07-27 12:18:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:18:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12:18:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-27 12:18:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":513731449279807833,"note":"Value kept but may cause issues"} 
[2026-07-27 12:18:38] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168048982131200,"note":"Value kept but may cause issues"} 
[2026-07-27 12:18:38] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452319,"note":"Value kept but may cause issues"} 
[2026-07-27 12:18:38] local.WARNING: Large IO value detected {"io_id":102,"raw_value":-4467570830351532031,"note":"Value kept but may cause issues"} 
[2026-07-27 12:18:38] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-6750778640341067571,"note":"Value kept but may cause issues"} 
[2026-07-27 12:18:38] local.WARNING: Large IO value detected {"io_id":69,"raw_value":97152847430287360,"note":"Value kept but may cause issues"} 
[2026-07-27 12:18:38] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832588,"note":"Value kept but may cause issues"} 
[2026-07-27 12:18:38] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3498171894911795406,"note":"Value kept but may cause issues"} 
[2026-07-27 12:18:38] local.WARNING: Large IO value detected {"io_id":14,"raw_value":2818649368,"note":"Value kept but may cause issues"} 
[2026-07-27 12:18:38] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,121,28,24,241,158,16,102,159,86,45,36,69,40,10,66,8,43,182,1,240,97,162,33,4,113,205,14,42,239,48,2,31,7,41],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[]} 
[2026-07-27 12:18:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4972353504812204032,"timestamp_seconds":4972353504812204.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 12:18:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:18:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:18:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:18:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145248,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:18:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145248,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:18:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:18:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:18:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:18:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994497024001,"66":12341,"121":206,"28":31744,"24":0,"16":8838707687718912,"45":1787084657756735488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:18:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:18:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:18:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994497024001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:18:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:18:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:18:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8838707687718912,"km_value":8838707687718.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:18:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657756735488,"description":"Unknown IO ID 45"} 
[2026-07-27 12:18:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994497024001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1787084657756735488}} 
[2026-07-27 12:18:38] local.INFO: DEBUG: GPS processor result {"connection_id":145248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553029,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:18:38] local.INFO: GPS data processed {"connection_id":145248,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:18:38] local.INFO: Acknowledgment sent {"connection_id":145248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:19:00] local.INFO: TCP Data received {"connection_id":143958,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143958,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:19:00] local.INFO: Processing buffer {"connection_id":143958,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:19:00] local.INFO: IMEI packet received {"connection_id":143958,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 12:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":143958,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:19:05] local.INFO: TCP Data received {"connection_id":143958,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143958,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:19:05] local.INFO: Processing buffer {"connection_id":143958,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:19:05] local.INFO: IMEI packet received {"connection_id":143958,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 12:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":143958,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:19:06] local.INFO: TCP Data received {"connection_id":143958,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2530a78012d18cd40072123f0004101362a..."} 
[2026-07-27 12:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2530a78012d18cd40072123f0004101362a..."} 
[2026-07-27 12:19:06] local.INFO: Processing buffer {"connection_id":143958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2530a78012d18cd40072123f0004101362a..."} 
[2026-07-27 12:19:06] local.INFO: Packet analysis {"connection_id":143958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa253"} 
[2026-07-27 12:19:06] local.INFO: Extracted packet for processing {"connection_id":143958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa253"} 
[2026-07-27 12:19:06] local.INFO: GPS Element Parsed {"raw_longitude":756600128,"raw_latitude":119612400,"longitude_deg":75.6600128,"latitude_deg":11.96124,"altitude":65,"angle":310,"satellites":42,"speed":1,"hex_longitude":"2d18cd40","hex_latitude":"072123f0","is_valid_coordinates":true} 
[2026-07-27 12:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994502400001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:19:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8838707687718912,"note":"Value kept but may cause issues"} 
[2026-07-27 12:19:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657756735488,"note":"Value kept but may cause issues"} 
[2026-07-27 12:19:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:19:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785134779000,"timestamp_ms":1785134779000,"timestamp_seconds":1785134779,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2530a78"} 
[2026-07-27 12:19:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:19:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 12:19:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:19:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:19:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:19:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:19:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:19:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143958,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:19:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143958,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:19:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:19:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:19:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:19:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994502400001,"66":12374,"121":206,"28":31744,"24":1,"16":8838707687718912,"45":1787084657756735488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:19:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:19:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:19:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994502400001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:19:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:19:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:19:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8838707687718912,"km_value":8838707687718.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:19:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657756735488,"description":"Unknown IO ID 45"} 
[2026-07-27 12:19:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994502400001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":1,"odometer":null,"unknown_45":1787084657756735488}} 
[2026-07-27 12:19:06] local.INFO: DEBUG: GPS processor result {"connection_id":143958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553030,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:19:06] local.INFO: GPS data processed {"connection_id":143958,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:19:06] local.INFO: Acknowledgment sent {"connection_id":143958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:19:09] local.INFO: TCP Data received {"connection_id":142959,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa250ad00012d7faac005afe4b00000015224..."} 
[2026-07-27 12:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa250ad00012d7faac005afe4b00000015224..."} 
[2026-07-27 12:19:09] local.INFO: Processing buffer {"connection_id":142959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa250ad00012d7faac005afe4b00000015224..."} 
[2026-07-27 12:19:09] local.INFO: Packet analysis {"connection_id":142959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa250"} 
[2026-07-27 12:19:09] local.INFO: Extracted packet for processing {"connection_id":142959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa250"} 
[2026-07-27 12:19:09] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":0,"angle":338,"satellites":36,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 12:19:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994386688001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:19:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 12:19:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 12:19:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:19:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785134624000,"timestamp_ms":1785134624000,"timestamp_seconds":1785134624,"priority":1,"record_length":96,"hex_timestamp":"0000019fa250ad00"} 
[2026-07-27 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-07-27 12:19:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":173,"data_length":795,"current_offset":136} 
[2026-07-27 12:19:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 12:19:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:19:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:19:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:19:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:19: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-07-27 12:19:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:19:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:19:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994386688001,"66":25538,"199":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-27 12:19:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:19:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:19:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994386688001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:19:09] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-27 12:19:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:19:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:19:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 12:19:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994386688001,"power":25538,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 12:19:09] local.INFO: DEBUG: GPS processor result {"connection_id":142959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:19:09] local.INFO: GPS data processed {"connection_id":142959,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:19:09] local.INFO: Acknowledgment sent {"connection_id":142959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:19:32] local.INFO: TCP Data received {"connection_id":142960,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:19:32] local.INFO: Processing buffer {"connection_id":142960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:19:32] local.INFO: IMEI packet received {"connection_id":142960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 12:19:32] local.INFO: IMEI acknowledgment sent {"connection_id":142960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:19:37] local.INFO: TCP Data received {"connection_id":142960,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:19:37] local.INFO: Processing buffer {"connection_id":142960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:19:37] local.INFO: IMEI packet received {"connection_id":142960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 12:19:37] local.INFO: IMEI acknowledgment sent {"connection_id":142960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:19:38] local.INFO: TCP Data received {"connection_id":143958,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa25329b8012d18cd0007212438003e01432a..."} 
[2026-07-27 12:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa25329b8012d18cd0007212438003e01432a..."} 
[2026-07-27 12:19:38] local.INFO: Processing buffer {"connection_id":143958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa25329b8012d18cd0007212438003e01432a..."} 
[2026-07-27 12:19:38] local.INFO: Packet analysis {"connection_id":143958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa253"} 
[2026-07-27 12:19:38] local.INFO: Extracted packet for processing {"connection_id":143958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa253"} 
[2026-07-27 12:19:38] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119612472,"longitude_deg":75.6600064,"latitude_deg":11.9612472,"altitude":62,"angle":323,"satellites":42,"speed":0,"hex_longitude":"2d18cd00","hex_latitude":"07212438","is_valid_coordinates":true} 
[2026-07-27 12:19:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:19:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994503424001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:19:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8838724867588096,"note":"Value kept but may cause issues"} 
[2026-07-27 12:19:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787155026500907008,"note":"Value kept but may cause issues"} 
[2026-07-27 12:19:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:19:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785134787000,"timestamp_ms":1785134787000,"timestamp_seconds":1785134787,"priority":1,"record_length":96,"hex_timestamp":"0000019fa25329b8"} 
[2026-07-27 12:19:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:19:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12:19:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-27 12:19:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:19:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:19:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:19:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:19:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:19:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143958,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:19:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143958,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:19:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:19:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:19:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:19:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994503424001,"66":12385,"121":206,"28":31744,"24":0,"16":8838724867588096,"45":1787155026500907008},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:19:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:19:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:19:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994503424001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:19:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:19:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:19:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8838724867588096,"km_value":8838724867588.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:19:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787155026500907008,"description":"Unknown IO ID 45"} 
[2026-07-27 12:19:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994503424001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1787155026500907008}} 
[2026-07-27 12:19:38] local.INFO: DEBUG: GPS processor result {"connection_id":143958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553032,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:19:38] local.INFO: GPS data processed {"connection_id":143958,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:19:38] local.INFO: Acknowledgment sent {"connection_id":143958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:19:38] local.INFO: TCP Data received {"connection_id":142960,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa25544c8012d7faac005afe4b00000015226..."} 
[2026-07-27 12:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa25544c8012d7faac005afe4b00000015226..."} 
[2026-07-27 12:19:38] local.INFO: Processing buffer {"connection_id":142960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa25544c8012d7faac005afe4b00000015226..."} 
[2026-07-27 12:19:38] local.INFO: Packet analysis {"connection_id":142960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa255"} 
[2026-07-27 12:19:38] local.INFO: Extracted packet for processing {"connection_id":142960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa255"} 
[2026-07-27 12:19:38] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":0,"angle":338,"satellites":38,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 12:19:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:19:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994463744001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:19:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 12:19:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 12:19:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:19:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785134925000,"timestamp_ms":1785134925000,"timestamp_seconds":1785134925,"priority":1,"record_length":96,"hex_timestamp":"0000019fa25544c8"} 
[2026-07-27 12:19:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:19:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 12:19:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-27 12:19:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:19:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:19:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:19:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:19:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:19:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:19:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:19:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:19:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:19:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:19:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994463744001,"66":25495,"27":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 12:19:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:19:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:19:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994463744001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:19:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 12:19:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:19:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:19:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 12:19:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994463744001,"power":25495,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 12:19:38] local.INFO: DEBUG: GPS processor result {"connection_id":142960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:19:38] local.INFO: GPS data processed {"connection_id":142960,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:19:38] local.INFO: Acknowledgment sent {"connection_id":142960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:20:00] local.INFO: TCP Data received {"connection_id":142961,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142961,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:20:00] local.INFO: Processing buffer {"connection_id":142961,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:20:00] local.INFO: IMEI packet received {"connection_id":142961,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 12:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":142961,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:20:05] local.INFO: TCP Data received {"connection_id":142961,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142961,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:20:05] local.INFO: Processing buffer {"connection_id":142961,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:20:05] local.INFO: IMEI packet received {"connection_id":142961,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 12:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":142961,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:20:07] local.INFO: TCP Data received {"connection_id":142961,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2537bc0012d18cd0007212440003e014329..."} 
[2026-07-27 12:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142961,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2537bc0012d18cd0007212440003e014329..."} 
[2026-07-27 12:20:07] local.INFO: Processing buffer {"connection_id":142961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2537bc0012d18cd0007212440003e014329..."} 
[2026-07-27 12:20:07] local.INFO: Packet analysis {"connection_id":142961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa253"} 
[2026-07-27 12:20:07] local.INFO: Extracted packet for processing {"connection_id":142961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa253"} 
[2026-07-27 12:20:07] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119612480,"longitude_deg":75.6600064,"latitude_deg":11.961248,"altitude":62,"angle":323,"satellites":41,"speed":0,"hex_longitude":"2d18cd00","hex_latitude":"07212440","is_valid_coordinates":true} 
[2026-07-27 12:20:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:20:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994505472001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:20:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8838724867588096,"note":"Value kept but may cause issues"} 
[2026-07-27 12:20:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657756747776,"note":"Value kept but may cause issues"} 
[2026-07-27 12:20:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:20:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785134808000,"timestamp_ms":1785134808000,"timestamp_seconds":1785134808,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2537bc0"} 
[2026-07-27 12:20:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:20:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12:20:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-27 12:20:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:20:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:20:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:20:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:20:07] local.INFO: Teltonika packet parsed successfully {"connection_id":142961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:20:07] local.INFO: Passing IMEI to GPS processor {"connection_id":142961,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:20:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":142961,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:20:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:20:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:20:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:20:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994505472001,"66":12385,"121":206,"28":31744,"24":0,"16":8838724867588096,"45":1787084657756747776},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:20:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:20:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:20:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994505472001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:20:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:20:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:20:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8838724867588096,"km_value":8838724867588.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:20:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657756747776,"description":"Unknown IO ID 45"} 
[2026-07-27 12:20:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994505472001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1787084657756747776}} 
[2026-07-27 12:20:07] local.INFO: DEBUG: GPS processor result {"connection_id":142961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553034,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:20:07] local.INFO: GPS data processed {"connection_id":142961,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:20:07] local.INFO: Acknowledgment sent {"connection_id":142961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:20:09] local.INFO: TCP Data received {"connection_id":142960,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa25544c8012d7faac005afe4b00000015226..."} 
[2026-07-27 12:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa25544c8012d7faac005afe4b00000015226..."} 
[2026-07-27 12:20:09] local.INFO: Processing buffer {"connection_id":142960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa25544c8012d7faac005afe4b00000015226..."} 
[2026-07-27 12:20:09] local.INFO: Packet analysis {"connection_id":142960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa255"} 
[2026-07-27 12:20:09] local.INFO: Extracted packet for processing {"connection_id":142960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa255"} 
[2026-07-27 12:20:09] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":0,"angle":338,"satellites":38,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 12:20:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:20:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994463744001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:20:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 12:20:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 12:20:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:20:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785134925000,"timestamp_ms":1785134925000,"timestamp_seconds":1785134925,"priority":1,"record_length":96,"hex_timestamp":"0000019fa25544c8"} 
[2026-07-27 12:20:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:20:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":194,"data_length":795,"current_offset":136} 
[2026-07-27 12:20:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:20:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:20:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:20:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:20:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:20:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:20:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12: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-07-27 12:20:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:20:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:20:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994463744001,"66":25495,"27":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 12:20:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:20:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:20:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994463744001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:20:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 12:20:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:20:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:20:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 12:20:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994463744001,"power":25495,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 12:20:09] local.INFO: DEBUG: GPS processor result {"connection_id":142960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:20:09] local.INFO: GPS data processed {"connection_id":142960,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:20:09] local.INFO: Acknowledgment sent {"connection_id":142960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:20:32] local.INFO: TCP Data received {"connection_id":143959,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:20:32] local.INFO: Processing buffer {"connection_id":143959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:20:32] local.INFO: IMEI packet received {"connection_id":143959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 12:20:32] local.INFO: IMEI acknowledgment sent {"connection_id":143959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:20:37] local.INFO: TCP Data received {"connection_id":143959,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:20:37] local.INFO: Processing buffer {"connection_id":143959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:20:37] local.INFO: IMEI packet received {"connection_id":143959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 12:20:37] local.INFO: IMEI acknowledgment sent {"connection_id":143959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:20:38] local.INFO: TCP Data received {"connection_id":142961,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa253cdc8012d18cd0007212440003e014329..."} 
[2026-07-27 12:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142961,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa253cdc8012d18cd0007212440003e014329..."} 
[2026-07-27 12:20:38] local.INFO: Processing buffer {"connection_id":142961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa253cdc8012d18cd0007212440003e014329..."} 
[2026-07-27 12:20:38] local.INFO: Packet analysis {"connection_id":142961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa253"} 
[2026-07-27 12:20:38] local.INFO: Extracted packet for processing {"connection_id":142961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa253"} 
[2026-07-27 12:20:38] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119612480,"longitude_deg":75.6600064,"latitude_deg":11.961248,"altitude":62,"angle":323,"satellites":41,"speed":0,"hex_longitude":"2d18cd00","hex_latitude":"07212440","is_valid_coordinates":true} 
[2026-07-27 12:20:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:20:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994510848001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:20:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8838724867588096,"note":"Value kept but may cause issues"} 
[2026-07-27 12:20:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657756749824,"note":"Value kept but may cause issues"} 
[2026-07-27 12:20:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:20:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785134829000,"timestamp_ms":1785134829000,"timestamp_seconds":1785134829,"priority":1,"record_length":96,"hex_timestamp":"0000019fa253cdc8"} 
[2026-07-27 12:20:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:20:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12:20:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-27 12:20:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:20:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:20:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:20:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:20:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:20:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142961,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:20:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142961,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:20:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:20:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:20:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:20:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994510848001,"66":12374,"121":206,"28":31744,"24":0,"16":8838724867588096,"45":1787084657756749824},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:20:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:20:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:20:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994510848001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:20:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:20:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:20:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8838724867588096,"km_value":8838724867588.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:20:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657756749824,"description":"Unknown IO ID 45"} 
[2026-07-27 12:20:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994510848001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1787084657756749824}} 
[2026-07-27 12:20:38] local.INFO: DEBUG: GPS processor result {"connection_id":142961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553036,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:20:38] local.INFO: GPS data processed {"connection_id":142961,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:20:38] local.INFO: Acknowledgment sent {"connection_id":142961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:20:42] local.INFO: TCP Data received {"connection_id":143959,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa25544c8012d7faac005afe4b00000015226..."} 
[2026-07-27 12:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa25544c8012d7faac005afe4b00000015226..."} 
[2026-07-27 12:20:42] local.INFO: Processing buffer {"connection_id":143959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa25544c8012d7faac005afe4b00000015226..."} 
[2026-07-27 12:20:42] local.INFO: Packet analysis {"connection_id":143959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa255"} 
[2026-07-27 12:20:42] local.INFO: Extracted packet for processing {"connection_id":143959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa255"} 
[2026-07-27 12:20:42] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":0,"angle":338,"satellites":38,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 12:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:20:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994463744001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:20:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 12:20:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 12:20:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:20:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785134925000,"timestamp_ms":1785134925000,"timestamp_seconds":1785134925,"priority":1,"record_length":96,"hex_timestamp":"0000019fa25544c8"} 
[2026-07-27 12:20:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:20:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 12:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-27 12:20:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:20:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:20:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:20:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:20:42] local.INFO: Teltonika packet parsed successfully {"connection_id":143959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:20:42] local.INFO: Passing IMEI to GPS processor {"connection_id":143959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:20:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":143959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:20: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-07-27 12:20:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:20:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:20:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994463744001,"66":25495,"27":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 12:20:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:20:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:20:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994463744001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:20:42] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 12:20:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:20:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:20:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 12:20:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994463744001,"power":25495,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 12:20:42] local.INFO: DEBUG: GPS processor result {"connection_id":143959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:20:42] local.INFO: GPS data processed {"connection_id":143959,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:20:42] local.INFO: Acknowledgment sent {"connection_id":143959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:21:00] local.INFO: TCP Data received {"connection_id":142962,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142962,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:21:00] local.INFO: Processing buffer {"connection_id":142962,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:21:00] local.INFO: IMEI packet received {"connection_id":142962,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 12:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":142962,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:21:05] local.INFO: TCP Data received {"connection_id":142962,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142962,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:21:05] local.INFO: Processing buffer {"connection_id":142962,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:21:05] local.INFO: IMEI packet received {"connection_id":142962,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 12:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":142962,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:21:07] local.INFO: TCP Data received {"connection_id":142962,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2541fd0012d18cd0007212440003e014328..."} 
[2026-07-27 12:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2541fd0012d18cd0007212440003e014328..."} 
[2026-07-27 12:21:07] local.INFO: Processing buffer {"connection_id":142962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2541fd0012d18cd0007212440003e014328..."} 
[2026-07-27 12:21:07] local.INFO: Packet analysis {"connection_id":142962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa254"} 
[2026-07-27 12:21:07] local.INFO: Extracted packet for processing {"connection_id":142962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa254"} 
[2026-07-27 12:21:07] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119612480,"longitude_deg":75.6600064,"latitude_deg":11.961248,"altitude":62,"angle":323,"satellites":40,"speed":0,"hex_longitude":"2d18cd00","hex_latitude":"07212440","is_valid_coordinates":true} 
[2026-07-27 12:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:21:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994516224001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:21:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8838724867588096,"note":"Value kept but may cause issues"} 
[2026-07-27 12:21:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657756749824,"note":"Value kept but may cause issues"} 
[2026-07-27 12:21:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:21:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785134850000,"timestamp_ms":1785134850000,"timestamp_seconds":1785134850,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2541fd0"} 
[2026-07-27 12:21:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:21:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-27 12:21:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:21:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:21:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:21:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:21:07] local.INFO: Teltonika packet parsed successfully {"connection_id":142962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:21:07] local.INFO: Passing IMEI to GPS processor {"connection_id":142962,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:21:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":142962,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:21:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:21:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:21:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:21:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994516224001,"66":12374,"121":206,"28":31744,"24":0,"16":8838724867588096,"45":1787084657756749824},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:21:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:21:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:21:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994516224001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:21:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:21:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:21:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8838724867588096,"km_value":8838724867588.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:21:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657756749824,"description":"Unknown IO ID 45"} 
[2026-07-27 12:21:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994516224001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1787084657756749824}} 
[2026-07-27 12:21:07] local.INFO: DEBUG: GPS processor result {"connection_id":142962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553038,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:21:07] local.INFO: GPS data processed {"connection_id":142962,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:21:07] local.INFO: Acknowledgment sent {"connection_id":142962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:21:14] local.INFO: TCP Data received {"connection_id":143959,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa25544c8012d7faac005afe4b00000015226..."} 
[2026-07-27 12:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa25544c8012d7faac005afe4b00000015226..."} 
[2026-07-27 12:21:14] local.INFO: Processing buffer {"connection_id":143959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa25544c8012d7faac005afe4b00000015226..."} 
[2026-07-27 12:21:14] local.INFO: Packet analysis {"connection_id":143959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa255"} 
[2026-07-27 12:21:14] local.INFO: Extracted packet for processing {"connection_id":143959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa255"} 
[2026-07-27 12:21:14] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":0,"angle":338,"satellites":38,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 12:21:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:21:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994463744001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:21:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 12:21:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 12:21:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:21:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785134925000,"timestamp_ms":1785134925000,"timestamp_seconds":1785134925,"priority":1,"record_length":96,"hex_timestamp":"0000019fa25544c8"} 
[2026-07-27 12:21:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:21:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 12:21:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-27 12:21:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:21:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:21:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:21:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:21:14] local.INFO: Teltonika packet parsed successfully {"connection_id":143959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:21:14] local.INFO: Passing IMEI to GPS processor {"connection_id":143959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:21:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":143959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:21: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-07-27 12:21:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:21:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:21:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994463744001,"66":25495,"27":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 12:21:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:21:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:21:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994463744001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:21:14] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 12:21:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:21:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:21:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 12:21:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994463744001,"power":25495,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 12:21:14] local.INFO: DEBUG: GPS processor result {"connection_id":143959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:21:14] local.INFO: GPS data processed {"connection_id":143959,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:21:14] local.INFO: Acknowledgment sent {"connection_id":143959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:21:32] local.INFO: TCP Data received {"connection_id":142963,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:21:32] local.INFO: Processing buffer {"connection_id":142963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:21:32] local.INFO: IMEI packet received {"connection_id":142963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 12:21:32] local.INFO: IMEI acknowledgment sent {"connection_id":142963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:21:37] local.INFO: TCP Data received {"connection_id":142963,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:21:37] local.INFO: Processing buffer {"connection_id":142963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:21:37] local.INFO: IMEI packet received {"connection_id":142963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 12:21:37] local.INFO: IMEI acknowledgment sent {"connection_id":142963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:21:38] local.INFO: TCP Data received {"connection_id":142963,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa25544c8012d7faac005afe4b00000015226..."} 
[2026-07-27 12:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142963,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa25544c8012d7faac005afe4b00000015226..."} 
[2026-07-27 12:21:38] local.INFO: Processing buffer {"connection_id":142963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa25544c8012d7faac005afe4b00000015226..."} 
[2026-07-27 12:21:38] local.INFO: Packet analysis {"connection_id":142963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa255"} 
[2026-07-27 12:21:38] local.INFO: Extracted packet for processing {"connection_id":142963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa255"} 
[2026-07-27 12:21:38] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":0,"angle":338,"satellites":38,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 12:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:21:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994463744001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:21:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 12:21:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 12:21:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:21:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785134925000,"timestamp_ms":1785134925000,"timestamp_seconds":1785134925,"priority":1,"record_length":96,"hex_timestamp":"0000019fa25544c8"} 
[2026-07-27 12:21:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:21:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 12:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-27 12:21:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:21:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:21:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:21:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:21:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:21:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:21:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:21:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:21:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:21:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:21:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994463744001,"66":25495,"27":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 12:21:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:21:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:21:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994463744001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:21:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 12:21:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:21:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:21:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 12:21:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994463744001,"power":25495,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 12:21:38] local.INFO: DEBUG: GPS processor result {"connection_id":142963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:21:38] local.INFO: GPS data processed {"connection_id":142963,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:21:38] local.INFO: Acknowledgment sent {"connection_id":142963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:21:38] local.INFO: TCP Data received {"connection_id":142962,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa25471d8012d18cd0007212440003e01432a..."} 
[2026-07-27 12:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa25471d8012d18cd0007212440003e01432a..."} 
[2026-07-27 12:21:38] local.INFO: Processing buffer {"connection_id":142962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa25471d8012d18cd0007212440003e01432a..."} 
[2026-07-27 12:21:38] local.INFO: Packet analysis {"connection_id":142962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa254"} 
[2026-07-27 12:21:38] local.INFO: Extracted packet for processing {"connection_id":142962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa254"} 
[2026-07-27 12:21:38] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119612480,"longitude_deg":75.6600064,"latitude_deg":11.961248,"altitude":62,"angle":323,"satellites":42,"speed":0,"hex_longitude":"2d18cd00","hex_latitude":"07212440","is_valid_coordinates":true} 
[2026-07-27 12:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:21:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994521600001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:21:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8838724867588096,"note":"Value kept but may cause issues"} 
[2026-07-27 12:21:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657756749824,"note":"Value kept but may cause issues"} 
[2026-07-27 12:21:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:21:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785134871000,"timestamp_ms":1785134871000,"timestamp_seconds":1785134871,"priority":1,"record_length":96,"hex_timestamp":"0000019fa25471d8"} 
[2026-07-27 12:21:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:21:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-27 12:21:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:21:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:21:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:21:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:21:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:21:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142962,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:21:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142962,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:21:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:21:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:21:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:21:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994521600001,"66":12341,"121":206,"28":31744,"24":0,"16":8838724867588096,"45":1787084657756749824},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:21:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:21:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:21:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994521600001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:21:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:21:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:21:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8838724867588096,"km_value":8838724867588.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:21:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657756749824,"description":"Unknown IO ID 45"} 
[2026-07-27 12:21:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994521600001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1787084657756749824}} 
[2026-07-27 12:21:39] local.INFO: DEBUG: GPS processor result {"connection_id":142962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553041,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:21:39] local.INFO: GPS data processed {"connection_id":142962,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:21:39] local.INFO: Acknowledgment sent {"connection_id":142962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:22:00] local.INFO: TCP Data received {"connection_id":145249,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145249,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:22:00] local.INFO: Processing buffer {"connection_id":145249,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:22:00] local.INFO: IMEI packet received {"connection_id":145249,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 12:22:00] local.INFO: IMEI acknowledgment sent {"connection_id":145249,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:22:05] local.INFO: TCP Data received {"connection_id":145249,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145249,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:22:05] local.INFO: Processing buffer {"connection_id":145249,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:22:05] local.INFO: IMEI packet received {"connection_id":145249,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 12:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":145249,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:22:06] local.INFO: TCP Data received {"connection_id":145249,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa254c3e0012d18cd0007212440003e01432c..."} 
[2026-07-27 12:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145249,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa254c3e0012d18cd0007212440003e01432c..."} 
[2026-07-27 12:22:06] local.INFO: Processing buffer {"connection_id":145249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa254c3e0012d18cd0007212440003e01432c..."} 
[2026-07-27 12:22:06] local.INFO: Packet analysis {"connection_id":145249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa254"} 
[2026-07-27 12:22:06] local.INFO: Extracted packet for processing {"connection_id":145249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa254"} 
[2026-07-27 12:22:06] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119612480,"longitude_deg":75.6600064,"latitude_deg":11.961248,"altitude":62,"angle":323,"satellites":44,"speed":0,"hex_longitude":"2d18cd00","hex_latitude":"07212440","is_valid_coordinates":true} 
[2026-07-27 12:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:22:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994526976001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:22:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8838724867588096,"note":"Value kept but may cause issues"} 
[2026-07-27 12:22:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657756749824,"note":"Value kept but may cause issues"} 
[2026-07-27 12:22:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:22:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785134892000,"timestamp_ms":1785134892000,"timestamp_seconds":1785134892,"priority":1,"record_length":96,"hex_timestamp":"0000019fa254c3e0"} 
[2026-07-27 12:22:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:22:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 12:22:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:22:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:22:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:22:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:22:06] local.INFO: Teltonika packet parsed successfully {"connection_id":145249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:22:06] local.INFO: Passing IMEI to GPS processor {"connection_id":145249,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:22:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":145249,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:22:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:22:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:22:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:22:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994526976001,"66":12319,"121":206,"28":31744,"24":0,"16":8838724867588096,"45":1787084657756749824},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:22:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:22:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:22:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994526976001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:22:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:22:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:22:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8838724867588096,"km_value":8838724867588.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:22:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657756749824,"description":"Unknown IO ID 45"} 
[2026-07-27 12:22:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994526976001,"power":12319,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1787084657756749824}} 
[2026-07-27 12:22:07] local.INFO: DEBUG: GPS processor result {"connection_id":145249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553042,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:22:07] local.INFO: GPS data processed {"connection_id":145249,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:22:07] local.INFO: Acknowledgment sent {"connection_id":145249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:22:09] local.INFO: TCP Data received {"connection_id":142963,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa25544c8012d7faac005afe4b00000015226..."} 
[2026-07-27 12:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142963,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa25544c8012d7faac005afe4b00000015226..."} 
[2026-07-27 12:22:09] local.INFO: Processing buffer {"connection_id":142963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa25544c8012d7faac005afe4b00000015226..."} 
[2026-07-27 12:22:09] local.INFO: Packet analysis {"connection_id":142963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa255"} 
[2026-07-27 12:22:09] local.INFO: Extracted packet for processing {"connection_id":142963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa255"} 
[2026-07-27 12:22:09] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":0,"angle":338,"satellites":38,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 12:22:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994463744001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:22:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 12:22:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 12:22:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:22:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785134925000,"timestamp_ms":1785134925000,"timestamp_seconds":1785134925,"priority":1,"record_length":96,"hex_timestamp":"0000019fa25544c8"} 
[2026-07-27 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-07-27 12:22:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":194,"data_length":795,"current_offset":136} 
[2026-07-27 12:22:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 12:22:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:22:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:22:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:22:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12: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-07-27 12:22:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:22:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:22:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994463744001,"66":25495,"27":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 12:22:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:22:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:22:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994463744001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:22:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 12:22:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:22:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:22:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 12:22:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994463744001,"power":25495,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 12:22:09] local.INFO: DEBUG: GPS processor result {"connection_id":142963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:22:09] local.INFO: GPS data processed {"connection_id":142963,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:22:09] local.INFO: Acknowledgment sent {"connection_id":142963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:22:32] local.INFO: TCP Data received {"connection_id":142833,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:22:32] local.INFO: Processing buffer {"connection_id":142833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:22:32] local.INFO: IMEI packet received {"connection_id":142833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 12:22:32] local.INFO: IMEI acknowledgment sent {"connection_id":142833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:22:37] local.INFO: TCP Data received {"connection_id":142833,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:22:37] local.INFO: Processing buffer {"connection_id":142833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:22:37] local.INFO: IMEI packet received {"connection_id":142833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 12:22:37] local.INFO: IMEI acknowledgment sent {"connection_id":142833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:22:38] local.INFO: TCP Data received {"connection_id":142833,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa25544c8012d7faac005afe4b00000015226..."} 
[2026-07-27 12:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa25544c8012d7faac005afe4b00000015226..."} 
[2026-07-27 12:22:38] local.INFO: Processing buffer {"connection_id":142833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa25544c8012d7faac005afe4b00000015226..."} 
[2026-07-27 12:22:38] local.INFO: Packet analysis {"connection_id":142833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa255"} 
[2026-07-27 12:22:38] local.INFO: Extracted packet for processing {"connection_id":142833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa255"} 
[2026-07-27 12:22:38] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":0,"angle":338,"satellites":38,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 12:22:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:22:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994463744001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:22:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 12:22:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 12:22:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:22:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785134925000,"timestamp_ms":1785134925000,"timestamp_seconds":1785134925,"priority":1,"record_length":96,"hex_timestamp":"0000019fa25544c8"} 
[2026-07-27 12:22:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:22:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 12:22:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-27 12:22:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:22:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:22:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:22:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:22:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:22:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:22:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:22:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:22:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:22:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:22:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994463744001,"66":25495,"27":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 12:22:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:22:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:22:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994463744001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:22:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 12:22:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:22:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:22:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 12:22:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994463744001,"power":25495,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 12:22:38] local.INFO: TCP Data received {"connection_id":145249,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa25515e8012d18cd0007212440003e01432c..."} 
[2026-07-27 12:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145249,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa25515e8012d18cd0007212440003e01432c..."} 
[2026-07-27 12:22:38] local.INFO: Processing buffer {"connection_id":145249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa25515e8012d18cd0007212440003e01432c..."} 
[2026-07-27 12:22:38] local.INFO: Packet analysis {"connection_id":145249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa255"} 
[2026-07-27 12:22:38] local.INFO: Extracted packet for processing {"connection_id":145249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa255"} 
[2026-07-27 12:22:38] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119612480,"longitude_deg":75.6600064,"latitude_deg":11.961248,"altitude":62,"angle":323,"satellites":44,"speed":0,"hex_longitude":"2d18cd00","hex_latitude":"07212440","is_valid_coordinates":true} 
[2026-07-27 12:22:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:22:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994532352001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:22:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8838724867588096,"note":"Value kept but may cause issues"} 
[2026-07-27 12:22:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657756749824,"note":"Value kept but may cause issues"} 
[2026-07-27 12:22:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:22:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785134913000,"timestamp_ms":1785134913000,"timestamp_seconds":1785134913,"priority":1,"record_length":96,"hex_timestamp":"0000019fa25515e8"} 
[2026-07-27 12:22:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:22:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12:22:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 12:22:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:22:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:22:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:22:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:22:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:22:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145249,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:22:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145249,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:22:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:22:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:22:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:22:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994532352001,"66":12374,"121":206,"28":31744,"24":0,"16":8838724867588096,"45":1787084657756749824},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:22:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:22:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:22:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994532352001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:22:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:22:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:22:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8838724867588096,"km_value":8838724867588.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:22:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657756749824,"description":"Unknown IO ID 45"} 
[2026-07-27 12:22:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994532352001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1787084657756749824}} 
[2026-07-27 12:22:38] local.INFO: DEBUG: GPS processor result {"connection_id":142833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:22:38] local.INFO: GPS data processed {"connection_id":142833,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:22:38] local.INFO: Acknowledgment sent {"connection_id":142833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:22:38] local.INFO: DEBUG: GPS processor result {"connection_id":145249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553045,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:22:38] local.INFO: GPS data processed {"connection_id":145249,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:22:38] local.INFO: Acknowledgment sent {"connection_id":145249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:23:00] local.INFO: TCP Data received {"connection_id":145250,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145250,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:23:00] local.INFO: Processing buffer {"connection_id":145250,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:23:00] local.INFO: IMEI packet received {"connection_id":145250,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 12:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":145250,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:23:02] local.INFO: TCP Data received {"connection_id":145250,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145250,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:23:02] local.INFO: Processing buffer {"connection_id":145250,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:23:02] local.INFO: IMEI packet received {"connection_id":145250,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 12:23:02] local.INFO: IMEI acknowledgment sent {"connection_id":145250,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:23:06] local.INFO: TCP Data received {"connection_id":145250,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145250,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:23:06] local.INFO: Processing buffer {"connection_id":145250,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:23:06] local.INFO: IMEI packet received {"connection_id":145250,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 12:23:06] local.INFO: IMEI acknowledgment sent {"connection_id":145250,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:23:07] local.INFO: TCP Data received {"connection_id":145250,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa25567f0012d18cd0007212440003e01432b..."} 
[2026-07-27 12:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa25567f0012d18cd0007212440003e01432b..."} 
[2026-07-27 12:23:07] local.INFO: Processing buffer {"connection_id":145250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa25567f0012d18cd0007212440003e01432b..."} 
[2026-07-27 12:23:07] local.INFO: Packet analysis {"connection_id":145250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa255"} 
[2026-07-27 12:23:07] local.INFO: Extracted packet for processing {"connection_id":145250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa255"} 
[2026-07-27 12:23:07] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119612480,"longitude_deg":75.6600064,"latitude_deg":11.961248,"altitude":62,"angle":323,"satellites":43,"speed":0,"hex_longitude":"2d18cd00","hex_latitude":"07212440","is_valid_coordinates":true} 
[2026-07-27 12:23:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:23:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994537728001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:23:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8838724867588096,"note":"Value kept but may cause issues"} 
[2026-07-27 12:23:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657756749824,"note":"Value kept but may cause issues"} 
[2026-07-27 12:23:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:23:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785134934000,"timestamp_ms":1785134934000,"timestamp_seconds":1785134934,"priority":1,"record_length":96,"hex_timestamp":"0000019fa25567f0"} 
[2026-07-27 12:23:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:23:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12:23:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-27 12:23:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:23:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:23:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:23:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:23:07] local.INFO: Teltonika packet parsed successfully {"connection_id":145250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:23:07] local.INFO: Passing IMEI to GPS processor {"connection_id":145250,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:23:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":145250,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:23:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:23:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:23:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:23:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994537728001,"66":12374,"121":206,"28":31744,"24":0,"16":8838724867588096,"45":1787084657756749824},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:23:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:23:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:23:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994537728001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:23:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:23:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:23:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8838724867588096,"km_value":8838724867588.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:23:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657756749824,"description":"Unknown IO ID 45"} 
[2026-07-27 12:23:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994537728001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1787084657756749824}} 
[2026-07-27 12:23:07] local.INFO: DEBUG: GPS processor result {"connection_id":145250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553046,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:23:07] local.INFO: GPS data processed {"connection_id":145250,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:23:07] local.INFO: Acknowledgment sent {"connection_id":145250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:23:09] local.INFO: TCP Data received {"connection_id":142833,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa25544c8012d7faac005afe4b00000015226..."} 
[2026-07-27 12:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa25544c8012d7faac005afe4b00000015226..."} 
[2026-07-27 12:23:09] local.INFO: Processing buffer {"connection_id":142833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa25544c8012d7faac005afe4b00000015226..."} 
[2026-07-27 12:23:09] local.INFO: Packet analysis {"connection_id":142833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa255"} 
[2026-07-27 12:23:09] local.INFO: Extracted packet for processing {"connection_id":142833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa255"} 
[2026-07-27 12:23:09] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":0,"angle":338,"satellites":38,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 12:23:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:23:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994463744001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:23:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 12:23:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 12:23:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:23:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785134925000,"timestamp_ms":1785134925000,"timestamp_seconds":1785134925,"priority":1,"record_length":96,"hex_timestamp":"0000019fa25544c8"} 
[2026-07-27 12:23:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:23:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 12:23:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-27 12:23:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:23:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:23:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:23:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:23:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:23:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:23:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:23: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-07-27 12:23:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:23:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:23:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994463744001,"66":25495,"27":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 12:23:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:23:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:23:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994463744001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:23:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 12:23:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:23:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:23:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 12:23:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994463744001,"power":25495,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 12:23:09] local.INFO: DEBUG: GPS processor result {"connection_id":142833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:23:09] local.INFO: GPS data processed {"connection_id":142833,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:23:09] local.INFO: Acknowledgment sent {"connection_id":142833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:23:37] local.INFO: TCP Data received {"connection_id":143960,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:23:37] local.INFO: Processing buffer {"connection_id":143960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:23:37] local.INFO: IMEI packet received {"connection_id":143960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 12:23:37] local.INFO: IMEI acknowledgment sent {"connection_id":143960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:23:38] local.INFO: TCP Data received {"connection_id":145250,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa255b9f8012d18cd0007212440003e01432a..."} 
[2026-07-27 12:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa255b9f8012d18cd0007212440003e01432a..."} 
[2026-07-27 12:23:38] local.INFO: Processing buffer {"connection_id":145250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa255b9f8012d18cd0007212440003e01432a..."} 
[2026-07-27 12:23:38] local.INFO: Packet analysis {"connection_id":145250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa255"} 
[2026-07-27 12:23:38] local.INFO: Extracted packet for processing {"connection_id":145250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa255"} 
[2026-07-27 12:23:38] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119612480,"longitude_deg":75.6600064,"latitude_deg":11.961248,"altitude":62,"angle":323,"satellites":42,"speed":0,"hex_longitude":"2d18cd00","hex_latitude":"07212440","is_valid_coordinates":true} 
[2026-07-27 12:23:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:23:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994543104001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:23:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8838724867588096,"note":"Value kept but may cause issues"} 
[2026-07-27 12:23:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657756749824,"note":"Value kept but may cause issues"} 
[2026-07-27 12:23:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:23:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785134955000,"timestamp_ms":1785134955000,"timestamp_seconds":1785134955,"priority":1,"record_length":96,"hex_timestamp":"0000019fa255b9f8"} 
[2026-07-27 12:23:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:23:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12:23:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-27 12:23:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:23:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:23:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:23:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:23:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:23:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145250,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:23:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145250,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:23:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:23:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:23:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:23:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994543104001,"66":12341,"121":206,"28":31744,"24":0,"16":8838724867588096,"45":1787084657756749824},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:23:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:23:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:23:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994543104001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:23:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:23:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:23:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8838724867588096,"km_value":8838724867588.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:23:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657756749824,"description":"Unknown IO ID 45"} 
[2026-07-27 12:23:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994543104001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1787084657756749824}} 
[2026-07-27 12:23:38] local.INFO: DEBUG: GPS processor result {"connection_id":145250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553048,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:23:38] local.INFO: GPS data processed {"connection_id":145250,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:23:38] local.INFO: Acknowledgment sent {"connection_id":145250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:23:42] local.INFO: TCP Data received {"connection_id":143960,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:23:42] local.INFO: Processing buffer {"connection_id":143960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:23:42] local.INFO: IMEI packet received {"connection_id":143960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 12:23:42] local.INFO: IMEI acknowledgment sent {"connection_id":143960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:23:43] local.INFO: TCP Data received {"connection_id":143960,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa25544c8012d7faac005afe4b00000015226..."} 
[2026-07-27 12:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa25544c8012d7faac005afe4b00000015226..."} 
[2026-07-27 12:23:43] local.INFO: Processing buffer {"connection_id":143960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa25544c8012d7faac005afe4b00000015226..."} 
[2026-07-27 12:23:43] local.INFO: Packet analysis {"connection_id":143960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa255"} 
[2026-07-27 12:23:43] local.INFO: Extracted packet for processing {"connection_id":143960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa255"} 
[2026-07-27 12:23:43] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":0,"angle":338,"satellites":38,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 12:23:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:23:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994463744001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:23:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 12:23:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 12:23:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:23:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785134925000,"timestamp_ms":1785134925000,"timestamp_seconds":1785134925,"priority":1,"record_length":96,"hex_timestamp":"0000019fa25544c8"} 
[2026-07-27 12:23:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:23:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 12: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":194,"data_length":795,"current_offset":136} 
[2026-07-27 12:23:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:23:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:23:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:23:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:23:43] local.INFO: Teltonika packet parsed successfully {"connection_id":143960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:23:43] local.INFO: Passing IMEI to GPS processor {"connection_id":143960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:23:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":143960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:23:43] 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-07-27 12:23:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:23:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:23:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994463744001,"66":25495,"27":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 12:23:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:23:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:23:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994463744001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:23:43] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 12:23:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:23:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:23:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 12:23:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994463744001,"power":25495,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 12:23:43] local.INFO: DEBUG: GPS processor result {"connection_id":143960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:23:43] local.INFO: GPS data processed {"connection_id":143960,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:23:43] local.INFO: Acknowledgment sent {"connection_id":143960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:23:47] local.INFO: TCP Data received {"connection_id":143960,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa25544c8012d7faac005afe4b00000015226..."} 
[2026-07-27 12:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa25544c8012d7faac005afe4b00000015226..."} 
[2026-07-27 12:23:47] local.INFO: Processing buffer {"connection_id":143960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa25544c8012d7faac005afe4b00000015226..."} 
[2026-07-27 12:23:47] local.INFO: Packet analysis {"connection_id":143960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa255"} 
[2026-07-27 12:23:47] local.INFO: Extracted packet for processing {"connection_id":143960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa255"} 
[2026-07-27 12:23:47] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":0,"angle":338,"satellites":38,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 12:23:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:23:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994463744001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:23:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 12:23:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 12:23:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:23:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785134925000,"timestamp_ms":1785134925000,"timestamp_seconds":1785134925,"priority":1,"record_length":96,"hex_timestamp":"0000019fa25544c8"} 
[2026-07-27 12:23:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:23:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 12:23:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-27 12:23:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:23:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:23:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:23:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:23:47] local.INFO: Teltonika packet parsed successfully {"connection_id":143960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:23:47] local.INFO: Passing IMEI to GPS processor {"connection_id":143960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:23:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":143960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:23: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-07-27 12:23:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:23:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:23:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994463744001,"66":25495,"27":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 12:23:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:23:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:23:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994463744001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:23:47] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 12:23:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:23:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:23:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 12:23:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994463744001,"power":25495,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 12:23:47] local.INFO: DEBUG: GPS processor result {"connection_id":143960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:23:47] local.INFO: GPS data processed {"connection_id":143960,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:23:47] local.INFO: Acknowledgment sent {"connection_id":143960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:24:00] local.INFO: TCP Data received {"connection_id":142964,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142964,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:24:00] local.INFO: Processing buffer {"connection_id":142964,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:24:00] local.INFO: IMEI packet received {"connection_id":142964,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 12:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":142964,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:24:06] local.INFO: TCP Data received {"connection_id":142964,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142964,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:24:06] local.INFO: Processing buffer {"connection_id":142964,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:24:06] local.INFO: IMEI packet received {"connection_id":142964,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 12:24:06] local.INFO: IMEI acknowledgment sent {"connection_id":142964,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:24:07] local.INFO: TCP Data received {"connection_id":142964,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2560c00012d18cd0007212440003e014327..."} 
[2026-07-27 12:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142964,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2560c00012d18cd0007212440003e014327..."} 
[2026-07-27 12:24:07] local.INFO: Processing buffer {"connection_id":142964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2560c00012d18cd0007212440003e014327..."} 
[2026-07-27 12:24:07] local.INFO: Packet analysis {"connection_id":142964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa256"} 
[2026-07-27 12:24:07] local.INFO: Extracted packet for processing {"connection_id":142964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa256"} 
[2026-07-27 12:24:07] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119612480,"longitude_deg":75.6600064,"latitude_deg":11.961248,"altitude":62,"angle":323,"satellites":39,"speed":0,"hex_longitude":"2d18cd00","hex_latitude":"07212440","is_valid_coordinates":true} 
[2026-07-27 12:24:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:24:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994548480001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:24:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8838724867588096,"note":"Value kept but may cause issues"} 
[2026-07-27 12:24:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657756749824,"note":"Value kept but may cause issues"} 
[2026-07-27 12:24:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:24:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785134976000,"timestamp_ms":1785134976000,"timestamp_seconds":1785134976,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2560c00"} 
[2026-07-27 12:24:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:24:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 12:24:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:24:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:24:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:24:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:24:07] local.INFO: Teltonika packet parsed successfully {"connection_id":142964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:24:07] local.INFO: Passing IMEI to GPS processor {"connection_id":142964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:24:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":142964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:24:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:24:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:24:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:24:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994548480001,"66":12363,"121":206,"28":31744,"24":0,"16":8838724867588096,"45":1787084657756749824},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:24:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:24:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:24:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994548480001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:24:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:24:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:24:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8838724867588096,"km_value":8838724867588.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:24:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657756749824,"description":"Unknown IO ID 45"} 
[2026-07-27 12:24:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994548480001,"power":12363,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1787084657756749824}} 
[2026-07-27 12:24:07] local.INFO: DEBUG: GPS processor result {"connection_id":142964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553051,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:24:07] local.INFO: GPS data processed {"connection_id":142964,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:24:07] local.INFO: Acknowledgment sent {"connection_id":142964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:24:32] local.INFO: TCP Data received {"connection_id":142834,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:24:32] local.INFO: Processing buffer {"connection_id":142834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:24:32] local.INFO: IMEI packet received {"connection_id":142834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 12:24:32] local.INFO: IMEI acknowledgment sent {"connection_id":142834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:24:37] local.INFO: TCP Data received {"connection_id":142834,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:24:37] local.INFO: Processing buffer {"connection_id":142834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:24:37] local.INFO: IMEI packet received {"connection_id":142834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 12:24:37] local.INFO: IMEI acknowledgment sent {"connection_id":142834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:24:38] local.INFO: TCP Data received {"connection_id":142834,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa259dc90012d7faac005afe4b00000015224..."} 
[2026-07-27 12:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa259dc90012d7faac005afe4b00000015224..."} 
[2026-07-27 12:24:38] local.INFO: Processing buffer {"connection_id":142834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa259dc90012d7faac005afe4b00000015224..."} 
[2026-07-27 12:24:38] local.INFO: Packet analysis {"connection_id":142834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa259"} 
[2026-07-27 12:24:38] local.INFO: Extracted packet for processing {"connection_id":142834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa259"} 
[2026-07-27 12:24:38] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":0,"angle":338,"satellites":36,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 12:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:24:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994540800001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:24:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 12:24:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 12:24:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:24:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785135226000,"timestamp_ms":1785135226000,"timestamp_seconds":1785135226,"priority":1,"record_length":96,"hex_timestamp":"0000019fa259dc90"} 
[2026-07-27 12:24:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:24:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 12:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-27 12:24:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:24:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:24:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:24:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:24:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:24:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:24:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:24:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:24:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:24:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:24:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994540800001,"66":25495,"199":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-27 12:24:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:24:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:24:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994540800001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:24:38] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-27 12:24:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:24:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:24:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 12:24:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994540800001,"power":25495,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 12:24:38] local.INFO: DEBUG: GPS processor result {"connection_id":142834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:24:38] local.INFO: GPS data processed {"connection_id":142834,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:24:38] local.INFO: Acknowledgment sent {"connection_id":142834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:24:39] local.INFO: TCP Data received {"connection_id":142964,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2565e08012d18cd0007212440003e014325..."} 
[2026-07-27 12:24:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142964,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2565e08012d18cd0007212440003e014325..."} 
[2026-07-27 12:24:39] local.INFO: Processing buffer {"connection_id":142964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2565e08012d18cd0007212440003e014325..."} 
[2026-07-27 12:24:39] local.INFO: Packet analysis {"connection_id":142964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa256"} 
[2026-07-27 12:24:39] local.INFO: Extracted packet for processing {"connection_id":142964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa256"} 
[2026-07-27 12:24:39] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119612480,"longitude_deg":75.6600064,"latitude_deg":11.961248,"altitude":62,"angle":323,"satellites":37,"speed":0,"hex_longitude":"2d18cd00","hex_latitude":"07212440","is_valid_coordinates":true} 
[2026-07-27 12:24:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:24:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994553856001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:24:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8838724867588096,"note":"Value kept but may cause issues"} 
[2026-07-27 12:24:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657756749824,"note":"Value kept but may cause issues"} 
[2026-07-27 12:24:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:24:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785134997000,"timestamp_ms":1785134997000,"timestamp_seconds":1785134997,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2565e08"} 
[2026-07-27 12:24:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:24:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12:24:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-27 12:24:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:24:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:24:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:24:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:24:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:24:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:24:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:24:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:24:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:24:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:24:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994553856001,"66":12363,"121":206,"28":31744,"24":0,"16":8838724867588096,"45":1787084657756749824},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:24:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:24:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:24:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994553856001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:24:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:24:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:24:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8838724867588096,"km_value":8838724867588.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:24:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657756749824,"description":"Unknown IO ID 45"} 
[2026-07-27 12:24:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994553856001,"power":12363,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1787084657756749824}} 
[2026-07-27 12:24:39] local.INFO: DEBUG: GPS processor result {"connection_id":142964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553053,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:24:39] local.INFO: GPS data processed {"connection_id":142964,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:24:39] local.INFO: Acknowledgment sent {"connection_id":142964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:25:05] local.INFO: TCP Data received {"connection_id":142965,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142965,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:25:05] local.INFO: Processing buffer {"connection_id":142965,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:25:05] local.INFO: IMEI packet received {"connection_id":142965,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 12:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":142965,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:25:08] local.INFO: TCP Data received {"connection_id":142965,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142965,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:25:08] local.INFO: Processing buffer {"connection_id":142965,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:25:08] local.INFO: IMEI packet received {"connection_id":142965,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 12:25:08] local.INFO: IMEI acknowledgment sent {"connection_id":142965,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:25:09] local.INFO: TCP Data received {"connection_id":142965,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa259e460012d18cd0007212440003e01432a..."} 
[2026-07-27 12:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa259e460012d18cd0007212440003e01432a..."} 
[2026-07-27 12:25:09] local.INFO: Processing buffer {"connection_id":142965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa259e460012d18cd0007212440003e01432a..."} 
[2026-07-27 12:25:09] local.INFO: Packet analysis {"connection_id":142965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa259"} 
[2026-07-27 12:25:09] local.INFO: Extracted packet for processing {"connection_id":142965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa259"} 
[2026-07-27 12:25:09] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119612480,"longitude_deg":75.6600064,"latitude_deg":11.961248,"altitude":62,"angle":323,"satellites":42,"speed":0,"hex_longitude":"2d18cd00","hex_latitude":"07212440","is_valid_coordinates":true} 
[2026-07-27 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-07-27 12:25:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994612992001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:25:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8838724867588096,"note":"Value kept but may cause issues"} 
[2026-07-27 12:25:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657756749824,"note":"Value kept but may cause issues"} 
[2026-07-27 12:25:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:25:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785135228000,"timestamp_ms":1785135228000,"timestamp_seconds":1785135228,"priority":1,"record_length":96,"hex_timestamp":"0000019fa259e460"} 
[2026-07-27 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-07-27 12:25:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 12:25:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 12:25:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:25:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:25:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142965,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:25:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142965,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:25:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:25:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:25:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:25:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994612992001,"66":12341,"121":206,"28":31744,"24":0,"16":8838724867588096,"45":1787084657756749824},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:25:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:25:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:25:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994612992001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:25:09] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:25:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:25:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8838724867588096,"km_value":8838724867588.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:25:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657756749824,"description":"Unknown IO ID 45"} 
[2026-07-27 12:25:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994612992001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1787084657756749824}} 
[2026-07-27 12:25:09] local.INFO: DEBUG: GPS processor result {"connection_id":142965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553054,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:25:09] local.INFO: GPS data processed {"connection_id":142965,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:25:09] local.INFO: Acknowledgment sent {"connection_id":142965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:25:10] local.INFO: TCP Data received {"connection_id":142834,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa259dc90012d7faac005afe4b00000015224..."} 
[2026-07-27 12:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa259dc90012d7faac005afe4b00000015224..."} 
[2026-07-27 12:25:10] local.INFO: Processing buffer {"connection_id":142834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa259dc90012d7faac005afe4b00000015224..."} 
[2026-07-27 12:25:10] local.INFO: Packet analysis {"connection_id":142834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa259"} 
[2026-07-27 12:25:10] local.INFO: Extracted packet for processing {"connection_id":142834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa259"} 
[2026-07-27 12:25:10] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":0,"angle":338,"satellites":36,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 12:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:25:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994540800001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:25:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 12:25:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 12:25:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:25:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785135226000,"timestamp_ms":1785135226000,"timestamp_seconds":1785135226,"priority":1,"record_length":96,"hex_timestamp":"0000019fa259dc90"} 
[2026-07-27 12:25:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:25:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 12: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":151,"data_length":795,"current_offset":136} 
[2026-07-27 12:25:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:25:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:25:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:25:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:25:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:25:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:25:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12: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-07-27 12:25:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:25:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:25:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994540800001,"66":25495,"199":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-27 12:25:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:25:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:25:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994540800001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:25:10] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-27 12:25:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:25:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:25:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 12:25:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994540800001,"power":25495,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 12:25:10] local.INFO: DEBUG: GPS processor result {"connection_id":142834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:25:10] local.INFO: GPS data processed {"connection_id":142834,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:25:10] local.INFO: Acknowledgment sent {"connection_id":142834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:25:10] local.INFO: TCP Data received {"connection_id":142965,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa25a3668012d18cd0007212440003e014327..."} 
[2026-07-27 12:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa25a3668012d18cd0007212440003e014327..."} 
[2026-07-27 12:25:10] local.INFO: Processing buffer {"connection_id":142965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa25a3668012d18cd0007212440003e014327..."} 
[2026-07-27 12:25:10] local.INFO: Packet analysis {"connection_id":142965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa25a"} 
[2026-07-27 12:25:10] local.INFO: Extracted packet for processing {"connection_id":142965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa25a"} 
[2026-07-27 12:25:10] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119612480,"longitude_deg":75.6600064,"latitude_deg":11.961248,"altitude":62,"angle":323,"satellites":39,"speed":0,"hex_longitude":"2d18cd00","hex_latitude":"07212440","is_valid_coordinates":true} 
[2026-07-27 12:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:25:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994618368001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:25:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8838724867588096,"note":"Value kept but may cause issues"} 
[2026-07-27 12:25:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657756749824,"note":"Value kept but may cause issues"} 
[2026-07-27 12:25:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:25:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785135249000,"timestamp_ms":1785135249000,"timestamp_seconds":1785135249,"priority":1,"record_length":96,"hex_timestamp":"0000019fa25a3668"} 
[2026-07-27 12:25:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:25:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 12:25:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:25:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:25:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:25:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:25:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:25:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142965,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:25:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142965,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:25:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:25:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:25:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:25:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994618368001,"66":12287,"121":206,"28":31744,"24":0,"16":8838724867588096,"45":1787084657756749824},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:25:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:25:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:25:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994618368001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:25:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:25:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:25:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8838724867588096,"km_value":8838724867588.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:25:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657756749824,"description":"Unknown IO ID 45"} 
[2026-07-27 12:25:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994618368001,"power":12287,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1787084657756749824}} 
[2026-07-27 12:25:11] local.INFO: DEBUG: GPS processor result {"connection_id":142965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553056,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:25:11] local.INFO: GPS data processed {"connection_id":142965,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:25:11] local.INFO: Acknowledgment sent {"connection_id":142965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:25:32] local.INFO: TCP Data received {"connection_id":142966,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:25:32] local.INFO: Processing buffer {"connection_id":142966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:25:32] local.INFO: IMEI packet received {"connection_id":142966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 12:25:32] local.INFO: IMEI acknowledgment sent {"connection_id":142966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:25:37] local.INFO: TCP Data received {"connection_id":142966,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:25:37] local.INFO: Processing buffer {"connection_id":142966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:25:37] local.INFO: IMEI packet received {"connection_id":142966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 12:25:37] local.INFO: IMEI acknowledgment sent {"connection_id":142966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:25:38] local.INFO: TCP Data received {"connection_id":142966,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa259dc90012d7faac005afe4b00000015224..."} 
[2026-07-27 12:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa259dc90012d7faac005afe4b00000015224..."} 
[2026-07-27 12:25:38] local.INFO: Processing buffer {"connection_id":142966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa259dc90012d7faac005afe4b00000015224..."} 
[2026-07-27 12:25:38] local.INFO: Packet analysis {"connection_id":142966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa259"} 
[2026-07-27 12:25:38] local.INFO: Extracted packet for processing {"connection_id":142966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa259"} 
[2026-07-27 12:25:38] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":0,"angle":338,"satellites":36,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 12:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:25:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994540800001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:25:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 12:25:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 12:25:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:25:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785135226000,"timestamp_ms":1785135226000,"timestamp_seconds":1785135226,"priority":1,"record_length":96,"hex_timestamp":"0000019fa259dc90"} 
[2026-07-27 12:25:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:25:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 12:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-27 12:25:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:25:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:25:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:25:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:25:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:25:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:25:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:25:38] 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-07-27 12:25:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:25:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:25:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994540800001,"66":25495,"199":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-27 12:25:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:25:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:25:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994540800001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:25:38] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-27 12:25:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:25:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:25:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 12:25:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994540800001,"power":25495,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 12:25:38] local.INFO: DEBUG: GPS processor result {"connection_id":142966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:25:38] local.INFO: GPS data processed {"connection_id":142966,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:25:38] local.INFO: Acknowledgment sent {"connection_id":142966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:25:42] local.INFO: TCP Data received {"connection_id":142965,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa25a8870012d18cd0007212440003e01432b..."} 
[2026-07-27 12:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa25a8870012d18cd0007212440003e01432b..."} 
[2026-07-27 12:25:42] local.INFO: Processing buffer {"connection_id":142965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa25a8870012d18cd0007212440003e01432b..."} 
[2026-07-27 12:25:42] local.INFO: Packet analysis {"connection_id":142965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa25a"} 
[2026-07-27 12:25:42] local.INFO: Extracted packet for processing {"connection_id":142965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa25a"} 
[2026-07-27 12:25:42] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119612480,"longitude_deg":75.6600064,"latitude_deg":11.961248,"altitude":62,"angle":323,"satellites":43,"speed":0,"hex_longitude":"2d18cd00","hex_latitude":"07212440","is_valid_coordinates":true} 
[2026-07-27 12: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-07-27 12:25:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994623744001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:25:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8838724867588096,"note":"Value kept but may cause issues"} 
[2026-07-27 12:25:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657756749824,"note":"Value kept but may cause issues"} 
[2026-07-27 12:25:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:25:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785135270000,"timestamp_ms":1785135270000,"timestamp_seconds":1785135270,"priority":1,"record_length":96,"hex_timestamp":"0000019fa25a8870"} 
[2026-07-27 12:25:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:25:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-27 12:25:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12: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-07-27 12:25:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:25:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:25:42] local.INFO: Teltonika packet parsed successfully {"connection_id":142965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:25:42] local.INFO: Passing IMEI to GPS processor {"connection_id":142965,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:25:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":142965,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:25:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:25:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:25:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:25:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994623744001,"66":12287,"121":206,"28":31744,"24":0,"16":8838724867588096,"45":1787084657756749824},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:25:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:25:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:25:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994623744001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:25:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:25:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:25:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8838724867588096,"km_value":8838724867588.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:25:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657756749824,"description":"Unknown IO ID 45"} 
[2026-07-27 12:25:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994623744001,"power":12287,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1787084657756749824}} 
[2026-07-27 12:25:42] local.INFO: DEBUG: GPS processor result {"connection_id":142965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553058,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:25:42] local.INFO: GPS data processed {"connection_id":142965,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:25:42] local.INFO: Acknowledgment sent {"connection_id":142965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:26:00] local.INFO: TCP Data received {"connection_id":143961,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143961,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:26:00] local.INFO: Processing buffer {"connection_id":143961,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:26:00] local.INFO: IMEI packet received {"connection_id":143961,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 12:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":143961,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:26:05] local.INFO: TCP Data received {"connection_id":143961,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143961,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:26:05] local.INFO: Processing buffer {"connection_id":143961,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:26:05] local.INFO: IMEI packet received {"connection_id":143961,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 12:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":143961,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:26:06] local.INFO: TCP Data received {"connection_id":143961,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa25ada78012d18cd0007212440003e014328..."} 
[2026-07-27 12:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143961,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa25ada78012d18cd0007212440003e014328..."} 
[2026-07-27 12:26:06] local.INFO: Processing buffer {"connection_id":143961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa25ada78012d18cd0007212440003e014328..."} 
[2026-07-27 12:26:06] local.INFO: Packet analysis {"connection_id":143961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa25a"} 
[2026-07-27 12:26:06] local.INFO: Extracted packet for processing {"connection_id":143961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa25a"} 
[2026-07-27 12:26:06] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119612480,"longitude_deg":75.6600064,"latitude_deg":11.961248,"altitude":62,"angle":323,"satellites":40,"speed":0,"hex_longitude":"2d18cd00","hex_latitude":"07212440","is_valid_coordinates":true} 
[2026-07-27 12:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:26:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994629120001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:26:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8838724867588096,"note":"Value kept but may cause issues"} 
[2026-07-27 12:26:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657756749824,"note":"Value kept but may cause issues"} 
[2026-07-27 12:26:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:26:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785135291000,"timestamp_ms":1785135291000,"timestamp_seconds":1785135291,"priority":1,"record_length":96,"hex_timestamp":"0000019fa25ada78"} 
[2026-07-27 12:26:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:26:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-27 12:26:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:26:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:26:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:26:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:26:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:26:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143961,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:26:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143961,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:26:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:26:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:26:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:26:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994629120001,"66":12287,"121":206,"28":31744,"24":0,"16":8838724867588096,"45":1787084657756749824},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:26:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:26:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:26:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994629120001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:26:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:26:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:26:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8838724867588096,"km_value":8838724867588.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:26:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657756749824,"description":"Unknown IO ID 45"} 
[2026-07-27 12:26:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994629120001,"power":12287,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1787084657756749824}} 
[2026-07-27 12:26:06] local.INFO: DEBUG: GPS processor result {"connection_id":143961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553059,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:26:06] local.INFO: GPS data processed {"connection_id":143961,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:26:06] local.INFO: Acknowledgment sent {"connection_id":143961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:26:11] local.INFO: TCP Data received {"connection_id":142966,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa259dc90012d7faac005afe4b00000015224..."} 
[2026-07-27 12:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa259dc90012d7faac005afe4b00000015224..."} 
[2026-07-27 12:26:11] local.INFO: Processing buffer {"connection_id":142966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa259dc90012d7faac005afe4b00000015224..."} 
[2026-07-27 12:26:11] local.INFO: Packet analysis {"connection_id":142966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa259"} 
[2026-07-27 12:26:11] local.INFO: Extracted packet for processing {"connection_id":142966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa259"} 
[2026-07-27 12:26:11] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":0,"angle":338,"satellites":36,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 12:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:26:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994540800001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:26:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 12:26:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 12:26:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:26:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785135226000,"timestamp_ms":1785135226000,"timestamp_seconds":1785135226,"priority":1,"record_length":96,"hex_timestamp":"0000019fa259dc90"} 
[2026-07-27 12:26:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:26:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 12: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":151,"data_length":795,"current_offset":136} 
[2026-07-27 12:26:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:26:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:26:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:26:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:26:11] local.INFO: Teltonika packet parsed successfully {"connection_id":142966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:26:11] local.INFO: Passing IMEI to GPS processor {"connection_id":142966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:26:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":142966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:26: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-07-27 12:26:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:26:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:26:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994540800001,"66":25495,"199":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-27 12:26:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:26:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:26:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994540800001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:26:11] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-27 12:26:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:26:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:26:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 12:26:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994540800001,"power":25495,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 12:26:11] local.INFO: DEBUG: GPS processor result {"connection_id":142966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:26:11] local.INFO: GPS data processed {"connection_id":142966,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:26:11] local.INFO: Acknowledgment sent {"connection_id":142966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:26:38] local.INFO: TCP Data received {"connection_id":143961,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa25b2c80012d18cd0007212440003e014329..."} 
[2026-07-27 12:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143961,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa25b2c80012d18cd0007212440003e014329..."} 
[2026-07-27 12:26:38] local.INFO: Processing buffer {"connection_id":143961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa25b2c80012d18cd0007212440003e014329..."} 
[2026-07-27 12:26:38] local.INFO: Packet analysis {"connection_id":143961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa25b"} 
[2026-07-27 12:26:38] local.INFO: Extracted packet for processing {"connection_id":143961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa25b"} 
[2026-07-27 12:26:38] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119612480,"longitude_deg":75.6600064,"latitude_deg":11.961248,"altitude":62,"angle":323,"satellites":41,"speed":0,"hex_longitude":"2d18cd00","hex_latitude":"07212440","is_valid_coordinates":true} 
[2026-07-27 12:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:26:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994634496001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:26:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8838724867588096,"note":"Value kept but may cause issues"} 
[2026-07-27 12:26:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657756749824,"note":"Value kept but may cause issues"} 
[2026-07-27 12:26:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:26:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785135312000,"timestamp_ms":1785135312000,"timestamp_seconds":1785135312,"priority":1,"record_length":96,"hex_timestamp":"0000019fa25b2c80"} 
[2026-07-27 12:26:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:26:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-27 12:26:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:26:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:26:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:26:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:26:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:26:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143961,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:26:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143961,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:26:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:26:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:26:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:26:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994634496001,"66":12341,"121":206,"28":31744,"24":0,"16":8838724867588096,"45":1787084657756749824},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:26:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:26:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:26:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994634496001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:26:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:26:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:26:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8838724867588096,"km_value":8838724867588.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:26:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657756749824,"description":"Unknown IO ID 45"} 
[2026-07-27 12:26:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994634496001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1787084657756749824}} 
[2026-07-27 12:26:38] local.INFO: DEBUG: GPS processor result {"connection_id":143961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553061,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:26:38] local.INFO: GPS data processed {"connection_id":143961,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:26:38] local.INFO: Acknowledgment sent {"connection_id":143961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:26:38] local.INFO: TCP Data received {"connection_id":143962,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:26:38] local.INFO: Processing buffer {"connection_id":143962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:26:38] local.INFO: IMEI packet received {"connection_id":143962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 12:26:38] local.INFO: IMEI acknowledgment sent {"connection_id":143962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:26:42] local.INFO: TCP Data received {"connection_id":143962,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:26:42] local.INFO: Processing buffer {"connection_id":143962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:26:42] local.INFO: IMEI packet received {"connection_id":143962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 12:26:42] local.INFO: IMEI acknowledgment sent {"connection_id":143962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:26:43] local.INFO: TCP Data received {"connection_id":143962,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa259dc90012d7faac005afe4b00000015224..."} 
[2026-07-27 12:26:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa259dc90012d7faac005afe4b00000015224..."} 
[2026-07-27 12:26:43] local.INFO: Processing buffer {"connection_id":143962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa259dc90012d7faac005afe4b00000015224..."} 
[2026-07-27 12:26:43] local.INFO: Packet analysis {"connection_id":143962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa259"} 
[2026-07-27 12:26:43] local.INFO: Extracted packet for processing {"connection_id":143962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa259"} 
[2026-07-27 12:26:43] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":0,"angle":338,"satellites":36,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 12:26:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:26:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994540800001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:26:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 12:26:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 12:26:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:26:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785135226000,"timestamp_ms":1785135226000,"timestamp_seconds":1785135226,"priority":1,"record_length":96,"hex_timestamp":"0000019fa259dc90"} 
[2026-07-27 12:26:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:26:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 12:26:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-27 12:26:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:26:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:26:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:26:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:26:43] local.INFO: Teltonika packet parsed successfully {"connection_id":143962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:26:43] local.INFO: Passing IMEI to GPS processor {"connection_id":143962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:26:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":143962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:26: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-07-27 12:26:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:26:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:26:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994540800001,"66":25495,"199":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-27 12:26:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:26:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:26:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994540800001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:26:43] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-27 12:26:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:26:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:26:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 12:26:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994540800001,"power":25495,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 12:26:43] local.INFO: DEBUG: GPS processor result {"connection_id":143962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:26:43] local.INFO: GPS data processed {"connection_id":143962,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:26:43] local.INFO: Acknowledgment sent {"connection_id":143962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:26:53] local.INFO: TCP Data received {"connection_id":143962,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa259dc90012d7faac005afe4b00000015224..."} 
[2026-07-27 12:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa259dc90012d7faac005afe4b00000015224..."} 
[2026-07-27 12:26:53] local.INFO: Processing buffer {"connection_id":143962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa259dc90012d7faac005afe4b00000015224..."} 
[2026-07-27 12:26:53] local.INFO: Packet analysis {"connection_id":143962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa259"} 
[2026-07-27 12:26:53] local.INFO: Extracted packet for processing {"connection_id":143962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa259"} 
[2026-07-27 12:26:53] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":0,"angle":338,"satellites":36,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 12: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-07-27 12:26:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994540800001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:26:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 12:26:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 12:26:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:26:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785135226000,"timestamp_ms":1785135226000,"timestamp_seconds":1785135226,"priority":1,"record_length":96,"hex_timestamp":"0000019fa259dc90"} 
[2026-07-27 12:26:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:26:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 12: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-27 12:26:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12: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-07-27 12:26:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:26:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:26:53] local.INFO: Teltonika packet parsed successfully {"connection_id":143962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:26:53] local.INFO: Passing IMEI to GPS processor {"connection_id":143962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:26:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":143962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:26:53] 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-07-27 12:26:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:26:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:26:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994540800001,"66":25495,"199":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-27 12:26:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:26:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:26:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994540800001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:26:53] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-27 12:26:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:26:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:26:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 12:26:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994540800001,"power":25495,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 12:26:53] local.INFO: DEBUG: GPS processor result {"connection_id":143962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:26:53] local.INFO: GPS data processed {"connection_id":143962,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:26:53] local.INFO: Acknowledgment sent {"connection_id":143962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:27:00] local.INFO: TCP Data received {"connection_id":142835,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142835,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:27:00] local.INFO: Processing buffer {"connection_id":142835,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:27:00] local.INFO: IMEI packet received {"connection_id":142835,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 12:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":142835,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:27:05] local.INFO: TCP Data received {"connection_id":142835,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142835,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:27:05] local.INFO: Processing buffer {"connection_id":142835,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:27:05] local.INFO: IMEI packet received {"connection_id":142835,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 12:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":142835,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:27:07] local.INFO: TCP Data received {"connection_id":142835,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa25b7e88012d18cd0007212440003e01432c..."} 
[2026-07-27 12:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa25b7e88012d18cd0007212440003e01432c..."} 
[2026-07-27 12:27:07] local.INFO: Processing buffer {"connection_id":142835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa25b7e88012d18cd0007212440003e01432c..."} 
[2026-07-27 12:27:07] local.INFO: Packet analysis {"connection_id":142835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa25b"} 
[2026-07-27 12:27:07] local.INFO: Extracted packet for processing {"connection_id":142835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa25b"} 
[2026-07-27 12:27:07] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119612480,"longitude_deg":75.6600064,"latitude_deg":11.961248,"altitude":62,"angle":323,"satellites":44,"speed":0,"hex_longitude":"2d18cd00","hex_latitude":"07212440","is_valid_coordinates":true} 
[2026-07-27 12:27:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:27:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994639872001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:27:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8838724867588096,"note":"Value kept but may cause issues"} 
[2026-07-27 12:27:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657756749824,"note":"Value kept but may cause issues"} 
[2026-07-27 12:27:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:27:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785135333000,"timestamp_ms":1785135333000,"timestamp_seconds":1785135333,"priority":1,"record_length":96,"hex_timestamp":"0000019fa25b7e88"} 
[2026-07-27 12:27:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:27:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12:27:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 12:27:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:27:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:27:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:27:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:27:07] local.INFO: Teltonika packet parsed successfully {"connection_id":142835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:27:07] local.INFO: Passing IMEI to GPS processor {"connection_id":142835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:27:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":142835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:27:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:27:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:27:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:27:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994639872001,"66":12341,"121":206,"28":31744,"24":0,"16":8838724867588096,"45":1787084657756749824},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:27:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:27:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:27:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994639872001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:27:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:27:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:27:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8838724867588096,"km_value":8838724867588.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:27:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657756749824,"description":"Unknown IO ID 45"} 
[2026-07-27 12:27:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994639872001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1787084657756749824}} 
[2026-07-27 12:27:07] local.INFO: DEBUG: GPS processor result {"connection_id":142835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553064,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:27:07] local.INFO: GPS data processed {"connection_id":142835,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:27:07] local.INFO: Acknowledgment sent {"connection_id":142835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:27:32] local.INFO: TCP Data received {"connection_id":143963,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:27:32] local.INFO: Processing buffer {"connection_id":143963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:27:32] local.INFO: IMEI packet received {"connection_id":143963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 12:27:32] local.INFO: IMEI acknowledgment sent {"connection_id":143963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:27:37] local.INFO: TCP Data received {"connection_id":143963,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:27:37] local.INFO: Processing buffer {"connection_id":143963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:27:37] local.INFO: IMEI packet received {"connection_id":143963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 12:27:37] local.INFO: IMEI acknowledgment sent {"connection_id":143963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:27:38] local.INFO: TCP Data received {"connection_id":142835,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa25bd090012d18cd0007212440003e014329..."} 
[2026-07-27 12:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa25bd090012d18cd0007212440003e014329..."} 
[2026-07-27 12:27:38] local.INFO: Processing buffer {"connection_id":142835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa25bd090012d18cd0007212440003e014329..."} 
[2026-07-27 12:27:38] local.INFO: Packet analysis {"connection_id":142835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa25b"} 
[2026-07-27 12:27:38] local.INFO: Extracted packet for processing {"connection_id":142835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa25b"} 
[2026-07-27 12:27:38] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119612480,"longitude_deg":75.6600064,"latitude_deg":11.961248,"altitude":62,"angle":323,"satellites":41,"speed":0,"hex_longitude":"2d18cd00","hex_latitude":"07212440","is_valid_coordinates":true} 
[2026-07-27 12:27:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:27:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994645248001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:27:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8838724867588096,"note":"Value kept but may cause issues"} 
[2026-07-27 12:27:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657756749824,"note":"Value kept but may cause issues"} 
[2026-07-27 12:27:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:27:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785135354000,"timestamp_ms":1785135354000,"timestamp_seconds":1785135354,"priority":1,"record_length":96,"hex_timestamp":"0000019fa25bd090"} 
[2026-07-27 12:27:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:27:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12:27:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 12:27:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:27:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:27:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:27:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:27:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:27:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:27:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:27:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:27:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:27:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:27:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994645248001,"66":12341,"121":206,"28":31744,"24":0,"16":8838724867588096,"45":1787084657756749824},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:27:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:27:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:27:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994645248001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:27:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:27:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:27:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8838724867588096,"km_value":8838724867588.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:27:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657756749824,"description":"Unknown IO ID 45"} 
[2026-07-27 12:27:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994645248001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1787084657756749824}} 
[2026-07-27 12:27:38] local.INFO: TCP Data received {"connection_id":143963,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa259dc90012d7faac005afe4b00000015224..."} 
[2026-07-27 12:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143963,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa259dc90012d7faac005afe4b00000015224..."} 
[2026-07-27 12:27:38] local.INFO: Processing buffer {"connection_id":143963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa259dc90012d7faac005afe4b00000015224..."} 
[2026-07-27 12:27:38] local.INFO: Packet analysis {"connection_id":143963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa259"} 
[2026-07-27 12:27:38] local.INFO: Extracted packet for processing {"connection_id":143963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa259"} 
[2026-07-27 12:27:38] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":0,"angle":338,"satellites":36,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 12:27:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:27:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994540800001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:27:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 12:27:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 12:27:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:27:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785135226000,"timestamp_ms":1785135226000,"timestamp_seconds":1785135226,"priority":1,"record_length":96,"hex_timestamp":"0000019fa259dc90"} 
[2026-07-27 12:27:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:27:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 12:27:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-27 12:27:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:27:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:27:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:27:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:27:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:27:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:27:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:27:38] 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-07-27 12:27:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:27:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:27:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994540800001,"66":25495,"199":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-27 12:27:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:27:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:27:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994540800001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:27:38] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-27 12:27:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:27:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:27:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 12:27:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994540800001,"power":25495,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 12:27:38] local.INFO: DEBUG: GPS processor result {"connection_id":143963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:27:38] local.INFO: GPS data processed {"connection_id":143963,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:27:38] local.INFO: Acknowledgment sent {"connection_id":143963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:27:38] local.INFO: DEBUG: GPS processor result {"connection_id":142835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553066,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:27:38] local.INFO: GPS data processed {"connection_id":142835,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:27:38] local.INFO: Acknowledgment sent {"connection_id":142835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:28:00] local.INFO: TCP Data received {"connection_id":142967,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142967,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:28:00] local.INFO: Processing buffer {"connection_id":142967,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:28:00] local.INFO: IMEI packet received {"connection_id":142967,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 12:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":142967,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:28:05] local.INFO: TCP Data received {"connection_id":142967,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142967,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:28:05] local.INFO: Processing buffer {"connection_id":142967,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:28:05] local.INFO: IMEI packet received {"connection_id":142967,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 12:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":142967,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:28:06] local.INFO: TCP Data received {"connection_id":142967,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa25c2298012d18cd0007212440003e01432a..."} 
[2026-07-27 12:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142967,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa25c2298012d18cd0007212440003e01432a..."} 
[2026-07-27 12:28:06] local.INFO: Processing buffer {"connection_id":142967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa25c2298012d18cd0007212440003e01432a..."} 
[2026-07-27 12:28:06] local.INFO: Packet analysis {"connection_id":142967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa25c"} 
[2026-07-27 12:28:06] local.INFO: Extracted packet for processing {"connection_id":142967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa25c"} 
[2026-07-27 12:28:06] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119612480,"longitude_deg":75.6600064,"latitude_deg":11.961248,"altitude":62,"angle":323,"satellites":42,"speed":0,"hex_longitude":"2d18cd00","hex_latitude":"07212440","is_valid_coordinates":true} 
[2026-07-27 12:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:28:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994650624001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:28:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8838724867588096,"note":"Value kept but may cause issues"} 
[2026-07-27 12:28:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657756749824,"note":"Value kept but may cause issues"} 
[2026-07-27 12:28:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:28:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785135375000,"timestamp_ms":1785135375000,"timestamp_seconds":1785135375,"priority":1,"record_length":96,"hex_timestamp":"0000019fa25c2298"} 
[2026-07-27 12:28:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:28:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 12:28:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:28:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:28:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:28:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:28:06] local.INFO: Teltonika packet parsed successfully {"connection_id":142967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:28:06] local.INFO: Passing IMEI to GPS processor {"connection_id":142967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:28:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":142967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:28:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:28:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:28:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:28:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994650624001,"66":12319,"121":206,"28":31744,"24":0,"16":8838724867588096,"45":1787084657756749824},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:28:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:28:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:28:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994650624001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:28:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:28:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:28:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8838724867588096,"km_value":8838724867588.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:28:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657756749824,"description":"Unknown IO ID 45"} 
[2026-07-27 12:28:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994650624001,"power":12319,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1787084657756749824}} 
[2026-07-27 12:28:06] local.INFO: DEBUG: GPS processor result {"connection_id":142967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553067,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:28:06] local.INFO: GPS data processed {"connection_id":142967,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:28:06] local.INFO: Acknowledgment sent {"connection_id":142967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:28:09] local.INFO: TCP Data received {"connection_id":143963,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa259dc90012d7faac005afe4b00000015224..."} 
[2026-07-27 12:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143963,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa259dc90012d7faac005afe4b00000015224..."} 
[2026-07-27 12:28:09] local.INFO: Processing buffer {"connection_id":143963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa259dc90012d7faac005afe4b00000015224..."} 
[2026-07-27 12:28:09] local.INFO: Packet analysis {"connection_id":143963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa259"} 
[2026-07-27 12:28:09] local.INFO: Extracted packet for processing {"connection_id":143963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa259"} 
[2026-07-27 12:28:09] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":0,"angle":338,"satellites":36,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 12:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:28:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994540800001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:28:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 12:28:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 12:28:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:28:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785135226000,"timestamp_ms":1785135226000,"timestamp_seconds":1785135226,"priority":1,"record_length":96,"hex_timestamp":"0000019fa259dc90"} 
[2026-07-27 12:28:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:28:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 12:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-27 12:28:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:28:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:28:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:28:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:28:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:28:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:28:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:28: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-07-27 12:28:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:28:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:28:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994540800001,"66":25495,"199":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-27 12:28:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:28:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:28:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994540800001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:28:09] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-27 12:28:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:28:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:28:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 12:28:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994540800001,"power":25495,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 12:28:09] local.INFO: DEBUG: GPS processor result {"connection_id":143963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:28:09] local.INFO: GPS data processed {"connection_id":143963,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:28:09] local.INFO: Acknowledgment sent {"connection_id":143963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:28:34] local.INFO: TCP Data received {"connection_id":142968,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:28:34] local.INFO: Processing buffer {"connection_id":142968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:28:34] local.INFO: IMEI packet received {"connection_id":142968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 12:28:34] local.INFO: IMEI acknowledgment sent {"connection_id":142968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:28:37] local.INFO: TCP Data received {"connection_id":142968,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:28:37] local.INFO: Processing buffer {"connection_id":142968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:28:37] local.INFO: IMEI packet received {"connection_id":142968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 12:28:37] local.INFO: IMEI acknowledgment sent {"connection_id":142968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:28:38] local.INFO: TCP Data received {"connection_id":142967,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa25c74a0012d18cd0007212440003e01432b..."} 
[2026-07-27 12:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142967,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa25c74a0012d18cd0007212440003e01432b..."} 
[2026-07-27 12:28:38] local.INFO: Processing buffer {"connection_id":142967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa25c74a0012d18cd0007212440003e01432b..."} 
[2026-07-27 12:28:38] local.INFO: Packet analysis {"connection_id":142967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa25c"} 
[2026-07-27 12:28:38] local.INFO: Extracted packet for processing {"connection_id":142967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa25c"} 
[2026-07-27 12:28:38] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119612480,"longitude_deg":75.6600064,"latitude_deg":11.961248,"altitude":62,"angle":323,"satellites":43,"speed":0,"hex_longitude":"2d18cd00","hex_latitude":"07212440","is_valid_coordinates":true} 
[2026-07-27 12:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:28:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994656000001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:28:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8838724867588096,"note":"Value kept but may cause issues"} 
[2026-07-27 12:28:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657756749824,"note":"Value kept but may cause issues"} 
[2026-07-27 12:28:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:28:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785135396000,"timestamp_ms":1785135396000,"timestamp_seconds":1785135396,"priority":1,"record_length":96,"hex_timestamp":"0000019fa25c74a0"} 
[2026-07-27 12:28:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:28:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 12:28:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:28:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:28:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:28:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:28:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:28:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:28:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:28:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:28:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:28:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:28:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994656000001,"66":12319,"121":206,"28":31744,"24":0,"16":8838724867588096,"45":1787084657756749824},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:28:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:28:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:28:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994656000001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:28:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:28:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:28:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8838724867588096,"km_value":8838724867588.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:28:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657756749824,"description":"Unknown IO ID 45"} 
[2026-07-27 12:28:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994656000001,"power":12319,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1787084657756749824}} 
[2026-07-27 12:28:38] local.INFO: DEBUG: GPS processor result {"connection_id":142967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553069,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:28:38] local.INFO: GPS data processed {"connection_id":142967,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:28:38] local.INFO: Acknowledgment sent {"connection_id":142967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:28:43] local.INFO: TCP Data received {"connection_id":142968,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:28:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:28:43] local.INFO: Processing buffer {"connection_id":142968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:28:43] local.INFO: IMEI packet received {"connection_id":142968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 12:28:43] local.INFO: IMEI acknowledgment sent {"connection_id":142968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:28:45] local.INFO: TCP Data received {"connection_id":142968,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa259dc90012d7faac005afe4b00000015224..."} 
[2026-07-27 12:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142968,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa259dc90012d7faac005afe4b00000015224..."} 
[2026-07-27 12:28:45] local.INFO: Processing buffer {"connection_id":142968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa259dc90012d7faac005afe4b00000015224..."} 
[2026-07-27 12:28:45] local.INFO: Packet analysis {"connection_id":142968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa259"} 
[2026-07-27 12:28:45] local.INFO: Extracted packet for processing {"connection_id":142968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa259"} 
[2026-07-27 12:28:45] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":0,"angle":338,"satellites":36,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 12:28:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994540800001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:28:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 12:28:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 12:28:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:28:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785135226000,"timestamp_ms":1785135226000,"timestamp_seconds":1785135226,"priority":1,"record_length":96,"hex_timestamp":"0000019fa259dc90"} 
[2026-07-27 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-07-27 12:28:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":151,"data_length":795,"current_offset":136} 
[2026-07-27 12:28:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 12:28:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:28:45] local.INFO: Teltonika packet parsed successfully {"connection_id":142968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:28:45] local.INFO: Passing IMEI to GPS processor {"connection_id":142968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:28:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":142968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:28: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-07-27 12:28:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:28:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:28:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994540800001,"66":25495,"199":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-27 12:28:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:28:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:28:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994540800001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:28:45] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-27 12:28:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:28:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:28:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 12:28:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994540800001,"power":25495,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 12:28:45] local.INFO: DEBUG: GPS processor result {"connection_id":142968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:28:45] local.INFO: GPS data processed {"connection_id":142968,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:28:45] local.INFO: Acknowledgment sent {"connection_id":142968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:28:59] local.INFO: TCP Data received {"connection_id":143964,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143964,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:28:59] local.INFO: Processing buffer {"connection_id":143964,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:28:59] local.INFO: IMEI packet received {"connection_id":143964,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 12:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":143964,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:29:00] local.INFO: TCP Data received {"connection_id":143964,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143964,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:29:00] local.INFO: Processing buffer {"connection_id":143964,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:29:00] local.INFO: IMEI packet received {"connection_id":143964,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 12:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":143964,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:29:05] local.INFO: TCP Data received {"connection_id":143964,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143964,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:29:05] local.INFO: Processing buffer {"connection_id":143964,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:29:05] local.INFO: IMEI packet received {"connection_id":143964,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 12:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":143964,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:29:06] local.INFO: TCP Data received {"connection_id":143964,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa25cc6a8012d18cd0007212440003e01432b..."} 
[2026-07-27 12:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143964,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa25cc6a8012d18cd0007212440003e01432b..."} 
[2026-07-27 12:29:06] local.INFO: Processing buffer {"connection_id":143964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa25cc6a8012d18cd0007212440003e01432b..."} 
[2026-07-27 12:29:06] local.INFO: Packet analysis {"connection_id":143964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa25c"} 
[2026-07-27 12:29:06] local.INFO: Extracted packet for processing {"connection_id":143964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa25c"} 
[2026-07-27 12:29:06] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119612480,"longitude_deg":75.6600064,"latitude_deg":11.961248,"altitude":62,"angle":323,"satellites":43,"speed":0,"hex_longitude":"2d18cd00","hex_latitude":"07212440","is_valid_coordinates":true} 
[2026-07-27 12:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:29:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994661376001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:29:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8838724867588096,"note":"Value kept but may cause issues"} 
[2026-07-27 12:29:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657756749824,"note":"Value kept but may cause issues"} 
[2026-07-27 12:29:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:29:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785135417000,"timestamp_ms":1785135417000,"timestamp_seconds":1785135417,"priority":1,"record_length":96,"hex_timestamp":"0000019fa25cc6a8"} 
[2026-07-27 12:29:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:29:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 12:29:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:29:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:29:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:29:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:29:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:29:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:29:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:29:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:29:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:29:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:29:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994661376001,"66":12319,"121":206,"28":31744,"24":0,"16":8838724867588096,"45":1787084657756749824},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:29:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:29:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:29:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994661376001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:29:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:29:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:29:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8838724867588096,"km_value":8838724867588.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:29:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657756749824,"description":"Unknown IO ID 45"} 
[2026-07-27 12:29:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994661376001,"power":12319,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1787084657756749824}} 
[2026-07-27 12:29:07] local.INFO: DEBUG: GPS processor result {"connection_id":143964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553071,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:29:07] local.INFO: GPS data processed {"connection_id":143964,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:29:07] local.INFO: Acknowledgment sent {"connection_id":143964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:29:17] local.INFO: TCP Data received {"connection_id":142968,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa259dc90012d7faac005afe4b00000015224..."} 
[2026-07-27 12:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142968,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa259dc90012d7faac005afe4b00000015224..."} 
[2026-07-27 12:29:17] local.INFO: Processing buffer {"connection_id":142968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa259dc90012d7faac005afe4b00000015224..."} 
[2026-07-27 12:29:17] local.INFO: Packet analysis {"connection_id":142968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa259"} 
[2026-07-27 12:29:17] local.INFO: Extracted packet for processing {"connection_id":142968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa259"} 
[2026-07-27 12:29:17] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":0,"angle":338,"satellites":36,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 12: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-07-27 12:29:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994540800001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:29:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 12:29:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 12:29:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:29:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785135226000,"timestamp_ms":1785135226000,"timestamp_seconds":1785135226,"priority":1,"record_length":96,"hex_timestamp":"0000019fa259dc90"} 
[2026-07-27 12:29:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:29:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 12: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-27 12:29:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12: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-07-27 12:29:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:29:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:29:17] local.INFO: Teltonika packet parsed successfully {"connection_id":142968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:29:17] local.INFO: Passing IMEI to GPS processor {"connection_id":142968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:29:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":142968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:29:17] 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-07-27 12:29:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:29:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:29:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994540800001,"66":25495,"199":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-27 12:29:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:29:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:29:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994540800001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:29:17] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-27 12:29:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:29:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:29:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 12:29:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994540800001,"power":25495,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 12:29:17] local.INFO: DEBUG: GPS processor result {"connection_id":142968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:29:17] local.INFO: GPS data processed {"connection_id":142968,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:29:17] local.INFO: Acknowledgment sent {"connection_id":142968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:29:34] local.INFO: TCP Data received {"connection_id":142836,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:29:34] local.INFO: Processing buffer {"connection_id":142836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:29:34] local.INFO: IMEI packet received {"connection_id":142836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 12:29:34] local.INFO: IMEI acknowledgment sent {"connection_id":142836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:29:37] local.INFO: TCP Data received {"connection_id":142836,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:29:37] local.INFO: Processing buffer {"connection_id":142836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:29:37] local.INFO: IMEI packet received {"connection_id":142836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 12:29:37] local.INFO: IMEI acknowledgment sent {"connection_id":142836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:29:38] local.INFO: TCP Data received {"connection_id":143964,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa25d18b0012d18cd0007212440003e014327..."} 
[2026-07-27 12:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143964,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa25d18b0012d18cd0007212440003e014327..."} 
[2026-07-27 12:29:38] local.INFO: Processing buffer {"connection_id":143964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa25d18b0012d18cd0007212440003e014327..."} 
[2026-07-27 12:29:38] local.INFO: Packet analysis {"connection_id":143964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa25d"} 
[2026-07-27 12:29:38] local.INFO: Extracted packet for processing {"connection_id":143964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa25d"} 
[2026-07-27 12:29:38] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119612480,"longitude_deg":75.6600064,"latitude_deg":11.961248,"altitude":62,"angle":323,"satellites":39,"speed":0,"hex_longitude":"2d18cd00","hex_latitude":"07212440","is_valid_coordinates":true} 
[2026-07-27 12:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:29:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994666752001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:29:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8838724867588096,"note":"Value kept but may cause issues"} 
[2026-07-27 12:29:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657756749824,"note":"Value kept but may cause issues"} 
[2026-07-27 12:29:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:29:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785135438000,"timestamp_ms":1785135438000,"timestamp_seconds":1785135438,"priority":1,"record_length":96,"hex_timestamp":"0000019fa25d18b0"} 
[2026-07-27 12:29:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:29:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 12:29:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:29:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:29:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:29:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:29:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:29:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:29:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:29:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:29:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:29:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:29:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994666752001,"66":12341,"121":206,"28":31744,"24":0,"16":8838724867588096,"45":1787084657756749824},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:29:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:29:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:29:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994666752001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:29:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:29:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:29:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8838724867588096,"km_value":8838724867588.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:29:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657756749824,"description":"Unknown IO ID 45"} 
[2026-07-27 12:29:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994666752001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1787084657756749824}} 
[2026-07-27 12:29:38] local.INFO: DEBUG: GPS processor result {"connection_id":143964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553073,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:29:38] local.INFO: GPS data processed {"connection_id":143964,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:29:38] local.INFO: Acknowledgment sent {"connection_id":143964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:29:38] local.INFO: TCP Data received {"connection_id":142836,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fa25e7458012d7faac005afe4b0000001522b..."} 
[2026-07-27 12:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa25e7458012d7faac005afe4b0000001522b..."} 
[2026-07-27 12:29:38] local.INFO: Processing buffer {"connection_id":142836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa25e7458012d7faac005afe4b0000001522b..."} 
[2026-07-27 12:29:38] local.INFO: Packet analysis {"connection_id":142836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa25e"} 
[2026-07-27 12:29:38] local.INFO: Extracted packet for processing {"connection_id":142836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa25e"} 
[2026-07-27 12:29:38] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":0,"angle":338,"satellites":43,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 12:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:29:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994617856001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:29:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 12:29:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 12:29:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:29:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785135527000,"timestamp_ms":1785135527000,"timestamp_seconds":1785135527,"priority":1,"record_length":96,"hex_timestamp":"0000019fa25e7458"} 
[2026-07-27 12:29:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:29:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 12:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-27 12:29:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:29:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:29:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:29:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:29:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:29:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:29:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:29:38] 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-07-27 12:29:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:29:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:29:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994617856001,"66":25495,"250":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 12:29:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:29:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:29:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994617856001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:29:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 12:29:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:29:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:29:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 12:29:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994617856001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 12:29:38] local.INFO: DEBUG: GPS processor result {"connection_id":142836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:29:38] local.INFO: GPS data processed {"connection_id":142836,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:29:38] local.INFO: Acknowledgment sent {"connection_id":142836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:30:00] local.INFO: TCP Data received {"connection_id":143965,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143965,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:30:00] local.INFO: Processing buffer {"connection_id":143965,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:30:00] local.INFO: IMEI packet received {"connection_id":143965,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 12:30:00] local.INFO: IMEI acknowledgment sent {"connection_id":143965,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:30:02] local.INFO: TCP Data received {"connection_id":143965,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143965,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:30:02] local.INFO: Processing buffer {"connection_id":143965,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:30:02] local.INFO: IMEI packet received {"connection_id":143965,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 12:30:02] local.INFO: IMEI acknowledgment sent {"connection_id":143965,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:30:05] local.INFO: TCP Data received {"connection_id":143965,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143965,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:30:05] local.INFO: Processing buffer {"connection_id":143965,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:30:05] local.INFO: IMEI packet received {"connection_id":143965,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 12:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":143965,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:30:06] local.INFO: TCP Data received {"connection_id":143965,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa25d6ab8012d18cd0007212440003e01432b..."} 
[2026-07-27 12:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa25d6ab8012d18cd0007212440003e01432b..."} 
[2026-07-27 12:30:06] local.INFO: Processing buffer {"connection_id":143965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa25d6ab8012d18cd0007212440003e01432b..."} 
[2026-07-27 12:30:06] local.INFO: Packet analysis {"connection_id":143965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa25d"} 
[2026-07-27 12:30:06] local.INFO: Extracted packet for processing {"connection_id":143965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa25d"} 
[2026-07-27 12:30:06] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119612480,"longitude_deg":75.6600064,"latitude_deg":11.961248,"altitude":62,"angle":323,"satellites":43,"speed":0,"hex_longitude":"2d18cd00","hex_latitude":"07212440","is_valid_coordinates":true} 
[2026-07-27 12:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:30:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994672128001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:30:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8838724867588096,"note":"Value kept but may cause issues"} 
[2026-07-27 12:30:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657756749824,"note":"Value kept but may cause issues"} 
[2026-07-27 12:30:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:30:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785135459000,"timestamp_ms":1785135459000,"timestamp_seconds":1785135459,"priority":1,"record_length":96,"hex_timestamp":"0000019fa25d6ab8"} 
[2026-07-27 12:30:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:30:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 12:30:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:30:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:30:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:30:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:30:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:30:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143965,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:30:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143965,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:30:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:30:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:30:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:30:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994672128001,"66":12330,"121":206,"28":31744,"24":0,"16":8838724867588096,"45":1787084657756749824},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:30:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:30:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:30:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994672128001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:30:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:30:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:30:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8838724867588096,"km_value":8838724867588.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:30:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657756749824,"description":"Unknown IO ID 45"} 
[2026-07-27 12:30:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994672128001,"power":12330,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1787084657756749824}} 
[2026-07-27 12:30:06] local.INFO: DEBUG: GPS processor result {"connection_id":143965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553075,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:30:06] local.INFO: GPS data processed {"connection_id":143965,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:30:06] local.INFO: Acknowledgment sent {"connection_id":143965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:30:09] local.INFO: TCP Data received {"connection_id":142836,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fa25e7458012d7faac005afe4b0000001522b..."} 
[2026-07-27 12:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa25e7458012d7faac005afe4b0000001522b..."} 
[2026-07-27 12:30:09] local.INFO: Processing buffer {"connection_id":142836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa25e7458012d7faac005afe4b0000001522b..."} 
[2026-07-27 12:30:09] local.INFO: Packet analysis {"connection_id":142836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa25e"} 
[2026-07-27 12:30:09] local.INFO: Extracted packet for processing {"connection_id":142836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa25e"} 
[2026-07-27 12:30:09] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":0,"angle":338,"satellites":43,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 12:30:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:30:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994617856001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:30:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 12:30:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 12:30:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:30:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785135527000,"timestamp_ms":1785135527000,"timestamp_seconds":1785135527,"priority":1,"record_length":96,"hex_timestamp":"0000019fa25e7458"} 
[2026-07-27 12:30:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:30:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":151,"data_length":795,"current_offset":136} 
[2026-07-27 12:30:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:30:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:30:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:30:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:30:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:30:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:30:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:30: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-07-27 12:30:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:30:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:30:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994617856001,"66":25495,"250":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 12:30:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:30:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:30:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994617856001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:30:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 12:30:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:30:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:30:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 12:30:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994617856001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 12:30:09] local.INFO: DEBUG: GPS processor result {"connection_id":142836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:30:09] local.INFO: GPS data processed {"connection_id":142836,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:30:09] local.INFO: Acknowledgment sent {"connection_id":142836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:30:37] local.INFO: TCP Data received {"connection_id":143966,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:30:37] local.INFO: Processing buffer {"connection_id":143966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:30:37] local.INFO: IMEI packet received {"connection_id":143966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 12:30:37] local.INFO: IMEI acknowledgment sent {"connection_id":143966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:30:38] local.INFO: TCP Data received {"connection_id":143965,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa25dbcc0012d18cd0007212440003e014326..."} 
[2026-07-27 12:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa25dbcc0012d18cd0007212440003e014326..."} 
[2026-07-27 12:30:38] local.INFO: Processing buffer {"connection_id":143965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa25dbcc0012d18cd0007212440003e014326..."} 
[2026-07-27 12:30:38] local.INFO: Packet analysis {"connection_id":143965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa25d"} 
[2026-07-27 12:30:38] local.INFO: Extracted packet for processing {"connection_id":143965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa25d"} 
[2026-07-27 12:30:38] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119612480,"longitude_deg":75.6600064,"latitude_deg":11.961248,"altitude":62,"angle":323,"satellites":38,"speed":0,"hex_longitude":"2d18cd00","hex_latitude":"07212440","is_valid_coordinates":true} 
[2026-07-27 12:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:30:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994677504001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:30:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8838724867588096,"note":"Value kept but may cause issues"} 
[2026-07-27 12:30:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657756749824,"note":"Value kept but may cause issues"} 
[2026-07-27 12:30:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:30:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785135480000,"timestamp_ms":1785135480000,"timestamp_seconds":1785135480,"priority":1,"record_length":96,"hex_timestamp":"0000019fa25dbcc0"} 
[2026-07-27 12:30:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:30:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-07-27 12:30:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":816,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:30:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:30:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:30:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:30:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:30:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143965,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:30:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143965,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:30:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:30:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:30:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:30:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994677504001,"66":12341,"121":206,"28":31744,"24":0,"16":8838724867588096,"45":1787084657756749824},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:30:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:30:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:30:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994677504001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:30:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:30:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:30:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8838724867588096,"km_value":8838724867588.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:30:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657756749824,"description":"Unknown IO ID 45"} 
[2026-07-27 12:30:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994677504001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1787084657756749824}} 
[2026-07-27 12:30:38] local.INFO: DEBUG: GPS processor result {"connection_id":143965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553077,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:30:38] local.INFO: GPS data processed {"connection_id":143965,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:30:38] local.INFO: Acknowledgment sent {"connection_id":143965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:30:42] local.INFO: TCP Data received {"connection_id":143966,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:30:42] local.INFO: Processing buffer {"connection_id":143966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:30:42] local.INFO: IMEI packet received {"connection_id":143966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 12:30:42] local.INFO: IMEI acknowledgment sent {"connection_id":143966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:30:45] local.INFO: TCP Data received {"connection_id":143966,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa25e7458012d7faac005afe4b0000001522b..."} 
[2026-07-27 12:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa25e7458012d7faac005afe4b0000001522b..."} 
[2026-07-27 12:30:45] local.INFO: Processing buffer {"connection_id":143966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa25e7458012d7faac005afe4b0000001522b..."} 
[2026-07-27 12:30:45] local.INFO: Packet analysis {"connection_id":143966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa25e"} 
[2026-07-27 12:30:45] local.INFO: Extracted packet for processing {"connection_id":143966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa25e"} 
[2026-07-27 12:30:45] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":0,"angle":338,"satellites":43,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 12: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-07-27 12:30:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994617856001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:30:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 12:30:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 12:30:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:30:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785135527000,"timestamp_ms":1785135527000,"timestamp_seconds":1785135527,"priority":1,"record_length":96,"hex_timestamp":"0000019fa25e7458"} 
[2026-07-27 12:30:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:30:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 12: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":151,"data_length":795,"current_offset":136} 
[2026-07-27 12:30:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12: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-07-27 12:30:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:30:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:30:45] local.INFO: Teltonika packet parsed successfully {"connection_id":143966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:30:45] local.INFO: Passing IMEI to GPS processor {"connection_id":143966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:30:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":143966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:30: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-07-27 12:30:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:30:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:30:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994617856001,"66":25495,"250":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 12:30:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:30:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:30:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994617856001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:30:45] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 12:30:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:30:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:30:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 12:30:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994617856001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 12:30:45] local.INFO: DEBUG: GPS processor result {"connection_id":143966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:30:45] local.INFO: GPS data processed {"connection_id":143966,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:30:45] local.INFO: Acknowledgment sent {"connection_id":143966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:30:47] local.INFO: TCP Data received {"connection_id":143966,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa25e7458012d7faac005afe4b0000001522b..."} 
[2026-07-27 12:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa25e7458012d7faac005afe4b0000001522b..."} 
[2026-07-27 12:30:47] local.INFO: Processing buffer {"connection_id":143966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa25e7458012d7faac005afe4b0000001522b..."} 
[2026-07-27 12:30:47] local.INFO: Packet analysis {"connection_id":143966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa25e"} 
[2026-07-27 12:30:47] local.INFO: Extracted packet for processing {"connection_id":143966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa25e"} 
[2026-07-27 12:30:47] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":0,"angle":338,"satellites":43,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 12:30:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:30:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994617856001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:30:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 12:30:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 12:30:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:30:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785135527000,"timestamp_ms":1785135527000,"timestamp_seconds":1785135527,"priority":1,"record_length":96,"hex_timestamp":"0000019fa25e7458"} 
[2026-07-27 12:30:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:30:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 12:30:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-27 12:30:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:30:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:30:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:30:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:30:47] local.INFO: Teltonika packet parsed successfully {"connection_id":143966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:30:47] local.INFO: Passing IMEI to GPS processor {"connection_id":143966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:30:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":143966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:30: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-07-27 12:30:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:30:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:30:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994617856001,"66":25495,"250":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 12:30:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:30:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:30:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994617856001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:30:47] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 12:30:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:30:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:30:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 12:30:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994617856001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 12:30:47] local.INFO: DEBUG: GPS processor result {"connection_id":143966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:30:47] local.INFO: GPS data processed {"connection_id":143966,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:30:47] local.INFO: Acknowledgment sent {"connection_id":143966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:31:00] local.INFO: TCP Data received {"connection_id":145251,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145251,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:31:00] local.INFO: Processing buffer {"connection_id":145251,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:31:00] local.INFO: IMEI packet received {"connection_id":145251,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 12:31:00] local.INFO: IMEI acknowledgment sent {"connection_id":145251,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:31:05] local.INFO: TCP Data received {"connection_id":145251,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145251,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:31:05] local.INFO: Processing buffer {"connection_id":145251,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:31:05] local.INFO: IMEI packet received {"connection_id":145251,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 12:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":145251,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:31:06] local.INFO: TCP Data received {"connection_id":145251,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa25e0ec8012d18cd0007212440003e014328..."} 
[2026-07-27 12:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145251,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa25e0ec8012d18cd0007212440003e014328..."} 
[2026-07-27 12:31:06] local.INFO: Processing buffer {"connection_id":145251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa25e0ec8012d18cd0007212440003e014328..."} 
[2026-07-27 12:31:06] local.INFO: Packet analysis {"connection_id":145251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa25e"} 
[2026-07-27 12:31:06] local.INFO: Extracted packet for processing {"connection_id":145251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa25e"} 
[2026-07-27 12:31:06] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119612480,"longitude_deg":75.6600064,"latitude_deg":11.961248,"altitude":62,"angle":323,"satellites":40,"speed":0,"hex_longitude":"2d18cd00","hex_latitude":"07212440","is_valid_coordinates":true} 
[2026-07-27 12:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994682880001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8838724867588096,"note":"Value kept but may cause issues"} 
[2026-07-27 12:31:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657756749824,"note":"Value kept but may cause issues"} 
[2026-07-27 12:31:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785135501000,"timestamp_ms":1785135501000,"timestamp_seconds":1785135501,"priority":1,"record_length":96,"hex_timestamp":"0000019fa25e0ec8"} 
[2026-07-27 12:31:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:31:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 12:31:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:31:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:31:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":145251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":145251,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":145251,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:31:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994682880001,"66":11787,"121":206,"28":31744,"24":0,"16":8838724867588096,"45":1787084657756749824},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994682880001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:31:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:31:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8838724867588096,"km_value":8838724867588.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:31:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657756749824,"description":"Unknown IO ID 45"} 
[2026-07-27 12:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994682880001,"power":11787,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1787084657756749824}} 
[2026-07-27 12:31:07] local.INFO: DEBUG: GPS processor result {"connection_id":145251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553080,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:31:07] local.INFO: GPS data processed {"connection_id":145251,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:31:07] local.INFO: Acknowledgment sent {"connection_id":145251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:31:32] local.INFO: TCP Data received {"connection_id":145252,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:31:32] local.INFO: Processing buffer {"connection_id":145252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:31:32] local.INFO: IMEI packet received {"connection_id":145252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 12:31:32] local.INFO: IMEI acknowledgment sent {"connection_id":145252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:31:37] local.INFO: TCP Data received {"connection_id":145252,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:31:37] local.INFO: Processing buffer {"connection_id":145252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:31:37] local.INFO: IMEI packet received {"connection_id":145252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 12:31:37] local.INFO: IMEI acknowledgment sent {"connection_id":145252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:31:38] local.INFO: TCP Data received {"connection_id":145252,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fa25e7458012d7faac005afe4b0000001522b..."} 
[2026-07-27 12:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa25e7458012d7faac005afe4b0000001522b..."} 
[2026-07-27 12:31:38] local.INFO: Processing buffer {"connection_id":145252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa25e7458012d7faac005afe4b0000001522b..."} 
[2026-07-27 12:31:38] local.INFO: Packet analysis {"connection_id":145252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa25e"} 
[2026-07-27 12:31:38] local.INFO: Extracted packet for processing {"connection_id":145252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa25e"} 
[2026-07-27 12:31:38] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":0,"angle":338,"satellites":43,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 12:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:31:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994617856001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:31:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 12:31:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 12:31:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:31:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785135527000,"timestamp_ms":1785135527000,"timestamp_seconds":1785135527,"priority":1,"record_length":96,"hex_timestamp":"0000019fa25e7458"} 
[2026-07-27 12:31:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:31:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 12:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-27 12:31:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:31:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:31:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:31:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:31:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:31:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:31:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:31:38] 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-07-27 12:31:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:31:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:31:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994617856001,"66":25495,"250":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 12:31:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:31:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:31:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994617856001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:31:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 12:31:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:31:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:31:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 12:31:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994617856001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 12:31:38] local.INFO: DEBUG: GPS processor result {"connection_id":145252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:31:38] local.INFO: GPS data processed {"connection_id":145252,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:31:38] local.INFO: Acknowledgment sent {"connection_id":145252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:31:38] local.INFO: TCP Data received {"connection_id":145251,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa25e60d0012d18cd0007212440003e014324..."} 
[2026-07-27 12:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145251,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa25e60d0012d18cd0007212440003e014324..."} 
[2026-07-27 12:31:38] local.INFO: Processing buffer {"connection_id":145251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa25e60d0012d18cd0007212440003e014324..."} 
[2026-07-27 12:31:38] local.INFO: Packet analysis {"connection_id":145251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa25e"} 
[2026-07-27 12:31:38] local.INFO: Extracted packet for processing {"connection_id":145251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa25e"} 
[2026-07-27 12:31:38] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119612480,"longitude_deg":75.6600064,"latitude_deg":11.961248,"altitude":62,"angle":323,"satellites":36,"speed":0,"hex_longitude":"2d18cd00","hex_latitude":"07212440","is_valid_coordinates":true} 
[2026-07-27 12:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:31:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994688256001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:31:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8838724867588096,"note":"Value kept but may cause issues"} 
[2026-07-27 12:31:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657756749824,"note":"Value kept but may cause issues"} 
[2026-07-27 12:31:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:31:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785135522000,"timestamp_ms":1785135522000,"timestamp_seconds":1785135522,"priority":1,"record_length":96,"hex_timestamp":"0000019fa25e60d0"} 
[2026-07-27 12:31:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:31:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":11,"data_length":795,"current_offset":136} 
[2026-07-27 12:31:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-07-27 12:31:38] local.WARNING: Large IO value detected {"io_id":102,"raw_value":3321888768,"note":"Value kept but may cause issues"} 
[2026-07-27 12:31:38] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2723947160,"note":"Value kept but may cause issues"} 
[2026-07-27 12:31:38] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-6943886724124562152,"note":"Value kept but may cause issues"} 
[2026-07-27 12:31:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2006764413271553,"corrected_to":0} 
[2026-07-27 12:31:38] local.WARNING: Large IO value detected {"io_id":116,"raw_value":2684431640,"note":"Value kept but may cause issues"} 
[2026-07-27 12:31:38] local.WARNING: Large IO value detected {"io_id":31,"raw_value":7405606637257359360,"note":"Value kept but may cause issues"} 
[2026-07-27 12:31:38] local.WARNING: Large IO value detected {"io_id":78,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-27 12:31:38] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-07-27 12:31:38] local.WARNING: Large IO value detected {"io_id":67,"raw_value":2954361355555047936,"note":"Value kept but may cause issues"} 
[2026-07-27 12:31:38] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,121,28,24,241,158,16,102,159,188,45,36,62,38,10,66,106,43,1,240,53,162,33,4,113,205,116,64,239,48,2,31,78,206,67],"length":533,"final_offset":663,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2006764413271553,"validated":0}]} 
[2026-07-27 12:31:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467926144405995520,"timestamp_seconds":4467926144405995.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 12:31:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:31:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:31:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:31:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145251,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:31:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145251,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:31:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:31:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:31:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:31:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994688256001,"66":12319,"121":206,"28":31744,"24":0,"16":8838724867588096,"45":1787084657756749824},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:31:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:31:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:31:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994688256001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:31:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:31:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:31:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8838724867588096,"km_value":8838724867588.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:31:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657756749824,"description":"Unknown IO ID 45"} 
[2026-07-27 12:31:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994688256001,"power":12319,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1787084657756749824}} 
[2026-07-27 12:31:38] local.INFO: DEBUG: GPS processor result {"connection_id":145251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553082,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:31:38] local.INFO: GPS data processed {"connection_id":145251,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:31:38] local.INFO: Acknowledgment sent {"connection_id":145251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:32:00] local.INFO: TCP Data received {"connection_id":142837,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142837,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:32:00] local.INFO: Processing buffer {"connection_id":142837,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:32:00] local.INFO: IMEI packet received {"connection_id":142837,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 12:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":142837,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:32:05] local.INFO: TCP Data received {"connection_id":142837,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142837,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:32:05] local.INFO: Processing buffer {"connection_id":142837,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:32:05] local.INFO: IMEI packet received {"connection_id":142837,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 12:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":142837,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:32:06] local.INFO: TCP Data received {"connection_id":142837,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa25eb2d8012d18cd0007212440003e014327..."} 
[2026-07-27 12:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142837,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa25eb2d8012d18cd0007212440003e014327..."} 
[2026-07-27 12:32:06] local.INFO: Processing buffer {"connection_id":142837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa25eb2d8012d18cd0007212440003e014327..."} 
[2026-07-27 12:32:06] local.INFO: Packet analysis {"connection_id":142837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa25e"} 
[2026-07-27 12:32:06] local.INFO: Extracted packet for processing {"connection_id":142837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa25e"} 
[2026-07-27 12:32:06] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119612480,"longitude_deg":75.6600064,"latitude_deg":11.961248,"altitude":62,"angle":323,"satellites":39,"speed":0,"hex_longitude":"2d18cd00","hex_latitude":"07212440","is_valid_coordinates":true} 
[2026-07-27 12:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:32:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994693632001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:32:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8838724867588096,"note":"Value kept but may cause issues"} 
[2026-07-27 12:32:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657756749824,"note":"Value kept but may cause issues"} 
[2026-07-27 12:32:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:32:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785135543000,"timestamp_ms":1785135543000,"timestamp_seconds":1785135543,"priority":1,"record_length":96,"hex_timestamp":"0000019fa25eb2d8"} 
[2026-07-27 12:32:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:32:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 12:32:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:32:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:32:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:32:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:32:06] local.INFO: Teltonika packet parsed successfully {"connection_id":142837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:32:06] local.INFO: Passing IMEI to GPS processor {"connection_id":142837,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:32:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":142837,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:32:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:32:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:32:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:32:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994693632001,"66":12319,"121":206,"28":31744,"24":0,"16":8838724867588096,"45":1787084657756749824},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:32:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:32:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:32:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994693632001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:32:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:32:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:32:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8838724867588096,"km_value":8838724867588.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:32:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657756749824,"description":"Unknown IO ID 45"} 
[2026-07-27 12:32:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994693632001,"power":12319,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1787084657756749824}} 
[2026-07-27 12:32:06] local.INFO: DEBUG: GPS processor result {"connection_id":142837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553083,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:32:06] local.INFO: GPS data processed {"connection_id":142837,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:32:06] local.INFO: Acknowledgment sent {"connection_id":142837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:32:09] local.INFO: TCP Data received {"connection_id":145252,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fa25e7458012d7faac005afe4b0000001522b..."} 
[2026-07-27 12:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa25e7458012d7faac005afe4b0000001522b..."} 
[2026-07-27 12:32:09] local.INFO: Processing buffer {"connection_id":145252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa25e7458012d7faac005afe4b0000001522b..."} 
[2026-07-27 12:32:09] local.INFO: Packet analysis {"connection_id":145252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa25e"} 
[2026-07-27 12:32:09] local.INFO: Extracted packet for processing {"connection_id":145252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa25e"} 
[2026-07-27 12:32:09] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":0,"angle":338,"satellites":43,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 12:32:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994617856001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:32:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 12:32:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 12:32:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:32:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785135527000,"timestamp_ms":1785135527000,"timestamp_seconds":1785135527,"priority":1,"record_length":96,"hex_timestamp":"0000019fa25e7458"} 
[2026-07-27 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-07-27 12:32:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 12:32:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-27 12:32:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 12:32:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:32:09] local.INFO: Teltonika packet parsed successfully {"connection_id":145252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:32:09] local.INFO: Passing IMEI to GPS processor {"connection_id":145252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:32:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":145252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12: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-07-27 12:32:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:32:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:32:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994617856001,"66":25495,"250":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 12:32:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:32:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:32:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994617856001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:32:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 12:32:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:32:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:32:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 12:32:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994617856001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 12:32:09] local.INFO: DEBUG: GPS processor result {"connection_id":145252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:32:09] local.INFO: GPS data processed {"connection_id":145252,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:32:09] local.INFO: Acknowledgment sent {"connection_id":145252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:32:38] local.INFO: TCP Data received {"connection_id":142837,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa25f04e0012d18cd0007212440003e014326..."} 
[2026-07-27 12:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142837,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa25f04e0012d18cd0007212440003e014326..."} 
[2026-07-27 12:32:38] local.INFO: Processing buffer {"connection_id":142837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa25f04e0012d18cd0007212440003e014326..."} 
[2026-07-27 12:32:38] local.INFO: Packet analysis {"connection_id":142837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa25f"} 
[2026-07-27 12:32:38] local.INFO: Extracted packet for processing {"connection_id":142837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa25f"} 
[2026-07-27 12:32:38] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119612480,"longitude_deg":75.6600064,"latitude_deg":11.961248,"altitude":62,"angle":323,"satellites":38,"speed":0,"hex_longitude":"2d18cd00","hex_latitude":"07212440","is_valid_coordinates":true} 
[2026-07-27 12:32:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:32:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994699008001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:32:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8838724867588096,"note":"Value kept but may cause issues"} 
[2026-07-27 12:32:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657756749824,"note":"Value kept but may cause issues"} 
[2026-07-27 12:32:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:32:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785135564000,"timestamp_ms":1785135564000,"timestamp_seconds":1785135564,"priority":1,"record_length":96,"hex_timestamp":"0000019fa25f04e0"} 
[2026-07-27 12:32:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:32:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12:32:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 12:32:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:32:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:32:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:32:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:32:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:32:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142837,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:32:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142837,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:32:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:32:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:32:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:32:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994699008001,"66":12298,"121":206,"28":31744,"24":0,"16":8838724867588096,"45":1787084657756749824},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:32:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:32:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:32:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994699008001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:32:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:32:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:32:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8838724867588096,"km_value":8838724867588.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:32:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657756749824,"description":"Unknown IO ID 45"} 
[2026-07-27 12:32:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994699008001,"power":12298,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1787084657756749824}} 
[2026-07-27 12:32:38] local.INFO: DEBUG: GPS processor result {"connection_id":142837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553085,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:32:38] local.INFO: GPS data processed {"connection_id":142837,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:32:38] local.INFO: Acknowledgment sent {"connection_id":142837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:32:38] local.INFO: TCP Data received {"connection_id":142969,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:32:38] local.INFO: Processing buffer {"connection_id":142969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:32:38] local.INFO: IMEI packet received {"connection_id":142969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 12:32:38] local.INFO: IMEI acknowledgment sent {"connection_id":142969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:32:42] local.INFO: TCP Data received {"connection_id":142969,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:32:42] local.INFO: Processing buffer {"connection_id":142969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:32:42] local.INFO: IMEI packet received {"connection_id":142969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 12:32:42] local.INFO: IMEI acknowledgment sent {"connection_id":142969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:32:43] local.INFO: TCP Data received {"connection_id":142969,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019fa25e7458012d7faac005afe4b0000001522b..."} 
[2026-07-27 12:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa25e7458012d7faac005afe4b0000001522b..."} 
[2026-07-27 12:32:43] local.INFO: Processing buffer {"connection_id":142969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa25e7458012d7faac005afe4b0000001522b..."} 
[2026-07-27 12:32:43] local.INFO: Packet analysis {"connection_id":142969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa25e"} 
[2026-07-27 12:32:43] local.INFO: Extracted packet for processing {"connection_id":142969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa25e"} 
[2026-07-27 12:32:43] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":0,"angle":338,"satellites":43,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 12:32:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:32:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994617856001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:32:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 12:32:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 12:32:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:32:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785135527000,"timestamp_ms":1785135527000,"timestamp_seconds":1785135527,"priority":1,"record_length":96,"hex_timestamp":"0000019fa25e7458"} 
[2026-07-27 12:32:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:32:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 12:32:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-27 12:32:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:32:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:32:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:32:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:32:43] local.INFO: Teltonika packet parsed successfully {"connection_id":142969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:32:43] local.INFO: Passing IMEI to GPS processor {"connection_id":142969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:32:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":142969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:32: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-07-27 12:32:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:32:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:32:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994617856001,"66":25495,"250":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 12:32:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:32:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:32:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994617856001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:32:43] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 12:32:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:32:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:32:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 12:32:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994617856001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 12:32:43] local.INFO: DEBUG: GPS processor result {"connection_id":142969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:32:43] local.INFO: GPS data processed {"connection_id":142969,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:32:43] local.INFO: Acknowledgment sent {"connection_id":142969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:33:05] local.INFO: TCP Data received {"connection_id":142838,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142838,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:33:05] local.INFO: Processing buffer {"connection_id":142838,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:33:05] local.INFO: IMEI packet received {"connection_id":142838,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 12:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":142838,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:33:10] local.INFO: TCP Data received {"connection_id":142838,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142838,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:33:10] local.INFO: Processing buffer {"connection_id":142838,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:33:10] local.INFO: IMEI packet received {"connection_id":142838,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 12:33:10] local.INFO: IMEI acknowledgment sent {"connection_id":142838,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:33:11] local.INFO: TCP Data received {"connection_id":142838,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa25f56e8012d18cd0007212440003e014328..."} 
[2026-07-27 12:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa25f56e8012d18cd0007212440003e014328..."} 
[2026-07-27 12:33:11] local.INFO: Processing buffer {"connection_id":142838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa25f56e8012d18cd0007212440003e014328..."} 
[2026-07-27 12:33:11] local.INFO: Packet analysis {"connection_id":142838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa25f"} 
[2026-07-27 12:33:11] local.INFO: Extracted packet for processing {"connection_id":142838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa25f"} 
[2026-07-27 12:33:11] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119612480,"longitude_deg":75.6600064,"latitude_deg":11.961248,"altitude":62,"angle":323,"satellites":40,"speed":0,"hex_longitude":"2d18cd00","hex_latitude":"07212440","is_valid_coordinates":true} 
[2026-07-27 12: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-07-27 12:33:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994704384001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:33:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8838724867588096,"note":"Value kept but may cause issues"} 
[2026-07-27 12:33:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657756749824,"note":"Value kept but may cause issues"} 
[2026-07-27 12:33:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:33:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785135585000,"timestamp_ms":1785135585000,"timestamp_seconds":1785135585,"priority":1,"record_length":96,"hex_timestamp":"0000019fa25f56e8"} 
[2026-07-27 12:33:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:33:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-27 12:33:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":513731689797517635,"note":"Value kept but may cause issues"} 
[2026-07-27 12:33:11] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168048982131200,"note":"Value kept but may cause issues"} 
[2026-07-27 12:33:11] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452319,"note":"Value kept but may cause issues"} 
[2026-07-27 12:33:11] local.WARNING: Large IO value detected {"io_id":102,"raw_value":-4179340454199820287,"note":"Value kept but may cause issues"} 
[2026-07-27 12:33:11] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-6747299716831307571,"note":"Value kept but may cause issues"} 
[2026-07-27 12:33:11] local.WARNING: Large IO value detected {"io_id":62,"raw_value":90959298431025152,"note":"Value kept but may cause issues"} 
[2026-07-27 12:33:11] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832590,"note":"Value kept but may cause issues"} 
[2026-07-27 12:33:11] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683571937968334,"note":"Value kept but may cause issues"} 
[2026-07-27 12:33:11] local.WARNING: Large IO value detected {"io_id":106,"raw_value":3087084824,"note":"Value kept but may cause issues"} 
[2026-07-27 12:33:11] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,121,28,24,241,158,16,102,159,178,45,36,62,39,10,66,96,14,1,240,11,162,33,4,113,205,106,64,43,239,48,2,31,7],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[]} 
[2026-07-27 12:33:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467926135816060928,"timestamp_seconds":4467926135816061.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 12:33:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:33:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:33:11] local.INFO: Teltonika packet parsed successfully {"connection_id":142838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:33:11] local.INFO: Passing IMEI to GPS processor {"connection_id":142838,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:33:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":142838,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:33:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:33:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:33:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:33:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994704384001,"66":12298,"121":206,"28":31744,"24":0,"16":8838724867588096,"45":1787084657756749824},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:33:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:33:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:33:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994704384001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:33:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:33:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:33:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8838724867588096,"km_value":8838724867588.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:33:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657756749824,"description":"Unknown IO ID 45"} 
[2026-07-27 12:33:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994704384001,"power":12298,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1787084657756749824}} 
[2026-07-27 12:33:12] local.INFO: DEBUG: GPS processor result {"connection_id":142838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553087,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:33:12] local.INFO: GPS data processed {"connection_id":142838,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:33:12] local.INFO: Acknowledgment sent {"connection_id":142838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:33:13] local.INFO: TCP Data received {"connection_id":142838,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa25fa8f0012d18cd0007212440003e014326..."} 
[2026-07-27 12:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa25fa8f0012d18cd0007212440003e014326..."} 
[2026-07-27 12:33:13] local.INFO: Processing buffer {"connection_id":142838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa25fa8f0012d18cd0007212440003e014326..."} 
[2026-07-27 12:33:13] local.INFO: Packet analysis {"connection_id":142838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa25f"} 
[2026-07-27 12:33:13] local.INFO: Extracted packet for processing {"connection_id":142838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa25f"} 
[2026-07-27 12:33:13] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119612480,"longitude_deg":75.6600064,"latitude_deg":11.961248,"altitude":62,"angle":323,"satellites":38,"speed":0,"hex_longitude":"2d18cd00","hex_latitude":"07212440","is_valid_coordinates":true} 
[2026-07-27 12:33:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:33:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994709760001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:33:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8838724867588096,"note":"Value kept but may cause issues"} 
[2026-07-27 12:33:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657756749824,"note":"Value kept but may cause issues"} 
[2026-07-27 12:33:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:33:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785135606000,"timestamp_ms":1785135606000,"timestamp_seconds":1785135606,"priority":1,"record_length":96,"hex_timestamp":"0000019fa25fa8f0"} 
[2026-07-27 12:33:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:33:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12:33:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-27 12:33:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":513731689797517635,"note":"Value kept but may cause issues"} 
[2026-07-27 12:33:13] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168048982131200,"note":"Value kept but may cause issues"} 
[2026-07-27 12:33:13] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452319,"note":"Value kept but may cause issues"} 
[2026-07-27 12:33:13] local.WARNING: Large IO value detected {"io_id":102,"raw_value":-4179340454199820287,"note":"Value kept but may cause issues"} 
[2026-07-27 12:33:13] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-6747209522518091571,"note":"Value kept but may cause issues"} 
[2026-07-27 12:33:13] local.WARNING: Large IO value detected {"io_id":62,"raw_value":90963696477536256,"note":"Value kept but may cause issues"} 
[2026-07-27 12:33:13] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832589,"note":"Value kept but may cause issues"} 
[2026-07-27 12:33:13] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3470587347194151118,"note":"Value kept but may cause issues"} 
[2026-07-27 12:33:13] local.WARNING: Large IO value detected {"io_id":188,"raw_value":3221302552,"note":"Value kept but may cause issues"} 
[2026-07-27 12:33:13] local.INFO: IO Element Parsed {"io_data_count":32,"io_data_keys":[0,121,28,24,241,158,16,102,159,4,45,36,62,38,10,66,178,39,96,1,240,31,162,33,113,205,188,64,239,48,2,7],"length":534,"final_offset":664,"validated_count":32,"validation_warnings":[]} 
[2026-07-27 12:33:13] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467926144405995520,"timestamp_seconds":4467926144405995.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 12:33:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:33:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:33:13] local.INFO: Teltonika packet parsed successfully {"connection_id":142838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:33:13] local.INFO: Passing IMEI to GPS processor {"connection_id":142838,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:33:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":142838,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:33:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:33:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:33:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:33:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994709760001,"66":12298,"121":206,"28":31744,"24":0,"16":8838724867588096,"45":1787084657756749824},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:33:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:33:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:33:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994709760001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:33:13] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:33:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:33:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8838724867588096,"km_value":8838724867588.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:33:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657756749824,"description":"Unknown IO ID 45"} 
[2026-07-27 12:33:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994709760001,"power":12298,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1787084657756749824}} 
[2026-07-27 12:33:13] local.INFO: DEBUG: GPS processor result {"connection_id":142838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553088,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:33:13] local.INFO: GPS data processed {"connection_id":142838,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:33:13] local.INFO: Acknowledgment sent {"connection_id":142838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:33:14] local.INFO: TCP Data received {"connection_id":142969,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019fa25e7458012d7faac005afe4b0000001522b..."} 
[2026-07-27 12:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa25e7458012d7faac005afe4b0000001522b..."} 
[2026-07-27 12:33:14] local.INFO: Processing buffer {"connection_id":142969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa25e7458012d7faac005afe4b0000001522b..."} 
[2026-07-27 12:33:14] local.INFO: Packet analysis {"connection_id":142969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa25e"} 
[2026-07-27 12:33:14] local.INFO: Extracted packet for processing {"connection_id":142969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa25e"} 
[2026-07-27 12:33:14] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":0,"angle":338,"satellites":43,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 12:33:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994617856001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:33:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 12:33:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 12:33:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:33:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785135527000,"timestamp_ms":1785135527000,"timestamp_seconds":1785135527,"priority":1,"record_length":96,"hex_timestamp":"0000019fa25e7458"} 
[2026-07-27 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-07-27 12:33:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":151,"data_length":795,"current_offset":136} 
[2026-07-27 12:33:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 12:33:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:33:14] local.INFO: Teltonika packet parsed successfully {"connection_id":142969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:33:14] local.INFO: Passing IMEI to GPS processor {"connection_id":142969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:33:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":142969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:33: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-07-27 12:33:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:33:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:33:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994617856001,"66":25495,"250":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 12:33:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:33:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:33:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994617856001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:33:14] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 12:33:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:33:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:33:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 12:33:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994617856001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 12:33:14] local.INFO: DEBUG: GPS processor result {"connection_id":142969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:33:14] local.INFO: GPS data processed {"connection_id":142969,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:33:14] local.INFO: Acknowledgment sent {"connection_id":142969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:33:32] local.INFO: TCP Data received {"connection_id":143967,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:33:32] local.INFO: Processing buffer {"connection_id":143967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:33:32] local.INFO: IMEI packet received {"connection_id":143967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 12:33:32] local.INFO: IMEI acknowledgment sent {"connection_id":143967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:33:37] local.INFO: TCP Data received {"connection_id":143967,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:33:37] local.INFO: Processing buffer {"connection_id":143967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:33:37] local.INFO: IMEI packet received {"connection_id":143967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 12:33:37] local.INFO: IMEI acknowledgment sent {"connection_id":143967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:33:38] local.INFO: TCP Data received {"connection_id":143967,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa25e7458012d7faac005afe4b0000001522b..."} 
[2026-07-27 12:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143967,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa25e7458012d7faac005afe4b0000001522b..."} 
[2026-07-27 12:33:38] local.INFO: Processing buffer {"connection_id":143967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa25e7458012d7faac005afe4b0000001522b..."} 
[2026-07-27 12:33:38] local.INFO: Packet analysis {"connection_id":143967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa25e"} 
[2026-07-27 12:33:38] local.INFO: Extracted packet for processing {"connection_id":143967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa25e"} 
[2026-07-27 12:33:38] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":0,"angle":338,"satellites":43,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 12:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:33:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994617856001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:33:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 12:33:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 12:33:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:33:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785135527000,"timestamp_ms":1785135527000,"timestamp_seconds":1785135527,"priority":1,"record_length":96,"hex_timestamp":"0000019fa25e7458"} 
[2026-07-27 12:33:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:33:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 12:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-27 12:33:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:33:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:33:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:33:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:33:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:33:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:33:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:33:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:33:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:33:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:33:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994617856001,"66":25495,"250":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 12:33:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:33:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:33:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994617856001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:33:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 12:33:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:33:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:33:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 12:33:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994617856001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 12:33:38] local.INFO: DEBUG: GPS processor result {"connection_id":143967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:33:38] local.INFO: GPS data processed {"connection_id":143967,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:33:38] local.INFO: Acknowledgment sent {"connection_id":143967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:33:44] local.INFO: TCP Data received {"connection_id":142838,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa25ffaf8012d18cd0007212440003e014327..."} 
[2026-07-27 12:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa25ffaf8012d18cd0007212440003e014327..."} 
[2026-07-27 12:33:44] local.INFO: Processing buffer {"connection_id":142838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa25ffaf8012d18cd0007212440003e014327..."} 
[2026-07-27 12:33:44] local.INFO: Packet analysis {"connection_id":142838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa25f"} 
[2026-07-27 12:33:44] local.INFO: Extracted packet for processing {"connection_id":142838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa25f"} 
[2026-07-27 12:33:44] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119612480,"longitude_deg":75.6600064,"latitude_deg":11.961248,"altitude":62,"angle":323,"satellites":39,"speed":0,"hex_longitude":"2d18cd00","hex_latitude":"07212440","is_valid_coordinates":true} 
[2026-07-27 12:33:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:33:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994715136001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:33:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8838724867588096,"note":"Value kept but may cause issues"} 
[2026-07-27 12:33:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657756749824,"note":"Value kept but may cause issues"} 
[2026-07-27 12:33:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:33:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785135627000,"timestamp_ms":1785135627000,"timestamp_seconds":1785135627,"priority":1,"record_length":96,"hex_timestamp":"0000019fa25ffaf8"} 
[2026-07-27 12:33:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:33:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12:33:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-27 12:33:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":513731689797517635,"note":"Value kept but may cause issues"} 
[2026-07-27 12:33:44] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168048982131200,"note":"Value kept but may cause issues"} 
[2026-07-27 12:33:44] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452319,"note":"Value kept but may cause issues"} 
[2026-07-27 12:33:44] local.WARNING: Large IO value detected {"io_id":102,"raw_value":-4179340454199820287,"note":"Value kept but may cause issues"} 
[2026-07-27 12:33:44] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-6747119328204875571,"note":"Value kept but may cause issues"} 
[2026-07-27 12:33:44] local.WARNING: Large IO value detected {"io_id":62,"raw_value":90958198919397376,"note":"Value kept but may cause issues"} 
[2026-07-27 12:33:44] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832589,"note":"Value kept but may cause issues"} 
[2026-07-27 12:33:44] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683571937968334,"note":"Value kept but may cause issues"} 
[2026-07-27 12:33:44] local.WARNING: Large IO value detected {"io_id":14,"raw_value":3355520280,"note":"Value kept but may cause issues"} 
[2026-07-27 12:33:44] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,121,28,24,241,158,16,102,159,86,45,36,62,40,10,66,4,38,178,1,240,31,162,33,113,205,14,64,239,46,2,7,43],"length":534,"final_offset":664,"validated_count":33,"validation_warnings":[]} 
[2026-07-27 12:33:44] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467926135816060928,"timestamp_seconds":4467926135816061.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 12:33:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:33:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:33:44] local.INFO: Teltonika packet parsed successfully {"connection_id":142838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:33:44] local.INFO: Passing IMEI to GPS processor {"connection_id":142838,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:33:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":142838,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:33:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:33:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:33:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:33:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994715136001,"66":12287,"121":206,"28":31744,"24":0,"16":8838724867588096,"45":1787084657756749824},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:33:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:33:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:33:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994715136001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:33:44] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:33:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:33:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8838724867588096,"km_value":8838724867588.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:33:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657756749824,"description":"Unknown IO ID 45"} 
[2026-07-27 12:33:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994715136001,"power":12287,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1787084657756749824}} 
[2026-07-27 12:33:44] local.INFO: DEBUG: GPS processor result {"connection_id":142838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553091,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:33:44] local.INFO: GPS data processed {"connection_id":142838,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:33:44] local.INFO: Acknowledgment sent {"connection_id":142838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:34:00] local.INFO: TCP Data received {"connection_id":145253,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145253,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:34:00] local.INFO: Processing buffer {"connection_id":145253,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:34:00] local.INFO: IMEI packet received {"connection_id":145253,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 12:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":145253,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:34:05] local.INFO: TCP Data received {"connection_id":145253,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145253,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:34:05] local.INFO: Processing buffer {"connection_id":145253,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:34:05] local.INFO: IMEI packet received {"connection_id":145253,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 12:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":145253,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:34:07] local.INFO: TCP Data received {"connection_id":145253,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2604d00012d18cd0007212440003e014326..."} 
[2026-07-27 12:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2604d00012d18cd0007212440003e014326..."} 
[2026-07-27 12:34:07] local.INFO: Processing buffer {"connection_id":145253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2604d00012d18cd0007212440003e014326..."} 
[2026-07-27 12:34:07] local.INFO: Packet analysis {"connection_id":145253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa260"} 
[2026-07-27 12:34:07] local.INFO: Extracted packet for processing {"connection_id":145253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa260"} 
[2026-07-27 12:34:07] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119612480,"longitude_deg":75.6600064,"latitude_deg":11.961248,"altitude":62,"angle":323,"satellites":38,"speed":0,"hex_longitude":"2d18cd00","hex_latitude":"07212440","is_valid_coordinates":true} 
[2026-07-27 12: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-07-27 12:34:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994720512001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:34:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8838724867588096,"note":"Value kept but may cause issues"} 
[2026-07-27 12:34:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657756749824,"note":"Value kept but may cause issues"} 
[2026-07-27 12:34:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:34:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785135648000,"timestamp_ms":1785135648000,"timestamp_seconds":1785135648,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2604d00"} 
[2026-07-27 12:34:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:34:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-27 12:34:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12: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-07-27 12:34:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:34:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:34:07] local.INFO: Teltonika packet parsed successfully {"connection_id":145253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:34:07] local.INFO: Passing IMEI to GPS processor {"connection_id":145253,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:34:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":145253,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:34:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:34:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:34:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:34:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994720512001,"66":12319,"121":206,"28":31744,"24":0,"16":8838724867588096,"45":1787084657756749824},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:34:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:34:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:34:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994720512001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:34:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:34:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:34:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8838724867588096,"km_value":8838724867588.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:34:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657756749824,"description":"Unknown IO ID 45"} 
[2026-07-27 12:34:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994720512001,"power":12319,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1787084657756749824}} 
[2026-07-27 12:34:07] local.INFO: DEBUG: GPS processor result {"connection_id":145253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553092,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:34:07] local.INFO: GPS data processed {"connection_id":145253,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:34:07] local.INFO: Acknowledgment sent {"connection_id":145253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:34:10] local.INFO: TCP Data received {"connection_id":143967,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa25e7458012d7faac005afe4b0000001522b..."} 
[2026-07-27 12:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143967,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa25e7458012d7faac005afe4b0000001522b..."} 
[2026-07-27 12:34:10] local.INFO: Processing buffer {"connection_id":143967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa25e7458012d7faac005afe4b0000001522b..."} 
[2026-07-27 12:34:10] local.INFO: Packet analysis {"connection_id":143967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa25e"} 
[2026-07-27 12:34:10] local.INFO: Extracted packet for processing {"connection_id":143967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa25e"} 
[2026-07-27 12:34:10] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":0,"angle":338,"satellites":43,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 12:34:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994617856001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:34:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 12:34:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 12:34:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:34:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785135527000,"timestamp_ms":1785135527000,"timestamp_seconds":1785135527,"priority":1,"record_length":96,"hex_timestamp":"0000019fa25e7458"} 
[2026-07-27 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-07-27 12:34:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":151,"data_length":795,"current_offset":136} 
[2026-07-27 12:34:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 12:34:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:34:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:34:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:34:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:34: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-07-27 12:34:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:34:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:34:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994617856001,"66":25495,"250":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 12:34:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:34:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:34:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994617856001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:34:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 12:34:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:34:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:34:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 12:34:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994617856001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 12:34:10] local.INFO: DEBUG: GPS processor result {"connection_id":143967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:34:10] local.INFO: GPS data processed {"connection_id":143967,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:34:10] local.INFO: Acknowledgment sent {"connection_id":143967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:34:11] local.INFO: TCP Data received {"connection_id":145253,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2609f08012d18cd0007212440003e014327..."} 
[2026-07-27 12:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2609f08012d18cd0007212440003e014327..."} 
[2026-07-27 12:34:11] local.INFO: Processing buffer {"connection_id":145253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2609f08012d18cd0007212440003e014327..."} 
[2026-07-27 12:34:11] local.INFO: Packet analysis {"connection_id":145253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa260"} 
[2026-07-27 12:34:11] local.INFO: Extracted packet for processing {"connection_id":145253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa260"} 
[2026-07-27 12:34:11] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119612480,"longitude_deg":75.6600064,"latitude_deg":11.961248,"altitude":62,"angle":323,"satellites":39,"speed":0,"hex_longitude":"2d18cd00","hex_latitude":"07212440","is_valid_coordinates":true} 
[2026-07-27 12:34:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:34:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994725888001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:34:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8838724867588096,"note":"Value kept but may cause issues"} 
[2026-07-27 12:34:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657756749824,"note":"Value kept but may cause issues"} 
[2026-07-27 12:34:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:34:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785135669000,"timestamp_ms":1785135669000,"timestamp_seconds":1785135669,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2609f08"} 
[2026-07-27 12:34:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:34:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12:34:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 12:34:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:34:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:34:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:34:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:34:11] local.INFO: Teltonika packet parsed successfully {"connection_id":145253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:34:11] local.INFO: Passing IMEI to GPS processor {"connection_id":145253,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:34:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":145253,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:34:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:34:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:34:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:34:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994725888001,"66":12287,"121":206,"28":31744,"24":0,"16":8838724867588096,"45":1787084657756749824},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:34:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:34:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:34:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994725888001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:34:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:34:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:34:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8838724867588096,"km_value":8838724867588.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:34:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657756749824,"description":"Unknown IO ID 45"} 
[2026-07-27 12:34:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994725888001,"power":12287,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1787084657756749824}} 
[2026-07-27 12:34:11] local.INFO: DEBUG: GPS processor result {"connection_id":145253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553094,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:34:11] local.INFO: GPS data processed {"connection_id":145253,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:34:11] local.INFO: Acknowledgment sent {"connection_id":145253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:34:14] local.INFO: TCP Data received {"connection_id":142970,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 12:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142970,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 12:34:14] local.INFO: Processing buffer {"connection_id":142970,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 12:34:14] local.INFO: IMEI packet received {"connection_id":142970,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 12:34:14] local.INFO: IMEI acknowledgment sent {"connection_id":142970,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:34:37] local.INFO: TCP Data received {"connection_id":142839,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:34:37] local.INFO: Processing buffer {"connection_id":142839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:34:37] local.INFO: IMEI packet received {"connection_id":142839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 12:34:37] local.INFO: IMEI acknowledgment sent {"connection_id":142839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:34:38] local.INFO: TCP Data received {"connection_id":142839,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2630c20012d7faac005afe4b00000015225..."} 
[2026-07-27 12:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2630c20012d7faac005afe4b00000015225..."} 
[2026-07-27 12:34:38] local.INFO: Processing buffer {"connection_id":142839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2630c20012d7faac005afe4b00000015225..."} 
[2026-07-27 12:34:38] local.INFO: Packet analysis {"connection_id":142839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa263"} 
[2026-07-27 12:34:38] local.INFO: Extracted packet for processing {"connection_id":142839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa263"} 
[2026-07-27 12:34:38] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":0,"angle":338,"satellites":37,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 12:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:34:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994694912001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:34:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 12:34:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 12:34:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:34:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785135828000,"timestamp_ms":1785135828000,"timestamp_seconds":1785135828,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2630c20"} 
[2026-07-27 12:34:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:34:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 12:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-27 12:34:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:34:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:34:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:34:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:34:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:34:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:34:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:34:38] 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-07-27 12:34:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:34:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:34:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994694912001,"66":25495,"33":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-27 12:34:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:34:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:34:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994694912001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:34:38] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-27 12:34:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:34:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:34:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 12:34:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994694912001,"power":25495,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 12:34:38] local.INFO: DEBUG: GPS processor result {"connection_id":142839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:34:38] local.INFO: GPS data processed {"connection_id":142839,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:34:38] local.INFO: Acknowledgment sent {"connection_id":142839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:34:43] local.INFO: TCP Data received {"connection_id":145253,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa260f110012d18cd0007212440003e014328..."} 
[2026-07-27 12:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa260f110012d18cd0007212440003e014328..."} 
[2026-07-27 12:34:43] local.INFO: Processing buffer {"connection_id":145253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa260f110012d18cd0007212440003e014328..."} 
[2026-07-27 12:34:43] local.INFO: Packet analysis {"connection_id":145253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa260"} 
[2026-07-27 12:34:43] local.INFO: Extracted packet for processing {"connection_id":145253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa260"} 
[2026-07-27 12:34:43] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119612480,"longitude_deg":75.6600064,"latitude_deg":11.961248,"altitude":62,"angle":323,"satellites":40,"speed":0,"hex_longitude":"2d18cd00","hex_latitude":"07212440","is_valid_coordinates":true} 
[2026-07-27 12:34:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:34:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994731264001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:34:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8838724867588096,"note":"Value kept but may cause issues"} 
[2026-07-27 12:34:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657756749824,"note":"Value kept but may cause issues"} 
[2026-07-27 12:34:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:34:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785135690000,"timestamp_ms":1785135690000,"timestamp_seconds":1785135690,"priority":1,"record_length":96,"hex_timestamp":"0000019fa260f110"} 
[2026-07-27 12:34:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:34:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12:34:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-27 12:34:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:34:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:34:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:34:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:34:43] local.INFO: Teltonika packet parsed successfully {"connection_id":145253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:34:43] local.INFO: Passing IMEI to GPS processor {"connection_id":145253,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:34:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":145253,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:34:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:34:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:34:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:34:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994731264001,"66":12298,"121":206,"28":31744,"24":0,"16":8838724867588096,"45":1787084657756749824},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:34:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:34:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:34:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994731264001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:34:43] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:34:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:34:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8838724867588096,"km_value":8838724867588.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:34:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657756749824,"description":"Unknown IO ID 45"} 
[2026-07-27 12:34:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994731264001,"power":12298,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1787084657756749824}} 
[2026-07-27 12:34:43] local.INFO: DEBUG: GPS processor result {"connection_id":145253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553096,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:34:43] local.INFO: GPS data processed {"connection_id":145253,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:34:43] local.INFO: Acknowledgment sent {"connection_id":145253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:35:00] local.INFO: TCP Data received {"connection_id":142840,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142840,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:35:00] local.INFO: Processing buffer {"connection_id":142840,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:35:00] local.INFO: IMEI packet received {"connection_id":142840,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 12:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":142840,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:35:05] local.INFO: TCP Data received {"connection_id":142840,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142840,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:35:05] local.INFO: Processing buffer {"connection_id":142840,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:35:05] local.INFO: IMEI packet received {"connection_id":142840,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 12:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":142840,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:35:07] local.INFO: TCP Data received {"connection_id":142840,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2614318012d18cd0007212440003e014325..."} 
[2026-07-27 12:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2614318012d18cd0007212440003e014325..."} 
[2026-07-27 12:35:07] local.INFO: Processing buffer {"connection_id":142840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2614318012d18cd0007212440003e014325..."} 
[2026-07-27 12:35:07] local.INFO: Packet analysis {"connection_id":142840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa261"} 
[2026-07-27 12:35:07] local.INFO: Extracted packet for processing {"connection_id":142840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa261"} 
[2026-07-27 12:35:07] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119612480,"longitude_deg":75.6600064,"latitude_deg":11.961248,"altitude":62,"angle":323,"satellites":37,"speed":0,"hex_longitude":"2d18cd00","hex_latitude":"07212440","is_valid_coordinates":true} 
[2026-07-27 12:35:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:35:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994736640001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:35:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8838724867588096,"note":"Value kept but may cause issues"} 
[2026-07-27 12:35:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657756749824,"note":"Value kept but may cause issues"} 
[2026-07-27 12:35:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:35:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785135711000,"timestamp_ms":1785135711000,"timestamp_seconds":1785135711,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2614318"} 
[2026-07-27 12:35:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:35:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12:35:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-27 12:35:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":513731689797517635,"note":"Value kept but may cause issues"} 
[2026-07-27 12:35:07] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168048982131200,"note":"Value kept but may cause issues"} 
[2026-07-27 12:35:07] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452319,"note":"Value kept but may cause issues"} 
[2026-07-27 12:35:07] local.WARNING: Large IO value detected {"io_id":102,"raw_value":-4179340454199820287,"note":"Value kept but may cause issues"} 
[2026-07-27 12:35:07] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-6746758550952011571,"note":"Value kept but may cause issues"} 
[2026-07-27 12:35:07] local.WARNING: Large IO value detected {"io_id":62,"raw_value":90958198919397376,"note":"Value kept but may cause issues"} 
[2026-07-27 12:35:07] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832590,"note":"Value kept but may cause issues"} 
[2026-07-27 12:35:07] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580147939410126,"note":"Value kept but may cause issues"} 
[2026-07-27 12:35:07] local.WARNING: Large IO value detected {"io_id":86,"raw_value":3892391192,"note":"Value kept but may cause issues"} 
[2026-07-27 12:35:07] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,121,28,24,241,158,16,102,159,45,36,62,39,10,66,77,38,250,1,240,255,162,33,4,113,205,86,64,40,239,48,2,31,7],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[]} 
[2026-07-27 12:35:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467926144405995520,"timestamp_seconds":4467926144405995.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 12:35:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:35:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:35:07] local.INFO: Teltonika packet parsed successfully {"connection_id":142840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:35:07] local.INFO: Passing IMEI to GPS processor {"connection_id":142840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:35:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":142840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:35:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:35:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:35:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:35:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994736640001,"66":12298,"121":206,"28":31744,"24":0,"16":8838724867588096,"45":1787084657756749824},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:35:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:35:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:35:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994736640001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:35:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:35:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:35:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8838724867588096,"km_value":8838724867588.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:35:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657756749824,"description":"Unknown IO ID 45"} 
[2026-07-27 12:35:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994736640001,"power":12298,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1787084657756749824}} 
[2026-07-27 12:35:07] local.INFO: DEBUG: GPS processor result {"connection_id":142840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553097,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:35:07] local.INFO: GPS data processed {"connection_id":142840,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:35:07] local.INFO: Acknowledgment sent {"connection_id":142840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:35:09] local.INFO: TCP Data received {"connection_id":142839,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2630c20012d7faac005afe4b00000015225..."} 
[2026-07-27 12:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2630c20012d7faac005afe4b00000015225..."} 
[2026-07-27 12:35:09] local.INFO: Processing buffer {"connection_id":142839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2630c20012d7faac005afe4b00000015225..."} 
[2026-07-27 12:35:09] local.INFO: Packet analysis {"connection_id":142839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa263"} 
[2026-07-27 12:35:09] local.INFO: Extracted packet for processing {"connection_id":142839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa263"} 
[2026-07-27 12:35:09] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":0,"angle":338,"satellites":37,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 12:35:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:35:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994694912001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:35:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 12:35:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 12:35:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:35:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785135828000,"timestamp_ms":1785135828000,"timestamp_seconds":1785135828,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2630c20"} 
[2026-07-27 12:35:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:35:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":151,"data_length":795,"current_offset":136} 
[2026-07-27 12:35:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:35:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:35:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:35:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:35:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:35:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:35:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:35: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-07-27 12:35:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:35:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:35:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994694912001,"66":25495,"33":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-27 12:35:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:35:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:35:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994694912001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:35:09] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-27 12:35:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:35:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:35:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 12:35:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994694912001,"power":25495,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 12:35:09] local.INFO: DEBUG: GPS processor result {"connection_id":142839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:35:09] local.INFO: GPS data processed {"connection_id":142839,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:35:09] local.INFO: Acknowledgment sent {"connection_id":142839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:35:33] local.INFO: TCP Data received {"connection_id":145254,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:35:33] local.INFO: Processing buffer {"connection_id":145254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:35:33] local.INFO: IMEI packet received {"connection_id":145254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 12:35:33] local.INFO: IMEI acknowledgment sent {"connection_id":145254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:35:38] local.INFO: TCP Data received {"connection_id":145254,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:35:38] local.INFO: Processing buffer {"connection_id":145254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:35:38] local.INFO: IMEI packet received {"connection_id":145254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 12:35:38] local.INFO: IMEI acknowledgment sent {"connection_id":145254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:35:39] local.INFO: TCP Data received {"connection_id":142840,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2619520012d18cd0007212440003e014326..."} 
[2026-07-27 12:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2619520012d18cd0007212440003e014326..."} 
[2026-07-27 12:35:39] local.INFO: Processing buffer {"connection_id":142840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2619520012d18cd0007212440003e014326..."} 
[2026-07-27 12:35:39] local.INFO: Packet analysis {"connection_id":142840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa261"} 
[2026-07-27 12:35:39] local.INFO: Extracted packet for processing {"connection_id":142840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa261"} 
[2026-07-27 12:35:39] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119612480,"longitude_deg":75.6600064,"latitude_deg":11.961248,"altitude":62,"angle":323,"satellites":38,"speed":0,"hex_longitude":"2d18cd00","hex_latitude":"07212440","is_valid_coordinates":true} 
[2026-07-27 12:35:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:35:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994742016001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:35:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8838724867588096,"note":"Value kept but may cause issues"} 
[2026-07-27 12:35:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657756749824,"note":"Value kept but may cause issues"} 
[2026-07-27 12:35:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:35:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785135732000,"timestamp_ms":1785135732000,"timestamp_seconds":1785135732,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2619520"} 
[2026-07-27 12:35:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:35:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12:35:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-27 12:35:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":513731689797517635,"note":"Value kept but may cause issues"} 
[2026-07-27 12:35:39] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168048982131200,"note":"Value kept but may cause issues"} 
[2026-07-27 12:35:39] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452319,"note":"Value kept but may cause issues"} 
[2026-07-27 12:35:39] local.WARNING: Large IO value detected {"io_id":102,"raw_value":-4179340454199820287,"note":"Value kept but may cause issues"} 
[2026-07-27 12:35:39] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-6746668356638795571,"note":"Value kept but may cause issues"} 
[2026-07-27 12:35:39] local.WARNING: Large IO value detected {"io_id":62,"raw_value":90960397942652928,"note":"Value kept but may cause issues"} 
[2026-07-27 12:35:39] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832591,"note":"Value kept but may cause issues"} 
[2026-07-27 12:35:39] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580147939410126,"note":"Value kept but may cause issues"} 
[2026-07-27 12:35:39] local.WARNING: Large IO value detected {"io_id":168,"raw_value":4026608920,"note":"Value kept but may cause issues"} 
[2026-07-27 12:35:39] local.INFO: IO Element Parsed {"io_data_count":32,"io_data_keys":[0,121,28,24,241,158,16,102,159,45,36,62,40,10,66,39,77,1,240,31,162,33,4,113,205,168,64,38,239,48,2,7],"length":534,"final_offset":664,"validated_count":32,"validation_warnings":[]} 
[2026-07-27 12:35:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467926131521093632,"timestamp_seconds":4467926131521093.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 12:35:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:35:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:35:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:35:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:35:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:35:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:35:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:35:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:35:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994742016001,"66":12341,"121":206,"28":31744,"24":0,"16":8838724867588096,"45":1787084657756749824},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:35:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:35:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:35:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994742016001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:35:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:35:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:35:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8838724867588096,"km_value":8838724867588.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:35:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657756749824,"description":"Unknown IO ID 45"} 
[2026-07-27 12:35:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994742016001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1787084657756749824}} 
[2026-07-27 12:35:39] local.INFO: TCP Data received {"connection_id":145254,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2630c20012d7faac005afe4b00000015225..."} 
[2026-07-27 12:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145254,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2630c20012d7faac005afe4b00000015225..."} 
[2026-07-27 12:35:39] local.INFO: Processing buffer {"connection_id":145254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2630c20012d7faac005afe4b00000015225..."} 
[2026-07-27 12:35:39] local.INFO: Packet analysis {"connection_id":145254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa263"} 
[2026-07-27 12:35:39] local.INFO: Extracted packet for processing {"connection_id":145254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa263"} 
[2026-07-27 12:35:39] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":0,"angle":338,"satellites":37,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 12:35:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:35:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994694912001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:35:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 12:35:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 12:35:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:35:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785135828000,"timestamp_ms":1785135828000,"timestamp_seconds":1785135828,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2630c20"} 
[2026-07-27 12:35:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:35:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 12:35:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-27 12:35:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:35:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:35:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:35:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:35:39] local.INFO: Teltonika packet parsed successfully {"connection_id":145254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:35:39] local.INFO: Passing IMEI to GPS processor {"connection_id":145254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:35:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":145254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:35:39] 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-07-27 12:35:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:35:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:35:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994694912001,"66":25495,"33":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-27 12:35:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:35:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:35:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994694912001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:35:39] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-27 12:35:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:35:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:35:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 12:35:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994694912001,"power":25495,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 12:35:39] local.INFO: DEBUG: GPS processor result {"connection_id":145254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:35:39] local.INFO: GPS data processed {"connection_id":145254,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:35:39] local.INFO: Acknowledgment sent {"connection_id":145254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:35:39] local.INFO: DEBUG: GPS processor result {"connection_id":142840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553100,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:35:39] local.INFO: GPS data processed {"connection_id":142840,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:35:39] local.INFO: Acknowledgment sent {"connection_id":142840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:35:44] local.INFO: TCP Data received {"connection_id":145254,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2630c20012d7faac005afe4b00000015225..."} 
[2026-07-27 12:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145254,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2630c20012d7faac005afe4b00000015225..."} 
[2026-07-27 12:35:44] local.INFO: Processing buffer {"connection_id":145254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2630c20012d7faac005afe4b00000015225..."} 
[2026-07-27 12:35:44] local.INFO: Packet analysis {"connection_id":145254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa263"} 
[2026-07-27 12:35:44] local.INFO: Extracted packet for processing {"connection_id":145254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa263"} 
[2026-07-27 12:35:44] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":0,"angle":338,"satellites":37,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 12:35:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:35:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994694912001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:35:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 12:35:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 12:35:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:35:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785135828000,"timestamp_ms":1785135828000,"timestamp_seconds":1785135828,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2630c20"} 
[2026-07-27 12:35:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:35:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 12:35:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-27 12:35:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:35:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:35:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:35:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:35:44] local.INFO: Teltonika packet parsed successfully {"connection_id":145254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:35:44] local.INFO: Passing IMEI to GPS processor {"connection_id":145254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:35:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":145254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:35:44] 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-07-27 12:35:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:35:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:35:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994694912001,"66":25495,"33":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-27 12:35:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:35:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:35:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994694912001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:35:44] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-27 12:35:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:35:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:35:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 12:35:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994694912001,"power":25495,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 12:35:44] local.INFO: DEBUG: GPS processor result {"connection_id":145254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:35:44] local.INFO: GPS data processed {"connection_id":145254,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:35:44] local.INFO: Acknowledgment sent {"connection_id":145254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:35:59] local.INFO: TCP Data received {"connection_id":142841,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142841,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:35:59] local.INFO: Processing buffer {"connection_id":142841,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:35:59] local.INFO: IMEI packet received {"connection_id":142841,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 12:35:59] local.INFO: IMEI acknowledgment sent {"connection_id":142841,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:36:00] local.INFO: TCP Data received {"connection_id":142841,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142841,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:36:00] local.INFO: Processing buffer {"connection_id":142841,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:36:00] local.INFO: IMEI packet received {"connection_id":142841,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 12:36:00] local.INFO: IMEI acknowledgment sent {"connection_id":142841,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:36:05] local.INFO: TCP Data received {"connection_id":142841,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142841,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:36:05] local.INFO: Processing buffer {"connection_id":142841,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:36:05] local.INFO: IMEI packet received {"connection_id":142841,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 12:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":142841,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:36:06] local.INFO: TCP Data received {"connection_id":142841,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa261e728012d18cd0007212440003e014328..."} 
[2026-07-27 12:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa261e728012d18cd0007212440003e014328..."} 
[2026-07-27 12:36:06] local.INFO: Processing buffer {"connection_id":142841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa261e728012d18cd0007212440003e014328..."} 
[2026-07-27 12:36:06] local.INFO: Packet analysis {"connection_id":142841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa261"} 
[2026-07-27 12:36:06] local.INFO: Extracted packet for processing {"connection_id":142841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa261"} 
[2026-07-27 12:36:06] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119612480,"longitude_deg":75.6600064,"latitude_deg":11.961248,"altitude":62,"angle":323,"satellites":40,"speed":0,"hex_longitude":"2d18cd00","hex_latitude":"07212440","is_valid_coordinates":true} 
[2026-07-27 12:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:36:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994747392001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:36:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8838724867588096,"note":"Value kept but may cause issues"} 
[2026-07-27 12:36:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657756749824,"note":"Value kept but may cause issues"} 
[2026-07-27 12:36:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:36:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785135753000,"timestamp_ms":1785135753000,"timestamp_seconds":1785135753,"priority":1,"record_length":96,"hex_timestamp":"0000019fa261e728"} 
[2026-07-27 12:36:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:36:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 12:36:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:36:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:36:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:36:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:36:06] local.INFO: Teltonika packet parsed successfully {"connection_id":142841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:36:06] local.INFO: Passing IMEI to GPS processor {"connection_id":142841,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:36:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":142841,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:36:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:36:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:36:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:36:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994747392001,"66":12298,"121":206,"28":31744,"24":0,"16":8838724867588096,"45":1787084657756749824},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:36:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:36:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:36:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994747392001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:36:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:36:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:36:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8838724867588096,"km_value":8838724867588.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:36:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657756749824,"description":"Unknown IO ID 45"} 
[2026-07-27 12:36:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994747392001,"power":12298,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1787084657756749824}} 
[2026-07-27 12:36:06] local.INFO: DEBUG: GPS processor result {"connection_id":142841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553102,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:36:06] local.INFO: GPS data processed {"connection_id":142841,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:36:06] local.INFO: Acknowledgment sent {"connection_id":142841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:36:16] local.INFO: TCP Data received {"connection_id":145254,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2630c20012d7faac005afe4b00000015225..."} 
[2026-07-27 12:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145254,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2630c20012d7faac005afe4b00000015225..."} 
[2026-07-27 12:36:16] local.INFO: Processing buffer {"connection_id":145254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2630c20012d7faac005afe4b00000015225..."} 
[2026-07-27 12:36:16] local.INFO: Packet analysis {"connection_id":145254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa263"} 
[2026-07-27 12:36:16] local.INFO: Extracted packet for processing {"connection_id":145254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa263"} 
[2026-07-27 12:36:16] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":0,"angle":338,"satellites":37,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 12: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-07-27 12:36:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994694912001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:36:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 12:36:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 12:36:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:36:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785135828000,"timestamp_ms":1785135828000,"timestamp_seconds":1785135828,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2630c20"} 
[2026-07-27 12:36:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:36:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 12: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":151,"data_length":795,"current_offset":136} 
[2026-07-27 12:36:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12: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-07-27 12:36:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:36:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:36:16] local.INFO: Teltonika packet parsed successfully {"connection_id":145254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:36:16] local.INFO: Passing IMEI to GPS processor {"connection_id":145254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:36:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":145254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12: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-07-27 12:36:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:36:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:36:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994694912001,"66":25495,"33":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-27 12:36:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:36:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:36:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994694912001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:36:16] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-27 12:36:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:36:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:36:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 12:36:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994694912001,"power":25495,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 12:36:16] local.INFO: DEBUG: GPS processor result {"connection_id":145254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:36:16] local.INFO: GPS data processed {"connection_id":145254,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:36:16] local.INFO: Acknowledgment sent {"connection_id":145254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:36:33] local.INFO: TCP Data received {"connection_id":145255,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:36:33] local.INFO: Processing buffer {"connection_id":145255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:36:33] local.INFO: IMEI packet received {"connection_id":145255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 12:36:33] local.INFO: IMEI acknowledgment sent {"connection_id":145255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:36:37] local.INFO: TCP Data received {"connection_id":145255,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:36:37] local.INFO: Processing buffer {"connection_id":145255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:36:37] local.INFO: IMEI packet received {"connection_id":145255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 12:36:37] local.INFO: IMEI acknowledgment sent {"connection_id":145255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:36:38] local.INFO: TCP Data received {"connection_id":142841,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2623930012d18cd0007212440003e014328..."} 
[2026-07-27 12:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2623930012d18cd0007212440003e014328..."} 
[2026-07-27 12:36:38] local.INFO: Processing buffer {"connection_id":142841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2623930012d18cd0007212440003e014328..."} 
[2026-07-27 12:36:38] local.INFO: Packet analysis {"connection_id":142841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa262"} 
[2026-07-27 12:36:38] local.INFO: Extracted packet for processing {"connection_id":142841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa262"} 
[2026-07-27 12:36:38] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119612480,"longitude_deg":75.6600064,"latitude_deg":11.961248,"altitude":62,"angle":323,"satellites":40,"speed":0,"hex_longitude":"2d18cd00","hex_latitude":"07212440","is_valid_coordinates":true} 
[2026-07-27 12:36:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:36:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994752768001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:36:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8838724867588096,"note":"Value kept but may cause issues"} 
[2026-07-27 12:36:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657756749824,"note":"Value kept but may cause issues"} 
[2026-07-27 12:36:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:36:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785135774000,"timestamp_ms":1785135774000,"timestamp_seconds":1785135774,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2623930"} 
[2026-07-27 12:36:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:36:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12:36:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-27 12:36:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":513731689797517635,"note":"Value kept but may cause issues"} 
[2026-07-27 12:36:38] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168048982131200,"note":"Value kept but may cause issues"} 
[2026-07-27 12:36:38] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452319,"note":"Value kept but may cause issues"} 
[2026-07-27 12:36:38] local.WARNING: Large IO value detected {"io_id":102,"raw_value":-4179340454199820287,"note":"Value kept but may cause issues"} 
[2026-07-27 12:36:38] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-6746487968012363571,"note":"Value kept but may cause issues"} 
[2026-07-27 12:36:38] local.WARNING: Large IO value detected {"io_id":62,"raw_value":90959298431025152,"note":"Value kept but may cause issues"} 
[2026-07-27 12:36:38] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832590,"note":"Value kept but may cause issues"} 
[2026-07-27 12:36:38] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483923195592910,"note":"Value kept but may cause issues"} 
[2026-07-27 12:36:38] local.INFO: IO Element Parsed {"io_data_count":32,"io_data_keys":[0,121,28,24,241,158,16,102,159,149,45,36,62,38,10,66,67,37,1,240,162,33,4,113,205,77,64,239,48,2,31,7],"length":534,"final_offset":664,"validated_count":32,"validation_warnings":[]} 
[2026-07-27 12:36:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467926144405995520,"timestamp_seconds":4467926144405995.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 12:36:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:36:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:36:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:36:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142841,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:36:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142841,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:36:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:36:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:36:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:36:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994752768001,"66":12341,"121":206,"28":31744,"24":0,"16":8838724867588096,"45":1787084657756749824},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:36:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:36:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:36:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994752768001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:36:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:36:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:36:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8838724867588096,"km_value":8838724867588.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:36:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657756749824,"description":"Unknown IO ID 45"} 
[2026-07-27 12:36:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994752768001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1787084657756749824}} 
[2026-07-27 12:36:38] local.INFO: DEBUG: GPS processor result {"connection_id":142841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553104,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:36:38] local.INFO: GPS data processed {"connection_id":142841,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:36:38] local.INFO: Acknowledgment sent {"connection_id":142841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:36:38] local.INFO: TCP Data received {"connection_id":145255,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2630c20012d7faac005afe4b00000015225..."} 
[2026-07-27 12:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2630c20012d7faac005afe4b00000015225..."} 
[2026-07-27 12:36:38] local.INFO: Processing buffer {"connection_id":145255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2630c20012d7faac005afe4b00000015225..."} 
[2026-07-27 12:36:38] local.INFO: Packet analysis {"connection_id":145255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa263"} 
[2026-07-27 12:36:38] local.INFO: Extracted packet for processing {"connection_id":145255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa263"} 
[2026-07-27 12:36:38] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":0,"angle":338,"satellites":37,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 12:36:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:36:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994694912001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:36:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 12:36:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 12:36:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:36:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785135828000,"timestamp_ms":1785135828000,"timestamp_seconds":1785135828,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2630c20"} 
[2026-07-27 12:36:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:36:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 12:36:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-27 12:36:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:36:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:36:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:36:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:36:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:36:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:36:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:36:38] 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-07-27 12:36:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:36:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:36:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994694912001,"66":25495,"33":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-27 12:36:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:36:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:36:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994694912001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:36:38] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-27 12:36:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:36:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:36:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 12:36:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994694912001,"power":25495,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 12:36:38] local.INFO: DEBUG: GPS processor result {"connection_id":145255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:36:38] local.INFO: GPS data processed {"connection_id":145255,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:36:38] local.INFO: Acknowledgment sent {"connection_id":145255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:37:00] local.INFO: TCP Data received {"connection_id":143968,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143968,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:37:00] local.INFO: Processing buffer {"connection_id":143968,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:37:00] local.INFO: IMEI packet received {"connection_id":143968,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 12:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":143968,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:37:03] local.INFO: TCP Data received {"connection_id":143968,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143968,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:37:03] local.INFO: Processing buffer {"connection_id":143968,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:37:03] local.INFO: IMEI packet received {"connection_id":143968,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 12:37:03] local.INFO: IMEI acknowledgment sent {"connection_id":143968,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:37:05] local.INFO: TCP Data received {"connection_id":143968,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143968,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:37:05] local.INFO: Processing buffer {"connection_id":143968,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:37:05] local.INFO: IMEI packet received {"connection_id":143968,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 12:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":143968,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:37:06] local.INFO: TCP Data received {"connection_id":143968,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2628b38012d18cd0007212440003e014328..."} 
[2026-07-27 12:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143968,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2628b38012d18cd0007212440003e014328..."} 
[2026-07-27 12:37:06] local.INFO: Processing buffer {"connection_id":143968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2628b38012d18cd0007212440003e014328..."} 
[2026-07-27 12:37:06] local.INFO: Packet analysis {"connection_id":143968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa262"} 
[2026-07-27 12:37:06] local.INFO: Extracted packet for processing {"connection_id":143968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa262"} 
[2026-07-27 12:37:06] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119612480,"longitude_deg":75.6600064,"latitude_deg":11.961248,"altitude":62,"angle":323,"satellites":40,"speed":0,"hex_longitude":"2d18cd00","hex_latitude":"07212440","is_valid_coordinates":true} 
[2026-07-27 12:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:37:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994758144001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:37:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8838724867588096,"note":"Value kept but may cause issues"} 
[2026-07-27 12:37:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657756749824,"note":"Value kept but may cause issues"} 
[2026-07-27 12:37:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:37:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785135795000,"timestamp_ms":1785135795000,"timestamp_seconds":1785135795,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2628b38"} 
[2026-07-27 12:37:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:37:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 12:37:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:37:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:37:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:37:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:37:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:37:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143968,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:37:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143968,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:37:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:37:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:37:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:37:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994758144001,"66":12287,"121":206,"28":31744,"24":0,"16":8838724867588096,"45":1787084657756749824},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:37:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:37:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:37:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994758144001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:37:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:37:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:37:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8838724867588096,"km_value":8838724867588.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:37:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657756749824,"description":"Unknown IO ID 45"} 
[2026-07-27 12:37:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994758144001,"power":12287,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1787084657756749824}} 
[2026-07-27 12:37:06] local.INFO: DEBUG: GPS processor result {"connection_id":143968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553106,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:37:06] local.INFO: GPS data processed {"connection_id":143968,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:37:06] local.INFO: Acknowledgment sent {"connection_id":143968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:37:09] local.INFO: TCP Data received {"connection_id":145255,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2630c20012d7faac005afe4b00000015225..."} 
[2026-07-27 12:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2630c20012d7faac005afe4b00000015225..."} 
[2026-07-27 12:37:09] local.INFO: Processing buffer {"connection_id":145255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2630c20012d7faac005afe4b00000015225..."} 
[2026-07-27 12:37:09] local.INFO: Packet analysis {"connection_id":145255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa263"} 
[2026-07-27 12:37:09] local.INFO: Extracted packet for processing {"connection_id":145255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa263"} 
[2026-07-27 12:37:09] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":0,"angle":338,"satellites":37,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 12:37:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:37:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994694912001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:37:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 12:37:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 12:37:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:37:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785135828000,"timestamp_ms":1785135828000,"timestamp_seconds":1785135828,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2630c20"} 
[2026-07-27 12:37:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:37:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 12:37:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-27 12:37:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:37:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:37:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:37:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:37:09] local.INFO: Teltonika packet parsed successfully {"connection_id":145255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:37:09] local.INFO: Passing IMEI to GPS processor {"connection_id":145255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:37:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":145255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:37: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-07-27 12:37:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:37:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:37:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994694912001,"66":25495,"33":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-27 12:37:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:37:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:37:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994694912001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:37:09] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-27 12:37:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:37:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:37:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 12:37:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994694912001,"power":25495,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 12:37:09] local.INFO: DEBUG: GPS processor result {"connection_id":145255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:37:09] local.INFO: GPS data processed {"connection_id":145255,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:37:09] local.INFO: Acknowledgment sent {"connection_id":145255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:37:32] local.INFO: TCP Data received {"connection_id":142971,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:37:32] local.INFO: Processing buffer {"connection_id":142971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:37:32] local.INFO: IMEI packet received {"connection_id":142971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 12:37:32] local.INFO: IMEI acknowledgment sent {"connection_id":142971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:37:37] local.INFO: TCP Data received {"connection_id":142971,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:37:37] local.INFO: Processing buffer {"connection_id":142971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:37:37] local.INFO: IMEI packet received {"connection_id":142971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 12:37:37] local.INFO: IMEI acknowledgment sent {"connection_id":142971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:37:37] local.INFO: TCP Data received {"connection_id":143968,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa262dd40012d18cd0007212440003e014325..."} 
[2026-07-27 12:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143968,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa262dd40012d18cd0007212440003e014325..."} 
[2026-07-27 12:37:37] local.INFO: Processing buffer {"connection_id":143968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa262dd40012d18cd0007212440003e014325..."} 
[2026-07-27 12:37:37] local.INFO: Packet analysis {"connection_id":143968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa262"} 
[2026-07-27 12:37:37] local.INFO: Extracted packet for processing {"connection_id":143968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa262"} 
[2026-07-27 12:37:37] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119612480,"longitude_deg":75.6600064,"latitude_deg":11.961248,"altitude":62,"angle":323,"satellites":37,"speed":0,"hex_longitude":"2d18cd00","hex_latitude":"07212440","is_valid_coordinates":true} 
[2026-07-27 12:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994763520001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8838724867588096,"note":"Value kept but may cause issues"} 
[2026-07-27 12:37:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657756749824,"note":"Value kept but may cause issues"} 
[2026-07-27 12:37:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785135816000,"timestamp_ms":1785135816000,"timestamp_seconds":1785135816,"priority":1,"record_length":96,"hex_timestamp":"0000019fa262dd40"} 
[2026-07-27 12:37:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:37:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-27 12:37:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:37:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:37:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143968,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143968,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:37:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:37:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994763520001,"66":12341,"121":206,"28":31744,"24":0,"16":8838724867588096,"45":1787084657756749824},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:37:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:37:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:37:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994763520001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:37:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:37:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:37:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8838724867588096,"km_value":8838724867588.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:37:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657756749824,"description":"Unknown IO ID 45"} 
[2026-07-27 12:37:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994763520001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1787084657756749824}} 
[2026-07-27 12:37:38] local.INFO: DEBUG: GPS processor result {"connection_id":143968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553108,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:37:38] local.INFO: GPS data processed {"connection_id":143968,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:37:38] local.INFO: Acknowledgment sent {"connection_id":143968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:37:38] local.INFO: TCP Data received {"connection_id":142971,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2630c20012d7faac005afe4b00000015225..."} 
[2026-07-27 12:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2630c20012d7faac005afe4b00000015225..."} 
[2026-07-27 12:37:38] local.INFO: Processing buffer {"connection_id":142971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2630c20012d7faac005afe4b00000015225..."} 
[2026-07-27 12:37:38] local.INFO: Packet analysis {"connection_id":142971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa263"} 
[2026-07-27 12:37:38] local.INFO: Extracted packet for processing {"connection_id":142971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa263"} 
[2026-07-27 12:37:38] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":0,"angle":338,"satellites":37,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 12:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:37:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994694912001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:37:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 12:37:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 12:37:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:37:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785135828000,"timestamp_ms":1785135828000,"timestamp_seconds":1785135828,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2630c20"} 
[2026-07-27 12:37:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:37:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 12:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-27 12:37:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:37:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:37:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:37:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:37:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:37:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:37:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:37:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:37:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:37:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:37:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994694912001,"66":25495,"33":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-27 12:37:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:37:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:37:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994694912001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:37:38] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-27 12:37:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:37:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:37:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 12:37:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994694912001,"power":25495,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 12:37:38] local.INFO: DEBUG: GPS processor result {"connection_id":142971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:37:38] local.INFO: GPS data processed {"connection_id":142971,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:37:38] local.INFO: Acknowledgment sent {"connection_id":142971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:38:00] local.INFO: TCP Data received {"connection_id":142842,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142842,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:38:00] local.INFO: Processing buffer {"connection_id":142842,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:38:00] local.INFO: IMEI packet received {"connection_id":142842,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 12:38:00] local.INFO: IMEI acknowledgment sent {"connection_id":142842,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:38:05] local.INFO: TCP Data received {"connection_id":142842,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142842,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:38:05] local.INFO: Processing buffer {"connection_id":142842,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:38:05] local.INFO: IMEI packet received {"connection_id":142842,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 12:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":142842,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:38:06] local.INFO: TCP Data received {"connection_id":142842,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2632f48012d18cd0007212440003e014327..."} 
[2026-07-27 12:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2632f48012d18cd0007212440003e014327..."} 
[2026-07-27 12:38:06] local.INFO: Processing buffer {"connection_id":142842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2632f48012d18cd0007212440003e014327..."} 
[2026-07-27 12:38:06] local.INFO: Packet analysis {"connection_id":142842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa263"} 
[2026-07-27 12:38:06] local.INFO: Extracted packet for processing {"connection_id":142842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa263"} 
[2026-07-27 12:38:06] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119612480,"longitude_deg":75.6600064,"latitude_deg":11.961248,"altitude":62,"angle":323,"satellites":39,"speed":0,"hex_longitude":"2d18cd00","hex_latitude":"07212440","is_valid_coordinates":true} 
[2026-07-27 12:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:38:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994768896001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:38:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8838724867588096,"note":"Value kept but may cause issues"} 
[2026-07-27 12:38:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657756749824,"note":"Value kept but may cause issues"} 
[2026-07-27 12:38:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:38:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785135837000,"timestamp_ms":1785135837000,"timestamp_seconds":1785135837,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2632f48"} 
[2026-07-27 12:38:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:38:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 12:38:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:38:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:38:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:38:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:38:06] local.INFO: Teltonika packet parsed successfully {"connection_id":142842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:38:06] local.INFO: Passing IMEI to GPS processor {"connection_id":142842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:38:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":142842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:38:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:38:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:38:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:38:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994768896001,"66":12319,"121":206,"28":31744,"24":0,"16":8838724867588096,"45":1787084657756749824},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:38:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:38:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:38:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994768896001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:38:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:38:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:38:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8838724867588096,"km_value":8838724867588.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:38:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657756749824,"description":"Unknown IO ID 45"} 
[2026-07-27 12:38:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994768896001,"power":12319,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1787084657756749824}} 
[2026-07-27 12:38:06] local.INFO: DEBUG: GPS processor result {"connection_id":142842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553110,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:38:06] local.INFO: GPS data processed {"connection_id":142842,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:38:06] local.INFO: Acknowledgment sent {"connection_id":142842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:38:10] local.INFO: TCP Data received {"connection_id":142971,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2630c20012d7faac005afe4b00000015225..."} 
[2026-07-27 12:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2630c20012d7faac005afe4b00000015225..."} 
[2026-07-27 12:38:10] local.INFO: Processing buffer {"connection_id":142971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2630c20012d7faac005afe4b00000015225..."} 
[2026-07-27 12:38:10] local.INFO: Packet analysis {"connection_id":142971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa263"} 
[2026-07-27 12:38:10] local.INFO: Extracted packet for processing {"connection_id":142971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa263"} 
[2026-07-27 12:38:10] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":0,"angle":338,"satellites":37,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 12:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:38:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994694912001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:38:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 12:38:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 12:38:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:38:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785135828000,"timestamp_ms":1785135828000,"timestamp_seconds":1785135828,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2630c20"} 
[2026-07-27 12:38:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:38:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 12:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-27 12:38:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:38:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:38:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:38:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:38:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:38:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:38:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:38: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-07-27 12:38:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:38:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:38:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994694912001,"66":25495,"33":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-27 12:38:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:38:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:38:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994694912001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:38:10] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-27 12:38:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:38:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:38:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 12:38:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994694912001,"power":25495,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 12:38:10] local.INFO: DEBUG: GPS processor result {"connection_id":142971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:38:10] local.INFO: GPS data processed {"connection_id":142971,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:38:10] local.INFO: Acknowledgment sent {"connection_id":142971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:38:32] local.INFO: TCP Data received {"connection_id":142843,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:38:32] local.INFO: Processing buffer {"connection_id":142843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:38:32] local.INFO: IMEI packet received {"connection_id":142843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 12:38:32] local.INFO: IMEI acknowledgment sent {"connection_id":142843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:38:37] local.INFO: TCP Data received {"connection_id":142843,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:38:37] local.INFO: Processing buffer {"connection_id":142843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:38:37] local.INFO: IMEI packet received {"connection_id":142843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 12:38:37] local.INFO: IMEI acknowledgment sent {"connection_id":142843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:38:38] local.INFO: TCP Data received {"connection_id":142842,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2638150012d18cd0007212440003e014323..."} 
[2026-07-27 12:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2638150012d18cd0007212440003e014323..."} 
[2026-07-27 12:38:38] local.INFO: Processing buffer {"connection_id":142842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2638150012d18cd0007212440003e014323..."} 
[2026-07-27 12:38:38] local.INFO: Packet analysis {"connection_id":142842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa263"} 
[2026-07-27 12:38:38] local.INFO: Extracted packet for processing {"connection_id":142842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa263"} 
[2026-07-27 12:38:38] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119612480,"longitude_deg":75.6600064,"latitude_deg":11.961248,"altitude":62,"angle":323,"satellites":35,"speed":0,"hex_longitude":"2d18cd00","hex_latitude":"07212440","is_valid_coordinates":true} 
[2026-07-27 12:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:38:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994774272001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:38:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8838724867588096,"note":"Value kept but may cause issues"} 
[2026-07-27 12:38:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657756749824,"note":"Value kept but may cause issues"} 
[2026-07-27 12:38:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:38:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785135858000,"timestamp_ms":1785135858000,"timestamp_seconds":1785135858,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2638150"} 
[2026-07-27 12:38:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:38:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 12:38:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:38:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:38:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:38:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:38:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:38:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:38:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:38:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:38:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:38:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:38:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994774272001,"66":12319,"121":206,"28":31744,"24":0,"16":8838724867588096,"45":1787084657756749824},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:38:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:38:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:38:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994774272001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:38:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:38:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:38:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8838724867588096,"km_value":8838724867588.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:38:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657756749824,"description":"Unknown IO ID 45"} 
[2026-07-27 12:38:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994774272001,"power":12319,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1787084657756749824}} 
[2026-07-27 12:38:38] local.INFO: DEBUG: GPS processor result {"connection_id":142842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553112,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:38:38] local.INFO: GPS data processed {"connection_id":142842,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:38:38] local.INFO: Acknowledgment sent {"connection_id":142842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:38:38] local.INFO: TCP Data received {"connection_id":142843,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2630c20012d7faac005afe4b00000015225..."} 
[2026-07-27 12:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2630c20012d7faac005afe4b00000015225..."} 
[2026-07-27 12:38:38] local.INFO: Processing buffer {"connection_id":142843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2630c20012d7faac005afe4b00000015225..."} 
[2026-07-27 12:38:38] local.INFO: Packet analysis {"connection_id":142843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa263"} 
[2026-07-27 12:38:38] local.INFO: Extracted packet for processing {"connection_id":142843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa263"} 
[2026-07-27 12:38:38] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":0,"angle":338,"satellites":37,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 12:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:38:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994694912001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:38:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 12:38:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 12:38:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:38:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785135828000,"timestamp_ms":1785135828000,"timestamp_seconds":1785135828,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2630c20"} 
[2026-07-27 12:38:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:38:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 12:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-27 12:38:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:38:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:38:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:38:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:38:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:38:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:38:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:38:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:38:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:38:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:38:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994694912001,"66":25495,"33":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-27 12:38:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:38:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:38:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994694912001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:38:38] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-27 12:38:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:38:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:38:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 12:38:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994694912001,"power":25495,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 12:38:38] local.INFO: DEBUG: GPS processor result {"connection_id":142843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:38:38] local.INFO: GPS data processed {"connection_id":142843,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:38:38] local.INFO: Acknowledgment sent {"connection_id":142843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:39:05] local.INFO: TCP Data received {"connection_id":145256,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145256,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:39:05] local.INFO: Processing buffer {"connection_id":145256,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:39:05] local.INFO: IMEI packet received {"connection_id":145256,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 12:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":145256,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:39:08] local.INFO: TCP Data received {"connection_id":145256,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145256,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:39:08] local.INFO: Processing buffer {"connection_id":145256,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:39:08] local.INFO: IMEI packet received {"connection_id":145256,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 12:39:08] local.INFO: IMEI acknowledgment sent {"connection_id":145256,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:39:09] local.INFO: TCP Data received {"connection_id":145256,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa263d358012d18cd0007212440003e014324..."} 
[2026-07-27 12:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145256,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa263d358012d18cd0007212440003e014324..."} 
[2026-07-27 12:39:09] local.INFO: Processing buffer {"connection_id":145256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa263d358012d18cd0007212440003e014324..."} 
[2026-07-27 12:39:09] local.INFO: Packet analysis {"connection_id":145256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa263"} 
[2026-07-27 12:39:09] local.INFO: Extracted packet for processing {"connection_id":145256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa263"} 
[2026-07-27 12:39:09] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119612480,"longitude_deg":75.6600064,"latitude_deg":11.961248,"altitude":62,"angle":323,"satellites":36,"speed":0,"hex_longitude":"2d18cd00","hex_latitude":"07212440","is_valid_coordinates":true} 
[2026-07-27 12:39:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:39:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994779648001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:39:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8838724867588096,"note":"Value kept but may cause issues"} 
[2026-07-27 12:39:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657756749824,"note":"Value kept but may cause issues"} 
[2026-07-27 12:39:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:39:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785135879000,"timestamp_ms":1785135879000,"timestamp_seconds":1785135879,"priority":1,"record_length":96,"hex_timestamp":"0000019fa263d358"} 
[2026-07-27 12:39:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:39:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 12:39:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:39:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:39:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:39:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:39:09] local.INFO: Teltonika packet parsed successfully {"connection_id":145256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:39:09] local.INFO: Passing IMEI to GPS processor {"connection_id":145256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:39:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":145256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:39:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:39:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:39:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:39:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994779648001,"66":12319,"121":206,"28":31744,"24":0,"16":8838724867588096,"45":1787084657756749824},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:39:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:39:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:39:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994779648001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:39:09] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:39:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:39:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8838724867588096,"km_value":8838724867588.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:39:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657756749824,"description":"Unknown IO ID 45"} 
[2026-07-27 12:39:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994779648001,"power":12319,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1787084657756749824}} 
[2026-07-27 12:39:09] local.INFO: DEBUG: GPS processor result {"connection_id":145256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553114,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:39:09] local.INFO: GPS data processed {"connection_id":145256,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:39:09] local.INFO: Acknowledgment sent {"connection_id":145256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:39:10] local.INFO: TCP Data received {"connection_id":142843,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2630c20012d7faac005afe4b00000015225..."} 
[2026-07-27 12:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2630c20012d7faac005afe4b00000015225..."} 
[2026-07-27 12:39:10] local.INFO: Processing buffer {"connection_id":142843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2630c20012d7faac005afe4b00000015225..."} 
[2026-07-27 12:39:10] local.INFO: Packet analysis {"connection_id":142843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa263"} 
[2026-07-27 12:39:10] local.INFO: Extracted packet for processing {"connection_id":142843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa263"} 
[2026-07-27 12:39:10] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":0,"angle":338,"satellites":37,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 12:39:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:39:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994694912001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:39:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 12:39:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 12:39:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:39:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785135828000,"timestamp_ms":1785135828000,"timestamp_seconds":1785135828,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2630c20"} 
[2026-07-27 12:39:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:39:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 12:39:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-27 12:39:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:39:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:39:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:39:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:39:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:39:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:39:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:39: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-07-27 12:39:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:39:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:39:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994694912001,"66":25495,"33":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-27 12:39:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:39:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:39:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994694912001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:39:10] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-27 12:39:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:39:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:39:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 12:39:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994694912001,"power":25495,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 12:39:10] local.INFO: DEBUG: GPS processor result {"connection_id":142843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:39:10] local.INFO: GPS data processed {"connection_id":142843,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:39:10] local.INFO: Acknowledgment sent {"connection_id":142843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:39:35] local.INFO: TCP Data received {"connection_id":142844,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 12:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142844,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 12:39:35] local.INFO: Processing buffer {"connection_id":142844,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 12:39:35] local.INFO: IMEI packet received {"connection_id":142844,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 12:39:35] local.INFO: IMEI acknowledgment sent {"connection_id":142844,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:39:37] local.INFO: TCP Data received {"connection_id":142845,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:39:37] local.INFO: Processing buffer {"connection_id":142845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:39:37] local.INFO: IMEI packet received {"connection_id":142845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 12:39:37] local.INFO: IMEI acknowledgment sent {"connection_id":142845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:39:41] local.INFO: TCP Data received {"connection_id":145256,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2642560012d18cd0007212440003e014326..."} 
[2026-07-27 12:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145256,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2642560012d18cd0007212440003e014326..."} 
[2026-07-27 12:39:41] local.INFO: Processing buffer {"connection_id":145256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2642560012d18cd0007212440003e014326..."} 
[2026-07-27 12:39:41] local.INFO: Packet analysis {"connection_id":145256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa264"} 
[2026-07-27 12:39:41] local.INFO: Extracted packet for processing {"connection_id":145256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa264"} 
[2026-07-27 12:39:41] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119612480,"longitude_deg":75.6600064,"latitude_deg":11.961248,"altitude":62,"angle":323,"satellites":38,"speed":0,"hex_longitude":"2d18cd00","hex_latitude":"07212440","is_valid_coordinates":true} 
[2026-07-27 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-07-27 12:39:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994785024001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:39:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8838724867588096,"note":"Value kept but may cause issues"} 
[2026-07-27 12:39:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657756749824,"note":"Value kept but may cause issues"} 
[2026-07-27 12:39:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:39:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785135900000,"timestamp_ms":1785135900000,"timestamp_seconds":1785135900,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2642560"} 
[2026-07-27 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-07-27 12:39:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 12:39:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 12:39:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:39:41] local.INFO: Teltonika packet parsed successfully {"connection_id":145256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:39:41] local.INFO: Passing IMEI to GPS processor {"connection_id":145256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:39:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":145256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:39:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:39:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:39:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:39:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994785024001,"66":12319,"121":206,"28":31744,"24":0,"16":8838724867588096,"45":1787084657756749824},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:39:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:39:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:39:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994785024001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:39:41] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:39:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:39:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8838724867588096,"km_value":8838724867588.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:39:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657756749824,"description":"Unknown IO ID 45"} 
[2026-07-27 12:39:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994785024001,"power":12319,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1787084657756749824}} 
[2026-07-27 12:39:41] local.INFO: DEBUG: GPS processor result {"connection_id":145256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553116,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:39:41] local.INFO: GPS data processed {"connection_id":145256,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:39:41] local.INFO: Acknowledgment sent {"connection_id":145256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:39:42] local.INFO: TCP Data received {"connection_id":142845,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:39:42] local.INFO: Processing buffer {"connection_id":142845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:39:42] local.INFO: IMEI packet received {"connection_id":142845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 12:39:42] local.INFO: IMEI acknowledgment sent {"connection_id":142845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:39:43] local.INFO: TCP Data received {"connection_id":142845,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa267a3e8012d7faac005afe4b00000015228..."} 
[2026-07-27 12:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa267a3e8012d7faac005afe4b00000015228..."} 
[2026-07-27 12:39:43] local.INFO: Processing buffer {"connection_id":142845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa267a3e8012d7faac005afe4b00000015228..."} 
[2026-07-27 12:39:43] local.INFO: Packet analysis {"connection_id":142845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa267"} 
[2026-07-27 12:39:43] local.INFO: Extracted packet for processing {"connection_id":142845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa267"} 
[2026-07-27 12:39:43] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":0,"angle":338,"satellites":40,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 12:39:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:39:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994771968001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:39:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 12:39:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 12:39:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:39:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785136129000,"timestamp_ms":1785136129000,"timestamp_seconds":1785136129,"priority":1,"record_length":96,"hex_timestamp":"0000019fa267a3e8"} 
[2026-07-27 12:39:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:39:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 12:39:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-27 12:39:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:39:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:39:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:39:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:39:43] local.INFO: Teltonika packet parsed successfully {"connection_id":142845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:39:43] local.INFO: Passing IMEI to GPS processor {"connection_id":142845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:39:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":142845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:39: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-07-27 12:39:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:39:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:39:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994771968001,"66":25495,"33":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-27 12:39:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:39:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:39:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994771968001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:39:43] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-27 12:39:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:39:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:39:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 12:39:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994771968001,"power":25495,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 12:39:43] local.INFO: DEBUG: GPS processor result {"connection_id":142845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:39:43] local.INFO: GPS data processed {"connection_id":142845,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:39:43] local.INFO: Acknowledgment sent {"connection_id":142845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:39:48] local.INFO: TCP Data received {"connection_id":142845,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa267a3e8012d7faac005afe4b00000015228..."} 
[2026-07-27 12:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa267a3e8012d7faac005afe4b00000015228..."} 
[2026-07-27 12:39:48] local.INFO: Processing buffer {"connection_id":142845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa267a3e8012d7faac005afe4b00000015228..."} 
[2026-07-27 12:39:48] local.INFO: Packet analysis {"connection_id":142845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa267"} 
[2026-07-27 12:39:48] local.INFO: Extracted packet for processing {"connection_id":142845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa267"} 
[2026-07-27 12:39:48] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":0,"angle":338,"satellites":40,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 12:39:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:39:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994771968001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:39:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 12:39:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 12:39:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:39:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785136129000,"timestamp_ms":1785136129000,"timestamp_seconds":1785136129,"priority":1,"record_length":96,"hex_timestamp":"0000019fa267a3e8"} 
[2026-07-27 12:39:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:39:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 12:39:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-27 12:39:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:39:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:39:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:39:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:39:48] local.INFO: Teltonika packet parsed successfully {"connection_id":142845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:39:48] local.INFO: Passing IMEI to GPS processor {"connection_id":142845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:39:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":142845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:39: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-07-27 12:39:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:39:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:39:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994771968001,"66":25495,"33":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-27 12:39:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:39:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:39:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994771968001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:39:48] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-27 12:39:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:39:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:39:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 12:39:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994771968001,"power":25495,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 12:39:48] local.INFO: DEBUG: GPS processor result {"connection_id":142845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:39:48] local.INFO: GPS data processed {"connection_id":142845,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:39:48] local.INFO: Acknowledgment sent {"connection_id":142845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:39:59] local.INFO: TCP Data received {"connection_id":142846,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142846,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:39:59] local.INFO: Processing buffer {"connection_id":142846,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:39:59] local.INFO: IMEI packet received {"connection_id":142846,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 12:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":142846,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:40:00] local.INFO: TCP Data received {"connection_id":142846,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142846,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:40:00] local.INFO: Processing buffer {"connection_id":142846,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:40:00] local.INFO: IMEI packet received {"connection_id":142846,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 12:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":142846,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:40:05] local.INFO: TCP Data received {"connection_id":142846,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142846,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:40:05] local.INFO: Processing buffer {"connection_id":142846,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:40:05] local.INFO: IMEI packet received {"connection_id":142846,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 12:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":142846,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:40:07] local.INFO: TCP Data received {"connection_id":142846,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa267abb8012d18cd0007212440003e014325..."} 
[2026-07-27 12:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa267abb8012d18cd0007212440003e014325..."} 
[2026-07-27 12:40:07] local.INFO: Processing buffer {"connection_id":142846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa267abb8012d18cd0007212440003e014325..."} 
[2026-07-27 12:40:07] local.INFO: Packet analysis {"connection_id":142846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa267"} 
[2026-07-27 12:40:07] local.INFO: Extracted packet for processing {"connection_id":142846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa267"} 
[2026-07-27 12:40:07] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119612480,"longitude_deg":75.6600064,"latitude_deg":11.961248,"altitude":62,"angle":323,"satellites":37,"speed":0,"hex_longitude":"2d18cd00","hex_latitude":"07212440","is_valid_coordinates":true} 
[2026-07-27 12:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:40:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994844160001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:40:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8838724867588096,"note":"Value kept but may cause issues"} 
[2026-07-27 12:40:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657756749824,"note":"Value kept but may cause issues"} 
[2026-07-27 12:40:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:40:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785136131000,"timestamp_ms":1785136131000,"timestamp_seconds":1785136131,"priority":1,"record_length":96,"hex_timestamp":"0000019fa267abb8"} 
[2026-07-27 12:40:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:40:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-27 12:40:07] 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-07-27 12:40:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:40:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:40:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:40:07] local.INFO: Teltonika packet parsed successfully {"connection_id":142846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:40:07] local.INFO: Passing IMEI to GPS processor {"connection_id":142846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:40:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":142846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:40:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:40:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:40:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:40:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994844160001,"66":14102,"121":206,"28":31744,"24":0,"16":8838724867588096,"45":1787084657756749824},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:40:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:40:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:40:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994844160001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:40:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:40:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:40:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8838724867588096,"km_value":8838724867588.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:40:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657756749824,"description":"Unknown IO ID 45"} 
[2026-07-27 12:40:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994844160001,"power":14102,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1787084657756749824}} 
[2026-07-27 12:40:07] local.INFO: DEBUG: GPS processor result {"connection_id":142846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553119,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:40:07] local.INFO: GPS data processed {"connection_id":142846,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:40:07] local.INFO: Acknowledgment sent {"connection_id":142846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:40:38] local.INFO: TCP Data received {"connection_id":142846,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa267fdc0012d18cd0007212440003e014327..."} 
[2026-07-27 12:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa267fdc0012d18cd0007212440003e014327..."} 
[2026-07-27 12:40:38] local.INFO: Processing buffer {"connection_id":142846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa267fdc0012d18cd0007212440003e014327..."} 
[2026-07-27 12:40:38] local.INFO: Packet analysis {"connection_id":142846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa267"} 
[2026-07-27 12:40:38] local.INFO: Extracted packet for processing {"connection_id":142846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa267"} 
[2026-07-27 12:40:38] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119612480,"longitude_deg":75.6600064,"latitude_deg":11.961248,"altitude":62,"angle":323,"satellites":39,"speed":0,"hex_longitude":"2d18cd00","hex_latitude":"07212440","is_valid_coordinates":true} 
[2026-07-27 12:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:40:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994849536001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:40:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8838724867588096,"note":"Value kept but may cause issues"} 
[2026-07-27 12:40:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657756749824,"note":"Value kept but may cause issues"} 
[2026-07-27 12:40:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:40:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785136152000,"timestamp_ms":1785136152000,"timestamp_seconds":1785136152,"priority":1,"record_length":96,"hex_timestamp":"0000019fa267fdc0"} 
[2026-07-27 12:40:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:40:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-27 12:40:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:40:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:40:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:40:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:40:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:40:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:40:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:40:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:40:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:40:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:40:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994849536001,"66":12982,"121":206,"28":31744,"24":0,"16":8838724867588096,"45":1787084657756749824},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:40:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:40:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:40:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994849536001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:40:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:40:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:40:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8838724867588096,"km_value":8838724867588.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:40:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657756749824,"description":"Unknown IO ID 45"} 
[2026-07-27 12:40:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994849536001,"power":12982,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1787084657756749824}} 
[2026-07-27 12:40:38] local.INFO: DEBUG: GPS processor result {"connection_id":142846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553120,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:40:38] local.INFO: GPS data processed {"connection_id":142846,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:40:38] local.INFO: Acknowledgment sent {"connection_id":142846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:40:40] local.INFO: TCP Data received {"connection_id":143969,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:40:40] local.INFO: Processing buffer {"connection_id":143969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:40:40] local.INFO: IMEI packet received {"connection_id":143969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 12:40:40] local.INFO: IMEI acknowledgment sent {"connection_id":143969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:40:43] local.INFO: TCP Data received {"connection_id":143969,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:40:43] local.INFO: Processing buffer {"connection_id":143969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:40:43] local.INFO: IMEI packet received {"connection_id":143969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 12:40:43] local.INFO: IMEI acknowledgment sent {"connection_id":143969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:40:44] local.INFO: TCP Data received {"connection_id":143969,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa267a3e8012d7faac005afe4b00000015228..."} 
[2026-07-27 12:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa267a3e8012d7faac005afe4b00000015228..."} 
[2026-07-27 12:40:44] local.INFO: Processing buffer {"connection_id":143969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa267a3e8012d7faac005afe4b00000015228..."} 
[2026-07-27 12:40:44] local.INFO: Packet analysis {"connection_id":143969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa267"} 
[2026-07-27 12:40:44] local.INFO: Extracted packet for processing {"connection_id":143969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa267"} 
[2026-07-27 12:40:44] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":0,"angle":338,"satellites":40,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 12: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-07-27 12:40:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994771968001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:40:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 12:40:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 12:40:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:40:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785136129000,"timestamp_ms":1785136129000,"timestamp_seconds":1785136129,"priority":1,"record_length":96,"hex_timestamp":"0000019fa267a3e8"} 
[2026-07-27 12:40:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:40:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 12: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-27 12:40:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12: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-07-27 12:40:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:40:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:40:44] local.INFO: Teltonika packet parsed successfully {"connection_id":143969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:40:44] local.INFO: Passing IMEI to GPS processor {"connection_id":143969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:40:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":143969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:40: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-07-27 12:40:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:40:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:40:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994771968001,"66":25495,"33":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-27 12:40:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:40:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:40:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994771968001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:40:44] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-27 12:40:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:40:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:40:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 12:40:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994771968001,"power":25495,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 12:40:44] local.INFO: DEBUG: GPS processor result {"connection_id":143969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:40:44] local.INFO: GPS data processed {"connection_id":143969,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:40:44] local.INFO: Acknowledgment sent {"connection_id":143969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:40:49] local.INFO: TCP Data received {"connection_id":143969,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa267a3e8012d7faac005afe4b00000015228..."} 
[2026-07-27 12:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa267a3e8012d7faac005afe4b00000015228..."} 
[2026-07-27 12:40:49] local.INFO: Processing buffer {"connection_id":143969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa267a3e8012d7faac005afe4b00000015228..."} 
[2026-07-27 12:40:49] local.INFO: Packet analysis {"connection_id":143969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa267"} 
[2026-07-27 12:40:49] local.INFO: Extracted packet for processing {"connection_id":143969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa267"} 
[2026-07-27 12:40:49] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":0,"angle":338,"satellites":40,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 12: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-07-27 12:40:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994771968001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:40:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 12:40:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 12:40:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:40:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785136129000,"timestamp_ms":1785136129000,"timestamp_seconds":1785136129,"priority":1,"record_length":96,"hex_timestamp":"0000019fa267a3e8"} 
[2026-07-27 12:40:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:40:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 12: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-27 12:40:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12: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-07-27 12:40:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:40:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:40:49] local.INFO: Teltonika packet parsed successfully {"connection_id":143969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:40:49] local.INFO: Passing IMEI to GPS processor {"connection_id":143969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:40:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":143969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:40:49] 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-07-27 12:40:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:40:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:40:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994771968001,"66":25495,"33":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-27 12:40:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:40:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:40:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994771968001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:40:49] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-27 12:40:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:40:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:40:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 12:40:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994771968001,"power":25495,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 12:40:49] local.INFO: DEBUG: GPS processor result {"connection_id":143969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:40:49] local.INFO: GPS data processed {"connection_id":143969,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:40:49] local.INFO: Acknowledgment sent {"connection_id":143969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:41:00] local.INFO: TCP Data received {"connection_id":142972,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142972,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:41:00] local.INFO: Processing buffer {"connection_id":142972,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:41:00] local.INFO: IMEI packet received {"connection_id":142972,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 12:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":142972,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:41:01] local.INFO: TCP Data received {"connection_id":142972,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142972,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:41:01] local.INFO: Processing buffer {"connection_id":142972,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:41:01] local.INFO: IMEI packet received {"connection_id":142972,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 12:41:01] local.INFO: IMEI acknowledgment sent {"connection_id":142972,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:41:05] local.INFO: TCP Data received {"connection_id":142972,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142972,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:41:05] local.INFO: Processing buffer {"connection_id":142972,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:41:05] local.INFO: IMEI packet received {"connection_id":142972,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 12:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":142972,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:41:06] local.INFO: TCP Data received {"connection_id":142972,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa268ec08012d1930c00720b9c80030007525..."} 
[2026-07-27 12:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142972,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa268ec08012d1930c00720b9c80030007525..."} 
[2026-07-27 12:41:06] local.INFO: Processing buffer {"connection_id":142972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa268ec08012d1930c00720b9c80030007525..."} 
[2026-07-27 12:41:06] local.INFO: Packet analysis {"connection_id":142972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa268"} 
[2026-07-27 12:41:06] local.INFO: Extracted packet for processing {"connection_id":142972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa268"} 
[2026-07-27 12:41:06] local.INFO: GPS Element Parsed {"raw_longitude":756625600,"raw_latitude":119585224,"longitude_deg":75.66256,"latitude_deg":11.9585224,"altitude":48,"angle":117,"satellites":37,"speed":46,"hex_longitude":"2d1930c0","hex_latitude":"0720b9c8","is_valid_coordinates":true} 
[2026-07-27 12:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:41:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994868480001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:41:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8840666192805888,"note":"Value kept but may cause issues"} 
[2026-07-27 12:41:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1805239793748590592,"note":"Value kept but may cause issues"} 
[2026-07-27 12:41:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:41:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785136213000,"timestamp_ms":1785136213000,"timestamp_seconds":1785136213,"priority":1,"record_length":96,"hex_timestamp":"0000019fa268ec08"} 
[2026-07-27 12:41:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:41:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-07-27 12:41:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:41:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:41:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:41:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:41:06] local.INFO: Teltonika packet parsed successfully {"connection_id":142972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:41:06] local.INFO: Passing IMEI to GPS processor {"connection_id":142972,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:41:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":142972,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:41:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:41:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:41:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:41:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994868480001,"66":12798,"121":206,"28":31744,"24":46,"16":8840666192805888,"45":1805239793748590592},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:41:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:41:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:41:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994868480001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:41:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:41:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:41:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8840666192805888,"km_value":8840666192805.889,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:41:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1805239793748590592,"description":"Unknown IO ID 45"} 
[2026-07-27 12:41:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994868480001,"power":12798,"unknown_121":206,"unknown_28":31744,"ignition":46,"odometer":null,"unknown_45":1805239793748590592}} 
[2026-07-27 12:41:07] local.INFO: DEBUG: GPS processor result {"connection_id":142972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553123,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:41:07] local.INFO: GPS data processed {"connection_id":142972,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:41:07] local.INFO: Acknowledgment sent {"connection_id":142972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:41:32] local.INFO: TCP Data received {"connection_id":145257,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:41:32] local.INFO: Processing buffer {"connection_id":145257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:41:32] local.INFO: IMEI packet received {"connection_id":145257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 12:41:32] local.INFO: IMEI acknowledgment sent {"connection_id":145257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:41:37] local.INFO: TCP Data received {"connection_id":145257,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:41:37] local.INFO: Processing buffer {"connection_id":145257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:41:37] local.INFO: IMEI packet received {"connection_id":145257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 12:41:37] local.INFO: IMEI acknowledgment sent {"connection_id":145257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:41:38] local.INFO: TCP Data received {"connection_id":142972,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2690760012d194b000720acf0002f006924..."} 
[2026-07-27 12:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142972,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2690760012d194b000720acf0002f006924..."} 
[2026-07-27 12:41:38] local.INFO: Processing buffer {"connection_id":142972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2690760012d194b000720acf0002f006924..."} 
[2026-07-27 12:41:38] local.INFO: Packet analysis {"connection_id":142972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa269"} 
[2026-07-27 12:41:38] local.INFO: Extracted packet for processing {"connection_id":142972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa269"} 
[2026-07-27 12:41:38] local.INFO: GPS Element Parsed {"raw_longitude":756632320,"raw_latitude":119581936,"longitude_deg":75.663232,"latitude_deg":11.9581936,"altitude":47,"angle":105,"satellites":36,"speed":33,"hex_longitude":"2d194b00","hex_latitude":"0720acf0","is_valid_coordinates":true} 
[2026-07-27 12:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:41:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994870528001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:41:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8841022675091456,"note":"Value kept but may cause issues"} 
[2026-07-27 12:41:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1815161786676660224,"note":"Value kept but may cause issues"} 
[2026-07-27 12:41:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:41:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785136220000,"timestamp_ms":1785136220000,"timestamp_seconds":1785136220,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2690760"} 
[2026-07-27 12:41:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:41:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-27 12:41:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:41:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:41:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:41:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:41:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:41:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142972,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:41:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142972,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:41:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:41:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:41:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:41:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994870528001,"66":12798,"121":206,"28":31744,"24":33,"16":8841022675091456,"45":1815161786676660224},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:41:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:41:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:41:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994870528001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:41:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:41:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:41:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8841022675091456,"km_value":8841022675091.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:41:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1815161786676660224,"description":"Unknown IO ID 45"} 
[2026-07-27 12:41:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994870528001,"power":12798,"unknown_121":206,"unknown_28":31744,"ignition":33,"odometer":null,"unknown_45":1815161786676660224}} 
[2026-07-27 12:41:38] local.INFO: TCP Data received {"connection_id":145257,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa267a3e8012d7faac005afe4b00000015228..."} 
[2026-07-27 12:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa267a3e8012d7faac005afe4b00000015228..."} 
[2026-07-27 12:41:38] local.INFO: Processing buffer {"connection_id":145257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa267a3e8012d7faac005afe4b00000015228..."} 
[2026-07-27 12:41:38] local.INFO: Packet analysis {"connection_id":145257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa267"} 
[2026-07-27 12:41:38] local.INFO: Extracted packet for processing {"connection_id":145257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa267"} 
[2026-07-27 12:41:38] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":0,"angle":338,"satellites":40,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 12:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:41:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994771968001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:41:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 12:41:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 12:41:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:41:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785136129000,"timestamp_ms":1785136129000,"timestamp_seconds":1785136129,"priority":1,"record_length":96,"hex_timestamp":"0000019fa267a3e8"} 
[2026-07-27 12:41:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:41:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 12:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-27 12:41:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:41:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:41:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:41:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:41:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:41:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:41:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:41:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:41:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:41:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:41:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994771968001,"66":25495,"33":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-27 12:41:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:41:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:41:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994771968001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:41:38] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-27 12:41:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:41:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:41:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 12:41:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994771968001,"power":25495,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 12:41:38] local.INFO: DEBUG: GPS processor result {"connection_id":145257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:41:38] local.INFO: GPS data processed {"connection_id":145257,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:41:38] local.INFO: Acknowledgment sent {"connection_id":145257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:41:38] local.INFO: DEBUG: GPS processor result {"connection_id":142972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553125,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:41:38] local.INFO: GPS data processed {"connection_id":142972,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:41:38] local.INFO: Acknowledgment sent {"connection_id":142972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:42:00] local.INFO: TCP Data received {"connection_id":142847,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142847,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:42:00] local.INFO: Processing buffer {"connection_id":142847,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:42:00] local.INFO: IMEI packet received {"connection_id":142847,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 12:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":142847,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:42:05] local.INFO: TCP Data received {"connection_id":142847,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142847,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:42:05] local.INFO: Processing buffer {"connection_id":142847,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:42:05] local.INFO: IMEI packet received {"connection_id":142847,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 12:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":142847,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:42:06] local.INFO: TCP Data received {"connection_id":142847,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2691318012d1954800720ab20002e005b26..."} 
[2026-07-27 12:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2691318012d1954800720ab20002e005b26..."} 
[2026-07-27 12:42:06] local.INFO: Processing buffer {"connection_id":142847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2691318012d1954800720ab20002e005b26..."} 
[2026-07-27 12:42:06] local.INFO: Packet analysis {"connection_id":142847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa269"} 
[2026-07-27 12:42:06] local.INFO: Extracted packet for processing {"connection_id":142847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa269"} 
[2026-07-27 12:42:06] local.INFO: GPS Element Parsed {"raw_longitude":756634752,"raw_latitude":119581472,"longitude_deg":75.6634752,"latitude_deg":11.9581472,"altitude":46,"angle":91,"satellites":38,"speed":29,"hex_longitude":"2d195480","hex_latitude":"0720ab20","is_valid_coordinates":true} 
[2026-07-27 12:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:42:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994872320001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:42:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8841142934175744,"note":"Value kept but may cause issues"} 
[2026-07-27 12:42:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1822550504814473216,"note":"Value kept but may cause issues"} 
[2026-07-27 12:42:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:42:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785136223000,"timestamp_ms":1785136223000,"timestamp_seconds":1785136223,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2691318"} 
[2026-07-27 12:42:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:42:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-27 12:42:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:42:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:42:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:42:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:42:06] local.INFO: Teltonika packet parsed successfully {"connection_id":142847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:42:06] local.INFO: Passing IMEI to GPS processor {"connection_id":142847,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:42:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":142847,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:42:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:42:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:42:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:42:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994872320001,"66":11700,"121":206,"28":31744,"24":29,"16":8841142934175744,"45":1822550504814473216},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:42:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:42:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:42:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994872320001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:42:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:42:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:42:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8841142934175744,"km_value":8841142934175.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:42:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1822550504814473216,"description":"Unknown IO ID 45"} 
[2026-07-27 12:42:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994872320001,"power":11700,"unknown_121":206,"unknown_28":31744,"ignition":29,"odometer":null,"unknown_45":1822550504814473216}} 
[2026-07-27 12:42:07] local.INFO: DEBUG: GPS processor result {"connection_id":142847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553126,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:42:07] local.INFO: GPS data processed {"connection_id":142847,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:42:07] local.INFO: Acknowledgment sent {"connection_id":142847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:42:09] local.INFO: TCP Data received {"connection_id":145257,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa267a3e8012d7faac005afe4b00000015228..."} 
[2026-07-27 12:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa267a3e8012d7faac005afe4b00000015228..."} 
[2026-07-27 12:42:09] local.INFO: Processing buffer {"connection_id":145257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa267a3e8012d7faac005afe4b00000015228..."} 
[2026-07-27 12:42:09] local.INFO: Packet analysis {"connection_id":145257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa267"} 
[2026-07-27 12:42:09] local.INFO: Extracted packet for processing {"connection_id":145257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa267"} 
[2026-07-27 12:42:09] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":0,"angle":338,"satellites":40,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 12:42:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994771968001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:42:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 12:42:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 12:42:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:42:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785136129000,"timestamp_ms":1785136129000,"timestamp_seconds":1785136129,"priority":1,"record_length":96,"hex_timestamp":"0000019fa267a3e8"} 
[2026-07-27 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-07-27 12:42:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":151,"data_length":795,"current_offset":136} 
[2026-07-27 12: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-07-27 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-07-27 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-07-27 12:42:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:42:09] local.INFO: Teltonika packet parsed successfully {"connection_id":145257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:42:09] local.INFO: Passing IMEI to GPS processor {"connection_id":145257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:42:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":145257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:42: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-07-27 12:42:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:42:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:42:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994771968001,"66":25495,"33":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-27 12:42:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:42:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:42:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994771968001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:42:09] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-27 12:42:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:42:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:42:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 12:42:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994771968001,"power":25495,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 12:42:09] local.INFO: DEBUG: GPS processor result {"connection_id":145257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:42:09] local.INFO: GPS data processed {"connection_id":145257,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:42:09] local.INFO: Acknowledgment sent {"connection_id":145257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:42:37] local.INFO: TCP Data received {"connection_id":143970,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:42:37] local.INFO: Processing buffer {"connection_id":143970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:42:37] local.INFO: IMEI packet received {"connection_id":143970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 12:42:37] local.INFO: IMEI acknowledgment sent {"connection_id":143970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:42:38] local.INFO: TCP Data received {"connection_id":142847,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2693258012d1965c00720ac78002d004b22..."} 
[2026-07-27 12:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2693258012d1965c00720ac78002d004b22..."} 
[2026-07-27 12:42:38] local.INFO: Processing buffer {"connection_id":142847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2693258012d1965c00720ac78002d004b22..."} 
[2026-07-27 12:42:38] local.INFO: Packet analysis {"connection_id":142847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa269"} 
[2026-07-27 12:42:38] local.INFO: Extracted packet for processing {"connection_id":142847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa269"} 
[2026-07-27 12:42:38] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119581816,"longitude_deg":75.6639168,"latitude_deg":11.9581816,"altitude":45,"angle":75,"satellites":34,"speed":11,"hex_longitude":"2d1965c0","hex_latitude":"0720ac78","is_valid_coordinates":true} 
[2026-07-27 12:42:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:42:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994873088001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:42:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8841353387573248,"note":"Value kept but may cause issues"} 
[2026-07-27 12:42:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825224517093105664,"note":"Value kept but may cause issues"} 
[2026-07-27 12:42:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:42:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785136231000,"timestamp_ms":1785136231000,"timestamp_seconds":1785136231,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2693258"} 
[2026-07-27 12:42:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:42:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12: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":45,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-07-27 12:42:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2043,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:42:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:42:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:42:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:42:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:42:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142847,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:42:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142847,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:42:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:42:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:42:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:42:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994873088001,"66":12711,"121":206,"28":31744,"24":11,"16":8841353387573248,"45":1825224517093105664},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:42:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:42:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:42:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994873088001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:42:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:42:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:42:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8841353387573248,"km_value":8841353387573.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:42:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825224517093105664,"description":"Unknown IO ID 45"} 
[2026-07-27 12:42:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994873088001,"power":12711,"unknown_121":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1825224517093105664}} 
[2026-07-27 12:42:38] local.INFO: DEBUG: GPS processor result {"connection_id":142847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553128,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:42:38] local.INFO: GPS data processed {"connection_id":142847,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:42:38] local.INFO: Acknowledgment sent {"connection_id":142847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:42:42] local.INFO: TCP Data received {"connection_id":143970,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:42:42] local.INFO: Processing buffer {"connection_id":143970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:42:42] local.INFO: IMEI packet received {"connection_id":143970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 12:42:42] local.INFO: IMEI acknowledgment sent {"connection_id":143970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:42:44] local.INFO: TCP Data received {"connection_id":143970,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa267a3e8012d7faac005afe4b00000015228..."} 
[2026-07-27 12:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143970,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa267a3e8012d7faac005afe4b00000015228..."} 
[2026-07-27 12:42:44] local.INFO: Processing buffer {"connection_id":143970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa267a3e8012d7faac005afe4b00000015228..."} 
[2026-07-27 12:42:44] local.INFO: Packet analysis {"connection_id":143970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa267"} 
[2026-07-27 12:42:44] local.INFO: Extracted packet for processing {"connection_id":143970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa267"} 
[2026-07-27 12:42:44] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":0,"angle":338,"satellites":40,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 12:42:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:42:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994771968001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:42:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 12:42:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 12:42:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:42:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785136129000,"timestamp_ms":1785136129000,"timestamp_seconds":1785136129,"priority":1,"record_length":96,"hex_timestamp":"0000019fa267a3e8"} 
[2026-07-27 12:42:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:42:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 12:42:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-27 12:42:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:42:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:42:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:42:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:42:44] local.INFO: Teltonika packet parsed successfully {"connection_id":143970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:42:44] local.INFO: Passing IMEI to GPS processor {"connection_id":143970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:42:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":143970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:42: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-07-27 12:42:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:42:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:42:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994771968001,"66":25495,"33":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-27 12:42:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:42:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:42:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994771968001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:42:44] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-27 12:42:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:42:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:42:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 12:42:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994771968001,"power":25495,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 12:42:44] local.INFO: DEBUG: GPS processor result {"connection_id":143970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:42:44] local.INFO: GPS data processed {"connection_id":143970,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:42:44] local.INFO: Acknowledgment sent {"connection_id":143970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:42:49] local.INFO: TCP Data received {"connection_id":143970,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa267a3e8012d7faac005afe4b00000015228..."} 
[2026-07-27 12:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143970,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa267a3e8012d7faac005afe4b00000015228..."} 
[2026-07-27 12:42:49] local.INFO: Processing buffer {"connection_id":143970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa267a3e8012d7faac005afe4b00000015228..."} 
[2026-07-27 12:42:49] local.INFO: Packet analysis {"connection_id":143970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa267"} 
[2026-07-27 12:42:49] local.INFO: Extracted packet for processing {"connection_id":143970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa267"} 
[2026-07-27 12:42:49] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":0,"angle":338,"satellites":40,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 12:42:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994771968001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:42:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 12:42:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 12:42:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:42:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785136129000,"timestamp_ms":1785136129000,"timestamp_seconds":1785136129,"priority":1,"record_length":96,"hex_timestamp":"0000019fa267a3e8"} 
[2026-07-27 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-07-27 12:42:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-27 12:42:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 12:42:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:42:49] local.INFO: Teltonika packet parsed successfully {"connection_id":143970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:42:49] local.INFO: Passing IMEI to GPS processor {"connection_id":143970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:42:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":143970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:42:49] 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-07-27 12:42:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:42:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:42:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994771968001,"66":25495,"33":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-27 12:42:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:42:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:42:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994771968001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:42:49] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-27 12:42:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:42:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:42:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 12:42:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994771968001,"power":25495,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 12:42:49] local.INFO: DEBUG: GPS processor result {"connection_id":143970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:42:49] local.INFO: GPS data processed {"connection_id":143970,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:42:49] local.INFO: Acknowledgment sent {"connection_id":143970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:43:00] local.INFO: TCP Data received {"connection_id":145258,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145258,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:43:00] local.INFO: Processing buffer {"connection_id":145258,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:43:00] local.INFO: IMEI packet received {"connection_id":145258,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 12:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":145258,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:43:05] local.INFO: TCP Data received {"connection_id":145258,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145258,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:43:05] local.INFO: Processing buffer {"connection_id":145258,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:43:05] local.INFO: IMEI packet received {"connection_id":145258,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 12:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":145258,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:43:06] local.INFO: TCP Data received {"connection_id":145258,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2698460012d1967c00720acb8002e004f23..."} 
[2026-07-27 12:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2698460012d1967c00720acb8002e004f23..."} 
[2026-07-27 12:43:06] local.INFO: Processing buffer {"connection_id":145258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2698460012d1967c00720acb8002e004f23..."} 
[2026-07-27 12:43:06] local.INFO: Packet analysis {"connection_id":145258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa269"} 
[2026-07-27 12:43:06] local.INFO: Extracted packet for processing {"connection_id":145258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa269"} 
[2026-07-27 12:43:06] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119581880,"longitude_deg":75.663968,"latitude_deg":11.958188,"altitude":46,"angle":79,"satellites":35,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"0720acb8","is_valid_coordinates":true} 
[2026-07-27 12:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:43:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994875136001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:43:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8841379157377024,"note":"Value kept but may cause issues"} 
[2026-07-27 12:43:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960441452544,"note":"Value kept but may cause issues"} 
[2026-07-27 12:43:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:43:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785136252000,"timestamp_ms":1785136252000,"timestamp_seconds":1785136252,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2698460"} 
[2026-07-27 12:43:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:43:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-07-27 12:43:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:43:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:43:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:43:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:43:06] local.INFO: Teltonika packet parsed successfully {"connection_id":145258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:43:06] local.INFO: Passing IMEI to GPS processor {"connection_id":145258,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:43:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":145258,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:43:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:43:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:43:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:43:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994875136001,"66":12711,"121":206,"28":31744,"24":0,"16":8841379157377024,"45":1830079960441452544},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:43:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:43:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:43:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994875136001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:43:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:43:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:43:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8841379157377024,"km_value":8841379157377.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:43:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960441452544,"description":"Unknown IO ID 45"} 
[2026-07-27 12:43:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994875136001,"power":12711,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960441452544}} 
[2026-07-27 12:43:06] local.INFO: DEBUG: GPS processor result {"connection_id":145258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553131,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:43:06] local.INFO: GPS data processed {"connection_id":145258,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:43:06] local.INFO: Acknowledgment sent {"connection_id":145258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:43:32] local.INFO: TCP Data received {"connection_id":142848,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:43:32] local.INFO: Processing buffer {"connection_id":142848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:43:32] local.INFO: IMEI packet received {"connection_id":142848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 12:43:32] local.INFO: IMEI acknowledgment sent {"connection_id":142848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:43:37] local.INFO: TCP Data received {"connection_id":142848,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:43:37] local.INFO: Processing buffer {"connection_id":142848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:43:37] local.INFO: IMEI packet received {"connection_id":142848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 12:43:37] local.INFO: IMEI acknowledgment sent {"connection_id":142848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:43:37] local.INFO: TCP Data received {"connection_id":145258,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa269d668012d1967c00720acb8002e004f24..."} 
[2026-07-27 12:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa269d668012d1967c00720acb8002e004f24..."} 
[2026-07-27 12:43:37] local.INFO: Processing buffer {"connection_id":145258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa269d668012d1967c00720acb8002e004f24..."} 
[2026-07-27 12:43:37] local.INFO: Packet analysis {"connection_id":145258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa269"} 
[2026-07-27 12:43:37] local.INFO: Extracted packet for processing {"connection_id":145258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa269"} 
[2026-07-27 12:43:37] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119581880,"longitude_deg":75.663968,"latitude_deg":11.958188,"altitude":46,"angle":79,"satellites":36,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"0720acb8","is_valid_coordinates":true} 
[2026-07-27 12:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:43:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994880512001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:43:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8841379157377024,"note":"Value kept but may cause issues"} 
[2026-07-27 12:43:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910394890240,"note":"Value kept but may cause issues"} 
[2026-07-27 12:43:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:43:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785136273000,"timestamp_ms":1785136273000,"timestamp_seconds":1785136273,"priority":1,"record_length":96,"hex_timestamp":"0000019fa269d668"} 
[2026-07-27 12:43:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:43:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-07-27 12:43:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:43:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:43:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:43:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:43:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:43:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145258,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:43:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145258,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:43:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:43:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:43:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:43:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994880512001,"66":12558,"121":206,"28":31744,"24":0,"16":8841379157377024,"45":1830642910394890240},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:43:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:43:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:43:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994880512001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:43:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:43:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:43:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8841379157377024,"km_value":8841379157377.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:43:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910394890240,"description":"Unknown IO ID 45"} 
[2026-07-27 12:43:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994880512001,"power":12558,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910394890240}} 
[2026-07-27 12:43:37] local.INFO: DEBUG: GPS processor result {"connection_id":145258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553132,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:43:37] local.INFO: GPS data processed {"connection_id":145258,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:43:37] local.INFO: Acknowledgment sent {"connection_id":145258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:43:38] local.INFO: TCP Data received {"connection_id":142848,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa267a3e8012d7faac005afe4b00000015228..."} 
[2026-07-27 12:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa267a3e8012d7faac005afe4b00000015228..."} 
[2026-07-27 12:43:38] local.INFO: Processing buffer {"connection_id":142848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa267a3e8012d7faac005afe4b00000015228..."} 
[2026-07-27 12:43:38] local.INFO: Packet analysis {"connection_id":142848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa267"} 
[2026-07-27 12:43:38] local.INFO: Extracted packet for processing {"connection_id":142848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa267"} 
[2026-07-27 12:43:38] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":0,"angle":338,"satellites":40,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 12:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:43:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994771968001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:43:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 12:43:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 12:43:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:43:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785136129000,"timestamp_ms":1785136129000,"timestamp_seconds":1785136129,"priority":1,"record_length":96,"hex_timestamp":"0000019fa267a3e8"} 
[2026-07-27 12:43:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:43:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 12:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-27 12:43:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:43:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:43:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:43:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:43:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:43:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:43:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:43:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:43:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:43:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:43:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994771968001,"66":25495,"33":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-27 12:43:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:43:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:43:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994771968001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:43:38] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-27 12:43:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:43:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:43:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 12:43:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994771968001,"power":25495,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 12:43:38] local.INFO: DEBUG: GPS processor result {"connection_id":142848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:43:38] local.INFO: GPS data processed {"connection_id":142848,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:43:38] local.INFO: Acknowledgment sent {"connection_id":142848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:43:44] local.INFO: TCP Data received {"connection_id":142848,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa267a3e8012d7faac005afe4b00000015228..."} 
[2026-07-27 12:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa267a3e8012d7faac005afe4b00000015228..."} 
[2026-07-27 12:43:44] local.INFO: Processing buffer {"connection_id":142848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa267a3e8012d7faac005afe4b00000015228..."} 
[2026-07-27 12:43:44] local.INFO: Packet analysis {"connection_id":142848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa267"} 
[2026-07-27 12:43:44] local.INFO: Extracted packet for processing {"connection_id":142848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa267"} 
[2026-07-27 12:43:44] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":0,"angle":338,"satellites":40,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 12:43:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:43:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994771968001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:43:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 12:43:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 12:43:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:43:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785136129000,"timestamp_ms":1785136129000,"timestamp_seconds":1785136129,"priority":1,"record_length":96,"hex_timestamp":"0000019fa267a3e8"} 
[2026-07-27 12:43:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:43:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 12:43:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-27 12:43:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:43:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:43:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:43:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:43:44] local.INFO: Teltonika packet parsed successfully {"connection_id":142848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:43:44] local.INFO: Passing IMEI to GPS processor {"connection_id":142848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:43:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":142848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:43: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-07-27 12:43:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:43:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:43:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994771968001,"66":25495,"33":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-27 12:43:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:43:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:43:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994771968001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:43:44] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-27 12:43:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:43:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:43:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 12:43:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994771968001,"power":25495,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 12:43:44] local.INFO: DEBUG: GPS processor result {"connection_id":142848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:43:44] local.INFO: GPS data processed {"connection_id":142848,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:43:44] local.INFO: Acknowledgment sent {"connection_id":142848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:43:57] local.INFO: TCP Data received {"connection_id":143971,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143971,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:43:57] local.INFO: Processing buffer {"connection_id":143971,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:43:57] local.INFO: IMEI packet received {"connection_id":143971,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 12:43:57] local.INFO: IMEI acknowledgment sent {"connection_id":143971,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:44:01] local.INFO: TCP Data received {"connection_id":143971,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143971,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:44:01] local.INFO: Processing buffer {"connection_id":143971,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:44:01] local.INFO: IMEI packet received {"connection_id":143971,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 12:44:01] local.INFO: IMEI acknowledgment sent {"connection_id":143971,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:44:05] local.INFO: TCP Data received {"connection_id":143971,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143971,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:44:05] local.INFO: Processing buffer {"connection_id":143971,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:44:05] local.INFO: IMEI packet received {"connection_id":143971,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 12:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":143971,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:44:06] local.INFO: TCP Data received {"connection_id":143971,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa26a2870012d1967c00720acb8002e004f27..."} 
[2026-07-27 12:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa26a2870012d1967c00720acb8002e004f27..."} 
[2026-07-27 12:44:06] local.INFO: Processing buffer {"connection_id":143971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa26a2870012d1967c00720acb8002e004f27..."} 
[2026-07-27 12:44:06] local.INFO: Packet analysis {"connection_id":143971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa26a"} 
[2026-07-27 12:44:06] local.INFO: Extracted packet for processing {"connection_id":143971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa26a"} 
[2026-07-27 12:44:06] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119581880,"longitude_deg":75.663968,"latitude_deg":11.958188,"altitude":46,"angle":79,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"0720acb8","is_valid_coordinates":true} 
[2026-07-27 12:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:44:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994885888001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:44:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8841379157377024,"note":"Value kept but may cause issues"} 
[2026-07-27 12:44:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910394890240,"note":"Value kept but may cause issues"} 
[2026-07-27 12:44:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:44:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785136294000,"timestamp_ms":1785136294000,"timestamp_seconds":1785136294,"priority":1,"record_length":96,"hex_timestamp":"0000019fa26a2870"} 
[2026-07-27 12:44:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:44:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-07-27 12:44:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-07-27 12:44:06] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2724777160,"note":"Value kept but may cause issues"} 
[2026-07-27 12:44:06] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249620359906907688,"note":"Value kept but may cause issues"} 
[2026-07-27 12:44:06] local.WARNING: Large IO value detected {"io_id":104,"raw_value":4177526784,"note":"Value kept but may cause issues"} 
[2026-07-27 12:44:06] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2901409839,"note":"Value kept but may cause issues"} 
[2026-07-27 12:44:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-27 12:44:06] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3221692601,"note":"Value kept but may cause issues"} 
[2026-07-27 12:44:06] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":3145845,"corrected_to":0} 
[2026-07-27 12:44:06] local.WARNING: Large IO value detected {"io_id":49,"raw_value":4261465575,"note":"Value kept but may cause issues"} 
[2026-07-27 12:44:06] local.WARNING: Large IO value detected {"io_id":41,"raw_value":563985040580120,"note":"Value kept but may cause issues"} 
[2026-07-27 12:44:06] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8719195500324067328,"note":"Value kept but may cause issues"} 
[2026-07-27 12:44:06] local.WARNING: Large IO value detected {"io_id":79,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-27 12:44:06] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633255546882,"note":"Value kept but may cause issues"} 
[2026-07-27 12:44:06] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,121,28,24,241,158,16,105,159,132,45,192,172,46,35,10,66,50,34,19,128,1,240,180,104,162,32,4,113,205,33,236,48,200,37,239,49,2,31,7,54,41,231,79,206],"length":575,"final_offset":705,"validated_count":45,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0},{"io_id":200,"original":3145845,"validated":0}]} 
[2026-07-27 12:44:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3314736341782102016,"timestamp_seconds":3314736341782102.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 12:44:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:44:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:44:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:44:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143971,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:44:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143971,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:44:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:44:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:44:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:44:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994885888001,"66":12558,"121":206,"28":31744,"24":0,"16":8841379157377024,"45":1830642910394890240},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:44:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:44:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:44:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994885888001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:44:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:44:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:44:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8841379157377024,"km_value":8841379157377.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:44:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910394890240,"description":"Unknown IO ID 45"} 
[2026-07-27 12:44:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994885888001,"power":12558,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910394890240}} 
[2026-07-27 12:44:06] local.INFO: DEBUG: GPS processor result {"connection_id":143971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553135,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:44:06] local.INFO: GPS data processed {"connection_id":143971,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:44:06] local.INFO: Acknowledgment sent {"connection_id":143971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:44:15] local.INFO: TCP Data received {"connection_id":142848,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa267a3e8012d7faac005afe4b00000015228..."} 
[2026-07-27 12:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa267a3e8012d7faac005afe4b00000015228..."} 
[2026-07-27 12:44:15] local.INFO: Processing buffer {"connection_id":142848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa267a3e8012d7faac005afe4b00000015228..."} 
[2026-07-27 12:44:15] local.INFO: Packet analysis {"connection_id":142848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa267"} 
[2026-07-27 12:44:15] local.INFO: Extracted packet for processing {"connection_id":142848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa267"} 
[2026-07-27 12:44:15] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":0,"angle":338,"satellites":40,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 12:44:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:44:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994771968001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:44:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 12:44:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 12:44:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:44:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785136129000,"timestamp_ms":1785136129000,"timestamp_seconds":1785136129,"priority":1,"record_length":96,"hex_timestamp":"0000019fa267a3e8"} 
[2026-07-27 12:44:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:44:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 12:44:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-27 12:44:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:44:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:44:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:44:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:44:15] local.INFO: Teltonika packet parsed successfully {"connection_id":142848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:44:15] local.INFO: Passing IMEI to GPS processor {"connection_id":142848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:44:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":142848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:44: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-07-27 12:44:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:44:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:44:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994771968001,"66":25495,"33":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-27 12:44:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:44:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:44:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994771968001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:44:15] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-27 12:44:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:44:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:44:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 12:44:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994771968001,"power":25495,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 12:44:15] local.INFO: DEBUG: GPS processor result {"connection_id":142848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:44:15] local.INFO: GPS data processed {"connection_id":142848,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:44:15] local.INFO: Acknowledgment sent {"connection_id":142848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:44:32] local.INFO: TCP Data received {"connection_id":145259,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:44:32] local.INFO: Processing buffer {"connection_id":145259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:44:32] local.INFO: IMEI packet received {"connection_id":145259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 12:44:32] local.INFO: IMEI acknowledgment sent {"connection_id":145259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:44:37] local.INFO: TCP Data received {"connection_id":145259,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:44:37] local.INFO: Processing buffer {"connection_id":145259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:44:37] local.INFO: IMEI packet received {"connection_id":145259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 12:44:37] local.INFO: IMEI acknowledgment sent {"connection_id":145259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:44:38] local.INFO: TCP Data received {"connection_id":145259,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa26c3bb0012d7faac005afe4b00000015224..."} 
[2026-07-27 12:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa26c3bb0012d7faac005afe4b00000015224..."} 
[2026-07-27 12:44:38] local.INFO: Processing buffer {"connection_id":145259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa26c3bb0012d7faac005afe4b00000015224..."} 
[2026-07-27 12:44:38] local.INFO: Packet analysis {"connection_id":145259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa26c"} 
[2026-07-27 12:44:38] local.INFO: Extracted packet for processing {"connection_id":145259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa26c"} 
[2026-07-27 12:44:38] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":0,"angle":338,"satellites":36,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 12:44:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:44:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994849024001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:44:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 12:44:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 12:44:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:44:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785136430000,"timestamp_ms":1785136430000,"timestamp_seconds":1785136430,"priority":1,"record_length":96,"hex_timestamp":"0000019fa26c3bb0"} 
[2026-07-27 12:44:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:44:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 12: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":151,"data_length":795,"current_offset":136} 
[2026-07-27 12:44:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:44:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:44:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:44:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:44:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:44:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:44:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:44:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:44:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:44:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:44:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994849024001,"66":25473,"33":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-27 12:44:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:44:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:44:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994849024001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:44:38] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-27 12:44:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:44:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:44:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 12:44:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994849024001,"power":25473,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 12:44:38] local.INFO: DEBUG: GPS processor result {"connection_id":145259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:44:38] local.INFO: GPS data processed {"connection_id":145259,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:44:38] local.INFO: Acknowledgment sent {"connection_id":145259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:44:38] local.INFO: TCP Data received {"connection_id":143971,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa26a7a78012d1967c00720acb8002e004f26..."} 
[2026-07-27 12:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa26a7a78012d1967c00720acb8002e004f26..."} 
[2026-07-27 12:44:38] local.INFO: Processing buffer {"connection_id":143971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa26a7a78012d1967c00720acb8002e004f26..."} 
[2026-07-27 12:44:38] local.INFO: Packet analysis {"connection_id":143971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa26a"} 
[2026-07-27 12:44:38] local.INFO: Extracted packet for processing {"connection_id":143971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa26a"} 
[2026-07-27 12:44:38] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119581880,"longitude_deg":75.663968,"latitude_deg":11.958188,"altitude":46,"angle":79,"satellites":38,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"0720acb8","is_valid_coordinates":true} 
[2026-07-27 12:44:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:44:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994891264001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:44:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8841379157377024,"note":"Value kept but may cause issues"} 
[2026-07-27 12:44:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910394890240,"note":"Value kept but may cause issues"} 
[2026-07-27 12:44:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:44:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785136315000,"timestamp_ms":1785136315000,"timestamp_seconds":1785136315,"priority":1,"record_length":96,"hex_timestamp":"0000019fa26a7a78"} 
[2026-07-27 12:44:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:44:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-07-27 12:44:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-07-27 12:44:38] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2724785160,"note":"Value kept but may cause issues"} 
[2026-07-27 12:44:38] local.WARNING: Large IO value detected {"io_id":46,"raw_value":563985040580120,"note":"Value kept but may cause issues"} 
[2026-07-27 12:44:38] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249643449651087552,"note":"Value kept but may cause issues"} 
[2026-07-27 12:44:38] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2871001134,"note":"Value kept but may cause issues"} 
[2026-07-27 12:44:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-27 12:44:38] local.WARNING: Large IO value detected {"io_id":49,"raw_value":4261465575,"note":"Value kept but may cause issues"} 
[2026-07-27 12:44:38] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8719195500324067328,"note":"Value kept but may cause issues"} 
[2026-07-27 12:44:38] local.WARNING: Large IO value detected {"io_id":79,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-27 12:44:38] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633256005634,"note":"Value kept but may cause issues"} 
[2026-07-27 12:44:38] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,121,28,24,241,158,16,105,159,214,45,192,172,46,36,10,66,132,35,50,1,240,167,162,32,4,113,205,29,7,75,239,49,2,31,48,231,79,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-07-27 12:44:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3314736354667003904,"timestamp_seconds":3314736354667004.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 12:44:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:44:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:44:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:44:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143971,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:44:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143971,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:44:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:44:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:44:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:44:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994891264001,"66":12537,"121":206,"28":31744,"24":0,"16":8841379157377024,"45":1830642910394890240},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:44:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:44:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:44:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994891264001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:44:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:44:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:44:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8841379157377024,"km_value":8841379157377.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:44:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910394890240,"description":"Unknown IO ID 45"} 
[2026-07-27 12:44:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994891264001,"power":12537,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910394890240}} 
[2026-07-27 12:44:38] local.INFO: DEBUG: GPS processor result {"connection_id":143971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553138,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:44:38] local.INFO: GPS data processed {"connection_id":143971,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:44:38] local.INFO: Acknowledgment sent {"connection_id":143971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:45:00] local.INFO: TCP Data received {"connection_id":145260,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145260,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:45:00] local.INFO: Processing buffer {"connection_id":145260,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:45:00] local.INFO: IMEI packet received {"connection_id":145260,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 12:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":145260,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:45:01] local.INFO: TCP Data received {"connection_id":145260,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145260,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:45:01] local.INFO: Processing buffer {"connection_id":145260,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:45:01] local.INFO: IMEI packet received {"connection_id":145260,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 12:45:01] local.INFO: IMEI acknowledgment sent {"connection_id":145260,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:45:05] local.INFO: TCP Data received {"connection_id":145260,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145260,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:45:05] local.INFO: Processing buffer {"connection_id":145260,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:45:05] local.INFO: IMEI packet received {"connection_id":145260,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 12:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":145260,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:45:06] local.INFO: TCP Data received {"connection_id":145260,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa26acc80012d1967c00720acb8002e004f27..."} 
[2026-07-27 12:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa26acc80012d1967c00720acb8002e004f27..."} 
[2026-07-27 12:45:06] local.INFO: Processing buffer {"connection_id":145260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa26acc80012d1967c00720acb8002e004f27..."} 
[2026-07-27 12:45:06] local.INFO: Packet analysis {"connection_id":145260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa26a"} 
[2026-07-27 12:45:06] local.INFO: Extracted packet for processing {"connection_id":145260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa26a"} 
[2026-07-27 12:45:06] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119581880,"longitude_deg":75.663968,"latitude_deg":11.958188,"altitude":46,"angle":79,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"0720acb8","is_valid_coordinates":true} 
[2026-07-27 12:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:45:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994896640001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:45:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8841379157377024,"note":"Value kept but may cause issues"} 
[2026-07-27 12:45:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910394890240,"note":"Value kept but may cause issues"} 
[2026-07-27 12:45:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:45:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785136336000,"timestamp_ms":1785136336000,"timestamp_seconds":1785136336,"priority":1,"record_length":96,"hex_timestamp":"0000019fa26acc80"} 
[2026-07-27 12:45:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:45:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-27 12:45:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:45:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:45:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:45:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:45:06] local.INFO: Teltonika packet parsed successfully {"connection_id":145260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:45:06] local.INFO: Passing IMEI to GPS processor {"connection_id":145260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:45:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":145260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:45:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:45:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:45:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:45:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994896640001,"66":12526,"121":206,"28":31744,"24":0,"16":8841379157377024,"45":1830642910394890240},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:45:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:45:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:45:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994896640001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:45:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:45:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:45:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8841379157377024,"km_value":8841379157377.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:45:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910394890240,"description":"Unknown IO ID 45"} 
[2026-07-27 12:45:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994896640001,"power":12526,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910394890240}} 
[2026-07-27 12:45:06] local.INFO: DEBUG: GPS processor result {"connection_id":145260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553139,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:45:06] local.INFO: GPS data processed {"connection_id":145260,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:45:06] local.INFO: Acknowledgment sent {"connection_id":145260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:45:09] local.INFO: TCP Data received {"connection_id":145259,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa26c3bb0012d7faac005afe4b00000015224..."} 
[2026-07-27 12:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa26c3bb0012d7faac005afe4b00000015224..."} 
[2026-07-27 12:45:09] local.INFO: Processing buffer {"connection_id":145259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa26c3bb0012d7faac005afe4b00000015224..."} 
[2026-07-27 12:45:09] local.INFO: Packet analysis {"connection_id":145259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa26c"} 
[2026-07-27 12:45:09] local.INFO: Extracted packet for processing {"connection_id":145259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa26c"} 
[2026-07-27 12:45:09] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":0,"angle":338,"satellites":36,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 12:45:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:45:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994849024001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:45:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 12:45:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 12:45:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:45:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785136430000,"timestamp_ms":1785136430000,"timestamp_seconds":1785136430,"priority":1,"record_length":96,"hex_timestamp":"0000019fa26c3bb0"} 
[2026-07-27 12:45:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:45:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 12:45:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-27 12:45:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:45:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:45:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:45:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:45:09] local.INFO: Teltonika packet parsed successfully {"connection_id":145259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:45:09] local.INFO: Passing IMEI to GPS processor {"connection_id":145259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:45:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":145259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:45: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-07-27 12:45:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:45:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:45:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994849024001,"66":25473,"33":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-27 12:45:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:45:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:45:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994849024001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:45:09] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-27 12:45:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:45:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:45:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 12:45:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994849024001,"power":25473,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 12:45:09] local.INFO: DEBUG: GPS processor result {"connection_id":145259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:45:09] local.INFO: GPS data processed {"connection_id":145259,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:45:09] local.INFO: Acknowledgment sent {"connection_id":145259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:45:35] local.INFO: TCP Data received {"connection_id":143972,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 12:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143972,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 12:45:35] local.INFO: Processing buffer {"connection_id":143972,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 12:45:35] local.INFO: IMEI packet received {"connection_id":143972,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 12:45:35] local.INFO: IMEI acknowledgment sent {"connection_id":143972,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:45:38] local.INFO: TCP Data received {"connection_id":145260,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa26b1e88012d1967c00720acb8002e004f28..."} 
[2026-07-27 12:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa26b1e88012d1967c00720acb8002e004f28..."} 
[2026-07-27 12:45:38] local.INFO: Processing buffer {"connection_id":145260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa26b1e88012d1967c00720acb8002e004f28..."} 
[2026-07-27 12:45:38] local.INFO: Packet analysis {"connection_id":145260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa26b"} 
[2026-07-27 12:45:38] local.INFO: Extracted packet for processing {"connection_id":145260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa26b"} 
[2026-07-27 12:45:38] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119581880,"longitude_deg":75.663968,"latitude_deg":11.958188,"altitude":46,"angle":79,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"0720acb8","is_valid_coordinates":true} 
[2026-07-27 12:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:45:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994902016001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:45:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8841379157377024,"note":"Value kept but may cause issues"} 
[2026-07-27 12:45:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910394890240,"note":"Value kept but may cause issues"} 
[2026-07-27 12:45:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:45:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785136357000,"timestamp_ms":1785136357000,"timestamp_seconds":1785136357,"priority":1,"record_length":96,"hex_timestamp":"0000019fa26b1e88"} 
[2026-07-27 12:45:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:45:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-27 12:45:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:45:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:45:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:45:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:45:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:45:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:45:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:45:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:45:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:45:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:45:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994902016001,"66":12461,"121":206,"28":31744,"24":0,"16":8841379157377024,"45":1830642910394890240},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:45:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:45:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:45:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994902016001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:45:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:45:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:45:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8841379157377024,"km_value":8841379157377.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:45:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910394890240,"description":"Unknown IO ID 45"} 
[2026-07-27 12:45:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994902016001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910394890240}} 
[2026-07-27 12:45:38] local.INFO: DEBUG: GPS processor result {"connection_id":145260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553141,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:45:38] local.INFO: GPS data processed {"connection_id":145260,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:45:38] local.INFO: Acknowledgment sent {"connection_id":145260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:45:38] local.INFO: TCP Data received {"connection_id":145261,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:45:38] local.INFO: Processing buffer {"connection_id":145261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:45:38] local.INFO: IMEI packet received {"connection_id":145261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 12:45:38] local.INFO: IMEI acknowledgment sent {"connection_id":145261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:45:42] local.INFO: TCP Data received {"connection_id":145261,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:45:42] local.INFO: Processing buffer {"connection_id":145261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:45:42] local.INFO: IMEI packet received {"connection_id":145261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 12:45:42] local.INFO: IMEI acknowledgment sent {"connection_id":145261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:45:43] local.INFO: TCP Data received {"connection_id":145261,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa26c3bb0012d7faac005afe4b00000015224..."} 
[2026-07-27 12:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa26c3bb0012d7faac005afe4b00000015224..."} 
[2026-07-27 12:45:43] local.INFO: Processing buffer {"connection_id":145261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa26c3bb0012d7faac005afe4b00000015224..."} 
[2026-07-27 12:45:43] local.INFO: Packet analysis {"connection_id":145261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa26c"} 
[2026-07-27 12:45:43] local.INFO: Extracted packet for processing {"connection_id":145261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa26c"} 
[2026-07-27 12:45:43] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":0,"angle":338,"satellites":36,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 12: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-07-27 12:45:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994849024001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:45:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 12:45:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 12:45:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:45:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785136430000,"timestamp_ms":1785136430000,"timestamp_seconds":1785136430,"priority":1,"record_length":96,"hex_timestamp":"0000019fa26c3bb0"} 
[2026-07-27 12:45:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:45:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 12: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":151,"data_length":795,"current_offset":136} 
[2026-07-27 12:45:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12: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-07-27 12:45:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:45:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:45:43] local.INFO: Teltonika packet parsed successfully {"connection_id":145261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:45:43] local.INFO: Passing IMEI to GPS processor {"connection_id":145261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:45:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":145261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:45: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-07-27 12:45:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:45:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:45:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994849024001,"66":25473,"33":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-27 12:45:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:45:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:45:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994849024001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:45:43] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-27 12:45:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:45:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:45:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 12:45:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994849024001,"power":25473,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 12:45:43] local.INFO: DEBUG: GPS processor result {"connection_id":145261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:45:43] local.INFO: GPS data processed {"connection_id":145261,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:45:43] local.INFO: Acknowledgment sent {"connection_id":145261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:45:49] local.INFO: TCP Data received {"connection_id":145261,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa26c3bb0012d7faac005afe4b00000015224..."} 
[2026-07-27 12:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa26c3bb0012d7faac005afe4b00000015224..."} 
[2026-07-27 12:45:49] local.INFO: Processing buffer {"connection_id":145261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa26c3bb0012d7faac005afe4b00000015224..."} 
[2026-07-27 12:45:49] local.INFO: Packet analysis {"connection_id":145261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa26c"} 
[2026-07-27 12:45:49] local.INFO: Extracted packet for processing {"connection_id":145261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa26c"} 
[2026-07-27 12:45:49] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":0,"angle":338,"satellites":36,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 12:45:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:45:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994849024001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:45:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 12:45:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 12:45:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:45:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785136430000,"timestamp_ms":1785136430000,"timestamp_seconds":1785136430,"priority":1,"record_length":96,"hex_timestamp":"0000019fa26c3bb0"} 
[2026-07-27 12:45:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:45:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 12:45:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-27 12:45:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:45:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:45:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:45:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:45:49] local.INFO: Teltonika packet parsed successfully {"connection_id":145261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:45:49] local.INFO: Passing IMEI to GPS processor {"connection_id":145261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:45:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":145261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:45:49] 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-07-27 12:45:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:45:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:45:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994849024001,"66":25473,"33":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-27 12:45:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:45:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:45:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994849024001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:45:49] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-27 12:45:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:45:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:45:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 12:45:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994849024001,"power":25473,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 12:45:49] local.INFO: DEBUG: GPS processor result {"connection_id":145261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:45:49] local.INFO: GPS data processed {"connection_id":145261,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:45:49] local.INFO: Acknowledgment sent {"connection_id":145261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:46:00] local.INFO: TCP Data received {"connection_id":143973,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143973,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:46:00] local.INFO: Processing buffer {"connection_id":143973,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:46:00] local.INFO: IMEI packet received {"connection_id":143973,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 12:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":143973,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:46:03] local.INFO: TCP Data received {"connection_id":143973,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143973,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:46:03] local.INFO: Processing buffer {"connection_id":143973,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:46:03] local.INFO: IMEI packet received {"connection_id":143973,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 12:46:03] local.INFO: IMEI acknowledgment sent {"connection_id":143973,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:46:05] local.INFO: TCP Data received {"connection_id":143973,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143973,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:46:05] local.INFO: Processing buffer {"connection_id":143973,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:46:05] local.INFO: IMEI packet received {"connection_id":143973,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 12:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":143973,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:46:06] local.INFO: TCP Data received {"connection_id":143973,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa26b7090012d1967c00720acb8002e004f29..."} 
[2026-07-27 12:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa26b7090012d1967c00720acb8002e004f29..."} 
[2026-07-27 12:46:06] local.INFO: Processing buffer {"connection_id":143973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa26b7090012d1967c00720acb8002e004f29..."} 
[2026-07-27 12:46:06] local.INFO: Packet analysis {"connection_id":143973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa26b"} 
[2026-07-27 12:46:06] local.INFO: Extracted packet for processing {"connection_id":143973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa26b"} 
[2026-07-27 12:46:06] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119581880,"longitude_deg":75.663968,"latitude_deg":11.958188,"altitude":46,"angle":79,"satellites":41,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"0720acb8","is_valid_coordinates":true} 
[2026-07-27 12:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:46:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994907392001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:46:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8841379157377024,"note":"Value kept but may cause issues"} 
[2026-07-27 12:46:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910394890240,"note":"Value kept but may cause issues"} 
[2026-07-27 12:46:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:46:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785136378000,"timestamp_ms":1785136378000,"timestamp_seconds":1785136378,"priority":1,"record_length":96,"hex_timestamp":"0000019fa26b7090"} 
[2026-07-27 12:46:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:46:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-27 12:46:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:46:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:46:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:46:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:46:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:46:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143973,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:46:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143973,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:46:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:46:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:46:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:46:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994907392001,"66":12461,"121":206,"28":31744,"24":0,"16":8841379157377024,"45":1830642910394890240},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:46:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:46:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:46:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994907392001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:46:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:46:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:46:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8841379157377024,"km_value":8841379157377.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:46:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910394890240,"description":"Unknown IO ID 45"} 
[2026-07-27 12:46:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994907392001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910394890240}} 
[2026-07-27 12:46:06] local.INFO: DEBUG: GPS processor result {"connection_id":143973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553144,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:46:06] local.INFO: GPS data processed {"connection_id":143973,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:46:06] local.INFO: Acknowledgment sent {"connection_id":143973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:46:11] local.INFO: TCP Data received {"connection_id":143973,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa26bc298012d1967c00720acb8002e004f23..."} 
[2026-07-27 12:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa26bc298012d1967c00720acb8002e004f23..."} 
[2026-07-27 12:46:11] local.INFO: Processing buffer {"connection_id":143973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa26bc298012d1967c00720acb8002e004f23..."} 
[2026-07-27 12:46:11] local.INFO: Packet analysis {"connection_id":143973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa26b"} 
[2026-07-27 12:46:11] local.INFO: Extracted packet for processing {"connection_id":143973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa26b"} 
[2026-07-27 12:46:11] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119581880,"longitude_deg":75.663968,"latitude_deg":11.958188,"altitude":46,"angle":79,"satellites":35,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"0720acb8","is_valid_coordinates":true} 
[2026-07-27 12:46:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:46:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994912768001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:46:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8841379157377024,"note":"Value kept but may cause issues"} 
[2026-07-27 12:46:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910394890240,"note":"Value kept but may cause issues"} 
[2026-07-27 12:46:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:46:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785136399000,"timestamp_ms":1785136399000,"timestamp_seconds":1785136399,"priority":1,"record_length":96,"hex_timestamp":"0000019fa26bc298"} 
[2026-07-27 12:46:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:46:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-27 12:46:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:46:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:46:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:46:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:46:11] local.INFO: Teltonika packet parsed successfully {"connection_id":143973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:46:11] local.INFO: Passing IMEI to GPS processor {"connection_id":143973,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:46:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":143973,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:46:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:46:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:46:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:46:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994912768001,"66":12461,"121":206,"28":31744,"24":0,"16":8841379157377024,"45":1830642910394890240},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:46:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:46:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:46:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994912768001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:46:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:46:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:46:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8841379157377024,"km_value":8841379157377.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:46:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910394890240,"description":"Unknown IO ID 45"} 
[2026-07-27 12:46:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994912768001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910394890240}} 
[2026-07-27 12:46:11] local.INFO: DEBUG: GPS processor result {"connection_id":143973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553145,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:46:11] local.INFO: GPS data processed {"connection_id":143973,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:46:11] local.INFO: Acknowledgment sent {"connection_id":143973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:46:33] local.INFO: TCP Data received {"connection_id":142850,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:46:33] local.INFO: Processing buffer {"connection_id":142850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:46:33] local.INFO: IMEI packet received {"connection_id":142850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 12:46:33] local.INFO: IMEI acknowledgment sent {"connection_id":142850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:46:37] local.INFO: TCP Data received {"connection_id":142850,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:46:37] local.INFO: Processing buffer {"connection_id":142850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:46:37] local.INFO: IMEI packet received {"connection_id":142850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 12:46:37] local.INFO: IMEI acknowledgment sent {"connection_id":142850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:46:38] local.INFO: TCP Data received {"connection_id":142850,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa26c3bb0012d7faac005afe4b00000015224..."} 
[2026-07-27 12:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa26c3bb0012d7faac005afe4b00000015224..."} 
[2026-07-27 12:46:38] local.INFO: Processing buffer {"connection_id":142850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa26c3bb0012d7faac005afe4b00000015224..."} 
[2026-07-27 12:46:38] local.INFO: Packet analysis {"connection_id":142850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa26c"} 
[2026-07-27 12:46:38] local.INFO: Extracted packet for processing {"connection_id":142850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa26c"} 
[2026-07-27 12:46:38] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":0,"angle":338,"satellites":36,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 12:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:46:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994849024001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:46:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 12:46:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 12:46:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:46:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785136430000,"timestamp_ms":1785136430000,"timestamp_seconds":1785136430,"priority":1,"record_length":96,"hex_timestamp":"0000019fa26c3bb0"} 
[2026-07-27 12:46:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:46:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 12:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-27 12:46:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:46:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:46:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:46:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:46:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:46:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:46:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:46:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:46:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:46:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:46:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994849024001,"66":25473,"33":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-27 12:46:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:46:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:46:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994849024001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:46:38] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-27 12:46:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:46:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:46:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 12:46:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994849024001,"power":25473,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 12:46:38] local.INFO: DEBUG: GPS processor result {"connection_id":142850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:46:38] local.INFO: GPS data processed {"connection_id":142850,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:46:38] local.INFO: Acknowledgment sent {"connection_id":142850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:46:42] local.INFO: TCP Data received {"connection_id":143973,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa26c14a0012d1967c00720acb8002e004f22..."} 
[2026-07-27 12:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa26c14a0012d1967c00720acb8002e004f22..."} 
[2026-07-27 12:46:42] local.INFO: Processing buffer {"connection_id":143973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa26c14a0012d1967c00720acb8002e004f22..."} 
[2026-07-27 12:46:42] local.INFO: Packet analysis {"connection_id":143973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa26c"} 
[2026-07-27 12:46:42] local.INFO: Extracted packet for processing {"connection_id":143973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa26c"} 
[2026-07-27 12:46:42] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119581880,"longitude_deg":75.663968,"latitude_deg":11.958188,"altitude":46,"angle":79,"satellites":34,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"0720acb8","is_valid_coordinates":true} 
[2026-07-27 12:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:46:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994918144001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:46:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8841379157377024,"note":"Value kept but may cause issues"} 
[2026-07-27 12:46:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910394890240,"note":"Value kept but may cause issues"} 
[2026-07-27 12:46:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:46:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785136420000,"timestamp_ms":1785136420000,"timestamp_seconds":1785136420,"priority":1,"record_length":96,"hex_timestamp":"0000019fa26c14a0"} 
[2026-07-27 12:46:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:46:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12:46:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-27 12:46:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:46:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:46:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:46:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:46:43] local.INFO: Teltonika packet parsed successfully {"connection_id":143973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:46:43] local.INFO: Passing IMEI to GPS processor {"connection_id":143973,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:46:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":143973,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:46:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:46:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:46:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:46:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994918144001,"66":12406,"121":206,"28":31744,"24":0,"16":8841379157377024,"45":1830642910394890240},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:46:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:46:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:46:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994918144001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:46:43] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:46:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:46:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8841379157377024,"km_value":8841379157377.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:46:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910394890240,"description":"Unknown IO ID 45"} 
[2026-07-27 12:46:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994918144001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910394890240}} 
[2026-07-27 12:46:43] local.INFO: DEBUG: GPS processor result {"connection_id":143973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553147,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:46:43] local.INFO: GPS data processed {"connection_id":143973,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:46:43] local.INFO: Acknowledgment sent {"connection_id":143973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:46:43] local.INFO: TCP Data received {"connection_id":142850,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa26c3bb0012d7faac005afe4b00000015224..."} 
[2026-07-27 12:46:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa26c3bb0012d7faac005afe4b00000015224..."} 
[2026-07-27 12:46:43] local.INFO: Processing buffer {"connection_id":142850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa26c3bb0012d7faac005afe4b00000015224..."} 
[2026-07-27 12:46:43] local.INFO: Packet analysis {"connection_id":142850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa26c"} 
[2026-07-27 12:46:43] local.INFO: Extracted packet for processing {"connection_id":142850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa26c"} 
[2026-07-27 12:46:43] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":0,"angle":338,"satellites":36,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 12:46:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:46:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994849024001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:46:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 12:46:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 12:46:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:46:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785136430000,"timestamp_ms":1785136430000,"timestamp_seconds":1785136430,"priority":1,"record_length":96,"hex_timestamp":"0000019fa26c3bb0"} 
[2026-07-27 12:46:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:46:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 12:46:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-27 12:46:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:46:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:46:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:46:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:46:43] local.INFO: Teltonika packet parsed successfully {"connection_id":142850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:46:43] local.INFO: Passing IMEI to GPS processor {"connection_id":142850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:46:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":142850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:46: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-07-27 12:46:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:46:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:46:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994849024001,"66":25473,"33":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-27 12:46:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:46:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:46:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994849024001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:46:43] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-27 12:46:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:46:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:46:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 12:46:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994849024001,"power":25473,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 12:46:43] local.INFO: DEBUG: GPS processor result {"connection_id":142850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:46:43] local.INFO: GPS data processed {"connection_id":142850,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:46:43] local.INFO: Acknowledgment sent {"connection_id":142850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:47:00] local.INFO: TCP Data received {"connection_id":142851,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142851,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:47:00] local.INFO: Processing buffer {"connection_id":142851,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:47:00] local.INFO: IMEI packet received {"connection_id":142851,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 12:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":142851,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:47:05] local.INFO: TCP Data received {"connection_id":142851,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142851,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:47:05] local.INFO: Processing buffer {"connection_id":142851,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:47:05] local.INFO: IMEI packet received {"connection_id":142851,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 12:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":142851,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:47:06] local.INFO: TCP Data received {"connection_id":142851,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa26c66a8012d1967c00720acb8002e004f23..."} 
[2026-07-27 12:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa26c66a8012d1967c00720acb8002e004f23..."} 
[2026-07-27 12:47:06] local.INFO: Processing buffer {"connection_id":142851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa26c66a8012d1967c00720acb8002e004f23..."} 
[2026-07-27 12:47:06] local.INFO: Packet analysis {"connection_id":142851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa26c"} 
[2026-07-27 12:47:06] local.INFO: Extracted packet for processing {"connection_id":142851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa26c"} 
[2026-07-27 12:47:06] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119581880,"longitude_deg":75.663968,"latitude_deg":11.958188,"altitude":46,"angle":79,"satellites":35,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"0720acb8","is_valid_coordinates":true} 
[2026-07-27 12:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:47:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994923520001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:47:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8841379157377024,"note":"Value kept but may cause issues"} 
[2026-07-27 12:47:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910394890240,"note":"Value kept but may cause issues"} 
[2026-07-27 12:47:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:47:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785136441000,"timestamp_ms":1785136441000,"timestamp_seconds":1785136441,"priority":1,"record_length":96,"hex_timestamp":"0000019fa26c66a8"} 
[2026-07-27 12:47:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:47:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 12:47:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:47:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:47:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:47:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:47:06] local.INFO: Teltonika packet parsed successfully {"connection_id":142851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:47:06] local.INFO: Passing IMEI to GPS processor {"connection_id":142851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:47:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":142851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:47:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:47:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:47:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:47:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994923520001,"66":12341,"121":206,"28":31744,"24":0,"16":8841379157377024,"45":1830642910394890240},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:47:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:47:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:47:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994923520001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:47:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:47:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:47:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8841379157377024,"km_value":8841379157377.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:47:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910394890240,"description":"Unknown IO ID 45"} 
[2026-07-27 12:47:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994923520001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910394890240}} 
[2026-07-27 12:47:06] local.INFO: DEBUG: GPS processor result {"connection_id":142851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553149,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:47:06] local.INFO: GPS data processed {"connection_id":142851,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:47:06] local.INFO: Acknowledgment sent {"connection_id":142851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:47:15] local.INFO: TCP Data received {"connection_id":142850,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa26c3bb0012d7faac005afe4b00000015224..."} 
[2026-07-27 12:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa26c3bb0012d7faac005afe4b00000015224..."} 
[2026-07-27 12:47:15] local.INFO: Processing buffer {"connection_id":142850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa26c3bb0012d7faac005afe4b00000015224..."} 
[2026-07-27 12:47:15] local.INFO: Packet analysis {"connection_id":142850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa26c"} 
[2026-07-27 12:47:15] local.INFO: Extracted packet for processing {"connection_id":142850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa26c"} 
[2026-07-27 12:47:15] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":0,"angle":338,"satellites":36,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 12:47:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:47:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994849024001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:47:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 12:47:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 12:47:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:47:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785136430000,"timestamp_ms":1785136430000,"timestamp_seconds":1785136430,"priority":1,"record_length":96,"hex_timestamp":"0000019fa26c3bb0"} 
[2026-07-27 12:47:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:47:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 12:47:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-27 12:47:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:47:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:47:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:47:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:47:15] local.INFO: Teltonika packet parsed successfully {"connection_id":142850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:47:15] local.INFO: Passing IMEI to GPS processor {"connection_id":142850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:47:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":142850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:47: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-07-27 12:47:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:47:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:47:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994849024001,"66":25473,"33":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-27 12:47:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:47:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:47:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994849024001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:47:15] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-27 12:47:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:47:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:47:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 12:47:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994849024001,"power":25473,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 12:47:15] local.INFO: DEBUG: GPS processor result {"connection_id":142850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:47:15] local.INFO: GPS data processed {"connection_id":142850,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:47:15] local.INFO: Acknowledgment sent {"connection_id":142850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:47:32] local.INFO: TCP Data received {"connection_id":142852,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:47:32] local.INFO: Processing buffer {"connection_id":142852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:47:32] local.INFO: IMEI packet received {"connection_id":142852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 12:47:32] local.INFO: IMEI acknowledgment sent {"connection_id":142852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:47:37] local.INFO: TCP Data received {"connection_id":142852,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:47:37] local.INFO: Processing buffer {"connection_id":142852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:47:37] local.INFO: IMEI packet received {"connection_id":142852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 12:47:37] local.INFO: IMEI acknowledgment sent {"connection_id":142852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:47:38] local.INFO: TCP Data received {"connection_id":142852,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa26c3bb0012d7faac005afe4b00000015224..."} 
[2026-07-27 12:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa26c3bb0012d7faac005afe4b00000015224..."} 
[2026-07-27 12:47:38] local.INFO: Processing buffer {"connection_id":142852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa26c3bb0012d7faac005afe4b00000015224..."} 
[2026-07-27 12:47:38] local.INFO: Packet analysis {"connection_id":142852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa26c"} 
[2026-07-27 12:47:38] local.INFO: Extracted packet for processing {"connection_id":142852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa26c"} 
[2026-07-27 12:47:38] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":0,"angle":338,"satellites":36,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 12:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:47:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994849024001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:47:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 12:47:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 12:47:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:47:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785136430000,"timestamp_ms":1785136430000,"timestamp_seconds":1785136430,"priority":1,"record_length":96,"hex_timestamp":"0000019fa26c3bb0"} 
[2026-07-27 12:47:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:47:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 12:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-27 12:47:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:47:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:47:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:47:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:47:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:47:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:47:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:47:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:47:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:47:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:47:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994849024001,"66":25473,"33":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-27 12:47:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:47:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:47:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994849024001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:47:38] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-27 12:47:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:47:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:47:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 12:47:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994849024001,"power":25473,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 12:47:38] local.INFO: DEBUG: GPS processor result {"connection_id":142852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:47:38] local.INFO: GPS data processed {"connection_id":142852,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:47:38] local.INFO: Acknowledgment sent {"connection_id":142852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:47:38] local.INFO: TCP Data received {"connection_id":142851,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa26cb8b0012d1967c00720acb8002e004f23..."} 
[2026-07-27 12:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa26cb8b0012d1967c00720acb8002e004f23..."} 
[2026-07-27 12:47:38] local.INFO: Processing buffer {"connection_id":142851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa26cb8b0012d1967c00720acb8002e004f23..."} 
[2026-07-27 12:47:38] local.INFO: Packet analysis {"connection_id":142851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa26c"} 
[2026-07-27 12:47:38] local.INFO: Extracted packet for processing {"connection_id":142851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa26c"} 
[2026-07-27 12:47:38] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119581880,"longitude_deg":75.663968,"latitude_deg":11.958188,"altitude":46,"angle":79,"satellites":35,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"0720acb8","is_valid_coordinates":true} 
[2026-07-27 12:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:47:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994928896001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:47:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8841379157377024,"note":"Value kept but may cause issues"} 
[2026-07-27 12:47:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910394890240,"note":"Value kept but may cause issues"} 
[2026-07-27 12:47:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:47:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785136462000,"timestamp_ms":1785136462000,"timestamp_seconds":1785136462,"priority":1,"record_length":96,"hex_timestamp":"0000019fa26cb8b0"} 
[2026-07-27 12:47:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:47:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 12:47:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:47:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:47:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:47:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:47:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:47:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:47:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:47:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:47:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:47:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:47:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994928896001,"66":12319,"121":206,"28":31744,"24":0,"16":8841379157377024,"45":1830642910394890240},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:47:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:47:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:47:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994928896001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:47:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:47:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:47:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8841379157377024,"km_value":8841379157377.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:47:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910394890240,"description":"Unknown IO ID 45"} 
[2026-07-27 12:47:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994928896001,"power":12319,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910394890240}} 
[2026-07-27 12:47:38] local.INFO: DEBUG: GPS processor result {"connection_id":142851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553152,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:47:38] local.INFO: GPS data processed {"connection_id":142851,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:47:38] local.INFO: Acknowledgment sent {"connection_id":142851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:48:05] local.INFO: TCP Data received {"connection_id":145262,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145262,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:48:05] local.INFO: Processing buffer {"connection_id":145262,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:48:05] local.INFO: IMEI packet received {"connection_id":145262,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 12:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":145262,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:48:09] local.INFO: TCP Data received {"connection_id":142852,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa26c3bb0012d7faac005afe4b00000015224..."} 
[2026-07-27 12:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa26c3bb0012d7faac005afe4b00000015224..."} 
[2026-07-27 12:48:09] local.INFO: Processing buffer {"connection_id":142852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa26c3bb0012d7faac005afe4b00000015224..."} 
[2026-07-27 12:48:09] local.INFO: Packet analysis {"connection_id":142852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa26c"} 
[2026-07-27 12:48:09] local.INFO: Extracted packet for processing {"connection_id":142852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa26c"} 
[2026-07-27 12:48:09] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":0,"angle":338,"satellites":36,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 12:48:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:48:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994849024001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:48:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 12:48:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 12:48:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:48:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785136430000,"timestamp_ms":1785136430000,"timestamp_seconds":1785136430,"priority":1,"record_length":96,"hex_timestamp":"0000019fa26c3bb0"} 
[2026-07-27 12:48:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:48:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 12:48:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-27 12:48:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:48:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:48:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:48:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:48:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:48:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:48:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:48: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-07-27 12:48:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:48:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:48:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994849024001,"66":25473,"33":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-27 12:48:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:48:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:48:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994849024001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:48:09] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-27 12:48:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:48:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:48:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 12:48:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994849024001,"power":25473,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 12:48:09] local.INFO: DEBUG: GPS processor result {"connection_id":142852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:48:09] local.INFO: GPS data processed {"connection_id":142852,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:48:09] local.INFO: Acknowledgment sent {"connection_id":142852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:48:10] local.INFO: TCP Data received {"connection_id":145262,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145262,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:48:10] local.INFO: Processing buffer {"connection_id":145262,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:48:10] local.INFO: IMEI packet received {"connection_id":145262,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 12:48:10] local.INFO: IMEI acknowledgment sent {"connection_id":145262,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:48:11] local.INFO: TCP Data received {"connection_id":145262,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa26d0ab8012d1967c00720acb8002e004f26..."} 
[2026-07-27 12:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa26d0ab8012d1967c00720acb8002e004f26..."} 
[2026-07-27 12:48:11] local.INFO: Processing buffer {"connection_id":145262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa26d0ab8012d1967c00720acb8002e004f26..."} 
[2026-07-27 12:48:11] local.INFO: Packet analysis {"connection_id":145262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa26d"} 
[2026-07-27 12:48:11] local.INFO: Extracted packet for processing {"connection_id":145262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa26d"} 
[2026-07-27 12:48:11] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119581880,"longitude_deg":75.663968,"latitude_deg":11.958188,"altitude":46,"angle":79,"satellites":38,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"0720acb8","is_valid_coordinates":true} 
[2026-07-27 12:48:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:48:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994934272001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:48:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8841379157377024,"note":"Value kept but may cause issues"} 
[2026-07-27 12:48:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910394890240,"note":"Value kept but may cause issues"} 
[2026-07-27 12:48:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:48:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785136483000,"timestamp_ms":1785136483000,"timestamp_seconds":1785136483,"priority":1,"record_length":96,"hex_timestamp":"0000019fa26d0ab8"} 
[2026-07-27 12:48:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:48:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 12:48:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:48:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:48:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:48:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:48:11] local.INFO: Teltonika packet parsed successfully {"connection_id":145262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:48:11] local.INFO: Passing IMEI to GPS processor {"connection_id":145262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:48:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":145262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:48:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:48:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:48:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:48:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994934272001,"66":12341,"121":206,"28":31744,"24":0,"16":8841379157377024,"45":1830642910394890240},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:48:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:48:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:48:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994934272001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:48:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:48:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:48:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8841379157377024,"km_value":8841379157377.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:48:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910394890240,"description":"Unknown IO ID 45"} 
[2026-07-27 12:48:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994934272001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910394890240}} 
[2026-07-27 12:48:11] local.INFO: DEBUG: GPS processor result {"connection_id":145262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553154,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:48:11] local.INFO: GPS data processed {"connection_id":145262,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:48:11] local.INFO: Acknowledgment sent {"connection_id":145262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:48:32] local.INFO: TCP Data received {"connection_id":145263,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:48:32] local.INFO: Processing buffer {"connection_id":145263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:48:32] local.INFO: IMEI packet received {"connection_id":145263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 12:48:32] local.INFO: IMEI acknowledgment sent {"connection_id":145263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:48:37] local.INFO: TCP Data received {"connection_id":145263,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:48:37] local.INFO: Processing buffer {"connection_id":145263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:48:37] local.INFO: IMEI packet received {"connection_id":145263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 12:48:37] local.INFO: IMEI acknowledgment sent {"connection_id":145263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:48:38] local.INFO: TCP Data received {"connection_id":145263,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa26c3bb0012d7faac005afe4b00000015224..."} 
[2026-07-27 12:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa26c3bb0012d7faac005afe4b00000015224..."} 
[2026-07-27 12:48:38] local.INFO: Processing buffer {"connection_id":145263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa26c3bb0012d7faac005afe4b00000015224..."} 
[2026-07-27 12:48:38] local.INFO: Packet analysis {"connection_id":145263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa26c"} 
[2026-07-27 12:48:38] local.INFO: Extracted packet for processing {"connection_id":145263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa26c"} 
[2026-07-27 12:48:38] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":0,"angle":338,"satellites":36,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 12:48:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:48:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994849024001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:48:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 12:48:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 12:48:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:48:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785136430000,"timestamp_ms":1785136430000,"timestamp_seconds":1785136430,"priority":1,"record_length":96,"hex_timestamp":"0000019fa26c3bb0"} 
[2026-07-27 12:48:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:48:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 12:48:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-27 12:48:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:48:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:48:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:48:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:48:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:48:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:48:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:48:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:48:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:48:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:48:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994849024001,"66":25473,"33":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-27 12:48:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:48:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:48:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994849024001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:48:38] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-27 12:48:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:48:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:48:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 12:48:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994849024001,"power":25473,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 12:48:38] local.INFO: DEBUG: GPS processor result {"connection_id":145263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:48:38] local.INFO: GPS data processed {"connection_id":145263,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:48:38] local.INFO: Acknowledgment sent {"connection_id":145263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:48:43] local.INFO: TCP Data received {"connection_id":145262,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa26d5cc0012d1967c00720acb8002e004f26..."} 
[2026-07-27 12:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa26d5cc0012d1967c00720acb8002e004f26..."} 
[2026-07-27 12:48:43] local.INFO: Processing buffer {"connection_id":145262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa26d5cc0012d1967c00720acb8002e004f26..."} 
[2026-07-27 12:48:43] local.INFO: Packet analysis {"connection_id":145262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa26d"} 
[2026-07-27 12:48:43] local.INFO: Extracted packet for processing {"connection_id":145262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa26d"} 
[2026-07-27 12:48:43] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119581880,"longitude_deg":75.663968,"latitude_deg":11.958188,"altitude":46,"angle":79,"satellites":38,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"0720acb8","is_valid_coordinates":true} 
[2026-07-27 12: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-07-27 12:48:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994939648001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:48:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8841379157377024,"note":"Value kept but may cause issues"} 
[2026-07-27 12:48:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910394890240,"note":"Value kept but may cause issues"} 
[2026-07-27 12:48:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:48:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785136504000,"timestamp_ms":1785136504000,"timestamp_seconds":1785136504,"priority":1,"record_length":96,"hex_timestamp":"0000019fa26d5cc0"} 
[2026-07-27 12:48:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:48:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 12:48:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12: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-07-27 12:48:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:48:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:48:43] local.INFO: Teltonika packet parsed successfully {"connection_id":145262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:48:43] local.INFO: Passing IMEI to GPS processor {"connection_id":145262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:48:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":145262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:48:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:48:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:48:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:48:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994939648001,"66":12319,"121":206,"28":31744,"24":0,"16":8841379157377024,"45":1830642910394890240},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:48:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:48:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:48:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994939648001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:48:43] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:48:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:48:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8841379157377024,"km_value":8841379157377.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:48:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910394890240,"description":"Unknown IO ID 45"} 
[2026-07-27 12:48:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994939648001,"power":12319,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910394890240}} 
[2026-07-27 12:48:43] local.INFO: DEBUG: GPS processor result {"connection_id":145262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553156,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:48:43] local.INFO: GPS data processed {"connection_id":145262,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:48:43] local.INFO: Acknowledgment sent {"connection_id":145262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:49:00] local.INFO: TCP Data received {"connection_id":143974,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143974,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:49:00] local.INFO: Processing buffer {"connection_id":143974,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:49:00] local.INFO: IMEI packet received {"connection_id":143974,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 12:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":143974,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:49:05] local.INFO: TCP Data received {"connection_id":143974,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143974,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:49:05] local.INFO: Processing buffer {"connection_id":143974,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:49:05] local.INFO: IMEI packet received {"connection_id":143974,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 12:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":143974,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:49:06] local.INFO: TCP Data received {"connection_id":143974,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa26daec8012d1967c00720acb8002e004f21..."} 
[2026-07-27 12:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143974,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa26daec8012d1967c00720acb8002e004f21..."} 
[2026-07-27 12:49:06] local.INFO: Processing buffer {"connection_id":143974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa26daec8012d1967c00720acb8002e004f21..."} 
[2026-07-27 12:49:06] local.INFO: Packet analysis {"connection_id":143974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa26d"} 
[2026-07-27 12:49:06] local.INFO: Extracted packet for processing {"connection_id":143974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa26d"} 
[2026-07-27 12:49:06] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119581880,"longitude_deg":75.663968,"latitude_deg":11.958188,"altitude":46,"angle":79,"satellites":33,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"0720acb8","is_valid_coordinates":true} 
[2026-07-27 12:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:49:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994945024001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:49:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8841379157377024,"note":"Value kept but may cause issues"} 
[2026-07-27 12:49:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910394890240,"note":"Value kept but may cause issues"} 
[2026-07-27 12:49:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:49:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785136525000,"timestamp_ms":1785136525000,"timestamp_seconds":1785136525,"priority":1,"record_length":96,"hex_timestamp":"0000019fa26daec8"} 
[2026-07-27 12:49:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:49:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 12:49:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:49:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:49:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:49:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:49:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:49:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143974,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:49:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143974,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:49:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:49:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:49:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:49:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994945024001,"66":12287,"121":206,"28":31744,"24":0,"16":8841379157377024,"45":1830642910394890240},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:49:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:49:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:49:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994945024001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:49:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:49:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:49:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8841379157377024,"km_value":8841379157377.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:49:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910394890240,"description":"Unknown IO ID 45"} 
[2026-07-27 12:49:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994945024001,"power":12287,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910394890240}} 
[2026-07-27 12:49:07] local.INFO: DEBUG: GPS processor result {"connection_id":143974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553157,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:49:07] local.INFO: GPS data processed {"connection_id":143974,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:49:07] local.INFO: Acknowledgment sent {"connection_id":143974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:49:09] local.INFO: TCP Data received {"connection_id":145263,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa26c3bb0012d7faac005afe4b00000015224..."} 
[2026-07-27 12:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa26c3bb0012d7faac005afe4b00000015224..."} 
[2026-07-27 12:49:09] local.INFO: Processing buffer {"connection_id":145263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa26c3bb0012d7faac005afe4b00000015224..."} 
[2026-07-27 12:49:09] local.INFO: Packet analysis {"connection_id":145263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa26c"} 
[2026-07-27 12:49:09] local.INFO: Extracted packet for processing {"connection_id":145263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa26c"} 
[2026-07-27 12:49:09] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":0,"angle":338,"satellites":36,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 12:49:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994849024001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:49:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 12:49:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 12:49:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:49:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785136430000,"timestamp_ms":1785136430000,"timestamp_seconds":1785136430,"priority":1,"record_length":96,"hex_timestamp":"0000019fa26c3bb0"} 
[2026-07-27 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-07-27 12:49:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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-07-27 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-07-27 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-07-27 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-07-27 12:49:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:49:09] local.INFO: Teltonika packet parsed successfully {"connection_id":145263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:49:09] local.INFO: Passing IMEI to GPS processor {"connection_id":145263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:49:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":145263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:49: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-07-27 12:49:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:49:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:49:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994849024001,"66":25473,"33":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-27 12:49:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:49:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:49:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994849024001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:49:09] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-27 12:49:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:49:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:49:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 12:49:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994849024001,"power":25473,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 12:49:09] local.INFO: DEBUG: GPS processor result {"connection_id":145263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:49:09] local.INFO: GPS data processed {"connection_id":145263,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:49:09] local.INFO: Acknowledgment sent {"connection_id":145263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:49:32] local.INFO: TCP Data received {"connection_id":142974,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:49:32] local.INFO: Processing buffer {"connection_id":142974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:49:32] local.INFO: IMEI packet received {"connection_id":142974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 12:49:32] local.INFO: IMEI acknowledgment sent {"connection_id":142974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:49:37] local.INFO: TCP Data received {"connection_id":142974,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:49:37] local.INFO: Processing buffer {"connection_id":142974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:49:37] local.INFO: IMEI packet received {"connection_id":142974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 12:49:37] local.INFO: IMEI acknowledgment sent {"connection_id":142974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:49:38] local.INFO: TCP Data received {"connection_id":143974,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa270a0b0012d1969400720ac200031005928..."} 
[2026-07-27 12:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143974,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa270a0b0012d1969400720ac200031005928..."} 
[2026-07-27 12:49:38] local.INFO: Processing buffer {"connection_id":143974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa270a0b0012d1969400720ac200031005928..."} 
[2026-07-27 12:49:38] local.INFO: Packet analysis {"connection_id":143974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa270"} 
[2026-07-27 12:49:38] local.INFO: Extracted packet for processing {"connection_id":143974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa270"} 
[2026-07-27 12:49:38] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119581728,"longitude_deg":75.6640064,"latitude_deg":11.9581728,"altitude":49,"angle":89,"satellites":40,"speed":8,"hex_longitude":"2d196940","hex_latitude":"0720ac20","is_valid_coordinates":true} 
[2026-07-27 12:49:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:49:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994999552001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:49:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8841400632213504,"note":"Value kept but may cause issues"} 
[2026-07-27 12:49:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385371564032,"note":"Value kept but may cause issues"} 
[2026-07-27 12:49:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:49:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785136718000,"timestamp_ms":1785136718000,"timestamp_seconds":1785136718,"priority":1,"record_length":96,"hex_timestamp":"0000019fa270a0b0"} 
[2026-07-27 12:49:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:49:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12:49:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-27 12:49:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:49:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:49:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:49:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:49:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:49:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143974,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:49:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143974,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:49:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:49:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:49:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:49:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994999552001,"66":14102,"121":206,"28":31744,"24":8,"16":8841400632213504,"45":1830924385371564032},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:49:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:49:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:49:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994999552001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:49:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:49:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:49:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8841400632213504,"km_value":8841400632213.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:49:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385371564032,"description":"Unknown IO ID 45"} 
[2026-07-27 12:49:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994999552001,"power":14102,"unknown_121":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1830924385371564032}} 
[2026-07-27 12:49:38] local.INFO: DEBUG: GPS processor result {"connection_id":143974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553159,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:49:38] local.INFO: GPS data processed {"connection_id":143974,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:49:38] local.INFO: Acknowledgment sent {"connection_id":143974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:49:42] local.INFO: TCP Data received {"connection_id":142974,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:49:42] local.INFO: Processing buffer {"connection_id":142974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:49:42] local.INFO: IMEI packet received {"connection_id":142974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 12:49:42] local.INFO: IMEI acknowledgment sent {"connection_id":142974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:49:43] local.INFO: TCP Data received {"connection_id":142974,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa270d378012d7faac005afe4b00000015224..."} 
[2026-07-27 12:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142974,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa270d378012d7faac005afe4b00000015224..."} 
[2026-07-27 12:49:43] local.INFO: Processing buffer {"connection_id":142974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa270d378012d7faac005afe4b00000015224..."} 
[2026-07-27 12:49:43] local.INFO: Packet analysis {"connection_id":142974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa270"} 
[2026-07-27 12:49:43] local.INFO: Extracted packet for processing {"connection_id":142974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa270"} 
[2026-07-27 12:49:43] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":0,"angle":338,"satellites":36,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 12:49:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:49:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994926080001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:49:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 12:49:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 12:49:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:49:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785136731000,"timestamp_ms":1785136731000,"timestamp_seconds":1785136731,"priority":1,"record_length":96,"hex_timestamp":"0000019fa270d378"} 
[2026-07-27 12:49:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:49:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 12:49:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-27 12:49:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:49:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:49:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:49:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:49:43] local.INFO: Teltonika packet parsed successfully {"connection_id":142974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:49:43] local.INFO: Passing IMEI to GPS processor {"connection_id":142974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:49:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":142974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:49: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-07-27 12:49:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:49:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:49:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994926080001,"66":25462,"33":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-27 12:49:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:49:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:49:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994926080001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:49:43] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-27 12:49:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:49:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:49:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 12:49:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994926080001,"power":25462,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 12:49:43] local.INFO: DEBUG: GPS processor result {"connection_id":142974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:49:43] local.INFO: GPS data processed {"connection_id":142974,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:49:43] local.INFO: Acknowledgment sent {"connection_id":142974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:49:47] local.INFO: TCP Data received {"connection_id":142974,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa270d378012d7faac005afe4b00000015224..."} 
[2026-07-27 12:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142974,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa270d378012d7faac005afe4b00000015224..."} 
[2026-07-27 12:49:47] local.INFO: Processing buffer {"connection_id":142974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa270d378012d7faac005afe4b00000015224..."} 
[2026-07-27 12:49:47] local.INFO: Packet analysis {"connection_id":142974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa270"} 
[2026-07-27 12:49:47] local.INFO: Extracted packet for processing {"connection_id":142974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa270"} 
[2026-07-27 12:49:47] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":0,"angle":338,"satellites":36,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 12:49:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:49:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994926080001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:49:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 12:49:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 12:49:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:49:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785136731000,"timestamp_ms":1785136731000,"timestamp_seconds":1785136731,"priority":1,"record_length":96,"hex_timestamp":"0000019fa270d378"} 
[2026-07-27 12:49:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:49:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 12:49:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-27 12:49:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:49:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:49:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:49:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:49:47] local.INFO: Teltonika packet parsed successfully {"connection_id":142974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:49:47] local.INFO: Passing IMEI to GPS processor {"connection_id":142974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:49:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":142974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:49: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-07-27 12:49:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:49:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:49:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994926080001,"66":25462,"33":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-27 12:49:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:49:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:49:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994926080001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:49:47] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-27 12:49:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:49:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:49:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 12:49:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994926080001,"power":25462,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 12:49:47] local.INFO: DEBUG: GPS processor result {"connection_id":142974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:49:47] local.INFO: GPS data processed {"connection_id":142974,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:49:47] local.INFO: Acknowledgment sent {"connection_id":142974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:50:00] local.INFO: TCP Data received {"connection_id":143975,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143975,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:50:00] local.INFO: Processing buffer {"connection_id":143975,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:50:00] local.INFO: IMEI packet received {"connection_id":143975,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 12:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":143975,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:50:04] local.INFO: TCP Data received {"connection_id":143975,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143975,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:50:04] local.INFO: Processing buffer {"connection_id":143975,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:50:04] local.INFO: IMEI packet received {"connection_id":143975,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 12:50:04] local.INFO: IMEI acknowledgment sent {"connection_id":143975,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:50:05] local.INFO: TCP Data received {"connection_id":143975,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa270ac68012d196d000720acc00031004828..."} 
[2026-07-27 12:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa270ac68012d196d000720acc00031004828..."} 
[2026-07-27 12:50:05] local.INFO: Processing buffer {"connection_id":143975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa270ac68012d196d000720acc00031004828..."} 
[2026-07-27 12:50:05] local.INFO: Packet analysis {"connection_id":143975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa270"} 
[2026-07-27 12:50:05] local.INFO: Extracted packet for processing {"connection_id":143975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa270"} 
[2026-07-27 12:50:05] local.INFO: GPS Element Parsed {"raw_longitude":756641024,"raw_latitude":119581888,"longitude_deg":75.6641024,"latitude_deg":11.9581888,"altitude":49,"angle":72,"satellites":40,"speed":15,"hex_longitude":"2d196d00","hex_latitude":"0720acc0","is_valid_coordinates":true} 
[2026-07-27 12:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:50:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456994999808001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:50:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8841443581886464,"note":"Value kept but may cause issues"} 
[2026-07-27 12:50:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122859917312,"note":"Value kept but may cause issues"} 
[2026-07-27 12:50:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:50:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785136721000,"timestamp_ms":1785136721000,"timestamp_seconds":1785136721,"priority":1,"record_length":96,"hex_timestamp":"0000019fa270ac68"} 
[2026-07-27 12:50:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:50:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-27 12:50:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:50:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:50:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:50:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:50:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:50:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143975,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:50:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143975,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:50:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:50:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:50:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:50:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456994999808001,"66":14070,"121":206,"28":31744,"24":15,"16":8841443581886464,"45":1831065122859917312},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:50:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:50:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:50:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456994999808001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:50:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:50:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:50:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8841443581886464,"km_value":8841443581886.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:50:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122859917312,"description":"Unknown IO ID 45"} 
[2026-07-27 12:50:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456994999808001,"power":14070,"unknown_121":206,"unknown_28":31744,"ignition":15,"odometer":null,"unknown_45":1831065122859917312}} 
[2026-07-27 12:50:05] local.INFO: DEBUG: GPS processor result {"connection_id":143975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553162,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:50:05] local.INFO: GPS data processed {"connection_id":143975,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:50:05] local.INFO: Acknowledgment sent {"connection_id":143975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:50:32] local.INFO: TCP Data received {"connection_id":142975,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:50:32] local.INFO: Processing buffer {"connection_id":142975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:50:32] local.INFO: IMEI packet received {"connection_id":142975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 12:50:32] local.INFO: IMEI acknowledgment sent {"connection_id":142975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:50:34] local.INFO: TCP Data received {"connection_id":142975,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:50:34] local.INFO: Processing buffer {"connection_id":142975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:50:34] local.INFO: IMEI packet received {"connection_id":142975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 12:50:34] local.INFO: IMEI acknowledgment sent {"connection_id":142975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:50:35] local.INFO: TCP Data received {"connection_id":142975,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa271cd78012d7faac005afe4b00000015227..."} 
[2026-07-27 12:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa271cd78012d7faac005afe4b00000015227..."} 
[2026-07-27 12:50:35] local.INFO: Processing buffer {"connection_id":142975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa271cd78012d7faac005afe4b00000015227..."} 
[2026-07-27 12:50:35] local.INFO: Packet analysis {"connection_id":142975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa271"} 
[2026-07-27 12:50:35] local.INFO: Extracted packet for processing {"connection_id":142975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa271"} 
[2026-07-27 12:50:35] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95413424,"longitude_deg":76.3341504,"latitude_deg":9.5413424,"altitude":0,"angle":338,"satellites":39,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-07-27 12:50:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:50:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995003136001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:50:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827015589068800,"note":"Value kept but may cause issues"} 
[2026-07-27 12:50:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 12:50:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:50:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785136795000,"timestamp_ms":1785136795000,"timestamp_seconds":1785136795,"priority":1,"record_length":96,"hex_timestamp":"0000019fa271cd78"} 
[2026-07-27 12:50:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:50:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 12:50:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 12:50:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:50:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:50:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:50:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:50:35] local.INFO: Teltonika packet parsed successfully {"connection_id":142975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:50:35] local.INFO: Passing IMEI to GPS processor {"connection_id":142975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:50:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":142975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:50:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:50:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:50:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:50:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995003136001,"66":25430,"33":206,"85":12544,"24":0,"16":358827015589068800,"45":9199376319516028928},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-27 12:50:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:50:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:50:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995003136001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:50:35] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-27 12:50:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:50:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827015589068800,"km_value":358827015589068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:50:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 12:50:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995003136001,"power":25430,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 12:50:35] local.INFO: DEBUG: GPS processor result {"connection_id":142975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:50:35] local.INFO: GPS data processed {"connection_id":142975,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:50:35] local.INFO: Acknowledgment sent {"connection_id":142975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:50:37] local.INFO: TCP Data received {"connection_id":143975,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa27192e0012d19b9c007206328002d00ab28..."} 
[2026-07-27 12:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa27192e0012d19b9c007206328002d00ab28..."} 
[2026-07-27 12:50:37] local.INFO: Processing buffer {"connection_id":143975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa27192e0012d19b9c007206328002d00ab28..."} 
[2026-07-27 12:50:37] local.INFO: Packet analysis {"connection_id":143975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa271"} 
[2026-07-27 12:50:37] local.INFO: Extracted packet for processing {"connection_id":143975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa271"} 
[2026-07-27 12:50:37] local.INFO: GPS Element Parsed {"raw_longitude":756660672,"raw_latitude":119563048,"longitude_deg":75.6660672,"latitude_deg":11.9563048,"altitude":45,"angle":171,"satellites":40,"speed":32,"hex_longitude":"2d19b9c0","hex_latitude":"07206328","is_valid_coordinates":true} 
[2026-07-27 12:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:50:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995014400001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:50:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8843363432267776,"note":"Value kept but may cause issues"} 
[2026-07-27 12:50:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1852246114853629952,"note":"Value kept but may cause issues"} 
[2026-07-27 12:50:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:50:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785136780000,"timestamp_ms":1785136780000,"timestamp_seconds":1785136780,"priority":1,"record_length":96,"hex_timestamp":"0000019fa27192e0"} 
[2026-07-27 12:50:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:50:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-07-27 12:50:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:50:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:50:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:50:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:50:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:50:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143975,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:50:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143975,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:50:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:50:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:50:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:50:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995014400001,"66":14157,"121":206,"28":31744,"24":32,"16":8843363432267776,"45":1852246114853629952},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:50:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:50:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:50:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995014400001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:50:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:50:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:50:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8843363432267776,"km_value":8843363432267.775,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:50:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1852246114853629952,"description":"Unknown IO ID 45"} 
[2026-07-27 12:50:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995014400001,"power":14157,"unknown_121":206,"unknown_28":31744,"ignition":32,"odometer":null,"unknown_45":1852246114853629952}} 
[2026-07-27 12:50:37] local.INFO: DEBUG: GPS processor result {"connection_id":143975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553164,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:50:37] local.INFO: GPS data processed {"connection_id":143975,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:50:37] local.INFO: Acknowledgment sent {"connection_id":143975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:50:58] local.INFO: TCP Data received {"connection_id":142853,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142853,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:50:58] local.INFO: Processing buffer {"connection_id":142853,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:50:58] local.INFO: IMEI packet received {"connection_id":142853,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 12:50:58] local.INFO: IMEI acknowledgment sent {"connection_id":142853,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:51:00] local.INFO: TCP Data received {"connection_id":142853,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142853,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:51:00] local.INFO: Processing buffer {"connection_id":142853,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:51:00] local.INFO: IMEI packet received {"connection_id":142853,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 12:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":142853,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:51:02] local.INFO: TCP Data received {"connection_id":142853,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142853,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:51:02] local.INFO: Processing buffer {"connection_id":142853,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:51:02] local.INFO: IMEI packet received {"connection_id":142853,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 12:51:02] local.INFO: IMEI acknowledgment sent {"connection_id":142853,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:51:03] local.INFO: TCP Data received {"connection_id":142853,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142853,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:51:03] local.INFO: Processing buffer {"connection_id":142853,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:51:03] local.INFO: IMEI packet received {"connection_id":142853,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 12:51:03] local.INFO: IMEI acknowledgment sent {"connection_id":142853,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:51:04] local.INFO: TCP Data received {"connection_id":142853,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa271bdd8012d19bd8007203f88002e00ad24..."} 
[2026-07-27 12:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa271bdd8012d19bd8007203f88002e00ad24..."} 
[2026-07-27 12:51:04] local.INFO: Processing buffer {"connection_id":142853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa271bdd8012d19bd8007203f88002e00ad24..."} 
[2026-07-27 12:51:04] local.INFO: Packet analysis {"connection_id":142853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa271"} 
[2026-07-27 12:51:04] local.INFO: Extracted packet for processing {"connection_id":142853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa271"} 
[2026-07-27 12:51:04] local.INFO: GPS Element Parsed {"raw_longitude":756661632,"raw_latitude":119553928,"longitude_deg":75.6661632,"latitude_deg":11.9553928,"altitude":46,"angle":173,"satellites":36,"speed":35,"hex_longitude":"2d19bd80","hex_latitude":"07203f88","is_valid_coordinates":true} 
[2026-07-27 12:51:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:51:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995015680001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:51:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8843805813899264,"note":"Value kept but may cause issues"} 
[2026-07-27 12:51:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853723858480343040,"note":"Value kept but may cause issues"} 
[2026-07-27 12:51:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:51:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785136791000,"timestamp_ms":1785136791000,"timestamp_seconds":1785136791,"priority":1,"record_length":96,"hex_timestamp":"0000019fa271bdd8"} 
[2026-07-27 12:51:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:51:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12:51:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-27 12:51:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:51:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:51:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:51:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:51:04] local.INFO: Teltonika packet parsed successfully {"connection_id":142853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:51:04] local.INFO: Passing IMEI to GPS processor {"connection_id":142853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:51:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":142853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:51:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:51:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:51:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:51:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995015680001,"66":14189,"121":206,"28":31744,"24":35,"16":8843805813899264,"45":1853723858480343040},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:51:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:51:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:51:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995015680001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:51:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:51:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:51:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8843805813899264,"km_value":8843805813899.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:51:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853723858480343040,"description":"Unknown IO ID 45"} 
[2026-07-27 12:51:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995015680001,"power":14189,"unknown_121":206,"unknown_28":31744,"ignition":35,"odometer":null,"unknown_45":1853723858480343040}} 
[2026-07-27 12:51:04] local.INFO: DEBUG: GPS processor result {"connection_id":142853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553165,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:51:04] local.INFO: GPS data processed {"connection_id":142853,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:51:04] local.INFO: Acknowledgment sent {"connection_id":142853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:51:06] local.INFO: TCP Data received {"connection_id":142975,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa271e100012d7fab8005afe9d00000010727..."} 
[2026-07-27 12:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa271e100012d7fab8005afe9d00000010727..."} 
[2026-07-27 12:51:06] local.INFO: Processing buffer {"connection_id":142975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa271e100012d7fab8005afe9d00000010727..."} 
[2026-07-27 12:51:06] local.INFO: Packet analysis {"connection_id":142975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa271"} 
[2026-07-27 12:51:06] local.INFO: Extracted packet for processing {"connection_id":142975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa271"} 
[2026-07-27 12:51:06] local.INFO: GPS Element Parsed {"raw_longitude":763341696,"raw_latitude":95414736,"longitude_deg":76.3341696,"latitude_deg":9.5414736,"altitude":0,"angle":263,"satellites":39,"speed":0,"hex_longitude":"2d7fab80","hex_latitude":"05afe9d0","is_valid_coordinates":true} 
[2026-07-27 12:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:51:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995019520001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:51:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827019884036096,"note":"Value kept but may cause issues"} 
[2026-07-27 12:51:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516028928,"note":"Value kept but may cause issues"} 
[2026-07-27 12:51:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:51:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785136800000,"timestamp_ms":1785136800000,"timestamp_seconds":1785136800,"priority":1,"record_length":96,"hex_timestamp":"0000019fa271e100"} 
[2026-07-27 12:51:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:51:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-27 12:51:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:51:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:51:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:51:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:51:06] local.INFO: Teltonika packet parsed successfully {"connection_id":142975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:51:06] local.INFO: Passing IMEI to GPS processor {"connection_id":142975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:51:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":142975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:51:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:51:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:51:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:51:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995019520001,"66":25299,"33":206,"85":12544,"24":0,"16":358827019884036096,"45":9199376319516028928},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-27 12:51:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:51:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:51:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995019520001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:51:06] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-27 12:51:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:51:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827019884036096,"km_value":358827019884036.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:51:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516028928,"description":"Unknown IO ID 45"} 
[2026-07-27 12:51:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995019520001,"power":25299,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516028928}} 
[2026-07-27 12:51:06] local.INFO: DEBUG: GPS processor result {"connection_id":142975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:51:06] local.INFO: GPS data processed {"connection_id":142975,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:51:06] local.INFO: Acknowledgment sent {"connection_id":142975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:51:32] local.INFO: TCP Data received {"connection_id":143976,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:51:32] local.INFO: Processing buffer {"connection_id":143976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:51:32] local.INFO: IMEI packet received {"connection_id":143976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 12:51:32] local.INFO: IMEI acknowledgment sent {"connection_id":143976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:51:36] local.INFO: TCP Data received {"connection_id":142853,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa272a068012d19a280071ff150003400f127..."} 
[2026-07-27 12:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa272a068012d19a280071ff150003400f127..."} 
[2026-07-27 12:51:36] local.INFO: Processing buffer {"connection_id":142853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa272a068012d19a280071ff150003400f127..."} 
[2026-07-27 12:51:36] local.INFO: Packet analysis {"connection_id":142853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa272"} 
[2026-07-27 12:51:36] local.INFO: Extracted packet for processing {"connection_id":142853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa272"} 
[2026-07-27 12:51:36] local.INFO: GPS Element Parsed {"raw_longitude":756654720,"raw_latitude":119533904,"longitude_deg":75.665472,"latitude_deg":11.9533904,"altitude":52,"angle":241,"satellites":39,"speed":11,"hex_longitude":"2d19a280","hex_latitude":"071ff150","is_valid_coordinates":true} 
[2026-07-27 12:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:51:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995033088001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:51:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8845519505850368,"note":"Value kept but may cause issues"} 
[2026-07-27 12:51:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847531408985278464,"note":"Value kept but may cause issues"} 
[2026-07-27 12:51:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:51:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785136849000,"timestamp_ms":1785136849000,"timestamp_seconds":1785136849,"priority":1,"record_length":96,"hex_timestamp":"0000019fa272a068"} 
[2026-07-27 12:51:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:51:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-27 12:51:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:51:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:51:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:51:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:51:36] local.INFO: Teltonika packet parsed successfully {"connection_id":142853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:51:36] local.INFO: Passing IMEI to GPS processor {"connection_id":142853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:51:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":142853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:51:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:51:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:51:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:51:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995033088001,"66":14080,"121":206,"28":31744,"24":11,"16":8845519505850368,"45":1847531408985278464},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:51:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:51:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:51:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995033088001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:51:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:51:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:51:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8845519505850368,"km_value":8845519505850.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:51:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847531408985278464,"description":"Unknown IO ID 45"} 
[2026-07-27 12:51:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995033088001,"power":14080,"unknown_121":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1847531408985278464}} 
[2026-07-27 12:51:36] local.INFO: DEBUG: GPS processor result {"connection_id":142853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553167,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:51:36] local.INFO: GPS data processed {"connection_id":142853,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:51:36] local.INFO: Acknowledgment sent {"connection_id":142853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:51:37] local.INFO: TCP Data received {"connection_id":143976,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:51:37] local.INFO: Processing buffer {"connection_id":143976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:51:37] local.INFO: IMEI packet received {"connection_id":143976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 12:51:37] local.INFO: IMEI acknowledgment sent {"connection_id":143976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:51:38] local.INFO: TCP Data received {"connection_id":143976,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2723308012d7fab8005afe9680000010727..."} 
[2026-07-27 12:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143976,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2723308012d7fab8005afe9680000010727..."} 
[2026-07-27 12:51:38] local.INFO: Processing buffer {"connection_id":143976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2723308012d7fab8005afe9680000010727..."} 
[2026-07-27 12:51:38] local.INFO: Packet analysis {"connection_id":143976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa272"} 
[2026-07-27 12:51:38] local.INFO: Extracted packet for processing {"connection_id":143976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa272"} 
[2026-07-27 12:51:38] local.INFO: GPS Element Parsed {"raw_longitude":763341696,"raw_latitude":95414632,"longitude_deg":76.3341696,"latitude_deg":9.5414632,"altitude":0,"angle":263,"satellites":39,"speed":0,"hex_longitude":"2d7fab80","hex_latitude":"05afe968","is_valid_coordinates":true} 
[2026-07-27 12:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:51:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995020800001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:51:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827041358872576,"note":"Value kept but may cause issues"} 
[2026-07-27 12:51:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199587425748897792,"note":"Value kept but may cause issues"} 
[2026-07-27 12:51:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:51:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785136821000,"timestamp_ms":1785136821000,"timestamp_seconds":1785136821,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2723308"} 
[2026-07-27 12:51:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:51:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-27 12:51:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:51:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:51:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:51:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:51:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:51:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:51:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:51:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:51:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:51:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:51:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995020800001,"66":25147,"33":206,"85":12544,"24":0,"16":358827041358872576,"45":9199587425748897792},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-27 12:51:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:51:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:51:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995020800001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:51:38] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-27 12:51:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:51:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827041358872576,"km_value":358827041358872.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:51:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199587425748897792,"description":"Unknown IO ID 45"} 
[2026-07-27 12:51:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995020800001,"power":25147,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199587425748897792}} 
[2026-07-27 12:51:38] local.INFO: DEBUG: GPS processor result {"connection_id":143976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:51:38] local.INFO: GPS data processed {"connection_id":143976,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:51:38] local.INFO: Acknowledgment sent {"connection_id":143976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:52:00] local.INFO: TCP Data received {"connection_id":145264,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145264,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:52:00] local.INFO: Processing buffer {"connection_id":145264,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:52:00] local.INFO: IMEI packet received {"connection_id":145264,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 12:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":145264,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:52:05] local.INFO: TCP Data received {"connection_id":145264,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145264,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:52:05] local.INFO: Processing buffer {"connection_id":145264,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:52:05] local.INFO: IMEI packet received {"connection_id":145264,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 12:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":145264,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:52:06] local.INFO: TCP Data received {"connection_id":145264,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa272ac20012d199ec0071fefd80035010527..."} 
[2026-07-27 12:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145264,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa272ac20012d199ec0071fefd80035010527..."} 
[2026-07-27 12:52:06] local.INFO: Processing buffer {"connection_id":145264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa272ac20012d199ec0071fefd80035010527..."} 
[2026-07-27 12:52:06] local.INFO: Packet analysis {"connection_id":145264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa272"} 
[2026-07-27 12:52:06] local.INFO: Extracted packet for processing {"connection_id":145264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa272"} 
[2026-07-27 12:52:06] local.INFO: GPS Element Parsed {"raw_longitude":756653760,"raw_latitude":119533528,"longitude_deg":75.665376,"latitude_deg":11.9533528,"altitude":53,"angle":261,"satellites":39,"speed":16,"hex_longitude":"2d199ec0","hex_latitude":"071fefd8","is_valid_coordinates":true} 
[2026-07-27 12:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:52:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995033344001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:52:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8845566750490624,"note":"Value kept but may cause issues"} 
[2026-07-27 12:52:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847179565264359424,"note":"Value kept but may cause issues"} 
[2026-07-27 12:52:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:52:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785136852000,"timestamp_ms":1785136852000,"timestamp_seconds":1785136852,"priority":1,"record_length":96,"hex_timestamp":"0000019fa272ac20"} 
[2026-07-27 12:52:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:52:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-27 12:52:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3454499072,"note":"Value kept but may cause issues"} 
[2026-07-27 12:52:06] local.WARNING: Large IO value detected {"io_id":108,"raw_value":2382364672,"note":"Value kept but may cause issues"} 
[2026-07-27 12:52:06] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2725397160,"note":"Value kept but may cause issues"} 
[2026-07-27 12:52:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-27 12:52:06] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":1074208754,"corrected_to":0} 
[2026-07-27 12:52:06] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,121,28,24,241,158,16,108,159,156,45,192,52,39,10,66,136,239,49,38,90,1,240,149,162,31,4,113,205,14,78,202,80,37,55,2,7,46,19],"length":479,"final_offset":609,"validated_count":39,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0},{"io_id":202,"original":1074208754,"validated":0}]} 
[2026-07-27 12:52:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3747260039778992128,"timestamp_seconds":3747260039778992.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 12:52:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:52:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:52:06] local.INFO: Teltonika packet parsed successfully {"connection_id":145264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:52:06] local.INFO: Passing IMEI to GPS processor {"connection_id":145264,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:52:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":145264,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:52:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:52:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:52:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:52:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995033344001,"66":13396,"121":206,"28":31744,"24":16,"16":8845566750490624,"45":1847179565264359424},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:52:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:52:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:52:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995033344001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:52:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:52:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:52:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8845566750490624,"km_value":8845566750490.623,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:52:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847179565264359424,"description":"Unknown IO ID 45"} 
[2026-07-27 12:52:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995033344001,"power":13396,"unknown_121":206,"unknown_28":31744,"ignition":16,"odometer":null,"unknown_45":1847179565264359424}} 
[2026-07-27 12:52:06] local.INFO: DEBUG: GPS processor result {"connection_id":145264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553169,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:52:06] local.INFO: GPS data processed {"connection_id":145264,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:52:06] local.INFO: Acknowledgment sent {"connection_id":145264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:52:09] local.INFO: TCP Data received {"connection_id":143976,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2728510012d7faac005afe8f00000010726..."} 
[2026-07-27 12:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143976,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2728510012d7faac005afe8f00000010726..."} 
[2026-07-27 12:52:09] local.INFO: Processing buffer {"connection_id":143976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2728510012d7faac005afe8f00000010726..."} 
[2026-07-27 12:52:09] local.INFO: Packet analysis {"connection_id":143976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa272"} 
[2026-07-27 12:52:09] local.INFO: Extracted packet for processing {"connection_id":143976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa272"} 
[2026-07-27 12:52:09] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95414512,"longitude_deg":76.3341504,"latitude_deg":9.5414512,"altitude":0,"angle":263,"satellites":38,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe8f0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 12:52:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995026176001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:52:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827054243774464,"note":"Value kept but may cause issues"} 
[2026-07-27 12:52:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199587425748871168,"note":"Value kept but may cause issues"} 
[2026-07-27 12:52:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:52:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785136842000,"timestamp_ms":1785136842000,"timestamp_seconds":1785136842,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2728510"} 
[2026-07-27 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-07-27 12:52:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-07-27 12:52: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-07-27 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-07-27 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-07-27 12:52:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:52:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:52:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:52:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:52: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-07-27 12:52:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:52:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:52:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995026176001,"66":27745,"33":206,"85":12544,"24":0,"16":358827054243774464,"45":9199587425748871168},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-27 12:52:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:52:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:52:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995026176001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:52:09] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-27 12:52:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:52:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827054243774464,"km_value":358827054243774.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:52:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199587425748871168,"description":"Unknown IO ID 45"} 
[2026-07-27 12:52:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995026176001,"power":27745,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199587425748871168}} 
[2026-07-27 12:52:09] local.INFO: DEBUG: GPS processor result {"connection_id":143976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:52:09] local.INFO: GPS data processed {"connection_id":143976,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:52:09] local.INFO: Acknowledgment sent {"connection_id":143976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:52:32] local.INFO: TCP Data received {"connection_id":142976,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:52:32] local.INFO: Processing buffer {"connection_id":142976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:52:32] local.INFO: IMEI packet received {"connection_id":142976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 12:52:32] local.INFO: IMEI acknowledgment sent {"connection_id":142976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:52:37] local.INFO: TCP Data received {"connection_id":142976,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:52:37] local.INFO: Processing buffer {"connection_id":142976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:52:37] local.INFO: IMEI packet received {"connection_id":142976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 12:52:37] local.INFO: IMEI acknowledgment sent {"connection_id":142976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:52:37] local.INFO: TCP Data received {"connection_id":142976,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa272d718012d7faac005afe9380000010725..."} 
[2026-07-27 12:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142976,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa272d718012d7faac005afe9380000010725..."} 
[2026-07-27 12:52:37] local.INFO: Processing buffer {"connection_id":142976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa272d718012d7faac005afe9380000010725..."} 
[2026-07-27 12:52:37] local.INFO: Packet analysis {"connection_id":142976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa272"} 
[2026-07-27 12:52:37] local.INFO: Extracted packet for processing {"connection_id":142976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa272"} 
[2026-07-27 12:52:37] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95414584,"longitude_deg":76.3341504,"latitude_deg":9.5414584,"altitude":0,"angle":263,"satellites":37,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe938","is_valid_coordinates":true} 
[2026-07-27 12:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995031552001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827080013578240,"note":"Value kept but may cause issues"} 
[2026-07-27 12:52:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516307456,"note":"Value kept but may cause issues"} 
[2026-07-27 12:52:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785136863000,"timestamp_ms":1785136863000,"timestamp_seconds":1785136863,"priority":1,"record_length":96,"hex_timestamp":"0000019fa272d718"} 
[2026-07-27 12:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:52:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-27 12:52:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:52:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":142976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":142976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":142976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:52:37] 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-07-27 12:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995031552001,"66":27767,"33":206,"85":12544,"24":0,"16":358827080013578240,"45":9199376319516307456},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-27 12:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995031552001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:52:37] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-27 12:52:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827080013578240,"km_value":358827080013578.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:52:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516307456,"description":"Unknown IO ID 45"} 
[2026-07-27 12:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995031552001,"power":27767,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516307456}} 
[2026-07-27 12:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":142976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:52:37] local.INFO: GPS data processed {"connection_id":142976,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:52:37] local.INFO: Acknowledgment sent {"connection_id":142976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:52:38] local.INFO: TCP Data received {"connection_id":145264,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa272b008012d199d40071fefd80036011526..."} 
[2026-07-27 12:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145264,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa272b008012d199d40071fefd80036011526..."} 
[2026-07-27 12:52:38] local.INFO: Processing buffer {"connection_id":145264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa272b008012d199d40071fefd80036011526..."} 
[2026-07-27 12:52:38] local.INFO: Packet analysis {"connection_id":145264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa272"} 
[2026-07-27 12:52:38] local.INFO: Extracted packet for processing {"connection_id":145264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa272"} 
[2026-07-27 12:52:38] local.INFO: GPS Element Parsed {"raw_longitude":756653376,"raw_latitude":119533528,"longitude_deg":75.6653376,"latitude_deg":11.9533528,"altitude":54,"angle":277,"satellites":38,"speed":16,"hex_longitude":"2d199d40","hex_latitude":"071fefd8","is_valid_coordinates":true} 
[2026-07-27 12:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:52:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995034112001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:52:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8845588225327104,"note":"Value kept but may cause issues"} 
[2026-07-27 12:52:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1846124034101598208,"note":"Value kept but may cause issues"} 
[2026-07-27 12:52:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:52:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785136853000,"timestamp_ms":1785136853000,"timestamp_seconds":1785136853,"priority":1,"record_length":96,"hex_timestamp":"0000019fa272b008"} 
[2026-07-27 12:52:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:52:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-07-27 12:52:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:52:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:52:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:52:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:52:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:52:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145264,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:52:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145264,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:52:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:52:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:52:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:52:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995034112001,"66":13319,"121":206,"28":31744,"24":16,"16":8845588225327104,"45":1846124034101598208},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:52:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:52:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:52:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995034112001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:52:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:52:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:52:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8845588225327104,"km_value":8845588225327.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:52:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1846124034101598208,"description":"Unknown IO ID 45"} 
[2026-07-27 12:52:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995034112001,"power":13319,"unknown_121":206,"unknown_28":31744,"ignition":16,"odometer":null,"unknown_45":1846124034101598208}} 
[2026-07-27 12:52:38] local.INFO: DEBUG: GPS processor result {"connection_id":145264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553172,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:52:38] local.INFO: GPS data processed {"connection_id":145264,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:52:38] local.INFO: Acknowledgment sent {"connection_id":145264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:53:05] local.INFO: TCP Data received {"connection_id":142977,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142977,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:53:05] local.INFO: Processing buffer {"connection_id":142977,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:53:05] local.INFO: IMEI packet received {"connection_id":142977,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 12:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":142977,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:53:09] local.INFO: TCP Data received {"connection_id":142976,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2730dc8012d7faac005afe9280000010725..."} 
[2026-07-27 12:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142976,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2730dc8012d7faac005afe9280000010725..."} 
[2026-07-27 12:53:09] local.INFO: Processing buffer {"connection_id":142976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2730dc8012d7faac005afe9280000010725..."} 
[2026-07-27 12:53:09] local.INFO: Packet analysis {"connection_id":142976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa273"} 
[2026-07-27 12:53:09] local.INFO: Extracted packet for processing {"connection_id":142976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa273"} 
[2026-07-27 12:53:09] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95414568,"longitude_deg":76.3341504,"latitude_deg":9.5414568,"altitude":0,"angle":263,"satellites":37,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe928","is_valid_coordinates":true} 
[2026-07-27 12:53:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:53:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995036928001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:53:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827088603512832,"note":"Value kept but may cause issues"} 
[2026-07-27 12:53:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516325888,"note":"Value kept but may cause issues"} 
[2026-07-27 12:53:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:53:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785136877000,"timestamp_ms":1785136877000,"timestamp_seconds":1785136877,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2730dc8"} 
[2026-07-27 12:53:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:53:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-27 12:53:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:53:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:53:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:53:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:53:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:53:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:53:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12: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-07-27 12:53:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:53:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:53:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995036928001,"66":28028,"33":206,"85":12544,"24":0,"16":358827088603512832,"45":9199376319516325888},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-27 12:53:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:53:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:53:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995036928001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:53:09] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-27 12:53:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:53:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827088603512832,"km_value":358827088603512.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:53:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516325888,"description":"Unknown IO ID 45"} 
[2026-07-27 12:53:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995036928001,"power":28028,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516325888}} 
[2026-07-27 12:53:09] local.INFO: DEBUG: GPS processor result {"connection_id":142976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:53:09] local.INFO: GPS data processed {"connection_id":142976,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:53:09] local.INFO: Acknowledgment sent {"connection_id":142976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:53:10] local.INFO: TCP Data received {"connection_id":142977,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142977,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:53:10] local.INFO: Processing buffer {"connection_id":142977,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:53:10] local.INFO: IMEI packet received {"connection_id":142977,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 12:53:10] local.INFO: IMEI acknowledgment sent {"connection_id":142977,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:53:11] local.INFO: TCP Data received {"connection_id":142977,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa272db00012d1988c0071ff0d0003c010629..."} 
[2026-07-27 12:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142977,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa272db00012d1988c0071ff0d0003c010629..."} 
[2026-07-27 12:53:11] local.INFO: Processing buffer {"connection_id":142977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa272db00012d1988c0071ff0d0003c010629..."} 
[2026-07-27 12:53:11] local.INFO: Packet analysis {"connection_id":142977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa272"} 
[2026-07-27 12:53:11] local.INFO: Extracted packet for processing {"connection_id":142977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa272"} 
[2026-07-27 12:53:11] local.INFO: GPS Element Parsed {"raw_longitude":756648128,"raw_latitude":119533776,"longitude_deg":75.6648128,"latitude_deg":11.9533776,"altitude":60,"angle":262,"satellites":41,"speed":19,"hex_longitude":"2d1988c0","hex_latitude":"071ff0d0","is_valid_coordinates":true} 
[2026-07-27 12: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-07-27 12:53:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995034368001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:53:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8845837333430272,"note":"Value kept but may cause issues"} 
[2026-07-27 12:53:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1845701821636532224,"note":"Value kept but may cause issues"} 
[2026-07-27 12:53:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:53:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785136864000,"timestamp_ms":1785136864000,"timestamp_seconds":1785136864,"priority":1,"record_length":96,"hex_timestamp":"0000019fa272db00"} 
[2026-07-27 12:53:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:53:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-27 12:53:11] local.WARNING: Large IO value detected {"io_id":109,"raw_value":57956877116251260,"note":"Value kept but may cause issues"} 
[2026-07-27 12:53:11] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2725401160,"note":"Value kept but may cause issues"} 
[2026-07-27 12:53:11] local.WARNING: Large IO value detected {"io_id":108,"raw_value":4026531840,"note":"Value kept but may cause issues"} 
[2026-07-27 12:53:11] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2499857895,"note":"Value kept but may cause issues"} 
[2026-07-27 12:53:11] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788855,"note":"Value kept but may cause issues"} 
[2026-07-27 12:53:11] local.WARNING: Large IO value detected {"io_id":31,"raw_value":-986288120810691328,"note":"Value kept but may cause issues"} 
[2026-07-27 12:53:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-27 12:53:11] local.WARNING: Large IO value detected {"io_id":114,"raw_value":5647515225940443143,"note":"Value kept but may cause issues"} 
[2026-07-27 12:53:11] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,121,28,24,241,158,16,109,159,172,45,192,239,53,39,10,66,108,160,128,52,156,1,240,169,162,31,4,113,205,90,198,208,40,2,7,46,14,114],"length":527,"final_offset":657,"validated_count":39,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-07-27 12:53:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3891414805978808320,"timestamp_seconds":3891414805978808.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 12:53:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:53:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:53:11] local.INFO: Teltonika packet parsed successfully {"connection_id":142977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:53:11] local.INFO: Passing IMEI to GPS processor {"connection_id":142977,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:53:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":142977,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:53:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:53:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:53:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:53:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995034368001,"66":13363,"121":206,"28":31744,"24":19,"16":8845837333430272,"45":1845701821636532224},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:53:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:53:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:53:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995034368001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:53:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:53:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:53:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8845837333430272,"km_value":8845837333430.271,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:53:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1845701821636532224,"description":"Unknown IO ID 45"} 
[2026-07-27 12:53:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995034368001,"power":13363,"unknown_121":206,"unknown_28":31744,"ignition":19,"odometer":null,"unknown_45":1845701821636532224}} 
[2026-07-27 12:53:11] local.INFO: DEBUG: GPS processor result {"connection_id":142977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553174,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:53:11] local.INFO: GPS data processed {"connection_id":142977,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:53:11] local.INFO: Acknowledgment sent {"connection_id":142977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:53:15] local.INFO: TCP Data received {"connection_id":142977,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa272e2d0012d1984c0071feff0003c00f62a..."} 
[2026-07-27 12:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142977,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa272e2d0012d1984c0071feff0003c00f62a..."} 
[2026-07-27 12:53:15] local.INFO: Processing buffer {"connection_id":142977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa272e2d0012d1984c0071feff0003c00f62a..."} 
[2026-07-27 12:53:15] local.INFO: Packet analysis {"connection_id":142977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa272"} 
[2026-07-27 12:53:15] local.INFO: Extracted packet for processing {"connection_id":142977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa272"} 
[2026-07-27 12:53:15] local.INFO: GPS Element Parsed {"raw_longitude":756647104,"raw_latitude":119533552,"longitude_deg":75.6647104,"latitude_deg":11.9533552,"altitude":60,"angle":246,"satellites":42,"speed":19,"hex_longitude":"2d1984c0","hex_latitude":"071feff0","is_valid_coordinates":true} 
[2026-07-27 12:53:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:53:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995037184001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:53:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8845884578070528,"note":"Value kept but may cause issues"} 
[2026-07-27 12:53:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1839931584614027264,"note":"Value kept but may cause issues"} 
[2026-07-27 12:53: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-07-27 12:53:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785136866000,"timestamp_ms":1785136866000,"timestamp_seconds":1785136866,"priority":1,"record_length":96,"hex_timestamp":"0000019fa272e2d0"} 
[2026-07-27 12:53:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:53:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12:53:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-27 12:53:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:53:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:53:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:53:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:53:15] local.INFO: Teltonika packet parsed successfully {"connection_id":142977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:53:15] local.INFO: Passing IMEI to GPS processor {"connection_id":142977,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:53:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":142977,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:53:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:53:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:53:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:53:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995037184001,"66":13396,"121":206,"28":31744,"24":19,"16":8845884578070528,"45":1839931584614027264},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:53:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:53:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:53:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995037184001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:53:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:53:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:53:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8845884578070528,"km_value":8845884578070.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:53:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1839931584614027264,"description":"Unknown IO ID 45"} 
[2026-07-27 12:53:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995037184001,"power":13396,"unknown_121":206,"unknown_28":31744,"ignition":19,"odometer":null,"unknown_45":1839931584614027264}} 
[2026-07-27 12:53:15] local.INFO: DEBUG: GPS processor result {"connection_id":142977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553175,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:53:15] local.INFO: GPS data processed {"connection_id":142977,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:53:15] local.INFO: Acknowledgment sent {"connection_id":142977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:53:32] local.INFO: TCP Data received {"connection_id":143977,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:53:32] local.INFO: Processing buffer {"connection_id":143977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:53:32] local.INFO: IMEI packet received {"connection_id":143977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 12:53:32] local.INFO: IMEI acknowledgment sent {"connection_id":143977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:53:37] local.INFO: TCP Data received {"connection_id":143977,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:53:37] local.INFO: Processing buffer {"connection_id":143977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:53:37] local.INFO: IMEI packet received {"connection_id":143977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 12:53:37] local.INFO: IMEI acknowledgment sent {"connection_id":143977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:53:37] local.INFO: TCP Data received {"connection_id":143977,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa27311b0012d7faac005afe928000000e025..."} 
[2026-07-27 12:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143977,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa27311b0012d7faac005afe928000000e025..."} 
[2026-07-27 12:53:37] local.INFO: Processing buffer {"connection_id":143977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa27311b0012d7faac005afe928000000e025..."} 
[2026-07-27 12:53:37] local.INFO: Packet analysis {"connection_id":143977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa273"} 
[2026-07-27 12:53:37] local.INFO: Extracted packet for processing {"connection_id":143977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa273"} 
[2026-07-27 12:53:37] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95414568,"longitude_deg":76.3341504,"latitude_deg":9.5414568,"altitude":0,"angle":224,"satellites":37,"speed":2,"hex_longitude":"2d7faac0","hex_latitude":"05afe928","is_valid_coordinates":true} 
[2026-07-27 12:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995040512001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:53:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827088603512832,"note":"Value kept but may cause issues"} 
[2026-07-27 12:53:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516321792,"note":"Value kept but may cause issues"} 
[2026-07-27 12:53:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:53:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785136878000,"timestamp_ms":1785136878000,"timestamp_seconds":1785136878,"priority":1,"record_length":96,"hex_timestamp":"0000019fa27311b0"} 
[2026-07-27 12:53:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:53:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 12:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-27 12:53:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:53:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:53:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:53:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:53:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:53:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:53:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:53:37] 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-07-27 12:53:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:53:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:53:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995040512001,"66":28028,"33":206,"85":12544,"24":2,"16":358827088603512832,"45":9199376319516321792},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-27 12:53:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:53:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:53:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995040512001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:53:37] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-27 12:53:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:53:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827088603512832,"km_value":358827088603512.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:53:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516321792,"description":"Unknown IO ID 45"} 
[2026-07-27 12:53:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995040512001,"power":28028,"unknown_33":206,"unknown_85":12544,"ignition":2,"odometer":null,"unknown_45":9199376319516321792}} 
[2026-07-27 12:53:37] local.INFO: DEBUG: GPS processor result {"connection_id":143977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:53:37] local.INFO: GPS data processed {"connection_id":143977,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:53:37] local.INFO: Acknowledgment sent {"connection_id":143977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:54:00] local.INFO: TCP Data received {"connection_id":143978,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143978,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:54:00] local.INFO: Processing buffer {"connection_id":143978,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:54:00] local.INFO: IMEI packet received {"connection_id":143978,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 12:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":143978,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:54:03] local.INFO: TCP Data received {"connection_id":143978,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143978,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:54:03] local.INFO: Processing buffer {"connection_id":143978,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:54:03] local.INFO: IMEI packet received {"connection_id":143978,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 12:54:03] local.INFO: IMEI acknowledgment sent {"connection_id":143978,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:54:04] local.INFO: TCP Data received {"connection_id":143978,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa272eaa0012d198180071fee00003b00e42b..."} 
[2026-07-27 12:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa272eaa0012d198180071fee00003b00e42b..."} 
[2026-07-27 12:54:04] local.INFO: Processing buffer {"connection_id":143978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa272eaa0012d198180071fee00003b00e42b..."} 
[2026-07-27 12:54:04] local.INFO: Packet analysis {"connection_id":143978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa272"} 
[2026-07-27 12:54:04] local.INFO: Extracted packet for processing {"connection_id":143978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa272"} 
[2026-07-27 12:54:04] local.INFO: GPS Element Parsed {"raw_longitude":756646272,"raw_latitude":119533056,"longitude_deg":75.6646272,"latitude_deg":11.9533056,"altitude":59,"angle":228,"satellites":43,"speed":19,"hex_longitude":"2d198180","hex_latitude":"071fee00","is_valid_coordinates":true} 
[2026-07-27 12:54:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:54:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995037696001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:54:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8845931822710784,"note":"Value kept but may cause issues"} 
[2026-07-27 12:54:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1838805684707127296,"note":"Value kept but may cause issues"} 
[2026-07-27 12:54:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:54:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785136868000,"timestamp_ms":1785136868000,"timestamp_seconds":1785136868,"priority":1,"record_length":96,"hex_timestamp":"0000019fa272eaa0"} 
[2026-07-27 12:54:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:54:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12:54:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-07-27 12:54:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:54:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:54:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:54:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:54:04] local.INFO: Teltonika packet parsed successfully {"connection_id":143978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:54:04] local.INFO: Passing IMEI to GPS processor {"connection_id":143978,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:54:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":143978,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:54:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:54:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:54:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:54:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995037696001,"66":13330,"121":206,"28":31744,"24":19,"16":8845931822710784,"45":1838805684707127296},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:54:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:54:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:54:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995037696001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:54:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:54:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:54:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8845931822710784,"km_value":8845931822710.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:54:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1838805684707127296,"description":"Unknown IO ID 45"} 
[2026-07-27 12:54:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995037696001,"power":13330,"unknown_121":206,"unknown_28":31744,"ignition":19,"odometer":null,"unknown_45":1838805684707127296}} 
[2026-07-27 12:54:04] local.INFO: DEBUG: GPS processor result {"connection_id":143978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553177,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:54:04] local.INFO: GPS data processed {"connection_id":143978,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:54:04] local.INFO: Acknowledgment sent {"connection_id":143978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:54:05] local.INFO: TCP Data received {"connection_id":143978,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa272f270012d197e40071febf0003900f62b..."} 
[2026-07-27 12:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa272f270012d197e40071febf0003900f62b..."} 
[2026-07-27 12:54:05] local.INFO: Processing buffer {"connection_id":143978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa272f270012d197e40071febf0003900f62b..."} 
[2026-07-27 12:54:05] local.INFO: Packet analysis {"connection_id":143978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa272"} 
[2026-07-27 12:54:05] local.INFO: Extracted packet for processing {"connection_id":143978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa272"} 
[2026-07-27 12:54:05] local.INFO: GPS Element Parsed {"raw_longitude":756645440,"raw_latitude":119532528,"longitude_deg":75.664544,"latitude_deg":11.9532528,"altitude":57,"angle":246,"satellites":43,"speed":19,"hex_longitude":"2d197e40","hex_latitude":"071febf0","is_valid_coordinates":true} 
[2026-07-27 12:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:54:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995038208001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:54:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8845979067351040,"note":"Value kept but may cause issues"} 
[2026-07-27 12:54:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1837890891032690688,"note":"Value kept but may cause issues"} 
[2026-07-27 12:54:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:54:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785136870000,"timestamp_ms":1785136870000,"timestamp_seconds":1785136870,"priority":1,"record_length":96,"hex_timestamp":"0000019fa272f270"} 
[2026-07-27 12:54:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:54:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-07-27 12:54:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-07-27 12:54:05] local.WARNING: Large IO value detected {"io_id":24,"raw_value":563985040580120,"note":"Value kept but may cause issues"} 
[2026-07-27 12:54:05] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2725420160,"note":"Value kept but may cause issues"} 
[2026-07-27 12:54:05] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249846309546356944,"note":"Value kept but may cause issues"} 
[2026-07-27 12:54:05] local.WARNING: Large IO value detected {"io_id":162,"raw_value":2147950577,"note":"Value kept but may cause issues"} 
[2026-07-27 12:54:05] local.WARNING: Large IO value detected {"io_id":31,"raw_value":-1155173093948774912,"note":"Value kept but may cause issues"} 
[2026-07-27 12:54:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-27 12:54:05] local.WARNING: Large IO value detected {"io_id":80,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-27 12:54:05] local.WARNING: Large IO value detected {"io_id":169,"raw_value":57956877116251260,"note":"Value kept but may cause issues"} 
[2026-07-27 12:54:05] local.WARNING: Large IO value detected {"io_id":114,"raw_value":-8577104197111201785,"note":"Value kept but may cause issues"} 
[2026-07-27 12:54:05] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8719195500324067328,"note":"Value kept but may cause issues"} 
[2026-07-27 12:54:05] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,121,28,24,241,158,16,109,159,226,45,192,239,60,42,10,66,219,240,41,176,64,1,7,162,31,4,113,205,160,80,39,55,2,52,12,169,114,231],"length":626,"final_offset":756,"validated_count":39,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-07-27 12:54:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4251648921573720064,"timestamp_seconds":4251648921573720.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 12:54:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:54:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:54:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:54:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143978,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:54:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143978,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:54:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:54:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:54:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:54:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995038208001,"66":12874,"121":206,"28":31744,"24":19,"16":8845979067351040,"45":1837890891032690688},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:54:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:54:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:54:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995038208001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:54:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:54:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:54:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8845979067351040,"km_value":8845979067351.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:54:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1837890891032690688,"description":"Unknown IO ID 45"} 
[2026-07-27 12:54:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995038208001,"power":12874,"unknown_121":206,"unknown_28":31744,"ignition":19,"odometer":null,"unknown_45":1837890891032690688}} 
[2026-07-27 12:54:05] local.INFO: DEBUG: GPS processor result {"connection_id":143978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553178,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:54:05] local.INFO: GPS data processed {"connection_id":143978,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:54:05] local.INFO: Acknowledgment sent {"connection_id":143978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:54:09] local.INFO: TCP Data received {"connection_id":143977,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa27311b0012d7faac005afe928000000e025..."} 
[2026-07-27 12:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143977,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa27311b0012d7faac005afe928000000e025..."} 
[2026-07-27 12:54:09] local.INFO: Processing buffer {"connection_id":143977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa27311b0012d7faac005afe928000000e025..."} 
[2026-07-27 12:54:09] local.INFO: Packet analysis {"connection_id":143977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa273"} 
[2026-07-27 12:54:09] local.INFO: Extracted packet for processing {"connection_id":143977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa273"} 
[2026-07-27 12:54:09] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95414568,"longitude_deg":76.3341504,"latitude_deg":9.5414568,"altitude":0,"angle":224,"satellites":37,"speed":2,"hex_longitude":"2d7faac0","hex_latitude":"05afe928","is_valid_coordinates":true} 
[2026-07-27 12:54:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:54:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995040512001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:54:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827088603512832,"note":"Value kept but may cause issues"} 
[2026-07-27 12:54:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516321792,"note":"Value kept but may cause issues"} 
[2026-07-27 12:54:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:54:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785136878000,"timestamp_ms":1785136878000,"timestamp_seconds":1785136878,"priority":1,"record_length":96,"hex_timestamp":"0000019fa27311b0"} 
[2026-07-27 12:54:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:54:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 12:54:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-27 12:54:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:54:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:54:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:54:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:54:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:54:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:54:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12: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-07-27 12:54:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:54:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:54:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995040512001,"66":28028,"33":206,"85":12544,"24":2,"16":358827088603512832,"45":9199376319516321792},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-27 12:54:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:54:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:54:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995040512001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:54:09] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-27 12:54:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:54:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827088603512832,"km_value":358827088603512.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:54:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516321792,"description":"Unknown IO ID 45"} 
[2026-07-27 12:54:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995040512001,"power":28028,"unknown_33":206,"unknown_85":12544,"ignition":2,"odometer":null,"unknown_45":9199376319516321792}} 
[2026-07-27 12:54:09] local.INFO: DEBUG: GPS processor result {"connection_id":143977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:54:09] local.INFO: GPS data processed {"connection_id":143977,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:54:09] local.INFO: Acknowledgment sent {"connection_id":143977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:54:37] local.INFO: TCP Data received {"connection_id":143978,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa272f658012d197c80071feb80003901072b..."} 
[2026-07-27 12:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa272f658012d197c80071feb80003901072b..."} 
[2026-07-27 12:54:37] local.INFO: Processing buffer {"connection_id":143978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa272f658012d197c80071feb80003901072b..."} 
[2026-07-27 12:54:37] local.INFO: Packet analysis {"connection_id":143978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa272"} 
[2026-07-27 12:54:37] local.INFO: Extracted packet for processing {"connection_id":143978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa272"} 
[2026-07-27 12:54:37] local.INFO: GPS Element Parsed {"raw_longitude":756644992,"raw_latitude":119532416,"longitude_deg":75.6644992,"latitude_deg":11.9532416,"altitude":57,"angle":263,"satellites":43,"speed":19,"hex_longitude":"2d197c80","hex_latitude":"071feb80","is_valid_coordinates":true} 
[2026-07-27 12:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:54:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995038720001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:54:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8846000542187520,"note":"Value kept but may cause issues"} 
[2026-07-27 12:54:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836976097358245888,"note":"Value kept but may cause issues"} 
[2026-07-27 12:54:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:54:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785136871000,"timestamp_ms":1785136871000,"timestamp_seconds":1785136871,"priority":1,"record_length":96,"hex_timestamp":"0000019fa272f658"} 
[2026-07-27 12:54:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:54:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-07-27 12:54:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1114,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:54:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:54:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:54:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:54:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:54:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143978,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:54:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143978,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:54:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:54:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:54:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:54:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995038720001,"66":13243,"121":206,"28":31744,"24":19,"16":8846000542187520,"45":1836976097358245888},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:54:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:54:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:54:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995038720001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:54:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:54:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:54:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8846000542187520,"km_value":8846000542187.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:54:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836976097358245888,"description":"Unknown IO ID 45"} 
[2026-07-27 12:54:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995038720001,"power":13243,"unknown_121":206,"unknown_28":31744,"ignition":19,"odometer":null,"unknown_45":1836976097358245888}} 
[2026-07-27 12:54:37] local.INFO: DEBUG: GPS processor result {"connection_id":143978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553180,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:54:37] local.INFO: GPS data processed {"connection_id":143978,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:54:37] local.INFO: Acknowledgment sent {"connection_id":143978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:54:37] local.INFO: TCP Data received {"connection_id":142978,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:54:37] local.INFO: Processing buffer {"connection_id":142978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:54:37] local.INFO: IMEI packet received {"connection_id":142978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 12:54:37] local.INFO: IMEI acknowledgment sent {"connection_id":142978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:54:42] local.INFO: TCP Data received {"connection_id":142978,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:54:42] local.INFO: Processing buffer {"connection_id":142978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:54:42] local.INFO: IMEI packet received {"connection_id":142978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 12:54:42] local.INFO: IMEI acknowledgment sent {"connection_id":142978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:54:43] local.INFO: TCP Data received {"connection_id":142978,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa27524f0012d7f9fc005afd7c8000000e02a..."} 
[2026-07-27 12:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa27524f0012d7f9fc005afd7c8000000e02a..."} 
[2026-07-27 12:54:43] local.INFO: Processing buffer {"connection_id":142978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa27524f0012d7f9fc005afd7c8000000e02a..."} 
[2026-07-27 12:54:43] local.INFO: Packet analysis {"connection_id":142978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa275"} 
[2026-07-27 12:54:43] local.INFO: Extracted packet for processing {"connection_id":142978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa275"} 
[2026-07-27 12:54:43] local.INFO: GPS Element Parsed {"raw_longitude":763338688,"raw_latitude":95410120,"longitude_deg":76.3338688,"latitude_deg":9.541012,"altitude":0,"angle":224,"satellites":42,"speed":0,"hex_longitude":"2d7f9fc0","hex_latitude":"05afd7c8","is_valid_coordinates":true} 
[2026-07-27 12:54:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:54:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995040768001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:54:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827088603512832,"note":"Value kept but may cause issues"} 
[2026-07-27 12:54:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319516321792,"note":"Value kept but may cause issues"} 
[2026-07-27 12:54:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:54:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785137014000,"timestamp_ms":1785137014000,"timestamp_seconds":1785137014,"priority":1,"record_length":96,"hex_timestamp":"0000019fa27524f0"} 
[2026-07-27 12:54:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:54:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 12:54:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-27 12:54:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:54:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:54:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:54:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:54:43] local.INFO: Teltonika packet parsed successfully {"connection_id":142978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:54:43] local.INFO: Passing IMEI to GPS processor {"connection_id":142978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:54:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":142978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:54: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-07-27 12:54:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:54:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:54:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995040768001,"66":26115,"250":206,"85":12544,"24":0,"16":358827088603512832,"45":9199376319516321792},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 12:54:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:54:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:54:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995040768001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:54:43] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 12:54:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:54:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827088603512832,"km_value":358827088603512.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:54:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319516321792,"description":"Unknown IO ID 45"} 
[2026-07-27 12:54:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995040768001,"power":26115,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319516321792}} 
[2026-07-27 12:54:43] local.INFO: DEBUG: GPS processor result {"connection_id":142978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:54:43] local.INFO: GPS data processed {"connection_id":142978,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:54:43] local.INFO: Acknowledgment sent {"connection_id":142978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:55:00] local.INFO: TCP Data received {"connection_id":142979,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142979,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:55:00] local.INFO: Processing buffer {"connection_id":142979,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:55:00] local.INFO: IMEI packet received {"connection_id":142979,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 12:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":142979,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:55:05] local.INFO: TCP Data received {"connection_id":142979,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142979,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:55:05] local.INFO: Processing buffer {"connection_id":142979,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:55:05] local.INFO: IMEI packet received {"connection_id":142979,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 12:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":142979,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:55:07] local.INFO: TCP Data received {"connection_id":142979,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2731598012d196f00071fec300037011429..."} 
[2026-07-27 12:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2731598012d196f00071fec300037011429..."} 
[2026-07-27 12:55:07] local.INFO: Processing buffer {"connection_id":142979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2731598012d196f00071fec300037011429..."} 
[2026-07-27 12:55:07] local.INFO: Packet analysis {"connection_id":142979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa273"} 
[2026-07-27 12:55:07] local.INFO: Extracted packet for processing {"connection_id":142979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa273"} 
[2026-07-27 12:55:07] local.INFO: GPS Element Parsed {"raw_longitude":756641536,"raw_latitude":119532592,"longitude_deg":75.6641536,"latitude_deg":11.9532592,"altitude":55,"angle":276,"satellites":41,"speed":13,"hex_longitude":"2d196f00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-07-27 12:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:55:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995038976001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:55:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8846163750944768,"note":"Value kept but may cause issues"} 
[2026-07-27 12:55:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836483516148973568,"note":"Value kept but may cause issues"} 
[2026-07-27 12:55:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:55:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785136879000,"timestamp_ms":1785136879000,"timestamp_seconds":1785136879,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2731598"} 
[2026-07-27 12:55:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:55:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-27 12:55:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:55:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:55:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:55:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:55:07] local.INFO: Teltonika packet parsed successfully {"connection_id":142979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:55:07] local.INFO: Passing IMEI to GPS processor {"connection_id":142979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:55:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":142979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:55:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:55:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:55:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:55:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995038976001,"66":13298,"121":206,"28":31744,"24":13,"16":8846163750944768,"45":1836483516148973568},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:55:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:55:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:55:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995038976001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:55:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:55:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:55:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8846163750944768,"km_value":8846163750944.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:55:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836483516148973568,"description":"Unknown IO ID 45"} 
[2026-07-27 12:55:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995038976001,"power":13298,"unknown_121":206,"unknown_28":31744,"ignition":13,"odometer":null,"unknown_45":1836483516148973568}} 
[2026-07-27 12:55:07] local.INFO: DEBUG: GPS processor result {"connection_id":142979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553182,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:55:07] local.INFO: GPS data processed {"connection_id":142979,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:55:07] local.INFO: Acknowledgment sent {"connection_id":142979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:55:14] local.INFO: TCP Data received {"connection_id":142978,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2753c60012d7f9d0005afd2f0000000ab2a..."} 
[2026-07-27 12:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2753c60012d7f9d0005afd2f0000000ab2a..."} 
[2026-07-27 12:55:14] local.INFO: Processing buffer {"connection_id":142978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2753c60012d7f9d0005afd2f0000000ab2a..."} 
[2026-07-27 12:55:14] local.INFO: Packet analysis {"connection_id":142978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa275"} 
[2026-07-27 12:55:14] local.INFO: Extracted packet for processing {"connection_id":142978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa275"} 
[2026-07-27 12:55:14] local.INFO: GPS Element Parsed {"raw_longitude":763337984,"raw_latitude":95408880,"longitude_deg":76.3337984,"latitude_deg":9.540888,"altitude":0,"angle":171,"satellites":42,"speed":0,"hex_longitude":"2d7f9d00","hex_latitude":"05afd2f0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 12:55:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995075584001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:55:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827088603512832,"note":"Value kept but may cause issues"} 
[2026-07-27 12:55:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196280094771365888,"note":"Value kept but may cause issues"} 
[2026-07-27 12:55:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:55:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785137020000,"timestamp_ms":1785137020000,"timestamp_seconds":1785137020,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2753c60"} 
[2026-07-27 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-07-27 12:55:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-27 12:55:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 12:55:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:55:14] local.INFO: Teltonika packet parsed successfully {"connection_id":142978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:55:14] local.INFO: Passing IMEI to GPS processor {"connection_id":142978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:55:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":142978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:55: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-07-27 12:55:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:55:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:55:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995075584001,"66":25952,"250":206,"85":12544,"24":0,"16":358827088603512832,"45":9196280094771365888},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 12:55:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:55:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:55:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995075584001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:55:14] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 12:55:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:55:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827088603512832,"km_value":358827088603512.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:55:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196280094771365888,"description":"Unknown IO ID 45"} 
[2026-07-27 12:55:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995075584001,"power":25952,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196280094771365888}} 
[2026-07-27 12:55:14] local.INFO: DEBUG: GPS processor result {"connection_id":142978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:55:14] local.INFO: GPS data processed {"connection_id":142978,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:55:14] local.INFO: Acknowledgment sent {"connection_id":142978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:55:32] local.INFO: TCP Data received {"connection_id":142980,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:55:32] local.INFO: Processing buffer {"connection_id":142980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:55:32] local.INFO: IMEI packet received {"connection_id":142980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 12:55:32] local.INFO: IMEI acknowledgment sent {"connection_id":142980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:55:37] local.INFO: TCP Data received {"connection_id":142980,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:55:37] local.INFO: Processing buffer {"connection_id":142980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:55:37] local.INFO: IMEI packet received {"connection_id":142980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 12:55:37] local.INFO: IMEI acknowledgment sent {"connection_id":142980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:55:38] local.INFO: TCP Data received {"connection_id":142980,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2754fe8012d7f9d0005afd2f0000000ab2a..."} 
[2026-07-27 12:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2754fe8012d7f9d0005afd2f0000000ab2a..."} 
[2026-07-27 12:55:38] local.INFO: Processing buffer {"connection_id":142980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2754fe8012d7f9d0005afd2f0000000ab2a..."} 
[2026-07-27 12:55:38] local.INFO: Packet analysis {"connection_id":142980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa275"} 
[2026-07-27 12:55:38] local.INFO: Extracted packet for processing {"connection_id":142980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa275"} 
[2026-07-27 12:55:38] local.INFO: GPS Element Parsed {"raw_longitude":763337984,"raw_latitude":95408880,"longitude_deg":76.3337984,"latitude_deg":9.540888,"altitude":0,"angle":171,"satellites":42,"speed":0,"hex_longitude":"2d7f9d00","hex_latitude":"05afd2f0","is_valid_coordinates":true} 
[2026-07-27 12:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:55:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995077120001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:55:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827088603512832,"note":"Value kept but may cause issues"} 
[2026-07-27 12:55:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195506038585094144,"note":"Value kept but may cause issues"} 
[2026-07-27 12:55:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:55:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785137025000,"timestamp_ms":1785137025000,"timestamp_seconds":1785137025,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2754fe8"} 
[2026-07-27 12:55:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:55:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-27 12:55:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:55:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:55:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:55:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:55:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:55:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:55:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:55:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:55:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:55:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:55:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995077120001,"66":25952,"250":206,"85":12544,"24":0,"16":358827088603512832,"45":9195506038585094144},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 12:55:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:55:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:55:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995077120001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:55:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 12:55:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:55:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827088603512832,"km_value":358827088603512.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:55:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195506038585094144,"description":"Unknown IO ID 45"} 
[2026-07-27 12:55:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995077120001,"power":25952,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195506038585094144}} 
[2026-07-27 12:55:38] local.INFO: DEBUG: GPS processor result {"connection_id":142980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:55:38] local.INFO: GPS data processed {"connection_id":142980,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:55:38] local.INFO: Acknowledgment sent {"connection_id":142980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:55:38] local.INFO: TCP Data received {"connection_id":142979,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa27367a0012d1967c0071fed90003801122a..."} 
[2026-07-27 12:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa27367a0012d1967c0071fed90003801122a..."} 
[2026-07-27 12:55:38] local.INFO: Processing buffer {"connection_id":142979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa27367a0012d1967c0071fed90003801122a..."} 
[2026-07-27 12:55:38] local.INFO: Packet analysis {"connection_id":142979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa273"} 
[2026-07-27 12:55:38] local.INFO: Extracted packet for processing {"connection_id":142979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa273"} 
[2026-07-27 12:55:38] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532944,"longitude_deg":75.663968,"latitude_deg":11.9532944,"altitude":56,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-07-27 12:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:55:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995041024001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:55:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8846258240225280,"note":"Value kept but may cause issues"} 
[2026-07-27 12:55:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832683603963424768,"note":"Value kept but may cause issues"} 
[2026-07-27 12:55:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:55:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785136900000,"timestamp_ms":1785136900000,"timestamp_seconds":1785136900,"priority":1,"record_length":96,"hex_timestamp":"0000019fa27367a0"} 
[2026-07-27 12:55:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:55:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-07-27 12:55:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2631,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:55:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:55:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:55:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:55:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:55:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:55:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:55:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:55:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:55:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:55:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995041024001,"66":13254,"121":206,"28":31744,"24":0,"16":8846258240225280,"45":1832683603963424768},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:55:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:55:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:55:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995041024001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:55:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:55:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:55:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8846258240225280,"km_value":8846258240225.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:55:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832683603963424768,"description":"Unknown IO ID 45"} 
[2026-07-27 12:55:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995041024001,"power":13254,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1832683603963424768}} 
[2026-07-27 12:55:38] local.INFO: DEBUG: GPS processor result {"connection_id":142979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553185,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:55:38] local.INFO: GPS data processed {"connection_id":142979,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:55:38] local.INFO: Acknowledgment sent {"connection_id":142979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:56:01] local.INFO: TCP Data received {"connection_id":142981,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142981,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:56:01] local.INFO: Processing buffer {"connection_id":142981,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:56:01] local.INFO: IMEI packet received {"connection_id":142981,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 12:56:01] local.INFO: IMEI acknowledgment sent {"connection_id":142981,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:56:05] local.INFO: TCP Data received {"connection_id":142981,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142981,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:56:05] local.INFO: Processing buffer {"connection_id":142981,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:56:05] local.INFO: IMEI packet received {"connection_id":142981,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 12:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":142981,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:56:06] local.INFO: TCP Data received {"connection_id":142981,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa273b9a8012d1967c0071fed900038011228..."} 
[2026-07-27 12:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa273b9a8012d1967c0071fed900038011228..."} 
[2026-07-27 12:56:06] local.INFO: Processing buffer {"connection_id":142981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa273b9a8012d1967c0071fed900038011228..."} 
[2026-07-27 12:56:06] local.INFO: Packet analysis {"connection_id":142981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa273"} 
[2026-07-27 12:56:06] local.INFO: Extracted packet for processing {"connection_id":142981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa273"} 
[2026-07-27 12:56:06] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532944,"longitude_deg":75.663968,"latitude_deg":11.9532944,"altitude":56,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-07-27 12:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995046400001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8846258240225280,"note":"Value kept but may cause issues"} 
[2026-07-27 12:56:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382362624,"note":"Value kept but may cause issues"} 
[2026-07-27 12:56:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785136921000,"timestamp_ms":1785136921000,"timestamp_seconds":1785136921,"priority":1,"record_length":96,"hex_timestamp":"0000019fa273b9a8"} 
[2026-07-27 12:56:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:56:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-27 12:56:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:56:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:56:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":142981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":142981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":142981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:56:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995046400001,"66":13156,"121":206,"28":31744,"24":0,"16":8846258240225280,"45":1830642910382362624},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995046400001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:56:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:56:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8846258240225280,"km_value":8846258240225.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:56:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382362624,"description":"Unknown IO ID 45"} 
[2026-07-27 12:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995046400001,"power":13156,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382362624}} 
[2026-07-27 12:56:07] local.INFO: DEBUG: GPS processor result {"connection_id":142981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553186,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:56:07] local.INFO: GPS data processed {"connection_id":142981,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:56:07] local.INFO: Acknowledgment sent {"connection_id":142981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:56:09] local.INFO: TCP Data received {"connection_id":142980,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2754fe8012d7f9d0005afd2f0000000ab2a..."} 
[2026-07-27 12:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2754fe8012d7f9d0005afd2f0000000ab2a..."} 
[2026-07-27 12:56:09] local.INFO: Processing buffer {"connection_id":142980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2754fe8012d7f9d0005afd2f0000000ab2a..."} 
[2026-07-27 12:56:09] local.INFO: Packet analysis {"connection_id":142980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa275"} 
[2026-07-27 12:56:09] local.INFO: Extracted packet for processing {"connection_id":142980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa275"} 
[2026-07-27 12:56:09] local.INFO: GPS Element Parsed {"raw_longitude":763337984,"raw_latitude":95408880,"longitude_deg":76.3337984,"latitude_deg":9.540888,"altitude":0,"angle":171,"satellites":42,"speed":0,"hex_longitude":"2d7f9d00","hex_latitude":"05afd2f0","is_valid_coordinates":true} 
[2026-07-27 12:56:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:56:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995077120001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:56:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827088603512832,"note":"Value kept but may cause issues"} 
[2026-07-27 12:56:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195506038585094144,"note":"Value kept but may cause issues"} 
[2026-07-27 12:56:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:56:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785137025000,"timestamp_ms":1785137025000,"timestamp_seconds":1785137025,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2754fe8"} 
[2026-07-27 12:56:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:56:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12:56:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-27 12:56:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:56:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:56:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:56:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:56:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:56:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:56:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:56: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-07-27 12:56:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:56:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:56:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995077120001,"66":25952,"250":206,"85":12544,"24":0,"16":358827088603512832,"45":9195506038585094144},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 12:56:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:56:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:56:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995077120001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:56:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 12:56:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:56:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827088603512832,"km_value":358827088603512.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:56:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195506038585094144,"description":"Unknown IO ID 45"} 
[2026-07-27 12:56:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995077120001,"power":25952,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195506038585094144}} 
[2026-07-27 12:56:09] local.INFO: DEBUG: GPS processor result {"connection_id":142980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:56:09] local.INFO: GPS data processed {"connection_id":142980,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:56:09] local.INFO: Acknowledgment sent {"connection_id":142980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:56:32] local.INFO: TCP Data received {"connection_id":143979,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:56:32] local.INFO: Processing buffer {"connection_id":143979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:56:32] local.INFO: IMEI packet received {"connection_id":143979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 12:56:32] local.INFO: IMEI acknowledgment sent {"connection_id":143979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:56:37] local.INFO: TCP Data received {"connection_id":143979,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:56:37] local.INFO: Processing buffer {"connection_id":143979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:56:37] local.INFO: IMEI packet received {"connection_id":143979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 12:56:37] local.INFO: IMEI acknowledgment sent {"connection_id":143979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:56:38] local.INFO: TCP Data received {"connection_id":143979,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa276fd98012d7f9c4005afd318000000ab2a..."} 
[2026-07-27 12:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa276fd98012d7f9c4005afd318000000ab2a..."} 
[2026-07-27 12:56:38] local.INFO: Processing buffer {"connection_id":143979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa276fd98012d7f9c4005afd318000000ab2a..."} 
[2026-07-27 12:56:38] local.INFO: Packet analysis {"connection_id":143979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa276"} 
[2026-07-27 12:56:38] local.INFO: Extracted packet for processing {"connection_id":143979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa276"} 
[2026-07-27 12:56:38] local.INFO: GPS Element Parsed {"raw_longitude":763337792,"raw_latitude":95408920,"longitude_deg":76.3337792,"latitude_deg":9.540892,"altitude":0,"angle":171,"satellites":42,"speed":0,"hex_longitude":"2d7f9c40","hex_latitude":"05afd318","is_valid_coordinates":true} 
[2026-07-27 12:56:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:56:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995078400001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:56:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827088603512832,"note":"Value kept but may cause issues"} 
[2026-07-27 12:56:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195506038585094144,"note":"Value kept but may cause issues"} 
[2026-07-27 12:56:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:56:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785137135000,"timestamp_ms":1785137135000,"timestamp_seconds":1785137135,"priority":1,"record_length":96,"hex_timestamp":"0000019fa276fd98"} 
[2026-07-27 12:56:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:56:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 12:56:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-27 12:56:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:56:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:56:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:56:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:56:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:56:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:56:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:56:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:56:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:56:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:56:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995078400001,"66":25875,"250":206,"85":12544,"24":0,"16":358827088603512832,"45":9195506038585094144},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 12:56:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:56:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:56:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995078400001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:56:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 12:56:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:56:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827088603512832,"km_value":358827088603512.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:56:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195506038585094144,"description":"Unknown IO ID 45"} 
[2026-07-27 12:56:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995078400001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195506038585094144}} 
[2026-07-27 12:56:38] local.INFO: DEBUG: GPS processor result {"connection_id":143979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:56:38] local.INFO: GPS data processed {"connection_id":143979,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:56:38] local.INFO: Acknowledgment sent {"connection_id":143979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:56:38] local.INFO: TCP Data received {"connection_id":142981,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2740bb0012d1967c0071fed900038011227..."} 
[2026-07-27 12:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2740bb0012d1967c0071fed900038011227..."} 
[2026-07-27 12:56:38] local.INFO: Processing buffer {"connection_id":142981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2740bb0012d1967c0071fed900038011227..."} 
[2026-07-27 12:56:38] local.INFO: Packet analysis {"connection_id":142981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa274"} 
[2026-07-27 12:56:38] local.INFO: Extracted packet for processing {"connection_id":142981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa274"} 
[2026-07-27 12:56:38] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532944,"longitude_deg":75.663968,"latitude_deg":11.9532944,"altitude":56,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-07-27 12:56:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:56:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995051776001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:56:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8846258240225280,"note":"Value kept but may cause issues"} 
[2026-07-27 12:56:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382362624,"note":"Value kept but may cause issues"} 
[2026-07-27 12:56:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:56:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785136942000,"timestamp_ms":1785136942000,"timestamp_seconds":1785136942,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2740bb0"} 
[2026-07-27 12:56:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:56:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12:56:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-07-27 12:56:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1353,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:56:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:56:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:56:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:56:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:56:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:56:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:56:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:56:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:56:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:56:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995051776001,"66":13156,"121":206,"28":31744,"24":0,"16":8846258240225280,"45":1830642910382362624},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:56:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:56:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:56:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995051776001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:56:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:56:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:56:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8846258240225280,"km_value":8846258240225.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:56:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382362624,"description":"Unknown IO ID 45"} 
[2026-07-27 12:56:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995051776001,"power":13156,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382362624}} 
[2026-07-27 12:56:38] local.INFO: DEBUG: GPS processor result {"connection_id":142981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553189,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:56:38] local.INFO: GPS data processed {"connection_id":142981,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:56:38] local.INFO: Acknowledgment sent {"connection_id":142981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:57:00] local.INFO: TCP Data received {"connection_id":145265,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145265,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:57:00] local.INFO: Processing buffer {"connection_id":145265,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:57:00] local.INFO: IMEI packet received {"connection_id":145265,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 12:57:00] local.INFO: IMEI acknowledgment sent {"connection_id":145265,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:57:05] local.INFO: TCP Data received {"connection_id":145265,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145265,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:57:05] local.INFO: Processing buffer {"connection_id":145265,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:57:05] local.INFO: IMEI packet received {"connection_id":145265,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 12:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":145265,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:57:06] local.INFO: TCP Data received {"connection_id":145265,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2745db8012d1967c0071fed900038011227..."} 
[2026-07-27 12:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2745db8012d1967c0071fed900038011227..."} 
[2026-07-27 12:57:06] local.INFO: Processing buffer {"connection_id":145265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2745db8012d1967c0071fed900038011227..."} 
[2026-07-27 12:57:06] local.INFO: Packet analysis {"connection_id":145265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa274"} 
[2026-07-27 12:57:06] local.INFO: Extracted packet for processing {"connection_id":145265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa274"} 
[2026-07-27 12:57:06] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532944,"longitude_deg":75.663968,"latitude_deg":11.9532944,"altitude":56,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-07-27 12:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995057152001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8846258240225280,"note":"Value kept but may cause issues"} 
[2026-07-27 12:57:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382362624,"note":"Value kept but may cause issues"} 
[2026-07-27 12:57:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785136963000,"timestamp_ms":1785136963000,"timestamp_seconds":1785136963,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2745db8"} 
[2026-07-27 12:57:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:57:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-07-27 12:57:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1353,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:57:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:57:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":145265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":145265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":145265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:57:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995057152001,"66":13091,"121":206,"28":31744,"24":0,"16":8846258240225280,"45":1830642910382362624},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995057152001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:57:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:57:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8846258240225280,"km_value":8846258240225.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:57:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382362624,"description":"Unknown IO ID 45"} 
[2026-07-27 12:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995057152001,"power":13091,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382362624}} 
[2026-07-27 12:57:06] local.INFO: DEBUG: GPS processor result {"connection_id":145265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553190,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:57:06] local.INFO: GPS data processed {"connection_id":145265,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:57:06] local.INFO: Acknowledgment sent {"connection_id":145265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:57:09] local.INFO: TCP Data received {"connection_id":143979,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2775f40012d7f9d0005afd2f0000000ab29..."} 
[2026-07-27 12:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2775f40012d7f9d0005afd2f0000000ab29..."} 
[2026-07-27 12:57:09] local.INFO: Processing buffer {"connection_id":143979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2775f40012d7f9d0005afd2f0000000ab29..."} 
[2026-07-27 12:57:09] local.INFO: Packet analysis {"connection_id":143979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa277"} 
[2026-07-27 12:57:09] local.INFO: Extracted packet for processing {"connection_id":143979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa277"} 
[2026-07-27 12:57:09] local.INFO: GPS Element Parsed {"raw_longitude":763337984,"raw_latitude":95408880,"longitude_deg":76.3337984,"latitude_deg":9.540888,"altitude":0,"angle":171,"satellites":41,"speed":0,"hex_longitude":"2d7f9d00","hex_latitude":"05afd2f0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 12:57:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995106560001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:57:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827088603512832,"note":"Value kept but may cause issues"} 
[2026-07-27 12:57:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195294932352571392,"note":"Value kept but may cause issues"} 
[2026-07-27 12:57:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:57:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785137160000,"timestamp_ms":1785137160000,"timestamp_seconds":1785137160,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2775f40"} 
[2026-07-27 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-07-27 12:57:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-27 12:57:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 12:57:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:57:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:57:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:57:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:57: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-07-27 12:57:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:57:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:57:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995106560001,"66":25615,"250":206,"85":12544,"24":0,"16":358827088603512832,"45":9195294932352571392},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 12:57:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:57:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:57:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995106560001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:57:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 12:57:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:57:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827088603512832,"km_value":358827088603512.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:57:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195294932352571392,"description":"Unknown IO ID 45"} 
[2026-07-27 12:57:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995106560001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195294932352571392}} 
[2026-07-27 12:57:09] local.INFO: DEBUG: GPS processor result {"connection_id":143979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:57:09] local.INFO: GPS data processed {"connection_id":143979,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:57:09] local.INFO: Acknowledgment sent {"connection_id":143979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:57:37] local.INFO: TCP Data received {"connection_id":142982,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:57:37] local.INFO: Processing buffer {"connection_id":142982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:57:37] local.INFO: IMEI packet received {"connection_id":142982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 12:57:37] local.INFO: IMEI acknowledgment sent {"connection_id":142982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:57:38] local.INFO: TCP Data received {"connection_id":145265,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa274afc0012d1967c0071fed90003801122a..."} 
[2026-07-27 12:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa274afc0012d1967c0071fed90003801122a..."} 
[2026-07-27 12:57:38] local.INFO: Processing buffer {"connection_id":145265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa274afc0012d1967c0071fed90003801122a..."} 
[2026-07-27 12:57:38] local.INFO: Packet analysis {"connection_id":145265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa274"} 
[2026-07-27 12:57:38] local.INFO: Extracted packet for processing {"connection_id":145265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa274"} 
[2026-07-27 12:57:38] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532944,"longitude_deg":75.663968,"latitude_deg":11.9532944,"altitude":56,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-07-27 12:57:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:57:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995062528001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:57:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8846258240225280,"note":"Value kept but may cause issues"} 
[2026-07-27 12:57:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382362624,"note":"Value kept but may cause issues"} 
[2026-07-27 12:57:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:57:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785136984000,"timestamp_ms":1785136984000,"timestamp_seconds":1785136984,"priority":1,"record_length":96,"hex_timestamp":"0000019fa274afc0"} 
[2026-07-27 12:57:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:57:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12:57:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-27 12:57:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:57:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:57:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:57:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:57:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:57:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:57:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:57:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:57:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:57:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:57:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995062528001,"66":13048,"121":206,"28":31744,"24":0,"16":8846258240225280,"45":1830642910382362624},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:57:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:57:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:57:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995062528001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:57:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:57:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:57:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8846258240225280,"km_value":8846258240225.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:57:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382362624,"description":"Unknown IO ID 45"} 
[2026-07-27 12:57:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995062528001,"power":13048,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382362624}} 
[2026-07-27 12:57:38] local.INFO: DEBUG: GPS processor result {"connection_id":145265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553192,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:57:38] local.INFO: GPS data processed {"connection_id":145265,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:57:38] local.INFO: Acknowledgment sent {"connection_id":145265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:57:42] local.INFO: TCP Data received {"connection_id":142982,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:57:42] local.INFO: Processing buffer {"connection_id":142982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:57:42] local.INFO: IMEI packet received {"connection_id":142982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 12:57:42] local.INFO: IMEI acknowledgment sent {"connection_id":142982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:57:43] local.INFO: TCP Data received {"connection_id":142982,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa277b148012d7f9d0005afd2f0000000ab29..."} 
[2026-07-27 12:57:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa277b148012d7f9d0005afd2f0000000ab29..."} 
[2026-07-27 12:57:43] local.INFO: Processing buffer {"connection_id":142982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa277b148012d7f9d0005afd2f0000000ab29..."} 
[2026-07-27 12:57:43] local.INFO: Packet analysis {"connection_id":142982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa277"} 
[2026-07-27 12:57:43] local.INFO: Extracted packet for processing {"connection_id":142982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa277"} 
[2026-07-27 12:57:43] local.INFO: GPS Element Parsed {"raw_longitude":763337984,"raw_latitude":95408880,"longitude_deg":76.3337984,"latitude_deg":9.540888,"altitude":0,"angle":171,"satellites":41,"speed":0,"hex_longitude":"2d7f9d00","hex_latitude":"05afd2f0","is_valid_coordinates":true} 
[2026-07-27 12: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-07-27 12:57:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995112960001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:57:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827088603512832,"note":"Value kept but may cause issues"} 
[2026-07-27 12:57:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195506038585094144,"note":"Value kept but may cause issues"} 
[2026-07-27 12:57:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:57:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785137181000,"timestamp_ms":1785137181000,"timestamp_seconds":1785137181,"priority":1,"record_length":96,"hex_timestamp":"0000019fa277b148"} 
[2026-07-27 12:57:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:57:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-27 12:57:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12: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-07-27 12:57:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:57:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:57:43] local.INFO: Teltonika packet parsed successfully {"connection_id":142982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:57:43] local.INFO: Passing IMEI to GPS processor {"connection_id":142982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:57:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":142982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12: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-07-27 12:57:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:57:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:57:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995112960001,"66":25462,"250":206,"85":12544,"24":0,"16":358827088603512832,"45":9195506038585094144},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 12:57:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:57:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:57:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995112960001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:57:43] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 12:57:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:57:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827088603512832,"km_value":358827088603512.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:57:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195506038585094144,"description":"Unknown IO ID 45"} 
[2026-07-27 12:57:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995112960001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195506038585094144}} 
[2026-07-27 12:57:43] local.INFO: DEBUG: GPS processor result {"connection_id":142982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:57:43] local.INFO: GPS data processed {"connection_id":142982,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:57:43] local.INFO: Acknowledgment sent {"connection_id":142982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:57:47] local.INFO: TCP Data received {"connection_id":142982,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa277e410012d7f9d0005afd2f0000000ab28..."} 
[2026-07-27 12:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa277e410012d7f9d0005afd2f0000000ab28..."} 
[2026-07-27 12:57:47] local.INFO: Processing buffer {"connection_id":142982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa277e410012d7f9d0005afd2f0000000ab28..."} 
[2026-07-27 12:57:47] local.INFO: Packet analysis {"connection_id":142982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa277"} 
[2026-07-27 12:57:47] local.INFO: Extracted packet for processing {"connection_id":142982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa277"} 
[2026-07-27 12:57:47] local.INFO: GPS Element Parsed {"raw_longitude":763337984,"raw_latitude":95408880,"longitude_deg":76.3337984,"latitude_deg":9.540888,"altitude":0,"angle":171,"satellites":40,"speed":0,"hex_longitude":"2d7f9d00","hex_latitude":"05afd2f0","is_valid_coordinates":true} 
[2026-07-27 12:57:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:57:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995118336001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:57:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827088603512832,"note":"Value kept but may cause issues"} 
[2026-07-27 12:57:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195506038585094144,"note":"Value kept but may cause issues"} 
[2026-07-27 12:57:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:57:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785137194000,"timestamp_ms":1785137194000,"timestamp_seconds":1785137194,"priority":1,"record_length":96,"hex_timestamp":"0000019fa277e410"} 
[2026-07-27 12:57:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:57:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12:57:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 12:57:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:57:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:57:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:57:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:57:47] local.INFO: Teltonika packet parsed successfully {"connection_id":142982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:57:47] local.INFO: Passing IMEI to GPS processor {"connection_id":142982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:57:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":142982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:57:47] 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-07-27 12:57:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:57:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:57:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995118336001,"66":25419,"250":206,"85":12544,"24":0,"16":358827088603512832,"45":9195506038585094144},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 12:57:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:57:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:57:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995118336001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:57:47] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 12:57:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:57:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827088603512832,"km_value":358827088603512.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:57:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195506038585094144,"description":"Unknown IO ID 45"} 
[2026-07-27 12:57:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995118336001,"power":25419,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195506038585094144}} 
[2026-07-27 12:57:47] local.INFO: DEBUG: GPS processor result {"connection_id":142982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:57:47] local.INFO: GPS data processed {"connection_id":142982,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:57:47] local.INFO: Acknowledgment sent {"connection_id":142982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:58:00] local.INFO: TCP Data received {"connection_id":143980,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143980,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:58:00] local.INFO: Processing buffer {"connection_id":143980,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:58:00] local.INFO: IMEI packet received {"connection_id":143980,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 12:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":143980,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:58:05] local.INFO: TCP Data received {"connection_id":143980,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143980,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:58:05] local.INFO: Processing buffer {"connection_id":143980,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:58:05] local.INFO: IMEI packet received {"connection_id":143980,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 12:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":143980,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:58:06] local.INFO: TCP Data received {"connection_id":143980,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa27501c8012d1967c0071fed900038011229..."} 
[2026-07-27 12:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa27501c8012d1967c0071fed900038011229..."} 
[2026-07-27 12:58:06] local.INFO: Processing buffer {"connection_id":143980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa27501c8012d1967c0071fed900038011229..."} 
[2026-07-27 12:58:06] local.INFO: Packet analysis {"connection_id":143980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa275"} 
[2026-07-27 12:58:06] local.INFO: Extracted packet for processing {"connection_id":143980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa275"} 
[2026-07-27 12:58:06] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532944,"longitude_deg":75.663968,"latitude_deg":11.9532944,"altitude":56,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-07-27 12:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995067904001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8846258240225280,"note":"Value kept but may cause issues"} 
[2026-07-27 12:58:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382362624,"note":"Value kept but may cause issues"} 
[2026-07-27 12:58:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785137005000,"timestamp_ms":1785137005000,"timestamp_seconds":1785137005,"priority":1,"record_length":96,"hex_timestamp":"0000019fa27501c8"} 
[2026-07-27 12:58:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:58:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-27 12:58:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:58:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:58:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:58:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995067904001,"66":13015,"121":206,"28":31744,"24":0,"16":8846258240225280,"45":1830642910382362624},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995067904001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:58:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:58:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8846258240225280,"km_value":8846258240225.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:58:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382362624,"description":"Unknown IO ID 45"} 
[2026-07-27 12:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995067904001,"power":13015,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382362624}} 
[2026-07-27 12:58:07] local.INFO: DEBUG: GPS processor result {"connection_id":143980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553195,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:58:07] local.INFO: GPS data processed {"connection_id":143980,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:58:07] local.INFO: Acknowledgment sent {"connection_id":143980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:58:32] local.INFO: TCP Data received {"connection_id":145266,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:58:32] local.INFO: Processing buffer {"connection_id":145266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:58:32] local.INFO: IMEI packet received {"connection_id":145266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 12:58:32] local.INFO: IMEI acknowledgment sent {"connection_id":145266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:58:37] local.INFO: TCP Data received {"connection_id":145266,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:58:37] local.INFO: Processing buffer {"connection_id":145266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:58:37] local.INFO: IMEI packet received {"connection_id":145266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 12:58:37] local.INFO: IMEI acknowledgment sent {"connection_id":145266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:58:38] local.INFO: TCP Data received {"connection_id":143980,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2788820012d1967c0071fed900038011227..."} 
[2026-07-27 12:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2788820012d1967c0071fed900038011227..."} 
[2026-07-27 12:58:38] local.INFO: Processing buffer {"connection_id":143980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2788820012d1967c0071fed900038011227..."} 
[2026-07-27 12:58:38] local.INFO: Packet analysis {"connection_id":143980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa278"} 
[2026-07-27 12:58:38] local.INFO: Extracted packet for processing {"connection_id":143980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa278"} 
[2026-07-27 12:58:38] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532944,"longitude_deg":75.663968,"latitude_deg":11.9532944,"altitude":56,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-07-27 12:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:58:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995127040001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:58:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8846258240225280,"note":"Value kept but may cause issues"} 
[2026-07-27 12:58:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382362624,"note":"Value kept but may cause issues"} 
[2026-07-27 12:58:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:58:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785137236000,"timestamp_ms":1785137236000,"timestamp_seconds":1785137236,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2788820"} 
[2026-07-27 12:58:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:58:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-27 12:58:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:58:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:58:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:58:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:58:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:58:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:58:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:58:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:58:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:58:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:58:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995127040001,"66":12722,"121":206,"28":31744,"24":0,"16":8846258240225280,"45":1830642910382362624},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:58:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:58:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:58:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995127040001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:58:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:58:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:58:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8846258240225280,"km_value":8846258240225.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:58:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382362624,"description":"Unknown IO ID 45"} 
[2026-07-27 12:58:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995127040001,"power":12722,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382362624}} 
[2026-07-27 12:58:38] local.INFO: DEBUG: GPS processor result {"connection_id":143980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553196,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:58:38] local.INFO: GPS data processed {"connection_id":143980,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:58:38] local.INFO: Acknowledgment sent {"connection_id":143980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:58:38] local.INFO: TCP Data received {"connection_id":145266,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa277e410012d7f9d0005afd2f0000000ab28..."} 
[2026-07-27 12:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa277e410012d7f9d0005afd2f0000000ab28..."} 
[2026-07-27 12:58:38] local.INFO: Processing buffer {"connection_id":145266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa277e410012d7f9d0005afd2f0000000ab28..."} 
[2026-07-27 12:58:38] local.INFO: Packet analysis {"connection_id":145266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa277"} 
[2026-07-27 12:58:38] local.INFO: Extracted packet for processing {"connection_id":145266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa277"} 
[2026-07-27 12:58:38] local.INFO: GPS Element Parsed {"raw_longitude":763337984,"raw_latitude":95408880,"longitude_deg":76.3337984,"latitude_deg":9.540888,"altitude":0,"angle":171,"satellites":40,"speed":0,"hex_longitude":"2d7f9d00","hex_latitude":"05afd2f0","is_valid_coordinates":true} 
[2026-07-27 12:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:58:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995118336001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:58:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827088603512832,"note":"Value kept but may cause issues"} 
[2026-07-27 12:58:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195506038585094144,"note":"Value kept but may cause issues"} 
[2026-07-27 12:58:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:58:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785137194000,"timestamp_ms":1785137194000,"timestamp_seconds":1785137194,"priority":1,"record_length":96,"hex_timestamp":"0000019fa277e410"} 
[2026-07-27 12:58:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:58:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 12:58:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:58:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:58:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:58:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:58:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:58:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:58:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:58:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:58:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:58:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:58:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995118336001,"66":25419,"250":206,"85":12544,"24":0,"16":358827088603512832,"45":9195506038585094144},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 12:58:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:58:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:58:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995118336001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:58:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 12:58:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:58:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827088603512832,"km_value":358827088603512.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:58:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195506038585094144,"description":"Unknown IO ID 45"} 
[2026-07-27 12:58:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995118336001,"power":25419,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195506038585094144}} 
[2026-07-27 12:58:38] local.INFO: DEBUG: GPS processor result {"connection_id":145266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:58:38] local.INFO: GPS data processed {"connection_id":145266,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:58:38] local.INFO: Acknowledgment sent {"connection_id":145266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:59:00] local.INFO: TCP Data received {"connection_id":142983,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142983,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:59:00] local.INFO: Processing buffer {"connection_id":142983,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:59:00] local.INFO: IMEI packet received {"connection_id":142983,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 12:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":142983,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:59:05] local.INFO: TCP Data received {"connection_id":142983,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142983,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:59:05] local.INFO: Processing buffer {"connection_id":142983,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 12:59:05] local.INFO: IMEI packet received {"connection_id":142983,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 12:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":142983,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:59:06] local.INFO: TCP Data received {"connection_id":142983,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa278da28012d1967c0071fed900038011223..."} 
[2026-07-27 12:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa278da28012d1967c0071fed900038011223..."} 
[2026-07-27 12:59:06] local.INFO: Processing buffer {"connection_id":142983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa278da28012d1967c0071fed900038011223..."} 
[2026-07-27 12:59:06] local.INFO: Packet analysis {"connection_id":142983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa278"} 
[2026-07-27 12:59:06] local.INFO: Extracted packet for processing {"connection_id":142983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa278"} 
[2026-07-27 12:59:06] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532944,"longitude_deg":75.663968,"latitude_deg":11.9532944,"altitude":56,"angle":274,"satellites":35,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-07-27 12:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:59:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995132416001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:59:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8846258240225280,"note":"Value kept but may cause issues"} 
[2026-07-27 12:59:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382362624,"note":"Value kept but may cause issues"} 
[2026-07-27 12:59:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:59:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785137257000,"timestamp_ms":1785137257000,"timestamp_seconds":1785137257,"priority":1,"record_length":96,"hex_timestamp":"0000019fa278da28"} 
[2026-07-27 12:59:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:59:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-27 12:59:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:59:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:59:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:59:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:59:06] local.INFO: Teltonika packet parsed successfully {"connection_id":142983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:59:06] local.INFO: Passing IMEI to GPS processor {"connection_id":142983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:59:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":142983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:59:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:59:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:59:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:59:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995132416001,"66":12689,"121":206,"28":31744,"24":0,"16":8846258240225280,"45":1830642910382362624},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:59:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:59:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:59:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995132416001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:59:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:59:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:59:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8846258240225280,"km_value":8846258240225.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:59:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382362624,"description":"Unknown IO ID 45"} 
[2026-07-27 12:59:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995132416001,"power":12689,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382362624}} 
[2026-07-27 12:59:07] local.INFO: DEBUG: GPS processor result {"connection_id":142983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553198,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:59:07] local.INFO: GPS data processed {"connection_id":142983,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:59:07] local.INFO: Acknowledgment sent {"connection_id":142983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:59:09] local.INFO: TCP Data received {"connection_id":145266,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa277e410012d7f9d0005afd2f0000000ab28..."} 
[2026-07-27 12:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa277e410012d7f9d0005afd2f0000000ab28..."} 
[2026-07-27 12:59:09] local.INFO: Processing buffer {"connection_id":145266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa277e410012d7f9d0005afd2f0000000ab28..."} 
[2026-07-27 12:59:09] local.INFO: Packet analysis {"connection_id":145266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa277"} 
[2026-07-27 12:59:09] local.INFO: Extracted packet for processing {"connection_id":145266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa277"} 
[2026-07-27 12:59:09] local.INFO: GPS Element Parsed {"raw_longitude":763337984,"raw_latitude":95408880,"longitude_deg":76.3337984,"latitude_deg":9.540888,"altitude":0,"angle":171,"satellites":40,"speed":0,"hex_longitude":"2d7f9d00","hex_latitude":"05afd2f0","is_valid_coordinates":true} 
[2026-07-27 12:59:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:59:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995118336001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:59:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827088603512832,"note":"Value kept but may cause issues"} 
[2026-07-27 12:59:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195506038585094144,"note":"Value kept but may cause issues"} 
[2026-07-27 12:59:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:59:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785137194000,"timestamp_ms":1785137194000,"timestamp_seconds":1785137194,"priority":1,"record_length":96,"hex_timestamp":"0000019fa277e410"} 
[2026-07-27 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-07-27 12:59:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":118,"data_length":795,"current_offset":136} 
[2026-07-27 12:59:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 12:59:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:59:09] local.INFO: Teltonika packet parsed successfully {"connection_id":145266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:59:09] local.INFO: Passing IMEI to GPS processor {"connection_id":145266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:59:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":145266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:59: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-07-27 12:59:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:59:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:59:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995118336001,"66":25419,"250":206,"85":12544,"24":0,"16":358827088603512832,"45":9195506038585094144},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 12:59:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:59:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:59:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995118336001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:59:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 12:59:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:59:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827088603512832,"km_value":358827088603512.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:59:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195506038585094144,"description":"Unknown IO ID 45"} 
[2026-07-27 12:59:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995118336001,"power":25419,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195506038585094144}} 
[2026-07-27 12:59:09] local.INFO: DEBUG: GPS processor result {"connection_id":145266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:59:09] local.INFO: GPS data processed {"connection_id":145266,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:59:09] local.INFO: Acknowledgment sent {"connection_id":145266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:59:32] local.INFO: TCP Data received {"connection_id":143981,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:59:32] local.INFO: Processing buffer {"connection_id":143981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:59:32] local.INFO: IMEI packet received {"connection_id":143981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 12:59:32] local.INFO: IMEI acknowledgment sent {"connection_id":143981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 12:59:37] local.INFO: TCP Data received {"connection_id":143981,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:59:37] local.INFO: Processing buffer {"connection_id":143981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 12:59:37] local.INFO: IMEI packet received {"connection_id":143981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 12:59:37] local.INFO: IMEI acknowledgment sent {"connection_id":143981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 12:59:38] local.INFO: TCP Data received {"connection_id":142983,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2792c30012d1967c0071fed900038011226..."} 
[2026-07-27 12:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2792c30012d1967c0071fed900038011226..."} 
[2026-07-27 12:59:38] local.INFO: Processing buffer {"connection_id":142983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2792c30012d1967c0071fed900038011226..."} 
[2026-07-27 12:59:38] local.INFO: Packet analysis {"connection_id":142983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa279"} 
[2026-07-27 12:59:38] local.INFO: Extracted packet for processing {"connection_id":142983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa279"} 
[2026-07-27 12:59:38] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532944,"longitude_deg":75.663968,"latitude_deg":11.9532944,"altitude":56,"angle":274,"satellites":38,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-07-27 12:59:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:59:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995137792001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:59:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8846258240225280,"note":"Value kept but may cause issues"} 
[2026-07-27 12:59:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382362624,"note":"Value kept but may cause issues"} 
[2026-07-27 12:59:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:59:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785137278000,"timestamp_ms":1785137278000,"timestamp_seconds":1785137278,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2792c30"} 
[2026-07-27 12:59:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:59:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12:59:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-27 12:59:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:59:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:59:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:59:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:59:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:59:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:59:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 12:59:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:59:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 12:59:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 12:59:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995137792001,"66":12689,"121":206,"28":31744,"24":0,"16":8846258240225280,"45":1830642910382362624},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 12:59:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 12:59:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 12:59:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995137792001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:59:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 12:59:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 12:59:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8846258240225280,"km_value":8846258240225.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:59:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382362624,"description":"Unknown IO ID 45"} 
[2026-07-27 12:59:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995137792001,"power":12689,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382362624}} 
[2026-07-27 12:59:38] local.INFO: TCP Data received {"connection_id":143981,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa277e410012d7f9d0005afd2f0000000ab28..."} 
[2026-07-27 12:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa277e410012d7f9d0005afd2f0000000ab28..."} 
[2026-07-27 12:59:38] local.INFO: Processing buffer {"connection_id":143981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa277e410012d7f9d0005afd2f0000000ab28..."} 
[2026-07-27 12:59:38] local.INFO: Packet analysis {"connection_id":143981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa277"} 
[2026-07-27 12:59:38] local.INFO: Extracted packet for processing {"connection_id":143981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa277"} 
[2026-07-27 12:59:38] local.INFO: GPS Element Parsed {"raw_longitude":763337984,"raw_latitude":95408880,"longitude_deg":76.3337984,"latitude_deg":9.540888,"altitude":0,"angle":171,"satellites":40,"speed":0,"hex_longitude":"2d7f9d00","hex_latitude":"05afd2f0","is_valid_coordinates":true} 
[2026-07-27 12:59:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 12:59:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995118336001,"note":"Value kept but may cause issues"} 
[2026-07-27 12:59:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827088603512832,"note":"Value kept but may cause issues"} 
[2026-07-27 12:59:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195506038585094144,"note":"Value kept but may cause issues"} 
[2026-07-27 12:59:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 12:59:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785137194000,"timestamp_ms":1785137194000,"timestamp_seconds":1785137194,"priority":1,"record_length":96,"hex_timestamp":"0000019fa277e410"} 
[2026-07-27 12:59:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 12:59:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 12:59:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 12:59:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 12:59:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 12:59:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 12:59:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 12:59:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 12:59:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:59:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 12:59:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 12:59:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 12:59:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 12:59:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995118336001,"66":25419,"250":206,"85":12544,"24":0,"16":358827088603512832,"45":9195506038585094144},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 12:59:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 12:59:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 12:59:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995118336001,"description":"Unknown IO ID 0"} 
[2026-07-27 12:59:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 12:59:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 12:59:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827088603512832,"km_value":358827088603512.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 12:59:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195506038585094144,"description":"Unknown IO ID 45"} 
[2026-07-27 12:59:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995118336001,"power":25419,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195506038585094144}} 
[2026-07-27 12:59:38] local.INFO: DEBUG: GPS processor result {"connection_id":143981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:59:38] local.INFO: GPS data processed {"connection_id":143981,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:59:38] local.INFO: Acknowledgment sent {"connection_id":143981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 12:59:38] local.INFO: DEBUG: GPS processor result {"connection_id":142983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553201,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 12:59:38] local.INFO: GPS data processed {"connection_id":142983,"processed":1,"errors":0,"total":1} 
[2026-07-27 12:59:38] local.INFO: Acknowledgment sent {"connection_id":142983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:00:05] local.INFO: TCP Data received {"connection_id":142984,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142984,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:00:05] local.INFO: Processing buffer {"connection_id":142984,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:00:05] local.INFO: IMEI packet received {"connection_id":142984,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 13:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":142984,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 13:00:09] local.INFO: TCP Data received {"connection_id":143981,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa277e410012d7f9d0005afd2f0000000ab28..."} 
[2026-07-27 13:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa277e410012d7f9d0005afd2f0000000ab28..."} 
[2026-07-27 13:00:09] local.INFO: Processing buffer {"connection_id":143981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa277e410012d7f9d0005afd2f0000000ab28..."} 
[2026-07-27 13:00:09] local.INFO: Packet analysis {"connection_id":143981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa277"} 
[2026-07-27 13:00:09] local.INFO: Extracted packet for processing {"connection_id":143981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa277"} 
[2026-07-27 13:00:09] local.INFO: GPS Element Parsed {"raw_longitude":763337984,"raw_latitude":95408880,"longitude_deg":76.3337984,"latitude_deg":9.540888,"altitude":0,"angle":171,"satellites":40,"speed":0,"hex_longitude":"2d7f9d00","hex_latitude":"05afd2f0","is_valid_coordinates":true} 
[2026-07-27 13:00:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:00:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995118336001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:00:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827088603512832,"note":"Value kept but may cause issues"} 
[2026-07-27 13:00:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195506038585094144,"note":"Value kept but may cause issues"} 
[2026-07-27 13:00:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:00:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785137194000,"timestamp_ms":1785137194000,"timestamp_seconds":1785137194,"priority":1,"record_length":96,"hex_timestamp":"0000019fa277e410"} 
[2026-07-27 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-07-27 13:00:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":118,"data_length":795,"current_offset":136} 
[2026-07-27 13:00:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 13:00:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:00:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:00:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:00:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:00: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-07-27 13:00:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 13:00:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 13:00:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995118336001,"66":25419,"250":206,"85":12544,"24":0,"16":358827088603512832,"45":9195506038585094144},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 13:00:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 13:00:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 13:00:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995118336001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:00:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 13:00:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 13:00:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827088603512832,"km_value":358827088603512.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:00:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195506038585094144,"description":"Unknown IO ID 45"} 
[2026-07-27 13:00:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995118336001,"power":25419,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195506038585094144}} 
[2026-07-27 13:00:09] local.INFO: DEBUG: GPS processor result {"connection_id":143981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:00:09] local.INFO: GPS data processed {"connection_id":143981,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:00:09] local.INFO: Acknowledgment sent {"connection_id":143981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:00:10] local.INFO: TCP Data received {"connection_id":142984,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142984,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:00:10] local.INFO: Processing buffer {"connection_id":142984,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:00:10] local.INFO: IMEI packet received {"connection_id":142984,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 13:00:10] local.INFO: IMEI acknowledgment sent {"connection_id":142984,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:00:12] local.INFO: TCP Data received {"connection_id":142984,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2797e38012d1967c0071fed900038011229..."} 
[2026-07-27 13:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2797e38012d1967c0071fed900038011229..."} 
[2026-07-27 13:00:12] local.INFO: Processing buffer {"connection_id":142984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2797e38012d1967c0071fed900038011229..."} 
[2026-07-27 13:00:12] local.INFO: Packet analysis {"connection_id":142984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa279"} 
[2026-07-27 13:00:12] local.INFO: Extracted packet for processing {"connection_id":142984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa279"} 
[2026-07-27 13:00:12] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532944,"longitude_deg":75.663968,"latitude_deg":11.9532944,"altitude":56,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-07-27 13:00:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:00:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995143168001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:00:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8846258240225280,"note":"Value kept but may cause issues"} 
[2026-07-27 13:00:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382362624,"note":"Value kept but may cause issues"} 
[2026-07-27 13:00:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:00:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785137299000,"timestamp_ms":1785137299000,"timestamp_seconds":1785137299,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2797e38"} 
[2026-07-27 13:00:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:00:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:00:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-27 13:00:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:00:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:00:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:00:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:00:12] local.INFO: Teltonika packet parsed successfully {"connection_id":142984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:00:12] local.INFO: Passing IMEI to GPS processor {"connection_id":142984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:00:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":142984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:00:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:00:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 13:00:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 13:00:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995143168001,"66":12722,"121":206,"28":31744,"24":0,"16":8846258240225280,"45":1830642910382362624},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 13:00:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 13:00:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 13:00:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995143168001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:00:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 13:00:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 13:00:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8846258240225280,"km_value":8846258240225.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:00:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382362624,"description":"Unknown IO ID 45"} 
[2026-07-27 13:00:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995143168001,"power":12722,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382362624}} 
[2026-07-27 13:00:12] local.INFO: DEBUG: GPS processor result {"connection_id":142984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553203,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:00:12] local.INFO: GPS data processed {"connection_id":142984,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:00:12] local.INFO: Acknowledgment sent {"connection_id":142984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:00:15] local.INFO: TCP Data received {"connection_id":142984,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa279d040012d1967c0071fed900038011226..."} 
[2026-07-27 13:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa279d040012d1967c0071fed900038011226..."} 
[2026-07-27 13:00:15] local.INFO: Processing buffer {"connection_id":142984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa279d040012d1967c0071fed900038011226..."} 
[2026-07-27 13:00:15] local.INFO: Packet analysis {"connection_id":142984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa279"} 
[2026-07-27 13:00:15] local.INFO: Extracted packet for processing {"connection_id":142984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa279"} 
[2026-07-27 13:00:15] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532944,"longitude_deg":75.663968,"latitude_deg":11.9532944,"altitude":56,"angle":274,"satellites":38,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-07-27 13:00:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:00:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995148544001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:00:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8846258240225280,"note":"Value kept but may cause issues"} 
[2026-07-27 13:00:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382362624,"note":"Value kept but may cause issues"} 
[2026-07-27 13:00: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-07-27 13:00:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785137320000,"timestamp_ms":1785137320000,"timestamp_seconds":1785137320,"priority":1,"record_length":96,"hex_timestamp":"0000019fa279d040"} 
[2026-07-27 13:00:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:00:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:00:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-27 13:00:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:00:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:00:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:00:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:00:15] local.INFO: Teltonika packet parsed successfully {"connection_id":142984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:00:15] local.INFO: Passing IMEI to GPS processor {"connection_id":142984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:00:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":142984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:00:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:00:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 13:00:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 13:00:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995148544001,"66":12711,"121":206,"28":31744,"24":0,"16":8846258240225280,"45":1830642910382362624},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 13:00:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 13:00:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 13:00:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995148544001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:00:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 13:00:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 13:00:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8846258240225280,"km_value":8846258240225.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:00:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382362624,"description":"Unknown IO ID 45"} 
[2026-07-27 13:00:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995148544001,"power":12711,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382362624}} 
[2026-07-27 13:00:15] local.INFO: DEBUG: GPS processor result {"connection_id":142984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553204,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:00:15] local.INFO: GPS data processed {"connection_id":142984,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:00:15] local.INFO: Acknowledgment sent {"connection_id":142984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:00:32] local.INFO: TCP Data received {"connection_id":145267,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:00:32] local.INFO: Processing buffer {"connection_id":145267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:00:32] local.INFO: IMEI packet received {"connection_id":145267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 13:00:32] local.INFO: IMEI acknowledgment sent {"connection_id":145267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 13:00:37] local.INFO: TCP Data received {"connection_id":145267,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:00:37] local.INFO: Processing buffer {"connection_id":145267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:00:37] local.INFO: IMEI packet received {"connection_id":145267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 13:00:37] local.INFO: IMEI acknowledgment sent {"connection_id":145267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:00:38] local.INFO: TCP Data received {"connection_id":145267,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa277e410012d7f9d0005afd2f0000000ab28..."} 
[2026-07-27 13:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145267,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa277e410012d7f9d0005afd2f0000000ab28..."} 
[2026-07-27 13:00:38] local.INFO: Processing buffer {"connection_id":145267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa277e410012d7f9d0005afd2f0000000ab28..."} 
[2026-07-27 13:00:38] local.INFO: Packet analysis {"connection_id":145267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa277"} 
[2026-07-27 13:00:38] local.INFO: Extracted packet for processing {"connection_id":145267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa277"} 
[2026-07-27 13:00:38] local.INFO: GPS Element Parsed {"raw_longitude":763337984,"raw_latitude":95408880,"longitude_deg":76.3337984,"latitude_deg":9.540888,"altitude":0,"angle":171,"satellites":40,"speed":0,"hex_longitude":"2d7f9d00","hex_latitude":"05afd2f0","is_valid_coordinates":true} 
[2026-07-27 13:00:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:00:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995118336001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:00:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827088603512832,"note":"Value kept but may cause issues"} 
[2026-07-27 13:00:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195506038585094144,"note":"Value kept but may cause issues"} 
[2026-07-27 13:00:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:00:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785137194000,"timestamp_ms":1785137194000,"timestamp_seconds":1785137194,"priority":1,"record_length":96,"hex_timestamp":"0000019fa277e410"} 
[2026-07-27 13:00:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:00:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:00:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 13:00:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:00:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:00:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:00:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:00:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:00:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:00:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:00:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:00:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 13:00:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 13:00:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995118336001,"66":25419,"250":206,"85":12544,"24":0,"16":358827088603512832,"45":9195506038585094144},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 13:00:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 13:00:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 13:00:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995118336001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:00:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 13:00:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 13:00:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827088603512832,"km_value":358827088603512.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:00:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195506038585094144,"description":"Unknown IO ID 45"} 
[2026-07-27 13:00:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995118336001,"power":25419,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195506038585094144}} 
[2026-07-27 13:00:38] local.INFO: DEBUG: GPS processor result {"connection_id":145267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:00:38] local.INFO: GPS data processed {"connection_id":145267,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:00:38] local.INFO: Acknowledgment sent {"connection_id":145267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:01:00] local.INFO: TCP Data received {"connection_id":142854,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142854,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:01:00] local.INFO: Processing buffer {"connection_id":142854,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:01:00] local.INFO: IMEI packet received {"connection_id":142854,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 13:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":142854,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 13:01:03] local.INFO: TCP Data received {"connection_id":142854,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142854,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:01:03] local.INFO: Processing buffer {"connection_id":142854,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:01:03] local.INFO: IMEI packet received {"connection_id":142854,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 13:01:03] local.INFO: IMEI acknowledgment sent {"connection_id":142854,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:01:05] local.INFO: TCP Data received {"connection_id":142854,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa27a2248012d1967c0071fed900038011228..."} 
[2026-07-27 13:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa27a2248012d1967c0071fed900038011228..."} 
[2026-07-27 13:01:05] local.INFO: Processing buffer {"connection_id":142854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa27a2248012d1967c0071fed900038011228..."} 
[2026-07-27 13:01:05] local.INFO: Packet analysis {"connection_id":142854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa27a"} 
[2026-07-27 13:01:05] local.INFO: Extracted packet for processing {"connection_id":142854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa27a"} 
[2026-07-27 13:01:05] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532944,"longitude_deg":75.663968,"latitude_deg":11.9532944,"altitude":56,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-07-27 13:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:01:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995153920001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:01:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8846258240225280,"note":"Value kept but may cause issues"} 
[2026-07-27 13:01:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382362624,"note":"Value kept but may cause issues"} 
[2026-07-27 13:01:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:01:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785137341000,"timestamp_ms":1785137341000,"timestamp_seconds":1785137341,"priority":1,"record_length":96,"hex_timestamp":"0000019fa27a2248"} 
[2026-07-27 13:01:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:01:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-07-27 13:01:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:01:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:01:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:01:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:01:05] local.INFO: Teltonika packet parsed successfully {"connection_id":142854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:01:05] local.INFO: Passing IMEI to GPS processor {"connection_id":142854,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:01:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":142854,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:01:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:01:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 13:01:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 13:01:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995153920001,"66":12667,"121":206,"28":31744,"24":0,"16":8846258240225280,"45":1830642910382362624},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 13:01:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 13:01:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 13:01:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995153920001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:01:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 13:01:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 13:01:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8846258240225280,"km_value":8846258240225.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:01:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382362624,"description":"Unknown IO ID 45"} 
[2026-07-27 13:01:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995153920001,"power":12667,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382362624}} 
[2026-07-27 13:01:05] local.INFO: DEBUG: GPS processor result {"connection_id":142854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553206,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:01:05] local.INFO: GPS data processed {"connection_id":142854,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:01:05] local.INFO: Acknowledgment sent {"connection_id":142854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:01:10] local.INFO: TCP Data received {"connection_id":145267,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa277e410012d7f9d0005afd2f0000000ab28..."} 
[2026-07-27 13:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145267,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa277e410012d7f9d0005afd2f0000000ab28..."} 
[2026-07-27 13:01:10] local.INFO: Processing buffer {"connection_id":145267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa277e410012d7f9d0005afd2f0000000ab28..."} 
[2026-07-27 13:01:10] local.INFO: Packet analysis {"connection_id":145267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa277"} 
[2026-07-27 13:01:10] local.INFO: Extracted packet for processing {"connection_id":145267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa277"} 
[2026-07-27 13:01:10] local.INFO: GPS Element Parsed {"raw_longitude":763337984,"raw_latitude":95408880,"longitude_deg":76.3337984,"latitude_deg":9.540888,"altitude":0,"angle":171,"satellites":40,"speed":0,"hex_longitude":"2d7f9d00","hex_latitude":"05afd2f0","is_valid_coordinates":true} 
[2026-07-27 13:01:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:01:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995118336001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:01:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827088603512832,"note":"Value kept but may cause issues"} 
[2026-07-27 13:01:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195506038585094144,"note":"Value kept but may cause issues"} 
[2026-07-27 13:01:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:01:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785137194000,"timestamp_ms":1785137194000,"timestamp_seconds":1785137194,"priority":1,"record_length":96,"hex_timestamp":"0000019fa277e410"} 
[2026-07-27 13:01:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:01:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13: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":118,"data_length":795,"current_offset":136} 
[2026-07-27 13:01:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:01:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:01:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:01:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:01:10] local.INFO: Teltonika packet parsed successfully {"connection_id":145267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:01:10] local.INFO: Passing IMEI to GPS processor {"connection_id":145267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:01:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":145267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:01: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-07-27 13:01:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 13:01:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 13:01:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995118336001,"66":25419,"250":206,"85":12544,"24":0,"16":358827088603512832,"45":9195506038585094144},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 13:01:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 13:01:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 13:01:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995118336001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:01:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 13:01:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 13:01:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827088603512832,"km_value":358827088603512.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:01:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195506038585094144,"description":"Unknown IO ID 45"} 
[2026-07-27 13:01:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995118336001,"power":25419,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195506038585094144}} 
[2026-07-27 13:01:10] local.INFO: DEBUG: GPS processor result {"connection_id":145267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:01:10] local.INFO: GPS data processed {"connection_id":145267,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:01:10] local.INFO: Acknowledgment sent {"connection_id":145267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:01:32] local.INFO: TCP Data received {"connection_id":142985,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:01:32] local.INFO: Processing buffer {"connection_id":142985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:01:32] local.INFO: IMEI packet received {"connection_id":142985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 13:01:32] local.INFO: IMEI acknowledgment sent {"connection_id":142985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 13:01:37] local.INFO: TCP Data received {"connection_id":142854,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa27a7450012d1967c0071fed900038011229..."} 
[2026-07-27 13:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa27a7450012d1967c0071fed900038011229..."} 
[2026-07-27 13:01:37] local.INFO: Processing buffer {"connection_id":142854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa27a7450012d1967c0071fed900038011229..."} 
[2026-07-27 13:01:37] local.INFO: Packet analysis {"connection_id":142854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa27a"} 
[2026-07-27 13:01:37] local.INFO: Extracted packet for processing {"connection_id":142854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa27a"} 
[2026-07-27 13:01:37] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532944,"longitude_deg":75.663968,"latitude_deg":11.9532944,"altitude":56,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-07-27 13:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995159296001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8846258240225280,"note":"Value kept but may cause issues"} 
[2026-07-27 13:01:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382362624,"note":"Value kept but may cause issues"} 
[2026-07-27 13:01:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785137362000,"timestamp_ms":1785137362000,"timestamp_seconds":1785137362,"priority":1,"record_length":96,"hex_timestamp":"0000019fa27a7450"} 
[2026-07-27 13:01:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:01:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-07-27 13:01:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:01:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:01:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":142854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":142854,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":142854,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:01:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 13:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 13:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995159296001,"66":12667,"121":206,"28":31744,"24":0,"16":8846258240225280,"45":1830642910382362624},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 13:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 13:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 13:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995159296001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:01:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 13:01:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 13:01:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8846258240225280,"km_value":8846258240225.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:01:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382362624,"description":"Unknown IO ID 45"} 
[2026-07-27 13:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995159296001,"power":12667,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382362624}} 
[2026-07-27 13:01:37] local.INFO: DEBUG: GPS processor result {"connection_id":142854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553208,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:01:37] local.INFO: GPS data processed {"connection_id":142854,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:01:37] local.INFO: Acknowledgment sent {"connection_id":142854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:01:37] local.INFO: TCP Data received {"connection_id":142985,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:01:37] local.INFO: Processing buffer {"connection_id":142985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:01:37] local.INFO: IMEI packet received {"connection_id":142985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 13:01:37] local.INFO: IMEI acknowledgment sent {"connection_id":142985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:01:38] local.INFO: TCP Data received {"connection_id":142985,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa277e410012d7f9d0005afd2f0000000ab28..."} 
[2026-07-27 13:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142985,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa277e410012d7f9d0005afd2f0000000ab28..."} 
[2026-07-27 13:01:38] local.INFO: Processing buffer {"connection_id":142985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa277e410012d7f9d0005afd2f0000000ab28..."} 
[2026-07-27 13:01:38] local.INFO: Packet analysis {"connection_id":142985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa277"} 
[2026-07-27 13:01:38] local.INFO: Extracted packet for processing {"connection_id":142985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa277"} 
[2026-07-27 13:01:38] local.INFO: GPS Element Parsed {"raw_longitude":763337984,"raw_latitude":95408880,"longitude_deg":76.3337984,"latitude_deg":9.540888,"altitude":0,"angle":171,"satellites":40,"speed":0,"hex_longitude":"2d7f9d00","hex_latitude":"05afd2f0","is_valid_coordinates":true} 
[2026-07-27 13:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:01:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995118336001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:01:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827088603512832,"note":"Value kept but may cause issues"} 
[2026-07-27 13:01:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195506038585094144,"note":"Value kept but may cause issues"} 
[2026-07-27 13:01:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:01:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785137194000,"timestamp_ms":1785137194000,"timestamp_seconds":1785137194,"priority":1,"record_length":96,"hex_timestamp":"0000019fa277e410"} 
[2026-07-27 13:01:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:01:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 13:01:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:01:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:01:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:01:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:01:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:01:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:01:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:01:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:01:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 13:01:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 13:01:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995118336001,"66":25419,"250":206,"85":12544,"24":0,"16":358827088603512832,"45":9195506038585094144},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 13:01:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 13:01:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 13:01:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995118336001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:01:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 13:01:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 13:01:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827088603512832,"km_value":358827088603512.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:01:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195506038585094144,"description":"Unknown IO ID 45"} 
[2026-07-27 13:01:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995118336001,"power":25419,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195506038585094144}} 
[2026-07-27 13:01:38] local.INFO: DEBUG: GPS processor result {"connection_id":142985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:01:38] local.INFO: GPS data processed {"connection_id":142985,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:01:38] local.INFO: Acknowledgment sent {"connection_id":142985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:02:01] local.INFO: TCP Data received {"connection_id":142855,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142855,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:02:01] local.INFO: Processing buffer {"connection_id":142855,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:02:01] local.INFO: IMEI packet received {"connection_id":142855,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 13:02:01] local.INFO: IMEI acknowledgment sent {"connection_id":142855,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 13:02:05] local.INFO: TCP Data received {"connection_id":142855,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142855,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:02:05] local.INFO: Processing buffer {"connection_id":142855,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:02:05] local.INFO: IMEI packet received {"connection_id":142855,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 13:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":142855,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:02:07] local.INFO: TCP Data received {"connection_id":142855,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa27ac658012d1967c0071fed900038011225..."} 
[2026-07-27 13:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142855,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa27ac658012d1967c0071fed900038011225..."} 
[2026-07-27 13:02:07] local.INFO: Processing buffer {"connection_id":142855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa27ac658012d1967c0071fed900038011225..."} 
[2026-07-27 13:02:07] local.INFO: Packet analysis {"connection_id":142855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa27a"} 
[2026-07-27 13:02:07] local.INFO: Extracted packet for processing {"connection_id":142855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa27a"} 
[2026-07-27 13:02:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532944,"longitude_deg":75.663968,"latitude_deg":11.9532944,"altitude":56,"angle":274,"satellites":37,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-07-27 13:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:02:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995164672001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:02:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8846258240225280,"note":"Value kept but may cause issues"} 
[2026-07-27 13:02:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382362624,"note":"Value kept but may cause issues"} 
[2026-07-27 13:02:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:02:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785137383000,"timestamp_ms":1785137383000,"timestamp_seconds":1785137383,"priority":1,"record_length":96,"hex_timestamp":"0000019fa27ac658"} 
[2026-07-27 13:02:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:02:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-07-27 13:02:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:02:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:02:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:02:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:02:07] local.INFO: Teltonika packet parsed successfully {"connection_id":142855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:02:07] local.INFO: Passing IMEI to GPS processor {"connection_id":142855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:02:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":142855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:02:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:02:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 13:02:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 13:02:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995164672001,"66":12667,"121":206,"28":31744,"24":0,"16":8846258240225280,"45":1830642910382362624},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 13:02:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 13:02:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 13:02:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995164672001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:02:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 13:02:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 13:02:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8846258240225280,"km_value":8846258240225.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:02:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382362624,"description":"Unknown IO ID 45"} 
[2026-07-27 13:02:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995164672001,"power":12667,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382362624}} 
[2026-07-27 13:02:07] local.INFO: DEBUG: GPS processor result {"connection_id":142855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553210,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:02:07] local.INFO: GPS data processed {"connection_id":142855,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:02:07] local.INFO: Acknowledgment sent {"connection_id":142855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:02:09] local.INFO: TCP Data received {"connection_id":142985,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa277e410012d7f9d0005afd2f0000000ab28..."} 
[2026-07-27 13:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142985,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa277e410012d7f9d0005afd2f0000000ab28..."} 
[2026-07-27 13:02:09] local.INFO: Processing buffer {"connection_id":142985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa277e410012d7f9d0005afd2f0000000ab28..."} 
[2026-07-27 13:02:09] local.INFO: Packet analysis {"connection_id":142985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa277"} 
[2026-07-27 13:02:09] local.INFO: Extracted packet for processing {"connection_id":142985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa277"} 
[2026-07-27 13:02:09] local.INFO: GPS Element Parsed {"raw_longitude":763337984,"raw_latitude":95408880,"longitude_deg":76.3337984,"latitude_deg":9.540888,"altitude":0,"angle":171,"satellites":40,"speed":0,"hex_longitude":"2d7f9d00","hex_latitude":"05afd2f0","is_valid_coordinates":true} 
[2026-07-27 13:02:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:02:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995118336001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:02:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827088603512832,"note":"Value kept but may cause issues"} 
[2026-07-27 13:02:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195506038585094144,"note":"Value kept but may cause issues"} 
[2026-07-27 13:02:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:02:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785137194000,"timestamp_ms":1785137194000,"timestamp_seconds":1785137194,"priority":1,"record_length":96,"hex_timestamp":"0000019fa277e410"} 
[2026-07-27 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-07-27 13:02:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":118,"data_length":795,"current_offset":136} 
[2026-07-27 13:02:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 13:02:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:02:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:02:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:02:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:02: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-07-27 13:02:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 13:02:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 13:02:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995118336001,"66":25419,"250":206,"85":12544,"24":0,"16":358827088603512832,"45":9195506038585094144},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 13:02:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 13:02:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 13:02:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995118336001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:02:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 13:02:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 13:02:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827088603512832,"km_value":358827088603512.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:02:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195506038585094144,"description":"Unknown IO ID 45"} 
[2026-07-27 13:02:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995118336001,"power":25419,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195506038585094144}} 
[2026-07-27 13:02:09] local.INFO: DEBUG: GPS processor result {"connection_id":142985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:02:09] local.INFO: GPS data processed {"connection_id":142985,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:02:09] local.INFO: Acknowledgment sent {"connection_id":142985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:02:37] local.INFO: TCP Data received {"connection_id":142986,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:02:37] local.INFO: Processing buffer {"connection_id":142986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:02:37] local.INFO: IMEI packet received {"connection_id":142986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 13:02:37] local.INFO: IMEI acknowledgment sent {"connection_id":142986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 13:02:39] local.INFO: TCP Data received {"connection_id":142855,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa27b1860012d1967c0071fed900038011229..."} 
[2026-07-27 13:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142855,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa27b1860012d1967c0071fed900038011229..."} 
[2026-07-27 13:02:39] local.INFO: Processing buffer {"connection_id":142855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa27b1860012d1967c0071fed900038011229..."} 
[2026-07-27 13:02:39] local.INFO: Packet analysis {"connection_id":142855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa27b"} 
[2026-07-27 13:02:39] local.INFO: Extracted packet for processing {"connection_id":142855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa27b"} 
[2026-07-27 13:02:39] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532944,"longitude_deg":75.663968,"latitude_deg":11.9532944,"altitude":56,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-07-27 13:02:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:02:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995170048001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:02:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8846258240225280,"note":"Value kept but may cause issues"} 
[2026-07-27 13:02:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382362624,"note":"Value kept but may cause issues"} 
[2026-07-27 13:02:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:02:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785137404000,"timestamp_ms":1785137404000,"timestamp_seconds":1785137404,"priority":1,"record_length":96,"hex_timestamp":"0000019fa27b1860"} 
[2026-07-27 13:02:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:02:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-07-27 13:02:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:02:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:02:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:02:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:02:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:02:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:02:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:02:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:02:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 13:02:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 13:02:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995170048001,"66":12689,"121":206,"28":31744,"24":0,"16":8846258240225280,"45":1830642910382362624},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 13:02:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 13:02:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 13:02:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995170048001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:02:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 13:02:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 13:02:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8846258240225280,"km_value":8846258240225.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:02:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382362624,"description":"Unknown IO ID 45"} 
[2026-07-27 13:02:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995170048001,"power":12689,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382362624}} 
[2026-07-27 13:02:39] local.INFO: DEBUG: GPS processor result {"connection_id":142855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553212,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:02:39] local.INFO: GPS data processed {"connection_id":142855,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:02:39] local.INFO: Acknowledgment sent {"connection_id":142855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:02:43] local.INFO: TCP Data received {"connection_id":142986,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:02:43] local.INFO: Processing buffer {"connection_id":142986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:02:43] local.INFO: IMEI packet received {"connection_id":142986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 13:02:43] local.INFO: IMEI acknowledgment sent {"connection_id":142986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:02:43] local.INFO: TCP Data received {"connection_id":142986,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa27c8f60012d7f9c4005afd318000000ab2a..."} 
[2026-07-27 13:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa27c8f60012d7f9c4005afd318000000ab2a..."} 
[2026-07-27 13:02:43] local.INFO: Processing buffer {"connection_id":142986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa27c8f60012d7f9c4005afd318000000ab2a..."} 
[2026-07-27 13:02:43] local.INFO: Packet analysis {"connection_id":142986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa27c"} 
[2026-07-27 13:02:43] local.INFO: Extracted packet for processing {"connection_id":142986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa27c"} 
[2026-07-27 13:02:43] local.INFO: GPS Element Parsed {"raw_longitude":763337792,"raw_latitude":95408920,"longitude_deg":76.3337792,"latitude_deg":9.540892,"altitude":0,"angle":171,"satellites":42,"speed":0,"hex_longitude":"2d7f9c40","hex_latitude":"05afd318","is_valid_coordinates":true} 
[2026-07-27 13:02:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:02:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995121664001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:02:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827088603512832,"note":"Value kept but may cause issues"} 
[2026-07-27 13:02:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195506038585094144,"note":"Value kept but may cause issues"} 
[2026-07-27 13:02:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:02:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785137500000,"timestamp_ms":1785137500000,"timestamp_seconds":1785137500,"priority":1,"record_length":96,"hex_timestamp":"0000019fa27c8f60"} 
[2026-07-27 13:02:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:02:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 13:02:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-27 13:02: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-07-27 13:02:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:02:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:02:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:02:43] local.INFO: Teltonika packet parsed successfully {"connection_id":142986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:02:43] local.INFO: Passing IMEI to GPS processor {"connection_id":142986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:02:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":142986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:02: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-07-27 13:02:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 13:02:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 13:02:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995121664001,"66":25549,"27":206,"85":12544,"24":0,"16":358827088603512832,"45":9195506038585094144},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 13:02:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 13:02:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 13:02:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995121664001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:02:43] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 13:02:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 13:02:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827088603512832,"km_value":358827088603512.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:02:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195506038585094144,"description":"Unknown IO ID 45"} 
[2026-07-27 13:02:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995121664001,"power":25549,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195506038585094144}} 
[2026-07-27 13:02:43] local.INFO: DEBUG: GPS processor result {"connection_id":142986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:02:43] local.INFO: GPS data processed {"connection_id":142986,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:02:43] local.INFO: Acknowledgment sent {"connection_id":142986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:03:00] local.INFO: TCP Data received {"connection_id":142987,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142987,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:03:00] local.INFO: Processing buffer {"connection_id":142987,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:03:00] local.INFO: IMEI packet received {"connection_id":142987,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 13:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":142987,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 13:03:05] local.INFO: TCP Data received {"connection_id":142987,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142987,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:03:05] local.INFO: Processing buffer {"connection_id":142987,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:03:05] local.INFO: IMEI packet received {"connection_id":142987,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 13:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":142987,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:03:07] local.INFO: TCP Data received {"connection_id":142987,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa27b6a68012d1967c0071fed900038011229..."} 
[2026-07-27 13:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142987,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa27b6a68012d1967c0071fed900038011229..."} 
[2026-07-27 13:03:07] local.INFO: Processing buffer {"connection_id":142987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa27b6a68012d1967c0071fed900038011229..."} 
[2026-07-27 13:03:07] local.INFO: Packet analysis {"connection_id":142987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa27b"} 
[2026-07-27 13:03:07] local.INFO: Extracted packet for processing {"connection_id":142987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa27b"} 
[2026-07-27 13:03:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532944,"longitude_deg":75.663968,"latitude_deg":11.9532944,"altitude":56,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-07-27 13:03:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:03:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995175424001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:03:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8846258240225280,"note":"Value kept but may cause issues"} 
[2026-07-27 13:03:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382362624,"note":"Value kept but may cause issues"} 
[2026-07-27 13:03:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:03:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785137425000,"timestamp_ms":1785137425000,"timestamp_seconds":1785137425,"priority":1,"record_length":96,"hex_timestamp":"0000019fa27b6a68"} 
[2026-07-27 13:03:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:03:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:03:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-27 13:03:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:03:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:03:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:03:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:03:07] local.INFO: Teltonika packet parsed successfully {"connection_id":142987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:03:07] local.INFO: Passing IMEI to GPS processor {"connection_id":142987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:03:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":142987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:03:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:03:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 13:03:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 13:03:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995175424001,"66":12678,"121":206,"28":31744,"24":0,"16":8846258240225280,"45":1830642910382362624},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 13:03:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 13:03:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 13:03:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995175424001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:03:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 13:03:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 13:03:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8846258240225280,"km_value":8846258240225.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:03:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382362624,"description":"Unknown IO ID 45"} 
[2026-07-27 13:03:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995175424001,"power":12678,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382362624}} 
[2026-07-27 13:03:07] local.INFO: DEBUG: GPS processor result {"connection_id":142987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553214,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:03:07] local.INFO: GPS data processed {"connection_id":142987,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:03:07] local.INFO: Acknowledgment sent {"connection_id":142987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:03:14] local.INFO: TCP Data received {"connection_id":142986,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa27c8f60012d7f9c4005afd318000000ab2a..."} 
[2026-07-27 13:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa27c8f60012d7f9c4005afd318000000ab2a..."} 
[2026-07-27 13:03:14] local.INFO: Processing buffer {"connection_id":142986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa27c8f60012d7f9c4005afd318000000ab2a..."} 
[2026-07-27 13:03:14] local.INFO: Packet analysis {"connection_id":142986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa27c"} 
[2026-07-27 13:03:14] local.INFO: Extracted packet for processing {"connection_id":142986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa27c"} 
[2026-07-27 13:03:14] local.INFO: GPS Element Parsed {"raw_longitude":763337792,"raw_latitude":95408920,"longitude_deg":76.3337792,"latitude_deg":9.540892,"altitude":0,"angle":171,"satellites":42,"speed":0,"hex_longitude":"2d7f9c40","hex_latitude":"05afd318","is_valid_coordinates":true} 
[2026-07-27 13: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-07-27 13:03:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995121664001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:03:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827088603512832,"note":"Value kept but may cause issues"} 
[2026-07-27 13:03:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195506038585094144,"note":"Value kept but may cause issues"} 
[2026-07-27 13:03:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:03:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785137500000,"timestamp_ms":1785137500000,"timestamp_seconds":1785137500,"priority":1,"record_length":96,"hex_timestamp":"0000019fa27c8f60"} 
[2026-07-27 13:03:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:03:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 13: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":75,"data_length":795,"current_offset":136} 
[2026-07-27 13:03: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-07-27 13: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-07-27 13:03:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:03:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:03:14] local.INFO: Teltonika packet parsed successfully {"connection_id":142986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:03:14] local.INFO: Passing IMEI to GPS processor {"connection_id":142986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:03:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":142986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:03: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-07-27 13:03:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 13:03:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 13:03:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995121664001,"66":25549,"27":206,"85":12544,"24":0,"16":358827088603512832,"45":9195506038585094144},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 13:03:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 13:03:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 13:03:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995121664001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:03:14] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 13:03:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 13:03:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827088603512832,"km_value":358827088603512.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:03:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195506038585094144,"description":"Unknown IO ID 45"} 
[2026-07-27 13:03:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995121664001,"power":25549,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195506038585094144}} 
[2026-07-27 13:03:14] local.INFO: DEBUG: GPS processor result {"connection_id":142986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:03:14] local.INFO: GPS data processed {"connection_id":142986,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:03:14] local.INFO: Acknowledgment sent {"connection_id":142986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:03:32] local.INFO: TCP Data received {"connection_id":145268,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:03:32] local.INFO: Processing buffer {"connection_id":145268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:03:32] local.INFO: IMEI packet received {"connection_id":145268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 13:03:32] local.INFO: IMEI acknowledgment sent {"connection_id":145268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 13:03:37] local.INFO: TCP Data received {"connection_id":145268,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:03:37] local.INFO: Processing buffer {"connection_id":145268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:03:37] local.INFO: IMEI packet received {"connection_id":145268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 13:03:37] local.INFO: IMEI acknowledgment sent {"connection_id":145268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:03:38] local.INFO: TCP Data received {"connection_id":145268,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa27c8f60012d7f9c4005afd318000000ab2a..."} 
[2026-07-27 13:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa27c8f60012d7f9c4005afd318000000ab2a..."} 
[2026-07-27 13:03:38] local.INFO: Processing buffer {"connection_id":145268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa27c8f60012d7f9c4005afd318000000ab2a..."} 
[2026-07-27 13:03:38] local.INFO: Packet analysis {"connection_id":145268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa27c"} 
[2026-07-27 13:03:38] local.INFO: Extracted packet for processing {"connection_id":145268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa27c"} 
[2026-07-27 13:03:38] local.INFO: GPS Element Parsed {"raw_longitude":763337792,"raw_latitude":95408920,"longitude_deg":76.3337792,"latitude_deg":9.540892,"altitude":0,"angle":171,"satellites":42,"speed":0,"hex_longitude":"2d7f9c40","hex_latitude":"05afd318","is_valid_coordinates":true} 
[2026-07-27 13:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:03:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995121664001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:03:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827088603512832,"note":"Value kept but may cause issues"} 
[2026-07-27 13:03:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195506038585094144,"note":"Value kept but may cause issues"} 
[2026-07-27 13:03:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:03:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785137500000,"timestamp_ms":1785137500000,"timestamp_seconds":1785137500,"priority":1,"record_length":96,"hex_timestamp":"0000019fa27c8f60"} 
[2026-07-27 13:03:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:03:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 13:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-27 13:03: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-07-27 13:03:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:03:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:03:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:03:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:03:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:03:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:03:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:03:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 13:03:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 13:03:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995121664001,"66":25549,"27":206,"85":12544,"24":0,"16":358827088603512832,"45":9195506038585094144},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 13:03:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 13:03:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 13:03:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995121664001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:03:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 13:03:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 13:03:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827088603512832,"km_value":358827088603512.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:03:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195506038585094144,"description":"Unknown IO ID 45"} 
[2026-07-27 13:03:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995121664001,"power":25549,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195506038585094144}} 
[2026-07-27 13:03:38] local.INFO: DEBUG: GPS processor result {"connection_id":145268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:03:38] local.INFO: GPS data processed {"connection_id":145268,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:03:38] local.INFO: Acknowledgment sent {"connection_id":145268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:03:38] local.INFO: TCP Data received {"connection_id":142987,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa27bbc70012d1967c0071fed900038011228..."} 
[2026-07-27 13:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142987,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa27bbc70012d1967c0071fed900038011228..."} 
[2026-07-27 13:03:38] local.INFO: Processing buffer {"connection_id":142987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa27bbc70012d1967c0071fed900038011228..."} 
[2026-07-27 13:03:38] local.INFO: Packet analysis {"connection_id":142987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa27b"} 
[2026-07-27 13:03:38] local.INFO: Extracted packet for processing {"connection_id":142987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa27b"} 
[2026-07-27 13:03:38] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532944,"longitude_deg":75.663968,"latitude_deg":11.9532944,"altitude":56,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-07-27 13:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:03:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995180800001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:03:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8846258240225280,"note":"Value kept but may cause issues"} 
[2026-07-27 13:03:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382362624,"note":"Value kept but may cause issues"} 
[2026-07-27 13:03:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:03:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785137446000,"timestamp_ms":1785137446000,"timestamp_seconds":1785137446,"priority":1,"record_length":96,"hex_timestamp":"0000019fa27bbc70"} 
[2026-07-27 13:03:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:03:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-27 13:03:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:03:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:03:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:03:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:03:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:03:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:03:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:03:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:03:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 13:03:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 13:03:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995180800001,"66":12645,"121":206,"28":31744,"24":0,"16":8846258240225280,"45":1830642910382362624},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 13:03:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 13:03:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 13:03:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995180800001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:03:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 13:03:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 13:03:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8846258240225280,"km_value":8846258240225.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:03:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382362624,"description":"Unknown IO ID 45"} 
[2026-07-27 13:03:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995180800001,"power":12645,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382362624}} 
[2026-07-27 13:03:38] local.INFO: DEBUG: GPS processor result {"connection_id":142987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553217,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:03:38] local.INFO: GPS data processed {"connection_id":142987,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:03:38] local.INFO: Acknowledgment sent {"connection_id":142987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:04:00] local.INFO: TCP Data received {"connection_id":142856,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142856,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:04:00] local.INFO: Processing buffer {"connection_id":142856,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:04:00] local.INFO: IMEI packet received {"connection_id":142856,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 13:04:00] local.INFO: IMEI acknowledgment sent {"connection_id":142856,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 13:04:05] local.INFO: TCP Data received {"connection_id":142856,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142856,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:04:05] local.INFO: Processing buffer {"connection_id":142856,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:04:05] local.INFO: IMEI packet received {"connection_id":142856,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 13:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":142856,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:04:06] local.INFO: TCP Data received {"connection_id":142856,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa27c0e78012d1967c0071fed900038011227..."} 
[2026-07-27 13:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa27c0e78012d1967c0071fed900038011227..."} 
[2026-07-27 13:04:06] local.INFO: Processing buffer {"connection_id":142856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa27c0e78012d1967c0071fed900038011227..."} 
[2026-07-27 13:04:06] local.INFO: Packet analysis {"connection_id":142856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa27c"} 
[2026-07-27 13:04:06] local.INFO: Extracted packet for processing {"connection_id":142856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa27c"} 
[2026-07-27 13:04:06] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532944,"longitude_deg":75.663968,"latitude_deg":11.9532944,"altitude":56,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-07-27 13:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:04:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995186176001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:04:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8846258240225280,"note":"Value kept but may cause issues"} 
[2026-07-27 13:04:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382362624,"note":"Value kept but may cause issues"} 
[2026-07-27 13:04:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:04:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785137467000,"timestamp_ms":1785137467000,"timestamp_seconds":1785137467,"priority":1,"record_length":96,"hex_timestamp":"0000019fa27c0e78"} 
[2026-07-27 13:04:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:04:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-27 13:04:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:04:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:04:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:04:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:04:06] local.INFO: Teltonika packet parsed successfully {"connection_id":142856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:04:06] local.INFO: Passing IMEI to GPS processor {"connection_id":142856,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:04:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":142856,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:04:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:04:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 13:04:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 13:04:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995186176001,"66":12613,"121":206,"28":31744,"24":0,"16":8846258240225280,"45":1830642910382362624},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 13:04:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 13:04:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 13:04:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995186176001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:04:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 13:04:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 13:04:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8846258240225280,"km_value":8846258240225.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:04:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382362624,"description":"Unknown IO ID 45"} 
[2026-07-27 13:04:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995186176001,"power":12613,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382362624}} 
[2026-07-27 13:04:06] local.INFO: DEBUG: GPS processor result {"connection_id":142856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553218,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:04:06] local.INFO: GPS data processed {"connection_id":142856,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:04:06] local.INFO: Acknowledgment sent {"connection_id":142856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:04:09] local.INFO: TCP Data received {"connection_id":145268,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa27c8f60012d7f9c4005afd318000000ab2a..."} 
[2026-07-27 13:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa27c8f60012d7f9c4005afd318000000ab2a..."} 
[2026-07-27 13:04:09] local.INFO: Processing buffer {"connection_id":145268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa27c8f60012d7f9c4005afd318000000ab2a..."} 
[2026-07-27 13:04:09] local.INFO: Packet analysis {"connection_id":145268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa27c"} 
[2026-07-27 13:04:09] local.INFO: Extracted packet for processing {"connection_id":145268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa27c"} 
[2026-07-27 13:04:09] local.INFO: GPS Element Parsed {"raw_longitude":763337792,"raw_latitude":95408920,"longitude_deg":76.3337792,"latitude_deg":9.540892,"altitude":0,"angle":171,"satellites":42,"speed":0,"hex_longitude":"2d7f9c40","hex_latitude":"05afd318","is_valid_coordinates":true} 
[2026-07-27 13:04:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:04:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995121664001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:04:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827088603512832,"note":"Value kept but may cause issues"} 
[2026-07-27 13:04:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195506038585094144,"note":"Value kept but may cause issues"} 
[2026-07-27 13:04:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:04:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785137500000,"timestamp_ms":1785137500000,"timestamp_seconds":1785137500,"priority":1,"record_length":96,"hex_timestamp":"0000019fa27c8f60"} 
[2026-07-27 13:04:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:04:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":75,"data_length":795,"current_offset":136} 
[2026-07-27 13:04: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-07-27 13:04:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:04:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:04:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:04:09] local.INFO: Teltonika packet parsed successfully {"connection_id":145268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:04:09] local.INFO: Passing IMEI to GPS processor {"connection_id":145268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:04:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":145268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:04: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-07-27 13:04:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 13:04:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 13:04:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995121664001,"66":25549,"27":206,"85":12544,"24":0,"16":358827088603512832,"45":9195506038585094144},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 13:04:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 13:04:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 13:04:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995121664001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:04:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 13:04:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 13:04:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827088603512832,"km_value":358827088603512.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:04:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195506038585094144,"description":"Unknown IO ID 45"} 
[2026-07-27 13:04:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995121664001,"power":25549,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195506038585094144}} 
[2026-07-27 13:04:09] local.INFO: DEBUG: GPS processor result {"connection_id":145268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:04:09] local.INFO: GPS data processed {"connection_id":145268,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:04:09] local.INFO: Acknowledgment sent {"connection_id":145268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:04:32] local.INFO: TCP Data received {"connection_id":145269,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:04:32] local.INFO: Processing buffer {"connection_id":145269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:04:32] local.INFO: IMEI packet received {"connection_id":145269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 13:04:32] local.INFO: IMEI acknowledgment sent {"connection_id":145269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 13:04:37] local.INFO: TCP Data received {"connection_id":145269,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:04:37] local.INFO: Processing buffer {"connection_id":145269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:04:37] local.INFO: IMEI packet received {"connection_id":145269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 13:04:37] local.INFO: IMEI acknowledgment sent {"connection_id":145269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:04:38] local.INFO: TCP Data received {"connection_id":142856,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa27c6080012d1967c0071fed900038011227..."} 
[2026-07-27 13:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa27c6080012d1967c0071fed900038011227..."} 
[2026-07-27 13:04:38] local.INFO: Processing buffer {"connection_id":142856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa27c6080012d1967c0071fed900038011227..."} 
[2026-07-27 13:04:38] local.INFO: Packet analysis {"connection_id":142856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa27c"} 
[2026-07-27 13:04:38] local.INFO: Extracted packet for processing {"connection_id":142856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa27c"} 
[2026-07-27 13:04:38] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532944,"longitude_deg":75.663968,"latitude_deg":11.9532944,"altitude":56,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-07-27 13:04:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:04:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995191552001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:04:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8846258240225280,"note":"Value kept but may cause issues"} 
[2026-07-27 13:04:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382362624,"note":"Value kept but may cause issues"} 
[2026-07-27 13:04:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:04:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785137488000,"timestamp_ms":1785137488000,"timestamp_seconds":1785137488,"priority":1,"record_length":96,"hex_timestamp":"0000019fa27c6080"} 
[2026-07-27 13:04:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:04:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:04:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-27 13:04:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:04:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:04:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:04:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:04:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:04:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142856,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:04:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142856,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:04:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:04:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 13:04:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 13:04:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995191552001,"66":12645,"121":206,"28":31744,"24":0,"16":8846258240225280,"45":1830642910382362624},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 13:04:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 13:04:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 13:04:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995191552001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:04:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 13:04:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 13:04:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8846258240225280,"km_value":8846258240225.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:04:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382362624,"description":"Unknown IO ID 45"} 
[2026-07-27 13:04:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995191552001,"power":12645,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382362624}} 
[2026-07-27 13:04:38] local.INFO: DEBUG: GPS processor result {"connection_id":142856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553220,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:04:38] local.INFO: GPS data processed {"connection_id":142856,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:04:38] local.INFO: Acknowledgment sent {"connection_id":142856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:04:39] local.INFO: TCP Data received {"connection_id":145269,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa27c8f60012d7f9c4005afd318000000ab2a..."} 
[2026-07-27 13:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145269,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa27c8f60012d7f9c4005afd318000000ab2a..."} 
[2026-07-27 13:04:39] local.INFO: Processing buffer {"connection_id":145269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa27c8f60012d7f9c4005afd318000000ab2a..."} 
[2026-07-27 13:04:39] local.INFO: Packet analysis {"connection_id":145269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa27c"} 
[2026-07-27 13:04:39] local.INFO: Extracted packet for processing {"connection_id":145269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa27c"} 
[2026-07-27 13:04:39] local.INFO: GPS Element Parsed {"raw_longitude":763337792,"raw_latitude":95408920,"longitude_deg":76.3337792,"latitude_deg":9.540892,"altitude":0,"angle":171,"satellites":42,"speed":0,"hex_longitude":"2d7f9c40","hex_latitude":"05afd318","is_valid_coordinates":true} 
[2026-07-27 13:04:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:04:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995121664001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:04:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827088603512832,"note":"Value kept but may cause issues"} 
[2026-07-27 13:04:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195506038585094144,"note":"Value kept but may cause issues"} 
[2026-07-27 13:04:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:04:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785137500000,"timestamp_ms":1785137500000,"timestamp_seconds":1785137500,"priority":1,"record_length":96,"hex_timestamp":"0000019fa27c8f60"} 
[2026-07-27 13:04:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:04:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 13:04:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-27 13:04: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-07-27 13:04:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:04:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:04:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:04:39] local.INFO: Teltonika packet parsed successfully {"connection_id":145269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:04:39] local.INFO: Passing IMEI to GPS processor {"connection_id":145269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:04:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":145269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:04:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:04:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 13:04:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 13:04:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995121664001,"66":25549,"27":206,"85":12544,"24":0,"16":358827088603512832,"45":9195506038585094144},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 13:04:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 13:04:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 13:04:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995121664001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:04:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 13:04:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 13:04:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827088603512832,"km_value":358827088603512.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:04:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195506038585094144,"description":"Unknown IO ID 45"} 
[2026-07-27 13:04:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995121664001,"power":25549,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195506038585094144}} 
[2026-07-27 13:04:39] local.INFO: DEBUG: GPS processor result {"connection_id":145269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:04:39] local.INFO: GPS data processed {"connection_id":145269,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:04:39] local.INFO: Acknowledgment sent {"connection_id":145269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:05:00] local.INFO: TCP Data received {"connection_id":145270,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145270,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:05:00] local.INFO: Processing buffer {"connection_id":145270,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:05:00] local.INFO: IMEI packet received {"connection_id":145270,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 13:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":145270,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 13:05:05] local.INFO: TCP Data received {"connection_id":145270,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145270,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:05:05] local.INFO: Processing buffer {"connection_id":145270,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:05:05] local.INFO: IMEI packet received {"connection_id":145270,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 13:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":145270,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:05:06] local.INFO: TCP Data received {"connection_id":145270,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa27cb288012d1967c0071fed900038011227..."} 
[2026-07-27 13:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa27cb288012d1967c0071fed900038011227..."} 
[2026-07-27 13:05:06] local.INFO: Processing buffer {"connection_id":145270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa27cb288012d1967c0071fed900038011227..."} 
[2026-07-27 13:05:06] local.INFO: Packet analysis {"connection_id":145270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa27c"} 
[2026-07-27 13:05:06] local.INFO: Extracted packet for processing {"connection_id":145270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa27c"} 
[2026-07-27 13:05:06] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532944,"longitude_deg":75.663968,"latitude_deg":11.9532944,"altitude":56,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-07-27 13:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:05:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995196928001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:05:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8846258240225280,"note":"Value kept but may cause issues"} 
[2026-07-27 13:05:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382362624,"note":"Value kept but may cause issues"} 
[2026-07-27 13:05:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:05:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785137509000,"timestamp_ms":1785137509000,"timestamp_seconds":1785137509,"priority":1,"record_length":96,"hex_timestamp":"0000019fa27cb288"} 
[2026-07-27 13:05:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:05:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-27 13:05:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:05:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:05:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:05:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:05:06] local.INFO: Teltonika packet parsed successfully {"connection_id":145270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:05:06] local.INFO: Passing IMEI to GPS processor {"connection_id":145270,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:05:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":145270,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:05:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:05:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 13:05:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 13:05:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995196928001,"66":12580,"121":206,"28":31744,"24":0,"16":8846258240225280,"45":1830642910382362624},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 13:05:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 13:05:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 13:05:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995196928001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:05:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 13:05:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 13:05:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8846258240225280,"km_value":8846258240225.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:05:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382362624,"description":"Unknown IO ID 45"} 
[2026-07-27 13:05:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995196928001,"power":12580,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382362624}} 
[2026-07-27 13:05:07] local.INFO: DEBUG: GPS processor result {"connection_id":145270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553222,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:05:07] local.INFO: GPS data processed {"connection_id":145270,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:05:07] local.INFO: Acknowledgment sent {"connection_id":145270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:05:10] local.INFO: TCP Data received {"connection_id":145269,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa27c8f60012d7f9c4005afd318000000ab2a..."} 
[2026-07-27 13:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145269,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa27c8f60012d7f9c4005afd318000000ab2a..."} 
[2026-07-27 13:05:10] local.INFO: Processing buffer {"connection_id":145269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa27c8f60012d7f9c4005afd318000000ab2a..."} 
[2026-07-27 13:05:10] local.INFO: Packet analysis {"connection_id":145269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa27c"} 
[2026-07-27 13:05:10] local.INFO: Extracted packet for processing {"connection_id":145269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa27c"} 
[2026-07-27 13:05:10] local.INFO: GPS Element Parsed {"raw_longitude":763337792,"raw_latitude":95408920,"longitude_deg":76.3337792,"latitude_deg":9.540892,"altitude":0,"angle":171,"satellites":42,"speed":0,"hex_longitude":"2d7f9c40","hex_latitude":"05afd318","is_valid_coordinates":true} 
[2026-07-27 13:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:05:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995121664001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:05:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827088603512832,"note":"Value kept but may cause issues"} 
[2026-07-27 13:05:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195506038585094144,"note":"Value kept but may cause issues"} 
[2026-07-27 13:05:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:05:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785137500000,"timestamp_ms":1785137500000,"timestamp_seconds":1785137500,"priority":1,"record_length":96,"hex_timestamp":"0000019fa27c8f60"} 
[2026-07-27 13:05:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:05:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 13: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":75,"data_length":795,"current_offset":136} 
[2026-07-27 13:05: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-07-27 13:05:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:05:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:05:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:05:10] local.INFO: Teltonika packet parsed successfully {"connection_id":145269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:05:10] local.INFO: Passing IMEI to GPS processor {"connection_id":145269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:05:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":145269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:05: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-07-27 13:05:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 13:05:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 13:05:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995121664001,"66":25549,"27":206,"85":12544,"24":0,"16":358827088603512832,"45":9195506038585094144},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 13:05:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 13:05:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 13:05:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995121664001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:05:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 13:05:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 13:05:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827088603512832,"km_value":358827088603512.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:05:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195506038585094144,"description":"Unknown IO ID 45"} 
[2026-07-27 13:05:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995121664001,"power":25549,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195506038585094144}} 
[2026-07-27 13:05:10] local.INFO: DEBUG: GPS processor result {"connection_id":145269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:05:10] local.INFO: GPS data processed {"connection_id":145269,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:05:10] local.INFO: Acknowledgment sent {"connection_id":145269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:05:38] local.INFO: TCP Data received {"connection_id":145270,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa27d0490012d1967c0071fed900038011228..."} 
[2026-07-27 13:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa27d0490012d1967c0071fed900038011228..."} 
[2026-07-27 13:05:38] local.INFO: Processing buffer {"connection_id":145270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa27d0490012d1967c0071fed900038011228..."} 
[2026-07-27 13:05:38] local.INFO: Packet analysis {"connection_id":145270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa27d"} 
[2026-07-27 13:05:38] local.INFO: Extracted packet for processing {"connection_id":145270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa27d"} 
[2026-07-27 13:05:38] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532944,"longitude_deg":75.663968,"latitude_deg":11.9532944,"altitude":56,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-07-27 13:05:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:05:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995202304001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:05:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8846258240225280,"note":"Value kept but may cause issues"} 
[2026-07-27 13:05:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382362624,"note":"Value kept but may cause issues"} 
[2026-07-27 13:05:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:05:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785137530000,"timestamp_ms":1785137530000,"timestamp_seconds":1785137530,"priority":1,"record_length":96,"hex_timestamp":"0000019fa27d0490"} 
[2026-07-27 13:05:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:05:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:05:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-07-27 13:05:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:05:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:05:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:05:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:05:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:05:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145270,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:05:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145270,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:05:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:05:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 13:05:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 13:05:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995202304001,"66":12558,"121":206,"28":31744,"24":0,"16":8846258240225280,"45":1830642910382362624},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 13:05:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 13:05:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 13:05:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995202304001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:05:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 13:05:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 13:05:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8846258240225280,"km_value":8846258240225.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:05:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382362624,"description":"Unknown IO ID 45"} 
[2026-07-27 13:05:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995202304001,"power":12558,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382362624}} 
[2026-07-27 13:05:38] local.INFO: DEBUG: GPS processor result {"connection_id":145270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553224,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:05:38] local.INFO: GPS data processed {"connection_id":145270,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:05:38] local.INFO: Acknowledgment sent {"connection_id":145270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:05:38] local.INFO: TCP Data received {"connection_id":142988,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:05:38] local.INFO: Processing buffer {"connection_id":142988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:05:38] local.INFO: IMEI packet received {"connection_id":142988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 13:05:38] local.INFO: IMEI acknowledgment sent {"connection_id":142988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 13:05:42] local.INFO: TCP Data received {"connection_id":142988,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:05:42] local.INFO: Processing buffer {"connection_id":142988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:05:42] local.INFO: IMEI packet received {"connection_id":142988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 13:05:42] local.INFO: IMEI acknowledgment sent {"connection_id":142988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:05:43] local.INFO: TCP Data received {"connection_id":142988,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa27c8f60012d7f9c4005afd318000000ab2a..."} 
[2026-07-27 13:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa27c8f60012d7f9c4005afd318000000ab2a..."} 
[2026-07-27 13:05:43] local.INFO: Processing buffer {"connection_id":142988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa27c8f60012d7f9c4005afd318000000ab2a..."} 
[2026-07-27 13:05:43] local.INFO: Packet analysis {"connection_id":142988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa27c"} 
[2026-07-27 13:05:43] local.INFO: Extracted packet for processing {"connection_id":142988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa27c"} 
[2026-07-27 13:05:43] local.INFO: GPS Element Parsed {"raw_longitude":763337792,"raw_latitude":95408920,"longitude_deg":76.3337792,"latitude_deg":9.540892,"altitude":0,"angle":171,"satellites":42,"speed":0,"hex_longitude":"2d7f9c40","hex_latitude":"05afd318","is_valid_coordinates":true} 
[2026-07-27 13:05:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:05:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995121664001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:05:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827088603512832,"note":"Value kept but may cause issues"} 
[2026-07-27 13:05:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195506038585094144,"note":"Value kept but may cause issues"} 
[2026-07-27 13:05:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:05:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785137500000,"timestamp_ms":1785137500000,"timestamp_seconds":1785137500,"priority":1,"record_length":96,"hex_timestamp":"0000019fa27c8f60"} 
[2026-07-27 13:05:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:05:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 13:05:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-27 13:05: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-07-27 13:05:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:05:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:05:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:05:43] local.INFO: Teltonika packet parsed successfully {"connection_id":142988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:05:43] local.INFO: Passing IMEI to GPS processor {"connection_id":142988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:05:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":142988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:05: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-07-27 13:05:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 13:05:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 13:05:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995121664001,"66":25549,"27":206,"85":12544,"24":0,"16":358827088603512832,"45":9195506038585094144},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 13:05:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 13:05:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 13:05:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995121664001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:05:43] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 13:05:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 13:05:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827088603512832,"km_value":358827088603512.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:05:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195506038585094144,"description":"Unknown IO ID 45"} 
[2026-07-27 13:05:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995121664001,"power":25549,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195506038585094144}} 
[2026-07-27 13:05:43] local.INFO: DEBUG: GPS processor result {"connection_id":142988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:05:43] local.INFO: GPS data processed {"connection_id":142988,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:05:43] local.INFO: Acknowledgment sent {"connection_id":142988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:06:05] local.INFO: TCP Data received {"connection_id":142857,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142857,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:06:05] local.INFO: Processing buffer {"connection_id":142857,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:06:05] local.INFO: IMEI packet received {"connection_id":142857,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 13:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":142857,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 13:06:10] local.INFO: TCP Data received {"connection_id":142857,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142857,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:06:10] local.INFO: Processing buffer {"connection_id":142857,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:06:10] local.INFO: IMEI packet received {"connection_id":142857,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 13:06:10] local.INFO: IMEI acknowledgment sent {"connection_id":142857,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:06:11] local.INFO: TCP Data received {"connection_id":142857,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa27d5698012d1967c0071fed900038011228..."} 
[2026-07-27 13:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa27d5698012d1967c0071fed900038011228..."} 
[2026-07-27 13:06:11] local.INFO: Processing buffer {"connection_id":142857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa27d5698012d1967c0071fed900038011228..."} 
[2026-07-27 13:06:11] local.INFO: Packet analysis {"connection_id":142857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa27d"} 
[2026-07-27 13:06:11] local.INFO: Extracted packet for processing {"connection_id":142857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa27d"} 
[2026-07-27 13:06:11] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532944,"longitude_deg":75.663968,"latitude_deg":11.9532944,"altitude":56,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-07-27 13: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-07-27 13:06:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995207680001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:06:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8846258240225280,"note":"Value kept but may cause issues"} 
[2026-07-27 13:06:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382362624,"note":"Value kept but may cause issues"} 
[2026-07-27 13:06:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:06:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785137551000,"timestamp_ms":1785137551000,"timestamp_seconds":1785137551,"priority":1,"record_length":96,"hex_timestamp":"0000019fa27d5698"} 
[2026-07-27 13:06:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:06:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-07-27 13:06:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-07-27 13:06:11] local.WARNING: Large IO value detected {"io_id":109,"raw_value":2684354560,"note":"Value kept but may cause issues"} 
[2026-07-27 13:06:11] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2725976160,"note":"Value kept but may cause issues"} 
[2026-07-27 13:06:11] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249742680575438224,"note":"Value kept but may cause issues"} 
[2026-07-27 13:06:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-27 13:06:11] local.WARNING: Large IO value detected {"io_id":103,"raw_value":3221692397,"note":"Value kept but may cause issues"} 
[2026-07-27 13:06:11] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2248199655,"note":"Value kept but may cause issues"} 
[2026-07-27 13:06:11] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8719195500324067328,"note":"Value kept but may cause issues"} 
[2026-07-27 13:06:11] local.WARNING: Large IO value detected {"io_id":81,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-27 13:06:11] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-07-27 13:06:11] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,121,28,24,241,158,16,109,159,178,45,192,237,56,39,10,66,96,14,1,240,69,162,31,4,113,205,106,103,144,41,239,49,2,7,231,81,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-07-27 13:06:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035526704108666880,"timestamp_seconds":4035526704108667.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 13:06:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:06:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:06:11] local.INFO: Teltonika packet parsed successfully {"connection_id":142857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:06:11] local.INFO: Passing IMEI to GPS processor {"connection_id":142857,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:06:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":142857,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:06:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:06:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 13:06:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 13:06:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995207680001,"66":12537,"121":206,"28":31744,"24":0,"16":8846258240225280,"45":1830642910382362624},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 13:06:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 13:06:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 13:06:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995207680001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:06:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 13:06:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 13:06:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8846258240225280,"km_value":8846258240225.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:06:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382362624,"description":"Unknown IO ID 45"} 
[2026-07-27 13:06:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995207680001,"power":12537,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382362624}} 
[2026-07-27 13:06:12] local.INFO: DEBUG: GPS processor result {"connection_id":142857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553226,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:06:12] local.INFO: GPS data processed {"connection_id":142857,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:06:12] local.INFO: Acknowledgment sent {"connection_id":142857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:06:14] local.INFO: TCP Data received {"connection_id":142988,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa27c8f60012d7f9c4005afd318000000ab2a..."} 
[2026-07-27 13:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa27c8f60012d7f9c4005afd318000000ab2a..."} 
[2026-07-27 13:06:14] local.INFO: Processing buffer {"connection_id":142988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa27c8f60012d7f9c4005afd318000000ab2a..."} 
[2026-07-27 13:06:14] local.INFO: Packet analysis {"connection_id":142988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa27c"} 
[2026-07-27 13:06:14] local.INFO: Extracted packet for processing {"connection_id":142988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa27c"} 
[2026-07-27 13:06:14] local.INFO: GPS Element Parsed {"raw_longitude":763337792,"raw_latitude":95408920,"longitude_deg":76.3337792,"latitude_deg":9.540892,"altitude":0,"angle":171,"satellites":42,"speed":0,"hex_longitude":"2d7f9c40","hex_latitude":"05afd318","is_valid_coordinates":true} 
[2026-07-27 13:06:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:06:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995121664001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:06:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827088603512832,"note":"Value kept but may cause issues"} 
[2026-07-27 13:06:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195506038585094144,"note":"Value kept but may cause issues"} 
[2026-07-27 13:06:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:06:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785137500000,"timestamp_ms":1785137500000,"timestamp_seconds":1785137500,"priority":1,"record_length":96,"hex_timestamp":"0000019fa27c8f60"} 
[2026-07-27 13:06:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:06:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 13: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":75,"data_length":795,"current_offset":136} 
[2026-07-27 13:06: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-07-27 13:06:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:06:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:06:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:06:14] local.INFO: Teltonika packet parsed successfully {"connection_id":142988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:06:14] local.INFO: Passing IMEI to GPS processor {"connection_id":142988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:06:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":142988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:06: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-07-27 13:06:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 13:06:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 13:06:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995121664001,"66":25549,"27":206,"85":12544,"24":0,"16":358827088603512832,"45":9195506038585094144},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 13:06:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 13:06:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 13:06:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995121664001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:06:14] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 13:06:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 13:06:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827088603512832,"km_value":358827088603512.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:06:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195506038585094144,"description":"Unknown IO ID 45"} 
[2026-07-27 13:06:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995121664001,"power":25549,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195506038585094144}} 
[2026-07-27 13:06:14] local.INFO: DEBUG: GPS processor result {"connection_id":142988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:06:14] local.INFO: GPS data processed {"connection_id":142988,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:06:14] local.INFO: Acknowledgment sent {"connection_id":142988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:06:16] local.INFO: TCP Data received {"connection_id":142857,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa27da8a0012d1967c0071fed900038011229..."} 
[2026-07-27 13:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa27da8a0012d1967c0071fed900038011229..."} 
[2026-07-27 13:06:16] local.INFO: Processing buffer {"connection_id":142857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa27da8a0012d1967c0071fed900038011229..."} 
[2026-07-27 13:06:16] local.INFO: Packet analysis {"connection_id":142857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa27d"} 
[2026-07-27 13:06:16] local.INFO: Extracted packet for processing {"connection_id":142857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa27d"} 
[2026-07-27 13:06:16] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532944,"longitude_deg":75.663968,"latitude_deg":11.9532944,"altitude":56,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-07-27 13: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-07-27 13:06:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995213056001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:06:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8846258240225280,"note":"Value kept but may cause issues"} 
[2026-07-27 13:06:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382362624,"note":"Value kept but may cause issues"} 
[2026-07-27 13:06:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:06:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785137572000,"timestamp_ms":1785137572000,"timestamp_seconds":1785137572,"priority":1,"record_length":96,"hex_timestamp":"0000019fa27da8a0"} 
[2026-07-27 13:06:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:06:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:06:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-27 13:06:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13: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-07-27 13:06:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:06:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:06:16] local.INFO: Teltonika packet parsed successfully {"connection_id":142857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:06:16] local.INFO: Passing IMEI to GPS processor {"connection_id":142857,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:06:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":142857,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:06:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:06:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 13:06:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 13:06:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995213056001,"66":12591,"121":206,"28":31744,"24":0,"16":8846258240225280,"45":1830642910382362624},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 13:06:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 13:06:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 13:06:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995213056001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:06:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 13:06:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 13:06:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8846258240225280,"km_value":8846258240225.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:06:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382362624,"description":"Unknown IO ID 45"} 
[2026-07-27 13:06:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995213056001,"power":12591,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382362624}} 
[2026-07-27 13:06:16] local.INFO: DEBUG: GPS processor result {"connection_id":142857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553228,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:06:16] local.INFO: GPS data processed {"connection_id":142857,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:06:16] local.INFO: Acknowledgment sent {"connection_id":142857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:06:32] local.INFO: TCP Data received {"connection_id":143982,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:06:32] local.INFO: Processing buffer {"connection_id":143982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:06:32] local.INFO: IMEI packet received {"connection_id":143982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 13:06:32] local.INFO: IMEI acknowledgment sent {"connection_id":143982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 13:06:38] local.INFO: TCP Data received {"connection_id":143982,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:06:38] local.INFO: Processing buffer {"connection_id":143982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:06:38] local.INFO: IMEI packet received {"connection_id":143982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 13:06:38] local.INFO: IMEI acknowledgment sent {"connection_id":143982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:06:41] local.INFO: TCP Data received {"connection_id":143982,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa27c8f60012d7f9c4005afd318000000ab2a..."} 
[2026-07-27 13:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa27c8f60012d7f9c4005afd318000000ab2a..."} 
[2026-07-27 13:06:41] local.INFO: Processing buffer {"connection_id":143982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa27c8f60012d7f9c4005afd318000000ab2a..."} 
[2026-07-27 13:06:41] local.INFO: Packet analysis {"connection_id":143982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa27c"} 
[2026-07-27 13:06:41] local.INFO: Extracted packet for processing {"connection_id":143982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa27c"} 
[2026-07-27 13:06:41] local.INFO: GPS Element Parsed {"raw_longitude":763337792,"raw_latitude":95408920,"longitude_deg":76.3337792,"latitude_deg":9.540892,"altitude":0,"angle":171,"satellites":42,"speed":0,"hex_longitude":"2d7f9c40","hex_latitude":"05afd318","is_valid_coordinates":true} 
[2026-07-27 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-07-27 13:06:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995121664001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:06:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827088603512832,"note":"Value kept but may cause issues"} 
[2026-07-27 13:06:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195506038585094144,"note":"Value kept but may cause issues"} 
[2026-07-27 13:06:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:06:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785137500000,"timestamp_ms":1785137500000,"timestamp_seconds":1785137500,"priority":1,"record_length":96,"hex_timestamp":"0000019fa27c8f60"} 
[2026-07-27 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-07-27 13:06:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":75,"data_length":795,"current_offset":136} 
[2026-07-27 13: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-07-27 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-07-27 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-07-27 13:06:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:06:41] local.INFO: Teltonika packet parsed successfully {"connection_id":143982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:06:41] local.INFO: Passing IMEI to GPS processor {"connection_id":143982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:06:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":143982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:06: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-07-27 13:06:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 13:06:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 13:06:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995121664001,"66":25549,"27":206,"85":12544,"24":0,"16":358827088603512832,"45":9195506038585094144},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 13:06:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 13:06:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 13:06:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995121664001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:06:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 13:06:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 13:06:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827088603512832,"km_value":358827088603512.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:06:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195506038585094144,"description":"Unknown IO ID 45"} 
[2026-07-27 13:06:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995121664001,"power":25549,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195506038585094144}} 
[2026-07-27 13:06:41] local.INFO: DEBUG: GPS processor result {"connection_id":143982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:06:41] local.INFO: GPS data processed {"connection_id":143982,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:06:41] local.INFO: Acknowledgment sent {"connection_id":143982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:07:00] local.INFO: TCP Data received {"connection_id":145271,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145271,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:07:00] local.INFO: Processing buffer {"connection_id":145271,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:07:00] local.INFO: IMEI packet received {"connection_id":145271,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 13:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":145271,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 13:07:01] local.INFO: TCP Data received {"connection_id":145271,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145271,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:07:01] local.INFO: Processing buffer {"connection_id":145271,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:07:01] local.INFO: IMEI packet received {"connection_id":145271,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 13:07:01] local.INFO: IMEI acknowledgment sent {"connection_id":145271,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:07:05] local.INFO: TCP Data received {"connection_id":145271,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145271,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:07:05] local.INFO: Processing buffer {"connection_id":145271,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:07:05] local.INFO: IMEI packet received {"connection_id":145271,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 13:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":145271,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:07:06] local.INFO: TCP Data received {"connection_id":145271,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa27dfaa8012d1967c0071fed900038011226..."} 
[2026-07-27 13:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145271,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa27dfaa8012d1967c0071fed900038011226..."} 
[2026-07-27 13:07:06] local.INFO: Processing buffer {"connection_id":145271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa27dfaa8012d1967c0071fed900038011226..."} 
[2026-07-27 13:07:06] local.INFO: Packet analysis {"connection_id":145271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa27d"} 
[2026-07-27 13:07:06] local.INFO: Extracted packet for processing {"connection_id":145271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa27d"} 
[2026-07-27 13:07:06] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532944,"longitude_deg":75.663968,"latitude_deg":11.9532944,"altitude":56,"angle":274,"satellites":38,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-07-27 13:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:07:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995218432001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:07:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8846258240225280,"note":"Value kept but may cause issues"} 
[2026-07-27 13:07:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382362624,"note":"Value kept but may cause issues"} 
[2026-07-27 13:07:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:07:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785137593000,"timestamp_ms":1785137593000,"timestamp_seconds":1785137593,"priority":1,"record_length":96,"hex_timestamp":"0000019fa27dfaa8"} 
[2026-07-27 13:07:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:07:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-27 13:07:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:07:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:07:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:07:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:07:06] local.INFO: Teltonika packet parsed successfully {"connection_id":145271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:07:06] local.INFO: Passing IMEI to GPS processor {"connection_id":145271,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:07:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":145271,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:07:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:07:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 13:07:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 13:07:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995218432001,"66":12558,"121":206,"28":31744,"24":0,"16":8846258240225280,"45":1830642910382362624},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 13:07:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 13:07:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 13:07:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995218432001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:07:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 13:07:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 13:07:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8846258240225280,"km_value":8846258240225.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:07:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382362624,"description":"Unknown IO ID 45"} 
[2026-07-27 13:07:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995218432001,"power":12558,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382362624}} 
[2026-07-27 13:07:07] local.INFO: DEBUG: GPS processor result {"connection_id":145271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553230,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:07:07] local.INFO: GPS data processed {"connection_id":145271,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:07:07] local.INFO: Acknowledgment sent {"connection_id":145271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:07:12] local.INFO: TCP Data received {"connection_id":143982,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa27c8f60012d7f9c4005afd318000000ab2a..."} 
[2026-07-27 13:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa27c8f60012d7f9c4005afd318000000ab2a..."} 
[2026-07-27 13:07:12] local.INFO: Processing buffer {"connection_id":143982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa27c8f60012d7f9c4005afd318000000ab2a..."} 
[2026-07-27 13:07:12] local.INFO: Packet analysis {"connection_id":143982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa27c"} 
[2026-07-27 13:07:12] local.INFO: Extracted packet for processing {"connection_id":143982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa27c"} 
[2026-07-27 13:07:12] local.INFO: GPS Element Parsed {"raw_longitude":763337792,"raw_latitude":95408920,"longitude_deg":76.3337792,"latitude_deg":9.540892,"altitude":0,"angle":171,"satellites":42,"speed":0,"hex_longitude":"2d7f9c40","hex_latitude":"05afd318","is_valid_coordinates":true} 
[2026-07-27 13:07:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:07:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995121664001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:07:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827088603512832,"note":"Value kept but may cause issues"} 
[2026-07-27 13:07:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195506038585094144,"note":"Value kept but may cause issues"} 
[2026-07-27 13:07:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:07:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785137500000,"timestamp_ms":1785137500000,"timestamp_seconds":1785137500,"priority":1,"record_length":96,"hex_timestamp":"0000019fa27c8f60"} 
[2026-07-27 13:07:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:07:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 13:07:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-27 13:07: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-07-27 13:07:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:07:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:07:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:07:12] local.INFO: Teltonika packet parsed successfully {"connection_id":143982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:07:12] local.INFO: Passing IMEI to GPS processor {"connection_id":143982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:07:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":143982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:07:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:07:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 13:07:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 13:07:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995121664001,"66":25549,"27":206,"85":12544,"24":0,"16":358827088603512832,"45":9195506038585094144},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 13:07:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 13:07:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 13:07:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995121664001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:07:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 13:07:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 13:07:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827088603512832,"km_value":358827088603512.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:07:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195506038585094144,"description":"Unknown IO ID 45"} 
[2026-07-27 13:07:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995121664001,"power":25549,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195506038585094144}} 
[2026-07-27 13:07:12] local.INFO: DEBUG: GPS processor result {"connection_id":143982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:07:12] local.INFO: GPS data processed {"connection_id":143982,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:07:12] local.INFO: Acknowledgment sent {"connection_id":143982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:07:32] local.INFO: TCP Data received {"connection_id":143983,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:07:32] local.INFO: Processing buffer {"connection_id":143983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:07:32] local.INFO: IMEI packet received {"connection_id":143983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 13:07:32] local.INFO: IMEI acknowledgment sent {"connection_id":143983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 13:07:37] local.INFO: TCP Data received {"connection_id":143983,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:07:37] local.INFO: Processing buffer {"connection_id":143983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:07:37] local.INFO: IMEI packet received {"connection_id":143983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 13:07:37] local.INFO: IMEI acknowledgment sent {"connection_id":143983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:07:38] local.INFO: TCP Data received {"connection_id":143983,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2812728012d7f9c4005afd318000f00ab2b..."} 
[2026-07-27 13:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2812728012d7f9c4005afd318000f00ab2b..."} 
[2026-07-27 13:07:38] local.INFO: Processing buffer {"connection_id":143983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2812728012d7f9c4005afd318000f00ab2b..."} 
[2026-07-27 13:07:38] local.INFO: Packet analysis {"connection_id":143983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa281"} 
[2026-07-27 13:07:38] local.INFO: Extracted packet for processing {"connection_id":143983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa281"} 
[2026-07-27 13:07:38] local.INFO: GPS Element Parsed {"raw_longitude":763337792,"raw_latitude":95408920,"longitude_deg":76.3337792,"latitude_deg":9.540892,"altitude":15,"angle":171,"satellites":43,"speed":0,"hex_longitude":"2d7f9c40","hex_latitude":"05afd318","is_valid_coordinates":true} 
[2026-07-27 13:07:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:07:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995200000001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:07:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827088603512832,"note":"Value kept but may cause issues"} 
[2026-07-27 13:07:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195294932352571392,"note":"Value kept but may cause issues"} 
[2026-07-27 13:07:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:07:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785137801000,"timestamp_ms":1785137801000,"timestamp_seconds":1785137801,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2812728"} 
[2026-07-27 13:07:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:07:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 13:07:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-27 13:07:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:07:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:07:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:07:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:07:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:07:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:07:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:07:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:07:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 13:07:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 13:07:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995200000001,"66":25473,"250":206,"85":12544,"24":0,"16":358827088603512832,"45":9195294932352571392},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 13:07:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 13:07:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 13:07:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995200000001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:07:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 13:07:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 13:07:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827088603512832,"km_value":358827088603512.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:07:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195294932352571392,"description":"Unknown IO ID 45"} 
[2026-07-27 13:07:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995200000001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195294932352571392}} 
[2026-07-27 13:07:38] local.INFO: DEBUG: GPS processor result {"connection_id":143983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:07:38] local.INFO: GPS data processed {"connection_id":143983,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:07:38] local.INFO: Acknowledgment sent {"connection_id":143983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:07:38] local.INFO: TCP Data received {"connection_id":145271,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa27e4cb0012d1967c0071fed900038011228..."} 
[2026-07-27 13:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145271,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa27e4cb0012d1967c0071fed900038011228..."} 
[2026-07-27 13:07:38] local.INFO: Processing buffer {"connection_id":145271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa27e4cb0012d1967c0071fed900038011228..."} 
[2026-07-27 13:07:38] local.INFO: Packet analysis {"connection_id":145271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa27e"} 
[2026-07-27 13:07:38] local.INFO: Extracted packet for processing {"connection_id":145271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa27e"} 
[2026-07-27 13:07:38] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532944,"longitude_deg":75.663968,"latitude_deg":11.9532944,"altitude":56,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-07-27 13:07:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:07:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995223808001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:07:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8846258240225280,"note":"Value kept but may cause issues"} 
[2026-07-27 13:07:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382362624,"note":"Value kept but may cause issues"} 
[2026-07-27 13:07:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:07:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785137614000,"timestamp_ms":1785137614000,"timestamp_seconds":1785137614,"priority":1,"record_length":96,"hex_timestamp":"0000019fa27e4cb0"} 
[2026-07-27 13:07:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:07:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:07:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-07-27 13:07:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-07-27 13:07:38] local.WARNING: Large IO value detected {"io_id":109,"raw_value":2684354560,"note":"Value kept but may cause issues"} 
[2026-07-27 13:07:38] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2726039160,"note":"Value kept but may cause issues"} 
[2026-07-27 13:07:38] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249742680575438224,"note":"Value kept but may cause issues"} 
[2026-07-27 13:07:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-27 13:07:38] local.WARNING: Large IO value detected {"io_id":96,"raw_value":2147560729,"note":"Value kept but may cause issues"} 
[2026-07-27 13:07:38] local.WARNING: Large IO value detected {"io_id":103,"raw_value":3221692397,"note":"Value kept but may cause issues"} 
[2026-07-27 13:07:38] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8719195500324067328,"note":"Value kept but may cause issues"} 
[2026-07-27 13:07:38] local.WARNING: Large IO value detected {"io_id":81,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-27 13:07:38] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-07-27 13:07:38] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,121,28,24,241,158,16,109,159,168,45,192,237,56,41,10,66,86,40,4,1,240,14,162,31,113,205,96,103,144,39,239,49,2,7,231,81,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-07-27 13:07:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035526695518732288,"timestamp_seconds":4035526695518732.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 13:07:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:07:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:07:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:07:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145271,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:07:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145271,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:07:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:07:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 13:07:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 13:07:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995223808001,"66":12548,"121":206,"28":31744,"24":0,"16":8846258240225280,"45":1830642910382362624},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 13:07:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 13:07:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 13:07:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995223808001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:07:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 13:07:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 13:07:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8846258240225280,"km_value":8846258240225.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:07:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382362624,"description":"Unknown IO ID 45"} 
[2026-07-27 13:07:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995223808001,"power":12548,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382362624}} 
[2026-07-27 13:07:38] local.INFO: DEBUG: GPS processor result {"connection_id":145271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553233,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:07:38] local.INFO: GPS data processed {"connection_id":145271,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:07:38] local.INFO: Acknowledgment sent {"connection_id":145271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:08:01] local.INFO: TCP Data received {"connection_id":142989,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142989,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:08:01] local.INFO: Processing buffer {"connection_id":142989,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:08:01] local.INFO: IMEI packet received {"connection_id":142989,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 13:08:01] local.INFO: IMEI acknowledgment sent {"connection_id":142989,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 13:08:02] local.INFO: TCP Data received {"connection_id":142989,"ip":"117.225.227.158","data_length":51,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-27 13:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142989,"packet_length":51,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-27 13:08:02] local.INFO: Processing buffer {"connection_id":142989,"buffer_length":51,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-27 13:08:02] local.INFO: IMEI packet received {"connection_id":142989,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 13:08:02] local.INFO: IMEI acknowledgment sent {"connection_id":142989,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:08:09] local.INFO: TCP Data received {"connection_id":143983,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2812728012d7f9c4005afd318000f00ab2b..."} 
[2026-07-27 13:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2812728012d7f9c4005afd318000f00ab2b..."} 
[2026-07-27 13:08:09] local.INFO: Processing buffer {"connection_id":143983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2812728012d7f9c4005afd318000f00ab2b..."} 
[2026-07-27 13:08:09] local.INFO: Packet analysis {"connection_id":143983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa281"} 
[2026-07-27 13:08:09] local.INFO: Extracted packet for processing {"connection_id":143983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa281"} 
[2026-07-27 13:08:09] local.INFO: GPS Element Parsed {"raw_longitude":763337792,"raw_latitude":95408920,"longitude_deg":76.3337792,"latitude_deg":9.540892,"altitude":15,"angle":171,"satellites":43,"speed":0,"hex_longitude":"2d7f9c40","hex_latitude":"05afd318","is_valid_coordinates":true} 
[2026-07-27 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-07-27 13:08:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995200000001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:08:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827088603512832,"note":"Value kept but may cause issues"} 
[2026-07-27 13:08:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195294932352571392,"note":"Value kept but may cause issues"} 
[2026-07-27 13:08:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:08:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785137801000,"timestamp_ms":1785137801000,"timestamp_seconds":1785137801,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2812728"} 
[2026-07-27 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-07-27 13:08:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":205,"data_length":795,"current_offset":136} 
[2026-07-27 13: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-07-27 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-07-27 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-07-27 13:08:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:08:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:08:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:08:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:08: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-07-27 13:08:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 13:08:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 13:08:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995200000001,"66":25473,"250":206,"85":12544,"24":0,"16":358827088603512832,"45":9195294932352571392},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 13:08:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 13:08:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 13:08:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995200000001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:08:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 13:08:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 13:08:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827088603512832,"km_value":358827088603512.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:08:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195294932352571392,"description":"Unknown IO ID 45"} 
[2026-07-27 13:08:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995200000001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195294932352571392}} 
[2026-07-27 13:08:09] local.INFO: DEBUG: GPS processor result {"connection_id":143983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:08:09] local.INFO: GPS data processed {"connection_id":143983,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:08:09] local.INFO: Acknowledgment sent {"connection_id":143983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:08:32] local.INFO: TCP Data received {"connection_id":143984,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:08:32] local.INFO: Processing buffer {"connection_id":143984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:08:32] local.INFO: IMEI packet received {"connection_id":143984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 13:08:32] local.INFO: IMEI acknowledgment sent {"connection_id":143984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 13:08:37] local.INFO: TCP Data received {"connection_id":143984,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:08:37] local.INFO: Processing buffer {"connection_id":143984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:08:37] local.INFO: IMEI packet received {"connection_id":143984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 13:08:37] local.INFO: IMEI acknowledgment sent {"connection_id":143984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:08:38] local.INFO: TCP Data received {"connection_id":143984,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2812728012d7f9c4005afd318000f00ab2b..."} 
[2026-07-27 13:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2812728012d7f9c4005afd318000f00ab2b..."} 
[2026-07-27 13:08:38] local.INFO: Processing buffer {"connection_id":143984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2812728012d7f9c4005afd318000f00ab2b..."} 
[2026-07-27 13:08:38] local.INFO: Packet analysis {"connection_id":143984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa281"} 
[2026-07-27 13:08:38] local.INFO: Extracted packet for processing {"connection_id":143984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa281"} 
[2026-07-27 13:08:38] local.INFO: GPS Element Parsed {"raw_longitude":763337792,"raw_latitude":95408920,"longitude_deg":76.3337792,"latitude_deg":9.540892,"altitude":15,"angle":171,"satellites":43,"speed":0,"hex_longitude":"2d7f9c40","hex_latitude":"05afd318","is_valid_coordinates":true} 
[2026-07-27 13:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:08:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995200000001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:08:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827088603512832,"note":"Value kept but may cause issues"} 
[2026-07-27 13:08:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195294932352571392,"note":"Value kept but may cause issues"} 
[2026-07-27 13:08:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:08:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785137801000,"timestamp_ms":1785137801000,"timestamp_seconds":1785137801,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2812728"} 
[2026-07-27 13:08:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:08:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 13:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-27 13:08:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:08:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:08:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:08:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:08:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:08:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:08:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:08:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:08:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 13:08:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 13:08:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995200000001,"66":25473,"250":206,"85":12544,"24":0,"16":358827088603512832,"45":9195294932352571392},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 13:08:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 13:08:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 13:08:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995200000001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:08:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 13:08:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 13:08:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827088603512832,"km_value":358827088603512.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:08:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195294932352571392,"description":"Unknown IO ID 45"} 
[2026-07-27 13:08:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995200000001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195294932352571392}} 
[2026-07-27 13:08:38] local.INFO: DEBUG: GPS processor result {"connection_id":143984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:08:38] local.INFO: GPS data processed {"connection_id":143984,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:08:38] local.INFO: Acknowledgment sent {"connection_id":143984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:09:09] local.INFO: TCP Data received {"connection_id":143984,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2812728012d7f9c4005afd318000f00ab2b..."} 
[2026-07-27 13:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2812728012d7f9c4005afd318000f00ab2b..."} 
[2026-07-27 13:09:09] local.INFO: Processing buffer {"connection_id":143984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2812728012d7f9c4005afd318000f00ab2b..."} 
[2026-07-27 13:09:09] local.INFO: Packet analysis {"connection_id":143984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa281"} 
[2026-07-27 13:09:09] local.INFO: Extracted packet for processing {"connection_id":143984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa281"} 
[2026-07-27 13:09:09] local.INFO: GPS Element Parsed {"raw_longitude":763337792,"raw_latitude":95408920,"longitude_deg":76.3337792,"latitude_deg":9.540892,"altitude":15,"angle":171,"satellites":43,"speed":0,"hex_longitude":"2d7f9c40","hex_latitude":"05afd318","is_valid_coordinates":true} 
[2026-07-27 13:09:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:09:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995200000001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:09:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827088603512832,"note":"Value kept but may cause issues"} 
[2026-07-27 13:09:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195294932352571392,"note":"Value kept but may cause issues"} 
[2026-07-27 13:09:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:09:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785137801000,"timestamp_ms":1785137801000,"timestamp_seconds":1785137801,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2812728"} 
[2026-07-27 13:09:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:09:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 13:09:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-27 13:09:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:09:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:09:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:09:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:09:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:09:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:09:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13: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-07-27 13:09:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 13:09:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 13:09:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995200000001,"66":25473,"250":206,"85":12544,"24":0,"16":358827088603512832,"45":9195294932352571392},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 13:09:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 13:09:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 13:09:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995200000001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:09:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 13:09:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 13:09:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827088603512832,"km_value":358827088603512.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:09:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195294932352571392,"description":"Unknown IO ID 45"} 
[2026-07-27 13:09:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995200000001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195294932352571392}} 
[2026-07-27 13:09:09] local.INFO: DEBUG: GPS processor result {"connection_id":143984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:09:09] local.INFO: GPS data processed {"connection_id":143984,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:09:09] local.INFO: Acknowledgment sent {"connection_id":143984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:09:32] local.INFO: TCP Data received {"connection_id":145272,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:09:32] local.INFO: Processing buffer {"connection_id":145272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:09:32] local.INFO: IMEI packet received {"connection_id":145272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 13:09:32] local.INFO: IMEI acknowledgment sent {"connection_id":145272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 13:09:37] local.INFO: TCP Data received {"connection_id":145272,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:09:37] local.INFO: Processing buffer {"connection_id":145272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:09:37] local.INFO: IMEI packet received {"connection_id":145272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 13:09:37] local.INFO: IMEI acknowledgment sent {"connection_id":145272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:09:38] local.INFO: TCP Data received {"connection_id":145272,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2812728012d7f9c4005afd318000f00ab2b..."} 
[2026-07-27 13:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2812728012d7f9c4005afd318000f00ab2b..."} 
[2026-07-27 13:09:38] local.INFO: Processing buffer {"connection_id":145272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2812728012d7f9c4005afd318000f00ab2b..."} 
[2026-07-27 13:09:38] local.INFO: Packet analysis {"connection_id":145272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa281"} 
[2026-07-27 13:09:38] local.INFO: Extracted packet for processing {"connection_id":145272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa281"} 
[2026-07-27 13:09:38] local.INFO: GPS Element Parsed {"raw_longitude":763337792,"raw_latitude":95408920,"longitude_deg":76.3337792,"latitude_deg":9.540892,"altitude":15,"angle":171,"satellites":43,"speed":0,"hex_longitude":"2d7f9c40","hex_latitude":"05afd318","is_valid_coordinates":true} 
[2026-07-27 13:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:09:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995200000001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:09:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827088603512832,"note":"Value kept but may cause issues"} 
[2026-07-27 13:09:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195294932352571392,"note":"Value kept but may cause issues"} 
[2026-07-27 13:09:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:09:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785137801000,"timestamp_ms":1785137801000,"timestamp_seconds":1785137801,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2812728"} 
[2026-07-27 13:09:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:09:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 13:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-27 13:09:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:09:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:09:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:09:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:09:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:09:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:09:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:09:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:09:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 13:09:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 13:09:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995200000001,"66":25473,"250":206,"85":12544,"24":0,"16":358827088603512832,"45":9195294932352571392},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 13:09:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 13:09:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 13:09:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995200000001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:09:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 13:09:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 13:09:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827088603512832,"km_value":358827088603512.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:09:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195294932352571392,"description":"Unknown IO ID 45"} 
[2026-07-27 13:09:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995200000001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195294932352571392}} 
[2026-07-27 13:09:38] local.INFO: DEBUG: GPS processor result {"connection_id":145272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:09:38] local.INFO: GPS data processed {"connection_id":145272,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:09:38] local.INFO: Acknowledgment sent {"connection_id":145272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:10:09] local.INFO: TCP Data received {"connection_id":145272,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2839ff8012d7f9c4005afd318000f00ab2b..."} 
[2026-07-27 13:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2839ff8012d7f9c4005afd318000f00ab2b..."} 
[2026-07-27 13:10:09] local.INFO: Processing buffer {"connection_id":145272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2839ff8012d7f9c4005afd318000f00ab2b..."} 
[2026-07-27 13:10:09] local.INFO: Packet analysis {"connection_id":145272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa283"} 
[2026-07-27 13:10:09] local.INFO: Extracted packet for processing {"connection_id":145272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa283"} 
[2026-07-27 13:10:09] local.INFO: GPS Element Parsed {"raw_longitude":763337792,"raw_latitude":95408920,"longitude_deg":76.3337792,"latitude_deg":9.540892,"altitude":15,"angle":171,"satellites":43,"speed":0,"hex_longitude":"2d7f9c40","hex_latitude":"05afd318","is_valid_coordinates":true} 
[2026-07-27 13:10:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:10:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995277056001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:10:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827088603512832,"note":"Value kept but may cause issues"} 
[2026-07-27 13:10:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195294932352571392,"note":"Value kept but may cause issues"} 
[2026-07-27 13:10:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:10:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785137963000,"timestamp_ms":1785137963000,"timestamp_seconds":1785137963,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2839ff8"} 
[2026-07-27 13:10:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:10:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":129,"data_length":795,"current_offset":136} 
[2026-07-27 13:10:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:10:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:10:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:10:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:10:09] local.INFO: Teltonika packet parsed successfully {"connection_id":145272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:10:09] local.INFO: Passing IMEI to GPS processor {"connection_id":145272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:10:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":145272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:10: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-07-27 13:10:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 13:10:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 13:10:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995277056001,"66":25495,"27":206,"85":12544,"24":0,"16":358827088603512832,"45":9195294932352571392},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 13:10:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 13:10:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 13:10:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995277056001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:10:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 13:10:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 13:10:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827088603512832,"km_value":358827088603512.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:10:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195294932352571392,"description":"Unknown IO ID 45"} 
[2026-07-27 13:10:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995277056001,"power":25495,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195294932352571392}} 
[2026-07-27 13:10:09] local.INFO: DEBUG: GPS processor result {"connection_id":145272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:10:09] local.INFO: GPS data processed {"connection_id":145272,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:10:09] local.INFO: Acknowledgment sent {"connection_id":145272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:10:32] local.INFO: TCP Data received {"connection_id":142858,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:10:32] local.INFO: Processing buffer {"connection_id":142858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:10:32] local.INFO: IMEI packet received {"connection_id":142858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 13:10:32] local.INFO: IMEI acknowledgment sent {"connection_id":142858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 13:10:37] local.INFO: TCP Data received {"connection_id":142858,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:10:37] local.INFO: Processing buffer {"connection_id":142858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:10:37] local.INFO: IMEI packet received {"connection_id":142858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 13:10:37] local.INFO: IMEI acknowledgment sent {"connection_id":142858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:10:38] local.INFO: TCP Data received {"connection_id":142858,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa283f5e8012d7f9d0005afcf50000f00ab2b..."} 
[2026-07-27 13:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa283f5e8012d7f9d0005afcf50000f00ab2b..."} 
[2026-07-27 13:10:38] local.INFO: Processing buffer {"connection_id":142858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa283f5e8012d7f9d0005afcf50000f00ab2b..."} 
[2026-07-27 13:10:38] local.INFO: Packet analysis {"connection_id":142858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa283"} 
[2026-07-27 13:10:38] local.INFO: Extracted packet for processing {"connection_id":142858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa283"} 
[2026-07-27 13:10:38] local.INFO: GPS Element Parsed {"raw_longitude":763337984,"raw_latitude":95407952,"longitude_deg":76.3337984,"latitude_deg":9.5407952,"altitude":15,"angle":171,"satellites":43,"speed":0,"hex_longitude":"2d7f9d00","hex_latitude":"05afcf50","is_valid_coordinates":true} 
[2026-07-27 13:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:10:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995318528001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:10:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827088603512832,"note":"Value kept but may cause issues"} 
[2026-07-27 13:10:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195294932352571392,"note":"Value kept but may cause issues"} 
[2026-07-27 13:10:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:10:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785137985000,"timestamp_ms":1785137985000,"timestamp_seconds":1785137985,"priority":1,"record_length":96,"hex_timestamp":"0000019fa283f5e8"} 
[2026-07-27 13:10:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:10:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-27 13:10:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:10:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:10:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:10:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:10:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:10:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:10:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:10:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:10:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 13:10:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 13:10:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995318528001,"66":27745,"27":206,"85":12544,"24":0,"16":358827088603512832,"45":9195294932352571392},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 13:10:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 13:10:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 13:10:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995318528001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:10:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 13:10:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 13:10:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827088603512832,"km_value":358827088603512.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:10:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195294932352571392,"description":"Unknown IO ID 45"} 
[2026-07-27 13:10:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995318528001,"power":27745,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195294932352571392}} 
[2026-07-27 13:10:38] local.INFO: DEBUG: GPS processor result {"connection_id":142858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:10:38] local.INFO: GPS data processed {"connection_id":142858,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:10:38] local.INFO: Acknowledgment sent {"connection_id":142858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:11:09] local.INFO: TCP Data received {"connection_id":142858,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa28447f0012d7f9d0005afcf50000f00ab2c..."} 
[2026-07-27 13:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa28447f0012d7f9d0005afcf50000f00ab2c..."} 
[2026-07-27 13:11:09] local.INFO: Processing buffer {"connection_id":142858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa28447f0012d7f9d0005afcf50000f00ab2c..."} 
[2026-07-27 13:11:09] local.INFO: Packet analysis {"connection_id":142858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa284"} 
[2026-07-27 13:11:09] local.INFO: Extracted packet for processing {"connection_id":142858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa284"} 
[2026-07-27 13:11:09] local.INFO: GPS Element Parsed {"raw_longitude":763337984,"raw_latitude":95407952,"longitude_deg":76.3337984,"latitude_deg":9.5407952,"altitude":15,"angle":171,"satellites":44,"speed":0,"hex_longitude":"2d7f9d00","hex_latitude":"05afcf50","is_valid_coordinates":true} 
[2026-07-27 13:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:11:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995324160001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:11:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827088603512832,"note":"Value kept but may cause issues"} 
[2026-07-27 13:11:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195506038584856576,"note":"Value kept but may cause issues"} 
[2026-07-27 13:11:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:11:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785138006000,"timestamp_ms":1785138006000,"timestamp_seconds":1785138006,"priority":1,"record_length":96,"hex_timestamp":"0000019fa28447f0"} 
[2026-07-27 13:11:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:11:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-27 13:11:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:11:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:11:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:11:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:11:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:11:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:11:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:11: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-07-27 13:11:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 13:11:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 13:11:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995324160001,"66":27865,"27":206,"85":12544,"24":0,"16":358827088603512832,"45":9195506038584856576},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 13:11:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 13:11:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 13:11:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995324160001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:11:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 13:11:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 13:11:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827088603512832,"km_value":358827088603512.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:11:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195506038584856576,"description":"Unknown IO ID 45"} 
[2026-07-27 13:11:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995324160001,"power":27865,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195506038584856576}} 
[2026-07-27 13:11:09] local.INFO: DEBUG: GPS processor result {"connection_id":142858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:11:09] local.INFO: GPS data processed {"connection_id":142858,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:11:09] local.INFO: Acknowledgment sent {"connection_id":142858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:11:37] local.INFO: TCP Data received {"connection_id":142990,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:11:37] local.INFO: Processing buffer {"connection_id":142990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:11:37] local.INFO: IMEI packet received {"connection_id":142990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 13:11:37] local.INFO: IMEI acknowledgment sent {"connection_id":142990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 13:11:42] local.INFO: TCP Data received {"connection_id":142990,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:11:42] local.INFO: Processing buffer {"connection_id":142990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:11:42] local.INFO: IMEI packet received {"connection_id":142990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 13:11:42] local.INFO: IMEI acknowledgment sent {"connection_id":142990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:11:43] local.INFO: TCP Data received {"connection_id":142990,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2845b78012d7f9e8005afce700011006d2c..."} 
[2026-07-27 13:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142990,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2845b78012d7f9e8005afce700011006d2c..."} 
[2026-07-27 13:11:43] local.INFO: Processing buffer {"connection_id":142990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2845b78012d7f9e8005afce700011006d2c..."} 
[2026-07-27 13:11:43] local.INFO: Packet analysis {"connection_id":142990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa284"} 
[2026-07-27 13:11:43] local.INFO: Extracted packet for processing {"connection_id":142990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa284"} 
[2026-07-27 13:11:43] local.INFO: GPS Element Parsed {"raw_longitude":763338368,"raw_latitude":95407728,"longitude_deg":76.3338368,"latitude_deg":9.5407728,"altitude":17,"angle":109,"satellites":44,"speed":7,"hex_longitude":"2d7f9e80","hex_latitude":"05afce70","is_valid_coordinates":true} 
[2026-07-27 13:11:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:11:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995329536001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:11:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827110078349312,"note":"Value kept but may cause issues"} 
[2026-07-27 13:11:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195506038584856576,"note":"Value kept but may cause issues"} 
[2026-07-27 13:11:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:11:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785138011000,"timestamp_ms":1785138011000,"timestamp_seconds":1785138011,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2845b78"} 
[2026-07-27 13:11:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:11:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-27 13:11:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:11:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:11:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:11:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:11:43] local.INFO: Teltonika packet parsed successfully {"connection_id":142990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:11:43] local.INFO: Passing IMEI to GPS processor {"connection_id":142990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:11:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":142990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:11: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-07-27 13:11:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 13:11:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 13:11:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995329536001,"66":27930,"27":206,"85":12544,"24":7,"16":358827110078349312,"45":9195506038584856576},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 13:11:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 13:11:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 13:11:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995329536001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:11:43] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 13:11:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 13:11:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827110078349312,"km_value":358827110078349.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:11:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195506038584856576,"description":"Unknown IO ID 45"} 
[2026-07-27 13:11:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995329536001,"power":27930,"unknown_27":206,"unknown_85":12544,"ignition":7,"odometer":null,"unknown_45":9195506038584856576}} 
[2026-07-27 13:11:43] local.INFO: DEBUG: GPS processor result {"connection_id":142990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:11:43] local.INFO: GPS data processed {"connection_id":142990,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:11:43] local.INFO: Acknowledgment sent {"connection_id":142990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:11:43] local.INFO: TCP Data received {"connection_id":142990,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2846348012d7fa08005afce200011005d2b..."} 
[2026-07-27 13:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142990,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2846348012d7fa08005afce200011005d2b..."} 
[2026-07-27 13:11:43] local.INFO: Processing buffer {"connection_id":142990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2846348012d7fa08005afce200011005d2b..."} 
[2026-07-27 13:11:43] local.INFO: Packet analysis {"connection_id":142990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa284"} 
[2026-07-27 13:11:43] local.INFO: Extracted packet for processing {"connection_id":142990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa284"} 
[2026-07-27 13:11:43] local.INFO: GPS Element Parsed {"raw_longitude":763338880,"raw_latitude":95407648,"longitude_deg":76.333888,"latitude_deg":9.5407648,"altitude":17,"angle":93,"satellites":43,"speed":7,"hex_longitude":"2d7fa080","hex_latitude":"05afce20","is_valid_coordinates":true} 
[2026-07-27 13:11:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:11:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995330816001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:11:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827131553185792,"note":"Value kept but may cause issues"} 
[2026-07-27 13:11:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195928251049865216,"note":"Value kept but may cause issues"} 
[2026-07-27 13:11:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:11:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785138013000,"timestamp_ms":1785138013000,"timestamp_seconds":1785138013,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2846348"} 
[2026-07-27 13:11:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:11:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-27 13:11:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:11:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:11:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:11:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:11:43] local.INFO: Teltonika packet parsed successfully {"connection_id":142990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:11:43] local.INFO: Passing IMEI to GPS processor {"connection_id":142990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:11:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":142990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:11: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-07-27 13:11:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 13:11:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 13:11:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995330816001,"66":27865,"27":206,"85":12544,"24":7,"16":358827131553185792,"45":9195928251049865216},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 13:11:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 13:11:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 13:11:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995330816001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:11:43] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 13:11:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 13:11:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827131553185792,"km_value":358827131553185.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:11:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195928251049865216,"description":"Unknown IO ID 45"} 
[2026-07-27 13:11:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995330816001,"power":27865,"unknown_27":206,"unknown_85":12544,"ignition":7,"odometer":null,"unknown_45":9195928251049865216}} 
[2026-07-27 13:11:43] local.INFO: DEBUG: GPS processor result {"connection_id":142990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:11:43] local.INFO: GPS data processed {"connection_id":142990,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:11:43] local.INFO: Acknowledgment sent {"connection_id":142990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:12:14] local.INFO: TCP Data received {"connection_id":142990,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2846b18012d7fa18005afce000011006f2c..."} 
[2026-07-27 13:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142990,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2846b18012d7fa18005afce000011006f2c..."} 
[2026-07-27 13:12:14] local.INFO: Processing buffer {"connection_id":142990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2846b18012d7fa18005afce000011006f2c..."} 
[2026-07-27 13:12:14] local.INFO: Packet analysis {"connection_id":142990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa284"} 
[2026-07-27 13:12:14] local.INFO: Extracted packet for processing {"connection_id":142990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa284"} 
[2026-07-27 13:12:14] local.INFO: GPS Element Parsed {"raw_longitude":763339136,"raw_latitude":95407616,"longitude_deg":76.3339136,"latitude_deg":9.5407616,"altitude":17,"angle":111,"satellites":44,"speed":5,"hex_longitude":"2d7fa180","hex_latitude":"05afce00","is_valid_coordinates":true} 
[2026-07-27 13:12:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:12:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995331328001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:12:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827148733054976,"note":"Value kept but may cause issues"} 
[2026-07-27 13:12:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196491201003266048,"note":"Value kept but may cause issues"} 
[2026-07-27 13:12:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:12:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785138015000,"timestamp_ms":1785138015000,"timestamp_seconds":1785138015,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2846b18"} 
[2026-07-27 13:12:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:12:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:12:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-27 13:12:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:12:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:12:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:12:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:12:14] local.INFO: Teltonika packet parsed successfully {"connection_id":142990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:12:14] local.INFO: Passing IMEI to GPS processor {"connection_id":142990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:12:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":142990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:12: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-07-27 13:12:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 13:12:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 13:12:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995331328001,"66":27876,"27":206,"85":12544,"24":5,"16":358827148733054976,"45":9196491201003266048},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 13:12:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 13:12:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 13:12:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995331328001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:12:14] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 13:12:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 13:12:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827148733054976,"km_value":358827148733055.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:12:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196491201003266048,"description":"Unknown IO ID 45"} 
[2026-07-27 13:12:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995331328001,"power":27876,"unknown_27":206,"unknown_85":12544,"ignition":5,"odometer":null,"unknown_45":9196491201003266048}} 
[2026-07-27 13:12:14] local.INFO: DEBUG: GPS processor result {"connection_id":142990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:12:14] local.INFO: GPS data processed {"connection_id":142990,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:12:14] local.INFO: Acknowledgment sent {"connection_id":142990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:12:37] local.INFO: TCP Data received {"connection_id":143986,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:12:37] local.INFO: Processing buffer {"connection_id":143986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:12:37] local.INFO: IMEI packet received {"connection_id":143986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 13:12:37] local.INFO: IMEI acknowledgment sent {"connection_id":143986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 13:12:42] local.INFO: TCP Data received {"connection_id":143986,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:12:42] local.INFO: Processing buffer {"connection_id":143986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:12:42] local.INFO: IMEI packet received {"connection_id":143986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 13:12:42] local.INFO: IMEI acknowledgment sent {"connection_id":143986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:12:43] local.INFO: TCP Data received {"connection_id":143986,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2846f00012d7fa24005afcda8001100882c..."} 
[2026-07-27 13:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2846f00012d7fa24005afcda8001100882c..."} 
[2026-07-27 13:12:43] local.INFO: Processing buffer {"connection_id":143986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2846f00012d7fa24005afcda8001100882c..."} 
[2026-07-27 13:12:43] local.INFO: Packet analysis {"connection_id":143986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa284"} 
[2026-07-27 13:12:43] local.INFO: Extracted packet for processing {"connection_id":143986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa284"} 
[2026-07-27 13:12:43] local.INFO: GPS Element Parsed {"raw_longitude":763339328,"raw_latitude":95407528,"longitude_deg":76.3339328,"latitude_deg":9.5407528,"altitude":17,"angle":136,"satellites":44,"speed":7,"hex_longitude":"2d7fa240","hex_latitude":"05afcda8","is_valid_coordinates":true} 
[2026-07-27 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-07-27 13:12:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995331840001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:12:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827157322989568,"note":"Value kept but may cause issues"} 
[2026-07-27 13:12:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196772675979968512,"note":"Value kept but may cause issues"} 
[2026-07-27 13:12:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:12:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785138016000,"timestamp_ms":1785138016000,"timestamp_seconds":1785138016,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2846f00"} 
[2026-07-27 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-07-27 13:12:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-27 13:12:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 13:12:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:12:43] local.INFO: Teltonika packet parsed successfully {"connection_id":143986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:12:43] local.INFO: Passing IMEI to GPS processor {"connection_id":143986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:12:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":143986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:12: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-07-27 13:12:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 13:12:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 13:12:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995331840001,"66":27876,"27":206,"85":12544,"24":7,"16":358827157322989568,"45":9196772675979968512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 13:12:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 13:12:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 13:12:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995331840001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:12:43] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 13:12:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 13:12:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827157322989568,"km_value":358827157322989.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:12:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196772675979968512,"description":"Unknown IO ID 45"} 
[2026-07-27 13:12:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995331840001,"power":27876,"unknown_27":206,"unknown_85":12544,"ignition":7,"odometer":null,"unknown_45":9196772675979968512}} 
[2026-07-27 13:12:43] local.INFO: DEBUG: GPS processor result {"connection_id":143986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:12:43] local.INFO: GPS data processed {"connection_id":143986,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:12:43] local.INFO: Acknowledgment sent {"connection_id":143986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:13:02] local.INFO: TCP Data received {"connection_id":142859,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142859,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:13:02] local.INFO: Processing buffer {"connection_id":142859,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:13:02] local.INFO: IMEI packet received {"connection_id":142859,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 13:13:02] local.INFO: IMEI acknowledgment sent {"connection_id":142859,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 13:13:06] local.INFO: TCP Data received {"connection_id":142859,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142859,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:13:06] local.INFO: Processing buffer {"connection_id":142859,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:13:06] local.INFO: IMEI packet received {"connection_id":142859,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 13:13:06] local.INFO: IMEI acknowledgment sent {"connection_id":142859,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:13:07] local.INFO: TCP Data received {"connection_id":142859,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2859010012d1a69c00720c1c8004400b728..."} 
[2026-07-27 13:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2859010012d1a69c00720c1c8004400b728..."} 
[2026-07-27 13:13:07] local.INFO: Processing buffer {"connection_id":142859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2859010012d1a69c00720c1c8004400b728..."} 
[2026-07-27 13:13:07] local.INFO: Packet analysis {"connection_id":142859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa285"} 
[2026-07-27 13:13:07] local.INFO: Extracted packet for processing {"connection_id":142859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa285"} 
[2026-07-27 13:13:07] local.INFO: GPS Element Parsed {"raw_longitude":756705728,"raw_latitude":119587272,"longitude_deg":75.6705728,"latitude_deg":11.9587272,"altitude":68,"angle":183,"satellites":40,"speed":6,"hex_longitude":"2d1a69c0","hex_latitude":"0720c1c8","is_valid_coordinates":true} 
[2026-07-27 13:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:13:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995345664001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:13:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8853039993585664,"note":"Value kept but may cause issues"} 
[2026-07-27 13:13:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1903756035597905920,"note":"Value kept but may cause issues"} 
[2026-07-27 13:13:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:13:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785138090000,"timestamp_ms":1785138090000,"timestamp_seconds":1785138090,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2859010"} 
[2026-07-27 13:13:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:13:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-27 13:13:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:13:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:13:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:13:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:13:07] local.INFO: Teltonika packet parsed successfully {"connection_id":142859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:13:07] local.INFO: Passing IMEI to GPS processor {"connection_id":142859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:13:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":142859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:13:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:13:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 13:13:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 13:13:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995345664001,"66":13298,"121":206,"28":31744,"24":6,"16":8853039993585664,"45":1903756035597905920},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 13:13:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 13:13:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 13:13:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995345664001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:13:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 13:13:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 13:13:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8853039993585664,"km_value":8853039993585.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:13:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1903756035597905920,"description":"Unknown IO ID 45"} 
[2026-07-27 13:13:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995345664001,"power":13298,"unknown_121":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1903756035597905920}} 
[2026-07-27 13:13:07] local.INFO: DEBUG: GPS processor result {"connection_id":142859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553245,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:13:07] local.INFO: GPS data processed {"connection_id":142859,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:13:07] local.INFO: Acknowledgment sent {"connection_id":142859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:13:14] local.INFO: TCP Data received {"connection_id":143986,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa28472e8012d7fa2c005afccf80011009f2c..."} 
[2026-07-27 13:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa28472e8012d7fa2c005afccf80011009f2c..."} 
[2026-07-27 13:13:14] local.INFO: Processing buffer {"connection_id":143986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa28472e8012d7fa2c005afccf80011009f2c..."} 
[2026-07-27 13:13:14] local.INFO: Packet analysis {"connection_id":143986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa284"} 
[2026-07-27 13:13:14] local.INFO: Extracted packet for processing {"connection_id":143986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa284"} 
[2026-07-27 13:13:14] local.INFO: GPS Element Parsed {"raw_longitude":763339456,"raw_latitude":95407352,"longitude_deg":76.3339456,"latitude_deg":9.5407352,"altitude":17,"angle":159,"satellites":44,"speed":8,"hex_longitude":"2d7fa2c0","hex_latitude":"05afccf8","is_valid_coordinates":true} 
[2026-07-27 13: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-07-27 13:13:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995332096001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:13:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827165912924160,"note":"Value kept but may cause issues"} 
[2026-07-27 13:13:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196983782212478976,"note":"Value kept but may cause issues"} 
[2026-07-27 13:13:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:13:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785138017000,"timestamp_ms":1785138017000,"timestamp_seconds":1785138017,"priority":1,"record_length":96,"hex_timestamp":"0000019fa28472e8"} 
[2026-07-27 13:13:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:13:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:13:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-27 13:13:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13: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-07-27 13:13:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:13:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:13:14] local.INFO: Teltonika packet parsed successfully {"connection_id":143986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:13:14] local.INFO: Passing IMEI to GPS processor {"connection_id":143986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:13:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":143986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:13: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-07-27 13:13:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 13:13:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 13:13:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995332096001,"66":27832,"27":206,"85":12544,"24":8,"16":358827165912924160,"45":9196983782212478976},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 13:13:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 13:13:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 13:13:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995332096001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:13:14] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 13:13:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 13:13:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827165912924160,"km_value":358827165912924.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:13:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196983782212478976,"description":"Unknown IO ID 45"} 
[2026-07-27 13:13:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995332096001,"power":27832,"unknown_27":206,"unknown_85":12544,"ignition":8,"odometer":null,"unknown_45":9196983782212478976}} 
[2026-07-27 13:13:14] local.INFO: DEBUG: GPS processor result {"connection_id":143986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:13:14] local.INFO: GPS data processed {"connection_id":143986,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:13:14] local.INFO: Acknowledgment sent {"connection_id":143986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:13:32] local.INFO: TCP Data received {"connection_id":145276,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:13:32] local.INFO: Processing buffer {"connection_id":145276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:13:32] local.INFO: IMEI packet received {"connection_id":145276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 13:13:32] local.INFO: IMEI acknowledgment sent {"connection_id":145276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 13:13:37] local.INFO: TCP Data received {"connection_id":145276,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:13:37] local.INFO: Processing buffer {"connection_id":145276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:13:37] local.INFO: IMEI packet received {"connection_id":145276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 13:13:37] local.INFO: IMEI acknowledgment sent {"connection_id":145276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:13:38] local.INFO: TCP Data received {"connection_id":145276,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa28476d0012d7fa2c005afcc20001100af2c..."} 
[2026-07-27 13:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145276,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa28476d0012d7fa2c005afcc20001100af2c..."} 
[2026-07-27 13:13:38] local.INFO: Processing buffer {"connection_id":145276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa28476d0012d7fa2c005afcc20001100af2c..."} 
[2026-07-27 13:13:38] local.INFO: Packet analysis {"connection_id":145276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa284"} 
[2026-07-27 13:13:38] local.INFO: Extracted packet for processing {"connection_id":145276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa284"} 
[2026-07-27 13:13:38] local.INFO: GPS Element Parsed {"raw_longitude":763339456,"raw_latitude":95407136,"longitude_deg":76.3339456,"latitude_deg":9.5407136,"altitude":17,"angle":175,"satellites":44,"speed":9,"hex_longitude":"2d7fa2c0","hex_latitude":"05afcc20","is_valid_coordinates":true} 
[2026-07-27 13:13:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:13:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995332352001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:13:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827178797826048,"note":"Value kept but may cause issues"} 
[2026-07-27 13:13:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197124519700789248,"note":"Value kept but may cause issues"} 
[2026-07-27 13:13:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:13:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785138018000,"timestamp_ms":1785138018000,"timestamp_seconds":1785138018,"priority":1,"record_length":96,"hex_timestamp":"0000019fa28476d0"} 
[2026-07-27 13:13:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:13:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:13:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-27 13:13:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:13:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:13:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:13:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:13:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:13:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:13:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:13:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:13:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 13:13:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 13:13:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995332352001,"66":27832,"27":206,"85":12544,"24":9,"16":358827178797826048,"45":9197124519700789248},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-27 13:13:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 13:13:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 13:13:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995332352001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:13:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 13:13:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 13:13:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827178797826048,"km_value":358827178797826.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:13:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197124519700789248,"description":"Unknown IO ID 45"} 
[2026-07-27 13:13:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995332352001,"power":27832,"unknown_27":206,"unknown_85":12544,"ignition":9,"odometer":null,"unknown_45":9197124519700789248}} 
[2026-07-27 13:13:38] local.INFO: DEBUG: GPS processor result {"connection_id":145276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:13:38] local.INFO: GPS data processed {"connection_id":145276,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:13:38] local.INFO: Acknowledgment sent {"connection_id":145276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:13:38] local.INFO: TCP Data received {"connection_id":142859,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa285bef0012d1a69400720baa0004300dd29..."} 
[2026-07-27 13:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa285bef0012d1a69400720baa0004300dd29..."} 
[2026-07-27 13:13:38] local.INFO: Processing buffer {"connection_id":142859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa285bef0012d1a69400720baa0004300dd29..."} 
[2026-07-27 13:13:38] local.INFO: Packet analysis {"connection_id":142859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa285"} 
[2026-07-27 13:13:38] local.INFO: Extracted packet for processing {"connection_id":142859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa285"} 
[2026-07-27 13:13:38] local.INFO: GPS Element Parsed {"raw_longitude":756705600,"raw_latitude":119585440,"longitude_deg":75.67056,"latitude_deg":11.958544,"altitude":67,"angle":221,"satellites":41,"speed":5,"hex_longitude":"2d1a6940","hex_latitude":"0720baa0","is_valid_coordinates":true} 
[2026-07-27 13:13:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:13:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995351040001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:13:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8853134482866176,"note":"Value kept but may cause issues"} 
[2026-07-27 13:13:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1903263454387619840,"note":"Value kept but may cause issues"} 
[2026-07-27 13:13:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:13:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785138102000,"timestamp_ms":1785138102000,"timestamp_seconds":1785138102,"priority":1,"record_length":96,"hex_timestamp":"0000019fa285bef0"} 
[2026-07-27 13:13:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:13:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:13:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-07-27 13:13:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2631,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:13:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:13:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:13:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:13:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:13:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:13:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:13:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:13:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 13:13:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 13:13:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995351040001,"66":13222,"121":206,"28":31744,"24":5,"16":8853134482866176,"45":1903263454387619840},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 13:13:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 13:13:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 13:13:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995351040001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:13:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 13:13:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 13:13:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8853134482866176,"km_value":8853134482866.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:13:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1903263454387619840,"description":"Unknown IO ID 45"} 
[2026-07-27 13:13:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995351040001,"power":13222,"unknown_121":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1903263454387619840}} 
[2026-07-27 13:13:38] local.INFO: DEBUG: GPS processor result {"connection_id":142859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553248,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:13:38] local.INFO: GPS data processed {"connection_id":142859,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:13:38] local.INFO: Acknowledgment sent {"connection_id":142859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:13:59] local.INFO: TCP Data received {"connection_id":143987,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 13:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143987,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 13:13:59] local.INFO: Processing buffer {"connection_id":143987,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 13:13:59] local.INFO: IMEI packet received {"connection_id":143987,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 13:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":143987,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 13:14:00] local.INFO: TCP Data received {"connection_id":142991,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142991,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:14:00] local.INFO: Processing buffer {"connection_id":142991,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:14:00] local.INFO: IMEI packet received {"connection_id":142991,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 13:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":142991,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 13:14:05] local.INFO: TCP Data received {"connection_id":142991,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142991,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:14:05] local.INFO: Processing buffer {"connection_id":142991,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:14:05] local.INFO: IMEI packet received {"connection_id":142991,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 13:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":142991,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:14:07] local.INFO: TCP Data received {"connection_id":142991,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa28610f8012d1a68800720ba18004400dd28..."} 
[2026-07-27 13:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa28610f8012d1a68800720ba18004400dd28..."} 
[2026-07-27 13:14:07] local.INFO: Processing buffer {"connection_id":142991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa28610f8012d1a68800720ba18004400dd28..."} 
[2026-07-27 13:14:07] local.INFO: Packet analysis {"connection_id":142991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa286"} 
[2026-07-27 13:14:07] local.INFO: Extracted packet for processing {"connection_id":142991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa286"} 
[2026-07-27 13:14:07] local.INFO: GPS Element Parsed {"raw_longitude":756705408,"raw_latitude":119585304,"longitude_deg":75.6705408,"latitude_deg":11.9585304,"altitude":68,"angle":221,"satellites":40,"speed":0,"hex_longitude":"2d1a6880","hex_latitude":"0720ba18","is_valid_coordinates":true} 
[2026-07-27 13:14:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:14:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995354112001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:14:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8853155957702656,"note":"Value kept but may cause issues"} 
[2026-07-27 13:14:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1903122716898795520,"note":"Value kept but may cause issues"} 
[2026-07-27 13:14:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:14:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785138123000,"timestamp_ms":1785138123000,"timestamp_seconds":1785138123,"priority":1,"record_length":96,"hex_timestamp":"0000019fa28610f8"} 
[2026-07-27 13:14:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:14:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:14:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-27 13:14:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:14:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:14:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:14:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:14:07] local.INFO: Teltonika packet parsed successfully {"connection_id":142991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:14:07] local.INFO: Passing IMEI to GPS processor {"connection_id":142991,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:14:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":142991,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:14:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:14:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 13:14:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 13:14:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995354112001,"66":13102,"121":206,"28":31744,"24":0,"16":8853155957702656,"45":1903122716898795520},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 13:14:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 13:14:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 13:14:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995354112001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:14:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 13:14:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 13:14:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8853155957702656,"km_value":8853155957702.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:14:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1903122716898795520,"description":"Unknown IO ID 45"} 
[2026-07-27 13:14:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995354112001,"power":13102,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1903122716898795520}} 
[2026-07-27 13:14:07] local.INFO: DEBUG: GPS processor result {"connection_id":142991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553249,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:14:07] local.INFO: GPS data processed {"connection_id":142991,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:14:07] local.INFO: Acknowledgment sent {"connection_id":142991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:14:09] local.INFO: TCP Data received {"connection_id":145276,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa28716b0012d7f9b8005afb7a8000e01142c..."} 
[2026-07-27 13:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145276,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa28716b0012d7f9b8005afb7a8000e01142c..."} 
[2026-07-27 13:14:09] local.INFO: Processing buffer {"connection_id":145276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa28716b0012d7f9b8005afb7a8000e01142c..."} 
[2026-07-27 13:14:09] local.INFO: Packet analysis {"connection_id":145276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa287"} 
[2026-07-27 13:14:09] local.INFO: Extracted packet for processing {"connection_id":145276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa287"} 
[2026-07-27 13:14:09] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95401896,"longitude_deg":76.33376,"latitude_deg":9.5401896,"altitude":14,"angle":276,"satellites":44,"speed":11,"hex_longitude":"2d7f9b80","hex_latitude":"05afb7a8","is_valid_coordinates":true} 
[2026-07-27 13:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:14:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995376384001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:14:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358827475150569472,"note":"Value kept but may cause issues"} 
[2026-07-27 13:14:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195365301094948864,"note":"Value kept but may cause issues"} 
[2026-07-27 13:14:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:14:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785138190000,"timestamp_ms":1785138190000,"timestamp_seconds":1785138190,"priority":1,"record_length":96,"hex_timestamp":"0000019fa28716b0"} 
[2026-07-27 13:14:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:14:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-27 13:14:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:14:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:14:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:14:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:14:09] local.INFO: Teltonika packet parsed successfully {"connection_id":145276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:14:09] local.INFO: Passing IMEI to GPS processor {"connection_id":145276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:14:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":145276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:14: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-07-27 13:14:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 13:14:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 13:14:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995376384001,"66":27843,"250":206,"85":12544,"24":11,"16":358827475150569472,"45":9195365301094948864},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-27 13:14:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 13:14:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 13:14:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995376384001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:14:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-27 13:14:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-27 13:14:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358827475150569472,"km_value":358827475150569.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:14:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195365301094948864,"description":"Unknown IO ID 45"} 
[2026-07-27 13:14:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995376384001,"power":27843,"unknown_250":206,"unknown_85":12544,"ignition":11,"odometer":null,"unknown_45":9195365301094948864}} 
[2026-07-27 13:14:09] local.INFO: DEBUG: GPS processor result {"connection_id":145276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:14:09] local.INFO: GPS data processed {"connection_id":145276,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:14:09] local.INFO: Acknowledgment sent {"connection_id":145276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:14:32] local.INFO: TCP Data received {"connection_id":142860,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:14:32] local.INFO: Processing buffer {"connection_id":142860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:14:32] local.INFO: IMEI packet received {"connection_id":142860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 13:14:32] local.INFO: IMEI acknowledgment sent {"connection_id":142860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 13:14:33] local.INFO: TCP Data received {"connection_id":142860,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:14:33] local.INFO: Processing buffer {"connection_id":142860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:14:33] local.INFO: IMEI packet received {"connection_id":142860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 13:14:33] local.INFO: IMEI acknowledgment sent {"connection_id":142860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:14:33] local.INFO: TCP Data received {"connection_id":142860,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:14:33] local.INFO: Processing buffer {"connection_id":142860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:14:33] local.INFO: IMEI packet received {"connection_id":142860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 13:14:33] local.INFO: IMEI acknowledgment sent {"connection_id":142860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:14:34] local.INFO: TCP Data received {"connection_id":142860,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:14:34] local.INFO: Processing buffer {"connection_id":142860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:14:34] local.INFO: IMEI packet received {"connection_id":142860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 13:14:34] local.INFO: IMEI acknowledgment sent {"connection_id":142860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:15:55] local.INFO: TCP Data received {"connection_id":142991,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2866300012d1a68800720ba18004400dd28..."} 
[2026-07-27 13:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2866300012d1a68800720ba18004400dd28..."} 
[2026-07-27 13:15:55] local.INFO: Processing buffer {"connection_id":142991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2866300012d1a68800720ba18004400dd28..."} 
[2026-07-27 13:15:55] local.INFO: Packet analysis {"connection_id":142991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa286"} 
[2026-07-27 13:15:55] local.INFO: Extracted packet for processing {"connection_id":142991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa286"} 
[2026-07-27 13:15:55] local.INFO: GPS Element Parsed {"raw_longitude":756705408,"raw_latitude":119585304,"longitude_deg":75.6705408,"latitude_deg":11.9585304,"altitude":68,"angle":221,"satellites":40,"speed":0,"hex_longitude":"2d1a6880","hex_latitude":"0720ba18","is_valid_coordinates":true} 
[2026-07-27 13:15:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:15:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995359488001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:15:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8853155957702656,"note":"Value kept but may cause issues"} 
[2026-07-27 13:15:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1902911610666227712,"note":"Value kept but may cause issues"} 
[2026-07-27 13:15:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:15:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785138144000,"timestamp_ms":1785138144000,"timestamp_seconds":1785138144,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2866300"} 
[2026-07-27 13:15:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:15:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:15:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-27 13:15:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:15:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:15:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:15:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:15:55] local.INFO: Teltonika packet parsed successfully {"connection_id":142991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:15:55] local.INFO: Passing IMEI to GPS processor {"connection_id":142991,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:15:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":142991,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:15:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:15:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 13:15:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 13:15:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995359488001,"66":13048,"121":206,"28":31744,"24":0,"16":8853155957702656,"45":1902911610666227712},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 13:15:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 13:15:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 13:15:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995359488001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:15:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 13:15:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 13:15:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8853155957702656,"km_value":8853155957702.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:15:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1902911610666227712,"description":"Unknown IO ID 45"} 
[2026-07-27 13:15:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995359488001,"power":13048,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1902911610666227712}} 
[2026-07-27 13:15:55] local.INFO: DEBUG: GPS processor result {"connection_id":142991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553251,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:15:55] local.INFO: GPS data processed {"connection_id":142991,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:15:55] local.INFO: Acknowledgment sent {"connection_id":142991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:16:00] local.INFO: TCP Data received {"connection_id":145277,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145277,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:16:00] local.INFO: Processing buffer {"connection_id":145277,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:16:00] local.INFO: IMEI packet received {"connection_id":145277,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 13:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":145277,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 13:16:01] local.INFO: TCP Data received {"connection_id":145277,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145277,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:16:01] local.INFO: Processing buffer {"connection_id":145277,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:16:01] local.INFO: IMEI packet received {"connection_id":145277,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 13:16:01] local.INFO: IMEI acknowledgment sent {"connection_id":145277,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:16:03] local.INFO: TCP Data received {"connection_id":145277,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145277,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:16:03] local.INFO: Processing buffer {"connection_id":145277,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:16:03] local.INFO: IMEI packet received {"connection_id":145277,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 13:16:03] local.INFO: IMEI acknowledgment sent {"connection_id":145277,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:16:05] local.INFO: TCP Data received {"connection_id":145277,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145277,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:16:05] local.INFO: Processing buffer {"connection_id":145277,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:16:05] local.INFO: IMEI packet received {"connection_id":145277,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 13:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":145277,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:16:06] local.INFO: TCP Data received {"connection_id":145277,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa288acf0012d1a3a400720ef00004500cc26..."} 
[2026-07-27 13:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa288acf0012d1a3a400720ef00004500cc26..."} 
[2026-07-27 13:16:06] local.INFO: Processing buffer {"connection_id":145277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa288acf0012d1a3a400720ef00004500cc26..."} 
[2026-07-27 13:16:06] local.INFO: Packet analysis {"connection_id":145277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa288"} 
[2026-07-27 13:16:06] local.INFO: Extracted packet for processing {"connection_id":145277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa288"} 
[2026-07-27 13:16:06] local.INFO: GPS Element Parsed {"raw_longitude":756693568,"raw_latitude":119598848,"longitude_deg":75.6693568,"latitude_deg":11.9598848,"altitude":69,"angle":204,"satellites":38,"speed":20,"hex_longitude":"2d1a3a40","hex_latitude":"0720ef00","is_valid_coordinates":true} 
[2026-07-27 13:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995402240001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:16:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8854358548545536,"note":"Value kept but may cause issues"} 
[2026-07-27 13:16:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1890878555415668736,"note":"Value kept but may cause issues"} 
[2026-07-27 13:16:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,187,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:16:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785138294000,"timestamp_ms":1785138294000,"timestamp_seconds":1785138294,"priority":1,"record_length":96,"hex_timestamp":"0000019fa288acf0"} 
[2026-07-27 13:16:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:16:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-27 13:16:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:16:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:16:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:16:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:16:06] local.INFO: Teltonika packet parsed successfully {"connection_id":145277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:16:06] local.INFO: Passing IMEI to GPS processor {"connection_id":145277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:16:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":145277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:16:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:16:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 13:16:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 13:16:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995402240001,"66":14265,"169":206,"187":32768,"24":20,"16":8854358548545536,"45":1890878555415668736},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,187,24,16,45]} 
[2026-07-27 13:16:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 13:16:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 13:16:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995402240001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:16:06] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-27 13:16:06] local.INFO: Unknown IO ID detected {"io_id":187,"value":32768,"description":"Unknown IO ID 187"} 
[2026-07-27 13:16:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8854358548545536,"km_value":8854358548545.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:16:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1890878555415668736,"description":"Unknown IO ID 45"} 
[2026-07-27 13:16:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995402240001,"power":14265,"unknown_169":206,"unknown_187":32768,"ignition":20,"odometer":null,"unknown_45":1890878555415668736}} 
[2026-07-27 13:16:06] local.INFO: DEBUG: GPS processor result {"connection_id":145277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553252,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:16:06] local.INFO: GPS data processed {"connection_id":145277,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:16:06] local.INFO: Acknowledgment sent {"connection_id":145277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:16:42] local.INFO: TCP Data received {"connection_id":145277,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2898f80012d19c7000720a3a00036010923..."} 
[2026-07-27 13:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2898f80012d19c7000720a3a00036010923..."} 
[2026-07-27 13:16:42] local.INFO: Processing buffer {"connection_id":145277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2898f80012d19c7000720a3a00036010923..."} 
[2026-07-27 13:16:42] local.INFO: Packet analysis {"connection_id":145277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa289"} 
[2026-07-27 13:16:42] local.INFO: Extracted packet for processing {"connection_id":145277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa289"} 
[2026-07-27 13:16:42] local.INFO: GPS Element Parsed {"raw_longitude":756664064,"raw_latitude":119579552,"longitude_deg":75.6664064,"latitude_deg":11.9579552,"altitude":54,"angle":265,"satellites":35,"speed":20,"hex_longitude":"2d19c700","hex_latitude":"0720a3a0","is_valid_coordinates":true} 
[2026-07-27 13:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:16:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995417856001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:16:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856140959973376,"note":"Value kept but may cause issues"} 
[2026-07-27 13:16:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858016351879419904,"note":"Value kept but may cause issues"} 
[2026-07-27 13:16:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:16:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785138352000,"timestamp_ms":1785138352000,"timestamp_seconds":1785138352,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2898f80"} 
[2026-07-27 13:16:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:16:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-07-27 13:16:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:16:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:16:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:16:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:16:42] local.INFO: Teltonika packet parsed successfully {"connection_id":145277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:16:42] local.INFO: Passing IMEI to GPS processor {"connection_id":145277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:16:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":145277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:16:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:16:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 13:16:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 13:16:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995417856001,"66":14135,"121":206,"28":31744,"24":20,"16":8856140959973376,"45":1858016351879419904},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 13:16:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 13:16:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 13:16:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995417856001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:16:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 13:16:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 13:16:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856140959973376,"km_value":8856140959973.377,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:16:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858016351879419904,"description":"Unknown IO ID 45"} 
[2026-07-27 13:16:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995417856001,"power":14135,"unknown_121":206,"unknown_28":31744,"ignition":20,"odometer":null,"unknown_45":1858016351879419904}} 
[2026-07-27 13:16:42] local.INFO: DEBUG: GPS processor result {"connection_id":145277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553253,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:16:42] local.INFO: GPS data processed {"connection_id":145277,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:16:42] local.INFO: Acknowledgment sent {"connection_id":145277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:17:05] local.INFO: TCP Data received {"connection_id":145278,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145278,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:17:05] local.INFO: Processing buffer {"connection_id":145278,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:17:05] local.INFO: IMEI packet received {"connection_id":145278,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 13:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":145278,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 13:17:06] local.INFO: TCP Data received {"connection_id":145278,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145278,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:17:06] local.INFO: Processing buffer {"connection_id":145278,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:17:06] local.INFO: IMEI packet received {"connection_id":145278,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 13:17:06] local.INFO: IMEI acknowledgment sent {"connection_id":145278,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:17:07] local.INFO: TCP Data received {"connection_id":145278,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2899750012d19c2800720a4580036011b23..."} 
[2026-07-27 13:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2899750012d19c2800720a4580036011b23..."} 
[2026-07-27 13:17:07] local.INFO: Processing buffer {"connection_id":145278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2899750012d19c2800720a4580036011b23..."} 
[2026-07-27 13:17:07] local.INFO: Packet analysis {"connection_id":145278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa289"} 
[2026-07-27 13:17:07] local.INFO: Extracted packet for processing {"connection_id":145278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa289"} 
[2026-07-27 13:17:07] local.INFO: GPS Element Parsed {"raw_longitude":756662912,"raw_latitude":119579736,"longitude_deg":75.6662912,"latitude_deg":11.9579736,"altitude":54,"angle":283,"satellites":35,"speed":23,"hex_longitude":"2d19c280","hex_latitude":"0720a458","is_valid_coordinates":true} 
[2026-07-27 13:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:17:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995418112001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:17:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856196794548224,"note":"Value kept but may cause issues"} 
[2026-07-27 13:17:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857453401925984256,"note":"Value kept but may cause issues"} 
[2026-07-27 13:17:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:17:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785138354000,"timestamp_ms":1785138354000,"timestamp_seconds":1785138354,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2899750"} 
[2026-07-27 13:17:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:17:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-07-27 13:17:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:17:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:17:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:17:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:17:07] local.INFO: Teltonika packet parsed successfully {"connection_id":145278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:17:07] local.INFO: Passing IMEI to GPS processor {"connection_id":145278,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:17:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":145278,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:17:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:17:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 13:17:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 13:17:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995418112001,"66":14157,"121":206,"28":31744,"24":23,"16":8856196794548224,"45":1857453401925984256},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 13:17:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 13:17:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 13:17:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995418112001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:17:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 13:17:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 13:17:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856196794548224,"km_value":8856196794548.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:17:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857453401925984256,"description":"Unknown IO ID 45"} 
[2026-07-27 13:17:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995418112001,"power":14157,"unknown_121":206,"unknown_28":31744,"ignition":23,"odometer":null,"unknown_45":1857453401925984256}} 
[2026-07-27 13:17:07] local.INFO: DEBUG: GPS processor result {"connection_id":145278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553254,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:17:07] local.INFO: GPS data processed {"connection_id":145278,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:17:07] local.INFO: Acknowledgment sent {"connection_id":145278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:17:09] local.INFO: TCP Data received {"connection_id":145278,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa289a308012d19bc000720a7180036012922..."} 
[2026-07-27 13:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa289a308012d19bc000720a7180036012922..."} 
[2026-07-27 13:17:09] local.INFO: Processing buffer {"connection_id":145278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa289a308012d19bc000720a7180036012922..."} 
[2026-07-27 13:17:09] local.INFO: Packet analysis {"connection_id":145278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa289"} 
[2026-07-27 13:17:09] local.INFO: Extracted packet for processing {"connection_id":145278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa289"} 
[2026-07-27 13:17:09] local.INFO: GPS Element Parsed {"raw_longitude":756661248,"raw_latitude":119580440,"longitude_deg":75.6661248,"latitude_deg":11.958044,"altitude":54,"angle":297,"satellites":34,"speed":22,"hex_longitude":"2d19bc00","hex_latitude":"0720a718","is_valid_coordinates":true} 
[2026-07-27 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-07-27 13:17:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995418624001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:17:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856282693894144,"note":"Value kept but may cause issues"} 
[2026-07-27 13:17:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856186764530833408,"note":"Value kept but may cause issues"} 
[2026-07-27 13:17:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:17:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785138357000,"timestamp_ms":1785138357000,"timestamp_seconds":1785138357,"priority":1,"record_length":96,"hex_timestamp":"0000019fa289a308"} 
[2026-07-27 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-07-27 13:17:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-27 13:17:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 13:17:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:17:09] local.INFO: Teltonika packet parsed successfully {"connection_id":145278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:17:09] local.INFO: Passing IMEI to GPS processor {"connection_id":145278,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:17:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":145278,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:17:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:17:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 13:17:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 13:17:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995418624001,"66":14374,"121":206,"28":31744,"24":22,"16":8856282693894144,"45":1856186764530833408},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 13:17:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 13:17:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 13:17:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995418624001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:17:09] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 13:17:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 13:17:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856282693894144,"km_value":8856282693894.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:17:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856186764530833408,"description":"Unknown IO ID 45"} 
[2026-07-27 13:17:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995418624001,"power":14374,"unknown_121":206,"unknown_28":31744,"ignition":22,"odometer":null,"unknown_45":1856186764530833408}} 
[2026-07-27 13:17:09] local.INFO: DEBUG: GPS processor result {"connection_id":145278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553255,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:17:09] local.INFO: GPS data processed {"connection_id":145278,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:17:09] local.INFO: Acknowledgment sent {"connection_id":145278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:17:40] local.INFO: TCP Data received {"connection_id":145278,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa289c630012d19a8c00720af980036011c24..."} 
[2026-07-27 13:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa289c630012d19a8c00720af980036011c24..."} 
[2026-07-27 13:17:40] local.INFO: Processing buffer {"connection_id":145278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa289c630012d19a8c00720af980036011c24..."} 
[2026-07-27 13:17:40] local.INFO: Packet analysis {"connection_id":145278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa289"} 
[2026-07-27 13:17:40] local.INFO: Extracted packet for processing {"connection_id":145278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa289"} 
[2026-07-27 13:17:40] local.INFO: GPS Element Parsed {"raw_longitude":756656320,"raw_latitude":119582616,"longitude_deg":75.665632,"latitude_deg":11.9582616,"altitude":54,"angle":284,"satellites":36,"speed":21,"hex_longitude":"2d19a8c0","hex_latitude":"0720af98","is_valid_coordinates":true} 
[2026-07-27 13: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-07-27 13:17:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995419392001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:17:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856540391931904,"note":"Value kept but may cause issues"} 
[2026-07-27 13:17:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854357177182394368,"note":"Value kept but may cause issues"} 
[2026-07-27 13:17:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:17:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785138366000,"timestamp_ms":1785138366000,"timestamp_seconds":1785138366,"priority":1,"record_length":96,"hex_timestamp":"0000019fa289c630"} 
[2026-07-27 13:17:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:17:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-27 13:17:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13: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-07-27 13:17:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:17:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:17:40] local.INFO: Teltonika packet parsed successfully {"connection_id":145278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:17:40] local.INFO: Passing IMEI to GPS processor {"connection_id":145278,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:17:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":145278,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:17:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:17:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 13:17:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 13:17:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995419392001,"66":13646,"121":206,"28":31744,"24":21,"16":8856540391931904,"45":1854357177182394368},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 13:17:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 13:17:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 13:17:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995419392001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:17:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 13:17:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 13:17:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856540391931904,"km_value":8856540391931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:17:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854357177182394368,"description":"Unknown IO ID 45"} 
[2026-07-27 13:17:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995419392001,"power":13646,"unknown_121":206,"unknown_28":31744,"ignition":21,"odometer":null,"unknown_45":1854357177182394368}} 
[2026-07-27 13:17:40] local.INFO: DEBUG: GPS processor result {"connection_id":145278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553256,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:17:40] local.INFO: GPS data processed {"connection_id":145278,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:17:40] local.INFO: Acknowledgment sent {"connection_id":145278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:17:56] local.INFO: TCP Data received {"connection_id":142861,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142861,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:17:56] local.INFO: Processing buffer {"connection_id":142861,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:17:56] local.INFO: IMEI packet received {"connection_id":142861,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 13:17:56] local.INFO: IMEI acknowledgment sent {"connection_id":142861,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 13:18:00] local.INFO: TCP Data received {"connection_id":142861,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142861,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:18:00] local.INFO: Processing buffer {"connection_id":142861,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:18:00] local.INFO: IMEI packet received {"connection_id":142861,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 13:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":142861,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:18:01] local.INFO: TCP Data received {"connection_id":142861,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142861,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:18:01] local.INFO: Processing buffer {"connection_id":142861,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:18:01] local.INFO: IMEI packet received {"connection_id":142861,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 13:18:01] local.INFO: IMEI acknowledgment sent {"connection_id":142861,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:18:02] local.INFO: TCP Data received {"connection_id":142861,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142861,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:18:02] local.INFO: Processing buffer {"connection_id":142861,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:18:02] local.INFO: IMEI packet received {"connection_id":142861,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 13:18:02] local.INFO: IMEI acknowledgment sent {"connection_id":142861,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:18:02] local.INFO: TCP Data received {"connection_id":142861,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa28ac030012d18ec400720e1b00036014824..."} 
[2026-07-27 13:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa28ac030012d18ec400720e1b00036014824..."} 
[2026-07-27 13:18:02] local.INFO: Processing buffer {"connection_id":142861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa28ac030012d18ec400720e1b00036014824..."} 
[2026-07-27 13:18:02] local.INFO: Packet analysis {"connection_id":142861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa28a"} 
[2026-07-27 13:18:02] local.INFO: Extracted packet for processing {"connection_id":142861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa28a"} 
[2026-07-27 13:18:02] local.INFO: GPS Element Parsed {"raw_longitude":756608064,"raw_latitude":119595440,"longitude_deg":75.6608064,"latitude_deg":11.959544,"altitude":54,"angle":328,"satellites":36,"speed":30,"hex_longitude":"2d18ec40","hex_latitude":"0720e1b0","is_valid_coordinates":true} 
[2026-07-27 13:18:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:18:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995437312001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:18:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8859052947800064,"note":"Value kept but may cause issues"} 
[2026-07-27 13:18:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1797217756913498112,"note":"Value kept but may cause issues"} 
[2026-07-27 13:18:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:18:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785138430000,"timestamp_ms":1785138430000,"timestamp_seconds":1785138430,"priority":1,"record_length":96,"hex_timestamp":"0000019fa28ac030"} 
[2026-07-27 13:18:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:18:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:18:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-07-27 13:18:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:18:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:18:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:18:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:18:03] local.INFO: Teltonika packet parsed successfully {"connection_id":142861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:18:03] local.INFO: Passing IMEI to GPS processor {"connection_id":142861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:18:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":142861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:18:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:18:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 13:18:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 13:18:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995437312001,"66":14363,"121":206,"28":31744,"24":30,"16":8859052947800064,"45":1797217756913498112},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 13:18:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 13:18:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 13:18:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995437312001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:18:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 13:18:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 13:18:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8859052947800064,"km_value":8859052947800.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:18:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1797217756913498112,"description":"Unknown IO ID 45"} 
[2026-07-27 13:18:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995437312001,"power":14363,"unknown_121":206,"unknown_28":31744,"ignition":30,"odometer":null,"unknown_45":1797217756913498112}} 
[2026-07-27 13:18:03] local.INFO: DEBUG: GPS processor result {"connection_id":142861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553257,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:18:03] local.INFO: GPS data processed {"connection_id":142861,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:18:03] local.INFO: Acknowledgment sent {"connection_id":142861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:18:05] local.INFO: TCP Data received {"connection_id":142861,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa28adf70012d18dec00720f618003a013c23..."} 
[2026-07-27 13:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa28adf70012d18dec00720f618003a013c23..."} 
[2026-07-27 13:18:05] local.INFO: Processing buffer {"connection_id":142861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa28adf70012d18dec00720f618003a013c23..."} 
[2026-07-27 13:18:05] local.INFO: Packet analysis {"connection_id":142861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa28a"} 
[2026-07-27 13:18:05] local.INFO: Extracted packet for processing {"connection_id":142861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa28a"} 
[2026-07-27 13:18:05] local.INFO: GPS Element Parsed {"raw_longitude":756604608,"raw_latitude":119600664,"longitude_deg":75.6604608,"latitude_deg":11.9600664,"altitude":58,"angle":316,"satellites":35,"speed":31,"hex_longitude":"2d18dec0","hex_latitude":"0720f618","is_valid_coordinates":true} 
[2026-07-27 13:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:18:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995438080001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:18:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8859357890478080,"note":"Value kept but may cause issues"} 
[2026-07-27 13:18:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1795880750774595584,"note":"Value kept but may cause issues"} 
[2026-07-27 13:18:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:18:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785138438000,"timestamp_ms":1785138438000,"timestamp_seconds":1785138438,"priority":1,"record_length":96,"hex_timestamp":"0000019fa28adf70"} 
[2026-07-27 13:18:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:18:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-07-27 13:18:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:18:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:18:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:18:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:18:05] local.INFO: Teltonika packet parsed successfully {"connection_id":142861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:18:05] local.INFO: Passing IMEI to GPS processor {"connection_id":142861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:18:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":142861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:18:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:18:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 13:18:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 13:18:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995438080001,"66":14341,"121":206,"28":31744,"24":31,"16":8859357890478080,"45":1795880750774595584},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 13:18:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 13:18:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 13:18:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995438080001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:18:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 13:18:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 13:18:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8859357890478080,"km_value":8859357890478.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:18:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1795880750774595584,"description":"Unknown IO ID 45"} 
[2026-07-27 13:18:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995438080001,"power":14341,"unknown_121":206,"unknown_28":31744,"ignition":31,"odometer":null,"unknown_45":1795880750774595584}} 
[2026-07-27 13:18:05] local.INFO: DEBUG: GPS processor result {"connection_id":142861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553258,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:18:05] local.INFO: GPS data processed {"connection_id":142861,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:18:05] local.INFO: Acknowledgment sent {"connection_id":142861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:18:37] local.INFO: TCP Data received {"connection_id":142861,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa28aef10012d18d6800720ff28003b014825..."} 
[2026-07-27 13:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa28aef10012d18d6800720ff28003b014825..."} 
[2026-07-27 13:18:37] local.INFO: Processing buffer {"connection_id":142861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa28aef10012d18d6800720ff28003b014825..."} 
[2026-07-27 13:18:37] local.INFO: Packet analysis {"connection_id":142861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa28a"} 
[2026-07-27 13:18:37] local.INFO: Extracted packet for processing {"connection_id":142861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa28a"} 
[2026-07-27 13:18:37] local.INFO: GPS Element Parsed {"raw_longitude":756602496,"raw_latitude":119602984,"longitude_deg":75.6602496,"latitude_deg":11.9602984,"altitude":59,"angle":328,"satellites":37,"speed":31,"hex_longitude":"2d18d680","hex_latitude":"0720ff28","is_valid_coordinates":true} 
[2026-07-27 13:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995440128001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8859508214333440,"note":"Value kept but may cause issues"} 
[2026-07-27 13:18:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1792080838590339072,"note":"Value kept but may cause issues"} 
[2026-07-27 13:18:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785138442000,"timestamp_ms":1785138442000,"timestamp_seconds":1785138442,"priority":1,"record_length":96,"hex_timestamp":"0000019fa28aef10"} 
[2026-07-27 13:18:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:18:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-27 13:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6973196855,"note":"Value kept but may cause issues"} 
[2026-07-27 13:18:37] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503734788227072,"note":"Value kept but may cause issues"} 
[2026-07-27 13:18:37] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2726969160,"note":"Value kept but may cause issues"} 
[2026-07-27 13:18:37] local.WARNING: Large IO value detected {"io_id":120,"raw_value":84751739248910510,"note":"Value kept but may cause issues"} 
[2026-07-27 13:18:37] local.WARNING: Large IO value detected {"io_id":162,"raw_value":2324011009,"note":"Value kept but may cause issues"} 
[2026-07-27 13:18:37] local.WARNING: Large IO value detected {"io_id":32,"raw_value":12667624374675200,"note":"Value kept but may cause issues"} 
[2026-07-27 13:18:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-27 13:18:37] local.WARNING: Large IO value detected {"io_id":86,"raw_value":3087084825,"note":"Value kept but may cause issues"} 
[2026-07-27 13:18:37] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,121,28,24,241,158,16,159,192,45,64,225,54,36,10,66,180,218,53,38,133,1,240,120,162,32,4,113,205,23,86,41,8,34,239,56,2,31,7,44,37,206],"length":529,"final_offset":659,"validated_count":42,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-07-27 13:18:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4179688050200084480,"timestamp_seconds":4179688050200084.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 13:18:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":142861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":142861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":142861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:18:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 13:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 13:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995440128001,"66":14113,"121":206,"28":31744,"24":31,"16":8859508214333440,"45":1792080838590339072},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 13:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 13:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 13:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995440128001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:18:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 13:18:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 13:18:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8859508214333440,"km_value":8859508214333.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:18:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1792080838590339072,"description":"Unknown IO ID 45"} 
[2026-07-27 13:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995440128001,"power":14113,"unknown_121":206,"unknown_28":31744,"ignition":31,"odometer":null,"unknown_45":1792080838590339072}} 
[2026-07-27 13:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":142861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553259,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:18:37] local.INFO: GPS data processed {"connection_id":142861,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:18:37] local.INFO: Acknowledgment sent {"connection_id":142861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:19:00] local.INFO: TCP Data received {"connection_id":142862,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142862,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:19:00] local.INFO: Processing buffer {"connection_id":142862,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:19:00] local.INFO: IMEI packet received {"connection_id":142862,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 13:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":142862,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 13:19:02] local.INFO: TCP Data received {"connection_id":142862,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142862,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:19:02] local.INFO: Processing buffer {"connection_id":142862,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:19:02] local.INFO: IMEI packet received {"connection_id":142862,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 13:19:02] local.INFO: IMEI acknowledgment sent {"connection_id":142862,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:19:03] local.INFO: TCP Data received {"connection_id":142862,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa28af6e0012d18d3c0072104f8003c015426..."} 
[2026-07-27 13:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa28af6e0012d18d3c0072104f8003c015426..."} 
[2026-07-27 13:19:03] local.INFO: Processing buffer {"connection_id":142862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa28af6e0012d18d3c0072104f8003c015426..."} 
[2026-07-27 13:19:03] local.INFO: Packet analysis {"connection_id":142862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa28a"} 
[2026-07-27 13:19:03] local.INFO: Extracted packet for processing {"connection_id":142862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa28a"} 
[2026-07-27 13:19:03] local.INFO: GPS Element Parsed {"raw_longitude":756601792,"raw_latitude":119604472,"longitude_deg":75.6601792,"latitude_deg":11.9604472,"altitude":60,"angle":340,"satellites":38,"speed":33,"hex_longitude":"2d18d3c0","hex_latitude":"072104f8","is_valid_coordinates":true} 
[2026-07-27 13:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:19:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995441152001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:19:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8859585523744768,"note":"Value kept but may cause issues"} 
[2026-07-27 13:19:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789758670033070080,"note":"Value kept but may cause issues"} 
[2026-07-27 13:19:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:19:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785138444000,"timestamp_ms":1785138444000,"timestamp_seconds":1785138444,"priority":1,"record_length":96,"hex_timestamp":"0000019fa28af6e0"} 
[2026-07-27 13:19:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:19:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-27 13:19:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:19:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:19:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:19:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:19:03] local.INFO: Teltonika packet parsed successfully {"connection_id":142862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:19:03] local.INFO: Passing IMEI to GPS processor {"connection_id":142862,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:19:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":142862,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:19:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:19:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 13:19:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 13:19:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995441152001,"66":13276,"121":206,"28":31744,"24":33,"16":8859585523744768,"45":1789758670033070080},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 13:19:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 13:19:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 13:19:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995441152001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:19:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 13:19:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 13:19:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8859585523744768,"km_value":8859585523744.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:19:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789758670033070080,"description":"Unknown IO ID 45"} 
[2026-07-27 13:19:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995441152001,"power":13276,"unknown_121":206,"unknown_28":31744,"ignition":33,"odometer":null,"unknown_45":1789758670033070080}} 
[2026-07-27 13:19:04] local.INFO: DEBUG: GPS processor result {"connection_id":142862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553260,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:19:04] local.INFO: GPS data processed {"connection_id":142862,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:19:04] local.INFO: Acknowledgment sent {"connection_id":142862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:19:29] local.INFO: TCP Data received {"connection_id":142993,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 13:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142993,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 13:19:29] local.INFO: Processing buffer {"connection_id":142993,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 13:19:29] local.INFO: IMEI packet received {"connection_id":142993,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 13:19:29] local.INFO: IMEI acknowledgment sent {"connection_id":142993,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 13:19:34] local.INFO: TCP Data received {"connection_id":142862,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa28b0680012d18d100072111b0003d016526..."} 
[2026-07-27 13:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa28b0680012d18d100072111b0003d016526..."} 
[2026-07-27 13:19:34] local.INFO: Processing buffer {"connection_id":142862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa28b0680012d18d100072111b0003d016526..."} 
[2026-07-27 13:19:34] local.INFO: Packet analysis {"connection_id":142862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa28b"} 
[2026-07-27 13:19:34] local.INFO: Extracted packet for processing {"connection_id":142862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa28b"} 
[2026-07-27 13:19:34] local.INFO: GPS Element Parsed {"raw_longitude":756601088,"raw_latitude":119607728,"longitude_deg":75.6601088,"latitude_deg":11.9607728,"altitude":61,"angle":357,"satellites":38,"speed":32,"hex_longitude":"2d18d100","hex_latitude":"072111b0","is_valid_coordinates":true} 
[2026-07-27 13:19:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:19:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995441664001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:19:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8859748732502016,"note":"Value kept but may cause issues"} 
[2026-07-27 13:19:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788984613847496704,"note":"Value kept but may cause issues"} 
[2026-07-27 13:19:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:19:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785138448000,"timestamp_ms":1785138448000,"timestamp_seconds":1785138448,"priority":1,"record_length":96,"hex_timestamp":"0000019fa28b0680"} 
[2026-07-27 13:19:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:19:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:19:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-27 13:19:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:19:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:19:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:19:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:19:34] local.INFO: Teltonika packet parsed successfully {"connection_id":142862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:19:34] local.INFO: Passing IMEI to GPS processor {"connection_id":142862,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:19:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":142862,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:19:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:19:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 13:19:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 13:19:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995441664001,"66":14374,"121":206,"28":31744,"24":32,"16":8859748732502016,"45":1788984613847496704},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 13:19:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 13:19:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 13:19:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995441664001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:19:34] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 13:19:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 13:19:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8859748732502016,"km_value":8859748732502.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:19:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788984613847496704,"description":"Unknown IO ID 45"} 
[2026-07-27 13:19:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995441664001,"power":14374,"unknown_121":206,"unknown_28":31744,"ignition":32,"odometer":null,"unknown_45":1788984613847496704}} 
[2026-07-27 13:19:35] local.INFO: DEBUG: GPS processor result {"connection_id":142862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553261,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:19:35] local.INFO: GPS data processed {"connection_id":142862,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:19:35] local.INFO: Acknowledgment sent {"connection_id":142862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:19:46] local.INFO: TCP Data received {"connection_id":142994,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:19:46] local.INFO: Processing buffer {"connection_id":142994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:19:46] local.INFO: IMEI packet received {"connection_id":142994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 13:19:46] local.INFO: IMEI acknowledgment sent {"connection_id":142994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 13:19:48] local.INFO: TCP Data received {"connection_id":142994,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:19:48] local.INFO: Processing buffer {"connection_id":142994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:19:48] local.INFO: IMEI packet received {"connection_id":142994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 13:19:48] local.INFO: IMEI acknowledgment sent {"connection_id":142994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:20:00] local.INFO: TCP Data received {"connection_id":142995,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142995,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:20:00] local.INFO: Processing buffer {"connection_id":142995,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:20:00] local.INFO: IMEI packet received {"connection_id":142995,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 13:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":142995,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 13:20:01] local.INFO: TCP Data received {"connection_id":142994,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:20:01] local.INFO: Processing buffer {"connection_id":142994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:20:01] local.INFO: IMEI packet received {"connection_id":142994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 13:20:01] local.INFO: IMEI acknowledgment sent {"connection_id":142994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:20:01] local.INFO: TCP Data received {"connection_id":142994,"ip":"42.109.136.7","data_length":1348,"data_hex":"000000000000030f8e0a0000019fa28c3730012d7f9f0005ac2b08000b00fa2e..."} 
[2026-07-27 13:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142994,"packet_length":1348,"packet_hex":"000000000000030f8e0a0000019fa28c3730012d7f9f0005ac2b08000b00fa2e..."} 
[2026-07-27 13:20:01] local.INFO: Processing buffer {"connection_id":142994,"buffer_length":1348,"buffer_hex":"000000000000030f8e0a0000019fa28c3730012d7f9f0005ac2b08000b00fa2e..."} 
[2026-07-27 13:20:01] local.INFO: Packet analysis {"connection_id":142994,"data_field_length":783,"total_packet_length":795,"buffer_length":1348,"packet_hex_start":"000000000000030f8e0a0000019fa28c"} 
[2026-07-27 13:20:01] local.INFO: Extracted packet for processing {"connection_id":142994,"packet_length":795,"remaining_buffer_length":553,"packet_hex_start":"000000000000030f8e0a0000019fa28c"} 
[2026-07-27 13:20:01] local.INFO: GPS Element Parsed {"raw_longitude":763338496,"raw_latitude":95169288,"longitude_deg":76.3338496,"latitude_deg":9.5169288,"altitude":11,"angle":250,"satellites":46,"speed":8,"hex_longitude":"2d7f9f00","hex_latitude":"05ac2b08","is_valid_coordinates":true} 
[2026-07-27 13:20:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:20:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995460864001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:20:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358840175368863744,"note":"Value kept but may cause issues"} 
[2026-07-27 13:20:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196491200942448640,"note":"Value kept but may cause issues"} 
[2026-07-27 13:20:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:20:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785138526000,"timestamp_ms":1785138526000,"timestamp_seconds":1785138526,"priority":1,"record_length":96,"hex_timestamp":"0000019fa28c3730"} 
[2026-07-27 13:20:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:20:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:20:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-27 13:20:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:20:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:20:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:20:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:20:01] local.INFO: Teltonika packet parsed successfully {"connection_id":142994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:20:01] local.INFO: Passing IMEI to GPS processor {"connection_id":142994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:20:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":142994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:20:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:20:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 13:20:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 13:20:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995460864001,"66":27767,"68":206,"85":14336,"24":8,"16":358840175368863744,"45":9196491200942448640},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-07-27 13:20:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 13:20:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 13:20:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995460864001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:20:01] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-07-27 13:20:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-27 13:20:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358840175368863744,"km_value":358840175368863.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:20:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196491200942448640,"description":"Unknown IO ID 45"} 
[2026-07-27 13:20:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995460864001,"power":27767,"unknown_68":206,"unknown_85":14336,"ignition":8,"odometer":null,"unknown_45":9196491200942448640}} 
[2026-07-27 13:20:01] local.INFO: DEBUG: GPS processor result {"connection_id":142994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:20:01] local.INFO: GPS data processed {"connection_id":142994,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:20:01] local.INFO: Acknowledgment sent {"connection_id":142994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:20:01] local.INFO: Packet analysis {"connection_id":142994,"data_field_length":783,"total_packet_length":795,"buffer_length":553,"packet_hex_start":"000000000000030f8e0a0000019fa28c"} 
[2026-07-27 13:20:01] local.INFO: Incomplete packet, waiting for more data {"connection_id":142994,"needed":795,"available":553} 
[2026-07-27 13:20:03] local.INFO: TCP Data received {"connection_id":142994,"ip":"42.109.136.7","data_length":1037,"data_hex":"0000000000019fa28b50b8012d7f6ac005acc7f0000a009e2b00250000000a00..."} 
[2026-07-27 13:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142994,"packet_length":1037,"packet_hex":"0000000000019fa28b50b8012d7f6ac005acc7f0000a009e2b00250000000a00..."} 
[2026-07-27 13:20:03] local.INFO: Processing buffer {"connection_id":142994,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019fa28c3b18012d7f9e0005ac2ae8000b01102e..."} 
[2026-07-27 13:20:03] local.INFO: Packet analysis {"connection_id":142994,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fa28c"} 
[2026-07-27 13:20:03] local.INFO: Extracted packet for processing {"connection_id":142994,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa28c"} 
[2026-07-27 13:20:03] local.INFO: GPS Element Parsed {"raw_longitude":763338240,"raw_latitude":95169256,"longitude_deg":76.333824,"latitude_deg":9.5169256,"altitude":11,"angle":272,"satellites":46,"speed":10,"hex_longitude":"2d7f9e00","hex_latitude":"05ac2ae8","is_valid_coordinates":true} 
[2026-07-27 13:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:20:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995462656001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:20:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358840183958798336,"note":"Value kept but may cause issues"} 
[2026-07-27 13:20:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196068988477179904,"note":"Value kept but may cause issues"} 
[2026-07-27 13:20:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:20:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785138527000,"timestamp_ms":1785138527000,"timestamp_seconds":1785138527,"priority":1,"record_length":96,"hex_timestamp":"0000019fa28c3b18"} 
[2026-07-27 13:20:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:20:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-27 13:20:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:20:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:20:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:20:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:20:03] local.INFO: Teltonika packet parsed successfully {"connection_id":142994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:20:03] local.INFO: Passing IMEI to GPS processor {"connection_id":142994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:20:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":142994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:20:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:20:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 13:20:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 13:20:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995462656001,"66":27843,"68":206,"85":14336,"24":10,"16":358840183958798336,"45":9196068988477179904},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-07-27 13:20:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 13:20:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 13:20:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995462656001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:20:03] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-07-27 13:20:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-27 13:20:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358840183958798336,"km_value":358840183958798.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:20:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196068988477179904,"description":"Unknown IO ID 45"} 
[2026-07-27 13:20:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995462656001,"power":27843,"unknown_68":206,"unknown_85":14336,"ignition":10,"odometer":null,"unknown_45":9196068988477179904}} 
[2026-07-27 13:20:03] local.INFO: DEBUG: GPS processor result {"connection_id":142994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:20:03] local.INFO: GPS data processed {"connection_id":142994,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:20:03] local.INFO: Acknowledgment sent {"connection_id":142994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:20:03] local.INFO: Packet analysis {"connection_id":142994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa28c"} 
[2026-07-27 13:20:03] local.INFO: Extracted packet for processing {"connection_id":142994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa28c"} 
[2026-07-27 13:20:03] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95169264,"longitude_deg":76.333792,"latitude_deg":9.5169264,"altitude":12,"angle":286,"satellites":45,"speed":12,"hex_longitude":"2d7f9cc0","hex_latitude":"05ac2af0","is_valid_coordinates":true} 
[2026-07-27 13:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:20:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995462912001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:20:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358840201138667520,"note":"Value kept but may cause issues"} 
[2026-07-27 13:20:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195787513500461056,"note":"Value kept but may cause issues"} 
[2026-07-27 13:20:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:20:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785138528000,"timestamp_ms":1785138528000,"timestamp_seconds":1785138528,"priority":1,"record_length":96,"hex_timestamp":"0000019fa28c3f00"} 
[2026-07-27 13:20:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:20:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-27 13:20:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:20:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:20:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:20:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:20:03] local.INFO: Teltonika packet parsed successfully {"connection_id":142994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:20:03] local.INFO: Passing IMEI to GPS processor {"connection_id":142994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:20:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":142994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:20:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:20:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 13:20:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 13:20:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995462912001,"66":27843,"68":206,"85":14336,"24":12,"16":358840201138667520,"45":9195787513500461056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-07-27 13:20:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 13:20:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 13:20:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995462912001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:20:03] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-07-27 13:20:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-27 13:20:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358840201138667520,"km_value":358840201138667.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:20:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195787513500461056,"description":"Unknown IO ID 45"} 
[2026-07-27 13:20:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995462912001,"power":27843,"unknown_68":206,"unknown_85":14336,"ignition":12,"odometer":null,"unknown_45":9195787513500461056}} 
[2026-07-27 13:20:03] local.INFO: DEBUG: GPS processor result {"connection_id":142994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:20:03] local.INFO: GPS data processed {"connection_id":142994,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:20:03] local.INFO: Acknowledgment sent {"connection_id":142994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:20:05] local.INFO: TCP Data received {"connection_id":142995,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142995,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:20:05] local.INFO: Processing buffer {"connection_id":142995,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:20:05] local.INFO: IMEI packet received {"connection_id":142995,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 13:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":142995,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:20:06] local.INFO: TCP Data received {"connection_id":142995,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa28b5888012d18c1c0072152780043015526..."} 
[2026-07-27 13:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa28b5888012d18c1c0072152780043015526..."} 
[2026-07-27 13:20:06] local.INFO: Processing buffer {"connection_id":142995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa28b5888012d18c1c0072152780043015526..."} 
[2026-07-27 13:20:06] local.INFO: Packet analysis {"connection_id":142995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa28b"} 
[2026-07-27 13:20:06] local.INFO: Extracted packet for processing {"connection_id":142995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa28b"} 
[2026-07-27 13:20:06] local.INFO: GPS Element Parsed {"raw_longitude":756597184,"raw_latitude":119624312,"longitude_deg":75.6597184,"latitude_deg":11.9624312,"altitude":67,"angle":341,"satellites":38,"speed":32,"hex_longitude":"2d18c1c0","hex_latitude":"07215278","is_valid_coordinates":true} 
[2026-07-27 13:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995442688001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:20:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8860148164460544,"note":"Value kept but may cause issues"} 
[2026-07-27 13:20:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788210557662375936,"note":"Value kept but may cause issues"} 
[2026-07-27 13:20:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:20:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785138469000,"timestamp_ms":1785138469000,"timestamp_seconds":1785138469,"priority":1,"record_length":96,"hex_timestamp":"0000019fa28b5888"} 
[2026-07-27 13:20:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:20:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-27 13:20:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:20:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:20:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:20:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:20:06] local.INFO: Teltonika packet parsed successfully {"connection_id":142995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:20:06] local.INFO: Passing IMEI to GPS processor {"connection_id":142995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:20:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":142995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:20:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:20:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 13:20:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 13:20:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995442688001,"66":13287,"121":206,"28":31744,"24":32,"16":8860148164460544,"45":1788210557662375936},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 13:20:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 13:20:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 13:20:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995442688001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:20:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 13:20:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 13:20:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8860148164460544,"km_value":8860148164460.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:20:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788210557662375936,"description":"Unknown IO ID 45"} 
[2026-07-27 13:20:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995442688001,"power":13287,"unknown_121":206,"unknown_28":31744,"ignition":32,"odometer":null,"unknown_45":1788210557662375936}} 
[2026-07-27 13:20:06] local.INFO: DEBUG: GPS processor result {"connection_id":142995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553265,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:20:06] local.INFO: GPS data processed {"connection_id":142995,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:20:06] local.INFO: Acknowledgment sent {"connection_id":142995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:20:32] local.INFO: TCP Data received {"connection_id":145280,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:20:32] local.INFO: Processing buffer {"connection_id":145280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:20:32] local.INFO: IMEI packet received {"connection_id":145280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 13:20:32] local.INFO: IMEI acknowledgment sent {"connection_id":145280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 13:20:35] local.INFO: TCP Data received {"connection_id":145280,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:20:35] local.INFO: Processing buffer {"connection_id":145280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:20:35] local.INFO: IMEI packet received {"connection_id":145280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 13:20:35] local.INFO: IMEI acknowledgment sent {"connection_id":145280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:20:36] local.INFO: TCP Data received {"connection_id":145280,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa28c42e8012d7f9b8005ac2b90000c012f2d..."} 
[2026-07-27 13:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa28c42e8012d7f9b8005ac2b90000c012f2d..."} 
[2026-07-27 13:20:36] local.INFO: Processing buffer {"connection_id":145280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa28c42e8012d7f9b8005ac2b90000c012f2d..."} 
[2026-07-27 13:20:36] local.INFO: Packet analysis {"connection_id":145280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa28c"} 
[2026-07-27 13:20:36] local.INFO: Extracted packet for processing {"connection_id":145280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa28c"} 
[2026-07-27 13:20:36] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95169424,"longitude_deg":76.33376,"latitude_deg":9.5169424,"altitude":12,"angle":303,"satellites":45,"speed":15,"hex_longitude":"2d7f9b80","hex_latitude":"05ac2b90","is_valid_coordinates":true} 
[2026-07-27 13:20:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:20:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995463168001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:20:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358840218318536704,"note":"Value kept but may cause issues"} 
[2026-07-27 13:20:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195435669779574784,"note":"Value kept but may cause issues"} 
[2026-07-27 13:20:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:20:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785138529000,"timestamp_ms":1785138529000,"timestamp_seconds":1785138529,"priority":1,"record_length":96,"hex_timestamp":"0000019fa28c42e8"} 
[2026-07-27 13:20:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:20:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:20:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-27 13:20:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:20:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:20:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:20:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:20:36] local.INFO: Teltonika packet parsed successfully {"connection_id":145280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:20:36] local.INFO: Passing IMEI to GPS processor {"connection_id":145280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:20:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":145280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:20:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:20:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 13:20:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 13:20:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995463168001,"66":27843,"68":206,"85":14336,"24":15,"16":358840218318536704,"45":9195435669779574784},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-07-27 13:20:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 13:20:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 13:20:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995463168001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:20:36] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-07-27 13:20:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-27 13:20:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358840218318536704,"km_value":358840218318536.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:20:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195435669779574784,"description":"Unknown IO ID 45"} 
[2026-07-27 13:20:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995463168001,"power":27843,"unknown_68":206,"unknown_85":14336,"ignition":15,"odometer":null,"unknown_45":9195435669779574784}} 
[2026-07-27 13:20:36] local.INFO: DEBUG: GPS processor result {"connection_id":145280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:20:36] local.INFO: GPS data processed {"connection_id":145280,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:20:36] local.INFO: Acknowledgment sent {"connection_id":145280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:20:38] local.INFO: TCP Data received {"connection_id":142995,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa28b5888012d18c1c0072152780043015526..."} 
[2026-07-27 13:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa28b5888012d18c1c0072152780043015526..."} 
[2026-07-27 13:20:38] local.INFO: Processing buffer {"connection_id":142995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa28b5888012d18c1c0072152780043015526..."} 
[2026-07-27 13:20:38] local.INFO: Packet analysis {"connection_id":142995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa28b"} 
[2026-07-27 13:20:38] local.INFO: Extracted packet for processing {"connection_id":142995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa28b"} 
[2026-07-27 13:20:38] local.INFO: GPS Element Parsed {"raw_longitude":756597184,"raw_latitude":119624312,"longitude_deg":75.6597184,"latitude_deg":11.9624312,"altitude":67,"angle":341,"satellites":38,"speed":32,"hex_longitude":"2d18c1c0","hex_latitude":"07215278","is_valid_coordinates":true} 
[2026-07-27 13:20:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:20:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995448064001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:20:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8860148164460544,"note":"Value kept but may cause issues"} 
[2026-07-27 13:20:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1783918064271783936,"note":"Value kept but may cause issues"} 
[2026-07-27 13:20:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:20:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785138469000,"timestamp_ms":1785138469000,"timestamp_seconds":1785138469,"priority":1,"record_length":96,"hex_timestamp":"0000019fa28b5888"} 
[2026-07-27 13:20:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:20:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:20:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":231,"data_length":795,"current_offset":136} 
[2026-07-27 13:20:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2532,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:20:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:20:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:20:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:20:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:20:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:20:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:20:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:20:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 13:20:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 13:20:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995448064001,"66":13287,"121":206,"28":31744,"24":32,"16":8860148164460544,"45":1783918064271783936},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 13:20:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 13:20:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 13:20:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995448064001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:20:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 13:20:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 13:20:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8860148164460544,"km_value":8860148164460.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:20:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1783918064271783936,"description":"Unknown IO ID 45"} 
[2026-07-27 13:20:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995448064001,"power":13287,"unknown_121":206,"unknown_28":31744,"ignition":32,"odometer":null,"unknown_45":1783918064271783936}} 
[2026-07-27 13:20:38] local.INFO: DEBUG: GPS processor result {"connection_id":142995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553267,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:20:38] local.INFO: GPS data processed {"connection_id":142995,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:20:38] local.INFO: Acknowledgment sent {"connection_id":142995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:21:00] local.INFO: TCP Data received {"connection_id":143990,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143990,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:21:00] local.INFO: Processing buffer {"connection_id":143990,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:21:00] local.INFO: IMEI packet received {"connection_id":143990,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 13:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":143990,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 13:21:05] local.INFO: TCP Data received {"connection_id":143990,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143990,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:21:05] local.INFO: Processing buffer {"connection_id":143990,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:21:05] local.INFO: IMEI packet received {"connection_id":143990,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 13:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":143990,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:21:07] local.INFO: TCP Data received {"connection_id":143990,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa28b5c70012d18c080072155600043014a26..."} 
[2026-07-27 13:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143990,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa28b5c70012d18c080072155600043014a26..."} 
[2026-07-27 13:21:07] local.INFO: Processing buffer {"connection_id":143990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa28b5c70012d18c080072155600043014a26..."} 
[2026-07-27 13:21:07] local.INFO: Packet analysis {"connection_id":143990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa28b"} 
[2026-07-27 13:21:07] local.INFO: Extracted packet for processing {"connection_id":143990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa28b"} 
[2026-07-27 13:21:07] local.INFO: GPS Element Parsed {"raw_longitude":756596864,"raw_latitude":119625056,"longitude_deg":75.6596864,"latitude_deg":11.9625056,"altitude":67,"angle":330,"satellites":38,"speed":32,"hex_longitude":"2d18c080","hex_latitude":"07215560","is_valid_coordinates":true} 
[2026-07-27 13:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:21:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995448064001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:21:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8860186819166208,"note":"Value kept but may cause issues"} 
[2026-07-27 13:21:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1783918064271783936,"note":"Value kept but may cause issues"} 
[2026-07-27 13:21:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:21:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785138470000,"timestamp_ms":1785138470000,"timestamp_seconds":1785138470,"priority":1,"record_length":96,"hex_timestamp":"0000019fa28b5c70"} 
[2026-07-27 13:21:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:21:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":231,"data_length":795,"current_offset":136} 
[2026-07-27 13:21:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2532,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:21:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:21:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:21:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:21:07] local.INFO: Teltonika packet parsed successfully {"connection_id":143990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:21:07] local.INFO: Passing IMEI to GPS processor {"connection_id":143990,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:21:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":143990,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:21:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:21:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 13:21:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 13:21:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995448064001,"66":13287,"121":206,"28":31744,"24":32,"16":8860186819166208,"45":1783918064271783936},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 13:21:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 13:21:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 13:21:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995448064001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:21:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 13:21:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 13:21:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8860186819166208,"km_value":8860186819166.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:21:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1783918064271783936,"description":"Unknown IO ID 45"} 
[2026-07-27 13:21:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995448064001,"power":13287,"unknown_121":206,"unknown_28":31744,"ignition":32,"odometer":null,"unknown_45":1783918064271783936}} 
[2026-07-27 13:21:07] local.INFO: DEBUG: GPS processor result {"connection_id":143990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553268,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:21:07] local.INFO: GPS data processed {"connection_id":143990,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:21:07] local.INFO: Acknowledgment sent {"connection_id":143990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:21:08] local.INFO: TCP Data received {"connection_id":145280,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa28c7998012d7f7b8005ac3c00000c01272b..."} 
[2026-07-27 13:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa28c7998012d7f7b8005ac3c00000c01272b..."} 
[2026-07-27 13:21:08] local.INFO: Processing buffer {"connection_id":145280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa28c7998012d7f7b8005ac3c00000c01272b..."} 
[2026-07-27 13:21:08] local.INFO: Packet analysis {"connection_id":145280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa28c"} 
[2026-07-27 13:21:08] local.INFO: Extracted packet for processing {"connection_id":145280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa28c"} 
[2026-07-27 13:21:08] local.INFO: GPS Element Parsed {"raw_longitude":763329408,"raw_latitude":95173632,"longitude_deg":76.3329408,"latitude_deg":9.5173632,"altitude":12,"angle":295,"satellites":43,"speed":33,"hex_longitude":"2d7f7b80","hex_latitude":"05ac3c00","is_valid_coordinates":true} 
[2026-07-27 13:21:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:21:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995463424001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:21:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358840660700168192,"note":"Value kept but may cause issues"} 
[2026-07-27 13:21:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826058727424,"note":"Value kept but may cause issues"} 
[2026-07-27 13:21:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:21:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785138543000,"timestamp_ms":1785138543000,"timestamp_seconds":1785138543,"priority":1,"record_length":96,"hex_timestamp":"0000019fa28c7998"} 
[2026-07-27 13:21:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:21:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:21:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-27 13:21:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:21:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:21:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:21:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:21:08] local.INFO: Teltonika packet parsed successfully {"connection_id":145280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:21:08] local.INFO: Passing IMEI to GPS processor {"connection_id":145280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:21:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":145280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:21:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:21:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 13:21:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 13:21:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995463424001,"66":27713,"68":206,"85":14336,"24":33,"16":358840660700168192,"45":9195083826058727424},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-07-27 13:21:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 13:21:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 13:21:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995463424001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:21:08] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-07-27 13:21:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-27 13:21:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358840660700168192,"km_value":358840660700168.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:21:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826058727424,"description":"Unknown IO ID 45"} 
[2026-07-27 13:21:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995463424001,"power":27713,"unknown_68":206,"unknown_85":14336,"ignition":33,"odometer":null,"unknown_45":9195083826058727424}} 
[2026-07-27 13:21:08] local.INFO: DEBUG: GPS processor result {"connection_id":145280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:21:08] local.INFO: GPS data processed {"connection_id":145280,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:21:08] local.INFO: Acknowledgment sent {"connection_id":145280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:21:38] local.INFO: TCP Data received {"connection_id":142863,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:21:38] local.INFO: Processing buffer {"connection_id":142863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:21:38] local.INFO: IMEI packet received {"connection_id":142863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 13:21:38] local.INFO: IMEI acknowledgment sent {"connection_id":142863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 13:21:39] local.INFO: TCP Data received {"connection_id":143990,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa28b8768012d18ad4007216f60004a013a24..."} 
[2026-07-27 13:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143990,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa28b8768012d18ad4007216f60004a013a24..."} 
[2026-07-27 13:21:39] local.INFO: Processing buffer {"connection_id":143990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa28b8768012d18ad4007216f60004a013a24..."} 
[2026-07-27 13:21:39] local.INFO: Packet analysis {"connection_id":143990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa28b"} 
[2026-07-27 13:21:39] local.INFO: Extracted packet for processing {"connection_id":143990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa28b"} 
[2026-07-27 13:21:39] local.INFO: GPS Element Parsed {"raw_longitude":756591936,"raw_latitude":119631712,"longitude_deg":75.6591936,"latitude_deg":11.9631712,"altitude":74,"angle":314,"satellites":36,"speed":14,"hex_longitude":"2d18ad40","hex_latitude":"07216f60","is_valid_coordinates":true} 
[2026-07-27 13:21:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:21:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995448320001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:21:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8860586251124736,"note":"Value kept but may cause issues"} 
[2026-07-27 13:21:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1783566220551086080,"note":"Value kept but may cause issues"} 
[2026-07-27 13:21:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:21:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785138481000,"timestamp_ms":1785138481000,"timestamp_seconds":1785138481,"priority":1,"record_length":96,"hex_timestamp":"0000019fa28b8768"} 
[2026-07-27 13:21:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:21:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13: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":51,"n8_eight_byte":231,"data_length":795,"current_offset":136} 
[2026-07-27 13:21:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2532,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:21:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:21:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:21:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:21:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:21:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143990,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:21:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143990,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:21:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:21:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 13:21:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 13:21:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995448320001,"66":13254,"121":206,"28":31744,"24":14,"16":8860586251124736,"45":1783566220551086080},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 13:21:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 13:21:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 13:21:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995448320001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:21:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 13:21:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 13:21:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8860586251124736,"km_value":8860586251124.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:21:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1783566220551086080,"description":"Unknown IO ID 45"} 
[2026-07-27 13:21:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995448320001,"power":13254,"unknown_121":206,"unknown_28":31744,"ignition":14,"odometer":null,"unknown_45":1783566220551086080}} 
[2026-07-27 13:21:39] local.INFO: DEBUG: GPS processor result {"connection_id":143990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553270,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:21:39] local.INFO: GPS data processed {"connection_id":143990,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:21:39] local.INFO: Acknowledgment sent {"connection_id":143990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:21:41] local.INFO: TCP Data received {"connection_id":142863,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:21:41] local.INFO: Processing buffer {"connection_id":142863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:21:41] local.INFO: IMEI packet received {"connection_id":142863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 13:21:41] local.INFO: IMEI acknowledgment sent {"connection_id":142863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:21:42] local.INFO: TCP Data received {"connection_id":142863,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:21:42] local.INFO: Processing buffer {"connection_id":142863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:21:42] local.INFO: IMEI packet received {"connection_id":142863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 13:21:42] local.INFO: IMEI acknowledgment sent {"connection_id":142863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:21:43] local.INFO: TCP Data received {"connection_id":142863,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa28de0f8012d7eb68005abfa00000d00b62b..."} 
[2026-07-27 13:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142863,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa28de0f8012d7eb68005abfa00000d00b62b..."} 
[2026-07-27 13:21:43] local.INFO: Processing buffer {"connection_id":142863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa28de0f8012d7eb68005abfa00000d00b62b..."} 
[2026-07-27 13:21:43] local.INFO: Packet analysis {"connection_id":142863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa28d"} 
[2026-07-27 13:21:43] local.INFO: Extracted packet for processing {"connection_id":142863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa28d"} 
[2026-07-27 13:21:43] local.INFO: GPS Element Parsed {"raw_longitude":763278976,"raw_latitude":95156736,"longitude_deg":76.3278976,"latitude_deg":9.5156736,"altitude":13,"angle":182,"satellites":43,"speed":27,"hex_longitude":"2d7eb680","hex_latitude":"05abfa00","is_valid_coordinates":true} 
[2026-07-27 13:21:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:21:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995486720001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:21:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358843645702438912,"note":"Value kept but may cause issues"} 
[2026-07-27 13:21:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9130414950158532608,"note":"Value kept but may cause issues"} 
[2026-07-27 13:21:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:21:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785138635000,"timestamp_ms":1785138635000,"timestamp_seconds":1785138635,"priority":1,"record_length":96,"hex_timestamp":"0000019fa28de0f8"} 
[2026-07-27 13:21:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:21:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-27 13:21:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:21:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:21:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:21:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:21:43] local.INFO: Teltonika packet parsed successfully {"connection_id":142863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:21:43] local.INFO: Passing IMEI to GPS processor {"connection_id":142863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:21:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":142863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:21: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-07-27 13:21:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 13:21:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 13:21:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995486720001,"66":27821,"169":206,"85":14336,"24":27,"16":358843645702438912,"45":9130414950158532608},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-27 13:21:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 13:21:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 13:21:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995486720001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:21:43] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-27 13:21:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-27 13:21:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358843645702438912,"km_value":358843645702438.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:21:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9130414950158532608,"description":"Unknown IO ID 45"} 
[2026-07-27 13:21:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995486720001,"power":27821,"unknown_169":206,"unknown_85":14336,"ignition":27,"odometer":null,"unknown_45":9130414950158532608}} 
[2026-07-27 13:21:43] local.INFO: DEBUG: GPS processor result {"connection_id":142863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:21:43] local.INFO: GPS data processed {"connection_id":142863,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:21:43] local.INFO: Acknowledgment sent {"connection_id":142863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:21:47] local.INFO: TCP Data received {"connection_id":142863,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa28e1f78012d7eb58005abd5f0000d00b32c..."} 
[2026-07-27 13:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142863,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa28e1f78012d7eb58005abd5f0000d00b32c..."} 
[2026-07-27 13:21:47] local.INFO: Processing buffer {"connection_id":142863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa28e1f78012d7eb58005abd5f0000d00b32c..."} 
[2026-07-27 13:21:47] local.INFO: Packet analysis {"connection_id":142863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa28e"} 
[2026-07-27 13:21:47] local.INFO: Extracted packet for processing {"connection_id":142863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa28e"} 
[2026-07-27 13:21:47] local.INFO: GPS Element Parsed {"raw_longitude":763278720,"raw_latitude":95147504,"longitude_deg":76.327872,"latitude_deg":9.5147504,"altitude":13,"angle":179,"satellites":44,"speed":21,"hex_longitude":"2d7eb580","hex_latitude":"05abd5f0","is_valid_coordinates":true} 
[2026-07-27 13:21:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:21:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995490560001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:21:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358844092379037696,"note":"Value kept but may cause issues"} 
[2026-07-27 13:21:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9130626056388739072,"note":"Value kept but may cause issues"} 
[2026-07-27 13:21:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:21:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785138651000,"timestamp_ms":1785138651000,"timestamp_seconds":1785138651,"priority":1,"record_length":96,"hex_timestamp":"0000019fa28e1f78"} 
[2026-07-27 13:21:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:21:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:21:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-27 13:21:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:21:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:21:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:21:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:21:47] local.INFO: Teltonika packet parsed successfully {"connection_id":142863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:21:47] local.INFO: Passing IMEI to GPS processor {"connection_id":142863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:21:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":142863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:21:47] 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-07-27 13:21:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 13:21:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 13:21:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995490560001,"66":27843,"169":206,"85":14336,"24":21,"16":358844092379037696,"45":9130626056388739072},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-27 13:21:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 13:21:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 13:21:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995490560001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:21:47] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-27 13:21:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-27 13:21:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358844092379037696,"km_value":358844092379037.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:21:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9130626056388739072,"description":"Unknown IO ID 45"} 
[2026-07-27 13:21:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995490560001,"power":27843,"unknown_169":206,"unknown_85":14336,"ignition":21,"odometer":null,"unknown_45":9130626056388739072}} 
[2026-07-27 13:21:47] local.INFO: DEBUG: GPS processor result {"connection_id":142863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:21:47] local.INFO: GPS data processed {"connection_id":142863,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:21:47] local.INFO: Acknowledgment sent {"connection_id":142863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:22:00] local.INFO: TCP Data received {"connection_id":142996,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142996,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:22:00] local.INFO: Processing buffer {"connection_id":142996,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:22:00] local.INFO: IMEI packet received {"connection_id":142996,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 13:22:00] local.INFO: IMEI acknowledgment sent {"connection_id":142996,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 13:22:01] local.INFO: TCP Data received {"connection_id":142996,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142996,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:22:01] local.INFO: Processing buffer {"connection_id":142996,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:22:01] local.INFO: IMEI packet received {"connection_id":142996,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 13:22:01] local.INFO: IMEI acknowledgment sent {"connection_id":142996,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:22:05] local.INFO: TCP Data received {"connection_id":142996,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142996,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:22:05] local.INFO: Processing buffer {"connection_id":142996,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:22:05] local.INFO: IMEI packet received {"connection_id":142996,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 13:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":142996,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:22:06] local.INFO: TCP Data received {"connection_id":142996,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa28b8f38012d18ab80072170a0004b012a23..."} 
[2026-07-27 13:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142996,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa28b8f38012d18ab80072170a0004b012a23..."} 
[2026-07-27 13:22:06] local.INFO: Processing buffer {"connection_id":142996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa28b8f38012d18ab80072170a0004b012a23..."} 
[2026-07-27 13:22:06] local.INFO: Packet analysis {"connection_id":142996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa28b"} 
[2026-07-27 13:22:06] local.INFO: Extracted packet for processing {"connection_id":142996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa28b"} 
[2026-07-27 13:22:06] local.INFO: GPS Element Parsed {"raw_longitude":756591488,"raw_latitude":119632032,"longitude_deg":75.6591488,"latitude_deg":11.9632032,"altitude":75,"angle":298,"satellites":35,"speed":8,"hex_longitude":"2d18ab80","hex_latitude":"072170a0","is_valid_coordinates":true} 
[2026-07-27 13:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:22:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995451136001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:22:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8860612020928512,"note":"Value kept but may cause issues"} 
[2026-07-27 13:22:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778147827251109888,"note":"Value kept but may cause issues"} 
[2026-07-27 13:22:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:22:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785138483000,"timestamp_ms":1785138483000,"timestamp_seconds":1785138483,"priority":1,"record_length":96,"hex_timestamp":"0000019fa28b8f38"} 
[2026-07-27 13:22:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:22:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-27 13:22:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:22:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:22:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:22:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:22:06] local.INFO: Teltonika packet parsed successfully {"connection_id":142996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:22:06] local.INFO: Passing IMEI to GPS processor {"connection_id":142996,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:22:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":142996,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:22:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:22:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 13:22:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 13:22:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995451136001,"66":13222,"121":206,"28":31744,"24":8,"16":8860612020928512,"45":1778147827251109888},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 13:22:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 13:22:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 13:22:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995451136001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:22:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 13:22:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 13:22:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8860612020928512,"km_value":8860612020928.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:22:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778147827251109888,"description":"Unknown IO ID 45"} 
[2026-07-27 13:22:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995451136001,"power":13222,"unknown_121":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1778147827251109888}} 
[2026-07-27 13:22:06] local.INFO: DEBUG: GPS processor result {"connection_id":142996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553273,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:22:06] local.INFO: GPS data processed {"connection_id":142996,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:22:06] local.INFO: Acknowledgment sent {"connection_id":142996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:22:36] local.INFO: TCP Data received {"connection_id":143991,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:22:36] local.INFO: Processing buffer {"connection_id":143991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:22:36] local.INFO: IMEI packet received {"connection_id":143991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 13:22:36] local.INFO: IMEI acknowledgment sent {"connection_id":143991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 13:22:37] local.INFO: TCP Data received {"connection_id":143991,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:22:37] local.INFO: Processing buffer {"connection_id":143991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:22:37] local.INFO: IMEI packet received {"connection_id":143991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 13:22:37] local.INFO: IMEI acknowledgment sent {"connection_id":143991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:22:38] local.INFO: TCP Data received {"connection_id":142996,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa28be140012d18aa0007217188004b012a24..."} 
[2026-07-27 13:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142996,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa28be140012d18aa0007217188004b012a24..."} 
[2026-07-27 13:22:38] local.INFO: Processing buffer {"connection_id":142996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa28be140012d18aa0007217188004b012a24..."} 
[2026-07-27 13:22:38] local.INFO: Packet analysis {"connection_id":142996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa28b"} 
[2026-07-27 13:22:38] local.INFO: Extracted packet for processing {"connection_id":142996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa28b"} 
[2026-07-27 13:22:38] local.INFO: GPS Element Parsed {"raw_longitude":756591104,"raw_latitude":119632264,"longitude_deg":75.6591104,"latitude_deg":11.9632264,"altitude":75,"angle":298,"satellites":36,"speed":0,"hex_longitude":"2d18aa00","hex_latitude":"07217188","is_valid_coordinates":true} 
[2026-07-27 13:22:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:22:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995451648001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:22:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8860637790732288,"note":"Value kept but may cause issues"} 
[2026-07-27 13:22:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777655246041948160,"note":"Value kept but may cause issues"} 
[2026-07-27 13:22:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:22:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785138504000,"timestamp_ms":1785138504000,"timestamp_seconds":1785138504,"priority":1,"record_length":96,"hex_timestamp":"0000019fa28be140"} 
[2026-07-27 13:22:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:22:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:22:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-27 13:22:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:22:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:22:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:22:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:22:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:22:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142996,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:22:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142996,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:22:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:22:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 13:22:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 13:22:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995451648001,"66":12287,"121":206,"28":31744,"24":0,"16":8860637790732288,"45":1777655246041948160},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 13:22:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 13:22:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 13:22:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995451648001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:22:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 13:22:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 13:22:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8860637790732288,"km_value":8860637790732.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:22:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777655246041948160,"description":"Unknown IO ID 45"} 
[2026-07-27 13:22:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995451648001,"power":12287,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1777655246041948160}} 
[2026-07-27 13:22:38] local.INFO: DEBUG: GPS processor result {"connection_id":142996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553274,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:22:38] local.INFO: GPS data processed {"connection_id":142996,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:22:38] local.INFO: Acknowledgment sent {"connection_id":142996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:22:42] local.INFO: TCP Data received {"connection_id":143991,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:22:42] local.INFO: Processing buffer {"connection_id":143991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:22:42] local.INFO: IMEI packet received {"connection_id":143991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 13:22:42] local.INFO: IMEI acknowledgment sent {"connection_id":143991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:22:43] local.INFO: TCP Data received {"connection_id":143991,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa28e4e58012d7eb58005abb1d0000f00b52c..."} 
[2026-07-27 13:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa28e4e58012d7eb58005abb1d0000f00b52c..."} 
[2026-07-27 13:22:43] local.INFO: Processing buffer {"connection_id":143991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa28e4e58012d7eb58005abb1d0000f00b52c..."} 
[2026-07-27 13:22:43] local.INFO: Packet analysis {"connection_id":143991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa28e"} 
[2026-07-27 13:22:43] local.INFO: Extracted packet for processing {"connection_id":143991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa28e"} 
[2026-07-27 13:22:43] local.INFO: GPS Element Parsed {"raw_longitude":763278720,"raw_latitude":95138256,"longitude_deg":76.327872,"latitude_deg":9.5138256,"altitude":15,"angle":181,"satellites":44,"speed":39,"hex_longitude":"2d7eb580","hex_latitude":"05abb1d0","is_valid_coordinates":true} 
[2026-07-27 13:22:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:22:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995494656001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:22:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358844543350603776,"note":"Value kept but may cause issues"} 
[2026-07-27 13:22:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9130344581409665024,"note":"Value kept but may cause issues"} 
[2026-07-27 13:22:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:22:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785138663000,"timestamp_ms":1785138663000,"timestamp_seconds":1785138663,"priority":1,"record_length":96,"hex_timestamp":"0000019fa28e4e58"} 
[2026-07-27 13:22:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:22:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:22:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-27 13:22:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:22:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:22:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:22:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:22:43] local.INFO: Teltonika packet parsed successfully {"connection_id":143991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:22:43] local.INFO: Passing IMEI to GPS processor {"connection_id":143991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:22:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":143991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:22: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-07-27 13:22:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 13:22:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 13:22:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995494656001,"66":27843,"125":206,"85":14336,"24":39,"16":358844543350603776,"45":9130344581409665024},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,85,24,16,45]} 
[2026-07-27 13:22:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 13:22:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 13:22:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995494656001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:22:43] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-07-27 13:22:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-27 13:22:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358844543350603776,"km_value":358844543350603.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:22:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9130344581409665024,"description":"Unknown IO ID 45"} 
[2026-07-27 13:22:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995494656001,"power":27843,"unknown_125":206,"unknown_85":14336,"ignition":39,"odometer":null,"unknown_45":9130344581409665024}} 
[2026-07-27 13:22:43] local.INFO: DEBUG: GPS processor result {"connection_id":143991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:22:43] local.INFO: GPS data processed {"connection_id":143991,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:22:43] local.INFO: Acknowledgment sent {"connection_id":143991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:23:00] local.INFO: TCP Data received {"connection_id":142997,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142997,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:23:00] local.INFO: Processing buffer {"connection_id":142997,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:23:00] local.INFO: IMEI packet received {"connection_id":142997,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 13:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":142997,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 13:23:05] local.INFO: TCP Data received {"connection_id":142997,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142997,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:23:05] local.INFO: Processing buffer {"connection_id":142997,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:23:05] local.INFO: IMEI packet received {"connection_id":142997,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 13:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":142997,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:23:06] local.INFO: TCP Data received {"connection_id":142997,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa28eea98012d18ac00072170f0004b006729..."} 
[2026-07-27 13:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa28eea98012d18ac00072170f0004b006729..."} 
[2026-07-27 13:23:06] local.INFO: Processing buffer {"connection_id":142997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa28eea98012d18ac00072170f0004b006729..."} 
[2026-07-27 13:23:06] local.INFO: Packet analysis {"connection_id":142997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa28e"} 
[2026-07-27 13:23:06] local.INFO: Extracted packet for processing {"connection_id":142997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa28e"} 
[2026-07-27 13:23:06] local.INFO: GPS Element Parsed {"raw_longitude":756591616,"raw_latitude":119632112,"longitude_deg":75.6591616,"latitude_deg":11.9632112,"altitude":75,"angle":103,"satellites":41,"speed":0,"hex_longitude":"2d18ac00","hex_latitude":"072170f0","is_valid_coordinates":true} 
[2026-07-27 13:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:23:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995502592001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:23:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8860663560536064,"note":"Value kept but may cause issues"} 
[2026-07-27 13:23:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777795983530323968,"note":"Value kept but may cause issues"} 
[2026-07-27 13:23:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:23:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785138703000,"timestamp_ms":1785138703000,"timestamp_seconds":1785138703,"priority":1,"record_length":96,"hex_timestamp":"0000019fa28eea98"} 
[2026-07-27 13:23:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:23:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-27 13:23:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:23:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:23:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:23:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:23:06] local.INFO: Teltonika packet parsed successfully {"connection_id":142997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:23:06] local.INFO: Passing IMEI to GPS processor {"connection_id":142997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:23:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":142997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:23:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:23:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 13:23:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 13:23:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995502592001,"66":14157,"121":206,"28":31744,"24":0,"16":8860663560536064,"45":1777795983530323968},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 13:23:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 13:23:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 13:23:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995502592001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:23:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 13:23:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 13:23:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8860663560536064,"km_value":8860663560536.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:23:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777795983530323968,"description":"Unknown IO ID 45"} 
[2026-07-27 13:23:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995502592001,"power":14157,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1777795983530323968}} 
[2026-07-27 13:23:07] local.INFO: DEBUG: GPS processor result {"connection_id":142997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553276,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:23:07] local.INFO: GPS data processed {"connection_id":142997,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:23:07] local.INFO: Acknowledgment sent {"connection_id":142997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:23:14] local.INFO: TCP Data received {"connection_id":143991,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa28e7180012d7eb64005ab8cf0001000b32c..."} 
[2026-07-27 13:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa28e7180012d7eb64005ab8cf0001000b32c..."} 
[2026-07-27 13:23:14] local.INFO: Processing buffer {"connection_id":143991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa28e7180012d7eb64005ab8cf0001000b32c..."} 
[2026-07-27 13:23:14] local.INFO: Packet analysis {"connection_id":143991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa28e"} 
[2026-07-27 13:23:14] local.INFO: Extracted packet for processing {"connection_id":143991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa28e"} 
[2026-07-27 13:23:14] local.INFO: GPS Element Parsed {"raw_longitude":763278912,"raw_latitude":95128816,"longitude_deg":76.3278912,"latitude_deg":9.5128816,"altitude":16,"angle":179,"satellites":44,"speed":42,"hex_longitude":"2d7eb640","hex_latitude":"05ab8cf0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 13:23:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995497728001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:23:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358845002912104448,"note":"Value kept but may cause issues"} 
[2026-07-27 13:23:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9130344581407297536,"note":"Value kept but may cause issues"} 
[2026-07-27 13:23:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:23:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785138672000,"timestamp_ms":1785138672000,"timestamp_seconds":1785138672,"priority":1,"record_length":96,"hex_timestamp":"0000019fa28e7180"} 
[2026-07-27 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-07-27 13:23:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-27 13:23:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 13:23:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:23:14] local.INFO: Teltonika packet parsed successfully {"connection_id":143991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:23:14] local.INFO: Passing IMEI to GPS processor {"connection_id":143991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:23:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":143991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:23: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-07-27 13:23:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 13:23:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 13:23:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995497728001,"66":27767,"125":206,"85":14336,"24":42,"16":358845002912104448,"45":9130344581407297536},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,85,24,16,45]} 
[2026-07-27 13:23:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 13:23:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 13:23:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995497728001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:23:14] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-07-27 13:23:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-27 13:23:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358845002912104448,"km_value":358845002912104.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:23:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9130344581407297536,"description":"Unknown IO ID 45"} 
[2026-07-27 13:23:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995497728001,"power":27767,"unknown_125":206,"unknown_85":14336,"ignition":42,"odometer":null,"unknown_45":9130344581407297536}} 
[2026-07-27 13:23:14] local.INFO: DEBUG: GPS processor result {"connection_id":143991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:23:14] local.INFO: GPS data processed {"connection_id":143991,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:23:14] local.INFO: Acknowledgment sent {"connection_id":143991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:23:32] local.INFO: TCP Data received {"connection_id":142998,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:23:32] local.INFO: Processing buffer {"connection_id":142998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:23:32] local.INFO: IMEI packet received {"connection_id":142998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 13:23:32] local.INFO: IMEI acknowledgment sent {"connection_id":142998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 13:23:37] local.INFO: TCP Data received {"connection_id":142998,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:23:37] local.INFO: Processing buffer {"connection_id":142998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:23:37] local.INFO: IMEI packet received {"connection_id":142998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 13:23:37] local.INFO: IMEI acknowledgment sent {"connection_id":142998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:23:38] local.INFO: TCP Data received {"connection_id":142998,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa28e94a8012d7eb64005ab6928000f00b32c..."} 
[2026-07-27 13:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa28e94a8012d7eb64005ab6928000f00b32c..."} 
[2026-07-27 13:23:38] local.INFO: Processing buffer {"connection_id":142998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa28e94a8012d7eb64005ab6928000f00b32c..."} 
[2026-07-27 13:23:38] local.INFO: Packet analysis {"connection_id":142998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa28e"} 
[2026-07-27 13:23:38] local.INFO: Extracted packet for processing {"connection_id":142998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa28e"} 
[2026-07-27 13:23:38] local.INFO: GPS Element Parsed {"raw_longitude":763278912,"raw_latitude":95119656,"longitude_deg":76.3278912,"latitude_deg":9.5119656,"altitude":15,"angle":179,"satellites":44,"speed":31,"hex_longitude":"2d7eb640","hex_latitude":"05ab6928","is_valid_coordinates":true} 
[2026-07-27 13:23:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:23:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995500032001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:23:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358845445293735936,"note":"Value kept but may cause issues"} 
[2026-07-27 13:23:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9130555687637413888,"note":"Value kept but may cause issues"} 
[2026-07-27 13:23:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:23:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785138681000,"timestamp_ms":1785138681000,"timestamp_seconds":1785138681,"priority":1,"record_length":96,"hex_timestamp":"0000019fa28e94a8"} 
[2026-07-27 13:23:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:23:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:23:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-27 13:23:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:23:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:23:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:23:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:23:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:23:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:23:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:23:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:23:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 13:23:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 13:23:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995500032001,"66":27876,"125":206,"85":14336,"24":31,"16":358845445293735936,"45":9130555687637413888},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,85,24,16,45]} 
[2026-07-27 13:23:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 13:23:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 13:23:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995500032001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:23:38] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-07-27 13:23:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-27 13:23:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358845445293735936,"km_value":358845445293735.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:23:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9130555687637413888,"description":"Unknown IO ID 45"} 
[2026-07-27 13:23:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995500032001,"power":27876,"unknown_125":206,"unknown_85":14336,"ignition":31,"odometer":null,"unknown_45":9130555687637413888}} 
[2026-07-27 13:23:38] local.INFO: DEBUG: GPS processor result {"connection_id":142998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:23:38] local.INFO: GPS data processed {"connection_id":142998,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:23:38] local.INFO: Acknowledgment sent {"connection_id":142998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:23:38] local.INFO: TCP Data received {"connection_id":142997,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa28f4088012d18ac00072170f0004b00672a..."} 
[2026-07-27 13:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa28f4088012d18ac00072170f0004b00672a..."} 
[2026-07-27 13:23:38] local.INFO: Processing buffer {"connection_id":142997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa28f4088012d18ac00072170f0004b00672a..."} 
[2026-07-27 13:23:38] local.INFO: Packet analysis {"connection_id":142997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa28f"} 
[2026-07-27 13:23:38] local.INFO: Extracted packet for processing {"connection_id":142997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa28f"} 
[2026-07-27 13:23:38] local.INFO: GPS Element Parsed {"raw_longitude":756591616,"raw_latitude":119632112,"longitude_deg":75.6591616,"latitude_deg":11.9632112,"altitude":75,"angle":103,"satellites":42,"speed":0,"hex_longitude":"2d18ac00","hex_latitude":"072170f0","is_valid_coordinates":true} 
[2026-07-27 13:23:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:23:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995507968001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:23:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8860663560536064,"note":"Value kept but may cause issues"} 
[2026-07-27 13:23:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777795983530323968,"note":"Value kept but may cause issues"} 
[2026-07-27 13:23:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:23:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785138725000,"timestamp_ms":1785138725000,"timestamp_seconds":1785138725,"priority":1,"record_length":96,"hex_timestamp":"0000019fa28f4088"} 
[2026-07-27 13:23:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:23:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:23:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-27 13:23:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:23:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:23:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:23:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:23:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:23:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:23:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:23:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:23:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 13:23:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 13:23:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995507968001,"66":14233,"121":206,"28":31744,"24":0,"16":8860663560536064,"45":1777795983530323968},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 13:23:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 13:23:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 13:23:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995507968001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:23:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 13:23:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 13:23:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8860663560536064,"km_value":8860663560536.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:23:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777795983530323968,"description":"Unknown IO ID 45"} 
[2026-07-27 13:23:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995507968001,"power":14233,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1777795983530323968}} 
[2026-07-27 13:23:38] local.INFO: DEBUG: GPS processor result {"connection_id":142997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553279,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:23:38] local.INFO: GPS data processed {"connection_id":142997,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:23:38] local.INFO: Acknowledgment sent {"connection_id":142997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:24:00] local.INFO: TCP Data received {"connection_id":143992,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143992,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:24:00] local.INFO: Processing buffer {"connection_id":143992,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:24:00] local.INFO: IMEI packet received {"connection_id":143992,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 13:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":143992,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 13:24:05] local.INFO: TCP Data received {"connection_id":143992,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143992,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:24:05] local.INFO: Processing buffer {"connection_id":143992,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:24:05] local.INFO: IMEI packet received {"connection_id":143992,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 13:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":143992,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:24:06] local.INFO: TCP Data received {"connection_id":143992,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa28f57f8012d18ab80072171380049013726..."} 
[2026-07-27 13:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa28f57f8012d18ab80072171380049013726..."} 
[2026-07-27 13:24:06] local.INFO: Processing buffer {"connection_id":143992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa28f57f8012d18ab80072171380049013726..."} 
[2026-07-27 13:24:06] local.INFO: Packet analysis {"connection_id":143992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa28f"} 
[2026-07-27 13:24:06] local.INFO: Extracted packet for processing {"connection_id":143992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa28f"} 
[2026-07-27 13:24:06] local.INFO: GPS Element Parsed {"raw_longitude":756591488,"raw_latitude":119632184,"longitude_deg":75.6591488,"latitude_deg":11.9632184,"altitude":73,"angle":311,"satellites":38,"speed":2,"hex_longitude":"2d18ab80","hex_latitude":"07217138","is_valid_coordinates":true} 
[2026-07-27 13:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995513600001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8860672150470656,"note":"Value kept but may cause issues"} 
[2026-07-27 13:24:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777795983530323968,"note":"Value kept but may cause issues"} 
[2026-07-27 13:24:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785138731000,"timestamp_ms":1785138731000,"timestamp_seconds":1785138731,"priority":1,"record_length":96,"hex_timestamp":"0000019fa28f57f8"} 
[2026-07-27 13:24:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:24:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-07-27 13:24:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:24:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:24:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143992,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143992,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:24:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 13:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 13:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995513600001,"66":13678,"121":206,"28":31744,"24":2,"16":8860672150470656,"45":1777795983530323968},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 13:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 13:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 13:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995513600001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:24:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 13:24:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 13:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8860672150470656,"km_value":8860672150470.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:24:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777795983530323968,"description":"Unknown IO ID 45"} 
[2026-07-27 13:24:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995513600001,"power":13678,"unknown_121":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1777795983530323968}} 
[2026-07-27 13:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":143992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553280,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:24:06] local.INFO: GPS data processed {"connection_id":143992,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:24:06] local.INFO: Acknowledgment sent {"connection_id":143992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:24:09] local.INFO: TCP Data received {"connection_id":142998,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa28ebbb8012d7eb64005ab4618000e00b12b..."} 
[2026-07-27 13:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa28ebbb8012d7eb64005ab4618000e00b12b..."} 
[2026-07-27 13:24:09] local.INFO: Processing buffer {"connection_id":142998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa28ebbb8012d7eb64005ab4618000e00b12b..."} 
[2026-07-27 13:24:09] local.INFO: Packet analysis {"connection_id":142998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa28e"} 
[2026-07-27 13:24:09] local.INFO: Extracted packet for processing {"connection_id":142998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa28e"} 
[2026-07-27 13:24:09] local.INFO: GPS Element Parsed {"raw_longitude":763278912,"raw_latitude":95110680,"longitude_deg":76.3278912,"latitude_deg":9.511068,"altitude":14,"angle":177,"satellites":43,"speed":38,"hex_longitude":"2d7eb640","hex_latitude":"05ab4618","is_valid_coordinates":true} 
[2026-07-27 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-07-27 13:24:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995502336001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:24:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358845879085432832,"note":"Value kept but may cause issues"} 
[2026-07-27 13:24:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9130555687635068928,"note":"Value kept but may cause issues"} 
[2026-07-27 13:24:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:24:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785138691000,"timestamp_ms":1785138691000,"timestamp_seconds":1785138691,"priority":1,"record_length":96,"hex_timestamp":"0000019fa28ebbb8"} 
[2026-07-27 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-07-27 13:24:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-27 13:24:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 13:24:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:24:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:24:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:24:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:24: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-07-27 13:24:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 13:24:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 13:24:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995502336001,"66":27767,"125":206,"85":14336,"24":38,"16":358845879085432832,"45":9130555687635068928},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,85,24,16,45]} 
[2026-07-27 13:24:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 13:24:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 13:24:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995502336001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:24:09] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-07-27 13:24:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-27 13:24:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358845879085432832,"km_value":358845879085432.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:24:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9130555687635068928,"description":"Unknown IO ID 45"} 
[2026-07-27 13:24:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995502336001,"power":27767,"unknown_125":206,"unknown_85":14336,"ignition":38,"odometer":null,"unknown_45":9130555687635068928}} 
[2026-07-27 13:24:09] local.INFO: DEBUG: GPS processor result {"connection_id":142998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:24:09] local.INFO: GPS data processed {"connection_id":142998,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:24:09] local.INFO: Acknowledgment sent {"connection_id":142998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:24:32] local.INFO: TCP Data received {"connection_id":142864,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:24:32] local.INFO: Processing buffer {"connection_id":142864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:24:32] local.INFO: IMEI packet received {"connection_id":142864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 13:24:32] local.INFO: IMEI acknowledgment sent {"connection_id":142864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 13:24:37] local.INFO: TCP Data received {"connection_id":142864,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:24:37] local.INFO: Processing buffer {"connection_id":142864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:24:37] local.INFO: IMEI packet received {"connection_id":142864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 13:24:37] local.INFO: IMEI acknowledgment sent {"connection_id":142864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:24:38] local.INFO: TCP Data received {"connection_id":142864,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa28edee0012d7eb74005ab2190000e00b22b..."} 
[2026-07-27 13:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa28edee0012d7eb74005ab2190000e00b22b..."} 
[2026-07-27 13:24:38] local.INFO: Processing buffer {"connection_id":142864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa28edee0012d7eb74005ab2190000e00b22b..."} 
[2026-07-27 13:24:38] local.INFO: Packet analysis {"connection_id":142864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa28e"} 
[2026-07-27 13:24:38] local.INFO: Extracted packet for processing {"connection_id":142864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa28e"} 
[2026-07-27 13:24:38] local.INFO: GPS Element Parsed {"raw_longitude":763279168,"raw_latitude":95101328,"longitude_deg":76.3279168,"latitude_deg":9.5101328,"altitude":14,"angle":178,"satellites":43,"speed":45,"hex_longitude":"2d7eb740","hex_latitude":"05ab2190","is_valid_coordinates":true} 
[2026-07-27 13:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:24:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995504896001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:24:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358846334351966208,"note":"Value kept but may cause issues"} 
[2026-07-27 13:24:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9130555687632771072,"note":"Value kept but may cause issues"} 
[2026-07-27 13:24:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:24:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785138700000,"timestamp_ms":1785138700000,"timestamp_seconds":1785138700,"priority":1,"record_length":96,"hex_timestamp":"0000019fa28edee0"} 
[2026-07-27 13:24:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:24:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-27 13:24:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:24:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:24:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:24:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:24:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:24:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:24:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:24:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:24:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 13:24:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 13:24:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995504896001,"66":27876,"125":206,"85":14336,"24":45,"16":358846334351966208,"45":9130555687632771072},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,85,24,16,45]} 
[2026-07-27 13:24:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 13:24:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 13:24:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995504896001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:24:38] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-07-27 13:24:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-27 13:24:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358846334351966208,"km_value":358846334351966.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:24:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9130555687632771072,"description":"Unknown IO ID 45"} 
[2026-07-27 13:24:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995504896001,"power":27876,"unknown_125":206,"unknown_85":14336,"ignition":45,"odometer":null,"unknown_45":9130555687632771072}} 
[2026-07-27 13:24:38] local.INFO: DEBUG: GPS processor result {"connection_id":142864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:24:38] local.INFO: GPS data processed {"connection_id":142864,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:24:38] local.INFO: Acknowledgment sent {"connection_id":142864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:24:38] local.INFO: TCP Data received {"connection_id":143992,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa290bb70012d181a800721a8c80047000227..."} 
[2026-07-27 13:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa290bb70012d181a800721a8c80047000227..."} 
[2026-07-27 13:24:38] local.INFO: Processing buffer {"connection_id":143992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa290bb70012d181a800721a8c80047000227..."} 
[2026-07-27 13:24:38] local.INFO: Packet analysis {"connection_id":143992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa290"} 
[2026-07-27 13:24:38] local.INFO: Extracted packet for processing {"connection_id":143992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa290"} 
[2026-07-27 13:24:38] local.INFO: GPS Element Parsed {"raw_longitude":756554368,"raw_latitude":119646408,"longitude_deg":75.6554368,"latitude_deg":11.9646408,"altitude":71,"angle":2,"satellites":39,"speed":7,"hex_longitude":"2d181a80","hex_latitude":"0721a8c8","is_valid_coordinates":true} 
[2026-07-27 13:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:24:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995538176001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:24:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8862613475688448,"note":"Value kept but may cause issues"} 
[2026-07-27 13:24:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736911743166707712,"note":"Value kept but may cause issues"} 
[2026-07-27 13:24:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:24:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785138822000,"timestamp_ms":1785138822000,"timestamp_seconds":1785138822,"priority":1,"record_length":96,"hex_timestamp":"0000019fa290bb70"} 
[2026-07-27 13:24:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:24:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-07-27 13:24:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:24:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:24:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:24:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:24:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:24:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143992,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:24:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143992,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:24:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:24:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 13:24:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 13:24:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995538176001,"66":14070,"120":206,"28":31744,"24":7,"16":8862613475688448,"45":1736911743166707712},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 13:24:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 13:24:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 13:24:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995538176001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:24:38] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 13:24:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 13:24:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8862613475688448,"km_value":8862613475688.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:24:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736911743166707712,"description":"Unknown IO ID 45"} 
[2026-07-27 13:24:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995538176001,"power":14070,"unknown_120":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1736911743166707712}} 
[2026-07-27 13:24:38] local.INFO: DEBUG: GPS processor result {"connection_id":143992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553283,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:24:38] local.INFO: GPS data processed {"connection_id":143992,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:24:38] local.INFO: Acknowledgment sent {"connection_id":143992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:25:03] local.INFO: TCP Data received {"connection_id":145281,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 13:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145281,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 13:25:03] local.INFO: Processing buffer {"connection_id":145281,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 13:25:03] local.INFO: IMEI packet received {"connection_id":145281,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 13:25:03] local.INFO: IMEI acknowledgment sent {"connection_id":145281,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 13:25:04] local.INFO: TCP Data received {"connection_id":142999,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142999,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:25:04] local.INFO: Processing buffer {"connection_id":142999,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:25:04] local.INFO: IMEI packet received {"connection_id":142999,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 13:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":142999,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 13:25:05] local.INFO: TCP Data received {"connection_id":142999,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142999,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:25:05] local.INFO: Processing buffer {"connection_id":142999,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:25:05] local.INFO: IMEI packet received {"connection_id":142999,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 13:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":142999,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:25:09] local.INFO: TCP Data received {"connection_id":142864,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa28efe20012d7eba0005aafc98000f00ab2a..."} 
[2026-07-27 13:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa28efe20012d7eba0005aafc98000f00ab2a..."} 
[2026-07-27 13:25:09] local.INFO: Processing buffer {"connection_id":142864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa28efe20012d7eba0005aafc98000f00ab2a..."} 
[2026-07-27 13:25:09] local.INFO: Packet analysis {"connection_id":142864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa28e"} 
[2026-07-27 13:25:09] local.INFO: Extracted packet for processing {"connection_id":142864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa28e"} 
[2026-07-27 13:25:09] local.INFO: GPS Element Parsed {"raw_longitude":763279872,"raw_latitude":95091864,"longitude_deg":76.3279872,"latitude_deg":9.5091864,"altitude":15,"angle":171,"satellites":42,"speed":45,"hex_longitude":"2d7eba00","hex_latitude":"05aafc98","is_valid_coordinates":true} 
[2026-07-27 13:25:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:25:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995507200001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:25:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358846793913466880,"note":"Value kept but may cause issues"} 
[2026-07-27 13:25:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9130837162607087616,"note":"Value kept but may cause issues"} 
[2026-07-27 13:25:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:25:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785138708000,"timestamp_ms":1785138708000,"timestamp_seconds":1785138708,"priority":1,"record_length":96,"hex_timestamp":"0000019fa28efe20"} 
[2026-07-27 13:25:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:25:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-27 13:25:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:25:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:25:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:25:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:25:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:25:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:25:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:25: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-07-27 13:25:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 13:25:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 13:25:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995507200001,"66":28050,"125":206,"85":14336,"24":45,"16":358846793913466880,"45":9130837162607087616},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,85,24,16,45]} 
[2026-07-27 13:25:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 13:25:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 13:25:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995507200001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:25:09] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-07-27 13:25:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-27 13:25:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358846793913466880,"km_value":358846793913466.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:25:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9130837162607087616,"description":"Unknown IO ID 45"} 
[2026-07-27 13:25:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995507200001,"power":28050,"unknown_125":206,"unknown_85":14336,"ignition":45,"odometer":null,"unknown_45":9130837162607087616}} 
[2026-07-27 13:25:09] local.INFO: DEBUG: GPS processor result {"connection_id":142864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:25:09] local.INFO: GPS data processed {"connection_id":142864,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:25:09] local.INFO: Acknowledgment sent {"connection_id":142864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:25:10] local.INFO: TCP Data received {"connection_id":142999,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142999,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:25:10] local.INFO: Processing buffer {"connection_id":142999,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:25:10] local.INFO: IMEI packet received {"connection_id":142999,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 13:25:10] local.INFO: IMEI acknowledgment sent {"connection_id":142999,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:25:11] local.INFO: TCP Data received {"connection_id":142999,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa290bf58012d181ac00721a9700047002326..."} 
[2026-07-27 13:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa290bf58012d181ac00721a9700047002326..."} 
[2026-07-27 13:25:11] local.INFO: Processing buffer {"connection_id":142999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa290bf58012d181ac00721a9700047002326..."} 
[2026-07-27 13:25:11] local.INFO: Packet analysis {"connection_id":142999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa290"} 
[2026-07-27 13:25:11] local.INFO: Extracted packet for processing {"connection_id":142999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa290"} 
[2026-07-27 13:25:11] local.INFO: GPS Element Parsed {"raw_longitude":756554432,"raw_latitude":119646576,"longitude_deg":75.6554432,"latitude_deg":11.9646576,"altitude":71,"angle":35,"satellites":38,"speed":6,"hex_longitude":"2d181ac0","hex_latitude":"0721a970","is_valid_coordinates":true} 
[2026-07-27 13:25:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:25:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995538432001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:25:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8862626360590336,"note":"Value kept but may cause issues"} 
[2026-07-27 13:25:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736841374422583296,"note":"Value kept but may cause issues"} 
[2026-07-27 13:25:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:25:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785138823000,"timestamp_ms":1785138823000,"timestamp_seconds":1785138823,"priority":1,"record_length":96,"hex_timestamp":"0000019fa290bf58"} 
[2026-07-27 13:25:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:25:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-07-27 13:25:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:25:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:25:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:25:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:25:11] local.INFO: Teltonika packet parsed successfully {"connection_id":142999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:25:11] local.INFO: Passing IMEI to GPS processor {"connection_id":142999,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:25:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":142999,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:25:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:25:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 13:25:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 13:25:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995538432001,"66":14026,"120":206,"28":31744,"24":6,"16":8862626360590336,"45":1736841374422583296},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 13:25:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 13:25:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 13:25:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995538432001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:25:11] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 13:25:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 13:25:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8862626360590336,"km_value":8862626360590.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:25:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736841374422583296,"description":"Unknown IO ID 45"} 
[2026-07-27 13:25:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995538432001,"power":14026,"unknown_120":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1736841374422583296}} 
[2026-07-27 13:25:11] local.INFO: DEBUG: GPS processor result {"connection_id":142999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553285,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:25:11] local.INFO: GPS data processed {"connection_id":142999,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:25:11] local.INFO: Acknowledgment sent {"connection_id":142999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:25:32] local.INFO: TCP Data received {"connection_id":142865,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:25:32] local.INFO: Processing buffer {"connection_id":142865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:25:32] local.INFO: IMEI packet received {"connection_id":142865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 13:25:32] local.INFO: IMEI acknowledgment sent {"connection_id":142865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 13:25:36] local.INFO: TCP Data received {"connection_id":142865,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:25:36] local.INFO: Processing buffer {"connection_id":142865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:25:36] local.INFO: IMEI packet received {"connection_id":142865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 13:25:36] local.INFO: IMEI acknowledgment sent {"connection_id":142865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:25:37] local.INFO: TCP Data received {"connection_id":142865,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa28f2530012d7ebd8005aada30001000ad2c..."} 
[2026-07-27 13:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa28f2530012d7ebd8005aada30001000ad2c..."} 
[2026-07-27 13:25:37] local.INFO: Processing buffer {"connection_id":142865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa28f2530012d7ebd8005aada30001000ad2c..."} 
[2026-07-27 13:25:37] local.INFO: Packet analysis {"connection_id":142865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa28f"} 
[2026-07-27 13:25:37] local.INFO: Extracted packet for processing {"connection_id":142865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa28f"} 
[2026-07-27 13:25:37] local.INFO: GPS Element Parsed {"raw_longitude":763280768,"raw_latitude":95083056,"longitude_deg":76.3280768,"latitude_deg":9.5083056,"altitude":16,"angle":173,"satellites":44,"speed":27,"hex_longitude":"2d7ebd80","hex_latitude":"05aada30","is_valid_coordinates":true} 
[2026-07-27 13:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995509248001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358847223410196480,"note":"Value kept but may cause issues"} 
[2026-07-27 13:25:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9131611218790619136,"note":"Value kept but may cause issues"} 
[2026-07-27 13:25:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785138718000,"timestamp_ms":1785138718000,"timestamp_seconds":1785138718,"priority":1,"record_length":96,"hex_timestamp":"0000019fa28f2530"} 
[2026-07-27 13:25:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:25:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-27 13:25:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:25:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:25:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":142865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":142865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":142865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:25:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 13:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 13:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995509248001,"66":27843,"125":206,"85":14336,"24":27,"16":358847223410196480,"45":9131611218790619136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,85,24,16,45]} 
[2026-07-27 13:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 13:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 13:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995509248001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:25:37] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-07-27 13:25:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-27 13:25:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358847223410196480,"km_value":358847223410196.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:25:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9131611218790619136,"description":"Unknown IO ID 45"} 
[2026-07-27 13:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995509248001,"power":27843,"unknown_125":206,"unknown_85":14336,"ignition":27,"odometer":null,"unknown_45":9131611218790619136}} 
[2026-07-27 13:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":142865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:25:37] local.INFO: GPS data processed {"connection_id":142865,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:25:37] local.INFO: Acknowledgment sent {"connection_id":142865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:25:43] local.INFO: TCP Data received {"connection_id":142999,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa290c340012d181b400721a9c80047003625..."} 
[2026-07-27 13:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa290c340012d181b400721a9c80047003625..."} 
[2026-07-27 13:25:43] local.INFO: Processing buffer {"connection_id":142999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa290c340012d181b400721a9c80047003625..."} 
[2026-07-27 13:25:43] local.INFO: Packet analysis {"connection_id":142999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa290"} 
[2026-07-27 13:25:43] local.INFO: Extracted packet for processing {"connection_id":142999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa290"} 
[2026-07-27 13:25:43] local.INFO: GPS Element Parsed {"raw_longitude":756554560,"raw_latitude":119646664,"longitude_deg":75.655456,"latitude_deg":11.9646664,"altitude":71,"angle":54,"satellites":37,"speed":4,"hex_longitude":"2d181b40","hex_latitude":"0721a9c8","is_valid_coordinates":true} 
[2026-07-27 13: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-07-27 13:25:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995538688001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:25:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8862634950524928,"note":"Value kept but may cause issues"} 
[2026-07-27 13:25:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736911743166803968,"note":"Value kept but may cause issues"} 
[2026-07-27 13:25: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-07-27 13:25:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785138824000,"timestamp_ms":1785138824000,"timestamp_seconds":1785138824,"priority":1,"record_length":96,"hex_timestamp":"0000019fa290c340"} 
[2026-07-27 13:25:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:25:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13: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":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-07-27 13:25:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2286,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13: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-07-27 13:25:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:25:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:25:43] local.INFO: Teltonika packet parsed successfully {"connection_id":142999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:25:43] local.INFO: Passing IMEI to GPS processor {"connection_id":142999,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:25:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":142999,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:25:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:25:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 13:25:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 13:25:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995538688001,"66":14026,"120":206,"28":31744,"24":4,"16":8862634950524928,"45":1736911743166803968},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 13:25:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 13:25:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 13:25:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995538688001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:25:43] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 13:25:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 13:25:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8862634950524928,"km_value":8862634950524.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:25:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736911743166803968,"description":"Unknown IO ID 45"} 
[2026-07-27 13:25:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995538688001,"power":14026,"unknown_120":206,"unknown_28":31744,"ignition":4,"odometer":null,"unknown_45":1736911743166803968}} 
[2026-07-27 13:25:43] local.INFO: DEBUG: GPS processor result {"connection_id":142999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553287,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:25:43] local.INFO: GPS data processed {"connection_id":142999,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:25:43] local.INFO: Acknowledgment sent {"connection_id":142999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:25:57] local.INFO: TCP Data received {"connection_id":143993,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143993,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:25:57] local.INFO: Processing buffer {"connection_id":143993,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:25:57] local.INFO: IMEI packet received {"connection_id":143993,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 13:25:57] local.INFO: IMEI acknowledgment sent {"connection_id":143993,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 13:25:59] local.INFO: TCP Data received {"connection_id":143993,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143993,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:25:59] local.INFO: Processing buffer {"connection_id":143993,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:25:59] local.INFO: IMEI packet received {"connection_id":143993,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 13:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":143993,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:26:00] local.INFO: TCP Data received {"connection_id":143993,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143993,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:26:00] local.INFO: Processing buffer {"connection_id":143993,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:26:00] local.INFO: IMEI packet received {"connection_id":143993,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 13:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":143993,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:26:05] local.INFO: TCP Data received {"connection_id":143993,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143993,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:26:05] local.INFO: Processing buffer {"connection_id":143993,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:26:05] local.INFO: IMEI packet received {"connection_id":143993,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 13:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":143993,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:26:06] local.INFO: TCP Data received {"connection_id":143993,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2911548012d181b400721a9f00047003627..."} 
[2026-07-27 13:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143993,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2911548012d181b400721a9f00047003627..."} 
[2026-07-27 13:26:06] local.INFO: Processing buffer {"connection_id":143993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2911548012d181b400721a9f00047003627..."} 
[2026-07-27 13:26:06] local.INFO: Packet analysis {"connection_id":143993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa291"} 
[2026-07-27 13:26:06] local.INFO: Extracted packet for processing {"connection_id":143993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa291"} 
[2026-07-27 13:26:06] local.INFO: GPS Element Parsed {"raw_longitude":756554560,"raw_latitude":119646704,"longitude_deg":75.655456,"latitude_deg":11.9646704,"altitude":71,"angle":54,"satellites":39,"speed":0,"hex_longitude":"2d181b40","hex_latitude":"0721a9f0","is_valid_coordinates":true} 
[2026-07-27 13:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:26:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995538944001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:26:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8862634950524928,"note":"Value kept but may cause issues"} 
[2026-07-27 13:26:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737052480655181824,"note":"Value kept but may cause issues"} 
[2026-07-27 13:26:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:26:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785138845000,"timestamp_ms":1785138845000,"timestamp_seconds":1785138845,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2911548"} 
[2026-07-27 13:26:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:26:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-07-27 13:26:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2286,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:26:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:26:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:26:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:26:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:26:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143993,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:26:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143993,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:26:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:26:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 13:26:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 13:26:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995538944001,"66":14330,"120":206,"28":31744,"24":0,"16":8862634950524928,"45":1737052480655181824},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 13:26:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 13:26:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 13:26:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995538944001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:26:06] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 13:26:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 13:26:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8862634950524928,"km_value":8862634950524.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:26:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737052480655181824,"description":"Unknown IO ID 45"} 
[2026-07-27 13:26:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995538944001,"power":14330,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737052480655181824}} 
[2026-07-27 13:26:06] local.INFO: DEBUG: GPS processor result {"connection_id":143993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553288,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:26:06] local.INFO: GPS data processed {"connection_id":143993,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:26:06] local.INFO: Acknowledgment sent {"connection_id":143993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:26:08] local.INFO: TCP Data received {"connection_id":142865,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa28f7738012d7ec14005aabd20000f00af2c..."} 
[2026-07-27 13:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa28f7738012d7ec14005aabd20000f00af2c..."} 
[2026-07-27 13:26:08] local.INFO: Processing buffer {"connection_id":142865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa28f7738012d7ec14005aabd20000f00af2c..."} 
[2026-07-27 13:26:08] local.INFO: Packet analysis {"connection_id":142865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa28f"} 
[2026-07-27 13:26:08] local.INFO: Extracted packet for processing {"connection_id":142865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa28f"} 
[2026-07-27 13:26:08] local.INFO: GPS Element Parsed {"raw_longitude":763281728,"raw_latitude":95075616,"longitude_deg":76.3281728,"latitude_deg":9.5075616,"altitude":15,"angle":175,"satellites":44,"speed":5,"hex_longitude":"2d7ec140","hex_latitude":"05aabd20","is_valid_coordinates":true} 
[2026-07-27 13:26:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:26:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995511808001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:26:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358847588482416640,"note":"Value kept but may cause issues"} 
[2026-07-27 13:26:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9132596381206851584,"note":"Value kept but may cause issues"} 
[2026-07-27 13:26:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:26:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785138739000,"timestamp_ms":1785138739000,"timestamp_seconds":1785138739,"priority":1,"record_length":96,"hex_timestamp":"0000019fa28f7738"} 
[2026-07-27 13:26:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:26:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-27 13:26:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:26:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:26:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:26:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:26:08] local.INFO: Teltonika packet parsed successfully {"connection_id":142865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:26:08] local.INFO: Passing IMEI to GPS processor {"connection_id":142865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:26:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":142865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:26:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:26:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 13:26:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 13:26:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995511808001,"66":27713,"125":206,"85":14336,"24":5,"16":358847588482416640,"45":9132596381206851584},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,85,24,16,45]} 
[2026-07-27 13:26:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 13:26:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 13:26:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995511808001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:26:08] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-07-27 13:26:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-27 13:26:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358847588482416640,"km_value":358847588482416.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:26:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9132596381206851584,"description":"Unknown IO ID 45"} 
[2026-07-27 13:26:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995511808001,"power":27713,"unknown_125":206,"unknown_85":14336,"ignition":5,"odometer":null,"unknown_45":9132596381206851584}} 
[2026-07-27 13:26:08] local.INFO: DEBUG: GPS processor result {"connection_id":142865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:26:08] local.INFO: GPS data processed {"connection_id":142865,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:26:08] local.INFO: Acknowledgment sent {"connection_id":142865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:26:32] local.INFO: TCP Data received {"connection_id":142866,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:26:32] local.INFO: Processing buffer {"connection_id":142866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:26:32] local.INFO: IMEI packet received {"connection_id":142866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 13:26:32] local.INFO: IMEI acknowledgment sent {"connection_id":142866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 13:26:37] local.INFO: TCP Data received {"connection_id":143993,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2916750012d181b400721a9f0004700362a..."} 
[2026-07-27 13:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143993,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2916750012d181b400721a9f0004700362a..."} 
[2026-07-27 13:26:37] local.INFO: Processing buffer {"connection_id":143993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2916750012d181b400721a9f0004700362a..."} 
[2026-07-27 13:26:37] local.INFO: Packet analysis {"connection_id":143993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa291"} 
[2026-07-27 13:26:37] local.INFO: Extracted packet for processing {"connection_id":143993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa291"} 
[2026-07-27 13:26:37] local.INFO: GPS Element Parsed {"raw_longitude":756554560,"raw_latitude":119646704,"longitude_deg":75.655456,"latitude_deg":11.9646704,"altitude":71,"angle":54,"satellites":42,"speed":0,"hex_longitude":"2d181b40","hex_latitude":"0721a9f0","is_valid_coordinates":true} 
[2026-07-27 13:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:26:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995544320001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:26:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8862634950524928,"note":"Value kept but may cause issues"} 
[2026-07-27 13:26:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737052480655192064,"note":"Value kept but may cause issues"} 
[2026-07-27 13:26:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:26:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785138866000,"timestamp_ms":1785138866000,"timestamp_seconds":1785138866,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2916750"} 
[2026-07-27 13:26:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:26:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":250,"data_length":795,"current_offset":136} 
[2026-07-27 13:26:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2723,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:26:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:26:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:26:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:26:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:26:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143993,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:26:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143993,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:26:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:26:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 13:26:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 13:26:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995544320001,"66":13722,"120":206,"28":31744,"24":0,"16":8862634950524928,"45":1737052480655192064},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 13:26:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 13:26:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 13:26:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995544320001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:26:37] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 13:26:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 13:26:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8862634950524928,"km_value":8862634950524.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:26:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737052480655192064,"description":"Unknown IO ID 45"} 
[2026-07-27 13:26:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995544320001,"power":13722,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737052480655192064}} 
[2026-07-27 13:26:37] local.INFO: TCP Data received {"connection_id":142866,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:26:37] local.INFO: Processing buffer {"connection_id":142866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:26:37] local.INFO: IMEI packet received {"connection_id":142866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 13:26:37] local.INFO: IMEI acknowledgment sent {"connection_id":142866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:26:37] local.INFO: DEBUG: GPS processor result {"connection_id":143993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553290,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:26:37] local.INFO: GPS data processed {"connection_id":143993,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:26:37] local.INFO: Acknowledgment sent {"connection_id":143993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:26:38] local.INFO: TCP Data received {"connection_id":142866,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa28fc940012d7ec24005aab360000e00a92e..."} 
[2026-07-27 13:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa28fc940012d7ec24005aab360000e00a92e..."} 
[2026-07-27 13:26:38] local.INFO: Processing buffer {"connection_id":142866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa28fc940012d7ec24005aab360000e00a92e..."} 
[2026-07-27 13:26:38] local.INFO: Packet analysis {"connection_id":142866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa28f"} 
[2026-07-27 13:26:38] local.INFO: Extracted packet for processing {"connection_id":142866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa28f"} 
[2026-07-27 13:26:38] local.INFO: GPS Element Parsed {"raw_longitude":763281984,"raw_latitude":95073120,"longitude_deg":76.3281984,"latitude_deg":9.507312,"altitude":14,"angle":169,"satellites":46,"speed":0,"hex_longitude":"2d7ec240","hex_latitude":"05aab360","is_valid_coordinates":true} 
[2026-07-27 13:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:26:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995517184001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:26:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358847713036468224,"note":"Value kept but may cause issues"} 
[2026-07-27 13:26:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9133651912367611904,"note":"Value kept but may cause issues"} 
[2026-07-27 13:26:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:26:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785138760000,"timestamp_ms":1785138760000,"timestamp_seconds":1785138760,"priority":1,"record_length":96,"hex_timestamp":"0000019fa28fc940"} 
[2026-07-27 13:26:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:26:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-27 13:26:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:26:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:26:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:26:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:26:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:26:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:26:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:26:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:26:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 13:26:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 13:26:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995517184001,"66":28050,"125":206,"85":14336,"24":0,"16":358847713036468224,"45":9133651912367611904},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,85,24,16,45]} 
[2026-07-27 13:26:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 13:26:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 13:26:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995517184001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:26:38] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-07-27 13:26:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-27 13:26:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358847713036468224,"km_value":358847713036468.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:26:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9133651912367611904,"description":"Unknown IO ID 45"} 
[2026-07-27 13:26:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995517184001,"power":28050,"unknown_125":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":9133651912367611904}} 
[2026-07-27 13:26:38] local.INFO: DEBUG: GPS processor result {"connection_id":142866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:26:38] local.INFO: GPS data processed {"connection_id":142866,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:26:38] local.INFO: Acknowledgment sent {"connection_id":142866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:27:00] local.INFO: TCP Data received {"connection_id":142867,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142867,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:27:00] local.INFO: Processing buffer {"connection_id":142867,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:27:00] local.INFO: IMEI packet received {"connection_id":142867,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 13:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":142867,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 13:27:02] local.INFO: TCP Data received {"connection_id":142867,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142867,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:27:02] local.INFO: Processing buffer {"connection_id":142867,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:27:02] local.INFO: IMEI packet received {"connection_id":142867,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 13:27:02] local.INFO: IMEI acknowledgment sent {"connection_id":142867,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:27:05] local.INFO: TCP Data received {"connection_id":142867,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142867,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:27:05] local.INFO: Processing buffer {"connection_id":142867,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:27:05] local.INFO: IMEI packet received {"connection_id":142867,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 13:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":142867,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:27:06] local.INFO: TCP Data received {"connection_id":142867,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa291a5d0012d181dc00721abf8004900262b..."} 
[2026-07-27 13:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142867,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa291a5d0012d181dc00721abf8004900262b..."} 
[2026-07-27 13:27:06] local.INFO: Processing buffer {"connection_id":142867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa291a5d0012d181dc00721abf8004900262b..."} 
[2026-07-27 13:27:06] local.INFO: Packet analysis {"connection_id":142867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa291"} 
[2026-07-27 13:27:06] local.INFO: Extracted packet for processing {"connection_id":142867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa291"} 
[2026-07-27 13:27:06] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647224,"longitude_deg":75.65552,"latitude_deg":11.9647224,"altitude":73,"angle":38,"satellites":43,"speed":8,"hex_longitude":"2d181dc0","hex_latitude":"0721abf8","is_valid_coordinates":true} 
[2026-07-27 13:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:27:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995549696001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:27:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8862673605230592,"note":"Value kept but may cause issues"} 
[2026-07-27 13:27:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737052480655192064,"note":"Value kept but may cause issues"} 
[2026-07-27 13:27:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:27:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785138882000,"timestamp_ms":1785138882000,"timestamp_seconds":1785138882,"priority":1,"record_length":96,"hex_timestamp":"0000019fa291a5d0"} 
[2026-07-27 13:27:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:27:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-07-27 13:27:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:27:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:27:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:27:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:27:06] local.INFO: Teltonika packet parsed successfully {"connection_id":142867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:27:06] local.INFO: Passing IMEI to GPS processor {"connection_id":142867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:27:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":142867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:27:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:27:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 13:27:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 13:27:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995549696001,"66":14428,"120":206,"28":31744,"24":8,"16":8862673605230592,"45":1737052480655192064},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 13:27:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 13:27:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 13:27:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995549696001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:27:06] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 13:27:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 13:27:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8862673605230592,"km_value":8862673605230.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:27:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737052480655192064,"description":"Unknown IO ID 45"} 
[2026-07-27 13:27:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995549696001,"power":14428,"unknown_120":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1737052480655192064}} 
[2026-07-27 13:27:06] local.INFO: DEBUG: GPS processor result {"connection_id":142867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553292,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:27:06] local.INFO: GPS data processed {"connection_id":142867,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:27:06] local.INFO: Acknowledgment sent {"connection_id":142867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:27:09] local.INFO: TCP Data received {"connection_id":142866,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa292b740012d7ed30005a98600000e00c02c..."} 
[2026-07-27 13:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa292b740012d7ed30005a98600000e00c02c..."} 
[2026-07-27 13:27:09] local.INFO: Processing buffer {"connection_id":142866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa292b740012d7ed30005a98600000e00c02c..."} 
[2026-07-27 13:27:09] local.INFO: Packet analysis {"connection_id":142866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa292"} 
[2026-07-27 13:27:09] local.INFO: Extracted packet for processing {"connection_id":142866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa292"} 
[2026-07-27 13:27:09] local.INFO: GPS Element Parsed {"raw_longitude":763286272,"raw_latitude":94995968,"longitude_deg":76.3286272,"latitude_deg":9.4995968,"altitude":14,"angle":192,"satellites":44,"speed":22,"hex_longitude":"2d7ed300","hex_latitude":"05a98600","is_valid_coordinates":true} 
[2026-07-27 13:27:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:27:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995568640001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:27:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358851484017754112,"note":"Value kept but may cause issues"} 
[2026-07-27 13:27:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9139281411883012096,"note":"Value kept but may cause issues"} 
[2026-07-27 13:27:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:27:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785138952000,"timestamp_ms":1785138952000,"timestamp_seconds":1785138952,"priority":1,"record_length":96,"hex_timestamp":"0000019fa292b740"} 
[2026-07-27 13:27:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:27:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:27:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-27 13:27:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:27:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:27:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:27:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:27:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:27:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:27:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:27: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-07-27 13:27:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 13:27:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 13:27:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995568640001,"66":27865,"6":206,"85":14336,"24":22,"16":358851484017754112,"45":9139281411883012096},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,85,24,16,45]} 
[2026-07-27 13:27:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 13:27:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 13:27:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995568640001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:27:09] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-07-27 13:27:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-27 13:27:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358851484017754112,"km_value":358851484017754.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:27:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9139281411883012096,"description":"Unknown IO ID 45"} 
[2026-07-27 13:27:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995568640001,"power":27865,"unknown_6":206,"unknown_85":14336,"ignition":22,"odometer":null,"unknown_45":9139281411883012096}} 
[2026-07-27 13:27:09] local.INFO: DEBUG: GPS processor result {"connection_id":142866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:27:09] local.INFO: GPS data processed {"connection_id":142866,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:27:09] local.INFO: Acknowledgment sent {"connection_id":142866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:27:11] local.INFO: TCP Data received {"connection_id":142867,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa291d4b0012d1824c00721b6d8004a00142b..."} 
[2026-07-27 13:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142867,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa291d4b0012d1824c00721b6d8004a00142b..."} 
[2026-07-27 13:27:11] local.INFO: Processing buffer {"connection_id":142867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa291d4b0012d1824c00721b6d8004a00142b..."} 
[2026-07-27 13:27:11] local.INFO: Packet analysis {"connection_id":142867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa291"} 
[2026-07-27 13:27:11] local.INFO: Extracted packet for processing {"connection_id":142867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa291"} 
[2026-07-27 13:27:11] local.INFO: GPS Element Parsed {"raw_longitude":756556992,"raw_latitude":119650008,"longitude_deg":75.6556992,"latitude_deg":11.9650008,"altitude":74,"angle":20,"satellites":43,"speed":11,"hex_longitude":"2d1824c0","hex_latitude":"0721b6d8","is_valid_coordinates":true} 
[2026-07-27 13:27:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:27:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995553792001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:27:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8862836813987840,"note":"Value kept but may cause issues"} 
[2026-07-27 13:27:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097101824,"note":"Value kept but may cause issues"} 
[2026-07-27 13:27:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:27:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785138894000,"timestamp_ms":1785138894000,"timestamp_seconds":1785138894,"priority":1,"record_length":96,"hex_timestamp":"0000019fa291d4b0"} 
[2026-07-27 13:27:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:27:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-27 13:27:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:27:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:27:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:27:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:27:11] local.INFO: Teltonika packet parsed successfully {"connection_id":142867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:27:11] local.INFO: Passing IMEI to GPS processor {"connection_id":142867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:27:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":142867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:27:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:27:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 13:27:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 13:27:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995553792001,"66":13276,"120":206,"28":31744,"24":11,"16":8862836813987840,"45":1737756168097101824},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 13:27:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 13:27:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 13:27:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995553792001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:27:11] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 13:27:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 13:27:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8862836813987840,"km_value":8862836813987.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:27:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097101824,"description":"Unknown IO ID 45"} 
[2026-07-27 13:27:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995553792001,"power":13276,"unknown_120":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1737756168097101824}} 
[2026-07-27 13:27:11] local.INFO: DEBUG: GPS processor result {"connection_id":142867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553294,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:27:11] local.INFO: GPS data processed {"connection_id":142867,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:27:11] local.INFO: Acknowledgment sent {"connection_id":142867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:27:32] local.INFO: TCP Data received {"connection_id":143000,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:27:32] local.INFO: Processing buffer {"connection_id":143000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:27:32] local.INFO: IMEI packet received {"connection_id":143000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 13:27:32] local.INFO: IMEI acknowledgment sent {"connection_id":143000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 13:27:37] local.INFO: TCP Data received {"connection_id":143000,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:27:37] local.INFO: Processing buffer {"connection_id":143000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:27:37] local.INFO: IMEI packet received {"connection_id":143000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 13:27:37] local.INFO: IMEI acknowledgment sent {"connection_id":143000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:27:38] local.INFO: TCP Data received {"connection_id":143000,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa292d680012d7ecf8005a97540000d00b32c..."} 
[2026-07-27 13:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa292d680012d7ecf8005a97540000d00b32c..."} 
[2026-07-27 13:27:38] local.INFO: Processing buffer {"connection_id":143000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa292d680012d7ecf8005a97540000d00b32c..."} 
[2026-07-27 13:27:38] local.INFO: Packet analysis {"connection_id":143000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa292"} 
[2026-07-27 13:27:38] local.INFO: Extracted packet for processing {"connection_id":143000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa292"} 
[2026-07-27 13:27:38] local.INFO: GPS Element Parsed {"raw_longitude":763285376,"raw_latitude":94991680,"longitude_deg":76.3285376,"latitude_deg":9.499168,"altitude":13,"angle":179,"satellites":44,"speed":17,"hex_longitude":"2d7ecf80","hex_latitude":"05a97540","is_valid_coordinates":true} 
[2026-07-27 13:27:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:27:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995571712001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:27:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358851698766118912,"note":"Value kept but may cause issues"} 
[2026-07-27 13:27:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9138648093183836160,"note":"Value kept but may cause issues"} 
[2026-07-27 13:27:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:27:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785138960000,"timestamp_ms":1785138960000,"timestamp_seconds":1785138960,"priority":1,"record_length":96,"hex_timestamp":"0000019fa292d680"} 
[2026-07-27 13:27:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:27:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:27:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-27 13:27:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:27:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:27:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:27:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:27:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:27:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:27:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:27:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:27:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 13:27:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 13:27:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995571712001,"66":27832,"6":206,"85":14336,"24":17,"16":358851698766118912,"45":9138648093183836160},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,85,24,16,45]} 
[2026-07-27 13:27:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 13:27:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 13:27:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995571712001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:27:38] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-07-27 13:27:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-27 13:27:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358851698766118912,"km_value":358851698766118.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:27:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9138648093183836160,"description":"Unknown IO ID 45"} 
[2026-07-27 13:27:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995571712001,"power":27832,"unknown_6":206,"unknown_85":14336,"ignition":17,"odometer":null,"unknown_45":9138648093183836160}} 
[2026-07-27 13:27:38] local.INFO: DEBUG: GPS processor result {"connection_id":143000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:27:38] local.INFO: GPS data processed {"connection_id":143000,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:27:38] local.INFO: Acknowledgment sent {"connection_id":143000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:27:42] local.INFO: TCP Data received {"connection_id":142867,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa291d898012d1824c00721b7c0004b01652b..."} 
[2026-07-27 13:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142867,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa291d898012d1824c00721b7c0004b01652b..."} 
[2026-07-27 13:27:42] local.INFO: Processing buffer {"connection_id":142867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa291d898012d1824c00721b7c0004b01652b..."} 
[2026-07-27 13:27:42] local.INFO: Packet analysis {"connection_id":142867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa291"} 
[2026-07-27 13:27:42] local.INFO: Extracted packet for processing {"connection_id":142867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa291"} 
[2026-07-27 13:27:42] local.INFO: GPS Element Parsed {"raw_longitude":756556992,"raw_latitude":119650240,"longitude_deg":75.6556992,"latitude_deg":11.965024,"altitude":75,"angle":357,"satellites":43,"speed":7,"hex_longitude":"2d1824c0","hex_latitude":"0721b7c0","is_valid_coordinates":true} 
[2026-07-27 13:27:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:27:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995556864001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:27:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8862845403922432,"note":"Value kept but may cause issues"} 
[2026-07-27 13:27:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739726492934789120,"note":"Value kept but may cause issues"} 
[2026-07-27 13:27:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:27:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785138895000,"timestamp_ms":1785138895000,"timestamp_seconds":1785138895,"priority":1,"record_length":96,"hex_timestamp":"0000019fa291d898"} 
[2026-07-27 13:27:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:27:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-27 13:27:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:27:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:27:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:27:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:27:42] local.INFO: Teltonika packet parsed successfully {"connection_id":142867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:27:42] local.INFO: Passing IMEI to GPS processor {"connection_id":142867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:27:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":142867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:27:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:27:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 13:27:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 13:27:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995556864001,"66":13254,"120":206,"28":31744,"24":7,"16":8862845403922432,"45":1739726492934789120},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 13:27:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 13:27:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 13:27:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995556864001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:27:42] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 13:27:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 13:27:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8862845403922432,"km_value":8862845403922.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:27:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739726492934789120,"description":"Unknown IO ID 45"} 
[2026-07-27 13:27:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995556864001,"power":13254,"unknown_120":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1739726492934789120}} 
[2026-07-27 13:27:42] local.INFO: DEBUG: GPS processor result {"connection_id":142867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553296,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:27:42] local.INFO: GPS data processed {"connection_id":142867,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:27:42] local.INFO: Acknowledgment sent {"connection_id":142867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:28:00] local.INFO: TCP Data received {"connection_id":145282,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145282,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:28:00] local.INFO: Processing buffer {"connection_id":145282,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:28:00] local.INFO: IMEI packet received {"connection_id":145282,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 13:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":145282,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 13:28:05] local.INFO: TCP Data received {"connection_id":145282,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145282,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:28:05] local.INFO: Processing buffer {"connection_id":145282,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:28:05] local.INFO: IMEI packet received {"connection_id":145282,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 13:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":145282,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:28:06] local.INFO: TCP Data received {"connection_id":145282,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa29222d0012d1824400721b768004d00dd2a..."} 
[2026-07-27 13:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa29222d0012d1824400721b768004d00dd2a..."} 
[2026-07-27 13:28:06] local.INFO: Processing buffer {"connection_id":145282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa29222d0012d1824400721b768004d00dd2a..."} 
[2026-07-27 13:28:06] local.INFO: Packet analysis {"connection_id":145282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa292"} 
[2026-07-27 13:28:06] local.INFO: Extracted packet for processing {"connection_id":145282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa292"} 
[2026-07-27 13:28:06] local.INFO: GPS Element Parsed {"raw_longitude":756556864,"raw_latitude":119650152,"longitude_deg":75.6556864,"latitude_deg":11.9650152,"altitude":77,"angle":221,"satellites":42,"speed":6,"hex_longitude":"2d182440","hex_latitude":"0721b768","is_valid_coordinates":true} 
[2026-07-27 13:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:28:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995557120001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:28:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8862888353595392,"note":"Value kept but may cause issues"} 
[2026-07-27 13:28:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739726492934848512,"note":"Value kept but may cause issues"} 
[2026-07-27 13:28:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:28:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785138914000,"timestamp_ms":1785138914000,"timestamp_seconds":1785138914,"priority":1,"record_length":96,"hex_timestamp":"0000019fa29222d0"} 
[2026-07-27 13:28:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:28:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-27 13:28:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:28:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:28:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:28:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:28:06] local.INFO: Teltonika packet parsed successfully {"connection_id":145282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:28:06] local.INFO: Passing IMEI to GPS processor {"connection_id":145282,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:28:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":145282,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:28:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:28:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 13:28:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 13:28:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995557120001,"66":13156,"120":206,"28":31744,"24":6,"16":8862888353595392,"45":1739726492934848512},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 13:28:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 13:28:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 13:28:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995557120001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:28:06] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 13:28:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 13:28:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8862888353595392,"km_value":8862888353595.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:28:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739726492934848512,"description":"Unknown IO ID 45"} 
[2026-07-27 13:28:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995557120001,"power":13156,"unknown_120":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1739726492934848512}} 
[2026-07-27 13:28:06] local.INFO: DEBUG: GPS processor result {"connection_id":145282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553297,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:28:06] local.INFO: GPS data processed {"connection_id":145282,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:28:06] local.INFO: Acknowledgment sent {"connection_id":145282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:28:09] local.INFO: TCP Data received {"connection_id":143000,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2931500012d7ed00005a950f0000c00b329..."} 
[2026-07-27 13:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2931500012d7ed00005a950f0000c00b329..."} 
[2026-07-27 13:28:09] local.INFO: Processing buffer {"connection_id":143000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2931500012d7ed00005a950f0000c00b329..."} 
[2026-07-27 13:28:09] local.INFO: Packet analysis {"connection_id":143000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa293"} 
[2026-07-27 13:28:09] local.INFO: Extracted packet for processing {"connection_id":143000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa293"} 
[2026-07-27 13:28:09] local.INFO: GPS Element Parsed {"raw_longitude":763285504,"raw_latitude":94982384,"longitude_deg":76.3285504,"latitude_deg":9.4982384,"altitude":12,"angle":179,"satellites":41,"speed":20,"hex_longitude":"2d7ed000","hex_latitude":"05a950f0","is_valid_coordinates":true} 
[2026-07-27 13:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:28:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995573760001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:28:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358852149737684992,"note":"Value kept but may cause issues"} 
[2026-07-27 13:28:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9137662930764251136,"note":"Value kept but may cause issues"} 
[2026-07-27 13:28:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:28:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785138976000,"timestamp_ms":1785138976000,"timestamp_seconds":1785138976,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2931500"} 
[2026-07-27 13:28:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:28:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-27 13:28:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:28:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:28:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:28:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:28:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:28:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:28:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:28: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-07-27 13:28:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 13:28:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 13:28:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995573760001,"66":27995,"6":206,"85":14336,"24":20,"16":358852149737684992,"45":9137662930764251136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,85,24,16,45]} 
[2026-07-27 13:28:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 13:28:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 13:28:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995573760001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:28:09] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-07-27 13:28:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-27 13:28:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358852149737684992,"km_value":358852149737685.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:28:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9137662930764251136,"description":"Unknown IO ID 45"} 
[2026-07-27 13:28:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995573760001,"power":27995,"unknown_6":206,"unknown_85":14336,"ignition":20,"odometer":null,"unknown_45":9137662930764251136}} 
[2026-07-27 13:28:09] local.INFO: DEBUG: GPS processor result {"connection_id":143000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:28:09] local.INFO: GPS data processed {"connection_id":143000,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:28:09] local.INFO: Acknowledgment sent {"connection_id":143000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:28:32] local.INFO: TCP Data received {"connection_id":143001,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:28:32] local.INFO: Processing buffer {"connection_id":143001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:28:32] local.INFO: IMEI packet received {"connection_id":143001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 13:28:32] local.INFO: IMEI acknowledgment sent {"connection_id":143001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 13:28:32] local.INFO: TCP Data received {"connection_id":143001,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:28:32] local.INFO: Processing buffer {"connection_id":143001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:28:32] local.INFO: IMEI packet received {"connection_id":143001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 13:28:32] local.INFO: IMEI acknowledgment sent {"connection_id":143001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:28:37] local.INFO: TCP Data received {"connection_id":143001,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:28:37] local.INFO: Processing buffer {"connection_id":143001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:28:37] local.INFO: IMEI packet received {"connection_id":143001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 13:28:37] local.INFO: IMEI acknowledgment sent {"connection_id":143001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:28:38] local.INFO: TCP Data received {"connection_id":145282,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa29226b8012d1824000721b6d8004d00c02a..."} 
[2026-07-27 13:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa29226b8012d1824000721b6d8004d00c02a..."} 
[2026-07-27 13:28:38] local.INFO: Processing buffer {"connection_id":145282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa29226b8012d1824000721b6d8004d00c02a..."} 
[2026-07-27 13:28:38] local.INFO: Packet analysis {"connection_id":145282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa292"} 
[2026-07-27 13:28:38] local.INFO: Extracted packet for processing {"connection_id":145282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa292"} 
[2026-07-27 13:28:38] local.INFO: GPS Element Parsed {"raw_longitude":756556800,"raw_latitude":119650008,"longitude_deg":75.65568,"latitude_deg":11.9650008,"altitude":77,"angle":192,"satellites":42,"speed":6,"hex_longitude":"2d182400","hex_latitude":"0721b6d8","is_valid_coordinates":true} 
[2026-07-27 13:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:28:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995561984001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:28:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8862896943529984,"note":"Value kept but may cause issues"} 
[2026-07-27 13:28:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739585755446470656,"note":"Value kept but may cause issues"} 
[2026-07-27 13:28:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:28:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785138915000,"timestamp_ms":1785138915000,"timestamp_seconds":1785138915,"priority":1,"record_length":96,"hex_timestamp":"0000019fa29226b8"} 
[2026-07-27 13:28:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:28:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-07-27 13:28:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1353,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:28:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:28:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:28:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:28:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:28:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145282,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:28:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145282,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:28:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:28:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 13:28:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 13:28:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995561984001,"66":13102,"120":206,"28":31744,"24":6,"16":8862896943529984,"45":1739585755446470656},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 13:28:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 13:28:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 13:28:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995561984001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:28:38] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 13:28:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 13:28:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8862896943529984,"km_value":8862896943529.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:28:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739585755446470656,"description":"Unknown IO ID 45"} 
[2026-07-27 13:28:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995561984001,"power":13102,"unknown_120":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1739585755446470656}} 
[2026-07-27 13:28:38] local.INFO: TCP Data received {"connection_id":143001,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2936320012d7ed24005a92da8000d00af2b..."} 
[2026-07-27 13:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143001,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2936320012d7ed24005a92da8000d00af2b..."} 
[2026-07-27 13:28:38] local.INFO: Processing buffer {"connection_id":143001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2936320012d7ed24005a92da8000d00af2b..."} 
[2026-07-27 13:28:38] local.INFO: Packet analysis {"connection_id":143001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa293"} 
[2026-07-27 13:28:38] local.INFO: Extracted packet for processing {"connection_id":143001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa293"} 
[2026-07-27 13:28:38] local.INFO: GPS Element Parsed {"raw_longitude":763286080,"raw_latitude":94973352,"longitude_deg":76.328608,"latitude_deg":9.4973352,"altitude":13,"angle":175,"satellites":43,"speed":26,"hex_longitude":"2d7ed240","hex_latitude":"05a92da8","is_valid_coordinates":true} 
[2026-07-27 13:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:28:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995577856001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:28:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358852587824349184,"note":"Value kept but may cause issues"} 
[2026-07-27 13:28:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9137803668250226688,"note":"Value kept but may cause issues"} 
[2026-07-27 13:28:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:28:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785138996000,"timestamp_ms":1785138996000,"timestamp_seconds":1785138996,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2936320"} 
[2026-07-27 13:28:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:28:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-27 13:28:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:28:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:28:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:28:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:28:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:28:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:28:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:28:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:28:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 13:28:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 13:28:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995577856001,"66":27843,"6":206,"85":14336,"24":26,"16":358852587824349184,"45":9137803668250226688},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,85,24,16,45]} 
[2026-07-27 13:28:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 13:28:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 13:28:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995577856001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:28:38] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-07-27 13:28:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-27 13:28:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358852587824349184,"km_value":358852587824349.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:28:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9137803668250226688,"description":"Unknown IO ID 45"} 
[2026-07-27 13:28:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995577856001,"power":27843,"unknown_6":206,"unknown_85":14336,"ignition":26,"odometer":null,"unknown_45":9137803668250226688}} 
[2026-07-27 13:28:38] local.INFO: DEBUG: GPS processor result {"connection_id":143001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:28:38] local.INFO: GPS data processed {"connection_id":143001,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:28:38] local.INFO: Acknowledgment sent {"connection_id":143001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:28:38] local.INFO: DEBUG: GPS processor result {"connection_id":145282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553300,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:28:38] local.INFO: GPS data processed {"connection_id":145282,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:28:38] local.INFO: Acknowledgment sent {"connection_id":145282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:29:00] local.INFO: TCP Data received {"connection_id":145284,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145284,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:29:00] local.INFO: Processing buffer {"connection_id":145284,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:29:00] local.INFO: IMEI packet received {"connection_id":145284,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 13:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":145284,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 13:29:05] local.INFO: TCP Data received {"connection_id":145284,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145284,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:29:05] local.INFO: Processing buffer {"connection_id":145284,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:29:05] local.INFO: IMEI packet received {"connection_id":145284,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 13:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":145284,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:29:06] local.INFO: TCP Data received {"connection_id":145284,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2923658012d1823400721b4a8004d00cd2b..."} 
[2026-07-27 13:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145284,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2923658012d1823400721b4a8004d00cd2b..."} 
[2026-07-27 13:29:06] local.INFO: Processing buffer {"connection_id":145284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2923658012d1823400721b4a8004d00cd2b..."} 
[2026-07-27 13:29:06] local.INFO: Packet analysis {"connection_id":145284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa292"} 
[2026-07-27 13:29:06] local.INFO: Extracted packet for processing {"connection_id":145284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa292"} 
[2026-07-27 13:29:06] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649448,"longitude_deg":75.6556608,"latitude_deg":11.9649448,"altitude":77,"angle":205,"satellites":43,"speed":7,"hex_longitude":"2d182340","hex_latitude":"0721b4a8","is_valid_coordinates":true} 
[2026-07-27 13:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:29:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995562240001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:29:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8862922713333760,"note":"Value kept but may cause issues"} 
[2026-07-27 13:29:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739515386702256128,"note":"Value kept but may cause issues"} 
[2026-07-27 13:29:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:29:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785138919000,"timestamp_ms":1785138919000,"timestamp_seconds":1785138919,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2923658"} 
[2026-07-27 13:29:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:29:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-27 13:29:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:29:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:29:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:29:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:29:06] local.INFO: Teltonika packet parsed successfully {"connection_id":145284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:29:06] local.INFO: Passing IMEI to GPS processor {"connection_id":145284,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:29:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":145284,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:29:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:29:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 13:29:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 13:29:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995562240001,"66":13124,"120":206,"28":31744,"24":7,"16":8862922713333760,"45":1739515386702256128},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 13:29:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 13:29:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 13:29:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995562240001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:29:06] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 13:29:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 13:29:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8862922713333760,"km_value":8862922713333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:29:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739515386702256128,"description":"Unknown IO ID 45"} 
[2026-07-27 13:29:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995562240001,"power":13124,"unknown_120":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1739515386702256128}} 
[2026-07-27 13:29:06] local.INFO: DEBUG: GPS processor result {"connection_id":145284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553301,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:29:06] local.INFO: GPS data processed {"connection_id":145284,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:29:06] local.INFO: Acknowledgment sent {"connection_id":145284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:29:10] local.INFO: TCP Data received {"connection_id":143001,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa294a758012d7ef3c005a86960000e00612c..."} 
[2026-07-27 13:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143001,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa294a758012d7ef3c005a86960000e00612c..."} 
[2026-07-27 13:29:10] local.INFO: Processing buffer {"connection_id":143001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa294a758012d7ef3c005a86960000e00612c..."} 
[2026-07-27 13:29:10] local.INFO: Packet analysis {"connection_id":143001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa294"} 
[2026-07-27 13:29:10] local.INFO: Extracted packet for processing {"connection_id":143001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa294"} 
[2026-07-27 13:29:10] local.INFO: GPS Element Parsed {"raw_longitude":763294656,"raw_latitude":94923104,"longitude_deg":76.3294656,"latitude_deg":9.4923104,"altitude":14,"angle":97,"satellites":44,"speed":16,"hex_longitude":"2d7ef3c0","hex_latitude":"05a86960","is_valid_coordinates":true} 
[2026-07-27 13:29:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:29:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995602944001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:29:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358855177689628672,"note":"Value kept but may cause issues"} 
[2026-07-27 13:29:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9145825705071304704,"note":"Value kept but may cause issues"} 
[2026-07-27 13:29:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:29:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785139079000,"timestamp_ms":1785139079000,"timestamp_seconds":1785139079,"priority":1,"record_length":96,"hex_timestamp":"0000019fa294a758"} 
[2026-07-27 13:29:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:29:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-27 13:29:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:29:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:29:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:29:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:29:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:29:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:29:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:29: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-07-27 13:29:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 13:29:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 13:29:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995602944001,"66":27832,"30":206,"85":14336,"24":16,"16":358855177689628672,"45":9145825705071304704},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,85,24,16,45]} 
[2026-07-27 13:29:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 13:29:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 13:29:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995602944001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:29:10] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-07-27 13:29:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-27 13:29:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358855177689628672,"km_value":358855177689628.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:29:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9145825705071304704,"description":"Unknown IO ID 45"} 
[2026-07-27 13:29:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995602944001,"power":27832,"unknown_30":206,"unknown_85":14336,"ignition":16,"odometer":null,"unknown_45":9145825705071304704}} 
[2026-07-27 13:29:10] local.INFO: DEBUG: GPS processor result {"connection_id":143001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:29:10] local.INFO: GPS data processed {"connection_id":143001,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:29:10] local.INFO: Acknowledgment sent {"connection_id":143001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:29:34] local.INFO: TCP Data received {"connection_id":142868,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:29:34] local.INFO: Processing buffer {"connection_id":142868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:29:34] local.INFO: IMEI packet received {"connection_id":142868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 13:29:34] local.INFO: IMEI acknowledgment sent {"connection_id":142868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 13:29:37] local.INFO: TCP Data received {"connection_id":142868,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:29:37] local.INFO: Processing buffer {"connection_id":142868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:29:37] local.INFO: IMEI packet received {"connection_id":142868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 13:29:37] local.INFO: IMEI acknowledgment sent {"connection_id":142868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:29:38] local.INFO: TCP Data received {"connection_id":145284,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2923e28012d1822800721b388004e00dd2b..."} 
[2026-07-27 13:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145284,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2923e28012d1822800721b388004e00dd2b..."} 
[2026-07-27 13:29:38] local.INFO: Processing buffer {"connection_id":145284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2923e28012d1822800721b388004e00dd2b..."} 
[2026-07-27 13:29:38] local.INFO: Packet analysis {"connection_id":145284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa292"} 
[2026-07-27 13:29:38] local.INFO: Extracted packet for processing {"connection_id":145284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa292"} 
[2026-07-27 13:29:38] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649160,"longitude_deg":75.6556416,"latitude_deg":11.964916,"altitude":78,"angle":221,"satellites":43,"speed":6,"hex_longitude":"2d182280","hex_latitude":"0721b388","is_valid_coordinates":true} 
[2026-07-27 13:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:29:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995563264001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:29:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8862939893202944,"note":"Value kept but may cause issues"} 
[2026-07-27 13:29:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469579776,"note":"Value kept but may cause issues"} 
[2026-07-27 13:29:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:29:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785138921000,"timestamp_ms":1785138921000,"timestamp_seconds":1785138921,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2923e28"} 
[2026-07-27 13:29:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:29:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-07-27 13:29:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1065,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:29:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:29:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:29:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:29:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:29:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145284,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:29:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145284,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:29:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:29:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 13:29:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 13:29:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995563264001,"66":13102,"120":206,"28":31744,"24":6,"16":8862939893202944,"45":1739304280469579776},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 13:29:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 13:29:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 13:29:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995563264001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:29:38] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 13:29:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 13:29:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8862939893202944,"km_value":8862939893202.943,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:29:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469579776,"description":"Unknown IO ID 45"} 
[2026-07-27 13:29:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995563264001,"power":13102,"unknown_120":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1739304280469579776}} 
[2026-07-27 13:29:38] local.INFO: DEBUG: GPS processor result {"connection_id":145284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553303,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:29:38] local.INFO: GPS data processed {"connection_id":145284,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:29:38] local.INFO: Acknowledgment sent {"connection_id":145284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:29:42] local.INFO: TCP Data received {"connection_id":142868,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:29:42] local.INFO: Processing buffer {"connection_id":142868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:29:42] local.INFO: IMEI packet received {"connection_id":142868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 13:29:42] local.INFO: IMEI acknowledgment sent {"connection_id":142868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:29:43] local.INFO: TCP Data received {"connection_id":142868,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa294f578012d7f190005a86550000f005f2c..."} 
[2026-07-27 13:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa294f578012d7f190005a86550000f005f2c..."} 
[2026-07-27 13:29:43] local.INFO: Processing buffer {"connection_id":142868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa294f578012d7f190005a86550000f005f2c..."} 
[2026-07-27 13:29:43] local.INFO: Packet analysis {"connection_id":142868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa294"} 
[2026-07-27 13:29:43] local.INFO: Extracted packet for processing {"connection_id":142868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa294"} 
[2026-07-27 13:29:43] local.INFO: GPS Element Parsed {"raw_longitude":763304192,"raw_latitude":94922064,"longitude_deg":76.3304192,"latitude_deg":9.4922064,"altitude":15,"angle":95,"satellites":44,"speed":27,"hex_longitude":"2d7f1900","hex_latitude":"05a86550","is_valid_coordinates":true} 
[2026-07-27 13:29:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:29:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995604224001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:29:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358855632956162048,"note":"Value kept but may cause issues"} 
[2026-07-27 13:29:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9147866398652456960,"note":"Value kept but may cause issues"} 
[2026-07-27 13:29:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:29:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785139099000,"timestamp_ms":1785139099000,"timestamp_seconds":1785139099,"priority":1,"record_length":96,"hex_timestamp":"0000019fa294f578"} 
[2026-07-27 13:29:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:29:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-27 13:29:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:29:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:29:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:29:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:29:43] local.INFO: Teltonika packet parsed successfully {"connection_id":142868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:29:43] local.INFO: Passing IMEI to GPS processor {"connection_id":142868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:29:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":142868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:29: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-07-27 13:29:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 13:29:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 13:29:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995604224001,"66":27832,"30":206,"85":14336,"24":27,"16":358855632956162048,"45":9147866398652456960},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,85,24,16,45]} 
[2026-07-27 13:29:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 13:29:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 13:29:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995604224001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:29:43] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-07-27 13:29:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-27 13:29:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358855632956162048,"km_value":358855632956162.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:29:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9147866398652456960,"description":"Unknown IO ID 45"} 
[2026-07-27 13:29:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995604224001,"power":27832,"unknown_30":206,"unknown_85":14336,"ignition":27,"odometer":null,"unknown_45":9147866398652456960}} 
[2026-07-27 13:29:43] local.INFO: DEBUG: GPS processor result {"connection_id":142868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:29:43] local.INFO: GPS data processed {"connection_id":142868,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:29:43] local.INFO: Acknowledgment sent {"connection_id":142868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:30:00] local.INFO: TCP Data received {"connection_id":145285,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145285,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:30:00] local.INFO: Processing buffer {"connection_id":145285,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:30:00] local.INFO: IMEI packet received {"connection_id":145285,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 13:30:00] local.INFO: IMEI acknowledgment sent {"connection_id":145285,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 13:30:05] local.INFO: TCP Data received {"connection_id":145285,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145285,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:30:05] local.INFO: Processing buffer {"connection_id":145285,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:30:05] local.INFO: IMEI packet received {"connection_id":145285,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 13:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":145285,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:30:06] local.INFO: TCP Data received {"connection_id":145285,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2929030012d1821c00721b2a8004e00d82a..."} 
[2026-07-27 13:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2929030012d1821c00721b2a8004e00d82a..."} 
[2026-07-27 13:30:06] local.INFO: Processing buffer {"connection_id":145285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2929030012d1821c00721b2a8004e00d82a..."} 
[2026-07-27 13:30:06] local.INFO: Packet analysis {"connection_id":145285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa292"} 
[2026-07-27 13:30:06] local.INFO: Extracted packet for processing {"connection_id":145285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa292"} 
[2026-07-27 13:30:06] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119648936,"longitude_deg":75.6556224,"latitude_deg":11.9648936,"altitude":78,"angle":216,"satellites":42,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b2a8","is_valid_coordinates":true} 
[2026-07-27 13:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:30:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995563776001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:30:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8862957073072128,"note":"Value kept but may cause issues"} 
[2026-07-27 13:30:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174236973056,"note":"Value kept but may cause issues"} 
[2026-07-27 13:30:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:30:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785138942000,"timestamp_ms":1785138942000,"timestamp_seconds":1785138942,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2929030"} 
[2026-07-27 13:30:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:30:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-27 13:30:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:30:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:30:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:30:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:30:06] local.INFO: Teltonika packet parsed successfully {"connection_id":145285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:30:06] local.INFO: Passing IMEI to GPS processor {"connection_id":145285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:30:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":145285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:30:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:30:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 13:30:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 13:30:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995563776001,"66":13080,"120":206,"28":31744,"24":0,"16":8862957073072128,"45":1739093174236973056},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 13:30:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 13:30:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 13:30:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995563776001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:30:06] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 13:30:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 13:30:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8862957073072128,"km_value":8862957073072.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:30:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174236973056,"description":"Unknown IO ID 45"} 
[2026-07-27 13:30:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995563776001,"power":13080,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739093174236973056}} 
[2026-07-27 13:30:07] local.INFO: DEBUG: GPS processor result {"connection_id":145285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553305,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:30:07] local.INFO: GPS data processed {"connection_id":145285,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:30:07] local.INFO: Acknowledgment sent {"connection_id":145285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:30:14] local.INFO: TCP Data received {"connection_id":142868,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2952070012d7f3d4005a861f0000f005f2b..."} 
[2026-07-27 13:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2952070012d7f3d4005a861f0000f005f2b..."} 
[2026-07-27 13:30:14] local.INFO: Processing buffer {"connection_id":142868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2952070012d7f3d4005a861f0000f005f2b..."} 
[2026-07-27 13:30:14] local.INFO: Packet analysis {"connection_id":142868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa295"} 
[2026-07-27 13:30:14] local.INFO: Extracted packet for processing {"connection_id":142868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa295"} 
[2026-07-27 13:30:14] local.INFO: GPS Element Parsed {"raw_longitude":763313472,"raw_latitude":94921200,"longitude_deg":76.3313472,"latitude_deg":9.49212,"altitude":15,"angle":95,"satellites":43,"speed":35,"hex_longitude":"2d7f3d40","hex_latitude":"05a861f0","is_valid_coordinates":true} 
[2026-07-27 13: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-07-27 13:30:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995609344001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:30:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358856079632760832,"note":"Value kept but may cause issues"} 
[2026-07-27 13:30:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9158351341534662656,"note":"Value kept but may cause issues"} 
[2026-07-27 13:30:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:30:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785139110000,"timestamp_ms":1785139110000,"timestamp_seconds":1785139110,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2952070"} 
[2026-07-27 13:30:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:30:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-27 13:30:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13: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-07-27 13:30:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:30:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:30:14] local.INFO: Teltonika packet parsed successfully {"connection_id":142868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:30:14] local.INFO: Passing IMEI to GPS processor {"connection_id":142868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:30:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":142868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:30: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-07-27 13:30:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 13:30:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 13:30:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995609344001,"66":27995,"30":206,"85":14336,"24":35,"16":358856079632760832,"45":9158351341534662656},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,85,24,16,45]} 
[2026-07-27 13:30:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 13:30:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 13:30:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995609344001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:30:14] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-07-27 13:30:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-27 13:30:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358856079632760832,"km_value":358856079632760.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:30:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9158351341534662656,"description":"Unknown IO ID 45"} 
[2026-07-27 13:30:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995609344001,"power":27995,"unknown_30":206,"unknown_85":14336,"ignition":35,"odometer":null,"unknown_45":9158351341534662656}} 
[2026-07-27 13:30:14] local.INFO: DEBUG: GPS processor result {"connection_id":142868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:30:14] local.INFO: GPS data processed {"connection_id":142868,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:30:14] local.INFO: Acknowledgment sent {"connection_id":142868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:30:33] local.INFO: TCP Data received {"connection_id":145286,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:30:33] local.INFO: Processing buffer {"connection_id":145286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:30:33] local.INFO: IMEI packet received {"connection_id":145286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 13:30:33] local.INFO: IMEI acknowledgment sent {"connection_id":145286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 13:30:34] local.INFO: TCP Data received {"connection_id":145283,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 13:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145283,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 13:30:34] local.INFO: Processing buffer {"connection_id":145283,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 13:30:34] local.INFO: IMEI packet received {"connection_id":145283,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 13:30:34] local.INFO: IMEI acknowledgment sent {"connection_id":145283,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 13:30:38] local.INFO: TCP Data received {"connection_id":145285,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2964d38012d181f800721a6c0004d008728..."} 
[2026-07-27 13:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2964d38012d181f800721a6c0004d008728..."} 
[2026-07-27 13:30:38] local.INFO: Processing buffer {"connection_id":145285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2964d38012d181f800721a6c0004d008728..."} 
[2026-07-27 13:30:38] local.INFO: Packet analysis {"connection_id":145285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa296"} 
[2026-07-27 13:30:38] local.INFO: Extracted packet for processing {"connection_id":145285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa296"} 
[2026-07-27 13:30:38] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119645888,"longitude_deg":75.6555648,"latitude_deg":11.9645888,"altitude":77,"angle":135,"satellites":40,"speed":9,"hex_longitude":"2d181f80","hex_latitude":"0721a6c0","is_valid_coordinates":true} 
[2026-07-27 13:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:30:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995631616001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:30:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8863120281829376,"note":"Value kept but may cause issues"} 
[2026-07-27 13:30:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643073515520,"note":"Value kept but may cause issues"} 
[2026-07-27 13:30:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:30:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785139187000,"timestamp_ms":1785139187000,"timestamp_seconds":1785139187,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2964d38"} 
[2026-07-27 13:30:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:30:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-07-27 13:30:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:30:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:30:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:30:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:30:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:30:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:30:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:30:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:30:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 13:30:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 13:30:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995631616001,"66":14004,"120":206,"28":31744,"24":9,"16":8863120281829376,"45":1738037643073515520},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 13:30:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 13:30:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 13:30:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995631616001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:30:38] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 13:30:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 13:30:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8863120281829376,"km_value":8863120281829.377,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:30:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643073515520,"description":"Unknown IO ID 45"} 
[2026-07-27 13:30:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995631616001,"power":14004,"unknown_120":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1738037643073515520}} 
[2026-07-27 13:30:38] local.INFO: DEBUG: GPS processor result {"connection_id":145285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553307,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:30:38] local.INFO: GPS data processed {"connection_id":145285,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:30:38] local.INFO: Acknowledgment sent {"connection_id":145285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:30:39] local.INFO: TCP Data received {"connection_id":145286,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:30:39] local.INFO: Processing buffer {"connection_id":145286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:30:39] local.INFO: IMEI packet received {"connection_id":145286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 13:30:39] local.INFO: IMEI acknowledgment sent {"connection_id":145286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:30:41] local.INFO: TCP Data received {"connection_id":145286,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2954f50012d7f610005a85e60000c00602a..."} 
[2026-07-27 13:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145286,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2954f50012d7f610005a85e60000c00602a..."} 
[2026-07-27 13:30:41] local.INFO: Processing buffer {"connection_id":145286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2954f50012d7f610005a85e60000c00602a..."} 
[2026-07-27 13:30:41] local.INFO: Packet analysis {"connection_id":145286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa295"} 
[2026-07-27 13:30:41] local.INFO: Extracted packet for processing {"connection_id":145286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa295"} 
[2026-07-27 13:30:41] local.INFO: GPS Element Parsed {"raw_longitude":763322624,"raw_latitude":94920288,"longitude_deg":76.3322624,"latitude_deg":9.4920288,"altitude":12,"angle":96,"satellites":42,"speed":28,"hex_longitude":"2d7f6100","hex_latitude":"05a85e60","is_valid_coordinates":true} 
[2026-07-27 13: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-07-27 13:30:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995612160001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:30:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358856517719425024,"note":"Value kept but may cause issues"} 
[2026-07-27 13:30:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168554809440202752,"note":"Value kept but may cause issues"} 
[2026-07-27 13:30:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:30:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785139122000,"timestamp_ms":1785139122000,"timestamp_seconds":1785139122,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2954f50"} 
[2026-07-27 13:30:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:30:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-27 13:30:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13: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-07-27 13:30:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:30:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:30:41] local.INFO: Teltonika packet parsed successfully {"connection_id":145286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:30:41] local.INFO: Passing IMEI to GPS processor {"connection_id":145286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:30:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":145286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:30: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-07-27 13:30:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 13:30:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 13:30:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995612160001,"66":27821,"30":206,"85":14336,"24":28,"16":358856517719425024,"45":9168554809440202752},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,85,24,16,45]} 
[2026-07-27 13:30:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 13:30:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 13:30:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995612160001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:30:41] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-07-27 13:30:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-27 13:30:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358856517719425024,"km_value":358856517719425.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:30:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168554809440202752,"description":"Unknown IO ID 45"} 
[2026-07-27 13:30:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995612160001,"power":27821,"unknown_30":206,"unknown_85":14336,"ignition":28,"odometer":null,"unknown_45":9168554809440202752}} 
[2026-07-27 13:30:41] local.INFO: DEBUG: GPS processor result {"connection_id":145286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:30:41] local.INFO: GPS data processed {"connection_id":145286,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:30:41] local.INFO: Acknowledgment sent {"connection_id":145286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:30:42] local.INFO: TCP Data received {"connection_id":145286,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2958600012d7f84c005a85aa8000c005f2c..."} 
[2026-07-27 13:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145286,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2958600012d7f84c005a85aa8000c005f2c..."} 
[2026-07-27 13:30:42] local.INFO: Processing buffer {"connection_id":145286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2958600012d7f84c005a85aa8000c005f2c..."} 
[2026-07-27 13:30:42] local.INFO: Packet analysis {"connection_id":145286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa295"} 
[2026-07-27 13:30:42] local.INFO: Extracted packet for processing {"connection_id":145286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa295"} 
[2026-07-27 13:30:42] local.INFO: GPS Element Parsed {"raw_longitude":763331776,"raw_latitude":94919336,"longitude_deg":76.3331776,"latitude_deg":9.4919336,"altitude":12,"angle":95,"satellites":44,"speed":27,"hex_longitude":"2d7f84c0","hex_latitude":"05a85aa8","is_valid_coordinates":true} 
[2026-07-27 13: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-07-27 13:30:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995615232001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:30:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358856960101056512,"note":"Value kept but may cause issues"} 
[2026-07-27 13:30:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9178617539857375232,"note":"Value kept but may cause issues"} 
[2026-07-27 13:30:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:30:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785139136000,"timestamp_ms":1785139136000,"timestamp_seconds":1785139136,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2958600"} 
[2026-07-27 13:30:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:30:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-27 13:30:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13: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-07-27 13:30:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:30:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:30:42] local.INFO: Teltonika packet parsed successfully {"connection_id":145286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:30:42] local.INFO: Passing IMEI to GPS processor {"connection_id":145286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:30:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":145286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:30: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-07-27 13:30:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 13:30:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 13:30:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995615232001,"66":27908,"30":206,"85":14336,"24":27,"16":358856960101056512,"45":9178617539857375232},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,85,24,16,45]} 
[2026-07-27 13:30:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 13:30:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 13:30:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995615232001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:30:42] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-07-27 13:30:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-27 13:30:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358856960101056512,"km_value":358856960101056.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:30:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9178617539857375232,"description":"Unknown IO ID 45"} 
[2026-07-27 13:30:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995615232001,"power":27908,"unknown_30":206,"unknown_85":14336,"ignition":27,"odometer":null,"unknown_45":9178617539857375232}} 
[2026-07-27 13:30:42] local.INFO: DEBUG: GPS processor result {"connection_id":145286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:30:42] local.INFO: GPS data processed {"connection_id":145286,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:30:42] local.INFO: Acknowledgment sent {"connection_id":145286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:31:02] local.INFO: TCP Data received {"connection_id":143002,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143002,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:31:02] local.INFO: Processing buffer {"connection_id":143002,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:31:02] local.INFO: IMEI packet received {"connection_id":143002,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 13:31:02] local.INFO: IMEI acknowledgment sent {"connection_id":143002,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 13:31:05] local.INFO: TCP Data received {"connection_id":143002,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143002,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:31:05] local.INFO: Processing buffer {"connection_id":143002,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:31:05] local.INFO: IMEI packet received {"connection_id":143002,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 13:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":143002,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:31:07] local.INFO: TCP Data received {"connection_id":143002,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143002,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:31:07] local.INFO: Processing buffer {"connection_id":143002,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:31:07] local.INFO: IMEI packet received {"connection_id":143002,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 13:31:07] local.INFO: IMEI acknowledgment sent {"connection_id":143002,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:31:08] local.INFO: TCP Data received {"connection_id":143002,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa29658f0012d1821800721a500004d007c29..."} 
[2026-07-27 13:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa29658f0012d1821800721a500004d007c29..."} 
[2026-07-27 13:31:08] local.INFO: Processing buffer {"connection_id":143002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa29658f0012d1821800721a500004d007c29..."} 
[2026-07-27 13:31:08] local.INFO: Packet analysis {"connection_id":143002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa296"} 
[2026-07-27 13:31:08] local.INFO: Extracted packet for processing {"connection_id":143002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa296"} 
[2026-07-27 13:31:08] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119645440,"longitude_deg":75.655616,"latitude_deg":11.964544,"altitude":77,"angle":124,"satellites":41,"speed":11,"hex_longitude":"2d182180","hex_latitude":"0721a500","is_valid_coordinates":true} 
[2026-07-27 13:31:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:31:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995631872001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:31:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8863154641567744,"note":"Value kept but may cause issues"} 
[2026-07-27 13:31:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306003456,"note":"Value kept but may cause issues"} 
[2026-07-27 13:31:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:31:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785139190000,"timestamp_ms":1785139190000,"timestamp_seconds":1785139190,"priority":1,"record_length":96,"hex_timestamp":"0000019fa29658f0"} 
[2026-07-27 13:31:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:31:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-07-27 13:31:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:31:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:31:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:31:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:31:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:31:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143002,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:31:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143002,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:31:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:31:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 13:31:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 13:31:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995631872001,"66":14211,"120":206,"28":31744,"24":11,"16":8863154641567744,"45":1738248749306003456},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 13:31:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 13:31:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 13:31:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995631872001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:31:08] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 13:31:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 13:31:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8863154641567744,"km_value":8863154641567.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:31:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306003456,"description":"Unknown IO ID 45"} 
[2026-07-27 13:31:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995631872001,"power":14211,"unknown_120":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1738248749306003456}} 
[2026-07-27 13:31:08] local.INFO: DEBUG: GPS processor result {"connection_id":143002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553310,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:31:08] local.INFO: GPS data processed {"connection_id":143002,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:31:08] local.INFO: Acknowledgment sent {"connection_id":143002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:31:10] local.INFO: TCP Data received {"connection_id":143002,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa29664a8012d1824400721a278004e008829..."} 
[2026-07-27 13:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa29664a8012d1824400721a278004e008829..."} 
[2026-07-27 13:31:10] local.INFO: Processing buffer {"connection_id":143002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa29664a8012d1824400721a278004e008829..."} 
[2026-07-27 13:31:10] local.INFO: Packet analysis {"connection_id":143002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa296"} 
[2026-07-27 13:31:10] local.INFO: Extracted packet for processing {"connection_id":143002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa296"} 
[2026-07-27 13:31:10] local.INFO: GPS Element Parsed {"raw_longitude":756556864,"raw_latitude":119644792,"longitude_deg":75.6556864,"latitude_deg":11.9644792,"altitude":78,"angle":136,"satellites":41,"speed":14,"hex_longitude":"2d182440","hex_latitude":"0721a278","is_valid_coordinates":true} 
[2026-07-27 13:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:31:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995632640001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:31:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8863201886208000,"note":"Value kept but may cause issues"} 
[2026-07-27 13:31:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699259310080,"note":"Value kept but may cause issues"} 
[2026-07-27 13:31:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:31:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785139193000,"timestamp_ms":1785139193000,"timestamp_seconds":1785139193,"priority":1,"record_length":96,"hex_timestamp":"0000019fa29664a8"} 
[2026-07-27 13:31:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:31:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13: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":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-27 13:31:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:31:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:31:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:31:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:31:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:31:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143002,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:31:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143002,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:31:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:31:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 13:31:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 13:31:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995632640001,"66":14233,"120":206,"28":31744,"24":14,"16":8863201886208000,"45":1738811699259310080},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 13:31:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 13:31:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 13:31:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995632640001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:31:10] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 13:31:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 13:31:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8863201886208000,"km_value":8863201886208,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:31:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699259310080,"description":"Unknown IO ID 45"} 
[2026-07-27 13:31:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995632640001,"power":14233,"unknown_120":206,"unknown_28":31744,"ignition":14,"odometer":null,"unknown_45":1738811699259310080}} 
[2026-07-27 13:31:10] local.INFO: DEBUG: GPS processor result {"connection_id":143002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553311,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:31:10] local.INFO: GPS data processed {"connection_id":143002,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:31:10] local.INFO: Acknowledgment sent {"connection_id":143002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:31:13] local.INFO: TCP Data received {"connection_id":145286,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa295d808012d7f964005a858680012005f2a..."} 
[2026-07-27 13:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145286,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa295d808012d7f964005a858680012005f2a..."} 
[2026-07-27 13:31:13] local.INFO: Processing buffer {"connection_id":145286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa295d808012d7f964005a858680012005f2a..."} 
[2026-07-27 13:31:13] local.INFO: Packet analysis {"connection_id":145286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa295"} 
[2026-07-27 13:31:13] local.INFO: Extracted packet for processing {"connection_id":145286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa295"} 
[2026-07-27 13:31:13] local.INFO: GPS Element Parsed {"raw_longitude":763336256,"raw_latitude":94918760,"longitude_deg":76.3336256,"latitude_deg":9.491876,"altitude":18,"angle":95,"satellites":42,"speed":6,"hex_longitude":"2d7f9640","hex_latitude":"05a85868","is_valid_coordinates":true} 
[2026-07-27 13: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-07-27 13:31:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995618816001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:31:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358857179144388608,"note":"Value kept but may cause issues"} 
[2026-07-27 13:31:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9188680270274537472,"note":"Value kept but may cause issues"} 
[2026-07-27 13:31:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:31:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785139157000,"timestamp_ms":1785139157000,"timestamp_seconds":1785139157,"priority":1,"record_length":96,"hex_timestamp":"0000019fa295d808"} 
[2026-07-27 13:31:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:31:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-27 13:31:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13: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-07-27 13:31:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:31:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:31:13] local.INFO: Teltonika packet parsed successfully {"connection_id":145286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:31:13] local.INFO: Passing IMEI to GPS processor {"connection_id":145286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:31:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":145286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:31:13] 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-07-27 13:31:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 13:31:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 13:31:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995618816001,"66":27832,"196":206,"85":14336,"24":6,"16":358857179144388608,"45":9188680270274537472},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,85,24,16,45]} 
[2026-07-27 13:31:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 13:31:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 13:31:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995618816001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:31:13] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-07-27 13:31:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-27 13:31:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358857179144388608,"km_value":358857179144388.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:31:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9188680270274537472,"description":"Unknown IO ID 45"} 
[2026-07-27 13:31:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995618816001,"power":27832,"unknown_196":206,"unknown_85":14336,"ignition":6,"odometer":null,"unknown_45":9188680270274537472}} 
[2026-07-27 13:31:13] local.INFO: DEBUG: GPS processor result {"connection_id":145286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:31:13] local.INFO: GPS data processed {"connection_id":145286,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:31:13] local.INFO: Acknowledgment sent {"connection_id":145286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:31:31] local.INFO: TCP Data received {"connection_id":142869,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:31:31] local.INFO: Processing buffer {"connection_id":142869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:31:31] local.INFO: IMEI packet received {"connection_id":142869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 13:31:31] local.INFO: IMEI acknowledgment sent {"connection_id":142869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 13:31:32] local.INFO: TCP Data received {"connection_id":142869,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:31:32] local.INFO: Processing buffer {"connection_id":142869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:31:32] local.INFO: IMEI packet received {"connection_id":142869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 13:31:32] local.INFO: IMEI acknowledgment sent {"connection_id":142869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:31:37] local.INFO: TCP Data received {"connection_id":142869,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:31:37] local.INFO: Processing buffer {"connection_id":142869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:31:37] local.INFO: IMEI packet received {"connection_id":142869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 13:31:37] local.INFO: IMEI acknowledgment sent {"connection_id":142869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:31:38] local.INFO: TCP Data received {"connection_id":142869,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2962a10012d7f9e0005a85770001000632c..."} 
[2026-07-27 13:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142869,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2962a10012d7f9e0005a85770001000632c..."} 
[2026-07-27 13:31:38] local.INFO: Processing buffer {"connection_id":142869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2962a10012d7f9e0005a85770001000632c..."} 
[2026-07-27 13:31:38] local.INFO: Packet analysis {"connection_id":142869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa296"} 
[2026-07-27 13:31:38] local.INFO: Extracted packet for processing {"connection_id":142869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa296"} 
[2026-07-27 13:31:38] local.INFO: GPS Element Parsed {"raw_longitude":763338240,"raw_latitude":94918512,"longitude_deg":76.333824,"latitude_deg":9.4918512,"altitude":16,"angle":99,"satellites":44,"speed":0,"hex_longitude":"2d7f9e00","hex_latitude":"05a85770","is_valid_coordinates":true} 
[2026-07-27 13:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:31:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995624192001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:31:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358857277928636416,"note":"Value kept but may cause issues"} 
[2026-07-27 13:31:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193606082366826496,"note":"Value kept but may cause issues"} 
[2026-07-27 13:31:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:31:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785139178000,"timestamp_ms":1785139178000,"timestamp_seconds":1785139178,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2962a10"} 
[2026-07-27 13:31:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:31:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-27 13:31:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:31:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:31:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:31:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:31:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:31:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:31:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:31:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:31:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 13:31:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 13:31:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995624192001,"66":27615,"196":206,"85":14336,"24":0,"16":358857277928636416,"45":9193606082366826496},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,85,24,16,45]} 
[2026-07-27 13:31:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 13:31:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 13:31:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995624192001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:31:38] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-07-27 13:31:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-27 13:31:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358857277928636416,"km_value":358857277928636.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:31:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193606082366826496,"description":"Unknown IO ID 45"} 
[2026-07-27 13:31:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995624192001,"power":27615,"unknown_196":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":9193606082366826496}} 
[2026-07-27 13:31:38] local.INFO: DEBUG: GPS processor result {"connection_id":142869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:31:38] local.INFO: GPS data processed {"connection_id":142869,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:31:38] local.INFO: Acknowledgment sent {"connection_id":142869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:31:41] local.INFO: TCP Data received {"connection_id":143002,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2968000012d182d8007219a70004f007d29..."} 
[2026-07-27 13:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2968000012d182d8007219a70004f007d29..."} 
[2026-07-27 13:31:41] local.INFO: Processing buffer {"connection_id":143002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2968000012d182d8007219a70004f007d29..."} 
[2026-07-27 13:31:41] local.INFO: Packet analysis {"connection_id":143002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa296"} 
[2026-07-27 13:31:41] local.INFO: Extracted packet for processing {"connection_id":143002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa296"} 
[2026-07-27 13:31:41] local.INFO: GPS Element Parsed {"raw_longitude":756559232,"raw_latitude":119642736,"longitude_deg":75.6559232,"latitude_deg":11.9642736,"altitude":79,"angle":125,"satellites":41,"speed":21,"hex_longitude":"2d182d80","hex_latitude":"07219a70","is_valid_coordinates":true} 
[2026-07-27 13: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-07-27 13:31:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995633408001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:31:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8863352210063360,"note":"Value kept but may cause issues"} 
[2026-07-27 13:31:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739585755445098496,"note":"Value kept but may cause issues"} 
[2026-07-27 13:31:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:31:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785139200000,"timestamp_ms":1785139200000,"timestamp_seconds":1785139200,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2968000"} 
[2026-07-27 13:31:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:31:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-07-27 13:31:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13: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-07-27 13:31:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:31:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:31:41] local.INFO: Teltonika packet parsed successfully {"connection_id":143002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:31:41] local.INFO: Passing IMEI to GPS processor {"connection_id":143002,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:31:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":143002,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:31:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:31:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 13:31:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 13:31:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995633408001,"66":14233,"121":206,"28":31744,"24":21,"16":8863352210063360,"45":1739585755445098496},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 13:31:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 13:31:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 13:31:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995633408001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:31:41] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 13:31:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 13:31:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8863352210063360,"km_value":8863352210063.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:31:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739585755445098496,"description":"Unknown IO ID 45"} 
[2026-07-27 13:31:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995633408001,"power":14233,"unknown_121":206,"unknown_28":31744,"ignition":21,"odometer":null,"unknown_45":1739585755445098496}} 
[2026-07-27 13:31:42] local.INFO: DEBUG: GPS processor result {"connection_id":143002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553314,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:31:42] local.INFO: GPS data processed {"connection_id":143002,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:31:42] local.INFO: Acknowledgment sent {"connection_id":143002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:31:58] local.INFO: TCP Data received {"connection_id":145287,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145287,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:31:58] local.INFO: Processing buffer {"connection_id":145287,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:31:58] local.INFO: IMEI packet received {"connection_id":145287,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 13:31:58] local.INFO: IMEI acknowledgment sent {"connection_id":145287,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 13:32:00] local.INFO: TCP Data received {"connection_id":145287,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145287,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:32:00] local.INFO: Processing buffer {"connection_id":145287,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:32:00] local.INFO: IMEI packet received {"connection_id":145287,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 13:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":145287,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:32:04] local.INFO: TCP Data received {"connection_id":145287,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145287,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:32:04] local.INFO: Processing buffer {"connection_id":145287,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:32:04] local.INFO: IMEI packet received {"connection_id":145287,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 13:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":145287,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:32:05] local.INFO: TCP Data received {"connection_id":145287,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2976678012d18c4c007214c30004600ae2a..."} 
[2026-07-27 13:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2976678012d18c4c007214c30004600ae2a..."} 
[2026-07-27 13:32:05] local.INFO: Processing buffer {"connection_id":145287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2976678012d18c4c007214c30004600ae2a..."} 
[2026-07-27 13:32:05] local.INFO: Packet analysis {"connection_id":145287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa297"} 
[2026-07-27 13:32:05] local.INFO: Extracted packet for processing {"connection_id":145287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa297"} 
[2026-07-27 13:32:05] local.INFO: GPS Element Parsed {"raw_longitude":756597952,"raw_latitude":119622704,"longitude_deg":75.6597952,"latitude_deg":11.9622704,"altitude":70,"angle":174,"satellites":42,"speed":32,"hex_longitude":"2d18c4c0","hex_latitude":"07214c30","is_valid_coordinates":true} 
[2026-07-27 13:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:32:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995649792001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:32:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8865559823253504,"note":"Value kept but may cause issues"} 
[2026-07-27 13:32:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784340276736835584,"note":"Value kept but may cause issues"} 
[2026-07-27 13:32:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:32:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785139259000,"timestamp_ms":1785139259000,"timestamp_seconds":1785139259,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2976678"} 
[2026-07-27 13:32:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:32:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-27 13:32:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:32:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:32:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:32:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:32:05] local.INFO: Teltonika packet parsed successfully {"connection_id":145287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:32:05] local.INFO: Passing IMEI to GPS processor {"connection_id":145287,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:32:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":145287,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:32:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:32:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 13:32:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 13:32:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995649792001,"66":14374,"121":206,"28":31744,"24":32,"16":8865559823253504,"45":1784340276736835584},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 13:32:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 13:32:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 13:32:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995649792001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:32:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 13:32:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 13:32:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8865559823253504,"km_value":8865559823253.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:32:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784340276736835584,"description":"Unknown IO ID 45"} 
[2026-07-27 13:32:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995649792001,"power":14374,"unknown_121":206,"unknown_28":31744,"ignition":32,"odometer":null,"unknown_45":1784340276736835584}} 
[2026-07-27 13:32:05] local.INFO: DEBUG: GPS processor result {"connection_id":145287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553315,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:32:05] local.INFO: GPS data processed {"connection_id":145287,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:32:05] local.INFO: Acknowledgment sent {"connection_id":145287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:32:10] local.INFO: TCP Data received {"connection_id":142869,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2979170012d805b4005a847d0000c009e2b..."} 
[2026-07-27 13:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142869,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2979170012d805b4005a847d0000c009e2b..."} 
[2026-07-27 13:32:10] local.INFO: Processing buffer {"connection_id":142869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2979170012d805b4005a847d0000c009e2b..."} 
[2026-07-27 13:32:10] local.INFO: Packet analysis {"connection_id":142869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa297"} 
[2026-07-27 13:32:10] local.INFO: Extracted packet for processing {"connection_id":142869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa297"} 
[2026-07-27 13:32:10] local.INFO: GPS Element Parsed {"raw_longitude":763386688,"raw_latitude":94914512,"longitude_deg":76.3386688,"latitude_deg":9.4914512,"altitude":12,"angle":158,"satellites":43,"speed":9,"hex_longitude":"2d805b40","hex_latitude":"05a847d0","is_valid_coordinates":true} 
[2026-07-27 13:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:32:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995652864001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:32:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358859614390845440,"note":"Value kept but may cause issues"} 
[2026-07-27 13:32:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9197828158420109312,"note":"Value kept but may cause issues"} 
[2026-07-27 13:32:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:32:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785139270000,"timestamp_ms":1785139270000,"timestamp_seconds":1785139270,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2979170"} 
[2026-07-27 13:32:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:32:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-27 13:32:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:32:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:32:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:32:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:32:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:32:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:32:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:32: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-07-27 13:32:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 13:32:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 13:32:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995652864001,"66":27843,"194":206,"85":14336,"24":9,"16":358859614390845440,"45":-9197828158420109312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,85,24,16,45]} 
[2026-07-27 13:32:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 13:32:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 13:32:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995652864001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:32:10] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-07-27 13:32:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-27 13:32:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358859614390845440,"km_value":358859614390845.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:32:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9197828158420109312,"description":"Unknown IO ID 45"} 
[2026-07-27 13:32:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995652864001,"power":27843,"unknown_194":206,"unknown_85":14336,"ignition":9,"odometer":null,"unknown_45":-9197828158420109312}} 
[2026-07-27 13:32:10] local.INFO: DEBUG: GPS processor result {"connection_id":142869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:32:10] local.INFO: GPS data processed {"connection_id":142869,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:32:10] local.INFO: Acknowledgment sent {"connection_id":142869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:32:32] local.INFO: TCP Data received {"connection_id":145288,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:32:32] local.INFO: Processing buffer {"connection_id":145288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:32:32] local.INFO: IMEI packet received {"connection_id":145288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 13:32:32] local.INFO: IMEI acknowledgment sent {"connection_id":145288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 13:32:32] local.INFO: TCP Data received {"connection_id":145288,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:32:32] local.INFO: Processing buffer {"connection_id":145288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:32:32] local.INFO: IMEI packet received {"connection_id":145288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 13:32:32] local.INFO: IMEI acknowledgment sent {"connection_id":145288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:32:36] local.INFO: TCP Data received {"connection_id":145287,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2977a00012d18c6c007213cd8004400a12a..."} 
[2026-07-27 13:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2977a00012d18c6c007213cd8004400a12a..."} 
[2026-07-27 13:32:36] local.INFO: Processing buffer {"connection_id":145287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2977a00012d18c6c007213cd8004400a12a..."} 
[2026-07-27 13:32:36] local.INFO: Packet analysis {"connection_id":145287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa297"} 
[2026-07-27 13:32:36] local.INFO: Extracted packet for processing {"connection_id":145287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa297"} 
[2026-07-27 13:32:36] local.INFO: GPS Element Parsed {"raw_longitude":756598464,"raw_latitude":119618776,"longitude_deg":75.6598464,"latitude_deg":11.9618776,"altitude":68,"angle":161,"satellites":42,"speed":30,"hex_longitude":"2d18c6c0","hex_latitude":"07213cd8","is_valid_coordinates":true} 
[2026-07-27 13:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:32:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995650304001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:32:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8865748801814528,"note":"Value kept but may cause issues"} 
[2026-07-27 13:32:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784762489201504256,"note":"Value kept but may cause issues"} 
[2026-07-27 13:32:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:32:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785139264000,"timestamp_ms":1785139264000,"timestamp_seconds":1785139264,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2977a00"} 
[2026-07-27 13:32:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:32:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-27 13:32:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:32:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:32:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:32:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:32:36] local.INFO: Teltonika packet parsed successfully {"connection_id":145287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:32:36] local.INFO: Passing IMEI to GPS processor {"connection_id":145287,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:32:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":145287,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:32:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:32:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 13:32:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 13:32:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995650304001,"66":14363,"121":206,"28":31744,"24":30,"16":8865748801814528,"45":1784762489201504256},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 13:32:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 13:32:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 13:32:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995650304001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:32:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 13:32:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 13:32:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8865748801814528,"km_value":8865748801814.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:32:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784762489201504256,"description":"Unknown IO ID 45"} 
[2026-07-27 13:32:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995650304001,"power":14363,"unknown_121":206,"unknown_28":31744,"ignition":30,"odometer":null,"unknown_45":1784762489201504256}} 
[2026-07-27 13:32:37] local.INFO: DEBUG: GPS processor result {"connection_id":145287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553317,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:32:37] local.INFO: GPS data processed {"connection_id":145287,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:32:37] local.INFO: Acknowledgment sent {"connection_id":145287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:32:37] local.INFO: TCP Data received {"connection_id":145288,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:32:37] local.INFO: Processing buffer {"connection_id":145288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:32:37] local.INFO: IMEI packet received {"connection_id":145288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 13:32:37] local.INFO: IMEI acknowledgment sent {"connection_id":145288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:32:39] local.INFO: TCP Data received {"connection_id":145288,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2979558012d805b8005a846d0000c00a92c..."} 
[2026-07-27 13:32:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2979558012d805b8005a846d0000c00a92c..."} 
[2026-07-27 13:32:39] local.INFO: Processing buffer {"connection_id":145288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2979558012d805b8005a846d0000c00a92c..."} 
[2026-07-27 13:32:39] local.INFO: Packet analysis {"connection_id":145288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa297"} 
[2026-07-27 13:32:39] local.INFO: Extracted packet for processing {"connection_id":145288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa297"} 
[2026-07-27 13:32:39] local.INFO: GPS Element Parsed {"raw_longitude":763386752,"raw_latitude":94914256,"longitude_deg":76.3386752,"latitude_deg":9.4914256,"altitude":12,"angle":169,"satellites":44,"speed":10,"hex_longitude":"2d805b80","hex_latitude":"05a846d0","is_valid_coordinates":true} 
[2026-07-27 13:32:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:32:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995653120001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:32:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358859627275747328,"note":"Value kept but may cause issues"} 
[2026-07-27 13:32:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9197687420931813376,"note":"Value kept but may cause issues"} 
[2026-07-27 13:32:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:32:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785139271000,"timestamp_ms":1785139271000,"timestamp_seconds":1785139271,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2979558"} 
[2026-07-27 13:32:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:32:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:32:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-27 13:32:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:32:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:32:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:32:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:32:39] local.INFO: Teltonika packet parsed successfully {"connection_id":145288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:32:39] local.INFO: Passing IMEI to GPS processor {"connection_id":145288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:32:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":145288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:32:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:32:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 13:32:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 13:32:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995653120001,"66":27767,"194":206,"85":14336,"24":10,"16":358859627275747328,"45":-9197687420931813376},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,85,24,16,45]} 
[2026-07-27 13:32:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 13:32:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 13:32:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995653120001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:32:39] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-07-27 13:32:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-27 13:32:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358859627275747328,"km_value":358859627275747.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:32:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9197687420931813376,"description":"Unknown IO ID 45"} 
[2026-07-27 13:32:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995653120001,"power":27767,"unknown_194":206,"unknown_85":14336,"ignition":10,"odometer":null,"unknown_45":-9197687420931813376}} 
[2026-07-27 13:32:39] local.INFO: DEBUG: GPS processor result {"connection_id":145288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:32:39] local.INFO: GPS data processed {"connection_id":145288,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:32:39] local.INFO: Acknowledgment sent {"connection_id":145288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:32:57] local.INFO: TCP Data received {"connection_id":145289,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145289,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:32:57] local.INFO: Processing buffer {"connection_id":145289,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:32:57] local.INFO: IMEI packet received {"connection_id":145289,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 13:32:57] local.INFO: IMEI acknowledgment sent {"connection_id":145289,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 13:33:00] local.INFO: TCP Data received {"connection_id":145289,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145289,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:33:00] local.INFO: Processing buffer {"connection_id":145289,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:33:00] local.INFO: IMEI packet received {"connection_id":145289,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 13:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":145289,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:33:00] local.INFO: TCP Data received {"connection_id":145289,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145289,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:33:00] local.INFO: Processing buffer {"connection_id":145289,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:33:00] local.INFO: IMEI packet received {"connection_id":145289,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 13:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":145289,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:33:01] local.INFO: TCP Data received {"connection_id":145289,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145289,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:33:01] local.INFO: Processing buffer {"connection_id":145289,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:33:01] local.INFO: IMEI packet received {"connection_id":145289,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 13:33:01] local.INFO: IMEI acknowledgment sent {"connection_id":145289,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:33:10] local.INFO: TCP Data received {"connection_id":145288,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2979940012d805b8005a845b0000b00b82b..."} 
[2026-07-27 13:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2979940012d805b8005a845b0000b00b82b..."} 
[2026-07-27 13:33:10] local.INFO: Processing buffer {"connection_id":145288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2979940012d805b8005a845b0000b00b82b..."} 
[2026-07-27 13:33:10] local.INFO: Packet analysis {"connection_id":145288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa297"} 
[2026-07-27 13:33:10] local.INFO: Extracted packet for processing {"connection_id":145288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa297"} 
[2026-07-27 13:33:10] local.INFO: GPS Element Parsed {"raw_longitude":763386752,"raw_latitude":94913968,"longitude_deg":76.3386752,"latitude_deg":9.4913968,"altitude":11,"angle":184,"satellites":43,"speed":12,"hex_longitude":"2d805b80","hex_latitude":"05a845b0","is_valid_coordinates":true} 
[2026-07-27 13:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:33:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995653376001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:33:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358859640160649216,"note":"Value kept but may cause issues"} 
[2026-07-27 13:33:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9197617052187701248,"note":"Value kept but may cause issues"} 
[2026-07-27 13:33:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:33:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785139272000,"timestamp_ms":1785139272000,"timestamp_seconds":1785139272,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2979940"} 
[2026-07-27 13:33:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:33:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-27 13:33:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:33:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:33:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:33:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:33:10] local.INFO: Teltonika packet parsed successfully {"connection_id":145288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:33:10] local.INFO: Passing IMEI to GPS processor {"connection_id":145288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:33:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":145288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:33: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-07-27 13:33:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 13:33:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 13:33:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995653376001,"66":27767,"194":206,"85":14336,"24":12,"16":358859640160649216,"45":-9197617052187701248},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,85,24,16,45]} 
[2026-07-27 13:33:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 13:33:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 13:33:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995653376001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:33:10] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-07-27 13:33:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-27 13:33:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358859640160649216,"km_value":358859640160649.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:33:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9197617052187701248,"description":"Unknown IO ID 45"} 
[2026-07-27 13:33:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995653376001,"power":27767,"unknown_194":206,"unknown_85":14336,"ignition":12,"odometer":null,"unknown_45":-9197617052187701248}} 
[2026-07-27 13:33:10] local.INFO: DEBUG: GPS processor result {"connection_id":145288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:33:10] local.INFO: GPS data processed {"connection_id":145288,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:33:10] local.INFO: Acknowledgment sent {"connection_id":145288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:33:32] local.INFO: TCP Data received {"connection_id":143994,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:33:32] local.INFO: Processing buffer {"connection_id":143994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:33:32] local.INFO: IMEI packet received {"connection_id":143994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 13:33:32] local.INFO: IMEI acknowledgment sent {"connection_id":143994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 13:33:34] local.INFO: TCP Data received {"connection_id":143994,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:33:34] local.INFO: Processing buffer {"connection_id":143994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:33:34] local.INFO: IMEI packet received {"connection_id":143994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 13:33:34] local.INFO: IMEI acknowledgment sent {"connection_id":143994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:33:38] local.INFO: TCP Data received {"connection_id":143994,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:33:38] local.INFO: Processing buffer {"connection_id":143994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:33:38] local.INFO: IMEI packet received {"connection_id":143994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 13:33:38] local.INFO: IMEI acknowledgment sent {"connection_id":143994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:33:38] local.INFO: TCP Data received {"connection_id":143994,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa297eb48012d80584005a823d8000c00b62c..."} 
[2026-07-27 13:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa297eb48012d80584005a823d8000c00b62c..."} 
[2026-07-27 13:33:38] local.INFO: Processing buffer {"connection_id":143994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa297eb48012d80584005a823d8000c00b62c..."} 
[2026-07-27 13:33:38] local.INFO: Packet analysis {"connection_id":143994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa297"} 
[2026-07-27 13:33:38] local.INFO: Extracted packet for processing {"connection_id":143994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa297"} 
[2026-07-27 13:33:38] local.INFO: GPS Element Parsed {"raw_longitude":763385920,"raw_latitude":94905304,"longitude_deg":76.338592,"latitude_deg":9.4905304,"altitude":12,"angle":182,"satellites":44,"speed":14,"hex_longitude":"2d805840","hex_latitude":"05a823d8","is_valid_coordinates":true} 
[2026-07-27 13:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:33:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995653632001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:33:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358860065362411520,"note":"Value kept but may cause issues"} 
[2026-07-27 13:33:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9197617052187774976,"note":"Value kept but may cause issues"} 
[2026-07-27 13:33:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:33:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785139293000,"timestamp_ms":1785139293000,"timestamp_seconds":1785139293,"priority":1,"record_length":96,"hex_timestamp":"0000019fa297eb48"} 
[2026-07-27 13:33:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:33:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-27 13:33:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:33:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:33:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:33:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:33:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:33:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:33:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:33:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:33:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 13:33:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 13:33:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995653632001,"66":27234,"194":206,"85":14336,"24":14,"16":358860065362411520,"45":-9197617052187774976},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,85,24,16,45]} 
[2026-07-27 13:33:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 13:33:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 13:33:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995653632001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:33:38] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-07-27 13:33:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-27 13:33:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358860065362411520,"km_value":358860065362411.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:33:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9197617052187774976,"description":"Unknown IO ID 45"} 
[2026-07-27 13:33:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995653632001,"power":27234,"unknown_194":206,"unknown_85":14336,"ignition":14,"odometer":null,"unknown_45":-9197617052187774976}} 
[2026-07-27 13:33:38] local.INFO: DEBUG: GPS processor result {"connection_id":143994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:33:38] local.INFO: GPS data processed {"connection_id":143994,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:33:38] local.INFO: Acknowledgment sent {"connection_id":143994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:34:10] local.INFO: TCP Data received {"connection_id":143994,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2983d50012d80568005a813c0001200b82d..."} 
[2026-07-27 13:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2983d50012d80568005a813c0001200b82d..."} 
[2026-07-27 13:34:10] local.INFO: Processing buffer {"connection_id":143994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2983d50012d80568005a813c0001200b82d..."} 
[2026-07-27 13:34:10] local.INFO: Packet analysis {"connection_id":143994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa298"} 
[2026-07-27 13:34:10] local.INFO: Extracted packet for processing {"connection_id":143994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa298"} 
[2026-07-27 13:34:10] local.INFO: GPS Element Parsed {"raw_longitude":763385472,"raw_latitude":94901184,"longitude_deg":76.3385472,"latitude_deg":9.4901184,"altitude":18,"angle":184,"satellites":45,"speed":16,"hex_longitude":"2d805680","hex_latitude":"05a813c0","is_valid_coordinates":true} 
[2026-07-27 13:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:34:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995659008001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:34:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358860271520841728,"note":"Value kept but may cause issues"} 
[2026-07-27 13:34:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9198531845864302592,"note":"Value kept but may cause issues"} 
[2026-07-27 13:34:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:34:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785139314000,"timestamp_ms":1785139314000,"timestamp_seconds":1785139314,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2983d50"} 
[2026-07-27 13:34:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:34:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-27 13:34:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:34:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:34:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:34:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:34:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:34:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:34:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:34: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-07-27 13:34:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 13:34:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 13:34:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995659008001,"66":27767,"195":206,"85":14336,"24":16,"16":358860271520841728,"45":-9198531845864302592},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,85,24,16,45]} 
[2026-07-27 13:34:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 13:34:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 13:34:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995659008001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:34:10] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-07-27 13:34:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-27 13:34:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358860271520841728,"km_value":358860271520841.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:34:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9198531845864302592,"description":"Unknown IO ID 45"} 
[2026-07-27 13:34:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995659008001,"power":27767,"unknown_195":206,"unknown_85":14336,"ignition":16,"odometer":null,"unknown_45":-9198531845864302592}} 
[2026-07-27 13:34:10] local.INFO: DEBUG: GPS processor result {"connection_id":143994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:34:10] local.INFO: GPS data processed {"connection_id":143994,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:34:10] local.INFO: Acknowledgment sent {"connection_id":143994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:34:32] local.INFO: TCP Data received {"connection_id":142870,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:34:32] local.INFO: Processing buffer {"connection_id":142870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:34:32] local.INFO: IMEI packet received {"connection_id":142870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 13:34:32] local.INFO: IMEI acknowledgment sent {"connection_id":142870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 13:34:37] local.INFO: TCP Data received {"connection_id":142870,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:34:37] local.INFO: Processing buffer {"connection_id":142870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:34:37] local.INFO: IMEI packet received {"connection_id":142870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 13:34:37] local.INFO: IMEI acknowledgment sent {"connection_id":142870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:34:38] local.INFO: TCP Data received {"connection_id":142870,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa29883a0012d80540005a7eee8001200b82c..."} 
[2026-07-27 13:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa29883a0012d80540005a7eee8001200b82c..."} 
[2026-07-27 13:34:38] local.INFO: Processing buffer {"connection_id":142870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa29883a0012d80540005a7eee8001200b82c..."} 
[2026-07-27 13:34:38] local.INFO: Packet analysis {"connection_id":142870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa298"} 
[2026-07-27 13:34:38] local.INFO: Extracted packet for processing {"connection_id":142870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa298"} 
[2026-07-27 13:34:38] local.INFO: GPS Element Parsed {"raw_longitude":763384832,"raw_latitude":94891752,"longitude_deg":76.3384832,"latitude_deg":9.4891752,"altitude":18,"angle":184,"satellites":44,"speed":29,"hex_longitude":"2d805400","hex_latitude":"05a7eee8","is_valid_coordinates":true} 
[2026-07-27 13:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:34:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995664384001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:34:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358860731082342400,"note":"Value kept but may cause issues"} 
[2026-07-27 13:34:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9199024427074600960,"note":"Value kept but may cause issues"} 
[2026-07-27 13:34:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:34:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785139332000,"timestamp_ms":1785139332000,"timestamp_seconds":1785139332,"priority":1,"record_length":96,"hex_timestamp":"0000019fa29883a0"} 
[2026-07-27 13:34:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:34:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-27 13:34:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:34:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:34:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:34:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:34:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:34:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:34:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:34:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:34:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 13:34:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 13:34:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995664384001,"66":27821,"195":206,"85":14336,"24":29,"16":358860731082342400,"45":-9199024427074600960},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,85,24,16,45]} 
[2026-07-27 13:34:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 13:34:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 13:34:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995664384001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:34:38] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-07-27 13:34:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-27 13:34:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358860731082342400,"km_value":358860731082342.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:34:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9199024427074600960,"description":"Unknown IO ID 45"} 
[2026-07-27 13:34:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995664384001,"power":27821,"unknown_195":206,"unknown_85":14336,"ignition":29,"odometer":null,"unknown_45":-9199024427074600960}} 
[2026-07-27 13:34:38] local.INFO: DEBUG: GPS processor result {"connection_id":142870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:34:38] local.INFO: GPS data processed {"connection_id":142870,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:34:38] local.INFO: Acknowledgment sent {"connection_id":142870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:35:10] local.INFO: TCP Data received {"connection_id":142870,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa29a0a40012d80258005a67c30000e00ad2b..."} 
[2026-07-27 13:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa29a0a40012d80258005a67c30000e00ad2b..."} 
[2026-07-27 13:35:10] local.INFO: Processing buffer {"connection_id":142870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa29a0a40012d80258005a67c30000e00ad2b..."} 
[2026-07-27 13:35:10] local.INFO: Packet analysis {"connection_id":142870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa29a"} 
[2026-07-27 13:35:10] local.INFO: Extracted packet for processing {"connection_id":142870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa29a"} 
[2026-07-27 13:35:10] local.INFO: GPS Element Parsed {"raw_longitude":763372928,"raw_latitude":94796848,"longitude_deg":76.3372928,"latitude_deg":9.4796848,"altitude":14,"angle":173,"satellites":43,"speed":28,"hex_longitude":"2d802580","hex_latitude":"05a67c30","is_valid_coordinates":true} 
[2026-07-27 13:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:35:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995691520001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:35:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358865395416825856,"note":"Value kept but may cause issues"} 
[2026-07-27 13:35:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9213801863376361472,"note":"Value kept but may cause issues"} 
[2026-07-27 13:35:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:35:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785139432000,"timestamp_ms":1785139432000,"timestamp_seconds":1785139432,"priority":1,"record_length":96,"hex_timestamp":"0000019fa29a0a40"} 
[2026-07-27 13:35:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:35:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-27 13:35:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:35:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:35:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:35:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:35:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:35:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:35:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:35: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-07-27 13:35:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 13:35:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 13:35:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995691520001,"66":27767,"57":206,"85":14336,"24":28,"16":358865395416825856,"45":-9213801863376361472},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,85,24,16,45]} 
[2026-07-27 13:35:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 13:35:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 13:35:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995691520001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:35:10] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-07-27 13:35:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-27 13:35:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358865395416825856,"km_value":358865395416825.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:35:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9213801863376361472,"description":"Unknown IO ID 45"} 
[2026-07-27 13:35:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995691520001,"power":27767,"unknown_57":206,"unknown_85":14336,"ignition":28,"odometer":null,"unknown_45":-9213801863376361472}} 
[2026-07-27 13:35:10] local.INFO: DEBUG: GPS processor result {"connection_id":142870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:35:10] local.INFO: GPS data processed {"connection_id":142870,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:35:10] local.INFO: Acknowledgment sent {"connection_id":142870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:35:37] local.INFO: TCP Data received {"connection_id":143995,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:35:37] local.INFO: Processing buffer {"connection_id":143995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:35:37] local.INFO: IMEI packet received {"connection_id":143995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 13:35:37] local.INFO: IMEI acknowledgment sent {"connection_id":143995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 13:35:39] local.INFO: TCP Data received {"connection_id":143995,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:35:39] local.INFO: Processing buffer {"connection_id":143995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:35:39] local.INFO: IMEI packet received {"connection_id":143995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 13:35:39] local.INFO: IMEI acknowledgment sent {"connection_id":143995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:35:40] local.INFO: TCP Data received {"connection_id":143995,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa29a3538012d80294005a657e0000e00ab2a..."} 
[2026-07-27 13:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa29a3538012d80294005a657e0000e00ab2a..."} 
[2026-07-27 13:35:40] local.INFO: Processing buffer {"connection_id":143995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa29a3538012d80294005a657e0000e00ab2a..."} 
[2026-07-27 13:35:40] local.INFO: Packet analysis {"connection_id":143995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa29a"} 
[2026-07-27 13:35:40] local.INFO: Extracted packet for processing {"connection_id":143995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa29a"} 
[2026-07-27 13:35:40] local.INFO: GPS Element Parsed {"raw_longitude":763373888,"raw_latitude":94787552,"longitude_deg":76.3373888,"latitude_deg":9.4787552,"altitude":14,"angle":171,"satellites":42,"speed":39,"hex_longitude":"2d802940","hex_latitude":"05a657e0","is_valid_coordinates":true} 
[2026-07-27 13: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-07-27 13:35:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995694592001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:35:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358865850683359232,"note":"Value kept but may cause issues"} 
[2026-07-27 13:35:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9212816700960133120,"note":"Value kept but may cause issues"} 
[2026-07-27 13:35:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:35:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785139443000,"timestamp_ms":1785139443000,"timestamp_seconds":1785139443,"priority":1,"record_length":96,"hex_timestamp":"0000019fa29a3538"} 
[2026-07-27 13:35:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:35:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-27 13:35:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13: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-07-27 13:35:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:35:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:35:40] local.INFO: Teltonika packet parsed successfully {"connection_id":143995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:35:40] local.INFO: Passing IMEI to GPS processor {"connection_id":143995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:35:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":143995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:35: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-07-27 13:35:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 13:35:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 13:35:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995694592001,"66":27865,"57":206,"85":14336,"24":39,"16":358865850683359232,"45":-9212816700960133120},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,85,24,16,45]} 
[2026-07-27 13:35:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 13:35:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 13:35:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995694592001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:35:40] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-07-27 13:35:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-27 13:35:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358865850683359232,"km_value":358865850683359.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:35:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9212816700960133120,"description":"Unknown IO ID 45"} 
[2026-07-27 13:35:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995694592001,"power":27865,"unknown_57":206,"unknown_85":14336,"ignition":39,"odometer":null,"unknown_45":-9212816700960133120}} 
[2026-07-27 13:35:40] local.INFO: DEBUG: GPS processor result {"connection_id":143995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:35:40] local.INFO: GPS data processed {"connection_id":143995,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:35:40] local.INFO: Acknowledgment sent {"connection_id":143995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:35:43] local.INFO: TCP Data received {"connection_id":143995,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa29a5860012d802cc005a633d8000e00af2a..."} 
[2026-07-27 13:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa29a5860012d802cc005a633d8000e00af2a..."} 
[2026-07-27 13:35:43] local.INFO: Processing buffer {"connection_id":143995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa29a5860012d802cc005a633d8000e00af2a..."} 
[2026-07-27 13:35:43] local.INFO: Packet analysis {"connection_id":143995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa29a"} 
[2026-07-27 13:35:43] local.INFO: Extracted packet for processing {"connection_id":143995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa29a"} 
[2026-07-27 13:35:43] local.INFO: GPS Element Parsed {"raw_longitude":763374784,"raw_latitude":94778328,"longitude_deg":76.3374784,"latitude_deg":9.4778328,"altitude":14,"angle":175,"satellites":42,"speed":37,"hex_longitude":"2d802cc0","hex_latitude":"05a633d8","is_valid_coordinates":true} 
[2026-07-27 13:35:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:35:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995697408001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:35:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358866297359958016,"note":"Value kept but may cause issues"} 
[2026-07-27 13:35:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9211761169799847936,"note":"Value kept but may cause issues"} 
[2026-07-27 13:35:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:35:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785139452000,"timestamp_ms":1785139452000,"timestamp_seconds":1785139452,"priority":1,"record_length":96,"hex_timestamp":"0000019fa29a5860"} 
[2026-07-27 13:35:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:35:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:35:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-27 13:35:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:35:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:35:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:35:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:35:43] local.INFO: Teltonika packet parsed successfully {"connection_id":143995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:35:43] local.INFO: Passing IMEI to GPS processor {"connection_id":143995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:35:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":143995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:35: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-07-27 13:35:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 13:35:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 13:35:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995697408001,"66":27843,"57":206,"85":14336,"24":37,"16":358866297359958016,"45":-9211761169799847936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,85,24,16,45]} 
[2026-07-27 13:35:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 13:35:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 13:35:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995697408001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:35:43] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-07-27 13:35:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-27 13:35:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358866297359958016,"km_value":358866297359958.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:35:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9211761169799847936,"description":"Unknown IO ID 45"} 
[2026-07-27 13:35:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995697408001,"power":27843,"unknown_57":206,"unknown_85":14336,"ignition":37,"odometer":null,"unknown_45":-9211761169799847936}} 
[2026-07-27 13:35:43] local.INFO: DEBUG: GPS processor result {"connection_id":143995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:35:43] local.INFO: GPS data processed {"connection_id":143995,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:35:43] local.INFO: Acknowledgment sent {"connection_id":143995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:36:09] local.INFO: TCP Data received {"connection_id":143003,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 13:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143003,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 13:36:09] local.INFO: Processing buffer {"connection_id":143003,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 13:36:09] local.INFO: IMEI packet received {"connection_id":143003,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 13:36:09] local.INFO: IMEI acknowledgment sent {"connection_id":143003,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 13:36:14] local.INFO: TCP Data received {"connection_id":143995,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa29aaa68012d80300005a60fd0000d00b02b..."} 
[2026-07-27 13:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa29aaa68012d80300005a60fd0000d00b02b..."} 
[2026-07-27 13:36:14] local.INFO: Processing buffer {"connection_id":143995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa29aaa68012d80300005a60fd0000d00b02b..."} 
[2026-07-27 13:36:14] local.INFO: Packet analysis {"connection_id":143995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa29a"} 
[2026-07-27 13:36:14] local.INFO: Extracted packet for processing {"connection_id":143995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa29a"} 
[2026-07-27 13:36:14] local.INFO: GPS Element Parsed {"raw_longitude":763375616,"raw_latitude":94769104,"longitude_deg":76.3375616,"latitude_deg":9.4769104,"altitude":13,"angle":176,"satellites":43,"speed":28,"hex_longitude":"2d803000","hex_latitude":"05a60fd0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 13:36:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995699712001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:36:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358866752626491392,"note":"Value kept but may cause issues"} 
[2026-07-27 13:36:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9210776007383721984,"note":"Value kept but may cause issues"} 
[2026-07-27 13:36:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:36:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785139473000,"timestamp_ms":1785139473000,"timestamp_seconds":1785139473,"priority":1,"record_length":96,"hex_timestamp":"0000019fa29aaa68"} 
[2026-07-27 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-07-27 13:36:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-27 13:36:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 13:36:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:36:14] local.INFO: Teltonika packet parsed successfully {"connection_id":143995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:36:14] local.INFO: Passing IMEI to GPS processor {"connection_id":143995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:36:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":143995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:36: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-07-27 13:36:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 13:36:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 13:36:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995699712001,"66":27800,"57":206,"85":14336,"24":28,"16":358866752626491392,"45":-9210776007383721984},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,85,24,16,45]} 
[2026-07-27 13:36:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 13:36:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 13:36:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995699712001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:36:14] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-07-27 13:36:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-27 13:36:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358866752626491392,"km_value":358866752626491.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:36:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9210776007383721984,"description":"Unknown IO ID 45"} 
[2026-07-27 13:36:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995699712001,"power":27800,"unknown_57":206,"unknown_85":14336,"ignition":28,"odometer":null,"unknown_45":-9210776007383721984}} 
[2026-07-27 13:36:14] local.INFO: DEBUG: GPS processor result {"connection_id":143995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:36:14] local.INFO: GPS data processed {"connection_id":143995,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:36:14] local.INFO: Acknowledgment sent {"connection_id":143995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:36:30] local.INFO: TCP Data received {"connection_id":143007,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:36:30] local.INFO: Processing buffer {"connection_id":143007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:36:30] local.INFO: IMEI packet received {"connection_id":143007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 13:36:30] local.INFO: IMEI acknowledgment sent {"connection_id":143007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 13:36:31] local.INFO: TCP Data received {"connection_id":143007,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:36:31] local.INFO: Processing buffer {"connection_id":143007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:36:31] local.INFO: IMEI packet received {"connection_id":143007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 13:36:31] local.INFO: IMEI acknowledgment sent {"connection_id":143007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:36:32] local.INFO: TCP Data received {"connection_id":143007,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:36:32] local.INFO: Processing buffer {"connection_id":143007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:36:32] local.INFO: IMEI packet received {"connection_id":143007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 13:36:32] local.INFO: IMEI acknowledgment sent {"connection_id":143007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:36:32] local.INFO: TCP Data received {"connection_id":143007,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:36:32] local.INFO: Processing buffer {"connection_id":143007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:36:32] local.INFO: IMEI packet received {"connection_id":143007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 13:36:32] local.INFO: IMEI acknowledgment sent {"connection_id":143007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:38:05] local.INFO: TCP Data received {"connection_id":142871,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142871,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:38:05] local.INFO: Processing buffer {"connection_id":142871,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:38:05] local.INFO: IMEI packet received {"connection_id":142871,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 13:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":142871,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 13:38:06] local.INFO: TCP Data received {"connection_id":142871,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa29b2b50012d195d80072019c8003b00be26..."} 
[2026-07-27 13:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa29b2b50012d195d80072019c8003b00be26..."} 
[2026-07-27 13:38:06] local.INFO: Processing buffer {"connection_id":142871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa29b2b50012d195d80072019c8003b00be26..."} 
[2026-07-27 13:38:06] local.INFO: Packet analysis {"connection_id":142871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa29b"} 
[2026-07-27 13:38:06] local.INFO: Extracted packet for processing {"connection_id":142871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa29b"} 
[2026-07-27 13:38:06] local.INFO: GPS Element Parsed {"raw_longitude":756637056,"raw_latitude":119544264,"longitude_deg":75.6637056,"latitude_deg":11.9544264,"altitude":59,"angle":190,"satellites":38,"speed":12,"hex_longitude":"2d195d80","hex_latitude":"072019c8","is_valid_coordinates":true} 
[2026-07-27 13:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:38:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995712000001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:38:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8870670834335744,"note":"Value kept but may cause issues"} 
[2026-07-27 13:38:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827757791874365440,"note":"Value kept but may cause issues"} 
[2026-07-27 13:38:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:38:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785139506000,"timestamp_ms":1785139506000,"timestamp_seconds":1785139506,"priority":1,"record_length":96,"hex_timestamp":"0000019fa29b2b50"} 
[2026-07-27 13:38:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:38:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-27 13:38:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:38:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:38:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:38:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:38:06] local.INFO: Teltonika packet parsed successfully {"connection_id":142871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:38:06] local.INFO: Passing IMEI to GPS processor {"connection_id":142871,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:38:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":142871,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:38:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:38:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 13:38:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 13:38:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995712000001,"66":13243,"121":206,"28":31744,"24":12,"16":8870670834335744,"45":1827757791874365440},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 13:38:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 13:38:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 13:38:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995712000001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:38:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 13:38:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 13:38:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8870670834335744,"km_value":8870670834335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:38:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827757791874365440,"description":"Unknown IO ID 45"} 
[2026-07-27 13:38:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995712000001,"power":13243,"unknown_121":206,"unknown_28":31744,"ignition":12,"odometer":null,"unknown_45":1827757791874365440}} 
[2026-07-27 13:38:06] local.INFO: DEBUG: GPS processor result {"connection_id":142871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553327,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:38:06] local.INFO: GPS data processed {"connection_id":142871,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:38:06] local.INFO: Acknowledgment sent {"connection_id":142871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:38:38] local.INFO: TCP Data received {"connection_id":142871,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa29b3ed8012d195c40072014a8003d00c928..."} 
[2026-07-27 13:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa29b3ed8012d195c40072014a8003d00c928..."} 
[2026-07-27 13:38:38] local.INFO: Processing buffer {"connection_id":142871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa29b3ed8012d195c40072014a8003d00c928..."} 
[2026-07-27 13:38:38] local.INFO: Packet analysis {"connection_id":142871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa29b"} 
[2026-07-27 13:38:38] local.INFO: Extracted packet for processing {"connection_id":142871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa29b"} 
[2026-07-27 13:38:38] local.INFO: GPS Element Parsed {"raw_longitude":756636736,"raw_latitude":119542952,"longitude_deg":75.6636736,"latitude_deg":11.9542952,"altitude":61,"angle":201,"satellites":40,"speed":7,"hex_longitude":"2d195c40","hex_latitude":"072014a8","is_valid_coordinates":true} 
[2026-07-27 13:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:38:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995713536001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:38:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8870735258845184,"note":"Value kept but may cause issues"} 
[2026-07-27 13:38:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827757791873976320,"note":"Value kept but may cause issues"} 
[2026-07-27 13:38:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:38:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785139511000,"timestamp_ms":1785139511000,"timestamp_seconds":1785139511,"priority":1,"record_length":96,"hex_timestamp":"0000019fa29b3ed8"} 
[2026-07-27 13:38:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:38:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-27 13:38:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:38:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:38:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:38:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:38:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:38:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142871,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:38:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142871,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:38:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:38:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 13:38:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 13:38:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995713536001,"66":13254,"121":206,"28":31744,"24":7,"16":8870735258845184,"45":1827757791873976320},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 13:38:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 13:38:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 13:38:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995713536001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:38:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 13:38:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 13:38:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8870735258845184,"km_value":8870735258845.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:38:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827757791873976320,"description":"Unknown IO ID 45"} 
[2026-07-27 13:38:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995713536001,"power":13254,"unknown_121":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1827757791873976320}} 
[2026-07-27 13:38:38] local.INFO: DEBUG: GPS processor result {"connection_id":142871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553328,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:38:38] local.INFO: GPS data processed {"connection_id":142871,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:38:38] local.INFO: Acknowledgment sent {"connection_id":142871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:39:00] local.INFO: TCP Data received {"connection_id":143009,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143009,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:39:00] local.INFO: Processing buffer {"connection_id":143009,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:39:00] local.INFO: IMEI packet received {"connection_id":143009,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 13:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":143009,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 13:39:01] local.INFO: TCP Data received {"connection_id":143009,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143009,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:39:01] local.INFO: Processing buffer {"connection_id":143009,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:39:01] local.INFO: IMEI packet received {"connection_id":143009,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 13:39:01] local.INFO: IMEI acknowledgment sent {"connection_id":143009,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:39:05] local.INFO: TCP Data received {"connection_id":143009,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143009,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:39:05] local.INFO: Processing buffer {"connection_id":143009,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:39:05] local.INFO: IMEI packet received {"connection_id":143009,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 13:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":143009,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:39:06] local.INFO: TCP Data received {"connection_id":143009,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa29b42c0012d195c00072013f0003d00b927..."} 
[2026-07-27 13:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa29b42c0012d195c00072013f0003d00b927..."} 
[2026-07-27 13:39:06] local.INFO: Processing buffer {"connection_id":143009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa29b42c0012d195c00072013f0003d00b927..."} 
[2026-07-27 13:39:06] local.INFO: Packet analysis {"connection_id":143009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa29b"} 
[2026-07-27 13:39:06] local.INFO: Extracted packet for processing {"connection_id":143009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa29b"} 
[2026-07-27 13:39:06] local.INFO: GPS Element Parsed {"raw_longitude":756636672,"raw_latitude":119542768,"longitude_deg":75.6636672,"latitude_deg":11.9542768,"altitude":61,"angle":185,"satellites":39,"speed":7,"hex_longitude":"2d195c00","hex_latitude":"072013f0","is_valid_coordinates":true} 
[2026-07-27 13:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:39:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995714816001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:39:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8870743848779776,"note":"Value kept but may cause issues"} 
[2026-07-27 13:39:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827405948152752128,"note":"Value kept but may cause issues"} 
[2026-07-27 13:39:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:39:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785139512000,"timestamp_ms":1785139512000,"timestamp_seconds":1785139512,"priority":1,"record_length":96,"hex_timestamp":"0000019fa29b42c0"} 
[2026-07-27 13:39:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:39:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-27 13:39:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:39:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:39:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:39:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:39:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:39:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143009,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:39:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143009,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:39:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:39:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 13:39:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 13:39:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995714816001,"66":13254,"121":206,"28":31744,"24":7,"16":8870743848779776,"45":1827405948152752128},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 13:39:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 13:39:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 13:39:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995714816001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:39:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 13:39:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 13:39:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8870743848779776,"km_value":8870743848779.775,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:39:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827405948152752128,"description":"Unknown IO ID 45"} 
[2026-07-27 13:39:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995714816001,"power":13254,"unknown_121":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1827405948152752128}} 
[2026-07-27 13:39:06] local.INFO: DEBUG: GPS processor result {"connection_id":143009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553329,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:39:06] local.INFO: GPS data processed {"connection_id":143009,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:39:06] local.INFO: Acknowledgment sent {"connection_id":143009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:39:38] local.INFO: TCP Data received {"connection_id":143009,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa29b4a90012d195c40072012c0003d00ac26..."} 
[2026-07-27 13:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa29b4a90012d195c40072012c0003d00ac26..."} 
[2026-07-27 13:39:38] local.INFO: Processing buffer {"connection_id":143009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa29b4a90012d195c40072012c0003d00ac26..."} 
[2026-07-27 13:39:38] local.INFO: Packet analysis {"connection_id":143009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa29b"} 
[2026-07-27 13:39:38] local.INFO: Extracted packet for processing {"connection_id":143009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa29b"} 
[2026-07-27 13:39:38] local.INFO: GPS Element Parsed {"raw_longitude":756636736,"raw_latitude":119542464,"longitude_deg":75.6636736,"latitude_deg":11.9542464,"altitude":61,"angle":172,"satellites":38,"speed":3,"hex_longitude":"2d195c40","hex_latitude":"072012c0","is_valid_coordinates":true} 
[2026-07-27 13:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:39:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995715072001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:39:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8870761028648960,"note":"Value kept but may cause issues"} 
[2026-07-27 13:39:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827335579408527360,"note":"Value kept but may cause issues"} 
[2026-07-27 13:39:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:39:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785139514000,"timestamp_ms":1785139514000,"timestamp_seconds":1785139514,"priority":1,"record_length":96,"hex_timestamp":"0000019fa29b4a90"} 
[2026-07-27 13:39:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:39:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-27 13:39:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:39:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:39:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:39:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:39:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:39:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143009,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:39:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143009,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:39:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:39:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 13:39:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 13:39:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995715072001,"66":13222,"121":206,"28":31744,"24":3,"16":8870761028648960,"45":1827335579408527360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 13:39:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 13:39:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 13:39:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995715072001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:39:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 13:39:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 13:39:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8870761028648960,"km_value":8870761028648.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:39:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827335579408527360,"description":"Unknown IO ID 45"} 
[2026-07-27 13:39:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995715072001,"power":13222,"unknown_121":206,"unknown_28":31744,"ignition":3,"odometer":null,"unknown_45":1827335579408527360}} 
[2026-07-27 13:39:38] local.INFO: DEBUG: GPS processor result {"connection_id":143009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553330,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:39:38] local.INFO: GPS data processed {"connection_id":143009,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:39:38] local.INFO: Acknowledgment sent {"connection_id":143009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:40:07] local.INFO: TCP Data received {"connection_id":143010,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143010,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:40:07] local.INFO: Processing buffer {"connection_id":143010,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:40:07] local.INFO: IMEI packet received {"connection_id":143010,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 13:40:07] local.INFO: IMEI acknowledgment sent {"connection_id":143010,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 13:40:07] local.INFO: TCP Data received {"connection_id":143010,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143010,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:40:07] local.INFO: Processing buffer {"connection_id":143010,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:40:07] local.INFO: IMEI packet received {"connection_id":143010,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 13:40:07] local.INFO: IMEI acknowledgment sent {"connection_id":143010,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:40:10] local.INFO: TCP Data received {"connection_id":143010,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143010,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:40:10] local.INFO: Processing buffer {"connection_id":143010,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:40:10] local.INFO: IMEI packet received {"connection_id":143010,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 13:40:10] local.INFO: IMEI acknowledgment sent {"connection_id":143010,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:40:11] local.INFO: TCP Data received {"connection_id":143010,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa29b9c98012d195c40072012b0003d00ac26..."} 
[2026-07-27 13:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143010,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa29b9c98012d195c40072012b0003d00ac26..."} 
[2026-07-27 13:40:11] local.INFO: Processing buffer {"connection_id":143010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa29b9c98012d195c40072012b0003d00ac26..."} 
[2026-07-27 13:40:11] local.INFO: Packet analysis {"connection_id":143010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa29b"} 
[2026-07-27 13:40:11] local.INFO: Extracted packet for processing {"connection_id":143010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa29b"} 
[2026-07-27 13:40:11] local.INFO: GPS Element Parsed {"raw_longitude":756636736,"raw_latitude":119542448,"longitude_deg":75.6636736,"latitude_deg":11.9542448,"altitude":61,"angle":172,"satellites":38,"speed":0,"hex_longitude":"2d195c40","hex_latitude":"072012b0","is_valid_coordinates":true} 
[2026-07-27 13:40:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:40:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995715584001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:40:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8870765323616256,"note":"Value kept but may cause issues"} 
[2026-07-27 13:40:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827405948152627200,"note":"Value kept but may cause issues"} 
[2026-07-27 13:40:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:40:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785139535000,"timestamp_ms":1785139535000,"timestamp_seconds":1785139535,"priority":1,"record_length":96,"hex_timestamp":"0000019fa29b9c98"} 
[2026-07-27 13:40:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:40:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-27 13:40:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:40:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:40:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:40:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:40:11] local.INFO: Teltonika packet parsed successfully {"connection_id":143010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:40:11] local.INFO: Passing IMEI to GPS processor {"connection_id":143010,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:40:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":143010,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:40:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:40:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 13:40:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 13:40:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995715584001,"66":13222,"121":206,"28":31744,"24":0,"16":8870765323616256,"45":1827405948152627200},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 13:40:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 13:40:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 13:40:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995715584001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:40:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 13:40:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 13:40:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8870765323616256,"km_value":8870765323616.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:40:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827405948152627200,"description":"Unknown IO ID 45"} 
[2026-07-27 13:40:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995715584001,"power":13222,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1827405948152627200}} 
[2026-07-27 13:40:11] local.INFO: DEBUG: GPS processor result {"connection_id":143010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553331,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:40:11] local.INFO: GPS data processed {"connection_id":143010,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:40:11] local.INFO: Acknowledgment sent {"connection_id":143010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:40:16] local.INFO: TCP Data received {"connection_id":143010,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa29beea0012d195c40072012b0003d00ac24..."} 
[2026-07-27 13:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143010,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa29beea0012d195c40072012b0003d00ac24..."} 
[2026-07-27 13:40:16] local.INFO: Processing buffer {"connection_id":143010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa29beea0012d195c40072012b0003d00ac24..."} 
[2026-07-27 13:40:16] local.INFO: Packet analysis {"connection_id":143010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa29b"} 
[2026-07-27 13:40:16] local.INFO: Extracted packet for processing {"connection_id":143010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa29b"} 
[2026-07-27 13:40:16] local.INFO: GPS Element Parsed {"raw_longitude":756636736,"raw_latitude":119542448,"longitude_deg":75.6636736,"latitude_deg":11.9542448,"altitude":61,"angle":172,"satellites":36,"speed":0,"hex_longitude":"2d195c40","hex_latitude":"072012b0","is_valid_coordinates":true} 
[2026-07-27 13:40:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:40:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995720960001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:40:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8870765323616256,"note":"Value kept but may cause issues"} 
[2026-07-27 13:40:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827405948152623104,"note":"Value kept but may cause issues"} 
[2026-07-27 13:40:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:40:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785139556000,"timestamp_ms":1785139556000,"timestamp_seconds":1785139556,"priority":1,"record_length":96,"hex_timestamp":"0000019fa29beea0"} 
[2026-07-27 13:40:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:40:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:40:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-27 13:40:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:40:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:40:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:40:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:40:16] local.INFO: Teltonika packet parsed successfully {"connection_id":143010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:40:16] local.INFO: Passing IMEI to GPS processor {"connection_id":143010,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:40:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":143010,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:40:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:40:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 13:40:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 13:40:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995720960001,"66":13135,"121":206,"28":31744,"24":0,"16":8870765323616256,"45":1827405948152623104},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 13:40:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 13:40:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 13:40:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995720960001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:40:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 13:40:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 13:40:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8870765323616256,"km_value":8870765323616.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:40:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827405948152623104,"description":"Unknown IO ID 45"} 
[2026-07-27 13:40:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995720960001,"power":13135,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1827405948152623104}} 
[2026-07-27 13:40:16] local.INFO: DEBUG: GPS processor result {"connection_id":143010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553332,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:40:16] local.INFO: GPS data processed {"connection_id":143010,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:40:16] local.INFO: Acknowledgment sent {"connection_id":143010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:41:00] local.INFO: TCP Data received {"connection_id":145292,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145292,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:41:00] local.INFO: Processing buffer {"connection_id":145292,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:41:00] local.INFO: IMEI packet received {"connection_id":145292,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 13:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":145292,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 13:41:05] local.INFO: TCP Data received {"connection_id":145292,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145292,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:41:05] local.INFO: Processing buffer {"connection_id":145292,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:41:05] local.INFO: IMEI packet received {"connection_id":145292,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 13:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":145292,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:41:06] local.INFO: TCP Data received {"connection_id":145292,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa29c40a8012d195c40072012b0003d00ac26..."} 
[2026-07-27 13:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa29c40a8012d195c40072012b0003d00ac26..."} 
[2026-07-27 13:41:06] local.INFO: Processing buffer {"connection_id":145292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa29c40a8012d195c40072012b0003d00ac26..."} 
[2026-07-27 13:41:06] local.INFO: Packet analysis {"connection_id":145292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa29c"} 
[2026-07-27 13:41:06] local.INFO: Extracted packet for processing {"connection_id":145292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa29c"} 
[2026-07-27 13:41:06] local.INFO: GPS Element Parsed {"raw_longitude":756636736,"raw_latitude":119542448,"longitude_deg":75.6636736,"latitude_deg":11.9542448,"altitude":61,"angle":172,"satellites":38,"speed":0,"hex_longitude":"2d195c40","hex_latitude":"072012b0","is_valid_coordinates":true} 
[2026-07-27 13:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:41:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995726336001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:41:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8870765323616256,"note":"Value kept but may cause issues"} 
[2026-07-27 13:41:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827405948152623104,"note":"Value kept but may cause issues"} 
[2026-07-27 13:41:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:41:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785139577000,"timestamp_ms":1785139577000,"timestamp_seconds":1785139577,"priority":1,"record_length":96,"hex_timestamp":"0000019fa29c40a8"} 
[2026-07-27 13:41:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:41:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-27 13:41:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:41:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:41:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:41:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:41:06] local.INFO: Teltonika packet parsed successfully {"connection_id":145292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:41:06] local.INFO: Passing IMEI to GPS processor {"connection_id":145292,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:41:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":145292,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:41:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:41:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 13:41:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 13:41:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995726336001,"66":13102,"121":206,"28":31744,"24":0,"16":8870765323616256,"45":1827405948152623104},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 13:41:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 13:41:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 13:41:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995726336001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:41:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 13:41:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 13:41:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8870765323616256,"km_value":8870765323616.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:41:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827405948152623104,"description":"Unknown IO ID 45"} 
[2026-07-27 13:41:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995726336001,"power":13102,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1827405948152623104}} 
[2026-07-27 13:41:06] local.INFO: DEBUG: GPS processor result {"connection_id":145292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553333,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:41:06] local.INFO: GPS data processed {"connection_id":145292,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:41:06] local.INFO: Acknowledgment sent {"connection_id":145292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:41:33] local.INFO: TCP Data received {"connection_id":143011,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:41:33] local.INFO: Processing buffer {"connection_id":143011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:41:33] local.INFO: IMEI packet received {"connection_id":143011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 13:41:33] local.INFO: IMEI acknowledgment sent {"connection_id":143011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 13:41:37] local.INFO: TCP Data received {"connection_id":143011,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:41:37] local.INFO: Processing buffer {"connection_id":143011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:41:37] local.INFO: IMEI packet received {"connection_id":143011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 13:41:37] local.INFO: IMEI acknowledgment sent {"connection_id":143011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:41:38] local.INFO: TCP Data received {"connection_id":143011,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa29fb378012d843e4005a3ffc0000b00722e..."} 
[2026-07-27 13:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143011,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa29fb378012d843e4005a3ffc0000b00722e..."} 
[2026-07-27 13:41:38] local.INFO: Processing buffer {"connection_id":143011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa29fb378012d843e4005a3ffc0000b00722e..."} 
[2026-07-27 13:41:38] local.INFO: Packet analysis {"connection_id":143011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa29f"} 
[2026-07-27 13:41:38] local.INFO: Extracted packet for processing {"connection_id":143011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa29f"} 
[2026-07-27 13:41:38] local.INFO: GPS Element Parsed {"raw_longitude":763641408,"raw_latitude":94633920,"longitude_deg":76.3641408,"latitude_deg":9.463392,"altitude":11,"angle":114,"satellites":46,"speed":41,"hex_longitude":"2d843e40","hex_latitude":"05a3ffc0","is_valid_coordinates":true} 
[2026-07-27 13:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:41:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995787520001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:41:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358883047732412416,"note":"Value kept but may cause issues"} 
[2026-07-27 13:41:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8927401074616094720,"note":"Value kept but may cause issues"} 
[2026-07-27 13:41:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:41:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785139803000,"timestamp_ms":1785139803000,"timestamp_seconds":1785139803,"priority":1,"record_length":96,"hex_timestamp":"0000019fa29fb378"} 
[2026-07-27 13:41:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:41:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-27 13:41:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:41:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:41:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:41:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:41:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:41:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:41:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:41:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:41:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 13:41:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 13:41:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995787520001,"66":27832,"153":206,"85":14592,"24":41,"16":358883047732412416,"45":-8927401074616094720},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,85,24,16,45]} 
[2026-07-27 13:41:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 13:41:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 13:41:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995787520001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:41:38] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-27 13:41:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-27 13:41:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358883047732412416,"km_value":358883047732412.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:41:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8927401074616094720,"description":"Unknown IO ID 45"} 
[2026-07-27 13:41:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995787520001,"power":27832,"unknown_153":206,"unknown_85":14592,"ignition":41,"odometer":null,"unknown_45":-8927401074616094720}} 
[2026-07-27 13:41:38] local.INFO: DEBUG: GPS processor result {"connection_id":143011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:41:38] local.INFO: GPS data processed {"connection_id":143011,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:41:38] local.INFO: Acknowledgment sent {"connection_id":143011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:41:38] local.INFO: TCP Data received {"connection_id":145292,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa29fc700012d195c40072012b0003d00ac25..."} 
[2026-07-27 13:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa29fc700012d195c40072012b0003d00ac25..."} 
[2026-07-27 13:41:38] local.INFO: Processing buffer {"connection_id":145292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa29fc700012d195c40072012b0003d00ac25..."} 
[2026-07-27 13:41:38] local.INFO: Packet analysis {"connection_id":145292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa29f"} 
[2026-07-27 13:41:38] local.INFO: Extracted packet for processing {"connection_id":145292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa29f"} 
[2026-07-27 13:41:38] local.INFO: GPS Element Parsed {"raw_longitude":756636736,"raw_latitude":119542448,"longitude_deg":75.6636736,"latitude_deg":11.9542448,"altitude":61,"angle":172,"satellites":37,"speed":0,"hex_longitude":"2d195c40","hex_latitude":"072012b0","is_valid_coordinates":true} 
[2026-07-27 13:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:41:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995785472001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:41:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8870765323616256,"note":"Value kept but may cause issues"} 
[2026-07-27 13:41:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827405948152623104,"note":"Value kept but may cause issues"} 
[2026-07-27 13:41:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:41:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785139808000,"timestamp_ms":1785139808000,"timestamp_seconds":1785139808,"priority":1,"record_length":96,"hex_timestamp":"0000019fa29fc700"} 
[2026-07-27 13:41:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:41:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-27 13:41:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:41:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:41:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:41:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:41:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:41:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145292,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:41:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145292,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:41:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:41:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 13:41:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 13:41:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995785472001,"66":12841,"121":206,"28":31744,"24":0,"16":8870765323616256,"45":1827405948152623104},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 13:41:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 13:41:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 13:41:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995785472001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:41:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 13:41:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 13:41:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8870765323616256,"km_value":8870765323616.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:41:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827405948152623104,"description":"Unknown IO ID 45"} 
[2026-07-27 13:41:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995785472001,"power":12841,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1827405948152623104}} 
[2026-07-27 13:41:38] local.INFO: DEBUG: GPS processor result {"connection_id":145292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553335,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:41:38] local.INFO: GPS data processed {"connection_id":145292,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:41:38] local.INFO: Acknowledgment sent {"connection_id":145292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:42:00] local.INFO: TCP Data received {"connection_id":145293,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145293,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:42:00] local.INFO: Processing buffer {"connection_id":145293,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:42:00] local.INFO: IMEI packet received {"connection_id":145293,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 13:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":145293,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 13:42:05] local.INFO: TCP Data received {"connection_id":145293,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145293,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:42:05] local.INFO: Processing buffer {"connection_id":145293,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:42:05] local.INFO: IMEI packet received {"connection_id":145293,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 13:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":145293,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:42:06] local.INFO: TCP Data received {"connection_id":145293,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2a01908012d195c40072012b0003d00ac29..."} 
[2026-07-27 13:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145293,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2a01908012d195c40072012b0003d00ac29..."} 
[2026-07-27 13:42:06] local.INFO: Processing buffer {"connection_id":145293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2a01908012d195c40072012b0003d00ac29..."} 
[2026-07-27 13:42:06] local.INFO: Packet analysis {"connection_id":145293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2a0"} 
[2026-07-27 13:42:06] local.INFO: Extracted packet for processing {"connection_id":145293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2a0"} 
[2026-07-27 13:42:06] local.INFO: GPS Element Parsed {"raw_longitude":756636736,"raw_latitude":119542448,"longitude_deg":75.6636736,"latitude_deg":11.9542448,"altitude":61,"angle":172,"satellites":41,"speed":0,"hex_longitude":"2d195c40","hex_latitude":"072012b0","is_valid_coordinates":true} 
[2026-07-27 13:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:42:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995790848001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:42:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8870765323616256,"note":"Value kept but may cause issues"} 
[2026-07-27 13:42:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827405948152623104,"note":"Value kept but may cause issues"} 
[2026-07-27 13:42:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:42:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785139829000,"timestamp_ms":1785139829000,"timestamp_seconds":1785139829,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2a01908"} 
[2026-07-27 13:42:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:42:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-27 13:42:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:42:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:42:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:42:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:42:06] local.INFO: Teltonika packet parsed successfully {"connection_id":145293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:42:06] local.INFO: Passing IMEI to GPS processor {"connection_id":145293,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:42:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":145293,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:42:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:42:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 13:42:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 13:42:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995790848001,"66":12439,"121":206,"28":31744,"24":0,"16":8870765323616256,"45":1827405948152623104},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 13:42:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 13:42:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 13:42:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995790848001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:42:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 13:42:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 13:42:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8870765323616256,"km_value":8870765323616.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:42:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827405948152623104,"description":"Unknown IO ID 45"} 
[2026-07-27 13:42:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995790848001,"power":12439,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1827405948152623104}} 
[2026-07-27 13:42:06] local.INFO: DEBUG: GPS processor result {"connection_id":145293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553336,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:42:06] local.INFO: GPS data processed {"connection_id":145293,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:42:06] local.INFO: Acknowledgment sent {"connection_id":145293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:42:14] local.INFO: TCP Data received {"connection_id":143011,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa29fee10012d84610005a3ef98000800732e..."} 
[2026-07-27 13:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143011,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa29fee10012d84610005a3ef98000800732e..."} 
[2026-07-27 13:42:14] local.INFO: Processing buffer {"connection_id":143011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa29fee10012d84610005a3ef98000800732e..."} 
[2026-07-27 13:42:14] local.INFO: Packet analysis {"connection_id":143011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa29f"} 
[2026-07-27 13:42:14] local.INFO: Extracted packet for processing {"connection_id":143011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa29f"} 
[2026-07-27 13:42:14] local.INFO: GPS Element Parsed {"raw_longitude":763650304,"raw_latitude":94629784,"longitude_deg":76.3650304,"latitude_deg":9.4629784,"altitude":8,"angle":115,"satellites":46,"speed":32,"hex_longitude":"2d846100","hex_latitude":"05a3ef98","is_valid_coordinates":true} 
[2026-07-27 13:42:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:42:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995789568001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:42:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358883515883847680,"note":"Value kept but may cause issues"} 
[2026-07-27 13:42:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8917619819176542208,"note":"Value kept but may cause issues"} 
[2026-07-27 13:42:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:42:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785139818000,"timestamp_ms":1785139818000,"timestamp_seconds":1785139818,"priority":1,"record_length":96,"hex_timestamp":"0000019fa29fee10"} 
[2026-07-27 13:42:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:42:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:42:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-27 13:42:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:42:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:42:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:42:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:42:14] local.INFO: Teltonika packet parsed successfully {"connection_id":143011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:42:14] local.INFO: Passing IMEI to GPS processor {"connection_id":143011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:42:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":143011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:42: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-07-27 13:42:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 13:42:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 13:42:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995789568001,"66":27800,"153":206,"85":14592,"24":32,"16":358883515883847680,"45":-8917619819176542208},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,85,24,16,45]} 
[2026-07-27 13:42:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 13:42:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 13:42:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995789568001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:42:14] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-27 13:42:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-27 13:42:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358883515883847680,"km_value":358883515883847.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:42:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8917619819176542208,"description":"Unknown IO ID 45"} 
[2026-07-27 13:42:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995789568001,"power":27800,"unknown_153":206,"unknown_85":14592,"ignition":32,"odometer":null,"unknown_45":-8917619819176542208}} 
[2026-07-27 13:42:14] local.INFO: DEBUG: GPS processor result {"connection_id":143011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:42:14] local.INFO: GPS data processed {"connection_id":143011,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:42:14] local.INFO: Acknowledgment sent {"connection_id":143011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:42:33] local.INFO: TCP Data received {"connection_id":143012,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:42:33] local.INFO: Processing buffer {"connection_id":143012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:42:33] local.INFO: IMEI packet received {"connection_id":143012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 13:42:33] local.INFO: IMEI acknowledgment sent {"connection_id":143012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 13:42:34] local.INFO: TCP Data received {"connection_id":143012,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:42:34] local.INFO: Processing buffer {"connection_id":143012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:42:34] local.INFO: IMEI packet received {"connection_id":143012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 13:42:34] local.INFO: IMEI acknowledgment sent {"connection_id":143012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:42:37] local.INFO: TCP Data received {"connection_id":143012,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:42:37] local.INFO: Processing buffer {"connection_id":143012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:42:37] local.INFO: IMEI packet received {"connection_id":143012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 13:42:37] local.INFO: IMEI acknowledgment sent {"connection_id":143012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:42:37] local.INFO: TCP Data received {"connection_id":143012,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2a11308012d85ce0005a339e8000700762e..."} 
[2026-07-27 13:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2a11308012d85ce0005a339e8000700762e..."} 
[2026-07-27 13:42:37] local.INFO: Processing buffer {"connection_id":143012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2a11308012d85ce0005a339e8000700762e..."} 
[2026-07-27 13:42:37] local.INFO: Packet analysis {"connection_id":143012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2a1"} 
[2026-07-27 13:42:37] local.INFO: Extracted packet for processing {"connection_id":143012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2a1"} 
[2026-07-27 13:42:37] local.INFO: GPS Element Parsed {"raw_longitude":763743744,"raw_latitude":94583272,"longitude_deg":76.3743744,"latitude_deg":9.4583272,"altitude":7,"angle":118,"satellites":46,"speed":59,"hex_longitude":"2d85ce00","hex_latitude":"05a339e8","is_valid_coordinates":true} 
[2026-07-27 13:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995811072001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358888523815714816,"note":"Value kept but may cause issues"} 
[2026-07-27 13:42:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8813896290270603264,"note":"Value kept but may cause issues"} 
[2026-07-27 13:42:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785139893000,"timestamp_ms":1785139893000,"timestamp_seconds":1785139893,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2a11308"} 
[2026-07-27 13:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:42:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-27 13:42:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:42:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:42:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 13:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 13:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995811072001,"66":27800,"153":206,"85":14592,"24":59,"16":358888523815714816,"45":-8813896290270603264},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,85,24,16,45]} 
[2026-07-27 13:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 13:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 13:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995811072001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:42:37] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-27 13:42:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-27 13:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358888523815714816,"km_value":358888523815714.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:42:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8813896290270603264,"description":"Unknown IO ID 45"} 
[2026-07-27 13:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995811072001,"power":27800,"unknown_153":206,"unknown_85":14592,"ignition":59,"odometer":null,"unknown_45":-8813896290270603264}} 
[2026-07-27 13:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":143012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:42:37] local.INFO: GPS data processed {"connection_id":143012,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:42:37] local.INFO: Acknowledgment sent {"connection_id":143012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:42:38] local.INFO: TCP Data received {"connection_id":145293,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2a06b10012d195c40072012b0003d00ac29..."} 
[2026-07-27 13:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145293,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2a06b10012d195c40072012b0003d00ac29..."} 
[2026-07-27 13:42:38] local.INFO: Processing buffer {"connection_id":145293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2a06b10012d195c40072012b0003d00ac29..."} 
[2026-07-27 13:42:38] local.INFO: Packet analysis {"connection_id":145293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2a0"} 
[2026-07-27 13:42:38] local.INFO: Extracted packet for processing {"connection_id":145293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2a0"} 
[2026-07-27 13:42:38] local.INFO: GPS Element Parsed {"raw_longitude":756636736,"raw_latitude":119542448,"longitude_deg":75.6636736,"latitude_deg":11.9542448,"altitude":61,"angle":172,"satellites":41,"speed":0,"hex_longitude":"2d195c40","hex_latitude":"072012b0","is_valid_coordinates":true} 
[2026-07-27 13:42:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:42:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995796224001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:42:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8870765323616256,"note":"Value kept but may cause issues"} 
[2026-07-27 13:42:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827405948152623104,"note":"Value kept but may cause issues"} 
[2026-07-27 13:42:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:42:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785139850000,"timestamp_ms":1785139850000,"timestamp_seconds":1785139850,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2a06b10"} 
[2026-07-27 13:42:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:42:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13: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":151,"data_length":795,"current_offset":136} 
[2026-07-27 13:42:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:42:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:42:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:42:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:42:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:42:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145293,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:42:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145293,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:42:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:42:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 13:42:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 13:42:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995796224001,"66":12178,"121":206,"28":31744,"24":0,"16":8870765323616256,"45":1827405948152623104},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 13:42:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 13:42:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 13:42:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995796224001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:42:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 13:42:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 13:42:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8870765323616256,"km_value":8870765323616.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:42:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827405948152623104,"description":"Unknown IO ID 45"} 
[2026-07-27 13:42:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995796224001,"power":12178,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1827405948152623104}} 
[2026-07-27 13:42:38] local.INFO: DEBUG: GPS processor result {"connection_id":145293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553339,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:42:38] local.INFO: GPS data processed {"connection_id":145293,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:42:38] local.INFO: Acknowledgment sent {"connection_id":145293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:43:00] local.INFO: TCP Data received {"connection_id":143013,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143013,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:43:00] local.INFO: Processing buffer {"connection_id":143013,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:43:00] local.INFO: IMEI packet received {"connection_id":143013,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 13:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":143013,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 13:43:05] local.INFO: TCP Data received {"connection_id":143013,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143013,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:43:05] local.INFO: Processing buffer {"connection_id":143013,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:43:05] local.INFO: IMEI packet received {"connection_id":143013,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 13:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":143013,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:43:06] local.INFO: TCP Data received {"connection_id":143013,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2a0bd18012d195c40072012b0003d00ac27..."} 
[2026-07-27 13:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143013,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2a0bd18012d195c40072012b0003d00ac27..."} 
[2026-07-27 13:43:06] local.INFO: Processing buffer {"connection_id":143013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2a0bd18012d195c40072012b0003d00ac27..."} 
[2026-07-27 13:43:06] local.INFO: Packet analysis {"connection_id":143013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2a0"} 
[2026-07-27 13:43:06] local.INFO: Extracted packet for processing {"connection_id":143013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2a0"} 
[2026-07-27 13:43:06] local.INFO: GPS Element Parsed {"raw_longitude":756636736,"raw_latitude":119542448,"longitude_deg":75.6636736,"latitude_deg":11.9542448,"altitude":61,"angle":172,"satellites":39,"speed":0,"hex_longitude":"2d195c40","hex_latitude":"072012b0","is_valid_coordinates":true} 
[2026-07-27 13:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:43:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995801600001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:43:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8870765323616256,"note":"Value kept but may cause issues"} 
[2026-07-27 13:43:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827405948152623104,"note":"Value kept but may cause issues"} 
[2026-07-27 13:43:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:43:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785139871000,"timestamp_ms":1785139871000,"timestamp_seconds":1785139871,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2a0bd18"} 
[2026-07-27 13:43:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:43:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-27 13:43:06] 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-07-27 13:43:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:43:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:43:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:43:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:43:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:43:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:43:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:43:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 13:43:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 13:43:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995801600001,"66":12798,"121":206,"28":31744,"24":0,"16":8870765323616256,"45":1827405948152623104},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 13:43:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 13:43:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 13:43:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995801600001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:43:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 13:43:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 13:43:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8870765323616256,"km_value":8870765323616.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:43:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827405948152623104,"description":"Unknown IO ID 45"} 
[2026-07-27 13:43:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995801600001,"power":12798,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1827405948152623104}} 
[2026-07-27 13:43:06] local.INFO: DEBUG: GPS processor result {"connection_id":143013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553340,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:43:06] local.INFO: GPS data processed {"connection_id":143013,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:43:06] local.INFO: Acknowledgment sent {"connection_id":143013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:43:09] local.INFO: TCP Data received {"connection_id":143012,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2a13248012d85ed8005a32a40000500752e..."} 
[2026-07-27 13:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2a13248012d85ed8005a32a40000500752e..."} 
[2026-07-27 13:43:09] local.INFO: Processing buffer {"connection_id":143012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2a13248012d85ed8005a32a40000500752e..."} 
[2026-07-27 13:43:09] local.INFO: Packet analysis {"connection_id":143012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2a1"} 
[2026-07-27 13:43:09] local.INFO: Extracted packet for processing {"connection_id":143012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2a1"} 
[2026-07-27 13:43:09] local.INFO: GPS Element Parsed {"raw_longitude":763751808,"raw_latitude":94579264,"longitude_deg":76.3751808,"latitude_deg":9.4579264,"altitude":5,"angle":117,"satellites":46,"speed":41,"hex_longitude":"2d85ed80","hex_latitude":"05a32a40","is_valid_coordinates":true} 
[2026-07-27 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-07-27 13:43:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995812608001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:43:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358888957607411712,"note":"Value kept but may cause issues"} 
[2026-07-27 13:43:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8805100197249423360,"note":"Value kept but may cause issues"} 
[2026-07-27 13:43:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:43:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785139901000,"timestamp_ms":1785139901000,"timestamp_seconds":1785139901,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2a13248"} 
[2026-07-27 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-07-27 13:43:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-27 13:43:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 13:43:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:43:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:43:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:43:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:43: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-07-27 13:43:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 13:43:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 13:43:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995812608001,"66":27832,"153":206,"85":14592,"24":41,"16":358888957607411712,"45":-8805100197249423360},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,85,24,16,45]} 
[2026-07-27 13:43:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 13:43:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 13:43:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995812608001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:43:09] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-27 13:43:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-27 13:43:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358888957607411712,"km_value":358888957607411.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:43:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8805100197249423360,"description":"Unknown IO ID 45"} 
[2026-07-27 13:43:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995812608001,"power":27832,"unknown_153":206,"unknown_85":14592,"ignition":41,"odometer":null,"unknown_45":-8805100197249423360}} 
[2026-07-27 13:43:09] local.INFO: DEBUG: GPS processor result {"connection_id":143012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:43:09] local.INFO: GPS data processed {"connection_id":143012,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:43:09] local.INFO: Acknowledgment sent {"connection_id":143012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:43:37] local.INFO: TCP Data received {"connection_id":143997,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:43:37] local.INFO: Processing buffer {"connection_id":143997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:43:37] local.INFO: IMEI packet received {"connection_id":143997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 13:43:37] local.INFO: IMEI acknowledgment sent {"connection_id":143997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 13:43:38] local.INFO: TCP Data received {"connection_id":143013,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2a10f20012d195c40072012b0003d00ac25..."} 
[2026-07-27 13:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143013,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2a10f20012d195c40072012b0003d00ac25..."} 
[2026-07-27 13:43:38] local.INFO: Processing buffer {"connection_id":143013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2a10f20012d195c40072012b0003d00ac25..."} 
[2026-07-27 13:43:38] local.INFO: Packet analysis {"connection_id":143013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2a1"} 
[2026-07-27 13:43:38] local.INFO: Extracted packet for processing {"connection_id":143013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2a1"} 
[2026-07-27 13:43:38] local.INFO: GPS Element Parsed {"raw_longitude":756636736,"raw_latitude":119542448,"longitude_deg":75.6636736,"latitude_deg":11.9542448,"altitude":61,"angle":172,"satellites":37,"speed":0,"hex_longitude":"2d195c40","hex_latitude":"072012b0","is_valid_coordinates":true} 
[2026-07-27 13:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:43:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995806976001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:43:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8870765323616256,"note":"Value kept but may cause issues"} 
[2026-07-27 13:43:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827405948152623104,"note":"Value kept but may cause issues"} 
[2026-07-27 13:43:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:43:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785139892000,"timestamp_ms":1785139892000,"timestamp_seconds":1785139892,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2a10f20"} 
[2026-07-27 13:43:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:43:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-27 13:43:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:43:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:43:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:43:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:43:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:43:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:43:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:43:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:43:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 13:43:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 13:43:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995806976001,"66":12776,"121":206,"28":31744,"24":0,"16":8870765323616256,"45":1827405948152623104},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 13:43:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 13:43:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 13:43:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995806976001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:43:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 13:43:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 13:43:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8870765323616256,"km_value":8870765323616.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:43:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827405948152623104,"description":"Unknown IO ID 45"} 
[2026-07-27 13:43:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995806976001,"power":12776,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1827405948152623104}} 
[2026-07-27 13:43:38] local.INFO: DEBUG: GPS processor result {"connection_id":143013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553342,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:43:38] local.INFO: GPS data processed {"connection_id":143013,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:43:38] local.INFO: Acknowledgment sent {"connection_id":143013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:43:40] local.INFO: TCP Data received {"connection_id":143997,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:43:40] local.INFO: Processing buffer {"connection_id":143997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:43:40] local.INFO: IMEI packet received {"connection_id":143997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 13:43:40] local.INFO: IMEI acknowledgment sent {"connection_id":143997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:43:41] local.INFO: TCP Data received {"connection_id":143997,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2a15188012d860d4005a31ae0000600752e..."} 
[2026-07-27 13:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2a15188012d860d4005a31ae0000600752e..."} 
[2026-07-27 13:43:41] local.INFO: Processing buffer {"connection_id":143997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2a15188012d860d4005a31ae0000600752e..."} 
[2026-07-27 13:43:41] local.INFO: Packet analysis {"connection_id":143997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2a1"} 
[2026-07-27 13:43:41] local.INFO: Extracted packet for processing {"connection_id":143997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2a1"} 
[2026-07-27 13:43:41] local.INFO: GPS Element Parsed {"raw_longitude":763759936,"raw_latitude":94575328,"longitude_deg":76.3759936,"latitude_deg":9.4575328,"altitude":6,"angle":117,"satellites":46,"speed":48,"hex_longitude":"2d860d40","hex_latitude":"05a31ae0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 13:43:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995814656001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:43:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358889387104141312,"note":"Value kept but may cause issues"} 
[2026-07-27 13:43:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8796233735484063744,"note":"Value kept but may cause issues"} 
[2026-07-27 13:43:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:43:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785139909000,"timestamp_ms":1785139909000,"timestamp_seconds":1785139909,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2a15188"} 
[2026-07-27 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-07-27 13:43:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-27 13:43:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 13:43:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:43:41] local.INFO: Teltonika packet parsed successfully {"connection_id":143997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:43:41] local.INFO: Passing IMEI to GPS processor {"connection_id":143997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:43:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":143997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:43: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-07-27 13:43:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 13:43:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 13:43:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995814656001,"66":27919,"153":206,"85":14592,"24":48,"16":358889387104141312,"45":-8796233735484063744},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,85,24,16,45]} 
[2026-07-27 13:43:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 13:43:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 13:43:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995814656001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:43:41] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-27 13:43:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-27 13:43:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358889387104141312,"km_value":358889387104141.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:43:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8796233735484063744,"description":"Unknown IO ID 45"} 
[2026-07-27 13:43:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995814656001,"power":27919,"unknown_153":206,"unknown_85":14592,"ignition":48,"odometer":null,"unknown_45":-8796233735484063744}} 
[2026-07-27 13:43:41] local.INFO: DEBUG: GPS processor result {"connection_id":143997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:43:41] local.INFO: GPS data processed {"connection_id":143997,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:43:41] local.INFO: Acknowledgment sent {"connection_id":143997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:44:05] local.INFO: TCP Data received {"connection_id":143998,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143998,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:44:05] local.INFO: Processing buffer {"connection_id":143998,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:44:05] local.INFO: IMEI packet received {"connection_id":143998,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 13:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":143998,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 13:44:05] local.INFO: TCP Data received {"connection_id":143998,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143998,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:44:05] local.INFO: Processing buffer {"connection_id":143998,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:44:05] local.INFO: IMEI packet received {"connection_id":143998,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 13:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":143998,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:44:06] local.INFO: TCP Data received {"connection_id":143998,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2a16128012d195c40072012b0003d00ac24..."} 
[2026-07-27 13:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2a16128012d195c40072012b0003d00ac24..."} 
[2026-07-27 13:44:06] local.INFO: Processing buffer {"connection_id":143998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2a16128012d195c40072012b0003d00ac24..."} 
[2026-07-27 13:44:06] local.INFO: Packet analysis {"connection_id":143998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2a1"} 
[2026-07-27 13:44:06] local.INFO: Extracted packet for processing {"connection_id":143998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2a1"} 
[2026-07-27 13:44:06] local.INFO: GPS Element Parsed {"raw_longitude":756636736,"raw_latitude":119542448,"longitude_deg":75.6636736,"latitude_deg":11.9542448,"altitude":61,"angle":172,"satellites":36,"speed":0,"hex_longitude":"2d195c40","hex_latitude":"072012b0","is_valid_coordinates":true} 
[2026-07-27 13:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:44:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995812352001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:44:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8870765323616256,"note":"Value kept but may cause issues"} 
[2026-07-27 13:44:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827405948152623104,"note":"Value kept but may cause issues"} 
[2026-07-27 13:44:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:44:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785139913000,"timestamp_ms":1785139913000,"timestamp_seconds":1785139913,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2a16128"} 
[2026-07-27 13:44:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:44:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-27 13:44:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:44:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:44:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:44:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:44:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:44:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143998,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:44:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143998,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:44:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:44:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 13:44:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 13:44:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995812352001,"66":12765,"121":206,"28":31744,"24":0,"16":8870765323616256,"45":1827405948152623104},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 13:44:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 13:44:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 13:44:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995812352001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:44:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 13:44:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 13:44:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8870765323616256,"km_value":8870765323616.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:44:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827405948152623104,"description":"Unknown IO ID 45"} 
[2026-07-27 13:44:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995812352001,"power":12765,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1827405948152623104}} 
[2026-07-27 13:44:07] local.INFO: DEBUG: GPS processor result {"connection_id":143998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553344,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:44:07] local.INFO: GPS data processed {"connection_id":143998,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:44:07] local.INFO: Acknowledgment sent {"connection_id":143998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:44:11] local.INFO: TCP Data received {"connection_id":143998,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2a1b330012d195c40072012b0003d00ac26..."} 
[2026-07-27 13:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2a1b330012d195c40072012b0003d00ac26..."} 
[2026-07-27 13:44:11] local.INFO: Processing buffer {"connection_id":143998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2a1b330012d195c40072012b0003d00ac26..."} 
[2026-07-27 13:44:11] local.INFO: Packet analysis {"connection_id":143998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2a1"} 
[2026-07-27 13:44:11] local.INFO: Extracted packet for processing {"connection_id":143998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2a1"} 
[2026-07-27 13:44:11] local.INFO: GPS Element Parsed {"raw_longitude":756636736,"raw_latitude":119542448,"longitude_deg":75.6636736,"latitude_deg":11.9542448,"altitude":61,"angle":172,"satellites":38,"speed":0,"hex_longitude":"2d195c40","hex_latitude":"072012b0","is_valid_coordinates":true} 
[2026-07-27 13:44:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:44:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995817728001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:44:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8870765323616256,"note":"Value kept but may cause issues"} 
[2026-07-27 13:44:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827405948152623104,"note":"Value kept but may cause issues"} 
[2026-07-27 13:44:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:44:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785139934000,"timestamp_ms":1785139934000,"timestamp_seconds":1785139934,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2a1b330"} 
[2026-07-27 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-07-27 13:44:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-27 13:44:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 13:44:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:44:11] local.INFO: Teltonika packet parsed successfully {"connection_id":143998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:44:11] local.INFO: Passing IMEI to GPS processor {"connection_id":143998,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:44:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":143998,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:44:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:44:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 13:44:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 13:44:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995817728001,"66":12743,"121":206,"28":31744,"24":0,"16":8870765323616256,"45":1827405948152623104},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 13:44:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 13:44:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 13:44:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995817728001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:44:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 13:44:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 13:44:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8870765323616256,"km_value":8870765323616.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:44:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827405948152623104,"description":"Unknown IO ID 45"} 
[2026-07-27 13:44:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995817728001,"power":12743,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1827405948152623104}} 
[2026-07-27 13:44:11] local.INFO: DEBUG: GPS processor result {"connection_id":143998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553345,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:44:11] local.INFO: GPS data processed {"connection_id":143998,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:44:11] local.INFO: Acknowledgment sent {"connection_id":143998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:44:13] local.INFO: TCP Data received {"connection_id":143997,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2a2b118012d879c8005a25328000500742e..."} 
[2026-07-27 13:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2a2b118012d879c8005a25328000500742e..."} 
[2026-07-27 13:44:13] local.INFO: Processing buffer {"connection_id":143997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2a2b118012d879c8005a25328000500742e..."} 
[2026-07-27 13:44:13] local.INFO: Packet analysis {"connection_id":143997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2a2"} 
[2026-07-27 13:44:13] local.INFO: Extracted packet for processing {"connection_id":143997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2a2"} 
[2026-07-27 13:44:13] local.INFO: GPS Element Parsed {"raw_longitude":763862144,"raw_latitude":94524200,"longitude_deg":76.3862144,"latitude_deg":9.45242,"altitude":5,"angle":116,"satellites":46,"speed":43,"hex_longitude":"2d879c80","hex_latitude":"05a25328","is_valid_coordinates":true} 
[2026-07-27 13:44:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:44:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995837440001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:44:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358894871777378304,"note":"Value kept but may cause issues"} 
[2026-07-27 13:44:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8683643744812832768,"note":"Value kept but may cause issues"} 
[2026-07-27 13:44:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,151,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:44:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785139999000,"timestamp_ms":1785139999000,"timestamp_seconds":1785139999,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2a2b118"} 
[2026-07-27 13:44:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:44:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-27 13:44:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:44:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:44:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:44:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:44:13] local.INFO: Teltonika packet parsed successfully {"connection_id":143997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:44:13] local.INFO: Passing IMEI to GPS processor {"connection_id":143997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:44:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":143997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:44:13] 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-07-27 13:44:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 13:44:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 13:44:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995837440001,"66":27865,"151":206,"85":14592,"24":43,"16":358894871777378304,"45":-8683643744812832768},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,151,85,24,16,45]} 
[2026-07-27 13:44:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 13:44:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 13:44:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995837440001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:44:13] local.INFO: Unknown IO ID detected {"io_id":151,"value":206,"description":"Unknown IO ID 151"} 
[2026-07-27 13:44:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-27 13:44:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358894871777378304,"km_value":358894871777378.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:44:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8683643744812832768,"description":"Unknown IO ID 45"} 
[2026-07-27 13:44:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995837440001,"power":27865,"unknown_151":206,"unknown_85":14592,"ignition":43,"odometer":null,"unknown_45":-8683643744812832768}} 
[2026-07-27 13:44:13] local.INFO: DEBUG: GPS processor result {"connection_id":143997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:44:13] local.INFO: GPS data processed {"connection_id":143997,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:44:13] local.INFO: Acknowledgment sent {"connection_id":143997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:44:32] local.INFO: TCP Data received {"connection_id":145294,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:44:32] local.INFO: Processing buffer {"connection_id":145294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:44:32] local.INFO: IMEI packet received {"connection_id":145294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 13:44:32] local.INFO: IMEI acknowledgment sent {"connection_id":145294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 13:44:33] local.INFO: TCP Data received {"connection_id":145294,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:44:33] local.INFO: Processing buffer {"connection_id":145294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:44:33] local.INFO: IMEI packet received {"connection_id":145294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 13:44:33] local.INFO: IMEI acknowledgment sent {"connection_id":145294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:44:37] local.INFO: TCP Data received {"connection_id":145294,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:44:37] local.INFO: Processing buffer {"connection_id":145294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:44:37] local.INFO: IMEI packet received {"connection_id":145294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 13:44:37] local.INFO: IMEI acknowledgment sent {"connection_id":145294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:44:37] local.INFO: TCP Data received {"connection_id":145294,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2a2d058012d87be8005a24370000500722e..."} 
[2026-07-27 13:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2a2d058012d87be8005a24370000500722e..."} 
[2026-07-27 13:44:37] local.INFO: Processing buffer {"connection_id":145294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2a2d058012d87be8005a24370000500722e..."} 
[2026-07-27 13:44:37] local.INFO: Packet analysis {"connection_id":145294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2a2"} 
[2026-07-27 13:44:37] local.INFO: Extracted packet for processing {"connection_id":145294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2a2"} 
[2026-07-27 13:44:37] local.INFO: GPS Element Parsed {"raw_longitude":763870848,"raw_latitude":94520176,"longitude_deg":76.3870848,"latitude_deg":9.4520176,"altitude":5,"angle":114,"satellites":46,"speed":49,"hex_longitude":"2d87be80","hex_latitude":"05a24370","is_valid_coordinates":true} 
[2026-07-27 13:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:44:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995839744001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:44:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358895331338878976,"note":"Value kept but may cause issues"} 
[2026-07-27 13:44:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8674918020535867392,"note":"Value kept but may cause issues"} 
[2026-07-27 13:44:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,151,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:44:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785140007000,"timestamp_ms":1785140007000,"timestamp_seconds":1785140007,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2a2d058"} 
[2026-07-27 13:44:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:44:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-27 13:44:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:44:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:44:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:44:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:44:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:44:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:44:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:44:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:44:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 13:44:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 13:44:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995839744001,"66":27919,"151":206,"85":14592,"24":49,"16":358895331338878976,"45":-8674918020535867392},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,151,85,24,16,45]} 
[2026-07-27 13:44:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 13:44:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 13:44:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995839744001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:44:37] local.INFO: Unknown IO ID detected {"io_id":151,"value":206,"description":"Unknown IO ID 151"} 
[2026-07-27 13:44:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-27 13:44:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358895331338878976,"km_value":358895331338879.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:44:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8674918020535867392,"description":"Unknown IO ID 45"} 
[2026-07-27 13:44:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995839744001,"power":27919,"unknown_151":206,"unknown_85":14592,"ignition":49,"odometer":null,"unknown_45":-8674918020535867392}} 
[2026-07-27 13:44:37] local.INFO: DEBUG: GPS processor result {"connection_id":145294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:44:37] local.INFO: GPS data processed {"connection_id":145294,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:44:37] local.INFO: Acknowledgment sent {"connection_id":145294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:44:42] local.INFO: TCP Data received {"connection_id":143998,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2a20538012d195c40072012b0003d00ac27..."} 
[2026-07-27 13:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2a20538012d195c40072012b0003d00ac27..."} 
[2026-07-27 13:44:42] local.INFO: Processing buffer {"connection_id":143998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2a20538012d195c40072012b0003d00ac27..."} 
[2026-07-27 13:44:42] local.INFO: Packet analysis {"connection_id":143998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2a2"} 
[2026-07-27 13:44:42] local.INFO: Extracted packet for processing {"connection_id":143998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2a2"} 
[2026-07-27 13:44:42] local.INFO: GPS Element Parsed {"raw_longitude":756636736,"raw_latitude":119542448,"longitude_deg":75.6636736,"latitude_deg":11.9542448,"altitude":61,"angle":172,"satellites":39,"speed":0,"hex_longitude":"2d195c40","hex_latitude":"072012b0","is_valid_coordinates":true} 
[2026-07-27 13:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:44:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995823104001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:44:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8870765323616256,"note":"Value kept but may cause issues"} 
[2026-07-27 13:44:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827405948152623104,"note":"Value kept but may cause issues"} 
[2026-07-27 13:44:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:44:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785139955000,"timestamp_ms":1785139955000,"timestamp_seconds":1785139955,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2a20538"} 
[2026-07-27 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-07-27 13:44:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-07-27 13:44:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 13:44:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:44:42] local.INFO: Teltonika packet parsed successfully {"connection_id":143998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:44:42] local.INFO: Passing IMEI to GPS processor {"connection_id":143998,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:44:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":143998,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:44:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:44:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 13:44:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 13:44:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995823104001,"66":12722,"121":206,"28":31744,"24":0,"16":8870765323616256,"45":1827405948152623104},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 13:44:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 13:44:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 13:44:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995823104001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:44:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 13:44:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 13:44:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8870765323616256,"km_value":8870765323616.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:44:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827405948152623104,"description":"Unknown IO ID 45"} 
[2026-07-27 13:44:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995823104001,"power":12722,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1827405948152623104}} 
[2026-07-27 13:44:42] local.INFO: DEBUG: GPS processor result {"connection_id":143998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553348,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:44:42] local.INFO: GPS data processed {"connection_id":143998,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:44:42] local.INFO: Acknowledgment sent {"connection_id":143998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:45:00] local.INFO: TCP Data received {"connection_id":143014,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143014,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:45:00] local.INFO: Processing buffer {"connection_id":143014,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:45:00] local.INFO: IMEI packet received {"connection_id":143014,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 13:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":143014,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 13:45:05] local.INFO: TCP Data received {"connection_id":143014,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143014,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:45:05] local.INFO: Processing buffer {"connection_id":143014,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:45:05] local.INFO: IMEI packet received {"connection_id":143014,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 13:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":143014,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:45:06] local.INFO: TCP Data received {"connection_id":143014,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2a25740012d195c40072012b0003d00ac26..."} 
[2026-07-27 13:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2a25740012d195c40072012b0003d00ac26..."} 
[2026-07-27 13:45:06] local.INFO: Processing buffer {"connection_id":143014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2a25740012d195c40072012b0003d00ac26..."} 
[2026-07-27 13:45:06] local.INFO: Packet analysis {"connection_id":143014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2a2"} 
[2026-07-27 13:45:06] local.INFO: Extracted packet for processing {"connection_id":143014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2a2"} 
[2026-07-27 13:45:06] local.INFO: GPS Element Parsed {"raw_longitude":756636736,"raw_latitude":119542448,"longitude_deg":75.6636736,"latitude_deg":11.9542448,"altitude":61,"angle":172,"satellites":38,"speed":0,"hex_longitude":"2d195c40","hex_latitude":"072012b0","is_valid_coordinates":true} 
[2026-07-27 13:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:45:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995828480001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:45:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8870765323616256,"note":"Value kept but may cause issues"} 
[2026-07-27 13:45:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827405948152623104,"note":"Value kept but may cause issues"} 
[2026-07-27 13:45:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:45:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785139976000,"timestamp_ms":1785139976000,"timestamp_seconds":1785139976,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2a25740"} 
[2026-07-27 13:45:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:45:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-27 13:45:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:45:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:45:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:45:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:45:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:45:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143014,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:45:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143014,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:45:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:45:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 13:45:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 13:45:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995828480001,"66":12722,"121":206,"28":31744,"24":0,"16":8870765323616256,"45":1827405948152623104},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 13:45:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 13:45:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 13:45:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995828480001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:45:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 13:45:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 13:45:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8870765323616256,"km_value":8870765323616.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:45:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827405948152623104,"description":"Unknown IO ID 45"} 
[2026-07-27 13:45:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995828480001,"power":12722,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1827405948152623104}} 
[2026-07-27 13:45:06] local.INFO: DEBUG: GPS processor result {"connection_id":143014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553349,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:45:06] local.INFO: GPS data processed {"connection_id":143014,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:45:06] local.INFO: Acknowledgment sent {"connection_id":143014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:45:09] local.INFO: TCP Data received {"connection_id":145294,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2a2ebb0012d87df8005a23330000500742e..."} 
[2026-07-27 13:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2a2ebb0012d87df8005a23330000500742e..."} 
[2026-07-27 13:45:09] local.INFO: Processing buffer {"connection_id":145294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2a2ebb0012d87df8005a23330000500742e..."} 
[2026-07-27 13:45:09] local.INFO: Packet analysis {"connection_id":145294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2a2"} 
[2026-07-27 13:45:09] local.INFO: Extracted packet for processing {"connection_id":145294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2a2"} 
[2026-07-27 13:45:09] local.INFO: GPS Element Parsed {"raw_longitude":763879296,"raw_latitude":94516016,"longitude_deg":76.3879296,"latitude_deg":9.4516016,"altitude":5,"angle":116,"satellites":46,"speed":55,"hex_longitude":"2d87df80","hex_latitude":"05a23330","is_valid_coordinates":true} 
[2026-07-27 13:45:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:45:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995841792001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:45:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358895782310445056,"note":"Value kept but may cause issues"} 
[2026-07-27 13:45:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8665347871328735232,"note":"Value kept but may cause issues"} 
[2026-07-27 13:45:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:45:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785140014000,"timestamp_ms":1785140014000,"timestamp_seconds":1785140014,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2a2ebb0"} 
[2026-07-27 13:45:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:45:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:45:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-27 13:45:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:45:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:45:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:45:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:45:09] local.INFO: Teltonika packet parsed successfully {"connection_id":145294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:45:09] local.INFO: Passing IMEI to GPS processor {"connection_id":145294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:45:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":145294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:45: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-07-27 13:45:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 13:45:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 13:45:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995841792001,"66":28050,"53":206,"85":14592,"24":55,"16":358895782310445056,"45":-8665347871328735232},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-07-27 13:45:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 13:45:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 13:45:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995841792001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:45:09] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-07-27 13:45:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-27 13:45:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358895782310445056,"km_value":358895782310445.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:45:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8665347871328735232,"description":"Unknown IO ID 45"} 
[2026-07-27 13:45:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995841792001,"power":28050,"unknown_53":206,"unknown_85":14592,"ignition":55,"odometer":null,"unknown_45":-8665347871328735232}} 
[2026-07-27 13:45:09] local.INFO: DEBUG: GPS processor result {"connection_id":145294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:45:09] local.INFO: GPS data processed {"connection_id":145294,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:45:09] local.INFO: Acknowledgment sent {"connection_id":145294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:45:32] local.INFO: TCP Data received {"connection_id":145295,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:45:32] local.INFO: Processing buffer {"connection_id":145295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:45:32] local.INFO: IMEI packet received {"connection_id":145295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 13:45:32] local.INFO: IMEI acknowledgment sent {"connection_id":145295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 13:45:32] local.INFO: TCP Data received {"connection_id":145295,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:45:32] local.INFO: Processing buffer {"connection_id":145295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:45:32] local.INFO: IMEI packet received {"connection_id":145295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 13:45:32] local.INFO: IMEI acknowledgment sent {"connection_id":145295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:45:37] local.INFO: TCP Data received {"connection_id":145295,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:45:37] local.INFO: Processing buffer {"connection_id":145295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:45:37] local.INFO: IMEI packet received {"connection_id":145295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 13:45:37] local.INFO: IMEI acknowledgment sent {"connection_id":145295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:45:38] local.INFO: TCP Data received {"connection_id":143014,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2a2a948012d195c40072012b0003d00ac28..."} 
[2026-07-27 13:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2a2a948012d195c40072012b0003d00ac28..."} 
[2026-07-27 13:45:38] local.INFO: Processing buffer {"connection_id":143014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2a2a948012d195c40072012b0003d00ac28..."} 
[2026-07-27 13:45:38] local.INFO: Packet analysis {"connection_id":143014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2a2"} 
[2026-07-27 13:45:38] local.INFO: Extracted packet for processing {"connection_id":143014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2a2"} 
[2026-07-27 13:45:38] local.INFO: GPS Element Parsed {"raw_longitude":756636736,"raw_latitude":119542448,"longitude_deg":75.6636736,"latitude_deg":11.9542448,"altitude":61,"angle":172,"satellites":40,"speed":0,"hex_longitude":"2d195c40","hex_latitude":"072012b0","is_valid_coordinates":true} 
[2026-07-27 13:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:45:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995833856001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:45:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8870765323616256,"note":"Value kept but may cause issues"} 
[2026-07-27 13:45:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827405948152623104,"note":"Value kept but may cause issues"} 
[2026-07-27 13:45:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:45:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785139997000,"timestamp_ms":1785139997000,"timestamp_seconds":1785139997,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2a2a948"} 
[2026-07-27 13:45:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:45:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-27 13:45:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:45:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:45:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:45:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:45:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:45:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143014,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:45:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143014,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:45:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:45:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 13:45:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 13:45:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995833856001,"66":12645,"121":206,"28":31744,"24":0,"16":8870765323616256,"45":1827405948152623104},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 13:45:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 13:45:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 13:45:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995833856001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:45:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 13:45:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 13:45:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8870765323616256,"km_value":8870765323616.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:45:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827405948152623104,"description":"Unknown IO ID 45"} 
[2026-07-27 13:45:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995833856001,"power":12645,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1827405948152623104}} 
[2026-07-27 13:45:38] local.INFO: DEBUG: GPS processor result {"connection_id":143014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553351,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:45:38] local.INFO: GPS data processed {"connection_id":143014,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:45:38] local.INFO: Acknowledgment sent {"connection_id":143014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:45:38] local.INFO: TCP Data received {"connection_id":145295,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2a30708012d8802c005a221e8000600742e..."} 
[2026-07-27 13:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145295,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2a30708012d8802c005a221e8000600742e..."} 
[2026-07-27 13:45:38] local.INFO: Processing buffer {"connection_id":145295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2a30708012d8802c005a221e8000600742e..."} 
[2026-07-27 13:45:38] local.INFO: Packet analysis {"connection_id":145295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2a3"} 
[2026-07-27 13:45:38] local.INFO: Extracted packet for processing {"connection_id":145295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2a3"} 
[2026-07-27 13:45:38] local.INFO: GPS Element Parsed {"raw_longitude":763888320,"raw_latitude":94511592,"longitude_deg":76.388832,"latitude_deg":9.4511592,"altitude":6,"angle":116,"satellites":46,"speed":57,"hex_longitude":"2d8802c0","hex_latitude":"05a221e8","is_valid_coordinates":true} 
[2026-07-27 13:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:45:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995843584001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:45:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358896263346782208,"note":"Value kept but may cause issues"} 
[2026-07-27 13:45:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8656059197098348544,"note":"Value kept but may cause issues"} 
[2026-07-27 13:45:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:45:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785140021000,"timestamp_ms":1785140021000,"timestamp_seconds":1785140021,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2a30708"} 
[2026-07-27 13:45:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:45:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-27 13:45:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:45:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:45:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:45:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:45:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:45:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:45:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:45:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:45:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 13:45:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 13:45:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995843584001,"66":27930,"53":206,"85":14592,"24":57,"16":358896263346782208,"45":-8656059197098348544},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-07-27 13:45:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 13:45:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 13:45:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995843584001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:45:38] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-07-27 13:45:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-27 13:45:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358896263346782208,"km_value":358896263346782.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:45:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8656059197098348544,"description":"Unknown IO ID 45"} 
[2026-07-27 13:45:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995843584001,"power":27930,"unknown_53":206,"unknown_85":14592,"ignition":57,"odometer":null,"unknown_45":-8656059197098348544}} 
[2026-07-27 13:45:38] local.INFO: DEBUG: GPS processor result {"connection_id":145295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:45:38] local.INFO: GPS data processed {"connection_id":145295,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:45:38] local.INFO: Acknowledgment sent {"connection_id":145295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:46:00] local.INFO: TCP Data received {"connection_id":143015,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143015,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:46:00] local.INFO: Processing buffer {"connection_id":143015,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:46:00] local.INFO: IMEI packet received {"connection_id":143015,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 13:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":143015,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 13:46:01] local.INFO: TCP Data received {"connection_id":143015,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143015,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:46:01] local.INFO: Processing buffer {"connection_id":143015,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:46:01] local.INFO: IMEI packet received {"connection_id":143015,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 13:46:01] local.INFO: IMEI acknowledgment sent {"connection_id":143015,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:46:05] local.INFO: TCP Data received {"connection_id":143015,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143015,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:46:05] local.INFO: Processing buffer {"connection_id":143015,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:46:05] local.INFO: IMEI packet received {"connection_id":143015,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 13:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":143015,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:46:06] local.INFO: TCP Data received {"connection_id":143015,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2a2fb50012d195c40072012b0003d00ac27..."} 
[2026-07-27 13:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2a2fb50012d195c40072012b0003d00ac27..."} 
[2026-07-27 13:46:06] local.INFO: Processing buffer {"connection_id":143015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2a2fb50012d195c40072012b0003d00ac27..."} 
[2026-07-27 13:46:06] local.INFO: Packet analysis {"connection_id":143015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2a2"} 
[2026-07-27 13:46:06] local.INFO: Extracted packet for processing {"connection_id":143015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2a2"} 
[2026-07-27 13:46:06] local.INFO: GPS Element Parsed {"raw_longitude":756636736,"raw_latitude":119542448,"longitude_deg":75.6636736,"latitude_deg":11.9542448,"altitude":61,"angle":172,"satellites":39,"speed":0,"hex_longitude":"2d195c40","hex_latitude":"072012b0","is_valid_coordinates":true} 
[2026-07-27 13:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:46:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995839232001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:46:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8870765323616256,"note":"Value kept but may cause issues"} 
[2026-07-27 13:46:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827405948152623104,"note":"Value kept but may cause issues"} 
[2026-07-27 13:46:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:46:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785140018000,"timestamp_ms":1785140018000,"timestamp_seconds":1785140018,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2a2fb50"} 
[2026-07-27 13:46:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:46:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-27 13:46:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:46:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:46:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:46:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:46:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:46:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143015,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:46:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143015,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:46:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:46:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 13:46:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 13:46:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995839232001,"66":12689,"121":206,"28":31744,"24":0,"16":8870765323616256,"45":1827405948152623104},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 13:46:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 13:46:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 13:46:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995839232001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:46:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 13:46:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 13:46:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8870765323616256,"km_value":8870765323616.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:46:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827405948152623104,"description":"Unknown IO ID 45"} 
[2026-07-27 13:46:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995839232001,"power":12689,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1827405948152623104}} 
[2026-07-27 13:46:06] local.INFO: DEBUG: GPS processor result {"connection_id":143015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553353,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:46:06] local.INFO: GPS data processed {"connection_id":143015,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:46:06] local.INFO: Acknowledgment sent {"connection_id":143015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:46:10] local.INFO: TCP Data received {"connection_id":145295,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2a45ae0012d89bd4005a14640000600752c..."} 
[2026-07-27 13:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145295,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2a45ae0012d89bd4005a14640000600752c..."} 
[2026-07-27 13:46:10] local.INFO: Processing buffer {"connection_id":145295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2a45ae0012d89bd4005a14640000600752c..."} 
[2026-07-27 13:46:10] local.INFO: Packet analysis {"connection_id":145295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2a4"} 
[2026-07-27 13:46:10] local.INFO: Extracted packet for processing {"connection_id":145295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2a4"} 
[2026-07-27 13:46:10] local.INFO: GPS Element Parsed {"raw_longitude":764001600,"raw_latitude":94455360,"longitude_deg":76.40016,"latitude_deg":9.445536,"altitude":6,"angle":117,"satellites":44,"speed":50,"hex_longitude":"2d89bd40","hex_latitude":"05a14640","is_valid_coordinates":true} 
[2026-07-27 13:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:46:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995865856001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:46:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358902327840604160,"note":"Value kept but may cause issues"} 
[2026-07-27 13:46:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8530732463732393984,"note":"Value kept but may cause issues"} 
[2026-07-27 13:46:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:46:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785140108000,"timestamp_ms":1785140108000,"timestamp_seconds":1785140108,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2a45ae0"} 
[2026-07-27 13:46:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:46:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-27 13:46:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:46:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:46:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:46:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:46:10] local.INFO: Teltonika packet parsed successfully {"connection_id":145295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:46:10] local.INFO: Passing IMEI to GPS processor {"connection_id":145295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:46:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":145295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:46: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-07-27 13:46:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 13:46:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 13:46:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995865856001,"66":27919,"53":206,"85":14592,"24":50,"16":358902327840604160,"45":-8530732463732393984},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-07-27 13:46:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 13:46:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 13:46:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995865856001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:46:10] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-07-27 13:46:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-27 13:46:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358902327840604160,"km_value":358902327840604.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:46:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8530732463732393984,"description":"Unknown IO ID 45"} 
[2026-07-27 13:46:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995865856001,"power":27919,"unknown_53":206,"unknown_85":14592,"ignition":50,"odometer":null,"unknown_45":-8530732463732393984}} 
[2026-07-27 13:46:10] local.INFO: DEBUG: GPS processor result {"connection_id":145295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:46:10] local.INFO: GPS data processed {"connection_id":145295,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:46:10] local.INFO: Acknowledgment sent {"connection_id":145295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:46:32] local.INFO: TCP Data received {"connection_id":142873,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:46:32] local.INFO: Processing buffer {"connection_id":142873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:46:32] local.INFO: IMEI packet received {"connection_id":142873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 13:46:32] local.INFO: IMEI acknowledgment sent {"connection_id":142873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 13:46:33] local.INFO: TCP Data received {"connection_id":142873,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:46:33] local.INFO: Processing buffer {"connection_id":142873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:46:33] local.INFO: IMEI packet received {"connection_id":142873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 13:46:33] local.INFO: IMEI acknowledgment sent {"connection_id":142873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:46:37] local.INFO: TCP Data received {"connection_id":142873,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:46:37] local.INFO: Processing buffer {"connection_id":142873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:46:37] local.INFO: IMEI packet received {"connection_id":142873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 13:46:37] local.INFO: IMEI acknowledgment sent {"connection_id":142873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:46:37] local.INFO: TCP Data received {"connection_id":143015,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2a34d58012d195c40072012b0003d00ac29..."} 
[2026-07-27 13:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2a34d58012d195c40072012b0003d00ac29..."} 
[2026-07-27 13:46:37] local.INFO: Processing buffer {"connection_id":143015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2a34d58012d195c40072012b0003d00ac29..."} 
[2026-07-27 13:46:37] local.INFO: Packet analysis {"connection_id":143015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2a3"} 
[2026-07-27 13:46:37] local.INFO: Extracted packet for processing {"connection_id":143015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2a3"} 
[2026-07-27 13:46:37] local.INFO: GPS Element Parsed {"raw_longitude":756636736,"raw_latitude":119542448,"longitude_deg":75.6636736,"latitude_deg":11.9542448,"altitude":61,"angle":172,"satellites":41,"speed":0,"hex_longitude":"2d195c40","hex_latitude":"072012b0","is_valid_coordinates":true} 
[2026-07-27 13:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:46:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995844608001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:46:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8870765323616256,"note":"Value kept but may cause issues"} 
[2026-07-27 13:46:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827405948152623104,"note":"Value kept but may cause issues"} 
[2026-07-27 13:46:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:46:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785140039000,"timestamp_ms":1785140039000,"timestamp_seconds":1785140039,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2a34d58"} 
[2026-07-27 13:46:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:46:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-27 13:46:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:46:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:46:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:46:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:46:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:46:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143015,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:46:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143015,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:46:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:46:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 13:46:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 13:46:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995844608001,"66":12341,"121":206,"28":31744,"24":0,"16":8870765323616256,"45":1827405948152623104},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 13:46:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 13:46:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 13:46:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995844608001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:46:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 13:46:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 13:46:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8870765323616256,"km_value":8870765323616.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:46:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827405948152623104,"description":"Unknown IO ID 45"} 
[2026-07-27 13:46:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995844608001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1827405948152623104}} 
[2026-07-27 13:46:37] local.INFO: DEBUG: GPS processor result {"connection_id":143015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553355,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:46:37] local.INFO: GPS data processed {"connection_id":143015,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:46:37] local.INFO: Acknowledgment sent {"connection_id":143015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:46:39] local.INFO: TCP Data received {"connection_id":142873,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2a47a20012d89df4005a13568000600722c..."} 
[2026-07-27 13:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142873,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2a47a20012d89df4005a13568000600722c..."} 
[2026-07-27 13:46:39] local.INFO: Processing buffer {"connection_id":142873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2a47a20012d89df4005a13568000600722c..."} 
[2026-07-27 13:46:39] local.INFO: Packet analysis {"connection_id":142873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2a4"} 
[2026-07-27 13:46:39] local.INFO: Extracted packet for processing {"connection_id":142873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2a4"} 
[2026-07-27 13:46:39] local.INFO: GPS Element Parsed {"raw_longitude":764010304,"raw_latitude":94451048,"longitude_deg":76.4010304,"latitude_deg":9.4451048,"altitude":6,"angle":114,"satellites":44,"speed":40,"hex_longitude":"2d89df40","hex_latitude":"05a13568","is_valid_coordinates":true} 
[2026-07-27 13:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:46:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995867648001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:46:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358902795992039424,"note":"Value kept but may cause issues"} 
[2026-07-27 13:46:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8521584526990360576,"note":"Value kept but may cause issues"} 
[2026-07-27 13:46:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:46:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785140116000,"timestamp_ms":1785140116000,"timestamp_seconds":1785140116,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2a47a20"} 
[2026-07-27 13:46:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:46:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-27 13:46:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:46:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:46:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:46:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:46:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:46:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:46:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:46:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:46:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 13:46:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 13:46:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995867648001,"66":27908,"53":206,"85":14592,"24":40,"16":358902795992039424,"45":-8521584526990360576},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-07-27 13:46:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 13:46:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 13:46:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995867648001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:46:39] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-07-27 13:46:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-27 13:46:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358902795992039424,"km_value":358902795992039.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:46:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8521584526990360576,"description":"Unknown IO ID 45"} 
[2026-07-27 13:46:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995867648001,"power":27908,"unknown_53":206,"unknown_85":14592,"ignition":40,"odometer":null,"unknown_45":-8521584526990360576}} 
[2026-07-27 13:46:39] local.INFO: DEBUG: GPS processor result {"connection_id":142873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:46:39] local.INFO: GPS data processed {"connection_id":142873,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:46:39] local.INFO: Acknowledgment sent {"connection_id":142873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:47:00] local.INFO: TCP Data received {"connection_id":145296,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145296,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:47:00] local.INFO: Processing buffer {"connection_id":145296,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:47:00] local.INFO: IMEI packet received {"connection_id":145296,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 13:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":145296,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 13:47:04] local.INFO: TCP Data received {"connection_id":145296,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145296,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:47:04] local.INFO: Processing buffer {"connection_id":145296,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:47:04] local.INFO: IMEI packet received {"connection_id":145296,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 13:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":145296,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:47:05] local.INFO: TCP Data received {"connection_id":145296,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145296,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:47:05] local.INFO: Processing buffer {"connection_id":145296,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:47:05] local.INFO: IMEI packet received {"connection_id":145296,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 13:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":145296,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:47:06] local.INFO: TCP Data received {"connection_id":145296,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2a39f60012d195c40072012b0003d00ac2a..."} 
[2026-07-27 13:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2a39f60012d195c40072012b0003d00ac2a..."} 
[2026-07-27 13:47:06] local.INFO: Processing buffer {"connection_id":145296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2a39f60012d195c40072012b0003d00ac2a..."} 
[2026-07-27 13:47:06] local.INFO: Packet analysis {"connection_id":145296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2a3"} 
[2026-07-27 13:47:06] local.INFO: Extracted packet for processing {"connection_id":145296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2a3"} 
[2026-07-27 13:47:06] local.INFO: GPS Element Parsed {"raw_longitude":756636736,"raw_latitude":119542448,"longitude_deg":75.6636736,"latitude_deg":11.9542448,"altitude":61,"angle":172,"satellites":42,"speed":0,"hex_longitude":"2d195c40","hex_latitude":"072012b0","is_valid_coordinates":true} 
[2026-07-27 13:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:47:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995849984001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:47:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8870765323616256,"note":"Value kept but may cause issues"} 
[2026-07-27 13:47:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827405948152623104,"note":"Value kept but may cause issues"} 
[2026-07-27 13:47:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:47:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785140060000,"timestamp_ms":1785140060000,"timestamp_seconds":1785140060,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2a39f60"} 
[2026-07-27 13:47:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:47:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 13:47:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:47:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:47:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:47:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:47:06] local.INFO: Teltonika packet parsed successfully {"connection_id":145296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:47:06] local.INFO: Passing IMEI to GPS processor {"connection_id":145296,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:47:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":145296,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:47:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:47:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 13:47:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 13:47:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995849984001,"66":12689,"121":206,"28":31744,"24":0,"16":8870765323616256,"45":1827405948152623104},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 13:47:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 13:47:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 13:47:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995849984001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:47:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 13:47:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 13:47:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8870765323616256,"km_value":8870765323616.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:47:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827405948152623104,"description":"Unknown IO ID 45"} 
[2026-07-27 13:47:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995849984001,"power":12689,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1827405948152623104}} 
[2026-07-27 13:47:06] local.INFO: DEBUG: GPS processor result {"connection_id":145296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553357,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:47:06] local.INFO: GPS data processed {"connection_id":145296,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:47:06] local.INFO: Acknowledgment sent {"connection_id":145296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:47:10] local.INFO: TCP Data received {"connection_id":142873,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2a4a900012d8a004005a124d0000400732c..."} 
[2026-07-27 13:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142873,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2a4a900012d8a004005a124d0000400732c..."} 
[2026-07-27 13:47:10] local.INFO: Processing buffer {"connection_id":142873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2a4a900012d8a004005a124d0000400732c..."} 
[2026-07-27 13:47:10] local.INFO: Packet analysis {"connection_id":142873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2a4"} 
[2026-07-27 13:47:10] local.INFO: Extracted packet for processing {"connection_id":142873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2a4"} 
[2026-07-27 13:47:10] local.INFO: GPS Element Parsed {"raw_longitude":764018752,"raw_latitude":94446800,"longitude_deg":76.4018752,"latitude_deg":9.44468,"altitude":4,"angle":115,"satellites":44,"speed":39,"hex_longitude":"2d8a0040","hex_latitude":"05a124d0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 13:47:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995869696001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:47:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358903246963605504,"note":"Value kept but may cause issues"} 
[2026-07-27 13:47:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8512014377783302144,"note":"Value kept but may cause issues"} 
[2026-07-27 13:47:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:47:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785140128000,"timestamp_ms":1785140128000,"timestamp_seconds":1785140128,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2a4a900"} 
[2026-07-27 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-07-27 13:47:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-27 13:47:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 13:47:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:47:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:47:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:47:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:47: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-07-27 13:47:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 13:47:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 13:47:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995869696001,"66":27800,"53":206,"85":14592,"24":39,"16":358903246963605504,"45":-8512014377783302144},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-07-27 13:47:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 13:47:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 13:47:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995869696001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:47:10] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-07-27 13:47:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-27 13:47:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358903246963605504,"km_value":358903246963605.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:47:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8512014377783302144,"description":"Unknown IO ID 45"} 
[2026-07-27 13:47:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995869696001,"power":27800,"unknown_53":206,"unknown_85":14592,"ignition":39,"odometer":null,"unknown_45":-8512014377783302144}} 
[2026-07-27 13:47:10] local.INFO: DEBUG: GPS processor result {"connection_id":142873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:47:10] local.INFO: GPS data processed {"connection_id":142873,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:47:10] local.INFO: Acknowledgment sent {"connection_id":142873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:47:32] local.INFO: TCP Data received {"connection_id":143999,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:47:32] local.INFO: Processing buffer {"connection_id":143999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:47:32] local.INFO: IMEI packet received {"connection_id":143999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 13:47:32] local.INFO: IMEI acknowledgment sent {"connection_id":143999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 13:47:37] local.INFO: TCP Data received {"connection_id":143999,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:47:37] local.INFO: Processing buffer {"connection_id":143999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:47:37] local.INFO: IMEI packet received {"connection_id":143999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 13:47:37] local.INFO: IMEI acknowledgment sent {"connection_id":143999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:47:38] local.INFO: TCP Data received {"connection_id":145296,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2a3f168012d195c40072012b0003d00ac27..."} 
[2026-07-27 13:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2a3f168012d195c40072012b0003d00ac27..."} 
[2026-07-27 13:47:38] local.INFO: Processing buffer {"connection_id":145296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2a3f168012d195c40072012b0003d00ac27..."} 
[2026-07-27 13:47:38] local.INFO: Packet analysis {"connection_id":145296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2a3"} 
[2026-07-27 13:47:38] local.INFO: Extracted packet for processing {"connection_id":145296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2a3"} 
[2026-07-27 13:47:38] local.INFO: GPS Element Parsed {"raw_longitude":756636736,"raw_latitude":119542448,"longitude_deg":75.6636736,"latitude_deg":11.9542448,"altitude":61,"angle":172,"satellites":39,"speed":0,"hex_longitude":"2d195c40","hex_latitude":"072012b0","is_valid_coordinates":true} 
[2026-07-27 13:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:47:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995855360001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:47:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8870765323616256,"note":"Value kept but may cause issues"} 
[2026-07-27 13:47:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827405948152623104,"note":"Value kept but may cause issues"} 
[2026-07-27 13:47:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:47:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785140081000,"timestamp_ms":1785140081000,"timestamp_seconds":1785140081,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2a3f168"} 
[2026-07-27 13:47:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:47:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-27 13:47:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:47:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:47:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:47:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:47:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:47:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145296,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:47:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145296,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:47:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:47:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 13:47:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 13:47:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995855360001,"66":12428,"121":206,"28":31744,"24":0,"16":8870765323616256,"45":1827405948152623104},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 13:47:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 13:47:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 13:47:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995855360001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:47:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 13:47:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 13:47:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8870765323616256,"km_value":8870765323616.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:47:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827405948152623104,"description":"Unknown IO ID 45"} 
[2026-07-27 13:47:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995855360001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1827405948152623104}} 
[2026-07-27 13:47:38] local.INFO: DEBUG: GPS processor result {"connection_id":145296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553359,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:47:38] local.INFO: GPS data processed {"connection_id":145296,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:47:38] local.INFO: Acknowledgment sent {"connection_id":145296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:47:38] local.INFO: TCP Data received {"connection_id":143999,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2a4cc28012d8a244005a11508000700712c..."} 
[2026-07-27 13:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2a4cc28012d8a244005a11508000700712c..."} 
[2026-07-27 13:47:38] local.INFO: Processing buffer {"connection_id":143999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2a4cc28012d8a244005a11508000700712c..."} 
[2026-07-27 13:47:38] local.INFO: Packet analysis {"connection_id":143999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2a4"} 
[2026-07-27 13:47:38] local.INFO: Extracted packet for processing {"connection_id":143999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2a4"} 
[2026-07-27 13:47:38] local.INFO: GPS Element Parsed {"raw_longitude":764027968,"raw_latitude":94442760,"longitude_deg":76.4027968,"latitude_deg":9.444276,"altitude":7,"angle":113,"satellites":44,"speed":43,"hex_longitude":"2d8a2440","hex_latitude":"05a11508","is_valid_coordinates":true} 
[2026-07-27 13:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:47:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995872768001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:47:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358903727999942656,"note":"Value kept but may cause issues"} 
[2026-07-27 13:47:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8502725703552937984,"note":"Value kept but may cause issues"} 
[2026-07-27 13:47:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:47:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785140137000,"timestamp_ms":1785140137000,"timestamp_seconds":1785140137,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2a4cc28"} 
[2026-07-27 13:47:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:47:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-27 13:47:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:47:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:47:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:47:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:47:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:47:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:47:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:47:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:47:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 13:47:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 13:47:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995872768001,"66":27908,"53":206,"85":14592,"24":43,"16":358903727999942656,"45":-8502725703552937984},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-07-27 13:47:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 13:47:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 13:47:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995872768001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:47:38] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-07-27 13:47:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-27 13:47:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358903727999942656,"km_value":358903727999942.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:47:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8502725703552937984,"description":"Unknown IO ID 45"} 
[2026-07-27 13:47:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995872768001,"power":27908,"unknown_53":206,"unknown_85":14592,"ignition":43,"odometer":null,"unknown_45":-8502725703552937984}} 
[2026-07-27 13:47:38] local.INFO: DEBUG: GPS processor result {"connection_id":143999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:47:38] local.INFO: GPS data processed {"connection_id":143999,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:47:38] local.INFO: Acknowledgment sent {"connection_id":143999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:48:05] local.INFO: TCP Data received {"connection_id":143016,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143016,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:48:05] local.INFO: Processing buffer {"connection_id":143016,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:48:05] local.INFO: IMEI packet received {"connection_id":143016,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 13:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":143016,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 13:48:07] local.INFO: TCP Data received {"connection_id":143016,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143016,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:48:07] local.INFO: Processing buffer {"connection_id":143016,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:48:07] local.INFO: IMEI packet received {"connection_id":143016,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 13:48:07] local.INFO: IMEI acknowledgment sent {"connection_id":143016,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:48:08] local.INFO: TCP Data received {"connection_id":143016,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2a44370012d195c40072012b0003d00ac29..."} 
[2026-07-27 13:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2a44370012d195c40072012b0003d00ac29..."} 
[2026-07-27 13:48:08] local.INFO: Processing buffer {"connection_id":143016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2a44370012d195c40072012b0003d00ac29..."} 
[2026-07-27 13:48:08] local.INFO: Packet analysis {"connection_id":143016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2a4"} 
[2026-07-27 13:48:08] local.INFO: Extracted packet for processing {"connection_id":143016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2a4"} 
[2026-07-27 13:48:08] local.INFO: GPS Element Parsed {"raw_longitude":756636736,"raw_latitude":119542448,"longitude_deg":75.6636736,"latitude_deg":11.9542448,"altitude":61,"angle":172,"satellites":41,"speed":0,"hex_longitude":"2d195c40","hex_latitude":"072012b0","is_valid_coordinates":true} 
[2026-07-27 13:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:48:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995860736001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:48:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8870765323616256,"note":"Value kept but may cause issues"} 
[2026-07-27 13:48:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827405948152623104,"note":"Value kept but may cause issues"} 
[2026-07-27 13:48:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:48:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785140102000,"timestamp_ms":1785140102000,"timestamp_seconds":1785140102,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2a44370"} 
[2026-07-27 13:48:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:48:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-27 13:48:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:48:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:48:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:48:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:48:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:48:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143016,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:48:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143016,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:48:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:48:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 13:48:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 13:48:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995860736001,"66":11721,"121":206,"28":31744,"24":0,"16":8870765323616256,"45":1827405948152623104},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 13:48:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 13:48:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 13:48:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995860736001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:48:08] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 13:48:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 13:48:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8870765323616256,"km_value":8870765323616.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:48:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827405948152623104,"description":"Unknown IO ID 45"} 
[2026-07-27 13:48:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995860736001,"power":11721,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1827405948152623104}} 
[2026-07-27 13:48:08] local.INFO: DEBUG: GPS processor result {"connection_id":143016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553361,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:48:08] local.INFO: GPS data processed {"connection_id":143016,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:48:08] local.INFO: Acknowledgment sent {"connection_id":143016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:48:09] local.INFO: TCP Data received {"connection_id":143999,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2a63f40012d8bd5c005a03c10000500722a..."} 
[2026-07-27 13:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2a63f40012d8bd5c005a03c10000500722a..."} 
[2026-07-27 13:48:09] local.INFO: Processing buffer {"connection_id":143999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2a63f40012d8bd5c005a03c10000500722a..."} 
[2026-07-27 13:48:09] local.INFO: Packet analysis {"connection_id":143999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2a6"} 
[2026-07-27 13:48:09] local.INFO: Extracted packet for processing {"connection_id":143999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2a6"} 
[2026-07-27 13:48:09] local.INFO: GPS Element Parsed {"raw_longitude":764138944,"raw_latitude":94387216,"longitude_deg":76.4138944,"latitude_deg":9.4387216,"altitude":5,"angle":114,"satellites":42,"speed":64,"hex_longitude":"2d8bd5c0","hex_latitude":"05a03c10","is_valid_coordinates":true} 
[2026-07-27 13:48:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:48:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995897856001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:48:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358909680824614912,"note":"Value kept but may cause issues"} 
[2026-07-27 13:48:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8380284088697966592,"note":"Value kept but may cause issues"} 
[2026-07-27 13:48:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:48:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785140232000,"timestamp_ms":1785140232000,"timestamp_seconds":1785140232,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2a63f40"} 
[2026-07-27 13:48:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:48:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-27 13:48:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:48:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:48:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:48:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:48:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:48:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:48:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:48: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-07-27 13:48:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 13:48:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 13:48:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995897856001,"66":27821,"239":206,"85":14592,"24":64,"16":358909680824614912,"45":-8380284088697966592},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,45]} 
[2026-07-27 13:48:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 13:48:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 13:48:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995897856001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:48:09] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-27 13:48:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-27 13:48:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358909680824614912,"km_value":358909680824614.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:48:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8380284088697966592,"description":"Unknown IO ID 45"} 
[2026-07-27 13:48:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995897856001,"power":27821,"unknown_239":206,"unknown_85":14592,"ignition":64,"odometer":null,"unknown_45":-8380284088697966592}} 
[2026-07-27 13:48:09] local.INFO: DEBUG: GPS processor result {"connection_id":143999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:48:09] local.INFO: GPS data processed {"connection_id":143999,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:48:09] local.INFO: Acknowledgment sent {"connection_id":143999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:48:10] local.INFO: TCP Data received {"connection_id":143016,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2a49578012d195c40072012b0003d00ac28..."} 
[2026-07-27 13:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2a49578012d195c40072012b0003d00ac28..."} 
[2026-07-27 13:48:10] local.INFO: Processing buffer {"connection_id":143016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2a49578012d195c40072012b0003d00ac28..."} 
[2026-07-27 13:48:10] local.INFO: Packet analysis {"connection_id":143016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2a4"} 
[2026-07-27 13:48:10] local.INFO: Extracted packet for processing {"connection_id":143016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2a4"} 
[2026-07-27 13:48:10] local.INFO: GPS Element Parsed {"raw_longitude":756636736,"raw_latitude":119542448,"longitude_deg":75.6636736,"latitude_deg":11.9542448,"altitude":61,"angle":172,"satellites":40,"speed":0,"hex_longitude":"2d195c40","hex_latitude":"072012b0","is_valid_coordinates":true} 
[2026-07-27 13:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:48:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995866112001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:48:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8870765323616256,"note":"Value kept but may cause issues"} 
[2026-07-27 13:48:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827405948152623104,"note":"Value kept but may cause issues"} 
[2026-07-27 13:48:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:48:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785140123000,"timestamp_ms":1785140123000,"timestamp_seconds":1785140123,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2a49578"} 
[2026-07-27 13:48:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:48:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-27 13:48:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2232,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:48:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:48:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:48:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:48:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:48:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143016,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:48:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143016,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:48:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:48:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 13:48:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 13:48:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995866112001,"66":12558,"121":206,"28":31744,"24":0,"16":8870765323616256,"45":1827405948152623104},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 13:48:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 13:48:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 13:48:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995866112001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:48:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 13:48:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 13:48:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8870765323616256,"km_value":8870765323616.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:48:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827405948152623104,"description":"Unknown IO ID 45"} 
[2026-07-27 13:48:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995866112001,"power":12558,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1827405948152623104}} 
[2026-07-27 13:48:10] local.INFO: DEBUG: GPS processor result {"connection_id":143016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553363,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:48:10] local.INFO: GPS data processed {"connection_id":143016,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:48:10] local.INFO: Acknowledgment sent {"connection_id":143016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:48:32] local.INFO: TCP Data received {"connection_id":143017,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:48:32] local.INFO: Processing buffer {"connection_id":143017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:48:32] local.INFO: IMEI packet received {"connection_id":143017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 13:48:32] local.INFO: IMEI acknowledgment sent {"connection_id":143017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 13:48:33] local.INFO: TCP Data received {"connection_id":143017,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:48:33] local.INFO: Processing buffer {"connection_id":143017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:48:33] local.INFO: IMEI packet received {"connection_id":143017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 13:48:33] local.INFO: IMEI acknowledgment sent {"connection_id":143017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:48:37] local.INFO: TCP Data received {"connection_id":143017,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:48:37] local.INFO: Processing buffer {"connection_id":143017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:48:37] local.INFO: IMEI packet received {"connection_id":143017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 13:48:37] local.INFO: IMEI acknowledgment sent {"connection_id":143017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:48:38] local.INFO: TCP Data received {"connection_id":143017,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2a656b0012d8bf68005a02c50000600752b..."} 
[2026-07-27 13:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2a656b0012d8bf68005a02c50000600752b..."} 
[2026-07-27 13:48:38] local.INFO: Processing buffer {"connection_id":143017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2a656b0012d8bf68005a02c50000600752b..."} 
[2026-07-27 13:48:38] local.INFO: Packet analysis {"connection_id":143017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2a6"} 
[2026-07-27 13:48:38] local.INFO: Extracted packet for processing {"connection_id":143017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2a6"} 
[2026-07-27 13:48:38] local.INFO: GPS Element Parsed {"raw_longitude":764147328,"raw_latitude":94383184,"longitude_deg":76.4147328,"latitude_deg":9.4383184,"altitude":6,"angle":117,"satellites":43,"speed":55,"hex_longitude":"2d8bf680","hex_latitude":"05a02c50","is_valid_coordinates":true} 
[2026-07-27 13:48:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:48:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995899392001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:48:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358910127501213696,"note":"Value kept but may cause issues"} 
[2026-07-27 13:48:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8370573202002538496,"note":"Value kept but may cause issues"} 
[2026-07-27 13:48:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:48:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785140238000,"timestamp_ms":1785140238000,"timestamp_seconds":1785140238,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2a656b0"} 
[2026-07-27 13:48:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:48:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:48:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-27 13:48:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:48:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:48:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:48:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:48:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:48:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:48:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:48:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:48:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 13:48:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 13:48:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995899392001,"66":27745,"239":206,"85":14592,"24":55,"16":358910127501213696,"45":-8370573202002538496},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,45]} 
[2026-07-27 13:48:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 13:48:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 13:48:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995899392001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:48:38] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-27 13:48:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-27 13:48:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358910127501213696,"km_value":358910127501213.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:48:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8370573202002538496,"description":"Unknown IO ID 45"} 
[2026-07-27 13:48:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995899392001,"power":27745,"unknown_239":206,"unknown_85":14592,"ignition":55,"odometer":null,"unknown_45":-8370573202002538496}} 
[2026-07-27 13:48:38] local.INFO: DEBUG: GPS processor result {"connection_id":143017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:48:38] local.INFO: GPS data processed {"connection_id":143017,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:48:38] local.INFO: Acknowledgment sent {"connection_id":143017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:48:42] local.INFO: TCP Data received {"connection_id":143016,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2a4e780012d195c40072012b0003d00ac28..."} 
[2026-07-27 13:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2a4e780012d195c40072012b0003d00ac28..."} 
[2026-07-27 13:48:42] local.INFO: Processing buffer {"connection_id":143016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2a4e780012d195c40072012b0003d00ac28..."} 
[2026-07-27 13:48:42] local.INFO: Packet analysis {"connection_id":143016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2a4"} 
[2026-07-27 13:48:42] local.INFO: Extracted packet for processing {"connection_id":143016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2a4"} 
[2026-07-27 13:48:42] local.INFO: GPS Element Parsed {"raw_longitude":756636736,"raw_latitude":119542448,"longitude_deg":75.6636736,"latitude_deg":11.9542448,"altitude":61,"angle":172,"satellites":40,"speed":0,"hex_longitude":"2d195c40","hex_latitude":"072012b0","is_valid_coordinates":true} 
[2026-07-27 13:48:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:48:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995871488001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:48:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8870765323616256,"note":"Value kept but may cause issues"} 
[2026-07-27 13:48:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827405948152623104,"note":"Value kept but may cause issues"} 
[2026-07-27 13:48:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:48:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785140144000,"timestamp_ms":1785140144000,"timestamp_seconds":1785140144,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2a4e780"} 
[2026-07-27 13:48:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:48:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-07-27 13:48:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-07-27 13:48:42] local.WARNING: Large IO value detected {"io_id":131,"raw_value":3925868544,"note":"Value kept but may cause issues"} 
[2026-07-27 13:48:42] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2728569160,"note":"Value kept but may cause issues"} 
[2026-07-27 13:48:42] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249730036191728304,"note":"Value kept but may cause issues"} 
[2026-07-27 13:48:42] local.WARNING: Large IO value detected {"io_id":162,"raw_value":2739755009,"note":"Value kept but may cause issues"} 
[2026-07-27 13:48:42] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-27 13:48:42] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2432749031,"note":"Value kept but may cause issues"} 
[2026-07-27 13:48:42] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2213150720,"note":"Value kept but may cause issues"} 
[2026-07-27 13:48:42] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8719195500324067328,"note":"Value kept but may cause issues"} 
[2026-07-27 13:48:42] local.WARNING: Large IO value detected {"io_id":83,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-27 13:48:42] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-07-27 13:48:42] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,121,28,24,241,158,16,131,159,67,45,64,18,61,41,10,66,39,1,240,145,162,32,4,113,205,251,92,176,239,49,2,31,7,231,83,206],"length":575,"final_offset":705,"validated_count":37,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-07-27 13:48:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395702524112273408,"timestamp_seconds":4395702524112273.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 13:48:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:48:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:48:42] local.INFO: Teltonika packet parsed successfully {"connection_id":143016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:48:42] local.INFO: Passing IMEI to GPS processor {"connection_id":143016,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:48:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":143016,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:48:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:48:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 13:48:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 13:48:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995871488001,"66":12558,"121":206,"28":31744,"24":0,"16":8870765323616256,"45":1827405948152623104},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 13:48:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 13:48:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 13:48:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995871488001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:48:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 13:48:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 13:48:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8870765323616256,"km_value":8870765323616.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:48:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827405948152623104,"description":"Unknown IO ID 45"} 
[2026-07-27 13:48:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995871488001,"power":12558,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1827405948152623104}} 
[2026-07-27 13:48:43] local.INFO: DEBUG: GPS processor result {"connection_id":143016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553365,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:48:43] local.INFO: GPS data processed {"connection_id":143016,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:48:43] local.INFO: Acknowledgment sent {"connection_id":143016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:49:00] local.INFO: TCP Data received {"connection_id":142874,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142874,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:49:00] local.INFO: Processing buffer {"connection_id":142874,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:49:00] local.INFO: IMEI packet received {"connection_id":142874,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 13:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":142874,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 13:49:05] local.INFO: TCP Data received {"connection_id":142874,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142874,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:49:05] local.INFO: Processing buffer {"connection_id":142874,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:49:05] local.INFO: IMEI packet received {"connection_id":142874,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 13:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":142874,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:49:06] local.INFO: TCP Data received {"connection_id":142874,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2a53988012d195c40072012b0003d00ac25..."} 
[2026-07-27 13:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2a53988012d195c40072012b0003d00ac25..."} 
[2026-07-27 13:49:06] local.INFO: Processing buffer {"connection_id":142874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2a53988012d195c40072012b0003d00ac25..."} 
[2026-07-27 13:49:06] local.INFO: Packet analysis {"connection_id":142874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2a5"} 
[2026-07-27 13:49:06] local.INFO: Extracted packet for processing {"connection_id":142874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2a5"} 
[2026-07-27 13:49:06] local.INFO: GPS Element Parsed {"raw_longitude":756636736,"raw_latitude":119542448,"longitude_deg":75.6636736,"latitude_deg":11.9542448,"altitude":61,"angle":172,"satellites":37,"speed":0,"hex_longitude":"2d195c40","hex_latitude":"072012b0","is_valid_coordinates":true} 
[2026-07-27 13:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:49:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995876864001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:49:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8870765323616256,"note":"Value kept but may cause issues"} 
[2026-07-27 13:49:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827405948152623104,"note":"Value kept but may cause issues"} 
[2026-07-27 13:49:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:49:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785140165000,"timestamp_ms":1785140165000,"timestamp_seconds":1785140165,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2a53988"} 
[2026-07-27 13:49:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:49:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-07-27 13:49:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-07-27 13:49:06] local.WARNING: Large IO value detected {"io_id":131,"raw_value":3925868544,"note":"Value kept but may cause issues"} 
[2026-07-27 13:49:06] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2728590160,"note":"Value kept but may cause issues"} 
[2026-07-27 13:49:06] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249730036191728304,"note":"Value kept but may cause issues"} 
[2026-07-27 13:49:06] local.WARNING: Large IO value detected {"io_id":162,"raw_value":2745131009,"note":"Value kept but may cause issues"} 
[2026-07-27 13:49:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-27 13:49:06] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2213150720,"note":"Value kept but may cause issues"} 
[2026-07-27 13:49:06] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8719195500324067328,"note":"Value kept but may cause issues"} 
[2026-07-27 13:49:06] local.WARNING: Large IO value detected {"io_id":83,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-27 13:49:06] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-07-27 13:49:06] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,121,28,24,241,158,16,131,159,149,45,64,18,61,40,10,66,67,41,1,240,140,162,32,4,113,205,77,92,176,239,48,2,31,7,231,83,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-07-27 13:49:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395702524112273408,"timestamp_seconds":4395702524112273.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 13:49:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:49:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:49:06] local.INFO: Teltonika packet parsed successfully {"connection_id":142874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:49:06] local.INFO: Passing IMEI to GPS processor {"connection_id":142874,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:49:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":142874,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:49:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:49:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 13:49:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 13:49:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995876864001,"66":12591,"121":206,"28":31744,"24":0,"16":8870765323616256,"45":1827405948152623104},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 13:49:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 13:49:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 13:49:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995876864001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:49:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 13:49:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 13:49:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8870765323616256,"km_value":8870765323616.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:49:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827405948152623104,"description":"Unknown IO ID 45"} 
[2026-07-27 13:49:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995876864001,"power":12591,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1827405948152623104}} 
[2026-07-27 13:49:06] local.INFO: DEBUG: GPS processor result {"connection_id":142874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553366,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:49:06] local.INFO: GPS data processed {"connection_id":142874,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:49:06] local.INFO: Acknowledgment sent {"connection_id":142874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:49:09] local.INFO: TCP Data received {"connection_id":143017,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2a675f0012d8c19c005a01a78000500752c..."} 
[2026-07-27 13:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2a675f0012d8c19c005a01a78000500752c..."} 
[2026-07-27 13:49:09] local.INFO: Processing buffer {"connection_id":143017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2a675f0012d8c19c005a01a78000500752c..."} 
[2026-07-27 13:49:09] local.INFO: Packet analysis {"connection_id":143017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2a6"} 
[2026-07-27 13:49:09] local.INFO: Extracted packet for processing {"connection_id":143017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2a6"} 
[2026-07-27 13:49:09] local.INFO: GPS Element Parsed {"raw_longitude":764156352,"raw_latitude":94378616,"longitude_deg":76.4156352,"latitude_deg":9.4378616,"altitude":5,"angle":117,"satellites":44,"speed":48,"hex_longitude":"2d8c19c0","hex_latitude":"05a01a78","is_valid_coordinates":true} 
[2026-07-27 13:49:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:49:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995900928001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:49:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358910612832518144,"note":"Value kept but may cause issues"} 
[2026-07-27 13:49:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8361354896516296704,"note":"Value kept but may cause issues"} 
[2026-07-27 13:49:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:49:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785140246000,"timestamp_ms":1785140246000,"timestamp_seconds":1785140246,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2a675f0"} 
[2026-07-27 13:49:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:49:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:49:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-27 13:49:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:49:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:49:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:49:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:49:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:49:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:49:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:49: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-07-27 13:49:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 13:49:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 13:49:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995900928001,"66":27908,"237":206,"85":14592,"24":48,"16":358910612832518144,"45":-8361354896516296704},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,85,24,16,45]} 
[2026-07-27 13:49:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 13:49:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 13:49:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995900928001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:49:09] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-07-27 13:49:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-27 13:49:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358910612832518144,"km_value":358910612832518.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:49:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8361354896516296704,"description":"Unknown IO ID 45"} 
[2026-07-27 13:49:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995900928001,"power":27908,"unknown_237":206,"unknown_85":14592,"ignition":48,"odometer":null,"unknown_45":-8361354896516296704}} 
[2026-07-27 13:49:09] local.INFO: DEBUG: GPS processor result {"connection_id":143017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:49:09] local.INFO: GPS data processed {"connection_id":143017,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:49:09] local.INFO: Acknowledgment sent {"connection_id":143017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:49:38] local.INFO: TCP Data received {"connection_id":142874,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2a58b90012d195c40072012b0003d00ac27..."} 
[2026-07-27 13:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2a58b90012d195c40072012b0003d00ac27..."} 
[2026-07-27 13:49:38] local.INFO: Processing buffer {"connection_id":142874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2a58b90012d195c40072012b0003d00ac27..."} 
[2026-07-27 13:49:38] local.INFO: Packet analysis {"connection_id":142874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2a5"} 
[2026-07-27 13:49:38] local.INFO: Extracted packet for processing {"connection_id":142874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2a5"} 
[2026-07-27 13:49:38] local.INFO: GPS Element Parsed {"raw_longitude":756636736,"raw_latitude":119542448,"longitude_deg":75.6636736,"latitude_deg":11.9542448,"altitude":61,"angle":172,"satellites":39,"speed":0,"hex_longitude":"2d195c40","hex_latitude":"072012b0","is_valid_coordinates":true} 
[2026-07-27 13:49:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:49:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995882240001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:49:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8870765323616256,"note":"Value kept but may cause issues"} 
[2026-07-27 13:49:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827405948152623104,"note":"Value kept but may cause issues"} 
[2026-07-27 13:49:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:49:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785140186000,"timestamp_ms":1785140186000,"timestamp_seconds":1785140186,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2a58b90"} 
[2026-07-27 13:49:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:49:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:49:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-27 13:49:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:49:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:49:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:49:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:49:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:49:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142874,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:49:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142874,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:49:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:49:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 13:49:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 13:49:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995882240001,"66":12548,"121":206,"28":31744,"24":0,"16":8870765323616256,"45":1827405948152623104},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 13:49:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 13:49:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 13:49:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995882240001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:49:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 13:49:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 13:49:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8870765323616256,"km_value":8870765323616.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:49:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827405948152623104,"description":"Unknown IO ID 45"} 
[2026-07-27 13:49:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995882240001,"power":12548,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1827405948152623104}} 
[2026-07-27 13:49:38] local.INFO: DEBUG: GPS processor result {"connection_id":142874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553368,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:49:38] local.INFO: GPS data processed {"connection_id":142874,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:49:38] local.INFO: Acknowledgment sent {"connection_id":142874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:49:38] local.INFO: TCP Data received {"connection_id":144000,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:49:38] local.INFO: Processing buffer {"connection_id":144000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:49:38] local.INFO: IMEI packet received {"connection_id":144000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 13:49:38] local.INFO: IMEI acknowledgment sent {"connection_id":144000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 13:49:39] local.INFO: TCP Data received {"connection_id":144000,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:49:39] local.INFO: Processing buffer {"connection_id":144000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:49:39] local.INFO: IMEI packet received {"connection_id":144000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 13:49:39] local.INFO: IMEI acknowledgment sent {"connection_id":144000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:49:40] local.INFO: TCP Data received {"connection_id":144000,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2a69148012d8c398005a00b38000400742c..."} 
[2026-07-27 13:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2a69148012d8c398005a00b38000400742c..."} 
[2026-07-27 13:49:40] local.INFO: Processing buffer {"connection_id":144000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2a69148012d8c398005a00b38000400742c..."} 
[2026-07-27 13:49:40] local.INFO: Packet analysis {"connection_id":144000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2a6"} 
[2026-07-27 13:49:40] local.INFO: Extracted packet for processing {"connection_id":144000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2a6"} 
[2026-07-27 13:49:40] local.INFO: GPS Element Parsed {"raw_longitude":764164480,"raw_latitude":94374712,"longitude_deg":76.416448,"latitude_deg":9.4374712,"altitude":4,"angle":116,"satellites":44,"speed":53,"hex_longitude":"2d8c3980","hex_latitude":"05a00b38","is_valid_coordinates":true} 
[2026-07-27 13: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-07-27 13:49:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995902976001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:49:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358911046624215040,"note":"Value kept but may cause issues"} 
[2026-07-27 13:49:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8351432903588415488,"note":"Value kept but may cause issues"} 
[2026-07-27 13:49:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:49:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785140253000,"timestamp_ms":1785140253000,"timestamp_seconds":1785140253,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2a69148"} 
[2026-07-27 13:49:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:49:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-27 13:49:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13: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-07-27 13:49:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:49:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:49:40] local.INFO: Teltonika packet parsed successfully {"connection_id":144000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:49:40] local.INFO: Passing IMEI to GPS processor {"connection_id":144000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:49:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":144000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:49: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-07-27 13:49:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 13:49:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 13:49:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995902976001,"66":27767,"237":206,"85":14592,"24":53,"16":358911046624215040,"45":-8351432903588415488},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,85,24,16,45]} 
[2026-07-27 13:49:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 13:49:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 13:49:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995902976001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:49:40] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-07-27 13:49:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-27 13:49:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358911046624215040,"km_value":358911046624215.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:49:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8351432903588415488,"description":"Unknown IO ID 45"} 
[2026-07-27 13:49:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995902976001,"power":27767,"unknown_237":206,"unknown_85":14592,"ignition":53,"odometer":null,"unknown_45":-8351432903588415488}} 
[2026-07-27 13:49:40] local.INFO: DEBUG: GPS processor result {"connection_id":144000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:49:40] local.INFO: GPS data processed {"connection_id":144000,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:49:40] local.INFO: Acknowledgment sent {"connection_id":144000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:49:42] local.INFO: TCP Data received {"connection_id":144000,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2a6b088012d8c5d00059ff988000500742c..."} 
[2026-07-27 13:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2a6b088012d8c5d00059ff988000500742c..."} 
[2026-07-27 13:49:42] local.INFO: Processing buffer {"connection_id":144000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2a6b088012d8c5d00059ff988000500742c..."} 
[2026-07-27 13:49:42] local.INFO: Packet analysis {"connection_id":144000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2a6"} 
[2026-07-27 13:49:42] local.INFO: Extracted packet for processing {"connection_id":144000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2a6"} 
[2026-07-27 13:49:42] local.INFO: GPS Element Parsed {"raw_longitude":764173568,"raw_latitude":94370184,"longitude_deg":76.4173568,"latitude_deg":9.4370184,"altitude":5,"angle":116,"satellites":44,"speed":49,"hex_longitude":"2d8c5d00","hex_latitude":"059ff988","is_valid_coordinates":true} 
[2026-07-27 13:49:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:49:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995904768001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:49:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358911531955519488,"note":"Value kept but may cause issues"} 
[2026-07-27 13:49:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8342496073078851584,"note":"Value kept but may cause issues"} 
[2026-07-27 13:49:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:49:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785140261000,"timestamp_ms":1785140261000,"timestamp_seconds":1785140261,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2a6b088"} 
[2026-07-27 13:49:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:49:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-27 13:49:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:49:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:49:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:49:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:49:42] local.INFO: Teltonika packet parsed successfully {"connection_id":144000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:49:42] local.INFO: Passing IMEI to GPS processor {"connection_id":144000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:49:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":144000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13: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-07-27 13:49:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 13:49:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 13:49:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995904768001,"66":27843,"237":206,"85":14592,"24":49,"16":358911531955519488,"45":-8342496073078851584},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,85,24,16,45]} 
[2026-07-27 13:49:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 13:49:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 13:49:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995904768001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:49:42] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-07-27 13:49:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-27 13:49:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358911531955519488,"km_value":358911531955519.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:49:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8342496073078851584,"description":"Unknown IO ID 45"} 
[2026-07-27 13:49:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995904768001,"power":27843,"unknown_237":206,"unknown_85":14592,"ignition":49,"odometer":null,"unknown_45":-8342496073078851584}} 
[2026-07-27 13:49:42] local.INFO: DEBUG: GPS processor result {"connection_id":144000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:49:42] local.INFO: GPS data processed {"connection_id":144000,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:49:42] local.INFO: Acknowledgment sent {"connection_id":144000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:50:00] local.INFO: TCP Data received {"connection_id":144001,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144001,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:50:00] local.INFO: Processing buffer {"connection_id":144001,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:50:00] local.INFO: IMEI packet received {"connection_id":144001,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 13:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":144001,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 13:50:05] local.INFO: TCP Data received {"connection_id":144001,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144001,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:50:05] local.INFO: Processing buffer {"connection_id":144001,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:50:05] local.INFO: IMEI packet received {"connection_id":144001,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 13:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":144001,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:50:06] local.INFO: TCP Data received {"connection_id":144001,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2a5dd98012d195c40072012b0003d00ac25..."} 
[2026-07-27 13:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144001,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2a5dd98012d195c40072012b0003d00ac25..."} 
[2026-07-27 13:50:06] local.INFO: Processing buffer {"connection_id":144001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2a5dd98012d195c40072012b0003d00ac25..."} 
[2026-07-27 13:50:06] local.INFO: Packet analysis {"connection_id":144001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2a5"} 
[2026-07-27 13:50:06] local.INFO: Extracted packet for processing {"connection_id":144001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2a5"} 
[2026-07-27 13:50:06] local.INFO: GPS Element Parsed {"raw_longitude":756636736,"raw_latitude":119542448,"longitude_deg":75.6636736,"latitude_deg":11.9542448,"altitude":61,"angle":172,"satellites":37,"speed":0,"hex_longitude":"2d195c40","hex_latitude":"072012b0","is_valid_coordinates":true} 
[2026-07-27 13:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995887616001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8870765323616256,"note":"Value kept but may cause issues"} 
[2026-07-27 13:50:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827405948152623104,"note":"Value kept but may cause issues"} 
[2026-07-27 13:50:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785140207000,"timestamp_ms":1785140207000,"timestamp_seconds":1785140207,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2a5dd98"} 
[2026-07-27 13:50:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:50:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-27 13:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-07-27 13:50:06] local.WARNING: Large IO value detected {"io_id":131,"raw_value":3925868544,"note":"Value kept but may cause issues"} 
[2026-07-27 13:50:06] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2728632160,"note":"Value kept but may cause issues"} 
[2026-07-27 13:50:06] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8719195500324067328,"note":"Value kept but may cause issues"} 
[2026-07-27 13:50:06] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184206270669,"note":"Value kept but may cause issues"} 
[2026-07-27 13:50:06] local.WARNING: Large IO value detected {"io_id":162,"raw_value":2755883009,"note":"Value kept but may cause issues"} 
[2026-07-27 13:50:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-27 13:50:06] local.WARNING: Large IO value detected {"io_id":48,"raw_value":2348862951,"note":"Value kept but may cause issues"} 
[2026-07-27 13:50:06] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2213150720,"note":"Value kept but may cause issues"} 
[2026-07-27 13:50:06] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,121,28,24,241,158,16,131,159,57,45,64,18,61,37,10,66,231,40,149,1,240,14,162,32,4,113,205,92,176,39,239,48,2,31,7],"length":485,"final_offset":615,"validated_count":36,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-07-27 13:50:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395702519817306112,"timestamp_seconds":4395702519817306.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 13:50:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":144001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":144001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":144001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:50:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 13:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 13:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995887616001,"66":12591,"121":206,"28":31744,"24":0,"16":8870765323616256,"45":1827405948152623104},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 13:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 13:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 13:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995887616001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:50:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 13:50:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 13:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8870765323616256,"km_value":8870765323616.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:50:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827405948152623104,"description":"Unknown IO ID 45"} 
[2026-07-27 13:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995887616001,"power":12591,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1827405948152623104}} 
[2026-07-27 13:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":144001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553371,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:50:06] local.INFO: GPS data processed {"connection_id":144001,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:50:06] local.INFO: Acknowledgment sent {"connection_id":144001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:50:14] local.INFO: TCP Data received {"connection_id":144000,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2a83728012d8e2540059f6bf0000600692d..."} 
[2026-07-27 13:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2a83728012d8e2540059f6bf0000600692d..."} 
[2026-07-27 13:50:14] local.INFO: Processing buffer {"connection_id":144000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2a83728012d8e2540059f6bf0000600692d..."} 
[2026-07-27 13:50:14] local.INFO: Packet analysis {"connection_id":144000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2a8"} 
[2026-07-27 13:50:14] local.INFO: Extracted packet for processing {"connection_id":144000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2a8"} 
[2026-07-27 13:50:14] local.INFO: GPS Element Parsed {"raw_longitude":764290368,"raw_latitude":94333936,"longitude_deg":76.4290368,"latitude_deg":9.4333936,"altitude":6,"angle":105,"satellites":45,"speed":58,"hex_longitude":"2d8e2540","hex_latitude":"059f6bf0","is_valid_coordinates":true} 
[2026-07-27 13: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-07-27 13:50:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995930624001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:50:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358917411765747712,"note":"Value kept but may cause issues"} 
[2026-07-27 13:50:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8214776802406172672,"note":"Value kept but may cause issues"} 
[2026-07-27 13:50:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:50:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785140361000,"timestamp_ms":1785140361000,"timestamp_seconds":1785140361,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2a83728"} 
[2026-07-27 13:50:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:50:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:50:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-27 13:50:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13: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-07-27 13:50:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:50:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:50:14] local.INFO: Teltonika packet parsed successfully {"connection_id":144000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:50:14] local.INFO: Passing IMEI to GPS processor {"connection_id":144000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:50:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":144000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:50: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-07-27 13:50:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 13:50:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 13:50:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995930624001,"66":27800,"237":206,"85":14592,"24":58,"16":358917411765747712,"45":-8214776802406172672},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,85,24,16,45]} 
[2026-07-27 13:50:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 13:50:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 13:50:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995930624001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:50:14] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-07-27 13:50:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-27 13:50:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358917411765747712,"km_value":358917411765747.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:50:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8214776802406172672,"description":"Unknown IO ID 45"} 
[2026-07-27 13:50:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995930624001,"power":27800,"unknown_237":206,"unknown_85":14592,"ignition":58,"odometer":null,"unknown_45":-8214776802406172672}} 
[2026-07-27 13:50:14] local.INFO: DEBUG: GPS processor result {"connection_id":144000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:50:14] local.INFO: GPS data processed {"connection_id":144000,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:50:14] local.INFO: Acknowledgment sent {"connection_id":144000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:50:31] local.INFO: TCP Data received {"connection_id":143018,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:50:31] local.INFO: Processing buffer {"connection_id":143018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:50:31] local.INFO: IMEI packet received {"connection_id":143018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 13:50:31] local.INFO: IMEI acknowledgment sent {"connection_id":143018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 13:50:32] local.INFO: TCP Data received {"connection_id":143018,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:50:32] local.INFO: Processing buffer {"connection_id":143018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:50:32] local.INFO: IMEI packet received {"connection_id":143018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 13:50:32] local.INFO: IMEI acknowledgment sent {"connection_id":143018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:50:37] local.INFO: TCP Data received {"connection_id":143018,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:50:37] local.INFO: Processing buffer {"connection_id":143018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:50:37] local.INFO: IMEI packet received {"connection_id":143018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 13:50:37] local.INFO: IMEI acknowledgment sent {"connection_id":143018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:50:38] local.INFO: TCP Data received {"connection_id":144001,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2a62fa0012d195c40072012b0003d00ac26..."} 
[2026-07-27 13:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144001,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2a62fa0012d195c40072012b0003d00ac26..."} 
[2026-07-27 13:50:38] local.INFO: Processing buffer {"connection_id":144001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2a62fa0012d195c40072012b0003d00ac26..."} 
[2026-07-27 13:50:38] local.INFO: Packet analysis {"connection_id":144001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2a6"} 
[2026-07-27 13:50:38] local.INFO: Extracted packet for processing {"connection_id":144001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2a6"} 
[2026-07-27 13:50:38] local.INFO: GPS Element Parsed {"raw_longitude":756636736,"raw_latitude":119542448,"longitude_deg":75.6636736,"latitude_deg":11.9542448,"altitude":61,"angle":172,"satellites":38,"speed":0,"hex_longitude":"2d195c40","hex_latitude":"072012b0","is_valid_coordinates":true} 
[2026-07-27 13:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:50:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995892992001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:50:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8870765323616256,"note":"Value kept but may cause issues"} 
[2026-07-27 13:50:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827405948152623104,"note":"Value kept but may cause issues"} 
[2026-07-27 13:50:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:50:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785140228000,"timestamp_ms":1785140228000,"timestamp_seconds":1785140228,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2a62fa0"} 
[2026-07-27 13:50:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:50:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-27 13:50:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:50:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:50:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:50:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:50:38] local.INFO: Teltonika packet parsed successfully {"connection_id":144001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:50:38] local.INFO: Passing IMEI to GPS processor {"connection_id":144001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:50:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":144001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:50:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:50:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 13:50:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 13:50:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995892992001,"66":12558,"121":206,"28":31744,"24":0,"16":8870765323616256,"45":1827405948152623104},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 13:50:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 13:50:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 13:50:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995892992001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:50:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 13:50:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 13:50:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8870765323616256,"km_value":8870765323616.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:50:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827405948152623104,"description":"Unknown IO ID 45"} 
[2026-07-27 13:50:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995892992001,"power":12558,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1827405948152623104}} 
[2026-07-27 13:50:38] local.INFO: DEBUG: GPS processor result {"connection_id":144001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553373,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:50:38] local.INFO: GPS data processed {"connection_id":144001,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:50:38] local.INFO: Acknowledgment sent {"connection_id":144001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:50:38] local.INFO: TCP Data received {"connection_id":143018,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2a84e98012d8e4780059f62b8000600682d..."} 
[2026-07-27 13:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2a84e98012d8e4780059f62b8000600682d..."} 
[2026-07-27 13:50:38] local.INFO: Processing buffer {"connection_id":143018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2a84e98012d8e4780059f62b8000600682d..."} 
[2026-07-27 13:50:38] local.INFO: Packet analysis {"connection_id":143018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2a8"} 
[2026-07-27 13:50:38] local.INFO: Extracted packet for processing {"connection_id":143018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2a8"} 
[2026-07-27 13:50:38] local.INFO: GPS Element Parsed {"raw_longitude":764299136,"raw_latitude":94331576,"longitude_deg":76.4299136,"latitude_deg":9.4331576,"altitude":6,"angle":104,"satellites":45,"speed":60,"hex_longitude":"2d8e4780","hex_latitude":"059f62b8","is_valid_coordinates":true} 
[2026-07-27 13:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:50:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995932416001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:50:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358917845557444608,"note":"Value kept but may cause issues"} 
[2026-07-27 13:50:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8204080753291825152,"note":"Value kept but may cause issues"} 
[2026-07-27 13:50:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:50:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785140367000,"timestamp_ms":1785140367000,"timestamp_seconds":1785140367,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2a84e98"} 
[2026-07-27 13:50:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:50:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-27 13:50:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:50:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:50:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:50:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:50:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:50:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:50:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:50:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:50:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 13:50:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 13:50:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995932416001,"66":27919,"237":206,"85":14592,"24":60,"16":358917845557444608,"45":-8204080753291825152},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,85,24,16,45]} 
[2026-07-27 13:50:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 13:50:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 13:50:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995932416001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:50:38] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-07-27 13:50:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-27 13:50:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358917845557444608,"km_value":358917845557444.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:50:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8204080753291825152,"description":"Unknown IO ID 45"} 
[2026-07-27 13:50:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995932416001,"power":27919,"unknown_237":206,"unknown_85":14592,"ignition":60,"odometer":null,"unknown_45":-8204080753291825152}} 
[2026-07-27 13:50:38] local.INFO: DEBUG: GPS processor result {"connection_id":143018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:50:38] local.INFO: GPS data processed {"connection_id":143018,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:50:38] local.INFO: Acknowledgment sent {"connection_id":143018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:51:00] local.INFO: TCP Data received {"connection_id":142875,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142875,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:51:00] local.INFO: Processing buffer {"connection_id":142875,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:51:00] local.INFO: IMEI packet received {"connection_id":142875,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 13:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":142875,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 13:51:05] local.INFO: TCP Data received {"connection_id":142875,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142875,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:51:05] local.INFO: Processing buffer {"connection_id":142875,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:51:05] local.INFO: IMEI packet received {"connection_id":142875,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 13:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":142875,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:51:06] local.INFO: TCP Data received {"connection_id":142875,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2a681a8012d195c40072012b0003d00ac28..."} 
[2026-07-27 13:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2a681a8012d195c40072012b0003d00ac28..."} 
[2026-07-27 13:51:06] local.INFO: Processing buffer {"connection_id":142875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2a681a8012d195c40072012b0003d00ac28..."} 
[2026-07-27 13:51:06] local.INFO: Packet analysis {"connection_id":142875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2a6"} 
[2026-07-27 13:51:06] local.INFO: Extracted packet for processing {"connection_id":142875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2a6"} 
[2026-07-27 13:51:06] local.INFO: GPS Element Parsed {"raw_longitude":756636736,"raw_latitude":119542448,"longitude_deg":75.6636736,"latitude_deg":11.9542448,"altitude":61,"angle":172,"satellites":40,"speed":0,"hex_longitude":"2d195c40","hex_latitude":"072012b0","is_valid_coordinates":true} 
[2026-07-27 13:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:51:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995898368001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:51:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8870765323616256,"note":"Value kept but may cause issues"} 
[2026-07-27 13:51:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827405948152623104,"note":"Value kept but may cause issues"} 
[2026-07-27 13:51:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:51:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785140249000,"timestamp_ms":1785140249000,"timestamp_seconds":1785140249,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2a681a8"} 
[2026-07-27 13:51:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:51:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-07-27 13:51:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-07-27 13:51:06] local.WARNING: Large IO value detected {"io_id":131,"raw_value":3925868544,"note":"Value kept but may cause issues"} 
[2026-07-27 13:51:06] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2728674160,"note":"Value kept but may cause issues"} 
[2026-07-27 13:51:06] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249730036191728304,"note":"Value kept but may cause issues"} 
[2026-07-27 13:51:06] local.WARNING: Large IO value detected {"io_id":162,"raw_value":2766635009,"note":"Value kept but may cause issues"} 
[2026-07-27 13:51:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-27 13:51:06] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2213150720,"note":"Value kept but may cause issues"} 
[2026-07-27 13:51:06] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8719195500324067328,"note":"Value kept but may cause issues"} 
[2026-07-27 13:51:06] local.WARNING: Large IO value detected {"io_id":83,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-27 13:51:06] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-07-27 13:51:06] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,121,28,24,241,158,16,131,159,221,45,64,18,61,37,10,66,139,39,57,1,240,47,162,32,4,113,205,149,92,176,40,239,49,2,31,7,231,83,206],"length":575,"final_offset":705,"validated_count":40,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-07-27 13:51:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395702515522338816,"timestamp_seconds":4395702515522339.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 13:51:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:51:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:51:06] local.INFO: Teltonika packet parsed successfully {"connection_id":142875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:51:06] local.INFO: Passing IMEI to GPS processor {"connection_id":142875,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:51:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":142875,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:51:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:51:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 13:51:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 13:51:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995898368001,"66":11961,"121":206,"28":31744,"24":0,"16":8870765323616256,"45":1827405948152623104},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 13:51:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 13:51:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 13:51:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995898368001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:51:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 13:51:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 13:51:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8870765323616256,"km_value":8870765323616.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:51:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827405948152623104,"description":"Unknown IO ID 45"} 
[2026-07-27 13:51:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995898368001,"power":11961,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1827405948152623104}} 
[2026-07-27 13:51:06] local.INFO: DEBUG: GPS processor result {"connection_id":142875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553375,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:51:06] local.INFO: GPS data processed {"connection_id":142875,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:51:06] local.INFO: Acknowledgment sent {"connection_id":142875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:51:09] local.INFO: TCP Data received {"connection_id":143018,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2a86608012d8e6a00059f5950000600682d..."} 
[2026-07-27 13:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2a86608012d8e6a00059f5950000600682d..."} 
[2026-07-27 13:51:09] local.INFO: Processing buffer {"connection_id":143018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2a86608012d8e6a00059f5950000600682d..."} 
[2026-07-27 13:51:09] local.INFO: Packet analysis {"connection_id":143018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2a8"} 
[2026-07-27 13:51:09] local.INFO: Extracted packet for processing {"connection_id":143018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2a8"} 
[2026-07-27 13:51:09] local.INFO: GPS Element Parsed {"raw_longitude":764307968,"raw_latitude":94329168,"longitude_deg":76.4307968,"latitude_deg":9.4329168,"altitude":6,"angle":104,"satellites":45,"speed":59,"hex_longitude":"2d8e6a00","hex_latitude":"059f5950","is_valid_coordinates":true} 
[2026-07-27 13:51:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:51:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995933952001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:51:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358918283644108800,"note":"Value kept but may cause issues"} 
[2026-07-27 13:51:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8194440235340089344,"note":"Value kept but may cause issues"} 
[2026-07-27 13:51:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:51:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785140373000,"timestamp_ms":1785140373000,"timestamp_seconds":1785140373,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2a86608"} 
[2026-07-27 13:51:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:51:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-27 13:51:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:51:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:51:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:51:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:51:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:51:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:51:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:51: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-07-27 13:51:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 13:51:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 13:51:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995933952001,"66":27919,"237":206,"85":14592,"24":59,"16":358918283644108800,"45":-8194440235340089344},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,85,24,16,45]} 
[2026-07-27 13:51:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 13:51:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 13:51:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995933952001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:51:09] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-07-27 13:51:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-27 13:51:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358918283644108800,"km_value":358918283644108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:51:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8194440235340089344,"description":"Unknown IO ID 45"} 
[2026-07-27 13:51:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995933952001,"power":27919,"unknown_237":206,"unknown_85":14592,"ignition":59,"odometer":null,"unknown_45":-8194440235340089344}} 
[2026-07-27 13:51:09] local.INFO: DEBUG: GPS processor result {"connection_id":143018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:51:09] local.INFO: GPS data processed {"connection_id":143018,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:51:09] local.INFO: Acknowledgment sent {"connection_id":143018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:51:32] local.INFO: TCP Data received {"connection_id":142876,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:51:32] local.INFO: Processing buffer {"connection_id":142876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:51:32] local.INFO: IMEI packet received {"connection_id":142876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 13:51:32] local.INFO: IMEI acknowledgment sent {"connection_id":142876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 13:51:36] local.INFO: TCP Data received {"connection_id":142876,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:51:36] local.INFO: Processing buffer {"connection_id":142876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:51:36] local.INFO: IMEI packet received {"connection_id":142876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 13:51:36] local.INFO: IMEI acknowledgment sent {"connection_id":142876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:51:36] local.INFO: TCP Data received {"connection_id":142876,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2a97778012d8ff5c0059ef1900006006a2f..."} 
[2026-07-27 13:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2a97778012d8ff5c0059ef1900006006a2f..."} 
[2026-07-27 13:51:36] local.INFO: Processing buffer {"connection_id":142876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2a97778012d8ff5c0059ef1900006006a2f..."} 
[2026-07-27 13:51:36] local.INFO: Packet analysis {"connection_id":142876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2a9"} 
[2026-07-27 13:51:36] local.INFO: Extracted packet for processing {"connection_id":142876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2a9"} 
[2026-07-27 13:51:36] local.INFO: GPS Element Parsed {"raw_longitude":764409280,"raw_latitude":94302608,"longitude_deg":76.440928,"latitude_deg":9.4302608,"altitude":6,"angle":106,"satellites":47,"speed":58,"hex_longitude":"2d8ff5c0","hex_latitude":"059ef190","is_valid_coordinates":true} 
[2026-07-27 13:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:51:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995951616001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:51:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358923295870943232,"note":"Value kept but may cause issues"} 
[2026-07-27 13:51:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8084453888197160960,"note":"Value kept but may cause issues"} 
[2026-07-27 13:51:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:51:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785140443000,"timestamp_ms":1785140443000,"timestamp_seconds":1785140443,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2a97778"} 
[2026-07-27 13:51:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:51:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-27 13:51:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:51:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:51:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:51:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:51:36] local.INFO: Teltonika packet parsed successfully {"connection_id":142876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:51:36] local.INFO: Passing IMEI to GPS processor {"connection_id":142876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:51:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":142876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:51:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:51:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 13:51:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 13:51:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995951616001,"66":27767,"119":206,"85":14592,"24":58,"16":358923295870943232,"45":-8084453888197160960},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,85,24,16,45]} 
[2026-07-27 13:51:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 13:51:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 13:51:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995951616001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:51:36] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-07-27 13:51:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-27 13:51:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358923295870943232,"km_value":358923295870943.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:51:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8084453888197160960,"description":"Unknown IO ID 45"} 
[2026-07-27 13:51:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995951616001,"power":27767,"unknown_119":206,"unknown_85":14592,"ignition":58,"odometer":null,"unknown_45":-8084453888197160960}} 
[2026-07-27 13:51:36] local.INFO: DEBUG: GPS processor result {"connection_id":142876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:51:36] local.INFO: GPS data processed {"connection_id":142876,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:51:36] local.INFO: Acknowledgment sent {"connection_id":142876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:51:38] local.INFO: TCP Data received {"connection_id":142875,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2a6d3b0012d195c40072012b0003d00ac27..."} 
[2026-07-27 13:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2a6d3b0012d195c40072012b0003d00ac27..."} 
[2026-07-27 13:51:38] local.INFO: Processing buffer {"connection_id":142875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2a6d3b0012d195c40072012b0003d00ac27..."} 
[2026-07-27 13:51:38] local.INFO: Packet analysis {"connection_id":142875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2a6"} 
[2026-07-27 13:51:38] local.INFO: Extracted packet for processing {"connection_id":142875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2a6"} 
[2026-07-27 13:51:38] local.INFO: GPS Element Parsed {"raw_longitude":756636736,"raw_latitude":119542448,"longitude_deg":75.6636736,"latitude_deg":11.9542448,"altitude":61,"angle":172,"satellites":39,"speed":0,"hex_longitude":"2d195c40","hex_latitude":"072012b0","is_valid_coordinates":true} 
[2026-07-27 13:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:51:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995903744001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:51:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8870765323616256,"note":"Value kept but may cause issues"} 
[2026-07-27 13:51:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827405948152623104,"note":"Value kept but may cause issues"} 
[2026-07-27 13:51:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:51:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785140270000,"timestamp_ms":1785140270000,"timestamp_seconds":1785140270,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2a6d3b0"} 
[2026-07-27 13:51:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:51:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-27 13:51:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2093,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:51:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:51:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:51:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:51:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:51:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142875,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:51:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142875,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:51:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:51:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 13:51:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 13:51:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995903744001,"66":12526,"121":206,"28":31744,"24":0,"16":8870765323616256,"45":1827405948152623104},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 13:51:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 13:51:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 13:51:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995903744001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:51:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 13:51:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 13:51:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8870765323616256,"km_value":8870765323616.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:51:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827405948152623104,"description":"Unknown IO ID 45"} 
[2026-07-27 13:51:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995903744001,"power":12526,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1827405948152623104}} 
[2026-07-27 13:51:38] local.INFO: DEBUG: GPS processor result {"connection_id":142875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553378,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:51:38] local.INFO: GPS data processed {"connection_id":142875,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:51:38] local.INFO: Acknowledgment sent {"connection_id":142875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:51:58] local.INFO: TCP Data received {"connection_id":143019,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143019,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:51:58] local.INFO: Processing buffer {"connection_id":143019,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:51:58] local.INFO: IMEI packet received {"connection_id":143019,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 13:51:58] local.INFO: IMEI acknowledgment sent {"connection_id":143019,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 13:52:00] local.INFO: TCP Data received {"connection_id":143019,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143019,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:52:00] local.INFO: Processing buffer {"connection_id":143019,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:52:00] local.INFO: IMEI packet received {"connection_id":143019,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 13:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":143019,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:52:05] local.INFO: TCP Data received {"connection_id":143019,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143019,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:52:05] local.INFO: Processing buffer {"connection_id":143019,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:52:05] local.INFO: IMEI packet received {"connection_id":143019,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 13:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":143019,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:52:06] local.INFO: TCP Data received {"connection_id":143019,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2a725b8012d195c40072012b0003d00ac25..."} 
[2026-07-27 13:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2a725b8012d195c40072012b0003d00ac25..."} 
[2026-07-27 13:52:06] local.INFO: Processing buffer {"connection_id":143019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2a725b8012d195c40072012b0003d00ac25..."} 
[2026-07-27 13:52:06] local.INFO: Packet analysis {"connection_id":143019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2a7"} 
[2026-07-27 13:52:06] local.INFO: Extracted packet for processing {"connection_id":143019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2a7"} 
[2026-07-27 13:52:06] local.INFO: GPS Element Parsed {"raw_longitude":756636736,"raw_latitude":119542448,"longitude_deg":75.6636736,"latitude_deg":11.9542448,"altitude":61,"angle":172,"satellites":37,"speed":0,"hex_longitude":"2d195c40","hex_latitude":"072012b0","is_valid_coordinates":true} 
[2026-07-27 13:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:52:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995909120001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:52:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8870765323616256,"note":"Value kept but may cause issues"} 
[2026-07-27 13:52:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827405948152623104,"note":"Value kept but may cause issues"} 
[2026-07-27 13:52:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:52:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785140291000,"timestamp_ms":1785140291000,"timestamp_seconds":1785140291,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2a725b8"} 
[2026-07-27 13:52:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:52:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-27 13:52: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-07-27 13:52:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:52:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:52:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:52:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:52:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:52:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:52:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:52:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 13:52:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 13:52:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995909120001,"66":12548,"121":206,"28":31744,"24":0,"16":8870765323616256,"45":1827405948152623104},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 13:52:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 13:52:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 13:52:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995909120001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:52:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 13:52:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 13:52:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8870765323616256,"km_value":8870765323616.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:52:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827405948152623104,"description":"Unknown IO ID 45"} 
[2026-07-27 13:52:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995909120001,"power":12548,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1827405948152623104}} 
[2026-07-27 13:52:06] local.INFO: DEBUG: GPS processor result {"connection_id":143019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553379,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:52:06] local.INFO: GPS data processed {"connection_id":143019,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:52:06] local.INFO: Acknowledgment sent {"connection_id":143019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:52:08] local.INFO: TCP Data received {"connection_id":142876,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2a992d0012d9018c0059ee838000700682f..."} 
[2026-07-27 13:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2a992d0012d9018c0059ee838000700682f..."} 
[2026-07-27 13:52:08] local.INFO: Processing buffer {"connection_id":142876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2a992d0012d9018c0059ee838000700682f..."} 
[2026-07-27 13:52:08] local.INFO: Packet analysis {"connection_id":142876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2a9"} 
[2026-07-27 13:52:08] local.INFO: Extracted packet for processing {"connection_id":142876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2a9"} 
[2026-07-27 13:52:08] local.INFO: GPS Element Parsed {"raw_longitude":764418240,"raw_latitude":94300216,"longitude_deg":76.441824,"latitude_deg":9.4300216,"altitude":7,"angle":104,"satellites":47,"speed":54,"hex_longitude":"2d9018c0","hex_latitude":"059ee838","is_valid_coordinates":true} 
[2026-07-27 13:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:52:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995953408001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:52:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358923742547542016,"note":"Value kept but may cause issues"} 
[2026-07-27 13:52:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8073335626617745408,"note":"Value kept but may cause issues"} 
[2026-07-27 13:52:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:52:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785140450000,"timestamp_ms":1785140450000,"timestamp_seconds":1785140450,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2a992d0"} 
[2026-07-27 13:52:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:52:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-27 13:52:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:52:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:52:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:52:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:52:08] local.INFO: Teltonika packet parsed successfully {"connection_id":142876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:52:08] local.INFO: Passing IMEI to GPS processor {"connection_id":142876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:52:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":142876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:52:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:52:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 13:52:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 13:52:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995953408001,"66":27843,"119":206,"85":14592,"24":54,"16":358923742547542016,"45":-8073335626617745408},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,85,24,16,45]} 
[2026-07-27 13:52:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 13:52:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 13:52:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995953408001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:52:08] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-07-27 13:52:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-27 13:52:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358923742547542016,"km_value":358923742547542.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:52:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8073335626617745408,"description":"Unknown IO ID 45"} 
[2026-07-27 13:52:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995953408001,"power":27843,"unknown_119":206,"unknown_85":14592,"ignition":54,"odometer":null,"unknown_45":-8073335626617745408}} 
[2026-07-27 13:52:08] local.INFO: DEBUG: GPS processor result {"connection_id":142876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:52:08] local.INFO: GPS data processed {"connection_id":142876,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:52:08] local.INFO: Acknowledgment sent {"connection_id":142876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:52:32] local.INFO: TCP Data received {"connection_id":143020,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:52:32] local.INFO: Processing buffer {"connection_id":143020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:52:32] local.INFO: IMEI packet received {"connection_id":143020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 13:52:32] local.INFO: IMEI acknowledgment sent {"connection_id":143020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 13:52:37] local.INFO: TCP Data received {"connection_id":143020,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:52:37] local.INFO: Processing buffer {"connection_id":143020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:52:37] local.INFO: IMEI packet received {"connection_id":143020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 13:52:37] local.INFO: IMEI acknowledgment sent {"connection_id":143020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:52:38] local.INFO: TCP Data received {"connection_id":143019,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2a777c0012d195c40072012b0003d00ac28..."} 
[2026-07-27 13:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2a777c0012d195c40072012b0003d00ac28..."} 
[2026-07-27 13:52:38] local.INFO: Processing buffer {"connection_id":143019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2a777c0012d195c40072012b0003d00ac28..."} 
[2026-07-27 13:52:38] local.INFO: Packet analysis {"connection_id":143019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2a7"} 
[2026-07-27 13:52:38] local.INFO: Extracted packet for processing {"connection_id":143019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2a7"} 
[2026-07-27 13:52:38] local.INFO: GPS Element Parsed {"raw_longitude":756636736,"raw_latitude":119542448,"longitude_deg":75.6636736,"latitude_deg":11.9542448,"altitude":61,"angle":172,"satellites":40,"speed":0,"hex_longitude":"2d195c40","hex_latitude":"072012b0","is_valid_coordinates":true} 
[2026-07-27 13:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:52:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995914496001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:52:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8870765323616256,"note":"Value kept but may cause issues"} 
[2026-07-27 13:52:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827405948152623104,"note":"Value kept but may cause issues"} 
[2026-07-27 13:52:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:52:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785140312000,"timestamp_ms":1785140312000,"timestamp_seconds":1785140312,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2a777c0"} 
[2026-07-27 13:52:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:52:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-27 13:52:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-07-27 13:52:38] local.WARNING: Large IO value detected {"io_id":131,"raw_value":3925868544,"note":"Value kept but may cause issues"} 
[2026-07-27 13:52:38] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2728737160,"note":"Value kept but may cause issues"} 
[2026-07-27 13:52:38] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184199848141,"note":"Value kept but may cause issues"} 
[2026-07-27 13:52:38] local.WARNING: Large IO value detected {"io_id":162,"raw_value":2782763009,"note":"Value kept but may cause issues"} 
[2026-07-27 13:52:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-27 13:52:38] local.WARNING: Large IO value detected {"io_id":139,"raw_value":2415996185,"note":"Value kept but may cause issues"} 
[2026-07-27 13:52:38] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2213150720,"note":"Value kept but may cause issues"} 
[2026-07-27 13:52:38] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8719195500324067328,"note":"Value kept but may cause issues"} 
[2026-07-27 13:52:38] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,121,28,24,241,158,16,131,159,211,45,64,18,61,39,10,66,129,40,47,1,240,14,162,32,4,113,205,139,92,176,239,49,2,31,7,231],"length":485,"final_offset":615,"validated_count":37,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-07-27 13:52:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395702511227371520,"timestamp_seconds":4395702511227371.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 13:52:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:52:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:52:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:52:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:52:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:52:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:52:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 13:52:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 13:52:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995914496001,"66":12504,"121":206,"28":31744,"24":0,"16":8870765323616256,"45":1827405948152623104},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 13:52:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 13:52:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 13:52:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995914496001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:52:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 13:52:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 13:52:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8870765323616256,"km_value":8870765323616.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:52:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827405948152623104,"description":"Unknown IO ID 45"} 
[2026-07-27 13:52:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995914496001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1827405948152623104}} 
[2026-07-27 13:52:38] local.INFO: DEBUG: GPS processor result {"connection_id":143019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553381,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:52:38] local.INFO: GPS data processed {"connection_id":143019,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:52:38] local.INFO: Acknowledgment sent {"connection_id":143019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:52:38] local.INFO: TCP Data received {"connection_id":143020,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2a9ae28012d903f00059ede38000800682f..."} 
[2026-07-27 13:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143020,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2a9ae28012d903f00059ede38000800682f..."} 
[2026-07-27 13:52:38] local.INFO: Processing buffer {"connection_id":143020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2a9ae28012d903f00059ede38000800682f..."} 
[2026-07-27 13:52:38] local.INFO: Packet analysis {"connection_id":143020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2a9"} 
[2026-07-27 13:52:38] local.INFO: Extracted packet for processing {"connection_id":143020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2a9"} 
[2026-07-27 13:52:38] local.INFO: GPS Element Parsed {"raw_longitude":764428032,"raw_latitude":94297656,"longitude_deg":76.4428032,"latitude_deg":9.4297656,"altitude":8,"angle":104,"satellites":47,"speed":58,"hex_longitude":"2d903f00","hex_latitude":"059ede38","is_valid_coordinates":true} 
[2026-07-27 13:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:52:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995955200001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:52:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358924223583879168,"note":"Value kept but may cause issues"} 
[2026-07-27 13:52:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8063484002433484800,"note":"Value kept but may cause issues"} 
[2026-07-27 13:52:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:52:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785140457000,"timestamp_ms":1785140457000,"timestamp_seconds":1785140457,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2a9ae28"} 
[2026-07-27 13:52:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:52:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-27 13:52:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:52:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:52:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:52:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:52:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:52:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:52:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:52:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:52:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 13:52:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 13:52:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995955200001,"66":27908,"119":206,"85":14592,"24":58,"16":358924223583879168,"45":-8063484002433484800},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,85,24,16,45]} 
[2026-07-27 13:52:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 13:52:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 13:52:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995955200001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:52:38] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-07-27 13:52:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-27 13:52:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358924223583879168,"km_value":358924223583879.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:52:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8063484002433484800,"description":"Unknown IO ID 45"} 
[2026-07-27 13:52:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995955200001,"power":27908,"unknown_119":206,"unknown_85":14592,"ignition":58,"odometer":null,"unknown_45":-8063484002433484800}} 
[2026-07-27 13:52:38] local.INFO: DEBUG: GPS processor result {"connection_id":143020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:52:38] local.INFO: GPS data processed {"connection_id":143020,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:52:38] local.INFO: Acknowledgment sent {"connection_id":143020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:53:00] local.INFO: TCP Data received {"connection_id":142877,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142877,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:53:00] local.INFO: Processing buffer {"connection_id":142877,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:53:00] local.INFO: IMEI packet received {"connection_id":142877,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 13:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":142877,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 13:53:01] local.INFO: TCP Data received {"connection_id":142877,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142877,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:53:01] local.INFO: Processing buffer {"connection_id":142877,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:53:01] local.INFO: IMEI packet received {"connection_id":142877,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 13:53:01] local.INFO: IMEI acknowledgment sent {"connection_id":142877,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:53:05] local.INFO: TCP Data received {"connection_id":142877,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142877,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:53:05] local.INFO: Processing buffer {"connection_id":142877,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:53:05] local.INFO: IMEI packet received {"connection_id":142877,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 13:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":142877,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:53:07] local.INFO: TCP Data received {"connection_id":142877,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2a7c9c8012d195c40072012b0003d00ac27..."} 
[2026-07-27 13:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2a7c9c8012d195c40072012b0003d00ac27..."} 
[2026-07-27 13:53:07] local.INFO: Processing buffer {"connection_id":142877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2a7c9c8012d195c40072012b0003d00ac27..."} 
[2026-07-27 13:53:07] local.INFO: Packet analysis {"connection_id":142877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2a7"} 
[2026-07-27 13:53:07] local.INFO: Extracted packet for processing {"connection_id":142877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2a7"} 
[2026-07-27 13:53:07] local.INFO: GPS Element Parsed {"raw_longitude":756636736,"raw_latitude":119542448,"longitude_deg":75.6636736,"latitude_deg":11.9542448,"altitude":61,"angle":172,"satellites":39,"speed":0,"hex_longitude":"2d195c40","hex_latitude":"072012b0","is_valid_coordinates":true} 
[2026-07-27 13: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-07-27 13:53:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995919872001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:53:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8870765323616256,"note":"Value kept but may cause issues"} 
[2026-07-27 13:53:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827405948152623104,"note":"Value kept but may cause issues"} 
[2026-07-27 13:53:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:53:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785140333000,"timestamp_ms":1785140333000,"timestamp_seconds":1785140333,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2a7c9c8"} 
[2026-07-27 13:53:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:53:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-27 13:53:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13: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-07-27 13:53:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:53:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:53:07] local.INFO: Teltonika packet parsed successfully {"connection_id":142877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:53:07] local.INFO: Passing IMEI to GPS processor {"connection_id":142877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:53:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":142877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:53:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:53:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 13:53:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 13:53:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995919872001,"66":12558,"121":206,"28":31744,"24":0,"16":8870765323616256,"45":1827405948152623104},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 13:53:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 13:53:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 13:53:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995919872001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:53:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 13:53:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 13:53:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8870765323616256,"km_value":8870765323616.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:53:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827405948152623104,"description":"Unknown IO ID 45"} 
[2026-07-27 13:53:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995919872001,"power":12558,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1827405948152623104}} 
[2026-07-27 13:53:07] local.INFO: DEBUG: GPS processor result {"connection_id":142877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553383,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:53:07] local.INFO: GPS data processed {"connection_id":142877,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:53:07] local.INFO: Acknowledgment sent {"connection_id":142877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:53:09] local.INFO: TCP Data received {"connection_id":143020,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2aaea90012d91f600059e6998000800692f..."} 
[2026-07-27 13:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143020,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2aaea90012d91f600059e6998000800692f..."} 
[2026-07-27 13:53:09] local.INFO: Processing buffer {"connection_id":143020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2aaea90012d91f600059e6998000800692f..."} 
[2026-07-27 13:53:09] local.INFO: Packet analysis {"connection_id":143020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2aa"} 
[2026-07-27 13:53:09] local.INFO: Extracted packet for processing {"connection_id":143020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2aa"} 
[2026-07-27 13:53:09] local.INFO: GPS Element Parsed {"raw_longitude":764540416,"raw_latitude":94267800,"longitude_deg":76.4540416,"latitude_deg":9.42678,"altitude":8,"angle":105,"satellites":47,"speed":59,"hex_longitude":"2d91f600","hex_latitude":"059e6998","is_valid_coordinates":true} 
[2026-07-27 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-07-27 13:53:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995976192001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:53:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358929789861494784,"note":"Value kept but may cause issues"} 
[2026-07-27 13:53:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7938720219014184960,"note":"Value kept but may cause issues"} 
[2026-07-27 13:53:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:53:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785140538000,"timestamp_ms":1785140538000,"timestamp_seconds":1785140538,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2aaea90"} 
[2026-07-27 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-07-27 13:53:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-27 13:53:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 13:53:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:53:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:53:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:53:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:53: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-07-27 13:53:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 13:53:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 13:53:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995976192001,"66":27865,"118":206,"85":14592,"24":59,"16":358929789861494784,"45":-7938720219014184960},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,85,24,16,45]} 
[2026-07-27 13:53:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 13:53:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 13:53:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995976192001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:53:09] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 13:53:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-27 13:53:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358929789861494784,"km_value":358929789861494.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:53:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7938720219014184960,"description":"Unknown IO ID 45"} 
[2026-07-27 13:53:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995976192001,"power":27865,"unknown_118":206,"unknown_85":14592,"ignition":59,"odometer":null,"unknown_45":-7938720219014184960}} 
[2026-07-27 13:53:09] local.INFO: DEBUG: GPS processor result {"connection_id":143020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:53:09] local.INFO: GPS data processed {"connection_id":143020,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:53:09] local.INFO: Acknowledgment sent {"connection_id":143020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:53:32] local.INFO: TCP Data received {"connection_id":143021,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:53:32] local.INFO: Processing buffer {"connection_id":143021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:53:32] local.INFO: IMEI packet received {"connection_id":143021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 13:53:32] local.INFO: IMEI acknowledgment sent {"connection_id":143021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 13:53:33] local.INFO: TCP Data received {"connection_id":143021,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:53:33] local.INFO: Processing buffer {"connection_id":143021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:53:33] local.INFO: IMEI packet received {"connection_id":143021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 13:53:33] local.INFO: IMEI acknowledgment sent {"connection_id":143021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:53:37] local.INFO: TCP Data received {"connection_id":143021,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:53:37] local.INFO: Processing buffer {"connection_id":143021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:53:37] local.INFO: IMEI packet received {"connection_id":143021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 13:53:37] local.INFO: IMEI acknowledgment sent {"connection_id":143021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:53:38] local.INFO: TCP Data received {"connection_id":143021,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2ab0200012d921800059e6050000800692f..."} 
[2026-07-27 13:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143021,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2ab0200012d921800059e6050000800692f..."} 
[2026-07-27 13:53:38] local.INFO: Processing buffer {"connection_id":143021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2ab0200012d921800059e6050000800692f..."} 
[2026-07-27 13:53:38] local.INFO: Packet analysis {"connection_id":143021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2ab"} 
[2026-07-27 13:53:38] local.INFO: Extracted packet for processing {"connection_id":143021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2ab"} 
[2026-07-27 13:53:38] local.INFO: GPS Element Parsed {"raw_longitude":764549120,"raw_latitude":94265424,"longitude_deg":76.454912,"latitude_deg":9.4265424,"altitude":8,"angle":105,"satellites":47,"speed":58,"hex_longitude":"2d921800","hex_latitude":"059e6050","is_valid_coordinates":true} 
[2026-07-27 13:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:53:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995977728001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:53:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358930223653191680,"note":"Value kept but may cause issues"} 
[2026-07-27 13:53:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7929150069806622720,"note":"Value kept but may cause issues"} 
[2026-07-27 13:53:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:53:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785140544000,"timestamp_ms":1785140544000,"timestamp_seconds":1785140544,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2ab0200"} 
[2026-07-27 13:53:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:53:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-27 13:53:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:53:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:53:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:53:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:53:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:53:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:53:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:53:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:53:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 13:53:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 13:53:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995977728001,"66":27908,"97":206,"85":14592,"24":58,"16":358930223653191680,"45":-7929150069806622720},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-27 13:53:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 13:53:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 13:53:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995977728001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:53:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-27 13:53:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-27 13:53:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358930223653191680,"km_value":358930223653191.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:53:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7929150069806622720,"description":"Unknown IO ID 45"} 
[2026-07-27 13:53:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995977728001,"power":27908,"unknown_97":206,"unknown_85":14592,"ignition":58,"odometer":null,"unknown_45":-7929150069806622720}} 
[2026-07-27 13:53:38] local.INFO: DEBUG: GPS processor result {"connection_id":143021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:53:38] local.INFO: GPS data processed {"connection_id":143021,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:53:38] local.INFO: Acknowledgment sent {"connection_id":143021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:53:38] local.INFO: TCP Data received {"connection_id":142877,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2a81bd0012d195c40072012b0003d00ac26..."} 
[2026-07-27 13:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2a81bd0012d195c40072012b0003d00ac26..."} 
[2026-07-27 13:53:38] local.INFO: Processing buffer {"connection_id":142877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2a81bd0012d195c40072012b0003d00ac26..."} 
[2026-07-27 13:53:38] local.INFO: Packet analysis {"connection_id":142877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2a8"} 
[2026-07-27 13:53:38] local.INFO: Extracted packet for processing {"connection_id":142877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2a8"} 
[2026-07-27 13:53:38] local.INFO: GPS Element Parsed {"raw_longitude":756636736,"raw_latitude":119542448,"longitude_deg":75.6636736,"latitude_deg":11.9542448,"altitude":61,"angle":172,"satellites":38,"speed":0,"hex_longitude":"2d195c40","hex_latitude":"072012b0","is_valid_coordinates":true} 
[2026-07-27 13:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:53:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995925248001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:53:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8870765323616256,"note":"Value kept but may cause issues"} 
[2026-07-27 13:53:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827405948152623104,"note":"Value kept but may cause issues"} 
[2026-07-27 13:53:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:53:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785140354000,"timestamp_ms":1785140354000,"timestamp_seconds":1785140354,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2a81bd0"} 
[2026-07-27 13:53:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:53:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-07-27 13:53:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-07-27 13:53:38] local.WARNING: Large IO value detected {"io_id":131,"raw_value":3925868544,"note":"Value kept but may cause issues"} 
[2026-07-27 13:53:38] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2728779160,"note":"Value kept but may cause issues"} 
[2026-07-27 13:53:38] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249730036191728304,"note":"Value kept but may cause issues"} 
[2026-07-27 13:53:38] local.WARNING: Large IO value detected {"io_id":162,"raw_value":2793515009,"note":"Value kept but may cause issues"} 
[2026-07-27 13:53:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-27 13:53:38] local.WARNING: Large IO value detected {"io_id":47,"raw_value":2684431641,"note":"Value kept but may cause issues"} 
[2026-07-27 13:53:38] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2213150720,"note":"Value kept but may cause issues"} 
[2026-07-27 13:53:38] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8719195500324067328,"note":"Value kept but may cause issues"} 
[2026-07-27 13:53:38] local.WARNING: Large IO value detected {"io_id":83,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-27 13:53:38] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-07-27 13:53:38] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,121,28,24,241,158,16,131,159,119,45,64,18,61,40,10,66,37,211,1,240,238,162,32,4,113,205,47,92,176,38,239,49,2,31,7,231,83,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-07-27 13:53:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395702519817306112,"timestamp_seconds":4395702519817306.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 13:53:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:53:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:53:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:53:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:53:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:53:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:53:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 13:53:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 13:53:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995925248001,"66":12548,"121":206,"28":31744,"24":0,"16":8870765323616256,"45":1827405948152623104},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 13:53:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 13:53:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 13:53:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995925248001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:53:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 13:53:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 13:53:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8870765323616256,"km_value":8870765323616.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:53:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827405948152623104,"description":"Unknown IO ID 45"} 
[2026-07-27 13:53:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995925248001,"power":12548,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1827405948152623104}} 
[2026-07-27 13:53:38] local.INFO: DEBUG: GPS processor result {"connection_id":142877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553386,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:53:38] local.INFO: GPS data processed {"connection_id":142877,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:53:38] local.INFO: Acknowledgment sent {"connection_id":142877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:54:00] local.INFO: TCP Data received {"connection_id":145297,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145297,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:54:00] local.INFO: Processing buffer {"connection_id":145297,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:54:00] local.INFO: IMEI packet received {"connection_id":145297,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 13:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":145297,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 13:54:04] local.INFO: TCP Data received {"connection_id":145297,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145297,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:54:04] local.INFO: Processing buffer {"connection_id":145297,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:54:04] local.INFO: IMEI packet received {"connection_id":145297,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 13:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":145297,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:54:05] local.INFO: TCP Data received {"connection_id":145297,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2a86dd8012d195c40072012b0003d00ac27..."} 
[2026-07-27 13:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2a86dd8012d195c40072012b0003d00ac27..."} 
[2026-07-27 13:54:05] local.INFO: Processing buffer {"connection_id":145297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2a86dd8012d195c40072012b0003d00ac27..."} 
[2026-07-27 13:54:05] local.INFO: Packet analysis {"connection_id":145297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2a8"} 
[2026-07-27 13:54:05] local.INFO: Extracted packet for processing {"connection_id":145297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2a8"} 
[2026-07-27 13:54:05] local.INFO: GPS Element Parsed {"raw_longitude":756636736,"raw_latitude":119542448,"longitude_deg":75.6636736,"latitude_deg":11.9542448,"altitude":61,"angle":172,"satellites":39,"speed":0,"hex_longitude":"2d195c40","hex_latitude":"072012b0","is_valid_coordinates":true} 
[2026-07-27 13:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:54:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995930624001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:54:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8870765323616256,"note":"Value kept but may cause issues"} 
[2026-07-27 13:54:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827405948152623104,"note":"Value kept but may cause issues"} 
[2026-07-27 13:54:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:54:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785140375000,"timestamp_ms":1785140375000,"timestamp_seconds":1785140375,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2a86dd8"} 
[2026-07-27 13:54:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:54:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-27 13:54:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-07-27 13:54:05] local.WARNING: Large IO value detected {"io_id":131,"raw_value":3925868544,"note":"Value kept but may cause issues"} 
[2026-07-27 13:54:05] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2728800160,"note":"Value kept but may cause issues"} 
[2026-07-27 13:54:05] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184197685453,"note":"Value kept but may cause issues"} 
[2026-07-27 13:54:05] local.WARNING: Large IO value detected {"io_id":162,"raw_value":2798891009,"note":"Value kept but may cause issues"} 
[2026-07-27 13:54:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-27 13:54:05] local.WARNING: Large IO value detected {"io_id":129,"raw_value":2818649369,"note":"Value kept but may cause issues"} 
[2026-07-27 13:54:05] local.WARNING: Large IO value detected {"io_id":46,"raw_value":3103837671,"note":"Value kept but may cause issues"} 
[2026-07-27 13:54:05] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2213150720,"note":"Value kept but may cause issues"} 
[2026-07-27 13:54:05] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8719195500324067328,"note":"Value kept but may cause issues"} 
[2026-07-27 13:54:05] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,121,28,24,241,158,16,131,159,201,45,64,18,61,39,10,66,119,40,37,1,240,4,162,32,113,205,129,92,176,239,46,2,31,7,231],"length":485,"final_offset":615,"validated_count":36,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-07-27 13:54:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395702515522338816,"timestamp_seconds":4395702515522339.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 13:54:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:54:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:54:05] local.INFO: Teltonika packet parsed successfully {"connection_id":145297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:54:05] local.INFO: Passing IMEI to GPS processor {"connection_id":145297,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:54:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":145297,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:54:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:54:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 13:54:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 13:54:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995930624001,"66":12526,"121":206,"28":31744,"24":0,"16":8870765323616256,"45":1827405948152623104},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 13:54:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 13:54:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 13:54:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995930624001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:54:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 13:54:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 13:54:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8870765323616256,"km_value":8870765323616.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:54:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827405948152623104,"description":"Unknown IO ID 45"} 
[2026-07-27 13:54:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995930624001,"power":12526,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1827405948152623104}} 
[2026-07-27 13:54:05] local.INFO: DEBUG: GPS processor result {"connection_id":145297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553387,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:54:05] local.INFO: GPS data processed {"connection_id":145297,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:54:05] local.INFO: Acknowledgment sent {"connection_id":145297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:54:09] local.INFO: TCP Data received {"connection_id":143021,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2ab1970012d923a00059e5788000800682f..."} 
[2026-07-27 13:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143021,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2ab1970012d923a00059e5788000800682f..."} 
[2026-07-27 13:54:09] local.INFO: Processing buffer {"connection_id":143021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2ab1970012d923a00059e5788000800682f..."} 
[2026-07-27 13:54:09] local.INFO: Packet analysis {"connection_id":143021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2ab"} 
[2026-07-27 13:54:09] local.INFO: Extracted packet for processing {"connection_id":143021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2ab"} 
[2026-07-27 13:54:09] local.INFO: GPS Element Parsed {"raw_longitude":764557824,"raw_latitude":94263176,"longitude_deg":76.4557824,"latitude_deg":9.4263176,"altitude":8,"angle":104,"satellites":47,"speed":59,"hex_longitude":"2d923a00","hex_latitude":"059e5788","is_valid_coordinates":true} 
[2026-07-27 13:54:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:54:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995979264001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:54:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358930653149921280,"note":"Value kept but may cause issues"} 
[2026-07-27 13:54:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7919579920599068672,"note":"Value kept but may cause issues"} 
[2026-07-27 13:54:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:54:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785140550000,"timestamp_ms":1785140550000,"timestamp_seconds":1785140550,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2ab1970"} 
[2026-07-27 13:54:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:54:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-27 13:54:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:54:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:54:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:54:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:54:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:54:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:54:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:54: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-07-27 13:54:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 13:54:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 13:54:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995979264001,"66":27876,"97":206,"85":14592,"24":59,"16":358930653149921280,"45":-7919579920599068672},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-27 13:54:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 13:54:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 13:54:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995979264001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:54:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-27 13:54:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-27 13:54:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358930653149921280,"km_value":358930653149921.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:54:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7919579920599068672,"description":"Unknown IO ID 45"} 
[2026-07-27 13:54:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995979264001,"power":27876,"unknown_97":206,"unknown_85":14592,"ignition":59,"odometer":null,"unknown_45":-7919579920599068672}} 
[2026-07-27 13:54:09] local.INFO: DEBUG: GPS processor result {"connection_id":143021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:54:09] local.INFO: GPS data processed {"connection_id":143021,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:54:09] local.INFO: Acknowledgment sent {"connection_id":143021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:54:32] local.INFO: TCP Data received {"connection_id":144002,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:54:32] local.INFO: Processing buffer {"connection_id":144002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:54:32] local.INFO: IMEI packet received {"connection_id":144002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 13:54:32] local.INFO: IMEI acknowledgment sent {"connection_id":144002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 13:54:37] local.INFO: TCP Data received {"connection_id":145297,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2a8bfe0012d195c40072012b0003d00ac28..."} 
[2026-07-27 13:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2a8bfe0012d195c40072012b0003d00ac28..."} 
[2026-07-27 13:54:37] local.INFO: Processing buffer {"connection_id":145297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2a8bfe0012d195c40072012b0003d00ac28..."} 
[2026-07-27 13:54:37] local.INFO: Packet analysis {"connection_id":145297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2a8"} 
[2026-07-27 13:54:37] local.INFO: Extracted packet for processing {"connection_id":145297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2a8"} 
[2026-07-27 13:54:37] local.INFO: GPS Element Parsed {"raw_longitude":756636736,"raw_latitude":119542448,"longitude_deg":75.6636736,"latitude_deg":11.9542448,"altitude":61,"angle":172,"satellites":40,"speed":0,"hex_longitude":"2d195c40","hex_latitude":"072012b0","is_valid_coordinates":true} 
[2026-07-27 13:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:54:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995936000001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:54:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8870765323616256,"note":"Value kept but may cause issues"} 
[2026-07-27 13:54:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827405948152623104,"note":"Value kept but may cause issues"} 
[2026-07-27 13:54:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:54:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785140396000,"timestamp_ms":1785140396000,"timestamp_seconds":1785140396,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2a8bfe0"} 
[2026-07-27 13:54:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:54:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-27 13:54:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:54:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:54:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:54:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:54:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:54:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145297,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:54:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145297,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:54:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:54:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 13:54:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 13:54:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995936000001,"66":12537,"121":206,"28":31744,"24":0,"16":8870765323616256,"45":1827405948152623104},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 13:54:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 13:54:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 13:54:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995936000001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:54:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 13:54:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 13:54:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8870765323616256,"km_value":8870765323616.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:54:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827405948152623104,"description":"Unknown IO ID 45"} 
[2026-07-27 13:54:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995936000001,"power":12537,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1827405948152623104}} 
[2026-07-27 13:54:37] local.INFO: DEBUG: GPS processor result {"connection_id":145297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553389,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:54:37] local.INFO: GPS data processed {"connection_id":145297,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:54:37] local.INFO: Acknowledgment sent {"connection_id":145297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:54:37] local.INFO: TCP Data received {"connection_id":144002,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:54:37] local.INFO: Processing buffer {"connection_id":144002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:54:37] local.INFO: IMEI packet received {"connection_id":144002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 13:54:37] local.INFO: IMEI acknowledgment sent {"connection_id":144002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:54:38] local.INFO: TCP Data received {"connection_id":144002,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2ab30e0012d925c00059e4e800007006a2f..."} 
[2026-07-27 13:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2ab30e0012d925c00059e4e800007006a2f..."} 
[2026-07-27 13:54:38] local.INFO: Processing buffer {"connection_id":144002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2ab30e0012d925c00059e4e800007006a2f..."} 
[2026-07-27 13:54:38] local.INFO: Packet analysis {"connection_id":144002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2ab"} 
[2026-07-27 13:54:38] local.INFO: Extracted packet for processing {"connection_id":144002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2ab"} 
[2026-07-27 13:54:38] local.INFO: GPS Element Parsed {"raw_longitude":764566528,"raw_latitude":94260864,"longitude_deg":76.4566528,"latitude_deg":9.4260864,"altitude":7,"angle":106,"satellites":47,"speed":59,"hex_longitude":"2d925c00","hex_latitude":"059e4e80","is_valid_coordinates":true} 
[2026-07-27 13:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:54:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995980800001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:54:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358931082646650880,"note":"Value kept but may cause issues"} 
[2026-07-27 13:54:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7910009771391481856,"note":"Value kept but may cause issues"} 
[2026-07-27 13:54:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:54:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785140556000,"timestamp_ms":1785140556000,"timestamp_seconds":1785140556,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2ab30e0"} 
[2026-07-27 13:54:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:54:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-27 13:54:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:54:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:54:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:54:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:54:38] local.INFO: Teltonika packet parsed successfully {"connection_id":144002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:54:38] local.INFO: Passing IMEI to GPS processor {"connection_id":144002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:54:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":144002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:54:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:54:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 13:54:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 13:54:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995980800001,"66":27800,"97":206,"85":14592,"24":59,"16":358931082646650880,"45":-7910009771391481856},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-27 13:54:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 13:54:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 13:54:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995980800001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:54:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-27 13:54:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-27 13:54:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358931082646650880,"km_value":358931082646650.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:54:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7910009771391481856,"description":"Unknown IO ID 45"} 
[2026-07-27 13:54:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995980800001,"power":27800,"unknown_97":206,"unknown_85":14592,"ignition":59,"odometer":null,"unknown_45":-7910009771391481856}} 
[2026-07-27 13:54:38] local.INFO: DEBUG: GPS processor result {"connection_id":144002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:54:38] local.INFO: GPS data processed {"connection_id":144002,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:54:38] local.INFO: Acknowledgment sent {"connection_id":144002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:55:00] local.INFO: TCP Data received {"connection_id":142878,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142878,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:55:00] local.INFO: Processing buffer {"connection_id":142878,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:55:00] local.INFO: IMEI packet received {"connection_id":142878,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 13:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":142878,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 13:55:05] local.INFO: TCP Data received {"connection_id":142878,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142878,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:55:05] local.INFO: Processing buffer {"connection_id":142878,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:55:05] local.INFO: IMEI packet received {"connection_id":142878,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 13:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":142878,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:55:06] local.INFO: TCP Data received {"connection_id":142878,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2a911e8012d195c40072012b0003d00ac23..."} 
[2026-07-27 13:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2a911e8012d195c40072012b0003d00ac23..."} 
[2026-07-27 13:55:06] local.INFO: Processing buffer {"connection_id":142878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2a911e8012d195c40072012b0003d00ac23..."} 
[2026-07-27 13:55:06] local.INFO: Packet analysis {"connection_id":142878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2a9"} 
[2026-07-27 13:55:06] local.INFO: Extracted packet for processing {"connection_id":142878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2a9"} 
[2026-07-27 13:55:06] local.INFO: GPS Element Parsed {"raw_longitude":756636736,"raw_latitude":119542448,"longitude_deg":75.6636736,"latitude_deg":11.9542448,"altitude":61,"angle":172,"satellites":35,"speed":0,"hex_longitude":"2d195c40","hex_latitude":"072012b0","is_valid_coordinates":true} 
[2026-07-27 13:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:55:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456995941376001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:55:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8870765323616256,"note":"Value kept but may cause issues"} 
[2026-07-27 13:55:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827405948152623104,"note":"Value kept but may cause issues"} 
[2026-07-27 13:55:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:55:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785140417000,"timestamp_ms":1785140417000,"timestamp_seconds":1785140417,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2a911e8"} 
[2026-07-27 13:55:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:55:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-27 13:55:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:55:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:55:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:55:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:55:06] local.INFO: Teltonika packet parsed successfully {"connection_id":142878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:55:06] local.INFO: Passing IMEI to GPS processor {"connection_id":142878,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:55:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":142878,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:55:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:55:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 13:55:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 13:55:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456995941376001,"66":12515,"121":206,"28":31744,"24":0,"16":8870765323616256,"45":1827405948152623104},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 13:55:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 13:55:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 13:55:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456995941376001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:55:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 13:55:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 13:55:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8870765323616256,"km_value":8870765323616.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:55:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827405948152623104,"description":"Unknown IO ID 45"} 
[2026-07-27 13:55:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456995941376001,"power":12515,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1827405948152623104}} 
[2026-07-27 13:55:06] local.INFO: DEBUG: GPS processor result {"connection_id":142878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553391,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:55:06] local.INFO: GPS data processed {"connection_id":142878,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:55:06] local.INFO: Acknowledgment sent {"connection_id":142878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:55:10] local.INFO: TCP Data received {"connection_id":144002,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2acb398012d942fc0059dd068000a00692f..."} 
[2026-07-27 13:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2acb398012d942fc0059dd068000a00692f..."} 
[2026-07-27 13:55:10] local.INFO: Processing buffer {"connection_id":144002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2acb398012d942fc0059dd068000a00692f..."} 
[2026-07-27 13:55:10] local.INFO: Packet analysis {"connection_id":144002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2ac"} 
[2026-07-27 13:55:10] local.INFO: Extracted packet for processing {"connection_id":144002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2ac"} 
[2026-07-27 13:55:10] local.INFO: GPS Element Parsed {"raw_longitude":764686272,"raw_latitude":94228584,"longitude_deg":76.4686272,"latitude_deg":9.4228584,"altitude":10,"angle":105,"satellites":47,"speed":57,"hex_longitude":"2d942fc0","hex_latitude":"059dd068","is_valid_coordinates":true} 
[2026-07-27 13:55:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:55:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996005888001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:55:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358937022586421248,"note":"Value kept but may cause issues"} 
[2026-07-27 13:55:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7779194275973396480,"note":"Value kept but may cause issues"} 
[2026-07-27 13:55:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:55:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785140655000,"timestamp_ms":1785140655000,"timestamp_seconds":1785140655,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2acb398"} 
[2026-07-27 13:55:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:55:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-27 13:55:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:55:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:55:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:55:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:55:10] local.INFO: Teltonika packet parsed successfully {"connection_id":144002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:55:10] local.INFO: Passing IMEI to GPS processor {"connection_id":144002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:55:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":144002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:55: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-07-27 13:55:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 13:55:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 13:55:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996005888001,"66":27745,"99":206,"85":14592,"24":57,"16":358937022586421248,"45":-7779194275973396480},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,85,24,16,45]} 
[2026-07-27 13:55:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 13:55:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 13:55:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996005888001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:55:10] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-07-27 13:55:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-27 13:55:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358937022586421248,"km_value":358937022586421.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:55:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7779194275973396480,"description":"Unknown IO ID 45"} 
[2026-07-27 13:55:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996005888001,"power":27745,"unknown_99":206,"unknown_85":14592,"ignition":57,"odometer":null,"unknown_45":-7779194275973396480}} 
[2026-07-27 13:55:10] local.INFO: DEBUG: GPS processor result {"connection_id":144002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:55:10] local.INFO: GPS data processed {"connection_id":144002,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:55:10] local.INFO: Acknowledgment sent {"connection_id":144002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:55:37] local.INFO: TCP Data received {"connection_id":144003,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:55:37] local.INFO: Processing buffer {"connection_id":144003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:55:37] local.INFO: IMEI packet received {"connection_id":144003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 13:55:37] local.INFO: IMEI acknowledgment sent {"connection_id":144003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 13:55:38] local.INFO: TCP Data received {"connection_id":142878,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2ac9840012d195c40072012b0003d00ac23..."} 
[2026-07-27 13:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2ac9840012d195c40072012b0003d00ac23..."} 
[2026-07-27 13:55:38] local.INFO: Processing buffer {"connection_id":142878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2ac9840012d195c40072012b0003d00ac23..."} 
[2026-07-27 13:55:38] local.INFO: Packet analysis {"connection_id":142878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2ac"} 
[2026-07-27 13:55:38] local.INFO: Extracted packet for processing {"connection_id":142878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2ac"} 
[2026-07-27 13:55:38] local.INFO: GPS Element Parsed {"raw_longitude":756636736,"raw_latitude":119542448,"longitude_deg":75.6636736,"latitude_deg":11.9542448,"altitude":61,"angle":172,"satellites":35,"speed":0,"hex_longitude":"2d195c40","hex_latitude":"072012b0","is_valid_coordinates":true} 
[2026-07-27 13:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:55:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996000512001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:55:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8870765323616256,"note":"Value kept but may cause issues"} 
[2026-07-27 13:55:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827405948152623104,"note":"Value kept but may cause issues"} 
[2026-07-27 13:55:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:55:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785140648000,"timestamp_ms":1785140648000,"timestamp_seconds":1785140648,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2ac9840"} 
[2026-07-27 13:55:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:55:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-27 13:55:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:55:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:55:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:55:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:55:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:55:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142878,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:55:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142878,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:55:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:55:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 13:55:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 13:55:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996000512001,"66":12504,"121":206,"28":31744,"24":0,"16":8870765323616256,"45":1827405948152623104},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 13:55:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 13:55:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 13:55:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996000512001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:55:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 13:55:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 13:55:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8870765323616256,"km_value":8870765323616.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:55:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827405948152623104,"description":"Unknown IO ID 45"} 
[2026-07-27 13:55:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996000512001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1827405948152623104}} 
[2026-07-27 13:55:38] local.INFO: DEBUG: GPS processor result {"connection_id":142878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553393,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:55:38] local.INFO: GPS data processed {"connection_id":142878,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:55:38] local.INFO: Acknowledgment sent {"connection_id":142878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:55:42] local.INFO: TCP Data received {"connection_id":144003,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:55:42] local.INFO: Processing buffer {"connection_id":144003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:55:42] local.INFO: IMEI packet received {"connection_id":144003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 13:55:42] local.INFO: IMEI acknowledgment sent {"connection_id":144003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:55:43] local.INFO: TCP Data received {"connection_id":144003,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2accef0012d945680059dc660000a00692f..."} 
[2026-07-27 13:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144003,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2accef0012d945680059dc660000a00692f..."} 
[2026-07-27 13:55:43] local.INFO: Processing buffer {"connection_id":144003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2accef0012d945680059dc660000a00692f..."} 
[2026-07-27 13:55:43] local.INFO: Packet analysis {"connection_id":144003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2ac"} 
[2026-07-27 13:55:43] local.INFO: Extracted packet for processing {"connection_id":144003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2ac"} 
[2026-07-27 13:55:43] local.INFO: GPS Element Parsed {"raw_longitude":764696192,"raw_latitude":94226016,"longitude_deg":76.4696192,"latitude_deg":9.4226016,"altitude":10,"angle":105,"satellites":47,"speed":58,"hex_longitude":"2d945680","hex_latitude":"059dc660","is_valid_coordinates":true} 
[2026-07-27 13:55:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:55:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996007680001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:55:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358937512212692992,"note":"Value kept but may cause issues"} 
[2026-07-27 13:55:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7768779701835765760,"note":"Value kept but may cause issues"} 
[2026-07-27 13:55:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:55:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785140662000,"timestamp_ms":1785140662000,"timestamp_seconds":1785140662,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2accef0"} 
[2026-07-27 13:55:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:55:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:55:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-27 13:55:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:55:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:55:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:55:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:55:43] local.INFO: Teltonika packet parsed successfully {"connection_id":144003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:55:43] local.INFO: Passing IMEI to GPS processor {"connection_id":144003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:55:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":144003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:55: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-07-27 13:55:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 13:55:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 13:55:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996007680001,"66":27876,"99":206,"85":14592,"24":58,"16":358937512212692992,"45":-7768779701835765760},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,85,24,16,45]} 
[2026-07-27 13:55:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 13:55:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 13:55:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996007680001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:55:43] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-07-27 13:55:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-27 13:55:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358937512212692992,"km_value":358937512212693.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:55:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7768779701835765760,"description":"Unknown IO ID 45"} 
[2026-07-27 13:55:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996007680001,"power":27876,"unknown_99":206,"unknown_85":14592,"ignition":58,"odometer":null,"unknown_45":-7768779701835765760}} 
[2026-07-27 13:55:43] local.INFO: DEBUG: GPS processor result {"connection_id":144003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:55:43] local.INFO: GPS data processed {"connection_id":144003,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:55:43] local.INFO: Acknowledgment sent {"connection_id":144003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:55:43] local.INFO: TCP Data received {"connection_id":144003,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2acea48012d947c40059dbc80000900692f..."} 
[2026-07-27 13:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144003,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2acea48012d947c40059dbc80000900692f..."} 
[2026-07-27 13:55:43] local.INFO: Processing buffer {"connection_id":144003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2acea48012d947c40059dbc80000900692f..."} 
[2026-07-27 13:55:43] local.INFO: Packet analysis {"connection_id":144003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2ac"} 
[2026-07-27 13:55:43] local.INFO: Extracted packet for processing {"connection_id":144003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2ac"} 
[2026-07-27 13:55:43] local.INFO: GPS Element Parsed {"raw_longitude":764705856,"raw_latitude":94223488,"longitude_deg":76.4705856,"latitude_deg":9.4223488,"altitude":9,"angle":105,"satellites":47,"speed":54,"hex_longitude":"2d947c40","hex_latitude":"059dbc80","is_valid_coordinates":true} 
[2026-07-27 13:55:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:55:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996009472001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:55:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358937993249030144,"note":"Value kept but may cause issues"} 
[2026-07-27 13:55:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7757872546488885248,"note":"Value kept but may cause issues"} 
[2026-07-27 13:55:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:55:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785140669000,"timestamp_ms":1785140669000,"timestamp_seconds":1785140669,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2acea48"} 
[2026-07-27 13:55:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:55:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:55:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-27 13:55:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:55:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:55:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:55:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:55:43] local.INFO: Teltonika packet parsed successfully {"connection_id":144003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:55:43] local.INFO: Passing IMEI to GPS processor {"connection_id":144003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:55:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":144003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:55: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-07-27 13:55:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 13:55:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 13:55:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996009472001,"66":27821,"99":206,"85":14592,"24":54,"16":358937993249030144,"45":-7757872546488885248},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,85,24,16,45]} 
[2026-07-27 13:55:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 13:55:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 13:55:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996009472001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:55:43] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-07-27 13:55:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-27 13:55:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358937993249030144,"km_value":358937993249030.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:55:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7757872546488885248,"description":"Unknown IO ID 45"} 
[2026-07-27 13:55:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996009472001,"power":27821,"unknown_99":206,"unknown_85":14592,"ignition":54,"odometer":null,"unknown_45":-7757872546488885248}} 
[2026-07-27 13:55:43] local.INFO: DEBUG: GPS processor result {"connection_id":144003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:55:43] local.INFO: GPS data processed {"connection_id":144003,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:55:43] local.INFO: Acknowledgment sent {"connection_id":144003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:56:00] local.INFO: TCP Data received {"connection_id":145298,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145298,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:56:00] local.INFO: Processing buffer {"connection_id":145298,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:56:00] local.INFO: IMEI packet received {"connection_id":145298,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 13:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":145298,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 13:56:05] local.INFO: TCP Data received {"connection_id":145298,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145298,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:56:05] local.INFO: Processing buffer {"connection_id":145298,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:56:05] local.INFO: IMEI packet received {"connection_id":145298,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 13:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":145298,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:56:06] local.INFO: TCP Data received {"connection_id":145298,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2acea48012d195c40072012b0003d00ac26..."} 
[2026-07-27 13:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145298,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2acea48012d195c40072012b0003d00ac26..."} 
[2026-07-27 13:56:06] local.INFO: Processing buffer {"connection_id":145298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2acea48012d195c40072012b0003d00ac26..."} 
[2026-07-27 13:56:06] local.INFO: Packet analysis {"connection_id":145298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2ac"} 
[2026-07-27 13:56:06] local.INFO: Extracted packet for processing {"connection_id":145298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2ac"} 
[2026-07-27 13:56:06] local.INFO: GPS Element Parsed {"raw_longitude":756636736,"raw_latitude":119542448,"longitude_deg":75.6636736,"latitude_deg":11.9542448,"altitude":61,"angle":172,"satellites":38,"speed":0,"hex_longitude":"2d195c40","hex_latitude":"072012b0","is_valid_coordinates":true} 
[2026-07-27 13:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996005888001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8870765323616256,"note":"Value kept but may cause issues"} 
[2026-07-27 13:56:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827405948152623104,"note":"Value kept but may cause issues"} 
[2026-07-27 13:56:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785140669000,"timestamp_ms":1785140669000,"timestamp_seconds":1785140669,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2acea48"} 
[2026-07-27 13:56:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:56:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-27 13:56:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:56:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:56:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":145298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":145298,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":145298,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:56:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 13:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 13:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996005888001,"66":12461,"121":206,"28":31744,"24":0,"16":8870765323616256,"45":1827405948152623104},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 13:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 13:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 13:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996005888001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:56:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 13:56:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 13:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8870765323616256,"km_value":8870765323616.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:56:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827405948152623104,"description":"Unknown IO ID 45"} 
[2026-07-27 13:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996005888001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1827405948152623104}} 
[2026-07-27 13:56:06] local.INFO: DEBUG: GPS processor result {"connection_id":145298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553396,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:56:06] local.INFO: GPS data processed {"connection_id":145298,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:56:06] local.INFO: Acknowledgment sent {"connection_id":145298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:56:14] local.INFO: TCP Data received {"connection_id":144003,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2ad05a0012d94a100059db2f8000a00682f..."} 
[2026-07-27 13:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144003,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2ad05a0012d94a100059db2f8000a00682f..."} 
[2026-07-27 13:56:14] local.INFO: Processing buffer {"connection_id":144003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2ad05a0012d94a100059db2f8000a00682f..."} 
[2026-07-27 13:56:14] local.INFO: Packet analysis {"connection_id":144003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2ad"} 
[2026-07-27 13:56:14] local.INFO: Extracted packet for processing {"connection_id":144003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2ad"} 
[2026-07-27 13:56:14] local.INFO: GPS Element Parsed {"raw_longitude":764715264,"raw_latitude":94221048,"longitude_deg":76.4715264,"latitude_deg":9.4221048,"altitude":10,"angle":104,"satellites":47,"speed":52,"hex_longitude":"2d94a100","hex_latitude":"059db2f8","is_valid_coordinates":true} 
[2026-07-27 13:56:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:56:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996011264001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:56:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358938457105498112,"note":"Value kept but may cause issues"} 
[2026-07-27 13:56:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7747246866118705152,"note":"Value kept but may cause issues"} 
[2026-07-27 13:56:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:56:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785140676000,"timestamp_ms":1785140676000,"timestamp_seconds":1785140676,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2ad05a0"} 
[2026-07-27 13:56:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:56:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:56:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-27 13:56:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:56:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:56:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:56:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:56:14] local.INFO: Teltonika packet parsed successfully {"connection_id":144003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:56:14] local.INFO: Passing IMEI to GPS processor {"connection_id":144003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:56:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":144003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:56: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-07-27 13:56:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 13:56:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 13:56:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996011264001,"66":27908,"99":206,"85":14592,"24":52,"16":358938457105498112,"45":-7747246866118705152},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,85,24,16,45]} 
[2026-07-27 13:56:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 13:56:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 13:56:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996011264001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:56:14] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-07-27 13:56:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-27 13:56:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358938457105498112,"km_value":358938457105498.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:56:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7747246866118705152,"description":"Unknown IO ID 45"} 
[2026-07-27 13:56:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996011264001,"power":27908,"unknown_99":206,"unknown_85":14592,"ignition":52,"odometer":null,"unknown_45":-7747246866118705152}} 
[2026-07-27 13:56:14] local.INFO: DEBUG: GPS processor result {"connection_id":144003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:56:14] local.INFO: GPS data processed {"connection_id":144003,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:56:14] local.INFO: Acknowledgment sent {"connection_id":144003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:56:32] local.INFO: TCP Data received {"connection_id":142879,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:56:32] local.INFO: Processing buffer {"connection_id":142879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:56:32] local.INFO: IMEI packet received {"connection_id":142879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 13:56:32] local.INFO: IMEI acknowledgment sent {"connection_id":142879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 13:56:32] local.INFO: TCP Data received {"connection_id":142879,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:56:32] local.INFO: Processing buffer {"connection_id":142879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:56:32] local.INFO: IMEI packet received {"connection_id":142879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 13:56:32] local.INFO: IMEI acknowledgment sent {"connection_id":142879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:56:37] local.INFO: TCP Data received {"connection_id":142879,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:56:37] local.INFO: Processing buffer {"connection_id":142879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:56:37] local.INFO: IMEI packet received {"connection_id":142879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 13:56:37] local.INFO: IMEI acknowledgment sent {"connection_id":142879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:56:38] local.INFO: TCP Data received {"connection_id":145298,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2ad3c50012d195c40072012b0003d00ac22..."} 
[2026-07-27 13:56:38] local.INFO: TCP Data received {"connection_id":142879,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2ad24e0012d94c380059da8f00009006b2f..."} 
[2026-07-27 13:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145298,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2ad3c50012d195c40072012b0003d00ac22..."} 
[2026-07-27 13:56:38] local.INFO: Processing buffer {"connection_id":145298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2ad3c50012d195c40072012b0003d00ac22..."} 
[2026-07-27 13:56:38] local.INFO: Packet analysis {"connection_id":145298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2ad"} 
[2026-07-27 13:56:38] local.INFO: Extracted packet for processing {"connection_id":145298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2ad"} 
[2026-07-27 13:56:38] local.INFO: GPS Element Parsed {"raw_longitude":756636736,"raw_latitude":119542448,"longitude_deg":75.6636736,"latitude_deg":11.9542448,"altitude":61,"angle":172,"satellites":34,"speed":0,"hex_longitude":"2d195c40","hex_latitude":"072012b0","is_valid_coordinates":true} 
[2026-07-27 13:56:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:56:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996011264001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:56:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8870765323616256,"note":"Value kept but may cause issues"} 
[2026-07-27 13:56:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827405948152623104,"note":"Value kept but may cause issues"} 
[2026-07-27 13:56:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:56:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785140690000,"timestamp_ms":1785140690000,"timestamp_seconds":1785140690,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2ad3c50"} 
[2026-07-27 13:56:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:56:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:56:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-27 13:56: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-07-27 13:56:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:56:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:56:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:56:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:56:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145298,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:56:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145298,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:56:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:56:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 13:56:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 13:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2ad24e0012d94c380059da8f00009006b2f..."} 
[2026-07-27 13:56:38] local.INFO: Processing buffer {"connection_id":142879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2ad24e0012d94c380059da8f00009006b2f..."} 
[2026-07-27 13:56:38] local.INFO: Packet analysis {"connection_id":142879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2ad"} 
[2026-07-27 13:56:38] local.INFO: Extracted packet for processing {"connection_id":142879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2ad"} 
[2026-07-27 13:56:38] local.INFO: GPS Element Parsed {"raw_longitude":764724096,"raw_latitude":94218480,"longitude_deg":76.4724096,"latitude_deg":9.421848,"altitude":9,"angle":107,"satellites":47,"speed":41,"hex_longitude":"2d94c380","hex_latitude":"059da8f0","is_valid_coordinates":true} 
[2026-07-27 13:56:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:56:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996013056001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:56:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358938895192162304,"note":"Value kept but may cause issues"} 
[2026-07-27 13:56:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7736902660725213184,"note":"Value kept but may cause issues"} 
[2026-07-27 13:56:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:56:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785140684000,"timestamp_ms":1785140684000,"timestamp_seconds":1785140684,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2ad24e0"} 
[2026-07-27 13:56:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996011264001,"66":12504,"121":206,"28":31744,"24":0,"16":8870765323616256,"45":1827405948152623104},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 13:56:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:56:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 13:56:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:56:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-27 13:56:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:56:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:56:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:56:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:56:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:56:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:56:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:56:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:56:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 13:56:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 13:56:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996011264001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:56:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 13:56:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 13:56:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8870765323616256,"km_value":8870765323616.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:56:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827405948152623104,"description":"Unknown IO ID 45"} 
[2026-07-27 13:56:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996011264001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1827405948152623104}} 
[2026-07-27 13:56:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 13:56:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996013056001,"66":27865,"99":206,"85":14592,"24":41,"16":358938895192162304,"45":-7736902660725213184},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,85,24,16,45]} 
[2026-07-27 13:56:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 13:56:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 13:56:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996013056001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:56:38] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-07-27 13:56:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-27 13:56:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358938895192162304,"km_value":358938895192162.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:56:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7736902660725213184,"description":"Unknown IO ID 45"} 
[2026-07-27 13:56:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996013056001,"power":27865,"unknown_99":206,"unknown_85":14592,"ignition":41,"odometer":null,"unknown_45":-7736902660725213184}} 
[2026-07-27 13:56:38] local.INFO: DEBUG: GPS processor result {"connection_id":142879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:56:38] local.INFO: GPS data processed {"connection_id":142879,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:56:38] local.INFO: Acknowledgment sent {"connection_id":142879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:56:38] local.INFO: DEBUG: GPS processor result {"connection_id":145298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553399,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:56:38] local.INFO: GPS data processed {"connection_id":145298,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:56:38] local.INFO: Acknowledgment sent {"connection_id":145298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:56:39] local.INFO: TCP Data received {"connection_id":142879,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2ad4808012d94e7c0059d9f60000800682f..."} 
[2026-07-27 13:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2ad4808012d94e7c0059d9f60000800682f..."} 
[2026-07-27 13:56:39] local.INFO: Processing buffer {"connection_id":142879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2ad4808012d94e7c0059d9f60000800682f..."} 
[2026-07-27 13:56:39] local.INFO: Packet analysis {"connection_id":142879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2ad"} 
[2026-07-27 13:56:39] local.INFO: Extracted packet for processing {"connection_id":142879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2ad"} 
[2026-07-27 13:56:39] local.INFO: GPS Element Parsed {"raw_longitude":764733376,"raw_latitude":94216032,"longitude_deg":76.4733376,"latitude_deg":9.4216032,"altitude":8,"angle":104,"satellites":47,"speed":40,"hex_longitude":"2d94e7c0","hex_latitude":"059d9f60","is_valid_coordinates":true} 
[2026-07-27 13: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-07-27 13:56:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996015104001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:56:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358939354753662976,"note":"Value kept but may cause issues"} 
[2026-07-27 13:56:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7727191774029352960,"note":"Value kept but may cause issues"} 
[2026-07-27 13:56:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:56:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785140693000,"timestamp_ms":1785140693000,"timestamp_seconds":1785140693,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2ad4808"} 
[2026-07-27 13:56:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:56:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:56:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-27 13:56:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13: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-07-27 13:56:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:56:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:56:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:56:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:56:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:56:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:56:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 13:56:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 13:56:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996015104001,"66":27843,"99":206,"85":14592,"24":40,"16":358939354753662976,"45":-7727191774029352960},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,85,24,16,45]} 
[2026-07-27 13:56:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 13:56:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 13:56:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996015104001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:56:39] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-07-27 13:56:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-27 13:56:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358939354753662976,"km_value":358939354753663.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:56:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7727191774029352960,"description":"Unknown IO ID 45"} 
[2026-07-27 13:56:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996015104001,"power":27843,"unknown_99":206,"unknown_85":14592,"ignition":40,"odometer":null,"unknown_45":-7727191774029352960}} 
[2026-07-27 13:56:39] local.INFO: DEBUG: GPS processor result {"connection_id":142879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:56:39] local.INFO: GPS data processed {"connection_id":142879,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:56:39] local.INFO: Acknowledgment sent {"connection_id":142879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:57:05] local.INFO: TCP Data received {"connection_id":144004,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144004,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:57:05] local.INFO: Processing buffer {"connection_id":144004,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:57:05] local.INFO: IMEI packet received {"connection_id":144004,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 13:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":144004,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 13:57:10] local.INFO: TCP Data received {"connection_id":144004,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144004,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:57:10] local.INFO: Processing buffer {"connection_id":144004,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:57:10] local.INFO: IMEI packet received {"connection_id":144004,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 13:57:10] local.INFO: IMEI acknowledgment sent {"connection_id":144004,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:57:11] local.INFO: TCP Data received {"connection_id":144004,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2ad8e58012d195c40072012b0003d00ac26..."} 
[2026-07-27 13:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2ad8e58012d195c40072012b0003d00ac26..."} 
[2026-07-27 13:57:11] local.INFO: Processing buffer {"connection_id":144004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2ad8e58012d195c40072012b0003d00ac26..."} 
[2026-07-27 13:57:11] local.INFO: Packet analysis {"connection_id":144004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2ad"} 
[2026-07-27 13:57:11] local.INFO: Extracted packet for processing {"connection_id":144004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2ad"} 
[2026-07-27 13:57:11] local.INFO: GPS Element Parsed {"raw_longitude":756636736,"raw_latitude":119542448,"longitude_deg":75.6636736,"latitude_deg":11.9542448,"altitude":61,"angle":172,"satellites":38,"speed":0,"hex_longitude":"2d195c40","hex_latitude":"072012b0","is_valid_coordinates":true} 
[2026-07-27 13: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-07-27 13:57:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996016640001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:57:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8870765323616256,"note":"Value kept but may cause issues"} 
[2026-07-27 13:57:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827405948152623104,"note":"Value kept but may cause issues"} 
[2026-07-27 13:57:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:57:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785140711000,"timestamp_ms":1785140711000,"timestamp_seconds":1785140711,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2ad8e58"} 
[2026-07-27 13:57:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:57:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-27 13:57:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13: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-07-27 13:57:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:57:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:57:11] local.INFO: Teltonika packet parsed successfully {"connection_id":144004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:57:11] local.INFO: Passing IMEI to GPS processor {"connection_id":144004,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:57:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":144004,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:57:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:57:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 13:57:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 13:57:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996016640001,"66":12504,"121":206,"28":31744,"24":0,"16":8870765323616256,"45":1827405948152623104},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 13:57:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 13:57:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 13:57:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996016640001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:57:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 13:57:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 13:57:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8870765323616256,"km_value":8870765323616.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:57:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827405948152623104,"description":"Unknown IO ID 45"} 
[2026-07-27 13:57:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996016640001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1827405948152623104}} 
[2026-07-27 13:57:11] local.INFO: DEBUG: GPS processor result {"connection_id":144004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553401,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:57:11] local.INFO: GPS data processed {"connection_id":144004,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:57:11] local.INFO: Acknowledgment sent {"connection_id":144004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:57:13] local.INFO: TCP Data received {"connection_id":144004,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2ade060012d195c40072012b0003d00ac26..."} 
[2026-07-27 13:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2ade060012d195c40072012b0003d00ac26..."} 
[2026-07-27 13:57:13] local.INFO: Processing buffer {"connection_id":144004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2ade060012d195c40072012b0003d00ac26..."} 
[2026-07-27 13:57:13] local.INFO: Packet analysis {"connection_id":144004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2ad"} 
[2026-07-27 13:57:13] local.INFO: Extracted packet for processing {"connection_id":144004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2ad"} 
[2026-07-27 13:57:13] local.INFO: GPS Element Parsed {"raw_longitude":756636736,"raw_latitude":119542448,"longitude_deg":75.6636736,"latitude_deg":11.9542448,"altitude":61,"angle":172,"satellites":38,"speed":0,"hex_longitude":"2d195c40","hex_latitude":"072012b0","is_valid_coordinates":true} 
[2026-07-27 13: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-07-27 13:57:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996022016001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:57:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8870765323616256,"note":"Value kept but may cause issues"} 
[2026-07-27 13:57:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827405948152623104,"note":"Value kept but may cause issues"} 
[2026-07-27 13:57:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:57:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785140732000,"timestamp_ms":1785140732000,"timestamp_seconds":1785140732,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2ade060"} 
[2026-07-27 13:57:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:57:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-27 13:57:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13: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-07-27 13:57:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:57:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:57:13] local.INFO: Teltonika packet parsed successfully {"connection_id":144004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:57:13] local.INFO: Passing IMEI to GPS processor {"connection_id":144004,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:57:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":144004,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:57:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:57:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 13:57:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 13:57:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996022016001,"66":12461,"121":206,"28":31744,"24":0,"16":8870765323616256,"45":1827405948152623104},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 13:57:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 13:57:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 13:57:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996022016001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:57:13] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 13:57:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 13:57:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8870765323616256,"km_value":8870765323616.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:57:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827405948152623104,"description":"Unknown IO ID 45"} 
[2026-07-27 13:57:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996022016001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1827405948152623104}} 
[2026-07-27 13:57:14] local.INFO: DEBUG: GPS processor result {"connection_id":144004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553402,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:57:14] local.INFO: GPS data processed {"connection_id":144004,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:57:14] local.INFO: Acknowledgment sent {"connection_id":144004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:57:14] local.INFO: TCP Data received {"connection_id":142879,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2ad76e8012d950a00059d9668000900672f..."} 
[2026-07-27 13:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2ad76e8012d950a00059d9668000900672f..."} 
[2026-07-27 13:57:14] local.INFO: Processing buffer {"connection_id":142879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2ad76e8012d950a00059d9668000900672f..."} 
[2026-07-27 13:57:14] local.INFO: Packet analysis {"connection_id":142879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2ad"} 
[2026-07-27 13:57:14] local.INFO: Extracted packet for processing {"connection_id":142879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2ad"} 
[2026-07-27 13:57:14] local.INFO: GPS Element Parsed {"raw_longitude":764742144,"raw_latitude":94213736,"longitude_deg":76.4742144,"latitude_deg":9.4213736,"altitude":9,"angle":103,"satellites":47,"speed":32,"hex_longitude":"2d950a00","hex_latitude":"059d9668","is_valid_coordinates":true} 
[2026-07-27 13: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-07-27 13:57:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996017408001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:57:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358939788545359872,"note":"Value kept but may cause issues"} 
[2026-07-27 13:57:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7716988306124218368,"note":"Value kept but may cause issues"} 
[2026-07-27 13:57:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:57:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785140705000,"timestamp_ms":1785140705000,"timestamp_seconds":1785140705,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2ad76e8"} 
[2026-07-27 13:57:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:57:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-27 13:57:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13: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-07-27 13:57:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:57:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:57:14] local.INFO: Teltonika packet parsed successfully {"connection_id":142879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:57:14] local.INFO: Passing IMEI to GPS processor {"connection_id":142879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:57:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":142879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:57: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-07-27 13:57:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 13:57:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 13:57:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996017408001,"66":27713,"98":206,"85":14592,"24":32,"16":358939788545359872,"45":-7716988306124218368},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,85,24,16,45]} 
[2026-07-27 13:57:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 13:57:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 13:57:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996017408001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:57:14] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-07-27 13:57:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-27 13:57:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358939788545359872,"km_value":358939788545359.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:57:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7716988306124218368,"description":"Unknown IO ID 45"} 
[2026-07-27 13:57:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996017408001,"power":27713,"unknown_98":206,"unknown_85":14592,"ignition":32,"odometer":null,"unknown_45":-7716988306124218368}} 
[2026-07-27 13:57:14] local.INFO: DEBUG: GPS processor result {"connection_id":142879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:57:14] local.INFO: GPS data processed {"connection_id":142879,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:57:14] local.INFO: Acknowledgment sent {"connection_id":142879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:57:30] local.INFO: TCP Data received {"connection_id":143022,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:57:30] local.INFO: Processing buffer {"connection_id":143022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:57:30] local.INFO: IMEI packet received {"connection_id":143022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 13:57:30] local.INFO: IMEI acknowledgment sent {"connection_id":143022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 13:57:32] local.INFO: TCP Data received {"connection_id":143022,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:57:32] local.INFO: Processing buffer {"connection_id":143022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:57:32] local.INFO: IMEI packet received {"connection_id":143022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 13:57:32] local.INFO: IMEI acknowledgment sent {"connection_id":143022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:57:34] local.INFO: TCP Data received {"connection_id":143022,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:57:34] local.INFO: Processing buffer {"connection_id":143022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:57:34] local.INFO: IMEI packet received {"connection_id":143022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 13:57:34] local.INFO: IMEI acknowledgment sent {"connection_id":143022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:57:43] local.INFO: TCP Data received {"connection_id":143022,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:57:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:57:43] local.INFO: Processing buffer {"connection_id":143022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:57:43] local.INFO: IMEI packet received {"connection_id":143022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 13:57:43] local.INFO: IMEI acknowledgment sent {"connection_id":143022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:57:45] local.INFO: TCP Data received {"connection_id":144004,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2ae3268012d195c40072012b0003d00ac28..."} 
[2026-07-27 13:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2ae3268012d195c40072012b0003d00ac28..."} 
[2026-07-27 13:57:45] local.INFO: Processing buffer {"connection_id":144004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2ae3268012d195c40072012b0003d00ac28..."} 
[2026-07-27 13:57:45] local.INFO: Packet analysis {"connection_id":144004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2ae"} 
[2026-07-27 13:57:45] local.INFO: Extracted packet for processing {"connection_id":144004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2ae"} 
[2026-07-27 13:57:45] local.INFO: GPS Element Parsed {"raw_longitude":756636736,"raw_latitude":119542448,"longitude_deg":75.6636736,"latitude_deg":11.9542448,"altitude":61,"angle":172,"satellites":40,"speed":0,"hex_longitude":"2d195c40","hex_latitude":"072012b0","is_valid_coordinates":true} 
[2026-07-27 13: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-07-27 13:57:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996027392001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:57:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8870765323616256,"note":"Value kept but may cause issues"} 
[2026-07-27 13:57:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827405948152623104,"note":"Value kept but may cause issues"} 
[2026-07-27 13:57:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:57:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785140753000,"timestamp_ms":1785140753000,"timestamp_seconds":1785140753,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2ae3268"} 
[2026-07-27 13:57:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:57:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:57:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-27 13:57:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13: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-07-27 13:57:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:57:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:57:45] local.INFO: Teltonika packet parsed successfully {"connection_id":144004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:57:45] local.INFO: Passing IMEI to GPS processor {"connection_id":144004,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:57:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":144004,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:57:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:57:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 13:57:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 13:57:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996027392001,"66":12461,"121":206,"28":31744,"24":0,"16":8870765323616256,"45":1827405948152623104},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 13:57:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 13:57:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 13:57:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996027392001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:57:45] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 13:57:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 13:57:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8870765323616256,"km_value":8870765323616.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:57:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827405948152623104,"description":"Unknown IO ID 45"} 
[2026-07-27 13:57:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996027392001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1827405948152623104}} 
[2026-07-27 13:57:45] local.INFO: DEBUG: GPS processor result {"connection_id":144004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553404,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:57:45] local.INFO: GPS data processed {"connection_id":144004,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:57:45] local.INFO: Acknowledgment sent {"connection_id":144004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:57:45] local.INFO: TCP Data received {"connection_id":143022,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2aeb738012d9697c0059d2ca00007006b2e..."} 
[2026-07-27 13:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2aeb738012d9697c0059d2ca00007006b2e..."} 
[2026-07-27 13:57:45] local.INFO: Processing buffer {"connection_id":143022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2aeb738012d9697c0059d2ca00007006b2e..."} 
[2026-07-27 13:57:45] local.INFO: Packet analysis {"connection_id":143022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2ae"} 
[2026-07-27 13:57:45] local.INFO: Extracted packet for processing {"connection_id":143022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2ae"} 
[2026-07-27 13:57:45] local.INFO: GPS Element Parsed {"raw_longitude":764843968,"raw_latitude":94186656,"longitude_deg":76.4843968,"latitude_deg":9.4186656,"altitude":7,"angle":107,"satellites":46,"speed":44,"hex_longitude":"2d9697c0","hex_latitude":"059d2ca0","is_valid_coordinates":true} 
[2026-07-27 13: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-07-27 13:57:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996039680001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:57:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358944835131932672,"note":"Value kept but may cause issues"} 
[2026-07-27 13:57:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7605031634144468992,"note":"Value kept but may cause issues"} 
[2026-07-27 13:57:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:57:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785140787000,"timestamp_ms":1785140787000,"timestamp_seconds":1785140787,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2aeb738"} 
[2026-07-27 13:57:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:57:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-27 13:57:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13: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-07-27 13:57:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:57:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:57:45] local.INFO: Teltonika packet parsed successfully {"connection_id":143022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:57:45] local.INFO: Passing IMEI to GPS processor {"connection_id":143022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:57:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":143022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:57:45] 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-07-27 13:57:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 13:57:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 13:57:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996039680001,"66":27865,"98":206,"85":14592,"24":44,"16":358944835131932672,"45":-7605031634144468992},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,85,24,16,45]} 
[2026-07-27 13:57:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 13:57:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 13:57:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996039680001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:57:45] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-07-27 13:57:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-27 13:57:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358944835131932672,"km_value":358944835131932.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:57:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7605031634144468992,"description":"Unknown IO ID 45"} 
[2026-07-27 13:57:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996039680001,"power":27865,"unknown_98":206,"unknown_85":14592,"ignition":44,"odometer":null,"unknown_45":-7605031634144468992}} 
[2026-07-27 13:57:45] local.INFO: DEBUG: GPS processor result {"connection_id":143022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:57:45] local.INFO: GPS data processed {"connection_id":143022,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:57:45] local.INFO: Acknowledgment sent {"connection_id":143022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:57:46] local.INFO: TCP Data received {"connection_id":143022,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2aeda60012d96bb80059d22c0000600662f..."} 
[2026-07-27 13:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2aeda60012d96bb80059d22c0000600662f..."} 
[2026-07-27 13:57:46] local.INFO: Processing buffer {"connection_id":143022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2aeda60012d96bb80059d22c0000600662f..."} 
[2026-07-27 13:57:46] local.INFO: Packet analysis {"connection_id":143022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2ae"} 
[2026-07-27 13:57:46] local.INFO: Extracted packet for processing {"connection_id":143022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2ae"} 
[2026-07-27 13:57:46] local.INFO: GPS Element Parsed {"raw_longitude":764853120,"raw_latitude":94184128,"longitude_deg":76.485312,"latitude_deg":9.4184128,"altitude":6,"angle":102,"satellites":47,"speed":40,"hex_longitude":"2d96bb80","hex_latitude":"059d22c0","is_valid_coordinates":true} 
[2026-07-27 13:57:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:57:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996041472001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:57:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358945290398466048,"note":"Value kept but may cause issues"} 
[2026-07-27 13:57:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7595391116192735232,"note":"Value kept but may cause issues"} 
[2026-07-27 13:57:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:57:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785140796000,"timestamp_ms":1785140796000,"timestamp_seconds":1785140796,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2aeda60"} 
[2026-07-27 13:57:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:57:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-27 13:57:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:57:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:57:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:57:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:57:46] local.INFO: Teltonika packet parsed successfully {"connection_id":143022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:57:46] local.INFO: Passing IMEI to GPS processor {"connection_id":143022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:57:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":143022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:57:46] 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-07-27 13:57:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 13:57:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 13:57:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996041472001,"66":27865,"125":206,"83":17152,"24":40,"16":358945290398466048,"45":-7595391116192735232},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,83,24,16,45]} 
[2026-07-27 13:57:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 13:57:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 13:57:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996041472001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:57:46] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-07-27 13:57:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 13:57:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358945290398466048,"km_value":358945290398466.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:57:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7595391116192735232,"description":"Unknown IO ID 45"} 
[2026-07-27 13:57:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996041472001,"power":27865,"unknown_125":206,"unknown_83":17152,"ignition":40,"odometer":null,"unknown_45":-7595391116192735232}} 
[2026-07-27 13:57:46] local.INFO: DEBUG: GPS processor result {"connection_id":143022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:57:46] local.INFO: GPS data processed {"connection_id":143022,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:57:46] local.INFO: Acknowledgment sent {"connection_id":143022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:57:56] local.INFO: TCP Data received {"connection_id":143023,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143023,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:57:56] local.INFO: Processing buffer {"connection_id":143023,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:57:56] local.INFO: IMEI packet received {"connection_id":143023,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 13:57:56] local.INFO: IMEI acknowledgment sent {"connection_id":143023,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 13:57:58] local.INFO: TCP Data received {"connection_id":143023,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143023,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:57:58] local.INFO: Processing buffer {"connection_id":143023,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:57:58] local.INFO: IMEI packet received {"connection_id":143023,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 13:57:58] local.INFO: IMEI acknowledgment sent {"connection_id":143023,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:58:00] local.INFO: TCP Data received {"connection_id":143023,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143023,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:58:00] local.INFO: Processing buffer {"connection_id":143023,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:58:00] local.INFO: IMEI packet received {"connection_id":143023,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 13:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":143023,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:58:05] local.INFO: TCP Data received {"connection_id":143023,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143023,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:58:05] local.INFO: Processing buffer {"connection_id":143023,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:58:05] local.INFO: IMEI packet received {"connection_id":143023,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 13:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":143023,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:58:05] local.INFO: TCP Data received {"connection_id":143023,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2ae8470012d195c40072012b0003d00ac28..."} 
[2026-07-27 13:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2ae8470012d195c40072012b0003d00ac28..."} 
[2026-07-27 13:58:05] local.INFO: Processing buffer {"connection_id":143023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2ae8470012d195c40072012b0003d00ac28..."} 
[2026-07-27 13:58:05] local.INFO: Packet analysis {"connection_id":143023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2ae"} 
[2026-07-27 13:58:05] local.INFO: Extracted packet for processing {"connection_id":143023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2ae"} 
[2026-07-27 13:58:05] local.INFO: GPS Element Parsed {"raw_longitude":756636736,"raw_latitude":119542448,"longitude_deg":75.6636736,"latitude_deg":11.9542448,"altitude":61,"angle":172,"satellites":40,"speed":0,"hex_longitude":"2d195c40","hex_latitude":"072012b0","is_valid_coordinates":true} 
[2026-07-27 13:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:58:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996032768001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:58:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8870765323616256,"note":"Value kept but may cause issues"} 
[2026-07-27 13:58:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827405948152623104,"note":"Value kept but may cause issues"} 
[2026-07-27 13:58:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:58:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785140774000,"timestamp_ms":1785140774000,"timestamp_seconds":1785140774,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2ae8470"} 
[2026-07-27 13:58:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:58:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-27 13:58:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:58:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:58:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:58:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:58:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:58:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143023,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:58:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143023,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:58:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:58:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 13:58:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 13:58:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996032768001,"66":12232,"121":206,"28":31744,"24":0,"16":8870765323616256,"45":1827405948152623104},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 13:58:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 13:58:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 13:58:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996032768001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:58:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 13:58:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 13:58:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8870765323616256,"km_value":8870765323616.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:58:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827405948152623104,"description":"Unknown IO ID 45"} 
[2026-07-27 13:58:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996032768001,"power":12232,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1827405948152623104}} 
[2026-07-27 13:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":143023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553407,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:58:06] local.INFO: GPS data processed {"connection_id":143023,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:58:06] local.INFO: Acknowledgment sent {"connection_id":143023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:58:23] local.INFO: TCP Data received {"connection_id":143022,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2aefd88012d96e1c0059d18580006006a2d..."} 
[2026-07-27 13:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2aefd88012d96e1c0059d18580006006a2d..."} 
[2026-07-27 13:58:23] local.INFO: Processing buffer {"connection_id":143022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2aefd88012d96e1c0059d18580006006a2d..."} 
[2026-07-27 13:58:23] local.INFO: Packet analysis {"connection_id":143022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2ae"} 
[2026-07-27 13:58:23] local.INFO: Extracted packet for processing {"connection_id":143022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2ae"} 
[2026-07-27 13:58:23] local.INFO: GPS Element Parsed {"raw_longitude":764862912,"raw_latitude":94181464,"longitude_deg":76.4862912,"latitude_deg":9.4181464,"altitude":6,"angle":106,"satellites":45,"speed":48,"hex_longitude":"2d96e1c0","hex_latitude":"059d1858","is_valid_coordinates":true} 
[2026-07-27 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-07-27 13:58:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996043776001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:58:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358945771434803200,"note":"Value kept but may cause issues"} 
[2026-07-27 13:58:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7585328385775976448,"note":"Value kept but may cause issues"} 
[2026-07-27 13:58:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:58:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785140805000,"timestamp_ms":1785140805000,"timestamp_seconds":1785140805,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2aefd88"} 
[2026-07-27 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-07-27 13:58:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-27 13:58:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 13:58:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:58:23] local.INFO: Teltonika packet parsed successfully {"connection_id":143022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:58:23] local.INFO: Passing IMEI to GPS processor {"connection_id":143022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:58:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":143022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:58:23] 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-07-27 13:58:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 13:58:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 13:58:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996043776001,"66":27821,"125":206,"83":17152,"24":48,"16":358945771434803200,"45":-7585328385775976448},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,83,24,16,45]} 
[2026-07-27 13:58:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 13:58:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 13:58:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996043776001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:58:23] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-07-27 13:58:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 13:58:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358945771434803200,"km_value":358945771434803.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:58:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7585328385775976448,"description":"Unknown IO ID 45"} 
[2026-07-27 13:58:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996043776001,"power":27821,"unknown_125":206,"unknown_83":17152,"ignition":48,"odometer":null,"unknown_45":-7585328385775976448}} 
[2026-07-27 13:58:23] local.INFO: DEBUG: GPS processor result {"connection_id":143022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:58:23] local.INFO: GPS data processed {"connection_id":143022,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:58:23] local.INFO: Acknowledgment sent {"connection_id":143022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:58:33] local.INFO: TCP Data received {"connection_id":143024,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:58:33] local.INFO: Processing buffer {"connection_id":143024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:58:33] local.INFO: IMEI packet received {"connection_id":143024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 13:58:33] local.INFO: IMEI acknowledgment sent {"connection_id":143024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 13:58:33] local.INFO: TCP Data received {"connection_id":143024,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:58:33] local.INFO: Processing buffer {"connection_id":143024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:58:33] local.INFO: IMEI packet received {"connection_id":143024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 13:58:33] local.INFO: IMEI acknowledgment sent {"connection_id":143024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:58:37] local.INFO: TCP Data received {"connection_id":143024,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:58:37] local.INFO: Processing buffer {"connection_id":143024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:58:37] local.INFO: IMEI packet received {"connection_id":143024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 13:58:37] local.INFO: IMEI acknowledgment sent {"connection_id":143024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:58:37] local.INFO: TCP Data received {"connection_id":143023,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2afc4c0012d195400071ff3c0003d00722a..."} 
[2026-07-27 13:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2afc4c0012d195400071ff3c0003d00722a..."} 
[2026-07-27 13:58:37] local.INFO: Processing buffer {"connection_id":143023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2afc4c0012d195400071ff3c0003d00722a..."} 
[2026-07-27 13:58:37] local.INFO: Packet analysis {"connection_id":143023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2af"} 
[2026-07-27 13:58:37] local.INFO: Extracted packet for processing {"connection_id":143023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2af"} 
[2026-07-27 13:58:37] local.INFO: GPS Element Parsed {"raw_longitude":756634624,"raw_latitude":119534528,"longitude_deg":75.6634624,"latitude_deg":11.9534528,"altitude":61,"angle":114,"satellites":42,"speed":14,"hex_longitude":"2d195400","hex_latitude":"071ff3c0","is_valid_coordinates":true} 
[2026-07-27 13:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:58:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996058624001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:58:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871246359953408,"note":"Value kept but may cause issues"} 
[2026-07-27 13:58:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824450460895217664,"note":"Value kept but may cause issues"} 
[2026-07-27 13:58:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:58:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785140856000,"timestamp_ms":1785140856000,"timestamp_seconds":1785140856,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2afc4c0"} 
[2026-07-27 13:58:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:58:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-27 13:58:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-07-27 13:58:37] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503734986342400,"note":"Value kept but may cause issues"} 
[2026-07-27 13:58:37] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2729408160,"note":"Value kept but may cause issues"} 
[2026-07-27 13:58:37] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":57344,"corrected_to":0} 
[2026-07-27 13:58:37] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-27 13:58:37] local.WARNING: Large IO value detected {"io_id":162,"raw_value":-5805474166163810432,"note":"Value kept but may cause issues"} 
[2026-07-27 13:58:37] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6053101786276102400,"note":"Value kept but may cause issues"} 
[2026-07-27 13:58:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-1767380493525057512,"corrected_to":0} 
[2026-07-27 13:58:37] local.WARNING: Large IO value detected {"io_id":122,"raw_value":2281778457,"note":"Value kept but may cause issues"} 
[2026-07-27 13:58:37] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182199644848384,"note":"Value kept but may cause issues"} 
[2026-07-27 13:58:37] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2215641088,"note":"Value kept but may cause issues"} 
[2026-07-27 13:58:37] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2309150341263854632,"note":"Value kept but may cause issues"} 
[2026-07-27 13:58:37] local.WARNING: Large IO value detected {"io_id":49,"raw_value":-143888794024620516,"note":"Value kept but may cause issues"} 
[2026-07-27 13:58:37] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755446685827313,"note":"Value kept but may cause issues"} 
[2026-07-27 13:58:37] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194997504,"note":"Value kept but may cause issues"} 
[2026-07-27 13:58:37] local.WARNING: Large IO value detected {"io_id":232,"raw_value":17734019437300480,"note":"Value kept but may cause issues"} 
[2026-07-27 13:58:37] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,121,28,24,241,158,16,132,159,181,45,246,62,41,10,66,177,128,248,40,134,64,1,240,162,32,4,113,205,11,122,84,152,239,46,2,31,7,49,124,13,69,232],"length":625,"final_offset":755,"validated_count":43,"validation_warnings":[{"io_id":246,"original":57344,"validated":0},{"io_id":205,"original":-1767380493525057512,"validated":0}]} 
[2026-07-27 13:58:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395651950873083904,"timestamp_seconds":4395651950873084.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 13:58:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:58:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:58:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:58:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143023,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:58:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143023,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:58:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:58:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 13:58:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 13:58:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996058624001,"66":12841,"121":206,"28":31744,"24":14,"16":8871246359953408,"45":1824450460895217664},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 13:58:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 13:58:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 13:58:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996058624001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:58:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 13:58:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 13:58:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871246359953408,"km_value":8871246359953.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:58:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824450460895217664,"description":"Unknown IO ID 45"} 
[2026-07-27 13:58:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996058624001,"power":12841,"unknown_121":206,"unknown_28":31744,"ignition":14,"odometer":null,"unknown_45":1824450460895217664}} 
[2026-07-27 13:58:37] local.INFO: DEBUG: GPS processor result {"connection_id":143023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553409,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:58:37] local.INFO: GPS data processed {"connection_id":143023,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:58:37] local.INFO: Acknowledgment sent {"connection_id":143023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:58:39] local.INFO: TCP Data received {"connection_id":143024,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2af18e0012d970480059d1008000600602e..."} 
[2026-07-27 13:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2af18e0012d970480059d1008000600602e..."} 
[2026-07-27 13:58:39] local.INFO: Processing buffer {"connection_id":143024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2af18e0012d970480059d1008000600602e..."} 
[2026-07-27 13:58:39] local.INFO: Packet analysis {"connection_id":143024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2af"} 
[2026-07-27 13:58:39] local.INFO: Extracted packet for processing {"connection_id":143024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2af"} 
[2026-07-27 13:58:39] local.INFO: GPS Element Parsed {"raw_longitude":764871808,"raw_latitude":94179336,"longitude_deg":76.4871808,"latitude_deg":9.4179336,"altitude":6,"angle":96,"satellites":46,"speed":54,"hex_longitude":"2d970480","hex_latitude":"059d1008","is_valid_coordinates":true} 
[2026-07-27 13:58:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:58:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996046080001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:58:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358946213816434688,"note":"Value kept but may cause issues"} 
[2026-07-27 13:58:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7574561967917475840,"note":"Value kept but may cause issues"} 
[2026-07-27 13:58:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:58:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785140812000,"timestamp_ms":1785140812000,"timestamp_seconds":1785140812,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2af18e0"} 
[2026-07-27 13:58:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:58:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-27 13:58:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:58:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:58:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:58:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:58:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:58:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:58:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:58:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:58:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 13:58:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 13:58:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996046080001,"66":27800,"125":206,"83":17152,"24":54,"16":358946213816434688,"45":-7574561967917475840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,83,24,16,45]} 
[2026-07-27 13:58:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 13:58:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 13:58:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996046080001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:58:39] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-07-27 13:58:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 13:58:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358946213816434688,"km_value":358946213816434.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:58:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7574561967917475840,"description":"Unknown IO ID 45"} 
[2026-07-27 13:58:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996046080001,"power":27800,"unknown_125":206,"unknown_83":17152,"ignition":54,"odometer":null,"unknown_45":-7574561967917475840}} 
[2026-07-27 13:58:39] local.INFO: DEBUG: GPS processor result {"connection_id":143024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:58:39] local.INFO: GPS data processed {"connection_id":143024,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:58:39] local.INFO: Acknowledgment sent {"connection_id":143024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:59:00] local.INFO: TCP Data received {"connection_id":142880,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142880,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:59:00] local.INFO: Processing buffer {"connection_id":142880,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:59:00] local.INFO: IMEI packet received {"connection_id":142880,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 13:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":142880,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 13:59:05] local.INFO: TCP Data received {"connection_id":142880,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142880,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:59:05] local.INFO: Processing buffer {"connection_id":142880,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 13:59:05] local.INFO: IMEI packet received {"connection_id":142880,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 13:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":142880,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:59:06] local.INFO: TCP Data received {"connection_id":142880,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2afe7e8012d196100071fef08003c006629..."} 
[2026-07-27 13:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2afe7e8012d196100071fef08003c006629..."} 
[2026-07-27 13:59:06] local.INFO: Processing buffer {"connection_id":142880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2afe7e8012d196100071fef08003c006629..."} 
[2026-07-27 13:59:06] local.INFO: Packet analysis {"connection_id":142880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2af"} 
[2026-07-27 13:59:06] local.INFO: Extracted packet for processing {"connection_id":142880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2af"} 
[2026-07-27 13:59:06] local.INFO: GPS Element Parsed {"raw_longitude":756637952,"raw_latitude":119533320,"longitude_deg":75.6637952,"latitude_deg":11.953332,"altitude":60,"angle":102,"satellites":41,"speed":15,"hex_longitude":"2d196100","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-07-27 13:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:59:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996059136001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:59:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871413863677952,"note":"Value kept but may cause issues"} 
[2026-07-27 13:59:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825083779592732672,"note":"Value kept but may cause issues"} 
[2026-07-27 13:59:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:59:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785140865000,"timestamp_ms":1785140865000,"timestamp_seconds":1785140865,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2afe7e8"} 
[2026-07-27 13:59:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:59:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-27 13:59:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:59:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:59:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:59:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:59:06] local.INFO: Teltonika packet parsed successfully {"connection_id":142880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:59:06] local.INFO: Passing IMEI to GPS processor {"connection_id":142880,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:59:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":142880,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:59:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:59:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 13:59:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 13:59:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996059136001,"66":12841,"121":206,"28":31744,"24":15,"16":8871413863677952,"45":1825083779592732672},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 13:59:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 13:59:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 13:59:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996059136001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:59:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 13:59:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 13:59:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871413863677952,"km_value":8871413863677.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:59:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825083779592732672,"description":"Unknown IO ID 45"} 
[2026-07-27 13:59:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996059136001,"power":12841,"unknown_121":206,"unknown_28":31744,"ignition":15,"odometer":null,"unknown_45":1825083779592732672}} 
[2026-07-27 13:59:06] local.INFO: DEBUG: GPS processor result {"connection_id":142880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553411,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:59:06] local.INFO: GPS data processed {"connection_id":142880,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:59:06] local.INFO: Acknowledgment sent {"connection_id":142880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:59:10] local.INFO: TCP Data received {"connection_id":143024,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2b06100012d98b3c0059d9e90000700452e..."} 
[2026-07-27 13:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2b06100012d98b3c0059d9e90000700452e..."} 
[2026-07-27 13:59:10] local.INFO: Processing buffer {"connection_id":143024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2b06100012d98b3c0059d9e90000700452e..."} 
[2026-07-27 13:59:10] local.INFO: Packet analysis {"connection_id":143024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2b0"} 
[2026-07-27 13:59:10] local.INFO: Extracted packet for processing {"connection_id":143024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2b0"} 
[2026-07-27 13:59:10] local.INFO: GPS Element Parsed {"raw_longitude":764982208,"raw_latitude":94215824,"longitude_deg":76.4982208,"latitude_deg":9.4215824,"altitude":7,"angle":69,"satellites":46,"speed":55,"hex_longitude":"2d98b3c0","hex_latitude":"059d9e90","is_valid_coordinates":true} 
[2026-07-27 13:59:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:59:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996067584001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:59:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358951797273919488,"note":"Value kept but may cause issues"} 
[2026-07-27 13:59:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7453035146714693632,"note":"Value kept but may cause issues"} 
[2026-07-27 13:59:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:59:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785140896000,"timestamp_ms":1785140896000,"timestamp_seconds":1785140896,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2b06100"} 
[2026-07-27 13:59:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:59:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:59:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-27 13:59:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:59:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:59:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:59:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:59:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:59:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:59:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:59: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-07-27 13:59:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 13:59:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 13:59:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996067584001,"66":27843,"125":206,"83":17152,"24":55,"16":358951797273919488,"45":-7453035146714693632},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,83,24,16,45]} 
[2026-07-27 13:59:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 13:59:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 13:59:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996067584001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:59:10] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-07-27 13:59:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 13:59:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358951797273919488,"km_value":358951797273919.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:59:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7453035146714693632,"description":"Unknown IO ID 45"} 
[2026-07-27 13:59:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996067584001,"power":27843,"unknown_125":206,"unknown_83":17152,"ignition":55,"odometer":null,"unknown_45":-7453035146714693632}} 
[2026-07-27 13:59:10] local.INFO: DEBUG: GPS processor result {"connection_id":143024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:59:10] local.INFO: GPS data processed {"connection_id":143024,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:59:10] local.INFO: Acknowledgment sent {"connection_id":143024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:59:34] local.INFO: TCP Data received {"connection_id":145299,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:59:34] local.INFO: Processing buffer {"connection_id":145299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:59:34] local.INFO: IMEI packet received {"connection_id":145299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 13:59:34] local.INFO: IMEI acknowledgment sent {"connection_id":145299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 13:59:37] local.INFO: TCP Data received {"connection_id":145299,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:59:37] local.INFO: Processing buffer {"connection_id":145299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 13:59:37] local.INFO: IMEI packet received {"connection_id":145299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 13:59:37] local.INFO: IMEI acknowledgment sent {"connection_id":145299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 13:59:38] local.INFO: TCP Data received {"connection_id":145299,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2b07c58012d98d940059dac60000700462d..."} 
[2026-07-27 13:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2b07c58012d98d940059dac60000700462d..."} 
[2026-07-27 13:59:38] local.INFO: Processing buffer {"connection_id":145299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2b07c58012d98d940059dac60000700462d..."} 
[2026-07-27 13:59:38] local.INFO: Packet analysis {"connection_id":145299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2b0"} 
[2026-07-27 13:59:38] local.INFO: Extracted packet for processing {"connection_id":145299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2b0"} 
[2026-07-27 13:59:38] local.INFO: GPS Element Parsed {"raw_longitude":764991808,"raw_latitude":94219360,"longitude_deg":76.4991808,"latitude_deg":9.421936,"altitude":7,"angle":70,"satellites":45,"speed":59,"hex_longitude":"2d98d940","hex_latitude":"059dac60","is_valid_coordinates":true} 
[2026-07-27 13:59:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:59:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996069376001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:59:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358952286900191232,"note":"Value kept but may cause issues"} 
[2026-07-27 13:59:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7443394628761513984,"note":"Value kept but may cause issues"} 
[2026-07-27 13:59:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:59:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785140903000,"timestamp_ms":1785140903000,"timestamp_seconds":1785140903,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2b07c58"} 
[2026-07-27 13:59:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:59:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13:59:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-27 13:59:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:59:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:59:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:59:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:59:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:59:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:59:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 13:59:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:59:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 13:59:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 13:59:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996069376001,"66":27843,"125":206,"83":17152,"24":59,"16":358952286900191232,"45":-7443394628761513984},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,83,24,16,45]} 
[2026-07-27 13:59:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 13:59:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 13:59:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996069376001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:59:38] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-07-27 13:59:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 13:59:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358952286900191232,"km_value":358952286900191.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:59:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7443394628761513984,"description":"Unknown IO ID 45"} 
[2026-07-27 13:59:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996069376001,"power":27843,"unknown_125":206,"unknown_83":17152,"ignition":59,"odometer":null,"unknown_45":-7443394628761513984}} 
[2026-07-27 13:59:38] local.INFO: DEBUG: GPS processor result {"connection_id":145299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:59:38] local.INFO: GPS data processed {"connection_id":145299,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:59:38] local.INFO: Acknowledgment sent {"connection_id":145299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 13:59:42] local.INFO: TCP Data received {"connection_id":142880,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2aff3a0012d196500071fee80003c005628..."} 
[2026-07-27 13:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2aff3a0012d196500071fee80003c005628..."} 
[2026-07-27 13:59:42] local.INFO: Processing buffer {"connection_id":142880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2aff3a0012d196500071fee80003c005628..."} 
[2026-07-27 13:59:42] local.INFO: Packet analysis {"connection_id":142880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2af"} 
[2026-07-27 13:59:42] local.INFO: Extracted packet for processing {"connection_id":142880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2af"} 
[2026-07-27 13:59:42] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533184,"longitude_deg":75.6638976,"latitude_deg":11.9533184,"altitude":60,"angle":86,"satellites":40,"speed":9,"hex_longitude":"2d196500","hex_latitude":"071fee80","is_valid_coordinates":true} 
[2026-07-27 13:59:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 13:59:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996061440001,"note":"Value kept but may cause issues"} 
[2026-07-27 13:59:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871461108318208,"note":"Value kept but may cause issues"} 
[2026-07-27 13:59:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828742954289661952,"note":"Value kept but may cause issues"} 
[2026-07-27 13:59:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 13:59:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785140868000,"timestamp_ms":1785140868000,"timestamp_seconds":1785140868,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2aff3a0"} 
[2026-07-27 13:59:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 13:59:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 13: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-27 13:59:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 13:59:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 13:59:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 13:59:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 13:59:42] local.INFO: Teltonika packet parsed successfully {"connection_id":142880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 13:59:42] local.INFO: Passing IMEI to GPS processor {"connection_id":142880,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:59:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":142880,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 13:59:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 13:59:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 13:59:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 13:59:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996061440001,"66":12798,"121":206,"28":31744,"24":9,"16":8871461108318208,"45":1828742954289661952},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 13:59:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 13:59:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 13:59:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996061440001,"description":"Unknown IO ID 0"} 
[2026-07-27 13:59:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 13:59:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 13:59:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871461108318208,"km_value":8871461108318.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 13:59:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828742954289661952,"description":"Unknown IO ID 45"} 
[2026-07-27 13:59:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996061440001,"power":12798,"unknown_121":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1828742954289661952}} 
[2026-07-27 13:59:42] local.INFO: DEBUG: GPS processor result {"connection_id":142880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553414,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 13:59:42] local.INFO: GPS data processed {"connection_id":142880,"processed":1,"errors":0,"total":1} 
[2026-07-27 13:59:42] local.INFO: Acknowledgment sent {"connection_id":142880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:00:00] local.INFO: TCP Data received {"connection_id":144005,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144005,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:00:00] local.INFO: Processing buffer {"connection_id":144005,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:00:00] local.INFO: IMEI packet received {"connection_id":144005,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 14:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":144005,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:00:05] local.INFO: TCP Data received {"connection_id":144005,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144005,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:00:05] local.INFO: Processing buffer {"connection_id":144005,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:00:05] local.INFO: IMEI packet received {"connection_id":144005,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 14:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":144005,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:00:06] local.INFO: TCP Data received {"connection_id":144005,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2b045a8012d1966c0071fee78003b005c29..."} 
[2026-07-27 14:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144005,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2b045a8012d1966c0071fee78003b005c29..."} 
[2026-07-27 14:00:06] local.INFO: Processing buffer {"connection_id":144005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2b045a8012d1966c0071fee78003b005c29..."} 
[2026-07-27 14:00:06] local.INFO: Packet analysis {"connection_id":144005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2b0"} 
[2026-07-27 14:00:06] local.INFO: Extracted packet for processing {"connection_id":144005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2b0"} 
[2026-07-27 14:00:06] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":41,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14: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-07-27 14:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996062208001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:00:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196469760,"note":"Value kept but may cause issues"} 
[2026-07-27 14:00:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785140889000,"timestamp_ms":1785140889000,"timestamp_seconds":1785140889,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2b045a8"} 
[2026-07-27 14:00:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:00:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-27 14:00:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14: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-07-27 14:00:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":144005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":144005,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":144005,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:00:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996062208001,"66":12776,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1829868854196469760},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996062208001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:00:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:00:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:00:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196469760,"description":"Unknown IO ID 45"} 
[2026-07-27 14:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996062208001,"power":12776,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196469760}} 
[2026-07-27 14:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":144005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553415,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:00:06] local.INFO: GPS data processed {"connection_id":144005,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:00:06] local.INFO: Acknowledgment sent {"connection_id":144005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:00:15] local.INFO: TCP Data received {"connection_id":145299,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2b093c8012d98fa80059db820000800462f..."} 
[2026-07-27 14:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2b093c8012d98fa80059db820000800462f..."} 
[2026-07-27 14:00:15] local.INFO: Processing buffer {"connection_id":145299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2b093c8012d98fa80059db820000800462f..."} 
[2026-07-27 14:00:15] local.INFO: Packet analysis {"connection_id":145299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2b0"} 
[2026-07-27 14:00:15] local.INFO: Extracted packet for processing {"connection_id":145299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2b0"} 
[2026-07-27 14:00:15] local.INFO: GPS Element Parsed {"raw_longitude":765000320,"raw_latitude":94222368,"longitude_deg":76.500032,"latitude_deg":9.4222368,"altitude":8,"angle":70,"satellites":47,"speed":58,"hex_longitude":"2d98fa80","hex_latitude":"059db820","is_valid_coordinates":true} 
[2026-07-27 14:00:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:00:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996071168001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:00:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358952720691888128,"note":"Value kept but may cause issues"} 
[2026-07-27 14:00:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7432839317133959168,"note":"Value kept but may cause issues"} 
[2026-07-27 14:00:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:00:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785140909000,"timestamp_ms":1785140909000,"timestamp_seconds":1785140909,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2b093c8"} 
[2026-07-27 14:00:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:00:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:00:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-27 14:00:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:00:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:00:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:00:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:00:15] local.INFO: Teltonika packet parsed successfully {"connection_id":145299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:00:15] local.INFO: Passing IMEI to GPS processor {"connection_id":145299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:00:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":145299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:00:15] 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-07-27 14:00:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 14:00:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 14:00:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996071168001,"66":27908,"125":206,"83":17152,"24":58,"16":358952720691888128,"45":-7432839317133959168},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,83,24,16,45]} 
[2026-07-27 14:00:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 14:00:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 14:00:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996071168001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:00:15] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-07-27 14:00:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 14:00:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358952720691888128,"km_value":358952720691888.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:00:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7432839317133959168,"description":"Unknown IO ID 45"} 
[2026-07-27 14:00:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996071168001,"power":27908,"unknown_125":206,"unknown_83":17152,"ignition":58,"odometer":null,"unknown_45":-7432839317133959168}} 
[2026-07-27 14:00:15] local.INFO: DEBUG: GPS processor result {"connection_id":145299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:00:15] local.INFO: GPS data processed {"connection_id":145299,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:00:15] local.INFO: Acknowledgment sent {"connection_id":145299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:00:37] local.INFO: TCP Data received {"connection_id":144006,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:00:37] local.INFO: Processing buffer {"connection_id":144006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:00:37] local.INFO: IMEI packet received {"connection_id":144006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 14:00:37] local.INFO: IMEI acknowledgment sent {"connection_id":144006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:00:38] local.INFO: TCP Data received {"connection_id":144005,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2b097b0012d1966c0071fee78003b005c29..."} 
[2026-07-27 14:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144005,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2b097b0012d1966c0071fee78003b005c29..."} 
[2026-07-27 14:00:38] local.INFO: Processing buffer {"connection_id":144005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2b097b0012d1966c0071fee78003b005c29..."} 
[2026-07-27 14:00:38] local.INFO: Packet analysis {"connection_id":144005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2b0"} 
[2026-07-27 14:00:38] local.INFO: Extracted packet for processing {"connection_id":144005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2b0"} 
[2026-07-27 14:00:38] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":41,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14:00:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:00:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996067584001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:00:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:00:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:00:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:00:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785140910000,"timestamp_ms":1785140910000,"timestamp_seconds":1785140910,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2b097b0"} 
[2026-07-27 14:00:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:00:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:00:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-27 14:00:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:00:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:00:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:00:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:00:38] local.INFO: Teltonika packet parsed successfully {"connection_id":144005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:00:38] local.INFO: Passing IMEI to GPS processor {"connection_id":144005,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:00:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":144005,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:00:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:00:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:00:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:00:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996067584001,"66":12461,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:00:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:00:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:00:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996067584001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:00:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:00:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:00:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:00:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:00:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996067584001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:00:38] local.INFO: DEBUG: GPS processor result {"connection_id":144005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553417,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:00:38] local.INFO: GPS data processed {"connection_id":144005,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:00:38] local.INFO: Acknowledgment sent {"connection_id":144005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:00:41] local.INFO: TCP Data received {"connection_id":144006,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:00:41] local.INFO: Processing buffer {"connection_id":144006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:00:41] local.INFO: IMEI packet received {"connection_id":144006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 14:00:41] local.INFO: IMEI acknowledgment sent {"connection_id":144006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:00:42] local.INFO: TCP Data received {"connection_id":144006,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2b0af20012d992040059dc538000800462d..."} 
[2026-07-27 14:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2b0af20012d992040059dc538000800462d..."} 
[2026-07-27 14:00:42] local.INFO: Processing buffer {"connection_id":144006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2b0af20012d992040059dc538000800462d..."} 
[2026-07-27 14:00:42] local.INFO: Packet analysis {"connection_id":144006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2b0"} 
[2026-07-27 14:00:42] local.INFO: Extracted packet for processing {"connection_id":144006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2b0"} 
[2026-07-27 14:00:42] local.INFO: GPS Element Parsed {"raw_longitude":765009984,"raw_latitude":94225720,"longitude_deg":76.5009984,"latitude_deg":9.422572,"altitude":8,"angle":70,"satellites":45,"speed":58,"hex_longitude":"2d992040","hex_latitude":"059dc538","is_valid_coordinates":true} 
[2026-07-27 14:00:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:00:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996072704001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:00:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358953210318159872,"note":"Value kept but may cause issues"} 
[2026-07-27 14:00:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7423480274157559808,"note":"Value kept but may cause issues"} 
[2026-07-27 14:00:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:00:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785140916000,"timestamp_ms":1785140916000,"timestamp_seconds":1785140916,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2b0af20"} 
[2026-07-27 14:00:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:00:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-27 14:00:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:00:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:00:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:00:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:00:42] local.INFO: Teltonika packet parsed successfully {"connection_id":144006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:00:42] local.INFO: Passing IMEI to GPS processor {"connection_id":144006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:00:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":144006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:00: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-07-27 14:00:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 14:00:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 14:00:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996072704001,"66":27800,"125":206,"83":17152,"24":58,"16":358953210318159872,"45":-7423480274157559808},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,83,24,16,45]} 
[2026-07-27 14:00:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 14:00:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 14:00:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996072704001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:00:42] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-07-27 14:00:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 14:00:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358953210318159872,"km_value":358953210318159.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:00:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7423480274157559808,"description":"Unknown IO ID 45"} 
[2026-07-27 14:00:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996072704001,"power":27800,"unknown_125":206,"unknown_83":17152,"ignition":58,"odometer":null,"unknown_45":-7423480274157559808}} 
[2026-07-27 14:00:42] local.INFO: DEBUG: GPS processor result {"connection_id":144006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:00:42] local.INFO: GPS data processed {"connection_id":144006,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:00:42] local.INFO: Acknowledgment sent {"connection_id":144006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:00:49] local.INFO: TCP Data received {"connection_id":144006,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2b0ca78012d994640059dd270000800452d..."} 
[2026-07-27 14:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2b0ca78012d994640059dd270000800452d..."} 
[2026-07-27 14:00:49] local.INFO: Processing buffer {"connection_id":144006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2b0ca78012d994640059dd270000800452d..."} 
[2026-07-27 14:00:49] local.INFO: Packet analysis {"connection_id":144006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2b0"} 
[2026-07-27 14:00:49] local.INFO: Extracted packet for processing {"connection_id":144006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2b0"} 
[2026-07-27 14:00:49] local.INFO: GPS Element Parsed {"raw_longitude":765019712,"raw_latitude":94229104,"longitude_deg":76.5019712,"latitude_deg":9.4229104,"altitude":8,"angle":69,"satellites":45,"speed":56,"hex_longitude":"2d994640","hex_latitude":"059dd270","is_valid_coordinates":true} 
[2026-07-27 14:00:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:00:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996074496001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:00:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358953699944431616,"note":"Value kept but may cause issues"} 
[2026-07-27 14:00:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7412854593785874432,"note":"Value kept but may cause issues"} 
[2026-07-27 14:00:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:00:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785140923000,"timestamp_ms":1785140923000,"timestamp_seconds":1785140923,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2b0ca78"} 
[2026-07-27 14:00:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:00:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-27 14:00:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:00:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:00:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:00:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:00:49] local.INFO: Teltonika packet parsed successfully {"connection_id":144006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:00:49] local.INFO: Passing IMEI to GPS processor {"connection_id":144006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:00:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":144006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:00:49] 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-07-27 14:00:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 14:00:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 14:00:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996074496001,"66":27887,"125":206,"83":17152,"24":56,"16":358953699944431616,"45":-7412854593785874432},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,83,24,16,45]} 
[2026-07-27 14:00:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 14:00:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 14:00:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996074496001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:00:49] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-07-27 14:00:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 14:00:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358953699944431616,"km_value":358953699944431.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:00:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7412854593785874432,"description":"Unknown IO ID 45"} 
[2026-07-27 14:00:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996074496001,"power":27887,"unknown_125":206,"unknown_83":17152,"ignition":56,"odometer":null,"unknown_45":-7412854593785874432}} 
[2026-07-27 14:00:49] local.INFO: DEBUG: GPS processor result {"connection_id":144006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:00:49] local.INFO: GPS data processed {"connection_id":144006,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:00:49] local.INFO: Acknowledgment sent {"connection_id":144006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:01:00] local.INFO: TCP Data received {"connection_id":145300,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145300,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:01:00] local.INFO: Processing buffer {"connection_id":145300,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:01:00] local.INFO: IMEI packet received {"connection_id":145300,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 14:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":145300,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:01:05] local.INFO: TCP Data received {"connection_id":145300,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145300,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:01:05] local.INFO: Processing buffer {"connection_id":145300,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:01:05] local.INFO: IMEI packet received {"connection_id":145300,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 14:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":145300,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:01:06] local.INFO: TCP Data received {"connection_id":145300,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2b0e9b8012d1966c0071fee78003b005c28..."} 
[2026-07-27 14:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2b0e9b8012d1966c0071fee78003b005c28..."} 
[2026-07-27 14:01:06] local.INFO: Processing buffer {"connection_id":145300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2b0e9b8012d1966c0071fee78003b005c28..."} 
[2026-07-27 14:01:06] local.INFO: Packet analysis {"connection_id":145300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2b0"} 
[2026-07-27 14:01:06] local.INFO: Extracted packet for processing {"connection_id":145300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2b0"} 
[2026-07-27 14:01:06] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":40,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:01:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996072960001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:01:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:01:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:01:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:01:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785140931000,"timestamp_ms":1785140931000,"timestamp_seconds":1785140931,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2b0e9b8"} 
[2026-07-27 14:01:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:01:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14: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":173,"data_length":795,"current_offset":136} 
[2026-07-27 14:01:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:01:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:01:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:01:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:01:06] local.INFO: Teltonika packet parsed successfully {"connection_id":145300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:01:06] local.INFO: Passing IMEI to GPS processor {"connection_id":145300,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:01:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":145300,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:01:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:01:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:01:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:01:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996072960001,"66":12722,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:01:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:01:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:01:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996072960001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:01:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:01:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:01:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:01:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:01:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996072960001,"power":12722,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":145300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553420,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:01:06] local.INFO: GPS data processed {"connection_id":145300,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:01:06] local.INFO: Acknowledgment sent {"connection_id":145300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:01:32] local.INFO: TCP Data received {"connection_id":143025,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:01:32] local.INFO: Processing buffer {"connection_id":143025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:01:32] local.INFO: IMEI packet received {"connection_id":143025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 14:01:32] local.INFO: IMEI acknowledgment sent {"connection_id":143025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:01:35] local.INFO: TCP Data received {"connection_id":143025,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:01:35] local.INFO: Processing buffer {"connection_id":143025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:01:35] local.INFO: IMEI packet received {"connection_id":143025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 14:01:35] local.INFO: IMEI acknowledgment sent {"connection_id":143025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:01:36] local.INFO: TCP Data received {"connection_id":143025,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2b23d90012d9ac900059e5e00000900462d..."} 
[2026-07-27 14:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2b23d90012d9ac900059e5e00000900462d..."} 
[2026-07-27 14:01:36] local.INFO: Processing buffer {"connection_id":143025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2b23d90012d9ac900059e5e00000900462d..."} 
[2026-07-27 14:01:36] local.INFO: Packet analysis {"connection_id":143025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2b2"} 
[2026-07-27 14:01:36] local.INFO: Extracted packet for processing {"connection_id":143025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2b2"} 
[2026-07-27 14:01:36] local.INFO: GPS Element Parsed {"raw_longitude":765118720,"raw_latitude":94264832,"longitude_deg":76.511872,"latitude_deg":9.4264832,"altitude":9,"angle":70,"satellites":45,"speed":51,"hex_longitude":"2d9ac900","hex_latitude":"059e5e00","is_valid_coordinates":true} 
[2026-07-27 14:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:01:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996098816001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:01:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358958746531004416,"note":"Value kept but may cause issues"} 
[2026-07-27 14:01:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7302586771650254848,"note":"Value kept but may cause issues"} 
[2026-07-27 14:01:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,123,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:01:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785141018000,"timestamp_ms":1785141018000,"timestamp_seconds":1785141018,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2b23d90"} 
[2026-07-27 14:01:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:01:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-27 14:01:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:01:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:01:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:01:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:01:36] local.INFO: Teltonika packet parsed successfully {"connection_id":143025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:01:36] local.INFO: Passing IMEI to GPS processor {"connection_id":143025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:01:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":143025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:01:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:01:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 14:01:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 14:01:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996098816001,"66":27800,"123":206,"83":17152,"24":51,"16":358958746531004416,"45":-7302586771650254848},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,123,83,24,16,45]} 
[2026-07-27 14:01:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 14:01:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 14:01:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996098816001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:01:36] local.INFO: Unknown IO ID detected {"io_id":123,"value":206,"description":"Unknown IO ID 123"} 
[2026-07-27 14:01:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 14:01:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358958746531004416,"km_value":358958746531004.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:01:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7302586771650254848,"description":"Unknown IO ID 45"} 
[2026-07-27 14:01:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996098816001,"power":27800,"unknown_123":206,"unknown_83":17152,"ignition":51,"odometer":null,"unknown_45":-7302586771650254848}} 
[2026-07-27 14:01:36] local.INFO: DEBUG: GPS processor result {"connection_id":143025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:01:36] local.INFO: GPS data processed {"connection_id":143025,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:01:36] local.INFO: Acknowledgment sent {"connection_id":143025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:01:38] local.INFO: TCP Data received {"connection_id":145300,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2b13bc0012d1966c0071fee78003b005c2c..."} 
[2026-07-27 14:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2b13bc0012d1966c0071fee78003b005c2c..."} 
[2026-07-27 14:01:38] local.INFO: Processing buffer {"connection_id":145300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2b13bc0012d1966c0071fee78003b005c2c..."} 
[2026-07-27 14:01:38] local.INFO: Packet analysis {"connection_id":145300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2b1"} 
[2026-07-27 14:01:38] local.INFO: Extracted packet for processing {"connection_id":145300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2b1"} 
[2026-07-27 14:01:38] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":44,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:01:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996078336001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:01:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:01:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:01:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:01:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785140952000,"timestamp_ms":1785140952000,"timestamp_seconds":1785140952,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2b13bc0"} 
[2026-07-27 14:01:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:01:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-27 14:01:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:01:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:01:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:01:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:01:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:01:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145300,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:01:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145300,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:01:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:01:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:01:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:01:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996078336001,"66":12711,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:01:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:01:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:01:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996078336001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:01:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:01:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:01:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:01:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:01:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996078336001,"power":12711,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:01:38] local.INFO: DEBUG: GPS processor result {"connection_id":145300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553422,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:01:38] local.INFO: GPS data processed {"connection_id":145300,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:01:38] local.INFO: Acknowledgment sent {"connection_id":145300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:02:00] local.INFO: TCP Data received {"connection_id":142881,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142881,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:02:00] local.INFO: Processing buffer {"connection_id":142881,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:02:00] local.INFO: IMEI packet received {"connection_id":142881,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 14:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":142881,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:02:05] local.INFO: TCP Data received {"connection_id":142881,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142881,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:02:05] local.INFO: Processing buffer {"connection_id":142881,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:02:05] local.INFO: IMEI packet received {"connection_id":142881,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 14:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":142881,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:02:06] local.INFO: TCP Data received {"connection_id":142881,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2b18dc8012d1966c0071fee78003b005c2b..."} 
[2026-07-27 14:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2b18dc8012d1966c0071fee78003b005c2b..."} 
[2026-07-27 14:02:06] local.INFO: Processing buffer {"connection_id":142881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2b18dc8012d1966c0071fee78003b005c2b..."} 
[2026-07-27 14:02:06] local.INFO: Packet analysis {"connection_id":142881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2b1"} 
[2026-07-27 14:02:06] local.INFO: Extracted packet for processing {"connection_id":142881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2b1"} 
[2026-07-27 14:02:06] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":43,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:02:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996083712001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:02:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:02:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:02:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:02:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785140973000,"timestamp_ms":1785140973000,"timestamp_seconds":1785140973,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2b18dc8"} 
[2026-07-27 14:02:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:02:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-07-27 14:02:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:02:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:02:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:02:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:02:06] local.INFO: Teltonika packet parsed successfully {"connection_id":142881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:02:06] local.INFO: Passing IMEI to GPS processor {"connection_id":142881,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:02:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":142881,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:02:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:02:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:02:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:02:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996083712001,"66":12711,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:02:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:02:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:02:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996083712001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:02:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:02:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:02:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:02:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:02:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996083712001,"power":12711,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:02:07] local.INFO: DEBUG: GPS processor result {"connection_id":142881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553423,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:02:07] local.INFO: GPS data processed {"connection_id":142881,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:02:07] local.INFO: Acknowledgment sent {"connection_id":142881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:02:13] local.INFO: TCP Data received {"connection_id":143025,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2b25cd0012d9aee40059e6b98000900462e..."} 
[2026-07-27 14:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2b25cd0012d9aee40059e6b98000900462e..."} 
[2026-07-27 14:02:13] local.INFO: Processing buffer {"connection_id":143025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2b25cd0012d9aee40059e6b98000900462e..."} 
[2026-07-27 14:02:13] local.INFO: Packet analysis {"connection_id":143025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2b2"} 
[2026-07-27 14:02:13] local.INFO: Extracted packet for processing {"connection_id":143025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2b2"} 
[2026-07-27 14:02:13] local.INFO: GPS Element Parsed {"raw_longitude":765128256,"raw_latitude":94268312,"longitude_deg":76.5128256,"latitude_deg":9.4268312,"altitude":9,"angle":70,"satellites":46,"speed":49,"hex_longitude":"2d9aee40","hex_latitude":"059e6b98","is_valid_coordinates":true} 
[2026-07-27 14: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-07-27 14:02:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996100608001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:02:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358959231862308864,"note":"Value kept but may cause issues"} 
[2026-07-27 14:02:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7293298097418010624,"note":"Value kept but may cause issues"} 
[2026-07-27 14:02:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,123,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:02:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785141026000,"timestamp_ms":1785141026000,"timestamp_seconds":1785141026,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2b25cd0"} 
[2026-07-27 14:02:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:02:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-27 14:02:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14: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-07-27 14:02:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:02:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:02:13] local.INFO: Teltonika packet parsed successfully {"connection_id":143025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:02:13] local.INFO: Passing IMEI to GPS processor {"connection_id":143025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:02:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":143025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:02:13] 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-07-27 14:02:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 14:02:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 14:02:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996100608001,"66":27865,"123":206,"83":17152,"24":49,"16":358959231862308864,"45":-7293298097418010624},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,123,83,24,16,45]} 
[2026-07-27 14:02:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 14:02:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 14:02:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996100608001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:02:13] local.INFO: Unknown IO ID detected {"io_id":123,"value":206,"description":"Unknown IO ID 123"} 
[2026-07-27 14:02:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 14:02:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358959231862308864,"km_value":358959231862308.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:02:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7293298097418010624,"description":"Unknown IO ID 45"} 
[2026-07-27 14:02:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996100608001,"power":27865,"unknown_123":206,"unknown_83":17152,"ignition":49,"odometer":null,"unknown_45":-7293298097418010624}} 
[2026-07-27 14:02:13] local.INFO: DEBUG: GPS processor result {"connection_id":143025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:02:13] local.INFO: GPS data processed {"connection_id":143025,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:02:13] local.INFO: Acknowledgment sent {"connection_id":143025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:02:38] local.INFO: TCP Data received {"connection_id":142881,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2b1dfd0012d1966c0071fee78003b005c2c..."} 
[2026-07-27 14:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2b1dfd0012d1966c0071fee78003b005c2c..."} 
[2026-07-27 14:02:38] local.INFO: Processing buffer {"connection_id":142881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2b1dfd0012d1966c0071fee78003b005c2c..."} 
[2026-07-27 14:02:38] local.INFO: Packet analysis {"connection_id":142881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2b1"} 
[2026-07-27 14:02:38] local.INFO: Extracted packet for processing {"connection_id":142881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2b1"} 
[2026-07-27 14:02:38] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":44,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14:02:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:02:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996089088001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:02:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:02:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:02:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:02:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785140994000,"timestamp_ms":1785140994000,"timestamp_seconds":1785140994,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2b1dfd0"} 
[2026-07-27 14:02:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:02:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:02:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-07-27 14:02:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:02:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:02:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:02:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:02:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:02:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142881,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:02:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142881,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:02:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:02:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:02:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:02:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996089088001,"66":12711,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:02:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:02:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:02:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996089088001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:02:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:02:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:02:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:02:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:02:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996089088001,"power":12711,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:02:38] local.INFO: DEBUG: GPS processor result {"connection_id":142881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553425,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:02:38] local.INFO: GPS data processed {"connection_id":142881,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:02:38] local.INFO: Acknowledgment sent {"connection_id":142881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:02:42] local.INFO: TCP Data received {"connection_id":144007,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:02:42] local.INFO: Processing buffer {"connection_id":144007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:02:42] local.INFO: IMEI packet received {"connection_id":144007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 14:02:42] local.INFO: IMEI acknowledgment sent {"connection_id":144007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:02:47] local.INFO: TCP Data received {"connection_id":144007,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:02:47] local.INFO: Processing buffer {"connection_id":144007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:02:47] local.INFO: IMEI packet received {"connection_id":144007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 14:02:47] local.INFO: IMEI acknowledgment sent {"connection_id":144007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:02:48] local.INFO: TCP Data received {"connection_id":144007,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2b27c10012d9b13c0059e78f0000800462e..."} 
[2026-07-27 14:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144007,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2b27c10012d9b13c0059e78f0000800462e..."} 
[2026-07-27 14:02:48] local.INFO: Processing buffer {"connection_id":144007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2b27c10012d9b13c0059e78f0000800462e..."} 
[2026-07-27 14:02:48] local.INFO: Packet analysis {"connection_id":144007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2b2"} 
[2026-07-27 14:02:48] local.INFO: Extracted packet for processing {"connection_id":144007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2b2"} 
[2026-07-27 14:02:48] local.INFO: GPS Element Parsed {"raw_longitude":765137856,"raw_latitude":94271728,"longitude_deg":76.5137856,"latitude_deg":9.4271728,"altitude":8,"angle":70,"satellites":46,"speed":50,"hex_longitude":"2d9b13c0","hex_latitude":"059e78f0","is_valid_coordinates":true} 
[2026-07-27 14: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-07-27 14:02:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996102656001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:02:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358959721488580608,"note":"Value kept but may cause issues"} 
[2026-07-27 14:02:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7282813154534647808,"note":"Value kept but may cause issues"} 
[2026-07-27 14:02:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,123,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:02:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785141034000,"timestamp_ms":1785141034000,"timestamp_seconds":1785141034,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2b27c10"} 
[2026-07-27 14:02:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:02:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-27 14:02:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14: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-07-27 14:02:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:02:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:02:48] local.INFO: Teltonika packet parsed successfully {"connection_id":144007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:02:48] local.INFO: Passing IMEI to GPS processor {"connection_id":144007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:02:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":144007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:02:48] 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-07-27 14:02:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 14:02:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 14:02:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996102656001,"66":27843,"123":206,"83":17152,"24":50,"16":358959721488580608,"45":-7282813154534647808},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,123,83,24,16,45]} 
[2026-07-27 14:02:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 14:02:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 14:02:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996102656001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:02:48] local.INFO: Unknown IO ID detected {"io_id":123,"value":206,"description":"Unknown IO ID 123"} 
[2026-07-27 14:02:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 14:02:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358959721488580608,"km_value":358959721488580.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:02:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7282813154534647808,"description":"Unknown IO ID 45"} 
[2026-07-27 14:02:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996102656001,"power":27843,"unknown_123":206,"unknown_83":17152,"ignition":50,"odometer":null,"unknown_45":-7282813154534647808}} 
[2026-07-27 14:02:48] local.INFO: DEBUG: GPS processor result {"connection_id":144007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:02:48] local.INFO: GPS data processed {"connection_id":144007,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:02:48] local.INFO: Acknowledgment sent {"connection_id":144007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:03:05] local.INFO: TCP Data received {"connection_id":144008,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144008,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:03:05] local.INFO: Processing buffer {"connection_id":144008,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:03:05] local.INFO: IMEI packet received {"connection_id":144008,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 14:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":144008,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:03:10] local.INFO: TCP Data received {"connection_id":144008,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144008,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:03:10] local.INFO: Processing buffer {"connection_id":144008,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:03:10] local.INFO: IMEI packet received {"connection_id":144008,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 14:03:10] local.INFO: IMEI acknowledgment sent {"connection_id":144008,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:03:12] local.INFO: TCP Data received {"connection_id":144008,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2b231d8012d1966c0071fee78003b005c2b..."} 
[2026-07-27 14:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144008,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2b231d8012d1966c0071fee78003b005c2b..."} 
[2026-07-27 14:03:12] local.INFO: Processing buffer {"connection_id":144008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2b231d8012d1966c0071fee78003b005c2b..."} 
[2026-07-27 14:03:12] local.INFO: Packet analysis {"connection_id":144008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2b2"} 
[2026-07-27 14:03:12] local.INFO: Extracted packet for processing {"connection_id":144008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2b2"} 
[2026-07-27 14:03:12] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":43,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14:03:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:03:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996094464001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:03:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:03:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:03:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:03:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785141015000,"timestamp_ms":1785141015000,"timestamp_seconds":1785141015,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2b231d8"} 
[2026-07-27 14:03:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:03:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:03:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-07-27 14:03:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:03:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:03:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:03:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:03:12] local.INFO: Teltonika packet parsed successfully {"connection_id":144008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:03:12] local.INFO: Passing IMEI to GPS processor {"connection_id":144008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:03:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":144008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:03:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:03:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:03:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:03:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996094464001,"66":12689,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:03:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:03:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:03:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996094464001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:03:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:03:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:03:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:03:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:03:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996094464001,"power":12689,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:03:12] local.INFO: DEBUG: GPS processor result {"connection_id":144008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553427,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:03:12] local.INFO: GPS data processed {"connection_id":144008,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:03:12] local.INFO: Acknowledgment sent {"connection_id":144008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:03:15] local.INFO: TCP Data received {"connection_id":144008,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2b283e0012d1966c0071fee78003b005c2c..."} 
[2026-07-27 14:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144008,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2b283e0012d1966c0071fee78003b005c2c..."} 
[2026-07-27 14:03:15] local.INFO: Processing buffer {"connection_id":144008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2b283e0012d1966c0071fee78003b005c2c..."} 
[2026-07-27 14:03:15] local.INFO: Packet analysis {"connection_id":144008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2b2"} 
[2026-07-27 14:03:15] local.INFO: Extracted packet for processing {"connection_id":144008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2b2"} 
[2026-07-27 14:03:15] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":44,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14:03:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:03:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996099840001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:03:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:03:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:03: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-07-27 14:03:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785141036000,"timestamp_ms":1785141036000,"timestamp_seconds":1785141036,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2b283e0"} 
[2026-07-27 14:03:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:03:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:03:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-27 14:03:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:03:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:03:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:03:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:03:15] local.INFO: Teltonika packet parsed successfully {"connection_id":144008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:03:15] local.INFO: Passing IMEI to GPS processor {"connection_id":144008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:03:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":144008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:03:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:03:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:03:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:03:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996099840001,"66":12678,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:03:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:03:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:03:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996099840001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:03:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:03:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:03:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:03:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:03:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996099840001,"power":12678,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:03:15] local.INFO: DEBUG: GPS processor result {"connection_id":144008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553428,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:03:15] local.INFO: GPS data processed {"connection_id":144008,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:03:15] local.INFO: Acknowledgment sent {"connection_id":144008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:04:00] local.INFO: TCP Data received {"connection_id":143026,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143026,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:04:00] local.INFO: Processing buffer {"connection_id":143026,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:04:00] local.INFO: IMEI packet received {"connection_id":143026,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 14:04:00] local.INFO: IMEI acknowledgment sent {"connection_id":143026,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:04:02] local.INFO: TCP Data received {"connection_id":143026,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143026,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:04:02] local.INFO: Processing buffer {"connection_id":143026,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:04:02] local.INFO: IMEI packet received {"connection_id":143026,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 14:04:02] local.INFO: IMEI acknowledgment sent {"connection_id":143026,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:04:03] local.INFO: TCP Data received {"connection_id":143026,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2b2d5e8012d1966c0071fee78003b005c2b..."} 
[2026-07-27 14:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143026,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2b2d5e8012d1966c0071fee78003b005c2b..."} 
[2026-07-27 14:04:03] local.INFO: Processing buffer {"connection_id":143026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2b2d5e8012d1966c0071fee78003b005c2b..."} 
[2026-07-27 14:04:03] local.INFO: Packet analysis {"connection_id":143026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2b2"} 
[2026-07-27 14:04:03] local.INFO: Extracted packet for processing {"connection_id":143026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2b2"} 
[2026-07-27 14:04:03] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":43,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14:04:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:04:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996105216001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:04:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:04:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:04:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:04:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785141057000,"timestamp_ms":1785141057000,"timestamp_seconds":1785141057,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2b2d5e8"} 
[2026-07-27 14:04:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:04:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:04:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-27 14:04:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:04:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:04:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:04:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:04:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:04:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:04:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:04:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:04:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:04:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:04:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996105216001,"66":12667,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:04:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:04:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:04:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996105216001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:04:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:04:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:04:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:04:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:04:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996105216001,"power":12667,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:04:03] local.INFO: DEBUG: GPS processor result {"connection_id":143026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553429,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:04:03] local.INFO: GPS data processed {"connection_id":143026,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:04:03] local.INFO: Acknowledgment sent {"connection_id":143026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:04:08] local.INFO: TCP Data received {"connection_id":143027,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:04:08] local.INFO: Processing buffer {"connection_id":143027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:04:08] local.INFO: IMEI packet received {"connection_id":143027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 14:04:08] local.INFO: IMEI acknowledgment sent {"connection_id":143027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:04:09] local.INFO: TCP Data received {"connection_id":143027,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:04:09] local.INFO: Processing buffer {"connection_id":143027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:04:09] local.INFO: IMEI packet received {"connection_id":143027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 14:04:09] local.INFO: IMEI acknowledgment sent {"connection_id":143027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:04:12] local.INFO: TCP Data received {"connection_id":143027,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:04:12] local.INFO: Processing buffer {"connection_id":143027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:04:12] local.INFO: IMEI packet received {"connection_id":143027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 14:04:12] local.INFO: IMEI acknowledgment sent {"connection_id":143027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:04:13] local.INFO: TCP Data received {"connection_id":143027,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2b41250012d9cb780059f0de0000800472d..."} 
[2026-07-27 14:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2b41250012d9cb780059f0de0000800472d..."} 
[2026-07-27 14:04:13] local.INFO: Processing buffer {"connection_id":143027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2b41250012d9cb780059f0de0000800472d..."} 
[2026-07-27 14:04:13] local.INFO: Packet analysis {"connection_id":143027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2b4"} 
[2026-07-27 14:04:13] local.INFO: Extracted packet for processing {"connection_id":143027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2b4"} 
[2026-07-27 14:04:13] local.INFO: GPS Element Parsed {"raw_longitude":765245312,"raw_latitude":94309856,"longitude_deg":76.5245312,"latitude_deg":9.4309856,"altitude":8,"angle":71,"satellites":45,"speed":46,"hex_longitude":"2d9cb780","hex_latitude":"059f0de0","is_valid_coordinates":true} 
[2026-07-27 14:04:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:04:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996129280001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:04:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358965180392013824,"note":"Value kept but may cause issues"} 
[2026-07-27 14:04:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7163467764399452160,"note":"Value kept but may cause issues"} 
[2026-07-27 14:04:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:04:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785141138000,"timestamp_ms":1785141138000,"timestamp_seconds":1785141138,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2b41250"} 
[2026-07-27 14:04:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:04:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-27 14:04:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:04:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:04:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:04:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:04:13] local.INFO: Teltonika packet parsed successfully {"connection_id":143027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:04:13] local.INFO: Passing IMEI to GPS processor {"connection_id":143027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:04:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":143027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:04:13] 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-07-27 14:04:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 14:04:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 14:04:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996129280001,"66":27626,"132":206,"83":17152,"24":46,"16":358965180392013824,"45":-7163467764399452160},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,45]} 
[2026-07-27 14:04:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 14:04:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 14:04:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996129280001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:04:13] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-07-27 14:04:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 14:04:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358965180392013824,"km_value":358965180392013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:04:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7163467764399452160,"description":"Unknown IO ID 45"} 
[2026-07-27 14:04:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996129280001,"power":27626,"unknown_132":206,"unknown_83":17152,"ignition":46,"odometer":null,"unknown_45":-7163467764399452160}} 
[2026-07-27 14:04:13] local.INFO: DEBUG: GPS processor result {"connection_id":143027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:04:13] local.INFO: GPS data processed {"connection_id":143027,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:04:13] local.INFO: Acknowledgment sent {"connection_id":143027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:04:35] local.INFO: TCP Data received {"connection_id":143026,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2b327f0012d1966c0071fee78003b005c2b..."} 
[2026-07-27 14:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143026,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2b327f0012d1966c0071fee78003b005c2b..."} 
[2026-07-27 14:04:35] local.INFO: Processing buffer {"connection_id":143026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2b327f0012d1966c0071fee78003b005c2b..."} 
[2026-07-27 14:04:35] local.INFO: Packet analysis {"connection_id":143026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2b3"} 
[2026-07-27 14:04:35] local.INFO: Extracted packet for processing {"connection_id":143026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2b3"} 
[2026-07-27 14:04:35] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":43,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:04:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996110592001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:04:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:04:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:04:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:04:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785141078000,"timestamp_ms":1785141078000,"timestamp_seconds":1785141078,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2b327f0"} 
[2026-07-27 14:04:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:04:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-07-27 14:04:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:04:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:04:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:04:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:04:35] local.INFO: Teltonika packet parsed successfully {"connection_id":143026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:04:35] local.INFO: Passing IMEI to GPS processor {"connection_id":143026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:04:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":143026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:04:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:04:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:04:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:04:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996110592001,"66":12645,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:04:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:04:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:04:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996110592001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:04:35] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:04:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:04:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:04:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:04:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996110592001,"power":12645,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:04:35] local.INFO: DEBUG: GPS processor result {"connection_id":143026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553431,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:04:35] local.INFO: GPS data processed {"connection_id":143026,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:04:35] local.INFO: Acknowledgment sent {"connection_id":143026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:04:42] local.INFO: TCP Data received {"connection_id":142882,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:04:42] local.INFO: Processing buffer {"connection_id":142882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:04:42] local.INFO: IMEI packet received {"connection_id":142882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 14:04:42] local.INFO: IMEI acknowledgment sent {"connection_id":142882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:04:47] local.INFO: TCP Data received {"connection_id":142882,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:04:47] local.INFO: Processing buffer {"connection_id":142882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:04:47] local.INFO: IMEI packet received {"connection_id":142882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 14:04:47] local.INFO: IMEI acknowledgment sent {"connection_id":142882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:04:48] local.INFO: TCP Data received {"connection_id":142882,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2b43190012d9cda40059f1a28000600442d..."} 
[2026-07-27 14:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2b43190012d9cda40059f1a28000600442d..."} 
[2026-07-27 14:04:48] local.INFO: Processing buffer {"connection_id":142882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2b43190012d9cda40059f1a28000600442d..."} 
[2026-07-27 14:04:48] local.INFO: Packet analysis {"connection_id":142882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2b4"} 
[2026-07-27 14:04:48] local.INFO: Extracted packet for processing {"connection_id":142882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2b4"} 
[2026-07-27 14:04:48] local.INFO: GPS Element Parsed {"raw_longitude":765254208,"raw_latitude":94313000,"longitude_deg":76.5254208,"latitude_deg":9.4313,"altitude":6,"angle":68,"satellites":45,"speed":48,"hex_longitude":"2d9cda40","hex_latitude":"059f1a28","is_valid_coordinates":true} 
[2026-07-27 14:04:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:04:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996131328001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:04:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358965635658547200,"note":"Value kept but may cause issues"} 
[2026-07-27 14:04:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7154108721423065088,"note":"Value kept but may cause issues"} 
[2026-07-27 14:04:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:04:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785141146000,"timestamp_ms":1785141146000,"timestamp_seconds":1785141146,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2b43190"} 
[2026-07-27 14:04:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:04:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14: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":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-07-27 14:04:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:04:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:04:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:04:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:04:48] local.INFO: Teltonika packet parsed successfully {"connection_id":142882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:04:48] local.INFO: Passing IMEI to GPS processor {"connection_id":142882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:04:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":142882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:04:48] 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-07-27 14:04:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 14:04:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 14:04:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996131328001,"66":27821,"132":206,"83":17152,"24":48,"16":358965635658547200,"45":-7154108721423065088},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,45]} 
[2026-07-27 14:04:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 14:04:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 14:04:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996131328001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:04:48] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-07-27 14:04:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 14:04:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358965635658547200,"km_value":358965635658547.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:04:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7154108721423065088,"description":"Unknown IO ID 45"} 
[2026-07-27 14:04:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996131328001,"power":27821,"unknown_132":206,"unknown_83":17152,"ignition":48,"odometer":null,"unknown_45":-7154108721423065088}} 
[2026-07-27 14:04:48] local.INFO: DEBUG: GPS processor result {"connection_id":142882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:04:48] local.INFO: GPS data processed {"connection_id":142882,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:04:48] local.INFO: Acknowledgment sent {"connection_id":142882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:04:50] local.INFO: TCP Data received {"connection_id":142882,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2b450d0012d9cffc0059f2780000700452e..."} 
[2026-07-27 14:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2b450d0012d9cffc0059f2780000700452e..."} 
[2026-07-27 14:04:50] local.INFO: Processing buffer {"connection_id":142882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2b450d0012d9cffc0059f2780000700452e..."} 
[2026-07-27 14:04:50] local.INFO: Packet analysis {"connection_id":142882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2b4"} 
[2026-07-27 14:04:50] local.INFO: Extracted packet for processing {"connection_id":142882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2b4"} 
[2026-07-27 14:04:50] local.INFO: GPS Element Parsed {"raw_longitude":765263808,"raw_latitude":94316416,"longitude_deg":76.5263808,"latitude_deg":9.4316416,"altitude":7,"angle":69,"satellites":46,"speed":51,"hex_longitude":"2d9cffc0","hex_latitude":"059f2780","is_valid_coordinates":true} 
[2026-07-27 14:04:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:04:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996133376001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:04:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358966120989851648,"note":"Value kept but may cause issues"} 
[2026-07-27 14:04:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144327465981564928,"note":"Value kept but may cause issues"} 
[2026-07-27 14:04:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:04:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785141154000,"timestamp_ms":1785141154000,"timestamp_seconds":1785141154,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2b450d0"} 
[2026-07-27 14:04:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:04:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:04:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-27 14:04:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:04:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:04:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:04:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:04:50] local.INFO: Teltonika packet parsed successfully {"connection_id":142882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:04:50] local.INFO: Passing IMEI to GPS processor {"connection_id":142882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:04:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":142882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:04:50] 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-07-27 14:04:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 14:04:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 14:04:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996133376001,"66":27843,"132":206,"83":17152,"24":51,"16":358966120989851648,"45":-7144327465981564928},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,45]} 
[2026-07-27 14:04:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 14:04:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 14:04:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996133376001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:04:50] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-07-27 14:04:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 14:04:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358966120989851648,"km_value":358966120989851.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:04:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144327465981564928,"description":"Unknown IO ID 45"} 
[2026-07-27 14:04:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996133376001,"power":27843,"unknown_132":206,"unknown_83":17152,"ignition":51,"odometer":null,"unknown_45":-7144327465981564928}} 
[2026-07-27 14:04:50] local.INFO: DEBUG: GPS processor result {"connection_id":142882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:04:50] local.INFO: GPS data processed {"connection_id":142882,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:04:50] local.INFO: Acknowledgment sent {"connection_id":142882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:05:00] local.INFO: TCP Data received {"connection_id":145301,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145301,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:05:00] local.INFO: Processing buffer {"connection_id":145301,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:05:00] local.INFO: IMEI packet received {"connection_id":145301,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 14:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":145301,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:05:05] local.INFO: TCP Data received {"connection_id":145301,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145301,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:05:05] local.INFO: Processing buffer {"connection_id":145301,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:05:05] local.INFO: IMEI packet received {"connection_id":145301,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 14:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":145301,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:05:06] local.INFO: TCP Data received {"connection_id":145301,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2b379f8012d1966c0071fee78003b005c2a..."} 
[2026-07-27 14:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2b379f8012d1966c0071fee78003b005c2a..."} 
[2026-07-27 14:05:06] local.INFO: Processing buffer {"connection_id":145301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2b379f8012d1966c0071fee78003b005c2a..."} 
[2026-07-27 14:05:06] local.INFO: Packet analysis {"connection_id":145301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2b3"} 
[2026-07-27 14:05:06] local.INFO: Extracted packet for processing {"connection_id":145301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2b3"} 
[2026-07-27 14:05:06] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":42,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:05:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996115968001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:05:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:05:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:05:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:05:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785141099000,"timestamp_ms":1785141099000,"timestamp_seconds":1785141099,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2b379f8"} 
[2026-07-27 14:05:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:05:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-27 14:05:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:05:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:05:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:05:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:05:06] local.INFO: Teltonika packet parsed successfully {"connection_id":145301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:05:06] local.INFO: Passing IMEI to GPS processor {"connection_id":145301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:05:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":145301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:05:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:05:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:05:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:05:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996115968001,"66":12613,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:05:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:05:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:05:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996115968001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:05:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:05:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:05:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:05:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:05:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996115968001,"power":12613,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:05:07] local.INFO: DEBUG: GPS processor result {"connection_id":145301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553434,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:05:07] local.INFO: GPS data processed {"connection_id":145301,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:05:07] local.INFO: Acknowledgment sent {"connection_id":145301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:05:31] local.INFO: TCP Data received {"connection_id":145302,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:05:31] local.INFO: Processing buffer {"connection_id":145302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:05:31] local.INFO: IMEI packet received {"connection_id":145302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 14:05:31] local.INFO: IMEI acknowledgment sent {"connection_id":145302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:05:32] local.INFO: TCP Data received {"connection_id":145302,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:05:32] local.INFO: Processing buffer {"connection_id":145302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:05:32] local.INFO: IMEI packet received {"connection_id":145302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 14:05:32] local.INFO: IMEI acknowledgment sent {"connection_id":145302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:05:37] local.INFO: TCP Data received {"connection_id":145302,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:05:37] local.INFO: Processing buffer {"connection_id":145302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:05:37] local.INFO: IMEI packet received {"connection_id":145302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 14:05:37] local.INFO: IMEI acknowledgment sent {"connection_id":145302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:05:38] local.INFO: TCP Data received {"connection_id":145302,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2b5eee0012d9e7cc0059fae18000b00452d..."} 
[2026-07-27 14:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2b5eee0012d9e7cc0059fae18000b00452d..."} 
[2026-07-27 14:05:38] local.INFO: Processing buffer {"connection_id":145302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2b5eee0012d9e7cc0059fae18000b00452d..."} 
[2026-07-27 14:05:38] local.INFO: Packet analysis {"connection_id":145302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2b5"} 
[2026-07-27 14:05:38] local.INFO: Extracted packet for processing {"connection_id":145302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2b5"} 
[2026-07-27 14:05:38] local.INFO: GPS Element Parsed {"raw_longitude":765361344,"raw_latitude":94350872,"longitude_deg":76.5361344,"latitude_deg":9.4350872,"altitude":11,"angle":69,"satellites":45,"speed":33,"hex_longitude":"2d9e7cc0","hex_latitude":"059fae18","is_valid_coordinates":true} 
[2026-07-27 14:05:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:05:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996159744001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:05:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358971077382111232,"note":"Value kept but may cause issues"} 
[2026-07-27 14:05:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7036170706171580416,"note":"Value kept but may cause issues"} 
[2026-07-27 14:05:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:05:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785141260000,"timestamp_ms":1785141260000,"timestamp_seconds":1785141260,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2b5eee0"} 
[2026-07-27 14:05:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:05:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:05:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-27 14:05:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:05:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:05:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:05:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:05:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:05:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:05:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:05:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:05:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 14:05:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 14:05:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996159744001,"66":27843,"131":206,"83":17152,"24":33,"16":358971077382111232,"45":-7036170706171580416},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,83,24,16,45]} 
[2026-07-27 14:05:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 14:05:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 14:05:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996159744001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:05:38] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-27 14:05:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 14:05:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358971077382111232,"km_value":358971077382111.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:05:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7036170706171580416,"description":"Unknown IO ID 45"} 
[2026-07-27 14:05:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996159744001,"power":27843,"unknown_131":206,"unknown_83":17152,"ignition":33,"odometer":null,"unknown_45":-7036170706171580416}} 
[2026-07-27 14:05:38] local.INFO: DEBUG: GPS processor result {"connection_id":145302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:05:38] local.INFO: GPS data processed {"connection_id":145302,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:05:38] local.INFO: Acknowledgment sent {"connection_id":145302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:05:38] local.INFO: TCP Data received {"connection_id":145301,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2b3cc00012d1966c0071fee78003b005c28..."} 
[2026-07-27 14:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2b3cc00012d1966c0071fee78003b005c28..."} 
[2026-07-27 14:05:38] local.INFO: Processing buffer {"connection_id":145301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2b3cc00012d1966c0071fee78003b005c28..."} 
[2026-07-27 14:05:38] local.INFO: Packet analysis {"connection_id":145301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2b3"} 
[2026-07-27 14:05:38] local.INFO: Extracted packet for processing {"connection_id":145301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2b3"} 
[2026-07-27 14:05:38] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":40,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14:05:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:05:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996121344001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:05:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:05:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:05:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:05:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785141120000,"timestamp_ms":1785141120000,"timestamp_seconds":1785141120,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2b3cc00"} 
[2026-07-27 14:05:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:05:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:05:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-27 14:05:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:05:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:05:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:05:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:05:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:05:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:05:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:05:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:05:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:05:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:05:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996121344001,"66":12602,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:05:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:05:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:05:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996121344001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:05:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:05:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:05:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:05:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:05:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996121344001,"power":12602,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:05:38] local.INFO: DEBUG: GPS processor result {"connection_id":145301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553436,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:05:38] local.INFO: GPS data processed {"connection_id":145301,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:05:38] local.INFO: Acknowledgment sent {"connection_id":145301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:06:00] local.INFO: TCP Data received {"connection_id":143028,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143028,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:06:00] local.INFO: Processing buffer {"connection_id":143028,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:06:00] local.INFO: IMEI packet received {"connection_id":143028,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 14:06:00] local.INFO: IMEI acknowledgment sent {"connection_id":143028,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:06:05] local.INFO: TCP Data received {"connection_id":143028,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143028,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:06:05] local.INFO: Processing buffer {"connection_id":143028,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:06:05] local.INFO: IMEI packet received {"connection_id":143028,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 14:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":143028,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:06:06] local.INFO: TCP Data received {"connection_id":143028,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2b41e08012d1966c0071fee78003b005c2b..."} 
[2026-07-27 14:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2b41e08012d1966c0071fee78003b005c2b..."} 
[2026-07-27 14:06:06] local.INFO: Processing buffer {"connection_id":143028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2b41e08012d1966c0071fee78003b005c2b..."} 
[2026-07-27 14:06:06] local.INFO: Packet analysis {"connection_id":143028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2b4"} 
[2026-07-27 14:06:06] local.INFO: Extracted packet for processing {"connection_id":143028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2b4"} 
[2026-07-27 14:06:06] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":43,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14: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-07-27 14:06:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996126720001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:06:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:06:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:06:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:06:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785141141000,"timestamp_ms":1785141141000,"timestamp_seconds":1785141141,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2b41e08"} 
[2026-07-27 14:06:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:06:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14: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":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-07-27 14:06:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14: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-07-27 14:06:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:06:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:06:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:06:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143028,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:06:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143028,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:06:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:06:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:06:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:06:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996126720001,"66":12580,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:06:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:06:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:06:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996126720001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:06:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:06:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:06:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:06:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:06:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996126720001,"power":12580,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:06:06] local.INFO: DEBUG: GPS processor result {"connection_id":143028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553437,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:06:06] local.INFO: GPS data processed {"connection_id":143028,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:06:06] local.INFO: Acknowledgment sent {"connection_id":143028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:06:09] local.INFO: TCP Data received {"connection_id":145302,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2b621a8012d9e9e40059fbc78000b00442f..."} 
[2026-07-27 14:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2b621a8012d9e9e40059fbc78000b00442f..."} 
[2026-07-27 14:06:09] local.INFO: Processing buffer {"connection_id":145302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2b621a8012d9e9e40059fbc78000b00442f..."} 
[2026-07-27 14:06:09] local.INFO: Packet analysis {"connection_id":145302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2b6"} 
[2026-07-27 14:06:09] local.INFO: Extracted packet for processing {"connection_id":145302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2b6"} 
[2026-07-27 14:06:09] local.INFO: GPS Element Parsed {"raw_longitude":765369920,"raw_latitude":94354552,"longitude_deg":76.536992,"latitude_deg":9.4354552,"altitude":11,"angle":68,"satellites":47,"speed":24,"hex_longitude":"2d9e9e40","hex_latitude":"059fbc78","is_valid_coordinates":true} 
[2026-07-27 14:06:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:06:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996162560001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:06:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358971524058710016,"note":"Value kept but may cause issues"} 
[2026-07-27 14:06:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7026530188218460160,"note":"Value kept but may cause issues"} 
[2026-07-27 14:06:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:06:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785141273000,"timestamp_ms":1785141273000,"timestamp_seconds":1785141273,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2b621a8"} 
[2026-07-27 14:06:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:06:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-27 14:06:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:06:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:06:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:06:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:06:09] local.INFO: Teltonika packet parsed successfully {"connection_id":145302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:06:09] local.INFO: Passing IMEI to GPS processor {"connection_id":145302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:06:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":145302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:06: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-07-27 14:06:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 14:06:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 14:06:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996162560001,"66":27843,"131":206,"83":17152,"24":24,"16":358971524058710016,"45":-7026530188218460160},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,83,24,16,45]} 
[2026-07-27 14:06:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 14:06:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 14:06:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996162560001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:06:09] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-27 14:06:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 14:06:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358971524058710016,"km_value":358971524058710.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:06:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7026530188218460160,"description":"Unknown IO ID 45"} 
[2026-07-27 14:06:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996162560001,"power":27843,"unknown_131":206,"unknown_83":17152,"ignition":24,"odometer":null,"unknown_45":-7026530188218460160}} 
[2026-07-27 14:06:09] local.INFO: DEBUG: GPS processor result {"connection_id":145302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:06:09] local.INFO: GPS data processed {"connection_id":145302,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:06:09] local.INFO: Acknowledgment sent {"connection_id":145302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:06:30] local.INFO: TCP Data received {"connection_id":145303,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:06:30] local.INFO: Processing buffer {"connection_id":145303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:06:30] local.INFO: IMEI packet received {"connection_id":145303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 14:06:30] local.INFO: IMEI acknowledgment sent {"connection_id":145303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:06:32] local.INFO: TCP Data received {"connection_id":145303,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:06:32] local.INFO: Processing buffer {"connection_id":145303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:06:32] local.INFO: IMEI packet received {"connection_id":145303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 14:06:32] local.INFO: IMEI acknowledgment sent {"connection_id":145303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:06:33] local.INFO: TCP Data received {"connection_id":145303,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:06:33] local.INFO: Processing buffer {"connection_id":145303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:06:33] local.INFO: IMEI packet received {"connection_id":145303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 14:06:33] local.INFO: IMEI acknowledgment sent {"connection_id":145303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:06:34] local.INFO: TCP Data received {"connection_id":145303,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:06:34] local.INFO: Processing buffer {"connection_id":145303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:06:34] local.INFO: IMEI packet received {"connection_id":145303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 14:06:34] local.INFO: IMEI acknowledgment sent {"connection_id":145303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:06:37] local.INFO: TCP Data received {"connection_id":143028,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2b47010012d1966c0071fee78003b005c29..."} 
[2026-07-27 14:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2b47010012d1966c0071fee78003b005c29..."} 
[2026-07-27 14:06:37] local.INFO: Processing buffer {"connection_id":143028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2b47010012d1966c0071fee78003b005c29..."} 
[2026-07-27 14:06:37] local.INFO: Packet analysis {"connection_id":143028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2b4"} 
[2026-07-27 14:06:37] local.INFO: Extracted packet for processing {"connection_id":143028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2b4"} 
[2026-07-27 14:06:37] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":41,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:06:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996132096001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:06:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:06:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:06:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:06:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785141162000,"timestamp_ms":1785141162000,"timestamp_seconds":1785141162,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2b47010"} 
[2026-07-27 14:06:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:06:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-07-27 14:06:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:06:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:06:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:06:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:06:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:06:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143028,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:06:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143028,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:06:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:06:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:06:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:06:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996132096001,"66":12548,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:06:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:06:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:06:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996132096001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:06:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:06:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:06:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:06:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:06:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996132096001,"power":12548,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:06:38] local.INFO: DEBUG: GPS processor result {"connection_id":143028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553439,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:06:38] local.INFO: GPS data processed {"connection_id":143028,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:06:38] local.INFO: Acknowledgment sent {"connection_id":143028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:07:00] local.INFO: TCP Data received {"connection_id":145304,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145304,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:07:00] local.INFO: Processing buffer {"connection_id":145304,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:07:00] local.INFO: IMEI packet received {"connection_id":145304,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 14:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":145304,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:07:05] local.INFO: TCP Data received {"connection_id":145304,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145304,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:07:05] local.INFO: Processing buffer {"connection_id":145304,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:07:05] local.INFO: IMEI packet received {"connection_id":145304,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 14:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":145304,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:07:07] local.INFO: TCP Data received {"connection_id":145304,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2b4c218012d1966c0071fee78003b005c2c..."} 
[2026-07-27 14:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2b4c218012d1966c0071fee78003b005c2c..."} 
[2026-07-27 14:07:07] local.INFO: Processing buffer {"connection_id":145304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2b4c218012d1966c0071fee78003b005c2c..."} 
[2026-07-27 14:07:07] local.INFO: Packet analysis {"connection_id":145304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2b4"} 
[2026-07-27 14:07:07] local.INFO: Extracted packet for processing {"connection_id":145304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2b4"} 
[2026-07-27 14:07:07] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":44,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:07:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996137472001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:07:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:07:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:07:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:07:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785141183000,"timestamp_ms":1785141183000,"timestamp_seconds":1785141183,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2b4c218"} 
[2026-07-27 14:07:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:07:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-27 14:07:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-07-27 14:07:07] local.WARNING: Large IO value detected {"io_id":132,"raw_value":2449473536,"note":"Value kept but may cause issues"} 
[2026-07-27 14:07:07] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2729608160,"note":"Value kept but may cause issues"} 
[2026-07-27 14:07:07] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184205549773,"note":"Value kept but may cause issues"} 
[2026-07-27 14:07:07] local.WARNING: Large IO value detected {"io_id":162,"raw_value":3005739009,"note":"Value kept but may cause issues"} 
[2026-07-27 14:07:07] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2224160768,"note":"Value kept but may cause issues"} 
[2026-07-27 14:07:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-27 14:07:07] local.WARNING: Large IO value detected {"io_id":213,"raw_value":3892391193,"note":"Value kept but may cause issues"} 
[2026-07-27 14:07:07] local.WARNING: Large IO value detected {"io_id":102,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-07-27 14:07:07] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8719195500324067328,"note":"Value kept but may cause issues"} 
[2026-07-27 14:07:07] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,121,28,24,241,158,16,132,159,30,45,192,238,59,43,10,66,204,40,1,240,69,162,31,4,113,205,213,102,120,239,49,2,7,231],"length":485,"final_offset":615,"validated_count":35,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-07-27 14:07:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4251499379401162752,"timestamp_seconds":4251499379401163.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 14:07:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:07:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:07:07] local.INFO: Teltonika packet parsed successfully {"connection_id":145304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:07:07] local.INFO: Passing IMEI to GPS processor {"connection_id":145304,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:07:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":145304,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:07:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:07:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:07:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:07:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996137472001,"66":12558,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:07:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:07:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:07:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996137472001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:07:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:07:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:07:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:07:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:07:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996137472001,"power":12558,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:07:07] local.INFO: DEBUG: GPS processor result {"connection_id":145304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553440,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:07:07] local.INFO: GPS data processed {"connection_id":145304,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:07:07] local.INFO: Acknowledgment sent {"connection_id":145304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:07:39] local.INFO: TCP Data received {"connection_id":145304,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2b51420012d1966c0071fee78003b005c2a..."} 
[2026-07-27 14:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2b51420012d1966c0071fee78003b005c2a..."} 
[2026-07-27 14:07:39] local.INFO: Processing buffer {"connection_id":145304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2b51420012d1966c0071fee78003b005c2a..."} 
[2026-07-27 14:07:39] local.INFO: Packet analysis {"connection_id":145304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2b5"} 
[2026-07-27 14:07:39] local.INFO: Extracted packet for processing {"connection_id":145304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2b5"} 
[2026-07-27 14:07:39] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":42,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14: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-07-27 14:07:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996142848001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:07:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:07:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:07:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:07:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785141204000,"timestamp_ms":1785141204000,"timestamp_seconds":1785141204,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2b51420"} 
[2026-07-27 14:07:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:07:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-07-27 14:07:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-07-27 14:07:39] local.WARNING: Large IO value detected {"io_id":132,"raw_value":2449473536,"note":"Value kept but may cause issues"} 
[2026-07-27 14:07:39] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2729629160,"note":"Value kept but may cause issues"} 
[2026-07-27 14:07:39] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249741581063810680,"note":"Value kept but may cause issues"} 
[2026-07-27 14:07:39] local.WARNING: Large IO value detected {"io_id":162,"raw_value":3011115009,"note":"Value kept but may cause issues"} 
[2026-07-27 14:07:39] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2224160768,"note":"Value kept but may cause issues"} 
[2026-07-27 14:07:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-27 14:07:39] local.WARNING: Large IO value detected {"io_id":39,"raw_value":4026608921,"note":"Value kept but may cause issues"} 
[2026-07-27 14:07:39] local.WARNING: Large IO value detected {"io_id":102,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-07-27 14:07:39] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8719195500324067328,"note":"Value kept but may cause issues"} 
[2026-07-27 14:07:39] local.WARNING: Large IO value detected {"io_id":83,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-27 14:07:39] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-07-27 14:07:39] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,121,28,24,241,158,16,132,159,112,45,192,238,59,41,10,66,30,43,204,1,240,58,162,31,4,113,205,39,102,120,239,49,2,7,231,83,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-07-27 14:07:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4251499392286064640,"timestamp_seconds":4251499392286064.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 14:07:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:07:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:07:39] local.INFO: Teltonika packet parsed successfully {"connection_id":145304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:07:39] local.INFO: Passing IMEI to GPS processor {"connection_id":145304,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:07:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":145304,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:07:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:07:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:07:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:07:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996142848001,"66":12504,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:07:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:07:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:07:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996142848001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:07:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:07:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:07:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:07:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:07:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996142848001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:07:39] local.INFO: DEBUG: GPS processor result {"connection_id":145304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553441,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:07:39] local.INFO: GPS data processed {"connection_id":145304,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:07:39] local.INFO: Acknowledgment sent {"connection_id":145304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:08:00] local.INFO: TCP Data received {"connection_id":144010,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144010,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:08:00] local.INFO: Processing buffer {"connection_id":144010,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:08:00] local.INFO: IMEI packet received {"connection_id":144010,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 14:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":144010,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:08:05] local.INFO: TCP Data received {"connection_id":144010,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144010,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:08:05] local.INFO: Processing buffer {"connection_id":144010,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:08:05] local.INFO: IMEI packet received {"connection_id":144010,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 14:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":144010,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:08:06] local.INFO: TCP Data received {"connection_id":144010,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2b56628012d1966c0071fee78003b005c29..."} 
[2026-07-27 14:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144010,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2b56628012d1966c0071fee78003b005c29..."} 
[2026-07-27 14:08:06] local.INFO: Processing buffer {"connection_id":144010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2b56628012d1966c0071fee78003b005c29..."} 
[2026-07-27 14:08:06] local.INFO: Packet analysis {"connection_id":144010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2b5"} 
[2026-07-27 14:08:06] local.INFO: Extracted packet for processing {"connection_id":144010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2b5"} 
[2026-07-27 14:08:06] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":41,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:08:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996148224001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:08:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:08:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:08:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:08:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785141225000,"timestamp_ms":1785141225000,"timestamp_seconds":1785141225,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2b56628"} 
[2026-07-27 14:08:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:08:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-27 14:08:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:08:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:08:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:08:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:08:06] local.INFO: Teltonika packet parsed successfully {"connection_id":144010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:08:06] local.INFO: Passing IMEI to GPS processor {"connection_id":144010,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:08:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":144010,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:08:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:08:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:08:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:08:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996148224001,"66":12548,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:08:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:08:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:08:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996148224001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:08:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:08:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:08:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:08:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:08:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996148224001,"power":12548,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:08:06] local.INFO: DEBUG: GPS processor result {"connection_id":144010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553442,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:08:06] local.INFO: GPS data processed {"connection_id":144010,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:08:06] local.INFO: Acknowledgment sent {"connection_id":144010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:08:38] local.INFO: TCP Data received {"connection_id":144010,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2b5b830012d1966c0071fee78003b005c28..."} 
[2026-07-27 14:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144010,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2b5b830012d1966c0071fee78003b005c28..."} 
[2026-07-27 14:08:38] local.INFO: Processing buffer {"connection_id":144010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2b5b830012d1966c0071fee78003b005c28..."} 
[2026-07-27 14:08:38] local.INFO: Packet analysis {"connection_id":144010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2b5"} 
[2026-07-27 14:08:38] local.INFO: Extracted packet for processing {"connection_id":144010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2b5"} 
[2026-07-27 14:08:38] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":40,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:08:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996153600001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:08:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:08:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:08:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:08:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785141246000,"timestamp_ms":1785141246000,"timestamp_seconds":1785141246,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2b5b830"} 
[2026-07-27 14:08:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:08:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-27 14:08:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-07-27 14:08:38] local.WARNING: Large IO value detected {"io_id":132,"raw_value":2449473536,"note":"Value kept but may cause issues"} 
[2026-07-27 14:08:38] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2729671160,"note":"Value kept but may cause issues"} 
[2026-07-27 14:08:38] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184201289933,"note":"Value kept but may cause issues"} 
[2026-07-27 14:08:38] local.WARNING: Large IO value detected {"io_id":162,"raw_value":3021867009,"note":"Value kept but may cause issues"} 
[2026-07-27 14:08:38] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2224160768,"note":"Value kept but may cause issues"} 
[2026-07-27 14:08:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-27 14:08:38] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":77081,"corrected_to":0} 
[2026-07-27 14:08:38] local.WARNING: Large IO value detected {"io_id":102,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-07-27 14:08:38] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8719195500324067328,"note":"Value kept but may cause issues"} 
[2026-07-27 14:08:38] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,121,28,24,241,158,16,132,159,20,45,192,238,59,42,10,66,194,44,112,1,240,4,162,31,113,205,204,102,120,40,239,49,2,7,231],"length":485,"final_offset":615,"validated_count":36,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0},{"io_id":204,"original":77081,"validated":0}]} 
[2026-07-27 14:08:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4251499379401162752,"timestamp_seconds":4251499379401163.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 14:08:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:08:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:08:38] local.INFO: Teltonika packet parsed successfully {"connection_id":144010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:08:38] local.INFO: Passing IMEI to GPS processor {"connection_id":144010,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:08:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":144010,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:08:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:08:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:08:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:08:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996153600001,"66":12526,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:08:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:08:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:08:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996153600001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:08:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:08:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:08:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:08:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:08:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996153600001,"power":12526,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:08:38] local.INFO: DEBUG: GPS processor result {"connection_id":144010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553443,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:08:38] local.INFO: GPS data processed {"connection_id":144010,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:08:38] local.INFO: Acknowledgment sent {"connection_id":144010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:09:05] local.INFO: TCP Data received {"connection_id":142883,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142883,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:09:05] local.INFO: Processing buffer {"connection_id":142883,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:09:05] local.INFO: IMEI packet received {"connection_id":142883,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 14:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":142883,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:09:10] local.INFO: TCP Data received {"connection_id":142883,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142883,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:09:10] local.INFO: Processing buffer {"connection_id":142883,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:09:10] local.INFO: IMEI packet received {"connection_id":142883,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 14:09:10] local.INFO: IMEI acknowledgment sent {"connection_id":142883,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:09:11] local.INFO: TCP Data received {"connection_id":142883,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2b60a38012d1966c0071fee78003b005c2a..."} 
[2026-07-27 14:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2b60a38012d1966c0071fee78003b005c2a..."} 
[2026-07-27 14:09:11] local.INFO: Processing buffer {"connection_id":142883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2b60a38012d1966c0071fee78003b005c2a..."} 
[2026-07-27 14:09:11] local.INFO: Packet analysis {"connection_id":142883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2b6"} 
[2026-07-27 14:09:11] local.INFO: Extracted packet for processing {"connection_id":142883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2b6"} 
[2026-07-27 14:09:11] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":42,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14: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-07-27 14:09:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996158976001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:09:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:09:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:09:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:09:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785141267000,"timestamp_ms":1785141267000,"timestamp_seconds":1785141267,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2b60a38"} 
[2026-07-27 14:09:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:09:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-27 14:09:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14: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-07-27 14:09:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:09:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:09:11] local.INFO: Teltonika packet parsed successfully {"connection_id":142883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:09:11] local.INFO: Passing IMEI to GPS processor {"connection_id":142883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:09:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":142883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:09:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:09:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:09:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:09:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996158976001,"66":12526,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:09:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:09:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:09:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996158976001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:09:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:09:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:09:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:09:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:09:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996158976001,"power":12526,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:09:11] local.INFO: DEBUG: GPS processor result {"connection_id":142883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553444,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:09:11] local.INFO: GPS data processed {"connection_id":142883,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:09:11] local.INFO: Acknowledgment sent {"connection_id":142883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:09:16] local.INFO: TCP Data received {"connection_id":142883,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2b65c40012d1966c0071fee78003b005c2a..."} 
[2026-07-27 14:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2b65c40012d1966c0071fee78003b005c2a..."} 
[2026-07-27 14:09:16] local.INFO: Processing buffer {"connection_id":142883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2b65c40012d1966c0071fee78003b005c2a..."} 
[2026-07-27 14:09:16] local.INFO: Packet analysis {"connection_id":142883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2b6"} 
[2026-07-27 14:09:16] local.INFO: Extracted packet for processing {"connection_id":142883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2b6"} 
[2026-07-27 14:09:16] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":42,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14: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-07-27 14:09:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996164352001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:09:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:09:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:09:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:09:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785141288000,"timestamp_ms":1785141288000,"timestamp_seconds":1785141288,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2b65c40"} 
[2026-07-27 14:09:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:09: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-07-27 14:09:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-27 14:09:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:09:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:09:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:09:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:09:16] local.INFO: Teltonika packet parsed successfully {"connection_id":142883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:09:16] local.INFO: Passing IMEI to GPS processor {"connection_id":142883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:09:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":142883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:09:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:09:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:09:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:09:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996164352001,"66":12515,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:09:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:09:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:09:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996164352001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:09:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:09:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:09:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:09:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:09:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996164352001,"power":12515,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:09:16] local.INFO: DEBUG: GPS processor result {"connection_id":142883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553445,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:09:16] local.INFO: GPS data processed {"connection_id":142883,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:09:16] local.INFO: Acknowledgment sent {"connection_id":142883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:10:00] local.INFO: TCP Data received {"connection_id":142885,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142885,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:10:00] local.INFO: Processing buffer {"connection_id":142885,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:10:00] local.INFO: IMEI packet received {"connection_id":142885,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 14:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":142885,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:10:00] local.INFO: TCP Data received {"connection_id":142885,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142885,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:10:00] local.INFO: Processing buffer {"connection_id":142885,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:10:00] local.INFO: IMEI packet received {"connection_id":142885,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 14:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":142885,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:10:05] local.INFO: TCP Data received {"connection_id":142885,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142885,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:10:05] local.INFO: Processing buffer {"connection_id":142885,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:10:05] local.INFO: IMEI packet received {"connection_id":142885,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 14:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":142885,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:10:06] local.INFO: TCP Data received {"connection_id":142885,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2b9e298012d1966c0071fee78003b005c2c..."} 
[2026-07-27 14:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2b9e298012d1966c0071fee78003b005c2c..."} 
[2026-07-27 14:10:06] local.INFO: Processing buffer {"connection_id":142885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2b9e298012d1966c0071fee78003b005c2c..."} 
[2026-07-27 14:10:06] local.INFO: Packet analysis {"connection_id":142885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2b9"} 
[2026-07-27 14:10:06] local.INFO: Extracted packet for processing {"connection_id":142885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2b9"} 
[2026-07-27 14:10:06] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":44,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996223488001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:10:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:10:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:10:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:10:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785141519000,"timestamp_ms":1785141519000,"timestamp_seconds":1785141519,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2b9e298"} 
[2026-07-27 14:10:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:10:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-27 14:10:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:10:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:10:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:10:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:10:06] local.INFO: Teltonika packet parsed successfully {"connection_id":142885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:10:06] local.INFO: Passing IMEI to GPS processor {"connection_id":142885,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:10:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":142885,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:10:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:10:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:10:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:10:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996223488001,"66":12341,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:10:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996223488001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:10:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:10:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:10:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:10:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996223488001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:10:06] local.INFO: DEBUG: GPS processor result {"connection_id":142885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553446,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:10:06] local.INFO: GPS data processed {"connection_id":142885,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:10:06] local.INFO: Acknowledgment sent {"connection_id":142885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:10:37] local.INFO: TCP Data received {"connection_id":142885,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2ba34a0012d1966c0071fee78003b005c2a..."} 
[2026-07-27 14:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2ba34a0012d1966c0071fee78003b005c2a..."} 
[2026-07-27 14:10:37] local.INFO: Processing buffer {"connection_id":142885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2ba34a0012d1966c0071fee78003b005c2a..."} 
[2026-07-27 14:10:38] local.INFO: Packet analysis {"connection_id":142885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2ba"} 
[2026-07-27 14:10:38] local.INFO: Extracted packet for processing {"connection_id":142885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2ba"} 
[2026-07-27 14:10:38] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":42,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:10:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996228864001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:10:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:10:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:10:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:10:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785141540000,"timestamp_ms":1785141540000,"timestamp_seconds":1785141540,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2ba34a0"} 
[2026-07-27 14:10:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:10:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 14:10:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:10:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:10:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:10:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:10:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:10:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142885,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:10:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142885,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:10:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:10:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:10:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:10:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996228864001,"66":12461,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:10:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:10:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:10:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996228864001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:10:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:10:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:10:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:10:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:10:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996228864001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:10:38] local.INFO: DEBUG: GPS processor result {"connection_id":142885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553447,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:10:38] local.INFO: GPS data processed {"connection_id":142885,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:10:38] local.INFO: Acknowledgment sent {"connection_id":142885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:11:00] local.INFO: TCP Data received {"connection_id":144012,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144012,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:11:00] local.INFO: Processing buffer {"connection_id":144012,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:11:00] local.INFO: IMEI packet received {"connection_id":144012,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 14:11:00] local.INFO: IMEI acknowledgment sent {"connection_id":144012,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:11:02] local.INFO: TCP Data received {"connection_id":144012,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144012,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:11:02] local.INFO: Processing buffer {"connection_id":144012,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:11:02] local.INFO: IMEI packet received {"connection_id":144012,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 14:11:02] local.INFO: IMEI acknowledgment sent {"connection_id":144012,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:11:05] local.INFO: TCP Data received {"connection_id":144012,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144012,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:11:05] local.INFO: Processing buffer {"connection_id":144012,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:11:05] local.INFO: IMEI packet received {"connection_id":144012,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 14:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":144012,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:11:06] local.INFO: TCP Data received {"connection_id":144012,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2ba86a8012d1966c0071fee78003b005c29..."} 
[2026-07-27 14:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2ba86a8012d1966c0071fee78003b005c29..."} 
[2026-07-27 14:11:06] local.INFO: Processing buffer {"connection_id":144012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2ba86a8012d1966c0071fee78003b005c29..."} 
[2026-07-27 14:11:06] local.INFO: Packet analysis {"connection_id":144012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2ba"} 
[2026-07-27 14:11:06] local.INFO: Extracted packet for processing {"connection_id":144012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2ba"} 
[2026-07-27 14:11:06] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":41,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996234240001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:11:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:11:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785141561000,"timestamp_ms":1785141561000,"timestamp_seconds":1785141561,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2ba86a8"} 
[2026-07-27 14:11:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:11:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-27 14:11:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:11:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:11:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":144012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":144012,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":144012,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:11:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996234240001,"66":12439,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996234240001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:11:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:11:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:11:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996234240001,"power":12439,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":144012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553448,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:11:06] local.INFO: GPS data processed {"connection_id":144012,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:11:06] local.INFO: Acknowledgment sent {"connection_id":144012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:11:10] local.INFO: TCP Data received {"connection_id":144012,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2bad8b0012d1966c0071fee78003b005c2b..."} 
[2026-07-27 14:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2bad8b0012d1966c0071fee78003b005c2b..."} 
[2026-07-27 14:11:10] local.INFO: Processing buffer {"connection_id":144012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2bad8b0012d1966c0071fee78003b005c2b..."} 
[2026-07-27 14:11:10] local.INFO: Packet analysis {"connection_id":144012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2ba"} 
[2026-07-27 14:11:10] local.INFO: Extracted packet for processing {"connection_id":144012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2ba"} 
[2026-07-27 14:11:10] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":43,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 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-07-27 14:11:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996239616001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:11:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:11:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:11:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:11:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785141582000,"timestamp_ms":1785141582000,"timestamp_seconds":1785141582,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2bad8b0"} 
[2026-07-27 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-07-27 14:11:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-27 14:11:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 14:11:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:11:10] local.INFO: Teltonika packet parsed successfully {"connection_id":144012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:11:10] local.INFO: Passing IMEI to GPS processor {"connection_id":144012,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:11:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":144012,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:11:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:11:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:11:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:11:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996239616001,"66":12461,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:11:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:11:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:11:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996239616001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:11:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:11:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:11:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:11:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:11:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996239616001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:11:10] local.INFO: DEBUG: GPS processor result {"connection_id":144012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553449,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:11:10] local.INFO: GPS data processed {"connection_id":144012,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:11:10] local.INFO: Acknowledgment sent {"connection_id":144012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:11:37] local.INFO: TCP Data received {"connection_id":144013,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:11:37] local.INFO: Processing buffer {"connection_id":144013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:11:37] local.INFO: IMEI packet received {"connection_id":144013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 14:11:37] local.INFO: IMEI acknowledgment sent {"connection_id":144013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:11:42] local.INFO: TCP Data received {"connection_id":144012,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2bb2ab8012d1966c0071fee78003b005c28..."} 
[2026-07-27 14:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2bb2ab8012d1966c0071fee78003b005c28..."} 
[2026-07-27 14:11:42] local.INFO: Processing buffer {"connection_id":144012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2bb2ab8012d1966c0071fee78003b005c28..."} 
[2026-07-27 14:11:42] local.INFO: Packet analysis {"connection_id":144012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2bb"} 
[2026-07-27 14:11:42] local.INFO: Extracted packet for processing {"connection_id":144012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2bb"} 
[2026-07-27 14:11:42] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":40,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 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-07-27 14:11:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996244992001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:11:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:11:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:11:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:11:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785141603000,"timestamp_ms":1785141603000,"timestamp_seconds":1785141603,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2bb2ab8"} 
[2026-07-27 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-07-27 14:11:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-27 14:11:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 14:11:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:11:42] local.INFO: Teltonika packet parsed successfully {"connection_id":144012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:11:42] local.INFO: Passing IMEI to GPS processor {"connection_id":144012,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:11:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":144012,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:11:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:11:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:11:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:11:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996244992001,"66":12439,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:11:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:11:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:11:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996244992001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:11:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:11:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:11:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:11:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:11:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996244992001,"power":12439,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:11:42] local.INFO: DEBUG: GPS processor result {"connection_id":144012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553450,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:11:42] local.INFO: GPS data processed {"connection_id":144012,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:11:42] local.INFO: Acknowledgment sent {"connection_id":144012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:11:42] local.INFO: TCP Data received {"connection_id":144013,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:11:42] local.INFO: Processing buffer {"connection_id":144013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:11:42] local.INFO: IMEI packet received {"connection_id":144013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 14:11:42] local.INFO: IMEI acknowledgment sent {"connection_id":144013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:11:43] local.INFO: TCP Data received {"connection_id":144013,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2bb9048012da0d10005a0cfd0001101552f..."} 
[2026-07-27 14:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144013,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2bb9048012da0d10005a0cfd0001101552f..."} 
[2026-07-27 14:11:43] local.INFO: Processing buffer {"connection_id":144013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2bb9048012da0d10005a0cfd0001101552f..."} 
[2026-07-27 14:11:43] local.INFO: Packet analysis {"connection_id":144013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2bb"} 
[2026-07-27 14:11:43] local.INFO: Extracted packet for processing {"connection_id":144013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2bb"} 
[2026-07-27 14:11:43] local.INFO: GPS Element Parsed {"raw_longitude":765513984,"raw_latitude":94425040,"longitude_deg":76.5513984,"latitude_deg":9.442504,"altitude":17,"angle":341,"satellites":47,"speed":33,"hex_longitude":"2da0d100","hex_latitude":"05a0cfd0","is_valid_coordinates":true} 
[2026-07-27 14:11:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:11:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996256256001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:11:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358986393235488768,"note":"Value kept but may cause issues"} 
[2026-07-27 14:11:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6858208152127150080,"note":"Value kept but may cause issues"} 
[2026-07-27 14:11:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:11:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785141629000,"timestamp_ms":1785141629000,"timestamp_seconds":1785141629,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2bb9048"} 
[2026-07-27 14:11:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:11:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-27 14:11:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:11:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:11:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:11:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:11:43] local.INFO: Teltonika packet parsed successfully {"connection_id":144013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:11:43] local.INFO: Passing IMEI to GPS processor {"connection_id":144013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:11:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":144013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:11: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-07-27 14:11:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 14:11:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 14:11:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996256256001,"66":27800,"167":206,"83":17152,"24":33,"16":358986393235488768,"45":-6858208152127150080},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,83,24,16,45]} 
[2026-07-27 14:11:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 14:11:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 14:11:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996256256001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:11:43] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-27 14:11:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 14:11:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358986393235488768,"km_value":358986393235488.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:11:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6858208152127150080,"description":"Unknown IO ID 45"} 
[2026-07-27 14:11:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996256256001,"power":27800,"unknown_167":206,"unknown_83":17152,"ignition":33,"odometer":null,"unknown_45":-6858208152127150080}} 
[2026-07-27 14:11:43] local.INFO: DEBUG: GPS processor result {"connection_id":144013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:11:43] local.INFO: GPS data processed {"connection_id":144013,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:11:43] local.INFO: Acknowledgment sent {"connection_id":144013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:11:47] local.INFO: TCP Data received {"connection_id":144013,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2bb9c00012da0ccc005a0d870001201472f..."} 
[2026-07-27 14:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144013,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2bb9c00012da0ccc005a0d870001201472f..."} 
[2026-07-27 14:11:47] local.INFO: Processing buffer {"connection_id":144013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2bb9c00012da0ccc005a0d870001201472f..."} 
[2026-07-27 14:11:47] local.INFO: Packet analysis {"connection_id":144013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2bb"} 
[2026-07-27 14:11:47] local.INFO: Extracted packet for processing {"connection_id":144013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2bb"} 
[2026-07-27 14:11:47] local.INFO: GPS Element Parsed {"raw_longitude":765512896,"raw_latitude":94427248,"longitude_deg":76.5512896,"latitude_deg":9.4427248,"altitude":18,"angle":327,"satellites":47,"speed":31,"hex_longitude":"2da0ccc0","hex_latitude":"05a0d870","is_valid_coordinates":true} 
[2026-07-27 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-07-27 14:11:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996257024001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:11:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358986513494573056,"note":"Value kept but may cause issues"} 
[2026-07-27 14:11:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6858700733335744512,"note":"Value kept but may cause issues"} 
[2026-07-27 14:11:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:11:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785141632000,"timestamp_ms":1785141632000,"timestamp_seconds":1785141632,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2bb9c00"} 
[2026-07-27 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-07-27 14:11:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-27 14:11:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 14:11:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:11:47] local.INFO: Teltonika packet parsed successfully {"connection_id":144013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:11:47] local.INFO: Passing IMEI to GPS processor {"connection_id":144013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:11:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":144013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:11:47] 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-07-27 14:11:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 14:11:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 14:11:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996257024001,"66":27767,"167":206,"83":17152,"24":31,"16":358986513494573056,"45":-6858700733335744512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,83,24,16,45]} 
[2026-07-27 14:11:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 14:11:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 14:11:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996257024001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:11:47] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-27 14:11:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 14:11:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358986513494573056,"km_value":358986513494573.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:11:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6858700733335744512,"description":"Unknown IO ID 45"} 
[2026-07-27 14:11:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996257024001,"power":27767,"unknown_167":206,"unknown_83":17152,"ignition":31,"odometer":null,"unknown_45":-6858700733335744512}} 
[2026-07-27 14:11:47] local.INFO: DEBUG: GPS processor result {"connection_id":144013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:11:47] local.INFO: GPS data processed {"connection_id":144013,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:11:47] local.INFO: Acknowledgment sent {"connection_id":144013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:12:00] local.INFO: TCP Data received {"connection_id":145306,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145306,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:12:00] local.INFO: Processing buffer {"connection_id":145306,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:12:00] local.INFO: IMEI packet received {"connection_id":145306,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 14:12:00] local.INFO: IMEI acknowledgment sent {"connection_id":145306,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:12:05] local.INFO: TCP Data received {"connection_id":145306,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145306,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:12:05] local.INFO: Processing buffer {"connection_id":145306,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:12:05] local.INFO: IMEI packet received {"connection_id":145306,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 14:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":145306,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:12:06] local.INFO: TCP Data received {"connection_id":145306,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2bb7cc0012d1966c0071fee78003b005c2a..."} 
[2026-07-27 14:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2bb7cc0012d1966c0071fee78003b005c2a..."} 
[2026-07-27 14:12:06] local.INFO: Processing buffer {"connection_id":145306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2bb7cc0012d1966c0071fee78003b005c2a..."} 
[2026-07-27 14:12:06] local.INFO: Packet analysis {"connection_id":145306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2bb"} 
[2026-07-27 14:12:06] local.INFO: Extracted packet for processing {"connection_id":145306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2bb"} 
[2026-07-27 14:12:06] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":42,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:12:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996250368001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:12:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:12:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:12:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:12:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785141624000,"timestamp_ms":1785141624000,"timestamp_seconds":1785141624,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2bb7cc0"} 
[2026-07-27 14:12:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:12:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-27 14:12:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:12:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:12:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:12:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:12:06] local.INFO: Teltonika packet parsed successfully {"connection_id":145306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:12:06] local.INFO: Passing IMEI to GPS processor {"connection_id":145306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:12:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":145306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:12:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:12:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:12:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:12:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996250368001,"66":12428,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:12:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:12:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:12:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996250368001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:12:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:12:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:12:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:12:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:12:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996250368001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:12:06] local.INFO: DEBUG: GPS processor result {"connection_id":145306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553453,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:12:06] local.INFO: GPS data processed {"connection_id":145306,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:12:06] local.INFO: Acknowledgment sent {"connection_id":145306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:12:32] local.INFO: TCP Data received {"connection_id":144014,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:12:32] local.INFO: Processing buffer {"connection_id":144014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:12:32] local.INFO: IMEI packet received {"connection_id":144014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 14:12:32] local.INFO: IMEI acknowledgment sent {"connection_id":144014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:12:32] local.INFO: TCP Data received {"connection_id":144014,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:12:32] local.INFO: Processing buffer {"connection_id":144014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:12:32] local.INFO: IMEI packet received {"connection_id":144014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 14:12:32] local.INFO: IMEI acknowledgment sent {"connection_id":144014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:12:37] local.INFO: TCP Data received {"connection_id":144014,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:12:37] local.INFO: Processing buffer {"connection_id":144014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:12:37] local.INFO: IMEI packet received {"connection_id":144014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 14:12:37] local.INFO: IMEI acknowledgment sent {"connection_id":144014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:12:38] local.INFO: TCP Data received {"connection_id":145306,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2bbcec8012d1966c0071fee78003b005c29..."} 
[2026-07-27 14:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2bbcec8012d1966c0071fee78003b005c29..."} 
[2026-07-27 14:12:38] local.INFO: Processing buffer {"connection_id":145306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2bbcec8012d1966c0071fee78003b005c29..."} 
[2026-07-27 14:12:38] local.INFO: Packet analysis {"connection_id":145306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2bb"} 
[2026-07-27 14:12:38] local.INFO: Extracted packet for processing {"connection_id":145306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2bb"} 
[2026-07-27 14:12:38] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":41,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14:12:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:12:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996255744001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:12:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:12:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:12:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:12:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785141645000,"timestamp_ms":1785141645000,"timestamp_seconds":1785141645,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2bbcec8"} 
[2026-07-27 14:12:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:12:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:12:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-27 14:12:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:12:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:12:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:12:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:12:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:12:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:12:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:12:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:12:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:12:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:12:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996255744001,"66":12461,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:12:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:12:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:12:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996255744001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:12:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:12:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:12:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:12:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:12:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996255744001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:12:38] local.INFO: DEBUG: GPS processor result {"connection_id":145306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553454,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:12:38] local.INFO: GPS data processed {"connection_id":145306,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:12:38] local.INFO: Acknowledgment sent {"connection_id":145306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:12:38] local.INFO: TCP Data received {"connection_id":144014,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2bbcec8012da0b4c005a0f568001301452c..."} 
[2026-07-27 14:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2bbcec8012da0b4c005a0f568001301452c..."} 
[2026-07-27 14:12:38] local.INFO: Processing buffer {"connection_id":144014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2bbcec8012da0b4c005a0f568001301452c..."} 
[2026-07-27 14:12:38] local.INFO: Packet analysis {"connection_id":144014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2bb"} 
[2026-07-27 14:12:38] local.INFO: Extracted packet for processing {"connection_id":144014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2bb"} 
[2026-07-27 14:12:38] local.INFO: GPS Element Parsed {"raw_longitude":765506752,"raw_latitude":94434664,"longitude_deg":76.5506752,"latitude_deg":9.4434664,"altitude":19,"angle":325,"satellites":44,"speed":33,"hex_longitude":"2da0b4c0","hex_latitude":"05a0f568","is_valid_coordinates":true} 
[2026-07-27 14:12:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:12:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996257792001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:12:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358986977351041024,"note":"Value kept but may cause issues"} 
[2026-07-27 14:12:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6859897001986199552,"note":"Value kept but may cause issues"} 
[2026-07-27 14:12:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:12:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785141645000,"timestamp_ms":1785141645000,"timestamp_seconds":1785141645,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2bbcec8"} 
[2026-07-27 14:12:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:12:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:12:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-27 14:12:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:12:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:12:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:12:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:12:38] local.INFO: Teltonika packet parsed successfully {"connection_id":144014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:12:38] local.INFO: Passing IMEI to GPS processor {"connection_id":144014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:12:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":144014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:12:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:12:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 14:12:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 14:12:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996257792001,"66":27865,"167":206,"83":17152,"24":33,"16":358986977351041024,"45":-6859897001986199552},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,83,24,16,45]} 
[2026-07-27 14:12:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 14:12:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 14:12:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996257792001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:12:38] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-27 14:12:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 14:12:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358986977351041024,"km_value":358986977351041.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:12:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6859897001986199552,"description":"Unknown IO ID 45"} 
[2026-07-27 14:12:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996257792001,"power":27865,"unknown_167":206,"unknown_83":17152,"ignition":33,"odometer":null,"unknown_45":-6859897001986199552}} 
[2026-07-27 14:12:38] local.INFO: DEBUG: GPS processor result {"connection_id":144014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:12:38] local.INFO: GPS data processed {"connection_id":144014,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:12:38] local.INFO: Acknowledgment sent {"connection_id":144014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:13:00] local.INFO: TCP Data received {"connection_id":142886,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142886,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:13:00] local.INFO: Processing buffer {"connection_id":142886,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:13:00] local.INFO: IMEI packet received {"connection_id":142886,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 14:13:00] local.INFO: IMEI acknowledgment sent {"connection_id":142886,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:13:05] local.INFO: TCP Data received {"connection_id":142886,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142886,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:13:05] local.INFO: Processing buffer {"connection_id":142886,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:13:05] local.INFO: IMEI packet received {"connection_id":142886,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 14:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":142886,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:13:06] local.INFO: TCP Data received {"connection_id":142886,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2bc20d0012d1966c0071fee78003b005c29..."} 
[2026-07-27 14:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142886,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2bc20d0012d1966c0071fee78003b005c29..."} 
[2026-07-27 14:13:06] local.INFO: Processing buffer {"connection_id":142886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2bc20d0012d1966c0071fee78003b005c29..."} 
[2026-07-27 14:13:06] local.INFO: Packet analysis {"connection_id":142886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2bc"} 
[2026-07-27 14:13:06] local.INFO: Extracted packet for processing {"connection_id":142886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2bc"} 
[2026-07-27 14:13:06] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":41,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:13:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996261120001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:13:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:13:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:13:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:13:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785141666000,"timestamp_ms":1785141666000,"timestamp_seconds":1785141666,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2bc20d0"} 
[2026-07-27 14:13:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:13:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-27 14:13:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:13:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:13:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:13:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:13:06] local.INFO: Teltonika packet parsed successfully {"connection_id":142886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:13:06] local.INFO: Passing IMEI to GPS processor {"connection_id":142886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:13:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":142886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:13:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:13:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:13:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:13:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996261120001,"66":12298,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:13:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:13:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:13:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996261120001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:13:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:13:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:13:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:13:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:13:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996261120001,"power":12298,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:13:06] local.INFO: DEBUG: GPS processor result {"connection_id":142886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553456,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:13:06] local.INFO: GPS data processed {"connection_id":142886,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:13:06] local.INFO: Acknowledgment sent {"connection_id":142886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:13:11] local.INFO: TCP Data received {"connection_id":144014,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2bbe638012da0aa0005a10778001001512e..."} 
[2026-07-27 14:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2bbe638012da0aa0005a10778001001512e..."} 
[2026-07-27 14:13:11] local.INFO: Processing buffer {"connection_id":144014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2bbe638012da0aa0005a10778001001512e..."} 
[2026-07-27 14:13:11] local.INFO: Packet analysis {"connection_id":144014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2bb"} 
[2026-07-27 14:13:11] local.INFO: Extracted packet for processing {"connection_id":144014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2bb"} 
[2026-07-27 14:13:11] local.INFO: GPS Element Parsed {"raw_longitude":765504000,"raw_latitude":94439288,"longitude_deg":76.5504,"latitude_deg":9.4439288,"altitude":16,"angle":337,"satellites":46,"speed":35,"hex_longitude":"2da0aa00","hex_latitude":"05a10778","is_valid_coordinates":true} 
[2026-07-27 14: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-07-27 14:13:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996261120001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:13:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358987239344046080,"note":"Value kept but may cause issues"} 
[2026-07-27 14:13:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6866652401425356800,"note":"Value kept but may cause issues"} 
[2026-07-27 14:13:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:13:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785141651000,"timestamp_ms":1785141651000,"timestamp_seconds":1785141651,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2bbe638"} 
[2026-07-27 14:13:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:13:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-27 14:13:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14: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-07-27 14:13:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:13:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:13:11] local.INFO: Teltonika packet parsed successfully {"connection_id":144014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:13:11] local.INFO: Passing IMEI to GPS processor {"connection_id":144014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:13:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":144014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:13: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-07-27 14:13:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 14:13:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 14:13:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996261120001,"66":27908,"167":206,"83":17152,"24":35,"16":358987239344046080,"45":-6866652401425356800},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,83,24,16,45]} 
[2026-07-27 14:13:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 14:13:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 14:13:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996261120001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:13:11] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-27 14:13:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 14:13:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358987239344046080,"km_value":358987239344046.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:13:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6866652401425356800,"description":"Unknown IO ID 45"} 
[2026-07-27 14:13:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996261120001,"power":27908,"unknown_167":206,"unknown_83":17152,"ignition":35,"odometer":null,"unknown_45":-6866652401425356800}} 
[2026-07-27 14:13:11] local.INFO: DEBUG: GPS processor result {"connection_id":144014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:13:11] local.INFO: GPS data processed {"connection_id":144014,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:13:11] local.INFO: Acknowledgment sent {"connection_id":144014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:13:32] local.INFO: TCP Data received {"connection_id":143029,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:13:32] local.INFO: Processing buffer {"connection_id":143029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:13:32] local.INFO: IMEI packet received {"connection_id":143029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 14:13:32] local.INFO: IMEI acknowledgment sent {"connection_id":143029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:13:36] local.INFO: TCP Data received {"connection_id":143029,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:13:36] local.INFO: Processing buffer {"connection_id":143029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:13:36] local.INFO: IMEI packet received {"connection_id":143029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 14:13:36] local.INFO: IMEI acknowledgment sent {"connection_id":143029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:13:37] local.INFO: TCP Data received {"connection_id":143029,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2bc3840012da0a38005a11a58000e01582d..."} 
[2026-07-27 14:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2bc3840012da0a38005a11a58000e01582d..."} 
[2026-07-27 14:13:37] local.INFO: Processing buffer {"connection_id":143029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2bc3840012da0a38005a11a58000e01582d..."} 
[2026-07-27 14:13:37] local.INFO: Packet analysis {"connection_id":143029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2bc"} 
[2026-07-27 14:13:37] local.INFO: Extracted packet for processing {"connection_id":143029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2bc"} 
[2026-07-27 14:13:37] local.INFO: GPS Element Parsed {"raw_longitude":765502336,"raw_latitude":94444120,"longitude_deg":76.5502336,"latitude_deg":9.444412,"altitude":14,"angle":344,"satellites":45,"speed":0,"hex_longitude":"2da0a380","hex_latitude":"05a11a58","is_valid_coordinates":true} 
[2026-07-27 14:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:13:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996262656001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:13:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358987488452149248,"note":"Value kept but may cause issues"} 
[2026-07-27 14:13:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6869678257423812608,"note":"Value kept but may cause issues"} 
[2026-07-27 14:13:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:13:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785141672000,"timestamp_ms":1785141672000,"timestamp_seconds":1785141672,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2bc3840"} 
[2026-07-27 14:13:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:13:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-27 14:13:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:13:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:13:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:13:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:13:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:13:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:13:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:13:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:13:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 14:13:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 14:13:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996262656001,"66":27974,"167":206,"83":17152,"24":0,"16":358987488452149248,"45":-6869678257423812608},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,83,24,16,45]} 
[2026-07-27 14:13:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 14:13:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 14:13:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996262656001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:13:37] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-27 14:13:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 14:13:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358987488452149248,"km_value":358987488452149.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:13:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6869678257423812608,"description":"Unknown IO ID 45"} 
[2026-07-27 14:13:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996262656001,"power":27974,"unknown_167":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6869678257423812608}} 
[2026-07-27 14:13:37] local.INFO: DEBUG: GPS processor result {"connection_id":143029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:13:37] local.INFO: GPS data processed {"connection_id":143029,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:13:37] local.INFO: Acknowledgment sent {"connection_id":143029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:13:37] local.INFO: TCP Data received {"connection_id":142886,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2bc72d8012d1966c0071fee78003b005c2a..."} 
[2026-07-27 14:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142886,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2bc72d8012d1966c0071fee78003b005c2a..."} 
[2026-07-27 14:13:37] local.INFO: Processing buffer {"connection_id":142886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2bc72d8012d1966c0071fee78003b005c2a..."} 
[2026-07-27 14:13:37] local.INFO: Packet analysis {"connection_id":142886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2bc"} 
[2026-07-27 14:13:37] local.INFO: Extracted packet for processing {"connection_id":142886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2bc"} 
[2026-07-27 14:13:37] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":42,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:13:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996266496001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:13:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:13:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:13:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:13:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785141687000,"timestamp_ms":1785141687000,"timestamp_seconds":1785141687,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2bc72d8"} 
[2026-07-27 14:13:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:13:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-27 14:13:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-27 14:13:37] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168048982131200,"note":"Value kept but may cause issues"} 
[2026-07-27 14:13:37] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452319,"note":"Value kept but may cause issues"} 
[2026-07-27 14:13:37] local.WARNING: Large IO value detected {"io_id":132,"raw_value":-7926335344172072959,"note":"Value kept but may cause issues"} 
[2026-07-27 14:13:37] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-6721091826391115418,"note":"Value kept but may cause issues"} 
[2026-07-27 14:13:37] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513391081710878812,"note":"Value kept but may cause issues"} 
[2026-07-27 14:13:37] local.WARNING: Large IO value detected {"io_id":59,"raw_value":25941877345746944,"note":"Value kept but may cause issues"} 
[2026-07-27 14:13:37] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832596,"note":"Value kept but may cause issues"} 
[2026-07-27 14:13:37] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3507460569143247054,"note":"Value kept but may cause issues"} 
[2026-07-27 14:13:37] local.WARNING: Large IO value detected {"io_id":162,"raw_value":3134763009,"note":"Value kept but may cause issues"} 
[2026-07-27 14:13:37] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2224160768,"note":"Value kept but may cause issues"} 
[2026-07-27 14:13:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-27 14:13:37] local.WARNING: Large IO value detected {"io_id":134,"raw_value":2818649369,"note":"Value kept but may cause issues"} 
[2026-07-27 14:13:37] local.WARNING: Large IO value detected {"io_id":102,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-07-27 14:13:37] local.WARNING: Large IO value detected {"io_id":48,"raw_value":2533412327,"note":"Value kept but may cause issues"} 
[2026-07-27 14:13:37] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,121,28,24,241,158,16,132,159,206,45,192,238,59,41,10,66,124,42,1,240,151,162,31,4,113,205,134,102,120,239,48,2,7,44],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-07-27 14:13:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4251499379401162752,"timestamp_seconds":4251499379401163.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 14:13:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:13:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:13:37] local.INFO: Teltonika packet parsed successfully {"connection_id":142886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:13:37] local.INFO: Passing IMEI to GPS processor {"connection_id":142886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:13:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":142886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:13:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:13:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:13:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:13:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996266496001,"66":12461,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:13:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:13:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:13:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996266496001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:13:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:13:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:13:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:13:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:13:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996266496001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:13:38] local.INFO: DEBUG: GPS processor result {"connection_id":142886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553459,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:13:38] local.INFO: GPS data processed {"connection_id":142886,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:13:38] local.INFO: Acknowledgment sent {"connection_id":142886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:14:00] local.INFO: TCP Data received {"connection_id":143030,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143030,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:14:00] local.INFO: Processing buffer {"connection_id":143030,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:14:00] local.INFO: IMEI packet received {"connection_id":143030,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 14:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":143030,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:14:05] local.INFO: TCP Data received {"connection_id":143030,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143030,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:14:05] local.INFO: Processing buffer {"connection_id":143030,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:14:05] local.INFO: IMEI packet received {"connection_id":143030,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 14:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":143030,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:14:06] local.INFO: TCP Data received {"connection_id":143030,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2bcc4e0012d1966c0071fee78003b005c2b..."} 
[2026-07-27 14:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2bcc4e0012d1966c0071fee78003b005c2b..."} 
[2026-07-27 14:14:06] local.INFO: Processing buffer {"connection_id":143030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2bcc4e0012d1966c0071fee78003b005c2b..."} 
[2026-07-27 14:14:06] local.INFO: Packet analysis {"connection_id":143030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2bc"} 
[2026-07-27 14:14:06] local.INFO: Extracted packet for processing {"connection_id":143030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2bc"} 
[2026-07-27 14:14:06] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":43,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996271872001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:14:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:14:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785141708000,"timestamp_ms":1785141708000,"timestamp_seconds":1785141708,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2bcc4e0"} 
[2026-07-27 14:14:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:14:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-27 14:14:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:14:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:14:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143030,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143030,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:14:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996271872001,"66":12461,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996271872001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:14:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:14:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:14:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996271872001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":143030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553460,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:14:06] local.INFO: GPS data processed {"connection_id":143030,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:14:06] local.INFO: Acknowledgment sent {"connection_id":143030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:14:08] local.INFO: TCP Data received {"connection_id":143029,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2bc8a48012da0a38005a11a58000e01582d..."} 
[2026-07-27 14:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2bc8a48012da0a38005a11a58000e01582d..."} 
[2026-07-27 14:14:08] local.INFO: Processing buffer {"connection_id":143029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2bc8a48012da0a38005a11a58000e01582d..."} 
[2026-07-27 14:14:08] local.INFO: Packet analysis {"connection_id":143029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2bc"} 
[2026-07-27 14:14:08] local.INFO: Extracted packet for processing {"connection_id":143029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2bc"} 
[2026-07-27 14:14:08] local.INFO: GPS Element Parsed {"raw_longitude":765502336,"raw_latitude":94444120,"longitude_deg":76.5502336,"latitude_deg":9.444412,"altitude":14,"angle":344,"satellites":45,"speed":0,"hex_longitude":"2da0a380","hex_latitude":"05a11a58","is_valid_coordinates":true} 
[2026-07-27 14:14:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:14:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996268032001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:14:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358987488452149248,"note":"Value kept but may cause issues"} 
[2026-07-27 14:14:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6871507844771194880,"note":"Value kept but may cause issues"} 
[2026-07-27 14:14:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:14:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785141693000,"timestamp_ms":1785141693000,"timestamp_seconds":1785141693,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2bc8a48"} 
[2026-07-27 14:14:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:14:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:14:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-27 14:14:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:14:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:14:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:14:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:14:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:14:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:14:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:14:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:14:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 14:14:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 14:14:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996268032001,"66":27843,"167":206,"83":17152,"24":0,"16":358987488452149248,"45":-6871507844771194880},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,83,24,16,45]} 
[2026-07-27 14:14:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 14:14:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 14:14:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996268032001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:14:08] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-27 14:14:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 14:14:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358987488452149248,"km_value":358987488452149.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:14:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6871507844771194880,"description":"Unknown IO ID 45"} 
[2026-07-27 14:14:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996268032001,"power":27843,"unknown_167":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6871507844771194880}} 
[2026-07-27 14:14:08] local.INFO: DEBUG: GPS processor result {"connection_id":143029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:14:08] local.INFO: GPS data processed {"connection_id":143029,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:14:08] local.INFO: Acknowledgment sent {"connection_id":143029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:14:38] local.INFO: TCP Data received {"connection_id":143030,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2bd16e8012d1966c0071fee78003b005c2a..."} 
[2026-07-27 14:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2bd16e8012d1966c0071fee78003b005c2a..."} 
[2026-07-27 14:14:38] local.INFO: Processing buffer {"connection_id":143030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2bd16e8012d1966c0071fee78003b005c2a..."} 
[2026-07-27 14:14:38] local.INFO: Packet analysis {"connection_id":143030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2bd"} 
[2026-07-27 14:14:38] local.INFO: Extracted packet for processing {"connection_id":143030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2bd"} 
[2026-07-27 14:14:38] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":42,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:14:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996277248001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:14:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:14:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:14:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:14:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785141729000,"timestamp_ms":1785141729000,"timestamp_seconds":1785141729,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2bd16e8"} 
[2026-07-27 14:14:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:14:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-27 14:14: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-07-27 14:14:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:14:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:14:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:14:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:14:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143030,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:14:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143030,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:14:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:14:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:14:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:14:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996277248001,"66":12439,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:14:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:14:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:14:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996277248001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:14:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:14:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:14:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:14:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:14:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996277248001,"power":12439,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:14:38] local.INFO: DEBUG: GPS processor result {"connection_id":143030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553462,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:14:38] local.INFO: GPS data processed {"connection_id":143030,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:14:38] local.INFO: Acknowledgment sent {"connection_id":143030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:14:49] local.INFO: TCP Data received {"connection_id":143031,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:14:49] local.INFO: Processing buffer {"connection_id":143031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:14:49] local.INFO: IMEI packet received {"connection_id":143031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 14:14:49] local.INFO: IMEI acknowledgment sent {"connection_id":143031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:14:50] local.INFO: TCP Data received {"connection_id":143031,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:14:50] local.INFO: Processing buffer {"connection_id":143031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:14:50] local.INFO: IMEI packet received {"connection_id":143031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 14:14:50] local.INFO: IMEI acknowledgment sent {"connection_id":143031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:14:52] local.INFO: TCP Data received {"connection_id":143031,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2bcdc50012da0a24005a11f78001101582f..."} 
[2026-07-27 14:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2bcdc50012da0a24005a11f78001101582f..."} 
[2026-07-27 14:14:52] local.INFO: Processing buffer {"connection_id":143031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2bcdc50012da0a24005a11f78001101582f..."} 
[2026-07-27 14:14:52] local.INFO: Packet analysis {"connection_id":143031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2bc"} 
[2026-07-27 14:14:52] local.INFO: Extracted packet for processing {"connection_id":143031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2bc"} 
[2026-07-27 14:14:52] local.INFO: GPS Element Parsed {"raw_longitude":765502016,"raw_latitude":94445432,"longitude_deg":76.5502016,"latitude_deg":9.4445432,"altitude":17,"angle":344,"satellites":47,"speed":12,"hex_longitude":"2da0a240","hex_latitude":"05a11f78","is_valid_coordinates":true} 
[2026-07-27 14:14:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:14:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996273408001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:14:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358987557171625984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:14:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6871507844771194880,"note":"Value kept but may cause issues"} 
[2026-07-27 14:14:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:14:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785141714000,"timestamp_ms":1785141714000,"timestamp_seconds":1785141714,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2bcdc50"} 
[2026-07-27 14:14:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:14:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:14:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-27 14:14:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:14:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:14:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:14:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:14:52] local.INFO: Teltonika packet parsed successfully {"connection_id":143031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:14:52] local.INFO: Passing IMEI to GPS processor {"connection_id":143031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:14:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":143031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:14:52] 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-07-27 14:14:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 14:14:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 14:14:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996273408001,"66":27908,"81":206,"83":17152,"24":12,"16":358987557171625984,"45":-6871507844771194880},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,83,24,16,45]} 
[2026-07-27 14:14:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 14:14:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 14:14:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996273408001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:14:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-27 14:14:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 14:14:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358987557171625984,"km_value":358987557171626.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:14:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6871507844771194880,"description":"Unknown IO ID 45"} 
[2026-07-27 14:14:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996273408001,"power":27908,"unknown_81":206,"unknown_83":17152,"ignition":12,"odometer":null,"unknown_45":-6871507844771194880}} 
[2026-07-27 14:14:52] local.INFO: DEBUG: GPS processor result {"connection_id":143031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:14:52] local.INFO: GPS data processed {"connection_id":143031,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:14:52] local.INFO: Acknowledgment sent {"connection_id":143031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:14:53] local.INFO: TCP Data received {"connection_id":143031,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2bd22a0012da098c005a14168001101582e..."} 
[2026-07-27 14:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2bd22a0012da098c005a14168001101582e..."} 
[2026-07-27 14:14:53] local.INFO: Processing buffer {"connection_id":143031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2bd22a0012da098c005a14168001101582e..."} 
[2026-07-27 14:14:53] local.INFO: Packet analysis {"connection_id":143031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2bd"} 
[2026-07-27 14:14:53] local.INFO: Extracted packet for processing {"connection_id":143031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2bd"} 
[2026-07-27 14:14:53] local.INFO: GPS Element Parsed {"raw_longitude":765499584,"raw_latitude":94454120,"longitude_deg":76.5499584,"latitude_deg":9.445412,"altitude":17,"angle":344,"satellites":46,"speed":28,"hex_longitude":"2da098c0","hex_latitude":"05a14168","is_valid_coordinates":true} 
[2026-07-27 14:14:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:14:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996278784001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:14:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358987990963322880,"note":"Value kept but may cause issues"} 
[2026-07-27 14:14:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6871859688491747328,"note":"Value kept but may cause issues"} 
[2026-07-27 14:14:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:14:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785141732000,"timestamp_ms":1785141732000,"timestamp_seconds":1785141732,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2bd22a0"} 
[2026-07-27 14:14:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:14:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:14:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-27 14:14:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:14:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:14:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:14:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:14:53] local.INFO: Teltonika packet parsed successfully {"connection_id":143031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:14:53] local.INFO: Passing IMEI to GPS processor {"connection_id":143031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:14:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":143031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:14:53] 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-07-27 14:14:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 14:14:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 14:14:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996278784001,"66":27908,"81":206,"83":17152,"24":28,"16":358987990963322880,"45":-6871859688491747328},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,83,24,16,45]} 
[2026-07-27 14:14:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 14:14:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 14:14:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996278784001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:14:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-27 14:14:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 14:14:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358987990963322880,"km_value":358987990963322.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:14:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6871859688491747328,"description":"Unknown IO ID 45"} 
[2026-07-27 14:14:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996278784001,"power":27908,"unknown_81":206,"unknown_83":17152,"ignition":28,"odometer":null,"unknown_45":-6871859688491747328}} 
[2026-07-27 14:14:53] local.INFO: DEBUG: GPS processor result {"connection_id":143031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:14:53] local.INFO: GPS data processed {"connection_id":143031,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:14:53] local.INFO: Acknowledgment sent {"connection_id":143031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:15:00] local.INFO: TCP Data received {"connection_id":142887,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142887,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:15:00] local.INFO: Processing buffer {"connection_id":142887,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:15:00] local.INFO: IMEI packet received {"connection_id":142887,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 14:15:00] local.INFO: IMEI acknowledgment sent {"connection_id":142887,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:15:05] local.INFO: TCP Data received {"connection_id":142887,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142887,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:15:05] local.INFO: Processing buffer {"connection_id":142887,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:15:05] local.INFO: IMEI packet received {"connection_id":142887,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 14:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":142887,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:15:06] local.INFO: TCP Data received {"connection_id":142887,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2bd68f0012d1966c0071fee78003b005c2d..."} 
[2026-07-27 14:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2bd68f0012d1966c0071fee78003b005c2d..."} 
[2026-07-27 14:15:06] local.INFO: Processing buffer {"connection_id":142887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2bd68f0012d1966c0071fee78003b005c2d..."} 
[2026-07-27 14:15:06] local.INFO: Packet analysis {"connection_id":142887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2bd"} 
[2026-07-27 14:15:06] local.INFO: Extracted packet for processing {"connection_id":142887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2bd"} 
[2026-07-27 14:15:06] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":45,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:15:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996282624001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:15:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:15:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:15:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:15:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785141750000,"timestamp_ms":1785141750000,"timestamp_seconds":1785141750,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2bd68f0"} 
[2026-07-27 14:15:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:15:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-27 14:15:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:15:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:15:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:15:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:15:06] local.INFO: Teltonika packet parsed successfully {"connection_id":142887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:15:06] local.INFO: Passing IMEI to GPS processor {"connection_id":142887,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:15:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":142887,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:15:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:15:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:15:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:15:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996282624001,"66":12428,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:15:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:15:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:15:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996282624001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:15:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:15:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:15:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:15:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:15:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996282624001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:15:06] local.INFO: DEBUG: GPS processor result {"connection_id":142887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553465,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:15:06] local.INFO: GPS data processed {"connection_id":142887,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:15:06] local.INFO: Acknowledgment sent {"connection_id":142887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:15:32] local.INFO: TCP Data received {"connection_id":145307,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:15:32] local.INFO: Processing buffer {"connection_id":145307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:15:32] local.INFO: IMEI packet received {"connection_id":145307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 14:15:32] local.INFO: IMEI acknowledgment sent {"connection_id":145307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:15:34] local.INFO: TCP Data received {"connection_id":145307,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:15:34] local.INFO: Processing buffer {"connection_id":145307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:15:34] local.INFO: IMEI packet received {"connection_id":145307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 14:15:34] local.INFO: IMEI acknowledgment sent {"connection_id":145307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:15:36] local.INFO: TCP Data received {"connection_id":143032,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 14:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143032,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 14:15:36] local.INFO: Processing buffer {"connection_id":143032,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 14:15:36] local.INFO: IMEI packet received {"connection_id":143032,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 14:15:36] local.INFO: IMEI acknowledgment sent {"connection_id":143032,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:15:37] local.INFO: TCP Data received {"connection_id":145307,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:15:37] local.INFO: Processing buffer {"connection_id":145307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:15:37] local.INFO: IMEI packet received {"connection_id":145307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 14:15:37] local.INFO: IMEI acknowledgment sent {"connection_id":145307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:15:38] local.INFO: TCP Data received {"connection_id":142887,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2bdbaf8012d1966c0071fee78003b005c2b..."} 
[2026-07-27 14:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2bdbaf8012d1966c0071fee78003b005c2b..."} 
[2026-07-27 14:15:38] local.INFO: Processing buffer {"connection_id":142887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2bdbaf8012d1966c0071fee78003b005c2b..."} 
[2026-07-27 14:15:38] local.INFO: Packet analysis {"connection_id":142887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2bd"} 
[2026-07-27 14:15:38] local.INFO: Extracted packet for processing {"connection_id":142887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2bd"} 
[2026-07-27 14:15:38] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":43,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14:15:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:15:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996288000001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:15:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:15:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:15:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:15:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785141771000,"timestamp_ms":1785141771000,"timestamp_seconds":1785141771,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2bdbaf8"} 
[2026-07-27 14:15:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:15:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:15:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-27 14:15:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:15:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:15:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:15:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:15:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:15:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142887,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:15:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142887,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:15:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:15:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:15:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:15:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996288000001,"66":12428,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:15:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:15:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:15:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996288000001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:15:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:15:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:15:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:15:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:15:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996288000001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:15:38] local.INFO: TCP Data received {"connection_id":145307,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2bef760012d9fec8005a21130000e012a30..."} 
[2026-07-27 14:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145307,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2bef760012d9fec8005a21130000e012a30..."} 
[2026-07-27 14:15:38] local.INFO: Processing buffer {"connection_id":145307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2bef760012d9fec8005a21130000e012a30..."} 
[2026-07-27 14:15:38] local.INFO: Packet analysis {"connection_id":145307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2be"} 
[2026-07-27 14:15:38] local.INFO: Extracted packet for processing {"connection_id":145307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2be"} 
[2026-07-27 14:15:38] local.INFO: GPS Element Parsed {"raw_longitude":765455488,"raw_latitude":94507312,"longitude_deg":76.5455488,"latitude_deg":9.4507312,"altitude":14,"angle":298,"satellites":48,"speed":14,"hex_longitude":"2d9fec80","hex_latitude":"05a21130","is_valid_coordinates":true} 
[2026-07-27 14:15:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:15:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996308992001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:15:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358991426937159680,"note":"Value kept but may cause issues"} 
[2026-07-27 14:15:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6916121628564240384,"note":"Value kept but may cause issues"} 
[2026-07-27 14:15:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:15:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785141852000,"timestamp_ms":1785141852000,"timestamp_seconds":1785141852,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2bef760"} 
[2026-07-27 14:15:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:15:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:15:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-27 14:15:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:15:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:15:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:15:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:15:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:15:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:15:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:15:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:15:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 14:15:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 14:15:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996308992001,"66":27865,"185":206,"83":17152,"24":14,"16":358991426937159680,"45":-6916121628564240384},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,83,24,16,45]} 
[2026-07-27 14:15:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 14:15:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 14:15:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996308992001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:15:38] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-27 14:15:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 14:15:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358991426937159680,"km_value":358991426937159.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:15:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6916121628564240384,"description":"Unknown IO ID 45"} 
[2026-07-27 14:15:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996308992001,"power":27865,"unknown_185":206,"unknown_83":17152,"ignition":14,"odometer":null,"unknown_45":-6916121628564240384}} 
[2026-07-27 14:15:38] local.INFO: DEBUG: GPS processor result {"connection_id":142887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553466,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:15:38] local.INFO: GPS data processed {"connection_id":142887,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:15:38] local.INFO: Acknowledgment sent {"connection_id":142887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:15:38] local.INFO: DEBUG: GPS processor result {"connection_id":145307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:15:38] local.INFO: GPS data processed {"connection_id":145307,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:15:38] local.INFO: Acknowledgment sent {"connection_id":145307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:16:05] local.INFO: TCP Data received {"connection_id":145308,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145308,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:16:05] local.INFO: Processing buffer {"connection_id":145308,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:16:05] local.INFO: IMEI packet received {"connection_id":145308,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 14:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":145308,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:16:10] local.INFO: TCP Data received {"connection_id":145308,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145308,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:16:10] local.INFO: Processing buffer {"connection_id":145308,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:16:10] local.INFO: IMEI packet received {"connection_id":145308,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 14:16:10] local.INFO: IMEI acknowledgment sent {"connection_id":145308,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:16:10] local.INFO: TCP Data received {"connection_id":145307,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2bf4968012d9fe9c005a21318000d012f2e..."} 
[2026-07-27 14:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145307,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2bf4968012d9fe9c005a21318000d012f2e..."} 
[2026-07-27 14:16:10] local.INFO: Processing buffer {"connection_id":145307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2bf4968012d9fe9c005a21318000d012f2e..."} 
[2026-07-27 14:16:10] local.INFO: Packet analysis {"connection_id":145307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2bf"} 
[2026-07-27 14:16:10] local.INFO: Extracted packet for processing {"connection_id":145307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2bf"} 
[2026-07-27 14:16:10] local.INFO: GPS Element Parsed {"raw_longitude":765454784,"raw_latitude":94507800,"longitude_deg":76.5454784,"latitude_deg":9.45078,"altitude":13,"angle":303,"satellites":46,"speed":0,"hex_longitude":"2d9fe9c0","hex_latitude":"05a21318","is_valid_coordinates":true} 
[2026-07-27 14:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:16:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996314112001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:16:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358991474181799936,"note":"Value kept but may cause issues"} 
[2026-07-27 14:16:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6923017765493067776,"note":"Value kept but may cause issues"} 
[2026-07-27 14:16:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:16:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785141873000,"timestamp_ms":1785141873000,"timestamp_seconds":1785141873,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2bf4968"} 
[2026-07-27 14:16:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:16:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-27 14:16:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:16:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:16:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:16:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:16:10] local.INFO: Teltonika packet parsed successfully {"connection_id":145307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:16:10] local.INFO: Passing IMEI to GPS processor {"connection_id":145307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:16:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":145307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:16: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-07-27 14:16:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 14:16:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 14:16:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996314112001,"66":27887,"185":206,"83":17152,"24":0,"16":358991474181799936,"45":-6923017765493067776},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,83,24,16,45]} 
[2026-07-27 14:16:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 14:16:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 14:16:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996314112001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:16:10] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-27 14:16:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 14:16:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358991474181799936,"km_value":358991474181799.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:16:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6923017765493067776,"description":"Unknown IO ID 45"} 
[2026-07-27 14:16:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996314112001,"power":27887,"unknown_185":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6923017765493067776}} 
[2026-07-27 14:16:10] local.INFO: DEBUG: GPS processor result {"connection_id":145307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:16:10] local.INFO: GPS data processed {"connection_id":145307,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:16:10] local.INFO: Acknowledgment sent {"connection_id":145307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:16:11] local.INFO: TCP Data received {"connection_id":145308,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2be0d00012d1966c0071fee78003b005c2d..."} 
[2026-07-27 14:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2be0d00012d1966c0071fee78003b005c2d..."} 
[2026-07-27 14:16:11] local.INFO: Processing buffer {"connection_id":145308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2be0d00012d1966c0071fee78003b005c2d..."} 
[2026-07-27 14:16:11] local.INFO: Packet analysis {"connection_id":145308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2be"} 
[2026-07-27 14:16:11] local.INFO: Extracted packet for processing {"connection_id":145308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2be"} 
[2026-07-27 14:16:11] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":45,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:16:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996293376001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:16:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:16:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:16:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:16:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785141792000,"timestamp_ms":1785141792000,"timestamp_seconds":1785141792,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2be0d00"} 
[2026-07-27 14:16:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:16:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-27 14:16:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:16:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:16:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:16:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:16:11] local.INFO: Teltonika packet parsed successfully {"connection_id":145308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:16:11] local.INFO: Passing IMEI to GPS processor {"connection_id":145308,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:16:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":145308,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:16:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:16:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:16:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:16:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996293376001,"66":12406,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:16:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:16:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:16:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996293376001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:16:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:16:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:16:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:16:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:16:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996293376001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:16:11] local.INFO: DEBUG: GPS processor result {"connection_id":145308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553469,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:16:11] local.INFO: GPS data processed {"connection_id":145308,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:16:11] local.INFO: Acknowledgment sent {"connection_id":145308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:16:16] local.INFO: TCP Data received {"connection_id":145308,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2be5f08012d1966c0071fee78003b005c2d..."} 
[2026-07-27 14:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2be5f08012d1966c0071fee78003b005c2d..."} 
[2026-07-27 14:16:16] local.INFO: Processing buffer {"connection_id":145308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2be5f08012d1966c0071fee78003b005c2d..."} 
[2026-07-27 14:16:16] local.INFO: Packet analysis {"connection_id":145308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2be"} 
[2026-07-27 14:16:16] local.INFO: Extracted packet for processing {"connection_id":145308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2be"} 
[2026-07-27 14:16:16] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":45,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14:16:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:16:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996298752001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:16:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:16:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:16:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:16:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785141813000,"timestamp_ms":1785141813000,"timestamp_seconds":1785141813,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2be5f08"} 
[2026-07-27 14:16:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:16: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-07-27 14:16:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 14:16:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:16:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:16:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:16:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:16:16] local.INFO: Teltonika packet parsed successfully {"connection_id":145308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:16:16] local.INFO: Passing IMEI to GPS processor {"connection_id":145308,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:16:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":145308,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:16:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:16:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:16:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:16:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996298752001,"66":12385,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:16:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:16:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:16:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996298752001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:16:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:16:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:16:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:16:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:16:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996298752001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:16:16] local.INFO: DEBUG: GPS processor result {"connection_id":145308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553470,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:16:16] local.INFO: GPS data processed {"connection_id":145308,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:16:16] local.INFO: Acknowledgment sent {"connection_id":145308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:16:32] local.INFO: TCP Data received {"connection_id":142888,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:16:32] local.INFO: Processing buffer {"connection_id":142888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:16:32] local.INFO: IMEI packet received {"connection_id":142888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 14:16:32] local.INFO: IMEI acknowledgment sent {"connection_id":142888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:16:33] local.INFO: TCP Data received {"connection_id":142888,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:16:33] local.INFO: Processing buffer {"connection_id":142888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:16:33] local.INFO: IMEI packet received {"connection_id":142888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 14:16:33] local.INFO: IMEI acknowledgment sent {"connection_id":142888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:16:37] local.INFO: TCP Data received {"connection_id":142888,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:16:37] local.INFO: Processing buffer {"connection_id":142888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:16:37] local.INFO: IMEI packet received {"connection_id":142888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 14:16:37] local.INFO: IMEI acknowledgment sent {"connection_id":142888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:16:38] local.INFO: TCP Data received {"connection_id":142888,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2bf9b70012d9fe9c005a21318000d012f2e..."} 
[2026-07-27 14:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2bf9b70012d9fe9c005a21318000d012f2e..."} 
[2026-07-27 14:16:38] local.INFO: Processing buffer {"connection_id":142888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2bf9b70012d9fe9c005a21318000d012f2e..."} 
[2026-07-27 14:16:38] local.INFO: Packet analysis {"connection_id":142888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2bf"} 
[2026-07-27 14:16:38] local.INFO: Extracted packet for processing {"connection_id":142888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2bf"} 
[2026-07-27 14:16:38] local.INFO: GPS Element Parsed {"raw_longitude":765454784,"raw_latitude":94507800,"longitude_deg":76.5454784,"latitude_deg":9.45078,"altitude":13,"angle":303,"satellites":46,"speed":0,"hex_longitude":"2d9fe9c0","hex_latitude":"05a21318","is_valid_coordinates":true} 
[2026-07-27 14:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:16:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996319488001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:16:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358991474181799936,"note":"Value kept but may cause issues"} 
[2026-07-27 14:16:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6923791821678897152,"note":"Value kept but may cause issues"} 
[2026-07-27 14:16:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:16:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785141894000,"timestamp_ms":1785141894000,"timestamp_seconds":1785141894,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2bf9b70"} 
[2026-07-27 14:16:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:16:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-27 14:16:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:16:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:16:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:16:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:16:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:16:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:16:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:16:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:16:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 14:16:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 14:16:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996319488001,"66":27767,"185":206,"83":17152,"24":0,"16":358991474181799936,"45":-6923791821678897152},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,83,24,16,45]} 
[2026-07-27 14:16:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 14:16:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 14:16:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996319488001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:16:38] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-27 14:16:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 14:16:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358991474181799936,"km_value":358991474181799.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:16:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6923791821678897152,"description":"Unknown IO ID 45"} 
[2026-07-27 14:16:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996319488001,"power":27767,"unknown_185":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6923791821678897152}} 
[2026-07-27 14:16:38] local.INFO: DEBUG: GPS processor result {"connection_id":142888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:16:38] local.INFO: GPS data processed {"connection_id":142888,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:16:38] local.INFO: Acknowledgment sent {"connection_id":142888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:16:59] local.INFO: TCP Data received {"connection_id":145309,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145309,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:16:59] local.INFO: Processing buffer {"connection_id":145309,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:16:59] local.INFO: IMEI packet received {"connection_id":145309,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 14:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":145309,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:17:00] local.INFO: TCP Data received {"connection_id":145309,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145309,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:17:00] local.INFO: Processing buffer {"connection_id":145309,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:17:00] local.INFO: IMEI packet received {"connection_id":145309,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 14:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":145309,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:17:05] local.INFO: TCP Data received {"connection_id":145309,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145309,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:17:05] local.INFO: Processing buffer {"connection_id":145309,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:17:05] local.INFO: IMEI packet received {"connection_id":145309,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 14:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":145309,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:17:06] local.INFO: TCP Data received {"connection_id":145309,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2beb110012d1966c0071fee78003b005c2a..."} 
[2026-07-27 14:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2beb110012d1966c0071fee78003b005c2a..."} 
[2026-07-27 14:17:06] local.INFO: Processing buffer {"connection_id":145309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2beb110012d1966c0071fee78003b005c2a..."} 
[2026-07-27 14:17:06] local.INFO: Packet analysis {"connection_id":145309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2be"} 
[2026-07-27 14:17:06] local.INFO: Extracted packet for processing {"connection_id":145309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2be"} 
[2026-07-27 14:17:06] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":42,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996304128001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:17:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:17:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785141834000,"timestamp_ms":1785141834000,"timestamp_seconds":1785141834,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2beb110"} 
[2026-07-27 14:17:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:17:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-27 14:17:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:17:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:17:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":145309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":145309,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":145309,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:17:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996304128001,"66":12385,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996304128001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:17:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:17:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:17:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996304128001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":145309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553472,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:17:06] local.INFO: GPS data processed {"connection_id":145309,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:17:06] local.INFO: Acknowledgment sent {"connection_id":145309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:17:09] local.INFO: TCP Data received {"connection_id":142888,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2bfed78012d9fe9c005a21318000d012f2c..."} 
[2026-07-27 14:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2bfed78012d9fe9c005a21318000d012f2c..."} 
[2026-07-27 14:17:09] local.INFO: Processing buffer {"connection_id":142888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2bfed78012d9fe9c005a21318000d012f2c..."} 
[2026-07-27 14:17:09] local.INFO: Packet analysis {"connection_id":142888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2bf"} 
[2026-07-27 14:17:09] local.INFO: Extracted packet for processing {"connection_id":142888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2bf"} 
[2026-07-27 14:17:09] local.INFO: GPS Element Parsed {"raw_longitude":765454784,"raw_latitude":94507800,"longitude_deg":76.5454784,"latitude_deg":9.45078,"altitude":13,"angle":303,"satellites":44,"speed":0,"hex_longitude":"2d9fe9c0","hex_latitude":"05a21318","is_valid_coordinates":true} 
[2026-07-27 14:17:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:17:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996324864001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:17:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358991474181799936,"note":"Value kept but may cause issues"} 
[2026-07-27 14:17:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6923791821678897152,"note":"Value kept but may cause issues"} 
[2026-07-27 14:17:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:17:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785141915000,"timestamp_ms":1785141915000,"timestamp_seconds":1785141915,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2bfed78"} 
[2026-07-27 14:17:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:17:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-27 14:17:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:17:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:17:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:17:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:17:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:17:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:17:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:17: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-07-27 14:17:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 14:17:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 14:17:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996324864001,"66":27843,"185":206,"83":17152,"24":0,"16":358991474181799936,"45":-6923791821678897152},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,83,24,16,45]} 
[2026-07-27 14:17:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 14:17:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 14:17:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996324864001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:17:09] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-27 14:17:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 14:17:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358991474181799936,"km_value":358991474181799.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:17:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6923791821678897152,"description":"Unknown IO ID 45"} 
[2026-07-27 14:17:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996324864001,"power":27843,"unknown_185":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6923791821678897152}} 
[2026-07-27 14:17:09] local.INFO: DEBUG: GPS processor result {"connection_id":142888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:17:09] local.INFO: GPS data processed {"connection_id":142888,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:17:09] local.INFO: Acknowledgment sent {"connection_id":142888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:17:38] local.INFO: TCP Data received {"connection_id":144015,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:17:38] local.INFO: Processing buffer {"connection_id":144015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:17:38] local.INFO: IMEI packet received {"connection_id":144015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 14:17:38] local.INFO: IMEI acknowledgment sent {"connection_id":144015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:17:38] local.INFO: TCP Data received {"connection_id":145309,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2bf0318012d1966c0071fee78003b005c2b..."} 
[2026-07-27 14:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2bf0318012d1966c0071fee78003b005c2b..."} 
[2026-07-27 14:17:38] local.INFO: Processing buffer {"connection_id":145309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2bf0318012d1966c0071fee78003b005c2b..."} 
[2026-07-27 14:17:38] local.INFO: Packet analysis {"connection_id":145309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2bf"} 
[2026-07-27 14:17:38] local.INFO: Extracted packet for processing {"connection_id":145309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2bf"} 
[2026-07-27 14:17:38] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":43,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:17:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996309504001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:17:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:17:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:17:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:17:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785141855000,"timestamp_ms":1785141855000,"timestamp_seconds":1785141855,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2bf0318"} 
[2026-07-27 14:17:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:17:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-27 14:17:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:17:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:17:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:17:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:17:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:17:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145309,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:17:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145309,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:17:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:17:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:17:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:17:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996309504001,"66":12428,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:17:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:17:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:17:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996309504001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:17:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:17:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:17:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:17:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:17:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996309504001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:17:38] local.INFO: DEBUG: GPS processor result {"connection_id":145309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553474,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:17:38] local.INFO: GPS data processed {"connection_id":145309,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:17:38] local.INFO: Acknowledgment sent {"connection_id":145309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:17:39] local.INFO: TCP Data received {"connection_id":144015,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:17:39] local.INFO: Processing buffer {"connection_id":144015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:17:39] local.INFO: IMEI packet received {"connection_id":144015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 14:17:39] local.INFO: IMEI acknowledgment sent {"connection_id":144015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:17:42] local.INFO: TCP Data received {"connection_id":144015,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:17:42] local.INFO: Processing buffer {"connection_id":144015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:17:42] local.INFO: IMEI packet received {"connection_id":144015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 14:17:42] local.INFO: IMEI acknowledgment sent {"connection_id":144015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:17:43] local.INFO: TCP Data received {"connection_id":144015,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2c03f80012d9fe9c005a21318000d012f28..."} 
[2026-07-27 14:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2c03f80012d9fe9c005a21318000d012f28..."} 
[2026-07-27 14:17:43] local.INFO: Processing buffer {"connection_id":144015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2c03f80012d9fe9c005a21318000d012f28..."} 
[2026-07-27 14:17:43] local.INFO: Packet analysis {"connection_id":144015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2c0"} 
[2026-07-27 14:17:43] local.INFO: Extracted packet for processing {"connection_id":144015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2c0"} 
[2026-07-27 14:17:43] local.INFO: GPS Element Parsed {"raw_longitude":765454784,"raw_latitude":94507800,"longitude_deg":76.5454784,"latitude_deg":9.45078,"altitude":13,"angle":303,"satellites":40,"speed":0,"hex_longitude":"2d9fe9c0","hex_latitude":"05a21318","is_valid_coordinates":true} 
[2026-07-27 14:17:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:17:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996330240001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:17:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358991474181799936,"note":"Value kept but may cause issues"} 
[2026-07-27 14:17:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6923791821678897152,"note":"Value kept but may cause issues"} 
[2026-07-27 14:17:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,124,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:17:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785141936000,"timestamp_ms":1785141936000,"timestamp_seconds":1785141936,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2c03f80"} 
[2026-07-27 14:17:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:17:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-27 14:17:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:17:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:17:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:17:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:17:43] local.INFO: Teltonika packet parsed successfully {"connection_id":144015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:17:43] local.INFO: Passing IMEI to GPS processor {"connection_id":144015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:17:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":144015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:17: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-07-27 14:17:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 14:17:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 14:17:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996330240001,"66":27865,"124":206,"83":17152,"24":0,"16":358991474181799936,"45":-6923791821678897152},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,124,83,24,16,45]} 
[2026-07-27 14:17:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 14:17:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 14:17:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996330240001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:17:43] local.INFO: Unknown IO ID detected {"io_id":124,"value":206,"description":"Unknown IO ID 124"} 
[2026-07-27 14:17:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 14:17:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358991474181799936,"km_value":358991474181799.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:17:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6923791821678897152,"description":"Unknown IO ID 45"} 
[2026-07-27 14:17:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996330240001,"power":27865,"unknown_124":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6923791821678897152}} 
[2026-07-27 14:17:43] local.INFO: DEBUG: GPS processor result {"connection_id":144015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:17:43] local.INFO: GPS data processed {"connection_id":144015,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:17:43] local.INFO: Acknowledgment sent {"connection_id":144015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:17:44] local.INFO: TCP Data received {"connection_id":144015,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2c07248012d9fe80005a214c80010013c2d..."} 
[2026-07-27 14:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2c07248012d9fe80005a214c80010013c2d..."} 
[2026-07-27 14:17:44] local.INFO: Processing buffer {"connection_id":144015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2c07248012d9fe80005a214c80010013c2d..."} 
[2026-07-27 14:17:44] local.INFO: Packet analysis {"connection_id":144015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2c0"} 
[2026-07-27 14:17:44] local.INFO: Extracted packet for processing {"connection_id":144015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2c0"} 
[2026-07-27 14:17:44] local.INFO: GPS Element Parsed {"raw_longitude":765454336,"raw_latitude":94508232,"longitude_deg":76.5454336,"latitude_deg":9.4508232,"altitude":16,"angle":316,"satellites":45,"speed":9,"hex_longitude":"2d9fe800","hex_latitude":"05a214c8","is_valid_coordinates":true} 
[2026-07-27 14:17:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:17:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996335616001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:17:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358991504246571008,"note":"Value kept but may cause issues"} 
[2026-07-27 14:17:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6923791821678897152,"note":"Value kept but may cause issues"} 
[2026-07-27 14:17:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,124,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:17:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785141949000,"timestamp_ms":1785141949000,"timestamp_seconds":1785141949,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2c07248"} 
[2026-07-27 14:17:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:17:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:17:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-27 14:17:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:17:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:17:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:17:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:17:44] local.INFO: Teltonika packet parsed successfully {"connection_id":144015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:17:44] local.INFO: Passing IMEI to GPS processor {"connection_id":144015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:17:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":144015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:17:44] 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-07-27 14:17:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 14:17:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 14:17:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996335616001,"66":27876,"124":206,"83":17152,"24":9,"16":358991504246571008,"45":-6923791821678897152},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,124,83,24,16,45]} 
[2026-07-27 14:17:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 14:17:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 14:17:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996335616001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:17:44] local.INFO: Unknown IO ID detected {"io_id":124,"value":206,"description":"Unknown IO ID 124"} 
[2026-07-27 14:17:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 14:17:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358991504246571008,"km_value":358991504246571.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:17:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6923791821678897152,"description":"Unknown IO ID 45"} 
[2026-07-27 14:17:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996335616001,"power":27876,"unknown_124":206,"unknown_83":17152,"ignition":9,"odometer":null,"unknown_45":-6923791821678897152}} 
[2026-07-27 14:17:44] local.INFO: DEBUG: GPS processor result {"connection_id":144015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:17:44] local.INFO: GPS data processed {"connection_id":144015,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:17:44] local.INFO: Acknowledgment sent {"connection_id":144015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:17:49] local.INFO: TCP Data received {"connection_id":144015,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2c07a18012d9fe68005a216d0000f014a2d..."} 
[2026-07-27 14:17:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2c07a18012d9fe68005a216d0000f014a2d..."} 
[2026-07-27 14:17:49] local.INFO: Processing buffer {"connection_id":144015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2c07a18012d9fe68005a216d0000f014a2d..."} 
[2026-07-27 14:17:49] local.INFO: Packet analysis {"connection_id":144015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2c0"} 
[2026-07-27 14:17:49] local.INFO: Extracted packet for processing {"connection_id":144015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2c0"} 
[2026-07-27 14:17:49] local.INFO: GPS Element Parsed {"raw_longitude":765453952,"raw_latitude":94508752,"longitude_deg":76.5453952,"latitude_deg":9.4508752,"altitude":15,"angle":330,"satellites":45,"speed":15,"hex_longitude":"2d9fe680","hex_latitude":"05a216d0","is_valid_coordinates":true} 
[2026-07-27 14:17:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:17:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996338944001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:17:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358991534311342080,"note":"Value kept but may cause issues"} 
[2026-07-27 14:17:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6924284402888030208,"note":"Value kept but may cause issues"} 
[2026-07-27 14:17:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,124,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:17:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785141951000,"timestamp_ms":1785141951000,"timestamp_seconds":1785141951,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2c07a18"} 
[2026-07-27 14:17:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:17:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:17:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-27 14:17:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:17:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:17:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:17:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:17:49] local.INFO: Teltonika packet parsed successfully {"connection_id":144015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:17:49] local.INFO: Passing IMEI to GPS processor {"connection_id":144015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:17:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":144015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:17:49] 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-07-27 14:17:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 14:17:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 14:17:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996338944001,"66":27930,"124":206,"83":17152,"24":15,"16":358991534311342080,"45":-6924284402888030208},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,124,83,24,16,45]} 
[2026-07-27 14:17:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 14:17:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 14:17:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996338944001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:17:49] local.INFO: Unknown IO ID detected {"io_id":124,"value":206,"description":"Unknown IO ID 124"} 
[2026-07-27 14:17:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 14:17:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358991534311342080,"km_value":358991534311342.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:17:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6924284402888030208,"description":"Unknown IO ID 45"} 
[2026-07-27 14:17:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996338944001,"power":27930,"unknown_124":206,"unknown_83":17152,"ignition":15,"odometer":null,"unknown_45":-6924284402888030208}} 
[2026-07-27 14:17:49] local.INFO: DEBUG: GPS processor result {"connection_id":144015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:17:49] local.INFO: GPS data processed {"connection_id":144015,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:17:49] local.INFO: Acknowledgment sent {"connection_id":144015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:18:00] local.INFO: TCP Data received {"connection_id":143033,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143033,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:18:00] local.INFO: Processing buffer {"connection_id":143033,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:18:00] local.INFO: IMEI packet received {"connection_id":143033,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 14:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":143033,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:18:02] local.INFO: TCP Data received {"connection_id":143033,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143033,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:18:02] local.INFO: Processing buffer {"connection_id":143033,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:18:02] local.INFO: IMEI packet received {"connection_id":143033,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 14:18:02] local.INFO: IMEI acknowledgment sent {"connection_id":143033,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:18:05] local.INFO: TCP Data received {"connection_id":143033,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143033,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:18:05] local.INFO: Processing buffer {"connection_id":143033,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:18:05] local.INFO: IMEI packet received {"connection_id":143033,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 14:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":143033,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:18:07] local.INFO: TCP Data received {"connection_id":143033,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2bf5520012d1966c0071fee78003b005c2a..."} 
[2026-07-27 14:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2bf5520012d1966c0071fee78003b005c2a..."} 
[2026-07-27 14:18:07] local.INFO: Processing buffer {"connection_id":143033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2bf5520012d1966c0071fee78003b005c2a..."} 
[2026-07-27 14:18:07] local.INFO: Packet analysis {"connection_id":143033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2bf"} 
[2026-07-27 14:18:07] local.INFO: Extracted packet for processing {"connection_id":143033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2bf"} 
[2026-07-27 14:18:07] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":42,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14:18:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:18:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996314880001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:18:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:18:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:18:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:18:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785141876000,"timestamp_ms":1785141876000,"timestamp_seconds":1785141876,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2bf5520"} 
[2026-07-27 14:18:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:18:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:18:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-27 14:18:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:18:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:18:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:18:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:18:07] local.INFO: Teltonika packet parsed successfully {"connection_id":143033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:18:07] local.INFO: Passing IMEI to GPS processor {"connection_id":143033,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:18:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":143033,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:18:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:18:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:18:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:18:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996314880001,"66":12428,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:18:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:18:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:18:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996314880001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:18:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:18:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:18:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:18:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:18:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996314880001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:18:07] local.INFO: DEBUG: GPS processor result {"connection_id":143033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553478,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:18:07] local.INFO: GPS data processed {"connection_id":143033,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:18:07] local.INFO: Acknowledgment sent {"connection_id":143033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:18:39] local.INFO: TCP Data received {"connection_id":143033,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2bfa728012d1966c0071fee78003b005c2c..."} 
[2026-07-27 14:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2bfa728012d1966c0071fee78003b005c2c..."} 
[2026-07-27 14:18:39] local.INFO: Processing buffer {"connection_id":143033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2bfa728012d1966c0071fee78003b005c2c..."} 
[2026-07-27 14:18:39] local.INFO: Packet analysis {"connection_id":143033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2bf"} 
[2026-07-27 14:18:39] local.INFO: Extracted packet for processing {"connection_id":143033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2bf"} 
[2026-07-27 14:18:39] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":44,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14:18:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:18:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996320256001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:18:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:18:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:18:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:18:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785141897000,"timestamp_ms":1785141897000,"timestamp_seconds":1785141897,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2bfa728"} 
[2026-07-27 14:18:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:18:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:18:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-27 14:18:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:18:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:18:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:18:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:18:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:18:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143033,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:18:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143033,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:18:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:18:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:18:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:18:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996320256001,"66":12406,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:18:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:18:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:18:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996320256001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:18:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:18:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:18:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:18:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:18:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996320256001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:18:39] local.INFO: DEBUG: GPS processor result {"connection_id":143033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553479,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:18:39] local.INFO: GPS data processed {"connection_id":143033,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:18:39] local.INFO: Acknowledgment sent {"connection_id":143033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:18:45] local.INFO: TCP Data received {"connection_id":145310,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:18:45] local.INFO: Processing buffer {"connection_id":145310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:18:45] local.INFO: IMEI packet received {"connection_id":145310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 14:18:45] local.INFO: IMEI acknowledgment sent {"connection_id":145310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:18:47] local.INFO: TCP Data received {"connection_id":145310,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:18:47] local.INFO: Processing buffer {"connection_id":145310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:18:47] local.INFO: IMEI packet received {"connection_id":145310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 14:18:47] local.INFO: IMEI acknowledgment sent {"connection_id":145310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:18:52] local.INFO: TCP Data received {"connection_id":145310,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:18:52] local.INFO: Processing buffer {"connection_id":145310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:18:52] local.INFO: IMEI packet received {"connection_id":145310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 14:18:52] local.INFO: IMEI acknowledgment sent {"connection_id":145310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:18:52] local.INFO: TCP Data received {"connection_id":145310,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2c1f118012d9f174005a2e880000c00ad2e..."} 
[2026-07-27 14:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2c1f118012d9f174005a2e880000c00ad2e..."} 
[2026-07-27 14:18:53] local.INFO: Processing buffer {"connection_id":145310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2c1f118012d9f174005a2e880000c00ad2e..."} 
[2026-07-27 14:18:53] local.INFO: Packet analysis {"connection_id":145310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2c1"} 
[2026-07-27 14:18:53] local.INFO: Extracted packet for processing {"connection_id":145310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2c1"} 
[2026-07-27 14:18:53] local.INFO: GPS Element Parsed {"raw_longitude":765400896,"raw_latitude":94562432,"longitude_deg":76.5400896,"latitude_deg":9.4562432,"altitude":12,"angle":173,"satellites":46,"speed":11,"hex_longitude":"2d9f1740","hex_latitude":"05a2e880","is_valid_coordinates":true} 
[2026-07-27 14:18:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:18:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996363776001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:18:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358995348242300928,"note":"Value kept but may cause issues"} 
[2026-07-27 14:18:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6983042304262430720,"note":"Value kept but may cause issues"} 
[2026-07-27 14:18:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:18:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785142047000,"timestamp_ms":1785142047000,"timestamp_seconds":1785142047,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2c1f118"} 
[2026-07-27 14:18:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:18:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:18:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-27 14:18:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:18:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:18:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:18:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:18:53] local.INFO: Teltonika packet parsed successfully {"connection_id":145310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:18:53] local.INFO: Passing IMEI to GPS processor {"connection_id":145310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:18:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":145310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:18:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:18:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 14:18:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 14:18:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996363776001,"66":27919,"236":206,"83":17152,"24":11,"16":358995348242300928,"45":-6983042304262430720},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 14:18:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 14:18:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 14:18:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996363776001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:18:53] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 14:18:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 14:18:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358995348242300928,"km_value":358995348242300.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:18:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6983042304262430720,"description":"Unknown IO ID 45"} 
[2026-07-27 14:18:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996363776001,"power":27919,"unknown_236":206,"unknown_83":17152,"ignition":11,"odometer":null,"unknown_45":-6983042304262430720}} 
[2026-07-27 14:18:53] local.INFO: DEBUG: GPS processor result {"connection_id":145310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:18:53] local.INFO: GPS data processed {"connection_id":145310,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:18:53] local.INFO: Acknowledgment sent {"connection_id":145310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:19:00] local.INFO: TCP Data received {"connection_id":143034,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143034,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:19:00] local.INFO: Processing buffer {"connection_id":143034,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:19:00] local.INFO: IMEI packet received {"connection_id":143034,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 14:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":143034,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:19:05] local.INFO: TCP Data received {"connection_id":143034,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143034,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:19:05] local.INFO: Processing buffer {"connection_id":143034,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:19:05] local.INFO: IMEI packet received {"connection_id":143034,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 14:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":143034,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:19:06] local.INFO: TCP Data received {"connection_id":143034,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2bff930012d1966c0071fee78003b005c2c..."} 
[2026-07-27 14:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2bff930012d1966c0071fee78003b005c2c..."} 
[2026-07-27 14:19:06] local.INFO: Processing buffer {"connection_id":143034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2bff930012d1966c0071fee78003b005c2c..."} 
[2026-07-27 14:19:06] local.INFO: Packet analysis {"connection_id":143034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2bf"} 
[2026-07-27 14:19:06] local.INFO: Extracted packet for processing {"connection_id":143034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2bf"} 
[2026-07-27 14:19:06] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":44,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996325632001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:19:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:19:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:19:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:19:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785141918000,"timestamp_ms":1785141918000,"timestamp_seconds":1785141918,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2bff930"} 
[2026-07-27 14:19:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:19:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 14:19:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:19:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:19:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:19:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:19:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:19:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:19:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:19:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:19:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:19:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:19:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996325632001,"66":12439,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:19:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:19:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:19:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996325632001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:19:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:19:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:19:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:19:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:19:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996325632001,"power":12439,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:19:07] local.INFO: DEBUG: GPS processor result {"connection_id":143034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553481,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:19:07] local.INFO: GPS data processed {"connection_id":143034,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:19:07] local.INFO: Acknowledgment sent {"connection_id":143034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:19:32] local.INFO: TCP Data received {"connection_id":144016,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:19:32] local.INFO: Processing buffer {"connection_id":144016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:19:32] local.INFO: IMEI packet received {"connection_id":144016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 14:19:32] local.INFO: IMEI acknowledgment sent {"connection_id":144016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:19:33] local.INFO: TCP Data received {"connection_id":144016,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:19:33] local.INFO: Processing buffer {"connection_id":144016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:19:33] local.INFO: IMEI packet received {"connection_id":144016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 14:19:33] local.INFO: IMEI acknowledgment sent {"connection_id":144016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:19:37] local.INFO: TCP Data received {"connection_id":144016,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:19:37] local.INFO: Processing buffer {"connection_id":144016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:19:37] local.INFO: IMEI packet received {"connection_id":144016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 14:19:37] local.INFO: IMEI acknowledgment sent {"connection_id":144016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:19:38] local.INFO: TCP Data received {"connection_id":143034,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2c04b38012d1966c0071fee78003b005c2a..."} 
[2026-07-27 14:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2c04b38012d1966c0071fee78003b005c2a..."} 
[2026-07-27 14:19:38] local.INFO: Processing buffer {"connection_id":143034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2c04b38012d1966c0071fee78003b005c2a..."} 
[2026-07-27 14:19:38] local.INFO: Packet analysis {"connection_id":143034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2c0"} 
[2026-07-27 14:19:38] local.INFO: Extracted packet for processing {"connection_id":143034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2c0"} 
[2026-07-27 14:19:38] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":42,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14:19:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:19:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996331008001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:19:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:19:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:19:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:19:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785141939000,"timestamp_ms":1785141939000,"timestamp_seconds":1785141939,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2c04b38"} 
[2026-07-27 14:19:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:19:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:19:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-27 14:19:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:19:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:19:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:19:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:19:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:19:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:19:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:19:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:19:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:19:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:19:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996331008001,"66":12428,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:19:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:19:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:19:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996331008001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:19:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:19:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:19:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:19:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:19:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996331008001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:19:38] local.INFO: DEBUG: GPS processor result {"connection_id":143034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553482,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:19:38] local.INFO: GPS data processed {"connection_id":143034,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:19:38] local.INFO: Acknowledgment sent {"connection_id":143034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:19:38] local.INFO: TCP Data received {"connection_id":144016,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2c1f8e8012d9f180005a2e688000c00a02e..."} 
[2026-07-27 14:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2c1f8e8012d9f180005a2e688000c00a02e..."} 
[2026-07-27 14:19:38] local.INFO: Processing buffer {"connection_id":144016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2c1f8e8012d9f180005a2e688000c00a02e..."} 
[2026-07-27 14:19:38] local.INFO: Packet analysis {"connection_id":144016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2c1"} 
[2026-07-27 14:19:38] local.INFO: Extracted packet for processing {"connection_id":144016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2c1"} 
[2026-07-27 14:19:38] local.INFO: GPS Element Parsed {"raw_longitude":765401088,"raw_latitude":94561928,"longitude_deg":76.5401088,"latitude_deg":9.4561928,"altitude":12,"angle":160,"satellites":46,"speed":9,"hex_longitude":"2d9f1800","hex_latitude":"05a2e688","is_valid_coordinates":true} 
[2026-07-27 14:19:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:19:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996364032001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:19:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358995374012104704,"note":"Value kept but may cause issues"} 
[2026-07-27 14:19:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6983042304262504448,"note":"Value kept but may cause issues"} 
[2026-07-27 14:19:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:19:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785142049000,"timestamp_ms":1785142049000,"timestamp_seconds":1785142049,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2c1f8e8"} 
[2026-07-27 14:19:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:19:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:19:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-27 14:19:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:19:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:19:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:19:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:19:38] local.INFO: Teltonika packet parsed successfully {"connection_id":144016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:19:38] local.INFO: Passing IMEI to GPS processor {"connection_id":144016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:19:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":144016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:19:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:19:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 14:19:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 14:19:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996364032001,"66":27919,"236":206,"83":17152,"24":9,"16":358995374012104704,"45":-6983042304262504448},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 14:19:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 14:19:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 14:19:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996364032001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:19:38] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 14:19:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 14:19:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358995374012104704,"km_value":358995374012104.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:19:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6983042304262504448,"description":"Unknown IO ID 45"} 
[2026-07-27 14:19:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996364032001,"power":27919,"unknown_236":206,"unknown_83":17152,"ignition":9,"odometer":null,"unknown_45":-6983042304262504448}} 
[2026-07-27 14:19:38] local.INFO: DEBUG: GPS processor result {"connection_id":144016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:19:38] local.INFO: GPS data processed {"connection_id":144016,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:19:38] local.INFO: Acknowledgment sent {"connection_id":144016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:20:00] local.INFO: TCP Data received {"connection_id":142889,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142889,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:20:00] local.INFO: Processing buffer {"connection_id":142889,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:20:00] local.INFO: IMEI packet received {"connection_id":142889,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 14:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":142889,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:20:05] local.INFO: TCP Data received {"connection_id":142889,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142889,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:20:05] local.INFO: Processing buffer {"connection_id":142889,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:20:05] local.INFO: IMEI packet received {"connection_id":142889,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 14:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":142889,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:20:06] local.INFO: TCP Data received {"connection_id":142889,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2c09d40012d1966c0071fee78003b005c2c..."} 
[2026-07-27 14:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142889,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2c09d40012d1966c0071fee78003b005c2c..."} 
[2026-07-27 14:20:06] local.INFO: Processing buffer {"connection_id":142889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2c09d40012d1966c0071fee78003b005c2c..."} 
[2026-07-27 14:20:06] local.INFO: Packet analysis {"connection_id":142889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2c0"} 
[2026-07-27 14:20:06] local.INFO: Extracted packet for processing {"connection_id":142889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2c0"} 
[2026-07-27 14:20:06] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":44,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996336384001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:20:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:20:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:20:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:20:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785141960000,"timestamp_ms":1785141960000,"timestamp_seconds":1785141960,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2c09d40"} 
[2026-07-27 14:20:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:20:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-27 14:20:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:20:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:20:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:20:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:20:06] local.INFO: Teltonika packet parsed successfully {"connection_id":142889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:20:06] local.INFO: Passing IMEI to GPS processor {"connection_id":142889,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:20:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":142889,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:20:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:20:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:20:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:20:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996336384001,"66":12385,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:20:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:20:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:20:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996336384001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:20:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:20:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:20:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:20:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:20:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996336384001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:20:06] local.INFO: DEBUG: GPS processor result {"connection_id":142889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553484,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:20:06] local.INFO: GPS data processed {"connection_id":142889,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:20:06] local.INFO: Acknowledgment sent {"connection_id":142889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:20:09] local.INFO: TCP Data received {"connection_id":144016,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2c3c1f0012d9f2e0005a22488000f00a52f..."} 
[2026-07-27 14:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2c3c1f0012d9f2e0005a22488000f00a52f..."} 
[2026-07-27 14:20:09] local.INFO: Processing buffer {"connection_id":144016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2c3c1f0012d9f2e0005a22488000f00a52f..."} 
[2026-07-27 14:20:09] local.INFO: Packet analysis {"connection_id":144016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2c3"} 
[2026-07-27 14:20:09] local.INFO: Extracted packet for processing {"connection_id":144016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2c3"} 
[2026-07-27 14:20:09] local.INFO: GPS Element Parsed {"raw_longitude":765406720,"raw_latitude":94512264,"longitude_deg":76.540672,"latitude_deg":9.4512264,"altitude":15,"angle":165,"satellites":47,"speed":9,"hex_longitude":"2d9f2e00","hex_latitude":"05a22488","is_valid_coordinates":true} 
[2026-07-27 14:20:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:20:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996394240001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:20:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358997886567972864,"note":"Value kept but may cause issues"} 
[2026-07-27 14:20:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6976709117299294208,"note":"Value kept but may cause issues"} 
[2026-07-27 14:20:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:20:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785142166000,"timestamp_ms":1785142166000,"timestamp_seconds":1785142166,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2c3c1f0"} 
[2026-07-27 14:20:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:20:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-27 14:20:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:20:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:20:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:20:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:20:09] local.INFO: Teltonika packet parsed successfully {"connection_id":144016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:20:09] local.INFO: Passing IMEI to GPS processor {"connection_id":144016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:20:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":144016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:20:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:20:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 14:20:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 14:20:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996394240001,"66":27887,"236":206,"83":17152,"24":9,"16":358997886567972864,"45":-6976709117299294208},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 14:20:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 14:20:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 14:20:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996394240001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:20:09] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 14:20:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 14:20:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358997886567972864,"km_value":358997886567972.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:20:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6976709117299294208,"description":"Unknown IO ID 45"} 
[2026-07-27 14:20:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996394240001,"power":27887,"unknown_236":206,"unknown_83":17152,"ignition":9,"odometer":null,"unknown_45":-6976709117299294208}} 
[2026-07-27 14:20:09] local.INFO: DEBUG: GPS processor result {"connection_id":144016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:20:09] local.INFO: GPS data processed {"connection_id":144016,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:20:09] local.INFO: Acknowledgment sent {"connection_id":144016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:20:32] local.INFO: TCP Data received {"connection_id":142890,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:20:32] local.INFO: Processing buffer {"connection_id":142890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:20:32] local.INFO: IMEI packet received {"connection_id":142890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 14:20:32] local.INFO: IMEI acknowledgment sent {"connection_id":142890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:20:37] local.INFO: TCP Data received {"connection_id":142890,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:20:37] local.INFO: Processing buffer {"connection_id":142890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:20:37] local.INFO: IMEI packet received {"connection_id":142890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 14:20:37] local.INFO: IMEI acknowledgment sent {"connection_id":142890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:20:37] local.INFO: TCP Data received {"connection_id":142889,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2c0ef48012d1966c0071fee78003b005c2b..."} 
[2026-07-27 14:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142889,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2c0ef48012d1966c0071fee78003b005c2b..."} 
[2026-07-27 14:20:37] local.INFO: Processing buffer {"connection_id":142889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2c0ef48012d1966c0071fee78003b005c2b..."} 
[2026-07-27 14:20:37] local.INFO: Packet analysis {"connection_id":142889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2c0"} 
[2026-07-27 14:20:37] local.INFO: Extracted packet for processing {"connection_id":142889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2c0"} 
[2026-07-27 14:20:37] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":43,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:20:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996341760001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:20:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:20:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:20:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:20:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785141981000,"timestamp_ms":1785141981000,"timestamp_seconds":1785141981,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2c0ef48"} 
[2026-07-27 14:20:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:20:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-27 14:20:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:20:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:20:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:20:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:20:37] local.INFO: Teltonika packet parsed successfully {"connection_id":142889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:20:37] local.INFO: Passing IMEI to GPS processor {"connection_id":142889,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:20:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":142889,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:20:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:20:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:20:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:20:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996341760001,"66":12385,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:20:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:20:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:20:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996341760001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:20:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:20:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:20:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:20:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:20:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996341760001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:20:37] local.INFO: DEBUG: GPS processor result {"connection_id":142889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553486,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:20:37] local.INFO: GPS data processed {"connection_id":142889,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:20:37] local.INFO: Acknowledgment sent {"connection_id":142889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:20:39] local.INFO: TCP Data received {"connection_id":142890,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2c3c9c0012d9f2f0005a22250000e00932e..."} 
[2026-07-27 14:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2c3c9c0012d9f2f0005a22250000e00932e..."} 
[2026-07-27 14:20:39] local.INFO: Processing buffer {"connection_id":142890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2c3c9c0012d9f2f0005a22250000e00932e..."} 
[2026-07-27 14:20:39] local.INFO: Packet analysis {"connection_id":142890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2c3"} 
[2026-07-27 14:20:39] local.INFO: Extracted packet for processing {"connection_id":142890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2c3"} 
[2026-07-27 14:20:39] local.INFO: GPS Element Parsed {"raw_longitude":765406976,"raw_latitude":94511696,"longitude_deg":76.5406976,"latitude_deg":9.4511696,"altitude":14,"angle":147,"satellites":46,"speed":10,"hex_longitude":"2d9f2f00","hex_latitude":"05a22250","is_valid_coordinates":true} 
[2026-07-27 14:20:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:20:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996394496001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:20:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358997916632743936,"note":"Value kept but may cause issues"} 
[2026-07-27 14:20:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6976638748555180032,"note":"Value kept but may cause issues"} 
[2026-07-27 14:20:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:20:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785142168000,"timestamp_ms":1785142168000,"timestamp_seconds":1785142168,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2c3c9c0"} 
[2026-07-27 14:20:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:20:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-27 14:20:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:20:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:20:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:20:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:20:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:20:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:20:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:20:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:20:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 14:20:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 14:20:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996394496001,"66":27908,"236":206,"83":17152,"24":10,"16":358997916632743936,"45":-6976638748555180032},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 14:20:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 14:20:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 14:20:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996394496001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:20:39] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 14:20:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 14:20:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358997916632743936,"km_value":358997916632743.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:20:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6976638748555180032,"description":"Unknown IO ID 45"} 
[2026-07-27 14:20:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996394496001,"power":27908,"unknown_236":206,"unknown_83":17152,"ignition":10,"odometer":null,"unknown_45":-6976638748555180032}} 
[2026-07-27 14:20:39] local.INFO: DEBUG: GPS processor result {"connection_id":142890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:20:39] local.INFO: GPS data processed {"connection_id":142890,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:20:39] local.INFO: Acknowledgment sent {"connection_id":142890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:21:01] local.INFO: TCP Data received {"connection_id":143035,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 14:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143035,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 14:21:01] local.INFO: Processing buffer {"connection_id":143035,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 14:21:01] local.INFO: IMEI packet received {"connection_id":143035,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 14:21:01] local.INFO: IMEI acknowledgment sent {"connection_id":143035,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:21:05] local.INFO: TCP Data received {"connection_id":142891,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142891,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:21:05] local.INFO: Processing buffer {"connection_id":142891,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:21:05] local.INFO: IMEI packet received {"connection_id":142891,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 14:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":142891,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:21:10] local.INFO: TCP Data received {"connection_id":142891,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142891,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:21:10] local.INFO: Processing buffer {"connection_id":142891,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:21:10] local.INFO: IMEI packet received {"connection_id":142891,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 14:21:10] local.INFO: IMEI acknowledgment sent {"connection_id":142891,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:21:10] local.INFO: TCP Data received {"connection_id":142890,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2c3cda8012d9f2f8005a22168000e00862e..."} 
[2026-07-27 14:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2c3cda8012d9f2f8005a22168000e00862e..."} 
[2026-07-27 14:21:10] local.INFO: Processing buffer {"connection_id":142890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2c3cda8012d9f2f8005a22168000e00862e..."} 
[2026-07-27 14:21:10] local.INFO: Packet analysis {"connection_id":142890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2c3"} 
[2026-07-27 14:21:10] local.INFO: Extracted packet for processing {"connection_id":142890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2c3"} 
[2026-07-27 14:21:10] local.INFO: GPS Element Parsed {"raw_longitude":765407104,"raw_latitude":94511464,"longitude_deg":76.5407104,"latitude_deg":9.4511464,"altitude":14,"angle":134,"satellites":46,"speed":10,"hex_longitude":"2d9f2f80","hex_latitude":"05a22168","is_valid_coordinates":true} 
[2026-07-27 14:21:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:21:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996395008001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:21:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358997929517645824,"note":"Value kept but may cause issues"} 
[2026-07-27 14:21:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6976357273578614784,"note":"Value kept but may cause issues"} 
[2026-07-27 14:21:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:21:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785142169000,"timestamp_ms":1785142169000,"timestamp_seconds":1785142169,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2c3cda8"} 
[2026-07-27 14:21:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:21:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:21:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-27 14:21:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:21:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:21:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:21:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:21:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:21:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:21:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:21:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:21:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 14:21:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 14:21:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996395008001,"66":27745,"236":206,"83":17152,"24":10,"16":358997929517645824,"45":-6976357273578614784},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 14:21:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 14:21:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 14:21:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996395008001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:21:10] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 14:21:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 14:21:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358997929517645824,"km_value":358997929517645.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:21:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6976357273578614784,"description":"Unknown IO ID 45"} 
[2026-07-27 14:21:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996395008001,"power":27745,"unknown_236":206,"unknown_83":17152,"ignition":10,"odometer":null,"unknown_45":-6976357273578614784}} 
[2026-07-27 14:21:10] local.INFO: DEBUG: GPS processor result {"connection_id":142890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:21:10] local.INFO: GPS data processed {"connection_id":142890,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:21:10] local.INFO: Acknowledgment sent {"connection_id":142890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:21:11] local.INFO: TCP Data received {"connection_id":142891,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2c14150012d1966c0071fee78003b005c2d..."} 
[2026-07-27 14:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142891,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2c14150012d1966c0071fee78003b005c2d..."} 
[2026-07-27 14:21:11] local.INFO: Processing buffer {"connection_id":142891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2c14150012d1966c0071fee78003b005c2d..."} 
[2026-07-27 14:21:11] local.INFO: Packet analysis {"connection_id":142891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2c1"} 
[2026-07-27 14:21:11] local.INFO: Extracted packet for processing {"connection_id":142891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2c1"} 
[2026-07-27 14:21:11] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":45,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:21:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996347136001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:21:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:21:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:21:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:21:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785142002000,"timestamp_ms":1785142002000,"timestamp_seconds":1785142002,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2c14150"} 
[2026-07-27 14:21:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:21:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-27 14:21:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:21:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:21:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:21:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:21:11] local.INFO: Teltonika packet parsed successfully {"connection_id":142891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:21:11] local.INFO: Passing IMEI to GPS processor {"connection_id":142891,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:21:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":142891,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:21:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:21:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:21:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:21:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996347136001,"66":12406,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:21:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:21:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:21:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996347136001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:21:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:21:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:21:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:21:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:21:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996347136001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:21:11] local.INFO: DEBUG: GPS processor result {"connection_id":142891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553489,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:21:11] local.INFO: GPS data processed {"connection_id":142891,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:21:11] local.INFO: Acknowledgment sent {"connection_id":142891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:21:13] local.INFO: TCP Data received {"connection_id":142891,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2c19358012d1966c0071fee78003b005c2b..."} 
[2026-07-27 14:21:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142891,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2c19358012d1966c0071fee78003b005c2b..."} 
[2026-07-27 14:21:13] local.INFO: Processing buffer {"connection_id":142891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2c19358012d1966c0071fee78003b005c2b..."} 
[2026-07-27 14:21:13] local.INFO: Packet analysis {"connection_id":142891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2c1"} 
[2026-07-27 14:21:13] local.INFO: Extracted packet for processing {"connection_id":142891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2c1"} 
[2026-07-27 14:21:13] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":43,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14:21:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:21:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996352512001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:21:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:21:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:21:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:21:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785142023000,"timestamp_ms":1785142023000,"timestamp_seconds":1785142023,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2c19358"} 
[2026-07-27 14:21:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:21:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:21:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 14:21:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:21:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:21:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:21:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:21:13] local.INFO: Teltonika packet parsed successfully {"connection_id":142891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:21:13] local.INFO: Passing IMEI to GPS processor {"connection_id":142891,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:21:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":142891,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:21:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:21:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:21:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:21:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996352512001,"66":12385,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:21:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:21:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:21:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996352512001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:21:13] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:21:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:21:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:21:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:21:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996352512001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:21:13] local.INFO: DEBUG: GPS processor result {"connection_id":142891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553490,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:21:13] local.INFO: GPS data processed {"connection_id":142891,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:21:13] local.INFO: Acknowledgment sent {"connection_id":142891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:21:37] local.INFO: TCP Data received {"connection_id":145311,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:21:37] local.INFO: Processing buffer {"connection_id":145311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:21:37] local.INFO: IMEI packet received {"connection_id":145311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 14:21:37] local.INFO: IMEI acknowledgment sent {"connection_id":145311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:21:42] local.INFO: TCP Data received {"connection_id":145311,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:21:42] local.INFO: Processing buffer {"connection_id":145311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:21:42] local.INFO: IMEI packet received {"connection_id":145311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 14:21:42] local.INFO: IMEI acknowledgment sent {"connection_id":145311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:21:43] local.INFO: TCP Data received {"connection_id":145311,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2c3d960012d9f320005a21e88000e00a52e..."} 
[2026-07-27 14:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145311,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2c3d960012d9f320005a21e88000e00a52e..."} 
[2026-07-27 14:21:43] local.INFO: Processing buffer {"connection_id":145311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2c3d960012d9f320005a21e88000e00a52e..."} 
[2026-07-27 14:21:43] local.INFO: Packet analysis {"connection_id":145311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2c3"} 
[2026-07-27 14:21:43] local.INFO: Extracted packet for processing {"connection_id":145311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2c3"} 
[2026-07-27 14:21:43] local.INFO: GPS Element Parsed {"raw_longitude":765407744,"raw_latitude":94510728,"longitude_deg":76.5407744,"latitude_deg":9.4510728,"altitude":14,"angle":165,"satellites":46,"speed":12,"hex_longitude":"2d9f3200","hex_latitude":"05a21e88","is_valid_coordinates":true} 
[2026-07-27 14:21:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:21:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996395264001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:21:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358997976762286080,"note":"Value kept but may cause issues"} 
[2026-07-27 14:21:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6976216536090318848,"note":"Value kept but may cause issues"} 
[2026-07-27 14:21:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:21:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785142172000,"timestamp_ms":1785142172000,"timestamp_seconds":1785142172,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2c3d960"} 
[2026-07-27 14:21:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:21:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-27 14:21:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:21:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:21:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:21:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:21:43] local.INFO: Teltonika packet parsed successfully {"connection_id":145311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:21:43] local.INFO: Passing IMEI to GPS processor {"connection_id":145311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:21:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":145311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:21:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:21:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 14:21:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 14:21:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996395264001,"66":27800,"236":206,"83":17152,"24":12,"16":358997976762286080,"45":-6976216536090318848},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 14:21:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 14:21:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 14:21:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996395264001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:21:43] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 14:21:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 14:21:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358997976762286080,"km_value":358997976762286.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:21:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6976216536090318848,"description":"Unknown IO ID 45"} 
[2026-07-27 14:21:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996395264001,"power":27800,"unknown_236":206,"unknown_83":17152,"ignition":12,"odometer":null,"unknown_45":-6976216536090318848}} 
[2026-07-27 14:21:43] local.INFO: DEBUG: GPS processor result {"connection_id":145311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:21:43] local.INFO: GPS data processed {"connection_id":145311,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:21:43] local.INFO: Acknowledgment sent {"connection_id":145311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:21:45] local.INFO: TCP Data received {"connection_id":142891,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2c1e560012d1966c0071fee78003b005c2a..."} 
[2026-07-27 14:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142891,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2c1e560012d1966c0071fee78003b005c2a..."} 
[2026-07-27 14:21:45] local.INFO: Processing buffer {"connection_id":142891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2c1e560012d1966c0071fee78003b005c2a..."} 
[2026-07-27 14:21:45] local.INFO: Packet analysis {"connection_id":142891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2c1"} 
[2026-07-27 14:21:45] local.INFO: Extracted packet for processing {"connection_id":142891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2c1"} 
[2026-07-27 14:21:45] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":42,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14:21:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:21:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996357888001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:21:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:21:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:21:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:21:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785142044000,"timestamp_ms":1785142044000,"timestamp_seconds":1785142044,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2c1e560"} 
[2026-07-27 14:21:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:21:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:21:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-27 14:21:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:21:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:21:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:21:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:21:45] local.INFO: Teltonika packet parsed successfully {"connection_id":142891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:21:45] local.INFO: Passing IMEI to GPS processor {"connection_id":142891,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:21:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":142891,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:21:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:21:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:21:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:21:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996357888001,"66":12113,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:21:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:21:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:21:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996357888001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:21:45] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:21:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:21:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:21:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:21:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996357888001,"power":12113,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:21:45] local.INFO: DEBUG: GPS processor result {"connection_id":142891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553492,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:21:45] local.INFO: GPS data processed {"connection_id":142891,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:21:45] local.INFO: Acknowledgment sent {"connection_id":142891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:21:47] local.INFO: TCP Data received {"connection_id":145311,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2c3e130012d9f328005a21b30000e00b130..."} 
[2026-07-27 14:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145311,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2c3e130012d9f328005a21b30000e00b130..."} 
[2026-07-27 14:21:47] local.INFO: Processing buffer {"connection_id":145311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2c3e130012d9f328005a21b30000e00b130..."} 
[2026-07-27 14:21:47] local.INFO: Packet analysis {"connection_id":145311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2c3"} 
[2026-07-27 14:21:47] local.INFO: Extracted packet for processing {"connection_id":145311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2c3"} 
[2026-07-27 14:21:47] local.INFO: GPS Element Parsed {"raw_longitude":765407872,"raw_latitude":94509872,"longitude_deg":76.5407872,"latitude_deg":9.4509872,"altitude":14,"angle":177,"satellites":48,"speed":18,"hex_longitude":"2d9f3280","hex_latitude":"05a21b30","is_valid_coordinates":true} 
[2026-07-27 14:21:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:21:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996396032001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:21:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358998019711959040,"note":"Value kept but may cause issues"} 
[2026-07-27 14:21:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6975512848648730624,"note":"Value kept but may cause issues"} 
[2026-07-27 14:21:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:21:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785142174000,"timestamp_ms":1785142174000,"timestamp_seconds":1785142174,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2c3e130"} 
[2026-07-27 14:21:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:21:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:21:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-27 14:21:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:21:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:21:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:21:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:21:47] local.INFO: Teltonika packet parsed successfully {"connection_id":145311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:21:47] local.INFO: Passing IMEI to GPS processor {"connection_id":145311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:21:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":145311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:21:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:21:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 14:21:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 14:21:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996396032001,"66":27821,"236":206,"83":17152,"24":18,"16":358998019711959040,"45":-6975512848648730624},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 14:21:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 14:21:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 14:21:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996396032001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:21:47] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 14:21:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 14:21:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358998019711959040,"km_value":358998019711959.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:21:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6975512848648730624,"description":"Unknown IO ID 45"} 
[2026-07-27 14:21:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996396032001,"power":27821,"unknown_236":206,"unknown_83":17152,"ignition":18,"odometer":null,"unknown_45":-6975512848648730624}} 
[2026-07-27 14:21:47] local.INFO: DEBUG: GPS processor result {"connection_id":145311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:21:47] local.INFO: GPS data processed {"connection_id":145311,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:21:47] local.INFO: Acknowledgment sent {"connection_id":145311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:22:00] local.INFO: TCP Data received {"connection_id":142892,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142892,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:22:00] local.INFO: Processing buffer {"connection_id":142892,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:22:00] local.INFO: IMEI packet received {"connection_id":142892,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 14:22:00] local.INFO: IMEI acknowledgment sent {"connection_id":142892,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:22:05] local.INFO: TCP Data received {"connection_id":142892,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142892,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:22:05] local.INFO: Processing buffer {"connection_id":142892,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:22:05] local.INFO: IMEI packet received {"connection_id":142892,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 14:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":142892,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:22:06] local.INFO: TCP Data received {"connection_id":142892,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2c23768012d1966c0071fee78003b005c2c..."} 
[2026-07-27 14:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142892,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2c23768012d1966c0071fee78003b005c2c..."} 
[2026-07-27 14:22:06] local.INFO: Processing buffer {"connection_id":142892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2c23768012d1966c0071fee78003b005c2c..."} 
[2026-07-27 14:22:06] local.INFO: Packet analysis {"connection_id":142892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2c2"} 
[2026-07-27 14:22:06] local.INFO: Extracted packet for processing {"connection_id":142892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2c2"} 
[2026-07-27 14:22:06] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":44,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:22:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996363264001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:22:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:22:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:22:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:22:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785142065000,"timestamp_ms":1785142065000,"timestamp_seconds":1785142065,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2c23768"} 
[2026-07-27 14:22:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:22:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-07-27 14:22:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1162,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:22:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:22:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:22:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:22:06] local.INFO: Teltonika packet parsed successfully {"connection_id":142892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:22:06] local.INFO: Passing IMEI to GPS processor {"connection_id":142892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:22:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":142892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:22:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:22:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:22:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:22:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996363264001,"66":12428,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:22:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:22:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:22:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996363264001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:22:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:22:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:22:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:22:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:22:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996363264001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:22:06] local.INFO: DEBUG: GPS processor result {"connection_id":142892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553494,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:22:06] local.INFO: GPS data processed {"connection_id":142892,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:22:06] local.INFO: Acknowledgment sent {"connection_id":142892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:22:32] local.INFO: TCP Data received {"connection_id":145312,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:22:32] local.INFO: Processing buffer {"connection_id":145312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:22:32] local.INFO: IMEI packet received {"connection_id":145312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 14:22:32] local.INFO: IMEI acknowledgment sent {"connection_id":145312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:22:37] local.INFO: TCP Data received {"connection_id":145312,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:22:37] local.INFO: Processing buffer {"connection_id":145312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:22:37] local.INFO: IMEI packet received {"connection_id":145312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 14:22:37] local.INFO: IMEI acknowledgment sent {"connection_id":145312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:22:38] local.INFO: TCP Data received {"connection_id":142892,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2c28970012d1966c0071fee78003b005c2c..."} 
[2026-07-27 14:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142892,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2c28970012d1966c0071fee78003b005c2c..."} 
[2026-07-27 14:22:38] local.INFO: Processing buffer {"connection_id":142892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2c28970012d1966c0071fee78003b005c2c..."} 
[2026-07-27 14:22:38] local.INFO: Packet analysis {"connection_id":142892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2c2"} 
[2026-07-27 14:22:38] local.INFO: Extracted packet for processing {"connection_id":142892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2c2"} 
[2026-07-27 14:22:38] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":44,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14:22:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:22:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996368640001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:22:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:22:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:22:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:22:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785142086000,"timestamp_ms":1785142086000,"timestamp_seconds":1785142086,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2c28970"} 
[2026-07-27 14:22:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:22:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:22:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-27 14:22:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:22:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:22:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:22:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:22:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:22:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:22:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:22:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:22:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:22:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:22:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996368640001,"66":12428,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:22:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:22:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:22:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996368640001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:22:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:22:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:22:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:22:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:22:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996368640001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:22:38] local.INFO: DEBUG: GPS processor result {"connection_id":142892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553495,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:22:38] local.INFO: GPS data processed {"connection_id":142892,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:22:38] local.INFO: Acknowledgment sent {"connection_id":142892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:22:38] local.INFO: TCP Data received {"connection_id":145312,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2c42780012d9f33c005a1f5c0001000ac2f..."} 
[2026-07-27 14:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2c42780012d9f33c005a1f5c0001000ac2f..."} 
[2026-07-27 14:22:38] local.INFO: Processing buffer {"connection_id":145312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2c42780012d9f33c005a1f5c0001000ac2f..."} 
[2026-07-27 14:22:38] local.INFO: Packet analysis {"connection_id":145312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2c4"} 
[2026-07-27 14:22:38] local.INFO: Extracted packet for processing {"connection_id":145312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2c4"} 
[2026-07-27 14:22:38] local.INFO: GPS Element Parsed {"raw_longitude":765408192,"raw_latitude":94500288,"longitude_deg":76.5408192,"latitude_deg":9.4500288,"altitude":16,"angle":172,"satellites":47,"speed":30,"hex_longitude":"2d9f33c0","hex_latitude":"05a1f5c0","is_valid_coordinates":true} 
[2026-07-27 14:22:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:22:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996396544001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:22:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358998483568427008,"note":"Value kept but may cause issues"} 
[2026-07-27 14:22:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6975372111160594432,"note":"Value kept but may cause issues"} 
[2026-07-27 14:22:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:22:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785142192000,"timestamp_ms":1785142192000,"timestamp_seconds":1785142192,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2c42780"} 
[2026-07-27 14:22:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:22:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:22:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-27 14:22:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:22:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:22:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:22:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:22:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:22:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:22:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:22:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:22:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 14:22:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 14:22:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996396544001,"66":27930,"236":206,"83":17152,"24":30,"16":358998483568427008,"45":-6975372111160594432},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 14:22:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 14:22:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 14:22:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996396544001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:22:38] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 14:22:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 14:22:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358998483568427008,"km_value":358998483568427.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:22:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6975372111160594432,"description":"Unknown IO ID 45"} 
[2026-07-27 14:22:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996396544001,"power":27930,"unknown_236":206,"unknown_83":17152,"ignition":30,"odometer":null,"unknown_45":-6975372111160594432}} 
[2026-07-27 14:22:38] local.INFO: DEBUG: GPS processor result {"connection_id":145312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:22:38] local.INFO: GPS data processed {"connection_id":145312,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:22:38] local.INFO: Acknowledgment sent {"connection_id":145312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:23:00] local.INFO: TCP Data received {"connection_id":144017,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144017,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:23:00] local.INFO: Processing buffer {"connection_id":144017,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:23:00] local.INFO: IMEI packet received {"connection_id":144017,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 14:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":144017,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:23:05] local.INFO: TCP Data received {"connection_id":144017,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144017,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:23:05] local.INFO: Processing buffer {"connection_id":144017,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:23:05] local.INFO: IMEI packet received {"connection_id":144017,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 14:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":144017,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:23:06] local.INFO: TCP Data received {"connection_id":144017,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2c2db78012d1966c0071fee78003b005c29..."} 
[2026-07-27 14:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2c2db78012d1966c0071fee78003b005c29..."} 
[2026-07-27 14:23:06] local.INFO: Processing buffer {"connection_id":144017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2c2db78012d1966c0071fee78003b005c29..."} 
[2026-07-27 14:23:06] local.INFO: Packet analysis {"connection_id":144017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2c2"} 
[2026-07-27 14:23:06] local.INFO: Extracted packet for processing {"connection_id":144017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2c2"} 
[2026-07-27 14:23:06] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":41,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:23:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996374016001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:23:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:23:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:23:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:23:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785142107000,"timestamp_ms":1785142107000,"timestamp_seconds":1785142107,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2c2db78"} 
[2026-07-27 14:23:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:23:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-27 14:23:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:23:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:23:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:23:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:23:06] local.INFO: Teltonika packet parsed successfully {"connection_id":144017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:23:06] local.INFO: Passing IMEI to GPS processor {"connection_id":144017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:23:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":144017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:23:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:23:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:23:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:23:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996374016001,"66":12385,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:23:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:23:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:23:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996374016001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:23:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:23:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:23:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:23:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:23:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996374016001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:23:06] local.INFO: DEBUG: GPS processor result {"connection_id":144017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553497,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:23:06] local.INFO: GPS data processed {"connection_id":144017,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:23:06] local.INFO: Acknowledgment sent {"connection_id":144017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:23:09] local.INFO: TCP Data received {"connection_id":145312,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2c45278012d9f364005a1d090000f00b02e..."} 
[2026-07-27 14:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2c45278012d9f364005a1d090000f00b02e..."} 
[2026-07-27 14:23:09] local.INFO: Processing buffer {"connection_id":145312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2c45278012d9f364005a1d090000f00b02e..."} 
[2026-07-27 14:23:09] local.INFO: Packet analysis {"connection_id":145312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2c4"} 
[2026-07-27 14:23:09] local.INFO: Extracted packet for processing {"connection_id":145312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2c4"} 
[2026-07-27 14:23:09] local.INFO: GPS Element Parsed {"raw_longitude":765408832,"raw_latitude":94490768,"longitude_deg":76.5408832,"latitude_deg":9.4490768,"altitude":15,"angle":176,"satellites":46,"speed":37,"hex_longitude":"2d9f3640","hex_latitude":"05a1d090","is_valid_coordinates":true} 
[2026-07-27 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-07-27 14:23:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996401152001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:23:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358998947424894976,"note":"Value kept but may cause issues"} 
[2026-07-27 14:23:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6975020267442159616,"note":"Value kept but may cause issues"} 
[2026-07-27 14:23:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:23:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785142203000,"timestamp_ms":1785142203000,"timestamp_seconds":1785142203,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2c45278"} 
[2026-07-27 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-07-27 14:23:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-27 14:23:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 14:23:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:23:09] local.INFO: Teltonika packet parsed successfully {"connection_id":145312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:23:09] local.INFO: Passing IMEI to GPS processor {"connection_id":145312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:23:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":145312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:23:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:23:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 14:23:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 14:23:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996401152001,"66":27908,"236":206,"83":17152,"24":37,"16":358998947424894976,"45":-6975020267442159616},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 14:23:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 14:23:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 14:23:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996401152001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:23:09] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 14:23:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 14:23:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358998947424894976,"km_value":358998947424895.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:23:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6975020267442159616,"description":"Unknown IO ID 45"} 
[2026-07-27 14:23:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996401152001,"power":27908,"unknown_236":206,"unknown_83":17152,"ignition":37,"odometer":null,"unknown_45":-6975020267442159616}} 
[2026-07-27 14:23:09] local.INFO: DEBUG: GPS processor result {"connection_id":145312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:23:09] local.INFO: GPS data processed {"connection_id":145312,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:23:09] local.INFO: Acknowledgment sent {"connection_id":145312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:23:32] local.INFO: TCP Data received {"connection_id":143036,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:23:32] local.INFO: Processing buffer {"connection_id":143036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:23:32] local.INFO: IMEI packet received {"connection_id":143036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 14:23:32] local.INFO: IMEI acknowledgment sent {"connection_id":143036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:23:37] local.INFO: TCP Data received {"connection_id":143036,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:23:37] local.INFO: Processing buffer {"connection_id":143036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:23:37] local.INFO: IMEI packet received {"connection_id":143036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 14:23:37] local.INFO: IMEI acknowledgment sent {"connection_id":143036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:23:38] local.INFO: TCP Data received {"connection_id":143036,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2c45e30012d9f384005a1c658000f00a32d..."} 
[2026-07-27 14:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2c45e30012d9f384005a1c658000f00a32d..."} 
[2026-07-27 14:23:38] local.INFO: Processing buffer {"connection_id":143036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2c45e30012d9f384005a1c658000f00a32d..."} 
[2026-07-27 14:23:38] local.INFO: Packet analysis {"connection_id":143036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2c4"} 
[2026-07-27 14:23:38] local.INFO: Extracted packet for processing {"connection_id":143036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2c4"} 
[2026-07-27 14:23:38] local.INFO: GPS Element Parsed {"raw_longitude":765409344,"raw_latitude":94488152,"longitude_deg":76.5409344,"latitude_deg":9.4488152,"altitude":15,"angle":163,"satellites":45,"speed":33,"hex_longitude":"2d9f3840","hex_latitude":"05a1c658","is_valid_coordinates":true} 
[2026-07-27 14:23:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:23:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996403968001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:23:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999076273913856,"note":"Value kept but may cause issues"} 
[2026-07-27 14:23:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6974316580002820096,"note":"Value kept but may cause issues"} 
[2026-07-27 14:23:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:23:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785142206000,"timestamp_ms":1785142206000,"timestamp_seconds":1785142206,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2c45e30"} 
[2026-07-27 14:23:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:23:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:23:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-27 14:23:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:23:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:23:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:23:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:23:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:23:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:23:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:23:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:23:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 14:23:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 14:23:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996403968001,"66":27800,"236":206,"83":17152,"24":33,"16":358999076273913856,"45":-6974316580002820096},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 14:23:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 14:23:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 14:23:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996403968001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:23:38] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 14:23:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 14:23:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999076273913856,"km_value":358999076273913.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:23:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6974316580002820096,"description":"Unknown IO ID 45"} 
[2026-07-27 14:23:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996403968001,"power":27800,"unknown_236":206,"unknown_83":17152,"ignition":33,"odometer":null,"unknown_45":-6974316580002820096}} 
[2026-07-27 14:23:38] local.INFO: DEBUG: GPS processor result {"connection_id":143036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:23:38] local.INFO: GPS data processed {"connection_id":143036,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:23:38] local.INFO: Acknowledgment sent {"connection_id":143036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:23:38] local.INFO: TCP Data received {"connection_id":144017,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2c32d80012d1966c0071fee78003b005c2d..."} 
[2026-07-27 14:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2c32d80012d1966c0071fee78003b005c2d..."} 
[2026-07-27 14:23:38] local.INFO: Processing buffer {"connection_id":144017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2c32d80012d1966c0071fee78003b005c2d..."} 
[2026-07-27 14:23:38] local.INFO: Packet analysis {"connection_id":144017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2c3"} 
[2026-07-27 14:23:38] local.INFO: Extracted packet for processing {"connection_id":144017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2c3"} 
[2026-07-27 14:23:38] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":45,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14:23:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:23:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996379392001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:23:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:23:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:23:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:23:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785142128000,"timestamp_ms":1785142128000,"timestamp_seconds":1785142128,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2c32d80"} 
[2026-07-27 14:23:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:23:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:23:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-27 14:23:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:23:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:23:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:23:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:23:38] local.INFO: Teltonika packet parsed successfully {"connection_id":144017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:23:38] local.INFO: Passing IMEI to GPS processor {"connection_id":144017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:23:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":144017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:23:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:23:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:23:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:23:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996379392001,"66":12428,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:23:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:23:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:23:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996379392001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:23:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:23:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:23:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:23:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:23:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996379392001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:23:38] local.INFO: DEBUG: GPS processor result {"connection_id":144017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553500,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:23:38] local.INFO: GPS data processed {"connection_id":144017,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:23:38] local.INFO: Acknowledgment sent {"connection_id":144017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:24:03] local.INFO: TCP Data received {"connection_id":145313,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145313,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:24:03] local.INFO: Processing buffer {"connection_id":145313,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:24:03] local.INFO: IMEI packet received {"connection_id":145313,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 14:24:03] local.INFO: IMEI acknowledgment sent {"connection_id":145313,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:24:03] local.INFO: TCP Data received {"connection_id":145313,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145313,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:24:03] local.INFO: Processing buffer {"connection_id":145313,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:24:03] local.INFO: IMEI packet received {"connection_id":145313,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 14:24:03] local.INFO: IMEI acknowledgment sent {"connection_id":145313,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:24:05] local.INFO: TCP Data received {"connection_id":145313,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145313,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:24:05] local.INFO: Processing buffer {"connection_id":145313,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:24:05] local.INFO: IMEI packet received {"connection_id":145313,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 14:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":145313,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:24:06] local.INFO: TCP Data received {"connection_id":145313,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2c6b3d8012d1966c0071fee78003b005c2c..."} 
[2026-07-27 14:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145313,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2c6b3d8012d1966c0071fee78003b005c2c..."} 
[2026-07-27 14:24:06] local.INFO: Processing buffer {"connection_id":145313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2c6b3d8012d1966c0071fee78003b005c2c..."} 
[2026-07-27 14:24:06] local.INFO: Packet analysis {"connection_id":145313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2c6"} 
[2026-07-27 14:24:06] local.INFO: Extracted packet for processing {"connection_id":145313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2c6"} 
[2026-07-27 14:24:06] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":44,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996438528001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:24:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:24:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785142359000,"timestamp_ms":1785142359000,"timestamp_seconds":1785142359,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2c6b3d8"} 
[2026-07-27 14:24:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:24:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-27 14:24:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:24:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:24:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":145313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":145313,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":145313,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:24:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996438528001,"66":12341,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996438528001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:24:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:24:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:24:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:24:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996438528001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":145313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553501,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:24:06] local.INFO: GPS data processed {"connection_id":145313,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:24:06] local.INFO: Acknowledgment sent {"connection_id":145313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:24:10] local.INFO: TCP Data received {"connection_id":143036,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2c46dd0012d9f3b8005a1b980000f00ae2e..."} 
[2026-07-27 14:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2c46dd0012d9f3b8005a1b980000f00ae2e..."} 
[2026-07-27 14:24:10] local.INFO: Processing buffer {"connection_id":143036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2c46dd0012d9f3b8005a1b980000f00ae2e..."} 
[2026-07-27 14:24:10] local.INFO: Packet analysis {"connection_id":143036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2c4"} 
[2026-07-27 14:24:10] local.INFO: Extracted packet for processing {"connection_id":143036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2c4"} 
[2026-07-27 14:24:10] local.INFO: GPS Element Parsed {"raw_longitude":765410176,"raw_latitude":94484864,"longitude_deg":76.5410176,"latitude_deg":9.4484864,"altitude":15,"angle":174,"satellites":46,"speed":32,"hex_longitude":"2d9f3b80","hex_latitude":"05a1b980","is_valid_coordinates":true} 
[2026-07-27 14:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:24:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996404736001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:24:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999243777638400,"note":"Value kept but may cause issues"} 
[2026-07-27 14:24:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6973753630050068480,"note":"Value kept but may cause issues"} 
[2026-07-27 14:24:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:24:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785142210000,"timestamp_ms":1785142210000,"timestamp_seconds":1785142210,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2c46dd0"} 
[2026-07-27 14:24:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:24:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-27 14:24:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:24:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:24:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:24:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:24:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:24:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:24:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14: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-07-27 14:24:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 14:24:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 14:24:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996404736001,"66":27974,"236":206,"83":17152,"24":32,"16":358999243777638400,"45":-6973753630050068480},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 14:24:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 14:24:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 14:24:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996404736001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:24:10] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 14:24:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 14:24:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999243777638400,"km_value":358999243777638.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:24:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6973753630050068480,"description":"Unknown IO ID 45"} 
[2026-07-27 14:24:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996404736001,"power":27974,"unknown_236":206,"unknown_83":17152,"ignition":32,"odometer":null,"unknown_45":-6973753630050068480}} 
[2026-07-27 14:24:10] local.INFO: DEBUG: GPS processor result {"connection_id":143036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:24:10] local.INFO: GPS data processed {"connection_id":143036,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:24:10] local.INFO: Acknowledgment sent {"connection_id":143036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:24:10] local.INFO: TCP Data received {"connection_id":145313,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2c705e0012d1966c0071fee78003b005c2d..."} 
[2026-07-27 14:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145313,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2c705e0012d1966c0071fee78003b005c2d..."} 
[2026-07-27 14:24:10] local.INFO: Processing buffer {"connection_id":145313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2c705e0012d1966c0071fee78003b005c2d..."} 
[2026-07-27 14:24:10] local.INFO: Packet analysis {"connection_id":145313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2c7"} 
[2026-07-27 14:24:10] local.INFO: Extracted packet for processing {"connection_id":145313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2c7"} 
[2026-07-27 14:24:10] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":45,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:24:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996443904001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:24:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:24:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:24:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:24:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785142380000,"timestamp_ms":1785142380000,"timestamp_seconds":1785142380,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2c705e0"} 
[2026-07-27 14:24:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:24:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 14:24:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:24:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:24:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:24:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:24:10] local.INFO: Teltonika packet parsed successfully {"connection_id":145313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:24:10] local.INFO: Passing IMEI to GPS processor {"connection_id":145313,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:24:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":145313,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:24:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:24:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:24:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:24:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996443904001,"66":12406,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:24:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:24:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:24:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996443904001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:24:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:24:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:24:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:24:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:24:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996443904001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:24:11] local.INFO: DEBUG: GPS processor result {"connection_id":145313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553503,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:24:11] local.INFO: GPS data processed {"connection_id":145313,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:24:11] local.INFO: Acknowledgment sent {"connection_id":145313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:24:32] local.INFO: TCP Data received {"connection_id":143037,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:24:32] local.INFO: Processing buffer {"connection_id":143037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:24:32] local.INFO: IMEI packet received {"connection_id":143037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 14:24:32] local.INFO: IMEI acknowledgment sent {"connection_id":143037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:24:37] local.INFO: TCP Data received {"connection_id":143037,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:24:37] local.INFO: Processing buffer {"connection_id":143037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:24:37] local.INFO: IMEI packet received {"connection_id":143037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 14:24:37] local.INFO: IMEI acknowledgment sent {"connection_id":143037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:24:38] local.INFO: TCP Data received {"connection_id":143037,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2c494e0012d9f3b0005a1a118001000b931..."} 
[2026-07-27 14:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2c494e0012d9f3b0005a1a118001000b931..."} 
[2026-07-27 14:24:38] local.INFO: Processing buffer {"connection_id":143037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2c494e0012d9f3b0005a1a118001000b931..."} 
[2026-07-27 14:24:38] local.INFO: Packet analysis {"connection_id":143037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2c4"} 
[2026-07-27 14:24:38] local.INFO: Extracted packet for processing {"connection_id":143037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2c4"} 
[2026-07-27 14:24:38] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94478616,"longitude_deg":76.5410048,"latitude_deg":9.4478616,"altitude":16,"angle":185,"satellites":49,"speed":18,"hex_longitude":"2d9f3b00","hex_latitude":"05a1a118","is_valid_coordinates":true} 
[2026-07-27 14:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:24:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996405760001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:24:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999544425349120,"note":"Value kept but may cause issues"} 
[2026-07-27 14:24:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972838836376600576,"note":"Value kept but may cause issues"} 
[2026-07-27 14:24:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:24:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785142220000,"timestamp_ms":1785142220000,"timestamp_seconds":1785142220,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2c494e0"} 
[2026-07-27 14:24:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:24:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-27 14:24:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:24:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:24:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:24:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:24:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:24:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:24:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:24:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:24:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 14:24:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 14:24:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996405760001,"66":27919,"236":206,"83":17152,"24":18,"16":358999544425349120,"45":-6972838836376600576},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 14:24:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 14:24:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 14:24:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996405760001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:24:38] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 14:24:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 14:24:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999544425349120,"km_value":358999544425349.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:24:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972838836376600576,"description":"Unknown IO ID 45"} 
[2026-07-27 14:24:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996405760001,"power":27919,"unknown_236":206,"unknown_83":17152,"ignition":18,"odometer":null,"unknown_45":-6972838836376600576}} 
[2026-07-27 14:24:38] local.INFO: DEBUG: GPS processor result {"connection_id":143037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:24:38] local.INFO: GPS data processed {"connection_id":143037,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:24:38] local.INFO: Acknowledgment sent {"connection_id":143037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:24:42] local.INFO: TCP Data received {"connection_id":145313,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2c757e8012d1966c0071fee78003b005c25..."} 
[2026-07-27 14:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145313,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2c757e8012d1966c0071fee78003b005c25..."} 
[2026-07-27 14:24:42] local.INFO: Processing buffer {"connection_id":145313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2c757e8012d1966c0071fee78003b005c25..."} 
[2026-07-27 14:24:42] local.INFO: Packet analysis {"connection_id":145313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2c7"} 
[2026-07-27 14:24:42] local.INFO: Extracted packet for processing {"connection_id":145313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2c7"} 
[2026-07-27 14:24:42] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":37,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14:24:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:24:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996449280001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:24:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:24:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:24:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:24:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785142401000,"timestamp_ms":1785142401000,"timestamp_seconds":1785142401,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2c757e8"} 
[2026-07-27 14:24:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:24:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:24:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 14:24:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:24:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:24:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:24:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:24:42] local.INFO: Teltonika packet parsed successfully {"connection_id":145313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:24:42] local.INFO: Passing IMEI to GPS processor {"connection_id":145313,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:24:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":145313,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:24:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:24:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:24:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:24:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996449280001,"66":12341,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:24:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:24:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:24:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996449280001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:24:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:24:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:24:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:24:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:24:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996449280001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:24:42] local.INFO: DEBUG: GPS processor result {"connection_id":145313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553505,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:24:42] local.INFO: GPS data processed {"connection_id":145313,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:24:42] local.INFO: Acknowledgment sent {"connection_id":145313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:25:00] local.INFO: TCP Data received {"connection_id":142893,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142893,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:25:00] local.INFO: Processing buffer {"connection_id":142893,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:25:00] local.INFO: IMEI packet received {"connection_id":142893,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 14:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":142893,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:25:02] local.INFO: TCP Data received {"connection_id":142893,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142893,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:25:02] local.INFO: Processing buffer {"connection_id":142893,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:25:02] local.INFO: IMEI packet received {"connection_id":142893,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 14:25:02] local.INFO: IMEI acknowledgment sent {"connection_id":142893,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:25:05] local.INFO: TCP Data received {"connection_id":142893,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142893,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:25:05] local.INFO: Processing buffer {"connection_id":142893,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:25:05] local.INFO: IMEI packet received {"connection_id":142893,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 14:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":142893,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:25:06] local.INFO: TCP Data received {"connection_id":142893,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2c7a9f0012d1966c0071fee78003b005c2a..."} 
[2026-07-27 14:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142893,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2c7a9f0012d1966c0071fee78003b005c2a..."} 
[2026-07-27 14:25:06] local.INFO: Processing buffer {"connection_id":142893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2c7a9f0012d1966c0071fee78003b005c2a..."} 
[2026-07-27 14:25:06] local.INFO: Packet analysis {"connection_id":142893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2c7"} 
[2026-07-27 14:25:06] local.INFO: Extracted packet for processing {"connection_id":142893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2c7"} 
[2026-07-27 14:25:06] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":42,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:25:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996454656001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:25:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:25:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:25:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:25:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785142422000,"timestamp_ms":1785142422000,"timestamp_seconds":1785142422,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2c7a9f0"} 
[2026-07-27 14:25:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:25:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 14:25:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:25:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:25:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:25:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:25:06] local.INFO: Teltonika packet parsed successfully {"connection_id":142893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:25:06] local.INFO: Passing IMEI to GPS processor {"connection_id":142893,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:25:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":142893,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:25:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:25:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:25:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:25:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996454656001,"66":12385,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:25:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:25:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:25:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996454656001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:25:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:25:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:25:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:25:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:25:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996454656001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:25:06] local.INFO: DEBUG: GPS processor result {"connection_id":142893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553506,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:25:06] local.INFO: GPS data processed {"connection_id":142893,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:25:06] local.INFO: Acknowledgment sent {"connection_id":142893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:25:10] local.INFO: TCP Data received {"connection_id":143037,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2c4a480012d9f3ac005a19b38001000a92d..."} 
[2026-07-27 14:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2c4a480012d9f3ac005a19b38001000a92d..."} 
[2026-07-27 14:25:10] local.INFO: Processing buffer {"connection_id":143037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2c4a480012d9f3ac005a19b38001000a92d..."} 
[2026-07-27 14:25:10] local.INFO: Packet analysis {"connection_id":143037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2c4"} 
[2026-07-27 14:25:10] local.INFO: Extracted packet for processing {"connection_id":143037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2c4"} 
[2026-07-27 14:25:10] local.INFO: GPS Element Parsed {"raw_longitude":765409984,"raw_latitude":94477112,"longitude_deg":76.5409984,"latitude_deg":9.4477112,"altitude":16,"angle":169,"satellites":45,"speed":9,"hex_longitude":"2d9f3ac0","hex_latitude":"05a19b38","is_valid_coordinates":true} 
[2026-07-27 14:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:25:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996408320001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:25:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999617439793152,"note":"Value kept but may cause issues"} 
[2026-07-27 14:25:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972979573866555392,"note":"Value kept but may cause issues"} 
[2026-07-27 14:25:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:25:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785142224000,"timestamp_ms":1785142224000,"timestamp_seconds":1785142224,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2c4a480"} 
[2026-07-27 14:25:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:25:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-27 14:25:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:25:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:25:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:25:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:25:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:25:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:25:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:25:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:25:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 14:25:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 14:25:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996408320001,"66":27974,"236":206,"83":17152,"24":9,"16":358999617439793152,"45":-6972979573866555392},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 14:25:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 14:25:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 14:25:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996408320001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:25:10] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 14:25:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 14:25:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999617439793152,"km_value":358999617439793.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:25:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972979573866555392,"description":"Unknown IO ID 45"} 
[2026-07-27 14:25:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996408320001,"power":27974,"unknown_236":206,"unknown_83":17152,"ignition":9,"odometer":null,"unknown_45":-6972979573866555392}} 
[2026-07-27 14:25:10] local.INFO: DEBUG: GPS processor result {"connection_id":143037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:25:10] local.INFO: GPS data processed {"connection_id":143037,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:25:10] local.INFO: Acknowledgment sent {"connection_id":143037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:25:32] local.INFO: TCP Data received {"connection_id":144019,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:25:32] local.INFO: Processing buffer {"connection_id":144019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:25:32] local.INFO: IMEI packet received {"connection_id":144019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 14:25:32] local.INFO: IMEI acknowledgment sent {"connection_id":144019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:25:37] local.INFO: TCP Data received {"connection_id":144019,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:25:37] local.INFO: Processing buffer {"connection_id":144019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:25:37] local.INFO: IMEI packet received {"connection_id":144019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 14:25:37] local.INFO: IMEI acknowledgment sent {"connection_id":144019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:25:37] local.INFO: TCP Data received {"connection_id":142893,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2c7fbf8012d1966c0071fee78003b005c2c..."} 
[2026-07-27 14:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142893,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2c7fbf8012d1966c0071fee78003b005c2c..."} 
[2026-07-27 14:25:37] local.INFO: Processing buffer {"connection_id":142893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2c7fbf8012d1966c0071fee78003b005c2c..."} 
[2026-07-27 14:25:37] local.INFO: Packet analysis {"connection_id":142893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2c7"} 
[2026-07-27 14:25:37] local.INFO: Extracted packet for processing {"connection_id":142893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2c7"} 
[2026-07-27 14:25:37] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":44,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996460032001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:25:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:25:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785142443000,"timestamp_ms":1785142443000,"timestamp_seconds":1785142443,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2c7fbf8"} 
[2026-07-27 14:25:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:25:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-27 14:25:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:25:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:25:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":142893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":142893,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":142893,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:25:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996460032001,"66":12374,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996460032001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:25:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:25:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:25:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:25:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996460032001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":142893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553508,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:25:37] local.INFO: GPS data processed {"connection_id":142893,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:25:37] local.INFO: Acknowledgment sent {"connection_id":142893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:25:39] local.INFO: TCP Data received {"connection_id":144019,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2c4bbf0012d9f3ac005a197f0000f00c62e..."} 
[2026-07-27 14:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2c4bbf0012d9f3ac005a197f0000f00c62e..."} 
[2026-07-27 14:25:39] local.INFO: Processing buffer {"connection_id":144019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2c4bbf0012d9f3ac005a197f0000f00c62e..."} 
[2026-07-27 14:25:39] local.INFO: Packet analysis {"connection_id":144019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2c4"} 
[2026-07-27 14:25:39] local.INFO: Extracted packet for processing {"connection_id":144019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2c4"} 
[2026-07-27 14:25:39] local.INFO: GPS Element Parsed {"raw_longitude":765409984,"raw_latitude":94476272,"longitude_deg":76.5409984,"latitude_deg":9.4476272,"altitude":15,"angle":198,"satellites":46,"speed":8,"hex_longitude":"2d9f3ac0","hex_latitude":"05a197f0","is_valid_coordinates":true} 
[2026-07-27 14:25:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:25:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996409344001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:25:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999660389466112,"note":"Value kept but may cause issues"} 
[2026-07-27 14:25:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6973049942611118080,"note":"Value kept but may cause issues"} 
[2026-07-27 14:25:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:25:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785142230000,"timestamp_ms":1785142230000,"timestamp_seconds":1785142230,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2c4bbf0"} 
[2026-07-27 14:25:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:25:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:25:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-27 14:25:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:25:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:25:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:25:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:25:39] local.INFO: Teltonika packet parsed successfully {"connection_id":144019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:25:39] local.INFO: Passing IMEI to GPS processor {"connection_id":144019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:25:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":144019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:25:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:25:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 14:25:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 14:25:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996409344001,"66":28050,"236":206,"83":17152,"24":8,"16":358999660389466112,"45":-6973049942611118080},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 14:25:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 14:25:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 14:25:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996409344001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:25:39] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 14:25:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 14:25:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999660389466112,"km_value":358999660389466.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:25:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6973049942611118080,"description":"Unknown IO ID 45"} 
[2026-07-27 14:25:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996409344001,"power":28050,"unknown_236":206,"unknown_83":17152,"ignition":8,"odometer":null,"unknown_45":-6973049942611118080}} 
[2026-07-27 14:25:39] local.INFO: DEBUG: GPS processor result {"connection_id":144019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:25:39] local.INFO: GPS data processed {"connection_id":144019,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:25:39] local.INFO: Acknowledgment sent {"connection_id":144019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:26:05] local.INFO: TCP Data received {"connection_id":145314,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145314,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:26:05] local.INFO: Processing buffer {"connection_id":145314,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:26:05] local.INFO: IMEI packet received {"connection_id":145314,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 14:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":145314,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:26:06] local.INFO: TCP Data received {"connection_id":145314,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145314,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:26:06] local.INFO: Processing buffer {"connection_id":145314,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:26:06] local.INFO: IMEI packet received {"connection_id":145314,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 14:26:06] local.INFO: IMEI acknowledgment sent {"connection_id":145314,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:26:10] local.INFO: TCP Data received {"connection_id":145314,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145314,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:26:10] local.INFO: Processing buffer {"connection_id":145314,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:26:10] local.INFO: IMEI packet received {"connection_id":145314,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 14:26:10] local.INFO: IMEI acknowledgment sent {"connection_id":145314,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:26:11] local.INFO: TCP Data received {"connection_id":144019,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2c4c3c0012d9f3a8005a19658000f00b72d..."} 
[2026-07-27 14:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2c4c3c0012d9f3a8005a19658000f00b72d..."} 
[2026-07-27 14:26:11] local.INFO: Processing buffer {"connection_id":144019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2c4c3c0012d9f3a8005a19658000f00b72d..."} 
[2026-07-27 14:26:11] local.INFO: Packet analysis {"connection_id":144019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2c4"} 
[2026-07-27 14:26:11] local.INFO: Extracted packet for processing {"connection_id":144019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2c4"} 
[2026-07-27 14:26:11] local.INFO: GPS Element Parsed {"raw_longitude":765409920,"raw_latitude":94475864,"longitude_deg":76.540992,"latitude_deg":9.4475864,"altitude":15,"angle":183,"satellites":45,"speed":6,"hex_longitude":"2d9f3a80","hex_latitude":"05a19658","is_valid_coordinates":true} 
[2026-07-27 14:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:26:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996410880001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:26:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999681864302592,"note":"Value kept but may cause issues"} 
[2026-07-27 14:26:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6973049942611333120,"note":"Value kept but may cause issues"} 
[2026-07-27 14:26:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:26:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785142232000,"timestamp_ms":1785142232000,"timestamp_seconds":1785142232,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2c4c3c0"} 
[2026-07-27 14:26:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:26:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-27 14:26:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:26:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:26:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:26:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:26:11] local.INFO: Teltonika packet parsed successfully {"connection_id":144019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:26:11] local.INFO: Passing IMEI to GPS processor {"connection_id":144019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:26:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":144019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:26:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:26:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 14:26:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 14:26:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996410880001,"66":27800,"236":206,"83":17152,"24":6,"16":358999681864302592,"45":-6973049942611333120},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 14:26:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 14:26:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 14:26:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996410880001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:26:11] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 14:26:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 14:26:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999681864302592,"km_value":358999681864302.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:26:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6973049942611333120,"description":"Unknown IO ID 45"} 
[2026-07-27 14:26:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996410880001,"power":27800,"unknown_236":206,"unknown_83":17152,"ignition":6,"odometer":null,"unknown_45":-6973049942611333120}} 
[2026-07-27 14:26:11] local.INFO: DEBUG: GPS processor result {"connection_id":144019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:26:11] local.INFO: GPS data processed {"connection_id":144019,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:26:11] local.INFO: Acknowledgment sent {"connection_id":144019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:26:11] local.INFO: TCP Data received {"connection_id":145314,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2c84e00012d1966c0071fee78003b005c2b..."} 
[2026-07-27 14:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145314,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2c84e00012d1966c0071fee78003b005c2b..."} 
[2026-07-27 14:26:11] local.INFO: Processing buffer {"connection_id":145314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2c84e00012d1966c0071fee78003b005c2b..."} 
[2026-07-27 14:26:11] local.INFO: Packet analysis {"connection_id":145314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2c8"} 
[2026-07-27 14:26:11] local.INFO: Extracted packet for processing {"connection_id":145314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2c8"} 
[2026-07-27 14:26:11] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":43,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:26:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996465408001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:26:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:26:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:26:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:26:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785142464000,"timestamp_ms":1785142464000,"timestamp_seconds":1785142464,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2c84e00"} 
[2026-07-27 14:26:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:26:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-27 14:26:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:26:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:26:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:26:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:26:11] local.INFO: Teltonika packet parsed successfully {"connection_id":145314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:26:11] local.INFO: Passing IMEI to GPS processor {"connection_id":145314,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:26:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":145314,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:26:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:26:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:26:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:26:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996465408001,"66":12341,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:26:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:26:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:26:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996465408001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:26:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:26:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:26:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:26:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:26:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996465408001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:26:11] local.INFO: DEBUG: GPS processor result {"connection_id":145314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553511,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:26:11] local.INFO: GPS data processed {"connection_id":145314,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:26:11] local.INFO: Acknowledgment sent {"connection_id":145314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:26:20] local.INFO: TCP Data received {"connection_id":145314,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2c8a008012d1966c0071fee78003b005c2c..."} 
[2026-07-27 14:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145314,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2c8a008012d1966c0071fee78003b005c2c..."} 
[2026-07-27 14:26:20] local.INFO: Processing buffer {"connection_id":145314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2c8a008012d1966c0071fee78003b005c2c..."} 
[2026-07-27 14:26:20] local.INFO: Packet analysis {"connection_id":145314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2c8"} 
[2026-07-27 14:26:20] local.INFO: Extracted packet for processing {"connection_id":145314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2c8"} 
[2026-07-27 14:26:20] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":44,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14:26:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:26:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996470784001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:26:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:26:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:26: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-07-27 14:26:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785142485000,"timestamp_ms":1785142485000,"timestamp_seconds":1785142485,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2c8a008"} 
[2026-07-27 14:26:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:26:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:26:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 14:26:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:26:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:26:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:26:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:26:20] local.INFO: Teltonika packet parsed successfully {"connection_id":145314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:26:20] local.INFO: Passing IMEI to GPS processor {"connection_id":145314,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:26:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":145314,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:26:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:26:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:26:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:26:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996470784001,"66":12385,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:26:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:26:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:26:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996470784001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:26:20] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:26:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:26:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:26:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:26:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996470784001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:26:20] local.INFO: DEBUG: GPS processor result {"connection_id":145314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553512,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:26:20] local.INFO: GPS data processed {"connection_id":145314,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:26:20] local.INFO: Acknowledgment sent {"connection_id":145314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:26:32] local.INFO: TCP Data received {"connection_id":143038,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:26:32] local.INFO: Processing buffer {"connection_id":143038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:26:32] local.INFO: IMEI packet received {"connection_id":143038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 14:26:32] local.INFO: IMEI acknowledgment sent {"connection_id":143038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:26:33] local.INFO: TCP Data received {"connection_id":144018,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 14:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144018,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 14:26:33] local.INFO: Processing buffer {"connection_id":144018,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 14:26:33] local.INFO: IMEI packet received {"connection_id":144018,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 14:26:33] local.INFO: IMEI acknowledgment sent {"connection_id":144018,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:26:37] local.INFO: TCP Data received {"connection_id":143038,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:26:37] local.INFO: Processing buffer {"connection_id":143038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:26:37] local.INFO: IMEI packet received {"connection_id":143038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 14:26:37] local.INFO: IMEI acknowledgment sent {"connection_id":143038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:26:38] local.INFO: TCP Data received {"connection_id":143038,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2c515c8012d9f39c005a19238001300bf2d..."} 
[2026-07-27 14:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143038,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2c515c8012d9f39c005a19238001300bf2d..."} 
[2026-07-27 14:26:38] local.INFO: Processing buffer {"connection_id":143038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2c515c8012d9f39c005a19238001300bf2d..."} 
[2026-07-27 14:26:38] local.INFO: Packet analysis {"connection_id":143038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2c5"} 
[2026-07-27 14:26:38] local.INFO: Extracted packet for processing {"connection_id":143038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2c5"} 
[2026-07-27 14:26:38] local.INFO: GPS Element Parsed {"raw_longitude":765409728,"raw_latitude":94474808,"longitude_deg":76.5409728,"latitude_deg":9.4474808,"altitude":19,"angle":191,"satellites":45,"speed":0,"hex_longitude":"2d9f39c0","hex_latitude":"05a19238","is_valid_coordinates":true} 
[2026-07-27 14:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:26:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996411392001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:26:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999733403910144,"note":"Value kept but may cause issues"} 
[2026-07-27 14:26:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6973120311355615232,"note":"Value kept but may cause issues"} 
[2026-07-27 14:26:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:26:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785142253000,"timestamp_ms":1785142253000,"timestamp_seconds":1785142253,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2c515c8"} 
[2026-07-27 14:26:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:26:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-27 14:26:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:26:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:26:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:26:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:26:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:26:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:26:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:26:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:26:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 14:26:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 14:26:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996411392001,"66":28093,"236":206,"83":17152,"24":0,"16":358999733403910144,"45":-6973120311355615232},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 14:26:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 14:26:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 14:26:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996411392001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:26:38] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 14:26:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 14:26:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999733403910144,"km_value":358999733403910.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:26:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6973120311355615232,"description":"Unknown IO ID 45"} 
[2026-07-27 14:26:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996411392001,"power":28093,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6973120311355615232}} 
[2026-07-27 14:26:38] local.INFO: DEBUG: GPS processor result {"connection_id":143038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:26:38] local.INFO: GPS data processed {"connection_id":143038,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:26:38] local.INFO: Acknowledgment sent {"connection_id":143038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:27:00] local.INFO: TCP Data received {"connection_id":144020,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144020,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:27:00] local.INFO: Processing buffer {"connection_id":144020,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:27:00] local.INFO: IMEI packet received {"connection_id":144020,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 14:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":144020,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:27:04] local.INFO: TCP Data received {"connection_id":144020,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144020,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:27:05] local.INFO: Processing buffer {"connection_id":144020,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:27:05] local.INFO: IMEI packet received {"connection_id":144020,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 14:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":144020,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:27:06] local.INFO: TCP Data received {"connection_id":144020,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2c8f210012d1966c0071fee78003b005c2c..."} 
[2026-07-27 14:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144020,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2c8f210012d1966c0071fee78003b005c2c..."} 
[2026-07-27 14:27:06] local.INFO: Processing buffer {"connection_id":144020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2c8f210012d1966c0071fee78003b005c2c..."} 
[2026-07-27 14:27:06] local.INFO: Packet analysis {"connection_id":144020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2c8"} 
[2026-07-27 14:27:06] local.INFO: Extracted packet for processing {"connection_id":144020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2c8"} 
[2026-07-27 14:27:06] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":44,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:27:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996476160001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:27:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:27:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:27:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:27:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785142506000,"timestamp_ms":1785142506000,"timestamp_seconds":1785142506,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2c8f210"} 
[2026-07-27 14:27:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:27:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-27 14:27:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:27:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:27:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:27:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:27:06] local.INFO: Teltonika packet parsed successfully {"connection_id":144020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:27:06] local.INFO: Passing IMEI to GPS processor {"connection_id":144020,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:27:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":144020,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:27:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:27:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:27:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:27:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996476160001,"66":12385,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:27:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:27:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:27:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996476160001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:27:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:27:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:27:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:27:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:27:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996476160001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:27:06] local.INFO: DEBUG: GPS processor result {"connection_id":144020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553514,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:27:06] local.INFO: GPS data processed {"connection_id":144020,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:27:06] local.INFO: Acknowledgment sent {"connection_id":144020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:27:08] local.INFO: TCP Data received {"connection_id":144020,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2c94418012d1966c0071fee78003b005c2c..."} 
[2026-07-27 14:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144020,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2c94418012d1966c0071fee78003b005c2c..."} 
[2026-07-27 14:27:08] local.INFO: Processing buffer {"connection_id":144020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2c94418012d1966c0071fee78003b005c2c..."} 
[2026-07-27 14:27:08] local.INFO: Packet analysis {"connection_id":144020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2c9"} 
[2026-07-27 14:27:08] local.INFO: Extracted packet for processing {"connection_id":144020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2c9"} 
[2026-07-27 14:27:08] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":44,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14:27:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:27:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996481536001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:27:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:27:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:27:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:27:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785142527000,"timestamp_ms":1785142527000,"timestamp_seconds":1785142527,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2c94418"} 
[2026-07-27 14:27:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:27:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:27:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-27 14:27:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:27:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:27:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:27:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:27:08] local.INFO: Teltonika packet parsed successfully {"connection_id":144020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:27:08] local.INFO: Passing IMEI to GPS processor {"connection_id":144020,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:27:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":144020,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:27:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:27:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:27:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:27:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996481536001,"66":12374,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:27:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:27:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:27:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996481536001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:27:08] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:27:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:27:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:27:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:27:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996481536001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:27:08] local.INFO: DEBUG: GPS processor result {"connection_id":144020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553515,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:27:08] local.INFO: GPS data processed {"connection_id":144020,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:27:08] local.INFO: Acknowledgment sent {"connection_id":144020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:27:09] local.INFO: TCP Data received {"connection_id":143038,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2c567d0012d9f390005a19570001500bf2e..."} 
[2026-07-27 14:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143038,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2c567d0012d9f390005a19570001500bf2e..."} 
[2026-07-27 14:27:09] local.INFO: Processing buffer {"connection_id":143038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2c567d0012d9f390005a19570001500bf2e..."} 
[2026-07-27 14:27:09] local.INFO: Packet analysis {"connection_id":143038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2c5"} 
[2026-07-27 14:27:09] local.INFO: Extracted packet for processing {"connection_id":143038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2c5"} 
[2026-07-27 14:27:09] local.INFO: GPS Element Parsed {"raw_longitude":765409536,"raw_latitude":94475632,"longitude_deg":76.5409536,"latitude_deg":9.4475632,"altitude":21,"angle":191,"satellites":46,"speed":2,"hex_longitude":"2d9f3900","hex_latitude":"05a19570","is_valid_coordinates":true} 
[2026-07-27 14:27:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:27:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996416768001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:27:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999780648550400,"note":"Value kept but may cause issues"} 
[2026-07-27 14:27:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6973331417588418560,"note":"Value kept but may cause issues"} 
[2026-07-27 14:27:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:27:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785142274000,"timestamp_ms":1785142274000,"timestamp_seconds":1785142274,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2c567d0"} 
[2026-07-27 14:27:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:27:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-07-27 14:27:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2444,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:27:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:27:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:27:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:27:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:27:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:27:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:27:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:27:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 14:27:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 14:27:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996416768001,"66":27974,"236":206,"83":17152,"24":2,"16":358999780648550400,"45":-6973331417588418560},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 14:27:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 14:27:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 14:27:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996416768001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:27:09] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 14:27:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 14:27:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999780648550400,"km_value":358999780648550.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:27:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6973331417588418560,"description":"Unknown IO ID 45"} 
[2026-07-27 14:27:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996416768001,"power":27974,"unknown_236":206,"unknown_83":17152,"ignition":2,"odometer":null,"unknown_45":-6973331417588418560}} 
[2026-07-27 14:27:09] local.INFO: DEBUG: GPS processor result {"connection_id":143038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:27:09] local.INFO: GPS data processed {"connection_id":143038,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:27:09] local.INFO: Acknowledgment sent {"connection_id":143038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:27:33] local.INFO: TCP Data received {"connection_id":144021,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:27:33] local.INFO: Processing buffer {"connection_id":144021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:27:33] local.INFO: IMEI packet received {"connection_id":144021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 14:27:33] local.INFO: IMEI acknowledgment sent {"connection_id":144021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:27:37] local.INFO: TCP Data received {"connection_id":144021,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:27:37] local.INFO: Processing buffer {"connection_id":144021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:27:37] local.INFO: IMEI packet received {"connection_id":144021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 14:27:37] local.INFO: IMEI acknowledgment sent {"connection_id":144021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:27:38] local.INFO: TCP Data received {"connection_id":144021,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2c57388012d9f394005a196a0001500bf2b..."} 
[2026-07-27 14:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144021,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2c57388012d9f394005a196a0001500bf2b..."} 
[2026-07-27 14:27:38] local.INFO: Processing buffer {"connection_id":144021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2c57388012d9f394005a196a0001500bf2b..."} 
[2026-07-27 14:27:38] local.INFO: Packet analysis {"connection_id":144021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2c5"} 
[2026-07-27 14:27:38] local.INFO: Extracted packet for processing {"connection_id":144021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2c5"} 
[2026-07-27 14:27:38] local.INFO: GPS Element Parsed {"raw_longitude":765409600,"raw_latitude":94475936,"longitude_deg":76.54096,"latitude_deg":9.4475936,"altitude":21,"angle":191,"satellites":43,"speed":1,"hex_longitude":"2d9f3940","hex_latitude":"05a196a0","is_valid_coordinates":true} 
[2026-07-27 14:27:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:27:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996422144001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:27:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 14:27:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6973542523820740608,"note":"Value kept but may cause issues"} 
[2026-07-27 14:27:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:27:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785142277000,"timestamp_ms":1785142277000,"timestamp_seconds":1785142277,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2c57388"} 
[2026-07-27 14:27:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:27:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:27:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-27 14:27:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:27:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:27:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:27:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:27:38] local.INFO: Teltonika packet parsed successfully {"connection_id":144021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:27:38] local.INFO: Passing IMEI to GPS processor {"connection_id":144021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:27:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":144021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:27:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:27:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 14:27:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 14:27:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996422144001,"66":27930,"236":206,"83":17152,"24":1,"16":358999797828419584,"45":-6973542523820740608},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 14:27:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 14:27:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 14:27:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996422144001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:27:38] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 14:27:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 14:27:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:27:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6973542523820740608,"description":"Unknown IO ID 45"} 
[2026-07-27 14:27:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996422144001,"power":27930,"unknown_236":206,"unknown_83":17152,"ignition":1,"odometer":null,"unknown_45":-6973542523820740608}} 
[2026-07-27 14:27:38] local.INFO: DEBUG: GPS processor result {"connection_id":144021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:27:38] local.INFO: GPS data processed {"connection_id":144021,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:27:38] local.INFO: Acknowledgment sent {"connection_id":144021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:27:41] local.INFO: TCP Data received {"connection_id":144020,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2c99620012d1966c0071fee78003b005c2d..."} 
[2026-07-27 14:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144020,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2c99620012d1966c0071fee78003b005c2d..."} 
[2026-07-27 14:27:41] local.INFO: Processing buffer {"connection_id":144020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2c99620012d1966c0071fee78003b005c2d..."} 
[2026-07-27 14:27:41] local.INFO: Packet analysis {"connection_id":144020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2c9"} 
[2026-07-27 14:27:41] local.INFO: Extracted packet for processing {"connection_id":144020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2c9"} 
[2026-07-27 14:27:41] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":45,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14: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-07-27 14:27:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996486912001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:27:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:27:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:27:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:27:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785142548000,"timestamp_ms":1785142548000,"timestamp_seconds":1785142548,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2c99620"} 
[2026-07-27 14:27:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:27:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-27 14:27:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14: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-07-27 14:27:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:27:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:27:41] local.INFO: Teltonika packet parsed successfully {"connection_id":144020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:27:41] local.INFO: Passing IMEI to GPS processor {"connection_id":144020,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:27:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":144020,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:27:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:27:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:27:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:27:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996486912001,"66":12374,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:27:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:27:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:27:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996486912001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:27:41] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:27:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:27:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:27:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:27:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996486912001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:27:41] local.INFO: DEBUG: GPS processor result {"connection_id":144020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553518,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:27:41] local.INFO: GPS data processed {"connection_id":144020,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:27:41] local.INFO: Acknowledgment sent {"connection_id":144020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:28:00] local.INFO: TCP Data received {"connection_id":145315,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145315,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:28:00] local.INFO: Processing buffer {"connection_id":145315,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:28:00] local.INFO: IMEI packet received {"connection_id":145315,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 14:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":145315,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:28:05] local.INFO: TCP Data received {"connection_id":145315,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145315,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:28:05] local.INFO: Processing buffer {"connection_id":145315,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:28:05] local.INFO: IMEI packet received {"connection_id":145315,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 14:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":145315,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:28:06] local.INFO: TCP Data received {"connection_id":145315,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2c9e828012d1966c0071fee78003b005c2b..."} 
[2026-07-27 14:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2c9e828012d1966c0071fee78003b005c2b..."} 
[2026-07-27 14:28:06] local.INFO: Processing buffer {"connection_id":145315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2c9e828012d1966c0071fee78003b005c2b..."} 
[2026-07-27 14:28:06] local.INFO: Packet analysis {"connection_id":145315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2c9"} 
[2026-07-27 14:28:06] local.INFO: Extracted packet for processing {"connection_id":145315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2c9"} 
[2026-07-27 14:28:06] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":43,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:28:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996492288001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:28:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:28:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:28:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:28:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785142569000,"timestamp_ms":1785142569000,"timestamp_seconds":1785142569,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2c9e828"} 
[2026-07-27 14:28:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:28:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-27 14:28:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:28:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:28:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:28:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:28:06] local.INFO: Teltonika packet parsed successfully {"connection_id":145315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:28:06] local.INFO: Passing IMEI to GPS processor {"connection_id":145315,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:28:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":145315,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:28:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:28:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:28:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:28:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996492288001,"66":12374,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:28:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:28:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:28:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996492288001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:28:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:28:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:28:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:28:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:28:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996492288001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:28:06] local.INFO: DEBUG: GPS processor result {"connection_id":145315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553519,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:28:06] local.INFO: GPS data processed {"connection_id":145315,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:28:06] local.INFO: Acknowledgment sent {"connection_id":145315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:28:09] local.INFO: TCP Data received {"connection_id":144021,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2ca1320012d9f3b0005a19860001500bf2d..."} 
[2026-07-27 14:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144021,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2ca1320012d9f3b0005a19860001500bf2d..."} 
[2026-07-27 14:28:09] local.INFO: Processing buffer {"connection_id":144021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2ca1320012d9f3b0005a19860001500bf2d..."} 
[2026-07-27 14:28:09] local.INFO: Packet analysis {"connection_id":144021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2ca"} 
[2026-07-27 14:28:09] local.INFO: Extracted packet for processing {"connection_id":144021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2ca"} 
[2026-07-27 14:28:09] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":21,"angle":191,"satellites":45,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 14:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:28:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996422912001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:28:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 14:28:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6973472155076485120,"note":"Value kept but may cause issues"} 
[2026-07-27 14:28:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:28:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785142580000,"timestamp_ms":1785142580000,"timestamp_seconds":1785142580,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2ca1320"} 
[2026-07-27 14:28:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:28:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 14:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-27 14:28:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:28:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:28:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:28:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:28:09] local.INFO: Teltonika packet parsed successfully {"connection_id":144021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:28:09] local.INFO: Passing IMEI to GPS processor {"connection_id":144021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:28:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":144021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:28:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:28:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 14:28:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 14:28:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996422912001,"66":26452,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6973472155076485120},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 14:28:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 14:28:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 14:28:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996422912001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:28:09] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 14:28:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 14:28:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:28:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6973472155076485120,"description":"Unknown IO ID 45"} 
[2026-07-27 14:28:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996422912001,"power":26452,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6973472155076485120}} 
[2026-07-27 14:28:09] local.INFO: DEBUG: GPS processor result {"connection_id":144021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:28:09] local.INFO: GPS data processed {"connection_id":144021,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:28:09] local.INFO: Acknowledgment sent {"connection_id":144021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:28:32] local.INFO: TCP Data received {"connection_id":142894,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:28:32] local.INFO: Processing buffer {"connection_id":142894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:28:32] local.INFO: IMEI packet received {"connection_id":142894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 14:28:32] local.INFO: IMEI acknowledgment sent {"connection_id":142894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:28:37] local.INFO: TCP Data received {"connection_id":142894,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:28:37] local.INFO: Processing buffer {"connection_id":142894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:28:37] local.INFO: IMEI packet received {"connection_id":142894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 14:28:37] local.INFO: IMEI acknowledgment sent {"connection_id":142894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:28:38] local.INFO: TCP Data received {"connection_id":145315,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2ca3a30012d1966c0071fee78003b005c2c..."} 
[2026-07-27 14:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2ca3a30012d1966c0071fee78003b005c2c..."} 
[2026-07-27 14:28:38] local.INFO: Processing buffer {"connection_id":145315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2ca3a30012d1966c0071fee78003b005c2c..."} 
[2026-07-27 14:28:38] local.INFO: Packet analysis {"connection_id":145315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2ca"} 
[2026-07-27 14:28:38] local.INFO: Extracted packet for processing {"connection_id":145315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2ca"} 
[2026-07-27 14:28:38] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":44,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:28:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996497664001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:28:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:28:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:28:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:28:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785142590000,"timestamp_ms":1785142590000,"timestamp_seconds":1785142590,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2ca3a30"} 
[2026-07-27 14:28:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:28:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-27 14:28:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:28:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:28:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:28:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:28:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:28:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145315,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:28:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145315,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:28:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:28:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:28:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:28:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996497664001,"66":12374,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:28:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:28:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:28:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996497664001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:28:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:28:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:28:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:28:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:28:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996497664001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:28:38] local.INFO: DEBUG: GPS processor result {"connection_id":145315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553521,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:28:38] local.INFO: GPS data processed {"connection_id":145315,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:28:38] local.INFO: Acknowledgment sent {"connection_id":145315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:28:39] local.INFO: TCP Data received {"connection_id":142894,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2ca1320012d9f3b0005a19860001500bf2d..."} 
[2026-07-27 14:28:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2ca1320012d9f3b0005a19860001500bf2d..."} 
[2026-07-27 14:28:39] local.INFO: Processing buffer {"connection_id":142894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2ca1320012d9f3b0005a19860001500bf2d..."} 
[2026-07-27 14:28:39] local.INFO: Packet analysis {"connection_id":142894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2ca"} 
[2026-07-27 14:28:39] local.INFO: Extracted packet for processing {"connection_id":142894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2ca"} 
[2026-07-27 14:28:39] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":21,"angle":191,"satellites":45,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 14:28:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:28:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996422912001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:28:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 14:28:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6973472155076485120,"note":"Value kept but may cause issues"} 
[2026-07-27 14:28:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:28:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785142580000,"timestamp_ms":1785142580000,"timestamp_seconds":1785142580,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2ca1320"} 
[2026-07-27 14:28:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:28:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 14: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-27 14:28:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:28:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:28:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:28:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:28:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:28:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:28:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:28:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:28:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 14:28:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 14:28:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996422912001,"66":26452,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6973472155076485120},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 14:28:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 14:28:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 14:28:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996422912001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:28:39] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 14:28:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 14:28:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:28:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6973472155076485120,"description":"Unknown IO ID 45"} 
[2026-07-27 14:28:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996422912001,"power":26452,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6973472155076485120}} 
[2026-07-27 14:28:39] local.INFO: DEBUG: GPS processor result {"connection_id":142894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:28:39] local.INFO: GPS data processed {"connection_id":142894,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:28:39] local.INFO: Acknowledgment sent {"connection_id":142894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:28:59] local.INFO: TCP Data received {"connection_id":142895,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142895,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:29:00] local.INFO: Processing buffer {"connection_id":142895,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:29:00] local.INFO: IMEI packet received {"connection_id":142895,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 14:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":142895,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:29:04] local.INFO: TCP Data received {"connection_id":142895,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142895,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:29:04] local.INFO: Processing buffer {"connection_id":142895,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:29:04] local.INFO: IMEI packet received {"connection_id":142895,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 14:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":142895,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:29:06] local.INFO: TCP Data received {"connection_id":142895,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2ca8c38012d1966c0071fee78003b005c2a..."} 
[2026-07-27 14:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2ca8c38012d1966c0071fee78003b005c2a..."} 
[2026-07-27 14:29:06] local.INFO: Processing buffer {"connection_id":142895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2ca8c38012d1966c0071fee78003b005c2a..."} 
[2026-07-27 14:29:06] local.INFO: Packet analysis {"connection_id":142895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2ca"} 
[2026-07-27 14:29:06] local.INFO: Extracted packet for processing {"connection_id":142895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2ca"} 
[2026-07-27 14:29:06] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":42,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:29:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996503040001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:29:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:29:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:29:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:29:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785142611000,"timestamp_ms":1785142611000,"timestamp_seconds":1785142611,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2ca8c38"} 
[2026-07-27 14:29:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:29:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-27 14:29:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:29:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:29:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:29:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:29:06] local.INFO: Teltonika packet parsed successfully {"connection_id":142895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:29:06] local.INFO: Passing IMEI to GPS processor {"connection_id":142895,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:29:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":142895,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:29:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:29:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:29:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:29:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996503040001,"66":11993,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:29:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:29:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:29:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996503040001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:29:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:29:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:29:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:29:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:29:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996503040001,"power":11993,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:29:06] local.INFO: DEBUG: GPS processor result {"connection_id":142895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553523,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:29:06] local.INFO: GPS data processed {"connection_id":142895,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:29:06] local.INFO: Acknowledgment sent {"connection_id":142895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:29:10] local.INFO: TCP Data received {"connection_id":142894,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2ca1320012d9f3b0005a19860001500bf2d..."} 
[2026-07-27 14:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2ca1320012d9f3b0005a19860001500bf2d..."} 
[2026-07-27 14:29:10] local.INFO: Processing buffer {"connection_id":142894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2ca1320012d9f3b0005a19860001500bf2d..."} 
[2026-07-27 14:29:10] local.INFO: Packet analysis {"connection_id":142894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2ca"} 
[2026-07-27 14:29:10] local.INFO: Extracted packet for processing {"connection_id":142894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2ca"} 
[2026-07-27 14:29:10] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":21,"angle":191,"satellites":45,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 14:29:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:29:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996422912001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:29:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 14:29:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6973472155076485120,"note":"Value kept but may cause issues"} 
[2026-07-27 14:29:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:29:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785142580000,"timestamp_ms":1785142580000,"timestamp_seconds":1785142580,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2ca1320"} 
[2026-07-27 14:29:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:29:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 14: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-27 14:29:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:29:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:29:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:29:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:29:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:29:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:29:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14: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-07-27 14:29:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 14:29:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 14:29:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996422912001,"66":26452,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6973472155076485120},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 14:29:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 14:29:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 14:29:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996422912001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:29:10] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 14:29:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 14:29:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:29:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6973472155076485120,"description":"Unknown IO ID 45"} 
[2026-07-27 14:29:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996422912001,"power":26452,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6973472155076485120}} 
[2026-07-27 14:29:10] local.INFO: DEBUG: GPS processor result {"connection_id":142894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:29:10] local.INFO: GPS data processed {"connection_id":142894,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:29:10] local.INFO: Acknowledgment sent {"connection_id":142894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:29:32] local.INFO: TCP Data received {"connection_id":144022,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:29:32] local.INFO: Processing buffer {"connection_id":144022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:29:32] local.INFO: IMEI packet received {"connection_id":144022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 14:29:32] local.INFO: IMEI acknowledgment sent {"connection_id":144022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:29:37] local.INFO: TCP Data received {"connection_id":142895,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2cade40012d1966c0071fee78003b005c2a..."} 
[2026-07-27 14:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2cade40012d1966c0071fee78003b005c2a..."} 
[2026-07-27 14:29:37] local.INFO: Processing buffer {"connection_id":142895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2cade40012d1966c0071fee78003b005c2a..."} 
[2026-07-27 14:29:37] local.INFO: Packet analysis {"connection_id":142895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2ca"} 
[2026-07-27 14:29:37] local.INFO: Extracted packet for processing {"connection_id":142895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2ca"} 
[2026-07-27 14:29:37] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":42,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996508416001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:29:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:29:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:29:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:29:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785142632000,"timestamp_ms":1785142632000,"timestamp_seconds":1785142632,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2cade40"} 
[2026-07-27 14:29:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:29:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14: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":46,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-27 14:29:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2381,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:29:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:29:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:29:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:29:37] local.INFO: Teltonika packet parsed successfully {"connection_id":142895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:29:37] local.INFO: Passing IMEI to GPS processor {"connection_id":142895,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:29:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":142895,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:29:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:29:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:29:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:29:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996508416001,"66":12341,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:29:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:29:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:29:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996508416001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:29:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:29:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:29:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:29:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:29:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996508416001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:29:37] local.INFO: TCP Data received {"connection_id":144022,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:29:37] local.INFO: Processing buffer {"connection_id":144022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:29:37] local.INFO: IMEI packet received {"connection_id":144022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 14:29:37] local.INFO: IMEI acknowledgment sent {"connection_id":144022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:29:37] local.INFO: DEBUG: GPS processor result {"connection_id":142895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553525,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:29:37] local.INFO: GPS data processed {"connection_id":142895,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:29:37] local.INFO: Acknowledgment sent {"connection_id":142895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:29:39] local.INFO: TCP Data received {"connection_id":144022,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2ca1320012d9f3b0005a19860001500bf2d..."} 
[2026-07-27 14:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2ca1320012d9f3b0005a19860001500bf2d..."} 
[2026-07-27 14:29:39] local.INFO: Processing buffer {"connection_id":144022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2ca1320012d9f3b0005a19860001500bf2d..."} 
[2026-07-27 14:29:39] local.INFO: Packet analysis {"connection_id":144022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2ca"} 
[2026-07-27 14:29:39] local.INFO: Extracted packet for processing {"connection_id":144022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2ca"} 
[2026-07-27 14:29:39] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":21,"angle":191,"satellites":45,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 14:29:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:29:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996422912001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:29:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 14:29:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6973472155076485120,"note":"Value kept but may cause issues"} 
[2026-07-27 14:29:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:29:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785142580000,"timestamp_ms":1785142580000,"timestamp_seconds":1785142580,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2ca1320"} 
[2026-07-27 14:29:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:29:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 14: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-27 14:29:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:29:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:29:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:29:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:29:39] local.INFO: Teltonika packet parsed successfully {"connection_id":144022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:29:39] local.INFO: Passing IMEI to GPS processor {"connection_id":144022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:29:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":144022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:29:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:29:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 14:29:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 14:29:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996422912001,"66":26452,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6973472155076485120},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 14:29:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 14:29:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 14:29:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996422912001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:29:39] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 14:29:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 14:29:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:29:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6973472155076485120,"description":"Unknown IO ID 45"} 
[2026-07-27 14:29:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996422912001,"power":26452,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6973472155076485120}} 
[2026-07-27 14:29:39] local.INFO: DEBUG: GPS processor result {"connection_id":144022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:29:39] local.INFO: GPS data processed {"connection_id":144022,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:29:39] local.INFO: Acknowledgment sent {"connection_id":144022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:29:59] local.INFO: TCP Data received {"connection_id":143039,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143039,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:29:59] local.INFO: Processing buffer {"connection_id":143039,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:29:59] local.INFO: IMEI packet received {"connection_id":143039,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 14:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":143039,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:30:05] local.INFO: TCP Data received {"connection_id":143039,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143039,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:30:05] local.INFO: Processing buffer {"connection_id":143039,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:30:05] local.INFO: IMEI packet received {"connection_id":143039,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 14:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":143039,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:30:06] local.INFO: TCP Data received {"connection_id":143039,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2cb3048012d1966c0071fee78003b005c2b..."} 
[2026-07-27 14:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143039,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2cb3048012d1966c0071fee78003b005c2b..."} 
[2026-07-27 14:30:06] local.INFO: Processing buffer {"connection_id":143039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2cb3048012d1966c0071fee78003b005c2b..."} 
[2026-07-27 14:30:06] local.INFO: Packet analysis {"connection_id":143039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2cb"} 
[2026-07-27 14:30:06] local.INFO: Extracted packet for processing {"connection_id":143039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2cb"} 
[2026-07-27 14:30:06] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":43,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:30:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996513792001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:30:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:30:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:30:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:30:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785142653000,"timestamp_ms":1785142653000,"timestamp_seconds":1785142653,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2cb3048"} 
[2026-07-27 14:30:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:30:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 14:30:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:30:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:30:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:30:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:30:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:30:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143039,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:30:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143039,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:30:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:30:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:30:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:30:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996513792001,"66":12374,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:30:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:30:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:30:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996513792001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:30:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:30:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:30:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:30:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:30:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996513792001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:30:06] local.INFO: DEBUG: GPS processor result {"connection_id":143039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553527,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:30:06] local.INFO: GPS data processed {"connection_id":143039,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:30:06] local.INFO: Acknowledgment sent {"connection_id":143039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:30:11] local.INFO: TCP Data received {"connection_id":144022,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2ca1320012d9f3b0005a19860001500bf2d..."} 
[2026-07-27 14:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2ca1320012d9f3b0005a19860001500bf2d..."} 
[2026-07-27 14:30:11] local.INFO: Processing buffer {"connection_id":144022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2ca1320012d9f3b0005a19860001500bf2d..."} 
[2026-07-27 14:30:11] local.INFO: Packet analysis {"connection_id":144022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2ca"} 
[2026-07-27 14:30:11] local.INFO: Extracted packet for processing {"connection_id":144022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2ca"} 
[2026-07-27 14:30:11] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":21,"angle":191,"satellites":45,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 14:30:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:30:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996422912001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:30:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 14:30:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6973472155076485120,"note":"Value kept but may cause issues"} 
[2026-07-27 14:30:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:30:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785142580000,"timestamp_ms":1785142580000,"timestamp_seconds":1785142580,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2ca1320"} 
[2026-07-27 14:30:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:30:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 14:30:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-27 14:30:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:30:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:30:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:30:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:30:11] local.INFO: Teltonika packet parsed successfully {"connection_id":144022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:30:11] local.INFO: Passing IMEI to GPS processor {"connection_id":144022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:30:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":144022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:30: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-07-27 14:30:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 14:30:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 14:30:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996422912001,"66":26452,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6973472155076485120},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 14:30:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 14:30:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 14:30:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996422912001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:30:11] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 14:30:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 14:30:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:30:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6973472155076485120,"description":"Unknown IO ID 45"} 
[2026-07-27 14:30:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996422912001,"power":26452,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6973472155076485120}} 
[2026-07-27 14:30:11] local.INFO: DEBUG: GPS processor result {"connection_id":144022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:30:11] local.INFO: GPS data processed {"connection_id":144022,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:30:11] local.INFO: Acknowledgment sent {"connection_id":144022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:30:37] local.INFO: TCP Data received {"connection_id":142896,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:30:37] local.INFO: Processing buffer {"connection_id":142896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:30:37] local.INFO: IMEI packet received {"connection_id":142896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 14:30:37] local.INFO: IMEI acknowledgment sent {"connection_id":142896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:30:37] local.INFO: TCP Data received {"connection_id":143039,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2cb8250012d1966c0071fee78003b005c2a..."} 
[2026-07-27 14:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143039,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2cb8250012d1966c0071fee78003b005c2a..."} 
[2026-07-27 14:30:37] local.INFO: Processing buffer {"connection_id":143039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2cb8250012d1966c0071fee78003b005c2a..."} 
[2026-07-27 14:30:37] local.INFO: Packet analysis {"connection_id":143039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2cb"} 
[2026-07-27 14:30:37] local.INFO: Extracted packet for processing {"connection_id":143039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2cb"} 
[2026-07-27 14:30:37] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":42,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:30:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996519168001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:30:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:30:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:30:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:30:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785142674000,"timestamp_ms":1785142674000,"timestamp_seconds":1785142674,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2cb8250"} 
[2026-07-27 14:30:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:30:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-27 14:30:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:30:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:30:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:30:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:30:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:30:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143039,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:30:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143039,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:30:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:30:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:30:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:30:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996519168001,"66":12385,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:30:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:30:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:30:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996519168001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:30:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:30:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:30:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:30:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:30:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996519168001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":143039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553529,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:30:37] local.INFO: GPS data processed {"connection_id":143039,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:30:37] local.INFO: Acknowledgment sent {"connection_id":143039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:30:42] local.INFO: TCP Data received {"connection_id":142896,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:30:42] local.INFO: Processing buffer {"connection_id":142896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:30:42] local.INFO: IMEI packet received {"connection_id":142896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 14:30:42] local.INFO: IMEI acknowledgment sent {"connection_id":142896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:30:43] local.INFO: TCP Data received {"connection_id":142896,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2ca1320012d9f3b0005a19860001500bf2d..."} 
[2026-07-27 14:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2ca1320012d9f3b0005a19860001500bf2d..."} 
[2026-07-27 14:30:43] local.INFO: Processing buffer {"connection_id":142896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2ca1320012d9f3b0005a19860001500bf2d..."} 
[2026-07-27 14:30:43] local.INFO: Packet analysis {"connection_id":142896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2ca"} 
[2026-07-27 14:30:43] local.INFO: Extracted packet for processing {"connection_id":142896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2ca"} 
[2026-07-27 14:30:43] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":21,"angle":191,"satellites":45,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 14:30:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:30:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996422912001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:30:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 14:30:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6973472155076485120,"note":"Value kept but may cause issues"} 
[2026-07-27 14:30:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:30:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785142580000,"timestamp_ms":1785142580000,"timestamp_seconds":1785142580,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2ca1320"} 
[2026-07-27 14:30:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:30:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 14: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-27 14:30:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:30:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:30:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:30:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:30:43] local.INFO: Teltonika packet parsed successfully {"connection_id":142896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:30:43] local.INFO: Passing IMEI to GPS processor {"connection_id":142896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:30:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":142896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:30:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:30:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 14:30:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 14:30:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996422912001,"66":26452,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6973472155076485120},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 14:30:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 14:30:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 14:30:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996422912001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:30:43] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 14:30:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 14:30:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:30:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6973472155076485120,"description":"Unknown IO ID 45"} 
[2026-07-27 14:30:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996422912001,"power":26452,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6973472155076485120}} 
[2026-07-27 14:30:43] local.INFO: DEBUG: GPS processor result {"connection_id":142896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:30:43] local.INFO: GPS data processed {"connection_id":142896,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:30:43] local.INFO: Acknowledgment sent {"connection_id":142896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:30:47] local.INFO: TCP Data received {"connection_id":142896,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2ca1320012d9f3b0005a19860001500bf2d..."} 
[2026-07-27 14:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2ca1320012d9f3b0005a19860001500bf2d..."} 
[2026-07-27 14:30:47] local.INFO: Processing buffer {"connection_id":142896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2ca1320012d9f3b0005a19860001500bf2d..."} 
[2026-07-27 14:30:47] local.INFO: Packet analysis {"connection_id":142896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2ca"} 
[2026-07-27 14:30:47] local.INFO: Extracted packet for processing {"connection_id":142896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2ca"} 
[2026-07-27 14:30:47] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":21,"angle":191,"satellites":45,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 14:30:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:30:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996422912001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:30:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 14:30:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6973472155076485120,"note":"Value kept but may cause issues"} 
[2026-07-27 14:30:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:30:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785142580000,"timestamp_ms":1785142580000,"timestamp_seconds":1785142580,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2ca1320"} 
[2026-07-27 14:30:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:30:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 14:30:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-27 14:30:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:30:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:30:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:30:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:30:47] local.INFO: Teltonika packet parsed successfully {"connection_id":142896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:30:47] local.INFO: Passing IMEI to GPS processor {"connection_id":142896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:30:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":142896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:30:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:30:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 14:30:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 14:30:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996422912001,"66":26452,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6973472155076485120},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 14:30:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 14:30:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 14:30:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996422912001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:30:47] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 14:30:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 14:30:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:30:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6973472155076485120,"description":"Unknown IO ID 45"} 
[2026-07-27 14:30:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996422912001,"power":26452,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6973472155076485120}} 
[2026-07-27 14:30:47] local.INFO: DEBUG: GPS processor result {"connection_id":142896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:30:47] local.INFO: GPS data processed {"connection_id":142896,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:30:47] local.INFO: Acknowledgment sent {"connection_id":142896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:30:59] local.INFO: TCP Data received {"connection_id":145316,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145316,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:30:59] local.INFO: Processing buffer {"connection_id":145316,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:30:59] local.INFO: IMEI packet received {"connection_id":145316,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 14:30:59] local.INFO: IMEI acknowledgment sent {"connection_id":145316,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:31:05] local.INFO: TCP Data received {"connection_id":145316,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145316,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:31:05] local.INFO: Processing buffer {"connection_id":145316,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:31:05] local.INFO: IMEI packet received {"connection_id":145316,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 14:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":145316,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:31:06] local.INFO: TCP Data received {"connection_id":145316,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2cbd458012d1966c0071fee78003b005c2b..."} 
[2026-07-27 14:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2cbd458012d1966c0071fee78003b005c2b..."} 
[2026-07-27 14:31:06] local.INFO: Processing buffer {"connection_id":145316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2cbd458012d1966c0071fee78003b005c2b..."} 
[2026-07-27 14:31:06] local.INFO: Packet analysis {"connection_id":145316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2cb"} 
[2026-07-27 14:31:06] local.INFO: Extracted packet for processing {"connection_id":145316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2cb"} 
[2026-07-27 14:31:06] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":43,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996524544001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:31:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:31:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785142695000,"timestamp_ms":1785142695000,"timestamp_seconds":1785142695,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2cbd458"} 
[2026-07-27 14:31:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:31:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-27 14:31:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:31:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:31:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":145316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":145316,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":145316,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:31:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996524544001,"66":12363,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996524544001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:31:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:31:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:31:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996524544001,"power":12363,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":145316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553532,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:31:06] local.INFO: GPS data processed {"connection_id":145316,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:31:06] local.INFO: Acknowledgment sent {"connection_id":145316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:31:32] local.INFO: TCP Data received {"connection_id":143041,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:31:32] local.INFO: Processing buffer {"connection_id":143041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:31:32] local.INFO: IMEI packet received {"connection_id":143041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 14:31:32] local.INFO: IMEI acknowledgment sent {"connection_id":143041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:31:37] local.INFO: TCP Data received {"connection_id":143041,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:31:37] local.INFO: Processing buffer {"connection_id":143041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:31:37] local.INFO: IMEI packet received {"connection_id":143041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 14:31:37] local.INFO: IMEI acknowledgment sent {"connection_id":143041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:31:38] local.INFO: TCP Data received {"connection_id":145316,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2cc2660012d1966c0071fee78003b005c2a..."} 
[2026-07-27 14:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2cc2660012d1966c0071fee78003b005c2a..."} 
[2026-07-27 14:31:38] local.INFO: Processing buffer {"connection_id":145316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2cc2660012d1966c0071fee78003b005c2a..."} 
[2026-07-27 14:31:38] local.INFO: Packet analysis {"connection_id":145316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2cc"} 
[2026-07-27 14:31:38] local.INFO: Extracted packet for processing {"connection_id":145316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2cc"} 
[2026-07-27 14:31:38] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":42,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:31:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996529920001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:31:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:31:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:31:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:31:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785142716000,"timestamp_ms":1785142716000,"timestamp_seconds":1785142716,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2cc2660"} 
[2026-07-27 14:31:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:31:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-27 14:31:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:31:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:31:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:31:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:31:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:31:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145316,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:31:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145316,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:31:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:31:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:31:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:31:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996529920001,"66":12374,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:31:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:31:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:31:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996529920001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:31:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:31:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:31:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:31:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:31:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996529920001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:31:38] local.INFO: DEBUG: GPS processor result {"connection_id":145316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553533,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:31:38] local.INFO: GPS data processed {"connection_id":145316,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:31:38] local.INFO: Acknowledgment sent {"connection_id":145316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:31:38] local.INFO: TCP Data received {"connection_id":143041,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2ca1320012d9f3b0005a19860001500bf2d..."} 
[2026-07-27 14:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2ca1320012d9f3b0005a19860001500bf2d..."} 
[2026-07-27 14:31:38] local.INFO: Processing buffer {"connection_id":143041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2ca1320012d9f3b0005a19860001500bf2d..."} 
[2026-07-27 14:31:38] local.INFO: Packet analysis {"connection_id":143041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2ca"} 
[2026-07-27 14:31:38] local.INFO: Extracted packet for processing {"connection_id":143041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2ca"} 
[2026-07-27 14:31:38] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":21,"angle":191,"satellites":45,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 14:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:31:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996422912001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:31:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 14:31:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6973472155076485120,"note":"Value kept but may cause issues"} 
[2026-07-27 14:31:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:31:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785142580000,"timestamp_ms":1785142580000,"timestamp_seconds":1785142580,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2ca1320"} 
[2026-07-27 14:31:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:31:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 14:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-27 14:31:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:31:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:31:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:31:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:31:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:31:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:31:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:31:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:31:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 14:31:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 14:31:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996422912001,"66":26452,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6973472155076485120},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 14:31:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 14:31:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 14:31:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996422912001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:31:38] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 14:31:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 14:31:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:31:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6973472155076485120,"description":"Unknown IO ID 45"} 
[2026-07-27 14:31:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996422912001,"power":26452,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6973472155076485120}} 
[2026-07-27 14:31:38] local.INFO: DEBUG: GPS processor result {"connection_id":143041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:31:38] local.INFO: GPS data processed {"connection_id":143041,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:31:38] local.INFO: Acknowledgment sent {"connection_id":143041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:32:02] local.INFO: TCP Data received {"connection_id":142897,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142897,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:32:02] local.INFO: Processing buffer {"connection_id":142897,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:32:02] local.INFO: IMEI packet received {"connection_id":142897,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 14:32:02] local.INFO: IMEI acknowledgment sent {"connection_id":142897,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:32:05] local.INFO: TCP Data received {"connection_id":142897,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142897,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:32:05] local.INFO: Processing buffer {"connection_id":142897,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:32:05] local.INFO: IMEI packet received {"connection_id":142897,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 14:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":142897,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:32:09] local.INFO: TCP Data received {"connection_id":143041,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2ceaae8012d9f3b0005a19860001500bf2b..."} 
[2026-07-27 14:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2ceaae8012d9f3b0005a19860001500bf2b..."} 
[2026-07-27 14:32:09] local.INFO: Processing buffer {"connection_id":143041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2ceaae8012d9f3b0005a19860001500bf2b..."} 
[2026-07-27 14:32:09] local.INFO: Packet analysis {"connection_id":143041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2ce"} 
[2026-07-27 14:32:09] local.INFO: Extracted packet for processing {"connection_id":143041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2ce"} 
[2026-07-27 14:32:09] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":21,"angle":191,"satellites":43,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 14:32:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:32:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996500480001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:32:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 14:32:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972979573867126784,"note":"Value kept but may cause issues"} 
[2026-07-27 14:32:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:32:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785142881000,"timestamp_ms":1785142881000,"timestamp_seconds":1785142881,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2ceaae8"} 
[2026-07-27 14:32:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:32:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-07-27 14:32:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:32:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:32:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:32:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:32:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:32:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:32:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:32:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:32:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 14:32:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 14:32:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996500480001,"66":26223,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6972979573867126784},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 14:32:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 14:32:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 14:32:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996500480001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:32:09] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 14:32:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 14:32:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:32:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972979573867126784,"description":"Unknown IO ID 45"} 
[2026-07-27 14:32:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996500480001,"power":26223,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6972979573867126784}} 
[2026-07-27 14:32:09] local.INFO: DEBUG: GPS processor result {"connection_id":143041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:32:09] local.INFO: GPS data processed {"connection_id":143041,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:32:09] local.INFO: Acknowledgment sent {"connection_id":143041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:32:10] local.INFO: TCP Data received {"connection_id":142897,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142897,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:32:10] local.INFO: Processing buffer {"connection_id":142897,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:32:10] local.INFO: IMEI packet received {"connection_id":142897,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 14:32:10] local.INFO: IMEI acknowledgment sent {"connection_id":142897,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:32:11] local.INFO: TCP Data received {"connection_id":142897,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2cc7868012d1966c0071fee78003b005c2b..."} 
[2026-07-27 14:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142897,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2cc7868012d1966c0071fee78003b005c2b..."} 
[2026-07-27 14:32:11] local.INFO: Processing buffer {"connection_id":142897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2cc7868012d1966c0071fee78003b005c2b..."} 
[2026-07-27 14:32:11] local.INFO: Packet analysis {"connection_id":142897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2cc"} 
[2026-07-27 14:32:11] local.INFO: Extracted packet for processing {"connection_id":142897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2cc"} 
[2026-07-27 14:32:11] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":43,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14: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-07-27 14:32:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996535296001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:32:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:32:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:32:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:32:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785142737000,"timestamp_ms":1785142737000,"timestamp_seconds":1785142737,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2cc7868"} 
[2026-07-27 14:32:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:32:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-27 14:32:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14: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-07-27 14:32:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:32:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:32:11] local.INFO: Teltonika packet parsed successfully {"connection_id":142897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:32:11] local.INFO: Passing IMEI to GPS processor {"connection_id":142897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:32:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":142897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:32:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:32:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:32:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:32:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996535296001,"66":11667,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:32:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:32:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:32:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996535296001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:32:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:32:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:32:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:32:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:32:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996535296001,"power":11667,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:32:11] local.INFO: DEBUG: GPS processor result {"connection_id":142897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553536,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:32:11] local.INFO: GPS data processed {"connection_id":142897,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:32:11] local.INFO: Acknowledgment sent {"connection_id":142897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:32:16] local.INFO: TCP Data received {"connection_id":142897,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2ccca70012d1966c0071fee78003b005c2a..."} 
[2026-07-27 14:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142897,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2ccca70012d1966c0071fee78003b005c2a..."} 
[2026-07-27 14:32:16] local.INFO: Processing buffer {"connection_id":142897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2ccca70012d1966c0071fee78003b005c2a..."} 
[2026-07-27 14:32:16] local.INFO: Packet analysis {"connection_id":142897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2cc"} 
[2026-07-27 14:32:16] local.INFO: Extracted packet for processing {"connection_id":142897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2cc"} 
[2026-07-27 14:32:16] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":42,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14:32:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:32:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996540672001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:32:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:32:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:32:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:32:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785142758000,"timestamp_ms":1785142758000,"timestamp_seconds":1785142758,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2ccca70"} 
[2026-07-27 14:32:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:32: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-07-27 14:32: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":45,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-07-27 14:32:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1746,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:32:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:32:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:32:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:32:16] local.INFO: Teltonika packet parsed successfully {"connection_id":142897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:32:16] local.INFO: Passing IMEI to GPS processor {"connection_id":142897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:32:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":142897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:32:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:32:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:32:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:32:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996540672001,"66":12287,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:32:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:32:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:32:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996540672001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:32:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:32:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:32:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:32:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:32:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996540672001,"power":12287,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:32:16] local.INFO: DEBUG: GPS processor result {"connection_id":142897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553537,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:32:16] local.INFO: GPS data processed {"connection_id":142897,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:32:16] local.INFO: Acknowledgment sent {"connection_id":142897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:32:22] local.INFO: TCP Data received {"connection_id":143040,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 14:32:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143040,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 14:32:22] local.INFO: Processing buffer {"connection_id":143040,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 14:32:22] local.INFO: IMEI packet received {"connection_id":143040,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 14:32:22] local.INFO: IMEI acknowledgment sent {"connection_id":143040,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:32:32] local.INFO: TCP Data received {"connection_id":144023,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:32:32] local.INFO: Processing buffer {"connection_id":144023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:32:32] local.INFO: IMEI packet received {"connection_id":144023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 14:32:32] local.INFO: IMEI acknowledgment sent {"connection_id":144023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:32:37] local.INFO: TCP Data received {"connection_id":144023,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:32:37] local.INFO: Processing buffer {"connection_id":144023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:32:37] local.INFO: IMEI packet received {"connection_id":144023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 14:32:37] local.INFO: IMEI acknowledgment sent {"connection_id":144023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:32:38] local.INFO: TCP Data received {"connection_id":144023,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2ceaae8012d9f3b0005a19860001500bf2b..."} 
[2026-07-27 14:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2ceaae8012d9f3b0005a19860001500bf2b..."} 
[2026-07-27 14:32:38] local.INFO: Processing buffer {"connection_id":144023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2ceaae8012d9f3b0005a19860001500bf2b..."} 
[2026-07-27 14:32:38] local.INFO: Packet analysis {"connection_id":144023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2ce"} 
[2026-07-27 14:32:38] local.INFO: Extracted packet for processing {"connection_id":144023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2ce"} 
[2026-07-27 14:32:38] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":21,"angle":191,"satellites":43,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 14:32:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:32:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996500480001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:32:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 14:32:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972979573867126784,"note":"Value kept but may cause issues"} 
[2026-07-27 14:32:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:32:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785142881000,"timestamp_ms":1785142881000,"timestamp_seconds":1785142881,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2ceaae8"} 
[2026-07-27 14:32:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:32:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 14: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":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-07-27 14:32:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:32:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:32:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:32:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:32:38] local.INFO: Teltonika packet parsed successfully {"connection_id":144023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:32:38] local.INFO: Passing IMEI to GPS processor {"connection_id":144023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:32:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":144023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:32:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:32:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 14:32:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 14:32:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996500480001,"66":26223,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6972979573867126784},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 14:32:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 14:32:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 14:32:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996500480001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:32:38] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 14:32:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 14:32:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:32:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972979573867126784,"description":"Unknown IO ID 45"} 
[2026-07-27 14:32:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996500480001,"power":26223,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6972979573867126784}} 
[2026-07-27 14:32:38] local.INFO: DEBUG: GPS processor result {"connection_id":144023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:32:38] local.INFO: GPS data processed {"connection_id":144023,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:32:38] local.INFO: Acknowledgment sent {"connection_id":144023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:33:00] local.INFO: TCP Data received {"connection_id":143042,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143042,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:33:00] local.INFO: Processing buffer {"connection_id":143042,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:33:00] local.INFO: IMEI packet received {"connection_id":143042,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 14:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":143042,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:33:05] local.INFO: TCP Data received {"connection_id":143042,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143042,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:33:05] local.INFO: Processing buffer {"connection_id":143042,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:33:05] local.INFO: IMEI packet received {"connection_id":143042,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 14:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":143042,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:33:06] local.INFO: TCP Data received {"connection_id":143042,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2cd1c78012d1966c0071fee78003b005c2c..."} 
[2026-07-27 14:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143042,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2cd1c78012d1966c0071fee78003b005c2c..."} 
[2026-07-27 14:33:06] local.INFO: Processing buffer {"connection_id":143042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2cd1c78012d1966c0071fee78003b005c2c..."} 
[2026-07-27 14:33:06] local.INFO: Packet analysis {"connection_id":143042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2cd"} 
[2026-07-27 14:33:06] local.INFO: Extracted packet for processing {"connection_id":143042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2cd"} 
[2026-07-27 14:33:06] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":44,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:33:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996546048001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:33:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:33:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:33:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:33:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785142779000,"timestamp_ms":1785142779000,"timestamp_seconds":1785142779,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2cd1c78"} 
[2026-07-27 14:33:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:33:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-27 14:33:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:33:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:33:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:33:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:33:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:33:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143042,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:33:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143042,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:33:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:33:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:33:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:33:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996546048001,"66":12341,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:33:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:33:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:33:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996546048001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:33:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:33:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:33:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:33:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:33:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996546048001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:33:06] local.INFO: DEBUG: GPS processor result {"connection_id":143042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553539,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:33:06] local.INFO: GPS data processed {"connection_id":143042,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:33:06] local.INFO: Acknowledgment sent {"connection_id":143042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:33:10] local.INFO: TCP Data received {"connection_id":144023,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2ceaae8012d9f3b0005a19860001500bf2b..."} 
[2026-07-27 14:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2ceaae8012d9f3b0005a19860001500bf2b..."} 
[2026-07-27 14:33:10] local.INFO: Processing buffer {"connection_id":144023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2ceaae8012d9f3b0005a19860001500bf2b..."} 
[2026-07-27 14:33:10] local.INFO: Packet analysis {"connection_id":144023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2ce"} 
[2026-07-27 14:33:10] local.INFO: Extracted packet for processing {"connection_id":144023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2ce"} 
[2026-07-27 14:33:10] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":21,"angle":191,"satellites":43,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 14:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:33:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996500480001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:33:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 14:33:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972979573867126784,"note":"Value kept but may cause issues"} 
[2026-07-27 14:33:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:33:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785142881000,"timestamp_ms":1785142881000,"timestamp_seconds":1785142881,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2ceaae8"} 
[2026-07-27 14:33:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:33:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 14: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":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-07-27 14:33:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:33:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:33:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:33:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:33:10] local.INFO: Teltonika packet parsed successfully {"connection_id":144023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:33:10] local.INFO: Passing IMEI to GPS processor {"connection_id":144023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:33:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":144023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:33:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:33:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 14:33:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 14:33:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996500480001,"66":26223,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6972979573867126784},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 14:33:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 14:33:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 14:33:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996500480001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:33:10] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 14:33:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 14:33:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:33:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972979573867126784,"description":"Unknown IO ID 45"} 
[2026-07-27 14:33:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996500480001,"power":26223,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6972979573867126784}} 
[2026-07-27 14:33:10] local.INFO: DEBUG: GPS processor result {"connection_id":144023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:33:10] local.INFO: GPS data processed {"connection_id":144023,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:33:10] local.INFO: Acknowledgment sent {"connection_id":144023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:33:32] local.INFO: TCP Data received {"connection_id":144024,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:33:32] local.INFO: Processing buffer {"connection_id":144024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:33:32] local.INFO: IMEI packet received {"connection_id":144024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 14:33:32] local.INFO: IMEI acknowledgment sent {"connection_id":144024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:33:37] local.INFO: TCP Data received {"connection_id":144024,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:33:37] local.INFO: Processing buffer {"connection_id":144024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:33:37] local.INFO: IMEI packet received {"connection_id":144024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 14:33:37] local.INFO: IMEI acknowledgment sent {"connection_id":144024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:33:38] local.INFO: TCP Data received {"connection_id":143042,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2cd6e80012d1966c0071fee78003b005c29..."} 
[2026-07-27 14:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143042,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2cd6e80012d1966c0071fee78003b005c29..."} 
[2026-07-27 14:33:38] local.INFO: Processing buffer {"connection_id":143042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2cd6e80012d1966c0071fee78003b005c29..."} 
[2026-07-27 14:33:38] local.INFO: Packet analysis {"connection_id":143042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2cd"} 
[2026-07-27 14:33:38] local.INFO: Extracted packet for processing {"connection_id":143042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2cd"} 
[2026-07-27 14:33:38] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":41,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:33:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996551424001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:33:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:33:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:33:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:33:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785142800000,"timestamp_ms":1785142800000,"timestamp_seconds":1785142800,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2cd6e80"} 
[2026-07-27 14:33:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:33:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 14:33:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:33:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:33:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:33:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:33:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:33:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143042,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:33:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143042,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:33:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:33:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:33:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:33:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996551424001,"66":11721,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:33:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:33:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:33:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996551424001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:33:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:33:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:33:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:33:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:33:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996551424001,"power":11721,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:33:38] local.INFO: DEBUG: GPS processor result {"connection_id":143042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553541,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:33:38] local.INFO: GPS data processed {"connection_id":143042,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:33:38] local.INFO: Acknowledgment sent {"connection_id":143042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:33:38] local.INFO: TCP Data received {"connection_id":144024,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2ceaae8012d9f3b0005a19860001500bf2b..."} 
[2026-07-27 14:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2ceaae8012d9f3b0005a19860001500bf2b..."} 
[2026-07-27 14:33:39] local.INFO: Processing buffer {"connection_id":144024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2ceaae8012d9f3b0005a19860001500bf2b..."} 
[2026-07-27 14:33:39] local.INFO: Packet analysis {"connection_id":144024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2ce"} 
[2026-07-27 14:33:39] local.INFO: Extracted packet for processing {"connection_id":144024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2ce"} 
[2026-07-27 14:33:39] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":21,"angle":191,"satellites":43,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 14:33:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:33:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996500480001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:33:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 14:33:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972979573867126784,"note":"Value kept but may cause issues"} 
[2026-07-27 14:33:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:33:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785142881000,"timestamp_ms":1785142881000,"timestamp_seconds":1785142881,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2ceaae8"} 
[2026-07-27 14:33:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:33:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 14:33:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-07-27 14:33:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:33:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:33:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:33:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:33:39] local.INFO: Teltonika packet parsed successfully {"connection_id":144024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:33:39] local.INFO: Passing IMEI to GPS processor {"connection_id":144024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:33:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":144024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:33:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:33:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 14:33:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 14:33:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996500480001,"66":26223,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6972979573867126784},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 14:33:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 14:33:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 14:33:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996500480001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:33:39] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 14:33:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 14:33:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:33:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972979573867126784,"description":"Unknown IO ID 45"} 
[2026-07-27 14:33:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996500480001,"power":26223,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6972979573867126784}} 
[2026-07-27 14:33:39] local.INFO: DEBUG: GPS processor result {"connection_id":144024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:33:39] local.INFO: GPS data processed {"connection_id":144024,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:33:39] local.INFO: Acknowledgment sent {"connection_id":144024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:34:00] local.INFO: TCP Data received {"connection_id":142898,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142898,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:34:00] local.INFO: Processing buffer {"connection_id":142898,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:34:00] local.INFO: IMEI packet received {"connection_id":142898,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 14:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":142898,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:34:05] local.INFO: TCP Data received {"connection_id":142898,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142898,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:34:05] local.INFO: Processing buffer {"connection_id":142898,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:34:05] local.INFO: IMEI packet received {"connection_id":142898,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 14:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":142898,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:34:06] local.INFO: TCP Data received {"connection_id":142898,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2cdc088012d1966c0071fee78003b005c28..."} 
[2026-07-27 14:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142898,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2cdc088012d1966c0071fee78003b005c28..."} 
[2026-07-27 14:34:06] local.INFO: Processing buffer {"connection_id":142898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2cdc088012d1966c0071fee78003b005c28..."} 
[2026-07-27 14:34:06] local.INFO: Packet analysis {"connection_id":142898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2cd"} 
[2026-07-27 14:34:06] local.INFO: Extracted packet for processing {"connection_id":142898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2cd"} 
[2026-07-27 14:34:06] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":40,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:34:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996556800001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:34:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:34:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:34:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:34:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785142821000,"timestamp_ms":1785142821000,"timestamp_seconds":1785142821,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2cdc088"} 
[2026-07-27 14:34:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:34:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-27 14:34:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2232,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:34:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:34:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:34:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:34:06] local.INFO: Teltonika packet parsed successfully {"connection_id":142898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:34:06] local.INFO: Passing IMEI to GPS processor {"connection_id":142898,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:34:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":142898,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:34:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:34:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:34:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:34:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996556800001,"66":12298,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:34:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:34:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:34:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996556800001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:34:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:34:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:34:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:34:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:34:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996556800001,"power":12298,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:34:06] local.INFO: DEBUG: GPS processor result {"connection_id":142898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553543,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:34:06] local.INFO: GPS data processed {"connection_id":142898,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:34:06] local.INFO: Acknowledgment sent {"connection_id":142898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:34:10] local.INFO: TCP Data received {"connection_id":144024,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2ceaae8012d9f3b0005a19860001500bf2b..."} 
[2026-07-27 14:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2ceaae8012d9f3b0005a19860001500bf2b..."} 
[2026-07-27 14:34:10] local.INFO: Processing buffer {"connection_id":144024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2ceaae8012d9f3b0005a19860001500bf2b..."} 
[2026-07-27 14:34:10] local.INFO: Packet analysis {"connection_id":144024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2ce"} 
[2026-07-27 14:34:10] local.INFO: Extracted packet for processing {"connection_id":144024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2ce"} 
[2026-07-27 14:34:10] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":21,"angle":191,"satellites":43,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 14:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:34:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996500480001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:34:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 14:34:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972979573867126784,"note":"Value kept but may cause issues"} 
[2026-07-27 14:34:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:34:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785142881000,"timestamp_ms":1785142881000,"timestamp_seconds":1785142881,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2ceaae8"} 
[2026-07-27 14:34:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:34:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 14: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":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-07-27 14:34:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:34:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:34:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:34:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:34:10] local.INFO: Teltonika packet parsed successfully {"connection_id":144024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:34:10] local.INFO: Passing IMEI to GPS processor {"connection_id":144024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:34:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":144024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:34:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:34:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 14:34:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 14:34:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996500480001,"66":26223,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6972979573867126784},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 14:34:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 14:34:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 14:34:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996500480001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:34:10] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 14:34:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 14:34:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:34:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972979573867126784,"description":"Unknown IO ID 45"} 
[2026-07-27 14:34:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996500480001,"power":26223,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6972979573867126784}} 
[2026-07-27 14:34:10] local.INFO: DEBUG: GPS processor result {"connection_id":144024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:34:10] local.INFO: GPS data processed {"connection_id":144024,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:34:10] local.INFO: Acknowledgment sent {"connection_id":144024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:34:32] local.INFO: TCP Data received {"connection_id":142899,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:34:32] local.INFO: Processing buffer {"connection_id":142899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:34:32] local.INFO: IMEI packet received {"connection_id":142899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 14:34:32] local.INFO: IMEI acknowledgment sent {"connection_id":142899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:34:37] local.INFO: TCP Data received {"connection_id":142899,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:34:37] local.INFO: Processing buffer {"connection_id":142899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:34:37] local.INFO: IMEI packet received {"connection_id":142899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 14:34:37] local.INFO: IMEI acknowledgment sent {"connection_id":142899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:34:38] local.INFO: TCP Data received {"connection_id":142898,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2ce1290012d1966c0071fee78003b005c27..."} 
[2026-07-27 14:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142898,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2ce1290012d1966c0071fee78003b005c27..."} 
[2026-07-27 14:34:38] local.INFO: Processing buffer {"connection_id":142898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2ce1290012d1966c0071fee78003b005c27..."} 
[2026-07-27 14:34:38] local.INFO: Packet analysis {"connection_id":142898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2ce"} 
[2026-07-27 14:34:38] local.INFO: Extracted packet for processing {"connection_id":142898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2ce"} 
[2026-07-27 14:34:38] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":39,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:34:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996562176001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:34:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:34:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:34:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:34:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785142842000,"timestamp_ms":1785142842000,"timestamp_seconds":1785142842,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2ce1290"} 
[2026-07-27 14:34:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:34:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-27 14:34:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-27 14:34:38] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168048982131200,"note":"Value kept but may cause issues"} 
[2026-07-27 14:34:38] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452319,"note":"Value kept but may cause issues"} 
[2026-07-27 14:34:38] local.WARNING: Large IO value detected {"io_id":132,"raw_value":-7926335344172072959,"note":"Value kept but may cause issues"} 
[2026-07-27 14:34:38] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-6716131139164235418,"note":"Value kept but may cause issues"} 
[2026-07-27 14:34:38] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513391081710878812,"note":"Value kept but may cause issues"} 
[2026-07-27 14:34:38] local.WARNING: Large IO value detected {"io_id":59,"raw_value":25942976857374720,"note":"Value kept but may cause issues"} 
[2026-07-27 14:34:38] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832597,"note":"Value kept but may cause issues"} 
[2026-07-27 14:34:38] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3479876021425602766,"note":"Value kept but may cause issues"} 
[2026-07-27 14:34:38] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":28673,"corrected_to":0} 
[2026-07-27 14:34:38] local.WARNING: Large IO value detected {"io_id":162,"raw_value":3430443009,"note":"Value kept but may cause issues"} 
[2026-07-27 14:34:38] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2224160768,"note":"Value kept but may cause issues"} 
[2026-07-27 14:34:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-27 14:34:38] local.WARNING: Large IO value detected {"io_id":102,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-07-27 14:34:38] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,121,28,24,241,158,16,132,159,110,45,192,238,59,41,10,66,44,202,1,240,255,162,31,4,113,205,38,102,120,42,239,48,2,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":202,"original":28673,"validated":0},{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-07-27 14:34:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4251499375106195456,"timestamp_seconds":4251499375106195.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 14:34:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:34:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:34:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:34:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142898,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:34:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142898,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:34:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:34:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:34:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:34:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996562176001,"66":12385,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:34:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:34:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:34:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996562176001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:34:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:34:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:34:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:34:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:34:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996562176001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:34:38] local.INFO: DEBUG: GPS processor result {"connection_id":142898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553545,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:34:38] local.INFO: GPS data processed {"connection_id":142898,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:34:38] local.INFO: Acknowledgment sent {"connection_id":142898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:34:38] local.INFO: TCP Data received {"connection_id":142899,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2ceaae8012d9f3b0005a19860001500bf2b..."} 
[2026-07-27 14:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2ceaae8012d9f3b0005a19860001500bf2b..."} 
[2026-07-27 14:34:38] local.INFO: Processing buffer {"connection_id":142899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2ceaae8012d9f3b0005a19860001500bf2b..."} 
[2026-07-27 14:34:38] local.INFO: Packet analysis {"connection_id":142899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2ce"} 
[2026-07-27 14:34:38] local.INFO: Extracted packet for processing {"connection_id":142899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2ce"} 
[2026-07-27 14:34:38] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":21,"angle":191,"satellites":43,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 14:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:34:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996500480001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:34:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 14:34:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972979573867126784,"note":"Value kept but may cause issues"} 
[2026-07-27 14:34:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:34:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785142881000,"timestamp_ms":1785142881000,"timestamp_seconds":1785142881,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2ceaae8"} 
[2026-07-27 14:34:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:34:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 14:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-07-27 14:34:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:34:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:34:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:34:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:34:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:34:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:34:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:34:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:34:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 14:34:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 14:34:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996500480001,"66":26223,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6972979573867126784},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 14:34:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 14:34:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 14:34:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996500480001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:34:38] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 14:34:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 14:34:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:34:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972979573867126784,"description":"Unknown IO ID 45"} 
[2026-07-27 14:34:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996500480001,"power":26223,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6972979573867126784}} 
[2026-07-27 14:34:39] local.INFO: DEBUG: GPS processor result {"connection_id":142899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:34:39] local.INFO: GPS data processed {"connection_id":142899,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:34:39] local.INFO: Acknowledgment sent {"connection_id":142899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:34:59] local.INFO: TCP Data received {"connection_id":145317,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145317,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:34:59] local.INFO: Processing buffer {"connection_id":145317,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:34:59] local.INFO: IMEI packet received {"connection_id":145317,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 14:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":145317,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:35:04] local.INFO: TCP Data received {"connection_id":145317,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145317,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:35:04] local.INFO: Processing buffer {"connection_id":145317,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:35:04] local.INFO: IMEI packet received {"connection_id":145317,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 14:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":145317,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:35:06] local.INFO: TCP Data received {"connection_id":145317,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2ce6498012d1966c0071fee78003b005c28..."} 
[2026-07-27 14:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145317,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2ce6498012d1966c0071fee78003b005c28..."} 
[2026-07-27 14:35:06] local.INFO: Processing buffer {"connection_id":145317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2ce6498012d1966c0071fee78003b005c28..."} 
[2026-07-27 14:35:06] local.INFO: Packet analysis {"connection_id":145317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2ce"} 
[2026-07-27 14:35:06] local.INFO: Extracted packet for processing {"connection_id":145317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2ce"} 
[2026-07-27 14:35:06] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":40,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:35:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996567552001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:35:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:35:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:35:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:35:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785142863000,"timestamp_ms":1785142863000,"timestamp_seconds":1785142863,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2ce6498"} 
[2026-07-27 14:35:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:35:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-27 14:35:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:35:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:35:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:35:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:35:06] local.INFO: Teltonika packet parsed successfully {"connection_id":145317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:35:06] local.INFO: Passing IMEI to GPS processor {"connection_id":145317,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:35:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":145317,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:35:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:35:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:35:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:35:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996567552001,"66":12341,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:35:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:35:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:35:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996567552001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:35:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:35:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:35:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:35:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:35:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996567552001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:35:06] local.INFO: DEBUG: GPS processor result {"connection_id":145317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553547,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:35:06] local.INFO: GPS data processed {"connection_id":145317,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:35:06] local.INFO: Acknowledgment sent {"connection_id":145317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:35:11] local.INFO: TCP Data received {"connection_id":142899,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2ceaae8012d9f3b0005a19860001500bf2b..."} 
[2026-07-27 14:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2ceaae8012d9f3b0005a19860001500bf2b..."} 
[2026-07-27 14:35:11] local.INFO: Processing buffer {"connection_id":142899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2ceaae8012d9f3b0005a19860001500bf2b..."} 
[2026-07-27 14:35:11] local.INFO: Packet analysis {"connection_id":142899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2ce"} 
[2026-07-27 14:35:11] local.INFO: Extracted packet for processing {"connection_id":142899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2ce"} 
[2026-07-27 14:35:11] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":21,"angle":191,"satellites":43,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 14: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-07-27 14:35:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996500480001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:35:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 14:35:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972979573867126784,"note":"Value kept but may cause issues"} 
[2026-07-27 14:35:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:35:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785142881000,"timestamp_ms":1785142881000,"timestamp_seconds":1785142881,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2ceaae8"} 
[2026-07-27 14:35:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:35:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 14: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":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-07-27 14:35:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14: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-07-27 14:35:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:35:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:35:11] local.INFO: Teltonika packet parsed successfully {"connection_id":142899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:35:11] local.INFO: Passing IMEI to GPS processor {"connection_id":142899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:35:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":142899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:35:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:35:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 14:35:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 14:35:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996500480001,"66":26223,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6972979573867126784},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 14:35:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 14:35:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 14:35:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996500480001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:35:11] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 14:35:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 14:35:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:35:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972979573867126784,"description":"Unknown IO ID 45"} 
[2026-07-27 14:35:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996500480001,"power":26223,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6972979573867126784}} 
[2026-07-27 14:35:11] local.INFO: DEBUG: GPS processor result {"connection_id":142899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:35:11] local.INFO: GPS data processed {"connection_id":142899,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:35:11] local.INFO: Acknowledgment sent {"connection_id":142899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:35:37] local.INFO: TCP Data received {"connection_id":145318,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:35:37] local.INFO: Processing buffer {"connection_id":145318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:35:37] local.INFO: IMEI packet received {"connection_id":145318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 14:35:37] local.INFO: IMEI acknowledgment sent {"connection_id":145318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:35:37] local.INFO: TCP Data received {"connection_id":145317,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2ceb6a0012d1966c0071fee78003b005c2a..."} 
[2026-07-27 14:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145317,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2ceb6a0012d1966c0071fee78003b005c2a..."} 
[2026-07-27 14:35:37] local.INFO: Processing buffer {"connection_id":145317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2ceb6a0012d1966c0071fee78003b005c2a..."} 
[2026-07-27 14:35:37] local.INFO: Packet analysis {"connection_id":145317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2ce"} 
[2026-07-27 14:35:37] local.INFO: Extracted packet for processing {"connection_id":145317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2ce"} 
[2026-07-27 14:35:37] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":42,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996572928001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:35:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:35:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785142884000,"timestamp_ms":1785142884000,"timestamp_seconds":1785142884,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2ceb6a0"} 
[2026-07-27 14:35:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:35:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 14:35:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:35:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:35:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145317,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145317,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:35:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996572928001,"66":12341,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996572928001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:35:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:35:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:35:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:35:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996572928001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:35:38] local.INFO: DEBUG: GPS processor result {"connection_id":145317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553549,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:35:38] local.INFO: GPS data processed {"connection_id":145317,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:35:38] local.INFO: Acknowledgment sent {"connection_id":145317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:35:42] local.INFO: TCP Data received {"connection_id":145318,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:35:42] local.INFO: Processing buffer {"connection_id":145318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:35:42] local.INFO: IMEI packet received {"connection_id":145318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 14:35:42] local.INFO: IMEI acknowledgment sent {"connection_id":145318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:35:43] local.INFO: TCP Data received {"connection_id":145318,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2ceaae8012d9f3b0005a19860001500bf2b..."} 
[2026-07-27 14:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2ceaae8012d9f3b0005a19860001500bf2b..."} 
[2026-07-27 14:35:43] local.INFO: Processing buffer {"connection_id":145318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2ceaae8012d9f3b0005a19860001500bf2b..."} 
[2026-07-27 14:35:43] local.INFO: Packet analysis {"connection_id":145318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2ce"} 
[2026-07-27 14:35:43] local.INFO: Extracted packet for processing {"connection_id":145318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2ce"} 
[2026-07-27 14:35:43] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":21,"angle":191,"satellites":43,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 14:35:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:35:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996500480001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:35:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 14:35:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972979573867126784,"note":"Value kept but may cause issues"} 
[2026-07-27 14:35:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:35:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785142881000,"timestamp_ms":1785142881000,"timestamp_seconds":1785142881,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2ceaae8"} 
[2026-07-27 14:35:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:35:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 14: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":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-07-27 14:35:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:35:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:35:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:35:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:35:43] local.INFO: Teltonika packet parsed successfully {"connection_id":145318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:35:43] local.INFO: Passing IMEI to GPS processor {"connection_id":145318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:35:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":145318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:35:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:35:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 14:35:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 14:35:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996500480001,"66":26223,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6972979573867126784},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 14:35:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 14:35:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 14:35:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996500480001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:35:43] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 14:35:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 14:35:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:35:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972979573867126784,"description":"Unknown IO ID 45"} 
[2026-07-27 14:35:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996500480001,"power":26223,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6972979573867126784}} 
[2026-07-27 14:35:43] local.INFO: DEBUG: GPS processor result {"connection_id":145318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:35:43] local.INFO: GPS data processed {"connection_id":145318,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:35:43] local.INFO: Acknowledgment sent {"connection_id":145318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:35:48] local.INFO: TCP Data received {"connection_id":145318,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2ceaae8012d9f3b0005a19860001500bf2b..."} 
[2026-07-27 14:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2ceaae8012d9f3b0005a19860001500bf2b..."} 
[2026-07-27 14:35:48] local.INFO: Processing buffer {"connection_id":145318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2ceaae8012d9f3b0005a19860001500bf2b..."} 
[2026-07-27 14:35:48] local.INFO: Packet analysis {"connection_id":145318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2ce"} 
[2026-07-27 14:35:48] local.INFO: Extracted packet for processing {"connection_id":145318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2ce"} 
[2026-07-27 14:35:48] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":21,"angle":191,"satellites":43,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 14:35:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:35:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996500480001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:35:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 14:35:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972979573867126784,"note":"Value kept but may cause issues"} 
[2026-07-27 14:35:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:35:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785142881000,"timestamp_ms":1785142881000,"timestamp_seconds":1785142881,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2ceaae8"} 
[2026-07-27 14:35:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:35:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 14:35:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-07-27 14:35:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:35:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:35:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:35:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:35:48] local.INFO: Teltonika packet parsed successfully {"connection_id":145318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:35:48] local.INFO: Passing IMEI to GPS processor {"connection_id":145318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:35:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":145318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:35:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:35:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 14:35:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 14:35:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996500480001,"66":26223,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6972979573867126784},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 14:35:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 14:35:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 14:35:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996500480001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:35:48] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 14:35:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 14:35:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:35:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972979573867126784,"description":"Unknown IO ID 45"} 
[2026-07-27 14:35:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996500480001,"power":26223,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6972979573867126784}} 
[2026-07-27 14:35:48] local.INFO: DEBUG: GPS processor result {"connection_id":145318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:35:48] local.INFO: GPS data processed {"connection_id":145318,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:35:48] local.INFO: Acknowledgment sent {"connection_id":145318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:36:05] local.INFO: TCP Data received {"connection_id":143043,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143043,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:36:05] local.INFO: Processing buffer {"connection_id":143043,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:36:05] local.INFO: IMEI packet received {"connection_id":143043,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 14:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":143043,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:36:10] local.INFO: TCP Data received {"connection_id":143043,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143043,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:36:10] local.INFO: Processing buffer {"connection_id":143043,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:36:10] local.INFO: IMEI packet received {"connection_id":143043,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 14:36:10] local.INFO: IMEI acknowledgment sent {"connection_id":143043,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:36:11] local.INFO: TCP Data received {"connection_id":143043,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2cf08a8012d1966c0071fee78003b005c2a..."} 
[2026-07-27 14:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2cf08a8012d1966c0071fee78003b005c2a..."} 
[2026-07-27 14:36:11] local.INFO: Processing buffer {"connection_id":143043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2cf08a8012d1966c0071fee78003b005c2a..."} 
[2026-07-27 14:36:11] local.INFO: Packet analysis {"connection_id":143043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2cf"} 
[2026-07-27 14:36:11] local.INFO: Extracted packet for processing {"connection_id":143043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2cf"} 
[2026-07-27 14:36:11] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":42,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:36:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996578304001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:36:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:36:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:36:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:36:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785142905000,"timestamp_ms":1785142905000,"timestamp_seconds":1785142905,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2cf08a8"} 
[2026-07-27 14:36:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:36:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 14:36:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:36:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:36:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:36:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:36:11] local.INFO: Teltonika packet parsed successfully {"connection_id":143043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:36:11] local.INFO: Passing IMEI to GPS processor {"connection_id":143043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:36:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":143043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:36:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:36:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:36:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:36:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996578304001,"66":12374,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:36:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:36:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:36:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996578304001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:36:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:36:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:36:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:36:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:36:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996578304001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:36:11] local.INFO: DEBUG: GPS processor result {"connection_id":143043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553552,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:36:11] local.INFO: GPS data processed {"connection_id":143043,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:36:11] local.INFO: Acknowledgment sent {"connection_id":143043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:36:15] local.INFO: TCP Data received {"connection_id":143043,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2cf5ab0012d1966c0071fee78003b005c29..."} 
[2026-07-27 14:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2cf5ab0012d1966c0071fee78003b005c29..."} 
[2026-07-27 14:36:15] local.INFO: Processing buffer {"connection_id":143043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2cf5ab0012d1966c0071fee78003b005c29..."} 
[2026-07-27 14:36:15] local.INFO: Packet analysis {"connection_id":143043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2cf"} 
[2026-07-27 14:36:15] local.INFO: Extracted packet for processing {"connection_id":143043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2cf"} 
[2026-07-27 14:36:15] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":41,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14: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-07-27 14:36:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996583680001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:36:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:36:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:36: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-07-27 14:36:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785142926000,"timestamp_ms":1785142926000,"timestamp_seconds":1785142926,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2cf5ab0"} 
[2026-07-27 14:36:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:36:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:36:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-27 14:36:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14: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-07-27 14:36:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:36:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:36:15] local.INFO: Teltonika packet parsed successfully {"connection_id":143043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:36:15] local.INFO: Passing IMEI to GPS processor {"connection_id":143043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:36:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":143043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:36:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:36:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:36:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:36:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996583680001,"66":12385,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:36:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:36:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:36:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996583680001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:36:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:36:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:36:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:36:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:36:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996583680001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:36:15] local.INFO: DEBUG: GPS processor result {"connection_id":143043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553553,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:36:15] local.INFO: GPS data processed {"connection_id":143043,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:36:15] local.INFO: Acknowledgment sent {"connection_id":143043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:36:32] local.INFO: TCP Data received {"connection_id":143044,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:36:32] local.INFO: Processing buffer {"connection_id":143044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:36:32] local.INFO: IMEI packet received {"connection_id":143044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 14:36:32] local.INFO: IMEI acknowledgment sent {"connection_id":143044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:36:37] local.INFO: TCP Data received {"connection_id":143044,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:36:37] local.INFO: Processing buffer {"connection_id":143044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:36:37] local.INFO: IMEI packet received {"connection_id":143044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 14:36:37] local.INFO: IMEI acknowledgment sent {"connection_id":143044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:36:38] local.INFO: TCP Data received {"connection_id":143044,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2ceaae8012d9f3b0005a19860001500bf2b..."} 
[2026-07-27 14:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2ceaae8012d9f3b0005a19860001500bf2b..."} 
[2026-07-27 14:36:38] local.INFO: Processing buffer {"connection_id":143044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2ceaae8012d9f3b0005a19860001500bf2b..."} 
[2026-07-27 14:36:38] local.INFO: Packet analysis {"connection_id":143044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2ce"} 
[2026-07-27 14:36:38] local.INFO: Extracted packet for processing {"connection_id":143044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2ce"} 
[2026-07-27 14:36:38] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":21,"angle":191,"satellites":43,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 14:36:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:36:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996500480001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:36:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 14:36:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972979573867126784,"note":"Value kept but may cause issues"} 
[2026-07-27 14:36:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:36:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785142881000,"timestamp_ms":1785142881000,"timestamp_seconds":1785142881,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2ceaae8"} 
[2026-07-27 14:36:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:36:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 14:36:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-07-27 14:36:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:36:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:36:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:36:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:36:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:36:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:36:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:36:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:36:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 14:36:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 14:36:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996500480001,"66":26223,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6972979573867126784},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 14:36:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 14:36:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 14:36:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996500480001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:36:38] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 14:36:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 14:36:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:36:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972979573867126784,"description":"Unknown IO ID 45"} 
[2026-07-27 14:36:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996500480001,"power":26223,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6972979573867126784}} 
[2026-07-27 14:36:38] local.INFO: DEBUG: GPS processor result {"connection_id":143044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:36:38] local.INFO: GPS data processed {"connection_id":143044,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:36:38] local.INFO: Acknowledgment sent {"connection_id":143044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:36:57] local.INFO: TCP Data received {"connection_id":145319,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145319,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:36:57] local.INFO: Processing buffer {"connection_id":145319,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:36:57] local.INFO: IMEI packet received {"connection_id":145319,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 14:36:57] local.INFO: IMEI acknowledgment sent {"connection_id":145319,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:37:00] local.INFO: TCP Data received {"connection_id":145319,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145319,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:37:00] local.INFO: Processing buffer {"connection_id":145319,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:37:00] local.INFO: IMEI packet received {"connection_id":145319,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 14:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":145319,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:37:05] local.INFO: TCP Data received {"connection_id":145319,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145319,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:37:05] local.INFO: Processing buffer {"connection_id":145319,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:37:05] local.INFO: IMEI packet received {"connection_id":145319,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 14:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":145319,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:37:06] local.INFO: TCP Data received {"connection_id":145319,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2cfacb8012d1966c0071fee78003b005c27..."} 
[2026-07-27 14:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2cfacb8012d1966c0071fee78003b005c27..."} 
[2026-07-27 14:37:06] local.INFO: Processing buffer {"connection_id":145319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2cfacb8012d1966c0071fee78003b005c27..."} 
[2026-07-27 14:37:06] local.INFO: Packet analysis {"connection_id":145319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2cf"} 
[2026-07-27 14:37:06] local.INFO: Extracted packet for processing {"connection_id":145319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2cf"} 
[2026-07-27 14:37:06] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":39,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:37:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996589056001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:37:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:37:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:37:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:37:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785142947000,"timestamp_ms":1785142947000,"timestamp_seconds":1785142947,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2cfacb8"} 
[2026-07-27 14:37:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:37:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-27 14:37:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:37:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:37:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:37:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:37:06] local.INFO: Teltonika packet parsed successfully {"connection_id":145319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:37:06] local.INFO: Passing IMEI to GPS processor {"connection_id":145319,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:37:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":145319,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:37:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:37:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:37:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:37:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996589056001,"66":12363,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:37:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:37:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:37:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996589056001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:37:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:37:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:37:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:37:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:37:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996589056001,"power":12363,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:37:06] local.INFO: DEBUG: GPS processor result {"connection_id":145319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553555,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:37:06] local.INFO: GPS data processed {"connection_id":145319,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:37:06] local.INFO: Acknowledgment sent {"connection_id":145319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:37:10] local.INFO: TCP Data received {"connection_id":143044,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2d342b0012d9f3b0005a19860001500bf2b..."} 
[2026-07-27 14:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2d342b0012d9f3b0005a19860001500bf2b..."} 
[2026-07-27 14:37:10] local.INFO: Processing buffer {"connection_id":143044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2d342b0012d9f3b0005a19860001500bf2b..."} 
[2026-07-27 14:37:10] local.INFO: Packet analysis {"connection_id":143044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2d3"} 
[2026-07-27 14:37:10] local.INFO: Extracted packet for processing {"connection_id":143044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2d3"} 
[2026-07-27 14:37:10] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":21,"angle":191,"satellites":43,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 14:37:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:37:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996577536001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:37:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 14:37:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972979573867126784,"note":"Value kept but may cause issues"} 
[2026-07-27 14:37:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:37:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785143182000,"timestamp_ms":1785143182000,"timestamp_seconds":1785143182,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2d342b0"} 
[2026-07-27 14:37:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:37:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 14:37:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-07-27 14:37:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:37:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:37:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:37:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:37:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:37:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:37:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:37:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:37:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 14:37:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 14:37:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996577536001,"66":26115,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6972979573867126784},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 14:37:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 14:37:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 14:37:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996577536001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:37:10] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 14:37:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 14:37:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:37:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972979573867126784,"description":"Unknown IO ID 45"} 
[2026-07-27 14:37:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996577536001,"power":26115,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6972979573867126784}} 
[2026-07-27 14:37:10] local.INFO: DEBUG: GPS processor result {"connection_id":143044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:37:10] local.INFO: GPS data processed {"connection_id":143044,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:37:10] local.INFO: Acknowledgment sent {"connection_id":143044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:37:32] local.INFO: TCP Data received {"connection_id":144026,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:37:32] local.INFO: Processing buffer {"connection_id":144026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:37:32] local.INFO: IMEI packet received {"connection_id":144026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 14:37:32] local.INFO: IMEI acknowledgment sent {"connection_id":144026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:37:37] local.INFO: TCP Data received {"connection_id":144026,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:37:37] local.INFO: Processing buffer {"connection_id":144026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:37:37] local.INFO: IMEI packet received {"connection_id":144026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 14:37:37] local.INFO: IMEI acknowledgment sent {"connection_id":144026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:37:38] local.INFO: TCP Data received {"connection_id":145319,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2cffec0012d1966c0071fee78003b005c28..."} 
[2026-07-27 14:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2cffec0012d1966c0071fee78003b005c28..."} 
[2026-07-27 14:37:38] local.INFO: Processing buffer {"connection_id":145319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2cffec0012d1966c0071fee78003b005c28..."} 
[2026-07-27 14:37:38] local.INFO: Packet analysis {"connection_id":145319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2cf"} 
[2026-07-27 14:37:38] local.INFO: Extracted packet for processing {"connection_id":145319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2cf"} 
[2026-07-27 14:37:38] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":40,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:37:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996594432001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:37:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:37:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:37:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:37:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785142968000,"timestamp_ms":1785142968000,"timestamp_seconds":1785142968,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2cffec0"} 
[2026-07-27 14:37:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:37:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-27 14:37:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:37:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:37:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:37:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:37:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:37:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145319,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:37:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145319,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:37:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:37:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:37:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:37:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996594432001,"66":12374,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:37:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:37:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:37:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996594432001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:37:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:37:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:37:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:37:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:37:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996594432001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:37:38] local.INFO: DEBUG: GPS processor result {"connection_id":145319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553557,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:37:38] local.INFO: GPS data processed {"connection_id":145319,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:37:38] local.INFO: Acknowledgment sent {"connection_id":145319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:37:39] local.INFO: TCP Data received {"connection_id":144026,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2d342b0012d9f3b0005a19860001500bf2b..."} 
[2026-07-27 14:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144026,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2d342b0012d9f3b0005a19860001500bf2b..."} 
[2026-07-27 14:37:39] local.INFO: Processing buffer {"connection_id":144026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2d342b0012d9f3b0005a19860001500bf2b..."} 
[2026-07-27 14:37:39] local.INFO: Packet analysis {"connection_id":144026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2d3"} 
[2026-07-27 14:37:39] local.INFO: Extracted packet for processing {"connection_id":144026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2d3"} 
[2026-07-27 14:37:39] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":21,"angle":191,"satellites":43,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 14: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-07-27 14:37:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996577536001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:37:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 14:37:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972979573867126784,"note":"Value kept but may cause issues"} 
[2026-07-27 14:37:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:37:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785143182000,"timestamp_ms":1785143182000,"timestamp_seconds":1785143182,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2d342b0"} 
[2026-07-27 14:37:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:37:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 14: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":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-07-27 14:37:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14: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-07-27 14:37:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:37:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:37:39] local.INFO: Teltonika packet parsed successfully {"connection_id":144026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:37:39] local.INFO: Passing IMEI to GPS processor {"connection_id":144026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:37:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":144026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:37:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:37:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 14:37:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 14:37:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996577536001,"66":26115,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6972979573867126784},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 14:37:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 14:37:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 14:37:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996577536001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:37:39] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 14:37:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 14:37:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:37:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972979573867126784,"description":"Unknown IO ID 45"} 
[2026-07-27 14:37:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996577536001,"power":26115,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6972979573867126784}} 
[2026-07-27 14:37:39] local.INFO: DEBUG: GPS processor result {"connection_id":144026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:37:39] local.INFO: GPS data processed {"connection_id":144026,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:37:39] local.INFO: Acknowledgment sent {"connection_id":144026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:37:46] local.INFO: TCP Data received {"connection_id":144025,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 14:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144025,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 14:37:46] local.INFO: Processing buffer {"connection_id":144025,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 14:37:46] local.INFO: IMEI packet received {"connection_id":144025,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 14:37:46] local.INFO: IMEI acknowledgment sent {"connection_id":144025,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:37:59] local.INFO: TCP Data received {"connection_id":143045,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143045,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:37:59] local.INFO: Processing buffer {"connection_id":143045,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:37:59] local.INFO: IMEI packet received {"connection_id":143045,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 14:37:59] local.INFO: IMEI acknowledgment sent {"connection_id":143045,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:37:59] local.INFO: TCP Data received {"connection_id":143045,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143045,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:37:59] local.INFO: Processing buffer {"connection_id":143045,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:37:59] local.INFO: IMEI packet received {"connection_id":143045,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 14:37:59] local.INFO: IMEI acknowledgment sent {"connection_id":143045,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:38:04] local.INFO: TCP Data received {"connection_id":143045,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143045,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:38:04] local.INFO: Processing buffer {"connection_id":143045,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:38:04] local.INFO: IMEI packet received {"connection_id":143045,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 14:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":143045,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:38:06] local.INFO: TCP Data received {"connection_id":143045,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2d38518012d1966c0071fee78003b005c28..."} 
[2026-07-27 14:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143045,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2d38518012d1966c0071fee78003b005c28..."} 
[2026-07-27 14:38:06] local.INFO: Processing buffer {"connection_id":143045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2d38518012d1966c0071fee78003b005c28..."} 
[2026-07-27 14:38:06] local.INFO: Packet analysis {"connection_id":143045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2d3"} 
[2026-07-27 14:38:06] local.INFO: Extracted packet for processing {"connection_id":143045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2d3"} 
[2026-07-27 14:38:06] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":40,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:38:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996653568001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:38:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:38:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:38:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:38:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785143199000,"timestamp_ms":1785143199000,"timestamp_seconds":1785143199,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2d38518"} 
[2026-07-27 14:38:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:38:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-07-27 14:38:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1795,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:38:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:38:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:38:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:38:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:38:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:38:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:38:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:38:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:38:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:38:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996653568001,"66":12363,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:38:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:38:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:38:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996653568001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:38:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:38:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:38:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:38:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:38:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996653568001,"power":12363,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:38:06] local.INFO: DEBUG: GPS processor result {"connection_id":143045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553559,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:38:06] local.INFO: GPS data processed {"connection_id":143045,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:38:06] local.INFO: Acknowledgment sent {"connection_id":143045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:38:10] local.INFO: TCP Data received {"connection_id":144026,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2d342b0012d9f3b0005a19860001500bf2b..."} 
[2026-07-27 14:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144026,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2d342b0012d9f3b0005a19860001500bf2b..."} 
[2026-07-27 14:38:10] local.INFO: Processing buffer {"connection_id":144026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2d342b0012d9f3b0005a19860001500bf2b..."} 
[2026-07-27 14:38:10] local.INFO: Packet analysis {"connection_id":144026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2d3"} 
[2026-07-27 14:38:10] local.INFO: Extracted packet for processing {"connection_id":144026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2d3"} 
[2026-07-27 14:38:10] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":21,"angle":191,"satellites":43,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 14:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:38:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996577536001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:38:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 14:38:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972979573867126784,"note":"Value kept but may cause issues"} 
[2026-07-27 14:38:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:38:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785143182000,"timestamp_ms":1785143182000,"timestamp_seconds":1785143182,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2d342b0"} 
[2026-07-27 14:38:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:38:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 14: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":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-07-27 14:38:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:38:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:38:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:38:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:38:10] local.INFO: Teltonika packet parsed successfully {"connection_id":144026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:38:10] local.INFO: Passing IMEI to GPS processor {"connection_id":144026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:38:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":144026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:38:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:38:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 14:38:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 14:38:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996577536001,"66":26115,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6972979573867126784},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 14:38:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 14:38:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 14:38:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996577536001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:38:10] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 14:38:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 14:38:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:38:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972979573867126784,"description":"Unknown IO ID 45"} 
[2026-07-27 14:38:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996577536001,"power":26115,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6972979573867126784}} 
[2026-07-27 14:38:10] local.INFO: DEBUG: GPS processor result {"connection_id":144026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:38:10] local.INFO: GPS data processed {"connection_id":144026,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:38:10] local.INFO: Acknowledgment sent {"connection_id":144026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:38:32] local.INFO: TCP Data received {"connection_id":144027,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:38:32] local.INFO: Processing buffer {"connection_id":144027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:38:32] local.INFO: IMEI packet received {"connection_id":144027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 14:38:32] local.INFO: IMEI acknowledgment sent {"connection_id":144027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:38:37] local.INFO: TCP Data received {"connection_id":144027,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:38:37] local.INFO: Processing buffer {"connection_id":144027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:38:37] local.INFO: IMEI packet received {"connection_id":144027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 14:38:37] local.INFO: IMEI acknowledgment sent {"connection_id":144027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:38:37] local.INFO: TCP Data received {"connection_id":143045,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2d3d720012d1966c0071fee78003b005c29..."} 
[2026-07-27 14:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143045,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2d3d720012d1966c0071fee78003b005c29..."} 
[2026-07-27 14:38:37] local.INFO: Processing buffer {"connection_id":143045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2d3d720012d1966c0071fee78003b005c29..."} 
[2026-07-27 14:38:37] local.INFO: Packet analysis {"connection_id":143045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2d3"} 
[2026-07-27 14:38:37] local.INFO: Extracted packet for processing {"connection_id":143045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2d3"} 
[2026-07-27 14:38:37] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":41,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996658944001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:38:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:38:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:38:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:38:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785143220000,"timestamp_ms":1785143220000,"timestamp_seconds":1785143220,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2d3d720"} 
[2026-07-27 14:38:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:38:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-27 14:38:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:38:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:38:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:38:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:38:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:38:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:38:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:38:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:38:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:38:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:38:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996658944001,"66":12374,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:38:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:38:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:38:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996658944001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:38:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:38:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:38:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:38:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:38:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996658944001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:38:37] local.INFO: DEBUG: GPS processor result {"connection_id":143045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553561,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:38:37] local.INFO: GPS data processed {"connection_id":143045,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:38:37] local.INFO: Acknowledgment sent {"connection_id":143045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:38:39] local.INFO: TCP Data received {"connection_id":144027,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2d342b0012d9f3b0005a19860001500bf2b..."} 
[2026-07-27 14:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2d342b0012d9f3b0005a19860001500bf2b..."} 
[2026-07-27 14:38:39] local.INFO: Processing buffer {"connection_id":144027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2d342b0012d9f3b0005a19860001500bf2b..."} 
[2026-07-27 14:38:39] local.INFO: Packet analysis {"connection_id":144027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2d3"} 
[2026-07-27 14:38:39] local.INFO: Extracted packet for processing {"connection_id":144027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2d3"} 
[2026-07-27 14:38:39] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":21,"angle":191,"satellites":43,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 14:38:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:38:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996577536001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:38:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 14:38:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972979573867126784,"note":"Value kept but may cause issues"} 
[2026-07-27 14:38:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:38:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785143182000,"timestamp_ms":1785143182000,"timestamp_seconds":1785143182,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2d342b0"} 
[2026-07-27 14:38:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:38:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 14: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":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-07-27 14:38:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:38:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:38:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:38:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:38:39] local.INFO: Teltonika packet parsed successfully {"connection_id":144027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:38:39] local.INFO: Passing IMEI to GPS processor {"connection_id":144027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:38:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":144027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:38:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:38:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 14:38:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 14:38:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996577536001,"66":26115,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6972979573867126784},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 14:38:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 14:38:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 14:38:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996577536001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:38:39] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 14:38:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 14:38:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:38:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972979573867126784,"description":"Unknown IO ID 45"} 
[2026-07-27 14:38:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996577536001,"power":26115,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6972979573867126784}} 
[2026-07-27 14:38:39] local.INFO: DEBUG: GPS processor result {"connection_id":144027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:38:39] local.INFO: GPS data processed {"connection_id":144027,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:38:39] local.INFO: Acknowledgment sent {"connection_id":144027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:39:00] local.INFO: TCP Data received {"connection_id":143046,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143046,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:39:00] local.INFO: Processing buffer {"connection_id":143046,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:39:00] local.INFO: IMEI packet received {"connection_id":143046,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 14:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":143046,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:39:02] local.INFO: TCP Data received {"connection_id":143046,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143046,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:39:02] local.INFO: Processing buffer {"connection_id":143046,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:39:02] local.INFO: IMEI packet received {"connection_id":143046,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 14:39:02] local.INFO: IMEI acknowledgment sent {"connection_id":143046,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:39:04] local.INFO: TCP Data received {"connection_id":143046,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143046,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:39:04] local.INFO: Processing buffer {"connection_id":143046,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:39:04] local.INFO: IMEI packet received {"connection_id":143046,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 14:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":143046,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:39:06] local.INFO: TCP Data received {"connection_id":143046,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2d42928012d1966c0071fee78003b005c29..."} 
[2026-07-27 14:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2d42928012d1966c0071fee78003b005c29..."} 
[2026-07-27 14:39:06] local.INFO: Processing buffer {"connection_id":143046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2d42928012d1966c0071fee78003b005c29..."} 
[2026-07-27 14:39:06] local.INFO: Packet analysis {"connection_id":143046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2d4"} 
[2026-07-27 14:39:06] local.INFO: Extracted packet for processing {"connection_id":143046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2d4"} 
[2026-07-27 14:39:06] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":41,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:39:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996664320001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:39:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:39:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:39:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:39:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785143241000,"timestamp_ms":1785143241000,"timestamp_seconds":1785143241,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2d42928"} 
[2026-07-27 14:39:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:39:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-27 14:39:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:39:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:39:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:39:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:39:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:39:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:39:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:39:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:39:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:39:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:39:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996664320001,"66":11602,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:39:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:39:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:39:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996664320001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:39:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:39:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:39:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:39:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:39:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996664320001,"power":11602,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:39:06] local.INFO: DEBUG: GPS processor result {"connection_id":143046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553563,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:39:06] local.INFO: GPS data processed {"connection_id":143046,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:39:06] local.INFO: Acknowledgment sent {"connection_id":143046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:39:10] local.INFO: TCP Data received {"connection_id":143046,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2d47b30012d1966c0071fee78003b005c2a..."} 
[2026-07-27 14:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2d47b30012d1966c0071fee78003b005c2a..."} 
[2026-07-27 14:39:10] local.INFO: Processing buffer {"connection_id":143046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2d47b30012d1966c0071fee78003b005c2a..."} 
[2026-07-27 14:39:10] local.INFO: Packet analysis {"connection_id":143046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2d4"} 
[2026-07-27 14:39:10] local.INFO: Extracted packet for processing {"connection_id":143046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2d4"} 
[2026-07-27 14:39:10] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":42,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14:39:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:39:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996669696001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:39:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:39:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:39:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:39:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785143262000,"timestamp_ms":1785143262000,"timestamp_seconds":1785143262,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2d47b30"} 
[2026-07-27 14:39:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:39:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14: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":45,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-07-27 14:39:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1161,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:39:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:39:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:39:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:39:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:39:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:39:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:39:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:39:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:39:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:39:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996669696001,"66":12363,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:39:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:39:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:39:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996669696001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:39:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:39:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:39:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:39:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:39:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996669696001,"power":12363,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:39:10] local.INFO: DEBUG: GPS processor result {"connection_id":143046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553564,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:39:10] local.INFO: GPS data processed {"connection_id":143046,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:39:10] local.INFO: Acknowledgment sent {"connection_id":143046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:39:10] local.INFO: TCP Data received {"connection_id":144027,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2d342b0012d9f3b0005a19860001500bf2b..."} 
[2026-07-27 14:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2d342b0012d9f3b0005a19860001500bf2b..."} 
[2026-07-27 14:39:10] local.INFO: Processing buffer {"connection_id":144027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2d342b0012d9f3b0005a19860001500bf2b..."} 
[2026-07-27 14:39:10] local.INFO: Packet analysis {"connection_id":144027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2d3"} 
[2026-07-27 14:39:10] local.INFO: Extracted packet for processing {"connection_id":144027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2d3"} 
[2026-07-27 14:39:10] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":21,"angle":191,"satellites":43,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 14:39:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:39:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996577536001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:39:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 14:39:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972979573867126784,"note":"Value kept but may cause issues"} 
[2026-07-27 14:39:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:39:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785143182000,"timestamp_ms":1785143182000,"timestamp_seconds":1785143182,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2d342b0"} 
[2026-07-27 14:39:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:39:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 14: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":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-07-27 14:39:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:39:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:39:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:39:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:39:10] local.INFO: Teltonika packet parsed successfully {"connection_id":144027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:39:10] local.INFO: Passing IMEI to GPS processor {"connection_id":144027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:39:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":144027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14: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-07-27 14:39:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 14:39:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 14:39:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996577536001,"66":26115,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6972979573867126784},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 14:39:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 14:39:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 14:39:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996577536001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:39:11] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 14:39:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 14:39:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:39:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972979573867126784,"description":"Unknown IO ID 45"} 
[2026-07-27 14:39:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996577536001,"power":26115,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6972979573867126784}} 
[2026-07-27 14:39:11] local.INFO: DEBUG: GPS processor result {"connection_id":144027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:39:11] local.INFO: GPS data processed {"connection_id":144027,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:39:11] local.INFO: Acknowledgment sent {"connection_id":144027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:39:37] local.INFO: TCP Data received {"connection_id":145320,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:39:37] local.INFO: Processing buffer {"connection_id":145320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:39:37] local.INFO: IMEI packet received {"connection_id":145320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 14:39:37] local.INFO: IMEI acknowledgment sent {"connection_id":145320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:39:41] local.INFO: TCP Data received {"connection_id":143046,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2d4cd38012d1966c0071fee78003b005c29..."} 
[2026-07-27 14:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2d4cd38012d1966c0071fee78003b005c29..."} 
[2026-07-27 14:39:42] local.INFO: Processing buffer {"connection_id":143046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2d4cd38012d1966c0071fee78003b005c29..."} 
[2026-07-27 14:39:42] local.INFO: Packet analysis {"connection_id":143046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2d4"} 
[2026-07-27 14:39:42] local.INFO: Extracted packet for processing {"connection_id":143046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2d4"} 
[2026-07-27 14:39:42] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":41,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:39:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996675072001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:39:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:39:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:39:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:39:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785143283000,"timestamp_ms":1785143283000,"timestamp_seconds":1785143283,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2d4cd38"} 
[2026-07-27 14:39:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:39:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14: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":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-27 14:39:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:39:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:39:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:39:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:39:42] local.INFO: Teltonika packet parsed successfully {"connection_id":143046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:39:42] local.INFO: Passing IMEI to GPS processor {"connection_id":143046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:39:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":143046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:39:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:39:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:39:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:39:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996675072001,"66":12298,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:39:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:39:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:39:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996675072001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:39:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:39:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:39:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:39:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:39:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996675072001,"power":12298,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:39:42] local.INFO: DEBUG: GPS processor result {"connection_id":143046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553566,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:39:42] local.INFO: GPS data processed {"connection_id":143046,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:39:42] local.INFO: Acknowledgment sent {"connection_id":143046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:39:42] local.INFO: TCP Data received {"connection_id":145320,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:39:42] local.INFO: Processing buffer {"connection_id":145320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:39:42] local.INFO: IMEI packet received {"connection_id":145320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 14:39:42] local.INFO: IMEI acknowledgment sent {"connection_id":145320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:39:43] local.INFO: TCP Data received {"connection_id":145320,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2d342b0012d9f3b0005a19860001500bf2b..."} 
[2026-07-27 14:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2d342b0012d9f3b0005a19860001500bf2b..."} 
[2026-07-27 14:39:43] local.INFO: Processing buffer {"connection_id":145320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2d342b0012d9f3b0005a19860001500bf2b..."} 
[2026-07-27 14:39:43] local.INFO: Packet analysis {"connection_id":145320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2d3"} 
[2026-07-27 14:39:43] local.INFO: Extracted packet for processing {"connection_id":145320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2d3"} 
[2026-07-27 14:39:43] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":21,"angle":191,"satellites":43,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 14:39:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:39:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996577536001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:39:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 14:39:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972979573867126784,"note":"Value kept but may cause issues"} 
[2026-07-27 14:39:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:39:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785143182000,"timestamp_ms":1785143182000,"timestamp_seconds":1785143182,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2d342b0"} 
[2026-07-27 14:39:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:39:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 14: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":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-07-27 14:39:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:39:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:39:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:39:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:39:43] local.INFO: Teltonika packet parsed successfully {"connection_id":145320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:39:43] local.INFO: Passing IMEI to GPS processor {"connection_id":145320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:39:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":145320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14: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-07-27 14:39:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 14:39:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 14:39:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996577536001,"66":26115,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6972979573867126784},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 14:39:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 14:39:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 14:39:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996577536001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:39:43] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 14:39:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 14:39:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:39:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972979573867126784,"description":"Unknown IO ID 45"} 
[2026-07-27 14:39:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996577536001,"power":26115,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6972979573867126784}} 
[2026-07-27 14:39:43] local.INFO: DEBUG: GPS processor result {"connection_id":145320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:39:43] local.INFO: GPS data processed {"connection_id":145320,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:39:43] local.INFO: Acknowledgment sent {"connection_id":145320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:39:48] local.INFO: TCP Data received {"connection_id":145320,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2d342b0012d9f3b0005a19860001500bf2b..."} 
[2026-07-27 14:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2d342b0012d9f3b0005a19860001500bf2b..."} 
[2026-07-27 14:39:48] local.INFO: Processing buffer {"connection_id":145320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2d342b0012d9f3b0005a19860001500bf2b..."} 
[2026-07-27 14:39:48] local.INFO: Packet analysis {"connection_id":145320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2d3"} 
[2026-07-27 14:39:48] local.INFO: Extracted packet for processing {"connection_id":145320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2d3"} 
[2026-07-27 14:39:48] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":21,"angle":191,"satellites":43,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 14:39:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:39:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996577536001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:39:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 14:39:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972979573867126784,"note":"Value kept but may cause issues"} 
[2026-07-27 14:39:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:39:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785143182000,"timestamp_ms":1785143182000,"timestamp_seconds":1785143182,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2d342b0"} 
[2026-07-27 14:39:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:39:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 14: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":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-07-27 14:39:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:39:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:39:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:39:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:39:48] local.INFO: Teltonika packet parsed successfully {"connection_id":145320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:39:48] local.INFO: Passing IMEI to GPS processor {"connection_id":145320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:39:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":145320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:39:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:39:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 14:39:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 14:39:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996577536001,"66":26115,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6972979573867126784},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 14:39:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 14:39:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 14:39:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996577536001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:39:48] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 14:39:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 14:39:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:39:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972979573867126784,"description":"Unknown IO ID 45"} 
[2026-07-27 14:39:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996577536001,"power":26115,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6972979573867126784}} 
[2026-07-27 14:39:48] local.INFO: DEBUG: GPS processor result {"connection_id":145320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:39:48] local.INFO: GPS data processed {"connection_id":145320,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:39:48] local.INFO: Acknowledgment sent {"connection_id":145320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:39:59] local.INFO: TCP Data received {"connection_id":142900,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142900,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:39:59] local.INFO: Processing buffer {"connection_id":142900,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:39:59] local.INFO: IMEI packet received {"connection_id":142900,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 14:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":142900,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:40:05] local.INFO: TCP Data received {"connection_id":142900,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142900,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:40:05] local.INFO: Processing buffer {"connection_id":142900,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:40:05] local.INFO: IMEI packet received {"connection_id":142900,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 14:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":142900,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:40:07] local.INFO: TCP Data received {"connection_id":142900,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2d51f40012d1966c0071fee78003b005c2a..."} 
[2026-07-27 14:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142900,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2d51f40012d1966c0071fee78003b005c2a..."} 
[2026-07-27 14:40:07] local.INFO: Processing buffer {"connection_id":142900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2d51f40012d1966c0071fee78003b005c2a..."} 
[2026-07-27 14:40:07] local.INFO: Packet analysis {"connection_id":142900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2d5"} 
[2026-07-27 14:40:07] local.INFO: Extracted packet for processing {"connection_id":142900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2d5"} 
[2026-07-27 14:40:07] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":42,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:40:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996680448001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:40:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:40:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:40:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:40:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785143304000,"timestamp_ms":1785143304000,"timestamp_seconds":1785143304,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2d51f40"} 
[2026-07-27 14:40:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:40:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-27 14:40:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-27 14:40:07] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168048982131200,"note":"Value kept but may cause issues"} 
[2026-07-27 14:40:07] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452319,"note":"Value kept but may cause issues"} 
[2026-07-27 14:40:07] local.WARNING: Large IO value detected {"io_id":132,"raw_value":-7926335344172072959,"note":"Value kept but may cause issues"} 
[2026-07-27 14:40:07] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-6714146864273483418,"note":"Value kept but may cause issues"} 
[2026-07-27 14:40:07] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513391081710878812,"note":"Value kept but may cause issues"} 
[2026-07-27 14:40:07] local.WARNING: Large IO value detected {"io_id":59,"raw_value":25940777834119168,"note":"Value kept but may cause issues"} 
[2026-07-27 14:40:07] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832598,"note":"Value kept but may cause issues"} 
[2026-07-27 14:40:07] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683571937968334,"note":"Value kept but may cause issues"} 
[2026-07-27 14:40:07] local.WARNING: Large IO value detected {"io_id":162,"raw_value":3548715009,"note":"Value kept but may cause issues"} 
[2026-07-27 14:40:07] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2224160768,"note":"Value kept but may cause issues"} 
[2026-07-27 14:40:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-27 14:40:07] local.WARNING: Large IO value detected {"io_id":102,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-07-27 14:40:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":2566966759,"note":"Value kept but may cause issues"} 
[2026-07-27 14:40:07] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,121,28,24,241,158,16,132,159,123,45,192,238,59,42,10,66,41,215,1,240,86,162,31,4,113,205,51,102,120,239,44,2,7,40],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-07-27 14:40:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4251499379401162752,"timestamp_seconds":4251499379401163.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 14:40:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:40:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:40:07] local.INFO: Teltonika packet parsed successfully {"connection_id":142900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:40:07] local.INFO: Passing IMEI to GPS processor {"connection_id":142900,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:40:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":142900,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:40:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:40:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:40:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:40:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996680448001,"66":12298,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:40:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:40:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:40:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996680448001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:40:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:40:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:40:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:40:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:40:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996680448001,"power":12298,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:40:07] local.INFO: DEBUG: GPS processor result {"connection_id":142900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553569,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:40:07] local.INFO: GPS data processed {"connection_id":142900,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:40:07] local.INFO: Acknowledgment sent {"connection_id":142900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:40:32] local.INFO: TCP Data received {"connection_id":144029,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:40:32] local.INFO: Processing buffer {"connection_id":144029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:40:32] local.INFO: IMEI packet received {"connection_id":144029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 14:40:32] local.INFO: IMEI acknowledgment sent {"connection_id":144029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:40:37] local.INFO: TCP Data received {"connection_id":144029,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:40:37] local.INFO: Processing buffer {"connection_id":144029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:40:37] local.INFO: IMEI packet received {"connection_id":144029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 14:40:37] local.INFO: IMEI acknowledgment sent {"connection_id":144029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:40:38] local.INFO: TCP Data received {"connection_id":144029,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2d342b0012d9f3b0005a19860001500bf2b..."} 
[2026-07-27 14:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2d342b0012d9f3b0005a19860001500bf2b..."} 
[2026-07-27 14:40:38] local.INFO: Processing buffer {"connection_id":144029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2d342b0012d9f3b0005a19860001500bf2b..."} 
[2026-07-27 14:40:38] local.INFO: Packet analysis {"connection_id":144029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2d3"} 
[2026-07-27 14:40:38] local.INFO: Extracted packet for processing {"connection_id":144029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2d3"} 
[2026-07-27 14:40:38] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":21,"angle":191,"satellites":43,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 14:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:40:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996577536001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:40:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 14:40:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972979573867126784,"note":"Value kept but may cause issues"} 
[2026-07-27 14:40:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:40:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785143182000,"timestamp_ms":1785143182000,"timestamp_seconds":1785143182,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2d342b0"} 
[2026-07-27 14:40:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:40:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 14:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-07-27 14:40:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:40:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:40:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:40:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:40:38] local.INFO: Teltonika packet parsed successfully {"connection_id":144029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:40:38] local.INFO: Passing IMEI to GPS processor {"connection_id":144029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:40:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":144029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:40:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:40:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 14:40:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 14:40:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996577536001,"66":26115,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6972979573867126784},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 14:40:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 14:40:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 14:40:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996577536001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:40:38] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 14:40:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 14:40:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:40:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972979573867126784,"description":"Unknown IO ID 45"} 
[2026-07-27 14:40:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996577536001,"power":26115,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6972979573867126784}} 
[2026-07-27 14:40:38] local.INFO: DEBUG: GPS processor result {"connection_id":144029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:40:38] local.INFO: GPS data processed {"connection_id":144029,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:40:38] local.INFO: Acknowledgment sent {"connection_id":144029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:40:39] local.INFO: TCP Data received {"connection_id":142900,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2d57148012d1966c0071fee78003b005c29..."} 
[2026-07-27 14:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142900,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2d57148012d1966c0071fee78003b005c29..."} 
[2026-07-27 14:40:39] local.INFO: Processing buffer {"connection_id":142900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2d57148012d1966c0071fee78003b005c29..."} 
[2026-07-27 14:40:39] local.INFO: Packet analysis {"connection_id":142900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2d5"} 
[2026-07-27 14:40:39] local.INFO: Extracted packet for processing {"connection_id":142900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2d5"} 
[2026-07-27 14:40:39] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":41,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14:40:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:40:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996685824001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:40:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:40:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:40:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:40:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785143325000,"timestamp_ms":1785143325000,"timestamp_seconds":1785143325,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2d57148"} 
[2026-07-27 14:40:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:40:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-27 14:40:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-27 14:40:39] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168048982131200,"note":"Value kept but may cause issues"} 
[2026-07-27 14:40:39] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452319,"note":"Value kept but may cause issues"} 
[2026-07-27 14:40:39] local.WARNING: Large IO value detected {"io_id":132,"raw_value":-7926335344172072959,"note":"Value kept but may cause issues"} 
[2026-07-27 14:40:39] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-6714056669960267418,"note":"Value kept but may cause issues"} 
[2026-07-27 14:40:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-27 14:40:39] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513391081710878812,"note":"Value kept but may cause issues"} 
[2026-07-27 14:40:39] local.WARNING: Large IO value detected {"io_id":59,"raw_value":25941877345746944,"note":"Value kept but may cause issues"} 
[2026-07-27 14:40:39] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832597,"note":"Value kept but may cause issues"} 
[2026-07-27 14:40:39] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3213600693457322190,"note":"Value kept but may cause issues"} 
[2026-07-27 14:40:39] local.WARNING: Large IO value detected {"io_id":162,"raw_value":3554091009,"note":"Value kept but may cause issues"} 
[2026-07-27 14:40:39] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2224160768,"note":"Value kept but may cause issues"} 
[2026-07-27 14:40:39] local.WARNING: Large IO value detected {"io_id":102,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-07-27 14:40:39] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,121,28,24,241,158,16,132,159,205,45,192,238,59,41,10,66,123,42,1,240,82,162,31,4,113,133,102,120,40,239,48,2,7],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-07-27 14:40:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4251499383696130048,"timestamp_seconds":4251499383696130.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 14:40:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:40:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:40:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:40:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142900,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:40:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142900,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:40:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:40:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:40:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:40:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996685824001,"66":12341,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:40:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:40:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:40:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996685824001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:40:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:40:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:40:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:40:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:40:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996685824001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:40:39] local.INFO: DEBUG: GPS processor result {"connection_id":142900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553571,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:40:39] local.INFO: GPS data processed {"connection_id":142900,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:40:39] local.INFO: Acknowledgment sent {"connection_id":142900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:40:59] local.INFO: TCP Data received {"connection_id":144030,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144030,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:40:59] local.INFO: Processing buffer {"connection_id":144030,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:40:59] local.INFO: IMEI packet received {"connection_id":144030,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 14:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":144030,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:41:06] local.INFO: TCP Data received {"connection_id":144030,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144030,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:41:06] local.INFO: Processing buffer {"connection_id":144030,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:41:06] local.INFO: IMEI packet received {"connection_id":144030,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 14:41:06] local.INFO: IMEI acknowledgment sent {"connection_id":144030,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:41:07] local.INFO: TCP Data received {"connection_id":144030,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2d5c350012d1966c0071fee78003b005c29..."} 
[2026-07-27 14:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2d5c350012d1966c0071fee78003b005c29..."} 
[2026-07-27 14:41:07] local.INFO: Processing buffer {"connection_id":144030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2d5c350012d1966c0071fee78003b005c29..."} 
[2026-07-27 14:41:07] local.INFO: Packet analysis {"connection_id":144030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2d5"} 
[2026-07-27 14:41:07] local.INFO: Extracted packet for processing {"connection_id":144030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2d5"} 
[2026-07-27 14:41:07] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":41,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14:41:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:41:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996691200001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:41:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:41:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:41:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:41:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785143346000,"timestamp_ms":1785143346000,"timestamp_seconds":1785143346,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2d5c350"} 
[2026-07-27 14:41:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:41:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:41:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 14:41:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:41:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:41:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:41:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:41:07] local.INFO: Teltonika packet parsed successfully {"connection_id":144030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:41:07] local.INFO: Passing IMEI to GPS processor {"connection_id":144030,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:41:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":144030,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:41:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:41:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:41:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:41:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996691200001,"66":12341,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:41:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:41:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:41:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996691200001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:41:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:41:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:41:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:41:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:41:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996691200001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:41:07] local.INFO: DEBUG: GPS processor result {"connection_id":144030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553572,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:41:07] local.INFO: GPS data processed {"connection_id":144030,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:41:07] local.INFO: Acknowledgment sent {"connection_id":144030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:41:09] local.INFO: TCP Data received {"connection_id":144029,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2d342b0012d9f3b0005a19860001500bf2b..."} 
[2026-07-27 14:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2d342b0012d9f3b0005a19860001500bf2b..."} 
[2026-07-27 14:41:09] local.INFO: Processing buffer {"connection_id":144029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2d342b0012d9f3b0005a19860001500bf2b..."} 
[2026-07-27 14:41:09] local.INFO: Packet analysis {"connection_id":144029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2d3"} 
[2026-07-27 14:41:09] local.INFO: Extracted packet for processing {"connection_id":144029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2d3"} 
[2026-07-27 14:41:09] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":21,"angle":191,"satellites":43,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 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-07-27 14:41:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996577536001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:41:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 14:41:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972979573867126784,"note":"Value kept but may cause issues"} 
[2026-07-27 14:41:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:41:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785143182000,"timestamp_ms":1785143182000,"timestamp_seconds":1785143182,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2d342b0"} 
[2026-07-27 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-07-27 14:41:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-07-27 14:41:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 14:41:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:41:09] local.INFO: Teltonika packet parsed successfully {"connection_id":144029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:41:09] local.INFO: Passing IMEI to GPS processor {"connection_id":144029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:41:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":144029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:41:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:41:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 14:41:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 14:41:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996577536001,"66":26115,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6972979573867126784},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 14:41:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 14:41:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 14:41:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996577536001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:41:09] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 14:41:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 14:41:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:41:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972979573867126784,"description":"Unknown IO ID 45"} 
[2026-07-27 14:41:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996577536001,"power":26115,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6972979573867126784}} 
[2026-07-27 14:41:09] local.INFO: DEBUG: GPS processor result {"connection_id":144029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:41:09] local.INFO: GPS data processed {"connection_id":144029,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:41:09] local.INFO: Acknowledgment sent {"connection_id":144029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:41:32] local.INFO: TCP Data received {"connection_id":142901,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:41:32] local.INFO: Processing buffer {"connection_id":142901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:41:32] local.INFO: IMEI packet received {"connection_id":142901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 14:41:32] local.INFO: IMEI acknowledgment sent {"connection_id":142901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:41:37] local.INFO: TCP Data received {"connection_id":142901,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:41:37] local.INFO: Processing buffer {"connection_id":142901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:41:37] local.INFO: IMEI packet received {"connection_id":142901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 14:41:37] local.INFO: IMEI acknowledgment sent {"connection_id":142901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:41:38] local.INFO: TCP Data received {"connection_id":142901,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2d342b0012d9f3b0005a19860001500bf2b..."} 
[2026-07-27 14:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2d342b0012d9f3b0005a19860001500bf2b..."} 
[2026-07-27 14:41:38] local.INFO: Processing buffer {"connection_id":142901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2d342b0012d9f3b0005a19860001500bf2b..."} 
[2026-07-27 14:41:38] local.INFO: Packet analysis {"connection_id":142901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2d3"} 
[2026-07-27 14:41:38] local.INFO: Extracted packet for processing {"connection_id":142901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2d3"} 
[2026-07-27 14:41:38] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":21,"angle":191,"satellites":43,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 14:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:41:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996577536001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:41:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 14:41:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972979573867126784,"note":"Value kept but may cause issues"} 
[2026-07-27 14:41:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:41:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785143182000,"timestamp_ms":1785143182000,"timestamp_seconds":1785143182,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2d342b0"} 
[2026-07-27 14:41:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:41:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 14:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-07-27 14:41:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:41:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:41:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:41:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:41:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:41:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:41:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:41:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:41:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 14:41:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 14:41:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996577536001,"66":26115,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6972979573867126784},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 14:41:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 14:41:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 14:41:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996577536001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:41:38] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 14:41:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 14:41:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:41:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972979573867126784,"description":"Unknown IO ID 45"} 
[2026-07-27 14:41:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996577536001,"power":26115,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6972979573867126784}} 
[2026-07-27 14:41:38] local.INFO: DEBUG: GPS processor result {"connection_id":142901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:41:38] local.INFO: GPS data processed {"connection_id":142901,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:41:38] local.INFO: Acknowledgment sent {"connection_id":142901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:41:38] local.INFO: TCP Data received {"connection_id":144030,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2d61558012d1966c0071fee78003b005c29..."} 
[2026-07-27 14:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2d61558012d1966c0071fee78003b005c29..."} 
[2026-07-27 14:41:38] local.INFO: Processing buffer {"connection_id":144030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2d61558012d1966c0071fee78003b005c29..."} 
[2026-07-27 14:41:38] local.INFO: Packet analysis {"connection_id":144030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2d6"} 
[2026-07-27 14:41:38] local.INFO: Extracted packet for processing {"connection_id":144030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2d6"} 
[2026-07-27 14:41:38] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":41,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:41:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996696576001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:41:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:41:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:41:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:41:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785143367000,"timestamp_ms":1785143367000,"timestamp_seconds":1785143367,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2d61558"} 
[2026-07-27 14:41:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:41:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 14:41:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14: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-07-27 14:41:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:41:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:41:39] local.INFO: Teltonika packet parsed successfully {"connection_id":144030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:41:39] local.INFO: Passing IMEI to GPS processor {"connection_id":144030,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:41:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":144030,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:41:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:41:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:41:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:41:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996696576001,"66":12341,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:41:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:41:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:41:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996696576001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:41:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:41:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:41:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:41:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:41:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996696576001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:41:39] local.INFO: DEBUG: GPS processor result {"connection_id":144030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553575,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:41:39] local.INFO: GPS data processed {"connection_id":144030,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:41:39] local.INFO: Acknowledgment sent {"connection_id":144030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:42:05] local.INFO: TCP Data received {"connection_id":142902,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142902,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:42:05] local.INFO: Processing buffer {"connection_id":142902,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:42:05] local.INFO: IMEI packet received {"connection_id":142902,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 14:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":142902,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:42:09] local.INFO: TCP Data received {"connection_id":142902,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142902,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:42:09] local.INFO: Processing buffer {"connection_id":142902,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:42:09] local.INFO: IMEI packet received {"connection_id":142902,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 14:42:09] local.INFO: IMEI acknowledgment sent {"connection_id":142902,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:42:09] local.INFO: TCP Data received {"connection_id":142901,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2d7da78012d9f3b0005a19860001500bf2c..."} 
[2026-07-27 14:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2d7da78012d9f3b0005a19860001500bf2c..."} 
[2026-07-27 14:42:09] local.INFO: Processing buffer {"connection_id":142901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2d7da78012d9f3b0005a19860001500bf2c..."} 
[2026-07-27 14:42:09] local.INFO: Packet analysis {"connection_id":142901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2d7"} 
[2026-07-27 14:42:09] local.INFO: Extracted packet for processing {"connection_id":142901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2d7"} 
[2026-07-27 14:42:09] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":21,"angle":191,"satellites":44,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 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-07-27 14:42:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996654592001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:42:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 14:42:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972979573867126784,"note":"Value kept but may cause issues"} 
[2026-07-27 14:42:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:42:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785143483000,"timestamp_ms":1785143483000,"timestamp_seconds":1785143483,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2d7da78"} 
[2026-07-27 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-07-27 14:42:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-27 14:42:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 14:42:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:42:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:42:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:42:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:42:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:42:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 14:42:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 14:42:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996654592001,"66":25778,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6972979573867126784},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 14:42:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 14:42:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 14:42:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996654592001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:42:09] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 14:42:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 14:42:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:42:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972979573867126784,"description":"Unknown IO ID 45"} 
[2026-07-27 14:42:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996654592001,"power":25778,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6972979573867126784}} 
[2026-07-27 14:42:09] local.INFO: DEBUG: GPS processor result {"connection_id":142901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:42:09] local.INFO: GPS data processed {"connection_id":142901,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:42:09] local.INFO: Acknowledgment sent {"connection_id":142901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:42:10] local.INFO: TCP Data received {"connection_id":142902,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2d66760012d1966c0071fee78003b005c2b..."} 
[2026-07-27 14:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142902,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2d66760012d1966c0071fee78003b005c2b..."} 
[2026-07-27 14:42:10] local.INFO: Processing buffer {"connection_id":142902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2d66760012d1966c0071fee78003b005c2b..."} 
[2026-07-27 14:42:10] local.INFO: Packet analysis {"connection_id":142902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2d6"} 
[2026-07-27 14:42:10] local.INFO: Extracted packet for processing {"connection_id":142902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2d6"} 
[2026-07-27 14:42:10] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":43,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:42:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996701952001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:42:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:42:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:42:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:42:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785143388000,"timestamp_ms":1785143388000,"timestamp_seconds":1785143388,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2d66760"} 
[2026-07-27 14:42:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:42:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 14:42:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:42:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:42:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:42:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:42:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:42:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:42:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:42:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:42:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:42:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:42:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996701952001,"66":12298,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:42:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:42:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:42:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996701952001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:42:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:42:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:42:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:42:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:42:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996701952001,"power":12298,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:42:10] local.INFO: DEBUG: GPS processor result {"connection_id":142902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553577,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:42:10] local.INFO: GPS data processed {"connection_id":142902,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:42:10] local.INFO: Acknowledgment sent {"connection_id":142902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:42:11] local.INFO: TCP Data received {"connection_id":142902,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2d6b968012d1966c0071fee78003b005c2a..."} 
[2026-07-27 14:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142902,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2d6b968012d1966c0071fee78003b005c2a..."} 
[2026-07-27 14:42:11] local.INFO: Processing buffer {"connection_id":142902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2d6b968012d1966c0071fee78003b005c2a..."} 
[2026-07-27 14:42:11] local.INFO: Packet analysis {"connection_id":142902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2d6"} 
[2026-07-27 14:42:11] local.INFO: Extracted packet for processing {"connection_id":142902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2d6"} 
[2026-07-27 14:42:11] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":42,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:42:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996707328001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:42:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:42:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:42:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:42:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785143409000,"timestamp_ms":1785143409000,"timestamp_seconds":1785143409,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2d6b968"} 
[2026-07-27 14:42:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:42:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-27 14:42:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-27 14:42:11] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168048982131200,"note":"Value kept but may cause issues"} 
[2026-07-27 14:42:11] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452319,"note":"Value kept but may cause issues"} 
[2026-07-27 14:42:11] local.WARNING: Large IO value detected {"io_id":132,"raw_value":-7926335344172072959,"note":"Value kept but may cause issues"} 
[2026-07-27 14:42:11] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-6713695892707403418,"note":"Value kept but may cause issues"} 
[2026-07-27 14:42:11] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513391081710878812,"note":"Value kept but may cause issues"} 
[2026-07-27 14:42:11] local.WARNING: Large IO value detected {"io_id":59,"raw_value":25941877345746944,"note":"Value kept but may cause issues"} 
[2026-07-27 14:42:11] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832598,"note":"Value kept but may cause issues"} 
[2026-07-27 14:42:11] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3479876021425602766,"note":"Value kept but may cause issues"} 
[2026-07-27 14:42:11] local.WARNING: Large IO value detected {"io_id":162,"raw_value":3575595009,"note":"Value kept but may cause issues"} 
[2026-07-27 14:42:11] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2224160768,"note":"Value kept but may cause issues"} 
[2026-07-27 14:42:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":939601177,"corrected_to":0} 
[2026-07-27 14:42:11] local.WARNING: Large IO value detected {"io_id":102,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-07-27 14:42:11] local.INFO: IO Element Parsed {"io_data_count":32,"io_data_keys":[0,121,28,24,241,158,16,132,159,21,45,192,238,59,41,10,66,195,113,1,240,53,162,31,4,205,102,120,239,48,2,7],"length":534,"final_offset":664,"validated_count":32,"validation_warnings":[{"io_id":205,"original":939601177,"validated":0}]} 
[2026-07-27 14:42:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4251499387991097344,"timestamp_seconds":4251499387991097.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 14:42:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:42:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:42:11] local.INFO: Teltonika packet parsed successfully {"connection_id":142902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:42:11] local.INFO: Passing IMEI to GPS processor {"connection_id":142902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:42:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":142902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:42:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:42:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:42:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:42:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996707328001,"66":12287,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:42:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:42:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:42:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996707328001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:42:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:42:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:42:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:42:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:42:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996707328001,"power":12287,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:42:11] local.INFO: DEBUG: GPS processor result {"connection_id":142902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553578,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:42:11] local.INFO: GPS data processed {"connection_id":142902,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:42:11] local.INFO: Acknowledgment sent {"connection_id":142902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:42:32] local.INFO: TCP Data received {"connection_id":144031,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:42:32] local.INFO: Processing buffer {"connection_id":144031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:42:32] local.INFO: IMEI packet received {"connection_id":144031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 14:42:32] local.INFO: IMEI acknowledgment sent {"connection_id":144031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:42:37] local.INFO: TCP Data received {"connection_id":144031,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:42:37] local.INFO: Processing buffer {"connection_id":144031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:42:37] local.INFO: IMEI packet received {"connection_id":144031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 14:42:37] local.INFO: IMEI acknowledgment sent {"connection_id":144031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:42:38] local.INFO: TCP Data received {"connection_id":144031,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2d7da78012d9f3b0005a19860001500bf2c..."} 
[2026-07-27 14:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2d7da78012d9f3b0005a19860001500bf2c..."} 
[2026-07-27 14:42:38] local.INFO: Processing buffer {"connection_id":144031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2d7da78012d9f3b0005a19860001500bf2c..."} 
[2026-07-27 14:42:38] local.INFO: Packet analysis {"connection_id":144031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2d7"} 
[2026-07-27 14:42:38] local.INFO: Extracted packet for processing {"connection_id":144031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2d7"} 
[2026-07-27 14:42:38] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":21,"angle":191,"satellites":44,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 14:42:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:42:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996654592001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:42:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 14:42:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972979573867126784,"note":"Value kept but may cause issues"} 
[2026-07-27 14:42:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:42:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785143483000,"timestamp_ms":1785143483000,"timestamp_seconds":1785143483,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2d7da78"} 
[2026-07-27 14:42:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:42:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 14: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-27 14:42:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:42:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:42:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:42:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:42:38] local.INFO: Teltonika packet parsed successfully {"connection_id":144031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:42:38] local.INFO: Passing IMEI to GPS processor {"connection_id":144031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:42:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":144031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:42:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:42:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 14:42:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 14:42:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996654592001,"66":25778,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6972979573867126784},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 14:42:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 14:42:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 14:42:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996654592001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:42:38] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 14:42:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 14:42:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:42:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972979573867126784,"description":"Unknown IO ID 45"} 
[2026-07-27 14:42:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996654592001,"power":25778,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6972979573867126784}} 
[2026-07-27 14:42:38] local.INFO: DEBUG: GPS processor result {"connection_id":144031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:42:38] local.INFO: GPS data processed {"connection_id":144031,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:42:38] local.INFO: Acknowledgment sent {"connection_id":144031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:42:43] local.INFO: TCP Data received {"connection_id":142902,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2d70b70012d1966c0071fee78003b005c2b..."} 
[2026-07-27 14:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142902,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2d70b70012d1966c0071fee78003b005c2b..."} 
[2026-07-27 14:42:43] local.INFO: Processing buffer {"connection_id":142902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2d70b70012d1966c0071fee78003b005c2b..."} 
[2026-07-27 14:42:43] local.INFO: Packet analysis {"connection_id":142902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2d7"} 
[2026-07-27 14:42:43] local.INFO: Extracted packet for processing {"connection_id":142902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2d7"} 
[2026-07-27 14:42:43] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":43,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14:42:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:42:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996712704001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:42:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:42:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:42:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:42:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785143430000,"timestamp_ms":1785143430000,"timestamp_seconds":1785143430,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2d70b70"} 
[2026-07-27 14:42:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:42:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:42:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-27 14:42:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:42:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:42:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:42:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:42:43] local.INFO: Teltonika packet parsed successfully {"connection_id":142902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:42:43] local.INFO: Passing IMEI to GPS processor {"connection_id":142902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:42:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":142902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:42:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:42:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:42:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:42:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996712704001,"66":12287,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:42:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:42:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:42:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996712704001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:42:43] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:42:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:42:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:42:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:42:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996712704001,"power":12287,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:42:43] local.INFO: DEBUG: GPS processor result {"connection_id":142902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553580,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:42:43] local.INFO: GPS data processed {"connection_id":142902,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:42:43] local.INFO: Acknowledgment sent {"connection_id":142902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:43:00] local.INFO: TCP Data received {"connection_id":143047,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143047,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:43:00] local.INFO: Processing buffer {"connection_id":143047,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:43:00] local.INFO: IMEI packet received {"connection_id":143047,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 14:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":143047,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:43:05] local.INFO: TCP Data received {"connection_id":143047,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143047,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:43:05] local.INFO: Processing buffer {"connection_id":143047,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:43:05] local.INFO: IMEI packet received {"connection_id":143047,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 14:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":143047,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:43:06] local.INFO: TCP Data received {"connection_id":143047,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2d75d78012d1966c0071fee78003b005c2a..."} 
[2026-07-27 14:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2d75d78012d1966c0071fee78003b005c2a..."} 
[2026-07-27 14:43:06] local.INFO: Processing buffer {"connection_id":143047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2d75d78012d1966c0071fee78003b005c2a..."} 
[2026-07-27 14:43:06] local.INFO: Packet analysis {"connection_id":143047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2d7"} 
[2026-07-27 14:43:06] local.INFO: Extracted packet for processing {"connection_id":143047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2d7"} 
[2026-07-27 14:43:06] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":42,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:43:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996718080001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:43:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:43:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:43:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:43:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785143451000,"timestamp_ms":1785143451000,"timestamp_seconds":1785143451,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2d75d78"} 
[2026-07-27 14:43:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:43:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-27 14:43:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:43:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:43:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:43:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:43:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:43:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:43:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:43:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:43:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:43:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:43:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996718080001,"66":12287,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:43:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:43:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:43:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996718080001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:43:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:43:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:43:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:43:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:43:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996718080001,"power":12287,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:43:06] local.INFO: DEBUG: GPS processor result {"connection_id":143047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553581,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:43:06] local.INFO: GPS data processed {"connection_id":143047,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:43:06] local.INFO: Acknowledgment sent {"connection_id":143047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:43:10] local.INFO: TCP Data received {"connection_id":144031,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2d7da78012d9f3b0005a19860001500bf2c..."} 
[2026-07-27 14:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2d7da78012d9f3b0005a19860001500bf2c..."} 
[2026-07-27 14:43:10] local.INFO: Processing buffer {"connection_id":144031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2d7da78012d9f3b0005a19860001500bf2c..."} 
[2026-07-27 14:43:10] local.INFO: Packet analysis {"connection_id":144031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2d7"} 
[2026-07-27 14:43:10] local.INFO: Extracted packet for processing {"connection_id":144031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2d7"} 
[2026-07-27 14:43:10] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":21,"angle":191,"satellites":44,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 14:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:43:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996654592001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:43:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 14:43:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972979573867126784,"note":"Value kept but may cause issues"} 
[2026-07-27 14:43:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:43:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785143483000,"timestamp_ms":1785143483000,"timestamp_seconds":1785143483,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2d7da78"} 
[2026-07-27 14:43:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:43:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 14: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-27 14:43:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:43:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:43:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:43:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:43:10] local.INFO: Teltonika packet parsed successfully {"connection_id":144031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:43:10] local.INFO: Passing IMEI to GPS processor {"connection_id":144031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:43:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":144031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:43:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:43:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 14:43:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 14:43:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996654592001,"66":25778,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6972979573867126784},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 14:43:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 14:43:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 14:43:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996654592001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:43:10] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 14:43:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 14:43:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:43:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972979573867126784,"description":"Unknown IO ID 45"} 
[2026-07-27 14:43:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996654592001,"power":25778,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6972979573867126784}} 
[2026-07-27 14:43:10] local.INFO: DEBUG: GPS processor result {"connection_id":144031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:43:10] local.INFO: GPS data processed {"connection_id":144031,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:43:10] local.INFO: Acknowledgment sent {"connection_id":144031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:43:32] local.INFO: TCP Data received {"connection_id":142903,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:43:32] local.INFO: Processing buffer {"connection_id":142903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:43:32] local.INFO: IMEI packet received {"connection_id":142903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 14:43:32] local.INFO: IMEI acknowledgment sent {"connection_id":142903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:43:37] local.INFO: TCP Data received {"connection_id":143047,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2d7af80012d1966c0071fee78003b005c2a..."} 
[2026-07-27 14:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2d7af80012d1966c0071fee78003b005c2a..."} 
[2026-07-27 14:43:37] local.INFO: Processing buffer {"connection_id":143047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2d7af80012d1966c0071fee78003b005c2a..."} 
[2026-07-27 14:43:37] local.INFO: Packet analysis {"connection_id":143047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2d7"} 
[2026-07-27 14:43:37] local.INFO: Extracted packet for processing {"connection_id":143047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2d7"} 
[2026-07-27 14:43:37] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":42,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:43:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996723456001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:43:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:43:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:43:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:43:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785143472000,"timestamp_ms":1785143472000,"timestamp_seconds":1785143472,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2d7af80"} 
[2026-07-27 14:43:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:43:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-27 14:43:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:43:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:43:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:43:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:43:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:43:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:43:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:43:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:43:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:43:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:43:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996723456001,"66":12287,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:43:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:43:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:43:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996723456001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:43:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:43:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:43:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:43:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:43:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996723456001,"power":12287,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:43:37] local.INFO: DEBUG: GPS processor result {"connection_id":143047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553583,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:43:37] local.INFO: GPS data processed {"connection_id":143047,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:43:37] local.INFO: Acknowledgment sent {"connection_id":143047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:43:37] local.INFO: TCP Data received {"connection_id":142903,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:43:37] local.INFO: Processing buffer {"connection_id":142903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:43:37] local.INFO: IMEI packet received {"connection_id":142903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 14:43:37] local.INFO: IMEI acknowledgment sent {"connection_id":142903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:43:39] local.INFO: TCP Data received {"connection_id":142903,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2d7da78012d9f3b0005a19860001500bf2c..."} 
[2026-07-27 14:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142903,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2d7da78012d9f3b0005a19860001500bf2c..."} 
[2026-07-27 14:43:39] local.INFO: Processing buffer {"connection_id":142903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2d7da78012d9f3b0005a19860001500bf2c..."} 
[2026-07-27 14:43:39] local.INFO: Packet analysis {"connection_id":142903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2d7"} 
[2026-07-27 14:43:39] local.INFO: Extracted packet for processing {"connection_id":142903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2d7"} 
[2026-07-27 14:43:39] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":21,"angle":191,"satellites":44,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 14: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-07-27 14:43:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996654592001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:43:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 14:43:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972979573867126784,"note":"Value kept but may cause issues"} 
[2026-07-27 14:43:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:43:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785143483000,"timestamp_ms":1785143483000,"timestamp_seconds":1785143483,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2d7da78"} 
[2026-07-27 14:43:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:43:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 14: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-27 14:43:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14: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-07-27 14:43:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:43:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:43:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:43:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:43:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:43:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:43:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 14:43:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 14:43:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996654592001,"66":25778,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6972979573867126784},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 14:43:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 14:43:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 14:43:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996654592001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:43:39] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 14:43:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 14:43:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:43:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972979573867126784,"description":"Unknown IO ID 45"} 
[2026-07-27 14:43:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996654592001,"power":25778,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6972979573867126784}} 
[2026-07-27 14:43:39] local.INFO: DEBUG: GPS processor result {"connection_id":142903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:43:39] local.INFO: GPS data processed {"connection_id":142903,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:43:39] local.INFO: Acknowledgment sent {"connection_id":142903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:43:44] local.INFO: TCP Data received {"connection_id":142904,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 14:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142904,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 14:43:44] local.INFO: Processing buffer {"connection_id":142904,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 14:43:44] local.INFO: IMEI packet received {"connection_id":142904,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 14:43:44] local.INFO: IMEI acknowledgment sent {"connection_id":142904,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:44:00] local.INFO: TCP Data received {"connection_id":142905,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142905,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:44:00] local.INFO: Processing buffer {"connection_id":142905,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:44:00] local.INFO: IMEI packet received {"connection_id":142905,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 14:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":142905,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:44:05] local.INFO: TCP Data received {"connection_id":142905,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142905,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:44:05] local.INFO: Processing buffer {"connection_id":142905,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:44:05] local.INFO: IMEI packet received {"connection_id":142905,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 14:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":142905,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:44:06] local.INFO: TCP Data received {"connection_id":142905,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2d80188012d1966c0071fee78003b005c2a..."} 
[2026-07-27 14:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142905,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2d80188012d1966c0071fee78003b005c2a..."} 
[2026-07-27 14:44:06] local.INFO: Processing buffer {"connection_id":142905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2d80188012d1966c0071fee78003b005c2a..."} 
[2026-07-27 14:44:06] local.INFO: Packet analysis {"connection_id":142905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2d8"} 
[2026-07-27 14:44:06] local.INFO: Extracted packet for processing {"connection_id":142905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2d8"} 
[2026-07-27 14:44:06] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":42,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:44:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996728832001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:44:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:44:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:44:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:44:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785143493000,"timestamp_ms":1785143493000,"timestamp_seconds":1785143493,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2d80188"} 
[2026-07-27 14:44:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:44:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-27 14:44:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:44:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:44:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:44:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:44:06] local.INFO: Teltonika packet parsed successfully {"connection_id":142905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:44:06] local.INFO: Passing IMEI to GPS processor {"connection_id":142905,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:44:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":142905,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:44:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:44:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:44:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:44:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996728832001,"66":12298,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:44:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:44:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:44:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996728832001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:44:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:44:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:44:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:44:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:44:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996728832001,"power":12298,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:44:06] local.INFO: DEBUG: GPS processor result {"connection_id":142905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553585,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:44:06] local.INFO: GPS data processed {"connection_id":142905,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:44:06] local.INFO: Acknowledgment sent {"connection_id":142905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:44:10] local.INFO: TCP Data received {"connection_id":142903,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2d7da78012d9f3b0005a19860001500bf2c..."} 
[2026-07-27 14:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142903,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2d7da78012d9f3b0005a19860001500bf2c..."} 
[2026-07-27 14:44:11] local.INFO: Processing buffer {"connection_id":142903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2d7da78012d9f3b0005a19860001500bf2c..."} 
[2026-07-27 14:44:11] local.INFO: Packet analysis {"connection_id":142903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2d7"} 
[2026-07-27 14:44:11] local.INFO: Extracted packet for processing {"connection_id":142903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2d7"} 
[2026-07-27 14:44:11] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":21,"angle":191,"satellites":44,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 14:44:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:44:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996654592001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:44:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 14:44:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972979573867126784,"note":"Value kept but may cause issues"} 
[2026-07-27 14:44:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:44:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785143483000,"timestamp_ms":1785143483000,"timestamp_seconds":1785143483,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2d7da78"} 
[2026-07-27 14:44:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:44:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 14: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-27 14:44:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:44:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:44:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:44:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:44:11] local.INFO: Teltonika packet parsed successfully {"connection_id":142903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:44:11] local.INFO: Passing IMEI to GPS processor {"connection_id":142903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:44:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":142903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:44:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:44:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 14:44:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 14:44:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996654592001,"66":25778,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6972979573867126784},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 14:44:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 14:44:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 14:44:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996654592001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:44:11] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 14:44:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 14:44:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:44:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972979573867126784,"description":"Unknown IO ID 45"} 
[2026-07-27 14:44:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996654592001,"power":25778,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6972979573867126784}} 
[2026-07-27 14:44:11] local.INFO: DEBUG: GPS processor result {"connection_id":142903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:44:11] local.INFO: GPS data processed {"connection_id":142903,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:44:11] local.INFO: Acknowledgment sent {"connection_id":142903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:44:37] local.INFO: TCP Data received {"connection_id":144032,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:44:37] local.INFO: Processing buffer {"connection_id":144032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:44:37] local.INFO: IMEI packet received {"connection_id":144032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 14:44:37] local.INFO: IMEI acknowledgment sent {"connection_id":144032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:44:42] local.INFO: TCP Data received {"connection_id":144032,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:44:42] local.INFO: Processing buffer {"connection_id":144032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:44:42] local.INFO: IMEI packet received {"connection_id":144032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 14:44:42] local.INFO: IMEI acknowledgment sent {"connection_id":144032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:44:43] local.INFO: TCP Data received {"connection_id":142905,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2d85390012d1966c0071fee78003b005c28..."} 
[2026-07-27 14:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142905,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2d85390012d1966c0071fee78003b005c28..."} 
[2026-07-27 14:44:43] local.INFO: Processing buffer {"connection_id":142905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2d85390012d1966c0071fee78003b005c28..."} 
[2026-07-27 14:44:43] local.INFO: Packet analysis {"connection_id":142905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2d8"} 
[2026-07-27 14:44:43] local.INFO: Extracted packet for processing {"connection_id":142905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2d8"} 
[2026-07-27 14:44:43] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":40,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14:44:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:44:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996734208001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:44:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:44:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:44:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:44:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785143514000,"timestamp_ms":1785143514000,"timestamp_seconds":1785143514,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2d85390"} 
[2026-07-27 14:44:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:44:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:44:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-27 14:44:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-27 14:44:43] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168048982131200,"note":"Value kept but may cause issues"} 
[2026-07-27 14:44:43] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452319,"note":"Value kept but may cause issues"} 
[2026-07-27 14:44:43] local.WARNING: Large IO value detected {"io_id":132,"raw_value":-7926335344172072959,"note":"Value kept but may cause issues"} 
[2026-07-27 14:44:43] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-6713244921141323418,"note":"Value kept but may cause issues"} 
[2026-07-27 14:44:43] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513391081710878812,"note":"Value kept but may cause issues"} 
[2026-07-27 14:44:43] local.WARNING: Large IO value detected {"io_id":59,"raw_value":25940777834119168,"note":"Value kept but may cause issues"} 
[2026-07-27 14:44:43] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832598,"note":"Value kept but may cause issues"} 
[2026-07-27 14:44:43] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683571937968334,"note":"Value kept but may cause issues"} 
[2026-07-27 14:44:43] local.WARNING: Large IO value detected {"io_id":162,"raw_value":3602475009,"note":"Value kept but may cause issues"} 
[2026-07-27 14:44:43] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2224160768,"note":"Value kept but may cause issues"} 
[2026-07-27 14:44:43] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-27 14:44:43] local.WARNING: Large IO value detected {"io_id":102,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-07-27 14:44:43] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,121,28,24,241,158,16,132,159,175,45,192,238,59,42,10,66,93,11,1,240,255,162,31,4,113,205,103,102,120,43,239,48,2,7,41],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-07-27 14:44:43] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4251499383696130048,"timestamp_seconds":4251499383696130.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 14:44:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:44:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:44:43] local.INFO: Teltonika packet parsed successfully {"connection_id":142905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:44:43] local.INFO: Passing IMEI to GPS processor {"connection_id":142905,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:44:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":142905,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:44:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:44:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:44:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:44:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996734208001,"66":12341,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:44:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:44:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:44:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996734208001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:44:43] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:44:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:44:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:44:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:44:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996734208001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:44:43] local.INFO: DEBUG: GPS processor result {"connection_id":142905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553587,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:44:43] local.INFO: GPS data processed {"connection_id":142905,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:44:43] local.INFO: TCP Data received {"connection_id":144032,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2d7da78012d9f3b0005a19860001500bf2c..."} 
[2026-07-27 14:44:43] local.INFO: Acknowledgment sent {"connection_id":142905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2d7da78012d9f3b0005a19860001500bf2c..."} 
[2026-07-27 14:44:43] local.INFO: Processing buffer {"connection_id":144032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2d7da78012d9f3b0005a19860001500bf2c..."} 
[2026-07-27 14:44:43] local.INFO: Packet analysis {"connection_id":144032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2d7"} 
[2026-07-27 14:44:43] local.INFO: Extracted packet for processing {"connection_id":144032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2d7"} 
[2026-07-27 14:44:43] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":21,"angle":191,"satellites":44,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 14:44:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:44:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996654592001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:44:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 14:44:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972979573867126784,"note":"Value kept but may cause issues"} 
[2026-07-27 14:44:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:44:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785143483000,"timestamp_ms":1785143483000,"timestamp_seconds":1785143483,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2d7da78"} 
[2026-07-27 14:44:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:44:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 14:44:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-27 14:44:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:44:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:44:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:44:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:44:43] local.INFO: Teltonika packet parsed successfully {"connection_id":144032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:44:43] local.INFO: Passing IMEI to GPS processor {"connection_id":144032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:44:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":144032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:44:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:44:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 14:44:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 14:44:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996654592001,"66":25778,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6972979573867126784},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 14:44:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 14:44:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 14:44:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996654592001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:44:43] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 14:44:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 14:44:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:44:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972979573867126784,"description":"Unknown IO ID 45"} 
[2026-07-27 14:44:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996654592001,"power":25778,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6972979573867126784}} 
[2026-07-27 14:44:43] local.INFO: DEBUG: GPS processor result {"connection_id":144032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:44:43] local.INFO: GPS data processed {"connection_id":144032,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:44:43] local.INFO: Acknowledgment sent {"connection_id":144032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:44:47] local.INFO: TCP Data received {"connection_id":144032,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2d7da78012d9f3b0005a19860001500bf2c..."} 
[2026-07-27 14:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2d7da78012d9f3b0005a19860001500bf2c..."} 
[2026-07-27 14:44:47] local.INFO: Processing buffer {"connection_id":144032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2d7da78012d9f3b0005a19860001500bf2c..."} 
[2026-07-27 14:44:47] local.INFO: Packet analysis {"connection_id":144032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2d7"} 
[2026-07-27 14:44:47] local.INFO: Extracted packet for processing {"connection_id":144032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2d7"} 
[2026-07-27 14:44:47] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":21,"angle":191,"satellites":44,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 14:44:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:44:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996654592001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:44:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 14:44:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972979573867126784,"note":"Value kept but may cause issues"} 
[2026-07-27 14:44:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:44:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785143483000,"timestamp_ms":1785143483000,"timestamp_seconds":1785143483,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2d7da78"} 
[2026-07-27 14:44:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:44:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 14: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-27 14:44:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:44:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:44:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:44:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:44:47] local.INFO: Teltonika packet parsed successfully {"connection_id":144032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:44:47] local.INFO: Passing IMEI to GPS processor {"connection_id":144032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:44:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":144032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:44:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:44:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 14:44:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 14:44:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996654592001,"66":25778,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6972979573867126784},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 14:44:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 14:44:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 14:44:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996654592001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:44:47] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 14:44:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 14:44:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:44:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972979573867126784,"description":"Unknown IO ID 45"} 
[2026-07-27 14:44:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996654592001,"power":25778,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6972979573867126784}} 
[2026-07-27 14:44:47] local.INFO: DEBUG: GPS processor result {"connection_id":144032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:44:47] local.INFO: GPS data processed {"connection_id":144032,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:44:47] local.INFO: Acknowledgment sent {"connection_id":144032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:44:59] local.INFO: TCP Data received {"connection_id":143048,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143048,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:44:59] local.INFO: Processing buffer {"connection_id":143048,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:44:59] local.INFO: IMEI packet received {"connection_id":143048,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 14:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":143048,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:45:00] local.INFO: TCP Data received {"connection_id":143048,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143048,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:45:00] local.INFO: Processing buffer {"connection_id":143048,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:45:00] local.INFO: IMEI packet received {"connection_id":143048,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 14:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":143048,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:45:05] local.INFO: TCP Data received {"connection_id":143048,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143048,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:45:05] local.INFO: Processing buffer {"connection_id":143048,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:45:05] local.INFO: IMEI packet received {"connection_id":143048,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 14:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":143048,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:45:06] local.INFO: TCP Data received {"connection_id":143048,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2d8a598012d1966c0071fee78003b005c2a..."} 
[2026-07-27 14:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143048,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2d8a598012d1966c0071fee78003b005c2a..."} 
[2026-07-27 14:45:06] local.INFO: Processing buffer {"connection_id":143048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2d8a598012d1966c0071fee78003b005c2a..."} 
[2026-07-27 14:45:06] local.INFO: Packet analysis {"connection_id":143048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2d8"} 
[2026-07-27 14:45:06] local.INFO: Extracted packet for processing {"connection_id":143048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2d8"} 
[2026-07-27 14:45:06] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":42,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:45:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996739584001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:45:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:45:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:45:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:45:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785143535000,"timestamp_ms":1785143535000,"timestamp_seconds":1785143535,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2d8a598"} 
[2026-07-27 14:45:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:45:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 14:45:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:45:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:45:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:45:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:45:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:45:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143048,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:45:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143048,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:45:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:45:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:45:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:45:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996739584001,"66":12341,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:45:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:45:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:45:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996739584001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:45:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:45:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:45:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:45:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:45:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996739584001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:45:06] local.INFO: DEBUG: GPS processor result {"connection_id":143048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553590,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:45:06] local.INFO: GPS data processed {"connection_id":143048,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:45:06] local.INFO: Acknowledgment sent {"connection_id":143048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:45:32] local.INFO: TCP Data received {"connection_id":142906,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:45:32] local.INFO: Processing buffer {"connection_id":142906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:45:32] local.INFO: IMEI packet received {"connection_id":142906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 14:45:32] local.INFO: IMEI acknowledgment sent {"connection_id":142906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:45:37] local.INFO: TCP Data received {"connection_id":142906,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:45:37] local.INFO: Processing buffer {"connection_id":142906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:45:37] local.INFO: IMEI packet received {"connection_id":142906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 14:45:37] local.INFO: IMEI acknowledgment sent {"connection_id":142906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:45:38] local.INFO: TCP Data received {"connection_id":143048,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2d8f7a0012d1966c0071fee78003b005c2a..."} 
[2026-07-27 14:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143048,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2d8f7a0012d1966c0071fee78003b005c2a..."} 
[2026-07-27 14:45:38] local.INFO: Processing buffer {"connection_id":143048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2d8f7a0012d1966c0071fee78003b005c2a..."} 
[2026-07-27 14:45:38] local.INFO: Packet analysis {"connection_id":143048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2d8"} 
[2026-07-27 14:45:38] local.INFO: Extracted packet for processing {"connection_id":143048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2d8"} 
[2026-07-27 14:45:38] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":42,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:45:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996744960001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:45:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:45:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:45:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:45:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785143556000,"timestamp_ms":1785143556000,"timestamp_seconds":1785143556,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2d8f7a0"} 
[2026-07-27 14:45:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:45:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 14:45:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:45:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:45:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:45:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:45:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:45:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143048,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:45:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143048,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:45:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:45:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:45:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:45:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996744960001,"66":12298,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:45:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:45:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:45:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996744960001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:45:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:45:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:45:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:45:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:45:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996744960001,"power":12298,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:45:38] local.INFO: DEBUG: GPS processor result {"connection_id":143048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553591,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:45:38] local.INFO: GPS data processed {"connection_id":143048,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:45:38] local.INFO: Acknowledgment sent {"connection_id":143048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:45:38] local.INFO: TCP Data received {"connection_id":142906,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2d7da78012d9f3b0005a19860001500bf2c..."} 
[2026-07-27 14:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142906,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2d7da78012d9f3b0005a19860001500bf2c..."} 
[2026-07-27 14:45:38] local.INFO: Processing buffer {"connection_id":142906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2d7da78012d9f3b0005a19860001500bf2c..."} 
[2026-07-27 14:45:38] local.INFO: Packet analysis {"connection_id":142906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2d7"} 
[2026-07-27 14:45:38] local.INFO: Extracted packet for processing {"connection_id":142906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2d7"} 
[2026-07-27 14:45:38] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":21,"angle":191,"satellites":44,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 14:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:45:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996654592001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:45:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 14:45:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972979573867126784,"note":"Value kept but may cause issues"} 
[2026-07-27 14:45:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:45:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785143483000,"timestamp_ms":1785143483000,"timestamp_seconds":1785143483,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2d7da78"} 
[2026-07-27 14:45:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:45:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 14:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-27 14:45:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:45:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:45:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:45:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:45:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:45:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:45:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:45:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:45:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 14:45:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 14:45:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996654592001,"66":25778,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6972979573867126784},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 14:45:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 14:45:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 14:45:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996654592001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:45:38] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 14:45:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 14:45:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:45:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972979573867126784,"description":"Unknown IO ID 45"} 
[2026-07-27 14:45:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996654592001,"power":25778,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6972979573867126784}} 
[2026-07-27 14:45:38] local.INFO: DEBUG: GPS processor result {"connection_id":142906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:45:38] local.INFO: GPS data processed {"connection_id":142906,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:45:38] local.INFO: Acknowledgment sent {"connection_id":142906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:45:59] local.INFO: TCP Data received {"connection_id":142907,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142907,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:45:59] local.INFO: Processing buffer {"connection_id":142907,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:45:59] local.INFO: IMEI packet received {"connection_id":142907,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 14:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":142907,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:46:02] local.INFO: TCP Data received {"connection_id":142907,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142907,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:46:02] local.INFO: Processing buffer {"connection_id":142907,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:46:02] local.INFO: IMEI packet received {"connection_id":142907,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 14:46:02] local.INFO: IMEI acknowledgment sent {"connection_id":142907,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:46:05] local.INFO: TCP Data received {"connection_id":142907,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142907,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:46:05] local.INFO: Processing buffer {"connection_id":142907,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:46:05] local.INFO: IMEI packet received {"connection_id":142907,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 14:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":142907,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:46:10] local.INFO: TCP Data received {"connection_id":142906,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2d7da78012d9f3b0005a19860001500bf2c..."} 
[2026-07-27 14:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142906,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2d7da78012d9f3b0005a19860001500bf2c..."} 
[2026-07-27 14:46:10] local.INFO: Processing buffer {"connection_id":142906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2d7da78012d9f3b0005a19860001500bf2c..."} 
[2026-07-27 14:46:10] local.INFO: Packet analysis {"connection_id":142906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2d7"} 
[2026-07-27 14:46:10] local.INFO: Extracted packet for processing {"connection_id":142906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2d7"} 
[2026-07-27 14:46:10] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":21,"angle":191,"satellites":44,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 14:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:46:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996654592001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:46:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 14:46:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972979573867126784,"note":"Value kept but may cause issues"} 
[2026-07-27 14:46:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:46:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785143483000,"timestamp_ms":1785143483000,"timestamp_seconds":1785143483,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2d7da78"} 
[2026-07-27 14:46:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:46:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 14: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-27 14:46:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:46:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:46:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:46:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:46:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:46:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:46:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:46:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:46:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 14:46:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 14:46:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996654592001,"66":25778,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6972979573867126784},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 14:46:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 14:46:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 14:46:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996654592001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:46:10] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 14:46:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 14:46:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:46:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972979573867126784,"description":"Unknown IO ID 45"} 
[2026-07-27 14:46:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996654592001,"power":25778,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6972979573867126784}} 
[2026-07-27 14:46:10] local.INFO: DEBUG: GPS processor result {"connection_id":142906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:46:10] local.INFO: GPS data processed {"connection_id":142906,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:46:10] local.INFO: Acknowledgment sent {"connection_id":142906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:46:11] local.INFO: TCP Data received {"connection_id":142907,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2d949a8012d1966c0071fee78003b005c29..."} 
[2026-07-27 14:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142907,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2d949a8012d1966c0071fee78003b005c29..."} 
[2026-07-27 14:46:11] local.INFO: Processing buffer {"connection_id":142907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2d949a8012d1966c0071fee78003b005c29..."} 
[2026-07-27 14:46:11] local.INFO: Packet analysis {"connection_id":142907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2d9"} 
[2026-07-27 14:46:11] local.INFO: Extracted packet for processing {"connection_id":142907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2d9"} 
[2026-07-27 14:46:11] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":41,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14:46:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:46:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996750336001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:46:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:46:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:46:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:46:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785143577000,"timestamp_ms":1785143577000,"timestamp_seconds":1785143577,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2d949a8"} 
[2026-07-27 14:46:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:46:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-27 14:46:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-27 14:46:11] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168048982131200,"note":"Value kept but may cause issues"} 
[2026-07-27 14:46:11] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452319,"note":"Value kept but may cause issues"} 
[2026-07-27 14:46:11] local.WARNING: Large IO value detected {"io_id":132,"raw_value":-7926335344172072959,"note":"Value kept but may cause issues"} 
[2026-07-27 14:46:11] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-6712974338201675418,"note":"Value kept but may cause issues"} 
[2026-07-27 14:46:11] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513391081710878812,"note":"Value kept but may cause issues"} 
[2026-07-27 14:46:11] local.WARNING: Large IO value detected {"io_id":59,"raw_value":25942976857374720,"note":"Value kept but may cause issues"} 
[2026-07-27 14:46:11] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832598,"note":"Value kept but may cause issues"} 
[2026-07-27 14:46:11] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483923195592910,"note":"Value kept but may cause issues"} 
[2026-07-27 14:46:11] local.WARNING: Large IO value detected {"io_id":162,"raw_value":3618603009,"note":"Value kept but may cause issues"} 
[2026-07-27 14:46:11] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2224160768,"note":"Value kept but may cause issues"} 
[2026-07-27 14:46:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-27 14:46:11] local.WARNING: Large IO value detected {"io_id":102,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-07-27 14:46:11] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242791,"note":"Value kept but may cause issues"} 
[2026-07-27 14:46:11] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,121,28,24,241,158,16,132,159,165,45,192,238,59,42,10,66,83,40,1,240,162,31,4,113,205,93,102,120,239,47,2,7],"length":534,"final_offset":664,"validated_count":33,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-07-27 14:46:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4251499383696130048,"timestamp_seconds":4251499383696130.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 14:46:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:46:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:46:11] local.INFO: Teltonika packet parsed successfully {"connection_id":142907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:46:11] local.INFO: Passing IMEI to GPS processor {"connection_id":142907,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:46:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":142907,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:46:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:46:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:46:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:46:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996750336001,"66":12287,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:46:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:46:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:46:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996750336001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:46:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:46:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:46:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:46:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:46:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996750336001,"power":12287,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:46:11] local.INFO: DEBUG: GPS processor result {"connection_id":142907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553594,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:46:11] local.INFO: GPS data processed {"connection_id":142907,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:46:11] local.INFO: Acknowledgment sent {"connection_id":142907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:46:32] local.INFO: TCP Data received {"connection_id":145321,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:46:32] local.INFO: Processing buffer {"connection_id":145321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:46:32] local.INFO: IMEI packet received {"connection_id":145321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 14:46:32] local.INFO: IMEI acknowledgment sent {"connection_id":145321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:46:37] local.INFO: TCP Data received {"connection_id":145321,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:46:37] local.INFO: Processing buffer {"connection_id":145321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:46:37] local.INFO: IMEI packet received {"connection_id":145321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 14:46:37] local.INFO: IMEI acknowledgment sent {"connection_id":145321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:46:38] local.INFO: TCP Data received {"connection_id":145321,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2d7da78012d9f3b0005a19860001500bf2c..."} 
[2026-07-27 14:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145321,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2d7da78012d9f3b0005a19860001500bf2c..."} 
[2026-07-27 14:46:38] local.INFO: Processing buffer {"connection_id":145321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2d7da78012d9f3b0005a19860001500bf2c..."} 
[2026-07-27 14:46:38] local.INFO: Packet analysis {"connection_id":145321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2d7"} 
[2026-07-27 14:46:38] local.INFO: Extracted packet for processing {"connection_id":145321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2d7"} 
[2026-07-27 14:46:38] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":21,"angle":191,"satellites":44,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 14:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:46:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996654592001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:46:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 14:46:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972979573867126784,"note":"Value kept but may cause issues"} 
[2026-07-27 14:46:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:46:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785143483000,"timestamp_ms":1785143483000,"timestamp_seconds":1785143483,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2d7da78"} 
[2026-07-27 14:46:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:46:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 14:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-27 14:46:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:46:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:46:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:46:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:46:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:46:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:46:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:46:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:46:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 14:46:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 14:46:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996654592001,"66":25778,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6972979573867126784},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 14:46:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 14:46:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 14:46:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996654592001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:46:38] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 14:46:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 14:46:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:46:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972979573867126784,"description":"Unknown IO ID 45"} 
[2026-07-27 14:46:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996654592001,"power":25778,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6972979573867126784}} 
[2026-07-27 14:46:38] local.INFO: DEBUG: GPS processor result {"connection_id":145321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:46:38] local.INFO: GPS data processed {"connection_id":145321,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:46:38] local.INFO: Acknowledgment sent {"connection_id":145321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:46:43] local.INFO: TCP Data received {"connection_id":142907,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2d99bb0012d1966c0071fee78003b005c2a..."} 
[2026-07-27 14:46:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142907,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2d99bb0012d1966c0071fee78003b005c2a..."} 
[2026-07-27 14:46:43] local.INFO: Processing buffer {"connection_id":142907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2d99bb0012d1966c0071fee78003b005c2a..."} 
[2026-07-27 14:46:43] local.INFO: Packet analysis {"connection_id":142907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2d9"} 
[2026-07-27 14:46:43] local.INFO: Extracted packet for processing {"connection_id":142907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2d9"} 
[2026-07-27 14:46:43] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":42,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14:46:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:46:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996755712001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:46:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:46:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:46:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:46:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785143598000,"timestamp_ms":1785143598000,"timestamp_seconds":1785143598,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2d99bb0"} 
[2026-07-27 14:46:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:46:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:46:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-27 14:46:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:46:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:46:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:46:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:46:43] local.INFO: Teltonika packet parsed successfully {"connection_id":142907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:46:43] local.INFO: Passing IMEI to GPS processor {"connection_id":142907,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:46:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":142907,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:46:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:46:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:46:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:46:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996755712001,"66":12374,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:46:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:46:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:46:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996755712001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:46:43] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:46:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:46:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:46:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:46:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996755712001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:46:43] local.INFO: DEBUG: GPS processor result {"connection_id":142907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553596,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:46:43] local.INFO: GPS data processed {"connection_id":142907,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:46:43] local.INFO: Acknowledgment sent {"connection_id":142907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:47:05] local.INFO: TCP Data received {"connection_id":144034,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144034,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:47:05] local.INFO: Processing buffer {"connection_id":144034,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:47:05] local.INFO: IMEI packet received {"connection_id":144034,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 14:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":144034,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:47:06] local.INFO: TCP Data received {"connection_id":144034,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144034,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:47:06] local.INFO: Processing buffer {"connection_id":144034,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:47:06] local.INFO: IMEI packet received {"connection_id":144034,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 14:47:06] local.INFO: IMEI acknowledgment sent {"connection_id":144034,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:47:09] local.INFO: TCP Data received {"connection_id":145321,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2dc7240012d9f3b0005a19860001500bf2e..."} 
[2026-07-27 14:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145321,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2dc7240012d9f3b0005a19860001500bf2e..."} 
[2026-07-27 14:47:09] local.INFO: Processing buffer {"connection_id":145321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2dc7240012d9f3b0005a19860001500bf2e..."} 
[2026-07-27 14:47:09] local.INFO: Packet analysis {"connection_id":145321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2dc"} 
[2026-07-27 14:47:09] local.INFO: Extracted packet for processing {"connection_id":145321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2dc"} 
[2026-07-27 14:47:09] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":21,"angle":191,"satellites":46,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 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-07-27 14:47:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996731648001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:47:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 14:47:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972979573867126784,"note":"Value kept but may cause issues"} 
[2026-07-27 14:47:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:47:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785143784000,"timestamp_ms":1785143784000,"timestamp_seconds":1785143784,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2dc7240"} 
[2026-07-27 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-07-27 14:47:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-27 14:47:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 14:47:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:47:09] local.INFO: Teltonika packet parsed successfully {"connection_id":145321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:47:09] local.INFO: Passing IMEI to GPS processor {"connection_id":145321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:47:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":145321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:47:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:47:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 14:47:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 14:47:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996731648001,"66":26006,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6972979573867126784},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 14:47:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 14:47:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 14:47:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996731648001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:47:09] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 14:47:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 14:47:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:47:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972979573867126784,"description":"Unknown IO ID 45"} 
[2026-07-27 14:47:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996731648001,"power":26006,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6972979573867126784}} 
[2026-07-27 14:47:09] local.INFO: DEBUG: GPS processor result {"connection_id":145321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:47:09] local.INFO: GPS data processed {"connection_id":145321,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:47:09] local.INFO: Acknowledgment sent {"connection_id":145321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:47:10] local.INFO: TCP Data received {"connection_id":144034,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144034,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:47:10] local.INFO: Processing buffer {"connection_id":144034,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:47:10] local.INFO: IMEI packet received {"connection_id":144034,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 14:47:10] local.INFO: IMEI acknowledgment sent {"connection_id":144034,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:47:11] local.INFO: TCP Data received {"connection_id":144034,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2d9edb8012d1966c0071fee78003b005c28..."} 
[2026-07-27 14:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2d9edb8012d1966c0071fee78003b005c28..."} 
[2026-07-27 14:47:11] local.INFO: Processing buffer {"connection_id":144034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2d9edb8012d1966c0071fee78003b005c28..."} 
[2026-07-27 14:47:11] local.INFO: Packet analysis {"connection_id":144034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2d9"} 
[2026-07-27 14:47:11] local.INFO: Extracted packet for processing {"connection_id":144034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2d9"} 
[2026-07-27 14:47:11] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":40,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14:47:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:47:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996761088001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:47:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:47:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:47:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:47:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785143619000,"timestamp_ms":1785143619000,"timestamp_seconds":1785143619,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2d9edb8"} 
[2026-07-27 14:47:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:47:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-27 14:47:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:47:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:47:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:47:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:47:11] local.INFO: Teltonika packet parsed successfully {"connection_id":144034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:47:11] local.INFO: Passing IMEI to GPS processor {"connection_id":144034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:47:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":144034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:47:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:47:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:47:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:47:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996761088001,"66":12341,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:47:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:47:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:47:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996761088001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:47:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:47:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:47:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:47:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:47:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996761088001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:47:12] local.INFO: DEBUG: GPS processor result {"connection_id":144034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553598,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:47:12] local.INFO: GPS data processed {"connection_id":144034,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:47:12] local.INFO: Acknowledgment sent {"connection_id":144034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:47:15] local.INFO: TCP Data received {"connection_id":144034,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2da3fc0012d1966c0071fee78003b005c2b..."} 
[2026-07-27 14:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2da3fc0012d1966c0071fee78003b005c2b..."} 
[2026-07-27 14:47:15] local.INFO: Processing buffer {"connection_id":144034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2da3fc0012d1966c0071fee78003b005c2b..."} 
[2026-07-27 14:47:15] local.INFO: Packet analysis {"connection_id":144034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2da"} 
[2026-07-27 14:47:15] local.INFO: Extracted packet for processing {"connection_id":144034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2da"} 
[2026-07-27 14:47:15] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":43,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14:47:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:47:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996766464001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:47:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:47:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:47: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-07-27 14:47:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785143640000,"timestamp_ms":1785143640000,"timestamp_seconds":1785143640,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2da3fc0"} 
[2026-07-27 14:47:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:47:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:47:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 14:47:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:47:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:47:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:47:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:47:15] local.INFO: Teltonika packet parsed successfully {"connection_id":144034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:47:15] local.INFO: Passing IMEI to GPS processor {"connection_id":144034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:47:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":144034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:47:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:47:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:47:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:47:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996766464001,"66":12341,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:47:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:47:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:47:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996766464001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:47:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:47:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:47:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:47:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:47:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996766464001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:47:15] local.INFO: DEBUG: GPS processor result {"connection_id":144034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553599,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:47:15] local.INFO: GPS data processed {"connection_id":144034,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:47:15] local.INFO: Acknowledgment sent {"connection_id":144034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:47:32] local.INFO: TCP Data received {"connection_id":144035,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:47:32] local.INFO: Processing buffer {"connection_id":144035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:47:32] local.INFO: IMEI packet received {"connection_id":144035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 14:47:32] local.INFO: IMEI acknowledgment sent {"connection_id":144035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:47:37] local.INFO: TCP Data received {"connection_id":144035,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:47:37] local.INFO: Processing buffer {"connection_id":144035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:47:37] local.INFO: IMEI packet received {"connection_id":144035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 14:47:37] local.INFO: IMEI acknowledgment sent {"connection_id":144035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:47:38] local.INFO: TCP Data received {"connection_id":144035,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2dc7240012d9f3b0005a19860001500bf2e..."} 
[2026-07-27 14:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144035,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2dc7240012d9f3b0005a19860001500bf2e..."} 
[2026-07-27 14:47:38] local.INFO: Processing buffer {"connection_id":144035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2dc7240012d9f3b0005a19860001500bf2e..."} 
[2026-07-27 14:47:38] local.INFO: Packet analysis {"connection_id":144035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2dc"} 
[2026-07-27 14:47:38] local.INFO: Extracted packet for processing {"connection_id":144035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2dc"} 
[2026-07-27 14:47:38] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":21,"angle":191,"satellites":46,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 14:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:47:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996731648001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:47:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 14:47:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972979573867126784,"note":"Value kept but may cause issues"} 
[2026-07-27 14:47:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:47:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785143784000,"timestamp_ms":1785143784000,"timestamp_seconds":1785143784,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2dc7240"} 
[2026-07-27 14:47:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:47:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 14:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-27 14:47:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:47:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:47:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:47:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:47:38] local.INFO: Teltonika packet parsed successfully {"connection_id":144035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:47:38] local.INFO: Passing IMEI to GPS processor {"connection_id":144035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:47:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":144035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:47:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:47:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 14:47:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 14:47:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996731648001,"66":26006,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6972979573867126784},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 14:47:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 14:47:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 14:47:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996731648001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:47:38] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 14:47:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 14:47:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:47:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972979573867126784,"description":"Unknown IO ID 45"} 
[2026-07-27 14:47:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996731648001,"power":26006,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6972979573867126784}} 
[2026-07-27 14:47:38] local.INFO: DEBUG: GPS processor result {"connection_id":144035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:47:38] local.INFO: GPS data processed {"connection_id":144035,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:47:38] local.INFO: Acknowledgment sent {"connection_id":144035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:48:00] local.INFO: TCP Data received {"connection_id":142908,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142908,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:48:00] local.INFO: Processing buffer {"connection_id":142908,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:48:00] local.INFO: IMEI packet received {"connection_id":142908,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 14:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":142908,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:48:04] local.INFO: TCP Data received {"connection_id":142908,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142908,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:48:04] local.INFO: Processing buffer {"connection_id":142908,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:48:04] local.INFO: IMEI packet received {"connection_id":142908,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 14:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":142908,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:48:06] local.INFO: TCP Data received {"connection_id":142908,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2da91c8012d1966c0071fee78003b005c27..."} 
[2026-07-27 14:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2da91c8012d1966c0071fee78003b005c27..."} 
[2026-07-27 14:48:06] local.INFO: Processing buffer {"connection_id":142908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2da91c8012d1966c0071fee78003b005c27..."} 
[2026-07-27 14:48:06] local.INFO: Packet analysis {"connection_id":142908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2da"} 
[2026-07-27 14:48:06] local.INFO: Extracted packet for processing {"connection_id":142908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2da"} 
[2026-07-27 14:48:06] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":39,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:48:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996771840001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:48:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:48:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:48:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:48:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785143661000,"timestamp_ms":1785143661000,"timestamp_seconds":1785143661,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2da91c8"} 
[2026-07-27 14:48:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:48:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 14:48:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:48:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:48:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:48:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:48:06] local.INFO: Teltonika packet parsed successfully {"connection_id":142908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:48:06] local.INFO: Passing IMEI to GPS processor {"connection_id":142908,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:48:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":142908,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:48:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:48:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:48:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:48:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996771840001,"66":12298,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:48:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:48:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:48:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996771840001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:48:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:48:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:48:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:48:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:48:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996771840001,"power":12298,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:48:06] local.INFO: DEBUG: GPS processor result {"connection_id":142908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553601,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:48:06] local.INFO: GPS data processed {"connection_id":142908,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:48:06] local.INFO: Acknowledgment sent {"connection_id":142908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:48:09] local.INFO: TCP Data received {"connection_id":142908,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2dae3d0012d1966c0071fee78003b005c29..."} 
[2026-07-27 14:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2dae3d0012d1966c0071fee78003b005c29..."} 
[2026-07-27 14:48:09] local.INFO: Processing buffer {"connection_id":142908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2dae3d0012d1966c0071fee78003b005c29..."} 
[2026-07-27 14:48:09] local.INFO: Packet analysis {"connection_id":142908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2da"} 
[2026-07-27 14:48:09] local.INFO: Extracted packet for processing {"connection_id":142908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2da"} 
[2026-07-27 14:48:09] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":41,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 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-07-27 14:48:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996777216001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:48:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:48:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:48:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:48:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785143682000,"timestamp_ms":1785143682000,"timestamp_seconds":1785143682,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2dae3d0"} 
[2026-07-27 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-07-27 14:48:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-27 14:48:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-27 14:48:09] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168048982131200,"note":"Value kept but may cause issues"} 
[2026-07-27 14:48:09] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452319,"note":"Value kept but may cause issues"} 
[2026-07-27 14:48:09] local.WARNING: Large IO value detected {"io_id":132,"raw_value":-7926335344172072959,"note":"Value kept but may cause issues"} 
[2026-07-27 14:48:09] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-6712523366635595418,"note":"Value kept but may cause issues"} 
[2026-07-27 14:48:09] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513391081710878812,"note":"Value kept but may cause issues"} 
[2026-07-27 14:48:09] local.WARNING: Large IO value detected {"io_id":59,"raw_value":25941877345746944,"note":"Value kept but may cause issues"} 
[2026-07-27 14:48:09] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832598,"note":"Value kept but may cause issues"} 
[2026-07-27 14:48:09] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683571937968334,"note":"Value kept but may cause issues"} 
[2026-07-27 14:48:09] local.WARNING: Large IO value detected {"io_id":162,"raw_value":3645483009,"note":"Value kept but may cause issues"} 
[2026-07-27 14:48:09] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2224160768,"note":"Value kept but may cause issues"} 
[2026-07-27 14:48:09] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-27 14:48:09] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":2684431641,"corrected_to":0} 
[2026-07-27 14:48:09] local.WARNING: Large IO value detected {"io_id":102,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-07-27 14:48:09] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,121,28,24,241,158,16,132,159,63,45,192,238,59,43,10,66,237,40,155,1,240,86,162,31,4,113,205,247,102,120,42,239,48,2,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0},{"io_id":247,"original":2684431641,"validated":0}]} 
[2026-07-27 14:48:09] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4251499370811228160,"timestamp_seconds":4251499370811228.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 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-07-27 14:48:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:48:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:48:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142908,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:48:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142908,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:48:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:48:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:48:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:48:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996777216001,"66":12341,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:48:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:48:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:48:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996777216001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:48:09] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:48:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:48:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:48:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:48:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996777216001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:48:09] local.INFO: DEBUG: GPS processor result {"connection_id":142908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553602,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:48:09] local.INFO: GPS data processed {"connection_id":142908,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:48:09] local.INFO: Acknowledgment sent {"connection_id":142908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:48:09] local.INFO: TCP Data received {"connection_id":144035,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2dc7240012d9f3b0005a19860001500bf2e..."} 
[2026-07-27 14:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144035,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2dc7240012d9f3b0005a19860001500bf2e..."} 
[2026-07-27 14:48:09] local.INFO: Processing buffer {"connection_id":144035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2dc7240012d9f3b0005a19860001500bf2e..."} 
[2026-07-27 14:48:09] local.INFO: Packet analysis {"connection_id":144035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2dc"} 
[2026-07-27 14:48:09] local.INFO: Extracted packet for processing {"connection_id":144035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2dc"} 
[2026-07-27 14:48:09] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":21,"angle":191,"satellites":46,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 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-07-27 14:48:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996731648001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:48:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 14:48:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972979573867126784,"note":"Value kept but may cause issues"} 
[2026-07-27 14:48:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:48:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785143784000,"timestamp_ms":1785143784000,"timestamp_seconds":1785143784,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2dc7240"} 
[2026-07-27 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-07-27 14:48:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-27 14:48:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 14:48:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:48:09] local.INFO: Teltonika packet parsed successfully {"connection_id":144035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:48:09] local.INFO: Passing IMEI to GPS processor {"connection_id":144035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:48:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":144035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:48:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:48:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 14:48:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 14:48:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996731648001,"66":26006,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6972979573867126784},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 14:48:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 14:48:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 14:48:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996731648001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:48:09] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 14:48:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 14:48:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:48:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972979573867126784,"description":"Unknown IO ID 45"} 
[2026-07-27 14:48:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996731648001,"power":26006,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6972979573867126784}} 
[2026-07-27 14:48:09] local.INFO: DEBUG: GPS processor result {"connection_id":144035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:48:09] local.INFO: GPS data processed {"connection_id":144035,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:48:09] local.INFO: Acknowledgment sent {"connection_id":144035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:48:32] local.INFO: TCP Data received {"connection_id":145322,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:48:32] local.INFO: Processing buffer {"connection_id":145322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:48:32] local.INFO: IMEI packet received {"connection_id":145322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 14:48:32] local.INFO: IMEI acknowledgment sent {"connection_id":145322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:48:37] local.INFO: TCP Data received {"connection_id":145322,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:48:37] local.INFO: Processing buffer {"connection_id":145322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:48:37] local.INFO: IMEI packet received {"connection_id":145322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 14:48:37] local.INFO: IMEI acknowledgment sent {"connection_id":145322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:48:38] local.INFO: TCP Data received {"connection_id":145322,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2dc7240012d9f3b0005a19860001500bf2e..."} 
[2026-07-27 14:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2dc7240012d9f3b0005a19860001500bf2e..."} 
[2026-07-27 14:48:38] local.INFO: Processing buffer {"connection_id":145322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2dc7240012d9f3b0005a19860001500bf2e..."} 
[2026-07-27 14:48:38] local.INFO: Packet analysis {"connection_id":145322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2dc"} 
[2026-07-27 14:48:38] local.INFO: Extracted packet for processing {"connection_id":145322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2dc"} 
[2026-07-27 14:48:38] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":21,"angle":191,"satellites":46,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 14:48:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:48:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996731648001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:48:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 14:48:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972979573867126784,"note":"Value kept but may cause issues"} 
[2026-07-27 14:48:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:48:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785143784000,"timestamp_ms":1785143784000,"timestamp_seconds":1785143784,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2dc7240"} 
[2026-07-27 14:48:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:48:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 14:48:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-27 14:48:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:48:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:48:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:48:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:48:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:48:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:48:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:48:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:48:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 14:48:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 14:48:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996731648001,"66":26006,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6972979573867126784},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 14:48:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 14:48:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 14:48:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996731648001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:48:38] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 14:48:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 14:48:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:48:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972979573867126784,"description":"Unknown IO ID 45"} 
[2026-07-27 14:48:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996731648001,"power":26006,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6972979573867126784}} 
[2026-07-27 14:48:38] local.INFO: DEBUG: GPS processor result {"connection_id":145322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:48:38] local.INFO: GPS data processed {"connection_id":145322,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:48:38] local.INFO: Acknowledgment sent {"connection_id":145322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:48:40] local.INFO: TCP Data received {"connection_id":142908,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2db35d8012d1966c0071fee78003b005c2a..."} 
[2026-07-27 14:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2db35d8012d1966c0071fee78003b005c2a..."} 
[2026-07-27 14:48:40] local.INFO: Processing buffer {"connection_id":142908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2db35d8012d1966c0071fee78003b005c2a..."} 
[2026-07-27 14:48:40] local.INFO: Packet analysis {"connection_id":142908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2db"} 
[2026-07-27 14:48:40] local.INFO: Extracted packet for processing {"connection_id":142908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2db"} 
[2026-07-27 14:48:40] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":42,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14: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-07-27 14:48:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996782592001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:48:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:48:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:48:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:48:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785143703000,"timestamp_ms":1785143703000,"timestamp_seconds":1785143703,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2db35d8"} 
[2026-07-27 14:48:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:48:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14: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":53,"data_length":795,"current_offset":136} 
[2026-07-27 14:48:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14: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-07-27 14:48:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:48:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:48:40] local.INFO: Teltonika packet parsed successfully {"connection_id":142908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:48:40] local.INFO: Passing IMEI to GPS processor {"connection_id":142908,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:48:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":142908,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:48:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:48:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:48:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:48:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996782592001,"66":12298,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:48:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:48:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:48:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996782592001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:48:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:48:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:48:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:48:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:48:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996782592001,"power":12298,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:48:40] local.INFO: DEBUG: GPS processor result {"connection_id":142908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553605,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:48:40] local.INFO: GPS data processed {"connection_id":142908,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:48:40] local.INFO: Acknowledgment sent {"connection_id":142908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:49:00] local.INFO: TCP Data received {"connection_id":143049,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143049,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:49:00] local.INFO: Processing buffer {"connection_id":143049,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:49:00] local.INFO: IMEI packet received {"connection_id":143049,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 14:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":143049,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:49:05] local.INFO: TCP Data received {"connection_id":143049,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143049,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:49:05] local.INFO: Processing buffer {"connection_id":143049,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:49:05] local.INFO: IMEI packet received {"connection_id":143049,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 14:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":143049,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:49:06] local.INFO: TCP Data received {"connection_id":143049,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2db87e0012d1966c0071fee78003b005c2a..."} 
[2026-07-27 14:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2db87e0012d1966c0071fee78003b005c2a..."} 
[2026-07-27 14:49:06] local.INFO: Processing buffer {"connection_id":143049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2db87e0012d1966c0071fee78003b005c2a..."} 
[2026-07-27 14:49:06] local.INFO: Packet analysis {"connection_id":143049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2db"} 
[2026-07-27 14:49:06] local.INFO: Extracted packet for processing {"connection_id":143049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2db"} 
[2026-07-27 14:49:06] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":42,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:49:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996787968001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:49:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:49:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:49:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:49:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785143724000,"timestamp_ms":1785143724000,"timestamp_seconds":1785143724,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2db87e0"} 
[2026-07-27 14:49:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:49:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-27 14:49:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-27 14:49:06] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168048982131200,"note":"Value kept but may cause issues"} 
[2026-07-27 14:49:06] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452319,"note":"Value kept but may cause issues"} 
[2026-07-27 14:49:06] local.WARNING: Large IO value detected {"io_id":132,"raw_value":-7926335344172072959,"note":"Value kept but may cause issues"} 
[2026-07-27 14:49:06] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-6712342978009163418,"note":"Value kept but may cause issues"} 
[2026-07-27 14:49:06] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513391081710878812,"note":"Value kept but may cause issues"} 
[2026-07-27 14:49:06] local.WARNING: Large IO value detected {"io_id":59,"raw_value":25940777834119168,"note":"Value kept but may cause issues"} 
[2026-07-27 14:49:06] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832598,"note":"Value kept but may cause issues"} 
[2026-07-27 14:49:06] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483923195592910,"note":"Value kept but may cause issues"} 
[2026-07-27 14:49:06] local.WARNING: Large IO value detected {"io_id":162,"raw_value":3656235009,"note":"Value kept but may cause issues"} 
[2026-07-27 14:49:06] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2224160768,"note":"Value kept but may cause issues"} 
[2026-07-27 14:49:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-27 14:49:06] local.WARNING: Large IO value detected {"io_id":155,"raw_value":2952867097,"note":"Value kept but may cause issues"} 
[2026-07-27 14:49:06] local.WARNING: Large IO value detected {"io_id":102,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-07-27 14:49:06] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,121,28,24,241,158,16,132,159,227,45,192,238,59,41,10,66,145,39,63,1,240,53,162,31,4,113,205,155,102,120,42,239,48,2,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-07-27 14:49:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4251499383696130048,"timestamp_seconds":4251499383696130.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 14:49:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:49:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:49:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:49:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:49:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:49:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:49:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:49:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:49:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996787968001,"66":12287,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:49:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:49:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:49:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996787968001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:49:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:49:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:49:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:49:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:49:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996787968001,"power":12287,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:49:06] local.INFO: DEBUG: GPS processor result {"connection_id":143049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553606,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:49:06] local.INFO: GPS data processed {"connection_id":143049,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:49:06] local.INFO: Acknowledgment sent {"connection_id":143049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:49:10] local.INFO: TCP Data received {"connection_id":145322,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2dc7240012d9f3b0005a19860001500bf2e..."} 
[2026-07-27 14:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2dc7240012d9f3b0005a19860001500bf2e..."} 
[2026-07-27 14:49:10] local.INFO: Processing buffer {"connection_id":145322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2dc7240012d9f3b0005a19860001500bf2e..."} 
[2026-07-27 14:49:10] local.INFO: Packet analysis {"connection_id":145322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2dc"} 
[2026-07-27 14:49:10] local.INFO: Extracted packet for processing {"connection_id":145322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2dc"} 
[2026-07-27 14:49:10] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":21,"angle":191,"satellites":46,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 14:49:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:49:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996731648001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:49:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 14:49:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972979573867126784,"note":"Value kept but may cause issues"} 
[2026-07-27 14:49:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:49:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785143784000,"timestamp_ms":1785143784000,"timestamp_seconds":1785143784,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2dc7240"} 
[2026-07-27 14:49:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:49:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 14:49:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-27 14:49:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:49:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:49:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:49:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:49:10] local.INFO: Teltonika packet parsed successfully {"connection_id":145322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:49:10] local.INFO: Passing IMEI to GPS processor {"connection_id":145322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:49:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":145322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:49:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:49:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 14:49:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 14:49:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996731648001,"66":26006,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6972979573867126784},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 14:49:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 14:49:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 14:49:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996731648001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:49:10] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 14:49:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 14:49:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:49:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972979573867126784,"description":"Unknown IO ID 45"} 
[2026-07-27 14:49:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996731648001,"power":26006,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6972979573867126784}} 
[2026-07-27 14:49:10] local.INFO: DEBUG: GPS processor result {"connection_id":145322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:49:10] local.INFO: GPS data processed {"connection_id":145322,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:49:10] local.INFO: Acknowledgment sent {"connection_id":145322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:49:12] local.INFO: TCP Data received {"connection_id":144033,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 14:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144033,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 14:49:12] local.INFO: Processing buffer {"connection_id":144033,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 14:49:12] local.INFO: IMEI packet received {"connection_id":144033,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 14:49:12] local.INFO: IMEI acknowledgment sent {"connection_id":144033,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:49:37] local.INFO: TCP Data received {"connection_id":144036,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:49:37] local.INFO: Processing buffer {"connection_id":144036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:49:37] local.INFO: IMEI packet received {"connection_id":144036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 14:49:37] local.INFO: IMEI acknowledgment sent {"connection_id":144036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:49:38] local.INFO: TCP Data received {"connection_id":143049,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2dbd9e8012d1966c0071fee78003b005c2b..."} 
[2026-07-27 14:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2dbd9e8012d1966c0071fee78003b005c2b..."} 
[2026-07-27 14:49:38] local.INFO: Processing buffer {"connection_id":143049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2dbd9e8012d1966c0071fee78003b005c2b..."} 
[2026-07-27 14:49:38] local.INFO: Packet analysis {"connection_id":143049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2db"} 
[2026-07-27 14:49:38] local.INFO: Extracted packet for processing {"connection_id":143049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2db"} 
[2026-07-27 14:49:38] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":43,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14:49:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:49:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996793344001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:49:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:49:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:49:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:49:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785143745000,"timestamp_ms":1785143745000,"timestamp_seconds":1785143745,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2dbd9e8"} 
[2026-07-27 14:49:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:49:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:49:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-27 14:49:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:49:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:49:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:49:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:49:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:49:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:49:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:49:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:49:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:49:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:49:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996793344001,"66":12341,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:49:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:49:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:49:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996793344001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:49:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:49:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:49:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:49:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:49:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996793344001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:49:38] local.INFO: DEBUG: GPS processor result {"connection_id":143049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553608,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:49:38] local.INFO: GPS data processed {"connection_id":143049,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:49:38] local.INFO: Acknowledgment sent {"connection_id":143049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:49:42] local.INFO: TCP Data received {"connection_id":144036,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:49:42] local.INFO: Processing buffer {"connection_id":144036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:49:42] local.INFO: IMEI packet received {"connection_id":144036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 14:49:42] local.INFO: IMEI acknowledgment sent {"connection_id":144036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:49:43] local.INFO: TCP Data received {"connection_id":144036,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2dc7240012d9f3b0005a19860001500bf2e..."} 
[2026-07-27 14:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2dc7240012d9f3b0005a19860001500bf2e..."} 
[2026-07-27 14:49:43] local.INFO: Processing buffer {"connection_id":144036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2dc7240012d9f3b0005a19860001500bf2e..."} 
[2026-07-27 14:49:43] local.INFO: Packet analysis {"connection_id":144036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2dc"} 
[2026-07-27 14:49:43] local.INFO: Extracted packet for processing {"connection_id":144036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2dc"} 
[2026-07-27 14:49:43] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":21,"angle":191,"satellites":46,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 14:49:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:49:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996731648001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:49:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 14:49:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972979573867126784,"note":"Value kept but may cause issues"} 
[2026-07-27 14:49:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:49:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785143784000,"timestamp_ms":1785143784000,"timestamp_seconds":1785143784,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2dc7240"} 
[2026-07-27 14:49:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:49:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 14: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-27 14:49:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:49:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:49:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:49:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:49:43] local.INFO: Teltonika packet parsed successfully {"connection_id":144036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:49:43] local.INFO: Passing IMEI to GPS processor {"connection_id":144036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:49:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":144036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:49:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:49:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 14:49:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 14:49:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996731648001,"66":26006,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6972979573867126784},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 14:49:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 14:49:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 14:49:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996731648001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:49:43] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 14:49:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 14:49:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:49:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972979573867126784,"description":"Unknown IO ID 45"} 
[2026-07-27 14:49:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996731648001,"power":26006,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6972979573867126784}} 
[2026-07-27 14:49:43] local.INFO: DEBUG: GPS processor result {"connection_id":144036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:49:43] local.INFO: GPS data processed {"connection_id":144036,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:49:43] local.INFO: Acknowledgment sent {"connection_id":144036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:49:47] local.INFO: TCP Data received {"connection_id":144036,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2dc7240012d9f3b0005a19860001500bf2e..."} 
[2026-07-27 14:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2dc7240012d9f3b0005a19860001500bf2e..."} 
[2026-07-27 14:49:47] local.INFO: Processing buffer {"connection_id":144036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2dc7240012d9f3b0005a19860001500bf2e..."} 
[2026-07-27 14:49:47] local.INFO: Packet analysis {"connection_id":144036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2dc"} 
[2026-07-27 14:49:47] local.INFO: Extracted packet for processing {"connection_id":144036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2dc"} 
[2026-07-27 14:49:47] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":21,"angle":191,"satellites":46,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 14:49:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:49:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996731648001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:49:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 14:49:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972979573867126784,"note":"Value kept but may cause issues"} 
[2026-07-27 14:49:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:49:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785143784000,"timestamp_ms":1785143784000,"timestamp_seconds":1785143784,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2dc7240"} 
[2026-07-27 14:49:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:49:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 14: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-27 14:49:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:49:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:49:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:49:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:49:47] local.INFO: Teltonika packet parsed successfully {"connection_id":144036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:49:47] local.INFO: Passing IMEI to GPS processor {"connection_id":144036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:49:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":144036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:49:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:49:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 14:49:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 14:49:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996731648001,"66":26006,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6972979573867126784},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 14:49:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 14:49:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 14:49:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996731648001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:49:47] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 14:49:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 14:49:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:49:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972979573867126784,"description":"Unknown IO ID 45"} 
[2026-07-27 14:49:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996731648001,"power":26006,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6972979573867126784}} 
[2026-07-27 14:49:47] local.INFO: DEBUG: GPS processor result {"connection_id":144036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:49:47] local.INFO: GPS data processed {"connection_id":144036,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:49:47] local.INFO: Acknowledgment sent {"connection_id":144036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:50:00] local.INFO: TCP Data received {"connection_id":142909,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142909,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:50:00] local.INFO: Processing buffer {"connection_id":142909,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:50:00] local.INFO: IMEI packet received {"connection_id":142909,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 14:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":142909,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:50:05] local.INFO: TCP Data received {"connection_id":142909,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142909,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:50:05] local.INFO: Processing buffer {"connection_id":142909,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:50:05] local.INFO: IMEI packet received {"connection_id":142909,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 14:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":142909,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:50:07] local.INFO: TCP Data received {"connection_id":142909,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2dc2bf0012d1966c0071fee78003b005c28..."} 
[2026-07-27 14:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142909,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2dc2bf0012d1966c0071fee78003b005c28..."} 
[2026-07-27 14:50:07] local.INFO: Processing buffer {"connection_id":142909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2dc2bf0012d1966c0071fee78003b005c28..."} 
[2026-07-27 14:50:07] local.INFO: Packet analysis {"connection_id":142909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2dc"} 
[2026-07-27 14:50:07] local.INFO: Extracted packet for processing {"connection_id":142909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2dc"} 
[2026-07-27 14:50:07] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":40,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14:50:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:50:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996798720001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:50:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:50:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:50:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:50:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785143766000,"timestamp_ms":1785143766000,"timestamp_seconds":1785143766,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2dc2bf0"} 
[2026-07-27 14:50:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:50:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:50:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 14:50:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:50:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:50:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:50:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:50:07] local.INFO: Teltonika packet parsed successfully {"connection_id":142909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:50:07] local.INFO: Passing IMEI to GPS processor {"connection_id":142909,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:50:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":142909,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:50:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:50:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:50:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:50:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996798720001,"66":12319,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:50:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:50:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:50:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996798720001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:50:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:50:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:50:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:50:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:50:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996798720001,"power":12319,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:50:07] local.INFO: DEBUG: GPS processor result {"connection_id":142909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553611,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:50:07] local.INFO: GPS data processed {"connection_id":142909,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:50:07] local.INFO: Acknowledgment sent {"connection_id":142909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:50:32] local.INFO: TCP Data received {"connection_id":143050,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:50:32] local.INFO: Processing buffer {"connection_id":143050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:50:32] local.INFO: IMEI packet received {"connection_id":143050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 14:50:32] local.INFO: IMEI acknowledgment sent {"connection_id":143050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:50:37] local.INFO: TCP Data received {"connection_id":143050,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:50:37] local.INFO: Processing buffer {"connection_id":143050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:50:37] local.INFO: IMEI packet received {"connection_id":143050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 14:50:37] local.INFO: IMEI acknowledgment sent {"connection_id":143050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:50:38] local.INFO: TCP Data received {"connection_id":143050,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2dc7240012d9f3b0005a19860001500bf2e..."} 
[2026-07-27 14:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143050,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2dc7240012d9f3b0005a19860001500bf2e..."} 
[2026-07-27 14:50:38] local.INFO: Processing buffer {"connection_id":143050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2dc7240012d9f3b0005a19860001500bf2e..."} 
[2026-07-27 14:50:38] local.INFO: Packet analysis {"connection_id":143050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2dc"} 
[2026-07-27 14:50:38] local.INFO: Extracted packet for processing {"connection_id":143050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2dc"} 
[2026-07-27 14:50:38] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":21,"angle":191,"satellites":46,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 14:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:50:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996731648001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:50:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 14:50:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972979573867126784,"note":"Value kept but may cause issues"} 
[2026-07-27 14:50:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:50:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785143784000,"timestamp_ms":1785143784000,"timestamp_seconds":1785143784,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2dc7240"} 
[2026-07-27 14:50:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:50:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 14:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-27 14:50:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:50:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:50:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:50:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:50:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:50:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:50:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:50:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:50:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 14:50:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 14:50:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996731648001,"66":26006,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6972979573867126784},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 14:50:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 14:50:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 14:50:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996731648001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:50:38] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 14:50:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 14:50:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:50:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972979573867126784,"description":"Unknown IO ID 45"} 
[2026-07-27 14:50:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996731648001,"power":26006,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6972979573867126784}} 
[2026-07-27 14:50:38] local.INFO: DEBUG: GPS processor result {"connection_id":143050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:50:38] local.INFO: GPS data processed {"connection_id":143050,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:50:38] local.INFO: Acknowledgment sent {"connection_id":143050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:50:38] local.INFO: TCP Data received {"connection_id":142909,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2dc7df8012d1966c0071fee78003b005c27..."} 
[2026-07-27 14:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142909,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2dc7df8012d1966c0071fee78003b005c27..."} 
[2026-07-27 14:50:39] local.INFO: Processing buffer {"connection_id":142909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2dc7df8012d1966c0071fee78003b005c27..."} 
[2026-07-27 14:50:39] local.INFO: Packet analysis {"connection_id":142909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2dc"} 
[2026-07-27 14:50:39] local.INFO: Extracted packet for processing {"connection_id":142909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2dc"} 
[2026-07-27 14:50:39] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":39,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14:50:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:50:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996804096001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:50:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:50:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:50:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:50:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785143787000,"timestamp_ms":1785143787000,"timestamp_seconds":1785143787,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2dc7df8"} 
[2026-07-27 14:50:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:50:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:50:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 14:50:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:50:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:50:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:50:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:50:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:50:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142909,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:50:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142909,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:50:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:50:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:50:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:50:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996804096001,"66":12330,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:50:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:50:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:50:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996804096001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:50:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:50:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:50:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:50:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:50:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996804096001,"power":12330,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:50:39] local.INFO: DEBUG: GPS processor result {"connection_id":142909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553613,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:50:39] local.INFO: GPS data processed {"connection_id":142909,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:50:39] local.INFO: Acknowledgment sent {"connection_id":142909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:51:00] local.INFO: TCP Data received {"connection_id":144037,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144037,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:51:00] local.INFO: Processing buffer {"connection_id":144037,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:51:00] local.INFO: IMEI packet received {"connection_id":144037,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 14:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":144037,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:51:05] local.INFO: TCP Data received {"connection_id":144037,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144037,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:51:05] local.INFO: Processing buffer {"connection_id":144037,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:51:05] local.INFO: IMEI packet received {"connection_id":144037,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 14:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":144037,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:51:06] local.INFO: TCP Data received {"connection_id":144037,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2dcd000012d1966c0071fee78003b005c2b..."} 
[2026-07-27 14:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2dcd000012d1966c0071fee78003b005c2b..."} 
[2026-07-27 14:51:06] local.INFO: Processing buffer {"connection_id":144037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2dcd000012d1966c0071fee78003b005c2b..."} 
[2026-07-27 14:51:06] local.INFO: Packet analysis {"connection_id":144037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2dc"} 
[2026-07-27 14:51:06] local.INFO: Extracted packet for processing {"connection_id":144037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2dc"} 
[2026-07-27 14:51:06] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":43,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:51:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996809472001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:51:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:51:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:51:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:51:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785143808000,"timestamp_ms":1785143808000,"timestamp_seconds":1785143808,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2dcd000"} 
[2026-07-27 14:51:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:51:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-07-27 14:51:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":816,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:51:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:51:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:51:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:51:06] local.INFO: Teltonika packet parsed successfully {"connection_id":144037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:51:06] local.INFO: Passing IMEI to GPS processor {"connection_id":144037,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:51:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":144037,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:51:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:51:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:51:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:51:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996809472001,"66":12319,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:51:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:51:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:51:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996809472001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:51:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:51:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:51:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:51:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:51:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996809472001,"power":12319,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:51:06] local.INFO: DEBUG: GPS processor result {"connection_id":144037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553614,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:51:06] local.INFO: GPS data processed {"connection_id":144037,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:51:06] local.INFO: Acknowledgment sent {"connection_id":144037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:51:09] local.INFO: TCP Data received {"connection_id":143050,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2dc7240012d9f3b0005a19860001500bf2e..."} 
[2026-07-27 14:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143050,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2dc7240012d9f3b0005a19860001500bf2e..."} 
[2026-07-27 14:51:09] local.INFO: Processing buffer {"connection_id":143050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2dc7240012d9f3b0005a19860001500bf2e..."} 
[2026-07-27 14:51:09] local.INFO: Packet analysis {"connection_id":143050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2dc"} 
[2026-07-27 14:51:09] local.INFO: Extracted packet for processing {"connection_id":143050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2dc"} 
[2026-07-27 14:51:09] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":21,"angle":191,"satellites":46,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 14:51:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:51:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996731648001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:51:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 14:51:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972979573867126784,"note":"Value kept but may cause issues"} 
[2026-07-27 14:51:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:51:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785143784000,"timestamp_ms":1785143784000,"timestamp_seconds":1785143784,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2dc7240"} 
[2026-07-27 14:51:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:51:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-27 14:51:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:51:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:51:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:51:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:51:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:51:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:51:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:51:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:51:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 14:51:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 14:51:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996731648001,"66":26006,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6972979573867126784},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 14:51:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 14:51:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 14:51:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996731648001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:51:09] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 14:51:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 14:51:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:51:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972979573867126784,"description":"Unknown IO ID 45"} 
[2026-07-27 14:51:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996731648001,"power":26006,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6972979573867126784}} 
[2026-07-27 14:51:09] local.INFO: DEBUG: GPS processor result {"connection_id":143050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:51:09] local.INFO: GPS data processed {"connection_id":143050,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:51:09] local.INFO: Acknowledgment sent {"connection_id":143050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:51:32] local.INFO: TCP Data received {"connection_id":142910,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:51:32] local.INFO: Processing buffer {"connection_id":142910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:51:32] local.INFO: IMEI packet received {"connection_id":142910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 14:51:32] local.INFO: IMEI acknowledgment sent {"connection_id":142910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:51:37] local.INFO: TCP Data received {"connection_id":142910,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:51:37] local.INFO: Processing buffer {"connection_id":142910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:51:37] local.INFO: IMEI packet received {"connection_id":142910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 14:51:37] local.INFO: IMEI acknowledgment sent {"connection_id":142910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:51:37] local.INFO: TCP Data received {"connection_id":144037,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2dd2208012d1966c0071fee78003b005c2a..."} 
[2026-07-27 14:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2dd2208012d1966c0071fee78003b005c2a..."} 
[2026-07-27 14:51:37] local.INFO: Processing buffer {"connection_id":144037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2dd2208012d1966c0071fee78003b005c2a..."} 
[2026-07-27 14:51:37] local.INFO: Packet analysis {"connection_id":144037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2dd"} 
[2026-07-27 14:51:37] local.INFO: Extracted packet for processing {"connection_id":144037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2dd"} 
[2026-07-27 14:51:37] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":42,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:51:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996814848001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:51:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:51:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:51:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:51:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785143829000,"timestamp_ms":1785143829000,"timestamp_seconds":1785143829,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2dd2208"} 
[2026-07-27 14:51:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:51:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 14:51:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:51:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:51:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:51:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:51:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:51:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144037,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:51:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144037,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:51:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:51:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:51:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:51:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996814848001,"66":12287,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:51:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:51:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:51:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996814848001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:51:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:51:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:51:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:51:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:51:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996814848001,"power":12287,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:51:37] local.INFO: DEBUG: GPS processor result {"connection_id":144037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553616,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:51:37] local.INFO: GPS data processed {"connection_id":144037,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:51:37] local.INFO: Acknowledgment sent {"connection_id":144037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:51:38] local.INFO: TCP Data received {"connection_id":142910,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2dc7240012d9f3b0005a19860001500bf2e..."} 
[2026-07-27 14:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2dc7240012d9f3b0005a19860001500bf2e..."} 
[2026-07-27 14:51:38] local.INFO: Processing buffer {"connection_id":142910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2dc7240012d9f3b0005a19860001500bf2e..."} 
[2026-07-27 14:51:38] local.INFO: Packet analysis {"connection_id":142910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2dc"} 
[2026-07-27 14:51:38] local.INFO: Extracted packet for processing {"connection_id":142910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2dc"} 
[2026-07-27 14:51:38] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":21,"angle":191,"satellites":46,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 14:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:51:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996731648001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:51:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 14:51:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972979573867126784,"note":"Value kept but may cause issues"} 
[2026-07-27 14:51:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:51:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785143784000,"timestamp_ms":1785143784000,"timestamp_seconds":1785143784,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2dc7240"} 
[2026-07-27 14:51:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:51:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 14:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-27 14:51:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:51:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:51:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:51:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:51:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:51:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:51:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:51:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:51:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 14:51:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 14:51:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996731648001,"66":26006,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6972979573867126784},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 14:51:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 14:51:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 14:51:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996731648001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:51:38] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 14:51:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 14:51:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:51:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972979573867126784,"description":"Unknown IO ID 45"} 
[2026-07-27 14:51:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996731648001,"power":26006,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6972979573867126784}} 
[2026-07-27 14:51:38] local.INFO: DEBUG: GPS processor result {"connection_id":142910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:51:38] local.INFO: GPS data processed {"connection_id":142910,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:51:38] local.INFO: Acknowledgment sent {"connection_id":142910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:51:59] local.INFO: TCP Data received {"connection_id":143051,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143051,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:51:59] local.INFO: Processing buffer {"connection_id":143051,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:51:59] local.INFO: IMEI packet received {"connection_id":143051,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 14:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":143051,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:51:59] local.INFO: TCP Data received {"connection_id":143051,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143051,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:51:59] local.INFO: Processing buffer {"connection_id":143051,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:51:59] local.INFO: IMEI packet received {"connection_id":143051,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 14:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":143051,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:52:05] local.INFO: TCP Data received {"connection_id":143051,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143051,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:52:05] local.INFO: Processing buffer {"connection_id":143051,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:52:05] local.INFO: IMEI packet received {"connection_id":143051,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 14:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":143051,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:52:06] local.INFO: TCP Data received {"connection_id":143051,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2dd7410012d1966c0071fee78003b005c29..."} 
[2026-07-27 14:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143051,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2dd7410012d1966c0071fee78003b005c29..."} 
[2026-07-27 14:52:06] local.INFO: Processing buffer {"connection_id":143051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2dd7410012d1966c0071fee78003b005c29..."} 
[2026-07-27 14:52:06] local.INFO: Packet analysis {"connection_id":143051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2dd"} 
[2026-07-27 14:52:06] local.INFO: Extracted packet for processing {"connection_id":143051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2dd"} 
[2026-07-27 14:52:06] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":41,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:52:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996820224001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:52:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:52:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:52:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:52:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785143850000,"timestamp_ms":1785143850000,"timestamp_seconds":1785143850,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2dd7410"} 
[2026-07-27 14:52:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:52:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-27 14:52:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:52:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:52:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:52:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:52:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:52:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:52:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:52:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:52:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:52:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:52:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996820224001,"66":12319,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:52:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:52:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:52:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996820224001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:52:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:52:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:52:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:52:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:52:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996820224001,"power":12319,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:52:06] local.INFO: DEBUG: GPS processor result {"connection_id":143051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553618,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:52:06] local.INFO: GPS data processed {"connection_id":143051,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:52:06] local.INFO: Acknowledgment sent {"connection_id":143051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:52:09] local.INFO: TCP Data received {"connection_id":142910,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2e10a08012d9f3b0005a19860001500bf2d..."} 
[2026-07-27 14:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2e10a08012d9f3b0005a19860001500bf2d..."} 
[2026-07-27 14:52:09] local.INFO: Processing buffer {"connection_id":142910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2e10a08012d9f3b0005a19860001500bf2d..."} 
[2026-07-27 14:52:09] local.INFO: Packet analysis {"connection_id":142910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2e1"} 
[2026-07-27 14:52:09] local.INFO: Extracted packet for processing {"connection_id":142910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2e1"} 
[2026-07-27 14:52:09] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":21,"angle":191,"satellites":45,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 14:52:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:52:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996808704001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:52:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 14:52:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972979573867126784,"note":"Value kept but may cause issues"} 
[2026-07-27 14:52:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:52:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785144085000,"timestamp_ms":1785144085000,"timestamp_seconds":1785144085,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2e10a08"} 
[2026-07-27 14:52:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:52:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-27 14:52:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:52:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:52:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:52:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:52:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:52:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:52:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:52:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:52:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 14:52:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 14:52:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996808704001,"66":25919,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6972979573867126784},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 14:52:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 14:52:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 14:52:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996808704001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:52:09] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 14:52:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 14:52:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:52:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972979573867126784,"description":"Unknown IO ID 45"} 
[2026-07-27 14:52:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996808704001,"power":25919,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6972979573867126784}} 
[2026-07-27 14:52:09] local.INFO: DEBUG: GPS processor result {"connection_id":142910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:52:09] local.INFO: GPS data processed {"connection_id":142910,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:52:09] local.INFO: Acknowledgment sent {"connection_id":142910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:52:32] local.INFO: TCP Data received {"connection_id":145324,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:52:32] local.INFO: Processing buffer {"connection_id":145324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:52:32] local.INFO: IMEI packet received {"connection_id":145324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 14:52:32] local.INFO: IMEI acknowledgment sent {"connection_id":145324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:52:37] local.INFO: TCP Data received {"connection_id":145324,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:52:37] local.INFO: Processing buffer {"connection_id":145324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:52:37] local.INFO: IMEI packet received {"connection_id":145324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 14:52:37] local.INFO: IMEI acknowledgment sent {"connection_id":145324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:52:38] local.INFO: TCP Data received {"connection_id":143051,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2ddc618012d1966c0071fee78003b005c2b..."} 
[2026-07-27 14:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143051,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2ddc618012d1966c0071fee78003b005c2b..."} 
[2026-07-27 14:52:38] local.INFO: Processing buffer {"connection_id":143051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2ddc618012d1966c0071fee78003b005c2b..."} 
[2026-07-27 14:52:38] local.INFO: Packet analysis {"connection_id":143051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2dd"} 
[2026-07-27 14:52:38] local.INFO: Extracted packet for processing {"connection_id":143051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2dd"} 
[2026-07-27 14:52:38] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":43,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:52:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996825600001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:52:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:52:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:52:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:52:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785143871000,"timestamp_ms":1785143871000,"timestamp_seconds":1785143871,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2ddc618"} 
[2026-07-27 14:52:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:52:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 14:52:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:52:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:52:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:52:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:52:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:52:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:52:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:52:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:52:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:52:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:52:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996825600001,"66":12298,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:52:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:52:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:52:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996825600001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:52:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:52:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:52:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:52:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:52:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996825600001,"power":12298,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:52:38] local.INFO: DEBUG: GPS processor result {"connection_id":143051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553620,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:52:38] local.INFO: GPS data processed {"connection_id":143051,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:52:38] local.INFO: Acknowledgment sent {"connection_id":143051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:52:38] local.INFO: TCP Data received {"connection_id":145324,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2e10a08012d9f3b0005a19860001500bf2d..."} 
[2026-07-27 14:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2e10a08012d9f3b0005a19860001500bf2d..."} 
[2026-07-27 14:52:38] local.INFO: Processing buffer {"connection_id":145324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2e10a08012d9f3b0005a19860001500bf2d..."} 
[2026-07-27 14:52:38] local.INFO: Packet analysis {"connection_id":145324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2e1"} 
[2026-07-27 14:52:38] local.INFO: Extracted packet for processing {"connection_id":145324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2e1"} 
[2026-07-27 14:52:38] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":21,"angle":191,"satellites":45,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 14:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:52:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996808704001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:52:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 14:52:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972979573867126784,"note":"Value kept but may cause issues"} 
[2026-07-27 14:52:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:52:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785144085000,"timestamp_ms":1785144085000,"timestamp_seconds":1785144085,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2e10a08"} 
[2026-07-27 14:52:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:52:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 14:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-27 14:52:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:52:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:52:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:52:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:52:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:52:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:52:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:52:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:52:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 14:52:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 14:52:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996808704001,"66":25919,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6972979573867126784},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 14:52:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 14:52:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 14:52:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996808704001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:52:38] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 14:52:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 14:52:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:52:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972979573867126784,"description":"Unknown IO ID 45"} 
[2026-07-27 14:52:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996808704001,"power":25919,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6972979573867126784}} 
[2026-07-27 14:52:38] local.INFO: DEBUG: GPS processor result {"connection_id":145324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:52:38] local.INFO: GPS data processed {"connection_id":145324,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:52:38] local.INFO: Acknowledgment sent {"connection_id":145324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:52:59] local.INFO: TCP Data received {"connection_id":144038,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144038,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:52:59] local.INFO: Processing buffer {"connection_id":144038,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:52:59] local.INFO: IMEI packet received {"connection_id":144038,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 14:52:59] local.INFO: IMEI acknowledgment sent {"connection_id":144038,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:53:02] local.INFO: TCP Data received {"connection_id":144038,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144038,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:53:02] local.INFO: Processing buffer {"connection_id":144038,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:53:02] local.INFO: IMEI packet received {"connection_id":144038,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 14:53:02] local.INFO: IMEI acknowledgment sent {"connection_id":144038,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:53:04] local.INFO: TCP Data received {"connection_id":144038,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144038,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:53:04] local.INFO: Processing buffer {"connection_id":144038,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:53:04] local.INFO: IMEI packet received {"connection_id":144038,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 14:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":144038,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:53:06] local.INFO: TCP Data received {"connection_id":144038,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2e14c70012d1966c0071fee78003b005c2e..."} 
[2026-07-27 14:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144038,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2e14c70012d1966c0071fee78003b005c2e..."} 
[2026-07-27 14:53:06] local.INFO: Processing buffer {"connection_id":144038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2e14c70012d1966c0071fee78003b005c2e..."} 
[2026-07-27 14:53:06] local.INFO: Packet analysis {"connection_id":144038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2e1"} 
[2026-07-27 14:53:06] local.INFO: Extracted packet for processing {"connection_id":144038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2e1"} 
[2026-07-27 14:53:06] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":46,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:53:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996884736001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:53:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:53:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:53:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:53:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785144102000,"timestamp_ms":1785144102000,"timestamp_seconds":1785144102,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2e14c70"} 
[2026-07-27 14:53:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:53:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-27 14:53:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:53:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:53:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:53:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:53:06] local.INFO: Teltonika packet parsed successfully {"connection_id":144038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:53:06] local.INFO: Passing IMEI to GPS processor {"connection_id":144038,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:53:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":144038,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:53:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:53:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:53:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:53:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996884736001,"66":12341,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:53:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:53:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:53:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996884736001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:53:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:53:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:53:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:53:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:53:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996884736001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:53:06] local.INFO: DEBUG: GPS processor result {"connection_id":144038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553622,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:53:06] local.INFO: GPS data processed {"connection_id":144038,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:53:06] local.INFO: Acknowledgment sent {"connection_id":144038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:53:10] local.INFO: TCP Data received {"connection_id":145324,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2e10a08012d9f3b0005a19860001500bf2d..."} 
[2026-07-27 14:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2e10a08012d9f3b0005a19860001500bf2d..."} 
[2026-07-27 14:53:10] local.INFO: Processing buffer {"connection_id":145324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2e10a08012d9f3b0005a19860001500bf2d..."} 
[2026-07-27 14:53:10] local.INFO: Packet analysis {"connection_id":145324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2e1"} 
[2026-07-27 14:53:10] local.INFO: Extracted packet for processing {"connection_id":145324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2e1"} 
[2026-07-27 14:53:10] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":21,"angle":191,"satellites":45,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 14:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:53:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996808704001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:53:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 14:53:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972979573867126784,"note":"Value kept but may cause issues"} 
[2026-07-27 14:53:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:53:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785144085000,"timestamp_ms":1785144085000,"timestamp_seconds":1785144085,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2e10a08"} 
[2026-07-27 14:53:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:53:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 14: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-27 14:53:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:53:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:53:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:53:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:53:10] local.INFO: Teltonika packet parsed successfully {"connection_id":145324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:53:10] local.INFO: Passing IMEI to GPS processor {"connection_id":145324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:53:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":145324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14: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-07-27 14:53:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 14:53:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 14:53:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996808704001,"66":25919,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6972979573867126784},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 14:53:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 14:53:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 14:53:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996808704001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:53:10] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 14:53:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 14:53:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:53:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972979573867126784,"description":"Unknown IO ID 45"} 
[2026-07-27 14:53:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996808704001,"power":25919,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6972979573867126784}} 
[2026-07-27 14:53:10] local.INFO: DEBUG: GPS processor result {"connection_id":145324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:53:10] local.INFO: GPS data processed {"connection_id":145324,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:53:10] local.INFO: Acknowledgment sent {"connection_id":145324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:53:37] local.INFO: TCP Data received {"connection_id":145325,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:53:37] local.INFO: Processing buffer {"connection_id":145325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:53:37] local.INFO: IMEI packet received {"connection_id":145325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 14:53:37] local.INFO: IMEI acknowledgment sent {"connection_id":145325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:53:38] local.INFO: TCP Data received {"connection_id":144038,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2e19e78012d1966c0071fee78003b005c2c..."} 
[2026-07-27 14:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144038,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2e19e78012d1966c0071fee78003b005c2c..."} 
[2026-07-27 14:53:38] local.INFO: Processing buffer {"connection_id":144038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2e19e78012d1966c0071fee78003b005c2c..."} 
[2026-07-27 14:53:38] local.INFO: Packet analysis {"connection_id":144038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2e1"} 
[2026-07-27 14:53:38] local.INFO: Extracted packet for processing {"connection_id":144038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2e1"} 
[2026-07-27 14:53:38] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":44,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:53:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996890112001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:53:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:53:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:53:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:53:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785144123000,"timestamp_ms":1785144123000,"timestamp_seconds":1785144123,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2e19e78"} 
[2026-07-27 14:53:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:53:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 14:53:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:53:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:53:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:53:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:53:38] local.INFO: Teltonika packet parsed successfully {"connection_id":144038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:53:38] local.INFO: Passing IMEI to GPS processor {"connection_id":144038,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:53:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":144038,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:53:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:53:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:53:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:53:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996890112001,"66":12287,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:53:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:53:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:53:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996890112001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:53:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:53:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:53:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:53:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:53:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996890112001,"power":12287,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:53:38] local.INFO: DEBUG: GPS processor result {"connection_id":144038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553624,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:53:38] local.INFO: GPS data processed {"connection_id":144038,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:53:38] local.INFO: Acknowledgment sent {"connection_id":144038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:53:42] local.INFO: TCP Data received {"connection_id":145325,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:53:42] local.INFO: Processing buffer {"connection_id":145325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:53:42] local.INFO: IMEI packet received {"connection_id":145325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 14:53:42] local.INFO: IMEI acknowledgment sent {"connection_id":145325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:53:45] local.INFO: TCP Data received {"connection_id":145325,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2e10a08012d9f3b0005a19860001500bf2d..."} 
[2026-07-27 14:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145325,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2e10a08012d9f3b0005a19860001500bf2d..."} 
[2026-07-27 14:53:45] local.INFO: Processing buffer {"connection_id":145325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2e10a08012d9f3b0005a19860001500bf2d..."} 
[2026-07-27 14:53:45] local.INFO: Packet analysis {"connection_id":145325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2e1"} 
[2026-07-27 14:53:45] local.INFO: Extracted packet for processing {"connection_id":145325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2e1"} 
[2026-07-27 14:53:45] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":21,"angle":191,"satellites":45,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 14:53:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:53:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996808704001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:53:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 14:53:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972979573867126784,"note":"Value kept but may cause issues"} 
[2026-07-27 14:53:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:53:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785144085000,"timestamp_ms":1785144085000,"timestamp_seconds":1785144085,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2e10a08"} 
[2026-07-27 14:53:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:53:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 14:53:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-27 14:53:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:53:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:53:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:53:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:53:45] local.INFO: Teltonika packet parsed successfully {"connection_id":145325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:53:45] local.INFO: Passing IMEI to GPS processor {"connection_id":145325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:53:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":145325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:53:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:53:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 14:53:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 14:53:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996808704001,"66":25919,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6972979573867126784},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 14:53:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 14:53:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 14:53:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996808704001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:53:45] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 14:53:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 14:53:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:53:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972979573867126784,"description":"Unknown IO ID 45"} 
[2026-07-27 14:53:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996808704001,"power":25919,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6972979573867126784}} 
[2026-07-27 14:53:45] local.INFO: DEBUG: GPS processor result {"connection_id":145325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:53:45] local.INFO: GPS data processed {"connection_id":145325,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:53:45] local.INFO: Acknowledgment sent {"connection_id":145325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:53:47] local.INFO: TCP Data received {"connection_id":145325,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2e10a08012d9f3b0005a19860001500bf2d..."} 
[2026-07-27 14:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145325,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2e10a08012d9f3b0005a19860001500bf2d..."} 
[2026-07-27 14:53:47] local.INFO: Processing buffer {"connection_id":145325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2e10a08012d9f3b0005a19860001500bf2d..."} 
[2026-07-27 14:53:47] local.INFO: Packet analysis {"connection_id":145325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2e1"} 
[2026-07-27 14:53:47] local.INFO: Extracted packet for processing {"connection_id":145325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2e1"} 
[2026-07-27 14:53:47] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":21,"angle":191,"satellites":45,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 14:53:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:53:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996808704001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:53:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 14:53:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972979573867126784,"note":"Value kept but may cause issues"} 
[2026-07-27 14:53:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:53:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785144085000,"timestamp_ms":1785144085000,"timestamp_seconds":1785144085,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2e10a08"} 
[2026-07-27 14:53:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:53:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 14: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-27 14:53:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:53:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:53:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:53:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:53:47] local.INFO: Teltonika packet parsed successfully {"connection_id":145325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:53:47] local.INFO: Passing IMEI to GPS processor {"connection_id":145325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:53:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":145325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:53:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:53:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 14:53:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 14:53:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996808704001,"66":25919,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6972979573867126784},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 14:53:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 14:53:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 14:53:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996808704001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:53:47] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 14:53:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 14:53:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:53:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972979573867126784,"description":"Unknown IO ID 45"} 
[2026-07-27 14:53:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996808704001,"power":25919,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6972979573867126784}} 
[2026-07-27 14:53:47] local.INFO: DEBUG: GPS processor result {"connection_id":145325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:53:47] local.INFO: GPS data processed {"connection_id":145325,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:53:47] local.INFO: Acknowledgment sent {"connection_id":145325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:54:05] local.INFO: TCP Data received {"connection_id":142911,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142911,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:54:05] local.INFO: Processing buffer {"connection_id":142911,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:54:05] local.INFO: IMEI packet received {"connection_id":142911,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 14:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":142911,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:54:06] local.INFO: TCP Data received {"connection_id":142911,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142911,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:54:06] local.INFO: Processing buffer {"connection_id":142911,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:54:06] local.INFO: IMEI packet received {"connection_id":142911,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 14:54:06] local.INFO: IMEI acknowledgment sent {"connection_id":142911,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:54:10] local.INFO: TCP Data received {"connection_id":142911,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142911,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:54:10] local.INFO: Processing buffer {"connection_id":142911,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:54:10] local.INFO: IMEI packet received {"connection_id":142911,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 14:54:10] local.INFO: IMEI acknowledgment sent {"connection_id":142911,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:54:12] local.INFO: TCP Data received {"connection_id":142911,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2e1f080012d1966c0071fee78003b005c2d..."} 
[2026-07-27 14:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2e1f080012d1966c0071fee78003b005c2d..."} 
[2026-07-27 14:54:12] local.INFO: Processing buffer {"connection_id":142911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2e1f080012d1966c0071fee78003b005c2d..."} 
[2026-07-27 14:54:12] local.INFO: Packet analysis {"connection_id":142911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2e1"} 
[2026-07-27 14:54:12] local.INFO: Extracted packet for processing {"connection_id":142911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2e1"} 
[2026-07-27 14:54:12] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":45,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14:54:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:54:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996895488001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:54:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:54:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:54:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:54:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785144144000,"timestamp_ms":1785144144000,"timestamp_seconds":1785144144,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2e1f080"} 
[2026-07-27 14:54:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:54:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:54:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-27 14:54:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:54:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:54:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:54:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:54:12] local.INFO: Teltonika packet parsed successfully {"connection_id":142911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:54:12] local.INFO: Passing IMEI to GPS processor {"connection_id":142911,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:54:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":142911,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:54:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:54:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:54:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:54:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996895488001,"66":12298,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:54:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:54:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:54:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996895488001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:54:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:54:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:54:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:54:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:54:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996895488001,"power":12298,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:54:12] local.INFO: DEBUG: GPS processor result {"connection_id":142911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553627,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:54:12] local.INFO: GPS data processed {"connection_id":142911,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:54:12] local.INFO: Acknowledgment sent {"connection_id":142911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:54:15] local.INFO: TCP Data received {"connection_id":142911,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2e24288012d1966c0071fee78003b005c29..."} 
[2026-07-27 14:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2e24288012d1966c0071fee78003b005c29..."} 
[2026-07-27 14:54:15] local.INFO: Processing buffer {"connection_id":142911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2e24288012d1966c0071fee78003b005c29..."} 
[2026-07-27 14:54:15] local.INFO: Packet analysis {"connection_id":142911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2e2"} 
[2026-07-27 14:54:15] local.INFO: Extracted packet for processing {"connection_id":142911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2e2"} 
[2026-07-27 14:54:15] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":41,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14: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-07-27 14:54:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996900864001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:54:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:54:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:54: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-07-27 14:54:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785144165000,"timestamp_ms":1785144165000,"timestamp_seconds":1785144165,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2e24288"} 
[2026-07-27 14:54:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:54: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-07-27 14:54:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-27 14:54:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-27 14:54:15] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168048982131200,"note":"Value kept but may cause issues"} 
[2026-07-27 14:54:15] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452319,"note":"Value kept but may cause issues"} 
[2026-07-27 14:54:15] local.WARNING: Large IO value detected {"io_id":132,"raw_value":-7926335344172072959,"note":"Value kept but may cause issues"} 
[2026-07-27 14:54:15] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-6710448897431627418,"note":"Value kept but may cause issues"} 
[2026-07-27 14:54:15] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513391081710878812,"note":"Value kept but may cause issues"} 
[2026-07-27 14:54:15] local.WARNING: Large IO value detected {"io_id":59,"raw_value":25941877345746944,"note":"Value kept but may cause issues"} 
[2026-07-27 14:54:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":2382417383,"note":"Value kept but may cause issues"} 
[2026-07-27 14:54:15] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832598,"note":"Value kept but may cause issues"} 
[2026-07-27 14:54:15] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683571937968334,"note":"Value kept but may cause issues"} 
[2026-07-27 14:54:15] local.WARNING: Large IO value detected {"io_id":162,"raw_value":3769131009,"note":"Value kept but may cause issues"} 
[2026-07-27 14:54:15] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2224160768,"note":"Value kept but may cause issues"} 
[2026-07-27 14:54:15] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-27 14:54:15] local.WARNING: Large IO value detected {"io_id":102,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-07-27 14:54:15] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,121,28,24,241,158,16,132,159,45,192,238,59,44,10,66,76,46,250,1,240,255,162,31,4,113,205,86,102,120,42,239,2,7],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-07-27 14:54:15] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4251499396581031936,"timestamp_seconds":4251499396581032.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 14:54:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:54:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:54:15] local.INFO: Teltonika packet parsed successfully {"connection_id":142911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:54:15] local.INFO: Passing IMEI to GPS processor {"connection_id":142911,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:54:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":142911,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:54:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:54:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:54:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:54:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996900864001,"66":12298,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:54:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:54:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:54:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996900864001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:54:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:54:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:54:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:54:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:54:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996900864001,"power":12298,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:54:15] local.INFO: DEBUG: GPS processor result {"connection_id":142911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553628,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:54:15] local.INFO: GPS data processed {"connection_id":142911,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:54:15] local.INFO: Acknowledgment sent {"connection_id":142911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:54:32] local.INFO: TCP Data received {"connection_id":143052,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:54:32] local.INFO: Processing buffer {"connection_id":143052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:54:32] local.INFO: IMEI packet received {"connection_id":143052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 14:54:32] local.INFO: IMEI acknowledgment sent {"connection_id":143052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:54:37] local.INFO: TCP Data received {"connection_id":143052,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:54:37] local.INFO: Processing buffer {"connection_id":143052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:54:37] local.INFO: IMEI packet received {"connection_id":143052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 14:54:37] local.INFO: IMEI acknowledgment sent {"connection_id":143052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:54:38] local.INFO: TCP Data received {"connection_id":143052,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2e10a08012d9f3b0005a19860001500bf2d..."} 
[2026-07-27 14:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143052,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2e10a08012d9f3b0005a19860001500bf2d..."} 
[2026-07-27 14:54:38] local.INFO: Processing buffer {"connection_id":143052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2e10a08012d9f3b0005a19860001500bf2d..."} 
[2026-07-27 14:54:38] local.INFO: Packet analysis {"connection_id":143052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2e1"} 
[2026-07-27 14:54:38] local.INFO: Extracted packet for processing {"connection_id":143052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2e1"} 
[2026-07-27 14:54:38] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":21,"angle":191,"satellites":45,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 14:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:54:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996808704001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:54:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 14:54:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972979573867126784,"note":"Value kept but may cause issues"} 
[2026-07-27 14:54:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:54:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785144085000,"timestamp_ms":1785144085000,"timestamp_seconds":1785144085,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2e10a08"} 
[2026-07-27 14:54:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:54:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 14:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-27 14:54:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:54:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:54:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:54:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:54:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:54:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:54:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:54:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:54:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 14:54:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 14:54:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996808704001,"66":25919,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6972979573867126784},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 14:54:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 14:54:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 14:54:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996808704001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:54:38] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 14:54:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 14:54:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:54:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972979573867126784,"description":"Unknown IO ID 45"} 
[2026-07-27 14:54:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996808704001,"power":25919,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6972979573867126784}} 
[2026-07-27 14:54:38] local.INFO: DEBUG: GPS processor result {"connection_id":143052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:54:38] local.INFO: GPS data processed {"connection_id":143052,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:54:38] local.INFO: Acknowledgment sent {"connection_id":143052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:54:46] local.INFO: TCP Data received {"connection_id":145323,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 14:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145323,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 14:54:46] local.INFO: Processing buffer {"connection_id":145323,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 14:54:46] local.INFO: IMEI packet received {"connection_id":145323,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 14:54:46] local.INFO: IMEI acknowledgment sent {"connection_id":145323,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:55:00] local.INFO: TCP Data received {"connection_id":143053,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143053,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:55:00] local.INFO: Processing buffer {"connection_id":143053,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:55:00] local.INFO: IMEI packet received {"connection_id":143053,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 14:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":143053,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:55:05] local.INFO: TCP Data received {"connection_id":143053,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143053,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:55:05] local.INFO: Processing buffer {"connection_id":143053,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:55:05] local.INFO: IMEI packet received {"connection_id":143053,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 14:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":143053,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:55:06] local.INFO: TCP Data received {"connection_id":143053,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2e29490012d1966c0071fee78003b005c2b..."} 
[2026-07-27 14:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2e29490012d1966c0071fee78003b005c2b..."} 
[2026-07-27 14:55:06] local.INFO: Processing buffer {"connection_id":143053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2e29490012d1966c0071fee78003b005c2b..."} 
[2026-07-27 14:55:06] local.INFO: Packet analysis {"connection_id":143053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2e2"} 
[2026-07-27 14:55:06] local.INFO: Extracted packet for processing {"connection_id":143053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2e2"} 
[2026-07-27 14:55:06] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":43,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:55:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996906240001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:55:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:55:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:55:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:55:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785144186000,"timestamp_ms":1785144186000,"timestamp_seconds":1785144186,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2e29490"} 
[2026-07-27 14:55:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:55:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-27 14:55:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-27 14:55:06] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168048982131200,"note":"Value kept but may cause issues"} 
[2026-07-27 14:55:06] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452319,"note":"Value kept but may cause issues"} 
[2026-07-27 14:55:06] local.WARNING: Large IO value detected {"io_id":132,"raw_value":-7926335344172072959,"note":"Value kept but may cause issues"} 
[2026-07-27 14:55:06] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-6710358703118411418,"note":"Value kept but may cause issues"} 
[2026-07-27 14:55:06] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513391081710878812,"note":"Value kept but may cause issues"} 
[2026-07-27 14:55:06] local.WARNING: Large IO value detected {"io_id":59,"raw_value":25941877345746944,"note":"Value kept but may cause issues"} 
[2026-07-27 14:55:06] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832598,"note":"Value kept but may cause issues"} 
[2026-07-27 14:55:06] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3210504468713504974,"note":"Value kept but may cause issues"} 
[2026-07-27 14:55:06] local.WARNING: Large IO value detected {"io_id":162,"raw_value":3774507009,"note":"Value kept but may cause issues"} 
[2026-07-27 14:55:06] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2224160768,"note":"Value kept but may cause issues"} 
[2026-07-27 14:55:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-27 14:55:06] local.WARNING: Large IO value detected {"io_id":102,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-07-27 14:55:06] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,121,28,24,241,158,16,132,159,240,45,192,238,59,10,66,44,76,1,53,162,31,4,113,205,168,102,120,239,48,2,7,42],"length":534,"final_offset":664,"validated_count":33,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-07-27 14:55:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4251499379401162752,"timestamp_seconds":4251499379401163.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 14:55:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:55:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:55:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:55:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:55:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:55:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:55:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:55:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:55:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996906240001,"66":12341,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:55:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:55:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:55:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996906240001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:55:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:55:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:55:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:55:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:55:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996906240001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:55:06] local.INFO: DEBUG: GPS processor result {"connection_id":143053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553630,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:55:06] local.INFO: GPS data processed {"connection_id":143053,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:55:06] local.INFO: Acknowledgment sent {"connection_id":143053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:55:10] local.INFO: TCP Data received {"connection_id":143052,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2e10a08012d9f3b0005a19860001500bf2d..."} 
[2026-07-27 14:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143052,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2e10a08012d9f3b0005a19860001500bf2d..."} 
[2026-07-27 14:55:10] local.INFO: Processing buffer {"connection_id":143052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2e10a08012d9f3b0005a19860001500bf2d..."} 
[2026-07-27 14:55:10] local.INFO: Packet analysis {"connection_id":143052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2e1"} 
[2026-07-27 14:55:10] local.INFO: Extracted packet for processing {"connection_id":143052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2e1"} 
[2026-07-27 14:55:10] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":21,"angle":191,"satellites":45,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 14:55:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:55:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996808704001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:55:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 14:55:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972979573867126784,"note":"Value kept but may cause issues"} 
[2026-07-27 14:55:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:55:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785144085000,"timestamp_ms":1785144085000,"timestamp_seconds":1785144085,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2e10a08"} 
[2026-07-27 14:55:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:55:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 14: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-27 14:55:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:55:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:55:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:55:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:55:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:55:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:55:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:55:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:55:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 14:55:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 14:55:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996808704001,"66":25919,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6972979573867126784},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 14:55:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 14:55:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 14:55:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996808704001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:55:10] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 14:55:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 14:55:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:55:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972979573867126784,"description":"Unknown IO ID 45"} 
[2026-07-27 14:55:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996808704001,"power":25919,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6972979573867126784}} 
[2026-07-27 14:55:10] local.INFO: DEBUG: GPS processor result {"connection_id":143052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:55:10] local.INFO: GPS data processed {"connection_id":143052,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:55:10] local.INFO: Acknowledgment sent {"connection_id":143052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:55:32] local.INFO: TCP Data received {"connection_id":143054,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:55:32] local.INFO: Processing buffer {"connection_id":143054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:55:32] local.INFO: IMEI packet received {"connection_id":143054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 14:55:32] local.INFO: IMEI acknowledgment sent {"connection_id":143054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:55:37] local.INFO: TCP Data received {"connection_id":143054,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:55:37] local.INFO: Processing buffer {"connection_id":143054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:55:37] local.INFO: IMEI packet received {"connection_id":143054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 14:55:37] local.INFO: IMEI acknowledgment sent {"connection_id":143054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:55:38] local.INFO: TCP Data received {"connection_id":143053,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2e2e698012d1966c0071fee78003b005c25..."} 
[2026-07-27 14:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2e2e698012d1966c0071fee78003b005c25..."} 
[2026-07-27 14:55:38] local.INFO: Processing buffer {"connection_id":143053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2e2e698012d1966c0071fee78003b005c25..."} 
[2026-07-27 14:55:38] local.INFO: Packet analysis {"connection_id":143053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2e2"} 
[2026-07-27 14:55:38] local.INFO: Extracted packet for processing {"connection_id":143053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2e2"} 
[2026-07-27 14:55:38] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":37,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:55:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996911616001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:55:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:55:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:55:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:55:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785144207000,"timestamp_ms":1785144207000,"timestamp_seconds":1785144207,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2e2e698"} 
[2026-07-27 14:55:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:55:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 14:55:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:55:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:55:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:55:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:55:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:55:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:55:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:55:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:55:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:55:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:55:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996911616001,"66":12287,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:55:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:55:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:55:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996911616001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:55:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:55:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:55:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:55:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:55:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996911616001,"power":12287,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:55:38] local.INFO: DEBUG: GPS processor result {"connection_id":143053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553632,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:55:38] local.INFO: GPS data processed {"connection_id":143053,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:55:38] local.INFO: Acknowledgment sent {"connection_id":143053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:55:38] local.INFO: TCP Data received {"connection_id":143054,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2e10a08012d9f3b0005a19860001500bf2d..."} 
[2026-07-27 14:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143054,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2e10a08012d9f3b0005a19860001500bf2d..."} 
[2026-07-27 14:55:38] local.INFO: Processing buffer {"connection_id":143054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2e10a08012d9f3b0005a19860001500bf2d..."} 
[2026-07-27 14:55:38] local.INFO: Packet analysis {"connection_id":143054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2e1"} 
[2026-07-27 14:55:38] local.INFO: Extracted packet for processing {"connection_id":143054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2e1"} 
[2026-07-27 14:55:38] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":21,"angle":191,"satellites":45,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 14:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:55:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996808704001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:55:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 14:55:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972979573867126784,"note":"Value kept but may cause issues"} 
[2026-07-27 14:55:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:55:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785144085000,"timestamp_ms":1785144085000,"timestamp_seconds":1785144085,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2e10a08"} 
[2026-07-27 14:55:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:55:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 14:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-27 14:55:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:55:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:55:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:55:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:55:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:55:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:55:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:55:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:55:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 14:55:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 14:55:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996808704001,"66":25919,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6972979573867126784},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 14:55:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 14:55:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 14:55:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996808704001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:55:38] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 14:55:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 14:55:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:55:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972979573867126784,"description":"Unknown IO ID 45"} 
[2026-07-27 14:55:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996808704001,"power":25919,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6972979573867126784}} 
[2026-07-27 14:55:38] local.INFO: DEBUG: GPS processor result {"connection_id":143054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:55:38] local.INFO: GPS data processed {"connection_id":143054,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:55:38] local.INFO: Acknowledgment sent {"connection_id":143054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:55:59] local.INFO: TCP Data received {"connection_id":142912,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142912,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:55:59] local.INFO: Processing buffer {"connection_id":142912,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:55:59] local.INFO: IMEI packet received {"connection_id":142912,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 14:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":142912,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:56:05] local.INFO: TCP Data received {"connection_id":142912,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142912,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:56:05] local.INFO: Processing buffer {"connection_id":142912,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:56:05] local.INFO: IMEI packet received {"connection_id":142912,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 14:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":142912,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:56:06] local.INFO: TCP Data received {"connection_id":142912,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2e338a0012d1966c0071fee78003b005c2d..."} 
[2026-07-27 14:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2e338a0012d1966c0071fee78003b005c2d..."} 
[2026-07-27 14:56:06] local.INFO: Processing buffer {"connection_id":142912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2e338a0012d1966c0071fee78003b005c2d..."} 
[2026-07-27 14:56:06] local.INFO: Packet analysis {"connection_id":142912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2e3"} 
[2026-07-27 14:56:06] local.INFO: Extracted packet for processing {"connection_id":142912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2e3"} 
[2026-07-27 14:56:06] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":45,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996916992001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:56:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:56:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785144228000,"timestamp_ms":1785144228000,"timestamp_seconds":1785144228,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2e338a0"} 
[2026-07-27 14:56:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:56:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-27 14:56:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:56:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:56:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":142912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":142912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":142912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:56:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996916992001,"66":12363,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996916992001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:56:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:56:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:56:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996916992001,"power":12363,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:56:06] local.INFO: DEBUG: GPS processor result {"connection_id":142912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553634,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:56:06] local.INFO: GPS data processed {"connection_id":142912,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:56:06] local.INFO: Acknowledgment sent {"connection_id":142912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:56:09] local.INFO: TCP Data received {"connection_id":143054,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2e10a08012d9f3b0005a19860001500bf2d..."} 
[2026-07-27 14:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143054,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2e10a08012d9f3b0005a19860001500bf2d..."} 
[2026-07-27 14:56:09] local.INFO: Processing buffer {"connection_id":143054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2e10a08012d9f3b0005a19860001500bf2d..."} 
[2026-07-27 14:56:09] local.INFO: Packet analysis {"connection_id":143054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2e1"} 
[2026-07-27 14:56:09] local.INFO: Extracted packet for processing {"connection_id":143054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2e1"} 
[2026-07-27 14:56:09] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":21,"angle":191,"satellites":45,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 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-07-27 14:56:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996808704001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:56:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 14:56:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972979573867126784,"note":"Value kept but may cause issues"} 
[2026-07-27 14:56:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:56:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785144085000,"timestamp_ms":1785144085000,"timestamp_seconds":1785144085,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2e10a08"} 
[2026-07-27 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-07-27 14:56:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-27 14:56:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 14:56:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:56:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:56:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:56:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14: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-07-27 14:56:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 14:56:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 14:56:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996808704001,"66":25919,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6972979573867126784},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 14:56:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 14:56:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 14:56:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996808704001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:56:09] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 14:56:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 14:56:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:56:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972979573867126784,"description":"Unknown IO ID 45"} 
[2026-07-27 14:56:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996808704001,"power":25919,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6972979573867126784}} 
[2026-07-27 14:56:09] local.INFO: DEBUG: GPS processor result {"connection_id":143054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:56:09] local.INFO: GPS data processed {"connection_id":143054,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:56:09] local.INFO: Acknowledgment sent {"connection_id":143054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:56:32] local.INFO: TCP Data received {"connection_id":145326,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:56:32] local.INFO: Processing buffer {"connection_id":145326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:56:32] local.INFO: IMEI packet received {"connection_id":145326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 14:56:32] local.INFO: IMEI acknowledgment sent {"connection_id":145326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:56:37] local.INFO: TCP Data received {"connection_id":145326,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:56:37] local.INFO: Processing buffer {"connection_id":145326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:56:37] local.INFO: IMEI packet received {"connection_id":145326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 14:56:37] local.INFO: IMEI acknowledgment sent {"connection_id":145326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:56:38] local.INFO: TCP Data received {"connection_id":145326,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2e10a08012d9f3b0005a19860001500bf2d..."} 
[2026-07-27 14:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2e10a08012d9f3b0005a19860001500bf2d..."} 
[2026-07-27 14:56:38] local.INFO: Processing buffer {"connection_id":145326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2e10a08012d9f3b0005a19860001500bf2d..."} 
[2026-07-27 14:56:38] local.INFO: Packet analysis {"connection_id":145326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2e1"} 
[2026-07-27 14:56:38] local.INFO: Extracted packet for processing {"connection_id":145326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2e1"} 
[2026-07-27 14:56:38] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":21,"angle":191,"satellites":45,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 14:56:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:56:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996808704001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:56:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 14:56:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972979573867126784,"note":"Value kept but may cause issues"} 
[2026-07-27 14:56:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:56:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785144085000,"timestamp_ms":1785144085000,"timestamp_seconds":1785144085,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2e10a08"} 
[2026-07-27 14:56:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:56:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 14:56:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-27 14:56:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:56:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:56:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:56:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:56:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:56:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:56:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:56:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:56:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 14:56:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 14:56:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996808704001,"66":25919,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6972979573867126784},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 14:56:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 14:56:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 14:56:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996808704001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:56:38] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 14:56:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 14:56:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:56:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972979573867126784,"description":"Unknown IO ID 45"} 
[2026-07-27 14:56:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996808704001,"power":25919,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6972979573867126784}} 
[2026-07-27 14:56:38] local.INFO: DEBUG: GPS processor result {"connection_id":145326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:56:38] local.INFO: GPS data processed {"connection_id":145326,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:56:38] local.INFO: Acknowledgment sent {"connection_id":145326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:56:38] local.INFO: TCP Data received {"connection_id":142912,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2e38aa8012d1966c0071fee78003b005c2e..."} 
[2026-07-27 14:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2e38aa8012d1966c0071fee78003b005c2e..."} 
[2026-07-27 14:56:38] local.INFO: Processing buffer {"connection_id":142912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2e38aa8012d1966c0071fee78003b005c2e..."} 
[2026-07-27 14:56:38] local.INFO: Packet analysis {"connection_id":142912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2e3"} 
[2026-07-27 14:56:38] local.INFO: Extracted packet for processing {"connection_id":142912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2e3"} 
[2026-07-27 14:56:38] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":46,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14:56:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:56:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996922368001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:56:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:56:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:56:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:56:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785144249000,"timestamp_ms":1785144249000,"timestamp_seconds":1785144249,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2e38aa8"} 
[2026-07-27 14:56:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:56:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:56:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-27 14:56:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:56:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:56:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:56:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:56:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:56:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:56:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:56:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:56:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:56:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:56:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996922368001,"66":12298,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:56:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:56:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:56:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996922368001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:56:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:56:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:56:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:56:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:56:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996922368001,"power":12298,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:56:39] local.INFO: DEBUG: GPS processor result {"connection_id":142912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553637,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:56:39] local.INFO: GPS data processed {"connection_id":142912,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:56:39] local.INFO: Acknowledgment sent {"connection_id":142912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:57:00] local.INFO: TCP Data received {"connection_id":144040,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144040,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:57:00] local.INFO: Processing buffer {"connection_id":144040,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:57:00] local.INFO: IMEI packet received {"connection_id":144040,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 14:57:00] local.INFO: IMEI acknowledgment sent {"connection_id":144040,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:57:05] local.INFO: TCP Data received {"connection_id":144040,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144040,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:57:05] local.INFO: Processing buffer {"connection_id":144040,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:57:05] local.INFO: IMEI packet received {"connection_id":144040,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 14:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":144040,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:57:07] local.INFO: TCP Data received {"connection_id":144040,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2e3dcb0012d1966c0071fee78003b005c2d..."} 
[2026-07-27 14:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144040,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2e3dcb0012d1966c0071fee78003b005c2d..."} 
[2026-07-27 14:57:07] local.INFO: Processing buffer {"connection_id":144040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2e3dcb0012d1966c0071fee78003b005c2d..."} 
[2026-07-27 14:57:07] local.INFO: Packet analysis {"connection_id":144040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2e3"} 
[2026-07-27 14:57:07] local.INFO: Extracted packet for processing {"connection_id":144040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2e3"} 
[2026-07-27 14:57:07] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":45,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14:57:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:57:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996927744001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:57:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:57:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:57:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:57:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785144270000,"timestamp_ms":1785144270000,"timestamp_seconds":1785144270,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2e3dcb0"} 
[2026-07-27 14:57:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:57:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:57:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-27 14:57:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-27 14:57:07] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168048982131200,"note":"Value kept but may cause issues"} 
[2026-07-27 14:57:07] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452319,"note":"Value kept but may cause issues"} 
[2026-07-27 14:57:07] local.WARNING: Large IO value detected {"io_id":132,"raw_value":-7926335344172072959,"note":"Value kept but may cause issues"} 
[2026-07-27 14:57:07] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-6709997925865547418,"note":"Value kept but may cause issues"} 
[2026-07-27 14:57:07] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513391081710878812,"note":"Value kept but may cause issues"} 
[2026-07-27 14:57:07] local.WARNING: Large IO value detected {"io_id":59,"raw_value":25944076369002496,"note":"Value kept but may cause issues"} 
[2026-07-27 14:57:07] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832598,"note":"Value kept but may cause issues"} 
[2026-07-27 14:57:07] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483923195592910,"note":"Value kept but may cause issues"} 
[2026-07-27 14:57:07] local.WARNING: Large IO value detected {"io_id":240,"raw_value":2147560729,"note":"Value kept but may cause issues"} 
[2026-07-27 14:57:07] local.WARNING: Large IO value detected {"io_id":162,"raw_value":3796011009,"note":"Value kept but may cause issues"} 
[2026-07-27 14:57:07] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2224160768,"note":"Value kept but may cause issues"} 
[2026-07-27 14:57:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-27 14:57:07] local.WARNING: Large IO value detected {"io_id":102,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-07-27 14:57:07] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,121,28,24,241,158,16,132,159,56,45,192,238,59,10,66,230,37,148,1,240,53,162,31,4,113,205,102,120,239,48,2,7,46],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-07-27 14:57:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4251499400875999232,"timestamp_seconds":4251499400875999.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 14:57:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:57:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:57:07] local.INFO: Teltonika packet parsed successfully {"connection_id":144040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:57:07] local.INFO: Passing IMEI to GPS processor {"connection_id":144040,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:57:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":144040,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:57:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:57:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:57:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:57:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996927744001,"66":12287,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:57:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:57:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:57:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996927744001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:57:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:57:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:57:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:57:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:57:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996927744001,"power":12287,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:57:07] local.INFO: DEBUG: GPS processor result {"connection_id":144040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553638,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:57:07] local.INFO: GPS data processed {"connection_id":144040,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:57:07] local.INFO: Acknowledgment sent {"connection_id":144040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:57:10] local.INFO: TCP Data received {"connection_id":145326,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2e5a1d0012d9f3b0005a19860001500bf2c..."} 
[2026-07-27 14:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2e5a1d0012d9f3b0005a19860001500bf2c..."} 
[2026-07-27 14:57:10] local.INFO: Processing buffer {"connection_id":145326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2e5a1d0012d9f3b0005a19860001500bf2c..."} 
[2026-07-27 14:57:10] local.INFO: Packet analysis {"connection_id":145326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2e5"} 
[2026-07-27 14:57:10] local.INFO: Extracted packet for processing {"connection_id":145326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2e5"} 
[2026-07-27 14:57:10] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":21,"angle":191,"satellites":44,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 14:57:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:57:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996885760001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:57:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 14:57:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972979573867126784,"note":"Value kept but may cause issues"} 
[2026-07-27 14:57:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:57:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785144386000,"timestamp_ms":1785144386000,"timestamp_seconds":1785144386,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2e5a1d0"} 
[2026-07-27 14:57:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:57:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 14: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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-27 14:57:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:57:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:57:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:57:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:57:10] local.INFO: Teltonika packet parsed successfully {"connection_id":145326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:57:10] local.INFO: Passing IMEI to GPS processor {"connection_id":145326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:57:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":145326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:57:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:57:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 14:57:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 14:57:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996885760001,"66":25919,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6972979573867126784},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 14:57:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 14:57:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 14:57:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996885760001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:57:10] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 14:57:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 14:57:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:57:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972979573867126784,"description":"Unknown IO ID 45"} 
[2026-07-27 14:57:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996885760001,"power":25919,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6972979573867126784}} 
[2026-07-27 14:57:10] local.INFO: DEBUG: GPS processor result {"connection_id":145326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:57:10] local.INFO: GPS data processed {"connection_id":145326,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:57:10] local.INFO: Acknowledgment sent {"connection_id":145326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:57:37] local.INFO: TCP Data received {"connection_id":143055,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:57:37] local.INFO: Processing buffer {"connection_id":143055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:57:37] local.INFO: IMEI packet received {"connection_id":143055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 14:57:37] local.INFO: IMEI acknowledgment sent {"connection_id":143055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:57:39] local.INFO: TCP Data received {"connection_id":144040,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2e42eb8012d1966c0071fee78003b005c2b..."} 
[2026-07-27 14:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144040,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2e42eb8012d1966c0071fee78003b005c2b..."} 
[2026-07-27 14:57:39] local.INFO: Processing buffer {"connection_id":144040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2e42eb8012d1966c0071fee78003b005c2b..."} 
[2026-07-27 14:57:39] local.INFO: Packet analysis {"connection_id":144040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2e4"} 
[2026-07-27 14:57:39] local.INFO: Extracted packet for processing {"connection_id":144040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2e4"} 
[2026-07-27 14:57:39] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":43,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14:57:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:57:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996933120001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:57:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:57:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:57:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:57:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785144291000,"timestamp_ms":1785144291000,"timestamp_seconds":1785144291,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2e42eb8"} 
[2026-07-27 14:57:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:57:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:57:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-27 14:57:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:57:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:57:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:57:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:57:39] local.INFO: Teltonika packet parsed successfully {"connection_id":144040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:57:39] local.INFO: Passing IMEI to GPS processor {"connection_id":144040,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:57:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":144040,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:57:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:57:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:57:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:57:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996933120001,"66":12287,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:57:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:57:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:57:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996933120001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:57:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:57:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:57:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:57:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:57:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996933120001,"power":12287,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:57:39] local.INFO: DEBUG: GPS processor result {"connection_id":144040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553640,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:57:39] local.INFO: GPS data processed {"connection_id":144040,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:57:39] local.INFO: Acknowledgment sent {"connection_id":144040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:57:42] local.INFO: TCP Data received {"connection_id":143055,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:57:42] local.INFO: Processing buffer {"connection_id":143055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:57:42] local.INFO: IMEI packet received {"connection_id":143055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 14:57:42] local.INFO: IMEI acknowledgment sent {"connection_id":143055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:57:43] local.INFO: TCP Data received {"connection_id":143055,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2e5a1d0012d9f3b0005a19860001500bf2c..."} 
[2026-07-27 14:57:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2e5a1d0012d9f3b0005a19860001500bf2c..."} 
[2026-07-27 14:57:43] local.INFO: Processing buffer {"connection_id":143055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2e5a1d0012d9f3b0005a19860001500bf2c..."} 
[2026-07-27 14:57:43] local.INFO: Packet analysis {"connection_id":143055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2e5"} 
[2026-07-27 14:57:43] local.INFO: Extracted packet for processing {"connection_id":143055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2e5"} 
[2026-07-27 14:57:43] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":21,"angle":191,"satellites":44,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 14: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-07-27 14:57:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996885760001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:57:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 14:57:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972979573867126784,"note":"Value kept but may cause issues"} 
[2026-07-27 14:57:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:57:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785144386000,"timestamp_ms":1785144386000,"timestamp_seconds":1785144386,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2e5a1d0"} 
[2026-07-27 14:57:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:57:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 14: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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-27 14:57:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14: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-07-27 14:57:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:57:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:57:43] local.INFO: Teltonika packet parsed successfully {"connection_id":143055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:57:43] local.INFO: Passing IMEI to GPS processor {"connection_id":143055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:57:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":143055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:57:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:57:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 14:57:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 14:57:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996885760001,"66":25919,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6972979573867126784},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 14:57:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 14:57:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 14:57:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996885760001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:57:43] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 14:57:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 14:57:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:57:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972979573867126784,"description":"Unknown IO ID 45"} 
[2026-07-27 14:57:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996885760001,"power":25919,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6972979573867126784}} 
[2026-07-27 14:57:43] local.INFO: DEBUG: GPS processor result {"connection_id":143055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:57:43] local.INFO: GPS data processed {"connection_id":143055,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:57:43] local.INFO: Acknowledgment sent {"connection_id":143055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:57:47] local.INFO: TCP Data received {"connection_id":143055,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2e5a1d0012d9f3b0005a19860001500bf2c..."} 
[2026-07-27 14:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2e5a1d0012d9f3b0005a19860001500bf2c..."} 
[2026-07-27 14:57:47] local.INFO: Processing buffer {"connection_id":143055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2e5a1d0012d9f3b0005a19860001500bf2c..."} 
[2026-07-27 14:57:47] local.INFO: Packet analysis {"connection_id":143055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2e5"} 
[2026-07-27 14:57:47] local.INFO: Extracted packet for processing {"connection_id":143055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2e5"} 
[2026-07-27 14:57:47] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":21,"angle":191,"satellites":44,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 14:57:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:57:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996885760001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:57:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 14:57:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972979573867126784,"note":"Value kept but may cause issues"} 
[2026-07-27 14:57:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:57:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785144386000,"timestamp_ms":1785144386000,"timestamp_seconds":1785144386,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2e5a1d0"} 
[2026-07-27 14:57:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:57:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 14:57:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-27 14:57:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:57:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:57:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:57:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:57:47] local.INFO: Teltonika packet parsed successfully {"connection_id":143055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:57:47] local.INFO: Passing IMEI to GPS processor {"connection_id":143055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:57:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":143055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:57:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:57:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 14:57:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 14:57:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996885760001,"66":25919,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6972979573867126784},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 14:57:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 14:57:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 14:57:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996885760001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:57:47] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 14:57:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 14:57:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:57:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972979573867126784,"description":"Unknown IO ID 45"} 
[2026-07-27 14:57:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996885760001,"power":25919,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6972979573867126784}} 
[2026-07-27 14:57:47] local.INFO: DEBUG: GPS processor result {"connection_id":143055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:57:47] local.INFO: GPS data processed {"connection_id":143055,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:57:47] local.INFO: Acknowledgment sent {"connection_id":143055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:57:59] local.INFO: TCP Data received {"connection_id":145327,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145327,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:57:59] local.INFO: Processing buffer {"connection_id":145327,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:57:59] local.INFO: IMEI packet received {"connection_id":145327,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 14:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":145327,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:58:05] local.INFO: TCP Data received {"connection_id":145327,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145327,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:58:05] local.INFO: Processing buffer {"connection_id":145327,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:58:05] local.INFO: IMEI packet received {"connection_id":145327,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 14:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":145327,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:58:06] local.INFO: TCP Data received {"connection_id":145327,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2e480c0012d1966c0071fee78003b005c2e..."} 
[2026-07-27 14:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2e480c0012d1966c0071fee78003b005c2e..."} 
[2026-07-27 14:58:06] local.INFO: Processing buffer {"connection_id":145327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2e480c0012d1966c0071fee78003b005c2e..."} 
[2026-07-27 14:58:06] local.INFO: Packet analysis {"connection_id":145327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2e4"} 
[2026-07-27 14:58:06] local.INFO: Extracted packet for processing {"connection_id":145327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2e4"} 
[2026-07-27 14:58:06] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":46,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996938496001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:58:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:58:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785144312000,"timestamp_ms":1785144312000,"timestamp_seconds":1785144312,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2e480c0"} 
[2026-07-27 14:58:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:58:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-27 14:58:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:58:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:58:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":145327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":145327,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":145327,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:58:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996938496001,"66":12287,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996938496001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:58:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:58:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:58:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996938496001,"power":12287,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":145327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553643,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:58:06] local.INFO: GPS data processed {"connection_id":145327,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:58:06] local.INFO: Acknowledgment sent {"connection_id":145327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:58:32] local.INFO: TCP Data received {"connection_id":143056,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:58:32] local.INFO: Processing buffer {"connection_id":143056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:58:32] local.INFO: IMEI packet received {"connection_id":143056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 14:58:32] local.INFO: IMEI acknowledgment sent {"connection_id":143056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:58:38] local.INFO: TCP Data received {"connection_id":143056,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:58:38] local.INFO: Processing buffer {"connection_id":143056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:58:38] local.INFO: IMEI packet received {"connection_id":143056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 14:58:38] local.INFO: IMEI acknowledgment sent {"connection_id":143056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:58:38] local.INFO: TCP Data received {"connection_id":145327,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2e4d2c8012d1966c0071fee78003b005c2f..."} 
[2026-07-27 14:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2e4d2c8012d1966c0071fee78003b005c2f..."} 
[2026-07-27 14:58:38] local.INFO: Processing buffer {"connection_id":145327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2e4d2c8012d1966c0071fee78003b005c2f..."} 
[2026-07-27 14:58:38] local.INFO: Packet analysis {"connection_id":145327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2e4"} 
[2026-07-27 14:58:38] local.INFO: Extracted packet for processing {"connection_id":145327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2e4"} 
[2026-07-27 14:58:38] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":47,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:58:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996943872001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:58:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:58:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:58:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:58:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785144333000,"timestamp_ms":1785144333000,"timestamp_seconds":1785144333,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2e4d2c8"} 
[2026-07-27 14:58:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:58:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-27 14:58:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:58:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:58:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:58:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:58:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:58:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145327,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:58:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145327,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:58:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:58:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:58:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:58:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996943872001,"66":12341,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:58:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:58:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:58:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996943872001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:58:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:58:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:58:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:58:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:58:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996943872001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:58:38] local.INFO: DEBUG: GPS processor result {"connection_id":145327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553644,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:58:38] local.INFO: GPS data processed {"connection_id":145327,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:58:38] local.INFO: Acknowledgment sent {"connection_id":145327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:58:39] local.INFO: TCP Data received {"connection_id":143056,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2e5a1d0012d9f3b0005a19860001500bf2c..."} 
[2026-07-27 14:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2e5a1d0012d9f3b0005a19860001500bf2c..."} 
[2026-07-27 14:58:39] local.INFO: Processing buffer {"connection_id":143056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2e5a1d0012d9f3b0005a19860001500bf2c..."} 
[2026-07-27 14:58:39] local.INFO: Packet analysis {"connection_id":143056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2e5"} 
[2026-07-27 14:58:39] local.INFO: Extracted packet for processing {"connection_id":143056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2e5"} 
[2026-07-27 14:58:39] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":21,"angle":191,"satellites":44,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 14:58:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:58:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996885760001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:58:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 14:58:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972979573867126784,"note":"Value kept but may cause issues"} 
[2026-07-27 14:58:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:58:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785144386000,"timestamp_ms":1785144386000,"timestamp_seconds":1785144386,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2e5a1d0"} 
[2026-07-27 14:58:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:58:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 14: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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-27 14:58:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:58:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:58:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:58:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:58:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:58:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:58:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14: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-07-27 14:58:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 14:58:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 14:58:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996885760001,"66":25919,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6972979573867126784},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 14:58:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 14:58:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 14:58:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996885760001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:58:39] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 14:58:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 14:58:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:58:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972979573867126784,"description":"Unknown IO ID 45"} 
[2026-07-27 14:58:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996885760001,"power":25919,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6972979573867126784}} 
[2026-07-27 14:58:39] local.INFO: DEBUG: GPS processor result {"connection_id":143056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:58:39] local.INFO: GPS data processed {"connection_id":143056,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:58:39] local.INFO: Acknowledgment sent {"connection_id":143056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:59:05] local.INFO: TCP Data received {"connection_id":142913,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142913,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:59:05] local.INFO: Processing buffer {"connection_id":142913,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:59:05] local.INFO: IMEI packet received {"connection_id":142913,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 14:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":142913,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:59:10] local.INFO: TCP Data received {"connection_id":142913,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142913,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:59:10] local.INFO: Processing buffer {"connection_id":142913,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 14:59:10] local.INFO: IMEI packet received {"connection_id":142913,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 14:59:10] local.INFO: IMEI acknowledgment sent {"connection_id":142913,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:59:11] local.INFO: TCP Data received {"connection_id":143056,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2e5a1d0012d9f3b0005a19860001500bf2c..."} 
[2026-07-27 14:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2e5a1d0012d9f3b0005a19860001500bf2c..."} 
[2026-07-27 14:59:11] local.INFO: Processing buffer {"connection_id":143056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2e5a1d0012d9f3b0005a19860001500bf2c..."} 
[2026-07-27 14:59:11] local.INFO: Packet analysis {"connection_id":143056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2e5"} 
[2026-07-27 14:59:11] local.INFO: Extracted packet for processing {"connection_id":143056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2e5"} 
[2026-07-27 14:59:11] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":21,"angle":191,"satellites":44,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 14:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:59:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996885760001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:59:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 14:59:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972979573867126784,"note":"Value kept but may cause issues"} 
[2026-07-27 14:59:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:59:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785144386000,"timestamp_ms":1785144386000,"timestamp_seconds":1785144386,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2e5a1d0"} 
[2026-07-27 14:59:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:59:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 14:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-27 14:59:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:59:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:59:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:59:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:59:11] local.INFO: Teltonika packet parsed successfully {"connection_id":143056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:59:11] local.INFO: Passing IMEI to GPS processor {"connection_id":143056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:59:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":143056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:59:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:59:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 14:59:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 14:59:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996885760001,"66":25919,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6972979573867126784},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 14:59:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 14:59:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 14:59:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996885760001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:59:11] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 14:59:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 14:59:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:59:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972979573867126784,"description":"Unknown IO ID 45"} 
[2026-07-27 14:59:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996885760001,"power":25919,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6972979573867126784}} 
[2026-07-27 14:59:11] local.INFO: DEBUG: GPS processor result {"connection_id":143056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:59:11] local.INFO: GPS data processed {"connection_id":143056,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:59:11] local.INFO: Acknowledgment sent {"connection_id":143056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:59:11] local.INFO: TCP Data received {"connection_id":142913,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2e524d0012d1966c0071fee78003b005c2f..."} 
[2026-07-27 14:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2e524d0012d1966c0071fee78003b005c2f..."} 
[2026-07-27 14:59:11] local.INFO: Processing buffer {"connection_id":142913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2e524d0012d1966c0071fee78003b005c2f..."} 
[2026-07-27 14:59:11] local.INFO: Packet analysis {"connection_id":142913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2e5"} 
[2026-07-27 14:59:11] local.INFO: Extracted packet for processing {"connection_id":142913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2e5"} 
[2026-07-27 14:59:11] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":47,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:59:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996949248001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:59:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:59:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:59:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:59:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785144354000,"timestamp_ms":1785144354000,"timestamp_seconds":1785144354,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2e524d0"} 
[2026-07-27 14:59:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:59:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 14: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 14:59:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:59:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:59:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:59:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:59:11] local.INFO: Teltonika packet parsed successfully {"connection_id":142913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:59:11] local.INFO: Passing IMEI to GPS processor {"connection_id":142913,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:59:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":142913,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:59:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:59:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:59:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:59:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996949248001,"66":12298,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:59:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:59:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:59:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996949248001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:59:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:59:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:59:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:59:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:59:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996949248001,"power":12298,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:59:11] local.INFO: DEBUG: GPS processor result {"connection_id":142913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553647,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:59:11] local.INFO: GPS data processed {"connection_id":142913,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:59:11] local.INFO: Acknowledgment sent {"connection_id":142913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:59:16] local.INFO: TCP Data received {"connection_id":142913,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2e576d8012d1966c0071fee78003b005c30..."} 
[2026-07-27 14:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2e576d8012d1966c0071fee78003b005c30..."} 
[2026-07-27 14:59:16] local.INFO: Processing buffer {"connection_id":142913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2e576d8012d1966c0071fee78003b005c30..."} 
[2026-07-27 14:59:16] local.INFO: Packet analysis {"connection_id":142913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2e5"} 
[2026-07-27 14:59:16] local.INFO: Extracted packet for processing {"connection_id":142913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2e5"} 
[2026-07-27 14:59:16] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":48,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 14: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-07-27 14:59:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996954624001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:59:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 14:59:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 14:59:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:59:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785144375000,"timestamp_ms":1785144375000,"timestamp_seconds":1785144375,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2e576d8"} 
[2026-07-27 14:59:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:59: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-07-27 14:59:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-27 14:59:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-27 14:59:16] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168048982131200,"note":"Value kept but may cause issues"} 
[2026-07-27 14:59:16] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452319,"note":"Value kept but may cause issues"} 
[2026-07-27 14:59:16] local.WARNING: Large IO value detected {"io_id":132,"raw_value":-7926335344172072959,"note":"Value kept but may cause issues"} 
[2026-07-27 14:59:16] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-6709546954299467418,"note":"Value kept but may cause issues"} 
[2026-07-27 14:59:16] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513391081710878812,"note":"Value kept but may cause issues"} 
[2026-07-27 14:59:16] local.WARNING: Large IO value detected {"io_id":59,"raw_value":25945175880630272,"note":"Value kept but may cause issues"} 
[2026-07-27 14:59:16] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832598,"note":"Value kept but may cause issues"} 
[2026-07-27 14:59:16] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3479876021425602766,"note":"Value kept but may cause issues"} 
[2026-07-27 14:59:16] local.WARNING: Large IO value detected {"io_id":162,"raw_value":3822891009,"note":"Value kept but may cause issues"} 
[2026-07-27 14:59:16] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2224160768,"note":"Value kept but may cause issues"} 
[2026-07-27 14:59:16] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-27 14:59:16] local.WARNING: Large IO value detected {"io_id":138,"raw_value":2818649369,"note":"Value kept but may cause issues"} 
[2026-07-27 14:59:16] local.WARNING: Large IO value detected {"io_id":102,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-07-27 14:59:16] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,121,28,24,241,158,16,132,159,210,45,192,238,59,47,10,66,128,46,1,240,255,162,31,4,113,205,138,102,120,239,48,2,7,37],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-07-27 14:59:16] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4251499405170966528,"timestamp_seconds":4251499405170966.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 14:59:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:59:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:59:16] local.INFO: Teltonika packet parsed successfully {"connection_id":142913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:59:16] local.INFO: Passing IMEI to GPS processor {"connection_id":142913,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:59:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":142913,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 14:59:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:59:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 14:59:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 14:59:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996954624001,"66":11711,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 14:59:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 14:59:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 14:59:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996954624001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:59:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 14:59:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 14:59:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:59:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 14:59:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996954624001,"power":11711,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 14:59:16] local.INFO: DEBUG: GPS processor result {"connection_id":142913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553648,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:59:16] local.INFO: GPS data processed {"connection_id":142913,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:59:16] local.INFO: Acknowledgment sent {"connection_id":142913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 14:59:32] local.INFO: TCP Data received {"connection_id":143057,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:59:32] local.INFO: Processing buffer {"connection_id":143057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:59:32] local.INFO: IMEI packet received {"connection_id":143057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 14:59:32] local.INFO: IMEI acknowledgment sent {"connection_id":143057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 14:59:37] local.INFO: TCP Data received {"connection_id":143057,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:59:37] local.INFO: Processing buffer {"connection_id":143057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 14:59:37] local.INFO: IMEI packet received {"connection_id":143057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 14:59:37] local.INFO: IMEI acknowledgment sent {"connection_id":143057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 14:59:38] local.INFO: TCP Data received {"connection_id":143057,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2e5a1d0012d9f3b0005a19860001500bf2c..."} 
[2026-07-27 14:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2e5a1d0012d9f3b0005a19860001500bf2c..."} 
[2026-07-27 14:59:38] local.INFO: Processing buffer {"connection_id":143057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2e5a1d0012d9f3b0005a19860001500bf2c..."} 
[2026-07-27 14:59:38] local.INFO: Packet analysis {"connection_id":143057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2e5"} 
[2026-07-27 14:59:38] local.INFO: Extracted packet for processing {"connection_id":143057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2e5"} 
[2026-07-27 14:59:38] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":21,"angle":191,"satellites":44,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 14:59:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 14:59:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996885760001,"note":"Value kept but may cause issues"} 
[2026-07-27 14:59:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 14:59:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972979573867126784,"note":"Value kept but may cause issues"} 
[2026-07-27 14:59:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 14:59:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785144386000,"timestamp_ms":1785144386000,"timestamp_seconds":1785144386,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2e5a1d0"} 
[2026-07-27 14:59:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 14:59:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 14:59:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-27 14:59:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 14:59:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 14:59:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 14:59:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 14:59:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 14:59:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:59:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 14:59:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 14:59:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 14:59:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 14:59:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996885760001,"66":25919,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6972979573867126784},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 14:59:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 14:59:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 14:59:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996885760001,"description":"Unknown IO ID 0"} 
[2026-07-27 14:59:38] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 14:59:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 14:59:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 14:59:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972979573867126784,"description":"Unknown IO ID 45"} 
[2026-07-27 14:59:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996885760001,"power":25919,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6972979573867126784}} 
[2026-07-27 14:59:38] local.INFO: DEBUG: GPS processor result {"connection_id":143057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 14:59:38] local.INFO: GPS data processed {"connection_id":143057,"processed":1,"errors":0,"total":1} 
[2026-07-27 14:59:38] local.INFO: Acknowledgment sent {"connection_id":143057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:00:00] local.INFO: TCP Data received {"connection_id":143058,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143058,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:00:00] local.INFO: Processing buffer {"connection_id":143058,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:00:00] local.INFO: IMEI packet received {"connection_id":143058,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 15:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":143058,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:00:02] local.INFO: TCP Data received {"connection_id":143058,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143058,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:00:02] local.INFO: Processing buffer {"connection_id":143058,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:00:02] local.INFO: IMEI packet received {"connection_id":143058,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 15:00:02] local.INFO: IMEI acknowledgment sent {"connection_id":143058,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:00:03] local.INFO: TCP Data received {"connection_id":143058,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2e5c8e0012d1966c0071fee78003b005c2e..."} 
[2026-07-27 15:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143058,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2e5c8e0012d1966c0071fee78003b005c2e..."} 
[2026-07-27 15:00:03] local.INFO: Processing buffer {"connection_id":143058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2e5c8e0012d1966c0071fee78003b005c2e..."} 
[2026-07-27 15:00:03] local.INFO: Packet analysis {"connection_id":143058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2e5"} 
[2026-07-27 15:00:03] local.INFO: Extracted packet for processing {"connection_id":143058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2e5"} 
[2026-07-27 15:00:03] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":46,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 15: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-07-27 15:00:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996960000001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:00:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 15:00:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 15:00:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:00:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785144396000,"timestamp_ms":1785144396000,"timestamp_seconds":1785144396,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2e5c8e0"} 
[2026-07-27 15:00:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:00:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15: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":45,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-07-27 15:00:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2142,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15: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-07-27 15:00:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:00:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:00:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:00:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143058,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:00:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143058,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:00:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:00:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:00:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:00:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996960000001,"66":12319,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 15:00:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:00:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:00:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996960000001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:00:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 15:00:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:00:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:00:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 15:00:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996960000001,"power":12319,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 15:00:03] local.INFO: DEBUG: GPS processor result {"connection_id":143058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553650,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:00:03] local.INFO: GPS data processed {"connection_id":143058,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:00:03] local.INFO: Acknowledgment sent {"connection_id":143058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:00:10] local.INFO: TCP Data received {"connection_id":143057,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2e5a1d0012d9f3b0005a19860001500bf2c..."} 
[2026-07-27 15:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2e5a1d0012d9f3b0005a19860001500bf2c..."} 
[2026-07-27 15:00:10] local.INFO: Processing buffer {"connection_id":143057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2e5a1d0012d9f3b0005a19860001500bf2c..."} 
[2026-07-27 15:00:10] local.INFO: Packet analysis {"connection_id":143057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2e5"} 
[2026-07-27 15:00:10] local.INFO: Extracted packet for processing {"connection_id":143057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2e5"} 
[2026-07-27 15:00:10] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":21,"angle":191,"satellites":44,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 15:00:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:00:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996885760001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:00:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 15:00:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972979573867126784,"note":"Value kept but may cause issues"} 
[2026-07-27 15:00:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:00:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785144386000,"timestamp_ms":1785144386000,"timestamp_seconds":1785144386,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2e5a1d0"} 
[2026-07-27 15:00:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:00:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 15:00:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-27 15:00:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:00:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:00:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:00:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:00:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:00:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:00:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:00:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:00:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 15:00:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 15:00:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996885760001,"66":25919,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6972979573867126784},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 15:00:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 15:00:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 15:00:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996885760001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:00:10] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 15:00:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 15:00:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:00:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972979573867126784,"description":"Unknown IO ID 45"} 
[2026-07-27 15:00:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996885760001,"power":25919,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6972979573867126784}} 
[2026-07-27 15:00:10] local.INFO: DEBUG: GPS processor result {"connection_id":143057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:00:10] local.INFO: GPS data processed {"connection_id":143057,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:00:10] local.INFO: Acknowledgment sent {"connection_id":143057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:00:32] local.INFO: TCP Data received {"connection_id":142914,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:00:32] local.INFO: Processing buffer {"connection_id":142914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:00:32] local.INFO: IMEI packet received {"connection_id":142914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 15:00:32] local.INFO: IMEI acknowledgment sent {"connection_id":142914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:00:34] local.INFO: TCP Data received {"connection_id":143058,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2e61ae8012d1966c0071fee78003b005c2f..."} 
[2026-07-27 15:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143058,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2e61ae8012d1966c0071fee78003b005c2f..."} 
[2026-07-27 15:00:34] local.INFO: Processing buffer {"connection_id":143058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2e61ae8012d1966c0071fee78003b005c2f..."} 
[2026-07-27 15:00:34] local.INFO: Packet analysis {"connection_id":143058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2e6"} 
[2026-07-27 15:00:34] local.INFO: Extracted packet for processing {"connection_id":143058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2e6"} 
[2026-07-27 15:00:34] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":47,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 15:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:00:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996965376001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:00:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 15:00:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 15:00:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:00:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785144417000,"timestamp_ms":1785144417000,"timestamp_seconds":1785144417,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2e61ae8"} 
[2026-07-27 15:00:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:00:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15: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":31,"data_length":795,"current_offset":136} 
[2026-07-27 15:00:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:00:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:00:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:00:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:00:34] local.INFO: Teltonika packet parsed successfully {"connection_id":143058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:00:34] local.INFO: Passing IMEI to GPS processor {"connection_id":143058,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:00:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":143058,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:00:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:00:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:00:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:00:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996965376001,"66":12341,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 15:00:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:00:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:00:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996965376001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:00:34] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 15:00:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:00:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:00:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 15:00:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996965376001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 15:00:35] local.INFO: DEBUG: GPS processor result {"connection_id":143058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553652,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:00:35] local.INFO: GPS data processed {"connection_id":143058,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:00:35] local.INFO: Acknowledgment sent {"connection_id":143058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:00:37] local.INFO: TCP Data received {"connection_id":142914,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:00:37] local.INFO: Processing buffer {"connection_id":142914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:00:37] local.INFO: IMEI packet received {"connection_id":142914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 15:00:37] local.INFO: IMEI acknowledgment sent {"connection_id":142914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:00:38] local.INFO: TCP Data received {"connection_id":142914,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2e5a1d0012d9f3b0005a19860001500bf2c..."} 
[2026-07-27 15:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2e5a1d0012d9f3b0005a19860001500bf2c..."} 
[2026-07-27 15:00:38] local.INFO: Processing buffer {"connection_id":142914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2e5a1d0012d9f3b0005a19860001500bf2c..."} 
[2026-07-27 15:00:38] local.INFO: Packet analysis {"connection_id":142914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2e5"} 
[2026-07-27 15:00:38] local.INFO: Extracted packet for processing {"connection_id":142914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2e5"} 
[2026-07-27 15:00:38] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":21,"angle":191,"satellites":44,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 15:00:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:00:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996885760001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:00:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 15:00:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972979573867126784,"note":"Value kept but may cause issues"} 
[2026-07-27 15:00:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:00:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785144386000,"timestamp_ms":1785144386000,"timestamp_seconds":1785144386,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2e5a1d0"} 
[2026-07-27 15:00:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:00:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 15:00:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-27 15:00:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:00:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:00:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:00:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:00:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:00:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:00:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:00:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:00:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 15:00:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 15:00:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996885760001,"66":25919,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6972979573867126784},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 15:00:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 15:00:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 15:00:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996885760001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:00:38] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 15:00:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 15:00:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:00:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972979573867126784,"description":"Unknown IO ID 45"} 
[2026-07-27 15:00:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996885760001,"power":25919,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6972979573867126784}} 
[2026-07-27 15:00:38] local.INFO: DEBUG: GPS processor result {"connection_id":142914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:00:38] local.INFO: GPS data processed {"connection_id":142914,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:00:38] local.INFO: Acknowledgment sent {"connection_id":142914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:01:00] local.INFO: TCP Data received {"connection_id":142915,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142915,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:01:00] local.INFO: Processing buffer {"connection_id":142915,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:01:00] local.INFO: IMEI packet received {"connection_id":142915,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 15:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":142915,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:01:05] local.INFO: TCP Data received {"connection_id":142915,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142915,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:01:05] local.INFO: Processing buffer {"connection_id":142915,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:01:05] local.INFO: IMEI packet received {"connection_id":142915,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 15:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":142915,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:01:06] local.INFO: TCP Data received {"connection_id":142915,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2e66cf0012d1966c0071fee78003b005c2e..."} 
[2026-07-27 15:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2e66cf0012d1966c0071fee78003b005c2e..."} 
[2026-07-27 15:01:06] local.INFO: Processing buffer {"connection_id":142915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2e66cf0012d1966c0071fee78003b005c2e..."} 
[2026-07-27 15:01:06] local.INFO: Packet analysis {"connection_id":142915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2e6"} 
[2026-07-27 15:01:06] local.INFO: Extracted packet for processing {"connection_id":142915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2e6"} 
[2026-07-27 15:01:06] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":46,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 15:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:01:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996970752001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:01:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 15:01:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 15:01:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:01:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785144438000,"timestamp_ms":1785144438000,"timestamp_seconds":1785144438,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2e66cf0"} 
[2026-07-27 15:01:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:01:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15: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":53,"data_length":795,"current_offset":136} 
[2026-07-27 15:01:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:01:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:01:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:01:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:01:06] local.INFO: Teltonika packet parsed successfully {"connection_id":142915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:01:06] local.INFO: Passing IMEI to GPS processor {"connection_id":142915,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:01:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":142915,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:01:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:01:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:01:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:01:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996970752001,"66":12341,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 15:01:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:01:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:01:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996970752001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:01:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 15:01:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:01:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:01:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 15:01:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996970752001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 15:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":142915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553654,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:01:06] local.INFO: GPS data processed {"connection_id":142915,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:01:06] local.INFO: Acknowledgment sent {"connection_id":142915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:01:09] local.INFO: TCP Data received {"connection_id":142914,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2e5a1d0012d9f3b0005a19860001500bf2c..."} 
[2026-07-27 15:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2e5a1d0012d9f3b0005a19860001500bf2c..."} 
[2026-07-27 15:01:09] local.INFO: Processing buffer {"connection_id":142914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2e5a1d0012d9f3b0005a19860001500bf2c..."} 
[2026-07-27 15:01:09] local.INFO: Packet analysis {"connection_id":142914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2e5"} 
[2026-07-27 15:01:09] local.INFO: Extracted packet for processing {"connection_id":142914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2e5"} 
[2026-07-27 15:01:09] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":21,"angle":191,"satellites":44,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 15:01:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:01:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996885760001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:01:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 15:01:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972979573867126784,"note":"Value kept but may cause issues"} 
[2026-07-27 15:01:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:01:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785144386000,"timestamp_ms":1785144386000,"timestamp_seconds":1785144386,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2e5a1d0"} 
[2026-07-27 15:01:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:01:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-27 15:01:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:01:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:01:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:01:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:01:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:01:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:01:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15: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-07-27 15:01:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 15:01:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 15:01:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996885760001,"66":25919,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6972979573867126784},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 15:01:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 15:01:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 15:01:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996885760001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:01:09] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 15:01:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 15:01:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:01:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972979573867126784,"description":"Unknown IO ID 45"} 
[2026-07-27 15:01:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996885760001,"power":25919,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6972979573867126784}} 
[2026-07-27 15:01:09] local.INFO: DEBUG: GPS processor result {"connection_id":142914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:01:09] local.INFO: GPS data processed {"connection_id":142914,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:01:09] local.INFO: Acknowledgment sent {"connection_id":142914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:01:32] local.INFO: TCP Data received {"connection_id":143059,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:01:32] local.INFO: Processing buffer {"connection_id":143059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:01:32] local.INFO: IMEI packet received {"connection_id":143059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 15:01:32] local.INFO: IMEI acknowledgment sent {"connection_id":143059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:01:37] local.INFO: TCP Data received {"connection_id":143059,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:01:37] local.INFO: Processing buffer {"connection_id":143059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:01:37] local.INFO: IMEI packet received {"connection_id":143059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 15:01:37] local.INFO: IMEI acknowledgment sent {"connection_id":143059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:01:38] local.INFO: TCP Data received {"connection_id":142915,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2e6bef8012d1966c0071fee78003b005c30..."} 
[2026-07-27 15:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2e6bef8012d1966c0071fee78003b005c30..."} 
[2026-07-27 15:01:38] local.INFO: Processing buffer {"connection_id":142915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2e6bef8012d1966c0071fee78003b005c30..."} 
[2026-07-27 15:01:38] local.INFO: Packet analysis {"connection_id":142915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2e6"} 
[2026-07-27 15:01:38] local.INFO: Extracted packet for processing {"connection_id":142915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2e6"} 
[2026-07-27 15:01:38] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":48,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 15:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:01:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996976128001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:01:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 15:01:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 15:01:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:01:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785144459000,"timestamp_ms":1785144459000,"timestamp_seconds":1785144459,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2e6bef8"} 
[2026-07-27 15:01:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:01:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 15:01:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:01:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:01:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:01:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:01:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:01:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142915,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:01:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142915,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:01:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:01:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:01:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:01:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996976128001,"66":12178,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 15:01:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:01:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:01:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996976128001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:01:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 15:01:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:01:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:01:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 15:01:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996976128001,"power":12178,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 15:01:38] local.INFO: TCP Data received {"connection_id":143059,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2e5a1d0012d9f3b0005a19860001500bf2c..."} 
[2026-07-27 15:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143059,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2e5a1d0012d9f3b0005a19860001500bf2c..."} 
[2026-07-27 15:01:38] local.INFO: Processing buffer {"connection_id":143059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2e5a1d0012d9f3b0005a19860001500bf2c..."} 
[2026-07-27 15:01:38] local.INFO: Packet analysis {"connection_id":143059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2e5"} 
[2026-07-27 15:01:38] local.INFO: Extracted packet for processing {"connection_id":143059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2e5"} 
[2026-07-27 15:01:38] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":21,"angle":191,"satellites":44,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 15:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:01:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996885760001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:01:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 15:01:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972979573867126784,"note":"Value kept but may cause issues"} 
[2026-07-27 15:01:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:01:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785144386000,"timestamp_ms":1785144386000,"timestamp_seconds":1785144386,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2e5a1d0"} 
[2026-07-27 15:01:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:01:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 15:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-27 15:01:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:01:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:01:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:01:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:01:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:01:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:01:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:01:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:01:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 15:01:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 15:01:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996885760001,"66":25919,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6972979573867126784},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 15:01:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 15:01:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 15:01:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996885760001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:01:38] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 15:01:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 15:01:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:01:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972979573867126784,"description":"Unknown IO ID 45"} 
[2026-07-27 15:01:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996885760001,"power":25919,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6972979573867126784}} 
[2026-07-27 15:01:38] local.INFO: DEBUG: GPS processor result {"connection_id":143059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:01:38] local.INFO: GPS data processed {"connection_id":143059,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:01:38] local.INFO: Acknowledgment sent {"connection_id":143059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:01:38] local.INFO: DEBUG: GPS processor result {"connection_id":142915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553657,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:01:38] local.INFO: GPS data processed {"connection_id":142915,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:01:38] local.INFO: Acknowledgment sent {"connection_id":142915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:01:59] local.INFO: TCP Data received {"connection_id":145328,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145328,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:01:59] local.INFO: Processing buffer {"connection_id":145328,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:01:59] local.INFO: IMEI packet received {"connection_id":145328,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 15:01:59] local.INFO: IMEI acknowledgment sent {"connection_id":145328,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:02:05] local.INFO: TCP Data received {"connection_id":145328,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145328,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:02:05] local.INFO: Processing buffer {"connection_id":145328,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:02:05] local.INFO: IMEI packet received {"connection_id":145328,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 15:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":145328,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:02:06] local.INFO: TCP Data received {"connection_id":145328,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2e71100012d1966c0071fee78003b005c2c..."} 
[2026-07-27 15:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2e71100012d1966c0071fee78003b005c2c..."} 
[2026-07-27 15:02:06] local.INFO: Processing buffer {"connection_id":145328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2e71100012d1966c0071fee78003b005c2c..."} 
[2026-07-27 15:02:06] local.INFO: Packet analysis {"connection_id":145328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2e7"} 
[2026-07-27 15:02:06] local.INFO: Extracted packet for processing {"connection_id":145328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2e7"} 
[2026-07-27 15:02:06] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":44,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 15:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:02:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996981504001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:02:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 15:02:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 15:02:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:02:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785144480000,"timestamp_ms":1785144480000,"timestamp_seconds":1785144480,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2e71100"} 
[2026-07-27 15:02:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:02:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15: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":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-27 15:02:06] 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-07-27 15:02:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:02:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:02:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:02:06] local.INFO: Teltonika packet parsed successfully {"connection_id":145328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:02:06] local.INFO: Passing IMEI to GPS processor {"connection_id":145328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:02:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":145328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:02:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:02:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:02:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:02:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996981504001,"66":12287,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 15:02:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:02:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:02:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996981504001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:02:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 15:02:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:02:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:02:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 15:02:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996981504001,"power":12287,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 15:02:06] local.INFO: DEBUG: GPS processor result {"connection_id":145328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553658,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:02:06] local.INFO: GPS data processed {"connection_id":145328,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:02:06] local.INFO: Acknowledgment sent {"connection_id":145328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:02:11] local.INFO: TCP Data received {"connection_id":143059,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2ea3998012d9f3b0005a19860001500bf2d..."} 
[2026-07-27 15:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143059,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2ea3998012d9f3b0005a19860001500bf2d..."} 
[2026-07-27 15:02:11] local.INFO: Processing buffer {"connection_id":143059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2ea3998012d9f3b0005a19860001500bf2d..."} 
[2026-07-27 15:02:11] local.INFO: Packet analysis {"connection_id":143059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2ea"} 
[2026-07-27 15:02:11] local.INFO: Extracted packet for processing {"connection_id":143059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2ea"} 
[2026-07-27 15:02:11] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":21,"angle":191,"satellites":45,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 15: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-07-27 15:02:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996962816001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:02:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 15:02:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972979573867126784,"note":"Value kept but may cause issues"} 
[2026-07-27 15:02:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:02:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785144687000,"timestamp_ms":1785144687000,"timestamp_seconds":1785144687,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2ea3998"} 
[2026-07-27 15:02:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:02:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 15: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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-27 15:02:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15: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-07-27 15:02:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:02:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:02:11] local.INFO: Teltonika packet parsed successfully {"connection_id":143059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:02:11] local.INFO: Passing IMEI to GPS processor {"connection_id":143059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:02:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":143059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:02:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:02:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 15:02:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 15:02:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996962816001,"66":25875,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6972979573867126784},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 15:02:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 15:02:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 15:02:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996962816001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:02:11] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 15:02:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 15:02:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:02:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972979573867126784,"description":"Unknown IO ID 45"} 
[2026-07-27 15:02:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996962816001,"power":25875,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6972979573867126784}} 
[2026-07-27 15:02:11] local.INFO: DEBUG: GPS processor result {"connection_id":143059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:02:11] local.INFO: GPS data processed {"connection_id":143059,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:02:11] local.INFO: Acknowledgment sent {"connection_id":143059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:02:37] local.INFO: TCP Data received {"connection_id":144041,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:02:37] local.INFO: Processing buffer {"connection_id":144041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:02:37] local.INFO: IMEI packet received {"connection_id":144041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 15:02:37] local.INFO: IMEI acknowledgment sent {"connection_id":144041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:02:38] local.INFO: TCP Data received {"connection_id":145328,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2e76308012d1966c0071fee78003b005c2d..."} 
[2026-07-27 15:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2e76308012d1966c0071fee78003b005c2d..."} 
[2026-07-27 15:02:38] local.INFO: Processing buffer {"connection_id":145328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2e76308012d1966c0071fee78003b005c2d..."} 
[2026-07-27 15:02:38] local.INFO: Packet analysis {"connection_id":145328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2e7"} 
[2026-07-27 15:02:38] local.INFO: Extracted packet for processing {"connection_id":145328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2e7"} 
[2026-07-27 15:02:38] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":45,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 15:02:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:02:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996986880001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:02:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 15:02:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 15:02:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:02:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785144501000,"timestamp_ms":1785144501000,"timestamp_seconds":1785144501,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2e76308"} 
[2026-07-27 15:02:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:02:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:02:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-27 15:02:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:02:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:02:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:02:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:02:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:02:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:02:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:02:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:02:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:02:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:02:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996986880001,"66":12341,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 15:02:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:02:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:02:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996986880001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:02:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 15:02:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:02:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:02:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 15:02:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996986880001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 15:02:38] local.INFO: DEBUG: GPS processor result {"connection_id":145328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553660,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:02:38] local.INFO: GPS data processed {"connection_id":145328,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:02:38] local.INFO: Acknowledgment sent {"connection_id":145328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:02:42] local.INFO: TCP Data received {"connection_id":144041,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:02:42] local.INFO: Processing buffer {"connection_id":144041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:02:42] local.INFO: IMEI packet received {"connection_id":144041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 15:02:42] local.INFO: IMEI acknowledgment sent {"connection_id":144041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:02:44] local.INFO: TCP Data received {"connection_id":144041,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2ea3998012d9f3b0005a19860001500bf2d..."} 
[2026-07-27 15:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2ea3998012d9f3b0005a19860001500bf2d..."} 
[2026-07-27 15:02:44] local.INFO: Processing buffer {"connection_id":144041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2ea3998012d9f3b0005a19860001500bf2d..."} 
[2026-07-27 15:02:44] local.INFO: Packet analysis {"connection_id":144041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2ea"} 
[2026-07-27 15:02:44] local.INFO: Extracted packet for processing {"connection_id":144041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2ea"} 
[2026-07-27 15:02:44] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":21,"angle":191,"satellites":45,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 15:02:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:02:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996962816001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:02:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 15:02:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972979573867126784,"note":"Value kept but may cause issues"} 
[2026-07-27 15:02:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:02:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785144687000,"timestamp_ms":1785144687000,"timestamp_seconds":1785144687,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2ea3998"} 
[2026-07-27 15:02:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:02:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 15:02:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-27 15:02:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:02:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:02:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:02:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:02:44] local.INFO: Teltonika packet parsed successfully {"connection_id":144041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:02:44] local.INFO: Passing IMEI to GPS processor {"connection_id":144041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:02:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":144041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:02:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:02:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 15:02:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 15:02:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996962816001,"66":25875,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6972979573867126784},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 15:02:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 15:02:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 15:02:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996962816001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:02:44] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 15:02:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 15:02:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:02:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972979573867126784,"description":"Unknown IO ID 45"} 
[2026-07-27 15:02:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996962816001,"power":25875,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6972979573867126784}} 
[2026-07-27 15:02:44] local.INFO: DEBUG: GPS processor result {"connection_id":144041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:02:44] local.INFO: GPS data processed {"connection_id":144041,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:02:44] local.INFO: Acknowledgment sent {"connection_id":144041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:02:48] local.INFO: TCP Data received {"connection_id":144041,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2ea3998012d9f3b0005a19860001500bf2d..."} 
[2026-07-27 15:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2ea3998012d9f3b0005a19860001500bf2d..."} 
[2026-07-27 15:02:48] local.INFO: Processing buffer {"connection_id":144041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2ea3998012d9f3b0005a19860001500bf2d..."} 
[2026-07-27 15:02:48] local.INFO: Packet analysis {"connection_id":144041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2ea"} 
[2026-07-27 15:02:48] local.INFO: Extracted packet for processing {"connection_id":144041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2ea"} 
[2026-07-27 15:02:48] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":21,"angle":191,"satellites":45,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 15: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-07-27 15:02:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996962816001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:02:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 15:02:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972979573867126784,"note":"Value kept but may cause issues"} 
[2026-07-27 15:02:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:02:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785144687000,"timestamp_ms":1785144687000,"timestamp_seconds":1785144687,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2ea3998"} 
[2026-07-27 15:02:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:02:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 15: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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-27 15:02:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15: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-07-27 15:02:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:02:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:02:48] local.INFO: Teltonika packet parsed successfully {"connection_id":144041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:02:48] local.INFO: Passing IMEI to GPS processor {"connection_id":144041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:02:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":144041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:02:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:02:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 15:02:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 15:02:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996962816001,"66":25875,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6972979573867126784},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 15:02:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 15:02:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 15:02:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996962816001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:02:48] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 15:02:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 15:02:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:02:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972979573867126784,"description":"Unknown IO ID 45"} 
[2026-07-27 15:02:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996962816001,"power":25875,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6972979573867126784}} 
[2026-07-27 15:02:48] local.INFO: DEBUG: GPS processor result {"connection_id":144041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:02:48] local.INFO: GPS data processed {"connection_id":144041,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:02:48] local.INFO: Acknowledgment sent {"connection_id":144041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:02:59] local.INFO: TCP Data received {"connection_id":144042,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144042,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:02:59] local.INFO: Processing buffer {"connection_id":144042,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:02:59] local.INFO: IMEI packet received {"connection_id":144042,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 15:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":144042,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:03:05] local.INFO: TCP Data received {"connection_id":144042,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144042,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:03:05] local.INFO: Processing buffer {"connection_id":144042,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:03:05] local.INFO: IMEI packet received {"connection_id":144042,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 15:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":144042,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:03:06] local.INFO: TCP Data received {"connection_id":144042,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2e7b510012d1966c0071fee78003b005c2f..."} 
[2026-07-27 15:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144042,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2e7b510012d1966c0071fee78003b005c2f..."} 
[2026-07-27 15:03:06] local.INFO: Processing buffer {"connection_id":144042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2e7b510012d1966c0071fee78003b005c2f..."} 
[2026-07-27 15:03:06] local.INFO: Packet analysis {"connection_id":144042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2e7"} 
[2026-07-27 15:03:06] local.INFO: Extracted packet for processing {"connection_id":144042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2e7"} 
[2026-07-27 15:03:06] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":47,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 15:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:03:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996992256001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:03:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 15:03:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 15:03:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:03:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785144522000,"timestamp_ms":1785144522000,"timestamp_seconds":1785144522,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2e7b510"} 
[2026-07-27 15:03:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:03:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 15:03:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:03:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:03:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:03:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:03:06] local.INFO: Teltonika packet parsed successfully {"connection_id":144042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:03:06] local.INFO: Passing IMEI to GPS processor {"connection_id":144042,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:03:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":144042,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:03:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:03:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:03:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:03:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996992256001,"66":12298,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 15:03:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:03:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:03:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996992256001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:03:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 15:03:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:03:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:03:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 15:03:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996992256001,"power":12298,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 15:03:06] local.INFO: DEBUG: GPS processor result {"connection_id":144042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553663,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:03:06] local.INFO: GPS data processed {"connection_id":144042,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:03:06] local.INFO: Acknowledgment sent {"connection_id":144042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:03:32] local.INFO: TCP Data received {"connection_id":143060,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:03:32] local.INFO: Processing buffer {"connection_id":143060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:03:32] local.INFO: IMEI packet received {"connection_id":143060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 15:03:32] local.INFO: IMEI acknowledgment sent {"connection_id":143060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:03:37] local.INFO: TCP Data received {"connection_id":143060,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:03:37] local.INFO: Processing buffer {"connection_id":143060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:03:37] local.INFO: IMEI packet received {"connection_id":143060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 15:03:37] local.INFO: IMEI acknowledgment sent {"connection_id":143060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:03:38] local.INFO: TCP Data received {"connection_id":144042,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2e80718012d1966c0071fee78003b005c2e..."} 
[2026-07-27 15:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144042,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2e80718012d1966c0071fee78003b005c2e..."} 
[2026-07-27 15:03:38] local.INFO: Processing buffer {"connection_id":144042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2e80718012d1966c0071fee78003b005c2e..."} 
[2026-07-27 15:03:38] local.INFO: Packet analysis {"connection_id":144042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2e8"} 
[2026-07-27 15:03:38] local.INFO: Extracted packet for processing {"connection_id":144042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2e8"} 
[2026-07-27 15:03:38] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":46,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 15:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:03:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996997632001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:03:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 15:03:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 15:03:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:03:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785144543000,"timestamp_ms":1785144543000,"timestamp_seconds":1785144543,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2e80718"} 
[2026-07-27 15:03:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:03:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-27 15:03:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-27 15:03:38] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168048982131200,"note":"Value kept but may cause issues"} 
[2026-07-27 15:03:38] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452319,"note":"Value kept but may cause issues"} 
[2026-07-27 15:03:38] local.WARNING: Large IO value detected {"io_id":132,"raw_value":-7926335344172072959,"note":"Value kept but may cause issues"} 
[2026-07-27 15:03:38] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-6708825399793739418,"note":"Value kept but may cause issues"} 
[2026-07-27 15:03:38] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513391081710878812,"note":"Value kept but may cause issues"} 
[2026-07-27 15:03:38] local.WARNING: Large IO value detected {"io_id":59,"raw_value":25946275392258048,"note":"Value kept but may cause issues"} 
[2026-07-27 15:03:38] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832598,"note":"Value kept but may cause issues"} 
[2026-07-27 15:03:38] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3467491122450333902,"note":"Value kept but may cause issues"} 
[2026-07-27 15:03:38] local.WARNING: Large IO value detected {"io_id":162,"raw_value":3865899009,"note":"Value kept but may cause issues"} 
[2026-07-27 15:03:38] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2224160768,"note":"Value kept but may cause issues"} 
[2026-07-27 15:03:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-27 15:03:38] local.WARNING: Large IO value detected {"io_id":26,"raw_value":3892391193,"note":"Value kept but may cause issues"} 
[2026-07-27 15:03:38] local.WARNING: Large IO value detected {"io_id":102,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-07-27 15:03:38] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,121,28,24,241,158,16,132,159,99,45,192,238,59,10,66,17,44,190,1,240,146,162,31,4,113,205,26,102,120,47,239,48,2,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-07-27 15:03:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4251499405170966528,"timestamp_seconds":4251499405170966.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 15:03:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:03:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:03:38] local.INFO: Teltonika packet parsed successfully {"connection_id":144042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:03:38] local.INFO: Passing IMEI to GPS processor {"connection_id":144042,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:03:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":144042,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:03:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:03:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:03:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:03:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996997632001,"66":12363,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 15:03:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:03:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:03:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996997632001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:03:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 15:03:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:03:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:03:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 15:03:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996997632001,"power":12363,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 15:03:38] local.INFO: DEBUG: GPS processor result {"connection_id":144042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553664,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:03:38] local.INFO: GPS data processed {"connection_id":144042,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:03:38] local.INFO: Acknowledgment sent {"connection_id":144042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:03:38] local.INFO: TCP Data received {"connection_id":143060,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2ea3998012d9f3b0005a19860001500bf2d..."} 
[2026-07-27 15:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143060,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2ea3998012d9f3b0005a19860001500bf2d..."} 
[2026-07-27 15:03:38] local.INFO: Processing buffer {"connection_id":143060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2ea3998012d9f3b0005a19860001500bf2d..."} 
[2026-07-27 15:03:38] local.INFO: Packet analysis {"connection_id":143060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2ea"} 
[2026-07-27 15:03:38] local.INFO: Extracted packet for processing {"connection_id":143060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2ea"} 
[2026-07-27 15:03:38] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":21,"angle":191,"satellites":45,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 15:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:03:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996962816001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:03:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 15:03:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972979573867126784,"note":"Value kept but may cause issues"} 
[2026-07-27 15:03:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:03:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785144687000,"timestamp_ms":1785144687000,"timestamp_seconds":1785144687,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2ea3998"} 
[2026-07-27 15:03:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:03:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 15:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-27 15:03:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:03:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:03:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:03:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:03:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:03:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:03:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:03:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:03:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 15:03:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 15:03:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996962816001,"66":25875,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6972979573867126784},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 15:03:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 15:03:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 15:03:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996962816001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:03:38] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 15:03:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 15:03:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:03:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972979573867126784,"description":"Unknown IO ID 45"} 
[2026-07-27 15:03:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996962816001,"power":25875,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6972979573867126784}} 
[2026-07-27 15:03:38] local.INFO: DEBUG: GPS processor result {"connection_id":143060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:03:38] local.INFO: GPS data processed {"connection_id":143060,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:03:38] local.INFO: Acknowledgment sent {"connection_id":143060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:04:05] local.INFO: TCP Data received {"connection_id":144043,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144043,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:04:05] local.INFO: Processing buffer {"connection_id":144043,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:04:05] local.INFO: IMEI packet received {"connection_id":144043,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 15:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":144043,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:04:10] local.INFO: TCP Data received {"connection_id":144043,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144043,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:04:10] local.INFO: Processing buffer {"connection_id":144043,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:04:10] local.INFO: IMEI packet received {"connection_id":144043,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 15:04:10] local.INFO: IMEI acknowledgment sent {"connection_id":144043,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:04:10] local.INFO: TCP Data received {"connection_id":143060,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2ea3998012d9f3b0005a19860001500bf2d..."} 
[2026-07-27 15:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143060,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2ea3998012d9f3b0005a19860001500bf2d..."} 
[2026-07-27 15:04:10] local.INFO: Processing buffer {"connection_id":143060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2ea3998012d9f3b0005a19860001500bf2d..."} 
[2026-07-27 15:04:10] local.INFO: Packet analysis {"connection_id":143060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2ea"} 
[2026-07-27 15:04:10] local.INFO: Extracted packet for processing {"connection_id":143060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2ea"} 
[2026-07-27 15:04:10] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":21,"angle":191,"satellites":45,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 15:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:04:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996962816001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:04:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 15:04:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972979573867126784,"note":"Value kept but may cause issues"} 
[2026-07-27 15:04:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:04:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785144687000,"timestamp_ms":1785144687000,"timestamp_seconds":1785144687,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2ea3998"} 
[2026-07-27 15:04:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:04:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 15:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-27 15:04:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:04:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:04:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:04:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:04:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:04:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:04:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15: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-07-27 15:04:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 15:04:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 15:04:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996962816001,"66":25875,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6972979573867126784},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 15:04:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 15:04:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 15:04:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996962816001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:04:10] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 15:04:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 15:04:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:04:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972979573867126784,"description":"Unknown IO ID 45"} 
[2026-07-27 15:04:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996962816001,"power":25875,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6972979573867126784}} 
[2026-07-27 15:04:10] local.INFO: DEBUG: GPS processor result {"connection_id":143060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:04:10] local.INFO: GPS data processed {"connection_id":143060,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:04:10] local.INFO: Acknowledgment sent {"connection_id":143060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:04:11] local.INFO: TCP Data received {"connection_id":144043,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2e85920012d1966c0071fee78003b005c2e..."} 
[2026-07-27 15:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2e85920012d1966c0071fee78003b005c2e..."} 
[2026-07-27 15:04:11] local.INFO: Processing buffer {"connection_id":144043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2e85920012d1966c0071fee78003b005c2e..."} 
[2026-07-27 15:04:11] local.INFO: Packet analysis {"connection_id":144043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2e8"} 
[2026-07-27 15:04:11] local.INFO: Extracted packet for processing {"connection_id":144043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2e8"} 
[2026-07-27 15:04:11] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":46,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 15:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:04:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997003008001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:04:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 15:04:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 15:04:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:04:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785144564000,"timestamp_ms":1785144564000,"timestamp_seconds":1785144564,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2e85920"} 
[2026-07-27 15:04:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:04:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15: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":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-27 15:04:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:04:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:04:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:04:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:04:11] local.INFO: Teltonika packet parsed successfully {"connection_id":144043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:04:11] local.INFO: Passing IMEI to GPS processor {"connection_id":144043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:04:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":144043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:04:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:04:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:04:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:04:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997003008001,"66":12287,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 15:04:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:04:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:04:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997003008001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:04:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 15:04:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:04:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:04:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 15:04:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997003008001,"power":12287,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 15:04:11] local.INFO: DEBUG: GPS processor result {"connection_id":144043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553667,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:04:11] local.INFO: GPS data processed {"connection_id":144043,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:04:11] local.INFO: Acknowledgment sent {"connection_id":144043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:04:14] local.INFO: TCP Data received {"connection_id":144043,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2e8ab28012d1966c0071fee78003b005c2f..."} 
[2026-07-27 15:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2e8ab28012d1966c0071fee78003b005c2f..."} 
[2026-07-27 15:04:14] local.INFO: Processing buffer {"connection_id":144043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2e8ab28012d1966c0071fee78003b005c2f..."} 
[2026-07-27 15:04:14] local.INFO: Packet analysis {"connection_id":144043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2e8"} 
[2026-07-27 15:04:14] local.INFO: Extracted packet for processing {"connection_id":144043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2e8"} 
[2026-07-27 15:04:14] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":47,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 15:04:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:04:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997008384001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:04:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 15:04:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 15:04:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:04:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785144585000,"timestamp_ms":1785144585000,"timestamp_seconds":1785144585,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2e8ab28"} 
[2026-07-27 15:04:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:04:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:04:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-27 15:04:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:04:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:04:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:04:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:04:14] local.INFO: Teltonika packet parsed successfully {"connection_id":144043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:04:14] local.INFO: Passing IMEI to GPS processor {"connection_id":144043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:04:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":144043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:04:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:04:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:04:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:04:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997008384001,"66":12341,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 15:04:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:04:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:04:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997008384001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:04:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 15:04:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:04:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:04:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 15:04:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997008384001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 15:04:14] local.INFO: DEBUG: GPS processor result {"connection_id":144043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553668,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:04:14] local.INFO: GPS data processed {"connection_id":144043,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:04:14] local.INFO: Acknowledgment sent {"connection_id":144043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:04:32] local.INFO: TCP Data received {"connection_id":143061,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:04:32] local.INFO: Processing buffer {"connection_id":143061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:04:32] local.INFO: IMEI packet received {"connection_id":143061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 15:04:32] local.INFO: IMEI acknowledgment sent {"connection_id":143061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:04:37] local.INFO: TCP Data received {"connection_id":143061,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:04:37] local.INFO: Processing buffer {"connection_id":143061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:04:37] local.INFO: IMEI packet received {"connection_id":143061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 15:04:37] local.INFO: IMEI acknowledgment sent {"connection_id":143061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:04:39] local.INFO: TCP Data received {"connection_id":143061,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2ea3998012d9f3b0005a19860001500bf2d..."} 
[2026-07-27 15:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2ea3998012d9f3b0005a19860001500bf2d..."} 
[2026-07-27 15:04:39] local.INFO: Processing buffer {"connection_id":143061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2ea3998012d9f3b0005a19860001500bf2d..."} 
[2026-07-27 15:04:39] local.INFO: Packet analysis {"connection_id":143061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2ea"} 
[2026-07-27 15:04:39] local.INFO: Extracted packet for processing {"connection_id":143061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2ea"} 
[2026-07-27 15:04:39] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":21,"angle":191,"satellites":45,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 15:04:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:04:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996962816001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:04:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 15:04:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972979573867126784,"note":"Value kept but may cause issues"} 
[2026-07-27 15:04:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:04:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785144687000,"timestamp_ms":1785144687000,"timestamp_seconds":1785144687,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2ea3998"} 
[2026-07-27 15:04:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:04:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 15:04:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-27 15:04:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:04:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:04:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:04:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:04:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:04:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:04:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:04: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-07-27 15:04:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 15:04:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 15:04:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996962816001,"66":25875,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6972979573867126784},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 15:04:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 15:04:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 15:04:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996962816001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:04:39] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 15:04:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 15:04:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:04:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972979573867126784,"description":"Unknown IO ID 45"} 
[2026-07-27 15:04:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996962816001,"power":25875,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6972979573867126784}} 
[2026-07-27 15:04:39] local.INFO: DEBUG: GPS processor result {"connection_id":143061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:04:39] local.INFO: GPS data processed {"connection_id":143061,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:04:39] local.INFO: Acknowledgment sent {"connection_id":143061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:04:46] local.INFO: TCP Data received {"connection_id":144043,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2e8fd30012d1966c0071fee78003b005c2f..."} 
[2026-07-27 15:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2e8fd30012d1966c0071fee78003b005c2f..."} 
[2026-07-27 15:04:46] local.INFO: Processing buffer {"connection_id":144043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2e8fd30012d1966c0071fee78003b005c2f..."} 
[2026-07-27 15:04:46] local.INFO: Packet analysis {"connection_id":144043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2e8"} 
[2026-07-27 15:04:46] local.INFO: Extracted packet for processing {"connection_id":144043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2e8"} 
[2026-07-27 15:04:46] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":47,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 15:04:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:04:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997013760001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:04:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 15:04:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 15:04: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-07-27 15:04:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785144606000,"timestamp_ms":1785144606000,"timestamp_seconds":1785144606,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2e8fd30"} 
[2026-07-27 15:04:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:04:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:04:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 15:04:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:04:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:04:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:04:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:04:46] local.INFO: Teltonika packet parsed successfully {"connection_id":144043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:04:46] local.INFO: Passing IMEI to GPS processor {"connection_id":144043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:04:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":144043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:04:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:04:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:04:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:04:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997013760001,"66":12341,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 15:04:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:04:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:04:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997013760001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:04:46] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 15:04:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:04:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:04:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 15:04:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997013760001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 15:04:46] local.INFO: DEBUG: GPS processor result {"connection_id":144043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553670,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:04:46] local.INFO: GPS data processed {"connection_id":144043,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:04:46] local.INFO: Acknowledgment sent {"connection_id":144043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:05:00] local.INFO: TCP Data received {"connection_id":145329,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145329,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:05:00] local.INFO: Processing buffer {"connection_id":145329,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:05:00] local.INFO: IMEI packet received {"connection_id":145329,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 15:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":145329,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:05:05] local.INFO: TCP Data received {"connection_id":145329,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145329,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:05:05] local.INFO: Processing buffer {"connection_id":145329,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:05:05] local.INFO: IMEI packet received {"connection_id":145329,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 15:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":145329,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:05:06] local.INFO: TCP Data received {"connection_id":145329,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2e94f38012d1966c0071fee78003b005c2c..."} 
[2026-07-27 15:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2e94f38012d1966c0071fee78003b005c2c..."} 
[2026-07-27 15:05:06] local.INFO: Processing buffer {"connection_id":145329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2e94f38012d1966c0071fee78003b005c2c..."} 
[2026-07-27 15:05:06] local.INFO: Packet analysis {"connection_id":145329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2e9"} 
[2026-07-27 15:05:06] local.INFO: Extracted packet for processing {"connection_id":145329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2e9"} 
[2026-07-27 15:05:06] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":44,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 15:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:05:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997019136001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:05:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 15:05:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 15:05:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:05:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785144627000,"timestamp_ms":1785144627000,"timestamp_seconds":1785144627,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2e94f38"} 
[2026-07-27 15:05:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:05:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 15:05:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:05:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:05:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:05:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:05:06] local.INFO: Teltonika packet parsed successfully {"connection_id":145329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:05:06] local.INFO: Passing IMEI to GPS processor {"connection_id":145329,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:05:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":145329,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:05:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:05:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:05:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:05:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997019136001,"66":12232,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 15:05:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:05:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:05:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997019136001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:05:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 15:05:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:05:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:05:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 15:05:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997019136001,"power":12232,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 15:05:06] local.INFO: DEBUG: GPS processor result {"connection_id":145329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553671,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:05:06] local.INFO: GPS data processed {"connection_id":145329,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:05:06] local.INFO: Acknowledgment sent {"connection_id":145329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:05:11] local.INFO: TCP Data received {"connection_id":143061,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2ea3998012d9f3b0005a19860001500bf2d..."} 
[2026-07-27 15:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2ea3998012d9f3b0005a19860001500bf2d..."} 
[2026-07-27 15:05:11] local.INFO: Processing buffer {"connection_id":143061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2ea3998012d9f3b0005a19860001500bf2d..."} 
[2026-07-27 15:05:11] local.INFO: Packet analysis {"connection_id":143061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2ea"} 
[2026-07-27 15:05:11] local.INFO: Extracted packet for processing {"connection_id":143061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2ea"} 
[2026-07-27 15:05:11] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":21,"angle":191,"satellites":45,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 15:05:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:05:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996962816001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:05:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 15:05:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972979573867126784,"note":"Value kept but may cause issues"} 
[2026-07-27 15:05:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:05:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785144687000,"timestamp_ms":1785144687000,"timestamp_seconds":1785144687,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2ea3998"} 
[2026-07-27 15:05:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:05:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 15: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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-27 15:05:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:05:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:05:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:05:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:05:11] local.INFO: Teltonika packet parsed successfully {"connection_id":143061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:05:11] local.INFO: Passing IMEI to GPS processor {"connection_id":143061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:05:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":143061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:05:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:05:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 15:05:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 15:05:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996962816001,"66":25875,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6972979573867126784},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 15:05:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 15:05:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 15:05:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996962816001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:05:11] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 15:05:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 15:05:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:05:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972979573867126784,"description":"Unknown IO ID 45"} 
[2026-07-27 15:05:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996962816001,"power":25875,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6972979573867126784}} 
[2026-07-27 15:05:11] local.INFO: DEBUG: GPS processor result {"connection_id":143061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:05:11] local.INFO: GPS data processed {"connection_id":143061,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:05:11] local.INFO: Acknowledgment sent {"connection_id":143061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:05:32] local.INFO: TCP Data received {"connection_id":145330,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:05:32] local.INFO: Processing buffer {"connection_id":145330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:05:32] local.INFO: IMEI packet received {"connection_id":145330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 15:05:32] local.INFO: IMEI acknowledgment sent {"connection_id":145330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:05:37] local.INFO: TCP Data received {"connection_id":145330,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:05:37] local.INFO: Processing buffer {"connection_id":145330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:05:37] local.INFO: IMEI packet received {"connection_id":145330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 15:05:37] local.INFO: IMEI acknowledgment sent {"connection_id":145330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:05:38] local.INFO: TCP Data received {"connection_id":145329,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2e9a140012d1966c0071fee78003b005c2f..."} 
[2026-07-27 15:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2e9a140012d1966c0071fee78003b005c2f..."} 
[2026-07-27 15:05:38] local.INFO: Processing buffer {"connection_id":145329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2e9a140012d1966c0071fee78003b005c2f..."} 
[2026-07-27 15:05:38] local.INFO: Packet analysis {"connection_id":145329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2e9"} 
[2026-07-27 15:05:38] local.INFO: Extracted packet for processing {"connection_id":145329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2e9"} 
[2026-07-27 15:05:38] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":47,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 15:05:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:05:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997024512001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:05:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 15:05:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 15:05:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:05:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785144648000,"timestamp_ms":1785144648000,"timestamp_seconds":1785144648,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2e9a140"} 
[2026-07-27 15:05:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:05:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:05:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-27 15:05:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:05:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:05:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:05:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:05:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:05:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145329,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:05:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145329,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:05:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:05:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:05:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:05:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997024512001,"66":12319,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 15:05:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:05:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:05:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997024512001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:05:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 15:05:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:05:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:05:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 15:05:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997024512001,"power":12319,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 15:05:38] local.INFO: DEBUG: GPS processor result {"connection_id":145329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553673,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:05:38] local.INFO: GPS data processed {"connection_id":145329,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:05:38] local.INFO: Acknowledgment sent {"connection_id":145329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:05:38] local.INFO: TCP Data received {"connection_id":145330,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2ea3998012d9f3b0005a19860001500bf2d..."} 
[2026-07-27 15:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2ea3998012d9f3b0005a19860001500bf2d..."} 
[2026-07-27 15:05:38] local.INFO: Processing buffer {"connection_id":145330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2ea3998012d9f3b0005a19860001500bf2d..."} 
[2026-07-27 15:05:38] local.INFO: Packet analysis {"connection_id":145330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2ea"} 
[2026-07-27 15:05:38] local.INFO: Extracted packet for processing {"connection_id":145330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2ea"} 
[2026-07-27 15:05:38] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":21,"angle":191,"satellites":45,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 15:05:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:05:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996962816001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:05:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 15:05:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972979573867126784,"note":"Value kept but may cause issues"} 
[2026-07-27 15:05:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:05:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785144687000,"timestamp_ms":1785144687000,"timestamp_seconds":1785144687,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2ea3998"} 
[2026-07-27 15:05:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:05:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 15:05:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-27 15:05:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:05:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:05:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:05:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:05:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:05:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:05:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:05:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:05:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 15:05:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 15:05:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996962816001,"66":25875,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6972979573867126784},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 15:05:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 15:05:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 15:05:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996962816001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:05:38] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 15:05:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 15:05:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:05:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972979573867126784,"description":"Unknown IO ID 45"} 
[2026-07-27 15:05:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996962816001,"power":25875,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6972979573867126784}} 
[2026-07-27 15:05:38] local.INFO: DEBUG: GPS processor result {"connection_id":145330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:05:38] local.INFO: GPS data processed {"connection_id":145330,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:05:38] local.INFO: Acknowledgment sent {"connection_id":145330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:06:09] local.INFO: TCP Data received {"connection_id":143062,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143062,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:06:09] local.INFO: Processing buffer {"connection_id":143062,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:06:09] local.INFO: IMEI packet received {"connection_id":143062,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 15:06:09] local.INFO: IMEI acknowledgment sent {"connection_id":143062,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:06:10] local.INFO: TCP Data received {"connection_id":145330,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2ea3998012d9f3b0005a19860001500bf2d..."} 
[2026-07-27 15:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2ea3998012d9f3b0005a19860001500bf2d..."} 
[2026-07-27 15:06:10] local.INFO: Processing buffer {"connection_id":145330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2ea3998012d9f3b0005a19860001500bf2d..."} 
[2026-07-27 15:06:10] local.INFO: Packet analysis {"connection_id":145330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2ea"} 
[2026-07-27 15:06:10] local.INFO: Extracted packet for processing {"connection_id":145330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2ea"} 
[2026-07-27 15:06:10] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":21,"angle":191,"satellites":45,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 15:06:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:06:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996962816001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:06:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 15:06:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972979573867126784,"note":"Value kept but may cause issues"} 
[2026-07-27 15:06:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:06:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785144687000,"timestamp_ms":1785144687000,"timestamp_seconds":1785144687,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2ea3998"} 
[2026-07-27 15:06:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:06:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 15:06:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-27 15:06:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:06:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:06:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:06:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:06:10] local.INFO: Teltonika packet parsed successfully {"connection_id":145330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:06:10] local.INFO: Passing IMEI to GPS processor {"connection_id":145330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:06:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":145330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:06:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:06:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 15:06:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 15:06:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996962816001,"66":25875,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6972979573867126784},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 15:06:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 15:06:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 15:06:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996962816001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:06:10] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 15:06:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 15:06:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:06:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972979573867126784,"description":"Unknown IO ID 45"} 
[2026-07-27 15:06:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996962816001,"power":25875,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6972979573867126784}} 
[2026-07-27 15:06:10] local.INFO: DEBUG: GPS processor result {"connection_id":145330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:06:10] local.INFO: GPS data processed {"connection_id":145330,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:06:10] local.INFO: Acknowledgment sent {"connection_id":145330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:06:18] local.INFO: TCP Data received {"connection_id":143062,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:06:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143062,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:06:18] local.INFO: Processing buffer {"connection_id":143062,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:06:18] local.INFO: IMEI packet received {"connection_id":143062,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 15:06:18] local.INFO: IMEI acknowledgment sent {"connection_id":143062,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:06:20] local.INFO: TCP Data received {"connection_id":143062,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2ed2798012d1966c0071fee78003b005c30..."} 
[2026-07-27 15:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2ed2798012d1966c0071fee78003b005c30..."} 
[2026-07-27 15:06:20] local.INFO: Processing buffer {"connection_id":143062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2ed2798012d1966c0071fee78003b005c30..."} 
[2026-07-27 15:06:20] local.INFO: Packet analysis {"connection_id":143062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2ed"} 
[2026-07-27 15:06:20] local.INFO: Extracted packet for processing {"connection_id":143062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2ed"} 
[2026-07-27 15:06:20] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":48,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 15:06:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:06:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997083648001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:06:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 15:06:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 15:06: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-07-27 15:06:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785144879000,"timestamp_ms":1785144879000,"timestamp_seconds":1785144879,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2ed2798"} 
[2026-07-27 15:06:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:06:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:06:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 15:06:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:06:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:06:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:06:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:06:20] local.INFO: Teltonika packet parsed successfully {"connection_id":143062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:06:20] local.INFO: Passing IMEI to GPS processor {"connection_id":143062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:06:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":143062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:06:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:06:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:06:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:06:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997083648001,"66":12319,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 15:06:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:06:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:06:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997083648001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:06:20] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 15:06:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:06:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:06:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 15:06:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997083648001,"power":12319,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 15:06:20] local.INFO: DEBUG: GPS processor result {"connection_id":143062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553676,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:06:20] local.INFO: GPS data processed {"connection_id":143062,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:06:20] local.INFO: Acknowledgment sent {"connection_id":143062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:06:32] local.INFO: TCP Data received {"connection_id":145331,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:06:32] local.INFO: Processing buffer {"connection_id":145331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:06:32] local.INFO: IMEI packet received {"connection_id":145331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 15:06:32] local.INFO: IMEI acknowledgment sent {"connection_id":145331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:06:37] local.INFO: TCP Data received {"connection_id":145331,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:06:37] local.INFO: Processing buffer {"connection_id":145331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:06:37] local.INFO: IMEI packet received {"connection_id":145331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 15:06:37] local.INFO: IMEI acknowledgment sent {"connection_id":145331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:06:38] local.INFO: TCP Data received {"connection_id":145331,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2ea3998012d9f3b0005a19860001500bf2d..."} 
[2026-07-27 15:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2ea3998012d9f3b0005a19860001500bf2d..."} 
[2026-07-27 15:06:38] local.INFO: Processing buffer {"connection_id":145331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2ea3998012d9f3b0005a19860001500bf2d..."} 
[2026-07-27 15:06:38] local.INFO: Packet analysis {"connection_id":145331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2ea"} 
[2026-07-27 15:06:38] local.INFO: Extracted packet for processing {"connection_id":145331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2ea"} 
[2026-07-27 15:06:38] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":21,"angle":191,"satellites":45,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 15:06:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:06:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456996962816001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:06:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 15:06:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972979573867126784,"note":"Value kept but may cause issues"} 
[2026-07-27 15:06:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:06:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785144687000,"timestamp_ms":1785144687000,"timestamp_seconds":1785144687,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2ea3998"} 
[2026-07-27 15:06:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:06:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 15:06:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-27 15:06:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:06:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:06:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:06:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:06:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:06:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:06:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:06:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:06:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 15:06:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 15:06:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456996962816001,"66":25875,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6972979573867126784},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 15:06:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 15:06:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 15:06:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456996962816001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:06:38] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 15:06:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 15:06:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:06:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972979573867126784,"description":"Unknown IO ID 45"} 
[2026-07-27 15:06:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456996962816001,"power":25875,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6972979573867126784}} 
[2026-07-27 15:06:38] local.INFO: DEBUG: GPS processor result {"connection_id":145331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:06:38] local.INFO: GPS data processed {"connection_id":145331,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:06:38] local.INFO: Acknowledgment sent {"connection_id":145331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:06:59] local.INFO: TCP Data received {"connection_id":144044,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144044,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:06:59] local.INFO: Processing buffer {"connection_id":144044,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:06:59] local.INFO: IMEI packet received {"connection_id":144044,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 15:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":144044,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:07:02] local.INFO: TCP Data received {"connection_id":144044,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144044,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:07:02] local.INFO: Processing buffer {"connection_id":144044,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:07:02] local.INFO: IMEI packet received {"connection_id":144044,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 15:07:02] local.INFO: IMEI acknowledgment sent {"connection_id":144044,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:07:05] local.INFO: TCP Data received {"connection_id":144044,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144044,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:07:05] local.INFO: Processing buffer {"connection_id":144044,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:07:05] local.INFO: IMEI packet received {"connection_id":144044,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 15:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":144044,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:07:06] local.INFO: TCP Data received {"connection_id":144044,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2ed79a0012d1966c0071fee78003b005c2f..."} 
[2026-07-27 15:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2ed79a0012d1966c0071fee78003b005c2f..."} 
[2026-07-27 15:07:06] local.INFO: Processing buffer {"connection_id":144044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2ed79a0012d1966c0071fee78003b005c2f..."} 
[2026-07-27 15:07:06] local.INFO: Packet analysis {"connection_id":144044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2ed"} 
[2026-07-27 15:07:06] local.INFO: Extracted packet for processing {"connection_id":144044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2ed"} 
[2026-07-27 15:07:06] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":47,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 15:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:07:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997089024001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:07:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 15:07:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 15:07:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:07:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785144900000,"timestamp_ms":1785144900000,"timestamp_seconds":1785144900,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2ed79a0"} 
[2026-07-27 15:07:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:07:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 15:07:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:07:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:07:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:07:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:07:06] local.INFO: Teltonika packet parsed successfully {"connection_id":144044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:07:06] local.INFO: Passing IMEI to GPS processor {"connection_id":144044,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:07:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":144044,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:07:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:07:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:07:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:07:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997089024001,"66":12341,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 15:07:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:07:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:07:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997089024001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:07:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 15:07:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:07:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:07:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 15:07:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997089024001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 15:07:06] local.INFO: DEBUG: GPS processor result {"connection_id":144044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553678,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:07:06] local.INFO: GPS data processed {"connection_id":144044,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:07:06] local.INFO: Acknowledgment sent {"connection_id":144044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:07:10] local.INFO: TCP Data received {"connection_id":145331,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2eed160012d9f3b0005a19860001500bf2a..."} 
[2026-07-27 15:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2eed160012d9f3b0005a19860001500bf2a..."} 
[2026-07-27 15:07:10] local.INFO: Processing buffer {"connection_id":145331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2eed160012d9f3b0005a19860001500bf2a..."} 
[2026-07-27 15:07:10] local.INFO: Packet analysis {"connection_id":145331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2ee"} 
[2026-07-27 15:07:10] local.INFO: Extracted packet for processing {"connection_id":145331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2ee"} 
[2026-07-27 15:07:10] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":21,"angle":191,"satellites":42,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 15:07:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:07:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997039872001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:07:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 15:07:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972979573867126784,"note":"Value kept but may cause issues"} 
[2026-07-27 15:07:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:07:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785144988000,"timestamp_ms":1785144988000,"timestamp_seconds":1785144988,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2eed160"} 
[2026-07-27 15:07:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:07:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 15:07:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-27 15:07:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:07:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:07:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:07:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:07:10] local.INFO: Teltonika packet parsed successfully {"connection_id":145331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:07:10] local.INFO: Passing IMEI to GPS processor {"connection_id":145331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:07:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":145331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:07:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:07:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 15:07:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 15:07:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997039872001,"66":25875,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6972979573867126784},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 15:07:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 15:07:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 15:07:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997039872001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:07:10] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 15:07:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 15:07:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:07:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972979573867126784,"description":"Unknown IO ID 45"} 
[2026-07-27 15:07:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997039872001,"power":25875,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6972979573867126784}} 
[2026-07-27 15:07:10] local.INFO: DEBUG: GPS processor result {"connection_id":145331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:07:10] local.INFO: GPS data processed {"connection_id":145331,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:07:10] local.INFO: Acknowledgment sent {"connection_id":145331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:07:37] local.INFO: TCP Data received {"connection_id":143063,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:07:37] local.INFO: Processing buffer {"connection_id":143063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:07:37] local.INFO: IMEI packet received {"connection_id":143063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 15:07:37] local.INFO: IMEI acknowledgment sent {"connection_id":143063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:07:37] local.INFO: TCP Data received {"connection_id":144044,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2edcba8012d1966c0071fee78003b005c2f..."} 
[2026-07-27 15:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2edcba8012d1966c0071fee78003b005c2f..."} 
[2026-07-27 15:07:37] local.INFO: Processing buffer {"connection_id":144044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2edcba8012d1966c0071fee78003b005c2f..."} 
[2026-07-27 15:07:37] local.INFO: Packet analysis {"connection_id":144044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2ed"} 
[2026-07-27 15:07:37] local.INFO: Extracted packet for processing {"connection_id":144044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2ed"} 
[2026-07-27 15:07:37] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":47,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 15:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997094400001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 15:07:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 15:07:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785144921000,"timestamp_ms":1785144921000,"timestamp_seconds":1785144921,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2edcba8"} 
[2026-07-27 15:07:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:07:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 15:07:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:07:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:07:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144044,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144044,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:07:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997094400001,"66":12341,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 15:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997094400001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:07:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 15:07:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:07:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:07:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 15:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997094400001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 15:07:37] local.INFO: DEBUG: GPS processor result {"connection_id":144044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553680,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:07:37] local.INFO: GPS data processed {"connection_id":144044,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:07:37] local.INFO: Acknowledgment sent {"connection_id":144044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:07:42] local.INFO: TCP Data received {"connection_id":143063,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:07:42] local.INFO: Processing buffer {"connection_id":143063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:07:42] local.INFO: IMEI packet received {"connection_id":143063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 15:07:42] local.INFO: IMEI acknowledgment sent {"connection_id":143063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:07:44] local.INFO: TCP Data received {"connection_id":143063,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2eed160012d9f3b0005a19860001500bf2a..."} 
[2026-07-27 15:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143063,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2eed160012d9f3b0005a19860001500bf2a..."} 
[2026-07-27 15:07:44] local.INFO: Processing buffer {"connection_id":143063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2eed160012d9f3b0005a19860001500bf2a..."} 
[2026-07-27 15:07:44] local.INFO: Packet analysis {"connection_id":143063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2ee"} 
[2026-07-27 15:07:44] local.INFO: Extracted packet for processing {"connection_id":143063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2ee"} 
[2026-07-27 15:07:44] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":21,"angle":191,"satellites":42,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 15:07:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:07:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997039872001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:07:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 15:07:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972979573867126784,"note":"Value kept but may cause issues"} 
[2026-07-27 15:07:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:07:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785144988000,"timestamp_ms":1785144988000,"timestamp_seconds":1785144988,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2eed160"} 
[2026-07-27 15:07:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:07:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 15:07:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-27 15:07:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:07:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:07:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:07:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:07:44] local.INFO: Teltonika packet parsed successfully {"connection_id":143063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:07:44] local.INFO: Passing IMEI to GPS processor {"connection_id":143063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:07:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":143063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:07:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:07:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 15:07:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 15:07:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997039872001,"66":25875,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6972979573867126784},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 15:07:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 15:07:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 15:07:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997039872001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:07:44] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 15:07:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 15:07:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:07:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972979573867126784,"description":"Unknown IO ID 45"} 
[2026-07-27 15:07:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997039872001,"power":25875,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6972979573867126784}} 
[2026-07-27 15:07:44] local.INFO: DEBUG: GPS processor result {"connection_id":143063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:07:44] local.INFO: GPS data processed {"connection_id":143063,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:07:44] local.INFO: Acknowledgment sent {"connection_id":143063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:08:05] local.INFO: TCP Data received {"connection_id":143064,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143064,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:08:05] local.INFO: Processing buffer {"connection_id":143064,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:08:05] local.INFO: IMEI packet received {"connection_id":143064,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 15:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":143064,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:08:10] local.INFO: TCP Data received {"connection_id":143064,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143064,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:08:10] local.INFO: Processing buffer {"connection_id":143064,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:08:10] local.INFO: IMEI packet received {"connection_id":143064,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 15:08:10] local.INFO: IMEI acknowledgment sent {"connection_id":143064,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:08:11] local.INFO: TCP Data received {"connection_id":143064,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2ee1db0012d1966c0071fee78003b005c2f..."} 
[2026-07-27 15:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143064,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2ee1db0012d1966c0071fee78003b005c2f..."} 
[2026-07-27 15:08:11] local.INFO: Processing buffer {"connection_id":143064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2ee1db0012d1966c0071fee78003b005c2f..."} 
[2026-07-27 15:08:11] local.INFO: Packet analysis {"connection_id":143064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2ee"} 
[2026-07-27 15:08:11] local.INFO: Extracted packet for processing {"connection_id":143064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2ee"} 
[2026-07-27 15:08:11] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":47,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 15:08:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:08:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997099776001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:08:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 15:08:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 15:08:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:08:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785144942000,"timestamp_ms":1785144942000,"timestamp_seconds":1785144942,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2ee1db0"} 
[2026-07-27 15:08:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:08:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:08:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 15:08:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:08:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:08:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:08:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:08:11] local.INFO: Teltonika packet parsed successfully {"connection_id":143064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:08:11] local.INFO: Passing IMEI to GPS processor {"connection_id":143064,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:08:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":143064,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:08:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:08:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:08:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:08:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997099776001,"66":12319,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 15:08:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:08:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:08:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997099776001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:08:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 15:08:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:08:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:08:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 15:08:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997099776001,"power":12319,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 15:08:11] local.INFO: DEBUG: GPS processor result {"connection_id":143064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553682,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:08:11] local.INFO: GPS data processed {"connection_id":143064,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:08:11] local.INFO: Acknowledgment sent {"connection_id":143064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:08:12] local.INFO: TCP Data received {"connection_id":143064,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2ee6fb8012d1966c0071fee78003b005c2e..."} 
[2026-07-27 15:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143064,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2ee6fb8012d1966c0071fee78003b005c2e..."} 
[2026-07-27 15:08:12] local.INFO: Processing buffer {"connection_id":143064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2ee6fb8012d1966c0071fee78003b005c2e..."} 
[2026-07-27 15:08:12] local.INFO: Packet analysis {"connection_id":143064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2ee"} 
[2026-07-27 15:08:12] local.INFO: Extracted packet for processing {"connection_id":143064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2ee"} 
[2026-07-27 15:08:12] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":46,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 15:08:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:08:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997105152001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:08:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 15:08:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 15:08:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:08:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785144963000,"timestamp_ms":1785144963000,"timestamp_seconds":1785144963,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2ee6fb8"} 
[2026-07-27 15:08:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:08:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:08:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 15:08:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:08:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:08:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:08:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:08:12] local.INFO: Teltonika packet parsed successfully {"connection_id":143064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:08:12] local.INFO: Passing IMEI to GPS processor {"connection_id":143064,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:08:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":143064,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:08:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:08:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:08:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:08:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997105152001,"66":12319,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 15:08:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:08:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:08:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997105152001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:08:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 15:08:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:08:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:08:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 15:08:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997105152001,"power":12319,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 15:08:13] local.INFO: DEBUG: GPS processor result {"connection_id":143064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553683,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:08:13] local.INFO: GPS data processed {"connection_id":143064,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:08:13] local.INFO: Acknowledgment sent {"connection_id":143064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:08:16] local.INFO: TCP Data received {"connection_id":143063,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2eed160012d9f3b0005a19860001500bf2a..."} 
[2026-07-27 15:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143063,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2eed160012d9f3b0005a19860001500bf2a..."} 
[2026-07-27 15:08:16] local.INFO: Processing buffer {"connection_id":143063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2eed160012d9f3b0005a19860001500bf2a..."} 
[2026-07-27 15:08:16] local.INFO: Packet analysis {"connection_id":143063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2ee"} 
[2026-07-27 15:08:16] local.INFO: Extracted packet for processing {"connection_id":143063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2ee"} 
[2026-07-27 15:08:16] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":21,"angle":191,"satellites":42,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 15:08:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:08:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997039872001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:08:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 15:08:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972979573867126784,"note":"Value kept but may cause issues"} 
[2026-07-27 15:08:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:08:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785144988000,"timestamp_ms":1785144988000,"timestamp_seconds":1785144988,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2eed160"} 
[2026-07-27 15:08:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:08:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 15:08:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-27 15:08:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:08:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:08:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:08:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:08:16] local.INFO: Teltonika packet parsed successfully {"connection_id":143063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:08:16] local.INFO: Passing IMEI to GPS processor {"connection_id":143063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:08:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":143063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:08:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:08:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 15:08:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 15:08:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997039872001,"66":25875,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6972979573867126784},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 15:08:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 15:08:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 15:08:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997039872001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:08:16] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 15:08:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 15:08:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:08:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972979573867126784,"description":"Unknown IO ID 45"} 
[2026-07-27 15:08:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997039872001,"power":25875,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6972979573867126784}} 
[2026-07-27 15:08:16] local.INFO: DEBUG: GPS processor result {"connection_id":143063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:08:16] local.INFO: GPS data processed {"connection_id":143063,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:08:16] local.INFO: Acknowledgment sent {"connection_id":143063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:08:32] local.INFO: TCP Data received {"connection_id":144045,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:08:32] local.INFO: Processing buffer {"connection_id":144045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:08:32] local.INFO: IMEI packet received {"connection_id":144045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 15:08:32] local.INFO: IMEI acknowledgment sent {"connection_id":144045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:08:37] local.INFO: TCP Data received {"connection_id":144045,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:08:37] local.INFO: Processing buffer {"connection_id":144045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:08:37] local.INFO: IMEI packet received {"connection_id":144045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 15:08:37] local.INFO: IMEI acknowledgment sent {"connection_id":144045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:08:38] local.INFO: TCP Data received {"connection_id":144045,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2eed160012d9f3b0005a19860001500bf2a..."} 
[2026-07-27 15:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144045,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2eed160012d9f3b0005a19860001500bf2a..."} 
[2026-07-27 15:08:38] local.INFO: Processing buffer {"connection_id":144045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2eed160012d9f3b0005a19860001500bf2a..."} 
[2026-07-27 15:08:38] local.INFO: Packet analysis {"connection_id":144045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2ee"} 
[2026-07-27 15:08:38] local.INFO: Extracted packet for processing {"connection_id":144045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2ee"} 
[2026-07-27 15:08:38] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":21,"angle":191,"satellites":42,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 15:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:08:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997039872001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:08:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 15:08:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972979573867126784,"note":"Value kept but may cause issues"} 
[2026-07-27 15:08:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:08:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785144988000,"timestamp_ms":1785144988000,"timestamp_seconds":1785144988,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2eed160"} 
[2026-07-27 15:08:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:08:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 15:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-27 15:08:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:08:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:08:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:08:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:08:38] local.INFO: Teltonika packet parsed successfully {"connection_id":144045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:08:38] local.INFO: Passing IMEI to GPS processor {"connection_id":144045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:08:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":144045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:08:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:08:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 15:08:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 15:08:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997039872001,"66":25875,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6972979573867126784},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 15:08:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 15:08:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 15:08:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997039872001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:08:38] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 15:08:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 15:08:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:08:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972979573867126784,"description":"Unknown IO ID 45"} 
[2026-07-27 15:08:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997039872001,"power":25875,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6972979573867126784}} 
[2026-07-27 15:08:38] local.INFO: DEBUG: GPS processor result {"connection_id":144045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:08:38] local.INFO: GPS data processed {"connection_id":144045,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:08:38] local.INFO: Acknowledgment sent {"connection_id":144045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:08:44] local.INFO: TCP Data received {"connection_id":143064,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2eec1c0012d1966c0071fee78003b005c2d..."} 
[2026-07-27 15:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143064,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2eec1c0012d1966c0071fee78003b005c2d..."} 
[2026-07-27 15:08:44] local.INFO: Processing buffer {"connection_id":143064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2eec1c0012d1966c0071fee78003b005c2d..."} 
[2026-07-27 15:08:44] local.INFO: Packet analysis {"connection_id":143064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2ee"} 
[2026-07-27 15:08:44] local.INFO: Extracted packet for processing {"connection_id":143064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2ee"} 
[2026-07-27 15:08:44] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533176,"longitude_deg":75.6639424,"latitude_deg":11.9533176,"altitude":59,"angle":92,"satellites":45,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-07-27 15:08:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:08:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997110528001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:08:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871486878121984,"note":"Value kept but may cause issues"} 
[2026-07-27 15:08:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405711360,"note":"Value kept but may cause issues"} 
[2026-07-27 15:08:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:08:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785144984000,"timestamp_ms":1785144984000,"timestamp_seconds":1785144984,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2eec1c0"} 
[2026-07-27 15:08:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:08:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:08:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 15:08:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:08:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:08:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:08:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:08:44] local.INFO: Teltonika packet parsed successfully {"connection_id":143064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:08:44] local.INFO: Passing IMEI to GPS processor {"connection_id":143064,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:08:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":143064,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:08:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:08:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:08:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:08:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997110528001,"66":12287,"121":206,"28":31744,"24":0,"16":8871486878121984,"45":1830361435405711360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 15:08:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:08:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:08:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997110528001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:08:44] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 15:08:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:08:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871486878121984,"km_value":8871486878121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:08:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405711360,"description":"Unknown IO ID 45"} 
[2026-07-27 15:08:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997110528001,"power":12287,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830361435405711360}} 
[2026-07-27 15:08:44] local.INFO: DEBUG: GPS processor result {"connection_id":143064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553686,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:08:44] local.INFO: GPS data processed {"connection_id":143064,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:08:44] local.INFO: Acknowledgment sent {"connection_id":143064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:08:57] local.INFO: TCP Data received {"connection_id":144046,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144046,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:08:57] local.INFO: Processing buffer {"connection_id":144046,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:08:57] local.INFO: IMEI packet received {"connection_id":144046,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 15:08:57] local.INFO: IMEI acknowledgment sent {"connection_id":144046,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:08:59] local.INFO: TCP Data received {"connection_id":144046,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144046,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:08:59] local.INFO: Processing buffer {"connection_id":144046,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:08:59] local.INFO: IMEI packet received {"connection_id":144046,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 15:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":144046,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:09:00] local.INFO: TCP Data received {"connection_id":144046,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144046,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:09:00] local.INFO: Processing buffer {"connection_id":144046,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:09:00] local.INFO: IMEI packet received {"connection_id":144046,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 15:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":144046,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:09:00] local.INFO: TCP Data received {"connection_id":144046,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144046,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:09:00] local.INFO: Processing buffer {"connection_id":144046,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:09:00] local.INFO: IMEI packet received {"connection_id":144046,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 15:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":144046,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:09:02] local.INFO: TCP Data received {"connection_id":144046,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2f05800012d195300071ff2c8003b01272c..."} 
[2026-07-27 15:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2f05800012d195300071ff2c8003b01272c..."} 
[2026-07-27 15:09:02] local.INFO: Processing buffer {"connection_id":144046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2f05800012d195300071ff2c8003b01272c..."} 
[2026-07-27 15:09:02] local.INFO: Packet analysis {"connection_id":144046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2f0"} 
[2026-07-27 15:09:02] local.INFO: Extracted packet for processing {"connection_id":144046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2f0"} 
[2026-07-27 15:09:02] local.INFO: GPS Element Parsed {"raw_longitude":756634368,"raw_latitude":119534280,"longitude_deg":75.6634368,"latitude_deg":11.953428,"altitude":59,"angle":295,"satellites":44,"speed":5,"hex_longitude":"2d195300","hex_latitude":"071ff2c8","is_valid_coordinates":true} 
[2026-07-27 15:09:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:09:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997141248001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:09:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871774640930816,"note":"Value kept but may cause issues"} 
[2026-07-27 15:09:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825576360801847296,"note":"Value kept but may cause issues"} 
[2026-07-27 15:09:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:09:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785145088000,"timestamp_ms":1785145088000,"timestamp_seconds":1785145088,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2f05800"} 
[2026-07-27 15:09:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:09:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:09:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-07-27 15:09:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:09:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:09:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:09:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:09:02] local.INFO: Teltonika packet parsed successfully {"connection_id":144046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:09:02] local.INFO: Passing IMEI to GPS processor {"connection_id":144046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:09:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":144046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:09:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:09:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:09:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:09:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997141248001,"66":14070,"121":206,"28":31744,"24":5,"16":8871774640930816,"45":1825576360801847296},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 15:09:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:09:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:09:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997141248001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:09:02] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 15:09:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:09:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871774640930816,"km_value":8871774640930.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:09:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825576360801847296,"description":"Unknown IO ID 45"} 
[2026-07-27 15:09:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997141248001,"power":14070,"unknown_121":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1825576360801847296}} 
[2026-07-27 15:09:02] local.INFO: DEBUG: GPS processor result {"connection_id":144046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553687,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:09:02] local.INFO: GPS data processed {"connection_id":144046,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:09:02] local.INFO: Acknowledgment sent {"connection_id":144046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:09:03] local.INFO: TCP Data received {"connection_id":144046,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2f05fd0012d195200071ff360003b01332d..."} 
[2026-07-27 15:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2f05fd0012d195200071ff360003b01332d..."} 
[2026-07-27 15:09:03] local.INFO: Processing buffer {"connection_id":144046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2f05fd0012d195200071ff360003b01332d..."} 
[2026-07-27 15:09:03] local.INFO: Packet analysis {"connection_id":144046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2f0"} 
[2026-07-27 15:09:03] local.INFO: Extracted packet for processing {"connection_id":144046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2f0"} 
[2026-07-27 15:09:03] local.INFO: GPS Element Parsed {"raw_longitude":756634112,"raw_latitude":119534432,"longitude_deg":75.6634112,"latitude_deg":11.9534432,"altitude":59,"angle":307,"satellites":45,"speed":6,"hex_longitude":"2d195200","hex_latitude":"071ff360","is_valid_coordinates":true} 
[2026-07-27 15:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:09:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997142528001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:09:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871787525832704,"note":"Value kept but may cause issues"} 
[2026-07-27 15:09:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824802304615958528,"note":"Value kept but may cause issues"} 
[2026-07-27 15:09:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:09:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785145090000,"timestamp_ms":1785145090000,"timestamp_seconds":1785145090,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2f05fd0"} 
[2026-07-27 15:09:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:09:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-07-27 15:09:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:09:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:09:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:09:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:09:03] local.INFO: Teltonika packet parsed successfully {"connection_id":144046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:09:03] local.INFO: Passing IMEI to GPS processor {"connection_id":144046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:09:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":144046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:09:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:09:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:09:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:09:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997142528001,"66":13993,"121":206,"28":31744,"24":6,"16":8871787525832704,"45":1824802304615958528},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 15:09:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:09:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:09:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997142528001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:09:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 15:09:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:09:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871787525832704,"km_value":8871787525832.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:09:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824802304615958528,"description":"Unknown IO ID 45"} 
[2026-07-27 15:09:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997142528001,"power":13993,"unknown_121":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1824802304615958528}} 
[2026-07-27 15:09:03] local.INFO: DEBUG: GPS processor result {"connection_id":144046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553688,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:09:03] local.INFO: GPS data processed {"connection_id":144046,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:09:03] local.INFO: Acknowledgment sent {"connection_id":144046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:09:09] local.INFO: TCP Data received {"connection_id":144045,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2eed160012d9f3b0005a19860001500bf2a..."} 
[2026-07-27 15:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144045,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2eed160012d9f3b0005a19860001500bf2a..."} 
[2026-07-27 15:09:09] local.INFO: Processing buffer {"connection_id":144045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2eed160012d9f3b0005a19860001500bf2a..."} 
[2026-07-27 15:09:09] local.INFO: Packet analysis {"connection_id":144045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2ee"} 
[2026-07-27 15:09:09] local.INFO: Extracted packet for processing {"connection_id":144045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2ee"} 
[2026-07-27 15:09:09] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":21,"angle":191,"satellites":42,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 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-07-27 15:09:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997039872001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:09:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 15:09:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972979573867126784,"note":"Value kept but may cause issues"} 
[2026-07-27 15:09:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:09:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785144988000,"timestamp_ms":1785144988000,"timestamp_seconds":1785144988,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2eed160"} 
[2026-07-27 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-07-27 15:09:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-27 15:09:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 15:09:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:09:09] local.INFO: Teltonika packet parsed successfully {"connection_id":144045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:09:09] local.INFO: Passing IMEI to GPS processor {"connection_id":144045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:09:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":144045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:09:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:09:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 15:09:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 15:09:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997039872001,"66":25875,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6972979573867126784},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 15:09:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 15:09:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 15:09:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997039872001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:09:09] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 15:09:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 15:09:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:09:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972979573867126784,"description":"Unknown IO ID 45"} 
[2026-07-27 15:09:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997039872001,"power":25875,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6972979573867126784}} 
[2026-07-27 15:09:09] local.INFO: DEBUG: GPS processor result {"connection_id":144045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:09:09] local.INFO: GPS data processed {"connection_id":144045,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:09:09] local.INFO: Acknowledgment sent {"connection_id":144045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:09:31] local.INFO: TCP Data received {"connection_id":145332,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:09:31] local.INFO: Processing buffer {"connection_id":145332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:09:31] local.INFO: IMEI packet received {"connection_id":145332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 15:09:31] local.INFO: IMEI acknowledgment sent {"connection_id":145332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:09:35] local.INFO: TCP Data received {"connection_id":144046,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2f06b88012d195080071ff480003b01402d..."} 
[2026-07-27 15:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2f06b88012d195080071ff480003b01402d..."} 
[2026-07-27 15:09:35] local.INFO: Processing buffer {"connection_id":144046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2f06b88012d195080071ff480003b01402d..."} 
[2026-07-27 15:09:35] local.INFO: Packet analysis {"connection_id":144046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2f0"} 
[2026-07-27 15:09:35] local.INFO: Extracted packet for processing {"connection_id":144046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2f0"} 
[2026-07-27 15:09:35] local.INFO: GPS Element Parsed {"raw_longitude":756633728,"raw_latitude":119534720,"longitude_deg":75.6633728,"latitude_deg":11.953472,"altitude":59,"angle":320,"satellites":45,"speed":6,"hex_longitude":"2d195080","hex_latitude":"071ff480","is_valid_coordinates":true} 
[2026-07-27 15:09:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:09:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997143040001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:09:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8871809000669184,"note":"Value kept but may cause issues"} 
[2026-07-27 15:09:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824520829639286784,"note":"Value kept but may cause issues"} 
[2026-07-27 15:09:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:09:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785145093000,"timestamp_ms":1785145093000,"timestamp_seconds":1785145093,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2f06b88"} 
[2026-07-27 15:09:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:09:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:09:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-27 15:09:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:09:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:09:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:09:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:09:35] local.INFO: Teltonika packet parsed successfully {"connection_id":144046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:09:35] local.INFO: Passing IMEI to GPS processor {"connection_id":144046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:09:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":144046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:09:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:09:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:09:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:09:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997143040001,"66":14026,"121":206,"28":31744,"24":6,"16":8871809000669184,"45":1824520829639286784},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 15:09:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:09:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:09:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997143040001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:09:35] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 15:09:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:09:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8871809000669184,"km_value":8871809000669.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:09:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824520829639286784,"description":"Unknown IO ID 45"} 
[2026-07-27 15:09:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997143040001,"power":14026,"unknown_121":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1824520829639286784}} 
[2026-07-27 15:09:35] local.INFO: DEBUG: GPS processor result {"connection_id":144046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553690,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:09:35] local.INFO: GPS data processed {"connection_id":144046,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:09:35] local.INFO: Acknowledgment sent {"connection_id":144046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:09:37] local.INFO: TCP Data received {"connection_id":145332,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:09:37] local.INFO: Processing buffer {"connection_id":145332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:09:37] local.INFO: IMEI packet received {"connection_id":145332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 15:09:37] local.INFO: IMEI acknowledgment sent {"connection_id":145332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:09:38] local.INFO: TCP Data received {"connection_id":145332,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2eed160012d9f3b0005a19860001500bf2a..."} 
[2026-07-27 15:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2eed160012d9f3b0005a19860001500bf2a..."} 
[2026-07-27 15:09:38] local.INFO: Processing buffer {"connection_id":145332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2eed160012d9f3b0005a19860001500bf2a..."} 
[2026-07-27 15:09:38] local.INFO: Packet analysis {"connection_id":145332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2ee"} 
[2026-07-27 15:09:38] local.INFO: Extracted packet for processing {"connection_id":145332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2ee"} 
[2026-07-27 15:09:38] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":21,"angle":191,"satellites":42,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 15:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:09:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997039872001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:09:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 15:09:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972979573867126784,"note":"Value kept but may cause issues"} 
[2026-07-27 15:09:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:09:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785144988000,"timestamp_ms":1785144988000,"timestamp_seconds":1785144988,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2eed160"} 
[2026-07-27 15:09:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:09:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 15:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-27 15:09:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:09:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:09:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:09:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:09:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:09:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:09:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:09:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:09:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 15:09:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 15:09:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997039872001,"66":25875,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6972979573867126784},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 15:09:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 15:09:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 15:09:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997039872001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:09:38] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 15:09:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 15:09:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:09:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972979573867126784,"description":"Unknown IO ID 45"} 
[2026-07-27 15:09:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997039872001,"power":25875,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6972979573867126784}} 
[2026-07-27 15:09:38] local.INFO: DEBUG: GPS processor result {"connection_id":145332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:09:38] local.INFO: GPS data processed {"connection_id":145332,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:09:38] local.INFO: Acknowledgment sent {"connection_id":145332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:09:59] local.INFO: TCP Data received {"connection_id":142916,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142916,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:09:59] local.INFO: Processing buffer {"connection_id":142916,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:09:59] local.INFO: IMEI packet received {"connection_id":142916,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 15:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":142916,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:10:01] local.INFO: TCP Data received {"connection_id":142916,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142916,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:10:01] local.INFO: Processing buffer {"connection_id":142916,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:10:01] local.INFO: IMEI packet received {"connection_id":142916,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 15:10:01] local.INFO: IMEI acknowledgment sent {"connection_id":142916,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:10:04] local.INFO: TCP Data received {"connection_id":142916,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142916,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:10:04] local.INFO: Processing buffer {"connection_id":142916,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:10:04] local.INFO: IMEI packet received {"connection_id":142916,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 15:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":142916,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:10:05] local.INFO: TCP Data received {"connection_id":142916,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2f132c0012d19590007200af8003f004130..."} 
[2026-07-27 15:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2f132c0012d19590007200af8003f004130..."} 
[2026-07-27 15:10:05] local.INFO: Processing buffer {"connection_id":142916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2f132c0012d19590007200af8003f004130..."} 
[2026-07-27 15:10:05] local.INFO: Packet analysis {"connection_id":142916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2f1"} 
[2026-07-27 15:10:05] local.INFO: Extracted packet for processing {"connection_id":142916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2f1"} 
[2026-07-27 15:10:05] local.INFO: GPS Element Parsed {"raw_longitude":756635904,"raw_latitude":119540472,"longitude_deg":75.6635904,"latitude_deg":11.9540472,"altitude":63,"angle":65,"satellites":48,"speed":7,"hex_longitude":"2d195900","hex_latitude":"07200af8","is_valid_coordinates":true} 
[2026-07-27 15:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:10:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997155840001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:10:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8872152598052864,"note":"Value kept but may cause issues"} 
[2026-07-27 15:10:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825576360803446784,"note":"Value kept but may cause issues"} 
[2026-07-27 15:10:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:10:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785145144000,"timestamp_ms":1785145144000,"timestamp_seconds":1785145144,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2f132c0"} 
[2026-07-27 15:10:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:10: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-07-27 15:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-07-27 15:10:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:10:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:10:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:10:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:10:05] local.INFO: Teltonika packet parsed successfully {"connection_id":142916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:10:05] local.INFO: Passing IMEI to GPS processor {"connection_id":142916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:10:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":142916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:10:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:10:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:10:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:10:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997155840001,"66":13972,"121":206,"28":31744,"24":7,"16":8872152598052864,"45":1825576360803446784},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 15:10:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:10:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:10:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997155840001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:10:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 15:10:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:10:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8872152598052864,"km_value":8872152598052.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:10:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825576360803446784,"description":"Unknown IO ID 45"} 
[2026-07-27 15:10:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997155840001,"power":13972,"unknown_121":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1825576360803446784}} 
[2026-07-27 15:10:05] local.INFO: DEBUG: GPS processor result {"connection_id":142916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553692,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:10:05] local.INFO: GPS data processed {"connection_id":142916,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:10:05] local.INFO: Acknowledgment sent {"connection_id":142916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:10:08] local.INFO: TCP Data received {"connection_id":145333,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145333,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:10:08] local.INFO: Processing buffer {"connection_id":145333,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:10:08] local.INFO: IMEI packet received {"connection_id":145333,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 15:10:08] local.INFO: IMEI acknowledgment sent {"connection_id":145333,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:10:09] local.INFO: TCP Data received {"connection_id":145332,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2eed160012d9f3b0005a19860001500bf2a..."} 
[2026-07-27 15:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2eed160012d9f3b0005a19860001500bf2a..."} 
[2026-07-27 15:10:09] local.INFO: Processing buffer {"connection_id":145332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2eed160012d9f3b0005a19860001500bf2a..."} 
[2026-07-27 15:10:09] local.INFO: Packet analysis {"connection_id":145332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2ee"} 
[2026-07-27 15:10:09] local.INFO: Extracted packet for processing {"connection_id":145332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2ee"} 
[2026-07-27 15:10:09] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":21,"angle":191,"satellites":42,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 15:10:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:10:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997039872001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:10:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 15:10:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972979573867126784,"note":"Value kept but may cause issues"} 
[2026-07-27 15:10:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:10:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785144988000,"timestamp_ms":1785144988000,"timestamp_seconds":1785144988,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2eed160"} 
[2026-07-27 15:10:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:10:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-27 15:10:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:10:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:10:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:10:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:10:09] local.INFO: Teltonika packet parsed successfully {"connection_id":145332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:10:09] local.INFO: Passing IMEI to GPS processor {"connection_id":145332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:10:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":145332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:10:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:10:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 15:10:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 15:10:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997039872001,"66":25875,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6972979573867126784},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 15:10:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 15:10:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 15:10:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997039872001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:10:09] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 15:10:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 15:10:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:10:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972979573867126784,"description":"Unknown IO ID 45"} 
[2026-07-27 15:10:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997039872001,"power":25875,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6972979573867126784}} 
[2026-07-27 15:10:09] local.INFO: DEBUG: GPS processor result {"connection_id":145332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:10:09] local.INFO: GPS data processed {"connection_id":145332,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:10:09] local.INFO: Acknowledgment sent {"connection_id":145332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:10:09] local.INFO: TCP Data received {"connection_id":145333,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145333,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:10:09] local.INFO: Processing buffer {"connection_id":145333,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:10:09] local.INFO: IMEI packet received {"connection_id":145333,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 15:10:09] local.INFO: IMEI acknowledgment sent {"connection_id":145333,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:10:15] local.INFO: TCP Data received {"connection_id":145333,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145333,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:10:15] local.INFO: Processing buffer {"connection_id":145333,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:10:15] local.INFO: IMEI packet received {"connection_id":145333,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 15:10:15] local.INFO: IMEI acknowledgment sent {"connection_id":145333,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:10:18] local.INFO: TCP Data received {"connection_id":145333,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-07-27 15:10:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145333,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-07-27 15:10:18] local.INFO: Processing buffer {"connection_id":145333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-07-27 15:10:18] local.INFO: Packet analysis {"connection_id":145333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-27 15:10:18] local.INFO: Extracted packet for processing {"connection_id":145333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-27 15:10:18] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-27 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-07-27 15:10:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111588262576914432,"note":"Value kept but may cause issues"} 
[2026-07-27 15:10:18] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,197,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-27 15:10:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":47000,"timestamp_seconds":47,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 15:10:18] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:10:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-27 15:10:18] local.INFO: Teltonika packet parsed successfully {"connection_id":145333,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:10:18] local.INFO: Passing IMEI to GPS processor {"connection_id":145333,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-27 15:10:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":145333,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-27 15:10:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-27 15:10:18] local.WARNING: DEBUG: No valid data to process  
[2026-07-27 15:10:18] local.INFO: DEBUG: GPS processor result {"connection_id":145333,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-27 15:10:18] local.ERROR: GPS data processing failed {"connection_id":145333,"error":"No valid data to process"} 
[2026-07-27 15:10:18] local.INFO: Acknowledgment sent {"connection_id":145333,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-27 15:10:32] local.INFO: TCP Data received {"connection_id":142917,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:10:32] local.INFO: Processing buffer {"connection_id":142917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:10:32] local.INFO: IMEI packet received {"connection_id":142917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 15:10:32] local.INFO: IMEI acknowledgment sent {"connection_id":142917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:10:36] local.INFO: TCP Data received {"connection_id":142916,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2f136a8012d19598007200b80003f003230..."} 
[2026-07-27 15:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2f136a8012d19598007200b80003f003230..."} 
[2026-07-27 15:10:36] local.INFO: Processing buffer {"connection_id":142916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2f136a8012d19598007200b80003f003230..."} 
[2026-07-27 15:10:36] local.INFO: Packet analysis {"connection_id":142916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2f1"} 
[2026-07-27 15:10:36] local.INFO: Extracted packet for processing {"connection_id":142916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2f1"} 
[2026-07-27 15:10:36] local.INFO: GPS Element Parsed {"raw_longitude":756636032,"raw_latitude":119540608,"longitude_deg":75.6636032,"latitude_deg":11.9540608,"altitude":63,"angle":50,"satellites":48,"speed":10,"hex_longitude":"2d195980","hex_latitude":"07200b80","is_valid_coordinates":true} 
[2026-07-27 15:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:10:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997156864001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:10:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8872161187987456,"note":"Value kept but may cause issues"} 
[2026-07-27 15:10:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1826491154477807616,"note":"Value kept but may cause issues"} 
[2026-07-27 15:10:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:10:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785145145000,"timestamp_ms":1785145145000,"timestamp_seconds":1785145145,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2f136a8"} 
[2026-07-27 15:10:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:10:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-07-27 15:10:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:10:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:10:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:10:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:10:36] local.INFO: Teltonika packet parsed successfully {"connection_id":142916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:10:36] local.INFO: Passing IMEI to GPS processor {"connection_id":142916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:10:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":142916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:10:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:10:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:10:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:10:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997156864001,"66":13993,"121":206,"28":31744,"24":10,"16":8872161187987456,"45":1826491154477807616},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 15:10:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:10:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:10:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997156864001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:10:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 15:10:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:10:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8872161187987456,"km_value":8872161187987.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:10:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1826491154477807616,"description":"Unknown IO ID 45"} 
[2026-07-27 15:10:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997156864001,"power":13993,"unknown_121":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1826491154477807616}} 
[2026-07-27 15:10:36] local.INFO: DEBUG: GPS processor result {"connection_id":142916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553694,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:10:36] local.INFO: GPS data processed {"connection_id":142916,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:10:36] local.INFO: Acknowledgment sent {"connection_id":142916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:10:37] local.INFO: TCP Data received {"connection_id":142917,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:10:37] local.INFO: Processing buffer {"connection_id":142917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:10:37] local.INFO: IMEI packet received {"connection_id":142917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 15:10:37] local.INFO: IMEI acknowledgment sent {"connection_id":142917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:10:38] local.INFO: TCP Data received {"connection_id":142917,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2eed160012d9f3b0005a19860001500bf2a..."} 
[2026-07-27 15:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142917,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2eed160012d9f3b0005a19860001500bf2a..."} 
[2026-07-27 15:10:38] local.INFO: Processing buffer {"connection_id":142917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2eed160012d9f3b0005a19860001500bf2a..."} 
[2026-07-27 15:10:38] local.INFO: Packet analysis {"connection_id":142917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2ee"} 
[2026-07-27 15:10:38] local.INFO: Extracted packet for processing {"connection_id":142917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2ee"} 
[2026-07-27 15:10:38] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":21,"angle":191,"satellites":42,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 15:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:10:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997039872001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:10:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 15:10:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972979573867126784,"note":"Value kept but may cause issues"} 
[2026-07-27 15:10:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:10:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785144988000,"timestamp_ms":1785144988000,"timestamp_seconds":1785144988,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2eed160"} 
[2026-07-27 15:10:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:10:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 15:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-27 15:10:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:10:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:10:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:10:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:10:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:10:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:10:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:10:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:10:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 15:10:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 15:10:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997039872001,"66":25875,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6972979573867126784},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 15:10:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 15:10:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 15:10:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997039872001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:10:38] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 15:10:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 15:10:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:10:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972979573867126784,"description":"Unknown IO ID 45"} 
[2026-07-27 15:10:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997039872001,"power":25875,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6972979573867126784}} 
[2026-07-27 15:10:38] local.INFO: DEBUG: GPS processor result {"connection_id":142917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:10:38] local.INFO: GPS data processed {"connection_id":142917,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:10:38] local.INFO: Acknowledgment sent {"connection_id":142917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:10:49] local.INFO: TCP Data received {"connection_id":145333,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-07-27 15:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145333,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-07-27 15:10:49] local.INFO: Processing buffer {"connection_id":145333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-07-27 15:10:49] local.INFO: Packet analysis {"connection_id":145333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-27 15:10:49] local.INFO: Extracted packet for processing {"connection_id":145333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-27 15:10:49] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-27 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-07-27 15:10:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111588262576914432,"note":"Value kept but may cause issues"} 
[2026-07-27 15:10:49] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,110,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-27 15:10:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":68000,"timestamp_seconds":68,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 15:10:49] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:10:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-27 15:10:49] local.INFO: Teltonika packet parsed successfully {"connection_id":145333,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:10:49] local.INFO: Passing IMEI to GPS processor {"connection_id":145333,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-27 15:10:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":145333,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-27 15:10:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-27 15:10:49] local.WARNING: DEBUG: No valid data to process  
[2026-07-27 15:10:49] local.INFO: DEBUG: GPS processor result {"connection_id":145333,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-27 15:10:49] local.ERROR: GPS data processing failed {"connection_id":145333,"error":"No valid data to process"} 
[2026-07-27 15:10:49] local.INFO: Acknowledgment sent {"connection_id":145333,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-27 15:10:59] local.INFO: TCP Data received {"connection_id":143065,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143065,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:10:59] local.INFO: Processing buffer {"connection_id":143065,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:10:59] local.INFO: IMEI packet received {"connection_id":143065,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 15:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":143065,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:10:59] local.INFO: TCP Data received {"connection_id":143065,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143065,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:10:59] local.INFO: Processing buffer {"connection_id":143065,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:10:59] local.INFO: IMEI packet received {"connection_id":143065,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 15:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":143065,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:11:05] local.INFO: TCP Data received {"connection_id":143065,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143065,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:11:05] local.INFO: Processing buffer {"connection_id":143065,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:11:05] local.INFO: IMEI packet received {"connection_id":143065,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 15:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":143065,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:11:06] local.INFO: TCP Data received {"connection_id":143065,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2f22cc0012d19630007203150003600472a..."} 
[2026-07-27 15:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2f22cc0012d19630007203150003600472a..."} 
[2026-07-27 15:11:06] local.INFO: Processing buffer {"connection_id":143065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2f22cc0012d19630007203150003600472a..."} 
[2026-07-27 15:11:06] local.INFO: Packet analysis {"connection_id":143065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2f2"} 
[2026-07-27 15:11:06] local.INFO: Extracted packet for processing {"connection_id":143065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2f2"} 
[2026-07-27 15:11:06] local.INFO: GPS Element Parsed {"raw_longitude":756638464,"raw_latitude":119550288,"longitude_deg":75.6638464,"latitude_deg":11.9550288,"altitude":54,"angle":71,"satellites":42,"speed":11,"hex_longitude":"2d196300","hex_latitude":"07203150","is_valid_coordinates":true} 
[2026-07-27 15:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997172480001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8872706648834048,"note":"Value kept but may cause issues"} 
[2026-07-27 15:11:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828672585549801472,"note":"Value kept but may cause issues"} 
[2026-07-27 15:11:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785145208000,"timestamp_ms":1785145208000,"timestamp_seconds":1785145208,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2f22cc0"} 
[2026-07-27 15:11:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:11:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-27 15:11:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:11:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:11:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:11:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997172480001,"66":14189,"121":206,"28":31744,"24":11,"16":8872706648834048,"45":1828672585549801472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 15:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997172480001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:11:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 15:11:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8872706648834048,"km_value":8872706648834.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:11:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828672585549801472,"description":"Unknown IO ID 45"} 
[2026-07-27 15:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997172480001,"power":14189,"unknown_121":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1828672585549801472}} 
[2026-07-27 15:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":143065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553696,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:11:06] local.INFO: GPS data processed {"connection_id":143065,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:11:06] local.INFO: Acknowledgment sent {"connection_id":143065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:11:10] local.INFO: TCP Data received {"connection_id":142917,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2eed160012d9f3b0005a19860001500bf2a..."} 
[2026-07-27 15:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142917,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2eed160012d9f3b0005a19860001500bf2a..."} 
[2026-07-27 15:11:10] local.INFO: Processing buffer {"connection_id":142917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2eed160012d9f3b0005a19860001500bf2a..."} 
[2026-07-27 15:11:10] local.INFO: Packet analysis {"connection_id":142917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2ee"} 
[2026-07-27 15:11:10] local.INFO: Extracted packet for processing {"connection_id":142917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2ee"} 
[2026-07-27 15:11:10] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":21,"angle":191,"satellites":42,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 15:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:11:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997039872001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:11:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 15:11:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972979573867126784,"note":"Value kept but may cause issues"} 
[2026-07-27 15:11:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:11:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785144988000,"timestamp_ms":1785144988000,"timestamp_seconds":1785144988,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2eed160"} 
[2026-07-27 15:11:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:11:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 15:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-27 15:11:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:11:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:11:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:11:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:11:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:11:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:11:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:11:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:11:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 15:11:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 15:11:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997039872001,"66":25875,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6972979573867126784},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 15:11:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 15:11:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 15:11:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997039872001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:11:10] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 15:11:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 15:11:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:11:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972979573867126784,"description":"Unknown IO ID 45"} 
[2026-07-27 15:11:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997039872001,"power":25875,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6972979573867126784}} 
[2026-07-27 15:11:10] local.INFO: DEBUG: GPS processor result {"connection_id":142917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:11:10] local.INFO: GPS data processed {"connection_id":142917,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:11:10] local.INFO: Acknowledgment sent {"connection_id":142917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:11:21] local.INFO: TCP Data received {"connection_id":145333,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2f2d0d00100000000000000000000000000..."} 
[2026-07-27 15:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2f2d0d00100000000000000000000000000..."} 
[2026-07-27 15:11:21] local.INFO: Processing buffer {"connection_id":145333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2f2d0d00100000000000000000000000000..."} 
[2026-07-27 15:11:21] local.INFO: Packet analysis {"connection_id":145333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2f2"} 
[2026-07-27 15:11:21] local.INFO: Extracted packet for processing {"connection_id":145333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2f2"} 
[2026-07-27 15:11:21] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-27 15:11:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:11:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111588262576914432,"note":"Value kept but may cause issues"} 
[2026-07-27 15:11:21] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,110,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-27 15:11:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785145250000,"timestamp_ms":1785145250000,"timestamp_seconds":1785145250,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2f2d0d0"} 
[2026-07-27 15:11:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:11:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:11:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-27 15:11:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:11:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:11:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:11:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:11:21] local.INFO: Teltonika packet parsed successfully {"connection_id":145333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:11:21] local.INFO: Passing IMEI to GPS processor {"connection_id":145333,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 15:11:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":145333,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 15:11:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:11:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 15:11:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 15:11:21] local.INFO: DEBUG: GPS processor result {"connection_id":145333,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-27 15:11:21] local.INFO: GPS data processed {"connection_id":145333,"processed":0,"errors":0,"total":1} 
[2026-07-27 15:11:21] local.INFO: Acknowledgment sent {"connection_id":145333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:11:32] local.INFO: TCP Data received {"connection_id":144047,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:11:32] local.INFO: Processing buffer {"connection_id":144047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:11:32] local.INFO: IMEI packet received {"connection_id":144047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 15:11:32] local.INFO: IMEI acknowledgment sent {"connection_id":144047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:11:37] local.INFO: TCP Data received {"connection_id":144047,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:11:37] local.INFO: Processing buffer {"connection_id":144047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:11:37] local.INFO: IMEI packet received {"connection_id":144047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 15:11:37] local.INFO: IMEI acknowledgment sent {"connection_id":144047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:11:38] local.INFO: TCP Data received {"connection_id":144047,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2eed160012d9f3b0005a19860001500bf2a..."} 
[2026-07-27 15:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2eed160012d9f3b0005a19860001500bf2a..."} 
[2026-07-27 15:11:38] local.INFO: Processing buffer {"connection_id":144047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2eed160012d9f3b0005a19860001500bf2a..."} 
[2026-07-27 15:11:38] local.INFO: Packet analysis {"connection_id":144047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2ee"} 
[2026-07-27 15:11:38] local.INFO: Extracted packet for processing {"connection_id":144047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2ee"} 
[2026-07-27 15:11:38] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":21,"angle":191,"satellites":42,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 15:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:11:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997039872001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:11:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 15:11:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972979573867126784,"note":"Value kept but may cause issues"} 
[2026-07-27 15:11:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:11:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785144988000,"timestamp_ms":1785144988000,"timestamp_seconds":1785144988,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2eed160"} 
[2026-07-27 15:11:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:11:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 15:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-27 15:11:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:11:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:11:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:11:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:11:38] local.INFO: Teltonika packet parsed successfully {"connection_id":144047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:11:38] local.INFO: Passing IMEI to GPS processor {"connection_id":144047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:11:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":144047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:11:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:11:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 15:11:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 15:11:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997039872001,"66":25875,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6972979573867126784},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 15:11:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 15:11:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 15:11:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997039872001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:11:38] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 15:11:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 15:11:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:11:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972979573867126784,"description":"Unknown IO ID 45"} 
[2026-07-27 15:11:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997039872001,"power":25875,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6972979573867126784}} 
[2026-07-27 15:11:38] local.INFO: DEBUG: GPS processor result {"connection_id":144047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:11:38] local.INFO: GPS data processed {"connection_id":144047,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:11:38] local.INFO: Acknowledgment sent {"connection_id":144047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:11:38] local.INFO: TCP Data received {"connection_id":143065,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2f24818012d196b4007203458003400342d..."} 
[2026-07-27 15:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2f24818012d196b4007203458003400342d..."} 
[2026-07-27 15:11:38] local.INFO: Processing buffer {"connection_id":143065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2f24818012d196b4007203458003400342d..."} 
[2026-07-27 15:11:38] local.INFO: Packet analysis {"connection_id":143065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2f2"} 
[2026-07-27 15:11:38] local.INFO: Extracted packet for processing {"connection_id":143065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2f2"} 
[2026-07-27 15:11:38] local.INFO: GPS Element Parsed {"raw_longitude":756640576,"raw_latitude":119551064,"longitude_deg":75.6640576,"latitude_deg":11.9551064,"altitude":52,"angle":52,"satellites":45,"speed":12,"hex_longitude":"2d196b40","hex_latitude":"07203458","is_valid_coordinates":true} 
[2026-07-27 15:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:11:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997173248001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:11:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8872814023016448,"note":"Value kept but may cause issues"} 
[2026-07-27 15:11:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829305904247427072,"note":"Value kept but may cause issues"} 
[2026-07-27 15:11:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:11:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785145215000,"timestamp_ms":1785145215000,"timestamp_seconds":1785145215,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2f24818"} 
[2026-07-27 15:11:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:11:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15: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":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-27 15:11:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:11:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:11:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:11:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:11:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:11:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:11:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:11:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:11:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:11:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:11:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997173248001,"66":14265,"121":206,"28":31744,"24":12,"16":8872814023016448,"45":1829305904247427072},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 15:11:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:11:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:11:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997173248001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:11:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 15:11:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:11:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8872814023016448,"km_value":8872814023016.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:11:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829305904247427072,"description":"Unknown IO ID 45"} 
[2026-07-27 15:11:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997173248001,"power":14265,"unknown_121":206,"unknown_28":31744,"ignition":12,"odometer":null,"unknown_45":1829305904247427072}} 
[2026-07-27 15:11:38] local.INFO: DEBUG: GPS processor result {"connection_id":143065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553699,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:11:38] local.INFO: GPS data processed {"connection_id":143065,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:11:38] local.INFO: Acknowledgment sent {"connection_id":143065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:11:53] local.INFO: TCP Data received {"connection_id":145333,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2f322d80100000000000000000000000000..."} 
[2026-07-27 15:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2f322d80100000000000000000000000000..."} 
[2026-07-27 15:11:53] local.INFO: Processing buffer {"connection_id":145333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2f322d80100000000000000000000000000..."} 
[2026-07-27 15:11:53] local.INFO: Packet analysis {"connection_id":145333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2f3"} 
[2026-07-27 15:11:53] local.INFO: Extracted packet for processing {"connection_id":145333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2f3"} 
[2026-07-27 15:11:53] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-27 15: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-07-27 15:11:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111588262576914432,"note":"Value kept but may cause issues"} 
[2026-07-27 15:11:53] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,110,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-27 15:11:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785145271000,"timestamp_ms":1785145271000,"timestamp_seconds":1785145271,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2f322d8"} 
[2026-07-27 15:11:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:11:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":768,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-27 15:11:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":57983845203968000,"note":"Value kept but may cause issues"} 
[2026-07-27 15:11:53] local.WARNING: Large IO value detected {"io_id":112,"raw_value":4009754624,"note":"Value kept but may cause issues"} 
[2026-07-27 15:11:53] local.INFO: IO Element Parsed {"io_data_count":24,"io_data_keys":[0,110,87,24,241,157,16,112,9,10,66,183,197,27,1,240,18,4,113,205,239,2,43,140],"length":486,"final_offset":616,"validated_count":24,"validation_warnings":[]} 
[2026-07-27 15:11:53] 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-07-27 15:11:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:11:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:11:53] local.INFO: Teltonika packet parsed successfully {"connection_id":145333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:11:53] local.INFO: Passing IMEI to GPS processor {"connection_id":145333,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 15:11:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":145333,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 15:11:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:11:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 15:11:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 15:11:53] local.INFO: DEBUG: GPS processor result {"connection_id":145333,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-27 15:11:53] local.INFO: GPS data processed {"connection_id":145333,"processed":0,"errors":0,"total":1} 
[2026-07-27 15:11:53] local.INFO: Acknowledgment sent {"connection_id":145333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:11:59] local.INFO: TCP Data received {"connection_id":143066,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143066,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:11:59] local.INFO: Processing buffer {"connection_id":143066,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:11:59] local.INFO: IMEI packet received {"connection_id":143066,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 15:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":143066,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:12:04] local.INFO: TCP Data received {"connection_id":143066,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143066,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:12:04] local.INFO: Processing buffer {"connection_id":143066,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:12:04] local.INFO: IMEI packet received {"connection_id":143066,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 15:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":143066,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:12:05] local.INFO: TCP Data received {"connection_id":143066,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2f2d4b8012d196bc0072067d0002a014331..."} 
[2026-07-27 15:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143066,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2f2d4b8012d196bc0072067d0002a014331..."} 
[2026-07-27 15:12:05] local.INFO: Processing buffer {"connection_id":143066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2f2d4b8012d196bc0072067d0002a014331..."} 
[2026-07-27 15:12:05] local.INFO: Packet analysis {"connection_id":143066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2f2"} 
[2026-07-27 15:12:05] local.INFO: Extracted packet for processing {"connection_id":143066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2f2"} 
[2026-07-27 15:12:05] local.INFO: GPS Element Parsed {"raw_longitude":756640704,"raw_latitude":119564240,"longitude_deg":75.6640704,"latitude_deg":11.956424,"altitude":42,"angle":323,"satellites":49,"speed":9,"hex_longitude":"2d196bc0","hex_latitude":"072067d0","is_valid_coordinates":true} 
[2026-07-27 15:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:12:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997183744001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:12:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8873466858045440,"note":"Value kept but may cause issues"} 
[2026-07-27 15:12:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831909547785465856,"note":"Value kept but may cause issues"} 
[2026-07-27 15:12:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:12:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785145251000,"timestamp_ms":1785145251000,"timestamp_seconds":1785145251,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2f2d4b8"} 
[2026-07-27 15:12:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:12:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-27 15:12:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:12:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:12:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:12:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:12:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:12:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143066,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:12:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143066,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:12:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:12:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:12:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:12:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997183744001,"66":14189,"121":206,"28":31744,"24":9,"16":8873466858045440,"45":1831909547785465856},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 15:12:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:12:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:12:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997183744001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:12:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 15:12:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:12:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8873466858045440,"km_value":8873466858045.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:12:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831909547785465856,"description":"Unknown IO ID 45"} 
[2026-07-27 15:12:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997183744001,"power":14189,"unknown_121":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1831909547785465856}} 
[2026-07-27 15:12:05] local.INFO: DEBUG: GPS processor result {"connection_id":143066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553700,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:12:05] local.INFO: GPS data processed {"connection_id":143066,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:12:05] local.INFO: Acknowledgment sent {"connection_id":143066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:12:09] local.INFO: TCP Data received {"connection_id":144047,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2f36928012d9f3b0005a19860001500bf2a..."} 
[2026-07-27 15:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2f36928012d9f3b0005a19860001500bf2a..."} 
[2026-07-27 15:12:09] local.INFO: Processing buffer {"connection_id":144047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2f36928012d9f3b0005a19860001500bf2a..."} 
[2026-07-27 15:12:09] local.INFO: Packet analysis {"connection_id":144047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2f3"} 
[2026-07-27 15:12:09] local.INFO: Extracted packet for processing {"connection_id":144047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2f3"} 
[2026-07-27 15:12:09] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":21,"angle":191,"satellites":42,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 15:12:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:12:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997116928001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:12:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 15:12:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972979573867126784,"note":"Value kept but may cause issues"} 
[2026-07-27 15:12:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:12:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785145289000,"timestamp_ms":1785145289000,"timestamp_seconds":1785145289,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2f36928"} 
[2026-07-27 15:12:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:12:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 15:12:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-27 15:12:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:12:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:12:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:12:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:12:09] local.INFO: Teltonika packet parsed successfully {"connection_id":144047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:12:09] local.INFO: Passing IMEI to GPS processor {"connection_id":144047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:12:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":144047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:12:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:12:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 15:12:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 15:12:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997116928001,"66":25875,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6972979573867126784},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 15:12:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 15:12:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 15:12:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997116928001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:12:09] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 15:12:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 15:12:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:12:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972979573867126784,"description":"Unknown IO ID 45"} 
[2026-07-27 15:12:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997116928001,"power":25875,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6972979573867126784}} 
[2026-07-27 15:12:09] local.INFO: DEBUG: GPS processor result {"connection_id":144047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:12:09] local.INFO: GPS data processed {"connection_id":144047,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:12:09] local.INFO: Acknowledgment sent {"connection_id":144047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:12:24] local.INFO: TCP Data received {"connection_id":145333,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2f374e00100000000000000000000000000..."} 
[2026-07-27 15:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2f374e00100000000000000000000000000..."} 
[2026-07-27 15:12:24] local.INFO: Processing buffer {"connection_id":145333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2f374e00100000000000000000000000000..."} 
[2026-07-27 15:12:24] local.INFO: Packet analysis {"connection_id":145333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2f3"} 
[2026-07-27 15:12:24] local.INFO: Extracted packet for processing {"connection_id":145333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2f3"} 
[2026-07-27 15:12:24] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-27 15: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-07-27 15:12:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111588262576914432,"note":"Value kept but may cause issues"} 
[2026-07-27 15:12:24] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,110,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-27 15:12:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785145292000,"timestamp_ms":1785145292000,"timestamp_seconds":1785145292,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2f374e0"} 
[2026-07-27 15:12:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:12:24] 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-07-27 15: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-27 15:12:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15: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-07-27 15:12:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:12:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:12:24] local.INFO: Teltonika packet parsed successfully {"connection_id":145333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:12:24] local.INFO: Passing IMEI to GPS processor {"connection_id":145333,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 15:12:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":145333,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 15:12:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:12:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 15:12:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 15:12:24] local.INFO: DEBUG: GPS processor result {"connection_id":145333,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-27 15:12:24] local.INFO: GPS data processed {"connection_id":145333,"processed":0,"errors":0,"total":1} 
[2026-07-27 15:12:24] local.INFO: Acknowledgment sent {"connection_id":145333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:12:37] local.INFO: TCP Data received {"connection_id":143067,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:12:37] local.INFO: Processing buffer {"connection_id":143067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:12:37] local.INFO: IMEI packet received {"connection_id":143067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 15:12:37] local.INFO: IMEI acknowledgment sent {"connection_id":143067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:12:37] local.INFO: TCP Data received {"connection_id":143066,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2f30b68012d196500072073e0002e015430..."} 
[2026-07-27 15:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143066,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2f30b68012d196500072073e0002e015430..."} 
[2026-07-27 15:12:37] local.INFO: Processing buffer {"connection_id":143066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2f30b68012d196500072073e0002e015430..."} 
[2026-07-27 15:12:37] local.INFO: Packet analysis {"connection_id":143066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2f3"} 
[2026-07-27 15:12:37] local.INFO: Extracted packet for processing {"connection_id":143066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2f3"} 
[2026-07-27 15:12:37] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119567328,"longitude_deg":75.6638976,"latitude_deg":11.9567328,"altitude":46,"angle":340,"satellites":48,"speed":11,"hex_longitude":"2d196500","hex_latitude":"072073e0","is_valid_coordinates":true} 
[2026-07-27 15:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:12:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997184256001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:12:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8873638656737280,"note":"Value kept but may cause issues"} 
[2026-07-27 15:12:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831768810297217024,"note":"Value kept but may cause issues"} 
[2026-07-27 15:12:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:12:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785145265000,"timestamp_ms":1785145265000,"timestamp_seconds":1785145265,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2f30b68"} 
[2026-07-27 15:12:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:12:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-27 15:12:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:12:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:12:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:12:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:12:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:12:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143066,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:12:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143066,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:12:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:12:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:12:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:12:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997184256001,"66":14298,"121":206,"28":31744,"24":11,"16":8873638656737280,"45":1831768810297217024},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 15:12:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:12:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:12:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997184256001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:12:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 15:12:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:12:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8873638656737280,"km_value":8873638656737.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:12:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831768810297217024,"description":"Unknown IO ID 45"} 
[2026-07-27 15:12:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997184256001,"power":14298,"unknown_121":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1831768810297217024}} 
[2026-07-27 15:12:37] local.INFO: DEBUG: GPS processor result {"connection_id":143066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553702,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:12:37] local.INFO: GPS data processed {"connection_id":143066,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:12:37] local.INFO: Acknowledgment sent {"connection_id":143066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:12:42] local.INFO: TCP Data received {"connection_id":143067,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:12:42] local.INFO: Processing buffer {"connection_id":143067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:12:42] local.INFO: IMEI packet received {"connection_id":143067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 15:12:42] local.INFO: IMEI acknowledgment sent {"connection_id":143067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:12:43] local.INFO: TCP Data received {"connection_id":143067,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2f36928012d9f3b0005a19860001500bf2a..."} 
[2026-07-27 15:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2f36928012d9f3b0005a19860001500bf2a..."} 
[2026-07-27 15:12:43] local.INFO: Processing buffer {"connection_id":143067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2f36928012d9f3b0005a19860001500bf2a..."} 
[2026-07-27 15:12:43] local.INFO: Packet analysis {"connection_id":143067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2f3"} 
[2026-07-27 15:12:43] local.INFO: Extracted packet for processing {"connection_id":143067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2f3"} 
[2026-07-27 15:12:43] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":21,"angle":191,"satellites":42,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 15:12:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:12:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997116928001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:12:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 15:12:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972979573867126784,"note":"Value kept but may cause issues"} 
[2026-07-27 15:12:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:12:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785145289000,"timestamp_ms":1785145289000,"timestamp_seconds":1785145289,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2f36928"} 
[2026-07-27 15:12:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:12:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 15: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-27 15:12:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:12:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:12:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:12:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:12:43] local.INFO: Teltonika packet parsed successfully {"connection_id":143067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:12:43] local.INFO: Passing IMEI to GPS processor {"connection_id":143067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:12:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":143067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:12:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:12:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 15:12:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 15:12:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997116928001,"66":25875,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6972979573867126784},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 15:12:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 15:12:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 15:12:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997116928001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:12:43] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 15:12:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 15:12:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:12:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972979573867126784,"description":"Unknown IO ID 45"} 
[2026-07-27 15:12:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997116928001,"power":25875,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6972979573867126784}} 
[2026-07-27 15:12:43] local.INFO: DEBUG: GPS processor result {"connection_id":143067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:12:43] local.INFO: GPS data processed {"connection_id":143067,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:12:43] local.INFO: Acknowledgment sent {"connection_id":143067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:12:56] local.INFO: TCP Data received {"connection_id":145333,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2f3c6e80100000000000000000000000000..."} 
[2026-07-27 15:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2f3c6e80100000000000000000000000000..."} 
[2026-07-27 15:12:56] local.INFO: Processing buffer {"connection_id":145333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2f3c6e80100000000000000000000000000..."} 
[2026-07-27 15:12:56] local.INFO: Packet analysis {"connection_id":145333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2f3"} 
[2026-07-27 15:12:56] local.INFO: Extracted packet for processing {"connection_id":145333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2f3"} 
[2026-07-27 15:12:56] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-27 15:12:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:12:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111588262576914432,"note":"Value kept but may cause issues"} 
[2026-07-27 15:12:56] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,110,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-27 15:12:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785145313000,"timestamp_ms":1785145313000,"timestamp_seconds":1785145313,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2f3c6e8"} 
[2026-07-27 15:12:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:12:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3328,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:12:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-07-27 15:12:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:12:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:12:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:12:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:12:56] local.INFO: Teltonika packet parsed successfully {"connection_id":145333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:12:56] local.INFO: Passing IMEI to GPS processor {"connection_id":145333,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 15:12:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":145333,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 15:12:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:12:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 15:12:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 15:12:56] local.INFO: DEBUG: GPS processor result {"connection_id":145333,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-27 15:12:56] local.INFO: GPS data processed {"connection_id":145333,"processed":0,"errors":0,"total":1} 
[2026-07-27 15:12:56] local.INFO: Acknowledgment sent {"connection_id":145333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:12:59] local.INFO: TCP Data received {"connection_id":144048,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144048,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:12:59] local.INFO: Processing buffer {"connection_id":144048,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:12:59] local.INFO: IMEI packet received {"connection_id":144048,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 15:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":144048,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:13:05] local.INFO: TCP Data received {"connection_id":144048,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144048,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:13:05] local.INFO: Processing buffer {"connection_id":144048,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:13:05] local.INFO: IMEI packet received {"connection_id":144048,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 15:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":144048,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:13:06] local.INFO: TCP Data received {"connection_id":144048,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2f35d70012d196240072079e0003001502c..."} 
[2026-07-27 15:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144048,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2f35d70012d196240072079e0003001502c..."} 
[2026-07-27 15:13:06] local.INFO: Processing buffer {"connection_id":144048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2f35d70012d196240072079e0003001502c..."} 
[2026-07-27 15:13:06] local.INFO: Packet analysis {"connection_id":144048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2f3"} 
[2026-07-27 15:13:06] local.INFO: Extracted packet for processing {"connection_id":144048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2f3"} 
[2026-07-27 15:13:06] local.INFO: GPS Element Parsed {"raw_longitude":756638272,"raw_latitude":119568864,"longitude_deg":75.6638272,"latitude_deg":11.9568864,"altitude":48,"angle":336,"satellites":44,"speed":0,"hex_longitude":"2d196240","hex_latitude":"072079e0","is_valid_coordinates":true} 
[2026-07-27 15:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:13:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997187840001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:13:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8873720261115904,"note":"Value kept but may cause issues"} 
[2026-07-27 15:13:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854205210624,"note":"Value kept but may cause issues"} 
[2026-07-27 15:13:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:13:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785145286000,"timestamp_ms":1785145286000,"timestamp_seconds":1785145286,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2f35d70"} 
[2026-07-27 15:13:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:13:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-07-27 15:13:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:13:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:13:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:13:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:13:06] local.INFO: Teltonika packet parsed successfully {"connection_id":144048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:13:06] local.INFO: Passing IMEI to GPS processor {"connection_id":144048,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:13:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":144048,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:13:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:13:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:13:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:13:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997187840001,"66":14233,"121":206,"28":31744,"24":0,"16":8873720261115904,"45":1829868854205210624},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 15:13:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:13:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:13:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997187840001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:13:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 15:13:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:13:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8873720261115904,"km_value":8873720261115.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:13:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854205210624,"description":"Unknown IO ID 45"} 
[2026-07-27 15:13:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997187840001,"power":14233,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854205210624}} 
[2026-07-27 15:13:06] local.INFO: DEBUG: GPS processor result {"connection_id":144048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553704,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:13:06] local.INFO: GPS data processed {"connection_id":144048,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:13:06] local.INFO: Acknowledgment sent {"connection_id":144048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:13:14] local.INFO: TCP Data received {"connection_id":143067,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2f36928012d9f3b0005a19860001500bf2a..."} 
[2026-07-27 15:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2f36928012d9f3b0005a19860001500bf2a..."} 
[2026-07-27 15:13:14] local.INFO: Processing buffer {"connection_id":143067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2f36928012d9f3b0005a19860001500bf2a..."} 
[2026-07-27 15:13:14] local.INFO: Packet analysis {"connection_id":143067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2f3"} 
[2026-07-27 15:13:14] local.INFO: Extracted packet for processing {"connection_id":143067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2f3"} 
[2026-07-27 15:13:14] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":21,"angle":191,"satellites":42,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 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-07-27 15:13:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997116928001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:13:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 15:13:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972979573867126784,"note":"Value kept but may cause issues"} 
[2026-07-27 15:13:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:13:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785145289000,"timestamp_ms":1785145289000,"timestamp_seconds":1785145289,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2f36928"} 
[2026-07-27 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-07-27 15:13:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-27 15:13:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 15:13:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:13:14] local.INFO: Teltonika packet parsed successfully {"connection_id":143067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:13:14] local.INFO: Passing IMEI to GPS processor {"connection_id":143067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:13:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":143067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:13:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:13:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 15:13:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 15:13:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997116928001,"66":25875,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6972979573867126784},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 15:13:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 15:13:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 15:13:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997116928001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:13:14] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 15:13:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 15:13:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:13:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972979573867126784,"description":"Unknown IO ID 45"} 
[2026-07-27 15:13:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997116928001,"power":25875,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6972979573867126784}} 
[2026-07-27 15:13:14] local.INFO: DEBUG: GPS processor result {"connection_id":143067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:13:14] local.INFO: GPS data processed {"connection_id":143067,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:13:14] local.INFO: Acknowledgment sent {"connection_id":143067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:13:32] local.INFO: TCP Data received {"connection_id":144049,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:13:32] local.INFO: Processing buffer {"connection_id":144049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:13:32] local.INFO: IMEI packet received {"connection_id":144049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 15:13:32] local.INFO: IMEI acknowledgment sent {"connection_id":144049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:13:37] local.INFO: TCP Data received {"connection_id":144049,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:13:37] local.INFO: Processing buffer {"connection_id":144049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:13:37] local.INFO: IMEI packet received {"connection_id":144049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 15:13:37] local.INFO: IMEI acknowledgment sent {"connection_id":144049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:13:38] local.INFO: TCP Data received {"connection_id":144048,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2f4ad60012d195a400720a0100038001e2b..."} 
[2026-07-27 15:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144048,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2f4ad60012d195a400720a0100038001e2b..."} 
[2026-07-27 15:13:38] local.INFO: Processing buffer {"connection_id":144048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2f4ad60012d195a400720a0100038001e2b..."} 
[2026-07-27 15:13:38] local.INFO: Packet analysis {"connection_id":144048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2f4"} 
[2026-07-27 15:13:38] local.INFO: Extracted packet for processing {"connection_id":144048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2f4"} 
[2026-07-27 15:13:38] local.INFO: GPS Element Parsed {"raw_longitude":756636224,"raw_latitude":119578640,"longitude_deg":75.6636224,"latitude_deg":11.957864,"altitude":56,"angle":30,"satellites":43,"speed":7,"hex_longitude":"2d195a40","hex_latitude":"0720a010","is_valid_coordinates":true} 
[2026-07-27 15:13:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:13:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997214976001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:13:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8874347326341120,"note":"Value kept but may cause issues"} 
[2026-07-27 15:13:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1826631891975895040,"note":"Value kept but may cause issues"} 
[2026-07-27 15:13:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:13:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785145372000,"timestamp_ms":1785145372000,"timestamp_seconds":1785145372,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2f4ad60"} 
[2026-07-27 15:13:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:13:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:13:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-27 15:13:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:13:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:13:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:13:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:13:38] local.INFO: Teltonika packet parsed successfully {"connection_id":144048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:13:38] local.INFO: Passing IMEI to GPS processor {"connection_id":144048,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:13:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":144048,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:13:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:13:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:13:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:13:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997214976001,"66":14211,"121":206,"28":31744,"24":7,"16":8874347326341120,"45":1826631891975895040},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 15:13:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:13:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:13:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997214976001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:13:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 15:13:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:13:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8874347326341120,"km_value":8874347326341.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:13:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1826631891975895040,"description":"Unknown IO ID 45"} 
[2026-07-27 15:13:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997214976001,"power":14211,"unknown_121":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1826631891975895040}} 
[2026-07-27 15:13:38] local.INFO: DEBUG: GPS processor result {"connection_id":144048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553706,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:13:38] local.INFO: GPS data processed {"connection_id":144048,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:13:38] local.INFO: Acknowledgment sent {"connection_id":144048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:13:38] local.INFO: TCP Data received {"connection_id":144049,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2f36928012d9f3b0005a19860001500bf2a..."} 
[2026-07-27 15:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2f36928012d9f3b0005a19860001500bf2a..."} 
[2026-07-27 15:13:38] local.INFO: Processing buffer {"connection_id":144049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2f36928012d9f3b0005a19860001500bf2a..."} 
[2026-07-27 15:13:38] local.INFO: Packet analysis {"connection_id":144049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2f3"} 
[2026-07-27 15:13:38] local.INFO: Extracted packet for processing {"connection_id":144049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2f3"} 
[2026-07-27 15:13:38] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":21,"angle":191,"satellites":42,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 15:13:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:13:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997116928001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:13:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 15:13:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972979573867126784,"note":"Value kept but may cause issues"} 
[2026-07-27 15:13:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:13:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785145289000,"timestamp_ms":1785145289000,"timestamp_seconds":1785145289,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2f36928"} 
[2026-07-27 15:13:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:13:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 15:13:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-27 15:13:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:13:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:13:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:13:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:13:38] local.INFO: Teltonika packet parsed successfully {"connection_id":144049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:13:38] local.INFO: Passing IMEI to GPS processor {"connection_id":144049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:13:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":144049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:13:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:13:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 15:13:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 15:13:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997116928001,"66":25875,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6972979573867126784},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 15:13:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 15:13:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 15:13:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997116928001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:13:38] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 15:13:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 15:13:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:13:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972979573867126784,"description":"Unknown IO ID 45"} 
[2026-07-27 15:13:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997116928001,"power":25875,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6972979573867126784}} 
[2026-07-27 15:13:38] local.INFO: DEBUG: GPS processor result {"connection_id":144049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:13:38] local.INFO: GPS data processed {"connection_id":144049,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:13:38] local.INFO: Acknowledgment sent {"connection_id":144049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:13:41] local.INFO: TCP Data received {"connection_id":144050,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 15:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144050,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 15:13:41] local.INFO: Processing buffer {"connection_id":144050,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 15:13:41] local.INFO: IMEI packet received {"connection_id":144050,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 15:13:41] local.INFO: IMEI acknowledgment sent {"connection_id":144050,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:13:42] local.INFO: TCP Data received {"connection_id":145333,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2f40950012d7c6d0005ec36a8001a010b09..."} 
[2026-07-27 15:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2f40950012d7c6d0005ec36a8001a010b09..."} 
[2026-07-27 15:13:42] local.INFO: Processing buffer {"connection_id":145333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2f40950012d7c6d0005ec36a8001a010b09..."} 
[2026-07-27 15:13:42] local.INFO: Packet analysis {"connection_id":145333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2f4"} 
[2026-07-27 15:13:42] local.INFO: Extracted packet for processing {"connection_id":145333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2f4"} 
[2026-07-27 15:13:42] local.INFO: GPS Element Parsed {"raw_longitude":763129088,"raw_latitude":99366568,"longitude_deg":76.3129088,"latitude_deg":9.9366568,"altitude":26,"angle":267,"satellites":9,"speed":20,"hex_longitude":"2d7c6d00","hex_latitude":"05ec36a8","is_valid_coordinates":true} 
[2026-07-27 15:13:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:13:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111588262576914432,"note":"Value kept but may cause issues"} 
[2026-07-27 15:13:42] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,198,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-27 15:13:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785145330000,"timestamp_ms":1785145330000,"timestamp_seconds":1785145330,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2f40950"} 
[2026-07-27 15:13:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:13:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4352,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-07-27 15:13:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:13:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:13:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:13:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:13:42] local.INFO: Teltonika packet parsed successfully {"connection_id":145333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:13:42] local.INFO: Passing IMEI to GPS processor {"connection_id":145333,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 15:13:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":145333,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 15:13:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:13:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 15:13:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 15:13:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":13450,"198":206,"87":13824,"24":20,"16":111588262576914432},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16]} 
[2026-07-27 15:13:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 15:13:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 15:13:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-07-27 15:13:42] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-27 15:13:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 15:13:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111588262576914432,"km_value":111588262576914.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:13:42] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":13450,"unknown_198":206,"unknown_87":13824,"ignition":20,"odometer":null}} 
[2026-07-27 15:13:43] local.INFO: DEBUG: GPS processor result {"connection_id":145333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553708,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:13:43] local.INFO: GPS data processed {"connection_id":145333,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:13:43] local.INFO: Acknowledgment sent {"connection_id":145333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:13:59] local.INFO: TCP Data received {"connection_id":142918,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142918,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:13:59] local.INFO: Processing buffer {"connection_id":142918,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:13:59] local.INFO: IMEI packet received {"connection_id":142918,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 15:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":142918,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:14:02] local.INFO: TCP Data received {"connection_id":142918,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142918,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:14:02] local.INFO: Processing buffer {"connection_id":142918,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:14:02] local.INFO: IMEI packet received {"connection_id":142918,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 15:14:02] local.INFO: IMEI acknowledgment sent {"connection_id":142918,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:14:05] local.INFO: TCP Data received {"connection_id":142918,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142918,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:14:05] local.INFO: Processing buffer {"connection_id":142918,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:14:05] local.INFO: IMEI packet received {"connection_id":142918,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 15:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":142918,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:14:06] local.INFO: TCP Data received {"connection_id":142918,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2f4b148012d195a400720a0e80038000c2b..."} 
[2026-07-27 15:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2f4b148012d195a400720a0e80038000c2b..."} 
[2026-07-27 15:14:06] local.INFO: Processing buffer {"connection_id":142918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2f4b148012d195a400720a0e80038000c2b..."} 
[2026-07-27 15:14:06] local.INFO: Packet analysis {"connection_id":142918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2f4"} 
[2026-07-27 15:14:06] local.INFO: Extracted packet for processing {"connection_id":142918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2f4"} 
[2026-07-27 15:14:06] local.INFO: GPS Element Parsed {"raw_longitude":756636224,"raw_latitude":119578856,"longitude_deg":75.6636224,"latitude_deg":11.9578856,"altitude":56,"angle":12,"satellites":43,"speed":8,"hex_longitude":"2d195a40","hex_latitude":"0720a0e8","is_valid_coordinates":true} 
[2026-07-27 15:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997215232001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8874360211243008,"note":"Value kept but may cause issues"} 
[2026-07-27 15:14:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1826842998208466944,"note":"Value kept but may cause issues"} 
[2026-07-27 15:14:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785145373000,"timestamp_ms":1785145373000,"timestamp_seconds":1785145373,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2f4b148"} 
[2026-07-27 15:14:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:14:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-27 15:14:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:14:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:14:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":142918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":142918,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":142918,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:14:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997215232001,"66":13472,"121":206,"28":31744,"24":8,"16":8874360211243008,"45":1826842998208466944},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 15:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997215232001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:14:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 15:14:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8874360211243008,"km_value":8874360211243.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:14:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1826842998208466944,"description":"Unknown IO ID 45"} 
[2026-07-27 15:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997215232001,"power":13472,"unknown_121":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1826842998208466944}} 
[2026-07-27 15:14:07] local.INFO: DEBUG: GPS processor result {"connection_id":142918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553709,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:14:07] local.INFO: GPS data processed {"connection_id":142918,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:14:07] local.INFO: Acknowledgment sent {"connection_id":142918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:14:09] local.INFO: TCP Data received {"connection_id":144049,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2f36928012d9f3b0005a19860001500bf2a..."} 
[2026-07-27 15:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2f36928012d9f3b0005a19860001500bf2a..."} 
[2026-07-27 15:14:09] local.INFO: Processing buffer {"connection_id":144049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2f36928012d9f3b0005a19860001500bf2a..."} 
[2026-07-27 15:14:09] local.INFO: Packet analysis {"connection_id":144049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2f3"} 
[2026-07-27 15:14:09] local.INFO: Extracted packet for processing {"connection_id":144049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2f3"} 
[2026-07-27 15:14:09] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":21,"angle":191,"satellites":42,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 15:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:14:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997116928001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:14:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 15:14:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972979573867126784,"note":"Value kept but may cause issues"} 
[2026-07-27 15:14:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:14:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785145289000,"timestamp_ms":1785145289000,"timestamp_seconds":1785145289,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2f36928"} 
[2026-07-27 15:14:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:14:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-27 15:14:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:14:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:14:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:14:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:14:09] local.INFO: Teltonika packet parsed successfully {"connection_id":144049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:14:09] local.INFO: Passing IMEI to GPS processor {"connection_id":144049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:14:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":144049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:14:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:14:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 15:14:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 15:14:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997116928001,"66":25875,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6972979573867126784},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 15:14:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 15:14:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 15:14:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997116928001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:14:09] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 15:14:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 15:14:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:14:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972979573867126784,"description":"Unknown IO ID 45"} 
[2026-07-27 15:14:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997116928001,"power":25875,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6972979573867126784}} 
[2026-07-27 15:14:09] local.INFO: DEBUG: GPS processor result {"connection_id":144049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:14:09] local.INFO: GPS data processed {"connection_id":144049,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:14:09] local.INFO: Acknowledgment sent {"connection_id":144049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:14:17] local.INFO: TCP Data received {"connection_id":145333,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2f41508012d7c664005ec3638001b010b09..."} 
[2026-07-27 15:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2f41508012d7c664005ec3638001b010b09..."} 
[2026-07-27 15:14:17] local.INFO: Processing buffer {"connection_id":145333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2f41508012d7c664005ec3638001b010b09..."} 
[2026-07-27 15:14:17] local.INFO: Packet analysis {"connection_id":145333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2f4"} 
[2026-07-27 15:14:17] local.INFO: Extracted packet for processing {"connection_id":145333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2f4"} 
[2026-07-27 15:14:17] local.INFO: GPS Element Parsed {"raw_longitude":763127360,"raw_latitude":99366456,"longitude_deg":76.312736,"latitude_deg":9.9366456,"altitude":27,"angle":267,"satellites":9,"speed":24,"hex_longitude":"2d7c6640","hex_latitude":"05ec3638","is_valid_coordinates":true} 
[2026-07-27 15: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-07-27 15:14:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997204480001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:14:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111588344181293056,"note":"Value kept but may cause issues"} 
[2026-07-27 15:14:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8965822458602366976,"note":"Value kept but may cause issues"} 
[2026-07-27 15:14:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:14:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785145333000,"timestamp_ms":1785145333000,"timestamp_seconds":1785145333,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2f41508"} 
[2026-07-27 15:14:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:14:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5120,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:14:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-07-27 15:14:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15: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-07-27 15:14:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:14:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:14:17] local.INFO: Teltonika packet parsed successfully {"connection_id":145333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:14:17] local.INFO: Passing IMEI to GPS processor {"connection_id":145333,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 15:14:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":145333,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 15:14:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:14:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 15:14:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 15:14:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997204480001,"66":13363,"198":206,"87":13824,"24":24,"16":111588344181293056,"45":8965822458602366976},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-07-27 15:14:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 15:14:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 15:14:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997204480001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:14:17] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-27 15:14:17] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 15:14:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111588344181293056,"km_value":111588344181293.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:14:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8965822458602366976,"description":"Unknown IO ID 45"} 
[2026-07-27 15:14:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997204480001,"power":13363,"unknown_198":206,"unknown_87":13824,"ignition":24,"odometer":null,"unknown_45":8965822458602366976}} 
[2026-07-27 15:14:17] local.INFO: DEBUG: GPS processor result {"connection_id":145333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553711,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:14:17] local.INFO: GPS data processed {"connection_id":145333,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:14:17] local.INFO: Acknowledgment sent {"connection_id":145333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:14:32] local.INFO: TCP Data received {"connection_id":143068,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:14:32] local.INFO: Processing buffer {"connection_id":143068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:14:32] local.INFO: IMEI packet received {"connection_id":143068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 15:14:32] local.INFO: IMEI acknowledgment sent {"connection_id":143068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:14:37] local.INFO: TCP Data received {"connection_id":143068,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:14:37] local.INFO: Processing buffer {"connection_id":143068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:14:37] local.INFO: IMEI packet received {"connection_id":143068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 15:14:37] local.INFO: IMEI acknowledgment sent {"connection_id":143068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:14:38] local.INFO: TCP Data received {"connection_id":142918,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2f4c4d0012d195b000720a6e0003600002a..."} 
[2026-07-27 15:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2f4c4d0012d195b000720a6e0003600002a..."} 
[2026-07-27 15:14:38] local.INFO: Processing buffer {"connection_id":142918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2f4c4d0012d195b000720a6e0003600002a..."} 
[2026-07-27 15:14:38] local.INFO: Packet analysis {"connection_id":142918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2f4"} 
[2026-07-27 15:14:38] local.INFO: Extracted packet for processing {"connection_id":142918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2f4"} 
[2026-07-27 15:14:38] local.INFO: GPS Element Parsed {"raw_longitude":756636416,"raw_latitude":119580384,"longitude_deg":75.6636416,"latitude_deg":11.9580384,"altitude":54,"angle":0,"satellites":42,"speed":9,"hex_longitude":"2d195b00","hex_latitude":"0720a6e0","is_valid_coordinates":true} 
[2026-07-27 15:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:14:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997215488001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:14:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8874433225687040,"note":"Value kept but may cause issues"} 
[2026-07-27 15:14:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1826842998208522240,"note":"Value kept but may cause issues"} 
[2026-07-27 15:14:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:14:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785145378000,"timestamp_ms":1785145378000,"timestamp_seconds":1785145378,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2f4c4d0"} 
[2026-07-27 15:14:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:14:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-07-27 15:14:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:14:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:14:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:14:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:14:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:14:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142918,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:14:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142918,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:14:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:14:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:14:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:14:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997215488001,"66":14243,"121":206,"28":31744,"24":9,"16":8874433225687040,"45":1826842998208522240},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 15:14:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:14:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:14:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997215488001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:14:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 15:14:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:14:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8874433225687040,"km_value":8874433225687.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:14:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1826842998208522240,"description":"Unknown IO ID 45"} 
[2026-07-27 15:14:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997215488001,"power":14243,"unknown_121":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1826842998208522240}} 
[2026-07-27 15:14:38] local.INFO: DEBUG: GPS processor result {"connection_id":142918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553712,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:14:38] local.INFO: GPS data processed {"connection_id":142918,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:14:38] local.INFO: Acknowledgment sent {"connection_id":142918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:14:43] local.INFO: TCP Data received {"connection_id":143068,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2f36928012d9f3b0005a19860001500bf2a..."} 
[2026-07-27 15:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143068,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2f36928012d9f3b0005a19860001500bf2a..."} 
[2026-07-27 15:14:43] local.INFO: Processing buffer {"connection_id":143068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2f36928012d9f3b0005a19860001500bf2a..."} 
[2026-07-27 15:14:43] local.INFO: Packet analysis {"connection_id":143068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2f3"} 
[2026-07-27 15:14:43] local.INFO: Extracted packet for processing {"connection_id":143068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2f3"} 
[2026-07-27 15:14:43] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":21,"angle":191,"satellites":42,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 15:14:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:14:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997116928001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:14:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 15:14:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972979573867126784,"note":"Value kept but may cause issues"} 
[2026-07-27 15:14:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:14:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785145289000,"timestamp_ms":1785145289000,"timestamp_seconds":1785145289,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2f36928"} 
[2026-07-27 15:14:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:14:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 15:14:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-27 15:14:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:14:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:14:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:14:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:14:43] local.INFO: Teltonika packet parsed successfully {"connection_id":143068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:14:43] local.INFO: Passing IMEI to GPS processor {"connection_id":143068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:14:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":143068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:14:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:14:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 15:14:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 15:14:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997116928001,"66":25875,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6972979573867126784},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 15:14:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 15:14:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 15:14:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997116928001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:14:43] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 15:14:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 15:14:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:14:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972979573867126784,"description":"Unknown IO ID 45"} 
[2026-07-27 15:14:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997116928001,"power":25875,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6972979573867126784}} 
[2026-07-27 15:14:43] local.INFO: DEBUG: GPS processor result {"connection_id":143068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:14:43] local.INFO: GPS data processed {"connection_id":143068,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:14:43] local.INFO: Acknowledgment sent {"connection_id":143068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:14:48] local.INFO: TCP Data received {"connection_id":144051,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144051,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:14:48] local.INFO: Processing buffer {"connection_id":144051,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:14:48] local.INFO: IMEI packet received {"connection_id":144051,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 15:14:48] local.INFO: IMEI acknowledgment sent {"connection_id":144051,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:14:53] local.INFO: TCP Data received {"connection_id":144051,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144051,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:14:53] local.INFO: Processing buffer {"connection_id":144051,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:14:53] local.INFO: IMEI packet received {"connection_id":144051,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 15:14:53] local.INFO: IMEI acknowledgment sent {"connection_id":144051,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:14:54] local.INFO: TCP Data received {"connection_id":144051,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2f443e8012d7c3fc005ec3450001c010c0d..."} 
[2026-07-27 15:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144051,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2f443e8012d7c3fc005ec3450001c010c0d..."} 
[2026-07-27 15:14:54] local.INFO: Processing buffer {"connection_id":144051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2f443e8012d7c3fc005ec3450001c010c0d..."} 
[2026-07-27 15:14:54] local.INFO: Packet analysis {"connection_id":144051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2f4"} 
[2026-07-27 15:14:54] local.INFO: Extracted packet for processing {"connection_id":144051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2f4"} 
[2026-07-27 15:14:54] local.INFO: GPS Element Parsed {"raw_longitude":763117504,"raw_latitude":99365968,"longitude_deg":76.3117504,"latitude_deg":9.9365968,"altitude":28,"angle":268,"satellites":13,"speed":37,"hex_longitude":"2d7c3fc0","hex_latitude":"05ec3450","is_valid_coordinates":true} 
[2026-07-27 15:14:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:14:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997205248001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:14:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111588816627695616,"note":"Value kept but may cause issues"} 
[2026-07-27 15:14:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8963922502509541376,"note":"Value kept but may cause issues"} 
[2026-07-27 15:14:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:14:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785145345000,"timestamp_ms":1785145345000,"timestamp_seconds":1785145345,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2f443e8"} 
[2026-07-27 15:14:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:14:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5120,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:14:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-27 15:14:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:14:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:14:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:14:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:14:54] local.INFO: Teltonika packet parsed successfully {"connection_id":144051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:14:54] local.INFO: Passing IMEI to GPS processor {"connection_id":144051,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 15:14:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":144051,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 15:14:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:14:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 15:14:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 15:14:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997205248001,"66":13406,"198":206,"87":13824,"24":37,"16":111588816627695616,"45":8963922502509541376},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-07-27 15:14:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 15:14:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 15:14:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997205248001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:14:54] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-27 15:14:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 15:14:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111588816627695616,"km_value":111588816627695.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:14:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8963922502509541376,"description":"Unknown IO ID 45"} 
[2026-07-27 15:14:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997205248001,"power":13406,"unknown_198":206,"unknown_87":13824,"ignition":37,"odometer":null,"unknown_45":8963922502509541376}} 
[2026-07-27 15:14:54] local.INFO: DEBUG: GPS processor result {"connection_id":144051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553714,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:14:54] local.INFO: GPS data processed {"connection_id":144051,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:14:54] local.INFO: Acknowledgment sent {"connection_id":144051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:14:59] local.INFO: TCP Data received {"connection_id":142919,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142919,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:14:59] local.INFO: Processing buffer {"connection_id":142919,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:14:59] local.INFO: IMEI packet received {"connection_id":142919,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 15:14:59] local.INFO: IMEI acknowledgment sent {"connection_id":142919,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:15:02] local.INFO: TCP Data received {"connection_id":142919,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142919,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:15:02] local.INFO: Processing buffer {"connection_id":142919,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:15:02] local.INFO: IMEI packet received {"connection_id":142919,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 15:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":142919,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:15:04] local.INFO: TCP Data received {"connection_id":142919,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142919,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:15:04] local.INFO: Processing buffer {"connection_id":142919,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:15:04] local.INFO: IMEI packet received {"connection_id":142919,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 15:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":142919,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:15:04] local.INFO: TCP Data received {"connection_id":142919,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142919,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:15:04] local.INFO: Processing buffer {"connection_id":142919,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:15:04] local.INFO: IMEI packet received {"connection_id":142919,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 15:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":142919,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:15:10] local.INFO: TCP Data received {"connection_id":142919,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2f5b318012d18d6800720ffc8003f014e2b..."} 
[2026-07-27 15:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2f5b318012d18d6800720ffc8003f014e2b..."} 
[2026-07-27 15:15:10] local.INFO: Processing buffer {"connection_id":142919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2f5b318012d18d6800720ffc8003f014e2b..."} 
[2026-07-27 15:15:10] local.INFO: Packet analysis {"connection_id":142919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2f5"} 
[2026-07-27 15:15:10] local.INFO: Extracted packet for processing {"connection_id":142919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2f5"} 
[2026-07-27 15:15:10] local.INFO: GPS Element Parsed {"raw_longitude":756602496,"raw_latitude":119603144,"longitude_deg":75.6602496,"latitude_deg":11.9603144,"altitude":63,"angle":334,"satellites":43,"speed":31,"hex_longitude":"2d18d680","hex_latitude":"0720ffc8","is_valid_coordinates":true} 
[2026-07-27 15:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:15:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997231104001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:15:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8876477630119936,"note":"Value kept but may cause issues"} 
[2026-07-27 15:15:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1792573419799537664,"note":"Value kept but may cause issues"} 
[2026-07-27 15:15:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:15:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785145439000,"timestamp_ms":1785145439000,"timestamp_seconds":1785145439,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2f5b318"} 
[2026-07-27 15:15:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:15:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15: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":5,"data_length":795,"current_offset":136} 
[2026-07-27 15:15:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6973224191,"note":"Value kept but may cause issues"} 
[2026-07-27 15:15:10] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503735045783552,"note":"Value kept but may cause issues"} 
[2026-07-27 15:15:10] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2733970160,"note":"Value kept but may cause issues"} 
[2026-07-27 15:15:10] local.WARNING: Large IO value detected {"io_id":57,"raw_value":3221692596,"note":"Value kept but may cause issues"} 
[2026-07-27 15:15:10] local.WARNING: Large IO value detected {"io_id":162,"raw_value":4113195009,"note":"Value kept but may cause issues"} 
[2026-07-27 15:15:10] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-27 15:15:10] local.WARNING: Large IO value detected {"io_id":30,"raw_value":2818649369,"note":"Value kept but may cause issues"} 
[2026-07-27 15:15:10] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3288387047,"note":"Value kept but may cause issues"} 
[2026-07-27 15:15:10] local.WARNING: Large IO value detected {"io_id":104,"raw_value":84751796157227178,"note":"Value kept but may cause issues"} 
[2026-07-27 15:15:10] local.WARNING: Large IO value detected {"io_id":184,"raw_value":14074956493100288,"note":"Value kept but may cause issues"} 
[2026-07-27 15:15:10] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,121,28,24,241,158,16,136,159,128,45,225,58,46,10,66,116,192,217,57,77,64,1,240,5,162,32,4,113,205,36,30,239,55,2,31,7,50,206,104,184],"length":529,"final_offset":659,"validated_count":41,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-07-27 15:15:10] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467918473596239872,"timestamp_seconds":4467918473596240.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 15:15:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:15:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:15:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:15:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142919,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:15:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142919,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:15:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:15:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:15:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:15:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997231104001,"66":14341,"121":206,"28":31744,"24":31,"16":8876477630119936,"45":1792573419799537664},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 15:15:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:15:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:15:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997231104001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:15:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 15:15:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:15:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8876477630119936,"km_value":8876477630119.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:15:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1792573419799537664,"description":"Unknown IO ID 45"} 
[2026-07-27 15:15:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997231104001,"power":14341,"unknown_121":206,"unknown_28":31744,"ignition":31,"odometer":null,"unknown_45":1792573419799537664}} 
[2026-07-27 15:15:10] local.INFO: DEBUG: GPS processor result {"connection_id":142919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553715,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:15:10] local.INFO: GPS data processed {"connection_id":142919,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:15:10] local.INFO: Acknowledgment sent {"connection_id":142919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:15:14] local.INFO: TCP Data received {"connection_id":143068,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2f36928012d9f3b0005a19860001500bf2a..."} 
[2026-07-27 15:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143068,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2f36928012d9f3b0005a19860001500bf2a..."} 
[2026-07-27 15:15:14] local.INFO: Processing buffer {"connection_id":143068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2f36928012d9f3b0005a19860001500bf2a..."} 
[2026-07-27 15:15:14] local.INFO: Packet analysis {"connection_id":143068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2f3"} 
[2026-07-27 15:15:14] local.INFO: Extracted packet for processing {"connection_id":143068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2f3"} 
[2026-07-27 15:15:14] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":21,"angle":191,"satellites":42,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 15:15:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:15:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997116928001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:15:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 15:15:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972979573867126784,"note":"Value kept but may cause issues"} 
[2026-07-27 15:15:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:15:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785145289000,"timestamp_ms":1785145289000,"timestamp_seconds":1785145289,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2f36928"} 
[2026-07-27 15:15:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:15:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 15: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-27 15:15:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:15:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:15:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:15:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:15:14] local.INFO: Teltonika packet parsed successfully {"connection_id":143068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:15:14] local.INFO: Passing IMEI to GPS processor {"connection_id":143068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:15:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":143068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:15:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:15:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 15:15:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 15:15:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997116928001,"66":25875,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6972979573867126784},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 15:15:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 15:15:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 15:15:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997116928001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:15:14] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 15:15:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 15:15:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:15:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972979573867126784,"description":"Unknown IO ID 45"} 
[2026-07-27 15:15:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997116928001,"power":25875,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6972979573867126784}} 
[2026-07-27 15:15:14] local.INFO: DEBUG: GPS processor result {"connection_id":143068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:15:14] local.INFO: GPS data processed {"connection_id":143068,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:15:14] local.INFO: Acknowledgment sent {"connection_id":143068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:15:25] local.INFO: TCP Data received {"connection_id":144051,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2f68dd8012d7aac4005ebb1f0001100f91a..."} 
[2026-07-27 15:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144051,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2f68dd8012d7aac4005ebb1f0001100f91a..."} 
[2026-07-27 15:15:25] local.INFO: Processing buffer {"connection_id":144051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2f68dd8012d7aac4005ebb1f0001100f91a..."} 
[2026-07-27 15:15:25] local.INFO: Packet analysis {"connection_id":144051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2f6"} 
[2026-07-27 15:15:25] local.INFO: Extracted packet for processing {"connection_id":144051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2f6"} 
[2026-07-27 15:15:25] local.INFO: GPS Element Parsed {"raw_longitude":763014208,"raw_latitude":99332592,"longitude_deg":76.3014208,"latitude_deg":9.9332592,"altitude":17,"angle":249,"satellites":26,"speed":35,"hex_longitude":"2d7aac40","hex_latitude":"05ebb1f0","is_valid_coordinates":true} 
[2026-07-27 15:15:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:15:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997244416001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:15:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111594060782764032,"note":"Value kept but may cause issues"} 
[2026-07-27 15:15:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8849080712003897344,"note":"Value kept but may cause issues"} 
[2026-07-27 15:15:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:15:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785145495000,"timestamp_ms":1785145495000,"timestamp_seconds":1785145495,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2f68dd8"} 
[2026-07-27 15:15:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:15:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9984,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:15:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-07-27 15:15:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:15:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:15:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:15:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:15:25] local.INFO: Teltonika packet parsed successfully {"connection_id":144051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:15:25] local.INFO: Passing IMEI to GPS processor {"connection_id":144051,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 15:15:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":144051,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 15:15:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:15:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 15:15:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 15:15:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997244416001,"66":13363,"156":206,"87":13824,"24":35,"16":111594060782764032,"45":8849080712003897344},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-07-27 15:15:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 15:15:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 15:15:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997244416001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:15:25] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-27 15:15:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 15:15:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111594060782764032,"km_value":111594060782764.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:15:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8849080712003897344,"description":"Unknown IO ID 45"} 
[2026-07-27 15:15:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997244416001,"power":13363,"unknown_156":206,"unknown_87":13824,"ignition":35,"odometer":null,"unknown_45":8849080712003897344}} 
[2026-07-27 15:15:25] local.INFO: DEBUG: GPS processor result {"connection_id":144051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553717,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:15:25] local.INFO: GPS data processed {"connection_id":144051,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:15:25] local.INFO: Acknowledgment sent {"connection_id":144051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:15:31] local.INFO: TCP Data received {"connection_id":145334,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:15:31] local.INFO: Processing buffer {"connection_id":145334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:15:31] local.INFO: IMEI packet received {"connection_id":145334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 15:15:31] local.INFO: IMEI acknowledgment sent {"connection_id":145334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:15:37] local.INFO: TCP Data received {"connection_id":145334,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:15:37] local.INFO: Processing buffer {"connection_id":145334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:15:37] local.INFO: IMEI packet received {"connection_id":145334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 15:15:37] local.INFO: IMEI acknowledgment sent {"connection_id":145334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:15:38] local.INFO: TCP Data received {"connection_id":145334,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2f36928012d9f3b0005a19860001500bf2a..."} 
[2026-07-27 15:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145334,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2f36928012d9f3b0005a19860001500bf2a..."} 
[2026-07-27 15:15:38] local.INFO: Processing buffer {"connection_id":145334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2f36928012d9f3b0005a19860001500bf2a..."} 
[2026-07-27 15:15:38] local.INFO: Packet analysis {"connection_id":145334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2f3"} 
[2026-07-27 15:15:38] local.INFO: Extracted packet for processing {"connection_id":145334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2f3"} 
[2026-07-27 15:15:38] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":21,"angle":191,"satellites":42,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 15:15:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:15:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997116928001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:15:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 15:15:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972979573867126784,"note":"Value kept but may cause issues"} 
[2026-07-27 15:15:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:15:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785145289000,"timestamp_ms":1785145289000,"timestamp_seconds":1785145289,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2f36928"} 
[2026-07-27 15:15:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:15:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 15:15:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-27 15:15:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:15:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:15:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:15:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:15:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:15:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:15:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:15:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:15:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 15:15:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 15:15:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997116928001,"66":25875,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6972979573867126784},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 15:15:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 15:15:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 15:15:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997116928001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:15:38] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 15:15:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 15:15:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:15:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972979573867126784,"description":"Unknown IO ID 45"} 
[2026-07-27 15:15:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997116928001,"power":25875,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6972979573867126784}} 
[2026-07-27 15:15:38] local.INFO: DEBUG: GPS processor result {"connection_id":145334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:15:38] local.INFO: GPS data processed {"connection_id":145334,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:15:38] local.INFO: Acknowledgment sent {"connection_id":145334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:15:42] local.INFO: TCP Data received {"connection_id":142919,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2f67280012d18aa40072172d80049012e2d..."} 
[2026-07-27 15:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2f67280012d18aa40072172d80049012e2d..."} 
[2026-07-27 15:15:42] local.INFO: Processing buffer {"connection_id":142919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2f67280012d18aa40072172d80049012e2d..."} 
[2026-07-27 15:15:42] local.INFO: Packet analysis {"connection_id":142919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2f6"} 
[2026-07-27 15:15:42] local.INFO: Extracted packet for processing {"connection_id":142919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2f6"} 
[2026-07-27 15:15:42] local.INFO: GPS Element Parsed {"raw_longitude":756591168,"raw_latitude":119632600,"longitude_deg":75.6591168,"latitude_deg":11.96326,"altitude":73,"angle":302,"satellites":45,"speed":24,"hex_longitude":"2d18aa40","hex_latitude":"072172d8","is_valid_coordinates":true} 
[2026-07-27 15: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-07-27 15:15:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997244672001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:15:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8878053883117568,"note":"Value kept but may cause issues"} 
[2026-07-27 15:15:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777936721018707968,"note":"Value kept but may cause issues"} 
[2026-07-27 15:15:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:15:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785145488000,"timestamp_ms":1785145488000,"timestamp_seconds":1785145488,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2f67280"} 
[2026-07-27 15:15:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:15:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-07-27 15:15:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15: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-07-27 15:15:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:15:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:15:42] local.INFO: Teltonika packet parsed successfully {"connection_id":142919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:15:42] local.INFO: Passing IMEI to GPS processor {"connection_id":142919,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:15:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":142919,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:15:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:15:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:15:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:15:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997244672001,"66":14363,"121":206,"28":31744,"24":24,"16":8878053883117568,"45":1777936721018707968},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 15:15:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:15:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:15:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997244672001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:15:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 15:15:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:15:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8878053883117568,"km_value":8878053883117.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:15:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777936721018707968,"description":"Unknown IO ID 45"} 
[2026-07-27 15:15:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997244672001,"power":14363,"unknown_121":206,"unknown_28":31744,"ignition":24,"odometer":null,"unknown_45":1777936721018707968}} 
[2026-07-27 15:15:42] local.INFO: DEBUG: GPS processor result {"connection_id":142919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553719,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:15:42] local.INFO: GPS data processed {"connection_id":142919,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:15:42] local.INFO: Acknowledgment sent {"connection_id":142919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:15:56] local.INFO: TCP Data received {"connection_id":144051,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2f6bcb8012d7a8a4005eba550001100fa19..."} 
[2026-07-27 15:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144051,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2f6bcb8012d7a8a4005eba550001100fa19..."} 
[2026-07-27 15:15:56] local.INFO: Processing buffer {"connection_id":144051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2f6bcb8012d7a8a4005eba550001100fa19..."} 
[2026-07-27 15:15:56] local.INFO: Packet analysis {"connection_id":144051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2f6"} 
[2026-07-27 15:15:56] local.INFO: Extracted packet for processing {"connection_id":144051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2f6"} 
[2026-07-27 15:15:56] local.INFO: GPS Element Parsed {"raw_longitude":763005504,"raw_latitude":99329360,"longitude_deg":76.3005504,"latitude_deg":9.932936,"altitude":17,"angle":250,"satellites":25,"speed":28,"hex_longitude":"2d7a8a40","hex_latitude":"05eba550","is_valid_coordinates":true} 
[2026-07-27 15:15:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:15:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997246720001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:15:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111594507459362816,"note":"Value kept but may cause issues"} 
[2026-07-27 15:15:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8839510562794762240,"note":"Value kept but may cause issues"} 
[2026-07-27 15:15:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:15:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785145507000,"timestamp_ms":1785145507000,"timestamp_seconds":1785145507,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2f6bcb8"} 
[2026-07-27 15:15:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:15:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10240,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:15:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-27 15:15:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:15:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:15:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:15:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:15:56] local.INFO: Teltonika packet parsed successfully {"connection_id":144051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:15:56] local.INFO: Passing IMEI to GPS processor {"connection_id":144051,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 15:15:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":144051,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 15:15:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:15:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 15:15:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 15:15:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997246720001,"66":13515,"156":206,"87":13824,"24":28,"16":111594507459362816,"45":8839510562794762240},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-07-27 15:15:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 15:15:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 15:15:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997246720001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:15:56] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-27 15:15:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 15:15:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111594507459362816,"km_value":111594507459362.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:15:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8839510562794762240,"description":"Unknown IO ID 45"} 
[2026-07-27 15:15:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997246720001,"power":13515,"unknown_156":206,"unknown_87":13824,"ignition":28,"odometer":null,"unknown_45":8839510562794762240}} 
[2026-07-27 15:15:56] local.INFO: DEBUG: GPS processor result {"connection_id":144051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553720,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:15:56] local.INFO: GPS data processed {"connection_id":144051,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:15:56] local.INFO: Acknowledgment sent {"connection_id":144051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:16:02] local.INFO: TCP Data received {"connection_id":143069,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143069,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:16:02] local.INFO: Processing buffer {"connection_id":143069,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:16:02] local.INFO: IMEI packet received {"connection_id":143069,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 15:16:02] local.INFO: IMEI acknowledgment sent {"connection_id":143069,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:16:05] local.INFO: TCP Data received {"connection_id":143069,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143069,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:16:05] local.INFO: Processing buffer {"connection_id":143069,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:16:05] local.INFO: IMEI packet received {"connection_id":143069,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 15:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":143069,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:16:08] local.INFO: TCP Data received {"connection_id":143069,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143069,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:16:08] local.INFO: Processing buffer {"connection_id":143069,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:16:08] local.INFO: IMEI packet received {"connection_id":143069,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 15:16:08] local.INFO: IMEI acknowledgment sent {"connection_id":143069,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:16:10] local.INFO: TCP Data received {"connection_id":145334,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2f36928012d9f3b0005a19860001500bf2a..."} 
[2026-07-27 15:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145334,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2f36928012d9f3b0005a19860001500bf2a..."} 
[2026-07-27 15:16:10] local.INFO: Processing buffer {"connection_id":145334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2f36928012d9f3b0005a19860001500bf2a..."} 
[2026-07-27 15:16:10] local.INFO: Packet analysis {"connection_id":145334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2f3"} 
[2026-07-27 15:16:10] local.INFO: Extracted packet for processing {"connection_id":145334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2f3"} 
[2026-07-27 15:16:10] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":21,"angle":191,"satellites":42,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 15:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:16:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997116928001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:16:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 15:16:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972979573867126784,"note":"Value kept but may cause issues"} 
[2026-07-27 15:16:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:16:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785145289000,"timestamp_ms":1785145289000,"timestamp_seconds":1785145289,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2f36928"} 
[2026-07-27 15:16:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:16:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 15:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-27 15:16:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:16:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:16:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:16:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:16:10] local.INFO: Teltonika packet parsed successfully {"connection_id":145334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:16:10] local.INFO: Passing IMEI to GPS processor {"connection_id":145334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:16:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":145334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:16:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:16:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 15:16:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 15:16:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997116928001,"66":25875,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6972979573867126784},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 15:16:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 15:16:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 15:16:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997116928001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:16:10] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 15:16:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 15:16:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:16:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972979573867126784,"description":"Unknown IO ID 45"} 
[2026-07-27 15:16:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997116928001,"power":25875,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6972979573867126784}} 
[2026-07-27 15:16:10] local.INFO: DEBUG: GPS processor result {"connection_id":145334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:16:10] local.INFO: GPS data processed {"connection_id":145334,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:16:10] local.INFO: Acknowledgment sent {"connection_id":145334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:16:11] local.INFO: TCP Data received {"connection_id":143069,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2f67a50012d18a580072175000049011f2f..."} 
[2026-07-27 15:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2f67a50012d18a580072175000049011f2f..."} 
[2026-07-27 15:16:11] local.INFO: Processing buffer {"connection_id":143069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2f67a50012d18a580072175000049011f2f..."} 
[2026-07-27 15:16:11] local.INFO: Packet analysis {"connection_id":143069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2f6"} 
[2026-07-27 15:16:11] local.INFO: Extracted packet for processing {"connection_id":143069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2f6"} 
[2026-07-27 15:16:11] local.INFO: GPS Element Parsed {"raw_longitude":756589952,"raw_latitude":119633152,"longitude_deg":75.6589952,"latitude_deg":11.9633152,"altitude":73,"angle":287,"satellites":47,"speed":28,"hex_longitude":"2d18a580","hex_latitude":"07217500","is_valid_coordinates":true} 
[2026-07-27 15:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:16:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997244928001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:16:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8878118307627008,"note":"Value kept but may cause issues"} 
[2026-07-27 15:16:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777303402321205248,"note":"Value kept but may cause issues"} 
[2026-07-27 15:16:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:16:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785145490000,"timestamp_ms":1785145490000,"timestamp_seconds":1785145490,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2f67a50"} 
[2026-07-27 15:16:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:16:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-07-27 15:16:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:16:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:16:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:16:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:16:11] local.INFO: Teltonika packet parsed successfully {"connection_id":143069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:16:11] local.INFO: Passing IMEI to GPS processor {"connection_id":143069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:16:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":143069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:16:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:16:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:16:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:16:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997244928001,"66":14048,"121":206,"28":31744,"24":28,"16":8878118307627008,"45":1777303402321205248},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 15:16:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:16:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:16:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997244928001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:16:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 15:16:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:16:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8878118307627008,"km_value":8878118307627.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:16:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777303402321205248,"description":"Unknown IO ID 45"} 
[2026-07-27 15:16:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997244928001,"power":14048,"unknown_121":206,"unknown_28":31744,"ignition":28,"odometer":null,"unknown_45":1777303402321205248}} 
[2026-07-27 15:16:11] local.INFO: DEBUG: GPS processor result {"connection_id":143069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553722,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:16:11] local.INFO: GPS data processed {"connection_id":143069,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:16:11] local.INFO: Acknowledgment sent {"connection_id":143069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:16:12] local.INFO: TCP Data received {"connection_id":143069,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2f6a548012d188480072181480049011d2b..."} 
[2026-07-27 15:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2f6a548012d188480072181480049011d2b..."} 
[2026-07-27 15:16:12] local.INFO: Processing buffer {"connection_id":143069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2f6a548012d188480072181480049011d2b..."} 
[2026-07-27 15:16:12] local.INFO: Packet analysis {"connection_id":143069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2f6"} 
[2026-07-27 15:16:12] local.INFO: Extracted packet for processing {"connection_id":143069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2f6"} 
[2026-07-27 15:16:12] local.INFO: GPS Element Parsed {"raw_longitude":756581504,"raw_latitude":119636296,"longitude_deg":75.6581504,"latitude_deg":11.9636296,"altitude":73,"angle":285,"satellites":43,"speed":32,"hex_longitude":"2d188480","hex_latitude":"07218148","is_valid_coordinates":true} 
[2026-07-27 15:16:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:16:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997245440001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:16:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8878547804356608,"note":"Value kept but may cause issues"} 
[2026-07-27 15:16:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775966396181970944,"note":"Value kept but may cause issues"} 
[2026-07-27 15:16:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:16:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785145501000,"timestamp_ms":1785145501000,"timestamp_seconds":1785145501,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2f6a548"} 
[2026-07-27 15:16:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:16:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-07-27 15:16:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:16:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:16:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:16:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:16:12] local.INFO: Teltonika packet parsed successfully {"connection_id":143069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:16:12] local.INFO: Passing IMEI to GPS processor {"connection_id":143069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:16:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":143069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:16:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:16:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:16:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:16:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997245440001,"66":14113,"121":206,"28":31744,"24":32,"16":8878547804356608,"45":1775966396181970944},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 15:16:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:16:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:16:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997245440001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:16:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 15:16:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:16:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8878547804356608,"km_value":8878547804356.607,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:16:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775966396181970944,"description":"Unknown IO ID 45"} 
[2026-07-27 15:16:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997245440001,"power":14113,"unknown_121":206,"unknown_28":31744,"ignition":32,"odometer":null,"unknown_45":1775966396181970944}} 
[2026-07-27 15:16:12] local.INFO: DEBUG: GPS processor result {"connection_id":143069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553723,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:16:12] local.INFO: GPS data processed {"connection_id":143069,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:16:12] local.INFO: Acknowledgment sent {"connection_id":143069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:16:27] local.INFO: TCP Data received {"connection_id":144051,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2f6ef80012d7a694005eb9950001000fb18..."} 
[2026-07-27 15:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144051,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2f6ef80012d7a694005eb9950001000fb18..."} 
[2026-07-27 15:16:27] local.INFO: Processing buffer {"connection_id":144051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2f6ef80012d7a694005eb9950001000fb18..."} 
[2026-07-27 15:16:27] local.INFO: Packet analysis {"connection_id":144051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2f6"} 
[2026-07-27 15:16:27] local.INFO: Extracted packet for processing {"connection_id":144051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2f6"} 
[2026-07-27 15:16:27] local.INFO: GPS Element Parsed {"raw_longitude":762997056,"raw_latitude":99326288,"longitude_deg":76.2997056,"latitude_deg":9.9326288,"altitude":16,"angle":251,"satellites":24,"speed":23,"hex_longitude":"2d7a6940","hex_latitude":"05eb9950","is_valid_coordinates":true} 
[2026-07-27 15:16:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:16:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997249792001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:16:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111594936956092416,"note":"Value kept but may cause issues"} 
[2026-07-27 15:16:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8829940413585772544,"note":"Value kept but may cause issues"} 
[2026-07-27 15:16:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:16:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785145520000,"timestamp_ms":1785145520000,"timestamp_seconds":1785145520,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2f6ef80"} 
[2026-07-27 15:16:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:16:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10240,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:16:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-07-27 15:16:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:16:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:16:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:16:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:16:27] local.INFO: Teltonika packet parsed successfully {"connection_id":144051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:16:27] local.INFO: Passing IMEI to GPS processor {"connection_id":144051,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 15:16:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":144051,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 15:16:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:16:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 15:16:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 15:16:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997249792001,"66":13428,"156":206,"87":13824,"24":23,"16":111594936956092416,"45":8829940413585772544},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-07-27 15:16:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 15:16:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 15:16:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997249792001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:16:27] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-27 15:16:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 15:16:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111594936956092416,"km_value":111594936956092.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:16:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8829940413585772544,"description":"Unknown IO ID 45"} 
[2026-07-27 15:16:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997249792001,"power":13428,"unknown_156":206,"unknown_87":13824,"ignition":23,"odometer":null,"unknown_45":8829940413585772544}} 
[2026-07-27 15:16:27] local.INFO: DEBUG: GPS processor result {"connection_id":144051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553724,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:16:27] local.INFO: GPS data processed {"connection_id":144051,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:16:27] local.INFO: Acknowledgment sent {"connection_id":144051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:16:37] local.INFO: TCP Data received {"connection_id":145335,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:16:37] local.INFO: Processing buffer {"connection_id":145335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:16:37] local.INFO: IMEI packet received {"connection_id":145335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 15:16:37] local.INFO: IMEI acknowledgment sent {"connection_id":145335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:16:42] local.INFO: TCP Data received {"connection_id":145335,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:16:42] local.INFO: Processing buffer {"connection_id":145335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:16:42] local.INFO: IMEI packet received {"connection_id":145335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 15:16:42] local.INFO: IMEI acknowledgment sent {"connection_id":145335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:16:43] local.INFO: TCP Data received {"connection_id":145335,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2f36928012d9f3b0005a19860001500bf2a..."} 
[2026-07-27 15:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2f36928012d9f3b0005a19860001500bf2a..."} 
[2026-07-27 15:16:43] local.INFO: Processing buffer {"connection_id":145335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2f36928012d9f3b0005a19860001500bf2a..."} 
[2026-07-27 15:16:43] local.INFO: Packet analysis {"connection_id":145335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2f3"} 
[2026-07-27 15:16:43] local.INFO: Extracted packet for processing {"connection_id":145335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2f3"} 
[2026-07-27 15:16:43] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":21,"angle":191,"satellites":42,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 15:16:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:16:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997116928001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:16:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 15:16:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972979573867126784,"note":"Value kept but may cause issues"} 
[2026-07-27 15:16:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:16:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785145289000,"timestamp_ms":1785145289000,"timestamp_seconds":1785145289,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2f36928"} 
[2026-07-27 15:16:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:16:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 15: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-27 15:16:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:16:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:16:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:16:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:16:43] local.INFO: Teltonika packet parsed successfully {"connection_id":145335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:16:43] local.INFO: Passing IMEI to GPS processor {"connection_id":145335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:16:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":145335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:16:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:16:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 15:16:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 15:16:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997116928001,"66":25875,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6972979573867126784},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 15:16:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 15:16:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 15:16:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997116928001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:16:43] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 15:16:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 15:16:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:16:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972979573867126784,"description":"Unknown IO ID 45"} 
[2026-07-27 15:16:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997116928001,"power":25875,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6972979573867126784}} 
[2026-07-27 15:16:43] local.INFO: DEBUG: GPS processor result {"connection_id":145335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:16:43] local.INFO: GPS data processed {"connection_id":145335,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:16:43] local.INFO: Acknowledgment sent {"connection_id":145335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:16:43] local.INFO: TCP Data received {"connection_id":143069,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2f77c20012d181d000721a8a0004c00022c..."} 
[2026-07-27 15:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2f77c20012d181d000721a8a0004c00022c..."} 
[2026-07-27 15:16:43] local.INFO: Processing buffer {"connection_id":143069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2f77c20012d181d000721a8a0004c00022c..."} 
[2026-07-27 15:16:43] local.INFO: Packet analysis {"connection_id":143069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2f7"} 
[2026-07-27 15:16:43] local.INFO: Extracted packet for processing {"connection_id":143069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2f7"} 
[2026-07-27 15:16:43] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119646368,"longitude_deg":75.6555008,"latitude_deg":11.9646368,"altitude":76,"angle":2,"satellites":44,"speed":13,"hex_longitude":"2d181d00","hex_latitude":"0721a8a0","is_valid_coordinates":true} 
[2026-07-27 15:16:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:16:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997262080001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:16:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8879956553629696,"note":"Value kept but may cause issues"} 
[2026-07-27 15:16:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864269824,"note":"Value kept but may cause issues"} 
[2026-07-27 15:16: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-07-27 15:16:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785145556000,"timestamp_ms":1785145556000,"timestamp_seconds":1785145556,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2f77c20"} 
[2026-07-27 15:16:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:16:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15: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":51,"n8_eight_byte":231,"data_length":795,"current_offset":136} 
[2026-07-27 15:16:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2532,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:16:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:16:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:16:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:16:43] local.INFO: Teltonika packet parsed successfully {"connection_id":143069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:16:43] local.INFO: Passing IMEI to GPS processor {"connection_id":143069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:16:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":143069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:16:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:16:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:16:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:16:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997262080001,"66":13287,"120":206,"28":31744,"24":13,"16":8879956553629696,"45":1737545061864269824},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 15:16:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:16:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:16:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997262080001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:16:43] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 15:16:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:16:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8879956553629696,"km_value":8879956553629.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:16:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864269824,"description":"Unknown IO ID 45"} 
[2026-07-27 15:16:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997262080001,"power":13287,"unknown_120":206,"unknown_28":31744,"ignition":13,"odometer":null,"unknown_45":1737545061864269824}} 
[2026-07-27 15:16:43] local.INFO: DEBUG: GPS processor result {"connection_id":143069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553726,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:16:43] local.INFO: GPS data processed {"connection_id":143069,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:16:43] local.INFO: Acknowledgment sent {"connection_id":143069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:16:47] local.INFO: TCP Data received {"connection_id":145335,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2f36928012d9f3b0005a19860001500bf2a..."} 
[2026-07-27 15:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2f36928012d9f3b0005a19860001500bf2a..."} 
[2026-07-27 15:16:47] local.INFO: Processing buffer {"connection_id":145335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2f36928012d9f3b0005a19860001500bf2a..."} 
[2026-07-27 15:16:47] local.INFO: Packet analysis {"connection_id":145335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2f3"} 
[2026-07-27 15:16:47] local.INFO: Extracted packet for processing {"connection_id":145335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2f3"} 
[2026-07-27 15:16:47] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":21,"angle":191,"satellites":42,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 15:16:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:16:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997116928001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:16:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 15:16:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972979573867126784,"note":"Value kept but may cause issues"} 
[2026-07-27 15:16:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:16:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785145289000,"timestamp_ms":1785145289000,"timestamp_seconds":1785145289,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2f36928"} 
[2026-07-27 15:16:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:16:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 15:16:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-27 15:16:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:16:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:16:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:16:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:16:47] local.INFO: Teltonika packet parsed successfully {"connection_id":145335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:16:47] local.INFO: Passing IMEI to GPS processor {"connection_id":145335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:16:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":145335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:16:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:16:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 15:16:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 15:16:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997116928001,"66":25875,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6972979573867126784},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 15:16:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 15:16:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 15:16:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997116928001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:16:47] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 15:16:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 15:16:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:16:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972979573867126784,"description":"Unknown IO ID 45"} 
[2026-07-27 15:16:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997116928001,"power":25875,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6972979573867126784}} 
[2026-07-27 15:16:47] local.INFO: DEBUG: GPS processor result {"connection_id":145335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:16:47] local.INFO: GPS data processed {"connection_id":145335,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:16:47] local.INFO: Acknowledgment sent {"connection_id":145335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:16:53] local.INFO: TCP Data received {"connection_id":145336,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145336,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:16:53] local.INFO: Processing buffer {"connection_id":145336,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:16:53] local.INFO: IMEI packet received {"connection_id":145336,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 15:16:53] local.INFO: IMEI acknowledgment sent {"connection_id":145336,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:16:58] local.INFO: TCP Data received {"connection_id":145336,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145336,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:16:58] local.INFO: Processing buffer {"connection_id":145336,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:16:58] local.INFO: IMEI packet received {"connection_id":145336,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 15:16:58] local.INFO: IMEI acknowledgment sent {"connection_id":145336,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:16:59] local.INFO: TCP Data received {"connection_id":145336,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2f73da0012d7a628005eb95f8001300fd16..."} 
[2026-07-27 15:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2f73da0012d7a628005eb95f8001300fd16..."} 
[2026-07-27 15:16:59] local.INFO: Processing buffer {"connection_id":145336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2f73da0012d7a628005eb95f8001300fd16..."} 
[2026-07-27 15:16:59] local.INFO: Packet analysis {"connection_id":145336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2f7"} 
[2026-07-27 15:16:59] local.INFO: Extracted packet for processing {"connection_id":145336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2f7"} 
[2026-07-27 15:16:59] local.INFO: GPS Element Parsed {"raw_longitude":762995328,"raw_latitude":99325432,"longitude_deg":76.2995328,"latitude_deg":9.9325432,"altitude":19,"angle":253,"satellites":22,"speed":0,"hex_longitude":"2d7a6280","hex_latitude":"05eb95f8","is_valid_coordinates":true} 
[2026-07-27 15:16:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:16:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997253120001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:16:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111595040035307520,"note":"Value kept but may cause issues"} 
[2026-07-27 15:16:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8820651739353534464,"note":"Value kept but may cause issues"} 
[2026-07-27 15:16:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:16:59] local.INFO: AVL Record Parsed {"raw_timestamp":1785145540000,"timestamp_ms":1785145540000,"timestamp_seconds":1785145540,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2f73da0"} 
[2026-07-27 15:16:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:16:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10496,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:16:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-07-27 15:16:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:16:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:16:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:16:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:16:59] local.INFO: Teltonika packet parsed successfully {"connection_id":145336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:16:59] local.INFO: Passing IMEI to GPS processor {"connection_id":145336,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 15:16:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":145336,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 15:16:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:16:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 15:16:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 15:16:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997253120001,"66":13526,"161":206,"87":13824,"24":0,"16":111595040035307520,"45":8820651739353534464},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-07-27 15:16:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 15:16:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 15:16:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997253120001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:16:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-07-27 15:16:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 15:16:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111595040035307520,"km_value":111595040035307.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:16:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8820651739353534464,"description":"Unknown IO ID 45"} 
[2026-07-27 15:16:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997253120001,"power":13526,"unknown_161":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8820651739353534464}} 
[2026-07-27 15:16:59] local.INFO: DEBUG: GPS processor result {"connection_id":145336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553728,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:16:59] local.INFO: GPS data processed {"connection_id":145336,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:16:59] local.INFO: Acknowledgment sent {"connection_id":145336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:17:00] local.INFO: TCP Data received {"connection_id":142920,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142920,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:17:00] local.INFO: Processing buffer {"connection_id":142920,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:17:00] local.INFO: IMEI packet received {"connection_id":142920,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 15:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":142920,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:17:03] local.INFO: TCP Data received {"connection_id":145336,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2f77450012d7a61c005eb9538001400ed15..."} 
[2026-07-27 15:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2f77450012d7a61c005eb9538001400ed15..."} 
[2026-07-27 15:17:03] local.INFO: Processing buffer {"connection_id":145336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2f77450012d7a61c005eb9538001400ed15..."} 
[2026-07-27 15:17:03] local.INFO: Packet analysis {"connection_id":145336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2f7"} 
[2026-07-27 15:17:03] local.INFO: Extracted packet for processing {"connection_id":145336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2f7"} 
[2026-07-27 15:17:03] local.INFO: GPS Element Parsed {"raw_longitude":762995136,"raw_latitude":99325240,"longitude_deg":76.2995136,"latitude_deg":9.932524,"altitude":20,"angle":237,"satellites":21,"speed":3,"hex_longitude":"2d7a61c0","hex_latitude":"05eb9538","is_valid_coordinates":true} 
[2026-07-27 15:17:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:17:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997258240001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:17:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111595052920209408,"note":"Value kept but may cause issues"} 
[2026-07-27 15:17:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8818751783260518400,"note":"Value kept but may cause issues"} 
[2026-07-27 15:17:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:17:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785145554000,"timestamp_ms":1785145554000,"timestamp_seconds":1785145554,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2f77450"} 
[2026-07-27 15:17:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:17:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11008,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:17:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-07-27 15:17:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:17:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:17:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:17:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:17:03] local.INFO: Teltonika packet parsed successfully {"connection_id":145336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:17:03] local.INFO: Passing IMEI to GPS processor {"connection_id":145336,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 15:17:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":145336,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 15:17:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:17:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 15:17:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 15:17:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997258240001,"66":13493,"161":206,"87":13824,"24":3,"16":111595052920209408,"45":8818751783260518400},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-07-27 15:17:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 15:17:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 15:17:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997258240001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:17:03] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-07-27 15:17:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 15:17:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111595052920209408,"km_value":111595052920209.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:17:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8818751783260518400,"description":"Unknown IO ID 45"} 
[2026-07-27 15:17:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997258240001,"power":13493,"unknown_161":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":8818751783260518400}} 
[2026-07-27 15:17:03] local.INFO: DEBUG: GPS processor result {"connection_id":145336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553729,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:17:03] local.INFO: GPS data processed {"connection_id":145336,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:17:03] local.INFO: Acknowledgment sent {"connection_id":145336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:17:05] local.INFO: TCP Data received {"connection_id":142920,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142920,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:17:05] local.INFO: Processing buffer {"connection_id":142920,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:17:05] local.INFO: IMEI packet received {"connection_id":142920,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 15:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":142920,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:17:06] local.INFO: TCP Data received {"connection_id":142920,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2f78008012d181d400721aa30004c00132c..."} 
[2026-07-27 15:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2f78008012d181d400721aa30004c00132c..."} 
[2026-07-27 15:17:06] local.INFO: Processing buffer {"connection_id":142920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2f78008012d181d400721aa30004c00132c..."} 
[2026-07-27 15:17:06] local.INFO: Packet analysis {"connection_id":142920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2f7"} 
[2026-07-27 15:17:06] local.INFO: Extracted packet for processing {"connection_id":142920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2f7"} 
[2026-07-27 15:17:06] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119646768,"longitude_deg":75.6555072,"latitude_deg":11.9646768,"altitude":76,"angle":19,"satellites":44,"speed":17,"hex_longitude":"2d181d40","hex_latitude":"0721aa30","is_valid_coordinates":true} 
[2026-07-27 15:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997262336001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8879973733498880,"note":"Value kept but may cause issues"} 
[2026-07-27 15:17:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864349696,"note":"Value kept but may cause issues"} 
[2026-07-27 15:17:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785145557000,"timestamp_ms":1785145557000,"timestamp_seconds":1785145557,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2f78008"} 
[2026-07-27 15:17:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:17:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":231,"data_length":795,"current_offset":136} 
[2026-07-27 15:17:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2532,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:17:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:17:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":142920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":142920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":142920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:17:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997262336001,"66":13319,"120":206,"28":31744,"24":17,"16":8879973733498880,"45":1737545061864349696},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 15:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997262336001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:17:06] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 15:17:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8879973733498880,"km_value":8879973733498.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:17:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864349696,"description":"Unknown IO ID 45"} 
[2026-07-27 15:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997262336001,"power":13319,"unknown_120":206,"unknown_28":31744,"ignition":17,"odometer":null,"unknown_45":1737545061864349696}} 
[2026-07-27 15:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":142920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553730,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:17:06] local.INFO: GPS data processed {"connection_id":142920,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:17:06] local.INFO: Acknowledgment sent {"connection_id":142920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:17:32] local.INFO: TCP Data received {"connection_id":143070,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:17:32] local.INFO: Processing buffer {"connection_id":143070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:17:32] local.INFO: IMEI packet received {"connection_id":143070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 15:17:32] local.INFO: IMEI acknowledgment sent {"connection_id":143070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:17:37] local.INFO: TCP Data received {"connection_id":143070,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:17:37] local.INFO: Processing buffer {"connection_id":143070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:17:37] local.INFO: IMEI packet received {"connection_id":143070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 15:17:37] local.INFO: IMEI acknowledgment sent {"connection_id":143070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:17:38] local.INFO: TCP Data received {"connection_id":142920,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2f787d8012d181ec00721ad20004c001f2c..."} 
[2026-07-27 15:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2f787d8012d181ec00721ad20004c001f2c..."} 
[2026-07-27 15:17:38] local.INFO: Processing buffer {"connection_id":142920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2f787d8012d181ec00721ad20004c001f2c..."} 
[2026-07-27 15:17:38] local.INFO: Packet analysis {"connection_id":142920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2f7"} 
[2026-07-27 15:17:38] local.INFO: Extracted packet for processing {"connection_id":142920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2f7"} 
[2026-07-27 15:17:38] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119647520,"longitude_deg":75.6555456,"latitude_deg":11.964752,"altitude":76,"angle":31,"satellites":44,"speed":16,"hex_longitude":"2d181ec0","hex_latitude":"0721ad20","is_valid_coordinates":true} 
[2026-07-27 15:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:17:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997262592001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:17:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8880016683171840,"note":"Value kept but may cause issues"} 
[2026-07-27 15:17:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608629760,"note":"Value kept but may cause issues"} 
[2026-07-27 15:17:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:17:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785145559000,"timestamp_ms":1785145559000,"timestamp_seconds":1785145559,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2f787d8"} 
[2026-07-27 15:17:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:17:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-27 15:17:38] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2734104160,"note":"Value kept but may cause issues"} 
[2026-07-27 15:17:38] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-07-27 15:17:38] local.WARNING: Large IO value detected {"io_id":162,"raw_value":4146731009,"note":"Value kept but may cause issues"} 
[2026-07-27 15:17:38] local.WARNING: Large IO value detected {"io_id":33,"raw_value":-7527766455007433984,"note":"Value kept but may cause issues"} 
[2026-07-27 15:17:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-07-27 15:17:38] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2349531136,"note":"Value kept but may cause issues"} 
[2026-07-27 15:17:38] local.WARNING: Large IO value detected {"io_id":231,"raw_value":57956872821283964,"note":"Value kept but may cause issues"} 
[2026-07-27 15:17:38] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":1625800758671802375,"corrected_to":0} 
[2026-07-27 15:17:38] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,120,28,24,241,158,16,140,159,124,45,168,76,44,10,66,167,81,192,1,240,60,162,33,4,113,205,38,43,232,239,54,2,31,7,75,18,231,247],"length":527,"final_offset":657,"validated_count":39,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0},{"io_id":247,"original":1625800758671802375,"validated":0}]} 
[2026-07-27 15:17:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476398226583126016,"timestamp_seconds":5476398226583126.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 15:17:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:17:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:17:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:17:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:17:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:17:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:17:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:17:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:17:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997262592001,"66":13287,"120":206,"28":31744,"24":16,"16":8880016683171840,"45":1737615430608629760},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 15:17:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:17:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:17:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997262592001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:17:38] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 15:17:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:17:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8880016683171840,"km_value":8880016683171.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:17:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608629760,"description":"Unknown IO ID 45"} 
[2026-07-27 15:17:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997262592001,"power":13287,"unknown_120":206,"unknown_28":31744,"ignition":16,"odometer":null,"unknown_45":1737615430608629760}} 
[2026-07-27 15:17:38] local.INFO: DEBUG: GPS processor result {"connection_id":142920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553731,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:17:38] local.INFO: GPS data processed {"connection_id":142920,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:17:38] local.INFO: Acknowledgment sent {"connection_id":142920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:17:39] local.INFO: TCP Data received {"connection_id":143070,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2f800f0012d9f3b0005a19860000b00bf27..."} 
[2026-07-27 15:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143070,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2f800f0012d9f3b0005a19860000b00bf27..."} 
[2026-07-27 15:17:39] local.INFO: Processing buffer {"connection_id":143070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2f800f0012d9f3b0005a19860000b00bf27..."} 
[2026-07-27 15:17:39] local.INFO: Packet analysis {"connection_id":143070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2f8"} 
[2026-07-27 15:17:39] local.INFO: Extracted packet for processing {"connection_id":143070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2f8"} 
[2026-07-27 15:17:39] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":11,"angle":191,"satellites":39,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 15:17:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:17:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997193984001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:17:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 15:17:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972979573867126784,"note":"Value kept but may cause issues"} 
[2026-07-27 15:17:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:17:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785145590000,"timestamp_ms":1785145590000,"timestamp_seconds":1785145590,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2f800f0"} 
[2026-07-27 15:17:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:17:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 15: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-27 15:17:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:17:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:17:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:17:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:17:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:17:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:17:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:17:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:17:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 15:17:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 15:17:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997193984001,"66":25875,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6972979573867126784},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 15:17:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 15:17:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 15:17:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997193984001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:17:39] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 15:17:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 15:17:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:17:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972979573867126784,"description":"Unknown IO ID 45"} 
[2026-07-27 15:17:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997193984001,"power":25875,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6972979573867126784}} 
[2026-07-27 15:17:39] local.INFO: DEBUG: GPS processor result {"connection_id":143070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:17:39] local.INFO: GPS data processed {"connection_id":143070,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:17:39] local.INFO: Acknowledgment sent {"connection_id":143070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:17:48] local.INFO: TCP Data received {"connection_id":145337,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145337,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:17:48] local.INFO: Processing buffer {"connection_id":145337,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:17:48] local.INFO: IMEI packet received {"connection_id":145337,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 15:17:48] local.INFO: IMEI acknowledgment sent {"connection_id":145337,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:17:53] local.INFO: TCP Data received {"connection_id":145337,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145337,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:17:53] local.INFO: Processing buffer {"connection_id":145337,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:17:53] local.INFO: IMEI packet received {"connection_id":145337,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 15:17:53] local.INFO: IMEI acknowledgment sent {"connection_id":145337,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:17:54] local.INFO: TCP Data received {"connection_id":145337,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2f77c20012d7a604005eb9458001400f916..."} 
[2026-07-27 15:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2f77c20012d7a604005eb9458001400f916..."} 
[2026-07-27 15:17:54] local.INFO: Processing buffer {"connection_id":145337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2f77c20012d7a604005eb9458001400f916..."} 
[2026-07-27 15:17:54] local.INFO: Packet analysis {"connection_id":145337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2f7"} 
[2026-07-27 15:17:54] local.INFO: Extracted packet for processing {"connection_id":145337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2f7"} 
[2026-07-27 15:17:54] local.INFO: GPS Element Parsed {"raw_longitude":762994752,"raw_latitude":99325016,"longitude_deg":76.2994752,"latitude_deg":9.9325016,"altitude":20,"angle":249,"satellites":22,"speed":10,"hex_longitude":"2d7a6040","hex_latitude":"05eb9458","is_valid_coordinates":true} 
[2026-07-27 15: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-07-27 15:17:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997261824001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:17:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111595074395045888,"note":"Value kept but may cause issues"} 
[2026-07-27 15:17:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8818540677027936256,"note":"Value kept but may cause issues"} 
[2026-07-27 15:17:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:17:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785145556000,"timestamp_ms":1785145556000,"timestamp_seconds":1785145556,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2f77c20"} 
[2026-07-27 15:17:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:17:54] 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-07-27 15: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-07-27 15:17:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15: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-07-27 15:17:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:17:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:17:54] local.INFO: Teltonika packet parsed successfully {"connection_id":145337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:17:54] local.INFO: Passing IMEI to GPS processor {"connection_id":145337,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 15:17:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":145337,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 15:17:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:17:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 15:17:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 15:17:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997261824001,"66":13222,"161":206,"87":13824,"24":10,"16":111595074395045888,"45":8818540677027936256},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-07-27 15:17:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 15:17:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 15:17:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997261824001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:17:54] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-07-27 15:17:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 15:17:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111595074395045888,"km_value":111595074395045.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:17:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8818540677027936256,"description":"Unknown IO ID 45"} 
[2026-07-27 15:17:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997261824001,"power":13222,"unknown_161":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":8818540677027936256}} 
[2026-07-27 15:17:54] local.INFO: DEBUG: GPS processor result {"connection_id":145337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553733,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:17:54] local.INFO: GPS data processed {"connection_id":145337,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:17:54] local.INFO: Acknowledgment sent {"connection_id":145337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:18:00] local.INFO: TCP Data received {"connection_id":143071,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143071,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:18:00] local.INFO: Processing buffer {"connection_id":143071,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:18:00] local.INFO: IMEI packet received {"connection_id":143071,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 15:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":143071,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:18:05] local.INFO: TCP Data received {"connection_id":143071,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143071,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:18:05] local.INFO: Processing buffer {"connection_id":143071,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:18:05] local.INFO: IMEI packet received {"connection_id":143071,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 15:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":143071,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:18:06] local.INFO: TCP Data received {"connection_id":143071,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2f7a330012d1824400721b5e0004c00072e..."} 
[2026-07-27 15:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2f7a330012d1824400721b5e0004c00072e..."} 
[2026-07-27 15:18:06] local.INFO: Processing buffer {"connection_id":143071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2f7a330012d1824400721b5e0004c00072e..."} 
[2026-07-27 15:18:06] local.INFO: Packet analysis {"connection_id":143071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2f7"} 
[2026-07-27 15:18:06] local.INFO: Extracted packet for processing {"connection_id":143071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2f7"} 
[2026-07-27 15:18:06] local.INFO: GPS Element Parsed {"raw_longitude":756556864,"raw_latitude":119649760,"longitude_deg":75.6556864,"latitude_deg":11.964976,"altitude":76,"angle":7,"satellites":46,"speed":11,"hex_longitude":"2d182440","hex_latitude":"0721b5e0","is_valid_coordinates":true} 
[2026-07-27 15:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:18:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997263104001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:18:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8880141237223424,"note":"Value kept but may cause issues"} 
[2026-07-27 15:18:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643073888256,"note":"Value kept but may cause issues"} 
[2026-07-27 15:18:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:18:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785145566000,"timestamp_ms":1785145566000,"timestamp_seconds":1785145566,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2f7a330"} 
[2026-07-27 15:18:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:18:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":231,"data_length":795,"current_offset":136} 
[2026-07-27 15:18:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2532,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:18:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:18:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:18:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:18:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:18:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:18:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:18:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:18:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:18:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:18:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997263104001,"66":13287,"120":206,"28":31744,"24":11,"16":8880141237223424,"45":1738037643073888256},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 15:18:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:18:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:18:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997263104001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:18:06] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 15:18:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:18:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8880141237223424,"km_value":8880141237223.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:18:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643073888256,"description":"Unknown IO ID 45"} 
[2026-07-27 15:18:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997263104001,"power":13287,"unknown_120":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1738037643073888256}} 
[2026-07-27 15:18:06] local.INFO: DEBUG: GPS processor result {"connection_id":143071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553734,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:18:06] local.INFO: GPS data processed {"connection_id":143071,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:18:06] local.INFO: Acknowledgment sent {"connection_id":143071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:18:10] local.INFO: TCP Data received {"connection_id":143070,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2f800f0012d9f3b0005a19860000b00bf27..."} 
[2026-07-27 15:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143070,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2f800f0012d9f3b0005a19860000b00bf27..."} 
[2026-07-27 15:18:10] local.INFO: Processing buffer {"connection_id":143070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2f800f0012d9f3b0005a19860000b00bf27..."} 
[2026-07-27 15:18:10] local.INFO: Packet analysis {"connection_id":143070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2f8"} 
[2026-07-27 15:18:10] local.INFO: Extracted packet for processing {"connection_id":143070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2f8"} 
[2026-07-27 15:18:10] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":11,"angle":191,"satellites":39,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 15:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:18:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997193984001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:18:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 15:18:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972979573867126784,"note":"Value kept but may cause issues"} 
[2026-07-27 15:18:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:18:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785145590000,"timestamp_ms":1785145590000,"timestamp_seconds":1785145590,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2f800f0"} 
[2026-07-27 15:18:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:18:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 15:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-27 15:18:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:18:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:18:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:18:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:18:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:18:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:18:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:18:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:18:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 15:18:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 15:18:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997193984001,"66":25875,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6972979573867126784},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 15:18:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 15:18:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 15:18:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997193984001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:18:10] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 15:18:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 15:18:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:18:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972979573867126784,"description":"Unknown IO ID 45"} 
[2026-07-27 15:18:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997193984001,"power":25875,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6972979573867126784}} 
[2026-07-27 15:18:10] local.INFO: DEBUG: GPS processor result {"connection_id":143070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:18:10] local.INFO: GPS data processed {"connection_id":143070,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:18:10] local.INFO: Acknowledgment sent {"connection_id":143070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:18:26] local.INFO: TCP Data received {"connection_id":145337,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2f78fa8012d7a59c005eb92a00014010616..."} 
[2026-07-27 15:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2f78fa8012d7a59c005eb92a00014010616..."} 
[2026-07-27 15:18:26] local.INFO: Processing buffer {"connection_id":145337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2f78fa8012d7a59c005eb92a00014010616..."} 
[2026-07-27 15:18:26] local.INFO: Packet analysis {"connection_id":145337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2f7"} 
[2026-07-27 15:18:26] local.INFO: Extracted packet for processing {"connection_id":145337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2f7"} 
[2026-07-27 15:18:26] local.INFO: GPS Element Parsed {"raw_longitude":762993088,"raw_latitude":99324576,"longitude_deg":76.2993088,"latitude_deg":9.9324576,"altitude":20,"angle":262,"satellites":22,"speed":14,"hex_longitude":"2d7a59c0","hex_latitude":"05eb92a0","is_valid_coordinates":true} 
[2026-07-27 15:18:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:18:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997262336001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:18:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111595155999424512,"note":"Value kept but may cause issues"} 
[2026-07-27 15:18:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8818118464562812928,"note":"Value kept but may cause issues"} 
[2026-07-27 15:18:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:18:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785145561000,"timestamp_ms":1785145561000,"timestamp_seconds":1785145561,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2f78fa8"} 
[2026-07-27 15:18:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:18:26] 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-07-27 15:18:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-27 15:18:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:18:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:18:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:18:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:18:26] local.INFO: Teltonika packet parsed successfully {"connection_id":145337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:18:26] local.INFO: Passing IMEI to GPS processor {"connection_id":145337,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 15:18:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":145337,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 15:18:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:18:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 15:18:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 15:18:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997262336001,"66":13048,"161":206,"87":13824,"24":14,"16":111595155999424512,"45":8818118464562812928},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-07-27 15:18:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 15:18:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 15:18:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997262336001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:18:26] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-07-27 15:18:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 15:18:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111595155999424512,"km_value":111595155999424.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:18:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8818118464562812928,"description":"Unknown IO ID 45"} 
[2026-07-27 15:18:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997262336001,"power":13048,"unknown_161":206,"unknown_87":13824,"ignition":14,"odometer":null,"unknown_45":8818118464562812928}} 
[2026-07-27 15:18:26] local.INFO: DEBUG: GPS processor result {"connection_id":145337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553736,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:18:26] local.INFO: GPS data processed {"connection_id":145337,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:18:26] local.INFO: Acknowledgment sent {"connection_id":145337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:18:32] local.INFO: TCP Data received {"connection_id":142921,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:18:32] local.INFO: Processing buffer {"connection_id":142921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:18:32] local.INFO: IMEI packet received {"connection_id":142921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 15:18:32] local.INFO: IMEI acknowledgment sent {"connection_id":142921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:18:37] local.INFO: TCP Data received {"connection_id":142921,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:18:37] local.INFO: Processing buffer {"connection_id":142921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:18:37] local.INFO: IMEI packet received {"connection_id":142921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 15:18:37] local.INFO: IMEI acknowledgment sent {"connection_id":142921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:18:38] local.INFO: TCP Data received {"connection_id":143071,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2f7a718012d1824400721b6d0004c014f2d..."} 
[2026-07-27 15:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2f7a718012d1824400721b6d0004c014f2d..."} 
[2026-07-27 15:18:38] local.INFO: Processing buffer {"connection_id":143071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2f7a718012d1824400721b6d0004c014f2d..."} 
[2026-07-27 15:18:38] local.INFO: Packet analysis {"connection_id":143071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2f7"} 
[2026-07-27 15:18:38] local.INFO: Extracted packet for processing {"connection_id":143071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2f7"} 
[2026-07-27 15:18:38] local.INFO: GPS Element Parsed {"raw_longitude":756556864,"raw_latitude":119650000,"longitude_deg":75.6556864,"latitude_deg":11.965,"altitude":76,"angle":335,"satellites":45,"speed":8,"hex_longitude":"2d182440","hex_latitude":"0721b6d0","is_valid_coordinates":true} 
[2026-07-27 15:18:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:18:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997264896001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:18:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8880154122125312,"note":"Value kept but may cause issues"} 
[2026-07-27 15:18:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739585755446370304,"note":"Value kept but may cause issues"} 
[2026-07-27 15:18:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:18:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785145567000,"timestamp_ms":1785145567000,"timestamp_seconds":1785145567,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2f7a718"} 
[2026-07-27 15:18:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:18:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:18:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":231,"data_length":795,"current_offset":136} 
[2026-07-27 15:18:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2532,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:18:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:18:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:18:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:18:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:18:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:18:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:18:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:18:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:18:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:18:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997264896001,"66":13254,"120":206,"28":31744,"24":8,"16":8880154122125312,"45":1739585755446370304},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 15:18:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:18:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:18:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997264896001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:18:38] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 15:18:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:18:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8880154122125312,"km_value":8880154122125.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:18:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739585755446370304,"description":"Unknown IO ID 45"} 
[2026-07-27 15:18:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997264896001,"power":13254,"unknown_120":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1739585755446370304}} 
[2026-07-27 15:18:38] local.INFO: DEBUG: GPS processor result {"connection_id":143071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553737,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:18:38] local.INFO: GPS data processed {"connection_id":143071,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:18:38] local.INFO: Acknowledgment sent {"connection_id":143071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:18:38] local.INFO: TCP Data received {"connection_id":142921,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2f800f0012d9f3b0005a19860000b00bf27..."} 
[2026-07-27 15:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142921,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2f800f0012d9f3b0005a19860000b00bf27..."} 
[2026-07-27 15:18:38] local.INFO: Processing buffer {"connection_id":142921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2f800f0012d9f3b0005a19860000b00bf27..."} 
[2026-07-27 15:18:38] local.INFO: Packet analysis {"connection_id":142921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2f8"} 
[2026-07-27 15:18:38] local.INFO: Extracted packet for processing {"connection_id":142921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2f8"} 
[2026-07-27 15:18:38] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":11,"angle":191,"satellites":39,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 15:18:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:18:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997193984001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:18:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 15:18:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972979573867126784,"note":"Value kept but may cause issues"} 
[2026-07-27 15:18:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:18:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785145590000,"timestamp_ms":1785145590000,"timestamp_seconds":1785145590,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2f800f0"} 
[2026-07-27 15:18:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:18:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 15:18:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-27 15:18:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:18:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:18:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:18:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:18:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:18:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:18:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:18:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:18:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 15:18:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 15:18:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997193984001,"66":25875,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6972979573867126784},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 15:18:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 15:18:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 15:18:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997193984001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:18:38] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 15:18:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 15:18:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:18:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972979573867126784,"description":"Unknown IO ID 45"} 
[2026-07-27 15:18:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997193984001,"power":25875,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6972979573867126784}} 
[2026-07-27 15:18:38] local.INFO: DEBUG: GPS processor result {"connection_id":142921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:18:38] local.INFO: GPS data processed {"connection_id":142921,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:18:38] local.INFO: Acknowledgment sent {"connection_id":142921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:18:45] local.INFO: TCP Data received {"connection_id":145338,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145338,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:18:45] local.INFO: Processing buffer {"connection_id":145338,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:18:45] local.INFO: IMEI packet received {"connection_id":145338,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 15:18:45] local.INFO: IMEI acknowledgment sent {"connection_id":145338,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:18:46] local.INFO: TCP Data received {"connection_id":145338,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145338,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:18:46] local.INFO: Processing buffer {"connection_id":145338,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:18:46] local.INFO: IMEI packet received {"connection_id":145338,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 15:18:46] local.INFO: IMEI acknowledgment sent {"connection_id":145338,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:18:47] local.INFO: TCP Data received {"connection_id":145338,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145338,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:18:47] local.INFO: Processing buffer {"connection_id":145338,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:18:47] local.INFO: IMEI packet received {"connection_id":145338,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 15:18:47] local.INFO: IMEI acknowledgment sent {"connection_id":145338,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:18:48] local.INFO: TCP Data received {"connection_id":145338,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145338,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:18:48] local.INFO: Processing buffer {"connection_id":145338,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:18:48] local.INFO: IMEI packet received {"connection_id":145338,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 15:18:48] local.INFO: IMEI acknowledgment sent {"connection_id":145338,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:19:00] local.INFO: TCP Data received {"connection_id":144052,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144052,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:19:00] local.INFO: Processing buffer {"connection_id":144052,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:19:00] local.INFO: IMEI packet received {"connection_id":144052,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 15:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":144052,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:19:05] local.INFO: TCP Data received {"connection_id":144052,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144052,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:19:05] local.INFO: Processing buffer {"connection_id":144052,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:19:05] local.INFO: IMEI packet received {"connection_id":144052,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 15:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":144052,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:19:06] local.INFO: TCP Data received {"connection_id":144052,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2f7ab00012d1823800721b758004c01302e..."} 
[2026-07-27 15:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144052,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2f7ab00012d1823800721b758004c01302e..."} 
[2026-07-27 15:19:06] local.INFO: Processing buffer {"connection_id":144052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2f7ab00012d1823800721b758004c01302e..."} 
[2026-07-27 15:19:06] local.INFO: Packet analysis {"connection_id":144052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2f7"} 
[2026-07-27 15:19:06] local.INFO: Extracted packet for processing {"connection_id":144052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2f7"} 
[2026-07-27 15:19:06] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119650136,"longitude_deg":75.6556672,"latitude_deg":11.9650136,"altitude":76,"angle":304,"satellites":46,"speed":7,"hex_longitude":"2d182380","hex_latitude":"0721b758","is_valid_coordinates":true} 
[2026-07-27 15:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997265152001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:19:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8880162712059904,"note":"Value kept but may cause issues"} 
[2026-07-27 15:19:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739585755446431744,"note":"Value kept but may cause issues"} 
[2026-07-27 15:19:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:19:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785145568000,"timestamp_ms":1785145568000,"timestamp_seconds":1785145568,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2f7ab00"} 
[2026-07-27 15:19:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:19:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-27 15:19:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:19:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:19:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:19:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:19:06] local.INFO: Teltonika packet parsed successfully {"connection_id":144052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:19:06] local.INFO: Passing IMEI to GPS processor {"connection_id":144052,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:19:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":144052,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:19:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:19:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:19:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:19:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997265152001,"66":13254,"120":206,"28":31744,"24":7,"16":8880162712059904,"45":1739585755446431744},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 15:19:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:19:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:19:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997265152001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:19:06] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 15:19:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:19:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8880162712059904,"km_value":8880162712059.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:19:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739585755446431744,"description":"Unknown IO ID 45"} 
[2026-07-27 15:19:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997265152001,"power":13254,"unknown_120":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1739585755446431744}} 
[2026-07-27 15:19:06] local.INFO: DEBUG: GPS processor result {"connection_id":144052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553739,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:19:06] local.INFO: GPS data processed {"connection_id":144052,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:19:06] local.INFO: Acknowledgment sent {"connection_id":144052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:19:10] local.INFO: TCP Data received {"connection_id":142921,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2f800f0012d9f3b0005a19860000b00bf27..."} 
[2026-07-27 15:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142921,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2f800f0012d9f3b0005a19860000b00bf27..."} 
[2026-07-27 15:19:10] local.INFO: Processing buffer {"connection_id":142921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2f800f0012d9f3b0005a19860000b00bf27..."} 
[2026-07-27 15:19:10] local.INFO: Packet analysis {"connection_id":142921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2f8"} 
[2026-07-27 15:19:10] local.INFO: Extracted packet for processing {"connection_id":142921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2f8"} 
[2026-07-27 15:19:10] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":11,"angle":191,"satellites":39,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 15:19:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:19:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997193984001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:19:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 15:19:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972979573867126784,"note":"Value kept but may cause issues"} 
[2026-07-27 15:19:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:19:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785145590000,"timestamp_ms":1785145590000,"timestamp_seconds":1785145590,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2f800f0"} 
[2026-07-27 15:19:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:19:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 15:19:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-27 15:19:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:19:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:19:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:19:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:19:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:19:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:19:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:19:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:19:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 15:19:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 15:19:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997193984001,"66":25875,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6972979573867126784},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 15:19:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 15:19:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 15:19:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997193984001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:19:10] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 15:19:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 15:19:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:19:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972979573867126784,"description":"Unknown IO ID 45"} 
[2026-07-27 15:19:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997193984001,"power":25875,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6972979573867126784}} 
[2026-07-27 15:19:10] local.INFO: DEBUG: GPS processor result {"connection_id":142921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:19:10] local.INFO: GPS data processed {"connection_id":142921,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:19:10] local.INFO: Acknowledgment sent {"connection_id":142921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:19:31] local.INFO: TCP Data received {"connection_id":145339,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:19:31] local.INFO: Processing buffer {"connection_id":145339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:19:31] local.INFO: IMEI packet received {"connection_id":145339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 15:19:31] local.INFO: IMEI acknowledgment sent {"connection_id":145339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:19:37] local.INFO: TCP Data received {"connection_id":145339,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:19:37] local.INFO: Processing buffer {"connection_id":145339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:19:37] local.INFO: IMEI packet received {"connection_id":145339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 15:19:37] local.INFO: IMEI acknowledgment sent {"connection_id":145339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:19:38] local.INFO: TCP Data received {"connection_id":144052,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2f7fd08012d1825000721b828004a01302e..."} 
[2026-07-27 15:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144052,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2f7fd08012d1825000721b828004a01302e..."} 
[2026-07-27 15:19:38] local.INFO: Processing buffer {"connection_id":144052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2f7fd08012d1825000721b828004a01302e..."} 
[2026-07-27 15:19:38] local.INFO: Packet analysis {"connection_id":144052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2f7"} 
[2026-07-27 15:19:38] local.INFO: Extracted packet for processing {"connection_id":144052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2f7"} 
[2026-07-27 15:19:38] local.INFO: GPS Element Parsed {"raw_longitude":756557056,"raw_latitude":119650344,"longitude_deg":75.6557056,"latitude_deg":11.9650344,"altitude":74,"angle":304,"satellites":46,"speed":3,"hex_longitude":"2d182500","hex_latitude":"0721b828","is_valid_coordinates":true} 
[2026-07-27 15:19:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:19:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997265408001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:19:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8880222841602048,"note":"Value kept but may cause issues"} 
[2026-07-27 15:19:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213933568,"note":"Value kept but may cause issues"} 
[2026-07-27 15:19:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:19:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785145589000,"timestamp_ms":1785145589000,"timestamp_seconds":1785145589,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2f7fd08"} 
[2026-07-27 15:19:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:19:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:19:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-27 15:19:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:19:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:19:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:19:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:19:38] local.INFO: Teltonika packet parsed successfully {"connection_id":144052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:19:38] local.INFO: Passing IMEI to GPS processor {"connection_id":144052,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:19:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":144052,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:19:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:19:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:19:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:19:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997265408001,"66":13167,"120":206,"28":31744,"24":3,"16":8880222841602048,"45":1739374649213933568},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 15:19:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:19:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:19:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997265408001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:19:38] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 15:19:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:19:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8880222841602048,"km_value":8880222841602.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:19:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213933568,"description":"Unknown IO ID 45"} 
[2026-07-27 15:19:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997265408001,"power":13167,"unknown_120":206,"unknown_28":31744,"ignition":3,"odometer":null,"unknown_45":1739374649213933568}} 
[2026-07-27 15:19:38] local.INFO: DEBUG: GPS processor result {"connection_id":144052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553741,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:19:38] local.INFO: GPS data processed {"connection_id":144052,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:19:38] local.INFO: Acknowledgment sent {"connection_id":144052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:19:39] local.INFO: TCP Data received {"connection_id":145339,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2f800f0012d9f3b0005a19860000b00bf27..."} 
[2026-07-27 15:19:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2f800f0012d9f3b0005a19860000b00bf27..."} 
[2026-07-27 15:19:39] local.INFO: Processing buffer {"connection_id":145339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2f800f0012d9f3b0005a19860000b00bf27..."} 
[2026-07-27 15:19:39] local.INFO: Packet analysis {"connection_id":145339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2f8"} 
[2026-07-27 15:19:39] local.INFO: Extracted packet for processing {"connection_id":145339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2f8"} 
[2026-07-27 15:19:39] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":11,"angle":191,"satellites":39,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 15:19:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:19:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997193984001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:19:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 15:19:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972979573867126784,"note":"Value kept but may cause issues"} 
[2026-07-27 15:19:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:19:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785145590000,"timestamp_ms":1785145590000,"timestamp_seconds":1785145590,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2f800f0"} 
[2026-07-27 15:19:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:19:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 15: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-27 15:19:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:19:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:19:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:19:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:19:39] local.INFO: Teltonika packet parsed successfully {"connection_id":145339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:19:39] local.INFO: Passing IMEI to GPS processor {"connection_id":145339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:19:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":145339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:19:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:19:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 15:19:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 15:19:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997193984001,"66":25875,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6972979573867126784},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 15:19:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 15:19:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 15:19:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997193984001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:19:39] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 15:19:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 15:19:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:19:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972979573867126784,"description":"Unknown IO ID 45"} 
[2026-07-27 15:19:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997193984001,"power":25875,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6972979573867126784}} 
[2026-07-27 15:19:39] local.INFO: DEBUG: GPS processor result {"connection_id":145339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:19:39] local.INFO: GPS data processed {"connection_id":145339,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:19:39] local.INFO: Acknowledgment sent {"connection_id":145339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:19:59] local.INFO: TCP Data received {"connection_id":145340,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145340,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:19:59] local.INFO: Processing buffer {"connection_id":145340,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:19:59] local.INFO: IMEI packet received {"connection_id":145340,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 15:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":145340,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:20:05] local.INFO: TCP Data received {"connection_id":145340,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145340,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:20:05] local.INFO: Processing buffer {"connection_id":145340,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:20:05] local.INFO: IMEI packet received {"connection_id":145340,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 15:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":145340,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:20:06] local.INFO: TCP Data received {"connection_id":145340,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2f84f10012d1824c00721b7e0004a01302e..."} 
[2026-07-27 15:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2f84f10012d1824c00721b7e0004a01302e..."} 
[2026-07-27 15:20:06] local.INFO: Processing buffer {"connection_id":145340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2f84f10012d1824c00721b7e0004a01302e..."} 
[2026-07-27 15:20:06] local.INFO: Packet analysis {"connection_id":145340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2f8"} 
[2026-07-27 15:20:06] local.INFO: Extracted packet for processing {"connection_id":145340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2f8"} 
[2026-07-27 15:20:06] local.INFO: GPS Element Parsed {"raw_longitude":756556992,"raw_latitude":119650272,"longitude_deg":75.6556992,"latitude_deg":11.9650272,"altitude":74,"angle":304,"satellites":46,"speed":0,"hex_longitude":"2d1824c0","hex_latitude":"0721b7e0","is_valid_coordinates":true} 
[2026-07-27 15:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997270784001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:20:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8880227136569344,"note":"Value kept but may cause issues"} 
[2026-07-27 15:20:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739796861679052800,"note":"Value kept but may cause issues"} 
[2026-07-27 15:20:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:20:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785145610000,"timestamp_ms":1785145610000,"timestamp_seconds":1785145610,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2f84f10"} 
[2026-07-27 15:20:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:20:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-07-27 15:20:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1452,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:20:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:20:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:20:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:20:06] local.INFO: Teltonika packet parsed successfully {"connection_id":145340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:20:06] local.INFO: Passing IMEI to GPS processor {"connection_id":145340,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:20:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":145340,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:20:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:20:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:20:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:20:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997270784001,"66":13080,"120":206,"28":31744,"24":0,"16":8880227136569344,"45":1739796861679052800},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 15:20:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:20:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:20:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997270784001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:20:06] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 15:20:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:20:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8880227136569344,"km_value":8880227136569.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:20:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739796861679052800,"description":"Unknown IO ID 45"} 
[2026-07-27 15:20:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997270784001,"power":13080,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739796861679052800}} 
[2026-07-27 15:20:06] local.INFO: DEBUG: GPS processor result {"connection_id":145340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553743,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:20:06] local.INFO: GPS data processed {"connection_id":145340,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:20:06] local.INFO: Acknowledgment sent {"connection_id":145340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:20:10] local.INFO: TCP Data received {"connection_id":145339,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2f800f0012d9f3b0005a19860000b00bf27..."} 
[2026-07-27 15:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2f800f0012d9f3b0005a19860000b00bf27..."} 
[2026-07-27 15:20:11] local.INFO: Processing buffer {"connection_id":145339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2f800f0012d9f3b0005a19860000b00bf27..."} 
[2026-07-27 15:20:11] local.INFO: Packet analysis {"connection_id":145339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2f8"} 
[2026-07-27 15:20:11] local.INFO: Extracted packet for processing {"connection_id":145339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2f8"} 
[2026-07-27 15:20:11] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":11,"angle":191,"satellites":39,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 15:20:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:20:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997193984001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:20:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 15:20:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972979573867126784,"note":"Value kept but may cause issues"} 
[2026-07-27 15:20:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:20:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785145590000,"timestamp_ms":1785145590000,"timestamp_seconds":1785145590,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2f800f0"} 
[2026-07-27 15:20:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:20:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 15: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-27 15:20:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:20:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:20:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:20:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:20:11] local.INFO: Teltonika packet parsed successfully {"connection_id":145339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:20:11] local.INFO: Passing IMEI to GPS processor {"connection_id":145339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:20:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":145339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:20:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:20:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 15:20:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 15:20:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997193984001,"66":25875,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6972979573867126784},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 15:20:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 15:20:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 15:20:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997193984001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:20:11] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 15:20:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 15:20:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:20:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972979573867126784,"description":"Unknown IO ID 45"} 
[2026-07-27 15:20:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997193984001,"power":25875,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6972979573867126784}} 
[2026-07-27 15:20:11] local.INFO: DEBUG: GPS processor result {"connection_id":145339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:20:11] local.INFO: GPS data processed {"connection_id":145339,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:20:11] local.INFO: Acknowledgment sent {"connection_id":145339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:20:31] local.INFO: TCP Data received {"connection_id":142923,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:20:31] local.INFO: Processing buffer {"connection_id":142923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:20:31] local.INFO: IMEI packet received {"connection_id":142923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 15:20:31] local.INFO: IMEI acknowledgment sent {"connection_id":142923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:20:37] local.INFO: TCP Data received {"connection_id":142923,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:20:37] local.INFO: Processing buffer {"connection_id":142923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:20:37] local.INFO: IMEI packet received {"connection_id":142923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 15:20:37] local.INFO: IMEI acknowledgment sent {"connection_id":142923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:20:38] local.INFO: TCP Data received {"connection_id":145340,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2f8a118012d1824c00721b7e0004a01302e..."} 
[2026-07-27 15:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2f8a118012d1824c00721b7e0004a01302e..."} 
[2026-07-27 15:20:38] local.INFO: Processing buffer {"connection_id":145340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2f8a118012d1824c00721b7e0004a01302e..."} 
[2026-07-27 15:20:38] local.INFO: Packet analysis {"connection_id":145340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2f8"} 
[2026-07-27 15:20:38] local.INFO: Extracted packet for processing {"connection_id":145340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2f8"} 
[2026-07-27 15:20:38] local.INFO: GPS Element Parsed {"raw_longitude":756556992,"raw_latitude":119650272,"longitude_deg":75.6556992,"latitude_deg":11.9650272,"altitude":74,"angle":304,"satellites":46,"speed":0,"hex_longitude":"2d1824c0","hex_latitude":"0721b7e0","is_valid_coordinates":true} 
[2026-07-27 15:20:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:20:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997276160001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:20:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8880227136569344,"note":"Value kept but may cause issues"} 
[2026-07-27 15:20:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739726492934856704,"note":"Value kept but may cause issues"} 
[2026-07-27 15:20:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:20:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785145631000,"timestamp_ms":1785145631000,"timestamp_seconds":1785145631,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2f8a118"} 
[2026-07-27 15:20:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:20:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:20:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-07-27 15:20:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:20:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:20:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:20:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:20:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:20:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145340,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:20:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145340,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:20:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:20:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:20:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:20:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997276160001,"66":12950,"120":206,"28":31744,"24":0,"16":8880227136569344,"45":1739726492934856704},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 15:20:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:20:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:20:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997276160001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:20:38] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 15:20:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:20:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8880227136569344,"km_value":8880227136569.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:20:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739726492934856704,"description":"Unknown IO ID 45"} 
[2026-07-27 15:20:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997276160001,"power":12950,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739726492934856704}} 
[2026-07-27 15:20:38] local.INFO: DEBUG: GPS processor result {"connection_id":145340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553745,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:20:38] local.INFO: GPS data processed {"connection_id":145340,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:20:38] local.INFO: Acknowledgment sent {"connection_id":145340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:20:40] local.INFO: TCP Data received {"connection_id":142923,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2f800f0012d9f3b0005a19860000b00bf27..."} 
[2026-07-27 15:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2f800f0012d9f3b0005a19860000b00bf27..."} 
[2026-07-27 15:20:40] local.INFO: Processing buffer {"connection_id":142923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2f800f0012d9f3b0005a19860000b00bf27..."} 
[2026-07-27 15:20:40] local.INFO: Packet analysis {"connection_id":142923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2f8"} 
[2026-07-27 15:20:40] local.INFO: Extracted packet for processing {"connection_id":142923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2f8"} 
[2026-07-27 15:20:40] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":11,"angle":191,"satellites":39,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 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-07-27 15:20:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997193984001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:20:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 15:20:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972979573867126784,"note":"Value kept but may cause issues"} 
[2026-07-27 15:20:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:20:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785145590000,"timestamp_ms":1785145590000,"timestamp_seconds":1785145590,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2f800f0"} 
[2026-07-27 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-07-27 15:20:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-27 15:20:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 15:20:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:20:40] local.INFO: Teltonika packet parsed successfully {"connection_id":142923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:20:40] local.INFO: Passing IMEI to GPS processor {"connection_id":142923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:20:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":142923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:20: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-07-27 15:20:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 15:20:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 15:20:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997193984001,"66":25875,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6972979573867126784},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 15:20:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 15:20:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 15:20:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997193984001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:20:40] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 15:20:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 15:20:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:20:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972979573867126784,"description":"Unknown IO ID 45"} 
[2026-07-27 15:20:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997193984001,"power":25875,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6972979573867126784}} 
[2026-07-27 15:20:40] local.INFO: DEBUG: GPS processor result {"connection_id":142923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:20:40] local.INFO: GPS data processed {"connection_id":142923,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:20:40] local.INFO: Acknowledgment sent {"connection_id":142923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:20:59] local.INFO: TCP Data received {"connection_id":143073,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143073,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:20:59] local.INFO: Processing buffer {"connection_id":143073,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:20:59] local.INFO: IMEI packet received {"connection_id":143073,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 15:20:59] local.INFO: IMEI acknowledgment sent {"connection_id":143073,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:21:05] local.INFO: TCP Data received {"connection_id":143073,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143073,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:21:05] local.INFO: Processing buffer {"connection_id":143073,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:21:05] local.INFO: IMEI packet received {"connection_id":143073,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 15:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":143073,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:21:06] local.INFO: TCP Data received {"connection_id":143073,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2f8f320012d1824c00721b7e0004a01302f..."} 
[2026-07-27 15:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143073,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2f8f320012d1824c00721b7e0004a01302f..."} 
[2026-07-27 15:21:06] local.INFO: Processing buffer {"connection_id":143073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2f8f320012d1824c00721b7e0004a01302f..."} 
[2026-07-27 15:21:06] local.INFO: Packet analysis {"connection_id":143073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2f8"} 
[2026-07-27 15:21:06] local.INFO: Extracted packet for processing {"connection_id":143073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2f8"} 
[2026-07-27 15:21:06] local.INFO: GPS Element Parsed {"raw_longitude":756556992,"raw_latitude":119650272,"longitude_deg":75.6556992,"latitude_deg":11.9650272,"altitude":74,"angle":304,"satellites":47,"speed":0,"hex_longitude":"2d1824c0","hex_latitude":"0721b7e0","is_valid_coordinates":true} 
[2026-07-27 15:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:21:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997281536001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:21:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8880227136569344,"note":"Value kept but may cause issues"} 
[2026-07-27 15:21:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739726492934856704,"note":"Value kept but may cause issues"} 
[2026-07-27 15:21:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:21:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785145652000,"timestamp_ms":1785145652000,"timestamp_seconds":1785145652,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2f8f320"} 
[2026-07-27 15:21:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:21:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-27 15:21:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:21:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:21:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:21:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:21:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:21:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:21:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:21:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:21:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:21:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:21:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997281536001,"66":12950,"120":206,"28":31744,"24":0,"16":8880227136569344,"45":1739726492934856704},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 15:21:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:21:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:21:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997281536001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:21:06] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 15:21:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:21:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8880227136569344,"km_value":8880227136569.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:21:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739726492934856704,"description":"Unknown IO ID 45"} 
[2026-07-27 15:21:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997281536001,"power":12950,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739726492934856704}} 
[2026-07-27 15:21:06] local.INFO: DEBUG: GPS processor result {"connection_id":143073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553747,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:21:06] local.INFO: GPS data processed {"connection_id":143073,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:21:06] local.INFO: Acknowledgment sent {"connection_id":143073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:21:12] local.INFO: TCP Data received {"connection_id":142923,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2f800f0012d9f3b0005a19860000b00bf27..."} 
[2026-07-27 15:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2f800f0012d9f3b0005a19860000b00bf27..."} 
[2026-07-27 15:21:12] local.INFO: Processing buffer {"connection_id":142923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2f800f0012d9f3b0005a19860000b00bf27..."} 
[2026-07-27 15:21:12] local.INFO: Packet analysis {"connection_id":142923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2f8"} 
[2026-07-27 15:21:12] local.INFO: Extracted packet for processing {"connection_id":142923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2f8"} 
[2026-07-27 15:21:12] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":11,"angle":191,"satellites":39,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 15:21:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:21:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997193984001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:21:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 15:21:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972979573867126784,"note":"Value kept but may cause issues"} 
[2026-07-27 15:21:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:21:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785145590000,"timestamp_ms":1785145590000,"timestamp_seconds":1785145590,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2f800f0"} 
[2026-07-27 15:21:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:21:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 15:21:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-27 15:21:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:21:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:21:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:21:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:21:12] local.INFO: Teltonika packet parsed successfully {"connection_id":142923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:21:12] local.INFO: Passing IMEI to GPS processor {"connection_id":142923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:21:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":142923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:21: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-07-27 15:21:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 15:21:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 15:21:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997193984001,"66":25875,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6972979573867126784},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 15:21:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 15:21:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 15:21:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997193984001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:21:12] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 15:21:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 15:21:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:21:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972979573867126784,"description":"Unknown IO ID 45"} 
[2026-07-27 15:21:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997193984001,"power":25875,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6972979573867126784}} 
[2026-07-27 15:21:12] local.INFO: DEBUG: GPS processor result {"connection_id":142923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:21:12] local.INFO: GPS data processed {"connection_id":142923,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:21:12] local.INFO: Acknowledgment sent {"connection_id":142923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:21:31] local.INFO: TCP Data received {"connection_id":145341,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:21:31] local.INFO: Processing buffer {"connection_id":145341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:21:31] local.INFO: IMEI packet received {"connection_id":145341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 15:21:31] local.INFO: IMEI acknowledgment sent {"connection_id":145341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:21:37] local.INFO: TCP Data received {"connection_id":145341,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:21:37] local.INFO: Processing buffer {"connection_id":145341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:21:37] local.INFO: IMEI packet received {"connection_id":145341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 15:21:37] local.INFO: IMEI acknowledgment sent {"connection_id":145341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:21:38] local.INFO: TCP Data received {"connection_id":145341,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2f800f0012d9f3b0005a19860000b00bf27..."} 
[2026-07-27 15:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145341,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2f800f0012d9f3b0005a19860000b00bf27..."} 
[2026-07-27 15:21:38] local.INFO: Processing buffer {"connection_id":145341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2f800f0012d9f3b0005a19860000b00bf27..."} 
[2026-07-27 15:21:38] local.INFO: Packet analysis {"connection_id":145341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2f8"} 
[2026-07-27 15:21:38] local.INFO: Extracted packet for processing {"connection_id":145341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2f8"} 
[2026-07-27 15:21:38] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":11,"angle":191,"satellites":39,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 15:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:21:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997193984001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:21:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 15:21:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972979573867126784,"note":"Value kept but may cause issues"} 
[2026-07-27 15:21:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:21:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785145590000,"timestamp_ms":1785145590000,"timestamp_seconds":1785145590,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2f800f0"} 
[2026-07-27 15:21:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:21:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 15:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-27 15:21:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:21:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:21:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:21:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:21:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:21:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:21:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:21:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:21:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 15:21:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 15:21:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997193984001,"66":25875,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6972979573867126784},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 15:21:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 15:21:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 15:21:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997193984001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:21:38] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 15:21:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 15:21:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:21:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972979573867126784,"description":"Unknown IO ID 45"} 
[2026-07-27 15:21:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997193984001,"power":25875,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6972979573867126784}} 
[2026-07-27 15:21:38] local.INFO: DEBUG: GPS processor result {"connection_id":145341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:21:38] local.INFO: GPS data processed {"connection_id":145341,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:21:38] local.INFO: Acknowledgment sent {"connection_id":145341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:21:38] local.INFO: TCP Data received {"connection_id":143073,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2f94528012d1824c00721b7e0004a01302f..."} 
[2026-07-27 15:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143073,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2f94528012d1824c00721b7e0004a01302f..."} 
[2026-07-27 15:21:38] local.INFO: Processing buffer {"connection_id":143073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2f94528012d1824c00721b7e0004a01302f..."} 
[2026-07-27 15:21:38] local.INFO: Packet analysis {"connection_id":143073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2f9"} 
[2026-07-27 15:21:38] local.INFO: Extracted packet for processing {"connection_id":143073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2f9"} 
[2026-07-27 15:21:38] local.INFO: GPS Element Parsed {"raw_longitude":756556992,"raw_latitude":119650272,"longitude_deg":75.6556992,"latitude_deg":11.9650272,"altitude":74,"angle":304,"satellites":47,"speed":0,"hex_longitude":"2d1824c0","hex_latitude":"0721b7e0","is_valid_coordinates":true} 
[2026-07-27 15:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:21:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997286912001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:21:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8880227136569344,"note":"Value kept but may cause issues"} 
[2026-07-27 15:21:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739726492934856704,"note":"Value kept but may cause issues"} 
[2026-07-27 15:21:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:21:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785145673000,"timestamp_ms":1785145673000,"timestamp_seconds":1785145673,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2f94528"} 
[2026-07-27 15:21:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:21:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-27 15:21:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:21:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:21:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:21:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:21:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:21:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:21:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:21:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:21:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:21:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:21:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997286912001,"66":12874,"120":206,"28":31744,"24":0,"16":8880227136569344,"45":1739726492934856704},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 15:21:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:21:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:21:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997286912001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:21:38] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 15:21:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:21:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8880227136569344,"km_value":8880227136569.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:21:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739726492934856704,"description":"Unknown IO ID 45"} 
[2026-07-27 15:21:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997286912001,"power":12874,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739726492934856704}} 
[2026-07-27 15:21:38] local.INFO: DEBUG: GPS processor result {"connection_id":143073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553750,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:21:38] local.INFO: GPS data processed {"connection_id":143073,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:21:38] local.INFO: Acknowledgment sent {"connection_id":143073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:22:03] local.INFO: TCP Data received {"connection_id":142924,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142924,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:22:03] local.INFO: Processing buffer {"connection_id":142924,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:22:03] local.INFO: IMEI packet received {"connection_id":142924,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 15:22:03] local.INFO: IMEI acknowledgment sent {"connection_id":142924,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:22:04] local.INFO: TCP Data received {"connection_id":142924,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142924,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:22:04] local.INFO: Processing buffer {"connection_id":142924,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:22:04] local.INFO: IMEI packet received {"connection_id":142924,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 15:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":142924,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:22:10] local.INFO: TCP Data received {"connection_id":142924,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142924,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:22:10] local.INFO: Processing buffer {"connection_id":142924,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:22:10] local.INFO: IMEI packet received {"connection_id":142924,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 15:22:10] local.INFO: IMEI acknowledgment sent {"connection_id":142924,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:22:10] local.INFO: TCP Data received {"connection_id":145341,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2f800f0012d9f3b0005a19860000b00bf27..."} 
[2026-07-27 15:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145341,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2f800f0012d9f3b0005a19860000b00bf27..."} 
[2026-07-27 15:22:10] local.INFO: Processing buffer {"connection_id":145341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2f800f0012d9f3b0005a19860000b00bf27..."} 
[2026-07-27 15:22:10] local.INFO: Packet analysis {"connection_id":145341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2f8"} 
[2026-07-27 15:22:10] local.INFO: Extracted packet for processing {"connection_id":145341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2f8"} 
[2026-07-27 15:22:10] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":11,"angle":191,"satellites":39,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 15:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:22:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997193984001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:22:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 15:22:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972979573867126784,"note":"Value kept but may cause issues"} 
[2026-07-27 15:22:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:22:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785145590000,"timestamp_ms":1785145590000,"timestamp_seconds":1785145590,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2f800f0"} 
[2026-07-27 15:22:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:22:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 15:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-27 15:22:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:22:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:22:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:22:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:22:10] local.INFO: Teltonika packet parsed successfully {"connection_id":145341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:22:10] local.INFO: Passing IMEI to GPS processor {"connection_id":145341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:22:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":145341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:22:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:22:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 15:22:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 15:22:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997193984001,"66":25875,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6972979573867126784},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 15:22:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 15:22:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 15:22:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997193984001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:22:10] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 15:22:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 15:22:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:22:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972979573867126784,"description":"Unknown IO ID 45"} 
[2026-07-27 15:22:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997193984001,"power":25875,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6972979573867126784}} 
[2026-07-27 15:22:10] local.INFO: DEBUG: GPS processor result {"connection_id":145341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:22:10] local.INFO: GPS data processed {"connection_id":145341,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:22:10] local.INFO: Acknowledgment sent {"connection_id":145341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:22:11] local.INFO: TCP Data received {"connection_id":142924,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2f99730012d1824c00721b7e0004a013030..."} 
[2026-07-27 15:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142924,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2f99730012d1824c00721b7e0004a013030..."} 
[2026-07-27 15:22:11] local.INFO: Processing buffer {"connection_id":142924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2f99730012d1824c00721b7e0004a013030..."} 
[2026-07-27 15:22:11] local.INFO: Packet analysis {"connection_id":142924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2f9"} 
[2026-07-27 15:22:11] local.INFO: Extracted packet for processing {"connection_id":142924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2f9"} 
[2026-07-27 15:22:11] local.INFO: GPS Element Parsed {"raw_longitude":756556992,"raw_latitude":119650272,"longitude_deg":75.6556992,"latitude_deg":11.9650272,"altitude":74,"angle":304,"satellites":48,"speed":0,"hex_longitude":"2d1824c0","hex_latitude":"0721b7e0","is_valid_coordinates":true} 
[2026-07-27 15:22:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:22:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997292288001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:22:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8880227136569344,"note":"Value kept but may cause issues"} 
[2026-07-27 15:22:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739726492934856704,"note":"Value kept but may cause issues"} 
[2026-07-27 15:22:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:22:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785145694000,"timestamp_ms":1785145694000,"timestamp_seconds":1785145694,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2f99730"} 
[2026-07-27 15:22:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:22:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:22:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-07-27 15:22:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1114,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:22:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:22:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:22:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:22:11] local.INFO: Teltonika packet parsed successfully {"connection_id":142924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:22:11] local.INFO: Passing IMEI to GPS processor {"connection_id":142924,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:22:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":142924,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:22:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:22:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:22:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:22:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997292288001,"66":12558,"120":206,"28":31744,"24":0,"16":8880227136569344,"45":1739726492934856704},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 15:22:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:22:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:22:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997292288001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:22:11] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 15:22:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:22:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8880227136569344,"km_value":8880227136569.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:22:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739726492934856704,"description":"Unknown IO ID 45"} 
[2026-07-27 15:22:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997292288001,"power":12558,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739726492934856704}} 
[2026-07-27 15:22:11] local.INFO: DEBUG: GPS processor result {"connection_id":142924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553752,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:22:11] local.INFO: GPS data processed {"connection_id":142924,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:22:11] local.INFO: Acknowledgment sent {"connection_id":142924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:22:37] local.INFO: TCP Data received {"connection_id":142925,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:22:37] local.INFO: Processing buffer {"connection_id":142925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:22:37] local.INFO: IMEI packet received {"connection_id":142925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 15:22:37] local.INFO: IMEI acknowledgment sent {"connection_id":142925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:22:42] local.INFO: TCP Data received {"connection_id":142925,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:22:42] local.INFO: Processing buffer {"connection_id":142925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:22:42] local.INFO: IMEI packet received {"connection_id":142925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 15:22:42] local.INFO: IMEI acknowledgment sent {"connection_id":142925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:22:42] local.INFO: TCP Data received {"connection_id":142924,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2f9e938012d1824c00721b7e0004a013030..."} 
[2026-07-27 15:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142924,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2f9e938012d1824c00721b7e0004a013030..."} 
[2026-07-27 15:22:42] local.INFO: Processing buffer {"connection_id":142924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2f9e938012d1824c00721b7e0004a013030..."} 
[2026-07-27 15:22:42] local.INFO: Packet analysis {"connection_id":142924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2f9"} 
[2026-07-27 15:22:42] local.INFO: Extracted packet for processing {"connection_id":142924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2f9"} 
[2026-07-27 15:22:42] local.INFO: GPS Element Parsed {"raw_longitude":756556992,"raw_latitude":119650272,"longitude_deg":75.6556992,"latitude_deg":11.9650272,"altitude":74,"angle":304,"satellites":48,"speed":0,"hex_longitude":"2d1824c0","hex_latitude":"0721b7e0","is_valid_coordinates":true} 
[2026-07-27 15:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:22:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997297664001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:22:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8880227136569344,"note":"Value kept but may cause issues"} 
[2026-07-27 15:22:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739726492934856704,"note":"Value kept but may cause issues"} 
[2026-07-27 15:22:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:22:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785145715000,"timestamp_ms":1785145715000,"timestamp_seconds":1785145715,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2f9e938"} 
[2026-07-27 15:22:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:22:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-07-27 15:22:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-07-27 15:22:42] local.WARNING: Large IO value detected {"io_id":140,"raw_value":2231369728,"note":"Value kept but may cause issues"} 
[2026-07-27 15:22:42] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2734140160,"note":"Value kept but may cause issues"} 
[2026-07-27 15:22:42] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249386988563969744,"note":"Value kept but may cause issues"} 
[2026-07-27 15:22:42] local.WARNING: Large IO value detected {"io_id":162,"raw_value":4165931009,"note":"Value kept but may cause issues"} 
[2026-07-27 15:22:42] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3084910666,"note":"Value kept but may cause issues"} 
[2026-07-27 15:22:42] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-07-27 15:22:42] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2357460992,"note":"Value kept but may cause issues"} 
[2026-07-27 15:22:42] local.WARNING: Large IO value detected {"io_id":7,"raw_value":563985040580120,"note":"Value kept but may cause issues"} 
[2026-07-27 15:22:42] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8647137906286139392,"note":"Value kept but may cause issues"} 
[2026-07-27 15:22:42] local.WARNING: Large IO value detected {"io_id":87,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-27 15:22:42] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253842946,"note":"Value kept but may cause issues"} 
[2026-07-27 15:22:42] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,120,28,24,241,158,16,140,159,69,45,192,183,74,47,10,66,243,161,1,240,150,162,33,4,113,205,253,37,40,46,239,51,2,31,7,76,231,87,206],"length":575,"final_offset":705,"validated_count":40,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-07-27 15:22:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5332596416499941376,"timestamp_seconds":5332596416499941.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 15:22:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:22:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:22:42] local.INFO: Teltonika packet parsed successfully {"connection_id":142924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:22:42] local.INFO: Passing IMEI to GPS processor {"connection_id":142924,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:22:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":142924,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:22:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:22:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:22:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:22:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997297664001,"66":11928,"120":206,"28":31744,"24":0,"16":8880227136569344,"45":1739726492934856704},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 15:22:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:22:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:22:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997297664001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:22:42] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 15:22:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:22:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8880227136569344,"km_value":8880227136569.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:22:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739726492934856704,"description":"Unknown IO ID 45"} 
[2026-07-27 15:22:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997297664001,"power":11928,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739726492934856704}} 
[2026-07-27 15:22:43] local.INFO: DEBUG: GPS processor result {"connection_id":142924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553753,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:22:43] local.INFO: GPS data processed {"connection_id":142924,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:22:43] local.INFO: Acknowledgment sent {"connection_id":142924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:22:43] local.INFO: TCP Data received {"connection_id":142925,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2fc98b8012d9f3b0005a19860000b00bf2a..."} 
[2026-07-27 15:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2fc98b8012d9f3b0005a19860000b00bf2a..."} 
[2026-07-27 15:22:43] local.INFO: Processing buffer {"connection_id":142925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2fc98b8012d9f3b0005a19860000b00bf2a..."} 
[2026-07-27 15:22:43] local.INFO: Packet analysis {"connection_id":142925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2fc"} 
[2026-07-27 15:22:43] local.INFO: Extracted packet for processing {"connection_id":142925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2fc"} 
[2026-07-27 15:22:43] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":11,"angle":191,"satellites":42,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 15:22:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:22:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997271040001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:22:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 15:22:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972979573867126784,"note":"Value kept but may cause issues"} 
[2026-07-27 15:22:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:22:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785145891000,"timestamp_ms":1785145891000,"timestamp_seconds":1785145891,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2fc98b8"} 
[2026-07-27 15:22:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:22:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 15:22:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-27 15:22:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:22:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:22:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:22:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:22:43] local.INFO: Teltonika packet parsed successfully {"connection_id":142925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:22:43] local.INFO: Passing IMEI to GPS processor {"connection_id":142925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:22:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":142925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:22:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:22:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 15:22:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 15:22:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997271040001,"66":25778,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6972979573867126784},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 15:22:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 15:22:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 15:22:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997271040001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:22:43] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 15:22:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 15:22:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:22:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972979573867126784,"description":"Unknown IO ID 45"} 
[2026-07-27 15:22:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997271040001,"power":25778,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6972979573867126784}} 
[2026-07-27 15:22:43] local.INFO: DEBUG: GPS processor result {"connection_id":142925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:22:43] local.INFO: GPS data processed {"connection_id":142925,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:22:43] local.INFO: Acknowledgment sent {"connection_id":142925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:23:00] local.INFO: TCP Data received {"connection_id":145343,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145343,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:23:00] local.INFO: Processing buffer {"connection_id":145343,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:23:00] local.INFO: IMEI packet received {"connection_id":145343,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 15:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":145343,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:23:05] local.INFO: TCP Data received {"connection_id":145343,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145343,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:23:05] local.INFO: Processing buffer {"connection_id":145343,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:23:05] local.INFO: IMEI packet received {"connection_id":145343,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 15:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":145343,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:23:06] local.INFO: TCP Data received {"connection_id":145343,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2fa3b40012d1824c00721b7e0004a01302e..."} 
[2026-07-27 15:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145343,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2fa3b40012d1824c00721b7e0004a01302e..."} 
[2026-07-27 15:23:06] local.INFO: Processing buffer {"connection_id":145343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2fa3b40012d1824c00721b7e0004a01302e..."} 
[2026-07-27 15:23:06] local.INFO: Packet analysis {"connection_id":145343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2fa"} 
[2026-07-27 15:23:06] local.INFO: Extracted packet for processing {"connection_id":145343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2fa"} 
[2026-07-27 15:23:06] local.INFO: GPS Element Parsed {"raw_longitude":756556992,"raw_latitude":119650272,"longitude_deg":75.6556992,"latitude_deg":11.9650272,"altitude":74,"angle":304,"satellites":46,"speed":0,"hex_longitude":"2d1824c0","hex_latitude":"0721b7e0","is_valid_coordinates":true} 
[2026-07-27 15:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:23:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997303040001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:23:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8880227136569344,"note":"Value kept but may cause issues"} 
[2026-07-27 15:23:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739726492934856704,"note":"Value kept but may cause issues"} 
[2026-07-27 15:23:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:23:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785145736000,"timestamp_ms":1785145736000,"timestamp_seconds":1785145736,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2fa3b40"} 
[2026-07-27 15:23:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:23:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-27 15:23:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1796,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:23:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:23:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:23:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:23:07] local.INFO: Teltonika packet parsed successfully {"connection_id":145343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:23:07] local.INFO: Passing IMEI to GPS processor {"connection_id":145343,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:23:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":145343,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:23:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:23:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:23:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:23:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997303040001,"66":12776,"120":206,"28":31744,"24":0,"16":8880227136569344,"45":1739726492934856704},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 15:23:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:23:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:23:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997303040001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:23:07] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 15:23:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:23:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8880227136569344,"km_value":8880227136569.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:23:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739726492934856704,"description":"Unknown IO ID 45"} 
[2026-07-27 15:23:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997303040001,"power":12776,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739726492934856704}} 
[2026-07-27 15:23:07] local.INFO: DEBUG: GPS processor result {"connection_id":145343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553755,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:23:07] local.INFO: GPS data processed {"connection_id":145343,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:23:07] local.INFO: Acknowledgment sent {"connection_id":145343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:23:15] local.INFO: TCP Data received {"connection_id":142925,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2fc98b8012d9f3b0005a19860000b00bf2a..."} 
[2026-07-27 15:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2fc98b8012d9f3b0005a19860000b00bf2a..."} 
[2026-07-27 15:23:15] local.INFO: Processing buffer {"connection_id":142925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2fc98b8012d9f3b0005a19860000b00bf2a..."} 
[2026-07-27 15:23:15] local.INFO: Packet analysis {"connection_id":142925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2fc"} 
[2026-07-27 15:23:15] local.INFO: Extracted packet for processing {"connection_id":142925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2fc"} 
[2026-07-27 15:23:15] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":11,"angle":191,"satellites":42,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 15: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-07-27 15:23:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997271040001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:23:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 15:23:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972979573867126784,"note":"Value kept but may cause issues"} 
[2026-07-27 15:23:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:23:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785145891000,"timestamp_ms":1785145891000,"timestamp_seconds":1785145891,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2fc98b8"} 
[2026-07-27 15:23:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:23:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 15: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-27 15:23:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15: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-07-27 15:23:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:23:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:23:15] local.INFO: Teltonika packet parsed successfully {"connection_id":142925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:23:15] local.INFO: Passing IMEI to GPS processor {"connection_id":142925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:23:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":142925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:23:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:23:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 15:23:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 15:23:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997271040001,"66":25778,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6972979573867126784},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 15:23:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 15:23:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 15:23:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997271040001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:23:15] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 15:23:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 15:23:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:23:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972979573867126784,"description":"Unknown IO ID 45"} 
[2026-07-27 15:23:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997271040001,"power":25778,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6972979573867126784}} 
[2026-07-27 15:23:15] local.INFO: DEBUG: GPS processor result {"connection_id":142925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:23:15] local.INFO: GPS data processed {"connection_id":142925,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:23:15] local.INFO: Acknowledgment sent {"connection_id":142925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:23:31] local.INFO: TCP Data received {"connection_id":144054,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:23:31] local.INFO: Processing buffer {"connection_id":144054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:23:31] local.INFO: IMEI packet received {"connection_id":144054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 15:23:31] local.INFO: IMEI acknowledgment sent {"connection_id":144054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:23:37] local.INFO: TCP Data received {"connection_id":144054,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:23:37] local.INFO: Processing buffer {"connection_id":144054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:23:37] local.INFO: IMEI packet received {"connection_id":144054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 15:23:37] local.INFO: IMEI acknowledgment sent {"connection_id":144054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:23:38] local.INFO: TCP Data received {"connection_id":145343,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2fa8d48012d1824c00721b7e0004a013030..."} 
[2026-07-27 15:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145343,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2fa8d48012d1824c00721b7e0004a013030..."} 
[2026-07-27 15:23:38] local.INFO: Processing buffer {"connection_id":145343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2fa8d48012d1824c00721b7e0004a013030..."} 
[2026-07-27 15:23:38] local.INFO: Packet analysis {"connection_id":145343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2fa"} 
[2026-07-27 15:23:38] local.INFO: Extracted packet for processing {"connection_id":145343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2fa"} 
[2026-07-27 15:23:38] local.INFO: GPS Element Parsed {"raw_longitude":756556992,"raw_latitude":119650272,"longitude_deg":75.6556992,"latitude_deg":11.9650272,"altitude":74,"angle":304,"satellites":48,"speed":0,"hex_longitude":"2d1824c0","hex_latitude":"0721b7e0","is_valid_coordinates":true} 
[2026-07-27 15:23:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:23:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997308416001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:23:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8880227136569344,"note":"Value kept but may cause issues"} 
[2026-07-27 15:23:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739726492934856704,"note":"Value kept but may cause issues"} 
[2026-07-27 15:23:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:23:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785145757000,"timestamp_ms":1785145757000,"timestamp_seconds":1785145757,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2fa8d48"} 
[2026-07-27 15:23:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:23:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:23:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-27 15:23:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:23:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:23:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:23:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:23:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:23:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145343,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:23:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145343,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:23:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:23:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:23:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:23:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997308416001,"66":12722,"120":206,"28":31744,"24":0,"16":8880227136569344,"45":1739726492934856704},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 15:23:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:23:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:23:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997308416001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:23:38] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 15:23:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:23:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8880227136569344,"km_value":8880227136569.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:23:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739726492934856704,"description":"Unknown IO ID 45"} 
[2026-07-27 15:23:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997308416001,"power":12722,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739726492934856704}} 
[2026-07-27 15:23:38] local.INFO: TCP Data received {"connection_id":144054,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2fc98b8012d9f3b0005a19860000b00bf2a..."} 
[2026-07-27 15:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144054,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2fc98b8012d9f3b0005a19860000b00bf2a..."} 
[2026-07-27 15:23:38] local.INFO: Processing buffer {"connection_id":144054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2fc98b8012d9f3b0005a19860000b00bf2a..."} 
[2026-07-27 15:23:38] local.INFO: Packet analysis {"connection_id":144054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2fc"} 
[2026-07-27 15:23:38] local.INFO: Extracted packet for processing {"connection_id":144054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2fc"} 
[2026-07-27 15:23:38] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":11,"angle":191,"satellites":42,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 15:23:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:23:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997271040001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:23:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 15:23:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972979573867126784,"note":"Value kept but may cause issues"} 
[2026-07-27 15:23:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:23:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785145891000,"timestamp_ms":1785145891000,"timestamp_seconds":1785145891,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2fc98b8"} 
[2026-07-27 15:23:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:23:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 15:23:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-27 15:23:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:23:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:23:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:23:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:23:38] local.INFO: Teltonika packet parsed successfully {"connection_id":144054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:23:38] local.INFO: Passing IMEI to GPS processor {"connection_id":144054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:23:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":144054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:23:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:23:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 15:23:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 15:23:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997271040001,"66":25778,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6972979573867126784},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 15:23:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 15:23:38] local.INFO: DEBUG: GPS processor result {"connection_id":145343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553757,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:23:38] local.INFO: GPS data processed {"connection_id":145343,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:23:38] local.INFO: Acknowledgment sent {"connection_id":145343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:23:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 15:23:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997271040001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:23:38] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 15:23:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 15:23:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:23:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972979573867126784,"description":"Unknown IO ID 45"} 
[2026-07-27 15:23:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997271040001,"power":25778,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6972979573867126784}} 
[2026-07-27 15:23:38] local.INFO: DEBUG: GPS processor result {"connection_id":144054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:23:38] local.INFO: GPS data processed {"connection_id":144054,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:23:38] local.INFO: Acknowledgment sent {"connection_id":144054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:23:53] local.INFO: TCP Data received {"connection_id":145344,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145344,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:23:53] local.INFO: Processing buffer {"connection_id":145344,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:23:53] local.INFO: IMEI packet received {"connection_id":145344,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 15:23:53] local.INFO: IMEI acknowledgment sent {"connection_id":145344,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:23:58] local.INFO: TCP Data received {"connection_id":145344,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145344,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:23:58] local.INFO: Processing buffer {"connection_id":145344,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:23:58] local.INFO: IMEI packet received {"connection_id":145344,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 15:23:58] local.INFO: IMEI acknowledgment sent {"connection_id":145344,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:23:59] local.INFO: TCP Data received {"connection_id":145344,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2fe07e8012d7a1c0005ec82b8000b000a1f..."} 
[2026-07-27 15:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145344,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2fe07e8012d7a1c0005ec82b8000b000a1f..."} 
[2026-07-27 15:23:59] local.INFO: Processing buffer {"connection_id":145344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2fe07e8012d7a1c0005ec82b8000b000a1f..."} 
[2026-07-27 15:23:59] local.INFO: Packet analysis {"connection_id":145344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2fe"} 
[2026-07-27 15:23:59] local.INFO: Extracted packet for processing {"connection_id":145344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2fe"} 
[2026-07-27 15:23:59] local.INFO: GPS Element Parsed {"raw_longitude":762977280,"raw_latitude":99386040,"longitude_deg":76.297728,"latitude_deg":9.938604,"altitude":11,"angle":10,"satellites":31,"speed":7,"hex_longitude":"2d7a1c00","hex_latitude":"05ec82b8","is_valid_coordinates":true} 
[2026-07-27 15:23:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:23:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997371904001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:23:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111600786701549568,"note":"Value kept but may cause issues"} 
[2026-07-27 15:23:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798767059929534464,"note":"Value kept but may cause issues"} 
[2026-07-27 15:23:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:23:59] local.INFO: AVL Record Parsed {"raw_timestamp":1785145985000,"timestamp_ms":1785145985000,"timestamp_seconds":1785145985,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2fe07e8"} 
[2026-07-27 15:23:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:23:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:23:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-27 15:23:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:23:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:23:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:23:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:23:59] local.INFO: Teltonika packet parsed successfully {"connection_id":145344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:23:59] local.INFO: Passing IMEI to GPS processor {"connection_id":145344,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 15:23:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":145344,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 15:23:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:23:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 15:23:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 15:23:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997371904001,"66":13135,"157":206,"87":13824,"24":7,"16":111600786701549568,"45":8798767059929534464},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-27 15:23:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 15:23:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 15:23:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997371904001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:23:59] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-27 15:23:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 15:23:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111600786701549568,"km_value":111600786701549.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:23:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798767059929534464,"description":"Unknown IO ID 45"} 
[2026-07-27 15:23:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997371904001,"power":13135,"unknown_157":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8798767059929534464}} 
[2026-07-27 15:23:59] local.INFO: DEBUG: GPS processor result {"connection_id":145344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553759,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:23:59] local.INFO: GPS data processed {"connection_id":145344,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:23:59] local.INFO: Acknowledgment sent {"connection_id":145344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:23:59] local.INFO: TCP Data received {"connection_id":145345,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145345,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:23:59] local.INFO: Processing buffer {"connection_id":145345,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:23:59] local.INFO: IMEI packet received {"connection_id":145345,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 15:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":145345,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:24:03] local.INFO: TCP Data received {"connection_id":145344,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2fe0bd0012d7a1bc005ec83a0000b014e1f..."} 
[2026-07-27 15:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145344,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2fe0bd0012d7a1bc005ec83a0000b014e1f..."} 
[2026-07-27 15:24:03] local.INFO: Processing buffer {"connection_id":145344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2fe0bd0012d7a1bc005ec83a0000b014e1f..."} 
[2026-07-27 15:24:03] local.INFO: Packet analysis {"connection_id":145344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2fe"} 
[2026-07-27 15:24:03] local.INFO: Extracted packet for processing {"connection_id":145344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2fe"} 
[2026-07-27 15:24:03] local.INFO: GPS Element Parsed {"raw_longitude":762977216,"raw_latitude":99386272,"longitude_deg":76.2977216,"latitude_deg":9.9386272,"altitude":11,"angle":334,"satellites":31,"speed":11,"hex_longitude":"2d7a1bc0","hex_latitude":"05ec83a0","is_valid_coordinates":true} 
[2026-07-27 15:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:24:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997372160001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:24:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111600799586451456,"note":"Value kept but may cause issues"} 
[2026-07-27 15:24:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798907797417932800,"note":"Value kept but may cause issues"} 
[2026-07-27 15:24:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:24:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785145986000,"timestamp_ms":1785145986000,"timestamp_seconds":1785145986,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2fe0bd0"} 
[2026-07-27 15:24:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:24:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-27 15:24:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:24:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:24:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:24:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:24:03] local.INFO: Teltonika packet parsed successfully {"connection_id":145344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:24:03] local.INFO: Passing IMEI to GPS processor {"connection_id":145344,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 15:24:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":145344,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 15:24:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:24:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 15:24:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 15:24:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997372160001,"66":13417,"157":206,"87":13824,"24":11,"16":111600799586451456,"45":8798907797417932800},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-27 15:24:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 15:24:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 15:24:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997372160001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:24:03] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-27 15:24:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 15:24:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111600799586451456,"km_value":111600799586451.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:24:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798907797417932800,"description":"Unknown IO ID 45"} 
[2026-07-27 15:24:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997372160001,"power":13417,"unknown_157":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8798907797417932800}} 
[2026-07-27 15:24:03] local.INFO: DEBUG: GPS processor result {"connection_id":145344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553760,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:24:03] local.INFO: GPS data processed {"connection_id":145344,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:24:03] local.INFO: Acknowledgment sent {"connection_id":145344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:24:05] local.INFO: TCP Data received {"connection_id":145345,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145345,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:24:05] local.INFO: Processing buffer {"connection_id":145345,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:24:05] local.INFO: IMEI packet received {"connection_id":145345,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 15:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":145345,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:24:06] local.INFO: TCP Data received {"connection_id":145345,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2fadf50012d1824c00721b7e0004a013030..."} 
[2026-07-27 15:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2fadf50012d1824c00721b7e0004a013030..."} 
[2026-07-27 15:24:06] local.INFO: Processing buffer {"connection_id":145345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2fadf50012d1824c00721b7e0004a013030..."} 
[2026-07-27 15:24:06] local.INFO: Packet analysis {"connection_id":145345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2fa"} 
[2026-07-27 15:24:06] local.INFO: Extracted packet for processing {"connection_id":145345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2fa"} 
[2026-07-27 15:24:06] local.INFO: GPS Element Parsed {"raw_longitude":756556992,"raw_latitude":119650272,"longitude_deg":75.6556992,"latitude_deg":11.9650272,"altitude":74,"angle":304,"satellites":48,"speed":0,"hex_longitude":"2d1824c0","hex_latitude":"0721b7e0","is_valid_coordinates":true} 
[2026-07-27 15:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997313792001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8880227136569344,"note":"Value kept but may cause issues"} 
[2026-07-27 15:24:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739726492934856704,"note":"Value kept but may cause issues"} 
[2026-07-27 15:24:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785145778000,"timestamp_ms":1785145778000,"timestamp_seconds":1785145778,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2fadf50"} 
[2026-07-27 15:24:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:24:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-27 15:24:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:24:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:24:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":145345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":145345,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":145345,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:24:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997313792001,"66":12613,"120":206,"28":31744,"24":0,"16":8880227136569344,"45":1739726492934856704},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 15:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997313792001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:24:06] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 15:24:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8880227136569344,"km_value":8880227136569.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:24:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739726492934856704,"description":"Unknown IO ID 45"} 
[2026-07-27 15:24:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997313792001,"power":12613,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739726492934856704}} 
[2026-07-27 15:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":145345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553761,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:24:06] local.INFO: GPS data processed {"connection_id":145345,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:24:06] local.INFO: Acknowledgment sent {"connection_id":145345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:24:10] local.INFO: TCP Data received {"connection_id":144054,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2fc98b8012d9f3b0005a19860000b00bf2a..."} 
[2026-07-27 15:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144054,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2fc98b8012d9f3b0005a19860000b00bf2a..."} 
[2026-07-27 15:24:10] local.INFO: Processing buffer {"connection_id":144054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2fc98b8012d9f3b0005a19860000b00bf2a..."} 
[2026-07-27 15:24:10] local.INFO: Packet analysis {"connection_id":144054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2fc"} 
[2026-07-27 15:24:10] local.INFO: Extracted packet for processing {"connection_id":144054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2fc"} 
[2026-07-27 15:24:10] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":11,"angle":191,"satellites":42,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 15:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:24:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997271040001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:24:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 15:24:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972979573867126784,"note":"Value kept but may cause issues"} 
[2026-07-27 15:24:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:24:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785145891000,"timestamp_ms":1785145891000,"timestamp_seconds":1785145891,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2fc98b8"} 
[2026-07-27 15:24:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:24:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 15:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-27 15:24:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:24:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:24:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:24:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:24:10] local.INFO: Teltonika packet parsed successfully {"connection_id":144054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:24:10] local.INFO: Passing IMEI to GPS processor {"connection_id":144054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:24:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":144054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:24:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:24:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 15:24:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 15:24:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997271040001,"66":25778,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6972979573867126784},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 15:24:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 15:24:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 15:24:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997271040001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:24:10] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 15:24:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 15:24:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:24:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972979573867126784,"description":"Unknown IO ID 45"} 
[2026-07-27 15:24:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997271040001,"power":25778,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6972979573867126784}} 
[2026-07-27 15:24:10] local.INFO: DEBUG: GPS processor result {"connection_id":144054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:24:10] local.INFO: GPS data processed {"connection_id":144054,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:24:10] local.INFO: Acknowledgment sent {"connection_id":144054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:24:32] local.INFO: TCP Data received {"connection_id":144055,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:24:32] local.INFO: Processing buffer {"connection_id":144055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:24:32] local.INFO: IMEI packet received {"connection_id":144055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 15:24:32] local.INFO: IMEI acknowledgment sent {"connection_id":144055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:24:37] local.INFO: TCP Data received {"connection_id":144055,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:24:37] local.INFO: Processing buffer {"connection_id":144055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:24:37] local.INFO: IMEI packet received {"connection_id":144055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 15:24:37] local.INFO: IMEI acknowledgment sent {"connection_id":144055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:24:38] local.INFO: TCP Data received {"connection_id":144055,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2fc98b8012d9f3b0005a19860000b00bf2a..."} 
[2026-07-27 15:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2fc98b8012d9f3b0005a19860000b00bf2a..."} 
[2026-07-27 15:24:38] local.INFO: Processing buffer {"connection_id":144055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2fc98b8012d9f3b0005a19860000b00bf2a..."} 
[2026-07-27 15:24:38] local.INFO: Packet analysis {"connection_id":144055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2fc"} 
[2026-07-27 15:24:38] local.INFO: Extracted packet for processing {"connection_id":144055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2fc"} 
[2026-07-27 15:24:38] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":11,"angle":191,"satellites":42,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 15:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:24:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997271040001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:24:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 15:24:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972979573867126784,"note":"Value kept but may cause issues"} 
[2026-07-27 15:24:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:24:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785145891000,"timestamp_ms":1785145891000,"timestamp_seconds":1785145891,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2fc98b8"} 
[2026-07-27 15:24:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:24:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 15:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-27 15:24:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:24:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:24:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:24:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:24:38] local.INFO: Teltonika packet parsed successfully {"connection_id":144055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:24:38] local.INFO: Passing IMEI to GPS processor {"connection_id":144055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:24:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":144055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:24:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:24:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 15:24:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 15:24:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997271040001,"66":25778,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6972979573867126784},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 15:24:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 15:24:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 15:24:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997271040001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:24:38] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 15:24:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 15:24:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:24:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972979573867126784,"description":"Unknown IO ID 45"} 
[2026-07-27 15:24:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997271040001,"power":25778,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6972979573867126784}} 
[2026-07-27 15:24:38] local.INFO: DEBUG: GPS processor result {"connection_id":144055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:24:38] local.INFO: GPS data processed {"connection_id":144055,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:24:38] local.INFO: Acknowledgment sent {"connection_id":144055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:24:38] local.INFO: TCP Data received {"connection_id":145345,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2fe1b70012d1822800721b4b0004c00d62f..."} 
[2026-07-27 15:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2fe1b70012d1822800721b4b0004c00d62f..."} 
[2026-07-27 15:24:38] local.INFO: Processing buffer {"connection_id":145345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2fe1b70012d1822800721b4b0004c00d62f..."} 
[2026-07-27 15:24:38] local.INFO: Packet analysis {"connection_id":145345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2fe"} 
[2026-07-27 15:24:38] local.INFO: Extracted packet for processing {"connection_id":145345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2fe"} 
[2026-07-27 15:24:38] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649456,"longitude_deg":75.6556416,"latitude_deg":11.9649456,"altitude":76,"angle":214,"satellites":47,"speed":0,"hex_longitude":"2d182280","hex_latitude":"0721b4b0","is_valid_coordinates":true} 
[2026-07-27 15:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:24:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997368064001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:24:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8880282971144192,"note":"Value kept but may cause issues"} 
[2026-07-27 15:24:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174237048832,"note":"Value kept but may cause issues"} 
[2026-07-27 15:24:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:24:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785145990000,"timestamp_ms":1785145990000,"timestamp_seconds":1785145990,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2fe1b70"} 
[2026-07-27 15:24:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:24:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-27 15:24: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-07-27 15:24:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:24:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:24:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:24:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:24:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145345,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:24:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145345,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:24:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:24:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:24:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:24:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997368064001,"66":12461,"120":206,"28":31744,"24":0,"16":8880282971144192,"45":1739093174237048832},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 15:24:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:24:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:24:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997368064001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:24:38] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 15:24:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:24:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8880282971144192,"km_value":8880282971144.191,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:24:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174237048832,"description":"Unknown IO ID 45"} 
[2026-07-27 15:24:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997368064001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739093174237048832}} 
[2026-07-27 15:24:38] local.INFO: DEBUG: GPS processor result {"connection_id":145345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553764,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:24:38] local.INFO: GPS data processed {"connection_id":145345,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:24:38] local.INFO: Acknowledgment sent {"connection_id":145345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:24:48] local.INFO: TCP Data received {"connection_id":143074,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143074,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:24:48] local.INFO: Processing buffer {"connection_id":143074,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:24:48] local.INFO: IMEI packet received {"connection_id":143074,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 15:24:48] local.INFO: IMEI acknowledgment sent {"connection_id":143074,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:24:53] local.INFO: TCP Data received {"connection_id":143074,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143074,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:24:53] local.INFO: Processing buffer {"connection_id":143074,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:24:53] local.INFO: IMEI packet received {"connection_id":143074,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 15:24:53] local.INFO: IMEI acknowledgment sent {"connection_id":143074,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:24:54] local.INFO: TCP Data received {"connection_id":143074,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2fe0fb8012d7a1ac005ec8460000b012f1f..."} 
[2026-07-27 15:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2fe0fb8012d7a1ac005ec8460000b012f1f..."} 
[2026-07-27 15:24:54] local.INFO: Processing buffer {"connection_id":143074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2fe0fb8012d7a1ac005ec8460000b012f1f..."} 
[2026-07-27 15:24:54] local.INFO: Packet analysis {"connection_id":143074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2fe"} 
[2026-07-27 15:24:54] local.INFO: Extracted packet for processing {"connection_id":143074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2fe"} 
[2026-07-27 15:24:54] local.INFO: GPS Element Parsed {"raw_longitude":762976960,"raw_latitude":99386464,"longitude_deg":76.297696,"latitude_deg":9.9386464,"altitude":11,"angle":303,"satellites":31,"speed":9,"hex_longitude":"2d7a1ac0","hex_latitude":"05ec8460","is_valid_coordinates":true} 
[2026-07-27 15:24:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:24:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997372416001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:24:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111600812471353344,"note":"Value kept but may cause issues"} 
[2026-07-27 15:24:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798837428673814528,"note":"Value kept but may cause issues"} 
[2026-07-27 15:24:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:24:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785145987000,"timestamp_ms":1785145987000,"timestamp_seconds":1785145987,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2fe0fb8"} 
[2026-07-27 15:24:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:24:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:24:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-07-27 15:24:54] 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-07-27 15:24:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:24:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:24:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:24:54] local.INFO: Teltonika packet parsed successfully {"connection_id":143074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:24:54] local.INFO: Passing IMEI to GPS processor {"connection_id":143074,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 15:24:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":143074,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 15:24:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:24:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 15:24:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 15:24:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997372416001,"66":13417,"157":206,"87":13824,"24":9,"16":111600812471353344,"45":8798837428673814528},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-27 15:24:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 15:24:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 15:24:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997372416001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:24:54] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-27 15:24:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 15:24:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111600812471353344,"km_value":111600812471353.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:24:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798837428673814528,"description":"Unknown IO ID 45"} 
[2026-07-27 15:24:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997372416001,"power":13417,"unknown_157":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8798837428673814528}} 
[2026-07-27 15:24:54] local.INFO: DEBUG: GPS processor result {"connection_id":143074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553765,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:24:54] local.INFO: GPS data processed {"connection_id":143074,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:24:54] local.INFO: Acknowledgment sent {"connection_id":143074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:24:59] local.INFO: TCP Data received {"connection_id":145346,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145346,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:24:59] local.INFO: Processing buffer {"connection_id":145346,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:24:59] local.INFO: IMEI packet received {"connection_id":145346,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 15:24:59] local.INFO: IMEI acknowledgment sent {"connection_id":145346,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:25:04] local.INFO: TCP Data received {"connection_id":145346,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145346,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:25:04] local.INFO: Processing buffer {"connection_id":145346,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:25:04] local.INFO: IMEI packet received {"connection_id":145346,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 15:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":145346,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:25:06] local.INFO: TCP Data received {"connection_id":145346,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2fe6d78012d1822800721b4b0004c00d62e..."} 
[2026-07-27 15:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2fe6d78012d1822800721b4b0004c00d62e..."} 
[2026-07-27 15:25:06] local.INFO: Processing buffer {"connection_id":145346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2fe6d78012d1822800721b4b0004c00d62e..."} 
[2026-07-27 15:25:06] local.INFO: Packet analysis {"connection_id":145346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2fe"} 
[2026-07-27 15:25:06] local.INFO: Extracted packet for processing {"connection_id":145346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2fe"} 
[2026-07-27 15:25:06] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649456,"longitude_deg":75.6556416,"latitude_deg":11.9649456,"altitude":76,"angle":214,"satellites":46,"speed":0,"hex_longitude":"2d182280","hex_latitude":"0721b4b0","is_valid_coordinates":true} 
[2026-07-27 15:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:25:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997373440001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:25:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8880282971144192,"note":"Value kept but may cause issues"} 
[2026-07-27 15:25:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174237048832,"note":"Value kept but may cause issues"} 
[2026-07-27 15:25:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:25:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785146011000,"timestamp_ms":1785146011000,"timestamp_seconds":1785146011,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2fe6d78"} 
[2026-07-27 15:25:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:25:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-27 15:25:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:25:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:25:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:25:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:25:06] local.INFO: Teltonika packet parsed successfully {"connection_id":145346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:25:06] local.INFO: Passing IMEI to GPS processor {"connection_id":145346,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:25:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":145346,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:25:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:25:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:25:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:25:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997373440001,"66":12461,"120":206,"28":31744,"24":0,"16":8880282971144192,"45":1739093174237048832},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 15:25:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:25:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:25:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997373440001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:25:06] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 15:25:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:25:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8880282971144192,"km_value":8880282971144.191,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:25:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174237048832,"description":"Unknown IO ID 45"} 
[2026-07-27 15:25:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997373440001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739093174237048832}} 
[2026-07-27 15:25:06] local.INFO: DEBUG: GPS processor result {"connection_id":145346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553766,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:25:06] local.INFO: GPS data processed {"connection_id":145346,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:25:06] local.INFO: Acknowledgment sent {"connection_id":145346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:25:09] local.INFO: TCP Data received {"connection_id":144055,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2fc98b8012d9f3b0005a19860000b00bf2a..."} 
[2026-07-27 15:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2fc98b8012d9f3b0005a19860000b00bf2a..."} 
[2026-07-27 15:25:09] local.INFO: Processing buffer {"connection_id":144055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2fc98b8012d9f3b0005a19860000b00bf2a..."} 
[2026-07-27 15:25:09] local.INFO: Packet analysis {"connection_id":144055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2fc"} 
[2026-07-27 15:25:09] local.INFO: Extracted packet for processing {"connection_id":144055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2fc"} 
[2026-07-27 15:25:09] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":11,"angle":191,"satellites":42,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 15:25:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:25:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997271040001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:25:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 15:25:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972979573867126784,"note":"Value kept but may cause issues"} 
[2026-07-27 15:25:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:25:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785145891000,"timestamp_ms":1785145891000,"timestamp_seconds":1785145891,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2fc98b8"} 
[2026-07-27 15:25:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:25:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-27 15:25:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:25:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:25:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:25:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:25:09] local.INFO: Teltonika packet parsed successfully {"connection_id":144055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:25:09] local.INFO: Passing IMEI to GPS processor {"connection_id":144055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:25:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":144055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:25:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:25:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 15:25:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 15:25:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997271040001,"66":25778,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6972979573867126784},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 15:25:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 15:25:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 15:25:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997271040001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:25:09] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 15:25:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 15:25:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:25:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972979573867126784,"description":"Unknown IO ID 45"} 
[2026-07-27 15:25:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997271040001,"power":25778,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6972979573867126784}} 
[2026-07-27 15:25:09] local.INFO: DEBUG: GPS processor result {"connection_id":144055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:25:09] local.INFO: GPS data processed {"connection_id":144055,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:25:09] local.INFO: Acknowledgment sent {"connection_id":144055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:25:25] local.INFO: TCP Data received {"connection_id":143074,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2fe13a0012d7a1a0005ec8490000b01121f..."} 
[2026-07-27 15:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2fe13a0012d7a1a0005ec8490000b01121f..."} 
[2026-07-27 15:25:25] local.INFO: Processing buffer {"connection_id":143074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2fe13a0012d7a1a0005ec8490000b01121f..."} 
[2026-07-27 15:25:25] local.INFO: Packet analysis {"connection_id":143074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2fe"} 
[2026-07-27 15:25:25] local.INFO: Extracted packet for processing {"connection_id":143074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2fe"} 
[2026-07-27 15:25:25] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":99386512,"longitude_deg":76.2976768,"latitude_deg":9.9386512,"altitude":11,"angle":274,"satellites":31,"speed":10,"hex_longitude":"2d7a1a00","hex_latitude":"05ec8490","is_valid_coordinates":true} 
[2026-07-27 15:25:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:25:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997372672001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:25:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111600825356255232,"note":"Value kept but may cause issues"} 
[2026-07-27 15:25:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798555953697153024,"note":"Value kept but may cause issues"} 
[2026-07-27 15:25:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:25:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785145988000,"timestamp_ms":1785145988000,"timestamp_seconds":1785145988,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2fe13a0"} 
[2026-07-27 15:25:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:25:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:25:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-07-27 15:25:25] 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-07-27 15:25:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:25:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:25:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:25:25] local.INFO: Teltonika packet parsed successfully {"connection_id":143074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:25:25] local.INFO: Passing IMEI to GPS processor {"connection_id":143074,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 15:25:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":143074,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 15:25:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:25:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 15:25:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 15:25:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997372672001,"66":13417,"157":206,"87":13824,"24":10,"16":111600825356255232,"45":8798555953697153024},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-27 15:25:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 15:25:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 15:25:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997372672001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:25:25] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-27 15:25:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 15:25:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111600825356255232,"km_value":111600825356255.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:25:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798555953697153024,"description":"Unknown IO ID 45"} 
[2026-07-27 15:25:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997372672001,"power":13417,"unknown_157":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":8798555953697153024}} 
[2026-07-27 15:25:25] local.INFO: DEBUG: GPS processor result {"connection_id":143074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553768,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:25:25] local.INFO: GPS data processed {"connection_id":143074,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:25:25] local.INFO: Acknowledgment sent {"connection_id":143074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:25:32] local.INFO: TCP Data received {"connection_id":144056,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:25:32] local.INFO: Processing buffer {"connection_id":144056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:25:32] local.INFO: IMEI packet received {"connection_id":144056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 15:25:32] local.INFO: IMEI acknowledgment sent {"connection_id":144056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:25:37] local.INFO: TCP Data received {"connection_id":144056,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:25:37] local.INFO: Processing buffer {"connection_id":144056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:25:37] local.INFO: IMEI packet received {"connection_id":144056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 15:25:37] local.INFO: IMEI acknowledgment sent {"connection_id":144056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:25:37] local.INFO: TCP Data received {"connection_id":145346,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2febf80012d1822800721b4b0004c00d62e..."} 
[2026-07-27 15:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2febf80012d1822800721b4b0004c00d62e..."} 
[2026-07-27 15:25:37] local.INFO: Processing buffer {"connection_id":145346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2febf80012d1822800721b4b0004c00d62e..."} 
[2026-07-27 15:25:37] local.INFO: Packet analysis {"connection_id":145346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2fe"} 
[2026-07-27 15:25:37] local.INFO: Extracted packet for processing {"connection_id":145346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2fe"} 
[2026-07-27 15:25:37] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649456,"longitude_deg":75.6556416,"latitude_deg":11.9649456,"altitude":76,"angle":214,"satellites":46,"speed":0,"hex_longitude":"2d182280","hex_latitude":"0721b4b0","is_valid_coordinates":true} 
[2026-07-27 15:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997378816001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8880282971144192,"note":"Value kept but may cause issues"} 
[2026-07-27 15:25:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174237048832,"note":"Value kept but may cause issues"} 
[2026-07-27 15:25:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785146032000,"timestamp_ms":1785146032000,"timestamp_seconds":1785146032,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2febf80"} 
[2026-07-27 15:25:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:25:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-27 15:25:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:25:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:25:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145346,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145346,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:25:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997378816001,"66":12461,"120":206,"28":31744,"24":0,"16":8880282971144192,"45":1739093174237048832},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 15:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997378816001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:25:37] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 15:25:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:25:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8880282971144192,"km_value":8880282971144.191,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:25:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174237048832,"description":"Unknown IO ID 45"} 
[2026-07-27 15:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997378816001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739093174237048832}} 
[2026-07-27 15:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":145346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553769,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:25:37] local.INFO: GPS data processed {"connection_id":145346,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:25:37] local.INFO: Acknowledgment sent {"connection_id":145346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:25:38] local.INFO: TCP Data received {"connection_id":144056,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2ffa9e0012d9f3b0005a19860000b00bf2d..."} 
[2026-07-27 15:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2ffa9e0012d9f3b0005a19860000b00bf2d..."} 
[2026-07-27 15:25:38] local.INFO: Processing buffer {"connection_id":144056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2ffa9e0012d9f3b0005a19860000b00bf2d..."} 
[2026-07-27 15:25:38] local.INFO: Packet analysis {"connection_id":144056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2ff"} 
[2026-07-27 15:25:38] local.INFO: Extracted packet for processing {"connection_id":144056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2ff"} 
[2026-07-27 15:25:38] local.INFO: GPS Element Parsed {"raw_longitude":765410048,"raw_latitude":94476384,"longitude_deg":76.5410048,"latitude_deg":9.4476384,"altitude":11,"angle":191,"satellites":45,"speed":0,"hex_longitude":"2d9f3b00","hex_latitude":"05a19860","is_valid_coordinates":true} 
[2026-07-27 15:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:25:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997348096001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:25:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 15:25:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972979573867126784,"note":"Value kept but may cause issues"} 
[2026-07-27 15:25:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:25:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785146092000,"timestamp_ms":1785146092000,"timestamp_seconds":1785146092,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2ffa9e0"} 
[2026-07-27 15:25:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:25:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 15:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-27 15:25:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:25:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:25:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:25:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:25:38] local.INFO: Teltonika packet parsed successfully {"connection_id":144056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:25:38] local.INFO: Passing IMEI to GPS processor {"connection_id":144056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:25:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":144056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:25:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:25:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 15:25:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 15:25:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997348096001,"66":25778,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6972979573867126784},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 15:25:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 15:25:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 15:25:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997348096001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:25:38] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 15:25:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 15:25:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:25:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972979573867126784,"description":"Unknown IO ID 45"} 
[2026-07-27 15:25:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997348096001,"power":25778,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6972979573867126784}} 
[2026-07-27 15:25:38] local.INFO: DEBUG: GPS processor result {"connection_id":144056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:25:38] local.INFO: GPS data processed {"connection_id":144056,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:25:38] local.INFO: Acknowledgment sent {"connection_id":144056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:25:48] local.INFO: TCP Data received {"connection_id":144057,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144057,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:25:48] local.INFO: Processing buffer {"connection_id":144057,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:25:48] local.INFO: IMEI packet received {"connection_id":144057,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 15:25:48] local.INFO: IMEI acknowledgment sent {"connection_id":144057,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:25:53] local.INFO: TCP Data received {"connection_id":144057,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144057,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:25:53] local.INFO: Processing buffer {"connection_id":144057,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:25:53] local.INFO: IMEI packet received {"connection_id":144057,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 15:25:53] local.INFO: IMEI acknowledgment sent {"connection_id":144057,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:25:54] local.INFO: TCP Data received {"connection_id":144057,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2fe1788012d7a190005ec8440000b00f31f..."} 
[2026-07-27 15:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2fe1788012d7a190005ec8440000b00f31f..."} 
[2026-07-27 15:25:54] local.INFO: Processing buffer {"connection_id":144057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2fe1788012d7a190005ec8440000b00f31f..."} 
[2026-07-27 15:25:54] local.INFO: Packet analysis {"connection_id":144057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2fe"} 
[2026-07-27 15:25:54] local.INFO: Extracted packet for processing {"connection_id":144057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2fe"} 
[2026-07-27 15:25:54] local.INFO: GPS Element Parsed {"raw_longitude":762976512,"raw_latitude":99386432,"longitude_deg":76.2976512,"latitude_deg":9.9386432,"altitude":11,"angle":243,"satellites":31,"speed":9,"hex_longitude":"2d7a1900","hex_latitude":"05ec8440","is_valid_coordinates":true} 
[2026-07-27 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-07-27 15:25:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997372928001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:25:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111600838241157120,"note":"Value kept but may cause issues"} 
[2026-07-27 15:25:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847464632320,"note":"Value kept but may cause issues"} 
[2026-07-27 15:25:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:25:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785145989000,"timestamp_ms":1785145989000,"timestamp_seconds":1785145989,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2fe1788"} 
[2026-07-27 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-07-27 15:25:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-07-27 15:25:54] 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-07-27 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-07-27 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-07-27 15:25:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:25:54] local.INFO: Teltonika packet parsed successfully {"connection_id":144057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:25:54] local.INFO: Passing IMEI to GPS processor {"connection_id":144057,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 15:25:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":144057,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 15:25:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:25:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 15:25:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 15:25:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997372928001,"66":13178,"157":206,"87":13824,"24":9,"16":111600838241157120,"45":8798344847464632320},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-27 15:25:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 15:25:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 15:25:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997372928001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:25:54] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-27 15:25:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 15:25:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111600838241157120,"km_value":111600838241157.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:25:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847464632320,"description":"Unknown IO ID 45"} 
[2026-07-27 15:25:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997372928001,"power":13178,"unknown_157":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8798344847464632320}} 
[2026-07-27 15:25:54] local.INFO: DEBUG: GPS processor result {"connection_id":144057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553771,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:25:54] local.INFO: GPS data processed {"connection_id":144057,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:25:54] local.INFO: Acknowledgment sent {"connection_id":144057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:26:04] local.INFO: TCP Data received {"connection_id":144058,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144058,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:26:04] local.INFO: Processing buffer {"connection_id":144058,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:26:04] local.INFO: IMEI packet received {"connection_id":144058,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 15:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":144058,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:26:10] local.INFO: TCP Data received {"connection_id":144056,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa30003b8012d9f400005a19a78000b00bf29..."} 
[2026-07-27 15:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa30003b8012d9f400005a19a78000b00bf29..."} 
[2026-07-27 15:26:10] local.INFO: Processing buffer {"connection_id":144056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa30003b8012d9f400005a19a78000b00bf29..."} 
[2026-07-27 15:26:10] local.INFO: Packet analysis {"connection_id":144056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa300"} 
[2026-07-27 15:26:10] local.INFO: Extracted packet for processing {"connection_id":144056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa300"} 
[2026-07-27 15:26:10] local.INFO: GPS Element Parsed {"raw_longitude":765411328,"raw_latitude":94476920,"longitude_deg":76.5411328,"latitude_deg":9.447692,"altitude":11,"angle":191,"satellites":41,"speed":0,"hex_longitude":"2d9f4000","hex_latitude":"05a19a78","is_valid_coordinates":true} 
[2026-07-27 15:26:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:26:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997399552001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:26:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999797828419584,"note":"Value kept but may cause issues"} 
[2026-07-27 15:26:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972979573867126784,"note":"Value kept but may cause issues"} 
[2026-07-27 15:26:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:26:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785146115000,"timestamp_ms":1785146115000,"timestamp_seconds":1785146115,"priority":1,"record_length":96,"hex_timestamp":"0000019fa30003b8"} 
[2026-07-27 15:26:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:26:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:26:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-27 15:26:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:26:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:26:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:26:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:26:10] local.INFO: Teltonika packet parsed successfully {"connection_id":144056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:26:10] local.INFO: Passing IMEI to GPS processor {"connection_id":144056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:26:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":144056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:26:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:26:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 15:26:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 15:26:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997399552001,"66":27767,"236":206,"83":17152,"24":0,"16":358999797828419584,"45":-6972979573867126784},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 15:26:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 15:26:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 15:26:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997399552001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:26:10] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 15:26:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 15:26:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999797828419584,"km_value":358999797828419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:26:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972979573867126784,"description":"Unknown IO ID 45"} 
[2026-07-27 15:26:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997399552001,"power":27767,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6972979573867126784}} 
[2026-07-27 15:26:10] local.INFO: DEBUG: GPS processor result {"connection_id":144056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:26:10] local.INFO: GPS data processed {"connection_id":144056,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:26:10] local.INFO: Acknowledgment sent {"connection_id":144056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:26:10] local.INFO: TCP Data received {"connection_id":144058,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144058,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:26:10] local.INFO: Processing buffer {"connection_id":144058,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:26:10] local.INFO: IMEI packet received {"connection_id":144058,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 15:26:10] local.INFO: IMEI acknowledgment sent {"connection_id":144058,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:26:11] local.INFO: TCP Data received {"connection_id":144058,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2ff1188012d1822800721b4b0004c00d62d..."} 
[2026-07-27 15:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144058,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2ff1188012d1822800721b4b0004c00d62d..."} 
[2026-07-27 15:26:11] local.INFO: Processing buffer {"connection_id":144058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2ff1188012d1822800721b4b0004c00d62d..."} 
[2026-07-27 15:26:11] local.INFO: Packet analysis {"connection_id":144058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2ff"} 
[2026-07-27 15:26:11] local.INFO: Extracted packet for processing {"connection_id":144058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2ff"} 
[2026-07-27 15:26:11] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649456,"longitude_deg":75.6556416,"latitude_deg":11.9649456,"altitude":76,"angle":214,"satellites":45,"speed":0,"hex_longitude":"2d182280","hex_latitude":"0721b4b0","is_valid_coordinates":true} 
[2026-07-27 15:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:26:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997384192001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:26:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8880282971144192,"note":"Value kept but may cause issues"} 
[2026-07-27 15:26:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174237048832,"note":"Value kept but may cause issues"} 
[2026-07-27 15:26:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:26:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785146053000,"timestamp_ms":1785146053000,"timestamp_seconds":1785146053,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2ff1188"} 
[2026-07-27 15:26:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:26:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-27 15:26:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:26:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:26:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:26:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:26:11] local.INFO: Teltonika packet parsed successfully {"connection_id":144058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:26:11] local.INFO: Passing IMEI to GPS processor {"connection_id":144058,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:26:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":144058,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:26:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:26:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:26:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:26:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997384192001,"66":12439,"120":206,"28":31744,"24":0,"16":8880282971144192,"45":1739093174237048832},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 15:26:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:26:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:26:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997384192001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:26:11] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 15:26:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:26:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8880282971144192,"km_value":8880282971144.191,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:26:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174237048832,"description":"Unknown IO ID 45"} 
[2026-07-27 15:26:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997384192001,"power":12439,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739093174237048832}} 
[2026-07-27 15:26:11] local.INFO: DEBUG: GPS processor result {"connection_id":144058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553773,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:26:11] local.INFO: GPS data processed {"connection_id":144058,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:26:11] local.INFO: Acknowledgment sent {"connection_id":144058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:26:16] local.INFO: TCP Data received {"connection_id":144058,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2ff6390012d1822800721b4b0004c00d62d..."} 
[2026-07-27 15:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144058,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2ff6390012d1822800721b4b0004c00d62d..."} 
[2026-07-27 15:26:16] local.INFO: Processing buffer {"connection_id":144058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2ff6390012d1822800721b4b0004c00d62d..."} 
[2026-07-27 15:26:16] local.INFO: Packet analysis {"connection_id":144058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2ff"} 
[2026-07-27 15:26:16] local.INFO: Extracted packet for processing {"connection_id":144058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2ff"} 
[2026-07-27 15:26:16] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649456,"longitude_deg":75.6556416,"latitude_deg":11.9649456,"altitude":76,"angle":214,"satellites":45,"speed":0,"hex_longitude":"2d182280","hex_latitude":"0721b4b0","is_valid_coordinates":true} 
[2026-07-27 15: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-07-27 15:26:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997389568001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:26:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8880282971144192,"note":"Value kept but may cause issues"} 
[2026-07-27 15:26:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174237048832,"note":"Value kept but may cause issues"} 
[2026-07-27 15:26:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:26:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785146074000,"timestamp_ms":1785146074000,"timestamp_seconds":1785146074,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2ff6390"} 
[2026-07-27 15:26:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:26:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15: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":151,"data_length":795,"current_offset":136} 
[2026-07-27 15:26: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-07-27 15: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-07-27 15:26:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:26:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:26:16] local.INFO: Teltonika packet parsed successfully {"connection_id":144058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:26:16] local.INFO: Passing IMEI to GPS processor {"connection_id":144058,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:26:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":144058,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:26:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:26:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:26:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:26:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997389568001,"66":12461,"120":206,"28":31744,"24":0,"16":8880282971144192,"45":1739093174237048832},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 15:26:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:26:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:26:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997389568001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:26:16] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 15:26:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:26:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8880282971144192,"km_value":8880282971144.191,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:26:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174237048832,"description":"Unknown IO ID 45"} 
[2026-07-27 15:26:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997389568001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739093174237048832}} 
[2026-07-27 15:26:16] local.INFO: DEBUG: GPS processor result {"connection_id":144058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553774,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:26:16] local.INFO: GPS data processed {"connection_id":144058,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:26:16] local.INFO: Acknowledgment sent {"connection_id":144058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:26:25] local.INFO: TCP Data received {"connection_id":144057,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2fe1b70012d7a188005ec83b0000b00e71f..."} 
[2026-07-27 15:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2fe1b70012d7a188005ec83b0000b00e71f..."} 
[2026-07-27 15:26:25] local.INFO: Processing buffer {"connection_id":144057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2fe1b70012d7a188005ec83b0000b00e71f..."} 
[2026-07-27 15:26:25] local.INFO: Packet analysis {"connection_id":144057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2fe"} 
[2026-07-27 15:26:25] local.INFO: Extracted packet for processing {"connection_id":144057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2fe"} 
[2026-07-27 15:26:25] local.INFO: GPS Element Parsed {"raw_longitude":762976384,"raw_latitude":99386288,"longitude_deg":76.2976384,"latitude_deg":9.9386288,"altitude":11,"angle":231,"satellites":31,"speed":8,"hex_longitude":"2d7a1880","hex_latitude":"05ec83b0","is_valid_coordinates":true} 
[2026-07-27 15:26:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:26:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997373184001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:26:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111600846831091712,"note":"Value kept but may cause issues"} 
[2026-07-27 15:26:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798063372487901184,"note":"Value kept but may cause issues"} 
[2026-07-27 15:26:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:26:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785145990000,"timestamp_ms":1785145990000,"timestamp_seconds":1785145990,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2fe1b70"} 
[2026-07-27 15:26:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:26:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:26:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-07-27 15:26:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:26:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:26:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:26:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:26:25] local.INFO: Teltonika packet parsed successfully {"connection_id":144057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:26:25] local.INFO: Passing IMEI to GPS processor {"connection_id":144057,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 15:26:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":144057,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 15:26:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:26:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 15:26:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 15:26:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997373184001,"66":13178,"157":206,"87":13824,"24":8,"16":111600846831091712,"45":8798063372487901184},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-27 15:26:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 15:26:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 15:26:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997373184001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:26:25] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-27 15:26:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 15:26:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111600846831091712,"km_value":111600846831091.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:26:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798063372487901184,"description":"Unknown IO ID 45"} 
[2026-07-27 15:26:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997373184001,"power":13178,"unknown_157":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8798063372487901184}} 
[2026-07-27 15:26:25] local.INFO: DEBUG: GPS processor result {"connection_id":144057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553775,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:26:25] local.INFO: GPS data processed {"connection_id":144057,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:26:25] local.INFO: Acknowledgment sent {"connection_id":144057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:26:32] local.INFO: TCP Data received {"connection_id":145347,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:26:32] local.INFO: Processing buffer {"connection_id":145347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:26:32] local.INFO: IMEI packet received {"connection_id":145347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 15:26:32] local.INFO: IMEI acknowledgment sent {"connection_id":145347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:26:37] local.INFO: TCP Data received {"connection_id":145347,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:26:37] local.INFO: Processing buffer {"connection_id":145347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:26:37] local.INFO: IMEI packet received {"connection_id":145347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 15:26:37] local.INFO: IMEI acknowledgment sent {"connection_id":145347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:26:38] local.INFO: TCP Data received {"connection_id":145347,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa30055c0012d9f3c8005a19c48001100bf27..."} 
[2026-07-27 15:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145347,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa30055c0012d9f3c8005a19c48001100bf27..."} 
[2026-07-27 15:26:38] local.INFO: Processing buffer {"connection_id":145347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa30055c0012d9f3c8005a19c48001100bf27..."} 
[2026-07-27 15:26:38] local.INFO: Packet analysis {"connection_id":145347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa300"} 
[2026-07-27 15:26:38] local.INFO: Extracted packet for processing {"connection_id":145347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa300"} 
[2026-07-27 15:26:38] local.INFO: GPS Element Parsed {"raw_longitude":765410432,"raw_latitude":94477384,"longitude_deg":76.5410432,"latitude_deg":9.4477384,"altitude":17,"angle":191,"satellites":39,"speed":0,"hex_longitude":"2d9f3c80","hex_latitude":"05a19c48","is_valid_coordinates":true} 
[2026-07-27 15:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:26:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997405440001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:26:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999845073059840,"note":"Value kept but may cause issues"} 
[2026-07-27 15:26:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6971572198983436288,"note":"Value kept but may cause issues"} 
[2026-07-27 15:26:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:26:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785146136000,"timestamp_ms":1785146136000,"timestamp_seconds":1785146136,"priority":1,"record_length":96,"hex_timestamp":"0000019fa30055c0"} 
[2026-07-27 15:26:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:26:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-27 15:26:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:26:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:26:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:26:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:26:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:26:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:26:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:26:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:26:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 15:26:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 15:26:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997405440001,"66":27658,"236":206,"83":17152,"24":0,"16":358999845073059840,"45":-6971572198983436288},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 15:26:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 15:26:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 15:26:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997405440001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:26:38] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 15:26:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 15:26:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999845073059840,"km_value":358999845073059.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:26:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6971572198983436288,"description":"Unknown IO ID 45"} 
[2026-07-27 15:26:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997405440001,"power":27658,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6971572198983436288}} 
[2026-07-27 15:26:38] local.INFO: DEBUG: GPS processor result {"connection_id":145347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:26:38] local.INFO: GPS data processed {"connection_id":145347,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:26:38] local.INFO: Acknowledgment sent {"connection_id":145347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:26:48] local.INFO: TCP Data received {"connection_id":142926,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142926,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:26:48] local.INFO: Processing buffer {"connection_id":142926,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:26:48] local.INFO: IMEI packet received {"connection_id":142926,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 15:26:48] local.INFO: IMEI acknowledgment sent {"connection_id":142926,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:26:53] local.INFO: TCP Data received {"connection_id":142926,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142926,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:26:53] local.INFO: Processing buffer {"connection_id":142926,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:26:53] local.INFO: IMEI packet received {"connection_id":142926,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 15:26:53] local.INFO: IMEI acknowledgment sent {"connection_id":142926,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:26:54] local.INFO: TCP Data received {"connection_id":142926,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2fe4280012d7a154005ec81a8000d011e1f..."} 
[2026-07-27 15:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2fe4280012d7a154005ec81a8000d011e1f..."} 
[2026-07-27 15:26:54] local.INFO: Processing buffer {"connection_id":142926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2fe4280012d7a154005ec81a8000d011e1f..."} 
[2026-07-27 15:26:54] local.INFO: Packet analysis {"connection_id":142926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2fe"} 
[2026-07-27 15:26:54] local.INFO: Extracted packet for processing {"connection_id":142926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2fe"} 
[2026-07-27 15:26:54] local.INFO: GPS Element Parsed {"raw_longitude":762975552,"raw_latitude":99385768,"longitude_deg":76.2975552,"latitude_deg":9.9385768,"altitude":13,"angle":286,"satellites":31,"speed":1,"hex_longitude":"2d7a1540","hex_latitude":"05ec81a8","is_valid_coordinates":true} 
[2026-07-27 15:26:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:26:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997373440001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:26:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111600898370699264,"note":"Value kept but may cause issues"} 
[2026-07-27 15:26:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8797922634999508992,"note":"Value kept but may cause issues"} 
[2026-07-27 15:26:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:26:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785146000000,"timestamp_ms":1785146000000,"timestamp_seconds":1785146000,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2fe4280"} 
[2026-07-27 15:26:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:26:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:26:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-07-27 15:26:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:26:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:26:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:26:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:26:54] local.INFO: Teltonika packet parsed successfully {"connection_id":142926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:26:54] local.INFO: Passing IMEI to GPS processor {"connection_id":142926,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 15:26:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":142926,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 15:26:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:26:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 15:26:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 15:26:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997373440001,"66":13374,"157":206,"87":13824,"24":1,"16":111600898370699264,"45":8797922634999508992},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-27 15:26:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 15:26:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 15:26:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997373440001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:26:54] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-27 15:26:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 15:26:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111600898370699264,"km_value":111600898370699.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:26:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8797922634999508992,"description":"Unknown IO ID 45"} 
[2026-07-27 15:26:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997373440001,"power":13374,"unknown_157":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":8797922634999508992}} 
[2026-07-27 15:26:54] local.INFO: DEBUG: GPS processor result {"connection_id":142926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553777,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:26:54] local.INFO: GPS data processed {"connection_id":142926,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:26:54] local.INFO: Acknowledgment sent {"connection_id":142926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:26:57] local.INFO: TCP Data received {"connection_id":145348,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145348,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:26:57] local.INFO: Processing buffer {"connection_id":145348,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:26:57] local.INFO: IMEI packet received {"connection_id":145348,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 15:26:57] local.INFO: IMEI acknowledgment sent {"connection_id":145348,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:27:00] local.INFO: TCP Data received {"connection_id":145348,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145348,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:27:00] local.INFO: Processing buffer {"connection_id":145348,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:27:00] local.INFO: IMEI packet received {"connection_id":145348,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 15:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":145348,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:27:05] local.INFO: TCP Data received {"connection_id":145348,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145348,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:27:05] local.INFO: Processing buffer {"connection_id":145348,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:27:05] local.INFO: IMEI packet received {"connection_id":145348,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 15:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":145348,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:27:06] local.INFO: TCP Data received {"connection_id":145348,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2ffb598012d1820c00721b2f0004b00d22f..."} 
[2026-07-27 15:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145348,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2ffb598012d1820c00721b2f0004b00d22f..."} 
[2026-07-27 15:27:06] local.INFO: Processing buffer {"connection_id":145348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2ffb598012d1820c00721b2f0004b00d22f..."} 
[2026-07-27 15:27:06] local.INFO: Packet analysis {"connection_id":145348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2ff"} 
[2026-07-27 15:27:06] local.INFO: Extracted packet for processing {"connection_id":145348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2ff"} 
[2026-07-27 15:27:06] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649008,"longitude_deg":75.6555968,"latitude_deg":11.9649008,"altitude":75,"angle":210,"satellites":47,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b2f0","is_valid_coordinates":true} 
[2026-07-27 15:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:27:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997394944001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:27:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8880313035915264,"note":"Value kept but may cause issues"} 
[2026-07-27 15:27:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174237048832,"note":"Value kept but may cause issues"} 
[2026-07-27 15:27:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:27:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785146095000,"timestamp_ms":1785146095000,"timestamp_seconds":1785146095,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2ffb598"} 
[2026-07-27 15:27:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:27:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-27 15:27:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:27:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:27:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:27:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:27:06] local.INFO: Teltonika packet parsed successfully {"connection_id":145348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:27:06] local.INFO: Passing IMEI to GPS processor {"connection_id":145348,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:27:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":145348,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:27:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:27:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:27:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:27:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997394944001,"66":12461,"120":206,"28":31744,"24":0,"16":8880313035915264,"45":1739093174237048832},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 15:27:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:27:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:27:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997394944001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:27:06] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 15:27:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:27:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8880313035915264,"km_value":8880313035915.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:27:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174237048832,"description":"Unknown IO ID 45"} 
[2026-07-27 15:27:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997394944001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739093174237048832}} 
[2026-07-27 15:27:06] local.INFO: DEBUG: GPS processor result {"connection_id":145348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553778,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:27:06] local.INFO: GPS data processed {"connection_id":145348,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:27:06] local.INFO: Acknowledgment sent {"connection_id":145348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:27:09] local.INFO: TCP Data received {"connection_id":145347,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa30078e8012d9f3c4005a19be0001400f72a..."} 
[2026-07-27 15:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145347,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa30078e8012d9f3c4005a19be0001400f72a..."} 
[2026-07-27 15:27:09] local.INFO: Processing buffer {"connection_id":145347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa30078e8012d9f3c4005a19be0001400f72a..."} 
[2026-07-27 15:27:09] local.INFO: Packet analysis {"connection_id":145347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa300"} 
[2026-07-27 15:27:09] local.INFO: Extracted packet for processing {"connection_id":145347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa300"} 
[2026-07-27 15:27:09] local.INFO: GPS Element Parsed {"raw_longitude":765410368,"raw_latitude":94477280,"longitude_deg":76.5410368,"latitude_deg":9.447728,"altitude":20,"angle":247,"satellites":42,"speed":2,"hex_longitude":"2d9f3c40","hex_latitude":"05a19be0","is_valid_coordinates":true} 
[2026-07-27 15:27:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:27:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997410816001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:27:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999849368027136,"note":"Value kept but may cause issues"} 
[2026-07-27 15:27:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972557361401804800,"note":"Value kept but may cause issues"} 
[2026-07-27 15:27:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:27:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785146145000,"timestamp_ms":1785146145000,"timestamp_seconds":1785146145,"priority":1,"record_length":96,"hex_timestamp":"0000019fa30078e8"} 
[2026-07-27 15:27:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:27:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-27 15:27:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:27:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:27:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:27:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:27:09] local.INFO: Teltonika packet parsed successfully {"connection_id":145347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:27:09] local.INFO: Passing IMEI to GPS processor {"connection_id":145347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:27:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":145347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:27:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:27:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 15:27:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 15:27:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997410816001,"66":27995,"236":206,"83":17152,"24":2,"16":358999849368027136,"45":-6972557361401804800},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 15:27:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 15:27:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 15:27:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997410816001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:27:09] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 15:27:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 15:27:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999849368027136,"km_value":358999849368027.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:27:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972557361401804800,"description":"Unknown IO ID 45"} 
[2026-07-27 15:27:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997410816001,"power":27995,"unknown_236":206,"unknown_83":17152,"ignition":2,"odometer":null,"unknown_45":-6972557361401804800}} 
[2026-07-27 15:27:09] local.INFO: DEBUG: GPS processor result {"connection_id":145347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:27:09] local.INFO: GPS data processed {"connection_id":145347,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:27:09] local.INFO: Acknowledgment sent {"connection_id":145347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:27:10] local.INFO: TCP Data received {"connection_id":145348,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa30007a0012d1820c00721b2e8004b00d22d..."} 
[2026-07-27 15:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145348,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa30007a0012d1820c00721b2e8004b00d22d..."} 
[2026-07-27 15:27:10] local.INFO: Processing buffer {"connection_id":145348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa30007a0012d1820c00721b2e8004b00d22d..."} 
[2026-07-27 15:27:10] local.INFO: Packet analysis {"connection_id":145348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa300"} 
[2026-07-27 15:27:10] local.INFO: Extracted packet for processing {"connection_id":145348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa300"} 
[2026-07-27 15:27:10] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649000,"longitude_deg":75.6555968,"latitude_deg":11.9649,"altitude":75,"angle":210,"satellites":45,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b2e8","is_valid_coordinates":true} 
[2026-07-27 15:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:27:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997400320001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:27:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8880317330882560,"note":"Value kept but may cause issues"} 
[2026-07-27 15:27:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027690496,"note":"Value kept but may cause issues"} 
[2026-07-27 15:27:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:27:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785146116000,"timestamp_ms":1785146116000,"timestamp_seconds":1785146116,"priority":1,"record_length":96,"hex_timestamp":"0000019fa30007a0"} 
[2026-07-27 15:27:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:27:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-27 15:27:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:27:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:27:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:27:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:27:10] local.INFO: Teltonika packet parsed successfully {"connection_id":145348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:27:10] local.INFO: Passing IMEI to GPS processor {"connection_id":145348,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:27:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":145348,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:27:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:27:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:27:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:27:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997400320001,"66":12461,"120":206,"28":31744,"24":0,"16":8880317330882560,"45":1738600593027690496},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 15:27:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:27:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:27:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997400320001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:27:10] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 15:27:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:27:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8880317330882560,"km_value":8880317330882.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:27:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027690496,"description":"Unknown IO ID 45"} 
[2026-07-27 15:27:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997400320001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738600593027690496}} 
[2026-07-27 15:27:11] local.INFO: DEBUG: GPS processor result {"connection_id":145348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553780,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:27:11] local.INFO: GPS data processed {"connection_id":145348,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:27:11] local.INFO: Acknowledgment sent {"connection_id":145348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:27:25] local.INFO: TCP Data received {"connection_id":142926,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2fe90a0012d7a154005ec81b0000d011e1e..."} 
[2026-07-27 15:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2fe90a0012d7a154005ec81b0000d011e1e..."} 
[2026-07-27 15:27:25] local.INFO: Processing buffer {"connection_id":142926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2fe90a0012d7a154005ec81b0000d011e1e..."} 
[2026-07-27 15:27:25] local.INFO: Packet analysis {"connection_id":142926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2fe"} 
[2026-07-27 15:27:25] local.INFO: Extracted packet for processing {"connection_id":142926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2fe"} 
[2026-07-27 15:27:25] local.INFO: GPS Element Parsed {"raw_longitude":762975552,"raw_latitude":99385776,"longitude_deg":76.2975552,"latitude_deg":9.9385776,"altitude":13,"angle":286,"satellites":30,"speed":0,"hex_longitude":"2d7a1540","hex_latitude":"05ec81b0","is_valid_coordinates":true} 
[2026-07-27 15:27:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:27:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997376000001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:27:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111600898370699264,"note":"Value kept but may cause issues"} 
[2026-07-27 15:27:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8797007841325066240,"note":"Value kept but may cause issues"} 
[2026-07-27 15:27:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:27:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785146020000,"timestamp_ms":1785146020000,"timestamp_seconds":1785146020,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2fe90a0"} 
[2026-07-27 15:27:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:27:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:27:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-07-27 15:27:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:27:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:27:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:27:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:27:25] local.INFO: Teltonika packet parsed successfully {"connection_id":142926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:27:25] local.INFO: Passing IMEI to GPS processor {"connection_id":142926,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 15:27:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":142926,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 15:27:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:27:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 15:27:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 15:27:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997376000001,"66":13178,"157":206,"87":13824,"24":0,"16":111600898370699264,"45":8797007841325066240},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-27 15:27:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 15:27:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 15:27:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997376000001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:27:25] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-27 15:27:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 15:27:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111600898370699264,"km_value":111600898370699.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:27:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8797007841325066240,"description":"Unknown IO ID 45"} 
[2026-07-27 15:27:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997376000001,"power":13178,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8797007841325066240}} 
[2026-07-27 15:27:25] local.INFO: DEBUG: GPS processor result {"connection_id":142926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553781,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:27:25] local.INFO: GPS data processed {"connection_id":142926,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:27:25] local.INFO: Acknowledgment sent {"connection_id":142926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:27:31] local.INFO: TCP Data received {"connection_id":144059,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:27:31] local.INFO: Processing buffer {"connection_id":144059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:27:31] local.INFO: IMEI packet received {"connection_id":144059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 15:27:31] local.INFO: IMEI acknowledgment sent {"connection_id":144059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:27:32] local.INFO: TCP Data received {"connection_id":144059,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:27:32] local.INFO: Processing buffer {"connection_id":144059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:27:32] local.INFO: IMEI packet received {"connection_id":144059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 15:27:32] local.INFO: IMEI acknowledgment sent {"connection_id":144059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:27:37] local.INFO: TCP Data received {"connection_id":144059,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:27:37] local.INFO: Processing buffer {"connection_id":144059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:27:37] local.INFO: IMEI packet received {"connection_id":144059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 15:27:37] local.INFO: IMEI acknowledgment sent {"connection_id":144059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:27:39] local.INFO: TCP Data received {"connection_id":144059,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa300caf0012d9f3c0005a19b70001400f12b..."} 
[2026-07-27 15:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144059,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa300caf0012d9f3c0005a19b70001400f12b..."} 
[2026-07-27 15:27:39] local.INFO: Processing buffer {"connection_id":144059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa300caf0012d9f3c0005a19b70001400f12b..."} 
[2026-07-27 15:27:39] local.INFO: Packet analysis {"connection_id":144059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa300"} 
[2026-07-27 15:27:39] local.INFO: Extracted packet for processing {"connection_id":144059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa300"} 
[2026-07-27 15:27:39] local.INFO: GPS Element Parsed {"raw_longitude":765410304,"raw_latitude":94477168,"longitude_deg":76.5410304,"latitude_deg":9.4477168,"altitude":20,"angle":241,"satellites":43,"speed":0,"hex_longitude":"2d9f3c00","hex_latitude":"05a19b70","is_valid_coordinates":true} 
[2026-07-27 15:27:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:27:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997413120001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:27:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358999857957961728,"note":"Value kept but may cause issues"} 
[2026-07-27 15:27:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972627730146009088,"note":"Value kept but may cause issues"} 
[2026-07-27 15:27:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:27:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785146166000,"timestamp_ms":1785146166000,"timestamp_seconds":1785146166,"priority":1,"record_length":96,"hex_timestamp":"0000019fa300caf0"} 
[2026-07-27 15:27:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:27:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:27:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-27 15:27:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:27:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:27:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:27:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:27:39] local.INFO: Teltonika packet parsed successfully {"connection_id":144059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:27:39] local.INFO: Passing IMEI to GPS processor {"connection_id":144059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:27:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":144059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:27:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:27:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 15:27:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 15:27:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997413120001,"66":27995,"236":206,"83":17152,"24":0,"16":358999857957961728,"45":-6972627730146009088},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 15:27:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 15:27:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 15:27:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997413120001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:27:39] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 15:27:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 15:27:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358999857957961728,"km_value":358999857957961.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:27:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972627730146009088,"description":"Unknown IO ID 45"} 
[2026-07-27 15:27:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997413120001,"power":27995,"unknown_236":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6972627730146009088}} 
[2026-07-27 15:27:39] local.INFO: DEBUG: GPS processor result {"connection_id":144059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:27:39] local.INFO: GPS data processed {"connection_id":144059,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:27:39] local.INFO: Acknowledgment sent {"connection_id":144059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:27:42] local.INFO: TCP Data received {"connection_id":145348,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa30059a8012d1820c00721b2e8004b00d22e..."} 
[2026-07-27 15:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145348,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa30059a8012d1820c00721b2e8004b00d22e..."} 
[2026-07-27 15:27:42] local.INFO: Processing buffer {"connection_id":145348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa30059a8012d1820c00721b2e8004b00d22e..."} 
[2026-07-27 15:27:42] local.INFO: Packet analysis {"connection_id":145348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa300"} 
[2026-07-27 15:27:42] local.INFO: Extracted packet for processing {"connection_id":145348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa300"} 
[2026-07-27 15:27:42] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649000,"longitude_deg":75.6555968,"latitude_deg":11.9649,"altitude":75,"angle":210,"satellites":46,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b2e8","is_valid_coordinates":true} 
[2026-07-27 15:27:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:27:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997405696001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:27:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8880317330882560,"note":"Value kept but may cause issues"} 
[2026-07-27 15:27:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027688448,"note":"Value kept but may cause issues"} 
[2026-07-27 15:27:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:27:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785146137000,"timestamp_ms":1785146137000,"timestamp_seconds":1785146137,"priority":1,"record_length":96,"hex_timestamp":"0000019fa30059a8"} 
[2026-07-27 15:27:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:27:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-27 15:27:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:27:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:27:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:27:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:27:42] local.INFO: Teltonika packet parsed successfully {"connection_id":145348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:27:42] local.INFO: Passing IMEI to GPS processor {"connection_id":145348,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:27:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":145348,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:27:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:27:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:27:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:27:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997405696001,"66":12504,"120":206,"28":31744,"24":0,"16":8880317330882560,"45":1738600593027688448},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 15:27:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:27:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:27:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997405696001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:27:42] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 15:27:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:27:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8880317330882560,"km_value":8880317330882.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:27:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027688448,"description":"Unknown IO ID 45"} 
[2026-07-27 15:27:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997405696001,"power":12504,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738600593027688448}} 
[2026-07-27 15:27:42] local.INFO: DEBUG: GPS processor result {"connection_id":145348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553783,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:27:42] local.INFO: GPS data processed {"connection_id":145348,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:27:42] local.INFO: Acknowledgment sent {"connection_id":145348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:27:53] local.INFO: TCP Data received {"connection_id":145349,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145349,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:27:53] local.INFO: Processing buffer {"connection_id":145349,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:27:53] local.INFO: IMEI packet received {"connection_id":145349,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 15:27:53] local.INFO: IMEI acknowledgment sent {"connection_id":145349,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:27:59] local.INFO: TCP Data received {"connection_id":145349,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145349,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:27:59] local.INFO: Processing buffer {"connection_id":145349,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:27:59] local.INFO: IMEI packet received {"connection_id":145349,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 15:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":145349,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:28:00] local.INFO: TCP Data received {"connection_id":145349,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2fee2a8012d7a154005ec81b0000d011e1e..."} 
[2026-07-27 15:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145349,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2fee2a8012d7a154005ec81b0000d011e1e..."} 
[2026-07-27 15:28:00] local.INFO: Processing buffer {"connection_id":145349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2fee2a8012d7a154005ec81b0000d011e1e..."} 
[2026-07-27 15:28:00] local.INFO: Packet analysis {"connection_id":145349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2fe"} 
[2026-07-27 15:28:00] local.INFO: Extracted packet for processing {"connection_id":145349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2fe"} 
[2026-07-27 15:28:00] local.INFO: GPS Element Parsed {"raw_longitude":762975552,"raw_latitude":99385776,"longitude_deg":76.2975552,"latitude_deg":9.9385776,"altitude":13,"angle":286,"satellites":30,"speed":0,"hex_longitude":"2d7a1540","hex_latitude":"05ec81b0","is_valid_coordinates":true} 
[2026-07-27 15:28:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:28:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997381120001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:28:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111600898370699264,"note":"Value kept but may cause issues"} 
[2026-07-27 15:28:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8797007841325068288,"note":"Value kept but may cause issues"} 
[2026-07-27 15:28:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:28:00] local.INFO: AVL Record Parsed {"raw_timestamp":1785146041000,"timestamp_ms":1785146041000,"timestamp_seconds":1785146041,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2fee2a8"} 
[2026-07-27 15:28:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:28:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:28:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-07-27 15:28:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:28:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:28:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:28:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:28:00] local.INFO: Teltonika packet parsed successfully {"connection_id":145349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:28:00] local.INFO: Passing IMEI to GPS processor {"connection_id":145349,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 15:28:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":145349,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 15:28:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:28:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 15:28:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 15:28:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997381120001,"66":13341,"157":206,"87":13824,"24":0,"16":111600898370699264,"45":8797007841325068288},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-27 15:28:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 15:28:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 15:28:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997381120001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:28:00] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-27 15:28:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 15:28:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111600898370699264,"km_value":111600898370699.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:28:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8797007841325068288,"description":"Unknown IO ID 45"} 
[2026-07-27 15:28:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997381120001,"power":13341,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8797007841325068288}} 
[2026-07-27 15:28:00] local.INFO: DEBUG: GPS processor result {"connection_id":145349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553784,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:28:00] local.INFO: GPS data processed {"connection_id":145349,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:28:00] local.INFO: Acknowledgment sent {"connection_id":145349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:28:00] local.INFO: TCP Data received {"connection_id":142927,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142927,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:28:00] local.INFO: Processing buffer {"connection_id":142927,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:28:00] local.INFO: IMEI packet received {"connection_id":142927,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 15:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":142927,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:28:01] local.INFO: TCP Data received {"connection_id":142927,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142927,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:28:01] local.INFO: Processing buffer {"connection_id":142927,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:28:01] local.INFO: IMEI packet received {"connection_id":142927,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 15:28:01] local.INFO: IMEI acknowledgment sent {"connection_id":142927,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:28:04] local.INFO: TCP Data received {"connection_id":145349,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2ff34b0012d7a154005ec81b0000d011e1c..."} 
[2026-07-27 15:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145349,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2ff34b0012d7a154005ec81b0000d011e1c..."} 
[2026-07-27 15:28:04] local.INFO: Processing buffer {"connection_id":145349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2ff34b0012d7a154005ec81b0000d011e1c..."} 
[2026-07-27 15:28:04] local.INFO: Packet analysis {"connection_id":145349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2ff"} 
[2026-07-27 15:28:04] local.INFO: Extracted packet for processing {"connection_id":145349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2ff"} 
[2026-07-27 15:28:04] local.INFO: GPS Element Parsed {"raw_longitude":762975552,"raw_latitude":99385776,"longitude_deg":76.2975552,"latitude_deg":9.9385776,"altitude":13,"angle":286,"satellites":28,"speed":0,"hex_longitude":"2d7a1540","hex_latitude":"05ec81b0","is_valid_coordinates":true} 
[2026-07-27 15:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:28:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997386496001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:28:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111600898370699264,"note":"Value kept but may cause issues"} 
[2026-07-27 15:28:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8797007841325068288,"note":"Value kept but may cause issues"} 
[2026-07-27 15:28:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:28:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785146062000,"timestamp_ms":1785146062000,"timestamp_seconds":1785146062,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2ff34b0"} 
[2026-07-27 15:28:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:28:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-07-27 15:28:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:28:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:28:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:28:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:28:04] local.INFO: Teltonika packet parsed successfully {"connection_id":145349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:28:04] local.INFO: Passing IMEI to GPS processor {"connection_id":145349,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 15:28:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":145349,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 15:28:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:28:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 15:28:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 15:28:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997386496001,"66":12917,"157":206,"87":13824,"24":0,"16":111600898370699264,"45":8797007841325068288},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-27 15:28:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 15:28:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 15:28:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997386496001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:28:04] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-27 15:28:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 15:28:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111600898370699264,"km_value":111600898370699.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:28:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8797007841325068288,"description":"Unknown IO ID 45"} 
[2026-07-27 15:28:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997386496001,"power":12917,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8797007841325068288}} 
[2026-07-27 15:28:04] local.INFO: DEBUG: GPS processor result {"connection_id":145349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553785,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:28:04] local.INFO: GPS data processed {"connection_id":145349,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:28:04] local.INFO: Acknowledgment sent {"connection_id":145349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:28:05] local.INFO: TCP Data received {"connection_id":142927,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142927,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:28:05] local.INFO: Processing buffer {"connection_id":142927,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:28:05] local.INFO: IMEI packet received {"connection_id":142927,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 15:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":142927,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:28:06] local.INFO: TCP Data received {"connection_id":142927,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa300abb0012d1820c00721b2e8004b00d22c..."} 
[2026-07-27 15:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa300abb0012d1820c00721b2e8004b00d22c..."} 
[2026-07-27 15:28:06] local.INFO: Processing buffer {"connection_id":142927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa300abb0012d1820c00721b2e8004b00d22c..."} 
[2026-07-27 15:28:06] local.INFO: Packet analysis {"connection_id":142927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa300"} 
[2026-07-27 15:28:06] local.INFO: Extracted packet for processing {"connection_id":142927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa300"} 
[2026-07-27 15:28:06] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649000,"longitude_deg":75.6555968,"latitude_deg":11.9649,"altitude":75,"angle":210,"satellites":44,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b2e8","is_valid_coordinates":true} 
[2026-07-27 15:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:28:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997411072001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:28:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8880317330882560,"note":"Value kept but may cause issues"} 
[2026-07-27 15:28:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027688448,"note":"Value kept but may cause issues"} 
[2026-07-27 15:28:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:28:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785146158000,"timestamp_ms":1785146158000,"timestamp_seconds":1785146158,"priority":1,"record_length":96,"hex_timestamp":"0000019fa300abb0"} 
[2026-07-27 15:28:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:28:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-27 15:28:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:28:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:28:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:28:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:28:06] local.INFO: Teltonika packet parsed successfully {"connection_id":142927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:28:06] local.INFO: Passing IMEI to GPS processor {"connection_id":142927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:28:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":142927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:28:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:28:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:28:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:28:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997411072001,"66":12504,"120":206,"28":31744,"24":0,"16":8880317330882560,"45":1738600593027688448},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 15:28:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:28:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:28:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997411072001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:28:06] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 15:28:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:28:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8880317330882560,"km_value":8880317330882.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:28:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027688448,"description":"Unknown IO ID 45"} 
[2026-07-27 15:28:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997411072001,"power":12504,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738600593027688448}} 
[2026-07-27 15:28:06] local.INFO: DEBUG: GPS processor result {"connection_id":142927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553786,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:28:06] local.INFO: GPS data processed {"connection_id":142927,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:28:06] local.INFO: Acknowledgment sent {"connection_id":142927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:28:10] local.INFO: TCP Data received {"connection_id":144059,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa301a998012d9f38c005a18910000f00be2e..."} 
[2026-07-27 15:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144059,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa301a998012d9f38c005a18910000f00be2e..."} 
[2026-07-27 15:28:10] local.INFO: Processing buffer {"connection_id":144059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa301a998012d9f38c005a18910000f00be2e..."} 
[2026-07-27 15:28:10] local.INFO: Packet analysis {"connection_id":144059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa301"} 
[2026-07-27 15:28:10] local.INFO: Extracted packet for processing {"connection_id":144059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa301"} 
[2026-07-27 15:28:10] local.INFO: GPS Element Parsed {"raw_longitude":765409472,"raw_latitude":94472464,"longitude_deg":76.5409472,"latitude_deg":9.4472464,"altitude":15,"angle":190,"satellites":46,"speed":10,"hex_longitude":"2d9f38c0","hex_latitude":"05a18910","is_valid_coordinates":true} 
[2026-07-27 15:28:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:28:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997432320001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:28:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359000107066064896,"note":"Value kept but may cause issues"} 
[2026-07-27 15:28:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6973542523821422592,"note":"Value kept but may cause issues"} 
[2026-07-27 15:28:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:28:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785146223000,"timestamp_ms":1785146223000,"timestamp_seconds":1785146223,"priority":1,"record_length":96,"hex_timestamp":"0000019fa301a998"} 
[2026-07-27 15:28:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:28:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-27 15:28:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:28:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:28:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:28:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:28:10] local.INFO: Teltonika packet parsed successfully {"connection_id":144059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:28:10] local.INFO: Passing IMEI to GPS processor {"connection_id":144059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:28:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":144059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:28:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:28:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 15:28:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 15:28:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997432320001,"66":27908,"237":206,"83":17152,"24":10,"16":359000107066064896,"45":-6973542523821422592},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,83,24,16,45]} 
[2026-07-27 15:28:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 15:28:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 15:28:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997432320001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:28:10] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-07-27 15:28:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 15:28:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359000107066064896,"km_value":359000107066064.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:28:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6973542523821422592,"description":"Unknown IO ID 45"} 
[2026-07-27 15:28:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997432320001,"power":27908,"unknown_237":206,"unknown_83":17152,"ignition":10,"odometer":null,"unknown_45":-6973542523821422592}} 
[2026-07-27 15:28:10] local.INFO: DEBUG: GPS processor result {"connection_id":144059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:28:10] local.INFO: GPS data processed {"connection_id":144059,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:28:10] local.INFO: Acknowledgment sent {"connection_id":144059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:28:31] local.INFO: TCP Data received {"connection_id":142928,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:28:31] local.INFO: Processing buffer {"connection_id":142928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:28:31] local.INFO: IMEI packet received {"connection_id":142928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 15:28:31] local.INFO: IMEI acknowledgment sent {"connection_id":142928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:28:37] local.INFO: TCP Data received {"connection_id":142928,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:28:37] local.INFO: Processing buffer {"connection_id":142928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:28:37] local.INFO: IMEI packet received {"connection_id":142928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 15:28:37] local.INFO: IMEI acknowledgment sent {"connection_id":142928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:28:38] local.INFO: TCP Data received {"connection_id":142927,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa300fdb8012d1820c00721b2e8004b00d22c..."} 
[2026-07-27 15:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa300fdb8012d1820c00721b2e8004b00d22c..."} 
[2026-07-27 15:28:38] local.INFO: Processing buffer {"connection_id":142927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa300fdb8012d1820c00721b2e8004b00d22c..."} 
[2026-07-27 15:28:38] local.INFO: Packet analysis {"connection_id":142927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa300"} 
[2026-07-27 15:28:38] local.INFO: Extracted packet for processing {"connection_id":142927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa300"} 
[2026-07-27 15:28:38] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649000,"longitude_deg":75.6555968,"latitude_deg":11.9649,"altitude":75,"angle":210,"satellites":44,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b2e8","is_valid_coordinates":true} 
[2026-07-27 15:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:28:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997416448001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:28:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8880317330882560,"note":"Value kept but may cause issues"} 
[2026-07-27 15:28:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027688448,"note":"Value kept but may cause issues"} 
[2026-07-27 15:28:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:28:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785146179000,"timestamp_ms":1785146179000,"timestamp_seconds":1785146179,"priority":1,"record_length":96,"hex_timestamp":"0000019fa300fdb8"} 
[2026-07-27 15:28:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:28:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-27 15:28:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:28:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:28:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:28:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:28:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:28:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:28:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:28:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:28:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:28:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:28:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997416448001,"66":12461,"120":206,"28":31744,"24":0,"16":8880317330882560,"45":1738600593027688448},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 15:28:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:28:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:28:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997416448001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:28:38] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 15:28:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:28:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8880317330882560,"km_value":8880317330882.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:28:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027688448,"description":"Unknown IO ID 45"} 
[2026-07-27 15:28:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997416448001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738600593027688448}} 
[2026-07-27 15:28:38] local.INFO: DEBUG: GPS processor result {"connection_id":142927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553788,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:28:38] local.INFO: GPS data processed {"connection_id":142927,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:28:38] local.INFO: Acknowledgment sent {"connection_id":142927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:28:38] local.INFO: TCP Data received {"connection_id":142928,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa301e048012d9f35c005a173d0000e00b32f..."} 
[2026-07-27 15:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa301e048012d9f35c005a173d0000e00b32f..."} 
[2026-07-27 15:28:38] local.INFO: Processing buffer {"connection_id":142928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa301e048012d9f35c005a173d0000e00b32f..."} 
[2026-07-27 15:28:38] local.INFO: Packet analysis {"connection_id":142928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa301"} 
[2026-07-27 15:28:38] local.INFO: Extracted packet for processing {"connection_id":142928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa301"} 
[2026-07-27 15:28:38] local.INFO: GPS Element Parsed {"raw_longitude":765408704,"raw_latitude":94467024,"longitude_deg":76.5408704,"latitude_deg":9.4467024,"altitude":14,"angle":179,"satellites":47,"speed":10,"hex_longitude":"2d9f35c0","hex_latitude":"05a173d0","is_valid_coordinates":true} 
[2026-07-27 15:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:28:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997433088001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:28:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359000373354037248,"note":"Value kept but may cause issues"} 
[2026-07-27 15:28:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6973612892565729280,"note":"Value kept but may cause issues"} 
[2026-07-27 15:28:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:28:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785146237000,"timestamp_ms":1785146237000,"timestamp_seconds":1785146237,"priority":1,"record_length":96,"hex_timestamp":"0000019fa301e048"} 
[2026-07-27 15:28:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:28:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-27 15:28:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:28:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:28:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:28:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:28:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:28:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:28:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:28:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:28:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 15:28:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 15:28:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997433088001,"66":27658,"237":206,"83":17152,"24":10,"16":359000373354037248,"45":-6973612892565729280},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,83,24,16,45]} 
[2026-07-27 15:28:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 15:28:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 15:28:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997433088001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:28:38] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-07-27 15:28:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 15:28:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359000373354037248,"km_value":359000373354037.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:28:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6973612892565729280,"description":"Unknown IO ID 45"} 
[2026-07-27 15:28:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997433088001,"power":27658,"unknown_237":206,"unknown_83":17152,"ignition":10,"odometer":null,"unknown_45":-6973612892565729280}} 
[2026-07-27 15:28:38] local.INFO: DEBUG: GPS processor result {"connection_id":142928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:28:38] local.INFO: GPS data processed {"connection_id":142928,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:28:38] local.INFO: Acknowledgment sent {"connection_id":142928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:28:48] local.INFO: TCP Data received {"connection_id":145350,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145350,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:28:48] local.INFO: Processing buffer {"connection_id":145350,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:28:48] local.INFO: IMEI packet received {"connection_id":145350,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 15:28:48] local.INFO: IMEI acknowledgment sent {"connection_id":145350,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:28:53] local.INFO: TCP Data received {"connection_id":145350,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145350,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:28:53] local.INFO: Processing buffer {"connection_id":145350,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:28:53] local.INFO: IMEI packet received {"connection_id":145350,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 15:28:53] local.INFO: IMEI acknowledgment sent {"connection_id":145350,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:28:54] local.INFO: TCP Data received {"connection_id":145350,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2ff34b0012d7a154005ec81b0000d011e1c..."} 
[2026-07-27 15:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145350,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2ff34b0012d7a154005ec81b0000d011e1c..."} 
[2026-07-27 15:28:54] local.INFO: Processing buffer {"connection_id":145350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2ff34b0012d7a154005ec81b0000d011e1c..."} 
[2026-07-27 15:28:54] local.INFO: Packet analysis {"connection_id":145350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2ff"} 
[2026-07-27 15:28:54] local.INFO: Extracted packet for processing {"connection_id":145350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2ff"} 
[2026-07-27 15:28:54] local.INFO: GPS Element Parsed {"raw_longitude":762975552,"raw_latitude":99385776,"longitude_deg":76.2975552,"latitude_deg":9.9385776,"altitude":13,"angle":286,"satellites":28,"speed":0,"hex_longitude":"2d7a1540","hex_latitude":"05ec81b0","is_valid_coordinates":true} 
[2026-07-27 15:28:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:28:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997391872001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:28:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111600898370699264,"note":"Value kept but may cause issues"} 
[2026-07-27 15:28:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8797007841325068288,"note":"Value kept but may cause issues"} 
[2026-07-27 15:28:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:28:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785146062000,"timestamp_ms":1785146062000,"timestamp_seconds":1785146062,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2ff34b0"} 
[2026-07-27 15:28:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:28:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:28:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-27 15:28:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:28:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:28:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:28:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:28:54] local.INFO: Teltonika packet parsed successfully {"connection_id":145350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:28:54] local.INFO: Passing IMEI to GPS processor {"connection_id":145350,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 15:28:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":145350,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 15:28:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:28:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 15:28:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 15:28:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997391872001,"66":13319,"157":206,"87":13824,"24":0,"16":111600898370699264,"45":8797007841325068288},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-27 15:28:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 15:28:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 15:28:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997391872001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:28:54] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-27 15:28:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 15:28:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111600898370699264,"km_value":111600898370699.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:28:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8797007841325068288,"description":"Unknown IO ID 45"} 
[2026-07-27 15:28:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997391872001,"power":13319,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8797007841325068288}} 
[2026-07-27 15:28:54] local.INFO: DEBUG: GPS processor result {"connection_id":145350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553790,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:28:54] local.INFO: GPS data processed {"connection_id":145350,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:28:54] local.INFO: Acknowledgment sent {"connection_id":145350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:29:00] local.INFO: TCP Data received {"connection_id":143075,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143075,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:29:00] local.INFO: Processing buffer {"connection_id":143075,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:29:00] local.INFO: IMEI packet received {"connection_id":143075,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 15:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":143075,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:29:05] local.INFO: TCP Data received {"connection_id":143075,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143075,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:29:05] local.INFO: Processing buffer {"connection_id":143075,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:29:05] local.INFO: IMEI packet received {"connection_id":143075,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 15:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":143075,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:29:05] local.INFO: TCP Data received {"connection_id":143075,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3014fc0012d1820c00721b2e8004b00d22d..."} 
[2026-07-27 15:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3014fc0012d1820c00721b2e8004b00d22d..."} 
[2026-07-27 15:29:05] local.INFO: Processing buffer {"connection_id":143075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3014fc0012d1820c00721b2e8004b00d22d..."} 
[2026-07-27 15:29:05] local.INFO: Packet analysis {"connection_id":143075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa301"} 
[2026-07-27 15:29:05] local.INFO: Extracted packet for processing {"connection_id":143075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa301"} 
[2026-07-27 15:29:05] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649000,"longitude_deg":75.6555968,"latitude_deg":11.9649,"altitude":75,"angle":210,"satellites":45,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b2e8","is_valid_coordinates":true} 
[2026-07-27 15:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:29:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997421824001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:29:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8880317330882560,"note":"Value kept but may cause issues"} 
[2026-07-27 15:29:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027688448,"note":"Value kept but may cause issues"} 
[2026-07-27 15:29:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:29:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785146200000,"timestamp_ms":1785146200000,"timestamp_seconds":1785146200,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3014fc0"} 
[2026-07-27 15:29:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:29:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-27 15:29:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:29:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:29:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:29:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:29:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:29:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143075,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:29:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143075,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:29:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:29:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:29:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:29:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997421824001,"66":12504,"120":206,"28":31744,"24":0,"16":8880317330882560,"45":1738600593027688448},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 15:29:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:29:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:29:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997421824001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:29:05] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 15:29:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:29:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8880317330882560,"km_value":8880317330882.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:29:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027688448,"description":"Unknown IO ID 45"} 
[2026-07-27 15:29:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997421824001,"power":12504,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738600593027688448}} 
[2026-07-27 15:29:06] local.INFO: DEBUG: GPS processor result {"connection_id":143075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553791,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:29:06] local.INFO: GPS data processed {"connection_id":143075,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:29:06] local.INFO: Acknowledgment sent {"connection_id":143075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:29:09] local.INFO: TCP Data received {"connection_id":142928,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa301fba0012d9f344005a16f500010010a30..."} 
[2026-07-27 15:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa301fba0012d9f344005a16f500010010a30..."} 
[2026-07-27 15:29:09] local.INFO: Processing buffer {"connection_id":142928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa301fba0012d9f344005a16f500010010a30..."} 
[2026-07-27 15:29:09] local.INFO: Packet analysis {"connection_id":142928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa301"} 
[2026-07-27 15:29:09] local.INFO: Extracted packet for processing {"connection_id":142928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa301"} 
[2026-07-27 15:29:09] local.INFO: GPS Element Parsed {"raw_longitude":765408320,"raw_latitude":94465872,"longitude_deg":76.540832,"latitude_deg":9.4465872,"altitude":16,"angle":266,"satellites":48,"speed":8,"hex_longitude":"2d9f3440","hex_latitude":"05a16f50","is_valid_coordinates":true} 
[2026-07-27 15:29:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:29:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997436672001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:29:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359000433483579392,"note":"Value kept but may cause issues"} 
[2026-07-27 15:29:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6974457317497253888,"note":"Value kept but may cause issues"} 
[2026-07-27 15:29:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:29:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785146244000,"timestamp_ms":1785146244000,"timestamp_seconds":1785146244,"priority":1,"record_length":96,"hex_timestamp":"0000019fa301fba0"} 
[2026-07-27 15:29:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:29:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-27 15:29:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:29:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:29:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:29:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:29:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:29:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:29:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:29:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:29:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 15:29:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 15:29:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997436672001,"66":28126,"237":206,"83":17152,"24":8,"16":359000433483579392,"45":-6974457317497253888},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,83,24,16,45]} 
[2026-07-27 15:29:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 15:29:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 15:29:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997436672001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:29:09] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-07-27 15:29:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 15:29:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359000433483579392,"km_value":359000433483579.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:29:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6974457317497253888,"description":"Unknown IO ID 45"} 
[2026-07-27 15:29:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997436672001,"power":28126,"unknown_237":206,"unknown_83":17152,"ignition":8,"odometer":null,"unknown_45":-6974457317497253888}} 
[2026-07-27 15:29:09] local.INFO: DEBUG: GPS processor result {"connection_id":142928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:29:09] local.INFO: GPS data processed {"connection_id":142928,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:29:09] local.INFO: Acknowledgment sent {"connection_id":142928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:29:25] local.INFO: TCP Data received {"connection_id":145350,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa2ff34b0012d7a154005ec81b0000d011e1c..."} 
[2026-07-27 15:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145350,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa2ff34b0012d7a154005ec81b0000d011e1c..."} 
[2026-07-27 15:29:25] local.INFO: Processing buffer {"connection_id":145350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa2ff34b0012d7a154005ec81b0000d011e1c..."} 
[2026-07-27 15:29:25] local.INFO: Packet analysis {"connection_id":145350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa2ff"} 
[2026-07-27 15:29:25] local.INFO: Extracted packet for processing {"connection_id":145350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa2ff"} 
[2026-07-27 15:29:25] local.INFO: GPS Element Parsed {"raw_longitude":762975552,"raw_latitude":99385776,"longitude_deg":76.2975552,"latitude_deg":9.9385776,"altitude":13,"angle":286,"satellites":28,"speed":0,"hex_longitude":"2d7a1540","hex_latitude":"05ec81b0","is_valid_coordinates":true} 
[2026-07-27 15:29:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:29:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997391872001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:29:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111600898370699264,"note":"Value kept but may cause issues"} 
[2026-07-27 15:29:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8797007841325068288,"note":"Value kept but may cause issues"} 
[2026-07-27 15:29:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:29:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785146062000,"timestamp_ms":1785146062000,"timestamp_seconds":1785146062,"priority":1,"record_length":96,"hex_timestamp":"0000019fa2ff34b0"} 
[2026-07-27 15:29:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:29:25] 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-07-27 15:29:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-27 15:29:25] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-27 15:29:25] local.WARNING: Large IO value detected {"io_id":24,"raw_value":2147871875,"note":"Value kept but may cause issues"} 
[2026-07-27 15:29:25] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2734561160,"note":"Value kept but may cause issues"} 
[2026-07-27 15:29:25] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-07-27 15:29:25] local.WARNING: Large IO value detected {"io_id":122,"raw_value":57770114758367030,"note":"Value kept but may cause issues"} 
[2026-07-27 15:29:25] local.WARNING: Large IO value detected {"io_id":162,"raw_value":4265771009,"note":"Value kept but may cause issues"} 
[2026-07-27 15:29:25] local.WARNING: Large IO value detected {"io_id":236,"raw_value":-8894609216794124544,"note":"Value kept but may cause issues"} 
[2026-07-27 15:29:25] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1033699534,"corrected_to":0} 
[2026-07-27 15:29:25] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3968090112,"note":"Value kept but may cause issues"} 
[2026-07-27 15:29:25] local.WARNING: Large IO value detected {"io_id":254,"raw_value":1414131577828016133,"note":"Value kept but may cause issues"} 
[2026-07-27 15:29:25] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,157,87,24,241,16,124,159,52,45,64,129,13,28,10,66,226,30,144,1,240,122,227,162,236,4,113,205,27,176,31,239,51,2,140,5,11,9,254],"length":527,"final_offset":657,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1033699534,"validated":0}]} 
[2026-07-27 15:29:25] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":937063303077691631,"timestamp_seconds":937063303077691.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 15:29:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:29:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:29:25] local.INFO: Teltonika packet parsed successfully {"connection_id":145350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:29:25] local.INFO: Passing IMEI to GPS processor {"connection_id":145350,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 15:29:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":145350,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 15:29:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:29:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 15:29:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 15:29:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997391872001,"66":13319,"157":206,"87":13824,"24":0,"16":111600898370699264,"45":8797007841325068288},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-27 15:29:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 15:29:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 15:29:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997391872001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:29:25] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-27 15:29:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 15:29:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111600898370699264,"km_value":111600898370699.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:29:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8797007841325068288,"description":"Unknown IO ID 45"} 
[2026-07-27 15:29:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997391872001,"power":13319,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8797007841325068288}} 
[2026-07-27 15:29:25] local.INFO: DEBUG: GPS processor result {"connection_id":145350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553793,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:29:25] local.INFO: GPS data processed {"connection_id":145350,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:29:25] local.INFO: Acknowledgment sent {"connection_id":145350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:29:31] local.INFO: TCP Data received {"connection_id":144060,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:29:31] local.INFO: Processing buffer {"connection_id":144060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:29:31] local.INFO: IMEI packet received {"connection_id":144060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 15:29:31] local.INFO: IMEI acknowledgment sent {"connection_id":144060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:29:36] local.INFO: TCP Data received {"connection_id":144060,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:29:36] local.INFO: Processing buffer {"connection_id":144060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:29:36] local.INFO: IMEI packet received {"connection_id":144060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 15:29:36] local.INFO: IMEI acknowledgment sent {"connection_id":144060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:29:37] local.INFO: TCP Data received {"connection_id":143075,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa301a1c8012d1820c00721b2e8004b00d22e..."} 
[2026-07-27 15:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa301a1c8012d1820c00721b2e8004b00d22e..."} 
[2026-07-27 15:29:37] local.INFO: Processing buffer {"connection_id":143075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa301a1c8012d1820c00721b2e8004b00d22e..."} 
[2026-07-27 15:29:37] local.INFO: Packet analysis {"connection_id":143075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa301"} 
[2026-07-27 15:29:37] local.INFO: Extracted packet for processing {"connection_id":143075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa301"} 
[2026-07-27 15:29:37] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649000,"longitude_deg":75.6555968,"latitude_deg":11.9649,"altitude":75,"angle":210,"satellites":46,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b2e8","is_valid_coordinates":true} 
[2026-07-27 15:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997427200001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:29:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8880317330882560,"note":"Value kept but may cause issues"} 
[2026-07-27 15:29:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027688448,"note":"Value kept but may cause issues"} 
[2026-07-27 15:29:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:29:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785146221000,"timestamp_ms":1785146221000,"timestamp_seconds":1785146221,"priority":1,"record_length":96,"hex_timestamp":"0000019fa301a1c8"} 
[2026-07-27 15:29:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:29:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-27 15:29:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:29:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:29:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:29:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:29:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:29:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143075,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:29:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143075,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:29:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:29:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:29:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:29:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997427200001,"66":12504,"120":206,"28":31744,"24":0,"16":8880317330882560,"45":1738600593027688448},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 15:29:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:29:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:29:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997427200001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:29:37] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 15:29:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:29:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8880317330882560,"km_value":8880317330882.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:29:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027688448,"description":"Unknown IO ID 45"} 
[2026-07-27 15:29:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997427200001,"power":12504,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738600593027688448}} 
[2026-07-27 15:29:37] local.INFO: DEBUG: GPS processor result {"connection_id":143075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553794,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:29:37] local.INFO: GPS data processed {"connection_id":143075,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:29:37] local.INFO: Acknowledgment sent {"connection_id":143075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:29:37] local.INFO: TCP Data received {"connection_id":144060,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3024da8012d9f274005a16ca80012010d2f..."} 
[2026-07-27 15:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144060,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3024da8012d9f274005a16ca80012010d2f..."} 
[2026-07-27 15:29:37] local.INFO: Processing buffer {"connection_id":144060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3024da8012d9f274005a16ca80012010d2f..."} 
[2026-07-27 15:29:37] local.INFO: Packet analysis {"connection_id":144060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa302"} 
[2026-07-27 15:29:37] local.INFO: Extracted packet for processing {"connection_id":144060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa302"} 
[2026-07-27 15:29:37] local.INFO: GPS Element Parsed {"raw_longitude":765404992,"raw_latitude":94465192,"longitude_deg":76.5404992,"latitude_deg":9.4465192,"altitude":18,"angle":269,"satellites":47,"speed":0,"hex_longitude":"2d9f2740","hex_latitude":"05a16ca8","is_valid_coordinates":true} 
[2026-07-27 15:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997438464001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:29:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359000600987303936,"note":"Value kept but may cause issues"} 
[2026-07-27 15:29:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6974879529962614784,"note":"Value kept but may cause issues"} 
[2026-07-27 15:29:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:29:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785146265000,"timestamp_ms":1785146265000,"timestamp_seconds":1785146265,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3024da8"} 
[2026-07-27 15:29:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:29:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-27 15:29:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2741,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:29:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:29:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:29:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:29:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:29:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:29:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:29:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:29:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 15:29:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 15:29:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997438464001,"66":27800,"237":206,"83":17152,"24":0,"16":359000600987303936,"45":-6974879529962614784},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,83,24,16,45]} 
[2026-07-27 15:29:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 15:29:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 15:29:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997438464001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:29:37] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-07-27 15:29:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 15:29:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359000600987303936,"km_value":359000600987303.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:29:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6974879529962614784,"description":"Unknown IO ID 45"} 
[2026-07-27 15:29:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997438464001,"power":27800,"unknown_237":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6974879529962614784}} 
[2026-07-27 15:29:37] local.INFO: DEBUG: GPS processor result {"connection_id":144060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:29:37] local.INFO: GPS data processed {"connection_id":144060,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:29:37] local.INFO: Acknowledgment sent {"connection_id":144060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:29:48] local.INFO: TCP Data received {"connection_id":143076,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143076,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:29:48] local.INFO: Processing buffer {"connection_id":143076,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:29:48] local.INFO: IMEI packet received {"connection_id":143076,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 15:29:48] local.INFO: IMEI acknowledgment sent {"connection_id":143076,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:29:53] local.INFO: TCP Data received {"connection_id":143076,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143076,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:29:53] local.INFO: Processing buffer {"connection_id":143076,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:29:53] local.INFO: IMEI packet received {"connection_id":143076,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 15:29:53] local.INFO: IMEI acknowledgment sent {"connection_id":143076,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:29:54] local.INFO: TCP Data received {"connection_id":143076,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa303dc18012d7a15c005ec81b0000d011e23..."} 
[2026-07-27 15:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143076,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa303dc18012d7a15c005ec81b0000d011e23..."} 
[2026-07-27 15:29:54] local.INFO: Processing buffer {"connection_id":143076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa303dc18012d7a15c005ec81b0000d011e23..."} 
[2026-07-27 15:29:54] local.INFO: Packet analysis {"connection_id":143076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa303"} 
[2026-07-27 15:29:54] local.INFO: Extracted packet for processing {"connection_id":143076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa303"} 
[2026-07-27 15:29:54] local.INFO: GPS Element Parsed {"raw_longitude":762975680,"raw_latitude":99385776,"longitude_deg":76.297568,"latitude_deg":9.9385776,"altitude":13,"angle":286,"satellites":35,"speed":0,"hex_longitude":"2d7a15c0","hex_latitude":"05ec81b0","is_valid_coordinates":true} 
[2026-07-27 15:29:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:29:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997391872001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:29:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111600898370699264,"note":"Value kept but may cause issues"} 
[2026-07-27 15:29:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8797007841325068288,"note":"Value kept but may cause issues"} 
[2026-07-27 15:29:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:29:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785146367000,"timestamp_ms":1785146367000,"timestamp_seconds":1785146367,"priority":1,"record_length":96,"hex_timestamp":"0000019fa303dc18"} 
[2026-07-27 15:29:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:29:54] 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-07-27 15:29:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-27 15:29:54] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-27 15:29:54] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2734562160,"note":"Value kept but may cause issues"} 
[2026-07-27 15:29:54] local.WARNING: Large IO value detected {"io_id":66,"raw_value":2147560826,"note":"Value kept but may cause issues"} 
[2026-07-27 15:29:54] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-07-27 15:29:54] local.WARNING: Large IO value detected {"io_id":162,"raw_value":4270891009,"note":"Value kept but may cause issues"} 
[2026-07-27 15:29:54] local.WARNING: Large IO value detected {"io_id":236,"raw_value":-8917127214933008640,"note":"Value kept but may cause issues"} 
[2026-07-27 15:29:54] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1033699534,"corrected_to":0} 
[2026-07-27 15:29:54] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3968053248,"note":"Value kept but may cause issues"} 
[2026-07-27 15:29:54] local.WARNING: Large IO value detected {"io_id":122,"raw_value":57770114758367030,"note":"Value kept but may cause issues"} 
[2026-07-27 15:29:54] local.WARNING: Large IO value detected {"io_id":254,"raw_value":1695606554538606597,"note":"Value kept but may cause issues"} 
[2026-07-27 15:29:54] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,157,87,24,241,16,124,159,52,45,64,129,13,28,10,66,226,1,240,29,227,162,236,4,113,205,21,168,31,239,2,140,5,11,8,122,254],"length":527,"final_offset":657,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1033699534,"validated":0}]} 
[2026-07-27 15:29:54] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":937063303077691632,"timestamp_seconds":937063303077691.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 15:29:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:29:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:29:54] local.INFO: Teltonika packet parsed successfully {"connection_id":143076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:29:54] local.INFO: Passing IMEI to GPS processor {"connection_id":143076,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 15:29:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":143076,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 15:29:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:29:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 15:29:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 15:29:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997391872001,"66":12156,"157":206,"87":13824,"24":0,"16":111600898370699264,"45":8797007841325068288},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-27 15:29:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 15:29:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 15:29:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997391872001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:29:54] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-27 15:29:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 15:29:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111600898370699264,"km_value":111600898370699.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:29:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8797007841325068288,"description":"Unknown IO ID 45"} 
[2026-07-27 15:29:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997391872001,"power":12156,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8797007841325068288}} 
[2026-07-27 15:29:54] local.INFO: DEBUG: GPS processor result {"connection_id":143076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553796,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:29:54] local.INFO: GPS data processed {"connection_id":143076,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:29:54] local.INFO: Acknowledgment sent {"connection_id":143076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:29:59] local.INFO: TCP Data received {"connection_id":143077,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143077,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:29:59] local.INFO: Processing buffer {"connection_id":143077,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:29:59] local.INFO: IMEI packet received {"connection_id":143077,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 15:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":143077,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:30:05] local.INFO: TCP Data received {"connection_id":143077,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143077,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:30:05] local.INFO: Processing buffer {"connection_id":143077,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:30:05] local.INFO: IMEI packet received {"connection_id":143077,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 15:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":143077,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:30:06] local.INFO: TCP Data received {"connection_id":143077,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa301f3d0012d1820c00721b2e8004b00d230..."} 
[2026-07-27 15:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa301f3d0012d1820c00721b2e8004b00d230..."} 
[2026-07-27 15:30:06] local.INFO: Processing buffer {"connection_id":143077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa301f3d0012d1820c00721b2e8004b00d230..."} 
[2026-07-27 15:30:06] local.INFO: Packet analysis {"connection_id":143077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa301"} 
[2026-07-27 15:30:06] local.INFO: Extracted packet for processing {"connection_id":143077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa301"} 
[2026-07-27 15:30:06] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649000,"longitude_deg":75.6555968,"latitude_deg":11.9649,"altitude":75,"angle":210,"satellites":48,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b2e8","is_valid_coordinates":true} 
[2026-07-27 15:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:30:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997432576001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:30:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8880317330882560,"note":"Value kept but may cause issues"} 
[2026-07-27 15:30:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027688448,"note":"Value kept but may cause issues"} 
[2026-07-27 15:30:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:30:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785146242000,"timestamp_ms":1785146242000,"timestamp_seconds":1785146242,"priority":1,"record_length":96,"hex_timestamp":"0000019fa301f3d0"} 
[2026-07-27 15:30:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:30:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-27 15:30:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:30:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:30:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:30:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:30:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:30:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:30:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:30:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:30:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:30:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:30:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997432576001,"66":12504,"120":206,"28":31744,"24":0,"16":8880317330882560,"45":1738600593027688448},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 15:30:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:30:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:30:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997432576001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:30:06] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 15:30:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:30:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8880317330882560,"km_value":8880317330882.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:30:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027688448,"description":"Unknown IO ID 45"} 
[2026-07-27 15:30:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997432576001,"power":12504,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738600593027688448}} 
[2026-07-27 15:30:06] local.INFO: DEBUG: GPS processor result {"connection_id":143077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553797,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:30:06] local.INFO: GPS data processed {"connection_id":143077,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:30:06] local.INFO: Acknowledgment sent {"connection_id":143077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:30:10] local.INFO: TCP Data received {"connection_id":144060,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3029fb0012d9f274005a16ca80012010d2f..."} 
[2026-07-27 15:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144060,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3029fb0012d9f274005a16ca80012010d2f..."} 
[2026-07-27 15:30:10] local.INFO: Processing buffer {"connection_id":144060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3029fb0012d9f274005a16ca80012010d2f..."} 
[2026-07-27 15:30:10] local.INFO: Packet analysis {"connection_id":144060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa302"} 
[2026-07-27 15:30:10] local.INFO: Extracted packet for processing {"connection_id":144060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa302"} 
[2026-07-27 15:30:10] local.INFO: GPS Element Parsed {"raw_longitude":765404992,"raw_latitude":94465192,"longitude_deg":76.5404992,"latitude_deg":9.4465192,"altitude":18,"angle":269,"satellites":47,"speed":0,"hex_longitude":"2d9f2740","hex_latitude":"05a16ca8","is_valid_coordinates":true} 
[2026-07-27 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-07-27 15:30:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997443840001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:30:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359000600987303936,"note":"Value kept but may cause issues"} 
[2026-07-27 15:30:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6978538704660027392,"note":"Value kept but may cause issues"} 
[2026-07-27 15:30:10] 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-07-27 15:30:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785146286000,"timestamp_ms":1785146286000,"timestamp_seconds":1785146286,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3029fb0"} 
[2026-07-27 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-07-27 15:30:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-27 15:30:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 15:30:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:30:10] local.INFO: Teltonika packet parsed successfully {"connection_id":144060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:30:10] local.INFO: Passing IMEI to GPS processor {"connection_id":144060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:30:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":144060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:30:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:30:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 15:30:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 15:30:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997443840001,"66":27995,"238":206,"83":17152,"24":0,"16":359000600987303936,"45":-6978538704660027392},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,83,24,16,45]} 
[2026-07-27 15:30:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 15:30:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 15:30:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997443840001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:30:10] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-07-27 15:30:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 15:30:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359000600987303936,"km_value":359000600987303.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:30:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6978538704660027392,"description":"Unknown IO ID 45"} 
[2026-07-27 15:30:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997443840001,"power":27995,"unknown_238":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6978538704660027392}} 
[2026-07-27 15:30:10] local.INFO: DEBUG: GPS processor result {"connection_id":144060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:30:10] local.INFO: GPS data processed {"connection_id":144060,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:30:10] local.INFO: Acknowledgment sent {"connection_id":144060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:30:25] local.INFO: TCP Data received {"connection_id":143076,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa303dc18012d7a15c005ec81b0000d011e23..."} 
[2026-07-27 15:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143076,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa303dc18012d7a15c005ec81b0000d011e23..."} 
[2026-07-27 15:30:25] local.INFO: Processing buffer {"connection_id":143076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa303dc18012d7a15c005ec81b0000d011e23..."} 
[2026-07-27 15:30:25] local.INFO: Packet analysis {"connection_id":143076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa303"} 
[2026-07-27 15:30:25] local.INFO: Extracted packet for processing {"connection_id":143076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa303"} 
[2026-07-27 15:30:25] local.INFO: GPS Element Parsed {"raw_longitude":762975680,"raw_latitude":99385776,"longitude_deg":76.297568,"latitude_deg":9.9385776,"altitude":13,"angle":286,"satellites":35,"speed":0,"hex_longitude":"2d7a15c0","hex_latitude":"05ec81b0","is_valid_coordinates":true} 
[2026-07-27 15:30:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:30:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997391872001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:30:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111600898370699264,"note":"Value kept but may cause issues"} 
[2026-07-27 15:30:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8797007841325068288,"note":"Value kept but may cause issues"} 
[2026-07-27 15:30:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:30:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785146367000,"timestamp_ms":1785146367000,"timestamp_seconds":1785146367,"priority":1,"record_length":96,"hex_timestamp":"0000019fa303dc18"} 
[2026-07-27 15:30:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:30:25] 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-07-27 15:30:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-27 15:30:25] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-27 15:30:25] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2734562160,"note":"Value kept but may cause issues"} 
[2026-07-27 15:30:25] local.WARNING: Large IO value detected {"io_id":66,"raw_value":2147560826,"note":"Value kept but may cause issues"} 
[2026-07-27 15:30:25] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-07-27 15:30:25] local.WARNING: Large IO value detected {"io_id":162,"raw_value":4270891009,"note":"Value kept but may cause issues"} 
[2026-07-27 15:30:25] local.WARNING: Large IO value detected {"io_id":236,"raw_value":-8917127214933008640,"note":"Value kept but may cause issues"} 
[2026-07-27 15:30:25] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1033699534,"corrected_to":0} 
[2026-07-27 15:30:25] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3968053248,"note":"Value kept but may cause issues"} 
[2026-07-27 15:30:25] local.WARNING: Large IO value detected {"io_id":122,"raw_value":57770114758367030,"note":"Value kept but may cause issues"} 
[2026-07-27 15:30:25] local.WARNING: Large IO value detected {"io_id":254,"raw_value":1695606554538606597,"note":"Value kept but may cause issues"} 
[2026-07-27 15:30:25] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,157,87,24,241,16,124,159,52,45,64,129,13,28,10,66,226,1,240,29,227,162,236,4,113,205,21,168,31,239,2,140,5,11,8,122,254],"length":527,"final_offset":657,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1033699534,"validated":0}]} 
[2026-07-27 15:30:25] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":937063303077691632,"timestamp_seconds":937063303077691.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 15:30:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:30:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:30:25] local.INFO: Teltonika packet parsed successfully {"connection_id":143076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:30:25] local.INFO: Passing IMEI to GPS processor {"connection_id":143076,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 15:30:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":143076,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 15:30:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:30:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 15:30:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 15:30:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997391872001,"66":12156,"157":206,"87":13824,"24":0,"16":111600898370699264,"45":8797007841325068288},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-27 15:30:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 15:30:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 15:30:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997391872001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:30:25] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-27 15:30:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 15:30:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111600898370699264,"km_value":111600898370699.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:30:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8797007841325068288,"description":"Unknown IO ID 45"} 
[2026-07-27 15:30:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997391872001,"power":12156,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8797007841325068288}} 
[2026-07-27 15:30:25] local.INFO: DEBUG: GPS processor result {"connection_id":143076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553799,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:30:25] local.INFO: GPS data processed {"connection_id":143076,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:30:25] local.INFO: Acknowledgment sent {"connection_id":143076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:30:31] local.INFO: TCP Data received {"connection_id":144061,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:30:31] local.INFO: Processing buffer {"connection_id":144061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:30:31] local.INFO: IMEI packet received {"connection_id":144061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 15:30:31] local.INFO: IMEI acknowledgment sent {"connection_id":144061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:30:35] local.INFO: TCP Data received {"connection_id":144061,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:30:35] local.INFO: Processing buffer {"connection_id":144061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:30:35] local.INFO: IMEI packet received {"connection_id":144061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 15:30:35] local.INFO: IMEI acknowledgment sent {"connection_id":144061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:30:36] local.INFO: TCP Data received {"connection_id":144061,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:30:36] local.INFO: Processing buffer {"connection_id":144061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:30:36] local.INFO: IMEI packet received {"connection_id":144061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 15:30:36] local.INFO: IMEI acknowledgment sent {"connection_id":144061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:30:37] local.INFO: TCP Data received {"connection_id":144061,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3041a98012d9eb70005a1fb40001101412c..."} 
[2026-07-27 15:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3041a98012d9eb70005a1fb40001101412c..."} 
[2026-07-27 15:30:37] local.INFO: Processing buffer {"connection_id":144061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3041a98012d9eb70005a1fb40001101412c..."} 
[2026-07-27 15:30:37] local.INFO: Packet analysis {"connection_id":144061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa304"} 
[2026-07-27 15:30:37] local.INFO: Extracted packet for processing {"connection_id":144061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa304"} 
[2026-07-27 15:30:37] local.INFO: GPS Element Parsed {"raw_longitude":765376256,"raw_latitude":94501696,"longitude_deg":76.5376256,"latitude_deg":9.4501696,"altitude":17,"angle":321,"satellites":44,"speed":34,"hex_longitude":"2d9eb700","hex_latitude":"05a1fb40","is_valid_coordinates":true} 
[2026-07-27 15:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:30:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997471232001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:30:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359002920269643776,"note":"Value kept but may cause issues"} 
[2026-07-27 15:30:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7002675183905173504,"note":"Value kept but may cause issues"} 
[2026-07-27 15:30:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:30:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785146383000,"timestamp_ms":1785146383000,"timestamp_seconds":1785146383,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3041a98"} 
[2026-07-27 15:30:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:30:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-27 15:30:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:30:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:30:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:30:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:30:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:30:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:30:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:30:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:30:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 15:30:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 15:30:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997471232001,"66":27995,"197":206,"83":17152,"24":34,"16":359002920269643776,"45":-7002675183905173504},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,83,24,16,45]} 
[2026-07-27 15:30:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 15:30:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 15:30:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997471232001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:30:37] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-27 15:30:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 15:30:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359002920269643776,"km_value":359002920269643.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:30:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7002675183905173504,"description":"Unknown IO ID 45"} 
[2026-07-27 15:30:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997471232001,"power":27995,"unknown_197":206,"unknown_83":17152,"ignition":34,"odometer":null,"unknown_45":-7002675183905173504}} 
[2026-07-27 15:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":144061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:30:37] local.INFO: GPS data processed {"connection_id":144061,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:30:37] local.INFO: Acknowledgment sent {"connection_id":144061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:30:38] local.INFO: TCP Data received {"connection_id":143077,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa30245d8012d1820c00721b2e8004b00d22e..."} 
[2026-07-27 15:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa30245d8012d1820c00721b2e8004b00d22e..."} 
[2026-07-27 15:30:38] local.INFO: Processing buffer {"connection_id":143077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa30245d8012d1820c00721b2e8004b00d22e..."} 
[2026-07-27 15:30:38] local.INFO: Packet analysis {"connection_id":143077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa302"} 
[2026-07-27 15:30:38] local.INFO: Extracted packet for processing {"connection_id":143077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa302"} 
[2026-07-27 15:30:38] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649000,"longitude_deg":75.6555968,"latitude_deg":11.9649,"altitude":75,"angle":210,"satellites":46,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b2e8","is_valid_coordinates":true} 
[2026-07-27 15:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:30:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997437952001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:30:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8880317330882560,"note":"Value kept but may cause issues"} 
[2026-07-27 15:30:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027688448,"note":"Value kept but may cause issues"} 
[2026-07-27 15:30:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:30:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785146263000,"timestamp_ms":1785146263000,"timestamp_seconds":1785146263,"priority":1,"record_length":96,"hex_timestamp":"0000019fa30245d8"} 
[2026-07-27 15:30:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:30:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-27 15:30:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:30:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:30:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:30:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:30:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:30:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:30:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:30:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:30:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:30:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:30:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997437952001,"66":12515,"120":206,"28":31744,"24":0,"16":8880317330882560,"45":1738600593027688448},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 15:30:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:30:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:30:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997437952001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:30:38] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 15:30:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:30:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8880317330882560,"km_value":8880317330882.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:30:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027688448,"description":"Unknown IO ID 45"} 
[2026-07-27 15:30:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997437952001,"power":12515,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738600593027688448}} 
[2026-07-27 15:30:38] local.INFO: DEBUG: GPS processor result {"connection_id":143077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553801,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:30:38] local.INFO: GPS data processed {"connection_id":143077,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:30:38] local.INFO: Acknowledgment sent {"connection_id":143077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:30:49] local.INFO: TCP Data received {"connection_id":142929,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142929,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:30:49] local.INFO: Processing buffer {"connection_id":142929,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:30:49] local.INFO: IMEI packet received {"connection_id":142929,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 15:30:49] local.INFO: IMEI acknowledgment sent {"connection_id":142929,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:30:53] local.INFO: TCP Data received {"connection_id":142929,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142929,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:30:53] local.INFO: Processing buffer {"connection_id":142929,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:30:53] local.INFO: IMEI packet received {"connection_id":142929,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 15:30:53] local.INFO: IMEI acknowledgment sent {"connection_id":142929,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:30:54] local.INFO: TCP Data received {"connection_id":142929,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa303dc18012d7a15c005ec81b0000d011e23..."} 
[2026-07-27 15:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142929,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa303dc18012d7a15c005ec81b0000d011e23..."} 
[2026-07-27 15:30:54] local.INFO: Processing buffer {"connection_id":142929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa303dc18012d7a15c005ec81b0000d011e23..."} 
[2026-07-27 15:30:54] local.INFO: Packet analysis {"connection_id":142929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa303"} 
[2026-07-27 15:30:54] local.INFO: Extracted packet for processing {"connection_id":142929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa303"} 
[2026-07-27 15:30:54] local.INFO: GPS Element Parsed {"raw_longitude":762975680,"raw_latitude":99385776,"longitude_deg":76.297568,"latitude_deg":9.9385776,"altitude":13,"angle":286,"satellites":35,"speed":0,"hex_longitude":"2d7a15c0","hex_latitude":"05ec81b0","is_valid_coordinates":true} 
[2026-07-27 15:30:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:30:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997391872001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:30:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111600898370699264,"note":"Value kept but may cause issues"} 
[2026-07-27 15:30:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8797007841325068288,"note":"Value kept but may cause issues"} 
[2026-07-27 15:30:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:30:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785146367000,"timestamp_ms":1785146367000,"timestamp_seconds":1785146367,"priority":1,"record_length":96,"hex_timestamp":"0000019fa303dc18"} 
[2026-07-27 15:30:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:30:54] 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-07-27 15:30:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-27 15:30:54] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-27 15:30:54] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2734562160,"note":"Value kept but may cause issues"} 
[2026-07-27 15:30:54] local.WARNING: Large IO value detected {"io_id":66,"raw_value":2147560826,"note":"Value kept but may cause issues"} 
[2026-07-27 15:30:54] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-07-27 15:30:54] local.WARNING: Large IO value detected {"io_id":162,"raw_value":4270891009,"note":"Value kept but may cause issues"} 
[2026-07-27 15:30:54] local.WARNING: Large IO value detected {"io_id":236,"raw_value":-8917127214933008640,"note":"Value kept but may cause issues"} 
[2026-07-27 15:30:54] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1033699534,"corrected_to":0} 
[2026-07-27 15:30:54] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3968053248,"note":"Value kept but may cause issues"} 
[2026-07-27 15:30:54] local.WARNING: Large IO value detected {"io_id":122,"raw_value":57770114758367030,"note":"Value kept but may cause issues"} 
[2026-07-27 15:30:54] local.WARNING: Large IO value detected {"io_id":254,"raw_value":1695606554538606597,"note":"Value kept but may cause issues"} 
[2026-07-27 15:30:54] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,157,87,24,241,16,124,159,52,45,64,129,13,28,10,66,226,1,240,29,227,162,236,4,113,205,21,168,31,239,2,140,5,11,8,122,254],"length":527,"final_offset":657,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1033699534,"validated":0}]} 
[2026-07-27 15:30:54] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":937063303077691632,"timestamp_seconds":937063303077691.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 15:30:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:30:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:30:54] local.INFO: Teltonika packet parsed successfully {"connection_id":142929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:30:54] local.INFO: Passing IMEI to GPS processor {"connection_id":142929,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 15:30:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":142929,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 15:30:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:30:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 15:30:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 15:30:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997391872001,"66":12156,"157":206,"87":13824,"24":0,"16":111600898370699264,"45":8797007841325068288},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-27 15:30:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 15:30:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 15:30:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997391872001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:30:54] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-27 15:30:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 15:30:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111600898370699264,"km_value":111600898370699.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:30:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8797007841325068288,"description":"Unknown IO ID 45"} 
[2026-07-27 15:30:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997391872001,"power":12156,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8797007841325068288}} 
[2026-07-27 15:30:54] local.INFO: DEBUG: GPS processor result {"connection_id":142929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553802,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:30:54] local.INFO: GPS data processed {"connection_id":142929,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:30:54] local.INFO: Acknowledgment sent {"connection_id":142929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:31:05] local.INFO: TCP Data received {"connection_id":143078,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143078,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:31:05] local.INFO: Processing buffer {"connection_id":143078,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:31:05] local.INFO: IMEI packet received {"connection_id":143078,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 15:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":143078,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:31:08] local.INFO: TCP Data received {"connection_id":144061,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa30439d8012d9ea58005a21598000f014d2c..."} 
[2026-07-27 15:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa30439d8012d9ea58005a21598000f014d2c..."} 
[2026-07-27 15:31:08] local.INFO: Processing buffer {"connection_id":144061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa30439d8012d9ea58005a21598000f014d2c..."} 
[2026-07-27 15:31:08] local.INFO: Packet analysis {"connection_id":144061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa304"} 
[2026-07-27 15:31:08] local.INFO: Extracted packet for processing {"connection_id":144061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa304"} 
[2026-07-27 15:31:08] local.INFO: GPS Element Parsed {"raw_longitude":765371776,"raw_latitude":94508440,"longitude_deg":76.5371776,"latitude_deg":9.450844,"altitude":15,"angle":333,"satellites":44,"speed":46,"hex_longitude":"2d9ea580","hex_latitude":"05a21598","is_valid_coordinates":true} 
[2026-07-27 15:31:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:31:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997474048001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:31:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359003311111667712,"note":"Value kept but may cause issues"} 
[2026-07-27 15:31:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7010134270786453504,"note":"Value kept but may cause issues"} 
[2026-07-27 15:31:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:31:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785146391000,"timestamp_ms":1785146391000,"timestamp_seconds":1785146391,"priority":1,"record_length":96,"hex_timestamp":"0000019fa30439d8"} 
[2026-07-27 15:31:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:31:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-27 15:31:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:31:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:31:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:31:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:31:08] local.INFO: Teltonika packet parsed successfully {"connection_id":144061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:31:08] local.INFO: Passing IMEI to GPS processor {"connection_id":144061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:31:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":144061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:31:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:31:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 15:31:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 15:31:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997474048001,"66":27995,"198":206,"83":17152,"24":46,"16":359003311111667712,"45":-7010134270786453504},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,83,24,16,45]} 
[2026-07-27 15:31:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 15:31:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 15:31:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997474048001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:31:08] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-27 15:31:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 15:31:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359003311111667712,"km_value":359003311111667.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:31:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7010134270786453504,"description":"Unknown IO ID 45"} 
[2026-07-27 15:31:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997474048001,"power":27995,"unknown_198":206,"unknown_83":17152,"ignition":46,"odometer":null,"unknown_45":-7010134270786453504}} 
[2026-07-27 15:31:08] local.INFO: DEBUG: GPS processor result {"connection_id":144061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:31:08] local.INFO: GPS data processed {"connection_id":144061,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:31:08] local.INFO: Acknowledgment sent {"connection_id":144061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:31:10] local.INFO: TCP Data received {"connection_id":143078,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143078,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:31:10] local.INFO: Processing buffer {"connection_id":143078,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:31:10] local.INFO: IMEI packet received {"connection_id":143078,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 15:31:10] local.INFO: IMEI acknowledgment sent {"connection_id":143078,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:31:11] local.INFO: TCP Data received {"connection_id":143078,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3026ce8012d181fc00721b1b0004b00dd31..."} 
[2026-07-27 15:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3026ce8012d181fc00721b1b0004b00dd31..."} 
[2026-07-27 15:31:11] local.INFO: Processing buffer {"connection_id":143078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3026ce8012d181fc00721b1b0004b00dd31..."} 
[2026-07-27 15:31:11] local.INFO: Packet analysis {"connection_id":143078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa302"} 
[2026-07-27 15:31:11] local.INFO: Extracted packet for processing {"connection_id":143078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa302"} 
[2026-07-27 15:31:11] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648688,"longitude_deg":75.6555712,"latitude_deg":11.9648688,"altitude":75,"angle":221,"satellites":49,"speed":1,"hex_longitude":"2d181fc0","hex_latitude":"0721b1b0","is_valid_coordinates":true} 
[2026-07-27 15:31:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:31:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997443328001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:31:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8880334510751744,"note":"Value kept but may cause issues"} 
[2026-07-27 15:31:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027688448,"note":"Value kept but may cause issues"} 
[2026-07-27 15:31:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:31:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785146273000,"timestamp_ms":1785146273000,"timestamp_seconds":1785146273,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3026ce8"} 
[2026-07-27 15:31:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:31:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15: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":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-07-27 15:31:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:31:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:31:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:31:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:31:11] local.INFO: Teltonika packet parsed successfully {"connection_id":143078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:31:11] local.INFO: Passing IMEI to GPS processor {"connection_id":143078,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:31:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":143078,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:31:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:31:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:31:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:31:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997443328001,"66":12504,"120":206,"28":31744,"24":1,"16":8880334510751744,"45":1738600593027688448},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 15:31:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:31:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:31:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997443328001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:31:11] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 15:31:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:31:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8880334510751744,"km_value":8880334510751.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:31:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027688448,"description":"Unknown IO ID 45"} 
[2026-07-27 15:31:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997443328001,"power":12504,"unknown_120":206,"unknown_28":31744,"ignition":1,"odometer":null,"unknown_45":1738600593027688448}} 
[2026-07-27 15:31:11] local.INFO: DEBUG: GPS processor result {"connection_id":143078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553804,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:31:11] local.INFO: GPS data processed {"connection_id":143078,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:31:11] local.INFO: Acknowledgment sent {"connection_id":143078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:31:15] local.INFO: TCP Data received {"connection_id":143078,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa302bef0012d181fc00721b150004b00e02f..."} 
[2026-07-27 15:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa302bef0012d181fc00721b150004b00e02f..."} 
[2026-07-27 15:31:15] local.INFO: Processing buffer {"connection_id":143078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa302bef0012d181fc00721b150004b00e02f..."} 
[2026-07-27 15:31:15] local.INFO: Packet analysis {"connection_id":143078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa302"} 
[2026-07-27 15:31:15] local.INFO: Extracted packet for processing {"connection_id":143078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa302"} 
[2026-07-27 15:31:15] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648592,"longitude_deg":75.6555712,"latitude_deg":11.9648592,"altitude":75,"angle":224,"satellites":47,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b150","is_valid_coordinates":true} 
[2026-07-27 15:31:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:31:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997445888001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:31:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8880338805719040,"note":"Value kept but may cause issues"} 
[2026-07-27 15:31:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050897920,"note":"Value kept but may cause issues"} 
[2026-07-27 15:31:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:31:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785146294000,"timestamp_ms":1785146294000,"timestamp_seconds":1785146294,"priority":1,"record_length":96,"hex_timestamp":"0000019fa302bef0"} 
[2026-07-27 15:31:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:31:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:31:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-27 15:31:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:31:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:31:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:31:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:31:15] local.INFO: Teltonika packet parsed successfully {"connection_id":143078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:31:15] local.INFO: Passing IMEI to GPS processor {"connection_id":143078,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:31:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":143078,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:31:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:31:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:31:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:31:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997445888001,"66":12504,"120":206,"28":31744,"24":0,"16":8880338805719040,"45":1738319118050897920},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 15:31:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:31:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:31:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997445888001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:31:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 15:31:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:31:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8880338805719040,"km_value":8880338805719.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:31:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050897920,"description":"Unknown IO ID 45"} 
[2026-07-27 15:31:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997445888001,"power":12504,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738319118050897920}} 
[2026-07-27 15:31:16] local.INFO: DEBUG: GPS processor result {"connection_id":143078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553805,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:31:16] local.INFO: GPS data processed {"connection_id":143078,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:31:16] local.INFO: Acknowledgment sent {"connection_id":143078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:31:25] local.INFO: TCP Data received {"connection_id":142929,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa303dc18012d7a15c005ec81b0000d011e23..."} 
[2026-07-27 15:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142929,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa303dc18012d7a15c005ec81b0000d011e23..."} 
[2026-07-27 15:31:25] local.INFO: Processing buffer {"connection_id":142929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa303dc18012d7a15c005ec81b0000d011e23..."} 
[2026-07-27 15:31:25] local.INFO: Packet analysis {"connection_id":142929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa303"} 
[2026-07-27 15:31:25] local.INFO: Extracted packet for processing {"connection_id":142929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa303"} 
[2026-07-27 15:31:25] local.INFO: GPS Element Parsed {"raw_longitude":762975680,"raw_latitude":99385776,"longitude_deg":76.297568,"latitude_deg":9.9385776,"altitude":13,"angle":286,"satellites":35,"speed":0,"hex_longitude":"2d7a15c0","hex_latitude":"05ec81b0","is_valid_coordinates":true} 
[2026-07-27 15:31:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:31:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997391872001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:31:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111600898370699264,"note":"Value kept but may cause issues"} 
[2026-07-27 15:31:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8797007841325068288,"note":"Value kept but may cause issues"} 
[2026-07-27 15:31:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:31:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785146367000,"timestamp_ms":1785146367000,"timestamp_seconds":1785146367,"priority":1,"record_length":96,"hex_timestamp":"0000019fa303dc18"} 
[2026-07-27 15:31:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:31:25] 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-07-27 15:31:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-27 15:31:25] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-27 15:31:25] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2734562160,"note":"Value kept but may cause issues"} 
[2026-07-27 15:31:25] local.WARNING: Large IO value detected {"io_id":66,"raw_value":2147560826,"note":"Value kept but may cause issues"} 
[2026-07-27 15:31:25] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-07-27 15:31:25] local.WARNING: Large IO value detected {"io_id":162,"raw_value":4270891009,"note":"Value kept but may cause issues"} 
[2026-07-27 15:31:25] local.WARNING: Large IO value detected {"io_id":236,"raw_value":-8917127214933008640,"note":"Value kept but may cause issues"} 
[2026-07-27 15:31:25] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1033699534,"corrected_to":0} 
[2026-07-27 15:31:25] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3968053248,"note":"Value kept but may cause issues"} 
[2026-07-27 15:31:25] local.WARNING: Large IO value detected {"io_id":122,"raw_value":57770114758367030,"note":"Value kept but may cause issues"} 
[2026-07-27 15:31:25] local.WARNING: Large IO value detected {"io_id":254,"raw_value":1695606554538606597,"note":"Value kept but may cause issues"} 
[2026-07-27 15:31:25] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,157,87,24,241,16,124,159,52,45,64,129,13,28,10,66,226,1,240,29,227,162,236,4,113,205,21,168,31,239,2,140,5,11,8,122,254],"length":527,"final_offset":657,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1033699534,"validated":0}]} 
[2026-07-27 15:31:25] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":937063303077691632,"timestamp_seconds":937063303077691.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 15:31:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:31:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:31:25] local.INFO: Teltonika packet parsed successfully {"connection_id":142929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:31:25] local.INFO: Passing IMEI to GPS processor {"connection_id":142929,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 15:31:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":142929,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 15:31:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:31:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 15:31:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 15:31:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997391872001,"66":12156,"157":206,"87":13824,"24":0,"16":111600898370699264,"45":8797007841325068288},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-27 15:31:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 15:31:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 15:31:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997391872001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:31:25] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-27 15:31:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 15:31:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111600898370699264,"km_value":111600898370699.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:31:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8797007841325068288,"description":"Unknown IO ID 45"} 
[2026-07-27 15:31:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997391872001,"power":12156,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8797007841325068288}} 
[2026-07-27 15:31:25] local.INFO: DEBUG: GPS processor result {"connection_id":142929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553806,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:31:25] local.INFO: GPS data processed {"connection_id":142929,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:31:25] local.INFO: Acknowledgment sent {"connection_id":142929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:31:37] local.INFO: TCP Data received {"connection_id":145351,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:31:37] local.INFO: Processing buffer {"connection_id":145351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:31:37] local.INFO: IMEI packet received {"connection_id":145351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 15:31:37] local.INFO: IMEI acknowledgment sent {"connection_id":145351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:31:37] local.INFO: TCP Data received {"connection_id":145351,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:31:37] local.INFO: Processing buffer {"connection_id":145351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:31:37] local.INFO: IMEI packet received {"connection_id":145351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 15:31:37] local.INFO: IMEI acknowledgment sent {"connection_id":145351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:31:42] local.INFO: TCP Data received {"connection_id":145351,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:31:42] local.INFO: Processing buffer {"connection_id":145351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:31:42] local.INFO: IMEI packet received {"connection_id":145351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 15:31:42] local.INFO: IMEI acknowledgment sent {"connection_id":145351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:31:43] local.INFO: TCP Data received {"connection_id":145351,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3044d60012d9e9d8005a22c70000d015b2b..."} 
[2026-07-27 15:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3044d60012d9e9d8005a22c70000d015b2b..."} 
[2026-07-27 15:31:43] local.INFO: Processing buffer {"connection_id":145351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3044d60012d9e9d8005a22c70000d015b2b..."} 
[2026-07-27 15:31:43] local.INFO: Packet analysis {"connection_id":145351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa304"} 
[2026-07-27 15:31:43] local.INFO: Extracted packet for processing {"connection_id":145351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa304"} 
[2026-07-27 15:31:43] local.INFO: GPS Element Parsed {"raw_longitude":765369728,"raw_latitude":94514288,"longitude_deg":76.5369728,"latitude_deg":9.4514288,"altitude":13,"angle":347,"satellites":43,"speed":50,"hex_longitude":"2d9e9d80","hex_latitude":"05a22c70","is_valid_coordinates":true} 
[2026-07-27 15:31:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:31:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997476096001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:31:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359003611759378432,"note":"Value kept but may cause issues"} 
[2026-07-27 15:31:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7015060082877163520,"note":"Value kept but may cause issues"} 
[2026-07-27 15:31:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:31:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785146396000,"timestamp_ms":1785146396000,"timestamp_seconds":1785146396,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3044d60"} 
[2026-07-27 15:31:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:31:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-27 15:31:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:31:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:31:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:31:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:31:43] local.INFO: Teltonika packet parsed successfully {"connection_id":145351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:31:43] local.INFO: Passing IMEI to GPS processor {"connection_id":145351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:31:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":145351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:31:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:31:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 15:31:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 15:31:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997476096001,"66":27876,"198":206,"83":17152,"24":50,"16":359003611759378432,"45":-7015060082877163520},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,83,24,16,45]} 
[2026-07-27 15:31:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 15:31:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 15:31:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997476096001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:31:43] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-27 15:31:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 15:31:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359003611759378432,"km_value":359003611759378.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:31:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7015060082877163520,"description":"Unknown IO ID 45"} 
[2026-07-27 15:31:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997476096001,"power":27876,"unknown_198":206,"unknown_83":17152,"ignition":50,"odometer":null,"unknown_45":-7015060082877163520}} 
[2026-07-27 15:31:43] local.INFO: DEBUG: GPS processor result {"connection_id":145351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:31:43] local.INFO: GPS data processed {"connection_id":145351,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:31:43] local.INFO: Acknowledgment sent {"connection_id":145351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:31:44] local.INFO: TCP Data received {"connection_id":145351,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa30460e8012d9e9ac005a24400000d01672e..."} 
[2026-07-27 15:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa30460e8012d9e9ac005a24400000d01672e..."} 
[2026-07-27 15:31:44] local.INFO: Processing buffer {"connection_id":145351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa30460e8012d9e9ac005a24400000d01672e..."} 
[2026-07-27 15:31:44] local.INFO: Packet analysis {"connection_id":145351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa304"} 
[2026-07-27 15:31:44] local.INFO: Extracted packet for processing {"connection_id":145351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa304"} 
[2026-07-27 15:31:44] local.INFO: GPS Element Parsed {"raw_longitude":765369024,"raw_latitude":94520320,"longitude_deg":76.5369024,"latitude_deg":9.452032,"altitude":13,"angle":359,"satellites":46,"speed":44,"hex_longitude":"2d9e9ac0","hex_latitude":"05a24400","is_valid_coordinates":true} 
[2026-07-27 15:31:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:31:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997477376001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:31:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359003908112121856,"note":"Value kept but may cause issues"} 
[2026-07-27 15:31:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7017311882689351680,"note":"Value kept but may cause issues"} 
[2026-07-27 15:31:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:31:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785146401000,"timestamp_ms":1785146401000,"timestamp_seconds":1785146401,"priority":1,"record_length":96,"hex_timestamp":"0000019fa30460e8"} 
[2026-07-27 15:31:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:31:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:31:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-27 15:31:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:31:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:31:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:31:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:31:44] local.INFO: Teltonika packet parsed successfully {"connection_id":145351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:31:44] local.INFO: Passing IMEI to GPS processor {"connection_id":145351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:31:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":145351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:31:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:31:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 15:31:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 15:31:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997477376001,"66":27919,"198":206,"83":17152,"24":44,"16":359003908112121856,"45":-7017311882689351680},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,83,24,16,45]} 
[2026-07-27 15:31:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 15:31:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 15:31:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997477376001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:31:44] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-27 15:31:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 15:31:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359003908112121856,"km_value":359003908112121.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:31:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7017311882689351680,"description":"Unknown IO ID 45"} 
[2026-07-27 15:31:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997477376001,"power":27919,"unknown_198":206,"unknown_83":17152,"ignition":44,"odometer":null,"unknown_45":-7017311882689351680}} 
[2026-07-27 15:31:44] local.INFO: DEBUG: GPS processor result {"connection_id":145351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:31:44] local.INFO: GPS data processed {"connection_id":145351,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:31:44] local.INFO: Acknowledgment sent {"connection_id":145351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:31:48] local.INFO: TCP Data received {"connection_id":142930,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142930,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:31:48] local.INFO: Processing buffer {"connection_id":142930,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:31:48] local.INFO: IMEI packet received {"connection_id":142930,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 15:31:48] local.INFO: IMEI acknowledgment sent {"connection_id":142930,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:31:53] local.INFO: TCP Data received {"connection_id":142930,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142930,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:31:53] local.INFO: Processing buffer {"connection_id":142930,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:31:53] local.INFO: IMEI packet received {"connection_id":142930,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 15:31:53] local.INFO: IMEI acknowledgment sent {"connection_id":142930,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:31:54] local.INFO: TCP Data received {"connection_id":142930,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa303dc18012d7a15c005ec81b0000d011e23..."} 
[2026-07-27 15:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142930,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa303dc18012d7a15c005ec81b0000d011e23..."} 
[2026-07-27 15:31:54] local.INFO: Processing buffer {"connection_id":142930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa303dc18012d7a15c005ec81b0000d011e23..."} 
[2026-07-27 15:31:54] local.INFO: Packet analysis {"connection_id":142930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa303"} 
[2026-07-27 15:31:54] local.INFO: Extracted packet for processing {"connection_id":142930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa303"} 
[2026-07-27 15:31:54] local.INFO: GPS Element Parsed {"raw_longitude":762975680,"raw_latitude":99385776,"longitude_deg":76.297568,"latitude_deg":9.9385776,"altitude":13,"angle":286,"satellites":35,"speed":0,"hex_longitude":"2d7a15c0","hex_latitude":"05ec81b0","is_valid_coordinates":true} 
[2026-07-27 15:31:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:31:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997391872001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:31:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111600898370699264,"note":"Value kept but may cause issues"} 
[2026-07-27 15:31:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8797007841325068288,"note":"Value kept but may cause issues"} 
[2026-07-27 15:31:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:31:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785146367000,"timestamp_ms":1785146367000,"timestamp_seconds":1785146367,"priority":1,"record_length":96,"hex_timestamp":"0000019fa303dc18"} 
[2026-07-27 15:31:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:31:54] 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-07-27 15:31:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-27 15:31:54] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-27 15:31:54] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2734562160,"note":"Value kept but may cause issues"} 
[2026-07-27 15:31:54] local.WARNING: Large IO value detected {"io_id":66,"raw_value":2147560826,"note":"Value kept but may cause issues"} 
[2026-07-27 15:31:54] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-07-27 15:31:54] local.WARNING: Large IO value detected {"io_id":162,"raw_value":4270891009,"note":"Value kept but may cause issues"} 
[2026-07-27 15:31:54] local.WARNING: Large IO value detected {"io_id":236,"raw_value":-8917127214933008640,"note":"Value kept but may cause issues"} 
[2026-07-27 15:31:54] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1033699534,"corrected_to":0} 
[2026-07-27 15:31:54] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3968053248,"note":"Value kept but may cause issues"} 
[2026-07-27 15:31:54] local.WARNING: Large IO value detected {"io_id":122,"raw_value":57770114758367030,"note":"Value kept but may cause issues"} 
[2026-07-27 15:31:54] local.WARNING: Large IO value detected {"io_id":254,"raw_value":1695606554538606597,"note":"Value kept but may cause issues"} 
[2026-07-27 15:31:54] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,157,87,24,241,16,124,159,52,45,64,129,13,28,10,66,226,1,240,29,227,162,236,4,113,205,21,168,31,239,2,140,5,11,8,122,254],"length":527,"final_offset":657,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1033699534,"validated":0}]} 
[2026-07-27 15:31:54] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":937063303077691632,"timestamp_seconds":937063303077691.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 15:31:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:31:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:31:54] local.INFO: Teltonika packet parsed successfully {"connection_id":142930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:31:54] local.INFO: Passing IMEI to GPS processor {"connection_id":142930,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 15:31:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":142930,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 15:31:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:31:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 15:31:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 15:31:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997391872001,"66":12156,"157":206,"87":13824,"24":0,"16":111600898370699264,"45":8797007841325068288},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-27 15:31:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 15:31:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 15:31:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997391872001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:31:54] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-27 15:31:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 15:31:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111600898370699264,"km_value":111600898370699.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:31:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8797007841325068288,"description":"Unknown IO ID 45"} 
[2026-07-27 15:31:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997391872001,"power":12156,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8797007841325068288}} 
[2026-07-27 15:31:54] local.INFO: DEBUG: GPS processor result {"connection_id":142930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553809,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:31:54] local.INFO: GPS data processed {"connection_id":142930,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:31:54] local.INFO: Acknowledgment sent {"connection_id":142930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:31:58] local.INFO: TCP Data received {"connection_id":143079,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143079,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:31:58] local.INFO: Processing buffer {"connection_id":143079,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:31:58] local.INFO: IMEI packet received {"connection_id":143079,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 15:31:58] local.INFO: IMEI acknowledgment sent {"connection_id":143079,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:31:59] local.INFO: TCP Data received {"connection_id":143079,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143079,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:31:59] local.INFO: Processing buffer {"connection_id":143079,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:31:59] local.INFO: IMEI packet received {"connection_id":143079,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 15:31:59] local.INFO: IMEI acknowledgment sent {"connection_id":143079,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:32:04] local.INFO: TCP Data received {"connection_id":143079,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143079,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:32:04] local.INFO: Processing buffer {"connection_id":143079,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:32:04] local.INFO: IMEI packet received {"connection_id":143079,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 15:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":143079,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:32:05] local.INFO: TCP Data received {"connection_id":143079,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa30310f8012d181fc00721b150004b00e02f..."} 
[2026-07-27 15:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143079,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa30310f8012d181fc00721b150004b00e02f..."} 
[2026-07-27 15:32:05] local.INFO: Processing buffer {"connection_id":143079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa30310f8012d181fc00721b150004b00e02f..."} 
[2026-07-27 15:32:05] local.INFO: Packet analysis {"connection_id":143079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa303"} 
[2026-07-27 15:32:05] local.INFO: Extracted packet for processing {"connection_id":143079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa303"} 
[2026-07-27 15:32:05] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648592,"longitude_deg":75.6555712,"latitude_deg":11.9648592,"altitude":75,"angle":224,"satellites":47,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b150","is_valid_coordinates":true} 
[2026-07-27 15:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:32:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997451264001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:32:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8880338805719040,"note":"Value kept but may cause issues"} 
[2026-07-27 15:32:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050873344,"note":"Value kept but may cause issues"} 
[2026-07-27 15:32:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:32:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785146315000,"timestamp_ms":1785146315000,"timestamp_seconds":1785146315,"priority":1,"record_length":96,"hex_timestamp":"0000019fa30310f8"} 
[2026-07-27 15:32:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:32:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-27 15:32:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:32:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:32:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:32:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:32:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:32:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:32:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:32:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:32:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:32:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:32:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997451264001,"66":12504,"120":206,"28":31744,"24":0,"16":8880338805719040,"45":1738319118050873344},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 15:32:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:32:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:32:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997451264001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:32:05] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 15:32:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:32:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8880338805719040,"km_value":8880338805719.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:32:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050873344,"description":"Unknown IO ID 45"} 
[2026-07-27 15:32:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997451264001,"power":12504,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738319118050873344}} 
[2026-07-27 15:32:05] local.INFO: DEBUG: GPS processor result {"connection_id":143079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553810,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:32:05] local.INFO: GPS data processed {"connection_id":143079,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:32:05] local.INFO: Acknowledgment sent {"connection_id":143079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:32:16] local.INFO: TCP Data received {"connection_id":145351,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa305b0d8012d9e148005a35380001000072d..."} 
[2026-07-27 15:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa305b0d8012d9e148005a35380001000072d..."} 
[2026-07-27 15:32:16] local.INFO: Processing buffer {"connection_id":145351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa305b0d8012d9e148005a35380001000072d..."} 
[2026-07-27 15:32:16] local.INFO: Packet analysis {"connection_id":145351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa305"} 
[2026-07-27 15:32:16] local.INFO: Extracted packet for processing {"connection_id":145351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa305"} 
[2026-07-27 15:32:16] local.INFO: GPS Element Parsed {"raw_longitude":765334656,"raw_latitude":94589824,"longitude_deg":76.5334656,"latitude_deg":9.4589824,"altitude":16,"angle":7,"satellites":45,"speed":49,"hex_longitude":"2d9e1480","hex_latitude":"05a35380","is_valid_coordinates":true} 
[2026-07-27 15:32:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:32:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997500672001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:32:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359007911021641728,"note":"Value kept but may cause issues"} 
[2026-07-27 15:32:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7055873954479374336,"note":"Value kept but may cause issues"} 
[2026-07-27 15:32:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:32:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785146487000,"timestamp_ms":1785146487000,"timestamp_seconds":1785146487,"priority":1,"record_length":96,"hex_timestamp":"0000019fa305b0d8"} 
[2026-07-27 15:32:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:32:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:32: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-27 15:32:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:32:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:32:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:32:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:32:16] local.INFO: Teltonika packet parsed successfully {"connection_id":145351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:32:16] local.INFO: Passing IMEI to GPS processor {"connection_id":145351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:32:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":145351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:32:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:32:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 15:32:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 15:32:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997500672001,"66":27865,"58":206,"83":17152,"24":49,"16":359007911021641728,"45":-7055873954479374336},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,45]} 
[2026-07-27 15:32:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 15:32:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 15:32:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997500672001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:32:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-07-27 15:32:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 15:32:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359007911021641728,"km_value":359007911021641.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:32:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7055873954479374336,"description":"Unknown IO ID 45"} 
[2026-07-27 15:32:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997500672001,"power":27865,"unknown_58":206,"unknown_83":17152,"ignition":49,"odometer":null,"unknown_45":-7055873954479374336}} 
[2026-07-27 15:32:16] local.INFO: DEBUG: GPS processor result {"connection_id":145351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:32:16] local.INFO: GPS data processed {"connection_id":145351,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:32:16] local.INFO: Acknowledgment sent {"connection_id":145351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:32:25] local.INFO: TCP Data received {"connection_id":142930,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa303dc18012d7a15c005ec81b0000d011e23..."} 
[2026-07-27 15:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142930,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa303dc18012d7a15c005ec81b0000d011e23..."} 
[2026-07-27 15:32:25] local.INFO: Processing buffer {"connection_id":142930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa303dc18012d7a15c005ec81b0000d011e23..."} 
[2026-07-27 15:32:25] local.INFO: Packet analysis {"connection_id":142930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa303"} 
[2026-07-27 15:32:25] local.INFO: Extracted packet for processing {"connection_id":142930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa303"} 
[2026-07-27 15:32:25] local.INFO: GPS Element Parsed {"raw_longitude":762975680,"raw_latitude":99385776,"longitude_deg":76.297568,"latitude_deg":9.9385776,"altitude":13,"angle":286,"satellites":35,"speed":0,"hex_longitude":"2d7a15c0","hex_latitude":"05ec81b0","is_valid_coordinates":true} 
[2026-07-27 15:32:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:32:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997391872001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:32:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111600898370699264,"note":"Value kept but may cause issues"} 
[2026-07-27 15:32:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8797007841325068288,"note":"Value kept but may cause issues"} 
[2026-07-27 15:32:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:32:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785146367000,"timestamp_ms":1785146367000,"timestamp_seconds":1785146367,"priority":1,"record_length":96,"hex_timestamp":"0000019fa303dc18"} 
[2026-07-27 15:32:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:32:25] 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-07-27 15:32:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-27 15:32:25] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-27 15:32:25] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2734562160,"note":"Value kept but may cause issues"} 
[2026-07-27 15:32:25] local.WARNING: Large IO value detected {"io_id":66,"raw_value":2147560826,"note":"Value kept but may cause issues"} 
[2026-07-27 15:32:25] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-07-27 15:32:25] local.WARNING: Large IO value detected {"io_id":162,"raw_value":4270891009,"note":"Value kept but may cause issues"} 
[2026-07-27 15:32:25] local.WARNING: Large IO value detected {"io_id":236,"raw_value":-8917127214933008640,"note":"Value kept but may cause issues"} 
[2026-07-27 15:32:25] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1033699534,"corrected_to":0} 
[2026-07-27 15:32:25] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3968053248,"note":"Value kept but may cause issues"} 
[2026-07-27 15:32:25] local.WARNING: Large IO value detected {"io_id":122,"raw_value":57770114758367030,"note":"Value kept but may cause issues"} 
[2026-07-27 15:32:25] local.WARNING: Large IO value detected {"io_id":254,"raw_value":1695606554538606597,"note":"Value kept but may cause issues"} 
[2026-07-27 15:32:25] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,157,87,24,241,16,124,159,52,45,64,129,13,28,10,66,226,1,240,29,227,162,236,4,113,205,21,168,31,239,2,140,5,11,8,122,254],"length":527,"final_offset":657,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1033699534,"validated":0}]} 
[2026-07-27 15:32:25] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":937063303077691632,"timestamp_seconds":937063303077691.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 15:32:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:32:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:32:25] local.INFO: Teltonika packet parsed successfully {"connection_id":142930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:32:25] local.INFO: Passing IMEI to GPS processor {"connection_id":142930,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 15:32:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":142930,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 15:32:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:32:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 15:32:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 15:32:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997391872001,"66":12156,"157":206,"87":13824,"24":0,"16":111600898370699264,"45":8797007841325068288},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-27 15:32:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 15:32:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 15:32:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997391872001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:32:25] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-27 15:32:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 15:32:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111600898370699264,"km_value":111600898370699.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:32:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8797007841325068288,"description":"Unknown IO ID 45"} 
[2026-07-27 15:32:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997391872001,"power":12156,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8797007841325068288}} 
[2026-07-27 15:32:25] local.INFO: DEBUG: GPS processor result {"connection_id":142930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553812,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:32:25] local.INFO: GPS data processed {"connection_id":142930,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:32:25] local.INFO: Acknowledgment sent {"connection_id":142930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:32:31] local.INFO: TCP Data received {"connection_id":142931,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:32:31] local.INFO: Processing buffer {"connection_id":142931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:32:31] local.INFO: IMEI packet received {"connection_id":142931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 15:32:31] local.INFO: IMEI acknowledgment sent {"connection_id":142931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:32:32] local.INFO: TCP Data received {"connection_id":142931,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:32:32] local.INFO: Processing buffer {"connection_id":142931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:32:32] local.INFO: IMEI packet received {"connection_id":142931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 15:32:32] local.INFO: IMEI acknowledgment sent {"connection_id":142931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:32:37] local.INFO: TCP Data received {"connection_id":142931,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:32:37] local.INFO: Processing buffer {"connection_id":142931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:32:37] local.INFO: IMEI packet received {"connection_id":142931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 15:32:37] local.INFO: IMEI acknowledgment sent {"connection_id":142931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:32:37] local.INFO: TCP Data received {"connection_id":143079,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3036300012d181fc00721b150004b00e030..."} 
[2026-07-27 15:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143079,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3036300012d181fc00721b150004b00e030..."} 
[2026-07-27 15:32:37] local.INFO: Processing buffer {"connection_id":143079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3036300012d181fc00721b150004b00e030..."} 
[2026-07-27 15:32:37] local.INFO: Packet analysis {"connection_id":143079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa303"} 
[2026-07-27 15:32:37] local.INFO: Extracted packet for processing {"connection_id":143079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa303"} 
[2026-07-27 15:32:37] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648592,"longitude_deg":75.6555712,"latitude_deg":11.9648592,"altitude":75,"angle":224,"satellites":48,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b150","is_valid_coordinates":true} 
[2026-07-27 15:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:32:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997456640001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:32:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8880338805719040,"note":"Value kept but may cause issues"} 
[2026-07-27 15:32:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050873344,"note":"Value kept but may cause issues"} 
[2026-07-27 15:32:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:32:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785146336000,"timestamp_ms":1785146336000,"timestamp_seconds":1785146336,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3036300"} 
[2026-07-27 15:32:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:32:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-27 15:32:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:32:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:32:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:32:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:32:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:32:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:32:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:32:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:32:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:32:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:32:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997456640001,"66":12504,"120":206,"28":31744,"24":0,"16":8880338805719040,"45":1738319118050873344},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 15:32:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:32:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:32:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997456640001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:32:37] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 15:32:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:32:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8880338805719040,"km_value":8880338805719.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:32:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050873344,"description":"Unknown IO ID 45"} 
[2026-07-27 15:32:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997456640001,"power":12504,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738319118050873344}} 
[2026-07-27 15:32:37] local.INFO: DEBUG: GPS processor result {"connection_id":143079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553813,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:32:37] local.INFO: GPS data processed {"connection_id":143079,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:32:37] local.INFO: Acknowledgment sent {"connection_id":143079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:32:38] local.INFO: TCP Data received {"connection_id":142931,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa305cc30012d9e174005a37560001001642d..."} 
[2026-07-27 15:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa305cc30012d9e174005a37560001001642d..."} 
[2026-07-27 15:32:38] local.INFO: Processing buffer {"connection_id":142931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa305cc30012d9e174005a37560001001642d..."} 
[2026-07-27 15:32:38] local.INFO: Packet analysis {"connection_id":142931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa305"} 
[2026-07-27 15:32:38] local.INFO: Extracted packet for processing {"connection_id":142931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa305"} 
[2026-07-27 15:32:38] local.INFO: GPS Element Parsed {"raw_longitude":765335360,"raw_latitude":94598496,"longitude_deg":76.533536,"latitude_deg":9.4598496,"altitude":16,"angle":356,"satellites":45,"speed":51,"hex_longitude":"2d9e1740","hex_latitude":"05a37560","is_valid_coordinates":true} 
[2026-07-27 15:32:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:32:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997500672001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:32:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359008331928436736,"note":"Value kept but may cause issues"} 
[2026-07-27 15:32:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7055873954479374336,"note":"Value kept but may cause issues"} 
[2026-07-27 15:32:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:32:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785146494000,"timestamp_ms":1785146494000,"timestamp_seconds":1785146494,"priority":1,"record_length":96,"hex_timestamp":"0000019fa305cc30"} 
[2026-07-27 15:32:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:32:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-27 15:32:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:32:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:32:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:32:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:32:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:32:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:32:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:32:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:32:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 15:32:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 15:32:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997500672001,"66":27821,"58":206,"83":17152,"24":51,"16":359008331928436736,"45":-7055873954479374336},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,45]} 
[2026-07-27 15:32:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 15:32:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 15:32:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997500672001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:32:38] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-07-27 15:32:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 15:32:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359008331928436736,"km_value":359008331928436.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:32:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7055873954479374336,"description":"Unknown IO ID 45"} 
[2026-07-27 15:32:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997500672001,"power":27821,"unknown_58":206,"unknown_83":17152,"ignition":51,"odometer":null,"unknown_45":-7055873954479374336}} 
[2026-07-27 15:32:38] local.INFO: DEBUG: GPS processor result {"connection_id":142931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:32:38] local.INFO: GPS data processed {"connection_id":142931,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:32:38] local.INFO: Acknowledgment sent {"connection_id":142931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:32:53] local.INFO: TCP Data received {"connection_id":144062,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144062,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:32:53] local.INFO: Processing buffer {"connection_id":144062,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:32:53] local.INFO: IMEI packet received {"connection_id":144062,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 15:32:53] local.INFO: IMEI acknowledgment sent {"connection_id":144062,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:32:58] local.INFO: TCP Data received {"connection_id":144062,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144062,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:32:58] local.INFO: Processing buffer {"connection_id":144062,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:32:58] local.INFO: IMEI packet received {"connection_id":144062,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 15:32:58] local.INFO: IMEI acknowledgment sent {"connection_id":144062,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:32:59] local.INFO: TCP Data received {"connection_id":144062,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa303dc18012d7a15c005ec81b0000d011e23..."} 
[2026-07-27 15:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa303dc18012d7a15c005ec81b0000d011e23..."} 
[2026-07-27 15:32:59] local.INFO: Processing buffer {"connection_id":144062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa303dc18012d7a15c005ec81b0000d011e23..."} 
[2026-07-27 15:32:59] local.INFO: Packet analysis {"connection_id":144062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa303"} 
[2026-07-27 15:32:59] local.INFO: Extracted packet for processing {"connection_id":144062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa303"} 
[2026-07-27 15:32:59] local.INFO: GPS Element Parsed {"raw_longitude":762975680,"raw_latitude":99385776,"longitude_deg":76.297568,"latitude_deg":9.9385776,"altitude":13,"angle":286,"satellites":35,"speed":0,"hex_longitude":"2d7a15c0","hex_latitude":"05ec81b0","is_valid_coordinates":true} 
[2026-07-27 15:32:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:32:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997391872001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:32:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111600898370699264,"note":"Value kept but may cause issues"} 
[2026-07-27 15:32:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8797007841325068288,"note":"Value kept but may cause issues"} 
[2026-07-27 15:32:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:32:59] local.INFO: AVL Record Parsed {"raw_timestamp":1785146367000,"timestamp_ms":1785146367000,"timestamp_seconds":1785146367,"priority":1,"record_length":96,"hex_timestamp":"0000019fa303dc18"} 
[2026-07-27 15:32:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:32:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 15:32:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-27 15:32:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-27 15:32:59] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2734562160,"note":"Value kept but may cause issues"} 
[2026-07-27 15:32:59] local.WARNING: Large IO value detected {"io_id":66,"raw_value":2147560826,"note":"Value kept but may cause issues"} 
[2026-07-27 15:32:59] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-07-27 15:32:59] local.WARNING: Large IO value detected {"io_id":162,"raw_value":4270891009,"note":"Value kept but may cause issues"} 
[2026-07-27 15:32:59] local.WARNING: Large IO value detected {"io_id":236,"raw_value":-8917127214933008640,"note":"Value kept but may cause issues"} 
[2026-07-27 15:32:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1033699534,"corrected_to":0} 
[2026-07-27 15:32:59] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3968053248,"note":"Value kept but may cause issues"} 
[2026-07-27 15:32:59] local.WARNING: Large IO value detected {"io_id":122,"raw_value":57770114758367030,"note":"Value kept but may cause issues"} 
[2026-07-27 15:32:59] local.WARNING: Large IO value detected {"io_id":254,"raw_value":1695606554538606597,"note":"Value kept but may cause issues"} 
[2026-07-27 15:32:59] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,157,87,24,241,16,124,159,52,45,64,129,13,28,10,66,226,1,240,29,227,162,236,4,113,205,21,168,31,239,2,140,5,11,8,122,254],"length":527,"final_offset":657,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1033699534,"validated":0}]} 
[2026-07-27 15:32:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":937063303077691632,"timestamp_seconds":937063303077691.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 15:32:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:32:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:32:59] local.INFO: Teltonika packet parsed successfully {"connection_id":144062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:32:59] local.INFO: Passing IMEI to GPS processor {"connection_id":144062,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 15:32:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":144062,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 15:32:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:32:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 15:32:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 15:32:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997391872001,"66":12156,"157":206,"87":13824,"24":0,"16":111600898370699264,"45":8797007841325068288},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-27 15:32:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 15:32:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 15:32:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997391872001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:32:59] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-27 15:32:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 15:32:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111600898370699264,"km_value":111600898370699.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:32:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8797007841325068288,"description":"Unknown IO ID 45"} 
[2026-07-27 15:32:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997391872001,"power":12156,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8797007841325068288}} 
[2026-07-27 15:32:59] local.INFO: DEBUG: GPS processor result {"connection_id":144062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553815,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:32:59] local.INFO: GPS data processed {"connection_id":144062,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:32:59] local.INFO: Acknowledgment sent {"connection_id":144062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:33:00] local.INFO: TCP Data received {"connection_id":145352,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145352,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:33:00] local.INFO: Processing buffer {"connection_id":145352,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:33:00] local.INFO: IMEI packet received {"connection_id":145352,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 15:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":145352,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:33:01] local.INFO: TCP Data received {"connection_id":145352,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145352,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:33:01] local.INFO: Processing buffer {"connection_id":145352,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:33:01] local.INFO: IMEI packet received {"connection_id":145352,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 15:33:01] local.INFO: IMEI acknowledgment sent {"connection_id":145352,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:33:04] local.INFO: TCP Data received {"connection_id":144062,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa303dc18012d7a15c005ec81b0000d011e23..."} 
[2026-07-27 15:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa303dc18012d7a15c005ec81b0000d011e23..."} 
[2026-07-27 15:33:04] local.INFO: Processing buffer {"connection_id":144062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa303dc18012d7a15c005ec81b0000d011e23..."} 
[2026-07-27 15:33:04] local.INFO: Packet analysis {"connection_id":144062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa303"} 
[2026-07-27 15:33:04] local.INFO: Extracted packet for processing {"connection_id":144062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa303"} 
[2026-07-27 15:33:04] local.INFO: GPS Element Parsed {"raw_longitude":762975680,"raw_latitude":99385776,"longitude_deg":76.297568,"latitude_deg":9.9385776,"altitude":13,"angle":286,"satellites":35,"speed":0,"hex_longitude":"2d7a15c0","hex_latitude":"05ec81b0","is_valid_coordinates":true} 
[2026-07-27 15:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:33:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997391872001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:33:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111600898370699264,"note":"Value kept but may cause issues"} 
[2026-07-27 15:33:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8797007841325068288,"note":"Value kept but may cause issues"} 
[2026-07-27 15:33:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:33:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785146367000,"timestamp_ms":1785146367000,"timestamp_seconds":1785146367,"priority":1,"record_length":96,"hex_timestamp":"0000019fa303dc18"} 
[2026-07-27 15:33:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:33:04] 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-07-27 15:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-27 15:33:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-27 15:33:04] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2734562160,"note":"Value kept but may cause issues"} 
[2026-07-27 15:33:04] local.WARNING: Large IO value detected {"io_id":66,"raw_value":2147560826,"note":"Value kept but may cause issues"} 
[2026-07-27 15:33:04] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-07-27 15:33:04] local.WARNING: Large IO value detected {"io_id":162,"raw_value":4270891009,"note":"Value kept but may cause issues"} 
[2026-07-27 15:33:04] local.WARNING: Large IO value detected {"io_id":236,"raw_value":-8917127214933008640,"note":"Value kept but may cause issues"} 
[2026-07-27 15:33:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1033699534,"corrected_to":0} 
[2026-07-27 15:33:04] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3968053248,"note":"Value kept but may cause issues"} 
[2026-07-27 15:33:04] local.WARNING: Large IO value detected {"io_id":122,"raw_value":57770114758367030,"note":"Value kept but may cause issues"} 
[2026-07-27 15:33:04] local.WARNING: Large IO value detected {"io_id":254,"raw_value":1695606554538606597,"note":"Value kept but may cause issues"} 
[2026-07-27 15:33:04] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,157,87,24,241,16,124,159,52,45,64,129,13,28,10,66,226,1,240,29,227,162,236,4,113,205,21,168,31,239,2,140,5,11,8,122,254],"length":527,"final_offset":657,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1033699534,"validated":0}]} 
[2026-07-27 15:33:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":937063303077691632,"timestamp_seconds":937063303077691.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 15:33:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:33:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:33:04] local.INFO: Teltonika packet parsed successfully {"connection_id":144062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:33:04] local.INFO: Passing IMEI to GPS processor {"connection_id":144062,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 15:33:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":144062,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 15:33:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:33:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 15:33:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 15:33:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997391872001,"66":12156,"157":206,"87":13824,"24":0,"16":111600898370699264,"45":8797007841325068288},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-27 15:33:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 15:33:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 15:33:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997391872001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:33:04] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-27 15:33:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 15:33:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111600898370699264,"km_value":111600898370699.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:33:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8797007841325068288,"description":"Unknown IO ID 45"} 
[2026-07-27 15:33:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997391872001,"power":12156,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8797007841325068288}} 
[2026-07-27 15:33:04] local.INFO: DEBUG: GPS processor result {"connection_id":144062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553816,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:33:04] local.INFO: GPS data processed {"connection_id":144062,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:33:04] local.INFO: Acknowledgment sent {"connection_id":144062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:33:05] local.INFO: TCP Data received {"connection_id":145352,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145352,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:33:05] local.INFO: Processing buffer {"connection_id":145352,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:33:05] local.INFO: IMEI packet received {"connection_id":145352,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 15:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":145352,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:33:06] local.INFO: TCP Data received {"connection_id":145352,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa303b508012d181fc00721b150004b00e02d..."} 
[2026-07-27 15:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa303b508012d181fc00721b150004b00e02d..."} 
[2026-07-27 15:33:06] local.INFO: Processing buffer {"connection_id":145352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa303b508012d181fc00721b150004b00e02d..."} 
[2026-07-27 15:33:06] local.INFO: Packet analysis {"connection_id":145352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa303"} 
[2026-07-27 15:33:06] local.INFO: Extracted packet for processing {"connection_id":145352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa303"} 
[2026-07-27 15:33:06] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648592,"longitude_deg":75.6555712,"latitude_deg":11.9648592,"altitude":75,"angle":224,"satellites":45,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b150","is_valid_coordinates":true} 
[2026-07-27 15:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:33:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997462016001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:33:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8880338805719040,"note":"Value kept but may cause issues"} 
[2026-07-27 15:33:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050873344,"note":"Value kept but may cause issues"} 
[2026-07-27 15:33:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:33:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785146357000,"timestamp_ms":1785146357000,"timestamp_seconds":1785146357,"priority":1,"record_length":96,"hex_timestamp":"0000019fa303b508"} 
[2026-07-27 15:33:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:33:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-27 15:33:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:33:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:33:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:33:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:33:06] local.INFO: Teltonika packet parsed successfully {"connection_id":145352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:33:06] local.INFO: Passing IMEI to GPS processor {"connection_id":145352,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:33:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":145352,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:33:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:33:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:33:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:33:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997462016001,"66":12406,"120":206,"28":31744,"24":0,"16":8880338805719040,"45":1738319118050873344},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 15:33:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:33:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:33:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997462016001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:33:06] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 15:33:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:33:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8880338805719040,"km_value":8880338805719.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:33:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050873344,"description":"Unknown IO ID 45"} 
[2026-07-27 15:33:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997462016001,"power":12406,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738319118050873344}} 
[2026-07-27 15:33:07] local.INFO: DEBUG: GPS processor result {"connection_id":145352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553817,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:33:07] local.INFO: GPS data processed {"connection_id":145352,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:33:07] local.INFO: Acknowledgment sent {"connection_id":145352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:33:10] local.INFO: TCP Data received {"connection_id":142931,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa305d400012d9e158005a37f40001001592d..."} 
[2026-07-27 15:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa305d400012d9e158005a37f40001001592d..."} 
[2026-07-27 15:33:10] local.INFO: Processing buffer {"connection_id":142931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa305d400012d9e158005a37f40001001592d..."} 
[2026-07-27 15:33:10] local.INFO: Packet analysis {"connection_id":142931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa305"} 
[2026-07-27 15:33:10] local.INFO: Extracted packet for processing {"connection_id":142931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa305"} 
[2026-07-27 15:33:10] local.INFO: GPS Element Parsed {"raw_longitude":765334912,"raw_latitude":94601024,"longitude_deg":76.5334912,"latitude_deg":9.4601024,"altitude":16,"angle":345,"satellites":45,"speed":50,"hex_longitude":"2d9e1580","hex_latitude":"05a37f40","is_valid_coordinates":true} 
[2026-07-27 15:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:33:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997502464001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:33:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359008456482488320,"note":"Value kept but may cause issues"} 
[2026-07-27 15:33:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7055099898291200000,"note":"Value kept but may cause issues"} 
[2026-07-27 15:33:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:33:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785146496000,"timestamp_ms":1785146496000,"timestamp_seconds":1785146496,"priority":1,"record_length":96,"hex_timestamp":"0000019fa305d400"} 
[2026-07-27 15:33:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:33:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-27 15:33:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:33:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:33:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:33:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:33:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:33:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:33:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:33:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:33:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 15:33:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 15:33:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997502464001,"66":27365,"58":206,"83":17152,"24":50,"16":359008456482488320,"45":-7055099898291200000},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,45]} 
[2026-07-27 15:33:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 15:33:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 15:33:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997502464001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:33:10] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-07-27 15:33:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 15:33:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359008456482488320,"km_value":359008456482488.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:33:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7055099898291200000,"description":"Unknown IO ID 45"} 
[2026-07-27 15:33:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997502464001,"power":27365,"unknown_58":206,"unknown_83":17152,"ignition":50,"odometer":null,"unknown_45":-7055099898291200000}} 
[2026-07-27 15:33:10] local.INFO: DEBUG: GPS processor result {"connection_id":142931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:33:10] local.INFO: GPS data processed {"connection_id":142931,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:33:10] local.INFO: Acknowledgment sent {"connection_id":142931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:33:38] local.INFO: TCP Data received {"connection_id":145352,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3040710012d181fc00721b150004b00e02e..."} 
[2026-07-27 15:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3040710012d181fc00721b150004b00e02e..."} 
[2026-07-27 15:33:38] local.INFO: Processing buffer {"connection_id":145352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3040710012d181fc00721b150004b00e02e..."} 
[2026-07-27 15:33:38] local.INFO: Packet analysis {"connection_id":145352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa304"} 
[2026-07-27 15:33:38] local.INFO: Extracted packet for processing {"connection_id":145352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa304"} 
[2026-07-27 15:33:38] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648592,"longitude_deg":75.6555712,"latitude_deg":11.9648592,"altitude":75,"angle":224,"satellites":46,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b150","is_valid_coordinates":true} 
[2026-07-27 15:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:33:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997467392001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:33:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8880338805719040,"note":"Value kept but may cause issues"} 
[2026-07-27 15:33:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050873344,"note":"Value kept but may cause issues"} 
[2026-07-27 15:33:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:33:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785146378000,"timestamp_ms":1785146378000,"timestamp_seconds":1785146378,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3040710"} 
[2026-07-27 15:33:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:33:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 15:33:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:33:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:33:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:33:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:33:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:33:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145352,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:33:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145352,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:33:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:33:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:33:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:33:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997467392001,"66":12504,"120":206,"28":31744,"24":0,"16":8880338805719040,"45":1738319118050873344},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 15:33:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:33:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:33:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997467392001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:33:38] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 15:33:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:33:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8880338805719040,"km_value":8880338805719.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:33:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050873344,"description":"Unknown IO ID 45"} 
[2026-07-27 15:33:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997467392001,"power":12504,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738319118050873344}} 
[2026-07-27 15:33:38] local.INFO: DEBUG: GPS processor result {"connection_id":145352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553819,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:33:38] local.INFO: GPS data processed {"connection_id":145352,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:33:38] local.INFO: Acknowledgment sent {"connection_id":145352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:33:48] local.INFO: TCP Data received {"connection_id":142932,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142932,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:33:48] local.INFO: Processing buffer {"connection_id":142932,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:33:48] local.INFO: IMEI packet received {"connection_id":142932,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 15:33:48] local.INFO: IMEI acknowledgment sent {"connection_id":142932,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:33:53] local.INFO: TCP Data received {"connection_id":142932,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142932,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:33:53] local.INFO: Processing buffer {"connection_id":142932,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:33:53] local.INFO: IMEI packet received {"connection_id":142932,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 15:33:53] local.INFO: IMEI acknowledgment sent {"connection_id":142932,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:33:54] local.INFO: TCP Data received {"connection_id":142932,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa303dc18012d7a15c005ec81b0000d011e23..."} 
[2026-07-27 15:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142932,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa303dc18012d7a15c005ec81b0000d011e23..."} 
[2026-07-27 15:33:54] local.INFO: Processing buffer {"connection_id":142932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa303dc18012d7a15c005ec81b0000d011e23..."} 
[2026-07-27 15:33:54] local.INFO: Packet analysis {"connection_id":142932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa303"} 
[2026-07-27 15:33:54] local.INFO: Extracted packet for processing {"connection_id":142932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa303"} 
[2026-07-27 15:33:54] local.INFO: GPS Element Parsed {"raw_longitude":762975680,"raw_latitude":99385776,"longitude_deg":76.297568,"latitude_deg":9.9385776,"altitude":13,"angle":286,"satellites":35,"speed":0,"hex_longitude":"2d7a15c0","hex_latitude":"05ec81b0","is_valid_coordinates":true} 
[2026-07-27 15:33:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:33:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997391872001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:33:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111600898370699264,"note":"Value kept but may cause issues"} 
[2026-07-27 15:33:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8797007841325068288,"note":"Value kept but may cause issues"} 
[2026-07-27 15:33:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:33:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785146367000,"timestamp_ms":1785146367000,"timestamp_seconds":1785146367,"priority":1,"record_length":96,"hex_timestamp":"0000019fa303dc18"} 
[2026-07-27 15:33:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:33:54] 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-07-27 15:33:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-27 15:33:54] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-27 15:33:54] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2734562160,"note":"Value kept but may cause issues"} 
[2026-07-27 15:33:54] local.WARNING: Large IO value detected {"io_id":66,"raw_value":2147560826,"note":"Value kept but may cause issues"} 
[2026-07-27 15:33:54] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-07-27 15:33:54] local.WARNING: Large IO value detected {"io_id":162,"raw_value":4270891009,"note":"Value kept but may cause issues"} 
[2026-07-27 15:33:54] local.WARNING: Large IO value detected {"io_id":236,"raw_value":-8917127214933008640,"note":"Value kept but may cause issues"} 
[2026-07-27 15:33:54] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1033699534,"corrected_to":0} 
[2026-07-27 15:33:54] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3968053248,"note":"Value kept but may cause issues"} 
[2026-07-27 15:33:54] local.WARNING: Large IO value detected {"io_id":122,"raw_value":57770114758367030,"note":"Value kept but may cause issues"} 
[2026-07-27 15:33:54] local.WARNING: Large IO value detected {"io_id":254,"raw_value":1695606554538606597,"note":"Value kept but may cause issues"} 
[2026-07-27 15:33:54] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,157,87,24,241,16,124,159,52,45,64,129,13,28,10,66,226,1,240,29,227,162,236,4,113,205,21,168,31,239,2,140,5,11,8,122,254],"length":527,"final_offset":657,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1033699534,"validated":0}]} 
[2026-07-27 15:33:54] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":937063303077691632,"timestamp_seconds":937063303077691.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 15:33:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:33:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:33:54] local.INFO: Teltonika packet parsed successfully {"connection_id":142932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:33:54] local.INFO: Passing IMEI to GPS processor {"connection_id":142932,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 15:33:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":142932,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 15:33:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:33:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 15:33:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 15:33:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997391872001,"66":12156,"157":206,"87":13824,"24":0,"16":111600898370699264,"45":8797007841325068288},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-27 15:33:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 15:33:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 15:33:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997391872001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:33:54] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-27 15:33:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 15:33:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111600898370699264,"km_value":111600898370699.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:33:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8797007841325068288,"description":"Unknown IO ID 45"} 
[2026-07-27 15:33:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997391872001,"power":12156,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8797007841325068288}} 
[2026-07-27 15:33:54] local.INFO: DEBUG: GPS processor result {"connection_id":142932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553820,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:33:54] local.INFO: GPS data processed {"connection_id":142932,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:33:54] local.INFO: Acknowledgment sent {"connection_id":142932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:34:00] local.INFO: TCP Data received {"connection_id":143080,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143080,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:34:00] local.INFO: Processing buffer {"connection_id":143080,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:34:00] local.INFO: IMEI packet received {"connection_id":143080,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 15:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":143080,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:34:04] local.INFO: TCP Data received {"connection_id":143080,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143080,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:34:04] local.INFO: Processing buffer {"connection_id":143080,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:34:04] local.INFO: IMEI packet received {"connection_id":143080,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 15:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":143080,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:34:08] local.INFO: TCP Data received {"connection_id":143080,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3045918012d181fc00721b150004b00e02f..."} 
[2026-07-27 15:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3045918012d181fc00721b150004b00e02f..."} 
[2026-07-27 15:34:08] local.INFO: Processing buffer {"connection_id":143080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3045918012d181fc00721b150004b00e02f..."} 
[2026-07-27 15:34:08] local.INFO: Packet analysis {"connection_id":143080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa304"} 
[2026-07-27 15:34:08] local.INFO: Extracted packet for processing {"connection_id":143080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa304"} 
[2026-07-27 15:34:08] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648592,"longitude_deg":75.6555712,"latitude_deg":11.9648592,"altitude":75,"angle":224,"satellites":47,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b150","is_valid_coordinates":true} 
[2026-07-27 15:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:34:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997472768001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:34:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8880338805719040,"note":"Value kept but may cause issues"} 
[2026-07-27 15:34:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050873344,"note":"Value kept but may cause issues"} 
[2026-07-27 15:34:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:34:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785146399000,"timestamp_ms":1785146399000,"timestamp_seconds":1785146399,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3045918"} 
[2026-07-27 15:34:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:34:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-27 15:34:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:34:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:34:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:34:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:34:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:34:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:34:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:34:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:34:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:34:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:34:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997472768001,"66":12504,"120":206,"28":31744,"24":0,"16":8880338805719040,"45":1738319118050873344},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 15:34:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:34:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:34:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997472768001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:34:08] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 15:34:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:34:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8880338805719040,"km_value":8880338805719.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:34:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050873344,"description":"Unknown IO ID 45"} 
[2026-07-27 15:34:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997472768001,"power":12504,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738319118050873344}} 
[2026-07-27 15:34:08] local.INFO: DEBUG: GPS processor result {"connection_id":143080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553821,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:34:08] local.INFO: GPS data processed {"connection_id":143080,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:34:08] local.INFO: Acknowledgment sent {"connection_id":143080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:34:11] local.INFO: TCP Data received {"connection_id":144063,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:34:11] local.INFO: Processing buffer {"connection_id":144063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:34:11] local.INFO: IMEI packet received {"connection_id":144063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 15:34:11] local.INFO: IMEI acknowledgment sent {"connection_id":144063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:34:17] local.INFO: TCP Data received {"connection_id":143081,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143081,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:34:17] local.INFO: Processing buffer {"connection_id":143081,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:34:17] local.INFO: IMEI packet received {"connection_id":143081,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 15:34:17] local.INFO: IMEI acknowledgment sent {"connection_id":143081,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:34:21] local.INFO: TCP Data received {"connection_id":143081,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143081,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:34:21] local.INFO: Processing buffer {"connection_id":143081,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:34:21] local.INFO: IMEI packet received {"connection_id":143081,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 15:34:21] local.INFO: IMEI acknowledgment sent {"connection_id":143081,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:34:25] local.INFO: TCP Data received {"connection_id":142932,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3085c70012d7a15c005ec81b0000d011e26..."} 
[2026-07-27 15:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142932,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3085c70012d7a15c005ec81b0000d011e26..."} 
[2026-07-27 15:34:25] local.INFO: Processing buffer {"connection_id":142932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3085c70012d7a15c005ec81b0000d011e26..."} 
[2026-07-27 15:34:25] local.INFO: Packet analysis {"connection_id":142932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa308"} 
[2026-07-27 15:34:25] local.INFO: Extracted packet for processing {"connection_id":142932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa308"} 
[2026-07-27 15:34:25] local.INFO: GPS Element Parsed {"raw_longitude":762975680,"raw_latitude":99385776,"longitude_deg":76.297568,"latitude_deg":9.9385776,"altitude":13,"angle":286,"satellites":38,"speed":0,"hex_longitude":"2d7a15c0","hex_latitude":"05ec81b0","is_valid_coordinates":true} 
[2026-07-27 15:34:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:34:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997469952001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:34:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111600898370699264,"note":"Value kept but may cause issues"} 
[2026-07-27 15:34:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8797148578813423616,"note":"Value kept but may cause issues"} 
[2026-07-27 15:34:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:34:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785146662000,"timestamp_ms":1785146662000,"timestamp_seconds":1785146662,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3085c70"} 
[2026-07-27 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-07-27 15:34:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14080,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-27 15:34:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 15:34:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:34:25] local.INFO: Teltonika packet parsed successfully {"connection_id":142932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:34:25] local.INFO: Passing IMEI to GPS processor {"connection_id":142932,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 15:34:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":142932,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 15:34:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:34:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 15:34:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 15:34:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997469952001,"66":4960,"157":206,"87":13824,"24":0,"16":111600898370699264,"45":8797148578813423616},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-27 15:34:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 15:34:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 15:34:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997469952001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:34:25] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-27 15:34:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 15:34:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111600898370699264,"km_value":111600898370699.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:34:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8797148578813423616,"description":"Unknown IO ID 45"} 
[2026-07-27 15:34:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997469952001,"power":4960,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8797148578813423616}} 
[2026-07-27 15:34:25] local.INFO: DEBUG: GPS processor result {"connection_id":142932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553822,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:34:25] local.INFO: GPS data processed {"connection_id":142932,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:34:25] local.INFO: Acknowledgment sent {"connection_id":142932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:34:31] local.INFO: TCP Data received {"connection_id":143081,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000000000003ebe80100000000000000000000000000..."} 
[2026-07-27 15:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143081,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000003ebe80100000000000000000000000000..."} 
[2026-07-27 15:34:31] local.INFO: Processing buffer {"connection_id":143081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000003ebe80100000000000000000000000000..."} 
[2026-07-27 15:34:31] local.INFO: Packet analysis {"connection_id":143081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000003"} 
[2026-07-27 15:34:31] local.INFO: Extracted packet for processing {"connection_id":143081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000003"} 
[2026-07-27 15:34:31] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-27 15:34:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:34:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25893520308961280,"note":"Value kept but may cause issues"} 
[2026-07-27 15:34:31] 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-07-27 15:34:31] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":257000,"timestamp_seconds":257,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 15:34:31] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:34:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-27 15:34:31] local.INFO: Teltonika packet parsed successfully {"connection_id":143081,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:34:31] local.INFO: Passing IMEI to GPS processor {"connection_id":143081,"device_imei":"862567072573210","avl_records_count":0} 
[2026-07-27 15:34:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":143081,"device_imei":"862567072573210","avl_records_count":0} 
[2026-07-27 15:34:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-27 15:34:31] local.WARNING: DEBUG: No valid data to process  
[2026-07-27 15:34:31] local.INFO: DEBUG: GPS processor result {"connection_id":143081,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-27 15:34:31] local.ERROR: GPS data processing failed {"connection_id":143081,"error":"No valid data to process"} 
[2026-07-27 15:34:31] local.INFO: Acknowledgment sent {"connection_id":143081,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-27 15:34:34] local.INFO: TCP Data received {"connection_id":143082,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:34:34] local.INFO: Processing buffer {"connection_id":143082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:34:34] local.INFO: IMEI packet received {"connection_id":143082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 15:34:34] local.INFO: IMEI acknowledgment sent {"connection_id":143082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:34:37] local.INFO: TCP Data received {"connection_id":143082,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:34:37] local.INFO: Processing buffer {"connection_id":143082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:34:37] local.INFO: IMEI packet received {"connection_id":143082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 15:34:37] local.INFO: IMEI acknowledgment sent {"connection_id":143082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:34:40] local.INFO: TCP Data received {"connection_id":143080,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3049f68012d181e800721b030004a00d42f..."} 
[2026-07-27 15:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3049f68012d181e800721b030004a00d42f..."} 
[2026-07-27 15:34:40] local.INFO: Processing buffer {"connection_id":143080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3049f68012d181e800721b030004a00d42f..."} 
[2026-07-27 15:34:40] local.INFO: Packet analysis {"connection_id":143080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa304"} 
[2026-07-27 15:34:40] local.INFO: Extracted packet for processing {"connection_id":143080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa304"} 
[2026-07-27 15:34:40] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648304,"longitude_deg":75.6555392,"latitude_deg":11.9648304,"altitude":74,"angle":212,"satellites":47,"speed":2,"hex_longitude":"2d181e80","hex_latitude":"0721b030","is_valid_coordinates":true} 
[2026-07-27 15: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-07-27 15:34:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997478144001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:34:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8880360280555520,"note":"Value kept but may cause issues"} 
[2026-07-27 15:34:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050873344,"note":"Value kept but may cause issues"} 
[2026-07-27 15:34: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-07-27 15:34:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785146417000,"timestamp_ms":1785146417000,"timestamp_seconds":1785146417,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3049f68"} 
[2026-07-27 15:34:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:34:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-27 15:34:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15: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-07-27 15:34:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:34:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:34:40] local.INFO: Teltonika packet parsed successfully {"connection_id":143080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:34:40] local.INFO: Passing IMEI to GPS processor {"connection_id":143080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:34:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":143080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:34:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:34:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:34:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:34:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997478144001,"66":12504,"120":206,"28":31744,"24":2,"16":8880360280555520,"45":1738319118050873344},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 15:34:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:34:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:34:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997478144001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:34:40] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 15:34:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:34:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8880360280555520,"km_value":8880360280555.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:34:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050873344,"description":"Unknown IO ID 45"} 
[2026-07-27 15:34:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997478144001,"power":12504,"unknown_120":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1738319118050873344}} 
[2026-07-27 15:34:40] local.INFO: DEBUG: GPS processor result {"connection_id":143080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553823,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:34:40] local.INFO: GPS data processed {"connection_id":143080,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:34:40] local.INFO: Acknowledgment sent {"connection_id":143080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:34:48] local.INFO: TCP Data received {"connection_id":144064,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144064,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:34:48] local.INFO: Processing buffer {"connection_id":144064,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:34:48] local.INFO: IMEI packet received {"connection_id":144064,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 15:34:48] local.INFO: IMEI acknowledgment sent {"connection_id":144064,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:34:53] local.INFO: TCP Data received {"connection_id":144064,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144064,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:34:53] local.INFO: Processing buffer {"connection_id":144064,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:34:53] local.INFO: IMEI packet received {"connection_id":144064,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 15:34:53] local.INFO: IMEI acknowledgment sent {"connection_id":144064,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:34:54] local.INFO: TCP Data received {"connection_id":144064,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3085c70012d7a15c005ec81b0000d011e26..."} 
[2026-07-27 15:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144064,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3085c70012d7a15c005ec81b0000d011e26..."} 
[2026-07-27 15:34:54] local.INFO: Processing buffer {"connection_id":144064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3085c70012d7a15c005ec81b0000d011e26..."} 
[2026-07-27 15:34:54] local.INFO: Packet analysis {"connection_id":144064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa308"} 
[2026-07-27 15:34:54] local.INFO: Extracted packet for processing {"connection_id":144064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa308"} 
[2026-07-27 15:34:54] local.INFO: GPS Element Parsed {"raw_longitude":762975680,"raw_latitude":99385776,"longitude_deg":76.297568,"latitude_deg":9.9385776,"altitude":13,"angle":286,"satellites":38,"speed":0,"hex_longitude":"2d7a15c0","hex_latitude":"05ec81b0","is_valid_coordinates":true} 
[2026-07-27 15:34:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:34:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997545472001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:34:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111600898370699264,"note":"Value kept but may cause issues"} 
[2026-07-27 15:34:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8797148578813423616,"note":"Value kept but may cause issues"} 
[2026-07-27 15:34:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:34:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785146662000,"timestamp_ms":1785146662000,"timestamp_seconds":1785146662,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3085c70"} 
[2026-07-27 15:34:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:34:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 15:34:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":19,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-27 15:34:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1157,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:34:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:34:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:34:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:34:54] local.INFO: Teltonika packet parsed successfully {"connection_id":144064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:34:54] local.INFO: Passing IMEI to GPS processor {"connection_id":144064,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 15:34:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":144064,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 15:34:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:34:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 15:34:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 15:34:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997545472001,"66":4960,"157":206,"87":13824,"24":0,"16":111600898370699264,"45":8797148578813423616},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-27 15:34:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 15:34:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 15:34:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997545472001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:34:54] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-27 15:34:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 15:34:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111600898370699264,"km_value":111600898370699.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:34:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8797148578813423616,"description":"Unknown IO ID 45"} 
[2026-07-27 15:34:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997545472001,"power":4960,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8797148578813423616}} 
[2026-07-27 15:34:54] local.INFO: DEBUG: GPS processor result {"connection_id":144064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553824,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:34:54] local.INFO: GPS data processed {"connection_id":144064,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:34:54] local.INFO: Acknowledgment sent {"connection_id":144064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:34:59] local.INFO: TCP Data received {"connection_id":145353,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145353,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:34:59] local.INFO: Processing buffer {"connection_id":145353,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:34:59] local.INFO: IMEI packet received {"connection_id":145353,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 15:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":145353,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:35:04] local.INFO: TCP Data received {"connection_id":145353,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145353,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:35:04] local.INFO: Processing buffer {"connection_id":145353,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:35:04] local.INFO: IMEI packet received {"connection_id":145353,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 15:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":145353,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:35:05] local.INFO: TCP Data received {"connection_id":145353,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa304f170012d181e400721af90004a00d128..."} 
[2026-07-27 15:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145353,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa304f170012d181e400721af90004a00d128..."} 
[2026-07-27 15:35:05] local.INFO: Processing buffer {"connection_id":145353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa304f170012d181e400721af90004a00d128..."} 
[2026-07-27 15:35:05] local.INFO: Packet analysis {"connection_id":145353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa304"} 
[2026-07-27 15:35:05] local.INFO: Extracted packet for processing {"connection_id":145353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa304"} 
[2026-07-27 15:35:05] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648144,"longitude_deg":75.6555328,"latitude_deg":11.9648144,"altitude":74,"angle":209,"satellites":40,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721af90","is_valid_coordinates":true} 
[2026-07-27 15:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997482752001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8880373165457408,"note":"Value kept but may cause issues"} 
[2026-07-27 15:35:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329911296,"note":"Value kept but may cause issues"} 
[2026-07-27 15:35:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785146438000,"timestamp_ms":1785146438000,"timestamp_seconds":1785146438,"priority":1,"record_length":96,"hex_timestamp":"0000019fa304f170"} 
[2026-07-27 15:35:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:35:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-27 15:35:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:35:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:35:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":145353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":145353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":145353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:35:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997482752001,"66":12439,"120":206,"28":31744,"24":0,"16":8880373165457408,"45":1737967274329911296},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 15:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997482752001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:35:05] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 15:35:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8880373165457408,"km_value":8880373165457.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:35:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329911296,"description":"Unknown IO ID 45"} 
[2026-07-27 15:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997482752001,"power":12439,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737967274329911296}} 
[2026-07-27 15:35:06] local.INFO: DEBUG: GPS processor result {"connection_id":145353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553825,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:35:06] local.INFO: GPS data processed {"connection_id":145353,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:35:06] local.INFO: Acknowledgment sent {"connection_id":145353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:35:15] local.INFO: TCP Data received {"connection_id":143081,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3091020012d0b8380070345c80011002808..."} 
[2026-07-27 15:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3091020012d0b8380070345c80011002808..."} 
[2026-07-27 15:35:15] local.INFO: Processing buffer {"connection_id":143081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3091020012d0b8380070345c80011002808..."} 
[2026-07-27 15:35:15] local.INFO: Packet analysis {"connection_id":143081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa309"} 
[2026-07-27 15:35:15] local.INFO: Extracted packet for processing {"connection_id":143081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa309"} 
[2026-07-27 15:35:15] local.INFO: GPS Element Parsed {"raw_longitude":755729280,"raw_latitude":117654984,"longitude_deg":75.572928,"latitude_deg":11.7654984,"altitude":17,"angle":40,"satellites":8,"speed":12,"hex_longitude":"2d0b8380","hex_latitude":"070345c8","is_valid_coordinates":true} 
[2026-07-27 15: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-07-27 15:35:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997556992001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:35:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25893803776802816,"note":"Value kept but may cause issues"} 
[2026-07-27 15:35:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":829506786485903360,"note":"Value kept but may cause issues"} 
[2026-07-27 15:35:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:35:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785146708000,"timestamp_ms":1785146708000,"timestamp_seconds":1785146708,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3091020"} 
[2026-07-27 15:35:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:35:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15: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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-27 15:35:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15: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-07-27 15:35:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:35:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:35:15] local.INFO: Teltonika packet parsed successfully {"connection_id":143081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:35:15] local.INFO: Passing IMEI to GPS processor {"connection_id":143081,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 15:35:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":143081,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 15:35:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:35:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 15:35:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 15:35:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997556992001,"66":14559,"17":206,"94":11008,"24":12,"16":25893803776802816,"45":829506786485903360},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-27 15:35:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 15:35:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 15:35:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997556992001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:35:15] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-27 15:35:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25893803776802816,"km_value":25893803776802.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:35:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":829506786485903360,"description":"Unknown IO ID 45"} 
[2026-07-27 15:35:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997556992001,"power":14559,"axis_x":206,"unknown_94":11008,"ignition":12,"odometer":null,"unknown_45":829506786485903360}} 
[2026-07-27 15:35:15] local.INFO: DEBUG: GPS processor result {"connection_id":143081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553826,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:35:15] local.INFO: GPS data processed {"connection_id":143081,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:35:15] local.INFO: Acknowledgment sent {"connection_id":143081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:35:37] local.INFO: TCP Data received {"connection_id":145353,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3054378012d181e400721af90004a00d12e..."} 
[2026-07-27 15:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145353,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3054378012d181e400721af90004a00d12e..."} 
[2026-07-27 15:35:37] local.INFO: Processing buffer {"connection_id":145353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3054378012d181e400721af90004a00d12e..."} 
[2026-07-27 15:35:37] local.INFO: Packet analysis {"connection_id":145353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa305"} 
[2026-07-27 15:35:37] local.INFO: Extracted packet for processing {"connection_id":145353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa305"} 
[2026-07-27 15:35:37] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648144,"longitude_deg":75.6555328,"latitude_deg":11.9648144,"altitude":74,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721af90","is_valid_coordinates":true} 
[2026-07-27 15:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997488128001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8880373165457408,"note":"Value kept but may cause issues"} 
[2026-07-27 15:35:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585692672,"note":"Value kept but may cause issues"} 
[2026-07-27 15:35:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785146459000,"timestamp_ms":1785146459000,"timestamp_seconds":1785146459,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3054378"} 
[2026-07-27 15:35:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:35:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-27 15:35:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:35:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:35:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:35:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997488128001,"66":12461,"120":206,"28":31744,"24":0,"16":8880373165457408,"45":1737896905585692672},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 15:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997488128001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:35:37] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 15:35:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:35:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8880373165457408,"km_value":8880373165457.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:35:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585692672,"description":"Unknown IO ID 45"} 
[2026-07-27 15:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997488128001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585692672}} 
[2026-07-27 15:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":145353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553827,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:35:37] local.INFO: GPS data processed {"connection_id":145353,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:35:37] local.INFO: Acknowledgment sent {"connection_id":145353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:35:52] local.INFO: TCP Data received {"connection_id":143081,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3091408012d0b83c0070347c00011001708..."} 
[2026-07-27 15:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3091408012d0b83c0070347c00011001708..."} 
[2026-07-27 15:35:52] local.INFO: Processing buffer {"connection_id":143081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3091408012d0b83c0070347c00011001708..."} 
[2026-07-27 15:35:52] local.INFO: Packet analysis {"connection_id":143081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa309"} 
[2026-07-27 15:35:52] local.INFO: Extracted packet for processing {"connection_id":143081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa309"} 
[2026-07-27 15:35:52] local.INFO: GPS Element Parsed {"raw_longitude":755729344,"raw_latitude":117655488,"longitude_deg":75.5729344,"latitude_deg":11.7655488,"altitude":17,"angle":23,"satellites":8,"speed":15,"hex_longitude":"2d0b83c0","hex_latitude":"070347c0","is_valid_coordinates":true} 
[2026-07-27 15:35:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:35:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997557248001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:35:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25893829546606592,"note":"Value kept but may cause issues"} 
[2026-07-27 15:35:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":829647523974334464,"note":"Value kept but may cause issues"} 
[2026-07-27 15:35:52] 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-07-27 15:35:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785146709000,"timestamp_ms":1785146709000,"timestamp_seconds":1785146709,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3091408"} 
[2026-07-27 15:35:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:35:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:35:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-27 15:35:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:35:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:35:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:35:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:35:52] local.INFO: Teltonika packet parsed successfully {"connection_id":143081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:35:52] local.INFO: Passing IMEI to GPS processor {"connection_id":143081,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 15:35:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":143081,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 15:35:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:35:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 15:35:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 15:35:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997557248001,"66":14494,"17":206,"94":11008,"24":15,"16":25893829546606592,"45":829647523974334464},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-27 15:35:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 15:35:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 15:35:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997557248001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:35:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-27 15:35:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25893829546606592,"km_value":25893829546606.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:35:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":829647523974334464,"description":"Unknown IO ID 45"} 
[2026-07-27 15:35:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997557248001,"power":14494,"axis_x":206,"unknown_94":11008,"ignition":15,"odometer":null,"unknown_45":829647523974334464}} 
[2026-07-27 15:35:52] local.INFO: DEBUG: GPS processor result {"connection_id":143081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553828,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:35:52] local.INFO: GPS data processed {"connection_id":143081,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:35:52] local.INFO: Acknowledgment sent {"connection_id":143081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:35:59] local.INFO: TCP Data received {"connection_id":144066,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144066,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:35:59] local.INFO: Processing buffer {"connection_id":144066,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:35:59] local.INFO: IMEI packet received {"connection_id":144066,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 15:35:59] local.INFO: IMEI acknowledgment sent {"connection_id":144066,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:36:05] local.INFO: TCP Data received {"connection_id":144066,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144066,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:36:05] local.INFO: Processing buffer {"connection_id":144066,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:36:05] local.INFO: IMEI packet received {"connection_id":144066,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 15:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":144066,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:36:06] local.INFO: TCP Data received {"connection_id":144066,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3059580012d181e400721af90004a00d126..."} 
[2026-07-27 15:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144066,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3059580012d181e400721af90004a00d126..."} 
[2026-07-27 15:36:06] local.INFO: Processing buffer {"connection_id":144066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3059580012d181e400721af90004a00d126..."} 
[2026-07-27 15:36:06] local.INFO: Packet analysis {"connection_id":144066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa305"} 
[2026-07-27 15:36:06] local.INFO: Extracted packet for processing {"connection_id":144066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa305"} 
[2026-07-27 15:36:06] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648144,"longitude_deg":75.6555328,"latitude_deg":11.9648144,"altitude":74,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721af90","is_valid_coordinates":true} 
[2026-07-27 15:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:36:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997493504001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:36:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8880373165457408,"note":"Value kept but may cause issues"} 
[2026-07-27 15:36:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585692672,"note":"Value kept but may cause issues"} 
[2026-07-27 15:36:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:36:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785146480000,"timestamp_ms":1785146480000,"timestamp_seconds":1785146480,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3059580"} 
[2026-07-27 15:36:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:36:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-27 15:36:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:36:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:36:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:36:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:36:06] local.INFO: Teltonika packet parsed successfully {"connection_id":144066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:36:06] local.INFO: Passing IMEI to GPS processor {"connection_id":144066,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:36:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":144066,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:36:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:36:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:36:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:36:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997493504001,"66":12461,"120":206,"28":31744,"24":0,"16":8880373165457408,"45":1737896905585692672},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 15:36:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:36:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:36:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997493504001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:36:06] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 15:36:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:36:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8880373165457408,"km_value":8880373165457.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:36:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585692672,"description":"Unknown IO ID 45"} 
[2026-07-27 15:36:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997493504001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585692672}} 
[2026-07-27 15:36:06] local.INFO: DEBUG: GPS processor result {"connection_id":144066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553829,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:36:06] local.INFO: GPS data processed {"connection_id":144066,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:36:06] local.INFO: Acknowledgment sent {"connection_id":144066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:36:23] local.INFO: TCP Data received {"connection_id":143081,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa30a2190012d0bf88007035a300002007209..."} 
[2026-07-27 15:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa30a2190012d0bf88007035a300002007209..."} 
[2026-07-27 15:36:23] local.INFO: Processing buffer {"connection_id":143081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa30a2190012d0bf88007035a300002007209..."} 
[2026-07-27 15:36:23] local.INFO: Packet analysis {"connection_id":143081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa30a"} 
[2026-07-27 15:36:23] local.INFO: Extracted packet for processing {"connection_id":143081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa30a"} 
[2026-07-27 15:36:23] local.INFO: GPS Element Parsed {"raw_longitude":755759232,"raw_latitude":117660208,"longitude_deg":75.5759232,"latitude_deg":11.7660208,"altitude":2,"angle":114,"satellites":9,"speed":11,"hex_longitude":"2d0bf880","hex_latitude":"07035a30","is_valid_coordinates":true} 
[2026-07-27 15:36:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:36:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997574912001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:36:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25895384324767744,"note":"Value kept but may cause issues"} 
[2026-07-27 15:36:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":862228252529946624,"note":"Value kept but may cause issues"} 
[2026-07-27 15:36:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:36:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785146778000,"timestamp_ms":1785146778000,"timestamp_seconds":1785146778,"priority":1,"record_length":96,"hex_timestamp":"0000019fa30a2190"} 
[2026-07-27 15:36:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:36: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-07-27 15:36:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-27 15:36:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:36:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:36:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:36:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:36:23] local.INFO: Teltonika packet parsed successfully {"connection_id":143081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:36:23] local.INFO: Passing IMEI to GPS processor {"connection_id":143081,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 15:36:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":143081,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 15:36:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:36:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 15:36:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 15:36:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997574912001,"66":14439,"37":206,"94":11008,"24":11,"16":25895384324767744,"45":862228252529946624},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-27 15:36:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 15:36:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 15:36:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997574912001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:36:23] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-27 15:36:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-27 15:36:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25895384324767744,"km_value":25895384324767.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:36:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":862228252529946624,"description":"Unknown IO ID 45"} 
[2026-07-27 15:36:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997574912001,"power":14439,"unknown_37":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":862228252529946624}} 
[2026-07-27 15:36:23] local.INFO: DEBUG: GPS processor result {"connection_id":143081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553830,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:36:23] local.INFO: GPS data processed {"connection_id":143081,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:36:23] local.INFO: Acknowledgment sent {"connection_id":143081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:36:38] local.INFO: TCP Data received {"connection_id":144066,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3091bd8012d181e400721af90004a00d12b..."} 
[2026-07-27 15:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144066,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3091bd8012d181e400721af90004a00d12b..."} 
[2026-07-27 15:36:38] local.INFO: Processing buffer {"connection_id":144066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3091bd8012d181e400721af90004a00d12b..."} 
[2026-07-27 15:36:38] local.INFO: Packet analysis {"connection_id":144066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa309"} 
[2026-07-27 15:36:38] local.INFO: Extracted packet for processing {"connection_id":144066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa309"} 
[2026-07-27 15:36:38] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648144,"longitude_deg":75.6555328,"latitude_deg":11.9648144,"altitude":74,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721af90","is_valid_coordinates":true} 
[2026-07-27 15:36:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:36:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997552640001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:36:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8880373165457408,"note":"Value kept but may cause issues"} 
[2026-07-27 15:36:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585692672,"note":"Value kept but may cause issues"} 
[2026-07-27 15:36:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:36:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785146711000,"timestamp_ms":1785146711000,"timestamp_seconds":1785146711,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3091bd8"} 
[2026-07-27 15:36:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:36:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:36:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 15:36:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:36:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:36:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:36:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:36:38] local.INFO: Teltonika packet parsed successfully {"connection_id":144066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:36:38] local.INFO: Passing IMEI to GPS processor {"connection_id":144066,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:36:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":144066,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:36:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:36:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:36:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:36:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997552640001,"66":12406,"120":206,"28":31744,"24":0,"16":8880373165457408,"45":1737896905585692672},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 15:36:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:36:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:36:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997552640001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:36:38] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 15:36:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:36:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8880373165457408,"km_value":8880373165457.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:36:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585692672,"description":"Unknown IO ID 45"} 
[2026-07-27 15:36:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997552640001,"power":12406,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585692672}} 
[2026-07-27 15:36:38] local.INFO: DEBUG: GPS processor result {"connection_id":144066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553831,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:36:38] local.INFO: GPS data processed {"connection_id":144066,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:36:38] local.INFO: Acknowledgment sent {"connection_id":144066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:36:54] local.INFO: TCP Data received {"connection_id":143081,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa30a2960012d0bfa40070359600002008309..."} 
[2026-07-27 15:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa30a2960012d0bfa40070359600002008309..."} 
[2026-07-27 15:36:55] local.INFO: Processing buffer {"connection_id":143081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa30a2960012d0bfa40070359600002008309..."} 
[2026-07-27 15:36:55] local.INFO: Packet analysis {"connection_id":143081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa30a"} 
[2026-07-27 15:36:55] local.INFO: Extracted packet for processing {"connection_id":143081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa30a"} 
[2026-07-27 15:36:55] local.INFO: GPS Element Parsed {"raw_longitude":755759680,"raw_latitude":117660000,"longitude_deg":75.575968,"latitude_deg":11.766,"altitude":2,"angle":131,"satellites":9,"speed":9,"hex_longitude":"2d0bfa40","hex_latitude":"07035960","is_valid_coordinates":true} 
[2026-07-27 15:36:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:36:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997575168001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:36:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25895405799604224,"note":"Value kept but may cause issues"} 
[2026-07-27 15:36:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":862580096250818560,"note":"Value kept but may cause issues"} 
[2026-07-27 15:36:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:36:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785146780000,"timestamp_ms":1785146780000,"timestamp_seconds":1785146780,"priority":1,"record_length":96,"hex_timestamp":"0000019fa30a2960"} 
[2026-07-27 15:36:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:36:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:36:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-27 15:36:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:36:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:36:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:36:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:36:55] local.INFO: Teltonika packet parsed successfully {"connection_id":143081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:36:55] local.INFO: Passing IMEI to GPS processor {"connection_id":143081,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 15:36:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":143081,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 15:36:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:36:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 15:36:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 15:36:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997575168001,"66":14439,"37":206,"94":11008,"24":9,"16":25895405799604224,"45":862580096250818560},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-27 15:36:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 15:36:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 15:36:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997575168001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:36:55] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-27 15:36:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-27 15:36:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25895405799604224,"km_value":25895405799604.223,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:36:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":862580096250818560,"description":"Unknown IO ID 45"} 
[2026-07-27 15:36:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997575168001,"power":14439,"unknown_37":206,"unknown_94":11008,"ignition":9,"odometer":null,"unknown_45":862580096250818560}} 
[2026-07-27 15:36:55] local.INFO: DEBUG: GPS processor result {"connection_id":143081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553832,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:36:55] local.INFO: GPS data processed {"connection_id":143081,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:36:55] local.INFO: Acknowledgment sent {"connection_id":143081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:37:05] local.INFO: TCP Data received {"connection_id":142934,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142934,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:37:05] local.INFO: Processing buffer {"connection_id":142934,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:37:05] local.INFO: IMEI packet received {"connection_id":142934,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 15:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":142934,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:37:09] local.INFO: TCP Data received {"connection_id":142934,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142934,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:37:09] local.INFO: Processing buffer {"connection_id":142934,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:37:09] local.INFO: IMEI packet received {"connection_id":142934,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 15:37:09] local.INFO: IMEI acknowledgment sent {"connection_id":142934,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:37:11] local.INFO: TCP Data received {"connection_id":142934,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3096de0012d181e400721af90004a00d12a..."} 
[2026-07-27 15:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142934,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3096de0012d181e400721af90004a00d12a..."} 
[2026-07-27 15:37:11] local.INFO: Processing buffer {"connection_id":142934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3096de0012d181e400721af90004a00d12a..."} 
[2026-07-27 15:37:11] local.INFO: Packet analysis {"connection_id":142934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa309"} 
[2026-07-27 15:37:11] local.INFO: Extracted packet for processing {"connection_id":142934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa309"} 
[2026-07-27 15:37:11] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648144,"longitude_deg":75.6555328,"latitude_deg":11.9648144,"altitude":74,"angle":209,"satellites":42,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721af90","is_valid_coordinates":true} 
[2026-07-27 15: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-07-27 15:37:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997558016001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:37:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8880373165457408,"note":"Value kept but may cause issues"} 
[2026-07-27 15:37:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585692672,"note":"Value kept but may cause issues"} 
[2026-07-27 15:37:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:37:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785146732000,"timestamp_ms":1785146732000,"timestamp_seconds":1785146732,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3096de0"} 
[2026-07-27 15:37:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:37:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 15:37:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15: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-07-27 15:37:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:37:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:37:11] local.INFO: Teltonika packet parsed successfully {"connection_id":142934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:37:11] local.INFO: Passing IMEI to GPS processor {"connection_id":142934,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:37:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":142934,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:37:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:37:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:37:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:37:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997558016001,"66":12428,"120":206,"28":31744,"24":0,"16":8880373165457408,"45":1737896905585692672},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 15:37:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:37:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:37:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997558016001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:37:11] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 15:37:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:37:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8880373165457408,"km_value":8880373165457.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:37:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585692672,"description":"Unknown IO ID 45"} 
[2026-07-27 15:37:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997558016001,"power":12428,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585692672}} 
[2026-07-27 15:37:11] local.INFO: DEBUG: GPS processor result {"connection_id":142934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553833,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:37:11] local.INFO: GPS data processed {"connection_id":142934,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:37:11] local.INFO: Acknowledgment sent {"connection_id":142934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:37:13] local.INFO: TCP Data received {"connection_id":142934,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa309bfe8012d181e400721af90004a00d12c..."} 
[2026-07-27 15:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142934,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa309bfe8012d181e400721af90004a00d12c..."} 
[2026-07-27 15:37:13] local.INFO: Processing buffer {"connection_id":142934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa309bfe8012d181e400721af90004a00d12c..."} 
[2026-07-27 15:37:13] local.INFO: Packet analysis {"connection_id":142934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa309"} 
[2026-07-27 15:37:13] local.INFO: Extracted packet for processing {"connection_id":142934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa309"} 
[2026-07-27 15:37:13] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648144,"longitude_deg":75.6555328,"latitude_deg":11.9648144,"altitude":74,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721af90","is_valid_coordinates":true} 
[2026-07-27 15: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-07-27 15:37:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997563392001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:37:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8880373165457408,"note":"Value kept but may cause issues"} 
[2026-07-27 15:37:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585692672,"note":"Value kept but may cause issues"} 
[2026-07-27 15:37:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:37:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785146753000,"timestamp_ms":1785146753000,"timestamp_seconds":1785146753,"priority":1,"record_length":96,"hex_timestamp":"0000019fa309bfe8"} 
[2026-07-27 15:37:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:37:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-27 15:37:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15: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-07-27 15:37:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:37:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:37:13] local.INFO: Teltonika packet parsed successfully {"connection_id":142934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:37:13] local.INFO: Passing IMEI to GPS processor {"connection_id":142934,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:37:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":142934,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:37:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:37:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:37:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:37:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997563392001,"66":12461,"120":206,"28":31744,"24":0,"16":8880373165457408,"45":1737896905585692672},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 15:37:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:37:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:37:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997563392001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:37:13] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 15:37:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:37:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8880373165457408,"km_value":8880373165457.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:37:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585692672,"description":"Unknown IO ID 45"} 
[2026-07-27 15:37:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997563392001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585692672}} 
[2026-07-27 15:37:13] local.INFO: DEBUG: GPS processor result {"connection_id":142934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553834,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:37:13] local.INFO: GPS data processed {"connection_id":142934,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:37:13] local.INFO: Acknowledgment sent {"connection_id":142934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:37:25] local.INFO: TCP Data received {"connection_id":143081,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa30b0808012d0c1a40070347a8000000100b..."} 
[2026-07-27 15:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa30b0808012d0c1a40070347a8000000100b..."} 
[2026-07-27 15:37:25] local.INFO: Processing buffer {"connection_id":143081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa30b0808012d0c1a40070347a8000000100b..."} 
[2026-07-27 15:37:25] local.INFO: Packet analysis {"connection_id":143081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa30b"} 
[2026-07-27 15:37:25] local.INFO: Extracted packet for processing {"connection_id":143081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa30b"} 
[2026-07-27 15:37:25] local.INFO: GPS Element Parsed {"raw_longitude":755767872,"raw_latitude":117655464,"longitude_deg":75.5767872,"latitude_deg":11.7655464,"altitude":0,"angle":16,"satellites":11,"speed":19,"hex_longitude":"2d0c1a40","hex_latitude":"070347a8","is_valid_coordinates":true} 
[2026-07-27 15:37:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:37:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997589504001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:37:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25896161713848320,"note":"Value kept but may cause issues"} 
[2026-07-27 15:37:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":871516926759788544,"note":"Value kept but may cause issues"} 
[2026-07-27 15:37:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:37:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785146837000,"timestamp_ms":1785146837000,"timestamp_seconds":1785146837,"priority":1,"record_length":96,"hex_timestamp":"0000019fa30b0808"} 
[2026-07-27 15:37:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:37:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:37:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-27 15:37:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:37:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:37:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:37:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:37:25] local.INFO: Teltonika packet parsed successfully {"connection_id":143081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:37:25] local.INFO: Passing IMEI to GPS processor {"connection_id":143081,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 15:37:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":143081,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 15:37:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:37:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 15:37:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 15:37:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997589504001,"66":14559,"37":206,"94":11008,"24":19,"16":25896161713848320,"45":871516926759788544},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-27 15:37:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 15:37:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 15:37:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997589504001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:37:25] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-27 15:37:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-27 15:37:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25896161713848320,"km_value":25896161713848.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:37:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":871516926759788544,"description":"Unknown IO ID 45"} 
[2026-07-27 15:37:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997589504001,"power":14559,"unknown_37":206,"unknown_94":11008,"ignition":19,"odometer":null,"unknown_45":871516926759788544}} 
[2026-07-27 15:37:26] local.INFO: DEBUG: GPS processor result {"connection_id":143081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553835,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:37:26] local.INFO: GPS data processed {"connection_id":143081,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:37:26] local.INFO: Acknowledgment sent {"connection_id":143081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:37:44] local.INFO: TCP Data received {"connection_id":142934,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa30a11f0012d181e400721af90004a00d129..."} 
[2026-07-27 15:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142934,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa30a11f0012d181e400721af90004a00d129..."} 
[2026-07-27 15:37:44] local.INFO: Processing buffer {"connection_id":142934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa30a11f0012d181e400721af90004a00d129..."} 
[2026-07-27 15:37:44] local.INFO: Packet analysis {"connection_id":142934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa30a"} 
[2026-07-27 15:37:44] local.INFO: Extracted packet for processing {"connection_id":142934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa30a"} 
[2026-07-27 15:37:44] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648144,"longitude_deg":75.6555328,"latitude_deg":11.9648144,"altitude":74,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721af90","is_valid_coordinates":true} 
[2026-07-27 15:37:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:37:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997568768001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:37:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8880373165457408,"note":"Value kept but may cause issues"} 
[2026-07-27 15:37:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585692672,"note":"Value kept but may cause issues"} 
[2026-07-27 15:37:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:37:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785146774000,"timestamp_ms":1785146774000,"timestamp_seconds":1785146774,"priority":1,"record_length":96,"hex_timestamp":"0000019fa30a11f0"} 
[2026-07-27 15:37:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:37:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:37:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-27 15:37:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:37:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:37:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:37:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:37:44] local.INFO: Teltonika packet parsed successfully {"connection_id":142934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:37:44] local.INFO: Passing IMEI to GPS processor {"connection_id":142934,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:37:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":142934,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:37:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:37:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:37:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:37:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997568768001,"66":12461,"120":206,"28":31744,"24":0,"16":8880373165457408,"45":1737896905585692672},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 15:37:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:37:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:37:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997568768001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:37:44] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 15:37:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:37:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8880373165457408,"km_value":8880373165457.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:37:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585692672,"description":"Unknown IO ID 45"} 
[2026-07-27 15:37:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997568768001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585692672}} 
[2026-07-27 15:37:45] local.INFO: DEBUG: GPS processor result {"connection_id":142934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553836,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:37:45] local.INFO: GPS data processed {"connection_id":142934,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:37:45] local.INFO: Acknowledgment sent {"connection_id":142934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:37:57] local.INFO: TCP Data received {"connection_id":143081,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa30b0fd8012d0c1b0007034b00000000040b..."} 
[2026-07-27 15:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa30b0fd8012d0c1b0007034b00000000040b..."} 
[2026-07-27 15:37:57] local.INFO: Processing buffer {"connection_id":143081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa30b0fd8012d0c1b0007034b00000000040b..."} 
[2026-07-27 15:37:57] local.INFO: Packet analysis {"connection_id":143081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa30b"} 
[2026-07-27 15:37:57] local.INFO: Extracted packet for processing {"connection_id":143081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa30b"} 
[2026-07-27 15:37:57] local.INFO: GPS Element Parsed {"raw_longitude":755768064,"raw_latitude":117656320,"longitude_deg":75.5768064,"latitude_deg":11.765632,"altitude":0,"angle":4,"satellites":11,"speed":14,"hex_longitude":"2d0c1b00","hex_latitude":"07034b00","is_valid_coordinates":true} 
[2026-07-27 15:37:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:37:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997590272001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:37:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25896204663521280,"note":"Value kept but may cause issues"} 
[2026-07-27 15:37:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":872079876713588736,"note":"Value kept but may cause issues"} 
[2026-07-27 15:37:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:37:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785146839000,"timestamp_ms":1785146839000,"timestamp_seconds":1785146839,"priority":1,"record_length":96,"hex_timestamp":"0000019fa30b0fd8"} 
[2026-07-27 15:37:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:37:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:37:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-27 15:37:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:37:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:37:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:37:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:37:57] local.INFO: Teltonika packet parsed successfully {"connection_id":143081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:37:57] local.INFO: Passing IMEI to GPS processor {"connection_id":143081,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 15:37:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":143081,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 15:37:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:37:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 15:37:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 15:37:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997590272001,"66":14439,"37":206,"94":11008,"24":14,"16":25896204663521280,"45":872079876713588736},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-27 15:37:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 15:37:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 15:37:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997590272001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:37:57] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-27 15:37:57] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-27 15:37:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25896204663521280,"km_value":25896204663521.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:37:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":872079876713588736,"description":"Unknown IO ID 45"} 
[2026-07-27 15:37:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997590272001,"power":14439,"unknown_37":206,"unknown_94":11008,"ignition":14,"odometer":null,"unknown_45":872079876713588736}} 
[2026-07-27 15:37:57] local.INFO: DEBUG: GPS processor result {"connection_id":143081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553837,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:37:57] local.INFO: GPS data processed {"connection_id":143081,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:37:57] local.INFO: Acknowledgment sent {"connection_id":143081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:38:00] local.INFO: TCP Data received {"connection_id":145354,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145354,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:38:00] local.INFO: Processing buffer {"connection_id":145354,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:38:00] local.INFO: IMEI packet received {"connection_id":145354,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 15:38:00] local.INFO: IMEI acknowledgment sent {"connection_id":145354,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:38:05] local.INFO: TCP Data received {"connection_id":145354,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145354,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:38:05] local.INFO: Processing buffer {"connection_id":145354,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:38:05] local.INFO: IMEI packet received {"connection_id":145354,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 15:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":145354,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:38:06] local.INFO: TCP Data received {"connection_id":145354,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa30a63f8012d181e400721af90004a00d12b..."} 
[2026-07-27 15:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa30a63f8012d181e400721af90004a00d12b..."} 
[2026-07-27 15:38:06] local.INFO: Processing buffer {"connection_id":145354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa30a63f8012d181e400721af90004a00d12b..."} 
[2026-07-27 15:38:06] local.INFO: Packet analysis {"connection_id":145354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa30a"} 
[2026-07-27 15:38:06] local.INFO: Extracted packet for processing {"connection_id":145354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa30a"} 
[2026-07-27 15:38:06] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648144,"longitude_deg":75.6555328,"latitude_deg":11.9648144,"altitude":74,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721af90","is_valid_coordinates":true} 
[2026-07-27 15:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:38:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997574144001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:38:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8880373165457408,"note":"Value kept but may cause issues"} 
[2026-07-27 15:38:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585692672,"note":"Value kept but may cause issues"} 
[2026-07-27 15:38:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:38:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785146795000,"timestamp_ms":1785146795000,"timestamp_seconds":1785146795,"priority":1,"record_length":96,"hex_timestamp":"0000019fa30a63f8"} 
[2026-07-27 15:38:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:38:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-27 15:38:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:38:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:38:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:38:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:38:06] local.INFO: Teltonika packet parsed successfully {"connection_id":145354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:38:06] local.INFO: Passing IMEI to GPS processor {"connection_id":145354,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:38:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":145354,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:38:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:38:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:38:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:38:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997574144001,"66":12428,"120":206,"28":31744,"24":0,"16":8880373165457408,"45":1737896905585692672},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 15:38:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:38:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:38:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997574144001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:38:06] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 15:38:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:38:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8880373165457408,"km_value":8880373165457.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:38:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585692672,"description":"Unknown IO ID 45"} 
[2026-07-27 15:38:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997574144001,"power":12428,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585692672}} 
[2026-07-27 15:38:07] local.INFO: DEBUG: GPS processor result {"connection_id":145354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553838,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:38:07] local.INFO: GPS data processed {"connection_id":145354,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:38:07] local.INFO: Acknowledgment sent {"connection_id":145354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:38:10] local.INFO: TCP Data received {"connection_id":145354,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa30ab600012d181e400721af90004a00d128..."} 
[2026-07-27 15:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa30ab600012d181e400721af90004a00d128..."} 
[2026-07-27 15:38:10] local.INFO: Processing buffer {"connection_id":145354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa30ab600012d181e400721af90004a00d128..."} 
[2026-07-27 15:38:10] local.INFO: Packet analysis {"connection_id":145354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa30a"} 
[2026-07-27 15:38:10] local.INFO: Extracted packet for processing {"connection_id":145354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa30a"} 
[2026-07-27 15:38:10] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648144,"longitude_deg":75.6555328,"latitude_deg":11.9648144,"altitude":74,"angle":209,"satellites":40,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721af90","is_valid_coordinates":true} 
[2026-07-27 15:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:38:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997579520001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:38:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8880373165457408,"note":"Value kept but may cause issues"} 
[2026-07-27 15:38:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585692672,"note":"Value kept but may cause issues"} 
[2026-07-27 15:38:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:38:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785146816000,"timestamp_ms":1785146816000,"timestamp_seconds":1785146816,"priority":1,"record_length":96,"hex_timestamp":"0000019fa30ab600"} 
[2026-07-27 15:38:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:38:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-27 15:38:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:38:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:38:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:38:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:38:10] local.INFO: Teltonika packet parsed successfully {"connection_id":145354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:38:10] local.INFO: Passing IMEI to GPS processor {"connection_id":145354,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:38:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":145354,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:38:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:38:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:38:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:38:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997579520001,"66":12374,"120":206,"28":31744,"24":0,"16":8880373165457408,"45":1737896905585692672},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 15:38:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:38:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:38:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997579520001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:38:10] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 15:38:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:38:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8880373165457408,"km_value":8880373165457.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:38:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585692672,"description":"Unknown IO ID 45"} 
[2026-07-27 15:38:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997579520001,"power":12374,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585692672}} 
[2026-07-27 15:38:10] local.INFO: DEBUG: GPS processor result {"connection_id":145354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553839,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:38:10] local.INFO: GPS data processed {"connection_id":145354,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:38:10] local.INFO: Acknowledgment sent {"connection_id":145354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:38:27] local.INFO: TCP Data received {"connection_id":143081,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa30b1f78012d0c1bc007034ff8000000120b..."} 
[2026-07-27 15:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa30b1f78012d0c1bc007034ff8000000120b..."} 
[2026-07-27 15:38:27] local.INFO: Processing buffer {"connection_id":143081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa30b1f78012d0c1bc007034ff8000000120b..."} 
[2026-07-27 15:38:27] local.INFO: Packet analysis {"connection_id":143081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa30b"} 
[2026-07-27 15:38:27] local.INFO: Extracted packet for processing {"connection_id":143081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa30b"} 
[2026-07-27 15:38:27] local.INFO: GPS Element Parsed {"raw_longitude":755768256,"raw_latitude":117657592,"longitude_deg":75.5768256,"latitude_deg":11.7657592,"altitude":0,"angle":18,"satellites":11,"speed":10,"hex_longitude":"2d0c1bc0","hex_latitude":"07034ff8","is_valid_coordinates":true} 
[2026-07-27 15:38:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:38:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997590784001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:38:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25896269088030720,"note":"Value kept but may cause issues"} 
[2026-07-27 15:38:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":872290982946340864,"note":"Value kept but may cause issues"} 
[2026-07-27 15:38:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:38:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785146843000,"timestamp_ms":1785146843000,"timestamp_seconds":1785146843,"priority":1,"record_length":96,"hex_timestamp":"0000019fa30b1f78"} 
[2026-07-27 15:38:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:38:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-27 15:38:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:38:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:38:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:38:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:38:27] local.INFO: Teltonika packet parsed successfully {"connection_id":143081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:38:27] local.INFO: Passing IMEI to GPS processor {"connection_id":143081,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 15:38:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":143081,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 15:38:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:38:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 15:38:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 15:38:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997590784001,"66":14515,"37":206,"94":11008,"24":10,"16":25896269088030720,"45":872290982946340864},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-27 15:38:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 15:38:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 15:38:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997590784001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:38:27] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-27 15:38:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-27 15:38:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25896269088030720,"km_value":25896269088030.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:38:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":872290982946340864,"description":"Unknown IO ID 45"} 
[2026-07-27 15:38:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997590784001,"power":14515,"unknown_37":206,"unknown_94":11008,"ignition":10,"odometer":null,"unknown_45":872290982946340864}} 
[2026-07-27 15:38:28] local.INFO: DEBUG: GPS processor result {"connection_id":143081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553840,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:38:28] local.INFO: GPS data processed {"connection_id":143081,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:38:28] local.INFO: Acknowledgment sent {"connection_id":143081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:38:41] local.INFO: TCP Data received {"connection_id":145354,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa30b0808012d181e400721af90004a00d12a..."} 
[2026-07-27 15:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa30b0808012d181e400721af90004a00d12a..."} 
[2026-07-27 15:38:41] local.INFO: Processing buffer {"connection_id":145354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa30b0808012d181e400721af90004a00d12a..."} 
[2026-07-27 15:38:41] local.INFO: Packet analysis {"connection_id":145354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa30b"} 
[2026-07-27 15:38:41] local.INFO: Extracted packet for processing {"connection_id":145354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa30b"} 
[2026-07-27 15:38:41] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648144,"longitude_deg":75.6555328,"latitude_deg":11.9648144,"altitude":74,"angle":209,"satellites":42,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721af90","is_valid_coordinates":true} 
[2026-07-27 15:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:38:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997584896001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:38:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8880373165457408,"note":"Value kept but may cause issues"} 
[2026-07-27 15:38:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585692672,"note":"Value kept but may cause issues"} 
[2026-07-27 15:38:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:38:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785146837000,"timestamp_ms":1785146837000,"timestamp_seconds":1785146837,"priority":1,"record_length":96,"hex_timestamp":"0000019fa30b0808"} 
[2026-07-27 15:38:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:38:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-27 15:38:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:38:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:38:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:38:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:38:41] local.INFO: Teltonika packet parsed successfully {"connection_id":145354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:38:41] local.INFO: Passing IMEI to GPS processor {"connection_id":145354,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:38:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":145354,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:38:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:38:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:38:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:38:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997584896001,"66":12428,"120":206,"28":31744,"24":0,"16":8880373165457408,"45":1737896905585692672},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 15:38:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:38:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:38:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997584896001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:38:41] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 15:38:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:38:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8880373165457408,"km_value":8880373165457.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:38:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585692672,"description":"Unknown IO ID 45"} 
[2026-07-27 15:38:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997584896001,"power":12428,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585692672}} 
[2026-07-27 15:38:41] local.INFO: DEBUG: GPS processor result {"connection_id":145354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553841,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:38:41] local.INFO: GPS data processed {"connection_id":145354,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:38:41] local.INFO: Acknowledgment sent {"connection_id":145354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:38:58] local.INFO: TCP Data received {"connection_id":144067,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144067,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:38:58] local.INFO: Processing buffer {"connection_id":144067,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:38:58] local.INFO: IMEI packet received {"connection_id":144067,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 15:38:58] local.INFO: IMEI acknowledgment sent {"connection_id":144067,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:38:58] local.INFO: TCP Data received {"connection_id":143081,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa30c5be0012d0c3d4007036118000600430d..."} 
[2026-07-27 15:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa30c5be0012d0c3d4007036118000600430d..."} 
[2026-07-27 15:38:58] local.INFO: Processing buffer {"connection_id":143081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa30c5be0012d0c3d4007036118000600430d..."} 
[2026-07-27 15:38:58] local.INFO: Packet analysis {"connection_id":143081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa30c"} 
[2026-07-27 15:38:58] local.INFO: Extracted packet for processing {"connection_id":143081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa30c"} 
[2026-07-27 15:38:58] local.INFO: GPS Element Parsed {"raw_longitude":755776832,"raw_latitude":117661976,"longitude_deg":75.5776832,"latitude_deg":11.7661976,"altitude":6,"angle":67,"satellites":13,"speed":13,"hex_longitude":"2d0c3d40","hex_latitude":"07036118","is_valid_coordinates":true} 
[2026-07-27 15:38:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:38:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997611776001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:38:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25896780189138944,"note":"Value kept but may cause issues"} 
[2026-07-27 15:38:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":880946338481504256,"note":"Value kept but may cause issues"} 
[2026-07-27 15:38:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:38:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785146924000,"timestamp_ms":1785146924000,"timestamp_seconds":1785146924,"priority":1,"record_length":96,"hex_timestamp":"0000019fa30c5be0"} 
[2026-07-27 15:38:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:38:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:38:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-27 15:38:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:38:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:38:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:38:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:38:58] local.INFO: Teltonika packet parsed successfully {"connection_id":143081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:38:58] local.INFO: Passing IMEI to GPS processor {"connection_id":143081,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 15:38:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":143081,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 15:38:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:38:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 15:38:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 15:38:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997611776001,"66":14515,"37":206,"94":11008,"24":13,"16":25896780189138944,"45":880946338481504256},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-27 15:38:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 15:38:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 15:38:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997611776001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:38:58] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-27 15:38:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-27 15:38:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25896780189138944,"km_value":25896780189138.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:38:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":880946338481504256,"description":"Unknown IO ID 45"} 
[2026-07-27 15:38:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997611776001,"power":14515,"unknown_37":206,"unknown_94":11008,"ignition":13,"odometer":null,"unknown_45":880946338481504256}} 
[2026-07-27 15:38:58] local.INFO: DEBUG: GPS processor result {"connection_id":143081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553842,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:38:58] local.INFO: GPS data processed {"connection_id":143081,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:38:58] local.INFO: Acknowledgment sent {"connection_id":143081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:38:59] local.INFO: TCP Data received {"connection_id":144067,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144067,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:38:59] local.INFO: Processing buffer {"connection_id":144067,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:38:59] local.INFO: IMEI packet received {"connection_id":144067,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 15:38:59] local.INFO: IMEI acknowledgment sent {"connection_id":144067,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:39:05] local.INFO: TCP Data received {"connection_id":144067,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144067,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:39:05] local.INFO: Processing buffer {"connection_id":144067,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:39:05] local.INFO: IMEI packet received {"connection_id":144067,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 15:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":144067,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:39:06] local.INFO: TCP Data received {"connection_id":144067,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa30b5a10012d181e400721af90004a00d12b..."} 
[2026-07-27 15:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa30b5a10012d181e400721af90004a00d12b..."} 
[2026-07-27 15:39:06] local.INFO: Processing buffer {"connection_id":144067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa30b5a10012d181e400721af90004a00d12b..."} 
[2026-07-27 15:39:06] local.INFO: Packet analysis {"connection_id":144067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa30b"} 
[2026-07-27 15:39:06] local.INFO: Extracted packet for processing {"connection_id":144067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa30b"} 
[2026-07-27 15:39:06] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648144,"longitude_deg":75.6555328,"latitude_deg":11.9648144,"altitude":74,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721af90","is_valid_coordinates":true} 
[2026-07-27 15:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:39:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997590272001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:39:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8880373165457408,"note":"Value kept but may cause issues"} 
[2026-07-27 15:39:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585692672,"note":"Value kept but may cause issues"} 
[2026-07-27 15:39:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:39:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785146858000,"timestamp_ms":1785146858000,"timestamp_seconds":1785146858,"priority":1,"record_length":96,"hex_timestamp":"0000019fa30b5a10"} 
[2026-07-27 15:39:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:39:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-27 15:39:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:39:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:39:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:39:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:39:06] local.INFO: Teltonika packet parsed successfully {"connection_id":144067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:39:06] local.INFO: Passing IMEI to GPS processor {"connection_id":144067,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:39:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":144067,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:39:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:39:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:39:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:39:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997590272001,"66":12428,"120":206,"28":31744,"24":0,"16":8880373165457408,"45":1737896905585692672},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 15:39:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:39:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:39:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997590272001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:39:06] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 15:39:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:39:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8880373165457408,"km_value":8880373165457.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:39:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585692672,"description":"Unknown IO ID 45"} 
[2026-07-27 15:39:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997590272001,"power":12428,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585692672}} 
[2026-07-27 15:39:06] local.INFO: DEBUG: GPS processor result {"connection_id":144067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553843,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:39:06] local.INFO: GPS data processed {"connection_id":144067,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:39:06] local.INFO: Acknowledgment sent {"connection_id":144067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:39:17] local.INFO: TCP Data received {"connection_id":142936,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:39:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142936,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:39:17] local.INFO: Processing buffer {"connection_id":142936,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:39:17] local.INFO: IMEI packet received {"connection_id":142936,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 15:39:17] local.INFO: IMEI acknowledgment sent {"connection_id":142936,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:39:22] local.INFO: TCP Data received {"connection_id":142936,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142936,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:39:22] local.INFO: Processing buffer {"connection_id":142936,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:39:22] local.INFO: IMEI packet received {"connection_id":142936,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 15:39:22] local.INFO: IMEI acknowledgment sent {"connection_id":142936,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:39:23] local.INFO: TCP Data received {"connection_id":142936,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa30c7b20012d0c4a00070365c0000600500d..."} 
[2026-07-27 15:39:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa30c7b20012d0c4a00070365c0000600500d..."} 
[2026-07-27 15:39:23] local.INFO: Processing buffer {"connection_id":142936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa30c7b20012d0c4a00070365c0000600500d..."} 
[2026-07-27 15:39:23] local.INFO: Packet analysis {"connection_id":142936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa30c"} 
[2026-07-27 15:39:23] local.INFO: Extracted packet for processing {"connection_id":142936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa30c"} 
[2026-07-27 15:39:23] local.INFO: GPS Element Parsed {"raw_longitude":755780096,"raw_latitude":117663168,"longitude_deg":75.5780096,"latitude_deg":11.7663168,"altitude":6,"angle":80,"satellites":13,"speed":22,"hex_longitude":"2d0c4a00","hex_latitude":"070365c0","is_valid_coordinates":true} 
[2026-07-27 15:39:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:39:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997612544001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:39:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25896947692863488,"note":"Value kept but may cause issues"} 
[2026-07-27 15:39:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":881931500900128768,"note":"Value kept but may cause issues"} 
[2026-07-27 15:39:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:39:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785146932000,"timestamp_ms":1785146932000,"timestamp_seconds":1785146932,"priority":1,"record_length":96,"hex_timestamp":"0000019fa30c7b20"} 
[2026-07-27 15:39:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:39: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-07-27 15:39:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-27 15:39:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:39:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:39:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:39:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:39:23] local.INFO: Teltonika packet parsed successfully {"connection_id":142936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:39:23] local.INFO: Passing IMEI to GPS processor {"connection_id":142936,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 15:39:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":142936,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 15:39:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:39:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 15:39:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 15:39:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997612544001,"66":14439,"37":206,"94":11008,"24":22,"16":25896947692863488,"45":881931500900128768},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-27 15:39:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 15:39:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 15:39:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997612544001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:39:23] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-27 15:39:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-27 15:39:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25896947692863488,"km_value":25896947692863.49,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:39:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":881931500900128768,"description":"Unknown IO ID 45"} 
[2026-07-27 15:39:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997612544001,"power":14439,"unknown_37":206,"unknown_94":11008,"ignition":22,"odometer":null,"unknown_45":881931500900128768}} 
[2026-07-27 15:39:23] local.INFO: DEBUG: GPS processor result {"connection_id":142936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553844,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:39:23] local.INFO: GPS data processed {"connection_id":142936,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:39:23] local.INFO: Acknowledgment sent {"connection_id":142936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:39:38] local.INFO: TCP Data received {"connection_id":144067,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa30ba830012d181e400721af90004a00d12c..."} 
[2026-07-27 15:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa30ba830012d181e400721af90004a00d12c..."} 
[2026-07-27 15:39:38] local.INFO: Processing buffer {"connection_id":144067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa30ba830012d181e400721af90004a00d12c..."} 
[2026-07-27 15:39:38] local.INFO: Packet analysis {"connection_id":144067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa30b"} 
[2026-07-27 15:39:38] local.INFO: Extracted packet for processing {"connection_id":144067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa30b"} 
[2026-07-27 15:39:38] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648144,"longitude_deg":75.6555328,"latitude_deg":11.9648144,"altitude":74,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721af90","is_valid_coordinates":true} 
[2026-07-27 15:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:39:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997595648001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:39:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8880373165457408,"note":"Value kept but may cause issues"} 
[2026-07-27 15:39:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585692672,"note":"Value kept but may cause issues"} 
[2026-07-27 15:39:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:39:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785146878000,"timestamp_ms":1785146878000,"timestamp_seconds":1785146878,"priority":1,"record_length":96,"hex_timestamp":"0000019fa30ba830"} 
[2026-07-27 15:39:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:39:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-27 15:39:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:39:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:39:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:39:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:39:38] local.INFO: Teltonika packet parsed successfully {"connection_id":144067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:39:38] local.INFO: Passing IMEI to GPS processor {"connection_id":144067,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:39:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":144067,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:39:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:39:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:39:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:39:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997595648001,"66":11569,"120":206,"28":31744,"24":0,"16":8880373165457408,"45":1737896905585692672},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 15:39:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:39:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:39:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997595648001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:39:38] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 15:39:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:39:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8880373165457408,"km_value":8880373165457.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:39:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585692672,"description":"Unknown IO ID 45"} 
[2026-07-27 15:39:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997595648001,"power":11569,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585692672}} 
[2026-07-27 15:39:38] local.INFO: DEBUG: GPS processor result {"connection_id":144067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553845,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:39:38] local.INFO: GPS data processed {"connection_id":144067,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:39:38] local.INFO: Acknowledgment sent {"connection_id":144067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:39:39] local.INFO: TCP Data received {"connection_id":145355,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:39:39] local.INFO: Processing buffer {"connection_id":145355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:39:39] local.INFO: IMEI packet received {"connection_id":145355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 15:39:39] local.INFO: IMEI acknowledgment sent {"connection_id":145355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:39:41] local.INFO: TCP Data received {"connection_id":145355,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa30bcb58012d9cd28005a95d20000c015d2b..."} 
[2026-07-27 15:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa30bcb58012d9cd28005a95d20000c015d2b..."} 
[2026-07-27 15:39:41] local.INFO: Processing buffer {"connection_id":145355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa30bcb58012d9cd28005a95d20000c015d2b..."} 
[2026-07-27 15:39:41] local.INFO: Packet analysis {"connection_id":145355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa30b"} 
[2026-07-27 15:39:41] local.INFO: Extracted packet for processing {"connection_id":145355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa30b"} 
[2026-07-27 15:39:41] local.INFO: GPS Element Parsed {"raw_longitude":765252224,"raw_latitude":94985504,"longitude_deg":76.5252224,"latitude_deg":9.4985504,"altitude":12,"angle":349,"satellites":43,"speed":50,"hex_longitude":"2d9cd280","hex_latitude":"05a95d20","is_valid_coordinates":true} 
[2026-07-27 15: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-07-27 15:39:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997601024001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:39:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359028325001199616,"note":"Value kept but may cause issues"} 
[2026-07-27 15:39:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144327465811935232,"note":"Value kept but may cause issues"} 
[2026-07-27 15:39:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:39:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785146887000,"timestamp_ms":1785146887000,"timestamp_seconds":1785146887,"priority":1,"record_length":96,"hex_timestamp":"0000019fa30bcb58"} 
[2026-07-27 15:39:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:39:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-27 15:39:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15: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-07-27 15:39:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:39:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:39:41] local.INFO: Teltonika packet parsed successfully {"connection_id":145355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:39:41] local.INFO: Passing IMEI to GPS processor {"connection_id":145355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:39:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":145355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15: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-07-27 15:39:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 15:39:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 15:39:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997601024001,"66":27919,"224":206,"83":17152,"24":50,"16":359028325001199616,"45":-7144327465811935232},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,83,24,16,45]} 
[2026-07-27 15:39:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 15:39:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 15:39:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997601024001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:39:41] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-07-27 15:39:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 15:39:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359028325001199616,"km_value":359028325001199.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:39:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144327465811935232,"description":"Unknown IO ID 45"} 
[2026-07-27 15:39:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997601024001,"power":27919,"unknown_224":206,"unknown_83":17152,"ignition":50,"odometer":null,"unknown_45":-7144327465811935232}} 
[2026-07-27 15:39:41] local.INFO: DEBUG: GPS processor result {"connection_id":145355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:39:41] local.INFO: GPS data processed {"connection_id":145355,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:39:41] local.INFO: Acknowledgment sent {"connection_id":145355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:39:54] local.INFO: TCP Data received {"connection_id":142936,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa30c8ac0012d0c530007036848000700400d..."} 
[2026-07-27 15:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa30c8ac0012d0c530007036848000700400d..."} 
[2026-07-27 15:39:54] local.INFO: Processing buffer {"connection_id":142936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa30c8ac0012d0c530007036848000700400d..."} 
[2026-07-27 15:39:54] local.INFO: Packet analysis {"connection_id":142936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa30c"} 
[2026-07-27 15:39:54] local.INFO: Extracted packet for processing {"connection_id":142936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa30c"} 
[2026-07-27 15:39:54] local.INFO: GPS Element Parsed {"raw_longitude":755782400,"raw_latitude":117663816,"longitude_deg":75.57824,"latitude_deg":11.7663816,"altitude":7,"angle":64,"satellites":13,"speed":18,"hex_longitude":"2d0c5300","hex_latitude":"07036848","is_valid_coordinates":true} 
[2026-07-27 15:39:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:39:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997614592001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:39:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25897063656980480,"note":"Value kept but may cause issues"} 
[2026-07-27 15:39:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":885520306853494784,"note":"Value kept but may cause issues"} 
[2026-07-27 15:39:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:39:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785146936000,"timestamp_ms":1785146936000,"timestamp_seconds":1785146936,"priority":1,"record_length":96,"hex_timestamp":"0000019fa30c8ac0"} 
[2026-07-27 15:39:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:39: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-07-27 15:39:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-27 15:39:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:39:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:39:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:39:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:39:54] local.INFO: Teltonika packet parsed successfully {"connection_id":142936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:39:54] local.INFO: Passing IMEI to GPS processor {"connection_id":142936,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 15:39:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":142936,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 15:39:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:39:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 15:39:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 15:39:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997614592001,"66":14515,"37":206,"94":11008,"24":18,"16":25897063656980480,"45":885520306853494784},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-27 15:39:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 15:39:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 15:39:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997614592001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:39:54] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-27 15:39:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-27 15:39:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25897063656980480,"km_value":25897063656980.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:39:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":885520306853494784,"description":"Unknown IO ID 45"} 
[2026-07-27 15:39:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997614592001,"power":14515,"unknown_37":206,"unknown_94":11008,"ignition":18,"odometer":null,"unknown_45":885520306853494784}} 
[2026-07-27 15:39:54] local.INFO: DEBUG: GPS processor result {"connection_id":142936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553847,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:39:54] local.INFO: GPS data processed {"connection_id":142936,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:39:54] local.INFO: Acknowledgment sent {"connection_id":142936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:39:59] local.INFO: TCP Data received {"connection_id":143084,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143084,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:39:59] local.INFO: Processing buffer {"connection_id":143084,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:39:59] local.INFO: IMEI packet received {"connection_id":143084,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 15:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":143084,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:40:01] local.INFO: TCP Data received {"connection_id":143084,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143084,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:40:01] local.INFO: Processing buffer {"connection_id":143084,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:40:01] local.INFO: IMEI packet received {"connection_id":143084,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 15:40:01] local.INFO: IMEI acknowledgment sent {"connection_id":143084,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:40:04] local.INFO: TCP Data received {"connection_id":143084,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143084,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:40:04] local.INFO: Processing buffer {"connection_id":143084,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:40:04] local.INFO: IMEI packet received {"connection_id":143084,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 15:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":143084,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:40:06] local.INFO: TCP Data received {"connection_id":143084,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa30bfa38012d181e400721af90004a00d129..."} 
[2026-07-27 15:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa30bfa38012d181e400721af90004a00d129..."} 
[2026-07-27 15:40:06] local.INFO: Processing buffer {"connection_id":143084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa30bfa38012d181e400721af90004a00d129..."} 
[2026-07-27 15:40:06] local.INFO: Packet analysis {"connection_id":143084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa30b"} 
[2026-07-27 15:40:06] local.INFO: Extracted packet for processing {"connection_id":143084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa30b"} 
[2026-07-27 15:40:06] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648144,"longitude_deg":75.6555328,"latitude_deg":11.9648144,"altitude":74,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721af90","is_valid_coordinates":true} 
[2026-07-27 15:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:40:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997600768001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:40:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8880373165457408,"note":"Value kept but may cause issues"} 
[2026-07-27 15:40:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585692672,"note":"Value kept but may cause issues"} 
[2026-07-27 15:40:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:40:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785146899000,"timestamp_ms":1785146899000,"timestamp_seconds":1785146899,"priority":1,"record_length":96,"hex_timestamp":"0000019fa30bfa38"} 
[2026-07-27 15:40:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:40:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":49,"data_length":795,"current_offset":136} 
[2026-07-27 15:40:06] 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-07-27 15:40:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:40:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:40:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:40:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:40:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:40:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:40:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:40:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:40:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:40:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997600768001,"66":11961,"120":206,"28":31744,"24":0,"16":8880373165457408,"45":1737896905585692672},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 15:40:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:40:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:40:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997600768001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:40:06] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 15:40:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:40:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8880373165457408,"km_value":8880373165457.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:40:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585692672,"description":"Unknown IO ID 45"} 
[2026-07-27 15:40:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997600768001,"power":11961,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585692672}} 
[2026-07-27 15:40:06] local.INFO: DEBUG: GPS processor result {"connection_id":143084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553848,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:40:06] local.INFO: GPS data processed {"connection_id":143084,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:40:06] local.INFO: Acknowledgment sent {"connection_id":143084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:40:26] local.INFO: TCP Data received {"connection_id":142936,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa30da400012d0c6c400703de48002201450d..."} 
[2026-07-27 15:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa30da400012d0c6c400703de48002201450d..."} 
[2026-07-27 15:40:26] local.INFO: Processing buffer {"connection_id":142936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa30da400012d0c6c400703de48002201450d..."} 
[2026-07-27 15:40:26] local.INFO: Packet analysis {"connection_id":142936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa30d"} 
[2026-07-27 15:40:26] local.INFO: Extracted packet for processing {"connection_id":142936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa30d"} 
[2026-07-27 15:40:26] local.INFO: GPS Element Parsed {"raw_longitude":755788864,"raw_latitude":117694024,"longitude_deg":75.5788864,"latitude_deg":11.7694024,"altitude":34,"angle":325,"satellites":13,"speed":9,"hex_longitude":"2d0c6c40","hex_latitude":"0703de48","is_valid_coordinates":true} 
[2026-07-27 15:40:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:40:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997633792001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:40:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25898652794880000,"note":"Value kept but may cause issues"} 
[2026-07-27 15:40:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":895371931046209536,"note":"Value kept but may cause issues"} 
[2026-07-27 15:40:26] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-27 15:40:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785147008000,"timestamp_ms":1785147008000,"timestamp_seconds":1785147008,"priority":1,"record_length":96,"hex_timestamp":"0000019fa30da400"} 
[2026-07-27 15:40:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:40:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:40:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-27 15:40:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:40:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:40:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:40:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:40:26] local.INFO: Teltonika packet parsed successfully {"connection_id":142936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:40:26] local.INFO: Passing IMEI to GPS processor {"connection_id":142936,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 15:40:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":142936,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 15:40:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:40:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 15:40:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 15:40:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997633792001,"66":14407,"16":25898652794880000,"94":11008,"24":9,"45":895371931046209536},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-07-27 15:40:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 15:40:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 15:40:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997633792001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:40:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25898652794880000,"km_value":25898652794880,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:40:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-27 15:40:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":895371931046209536,"description":"Unknown IO ID 45"} 
[2026-07-27 15:40:26] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456997633792001,"power":14407,"odometer":null,"unknown_94":11008,"ignition":9,"unknown_45":895371931046209536}} 
[2026-07-27 15:40:26] local.INFO: DEBUG: GPS processor result {"connection_id":142936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553849,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:40:26] local.INFO: GPS data processed {"connection_id":142936,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:40:26] local.INFO: Acknowledgment sent {"connection_id":142936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:40:32] local.INFO: TCP Data received {"connection_id":144068,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:40:32] local.INFO: Processing buffer {"connection_id":144068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:40:32] local.INFO: IMEI packet received {"connection_id":144068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 15:40:32] local.INFO: IMEI acknowledgment sent {"connection_id":144068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:40:37] local.INFO: TCP Data received {"connection_id":144068,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:40:37] local.INFO: Processing buffer {"connection_id":144068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:40:37] local.INFO: IMEI packet received {"connection_id":144068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 15:40:37] local.INFO: IMEI acknowledgment sent {"connection_id":144068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:40:37] local.INFO: TCP Data received {"connection_id":143084,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa30c5028012d181e400721af90004a00d129..."} 
[2026-07-27 15:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa30c5028012d181e400721af90004a00d129..."} 
[2026-07-27 15:40:37] local.INFO: Processing buffer {"connection_id":143084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa30c5028012d181e400721af90004a00d129..."} 
[2026-07-27 15:40:37] local.INFO: Packet analysis {"connection_id":143084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa30c"} 
[2026-07-27 15:40:37] local.INFO: Extracted packet for processing {"connection_id":143084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa30c"} 
[2026-07-27 15:40:37] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648144,"longitude_deg":75.6555328,"latitude_deg":11.9648144,"altitude":74,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721af90","is_valid_coordinates":true} 
[2026-07-27 15:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997606144001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:40:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8880373165457408,"note":"Value kept but may cause issues"} 
[2026-07-27 15:40:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585692672,"note":"Value kept but may cause issues"} 
[2026-07-27 15:40:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:40:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785146921000,"timestamp_ms":1785146921000,"timestamp_seconds":1785146921,"priority":1,"record_length":96,"hex_timestamp":"0000019fa30c5028"} 
[2026-07-27 15:40:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:40:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-27 15:40:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2093,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:40:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:40:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:40:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:40:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:40:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:40:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:40:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:40:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:40:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:40:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997606144001,"66":12428,"120":206,"28":31744,"24":0,"16":8880373165457408,"45":1737896905585692672},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 15:40:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:40:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:40:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997606144001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:40:37] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 15:40:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:40:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8880373165457408,"km_value":8880373165457.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:40:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585692672,"description":"Unknown IO ID 45"} 
[2026-07-27 15:40:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997606144001,"power":12428,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585692672}} 
[2026-07-27 15:40:37] local.INFO: DEBUG: GPS processor result {"connection_id":143084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553850,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:40:37] local.INFO: GPS data processed {"connection_id":143084,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:40:37] local.INFO: Acknowledgment sent {"connection_id":143084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:40:38] local.INFO: TCP Data received {"connection_id":144068,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa30ce498012d9ce78005aa54f0001b002b2d..."} 
[2026-07-27 15:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144068,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa30ce498012d9ce78005aa54f0001b002b2d..."} 
[2026-07-27 15:40:38] local.INFO: Processing buffer {"connection_id":144068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa30ce498012d9ce78005aa54f0001b002b2d..."} 
[2026-07-27 15:40:38] local.INFO: Packet analysis {"connection_id":144068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa30c"} 
[2026-07-27 15:40:38] local.INFO: Extracted packet for processing {"connection_id":144068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa30c"} 
[2026-07-27 15:40:38] local.INFO: GPS Element Parsed {"raw_longitude":765257600,"raw_latitude":95048944,"longitude_deg":76.52576,"latitude_deg":9.5048944,"altitude":27,"angle":43,"satellites":45,"speed":41,"hex_longitude":"2d9ce780","hex_latitude":"05aa54f0","is_valid_coordinates":true} 
[2026-07-27 15:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:40:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997619456001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:40:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359031722320330752,"note":"Value kept but may cause issues"} 
[2026-07-27 15:40:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7147564428026632192,"note":"Value kept but may cause issues"} 
[2026-07-27 15:40:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:40:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785146959000,"timestamp_ms":1785146959000,"timestamp_seconds":1785146959,"priority":1,"record_length":96,"hex_timestamp":"0000019fa30ce498"} 
[2026-07-27 15:40:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:40:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-27 15:40:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:40:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:40:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:40:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:40:38] local.INFO: Teltonika packet parsed successfully {"connection_id":144068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:40:38] local.INFO: Passing IMEI to GPS processor {"connection_id":144068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:40:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":144068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:40:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:40:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 15:40:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 15:40:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997619456001,"66":27919,"225":206,"83":17152,"24":41,"16":359031722320330752,"45":-7147564428026632192},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,45]} 
[2026-07-27 15:40:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 15:40:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 15:40:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997619456001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:40:38] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-07-27 15:40:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 15:40:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359031722320330752,"km_value":359031722320330.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:40:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7147564428026632192,"description":"Unknown IO ID 45"} 
[2026-07-27 15:40:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997619456001,"power":27919,"unknown_225":206,"unknown_83":17152,"ignition":41,"odometer":null,"unknown_45":-7147564428026632192}} 
[2026-07-27 15:40:38] local.INFO: DEBUG: GPS processor result {"connection_id":144068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:40:38] local.INFO: GPS data processed {"connection_id":144068,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:40:38] local.INFO: Acknowledgment sent {"connection_id":144068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:40:57] local.INFO: TCP Data received {"connection_id":142936,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa30da7e8012d0c6bc00703ded0002201320d..."} 
[2026-07-27 15:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa30da7e8012d0c6bc00703ded0002201320d..."} 
[2026-07-27 15:40:57] local.INFO: Processing buffer {"connection_id":142936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa30da7e8012d0c6bc00703ded0002201320d..."} 
[2026-07-27 15:40:57] local.INFO: Packet analysis {"connection_id":142936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa30d"} 
[2026-07-27 15:40:57] local.INFO: Extracted packet for processing {"connection_id":142936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa30d"} 
[2026-07-27 15:40:57] local.INFO: GPS Element Parsed {"raw_longitude":755788736,"raw_latitude":117694160,"longitude_deg":75.5788736,"latitude_deg":11.769416,"altitude":34,"angle":306,"satellites":13,"speed":8,"hex_longitude":"2d0c6bc0","hex_latitude":"0703ded0","is_valid_coordinates":true} 
[2026-07-27 15:40:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:40:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997634048001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:40:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25898661384814592,"note":"Value kept but may cause issues"} 
[2026-07-27 15:40:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":895160824813733888,"note":"Value kept but may cause issues"} 
[2026-07-27 15:40:57] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-27 15:40:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785147009000,"timestamp_ms":1785147009000,"timestamp_seconds":1785147009,"priority":1,"record_length":96,"hex_timestamp":"0000019fa30da7e8"} 
[2026-07-27 15:40:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:40:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:40:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-27 15:40:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:40:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:40:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:40:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:40:57] local.INFO: Teltonika packet parsed successfully {"connection_id":142936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:40:57] local.INFO: Passing IMEI to GPS processor {"connection_id":142936,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 15:40:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":142936,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 15:40:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:40:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 15:40:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 15:40:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997634048001,"66":14559,"16":25898661384814592,"94":11008,"24":8,"45":895160824813733888},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-07-27 15:40:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 15:40:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 15:40:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997634048001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:40:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25898661384814592,"km_value":25898661384814.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:40:57] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-27 15:40:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":895160824813733888,"description":"Unknown IO ID 45"} 
[2026-07-27 15:40:57] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456997634048001,"power":14559,"odometer":null,"unknown_94":11008,"ignition":8,"unknown_45":895160824813733888}} 
[2026-07-27 15:40:57] local.INFO: DEBUG: GPS processor result {"connection_id":142936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553852,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:40:57] local.INFO: GPS data processed {"connection_id":142936,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:40:57] local.INFO: Acknowledgment sent {"connection_id":142936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:41:04] local.INFO: TCP Data received {"connection_id":145356,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145356,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:41:04] local.INFO: Processing buffer {"connection_id":145356,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:41:04] local.INFO: IMEI packet received {"connection_id":145356,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 15:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":145356,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:41:04] local.INFO: TCP Data received {"connection_id":145356,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145356,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:41:04] local.INFO: Processing buffer {"connection_id":145356,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:41:04] local.INFO: IMEI packet received {"connection_id":145356,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 15:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":145356,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:41:08] local.INFO: TCP Data received {"connection_id":144068,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa30cfff0012d9cf8c005aa6b68001e001e2b..."} 
[2026-07-27 15:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144068,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa30cfff0012d9cf8c005aa6b68001e001e2b..."} 
[2026-07-27 15:41:08] local.INFO: Processing buffer {"connection_id":144068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa30cfff0012d9cf8c005aa6b68001e001e2b..."} 
[2026-07-27 15:41:08] local.INFO: Packet analysis {"connection_id":144068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa30c"} 
[2026-07-27 15:41:08] local.INFO: Extracted packet for processing {"connection_id":144068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa30c"} 
[2026-07-27 15:41:08] local.INFO: GPS Element Parsed {"raw_longitude":765262016,"raw_latitude":95054696,"longitude_deg":76.5262016,"latitude_deg":9.5054696,"altitude":30,"angle":30,"satellites":43,"speed":42,"hex_longitude":"2d9cf8c0","hex_latitude":"05aa6b68","is_valid_coordinates":true} 
[2026-07-27 15:41:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:41:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997621504001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:41:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359032070212681728,"note":"Value kept but may cause issues"} 
[2026-07-27 15:41:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7140597922351747072,"note":"Value kept but may cause issues"} 
[2026-07-27 15:41:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:41:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785146966000,"timestamp_ms":1785146966000,"timestamp_seconds":1785146966,"priority":1,"record_length":96,"hex_timestamp":"0000019fa30cfff0"} 
[2026-07-27 15:41:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:41:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:41:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-27 15:41:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:41:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:41:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:41:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:41:08] local.INFO: Teltonika packet parsed successfully {"connection_id":144068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:41:08] local.INFO: Passing IMEI to GPS processor {"connection_id":144068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:41:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":144068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:41:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:41:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 15:41:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 15:41:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997621504001,"66":27658,"225":206,"83":17152,"24":42,"16":359032070212681728,"45":-7140597922351747072},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,45]} 
[2026-07-27 15:41:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 15:41:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 15:41:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997621504001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:41:08] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-07-27 15:41:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-27 15:41:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359032070212681728,"km_value":359032070212681.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:41:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7140597922351747072,"description":"Unknown IO ID 45"} 
[2026-07-27 15:41:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997621504001,"power":27658,"unknown_225":206,"unknown_83":17152,"ignition":42,"odometer":null,"unknown_45":-7140597922351747072}} 
[2026-07-27 15:41:09] local.INFO: DEBUG: GPS processor result {"connection_id":144068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:41:09] local.INFO: GPS data processed {"connection_id":144068,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:41:09] local.INFO: Acknowledgment sent {"connection_id":144068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:41:10] local.INFO: TCP Data received {"connection_id":145356,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145356,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:41:10] local.INFO: Processing buffer {"connection_id":145356,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:41:10] local.INFO: IMEI packet received {"connection_id":145356,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 15:41:10] local.INFO: IMEI acknowledgment sent {"connection_id":145356,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:41:11] local.INFO: TCP Data received {"connection_id":145356,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa30ca230012d181e400721af90004a00d127..."} 
[2026-07-27 15:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145356,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa30ca230012d181e400721af90004a00d127..."} 
[2026-07-27 15:41:11] local.INFO: Processing buffer {"connection_id":145356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa30ca230012d181e400721af90004a00d127..."} 
[2026-07-27 15:41:11] local.INFO: Packet analysis {"connection_id":145356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa30c"} 
[2026-07-27 15:41:11] local.INFO: Extracted packet for processing {"connection_id":145356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa30c"} 
[2026-07-27 15:41:11] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648144,"longitude_deg":75.6555328,"latitude_deg":11.9648144,"altitude":74,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721af90","is_valid_coordinates":true} 
[2026-07-27 15: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-07-27 15:41:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997611776001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:41:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8880373165457408,"note":"Value kept but may cause issues"} 
[2026-07-27 15:41:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585692672,"note":"Value kept but may cause issues"} 
[2026-07-27 15:41:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:41:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785146942000,"timestamp_ms":1785146942000,"timestamp_seconds":1785146942,"priority":1,"record_length":96,"hex_timestamp":"0000019fa30ca230"} 
[2026-07-27 15:41:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:41:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-27 15:41:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15: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-07-27 15:41:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:41:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:41:11] local.INFO: Teltonika packet parsed successfully {"connection_id":145356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:41:11] local.INFO: Passing IMEI to GPS processor {"connection_id":145356,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:41:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":145356,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:41:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:41:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:41:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:41:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997611776001,"66":12406,"120":206,"28":31744,"24":0,"16":8880373165457408,"45":1737896905585692672},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 15:41:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:41:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:41:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997611776001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:41:11] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 15:41:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:41:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8880373165457408,"km_value":8880373165457.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:41:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585692672,"description":"Unknown IO ID 45"} 
[2026-07-27 15:41:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997611776001,"power":12406,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585692672}} 
[2026-07-27 15:41:11] local.INFO: DEBUG: GPS processor result {"connection_id":145356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553854,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:41:11] local.INFO: GPS data processed {"connection_id":145356,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:41:11] local.INFO: Acknowledgment sent {"connection_id":145356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:41:16] local.INFO: TCP Data received {"connection_id":143085,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143085,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:41:16] local.INFO: Processing buffer {"connection_id":143085,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:41:16] local.INFO: IMEI packet received {"connection_id":143085,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 15:41:16] local.INFO: IMEI acknowledgment sent {"connection_id":143085,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:41:19] local.INFO: TCP Data received {"connection_id":145356,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa30cf438012d181e400721af90004a00d12a..."} 
[2026-07-27 15:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145356,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa30cf438012d181e400721af90004a00d12a..."} 
[2026-07-27 15:41:19] local.INFO: Processing buffer {"connection_id":145356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa30cf438012d181e400721af90004a00d12a..."} 
[2026-07-27 15:41:19] local.INFO: Packet analysis {"connection_id":145356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa30c"} 
[2026-07-27 15:41:19] local.INFO: Extracted packet for processing {"connection_id":145356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa30c"} 
[2026-07-27 15:41:19] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648144,"longitude_deg":75.6555328,"latitude_deg":11.9648144,"altitude":74,"angle":209,"satellites":42,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721af90","is_valid_coordinates":true} 
[2026-07-27 15: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-07-27 15:41:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997617152001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:41:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8880373165457408,"note":"Value kept but may cause issues"} 
[2026-07-27 15:41:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585692672,"note":"Value kept but may cause issues"} 
[2026-07-27 15:41: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-07-27 15:41:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785146963000,"timestamp_ms":1785146963000,"timestamp_seconds":1785146963,"priority":1,"record_length":96,"hex_timestamp":"0000019fa30cf438"} 
[2026-07-27 15:41:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:41:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:41:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 15:41: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-07-27 15: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-07-27 15:41:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:41:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:41:19] local.INFO: Teltonika packet parsed successfully {"connection_id":145356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:41:19] local.INFO: Passing IMEI to GPS processor {"connection_id":145356,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:41:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":145356,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:41:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:41:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:41:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:41:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997617152001,"66":11471,"120":206,"28":31744,"24":0,"16":8880373165457408,"45":1737896905585692672},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 15:41:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:41:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:41:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997617152001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:41:19] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 15:41:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:41:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8880373165457408,"km_value":8880373165457.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:41:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585692672,"description":"Unknown IO ID 45"} 
[2026-07-27 15:41:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997617152001,"power":11471,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585692672}} 
[2026-07-27 15:41:19] local.INFO: DEBUG: GPS processor result {"connection_id":145356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553855,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:41:19] local.INFO: GPS data processed {"connection_id":145356,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:41:19] local.INFO: Acknowledgment sent {"connection_id":145356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:41:20] local.INFO: TCP Data received {"connection_id":143085,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143085,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:41:20] local.INFO: Processing buffer {"connection_id":143085,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:41:20] local.INFO: IMEI packet received {"connection_id":143085,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 15:41:20] local.INFO: IMEI acknowledgment sent {"connection_id":143085,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:41:21] local.INFO: TCP Data received {"connection_id":143085,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143085,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:41:21] local.INFO: Processing buffer {"connection_id":143085,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:41:21] local.INFO: IMEI packet received {"connection_id":143085,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 15:41:21] local.INFO: IMEI acknowledgment sent {"connection_id":143085,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:41:21] local.INFO: TCP Data received {"connection_id":143085,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa30dabd0012d0c6b000703def80022011b0d..."} 
[2026-07-27 15:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa30dabd0012d0c6b000703def80022011b0d..."} 
[2026-07-27 15:41:21] local.INFO: Processing buffer {"connection_id":143085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa30dabd0012d0c6b000703def80022011b0d..."} 
[2026-07-27 15:41:21] local.INFO: Packet analysis {"connection_id":143085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa30d"} 
[2026-07-27 15:41:21] local.INFO: Extracted packet for processing {"connection_id":143085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa30d"} 
[2026-07-27 15:41:21] local.INFO: GPS Element Parsed {"raw_longitude":755788544,"raw_latitude":117694200,"longitude_deg":75.5788544,"latitude_deg":11.76942,"altitude":34,"angle":283,"satellites":13,"speed":8,"hex_longitude":"2d0c6b00","hex_latitude":"0703def8","is_valid_coordinates":true} 
[2026-07-27 15:41:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:41:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997634304001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:41:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25898669974749184,"note":"Value kept but may cause issues"} 
[2026-07-27 15:41:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":895020087325413376,"note":"Value kept but may cause issues"} 
[2026-07-27 15:41:21] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-27 15:41:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785147010000,"timestamp_ms":1785147010000,"timestamp_seconds":1785147010,"priority":1,"record_length":96,"hex_timestamp":"0000019fa30dabd0"} 
[2026-07-27 15:41:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:41:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:41:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-27 15:41:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:41:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:41:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:41:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:41:21] local.INFO: Teltonika packet parsed successfully {"connection_id":143085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:41:21] local.INFO: Passing IMEI to GPS processor {"connection_id":143085,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 15:41:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":143085,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 15:41:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:41:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 15:41:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 15:41:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997634304001,"66":14559,"16":25898669974749184,"94":11008,"24":8,"45":895020087325413376},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-07-27 15:41:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 15:41:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 15:41:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997634304001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:41:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25898669974749184,"km_value":25898669974749.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:41:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-27 15:41:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":895020087325413376,"description":"Unknown IO ID 45"} 
[2026-07-27 15:41:21] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456997634304001,"power":14559,"odometer":null,"unknown_94":11008,"ignition":8,"unknown_45":895020087325413376}} 
[2026-07-27 15:41:21] local.INFO: DEBUG: GPS processor result {"connection_id":143085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553856,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:41:21] local.INFO: GPS data processed {"connection_id":143085,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:41:21] local.INFO: Acknowledgment sent {"connection_id":143085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:41:22] local.INFO: TCP Data received {"connection_id":143085,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa30dee38012d0c58000703e1000024010d0d..."} 
[2026-07-27 15:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa30dee38012d0c58000703e1000024010d0d..."} 
[2026-07-27 15:41:22] local.INFO: Processing buffer {"connection_id":143085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa30dee38012d0c58000703e1000024010d0d..."} 
[2026-07-27 15:41:22] local.INFO: Packet analysis {"connection_id":143085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa30d"} 
[2026-07-27 15:41:22] local.INFO: Extracted packet for processing {"connection_id":143085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa30d"} 
[2026-07-27 15:41:22] local.INFO: GPS Element Parsed {"raw_longitude":755783680,"raw_latitude":117694720,"longitude_deg":75.578368,"latitude_deg":11.769472,"altitude":36,"angle":269,"satellites":13,"speed":8,"hex_longitude":"2d0c5800","hex_latitude":"0703e100","is_valid_coordinates":true} 
[2026-07-27 15:41:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:41:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997634560001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:41:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25898906197950464,"note":"Value kept but may cause issues"} 
[2026-07-27 15:41:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":894808981092890624,"note":"Value kept but may cause issues"} 
[2026-07-27 15:41:22] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-27 15:41:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785147027000,"timestamp_ms":1785147027000,"timestamp_seconds":1785147027,"priority":1,"record_length":96,"hex_timestamp":"0000019fa30dee38"} 
[2026-07-27 15:41:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:41:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15: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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-27 15:41:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:41:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:41:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:41:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:41:22] local.INFO: Teltonika packet parsed successfully {"connection_id":143085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:41:22] local.INFO: Passing IMEI to GPS processor {"connection_id":143085,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 15:41:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":143085,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 15:41:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:41:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 15:41:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 15:41:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997634560001,"66":14548,"16":25898906197950464,"94":11008,"24":8,"45":894808981092890624},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-07-27 15:41:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 15:41:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 15:41:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997634560001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:41:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25898906197950464,"km_value":25898906197950.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:41:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-27 15:41:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":894808981092890624,"description":"Unknown IO ID 45"} 
[2026-07-27 15:41:22] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456997634560001,"power":14548,"odometer":null,"unknown_94":11008,"ignition":8,"unknown_45":894808981092890624}} 
[2026-07-27 15:41:22] local.INFO: DEBUG: GPS processor result {"connection_id":143085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553857,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:41:22] local.INFO: GPS data processed {"connection_id":143085,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:41:22] local.INFO: Acknowledgment sent {"connection_id":143085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:41:32] local.INFO: TCP Data received {"connection_id":143086,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:41:32] local.INFO: Processing buffer {"connection_id":143086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:41:32] local.INFO: IMEI packet received {"connection_id":143086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 15:41:32] local.INFO: IMEI acknowledgment sent {"connection_id":143086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:41:32] local.INFO: TCP Data received {"connection_id":143086,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:41:32] local.INFO: Processing buffer {"connection_id":143086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:41:32] local.INFO: IMEI packet received {"connection_id":143086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 15:41:32] local.INFO: IMEI acknowledgment sent {"connection_id":143086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:41:37] local.INFO: TCP Data received {"connection_id":143086,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:41:37] local.INFO: Processing buffer {"connection_id":143086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:41:37] local.INFO: IMEI packet received {"connection_id":143086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 15:41:37] local.INFO: IMEI acknowledgment sent {"connection_id":143086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:41:38] local.INFO: TCP Data received {"connection_id":143086,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa30d1760012d9d03c005aa82b8001e00132a..."} 
[2026-07-27 15:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143086,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa30d1760012d9d03c005aa82b8001e00132a..."} 
[2026-07-27 15:41:38] local.INFO: Processing buffer {"connection_id":143086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa30d1760012d9d03c005aa82b8001e00132a..."} 
[2026-07-27 15:41:38] local.INFO: Packet analysis {"connection_id":143086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa30d"} 
[2026-07-27 15:41:38] local.INFO: Extracted packet for processing {"connection_id":143086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa30d"} 
[2026-07-27 15:41:38] local.INFO: GPS Element Parsed {"raw_longitude":765264832,"raw_latitude":95060664,"longitude_deg":76.5264832,"latitude_deg":9.5060664,"altitude":30,"angle":19,"satellites":42,"speed":45,"hex_longitude":"2d9d03c0","hex_latitude":"05aa82b8","is_valid_coordinates":true} 
[2026-07-27 15:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:41:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997623296001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:41:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359032392335228928,"note":"Value kept but may cause issues"} 
[2026-07-27 15:41:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7135742479002015744,"note":"Value kept but may cause issues"} 
[2026-07-27 15:41:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:41:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785146972000,"timestamp_ms":1785146972000,"timestamp_seconds":1785146972,"priority":1,"record_length":96,"hex_timestamp":"0000019fa30d1760"} 
[2026-07-27 15:41:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:41:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-27 15:41:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:41:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:41:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:41:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:41:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:41:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:41:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:41:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:41:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 15:41:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 15:41:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997623296001,"66":27767,"138":206,"83":17408,"24":45,"16":359032392335228928,"45":-7135742479002015744},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,83,24,16,45]} 
[2026-07-27 15:41:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 15:41:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 15:41:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997623296001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:41:38] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-07-27 15:41:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 15:41:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359032392335228928,"km_value":359032392335228.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:41:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7135742479002015744,"description":"Unknown IO ID 45"} 
[2026-07-27 15:41:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997623296001,"power":27767,"unknown_138":206,"unknown_83":17408,"ignition":45,"odometer":null,"unknown_45":-7135742479002015744}} 
[2026-07-27 15:41:38] local.INFO: DEBUG: GPS processor result {"connection_id":143086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:41:38] local.INFO: GPS data processed {"connection_id":143086,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:41:38] local.INFO: Acknowledgment sent {"connection_id":143086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:41:53] local.INFO: TCP Data received {"connection_id":143085,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa30f1ee8012d0cba80070479f0001600030d..."} 
[2026-07-27 15:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa30f1ee8012d0cba80070479f0001600030d..."} 
[2026-07-27 15:41:53] local.INFO: Processing buffer {"connection_id":143085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa30f1ee8012d0cba80070479f0001600030d..."} 
[2026-07-27 15:41:53] local.INFO: Packet analysis {"connection_id":143085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa30f"} 
[2026-07-27 15:41:53] local.INFO: Extracted packet for processing {"connection_id":143085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa30f"} 
[2026-07-27 15:41:53] local.INFO: GPS Element Parsed {"raw_longitude":755808896,"raw_latitude":117733872,"longitude_deg":75.5808896,"latitude_deg":11.7733872,"altitude":22,"angle":3,"satellites":13,"speed":40,"hex_longitude":"2d0cba80","hex_latitude":"070479f0","is_valid_coordinates":true} 
[2026-07-27 15:41:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:41:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997658880001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:41:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25901324264538112,"note":"Value kept but may cause issues"} 
[2026-07-27 15:41:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":917186241751543808,"note":"Value kept but may cause issues"} 
[2026-07-27 15:41:53] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-27 15:41:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785147105000,"timestamp_ms":1785147105000,"timestamp_seconds":1785147105,"priority":1,"record_length":96,"hex_timestamp":"0000019fa30f1ee8"} 
[2026-07-27 15:41:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:41:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:41:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-27 15:41:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:41:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:41:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:41:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:41:53] local.INFO: Teltonika packet parsed successfully {"connection_id":143085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:41:53] local.INFO: Passing IMEI to GPS processor {"connection_id":143085,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 15:41:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":143085,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 15:41:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:41:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 15:41:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 15:41:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997658880001,"66":14548,"16":25901324264538112,"94":11008,"24":40,"45":917186241751543808},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-07-27 15:41:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 15:41:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 15:41:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997658880001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:41:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25901324264538112,"km_value":25901324264538.113,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:41:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-27 15:41:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":917186241751543808,"description":"Unknown IO ID 45"} 
[2026-07-27 15:41:53] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456997658880001,"power":14548,"odometer":null,"unknown_94":11008,"ignition":40,"unknown_45":917186241751543808}} 
[2026-07-27 15:41:53] local.INFO: DEBUG: GPS processor result {"connection_id":143085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553859,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:41:53] local.INFO: GPS data processed {"connection_id":143085,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:41:53] local.INFO: Acknowledgment sent {"connection_id":143085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:42:00] local.INFO: TCP Data received {"connection_id":144069,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144069,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:42:00] local.INFO: Processing buffer {"connection_id":144069,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:42:00] local.INFO: IMEI packet received {"connection_id":144069,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 15:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":144069,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:42:05] local.INFO: TCP Data received {"connection_id":144069,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144069,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:42:05] local.INFO: Processing buffer {"connection_id":144069,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:42:05] local.INFO: IMEI packet received {"connection_id":144069,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 15:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":144069,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:42:06] local.INFO: TCP Data received {"connection_id":144069,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa30d4640012d181e400721af90004a00d12b..."} 
[2026-07-27 15:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa30d4640012d181e400721af90004a00d12b..."} 
[2026-07-27 15:42:06] local.INFO: Processing buffer {"connection_id":144069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa30d4640012d181e400721af90004a00d12b..."} 
[2026-07-27 15:42:06] local.INFO: Packet analysis {"connection_id":144069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa30d"} 
[2026-07-27 15:42:06] local.INFO: Extracted packet for processing {"connection_id":144069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa30d"} 
[2026-07-27 15:42:06] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648144,"longitude_deg":75.6555328,"latitude_deg":11.9648144,"altitude":74,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721af90","is_valid_coordinates":true} 
[2026-07-27 15:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:42:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997622528001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:42:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8880373165457408,"note":"Value kept but may cause issues"} 
[2026-07-27 15:42:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585692672,"note":"Value kept but may cause issues"} 
[2026-07-27 15:42:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:42:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785146984000,"timestamp_ms":1785146984000,"timestamp_seconds":1785146984,"priority":1,"record_length":96,"hex_timestamp":"0000019fa30d4640"} 
[2026-07-27 15:42:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:42:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-27 15:42:06] 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-07-27 15:42:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:42:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:42:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:42:06] local.INFO: Teltonika packet parsed successfully {"connection_id":144069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:42:06] local.INFO: Passing IMEI to GPS processor {"connection_id":144069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:42:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":144069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:42:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:42:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:42:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:42:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997622528001,"66":13863,"120":206,"28":31744,"24":0,"16":8880373165457408,"45":1737896905585692672},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 15:42:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:42:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:42:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997622528001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:42:06] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 15:42:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:42:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8880373165457408,"km_value":8880373165457.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:42:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585692672,"description":"Unknown IO ID 45"} 
[2026-07-27 15:42:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997622528001,"power":13863,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585692672}} 
[2026-07-27 15:42:06] local.INFO: DEBUG: GPS processor result {"connection_id":144069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553860,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:42:06] local.INFO: GPS data processed {"connection_id":144069,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:42:06] local.INFO: Acknowledgment sent {"connection_id":144069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:42:07] local.INFO: TCP Data received {"connection_id":144069,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa30d9848012d181e400721af90004a00d12b..."} 
[2026-07-27 15:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa30d9848012d181e400721af90004a00d12b..."} 
[2026-07-27 15:42:07] local.INFO: Processing buffer {"connection_id":144069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa30d9848012d181e400721af90004a00d12b..."} 
[2026-07-27 15:42:07] local.INFO: Packet analysis {"connection_id":144069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa30d"} 
[2026-07-27 15:42:07] local.INFO: Extracted packet for processing {"connection_id":144069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa30d"} 
[2026-07-27 15:42:07] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648144,"longitude_deg":75.6555328,"latitude_deg":11.9648144,"altitude":74,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721af90","is_valid_coordinates":true} 
[2026-07-27 15:42:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:42:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997627904001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:42:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8880373165457408,"note":"Value kept but may cause issues"} 
[2026-07-27 15:42:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585692672,"note":"Value kept but may cause issues"} 
[2026-07-27 15:42:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:42:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785147005000,"timestamp_ms":1785147005000,"timestamp_seconds":1785147005,"priority":1,"record_length":96,"hex_timestamp":"0000019fa30d9848"} 
[2026-07-27 15:42:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:42:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:42:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-07-27 15:42:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":819,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:42:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:42:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:42:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:42:07] local.INFO: Teltonika packet parsed successfully {"connection_id":144069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:42:07] local.INFO: Passing IMEI to GPS processor {"connection_id":144069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:42:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":144069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:42:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:42:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:42:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:42:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997627904001,"66":12580,"120":206,"28":31744,"24":0,"16":8880373165457408,"45":1737896905585692672},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 15:42:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:42:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:42:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997627904001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:42:07] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 15:42:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:42:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8880373165457408,"km_value":8880373165457.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:42:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585692672,"description":"Unknown IO ID 45"} 
[2026-07-27 15:42:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997627904001,"power":12580,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585692672}} 
[2026-07-27 15:42:07] local.INFO: DEBUG: GPS processor result {"connection_id":144069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553861,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:42:07] local.INFO: GPS data processed {"connection_id":144069,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:42:07] local.INFO: Acknowledgment sent {"connection_id":144069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:42:09] local.INFO: TCP Data received {"connection_id":143086,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa30e8e60012d9d184005abe7300015013b2a..."} 
[2026-07-27 15:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143086,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa30e8e60012d9d184005abe7300015013b2a..."} 
[2026-07-27 15:42:09] local.INFO: Processing buffer {"connection_id":143086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa30e8e60012d9d184005abe7300015013b2a..."} 
[2026-07-27 15:42:09] local.INFO: Packet analysis {"connection_id":143086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa30e"} 
[2026-07-27 15:42:09] local.INFO: Extracted packet for processing {"connection_id":143086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa30e"} 
[2026-07-27 15:42:09] local.INFO: GPS Element Parsed {"raw_longitude":765270080,"raw_latitude":95151920,"longitude_deg":76.527008,"latitude_deg":9.515192,"altitude":21,"angle":315,"satellites":42,"speed":35,"hex_longitude":"2d9d1840","hex_latitude":"05abe730","is_valid_coordinates":true} 
[2026-07-27 15:42:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:42:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997647360001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:42:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359036962180431872,"note":"Value kept but may cause issues"} 
[2026-07-27 15:42:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7122583523817224192,"note":"Value kept but may cause issues"} 
[2026-07-27 15:42:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:42:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785147068000,"timestamp_ms":1785147068000,"timestamp_seconds":1785147068,"priority":1,"record_length":96,"hex_timestamp":"0000019fa30e8e60"} 
[2026-07-27 15:42:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:42:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-27 15:42:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:42:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:42:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:42:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:42:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:42:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:42:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:42:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:42:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 15:42:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 15:42:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997647360001,"66":27974,"139":206,"83":17408,"24":35,"16":359036962180431872,"45":-7122583523817224192},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,83,24,16,45]} 
[2026-07-27 15:42:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 15:42:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 15:42:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997647360001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:42:09] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-07-27 15:42:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 15:42:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359036962180431872,"km_value":359036962180431.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:42:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7122583523817224192,"description":"Unknown IO ID 45"} 
[2026-07-27 15:42:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997647360001,"power":27974,"unknown_139":206,"unknown_83":17408,"ignition":35,"odometer":null,"unknown_45":-7122583523817224192}} 
[2026-07-27 15:42:09] local.INFO: DEBUG: GPS processor result {"connection_id":143086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:42:09] local.INFO: GPS data processed {"connection_id":143086,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:42:09] local.INFO: Acknowledgment sent {"connection_id":143086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:42:16] local.INFO: TCP Data received {"connection_id":143087,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143087,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:42:16] local.INFO: Processing buffer {"connection_id":143087,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:42:16] local.INFO: IMEI packet received {"connection_id":143087,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 15:42:16] local.INFO: IMEI acknowledgment sent {"connection_id":143087,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:42:22] local.INFO: TCP Data received {"connection_id":143087,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143087,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:42:22] local.INFO: Processing buffer {"connection_id":143087,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:42:22] local.INFO: IMEI packet received {"connection_id":143087,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 15:42:22] local.INFO: IMEI acknowledgment sent {"connection_id":143087,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:42:22] local.INFO: TCP Data received {"connection_id":143087,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa30f2aa0012d0cb940070485900015015a0d..."} 
[2026-07-27 15:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa30f2aa0012d0cb940070485900015015a0d..."} 
[2026-07-27 15:42:22] local.INFO: Processing buffer {"connection_id":143087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa30f2aa0012d0cb940070485900015015a0d..."} 
[2026-07-27 15:42:22] local.INFO: Packet analysis {"connection_id":143087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa30f"} 
[2026-07-27 15:42:22] local.INFO: Extracted packet for processing {"connection_id":143087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa30f"} 
[2026-07-27 15:42:22] local.INFO: GPS Element Parsed {"raw_longitude":755808576,"raw_latitude":117736848,"longitude_deg":75.5808576,"latitude_deg":11.7736848,"altitude":21,"angle":346,"satellites":13,"speed":38,"hex_longitude":"2d0cb940","hex_latitude":"07048590","is_valid_coordinates":true} 
[2026-07-27 15:42:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:42:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997658880001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:42:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25901470293426176,"note":"Value kept but may cause issues"} 
[2026-07-27 15:42:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":917186241751543808,"note":"Value kept but may cause issues"} 
[2026-07-27 15:42:22] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-27 15:42:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785147108000,"timestamp_ms":1785147108000,"timestamp_seconds":1785147108,"priority":1,"record_length":96,"hex_timestamp":"0000019fa30f2aa0"} 
[2026-07-27 15:42:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:42:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:42:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-27 15:42:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:42:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:42:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:42:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:42:22] local.INFO: Teltonika packet parsed successfully {"connection_id":143087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:42:22] local.INFO: Passing IMEI to GPS processor {"connection_id":143087,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 15:42:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":143087,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 15:42:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:42:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 15:42:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 15:42:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997658880001,"66":14461,"16":25901470293426176,"94":11008,"24":38,"45":917186241751543808},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-07-27 15:42:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 15:42:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 15:42:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997658880001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:42:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25901470293426176,"km_value":25901470293426.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:42:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-27 15:42:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":917186241751543808,"description":"Unknown IO ID 45"} 
[2026-07-27 15:42:22] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456997658880001,"power":14461,"odometer":null,"unknown_94":11008,"ignition":38,"unknown_45":917186241751543808}} 
[2026-07-27 15:42:23] local.INFO: DEBUG: GPS processor result {"connection_id":143087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553863,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:42:23] local.INFO: GPS data processed {"connection_id":143087,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:42:23] local.INFO: Acknowledgment sent {"connection_id":143087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:42:31] local.INFO: TCP Data received {"connection_id":142937,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:42:31] local.INFO: Processing buffer {"connection_id":142937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:42:31] local.INFO: IMEI packet received {"connection_id":142937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 15:42:31] local.INFO: IMEI acknowledgment sent {"connection_id":142937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:42:35] local.INFO: TCP Data received {"connection_id":142937,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:42:35] local.INFO: Processing buffer {"connection_id":142937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:42:35] local.INFO: IMEI packet received {"connection_id":142937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 15:42:35] local.INFO: IMEI acknowledgment sent {"connection_id":142937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:42:39] local.INFO: TCP Data received {"connection_id":144069,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa30dea50012d181d400721ad88004c00d82c..."} 
[2026-07-27 15:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa30dea50012d181d400721ad88004c00d82c..."} 
[2026-07-27 15:42:39] local.INFO: Processing buffer {"connection_id":144069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa30dea50012d181d400721ad88004c00d82c..."} 
[2026-07-27 15:42:39] local.INFO: Packet analysis {"connection_id":144069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa30d"} 
[2026-07-27 15:42:39] local.INFO: Extracted packet for processing {"connection_id":144069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa30d"} 
[2026-07-27 15:42:39] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647624,"longitude_deg":75.6555072,"latitude_deg":11.9647624,"altitude":76,"angle":216,"satellites":44,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ad88","is_valid_coordinates":true} 
[2026-07-27 15:42:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:42:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997633280001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:42:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8880398935261184,"note":"Value kept but may cause issues"} 
[2026-07-27 15:42:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585692672,"note":"Value kept but may cause issues"} 
[2026-07-27 15:42:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:42:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785147026000,"timestamp_ms":1785147026000,"timestamp_seconds":1785147026,"priority":1,"record_length":96,"hex_timestamp":"0000019fa30dea50"} 
[2026-07-27 15:42:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:42:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15: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":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-07-27 15:42:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:42:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:42:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:42:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:42:39] local.INFO: Teltonika packet parsed successfully {"connection_id":144069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:42:39] local.INFO: Passing IMEI to GPS processor {"connection_id":144069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:42:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":144069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:42:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:42:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:42:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:42:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997633280001,"66":12515,"120":206,"28":31744,"24":0,"16":8880398935261184,"45":1737896905585692672},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 15:42:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:42:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:42:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997633280001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:42:39] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 15:42:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:42:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8880398935261184,"km_value":8880398935261.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:42:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585692672,"description":"Unknown IO ID 45"} 
[2026-07-27 15:42:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997633280001,"power":12515,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585692672}} 
[2026-07-27 15:42:39] local.INFO: DEBUG: GPS processor result {"connection_id":144069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553864,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:42:39] local.INFO: GPS data processed {"connection_id":144069,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:42:39] local.INFO: Acknowledgment sent {"connection_id":144069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:42:44] local.INFO: TCP Data received {"connection_id":142937,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:42:44] local.INFO: Processing buffer {"connection_id":142937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:42:44] local.INFO: IMEI packet received {"connection_id":142937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 15:42:44] local.INFO: IMEI acknowledgment sent {"connection_id":142937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:42:45] local.INFO: TCP Data received {"connection_id":142937,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa30ea5d0012d9d084005abf488001701302b..."} 
[2026-07-27 15:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142937,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa30ea5d0012d9d084005abf488001701302b..."} 
[2026-07-27 15:42:45] local.INFO: Processing buffer {"connection_id":142937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa30ea5d0012d9d084005abf488001701302b..."} 
[2026-07-27 15:42:45] local.INFO: Packet analysis {"connection_id":142937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa30e"} 
[2026-07-27 15:42:45] local.INFO: Extracted packet for processing {"connection_id":142937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa30e"} 
[2026-07-27 15:42:45] local.INFO: GPS Element Parsed {"raw_longitude":765265984,"raw_latitude":95155336,"longitude_deg":76.5265984,"latitude_deg":9.5155336,"altitude":23,"angle":304,"satellites":43,"speed":36,"hex_longitude":"2d9d0840","hex_latitude":"05abf488","is_valid_coordinates":true} 
[2026-07-27 15:42:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:42:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997649408001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:42:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359037219878469632,"note":"Value kept but may cause issues"} 
[2026-07-27 15:42:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7126876017210740736,"note":"Value kept but may cause issues"} 
[2026-07-27 15:42:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:42:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785147074000,"timestamp_ms":1785147074000,"timestamp_seconds":1785147074,"priority":1,"record_length":96,"hex_timestamp":"0000019fa30ea5d0"} 
[2026-07-27 15:42:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:42:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:42:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-27 15:42:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:42:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:42:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:42:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:42:45] local.INFO: Teltonika packet parsed successfully {"connection_id":142937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:42:45] local.INFO: Passing IMEI to GPS processor {"connection_id":142937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:42:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":142937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:42: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-07-27 15:42:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 15:42:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 15:42:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997649408001,"66":27995,"139":206,"83":17408,"24":36,"16":359037219878469632,"45":-7126876017210740736},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,83,24,16,45]} 
[2026-07-27 15:42:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 15:42:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 15:42:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997649408001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:42:45] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-07-27 15:42:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 15:42:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359037219878469632,"km_value":359037219878469.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:42:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7126876017210740736,"description":"Unknown IO ID 45"} 
[2026-07-27 15:42:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997649408001,"power":27995,"unknown_139":206,"unknown_83":17408,"ignition":36,"odometer":null,"unknown_45":-7126876017210740736}} 
[2026-07-27 15:42:45] local.INFO: DEBUG: GPS processor result {"connection_id":142937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:42:45] local.INFO: GPS data processed {"connection_id":142937,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:42:45] local.INFO: Acknowledgment sent {"connection_id":142937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:42:47] local.INFO: TCP Data received {"connection_id":142937,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa30ecce0012d9ce68005ac05f8001a012728..."} 
[2026-07-27 15:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142937,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa30ecce0012d9ce68005ac05f8001a012728..."} 
[2026-07-27 15:42:47] local.INFO: Processing buffer {"connection_id":142937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa30ecce0012d9ce68005ac05f8001a012728..."} 
[2026-07-27 15:42:47] local.INFO: Packet analysis {"connection_id":142937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa30e"} 
[2026-07-27 15:42:47] local.INFO: Extracted packet for processing {"connection_id":142937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa30e"} 
[2026-07-27 15:42:47] local.INFO: GPS Element Parsed {"raw_longitude":765257344,"raw_latitude":95159800,"longitude_deg":76.5257344,"latitude_deg":9.51598,"altitude":26,"angle":295,"satellites":40,"speed":38,"hex_longitude":"2d9ce680","hex_latitude":"05ac05f8","is_valid_coordinates":true} 
[2026-07-27 15: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-07-27 15:42:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997650944001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:42:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359037683734937600,"note":"Value kept but may cause issues"} 
[2026-07-27 15:42:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7131379616837236736,"note":"Value kept but may cause issues"} 
[2026-07-27 15:42:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:42:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785147084000,"timestamp_ms":1785147084000,"timestamp_seconds":1785147084,"priority":1,"record_length":96,"hex_timestamp":"0000019fa30ecce0"} 
[2026-07-27 15:42:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:42:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-27 15:42:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15: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-07-27 15:42:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:42:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:42:47] local.INFO: Teltonika packet parsed successfully {"connection_id":142937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:42:47] local.INFO: Passing IMEI to GPS processor {"connection_id":142937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:42:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":142937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:42:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:42:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 15:42:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 15:42:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997650944001,"66":27767,"139":206,"83":17408,"24":38,"16":359037683734937600,"45":-7131379616837236736},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,83,24,16,45]} 
[2026-07-27 15:42:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 15:42:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 15:42:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997650944001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:42:47] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-07-27 15:42:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 15:42:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359037683734937600,"km_value":359037683734937.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:42:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7131379616837236736,"description":"Unknown IO ID 45"} 
[2026-07-27 15:42:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997650944001,"power":27767,"unknown_139":206,"unknown_83":17408,"ignition":38,"odometer":null,"unknown_45":-7131379616837236736}} 
[2026-07-27 15:42:47] local.INFO: DEBUG: GPS processor result {"connection_id":142937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:42:47] local.INFO: GPS data processed {"connection_id":142937,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:42:47] local.INFO: Acknowledgment sent {"connection_id":142937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:42:53] local.INFO: TCP Data received {"connection_id":143087,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa30f3658012d0cb50007048f480014014b0d..."} 
[2026-07-27 15:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa30f3658012d0cb50007048f480014014b0d..."} 
[2026-07-27 15:42:53] local.INFO: Processing buffer {"connection_id":143087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa30f3658012d0cb50007048f480014014b0d..."} 
[2026-07-27 15:42:53] local.INFO: Packet analysis {"connection_id":143087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa30f"} 
[2026-07-27 15:42:53] local.INFO: Extracted packet for processing {"connection_id":143087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa30f"} 
[2026-07-27 15:42:53] local.INFO: GPS Element Parsed {"raw_longitude":755807488,"raw_latitude":117739336,"longitude_deg":75.5807488,"latitude_deg":11.7739336,"altitude":20,"angle":331,"satellites":13,"speed":34,"hex_longitude":"2d0cb500","hex_latitude":"07048f48","is_valid_coordinates":true} 
[2026-07-27 15:42:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:42:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997659648001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:42:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25901599142445056,"note":"Value kept but may cause issues"} 
[2026-07-27 15:42:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":916834398031417344,"note":"Value kept but may cause issues"} 
[2026-07-27 15:42:53] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-27 15:42:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785147111000,"timestamp_ms":1785147111000,"timestamp_seconds":1785147111,"priority":1,"record_length":96,"hex_timestamp":"0000019fa30f3658"} 
[2026-07-27 15:42:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:42:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:42:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-27 15:42:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:42:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:42:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:42:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:42:53] local.INFO: Teltonika packet parsed successfully {"connection_id":143087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:42:53] local.INFO: Passing IMEI to GPS processor {"connection_id":143087,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 15:42:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":143087,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 15:42:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:42:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 15:42:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 15:42:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997659648001,"66":14548,"16":25901599142445056,"94":11008,"24":34,"45":916834398031417344},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-07-27 15:42:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 15:42:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 15:42:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997659648001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:42:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25901599142445056,"km_value":25901599142445.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:42:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-27 15:42:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":916834398031417344,"description":"Unknown IO ID 45"} 
[2026-07-27 15:42:53] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456997659648001,"power":14548,"odometer":null,"unknown_94":11008,"ignition":34,"unknown_45":916834398031417344}} 
[2026-07-27 15:42:54] local.INFO: DEBUG: GPS processor result {"connection_id":143087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553867,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:42:54] local.INFO: GPS data processed {"connection_id":143087,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:42:54] local.INFO: Acknowledgment sent {"connection_id":143087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:43:00] local.INFO: TCP Data received {"connection_id":144070,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144070,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:43:00] local.INFO: Processing buffer {"connection_id":144070,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:43:00] local.INFO: IMEI packet received {"connection_id":144070,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 15:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":144070,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:43:05] local.INFO: TCP Data received {"connection_id":144070,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144070,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:43:05] local.INFO: Processing buffer {"connection_id":144070,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:43:05] local.INFO: IMEI packet received {"connection_id":144070,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 15:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":144070,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:43:06] local.INFO: TCP Data received {"connection_id":144070,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa30e3c58012d181d400721ad88004c00d82b..."} 
[2026-07-27 15:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144070,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa30e3c58012d181d400721ad88004c00d82b..."} 
[2026-07-27 15:43:06] local.INFO: Processing buffer {"connection_id":144070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa30e3c58012d181d400721ad88004c00d82b..."} 
[2026-07-27 15:43:06] local.INFO: Packet analysis {"connection_id":144070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa30e"} 
[2026-07-27 15:43:06] local.INFO: Extracted packet for processing {"connection_id":144070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa30e"} 
[2026-07-27 15:43:06] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647624,"longitude_deg":75.6555072,"latitude_deg":11.9647624,"altitude":76,"angle":216,"satellites":43,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ad88","is_valid_coordinates":true} 
[2026-07-27 15:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:43:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997638656001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:43:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8880398935261184,"note":"Value kept but may cause issues"} 
[2026-07-27 15:43:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608848896,"note":"Value kept but may cause issues"} 
[2026-07-27 15:43:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:43:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785147047000,"timestamp_ms":1785147047000,"timestamp_seconds":1785147047,"priority":1,"record_length":96,"hex_timestamp":"0000019fa30e3c58"} 
[2026-07-27 15:43:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:43:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-07-27 15:43: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-07-27 15:43:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:43:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:43:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:43:06] local.INFO: Teltonika packet parsed successfully {"connection_id":144070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:43:06] local.INFO: Passing IMEI to GPS processor {"connection_id":144070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:43:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":144070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:43:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:43:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:43:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:43:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997638656001,"66":12461,"120":206,"28":31744,"24":0,"16":8880398935261184,"45":1737615430608848896},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 15:43:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:43:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:43:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997638656001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:43:06] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 15:43:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:43:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8880398935261184,"km_value":8880398935261.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:43:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608848896,"description":"Unknown IO ID 45"} 
[2026-07-27 15:43:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997638656001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737615430608848896}} 
[2026-07-27 15:43:06] local.INFO: DEBUG: GPS processor result {"connection_id":144070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553868,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:43:06] local.INFO: GPS data processed {"connection_id":144070,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:43:06] local.INFO: Acknowledgment sent {"connection_id":144070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:43:16] local.INFO: TCP Data received {"connection_id":142938,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142938,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:43:16] local.INFO: Processing buffer {"connection_id":142938,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:43:16] local.INFO: IMEI packet received {"connection_id":142938,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 15:43:16] local.INFO: IMEI acknowledgment sent {"connection_id":142938,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:43:18] local.INFO: TCP Data received {"connection_id":142938,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142938,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:43:18] local.INFO: Processing buffer {"connection_id":142938,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:43:18] local.INFO: IMEI packet received {"connection_id":142938,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 15:43:18] local.INFO: IMEI acknowledgment sent {"connection_id":142938,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:43:20] local.INFO: TCP Data received {"connection_id":142938,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142938,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:43:20] local.INFO: Processing buffer {"connection_id":142938,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:43:20] local.INFO: IMEI packet received {"connection_id":142938,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 15:43:20] local.INFO: IMEI acknowledgment sent {"connection_id":142938,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:43:21] local.INFO: TCP Data received {"connection_id":142938,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142938,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:43:21] local.INFO: Processing buffer {"connection_id":142938,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:43:21] local.INFO: IMEI packet received {"connection_id":142938,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 15:43:21] local.INFO: IMEI acknowledgment sent {"connection_id":142938,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:43:22] local.INFO: TCP Data received {"connection_id":142938,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa30f51b0012d0ca8400704a0f00014013f0d..."} 
[2026-07-27 15:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa30f51b0012d0ca8400704a0f00014013f0d..."} 
[2026-07-27 15:43:22] local.INFO: Processing buffer {"connection_id":142938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa30f51b0012d0ca8400704a0f00014013f0d..."} 
[2026-07-27 15:43:22] local.INFO: Packet analysis {"connection_id":142938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa30f"} 
[2026-07-27 15:43:22] local.INFO: Extracted packet for processing {"connection_id":142938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa30f"} 
[2026-07-27 15:43:22] local.INFO: GPS Element Parsed {"raw_longitude":755804224,"raw_latitude":117743856,"longitude_deg":75.5804224,"latitude_deg":11.7743856,"altitude":20,"angle":319,"satellites":13,"speed":28,"hex_longitude":"2d0ca840","hex_latitude":"0704a0f0","is_valid_coordinates":true} 
[2026-07-27 15:43:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:43:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997660416001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:43:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25901869725384704,"note":"Value kept but may cause issues"} 
[2026-07-27 15:43:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":915638129381033984,"note":"Value kept but may cause issues"} 
[2026-07-27 15:43:22] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-27 15:43:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785147118000,"timestamp_ms":1785147118000,"timestamp_seconds":1785147118,"priority":1,"record_length":96,"hex_timestamp":"0000019fa30f51b0"} 
[2026-07-27 15:43:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:43:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:43:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-27 15:43:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:43:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:43:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:43:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:43:22] local.INFO: Teltonika packet parsed successfully {"connection_id":142938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:43:22] local.INFO: Passing IMEI to GPS processor {"connection_id":142938,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 15:43:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":142938,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 15:43:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:43:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 15:43:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 15:43:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997660416001,"66":13787,"16":25901869725384704,"94":11008,"24":28,"45":915638129381033984},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-07-27 15:43:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 15:43:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 15:43:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997660416001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:43:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25901869725384704,"km_value":25901869725384.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:43:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-27 15:43:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":915638129381033984,"description":"Unknown IO ID 45"} 
[2026-07-27 15:43:22] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456997660416001,"power":13787,"odometer":null,"unknown_94":11008,"ignition":28,"unknown_45":915638129381033984}} 
[2026-07-27 15:43:22] local.INFO: DEBUG: GPS processor result {"connection_id":142938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553869,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:43:22] local.INFO: GPS data processed {"connection_id":142938,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:43:22] local.INFO: Acknowledgment sent {"connection_id":142938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:43:35] local.INFO: TCP Data received {"connection_id":143088,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:43:35] local.INFO: Processing buffer {"connection_id":143088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:43:35] local.INFO: IMEI packet received {"connection_id":143088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 15:43:35] local.INFO: IMEI acknowledgment sent {"connection_id":143088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:43:38] local.INFO: TCP Data received {"connection_id":143088,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:43:38] local.INFO: Processing buffer {"connection_id":143088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:43:38] local.INFO: IMEI packet received {"connection_id":143088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 15:43:38] local.INFO: IMEI acknowledgment sent {"connection_id":143088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:43:38] local.INFO: TCP Data received {"connection_id":144070,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa30e8e60012d181d400721ad88004c00d82b..."} 
[2026-07-27 15:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144070,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa30e8e60012d181d400721ad88004c00d82b..."} 
[2026-07-27 15:43:38] local.INFO: Processing buffer {"connection_id":144070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa30e8e60012d181d400721ad88004c00d82b..."} 
[2026-07-27 15:43:38] local.INFO: Packet analysis {"connection_id":144070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa30e"} 
[2026-07-27 15:43:38] local.INFO: Extracted packet for processing {"connection_id":144070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa30e"} 
[2026-07-27 15:43:38] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647624,"longitude_deg":75.6555072,"latitude_deg":11.9647624,"altitude":76,"angle":216,"satellites":43,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ad88","is_valid_coordinates":true} 
[2026-07-27 15:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:43:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997644032001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:43:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8880398935261184,"note":"Value kept but may cause issues"} 
[2026-07-27 15:43:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608848896,"note":"Value kept but may cause issues"} 
[2026-07-27 15:43:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:43:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785147068000,"timestamp_ms":1785147068000,"timestamp_seconds":1785147068,"priority":1,"record_length":96,"hex_timestamp":"0000019fa30e8e60"} 
[2026-07-27 15:43:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:43:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-27 15:43: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-07-27 15:43:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:43:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:43:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:43:38] local.INFO: Teltonika packet parsed successfully {"connection_id":144070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:43:38] local.INFO: Passing IMEI to GPS processor {"connection_id":144070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:43:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":144070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:43:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:43:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:43:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:43:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997644032001,"66":12428,"120":206,"28":31744,"24":0,"16":8880398935261184,"45":1737615430608848896},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 15:43:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:43:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:43:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997644032001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:43:38] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 15:43:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:43:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8880398935261184,"km_value":8880398935261.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:43:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608848896,"description":"Unknown IO ID 45"} 
[2026-07-27 15:43:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997644032001,"power":12428,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737615430608848896}} 
[2026-07-27 15:43:38] local.INFO: DEBUG: GPS processor result {"connection_id":144070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553870,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:43:38] local.INFO: GPS data processed {"connection_id":144070,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:43:38] local.INFO: Acknowledgment sent {"connection_id":144070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:43:42] local.INFO: TCP Data received {"connection_id":143088,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:43:42] local.INFO: Processing buffer {"connection_id":143088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:43:42] local.INFO: IMEI packet received {"connection_id":143088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 15:43:42] local.INFO: IMEI acknowledgment sent {"connection_id":143088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:43:43] local.INFO: TCP Data received {"connection_id":143088,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa30ef008012d9cc94005ac1580001c01342c..."} 
[2026-07-27 15:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa30ef008012d9cc94005ac1580001c01342c..."} 
[2026-07-27 15:43:43] local.INFO: Processing buffer {"connection_id":143088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa30ef008012d9cc94005ac1580001c01342c..."} 
[2026-07-27 15:43:43] local.INFO: Packet analysis {"connection_id":143088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa30e"} 
[2026-07-27 15:43:43] local.INFO: Extracted packet for processing {"connection_id":143088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa30e"} 
[2026-07-27 15:43:43] local.INFO: GPS Element Parsed {"raw_longitude":765249856,"raw_latitude":95163776,"longitude_deg":76.5249856,"latitude_deg":9.5163776,"altitude":28,"angle":308,"satellites":44,"speed":35,"hex_longitude":"2d9cc940","hex_latitude":"05ac1580","is_valid_coordinates":true} 
[2026-07-27 15:43:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:43:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997653504001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:43:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359038091756830720,"note":"Value kept but may cause issues"} 
[2026-07-27 15:43:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7140879397300078592,"note":"Value kept but may cause issues"} 
[2026-07-27 15:43:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:43:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785147093000,"timestamp_ms":1785147093000,"timestamp_seconds":1785147093,"priority":1,"record_length":96,"hex_timestamp":"0000019fa30ef008"} 
[2026-07-27 15:43:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:43:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-27 15:43:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:43:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:43:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:43:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:43:43] local.INFO: Teltonika packet parsed successfully {"connection_id":143088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:43:43] local.INFO: Passing IMEI to GPS processor {"connection_id":143088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:43:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":143088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:43:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:43:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 15:43:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 15:43:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997653504001,"66":27821,"139":206,"83":17408,"24":35,"16":359038091756830720,"45":-7140879397300078592},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,83,24,16,45]} 
[2026-07-27 15:43:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 15:43:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 15:43:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997653504001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:43:43] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-07-27 15:43:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 15:43:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359038091756830720,"km_value":359038091756830.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:43:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7140879397300078592,"description":"Unknown IO ID 45"} 
[2026-07-27 15:43:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997653504001,"power":27821,"unknown_139":206,"unknown_83":17408,"ignition":35,"odometer":null,"unknown_45":-7140879397300078592}} 
[2026-07-27 15:43:43] local.INFO: DEBUG: GPS processor result {"connection_id":143088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:43:43] local.INFO: GPS data processed {"connection_id":143088,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:43:43] local.INFO: Acknowledgment sent {"connection_id":143088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:43:47] local.INFO: TCP Data received {"connection_id":143088,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa30f0390012d9cbd0005ac21b0001e01412a..."} 
[2026-07-27 15:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa30f0390012d9cbd0005ac21b0001e01412a..."} 
[2026-07-27 15:43:47] local.INFO: Processing buffer {"connection_id":143088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa30f0390012d9cbd0005ac21b0001e01412a..."} 
[2026-07-27 15:43:47] local.INFO: Packet analysis {"connection_id":143088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa30f"} 
[2026-07-27 15:43:47] local.INFO: Extracted packet for processing {"connection_id":143088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa30f"} 
[2026-07-27 15:43:47] local.INFO: GPS Element Parsed {"raw_longitude":765246720,"raw_latitude":95166896,"longitude_deg":76.524672,"latitude_deg":9.5166896,"altitude":30,"angle":321,"satellites":42,"speed":34,"hex_longitude":"2d9cbd00","hex_latitude":"05ac21b0","is_valid_coordinates":true} 
[2026-07-27 15: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-07-27 15:43:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997655808001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:43:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359038306505195520,"note":"Value kept but may cause issues"} 
[2026-07-27 15:43:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7149112540367847424,"note":"Value kept but may cause issues"} 
[2026-07-27 15:43:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:43:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785147098000,"timestamp_ms":1785147098000,"timestamp_seconds":1785147098,"priority":1,"record_length":96,"hex_timestamp":"0000019fa30f0390"} 
[2026-07-27 15:43:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:43:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-27 15:43:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15: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-07-27 15:43:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:43:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:43:47] local.INFO: Teltonika packet parsed successfully {"connection_id":143088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:43:47] local.INFO: Passing IMEI to GPS processor {"connection_id":143088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:43:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":143088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:43:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:43:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 15:43:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 15:43:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997655808001,"66":27767,"139":206,"83":17408,"24":34,"16":359038306505195520,"45":-7149112540367847424},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,83,24,16,45]} 
[2026-07-27 15:43:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 15:43:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 15:43:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997655808001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:43:47] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-07-27 15:43:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 15:43:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359038306505195520,"km_value":359038306505195.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:43:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7149112540367847424,"description":"Unknown IO ID 45"} 
[2026-07-27 15:43:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997655808001,"power":27767,"unknown_139":206,"unknown_83":17408,"ignition":34,"odometer":null,"unknown_45":-7149112540367847424}} 
[2026-07-27 15:43:47] local.INFO: DEBUG: GPS processor result {"connection_id":143088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:43:47] local.INFO: GPS data processed {"connection_id":143088,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:43:47] local.INFO: Acknowledgment sent {"connection_id":143088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:43:56] local.INFO: TCP Data received {"connection_id":142938,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3108a30012d0c50400704d088001e00f00e..."} 
[2026-07-27 15:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3108a30012d0c50400704d088001e00f00e..."} 
[2026-07-27 15:43:56] local.INFO: Processing buffer {"connection_id":142938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3108a30012d0c50400704d088001e00f00e..."} 
[2026-07-27 15:43:56] local.INFO: Packet analysis {"connection_id":142938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa310"} 
[2026-07-27 15:43:56] local.INFO: Extracted packet for processing {"connection_id":142938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa310"} 
[2026-07-27 15:43:56] local.INFO: GPS Element Parsed {"raw_longitude":755781696,"raw_latitude":117756040,"longitude_deg":75.5781696,"latitude_deg":11.775604,"altitude":30,"angle":240,"satellites":14,"speed":28,"hex_longitude":"2d0c5040","hex_latitude":"0704d088","is_valid_coordinates":true} 
[2026-07-27 15:43:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:43:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997682176001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:43:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25903372963938304,"note":"Value kept but may cause issues"} 
[2026-07-27 15:43:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":888898006597959680,"note":"Value kept but may cause issues"} 
[2026-07-27 15:43:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:43:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785147198000,"timestamp_ms":1785147198000,"timestamp_seconds":1785147198,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3108a30"} 
[2026-07-27 15:43:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:43:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:43:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-27 15:43:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:43:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:43:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:43:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:43:56] local.INFO: Teltonika packet parsed successfully {"connection_id":142938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:43:56] local.INFO: Passing IMEI to GPS processor {"connection_id":142938,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 15:43:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":142938,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 15:43:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:43:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 15:43:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 15:43:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997682176001,"66":14515,"95":206,"94":10240,"24":28,"16":25903372963938304,"45":888898006597959680},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-07-27 15:43:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 15:43:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 15:43:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997682176001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:43:56] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-27 15:43:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 15:43:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25903372963938304,"km_value":25903372963938.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:43:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":888898006597959680,"description":"Unknown IO ID 45"} 
[2026-07-27 15:43:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997682176001,"power":14515,"unknown_95":206,"unknown_94":10240,"ignition":28,"odometer":null,"unknown_45":888898006597959680}} 
[2026-07-27 15:43:56] local.INFO: DEBUG: GPS processor result {"connection_id":142938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553873,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:43:56] local.INFO: GPS data processed {"connection_id":142938,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:43:56] local.INFO: Acknowledgment sent {"connection_id":142938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:43:59] local.INFO: TCP Data received {"connection_id":144071,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144071,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:43:59] local.INFO: Processing buffer {"connection_id":144071,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:43:59] local.INFO: IMEI packet received {"connection_id":144071,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 15:43:59] local.INFO: IMEI acknowledgment sent {"connection_id":144071,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:44:05] local.INFO: TCP Data received {"connection_id":144071,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144071,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:44:05] local.INFO: Processing buffer {"connection_id":144071,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:44:05] local.INFO: IMEI packet received {"connection_id":144071,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 15:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":144071,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:44:06] local.INFO: TCP Data received {"connection_id":144071,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa30ee068012d181d400721ad88004c00d82b..."} 
[2026-07-27 15:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa30ee068012d181d400721ad88004c00d82b..."} 
[2026-07-27 15:44:06] local.INFO: Processing buffer {"connection_id":144071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa30ee068012d181d400721ad88004c00d82b..."} 
[2026-07-27 15:44:06] local.INFO: Packet analysis {"connection_id":144071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa30e"} 
[2026-07-27 15:44:06] local.INFO: Extracted packet for processing {"connection_id":144071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa30e"} 
[2026-07-27 15:44:06] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647624,"longitude_deg":75.6555072,"latitude_deg":11.9647624,"altitude":76,"angle":216,"satellites":43,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ad88","is_valid_coordinates":true} 
[2026-07-27 15:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:44:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997649408001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:44:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8880398935261184,"note":"Value kept but may cause issues"} 
[2026-07-27 15:44:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608848896,"note":"Value kept but may cause issues"} 
[2026-07-27 15:44:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:44:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785147089000,"timestamp_ms":1785147089000,"timestamp_seconds":1785147089,"priority":1,"record_length":96,"hex_timestamp":"0000019fa30ee068"} 
[2026-07-27 15:44:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:44:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-27 15:44:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:44:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:44:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:44:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:44:06] local.INFO: Teltonika packet parsed successfully {"connection_id":144071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:44:06] local.INFO: Passing IMEI to GPS processor {"connection_id":144071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:44:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":144071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:44:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:44:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:44:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:44:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997649408001,"66":12428,"120":206,"28":31744,"24":0,"16":8880398935261184,"45":1737615430608848896},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 15:44:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:44:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:44:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997649408001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:44:06] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 15:44:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:44:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8880398935261184,"km_value":8880398935261.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:44:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608848896,"description":"Unknown IO ID 45"} 
[2026-07-27 15:44:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997649408001,"power":12428,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737615430608848896}} 
[2026-07-27 15:44:06] local.INFO: DEBUG: GPS processor result {"connection_id":144071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553874,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:44:06] local.INFO: GPS data processed {"connection_id":144071,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:44:06] local.INFO: Acknowledgment sent {"connection_id":144071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:44:17] local.INFO: TCP Data received {"connection_id":145357,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145357,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:44:17] local.INFO: Processing buffer {"connection_id":145357,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:44:17] local.INFO: IMEI packet received {"connection_id":145357,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 15:44:17] local.INFO: IMEI acknowledgment sent {"connection_id":145357,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:44:17] local.INFO: TCP Data received {"connection_id":145357,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145357,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:44:17] local.INFO: Processing buffer {"connection_id":145357,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:44:17] local.INFO: IMEI packet received {"connection_id":145357,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 15:44:17] local.INFO: IMEI acknowledgment sent {"connection_id":145357,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:44:22] local.INFO: TCP Data received {"connection_id":145357,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145357,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:44:22] local.INFO: Processing buffer {"connection_id":145357,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:44:22] local.INFO: IMEI packet received {"connection_id":145357,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 15:44:22] local.INFO: IMEI acknowledgment sent {"connection_id":145357,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:44:23] local.INFO: TCP Data received {"connection_id":145357,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa31099d0012d0c44c00704cc10001f01020e..."} 
[2026-07-27 15:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa31099d0012d0c44c00704cc10001f01020e..."} 
[2026-07-27 15:44:23] local.INFO: Processing buffer {"connection_id":145357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa31099d0012d0c44c00704cc10001f01020e..."} 
[2026-07-27 15:44:23] local.INFO: Packet analysis {"connection_id":145357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa310"} 
[2026-07-27 15:44:23] local.INFO: Extracted packet for processing {"connection_id":145357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa310"} 
[2026-07-27 15:44:23] local.INFO: GPS Element Parsed {"raw_longitude":755778752,"raw_latitude":117754896,"longitude_deg":75.5778752,"latitude_deg":11.7754896,"altitude":31,"angle":258,"satellites":14,"speed":32,"hex_longitude":"2d0c44c0","hex_latitude":"0704cc10","is_valid_coordinates":true} 
[2026-07-27 15: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-07-27 15:44:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997682688001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:44:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25903523287793664,"note":"Value kept but may cause issues"} 
[2026-07-27 15:44:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":887279525481711616,"note":"Value kept but may cause issues"} 
[2026-07-27 15:44:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:44:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785147202000,"timestamp_ms":1785147202000,"timestamp_seconds":1785147202,"priority":1,"record_length":96,"hex_timestamp":"0000019fa31099d0"} 
[2026-07-27 15:44:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:44:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15: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":179,"data_length":795,"current_offset":136} 
[2026-07-27 15:44:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:44:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:44:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:44:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:44:23] local.INFO: Teltonika packet parsed successfully {"connection_id":145357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:44:23] local.INFO: Passing IMEI to GPS processor {"connection_id":145357,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 15:44:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":145357,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 15:44:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:44:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 15:44:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 15:44:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997682688001,"66":14450,"95":206,"94":10240,"24":32,"16":25903523287793664,"45":887279525481711616},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-07-27 15:44:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 15:44:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 15:44:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997682688001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:44:23] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-27 15:44:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 15:44:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25903523287793664,"km_value":25903523287793.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:44:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":887279525481711616,"description":"Unknown IO ID 45"} 
[2026-07-27 15:44:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997682688001,"power":14450,"unknown_95":206,"unknown_94":10240,"ignition":32,"odometer":null,"unknown_45":887279525481711616}} 
[2026-07-27 15:44:23] local.INFO: DEBUG: GPS processor result {"connection_id":145357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553875,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:44:23] local.INFO: GPS data processed {"connection_id":145357,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:44:23] local.INFO: Acknowledgment sent {"connection_id":145357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:44:32] local.INFO: TCP Data received {"connection_id":145358,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:44:32] local.INFO: Processing buffer {"connection_id":145358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:44:32] local.INFO: IMEI packet received {"connection_id":145358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 15:44:32] local.INFO: IMEI acknowledgment sent {"connection_id":145358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:44:37] local.INFO: TCP Data received {"connection_id":145358,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:44:37] local.INFO: Processing buffer {"connection_id":145358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:44:37] local.INFO: IMEI packet received {"connection_id":145358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 15:44:37] local.INFO: IMEI acknowledgment sent {"connection_id":145358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:44:38] local.INFO: TCP Data received {"connection_id":144071,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa30f3270012d181d400721ad88004c00d82c..."} 
[2026-07-27 15:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa30f3270012d181d400721ad88004c00d82c..."} 
[2026-07-27 15:44:38] local.INFO: Processing buffer {"connection_id":144071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa30f3270012d181d400721ad88004c00d82c..."} 
[2026-07-27 15:44:38] local.INFO: Packet analysis {"connection_id":144071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa30f"} 
[2026-07-27 15:44:38] local.INFO: Extracted packet for processing {"connection_id":144071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa30f"} 
[2026-07-27 15:44:38] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647624,"longitude_deg":75.6555072,"latitude_deg":11.9647624,"altitude":76,"angle":216,"satellites":44,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ad88","is_valid_coordinates":true} 
[2026-07-27 15:44:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:44:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997654784001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:44:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8880398935261184,"note":"Value kept but may cause issues"} 
[2026-07-27 15:44:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608848896,"note":"Value kept but may cause issues"} 
[2026-07-27 15:44:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:44:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785147110000,"timestamp_ms":1785147110000,"timestamp_seconds":1785147110,"priority":1,"record_length":96,"hex_timestamp":"0000019fa30f3270"} 
[2026-07-27 15:44:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:44:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-27 15:44:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:44:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:44:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:44:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:44:38] local.INFO: Teltonika packet parsed successfully {"connection_id":144071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:44:38] local.INFO: Passing IMEI to GPS processor {"connection_id":144071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:44:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":144071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:44:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:44:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:44:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:44:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997654784001,"66":12406,"120":206,"28":31744,"24":0,"16":8880398935261184,"45":1737615430608848896},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 15:44:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:44:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:44:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997654784001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:44:38] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 15:44:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:44:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8880398935261184,"km_value":8880398935261.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:44:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608848896,"description":"Unknown IO ID 45"} 
[2026-07-27 15:44:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997654784001,"power":12406,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737615430608848896}} 
[2026-07-27 15:44:38] local.INFO: DEBUG: GPS processor result {"connection_id":144071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553876,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:44:38] local.INFO: GPS data processed {"connection_id":144071,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:44:38] local.INFO: Acknowledgment sent {"connection_id":144071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:44:38] local.INFO: TCP Data received {"connection_id":145358,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa30f0f48012d9cb7c005ac2aa0001e01502b..."} 
[2026-07-27 15:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145358,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa30f0f48012d9cb7c005ac2aa0001e01502b..."} 
[2026-07-27 15:44:38] local.INFO: Processing buffer {"connection_id":145358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa30f0f48012d9cb7c005ac2aa0001e01502b..."} 
[2026-07-27 15:44:38] local.INFO: Packet analysis {"connection_id":145358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa30f"} 
[2026-07-27 15:44:38] local.INFO: Extracted packet for processing {"connection_id":145358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa30f"} 
[2026-07-27 15:44:38] local.INFO: GPS Element Parsed {"raw_longitude":765245376,"raw_latitude":95169184,"longitude_deg":76.5245376,"latitude_deg":9.5169184,"altitude":30,"angle":336,"satellites":43,"speed":36,"hex_longitude":"2d9cb7c0","hex_latitude":"05ac2aa0","is_valid_coordinates":true} 
[2026-07-27 15:44:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:44:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997657088001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:44:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359038435354214400,"note":"Value kept but may cause issues"} 
[2026-07-27 15:44:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7152560608831754240,"note":"Value kept but may cause issues"} 
[2026-07-27 15:44:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:44:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785147101000,"timestamp_ms":1785147101000,"timestamp_seconds":1785147101,"priority":1,"record_length":96,"hex_timestamp":"0000019fa30f0f48"} 
[2026-07-27 15:44:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:44:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:44:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-27 15:44:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:44:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:44:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:44:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:44:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:44:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:44:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:44:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:44:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 15:44:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 15:44:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997657088001,"66":28017,"139":206,"83":17408,"24":36,"16":359038435354214400,"45":-7152560608831754240},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,83,24,16,45]} 
[2026-07-27 15:44:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 15:44:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 15:44:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997657088001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:44:38] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-07-27 15:44:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 15:44:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359038435354214400,"km_value":359038435354214.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:44:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7152560608831754240,"description":"Unknown IO ID 45"} 
[2026-07-27 15:44:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997657088001,"power":28017,"unknown_139":206,"unknown_83":17408,"ignition":36,"odometer":null,"unknown_45":-7152560608831754240}} 
[2026-07-27 15:44:38] local.INFO: DEBUG: GPS processor result {"connection_id":145358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:44:38] local.INFO: GPS data processed {"connection_id":145358,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:44:38] local.INFO: Acknowledgment sent {"connection_id":145358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:44:54] local.INFO: TCP Data received {"connection_id":145357,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa310c0e0012d0c20400704c790002001040f..."} 
[2026-07-27 15:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa310c0e0012d0c20400704c790002001040f..."} 
[2026-07-27 15:44:54] local.INFO: Processing buffer {"connection_id":145357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa310c0e0012d0c20400704c790002001040f..."} 
[2026-07-27 15:44:54] local.INFO: Packet analysis {"connection_id":145357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa310"} 
[2026-07-27 15:44:54] local.INFO: Extracted packet for processing {"connection_id":145357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa310"} 
[2026-07-27 15:44:54] local.INFO: GPS Element Parsed {"raw_longitude":755769408,"raw_latitude":117753744,"longitude_deg":75.5769408,"latitude_deg":11.7753744,"altitude":32,"angle":260,"satellites":15,"speed":32,"hex_longitude":"2d0c2040","hex_latitude":"0704c790","is_valid_coordinates":true} 
[2026-07-27 15:44:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:44:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997683712001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:44:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25903969964392448,"note":"Value kept but may cause issues"} 
[2026-07-27 15:44:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":884042563249246208,"note":"Value kept but may cause issues"} 
[2026-07-27 15:44:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:44:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785147212000,"timestamp_ms":1785147212000,"timestamp_seconds":1785147212,"priority":1,"record_length":96,"hex_timestamp":"0000019fa310c0e0"} 
[2026-07-27 15:44:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:44:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:44:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-27 15:44:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:44:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:44:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:44:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:44:54] local.INFO: Teltonika packet parsed successfully {"connection_id":145357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:44:54] local.INFO: Passing IMEI to GPS processor {"connection_id":145357,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 15:44:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":145357,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 15:44:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:44:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 15:44:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 15:44:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997683712001,"66":14537,"95":206,"94":10240,"24":32,"16":25903969964392448,"45":884042563249246208},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-07-27 15:44:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 15:44:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 15:44:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997683712001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:44:54] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-27 15:44:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 15:44:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25903969964392448,"km_value":25903969964392.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:44:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":884042563249246208,"description":"Unknown IO ID 45"} 
[2026-07-27 15:44:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997683712001,"power":14537,"unknown_95":206,"unknown_94":10240,"ignition":32,"odometer":null,"unknown_45":884042563249246208}} 
[2026-07-27 15:44:54] local.INFO: DEBUG: GPS processor result {"connection_id":145357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553878,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:44:54] local.INFO: GPS data processed {"connection_id":145357,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:44:54] local.INFO: Acknowledgment sent {"connection_id":145357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:45:00] local.INFO: TCP Data received {"connection_id":145359,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145359,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:45:00] local.INFO: Processing buffer {"connection_id":145359,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:45:00] local.INFO: IMEI packet received {"connection_id":145359,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 15:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":145359,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:45:00] local.INFO: TCP Data received {"connection_id":145359,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145359,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:45:00] local.INFO: Processing buffer {"connection_id":145359,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:45:00] local.INFO: IMEI packet received {"connection_id":145359,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 15:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":145359,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:45:04] local.INFO: TCP Data received {"connection_id":145359,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145359,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:45:04] local.INFO: Processing buffer {"connection_id":145359,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:45:04] local.INFO: IMEI packet received {"connection_id":145359,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 15:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":145359,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:45:06] local.INFO: TCP Data received {"connection_id":145359,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa30f8478012d181d400721ad88004c00d82a..."} 
[2026-07-27 15:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa30f8478012d181d400721ad88004c00d82a..."} 
[2026-07-27 15:45:06] local.INFO: Processing buffer {"connection_id":145359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa30f8478012d181d400721ad88004c00d82a..."} 
[2026-07-27 15:45:06] local.INFO: Packet analysis {"connection_id":145359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa30f"} 
[2026-07-27 15:45:06] local.INFO: Extracted packet for processing {"connection_id":145359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa30f"} 
[2026-07-27 15:45:06] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647624,"longitude_deg":75.6555072,"latitude_deg":11.9647624,"altitude":76,"angle":216,"satellites":42,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ad88","is_valid_coordinates":true} 
[2026-07-27 15:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:45:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997660160001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:45:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8880398935261184,"note":"Value kept but may cause issues"} 
[2026-07-27 15:45:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608848896,"note":"Value kept but may cause issues"} 
[2026-07-27 15:45:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:45:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785147131000,"timestamp_ms":1785147131000,"timestamp_seconds":1785147131,"priority":1,"record_length":96,"hex_timestamp":"0000019fa30f8478"} 
[2026-07-27 15:45:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:45:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 15:45:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:45:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:45:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:45:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:45:06] local.INFO: Teltonika packet parsed successfully {"connection_id":145359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:45:06] local.INFO: Passing IMEI to GPS processor {"connection_id":145359,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:45:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":145359,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:45:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:45:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:45:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:45:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997660160001,"66":12385,"120":206,"28":31744,"24":0,"16":8880398935261184,"45":1737615430608848896},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 15:45:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:45:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:45:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997660160001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:45:06] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 15:45:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:45:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8880398935261184,"km_value":8880398935261.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:45:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608848896,"description":"Unknown IO ID 45"} 
[2026-07-27 15:45:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997660160001,"power":12385,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737615430608848896}} 
[2026-07-27 15:45:06] local.INFO: DEBUG: GPS processor result {"connection_id":145359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553879,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:45:06] local.INFO: GPS data processed {"connection_id":145359,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:45:06] local.INFO: Acknowledgment sent {"connection_id":145359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:45:10] local.INFO: TCP Data received {"connection_id":145358,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa30f1ee8012d9cb40005ac3718001d015d27..."} 
[2026-07-27 15:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145358,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa30f1ee8012d9cb40005ac3718001d015d27..."} 
[2026-07-27 15:45:10] local.INFO: Processing buffer {"connection_id":145358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa30f1ee8012d9cb40005ac3718001d015d27..."} 
[2026-07-27 15:45:10] local.INFO: Packet analysis {"connection_id":145358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa30f"} 
[2026-07-27 15:45:10] local.INFO: Extracted packet for processing {"connection_id":145358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa30f"} 
[2026-07-27 15:45:10] local.INFO: GPS Element Parsed {"raw_longitude":765244416,"raw_latitude":95172376,"longitude_deg":76.5244416,"latitude_deg":9.5172376,"altitude":29,"angle":349,"satellites":39,"speed":28,"hex_longitude":"2d9cb400","hex_latitude":"05ac3718","is_valid_coordinates":true} 
[2026-07-27 15:45:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:45:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997657856001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:45:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359038594268004352,"note":"Value kept but may cause issues"} 
[2026-07-27 15:45:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7154038352458899456,"note":"Value kept but may cause issues"} 
[2026-07-27 15:45:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:45:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785147105000,"timestamp_ms":1785147105000,"timestamp_seconds":1785147105,"priority":1,"record_length":96,"hex_timestamp":"0000019fa30f1ee8"} 
[2026-07-27 15:45:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:45:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:45:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-27 15:45:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1760,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:45:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:45:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:45:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:45:10] local.INFO: Teltonika packet parsed successfully {"connection_id":145358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:45:10] local.INFO: Passing IMEI to GPS processor {"connection_id":145358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:45:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":145358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:45:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:45:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 15:45:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 15:45:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997657856001,"66":27908,"139":206,"83":17408,"24":28,"16":359038594268004352,"45":-7154038352458899456},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,83,24,16,45]} 
[2026-07-27 15:45:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 15:45:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 15:45:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997657856001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:45:10] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-07-27 15:45:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 15:45:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359038594268004352,"km_value":359038594268004.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:45:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7154038352458899456,"description":"Unknown IO ID 45"} 
[2026-07-27 15:45:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997657856001,"power":27908,"unknown_139":206,"unknown_83":17408,"ignition":28,"odometer":null,"unknown_45":-7154038352458899456}} 
[2026-07-27 15:45:10] local.INFO: DEBUG: GPS processor result {"connection_id":145358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:45:10] local.INFO: GPS data processed {"connection_id":145358,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:45:10] local.INFO: Acknowledgment sent {"connection_id":145358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:45:22] local.INFO: TCP Data received {"connection_id":143089,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:45:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143089,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:45:22] local.INFO: Processing buffer {"connection_id":143089,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:45:22] local.INFO: IMEI packet received {"connection_id":143089,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 15:45:22] local.INFO: IMEI acknowledgment sent {"connection_id":143089,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:45:27] local.INFO: TCP Data received {"connection_id":143089,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143089,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:45:27] local.INFO: Processing buffer {"connection_id":143089,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:45:27] local.INFO: IMEI packet received {"connection_id":143089,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 15:45:27] local.INFO: IMEI acknowledgment sent {"connection_id":143089,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:45:33] local.INFO: TCP Data received {"connection_id":144072,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:45:33] local.INFO: Processing buffer {"connection_id":144072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:45:33] local.INFO: IMEI packet received {"connection_id":144072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 15:45:33] local.INFO: IMEI acknowledgment sent {"connection_id":144072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:45:34] local.INFO: TCP Data received {"connection_id":144072,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:45:34] local.INFO: Processing buffer {"connection_id":144072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:45:34] local.INFO: IMEI packet received {"connection_id":144072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 15:45:34] local.INFO: IMEI acknowledgment sent {"connection_id":144072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:45:37] local.INFO: TCP Data received {"connection_id":145359,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa311e9c0012d188dc007217e68004f007129..."} 
[2026-07-27 15:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa311e9c0012d188dc007217e68004f007129..."} 
[2026-07-27 15:45:37] local.INFO: Processing buffer {"connection_id":145359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa311e9c0012d188dc007217e68004f007129..."} 
[2026-07-27 15:45:37] local.INFO: Packet analysis {"connection_id":145359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa311"} 
[2026-07-27 15:45:37] local.INFO: Extracted packet for processing {"connection_id":145359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa311"} 
[2026-07-27 15:45:37] local.INFO: GPS Element Parsed {"raw_longitude":756583872,"raw_latitude":119635560,"longitude_deg":75.6583872,"latitude_deg":11.963556,"altitude":79,"angle":113,"satellites":41,"speed":38,"hex_longitude":"2d188dc0","hex_latitude":"07217e68","is_valid_coordinates":true} 
[2026-07-27 15:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997704960001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8881962303356928,"note":"Value kept but may cause issues"} 
[2026-07-27 15:45:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1766114771997927424,"note":"Value kept but may cause issues"} 
[2026-07-27 15:45:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785147288000,"timestamp_ms":1785147288000,"timestamp_seconds":1785147288,"priority":1,"record_length":96,"hex_timestamp":"0000019fa311e9c0"} 
[2026-07-27 15:45:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:45:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-27 15:45:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:45:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:45:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145359,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145359,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:45:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997704960001,"66":14189,"121":206,"28":31744,"24":38,"16":8881962303356928,"45":1766114771997927424},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 15:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997704960001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:45:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 15:45:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:45:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8881962303356928,"km_value":8881962303356.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:45:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1766114771997927424,"description":"Unknown IO ID 45"} 
[2026-07-27 15:45:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997704960001,"power":14189,"unknown_121":206,"unknown_28":31744,"ignition":38,"odometer":null,"unknown_45":1766114771997927424}} 
[2026-07-27 15:45:37] local.INFO: DEBUG: GPS processor result {"connection_id":145359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553881,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:45:37] local.INFO: GPS data processed {"connection_id":145359,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:45:37] local.INFO: Acknowledgment sent {"connection_id":145359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:45:38] local.INFO: TCP Data received {"connection_id":143089,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3120900012d0b7b400704c0b80021015010..."} 
[2026-07-27 15:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143089,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3120900012d0b7b400704c0b80021015010..."} 
[2026-07-27 15:45:38] local.INFO: Processing buffer {"connection_id":143089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3120900012d0b7b400704c0b80021015010..."} 
[2026-07-27 15:45:38] local.INFO: Packet analysis {"connection_id":143089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa312"} 
[2026-07-27 15:45:38] local.INFO: Extracted packet for processing {"connection_id":143089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa312"} 
[2026-07-27 15:45:38] local.INFO: GPS Element Parsed {"raw_longitude":755727168,"raw_latitude":117751992,"longitude_deg":75.5727168,"latitude_deg":11.7751992,"altitude":33,"angle":336,"satellites":16,"speed":20,"hex_longitude":"2d0b7b40","hex_latitude":"0704c0b8","is_valid_coordinates":true} 
[2026-07-27 15:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:45:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997707520001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:45:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25906044433596416,"note":"Value kept but may cause issues"} 
[2026-07-27 15:45:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":827536461673717760,"note":"Value kept but may cause issues"} 
[2026-07-27 15:45:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:45:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785147296000,"timestamp_ms":1785147296000,"timestamp_seconds":1785147296,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3120900"} 
[2026-07-27 15:45:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:45:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15: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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-27 15:45:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:45:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:45:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:45:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:45:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:45:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143089,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 15:45:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143089,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 15:45:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:45:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 15:45:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 15:45:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997707520001,"66":14559,"96":206,"94":10240,"24":20,"16":25906044433596416,"45":827536461673717760},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-07-27 15:45:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 15:45:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 15:45:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997707520001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:45:38] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-27 15:45:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 15:45:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25906044433596416,"km_value":25906044433596.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:45:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":827536461673717760,"description":"Unknown IO ID 45"} 
[2026-07-27 15:45:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997707520001,"power":14559,"unknown_96":206,"unknown_94":10240,"ignition":20,"odometer":null,"unknown_45":827536461673717760}} 
[2026-07-27 15:45:39] local.INFO: DEBUG: GPS processor result {"connection_id":143089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553882,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:45:39] local.INFO: GPS data processed {"connection_id":143089,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:45:39] local.INFO: Acknowledgment sent {"connection_id":143089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:45:46] local.INFO: TCP Data received {"connection_id":144072,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:45:46] local.INFO: Processing buffer {"connection_id":144072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:45:46] local.INFO: IMEI packet received {"connection_id":144072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 15:45:46] local.INFO: IMEI acknowledgment sent {"connection_id":144072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:45:48] local.INFO: TCP Data received {"connection_id":144072,"ip":"42.106.6.29","data_length":1348,"data_hex":"000000000000030f8e0a0000019fa311af28012d9cc74005ad34e0001f01612b..."} 
[2026-07-27 15:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144072,"packet_length":1348,"packet_hex":"000000000000030f8e0a0000019fa311af28012d9cc74005ad34e0001f01612b..."} 
[2026-07-27 15:45:48] local.INFO: Processing buffer {"connection_id":144072,"buffer_length":1348,"buffer_hex":"000000000000030f8e0a0000019fa311af28012d9cc74005ad34e0001f01612b..."} 
[2026-07-27 15:45:48] local.INFO: Packet analysis {"connection_id":144072,"data_field_length":783,"total_packet_length":795,"buffer_length":1348,"packet_hex_start":"000000000000030f8e0a0000019fa311"} 
[2026-07-27 15:45:48] local.INFO: Extracted packet for processing {"connection_id":144072,"packet_length":795,"remaining_buffer_length":553,"packet_hex_start":"000000000000030f8e0a0000019fa311"} 
[2026-07-27 15:45:48] local.INFO: GPS Element Parsed {"raw_longitude":765249344,"raw_latitude":95237344,"longitude_deg":76.5249344,"latitude_deg":9.5237344,"altitude":31,"angle":353,"satellites":43,"speed":46,"hex_longitude":"2d9cc740","hex_latitude":"05ad34e0","is_valid_coordinates":true} 
[2026-07-27 15:45:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:45:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997699840001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:45:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359041806903541760,"note":"Value kept but may cause issues"} 
[2026-07-27 15:45:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7148268115421194240,"note":"Value kept but may cause issues"} 
[2026-07-27 15:45:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:45:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785147273000,"timestamp_ms":1785147273000,"timestamp_seconds":1785147273,"priority":1,"record_length":96,"hex_timestamp":"0000019fa311af28"} 
[2026-07-27 15:45:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:45:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:45:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-27 15:45:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:45:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:45:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:45:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:45:48] local.INFO: Teltonika packet parsed successfully {"connection_id":144072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:45:48] local.INFO: Passing IMEI to GPS processor {"connection_id":144072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:45:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":144072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:45:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:45:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 15:45:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 15:45:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997699840001,"66":27876,"129":206,"83":17408,"24":46,"16":359041806903541760,"45":-7148268115421194240},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,83,24,16,45]} 
[2026-07-27 15:45:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 15:45:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 15:45:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997699840001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:45:48] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-07-27 15:45:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 15:45:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359041806903541760,"km_value":359041806903541.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:45:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7148268115421194240,"description":"Unknown IO ID 45"} 
[2026-07-27 15:45:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997699840001,"power":27876,"unknown_129":206,"unknown_83":17408,"ignition":46,"odometer":null,"unknown_45":-7148268115421194240}} 
[2026-07-27 15:45:48] local.INFO: DEBUG: GPS processor result {"connection_id":144072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:45:48] local.INFO: GPS data processed {"connection_id":144072,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:45:48] local.INFO: Acknowledgment sent {"connection_id":144072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:45:48] local.INFO: Packet analysis {"connection_id":144072,"data_field_length":783,"total_packet_length":795,"buffer_length":553,"packet_hex_start":"000000000000030f8e0a0000019fa311"} 
[2026-07-27 15:45:48] local.INFO: Incomplete packet, waiting for more data {"connection_id":144072,"needed":795,"available":553} 
[2026-07-27 15:45:58] local.INFO: TCP Data received {"connection_id":144072,"ip":"42.106.6.29","data_length":242,"data_hex":"0000000000019fa3103828012d9cc94005aca338001800082d00060000000a00..."} 
[2026-07-27 15:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144072,"packet_length":242,"packet_hex":"0000000000019fa3103828012d9cc94005aca338001800082d00060000000a00..."} 
[2026-07-27 15:45:58] local.INFO: Processing buffer {"connection_id":144072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa311c698012d9cc34005ad4df8001c01562c..."} 
[2026-07-27 15:45:58] local.INFO: Packet analysis {"connection_id":144072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa311"} 
[2026-07-27 15:45:58] local.INFO: Extracted packet for processing {"connection_id":144072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa311"} 
[2026-07-27 15:45:58] local.INFO: GPS Element Parsed {"raw_longitude":765248320,"raw_latitude":95243768,"longitude_deg":76.524832,"latitude_deg":9.5243768,"altitude":28,"angle":342,"satellites":44,"speed":43,"hex_longitude":"2d9cc340","hex_latitude":"05ad4df8","is_valid_coordinates":true} 
[2026-07-27 15:45:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:45:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997701888001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:45:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359042120436154368,"note":"Value kept but may cause issues"} 
[2026-07-27 15:45:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7149675490302435328,"note":"Value kept but may cause issues"} 
[2026-07-27 15:45:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:45:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785147279000,"timestamp_ms":1785147279000,"timestamp_seconds":1785147279,"priority":1,"record_length":96,"hex_timestamp":"0000019fa311c698"} 
[2026-07-27 15:45:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:45:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:45:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-27 15:45:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:45:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:45:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:45:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:45:58] local.INFO: Teltonika packet parsed successfully {"connection_id":144072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:45:58] local.INFO: Passing IMEI to GPS processor {"connection_id":144072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:45:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":144072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:45:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:45:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 15:45:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 15:45:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997701888001,"66":27995,"129":206,"83":17408,"24":43,"16":359042120436154368,"45":-7149675490302435328},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,83,24,16,45]} 
[2026-07-27 15:45:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 15:45:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 15:45:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997701888001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:45:58] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-07-27 15:45:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 15:45:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359042120436154368,"km_value":359042120436154.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:45:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7149675490302435328,"description":"Unknown IO ID 45"} 
[2026-07-27 15:45:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997701888001,"power":27995,"unknown_129":206,"unknown_83":17408,"ignition":43,"odometer":null,"unknown_45":-7149675490302435328}} 
[2026-07-27 15:45:58] local.INFO: DEBUG: GPS processor result {"connection_id":144072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:45:58] local.INFO: GPS data processed {"connection_id":144072,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:45:58] local.INFO: Acknowledgment sent {"connection_id":144072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:45:59] local.INFO: TCP Data received {"connection_id":144072,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa311ce68012d9cbfc005ad55c8001c014a2a..."} 
[2026-07-27 15:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144072,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa311ce68012d9cbfc005ad55c8001c014a2a..."} 
[2026-07-27 15:45:59] local.INFO: Processing buffer {"connection_id":144072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa311ce68012d9cbfc005ad55c8001c014a2a..."} 
[2026-07-27 15:45:59] local.INFO: Packet analysis {"connection_id":144072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa311"} 
[2026-07-27 15:45:59] local.INFO: Extracted packet for processing {"connection_id":144072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa311"} 
[2026-07-27 15:45:59] local.INFO: GPS Element Parsed {"raw_longitude":765247424,"raw_latitude":95245768,"longitude_deg":76.5247424,"latitude_deg":9.5245768,"altitude":28,"angle":330,"satellites":42,"speed":43,"hex_longitude":"2d9cbfc0","hex_latitude":"05ad55c8","is_valid_coordinates":true} 
[2026-07-27 15:45:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:45:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997703424001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:45:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359042227810336768,"note":"Value kept but may cause issues"} 
[2026-07-27 15:45:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7150801390207633408,"note":"Value kept but may cause issues"} 
[2026-07-27 15:45:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:45:59] local.INFO: AVL Record Parsed {"raw_timestamp":1785147281000,"timestamp_ms":1785147281000,"timestamp_seconds":1785147281,"priority":1,"record_length":96,"hex_timestamp":"0000019fa311ce68"} 
[2026-07-27 15:45:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:45:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:45:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-27 15:45:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:45:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:45:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:45:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:45:59] local.INFO: Teltonika packet parsed successfully {"connection_id":144072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:45:59] local.INFO: Passing IMEI to GPS processor {"connection_id":144072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:45:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":144072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:45:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:45:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 15:45:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 15:45:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997703424001,"66":27745,"129":206,"83":17408,"24":43,"16":359042227810336768,"45":-7150801390207633408},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,83,24,16,45]} 
[2026-07-27 15:45:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 15:45:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 15:45:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997703424001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:45:59] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-07-27 15:45:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 15:45:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359042227810336768,"km_value":359042227810336.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:45:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7150801390207633408,"description":"Unknown IO ID 45"} 
[2026-07-27 15:45:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997703424001,"power":27745,"unknown_129":206,"unknown_83":17408,"ignition":43,"odometer":null,"unknown_45":-7150801390207633408}} 
[2026-07-27 15:45:59] local.INFO: DEBUG: GPS processor result {"connection_id":144072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:45:59] local.INFO: GPS data processed {"connection_id":144072,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:45:59] local.INFO: Acknowledgment sent {"connection_id":144072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:45:59] local.INFO: TCP Data received {"connection_id":143090,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143090,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:45:59] local.INFO: Processing buffer {"connection_id":143090,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:45:59] local.INFO: IMEI packet received {"connection_id":143090,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 15:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":143090,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:46:05] local.INFO: TCP Data received {"connection_id":143090,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143090,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:46:05] local.INFO: Processing buffer {"connection_id":143090,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:46:05] local.INFO: IMEI packet received {"connection_id":143090,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 15:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":143090,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:46:06] local.INFO: TCP Data received {"connection_id":143090,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa31210d0012d18ae4007217038004c008429..."} 
[2026-07-27 15:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa31210d0012d18ae4007217038004c008429..."} 
[2026-07-27 15:46:06] local.INFO: Processing buffer {"connection_id":143090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa31210d0012d18ae4007217038004c008429..."} 
[2026-07-27 15:46:06] local.INFO: Packet analysis {"connection_id":143090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa312"} 
[2026-07-27 15:46:06] local.INFO: Extracted packet for processing {"connection_id":143090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa312"} 
[2026-07-27 15:46:06] local.INFO: GPS Element Parsed {"raw_longitude":756592192,"raw_latitude":119631928,"longitude_deg":75.6592192,"latitude_deg":11.9631928,"altitude":76,"angle":132,"satellites":41,"speed":34,"hex_longitude":"2d18ae40","hex_latitude":"07217038","is_valid_coordinates":true} 
[2026-07-27 15:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:46:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997705728001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:46:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8882396095053824,"note":"Value kept but may cause issues"} 
[2026-07-27 15:46:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1769281365485709312,"note":"Value kept but may cause issues"} 
[2026-07-27 15:46:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:46:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785147298000,"timestamp_ms":1785147298000,"timestamp_seconds":1785147298,"priority":1,"record_length":96,"hex_timestamp":"0000019fa31210d0"} 
[2026-07-27 15:46:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:46:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-27 15:46:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:46:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:46:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:46:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:46:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:46:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:46:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:46:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:46:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:46:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:46:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997705728001,"66":14211,"121":206,"28":31744,"24":34,"16":8882396095053824,"45":1769281365485709312},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 15:46:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:46:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:46:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997705728001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:46:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 15:46:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:46:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8882396095053824,"km_value":8882396095053.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:46:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1769281365485709312,"description":"Unknown IO ID 45"} 
[2026-07-27 15:46:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997705728001,"power":14211,"unknown_121":206,"unknown_28":31744,"ignition":34,"odometer":null,"unknown_45":1769281365485709312}} 
[2026-07-27 15:46:06] local.INFO: DEBUG: GPS processor result {"connection_id":143090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553886,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:46:06] local.INFO: GPS data processed {"connection_id":143090,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:46:06] local.INFO: Acknowledgment sent {"connection_id":143090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:46:17] local.INFO: TCP Data received {"connection_id":145360,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145360,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:46:17] local.INFO: Processing buffer {"connection_id":145360,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:46:17] local.INFO: IMEI packet received {"connection_id":145360,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 15:46:17] local.INFO: IMEI acknowledgment sent {"connection_id":145360,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:46:17] local.INFO: TCP Data received {"connection_id":145360,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145360,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:46:17] local.INFO: Processing buffer {"connection_id":145360,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:46:17] local.INFO: IMEI packet received {"connection_id":145360,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 15:46:17] local.INFO: IMEI acknowledgment sent {"connection_id":145360,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:46:22] local.INFO: TCP Data received {"connection_id":145360,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:46:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145360,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:46:22] local.INFO: Processing buffer {"connection_id":145360,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:46:22] local.INFO: IMEI packet received {"connection_id":145360,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 15:46:22] local.INFO: IMEI acknowledgment sent {"connection_id":145360,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:46:23] local.INFO: TCP Data received {"connection_id":145360,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa312f360012d0b5dc00704efb00020014413..."} 
[2026-07-27 15:46:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa312f360012d0b5dc00704efb00020014413..."} 
[2026-07-27 15:46:23] local.INFO: Processing buffer {"connection_id":145360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa312f360012d0b5dc00704efb00020014413..."} 
[2026-07-27 15:46:23] local.INFO: Packet analysis {"connection_id":145360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa312"} 
[2026-07-27 15:46:23] local.INFO: Extracted packet for processing {"connection_id":145360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa312"} 
[2026-07-27 15:46:23] local.INFO: GPS Element Parsed {"raw_longitude":755719616,"raw_latitude":117764016,"longitude_deg":75.5719616,"latitude_deg":11.7764016,"altitude":32,"angle":324,"satellites":19,"speed":2,"hex_longitude":"2d0b5dc0","hex_latitude":"0704efb0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 15:46:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997722368001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:46:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25906881952219136,"note":"Value kept but may cause issues"} 
[2026-07-27 15:46:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":819092212375564288,"note":"Value kept but may cause issues"} 
[2026-07-27 15:46:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:46:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785147356000,"timestamp_ms":1785147356000,"timestamp_seconds":1785147356,"priority":1,"record_length":96,"hex_timestamp":"0000019fa312f360"} 
[2026-07-27 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-07-27 15:46:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-27 15:46:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 15:46:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:46:23] local.INFO: Teltonika packet parsed successfully {"connection_id":145360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:46:23] local.INFO: Passing IMEI to GPS processor {"connection_id":145360,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 15:46:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":145360,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 15:46:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:46:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 15:46:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 15:46:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997722368001,"66":14439,"96":206,"94":10240,"24":2,"16":25906881952219136,"45":819092212375564288},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-07-27 15:46:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 15:46:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 15:46:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997722368001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:46:23] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-27 15:46:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 15:46:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25906881952219136,"km_value":25906881952219.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:46:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":819092212375564288,"description":"Unknown IO ID 45"} 
[2026-07-27 15:46:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997722368001,"power":14439,"unknown_96":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":819092212375564288}} 
[2026-07-27 15:46:23] local.INFO: DEBUG: GPS processor result {"connection_id":145360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553887,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:46:23] local.INFO: GPS data processed {"connection_id":145360,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:46:23] local.INFO: Acknowledgment sent {"connection_id":145360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:46:31] local.INFO: TCP Data received {"connection_id":142939,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:46:31] local.INFO: Processing buffer {"connection_id":142939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:46:31] local.INFO: IMEI packet received {"connection_id":142939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 15:46:31] local.INFO: IMEI acknowledgment sent {"connection_id":142939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:46:32] local.INFO: TCP Data received {"connection_id":142939,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:46:32] local.INFO: Processing buffer {"connection_id":142939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:46:32] local.INFO: IMEI packet received {"connection_id":142939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 15:46:32] local.INFO: IMEI acknowledgment sent {"connection_id":142939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:46:35] local.INFO: TCP Data received {"connection_id":142939,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:46:35] local.INFO: Processing buffer {"connection_id":142939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:46:35] local.INFO: IMEI packet received {"connection_id":142939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 15:46:35] local.INFO: IMEI acknowledgment sent {"connection_id":142939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:46:37] local.INFO: TCP Data received {"connection_id":142939,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:46:37] local.INFO: Processing buffer {"connection_id":142939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:46:37] local.INFO: IMEI packet received {"connection_id":142939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 15:46:37] local.INFO: IMEI acknowledgment sent {"connection_id":142939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:46:37] local.INFO: TCP Data received {"connection_id":143090,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa312d808012d18e440072166e00048006b2a..."} 
[2026-07-27 15:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa312d808012d18e440072166e00048006b2a..."} 
[2026-07-27 15:46:37] local.INFO: Processing buffer {"connection_id":143090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa312d808012d18e440072166e00048006b2a..."} 
[2026-07-27 15:46:37] local.INFO: Packet analysis {"connection_id":143090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa312"} 
[2026-07-27 15:46:37] local.INFO: Extracted packet for processing {"connection_id":143090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa312"} 
[2026-07-27 15:46:37] local.INFO: GPS Element Parsed {"raw_longitude":756606016,"raw_latitude":119629536,"longitude_deg":75.6606016,"latitude_deg":11.9629536,"altitude":72,"angle":107,"satellites":42,"speed":11,"hex_longitude":"2d18e440","hex_latitude":"072166e0","is_valid_coordinates":true} 
[2026-07-27 15:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:46:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997720576001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:46:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8883444067074048,"note":"Value kept but may cause issues"} 
[2026-07-27 15:46:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1792854894783725568,"note":"Value kept but may cause issues"} 
[2026-07-27 15:46:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:46:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785147349000,"timestamp_ms":1785147349000,"timestamp_seconds":1785147349,"priority":1,"record_length":96,"hex_timestamp":"0000019fa312d808"} 
[2026-07-27 15:46:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:46: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-07-27 15:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-27 15:46:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:46:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:46:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:46:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:46:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:46:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:46:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:46:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:46:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:46:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:46:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997720576001,"66":13993,"121":206,"28":31744,"24":11,"16":8883444067074048,"45":1792854894783725568},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 15:46:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:46:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:46:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997720576001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:46:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 15:46:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:46:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8883444067074048,"km_value":8883444067074.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:46:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1792854894783725568,"description":"Unknown IO ID 45"} 
[2026-07-27 15:46:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997720576001,"power":13993,"unknown_121":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1792854894783725568}} 
[2026-07-27 15:46:37] local.INFO: DEBUG: GPS processor result {"connection_id":143090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553888,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:46:37] local.INFO: GPS data processed {"connection_id":143090,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:46:37] local.INFO: Acknowledgment sent {"connection_id":143090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:46:39] local.INFO: TCP Data received {"connection_id":142939,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa312eb90012d9be0c005adde38001801202b..."} 
[2026-07-27 15:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa312eb90012d9be0c005adde38001801202b..."} 
[2026-07-27 15:46:39] local.INFO: Processing buffer {"connection_id":142939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa312eb90012d9be0c005adde38001801202b..."} 
[2026-07-27 15:46:39] local.INFO: Packet analysis {"connection_id":142939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa312"} 
[2026-07-27 15:46:39] local.INFO: Extracted packet for processing {"connection_id":142939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa312"} 
[2026-07-27 15:46:39] local.INFO: GPS Element Parsed {"raw_longitude":765190336,"raw_latitude":95280696,"longitude_deg":76.5190336,"latitude_deg":9.5280696,"altitude":24,"angle":288,"satellites":43,"speed":37,"hex_longitude":"2d9be0c0","hex_latitude":"05adde38","is_valid_coordinates":true} 
[2026-07-27 15:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:46:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997722112001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:46:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359045539230121984,"note":"Value kept but may cause issues"} 
[2026-07-27 15:46:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7212796253818882048,"note":"Value kept but may cause issues"} 
[2026-07-27 15:46:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:46:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785147354000,"timestamp_ms":1785147354000,"timestamp_seconds":1785147354,"priority":1,"record_length":96,"hex_timestamp":"0000019fa312eb90"} 
[2026-07-27 15:46:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:46:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-27 15:46:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:46:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:46:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:46:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:46:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:46:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:46:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:46:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:46:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 15:46:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 15:46:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997722112001,"66":27876,"139":206,"83":17408,"24":37,"16":359045539230121984,"45":-7212796253818882048},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,83,24,16,45]} 
[2026-07-27 15:46:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 15:46:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 15:46:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997722112001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:46:39] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-07-27 15:46:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 15:46:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359045539230121984,"km_value":359045539230122.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:46:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7212796253818882048,"description":"Unknown IO ID 45"} 
[2026-07-27 15:46:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997722112001,"power":27876,"unknown_139":206,"unknown_83":17408,"ignition":37,"odometer":null,"unknown_45":-7212796253818882048}} 
[2026-07-27 15:46:39] local.INFO: DEBUG: GPS processor result {"connection_id":142939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:46:39] local.INFO: GPS data processed {"connection_id":142939,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:46:39] local.INFO: Acknowledgment sent {"connection_id":142939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:46:57] local.INFO: TCP Data received {"connection_id":145360,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa312fb30012d0b5d000704f0280020013513..."} 
[2026-07-27 15:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa312fb30012d0b5d000704f0280020013513..."} 
[2026-07-27 15:46:57] local.INFO: Processing buffer {"connection_id":145360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa312fb30012d0b5d000704f0280020013513..."} 
[2026-07-27 15:46:57] local.INFO: Packet analysis {"connection_id":145360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa312"} 
[2026-07-27 15:46:57] local.INFO: Extracted packet for processing {"connection_id":145360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa312"} 
[2026-07-27 15:46:57] local.INFO: GPS Element Parsed {"raw_longitude":755719424,"raw_latitude":117764136,"longitude_deg":75.5719424,"latitude_deg":11.7764136,"altitude":32,"angle":309,"satellites":19,"speed":3,"hex_longitude":"2d0b5d00","hex_latitude":"0704f028","is_valid_coordinates":true} 
[2026-07-27 15:46:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:46:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997723136001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:46:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25906890542153728,"note":"Value kept but may cause issues"} 
[2026-07-27 15:46:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":819021843631419392,"note":"Value kept but may cause issues"} 
[2026-07-27 15:46:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:46:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785147358000,"timestamp_ms":1785147358000,"timestamp_seconds":1785147358,"priority":1,"record_length":96,"hex_timestamp":"0000019fa312fb30"} 
[2026-07-27 15:46:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:46:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:46:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-27 15:46:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:46:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:46:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:46:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:46:57] local.INFO: Teltonika packet parsed successfully {"connection_id":145360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:46:57] local.INFO: Passing IMEI to GPS processor {"connection_id":145360,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 15:46:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":145360,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 15:46:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:46:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 15:46:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 15:46:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997723136001,"66":14439,"96":206,"94":10240,"24":3,"16":25906890542153728,"45":819021843631419392},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-07-27 15:46:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 15:46:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 15:46:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997723136001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:46:57] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-27 15:46:57] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 15:46:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25906890542153728,"km_value":25906890542153.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:46:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":819021843631419392,"description":"Unknown IO ID 45"} 
[2026-07-27 15:46:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997723136001,"power":14439,"unknown_96":206,"unknown_94":10240,"ignition":3,"odometer":null,"unknown_45":819021843631419392}} 
[2026-07-27 15:46:57] local.INFO: DEBUG: GPS processor result {"connection_id":145360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553890,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:46:57] local.INFO: GPS data processed {"connection_id":145360,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:46:57] local.INFO: Acknowledgment sent {"connection_id":145360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:47:05] local.INFO: TCP Data received {"connection_id":142940,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142940,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:47:05] local.INFO: Processing buffer {"connection_id":142940,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:47:05] local.INFO: IMEI packet received {"connection_id":142940,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 15:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":142940,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:47:11] local.INFO: TCP Data received {"connection_id":142939,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa312f748012d9bd5c005ade030001801112b..."} 
[2026-07-27 15:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa312f748012d9bd5c005ade030001801112b..."} 
[2026-07-27 15:47:11] local.INFO: Processing buffer {"connection_id":142939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa312f748012d9bd5c005ade030001801112b..."} 
[2026-07-27 15:47:11] local.INFO: Packet analysis {"connection_id":142939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa312"} 
[2026-07-27 15:47:11] local.INFO: Extracted packet for processing {"connection_id":142939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa312"} 
[2026-07-27 15:47:11] local.INFO: GPS Element Parsed {"raw_longitude":765187520,"raw_latitude":95281200,"longitude_deg":76.518752,"latitude_deg":9.52812,"altitude":24,"angle":273,"satellites":43,"speed":37,"hex_longitude":"2d9bd5c0","hex_latitude":"05ade030","is_valid_coordinates":true} 
[2026-07-27 15:47:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:47:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997722624001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:47:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359045676669075456,"note":"Value kept but may cause issues"} 
[2026-07-27 15:47:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7214555472423143424,"note":"Value kept but may cause issues"} 
[2026-07-27 15:47:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:47:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785147357000,"timestamp_ms":1785147357000,"timestamp_seconds":1785147357,"priority":1,"record_length":96,"hex_timestamp":"0000019fa312f748"} 
[2026-07-27 15:47:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:47:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:47:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-27 15:47:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:47:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:47:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:47:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:47:11] local.INFO: Teltonika packet parsed successfully {"connection_id":142939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:47:11] local.INFO: Passing IMEI to GPS processor {"connection_id":142939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:47:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":142939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:47: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-07-27 15:47:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 15:47:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 15:47:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997722624001,"66":27908,"139":206,"83":17408,"24":37,"16":359045676669075456,"45":-7214555472423143424},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,83,24,16,45]} 
[2026-07-27 15:47:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 15:47:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 15:47:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997722624001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:47:11] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-07-27 15:47:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 15:47:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359045676669075456,"km_value":359045676669075.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:47:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7214555472423143424,"description":"Unknown IO ID 45"} 
[2026-07-27 15:47:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997722624001,"power":27908,"unknown_139":206,"unknown_83":17408,"ignition":37,"odometer":null,"unknown_45":-7214555472423143424}} 
[2026-07-27 15:47:11] local.INFO: DEBUG: GPS processor result {"connection_id":142939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:47:11] local.INFO: GPS data processed {"connection_id":142939,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:47:11] local.INFO: Acknowledgment sent {"connection_id":142939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:47:12] local.INFO: TCP Data received {"connection_id":142940,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142940,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:47:12] local.INFO: Processing buffer {"connection_id":142940,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:47:12] local.INFO: IMEI packet received {"connection_id":142940,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 15:47:12] local.INFO: IMEI acknowledgment sent {"connection_id":142940,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:47:13] local.INFO: TCP Data received {"connection_id":142940,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa312f360012d18eac007216558004a005d2a..."} 
[2026-07-27 15:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa312f360012d18eac007216558004a005d2a..."} 
[2026-07-27 15:47:13] local.INFO: Processing buffer {"connection_id":142940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa312f360012d18eac007216558004a005d2a..."} 
[2026-07-27 15:47:13] local.INFO: Packet analysis {"connection_id":142940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa312"} 
[2026-07-27 15:47:13] local.INFO: Extracted packet for processing {"connection_id":142940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa312"} 
[2026-07-27 15:47:13] local.INFO: GPS Element Parsed {"raw_longitude":756607680,"raw_latitude":119629144,"longitude_deg":75.660768,"latitude_deg":11.9629144,"altitude":74,"angle":93,"satellites":42,"speed":8,"hex_longitude":"2d18eac0","hex_latitude":"07216558","is_valid_coordinates":true} 
[2026-07-27 15:47:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:47:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997721344001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:47:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8883525671452672,"note":"Value kept but may cause issues"} 
[2026-07-27 15:47:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1793628950969638912,"note":"Value kept but may cause issues"} 
[2026-07-27 15:47:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:47:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785147356000,"timestamp_ms":1785147356000,"timestamp_seconds":1785147356,"priority":1,"record_length":96,"hex_timestamp":"0000019fa312f360"} 
[2026-07-27 15:47:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:47:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-27 15:47:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:47:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:47:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:47:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:47:13] local.INFO: Teltonika packet parsed successfully {"connection_id":142940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:47:13] local.INFO: Passing IMEI to GPS processor {"connection_id":142940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:47:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":142940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:47:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:47:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:47:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:47:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997721344001,"66":13993,"121":206,"28":31744,"24":8,"16":8883525671452672,"45":1793628950969638912},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 15:47:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:47:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:47:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997721344001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:47:13] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 15:47:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:47:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8883525671452672,"km_value":8883525671452.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:47:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1793628950969638912,"description":"Unknown IO ID 45"} 
[2026-07-27 15:47:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997721344001,"power":13993,"unknown_121":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1793628950969638912}} 
[2026-07-27 15:47:13] local.INFO: DEBUG: GPS processor result {"connection_id":142940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553892,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:47:13] local.INFO: GPS data processed {"connection_id":142940,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:47:13] local.INFO: Acknowledgment sent {"connection_id":142940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:47:15] local.INFO: TCP Data received {"connection_id":142940,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa312fb30012d18ec4007216510004a006a2a..."} 
[2026-07-27 15:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa312fb30012d18ec4007216510004a006a2a..."} 
[2026-07-27 15:47:15] local.INFO: Processing buffer {"connection_id":142940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa312fb30012d18ec4007216510004a006a2a..."} 
[2026-07-27 15:47:15] local.INFO: Packet analysis {"connection_id":142940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa312"} 
[2026-07-27 15:47:15] local.INFO: Extracted packet for processing {"connection_id":142940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa312"} 
[2026-07-27 15:47:15] local.INFO: GPS Element Parsed {"raw_longitude":756608064,"raw_latitude":119629072,"longitude_deg":75.6608064,"latitude_deg":11.9629072,"altitude":74,"angle":106,"satellites":42,"speed":7,"hex_longitude":"2d18ec40","hex_latitude":"07216510","is_valid_coordinates":true} 
[2026-07-27 15:47:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:47:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997723136001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:47:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8883547146289152,"note":"Value kept but may cause issues"} 
[2026-07-27 15:47:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1795458538318157824,"note":"Value kept but may cause issues"} 
[2026-07-27 15:47: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-07-27 15:47:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785147358000,"timestamp_ms":1785147358000,"timestamp_seconds":1785147358,"priority":1,"record_length":96,"hex_timestamp":"0000019fa312fb30"} 
[2026-07-27 15:47:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:47:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:47:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-27 15:47:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:47:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:47:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:47:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:47:15] local.INFO: Teltonika packet parsed successfully {"connection_id":142940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:47:15] local.INFO: Passing IMEI to GPS processor {"connection_id":142940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:47:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":142940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:47:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:47:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:47:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:47:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997723136001,"66":13993,"121":206,"28":31744,"24":7,"16":8883547146289152,"45":1795458538318157824},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 15:47:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:47:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:47:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997723136001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:47:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 15:47:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:47:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8883547146289152,"km_value":8883547146289.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:47:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1795458538318157824,"description":"Unknown IO ID 45"} 
[2026-07-27 15:47:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997723136001,"power":13993,"unknown_121":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1795458538318157824}} 
[2026-07-27 15:47:15] local.INFO: DEBUG: GPS processor result {"connection_id":142940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553893,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:47:15] local.INFO: GPS data processed {"connection_id":142940,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:47:15] local.INFO: Acknowledgment sent {"connection_id":142940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:47:28] local.INFO: TCP Data received {"connection_id":144073,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144073,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:47:28] local.INFO: Processing buffer {"connection_id":144073,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:47:28] local.INFO: IMEI packet received {"connection_id":144073,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 15:47:28] local.INFO: IMEI acknowledgment sent {"connection_id":144073,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:47:30] local.INFO: TCP Data received {"connection_id":144073,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144073,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:47:30] local.INFO: Processing buffer {"connection_id":144073,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:47:30] local.INFO: IMEI packet received {"connection_id":144073,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 15:47:30] local.INFO: IMEI acknowledgment sent {"connection_id":144073,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:47:31] local.INFO: TCP Data received {"connection_id":144073,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144073,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:47:31] local.INFO: Processing buffer {"connection_id":144073,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:47:31] local.INFO: IMEI packet received {"connection_id":144073,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 15:47:31] local.INFO: IMEI acknowledgment sent {"connection_id":144073,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:47:33] local.INFO: TCP Data received {"connection_id":143091,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:47:33] local.INFO: Processing buffer {"connection_id":143091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:47:33] local.INFO: IMEI packet received {"connection_id":143091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 15:47:33] local.INFO: IMEI acknowledgment sent {"connection_id":143091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:47:37] local.INFO: TCP Data received {"connection_id":143091,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:47:37] local.INFO: Processing buffer {"connection_id":143091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:47:37] local.INFO: IMEI packet received {"connection_id":143091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 15:47:37] local.INFO: IMEI acknowledgment sent {"connection_id":143091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:47:37] local.INFO: TCP Data received {"connection_id":144073,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144073,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:47:37] local.INFO: Processing buffer {"connection_id":144073,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:47:37] local.INFO: IMEI packet received {"connection_id":144073,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 15:47:37] local.INFO: IMEI acknowledgment sent {"connection_id":144073,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:47:38] local.INFO: TCP Data received {"connection_id":144073,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa31400e8012d0b3900070521f00028001214..."} 
[2026-07-27 15:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144073,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa31400e8012d0b3900070521f00028001214..."} 
[2026-07-27 15:47:38] local.INFO: Processing buffer {"connection_id":144073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa31400e8012d0b3900070521f00028001214..."} 
[2026-07-27 15:47:38] local.INFO: Packet analysis {"connection_id":144073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa314"} 
[2026-07-27 15:47:38] local.INFO: Extracted packet for processing {"connection_id":144073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa314"} 
[2026-07-27 15:47:38] local.INFO: GPS Element Parsed {"raw_longitude":755710208,"raw_latitude":117776880,"longitude_deg":75.5710208,"latitude_deg":11.777688,"altitude":40,"angle":18,"satellites":20,"speed":20,"hex_longitude":"2d0b3900","hex_latitude":"070521f0","is_valid_coordinates":true} 
[2026-07-27 15:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:47:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997738496001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:47:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25908063068225536,"note":"Value kept but may cause issues"} 
[2026-07-27 15:47:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":806003625960902656,"note":"Value kept but may cause issues"} 
[2026-07-27 15:47:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:47:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785147425000,"timestamp_ms":1785147425000,"timestamp_seconds":1785147425,"priority":1,"record_length":96,"hex_timestamp":"0000019fa31400e8"} 
[2026-07-27 15:47:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:47:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-27 15:47:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:47:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:47:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:47:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:47:38] local.INFO: Teltonika packet parsed successfully {"connection_id":144073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:47:38] local.INFO: Passing IMEI to GPS processor {"connection_id":144073,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 15:47:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":144073,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 15:47:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:47:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 15:47:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 15:47:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997738496001,"66":14537,"177":206,"94":10240,"24":20,"16":25908063068225536,"45":806003625960902656},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-07-27 15:47:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 15:47:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 15:47:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997738496001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:47:38] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-27 15:47:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 15:47:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25908063068225536,"km_value":25908063068225.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:47:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":806003625960902656,"description":"Unknown IO ID 45"} 
[2026-07-27 15:47:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997738496001,"power":14537,"unknown_177":206,"unknown_94":10240,"ignition":20,"odometer":null,"unknown_45":806003625960902656}} 
[2026-07-27 15:47:38] local.INFO: DEBUG: GPS processor result {"connection_id":144073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553894,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:47:38] local.INFO: GPS data processed {"connection_id":144073,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:47:38] local.INFO: Acknowledgment sent {"connection_id":144073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:47:38] local.INFO: TCP Data received {"connection_id":144073,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3143798012d0b40c0070546380028001014..."} 
[2026-07-27 15:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144073,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3143798012d0b40c0070546380028001014..."} 
[2026-07-27 15:47:38] local.INFO: Processing buffer {"connection_id":144073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3143798012d0b40c0070546380028001014..."} 
[2026-07-27 15:47:38] local.INFO: Packet analysis {"connection_id":144073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa314"} 
[2026-07-27 15:47:38] local.INFO: Extracted packet for processing {"connection_id":144073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa314"} 
[2026-07-27 15:47:38] local.INFO: GPS Element Parsed {"raw_longitude":755712192,"raw_latitude":117786168,"longitude_deg":75.5712192,"latitude_deg":11.7786168,"altitude":40,"angle":16,"satellites":20,"speed":28,"hex_longitude":"2d0b40c0","hex_latitude":"07054638","is_valid_coordinates":true} 
[2026-07-27 15:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:47:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997740800001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:47:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25908522629726208,"note":"Value kept but may cause issues"} 
[2026-07-27 15:47:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":808677638240595968,"note":"Value kept but may cause issues"} 
[2026-07-27 15:47:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:47:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785147439000,"timestamp_ms":1785147439000,"timestamp_seconds":1785147439,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3143798"} 
[2026-07-27 15:47:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:47:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-27 15:47:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:47:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:47:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:47:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:47:38] local.INFO: Teltonika packet parsed successfully {"connection_id":144073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:47:38] local.INFO: Passing IMEI to GPS processor {"connection_id":144073,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 15:47:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":144073,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 15:47:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:47:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 15:47:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 15:47:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997740800001,"66":14548,"177":206,"94":10240,"24":28,"16":25908522629726208,"45":808677638240595968},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-07-27 15:47:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 15:47:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 15:47:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997740800001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:47:38] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-27 15:47:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 15:47:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25908522629726208,"km_value":25908522629726.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:47:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":808677638240595968,"description":"Unknown IO ID 45"} 
[2026-07-27 15:47:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997740800001,"power":14548,"unknown_177":206,"unknown_94":10240,"ignition":28,"odometer":null,"unknown_45":808677638240595968}} 
[2026-07-27 15:47:38] local.INFO: DEBUG: GPS processor result {"connection_id":144073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553895,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:47:38] local.INFO: GPS data processed {"connection_id":144073,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:47:38] local.INFO: Acknowledgment sent {"connection_id":144073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:47:39] local.INFO: TCP Data received {"connection_id":143091,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:47:39] local.INFO: Processing buffer {"connection_id":143091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:47:39] local.INFO: IMEI packet received {"connection_id":143091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 15:47:39] local.INFO: IMEI acknowledgment sent {"connection_id":143091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:47:40] local.INFO: TCP Data received {"connection_id":143091,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa313be80012d9b2e8005ae15d80015014e26..."} 
[2026-07-27 15:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa313be80012d9b2e8005ae15d80015014e26..."} 
[2026-07-27 15:47:40] local.INFO: Processing buffer {"connection_id":143091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa313be80012d9b2e8005ae15d80015014e26..."} 
[2026-07-27 15:47:40] local.INFO: Packet analysis {"connection_id":143091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa313"} 
[2026-07-27 15:47:40] local.INFO: Extracted packet for processing {"connection_id":143091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa313"} 
[2026-07-27 15:47:40] local.INFO: GPS Element Parsed {"raw_longitude":765144704,"raw_latitude":95294936,"longitude_deg":76.5144704,"latitude_deg":9.5294936,"altitude":21,"angle":334,"satellites":38,"speed":49,"hex_longitude":"2d9b2e80","hex_latitude":"05ae15d8","is_valid_coordinates":true} 
[2026-07-27 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-07-27 15:47:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997735680001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:47:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359048309484027904,"note":"Value kept but may cause issues"} 
[2026-07-27 15:47:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7263461749623834624,"note":"Value kept but may cause issues"} 
[2026-07-27 15:47:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:47:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785147408000,"timestamp_ms":1785147408000,"timestamp_seconds":1785147408,"priority":1,"record_length":96,"hex_timestamp":"0000019fa313be80"} 
[2026-07-27 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-07-27 15:47:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-27 15:47:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 15:47:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:47:40] local.INFO: Teltonika packet parsed successfully {"connection_id":143091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:47:40] local.INFO: Passing IMEI to GPS processor {"connection_id":143091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:47:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":143091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:47: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-07-27 15:47:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 15:47:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 15:47:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997735680001,"66":27908,"8":206,"83":17408,"24":49,"16":359048309484027904,"45":-7263461749623834624},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,45]} 
[2026-07-27 15:47:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 15:47:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 15:47:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997735680001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:47:40] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-07-27 15:47:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 15:47:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359048309484027904,"km_value":359048309484027.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:47:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7263461749623834624,"description":"Unknown IO ID 45"} 
[2026-07-27 15:47:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997735680001,"power":27908,"unknown_8":206,"unknown_83":17408,"ignition":49,"odometer":null,"unknown_45":-7263461749623834624}} 
[2026-07-27 15:47:40] local.INFO: DEBUG: GPS processor result {"connection_id":143091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:47:40] local.INFO: GPS data processed {"connection_id":143091,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:47:40] local.INFO: Acknowledgment sent {"connection_id":143091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:47:42] local.INFO: TCP Data received {"connection_id":143091,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa313ca38012d9b264005ae22780014014226..."} 
[2026-07-27 15:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa313ca38012d9b264005ae22780014014226..."} 
[2026-07-27 15:47:42] local.INFO: Processing buffer {"connection_id":143091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa313ca38012d9b264005ae22780014014226..."} 
[2026-07-27 15:47:42] local.INFO: Packet analysis {"connection_id":143091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa313"} 
[2026-07-27 15:47:42] local.INFO: Extracted packet for processing {"connection_id":143091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa313"} 
[2026-07-27 15:47:42] local.INFO: GPS Element Parsed {"raw_longitude":765142592,"raw_latitude":95298168,"longitude_deg":76.5142592,"latitude_deg":9.5298168,"altitude":20,"angle":322,"satellites":38,"speed":51,"hex_longitude":"2d9b2640","hex_latitude":"05ae2278","is_valid_coordinates":true} 
[2026-07-27 15:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:47:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997736448001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:47:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359048494167621632,"note":"Value kept but may cause issues"} 
[2026-07-27 15:47:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7264728387018172416,"note":"Value kept but may cause issues"} 
[2026-07-27 15:47:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:47:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785147411000,"timestamp_ms":1785147411000,"timestamp_seconds":1785147411,"priority":1,"record_length":96,"hex_timestamp":"0000019fa313ca38"} 
[2026-07-27 15:47:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:47:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-27 15:47:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:47:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:47:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:47:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:47:42] local.INFO: Teltonika packet parsed successfully {"connection_id":143091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:47:42] local.INFO: Passing IMEI to GPS processor {"connection_id":143091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:47:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":143091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:47:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:47:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 15:47:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 15:47:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997736448001,"66":27930,"8":206,"83":17408,"24":51,"16":359048494167621632,"45":-7264728387018172416},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,45]} 
[2026-07-27 15:47:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 15:47:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 15:47:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997736448001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:47:42] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-07-27 15:47:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 15:47:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359048494167621632,"km_value":359048494167621.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:47:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7264728387018172416,"description":"Unknown IO ID 45"} 
[2026-07-27 15:47:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997736448001,"power":27930,"unknown_8":206,"unknown_83":17408,"ignition":51,"odometer":null,"unknown_45":-7264728387018172416}} 
[2026-07-27 15:47:42] local.INFO: DEBUG: GPS processor result {"connection_id":143091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:47:42] local.INFO: GPS data processed {"connection_id":143091,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:47:42] local.INFO: Acknowledgment sent {"connection_id":143091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:47:57] local.INFO: TCP Data received {"connection_id":145361,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145361,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:47:57] local.INFO: Processing buffer {"connection_id":145361,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:47:57] local.INFO: IMEI packet received {"connection_id":145361,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 15:47:57] local.INFO: IMEI acknowledgment sent {"connection_id":145361,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:47:59] local.INFO: TCP Data received {"connection_id":145361,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145361,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:47:59] local.INFO: Processing buffer {"connection_id":145361,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:47:59] local.INFO: IMEI packet received {"connection_id":145361,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 15:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":145361,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:48:04] local.INFO: TCP Data received {"connection_id":145361,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145361,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:48:04] local.INFO: Processing buffer {"connection_id":145361,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:48:04] local.INFO: IMEI packet received {"connection_id":145361,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 15:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":145361,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:48:06] local.INFO: TCP Data received {"connection_id":145361,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3134d38012d18f480072163a0004a006328..."} 
[2026-07-27 15:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145361,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3134d38012d18f480072163a0004a006328..."} 
[2026-07-27 15:48:06] local.INFO: Processing buffer {"connection_id":145361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3134d38012d18f480072163a0004a006328..."} 
[2026-07-27 15:48:06] local.INFO: Packet analysis {"connection_id":145361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa313"} 
[2026-07-27 15:48:06] local.INFO: Extracted packet for processing {"connection_id":145361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa313"} 
[2026-07-27 15:48:06] local.INFO: GPS Element Parsed {"raw_longitude":756610176,"raw_latitude":119628704,"longitude_deg":75.6610176,"latitude_deg":11.9628704,"altitude":74,"angle":99,"satellites":40,"speed":0,"hex_longitude":"2d18f480","hex_latitude":"072163a0","is_valid_coordinates":true} 
[2026-07-27 15:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:48:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997723648001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:48:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8883654520471552,"note":"Value kept but may cause issues"} 
[2026-07-27 15:48:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1795880750783205376,"note":"Value kept but may cause issues"} 
[2026-07-27 15:48:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:48:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785147379000,"timestamp_ms":1785147379000,"timestamp_seconds":1785147379,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3134d38"} 
[2026-07-27 15:48:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:48:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-27 15:48:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:48:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:48:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:48:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:48:06] local.INFO: Teltonika packet parsed successfully {"connection_id":145361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:48:06] local.INFO: Passing IMEI to GPS processor {"connection_id":145361,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:48:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":145361,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:48:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:48:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:48:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:48:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997723648001,"66":14265,"121":206,"28":31744,"24":0,"16":8883654520471552,"45":1795880750783205376},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 15:48:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:48:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:48:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997723648001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:48:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 15:48:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:48:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8883654520471552,"km_value":8883654520471.553,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:48:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1795880750783205376,"description":"Unknown IO ID 45"} 
[2026-07-27 15:48:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997723648001,"power":14265,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1795880750783205376}} 
[2026-07-27 15:48:06] local.INFO: DEBUG: GPS processor result {"connection_id":145361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553898,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:48:06] local.INFO: GPS data processed {"connection_id":145361,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:48:06] local.INFO: Acknowledgment sent {"connection_id":145361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:48:13] local.INFO: TCP Data received {"connection_id":143091,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa313ddc0012d9b13c005ae37480011013629..."} 
[2026-07-27 15:48:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa313ddc0012d9b13c005ae37480011013629..."} 
[2026-07-27 15:48:13] local.INFO: Processing buffer {"connection_id":143091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa313ddc0012d9b13c005ae37480011013629..."} 
[2026-07-27 15:48:13] local.INFO: Packet analysis {"connection_id":143091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa313"} 
[2026-07-27 15:48:13] local.INFO: Extracted packet for processing {"connection_id":143091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa313"} 
[2026-07-27 15:48:13] local.INFO: GPS Element Parsed {"raw_longitude":765137856,"raw_latitude":95303496,"longitude_deg":76.5137856,"latitude_deg":9.5303496,"altitude":17,"angle":310,"satellites":41,"speed":58,"hex_longitude":"2d9b13c0","hex_latitude":"05ae3748","is_valid_coordinates":true} 
[2026-07-27 15:48:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:48:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997737216001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:48:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359048837765005312,"note":"Value kept but may cause issues"} 
[2026-07-27 15:48:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7267050555575207936,"note":"Value kept but may cause issues"} 
[2026-07-27 15:48:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:48:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785147416000,"timestamp_ms":1785147416000,"timestamp_seconds":1785147416,"priority":1,"record_length":96,"hex_timestamp":"0000019fa313ddc0"} 
[2026-07-27 15:48:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:48:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:48:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-27 15:48:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:48:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:48:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:48:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:48:13] local.INFO: Teltonika packet parsed successfully {"connection_id":143091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:48:13] local.INFO: Passing IMEI to GPS processor {"connection_id":143091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:48:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":143091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:48: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-07-27 15:48:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 15:48:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 15:48:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997737216001,"66":27745,"8":206,"83":17408,"24":58,"16":359048837765005312,"45":-7267050555575207936},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,45]} 
[2026-07-27 15:48:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 15:48:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 15:48:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997737216001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:48:13] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-07-27 15:48:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 15:48:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359048837765005312,"km_value":359048837765005.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:48:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7267050555575207936,"description":"Unknown IO ID 45"} 
[2026-07-27 15:48:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997737216001,"power":27745,"unknown_8":206,"unknown_83":17408,"ignition":58,"odometer":null,"unknown_45":-7267050555575207936}} 
[2026-07-27 15:48:13] local.INFO: DEBUG: GPS processor result {"connection_id":143091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:48:13] local.INFO: GPS data processed {"connection_id":143091,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:48:13] local.INFO: Acknowledgment sent {"connection_id":143091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:48:15] local.INFO: TCP Data received {"connection_id":145362,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145362,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:48:15] local.INFO: Processing buffer {"connection_id":145362,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:48:15] local.INFO: IMEI packet received {"connection_id":145362,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 15:48:15] local.INFO: IMEI acknowledgment sent {"connection_id":145362,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:48:17] local.INFO: TCP Data received {"connection_id":145362,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145362,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:48:17] local.INFO: Processing buffer {"connection_id":145362,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:48:17] local.INFO: IMEI packet received {"connection_id":145362,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 15:48:17] local.INFO: IMEI acknowledgment sent {"connection_id":145362,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:48:17] local.INFO: TCP Data received {"connection_id":145362,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145362,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:48:17] local.INFO: Processing buffer {"connection_id":145362,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:48:17] local.INFO: IMEI packet received {"connection_id":145362,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 15:48:17] local.INFO: IMEI acknowledgment sent {"connection_id":145362,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:48:18] local.INFO: TCP Data received {"connection_id":145362,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145362,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:48:18] local.INFO: Processing buffer {"connection_id":145362,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:48:18] local.INFO: IMEI packet received {"connection_id":145362,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 15:48:18] local.INFO: IMEI acknowledgment sent {"connection_id":145362,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:48:18] local.INFO: TCP Data received {"connection_id":145362,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa314acc8012d0b2600070582b00021015014..."} 
[2026-07-27 15:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145362,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa314acc8012d0b2600070582b00021015014..."} 
[2026-07-27 15:48:18] local.INFO: Processing buffer {"connection_id":145362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa314acc8012d0b2600070582b00021015014..."} 
[2026-07-27 15:48:18] local.INFO: Packet analysis {"connection_id":145362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa314"} 
[2026-07-27 15:48:18] local.INFO: Extracted packet for processing {"connection_id":145362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa314"} 
[2026-07-27 15:48:18] local.INFO: GPS Element Parsed {"raw_longitude":755705344,"raw_latitude":117801648,"longitude_deg":75.5705344,"latitude_deg":11.7801648,"altitude":33,"angle":336,"satellites":20,"speed":18,"hex_longitude":"2d0b2600","hex_latitude":"070582b0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 15:48:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997751808001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:48:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25909531947040768,"note":"Value kept but may cause issues"} 
[2026-07-27 15:48:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":803470351177684992,"note":"Value kept but may cause issues"} 
[2026-07-27 15:48:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:48:18] local.INFO: AVL Record Parsed {"raw_timestamp":1785147469000,"timestamp_ms":1785147469000,"timestamp_seconds":1785147469,"priority":1,"record_length":96,"hex_timestamp":"0000019fa314acc8"} 
[2026-07-27 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-07-27 15: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-07-27 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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-27 15:48:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 15:48:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:48:18] local.INFO: Teltonika packet parsed successfully {"connection_id":145362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:48:18] local.INFO: Passing IMEI to GPS processor {"connection_id":145362,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 15:48:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":145362,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 15:48:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:48:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 15:48:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 15:48:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997751808001,"66":14439,"165":206,"94":10240,"24":18,"16":25909531947040768,"45":803470351177684992},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-07-27 15:48:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 15:48:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 15:48:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997751808001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:48:18] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-27 15:48:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 15:48:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25909531947040768,"km_value":25909531947040.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:48:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":803470351177684992,"description":"Unknown IO ID 45"} 
[2026-07-27 15:48:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997751808001,"power":14439,"unknown_165":206,"unknown_94":10240,"ignition":18,"odometer":null,"unknown_45":803470351177684992}} 
[2026-07-27 15:48:18] local.INFO: DEBUG: GPS processor result {"connection_id":145362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553900,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:48:18] local.INFO: GPS data processed {"connection_id":145362,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:48:18] local.INFO: Acknowledgment sent {"connection_id":145362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:48:19] local.INFO: TCP Data received {"connection_id":145362,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa314bc68012d0b230007058ab80020016214..."} 
[2026-07-27 15:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145362,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa314bc68012d0b230007058ab80020016214..."} 
[2026-07-27 15:48:19] local.INFO: Processing buffer {"connection_id":145362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa314bc68012d0b230007058ab80020016214..."} 
[2026-07-27 15:48:19] local.INFO: Packet analysis {"connection_id":145362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa314"} 
[2026-07-27 15:48:19] local.INFO: Extracted packet for processing {"connection_id":145362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa314"} 
[2026-07-27 15:48:19] local.INFO: GPS Element Parsed {"raw_longitude":755704576,"raw_latitude":117803704,"longitude_deg":75.5704576,"latitude_deg":11.7803704,"altitude":32,"angle":354,"satellites":20,"speed":27,"hex_longitude":"2d0b2300","hex_latitude":"07058ab8","is_valid_coordinates":true} 
[2026-07-27 15: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-07-27 15:48:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997752064001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:48:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25909639321223168,"note":"Value kept but may cause issues"} 
[2026-07-27 15:48:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":803329613689434112,"note":"Value kept but may cause issues"} 
[2026-07-27 15:48:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:48:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785147473000,"timestamp_ms":1785147473000,"timestamp_seconds":1785147473,"priority":1,"record_length":96,"hex_timestamp":"0000019fa314bc68"} 
[2026-07-27 15:48:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:48:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-27 15:48:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15: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-07-27 15:48:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:48:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:48:19] local.INFO: Teltonika packet parsed successfully {"connection_id":145362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:48:19] local.INFO: Passing IMEI to GPS processor {"connection_id":145362,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 15:48:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":145362,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 15:48:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:48:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 15:48:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 15:48:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997752064001,"66":14450,"165":206,"94":10240,"24":27,"16":25909639321223168,"45":803329613689434112},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-07-27 15:48:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 15:48:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 15:48:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997752064001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:48:19] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-27 15:48:19] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 15:48:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25909639321223168,"km_value":25909639321223.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:48:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":803329613689434112,"description":"Unknown IO ID 45"} 
[2026-07-27 15:48:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997752064001,"power":14450,"unknown_165":206,"unknown_94":10240,"ignition":27,"odometer":null,"unknown_45":803329613689434112}} 
[2026-07-27 15:48:19] local.INFO: DEBUG: GPS processor result {"connection_id":145362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553901,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:48:19] local.INFO: GPS data processed {"connection_id":145362,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:48:19] local.INFO: Acknowledgment sent {"connection_id":145362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:48:30] local.INFO: TCP Data received {"connection_id":144074,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:48:30] local.INFO: Processing buffer {"connection_id":144074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:48:30] local.INFO: IMEI packet received {"connection_id":144074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 15:48:30] local.INFO: IMEI acknowledgment sent {"connection_id":144074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:48:31] local.INFO: TCP Data received {"connection_id":144074,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:48:31] local.INFO: Processing buffer {"connection_id":144074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:48:31] local.INFO: IMEI packet received {"connection_id":144074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 15:48:31] local.INFO: IMEI acknowledgment sent {"connection_id":144074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:48:37] local.INFO: TCP Data received {"connection_id":144074,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:48:37] local.INFO: Processing buffer {"connection_id":144074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:48:37] local.INFO: IMEI packet received {"connection_id":144074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 15:48:37] local.INFO: IMEI acknowledgment sent {"connection_id":144074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:48:37] local.INFO: TCP Data received {"connection_id":145361,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3139f40012d18f480072163a0004a00632a..."} 
[2026-07-27 15:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145361,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3139f40012d18f480072163a0004a00632a..."} 
[2026-07-27 15:48:37] local.INFO: Processing buffer {"connection_id":145361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3139f40012d18f480072163a0004a00632a..."} 
[2026-07-27 15:48:37] local.INFO: Packet analysis {"connection_id":145361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa313"} 
[2026-07-27 15:48:37] local.INFO: Extracted packet for processing {"connection_id":145361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa313"} 
[2026-07-27 15:48:37] local.INFO: GPS Element Parsed {"raw_longitude":756610176,"raw_latitude":119628704,"longitude_deg":75.6610176,"latitude_deg":11.9628704,"altitude":74,"angle":99,"satellites":42,"speed":0,"hex_longitude":"2d18f480","hex_latitude":"072163a0","is_valid_coordinates":true} 
[2026-07-27 15:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997729024001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8883654520471552,"note":"Value kept but may cause issues"} 
[2026-07-27 15:48:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1798202919340974080,"note":"Value kept but may cause issues"} 
[2026-07-27 15:48:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785147400000,"timestamp_ms":1785147400000,"timestamp_seconds":1785147400,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3139f40"} 
[2026-07-27 15:48:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:48: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-07-27 15:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-27 15:48:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:48:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:48:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145361,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145361,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:48:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997729024001,"66":14048,"121":206,"28":31744,"24":0,"16":8883654520471552,"45":1798202919340974080},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 15:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997729024001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:48:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 15:48:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:48:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8883654520471552,"km_value":8883654520471.553,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:48:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1798202919340974080,"description":"Unknown IO ID 45"} 
[2026-07-27 15:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997729024001,"power":14048,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1798202919340974080}} 
[2026-07-27 15:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":145361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553902,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:48:37] local.INFO: GPS data processed {"connection_id":145361,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:48:37] local.INFO: Acknowledgment sent {"connection_id":145361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:48:37] local.INFO: TCP Data received {"connection_id":144074,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa313f148012d9afc4005ae46f0000e012a27..."} 
[2026-07-27 15:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa313f148012d9afc4005ae46f0000e012a27..."} 
[2026-07-27 15:48:37] local.INFO: Processing buffer {"connection_id":144074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa313f148012d9afc4005ae46f0000e012a27..."} 
[2026-07-27 15:48:37] local.INFO: Packet analysis {"connection_id":144074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa313"} 
[2026-07-27 15:48:37] local.INFO: Extracted packet for processing {"connection_id":144074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa313"} 
[2026-07-27 15:48:37] local.INFO: GPS Element Parsed {"raw_longitude":765131840,"raw_latitude":95307504,"longitude_deg":76.513184,"latitude_deg":9.5307504,"altitude":14,"angle":298,"satellites":39,"speed":56,"hex_longitude":"2d9afc40","hex_latitude":"05ae46f0","is_valid_coordinates":true} 
[2026-07-27 15:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997738496001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359049185657356288,"note":"Value kept but may cause issues"} 
[2026-07-27 15:48:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7272257842642991104,"note":"Value kept but may cause issues"} 
[2026-07-27 15:48:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785147421000,"timestamp_ms":1785147421000,"timestamp_seconds":1785147421,"priority":1,"record_length":96,"hex_timestamp":"0000019fa313f148"} 
[2026-07-27 15:48:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:48:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-27 15:48:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:48:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:48:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:48:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 15:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 15:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997738496001,"66":27821,"8":206,"83":17408,"24":56,"16":359049185657356288,"45":-7272257842642991104},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,45]} 
[2026-07-27 15:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 15:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 15:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997738496001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:48:37] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-07-27 15:48:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 15:48:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359049185657356288,"km_value":359049185657356.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:48:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7272257842642991104,"description":"Unknown IO ID 45"} 
[2026-07-27 15:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997738496001,"power":27821,"unknown_8":206,"unknown_83":17408,"ignition":56,"odometer":null,"unknown_45":-7272257842642991104}} 
[2026-07-27 15:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":144074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:48:37] local.INFO: GPS data processed {"connection_id":144074,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:48:37] local.INFO: Acknowledgment sent {"connection_id":144074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:48:50] local.INFO: TCP Data received {"connection_id":145362,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa314cff0012d0b21c007059460001f015314..."} 
[2026-07-27 15:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145362,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa314cff0012d0b21c007059460001f015314..."} 
[2026-07-27 15:48:50] local.INFO: Processing buffer {"connection_id":145362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa314cff0012d0b21c007059460001f015314..."} 
[2026-07-27 15:48:50] local.INFO: Packet analysis {"connection_id":145362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa314"} 
[2026-07-27 15:48:50] local.INFO: Extracted packet for processing {"connection_id":145362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa314"} 
[2026-07-27 15:48:50] local.INFO: GPS Element Parsed {"raw_longitude":755704256,"raw_latitude":117806176,"longitude_deg":75.5704256,"latitude_deg":11.7806176,"altitude":31,"angle":339,"satellites":20,"speed":9,"hex_longitude":"2d0b21c0","hex_latitude":"07059460","is_valid_coordinates":true} 
[2026-07-27 15:48:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:48:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997753088001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:48:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25909759580307456,"note":"Value kept but may cause issues"} 
[2026-07-27 15:48:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":802485188759828480,"note":"Value kept but may cause issues"} 
[2026-07-27 15:48:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:48:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785147478000,"timestamp_ms":1785147478000,"timestamp_seconds":1785147478,"priority":1,"record_length":96,"hex_timestamp":"0000019fa314cff0"} 
[2026-07-27 15:48:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:48:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:48:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-27 15:48:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:48:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:48:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:48:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:48:50] local.INFO: Teltonika packet parsed successfully {"connection_id":145362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:48:50] local.INFO: Passing IMEI to GPS processor {"connection_id":145362,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 15:48:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":145362,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 15:48:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:48:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 15:48:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 15:48:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997753088001,"66":14537,"165":206,"94":10240,"24":9,"16":25909759580307456,"45":802485188759828480},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-07-27 15:48:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 15:48:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 15:48:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997753088001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:48:50] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-27 15:48:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 15:48:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25909759580307456,"km_value":25909759580307.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:48:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":802485188759828480,"description":"Unknown IO ID 45"} 
[2026-07-27 15:48:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997753088001,"power":14537,"unknown_165":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":802485188759828480}} 
[2026-07-27 15:48:50] local.INFO: DEBUG: GPS processor result {"connection_id":145362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553904,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:48:50] local.INFO: GPS data processed {"connection_id":145362,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:48:50] local.INFO: Acknowledgment sent {"connection_id":145362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:49:01] local.INFO: TCP Data received {"connection_id":145363,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145363,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:49:01] local.INFO: Processing buffer {"connection_id":145363,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:49:01] local.INFO: IMEI packet received {"connection_id":145363,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 15:49:01] local.INFO: IMEI acknowledgment sent {"connection_id":145363,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:49:02] local.INFO: TCP Data received {"connection_id":145363,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145363,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:49:02] local.INFO: Processing buffer {"connection_id":145363,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:49:02] local.INFO: IMEI packet received {"connection_id":145363,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 15:49:02] local.INFO: IMEI acknowledgment sent {"connection_id":145363,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:49:05] local.INFO: TCP Data received {"connection_id":145363,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145363,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:49:05] local.INFO: Processing buffer {"connection_id":145363,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:49:05] local.INFO: IMEI packet received {"connection_id":145363,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 15:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":145363,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:49:06] local.INFO: TCP Data received {"connection_id":145363,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa313b6b0012d18f440072164e8004a00232c..."} 
[2026-07-27 15:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa313b6b0012d18f440072164e8004a00232c..."} 
[2026-07-27 15:49:06] local.INFO: Processing buffer {"connection_id":145363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa313b6b0012d18f440072164e8004a00232c..."} 
[2026-07-27 15:49:06] local.INFO: Packet analysis {"connection_id":145363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa313"} 
[2026-07-27 15:49:06] local.INFO: Extracted packet for processing {"connection_id":145363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa313"} 
[2026-07-27 15:49:06] local.INFO: GPS Element Parsed {"raw_longitude":756610112,"raw_latitude":119629032,"longitude_deg":75.6610112,"latitude_deg":11.9629032,"altitude":74,"angle":35,"satellites":44,"speed":4,"hex_longitude":"2d18f440","hex_latitude":"072164e8","is_valid_coordinates":true} 
[2026-07-27 15:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:49:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997734400001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:49:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8883667405373440,"note":"Value kept but may cause issues"} 
[2026-07-27 15:49:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1798202919340974080,"note":"Value kept but may cause issues"} 
[2026-07-27 15:49:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:49:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785147406000,"timestamp_ms":1785147406000,"timestamp_seconds":1785147406,"priority":1,"record_length":96,"hex_timestamp":"0000019fa313b6b0"} 
[2026-07-27 15:49:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:49:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-07-27 15:49:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:49:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:49:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:49:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:49:06] local.INFO: Teltonika packet parsed successfully {"connection_id":145363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:49:06] local.INFO: Passing IMEI to GPS processor {"connection_id":145363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:49:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":145363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:49:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:49:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:49:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:49:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997734400001,"66":13287,"121":206,"28":31744,"24":4,"16":8883667405373440,"45":1798202919340974080},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 15:49:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:49:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:49:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997734400001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:49:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 15:49:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:49:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8883667405373440,"km_value":8883667405373.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:49:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1798202919340974080,"description":"Unknown IO ID 45"} 
[2026-07-27 15:49:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997734400001,"power":13287,"unknown_121":206,"unknown_28":31744,"ignition":4,"odometer":null,"unknown_45":1798202919340974080}} 
[2026-07-27 15:49:07] local.INFO: DEBUG: GPS processor result {"connection_id":145363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553905,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:49:07] local.INFO: GPS data processed {"connection_id":145363,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:49:07] local.INFO: Acknowledgment sent {"connection_id":145363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:49:09] local.INFO: TCP Data received {"connection_id":144074,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa31502b8012d9b078005af8aa8000900062a..."} 
[2026-07-27 15:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa31502b8012d9b078005af8aa8000900062a..."} 
[2026-07-27 15:49:09] local.INFO: Processing buffer {"connection_id":144074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa31502b8012d9b078005af8aa8000900062a..."} 
[2026-07-27 15:49:09] local.INFO: Packet analysis {"connection_id":144074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa315"} 
[2026-07-27 15:49:09] local.INFO: Extracted packet for processing {"connection_id":144074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa315"} 
[2026-07-27 15:49:09] local.INFO: GPS Element Parsed {"raw_longitude":765134720,"raw_latitude":95390376,"longitude_deg":76.513472,"latitude_deg":9.5390376,"altitude":9,"angle":6,"satellites":42,"speed":57,"hex_longitude":"2d9b0780","hex_latitude":"05af8aa8","is_valid_coordinates":true} 
[2026-07-27 15:49:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:49:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997756160001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:49:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359053579408900096,"note":"Value kept but may cause issues"} 
[2026-07-27 15:49:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7276761442250436608,"note":"Value kept but may cause issues"} 
[2026-07-27 15:49:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:49:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785147491000,"timestamp_ms":1785147491000,"timestamp_seconds":1785147491,"priority":1,"record_length":96,"hex_timestamp":"0000019fa31502b8"} 
[2026-07-27 15:49:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:49:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:49:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-27 15:49:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:49:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:49:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:49:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:49:09] local.INFO: Teltonika packet parsed successfully {"connection_id":144074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:49:09] local.INFO: Passing IMEI to GPS processor {"connection_id":144074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:49:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":144074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:49:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:49:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 15:49:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 15:49:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997756160001,"66":27919,"117":206,"83":17408,"24":57,"16":359053579408900096,"45":-7276761442250436608},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,83,24,16,45]} 
[2026-07-27 15:49:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 15:49:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 15:49:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997756160001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:49:09] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-07-27 15:49:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 15:49:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359053579408900096,"km_value":359053579408900.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:49:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7276761442250436608,"description":"Unknown IO ID 45"} 
[2026-07-27 15:49:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997756160001,"power":27919,"unknown_117":206,"unknown_83":17408,"ignition":57,"odometer":null,"unknown_45":-7276761442250436608}} 
[2026-07-27 15:49:09] local.INFO: DEBUG: GPS processor result {"connection_id":144074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:49:09] local.INFO: GPS data processed {"connection_id":144074,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:49:09] local.INFO: Acknowledgment sent {"connection_id":144074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:49:11] local.INFO: TCP Data received {"connection_id":145363,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa313ba98012d18f44007216548004a00112c..."} 
[2026-07-27 15:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa313ba98012d18f44007216548004a00112c..."} 
[2026-07-27 15:49:11] local.INFO: Processing buffer {"connection_id":145363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa313ba98012d18f44007216548004a00112c..."} 
[2026-07-27 15:49:11] local.INFO: Packet analysis {"connection_id":145363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa313"} 
[2026-07-27 15:49:11] local.INFO: Extracted packet for processing {"connection_id":145363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa313"} 
[2026-07-27 15:49:11] local.INFO: GPS Element Parsed {"raw_longitude":756610112,"raw_latitude":119629128,"longitude_deg":75.6610112,"latitude_deg":11.9629128,"altitude":74,"angle":17,"satellites":44,"speed":4,"hex_longitude":"2d18f440","hex_latitude":"07216548","is_valid_coordinates":true} 
[2026-07-27 15:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:49:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997735936001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:49:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8883671700340736,"note":"Value kept but may cause issues"} 
[2026-07-27 15:49:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1798132550596880384,"note":"Value kept but may cause issues"} 
[2026-07-27 15:49:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:49:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785147407000,"timestamp_ms":1785147407000,"timestamp_seconds":1785147407,"priority":1,"record_length":96,"hex_timestamp":"0000019fa313ba98"} 
[2026-07-27 15:49:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:49:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15: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":51,"n8_eight_byte":231,"data_length":795,"current_offset":136} 
[2026-07-27 15:49:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2532,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:49:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:49:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:49:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:49:11] local.INFO: Teltonika packet parsed successfully {"connection_id":145363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:49:11] local.INFO: Passing IMEI to GPS processor {"connection_id":145363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:49:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":145363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:49:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:49:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:49:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:49:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997735936001,"66":13287,"121":206,"28":31744,"24":4,"16":8883671700340736,"45":1798132550596880384},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 15:49:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:49:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:49:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997735936001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:49:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 15:49:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:49:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8883671700340736,"km_value":8883671700340.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:49:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1798132550596880384,"description":"Unknown IO ID 45"} 
[2026-07-27 15:49:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997735936001,"power":13287,"unknown_121":206,"unknown_28":31744,"ignition":4,"odometer":null,"unknown_45":1798132550596880384}} 
[2026-07-27 15:49:11] local.INFO: DEBUG: GPS processor result {"connection_id":145363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553907,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:49:11] local.INFO: GPS data processed {"connection_id":145363,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:49:11] local.INFO: Acknowledgment sent {"connection_id":145363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:49:17] local.INFO: TCP Data received {"connection_id":142941,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142941,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:49:17] local.INFO: Processing buffer {"connection_id":142941,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:49:17] local.INFO: IMEI packet received {"connection_id":142941,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 15:49:17] local.INFO: IMEI acknowledgment sent {"connection_id":142941,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:49:20] local.INFO: TCP Data received {"connection_id":142941,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:49:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142941,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:49:20] local.INFO: Processing buffer {"connection_id":142941,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:49:20] local.INFO: IMEI packet received {"connection_id":142941,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 15:49:20] local.INFO: IMEI acknowledgment sent {"connection_id":142941,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:49:22] local.INFO: TCP Data received {"connection_id":142941,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa315be38012d0ae1c0070594e8002c011014..."} 
[2026-07-27 15:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142941,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa315be38012d0ae1c0070594e8002c011014..."} 
[2026-07-27 15:49:22] local.INFO: Processing buffer {"connection_id":142941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa315be38012d0ae1c0070594e8002c011014..."} 
[2026-07-27 15:49:22] local.INFO: Packet analysis {"connection_id":142941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa315"} 
[2026-07-27 15:49:22] local.INFO: Extracted packet for processing {"connection_id":142941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa315"} 
[2026-07-27 15:49:22] local.INFO: GPS Element Parsed {"raw_longitude":755687872,"raw_latitude":117806312,"longitude_deg":75.5687872,"latitude_deg":11.7806312,"altitude":44,"angle":272,"satellites":20,"speed":11,"hex_longitude":"2d0ae1c0","hex_latitude":"070594e8","is_valid_coordinates":true} 
[2026-07-27 15:49:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:49:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997769216001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:49:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25910631458668544,"note":"Value kept but may cause issues"} 
[2026-07-27 15:49:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":785174477692715008,"note":"Value kept but may cause issues"} 
[2026-07-27 15:49:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:49:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785147539000,"timestamp_ms":1785147539000,"timestamp_seconds":1785147539,"priority":1,"record_length":96,"hex_timestamp":"0000019fa315be38"} 
[2026-07-27 15:49:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:49: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-07-27 15:49:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-27 15:49:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:49:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:49:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:49:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:49:22] local.INFO: Teltonika packet parsed successfully {"connection_id":142941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:49:22] local.INFO: Passing IMEI to GPS processor {"connection_id":142941,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 15:49:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":142941,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 15:49:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:49:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 15:49:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 15:49:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997769216001,"66":14548,"165":206,"94":10240,"24":11,"16":25910631458668544,"45":785174477692715008},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-07-27 15:49:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 15:49:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 15:49:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997769216001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:49:22] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-27 15:49:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 15:49:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25910631458668544,"km_value":25910631458668.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:49:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":785174477692715008,"description":"Unknown IO ID 45"} 
[2026-07-27 15:49:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997769216001,"power":14548,"unknown_165":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":785174477692715008}} 
[2026-07-27 15:49:22] local.INFO: DEBUG: GPS processor result {"connection_id":142941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553908,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:49:22] local.INFO: GPS data processed {"connection_id":142941,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:49:22] local.INFO: Acknowledgment sent {"connection_id":142941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:49:31] local.INFO: TCP Data received {"connection_id":143092,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:49:31] local.INFO: Processing buffer {"connection_id":143092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:49:31] local.INFO: IMEI packet received {"connection_id":143092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 15:49:31] local.INFO: IMEI acknowledgment sent {"connection_id":143092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:49:31] local.INFO: TCP Data received {"connection_id":143092,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:49:31] local.INFO: Processing buffer {"connection_id":143092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:49:31] local.INFO: IMEI packet received {"connection_id":143092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 15:49:31] local.INFO: IMEI acknowledgment sent {"connection_id":143092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:49:37] local.INFO: TCP Data received {"connection_id":143092,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:49:37] local.INFO: Processing buffer {"connection_id":143092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:49:37] local.INFO: IMEI packet received {"connection_id":143092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 15:49:37] local.INFO: IMEI acknowledgment sent {"connection_id":143092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:49:38] local.INFO: TCP Data received {"connection_id":143092,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3151e10012d9b0f0005afafe80008000f2a..."} 
[2026-07-27 15:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3151e10012d9b0f0005afafe80008000f2a..."} 
[2026-07-27 15:49:38] local.INFO: Processing buffer {"connection_id":143092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3151e10012d9b0f0005afafe80008000f2a..."} 
[2026-07-27 15:49:38] local.INFO: Packet analysis {"connection_id":143092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa315"} 
[2026-07-27 15:49:38] local.INFO: Extracted packet for processing {"connection_id":143092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa315"} 
[2026-07-27 15:49:38] local.INFO: GPS Element Parsed {"raw_longitude":765136640,"raw_latitude":95399912,"longitude_deg":76.513664,"latitude_deg":9.5399912,"altitude":8,"angle":15,"satellites":42,"speed":53,"hex_longitude":"2d9b0f00","hex_latitude":"05afafe8","is_valid_coordinates":true} 
[2026-07-27 15:49:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:49:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997757696001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:49:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359054051855302656,"note":"Value kept but may cause issues"} 
[2026-07-27 15:49:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7275705911085455360,"note":"Value kept but may cause issues"} 
[2026-07-27 15:49:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:49:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785147498000,"timestamp_ms":1785147498000,"timestamp_seconds":1785147498,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3151e10"} 
[2026-07-27 15:49:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:49:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:49:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-27 15:49:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:49:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:49:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:49:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:49:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:49:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:49:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:49:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:49:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 15:49:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 15:49:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997757696001,"66":27919,"117":206,"83":17408,"24":53,"16":359054051855302656,"45":-7275705911085455360},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,83,24,16,45]} 
[2026-07-27 15:49:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 15:49:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 15:49:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997757696001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:49:38] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-07-27 15:49:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 15:49:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359054051855302656,"km_value":359054051855302.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:49:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7275705911085455360,"description":"Unknown IO ID 45"} 
[2026-07-27 15:49:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997757696001,"power":27919,"unknown_117":206,"unknown_83":17408,"ignition":53,"odometer":null,"unknown_45":-7275705911085455360}} 
[2026-07-27 15:49:38] local.INFO: DEBUG: GPS processor result {"connection_id":143092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:49:38] local.INFO: GPS data processed {"connection_id":143092,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:49:38] local.INFO: Acknowledgment sent {"connection_id":143092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:49:46] local.INFO: TCP Data received {"connection_id":145363,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa313ce20012d18f480072165c8004a00d12c..."} 
[2026-07-27 15:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa313ce20012d18f480072165c8004a00d12c..."} 
[2026-07-27 15:49:46] local.INFO: Processing buffer {"connection_id":145363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa313ce20012d18f480072165c8004a00d12c..."} 
[2026-07-27 15:49:46] local.INFO: Packet analysis {"connection_id":145363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa313"} 
[2026-07-27 15:49:46] local.INFO: Extracted packet for processing {"connection_id":145363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa313"} 
[2026-07-27 15:49:46] local.INFO: GPS Element Parsed {"raw_longitude":756610176,"raw_latitude":119629256,"longitude_deg":75.6610176,"latitude_deg":11.9629256,"altitude":74,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d18f480","hex_latitude":"072165c8","is_valid_coordinates":true} 
[2026-07-27 15:49:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:49:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997736192001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:49:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8883688880209920,"note":"Value kept but may cause issues"} 
[2026-07-27 15:49:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1798132550596904960,"note":"Value kept but may cause issues"} 
[2026-07-27 15:49: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-07-27 15:49:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785147412000,"timestamp_ms":1785147412000,"timestamp_seconds":1785147412,"priority":1,"record_length":96,"hex_timestamp":"0000019fa313ce20"} 
[2026-07-27 15:49:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:49:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:49:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":231,"data_length":795,"current_offset":136} 
[2026-07-27 15:49:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2532,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:49:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:49:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:49:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:49:46] local.INFO: Teltonika packet parsed successfully {"connection_id":145363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:49:46] local.INFO: Passing IMEI to GPS processor {"connection_id":145363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:49:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":145363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:49:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:49:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:49:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:49:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997736192001,"66":12722,"121":206,"28":31744,"24":0,"16":8883688880209920,"45":1798132550596904960},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 15:49:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:49:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:49:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997736192001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:49:46] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 15:49:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:49:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8883688880209920,"km_value":8883688880209.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:49:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1798132550596904960,"description":"Unknown IO ID 45"} 
[2026-07-27 15:49:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997736192001,"power":12722,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1798132550596904960}} 
[2026-07-27 15:49:47] local.INFO: DEBUG: GPS processor result {"connection_id":145363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553910,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:49:47] local.INFO: GPS data processed {"connection_id":145363,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:49:47] local.INFO: Acknowledgment sent {"connection_id":145363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:49:54] local.INFO: TCP Data received {"connection_id":142941,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa315c608012d0adf00070594a0002d010414..."} 
[2026-07-27 15:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142941,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa315c608012d0adf00070594a0002d010414..."} 
[2026-07-27 15:49:54] local.INFO: Processing buffer {"connection_id":142941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa315c608012d0adf00070594a0002d010414..."} 
[2026-07-27 15:49:54] local.INFO: Packet analysis {"connection_id":142941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa315"} 
[2026-07-27 15:49:54] local.INFO: Extracted packet for processing {"connection_id":142941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa315"} 
[2026-07-27 15:49:54] local.INFO: GPS Element Parsed {"raw_longitude":755687168,"raw_latitude":117806240,"longitude_deg":75.5687168,"latitude_deg":11.780624,"altitude":45,"angle":260,"satellites":20,"speed":13,"hex_longitude":"2d0adf00","hex_latitude":"070594a0","is_valid_coordinates":true} 
[2026-07-27 15:49:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:49:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997769984001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:49:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25910661523439616,"note":"Value kept but may cause issues"} 
[2026-07-27 15:49:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":784118946530125824,"note":"Value kept but may cause issues"} 
[2026-07-27 15:49:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:49:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785147541000,"timestamp_ms":1785147541000,"timestamp_seconds":1785147541,"priority":1,"record_length":96,"hex_timestamp":"0000019fa315c608"} 
[2026-07-27 15:49:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:49: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-07-27 15:49:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-27 15:49:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:49:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:49:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:49:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:49:54] local.INFO: Teltonika packet parsed successfully {"connection_id":142941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:49:54] local.INFO: Passing IMEI to GPS processor {"connection_id":142941,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 15:49:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":142941,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 15:49:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:49:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 15:49:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 15:49:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997769984001,"66":14135,"165":206,"94":10240,"24":13,"16":25910661523439616,"45":784118946530125824},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-07-27 15:49:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 15:49:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 15:49:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997769984001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:49:54] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-27 15:49:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 15:49:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25910661523439616,"km_value":25910661523439.617,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:49:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":784118946530125824,"description":"Unknown IO ID 45"} 
[2026-07-27 15:49:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997769984001,"power":14135,"unknown_165":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":784118946530125824}} 
[2026-07-27 15:49:54] local.INFO: DEBUG: GPS processor result {"connection_id":142941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553911,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:49:54] local.INFO: GPS data processed {"connection_id":142941,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:49:54] local.INFO: Acknowledgment sent {"connection_id":142941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:49:59] local.INFO: TCP Data received {"connection_id":143093,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143093,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:49:59] local.INFO: Processing buffer {"connection_id":143093,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:49:59] local.INFO: IMEI packet received {"connection_id":143093,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 15:49:59] local.INFO: IMEI acknowledgment sent {"connection_id":143093,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:50:03] local.INFO: TCP Data received {"connection_id":143093,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143093,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:50:03] local.INFO: Processing buffer {"connection_id":143093,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:50:03] local.INFO: IMEI packet received {"connection_id":143093,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 15:50:03] local.INFO: IMEI acknowledgment sent {"connection_id":143093,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:50:05] local.INFO: TCP Data received {"connection_id":143093,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa313ddc0012d18f440072164c0004a00c52e..."} 
[2026-07-27 15:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa313ddc0012d18f440072164c0004a00c52e..."} 
[2026-07-27 15:50:05] local.INFO: Processing buffer {"connection_id":143093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa313ddc0012d18f440072164c0004a00c52e..."} 
[2026-07-27 15:50:05] local.INFO: Packet analysis {"connection_id":143093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa313"} 
[2026-07-27 15:50:05] local.INFO: Extracted packet for processing {"connection_id":143093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa313"} 
[2026-07-27 15:50:05] local.INFO: GPS Element Parsed {"raw_longitude":756610112,"raw_latitude":119628992,"longitude_deg":75.6610112,"latitude_deg":11.9628992,"altitude":74,"angle":197,"satellites":46,"speed":2,"hex_longitude":"2d18f440","hex_latitude":"072164c0","is_valid_coordinates":true} 
[2026-07-27 15:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:50:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997737472001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:50:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8883701765111808,"note":"Value kept but may cause issues"} 
[2026-07-27 15:50:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1798202919341115392,"note":"Value kept but may cause issues"} 
[2026-07-27 15:50:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:50:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785147416000,"timestamp_ms":1785147416000,"timestamp_seconds":1785147416,"priority":1,"record_length":96,"hex_timestamp":"0000019fa313ddc0"} 
[2026-07-27 15:50:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:50:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-27 15:50:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:50:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:50:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:50:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:50:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:50:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:50:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:50:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:50:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:50:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:50:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997737472001,"66":13254,"121":206,"28":31744,"24":2,"16":8883701765111808,"45":1798202919341115392},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 15:50:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:50:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:50:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997737472001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:50:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 15:50:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:50:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8883701765111808,"km_value":8883701765111.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:50:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1798202919341115392,"description":"Unknown IO ID 45"} 
[2026-07-27 15:50:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997737472001,"power":13254,"unknown_121":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1798202919341115392}} 
[2026-07-27 15:50:05] local.INFO: DEBUG: GPS processor result {"connection_id":143093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553912,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:50:05] local.INFO: GPS data processed {"connection_id":143093,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:50:05] local.INFO: Acknowledgment sent {"connection_id":143093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:50:12] local.INFO: TCP Data received {"connection_id":143092,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3153968012d9b17c005afd4300009000a28..."} 
[2026-07-27 15:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3153968012d9b17c005afd4300009000a28..."} 
[2026-07-27 15:50:12] local.INFO: Processing buffer {"connection_id":143092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3153968012d9b17c005afd4300009000a28..."} 
[2026-07-27 15:50:12] local.INFO: Packet analysis {"connection_id":143092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa315"} 
[2026-07-27 15:50:12] local.INFO: Extracted packet for processing {"connection_id":143092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa315"} 
[2026-07-27 15:50:12] local.INFO: GPS Element Parsed {"raw_longitude":765138880,"raw_latitude":95409200,"longitude_deg":76.513888,"latitude_deg":9.54092,"altitude":9,"angle":10,"satellites":40,"speed":54,"hex_longitude":"2d9b17c0","hex_latitude":"05afd430","is_valid_coordinates":true} 
[2026-07-27 15: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-07-27 15:50:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997759488001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:50:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359054515711770624,"note":"Value kept but may cause issues"} 
[2026-07-27 15:50:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7273594848757684224,"note":"Value kept but may cause issues"} 
[2026-07-27 15:50:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:50:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785147505000,"timestamp_ms":1785147505000,"timestamp_seconds":1785147505,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3153968"} 
[2026-07-27 15:50:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:50:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-27 15:50:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15: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-07-27 15:50:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:50:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:50:12] local.INFO: Teltonika packet parsed successfully {"connection_id":143092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:50:12] local.INFO: Passing IMEI to GPS processor {"connection_id":143092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:50:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":143092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:50:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:50:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 15:50:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 15:50:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997759488001,"66":28006,"117":206,"83":17408,"24":54,"16":359054515711770624,"45":-7273594848757684224},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,83,24,16,45]} 
[2026-07-27 15:50:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 15:50:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 15:50:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997759488001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:50:12] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-07-27 15:50:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 15:50:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359054515711770624,"km_value":359054515711770.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:50:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7273594848757684224,"description":"Unknown IO ID 45"} 
[2026-07-27 15:50:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997759488001,"power":28006,"unknown_117":206,"unknown_83":17408,"ignition":54,"odometer":null,"unknown_45":-7273594848757684224}} 
[2026-07-27 15:50:12] local.INFO: DEBUG: GPS processor result {"connection_id":143092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:50:12] local.INFO: GPS data processed {"connection_id":143092,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:50:12] local.INFO: Acknowledgment sent {"connection_id":143092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:50:16] local.INFO: TCP Data received {"connection_id":142942,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:50:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142942,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:50:16] local.INFO: Processing buffer {"connection_id":142942,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:50:16] local.INFO: IMEI packet received {"connection_id":142942,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 15:50:16] local.INFO: IMEI acknowledgment sent {"connection_id":142942,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:50:18] local.INFO: TCP Data received {"connection_id":142942,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:50:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142942,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:50:18] local.INFO: Processing buffer {"connection_id":142942,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:50:18] local.INFO: IMEI packet received {"connection_id":142942,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 15:50:18] local.INFO: IMEI acknowledgment sent {"connection_id":142942,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:50:21] local.INFO: TCP Data received {"connection_id":142942,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142942,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:50:21] local.INFO: Processing buffer {"connection_id":142942,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:50:21] local.INFO: IMEI packet received {"connection_id":142942,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 15:50:21] local.INFO: IMEI acknowledgment sent {"connection_id":142942,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:50:22] local.INFO: TCP Data received {"connection_id":142942,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3160870012d0abb4007058c38002d010214..."} 
[2026-07-27 15:50:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3160870012d0abb4007058c38002d010214..."} 
[2026-07-27 15:50:22] local.INFO: Processing buffer {"connection_id":142942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3160870012d0abb4007058c38002d010214..."} 
[2026-07-27 15:50:22] local.INFO: Packet analysis {"connection_id":142942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa316"} 
[2026-07-27 15:50:22] local.INFO: Extracted packet for processing {"connection_id":142942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa316"} 
[2026-07-27 15:50:22] local.INFO: GPS Element Parsed {"raw_longitude":755678016,"raw_latitude":117804088,"longitude_deg":75.5678016,"latitude_deg":11.7804088,"altitude":45,"angle":258,"satellites":20,"speed":19,"hex_longitude":"2d0abb40","hex_latitude":"07058c38","is_valid_coordinates":true} 
[2026-07-27 15:50:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:50:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997770496001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:50:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25911108200038400,"note":"Value kept but may cause issues"} 
[2026-07-27 15:50:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":783344890344153088,"note":"Value kept but may cause issues"} 
[2026-07-27 15:50:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:50:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785147558000,"timestamp_ms":1785147558000,"timestamp_seconds":1785147558,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3160870"} 
[2026-07-27 15:50:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:50: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-07-27 15:50:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-07-27 15:50:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:50:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:50:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:50:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:50:22] local.INFO: Teltonika packet parsed successfully {"connection_id":142942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:50:22] local.INFO: Passing IMEI to GPS processor {"connection_id":142942,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 15:50:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":142942,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 15:50:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:50:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 15:50:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 15:50:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997770496001,"66":14450,"165":206,"94":10240,"24":19,"16":25911108200038400,"45":783344890344153088},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-07-27 15:50:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 15:50:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 15:50:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997770496001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:50:22] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-27 15:50:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 15:50:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25911108200038400,"km_value":25911108200038.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:50:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":783344890344153088,"description":"Unknown IO ID 45"} 
[2026-07-27 15:50:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997770496001,"power":14450,"unknown_165":206,"unknown_94":10240,"ignition":19,"odometer":null,"unknown_45":783344890344153088}} 
[2026-07-27 15:50:23] local.INFO: DEBUG: GPS processor result {"connection_id":142942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553914,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:50:23] local.INFO: GPS data processed {"connection_id":142942,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:50:23] local.INFO: Acknowledgment sent {"connection_id":142942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:50:31] local.INFO: TCP Data received {"connection_id":143094,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:50:31] local.INFO: Processing buffer {"connection_id":143094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:50:31] local.INFO: IMEI packet received {"connection_id":143094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 15:50:31] local.INFO: IMEI acknowledgment sent {"connection_id":143094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:50:31] local.INFO: TCP Data received {"connection_id":143094,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:50:31] local.INFO: Processing buffer {"connection_id":143094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:50:31] local.INFO: IMEI packet received {"connection_id":143094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 15:50:31] local.INFO: IMEI acknowledgment sent {"connection_id":143094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:50:37] local.INFO: TCP Data received {"connection_id":143093,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa313f918012d18f3c007216430004a01022c..."} 
[2026-07-27 15:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa313f918012d18f3c007216430004a01022c..."} 
[2026-07-27 15:50:37] local.INFO: Processing buffer {"connection_id":143093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa313f918012d18f3c007216430004a01022c..."} 
[2026-07-27 15:50:37] local.INFO: Packet analysis {"connection_id":143093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa313"} 
[2026-07-27 15:50:37] local.INFO: Extracted packet for processing {"connection_id":143093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa313"} 
[2026-07-27 15:50:37] local.INFO: GPS Element Parsed {"raw_longitude":756609984,"raw_latitude":119628848,"longitude_deg":75.6609984,"latitude_deg":11.9628848,"altitude":74,"angle":258,"satellites":44,"speed":3,"hex_longitude":"2d18f3c0","hex_latitude":"07216430","is_valid_coordinates":true} 
[2026-07-27 15:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:50:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997738496001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:50:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8883714650013696,"note":"Value kept but may cause issues"} 
[2026-07-27 15:50:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1798132550596870144,"note":"Value kept but may cause issues"} 
[2026-07-27 15:50:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:50:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785147423000,"timestamp_ms":1785147423000,"timestamp_seconds":1785147423,"priority":1,"record_length":96,"hex_timestamp":"0000019fa313f918"} 
[2026-07-27 15:50:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:50: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-07-27 15:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-27 15:50:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:50:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:50:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:50:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:50:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:50:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:50:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:50:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:50:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:50:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:50:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997738496001,"66":13276,"121":206,"28":31744,"24":3,"16":8883714650013696,"45":1798132550596870144},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 15:50:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:50:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:50:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997738496001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:50:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 15:50:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:50:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8883714650013696,"km_value":8883714650013.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:50:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1798132550596870144,"description":"Unknown IO ID 45"} 
[2026-07-27 15:50:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997738496001,"power":13276,"unknown_121":206,"unknown_28":31744,"ignition":3,"odometer":null,"unknown_45":1798132550596870144}} 
[2026-07-27 15:50:37] local.INFO: DEBUG: GPS processor result {"connection_id":143093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553915,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:50:37] local.INFO: GPS data processed {"connection_id":143093,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:50:37] local.INFO: Acknowledgment sent {"connection_id":143093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:50:37] local.INFO: TCP Data received {"connection_id":143094,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:50:37] local.INFO: Processing buffer {"connection_id":143094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:50:37] local.INFO: IMEI packet received {"connection_id":143094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 15:50:37] local.INFO: IMEI acknowledgment sent {"connection_id":143094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:50:38] local.INFO: TCP Data received {"connection_id":143094,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3163368012d9b18c005b13a180012015226..."} 
[2026-07-27 15:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3163368012d9b18c005b13a180012015226..."} 
[2026-07-27 15:50:38] local.INFO: Processing buffer {"connection_id":143094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3163368012d9b18c005b13a180012015226..."} 
[2026-07-27 15:50:38] local.INFO: Packet analysis {"connection_id":143094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa316"} 
[2026-07-27 15:50:38] local.INFO: Extracted packet for processing {"connection_id":143094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa316"} 
[2026-07-27 15:50:38] local.INFO: GPS Element Parsed {"raw_longitude":765139136,"raw_latitude":95500824,"longitude_deg":76.5139136,"latitude_deg":9.5500824,"altitude":18,"angle":338,"satellites":38,"speed":54,"hex_longitude":"2d9b18c0","hex_latitude":"05b13a18","is_valid_coordinates":true} 
[2026-07-27 15:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:50:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997776896001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:50:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359058978182791168,"note":"Value kept but may cause issues"} 
[2026-07-27 15:50:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7269583830314727424,"note":"Value kept but may cause issues"} 
[2026-07-27 15:50:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:50:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785147569000,"timestamp_ms":1785147569000,"timestamp_seconds":1785147569,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3163368"} 
[2026-07-27 15:50:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:50:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-27 15:50:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:50:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:50:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:50:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:50:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:50:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:50:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:50:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:50:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 15:50:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 15:50:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997776896001,"66":27626,"117":206,"83":17408,"24":54,"16":359058978182791168,"45":-7269583830314727424},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,83,24,16,45]} 
[2026-07-27 15:50:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 15:50:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 15:50:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997776896001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:50:38] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-07-27 15:50:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 15:50:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359058978182791168,"km_value":359058978182791.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:50:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7269583830314727424,"description":"Unknown IO ID 45"} 
[2026-07-27 15:50:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997776896001,"power":27626,"unknown_117":206,"unknown_83":17408,"ignition":54,"odometer":null,"unknown_45":-7269583830314727424}} 
[2026-07-27 15:50:38] local.INFO: DEBUG: GPS processor result {"connection_id":143094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:50:38] local.INFO: GPS data processed {"connection_id":143094,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:50:38] local.INFO: Acknowledgment sent {"connection_id":143094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:50:53] local.INFO: TCP Data received {"connection_id":142942,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3176800012d0a86000705a8980027011d15..."} 
[2026-07-27 15:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3176800012d0a86000705a8980027011d15..."} 
[2026-07-27 15:50:53] local.INFO: Processing buffer {"connection_id":142942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3176800012d0a86000705a8980027011d15..."} 
[2026-07-27 15:50:53] local.INFO: Packet analysis {"connection_id":142942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa317"} 
[2026-07-27 15:50:53] local.INFO: Extracted packet for processing {"connection_id":142942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa317"} 
[2026-07-27 15:50:53] local.INFO: GPS Element Parsed {"raw_longitude":755664384,"raw_latitude":117811352,"longitude_deg":75.5664384,"latitude_deg":11.7811352,"altitude":39,"angle":285,"satellites":21,"speed":8,"hex_longitude":"2d0a8600","hex_latitude":"0705a898","is_valid_coordinates":true} 
[2026-07-27 15: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-07-27 15:50:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997797632001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:50:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25912027323039744,"note":"Value kept but may cause issues"} 
[2026-07-27 15:50:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":758434354906550272,"note":"Value kept but may cause issues"} 
[2026-07-27 15:50:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:50:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785147648000,"timestamp_ms":1785147648000,"timestamp_seconds":1785147648,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3176800"} 
[2026-07-27 15:50:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:50:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:50:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-27 15:50:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15: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-07-27 15:50:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:50:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:50:53] local.INFO: Teltonika packet parsed successfully {"connection_id":142942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:50:53] local.INFO: Passing IMEI to GPS processor {"connection_id":142942,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 15:50:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":142942,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 15:50:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:50:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 15:50:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 15:50:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997797632001,"66":14396,"153":206,"94":10240,"24":8,"16":25912027323039744,"45":758434354906550272},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-07-27 15:50:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 15:50:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 15:50:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997797632001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:50:53] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-27 15:50:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 15:50:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25912027323039744,"km_value":25912027323039.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:50:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":758434354906550272,"description":"Unknown IO ID 45"} 
[2026-07-27 15:50:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997797632001,"power":14396,"unknown_153":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":758434354906550272}} 
[2026-07-27 15:50:54] local.INFO: DEBUG: GPS processor result {"connection_id":142942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553917,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:50:54] local.INFO: GPS data processed {"connection_id":142942,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:50:54] local.INFO: Acknowledgment sent {"connection_id":142942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:50:59] local.INFO: TCP Data received {"connection_id":145364,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145364,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:50:59] local.INFO: Processing buffer {"connection_id":145364,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:50:59] local.INFO: IMEI packet received {"connection_id":145364,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 15:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":145364,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:51:04] local.INFO: TCP Data received {"connection_id":145364,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145364,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:51:04] local.INFO: Processing buffer {"connection_id":145364,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:51:04] local.INFO: IMEI packet received {"connection_id":145364,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 15:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":145364,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:51:06] local.INFO: TCP Data received {"connection_id":145364,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa31400e8012d18f24007216438004a01182d..."} 
[2026-07-27 15:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa31400e8012d18f24007216438004a01182d..."} 
[2026-07-27 15:51:06] local.INFO: Processing buffer {"connection_id":145364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa31400e8012d18f24007216438004a01182d..."} 
[2026-07-27 15:51:06] local.INFO: Packet analysis {"connection_id":145364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa314"} 
[2026-07-27 15:51:06] local.INFO: Extracted packet for processing {"connection_id":145364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa314"} 
[2026-07-27 15:51:06] local.INFO: GPS Element Parsed {"raw_longitude":756609600,"raw_latitude":119628856,"longitude_deg":75.66096,"latitude_deg":11.9628856,"altitude":74,"angle":280,"satellites":45,"speed":8,"hex_longitude":"2d18f240","hex_latitude":"07216438","is_valid_coordinates":true} 
[2026-07-27 15:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:51:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997740288001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:51:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8883731829882880,"note":"Value kept but may cause issues"} 
[2026-07-27 15:51:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1797991813108477952,"note":"Value kept but may cause issues"} 
[2026-07-27 15:51:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:51:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785147425000,"timestamp_ms":1785147425000,"timestamp_seconds":1785147425,"priority":1,"record_length":96,"hex_timestamp":"0000019fa31400e8"} 
[2026-07-27 15:51:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:51:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-27 15:51:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:51:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:51:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:51:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:51:06] local.INFO: Teltonika packet parsed successfully {"connection_id":145364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:51:06] local.INFO: Passing IMEI to GPS processor {"connection_id":145364,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:51:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":145364,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:51:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:51:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:51:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:51:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997740288001,"66":13243,"121":206,"28":31744,"24":8,"16":8883731829882880,"45":1797991813108477952},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 15:51:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:51:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:51:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997740288001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:51:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 15:51:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:51:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8883731829882880,"km_value":8883731829882.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:51:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1797991813108477952,"description":"Unknown IO ID 45"} 
[2026-07-27 15:51:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997740288001,"power":13243,"unknown_121":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1797991813108477952}} 
[2026-07-27 15:51:06] local.INFO: DEBUG: GPS processor result {"connection_id":145364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553918,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:51:06] local.INFO: GPS data processed {"connection_id":145364,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:51:06] local.INFO: Acknowledgment sent {"connection_id":145364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:51:09] local.INFO: TCP Data received {"connection_id":143094,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3163f20012d9b118005b147c00014014629..."} 
[2026-07-27 15:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3163f20012d9b118005b147c00014014629..."} 
[2026-07-27 15:51:09] local.INFO: Processing buffer {"connection_id":143094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3163f20012d9b118005b147c00014014629..."} 
[2026-07-27 15:51:09] local.INFO: Packet analysis {"connection_id":143094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa316"} 
[2026-07-27 15:51:09] local.INFO: Extracted packet for processing {"connection_id":143094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa316"} 
[2026-07-27 15:51:09] local.INFO: GPS Element Parsed {"raw_longitude":765137280,"raw_latitude":95504320,"longitude_deg":76.513728,"latitude_deg":9.550432,"altitude":20,"angle":326,"satellites":41,"speed":52,"hex_longitude":"2d9b1180","hex_latitude":"05b147c0","is_valid_coordinates":true} 
[2026-07-27 15:51:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:51:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997777664001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:51:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359059167161352192,"note":"Value kept but may cause issues"} 
[2026-07-27 15:51:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7270850467708921856,"note":"Value kept but may cause issues"} 
[2026-07-27 15:51:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:51:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785147572000,"timestamp_ms":1785147572000,"timestamp_seconds":1785147572,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3163f20"} 
[2026-07-27 15:51:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:51:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-07-27 15:51:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:51:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:51:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:51:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:51:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:51:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:51:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:51:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:51:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 15:51:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 15:51:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997777664001,"66":27745,"117":206,"83":17408,"24":52,"16":359059167161352192,"45":-7270850467708921856},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,83,24,16,45]} 
[2026-07-27 15:51:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 15:51:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 15:51:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997777664001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:51:09] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-07-27 15:51:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 15:51:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359059167161352192,"km_value":359059167161352.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:51:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7270850467708921856,"description":"Unknown IO ID 45"} 
[2026-07-27 15:51:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997777664001,"power":27745,"unknown_117":206,"unknown_83":17408,"ignition":52,"odometer":null,"unknown_45":-7270850467708921856}} 
[2026-07-27 15:51:09] local.INFO: DEBUG: GPS processor result {"connection_id":143094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:51:09] local.INFO: GPS data processed {"connection_id":143094,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:51:09] local.INFO: Acknowledgment sent {"connection_id":143094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:51:16] local.INFO: TCP Data received {"connection_id":144075,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144075,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:51:16] local.INFO: Processing buffer {"connection_id":144075,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:51:16] local.INFO: IMEI packet received {"connection_id":144075,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 15:51:16] local.INFO: IMEI acknowledgment sent {"connection_id":144075,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:51:21] local.INFO: TCP Data received {"connection_id":144075,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144075,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:51:21] local.INFO: Processing buffer {"connection_id":144075,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:51:21] local.INFO: IMEI packet received {"connection_id":144075,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 15:51:21] local.INFO: IMEI acknowledgment sent {"connection_id":144075,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:51:22] local.INFO: TCP Data received {"connection_id":144075,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3176be8012d0a85000705a8980026010515..."} 
[2026-07-27 15:51:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3176be8012d0a85000705a8980026010515..."} 
[2026-07-27 15:51:22] local.INFO: Processing buffer {"connection_id":144075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3176be8012d0a85000705a8980026010515..."} 
[2026-07-27 15:51:22] local.INFO: Packet analysis {"connection_id":144075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa317"} 
[2026-07-27 15:51:22] local.INFO: Extracted packet for processing {"connection_id":144075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa317"} 
[2026-07-27 15:51:22] local.INFO: GPS Element Parsed {"raw_longitude":755664128,"raw_latitude":117811352,"longitude_deg":75.5664128,"latitude_deg":11.7811352,"altitude":38,"angle":261,"satellites":21,"speed":6,"hex_longitude":"2d0a8500","hex_latitude":"0705a898","is_valid_coordinates":true} 
[2026-07-27 15:51:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:51:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997797888001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:51:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25912040207941632,"note":"Value kept but may cause issues"} 
[2026-07-27 15:51:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":758293617418213376,"note":"Value kept but may cause issues"} 
[2026-07-27 15:51:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:51:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785147649000,"timestamp_ms":1785147649000,"timestamp_seconds":1785147649,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3176be8"} 
[2026-07-27 15:51:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:51:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:51:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-27 15:51:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:51:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:51:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:51:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:51:22] local.INFO: Teltonika packet parsed successfully {"connection_id":144075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:51:22] local.INFO: Passing IMEI to GPS processor {"connection_id":144075,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 15:51:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":144075,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 15:51:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:51:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 15:51:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 15:51:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997797888001,"66":14428,"153":206,"94":10240,"24":6,"16":25912040207941632,"45":758293617418213376},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-07-27 15:51:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 15:51:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 15:51:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997797888001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:51:22] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-27 15:51:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 15:51:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25912040207941632,"km_value":25912040207941.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:51:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":758293617418213376,"description":"Unknown IO ID 45"} 
[2026-07-27 15:51:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997797888001,"power":14428,"unknown_153":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":758293617418213376}} 
[2026-07-27 15:51:22] local.INFO: DEBUG: GPS processor result {"connection_id":144075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553920,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:51:22] local.INFO: GPS data processed {"connection_id":144075,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:51:22] local.INFO: Acknowledgment sent {"connection_id":144075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:51:31] local.INFO: TCP Data received {"connection_id":142943,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:51:31] local.INFO: Processing buffer {"connection_id":142943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:51:31] local.INFO: IMEI packet received {"connection_id":142943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 15:51:31] local.INFO: IMEI acknowledgment sent {"connection_id":142943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:51:37] local.INFO: TCP Data received {"connection_id":142943,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:51:37] local.INFO: Processing buffer {"connection_id":142943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:51:37] local.INFO: IMEI packet received {"connection_id":142943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 15:51:37] local.INFO: IMEI acknowledgment sent {"connection_id":142943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:51:37] local.INFO: TCP Data received {"connection_id":145364,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa316c7d8012d18e9c007216660004a01382c..."} 
[2026-07-27 15:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa316c7d8012d18e9c007216660004a01382c..."} 
[2026-07-27 15:51:37] local.INFO: Processing buffer {"connection_id":145364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa316c7d8012d18e9c007216660004a01382c..."} 
[2026-07-27 15:51:37] local.INFO: Packet analysis {"connection_id":145364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa316"} 
[2026-07-27 15:51:37] local.INFO: Extracted packet for processing {"connection_id":145364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa316"} 
[2026-07-27 15:51:37] local.INFO: GPS Element Parsed {"raw_longitude":756607424,"raw_latitude":119629408,"longitude_deg":75.6607424,"latitude_deg":11.9629408,"altitude":74,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2d18e9c0","hex_latitude":"07216660","is_valid_coordinates":true} 
[2026-07-27 15:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:51:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997782016001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:51:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8883839204065280,"note":"Value kept but may cause issues"} 
[2026-07-27 15:51:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1795177063341514752,"note":"Value kept but may cause issues"} 
[2026-07-27 15:51:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:51:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785147607000,"timestamp_ms":1785147607000,"timestamp_seconds":1785147607,"priority":1,"record_length":96,"hex_timestamp":"0000019fa316c7d8"} 
[2026-07-27 15:51:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:51: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-07-27 15:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-27 15:51:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:51:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:51:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:51:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:51:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:51:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145364,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:51:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145364,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:51:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:51:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:51:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:51:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997782016001,"66":12885,"121":206,"28":31744,"24":0,"16":8883839204065280,"45":1795177063341514752},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 15:51:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:51:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:51:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997782016001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:51:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 15:51:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:51:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8883839204065280,"km_value":8883839204065.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:51:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1795177063341514752,"description":"Unknown IO ID 45"} 
[2026-07-27 15:51:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997782016001,"power":12885,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1795177063341514752}} 
[2026-07-27 15:51:37] local.INFO: DEBUG: GPS processor result {"connection_id":145364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553921,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:51:37] local.INFO: GPS data processed {"connection_id":145364,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:51:37] local.INFO: Acknowledgment sent {"connection_id":145364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:51:37] local.INFO: TCP Data received {"connection_id":142943,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3173538012d9b314005b24bd80008002029..."} 
[2026-07-27 15:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3173538012d9b314005b24bd80008002029..."} 
[2026-07-27 15:51:37] local.INFO: Processing buffer {"connection_id":142943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3173538012d9b314005b24bd80008002029..."} 
[2026-07-27 15:51:37] local.INFO: Packet analysis {"connection_id":142943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa317"} 
[2026-07-27 15:51:37] local.INFO: Extracted packet for processing {"connection_id":142943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa317"} 
[2026-07-27 15:51:37] local.INFO: GPS Element Parsed {"raw_longitude":765145408,"raw_latitude":95570904,"longitude_deg":76.5145408,"latitude_deg":9.5570904,"altitude":8,"angle":32,"satellites":41,"speed":41,"hex_longitude":"2d9b3140","hex_latitude":"05b24bd8","is_valid_coordinates":true} 
[2026-07-27 15:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:51:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997792256001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:51:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359062714804338688,"note":"Value kept but may cause issues"} 
[2026-07-27 15:51:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7270006042762858496,"note":"Value kept but may cause issues"} 
[2026-07-27 15:51:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:51:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785147635000,"timestamp_ms":1785147635000,"timestamp_seconds":1785147635,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3173538"} 
[2026-07-27 15:51:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:51:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-27 15:51:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:51:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:51:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:51:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:51:37] local.INFO: Teltonika packet parsed successfully {"connection_id":142943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:51:37] local.INFO: Passing IMEI to GPS processor {"connection_id":142943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:51:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":142943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:51:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:51:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 15:51:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 15:51:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997792256001,"66":27865,"118":206,"83":17408,"24":41,"16":359062714804338688,"45":-7270006042762858496},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,83,24,16,45]} 
[2026-07-27 15:51:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 15:51:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 15:51:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997792256001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:51:38] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 15:51:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 15:51:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359062714804338688,"km_value":359062714804338.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:51:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7270006042762858496,"description":"Unknown IO ID 45"} 
[2026-07-27 15:51:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997792256001,"power":27865,"unknown_118":206,"unknown_83":17408,"ignition":41,"odometer":null,"unknown_45":-7270006042762858496}} 
[2026-07-27 15:51:38] local.INFO: DEBUG: GPS processor result {"connection_id":142943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:51:38] local.INFO: GPS data processed {"connection_id":142943,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:51:38] local.INFO: Acknowledgment sent {"connection_id":142943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:51:53] local.INFO: TCP Data received {"connection_id":144075,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa31773b8012d0a83c00705a8980026012515..."} 
[2026-07-27 15:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa31773b8012d0a83c00705a8980026012515..."} 
[2026-07-27 15:51:53] local.INFO: Processing buffer {"connection_id":144075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa31773b8012d0a83c00705a8980026012515..."} 
[2026-07-27 15:51:53] local.INFO: Packet analysis {"connection_id":144075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa317"} 
[2026-07-27 15:51:53] local.INFO: Extracted packet for processing {"connection_id":144075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa317"} 
[2026-07-27 15:51:53] local.INFO: GPS Element Parsed {"raw_longitude":755663808,"raw_latitude":117811352,"longitude_deg":75.5663808,"latitude_deg":11.7811352,"altitude":38,"angle":293,"satellites":21,"speed":5,"hex_longitude":"2d0a83c0","hex_latitude":"0705a898","is_valid_coordinates":true} 
[2026-07-27 15:51:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:51:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997798144001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:51:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25912053092843520,"note":"Value kept but may cause issues"} 
[2026-07-27 15:51:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":758012142441502720,"note":"Value kept but may cause issues"} 
[2026-07-27 15:51:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:51:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785147651000,"timestamp_ms":1785147651000,"timestamp_seconds":1785147651,"priority":1,"record_length":96,"hex_timestamp":"0000019fa31773b8"} 
[2026-07-27 15:51:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:51:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:51:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-27 15:51:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:51:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:51:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:51:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:51:53] local.INFO: Teltonika packet parsed successfully {"connection_id":144075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:51:53] local.INFO: Passing IMEI to GPS processor {"connection_id":144075,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 15:51:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":144075,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 15:51:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:51:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 15:51:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 15:51:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997798144001,"66":14428,"153":206,"94":10240,"24":5,"16":25912053092843520,"45":758012142441502720},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-07-27 15:51:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 15:51:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 15:51:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997798144001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:51:53] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-27 15:51:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 15:51:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25912053092843520,"km_value":25912053092843.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:51:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":758012142441502720,"description":"Unknown IO ID 45"} 
[2026-07-27 15:51:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997798144001,"power":14428,"unknown_153":206,"unknown_94":10240,"ignition":5,"odometer":null,"unknown_45":758012142441502720}} 
[2026-07-27 15:51:53] local.INFO: DEBUG: GPS processor result {"connection_id":144075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553923,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:51:53] local.INFO: GPS data processed {"connection_id":144075,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:51:53] local.INFO: Acknowledgment sent {"connection_id":144075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:51:59] local.INFO: TCP Data received {"connection_id":145365,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145365,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:51:59] local.INFO: Processing buffer {"connection_id":145365,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:51:59] local.INFO: IMEI packet received {"connection_id":145365,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 15:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":145365,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:52:05] local.INFO: TCP Data received {"connection_id":145365,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145365,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:52:05] local.INFO: Processing buffer {"connection_id":145365,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:52:05] local.INFO: IMEI packet received {"connection_id":145365,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 15:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":145365,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:52:06] local.INFO: TCP Data received {"connection_id":145365,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa31719e0012d18e9c007216660004a01382b..."} 
[2026-07-27 15:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa31719e0012d18e9c007216660004a01382b..."} 
[2026-07-27 15:52:06] local.INFO: Processing buffer {"connection_id":145365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa31719e0012d18e9c007216660004a01382b..."} 
[2026-07-27 15:52:06] local.INFO: Packet analysis {"connection_id":145365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa317"} 
[2026-07-27 15:52:06] local.INFO: Extracted packet for processing {"connection_id":145365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa317"} 
[2026-07-27 15:52:06] local.INFO: GPS Element Parsed {"raw_longitude":756607424,"raw_latitude":119629408,"longitude_deg":75.6607424,"latitude_deg":11.9629408,"altitude":74,"angle":312,"satellites":43,"speed":0,"hex_longitude":"2d18e9c0","hex_latitude":"07216660","is_valid_coordinates":true} 
[2026-07-27 15:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:52:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997787392001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:52:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8883839204065280,"note":"Value kept but may cause issues"} 
[2026-07-27 15:52:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1795177063341514752,"note":"Value kept but may cause issues"} 
[2026-07-27 15:52:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:52:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785147628000,"timestamp_ms":1785147628000,"timestamp_seconds":1785147628,"priority":1,"record_length":96,"hex_timestamp":"0000019fa31719e0"} 
[2026-07-27 15:52:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:52:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-27 15:52:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:52:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:52:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:52:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:52:06] local.INFO: Teltonika packet parsed successfully {"connection_id":145365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:52:06] local.INFO: Passing IMEI to GPS processor {"connection_id":145365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:52:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":145365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:52:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:52:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:52:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:52:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997787392001,"66":12809,"121":206,"28":31744,"24":0,"16":8883839204065280,"45":1795177063341514752},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 15:52:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:52:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:52:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997787392001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:52:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 15:52:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:52:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8883839204065280,"km_value":8883839204065.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:52:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1795177063341514752,"description":"Unknown IO ID 45"} 
[2026-07-27 15:52:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997787392001,"power":12809,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1795177063341514752}} 
[2026-07-27 15:52:06] local.INFO: DEBUG: GPS processor result {"connection_id":145365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553924,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:52:06] local.INFO: GPS data processed {"connection_id":145365,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:52:06] local.INFO: Acknowledgment sent {"connection_id":145365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:52:09] local.INFO: TCP Data received {"connection_id":142943,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3175860012d9b444005b26b200009001828..."} 
[2026-07-27 15:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3175860012d9b444005b26b200009001828..."} 
[2026-07-27 15:52:09] local.INFO: Processing buffer {"connection_id":142943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3175860012d9b444005b26b200009001828..."} 
[2026-07-27 15:52:09] local.INFO: Packet analysis {"connection_id":142943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa317"} 
[2026-07-27 15:52:09] local.INFO: Extracted packet for processing {"connection_id":142943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa317"} 
[2026-07-27 15:52:09] local.INFO: GPS Element Parsed {"raw_longitude":765150272,"raw_latitude":95578912,"longitude_deg":76.5150272,"latitude_deg":9.5578912,"altitude":9,"angle":24,"satellites":40,"speed":39,"hex_longitude":"2d9b4440","hex_latitude":"05b26b20","is_valid_coordinates":true} 
[2026-07-27 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-07-27 15:52:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997794560001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:52:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359063165775904768,"note":"Value kept but may cause issues"} 
[2026-07-27 15:52:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7263954330761570304,"note":"Value kept but may cause issues"} 
[2026-07-27 15:52:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:52:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785147644000,"timestamp_ms":1785147644000,"timestamp_seconds":1785147644,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3175860"} 
[2026-07-27 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-07-27 15:52:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-27 15:52:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 15:52:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:52:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:52:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:52:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:52:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:52:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 15:52:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 15:52:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997794560001,"66":27930,"118":206,"83":17408,"24":39,"16":359063165775904768,"45":-7263954330761570304},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,83,24,16,45]} 
[2026-07-27 15:52:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 15:52:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 15:52:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997794560001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:52:09] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 15:52:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 15:52:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359063165775904768,"km_value":359063165775904.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:52:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7263954330761570304,"description":"Unknown IO ID 45"} 
[2026-07-27 15:52:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997794560001,"power":27930,"unknown_118":206,"unknown_83":17408,"ignition":39,"odometer":null,"unknown_45":-7263954330761570304}} 
[2026-07-27 15:52:09] local.INFO: DEBUG: GPS processor result {"connection_id":142943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:52:09] local.INFO: GPS data processed {"connection_id":142943,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:52:09] local.INFO: Acknowledgment sent {"connection_id":142943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:52:16] local.INFO: TCP Data received {"connection_id":143095,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:52:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143095,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:52:16] local.INFO: Processing buffer {"connection_id":143095,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:52:16] local.INFO: IMEI packet received {"connection_id":143095,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 15:52:16] local.INFO: IMEI acknowledgment sent {"connection_id":143095,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:52:18] local.INFO: TCP Data received {"connection_id":143095,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143095,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:52:18] local.INFO: Processing buffer {"connection_id":143095,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:52:18] local.INFO: IMEI packet received {"connection_id":143095,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 15:52:18] local.INFO: IMEI acknowledgment sent {"connection_id":143095,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:52:22] local.INFO: TCP Data received {"connection_id":143095,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:52:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143095,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:52:22] local.INFO: Processing buffer {"connection_id":143095,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:52:22] local.INFO: IMEI packet received {"connection_id":143095,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 15:52:22] local.INFO: IMEI acknowledgment sent {"connection_id":143095,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:52:22] local.INFO: TCP Data received {"connection_id":143095,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa31777a0012d0a83400705a8f80025013615..."} 
[2026-07-27 15:52:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143095,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa31777a0012d0a83400705a8f80025013615..."} 
[2026-07-27 15:52:22] local.INFO: Processing buffer {"connection_id":143095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa31777a0012d0a83400705a8f80025013615..."} 
[2026-07-27 15:52:22] local.INFO: Packet analysis {"connection_id":143095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa317"} 
[2026-07-27 15:52:22] local.INFO: Extracted packet for processing {"connection_id":143095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa317"} 
[2026-07-27 15:52:22] local.INFO: GPS Element Parsed {"raw_longitude":755663680,"raw_latitude":117811448,"longitude_deg":75.566368,"latitude_deg":11.7811448,"altitude":37,"angle":310,"satellites":21,"speed":6,"hex_longitude":"2d0a8340","hex_latitude":"0705a8f8","is_valid_coordinates":true} 
[2026-07-27 15:52:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:52:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997798656001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:52:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25912061682778112,"note":"Value kept but may cause issues"} 
[2026-07-27 15:52:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":757660298720614400,"note":"Value kept but may cause issues"} 
[2026-07-27 15:52:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:52:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785147652000,"timestamp_ms":1785147652000,"timestamp_seconds":1785147652,"priority":1,"record_length":96,"hex_timestamp":"0000019fa31777a0"} 
[2026-07-27 15:52:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:52:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:52:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-27 15:52:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:52:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:52:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:52:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:52:22] local.INFO: Teltonika packet parsed successfully {"connection_id":143095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:52:22] local.INFO: Passing IMEI to GPS processor {"connection_id":143095,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 15:52:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":143095,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 15:52:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:52:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 15:52:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 15:52:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997798656001,"66":14428,"153":206,"94":10240,"24":6,"16":25912061682778112,"45":757660298720614400},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-07-27 15:52:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 15:52:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 15:52:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997798656001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:52:22] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-27 15:52:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 15:52:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25912061682778112,"km_value":25912061682778.113,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:52:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":757660298720614400,"description":"Unknown IO ID 45"} 
[2026-07-27 15:52:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997798656001,"power":14428,"unknown_153":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":757660298720614400}} 
[2026-07-27 15:52:22] local.INFO: DEBUG: GPS processor result {"connection_id":143095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553926,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:52:22] local.INFO: GPS data processed {"connection_id":143095,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:52:22] local.INFO: Acknowledgment sent {"connection_id":143095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:52:28] local.INFO: TCP Data received {"connection_id":145366,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145366,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:52:28] local.INFO: Processing buffer {"connection_id":145366,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:52:28] local.INFO: IMEI packet received {"connection_id":145366,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 15:52:28] local.INFO: IMEI acknowledgment sent {"connection_id":145366,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:52:28] local.INFO: TCP Data received {"connection_id":145366,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145366,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:52:28] local.INFO: Processing buffer {"connection_id":145366,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:52:28] local.INFO: IMEI packet received {"connection_id":145366,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 15:52:28] local.INFO: IMEI acknowledgment sent {"connection_id":145366,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:52:31] local.INFO: TCP Data received {"connection_id":143096,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:52:31] local.INFO: Processing buffer {"connection_id":143096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:52:31] local.INFO: IMEI packet received {"connection_id":143096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 15:52:31] local.INFO: IMEI acknowledgment sent {"connection_id":143096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:52:33] local.INFO: TCP Data received {"connection_id":145366,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145366,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:52:33] local.INFO: Processing buffer {"connection_id":145366,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:52:33] local.INFO: IMEI packet received {"connection_id":145366,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 15:52:33] local.INFO: IMEI acknowledgment sent {"connection_id":145366,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:52:33] local.INFO: TCP Data received {"connection_id":145366,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-07-27 15:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145366,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-07-27 15:52:33] local.INFO: Processing buffer {"connection_id":145366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-07-27 15:52:33] local.INFO: Packet analysis {"connection_id":145366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-27 15:52:33] local.INFO: Extracted packet for processing {"connection_id":145366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-27 15:52:33] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-27 15:52:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:52:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111600898370699264,"note":"Value kept but may cause issues"} 
[2026-07-27 15:52:33] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,157,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-27 15:52:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":47000,"timestamp_seconds":47,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 15:52:33] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:52:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-27 15:52:33] local.INFO: Teltonika packet parsed successfully {"connection_id":145366,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:52:33] local.INFO: Passing IMEI to GPS processor {"connection_id":145366,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-27 15:52:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":145366,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-27 15:52:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-27 15:52:33] local.WARNING: DEBUG: No valid data to process  
[2026-07-27 15:52:33] local.INFO: DEBUG: GPS processor result {"connection_id":145366,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-27 15:52:33] local.ERROR: GPS data processing failed {"connection_id":145366,"error":"No valid data to process"} 
[2026-07-27 15:52:33] local.INFO: Acknowledgment sent {"connection_id":145366,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-27 15:52:37] local.INFO: TCP Data received {"connection_id":143096,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:52:37] local.INFO: Processing buffer {"connection_id":143096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:52:37] local.INFO: IMEI packet received {"connection_id":143096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 15:52:37] local.INFO: IMEI acknowledgment sent {"connection_id":143096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:52:38] local.INFO: TCP Data received {"connection_id":143096,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3176fd0012d9b4b8005b28158000a000d29..."} 
[2026-07-27 15:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3176fd0012d9b4b8005b28158000a000d29..."} 
[2026-07-27 15:52:38] local.INFO: Processing buffer {"connection_id":143096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3176fd0012d9b4b8005b28158000a000d29..."} 
[2026-07-27 15:52:38] local.INFO: Packet analysis {"connection_id":143096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa317"} 
[2026-07-27 15:52:38] local.INFO: Extracted packet for processing {"connection_id":143096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa317"} 
[2026-07-27 15:52:38] local.INFO: GPS Element Parsed {"raw_longitude":765152128,"raw_latitude":95584600,"longitude_deg":76.5152128,"latitude_deg":9.55846,"altitude":10,"angle":13,"satellites":41,"speed":38,"hex_longitude":"2d9b4b80","hex_latitude":"05b28158","is_valid_coordinates":true} 
[2026-07-27 15:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:52:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997796864001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:52:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359063457833680896,"note":"Value kept but may cause issues"} 
[2026-07-27 15:52:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7258606306202017792,"note":"Value kept but may cause issues"} 
[2026-07-27 15:52:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,26,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:52:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785147650000,"timestamp_ms":1785147650000,"timestamp_seconds":1785147650,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3176fd0"} 
[2026-07-27 15:52:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:52:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-27 15:52:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:52:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:52:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:52:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:52:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:52:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:52:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:52:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:52:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 15:52:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 15:52:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997796864001,"66":27843,"26":206,"83":17408,"24":38,"16":359063457833680896,"45":-7258606306202017792},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,26,83,24,16,45]} 
[2026-07-27 15:52:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 15:52:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 15:52:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997796864001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:52:38] local.INFO: Unknown IO ID detected {"io_id":26,"value":206,"description":"Unknown IO ID 26"} 
[2026-07-27 15:52:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 15:52:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359063457833680896,"km_value":359063457833680.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:52:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7258606306202017792,"description":"Unknown IO ID 45"} 
[2026-07-27 15:52:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997796864001,"power":27843,"unknown_26":206,"unknown_83":17408,"ignition":38,"odometer":null,"unknown_45":-7258606306202017792}} 
[2026-07-27 15:52:38] local.INFO: DEBUG: GPS processor result {"connection_id":143096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:52:38] local.INFO: GPS data processed {"connection_id":143096,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:52:38] local.INFO: Acknowledgment sent {"connection_id":143096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:52:41] local.INFO: TCP Data received {"connection_id":145365,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3176be8012d18e9c007216660004a01382c..."} 
[2026-07-27 15:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3176be8012d18e9c007216660004a01382c..."} 
[2026-07-27 15:52:41] local.INFO: Processing buffer {"connection_id":145365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3176be8012d18e9c007216660004a01382c..."} 
[2026-07-27 15:52:41] local.INFO: Packet analysis {"connection_id":145365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa317"} 
[2026-07-27 15:52:41] local.INFO: Extracted packet for processing {"connection_id":145365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa317"} 
[2026-07-27 15:52:41] local.INFO: GPS Element Parsed {"raw_longitude":756607424,"raw_latitude":119629408,"longitude_deg":75.6607424,"latitude_deg":11.9629408,"altitude":74,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2d18e9c0","hex_latitude":"07216660","is_valid_coordinates":true} 
[2026-07-27 15:52:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:52:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997792768001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:52:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8883839204065280,"note":"Value kept but may cause issues"} 
[2026-07-27 15:52:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1795177063341514752,"note":"Value kept but may cause issues"} 
[2026-07-27 15:52:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:52:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785147649000,"timestamp_ms":1785147649000,"timestamp_seconds":1785147649,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3176be8"} 
[2026-07-27 15:52:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:52:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-07-27 15:52:41] local.WARNING: Large IO value detected {"io_id":143,"raw_value":3456106496,"note":"Value kept but may cause issues"} 
[2026-07-27 15:52:41] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2736073160,"note":"Value kept but may cause issues"} 
[2026-07-27 15:52:41] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-27 15:52:41] local.WARNING: Large IO value detected {"io_id":163,"raw_value":1501880112035457472,"note":"Value kept but may cause issues"} 
[2026-07-27 15:52:41] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-27 15:52:41] local.WARNING: Large IO value detected {"io_id":127,"raw_value":3087084824,"note":"Value kept but may cause issues"} 
[2026-07-27 15:52:41] local.WARNING: Large IO value detected {"io_id":233,"raw_value":3221692774,"note":"Value kept but may cause issues"} 
[2026-07-27 15:52:41] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3422604775,"note":"Value kept but may cause issues"} 
[2026-07-27 15:52:41] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2412642304,"note":"Value kept but may cause issues"} 
[2026-07-27 15:52:41] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2406716605233969197,"note":"Value kept but may cause issues"} 
[2026-07-27 15:52:41] local.WARNING: Large IO value detected {"io_id":51,"raw_value":216399176165019164,"note":"Value kept but may cause issues"} 
[2026-07-27 15:52:41] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-07-27 15:52:41] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,121,28,24,241,158,16,143,159,199,45,192,102,74,44,10,66,117,46,35,1,240,85,163,33,4,113,205,127,233,96,239,50,2,31,7,51,124,206],"length":535,"final_offset":665,"validated_count":39,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-07-27 15:52:41] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5332605191118127104,"timestamp_seconds":5332605191118127.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 15:52:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:52:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:52:41] local.INFO: Teltonika packet parsed successfully {"connection_id":145365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:52:41] local.INFO: Passing IMEI to GPS processor {"connection_id":145365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:52:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":145365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:52:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:52:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:52:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:52:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997792768001,"66":12841,"121":206,"28":31744,"24":0,"16":8883839204065280,"45":1795177063341514752},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 15:52:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:52:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:52:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997792768001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:52:41] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 15:52:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:52:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8883839204065280,"km_value":8883839204065.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:52:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1795177063341514752,"description":"Unknown IO ID 45"} 
[2026-07-27 15:52:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997792768001,"power":12841,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1795177063341514752}} 
[2026-07-27 15:52:41] local.INFO: DEBUG: GPS processor result {"connection_id":145365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553928,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:52:41] local.INFO: GPS data processed {"connection_id":145365,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:52:41] local.INFO: Acknowledgment sent {"connection_id":145365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:52:55] local.INFO: TCP Data received {"connection_id":143095,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa31938d8012d0a73c007060498002400b818..."} 
[2026-07-27 15:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143095,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa31938d8012d0a73c007060498002400b818..."} 
[2026-07-27 15:52:55] local.INFO: Processing buffer {"connection_id":143095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa31938d8012d0a73c007060498002400b818..."} 
[2026-07-27 15:52:55] local.INFO: Packet analysis {"connection_id":143095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa319"} 
[2026-07-27 15:52:55] local.INFO: Extracted packet for processing {"connection_id":143095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa319"} 
[2026-07-27 15:52:55] local.INFO: GPS Element Parsed {"raw_longitude":755659712,"raw_latitude":117834904,"longitude_deg":75.5659712,"latitude_deg":11.7834904,"altitude":36,"angle":184,"satellites":24,"speed":2,"hex_longitude":"2d0a73c0","hex_latitude":"07060498","is_valid_coordinates":true} 
[2026-07-27 15:52:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:52:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997826560001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:52:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25913272863555584,"note":"Value kept but may cause issues"} 
[2026-07-27 15:52:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753086330355087360,"note":"Value kept but may cause issues"} 
[2026-07-27 15:52:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:52:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785147767000,"timestamp_ms":1785147767000,"timestamp_seconds":1785147767,"priority":1,"record_length":96,"hex_timestamp":"0000019fa31938d8"} 
[2026-07-27 15:52:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:52:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:52:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-27 15:52:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:52:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:52:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:52:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:52:55] local.INFO: Teltonika packet parsed successfully {"connection_id":143095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:52:55] local.INFO: Passing IMEI to GPS processor {"connection_id":143095,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 15:52:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":143095,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 15:52:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:52:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 15:52:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 15:52:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997826560001,"66":14515,"153":206,"94":10240,"24":2,"16":25913272863555584,"45":753086330355087360},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-07-27 15:52:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 15:52:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 15:52:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997826560001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:52:55] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-27 15:52:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 15:52:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25913272863555584,"km_value":25913272863555.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:52:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":753086330355087360,"description":"Unknown IO ID 45"} 
[2026-07-27 15:52:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997826560001,"power":14515,"unknown_153":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":753086330355087360}} 
[2026-07-27 15:52:55] local.INFO: DEBUG: GPS processor result {"connection_id":143095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553929,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:52:55] local.INFO: GPS data processed {"connection_id":143095,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:52:55] local.INFO: Acknowledgment sent {"connection_id":143095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:52:59] local.INFO: TCP Data received {"connection_id":142944,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142944,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:52:59] local.INFO: Processing buffer {"connection_id":142944,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:52:59] local.INFO: IMEI packet received {"connection_id":142944,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 15:52:59] local.INFO: IMEI acknowledgment sent {"connection_id":142944,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:53:04] local.INFO: TCP Data received {"connection_id":145366,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-07-27 15:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145366,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-07-27 15:53:04] local.INFO: Processing buffer {"connection_id":145366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-07-27 15:53:04] local.INFO: Packet analysis {"connection_id":145366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-27 15:53:04] local.INFO: Extracted packet for processing {"connection_id":145366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-27 15:53:04] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-27 15:53:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:53:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111600898370699264,"note":"Value kept but may cause issues"} 
[2026-07-27 15:53:04] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,157,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-27 15:53:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":68000,"timestamp_seconds":68,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 15:53:04] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:53:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-27 15:53:04] local.INFO: Teltonika packet parsed successfully {"connection_id":145366,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:53:04] local.INFO: Passing IMEI to GPS processor {"connection_id":145366,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-27 15:53:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":145366,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-27 15:53:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-27 15:53:04] local.WARNING: DEBUG: No valid data to process  
[2026-07-27 15:53:04] local.INFO: DEBUG: GPS processor result {"connection_id":145366,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-27 15:53:04] local.ERROR: GPS data processing failed {"connection_id":145366,"error":"No valid data to process"} 
[2026-07-27 15:53:04] local.INFO: Acknowledgment sent {"connection_id":145366,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-27 15:53:06] local.INFO: TCP Data received {"connection_id":142944,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142944,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:53:06] local.INFO: Processing buffer {"connection_id":142944,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:53:06] local.INFO: IMEI packet received {"connection_id":142944,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 15:53:06] local.INFO: IMEI acknowledgment sent {"connection_id":142944,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:53:08] local.INFO: TCP Data received {"connection_id":142944,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa317bdf0012d18e9c007216660004a01382c..."} 
[2026-07-27 15:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa317bdf0012d18e9c007216660004a01382c..."} 
[2026-07-27 15:53:08] local.INFO: Processing buffer {"connection_id":142944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa317bdf0012d18e9c007216660004a01382c..."} 
[2026-07-27 15:53:08] local.INFO: Packet analysis {"connection_id":142944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa317"} 
[2026-07-27 15:53:08] local.INFO: Extracted packet for processing {"connection_id":142944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa317"} 
[2026-07-27 15:53:08] local.INFO: GPS Element Parsed {"raw_longitude":756607424,"raw_latitude":119629408,"longitude_deg":75.6607424,"latitude_deg":11.9629408,"altitude":74,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2d18e9c0","hex_latitude":"07216660","is_valid_coordinates":true} 
[2026-07-27 15:53:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:53:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997798144001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:53:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8883839204065280,"note":"Value kept but may cause issues"} 
[2026-07-27 15:53:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1795177063341514752,"note":"Value kept but may cause issues"} 
[2026-07-27 15:53:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:53:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785147670000,"timestamp_ms":1785147670000,"timestamp_seconds":1785147670,"priority":1,"record_length":96,"hex_timestamp":"0000019fa317bdf0"} 
[2026-07-27 15:53:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:53:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-27 15:53:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:53:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:53:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:53:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:53:08] local.INFO: Teltonika packet parsed successfully {"connection_id":142944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:53:08] local.INFO: Passing IMEI to GPS processor {"connection_id":142944,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:53:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":142944,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:53:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:53:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:53:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:53:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997798144001,"66":11961,"121":206,"28":31744,"24":0,"16":8883839204065280,"45":1795177063341514752},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 15:53:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:53:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:53:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997798144001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:53:08] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 15:53:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:53:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8883839204065280,"km_value":8883839204065.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:53:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1795177063341514752,"description":"Unknown IO ID 45"} 
[2026-07-27 15:53:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997798144001,"power":11961,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1795177063341514752}} 
[2026-07-27 15:53:08] local.INFO: DEBUG: GPS processor result {"connection_id":142944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553930,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:53:08] local.INFO: GPS data processed {"connection_id":142944,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:53:08] local.INFO: Acknowledgment sent {"connection_id":142944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:53:09] local.INFO: TCP Data received {"connection_id":143096,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa317a298012d9b534005b2a3e0000a00062b..."} 
[2026-07-27 15:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa317a298012d9b534005b2a3e0000a00062b..."} 
[2026-07-27 15:53:09] local.INFO: Processing buffer {"connection_id":143096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa317a298012d9b534005b2a3e0000a00062b..."} 
[2026-07-27 15:53:09] local.INFO: Packet analysis {"connection_id":143096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa317"} 
[2026-07-27 15:53:09] local.INFO: Extracted packet for processing {"connection_id":143096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa317"} 
[2026-07-27 15:53:09] local.INFO: GPS Element Parsed {"raw_longitude":765154112,"raw_latitude":95593440,"longitude_deg":76.5154112,"latitude_deg":9.559344,"altitude":10,"angle":6,"satellites":43,"speed":30,"hex_longitude":"2d9b5340","hex_latitude":"05b2a3e0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 15:53:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997798400001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:53:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359063895920345088,"note":"Value kept but may cause issues"} 
[2026-07-27 15:53:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7256565612619409408,"note":"Value kept but may cause issues"} 
[2026-07-27 15:53:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,26,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:53:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785147663000,"timestamp_ms":1785147663000,"timestamp_seconds":1785147663,"priority":1,"record_length":96,"hex_timestamp":"0000019fa317a298"} 
[2026-07-27 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-07-27 15:53:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-27 15:53:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 15:53:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:53:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:53:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:53:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15: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-07-27 15:53:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 15:53:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 15:53:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997798400001,"66":27789,"26":206,"83":17408,"24":30,"16":359063895920345088,"45":-7256565612619409408},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,26,83,24,16,45]} 
[2026-07-27 15:53:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 15:53:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 15:53:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997798400001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:53:09] local.INFO: Unknown IO ID detected {"io_id":26,"value":206,"description":"Unknown IO ID 26"} 
[2026-07-27 15:53:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 15:53:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359063895920345088,"km_value":359063895920345.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:53:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7256565612619409408,"description":"Unknown IO ID 45"} 
[2026-07-27 15:53:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997798400001,"power":27789,"unknown_26":206,"unknown_83":17408,"ignition":30,"odometer":null,"unknown_45":-7256565612619409408}} 
[2026-07-27 15:53:09] local.INFO: DEBUG: GPS processor result {"connection_id":143096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:53:09] local.INFO: GPS data processed {"connection_id":143096,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:53:09] local.INFO: Acknowledgment sent {"connection_id":143096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:53:16] local.INFO: TCP Data received {"connection_id":144076,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144076,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:53:16] local.INFO: Processing buffer {"connection_id":144076,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:53:16] local.INFO: IMEI packet received {"connection_id":144076,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 15:53:16] local.INFO: IMEI acknowledgment sent {"connection_id":144076,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:53:22] local.INFO: TCP Data received {"connection_id":144076,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:53:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144076,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:53:22] local.INFO: Processing buffer {"connection_id":144076,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:53:22] local.INFO: IMEI packet received {"connection_id":144076,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 15:53:22] local.INFO: IMEI acknowledgment sent {"connection_id":144076,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:53:23] local.INFO: TCP Data received {"connection_id":144076,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3193cc0012d0a740007060468002400aa18..."} 
[2026-07-27 15:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144076,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3193cc0012d0a740007060468002400aa18..."} 
[2026-07-27 15:53:23] local.INFO: Processing buffer {"connection_id":144076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3193cc0012d0a740007060468002400aa18..."} 
[2026-07-27 15:53:23] local.INFO: Packet analysis {"connection_id":144076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa319"} 
[2026-07-27 15:53:23] local.INFO: Extracted packet for processing {"connection_id":144076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa319"} 
[2026-07-27 15:53:23] local.INFO: GPS Element Parsed {"raw_longitude":755659776,"raw_latitude":117834856,"longitude_deg":75.5659776,"latitude_deg":11.7834856,"altitude":36,"angle":170,"satellites":24,"speed":1,"hex_longitude":"2d0a7400","hex_latitude":"07060468","is_valid_coordinates":true} 
[2026-07-27 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-07-27 15:53:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997828352001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:53:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25913277158522880,"note":"Value kept but may cause issues"} 
[2026-07-27 15:53:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753156699099273216,"note":"Value kept but may cause issues"} 
[2026-07-27 15:53:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:53:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785147768000,"timestamp_ms":1785147768000,"timestamp_seconds":1785147768,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3193cc0"} 
[2026-07-27 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-07-27 15:53: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-07-27 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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-27 15:53:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:53:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 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-07-27 15:53:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:53:23] local.INFO: Teltonika packet parsed successfully {"connection_id":144076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:53:23] local.INFO: Passing IMEI to GPS processor {"connection_id":144076,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 15:53:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":144076,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 15:53:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:53:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 15:53:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 15:53:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997828352001,"66":14515,"153":206,"94":10240,"24":1,"16":25913277158522880,"45":753156699099273216},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-07-27 15:53:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 15:53:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 15:53:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997828352001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:53:23] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-27 15:53:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 15:53:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25913277158522880,"km_value":25913277158522.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:53:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":753156699099273216,"description":"Unknown IO ID 45"} 
[2026-07-27 15:53:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997828352001,"power":14515,"unknown_153":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":753156699099273216}} 
[2026-07-27 15:53:23] local.INFO: DEBUG: GPS processor result {"connection_id":144076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553932,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:53:23] local.INFO: GPS data processed {"connection_id":144076,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:53:23] local.INFO: Acknowledgment sent {"connection_id":144076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:53:36] local.INFO: TCP Data received {"connection_id":145366,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3198ec80100000000000000000000000000..."} 
[2026-07-27 15:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3198ec80100000000000000000000000000..."} 
[2026-07-27 15:53:36] local.INFO: Processing buffer {"connection_id":145366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3198ec80100000000000000000000000000..."} 
[2026-07-27 15:53:36] local.INFO: Packet analysis {"connection_id":145366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa319"} 
[2026-07-27 15:53:36] local.INFO: Extracted packet for processing {"connection_id":145366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa319"} 
[2026-07-27 15:53: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-07-27 15:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:53:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111600898370699264,"note":"Value kept but may cause issues"} 
[2026-07-27 15:53:36] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,157,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-27 15:53:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785147789000,"timestamp_ms":1785147789000,"timestamp_seconds":1785147789,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3198ec8"} 
[2026-07-27 15:53:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:53:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-07-27 15:53:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:53:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:53:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:53:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:53:36] local.INFO: Teltonika packet parsed successfully {"connection_id":145366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:53:36] local.INFO: Passing IMEI to GPS processor {"connection_id":145366,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 15:53:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":145366,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 15:53:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:53:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 15:53:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 15:53:36] local.INFO: DEBUG: GPS processor result {"connection_id":145366,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-27 15:53:36] local.INFO: GPS data processed {"connection_id":145366,"processed":0,"errors":0,"total":1} 
[2026-07-27 15:53:36] local.INFO: Acknowledgment sent {"connection_id":145366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:53:36] local.INFO: TCP Data received {"connection_id":144077,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:53:36] local.INFO: Processing buffer {"connection_id":144077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:53:36] local.INFO: IMEI packet received {"connection_id":144077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 15:53:36] local.INFO: IMEI acknowledgment sent {"connection_id":144077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:53:39] local.INFO: TCP Data received {"connection_id":144077,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:53:39] local.INFO: Processing buffer {"connection_id":144077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:53:39] local.INFO: IMEI packet received {"connection_id":144077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 15:53:39] local.INFO: IMEI acknowledgment sent {"connection_id":144077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:53:39] local.INFO: TCP Data received {"connection_id":144077,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa317cd90012d9b568005b2c8d0000b000628..."} 
[2026-07-27 15:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa317cd90012d9b568005b2c8d0000b000628..."} 
[2026-07-27 15:53:39] local.INFO: Processing buffer {"connection_id":144077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa317cd90012d9b568005b2c8d0000b000628..."} 
[2026-07-27 15:53:39] local.INFO: Packet analysis {"connection_id":144077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa317"} 
[2026-07-27 15:53:39] local.INFO: Extracted packet for processing {"connection_id":144077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa317"} 
[2026-07-27 15:53:39] local.INFO: GPS Element Parsed {"raw_longitude":765154944,"raw_latitude":95602896,"longitude_deg":76.5154944,"latitude_deg":9.5602896,"altitude":11,"angle":6,"satellites":40,"speed":40,"hex_longitude":"2d9b5680","hex_latitude":"05b2c8d0","is_valid_coordinates":true} 
[2026-07-27 15:53:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:53:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997801728001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:53:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359064359776813056,"note":"Value kept but may cause issues"} 
[2026-07-27 15:53:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7254384181547638784,"note":"Value kept but may cause issues"} 
[2026-07-27 15:53:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,26,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:53:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785147674000,"timestamp_ms":1785147674000,"timestamp_seconds":1785147674,"priority":1,"record_length":96,"hex_timestamp":"0000019fa317cd90"} 
[2026-07-27 15:53:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:53:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:53:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-27 15:53:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:53:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:53:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:53:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:53:39] local.INFO: Teltonika packet parsed successfully {"connection_id":144077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:53:39] local.INFO: Passing IMEI to GPS processor {"connection_id":144077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:53:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":144077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:53:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:53:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 15:53:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 15:53:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997801728001,"66":27876,"26":206,"83":17408,"24":40,"16":359064359776813056,"45":-7254384181547638784},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,26,83,24,16,45]} 
[2026-07-27 15:53:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 15:53:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 15:53:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997801728001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:53:39] local.INFO: Unknown IO ID detected {"io_id":26,"value":206,"description":"Unknown IO ID 26"} 
[2026-07-27 15:53:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 15:53:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359064359776813056,"km_value":359064359776813.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:53:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7254384181547638784,"description":"Unknown IO ID 45"} 
[2026-07-27 15:53:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997801728001,"power":27876,"unknown_26":206,"unknown_83":17408,"ignition":40,"odometer":null,"unknown_45":-7254384181547638784}} 
[2026-07-27 15:53:39] local.INFO: DEBUG: GPS processor result {"connection_id":144077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:53:39] local.INFO: GPS data processed {"connection_id":144077,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:53:39] local.INFO: Acknowledgment sent {"connection_id":144077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:53:40] local.INFO: TCP Data received {"connection_id":142944,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3180ff8012d18e9c007216660004a01382c..."} 
[2026-07-27 15:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3180ff8012d18e9c007216660004a01382c..."} 
[2026-07-27 15:53:40] local.INFO: Processing buffer {"connection_id":142944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3180ff8012d18e9c007216660004a01382c..."} 
[2026-07-27 15:53:40] local.INFO: Packet analysis {"connection_id":142944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa318"} 
[2026-07-27 15:53:40] local.INFO: Extracted packet for processing {"connection_id":142944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa318"} 
[2026-07-27 15:53:40] local.INFO: GPS Element Parsed {"raw_longitude":756607424,"raw_latitude":119629408,"longitude_deg":75.6607424,"latitude_deg":11.9629408,"altitude":74,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2d18e9c0","hex_latitude":"07216660","is_valid_coordinates":true} 
[2026-07-27 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-07-27 15:53:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997803520001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:53:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8883839204065280,"note":"Value kept but may cause issues"} 
[2026-07-27 15:53:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1795177063341514752,"note":"Value kept but may cause issues"} 
[2026-07-27 15:53:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:53:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785147691000,"timestamp_ms":1785147691000,"timestamp_seconds":1785147691,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3180ff8"} 
[2026-07-27 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-07-27 15:53:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":46,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-27 15:53:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2093,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 15:53:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:53:40] local.INFO: Teltonika packet parsed successfully {"connection_id":142944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:53:40] local.INFO: Passing IMEI to GPS processor {"connection_id":142944,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:53:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":142944,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:53:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:53:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:53:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:53:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997803520001,"66":12809,"121":206,"28":31744,"24":0,"16":8883839204065280,"45":1795177063341514752},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 15:53:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:53:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:53:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997803520001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:53:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 15:53:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:53:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8883839204065280,"km_value":8883839204065.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:53:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1795177063341514752,"description":"Unknown IO ID 45"} 
[2026-07-27 15:53:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997803520001,"power":12809,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1795177063341514752}} 
[2026-07-27 15:53:41] local.INFO: DEBUG: GPS processor result {"connection_id":142944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553934,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:53:41] local.INFO: GPS data processed {"connection_id":142944,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:53:41] local.INFO: Acknowledgment sent {"connection_id":142944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:53:54] local.INFO: TCP Data received {"connection_id":144076,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa31940a8012d0a7400070604300024009f18..."} 
[2026-07-27 15:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144076,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa31940a8012d0a7400070604300024009f18..."} 
[2026-07-27 15:53:54] local.INFO: Processing buffer {"connection_id":144076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa31940a8012d0a7400070604300024009f18..."} 
[2026-07-27 15:53:54] local.INFO: Packet analysis {"connection_id":144076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa319"} 
[2026-07-27 15:53:54] local.INFO: Extracted packet for processing {"connection_id":144076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa319"} 
[2026-07-27 15:53:54] local.INFO: GPS Element Parsed {"raw_longitude":755659776,"raw_latitude":117834800,"longitude_deg":75.5659776,"latitude_deg":11.78348,"altitude":36,"angle":159,"satellites":24,"speed":1,"hex_longitude":"2d0a7400","hex_latitude":"07060430","is_valid_coordinates":true} 
[2026-07-27 15:53:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:53:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997828608001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:53:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25913277158522880,"note":"Value kept but may cause issues"} 
[2026-07-27 15:53:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753227067843438592,"note":"Value kept but may cause issues"} 
[2026-07-27 15:53:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:53:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785147769000,"timestamp_ms":1785147769000,"timestamp_seconds":1785147769,"priority":1,"record_length":96,"hex_timestamp":"0000019fa31940a8"} 
[2026-07-27 15:53:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:53:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:53:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-27 15:53:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:53:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:53:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:53:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:53:54] local.INFO: Teltonika packet parsed successfully {"connection_id":144076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:53:54] local.INFO: Passing IMEI to GPS processor {"connection_id":144076,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 15:53:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":144076,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 15:53:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:53:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 15:53:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 15:53:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997828608001,"66":14461,"153":206,"94":10240,"24":1,"16":25913277158522880,"45":753227067843438592},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-07-27 15:53:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 15:53:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 15:53:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997828608001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:53:54] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-27 15:53:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 15:53:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25913277158522880,"km_value":25913277158522.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:53:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":753227067843438592,"description":"Unknown IO ID 45"} 
[2026-07-27 15:53:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997828608001,"power":14461,"unknown_153":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":753227067843438592}} 
[2026-07-27 15:53:54] local.INFO: DEBUG: GPS processor result {"connection_id":144076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553935,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:53:54] local.INFO: GPS data processed {"connection_id":144076,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:53:54] local.INFO: Acknowledgment sent {"connection_id":144076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:53:59] local.INFO: TCP Data received {"connection_id":142945,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142945,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:53:59] local.INFO: Processing buffer {"connection_id":142945,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:53:59] local.INFO: IMEI packet received {"connection_id":142945,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 15:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":142945,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:54:05] local.INFO: TCP Data received {"connection_id":142945,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142945,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:54:05] local.INFO: Processing buffer {"connection_id":142945,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:54:05] local.INFO: IMEI packet received {"connection_id":142945,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 15:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":142945,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:54:06] local.INFO: TCP Data received {"connection_id":142945,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3186200012d18e9c007216660004a01382c..."} 
[2026-07-27 15:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3186200012d18e9c007216660004a01382c..."} 
[2026-07-27 15:54:06] local.INFO: Processing buffer {"connection_id":142945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3186200012d18e9c007216660004a01382c..."} 
[2026-07-27 15:54:06] local.INFO: Packet analysis {"connection_id":142945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa318"} 
[2026-07-27 15:54:06] local.INFO: Extracted packet for processing {"connection_id":142945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa318"} 
[2026-07-27 15:54:06] local.INFO: GPS Element Parsed {"raw_longitude":756607424,"raw_latitude":119629408,"longitude_deg":75.6607424,"latitude_deg":11.9629408,"altitude":74,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2d18e9c0","hex_latitude":"07216660","is_valid_coordinates":true} 
[2026-07-27 15:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:54:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997808896001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:54:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8883839204065280,"note":"Value kept but may cause issues"} 
[2026-07-27 15:54:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1795177063341514752,"note":"Value kept but may cause issues"} 
[2026-07-27 15:54:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:54:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785147712000,"timestamp_ms":1785147712000,"timestamp_seconds":1785147712,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3186200"} 
[2026-07-27 15:54:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:54:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-07-27 15:54:06] local.WARNING: Large IO value detected {"io_id":143,"raw_value":3456106496,"note":"Value kept but may cause issues"} 
[2026-07-27 15:54:06] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2736137160,"note":"Value kept but may cause issues"} 
[2026-07-27 15:54:06] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-27 15:54:06] local.WARNING: Large IO value detected {"io_id":163,"raw_value":1572248856213121472,"note":"Value kept but may cause issues"} 
[2026-07-27 15:54:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-27 15:54:06] local.WARNING: Large IO value detected {"io_id":117,"raw_value":3489738008,"note":"Value kept but may cause issues"} 
[2026-07-27 15:54:06] local.WARNING: Large IO value detected {"io_id":233,"raw_value":3221692774,"note":"Value kept but may cause issues"} 
[2026-07-27 15:54:06] local.WARNING: Large IO value detected {"io_id":50,"raw_value":6125121887275109916,"note":"Value kept but may cause issues"} 
[2026-07-27 15:54:06] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2412642304,"note":"Value kept but may cause issues"} 
[2026-07-27 15:54:06] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2406716605233969196,"note":"Value kept but may cause issues"} 
[2026-07-27 15:54:06] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-07-27 15:54:06] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,121,28,24,241,158,16,143,159,189,45,192,102,74,44,10,66,107,25,1,240,9,163,33,4,113,205,117,233,96,46,239,50,2,31,7,124,206],"length":535,"final_offset":665,"validated_count":38,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-07-27 15:54:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5332605195413094400,"timestamp_seconds":5332605195413094.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 15:54:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:54:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:54:06] local.INFO: Teltonika packet parsed successfully {"connection_id":142945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:54:06] local.INFO: Passing IMEI to GPS processor {"connection_id":142945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:54:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":142945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:54:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:54:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:54:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:54:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997808896001,"66":12461,"121":206,"28":31744,"24":0,"16":8883839204065280,"45":1795177063341514752},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 15:54:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:54:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:54:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997808896001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:54:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 15:54:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:54:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8883839204065280,"km_value":8883839204065.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:54:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1795177063341514752,"description":"Unknown IO ID 45"} 
[2026-07-27 15:54:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997808896001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1795177063341514752}} 
[2026-07-27 15:54:06] local.INFO: DEBUG: GPS processor result {"connection_id":142945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553936,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:54:06] local.INFO: GPS data processed {"connection_id":142945,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:54:06] local.INFO: Acknowledgment sent {"connection_id":142945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:54:06] local.INFO: TCP Data received {"connection_id":145366,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa319e0d00100000000000000000000000000..."} 
[2026-07-27 15:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa319e0d00100000000000000000000000000..."} 
[2026-07-27 15:54:06] local.INFO: Processing buffer {"connection_id":145366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa319e0d00100000000000000000000000000..."} 
[2026-07-27 15:54:06] local.INFO: Packet analysis {"connection_id":145366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa319"} 
[2026-07-27 15:54:06] local.INFO: Extracted packet for processing {"connection_id":145366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa319"} 
[2026-07-27 15:54:06] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-27 15:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:54:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111600898370699264,"note":"Value kept but may cause issues"} 
[2026-07-27 15:54:06] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,157,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-27 15:54:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785147810000,"timestamp_ms":1785147810000,"timestamp_seconds":1785147810,"priority":1,"record_length":96,"hex_timestamp":"0000019fa319e0d0"} 
[2026-07-27 15:54:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:54:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-07-27 15:54:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":75866470089728,"note":"Value kept but may cause issues"} 
[2026-07-27 15:54:06] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133468930441282,"note":"Value kept but may cause issues"} 
[2026-07-27 15:54:06] local.WARNING: Large IO value detected {"io_id":36,"raw_value":3531047507742215680,"note":"Value kept but may cause issues"} 
[2026-07-27 15:54:06] local.WARNING: Large IO value detected {"io_id":163,"raw_value":1435909414375265664,"note":"Value kept but may cause issues"} 
[2026-07-27 15:54:06] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-1404806424172653277,"note":"Value kept but may cause issues"} 
[2026-07-27 15:54:06] local.INFO: IO Element Parsed {"io_data_count":25,"io_data_keys":[0,157,87,24,241,16,124,9,10,66,183,27,1,240,49,4,113,205,239,2,36,140,109,163,5],"length":535,"final_offset":665,"validated_count":25,"validation_warnings":[]} 
[2026-07-27 15:54:06] 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-07-27 15:54:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:54:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:54:06] local.INFO: Teltonika packet parsed successfully {"connection_id":145366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:54:06] local.INFO: Passing IMEI to GPS processor {"connection_id":145366,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 15:54:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":145366,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 15:54:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:54:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 15:54:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 15:54:06] local.INFO: DEBUG: GPS processor result {"connection_id":145366,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-27 15:54:06] local.INFO: GPS data processed {"connection_id":145366,"processed":0,"errors":0,"total":1} 
[2026-07-27 15:54:06] local.INFO: Acknowledgment sent {"connection_id":145366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:54:11] local.INFO: TCP Data received {"connection_id":144077,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa317f888012d9b5d0005b2ecf0000c000c2a..."} 
[2026-07-27 15:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa317f888012d9b5d0005b2ecf0000c000c2a..."} 
[2026-07-27 15:54:11] local.INFO: Processing buffer {"connection_id":144077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa317f888012d9b5d0005b2ecf0000c000c2a..."} 
[2026-07-27 15:54:11] local.INFO: Packet analysis {"connection_id":144077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa317"} 
[2026-07-27 15:54:11] local.INFO: Extracted packet for processing {"connection_id":144077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa317"} 
[2026-07-27 15:54:11] local.INFO: GPS Element Parsed {"raw_longitude":765156608,"raw_latitude":95612144,"longitude_deg":76.5156608,"latitude_deg":9.5612144,"altitude":12,"angle":12,"satellites":42,"speed":35,"hex_longitude":"2d9b5d00","hex_latitude":"05b2ecf0","is_valid_coordinates":true} 
[2026-07-27 15:54:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:54:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997804544001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:54:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359064815043346432,"note":"Value kept but may cause issues"} 
[2026-07-27 15:54:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7253469387870908416,"note":"Value kept but may cause issues"} 
[2026-07-27 15:54:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,26,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:54:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785147685000,"timestamp_ms":1785147685000,"timestamp_seconds":1785147685,"priority":1,"record_length":96,"hex_timestamp":"0000019fa317f888"} 
[2026-07-27 15:54:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:54:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:54:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-27 15:54:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:54:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:54:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:54:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:54:11] local.INFO: Teltonika packet parsed successfully {"connection_id":144077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:54:11] local.INFO: Passing IMEI to GPS processor {"connection_id":144077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:54:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":144077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:54: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-07-27 15:54:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 15:54:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 15:54:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997804544001,"66":27930,"26":206,"83":17408,"24":35,"16":359064815043346432,"45":-7253469387870908416},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,26,83,24,16,45]} 
[2026-07-27 15:54:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 15:54:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 15:54:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997804544001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:54:11] local.INFO: Unknown IO ID detected {"io_id":26,"value":206,"description":"Unknown IO ID 26"} 
[2026-07-27 15:54:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 15:54:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359064815043346432,"km_value":359064815043346.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:54:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7253469387870908416,"description":"Unknown IO ID 45"} 
[2026-07-27 15:54:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997804544001,"power":27930,"unknown_26":206,"unknown_83":17408,"ignition":35,"odometer":null,"unknown_45":-7253469387870908416}} 
[2026-07-27 15:54:11] local.INFO: DEBUG: GPS processor result {"connection_id":144077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:54:11] local.INFO: GPS data processed {"connection_id":144077,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:54:11] local.INFO: Acknowledgment sent {"connection_id":144077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:54:16] local.INFO: TCP Data received {"connection_id":145367,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145367,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:54:16] local.INFO: Processing buffer {"connection_id":145367,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:54:16] local.INFO: IMEI packet received {"connection_id":145367,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 15:54:16] local.INFO: IMEI acknowledgment sent {"connection_id":145367,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:54:22] local.INFO: TCP Data received {"connection_id":145367,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145367,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:54:22] local.INFO: Processing buffer {"connection_id":145367,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:54:22] local.INFO: IMEI packet received {"connection_id":145367,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 15:54:22] local.INFO: IMEI acknowledgment sent {"connection_id":145367,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:54:23] local.INFO: TCP Data received {"connection_id":145367,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa31967b8012d0a74c0070602f80025009219..."} 
[2026-07-27 15:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa31967b8012d0a74c0070602f80025009219..."} 
[2026-07-27 15:54:23] local.INFO: Processing buffer {"connection_id":145367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa31967b8012d0a74c0070602f80025009219..."} 
[2026-07-27 15:54:23] local.INFO: Packet analysis {"connection_id":145367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa319"} 
[2026-07-27 15:54:23] local.INFO: Extracted packet for processing {"connection_id":145367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa319"} 
[2026-07-27 15:54:23] local.INFO: GPS Element Parsed {"raw_longitude":755659968,"raw_latitude":117834488,"longitude_deg":75.5659968,"latitude_deg":11.7834488,"altitude":37,"angle":146,"satellites":25,"speed":2,"hex_longitude":"2d0a74c0","hex_latitude":"070602f8","is_valid_coordinates":true} 
[2026-07-27 15: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-07-27 15:54:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997828864001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:54:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25913298633359360,"note":"Value kept but may cause issues"} 
[2026-07-27 15:54:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753227067843424256,"note":"Value kept but may cause issues"} 
[2026-07-27 15:54:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:54:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785147779000,"timestamp_ms":1785147779000,"timestamp_seconds":1785147779,"priority":1,"record_length":96,"hex_timestamp":"0000019fa31967b8"} 
[2026-07-27 15:54:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:54: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-07-27 15: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-27 15:54:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15: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-07-27 15:54:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:54:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:54:23] local.INFO: Teltonika packet parsed successfully {"connection_id":145367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:54:23] local.INFO: Passing IMEI to GPS processor {"connection_id":145367,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 15:54:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":145367,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 15:54:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:54:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 15:54:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 15:54:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997828864001,"66":14548,"153":206,"94":10240,"24":2,"16":25913298633359360,"45":753227067843424256},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-07-27 15:54:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 15:54:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 15:54:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997828864001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:54:23] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-27 15:54:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 15:54:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25913298633359360,"km_value":25913298633359.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:54:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":753227067843424256,"description":"Unknown IO ID 45"} 
[2026-07-27 15:54:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997828864001,"power":14548,"unknown_153":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":753227067843424256}} 
[2026-07-27 15:54:23] local.INFO: DEBUG: GPS processor result {"connection_id":145367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553938,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:54:23] local.INFO: GPS data processed {"connection_id":145367,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:54:23] local.INFO: Acknowledgment sent {"connection_id":145367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:54:36] local.INFO: TCP Data received {"connection_id":143097,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:54:36] local.INFO: Processing buffer {"connection_id":143097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:54:36] local.INFO: IMEI packet received {"connection_id":143097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 15:54:36] local.INFO: IMEI acknowledgment sent {"connection_id":143097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:54:37] local.INFO: TCP Data received {"connection_id":145366,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa319f070012d7a060005ec50f8000c009507..."} 
[2026-07-27 15:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa319f070012d7a060005ec50f8000c009507..."} 
[2026-07-27 15:54:37] local.INFO: Processing buffer {"connection_id":145366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa319f070012d7a060005ec50f8000c009507..."} 
[2026-07-27 15:54:37] local.INFO: Packet analysis {"connection_id":145366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa319"} 
[2026-07-27 15:54:37] local.INFO: Extracted packet for processing {"connection_id":145366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa319"} 
[2026-07-27 15:54:37] local.INFO: GPS Element Parsed {"raw_longitude":762971648,"raw_latitude":99373304,"longitude_deg":76.2971648,"latitude_deg":9.9373304,"altitude":12,"angle":149,"satellites":7,"speed":0,"hex_longitude":"2d7a0600","hex_latitude":"05ec50f8","is_valid_coordinates":true} 
[2026-07-27 15:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:54:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111600898370699264,"note":"Value kept but may cause issues"} 
[2026-07-27 15:54:37] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,157,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-27 15:54:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785147814000,"timestamp_ms":1785147814000,"timestamp_seconds":1785147814,"priority":1,"record_length":96,"hex_timestamp":"0000019fa319f070"} 
[2026-07-27 15:54:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:54:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":768,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-27 15:54:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:54:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:54:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:54:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:54:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:54:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145366,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 15:54:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145366,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 15:54:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:54:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 15:54:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 15:54:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":13189,"157":206,"87":13824,"24":0,"16":111600898370699264},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16]} 
[2026-07-27 15:54:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 15:54:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 15:54:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-07-27 15:54:37] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-27 15:54:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 15:54:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111600898370699264,"km_value":111600898370699.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:54:37] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":13189,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null}} 
[2026-07-27 15:54:37] local.INFO: DEBUG: GPS processor result {"connection_id":145366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553939,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:54:37] local.INFO: GPS data processed {"connection_id":145366,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:54:37] local.INFO: Acknowledgment sent {"connection_id":145366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:54:42] local.INFO: TCP Data received {"connection_id":142945,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa318b408012d18e9c007216660004a01382c..."} 
[2026-07-27 15:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa318b408012d18e9c007216660004a01382c..."} 
[2026-07-27 15:54:42] local.INFO: Processing buffer {"connection_id":142945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa318b408012d18e9c007216660004a01382c..."} 
[2026-07-27 15:54:42] local.INFO: Packet analysis {"connection_id":142945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa318"} 
[2026-07-27 15:54:42] local.INFO: Extracted packet for processing {"connection_id":142945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa318"} 
[2026-07-27 15:54:42] local.INFO: GPS Element Parsed {"raw_longitude":756607424,"raw_latitude":119629408,"longitude_deg":75.6607424,"latitude_deg":11.9629408,"altitude":74,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2d18e9c0","hex_latitude":"07216660","is_valid_coordinates":true} 
[2026-07-27 15:54:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:54:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997814272001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:54:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8883839204065280,"note":"Value kept but may cause issues"} 
[2026-07-27 15:54:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1795177063341514752,"note":"Value kept but may cause issues"} 
[2026-07-27 15:54:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:54:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785147733000,"timestamp_ms":1785147733000,"timestamp_seconds":1785147733,"priority":1,"record_length":96,"hex_timestamp":"0000019fa318b408"} 
[2026-07-27 15:54:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:54:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:54:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-27 15:54:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:54:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:54:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:54:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:54:42] local.INFO: Teltonika packet parsed successfully {"connection_id":142945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:54:42] local.INFO: Passing IMEI to GPS processor {"connection_id":142945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:54:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":142945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:54:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:54:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:54:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:54:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997814272001,"66":12776,"121":206,"28":31744,"24":0,"16":8883839204065280,"45":1795177063341514752},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 15:54:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:54:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:54:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997814272001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:54:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 15:54:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:54:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8883839204065280,"km_value":8883839204065.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:54:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1795177063341514752,"description":"Unknown IO ID 45"} 
[2026-07-27 15:54:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997814272001,"power":12776,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1795177063341514752}} 
[2026-07-27 15:54:42] local.INFO: TCP Data received {"connection_id":143097,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:54:42] local.INFO: Processing buffer {"connection_id":143097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:54:42] local.INFO: IMEI packet received {"connection_id":143097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 15:54:42] local.INFO: IMEI acknowledgment sent {"connection_id":143097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:54:42] local.INFO: DEBUG: GPS processor result {"connection_id":142945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553940,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:54:42] local.INFO: GPS data processed {"connection_id":142945,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:54:42] local.INFO: Acknowledgment sent {"connection_id":142945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:54:43] local.INFO: TCP Data received {"connection_id":143097,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3184a90012d9b624005b30318000c000b2b..."} 
[2026-07-27 15:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3184a90012d9b624005b30318000c000b2b..."} 
[2026-07-27 15:54:43] local.INFO: Processing buffer {"connection_id":143097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3184a90012d9b624005b30318000c000b2b..."} 
[2026-07-27 15:54:43] local.INFO: Packet analysis {"connection_id":143097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa318"} 
[2026-07-27 15:54:43] local.INFO: Extracted packet for processing {"connection_id":143097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa318"} 
[2026-07-27 15:54:43] local.INFO: GPS Element Parsed {"raw_longitude":765157952,"raw_latitude":95617816,"longitude_deg":76.5157952,"latitude_deg":9.5617816,"altitude":12,"angle":11,"satellites":43,"speed":17,"hex_longitude":"2d9b6240","hex_latitude":"05b30318","is_valid_coordinates":true} 
[2026-07-27 15:54:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:54:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997807360001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:54:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359065102806155264,"note":"Value kept but may cause issues"} 
[2026-07-27 15:54:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7251639800519921664,"note":"Value kept but may cause issues"} 
[2026-07-27 15:54:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:54:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785147706000,"timestamp_ms":1785147706000,"timestamp_seconds":1785147706,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3184a90"} 
[2026-07-27 15:54:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:54:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-27 15:54:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:54:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:54:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:54:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:54:43] local.INFO: Teltonika packet parsed successfully {"connection_id":143097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:54:43] local.INFO: Passing IMEI to GPS processor {"connection_id":143097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:54:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":143097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:54:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:54:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 15:54:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 15:54:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997807360001,"66":27930,"227":206,"83":17408,"24":17,"16":359065102806155264,"45":-7251639800519921664},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,83,24,16,45]} 
[2026-07-27 15:54:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 15:54:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 15:54:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997807360001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:54:43] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-07-27 15:54:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 15:54:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359065102806155264,"km_value":359065102806155.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:54:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7251639800519921664,"description":"Unknown IO ID 45"} 
[2026-07-27 15:54:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997807360001,"power":27930,"unknown_227":206,"unknown_83":17408,"ignition":17,"odometer":null,"unknown_45":-7251639800519921664}} 
[2026-07-27 15:54:43] local.INFO: DEBUG: GPS processor result {"connection_id":143097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:54:43] local.INFO: GPS data processed {"connection_id":143097,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:54:43] local.INFO: Acknowledgment sent {"connection_id":143097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:54:54] local.INFO: TCP Data received {"connection_id":145367,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa31adad0012d0a83400705aa40001e00b018..."} 
[2026-07-27 15:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa31adad0012d0a83400705aa40001e00b018..."} 
[2026-07-27 15:54:54] local.INFO: Processing buffer {"connection_id":145367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa31adad0012d0a83400705aa40001e00b018..."} 
[2026-07-27 15:54:54] local.INFO: Packet analysis {"connection_id":145367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa31a"} 
[2026-07-27 15:54:54] local.INFO: Extracted packet for processing {"connection_id":145367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa31a"} 
[2026-07-27 15:54:54] local.INFO: GPS Element Parsed {"raw_longitude":755663680,"raw_latitude":117811776,"longitude_deg":75.566368,"latitude_deg":11.7811776,"altitude":30,"angle":176,"satellites":24,"speed":7,"hex_longitude":"2d0a8340","hex_latitude":"0705aa40","is_valid_coordinates":true} 
[2026-07-27 15:54:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:54:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997853184001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:54:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25914479749365760,"note":"Value kept but may cause issues"} 
[2026-07-27 15:54:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":755478867652145152,"note":"Value kept but may cause issues"} 
[2026-07-27 15:54:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:54:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785147874000,"timestamp_ms":1785147874000,"timestamp_seconds":1785147874,"priority":1,"record_length":96,"hex_timestamp":"0000019fa31adad0"} 
[2026-07-27 15:54:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:54:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:54:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-27 15:54:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:54:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:54:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:54:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:54:54] local.INFO: Teltonika packet parsed successfully {"connection_id":145367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:54:54] local.INFO: Passing IMEI to GPS processor {"connection_id":145367,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 15:54:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":145367,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 15:54:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:54:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 15:54:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 15:54:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997853184001,"66":14515,"153":206,"94":10240,"24":7,"16":25914479749365760,"45":755478867652145152},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-07-27 15:54:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 15:54:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 15:54:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997853184001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:54:54] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-27 15:54:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 15:54:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25914479749365760,"km_value":25914479749365.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:54:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":755478867652145152,"description":"Unknown IO ID 45"} 
[2026-07-27 15:54:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997853184001,"power":14515,"unknown_153":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":755478867652145152}} 
[2026-07-27 15:54:55] local.INFO: DEBUG: GPS processor result {"connection_id":145367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553942,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:54:55] local.INFO: GPS data processed {"connection_id":145367,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:54:55] local.INFO: Acknowledgment sent {"connection_id":145367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:55:05] local.INFO: TCP Data received {"connection_id":144078,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144078,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:55:05] local.INFO: Processing buffer {"connection_id":144078,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:55:05] local.INFO: IMEI packet received {"connection_id":144078,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 15:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":144078,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:55:09] local.INFO: TCP Data received {"connection_id":145366,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa31b2120012d7a0e4005ec2d00000a00a00a..."} 
[2026-07-27 15:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa31b2120012d7a0e4005ec2d00000a00a00a..."} 
[2026-07-27 15:55:09] local.INFO: Processing buffer {"connection_id":145366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa31b2120012d7a0e4005ec2d00000a00a00a..."} 
[2026-07-27 15:55:09] local.INFO: Packet analysis {"connection_id":145366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa31b"} 
[2026-07-27 15:55:09] local.INFO: Extracted packet for processing {"connection_id":145366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa31b"} 
[2026-07-27 15:55:09] local.INFO: GPS Element Parsed {"raw_longitude":762973760,"raw_latitude":99364096,"longitude_deg":76.297376,"latitude_deg":9.9364096,"altitude":10,"angle":160,"satellites":10,"speed":1,"hex_longitude":"2d7a0e40","hex_latitude":"05ec2d00","is_valid_coordinates":true} 
[2026-07-27 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-07-27 15:55:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997859840001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:55:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111601379407036416,"note":"Value kept but may cause issues"} 
[2026-07-27 15:55:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8794967147738384384,"note":"Value kept but may cause issues"} 
[2026-07-27 15:55:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:55:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785147892000,"timestamp_ms":1785147892000,"timestamp_seconds":1785147892,"priority":1,"record_length":96,"hex_timestamp":"0000019fa31b2120"} 
[2026-07-27 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-07-27 15:55:09] 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-07-27 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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-27 15:55:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 15:55:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:55:09] local.INFO: Teltonika packet parsed successfully {"connection_id":145366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:55:09] local.INFO: Passing IMEI to GPS processor {"connection_id":145366,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 15:55:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":145366,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 15:55:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:55:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 15:55:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 15:55:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997859840001,"66":13091,"157":206,"87":13824,"24":1,"16":111601379407036416,"45":8794967147738384384},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-27 15:55:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 15:55:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 15:55:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997859840001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:55:09] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-27 15:55:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 15:55:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111601379407036416,"km_value":111601379407036.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:55:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8794967147738384384,"description":"Unknown IO ID 45"} 
[2026-07-27 15:55:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997859840001,"power":13091,"unknown_157":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":8794967147738384384}} 
[2026-07-27 15:55:09] local.INFO: DEBUG: GPS processor result {"connection_id":145366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553943,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:55:09] local.INFO: GPS data processed {"connection_id":145366,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:55:09] local.INFO: Acknowledgment sent {"connection_id":145366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:55:10] local.INFO: TCP Data received {"connection_id":144078,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144078,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:55:10] local.INFO: Processing buffer {"connection_id":144078,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:55:10] local.INFO: IMEI packet received {"connection_id":144078,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 15:55:10] local.INFO: IMEI acknowledgment sent {"connection_id":144078,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:55:11] local.INFO: TCP Data received {"connection_id":144078,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3190228012d18e9c007216660004a01382a..."} 
[2026-07-27 15:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3190228012d18e9c007216660004a01382a..."} 
[2026-07-27 15:55:11] local.INFO: Processing buffer {"connection_id":144078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3190228012d18e9c007216660004a01382a..."} 
[2026-07-27 15:55:11] local.INFO: Packet analysis {"connection_id":144078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa319"} 
[2026-07-27 15:55:11] local.INFO: Extracted packet for processing {"connection_id":144078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa319"} 
[2026-07-27 15:55:11] local.INFO: GPS Element Parsed {"raw_longitude":756607424,"raw_latitude":119629408,"longitude_deg":75.6607424,"latitude_deg":11.9629408,"altitude":74,"angle":312,"satellites":42,"speed":0,"hex_longitude":"2d18e9c0","hex_latitude":"07216660","is_valid_coordinates":true} 
[2026-07-27 15:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:55:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997819648001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:55:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8883839204065280,"note":"Value kept but may cause issues"} 
[2026-07-27 15:55:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1795177063341514752,"note":"Value kept but may cause issues"} 
[2026-07-27 15:55:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:55:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785147753000,"timestamp_ms":1785147753000,"timestamp_seconds":1785147753,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3190228"} 
[2026-07-27 15:55:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:55:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-27 15:55:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:55:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:55:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:55:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:55:11] local.INFO: Teltonika packet parsed successfully {"connection_id":144078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:55:11] local.INFO: Passing IMEI to GPS processor {"connection_id":144078,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:55:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":144078,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:55:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:55:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:55:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:55:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997819648001,"66":12722,"121":206,"28":31744,"24":0,"16":8883839204065280,"45":1795177063341514752},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 15:55:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:55:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:55:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997819648001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:55:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 15:55:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:55:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8883839204065280,"km_value":8883839204065.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:55:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1795177063341514752,"description":"Unknown IO ID 45"} 
[2026-07-27 15:55:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997819648001,"power":12722,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1795177063341514752}} 
[2026-07-27 15:55:11] local.INFO: DEBUG: GPS processor result {"connection_id":144078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553944,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:55:11] local.INFO: GPS data processed {"connection_id":144078,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:55:11] local.INFO: Acknowledgment sent {"connection_id":144078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:55:15] local.INFO: TCP Data received {"connection_id":143097,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa31adad0012d9bf78005b3c410001800522c..."} 
[2026-07-27 15:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa31adad0012d9bf78005b3c410001800522c..."} 
[2026-07-27 15:55:15] local.INFO: Processing buffer {"connection_id":143097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa31adad0012d9bf78005b3c410001800522c..."} 
[2026-07-27 15:55:15] local.INFO: Packet analysis {"connection_id":143097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa31a"} 
[2026-07-27 15:55:15] local.INFO: Extracted packet for processing {"connection_id":143097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa31a"} 
[2026-07-27 15:55:15] local.INFO: GPS Element Parsed {"raw_longitude":765196160,"raw_latitude":95667216,"longitude_deg":76.519616,"latitude_deg":9.5667216,"altitude":24,"angle":82,"satellites":44,"speed":18,"hex_longitude":"2d9bf780","hex_latitude":"05b3c410","is_valid_coordinates":true} 
[2026-07-27 15:55:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:55:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997855488001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:55:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359068220952412160,"note":"Value kept but may cause issues"} 
[2026-07-27 15:55:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7208574129069125632,"note":"Value kept but may cause issues"} 
[2026-07-27 15:55:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:55:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785147874000,"timestamp_ms":1785147874000,"timestamp_seconds":1785147874,"priority":1,"record_length":96,"hex_timestamp":"0000019fa31adad0"} 
[2026-07-27 15:55:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:55:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:55:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-27 15:55:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:55:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:55:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:55:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:55:15] local.INFO: Teltonika packet parsed successfully {"connection_id":143097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:55:15] local.INFO: Passing IMEI to GPS processor {"connection_id":143097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:55:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":143097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:55: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-07-27 15:55:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 15:55:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 15:55:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997855488001,"66":27865,"226":206,"83":17408,"24":18,"16":359068220952412160,"45":-7208574129069125632},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-07-27 15:55:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 15:55:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 15:55:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997855488001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:55:15] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-27 15:55:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 15:55:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359068220952412160,"km_value":359068220952412.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:55:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7208574129069125632,"description":"Unknown IO ID 45"} 
[2026-07-27 15:55:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997855488001,"power":27865,"unknown_226":206,"unknown_83":17408,"ignition":18,"odometer":null,"unknown_45":-7208574129069125632}} 
[2026-07-27 15:55:15] local.INFO: DEBUG: GPS processor result {"connection_id":143097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:55:15] local.INFO: GPS data processed {"connection_id":143097,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:55:15] local.INFO: Acknowledgment sent {"connection_id":143097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:55:15] local.INFO: TCP Data received {"connection_id":144078,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3195430012d18e9c007216660004a01382e..."} 
[2026-07-27 15:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3195430012d18e9c007216660004a01382e..."} 
[2026-07-27 15:55:15] local.INFO: Processing buffer {"connection_id":144078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3195430012d18e9c007216660004a01382e..."} 
[2026-07-27 15:55:15] local.INFO: Packet analysis {"connection_id":144078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa319"} 
[2026-07-27 15:55:15] local.INFO: Extracted packet for processing {"connection_id":144078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa319"} 
[2026-07-27 15:55:15] local.INFO: GPS Element Parsed {"raw_longitude":756607424,"raw_latitude":119629408,"longitude_deg":75.6607424,"latitude_deg":11.9629408,"altitude":74,"angle":312,"satellites":46,"speed":0,"hex_longitude":"2d18e9c0","hex_latitude":"07216660","is_valid_coordinates":true} 
[2026-07-27 15:55:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:55:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997824768001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:55:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8883839204065280,"note":"Value kept but may cause issues"} 
[2026-07-27 15:55:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1795177063341514752,"note":"Value kept but may cause issues"} 
[2026-07-27 15:55: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-07-27 15:55:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785147774000,"timestamp_ms":1785147774000,"timestamp_seconds":1785147774,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3195430"} 
[2026-07-27 15:55:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:55:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:55:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-27 15:55:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:55:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:55:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:55:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:55:15] local.INFO: Teltonika packet parsed successfully {"connection_id":144078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:55:15] local.INFO: Passing IMEI to GPS processor {"connection_id":144078,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:55:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":144078,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:55:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:55:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:55:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:55:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997824768001,"66":12722,"121":206,"28":31744,"24":0,"16":8883839204065280,"45":1795177063341514752},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 15:55:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:55:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:55:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997824768001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:55:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 15:55:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:55:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8883839204065280,"km_value":8883839204065.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:55:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1795177063341514752,"description":"Unknown IO ID 45"} 
[2026-07-27 15:55:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997824768001,"power":12722,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1795177063341514752}} 
[2026-07-27 15:55:15] local.INFO: DEBUG: GPS processor result {"connection_id":144078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553946,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:55:15] local.INFO: GPS data processed {"connection_id":144078,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:55:15] local.INFO: Acknowledgment sent {"connection_id":144078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:55:22] local.INFO: TCP Data received {"connection_id":142946,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:55:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142946,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:55:22] local.INFO: Processing buffer {"connection_id":142946,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:55:22] local.INFO: IMEI packet received {"connection_id":142946,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 15:55:22] local.INFO: IMEI acknowledgment sent {"connection_id":142946,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:55:27] local.INFO: TCP Data received {"connection_id":142946,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142946,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:55:27] local.INFO: Processing buffer {"connection_id":142946,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:55:27] local.INFO: IMEI packet received {"connection_id":142946,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 15:55:27] local.INFO: IMEI acknowledgment sent {"connection_id":142946,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:55:27] local.INFO: TCP Data received {"connection_id":142946,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa31adeb8012d0a83400705a958001e00c218..."} 
[2026-07-27 15:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa31adeb8012d0a83400705a958001e00c218..."} 
[2026-07-27 15:55:27] local.INFO: Processing buffer {"connection_id":142946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa31adeb8012d0a83400705a958001e00c218..."} 
[2026-07-27 15:55:27] local.INFO: Packet analysis {"connection_id":142946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa31a"} 
[2026-07-27 15:55:27] local.INFO: Extracted packet for processing {"connection_id":142946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa31a"} 
[2026-07-27 15:55:27] local.INFO: GPS Element Parsed {"raw_longitude":755663680,"raw_latitude":117811544,"longitude_deg":75.566368,"latitude_deg":11.7811544,"altitude":30,"angle":194,"satellites":24,"speed":9,"hex_longitude":"2d0a8340","hex_latitude":"0705a958","is_valid_coordinates":true} 
[2026-07-27 15:55:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:55:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997855744001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:55:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25914488339300352,"note":"Value kept but may cause issues"} 
[2026-07-27 15:55:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":757519561232367616,"note":"Value kept but may cause issues"} 
[2026-07-27 15:55:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:55:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785147875000,"timestamp_ms":1785147875000,"timestamp_seconds":1785147875,"priority":1,"record_length":96,"hex_timestamp":"0000019fa31adeb8"} 
[2026-07-27 15:55:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:55:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:55:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-27 15:55:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:55:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:55:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:55:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:55:27] local.INFO: Teltonika packet parsed successfully {"connection_id":142946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:55:27] local.INFO: Passing IMEI to GPS processor {"connection_id":142946,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 15:55:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":142946,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 15:55:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:55:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 15:55:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 15:55:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997855744001,"66":14450,"153":206,"94":10240,"24":9,"16":25914488339300352,"45":757519561232367616},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-07-27 15:55:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 15:55:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 15:55:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997855744001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:55:27] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-27 15:55:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 15:55:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25914488339300352,"km_value":25914488339300.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:55:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":757519561232367616,"description":"Unknown IO ID 45"} 
[2026-07-27 15:55:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997855744001,"power":14450,"unknown_153":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":757519561232367616}} 
[2026-07-27 15:55:27] local.INFO: DEBUG: GPS processor result {"connection_id":142946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553947,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:55:27] local.INFO: GPS data processed {"connection_id":142946,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:55:27] local.INFO: Acknowledgment sent {"connection_id":142946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:55:40] local.INFO: TCP Data received {"connection_id":145366,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa31b2cd8012d7a0e4005ec2c98000a00890a..."} 
[2026-07-27 15:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa31b2cd8012d7a0e4005ec2c98000a00890a..."} 
[2026-07-27 15:55:40] local.INFO: Processing buffer {"connection_id":145366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa31b2cd8012d7a0e4005ec2c98000a00890a..."} 
[2026-07-27 15:55:40] local.INFO: Packet analysis {"connection_id":145366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa31b"} 
[2026-07-27 15:55:40] local.INFO: Extracted packet for processing {"connection_id":145366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa31b"} 
[2026-07-27 15:55:40] local.INFO: GPS Element Parsed {"raw_longitude":762973760,"raw_latitude":99363992,"longitude_deg":76.297376,"latitude_deg":9.9363992,"altitude":10,"angle":137,"satellites":10,"speed":1,"hex_longitude":"2d7a0e40","hex_latitude":"05ec2c98","is_valid_coordinates":true} 
[2026-07-27 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-07-27 15:55:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997860352001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:55:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111601383702003712,"note":"Value kept but may cause issues"} 
[2026-07-27 15:55:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795037516482543616,"note":"Value kept but may cause issues"} 
[2026-07-27 15:55:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:55:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785147895000,"timestamp_ms":1785147895000,"timestamp_seconds":1785147895,"priority":1,"record_length":96,"hex_timestamp":"0000019fa31b2cd8"} 
[2026-07-27 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-07-27 15:55:40] 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-07-27 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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-27 15:55:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 15:55:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:55:40] local.INFO: Teltonika packet parsed successfully {"connection_id":145366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:55:40] local.INFO: Passing IMEI to GPS processor {"connection_id":145366,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 15:55:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":145366,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 15:55:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:55:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 15:55:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 15:55:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997860352001,"66":13015,"157":206,"87":13824,"24":1,"16":111601383702003712,"45":8795037516482543616},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-27 15:55:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 15:55:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 15:55:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997860352001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:55:40] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-27 15:55:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 15:55:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111601383702003712,"km_value":111601383702003.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:55:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795037516482543616,"description":"Unknown IO ID 45"} 
[2026-07-27 15:55:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997860352001,"power":13015,"unknown_157":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":8795037516482543616}} 
[2026-07-27 15:55:40] local.INFO: DEBUG: GPS processor result {"connection_id":145366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553948,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:55:40] local.INFO: GPS data processed {"connection_id":145366,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:55:40] local.INFO: Acknowledgment sent {"connection_id":145366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:55:48] local.INFO: TCP Data received {"connection_id":145368,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:55:48] local.INFO: Processing buffer {"connection_id":145368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:55:48] local.INFO: IMEI packet received {"connection_id":145368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 15:55:48] local.INFO: IMEI acknowledgment sent {"connection_id":145368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:55:49] local.INFO: TCP Data received {"connection_id":145368,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:55:49] local.INFO: Processing buffer {"connection_id":145368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:55:49] local.INFO: IMEI packet received {"connection_id":145368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 15:55:49] local.INFO: IMEI acknowledgment sent {"connection_id":145368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:55:52] local.INFO: TCP Data received {"connection_id":145368,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:55:52] local.INFO: Processing buffer {"connection_id":145368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:55:52] local.INFO: IMEI packet received {"connection_id":145368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 15:55:52] local.INFO: IMEI acknowledgment sent {"connection_id":145368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:55:53] local.INFO: TCP Data received {"connection_id":145368,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa31adeb8012d9bf94005b3c3e0001800632d..."} 
[2026-07-27 15:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa31adeb8012d9bf94005b3c3e0001800632d..."} 
[2026-07-27 15:55:53] local.INFO: Processing buffer {"connection_id":145368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa31adeb8012d9bf94005b3c3e0001800632d..."} 
[2026-07-27 15:55:53] local.INFO: Packet analysis {"connection_id":145368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa31a"} 
[2026-07-27 15:55:53] local.INFO: Extracted packet for processing {"connection_id":145368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa31a"} 
[2026-07-27 15:55:53] local.INFO: GPS Element Parsed {"raw_longitude":765196608,"raw_latitude":95667168,"longitude_deg":76.5196608,"latitude_deg":9.5667168,"altitude":24,"angle":99,"satellites":45,"speed":20,"hex_longitude":"2d9bf940","hex_latitude":"05b3c3e0","is_valid_coordinates":true} 
[2026-07-27 15:55:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:55:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997855744001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:55:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359068242427248640,"note":"Value kept but may cause issues"} 
[2026-07-27 15:55:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7208151916604026880,"note":"Value kept but may cause issues"} 
[2026-07-27 15:55:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:55:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785147875000,"timestamp_ms":1785147875000,"timestamp_seconds":1785147875,"priority":1,"record_length":96,"hex_timestamp":"0000019fa31adeb8"} 
[2026-07-27 15:55:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:55:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:55:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-27 15:55:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:55:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:55:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:55:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:55:53] local.INFO: Teltonika packet parsed successfully {"connection_id":145368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:55:53] local.INFO: Passing IMEI to GPS processor {"connection_id":145368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:55:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":145368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:55:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:55:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 15:55:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 15:55:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997855744001,"66":27995,"226":206,"83":17408,"24":20,"16":359068242427248640,"45":-7208151916604026880},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-07-27 15:55:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 15:55:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 15:55:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997855744001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:55:53] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-27 15:55:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 15:55:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359068242427248640,"km_value":359068242427248.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:55:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7208151916604026880,"description":"Unknown IO ID 45"} 
[2026-07-27 15:55:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997855744001,"power":27995,"unknown_226":206,"unknown_83":17408,"ignition":20,"odometer":null,"unknown_45":-7208151916604026880}} 
[2026-07-27 15:55:53] local.INFO: DEBUG: GPS processor result {"connection_id":145368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:55:53] local.INFO: GPS data processed {"connection_id":145368,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:55:53] local.INFO: Acknowledgment sent {"connection_id":145368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:55:59] local.INFO: TCP Data received {"connection_id":142946,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa31aea70012d0a81800705a608001d00d718..."} 
[2026-07-27 15:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa31aea70012d0a81800705a608001d00d718..."} 
[2026-07-27 15:55:59] local.INFO: Processing buffer {"connection_id":142946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa31aea70012d0a81800705a608001d00d718..."} 
[2026-07-27 15:55:59] local.INFO: Packet analysis {"connection_id":142946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa31a"} 
[2026-07-27 15:55:59] local.INFO: Extracted packet for processing {"connection_id":142946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa31a"} 
[2026-07-27 15:55:59] local.INFO: GPS Element Parsed {"raw_longitude":755663232,"raw_latitude":117810696,"longitude_deg":75.5663232,"latitude_deg":11.7810696,"altitude":29,"angle":215,"satellites":24,"speed":15,"hex_longitude":"2d0a8180","hex_latitude":"0705a608","is_valid_coordinates":true} 
[2026-07-27 15:55:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:55:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997856000001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:55:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25914535583940608,"note":"Value kept but may cause issues"} 
[2026-07-27 15:55:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":757519561232308224,"note":"Value kept but may cause issues"} 
[2026-07-27 15:55:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:55:59] local.INFO: AVL Record Parsed {"raw_timestamp":1785147878000,"timestamp_ms":1785147878000,"timestamp_seconds":1785147878,"priority":1,"record_length":96,"hex_timestamp":"0000019fa31aea70"} 
[2026-07-27 15:55:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:55:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:55:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-27 15:55:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:55:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:55:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:55:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:55:59] local.INFO: Teltonika packet parsed successfully {"connection_id":142946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:55:59] local.INFO: Passing IMEI to GPS processor {"connection_id":142946,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 15:55:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":142946,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 15:55:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:55:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 15:55:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 15:55:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997856000001,"66":14439,"153":206,"94":10240,"24":15,"16":25914535583940608,"45":757519561232308224},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-07-27 15:55:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 15:55:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 15:55:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997856000001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:55:59] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-27 15:55:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 15:55:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25914535583940608,"km_value":25914535583940.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:55:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":757519561232308224,"description":"Unknown IO ID 45"} 
[2026-07-27 15:55:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997856000001,"power":14439,"unknown_153":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":757519561232308224}} 
[2026-07-27 15:55:59] local.INFO: DEBUG: GPS processor result {"connection_id":142946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553950,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:55:59] local.INFO: GPS data processed {"connection_id":142946,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:55:59] local.INFO: Acknowledgment sent {"connection_id":142946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:56:00] local.INFO: TCP Data received {"connection_id":143098,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143098,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:56:00] local.INFO: Processing buffer {"connection_id":143098,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:56:00] local.INFO: IMEI packet received {"connection_id":143098,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 15:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":143098,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:56:00] local.INFO: TCP Data received {"connection_id":143098,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143098,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:56:00] local.INFO: Processing buffer {"connection_id":143098,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:56:00] local.INFO: IMEI packet received {"connection_id":143098,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 15:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":143098,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:56:08] local.INFO: TCP Data received {"connection_id":143098,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143098,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:56:08] local.INFO: Processing buffer {"connection_id":143098,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:56:08] local.INFO: IMEI packet received {"connection_id":143098,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 15:56:08] local.INFO: IMEI acknowledgment sent {"connection_id":143098,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:56:09] local.INFO: TCP Data received {"connection_id":143098,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa319a638012d18e9c007216660004a01382f..."} 
[2026-07-27 15:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143098,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa319a638012d18e9c007216660004a01382f..."} 
[2026-07-27 15:56:09] local.INFO: Processing buffer {"connection_id":143098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa319a638012d18e9c007216660004a01382f..."} 
[2026-07-27 15:56:09] local.INFO: Packet analysis {"connection_id":143098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa319"} 
[2026-07-27 15:56:09] local.INFO: Extracted packet for processing {"connection_id":143098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa319"} 
[2026-07-27 15:56:09] local.INFO: GPS Element Parsed {"raw_longitude":756607424,"raw_latitude":119629408,"longitude_deg":75.6607424,"latitude_deg":11.9629408,"altitude":74,"angle":312,"satellites":47,"speed":0,"hex_longitude":"2d18e9c0","hex_latitude":"07216660","is_valid_coordinates":true} 
[2026-07-27 15:56:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:56:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997830144001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:56:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8883839204065280,"note":"Value kept but may cause issues"} 
[2026-07-27 15:56:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1795177063341514752,"note":"Value kept but may cause issues"} 
[2026-07-27 15:56:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:56:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785147795000,"timestamp_ms":1785147795000,"timestamp_seconds":1785147795,"priority":1,"record_length":96,"hex_timestamp":"0000019fa319a638"} 
[2026-07-27 15:56:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:56:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:56:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-27 15:56:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:56:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:56:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:56:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:56:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:56:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:56:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:56:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:56:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:56:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:56:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997830144001,"66":12722,"121":206,"28":31744,"24":0,"16":8883839204065280,"45":1795177063341514752},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 15:56:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:56:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:56:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997830144001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:56:09] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 15:56:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:56:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8883839204065280,"km_value":8883839204065.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:56:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1795177063341514752,"description":"Unknown IO ID 45"} 
[2026-07-27 15:56:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997830144001,"power":12722,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1795177063341514752}} 
[2026-07-27 15:56:09] local.INFO: DEBUG: GPS processor result {"connection_id":143098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553951,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:56:09] local.INFO: GPS data processed {"connection_id":143098,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:56:09] local.INFO: Acknowledgment sent {"connection_id":143098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:56:10] local.INFO: TCP Data received {"connection_id":143098,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa319fc28012d18e9c007216660004a01382f..."} 
[2026-07-27 15:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143098,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa319fc28012d18e9c007216660004a01382f..."} 
[2026-07-27 15:56:10] local.INFO: Processing buffer {"connection_id":143098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa319fc28012d18e9c007216660004a01382f..."} 
[2026-07-27 15:56:10] local.INFO: Packet analysis {"connection_id":143098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa319"} 
[2026-07-27 15:56:10] local.INFO: Extracted packet for processing {"connection_id":143098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa319"} 
[2026-07-27 15:56:10] local.INFO: GPS Element Parsed {"raw_longitude":756607424,"raw_latitude":119629408,"longitude_deg":75.6607424,"latitude_deg":11.9629408,"altitude":74,"angle":312,"satellites":47,"speed":0,"hex_longitude":"2d18e9c0","hex_latitude":"07216660","is_valid_coordinates":true} 
[2026-07-27 15:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:56:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997835520001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:56:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8883839204065280,"note":"Value kept but may cause issues"} 
[2026-07-27 15:56:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1795177063341514752,"note":"Value kept but may cause issues"} 
[2026-07-27 15:56:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:56:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785147817000,"timestamp_ms":1785147817000,"timestamp_seconds":1785147817,"priority":1,"record_length":96,"hex_timestamp":"0000019fa319fc28"} 
[2026-07-27 15:56:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:56:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-27 15:56:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:56:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:56:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:56:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:56:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:56:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:56:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:56:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:56:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:56:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:56:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997835520001,"66":12722,"121":206,"28":31744,"24":0,"16":8883839204065280,"45":1795177063341514752},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 15:56:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:56:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:56:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997835520001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:56:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 15:56:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:56:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8883839204065280,"km_value":8883839204065.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:56:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1795177063341514752,"description":"Unknown IO ID 45"} 
[2026-07-27 15:56:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997835520001,"power":12722,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1795177063341514752}} 
[2026-07-27 15:56:10] local.INFO: DEBUG: GPS processor result {"connection_id":143098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553952,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:56:10] local.INFO: GPS data processed {"connection_id":143098,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:56:10] local.INFO: Acknowledgment sent {"connection_id":143098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:56:11] local.INFO: TCP Data received {"connection_id":145366,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa31b4060012d7a0fc005ec2a30000a00970a..."} 
[2026-07-27 15:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa31b4060012d7a0fc005ec2a30000a00970a..."} 
[2026-07-27 15:56:11] local.INFO: Processing buffer {"connection_id":145366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa31b4060012d7a0fc005ec2a30000a00970a..."} 
[2026-07-27 15:56:11] local.INFO: Packet analysis {"connection_id":145366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa31b"} 
[2026-07-27 15:56:11] local.INFO: Extracted packet for processing {"connection_id":145366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa31b"} 
[2026-07-27 15:56:11] local.INFO: GPS Element Parsed {"raw_longitude":762974144,"raw_latitude":99363376,"longitude_deg":76.2974144,"latitude_deg":9.9363376,"altitude":10,"angle":151,"satellites":10,"speed":6,"hex_longitude":"2d7a0fc0","hex_latitude":"05ec2a30","is_valid_coordinates":true} 
[2026-07-27 15:56:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:56:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997861120001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:56:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111601422356709376,"note":"Value kept but may cause issues"} 
[2026-07-27 15:56:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795037516482516992,"note":"Value kept but may cause issues"} 
[2026-07-27 15:56:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:56:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785147900000,"timestamp_ms":1785147900000,"timestamp_seconds":1785147900,"priority":1,"record_length":96,"hex_timestamp":"0000019fa31b4060"} 
[2026-07-27 15:56:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:56:11] 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-07-27 15: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-27 15:56:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:56:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:56:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:56:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:56:11] local.INFO: Teltonika packet parsed successfully {"connection_id":145366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:56:11] local.INFO: Passing IMEI to GPS processor {"connection_id":145366,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 15:56:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":145366,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 15:56:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:56:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 15:56:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 15:56:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997861120001,"66":12722,"157":206,"87":13824,"24":6,"16":111601422356709376,"45":8795037516482516992},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-27 15:56:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 15:56:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 15:56:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997861120001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:56:11] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-27 15:56:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 15:56:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111601422356709376,"km_value":111601422356709.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:56:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795037516482516992,"description":"Unknown IO ID 45"} 
[2026-07-27 15:56:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997861120001,"power":12722,"unknown_157":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8795037516482516992}} 
[2026-07-27 15:56:11] local.INFO: DEBUG: GPS processor result {"connection_id":145366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553953,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:56:11] local.INFO: GPS data processed {"connection_id":145366,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:56:11] local.INFO: Acknowledgment sent {"connection_id":145366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:56:16] local.INFO: TCP Data received {"connection_id":142947,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142947,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:56:16] local.INFO: Processing buffer {"connection_id":142947,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:56:16] local.INFO: IMEI packet received {"connection_id":142947,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 15:56:16] local.INFO: IMEI acknowledgment sent {"connection_id":142947,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:56:22] local.INFO: TCP Data received {"connection_id":142947,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:56:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142947,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:56:22] local.INFO: Processing buffer {"connection_id":142947,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:56:22] local.INFO: IMEI packet received {"connection_id":142947,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 15:56:22] local.INFO: IMEI acknowledgment sent {"connection_id":142947,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:56:23] local.INFO: TCP Data received {"connection_id":142947,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa31c22f0012d0a4a0007058758001a013619..."} 
[2026-07-27 15:56:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa31c22f0012d0a4a0007058758001a013619..."} 
[2026-07-27 15:56:23] local.INFO: Processing buffer {"connection_id":142947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa31c22f0012d0a4a0007058758001a013619..."} 
[2026-07-27 15:56:23] local.INFO: Packet analysis {"connection_id":142947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa31c"} 
[2026-07-27 15:56:23] local.INFO: Extracted packet for processing {"connection_id":142947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa31c"} 
[2026-07-27 15:56:23] local.INFO: GPS Element Parsed {"raw_longitude":755649024,"raw_latitude":117802840,"longitude_deg":75.5649024,"latitude_deg":11.780284,"altitude":26,"angle":310,"satellites":25,"speed":12,"hex_longitude":"2d0a4a00","hex_latitude":"07058758","is_valid_coordinates":true} 
[2026-07-27 15:56:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:56:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997876224001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:56:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25915553491189760,"note":"Value kept but may cause issues"} 
[2026-07-27 15:56:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":741968068766588928,"note":"Value kept but may cause issues"} 
[2026-07-27 15:56:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:56:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785147958000,"timestamp_ms":1785147958000,"timestamp_seconds":1785147958,"priority":1,"record_length":96,"hex_timestamp":"0000019fa31c22f0"} 
[2026-07-27 15:56:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:56: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-07-27 15:56:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-27 15:56:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:56:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:56:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:56:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:56:23] local.INFO: Teltonika packet parsed successfully {"connection_id":142947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:56:23] local.INFO: Passing IMEI to GPS processor {"connection_id":142947,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 15:56:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":142947,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 15:56:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:56:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 15:56:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 15:56:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997876224001,"66":14537,"177":206,"94":10240,"24":12,"16":25915553491189760,"45":741968068766588928},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-07-27 15:56:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 15:56:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 15:56:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997876224001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:56:23] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-27 15:56:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 15:56:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25915553491189760,"km_value":25915553491189.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:56:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":741968068766588928,"description":"Unknown IO ID 45"} 
[2026-07-27 15:56:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997876224001,"power":14537,"unknown_177":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":741968068766588928}} 
[2026-07-27 15:56:23] local.INFO: DEBUG: GPS processor result {"connection_id":142947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553954,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:56:23] local.INFO: GPS data processed {"connection_id":142947,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:56:23] local.INFO: Acknowledgment sent {"connection_id":142947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:56:31] local.INFO: TCP Data received {"connection_id":144079,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:56:31] local.INFO: Processing buffer {"connection_id":144079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:56:31] local.INFO: IMEI packet received {"connection_id":144079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 15:56:31] local.INFO: IMEI acknowledgment sent {"connection_id":144079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:56:37] local.INFO: TCP Data received {"connection_id":144079,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:56:37] local.INFO: Processing buffer {"connection_id":144079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:56:37] local.INFO: IMEI packet received {"connection_id":144079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 15:56:37] local.INFO: IMEI acknowledgment sent {"connection_id":144079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:56:38] local.INFO: TCP Data received {"connection_id":144079,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa31ae2a0012d9bfb0005b3c330001800702d..."} 
[2026-07-27 15:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144079,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa31ae2a0012d9bfb0005b3c330001800702d..."} 
[2026-07-27 15:56:38] local.INFO: Processing buffer {"connection_id":144079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa31ae2a0012d9bfb0005b3c330001800702d..."} 
[2026-07-27 15:56:38] local.INFO: Packet analysis {"connection_id":144079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa31a"} 
[2026-07-27 15:56:38] local.INFO: Extracted packet for processing {"connection_id":144079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa31a"} 
[2026-07-27 15:56:38] local.INFO: GPS Element Parsed {"raw_longitude":765197056,"raw_latitude":95666992,"longitude_deg":76.5197056,"latitude_deg":9.5666992,"altitude":24,"angle":112,"satellites":45,"speed":22,"hex_longitude":"2d9bfb00","hex_latitude":"05b3c330","is_valid_coordinates":true} 
[2026-07-27 15:56:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:56:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997856000001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:56:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359068268197052416,"note":"Value kept but may cause issues"} 
[2026-07-27 15:56:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7207659335394795520,"note":"Value kept but may cause issues"} 
[2026-07-27 15:56:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:56:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785147876000,"timestamp_ms":1785147876000,"timestamp_seconds":1785147876,"priority":1,"record_length":96,"hex_timestamp":"0000019fa31ae2a0"} 
[2026-07-27 15:56:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:56:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:56:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-27 15:56:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:56:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:56:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:56:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:56:38] local.INFO: Teltonika packet parsed successfully {"connection_id":144079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:56:38] local.INFO: Passing IMEI to GPS processor {"connection_id":144079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:56:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":144079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:56:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:56:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 15:56:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 15:56:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997856000001,"66":27995,"226":206,"83":17408,"24":22,"16":359068268197052416,"45":-7207659335394795520},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-07-27 15:56:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 15:56:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 15:56:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997856000001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:56:38] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-27 15:56:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 15:56:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359068268197052416,"km_value":359068268197052.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:56:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7207659335394795520,"description":"Unknown IO ID 45"} 
[2026-07-27 15:56:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997856000001,"power":27995,"unknown_226":206,"unknown_83":17408,"ignition":22,"odometer":null,"unknown_45":-7207659335394795520}} 
[2026-07-27 15:56:38] local.INFO: DEBUG: GPS processor result {"connection_id":144079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:56:38] local.INFO: GPS data processed {"connection_id":144079,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:56:38] local.INFO: Acknowledgment sent {"connection_id":144079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:56:42] local.INFO: TCP Data received {"connection_id":143098,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa31a4e30012d18e9c007216660004a01382e..."} 
[2026-07-27 15:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143098,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa31a4e30012d18e9c007216660004a01382e..."} 
[2026-07-27 15:56:42] local.INFO: Processing buffer {"connection_id":143098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa31a4e30012d18e9c007216660004a01382e..."} 
[2026-07-27 15:56:42] local.INFO: Packet analysis {"connection_id":143098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa31a"} 
[2026-07-27 15:56:42] local.INFO: Extracted packet for processing {"connection_id":143098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa31a"} 
[2026-07-27 15:56:42] local.INFO: GPS Element Parsed {"raw_longitude":756607424,"raw_latitude":119629408,"longitude_deg":75.6607424,"latitude_deg":11.9629408,"altitude":74,"angle":312,"satellites":46,"speed":0,"hex_longitude":"2d18e9c0","hex_latitude":"07216660","is_valid_coordinates":true} 
[2026-07-27 15: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-07-27 15:56:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997841152001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:56:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8883839204065280,"note":"Value kept but may cause issues"} 
[2026-07-27 15:56:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1795177063341514752,"note":"Value kept but may cause issues"} 
[2026-07-27 15:56:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:56:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785147838000,"timestamp_ms":1785147838000,"timestamp_seconds":1785147838,"priority":1,"record_length":96,"hex_timestamp":"0000019fa31a4e30"} 
[2026-07-27 15:56:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:56:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-27 15:56:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15: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-07-27 15:56:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:56:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:56:42] local.INFO: Teltonika packet parsed successfully {"connection_id":143098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:56:42] local.INFO: Passing IMEI to GPS processor {"connection_id":143098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:56:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":143098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:56:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:56:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:56:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:56:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997841152001,"66":12711,"121":206,"28":31744,"24":0,"16":8883839204065280,"45":1795177063341514752},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 15:56:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:56:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:56:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997841152001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:56:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 15:56:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:56:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8883839204065280,"km_value":8883839204065.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:56:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1795177063341514752,"description":"Unknown IO ID 45"} 
[2026-07-27 15:56:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997841152001,"power":12711,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1795177063341514752}} 
[2026-07-27 15:56:43] local.INFO: DEBUG: GPS processor result {"connection_id":143098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553956,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:56:43] local.INFO: GPS data processed {"connection_id":143098,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:56:43] local.INFO: Acknowledgment sent {"connection_id":143098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:56:43] local.INFO: TCP Data received {"connection_id":145366,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa31b8a98012d7a1ec005ec09380000009a0a..."} 
[2026-07-27 15:56:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa31b8a98012d7a1ec005ec09380000009a0a..."} 
[2026-07-27 15:56:43] local.INFO: Processing buffer {"connection_id":145366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa31b8a98012d7a1ec005ec09380000009a0a..."} 
[2026-07-27 15:56:43] local.INFO: Packet analysis {"connection_id":145366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa31b"} 
[2026-07-27 15:56:43] local.INFO: Extracted packet for processing {"connection_id":145366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa31b"} 
[2026-07-27 15:56:43] local.INFO: GPS Element Parsed {"raw_longitude":762977984,"raw_latitude":99354936,"longitude_deg":76.2977984,"latitude_deg":9.9354936,"altitude":0,"angle":154,"satellites":10,"speed":22,"hex_longitude":"2d7a1ec0","hex_latitude":"05ec0938","is_valid_coordinates":true} 
[2026-07-27 15:56:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:56:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997862400001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:56:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111601873328275456,"note":"Value kept but may cause issues"} 
[2026-07-27 15:56:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795459728947425280,"note":"Value kept but may cause issues"} 
[2026-07-27 15:56:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:56:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785147919000,"timestamp_ms":1785147919000,"timestamp_seconds":1785147919,"priority":1,"record_length":96,"hex_timestamp":"0000019fa31b8a98"} 
[2026-07-27 15:56:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:56:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4608,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:56:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-27 15:56:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:56:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:56:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:56:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:56:43] local.INFO: Teltonika packet parsed successfully {"connection_id":145366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:56:43] local.INFO: Passing IMEI to GPS processor {"connection_id":145366,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 15:56:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":145366,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 15:56:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:56:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 15:56:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 15:56:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997862400001,"66":12917,"156":206,"87":13824,"24":22,"16":111601873328275456,"45":8795459728947425280},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-07-27 15:56:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 15:56:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 15:56:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997862400001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:56:43] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-27 15:56:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 15:56:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111601873328275456,"km_value":111601873328275.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:56:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795459728947425280,"description":"Unknown IO ID 45"} 
[2026-07-27 15:56:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997862400001,"power":12917,"unknown_156":206,"unknown_87":13824,"ignition":22,"odometer":null,"unknown_45":8795459728947425280}} 
[2026-07-27 15:56:43] local.INFO: DEBUG: GPS processor result {"connection_id":145366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553957,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:56:43] local.INFO: GPS data processed {"connection_id":145366,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:56:43] local.INFO: Acknowledgment sent {"connection_id":145366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:56:54] local.INFO: TCP Data received {"connection_id":142947,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa31c26d8012d0a4940070588000019012318..."} 
[2026-07-27 15:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa31c26d8012d0a4940070588000019012318..."} 
[2026-07-27 15:56:54] local.INFO: Processing buffer {"connection_id":142947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa31c26d8012d0a4940070588000019012318..."} 
[2026-07-27 15:56:54] local.INFO: Packet analysis {"connection_id":142947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa31c"} 
[2026-07-27 15:56:54] local.INFO: Extracted packet for processing {"connection_id":142947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa31c"} 
[2026-07-27 15:56:54] local.INFO: GPS Element Parsed {"raw_longitude":755648832,"raw_latitude":117803008,"longitude_deg":75.5648832,"latitude_deg":11.7803008,"altitude":25,"angle":291,"satellites":24,"speed":12,"hex_longitude":"2d0a4940","hex_latitude":"07058800","is_valid_coordinates":true} 
[2026-07-27 15:56:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:56:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997877248001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:56:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25915566376091648,"note":"Value kept but may cause issues"} 
[2026-07-27 15:56:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":741405118813394944,"note":"Value kept but may cause issues"} 
[2026-07-27 15:56:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:56:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785147959000,"timestamp_ms":1785147959000,"timestamp_seconds":1785147959,"priority":1,"record_length":96,"hex_timestamp":"0000019fa31c26d8"} 
[2026-07-27 15:56:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:56:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:56:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-27 15:56:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:56:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:56:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:56:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:56:54] local.INFO: Teltonika packet parsed successfully {"connection_id":142947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:56:54] local.INFO: Passing IMEI to GPS processor {"connection_id":142947,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 15:56:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":142947,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 15:56:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:56:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 15:56:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 15:56:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997877248001,"66":14537,"177":206,"94":10240,"24":12,"16":25915566376091648,"45":741405118813394944},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-07-27 15:56:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 15:56:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 15:56:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997877248001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:56:54] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-27 15:56:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 15:56:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25915566376091648,"km_value":25915566376091.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:56:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":741405118813394944,"description":"Unknown IO ID 45"} 
[2026-07-27 15:56:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997877248001,"power":14537,"unknown_177":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":741405118813394944}} 
[2026-07-27 15:56:54] local.INFO: DEBUG: GPS processor result {"connection_id":142947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553958,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:56:54] local.INFO: GPS data processed {"connection_id":142947,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:56:54] local.INFO: Acknowledgment sent {"connection_id":142947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:56:59] local.INFO: TCP Data received {"connection_id":143099,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143099,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:56:59] local.INFO: Processing buffer {"connection_id":143099,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:56:59] local.INFO: IMEI packet received {"connection_id":143099,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 15:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":143099,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:57:03] local.INFO: TCP Data received {"connection_id":143099,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143099,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:57:03] local.INFO: Processing buffer {"connection_id":143099,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:57:03] local.INFO: IMEI packet received {"connection_id":143099,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 15:57:03] local.INFO: IMEI acknowledgment sent {"connection_id":143099,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:57:04] local.INFO: TCP Data received {"connection_id":143099,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa31aa038012d18e9c007216660004a01382e..."} 
[2026-07-27 15:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa31aa038012d18e9c007216660004a01382e..."} 
[2026-07-27 15:57:04] local.INFO: Processing buffer {"connection_id":143099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa31aa038012d18e9c007216660004a01382e..."} 
[2026-07-27 15:57:04] local.INFO: Packet analysis {"connection_id":143099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa31a"} 
[2026-07-27 15:57:04] local.INFO: Extracted packet for processing {"connection_id":143099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa31a"} 
[2026-07-27 15:57:04] local.INFO: GPS Element Parsed {"raw_longitude":756607424,"raw_latitude":119629408,"longitude_deg":75.6607424,"latitude_deg":11.9629408,"altitude":74,"angle":312,"satellites":46,"speed":0,"hex_longitude":"2d18e9c0","hex_latitude":"07216660","is_valid_coordinates":true} 
[2026-07-27 15:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:57:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997846528001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:57:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8883839204065280,"note":"Value kept but may cause issues"} 
[2026-07-27 15:57:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1795177063341514752,"note":"Value kept but may cause issues"} 
[2026-07-27 15:57:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:57:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785147859000,"timestamp_ms":1785147859000,"timestamp_seconds":1785147859,"priority":1,"record_length":96,"hex_timestamp":"0000019fa31aa038"} 
[2026-07-27 15:57:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:57:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-07-27 15:57:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:57:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:57:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:57:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:57:04] local.INFO: Teltonika packet parsed successfully {"connection_id":143099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:57:04] local.INFO: Passing IMEI to GPS processor {"connection_id":143099,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:57:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":143099,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:57:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:57:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:57:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:57:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997846528001,"66":12711,"121":206,"28":31744,"24":0,"16":8883839204065280,"45":1795177063341514752},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 15:57:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:57:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:57:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997846528001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:57:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 15:57:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:57:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8883839204065280,"km_value":8883839204065.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:57:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1795177063341514752,"description":"Unknown IO ID 45"} 
[2026-07-27 15:57:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997846528001,"power":12711,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1795177063341514752}} 
[2026-07-27 15:57:04] local.INFO: DEBUG: GPS processor result {"connection_id":143099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553959,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:57:04] local.INFO: GPS data processed {"connection_id":143099,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:57:04] local.INFO: Acknowledgment sent {"connection_id":143099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:57:13] local.INFO: TCP Data received {"connection_id":142948,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142948,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:57:13] local.INFO: Processing buffer {"connection_id":142948,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:57:13] local.INFO: IMEI packet received {"connection_id":142948,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 15:57:13] local.INFO: IMEI acknowledgment sent {"connection_id":142948,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:57:15] local.INFO: TCP Data received {"connection_id":144079,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa31b1d38012d9c1b8005b3b350001200752c..."} 
[2026-07-27 15:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144079,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa31b1d38012d9c1b8005b3b350001200752c..."} 
[2026-07-27 15:57:15] local.INFO: Processing buffer {"connection_id":144079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa31b1d38012d9c1b8005b3b350001200752c..."} 
[2026-07-27 15:57:15] local.INFO: Packet analysis {"connection_id":144079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa31b"} 
[2026-07-27 15:57:15] local.INFO: Extracted packet for processing {"connection_id":144079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa31b"} 
[2026-07-27 15:57:15] local.INFO: GPS Element Parsed {"raw_longitude":765205376,"raw_latitude":95662928,"longitude_deg":76.5205376,"latitude_deg":9.5662928,"altitude":18,"angle":117,"satellites":44,"speed":26,"hex_longitude":"2d9c1b80","hex_latitude":"05b3b350","is_valid_coordinates":true} 
[2026-07-27 15:57:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:57:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997856256001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:57:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359068710578683904,"note":"Value kept but may cause issues"} 
[2026-07-27 15:57:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7207166754185596928,"note":"Value kept but may cause issues"} 
[2026-07-27 15:57:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:57:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785147891000,"timestamp_ms":1785147891000,"timestamp_seconds":1785147891,"priority":1,"record_length":96,"hex_timestamp":"0000019fa31b1d38"} 
[2026-07-27 15:57:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:57:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-27 15:57:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:57:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:57:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:57:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:57:15] local.INFO: Teltonika packet parsed successfully {"connection_id":144079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:57:15] local.INFO: Passing IMEI to GPS processor {"connection_id":144079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:57:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":144079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:57: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-07-27 15:57:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 15:57:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 15:57:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997856256001,"66":27919,"223":206,"83":17408,"24":26,"16":359068710578683904,"45":-7207166754185596928},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,83,24,16,45]} 
[2026-07-27 15:57:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 15:57:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 15:57:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997856256001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:57:15] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-07-27 15:57:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 15:57:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359068710578683904,"km_value":359068710578683.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:57:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7207166754185596928,"description":"Unknown IO ID 45"} 
[2026-07-27 15:57:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997856256001,"power":27919,"unknown_223":206,"unknown_83":17408,"ignition":26,"odometer":null,"unknown_45":-7207166754185596928}} 
[2026-07-27 15:57:15] local.INFO: DEBUG: GPS processor result {"connection_id":144079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:57:15] local.INFO: GPS data processed {"connection_id":144079,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:57:15] local.INFO: Acknowledgment sent {"connection_id":144079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:57:17] local.INFO: TCP Data received {"connection_id":142949,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142949,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:57:17] local.INFO: Processing buffer {"connection_id":142949,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:57:17] local.INFO: IMEI packet received {"connection_id":142949,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 15:57:17] local.INFO: IMEI acknowledgment sent {"connection_id":142949,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:57:18] local.INFO: TCP Data received {"connection_id":142949,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142949,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:57:18] local.INFO: Processing buffer {"connection_id":142949,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:57:18] local.INFO: IMEI packet received {"connection_id":142949,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 15:57:18] local.INFO: IMEI acknowledgment sent {"connection_id":142949,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:57:18] local.INFO: TCP Data received {"connection_id":142948,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142948,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:57:18] local.INFO: Processing buffer {"connection_id":142948,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:57:18] local.INFO: IMEI packet received {"connection_id":142948,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 15:57:18] local.INFO: IMEI acknowledgment sent {"connection_id":142948,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:57:19] local.INFO: TCP Data received {"connection_id":142948,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa31d0d50012d7aa00005ebb188000000420b..."} 
[2026-07-27 15:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa31d0d50012d7aa00005ebb188000000420b..."} 
[2026-07-27 15:57:19] local.INFO: Processing buffer {"connection_id":142948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa31d0d50012d7aa00005ebb188000000420b..."} 
[2026-07-27 15:57:19] local.INFO: Packet analysis {"connection_id":142948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa31d"} 
[2026-07-27 15:57:19] local.INFO: Extracted packet for processing {"connection_id":142948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa31d"} 
[2026-07-27 15:57:19] local.INFO: GPS Element Parsed {"raw_longitude":763011072,"raw_latitude":99332488,"longitude_deg":76.3011072,"latitude_deg":9.9332488,"altitude":0,"angle":66,"satellites":11,"speed":36,"hex_longitude":"2d7aa000","hex_latitude":"05ebb188","is_valid_coordinates":true} 
[2026-07-27 15: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-07-27 15:57:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997889792001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:57:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111604385884143616,"note":"Value kept but may cause issues"} 
[2026-07-27 15:57:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8826773820097773568,"note":"Value kept but may cause issues"} 
[2026-07-27 15:57:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:57:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785148018000,"timestamp_ms":1785148018000,"timestamp_seconds":1785148018,"priority":1,"record_length":96,"hex_timestamp":"0000019fa31d0d50"} 
[2026-07-27 15:57:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:57:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7680,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-27 15:57: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-07-27 15: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-07-27 15:57:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:57:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:57:19] local.INFO: Teltonika packet parsed successfully {"connection_id":142948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:57:19] local.INFO: Passing IMEI to GPS processor {"connection_id":142948,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 15:57:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":142948,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 15:57:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:57:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 15:57:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 15:57:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997889792001,"66":12504,"163":206,"87":13824,"24":36,"16":111604385884143616,"45":8826773820097773568},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-07-27 15:57:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 15:57:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 15:57:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997889792001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:57:19] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-27 15:57:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 15:57:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111604385884143616,"km_value":111604385884143.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:57:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8826773820097773568,"description":"Unknown IO ID 45"} 
[2026-07-27 15:57:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997889792001,"power":12504,"unknown_163":206,"unknown_87":13824,"ignition":36,"odometer":null,"unknown_45":8826773820097773568}} 
[2026-07-27 15:57:19] local.INFO: DEBUG: GPS processor result {"connection_id":142948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553961,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:57:19] local.INFO: GPS data processed {"connection_id":142948,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:57:19] local.INFO: Acknowledgment sent {"connection_id":142948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:57:22] local.INFO: TCP Data received {"connection_id":142949,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142949,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:57:22] local.INFO: Processing buffer {"connection_id":142949,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:57:22] local.INFO: IMEI packet received {"connection_id":142949,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 15:57:22] local.INFO: IMEI acknowledgment sent {"connection_id":142949,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:57:22] local.INFO: TCP Data received {"connection_id":142949,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa31d3460012d09eb8007057b88001500d819..."} 
[2026-07-27 15:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa31d3460012d09eb8007057b88001500d819..."} 
[2026-07-27 15:57:22] local.INFO: Processing buffer {"connection_id":142949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa31d3460012d09eb8007057b88001500d819..."} 
[2026-07-27 15:57:22] local.INFO: Packet analysis {"connection_id":142949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa31d"} 
[2026-07-27 15:57:22] local.INFO: Extracted packet for processing {"connection_id":142949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa31d"} 
[2026-07-27 15:57:22] local.INFO: GPS Element Parsed {"raw_longitude":755624832,"raw_latitude":117799816,"longitude_deg":75.5624832,"latitude_deg":11.7799816,"altitude":21,"angle":216,"satellites":25,"speed":11,"hex_longitude":"2d09eb80","hex_latitude":"07057b88","is_valid_coordinates":true} 
[2026-07-27 15:57:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:57:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997894912001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:57:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25916726017261568,"note":"Value kept but may cause issues"} 
[2026-07-27 15:57:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":715087208490229760,"note":"Value kept but may cause issues"} 
[2026-07-27 15:57:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:57:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785148028000,"timestamp_ms":1785148028000,"timestamp_seconds":1785148028,"priority":1,"record_length":96,"hex_timestamp":"0000019fa31d3460"} 
[2026-07-27 15:57:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:57:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:57:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-27 15:57:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:57:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:57:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:57:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:57:22] local.INFO: Teltonika packet parsed successfully {"connection_id":142949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:57:22] local.INFO: Passing IMEI to GPS processor {"connection_id":142949,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 15:57:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":142949,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 15:57:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:57:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 15:57:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 15:57:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997894912001,"66":14396,"177":206,"94":10240,"24":11,"16":25916726017261568,"45":715087208490229760},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-07-27 15:57:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 15:57:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 15:57:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997894912001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:57:22] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-27 15:57:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 15:57:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25916726017261568,"km_value":25916726017261.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:57:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":715087208490229760,"description":"Unknown IO ID 45"} 
[2026-07-27 15:57:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997894912001,"power":14396,"unknown_177":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":715087208490229760}} 
[2026-07-27 15:57:23] local.INFO: DEBUG: GPS processor result {"connection_id":142949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553962,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:57:23] local.INFO: GPS data processed {"connection_id":142949,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:57:23] local.INFO: Acknowledgment sent {"connection_id":142949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:57:31] local.INFO: TCP Data received {"connection_id":145369,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:57:31] local.INFO: Processing buffer {"connection_id":145369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:57:31] local.INFO: IMEI packet received {"connection_id":145369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 15:57:31] local.INFO: IMEI acknowledgment sent {"connection_id":145369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:57:36] local.INFO: TCP Data received {"connection_id":143099,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa31af240012d18e9c007216660004a01382e..."} 
[2026-07-27 15:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa31af240012d18e9c007216660004a01382e..."} 
[2026-07-27 15:57:36] local.INFO: Processing buffer {"connection_id":143099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa31af240012d18e9c007216660004a01382e..."} 
[2026-07-27 15:57:36] local.INFO: Packet analysis {"connection_id":143099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa31a"} 
[2026-07-27 15:57:36] local.INFO: Extracted packet for processing {"connection_id":143099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa31a"} 
[2026-07-27 15:57:36] local.INFO: GPS Element Parsed {"raw_longitude":756607424,"raw_latitude":119629408,"longitude_deg":75.6607424,"latitude_deg":11.9629408,"altitude":74,"angle":312,"satellites":46,"speed":0,"hex_longitude":"2d18e9c0","hex_latitude":"07216660","is_valid_coordinates":true} 
[2026-07-27 15:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:57:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997851904001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:57:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8883839204065280,"note":"Value kept but may cause issues"} 
[2026-07-27 15:57:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1795177063341514752,"note":"Value kept but may cause issues"} 
[2026-07-27 15:57:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:57:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785147880000,"timestamp_ms":1785147880000,"timestamp_seconds":1785147880,"priority":1,"record_length":96,"hex_timestamp":"0000019fa31af240"} 
[2026-07-27 15:57:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:57:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-07-27 15:57:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:57:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:57:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:57:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:57:36] local.INFO: Teltonika packet parsed successfully {"connection_id":143099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:57:36] local.INFO: Passing IMEI to GPS processor {"connection_id":143099,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:57:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":143099,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:57:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:57:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:57:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:57:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997851904001,"66":12689,"121":206,"28":31744,"24":0,"16":8883839204065280,"45":1795177063341514752},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 15:57:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:57:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:57:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997851904001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:57:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 15:57:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:57:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8883839204065280,"km_value":8883839204065.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:57:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1795177063341514752,"description":"Unknown IO ID 45"} 
[2026-07-27 15:57:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997851904001,"power":12689,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1795177063341514752}} 
[2026-07-27 15:57:36] local.INFO: DEBUG: GPS processor result {"connection_id":143099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553963,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:57:36] local.INFO: GPS data processed {"connection_id":143099,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:57:36] local.INFO: Acknowledgment sent {"connection_id":143099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:57:37] local.INFO: TCP Data received {"connection_id":145369,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:57:37] local.INFO: Processing buffer {"connection_id":145369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:57:37] local.INFO: IMEI packet received {"connection_id":145369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 15:57:37] local.INFO: IMEI acknowledgment sent {"connection_id":145369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:57:38] local.INFO: TCP Data received {"connection_id":145369,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa31b4830012d9c3d8005b3a260000e00722c..."} 
[2026-07-27 15:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa31b4830012d9c3d8005b3a260000e00722c..."} 
[2026-07-27 15:57:38] local.INFO: Processing buffer {"connection_id":145369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa31b4830012d9c3d8005b3a260000e00722c..."} 
[2026-07-27 15:57:38] local.INFO: Packet analysis {"connection_id":145369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa31b"} 
[2026-07-27 15:57:38] local.INFO: Extracted packet for processing {"connection_id":145369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa31b"} 
[2026-07-27 15:57:38] local.INFO: GPS Element Parsed {"raw_longitude":765214080,"raw_latitude":95658592,"longitude_deg":76.521408,"latitude_deg":9.5658592,"altitude":14,"angle":114,"satellites":44,"speed":30,"hex_longitude":"2d9c3d80","hex_latitude":"05b3a260","is_valid_coordinates":true} 
[2026-07-27 15:57:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:57:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997860096001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:57:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359069178730119168,"note":"Value kept but may cause issues"} 
[2026-07-27 15:57:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7198018817443540992,"note":"Value kept but may cause issues"} 
[2026-07-27 15:57:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:57:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785147902000,"timestamp_ms":1785147902000,"timestamp_seconds":1785147902,"priority":1,"record_length":96,"hex_timestamp":"0000019fa31b4830"} 
[2026-07-27 15:57:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:57:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:57:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-27 15:57:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:57:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:57:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:57:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:57:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:57:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:57:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:57:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:57:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 15:57:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 15:57:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997860096001,"66":27876,"223":206,"83":17408,"24":30,"16":359069178730119168,"45":-7198018817443540992},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,83,24,16,45]} 
[2026-07-27 15:57:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 15:57:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 15:57:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997860096001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:57:38] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-07-27 15:57:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 15:57:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359069178730119168,"km_value":359069178730119.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:57:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7198018817443540992,"description":"Unknown IO ID 45"} 
[2026-07-27 15:57:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997860096001,"power":27876,"unknown_223":206,"unknown_83":17408,"ignition":30,"odometer":null,"unknown_45":-7198018817443540992}} 
[2026-07-27 15:57:38] local.INFO: DEBUG: GPS processor result {"connection_id":145369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:57:38] local.INFO: GPS data processed {"connection_id":145369,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:57:38] local.INFO: Acknowledgment sent {"connection_id":145369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:57:50] local.INFO: TCP Data received {"connection_id":142948,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa31d3078012d7ac14005ebbef0000000400c..."} 
[2026-07-27 15:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa31d3078012d7ac14005ebbef0000000400c..."} 
[2026-07-27 15:57:50] local.INFO: Processing buffer {"connection_id":142948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa31d3078012d7ac14005ebbef0000000400c..."} 
[2026-07-27 15:57:50] local.INFO: Packet analysis {"connection_id":142948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa31d"} 
[2026-07-27 15:57:50] local.INFO: Extracted packet for processing {"connection_id":142948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa31d"} 
[2026-07-27 15:57:50] local.INFO: GPS Element Parsed {"raw_longitude":763019584,"raw_latitude":99335920,"longitude_deg":76.3019584,"latitude_deg":9.933592,"altitude":0,"angle":64,"satellites":12,"speed":33,"hex_longitude":"2d7ac140","hex_latitude":"05ebbef0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 15:57:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997892608001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:57:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111604819675840512,"note":"Value kept but may cause issues"} 
[2026-07-27 15:57:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8836062494330030080,"note":"Value kept but may cause issues"} 
[2026-07-27 15:57:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:57:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785148027000,"timestamp_ms":1785148027000,"timestamp_seconds":1785148027,"priority":1,"record_length":96,"hex_timestamp":"0000019fa31d3078"} 
[2026-07-27 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-07-27 15:57:50] 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-07-27 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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-27 15:57: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-07-27 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-07-27 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-07-27 15:57:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:57:50] local.INFO: Teltonika packet parsed successfully {"connection_id":142948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:57:50] local.INFO: Passing IMEI to GPS processor {"connection_id":142948,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 15:57:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":142948,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 15:57:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:57:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 15:57:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 15:57:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997892608001,"66":13243,"163":206,"87":13824,"24":33,"16":111604819675840512,"45":8836062494330030080},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-07-27 15:57:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 15:57:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 15:57:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997892608001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:57:50] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-27 15:57:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 15:57:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111604819675840512,"km_value":111604819675840.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:57:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8836062494330030080,"description":"Unknown IO ID 45"} 
[2026-07-27 15:57:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997892608001,"power":13243,"unknown_163":206,"unknown_87":13824,"ignition":33,"odometer":null,"unknown_45":8836062494330030080}} 
[2026-07-27 15:57:50] local.INFO: DEBUG: GPS processor result {"connection_id":142948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553965,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:57:50] local.INFO: GPS data processed {"connection_id":142948,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:57:50] local.INFO: Acknowledgment sent {"connection_id":142948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:57:54] local.INFO: TCP Data received {"connection_id":142949,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa31d3848012d09eb4007057a88001400c019..."} 
[2026-07-27 15:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa31d3848012d09eb4007057a88001400c019..."} 
[2026-07-27 15:57:54] local.INFO: Processing buffer {"connection_id":142949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa31d3848012d09eb4007057a88001400c019..."} 
[2026-07-27 15:57:54] local.INFO: Packet analysis {"connection_id":142949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa31d"} 
[2026-07-27 15:57:54] local.INFO: Extracted packet for processing {"connection_id":142949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa31d"} 
[2026-07-27 15:57:54] local.INFO: GPS Element Parsed {"raw_longitude":755624768,"raw_latitude":117799560,"longitude_deg":75.5624768,"latitude_deg":11.779956,"altitude":20,"angle":192,"satellites":25,"speed":9,"hex_longitude":"2d09eb40","hex_latitude":"07057a88","is_valid_coordinates":true} 
[2026-07-27 15:57:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:57:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997895168001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:57:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25916738902163456,"note":"Value kept but may cause issues"} 
[2026-07-27 15:57:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":714805733513463808,"note":"Value kept but may cause issues"} 
[2026-07-27 15:57:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:57:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785148029000,"timestamp_ms":1785148029000,"timestamp_seconds":1785148029,"priority":1,"record_length":96,"hex_timestamp":"0000019fa31d3848"} 
[2026-07-27 15:57:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:57:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:57:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-27 15:57:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:57:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:57:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:57:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:57:54] local.INFO: Teltonika packet parsed successfully {"connection_id":142949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:57:54] local.INFO: Passing IMEI to GPS processor {"connection_id":142949,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 15:57:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":142949,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 15:57:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:57:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 15:57:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 15:57:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997895168001,"66":14396,"177":206,"94":10240,"24":9,"16":25916738902163456,"45":714805733513463808},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-07-27 15:57:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 15:57:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 15:57:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997895168001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:57:54] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-27 15:57:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 15:57:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25916738902163456,"km_value":25916738902163.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:57:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":714805733513463808,"description":"Unknown IO ID 45"} 
[2026-07-27 15:57:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997895168001,"power":14396,"unknown_177":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":714805733513463808}} 
[2026-07-27 15:57:54] local.INFO: DEBUG: GPS processor result {"connection_id":142949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553966,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:57:54] local.INFO: GPS data processed {"connection_id":142949,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:57:54] local.INFO: Acknowledgment sent {"connection_id":142949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:57:59] local.INFO: TCP Data received {"connection_id":145370,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145370,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:57:59] local.INFO: Processing buffer {"connection_id":145370,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:57:59] local.INFO: IMEI packet received {"connection_id":145370,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 15:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":145370,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:58:05] local.INFO: TCP Data received {"connection_id":145370,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145370,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:58:05] local.INFO: Processing buffer {"connection_id":145370,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:58:05] local.INFO: IMEI packet received {"connection_id":145370,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 15:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":145370,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:58:06] local.INFO: TCP Data received {"connection_id":145370,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa31b4448012d18e9c007216660004a01382c..."} 
[2026-07-27 15:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa31b4448012d18e9c007216660004a01382c..."} 
[2026-07-27 15:58:06] local.INFO: Processing buffer {"connection_id":145370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa31b4448012d18e9c007216660004a01382c..."} 
[2026-07-27 15:58:06] local.INFO: Packet analysis {"connection_id":145370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa31b"} 
[2026-07-27 15:58:06] local.INFO: Extracted packet for processing {"connection_id":145370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa31b"} 
[2026-07-27 15:58:06] local.INFO: GPS Element Parsed {"raw_longitude":756607424,"raw_latitude":119629408,"longitude_deg":75.6607424,"latitude_deg":11.9629408,"altitude":74,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2d18e9c0","hex_latitude":"07216660","is_valid_coordinates":true} 
[2026-07-27 15:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997857280001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8883839204065280,"note":"Value kept but may cause issues"} 
[2026-07-27 15:58:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1795177063341514752,"note":"Value kept but may cause issues"} 
[2026-07-27 15:58:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785147901000,"timestamp_ms":1785147901000,"timestamp_seconds":1785147901,"priority":1,"record_length":96,"hex_timestamp":"0000019fa31b4448"} 
[2026-07-27 15:58:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:58:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-27 15:58:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:58:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:58:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":145370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":145370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":145370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:58:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997857280001,"66":12558,"121":206,"28":31744,"24":0,"16":8883839204065280,"45":1795177063341514752},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 15:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997857280001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:58:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 15:58:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8883839204065280,"km_value":8883839204065.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:58:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1795177063341514752,"description":"Unknown IO ID 45"} 
[2026-07-27 15:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997857280001,"power":12558,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1795177063341514752}} 
[2026-07-27 15:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":145370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553967,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:58:06] local.INFO: GPS data processed {"connection_id":145370,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:58:06] local.INFO: Acknowledgment sent {"connection_id":145370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:58:09] local.INFO: TCP Data received {"connection_id":145369,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa31b7af8012d9c5d8005b39280000e00782a..."} 
[2026-07-27 15:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa31b7af8012d9c5d8005b39280000e00782a..."} 
[2026-07-27 15:58:09] local.INFO: Processing buffer {"connection_id":145369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa31b7af8012d9c5d8005b39280000e00782a..."} 
[2026-07-27 15:58:09] local.INFO: Packet analysis {"connection_id":145369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa31b"} 
[2026-07-27 15:58:09] local.INFO: Extracted packet for processing {"connection_id":145369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa31b"} 
[2026-07-27 15:58:09] local.INFO: GPS Element Parsed {"raw_longitude":765222272,"raw_latitude":95654528,"longitude_deg":76.5222272,"latitude_deg":9.5654528,"altitude":14,"angle":120,"satellites":42,"speed":28,"hex_longitude":"2d9c5d80","hex_latitude":"05b39280","is_valid_coordinates":true} 
[2026-07-27 15:58:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:58:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997862912001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:58:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359069616816783360,"note":"Value kept but may cause issues"} 
[2026-07-27 15:58:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7188448668236488704,"note":"Value kept but may cause issues"} 
[2026-07-27 15:58:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:58:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785147915000,"timestamp_ms":1785147915000,"timestamp_seconds":1785147915,"priority":1,"record_length":96,"hex_timestamp":"0000019fa31b7af8"} 
[2026-07-27 15:58:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:58:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-27 15:58:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:58:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:58:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:58:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:58:09] local.INFO: Teltonika packet parsed successfully {"connection_id":145369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:58:09] local.INFO: Passing IMEI to GPS processor {"connection_id":145369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:58:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":145369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:58:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:58:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 15:58:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 15:58:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997862912001,"66":27745,"95":206,"83":17408,"24":28,"16":359069616816783360,"45":-7188448668236488704},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,83,24,16,45]} 
[2026-07-27 15:58:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 15:58:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 15:58:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997862912001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:58:09] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-27 15:58:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 15:58:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359069616816783360,"km_value":359069616816783.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:58:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7188448668236488704,"description":"Unknown IO ID 45"} 
[2026-07-27 15:58:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997862912001,"power":27745,"unknown_95":206,"unknown_83":17408,"ignition":28,"odometer":null,"unknown_45":-7188448668236488704}} 
[2026-07-27 15:58:09] local.INFO: DEBUG: GPS processor result {"connection_id":145369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:58:09] local.INFO: GPS data processed {"connection_id":145369,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:58:09] local.INFO: Acknowledgment sent {"connection_id":145369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:58:17] local.INFO: TCP Data received {"connection_id":143100,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143100,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:58:17] local.INFO: Processing buffer {"connection_id":143100,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:58:17] local.INFO: IMEI packet received {"connection_id":143100,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 15:58:17] local.INFO: IMEI acknowledgment sent {"connection_id":143100,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:58:20] local.INFO: TCP Data received {"connection_id":143100,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143100,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:58:20] local.INFO: Processing buffer {"connection_id":143100,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:58:20] local.INFO: IMEI packet received {"connection_id":143100,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 15:58:20] local.INFO: IMEI acknowledgment sent {"connection_id":143100,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:58:21] local.INFO: TCP Data received {"connection_id":143100,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143100,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:58:21] local.INFO: Processing buffer {"connection_id":143100,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:58:21] local.INFO: IMEI packet received {"connection_id":143100,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 15:58:21] local.INFO: IMEI acknowledgment sent {"connection_id":143100,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:58:22] local.INFO: TCP Data received {"connection_id":143100,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa31d4018012d09eb40070577e8001400b219..."} 
[2026-07-27 15:58:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143100,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa31d4018012d09eb40070577e8001400b219..."} 
[2026-07-27 15:58:22] local.INFO: Processing buffer {"connection_id":143100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa31d4018012d09eb40070577e8001400b219..."} 
[2026-07-27 15:58:22] local.INFO: Packet analysis {"connection_id":143100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa31d"} 
[2026-07-27 15:58:22] local.INFO: Extracted packet for processing {"connection_id":143100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa31d"} 
[2026-07-27 15:58:22] local.INFO: GPS Element Parsed {"raw_longitude":755624768,"raw_latitude":117798888,"longitude_deg":75.5624768,"latitude_deg":11.7798888,"altitude":20,"angle":178,"satellites":25,"speed":14,"hex_longitude":"2d09eb40","hex_latitude":"070577e8","is_valid_coordinates":true} 
[2026-07-27 15: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-07-27 15:58:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997895424001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:58:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25916773261901824,"note":"Value kept but may cause issues"} 
[2026-07-27 15:58:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":714735364769220608,"note":"Value kept but may cause issues"} 
[2026-07-27 15:58:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:58:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785148031000,"timestamp_ms":1785148031000,"timestamp_seconds":1785148031,"priority":1,"record_length":96,"hex_timestamp":"0000019fa31d4018"} 
[2026-07-27 15:58:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:58:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-27 15:58:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15: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-07-27 15:58:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:58:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:58:22] local.INFO: Teltonika packet parsed successfully {"connection_id":143100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:58:22] local.INFO: Passing IMEI to GPS processor {"connection_id":143100,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 15:58:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":143100,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 15:58:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:58:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 15:58:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 15:58:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997895424001,"66":14428,"177":206,"94":10240,"24":14,"16":25916773261901824,"45":714735364769220608},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-07-27 15:58:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 15:58:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 15:58:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997895424001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:58:22] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-27 15:58:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 15:58:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25916773261901824,"km_value":25916773261901.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:58:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":714735364769220608,"description":"Unknown IO ID 45"} 
[2026-07-27 15:58:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997895424001,"power":14428,"unknown_177":206,"unknown_94":10240,"ignition":14,"odometer":null,"unknown_45":714735364769220608}} 
[2026-07-27 15:58:22] local.INFO: DEBUG: GPS processor result {"connection_id":143100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553969,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:58:22] local.INFO: GPS data processed {"connection_id":143100,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:58:22] local.INFO: Acknowledgment sent {"connection_id":143100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:58:26] local.INFO: TCP Data received {"connection_id":142948,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa31d53a0012d7ae2c005ebcd00000000400d..."} 
[2026-07-27 15:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa31d53a0012d7ae2c005ebcd00000000400d..."} 
[2026-07-27 15:58:26] local.INFO: Processing buffer {"connection_id":142948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa31d53a0012d7ae2c005ebcd00000000400d..."} 
[2026-07-27 15:58:26] local.INFO: Packet analysis {"connection_id":142948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa31d"} 
[2026-07-27 15:58:26] local.INFO: Extracted packet for processing {"connection_id":142948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa31d"} 
[2026-07-27 15:58:26] local.INFO: GPS Element Parsed {"raw_longitude":763028160,"raw_latitude":99339520,"longitude_deg":76.302816,"latitude_deg":9.933952,"altitude":0,"angle":64,"satellites":13,"speed":40,"hex_longitude":"2d7ae2c0","hex_latitude":"05ebcd00","is_valid_coordinates":true} 
[2026-07-27 15:58:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:58:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997894912001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:58:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111605270647406592,"note":"Value kept but may cause issues"} 
[2026-07-27 15:58:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8845421537306537984,"note":"Value kept but may cause issues"} 
[2026-07-27 15:58:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:58:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785148036000,"timestamp_ms":1785148036000,"timestamp_seconds":1785148036,"priority":1,"record_length":96,"hex_timestamp":"0000019fa31d53a0"} 
[2026-07-27 15:58:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:58:26] 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-07-27 15:58:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-27 15:58:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:58:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:58:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:58:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:58:26] local.INFO: Teltonika packet parsed successfully {"connection_id":142948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:58:26] local.INFO: Passing IMEI to GPS processor {"connection_id":142948,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 15:58:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":142948,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 15:58:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:58:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 15:58:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 15:58:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997894912001,"66":13102,"156":206,"87":13824,"24":40,"16":111605270647406592,"45":8845421537306537984},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-07-27 15:58:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 15:58:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 15:58:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997894912001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:58:26] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-27 15:58:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 15:58:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111605270647406592,"km_value":111605270647406.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:58:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8845421537306537984,"description":"Unknown IO ID 45"} 
[2026-07-27 15:58:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997894912001,"power":13102,"unknown_156":206,"unknown_87":13824,"ignition":40,"odometer":null,"unknown_45":8845421537306537984}} 
[2026-07-27 15:58:26] local.INFO: DEBUG: GPS processor result {"connection_id":142948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553970,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:58:26] local.INFO: GPS data processed {"connection_id":142948,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:58:26] local.INFO: Acknowledgment sent {"connection_id":142948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:58:27] local.INFO: TCP Data received {"connection_id":143100,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa31d53a0012d09eb40070570d0001600c719..."} 
[2026-07-27 15:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143100,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa31d53a0012d09eb40070570d0001600c719..."} 
[2026-07-27 15:58:27] local.INFO: Processing buffer {"connection_id":143100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa31d53a0012d09eb40070570d0001600c719..."} 
[2026-07-27 15:58:27] local.INFO: Packet analysis {"connection_id":143100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa31d"} 
[2026-07-27 15:58:27] local.INFO: Extracted packet for processing {"connection_id":143100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa31d"} 
[2026-07-27 15:58:27] local.INFO: GPS Element Parsed {"raw_longitude":755624768,"raw_latitude":117797072,"longitude_deg":75.5624768,"latitude_deg":11.7797072,"altitude":22,"angle":199,"satellites":25,"speed":7,"hex_longitude":"2d09eb40","hex_latitude":"070570d0","is_valid_coordinates":true} 
[2026-07-27 15:58:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:58:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997895936001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:58:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25916863456215040,"note":"Value kept but may cause issues"} 
[2026-07-27 15:58:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":714735364769048576,"note":"Value kept but may cause issues"} 
[2026-07-27 15:58:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:58:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785148036000,"timestamp_ms":1785148036000,"timestamp_seconds":1785148036,"priority":1,"record_length":96,"hex_timestamp":"0000019fa31d53a0"} 
[2026-07-27 15:58:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:58: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-07-27 15:58:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-27 15:58:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:58:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:58:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:58:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:58:27] local.INFO: Teltonika packet parsed successfully {"connection_id":143100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:58:27] local.INFO: Passing IMEI to GPS processor {"connection_id":143100,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 15:58:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":143100,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 15:58:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:58:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 15:58:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 15:58:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997895936001,"66":14026,"177":206,"94":10240,"24":7,"16":25916863456215040,"45":714735364769048576},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-07-27 15:58:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 15:58:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 15:58:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997895936001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:58:27] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-27 15:58:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 15:58:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25916863456215040,"km_value":25916863456215.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:58:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":714735364769048576,"description":"Unknown IO ID 45"} 
[2026-07-27 15:58:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997895936001,"power":14026,"unknown_177":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":714735364769048576}} 
[2026-07-27 15:58:27] local.INFO: DEBUG: GPS processor result {"connection_id":143100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553971,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:58:27] local.INFO: GPS data processed {"connection_id":143100,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:58:27] local.INFO: Acknowledgment sent {"connection_id":143100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:58:31] local.INFO: TCP Data received {"connection_id":142950,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:58:31] local.INFO: Processing buffer {"connection_id":142950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:58:31] local.INFO: IMEI packet received {"connection_id":142950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 15:58:31] local.INFO: IMEI acknowledgment sent {"connection_id":142950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:58:37] local.INFO: TCP Data received {"connection_id":142950,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:58:37] local.INFO: Processing buffer {"connection_id":142950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:58:37] local.INFO: IMEI packet received {"connection_id":142950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 15:58:37] local.INFO: IMEI acknowledgment sent {"connection_id":142950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:58:37] local.INFO: TCP Data received {"connection_id":142950,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa31ba9d8012d9c7c0005b38040001200792b..."} 
[2026-07-27 15:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa31ba9d8012d9c7c0005b38040001200792b..."} 
[2026-07-27 15:58:37] local.INFO: Processing buffer {"connection_id":142950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa31ba9d8012d9c7c0005b38040001200792b..."} 
[2026-07-27 15:58:37] local.INFO: Packet analysis {"connection_id":142950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa31b"} 
[2026-07-27 15:58:37] local.INFO: Extracted packet for processing {"connection_id":142950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa31b"} 
[2026-07-27 15:58:37] local.INFO: GPS Element Parsed {"raw_longitude":765230080,"raw_latitude":95649856,"longitude_deg":76.523008,"latitude_deg":9.5649856,"altitude":18,"angle":121,"satellites":43,"speed":30,"hex_longitude":"2d9c7c00","hex_latitude":"05b38040","is_valid_coordinates":true} 
[2026-07-27 15:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:58:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997866240001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:58:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359070054903447552,"note":"Value kept but may cause issues"} 
[2026-07-27 15:58:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7179441468982788096,"note":"Value kept but may cause issues"} 
[2026-07-27 15:58:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:58:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785147927000,"timestamp_ms":1785147927000,"timestamp_seconds":1785147927,"priority":1,"record_length":96,"hex_timestamp":"0000019fa31ba9d8"} 
[2026-07-27 15:58:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:58:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-27 15:58:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:58:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:58:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:58:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:58:37] local.INFO: Teltonika packet parsed successfully {"connection_id":142950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:58:37] local.INFO: Passing IMEI to GPS processor {"connection_id":142950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:58:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":142950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:58:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:58:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 15:58:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 15:58:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997866240001,"66":27658,"95":206,"83":17408,"24":30,"16":359070054903447552,"45":-7179441468982788096},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,83,24,16,45]} 
[2026-07-27 15:58:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 15:58:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 15:58:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997866240001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:58:37] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-27 15:58:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 15:58:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359070054903447552,"km_value":359070054903447.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:58:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7179441468982788096,"description":"Unknown IO ID 45"} 
[2026-07-27 15:58:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997866240001,"power":27658,"unknown_95":206,"unknown_83":17408,"ignition":30,"odometer":null,"unknown_45":-7179441468982788096}} 
[2026-07-27 15:58:37] local.INFO: DEBUG: GPS processor result {"connection_id":142950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:58:37] local.INFO: GPS data processed {"connection_id":142950,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:58:37] local.INFO: Acknowledgment sent {"connection_id":142950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:58:38] local.INFO: TCP Data received {"connection_id":145370,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa31b9650012d18e9c007216660004a01382d..."} 
[2026-07-27 15:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa31b9650012d18e9c007216660004a01382d..."} 
[2026-07-27 15:58:38] local.INFO: Processing buffer {"connection_id":145370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa31b9650012d18e9c007216660004a01382d..."} 
[2026-07-27 15:58:38] local.INFO: Packet analysis {"connection_id":145370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa31b"} 
[2026-07-27 15:58:38] local.INFO: Extracted packet for processing {"connection_id":145370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa31b"} 
[2026-07-27 15:58:38] local.INFO: GPS Element Parsed {"raw_longitude":756607424,"raw_latitude":119629408,"longitude_deg":75.6607424,"latitude_deg":11.9629408,"altitude":74,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d18e9c0","hex_latitude":"07216660","is_valid_coordinates":true} 
[2026-07-27 15:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:58:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997862656001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:58:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8883839204065280,"note":"Value kept but may cause issues"} 
[2026-07-27 15:58:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1795177063341514752,"note":"Value kept but may cause issues"} 
[2026-07-27 15:58:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:58:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785147922000,"timestamp_ms":1785147922000,"timestamp_seconds":1785147922,"priority":1,"record_length":96,"hex_timestamp":"0000019fa31b9650"} 
[2026-07-27 15:58:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:58:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-07-27 15:58:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-07-27 15:58:38] local.WARNING: Large IO value detected {"io_id":143,"raw_value":3456106496,"note":"Value kept but may cause issues"} 
[2026-07-27 15:58:38] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2736346160,"note":"Value kept but may cause issues"} 
[2026-07-27 15:58:38] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249604142110434912,"note":"Value kept but may cause issues"} 
[2026-07-27 15:58:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-27 15:58:38] local.WARNING: Large IO value detected {"io_id":233,"raw_value":3221692774,"note":"Value kept but may cause issues"} 
[2026-07-27 15:58:38] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2986397159,"note":"Value kept but may cause issues"} 
[2026-07-27 15:58:38] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2412642304,"note":"Value kept but may cause issues"} 
[2026-07-27 15:58:38] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8719195500324067328,"note":"Value kept but may cause issues"} 
[2026-07-27 15:58:38] local.WARNING: Large IO value detected {"io_id":91,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-27 15:58:38] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-07-27 15:58:38] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,121,28,24,241,158,16,143,159,242,45,192,102,74,46,10,66,160,78,1,240,167,163,33,4,113,205,166,233,96,47,239,49,2,31,7,231,91,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-07-27 15:58:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5332605195413094400,"timestamp_seconds":5332605195413094.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 15:58:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:58:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:58:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:58:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:58:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:58:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:58:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:58:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:58:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997862656001,"66":12385,"121":206,"28":31744,"24":0,"16":8883839204065280,"45":1795177063341514752},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 15:58:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:58:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:58:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997862656001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:58:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 15:58:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:58:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8883839204065280,"km_value":8883839204065.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:58:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1795177063341514752,"description":"Unknown IO ID 45"} 
[2026-07-27 15:58:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997862656001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1795177063341514752}} 
[2026-07-27 15:58:38] local.INFO: DEBUG: GPS processor result {"connection_id":145370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553973,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:58:38] local.INFO: GPS data processed {"connection_id":145370,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:58:38] local.INFO: Acknowledgment sent {"connection_id":145370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:58:59] local.INFO: TCP Data received {"connection_id":143100,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa31eab60012d09c1c007057308001c00ed1b..."} 
[2026-07-27 15:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143100,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa31eab60012d09c1c007057308001c00ed1b..."} 
[2026-07-27 15:58:59] local.INFO: Processing buffer {"connection_id":143100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa31eab60012d09c1c007057308001c00ed1b..."} 
[2026-07-27 15:58:59] local.INFO: Packet analysis {"connection_id":143100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa31e"} 
[2026-07-27 15:58:59] local.INFO: Extracted packet for processing {"connection_id":143100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa31e"} 
[2026-07-27 15:58:59] local.INFO: GPS Element Parsed {"raw_longitude":755614144,"raw_latitude":117797640,"longitude_deg":75.5614144,"latitude_deg":11.779764,"altitude":28,"angle":237,"satellites":27,"speed":10,"hex_longitude":"2d09c1c0","hex_latitude":"07057308","is_valid_coordinates":true} 
[2026-07-27 15:58:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:58:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997919488001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:58:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25917400327127040,"note":"Value kept but may cause issues"} 
[2026-07-27 15:58:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":703335628211974144,"note":"Value kept but may cause issues"} 
[2026-07-27 15:58:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:58:59] local.INFO: AVL Record Parsed {"raw_timestamp":1785148124000,"timestamp_ms":1785148124000,"timestamp_seconds":1785148124,"priority":1,"record_length":96,"hex_timestamp":"0000019fa31eab60"} 
[2026-07-27 15:58:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:58:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:58:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-27 15:58:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:58:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:58:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:58:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:58:59] local.INFO: Teltonika packet parsed successfully {"connection_id":143100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:58:59] local.INFO: Passing IMEI to GPS processor {"connection_id":143100,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 15:58:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":143100,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 15:58:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:58:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 15:58:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 15:58:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997919488001,"66":14450,"177":206,"94":10240,"24":10,"16":25917400327127040,"45":703335628211974144},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-07-27 15:58:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 15:58:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 15:58:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997919488001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:58:59] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-27 15:58:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 15:58:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25917400327127040,"km_value":25917400327127.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:58:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":703335628211974144,"description":"Unknown IO ID 45"} 
[2026-07-27 15:58:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997919488001,"power":14450,"unknown_177":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":703335628211974144}} 
[2026-07-27 15:58:59] local.INFO: DEBUG: GPS processor result {"connection_id":143100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553974,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:58:59] local.INFO: GPS data processed {"connection_id":143100,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:58:59] local.INFO: Acknowledgment sent {"connection_id":143100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:58:59] local.INFO: TCP Data received {"connection_id":142951,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142951,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:58:59] local.INFO: Processing buffer {"connection_id":142951,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:58:59] local.INFO: IMEI packet received {"connection_id":142951,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 15:58:59] local.INFO: IMEI acknowledgment sent {"connection_id":142951,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:59:05] local.INFO: TCP Data received {"connection_id":142951,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142951,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:59:05] local.INFO: Processing buffer {"connection_id":142951,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:59:05] local.INFO: IMEI packet received {"connection_id":142951,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 15:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":142951,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:59:07] local.INFO: TCP Data received {"connection_id":142951,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa31be858012d18e9c007216660004a01382d..."} 
[2026-07-27 15:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa31be858012d18e9c007216660004a01382d..."} 
[2026-07-27 15:59:07] local.INFO: Processing buffer {"connection_id":142951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa31be858012d18e9c007216660004a01382d..."} 
[2026-07-27 15:59:07] local.INFO: Packet analysis {"connection_id":142951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa31b"} 
[2026-07-27 15:59:07] local.INFO: Extracted packet for processing {"connection_id":142951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa31b"} 
[2026-07-27 15:59:07] local.INFO: GPS Element Parsed {"raw_longitude":756607424,"raw_latitude":119629408,"longitude_deg":75.6607424,"latitude_deg":11.9629408,"altitude":74,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d18e9c0","hex_latitude":"07216660","is_valid_coordinates":true} 
[2026-07-27 15: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-07-27 15:59:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997868032001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:59:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8883839204065280,"note":"Value kept but may cause issues"} 
[2026-07-27 15:59:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1795177063341514752,"note":"Value kept but may cause issues"} 
[2026-07-27 15:59:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:59:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785147943000,"timestamp_ms":1785147943000,"timestamp_seconds":1785147943,"priority":1,"record_length":96,"hex_timestamp":"0000019fa31be858"} 
[2026-07-27 15:59:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:59:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-27 15:59:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15: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-07-27 15:59:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:59:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:59:07] local.INFO: Teltonika packet parsed successfully {"connection_id":142951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:59:07] local.INFO: Passing IMEI to GPS processor {"connection_id":142951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:59:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":142951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:59:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:59:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:59:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:59:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997868032001,"66":12613,"121":206,"28":31744,"24":0,"16":8883839204065280,"45":1795177063341514752},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 15:59:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:59:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:59:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997868032001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:59:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 15:59:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:59:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8883839204065280,"km_value":8883839204065.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:59:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1795177063341514752,"description":"Unknown IO ID 45"} 
[2026-07-27 15:59:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997868032001,"power":12613,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1795177063341514752}} 
[2026-07-27 15:59:07] local.INFO: DEBUG: GPS processor result {"connection_id":142951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553975,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:59:07] local.INFO: GPS data processed {"connection_id":142951,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:59:07] local.INFO: Acknowledgment sent {"connection_id":142951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:59:08] local.INFO: TCP Data received {"connection_id":145371,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145371,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:59:08] local.INFO: Processing buffer {"connection_id":145371,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:59:08] local.INFO: IMEI packet received {"connection_id":145371,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 15:59:08] local.INFO: IMEI acknowledgment sent {"connection_id":145371,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:59:09] local.INFO: TCP Data received {"connection_id":142950,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa31bc148012d9c8c8005b377d80013006c2a..."} 
[2026-07-27 15:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa31bc148012d9c8c8005b377d80013006c2a..."} 
[2026-07-27 15:59:09] local.INFO: Processing buffer {"connection_id":142950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa31bc148012d9c8c8005b377d80013006c2a..."} 
[2026-07-27 15:59:09] local.INFO: Packet analysis {"connection_id":142950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa31b"} 
[2026-07-27 15:59:09] local.INFO: Extracted packet for processing {"connection_id":142950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa31b"} 
[2026-07-27 15:59:09] local.INFO: GPS Element Parsed {"raw_longitude":765234304,"raw_latitude":95647704,"longitude_deg":76.5234304,"latitude_deg":9.5647704,"altitude":19,"angle":108,"satellites":42,"speed":31,"hex_longitude":"2d9c8c80","hex_latitude":"05b377d8","is_valid_coordinates":true} 
[2026-07-27 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-07-27 15:59:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997869312001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:59:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359070278241746944,"note":"Value kept but may cause issues"} 
[2026-07-27 15:59:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7170856482194309120,"note":"Value kept but may cause issues"} 
[2026-07-27 15:59:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:59:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785147933000,"timestamp_ms":1785147933000,"timestamp_seconds":1785147933,"priority":1,"record_length":96,"hex_timestamp":"0000019fa31bc148"} 
[2026-07-27 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-07-27 15:59:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-27 15:59:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 15:59:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:59:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:59:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:59:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:59:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:59:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 15:59:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 15:59:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997869312001,"66":27821,"95":206,"83":17408,"24":31,"16":359070278241746944,"45":-7170856482194309120},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,83,24,16,45]} 
[2026-07-27 15:59:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 15:59:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 15:59:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997869312001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:59:09] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-27 15:59:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 15:59:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359070278241746944,"km_value":359070278241746.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:59:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7170856482194309120,"description":"Unknown IO ID 45"} 
[2026-07-27 15:59:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997869312001,"power":27821,"unknown_95":206,"unknown_83":17408,"ignition":31,"odometer":null,"unknown_45":-7170856482194309120}} 
[2026-07-27 15:59:09] local.INFO: DEBUG: GPS processor result {"connection_id":142950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:59:09] local.INFO: GPS data processed {"connection_id":142950,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:59:09] local.INFO: Acknowledgment sent {"connection_id":142950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:59:13] local.INFO: TCP Data received {"connection_id":145371,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145371,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:59:13] local.INFO: Processing buffer {"connection_id":145371,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 15:59:13] local.INFO: IMEI packet received {"connection_id":145371,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 15:59:13] local.INFO: IMEI acknowledgment sent {"connection_id":145371,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:59:14] local.INFO: TCP Data received {"connection_id":145371,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa31d76c8012d7b058005ebdc980000004010..."} 
[2026-07-27 15:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa31d76c8012d7b058005ebdc980000004010..."} 
[2026-07-27 15:59:14] local.INFO: Processing buffer {"connection_id":145371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa31d76c8012d7b058005ebdc980000004010..."} 
[2026-07-27 15:59:14] local.INFO: Packet analysis {"connection_id":145371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa31d"} 
[2026-07-27 15:59:14] local.INFO: Extracted packet for processing {"connection_id":145371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa31d"} 
[2026-07-27 15:59:14] local.INFO: GPS Element Parsed {"raw_longitude":763037056,"raw_latitude":99343512,"longitude_deg":76.3037056,"latitude_deg":9.9343512,"altitude":0,"angle":64,"satellites":16,"speed":42,"hex_longitude":"2d7b0580","hex_latitude":"05ebdc98","is_valid_coordinates":true} 
[2026-07-27 15:59:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:59:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997897216001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:59:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111605734503874560,"note":"Value kept but may cause issues"} 
[2026-07-27 15:59:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8854850949027266560,"note":"Value kept but may cause issues"} 
[2026-07-27 15:59:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:59:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785148045000,"timestamp_ms":1785148045000,"timestamp_seconds":1785148045,"priority":1,"record_length":96,"hex_timestamp":"0000019fa31d76c8"} 
[2026-07-27 15:59:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:59:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8448,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-27 15:59:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:59:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:59:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:59:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:59:14] local.INFO: Teltonika packet parsed successfully {"connection_id":145371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:59:14] local.INFO: Passing IMEI to GPS processor {"connection_id":145371,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 15:59:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":145371,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 15:59:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:59:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 15:59:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 15:59:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997897216001,"66":13254,"156":206,"87":13824,"24":42,"16":111605734503874560,"45":8854850949027266560},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-07-27 15:59:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 15:59:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 15:59:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997897216001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:59:14] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-27 15:59:14] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 15:59:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111605734503874560,"km_value":111605734503874.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:59:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8854850949027266560,"description":"Unknown IO ID 45"} 
[2026-07-27 15:59:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997897216001,"power":13254,"unknown_156":206,"unknown_87":13824,"ignition":42,"odometer":null,"unknown_45":8854850949027266560}} 
[2026-07-27 15:59:14] local.INFO: DEBUG: GPS processor result {"connection_id":145371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553977,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:59:14] local.INFO: GPS data processed {"connection_id":145371,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:59:14] local.INFO: Acknowledgment sent {"connection_id":145371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:59:16] local.INFO: TCP Data received {"connection_id":145372,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145372,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:59:16] local.INFO: Processing buffer {"connection_id":145372,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:59:16] local.INFO: IMEI packet received {"connection_id":145372,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 15:59:16] local.INFO: IMEI acknowledgment sent {"connection_id":145372,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:59:22] local.INFO: TCP Data received {"connection_id":145372,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145372,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:59:22] local.INFO: Processing buffer {"connection_id":145372,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 15:59:22] local.INFO: IMEI packet received {"connection_id":145372,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 15:59:22] local.INFO: IMEI acknowledgment sent {"connection_id":145372,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:59:22] local.INFO: TCP Data received {"connection_id":145372,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa31eaf48012d09c10007057258001c00da1b..."} 
[2026-07-27 15:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa31eaf48012d09c10007057258001c00da1b..."} 
[2026-07-27 15:59:22] local.INFO: Processing buffer {"connection_id":145372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa31eaf48012d09c10007057258001c00da1b..."} 
[2026-07-27 15:59:22] local.INFO: Packet analysis {"connection_id":145372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa31e"} 
[2026-07-27 15:59:22] local.INFO: Extracted packet for processing {"connection_id":145372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa31e"} 
[2026-07-27 15:59:22] local.INFO: GPS Element Parsed {"raw_longitude":755613952,"raw_latitude":117797464,"longitude_deg":75.5613952,"latitude_deg":11.7797464,"altitude":28,"angle":218,"satellites":27,"speed":11,"hex_longitude":"2d09c100","hex_latitude":"07057258","is_valid_coordinates":true} 
[2026-07-27 15:59:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:59:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997919744001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:59:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25917413212028928,"note":"Value kept but may cause issues"} 
[2026-07-27 15:59:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":703054153235236864,"note":"Value kept but may cause issues"} 
[2026-07-27 15:59:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:59:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785148125000,"timestamp_ms":1785148125000,"timestamp_seconds":1785148125,"priority":1,"record_length":96,"hex_timestamp":"0000019fa31eaf48"} 
[2026-07-27 15:59:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:59:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:59:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-27 15:59:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:59:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:59:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:59:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:59:22] local.INFO: Teltonika packet parsed successfully {"connection_id":145372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:59:22] local.INFO: Passing IMEI to GPS processor {"connection_id":145372,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 15:59:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":145372,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 15:59:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:59:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 15:59:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 15:59:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997919744001,"66":14537,"177":206,"94":10240,"24":11,"16":25917413212028928,"45":703054153235236864},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-07-27 15:59:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 15:59:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 15:59:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997919744001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:59:22] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-27 15:59:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 15:59:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25917413212028928,"km_value":25917413212028.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:59:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":703054153235236864,"description":"Unknown IO ID 45"} 
[2026-07-27 15:59:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997919744001,"power":14537,"unknown_177":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":703054153235236864}} 
[2026-07-27 15:59:23] local.INFO: DEBUG: GPS processor result {"connection_id":145372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553978,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:59:23] local.INFO: GPS data processed {"connection_id":145372,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:59:23] local.INFO: Acknowledgment sent {"connection_id":145372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:59:37] local.INFO: TCP Data received {"connection_id":143101,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:59:37] local.INFO: Processing buffer {"connection_id":143101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:59:37] local.INFO: IMEI packet received {"connection_id":143101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 15:59:37] local.INFO: IMEI acknowledgment sent {"connection_id":143101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 15:59:38] local.INFO: TCP Data received {"connection_id":142951,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa31c3a60012d18e9c007216660004a01382b..."} 
[2026-07-27 15:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa31c3a60012d18e9c007216660004a01382b..."} 
[2026-07-27 15:59:38] local.INFO: Processing buffer {"connection_id":142951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa31c3a60012d18e9c007216660004a01382b..."} 
[2026-07-27 15:59:38] local.INFO: Packet analysis {"connection_id":142951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa31c"} 
[2026-07-27 15:59:38] local.INFO: Extracted packet for processing {"connection_id":142951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa31c"} 
[2026-07-27 15:59:38] local.INFO: GPS Element Parsed {"raw_longitude":756607424,"raw_latitude":119629408,"longitude_deg":75.6607424,"latitude_deg":11.9629408,"altitude":74,"angle":312,"satellites":43,"speed":0,"hex_longitude":"2d18e9c0","hex_latitude":"07216660","is_valid_coordinates":true} 
[2026-07-27 15:59:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:59:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997873408001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:59:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8883839204065280,"note":"Value kept but may cause issues"} 
[2026-07-27 15:59:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1795177063341514752,"note":"Value kept but may cause issues"} 
[2026-07-27 15:59:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:59:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785147964000,"timestamp_ms":1785147964000,"timestamp_seconds":1785147964,"priority":1,"record_length":96,"hex_timestamp":"0000019fa31c3a60"} 
[2026-07-27 15:59:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:59:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:59:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-27 15:59:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:59:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:59:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:59:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:59:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:59:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:59:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 15:59:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:59:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 15:59:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 15:59:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997873408001,"66":12580,"121":206,"28":31744,"24":0,"16":8883839204065280,"45":1795177063341514752},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 15:59:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 15:59:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 15:59:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997873408001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:59:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 15:59:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 15:59:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8883839204065280,"km_value":8883839204065.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:59:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1795177063341514752,"description":"Unknown IO ID 45"} 
[2026-07-27 15:59:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997873408001,"power":12580,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1795177063341514752}} 
[2026-07-27 15:59:38] local.INFO: DEBUG: GPS processor result {"connection_id":142951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553979,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:59:38] local.INFO: GPS data processed {"connection_id":142951,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:59:38] local.INFO: Acknowledgment sent {"connection_id":142951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:59:42] local.INFO: TCP Data received {"connection_id":143101,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:59:42] local.INFO: Processing buffer {"connection_id":143101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 15:59:42] local.INFO: IMEI packet received {"connection_id":143101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 15:59:42] local.INFO: IMEI acknowledgment sent {"connection_id":143101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 15:59:43] local.INFO: TCP Data received {"connection_id":143101,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fa31bf028012d9cb00005b37068001200632a..."} 
[2026-07-27 15:59:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143101,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa31bf028012d9cb00005b37068001200632a..."} 
[2026-07-27 15:59:43] local.INFO: Processing buffer {"connection_id":143101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa31bf028012d9cb00005b37068001200632a..."} 
[2026-07-27 15:59:43] local.INFO: Packet analysis {"connection_id":143101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa31b"} 
[2026-07-27 15:59:43] local.INFO: Extracted packet for processing {"connection_id":143101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa31b"} 
[2026-07-27 15:59:43] local.INFO: GPS Element Parsed {"raw_longitude":765243392,"raw_latitude":95645800,"longitude_deg":76.5243392,"latitude_deg":9.56458,"altitude":18,"angle":99,"satellites":42,"speed":32,"hex_longitude":"2d9cb000","hex_latitude":"05b37068","is_valid_coordinates":true} 
[2026-07-27 15:59:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:59:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997870848001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:59:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359070724918345728,"note":"Value kept but may cause issues"} 
[2026-07-27 15:59:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7166212145079134208,"note":"Value kept but may cause issues"} 
[2026-07-27 15:59:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:59:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785147945000,"timestamp_ms":1785147945000,"timestamp_seconds":1785147945,"priority":1,"record_length":96,"hex_timestamp":"0000019fa31bf028"} 
[2026-07-27 15:59:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:59:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-27 15:59:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:59:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:59:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:59:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:59:43] local.INFO: Teltonika packet parsed successfully {"connection_id":143101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:59:43] local.INFO: Passing IMEI to GPS processor {"connection_id":143101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:59:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":143101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:59:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:59:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 15:59:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 15:59:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997870848001,"66":28082,"95":206,"83":17408,"24":32,"16":359070724918345728,"45":-7166212145079134208},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,83,24,16,45]} 
[2026-07-27 15:59:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 15:59:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 15:59:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997870848001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:59:43] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-27 15:59:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 15:59:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359070724918345728,"km_value":359070724918345.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:59:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7166212145079134208,"description":"Unknown IO ID 45"} 
[2026-07-27 15:59:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997870848001,"power":28082,"unknown_95":206,"unknown_83":17408,"ignition":32,"odometer":null,"unknown_45":-7166212145079134208}} 
[2026-07-27 15:59:43] local.INFO: DEBUG: GPS processor result {"connection_id":143101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:59:43] local.INFO: GPS data processed {"connection_id":143101,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:59:43] local.INFO: Acknowledgment sent {"connection_id":143101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:59:45] local.INFO: TCP Data received {"connection_id":145371,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa31d99f0012d7b278005ebed800001003f11..."} 
[2026-07-27 15:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa31d99f0012d7b278005ebed800001003f11..."} 
[2026-07-27 15:59:45] local.INFO: Processing buffer {"connection_id":145371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa31d99f0012d7b278005ebed800001003f11..."} 
[2026-07-27 15:59:45] local.INFO: Packet analysis {"connection_id":145371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa31d"} 
[2026-07-27 15:59:45] local.INFO: Extracted packet for processing {"connection_id":145371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa31d"} 
[2026-07-27 15:59:45] local.INFO: GPS Element Parsed {"raw_longitude":763045760,"raw_latitude":99347840,"longitude_deg":76.304576,"latitude_deg":9.934784,"altitude":1,"angle":63,"satellites":17,"speed":41,"hex_longitude":"2d7b2780","hex_latitude":"05ebed80","is_valid_coordinates":true} 
[2026-07-27 15:59:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:59:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997899520001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:59:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111606198360342528,"note":"Value kept but may cause issues"} 
[2026-07-27 15:59:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864632204468983808,"note":"Value kept but may cause issues"} 
[2026-07-27 15:59:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:59:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785148054000,"timestamp_ms":1785148054000,"timestamp_seconds":1785148054,"priority":1,"record_length":96,"hex_timestamp":"0000019fa31d99f0"} 
[2026-07-27 15:59:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:59:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8448,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-27 15:59:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:59:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:59:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:59:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:59:45] local.INFO: Teltonika packet parsed successfully {"connection_id":145371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:59:45] local.INFO: Passing IMEI to GPS processor {"connection_id":145371,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 15:59:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":145371,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 15:59:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:59:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 15:59:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 15:59:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997899520001,"66":12917,"156":206,"87":13824,"24":41,"16":111606198360342528,"45":8864632204468983808},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-07-27 15:59:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 15:59:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 15:59:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997899520001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:59:45] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-27 15:59:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 15:59:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111606198360342528,"km_value":111606198360342.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:59:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864632204468983808,"description":"Unknown IO ID 45"} 
[2026-07-27 15:59:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997899520001,"power":12917,"unknown_156":206,"unknown_87":13824,"ignition":41,"odometer":null,"unknown_45":8864632204468983808}} 
[2026-07-27 15:59:45] local.INFO: DEBUG: GPS processor result {"connection_id":145371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553981,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:59:45] local.INFO: GPS data processed {"connection_id":145371,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:59:45] local.INFO: Acknowledgment sent {"connection_id":145371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:59:47] local.INFO: TCP Data received {"connection_id":143101,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fa31bfbe0012d9cb9c005b36d780011007329..."} 
[2026-07-27 15:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143101,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa31bfbe0012d9cb9c005b36d780011007329..."} 
[2026-07-27 15:59:47] local.INFO: Processing buffer {"connection_id":143101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa31bfbe0012d9cb9c005b36d780011007329..."} 
[2026-07-27 15:59:47] local.INFO: Packet analysis {"connection_id":143101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa31b"} 
[2026-07-27 15:59:47] local.INFO: Extracted packet for processing {"connection_id":143101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa31b"} 
[2026-07-27 15:59:47] local.INFO: GPS Element Parsed {"raw_longitude":765245888,"raw_latitude":95645048,"longitude_deg":76.5245888,"latitude_deg":9.5645048,"altitude":17,"angle":115,"satellites":41,"speed":35,"hex_longitude":"2d9cb9c0","hex_latitude":"05b36d78","is_valid_coordinates":true} 
[2026-07-27 15:59:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:59:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997873920001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:59:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359070849472397312,"note":"Value kept but may cause issues"} 
[2026-07-27 15:59:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7156219783406393344,"note":"Value kept but may cause issues"} 
[2026-07-27 15:59:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:59:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785147948000,"timestamp_ms":1785147948000,"timestamp_seconds":1785147948,"priority":1,"record_length":96,"hex_timestamp":"0000019fa31bfbe0"} 
[2026-07-27 15:59:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:59:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:59:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-27 15:59:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2345,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:59:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:59:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:59:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:59:47] local.INFO: Teltonika packet parsed successfully {"connection_id":143101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:59:47] local.INFO: Passing IMEI to GPS processor {"connection_id":143101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:59:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":143101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 15:59:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:59:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 15:59:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 15:59:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997873920001,"66":27930,"95":206,"83":17408,"24":35,"16":359070849472397312,"45":-7156219783406393344},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,83,24,16,45]} 
[2026-07-27 15:59:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 15:59:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 15:59:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997873920001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:59:47] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-27 15:59:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 15:59:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359070849472397312,"km_value":359070849472397.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:59:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7156219783406393344,"description":"Unknown IO ID 45"} 
[2026-07-27 15:59:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997873920001,"power":27930,"unknown_95":206,"unknown_83":17408,"ignition":35,"odometer":null,"unknown_45":-7156219783406393344}} 
[2026-07-27 15:59:47] local.INFO: DEBUG: GPS processor result {"connection_id":143101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:59:47] local.INFO: GPS data processed {"connection_id":143101,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:59:47] local.INFO: Acknowledgment sent {"connection_id":143101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:59:53] local.INFO: TCP Data received {"connection_id":145372,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa31eb330012d09c04007057140001d00be1b..."} 
[2026-07-27 15:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa31eb330012d09c04007057140001d00be1b..."} 
[2026-07-27 15:59:53] local.INFO: Processing buffer {"connection_id":145372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa31eb330012d09c04007057140001d00be1b..."} 
[2026-07-27 15:59:53] local.INFO: Packet analysis {"connection_id":145372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa31e"} 
[2026-07-27 15:59:53] local.INFO: Extracted packet for processing {"connection_id":145372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa31e"} 
[2026-07-27 15:59:53] local.INFO: GPS Element Parsed {"raw_longitude":755613760,"raw_latitude":117797184,"longitude_deg":75.561376,"latitude_deg":11.7797184,"altitude":29,"angle":190,"satellites":27,"speed":13,"hex_longitude":"2d09c040","hex_latitude":"07057140","is_valid_coordinates":true} 
[2026-07-27 15:59:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 15:59:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997920000001,"note":"Value kept but may cause issues"} 
[2026-07-27 15:59:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25917426096930816,"note":"Value kept but may cause issues"} 
[2026-07-27 15:59:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":702843047002658816,"note":"Value kept but may cause issues"} 
[2026-07-27 15:59:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 15:59:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785148126000,"timestamp_ms":1785148126000,"timestamp_seconds":1785148126,"priority":1,"record_length":96,"hex_timestamp":"0000019fa31eb330"} 
[2026-07-27 15:59:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 15:59:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 15:59:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-27 15:59:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 15:59:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 15:59:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 15:59:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 15:59:53] local.INFO: Teltonika packet parsed successfully {"connection_id":145372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 15:59:53] local.INFO: Passing IMEI to GPS processor {"connection_id":145372,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 15:59:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":145372,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 15:59:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 15:59:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 15:59:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 15:59:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997920000001,"66":14537,"177":206,"94":10240,"24":13,"16":25917426096930816,"45":702843047002658816},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-07-27 15:59:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 15:59:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 15:59:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997920000001,"description":"Unknown IO ID 0"} 
[2026-07-27 15:59:53] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-27 15:59:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 15:59:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25917426096930816,"km_value":25917426096930.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 15:59:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":702843047002658816,"description":"Unknown IO ID 45"} 
[2026-07-27 15:59:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997920000001,"power":14537,"unknown_177":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":702843047002658816}} 
[2026-07-27 15:59:54] local.INFO: DEBUG: GPS processor result {"connection_id":145372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553983,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 15:59:54] local.INFO: GPS data processed {"connection_id":145372,"processed":1,"errors":0,"total":1} 
[2026-07-27 15:59:54] local.INFO: Acknowledgment sent {"connection_id":145372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 15:59:59] local.INFO: TCP Data received {"connection_id":144080,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144080,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:59:59] local.INFO: Processing buffer {"connection_id":144080,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 15:59:59] local.INFO: IMEI packet received {"connection_id":144080,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 15:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":144080,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:00:05] local.INFO: TCP Data received {"connection_id":144080,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144080,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:00:05] local.INFO: Processing buffer {"connection_id":144080,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:00:05] local.INFO: IMEI packet received {"connection_id":144080,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 16:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":144080,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:00:06] local.INFO: TCP Data received {"connection_id":144080,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa31c8880012d18e9c007216660004a01382a..."} 
[2026-07-27 16:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa31c8880012d18e9c007216660004a01382a..."} 
[2026-07-27 16:00:06] local.INFO: Processing buffer {"connection_id":144080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa31c8880012d18e9c007216660004a01382a..."} 
[2026-07-27 16:00:06] local.INFO: Packet analysis {"connection_id":144080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa31c"} 
[2026-07-27 16:00:06] local.INFO: Extracted packet for processing {"connection_id":144080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa31c"} 
[2026-07-27 16:00:06] local.INFO: GPS Element Parsed {"raw_longitude":756607424,"raw_latitude":119629408,"longitude_deg":75.6607424,"latitude_deg":11.9629408,"altitude":74,"angle":312,"satellites":42,"speed":0,"hex_longitude":"2d18e9c0","hex_latitude":"07216660","is_valid_coordinates":true} 
[2026-07-27 16:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997878784001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8883839204065280,"note":"Value kept but may cause issues"} 
[2026-07-27 16:00:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1795177063341514752,"note":"Value kept but may cause issues"} 
[2026-07-27 16:00:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785147984000,"timestamp_ms":1785147984000,"timestamp_seconds":1785147984,"priority":1,"record_length":96,"hex_timestamp":"0000019fa31c8880"} 
[2026-07-27 16:00:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:00:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-07-27 16:00:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:00:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:00:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":144080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":144080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":144080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:00:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 16:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 16:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997878784001,"66":12558,"121":206,"28":31744,"24":0,"16":8883839204065280,"45":1795177063341514752},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 16:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 16:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 16:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997878784001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:00:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 16:00:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 16:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8883839204065280,"km_value":8883839204065.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:00:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1795177063341514752,"description":"Unknown IO ID 45"} 
[2026-07-27 16:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997878784001,"power":12558,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1795177063341514752}} 
[2026-07-27 16:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":144080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553984,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:00:06] local.INFO: GPS data processed {"connection_id":144080,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:00:06] local.INFO: Acknowledgment sent {"connection_id":144080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:00:08] local.INFO: TCP Data received {"connection_id":144081,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144081,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:00:08] local.INFO: Processing buffer {"connection_id":144081,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:00:08] local.INFO: IMEI packet received {"connection_id":144081,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 16:00:08] local.INFO: IMEI acknowledgment sent {"connection_id":144081,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:00:09] local.INFO: TCP Data received {"connection_id":144081,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144081,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:00:09] local.INFO: Processing buffer {"connection_id":144081,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:00:09] local.INFO: IMEI packet received {"connection_id":144081,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 16:00:09] local.INFO: IMEI acknowledgment sent {"connection_id":144081,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:00:14] local.INFO: TCP Data received {"connection_id":144081,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144081,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:00:14] local.INFO: Processing buffer {"connection_id":144081,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:00:14] local.INFO: IMEI packet received {"connection_id":144081,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 16:00:14] local.INFO: IMEI acknowledgment sent {"connection_id":144081,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:00:15] local.INFO: TCP Data received {"connection_id":144081,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa31f7e50012d7caac005ec39480020005717..."} 
[2026-07-27 16:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa31f7e50012d7caac005ec39480020005717..."} 
[2026-07-27 16:00:15] local.INFO: Processing buffer {"connection_id":144081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa31f7e50012d7caac005ec39480020005717..."} 
[2026-07-27 16:00:15] local.INFO: Packet analysis {"connection_id":144081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa31f"} 
[2026-07-27 16:00:15] local.INFO: Extracted packet for processing {"connection_id":144081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa31f"} 
[2026-07-27 16:00:15] local.INFO: GPS Element Parsed {"raw_longitude":763144896,"raw_latitude":99367240,"longitude_deg":76.3144896,"latitude_deg":9.936724,"altitude":32,"angle":87,"satellites":23,"speed":19,"hex_longitude":"2d7caac0","hex_latitude":"05ec3948","is_valid_coordinates":true} 
[2026-07-27 16:00:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:00:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997929984001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:00:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111611086033125376,"note":"Value kept but may cause issues"} 
[2026-07-27 16:00:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8973140807996948480,"note":"Value kept but may cause issues"} 
[2026-07-27 16:00:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:00:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785148178000,"timestamp_ms":1785148178000,"timestamp_seconds":1785148178,"priority":1,"record_length":96,"hex_timestamp":"0000019fa31f7e50"} 
[2026-07-27 16:00:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:00:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10752,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:00:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-27 16:00:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:00:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:00:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:00:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:00:15] local.INFO: Teltonika packet parsed successfully {"connection_id":144081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:00:15] local.INFO: Passing IMEI to GPS processor {"connection_id":144081,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:00:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":144081,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:00:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:00:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 16:00:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 16:00:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997929984001,"66":12526,"196":206,"87":13824,"24":19,"16":111611086033125376,"45":8973140807996948480},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,87,24,16,45]} 
[2026-07-27 16:00:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 16:00:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 16:00:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997929984001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:00:15] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-07-27 16:00:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 16:00:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111611086033125376,"km_value":111611086033125.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:00:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8973140807996948480,"description":"Unknown IO ID 45"} 
[2026-07-27 16:00:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997929984001,"power":12526,"unknown_196":206,"unknown_87":13824,"ignition":19,"odometer":null,"unknown_45":8973140807996948480}} 
[2026-07-27 16:00:15] local.INFO: DEBUG: GPS processor result {"connection_id":144081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553985,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:00:15] local.INFO: GPS data processed {"connection_id":144081,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:00:15] local.INFO: Acknowledgment sent {"connection_id":144081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:00:16] local.INFO: TCP Data received {"connection_id":144082,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144082,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:00:16] local.INFO: Processing buffer {"connection_id":144082,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:00:16] local.INFO: IMEI packet received {"connection_id":144082,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 16:00:16] local.INFO: IMEI acknowledgment sent {"connection_id":144082,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:00:19] local.INFO: TCP Data received {"connection_id":144082,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144082,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:00:19] local.INFO: Processing buffer {"connection_id":144082,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:00:19] local.INFO: IMEI packet received {"connection_id":144082,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 16:00:19] local.INFO: IMEI acknowledgment sent {"connection_id":144082,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:00:20] local.INFO: TCP Data received {"connection_id":144082,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144082,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:00:20] local.INFO: Processing buffer {"connection_id":144082,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:00:20] local.INFO: IMEI packet received {"connection_id":144082,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 16:00:20] local.INFO: IMEI acknowledgment sent {"connection_id":144082,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:00:21] local.INFO: TCP Data received {"connection_id":144082,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144082,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:00:21] local.INFO: Processing buffer {"connection_id":144082,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:00:21] local.INFO: IMEI packet received {"connection_id":144082,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 16:00:21] local.INFO: IMEI acknowledgment sent {"connection_id":144082,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:00:21] local.INFO: TCP Data received {"connection_id":144082,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa31fc4a0012d09b88007052608001d00b01c..."} 
[2026-07-27 16:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa31fc4a0012d09b88007052608001d00b01c..."} 
[2026-07-27 16:00:21] local.INFO: Processing buffer {"connection_id":144082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa31fc4a0012d09b88007052608001d00b01c..."} 
[2026-07-27 16:00:21] local.INFO: Packet analysis {"connection_id":144082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa31f"} 
[2026-07-27 16:00:21] local.INFO: Extracted packet for processing {"connection_id":144082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa31f"} 
[2026-07-27 16:00:21] local.INFO: GPS Element Parsed {"raw_longitude":755611776,"raw_latitude":117777928,"longitude_deg":75.5611776,"latitude_deg":11.7777928,"altitude":29,"angle":176,"satellites":28,"speed":27,"hex_longitude":"2d09b880","hex_latitude":"07052608","is_valid_coordinates":true} 
[2026-07-27 16:00:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:00:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997936896001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:00:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25918448299147264,"note":"Value kept but may cause issues"} 
[2026-07-27 16:00:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":701013459649773568,"note":"Value kept but may cause issues"} 
[2026-07-27 16:00:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:00:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785148196000,"timestamp_ms":1785148196000,"timestamp_seconds":1785148196,"priority":1,"record_length":96,"hex_timestamp":"0000019fa31fc4a0"} 
[2026-07-27 16:00:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:00:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:00:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-27 16:00:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:00:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:00:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:00:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:00:21] local.INFO: Teltonika packet parsed successfully {"connection_id":144082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:00:21] local.INFO: Passing IMEI to GPS processor {"connection_id":144082,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 16:00:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":144082,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 16:00:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:00:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 16:00:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 16:00:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997936896001,"66":14428,"177":206,"94":10240,"24":27,"16":25918448299147264,"45":701013459649773568},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-07-27 16:00:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 16:00:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 16:00:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997936896001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:00:21] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-27 16:00:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 16:00:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25918448299147264,"km_value":25918448299147.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:00:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":701013459649773568,"description":"Unknown IO ID 45"} 
[2026-07-27 16:00:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997936896001,"power":14428,"unknown_177":206,"unknown_94":10240,"ignition":27,"odometer":null,"unknown_45":701013459649773568}} 
[2026-07-27 16:00:21] local.INFO: DEBUG: GPS processor result {"connection_id":144082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553986,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:00:21] local.INFO: GPS data processed {"connection_id":144082,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:00:21] local.INFO: Acknowledgment sent {"connection_id":144082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:00:31] local.INFO: TCP Data received {"connection_id":142952,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:00:31] local.INFO: Processing buffer {"connection_id":142952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:00:31] local.INFO: IMEI packet received {"connection_id":142952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 16:00:31] local.INFO: IMEI acknowledgment sent {"connection_id":142952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:00:37] local.INFO: TCP Data received {"connection_id":142952,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:00:37] local.INFO: Processing buffer {"connection_id":142952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:00:37] local.INFO: IMEI packet received {"connection_id":142952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 16:00:37] local.INFO: IMEI acknowledgment sent {"connection_id":142952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:00:38] local.INFO: TCP Data received {"connection_id":142952,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa31c0798012d9cc1c005b368500010007f29..."} 
[2026-07-27 16:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa31c0798012d9cc1c005b368500010007f29..."} 
[2026-07-27 16:00:38] local.INFO: Processing buffer {"connection_id":142952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa31c0798012d9cc1c005b368500010007f29..."} 
[2026-07-27 16:00:38] local.INFO: Packet analysis {"connection_id":142952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa31c"} 
[2026-07-27 16:00:38] local.INFO: Extracted packet for processing {"connection_id":142952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa31c"} 
[2026-07-27 16:00:38] local.INFO: GPS Element Parsed {"raw_longitude":765247936,"raw_latitude":95643728,"longitude_deg":76.5247936,"latitude_deg":9.5643728,"altitude":16,"angle":127,"satellites":41,"speed":28,"hex_longitude":"2d9cc1c0","hex_latitude":"05b36850","is_valid_coordinates":true} 
[2026-07-27 16:00:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:00:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997874688001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:00:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359070969731481600,"note":"Value kept but may cause issues"} 
[2026-07-27 16:00:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7153475402383656960,"note":"Value kept but may cause issues"} 
[2026-07-27 16:00:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:00:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785147951000,"timestamp_ms":1785147951000,"timestamp_seconds":1785147951,"priority":1,"record_length":96,"hex_timestamp":"0000019fa31c0798"} 
[2026-07-27 16:00:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:00:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:00:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-27 16:00:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:00:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:00:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:00:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:00:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:00:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:00:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:00:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:00:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:00:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:00:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997874688001,"66":27865,"95":206,"83":17408,"24":28,"16":359070969731481600,"45":-7153475402383656960},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,83,24,16,45]} 
[2026-07-27 16:00:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:00:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:00:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997874688001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:00:38] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-27 16:00:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 16:00:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359070969731481600,"km_value":359070969731481.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:00:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7153475402383656960,"description":"Unknown IO ID 45"} 
[2026-07-27 16:00:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997874688001,"power":27865,"unknown_95":206,"unknown_83":17408,"ignition":28,"odometer":null,"unknown_45":-7153475402383656960}} 
[2026-07-27 16:00:38] local.INFO: DEBUG: GPS processor result {"connection_id":142952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:00:38] local.INFO: GPS data processed {"connection_id":142952,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:00:38] local.INFO: Acknowledgment sent {"connection_id":142952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:00:38] local.INFO: TCP Data received {"connection_id":144080,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa31cda88012d18e9c007216660004a01382e..."} 
[2026-07-27 16:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa31cda88012d18e9c007216660004a01382e..."} 
[2026-07-27 16:00:38] local.INFO: Processing buffer {"connection_id":144080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa31cda88012d18e9c007216660004a01382e..."} 
[2026-07-27 16:00:38] local.INFO: Packet analysis {"connection_id":144080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa31c"} 
[2026-07-27 16:00:38] local.INFO: Extracted packet for processing {"connection_id":144080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa31c"} 
[2026-07-27 16:00:38] local.INFO: GPS Element Parsed {"raw_longitude":756607424,"raw_latitude":119629408,"longitude_deg":75.6607424,"latitude_deg":11.9629408,"altitude":74,"angle":312,"satellites":46,"speed":0,"hex_longitude":"2d18e9c0","hex_latitude":"07216660","is_valid_coordinates":true} 
[2026-07-27 16:00:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:00:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997883904001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:00:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8883839204065280,"note":"Value kept but may cause issues"} 
[2026-07-27 16:00:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1795177063341514752,"note":"Value kept but may cause issues"} 
[2026-07-27 16:00:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:00:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785148005000,"timestamp_ms":1785148005000,"timestamp_seconds":1785148005,"priority":1,"record_length":96,"hex_timestamp":"0000019fa31cda88"} 
[2026-07-27 16:00:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:00:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:00:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-07-27 16:00:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-07-27 16:00:38] local.WARNING: Large IO value detected {"io_id":143,"raw_value":3456106496,"note":"Value kept but may cause issues"} 
[2026-07-27 16:00:38] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2736431160,"note":"Value kept but may cause issues"} 
[2026-07-27 16:00:38] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249604142110434912,"note":"Value kept but may cause issues"} 
[2026-07-27 16:00:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-27 16:00:38] local.WARNING: Large IO value detected {"io_id":233,"raw_value":3221692774,"note":"Value kept but may cause issues"} 
[2026-07-27 16:00:38] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2432749031,"note":"Value kept but may cause issues"} 
[2026-07-27 16:00:38] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2412642304,"note":"Value kept but may cause issues"} 
[2026-07-27 16:00:38] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8719195500324067328,"note":"Value kept but may cause issues"} 
[2026-07-27 16:00:38] local.WARNING: Large IO value detected {"io_id":91,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-27 16:00:38] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-07-27 16:00:38] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,121,28,24,241,158,16,143,159,58,45,192,102,74,43,10,66,232,150,1,240,97,163,33,4,113,205,242,233,96,46,239,49,2,31,7,231,91,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-07-27 16:00:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5332605186823159808,"timestamp_seconds":5332605186823160.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 16:00:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:00:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:00:38] local.INFO: Teltonika packet parsed successfully {"connection_id":144080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:00:38] local.INFO: Passing IMEI to GPS processor {"connection_id":144080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:00:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":144080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:00:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:00:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 16:00:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 16:00:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997883904001,"66":12591,"121":206,"28":31744,"24":0,"16":8883839204065280,"45":1795177063341514752},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 16:00:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 16:00:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 16:00:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997883904001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:00:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 16:00:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 16:00:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8883839204065280,"km_value":8883839204065.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:00:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1795177063341514752,"description":"Unknown IO ID 45"} 
[2026-07-27 16:00:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997883904001,"power":12591,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1795177063341514752}} 
[2026-07-27 16:00:38] local.INFO: DEBUG: GPS processor result {"connection_id":144080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553988,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:00:38] local.INFO: GPS data processed {"connection_id":144080,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:00:38] local.INFO: Acknowledgment sent {"connection_id":144080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:00:47] local.INFO: TCP Data received {"connection_id":144081,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa31fbcd0012d7cd00005ec3ad8001e005618..."} 
[2026-07-27 16:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa31fbcd0012d7cd00005ec3ad8001e005618..."} 
[2026-07-27 16:00:47] local.INFO: Processing buffer {"connection_id":144081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa31fbcd0012d7cd00005ec3ad8001e005618..."} 
[2026-07-27 16:00:47] local.INFO: Packet analysis {"connection_id":144081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa31f"} 
[2026-07-27 16:00:47] local.INFO: Extracted packet for processing {"connection_id":144081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa31f"} 
[2026-07-27 16:00:47] local.INFO: GPS Element Parsed {"raw_longitude":763154432,"raw_latitude":99367640,"longitude_deg":76.3154432,"latitude_deg":9.936764,"altitude":30,"angle":86,"satellites":24,"speed":23,"hex_longitude":"2d7cd000","hex_latitude":"05ec3ad8","is_valid_coordinates":true} 
[2026-07-27 16:00:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:00:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997933568001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:00:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111611541299658752,"note":"Value kept but may cause issues"} 
[2026-07-27 16:00:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8983203538414422016,"note":"Value kept but may cause issues"} 
[2026-07-27 16:00:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:00:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785148194000,"timestamp_ms":1785148194000,"timestamp_seconds":1785148194,"priority":1,"record_length":96,"hex_timestamp":"0000019fa31fbcd0"} 
[2026-07-27 16:00:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:00:47] 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-07-27 16:00:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-27 16:00:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:00:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:00:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:00:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:00:47] local.INFO: Teltonika packet parsed successfully {"connection_id":144081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:00:47] local.INFO: Passing IMEI to GPS processor {"connection_id":144081,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:00:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":144081,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:00:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:00:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 16:00:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 16:00:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997933568001,"66":13319,"198":206,"87":13824,"24":23,"16":111611541299658752,"45":8983203538414422016},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-07-27 16:00:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 16:00:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 16:00:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997933568001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:00:47] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-27 16:00:47] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 16:00:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111611541299658752,"km_value":111611541299658.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:00:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8983203538414422016,"description":"Unknown IO ID 45"} 
[2026-07-27 16:00:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997933568001,"power":13319,"unknown_198":206,"unknown_87":13824,"ignition":23,"odometer":null,"unknown_45":8983203538414422016}} 
[2026-07-27 16:00:47] local.INFO: DEBUG: GPS processor result {"connection_id":144081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553989,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:00:47] local.INFO: GPS data processed {"connection_id":144081,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:00:47] local.INFO: Acknowledgment sent {"connection_id":144081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:00:52] local.INFO: TCP Data received {"connection_id":144082,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3203db8012d09cc400704fc20001d00981b..."} 
[2026-07-27 16:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3203db8012d09cc400704fc20001d00981b..."} 
[2026-07-27 16:00:52] local.INFO: Processing buffer {"connection_id":144082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3203db8012d09cc400704fc20001d00981b..."} 
[2026-07-27 16:00:52] local.INFO: Packet analysis {"connection_id":144082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa320"} 
[2026-07-27 16:00:52] local.INFO: Extracted packet for processing {"connection_id":144082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa320"} 
[2026-07-27 16:00:52] local.INFO: GPS Element Parsed {"raw_longitude":755616832,"raw_latitude":117767200,"longitude_deg":75.5616832,"latitude_deg":11.77672,"altitude":29,"angle":152,"satellites":27,"speed":8,"hex_longitude":"2d09cc40","hex_latitude":"0704fc20","is_valid_coordinates":true} 
[2026-07-27 16:00:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:00:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997945600001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:00:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25919105429143552,"note":"Value kept but may cause issues"} 
[2026-07-27 16:00:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":705728165506269184,"note":"Value kept but may cause issues"} 
[2026-07-27 16:00:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:00:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785148227000,"timestamp_ms":1785148227000,"timestamp_seconds":1785148227,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3203db8"} 
[2026-07-27 16:00:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:00:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:00:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-27 16:00:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:00:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:00:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:00:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:00:52] local.INFO: Teltonika packet parsed successfully {"connection_id":144082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:00:52] local.INFO: Passing IMEI to GPS processor {"connection_id":144082,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 16:00:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":144082,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 16:00:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:00:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 16:00:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 16:00:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997945600001,"66":14580,"177":206,"94":10240,"24":8,"16":25919105429143552,"45":705728165506269184},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-07-27 16:00:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 16:00:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 16:00:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997945600001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:00:52] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-27 16:00:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 16:00:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25919105429143552,"km_value":25919105429143.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:00:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":705728165506269184,"description":"Unknown IO ID 45"} 
[2026-07-27 16:00:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997945600001,"power":14580,"unknown_177":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":705728165506269184}} 
[2026-07-27 16:00:53] local.INFO: DEBUG: GPS processor result {"connection_id":144082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553990,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:00:53] local.INFO: GPS data processed {"connection_id":144082,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:00:53] local.INFO: Acknowledgment sent {"connection_id":144082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:01:00] local.INFO: TCP Data received {"connection_id":145373,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145373,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:01:00] local.INFO: Processing buffer {"connection_id":145373,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:01:00] local.INFO: IMEI packet received {"connection_id":145373,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 16:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":145373,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:01:08] local.INFO: TCP Data received {"connection_id":145373,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145373,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:01:08] local.INFO: Processing buffer {"connection_id":145373,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:01:08] local.INFO: IMEI packet received {"connection_id":145373,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 16:01:08] local.INFO: IMEI acknowledgment sent {"connection_id":145373,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:01:09] local.INFO: TCP Data received {"connection_id":145373,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa31d2c90012d18e9c007216660004a01382e..."} 
[2026-07-27 16:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa31d2c90012d18e9c007216660004a01382e..."} 
[2026-07-27 16:01:09] local.INFO: Processing buffer {"connection_id":145373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa31d2c90012d18e9c007216660004a01382e..."} 
[2026-07-27 16:01:09] local.INFO: Packet analysis {"connection_id":145373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa31d"} 
[2026-07-27 16:01:09] local.INFO: Extracted packet for processing {"connection_id":145373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa31d"} 
[2026-07-27 16:01:09] local.INFO: GPS Element Parsed {"raw_longitude":756607424,"raw_latitude":119629408,"longitude_deg":75.6607424,"latitude_deg":11.9629408,"altitude":74,"angle":312,"satellites":46,"speed":0,"hex_longitude":"2d18e9c0","hex_latitude":"07216660","is_valid_coordinates":true} 
[2026-07-27 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-07-27 16:01:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997889280001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:01:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8883839204065280,"note":"Value kept but may cause issues"} 
[2026-07-27 16:01:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1795177063341514752,"note":"Value kept but may cause issues"} 
[2026-07-27 16:01:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:01:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785148026000,"timestamp_ms":1785148026000,"timestamp_seconds":1785148026,"priority":1,"record_length":96,"hex_timestamp":"0000019fa31d2c90"} 
[2026-07-27 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-07-27 16:01:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-27 16:01:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 16:01:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:01:09] local.INFO: Teltonika packet parsed successfully {"connection_id":145373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:01:09] local.INFO: Passing IMEI to GPS processor {"connection_id":145373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:01:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":145373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:01:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:01:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 16:01:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 16:01:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997889280001,"66":12613,"121":206,"28":31744,"24":0,"16":8883839204065280,"45":1795177063341514752},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 16:01:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 16:01:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 16:01:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997889280001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:01:09] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 16:01:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 16:01:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8883839204065280,"km_value":8883839204065.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:01:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1795177063341514752,"description":"Unknown IO ID 45"} 
[2026-07-27 16:01:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997889280001,"power":12613,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1795177063341514752}} 
[2026-07-27 16:01:09] local.INFO: DEBUG: GPS processor result {"connection_id":145373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553991,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:01:09] local.INFO: GPS data processed {"connection_id":145373,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:01:09] local.INFO: Acknowledgment sent {"connection_id":145373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:01:09] local.INFO: TCP Data received {"connection_id":142952,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa31c59a0012d9ccac005b360580011008129..."} 
[2026-07-27 16:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa31c59a0012d9ccac005b360580011008129..."} 
[2026-07-27 16:01:09] local.INFO: Processing buffer {"connection_id":142952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa31c59a0012d9ccac005b360580011008129..."} 
[2026-07-27 16:01:09] local.INFO: Packet analysis {"connection_id":142952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa31c"} 
[2026-07-27 16:01:09] local.INFO: Extracted packet for processing {"connection_id":142952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa31c"} 
[2026-07-27 16:01:09] local.INFO: GPS Element Parsed {"raw_longitude":765250240,"raw_latitude":95641688,"longitude_deg":76.525024,"latitude_deg":9.5641688,"altitude":17,"angle":129,"satellites":41,"speed":7,"hex_longitude":"2d9ccac0","hex_latitude":"05b36058","is_valid_coordinates":true} 
[2026-07-27 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-07-27 16:01:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997875456001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:01:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359071115760369664,"note":"Value kept but may cause issues"} 
[2026-07-27 16:01:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7151223602570309632,"note":"Value kept but may cause issues"} 
[2026-07-27 16:01:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:01:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785147972000,"timestamp_ms":1785147972000,"timestamp_seconds":1785147972,"priority":1,"record_length":96,"hex_timestamp":"0000019fa31c59a0"} 
[2026-07-27 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-07-27 16:01:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-27 16:01:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 16:01:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:01:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:01:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:01:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:01:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:01:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:01:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:01:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997875456001,"66":27865,"95":206,"83":17408,"24":7,"16":359071115760369664,"45":-7151223602570309632},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,83,24,16,45]} 
[2026-07-27 16:01:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:01:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:01:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997875456001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:01:09] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-27 16:01:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 16:01:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359071115760369664,"km_value":359071115760369.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:01:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7151223602570309632,"description":"Unknown IO ID 45"} 
[2026-07-27 16:01:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997875456001,"power":27865,"unknown_95":206,"unknown_83":17408,"ignition":7,"odometer":null,"unknown_45":-7151223602570309632}} 
[2026-07-27 16:01:09] local.INFO: DEBUG: GPS processor result {"connection_id":142952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:01:09] local.INFO: GPS data processed {"connection_id":142952,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:01:09] local.INFO: Acknowledgment sent {"connection_id":142952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:01:12] local.INFO: TCP Data received {"connection_id":145374,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145374,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:01:12] local.INFO: Processing buffer {"connection_id":145374,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:01:12] local.INFO: IMEI packet received {"connection_id":145374,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 16:01:12] local.INFO: IMEI acknowledgment sent {"connection_id":145374,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:01:13] local.INFO: TCP Data received {"connection_id":145374,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145374,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:01:13] local.INFO: Processing buffer {"connection_id":145374,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:01:13] local.INFO: IMEI packet received {"connection_id":145374,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 16:01:13] local.INFO: IMEI acknowledgment sent {"connection_id":145374,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:01:17] local.INFO: TCP Data received {"connection_id":145375,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:01:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145375,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:01:17] local.INFO: Processing buffer {"connection_id":145375,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:01:17] local.INFO: IMEI packet received {"connection_id":145375,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 16:01:17] local.INFO: IMEI acknowledgment sent {"connection_id":145375,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:01:17] local.INFO: TCP Data received {"connection_id":145375,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:01:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145375,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:01:17] local.INFO: Processing buffer {"connection_id":145375,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:01:17] local.INFO: IMEI packet received {"connection_id":145375,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 16:01:17] local.INFO: IMEI acknowledgment sent {"connection_id":145375,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:01:18] local.INFO: TCP Data received {"connection_id":145375,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145375,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:01:18] local.INFO: Processing buffer {"connection_id":145375,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:01:18] local.INFO: IMEI packet received {"connection_id":145375,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 16:01:18] local.INFO: IMEI acknowledgment sent {"connection_id":145375,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:01:18] local.INFO: TCP Data received {"connection_id":145374,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145374,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:01:18] local.INFO: Processing buffer {"connection_id":145374,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:01:18] local.INFO: IMEI packet received {"connection_id":145374,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 16:01:18] local.INFO: IMEI acknowledgment sent {"connection_id":145374,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:01:20] local.INFO: TCP Data received {"connection_id":145374,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa320a348012d7cd40005ec4040000c010d17..."} 
[2026-07-27 16:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa320a348012d7cd40005ec4040000c010d17..."} 
[2026-07-27 16:01:20] local.INFO: Processing buffer {"connection_id":145374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa320a348012d7cd40005ec4040000c010d17..."} 
[2026-07-27 16:01:20] local.INFO: Packet analysis {"connection_id":145374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa320"} 
[2026-07-27 16:01:20] local.INFO: Extracted packet for processing {"connection_id":145374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa320"} 
[2026-07-27 16:01:20] local.INFO: GPS Element Parsed {"raw_longitude":763155456,"raw_latitude":99369024,"longitude_deg":76.3155456,"latitude_deg":9.9369024,"altitude":12,"angle":269,"satellites":23,"speed":26,"hex_longitude":"2d7cd400","hex_latitude":"05ec4040","is_valid_coordinates":true} 
[2026-07-27 16: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-07-27 16:01:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997949952001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:01:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111613426790301696,"note":"Value kept but may cause issues"} 
[2026-07-27 16:01:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9005017849109987328,"note":"Value kept but may cause issues"} 
[2026-07-27 16:01:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:01:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785148253000,"timestamp_ms":1785148253000,"timestamp_seconds":1785148253,"priority":1,"record_length":96,"hex_timestamp":"0000019fa320a348"} 
[2026-07-27 16:01:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:01:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11776,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16: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":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-07-27 16:01:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16: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-07-27 16:01:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:01:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:01:20] local.INFO: Teltonika packet parsed successfully {"connection_id":145374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:01:20] local.INFO: Passing IMEI to GPS processor {"connection_id":145374,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:01:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":145374,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:01:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:01:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 16:01:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 16:01:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997949952001,"66":12667,"110":206,"87":13824,"24":26,"16":111613426790301696,"45":9005017849109987328},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-27 16:01:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 16:01:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 16:01:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997949952001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:01:20] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-27 16:01:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 16:01:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111613426790301696,"km_value":111613426790301.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:01:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9005017849109987328,"description":"Unknown IO ID 45"} 
[2026-07-27 16:01:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997949952001,"power":12667,"unknown_110":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":9005017849109987328}} 
[2026-07-27 16:01:20] local.INFO: DEBUG: GPS processor result {"connection_id":145374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553993,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:01:20] local.INFO: GPS data processed {"connection_id":145374,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:01:20] local.INFO: Acknowledgment sent {"connection_id":145374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:01:22] local.INFO: TCP Data received {"connection_id":145375,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145375,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:01:22] local.INFO: Processing buffer {"connection_id":145375,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:01:22] local.INFO: IMEI packet received {"connection_id":145375,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 16:01:22] local.INFO: IMEI acknowledgment sent {"connection_id":145375,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:01:22] local.INFO: TCP Data received {"connection_id":145375,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa320dde0012d09ee800704d1b8002400241b..."} 
[2026-07-27 16:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa320dde0012d09ee800704d1b8002400241b..."} 
[2026-07-27 16:01:22] local.INFO: Processing buffer {"connection_id":145375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa320dde0012d09ee800704d1b8002400241b..."} 
[2026-07-27 16:01:22] local.INFO: Packet analysis {"connection_id":145375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa320"} 
[2026-07-27 16:01:22] local.INFO: Extracted packet for processing {"connection_id":145375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa320"} 
[2026-07-27 16:01:22] local.INFO: GPS Element Parsed {"raw_longitude":755625600,"raw_latitude":117756344,"longitude_deg":75.56256,"latitude_deg":11.7756344,"altitude":36,"angle":36,"satellites":27,"speed":18,"hex_longitude":"2d09ee80","hex_latitude":"0704d1b8","is_valid_coordinates":true} 
[2026-07-27 16: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-07-27 16:01:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997956352001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:01:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25920088976654336,"note":"Value kept but may cause issues"} 
[2026-07-27 16:01:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":715298314711486464,"note":"Value kept but may cause issues"} 
[2026-07-27 16:01:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:01:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785148268000,"timestamp_ms":1785148268000,"timestamp_seconds":1785148268,"priority":1,"record_length":96,"hex_timestamp":"0000019fa320dde0"} 
[2026-07-27 16:01:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:01:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-27 16:01:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16: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-07-27 16:01:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:01:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:01:22] local.INFO: Teltonika packet parsed successfully {"connection_id":145375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:01:22] local.INFO: Passing IMEI to GPS processor {"connection_id":145375,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 16:01:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":145375,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 16:01:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:01:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 16:01:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 16:01:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997956352001,"66":14537,"177":206,"94":10240,"24":18,"16":25920088976654336,"45":715298314711486464},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-07-27 16:01:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 16:01:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 16:01:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997956352001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:01:22] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-27 16:01:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 16:01:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25920088976654336,"km_value":25920088976654.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:01:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":715298314711486464,"description":"Unknown IO ID 45"} 
[2026-07-27 16:01:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997956352001,"power":14537,"unknown_177":206,"unknown_94":10240,"ignition":18,"odometer":null,"unknown_45":715298314711486464}} 
[2026-07-27 16:01:23] local.INFO: DEBUG: GPS processor result {"connection_id":145375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553994,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:01:23] local.INFO: GPS data processed {"connection_id":145375,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:01:23] local.INFO: Acknowledgment sent {"connection_id":145375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:01:23] local.INFO: TCP Data received {"connection_id":145374,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa320d610012d7cb38005ec3dc8000d010117..."} 
[2026-07-27 16:01:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa320d610012d7cb38005ec3dc8000d010117..."} 
[2026-07-27 16:01:23] local.INFO: Processing buffer {"connection_id":145374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa320d610012d7cb38005ec3dc8000d010117..."} 
[2026-07-27 16:01:23] local.INFO: Packet analysis {"connection_id":145374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa320"} 
[2026-07-27 16:01:23] local.INFO: Extracted packet for processing {"connection_id":145374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa320"} 
[2026-07-27 16:01:23] local.INFO: GPS Element Parsed {"raw_longitude":763147136,"raw_latitude":99368392,"longitude_deg":76.3147136,"latitude_deg":9.9368392,"altitude":13,"angle":257,"satellites":23,"speed":36,"hex_longitude":"2d7cb380","hex_latitude":"05ec3dc8","is_valid_coordinates":true} 
[2026-07-27 16: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-07-27 16:01:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997952768001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:01:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111613826222260224,"note":"Value kept but may cause issues"} 
[2026-07-27 16:01:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8994814381204193280,"note":"Value kept but may cause issues"} 
[2026-07-27 16:01:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:01:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785148266000,"timestamp_ms":1785148266000,"timestamp_seconds":1785148266,"priority":1,"record_length":96,"hex_timestamp":"0000019fa320d610"} 
[2026-07-27 16:01:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:01:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-07-27 16:01:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16: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-07-27 16:01:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:01:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:01:23] local.INFO: Teltonika packet parsed successfully {"connection_id":145374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:01:23] local.INFO: Passing IMEI to GPS processor {"connection_id":145374,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:01:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":145374,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:01:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:01:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 16:01:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 16:01:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997952768001,"66":13254,"197":206,"87":13824,"24":36,"16":111613826222260224,"45":8994814381204193280},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-07-27 16:01:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 16:01:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 16:01:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997952768001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:01:23] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-27 16:01:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 16:01:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111613826222260224,"km_value":111613826222260.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:01:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8994814381204193280,"description":"Unknown IO ID 45"} 
[2026-07-27 16:01:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997952768001,"power":13254,"unknown_197":206,"unknown_87":13824,"ignition":36,"odometer":null,"unknown_45":8994814381204193280}} 
[2026-07-27 16:01:24] local.INFO: DEBUG: GPS processor result {"connection_id":145374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553995,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:01:24] local.INFO: GPS data processed {"connection_id":145374,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:01:24] local.INFO: Acknowledgment sent {"connection_id":145374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:01:32] local.INFO: TCP Data received {"connection_id":142953,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:01:32] local.INFO: Processing buffer {"connection_id":142953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:01:32] local.INFO: IMEI packet received {"connection_id":142953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 16:01:32] local.INFO: IMEI acknowledgment sent {"connection_id":142953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:01:37] local.INFO: TCP Data received {"connection_id":142953,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:01:37] local.INFO: Processing buffer {"connection_id":142953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:01:37] local.INFO: IMEI packet received {"connection_id":142953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 16:01:37] local.INFO: IMEI acknowledgment sent {"connection_id":142953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:01:38] local.INFO: TCP Data received {"connection_id":142953,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa31caba8012d9cce0005b35b50001300852a..."} 
[2026-07-27 16:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa31caba8012d9cce0005b35b50001300852a..."} 
[2026-07-27 16:01:38] local.INFO: Processing buffer {"connection_id":142953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa31caba8012d9cce0005b35b50001300852a..."} 
[2026-07-27 16:01:38] local.INFO: Packet analysis {"connection_id":142953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa31c"} 
[2026-07-27 16:01:38] local.INFO: Extracted packet for processing {"connection_id":142953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa31c"} 
[2026-07-27 16:01:38] local.INFO: GPS Element Parsed {"raw_longitude":765251072,"raw_latitude":95640400,"longitude_deg":76.5251072,"latitude_deg":9.56404,"altitude":19,"angle":133,"satellites":42,"speed":0,"hex_longitude":"2d9cce00","hex_latitude":"05b35b50","is_valid_coordinates":true} 
[2026-07-27 16:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:01:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997880832001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:01:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359071197364748288,"note":"Value kept but may cause issues"} 
[2026-07-27 16:01:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7148690327780435968,"note":"Value kept but may cause issues"} 
[2026-07-27 16:01:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:01:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785147993000,"timestamp_ms":1785147993000,"timestamp_seconds":1785147993,"priority":1,"record_length":96,"hex_timestamp":"0000019fa31caba8"} 
[2026-07-27 16:01:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:01:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-27 16:01:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:01:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:01:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:01:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:01:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:01:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:01:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:01:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:01:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:01:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:01:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997880832001,"66":28006,"215":206,"83":17408,"24":0,"16":359071197364748288,"45":-7148690327780435968},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-27 16:01:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:01:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:01:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997880832001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:01:38] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-27 16:01:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 16:01:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359071197364748288,"km_value":359071197364748.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:01:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7148690327780435968,"description":"Unknown IO ID 45"} 
[2026-07-27 16:01:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997880832001,"power":28006,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7148690327780435968}} 
[2026-07-27 16:01:38] local.INFO: DEBUG: GPS processor result {"connection_id":142953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:01:38] local.INFO: GPS data processed {"connection_id":142953,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:01:38] local.INFO: Acknowledgment sent {"connection_id":142953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:01:41] local.INFO: TCP Data received {"connection_id":145373,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa31d7e98012d18e9c007216660004a01382a..."} 
[2026-07-27 16:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa31d7e98012d18e9c007216660004a01382a..."} 
[2026-07-27 16:01:41] local.INFO: Processing buffer {"connection_id":145373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa31d7e98012d18e9c007216660004a01382a..."} 
[2026-07-27 16:01:41] local.INFO: Packet analysis {"connection_id":145373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa31d"} 
[2026-07-27 16:01:41] local.INFO: Extracted packet for processing {"connection_id":145373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa31d"} 
[2026-07-27 16:01:41] local.INFO: GPS Element Parsed {"raw_longitude":756607424,"raw_latitude":119629408,"longitude_deg":75.6607424,"latitude_deg":11.9629408,"altitude":74,"angle":312,"satellites":42,"speed":0,"hex_longitude":"2d18e9c0","hex_latitude":"07216660","is_valid_coordinates":true} 
[2026-07-27 16: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-07-27 16:01:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997894656001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:01:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8883839204065280,"note":"Value kept but may cause issues"} 
[2026-07-27 16:01:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1795177063341514752,"note":"Value kept but may cause issues"} 
[2026-07-27 16:01:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:01:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785148047000,"timestamp_ms":1785148047000,"timestamp_seconds":1785148047,"priority":1,"record_length":96,"hex_timestamp":"0000019fa31d7e98"} 
[2026-07-27 16:01:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:01:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-27 16:01:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16: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-07-27 16:01:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:01:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:01:41] local.INFO: Teltonika packet parsed successfully {"connection_id":145373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:01:41] local.INFO: Passing IMEI to GPS processor {"connection_id":145373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:01:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":145373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:01:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:01:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 16:01:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 16:01:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997894656001,"66":12580,"121":206,"28":31744,"24":0,"16":8883839204065280,"45":1795177063341514752},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 16:01:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 16:01:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 16:01:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997894656001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:01:41] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 16:01:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 16:01:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8883839204065280,"km_value":8883839204065.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:01:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1795177063341514752,"description":"Unknown IO ID 45"} 
[2026-07-27 16:01:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997894656001,"power":12580,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1795177063341514752}} 
[2026-07-27 16:01:41] local.INFO: DEBUG: GPS processor result {"connection_id":145373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553997,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:01:41] local.INFO: GPS data processed {"connection_id":145373,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:01:41] local.INFO: Acknowledgment sent {"connection_id":145373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:02:05] local.INFO: TCP Data received {"connection_id":144083,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144083,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:02:05] local.INFO: Processing buffer {"connection_id":144083,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:02:05] local.INFO: IMEI packet received {"connection_id":144083,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 16:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":144083,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:02:08] local.INFO: TCP Data received {"connection_id":145376,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145376,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:02:08] local.INFO: Processing buffer {"connection_id":145376,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:02:08] local.INFO: IMEI packet received {"connection_id":145376,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 16:02:08] local.INFO: IMEI acknowledgment sent {"connection_id":145376,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:02:09] local.INFO: TCP Data received {"connection_id":142953,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa31cf9c8012d9ccc8005b35d10001400092a..."} 
[2026-07-27 16:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa31cf9c8012d9ccc8005b35d10001400092a..."} 
[2026-07-27 16:02:09] local.INFO: Processing buffer {"connection_id":142953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa31cf9c8012d9ccc8005b35d10001400092a..."} 
[2026-07-27 16:02:09] local.INFO: Packet analysis {"connection_id":142953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa31c"} 
[2026-07-27 16:02:09] local.INFO: Extracted packet for processing {"connection_id":142953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa31c"} 
[2026-07-27 16:02:09] local.INFO: GPS Element Parsed {"raw_longitude":765250688,"raw_latitude":95640848,"longitude_deg":76.5250688,"latitude_deg":9.5640848,"altitude":20,"angle":9,"satellites":42,"speed":5,"hex_longitude":"2d9ccc80","hex_latitude":"05b35d10","is_valid_coordinates":true} 
[2026-07-27 16:02:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:02:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997886208001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:02:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359071270379192320,"note":"Value kept but may cause issues"} 
[2026-07-27 16:02:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7147775534106456064,"note":"Value kept but may cause issues"} 
[2026-07-27 16:02:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:02:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785148013000,"timestamp_ms":1785148013000,"timestamp_seconds":1785148013,"priority":1,"record_length":96,"hex_timestamp":"0000019fa31cf9c8"} 
[2026-07-27 16:02:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:02:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-27 16:02:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:02:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:02:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:02:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:02:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:02:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:02:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16: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-07-27 16:02:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:02:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:02:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997886208001,"66":27930,"215":206,"83":17408,"24":5,"16":359071270379192320,"45":-7147775534106456064},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-27 16:02:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:02:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:02:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997886208001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:02:09] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-27 16:02:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 16:02:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359071270379192320,"km_value":359071270379192.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:02:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7147775534106456064,"description":"Unknown IO ID 45"} 
[2026-07-27 16:02:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997886208001,"power":27930,"unknown_215":206,"unknown_83":17408,"ignition":5,"odometer":null,"unknown_45":-7147775534106456064}} 
[2026-07-27 16:02:09] local.INFO: DEBUG: GPS processor result {"connection_id":142953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:02:09] local.INFO: GPS data processed {"connection_id":142953,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:02:09] local.INFO: Acknowledgment sent {"connection_id":142953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:02:10] local.INFO: TCP Data received {"connection_id":144083,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144083,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:02:10] local.INFO: Processing buffer {"connection_id":144083,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:02:10] local.INFO: IMEI packet received {"connection_id":144083,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 16:02:10] local.INFO: IMEI acknowledgment sent {"connection_id":144083,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:02:11] local.INFO: TCP Data received {"connection_id":145376,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145376,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:02:11] local.INFO: Processing buffer {"connection_id":145376,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:02:11] local.INFO: IMEI packet received {"connection_id":145376,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 16:02:11] local.INFO: IMEI acknowledgment sent {"connection_id":145376,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:02:12] local.INFO: TCP Data received {"connection_id":144083,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa31dd0a0012d18e9c007216660004a01382b..."} 
[2026-07-27 16:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144083,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa31dd0a0012d18e9c007216660004a01382b..."} 
[2026-07-27 16:02:12] local.INFO: Processing buffer {"connection_id":144083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa31dd0a0012d18e9c007216660004a01382b..."} 
[2026-07-27 16:02:12] local.INFO: Packet analysis {"connection_id":144083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa31d"} 
[2026-07-27 16:02:12] local.INFO: Extracted packet for processing {"connection_id":144083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa31d"} 
[2026-07-27 16:02:12] local.INFO: GPS Element Parsed {"raw_longitude":756607424,"raw_latitude":119629408,"longitude_deg":75.6607424,"latitude_deg":11.9629408,"altitude":74,"angle":312,"satellites":43,"speed":0,"hex_longitude":"2d18e9c0","hex_latitude":"07216660","is_valid_coordinates":true} 
[2026-07-27 16: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-07-27 16:02:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997900032001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:02:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8883839204065280,"note":"Value kept but may cause issues"} 
[2026-07-27 16:02:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1795177063341514752,"note":"Value kept but may cause issues"} 
[2026-07-27 16:02:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:02:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785148068000,"timestamp_ms":1785148068000,"timestamp_seconds":1785148068,"priority":1,"record_length":96,"hex_timestamp":"0000019fa31dd0a0"} 
[2026-07-27 16:02:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:02:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16: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":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-07-27 16:02:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16: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-07-27 16:02:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:02:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:02:12] local.INFO: Teltonika packet parsed successfully {"connection_id":144083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:02:12] local.INFO: Passing IMEI to GPS processor {"connection_id":144083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:02:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":144083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:02:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:02:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 16:02:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 16:02:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997900032001,"66":12548,"121":206,"28":31744,"24":0,"16":8883839204065280,"45":1795177063341514752},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 16:02:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 16:02:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 16:02:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997900032001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:02:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 16:02:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 16:02:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8883839204065280,"km_value":8883839204065.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:02:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1795177063341514752,"description":"Unknown IO ID 45"} 
[2026-07-27 16:02:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997900032001,"power":12548,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1795177063341514752}} 
[2026-07-27 16:02:12] local.INFO: DEBUG: GPS processor result {"connection_id":144083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553999,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:02:12] local.INFO: GPS data processed {"connection_id":144083,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:02:12] local.INFO: Acknowledgment sent {"connection_id":144083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:02:12] local.INFO: TCP Data received {"connection_id":145376,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa320e5b0012d7ca30005ec3bd80010010c17..."} 
[2026-07-27 16:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa320e5b0012d7ca30005ec3bd80010010c17..."} 
[2026-07-27 16:02:12] local.INFO: Processing buffer {"connection_id":145376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa320e5b0012d7ca30005ec3bd80010010c17..."} 
[2026-07-27 16:02:12] local.INFO: Packet analysis {"connection_id":145376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa320"} 
[2026-07-27 16:02:12] local.INFO: Extracted packet for processing {"connection_id":145376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa320"} 
[2026-07-27 16:02:12] local.INFO: GPS Element Parsed {"raw_longitude":763142912,"raw_latitude":99367896,"longitude_deg":76.3142912,"latitude_deg":9.9367896,"altitude":16,"angle":268,"satellites":23,"speed":42,"hex_longitude":"2d7ca300","hex_latitude":"05ec3bd8","is_valid_coordinates":true} 
[2026-07-27 16: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-07-27 16:02:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997956096001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:02:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111614028085723136,"note":"Value kept but may cause issues"} 
[2026-07-27 16:02:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8985666444460935168,"note":"Value kept but may cause issues"} 
[2026-07-27 16:02:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:02:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785148270000,"timestamp_ms":1785148270000,"timestamp_seconds":1785148270,"priority":1,"record_length":96,"hex_timestamp":"0000019fa320e5b0"} 
[2026-07-27 16:02:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:02:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:02:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-27 16:02:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16: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-07-27 16:02:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:02:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:02:12] local.INFO: Teltonika packet parsed successfully {"connection_id":145376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:02:12] local.INFO: Passing IMEI to GPS processor {"connection_id":145376,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:02:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":145376,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:02:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:02:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 16:02:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 16:02:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997956096001,"66":12863,"197":206,"87":13824,"24":42,"16":111614028085723136,"45":8985666444460935168},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-07-27 16:02:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 16:02:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 16:02:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997956096001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:02:12] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-27 16:02:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 16:02:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111614028085723136,"km_value":111614028085723.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:02:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8985666444460935168,"description":"Unknown IO ID 45"} 
[2026-07-27 16:02:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997956096001,"power":12863,"unknown_197":206,"unknown_87":13824,"ignition":42,"odometer":null,"unknown_45":8985666444460935168}} 
[2026-07-27 16:02:12] local.INFO: DEBUG: GPS processor result {"connection_id":145376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554000,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:02:12] local.INFO: GPS data processed {"connection_id":145376,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:02:12] local.INFO: Acknowledgment sent {"connection_id":145376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:02:15] local.INFO: TCP Data received {"connection_id":144083,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa31e22a8012d18e9c007216660004a01382e..."} 
[2026-07-27 16:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144083,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa31e22a8012d18e9c007216660004a01382e..."} 
[2026-07-27 16:02:15] local.INFO: Processing buffer {"connection_id":144083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa31e22a8012d18e9c007216660004a01382e..."} 
[2026-07-27 16:02:15] local.INFO: Packet analysis {"connection_id":144083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa31e"} 
[2026-07-27 16:02:15] local.INFO: Extracted packet for processing {"connection_id":144083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa31e"} 
[2026-07-27 16:02:15] local.INFO: GPS Element Parsed {"raw_longitude":756607424,"raw_latitude":119629408,"longitude_deg":75.6607424,"latitude_deg":11.9629408,"altitude":74,"angle":312,"satellites":46,"speed":0,"hex_longitude":"2d18e9c0","hex_latitude":"07216660","is_valid_coordinates":true} 
[2026-07-27 16: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-07-27 16:02:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997905408001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:02:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8883839204065280,"note":"Value kept but may cause issues"} 
[2026-07-27 16:02:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1795177063341514752,"note":"Value kept but may cause issues"} 
[2026-07-27 16:02: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-07-27 16:02:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785148089000,"timestamp_ms":1785148089000,"timestamp_seconds":1785148089,"priority":1,"record_length":96,"hex_timestamp":"0000019fa31e22a8"} 
[2026-07-27 16:02:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:02:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:02:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-27 16:02:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-07-27 16:02:15] local.WARNING: Large IO value detected {"io_id":143,"raw_value":3456106496,"note":"Value kept but may cause issues"} 
[2026-07-27 16:02:15] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2736515160,"note":"Value kept but may cause issues"} 
[2026-07-27 16:02:15] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184201289933,"note":"Value kept but may cause issues"} 
[2026-07-27 16:02:15] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-27 16:02:15] local.WARNING: Large IO value detected {"io_id":233,"raw_value":3221692774,"note":"Value kept but may cause issues"} 
[2026-07-27 16:02:15] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2412642304,"note":"Value kept but may cause issues"} 
[2026-07-27 16:02:15] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8719195500324067328,"note":"Value kept but may cause issues"} 
[2026-07-27 16:02:15] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,121,28,24,241,158,16,143,159,126,45,192,102,74,42,10,66,44,46,218,1,240,47,163,33,4,113,205,58,233,96,43,239,49,2,31,7,231],"length":485,"final_offset":615,"validated_count":38,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-07-27 16:02:15] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5332605191118127104,"timestamp_seconds":5332605191118127.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 16:02:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:02:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:02:15] local.INFO: Teltonika packet parsed successfully {"connection_id":144083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:02:15] local.INFO: Passing IMEI to GPS processor {"connection_id":144083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:02:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":144083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:02:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:02:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 16:02:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 16:02:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997905408001,"66":12591,"121":206,"28":31744,"24":0,"16":8883839204065280,"45":1795177063341514752},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 16:02:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 16:02:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 16:02:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997905408001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:02:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 16:02:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 16:02:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8883839204065280,"km_value":8883839204065.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:02:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1795177063341514752,"description":"Unknown IO ID 45"} 
[2026-07-27 16:02:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997905408001,"power":12591,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1795177063341514752}} 
[2026-07-27 16:02:15] local.INFO: DEBUG: GPS processor result {"connection_id":144083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554001,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:02:15] local.INFO: GPS data processed {"connection_id":144083,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:02:15] local.INFO: Acknowledgment sent {"connection_id":144083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:02:31] local.INFO: TCP Data received {"connection_id":145377,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:02:31] local.INFO: Processing buffer {"connection_id":145377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:02:31] local.INFO: IMEI packet received {"connection_id":145377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 16:02:31] local.INFO: IMEI acknowledgment sent {"connection_id":145377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:02:37] local.INFO: TCP Data received {"connection_id":145377,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:02:37] local.INFO: Processing buffer {"connection_id":145377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:02:37] local.INFO: IMEI packet received {"connection_id":145377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 16:02:37] local.INFO: IMEI acknowledgment sent {"connection_id":145377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:02:38] local.INFO: TCP Data received {"connection_id":145377,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fa31d2c90012d9cce0005b35e880015000929..."} 
[2026-07-27 16:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa31d2c90012d9cce0005b35e880015000929..."} 
[2026-07-27 16:02:38] local.INFO: Processing buffer {"connection_id":145377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa31d2c90012d9cce0005b35e880015000929..."} 
[2026-07-27 16:02:38] local.INFO: Packet analysis {"connection_id":145377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa31d"} 
[2026-07-27 16:02:38] local.INFO: Extracted packet for processing {"connection_id":145377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa31d"} 
[2026-07-27 16:02:38] local.INFO: GPS Element Parsed {"raw_longitude":765251072,"raw_latitude":95641224,"longitude_deg":76.5251072,"latitude_deg":9.5641224,"altitude":21,"angle":9,"satellites":41,"speed":3,"hex_longitude":"2d9cce00","hex_latitude":"05b35e88","is_valid_coordinates":true} 
[2026-07-27 16:02:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:02:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997891328001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:02:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359071309033897984,"note":"Value kept but may cause issues"} 
[2026-07-27 16:02:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7148197746571407360,"note":"Value kept but may cause issues"} 
[2026-07-27 16:02:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:02:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785148026000,"timestamp_ms":1785148026000,"timestamp_seconds":1785148026,"priority":1,"record_length":96,"hex_timestamp":"0000019fa31d2c90"} 
[2026-07-27 16:02:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:02:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:02:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-27 16:02:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:02:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:02:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:02:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:02:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:02:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:02:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:02:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:02:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:02:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:02:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997891328001,"66":27800,"215":206,"83":17408,"24":3,"16":359071309033897984,"45":-7148197746571407360},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-27 16:02:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:02:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:02:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997891328001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:02:38] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-27 16:02:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 16:02:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359071309033897984,"km_value":359071309033898.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:02:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7148197746571407360,"description":"Unknown IO ID 45"} 
[2026-07-27 16:02:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997891328001,"power":27800,"unknown_215":206,"unknown_83":17408,"ignition":3,"odometer":null,"unknown_45":-7148197746571407360}} 
[2026-07-27 16:02:38] local.INFO: DEBUG: GPS processor result {"connection_id":145377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:02:38] local.INFO: GPS data processed {"connection_id":145377,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:02:38] local.INFO: Acknowledgment sent {"connection_id":145377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:02:42] local.INFO: TCP Data received {"connection_id":145375,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa320e1c8012d09ef800704d390002500171b..."} 
[2026-07-27 16:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa320e1c8012d09ef800704d390002500171b..."} 
[2026-07-27 16:02:42] local.INFO: Processing buffer {"connection_id":145375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa320e1c8012d09ef800704d390002500171b..."} 
[2026-07-27 16:02:42] local.INFO: Packet analysis {"connection_id":145375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa320"} 
[2026-07-27 16:02:42] local.INFO: Extracted packet for processing {"connection_id":145375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa320"} 
[2026-07-27 16:02:42] local.INFO: GPS Element Parsed {"raw_longitude":755625856,"raw_latitude":117756816,"longitude_deg":75.5625856,"latitude_deg":11.7756816,"altitude":37,"angle":23,"satellites":27,"speed":20,"hex_longitude":"2d09ef80","hex_latitude":"0704d390","is_valid_coordinates":true} 
[2026-07-27 16: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-07-27 16:02:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997956608001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:02:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25920114746458112,"note":"Value kept but may cause issues"} 
[2026-07-27 16:02:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":715650158432466944,"note":"Value kept but may cause issues"} 
[2026-07-27 16:02:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:02:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785148269000,"timestamp_ms":1785148269000,"timestamp_seconds":1785148269,"priority":1,"record_length":96,"hex_timestamp":"0000019fa320e1c8"} 
[2026-07-27 16:02:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:02:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-27 16:02:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16: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-07-27 16:02:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:02:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:02:42] local.INFO: Teltonika packet parsed successfully {"connection_id":145375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:02:42] local.INFO: Passing IMEI to GPS processor {"connection_id":145375,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 16:02:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":145375,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 16:02:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:02:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 16:02:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 16:02:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997956608001,"66":14428,"177":206,"94":10240,"24":20,"16":25920114746458112,"45":715650158432466944},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-07-27 16:02:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 16:02:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 16:02:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997956608001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:02:42] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-27 16:02:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 16:02:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25920114746458112,"km_value":25920114746458.113,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:02:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":715650158432466944,"description":"Unknown IO ID 45"} 
[2026-07-27 16:02:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997956608001,"power":14428,"unknown_177":206,"unknown_94":10240,"ignition":20,"odometer":null,"unknown_45":715650158432466944}} 
[2026-07-27 16:02:42] local.INFO: DEBUG: GPS processor result {"connection_id":145375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554003,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:02:42] local.INFO: GPS data processed {"connection_id":145375,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:02:42] local.INFO: Acknowledgment sent {"connection_id":145375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:02:44] local.INFO: TCP Data received {"connection_id":145376,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3221278012d7be70005ec2cd00008008e17..."} 
[2026-07-27 16:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3221278012d7be70005ec2cd00008008e17..."} 
[2026-07-27 16:02:44] local.INFO: Processing buffer {"connection_id":145376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3221278012d7be70005ec2cd00008008e17..."} 
[2026-07-27 16:02:44] local.INFO: Packet analysis {"connection_id":145376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa322"} 
[2026-07-27 16:02:44] local.INFO: Extracted packet for processing {"connection_id":145376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa322"} 
[2026-07-27 16:02:44] local.INFO: GPS Element Parsed {"raw_longitude":763094784,"raw_latitude":99364048,"longitude_deg":76.3094784,"latitude_deg":9.9364048,"altitude":8,"angle":142,"satellites":23,"speed":8,"hex_longitude":"2d7be700","hex_latitude":"05ec2cd0","is_valid_coordinates":true} 
[2026-07-27 16:02:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:02:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997975040001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:02:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111616428972441600,"note":"Value kept but may cause issues"} 
[2026-07-27 16:02:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8927964074234269696,"note":"Value kept but may cause issues"} 
[2026-07-27 16:02:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:02:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785148347000,"timestamp_ms":1785148347000,"timestamp_seconds":1785148347,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3221278"} 
[2026-07-27 16:02:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:02:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:02:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-07-27 16:02:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1846,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:02:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:02:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:02:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:02:44] local.INFO: Teltonika packet parsed successfully {"connection_id":145376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:02:44] local.INFO: Passing IMEI to GPS processor {"connection_id":145376,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:02:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":145376,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:02:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:02:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 16:02:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 16:02:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997975040001,"66":12504,"196":206,"87":13824,"24":8,"16":111616428972441600,"45":8927964074234269696},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,87,24,16,45]} 
[2026-07-27 16:02:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 16:02:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 16:02:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997975040001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:02:44] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-07-27 16:02:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 16:02:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111616428972441600,"km_value":111616428972441.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:02:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8927964074234269696,"description":"Unknown IO ID 45"} 
[2026-07-27 16:02:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997975040001,"power":12504,"unknown_196":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8927964074234269696}} 
[2026-07-27 16:02:44] local.INFO: DEBUG: GPS processor result {"connection_id":145376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554004,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:02:44] local.INFO: GPS data processed {"connection_id":145376,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:02:44] local.INFO: Acknowledgment sent {"connection_id":145376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:02:52] local.INFO: TCP Data received {"connection_id":144084,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144084,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:02:52] local.INFO: Processing buffer {"connection_id":144084,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:02:52] local.INFO: IMEI packet received {"connection_id":144084,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 16:02:52] local.INFO: IMEI acknowledgment sent {"connection_id":144084,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:02:56] local.INFO: TCP Data received {"connection_id":144084,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144084,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:02:56] local.INFO: Processing buffer {"connection_id":144084,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:02:56] local.INFO: IMEI packet received {"connection_id":144084,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 16:02:56] local.INFO: IMEI acknowledgment sent {"connection_id":144084,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:02:57] local.INFO: TCP Data received {"connection_id":144084,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa32235a0012d0a98000704e3a80021001a1c..."} 
[2026-07-27 16:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa32235a0012d0a98000704e3a80021001a1c..."} 
[2026-07-27 16:02:57] local.INFO: Processing buffer {"connection_id":144084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa32235a0012d0a98000704e3a80021001a1c..."} 
[2026-07-27 16:02:57] local.INFO: Packet analysis {"connection_id":144084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa322"} 
[2026-07-27 16:02:57] local.INFO: Extracted packet for processing {"connection_id":144084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa322"} 
[2026-07-27 16:02:57] local.INFO: GPS Element Parsed {"raw_longitude":755668992,"raw_latitude":117760936,"longitude_deg":75.5668992,"latitude_deg":11.7760936,"altitude":33,"angle":26,"satellites":28,"speed":17,"hex_longitude":"2d0a9800","hex_latitude":"0704e3a8","is_valid_coordinates":true} 
[2026-07-27 16:02:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:02:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997978880001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:02:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25922313769713664,"note":"Value kept but may cause issues"} 
[2026-07-27 16:02:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":763149060753475584,"note":"Value kept but may cause issues"} 
[2026-07-27 16:02:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:02:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785148356000,"timestamp_ms":1785148356000,"timestamp_seconds":1785148356,"priority":1,"record_length":96,"hex_timestamp":"0000019fa32235a0"} 
[2026-07-27 16:02:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:02:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:02:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-27 16:02:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:02:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:02:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:02:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:02:57] local.INFO: Teltonika packet parsed successfully {"connection_id":144084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:02:57] local.INFO: Passing IMEI to GPS processor {"connection_id":144084,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 16:02:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":144084,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 16:02:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:02:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 16:02:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 16:02:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997978880001,"66":14428,"177":206,"94":10240,"24":17,"16":25922313769713664,"45":763149060753475584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-07-27 16:02:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 16:02:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 16:02:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997978880001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:02:57] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-27 16:02:57] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 16:02:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25922313769713664,"km_value":25922313769713.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:02:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":763149060753475584,"description":"Unknown IO ID 45"} 
[2026-07-27 16:02:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997978880001,"power":14428,"unknown_177":206,"unknown_94":10240,"ignition":17,"odometer":null,"unknown_45":763149060753475584}} 
[2026-07-27 16:02:58] local.INFO: DEBUG: GPS processor result {"connection_id":144084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554005,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:02:58] local.INFO: GPS data processed {"connection_id":144084,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:02:58] local.INFO: Acknowledgment sent {"connection_id":144084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:03:00] local.INFO: TCP Data received {"connection_id":145378,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145378,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:03:00] local.INFO: Processing buffer {"connection_id":145378,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:03:00] local.INFO: IMEI packet received {"connection_id":145378,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 16:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":145378,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:03:00] local.INFO: TCP Data received {"connection_id":145378,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145378,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:03:00] local.INFO: Processing buffer {"connection_id":145378,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:03:00] local.INFO: IMEI packet received {"connection_id":145378,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 16:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":145378,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:03:05] local.INFO: TCP Data received {"connection_id":145378,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145378,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:03:05] local.INFO: Processing buffer {"connection_id":145378,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:03:05] local.INFO: IMEI packet received {"connection_id":145378,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 16:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":145378,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:03:06] local.INFO: TCP Data received {"connection_id":145378,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa31e74b0012d18e9c007216660004a01382c..."} 
[2026-07-27 16:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa31e74b0012d18e9c007216660004a01382c..."} 
[2026-07-27 16:03:06] local.INFO: Processing buffer {"connection_id":145378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa31e74b0012d18e9c007216660004a01382c..."} 
[2026-07-27 16:03:06] local.INFO: Packet analysis {"connection_id":145378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa31e"} 
[2026-07-27 16:03:06] local.INFO: Extracted packet for processing {"connection_id":145378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa31e"} 
[2026-07-27 16:03:06] local.INFO: GPS Element Parsed {"raw_longitude":756607424,"raw_latitude":119629408,"longitude_deg":75.6607424,"latitude_deg":11.9629408,"altitude":74,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2d18e9c0","hex_latitude":"07216660","is_valid_coordinates":true} 
[2026-07-27 16:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:03:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997910784001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:03:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8883839204065280,"note":"Value kept but may cause issues"} 
[2026-07-27 16:03:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1795177063341514752,"note":"Value kept but may cause issues"} 
[2026-07-27 16:03:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:03:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785148110000,"timestamp_ms":1785148110000,"timestamp_seconds":1785148110,"priority":1,"record_length":96,"hex_timestamp":"0000019fa31e74b0"} 
[2026-07-27 16:03:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:03:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-27 16:03:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:03:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:03:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:03:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:03:06] local.INFO: Teltonika packet parsed successfully {"connection_id":145378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:03:06] local.INFO: Passing IMEI to GPS processor {"connection_id":145378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:03:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":145378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:03:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:03:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 16:03:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 16:03:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997910784001,"66":12504,"121":206,"28":31744,"24":0,"16":8883839204065280,"45":1795177063341514752},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 16:03:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 16:03:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 16:03:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997910784001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:03:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 16:03:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 16:03:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8883839204065280,"km_value":8883839204065.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:03:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1795177063341514752,"description":"Unknown IO ID 45"} 
[2026-07-27 16:03:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997910784001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1795177063341514752}} 
[2026-07-27 16:03:06] local.INFO: DEBUG: GPS processor result {"connection_id":145378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554006,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:03:06] local.INFO: GPS data processed {"connection_id":145378,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:03:06] local.INFO: Acknowledgment sent {"connection_id":145378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:03:08] local.INFO: TCP Data received {"connection_id":142954,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142954,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:03:08] local.INFO: Processing buffer {"connection_id":142954,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:03:08] local.INFO: IMEI packet received {"connection_id":142954,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 16:03:08] local.INFO: IMEI acknowledgment sent {"connection_id":142954,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:03:08] local.INFO: TCP Data received {"connection_id":145377,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fa321d010012d9cd70005b360f8001a000923..."} 
[2026-07-27 16:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa321d010012d9cd70005b360f8001a000923..."} 
[2026-07-27 16:03:08] local.INFO: Processing buffer {"connection_id":145377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa321d010012d9cd70005b360f8001a000923..."} 
[2026-07-27 16:03:08] local.INFO: Packet analysis {"connection_id":145377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa321"} 
[2026-07-27 16:03:08] local.INFO: Extracted packet for processing {"connection_id":145377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa321"} 
[2026-07-27 16:03:08] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641848,"longitude_deg":76.5253376,"latitude_deg":9.5641848,"altitude":26,"angle":9,"satellites":35,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b360f8","is_valid_coordinates":true} 
[2026-07-27 16:03:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:03:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997894656001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:03:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359071309033897984,"note":"Value kept but may cause issues"} 
[2026-07-27 16:03:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7147775534106245120,"note":"Value kept but may cause issues"} 
[2026-07-27 16:03:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:03:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785148330000,"timestamp_ms":1785148330000,"timestamp_seconds":1785148330,"priority":1,"record_length":96,"hex_timestamp":"0000019fa321d010"} 
[2026-07-27 16:03:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:03:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 16:03:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-27 16:03:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:03:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:03:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:03:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:03:08] local.INFO: Teltonika packet parsed successfully {"connection_id":145377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:03:08] local.INFO: Passing IMEI to GPS processor {"connection_id":145377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:03:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":145377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:03:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:03:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:03:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:03:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997894656001,"66":26452,"226":206,"83":17408,"24":0,"16":359071309033897984,"45":-7147775534106245120},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-07-27 16:03:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:03:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:03:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997894656001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:03:08] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-27 16:03:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 16:03:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359071309033897984,"km_value":359071309033898.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:03:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7147775534106245120,"description":"Unknown IO ID 45"} 
[2026-07-27 16:03:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997894656001,"power":26452,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7147775534106245120}} 
[2026-07-27 16:03:08] local.INFO: DEBUG: GPS processor result {"connection_id":145377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:03:08] local.INFO: GPS data processed {"connection_id":145377,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:03:08] local.INFO: Acknowledgment sent {"connection_id":145377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:03:16] local.INFO: TCP Data received {"connection_id":142954,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142954,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:03:16] local.INFO: Processing buffer {"connection_id":142954,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:03:16] local.INFO: IMEI packet received {"connection_id":142954,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 16:03:16] local.INFO: IMEI acknowledgment sent {"connection_id":142954,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:03:16] local.INFO: TCP Data received {"connection_id":142954,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142954,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:03:16] local.INFO: Processing buffer {"connection_id":142954,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:03:16] local.INFO: IMEI packet received {"connection_id":142954,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 16:03:16] local.INFO: IMEI acknowledgment sent {"connection_id":142954,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:03:17] local.INFO: TCP Data received {"connection_id":142954,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3221a48012d7be84005ec2a900007009a17..."} 
[2026-07-27 16:03:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3221a48012d7be84005ec2a900007009a17..."} 
[2026-07-27 16:03:17] local.INFO: Processing buffer {"connection_id":142954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3221a48012d7be84005ec2a900007009a17..."} 
[2026-07-27 16:03:17] local.INFO: Packet analysis {"connection_id":142954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa322"} 
[2026-07-27 16:03:17] local.INFO: Extracted packet for processing {"connection_id":142954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa322"} 
[2026-07-27 16:03:17] local.INFO: GPS Element Parsed {"raw_longitude":763095104,"raw_latitude":99363472,"longitude_deg":76.3095104,"latitude_deg":9.9363472,"altitude":7,"angle":154,"satellites":23,"speed":16,"hex_longitude":"2d7be840","hex_latitude":"05ec2a90","is_valid_coordinates":true} 
[2026-07-27 16: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-07-27 16:03:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997976832001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:03:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111616459037212672,"note":"Value kept but may cause issues"} 
[2026-07-27 16:03:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8928104811722493952,"note":"Value kept but may cause issues"} 
[2026-07-27 16:03:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:03:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785148349000,"timestamp_ms":1785148349000,"timestamp_seconds":1785148349,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3221a48"} 
[2026-07-27 16:03:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:03:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-27 16:03: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-07-27 16: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-07-27 16:03:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:03:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:03:17] local.INFO: Teltonika packet parsed successfully {"connection_id":142954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:03:17] local.INFO: Passing IMEI to GPS processor {"connection_id":142954,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:03:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":142954,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:03:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:03:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 16:03:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 16:03:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997976832001,"66":13048,"196":206,"87":13824,"24":16,"16":111616459037212672,"45":8928104811722493952},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,87,24,16,45]} 
[2026-07-27 16:03:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 16:03:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 16:03:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997976832001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:03:17] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-07-27 16:03:17] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 16:03:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111616459037212672,"km_value":111616459037212.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:03:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8928104811722493952,"description":"Unknown IO ID 45"} 
[2026-07-27 16:03:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997976832001,"power":13048,"unknown_196":206,"unknown_87":13824,"ignition":16,"odometer":null,"unknown_45":8928104811722493952}} 
[2026-07-27 16:03:17] local.INFO: DEBUG: GPS processor result {"connection_id":142954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554008,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:03:17] local.INFO: GPS data processed {"connection_id":142954,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:03:17] local.INFO: Acknowledgment sent {"connection_id":142954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:03:18] local.INFO: TCP Data received {"connection_id":142954,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa32231b8012d7bed4005ec1c80000500a817..."} 
[2026-07-27 16:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa32231b8012d7bed4005ec1c80000500a817..."} 
[2026-07-27 16:03:18] local.INFO: Processing buffer {"connection_id":142954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa32231b8012d7bed4005ec1c80000500a817..."} 
[2026-07-27 16:03:18] local.INFO: Packet analysis {"connection_id":142954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa322"} 
[2026-07-27 16:03:18] local.INFO: Extracted packet for processing {"connection_id":142954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa322"} 
[2026-07-27 16:03:18] local.INFO: GPS Element Parsed {"raw_longitude":763096384,"raw_latitude":99359872,"longitude_deg":76.3096384,"latitude_deg":9.9359872,"altitude":5,"angle":168,"satellites":23,"speed":30,"hex_longitude":"2d7bed40","hex_latitude":"05ec1c80","is_valid_coordinates":true} 
[2026-07-27 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-07-27 16:03:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997977344001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:03:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111616643720806400,"note":"Value kept but may cause issues"} 
[2026-07-27 16:03:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8928456655443234816,"note":"Value kept but may cause issues"} 
[2026-07-27 16:03:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:03:18] local.INFO: AVL Record Parsed {"raw_timestamp":1785148355000,"timestamp_ms":1785148355000,"timestamp_seconds":1785148355,"priority":1,"record_length":96,"hex_timestamp":"0000019fa32231b8"} 
[2026-07-27 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-07-27 16:03:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-27 16:03: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-07-27 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-07-27 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-07-27 16:03:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:03:18] local.INFO: Teltonika packet parsed successfully {"connection_id":142954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:03:18] local.INFO: Passing IMEI to GPS processor {"connection_id":142954,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:03:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":142954,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:03:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:03:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 16:03:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 16:03:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997977344001,"66":12874,"196":206,"87":13824,"24":30,"16":111616643720806400,"45":8928456655443234816},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,87,24,16,45]} 
[2026-07-27 16:03:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 16:03:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 16:03:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997977344001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:03:18] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-07-27 16:03:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 16:03:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111616643720806400,"km_value":111616643720806.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:03:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8928456655443234816,"description":"Unknown IO ID 45"} 
[2026-07-27 16:03:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997977344001,"power":12874,"unknown_196":206,"unknown_87":13824,"ignition":30,"odometer":null,"unknown_45":8928456655443234816}} 
[2026-07-27 16:03:18] local.INFO: DEBUG: GPS processor result {"connection_id":142954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554009,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:03:18] local.INFO: GPS data processed {"connection_id":142954,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:03:18] local.INFO: Acknowledgment sent {"connection_id":142954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:03:27] local.INFO: TCP Data received {"connection_id":145379,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145379,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:03:27] local.INFO: Processing buffer {"connection_id":145379,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:03:27] local.INFO: IMEI packet received {"connection_id":145379,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 16:03:27] local.INFO: IMEI acknowledgment sent {"connection_id":145379,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:03:31] local.INFO: TCP Data received {"connection_id":142955,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:03:31] local.INFO: Processing buffer {"connection_id":142955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:03:31] local.INFO: IMEI packet received {"connection_id":142955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 16:03:31] local.INFO: IMEI acknowledgment sent {"connection_id":142955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:03:32] local.INFO: TCP Data received {"connection_id":145379,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145379,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:03:32] local.INFO: Processing buffer {"connection_id":145379,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:03:32] local.INFO: IMEI packet received {"connection_id":145379,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 16:03:32] local.INFO: IMEI acknowledgment sent {"connection_id":145379,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:03:33] local.INFO: TCP Data received {"connection_id":145379,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3223988012d0a98c00704e5a0002100071c..."} 
[2026-07-27 16:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3223988012d0a98c00704e5a0002100071c..."} 
[2026-07-27 16:03:33] local.INFO: Processing buffer {"connection_id":145379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3223988012d0a98c00704e5a0002100071c..."} 
[2026-07-27 16:03:33] local.INFO: Packet analysis {"connection_id":145379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa322"} 
[2026-07-27 16:03:33] local.INFO: Extracted packet for processing {"connection_id":145379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa322"} 
[2026-07-27 16:03:33] local.INFO: GPS Element Parsed {"raw_longitude":755669184,"raw_latitude":117761440,"longitude_deg":75.5669184,"latitude_deg":11.776144,"altitude":33,"angle":7,"satellites":28,"speed":20,"hex_longitude":"2d0a98c0","hex_latitude":"0704e5a0","is_valid_coordinates":true} 
[2026-07-27 16:03:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:03:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997979136001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:03:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25922335244550144,"note":"Value kept but may cause issues"} 
[2026-07-27 16:03:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":763360166986098688,"note":"Value kept but may cause issues"} 
[2026-07-27 16:03:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:03:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785148357000,"timestamp_ms":1785148357000,"timestamp_seconds":1785148357,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3223988"} 
[2026-07-27 16:03:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:03:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:03:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-27 16:03: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-07-27 16:03:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:03:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:03:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:03:33] local.INFO: Teltonika packet parsed successfully {"connection_id":145379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:03:33] local.INFO: Passing IMEI to GPS processor {"connection_id":145379,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 16:03:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":145379,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 16:03:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:03:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 16:03:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 16:03:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997979136001,"66":14428,"177":206,"94":10240,"24":20,"16":25922335244550144,"45":763360166986098688},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-07-27 16:03:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 16:03:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 16:03:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997979136001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:03:33] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-27 16:03:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 16:03:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25922335244550144,"km_value":25922335244550.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:03:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":763360166986098688,"description":"Unknown IO ID 45"} 
[2026-07-27 16:03:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997979136001,"power":14428,"unknown_177":206,"unknown_94":10240,"ignition":20,"odometer":null,"unknown_45":763360166986098688}} 
[2026-07-27 16:03:33] local.INFO: DEBUG: GPS processor result {"connection_id":145379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554010,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:03:33] local.INFO: GPS data processed {"connection_id":145379,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:03:33] local.INFO: Acknowledgment sent {"connection_id":145379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:03:37] local.INFO: TCP Data received {"connection_id":142955,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:03:37] local.INFO: Processing buffer {"connection_id":142955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:03:37] local.INFO: IMEI packet received {"connection_id":142955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 16:03:37] local.INFO: IMEI acknowledgment sent {"connection_id":142955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:03:38] local.INFO: TCP Data received {"connection_id":142955,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa321d010012d9cd70005b360f8001a000923..."} 
[2026-07-27 16:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa321d010012d9cd70005b360f8001a000923..."} 
[2026-07-27 16:03:38] local.INFO: Processing buffer {"connection_id":142955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa321d010012d9cd70005b360f8001a000923..."} 
[2026-07-27 16:03:38] local.INFO: Packet analysis {"connection_id":142955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa321"} 
[2026-07-27 16:03:38] local.INFO: Extracted packet for processing {"connection_id":142955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa321"} 
[2026-07-27 16:03:38] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641848,"longitude_deg":76.5253376,"latitude_deg":9.5641848,"altitude":26,"angle":9,"satellites":35,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b360f8","is_valid_coordinates":true} 
[2026-07-27 16:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:03:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997894656001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:03:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359071309033897984,"note":"Value kept but may cause issues"} 
[2026-07-27 16:03:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7147775534106245120,"note":"Value kept but may cause issues"} 
[2026-07-27 16:03:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:03:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785148330000,"timestamp_ms":1785148330000,"timestamp_seconds":1785148330,"priority":1,"record_length":96,"hex_timestamp":"0000019fa321d010"} 
[2026-07-27 16:03:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:03:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 16:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-27 16:03:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:03:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:03:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:03:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:03:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:03:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:03:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:03:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:03:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:03:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:03:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997894656001,"66":26452,"226":206,"83":17408,"24":0,"16":359071309033897984,"45":-7147775534106245120},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-07-27 16:03:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:03:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:03:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997894656001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:03:38] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-27 16:03:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 16:03:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359071309033897984,"km_value":359071309033898.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:03:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7147775534106245120,"description":"Unknown IO ID 45"} 
[2026-07-27 16:03:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997894656001,"power":26452,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7147775534106245120}} 
[2026-07-27 16:03:38] local.INFO: DEBUG: GPS processor result {"connection_id":142955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:03:38] local.INFO: GPS data processed {"connection_id":142955,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:03:38] local.INFO: Acknowledgment sent {"connection_id":142955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:03:38] local.INFO: TCP Data received {"connection_id":145378,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa31ecaa0012d18e9c007216660004a01382c..."} 
[2026-07-27 16:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa31ecaa0012d18e9c007216660004a01382c..."} 
[2026-07-27 16:03:38] local.INFO: Processing buffer {"connection_id":145378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa31ecaa0012d18e9c007216660004a01382c..."} 
[2026-07-27 16:03:38] local.INFO: Packet analysis {"connection_id":145378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa31e"} 
[2026-07-27 16:03:38] local.INFO: Extracted packet for processing {"connection_id":145378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa31e"} 
[2026-07-27 16:03:38] local.INFO: GPS Element Parsed {"raw_longitude":756607424,"raw_latitude":119629408,"longitude_deg":75.6607424,"latitude_deg":11.9629408,"altitude":74,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2d18e9c0","hex_latitude":"07216660","is_valid_coordinates":true} 
[2026-07-27 16:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:03:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997916160001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:03:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8883839204065280,"note":"Value kept but may cause issues"} 
[2026-07-27 16:03:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1795177063341514752,"note":"Value kept but may cause issues"} 
[2026-07-27 16:03:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:03:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785148132000,"timestamp_ms":1785148132000,"timestamp_seconds":1785148132,"priority":1,"record_length":96,"hex_timestamp":"0000019fa31ecaa0"} 
[2026-07-27 16:03:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:03:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-27 16:03:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:03:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:03:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:03:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:03:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:03:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:03:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:03:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:03:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 16:03:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 16:03:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997916160001,"66":12558,"121":206,"28":31744,"24":0,"16":8883839204065280,"45":1795177063341514752},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 16:03:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 16:03:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 16:03:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997916160001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:03:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 16:03:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 16:03:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8883839204065280,"km_value":8883839204065.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:03:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1795177063341514752,"description":"Unknown IO ID 45"} 
[2026-07-27 16:03:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997916160001,"power":12558,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1795177063341514752}} 
[2026-07-27 16:03:38] local.INFO: DEBUG: GPS processor result {"connection_id":145378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554012,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:03:38] local.INFO: GPS data processed {"connection_id":145378,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:03:38] local.INFO: Acknowledgment sent {"connection_id":145378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:03:49] local.INFO: TCP Data received {"connection_id":142954,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3225cb0012d7bf44005ebf9c0000000af17..."} 
[2026-07-27 16:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3225cb0012d7bf44005ebf9c0000000af17..."} 
[2026-07-27 16:03:49] local.INFO: Processing buffer {"connection_id":142954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3225cb0012d7bf44005ebf9c0000000af17..."} 
[2026-07-27 16:03:49] local.INFO: Packet analysis {"connection_id":142954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa322"} 
[2026-07-27 16:03:49] local.INFO: Extracted packet for processing {"connection_id":142954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa322"} 
[2026-07-27 16:03:49] local.INFO: GPS Element Parsed {"raw_longitude":763098176,"raw_latitude":99350976,"longitude_deg":76.3098176,"latitude_deg":9.9350976,"altitude":0,"angle":175,"satellites":23,"speed":30,"hex_longitude":"2d7bf440","hex_latitude":"05ebf9c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 16:03:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997978880001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:03:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111617086102437888,"note":"Value kept but may cause issues"} 
[2026-07-27 16:03:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8929864030325866496,"note":"Value kept but may cause issues"} 
[2026-07-27 16:03:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:03:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785148366000,"timestamp_ms":1785148366000,"timestamp_seconds":1785148366,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3225cb0"} 
[2026-07-27 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-07-27 16:03:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-07-27 16:03:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1114,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 16:03:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:03:49] local.INFO: Teltonika packet parsed successfully {"connection_id":142954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:03:49] local.INFO: Passing IMEI to GPS processor {"connection_id":142954,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:03:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":142954,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:03:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:03:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 16:03:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 16:03:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997978880001,"66":12624,"196":206,"87":13824,"24":30,"16":111617086102437888,"45":8929864030325866496},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,87,24,16,45]} 
[2026-07-27 16:03:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 16:03:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 16:03:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997978880001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:03:49] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-07-27 16:03:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 16:03:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111617086102437888,"km_value":111617086102437.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:03:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8929864030325866496,"description":"Unknown IO ID 45"} 
[2026-07-27 16:03:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997978880001,"power":12624,"unknown_196":206,"unknown_87":13824,"ignition":30,"odometer":null,"unknown_45":8929864030325866496}} 
[2026-07-27 16:03:49] local.INFO: DEBUG: GPS processor result {"connection_id":142954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554013,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:03:49] local.INFO: GPS data processed {"connection_id":142954,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:03:49] local.INFO: Acknowledgment sent {"connection_id":142954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:03:59] local.INFO: TCP Data received {"connection_id":142956,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142956,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:03:59] local.INFO: Processing buffer {"connection_id":142956,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:03:59] local.INFO: IMEI packet received {"connection_id":142956,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 16:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":142956,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:04:03] local.INFO: TCP Data received {"connection_id":142956,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142956,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:04:03] local.INFO: Processing buffer {"connection_id":142956,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:04:03] local.INFO: IMEI packet received {"connection_id":142956,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 16:04:03] local.INFO: IMEI acknowledgment sent {"connection_id":142956,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:04:04] local.INFO: TCP Data received {"connection_id":142956,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3224d10012d18e9c007216660004a01382b..."} 
[2026-07-27 16:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142956,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3224d10012d18e9c007216660004a01382b..."} 
[2026-07-27 16:04:04] local.INFO: Processing buffer {"connection_id":142956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3224d10012d18e9c007216660004a01382b..."} 
[2026-07-27 16:04:04] local.INFO: Packet analysis {"connection_id":142956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa322"} 
[2026-07-27 16:04:04] local.INFO: Extracted packet for processing {"connection_id":142956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa322"} 
[2026-07-27 16:04:04] local.INFO: GPS Element Parsed {"raw_longitude":756607424,"raw_latitude":119629408,"longitude_deg":75.6607424,"latitude_deg":11.9629408,"altitude":74,"angle":312,"satellites":43,"speed":0,"hex_longitude":"2d18e9c0","hex_latitude":"07216660","is_valid_coordinates":true} 
[2026-07-27 16:04:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:04:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997975296001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:04:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8883839204065280,"note":"Value kept but may cause issues"} 
[2026-07-27 16:04:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1795177063341514752,"note":"Value kept but may cause issues"} 
[2026-07-27 16:04:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:04:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785148362000,"timestamp_ms":1785148362000,"timestamp_seconds":1785148362,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3224d10"} 
[2026-07-27 16:04:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:04:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:04:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-27 16:04:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:04:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:04:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:04:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:04:04] local.INFO: Teltonika packet parsed successfully {"connection_id":142956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:04:04] local.INFO: Passing IMEI to GPS processor {"connection_id":142956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:04:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":142956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:04:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:04:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 16:04:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 16:04:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997975296001,"66":12504,"121":206,"28":31744,"24":0,"16":8883839204065280,"45":1795177063341514752},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 16:04:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 16:04:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 16:04:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997975296001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:04:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 16:04:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 16:04:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8883839204065280,"km_value":8883839204065.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:04:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1795177063341514752,"description":"Unknown IO ID 45"} 
[2026-07-27 16:04:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997975296001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1795177063341514752}} 
[2026-07-27 16:04:04] local.INFO: DEBUG: GPS processor result {"connection_id":142956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554014,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:04:04] local.INFO: GPS data processed {"connection_id":142956,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:04:04] local.INFO: Acknowledgment sent {"connection_id":142956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:04:07] local.INFO: TCP Data received {"connection_id":144085,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144085,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:04:07] local.INFO: Processing buffer {"connection_id":144085,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:04:07] local.INFO: IMEI packet received {"connection_id":144085,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 16:04:07] local.INFO: IMEI acknowledgment sent {"connection_id":144085,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:04:09] local.INFO: TCP Data received {"connection_id":144085,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144085,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:04:09] local.INFO: Processing buffer {"connection_id":144085,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:04:09] local.INFO: IMEI packet received {"connection_id":144085,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 16:04:09] local.INFO: IMEI acknowledgment sent {"connection_id":144085,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:04:09] local.INFO: TCP Data received {"connection_id":142955,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa321d010012d9cd70005b360f8001a000923..."} 
[2026-07-27 16:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa321d010012d9cd70005b360f8001a000923..."} 
[2026-07-27 16:04:09] local.INFO: Processing buffer {"connection_id":142955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa321d010012d9cd70005b360f8001a000923..."} 
[2026-07-27 16:04:09] local.INFO: Packet analysis {"connection_id":142955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa321"} 
[2026-07-27 16:04:09] local.INFO: Extracted packet for processing {"connection_id":142955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa321"} 
[2026-07-27 16:04:09] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641848,"longitude_deg":76.5253376,"latitude_deg":9.5641848,"altitude":26,"angle":9,"satellites":35,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b360f8","is_valid_coordinates":true} 
[2026-07-27 16:04:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:04:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997894656001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:04:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359071309033897984,"note":"Value kept but may cause issues"} 
[2026-07-27 16:04:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7147775534106245120,"note":"Value kept but may cause issues"} 
[2026-07-27 16:04:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:04:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785148330000,"timestamp_ms":1785148330000,"timestamp_seconds":1785148330,"priority":1,"record_length":96,"hex_timestamp":"0000019fa321d010"} 
[2026-07-27 16:04:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:04:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-27 16:04:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:04:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:04:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:04:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:04:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:04:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:04:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16: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-07-27 16:04:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:04:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:04:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997894656001,"66":26452,"226":206,"83":17408,"24":0,"16":359071309033897984,"45":-7147775534106245120},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-07-27 16:04:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:04:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:04:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997894656001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:04:09] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-27 16:04:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 16:04:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359071309033897984,"km_value":359071309033898.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:04:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7147775534106245120,"description":"Unknown IO ID 45"} 
[2026-07-27 16:04:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997894656001,"power":26452,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7147775534106245120}} 
[2026-07-27 16:04:09] local.INFO: DEBUG: GPS processor result {"connection_id":142955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:04:09] local.INFO: GPS data processed {"connection_id":142955,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:04:09] local.INFO: Acknowledgment sent {"connection_id":142955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:04:12] local.INFO: TCP Data received {"connection_id":144085,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144085,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:04:12] local.INFO: Processing buffer {"connection_id":144085,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:04:12] local.INFO: IMEI packet received {"connection_id":144085,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 16:04:12] local.INFO: IMEI acknowledgment sent {"connection_id":144085,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:04:13] local.INFO: TCP Data received {"connection_id":144085,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3239148012d7c334005eb1320000b009717..."} 
[2026-07-27 16:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3239148012d7c334005eb1320000b009717..."} 
[2026-07-27 16:04:13] local.INFO: Processing buffer {"connection_id":144085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3239148012d7c334005eb1320000b009717..."} 
[2026-07-27 16:04:13] local.INFO: Packet analysis {"connection_id":144085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa323"} 
[2026-07-27 16:04:13] local.INFO: Extracted packet for processing {"connection_id":144085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa323"} 
[2026-07-27 16:04:13] local.INFO: GPS Element Parsed {"raw_longitude":763114304,"raw_latitude":99291936,"longitude_deg":76.3114304,"latitude_deg":9.9291936,"altitude":11,"angle":151,"satellites":23,"speed":27,"hex_longitude":"2d7c3340","hex_latitude":"05eb1320","is_valid_coordinates":true} 
[2026-07-27 16:04:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:04:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998000896001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:04:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111620083989610496,"note":"Value kept but may cause issues"} 
[2026-07-27 16:04:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8948863591237105664,"note":"Value kept but may cause issues"} 
[2026-07-27 16:04:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:04:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785148445000,"timestamp_ms":1785148445000,"timestamp_seconds":1785148445,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3239148"} 
[2026-07-27 16:04:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:04:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16: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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-27 16:04:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:04:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:04:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:04:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:04:13] local.INFO: Teltonika packet parsed successfully {"connection_id":144085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:04:13] local.INFO: Passing IMEI to GPS processor {"connection_id":144085,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:04:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":144085,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:04:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:04:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 16:04:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 16:04:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998000896001,"66":12667,"10":206,"87":13824,"24":27,"16":111620083989610496,"45":8948863591237105664},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-07-27 16:04:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 16:04:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 16:04:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998000896001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:04:13] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-27 16:04:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 16:04:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111620083989610496,"km_value":111620083989610.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:04:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8948863591237105664,"description":"Unknown IO ID 45"} 
[2026-07-27 16:04:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998000896001,"power":12667,"unknown_10":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":8948863591237105664}} 
[2026-07-27 16:04:13] local.INFO: DEBUG: GPS processor result {"connection_id":144085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554016,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:04:13] local.INFO: GPS data processed {"connection_id":144085,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:04:13] local.INFO: Acknowledgment sent {"connection_id":144085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:04:17] local.INFO: TCP Data received {"connection_id":145380,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145380,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:04:17] local.INFO: Processing buffer {"connection_id":145380,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:04:17] local.INFO: IMEI packet received {"connection_id":145380,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 16:04:17] local.INFO: IMEI acknowledgment sent {"connection_id":145380,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:04:17] local.INFO: TCP Data received {"connection_id":145380,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145380,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:04:17] local.INFO: Processing buffer {"connection_id":145380,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:04:17] local.INFO: IMEI packet received {"connection_id":145380,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 16:04:17] local.INFO: IMEI acknowledgment sent {"connection_id":145380,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:04:20] local.INFO: TCP Data received {"connection_id":145380,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145380,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:04:20] local.INFO: Processing buffer {"connection_id":145380,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:04:20] local.INFO: IMEI packet received {"connection_id":145380,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 16:04:20] local.INFO: IMEI acknowledgment sent {"connection_id":145380,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:04:21] local.INFO: TCP Data received {"connection_id":145380,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa32356b0012d0b61400704ea20001e009b1a..."} 
[2026-07-27 16:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa32356b0012d0b61400704ea20001e009b1a..."} 
[2026-07-27 16:04:21] local.INFO: Processing buffer {"connection_id":145380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa32356b0012d0b61400704ea20001e009b1a..."} 
[2026-07-27 16:04:21] local.INFO: Packet analysis {"connection_id":145380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa323"} 
[2026-07-27 16:04:21] local.INFO: Extracted packet for processing {"connection_id":145380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa323"} 
[2026-07-27 16:04:21] local.INFO: GPS Element Parsed {"raw_longitude":755720512,"raw_latitude":117762592,"longitude_deg":75.5720512,"latitude_deg":11.7762592,"altitude":30,"angle":155,"satellites":26,"speed":26,"hex_longitude":"2d0b6140","hex_latitude":"0704ea20","is_valid_coordinates":true} 
[2026-07-27 16:04:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:04:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997997824001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:04:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25924937994731520,"note":"Value kept but may cause issues"} 
[2026-07-27 16:04:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":819655162328813568,"note":"Value kept but may cause issues"} 
[2026-07-27 16:04:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:04:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785148430000,"timestamp_ms":1785148430000,"timestamp_seconds":1785148430,"priority":1,"record_length":96,"hex_timestamp":"0000019fa32356b0"} 
[2026-07-27 16:04:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:04:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:04:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-27 16:04:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2237,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:04:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:04:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:04:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:04:21] local.INFO: Teltonika packet parsed successfully {"connection_id":145380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:04:21] local.INFO: Passing IMEI to GPS processor {"connection_id":145380,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 16:04:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":145380,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 16:04:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:04:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 16:04:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 16:04:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997997824001,"66":14276,"96":206,"94":10240,"24":26,"16":25924937994731520,"45":819655162328813568},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-07-27 16:04:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 16:04:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 16:04:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997997824001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:04:21] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-27 16:04:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 16:04:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25924937994731520,"km_value":25924937994731.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:04:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":819655162328813568,"description":"Unknown IO ID 45"} 
[2026-07-27 16:04:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997997824001,"power":14276,"unknown_96":206,"unknown_94":10240,"ignition":26,"odometer":null,"unknown_45":819655162328813568}} 
[2026-07-27 16:04:21] local.INFO: DEBUG: GPS processor result {"connection_id":145380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554017,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:04:21] local.INFO: GPS data processed {"connection_id":145380,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:04:21] local.INFO: Acknowledgment sent {"connection_id":145380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:04:35] local.INFO: TCP Data received {"connection_id":142956,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3229f18012d18e9c007216660004a01382b..."} 
[2026-07-27 16:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142956,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3229f18012d18e9c007216660004a01382b..."} 
[2026-07-27 16:04:35] local.INFO: Processing buffer {"connection_id":142956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3229f18012d18e9c007216660004a01382b..."} 
[2026-07-27 16:04:35] local.INFO: Packet analysis {"connection_id":142956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa322"} 
[2026-07-27 16:04:35] local.INFO: Extracted packet for processing {"connection_id":142956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa322"} 
[2026-07-27 16:04:35] local.INFO: GPS Element Parsed {"raw_longitude":756607424,"raw_latitude":119629408,"longitude_deg":75.6607424,"latitude_deg":11.9629408,"altitude":74,"angle":312,"satellites":43,"speed":0,"hex_longitude":"2d18e9c0","hex_latitude":"07216660","is_valid_coordinates":true} 
[2026-07-27 16:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:04:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997980672001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:04:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8883839204065280,"note":"Value kept but may cause issues"} 
[2026-07-27 16:04:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1795177063341514752,"note":"Value kept but may cause issues"} 
[2026-07-27 16:04:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:04:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785148383000,"timestamp_ms":1785148383000,"timestamp_seconds":1785148383,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3229f18"} 
[2026-07-27 16:04:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:04:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-27 16:04:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:04:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:04:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:04:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:04:35] local.INFO: Teltonika packet parsed successfully {"connection_id":142956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:04:35] local.INFO: Passing IMEI to GPS processor {"connection_id":142956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:04:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":142956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:04:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:04:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 16:04:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 16:04:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997980672001,"66":12504,"121":206,"28":31744,"24":0,"16":8883839204065280,"45":1795177063341514752},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 16:04:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 16:04:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 16:04:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997980672001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:04:35] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 16:04:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 16:04:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8883839204065280,"km_value":8883839204065.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:04:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1795177063341514752,"description":"Unknown IO ID 45"} 
[2026-07-27 16:04:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997980672001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1795177063341514752}} 
[2026-07-27 16:04:35] local.INFO: DEBUG: GPS processor result {"connection_id":142956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554018,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:04:35] local.INFO: GPS data processed {"connection_id":142956,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:04:35] local.INFO: Acknowledgment sent {"connection_id":142956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:04:37] local.INFO: TCP Data received {"connection_id":144086,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:04:37] local.INFO: Processing buffer {"connection_id":144086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:04:37] local.INFO: IMEI packet received {"connection_id":144086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 16:04:37] local.INFO: IMEI acknowledgment sent {"connection_id":144086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:04:42] local.INFO: TCP Data received {"connection_id":144086,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:04:42] local.INFO: Processing buffer {"connection_id":144086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:04:42] local.INFO: IMEI packet received {"connection_id":144086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 16:04:42] local.INFO: IMEI acknowledgment sent {"connection_id":144086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:04:43] local.INFO: TCP Data received {"connection_id":144086,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fa321d010012d9cd70005b360f8001a000923..."} 
[2026-07-27 16:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144086,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa321d010012d9cd70005b360f8001a000923..."} 
[2026-07-27 16:04:43] local.INFO: Processing buffer {"connection_id":144086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa321d010012d9cd70005b360f8001a000923..."} 
[2026-07-27 16:04:43] local.INFO: Packet analysis {"connection_id":144086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa321"} 
[2026-07-27 16:04:43] local.INFO: Extracted packet for processing {"connection_id":144086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa321"} 
[2026-07-27 16:04:43] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641848,"longitude_deg":76.5253376,"latitude_deg":9.5641848,"altitude":26,"angle":9,"satellites":35,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b360f8","is_valid_coordinates":true} 
[2026-07-27 16:04:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:04:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997894656001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:04:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359071309033897984,"note":"Value kept but may cause issues"} 
[2026-07-27 16:04:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7147775534106245120,"note":"Value kept but may cause issues"} 
[2026-07-27 16:04:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:04:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785148330000,"timestamp_ms":1785148330000,"timestamp_seconds":1785148330,"priority":1,"record_length":96,"hex_timestamp":"0000019fa321d010"} 
[2026-07-27 16:04:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:04:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 16: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-27 16:04:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:04:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:04:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:04:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:04:43] local.INFO: Teltonika packet parsed successfully {"connection_id":144086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:04:43] local.INFO: Passing IMEI to GPS processor {"connection_id":144086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:04:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":144086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:04:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:04:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:04:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:04:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997894656001,"66":26452,"226":206,"83":17408,"24":0,"16":359071309033897984,"45":-7147775534106245120},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-07-27 16:04:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:04:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:04:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997894656001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:04:43] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-27 16:04:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 16:04:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359071309033897984,"km_value":359071309033898.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:04:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7147775534106245120,"description":"Unknown IO ID 45"} 
[2026-07-27 16:04:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997894656001,"power":26452,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7147775534106245120}} 
[2026-07-27 16:04:43] local.INFO: DEBUG: GPS processor result {"connection_id":144086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:04:43] local.INFO: GPS data processed {"connection_id":144086,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:04:43] local.INFO: Acknowledgment sent {"connection_id":144086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:04:44] local.INFO: TCP Data received {"connection_id":144085,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3239918012d7c368005eb0ea8000b008817..."} 
[2026-07-27 16:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3239918012d7c368005eb0ea8000b008817..."} 
[2026-07-27 16:04:44] local.INFO: Processing buffer {"connection_id":144085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3239918012d7c368005eb0ea8000b008817..."} 
[2026-07-27 16:04:44] local.INFO: Packet analysis {"connection_id":144085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa323"} 
[2026-07-27 16:04:44] local.INFO: Extracted packet for processing {"connection_id":144085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa323"} 
[2026-07-27 16:04:44] local.INFO: GPS Element Parsed {"raw_longitude":763115136,"raw_latitude":99290792,"longitude_deg":76.3115136,"latitude_deg":9.9290792,"altitude":11,"angle":136,"satellites":23,"speed":26,"hex_longitude":"2d7c3680","hex_latitude":"05eb0ea8","is_valid_coordinates":true} 
[2026-07-27 16:04:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:04:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998001920001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:04:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111620148414119936,"note":"Value kept but may cause issues"} 
[2026-07-27 16:04:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949567278678220800,"note":"Value kept but may cause issues"} 
[2026-07-27 16:04:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:04:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785148447000,"timestamp_ms":1785148447000,"timestamp_seconds":1785148447,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3239918"} 
[2026-07-27 16:04:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:04:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:04:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-07-27 16:04:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:04:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:04:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:04:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:04:44] local.INFO: Teltonika packet parsed successfully {"connection_id":144085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:04:44] local.INFO: Passing IMEI to GPS processor {"connection_id":144085,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:04:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":144085,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:04:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:04:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 16:04:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 16:04:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998001920001,"66":12461,"10":206,"87":13824,"24":26,"16":111620148414119936,"45":8949567278678220800},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-07-27 16:04:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 16:04:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 16:04:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998001920001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:04:44] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-27 16:04:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 16:04:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111620148414119936,"km_value":111620148414119.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:04:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949567278678220800,"description":"Unknown IO ID 45"} 
[2026-07-27 16:04:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998001920001,"power":12461,"unknown_10":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":8949567278678220800}} 
[2026-07-27 16:04:44] local.INFO: DEBUG: GPS processor result {"connection_id":144085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554020,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:04:44] local.INFO: GPS data processed {"connection_id":144085,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:04:44] local.INFO: Acknowledgment sent {"connection_id":144085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:04:47] local.INFO: TCP Data received {"connection_id":144086,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fa321d010012d9cd70005b360f8001a000923..."} 
[2026-07-27 16:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144086,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa321d010012d9cd70005b360f8001a000923..."} 
[2026-07-27 16:04:47] local.INFO: Processing buffer {"connection_id":144086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa321d010012d9cd70005b360f8001a000923..."} 
[2026-07-27 16:04:47] local.INFO: Packet analysis {"connection_id":144086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa321"} 
[2026-07-27 16:04:47] local.INFO: Extracted packet for processing {"connection_id":144086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa321"} 
[2026-07-27 16:04:47] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641848,"longitude_deg":76.5253376,"latitude_deg":9.5641848,"altitude":26,"angle":9,"satellites":35,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b360f8","is_valid_coordinates":true} 
[2026-07-27 16:04:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:04:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997894656001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:04:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359071309033897984,"note":"Value kept but may cause issues"} 
[2026-07-27 16:04:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7147775534106245120,"note":"Value kept but may cause issues"} 
[2026-07-27 16:04:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:04:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785148330000,"timestamp_ms":1785148330000,"timestamp_seconds":1785148330,"priority":1,"record_length":96,"hex_timestamp":"0000019fa321d010"} 
[2026-07-27 16:04:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:04:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 16:04:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-27 16:04:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:04:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:04:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:04:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:04:47] local.INFO: Teltonika packet parsed successfully {"connection_id":144086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:04:47] local.INFO: Passing IMEI to GPS processor {"connection_id":144086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:04:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":144086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:04:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:04:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:04:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:04:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997894656001,"66":26452,"226":206,"83":17408,"24":0,"16":359071309033897984,"45":-7147775534106245120},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-07-27 16:04:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:04:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:04:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997894656001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:04:47] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-27 16:04:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 16:04:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359071309033897984,"km_value":359071309033898.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:04:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7147775534106245120,"description":"Unknown IO ID 45"} 
[2026-07-27 16:04:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997894656001,"power":26452,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7147775534106245120}} 
[2026-07-27 16:04:47] local.INFO: DEBUG: GPS processor result {"connection_id":144086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:04:47] local.INFO: GPS data processed {"connection_id":144086,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:04:47] local.INFO: Acknowledgment sent {"connection_id":144086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:04:52] local.INFO: TCP Data received {"connection_id":145380,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3241de8012d0bcf800704c098001f00461b..."} 
[2026-07-27 16:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3241de8012d0bcf800704c098001f00461b..."} 
[2026-07-27 16:04:52] local.INFO: Processing buffer {"connection_id":145380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3241de8012d0bcf800704c098001f00461b..."} 
[2026-07-27 16:04:52] local.INFO: Packet analysis {"connection_id":145380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa324"} 
[2026-07-27 16:04:52] local.INFO: Extracted packet for processing {"connection_id":145380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa324"} 
[2026-07-27 16:04:52] local.INFO: GPS Element Parsed {"raw_longitude":755748736,"raw_latitude":117751960,"longitude_deg":75.5748736,"latitude_deg":11.775196,"altitude":31,"angle":70,"satellites":27,"speed":27,"hex_longitude":"2d0bcf80","hex_latitude":"0704c098","is_valid_coordinates":true} 
[2026-07-27 16: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-07-27 16:04:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998010112001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:04:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25926754765897728,"note":"Value kept but may cause issues"} 
[2026-07-27 16:04:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":848365609950060544,"note":"Value kept but may cause issues"} 
[2026-07-27 16:04:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:04:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785148481000,"timestamp_ms":1785148481000,"timestamp_seconds":1785148481,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3241de8"} 
[2026-07-27 16:04:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:04:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-27 16:04:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16: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-07-27 16:04:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:04:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:04:52] local.INFO: Teltonika packet parsed successfully {"connection_id":145380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:04:52] local.INFO: Passing IMEI to GPS processor {"connection_id":145380,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 16:04:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":145380,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 16:04:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:04:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 16:04:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 16:04:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998010112001,"66":14450,"96":206,"94":10240,"24":27,"16":25926754765897728,"45":848365609950060544},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-07-27 16:04:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 16:04:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 16:04:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998010112001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:04:52] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-27 16:04:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 16:04:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25926754765897728,"km_value":25926754765897.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:04:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":848365609950060544,"description":"Unknown IO ID 45"} 
[2026-07-27 16:04:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998010112001,"power":14450,"unknown_96":206,"unknown_94":10240,"ignition":27,"odometer":null,"unknown_45":848365609950060544}} 
[2026-07-27 16:04:52] local.INFO: DEBUG: GPS processor result {"connection_id":145380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554022,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:04:52] local.INFO: GPS data processed {"connection_id":145380,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:04:52] local.INFO: Acknowledgment sent {"connection_id":145380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:05:00] local.INFO: TCP Data received {"connection_id":142957,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142957,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:05:00] local.INFO: Processing buffer {"connection_id":142957,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:05:00] local.INFO: IMEI packet received {"connection_id":142957,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 16:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":142957,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:05:00] local.INFO: TCP Data received {"connection_id":142957,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142957,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:05:00] local.INFO: Processing buffer {"connection_id":142957,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:05:00] local.INFO: IMEI packet received {"connection_id":142957,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 16:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":142957,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:05:00] local.INFO: TCP Data received {"connection_id":142957,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142957,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:05:00] local.INFO: Processing buffer {"connection_id":142957,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:05:00] local.INFO: IMEI packet received {"connection_id":142957,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 16:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":142957,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:05:01] local.INFO: TCP Data received {"connection_id":142957,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142957,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:05:01] local.INFO: Processing buffer {"connection_id":142957,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:05:01] local.INFO: IMEI packet received {"connection_id":142957,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 16:05:01] local.INFO: IMEI acknowledgment sent {"connection_id":142957,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:05:08] local.INFO: TCP Data received {"connection_id":145381,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145381,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:05:08] local.INFO: Processing buffer {"connection_id":145381,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:05:08] local.INFO: IMEI packet received {"connection_id":145381,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 16:05:08] local.INFO: IMEI acknowledgment sent {"connection_id":145381,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:05:12] local.INFO: TCP Data received {"connection_id":145381,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145381,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:05:12] local.INFO: Processing buffer {"connection_id":145381,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:05:12] local.INFO: IMEI packet received {"connection_id":145381,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 16:05:12] local.INFO: IMEI acknowledgment sent {"connection_id":145381,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:05:14] local.INFO: TCP Data received {"connection_id":145381,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa323a4d0012d7c3bc005eb0868000b009717..."} 
[2026-07-27 16:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa323a4d0012d7c3bc005eb0868000b009717..."} 
[2026-07-27 16:05:14] local.INFO: Processing buffer {"connection_id":145381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa323a4d0012d7c3bc005eb0868000b009717..."} 
[2026-07-27 16:05:14] local.INFO: Packet analysis {"connection_id":145381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa323"} 
[2026-07-27 16:05:14] local.INFO: Extracted packet for processing {"connection_id":145381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa323"} 
[2026-07-27 16:05:14] local.INFO: GPS Element Parsed {"raw_longitude":763116480,"raw_latitude":99289192,"longitude_deg":76.311648,"latitude_deg":9.9289192,"altitude":11,"angle":151,"satellites":23,"speed":27,"hex_longitude":"2d7c3bc0","hex_latitude":"05eb0868","is_valid_coordinates":true} 
[2026-07-27 16: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-07-27 16:05:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998002432001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:05:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111620251493335040,"note":"Value kept but may cause issues"} 
[2026-07-27 16:05:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8950482072352237568,"note":"Value kept but may cause issues"} 
[2026-07-27 16:05:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:05:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785148450000,"timestamp_ms":1785148450000,"timestamp_seconds":1785148450,"priority":1,"record_length":96,"hex_timestamp":"0000019fa323a4d0"} 
[2026-07-27 16:05:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:05:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-27 16:05: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-07-27 16: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-07-27 16:05:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:05:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:05:14] local.INFO: Teltonika packet parsed successfully {"connection_id":145381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:05:14] local.INFO: Passing IMEI to GPS processor {"connection_id":145381,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:05:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":145381,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:05:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:05:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 16:05:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 16:05:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998002432001,"66":11787,"10":206,"87":13824,"24":27,"16":111620251493335040,"45":8950482072352237568},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-07-27 16:05:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 16:05:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 16:05:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998002432001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:05:14] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-27 16:05:14] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 16:05:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111620251493335040,"km_value":111620251493335.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:05:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8950482072352237568,"description":"Unknown IO ID 45"} 
[2026-07-27 16:05:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998002432001,"power":11787,"unknown_10":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":8950482072352237568}} 
[2026-07-27 16:05:14] local.INFO: DEBUG: GPS processor result {"connection_id":145381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554023,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:05:14] local.INFO: GPS data processed {"connection_id":145381,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:05:14] local.INFO: Acknowledgment sent {"connection_id":145381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:05:17] local.INFO: TCP Data received {"connection_id":144087,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:05:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144087,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:05:17] local.INFO: Processing buffer {"connection_id":144087,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:05:17] local.INFO: IMEI packet received {"connection_id":144087,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 16:05:17] local.INFO: IMEI acknowledgment sent {"connection_id":144087,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:05:18] local.INFO: TCP Data received {"connection_id":144087,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144087,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:05:18] local.INFO: Processing buffer {"connection_id":144087,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:05:18] local.INFO: IMEI packet received {"connection_id":144087,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 16:05:18] local.INFO: IMEI acknowledgment sent {"connection_id":144087,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:05:20] local.INFO: TCP Data received {"connection_id":144087,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144087,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:05:20] local.INFO: Processing buffer {"connection_id":144087,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:05:20] local.INFO: IMEI packet received {"connection_id":144087,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 16:05:20] local.INFO: IMEI acknowledgment sent {"connection_id":144087,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:05:21] local.INFO: TCP Data received {"connection_id":144087,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa32421d0012d0bd2400704c148001f00511b..."} 
[2026-07-27 16:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa32421d0012d0bd2400704c148001f00511b..."} 
[2026-07-27 16:05:21] local.INFO: Processing buffer {"connection_id":144087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa32421d0012d0bd2400704c148001f00511b..."} 
[2026-07-27 16:05:21] local.INFO: Packet analysis {"connection_id":144087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa324"} 
[2026-07-27 16:05:21] local.INFO: Extracted packet for processing {"connection_id":144087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa324"} 
[2026-07-27 16:05:21] local.INFO: GPS Element Parsed {"raw_longitude":755749440,"raw_latitude":117752136,"longitude_deg":75.574944,"latitude_deg":11.7752136,"altitude":31,"angle":81,"satellites":27,"speed":26,"hex_longitude":"2d0bd240","hex_latitude":"0704c148","is_valid_coordinates":true} 
[2026-07-27 16:05:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:05:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998011136001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:05:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25926789125636096,"note":"Value kept but may cause issues"} 
[2026-07-27 16:05:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":851039622229170176,"note":"Value kept but may cause issues"} 
[2026-07-27 16:05:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:05:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785148482000,"timestamp_ms":1785148482000,"timestamp_seconds":1785148482,"priority":1,"record_length":96,"hex_timestamp":"0000019fa32421d0"} 
[2026-07-27 16:05:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:05:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:05:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-27 16:05:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:05:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:05:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:05:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:05:21] local.INFO: Teltonika packet parsed successfully {"connection_id":144087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:05:21] local.INFO: Passing IMEI to GPS processor {"connection_id":144087,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 16:05:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":144087,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 16:05:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:05:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 16:05:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 16:05:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998011136001,"66":14450,"96":206,"94":10240,"24":26,"16":25926789125636096,"45":851039622229170176},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-07-27 16:05:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 16:05:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 16:05:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998011136001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:05:21] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-27 16:05:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 16:05:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25926789125636096,"km_value":25926789125636.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:05:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":851039622229170176,"description":"Unknown IO ID 45"} 
[2026-07-27 16:05:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998011136001,"power":14450,"unknown_96":206,"unknown_94":10240,"ignition":26,"odometer":null,"unknown_45":851039622229170176}} 
[2026-07-27 16:05:21] local.INFO: DEBUG: GPS processor result {"connection_id":144087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554024,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:05:21] local.INFO: GPS data processed {"connection_id":144087,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:05:21] local.INFO: Acknowledgment sent {"connection_id":144087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:05:32] local.INFO: TCP Data received {"connection_id":142958,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:05:32] local.INFO: Processing buffer {"connection_id":142958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:05:32] local.INFO: IMEI packet received {"connection_id":142958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 16:05:32] local.INFO: IMEI acknowledgment sent {"connection_id":142958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:05:37] local.INFO: TCP Data received {"connection_id":142958,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:05:37] local.INFO: Processing buffer {"connection_id":142958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:05:37] local.INFO: IMEI packet received {"connection_id":142958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 16:05:37] local.INFO: IMEI acknowledgment sent {"connection_id":142958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:05:38] local.INFO: TCP Data received {"connection_id":142958,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fa321d010012d9cd70005b360f8001a000923..."} 
[2026-07-27 16:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa321d010012d9cd70005b360f8001a000923..."} 
[2026-07-27 16:05:38] local.INFO: Processing buffer {"connection_id":142958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa321d010012d9cd70005b360f8001a000923..."} 
[2026-07-27 16:05:38] local.INFO: Packet analysis {"connection_id":142958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa321"} 
[2026-07-27 16:05:38] local.INFO: Extracted packet for processing {"connection_id":142958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa321"} 
[2026-07-27 16:05:38] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641848,"longitude_deg":76.5253376,"latitude_deg":9.5641848,"altitude":26,"angle":9,"satellites":35,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b360f8","is_valid_coordinates":true} 
[2026-07-27 16:05:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:05:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997894656001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:05:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359071309033897984,"note":"Value kept but may cause issues"} 
[2026-07-27 16:05:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7147775534106245120,"note":"Value kept but may cause issues"} 
[2026-07-27 16:05:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:05:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785148330000,"timestamp_ms":1785148330000,"timestamp_seconds":1785148330,"priority":1,"record_length":96,"hex_timestamp":"0000019fa321d010"} 
[2026-07-27 16:05:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:05:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 16:05:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-27 16:05:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:05:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:05:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:05:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:05:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:05:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:05:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:05:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:05:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:05:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:05:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997894656001,"66":26452,"226":206,"83":17408,"24":0,"16":359071309033897984,"45":-7147775534106245120},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-07-27 16:05:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:05:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:05:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997894656001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:05:38] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-27 16:05:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 16:05:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359071309033897984,"km_value":359071309033898.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:05:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7147775534106245120,"description":"Unknown IO ID 45"} 
[2026-07-27 16:05:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997894656001,"power":26452,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7147775534106245120}} 
[2026-07-27 16:05:38] local.INFO: DEBUG: GPS processor result {"connection_id":142958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:05:38] local.INFO: GPS data processed {"connection_id":142958,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:05:38] local.INFO: Acknowledgment sent {"connection_id":142958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:05:46] local.INFO: TCP Data received {"connection_id":145381,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa323a8b8012d7c3cc005eb05b0000b00a317..."} 
[2026-07-27 16:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa323a8b8012d7c3cc005eb05b0000b00a317..."} 
[2026-07-27 16:05:46] local.INFO: Processing buffer {"connection_id":145381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa323a8b8012d7c3cc005eb05b0000b00a317..."} 
[2026-07-27 16:05:46] local.INFO: Packet analysis {"connection_id":145381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa323"} 
[2026-07-27 16:05:46] local.INFO: Extracted packet for processing {"connection_id":145381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa323"} 
[2026-07-27 16:05:46] local.INFO: GPS Element Parsed {"raw_longitude":763116736,"raw_latitude":99288496,"longitude_deg":76.3116736,"latitude_deg":9.9288496,"altitude":11,"angle":163,"satellites":23,"speed":29,"hex_longitude":"2d7c3cc0","hex_latitude":"05eb05b0","is_valid_coordinates":true} 
[2026-07-27 16:05:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:05:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998003200001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:05:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111620285853073408,"note":"Value kept but may cause issues"} 
[2026-07-27 16:05:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8951959815979558912,"note":"Value kept but may cause issues"} 
[2026-07-27 16:05:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:05:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785148451000,"timestamp_ms":1785148451000,"timestamp_seconds":1785148451,"priority":1,"record_length":96,"hex_timestamp":"0000019fa323a8b8"} 
[2026-07-27 16:05:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:05:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:05:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":11,"data_length":795,"current_offset":136} 
[2026-07-27 16:05:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-07-27 16:05:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-27 16:05:46] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2737007160,"note":"Value kept but may cause issues"} 
[2026-07-27 16:05:46] local.WARNING: Large IO value detected {"io_id":141,"raw_value":3238002688,"note":"Value kept but may cause issues"} 
[2026-07-27 16:05:46] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-6943667529797522052,"note":"Value kept but may cause issues"} 
[2026-07-27 16:05:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1309278414,"corrected_to":0} 
[2026-07-27 16:05:46] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3053505870,"note":"Value kept but may cause issues"} 
[2026-07-27 16:05:46] local.WARNING: Large IO value detected {"io_id":140,"raw_value":-8244120592878403584,"note":"Value kept but may cause issues"} 
[2026-07-27 16:05:46] local.WARNING: Large IO value detected {"io_id":56,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-27 16:05:46] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6284210433122828290,"note":"Value kept but may cause issues"} 
[2026-07-27 16:05:46] local.WARNING: Large IO value detected {"io_id":37,"raw_value":1666079956928000,"note":"Value kept but may cause issues"} 
[2026-07-27 16:05:46] local.WARNING: Large IO value detected {"io_id":175,"raw_value":1657352150663039488,"note":"Value kept but may cause issues"} 
[2026-07-27 16:05:46] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,10,87,24,241,157,16,142,159,153,45,128,14,11,23,66,141,145,64,19,129,192,1,240,172,227,163,235,4,113,205,21,114,43,239,50,2,140,56,206,37,175],"length":533,"final_offset":663,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1309278414,"validated":0}]} 
[2026-07-27 16:05:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792799659459018752,"timestamp_seconds":792799659459018.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 16:05:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:05:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:05:46] local.INFO: Teltonika packet parsed successfully {"connection_id":145381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:05:46] local.INFO: Passing IMEI to GPS processor {"connection_id":145381,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:05:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":145381,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:05:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:05:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 16:05:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 16:05:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998003200001,"66":11787,"10":206,"87":13824,"24":29,"16":111620285853073408,"45":8951959815979558912},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-07-27 16:05:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 16:05:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 16:05:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998003200001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:05:46] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-27 16:05:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 16:05:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111620285853073408,"km_value":111620285853073.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:05:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8951959815979558912,"description":"Unknown IO ID 45"} 
[2026-07-27 16:05:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998003200001,"power":11787,"unknown_10":206,"unknown_87":13824,"ignition":29,"odometer":null,"unknown_45":8951959815979558912}} 
[2026-07-27 16:05:46] local.INFO: DEBUG: GPS processor result {"connection_id":145381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554026,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:05:46] local.INFO: GPS data processed {"connection_id":145381,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:05:46] local.INFO: Acknowledgment sent {"connection_id":145381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:05:52] local.INFO: TCP Data received {"connection_id":144087,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa32425b8012d0bd5000704c148001f005e1b..."} 
[2026-07-27 16:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa32425b8012d0bd5000704c148001f005e1b..."} 
[2026-07-27 16:05:52] local.INFO: Processing buffer {"connection_id":144087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa32425b8012d0bd5000704c148001f005e1b..."} 
[2026-07-27 16:05:52] local.INFO: Packet analysis {"connection_id":144087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa324"} 
[2026-07-27 16:05:52] local.INFO: Extracted packet for processing {"connection_id":144087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa324"} 
[2026-07-27 16:05:52] local.INFO: GPS Element Parsed {"raw_longitude":755750144,"raw_latitude":117752136,"longitude_deg":75.5750144,"latitude_deg":11.7752136,"altitude":31,"angle":94,"satellites":27,"speed":27,"hex_longitude":"2d0bd500","hex_latitude":"0704c148","is_valid_coordinates":true} 
[2026-07-27 16:05:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:05:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998011392001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:05:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25926823485374464,"note":"Value kept but may cause issues"} 
[2026-07-27 16:05:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":851813678415169536,"note":"Value kept but may cause issues"} 
[2026-07-27 16:05:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:05:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785148483000,"timestamp_ms":1785148483000,"timestamp_seconds":1785148483,"priority":1,"record_length":96,"hex_timestamp":"0000019fa32425b8"} 
[2026-07-27 16:05:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:05:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:05:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-27 16:05:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:05:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:05:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:05:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:05:52] local.INFO: Teltonika packet parsed successfully {"connection_id":144087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:05:52] local.INFO: Passing IMEI to GPS processor {"connection_id":144087,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 16:05:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":144087,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 16:05:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:05:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 16:05:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 16:05:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998011392001,"66":14396,"96":206,"94":10240,"24":27,"16":25926823485374464,"45":851813678415169536},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-07-27 16:05:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 16:05:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 16:05:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998011392001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:05:52] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-27 16:05:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 16:05:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25926823485374464,"km_value":25926823485374.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:05:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":851813678415169536,"description":"Unknown IO ID 45"} 
[2026-07-27 16:05:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998011392001,"power":14396,"unknown_96":206,"unknown_94":10240,"ignition":27,"odometer":null,"unknown_45":851813678415169536}} 
[2026-07-27 16:05:52] local.INFO: DEBUG: GPS processor result {"connection_id":144087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554027,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:05:52] local.INFO: GPS data processed {"connection_id":144087,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:05:52] local.INFO: Acknowledgment sent {"connection_id":144087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:06:07] local.INFO: TCP Data received {"connection_id":144088,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144088,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:06:07] local.INFO: Processing buffer {"connection_id":144088,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:06:07] local.INFO: IMEI packet received {"connection_id":144088,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 16:06:07] local.INFO: IMEI acknowledgment sent {"connection_id":144088,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:06:09] local.INFO: TCP Data received {"connection_id":142958,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fa321d010012d9cd70005b360f8001a000923..."} 
[2026-07-27 16:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa321d010012d9cd70005b360f8001a000923..."} 
[2026-07-27 16:06:09] local.INFO: Processing buffer {"connection_id":142958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa321d010012d9cd70005b360f8001a000923..."} 
[2026-07-27 16:06:09] local.INFO: Packet analysis {"connection_id":142958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa321"} 
[2026-07-27 16:06:09] local.INFO: Extracted packet for processing {"connection_id":142958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa321"} 
[2026-07-27 16:06:09] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641848,"longitude_deg":76.5253376,"latitude_deg":9.5641848,"altitude":26,"angle":9,"satellites":35,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b360f8","is_valid_coordinates":true} 
[2026-07-27 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-07-27 16:06:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997894656001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:06:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359071309033897984,"note":"Value kept but may cause issues"} 
[2026-07-27 16:06:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7147775534106245120,"note":"Value kept but may cause issues"} 
[2026-07-27 16:06:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:06:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785148330000,"timestamp_ms":1785148330000,"timestamp_seconds":1785148330,"priority":1,"record_length":96,"hex_timestamp":"0000019fa321d010"} 
[2026-07-27 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-07-27 16:06:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-27 16:06:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 16:06:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:06:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:06:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:06:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:06:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:06:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:06:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:06:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997894656001,"66":26452,"226":206,"83":17408,"24":0,"16":359071309033897984,"45":-7147775534106245120},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-07-27 16:06:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:06:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:06:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997894656001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:06:09] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-27 16:06:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 16:06:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359071309033897984,"km_value":359071309033898.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:06:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7147775534106245120,"description":"Unknown IO ID 45"} 
[2026-07-27 16:06:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997894656001,"power":26452,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7147775534106245120}} 
[2026-07-27 16:06:09] local.INFO: DEBUG: GPS processor result {"connection_id":142958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:06:09] local.INFO: GPS data processed {"connection_id":142958,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:06:09] local.INFO: Acknowledgment sent {"connection_id":142958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:06:13] local.INFO: TCP Data received {"connection_id":144088,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144088,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:06:13] local.INFO: Processing buffer {"connection_id":144088,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:06:13] local.INFO: IMEI packet received {"connection_id":144088,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 16:06:13] local.INFO: IMEI acknowledgment sent {"connection_id":144088,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:06:14] local.INFO: TCP Data received {"connection_id":144088,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa323b470012d7c3e0005eafc50000b00b017..."} 
[2026-07-27 16:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa323b470012d7c3e0005eafc50000b00b017..."} 
[2026-07-27 16:06:14] local.INFO: Processing buffer {"connection_id":144088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa323b470012d7c3e0005eafc50000b00b017..."} 
[2026-07-27 16:06:14] local.INFO: Packet analysis {"connection_id":144088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa323"} 
[2026-07-27 16:06:14] local.INFO: Extracted packet for processing {"connection_id":144088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa323"} 
[2026-07-27 16:06:14] local.INFO: GPS Element Parsed {"raw_longitude":763117056,"raw_latitude":99286096,"longitude_deg":76.3117056,"latitude_deg":9.9286096,"altitude":11,"angle":176,"satellites":23,"speed":33,"hex_longitude":"2d7c3e00","hex_latitude":"05eafc50","is_valid_coordinates":true} 
[2026-07-27 16:06:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:06:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998003456001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:06:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111620406112157696,"note":"Value kept but may cause issues"} 
[2026-07-27 16:06:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8952241290956091392,"note":"Value kept but may cause issues"} 
[2026-07-27 16:06:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:06:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785148454000,"timestamp_ms":1785148454000,"timestamp_seconds":1785148454,"priority":1,"record_length":96,"hex_timestamp":"0000019fa323b470"} 
[2026-07-27 16:06:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:06:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:06:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":11,"data_length":795,"current_offset":136} 
[2026-07-27 16:06:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-07-27 16:06:14] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-27 16:06:14] local.WARNING: Large IO value detected {"io_id":159,"raw_value":1657349951639783936,"note":"Value kept but may cause issues"} 
[2026-07-27 16:06:14] local.WARNING: Large IO value detected {"io_id":141,"raw_value":3758096384,"note":"Value kept but may cause issues"} 
[2026-07-27 16:06:14] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-6943667261362066052,"note":"Value kept but may cause issues"} 
[2026-07-27 16:06:14] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1309278414,"corrected_to":0} 
[2026-07-27 16:06:14] local.WARNING: Large IO value detected {"io_id":125,"raw_value":3221302652,"note":"Value kept but may cause issues"} 
[2026-07-27 16:06:14] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3221613343,"note":"Value kept but may cause issues"} 
[2026-07-27 16:06:14] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2986397006,"note":"Value kept but may cause issues"} 
[2026-07-27 16:06:14] local.WARNING: Large IO value detected {"io_id":140,"raw_value":-8239898468227743744,"note":"Value kept but may cause issues"} 
[2026-07-27 16:06:14] local.WARNING: Large IO value detected {"io_id":56,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-27 16:06:14] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6284210433122893826,"note":"Value kept but may cause issues"} 
[2026-07-27 16:06:14] local.WARNING: Large IO value detected {"io_id":40,"raw_value":4613351954905565696,"note":"Value kept but may cause issues"} 
[2026-07-27 16:06:14] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,10,87,24,241,157,16,142,159,164,45,192,8,11,23,66,153,128,14,141,145,64,1,240,123,227,163,235,4,113,205,125,47,80,239,49,2,140,56,206,40],"length":533,"final_offset":663,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1309278414,"validated":0}]} 
[2026-07-27 16:06:14] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792812853598683136,"timestamp_seconds":792812853598683.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 16:06:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:06:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:06:14] local.INFO: Teltonika packet parsed successfully {"connection_id":144088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:06:14] local.INFO: Passing IMEI to GPS processor {"connection_id":144088,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:06:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":144088,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:06:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:06:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 16:06:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 16:06:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998003456001,"66":12613,"10":206,"87":13824,"24":33,"16":111620406112157696,"45":8952241290956091392},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-07-27 16:06:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 16:06:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 16:06:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998003456001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:06:14] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-27 16:06:14] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 16:06:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111620406112157696,"km_value":111620406112157.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:06:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8952241290956091392,"description":"Unknown IO ID 45"} 
[2026-07-27 16:06:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998003456001,"power":12613,"unknown_10":206,"unknown_87":13824,"ignition":33,"odometer":null,"unknown_45":8952241290956091392}} 
[2026-07-27 16:06:14] local.INFO: DEBUG: GPS processor result {"connection_id":144088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554029,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:06:14] local.INFO: GPS data processed {"connection_id":144088,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:06:14] local.INFO: Acknowledgment sent {"connection_id":144088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:06:20] local.INFO: TCP Data received {"connection_id":144089,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144089,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:06:21] local.INFO: Processing buffer {"connection_id":144089,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:06:21] local.INFO: IMEI packet received {"connection_id":144089,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 16:06:21] local.INFO: IMEI acknowledgment sent {"connection_id":144089,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:06:21] local.INFO: TCP Data received {"connection_id":144089,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144089,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:06:21] local.INFO: Processing buffer {"connection_id":144089,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:06:21] local.INFO: IMEI packet received {"connection_id":144089,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 16:06:21] local.INFO: IMEI acknowledgment sent {"connection_id":144089,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:06:26] local.INFO: TCP Data received {"connection_id":144089,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144089,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:06:26] local.INFO: Processing buffer {"connection_id":144089,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:06:26] local.INFO: IMEI packet received {"connection_id":144089,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 16:06:26] local.INFO: IMEI acknowledgment sent {"connection_id":144089,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:06:27] local.INFO: TCP Data received {"connection_id":144089,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3252788012d0c8d800704d550001c01481b..."} 
[2026-07-27 16:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144089,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3252788012d0c8d800704d550001c01481b..."} 
[2026-07-27 16:06:27] local.INFO: Processing buffer {"connection_id":144089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3252788012d0c8d800704d550001c01481b..."} 
[2026-07-27 16:06:27] local.INFO: Packet analysis {"connection_id":144089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa325"} 
[2026-07-27 16:06:27] local.INFO: Extracted packet for processing {"connection_id":144089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa325"} 
[2026-07-27 16:06:27] local.INFO: GPS Element Parsed {"raw_longitude":755797376,"raw_latitude":117757264,"longitude_deg":75.5797376,"latitude_deg":11.7757264,"altitude":28,"angle":328,"satellites":27,"speed":8,"hex_longitude":"2d0c8d80","hex_latitude":"0704d550","is_valid_coordinates":true} 
[2026-07-27 16:06:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:06:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998025984001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:06:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25929142767714304,"note":"Value kept but may cause issues"} 
[2026-07-27 16:06:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":904379130317047808,"note":"Value kept but may cause issues"} 
[2026-07-27 16:06:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:06:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785148549000,"timestamp_ms":1785148549000,"timestamp_seconds":1785148549,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3252788"} 
[2026-07-27 16:06:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:06:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-27 16:06:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:06:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:06:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:06:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:06:27] local.INFO: Teltonika packet parsed successfully {"connection_id":144089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:06:27] local.INFO: Passing IMEI to GPS processor {"connection_id":144089,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 16:06:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":144089,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 16:06:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:06:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 16:06:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 16:06:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998025984001,"66":14461,"96":206,"94":10240,"24":8,"16":25929142767714304,"45":904379130317047808},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-07-27 16:06:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 16:06:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 16:06:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998025984001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:06:27] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-27 16:06:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 16:06:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25929142767714304,"km_value":25929142767714.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:06:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":904379130317047808,"description":"Unknown IO ID 45"} 
[2026-07-27 16:06:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998025984001,"power":14461,"unknown_96":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":904379130317047808}} 
[2026-07-27 16:06:27] local.INFO: DEBUG: GPS processor result {"connection_id":144089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554030,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:06:27] local.INFO: GPS data processed {"connection_id":144089,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:06:27] local.INFO: Acknowledgment sent {"connection_id":144089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:06:32] local.INFO: TCP Data received {"connection_id":145382,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:06:32] local.INFO: Processing buffer {"connection_id":145382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:06:32] local.INFO: IMEI packet received {"connection_id":145382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 16:06:32] local.INFO: IMEI acknowledgment sent {"connection_id":145382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:06:37] local.INFO: TCP Data received {"connection_id":144089,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa32546c8012d0c81800704e6c0001d013a1b..."} 
[2026-07-27 16:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144089,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa32546c8012d0c81800704e6c0001d013a1b..."} 
[2026-07-27 16:06:37] local.INFO: Processing buffer {"connection_id":144089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa32546c8012d0c81800704e6c0001d013a1b..."} 
[2026-07-27 16:06:37] local.INFO: Packet analysis {"connection_id":144089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa325"} 
[2026-07-27 16:06:37] local.INFO: Extracted packet for processing {"connection_id":144089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa325"} 
[2026-07-27 16:06:37] local.INFO: GPS Element Parsed {"raw_longitude":755794304,"raw_latitude":117761728,"longitude_deg":75.5794304,"latitude_deg":11.7761728,"altitude":29,"angle":314,"satellites":27,"speed":35,"hex_longitude":"2d0c8180","hex_latitude":"0704e6c0","is_valid_coordinates":true} 
[2026-07-27 16:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:06:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998028544001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:06:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25929404760719360,"note":"Value kept but may cause issues"} 
[2026-07-27 16:06:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":904519867805552640,"note":"Value kept but may cause issues"} 
[2026-07-27 16:06:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:06:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785148557000,"timestamp_ms":1785148557000,"timestamp_seconds":1785148557,"priority":1,"record_length":96,"hex_timestamp":"0000019fa32546c8"} 
[2026-07-27 16:06:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:06:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-27 16:06:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:06:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:06:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:06:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:06:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:06:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144089,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 16:06:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144089,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 16:06:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:06:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 16:06:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 16:06:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998028544001,"66":14515,"96":206,"94":10240,"24":35,"16":25929404760719360,"45":904519867805552640},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-07-27 16:06:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 16:06:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 16:06:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998028544001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:06:37] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-27 16:06:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 16:06:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25929404760719360,"km_value":25929404760719.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:06:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":904519867805552640,"description":"Unknown IO ID 45"} 
[2026-07-27 16:06:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998028544001,"power":14515,"unknown_96":206,"unknown_94":10240,"ignition":35,"odometer":null,"unknown_45":904519867805552640}} 
[2026-07-27 16:06:37] local.INFO: TCP Data received {"connection_id":145382,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:06:37] local.INFO: Processing buffer {"connection_id":145382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:06:37] local.INFO: IMEI packet received {"connection_id":145382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 16:06:37] local.INFO: IMEI acknowledgment sent {"connection_id":145382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:06:37] local.INFO: DEBUG: GPS processor result {"connection_id":144089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554031,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:06:37] local.INFO: GPS data processed {"connection_id":144089,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:06:37] local.INFO: Acknowledgment sent {"connection_id":144089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:06:38] local.INFO: TCP Data received {"connection_id":145382,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fa321d010012d9cd70005b360f8001a000923..."} 
[2026-07-27 16:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa321d010012d9cd70005b360f8001a000923..."} 
[2026-07-27 16:06:38] local.INFO: Processing buffer {"connection_id":145382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa321d010012d9cd70005b360f8001a000923..."} 
[2026-07-27 16:06:38] local.INFO: Packet analysis {"connection_id":145382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa321"} 
[2026-07-27 16:06:38] local.INFO: Extracted packet for processing {"connection_id":145382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa321"} 
[2026-07-27 16:06:38] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641848,"longitude_deg":76.5253376,"latitude_deg":9.5641848,"altitude":26,"angle":9,"satellites":35,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b360f8","is_valid_coordinates":true} 
[2026-07-27 16:06:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:06:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997894656001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:06:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359071309033897984,"note":"Value kept but may cause issues"} 
[2026-07-27 16:06:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7147775534106245120,"note":"Value kept but may cause issues"} 
[2026-07-27 16:06:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:06:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785148330000,"timestamp_ms":1785148330000,"timestamp_seconds":1785148330,"priority":1,"record_length":96,"hex_timestamp":"0000019fa321d010"} 
[2026-07-27 16:06:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:06:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 16:06:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-27 16:06:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:06:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:06:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:06:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:06:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:06:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:06:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:06:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:06:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:06:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:06:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997894656001,"66":26452,"226":206,"83":17408,"24":0,"16":359071309033897984,"45":-7147775534106245120},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-07-27 16:06:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:06:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:06:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997894656001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:06:38] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-27 16:06:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 16:06:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359071309033897984,"km_value":359071309033898.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:06:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7147775534106245120,"description":"Unknown IO ID 45"} 
[2026-07-27 16:06:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997894656001,"power":26452,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7147775534106245120}} 
[2026-07-27 16:06:38] local.INFO: DEBUG: GPS processor result {"connection_id":145382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:06:38] local.INFO: GPS data processed {"connection_id":145382,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:06:38] local.INFO: Acknowledgment sent {"connection_id":145382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:06:45] local.INFO: TCP Data received {"connection_id":144088,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa325b428012d7ce4c005eaed18000f005919..."} 
[2026-07-27 16:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa325b428012d7ce4c005eaed18000f005919..."} 
[2026-07-27 16:06:45] local.INFO: Processing buffer {"connection_id":144088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa325b428012d7ce4c005eaed18000f005919..."} 
[2026-07-27 16:06:45] local.INFO: Packet analysis {"connection_id":144088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa325"} 
[2026-07-27 16:06:45] local.INFO: Extracted packet for processing {"connection_id":144088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa325"} 
[2026-07-27 16:06:45] local.INFO: GPS Element Parsed {"raw_longitude":763159744,"raw_latitude":99282200,"longitude_deg":76.3159744,"latitude_deg":9.92822,"altitude":15,"angle":89,"satellites":25,"speed":0,"hex_longitude":"2d7ce4c0","hex_latitude":"05eaed18","is_valid_coordinates":true} 
[2026-07-27 16:06:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:06:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998032384001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:06:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111623159186194432,"note":"Value kept but may cause issues"} 
[2026-07-27 16:06:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8995518068623697920,"note":"Value kept but may cause issues"} 
[2026-07-27 16:06:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:06:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785148585000,"timestamp_ms":1785148585000,"timestamp_seconds":1785148585,"priority":1,"record_length":96,"hex_timestamp":"0000019fa325b428"} 
[2026-07-27 16:06:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:06:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:06:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-07-27 16:06:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":360287970357412864,"note":"Value kept but may cause issues"} 
[2026-07-27 16:06:45] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-27 16:06:45] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2737052160,"note":"Value kept but may cause issues"} 
[2026-07-27 16:06:45] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-27 16:06:45] local.WARNING: Large IO value detected {"io_id":163,"raw_value":2600292228190191808,"note":"Value kept but may cause issues"} 
[2026-07-27 16:06:45] local.WARNING: Large IO value detected {"io_id":234,"raw_value":3385851912,"note":"Value kept but may cause issues"} 
[2026-07-27 16:06:45] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1309278414,"corrected_to":0} 
[2026-07-27 16:06:45] local.WARNING: Large IO value detected {"io_id":29,"raw_value":3892391292,"note":"Value kept but may cause issues"} 
[2026-07-27 16:06:45] local.WARNING: Large IO value detected {"io_id":50,"raw_value":4539854159448428119,"note":"Value kept but may cause issues"} 
[2026-07-27 16:06:45] local.WARNING: Large IO value detected {"io_id":140,"raw_value":2395602944,"note":"Value kept but may cause issues"} 
[2026-07-27 16:06:45] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-1529306324876101865,"note":"Value kept but may cause issues"} 
[2026-07-27 16:06:45] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755425210990833,"note":"Value kept but may cause issues"} 
[2026-07-27 16:06:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":415,"corrected_to":0} 
[2026-07-27 16:06:45] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,8,87,24,241,157,16,144,159,43,45,128,229,12,25,10,66,248,217,23,143,166,192,1,240,221,227,163,234,4,113,205,18,29,152,239,50,2,140,5,9,6,54,200],"length":535,"final_offset":665,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1309278414,"validated":0},{"io_id":200,"original":415,"validated":0}]} 
[2026-07-27 16:06:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792724901258199040,"timestamp_seconds":792724901258199.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 16:06:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:06:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:06:45] local.INFO: Teltonika packet parsed successfully {"connection_id":144088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:06:45] local.INFO: Passing IMEI to GPS processor {"connection_id":144088,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:06:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":144088,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:06:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:06:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 16:06:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 16:06:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998032384001,"66":13189,"8":206,"87":13824,"24":0,"16":111623159186194432,"45":8995518068623697920},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-07-27 16:06:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 16:06:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 16:06:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998032384001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:06:45] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-07-27 16:06:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 16:06:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111623159186194432,"km_value":111623159186194.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:06:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8995518068623697920,"description":"Unknown IO ID 45"} 
[2026-07-27 16:06:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998032384001,"power":13189,"unknown_8":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8995518068623697920}} 
[2026-07-27 16:06:45] local.INFO: DEBUG: GPS processor result {"connection_id":144088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554033,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:06:45] local.INFO: GPS data processed {"connection_id":144088,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:06:45] local.INFO: Acknowledgment sent {"connection_id":144088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:07:09] local.INFO: TCP Data received {"connection_id":145382,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fa321d010012d9cd70005b360f8001a000923..."} 
[2026-07-27 16:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa321d010012d9cd70005b360f8001a000923..."} 
[2026-07-27 16:07:09] local.INFO: Processing buffer {"connection_id":145382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa321d010012d9cd70005b360f8001a000923..."} 
[2026-07-27 16:07:09] local.INFO: Packet analysis {"connection_id":145382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa321"} 
[2026-07-27 16:07:09] local.INFO: Extracted packet for processing {"connection_id":145382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa321"} 
[2026-07-27 16:07:09] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641848,"longitude_deg":76.5253376,"latitude_deg":9.5641848,"altitude":26,"angle":9,"satellites":35,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b360f8","is_valid_coordinates":true} 
[2026-07-27 16:07:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:07:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997894656001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:07:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359071309033897984,"note":"Value kept but may cause issues"} 
[2026-07-27 16:07:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7147775534106245120,"note":"Value kept but may cause issues"} 
[2026-07-27 16:07:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:07:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785148330000,"timestamp_ms":1785148330000,"timestamp_seconds":1785148330,"priority":1,"record_length":96,"hex_timestamp":"0000019fa321d010"} 
[2026-07-27 16:07:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:07:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 16: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-27 16:07:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:07:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:07:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:07:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:07:09] local.INFO: Teltonika packet parsed successfully {"connection_id":145382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:07:09] local.INFO: Passing IMEI to GPS processor {"connection_id":145382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:07:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":145382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:07:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:07:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:07:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:07:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997894656001,"66":26452,"226":206,"83":17408,"24":0,"16":359071309033897984,"45":-7147775534106245120},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-07-27 16:07:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:07:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:07:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997894656001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:07:09] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-27 16:07:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 16:07:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359071309033897984,"km_value":359071309033898.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:07:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7147775534106245120,"description":"Unknown IO ID 45"} 
[2026-07-27 16:07:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997894656001,"power":26452,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7147775534106245120}} 
[2026-07-27 16:07:09] local.INFO: DEBUG: GPS processor result {"connection_id":145382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:07:09] local.INFO: GPS data processed {"connection_id":145382,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:07:09] local.INFO: Acknowledgment sent {"connection_id":145382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:07:13] local.INFO: TCP Data received {"connection_id":145383,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145383,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:07:13] local.INFO: Processing buffer {"connection_id":145383,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:07:13] local.INFO: IMEI packet received {"connection_id":145383,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 16:07:13] local.INFO: IMEI acknowledgment sent {"connection_id":145383,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:07:17] local.INFO: TCP Data received {"connection_id":143103,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:07:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143103,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:07:17] local.INFO: Processing buffer {"connection_id":143103,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:07:17] local.INFO: IMEI packet received {"connection_id":143103,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 16:07:17] local.INFO: IMEI acknowledgment sent {"connection_id":143103,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:07:18] local.INFO: TCP Data received {"connection_id":145383,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145383,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:07:18] local.INFO: Processing buffer {"connection_id":145383,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:07:18] local.INFO: IMEI packet received {"connection_id":145383,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 16:07:18] local.INFO: IMEI acknowledgment sent {"connection_id":145383,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:07:18] local.INFO: TCP Data received {"connection_id":143103,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143103,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:07:18] local.INFO: Processing buffer {"connection_id":143103,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:07:18] local.INFO: IMEI packet received {"connection_id":143103,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 16:07:18] local.INFO: IMEI acknowledgment sent {"connection_id":143103,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:07:19] local.INFO: TCP Data received {"connection_id":143103,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:07:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143103,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:07:19] local.INFO: Processing buffer {"connection_id":143103,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:07:19] local.INFO: IMEI packet received {"connection_id":143103,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 16:07:19] local.INFO: IMEI acknowledgment sent {"connection_id":143103,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:07:19] local.INFO: TCP Data received {"connection_id":145383,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa325df20012d7cee4005eaed18000f004b18..."} 
[2026-07-27 16:07:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa325df20012d7cee4005eaed18000f004b18..."} 
[2026-07-27 16:07:19] local.INFO: Processing buffer {"connection_id":145383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa325df20012d7cee4005eaed18000f004b18..."} 
[2026-07-27 16:07:19] local.INFO: Packet analysis {"connection_id":145383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa325"} 
[2026-07-27 16:07:19] local.INFO: Extracted packet for processing {"connection_id":145383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa325"} 
[2026-07-27 16:07:19] local.INFO: GPS Element Parsed {"raw_longitude":763162176,"raw_latitude":99282200,"longitude_deg":76.3162176,"latitude_deg":9.92822,"altitude":15,"angle":75,"satellites":24,"speed":10,"hex_longitude":"2d7cee40","hex_latitude":"05eaed18","is_valid_coordinates":true} 
[2026-07-27 16: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-07-27 16:07:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998037760001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:07:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111623275150311424,"note":"Value kept but may cause issues"} 
[2026-07-27 16:07:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8999529087041869824,"note":"Value kept but may cause issues"} 
[2026-07-27 16:07:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:07:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785148596000,"timestamp_ms":1785148596000,"timestamp_seconds":1785148596,"priority":1,"record_length":96,"hex_timestamp":"0000019fa325df20"} 
[2026-07-27 16:07:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:07:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-27 16:07:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16: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-07-27 16:07:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:07:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:07:19] local.INFO: Teltonika packet parsed successfully {"connection_id":145383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:07:19] local.INFO: Passing IMEI to GPS processor {"connection_id":145383,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:07:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":145383,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:07:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:07:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 16:07:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 16:07:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998037760001,"66":12102,"8":206,"87":13824,"24":10,"16":111623275150311424,"45":8999529087041869824},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-07-27 16:07:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 16:07:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 16:07:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998037760001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:07:19] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-07-27 16:07:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 16:07:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111623275150311424,"km_value":111623275150311.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:07:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8999529087041869824,"description":"Unknown IO ID 45"} 
[2026-07-27 16:07:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998037760001,"power":12102,"unknown_8":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":8999529087041869824}} 
[2026-07-27 16:07:19] local.INFO: DEBUG: GPS processor result {"connection_id":145383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554035,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:07:19] local.INFO: GPS data processed {"connection_id":145383,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:07:19] local.INFO: Acknowledgment sent {"connection_id":145383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:07:19] local.INFO: TCP Data received {"connection_id":143103,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa32571c0012d0c6bc00704fb60002001471b..."} 
[2026-07-27 16:07:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143103,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa32571c0012d0c6bc00704fb60002001471b..."} 
[2026-07-27 16:07:19] local.INFO: Processing buffer {"connection_id":143103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa32571c0012d0c6bc00704fb60002001471b..."} 
[2026-07-27 16:07:19] local.INFO: Packet analysis {"connection_id":143103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa325"} 
[2026-07-27 16:07:19] local.INFO: Extracted packet for processing {"connection_id":143103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa325"} 
[2026-07-27 16:07:19] local.INFO: GPS Element Parsed {"raw_longitude":755788736,"raw_latitude":117767008,"longitude_deg":75.5788736,"latitude_deg":11.7767008,"altitude":32,"angle":327,"satellites":27,"speed":20,"hex_longitude":"2d0c6bc0","hex_latitude":"0704fb60","is_valid_coordinates":true} 
[2026-07-27 16: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-07-27 16:07:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998030592001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:07:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25929769832939520,"note":"Value kept but may cause issues"} 
[2026-07-27 16:07:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":901142168086167552,"note":"Value kept but may cause issues"} 
[2026-07-27 16:07:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:07:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785148568000,"timestamp_ms":1785148568000,"timestamp_seconds":1785148568,"priority":1,"record_length":96,"hex_timestamp":"0000019fa32571c0"} 
[2026-07-27 16:07:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:07:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-27 16:07:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16: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-07-27 16:07:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:07:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:07:19] local.INFO: Teltonika packet parsed successfully {"connection_id":143103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:07:19] local.INFO: Passing IMEI to GPS processor {"connection_id":143103,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 16:07:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":143103,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 16:07:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:07:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 16:07:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 16:07:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998030592001,"66":14428,"96":206,"94":10240,"24":20,"16":25929769832939520,"45":901142168086167552},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-07-27 16:07:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 16:07:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 16:07:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998030592001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:07:19] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-27 16:07:19] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 16:07:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25929769832939520,"km_value":25929769832939.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:07:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":901142168086167552,"description":"Unknown IO ID 45"} 
[2026-07-27 16:07:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998030592001,"power":14428,"unknown_96":206,"unknown_94":10240,"ignition":20,"odometer":null,"unknown_45":901142168086167552}} 
[2026-07-27 16:07:20] local.INFO: DEBUG: GPS processor result {"connection_id":143103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554036,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:07:20] local.INFO: GPS data processed {"connection_id":143103,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:07:20] local.INFO: Acknowledgment sent {"connection_id":143103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:07:20] local.INFO: TCP Data received {"connection_id":145383,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa325ead8012d7cf04005eaed30000e005817..."} 
[2026-07-27 16:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa325ead8012d7cf04005eaed30000e005817..."} 
[2026-07-27 16:07:20] local.INFO: Processing buffer {"connection_id":145383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa325ead8012d7cf04005eaed30000e005817..."} 
[2026-07-27 16:07:20] local.INFO: Packet analysis {"connection_id":145383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa325"} 
[2026-07-27 16:07:20] local.INFO: Extracted packet for processing {"connection_id":145383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa325"} 
[2026-07-27 16:07:20] local.INFO: GPS Element Parsed {"raw_longitude":763162688,"raw_latitude":99282224,"longitude_deg":76.3162688,"latitude_deg":9.9282224,"altitude":14,"angle":88,"satellites":23,"speed":3,"hex_longitude":"2d7cf040","hex_latitude":"05eaed30","is_valid_coordinates":true} 
[2026-07-27 16: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-07-27 16:07:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998040576001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:07:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111623300920115200,"note":"Value kept but may cause issues"} 
[2026-07-27 16:07:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9002203099320621056,"note":"Value kept but may cause issues"} 
[2026-07-27 16:07:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:07:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785148599000,"timestamp_ms":1785148599000,"timestamp_seconds":1785148599,"priority":1,"record_length":96,"hex_timestamp":"0000019fa325ead8"} 
[2026-07-27 16:07:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:07: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-07-27 16: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":47,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-27 16:07:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1063,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16: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-07-27 16:07:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:07:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:07:20] local.INFO: Teltonika packet parsed successfully {"connection_id":145383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:07:20] local.INFO: Passing IMEI to GPS processor {"connection_id":145383,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:07:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":145383,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:07:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:07:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 16:07:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 16:07:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998040576001,"66":12461,"158":206,"87":13824,"24":3,"16":111623300920115200,"45":9002203099320621056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-07-27 16:07:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 16:07:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 16:07:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998040576001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:07:20] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-07-27 16:07:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 16:07:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111623300920115200,"km_value":111623300920115.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:07:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9002203099320621056,"description":"Unknown IO ID 45"} 
[2026-07-27 16:07:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998040576001,"power":12461,"unknown_158":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":9002203099320621056}} 
[2026-07-27 16:07:20] local.INFO: DEBUG: GPS processor result {"connection_id":145383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554037,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:07:20] local.INFO: GPS data processed {"connection_id":145383,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:07:20] local.INFO: Acknowledgment sent {"connection_id":145383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:07:22] local.INFO: TCP Data received {"connection_id":143103,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3257990012d0c6a000704ff78002001551b..."} 
[2026-07-27 16:07:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143103,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3257990012d0c6a000704ff78002001551b..."} 
[2026-07-27 16:07:22] local.INFO: Processing buffer {"connection_id":143103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3257990012d0c6a000704ff78002001551b..."} 
[2026-07-27 16:07:22] local.INFO: Packet analysis {"connection_id":143103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa325"} 
[2026-07-27 16:07:22] local.INFO: Extracted packet for processing {"connection_id":143103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa325"} 
[2026-07-27 16:07:22] local.INFO: GPS Element Parsed {"raw_longitude":755788288,"raw_latitude":117768056,"longitude_deg":75.5788288,"latitude_deg":11.7768056,"altitude":32,"angle":341,"satellites":27,"speed":23,"hex_longitude":"2d0c6a00","hex_latitude":"0704ff78","is_valid_coordinates":true} 
[2026-07-27 16: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-07-27 16:07:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998033408001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:07:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25929829962481664,"note":"Value kept but may cause issues"} 
[2026-07-27 16:07:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":895020087344062464,"note":"Value kept but may cause issues"} 
[2026-07-27 16:07:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:07:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785148570000,"timestamp_ms":1785148570000,"timestamp_seconds":1785148570,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3257990"} 
[2026-07-27 16:07:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:07:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:07:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-27 16:07:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16: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-07-27 16:07:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:07:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:07:22] local.INFO: Teltonika packet parsed successfully {"connection_id":143103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:07:22] local.INFO: Passing IMEI to GPS processor {"connection_id":143103,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 16:07:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":143103,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 16:07:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:07:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 16:07:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 16:07:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998033408001,"66":14548,"96":206,"94":10240,"24":23,"16":25929829962481664,"45":895020087344062464},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-07-27 16:07:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 16:07:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 16:07:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998033408001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:07:22] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-27 16:07:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 16:07:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25929829962481664,"km_value":25929829962481.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:07:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":895020087344062464,"description":"Unknown IO ID 45"} 
[2026-07-27 16:07:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998033408001,"power":14548,"unknown_96":206,"unknown_94":10240,"ignition":23,"odometer":null,"unknown_45":895020087344062464}} 
[2026-07-27 16:07:22] local.INFO: DEBUG: GPS processor result {"connection_id":143103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554038,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:07:22] local.INFO: GPS data processed {"connection_id":143103,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:07:22] local.INFO: Acknowledgment sent {"connection_id":143103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:07:31] local.INFO: TCP Data received {"connection_id":144091,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:07:31] local.INFO: Processing buffer {"connection_id":144091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:07:31] local.INFO: IMEI packet received {"connection_id":144091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 16:07:31] local.INFO: IMEI acknowledgment sent {"connection_id":144091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:07:37] local.INFO: TCP Data received {"connection_id":144091,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:07:37] local.INFO: Processing buffer {"connection_id":144091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:07:37] local.INFO: IMEI packet received {"connection_id":144091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 16:07:37] local.INFO: IMEI acknowledgment sent {"connection_id":144091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:07:37] local.INFO: TCP Data received {"connection_id":144091,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fa321d010012d9cd70005b360f8001a000923..."} 
[2026-07-27 16:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa321d010012d9cd70005b360f8001a000923..."} 
[2026-07-27 16:07:37] local.INFO: Processing buffer {"connection_id":144091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa321d010012d9cd70005b360f8001a000923..."} 
[2026-07-27 16:07:37] local.INFO: Packet analysis {"connection_id":144091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa321"} 
[2026-07-27 16:07:37] local.INFO: Extracted packet for processing {"connection_id":144091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa321"} 
[2026-07-27 16:07:37] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641848,"longitude_deg":76.5253376,"latitude_deg":9.5641848,"altitude":26,"angle":9,"satellites":35,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b360f8","is_valid_coordinates":true} 
[2026-07-27 16:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997894656001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359071309033897984,"note":"Value kept but may cause issues"} 
[2026-07-27 16:07:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7147775534106245120,"note":"Value kept but may cause issues"} 
[2026-07-27 16:07:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785148330000,"timestamp_ms":1785148330000,"timestamp_seconds":1785148330,"priority":1,"record_length":96,"hex_timestamp":"0000019fa321d010"} 
[2026-07-27 16:07:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:07:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 16:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-27 16:07:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:07:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:07:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:07:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997894656001,"66":26452,"226":206,"83":17408,"24":0,"16":359071309033897984,"45":-7147775534106245120},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-07-27 16:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997894656001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:07:37] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-27 16:07:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 16:07:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359071309033897984,"km_value":359071309033898.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:07:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7147775534106245120,"description":"Unknown IO ID 45"} 
[2026-07-27 16:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997894656001,"power":26452,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7147775534106245120}} 
[2026-07-27 16:07:37] local.INFO: DEBUG: GPS processor result {"connection_id":144091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:07:37] local.INFO: GPS data processed {"connection_id":144091,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:07:37] local.INFO: Acknowledgment sent {"connection_id":144091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:07:51] local.INFO: TCP Data received {"connection_id":145383,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3260a18012d7cf08005eaed90000e014317..."} 
[2026-07-27 16:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3260a18012d7cf08005eaed90000e014317..."} 
[2026-07-27 16:07:51] local.INFO: Processing buffer {"connection_id":145383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3260a18012d7cf08005eaed90000e014317..."} 
[2026-07-27 16:07:51] local.INFO: Packet analysis {"connection_id":145383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa326"} 
[2026-07-27 16:07:51] local.INFO: Extracted packet for processing {"connection_id":145383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa326"} 
[2026-07-27 16:07:51] local.INFO: GPS Element Parsed {"raw_longitude":763162752,"raw_latitude":99282320,"longitude_deg":76.3162752,"latitude_deg":9.928232,"altitude":14,"angle":323,"satellites":23,"speed":2,"hex_longitude":"2d7cf080","hex_latitude":"05eaed90","is_valid_coordinates":true} 
[2026-07-27 16:07:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:07:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998041344001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:07:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111623318099984384,"note":"Value kept but may cause issues"} 
[2026-07-27 16:07:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9002766049274048512,"note":"Value kept but may cause issues"} 
[2026-07-27 16:07:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:07:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785148607000,"timestamp_ms":1785148607000,"timestamp_seconds":1785148607,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3260a18"} 
[2026-07-27 16:07:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:07:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:07:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-27 16:07:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:07:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:07:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:07:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:07:51] local.INFO: Teltonika packet parsed successfully {"connection_id":145383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:07:51] local.INFO: Passing IMEI to GPS processor {"connection_id":145383,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:07:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":145383,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:07:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:07:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 16:07:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 16:07:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998041344001,"66":12722,"158":206,"87":13824,"24":2,"16":111623318099984384,"45":9002766049274048512},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-07-27 16:07:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 16:07:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 16:07:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998041344001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:07:51] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-07-27 16:07:51] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 16:07:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111623318099984384,"km_value":111623318099984.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:07:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9002766049274048512,"description":"Unknown IO ID 45"} 
[2026-07-27 16:07:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998041344001,"power":12722,"unknown_158":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":9002766049274048512}} 
[2026-07-27 16:07:51] local.INFO: DEBUG: GPS processor result {"connection_id":145383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554040,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:07:51] local.INFO: GPS data processed {"connection_id":145383,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:07:51] local.INFO: Acknowledgment sent {"connection_id":145383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:08:06] local.INFO: TCP Data received {"connection_id":143103,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3258d18012d0c6780070508f8002101611b..."} 
[2026-07-27 16:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143103,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3258d18012d0c6780070508f8002101611b..."} 
[2026-07-27 16:08:06] local.INFO: Processing buffer {"connection_id":143103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3258d18012d0c6780070508f8002101611b..."} 
[2026-07-27 16:08:06] local.INFO: Packet analysis {"connection_id":143103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa325"} 
[2026-07-27 16:08:06] local.INFO: Extracted packet for processing {"connection_id":143103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa325"} 
[2026-07-27 16:08:06] local.INFO: GPS Element Parsed {"raw_longitude":755787648,"raw_latitude":117770488,"longitude_deg":75.5787648,"latitude_deg":11.7770488,"altitude":33,"angle":353,"satellites":27,"speed":12,"hex_longitude":"2d0c6780","hex_latitude":"070508f8","is_valid_coordinates":true} 
[2026-07-27 16:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:08:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998033920001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:08:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25929950221565952,"note":"Value kept but may cause issues"} 
[2026-07-27 16:08:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":894527506135087104,"note":"Value kept but may cause issues"} 
[2026-07-27 16:08:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:08:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785148575000,"timestamp_ms":1785148575000,"timestamp_seconds":1785148575,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3258d18"} 
[2026-07-27 16:08:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:08:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-27 16:08:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:08:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:08:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:08:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:08:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:08:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143103,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 16:08:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143103,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 16:08:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:08:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 16:08:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 16:08:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998033920001,"66":14428,"96":206,"94":10240,"24":12,"16":25929950221565952,"45":894527506135087104},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-07-27 16:08:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 16:08:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 16:08:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998033920001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:08:06] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-27 16:08:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 16:08:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25929950221565952,"km_value":25929950221565.953,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:08:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":894527506135087104,"description":"Unknown IO ID 45"} 
[2026-07-27 16:08:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998033920001,"power":14428,"unknown_96":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":894527506135087104}} 
[2026-07-27 16:08:06] local.INFO: DEBUG: GPS processor result {"connection_id":143103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554041,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:08:06] local.INFO: GPS data processed {"connection_id":143103,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:08:06] local.INFO: Acknowledgment sent {"connection_id":143103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:08:07] local.INFO: TCP Data received {"connection_id":142959,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142959,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:08:07] local.INFO: Processing buffer {"connection_id":142959,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:08:07] local.INFO: IMEI packet received {"connection_id":142959,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 16:08:07] local.INFO: IMEI acknowledgment sent {"connection_id":142959,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:08:08] local.INFO: TCP Data received {"connection_id":144091,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fa32667d8012d9cd70005b360f8001a00092b..."} 
[2026-07-27 16:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa32667d8012d9cd70005b360f8001a00092b..."} 
[2026-07-27 16:08:08] local.INFO: Processing buffer {"connection_id":144091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa32667d8012d9cd70005b360f8001a00092b..."} 
[2026-07-27 16:08:08] local.INFO: Packet analysis {"connection_id":144091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa326"} 
[2026-07-27 16:08:08] local.INFO: Extracted packet for processing {"connection_id":144091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa326"} 
[2026-07-27 16:08:08] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641848,"longitude_deg":76.5253376,"latitude_deg":9.5641848,"altitude":26,"angle":9,"satellites":43,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b360f8","is_valid_coordinates":true} 
[2026-07-27 16:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:08:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997972480001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:08:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359071309033897984,"note":"Value kept but may cause issues"} 
[2026-07-27 16:08:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315689472,"note":"Value kept but may cause issues"} 
[2026-07-27 16:08:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:08:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785148631000,"timestamp_ms":1785148631000,"timestamp_seconds":1785148631,"priority":1,"record_length":96,"hex_timestamp":"0000019fa32667d8"} 
[2026-07-27 16:08:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:08:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 16:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-07-27 16:08:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:08:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:08:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:08:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:08:08] local.INFO: Teltonika packet parsed successfully {"connection_id":144091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:08:08] local.INFO: Passing IMEI to GPS processor {"connection_id":144091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:08:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":144091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:08:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:08:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:08:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:08:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997972480001,"66":26147,"226":206,"83":17408,"24":0,"16":359071309033897984,"45":-7145242259315689472},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-07-27 16:08:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:08:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:08:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997972480001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:08:08] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-27 16:08:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 16:08:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359071309033897984,"km_value":359071309033898.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:08:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315689472,"description":"Unknown IO ID 45"} 
[2026-07-27 16:08:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997972480001,"power":26147,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315689472}} 
[2026-07-27 16:08:08] local.INFO: DEBUG: GPS processor result {"connection_id":144091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:08:08] local.INFO: GPS data processed {"connection_id":144091,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:08:08] local.INFO: Acknowledgment sent {"connection_id":144091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:08:13] local.INFO: TCP Data received {"connection_id":142959,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142959,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:08:13] local.INFO: Processing buffer {"connection_id":142959,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:08:13] local.INFO: IMEI packet received {"connection_id":142959,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 16:08:13] local.INFO: IMEI acknowledgment sent {"connection_id":142959,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:08:14] local.INFO: TCP Data received {"connection_id":143105,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143105,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:08:14] local.INFO: Processing buffer {"connection_id":143105,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:08:14] local.INFO: IMEI packet received {"connection_id":143105,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 16:08:14] local.INFO: IMEI acknowledgment sent {"connection_id":143105,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:08:14] local.INFO: TCP Data received {"connection_id":142959,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa32713b8012d7d200005eafc30000e00a318..."} 
[2026-07-27 16:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa32713b8012d7d200005eafc30000e00a318..."} 
[2026-07-27 16:08:14] local.INFO: Processing buffer {"connection_id":142959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa32713b8012d7d200005eafc30000e00a318..."} 
[2026-07-27 16:08:14] local.INFO: Packet analysis {"connection_id":142959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa327"} 
[2026-07-27 16:08:14] local.INFO: Extracted packet for processing {"connection_id":142959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa327"} 
[2026-07-27 16:08:14] local.INFO: GPS Element Parsed {"raw_longitude":763174912,"raw_latitude":99286064,"longitude_deg":76.3174912,"latitude_deg":9.9286064,"altitude":14,"angle":163,"satellites":24,"speed":10,"hex_longitude":"2d7d2000","hex_latitude":"05eafc30","is_valid_coordinates":true} 
[2026-07-27 16:08:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:08:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998060544001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:08:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111623940870242304,"note":"Value kept but may cause issues"} 
[2026-07-27 16:08:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015995373180473344,"note":"Value kept but may cause issues"} 
[2026-07-27 16:08:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:08:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785148675000,"timestamp_ms":1785148675000,"timestamp_seconds":1785148675,"priority":1,"record_length":96,"hex_timestamp":"0000019fa32713b8"} 
[2026-07-27 16:08:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:08:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:08:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-27 16:08: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-07-27 16:08:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:08:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:08:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:08:14] local.INFO: Teltonika packet parsed successfully {"connection_id":142959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:08:14] local.INFO: Passing IMEI to GPS processor {"connection_id":142959,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:08:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":142959,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:08:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:08:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 16:08:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 16:08:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998060544001,"66":12765,"158":206,"87":13824,"24":10,"16":111623940870242304,"45":9015995373180473344},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-07-27 16:08:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 16:08:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 16:08:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998060544001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:08:14] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-07-27 16:08:14] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 16:08:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111623940870242304,"km_value":111623940870242.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:08:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015995373180473344,"description":"Unknown IO ID 45"} 
[2026-07-27 16:08:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998060544001,"power":12765,"unknown_158":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":9015995373180473344}} 
[2026-07-27 16:08:14] local.INFO: DEBUG: GPS processor result {"connection_id":142959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554043,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:08:14] local.INFO: GPS data processed {"connection_id":142959,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:08:14] local.INFO: Acknowledgment sent {"connection_id":142959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:08:16] local.INFO: TCP Data received {"connection_id":143105,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143105,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:08:16] local.INFO: Processing buffer {"connection_id":143105,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:08:16] local.INFO: IMEI packet received {"connection_id":143105,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 16:08:16] local.INFO: IMEI acknowledgment sent {"connection_id":143105,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:08:17] local.INFO: TCP Data received {"connection_id":143105,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143105,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:08:17] local.INFO: Processing buffer {"connection_id":143105,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:08:17] local.INFO: IMEI packet received {"connection_id":143105,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 16:08:17] local.INFO: IMEI acknowledgment sent {"connection_id":143105,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:08:22] local.INFO: TCP Data received {"connection_id":143105,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:08:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143105,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:08:22] local.INFO: Processing buffer {"connection_id":143105,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:08:22] local.INFO: IMEI packet received {"connection_id":143105,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 16:08:22] local.INFO: IMEI acknowledgment sent {"connection_id":143105,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:08:31] local.INFO: TCP Data received {"connection_id":144092,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:08:31] local.INFO: Processing buffer {"connection_id":144092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:08:31] local.INFO: IMEI packet received {"connection_id":144092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 16:08:31] local.INFO: IMEI acknowledgment sent {"connection_id":144092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:08:37] local.INFO: TCP Data received {"connection_id":144092,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:08:37] local.INFO: Processing buffer {"connection_id":144092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:08:37] local.INFO: IMEI packet received {"connection_id":144092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 16:08:37] local.INFO: IMEI acknowledgment sent {"connection_id":144092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:08:38] local.INFO: TCP Data received {"connection_id":144092,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa32667d8012d9cd70005b360f8001a00092b..."} 
[2026-07-27 16:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa32667d8012d9cd70005b360f8001a00092b..."} 
[2026-07-27 16:08:38] local.INFO: Processing buffer {"connection_id":144092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa32667d8012d9cd70005b360f8001a00092b..."} 
[2026-07-27 16:08:38] local.INFO: Packet analysis {"connection_id":144092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa326"} 
[2026-07-27 16:08:38] local.INFO: Extracted packet for processing {"connection_id":144092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa326"} 
[2026-07-27 16:08:38] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641848,"longitude_deg":76.5253376,"latitude_deg":9.5641848,"altitude":26,"angle":9,"satellites":43,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b360f8","is_valid_coordinates":true} 
[2026-07-27 16:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:08:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997972480001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:08:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359071309033897984,"note":"Value kept but may cause issues"} 
[2026-07-27 16:08:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315689472,"note":"Value kept but may cause issues"} 
[2026-07-27 16:08:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:08:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785148631000,"timestamp_ms":1785148631000,"timestamp_seconds":1785148631,"priority":1,"record_length":96,"hex_timestamp":"0000019fa32667d8"} 
[2026-07-27 16:08:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:08:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 16:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-07-27 16:08:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:08:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:08:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:08:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:08:38] local.INFO: Teltonika packet parsed successfully {"connection_id":144092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:08:38] local.INFO: Passing IMEI to GPS processor {"connection_id":144092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:08:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":144092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:08:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:08:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:08:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:08:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997972480001,"66":26147,"226":206,"83":17408,"24":0,"16":359071309033897984,"45":-7145242259315689472},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-07-27 16:08:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:08:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:08:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997972480001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:08:38] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-27 16:08:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 16:08:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359071309033897984,"km_value":359071309033898.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:08:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315689472,"description":"Unknown IO ID 45"} 
[2026-07-27 16:08:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997972480001,"power":26147,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315689472}} 
[2026-07-27 16:08:38] local.INFO: DEBUG: GPS processor result {"connection_id":144092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:08:38] local.INFO: GPS data processed {"connection_id":144092,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:08:38] local.INFO: Acknowledgment sent {"connection_id":144092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:08:45] local.INFO: TCP Data received {"connection_id":142959,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa32717a0012d7d204005eafb38000e00b018..."} 
[2026-07-27 16:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa32717a0012d7d204005eafb38000e00b018..."} 
[2026-07-27 16:08:45] local.INFO: Processing buffer {"connection_id":142959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa32717a0012d7d204005eafb38000e00b018..."} 
[2026-07-27 16:08:45] local.INFO: Packet analysis {"connection_id":142959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa327"} 
[2026-07-27 16:08:45] local.INFO: Extracted packet for processing {"connection_id":142959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa327"} 
[2026-07-27 16:08:45] local.INFO: GPS Element Parsed {"raw_longitude":763174976,"raw_latitude":99285816,"longitude_deg":76.3174976,"latitude_deg":9.9285816,"altitude":14,"angle":176,"satellites":24,"speed":10,"hex_longitude":"2d7d2040","hex_latitude":"05eafb38","is_valid_coordinates":true} 
[2026-07-27 16:08:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:08:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998060800001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:08:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111623953755144192,"note":"Value kept but may cause issues"} 
[2026-07-27 16:08:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016206479412965376,"note":"Value kept but may cause issues"} 
[2026-07-27 16:08:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:08:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785148676000,"timestamp_ms":1785148676000,"timestamp_seconds":1785148676,"priority":1,"record_length":96,"hex_timestamp":"0000019fa32717a0"} 
[2026-07-27 16:08:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:08:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:08:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-27 16:08:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:08:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:08:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:08:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:08:45] local.INFO: Teltonika packet parsed successfully {"connection_id":142959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:08:45] local.INFO: Passing IMEI to GPS processor {"connection_id":142959,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:08:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":142959,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:08:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:08:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 16:08:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 16:08:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998060800001,"66":12765,"158":206,"87":13824,"24":10,"16":111623953755144192,"45":9016206479412965376},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-07-27 16:08:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 16:08:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 16:08:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998060800001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:08:45] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-07-27 16:08:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 16:08:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111623953755144192,"km_value":111623953755144.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:08:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016206479412965376,"description":"Unknown IO ID 45"} 
[2026-07-27 16:08:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998060800001,"power":12765,"unknown_158":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":9016206479412965376}} 
[2026-07-27 16:08:45] local.INFO: DEBUG: GPS processor result {"connection_id":142959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554045,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:08:45] local.INFO: GPS data processed {"connection_id":142959,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:08:45] local.INFO: Acknowledgment sent {"connection_id":142959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:09:09] local.INFO: TCP Data received {"connection_id":144092,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa32667d8012d9cd70005b360f8001a00092b..."} 
[2026-07-27 16:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa32667d8012d9cd70005b360f8001a00092b..."} 
[2026-07-27 16:09:09] local.INFO: Processing buffer {"connection_id":144092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa32667d8012d9cd70005b360f8001a00092b..."} 
[2026-07-27 16:09:09] local.INFO: Packet analysis {"connection_id":144092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa326"} 
[2026-07-27 16:09:09] local.INFO: Extracted packet for processing {"connection_id":144092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa326"} 
[2026-07-27 16:09:09] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641848,"longitude_deg":76.5253376,"latitude_deg":9.5641848,"altitude":26,"angle":9,"satellites":43,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b360f8","is_valid_coordinates":true} 
[2026-07-27 16:09:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:09:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997972480001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:09:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359071309033897984,"note":"Value kept but may cause issues"} 
[2026-07-27 16:09:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315689472,"note":"Value kept but may cause issues"} 
[2026-07-27 16:09:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:09:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785148631000,"timestamp_ms":1785148631000,"timestamp_seconds":1785148631,"priority":1,"record_length":96,"hex_timestamp":"0000019fa32667d8"} 
[2026-07-27 16:09:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:09:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-07-27 16:09:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:09:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:09:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:09:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:09:09] local.INFO: Teltonika packet parsed successfully {"connection_id":144092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:09:09] local.INFO: Passing IMEI to GPS processor {"connection_id":144092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:09:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":144092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:09:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:09:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:09:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:09:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997972480001,"66":26147,"226":206,"83":17408,"24":0,"16":359071309033897984,"45":-7145242259315689472},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-07-27 16:09:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:09:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:09:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997972480001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:09:09] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-27 16:09:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 16:09:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359071309033897984,"km_value":359071309033898.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:09:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315689472,"description":"Unknown IO ID 45"} 
[2026-07-27 16:09:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997972480001,"power":26147,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315689472}} 
[2026-07-27 16:09:09] local.INFO: DEBUG: GPS processor result {"connection_id":144092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:09:09] local.INFO: GPS data processed {"connection_id":144092,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:09:09] local.INFO: Acknowledgment sent {"connection_id":144092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:09:13] local.INFO: TCP Data received {"connection_id":145384,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145384,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:09:13] local.INFO: Processing buffer {"connection_id":145384,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:09:13] local.INFO: IMEI packet received {"connection_id":145384,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 16:09:13] local.INFO: IMEI acknowledgment sent {"connection_id":145384,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:09:14] local.INFO: TCP Data received {"connection_id":145384,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145384,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:09:14] local.INFO: Processing buffer {"connection_id":145384,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:09:14] local.INFO: IMEI packet received {"connection_id":145384,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 16:09:14] local.INFO: IMEI acknowledgment sent {"connection_id":145384,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:09:15] local.INFO: TCP Data received {"connection_id":145384,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3275238012d7d204005ead630001000b71a..."} 
[2026-07-27 16:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3275238012d7d204005ead630001000b71a..."} 
[2026-07-27 16:09:15] local.INFO: Processing buffer {"connection_id":145384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3275238012d7d204005ead630001000b71a..."} 
[2026-07-27 16:09:15] local.INFO: Packet analysis {"connection_id":145384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa327"} 
[2026-07-27 16:09:15] local.INFO: Extracted packet for processing {"connection_id":145384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa327"} 
[2026-07-27 16:09:15] local.INFO: GPS Element Parsed {"raw_longitude":763174976,"raw_latitude":99276336,"longitude_deg":76.3174976,"latitude_deg":9.9276336,"altitude":16,"angle":183,"satellites":26,"speed":34,"hex_longitude":"2d7d2040","hex_latitude":"05ead630","is_valid_coordinates":true} 
[2026-07-27 16: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-07-27 16:09:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998061056001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:09:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111624417611612160,"note":"Value kept but may cause issues"} 
[2026-07-27 16:09:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016276848157079552,"note":"Value kept but may cause issues"} 
[2026-07-27 16:09:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:09:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785148691000,"timestamp_ms":1785148691000,"timestamp_seconds":1785148691,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3275238"} 
[2026-07-27 16:09:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:09:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-27 16:09:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16: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-07-27 16:09:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:09:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:09:15] local.INFO: Teltonika packet parsed successfully {"connection_id":145384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:09:15] local.INFO: Passing IMEI to GPS processor {"connection_id":145384,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:09:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":145384,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:09:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:09:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 16:09:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 16:09:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998061056001,"66":12667,"158":206,"87":13824,"24":34,"16":111624417611612160,"45":9016276848157079552},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-07-27 16:09:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 16:09:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 16:09:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998061056001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:09:15] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-07-27 16:09:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 16:09:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111624417611612160,"km_value":111624417611612.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:09:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016276848157079552,"description":"Unknown IO ID 45"} 
[2026-07-27 16:09:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998061056001,"power":12667,"unknown_158":206,"unknown_87":13824,"ignition":34,"odometer":null,"unknown_45":9016276848157079552}} 
[2026-07-27 16:09:15] local.INFO: DEBUG: GPS processor result {"connection_id":145384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554047,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:09:15] local.INFO: GPS data processed {"connection_id":145384,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:09:15] local.INFO: Acknowledgment sent {"connection_id":145384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:09:19] local.INFO: TCP Data received {"connection_id":145384,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3278118012d7d1fc005eab1d8000d00b71a..."} 
[2026-07-27 16:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3278118012d7d1fc005eab1d8000d00b71a..."} 
[2026-07-27 16:09:19] local.INFO: Processing buffer {"connection_id":145384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3278118012d7d1fc005eab1d8000d00b71a..."} 
[2026-07-27 16:09:19] local.INFO: Packet analysis {"connection_id":145384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa327"} 
[2026-07-27 16:09:19] local.INFO: Extracted packet for processing {"connection_id":145384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa327"} 
[2026-07-27 16:09:19] local.INFO: GPS Element Parsed {"raw_longitude":763174848,"raw_latitude":99267032,"longitude_deg":76.3174848,"latitude_deg":9.9267032,"altitude":13,"angle":183,"satellites":26,"speed":28,"hex_longitude":"2d7d1fc0","hex_latitude":"05eab1d8","is_valid_coordinates":true} 
[2026-07-27 16: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-07-27 16:09:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998064896001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:09:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111624868583178240,"note":"Value kept but may cause issues"} 
[2026-07-27 16:09:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016276848154652672,"note":"Value kept but may cause issues"} 
[2026-07-27 16:09:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:09:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785148703000,"timestamp_ms":1785148703000,"timestamp_seconds":1785148703,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3278118"} 
[2026-07-27 16:09:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:09: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-07-27 16: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-07-27 16:09: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-07-27 16: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-07-27 16:09:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:09:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:09:19] local.INFO: Teltonika packet parsed successfully {"connection_id":145384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:09:19] local.INFO: Passing IMEI to GPS processor {"connection_id":145384,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:09:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":145384,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:09:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:09:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 16:09:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 16:09:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998064896001,"66":12917,"158":206,"87":13824,"24":28,"16":111624868583178240,"45":9016276848154652672},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-07-27 16:09:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 16:09:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 16:09:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998064896001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:09:19] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-07-27 16:09:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 16:09:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111624868583178240,"km_value":111624868583178.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:09:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016276848154652672,"description":"Unknown IO ID 45"} 
[2026-07-27 16:09:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998064896001,"power":12917,"unknown_158":206,"unknown_87":13824,"ignition":28,"odometer":null,"unknown_45":9016276848154652672}} 
[2026-07-27 16:09:19] local.INFO: DEBUG: GPS processor result {"connection_id":145384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554048,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:09:19] local.INFO: GPS data processed {"connection_id":145384,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:09:19] local.INFO: Acknowledgment sent {"connection_id":145384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:09:20] local.INFO: TCP Data received {"connection_id":143105,"ip":"42.106.6.29","data_length":1340,"data_hex":"000000000000030f8e0a0000019fa3259cb8012d0c670007050d28002200061b..."} 
[2026-07-27 16:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143105,"packet_length":1340,"packet_hex":"000000000000030f8e0a0000019fa3259cb8012d0c670007050d28002200061b..."} 
[2026-07-27 16:09:20] local.INFO: Processing buffer {"connection_id":143105,"buffer_length":1340,"buffer_hex":"000000000000030f8e0a0000019fa3259cb8012d0c670007050d28002200061b..."} 
[2026-07-27 16:09:20] local.INFO: Packet analysis {"connection_id":143105,"data_field_length":783,"total_packet_length":795,"buffer_length":1340,"packet_hex_start":"000000000000030f8e0a0000019fa325"} 
[2026-07-27 16:09:20] local.INFO: Extracted packet for processing {"connection_id":143105,"packet_length":795,"remaining_buffer_length":545,"packet_hex_start":"000000000000030f8e0a0000019fa325"} 
[2026-07-27 16:09:20] local.INFO: GPS Element Parsed {"raw_longitude":755787520,"raw_latitude":117771560,"longitude_deg":75.578752,"latitude_deg":11.777156,"altitude":34,"angle":6,"satellites":27,"speed":8,"hex_longitude":"2d0c6700","hex_latitude":"07050d28","is_valid_coordinates":true} 
[2026-07-27 16: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-07-27 16:09:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998035200001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:09:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25930001761173504,"note":"Value kept but may cause issues"} 
[2026-07-27 16:09:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":893823818693933056,"note":"Value kept but may cause issues"} 
[2026-07-27 16:09:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:09:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785148579000,"timestamp_ms":1785148579000,"timestamp_seconds":1785148579,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3259cb8"} 
[2026-07-27 16:09:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:09:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:09:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-27 16:09:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16: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-07-27 16:09:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:09:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:09:20] local.INFO: Teltonika packet parsed successfully {"connection_id":143105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:09:20] local.INFO: Passing IMEI to GPS processor {"connection_id":143105,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 16:09:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":143105,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 16:09:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:09:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 16:09:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 16:09:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998035200001,"66":14559,"96":206,"94":10240,"24":8,"16":25930001761173504,"45":893823818693933056},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-07-27 16:09:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 16:09:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 16:09:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998035200001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:09:20] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-27 16:09:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 16:09:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25930001761173504,"km_value":25930001761173.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:09:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":893823818693933056,"description":"Unknown IO ID 45"} 
[2026-07-27 16:09:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998035200001,"power":14559,"unknown_96":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":893823818693933056}} 
[2026-07-27 16:09:20] local.INFO: DEBUG: GPS processor result {"connection_id":143105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554049,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:09:20] local.INFO: GPS data processed {"connection_id":143105,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:09:20] local.INFO: Acknowledgment sent {"connection_id":143105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:09:20] local.INFO: Packet analysis {"connection_id":143105,"data_field_length":783,"total_packet_length":795,"buffer_length":545,"packet_hex_start":"000000000000030f8e0a0000019fa327"} 
[2026-07-27 16:09:20] local.INFO: Incomplete packet, waiting for more data {"connection_id":143105,"needed":795,"available":545} 
[2026-07-27 16:09:21] local.INFO: TCP Data received {"connection_id":143105,"ip":"42.106.6.29","data_length":250,"data_hex":"e30010005c1fbb000000000000019fa326a270012d0c64c0070515500023015b..."} 
[2026-07-27 16:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143105,"packet_length":250,"packet_hex":"e30010005c1fbb000000000000019fa326a270012d0c64c0070515500023015b..."} 
[2026-07-27 16:09:21] local.INFO: Processing buffer {"connection_id":143105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa32794a0012d0c048007059718002901221b..."} 
[2026-07-27 16:09:21] local.INFO: Packet analysis {"connection_id":143105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa327"} 
[2026-07-27 16:09:21] local.INFO: Extracted packet for processing {"connection_id":143105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa327"} 
[2026-07-27 16:09:21] local.INFO: GPS Element Parsed {"raw_longitude":755762304,"raw_latitude":117806872,"longitude_deg":75.5762304,"latitude_deg":11.7806872,"altitude":41,"angle":290,"satellites":27,"speed":34,"hex_longitude":"2d0c0480","hex_latitude":"07059718","is_valid_coordinates":true} 
[2026-07-27 16:09:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:09:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998066176001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:09:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25932269503905792,"note":"Value kept but may cause issues"} 
[2026-07-27 16:09:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":875809420192952320,"note":"Value kept but may cause issues"} 
[2026-07-27 16:09:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:09:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785148708000,"timestamp_ms":1785148708000,"timestamp_seconds":1785148708,"priority":1,"record_length":96,"hex_timestamp":"0000019fa32794a0"} 
[2026-07-27 16:09:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:09:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:09:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-27 16:09:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:09:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:09:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:09:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:09:21] local.INFO: Teltonika packet parsed successfully {"connection_id":143105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:09:21] local.INFO: Passing IMEI to GPS processor {"connection_id":143105,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 16:09:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":143105,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 16:09:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:09:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 16:09:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 16:09:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998066176001,"66":14450,"164":206,"94":10240,"24":34,"16":25932269503905792,"45":875809420192952320},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-07-27 16:09:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 16:09:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 16:09:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998066176001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:09:21] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-07-27 16:09:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 16:09:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25932269503905792,"km_value":25932269503905.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:09:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":875809420192952320,"description":"Unknown IO ID 45"} 
[2026-07-27 16:09:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998066176001,"power":14450,"unknown_164":206,"unknown_94":10240,"ignition":34,"odometer":null,"unknown_45":875809420192952320}} 
[2026-07-27 16:09:21] local.INFO: DEBUG: GPS processor result {"connection_id":143105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554050,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:09:21] local.INFO: GPS data processed {"connection_id":143105,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:09:21] local.INFO: Acknowledgment sent {"connection_id":143105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:09:21] local.INFO: TCP Data received {"connection_id":143106,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143106,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:09:21] local.INFO: Processing buffer {"connection_id":143106,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:09:21] local.INFO: IMEI packet received {"connection_id":143106,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 16:09:21] local.INFO: IMEI acknowledgment sent {"connection_id":143106,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:09:27] local.INFO: TCP Data received {"connection_id":143106,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143106,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:09:27] local.INFO: Processing buffer {"connection_id":143106,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:09:27] local.INFO: IMEI packet received {"connection_id":143106,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 16:09:27] local.INFO: IMEI acknowledgment sent {"connection_id":143106,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:09:27] local.INFO: TCP Data received {"connection_id":143106,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa327bbb0012d0be2400705a310002701261b..."} 
[2026-07-27 16:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa327bbb0012d0be2400705a310002701261b..."} 
[2026-07-27 16:09:27] local.INFO: Processing buffer {"connection_id":143106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa327bbb0012d0be2400705a310002701261b..."} 
[2026-07-27 16:09:27] local.INFO: Packet analysis {"connection_id":143106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa327"} 
[2026-07-27 16:09:27] local.INFO: Extracted packet for processing {"connection_id":143106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa327"} 
[2026-07-27 16:09:27] local.INFO: GPS Element Parsed {"raw_longitude":755753536,"raw_latitude":117809936,"longitude_deg":75.5753536,"latitude_deg":11.7809936,"altitude":39,"angle":294,"satellites":27,"speed":35,"hex_longitude":"2d0be240","hex_latitude":"0705a310","is_valid_coordinates":true} 
[2026-07-27 16:09:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:09:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998069248001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:09:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25932711885537280,"note":"Value kept but may cause issues"} 
[2026-07-27 16:09:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":865957796008892416,"note":"Value kept but may cause issues"} 
[2026-07-27 16:09:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:09:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785148718000,"timestamp_ms":1785148718000,"timestamp_seconds":1785148718,"priority":1,"record_length":96,"hex_timestamp":"0000019fa327bbb0"} 
[2026-07-27 16:09:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:09:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-27 16:09:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:09:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:09:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:09:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:09:27] local.INFO: Teltonika packet parsed successfully {"connection_id":143106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:09:27] local.INFO: Passing IMEI to GPS processor {"connection_id":143106,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 16:09:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":143106,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 16:09:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:09:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 16:09:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 16:09:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998069248001,"66":14407,"164":206,"94":10240,"24":35,"16":25932711885537280,"45":865957796008892416},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-07-27 16:09:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 16:09:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 16:09:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998069248001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:09:27] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-07-27 16:09:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 16:09:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25932711885537280,"km_value":25932711885537.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:09:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":865957796008892416,"description":"Unknown IO ID 45"} 
[2026-07-27 16:09:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998069248001,"power":14407,"unknown_164":206,"unknown_94":10240,"ignition":35,"odometer":null,"unknown_45":865957796008892416}} 
[2026-07-27 16:09:28] local.INFO: DEBUG: GPS processor result {"connection_id":143106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554051,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:09:28] local.INFO: GPS data processed {"connection_id":143106,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:09:28] local.INFO: Acknowledgment sent {"connection_id":143106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:09:37] local.INFO: TCP Data received {"connection_id":145385,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:09:37] local.INFO: Processing buffer {"connection_id":145385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:09:37] local.INFO: IMEI packet received {"connection_id":145385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 16:09:37] local.INFO: IMEI acknowledgment sent {"connection_id":145385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:09:42] local.INFO: TCP Data received {"connection_id":145385,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:09:42] local.INFO: Processing buffer {"connection_id":145385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:09:42] local.INFO: IMEI packet received {"connection_id":145385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 16:09:42] local.INFO: IMEI acknowledgment sent {"connection_id":145385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:09:42] local.INFO: TCP Data received {"connection_id":145385,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa32667d8012d9cd70005b360f8001a00092b..."} 
[2026-07-27 16:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa32667d8012d9cd70005b360f8001a00092b..."} 
[2026-07-27 16:09:42] local.INFO: Processing buffer {"connection_id":145385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa32667d8012d9cd70005b360f8001a00092b..."} 
[2026-07-27 16:09:42] local.INFO: Packet analysis {"connection_id":145385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa326"} 
[2026-07-27 16:09:42] local.INFO: Extracted packet for processing {"connection_id":145385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa326"} 
[2026-07-27 16:09:42] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641848,"longitude_deg":76.5253376,"latitude_deg":9.5641848,"altitude":26,"angle":9,"satellites":43,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b360f8","is_valid_coordinates":true} 
[2026-07-27 16: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-07-27 16:09:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997972480001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:09:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359071309033897984,"note":"Value kept but may cause issues"} 
[2026-07-27 16:09:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315689472,"note":"Value kept but may cause issues"} 
[2026-07-27 16:09:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:09:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785148631000,"timestamp_ms":1785148631000,"timestamp_seconds":1785148631,"priority":1,"record_length":96,"hex_timestamp":"0000019fa32667d8"} 
[2026-07-27 16:09:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:09:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 16: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":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-07-27 16:09:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16: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-07-27 16:09:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:09:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:09:42] local.INFO: Teltonika packet parsed successfully {"connection_id":145385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:09:42] local.INFO: Passing IMEI to GPS processor {"connection_id":145385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:09:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":145385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:09:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:09:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:09:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:09:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997972480001,"66":26147,"226":206,"83":17408,"24":0,"16":359071309033897984,"45":-7145242259315689472},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-07-27 16:09:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:09:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:09:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997972480001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:09:42] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-27 16:09:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 16:09:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359071309033897984,"km_value":359071309033898.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:09:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315689472,"description":"Unknown IO ID 45"} 
[2026-07-27 16:09:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997972480001,"power":26147,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315689472}} 
[2026-07-27 16:09:42] local.INFO: DEBUG: GPS processor result {"connection_id":145385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:09:42] local.INFO: GPS data processed {"connection_id":145385,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:09:42] local.INFO: Acknowledgment sent {"connection_id":145385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:09:47] local.INFO: TCP Data received {"connection_id":145385,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa32667d8012d9cd70005b360f8001a00092b..."} 
[2026-07-27 16:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa32667d8012d9cd70005b360f8001a00092b..."} 
[2026-07-27 16:09:47] local.INFO: Processing buffer {"connection_id":145385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa32667d8012d9cd70005b360f8001a00092b..."} 
[2026-07-27 16:09:47] local.INFO: Packet analysis {"connection_id":145385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa326"} 
[2026-07-27 16:09:47] local.INFO: Extracted packet for processing {"connection_id":145385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa326"} 
[2026-07-27 16:09:47] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641848,"longitude_deg":76.5253376,"latitude_deg":9.5641848,"altitude":26,"angle":9,"satellites":43,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b360f8","is_valid_coordinates":true} 
[2026-07-27 16:09:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:09:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997972480001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:09:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359071309033897984,"note":"Value kept but may cause issues"} 
[2026-07-27 16:09:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315689472,"note":"Value kept but may cause issues"} 
[2026-07-27 16:09:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:09:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785148631000,"timestamp_ms":1785148631000,"timestamp_seconds":1785148631,"priority":1,"record_length":96,"hex_timestamp":"0000019fa32667d8"} 
[2026-07-27 16:09:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:09:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 16:09:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-07-27 16:09:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:09:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:09:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:09:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:09:47] local.INFO: Teltonika packet parsed successfully {"connection_id":145385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:09:47] local.INFO: Passing IMEI to GPS processor {"connection_id":145385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:09:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":145385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:09: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-07-27 16:09:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:09:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:09:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997972480001,"66":26147,"226":206,"83":17408,"24":0,"16":359071309033897984,"45":-7145242259315689472},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-07-27 16:09:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:09:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:09:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997972480001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:09:47] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-27 16:09:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 16:09:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359071309033897984,"km_value":359071309033898.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:09:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315689472,"description":"Unknown IO ID 45"} 
[2026-07-27 16:09:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997972480001,"power":26147,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315689472}} 
[2026-07-27 16:09:47] local.INFO: DEBUG: GPS processor result {"connection_id":145385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:09:47] local.INFO: GPS data processed {"connection_id":145385,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:09:47] local.INFO: Acknowledgment sent {"connection_id":145385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:09:50] local.INFO: TCP Data received {"connection_id":145384,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa327bbb0012d7d1dc005ea8ee8000f00b81a..."} 
[2026-07-27 16:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa327bbb0012d7d1dc005ea8ee8000f00b81a..."} 
[2026-07-27 16:09:50] local.INFO: Processing buffer {"connection_id":145384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa327bbb0012d7d1dc005ea8ee8000f00b81a..."} 
[2026-07-27 16:09:50] local.INFO: Packet analysis {"connection_id":145384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa327"} 
[2026-07-27 16:09:50] local.INFO: Extracted packet for processing {"connection_id":145384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa327"} 
[2026-07-27 16:09:50] local.INFO: GPS Element Parsed {"raw_longitude":763174336,"raw_latitude":99258088,"longitude_deg":76.3174336,"latitude_deg":9.9258088,"altitude":15,"angle":184,"satellites":26,"speed":24,"hex_longitude":"2d7d1dc0","hex_latitude":"05ea8ee8","is_valid_coordinates":true} 
[2026-07-27 16: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-07-27 16:09:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998067968001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:09:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111625302374875136,"note":"Value kept but may cause issues"} 
[2026-07-27 16:09:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016136110663915520,"note":"Value kept but may cause issues"} 
[2026-07-27 16:09:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:09:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785148718000,"timestamp_ms":1785148718000,"timestamp_seconds":1785148718,"priority":1,"record_length":96,"hex_timestamp":"0000019fa327bbb0"} 
[2026-07-27 16:09:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:09:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16: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":117,"data_length":795,"current_offset":136} 
[2026-07-27 16:09:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16: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-07-27 16:09:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:09:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:09:50] local.INFO: Teltonika packet parsed successfully {"connection_id":145384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:09:50] local.INFO: Passing IMEI to GPS processor {"connection_id":145384,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:09:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":145384,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:09:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:09:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 16:09:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 16:09:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998067968001,"66":12374,"158":206,"87":13824,"24":24,"16":111625302374875136,"45":9016136110663915520},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-07-27 16:09:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 16:09:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 16:09:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998067968001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:09:50] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-07-27 16:09:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 16:09:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111625302374875136,"km_value":111625302374875.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:09:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016136110663915520,"description":"Unknown IO ID 45"} 
[2026-07-27 16:09:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998067968001,"power":12374,"unknown_158":206,"unknown_87":13824,"ignition":24,"odometer":null,"unknown_45":9016136110663915520}} 
[2026-07-27 16:09:50] local.INFO: DEBUG: GPS processor result {"connection_id":145384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554054,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:09:50] local.INFO: GPS data processed {"connection_id":145384,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:09:50] local.INFO: Acknowledgment sent {"connection_id":145384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:09:58] local.INFO: TCP Data received {"connection_id":143106,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa327d320012d0bcf800705ae48002401351b..."} 
[2026-07-27 16:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa327d320012d0bcf800705ae48002401351b..."} 
[2026-07-27 16:09:58] local.INFO: Processing buffer {"connection_id":143106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa327d320012d0bcf800705ae48002401351b..."} 
[2026-07-27 16:09:58] local.INFO: Packet analysis {"connection_id":143106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa327"} 
[2026-07-27 16:09:58] local.INFO: Extracted packet for processing {"connection_id":143106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa327"} 
[2026-07-27 16:09:58] local.INFO: GPS Element Parsed {"raw_longitude":755748736,"raw_latitude":117812808,"longitude_deg":75.5748736,"latitude_deg":11.7812808,"altitude":36,"angle":309,"satellites":27,"speed":39,"hex_longitude":"2d0bcf80","hex_latitude":"0705ae48","is_valid_coordinates":true} 
[2026-07-27 16:09:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:09:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998071808001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:09:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25932982468476928,"note":"Value kept but may cause issues"} 
[2026-07-27 16:09:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":856317278057336832,"note":"Value kept but may cause issues"} 
[2026-07-27 16:09:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:09:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785148724000,"timestamp_ms":1785148724000,"timestamp_seconds":1785148724,"priority":1,"record_length":96,"hex_timestamp":"0000019fa327d320"} 
[2026-07-27 16:09:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:09:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:09:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-27 16:09:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:09:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:09:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:09:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:09:58] local.INFO: Teltonika packet parsed successfully {"connection_id":143106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:09:58] local.INFO: Passing IMEI to GPS processor {"connection_id":143106,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 16:09:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":143106,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 16:09:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:09:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 16:09:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 16:09:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998071808001,"66":14396,"164":206,"94":10240,"24":39,"16":25932982468476928,"45":856317278057336832},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-07-27 16:09:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 16:09:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 16:09:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998071808001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:09:58] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-07-27 16:09:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 16:09:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25932982468476928,"km_value":25932982468476.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:09:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":856317278057336832,"description":"Unknown IO ID 45"} 
[2026-07-27 16:09:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998071808001,"power":14396,"unknown_164":206,"unknown_94":10240,"ignition":39,"odometer":null,"unknown_45":856317278057336832}} 
[2026-07-27 16:09:58] local.INFO: DEBUG: GPS processor result {"connection_id":143106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554055,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:09:58] local.INFO: GPS data processed {"connection_id":143106,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:09:58] local.INFO: Acknowledgment sent {"connection_id":143106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:10:04] local.INFO: TCP Data received {"connection_id":142961,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142961,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:10:04] local.INFO: Processing buffer {"connection_id":142961,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:10:04] local.INFO: IMEI packet received {"connection_id":142961,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 16:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":142961,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:10:04] local.INFO: TCP Data received {"connection_id":145386,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145386,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:10:04] local.INFO: Processing buffer {"connection_id":145386,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:10:04] local.INFO: IMEI packet received {"connection_id":145386,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 16:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":145386,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:10:05] local.INFO: TCP Data received {"connection_id":142961,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142961,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:10:05] local.INFO: Processing buffer {"connection_id":142961,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:10:05] local.INFO: IMEI packet received {"connection_id":142961,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 16:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":142961,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:10:05] local.INFO: TCP Data received {"connection_id":145386,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3278500012d1825000721b7f8004c01272b..."} 
[2026-07-27 16:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3278500012d1825000721b7f8004c01272b..."} 
[2026-07-27 16:10:05] local.INFO: Processing buffer {"connection_id":145386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3278500012d1825000721b7f8004c01272b..."} 
[2026-07-27 16:10:05] local.INFO: Packet analysis {"connection_id":145386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa327"} 
[2026-07-27 16:10:05] local.INFO: Extracted packet for processing {"connection_id":145386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa327"} 
[2026-07-27 16:10:05] local.INFO: GPS Element Parsed {"raw_longitude":756557056,"raw_latitude":119650296,"longitude_deg":75.6557056,"latitude_deg":11.9650296,"altitude":76,"angle":295,"satellites":43,"speed":0,"hex_longitude":"2d182500","hex_latitude":"0721b7f8","is_valid_coordinates":true} 
[2026-07-27 16:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:10:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998062848001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:10:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8887180688621568,"note":"Value kept but may cause issues"} 
[2026-07-27 16:10:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739796861679040512,"note":"Value kept but may cause issues"} 
[2026-07-27 16:10:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:10:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785148704000,"timestamp_ms":1785148704000,"timestamp_seconds":1785148704,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3278500"} 
[2026-07-27 16:10:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:10:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-07-27 16:10:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:10:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:10:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:10:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:10:05] local.INFO: Teltonika packet parsed successfully {"connection_id":145386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:10:05] local.INFO: Passing IMEI to GPS processor {"connection_id":145386,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:10:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":145386,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:10:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:10:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 16:10:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 16:10:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998062848001,"66":12939,"120":206,"28":31744,"24":0,"16":8887180688621568,"45":1739796861679040512},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 16:10:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 16:10:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 16:10:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998062848001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:10:05] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 16:10:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 16:10:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8887180688621568,"km_value":8887180688621.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:10:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739796861679040512,"description":"Unknown IO ID 45"} 
[2026-07-27 16:10:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998062848001,"power":12939,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739796861679040512}} 
[2026-07-27 16:10:06] local.INFO: DEBUG: GPS processor result {"connection_id":145386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554056,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:10:06] local.INFO: GPS data processed {"connection_id":145386,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:10:06] local.INFO: Acknowledgment sent {"connection_id":145386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:10:06] local.INFO: TCP Data received {"connection_id":142961,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142961,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:10:06] local.INFO: Processing buffer {"connection_id":142961,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:10:06] local.INFO: IMEI packet received {"connection_id":142961,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 16:10:06] local.INFO: IMEI acknowledgment sent {"connection_id":142961,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:10:08] local.INFO: TCP Data received {"connection_id":142961,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142961,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:10:08] local.INFO: Processing buffer {"connection_id":142961,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:10:08] local.INFO: IMEI packet received {"connection_id":142961,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 16:10:08] local.INFO: IMEI acknowledgment sent {"connection_id":142961,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:10:16] local.INFO: TCP Data received {"connection_id":143107,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143107,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:10:16] local.INFO: Processing buffer {"connection_id":143107,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:10:16] local.INFO: IMEI packet received {"connection_id":143107,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 16:10:16] local.INFO: IMEI acknowledgment sent {"connection_id":143107,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:10:22] local.INFO: TCP Data received {"connection_id":143107,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:10:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143107,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:10:22] local.INFO: Processing buffer {"connection_id":143107,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:10:22] local.INFO: IMEI packet received {"connection_id":143107,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 16:10:22] local.INFO: IMEI acknowledgment sent {"connection_id":143107,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:10:22] local.INFO: TCP Data received {"connection_id":143107,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa327f648012d0bb2400705c6280024012e1b..."} 
[2026-07-27 16:10:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa327f648012d0bb2400705c6280024012e1b..."} 
[2026-07-27 16:10:22] local.INFO: Processing buffer {"connection_id":143107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa327f648012d0bb2400705c6280024012e1b..."} 
[2026-07-27 16:10:22] local.INFO: Packet analysis {"connection_id":143107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa327"} 
[2026-07-27 16:10:22] local.INFO: Extracted packet for processing {"connection_id":143107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa327"} 
[2026-07-27 16:10:22] local.INFO: GPS Element Parsed {"raw_longitude":755741248,"raw_latitude":117818920,"longitude_deg":75.5741248,"latitude_deg":11.781892,"altitude":36,"angle":302,"satellites":27,"speed":44,"hex_longitude":"2d0bb240","hex_latitude":"0705c628","is_valid_coordinates":true} 
[2026-07-27 16: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-07-27 16:10:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998073344001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:10:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25933442029977600,"note":"Value kept but may cause issues"} 
[2026-07-27 16:10:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":851039622244747264,"note":"Value kept but may cause issues"} 
[2026-07-27 16:10:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:10:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785148733000,"timestamp_ms":1785148733000,"timestamp_seconds":1785148733,"priority":1,"record_length":96,"hex_timestamp":"0000019fa327f648"} 
[2026-07-27 16:10:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:10:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-27 16:10:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16: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-07-27 16:10:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:10:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:10:22] local.INFO: Teltonika packet parsed successfully {"connection_id":143107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:10:22] local.INFO: Passing IMEI to GPS processor {"connection_id":143107,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 16:10:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":143107,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 16:10:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:10:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 16:10:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 16:10:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998073344001,"66":14450,"164":206,"94":10240,"24":44,"16":25933442029977600,"45":851039622244747264},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-07-27 16:10:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 16:10:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 16:10:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998073344001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:10:22] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-07-27 16:10:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 16:10:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25933442029977600,"km_value":25933442029977.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:10:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":851039622244747264,"description":"Unknown IO ID 45"} 
[2026-07-27 16:10:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998073344001,"power":14450,"unknown_164":206,"unknown_94":10240,"ignition":44,"odometer":null,"unknown_45":851039622244747264}} 
[2026-07-27 16:10:22] local.INFO: DEBUG: GPS processor result {"connection_id":143107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554057,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:10:22] local.INFO: GPS data processed {"connection_id":143107,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:10:22] local.INFO: Acknowledgment sent {"connection_id":143107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:10:32] local.INFO: TCP Data received {"connection_id":144093,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:10:32] local.INFO: Processing buffer {"connection_id":144093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:10:32] local.INFO: IMEI packet received {"connection_id":144093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 16:10:32] local.INFO: IMEI acknowledgment sent {"connection_id":144093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:10:37] local.INFO: TCP Data received {"connection_id":144093,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:10:37] local.INFO: Processing buffer {"connection_id":144093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:10:37] local.INFO: IMEI packet received {"connection_id":144093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 16:10:37] local.INFO: IMEI acknowledgment sent {"connection_id":144093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:10:37] local.INFO: TCP Data received {"connection_id":145386,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa327daf0012d1825000721b7f8004c012729..."} 
[2026-07-27 16:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa327daf0012d1825000721b7f8004c012729..."} 
[2026-07-27 16:10:37] local.INFO: Processing buffer {"connection_id":145386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa327daf0012d1825000721b7f8004c012729..."} 
[2026-07-27 16:10:37] local.INFO: Packet analysis {"connection_id":145386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa327"} 
[2026-07-27 16:10:37] local.INFO: Extracted packet for processing {"connection_id":145386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa327"} 
[2026-07-27 16:10:37] local.INFO: GPS Element Parsed {"raw_longitude":756557056,"raw_latitude":119650296,"longitude_deg":75.6557056,"latitude_deg":11.9650296,"altitude":76,"angle":295,"satellites":41,"speed":0,"hex_longitude":"2d182500","hex_latitude":"0721b7f8","is_valid_coordinates":true} 
[2026-07-27 16:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998068224001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8887180688621568,"note":"Value kept but may cause issues"} 
[2026-07-27 16:10:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739796861679040512,"note":"Value kept but may cause issues"} 
[2026-07-27 16:10:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785148726000,"timestamp_ms":1785148726000,"timestamp_seconds":1785148726,"priority":1,"record_length":96,"hex_timestamp":"0000019fa327daf0"} 
[2026-07-27 16:10:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:10:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-27 16:10:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:10:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:10:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145386,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145386,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:10:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 16:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 16:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998068224001,"66":12841,"120":206,"28":31744,"24":0,"16":8887180688621568,"45":1739796861679040512},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 16:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 16:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 16:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998068224001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:10:37] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 16:10:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 16:10:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8887180688621568,"km_value":8887180688621.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:10:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739796861679040512,"description":"Unknown IO ID 45"} 
[2026-07-27 16:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998068224001,"power":12841,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739796861679040512}} 
[2026-07-27 16:10:38] local.INFO: TCP Data received {"connection_id":144093,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fa32667d8012d9cd70005b360f8001a00092b..."} 
[2026-07-27 16:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa32667d8012d9cd70005b360f8001a00092b..."} 
[2026-07-27 16:10:38] local.INFO: Processing buffer {"connection_id":144093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa32667d8012d9cd70005b360f8001a00092b..."} 
[2026-07-27 16:10:38] local.INFO: Packet analysis {"connection_id":144093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa326"} 
[2026-07-27 16:10:38] local.INFO: Extracted packet for processing {"connection_id":144093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa326"} 
[2026-07-27 16:10:38] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641848,"longitude_deg":76.5253376,"latitude_deg":9.5641848,"altitude":26,"angle":9,"satellites":43,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b360f8","is_valid_coordinates":true} 
[2026-07-27 16:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:10:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997972480001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:10:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359071309033897984,"note":"Value kept but may cause issues"} 
[2026-07-27 16:10:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315689472,"note":"Value kept but may cause issues"} 
[2026-07-27 16:10:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:10:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785148631000,"timestamp_ms":1785148631000,"timestamp_seconds":1785148631,"priority":1,"record_length":96,"hex_timestamp":"0000019fa32667d8"} 
[2026-07-27 16:10:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:10:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 16: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":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-07-27 16:10:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:10:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:10:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:10:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:10:38] local.INFO: Teltonika packet parsed successfully {"connection_id":144093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:10:38] local.INFO: Passing IMEI to GPS processor {"connection_id":144093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:10:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":144093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:10:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:10:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:10:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:10:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997972480001,"66":26147,"226":206,"83":17408,"24":0,"16":359071309033897984,"45":-7145242259315689472},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-07-27 16:10:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:10:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:10:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997972480001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:10:38] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-27 16:10:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 16:10:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359071309033897984,"km_value":359071309033898.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:10:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315689472,"description":"Unknown IO ID 45"} 
[2026-07-27 16:10:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997972480001,"power":26147,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315689472}} 
[2026-07-27 16:10:38] local.INFO: DEBUG: GPS processor result {"connection_id":145386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554058,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:10:38] local.INFO: GPS data processed {"connection_id":145386,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:10:38] local.INFO: Acknowledgment sent {"connection_id":145386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:10:38] local.INFO: DEBUG: GPS processor result {"connection_id":144093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:10:38] local.INFO: GPS data processed {"connection_id":144093,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:10:38] local.INFO: Acknowledgment sent {"connection_id":144093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:10:53] local.INFO: TCP Data received {"connection_id":143107,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3294a20012d0b520007060610001a00c71c..."} 
[2026-07-27 16:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3294a20012d0b520007060610001a00c71c..."} 
[2026-07-27 16:10:53] local.INFO: Processing buffer {"connection_id":143107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3294a20012d0b520007060610001a00c71c..."} 
[2026-07-27 16:10:53] local.INFO: Packet analysis {"connection_id":143107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa329"} 
[2026-07-27 16:10:53] local.INFO: Extracted packet for processing {"connection_id":143107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa329"} 
[2026-07-27 16:10:53] local.INFO: GPS Element Parsed {"raw_longitude":755716608,"raw_latitude":117835280,"longitude_deg":75.5716608,"latitude_deg":11.783528,"altitude":26,"angle":199,"satellites":28,"speed":3,"hex_longitude":"2d0b5200","hex_latitude":"07060610","is_valid_coordinates":true} 
[2026-07-27 16:10:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:10:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998093824001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:10:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25935147131994112,"note":"Value kept but may cause issues"} 
[2026-07-27 16:10:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":816347831371225088,"note":"Value kept but may cause issues"} 
[2026-07-27 16:10:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:10:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785148820000,"timestamp_ms":1785148820000,"timestamp_seconds":1785148820,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3294a20"} 
[2026-07-27 16:10:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:10:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:10:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-07-27 16:10:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1900,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:10:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:10:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:10:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:10:53] local.INFO: Teltonika packet parsed successfully {"connection_id":143107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:10:53] local.INFO: Passing IMEI to GPS processor {"connection_id":143107,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 16:10:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":143107,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 16:10:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:10:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 16:10:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 16:10:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998093824001,"66":14559,"165":206,"94":10240,"24":3,"16":25935147131994112,"45":816347831371225088},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-07-27 16:10:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 16:10:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 16:10:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998093824001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:10:53] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-27 16:10:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 16:10:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25935147131994112,"km_value":25935147131994.113,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:10:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":816347831371225088,"description":"Unknown IO ID 45"} 
[2026-07-27 16:10:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998093824001,"power":14559,"unknown_165":206,"unknown_94":10240,"ignition":3,"odometer":null,"unknown_45":816347831371225088}} 
[2026-07-27 16:10:54] local.INFO: DEBUG: GPS processor result {"connection_id":143107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554060,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:10:54] local.INFO: GPS data processed {"connection_id":143107,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:10:54] local.INFO: Acknowledgment sent {"connection_id":143107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:10:59] local.INFO: TCP Data received {"connection_id":144094,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144094,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:10:59] local.INFO: Processing buffer {"connection_id":144094,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:10:59] local.INFO: IMEI packet received {"connection_id":144094,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 16:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":144094,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:11:05] local.INFO: TCP Data received {"connection_id":144094,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144094,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:11:05] local.INFO: Processing buffer {"connection_id":144094,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:11:05] local.INFO: IMEI packet received {"connection_id":144094,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 16:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":144094,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:11:06] local.INFO: TCP Data received {"connection_id":144094,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3282cf8012d1825000721b7f8004c01272b..."} 
[2026-07-27 16:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3282cf8012d1825000721b7f8004c01272b..."} 
[2026-07-27 16:11:06] local.INFO: Processing buffer {"connection_id":144094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3282cf8012d1825000721b7f8004c01272b..."} 
[2026-07-27 16:11:06] local.INFO: Packet analysis {"connection_id":144094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa328"} 
[2026-07-27 16:11:06] local.INFO: Extracted packet for processing {"connection_id":144094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa328"} 
[2026-07-27 16:11:06] local.INFO: GPS Element Parsed {"raw_longitude":756557056,"raw_latitude":119650296,"longitude_deg":75.6557056,"latitude_deg":11.9650296,"altitude":76,"angle":295,"satellites":43,"speed":0,"hex_longitude":"2d182500","hex_latitude":"0721b7f8","is_valid_coordinates":true} 
[2026-07-27 16:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998073856001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8887180688621568,"note":"Value kept but may cause issues"} 
[2026-07-27 16:11:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739796861679040512,"note":"Value kept but may cause issues"} 
[2026-07-27 16:11:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785148747000,"timestamp_ms":1785148747000,"timestamp_seconds":1785148747,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3282cf8"} 
[2026-07-27 16:11:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:11:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-27 16:11:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:11:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:11:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":144094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":144094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":144094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:11:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 16:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 16:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998073856001,"66":12809,"120":206,"28":31744,"24":0,"16":8887180688621568,"45":1739796861679040512},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 16:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 16:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 16:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998073856001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:11:06] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 16:11:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 16:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8887180688621568,"km_value":8887180688621.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:11:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739796861679040512,"description":"Unknown IO ID 45"} 
[2026-07-27 16:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998073856001,"power":12809,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739796861679040512}} 
[2026-07-27 16:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":144094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554061,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:11:06] local.INFO: GPS data processed {"connection_id":144094,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:11:06] local.INFO: Acknowledgment sent {"connection_id":144094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:11:09] local.INFO: TCP Data received {"connection_id":144093,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fa32667d8012d9cd70005b360f8001a00092b..."} 
[2026-07-27 16:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa32667d8012d9cd70005b360f8001a00092b..."} 
[2026-07-27 16:11:09] local.INFO: Processing buffer {"connection_id":144093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa32667d8012d9cd70005b360f8001a00092b..."} 
[2026-07-27 16:11:09] local.INFO: Packet analysis {"connection_id":144093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa326"} 
[2026-07-27 16:11:09] local.INFO: Extracted packet for processing {"connection_id":144093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa326"} 
[2026-07-27 16:11:09] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641848,"longitude_deg":76.5253376,"latitude_deg":9.5641848,"altitude":26,"angle":9,"satellites":43,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b360f8","is_valid_coordinates":true} 
[2026-07-27 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-07-27 16:11:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997972480001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:11:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359071309033897984,"note":"Value kept but may cause issues"} 
[2026-07-27 16:11:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315689472,"note":"Value kept but may cause issues"} 
[2026-07-27 16:11:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:11:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785148631000,"timestamp_ms":1785148631000,"timestamp_seconds":1785148631,"priority":1,"record_length":96,"hex_timestamp":"0000019fa32667d8"} 
[2026-07-27 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-07-27 16:11:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-07-27 16:11:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 16:11:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:11:09] local.INFO: Teltonika packet parsed successfully {"connection_id":144093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:11:09] local.INFO: Passing IMEI to GPS processor {"connection_id":144093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:11:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":144093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:11:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:11:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:11:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:11:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997972480001,"66":26147,"226":206,"83":17408,"24":0,"16":359071309033897984,"45":-7145242259315689472},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-07-27 16:11:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:11:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:11:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997972480001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:11:09] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-27 16:11:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 16:11:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359071309033897984,"km_value":359071309033898.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:11:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315689472,"description":"Unknown IO ID 45"} 
[2026-07-27 16:11:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997972480001,"power":26147,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315689472}} 
[2026-07-27 16:11:09] local.INFO: DEBUG: GPS processor result {"connection_id":144093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:11:09] local.INFO: GPS data processed {"connection_id":144093,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:11:09] local.INFO: Acknowledgment sent {"connection_id":144093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:11:22] local.INFO: TCP Data received {"connection_id":142962,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142962,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:11:22] local.INFO: Processing buffer {"connection_id":142962,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:11:22] local.INFO: IMEI packet received {"connection_id":142962,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 16:11:22] local.INFO: IMEI acknowledgment sent {"connection_id":142962,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:11:22] local.INFO: TCP Data received {"connection_id":142962,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142962,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:11:22] local.INFO: Processing buffer {"connection_id":142962,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:11:22] local.INFO: IMEI packet received {"connection_id":142962,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 16:11:22] local.INFO: IMEI acknowledgment sent {"connection_id":142962,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:11:27] local.INFO: TCP Data received {"connection_id":142962,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142962,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:11:27] local.INFO: Processing buffer {"connection_id":142962,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:11:27] local.INFO: IMEI packet received {"connection_id":142962,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 16:11:27] local.INFO: IMEI acknowledgment sent {"connection_id":142962,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:11:27] local.INFO: TCP Data received {"connection_id":142962,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3299840012d0b4f0007060080001a00cb1c..."} 
[2026-07-27 16:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3299840012d0b4f0007060080001a00cb1c..."} 
[2026-07-27 16:11:27] local.INFO: Processing buffer {"connection_id":142962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3299840012d0b4f0007060080001a00cb1c..."} 
[2026-07-27 16:11:27] local.INFO: Packet analysis {"connection_id":142962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa329"} 
[2026-07-27 16:11:27] local.INFO: Extracted packet for processing {"connection_id":142962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa329"} 
[2026-07-27 16:11:27] local.INFO: GPS Element Parsed {"raw_longitude":755715840,"raw_latitude":117833856,"longitude_deg":75.571584,"latitude_deg":11.7833856,"altitude":26,"angle":203,"satellites":28,"speed":3,"hex_longitude":"2d0b4f00","hex_latitude":"07060080","is_valid_coordinates":true} 
[2026-07-27 16:11:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:11:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998097920001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:11:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25935233031340032,"note":"Value kept but may cause issues"} 
[2026-07-27 16:11:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":815714512673312768,"note":"Value kept but may cause issues"} 
[2026-07-27 16:11:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:11:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785148840000,"timestamp_ms":1785148840000,"timestamp_seconds":1785148840,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3299840"} 
[2026-07-27 16:11:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:11:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:11:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-27 16:11:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:11:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:11:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:11:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:11:27] local.INFO: Teltonika packet parsed successfully {"connection_id":142962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:11:27] local.INFO: Passing IMEI to GPS processor {"connection_id":142962,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 16:11:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":142962,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 16:11:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:11:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 16:11:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 16:11:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998097920001,"66":14439,"165":206,"94":10240,"24":3,"16":25935233031340032,"45":815714512673312768},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-07-27 16:11:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 16:11:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 16:11:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998097920001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:11:27] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-27 16:11:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 16:11:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25935233031340032,"km_value":25935233031340.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:11:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":815714512673312768,"description":"Unknown IO ID 45"} 
[2026-07-27 16:11:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998097920001,"power":14439,"unknown_165":206,"unknown_94":10240,"ignition":3,"odometer":null,"unknown_45":815714512673312768}} 
[2026-07-27 16:11:28] local.INFO: DEBUG: GPS processor result {"connection_id":142962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554063,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:11:28] local.INFO: GPS data processed {"connection_id":142962,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:11:28] local.INFO: Acknowledgment sent {"connection_id":142962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:11:32] local.INFO: TCP Data received {"connection_id":142962,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa329abc8012d0b4ec00705fff8001a00d71c..."} 
[2026-07-27 16:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa329abc8012d0b4ec00705fff8001a00d71c..."} 
[2026-07-27 16:11:32] local.INFO: Processing buffer {"connection_id":142962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa329abc8012d0b4ec00705fff8001a00d71c..."} 
[2026-07-27 16:11:32] local.INFO: Packet analysis {"connection_id":142962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa329"} 
[2026-07-27 16:11:32] local.INFO: Extracted packet for processing {"connection_id":142962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa329"} 
[2026-07-27 16:11:32] local.INFO: GPS Element Parsed {"raw_longitude":755715776,"raw_latitude":117833720,"longitude_deg":75.5715776,"latitude_deg":11.783372,"altitude":26,"angle":215,"satellites":28,"speed":0,"hex_longitude":"2d0b4ec0","hex_latitude":"0705fff8","is_valid_coordinates":true} 
[2026-07-27 16:11:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:11:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998103040001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:11:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25935241621274624,"note":"Value kept but may cause issues"} 
[2026-07-27 16:11:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":814870087742816256,"note":"Value kept but may cause issues"} 
[2026-07-27 16:11:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:11:32] local.INFO: AVL Record Parsed {"raw_timestamp":1785148845000,"timestamp_ms":1785148845000,"timestamp_seconds":1785148845,"priority":1,"record_length":96,"hex_timestamp":"0000019fa329abc8"} 
[2026-07-27 16:11:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:11:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:11:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-27 16:11:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:11:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:11:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:11:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:11:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:11:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142962,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 16:11:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142962,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 16:11:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:11:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 16:11:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 16:11:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998103040001,"66":14439,"165":206,"94":10240,"24":0,"16":25935241621274624,"45":814870087742816256},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-07-27 16:11:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 16:11:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 16:11:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998103040001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:11:32] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-27 16:11:32] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 16:11:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25935241621274624,"km_value":25935241621274.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:11:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":814870087742816256,"description":"Unknown IO ID 45"} 
[2026-07-27 16:11:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998103040001,"power":14439,"unknown_165":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":814870087742816256}} 
[2026-07-27 16:11:32] local.INFO: DEBUG: GPS processor result {"connection_id":142962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554064,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:11:32] local.INFO: GPS data processed {"connection_id":142962,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:11:32] local.INFO: Acknowledgment sent {"connection_id":142962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:11:32] local.INFO: TCP Data received {"connection_id":145387,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:11:32] local.INFO: Processing buffer {"connection_id":145387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:11:32] local.INFO: IMEI packet received {"connection_id":145387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 16:11:32] local.INFO: IMEI acknowledgment sent {"connection_id":145387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:11:37] local.INFO: TCP Data received {"connection_id":145387,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:11:37] local.INFO: Processing buffer {"connection_id":145387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:11:37] local.INFO: IMEI packet received {"connection_id":145387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 16:11:37] local.INFO: IMEI acknowledgment sent {"connection_id":145387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:11:37] local.INFO: TCP Data received {"connection_id":144094,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa32834c8012d1824800721b7b8004a00d12b..."} 
[2026-07-27 16:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa32834c8012d1824800721b7b8004a00d12b..."} 
[2026-07-27 16:11:37] local.INFO: Processing buffer {"connection_id":144094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa32834c8012d1824800721b7b8004a00d12b..."} 
[2026-07-27 16:11:37] local.INFO: Packet analysis {"connection_id":144094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa328"} 
[2026-07-27 16:11:37] local.INFO: Extracted packet for processing {"connection_id":144094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa328"} 
[2026-07-27 16:11:37] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119650232,"longitude_deg":75.6556928,"latitude_deg":11.9650232,"altitude":74,"angle":209,"satellites":43,"speed":7,"hex_longitude":"2d182480","hex_latitude":"0721b7b8","is_valid_coordinates":true} 
[2026-07-27 16:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998079232001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8887189278556160,"note":"Value kept but may cause issues"} 
[2026-07-27 16:11:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739796861679040512,"note":"Value kept but may cause issues"} 
[2026-07-27 16:11:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785148749000,"timestamp_ms":1785148749000,"timestamp_seconds":1785148749,"priority":1,"record_length":96,"hex_timestamp":"0000019fa32834c8"} 
[2026-07-27 16:11:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:11:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-07-27 16:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720575940547052544,"note":"Value kept but may cause issues"} 
[2026-07-27 16:11:37] local.WARNING: Large IO value detected {"io_id":146,"raw_value":3623878656,"note":"Value kept but may cause issues"} 
[2026-07-27 16:11:37] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2737212160,"note":"Value kept but may cause issues"} 
[2026-07-27 16:11:37] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-27 16:11:37] local.WARNING: Large IO value detected {"io_id":163,"raw_value":2776214088627791040,"note":"Value kept but may cause issues"} 
[2026-07-27 16:11:37] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3086483532,"note":"Value kept but may cause issues"} 
[2026-07-27 16:11:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-07-27 16:11:37] local.WARNING: Large IO value detected {"io_id":142,"raw_value":3892391192,"note":"Value kept but may cause issues"} 
[2026-07-27 16:11:37] local.WARNING: Large IO value detected {"io_id":51,"raw_value":7998619332244459036,"note":"Value kept but may cause issues"} 
[2026-07-27 16:11:37] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2463105024,"note":"Value kept but may cause issues"} 
[2026-07-27 16:11:37] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2429146642474074412,"note":"Value kept but may cause issues"} 
[2026-07-27 16:11:37] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755429505958129,"note":"Value kept but may cause issues"} 
[2026-07-27 16:11:37] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,120,28,24,241,158,16,146,159,218,45,183,76,41,10,66,133,43,50,1,240,193,163,33,4,113,205,142,36,96,44,239,51,2,31,7,77,124,206],"length":535,"final_offset":665,"validated_count":39,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-07-27 16:11:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476701687496310784,"timestamp_seconds":5476701687496311.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 16:11:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:11:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 16:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 16:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998079232001,"66":12798,"120":206,"28":31744,"24":7,"16":8887189278556160,"45":1739796861679040512},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 16:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 16:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 16:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998079232001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:11:37] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 16:11:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 16:11:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8887189278556160,"km_value":8887189278556.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:11:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739796861679040512,"description":"Unknown IO ID 45"} 
[2026-07-27 16:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998079232001,"power":12798,"unknown_120":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1739796861679040512}} 
[2026-07-27 16:11:38] local.INFO: DEBUG: GPS processor result {"connection_id":144094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554065,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:11:38] local.INFO: GPS data processed {"connection_id":144094,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:11:38] local.INFO: Acknowledgment sent {"connection_id":144094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:11:38] local.INFO: TCP Data received {"connection_id":145387,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fa32667d8012d9cd70005b360f8001a00092b..."} 
[2026-07-27 16:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145387,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa32667d8012d9cd70005b360f8001a00092b..."} 
[2026-07-27 16:11:38] local.INFO: Processing buffer {"connection_id":145387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa32667d8012d9cd70005b360f8001a00092b..."} 
[2026-07-27 16:11:38] local.INFO: Packet analysis {"connection_id":145387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa326"} 
[2026-07-27 16:11:38] local.INFO: Extracted packet for processing {"connection_id":145387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa326"} 
[2026-07-27 16:11:38] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641848,"longitude_deg":76.5253376,"latitude_deg":9.5641848,"altitude":26,"angle":9,"satellites":43,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b360f8","is_valid_coordinates":true} 
[2026-07-27 16:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:11:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997972480001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:11:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359071309033897984,"note":"Value kept but may cause issues"} 
[2026-07-27 16:11:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315689472,"note":"Value kept but may cause issues"} 
[2026-07-27 16:11:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:11:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785148631000,"timestamp_ms":1785148631000,"timestamp_seconds":1785148631,"priority":1,"record_length":96,"hex_timestamp":"0000019fa32667d8"} 
[2026-07-27 16:11:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:11:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 16:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-07-27 16:11:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:11:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:11:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:11:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:11:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:11:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:11:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:11:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:11:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:11:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:11:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997972480001,"66":26147,"226":206,"83":17408,"24":0,"16":359071309033897984,"45":-7145242259315689472},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-07-27 16:11:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:11:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:11:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997972480001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:11:38] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-27 16:11:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 16:11:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359071309033897984,"km_value":359071309033898.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:11:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315689472,"description":"Unknown IO ID 45"} 
[2026-07-27 16:11:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997972480001,"power":26147,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315689472}} 
[2026-07-27 16:11:38] local.INFO: DEBUG: GPS processor result {"connection_id":145387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:11:38] local.INFO: GPS data processed {"connection_id":145387,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:11:38] local.INFO: Acknowledgment sent {"connection_id":145387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:11:59] local.INFO: TCP Data received {"connection_id":142963,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142963,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:11:59] local.INFO: Processing buffer {"connection_id":142963,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:11:59] local.INFO: IMEI packet received {"connection_id":142963,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 16:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":142963,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:12:04] local.INFO: TCP Data received {"connection_id":142963,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142963,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:12:04] local.INFO: Processing buffer {"connection_id":142963,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:12:04] local.INFO: IMEI packet received {"connection_id":142963,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 16:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":142963,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:12:06] local.INFO: TCP Data received {"connection_id":142963,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa32886d0012d1823800721b610004a00cf2c..."} 
[2026-07-27 16:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142963,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa32886d0012d1823800721b610004a00cf2c..."} 
[2026-07-27 16:12:06] local.INFO: Processing buffer {"connection_id":142963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa32886d0012d1823800721b610004a00cf2c..."} 
[2026-07-27 16:12:06] local.INFO: Packet analysis {"connection_id":142963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa328"} 
[2026-07-27 16:12:06] local.INFO: Extracted packet for processing {"connection_id":142963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa328"} 
[2026-07-27 16:12:06] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119649808,"longitude_deg":75.6556672,"latitude_deg":11.9649808,"altitude":74,"angle":207,"satellites":44,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b610","is_valid_coordinates":true} 
[2026-07-27 16:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:12:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998079744001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:12:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8887210753392640,"note":"Value kept but may cause issues"} 
[2026-07-27 16:12:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190668800,"note":"Value kept but may cause issues"} 
[2026-07-27 16:12:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:12:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785148770000,"timestamp_ms":1785148770000,"timestamp_seconds":1785148770,"priority":1,"record_length":96,"hex_timestamp":"0000019fa32886d0"} 
[2026-07-27 16:12:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:12:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-27 16:12:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:12:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:12:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:12:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:12:06] local.INFO: Teltonika packet parsed successfully {"connection_id":142963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:12:06] local.INFO: Passing IMEI to GPS processor {"connection_id":142963,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:12:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":142963,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:12:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:12:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 16:12:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 16:12:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998079744001,"66":12743,"120":206,"28":31744,"24":0,"16":8887210753392640,"45":1739656124190668800},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 16:12:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 16:12:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 16:12:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998079744001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:12:06] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 16:12:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 16:12:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8887210753392640,"km_value":8887210753392.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:12:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190668800,"description":"Unknown IO ID 45"} 
[2026-07-27 16:12:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998079744001,"power":12743,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739656124190668800}} 
[2026-07-27 16:12:06] local.INFO: DEBUG: GPS processor result {"connection_id":142963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554067,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:12:06] local.INFO: GPS data processed {"connection_id":142963,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:12:06] local.INFO: Acknowledgment sent {"connection_id":142963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:12:09] local.INFO: TCP Data received {"connection_id":145387,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fa32667d8012d9cd70005b360f8001a00092b..."} 
[2026-07-27 16:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145387,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa32667d8012d9cd70005b360f8001a00092b..."} 
[2026-07-27 16:12:09] local.INFO: Processing buffer {"connection_id":145387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa32667d8012d9cd70005b360f8001a00092b..."} 
[2026-07-27 16:12:09] local.INFO: Packet analysis {"connection_id":145387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa326"} 
[2026-07-27 16:12:09] local.INFO: Extracted packet for processing {"connection_id":145387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa326"} 
[2026-07-27 16:12:09] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641848,"longitude_deg":76.5253376,"latitude_deg":9.5641848,"altitude":26,"angle":9,"satellites":43,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b360f8","is_valid_coordinates":true} 
[2026-07-27 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-07-27 16:12:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997972480001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:12:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359071309033897984,"note":"Value kept but may cause issues"} 
[2026-07-27 16:12:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315689472,"note":"Value kept but may cause issues"} 
[2026-07-27 16:12:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:12:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785148631000,"timestamp_ms":1785148631000,"timestamp_seconds":1785148631,"priority":1,"record_length":96,"hex_timestamp":"0000019fa32667d8"} 
[2026-07-27 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-07-27 16:12:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-07-27 16:12:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 16:12:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:12:09] local.INFO: Teltonika packet parsed successfully {"connection_id":145387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:12:09] local.INFO: Passing IMEI to GPS processor {"connection_id":145387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:12:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":145387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:12:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:12:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:12:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:12:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997972480001,"66":26147,"226":206,"83":17408,"24":0,"16":359071309033897984,"45":-7145242259315689472},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-07-27 16:12:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:12:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:12:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997972480001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:12:09] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-27 16:12:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 16:12:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359071309033897984,"km_value":359071309033898.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:12:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315689472,"description":"Unknown IO ID 45"} 
[2026-07-27 16:12:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997972480001,"power":26147,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315689472}} 
[2026-07-27 16:12:09] local.INFO: DEBUG: GPS processor result {"connection_id":145387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:12:09] local.INFO: GPS data processed {"connection_id":145387,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:12:09] local.INFO: Acknowledgment sent {"connection_id":145387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:12:32] local.INFO: TCP Data received {"connection_id":144095,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:12:32] local.INFO: Processing buffer {"connection_id":144095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:12:32] local.INFO: IMEI packet received {"connection_id":144095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 16:12:32] local.INFO: IMEI acknowledgment sent {"connection_id":144095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:12:37] local.INFO: TCP Data received {"connection_id":144095,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:12:37] local.INFO: Processing buffer {"connection_id":144095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:12:37] local.INFO: IMEI packet received {"connection_id":144095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 16:12:37] local.INFO: IMEI acknowledgment sent {"connection_id":144095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:12:37] local.INFO: TCP Data received {"connection_id":142963,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa328d8d8012d1823800721b610004a00cf29..."} 
[2026-07-27 16:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142963,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa328d8d8012d1823800721b610004a00cf29..."} 
[2026-07-27 16:12:37] local.INFO: Processing buffer {"connection_id":142963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa328d8d8012d1823800721b610004a00cf29..."} 
[2026-07-27 16:12:37] local.INFO: Packet analysis {"connection_id":142963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa328"} 
[2026-07-27 16:12:37] local.INFO: Extracted packet for processing {"connection_id":142963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa328"} 
[2026-07-27 16:12:37] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119649808,"longitude_deg":75.6556672,"latitude_deg":11.9649808,"altitude":74,"angle":207,"satellites":41,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b610","is_valid_coordinates":true} 
[2026-07-27 16:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:12:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998085120001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:12:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8887210753392640,"note":"Value kept but may cause issues"} 
[2026-07-27 16:12:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213849600,"note":"Value kept but may cause issues"} 
[2026-07-27 16:12:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:12:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785148791000,"timestamp_ms":1785148791000,"timestamp_seconds":1785148791,"priority":1,"record_length":96,"hex_timestamp":"0000019fa328d8d8"} 
[2026-07-27 16:12:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:12:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-07-27 16:12:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:12:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:12:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:12:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:12:37] local.INFO: Teltonika packet parsed successfully {"connection_id":142963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:12:37] local.INFO: Passing IMEI to GPS processor {"connection_id":142963,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:12:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":142963,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:12:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:12:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 16:12:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 16:12:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998085120001,"66":12678,"120":206,"28":31744,"24":0,"16":8887210753392640,"45":1739374649213849600},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 16:12:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 16:12:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 16:12:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998085120001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:12:37] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 16:12:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 16:12:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8887210753392640,"km_value":8887210753392.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:12:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213849600,"description":"Unknown IO ID 45"} 
[2026-07-27 16:12:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998085120001,"power":12678,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739374649213849600}} 
[2026-07-27 16:12:37] local.INFO: DEBUG: GPS processor result {"connection_id":142963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554069,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:12:37] local.INFO: GPS data processed {"connection_id":142963,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:12:37] local.INFO: Acknowledgment sent {"connection_id":142963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:12:38] local.INFO: TCP Data received {"connection_id":144095,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa32667d8012d9cd70005b360f8001a00092b..."} 
[2026-07-27 16:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144095,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa32667d8012d9cd70005b360f8001a00092b..."} 
[2026-07-27 16:12:38] local.INFO: Processing buffer {"connection_id":144095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa32667d8012d9cd70005b360f8001a00092b..."} 
[2026-07-27 16:12:38] local.INFO: Packet analysis {"connection_id":144095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa326"} 
[2026-07-27 16:12:38] local.INFO: Extracted packet for processing {"connection_id":144095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa326"} 
[2026-07-27 16:12:38] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641848,"longitude_deg":76.5253376,"latitude_deg":9.5641848,"altitude":26,"angle":9,"satellites":43,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b360f8","is_valid_coordinates":true} 
[2026-07-27 16:12:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:12:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456997972480001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:12:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359071309033897984,"note":"Value kept but may cause issues"} 
[2026-07-27 16:12:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315689472,"note":"Value kept but may cause issues"} 
[2026-07-27 16:12:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:12:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785148631000,"timestamp_ms":1785148631000,"timestamp_seconds":1785148631,"priority":1,"record_length":96,"hex_timestamp":"0000019fa32667d8"} 
[2026-07-27 16:12:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:12:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 16:12:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-07-27 16:12:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:12:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:12:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:12:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:12:38] local.INFO: Teltonika packet parsed successfully {"connection_id":144095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:12:38] local.INFO: Passing IMEI to GPS processor {"connection_id":144095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:12:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":144095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:12:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:12:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:12:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:12:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456997972480001,"66":26147,"226":206,"83":17408,"24":0,"16":359071309033897984,"45":-7145242259315689472},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-07-27 16:12:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:12:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:12:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456997972480001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:12:38] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-27 16:12:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 16:12:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359071309033897984,"km_value":359071309033898.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:12:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315689472,"description":"Unknown IO ID 45"} 
[2026-07-27 16:12:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456997972480001,"power":26147,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315689472}} 
[2026-07-27 16:12:38] local.INFO: DEBUG: GPS processor result {"connection_id":144095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:12:38] local.INFO: GPS data processed {"connection_id":144095,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:12:38] local.INFO: Acknowledgment sent {"connection_id":144095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:13:04] local.INFO: TCP Data received {"connection_id":145388,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145388,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:13:04] local.INFO: Processing buffer {"connection_id":145388,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:13:04] local.INFO: IMEI packet received {"connection_id":145388,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 16:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":145388,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:13:09] local.INFO: TCP Data received {"connection_id":144095,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa32affa0012d9cd70005b360f8001a000929..."} 
[2026-07-27 16:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144095,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa32affa0012d9cd70005b360f8001a000929..."} 
[2026-07-27 16:13:09] local.INFO: Processing buffer {"connection_id":144095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa32affa0012d9cd70005b360f8001a000929..."} 
[2026-07-27 16:13:09] local.INFO: Packet analysis {"connection_id":144095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa32a"} 
[2026-07-27 16:13:09] local.INFO: Extracted packet for processing {"connection_id":144095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa32a"} 
[2026-07-27 16:13:09] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641848,"longitude_deg":76.5253376,"latitude_deg":9.5641848,"altitude":26,"angle":9,"satellites":41,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b360f8","is_valid_coordinates":true} 
[2026-07-27 16:13:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:13:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998049536001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:13:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359071309033897984,"note":"Value kept but may cause issues"} 
[2026-07-27 16:13:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315689472,"note":"Value kept but may cause issues"} 
[2026-07-27 16:13:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:13:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785148932000,"timestamp_ms":1785148932000,"timestamp_seconds":1785148932,"priority":1,"record_length":96,"hex_timestamp":"0000019fa32affa0"} 
[2026-07-27 16:13:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:13:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":102,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-27 16:13:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1023,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:13:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:13:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:13:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:13:09] local.INFO: Teltonika packet parsed successfully {"connection_id":144095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:13:09] local.INFO: Passing IMEI to GPS processor {"connection_id":144095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:13:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":144095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 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-07-27 16:13:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:13:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:13:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998049536001,"66":26006,"226":206,"83":17408,"24":0,"16":359071309033897984,"45":-7145242259315689472},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-07-27 16:13:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:13:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:13:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998049536001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:13:09] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-27 16:13:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 16:13:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359071309033897984,"km_value":359071309033898.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:13:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315689472,"description":"Unknown IO ID 45"} 
[2026-07-27 16:13:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998049536001,"power":26006,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315689472}} 
[2026-07-27 16:13:09] local.INFO: DEBUG: GPS processor result {"connection_id":144095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:13:09] local.INFO: GPS data processed {"connection_id":144095,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:13:09] local.INFO: Acknowledgment sent {"connection_id":144095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:13:10] local.INFO: TCP Data received {"connection_id":145388,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145388,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:13:10] local.INFO: Processing buffer {"connection_id":145388,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:13:10] local.INFO: IMEI packet received {"connection_id":145388,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 16:13:10] local.INFO: IMEI acknowledgment sent {"connection_id":145388,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:13:11] local.INFO: TCP Data received {"connection_id":145388,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3292ae0012d1823800721b610004a00cf2a..."} 
[2026-07-27 16:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3292ae0012d1823800721b610004a00cf2a..."} 
[2026-07-27 16:13:11] local.INFO: Processing buffer {"connection_id":145388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3292ae0012d1823800721b610004a00cf2a..."} 
[2026-07-27 16:13:11] local.INFO: Packet analysis {"connection_id":145388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa329"} 
[2026-07-27 16:13:11] local.INFO: Extracted packet for processing {"connection_id":145388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa329"} 
[2026-07-27 16:13:11] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119649808,"longitude_deg":75.6556672,"latitude_deg":11.9649808,"altitude":74,"angle":207,"satellites":42,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b610","is_valid_coordinates":true} 
[2026-07-27 16:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:13:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998090496001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:13:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8887210753392640,"note":"Value kept but may cause issues"} 
[2026-07-27 16:13:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213849600,"note":"Value kept but may cause issues"} 
[2026-07-27 16:13:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:13:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785148812000,"timestamp_ms":1785148812000,"timestamp_seconds":1785148812,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3292ae0"} 
[2026-07-27 16:13:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:13:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-27 16:13:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:13:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:13:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:13:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:13:11] local.INFO: Teltonika packet parsed successfully {"connection_id":145388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:13:11] local.INFO: Passing IMEI to GPS processor {"connection_id":145388,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:13:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":145388,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:13:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:13:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 16:13:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 16:13:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998090496001,"66":13472,"120":206,"28":31744,"24":0,"16":8887210753392640,"45":1739374649213849600},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 16:13:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 16:13:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 16:13:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998090496001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:13:11] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 16:13:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 16:13:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8887210753392640,"km_value":8887210753392.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:13:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213849600,"description":"Unknown IO ID 45"} 
[2026-07-27 16:13:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998090496001,"power":13472,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739374649213849600}} 
[2026-07-27 16:13:11] local.INFO: DEBUG: GPS processor result {"connection_id":145388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554072,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:13:11] local.INFO: GPS data processed {"connection_id":145388,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:13:11] local.INFO: Acknowledgment sent {"connection_id":145388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:13:37] local.INFO: TCP Data received {"connection_id":143109,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:13:37] local.INFO: Processing buffer {"connection_id":143109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:13:37] local.INFO: IMEI packet received {"connection_id":143109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 16:13:37] local.INFO: IMEI acknowledgment sent {"connection_id":143109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:13:42] local.INFO: TCP Data received {"connection_id":143109,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:13:42] local.INFO: Processing buffer {"connection_id":143109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:13:42] local.INFO: IMEI packet received {"connection_id":143109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 16:13:42] local.INFO: IMEI acknowledgment sent {"connection_id":143109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:13:43] local.INFO: TCP Data received {"connection_id":145388,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3297900012d1823800721b610004a00cf2a..."} 
[2026-07-27 16:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3297900012d1823800721b610004a00cf2a..."} 
[2026-07-27 16:13:43] local.INFO: Processing buffer {"connection_id":145388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3297900012d1823800721b610004a00cf2a..."} 
[2026-07-27 16:13:43] local.INFO: Packet analysis {"connection_id":145388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa329"} 
[2026-07-27 16:13:43] local.INFO: Extracted packet for processing {"connection_id":145388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa329"} 
[2026-07-27 16:13:43] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119649808,"longitude_deg":75.6556672,"latitude_deg":11.9649808,"altitude":74,"angle":207,"satellites":42,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b610","is_valid_coordinates":true} 
[2026-07-27 16:13:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:13:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998095872001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:13:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8887210753392640,"note":"Value kept but may cause issues"} 
[2026-07-27 16:13:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213849600,"note":"Value kept but may cause issues"} 
[2026-07-27 16:13: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-07-27 16:13:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785148832000,"timestamp_ms":1785148832000,"timestamp_seconds":1785148832,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3297900"} 
[2026-07-27 16:13:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:13:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-07-27 16:13:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:13:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:13:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:13:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:13:43] local.INFO: Teltonika packet parsed successfully {"connection_id":145388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:13:43] local.INFO: Passing IMEI to GPS processor {"connection_id":145388,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:13:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":145388,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:13:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:13:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 16:13:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 16:13:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998095872001,"66":12645,"120":206,"28":31744,"24":0,"16":8887210753392640,"45":1739374649213849600},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 16:13:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 16:13:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 16:13:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998095872001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:13:43] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 16:13:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 16:13:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8887210753392640,"km_value":8887210753392.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:13:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213849600,"description":"Unknown IO ID 45"} 
[2026-07-27 16:13:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998095872001,"power":12645,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739374649213849600}} 
[2026-07-27 16:13:43] local.INFO: TCP Data received {"connection_id":143109,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa32affa0012d9cd70005b360f8001a000929..."} 
[2026-07-27 16:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143109,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa32affa0012d9cd70005b360f8001a000929..."} 
[2026-07-27 16:13:43] local.INFO: Processing buffer {"connection_id":143109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa32affa0012d9cd70005b360f8001a000929..."} 
[2026-07-27 16:13:43] local.INFO: Packet analysis {"connection_id":143109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa32a"} 
[2026-07-27 16:13:43] local.INFO: Extracted packet for processing {"connection_id":143109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa32a"} 
[2026-07-27 16:13:43] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641848,"longitude_deg":76.5253376,"latitude_deg":9.5641848,"altitude":26,"angle":9,"satellites":41,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b360f8","is_valid_coordinates":true} 
[2026-07-27 16:13:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:13:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998049536001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:13:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359071309033897984,"note":"Value kept but may cause issues"} 
[2026-07-27 16:13:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315689472,"note":"Value kept but may cause issues"} 
[2026-07-27 16:13:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:13:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785148932000,"timestamp_ms":1785148932000,"timestamp_seconds":1785148932,"priority":1,"record_length":96,"hex_timestamp":"0000019fa32affa0"} 
[2026-07-27 16:13:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:13:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 16: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":102,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-27 16:13:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1023,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:13:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:13:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:13:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:13:43] local.INFO: Teltonika packet parsed successfully {"connection_id":143109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:13:43] local.INFO: Passing IMEI to GPS processor {"connection_id":143109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:13:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":143109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:13:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:13:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:13:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:13:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998049536001,"66":26006,"226":206,"83":17408,"24":0,"16":359071309033897984,"45":-7145242259315689472},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-07-27 16:13:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:13:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:13:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998049536001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:13:43] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-27 16:13:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 16:13:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359071309033897984,"km_value":359071309033898.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:13:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315689472,"description":"Unknown IO ID 45"} 
[2026-07-27 16:13:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998049536001,"power":26006,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315689472}} 
[2026-07-27 16:13:43] local.INFO: DEBUG: GPS processor result {"connection_id":143109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:13:43] local.INFO: GPS data processed {"connection_id":143109,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:13:43] local.INFO: Acknowledgment sent {"connection_id":143109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:13:43] local.INFO: DEBUG: GPS processor result {"connection_id":145388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554074,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:13:43] local.INFO: GPS data processed {"connection_id":145388,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:13:43] local.INFO: Acknowledgment sent {"connection_id":145388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:13:47] local.INFO: TCP Data received {"connection_id":143109,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa32affa0012d9cd70005b360f8001a000929..."} 
[2026-07-27 16:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143109,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa32affa0012d9cd70005b360f8001a000929..."} 
[2026-07-27 16:13:47] local.INFO: Processing buffer {"connection_id":143109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa32affa0012d9cd70005b360f8001a000929..."} 
[2026-07-27 16:13:47] local.INFO: Packet analysis {"connection_id":143109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa32a"} 
[2026-07-27 16:13:47] local.INFO: Extracted packet for processing {"connection_id":143109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa32a"} 
[2026-07-27 16:13:47] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641848,"longitude_deg":76.5253376,"latitude_deg":9.5641848,"altitude":26,"angle":9,"satellites":41,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b360f8","is_valid_coordinates":true} 
[2026-07-27 16:13:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:13:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998049536001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:13:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359071309033897984,"note":"Value kept but may cause issues"} 
[2026-07-27 16:13:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315689472,"note":"Value kept but may cause issues"} 
[2026-07-27 16:13:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:13:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785148932000,"timestamp_ms":1785148932000,"timestamp_seconds":1785148932,"priority":1,"record_length":96,"hex_timestamp":"0000019fa32affa0"} 
[2026-07-27 16:13:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:13:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 16: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":102,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-27 16:13:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1023,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:13:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:13:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:13:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:13:47] local.INFO: Teltonika packet parsed successfully {"connection_id":143109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:13:47] local.INFO: Passing IMEI to GPS processor {"connection_id":143109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:13:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":143109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:13:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:13:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:13:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:13:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998049536001,"66":26006,"226":206,"83":17408,"24":0,"16":359071309033897984,"45":-7145242259315689472},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-07-27 16:13:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:13:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:13:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998049536001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:13:47] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-27 16:13:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 16:13:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359071309033897984,"km_value":359071309033898.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:13:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315689472,"description":"Unknown IO ID 45"} 
[2026-07-27 16:13:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998049536001,"power":26006,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315689472}} 
[2026-07-27 16:13:47] local.INFO: DEBUG: GPS processor result {"connection_id":143109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:13:47] local.INFO: GPS data processed {"connection_id":143109,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:13:47] local.INFO: Acknowledgment sent {"connection_id":143109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:13:59] local.INFO: TCP Data received {"connection_id":144096,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144096,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:13:59] local.INFO: Processing buffer {"connection_id":144096,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:13:59] local.INFO: IMEI packet received {"connection_id":144096,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 16:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":144096,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:13:59] local.INFO: TCP Data received {"connection_id":144096,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144096,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:13:59] local.INFO: Processing buffer {"connection_id":144096,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:13:59] local.INFO: IMEI packet received {"connection_id":144096,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 16:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":144096,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:14:05] local.INFO: TCP Data received {"connection_id":144096,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144096,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:14:05] local.INFO: Processing buffer {"connection_id":144096,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:14:05] local.INFO: IMEI packet received {"connection_id":144096,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 16:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":144096,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:14:06] local.INFO: TCP Data received {"connection_id":144096,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa329cb08012d1823400721b480004b00cf2d..."} 
[2026-07-27 16:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa329cb08012d1823400721b480004b00cf2d..."} 
[2026-07-27 16:14:06] local.INFO: Processing buffer {"connection_id":144096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa329cb08012d1823400721b480004b00cf2d..."} 
[2026-07-27 16:14:06] local.INFO: Packet analysis {"connection_id":144096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa329"} 
[2026-07-27 16:14:06] local.INFO: Extracted packet for processing {"connection_id":144096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa329"} 
[2026-07-27 16:14:06] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649408,"longitude_deg":75.6556608,"latitude_deg":11.9649408,"altitude":75,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b480","is_valid_coordinates":true} 
[2026-07-27 16:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998100992001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8887236523196416,"note":"Value kept but may cause issues"} 
[2026-07-27 16:14:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213849600,"note":"Value kept but may cause issues"} 
[2026-07-27 16:14:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785148853000,"timestamp_ms":1785148853000,"timestamp_seconds":1785148853,"priority":1,"record_length":96,"hex_timestamp":"0000019fa329cb08"} 
[2026-07-27 16:14:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:14:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-27 16:14:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:14:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:14:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":144096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":144096,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":144096,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:14:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 16:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 16:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998100992001,"66":12667,"120":206,"28":31744,"24":0,"16":8887236523196416,"45":1739374649213849600},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 16:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 16:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 16:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998100992001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:14:06] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 16:14:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 16:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8887236523196416,"km_value":8887236523196.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:14:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213849600,"description":"Unknown IO ID 45"} 
[2026-07-27 16:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998100992001,"power":12667,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739374649213849600}} 
[2026-07-27 16:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":144096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554076,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:14:06] local.INFO: GPS data processed {"connection_id":144096,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:14:06] local.INFO: Acknowledgment sent {"connection_id":144096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:14:11] local.INFO: TCP Data received {"connection_id":144097,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144097,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:14:11] local.INFO: Processing buffer {"connection_id":144097,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:14:11] local.INFO: IMEI packet received {"connection_id":144097,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 16:14:11] local.INFO: IMEI acknowledgment sent {"connection_id":144097,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:14:13] local.INFO: TCP Data received {"connection_id":144097,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144097,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:14:13] local.INFO: Processing buffer {"connection_id":144097,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:14:13] local.INFO: IMEI packet received {"connection_id":144097,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 16:14:13] local.INFO: IMEI acknowledgment sent {"connection_id":144097,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:14:16] local.INFO: TCP Data received {"connection_id":144097,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:14:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144097,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:14:16] local.INFO: Processing buffer {"connection_id":144097,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:14:16] local.INFO: IMEI packet received {"connection_id":144097,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 16:14:16] local.INFO: IMEI acknowledgment sent {"connection_id":144097,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:14:17] local.INFO: TCP Data received {"connection_id":144097,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa32c6ed0012d0c3d8007062ee8001f00021c..."} 
[2026-07-27 16:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa32c6ed0012d0c3d8007062ee8001f00021c..."} 
[2026-07-27 16:14:17] local.INFO: Processing buffer {"connection_id":144097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa32c6ed0012d0c3d8007062ee8001f00021c..."} 
[2026-07-27 16:14:17] local.INFO: Packet analysis {"connection_id":144097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa32c"} 
[2026-07-27 16:14:17] local.INFO: Extracted packet for processing {"connection_id":144097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa32c"} 
[2026-07-27 16:14:17] local.INFO: GPS Element Parsed {"raw_longitude":755776896,"raw_latitude":117845736,"longitude_deg":75.5776896,"latitude_deg":11.7845736,"altitude":31,"angle":2,"satellites":28,"speed":13,"hex_longitude":"2d0c3d80","hex_latitude":"07062ee8","is_valid_coordinates":true} 
[2026-07-27 16: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-07-27 16:14:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998150400001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:14:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25940193718566912,"note":"Value kept but may cause issues"} 
[2026-07-27 16:14:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":881931500947085312,"note":"Value kept but may cause issues"} 
[2026-07-27 16:14:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:14:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785149026000,"timestamp_ms":1785149026000,"timestamp_seconds":1785149026,"priority":1,"record_length":96,"hex_timestamp":"0000019fa32c6ed0"} 
[2026-07-27 16:14:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:14: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-07-27 16: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-27 16:14:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16: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-07-27 16:14:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:14:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:14:17] local.INFO: Teltonika packet parsed successfully {"connection_id":144097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:14:17] local.INFO: Passing IMEI to GPS processor {"connection_id":144097,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 16:14:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":144097,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 16:14:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:14:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 16:14:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 16:14:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998150400001,"66":14352,"164":206,"94":10240,"24":13,"16":25940193718566912,"45":881931500947085312},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-07-27 16:14:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 16:14:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 16:14:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998150400001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:14:17] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-07-27 16:14:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 16:14:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25940193718566912,"km_value":25940193718566.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:14:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":881931500947085312,"description":"Unknown IO ID 45"} 
[2026-07-27 16:14:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998150400001,"power":14352,"unknown_164":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":881931500947085312}} 
[2026-07-27 16:14:17] local.INFO: DEBUG: GPS processor result {"connection_id":144097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554077,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:14:17] local.INFO: GPS data processed {"connection_id":144097,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:14:17] local.INFO: Acknowledgment sent {"connection_id":144097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:14:33] local.INFO: TCP Data received {"connection_id":142965,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:14:33] local.INFO: Processing buffer {"connection_id":142965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:14:33] local.INFO: IMEI packet received {"connection_id":142965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 16:14:33] local.INFO: IMEI acknowledgment sent {"connection_id":142965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:14:37] local.INFO: TCP Data received {"connection_id":142965,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:14:37] local.INFO: Processing buffer {"connection_id":142965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:14:37] local.INFO: IMEI packet received {"connection_id":142965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 16:14:37] local.INFO: IMEI acknowledgment sent {"connection_id":142965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:14:37] local.INFO: TCP Data received {"connection_id":142965,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fa32affa0012d9cd70005b360f8001a000929..."} 
[2026-07-27 16:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa32affa0012d9cd70005b360f8001a000929..."} 
[2026-07-27 16:14:37] local.INFO: Processing buffer {"connection_id":142965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa32affa0012d9cd70005b360f8001a000929..."} 
[2026-07-27 16:14:37] local.INFO: Packet analysis {"connection_id":142965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa32a"} 
[2026-07-27 16:14:37] local.INFO: Extracted packet for processing {"connection_id":142965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa32a"} 
[2026-07-27 16:14:37] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641848,"longitude_deg":76.5253376,"latitude_deg":9.5641848,"altitude":26,"angle":9,"satellites":41,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b360f8","is_valid_coordinates":true} 
[2026-07-27 16:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:14:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998049536001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:14:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359071309033897984,"note":"Value kept but may cause issues"} 
[2026-07-27 16:14:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315689472,"note":"Value kept but may cause issues"} 
[2026-07-27 16:14:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:14:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785148932000,"timestamp_ms":1785148932000,"timestamp_seconds":1785148932,"priority":1,"record_length":96,"hex_timestamp":"0000019fa32affa0"} 
[2026-07-27 16:14:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:14:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 16:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-27 16:14:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1023,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:14:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:14:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:14:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:14:37] local.INFO: Teltonika packet parsed successfully {"connection_id":142965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:14:37] local.INFO: Passing IMEI to GPS processor {"connection_id":142965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:14:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":142965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:14:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:14:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:14:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:14:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998049536001,"66":26006,"226":206,"83":17408,"24":0,"16":359071309033897984,"45":-7145242259315689472},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-07-27 16:14:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:14:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:14:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998049536001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:14:37] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-27 16:14:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 16:14:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359071309033897984,"km_value":359071309033898.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:14:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315689472,"description":"Unknown IO ID 45"} 
[2026-07-27 16:14:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998049536001,"power":26006,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315689472}} 
[2026-07-27 16:14:37] local.INFO: DEBUG: GPS processor result {"connection_id":142965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:14:37] local.INFO: GPS data processed {"connection_id":142965,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:14:37] local.INFO: Acknowledgment sent {"connection_id":142965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:14:38] local.INFO: TCP Data received {"connection_id":144096,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa32a1d10012d1823400721b488004b00cf2b..."} 
[2026-07-27 16:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa32a1d10012d1823400721b488004b00cf2b..."} 
[2026-07-27 16:14:38] local.INFO: Processing buffer {"connection_id":144096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa32a1d10012d1823400721b488004b00cf2b..."} 
[2026-07-27 16:14:38] local.INFO: Packet analysis {"connection_id":144096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa32a"} 
[2026-07-27 16:14:38] local.INFO: Extracted packet for processing {"connection_id":144096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa32a"} 
[2026-07-27 16:14:38] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649416,"longitude_deg":75.6556608,"latitude_deg":11.9649416,"altitude":75,"angle":207,"satellites":43,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b488","is_valid_coordinates":true} 
[2026-07-27 16:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:14:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998106368001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:14:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8887236523196416,"note":"Value kept but may cause issues"} 
[2026-07-27 16:14:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469569536,"note":"Value kept but may cause issues"} 
[2026-07-27 16:14:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:14:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785148874000,"timestamp_ms":1785148874000,"timestamp_seconds":1785148874,"priority":1,"record_length":96,"hex_timestamp":"0000019fa32a1d10"} 
[2026-07-27 16:14:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:14:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-07-27 16:14:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:14:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:14:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:14:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:14:38] local.INFO: Teltonika packet parsed successfully {"connection_id":144096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:14:38] local.INFO: Passing IMEI to GPS processor {"connection_id":144096,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:14:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":144096,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:14:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:14:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 16:14:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 16:14:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998106368001,"66":12645,"120":206,"28":31744,"24":0,"16":8887236523196416,"45":1739304280469569536},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 16:14:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 16:14:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 16:14:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998106368001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:14:38] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 16:14:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 16:14:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8887236523196416,"km_value":8887236523196.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:14:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469569536,"description":"Unknown IO ID 45"} 
[2026-07-27 16:14:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998106368001,"power":12645,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739304280469569536}} 
[2026-07-27 16:14:38] local.INFO: DEBUG: GPS processor result {"connection_id":144096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554079,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:14:38] local.INFO: GPS data processed {"connection_id":144096,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:14:38] local.INFO: Acknowledgment sent {"connection_id":144096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:14:59] local.INFO: TCP Data received {"connection_id":144098,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144098,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:14:59] local.INFO: Processing buffer {"connection_id":144098,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:14:59] local.INFO: IMEI packet received {"connection_id":144098,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 16:14:59] local.INFO: IMEI acknowledgment sent {"connection_id":144098,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:15:02] local.INFO: TCP Data received {"connection_id":144098,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144098,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:15:02] local.INFO: Processing buffer {"connection_id":144098,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:15:02] local.INFO: IMEI packet received {"connection_id":144098,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 16:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":144098,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:15:05] local.INFO: TCP Data received {"connection_id":144098,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144098,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:15:05] local.INFO: Processing buffer {"connection_id":144098,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:15:05] local.INFO: IMEI packet received {"connection_id":144098,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 16:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":144098,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:15:06] local.INFO: TCP Data received {"connection_id":144098,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa32a6f18012d1823400721b488004b00cf2c..."} 
[2026-07-27 16:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144098,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa32a6f18012d1823400721b488004b00cf2c..."} 
[2026-07-27 16:15:06] local.INFO: Processing buffer {"connection_id":144098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa32a6f18012d1823400721b488004b00cf2c..."} 
[2026-07-27 16:15:06] local.INFO: Packet analysis {"connection_id":144098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa32a"} 
[2026-07-27 16:15:06] local.INFO: Extracted packet for processing {"connection_id":144098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa32a"} 
[2026-07-27 16:15:06] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649416,"longitude_deg":75.6556608,"latitude_deg":11.9649416,"altitude":75,"angle":207,"satellites":44,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b488","is_valid_coordinates":true} 
[2026-07-27 16:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:15:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998111744001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:15:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8887236523196416,"note":"Value kept but may cause issues"} 
[2026-07-27 16:15:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469571584,"note":"Value kept but may cause issues"} 
[2026-07-27 16:15:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:15:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785148895000,"timestamp_ms":1785148895000,"timestamp_seconds":1785148895,"priority":1,"record_length":96,"hex_timestamp":"0000019fa32a6f18"} 
[2026-07-27 16:15:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:15:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-27 16:15:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:15:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:15:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:15:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:15:06] local.INFO: Teltonika packet parsed successfully {"connection_id":144098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:15:06] local.INFO: Passing IMEI to GPS processor {"connection_id":144098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:15:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":144098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:15:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:15:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 16:15:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 16:15:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998111744001,"66":12645,"120":206,"28":31744,"24":0,"16":8887236523196416,"45":1739304280469571584},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 16:15:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 16:15:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 16:15:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998111744001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:15:06] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 16:15:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 16:15:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8887236523196416,"km_value":8887236523196.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:15:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469571584,"description":"Unknown IO ID 45"} 
[2026-07-27 16:15:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998111744001,"power":12645,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739304280469571584}} 
[2026-07-27 16:15:07] local.INFO: DEBUG: GPS processor result {"connection_id":144098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554080,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:15:07] local.INFO: GPS data processed {"connection_id":144098,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:15:07] local.INFO: Acknowledgment sent {"connection_id":144098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:15:09] local.INFO: TCP Data received {"connection_id":142965,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fa32affa0012d9cd70005b360f8001a000929..."} 
[2026-07-27 16:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa32affa0012d9cd70005b360f8001a000929..."} 
[2026-07-27 16:15:09] local.INFO: Processing buffer {"connection_id":142965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa32affa0012d9cd70005b360f8001a000929..."} 
[2026-07-27 16:15:09] local.INFO: Packet analysis {"connection_id":142965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa32a"} 
[2026-07-27 16:15:09] local.INFO: Extracted packet for processing {"connection_id":142965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa32a"} 
[2026-07-27 16:15:09] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641848,"longitude_deg":76.5253376,"latitude_deg":9.5641848,"altitude":26,"angle":9,"satellites":41,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b360f8","is_valid_coordinates":true} 
[2026-07-27 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-07-27 16:15:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998049536001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:15:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359071309033897984,"note":"Value kept but may cause issues"} 
[2026-07-27 16:15:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315689472,"note":"Value kept but may cause issues"} 
[2026-07-27 16:15:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:15:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785148932000,"timestamp_ms":1785148932000,"timestamp_seconds":1785148932,"priority":1,"record_length":96,"hex_timestamp":"0000019fa32affa0"} 
[2026-07-27 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-07-27 16:15:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":102,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-27 16:15:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1023,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 16:15:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:15:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:15:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:15:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:15:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:15:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:15:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:15:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998049536001,"66":26006,"226":206,"83":17408,"24":0,"16":359071309033897984,"45":-7145242259315689472},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-07-27 16:15:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:15:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:15:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998049536001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:15:09] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-27 16:15:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 16:15:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359071309033897984,"km_value":359071309033898.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:15:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315689472,"description":"Unknown IO ID 45"} 
[2026-07-27 16:15:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998049536001,"power":26006,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315689472}} 
[2026-07-27 16:15:09] local.INFO: DEBUG: GPS processor result {"connection_id":142965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:15:09] local.INFO: GPS data processed {"connection_id":142965,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:15:09] local.INFO: Acknowledgment sent {"connection_id":142965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:15:12] local.INFO: TCP Data received {"connection_id":144099,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144099,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:15:12] local.INFO: Processing buffer {"connection_id":144099,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:15:12] local.INFO: IMEI packet received {"connection_id":144099,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 16:15:12] local.INFO: IMEI acknowledgment sent {"connection_id":144099,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:15:19] local.INFO: TCP Data received {"connection_id":144099,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144099,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:15:19] local.INFO: Processing buffer {"connection_id":144099,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:15:19] local.INFO: IMEI packet received {"connection_id":144099,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 16:15:19] local.INFO: IMEI acknowledgment sent {"connection_id":144099,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:15:20] local.INFO: TCP Data received {"connection_id":144099,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa32c95e0012d7b858005e93aa8000e010d19..."} 
[2026-07-27 16:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa32c95e0012d7b858005e93aa8000e010d19..."} 
[2026-07-27 16:15:20] local.INFO: Processing buffer {"connection_id":144099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa32c95e0012d7b858005e93aa8000e010d19..."} 
[2026-07-27 16:15:20] local.INFO: Packet analysis {"connection_id":144099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa32c"} 
[2026-07-27 16:15:20] local.INFO: Extracted packet for processing {"connection_id":144099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa32c"} 
[2026-07-27 16:15:20] local.INFO: GPS Element Parsed {"raw_longitude":763069824,"raw_latitude":99170984,"longitude_deg":76.3069824,"latitude_deg":9.9170984,"altitude":14,"angle":269,"satellites":25,"speed":6,"hex_longitude":"2d7b8580","hex_latitude":"05e93aa8","is_valid_coordinates":true} 
[2026-07-27 16: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-07-27 16:15:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998150400001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:15:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111633471402672128,"note":"Value kept but may cause issues"} 
[2026-07-27 16:15:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8904812757350531072,"note":"Value kept but may cause issues"} 
[2026-07-27 16:15:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:15:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785149036000,"timestamp_ms":1785149036000,"timestamp_seconds":1785149036,"priority":1,"record_length":96,"hex_timestamp":"0000019fa32c95e0"} 
[2026-07-27 16:15:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:15:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16: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":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-07-27 16:15:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16: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-07-27 16:15:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:15:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:15:20] local.INFO: Teltonika packet parsed successfully {"connection_id":144099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:15:20] local.INFO: Passing IMEI to GPS processor {"connection_id":144099,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:15:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":144099,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:15:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:15:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 16:15:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 16:15:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998150400001,"66":12439,"201":206,"87":13824,"24":6,"16":111633471402672128,"45":8904812757350531072},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-07-27 16:15:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 16:15:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 16:15:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998150400001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:15:20] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-07-27 16:15:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 16:15:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111633471402672128,"km_value":111633471402672.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:15:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8904812757350531072,"description":"Unknown IO ID 45"} 
[2026-07-27 16:15:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998150400001,"power":12439,"unknown_201":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8904812757350531072}} 
[2026-07-27 16:15:20] local.INFO: DEBUG: GPS processor result {"connection_id":144099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554082,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:15:20] local.INFO: GPS data processed {"connection_id":144099,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:15:20] local.INFO: Acknowledgment sent {"connection_id":144099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:15:31] local.INFO: TCP Data received {"connection_id":142966,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:15:31] local.INFO: Processing buffer {"connection_id":142966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:15:31] local.INFO: IMEI packet received {"connection_id":142966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 16:15:31] local.INFO: IMEI acknowledgment sent {"connection_id":142966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:15:37] local.INFO: TCP Data received {"connection_id":142966,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:15:37] local.INFO: Processing buffer {"connection_id":142966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:15:37] local.INFO: IMEI packet received {"connection_id":142966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 16:15:37] local.INFO: IMEI acknowledgment sent {"connection_id":142966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:15:37] local.INFO: TCP Data received {"connection_id":142966,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fa32affa0012d9cd70005b360f8001a000929..."} 
[2026-07-27 16:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa32affa0012d9cd70005b360f8001a000929..."} 
[2026-07-27 16:15:37] local.INFO: Processing buffer {"connection_id":142966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa32affa0012d9cd70005b360f8001a000929..."} 
[2026-07-27 16:15:37] local.INFO: Packet analysis {"connection_id":142966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa32a"} 
[2026-07-27 16:15:37] local.INFO: Extracted packet for processing {"connection_id":142966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa32a"} 
[2026-07-27 16:15:37] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641848,"longitude_deg":76.5253376,"latitude_deg":9.5641848,"altitude":26,"angle":9,"satellites":41,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b360f8","is_valid_coordinates":true} 
[2026-07-27 16:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998049536001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359071309033897984,"note":"Value kept but may cause issues"} 
[2026-07-27 16:15:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315689472,"note":"Value kept but may cause issues"} 
[2026-07-27 16:15:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785148932000,"timestamp_ms":1785148932000,"timestamp_seconds":1785148932,"priority":1,"record_length":96,"hex_timestamp":"0000019fa32affa0"} 
[2026-07-27 16:15:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:15:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 16:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-27 16:15:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1023,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:15:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:15:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":142966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":142966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":142966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:15:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998049536001,"66":26006,"226":206,"83":17408,"24":0,"16":359071309033897984,"45":-7145242259315689472},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-07-27 16:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998049536001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:15:37] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-27 16:15:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 16:15:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359071309033897984,"km_value":359071309033898.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:15:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315689472,"description":"Unknown IO ID 45"} 
[2026-07-27 16:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998049536001,"power":26006,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315689472}} 
[2026-07-27 16:15:38] local.INFO: DEBUG: GPS processor result {"connection_id":142966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:15:38] local.INFO: GPS data processed {"connection_id":142966,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:15:38] local.INFO: Acknowledgment sent {"connection_id":142966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:15:38] local.INFO: TCP Data received {"connection_id":144098,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa32ac120012d1823400721b488004b00cf2c..."} 
[2026-07-27 16:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144098,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa32ac120012d1823400721b488004b00cf2c..."} 
[2026-07-27 16:15:38] local.INFO: Processing buffer {"connection_id":144098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa32ac120012d1823400721b488004b00cf2c..."} 
[2026-07-27 16:15:38] local.INFO: Packet analysis {"connection_id":144098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa32a"} 
[2026-07-27 16:15:38] local.INFO: Extracted packet for processing {"connection_id":144098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa32a"} 
[2026-07-27 16:15:38] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649416,"longitude_deg":75.6556608,"latitude_deg":11.9649416,"altitude":75,"angle":207,"satellites":44,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b488","is_valid_coordinates":true} 
[2026-07-27 16:15:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:15:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998117120001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:15:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8887236523196416,"note":"Value kept but may cause issues"} 
[2026-07-27 16:15:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469571584,"note":"Value kept but may cause issues"} 
[2026-07-27 16:15:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:15:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785148916000,"timestamp_ms":1785148916000,"timestamp_seconds":1785148916,"priority":1,"record_length":96,"hex_timestamp":"0000019fa32ac120"} 
[2026-07-27 16:15:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:15:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:15:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-27 16:15:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:15:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:15:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:15:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:15:38] local.INFO: Teltonika packet parsed successfully {"connection_id":144098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:15:38] local.INFO: Passing IMEI to GPS processor {"connection_id":144098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:15:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":144098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:15:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:15:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 16:15:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 16:15:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998117120001,"66":12645,"120":206,"28":31744,"24":0,"16":8887236523196416,"45":1739304280469571584},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 16:15:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 16:15:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 16:15:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998117120001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:15:38] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 16:15:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 16:15:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8887236523196416,"km_value":8887236523196.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:15:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469571584,"description":"Unknown IO ID 45"} 
[2026-07-27 16:15:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998117120001,"power":12645,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739304280469571584}} 
[2026-07-27 16:15:38] local.INFO: DEBUG: GPS processor result {"connection_id":144098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554084,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:15:38] local.INFO: GPS data processed {"connection_id":144098,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:15:38] local.INFO: Acknowledgment sent {"connection_id":144098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:15:53] local.INFO: TCP Data received {"connection_id":144099,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa32ccc90012d7b808005e93a18000e00fe19..."} 
[2026-07-27 16:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa32ccc90012d7b808005e93a18000e00fe19..."} 
[2026-07-27 16:15:53] local.INFO: Processing buffer {"connection_id":144099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa32ccc90012d7b808005e93a18000e00fe19..."} 
[2026-07-27 16:15:53] local.INFO: Packet analysis {"connection_id":144099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa32c"} 
[2026-07-27 16:15:53] local.INFO: Extracted packet for processing {"connection_id":144099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa32c"} 
[2026-07-27 16:15:53] local.INFO: GPS Element Parsed {"raw_longitude":763068544,"raw_latitude":99170840,"longitude_deg":76.3068544,"latitude_deg":9.917084,"altitude":14,"angle":254,"satellites":25,"speed":9,"hex_longitude":"2d7b8080","hex_latitude":"05e93a18","is_valid_coordinates":true} 
[2026-07-27 16:15:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:15:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998153216001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:15:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111633535827181568,"note":"Value kept but may cause issues"} 
[2026-07-27 16:15:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900661001443780608,"note":"Value kept but may cause issues"} 
[2026-07-27 16:15:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:15:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785149050000,"timestamp_ms":1785149050000,"timestamp_seconds":1785149050,"priority":1,"record_length":96,"hex_timestamp":"0000019fa32ccc90"} 
[2026-07-27 16:15:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:15:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:15:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-27 16:15:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:15:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:15:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:15:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:15:53] local.INFO: Teltonika packet parsed successfully {"connection_id":144099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:15:53] local.INFO: Passing IMEI to GPS processor {"connection_id":144099,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:15:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":144099,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:15:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:15:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 16:15:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 16:15:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998153216001,"66":12667,"201":206,"87":13824,"24":9,"16":111633535827181568,"45":8900661001443780608},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-07-27 16:15:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 16:15:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 16:15:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998153216001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:15:53] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-07-27 16:15:53] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 16:15:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111633535827181568,"km_value":111633535827181.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:15:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900661001443780608,"description":"Unknown IO ID 45"} 
[2026-07-27 16:15:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998153216001,"power":12667,"unknown_201":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8900661001443780608}} 
[2026-07-27 16:15:53] local.INFO: DEBUG: GPS processor result {"connection_id":144099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554085,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:15:53] local.INFO: GPS data processed {"connection_id":144099,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:15:53] local.INFO: Acknowledgment sent {"connection_id":144099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:15:59] local.INFO: TCP Data received {"connection_id":143110,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143110,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:15:59] local.INFO: Processing buffer {"connection_id":143110,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:15:59] local.INFO: IMEI packet received {"connection_id":143110,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 16:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":143110,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:16:05] local.INFO: TCP Data received {"connection_id":143110,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143110,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:16:05] local.INFO: Processing buffer {"connection_id":143110,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:16:05] local.INFO: IMEI packet received {"connection_id":143110,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 16:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":143110,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:16:06] local.INFO: TCP Data received {"connection_id":143110,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa32b1328012d1823400721b488004b00cf24..."} 
[2026-07-27 16:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa32b1328012d1823400721b488004b00cf24..."} 
[2026-07-27 16:16:06] local.INFO: Processing buffer {"connection_id":143110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa32b1328012d1823400721b488004b00cf24..."} 
[2026-07-27 16:16:06] local.INFO: Packet analysis {"connection_id":143110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa32b"} 
[2026-07-27 16:16:06] local.INFO: Extracted packet for processing {"connection_id":143110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa32b"} 
[2026-07-27 16:16:06] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649416,"longitude_deg":75.6556608,"latitude_deg":11.9649416,"altitude":75,"angle":207,"satellites":36,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b488","is_valid_coordinates":true} 
[2026-07-27 16:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998122496001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:16:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8887236523196416,"note":"Value kept but may cause issues"} 
[2026-07-27 16:16:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469571584,"note":"Value kept but may cause issues"} 
[2026-07-27 16:16:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:16:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785148937000,"timestamp_ms":1785148937000,"timestamp_seconds":1785148937,"priority":1,"record_length":96,"hex_timestamp":"0000019fa32b1328"} 
[2026-07-27 16:16:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:16:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-27 16:16:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:16:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:16:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:16:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:16:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:16:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143110,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:16:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143110,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:16:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:16:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 16:16:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 16:16:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998122496001,"66":12580,"120":206,"28":31744,"24":0,"16":8887236523196416,"45":1739304280469571584},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 16:16:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 16:16:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 16:16:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998122496001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:16:06] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 16:16:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 16:16:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8887236523196416,"km_value":8887236523196.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:16:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469571584,"description":"Unknown IO ID 45"} 
[2026-07-27 16:16:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998122496001,"power":12580,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739304280469571584}} 
[2026-07-27 16:16:06] local.INFO: DEBUG: GPS processor result {"connection_id":143110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554086,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:16:06] local.INFO: GPS data processed {"connection_id":143110,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:16:06] local.INFO: Acknowledgment sent {"connection_id":143110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:16:09] local.INFO: TCP Data received {"connection_id":142966,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fa32affa0012d9cd70005b360f8001a000929..."} 
[2026-07-27 16:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa32affa0012d9cd70005b360f8001a000929..."} 
[2026-07-27 16:16:09] local.INFO: Processing buffer {"connection_id":142966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa32affa0012d9cd70005b360f8001a000929..."} 
[2026-07-27 16:16:09] local.INFO: Packet analysis {"connection_id":142966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa32a"} 
[2026-07-27 16:16:09] local.INFO: Extracted packet for processing {"connection_id":142966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa32a"} 
[2026-07-27 16:16:09] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641848,"longitude_deg":76.5253376,"latitude_deg":9.5641848,"altitude":26,"angle":9,"satellites":41,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b360f8","is_valid_coordinates":true} 
[2026-07-27 16:16:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:16:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998049536001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:16:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359071309033897984,"note":"Value kept but may cause issues"} 
[2026-07-27 16:16:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315689472,"note":"Value kept but may cause issues"} 
[2026-07-27 16:16:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:16:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785148932000,"timestamp_ms":1785148932000,"timestamp_seconds":1785148932,"priority":1,"record_length":96,"hex_timestamp":"0000019fa32affa0"} 
[2026-07-27 16:16:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:16:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 16:16:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-27 16:16:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1023,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:16:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:16:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:16:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:16:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:16:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:16:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:16:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:16:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:16:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:16:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998049536001,"66":26006,"226":206,"83":17408,"24":0,"16":359071309033897984,"45":-7145242259315689472},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-07-27 16:16:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:16:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:16:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998049536001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:16:09] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-27 16:16:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 16:16:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359071309033897984,"km_value":359071309033898.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:16:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315689472,"description":"Unknown IO ID 45"} 
[2026-07-27 16:16:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998049536001,"power":26006,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315689472}} 
[2026-07-27 16:16:09] local.INFO: DEBUG: GPS processor result {"connection_id":142966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:16:09] local.INFO: GPS data processed {"connection_id":142966,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:16:09] local.INFO: Acknowledgment sent {"connection_id":142966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:16:10] local.INFO: TCP Data received {"connection_id":142967,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142967,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:16:10] local.INFO: Processing buffer {"connection_id":142967,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:16:10] local.INFO: IMEI packet received {"connection_id":142967,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 16:16:10] local.INFO: IMEI acknowledgment sent {"connection_id":142967,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:16:11] local.INFO: TCP Data received {"connection_id":142967,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142967,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:16:11] local.INFO: Processing buffer {"connection_id":142967,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:16:11] local.INFO: IMEI packet received {"connection_id":142967,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 16:16:11] local.INFO: IMEI acknowledgment sent {"connection_id":142967,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:16:12] local.INFO: TCP Data received {"connection_id":142967,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142967,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:16:12] local.INFO: Processing buffer {"connection_id":142967,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:16:12] local.INFO: IMEI packet received {"connection_id":142967,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 16:16:12] local.INFO: IMEI acknowledgment sent {"connection_id":142967,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:16:13] local.INFO: TCP Data received {"connection_id":142967,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa32cd460012d7b7e8005e93908000e00ee19..."} 
[2026-07-27 16:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142967,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa32cd460012d7b7e8005e93908000e00ee19..."} 
[2026-07-27 16:16:13] local.INFO: Processing buffer {"connection_id":142967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa32cd460012d7b7e8005e93908000e00ee19..."} 
[2026-07-27 16:16:13] local.INFO: Packet analysis {"connection_id":142967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa32c"} 
[2026-07-27 16:16:13] local.INFO: Extracted packet for processing {"connection_id":142967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa32c"} 
[2026-07-27 16:16:13] local.INFO: GPS Element Parsed {"raw_longitude":763068032,"raw_latitude":99170568,"longitude_deg":76.3068032,"latitude_deg":9.9170568,"altitude":14,"angle":238,"satellites":25,"speed":15,"hex_longitude":"2d7b7e80","hex_latitude":"05e93908","is_valid_coordinates":true} 
[2026-07-27 16:16:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:16:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998156800001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:16:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111633565891952640,"note":"Value kept but may cause issues"} 
[2026-07-27 16:16:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899253626560190464,"note":"Value kept but may cause issues"} 
[2026-07-27 16:16:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:16:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785149052000,"timestamp_ms":1785149052000,"timestamp_seconds":1785149052,"priority":1,"record_length":96,"hex_timestamp":"0000019fa32cd460"} 
[2026-07-27 16:16:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:16:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:16:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-07-27 16:16:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:16:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:16:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:16:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:16:13] local.INFO: Teltonika packet parsed successfully {"connection_id":142967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:16:13] local.INFO: Passing IMEI to GPS processor {"connection_id":142967,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:16:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":142967,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:16:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:16:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 16:16:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 16:16:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998156800001,"66":12113,"201":206,"87":13824,"24":15,"16":111633565891952640,"45":8899253626560190464},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-07-27 16:16:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 16:16:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 16:16:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998156800001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:16:13] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-07-27 16:16:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 16:16:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111633565891952640,"km_value":111633565891952.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:16:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899253626560190464,"description":"Unknown IO ID 45"} 
[2026-07-27 16:16:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998156800001,"power":12113,"unknown_201":206,"unknown_87":13824,"ignition":15,"odometer":null,"unknown_45":8899253626560190464}} 
[2026-07-27 16:16:13] local.INFO: DEBUG: GPS processor result {"connection_id":142967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554088,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:16:13] local.INFO: GPS data processed {"connection_id":142967,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:16:13] local.INFO: Acknowledgment sent {"connection_id":142967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:16:19] local.INFO: TCP Data received {"connection_id":142967,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa32ce7e8012d7b754005e93548000d00fc19..."} 
[2026-07-27 16:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142967,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa32ce7e8012d7b754005e93548000d00fc19..."} 
[2026-07-27 16:16:19] local.INFO: Processing buffer {"connection_id":142967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa32ce7e8012d7b754005e93548000d00fc19..."} 
[2026-07-27 16:16:19] local.INFO: Packet analysis {"connection_id":142967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa32c"} 
[2026-07-27 16:16:19] local.INFO: Extracted packet for processing {"connection_id":142967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa32c"} 
[2026-07-27 16:16:19] local.INFO: GPS Element Parsed {"raw_longitude":763065664,"raw_latitude":99169608,"longitude_deg":76.3065664,"latitude_deg":9.9169608,"altitude":13,"angle":252,"satellites":25,"speed":22,"hex_longitude":"2d7b7540","hex_latitude":"05e93548","is_valid_coordinates":true} 
[2026-07-27 16: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-07-27 16:16:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998157312001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:16:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111633686151036928,"note":"Value kept but may cause issues"} 
[2026-07-27 16:16:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8898690676606699520,"note":"Value kept but may cause issues"} 
[2026-07-27 16:16:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:16:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785149057000,"timestamp_ms":1785149057000,"timestamp_seconds":1785149057,"priority":1,"record_length":96,"hex_timestamp":"0000019fa32ce7e8"} 
[2026-07-27 16:16:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:16: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-07-27 16: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":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-07-27 16:16:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1162,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16: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-07-27 16:16:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:16:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:16:19] local.INFO: Teltonika packet parsed successfully {"connection_id":142967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:16:19] local.INFO: Passing IMEI to GPS processor {"connection_id":142967,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:16:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":142967,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:16:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:16:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 16:16:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 16:16:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998157312001,"66":12819,"201":206,"87":13824,"24":22,"16":111633686151036928,"45":8898690676606699520},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-07-27 16:16:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 16:16:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 16:16:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998157312001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:16:19] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-07-27 16:16:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 16:16:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111633686151036928,"km_value":111633686151036.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:16:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8898690676606699520,"description":"Unknown IO ID 45"} 
[2026-07-27 16:16:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998157312001,"power":12819,"unknown_201":206,"unknown_87":13824,"ignition":22,"odometer":null,"unknown_45":8898690676606699520}} 
[2026-07-27 16:16:19] local.INFO: DEBUG: GPS processor result {"connection_id":142967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554089,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:16:19] local.INFO: GPS data processed {"connection_id":142967,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:16:19] local.INFO: Acknowledgment sent {"connection_id":142967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:16:31] local.INFO: TCP Data received {"connection_id":143111,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:16:31] local.INFO: Processing buffer {"connection_id":143111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:16:31] local.INFO: IMEI packet received {"connection_id":143111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 16:16:31] local.INFO: IMEI acknowledgment sent {"connection_id":143111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:16:37] local.INFO: TCP Data received {"connection_id":143111,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:16:37] local.INFO: Processing buffer {"connection_id":143111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:16:37] local.INFO: IMEI packet received {"connection_id":143111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 16:16:37] local.INFO: IMEI acknowledgment sent {"connection_id":143111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:16:37] local.INFO: TCP Data received {"connection_id":143111,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fa32affa0012d9cd70005b360f8001a000929..."} 
[2026-07-27 16:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143111,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa32affa0012d9cd70005b360f8001a000929..."} 
[2026-07-27 16:16:37] local.INFO: Processing buffer {"connection_id":143111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa32affa0012d9cd70005b360f8001a000929..."} 
[2026-07-27 16:16:37] local.INFO: Packet analysis {"connection_id":143111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa32a"} 
[2026-07-27 16:16:37] local.INFO: Extracted packet for processing {"connection_id":143111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa32a"} 
[2026-07-27 16:16:37] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641848,"longitude_deg":76.5253376,"latitude_deg":9.5641848,"altitude":26,"angle":9,"satellites":41,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b360f8","is_valid_coordinates":true} 
[2026-07-27 16:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:16:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998049536001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:16:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359071309033897984,"note":"Value kept but may cause issues"} 
[2026-07-27 16:16:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315689472,"note":"Value kept but may cause issues"} 
[2026-07-27 16:16:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:16:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785148932000,"timestamp_ms":1785148932000,"timestamp_seconds":1785148932,"priority":1,"record_length":96,"hex_timestamp":"0000019fa32affa0"} 
[2026-07-27 16:16:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:16:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 16:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-27 16:16:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1023,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:16:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:16:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:16:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:16:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:16:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:16:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:16:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:16:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:16:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:16:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998049536001,"66":26006,"226":206,"83":17408,"24":0,"16":359071309033897984,"45":-7145242259315689472},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-07-27 16:16:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:16:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:16:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998049536001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:16:37] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-27 16:16:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 16:16:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359071309033897984,"km_value":359071309033898.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:16:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315689472,"description":"Unknown IO ID 45"} 
[2026-07-27 16:16:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998049536001,"power":26006,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315689472}} 
[2026-07-27 16:16:37] local.INFO: DEBUG: GPS processor result {"connection_id":143111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:16:37] local.INFO: GPS data processed {"connection_id":143111,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:16:37] local.INFO: Acknowledgment sent {"connection_id":143111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:16:38] local.INFO: TCP Data received {"connection_id":143110,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa32e0128012d18288007219d80004d00832a..."} 
[2026-07-27 16:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa32e0128012d18288007219d80004d00832a..."} 
[2026-07-27 16:16:38] local.INFO: Processing buffer {"connection_id":143110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa32e0128012d18288007219d80004d00832a..."} 
[2026-07-27 16:16:38] local.INFO: Packet analysis {"connection_id":143110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa32e"} 
[2026-07-27 16:16:38] local.INFO: Extracted packet for processing {"connection_id":143110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa32e"} 
[2026-07-27 16:16:38] local.INFO: GPS Element Parsed {"raw_longitude":756557952,"raw_latitude":119643520,"longitude_deg":75.6557952,"latitude_deg":11.964352,"altitude":77,"angle":131,"satellites":42,"speed":4,"hex_longitude":"2d182880","hex_latitude":"07219d80","is_valid_coordinates":true} 
[2026-07-27 16:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:16:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998176512001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:16:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8887575825612800,"note":"Value kept but may cause issues"} 
[2026-07-27 16:16:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740570917863319552,"note":"Value kept but may cause issues"} 
[2026-07-27 16:16:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:16:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785149129000,"timestamp_ms":1785149129000,"timestamp_seconds":1785149129,"priority":1,"record_length":96,"hex_timestamp":"0000019fa32e0128"} 
[2026-07-27 16:16:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:16:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-07-27 16:16:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:16:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:16:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:16:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:16:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:16:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143110,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:16:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143110,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:16:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:16:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 16:16:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 16:16:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998176512001,"66":13972,"120":206,"28":31744,"24":4,"16":8887575825612800,"45":1740570917863319552},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 16:16:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 16:16:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 16:16:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998176512001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:16:38] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 16:16:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 16:16:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8887575825612800,"km_value":8887575825612.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:16:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740570917863319552,"description":"Unknown IO ID 45"} 
[2026-07-27 16:16:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998176512001,"power":13972,"unknown_120":206,"unknown_28":31744,"ignition":4,"odometer":null,"unknown_45":1740570917863319552}} 
[2026-07-27 16:16:38] local.INFO: DEBUG: GPS processor result {"connection_id":143110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554091,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:16:38] local.INFO: GPS data processed {"connection_id":143110,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:16:38] local.INFO: Acknowledgment sent {"connection_id":143110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:16:53] local.INFO: TCP Data received {"connection_id":142967,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa32ec478012d7b588005e82788000b00b518..."} 
[2026-07-27 16:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142967,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa32ec478012d7b588005e82788000b00b518..."} 
[2026-07-27 16:16:53] local.INFO: Processing buffer {"connection_id":142967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa32ec478012d7b588005e82788000b00b518..."} 
[2026-07-27 16:16:53] local.INFO: Packet analysis {"connection_id":142967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa32e"} 
[2026-07-27 16:16:53] local.INFO: Extracted packet for processing {"connection_id":142967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa32e"} 
[2026-07-27 16:16:53] local.INFO: GPS Element Parsed {"raw_longitude":763058304,"raw_latitude":99100552,"longitude_deg":76.3058304,"latitude_deg":9.9100552,"altitude":11,"angle":181,"satellites":24,"speed":25,"hex_longitude":"2d7b5880","hex_latitude":"05e82788","is_valid_coordinates":true} 
[2026-07-27 16:16:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:16:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998185984001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:16:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111637504376963072,"note":"Value kept but may cause issues"} 
[2026-07-27 16:16:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8889472371103856640,"note":"Value kept but may cause issues"} 
[2026-07-27 16:16:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:16:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785149179000,"timestamp_ms":1785149179000,"timestamp_seconds":1785149179,"priority":1,"record_length":96,"hex_timestamp":"0000019fa32ec478"} 
[2026-07-27 16:16:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:16:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:16:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-27 16:16:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:16:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:16:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:16:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:16:53] local.INFO: Teltonika packet parsed successfully {"connection_id":142967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:16:53] local.INFO: Passing IMEI to GPS processor {"connection_id":142967,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:16:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":142967,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:16:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:16:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 16:16:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 16:16:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998185984001,"66":12765,"201":206,"87":13824,"24":25,"16":111637504376963072,"45":8889472371103856640},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-07-27 16:16:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 16:16:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 16:16:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998185984001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:16:53] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-07-27 16:16:53] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 16:16:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111637504376963072,"km_value":111637504376963.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:16:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8889472371103856640,"description":"Unknown IO ID 45"} 
[2026-07-27 16:16:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998185984001,"power":12765,"unknown_201":206,"unknown_87":13824,"ignition":25,"odometer":null,"unknown_45":8889472371103856640}} 
[2026-07-27 16:16:53] local.INFO: DEBUG: GPS processor result {"connection_id":142967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554092,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:16:53] local.INFO: GPS data processed {"connection_id":142967,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:16:53] local.INFO: Acknowledgment sent {"connection_id":142967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:16:59] local.INFO: TCP Data received {"connection_id":145391,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145391,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:16:59] local.INFO: Processing buffer {"connection_id":145391,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:16:59] local.INFO: IMEI packet received {"connection_id":145391,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 16:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":145391,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:17:05] local.INFO: TCP Data received {"connection_id":145391,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145391,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:17:05] local.INFO: Processing buffer {"connection_id":145391,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:17:05] local.INFO: IMEI packet received {"connection_id":145391,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 16:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":145391,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:17:06] local.INFO: TCP Data received {"connection_id":145391,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa32e0510012d1828c007219d40004d00722a..."} 
[2026-07-27 16:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa32e0510012d1828c007219d40004d00722a..."} 
[2026-07-27 16:17:06] local.INFO: Processing buffer {"connection_id":145391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa32e0510012d1828c007219d40004d00722a..."} 
[2026-07-27 16:17:06] local.INFO: Packet analysis {"connection_id":145391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa32e"} 
[2026-07-27 16:17:06] local.INFO: Extracted packet for processing {"connection_id":145391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa32e"} 
[2026-07-27 16:17:06] local.INFO: GPS Element Parsed {"raw_longitude":756558016,"raw_latitude":119643456,"longitude_deg":75.6558016,"latitude_deg":11.9643456,"altitude":77,"angle":114,"satellites":42,"speed":2,"hex_longitude":"2d1828c0","hex_latitude":"07219d40","is_valid_coordinates":true} 
[2026-07-27 16:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998177024001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8887580120580096,"note":"Value kept but may cause issues"} 
[2026-07-27 16:17:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740782024095793152,"note":"Value kept but may cause issues"} 
[2026-07-27 16:17:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785149130000,"timestamp_ms":1785149130000,"timestamp_seconds":1785149130,"priority":1,"record_length":96,"hex_timestamp":"0000019fa32e0510"} 
[2026-07-27 16:17:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:17:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-07-27 16:17:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:17:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:17:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":145391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":145391,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":145391,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:17:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 16:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 16:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998177024001,"66":13439,"120":206,"28":31744,"24":2,"16":8887580120580096,"45":1740782024095793152},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 16:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 16:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 16:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998177024001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:17:06] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 16:17:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 16:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8887580120580096,"km_value":8887580120580.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:17:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740782024095793152,"description":"Unknown IO ID 45"} 
[2026-07-27 16:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998177024001,"power":13439,"unknown_120":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1740782024095793152}} 
[2026-07-27 16:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":145391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554093,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:17:06] local.INFO: GPS data processed {"connection_id":145391,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:17:06] local.INFO: Acknowledgment sent {"connection_id":145391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:17:09] local.INFO: TCP Data received {"connection_id":143111,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fa32affa0012d9cd70005b360f8001a000929..."} 
[2026-07-27 16:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143111,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa32affa0012d9cd70005b360f8001a000929..."} 
[2026-07-27 16:17:09] local.INFO: Processing buffer {"connection_id":143111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa32affa0012d9cd70005b360f8001a000929..."} 
[2026-07-27 16:17:09] local.INFO: Packet analysis {"connection_id":143111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa32a"} 
[2026-07-27 16:17:09] local.INFO: Extracted packet for processing {"connection_id":143111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa32a"} 
[2026-07-27 16:17:09] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641848,"longitude_deg":76.5253376,"latitude_deg":9.5641848,"altitude":26,"angle":9,"satellites":41,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b360f8","is_valid_coordinates":true} 
[2026-07-27 16:17:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:17:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998049536001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:17:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359071309033897984,"note":"Value kept but may cause issues"} 
[2026-07-27 16:17:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315689472,"note":"Value kept but may cause issues"} 
[2026-07-27 16:17:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:17:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785148932000,"timestamp_ms":1785148932000,"timestamp_seconds":1785148932,"priority":1,"record_length":96,"hex_timestamp":"0000019fa32affa0"} 
[2026-07-27 16:17:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:17:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":102,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-27 16:17:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1023,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:17:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:17:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:17:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:17:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:17:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:17:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:17:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:17:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:17:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:17:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998049536001,"66":26006,"226":206,"83":17408,"24":0,"16":359071309033897984,"45":-7145242259315689472},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-07-27 16:17:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:17:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:17:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998049536001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:17:09] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-27 16:17:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 16:17:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359071309033897984,"km_value":359071309033898.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:17:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315689472,"description":"Unknown IO ID 45"} 
[2026-07-27 16:17:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998049536001,"power":26006,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315689472}} 
[2026-07-27 16:17:09] local.INFO: DEBUG: GPS processor result {"connection_id":143111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:17:09] local.INFO: GPS data processed {"connection_id":143111,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:17:09] local.INFO: Acknowledgment sent {"connection_id":143111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:17:13] local.INFO: TCP Data received {"connection_id":142968,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142968,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:17:13] local.INFO: Processing buffer {"connection_id":142968,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:17:13] local.INFO: IMEI packet received {"connection_id":142968,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 16:17:13] local.INFO: IMEI acknowledgment sent {"connection_id":142968,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:17:18] local.INFO: TCP Data received {"connection_id":142968,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:17:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142968,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:17:18] local.INFO: Processing buffer {"connection_id":142968,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:17:18] local.INFO: IMEI packet received {"connection_id":142968,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 16:17:18] local.INFO: IMEI acknowledgment sent {"connection_id":142968,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:17:19] local.INFO: TCP Data received {"connection_id":142968,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa32ed800012d7b598005e81c18000b00a918..."} 
[2026-07-27 16:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142968,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa32ed800012d7b598005e81c18000b00a918..."} 
[2026-07-27 16:17:19] local.INFO: Processing buffer {"connection_id":142968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa32ed800012d7b598005e81c18000b00a918..."} 
[2026-07-27 16:17:19] local.INFO: Packet analysis {"connection_id":142968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa32e"} 
[2026-07-27 16:17:19] local.INFO: Extracted packet for processing {"connection_id":142968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa32e"} 
[2026-07-27 16:17:19] local.INFO: GPS Element Parsed {"raw_longitude":763058560,"raw_latitude":99097624,"longitude_deg":76.305856,"latitude_deg":9.9097624,"altitude":11,"angle":169,"satellites":24,"speed":23,"hex_longitude":"2d7b5980","hex_latitude":"05e81c18","is_valid_coordinates":true} 
[2026-07-27 16:17:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:17:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998189824001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:17:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111637646110883840,"note":"Value kept but may cause issues"} 
[2026-07-27 16:17:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8887994627473770496,"note":"Value kept but may cause issues"} 
[2026-07-27 16:17:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:17:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785149184000,"timestamp_ms":1785149184000,"timestamp_seconds":1785149184,"priority":1,"record_length":96,"hex_timestamp":"0000019fa32ed800"} 
[2026-07-27 16:17:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:17:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:17:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-27 16:17: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-07-27 16:17:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:17:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:17:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:17:19] local.INFO: Teltonika packet parsed successfully {"connection_id":142968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:17:19] local.INFO: Passing IMEI to GPS processor {"connection_id":142968,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:17:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":142968,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:17:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:17:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 16:17:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 16:17:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998189824001,"66":12037,"201":206,"87":13824,"24":23,"16":111637646110883840,"45":8887994627473770496},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-07-27 16:17:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 16:17:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 16:17:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998189824001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:17:19] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-07-27 16:17:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 16:17:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111637646110883840,"km_value":111637646110883.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:17:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8887994627473770496,"description":"Unknown IO ID 45"} 
[2026-07-27 16:17:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998189824001,"power":12037,"unknown_201":206,"unknown_87":13824,"ignition":23,"odometer":null,"unknown_45":8887994627473770496}} 
[2026-07-27 16:17:19] local.INFO: DEBUG: GPS processor result {"connection_id":142968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554095,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:17:19] local.INFO: GPS data processed {"connection_id":142968,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:17:19] local.INFO: Acknowledgment sent {"connection_id":142968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:17:31] local.INFO: TCP Data received {"connection_id":143112,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:17:31] local.INFO: Processing buffer {"connection_id":143112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:17:31] local.INFO: IMEI packet received {"connection_id":143112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 16:17:31] local.INFO: IMEI acknowledgment sent {"connection_id":143112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:17:37] local.INFO: TCP Data received {"connection_id":143112,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:17:37] local.INFO: Processing buffer {"connection_id":143112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:17:37] local.INFO: IMEI packet received {"connection_id":143112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 16:17:37] local.INFO: IMEI acknowledgment sent {"connection_id":143112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:17:37] local.INFO: TCP Data received {"connection_id":145391,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa32e5718012d1828c007219cf8004d007229..."} 
[2026-07-27 16:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa32e5718012d1828c007219cf8004d007229..."} 
[2026-07-27 16:17:37] local.INFO: Processing buffer {"connection_id":145391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa32e5718012d1828c007219cf8004d007229..."} 
[2026-07-27 16:17:37] local.INFO: Packet analysis {"connection_id":145391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa32e"} 
[2026-07-27 16:17:37] local.INFO: Extracted packet for processing {"connection_id":145391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa32e"} 
[2026-07-27 16:17:37] local.INFO: GPS Element Parsed {"raw_longitude":756558016,"raw_latitude":119643384,"longitude_deg":75.6558016,"latitude_deg":11.9643384,"altitude":77,"angle":114,"satellites":41,"speed":0,"hex_longitude":"2d1828c0","hex_latitude":"07219cf8","is_valid_coordinates":true} 
[2026-07-27 16:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:17:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998177280001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:17:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8887588710514688,"note":"Value kept but may cause issues"} 
[2026-07-27 16:17:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740852392839954432,"note":"Value kept but may cause issues"} 
[2026-07-27 16:17:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:17:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785149151000,"timestamp_ms":1785149151000,"timestamp_seconds":1785149151,"priority":1,"record_length":96,"hex_timestamp":"0000019fa32e5718"} 
[2026-07-27 16:17:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:17:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-07-27 16:17:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1601,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:17:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:17:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:17:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:17:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:17:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145391,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:17:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145391,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:17:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:17:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 16:17:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 16:17:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998177280001,"66":13993,"120":206,"28":31744,"24":0,"16":8887588710514688,"45":1740852392839954432},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 16:17:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 16:17:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 16:17:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998177280001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:17:37] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 16:17:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 16:17:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8887588710514688,"km_value":8887588710514.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:17:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740852392839954432,"description":"Unknown IO ID 45"} 
[2026-07-27 16:17:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998177280001,"power":13993,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740852392839954432}} 
[2026-07-27 16:17:38] local.INFO: DEBUG: GPS processor result {"connection_id":145391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554096,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:17:38] local.INFO: GPS data processed {"connection_id":145391,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:17:38] local.INFO: Acknowledgment sent {"connection_id":145391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:17:38] local.INFO: TCP Data received {"connection_id":143112,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fa32affa0012d9cd70005b360f8001a000929..."} 
[2026-07-27 16:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143112,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa32affa0012d9cd70005b360f8001a000929..."} 
[2026-07-27 16:17:38] local.INFO: Processing buffer {"connection_id":143112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa32affa0012d9cd70005b360f8001a000929..."} 
[2026-07-27 16:17:38] local.INFO: Packet analysis {"connection_id":143112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa32a"} 
[2026-07-27 16:17:38] local.INFO: Extracted packet for processing {"connection_id":143112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa32a"} 
[2026-07-27 16:17:38] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641848,"longitude_deg":76.5253376,"latitude_deg":9.5641848,"altitude":26,"angle":9,"satellites":41,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b360f8","is_valid_coordinates":true} 
[2026-07-27 16:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:17:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998049536001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:17:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359071309033897984,"note":"Value kept but may cause issues"} 
[2026-07-27 16:17:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315689472,"note":"Value kept but may cause issues"} 
[2026-07-27 16:17:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:17:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785148932000,"timestamp_ms":1785148932000,"timestamp_seconds":1785148932,"priority":1,"record_length":96,"hex_timestamp":"0000019fa32affa0"} 
[2026-07-27 16:17:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:17:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 16:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-27 16:17:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1023,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:17:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:17:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:17:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:17:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:17:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:17:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:17:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:17:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:17:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:17:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998049536001,"66":26006,"226":206,"83":17408,"24":0,"16":359071309033897984,"45":-7145242259315689472},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-07-27 16:17:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:17:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:17:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998049536001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:17:38] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-27 16:17:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 16:17:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359071309033897984,"km_value":359071309033898.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:17:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315689472,"description":"Unknown IO ID 45"} 
[2026-07-27 16:17:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998049536001,"power":26006,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315689472}} 
[2026-07-27 16:17:38] local.INFO: DEBUG: GPS processor result {"connection_id":143112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:17:38] local.INFO: GPS data processed {"connection_id":143112,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:17:38] local.INFO: Acknowledgment sent {"connection_id":143112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:17:50] local.INFO: TCP Data received {"connection_id":142968,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa32f1a68012d7b5cc005e80920000700b417..."} 
[2026-07-27 16:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142968,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa32f1a68012d7b5cc005e80920000700b417..."} 
[2026-07-27 16:17:50] local.INFO: Processing buffer {"connection_id":142968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa32f1a68012d7b5cc005e80920000700b417..."} 
[2026-07-27 16:17:50] local.INFO: Packet analysis {"connection_id":142968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa32f"} 
[2026-07-27 16:17:50] local.INFO: Extracted packet for processing {"connection_id":142968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa32f"} 
[2026-07-27 16:17:50] local.INFO: GPS Element Parsed {"raw_longitude":763059392,"raw_latitude":99092768,"longitude_deg":76.3059392,"latitude_deg":9.9092768,"altitude":7,"angle":180,"satellites":23,"speed":24,"hex_longitude":"2d7b5cc0","hex_latitude":"05e80920","is_valid_coordinates":true} 
[2026-07-27 16: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-07-27 16:17:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998191104001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:17:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111637903808921600,"note":"Value kept but may cause issues"} 
[2026-07-27 16:17:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8888276102449731584,"note":"Value kept but may cause issues"} 
[2026-07-27 16:17:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:17:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785149201000,"timestamp_ms":1785149201000,"timestamp_seconds":1785149201,"priority":1,"record_length":96,"hex_timestamp":"0000019fa32f1a68"} 
[2026-07-27 16:17:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:17: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-07-27 16: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":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-27 16:17:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2305843009381467136,"note":"Value kept but may cause issues"} 
[2026-07-27 16:17:50] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-27 16:17:50] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2737696160,"note":"Value kept but may cause issues"} 
[2026-07-27 16:17:50] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3299169088252018712,"corrected_to":0} 
[2026-07-27 16:17:50] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182130925371648,"note":"Value kept but may cause issues"} 
[2026-07-27 16:17:50] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2701184301,"note":"Value kept but may cause issues"} 
[2026-07-27 16:17:50] local.WARNING: Large IO value detected {"io_id":140,"raw_value":2622947328,"note":"Value kept but may cause issues"} 
[2026-07-27 16:17:50] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-1674265937915630824,"note":"Value kept but may cause issues"} 
[2026-07-27 16:17:50] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194989312,"note":"Value kept but may cause issues"} 
[2026-07-27 16:17:50] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,201,87,24,241,157,16,159,196,45,128,39,11,10,66,137,192,75,9,118,1,240,106,227,163,232,4,113,205,31,89,239,50,2,140,5,69],"length":484,"final_offset":614,"validated_count":37,"validation_warnings":[{"io_id":205,"original":3299169088252018712,"validated":0}]} 
[2026-07-27 16:17:50] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792819454963023872,"timestamp_seconds":792819454963023.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 16:17:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:17:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:17:50] local.INFO: Teltonika packet parsed successfully {"connection_id":142968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:17:50] local.INFO: Passing IMEI to GPS processor {"connection_id":142968,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:17:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":142968,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:17:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:17:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 16:17:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 16:17:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998191104001,"66":12472,"201":206,"87":13824,"24":24,"16":111637903808921600,"45":8888276102449731584},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-07-27 16:17:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 16:17:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 16:17:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998191104001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:17:50] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-07-27 16:17:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 16:17:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111637903808921600,"km_value":111637903808921.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:17:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8888276102449731584,"description":"Unknown IO ID 45"} 
[2026-07-27 16:17:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998191104001,"power":12472,"unknown_201":206,"unknown_87":13824,"ignition":24,"odometer":null,"unknown_45":8888276102449731584}} 
[2026-07-27 16:17:50] local.INFO: DEBUG: GPS processor result {"connection_id":142968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554098,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:17:50] local.INFO: GPS data processed {"connection_id":142968,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:17:50] local.INFO: Acknowledgment sent {"connection_id":142968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:18:05] local.INFO: TCP Data received {"connection_id":144100,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144100,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:18:05] local.INFO: Processing buffer {"connection_id":144100,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:18:05] local.INFO: IMEI packet received {"connection_id":144100,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 16:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":144100,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:18:05] local.INFO: TCP Data received {"connection_id":144100,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144100,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:18:05] local.INFO: Processing buffer {"connection_id":144100,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:18:05] local.INFO: IMEI packet received {"connection_id":144100,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 16:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":144100,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:18:07] local.INFO: TCP Data received {"connection_id":143113,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143113,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:18:07] local.INFO: Processing buffer {"connection_id":143113,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:18:07] local.INFO: IMEI packet received {"connection_id":143113,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 16:18:07] local.INFO: IMEI acknowledgment sent {"connection_id":143113,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:18:09] local.INFO: TCP Data received {"connection_id":143112,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fa32f9768012d9cd70005b360f8002400092a..."} 
[2026-07-27 16:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143112,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa32f9768012d9cd70005b360f8002400092a..."} 
[2026-07-27 16:18:09] local.INFO: Processing buffer {"connection_id":143112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa32f9768012d9cd70005b360f8002400092a..."} 
[2026-07-27 16:18:09] local.INFO: Packet analysis {"connection_id":143112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa32f"} 
[2026-07-27 16:18:09] local.INFO: Extracted packet for processing {"connection_id":143112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa32f"} 
[2026-07-27 16:18:09] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641848,"longitude_deg":76.5253376,"latitude_deg":9.5641848,"altitude":36,"angle":9,"satellites":42,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b360f8","is_valid_coordinates":true} 
[2026-07-27 16:18:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:18:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998126592001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:18:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359071309033897984,"note":"Value kept but may cause issues"} 
[2026-07-27 16:18:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315689472,"note":"Value kept but may cause issues"} 
[2026-07-27 16:18:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:18:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785149233000,"timestamp_ms":1785149233000,"timestamp_seconds":1785149233,"priority":1,"record_length":96,"hex_timestamp":"0000019fa32f9768"} 
[2026-07-27 16:18:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:18:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 16:18:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-27 16:18:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:18:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:18:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:18:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:18:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:18:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:18:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:18:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:18:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:18:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:18:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998126592001,"66":25973,"226":206,"83":17408,"24":0,"16":359071309033897984,"45":-7145242259315689472},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-07-27 16:18:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:18:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:18:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998126592001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:18:09] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-27 16:18:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 16:18:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359071309033897984,"km_value":359071309033898.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:18:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315689472,"description":"Unknown IO ID 45"} 
[2026-07-27 16:18:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998126592001,"power":25973,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315689472}} 
[2026-07-27 16:18:09] local.INFO: DEBUG: GPS processor result {"connection_id":143112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:18:09] local.INFO: GPS data processed {"connection_id":143112,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:18:09] local.INFO: Acknowledgment sent {"connection_id":143112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:18:09] local.INFO: TCP Data received {"connection_id":144100,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144100,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:18:09] local.INFO: Processing buffer {"connection_id":144100,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:18:09] local.INFO: IMEI packet received {"connection_id":144100,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 16:18:09] local.INFO: IMEI acknowledgment sent {"connection_id":144100,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:18:10] local.INFO: TCP Data received {"connection_id":144100,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa32ea920012d1828c007219cf8004d007229..."} 
[2026-07-27 16:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144100,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa32ea920012d1828c007219cf8004d007229..."} 
[2026-07-27 16:18:10] local.INFO: Processing buffer {"connection_id":144100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa32ea920012d1828c007219cf8004d007229..."} 
[2026-07-27 16:18:10] local.INFO: Packet analysis {"connection_id":144100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa32e"} 
[2026-07-27 16:18:10] local.INFO: Extracted packet for processing {"connection_id":144100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa32e"} 
[2026-07-27 16:18:10] local.INFO: GPS Element Parsed {"raw_longitude":756558016,"raw_latitude":119643384,"longitude_deg":75.6558016,"latitude_deg":11.9643384,"altitude":77,"angle":114,"satellites":41,"speed":0,"hex_longitude":"2d1828c0","hex_latitude":"07219cf8","is_valid_coordinates":true} 
[2026-07-27 16:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:18:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998182656001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:18:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8887588710514688,"note":"Value kept but may cause issues"} 
[2026-07-27 16:18:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740852392839936000,"note":"Value kept but may cause issues"} 
[2026-07-27 16:18:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:18:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785149172000,"timestamp_ms":1785149172000,"timestamp_seconds":1785149172,"priority":1,"record_length":96,"hex_timestamp":"0000019fa32ea920"} 
[2026-07-27 16:18:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:18:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-27 16:18:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:18:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:18:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:18:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:18:10] local.INFO: Teltonika packet parsed successfully {"connection_id":144100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:18:10] local.INFO: Passing IMEI to GPS processor {"connection_id":144100,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:18:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":144100,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:18:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:18:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 16:18:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 16:18:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998182656001,"66":14048,"120":206,"28":31744,"24":0,"16":8887588710514688,"45":1740852392839936000},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 16:18:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 16:18:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 16:18:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998182656001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:18:10] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 16:18:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 16:18:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8887588710514688,"km_value":8887588710514.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:18:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740852392839936000,"description":"Unknown IO ID 45"} 
[2026-07-27 16:18:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998182656001,"power":14048,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740852392839936000}} 
[2026-07-27 16:18:11] local.INFO: DEBUG: GPS processor result {"connection_id":144100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554100,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:18:11] local.INFO: GPS data processed {"connection_id":144100,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:18:11] local.INFO: Acknowledgment sent {"connection_id":144100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:18:13] local.INFO: TCP Data received {"connection_id":143113,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143113,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:18:13] local.INFO: Processing buffer {"connection_id":143113,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:18:13] local.INFO: IMEI packet received {"connection_id":143113,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 16:18:13] local.INFO: IMEI acknowledgment sent {"connection_id":143113,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:18:13] local.INFO: TCP Data received {"connection_id":144100,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa32efb28012d1828c007219cf8004d00722b..."} 
[2026-07-27 16:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144100,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa32efb28012d1828c007219cf8004d00722b..."} 
[2026-07-27 16:18:13] local.INFO: Processing buffer {"connection_id":144100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa32efb28012d1828c007219cf8004d00722b..."} 
[2026-07-27 16:18:13] local.INFO: Packet analysis {"connection_id":144100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa32e"} 
[2026-07-27 16:18:13] local.INFO: Extracted packet for processing {"connection_id":144100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa32e"} 
[2026-07-27 16:18:13] local.INFO: GPS Element Parsed {"raw_longitude":756558016,"raw_latitude":119643384,"longitude_deg":75.6558016,"latitude_deg":11.9643384,"altitude":77,"angle":114,"satellites":43,"speed":0,"hex_longitude":"2d1828c0","hex_latitude":"07219cf8","is_valid_coordinates":true} 
[2026-07-27 16: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-07-27 16:18:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998188032001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:18:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8887588710514688,"note":"Value kept but may cause issues"} 
[2026-07-27 16:18:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740852392839936000,"note":"Value kept but may cause issues"} 
[2026-07-27 16:18:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:18:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785149193000,"timestamp_ms":1785149193000,"timestamp_seconds":1785149193,"priority":1,"record_length":96,"hex_timestamp":"0000019fa32efb28"} 
[2026-07-27 16:18:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:18:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-07-27 16:18:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16: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-07-27 16:18:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:18:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:18:13] local.INFO: Teltonika packet parsed successfully {"connection_id":144100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:18:13] local.INFO: Passing IMEI to GPS processor {"connection_id":144100,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:18:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":144100,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:18:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:18:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 16:18:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 16:18:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998188032001,"66":14189,"120":206,"28":31744,"24":0,"16":8887588710514688,"45":1740852392839936000},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 16:18:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 16:18:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 16:18:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998188032001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:18:13] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 16:18:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 16:18:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8887588710514688,"km_value":8887588710514.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:18:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740852392839936000,"description":"Unknown IO ID 45"} 
[2026-07-27 16:18:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998188032001,"power":14189,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740852392839936000}} 
[2026-07-27 16:18:13] local.INFO: DEBUG: GPS processor result {"connection_id":144100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554101,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:18:13] local.INFO: GPS data processed {"connection_id":144100,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:18:13] local.INFO: Acknowledgment sent {"connection_id":144100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:18:14] local.INFO: TCP Data received {"connection_id":143113,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa32f4560012d7b5a4005e7e3e8000300b218..."} 
[2026-07-27 16:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143113,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa32f4560012d7b5a4005e7e3e8000300b218..."} 
[2026-07-27 16:18:14] local.INFO: Processing buffer {"connection_id":143113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa32f4560012d7b5a4005e7e3e8000300b218..."} 
[2026-07-27 16:18:14] local.INFO: Packet analysis {"connection_id":143113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa32f"} 
[2026-07-27 16:18:14] local.INFO: Extracted packet for processing {"connection_id":143113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa32f"} 
[2026-07-27 16:18:14] local.INFO: GPS Element Parsed {"raw_longitude":763058752,"raw_latitude":99083240,"longitude_deg":76.3058752,"latitude_deg":9.908324,"altitude":3,"angle":178,"satellites":24,"speed":34,"hex_longitude":"2d7b5a40","hex_latitude":"05e7e3e8","is_valid_coordinates":true} 
[2026-07-27 16:18:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:18:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998195456001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:18:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111638367665389568,"note":"Value kept but may cause issues"} 
[2026-07-27 16:18:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8889190896122798080,"note":"Value kept but may cause issues"} 
[2026-07-27 16:18:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:18:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785149212000,"timestamp_ms":1785149212000,"timestamp_seconds":1785149212,"priority":1,"record_length":96,"hex_timestamp":"0000019fa32f4560"} 
[2026-07-27 16:18:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:18:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16: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":48,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-27 16:18:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2094,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:18:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:18:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:18:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:18:14] local.INFO: Teltonika packet parsed successfully {"connection_id":143113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:18:14] local.INFO: Passing IMEI to GPS processor {"connection_id":143113,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:18:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":143113,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:18:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:18:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 16:18:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 16:18:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998195456001,"66":12461,"201":206,"87":13824,"24":34,"16":111638367665389568,"45":8889190896122798080},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-07-27 16:18:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 16:18:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 16:18:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998195456001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:18:14] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-07-27 16:18:14] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 16:18:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111638367665389568,"km_value":111638367665389.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:18:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8889190896122798080,"description":"Unknown IO ID 45"} 
[2026-07-27 16:18:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998195456001,"power":12461,"unknown_201":206,"unknown_87":13824,"ignition":34,"odometer":null,"unknown_45":8889190896122798080}} 
[2026-07-27 16:18:14] local.INFO: DEBUG: GPS processor result {"connection_id":143113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554102,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:18:14] local.INFO: GPS data processed {"connection_id":143113,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:18:14] local.INFO: Acknowledgment sent {"connection_id":143113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:18:32] local.INFO: TCP Data received {"connection_id":144101,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:18:32] local.INFO: Processing buffer {"connection_id":144101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:18:32] local.INFO: IMEI packet received {"connection_id":144101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 16:18:32] local.INFO: IMEI acknowledgment sent {"connection_id":144101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:18:37] local.INFO: TCP Data received {"connection_id":144101,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:18:37] local.INFO: Processing buffer {"connection_id":144101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:18:37] local.INFO: IMEI packet received {"connection_id":144101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 16:18:37] local.INFO: IMEI acknowledgment sent {"connection_id":144101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:18:37] local.INFO: TCP Data received {"connection_id":144101,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa32f9768012d9cd70005b360f8002400092a..."} 
[2026-07-27 16:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144101,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa32f9768012d9cd70005b360f8002400092a..."} 
[2026-07-27 16:18:37] local.INFO: Processing buffer {"connection_id":144101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa32f9768012d9cd70005b360f8002400092a..."} 
[2026-07-27 16:18:37] local.INFO: Packet analysis {"connection_id":144101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa32f"} 
[2026-07-27 16:18:37] local.INFO: Extracted packet for processing {"connection_id":144101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa32f"} 
[2026-07-27 16:18:37] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641848,"longitude_deg":76.5253376,"latitude_deg":9.5641848,"altitude":36,"angle":9,"satellites":42,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b360f8","is_valid_coordinates":true} 
[2026-07-27 16:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998126592001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359071309033897984,"note":"Value kept but may cause issues"} 
[2026-07-27 16:18:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315689472,"note":"Value kept but may cause issues"} 
[2026-07-27 16:18:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785149233000,"timestamp_ms":1785149233000,"timestamp_seconds":1785149233,"priority":1,"record_length":96,"hex_timestamp":"0000019fa32f9768"} 
[2026-07-27 16:18:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:18:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 16:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-27 16:18:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:18:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:18:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:18:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998126592001,"66":25973,"226":206,"83":17408,"24":0,"16":359071309033897984,"45":-7145242259315689472},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-07-27 16:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998126592001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:18:37] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-27 16:18:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 16:18:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359071309033897984,"km_value":359071309033898.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:18:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315689472,"description":"Unknown IO ID 45"} 
[2026-07-27 16:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998126592001,"power":25973,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315689472}} 
[2026-07-27 16:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":144101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:18:37] local.INFO: GPS data processed {"connection_id":144101,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:18:37] local.INFO: Acknowledgment sent {"connection_id":144101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:18:44] local.INFO: TCP Data received {"connection_id":144100,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa32f4d30012d1828c007219cf8004d007229..."} 
[2026-07-27 16:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144100,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa32f4d30012d1828c007219cf8004d007229..."} 
[2026-07-27 16:18:44] local.INFO: Processing buffer {"connection_id":144100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa32f4d30012d1828c007219cf8004d007229..."} 
[2026-07-27 16:18:44] local.INFO: Packet analysis {"connection_id":144100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa32f"} 
[2026-07-27 16:18:44] local.INFO: Extracted packet for processing {"connection_id":144100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa32f"} 
[2026-07-27 16:18:44] local.INFO: GPS Element Parsed {"raw_longitude":756558016,"raw_latitude":119643384,"longitude_deg":75.6558016,"latitude_deg":11.9643384,"altitude":77,"angle":114,"satellites":41,"speed":0,"hex_longitude":"2d1828c0","hex_latitude":"07219cf8","is_valid_coordinates":true} 
[2026-07-27 16:18:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:18:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998193408001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:18:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8887588710514688,"note":"Value kept but may cause issues"} 
[2026-07-27 16:18:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740852392839936000,"note":"Value kept but may cause issues"} 
[2026-07-27 16:18:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:18:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785149214000,"timestamp_ms":1785149214000,"timestamp_seconds":1785149214,"priority":1,"record_length":96,"hex_timestamp":"0000019fa32f4d30"} 
[2026-07-27 16:18:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:18:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:18:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-27 16:18:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:18:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:18:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:18:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:18:44] local.INFO: Teltonika packet parsed successfully {"connection_id":144100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:18:44] local.INFO: Passing IMEI to GPS processor {"connection_id":144100,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:18:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":144100,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:18:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:18:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 16:18:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 16:18:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998193408001,"66":14243,"120":206,"28":31744,"24":0,"16":8887588710514688,"45":1740852392839936000},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 16:18:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 16:18:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 16:18:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998193408001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:18:44] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 16:18:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 16:18:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8887588710514688,"km_value":8887588710514.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:18:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740852392839936000,"description":"Unknown IO ID 45"} 
[2026-07-27 16:18:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998193408001,"power":14243,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740852392839936000}} 
[2026-07-27 16:18:44] local.INFO: DEBUG: GPS processor result {"connection_id":144100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554104,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:18:44] local.INFO: GPS data processed {"connection_id":144100,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:18:44] local.INFO: Acknowledgment sent {"connection_id":144100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:18:45] local.INFO: TCP Data received {"connection_id":143113,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa32f7058012d7b5f8005e7c218000400a418..."} 
[2026-07-27 16:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143113,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa32f7058012d7b5f8005e7c218000400a418..."} 
[2026-07-27 16:18:45] local.INFO: Processing buffer {"connection_id":143113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa32f7058012d7b5f8005e7c218000400a418..."} 
[2026-07-27 16:18:45] local.INFO: Packet analysis {"connection_id":143113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa32f"} 
[2026-07-27 16:18:45] local.INFO: Extracted packet for processing {"connection_id":143113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa32f"} 
[2026-07-27 16:18:45] local.INFO: GPS Element Parsed {"raw_longitude":763060096,"raw_latitude":99074584,"longitude_deg":76.3060096,"latitude_deg":9.9074584,"altitude":4,"angle":164,"satellites":24,"speed":16,"hex_longitude":"2d7b5f80","hex_latitude":"05e7c218","is_valid_coordinates":true} 
[2026-07-27 16: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-07-27 16:18:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998198272001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:18:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111638792867151872,"note":"Value kept but may cause issues"} 
[2026-07-27 16:18:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8888487208678582272,"note":"Value kept but may cause issues"} 
[2026-07-27 16:18:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:18:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785149223000,"timestamp_ms":1785149223000,"timestamp_seconds":1785149223,"priority":1,"record_length":96,"hex_timestamp":"0000019fa32f7058"} 
[2026-07-27 16:18:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:18:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-27 16:18: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-07-27 16: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-07-27 16:18:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:18:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:18:45] local.INFO: Teltonika packet parsed successfully {"connection_id":143113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:18:45] local.INFO: Passing IMEI to GPS processor {"connection_id":143113,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:18:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":143113,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:18:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:18:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 16:18:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 16:18:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998198272001,"66":12298,"201":206,"87":13824,"24":16,"16":111638792867151872,"45":8888487208678582272},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-07-27 16:18:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 16:18:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 16:18:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998198272001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:18:45] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-07-27 16:18:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 16:18:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111638792867151872,"km_value":111638792867151.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:18:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8888487208678582272,"description":"Unknown IO ID 45"} 
[2026-07-27 16:18:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998198272001,"power":12298,"unknown_201":206,"unknown_87":13824,"ignition":16,"odometer":null,"unknown_45":8888487208678582272}} 
[2026-07-27 16:18:46] local.INFO: DEBUG: GPS processor result {"connection_id":143113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554105,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:18:46] local.INFO: GPS data processed {"connection_id":143113,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:18:46] local.INFO: Acknowledgment sent {"connection_id":143113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:18:59] local.INFO: TCP Data received {"connection_id":142969,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142969,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:18:59] local.INFO: Processing buffer {"connection_id":142969,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:18:59] local.INFO: IMEI packet received {"connection_id":142969,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 16:18:59] local.INFO: IMEI acknowledgment sent {"connection_id":142969,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:18:59] local.INFO: TCP Data received {"connection_id":142969,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142969,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:18:59] local.INFO: Processing buffer {"connection_id":142969,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:18:59] local.INFO: IMEI packet received {"connection_id":142969,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 16:18:59] local.INFO: IMEI acknowledgment sent {"connection_id":142969,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:19:00] local.INFO: TCP Data received {"connection_id":142969,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142969,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:19:00] local.INFO: Processing buffer {"connection_id":142969,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:19:00] local.INFO: IMEI packet received {"connection_id":142969,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 16:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":142969,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:19:05] local.INFO: TCP Data received {"connection_id":142969,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142969,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:19:05] local.INFO: Processing buffer {"connection_id":142969,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:19:05] local.INFO: IMEI packet received {"connection_id":142969,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 16:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":142969,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:19:06] local.INFO: TCP Data received {"connection_id":142969,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3309d20012d18c48007213fb8004600a62b..."} 
[2026-07-27 16:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3309d20012d18c48007213fb8004600a62b..."} 
[2026-07-27 16:19:06] local.INFO: Processing buffer {"connection_id":142969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3309d20012d18c48007213fb8004600a62b..."} 
[2026-07-27 16:19:06] local.INFO: Packet analysis {"connection_id":142969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa330"} 
[2026-07-27 16:19:06] local.INFO: Extracted packet for processing {"connection_id":142969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa330"} 
[2026-07-27 16:19:06] local.INFO: GPS Element Parsed {"raw_longitude":756597888,"raw_latitude":119619512,"longitude_deg":75.6597888,"latitude_deg":11.9619512,"altitude":70,"angle":166,"satellites":43,"speed":26,"hex_longitude":"2d18c480","hex_latitude":"07213fb8","is_valid_coordinates":true} 
[2026-07-27 16:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998219520001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:19:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8890019662004224,"note":"Value kept but may cause issues"} 
[2026-07-27 16:19:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784621751713155072,"note":"Value kept but may cause issues"} 
[2026-07-27 16:19:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:19:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785149300000,"timestamp_ms":1785149300000,"timestamp_seconds":1785149300,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3309d20"} 
[2026-07-27 16:19:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:19:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-27 16:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3454499072,"note":"Value kept but may cause issues"} 
[2026-07-27 16:19:06] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2737829160,"note":"Value kept but may cause issues"} 
[2026-07-27 16:19:06] local.WARNING: Large IO value detected {"io_id":148,"raw_value":3405774848,"note":"Value kept but may cause issues"} 
[2026-07-27 16:19:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-27 16:19:06] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2488664064,"note":"Value kept but may cause issues"} 
[2026-07-27 16:19:06] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,121,28,24,241,158,16,149,159,129,45,192,81,74,44,10,66,94,101,80,43,148,75,64,1,240,163,33,4,113,205,25,20,135,56,239,2,31,7],"length":479,"final_offset":609,"validated_count":39,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-07-27 16:19:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5188342672780820480,"timestamp_seconds":5188342672780820.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 16:19:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:19:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:19:06] local.INFO: Teltonika packet parsed successfully {"connection_id":142969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:19:06] local.INFO: Passing IMEI to GPS processor {"connection_id":142969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:19:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":142969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:19:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:19:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 16:19:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 16:19:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998219520001,"66":14157,"121":206,"28":31744,"24":26,"16":8890019662004224,"45":1784621751713155072},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 16:19:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 16:19:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 16:19:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998219520001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:19:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 16:19:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 16:19:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8890019662004224,"km_value":8890019662004.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:19:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784621751713155072,"description":"Unknown IO ID 45"} 
[2026-07-27 16:19:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998219520001,"power":14157,"unknown_121":206,"unknown_28":31744,"ignition":26,"odometer":null,"unknown_45":1784621751713155072}} 
[2026-07-27 16:19:06] local.INFO: DEBUG: GPS processor result {"connection_id":142969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554106,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:19:06] local.INFO: GPS data processed {"connection_id":142969,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:19:06] local.INFO: Acknowledgment sent {"connection_id":142969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:19:07] local.INFO: TCP Data received {"connection_id":142969,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa330a4f0012d18c6c007213aa80046009b2c..."} 
[2026-07-27 16:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa330a4f0012d18c6c007213aa80046009b2c..."} 
[2026-07-27 16:19:07] local.INFO: Processing buffer {"connection_id":142969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa330a4f0012d18c6c007213aa80046009b2c..."} 
[2026-07-27 16:19:07] local.INFO: Packet analysis {"connection_id":142969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa330"} 
[2026-07-27 16:19:07] local.INFO: Extracted packet for processing {"connection_id":142969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa330"} 
[2026-07-27 16:19:07] local.INFO: GPS Element Parsed {"raw_longitude":756598464,"raw_latitude":119618216,"longitude_deg":75.6598464,"latitude_deg":11.9618216,"altitude":70,"angle":155,"satellites":44,"speed":28,"hex_longitude":"2d18c6c0","hex_latitude":"07213aa8","is_valid_coordinates":true} 
[2026-07-27 16:19:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:19:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998220800001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:19:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8890088381480960,"note":"Value kept but may cause issues"} 
[2026-07-27 16:19:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784692120456509440,"note":"Value kept but may cause issues"} 
[2026-07-27 16:19:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:19:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785149302000,"timestamp_ms":1785149302000,"timestamp_seconds":1785149302,"priority":1,"record_length":96,"hex_timestamp":"0000019fa330a4f0"} 
[2026-07-27 16:19:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:19:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:19:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-27 16:19:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:19:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:19:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:19:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:19:07] local.INFO: Teltonika packet parsed successfully {"connection_id":142969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:19:07] local.INFO: Passing IMEI to GPS processor {"connection_id":142969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:19:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":142969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:19:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:19:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 16:19:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 16:19:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998220800001,"66":13993,"121":206,"28":31744,"24":28,"16":8890088381480960,"45":1784692120456509440},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 16:19:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 16:19:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 16:19:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998220800001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:19:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 16:19:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 16:19:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8890088381480960,"km_value":8890088381480.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:19:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784692120456509440,"description":"Unknown IO ID 45"} 
[2026-07-27 16:19:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998220800001,"power":13993,"unknown_121":206,"unknown_28":31744,"ignition":28,"odometer":null,"unknown_45":1784692120456509440}} 
[2026-07-27 16:19:07] local.INFO: DEBUG: GPS processor result {"connection_id":142969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554107,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:19:07] local.INFO: GPS data processed {"connection_id":142969,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:19:07] local.INFO: Acknowledgment sent {"connection_id":142969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:19:07] local.INFO: TCP Data received {"connection_id":145392,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145392,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:19:07] local.INFO: Processing buffer {"connection_id":145392,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:19:07] local.INFO: IMEI packet received {"connection_id":145392,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 16:19:07] local.INFO: IMEI acknowledgment sent {"connection_id":145392,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:19:08] local.INFO: TCP Data received {"connection_id":145392,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145392,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:19:08] local.INFO: Processing buffer {"connection_id":145392,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:19:08] local.INFO: IMEI packet received {"connection_id":145392,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 16:19:08] local.INFO: IMEI acknowledgment sent {"connection_id":145392,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:19:09] local.INFO: TCP Data received {"connection_id":144101,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa32f9768012d9cd70005b360f8002400092a..."} 
[2026-07-27 16:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144101,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa32f9768012d9cd70005b360f8002400092a..."} 
[2026-07-27 16:19:09] local.INFO: Processing buffer {"connection_id":144101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa32f9768012d9cd70005b360f8002400092a..."} 
[2026-07-27 16:19:09] local.INFO: Packet analysis {"connection_id":144101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa32f"} 
[2026-07-27 16:19:09] local.INFO: Extracted packet for processing {"connection_id":144101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa32f"} 
[2026-07-27 16:19:09] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641848,"longitude_deg":76.5253376,"latitude_deg":9.5641848,"altitude":36,"angle":9,"satellites":42,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b360f8","is_valid_coordinates":true} 
[2026-07-27 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-07-27 16:19:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998126592001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:19:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359071309033897984,"note":"Value kept but may cause issues"} 
[2026-07-27 16:19:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315689472,"note":"Value kept but may cause issues"} 
[2026-07-27 16:19:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:19:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785149233000,"timestamp_ms":1785149233000,"timestamp_seconds":1785149233,"priority":1,"record_length":96,"hex_timestamp":"0000019fa32f9768"} 
[2026-07-27 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-07-27 16:19:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-27 16:19:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 16:19:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:19:09] local.INFO: Teltonika packet parsed successfully {"connection_id":144101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:19:09] local.INFO: Passing IMEI to GPS processor {"connection_id":144101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:19:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":144101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:19:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:19:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:19:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:19:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998126592001,"66":25973,"226":206,"83":17408,"24":0,"16":359071309033897984,"45":-7145242259315689472},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-07-27 16:19:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:19:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:19:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998126592001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:19:09] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-27 16:19:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 16:19:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359071309033897984,"km_value":359071309033898.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:19:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315689472,"description":"Unknown IO ID 45"} 
[2026-07-27 16:19:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998126592001,"power":25973,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315689472}} 
[2026-07-27 16:19:09] local.INFO: DEBUG: GPS processor result {"connection_id":144101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:19:09] local.INFO: GPS data processed {"connection_id":144101,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:19:09] local.INFO: Acknowledgment sent {"connection_id":144101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:19:13] local.INFO: TCP Data received {"connection_id":145392,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145392,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:19:13] local.INFO: Processing buffer {"connection_id":145392,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:19:13] local.INFO: IMEI packet received {"connection_id":145392,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 16:19:13] local.INFO: IMEI acknowledgment sent {"connection_id":145392,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:19:14] local.INFO: TCP Data received {"connection_id":145392,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa32fa708012d7b618005e7b0b0000100b018..."} 
[2026-07-27 16:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa32fa708012d7b618005e7b0b0000100b018..."} 
[2026-07-27 16:19:14] local.INFO: Processing buffer {"connection_id":145392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa32fa708012d7b618005e7b0b0000100b018..."} 
[2026-07-27 16:19:14] local.INFO: Packet analysis {"connection_id":145392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa32f"} 
[2026-07-27 16:19:14] local.INFO: Extracted packet for processing {"connection_id":145392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa32f"} 
[2026-07-27 16:19:14] local.INFO: GPS Element Parsed {"raw_longitude":763060608,"raw_latitude":99070128,"longitude_deg":76.3060608,"latitude_deg":9.9070128,"altitude":1,"angle":176,"satellites":24,"speed":5,"hex_longitude":"2d7b6180","hex_latitude":"05e7b0b0","is_valid_coordinates":true} 
[2026-07-27 16:19:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:19:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998201088001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:19:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111639011910483968,"note":"Value kept but may cause issues"} 
[2026-07-27 16:19:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8889964952304097280,"note":"Value kept but may cause issues"} 
[2026-07-27 16:19:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:19:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785149237000,"timestamp_ms":1785149237000,"timestamp_seconds":1785149237,"priority":1,"record_length":96,"hex_timestamp":"0000019fa32fa708"} 
[2026-07-27 16:19:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:19:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:19:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-27 16:19:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-27 16:19:14] local.WARNING: Large IO value detected {"io_id":87,"raw_value":3891136466763383296,"note":"Value kept but may cause issues"} 
[2026-07-27 16:19:14] local.WARNING: Large IO value detected {"io_id":24,"raw_value":8725724278685700,"note":"Value kept but may cause issues"} 
[2026-07-27 16:19:14] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185996,"note":"Value kept but may cause issues"} 
[2026-07-27 16:19:14] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3098476543630901249,"note":"Value kept but may cause issues"} 
[2026-07-27 16:19:14] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-6688329815857202343,"note":"Value kept but may cause issues"} 
[2026-07-27 16:19:14] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832580,"note":"Value kept but may cause issues"} 
[2026-07-27 16:19:14] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3632716930664169678,"note":"Value kept but may cause issues"} 
[2026-07-27 16:19:14] local.WARNING: Large IO value detected {"io_id":9,"raw_value":48158609732796416,"note":"Value kept but may cause issues"} 
[2026-07-27 16:19:14] local.WARNING: Large IO value detected {"io_id":128,"raw_value":425726194991300784,"note":"Value kept but may cause issues"} 
[2026-07-27 16:19:14] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3898079232,"note":"Value kept but may cause issues"} 
[2026-07-27 16:19:14] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":768147662,"corrected_to":0} 
[2026-07-27 16:19:14] local.WARNING: Large IO value detected {"io_id":137,"raw_value":3758173563,"note":"Value kept but may cause issues"} 
[2026-07-27 16:19:14] local.WARNING: Large IO value detected {"io_id":93,"raw_value":3221612619,"note":"Value kept but may cause issues"} 
[2026-07-27 16:19:14] local.WARNING: Large IO value detected {"io_id":140,"raw_value":2639200256,"note":"Value kept but may cause issues"} 
[2026-07-27 16:19:14] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,201,87,24,241,157,16,158,159,69,45,64,227,3,10,66,26,192,9,7,23,216,128,1,240,5,163,232,4,113,205,25,137,93,120,239,51,2,140],"length":534,"final_offset":664,"validated_count":39,"validation_warnings":[{"io_id":205,"original":768147662,"validated":0}]} 
[2026-07-27 16:19:14] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288410799138930688,"timestamp_seconds":288410799138930.7,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 16:19:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:19:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:19:14] local.INFO: Teltonika packet parsed successfully {"connection_id":145392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:19:14] local.INFO: Passing IMEI to GPS processor {"connection_id":145392,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:19:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":145392,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:19:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:19:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 16:19:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 16:19:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998201088001,"66":12906,"96":206,"87":13824,"24":5,"16":111639011910483968,"45":8889964952304097280},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-07-27 16:19:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 16:19:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 16:19:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998201088001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:19:14] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-27 16:19:14] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 16:19:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111639011910483968,"km_value":111639011910483.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:19:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8889964952304097280,"description":"Unknown IO ID 45"} 
[2026-07-27 16:19:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998201088001,"power":12906,"unknown_96":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8889964952304097280}} 
[2026-07-27 16:19:14] local.INFO: DEBUG: GPS processor result {"connection_id":145392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554109,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:19:14] local.INFO: GPS data processed {"connection_id":145392,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:19:14] local.INFO: Acknowledgment sent {"connection_id":145392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:19:32] local.INFO: TCP Data received {"connection_id":145393,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:19:32] local.INFO: Processing buffer {"connection_id":145393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:19:32] local.INFO: IMEI packet received {"connection_id":145393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 16:19:32] local.INFO: IMEI acknowledgment sent {"connection_id":145393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:19:37] local.INFO: TCP Data received {"connection_id":145393,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:19:37] local.INFO: Processing buffer {"connection_id":145393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:19:37] local.INFO: IMEI packet received {"connection_id":145393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 16:19:37] local.INFO: IMEI acknowledgment sent {"connection_id":145393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:19:38] local.INFO: TCP Data received {"connection_id":145393,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa32f9768012d9cd70005b360f8002400092a..."} 
[2026-07-27 16:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa32f9768012d9cd70005b360f8002400092a..."} 
[2026-07-27 16:19:38] local.INFO: Processing buffer {"connection_id":145393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa32f9768012d9cd70005b360f8002400092a..."} 
[2026-07-27 16:19:38] local.INFO: Packet analysis {"connection_id":145393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa32f"} 
[2026-07-27 16:19:38] local.INFO: Extracted packet for processing {"connection_id":145393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa32f"} 
[2026-07-27 16:19:38] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641848,"longitude_deg":76.5253376,"latitude_deg":9.5641848,"altitude":36,"angle":9,"satellites":42,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b360f8","is_valid_coordinates":true} 
[2026-07-27 16:19:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:19:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998126592001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:19:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359071309033897984,"note":"Value kept but may cause issues"} 
[2026-07-27 16:19:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315689472,"note":"Value kept but may cause issues"} 
[2026-07-27 16:19:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:19:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785149233000,"timestamp_ms":1785149233000,"timestamp_seconds":1785149233,"priority":1,"record_length":96,"hex_timestamp":"0000019fa32f9768"} 
[2026-07-27 16:19:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:19:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 16:19:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-27 16:19:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:19:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:19:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:19:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:19:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:19:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:19:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:19:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:19:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:19:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:19:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998126592001,"66":25973,"226":206,"83":17408,"24":0,"16":359071309033897984,"45":-7145242259315689472},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-07-27 16:19:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:19:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:19:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998126592001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:19:38] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-27 16:19:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 16:19:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359071309033897984,"km_value":359071309033898.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:19:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315689472,"description":"Unknown IO ID 45"} 
[2026-07-27 16:19:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998126592001,"power":25973,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315689472}} 
[2026-07-27 16:19:38] local.INFO: DEBUG: GPS processor result {"connection_id":145393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:19:38] local.INFO: GPS data processed {"connection_id":145393,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:19:38] local.INFO: Acknowledgment sent {"connection_id":145393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:19:39] local.INFO: TCP Data received {"connection_id":142969,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa330b490012d18cc8007213190004400902b..."} 
[2026-07-27 16:19:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa330b490012d18cc8007213190004400902b..."} 
[2026-07-27 16:19:39] local.INFO: Processing buffer {"connection_id":142969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa330b490012d18cc8007213190004400902b..."} 
[2026-07-27 16:19:39] local.INFO: Packet analysis {"connection_id":142969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa330"} 
[2026-07-27 16:19:39] local.INFO: Extracted packet for processing {"connection_id":142969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa330"} 
[2026-07-27 16:19:39] local.INFO: GPS Element Parsed {"raw_longitude":756599936,"raw_latitude":119615888,"longitude_deg":75.6599936,"latitude_deg":11.9615888,"altitude":68,"angle":144,"satellites":43,"speed":27,"hex_longitude":"2d18cc80","hex_latitude":"07213190","is_valid_coordinates":true} 
[2026-07-27 16:19:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:19:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998221312001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:19:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8890221525467136,"note":"Value kept but may cause issues"} 
[2026-07-27 16:19:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785325439153776640,"note":"Value kept but may cause issues"} 
[2026-07-27 16:19:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:19:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785149306000,"timestamp_ms":1785149306000,"timestamp_seconds":1785149306,"priority":1,"record_length":96,"hex_timestamp":"0000019fa330b490"} 
[2026-07-27 16:19:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:19:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-27 16:19:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:19:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:19:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:19:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:19:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:19:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:19:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:19:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:19:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 16:19:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 16:19:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998221312001,"66":14233,"121":206,"28":31744,"24":27,"16":8890221525467136,"45":1785325439153776640},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 16:19:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 16:19:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 16:19:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998221312001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:19:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 16:19:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 16:19:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8890221525467136,"km_value":8890221525467.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:19:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785325439153776640,"description":"Unknown IO ID 45"} 
[2026-07-27 16:19:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998221312001,"power":14233,"unknown_121":206,"unknown_28":31744,"ignition":27,"odometer":null,"unknown_45":1785325439153776640}} 
[2026-07-27 16:19:39] local.INFO: DEBUG: GPS processor result {"connection_id":142969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554111,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:19:39] local.INFO: GPS data processed {"connection_id":142969,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:19:39] local.INFO: Acknowledgment sent {"connection_id":142969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:19:45] local.INFO: TCP Data received {"connection_id":145392,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3318f50012d7b94c005e6e2d8000d00a71a..."} 
[2026-07-27 16:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3318f50012d7b94c005e6e2d8000d00a71a..."} 
[2026-07-27 16:19:45] local.INFO: Processing buffer {"connection_id":145392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3318f50012d7b94c005e6e2d8000d00a71a..."} 
[2026-07-27 16:19:45] local.INFO: Packet analysis {"connection_id":145392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa331"} 
[2026-07-27 16:19:45] local.INFO: Extracted packet for processing {"connection_id":145392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa331"} 
[2026-07-27 16:19:45] local.INFO: GPS Element Parsed {"raw_longitude":763073728,"raw_latitude":99017432,"longitude_deg":76.3073728,"latitude_deg":9.9017432,"altitude":13,"angle":167,"satellites":26,"speed":19,"hex_longitude":"2d7b94c0","hex_latitude":"05e6e2d8","is_valid_coordinates":true} 
[2026-07-27 16:19:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:19:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998232576001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:19:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111641679085174784,"note":"Value kept but may cause issues"} 
[2026-07-27 16:19:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8903194276195870720,"note":"Value kept but may cause issues"} 
[2026-07-27 16:19:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:19:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785149362000,"timestamp_ms":1785149362000,"timestamp_seconds":1785149362,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3318f50"} 
[2026-07-27 16:19:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:19:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:19:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-27 16:19: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-07-27 16:19:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:19:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:19:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:19:45] local.INFO: Teltonika packet parsed successfully {"connection_id":145392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:19:45] local.INFO: Passing IMEI to GPS processor {"connection_id":145392,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:19:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":145392,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:19:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:19:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 16:19:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 16:19:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998232576001,"66":12722,"96":206,"87":13824,"24":19,"16":111641679085174784,"45":8903194276195870720},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-07-27 16:19:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 16:19:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 16:19:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998232576001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:19:45] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-27 16:19:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 16:19:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111641679085174784,"km_value":111641679085174.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:19:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8903194276195870720,"description":"Unknown IO ID 45"} 
[2026-07-27 16:19:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998232576001,"power":12722,"unknown_96":206,"unknown_87":13824,"ignition":19,"odometer":null,"unknown_45":8903194276195870720}} 
[2026-07-27 16:19:45] local.INFO: DEBUG: GPS processor result {"connection_id":145392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554112,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:19:45] local.INFO: GPS data processed {"connection_id":145392,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:19:45] local.INFO: Acknowledgment sent {"connection_id":145392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:19:54] local.INFO: TCP Data received {"connection_id":144102,"ip":"117.224.28.246","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144102,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:19:54] local.INFO: Processing buffer {"connection_id":144102,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:19:54] local.INFO: IMEI packet received {"connection_id":144102,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 16:19:54] local.INFO: IMEI acknowledgment sent {"connection_id":144102,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:19:57] local.INFO: TCP Data received {"connection_id":144102,"ip":"117.224.28.246","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144102,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:19:57] local.INFO: Processing buffer {"connection_id":144102,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:19:57] local.INFO: IMEI packet received {"connection_id":144102,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 16:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":144102,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:19:58] local.INFO: TCP Data received {"connection_id":143114,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143114,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:19:58] local.INFO: Processing buffer {"connection_id":143114,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:19:58] local.INFO: IMEI packet received {"connection_id":143114,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 16:19:58] local.INFO: IMEI acknowledgment sent {"connection_id":143114,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:19:59] local.INFO: TCP Data received {"connection_id":143114,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143114,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:19:59] local.INFO: Processing buffer {"connection_id":143114,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:19:59] local.INFO: IMEI packet received {"connection_id":143114,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 16:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":143114,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:20:08] local.INFO: TCP Data received {"connection_id":143114,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143114,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:20:08] local.INFO: Processing buffer {"connection_id":143114,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:20:08] local.INFO: IMEI packet received {"connection_id":143114,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 16:20:08] local.INFO: IMEI acknowledgment sent {"connection_id":143114,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:20:09] local.INFO: TCP Data received {"connection_id":145393,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa32f9768012d9cd70005b360f8002400092a..."} 
[2026-07-27 16:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa32f9768012d9cd70005b360f8002400092a..."} 
[2026-07-27 16:20:09] local.INFO: Processing buffer {"connection_id":145393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa32f9768012d9cd70005b360f8002400092a..."} 
[2026-07-27 16:20:09] local.INFO: Packet analysis {"connection_id":145393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa32f"} 
[2026-07-27 16:20:09] local.INFO: Extracted packet for processing {"connection_id":145393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa32f"} 
[2026-07-27 16:20:09] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641848,"longitude_deg":76.5253376,"latitude_deg":9.5641848,"altitude":36,"angle":9,"satellites":42,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b360f8","is_valid_coordinates":true} 
[2026-07-27 16:20:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:20:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998126592001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:20:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359071309033897984,"note":"Value kept but may cause issues"} 
[2026-07-27 16:20:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315689472,"note":"Value kept but may cause issues"} 
[2026-07-27 16:20:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:20:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785149233000,"timestamp_ms":1785149233000,"timestamp_seconds":1785149233,"priority":1,"record_length":96,"hex_timestamp":"0000019fa32f9768"} 
[2026-07-27 16:20:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:20:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 16:20:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-27 16:20:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:20:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:20:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:20:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:20:09] local.INFO: Teltonika packet parsed successfully {"connection_id":145393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:20:09] local.INFO: Passing IMEI to GPS processor {"connection_id":145393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:20:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":145393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:20:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:20:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:20:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:20:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998126592001,"66":25973,"226":206,"83":17408,"24":0,"16":359071309033897984,"45":-7145242259315689472},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-07-27 16:20:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:20:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:20:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998126592001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:20:09] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-27 16:20:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 16:20:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359071309033897984,"km_value":359071309033898.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:20:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315689472,"description":"Unknown IO ID 45"} 
[2026-07-27 16:20:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998126592001,"power":25973,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315689472}} 
[2026-07-27 16:20:09] local.INFO: DEBUG: GPS processor result {"connection_id":145393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:20:09] local.INFO: GPS data processed {"connection_id":145393,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:20:09] local.INFO: Acknowledgment sent {"connection_id":145393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:20:11] local.INFO: TCP Data received {"connection_id":143114,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa330c818012d18d240072126b8004200a62b..."} 
[2026-07-27 16:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa330c818012d18d240072126b8004200a62b..."} 
[2026-07-27 16:20:11] local.INFO: Processing buffer {"connection_id":143114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa330c818012d18d240072126b8004200a62b..."} 
[2026-07-27 16:20:11] local.INFO: Packet analysis {"connection_id":143114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa330"} 
[2026-07-27 16:20:11] local.INFO: Extracted packet for processing {"connection_id":143114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa330"} 
[2026-07-27 16:20:11] local.INFO: GPS Element Parsed {"raw_longitude":756601408,"raw_latitude":119613112,"longitude_deg":75.6601408,"latitude_deg":11.9613112,"altitude":66,"angle":166,"satellites":43,"speed":24,"hex_longitude":"2d18d240","hex_latitude":"072126b8","is_valid_coordinates":true} 
[2026-07-27 16:20:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:20:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998222336001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:20:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8890371849322496,"note":"Value kept but may cause issues"} 
[2026-07-27 16:20:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1786943920269266944,"note":"Value kept but may cause issues"} 
[2026-07-27 16:20:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:20:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785149311000,"timestamp_ms":1785149311000,"timestamp_seconds":1785149311,"priority":1,"record_length":96,"hex_timestamp":"0000019fa330c818"} 
[2026-07-27 16:20:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:20:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-07-27 16:20:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:20:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:20:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:20:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:20:11] local.INFO: Teltonika packet parsed successfully {"connection_id":143114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:20:11] local.INFO: Passing IMEI to GPS processor {"connection_id":143114,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:20:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":143114,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:20:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:20:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 16:20:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 16:20:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998222336001,"66":14157,"121":206,"28":31744,"24":24,"16":8890371849322496,"45":1786943920269266944},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 16:20:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 16:20:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 16:20:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998222336001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:20:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 16:20:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 16:20:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8890371849322496,"km_value":8890371849322.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:20:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1786943920269266944,"description":"Unknown IO ID 45"} 
[2026-07-27 16:20:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998222336001,"power":14157,"unknown_121":206,"unknown_28":31744,"ignition":24,"odometer":null,"unknown_45":1786943920269266944}} 
[2026-07-27 16:20:11] local.INFO: DEBUG: GPS processor result {"connection_id":143114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554114,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:20:11] local.INFO: GPS data processed {"connection_id":143114,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:20:11] local.INFO: Acknowledgment sent {"connection_id":143114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:20:13] local.INFO: TCP Data received {"connection_id":142970,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142970,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:20:13] local.INFO: Processing buffer {"connection_id":142970,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:20:13] local.INFO: IMEI packet received {"connection_id":142970,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 16:20:13] local.INFO: IMEI acknowledgment sent {"connection_id":142970,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:20:18] local.INFO: TCP Data received {"connection_id":142970,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:20:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142970,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:20:18] local.INFO: Processing buffer {"connection_id":142970,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:20:18] local.INFO: IMEI packet received {"connection_id":142970,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 16:20:18] local.INFO: IMEI acknowledgment sent {"connection_id":142970,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:20:19] local.INFO: TCP Data received {"connection_id":142970,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa331aaa8012d7b97c005e6d458000b00b51b..."} 
[2026-07-27 16:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142970,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa331aaa8012d7b97c005e6d458000b00b51b..."} 
[2026-07-27 16:20:19] local.INFO: Processing buffer {"connection_id":142970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa331aaa8012d7b97c005e6d458000b00b51b..."} 
[2026-07-27 16:20:19] local.INFO: Packet analysis {"connection_id":142970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa331"} 
[2026-07-27 16:20:19] local.INFO: Extracted packet for processing {"connection_id":142970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa331"} 
[2026-07-27 16:20:19] local.INFO: GPS Element Parsed {"raw_longitude":763074496,"raw_latitude":99013720,"longitude_deg":76.3074496,"latitude_deg":9.901372,"altitude":11,"angle":181,"satellites":27,"speed":22,"hex_longitude":"2d7b97c0","hex_latitude":"05e6d458","is_valid_coordinates":true} 
[2026-07-27 16:20:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:20:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998236672001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:20:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111641863768768512,"note":"Value kept but may cause issues"} 
[2026-07-27 16:20:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8904953494799308800,"note":"Value kept but may cause issues"} 
[2026-07-27 16:20:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:20:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785149369000,"timestamp_ms":1785149369000,"timestamp_seconds":1785149369,"priority":1,"record_length":96,"hex_timestamp":"0000019fa331aaa8"} 
[2026-07-27 16:20:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:20: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-07-27 16: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-07-27 16: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-07-27 16: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-07-27 16:20:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:20:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:20:19] local.INFO: Teltonika packet parsed successfully {"connection_id":142970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:20:19] local.INFO: Passing IMEI to GPS processor {"connection_id":142970,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:20:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":142970,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:20:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:20:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 16:20:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 16:20:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998236672001,"66":13091,"96":206,"87":13824,"24":22,"16":111641863768768512,"45":8904953494799308800},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-07-27 16:20:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 16:20:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 16:20:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998236672001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:20:19] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-27 16:20:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 16:20:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111641863768768512,"km_value":111641863768768.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:20:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8904953494799308800,"description":"Unknown IO ID 45"} 
[2026-07-27 16:20:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998236672001,"power":13091,"unknown_96":206,"unknown_87":13824,"ignition":22,"odometer":null,"unknown_45":8904953494799308800}} 
[2026-07-27 16:20:19] local.INFO: DEBUG: GPS processor result {"connection_id":142970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554115,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:20:19] local.INFO: GPS data processed {"connection_id":142970,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:20:19] local.INFO: Acknowledgment sent {"connection_id":142970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:20:21] local.INFO: TCP Data received {"connection_id":142970,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa331dd70012d7b95c005e6b2c8000b00a91b..."} 
[2026-07-27 16:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142970,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa331dd70012d7b95c005e6b2c8000b00a91b..."} 
[2026-07-27 16:20:21] local.INFO: Processing buffer {"connection_id":142970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa331dd70012d7b95c005e6b2c8000b00a91b..."} 
[2026-07-27 16:20:21] local.INFO: Packet analysis {"connection_id":142970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa331"} 
[2026-07-27 16:20:21] local.INFO: Extracted packet for processing {"connection_id":142970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa331"} 
[2026-07-27 16:20:21] local.INFO: GPS Element Parsed {"raw_longitude":763073984,"raw_latitude":99005128,"longitude_deg":76.3073984,"latitude_deg":9.9005128,"altitude":11,"angle":169,"satellites":27,"speed":29,"hex_longitude":"2d7b95c0","hex_latitude":"05e6b2c8","is_valid_coordinates":true} 
[2026-07-27 16:20:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:20:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998238464001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:20:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111642284675563520,"note":"Value kept but may cause issues"} 
[2026-07-27 16:20:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8905797919728490496,"note":"Value kept but may cause issues"} 
[2026-07-27 16:20:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:20:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785149382000,"timestamp_ms":1785149382000,"timestamp_seconds":1785149382,"priority":1,"record_length":96,"hex_timestamp":"0000019fa331dd70"} 
[2026-07-27 16:20:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:20:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:20:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-27 16:20:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:20:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:20:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:20:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:20:21] local.INFO: Teltonika packet parsed successfully {"connection_id":142970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:20:21] local.INFO: Passing IMEI to GPS processor {"connection_id":142970,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:20:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":142970,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:20:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:20:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 16:20:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 16:20:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998238464001,"66":13298,"96":206,"87":13824,"24":29,"16":111642284675563520,"45":8905797919728490496},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-07-27 16:20:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 16:20:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 16:20:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998238464001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:20:21] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-27 16:20:21] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 16:20:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111642284675563520,"km_value":111642284675563.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:20:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8905797919728490496,"description":"Unknown IO ID 45"} 
[2026-07-27 16:20:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998238464001,"power":13298,"unknown_96":206,"unknown_87":13824,"ignition":29,"odometer":null,"unknown_45":8905797919728490496}} 
[2026-07-27 16:20:21] local.INFO: DEBUG: GPS processor result {"connection_id":142970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554116,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:20:21] local.INFO: GPS data processed {"connection_id":142970,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:20:21] local.INFO: Acknowledgment sent {"connection_id":142970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:20:24] local.INFO: TCP Data received {"connection_id":145394,"ip":"117.224.28.246","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145394,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:20:24] local.INFO: Processing buffer {"connection_id":145394,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:20:24] local.INFO: IMEI packet received {"connection_id":145394,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 16:20:24] local.INFO: IMEI acknowledgment sent {"connection_id":145394,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:20:26] local.INFO: TCP Data received {"connection_id":145394,"ip":"117.224.28.246","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145394,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:20:26] local.INFO: Processing buffer {"connection_id":145394,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:20:26] local.INFO: IMEI packet received {"connection_id":145394,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 16:20:26] local.INFO: IMEI acknowledgment sent {"connection_id":145394,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:20:31] local.INFO: TCP Data received {"connection_id":144103,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:20:31] local.INFO: Processing buffer {"connection_id":144103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:20:31] local.INFO: IMEI packet received {"connection_id":144103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 16:20:31] local.INFO: IMEI acknowledgment sent {"connection_id":144103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:20:37] local.INFO: TCP Data received {"connection_id":144103,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:20:37] local.INFO: Processing buffer {"connection_id":144103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:20:37] local.INFO: IMEI packet received {"connection_id":144103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 16:20:37] local.INFO: IMEI acknowledgment sent {"connection_id":144103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:20:38] local.INFO: TCP Data received {"connection_id":144103,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa32f9768012d9cd70005b360f8002400092a..."} 
[2026-07-27 16:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144103,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa32f9768012d9cd70005b360f8002400092a..."} 
[2026-07-27 16:20:38] local.INFO: Processing buffer {"connection_id":144103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa32f9768012d9cd70005b360f8002400092a..."} 
[2026-07-27 16:20:38] local.INFO: Packet analysis {"connection_id":144103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa32f"} 
[2026-07-27 16:20:38] local.INFO: Extracted packet for processing {"connection_id":144103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa32f"} 
[2026-07-27 16:20:38] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641848,"longitude_deg":76.5253376,"latitude_deg":9.5641848,"altitude":36,"angle":9,"satellites":42,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b360f8","is_valid_coordinates":true} 
[2026-07-27 16:20:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:20:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998126592001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:20:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359071309033897984,"note":"Value kept but may cause issues"} 
[2026-07-27 16:20:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315689472,"note":"Value kept but may cause issues"} 
[2026-07-27 16:20:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:20:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785149233000,"timestamp_ms":1785149233000,"timestamp_seconds":1785149233,"priority":1,"record_length":96,"hex_timestamp":"0000019fa32f9768"} 
[2026-07-27 16:20:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:20:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 16:20:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-27 16:20:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:20:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:20:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:20:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:20:38] local.INFO: Teltonika packet parsed successfully {"connection_id":144103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:20:38] local.INFO: Passing IMEI to GPS processor {"connection_id":144103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:20:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":144103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:20:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:20:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:20:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:20:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998126592001,"66":25973,"226":206,"83":17408,"24":0,"16":359071309033897984,"45":-7145242259315689472},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-07-27 16:20:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:20:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:20:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998126592001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:20:38] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-27 16:20:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 16:20:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359071309033897984,"km_value":359071309033898.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:20:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315689472,"description":"Unknown IO ID 45"} 
[2026-07-27 16:20:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998126592001,"power":25973,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315689472}} 
[2026-07-27 16:20:38] local.INFO: DEBUG: GPS processor result {"connection_id":144103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:20:38] local.INFO: GPS data processed {"connection_id":144103,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:20:38] local.INFO: Acknowledgment sent {"connection_id":144103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:20:44] local.INFO: TCP Data received {"connection_id":143114,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3320098012d195b000720aab80027005028..."} 
[2026-07-27 16:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3320098012d195b000720aab80027005028..."} 
[2026-07-27 16:20:44] local.INFO: Processing buffer {"connection_id":143114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3320098012d195b000720aab80027005028..."} 
[2026-07-27 16:20:44] local.INFO: Packet analysis {"connection_id":143114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa332"} 
[2026-07-27 16:20:44] local.INFO: Extracted packet for processing {"connection_id":143114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa332"} 
[2026-07-27 16:20:44] local.INFO: GPS Element Parsed {"raw_longitude":756636416,"raw_latitude":119581368,"longitude_deg":75.6636416,"latitude_deg":11.9581368,"altitude":39,"angle":80,"satellites":40,"speed":26,"hex_longitude":"2d195b00","hex_latitude":"0720aab8","is_valid_coordinates":true} 
[2026-07-27 16:20:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:20:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998243584001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:20:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8892858635386880,"note":"Value kept but may cause issues"} 
[2026-07-27 16:20:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825646729558108160,"note":"Value kept but may cause issues"} 
[2026-07-27 16:20:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:20:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785149391000,"timestamp_ms":1785149391000,"timestamp_seconds":1785149391,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3320098"} 
[2026-07-27 16:20:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:20:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:20:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-27 16:20:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2039,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:20:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:20:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:20:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:20:44] local.INFO: Teltonika packet parsed successfully {"connection_id":143114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:20:44] local.INFO: Passing IMEI to GPS processor {"connection_id":143114,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:20:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":143114,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:20:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:20:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 16:20:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 16:20:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998243584001,"66":14233,"121":206,"28":31744,"24":26,"16":8892858635386880,"45":1825646729558108160},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 16:20:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 16:20:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 16:20:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998243584001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:20:44] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 16:20:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 16:20:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8892858635386880,"km_value":8892858635386.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:20:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825646729558108160,"description":"Unknown IO ID 45"} 
[2026-07-27 16:20:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998243584001,"power":14233,"unknown_121":206,"unknown_28":31744,"ignition":26,"odometer":null,"unknown_45":1825646729558108160}} 
[2026-07-27 16:20:44] local.INFO: DEBUG: GPS processor result {"connection_id":143114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554118,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:20:44] local.INFO: GPS data processed {"connection_id":143114,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:20:44] local.INFO: Acknowledgment sent {"connection_id":143114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:20:53] local.INFO: TCP Data received {"connection_id":142970,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3320c50012d7b9e4005e68f90000c00a31b..."} 
[2026-07-27 16:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142970,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3320c50012d7b9e4005e68f90000c00a31b..."} 
[2026-07-27 16:20:53] local.INFO: Processing buffer {"connection_id":142970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3320c50012d7b9e4005e68f90000c00a31b..."} 
[2026-07-27 16:20:53] local.INFO: Packet analysis {"connection_id":142970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa332"} 
[2026-07-27 16:20:53] local.INFO: Extracted packet for processing {"connection_id":142970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa332"} 
[2026-07-27 16:20:53] local.INFO: GPS Element Parsed {"raw_longitude":763076160,"raw_latitude":98996112,"longitude_deg":76.307616,"latitude_deg":9.8996112,"altitude":12,"angle":163,"satellites":27,"speed":29,"hex_longitude":"2d7b9e40","hex_latitude":"05e68f90","is_valid_coordinates":true} 
[2026-07-27 16:20:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:20:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998241792001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:20:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111642735647129600,"note":"Value kept but may cause issues"} 
[2026-07-27 16:20:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8905234969772869632,"note":"Value kept but may cause issues"} 
[2026-07-27 16:20:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:20:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785149394000,"timestamp_ms":1785149394000,"timestamp_seconds":1785149394,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3320c50"} 
[2026-07-27 16:20:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:20:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:20:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-07-27 16:20:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2631,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:20:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:20:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:20:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:20:53] local.INFO: Teltonika packet parsed successfully {"connection_id":142970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:20:53] local.INFO: Passing IMEI to GPS processor {"connection_id":142970,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:20:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":142970,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:20:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:20:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 16:20:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 16:20:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998241792001,"66":11743,"96":206,"87":13824,"24":29,"16":111642735647129600,"45":8905234969772869632},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-07-27 16:20:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 16:20:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 16:20:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998241792001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:20:53] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-27 16:20:53] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 16:20:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111642735647129600,"km_value":111642735647129.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:20:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8905234969772869632,"description":"Unknown IO ID 45"} 
[2026-07-27 16:20:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998241792001,"power":11743,"unknown_96":206,"unknown_87":13824,"ignition":29,"odometer":null,"unknown_45":8905234969772869632}} 
[2026-07-27 16:20:53] local.INFO: DEBUG: GPS processor result {"connection_id":142970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554119,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:20:53] local.INFO: GPS data processed {"connection_id":142970,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:20:53] local.INFO: Acknowledgment sent {"connection_id":142970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:20:59] local.INFO: TCP Data received {"connection_id":143115,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143115,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:20:59] local.INFO: Processing buffer {"connection_id":143115,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:20:59] local.INFO: IMEI packet received {"connection_id":143115,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 16:20:59] local.INFO: IMEI acknowledgment sent {"connection_id":143115,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:21:00] local.INFO: TCP Data received {"connection_id":143115,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143115,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:21:00] local.INFO: Processing buffer {"connection_id":143115,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:21:00] local.INFO: IMEI packet received {"connection_id":143115,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 16:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":143115,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:21:07] local.INFO: TCP Data received {"connection_id":143115,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143115,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:21:07] local.INFO: Processing buffer {"connection_id":143115,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:21:07] local.INFO: IMEI packet received {"connection_id":143115,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 16:21:07] local.INFO: IMEI acknowledgment sent {"connection_id":143115,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:21:08] local.INFO: TCP Data received {"connection_id":145395,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145395,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:21:08] local.INFO: Processing buffer {"connection_id":145395,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:21:08] local.INFO: IMEI packet received {"connection_id":145395,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 16:21:08] local.INFO: IMEI acknowledgment sent {"connection_id":145395,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:21:09] local.INFO: TCP Data received {"connection_id":144103,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa32f9768012d9cd70005b360f8002400092a..."} 
[2026-07-27 16:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144103,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa32f9768012d9cd70005b360f8002400092a..."} 
[2026-07-27 16:21:09] local.INFO: Processing buffer {"connection_id":144103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa32f9768012d9cd70005b360f8002400092a..."} 
[2026-07-27 16:21:09] local.INFO: Packet analysis {"connection_id":144103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa32f"} 
[2026-07-27 16:21:09] local.INFO: Extracted packet for processing {"connection_id":144103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa32f"} 
[2026-07-27 16:21:09] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641848,"longitude_deg":76.5253376,"latitude_deg":9.5641848,"altitude":36,"angle":9,"satellites":42,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b360f8","is_valid_coordinates":true} 
[2026-07-27 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-07-27 16:21:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998126592001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:21:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359071309033897984,"note":"Value kept but may cause issues"} 
[2026-07-27 16:21:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315689472,"note":"Value kept but may cause issues"} 
[2026-07-27 16:21:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:21:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785149233000,"timestamp_ms":1785149233000,"timestamp_seconds":1785149233,"priority":1,"record_length":96,"hex_timestamp":"0000019fa32f9768"} 
[2026-07-27 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-07-27 16:21:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-27 16:21:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 16:21:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:21:09] local.INFO: Teltonika packet parsed successfully {"connection_id":144103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:21:09] local.INFO: Passing IMEI to GPS processor {"connection_id":144103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:21:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":144103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 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-07-27 16:21:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:21:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:21:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998126592001,"66":25973,"226":206,"83":17408,"24":0,"16":359071309033897984,"45":-7145242259315689472},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-07-27 16:21:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:21:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:21:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998126592001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:21:09] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-27 16:21:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 16:21:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359071309033897984,"km_value":359071309033898.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:21:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315689472,"description":"Unknown IO ID 45"} 
[2026-07-27 16:21:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998126592001,"power":25973,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315689472}} 
[2026-07-27 16:21:09] local.INFO: DEBUG: GPS processor result {"connection_id":144103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:21:09] local.INFO: GPS data processed {"connection_id":144103,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:21:09] local.INFO: Acknowledgment sent {"connection_id":144103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:21:11] local.INFO: TCP Data received {"connection_id":143115,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3321fd8012d1970800720ae68002a004426..."} 
[2026-07-27 16:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143115,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3321fd8012d1970800720ae68002a004426..."} 
[2026-07-27 16:21:11] local.INFO: Processing buffer {"connection_id":143115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3321fd8012d1970800720ae68002a004426..."} 
[2026-07-27 16:21:11] local.INFO: Packet analysis {"connection_id":143115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa332"} 
[2026-07-27 16:21:11] local.INFO: Extracted packet for processing {"connection_id":143115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa332"} 
[2026-07-27 16:21:11] local.INFO: GPS Element Parsed {"raw_longitude":756641920,"raw_latitude":119582312,"longitude_deg":75.664192,"latitude_deg":11.9582312,"altitude":42,"angle":68,"satellites":38,"speed":28,"hex_longitude":"2d197080","hex_latitude":"0720ae68","is_valid_coordinates":true} 
[2026-07-27 16: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-07-27 16:21:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998244096001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:21:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8893124923359232,"note":"Value kept but may cause issues"} 
[2026-07-27 16:21:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827054104441698304,"note":"Value kept but may cause issues"} 
[2026-07-27 16:21:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:21:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785149399000,"timestamp_ms":1785149399000,"timestamp_seconds":1785149399,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3321fd8"} 
[2026-07-27 16:21:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:21:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-07-27 16:21:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16: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-07-27 16:21:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:21:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:21:11] local.INFO: Teltonika packet parsed successfully {"connection_id":143115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:21:11] local.INFO: Passing IMEI to GPS processor {"connection_id":143115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:21:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":143115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:21:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:21:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 16:21:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 16:21:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998244096001,"66":14363,"121":206,"28":31744,"24":28,"16":8893124923359232,"45":1827054104441698304},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 16:21:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 16:21:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 16:21:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998244096001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:21:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 16:21:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 16:21:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8893124923359232,"km_value":8893124923359.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:21:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827054104441698304,"description":"Unknown IO ID 45"} 
[2026-07-27 16:21:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998244096001,"power":14363,"unknown_121":206,"unknown_28":31744,"ignition":28,"odometer":null,"unknown_45":1827054104441698304}} 
[2026-07-27 16:21:11] local.INFO: DEBUG: GPS processor result {"connection_id":143115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554121,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:21:11] local.INFO: GPS data processed {"connection_id":143115,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:21:11] local.INFO: Acknowledgment sent {"connection_id":143115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:21:11] local.INFO: TCP Data received {"connection_id":145395,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145395,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:21:11] local.INFO: Processing buffer {"connection_id":145395,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:21:11] local.INFO: IMEI packet received {"connection_id":145395,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 16:21:11] local.INFO: IMEI acknowledgment sent {"connection_id":145395,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:21:12] local.INFO: TCP Data received {"connection_id":145395,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3323b30012d7ba78005e66c88000a009d1b..."} 
[2026-07-27 16:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3323b30012d7ba78005e66c88000a009d1b..."} 
[2026-07-27 16:21:12] local.INFO: Processing buffer {"connection_id":145395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3323b30012d7ba78005e66c88000a009d1b..."} 
[2026-07-27 16:21:12] local.INFO: Packet analysis {"connection_id":145395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa332"} 
[2026-07-27 16:21:12] local.INFO: Extracted packet for processing {"connection_id":145395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa332"} 
[2026-07-27 16:21:12] local.INFO: GPS Element Parsed {"raw_longitude":763078528,"raw_latitude":98987144,"longitude_deg":76.3078528,"latitude_deg":9.8987144,"altitude":10,"angle":157,"satellites":27,"speed":29,"hex_longitude":"2d7ba780","hex_latitude":"05e66c88","is_valid_coordinates":true} 
[2026-07-27 16:21:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:21:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998244864001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:21:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111643186618695680,"note":"Value kept but may cause issues"} 
[2026-07-27 16:21:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8907627507072602112,"note":"Value kept but may cause issues"} 
[2026-07-27 16:21:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:21:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785149406000,"timestamp_ms":1785149406000,"timestamp_seconds":1785149406,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3323b30"} 
[2026-07-27 16:21:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:21:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:21:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-27 16:21:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2430,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:21:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:21:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:21:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:21:12] local.INFO: Teltonika packet parsed successfully {"connection_id":145395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:21:12] local.INFO: Passing IMEI to GPS processor {"connection_id":145395,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:21:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":145395,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:21:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:21:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 16:21:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 16:21:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998244864001,"66":12982,"95":206,"87":13824,"24":29,"16":111643186618695680,"45":8907627507072602112},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-07-27 16:21:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 16:21:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 16:21:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998244864001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:21:12] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-27 16:21:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 16:21:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111643186618695680,"km_value":111643186618695.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:21:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8907627507072602112,"description":"Unknown IO ID 45"} 
[2026-07-27 16:21:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998244864001,"power":12982,"unknown_95":206,"unknown_87":13824,"ignition":29,"odometer":null,"unknown_45":8907627507072602112}} 
[2026-07-27 16:21:12] local.INFO: DEBUG: GPS processor result {"connection_id":145395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554122,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:21:12] local.INFO: GPS data processed {"connection_id":145395,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:21:12] local.INFO: Acknowledgment sent {"connection_id":145395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:21:31] local.INFO: TCP Data received {"connection_id":144105,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:21:31] local.INFO: Processing buffer {"connection_id":144105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:21:31] local.INFO: IMEI packet received {"connection_id":144105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 16:21:31] local.INFO: IMEI acknowledgment sent {"connection_id":144105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:21:37] local.INFO: TCP Data received {"connection_id":144105,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:21:37] local.INFO: Processing buffer {"connection_id":144105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:21:37] local.INFO: IMEI packet received {"connection_id":144105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 16:21:37] local.INFO: IMEI acknowledgment sent {"connection_id":144105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:21:38] local.INFO: TCP Data received {"connection_id":144105,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa32f9768012d9cd70005b360f8002400092a..."} 
[2026-07-27 16:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144105,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa32f9768012d9cd70005b360f8002400092a..."} 
[2026-07-27 16:21:38] local.INFO: Processing buffer {"connection_id":144105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa32f9768012d9cd70005b360f8002400092a..."} 
[2026-07-27 16:21:38] local.INFO: Packet analysis {"connection_id":144105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa32f"} 
[2026-07-27 16:21:38] local.INFO: Extracted packet for processing {"connection_id":144105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa32f"} 
[2026-07-27 16:21:38] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641848,"longitude_deg":76.5253376,"latitude_deg":9.5641848,"altitude":36,"angle":9,"satellites":42,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b360f8","is_valid_coordinates":true} 
[2026-07-27 16:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:21:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998126592001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:21:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359071309033897984,"note":"Value kept but may cause issues"} 
[2026-07-27 16:21:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315689472,"note":"Value kept but may cause issues"} 
[2026-07-27 16:21:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:21:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785149233000,"timestamp_ms":1785149233000,"timestamp_seconds":1785149233,"priority":1,"record_length":96,"hex_timestamp":"0000019fa32f9768"} 
[2026-07-27 16:21:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:21:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 16:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-27 16:21:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:21:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:21:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:21:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:21:38] local.INFO: Teltonika packet parsed successfully {"connection_id":144105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:21:38] local.INFO: Passing IMEI to GPS processor {"connection_id":144105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:21:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":144105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:21:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:21:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:21:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:21:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998126592001,"66":25973,"226":206,"83":17408,"24":0,"16":359071309033897984,"45":-7145242259315689472},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-07-27 16:21:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:21:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:21:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998126592001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:21:38] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-27 16:21:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 16:21:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359071309033897984,"km_value":359071309033898.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:21:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315689472,"description":"Unknown IO ID 45"} 
[2026-07-27 16:21:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998126592001,"power":25973,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315689472}} 
[2026-07-27 16:21:38] local.INFO: DEBUG: GPS processor result {"connection_id":144105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:21:38] local.INFO: GPS data processed {"connection_id":144105,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:21:38] local.INFO: Acknowledgment sent {"connection_id":144105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:21:43] local.INFO: TCP Data received {"connection_id":145395,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3326df8012d7bb9c005e64d98000b00981a..."} 
[2026-07-27 16:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3326df8012d7bb9c005e64d98000b00981a..."} 
[2026-07-27 16:21:43] local.INFO: Processing buffer {"connection_id":145395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3326df8012d7bb9c005e64d98000b00981a..."} 
[2026-07-27 16:21:43] local.INFO: Packet analysis {"connection_id":145395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa332"} 
[2026-07-27 16:21:43] local.INFO: Extracted packet for processing {"connection_id":145395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa332"} 
[2026-07-27 16:21:43] local.INFO: GPS Element Parsed {"raw_longitude":763083200,"raw_latitude":98979224,"longitude_deg":76.30832,"latitude_deg":9.8979224,"altitude":11,"angle":152,"satellites":26,"speed":29,"hex_longitude":"2d7bb9c0","hex_latitude":"05e64d98","is_valid_coordinates":true} 
[2026-07-27 16:21:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:21:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998247936001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:21:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111643629000327168,"note":"Value kept but may cause issues"} 
[2026-07-27 16:21:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8910231150604879872,"note":"Value kept but may cause issues"} 
[2026-07-27 16:21:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:21:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785149419000,"timestamp_ms":1785149419000,"timestamp_seconds":1785149419,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3326df8"} 
[2026-07-27 16:21:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:21:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-27 16:21:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:21:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:21:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:21:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:21:43] local.INFO: Teltonika packet parsed successfully {"connection_id":145395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:21:43] local.INFO: Passing IMEI to GPS processor {"connection_id":145395,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:21:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":145395,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:21:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:21:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 16:21:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 16:21:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998247936001,"66":12515,"95":206,"87":13824,"24":29,"16":111643629000327168,"45":8910231150604879872},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-07-27 16:21:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 16:21:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 16:21:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998247936001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:21:43] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-27 16:21:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 16:21:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111643629000327168,"km_value":111643629000327.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:21:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8910231150604879872,"description":"Unknown IO ID 45"} 
[2026-07-27 16:21:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998247936001,"power":12515,"unknown_95":206,"unknown_87":13824,"ignition":29,"odometer":null,"unknown_45":8910231150604879872}} 
[2026-07-27 16:21:43] local.INFO: DEBUG: GPS processor result {"connection_id":145395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554124,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:21:43] local.INFO: GPS data processed {"connection_id":145395,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:21:43] local.INFO: Acknowledgment sent {"connection_id":145395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:21:45] local.INFO: TCP Data received {"connection_id":143115,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3330a38012d19c9000720a4b0003300482c..."} 
[2026-07-27 16:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143115,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3330a38012d19c9000720a4b0003300482c..."} 
[2026-07-27 16:21:45] local.INFO: Processing buffer {"connection_id":143115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3330a38012d19c9000720a4b0003300482c..."} 
[2026-07-27 16:21:45] local.INFO: Packet analysis {"connection_id":143115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa333"} 
[2026-07-27 16:21:45] local.INFO: Extracted packet for processing {"connection_id":143115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa333"} 
[2026-07-27 16:21:45] local.INFO: GPS Element Parsed {"raw_longitude":756664576,"raw_latitude":119579824,"longitude_deg":75.6664576,"latitude_deg":11.9579824,"altitude":51,"angle":72,"satellites":44,"speed":14,"hex_longitude":"2d19c900","hex_latitude":"0720a4b0","is_valid_coordinates":true} 
[2026-07-27 16:21:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:21:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998260992001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:21:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8894250204790784,"note":"Value kept but may cause issues"} 
[2026-07-27 16:21:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857171926949314560,"note":"Value kept but may cause issues"} 
[2026-07-27 16:21:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:21:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785149459000,"timestamp_ms":1785149459000,"timestamp_seconds":1785149459,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3330a38"} 
[2026-07-27 16:21:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:21:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:21:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-07-27 16:21:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:21:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:21:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:21:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:21:45] local.INFO: Teltonika packet parsed successfully {"connection_id":143115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:21:45] local.INFO: Passing IMEI to GPS processor {"connection_id":143115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:21:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":143115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:21:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:21:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 16:21:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 16:21:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998260992001,"66":14396,"121":206,"28":31744,"24":14,"16":8894250204790784,"45":1857171926949314560},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 16:21:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 16:21:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 16:21:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998260992001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:21:45] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 16:21:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 16:21:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8894250204790784,"km_value":8894250204790.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:21:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857171926949314560,"description":"Unknown IO ID 45"} 
[2026-07-27 16:21:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998260992001,"power":14396,"unknown_121":206,"unknown_28":31744,"ignition":14,"odometer":null,"unknown_45":1857171926949314560}} 
[2026-07-27 16:21:45] local.INFO: DEBUG: GPS processor result {"connection_id":143115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554125,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:21:45] local.INFO: GPS data processed {"connection_id":143115,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:21:45] local.INFO: Acknowledgment sent {"connection_id":143115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:21:59] local.INFO: TCP Data received {"connection_id":144106,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144106,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:21:59] local.INFO: Processing buffer {"connection_id":144106,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:21:59] local.INFO: IMEI packet received {"connection_id":144106,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 16:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":144106,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:22:02] local.INFO: TCP Data received {"connection_id":144106,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144106,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:22:02] local.INFO: Processing buffer {"connection_id":144106,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:22:02] local.INFO: IMEI packet received {"connection_id":144106,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 16:22:02] local.INFO: IMEI acknowledgment sent {"connection_id":144106,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:22:05] local.INFO: TCP Data received {"connection_id":143116,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143116,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:22:05] local.INFO: Processing buffer {"connection_id":143116,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:22:05] local.INFO: IMEI packet received {"connection_id":143116,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 16:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":143116,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:22:09] local.INFO: TCP Data received {"connection_id":143116,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143116,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:22:09] local.INFO: Processing buffer {"connection_id":143116,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:22:09] local.INFO: IMEI packet received {"connection_id":143116,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 16:22:09] local.INFO: IMEI acknowledgment sent {"connection_id":143116,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:22:09] local.INFO: TCP Data received {"connection_id":144105,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa32f9768012d9cd70005b360f8002400092a..."} 
[2026-07-27 16:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144105,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa32f9768012d9cd70005b360f8002400092a..."} 
[2026-07-27 16:22:09] local.INFO: Processing buffer {"connection_id":144105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa32f9768012d9cd70005b360f8002400092a..."} 
[2026-07-27 16:22:09] local.INFO: Packet analysis {"connection_id":144105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa32f"} 
[2026-07-27 16:22:09] local.INFO: Extracted packet for processing {"connection_id":144105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa32f"} 
[2026-07-27 16:22:09] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641848,"longitude_deg":76.5253376,"latitude_deg":9.5641848,"altitude":36,"angle":9,"satellites":42,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b360f8","is_valid_coordinates":true} 
[2026-07-27 16:22:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:22:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998126592001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:22:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359071309033897984,"note":"Value kept but may cause issues"} 
[2026-07-27 16:22:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315689472,"note":"Value kept but may cause issues"} 
[2026-07-27 16:22:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:22:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785149233000,"timestamp_ms":1785149233000,"timestamp_seconds":1785149233,"priority":1,"record_length":96,"hex_timestamp":"0000019fa32f9768"} 
[2026-07-27 16:22:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:22:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 16: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-27 16:22:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:22:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:22:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:22:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:22:09] local.INFO: Teltonika packet parsed successfully {"connection_id":144105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:22:09] local.INFO: Passing IMEI to GPS processor {"connection_id":144105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:22:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":144105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:22:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:22:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:22:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:22:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998126592001,"66":25973,"226":206,"83":17408,"24":0,"16":359071309033897984,"45":-7145242259315689472},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-07-27 16:22:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:22:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:22:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998126592001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:22:09] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-27 16:22:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 16:22:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359071309033897984,"km_value":359071309033898.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:22:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315689472,"description":"Unknown IO ID 45"} 
[2026-07-27 16:22:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998126592001,"power":25973,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315689472}} 
[2026-07-27 16:22:09] local.INFO: DEBUG: GPS processor result {"connection_id":144105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:22:09] local.INFO: GPS data processed {"connection_id":144105,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:22:09] local.INFO: Acknowledgment sent {"connection_id":144105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:22:13] local.INFO: TCP Data received {"connection_id":143116,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143116,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:22:13] local.INFO: Processing buffer {"connection_id":143116,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:22:13] local.INFO: IMEI packet received {"connection_id":143116,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 16:22:13] local.INFO: IMEI acknowledgment sent {"connection_id":143116,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:22:14] local.INFO: TCP Data received {"connection_id":143116,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa332c000012d7bc64005e636d8000900921a..."} 
[2026-07-27 16:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa332c000012d7bc64005e636d8000900921a..."} 
[2026-07-27 16:22:14] local.INFO: Processing buffer {"connection_id":143116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa332c000012d7bc64005e636d8000900921a..."} 
[2026-07-27 16:22:14] local.INFO: Packet analysis {"connection_id":143116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa332"} 
[2026-07-27 16:22:14] local.INFO: Extracted packet for processing {"connection_id":143116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa332"} 
[2026-07-27 16:22:14] local.INFO: GPS Element Parsed {"raw_longitude":763086400,"raw_latitude":98973400,"longitude_deg":76.30864,"latitude_deg":9.89734,"altitude":9,"angle":146,"satellites":26,"speed":2,"hex_longitude":"2d7bc640","hex_latitude":"05e636d8","is_valid_coordinates":true} 
[2026-07-27 16:22:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:22:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998251264001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:22:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111643951122874368,"note":"Value kept but may cause issues"} 
[2026-07-27 16:22:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8915368068927821824,"note":"Value kept but may cause issues"} 
[2026-07-27 16:22:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:22:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785149440000,"timestamp_ms":1785149440000,"timestamp_seconds":1785149440,"priority":1,"record_length":96,"hex_timestamp":"0000019fa332c000"} 
[2026-07-27 16:22:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:22:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:22:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-07-27 16:22:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:22:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:22:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:22:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:22:14] local.INFO: Teltonika packet parsed successfully {"connection_id":143116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:22:14] local.INFO: Passing IMEI to GPS processor {"connection_id":143116,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:22:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":143116,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:22:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:22:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 16:22:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 16:22:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998251264001,"66":12232,"95":206,"87":13824,"24":2,"16":111643951122874368,"45":8915368068927821824},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-07-27 16:22:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 16:22:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 16:22:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998251264001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:22:14] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-27 16:22:14] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 16:22:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111643951122874368,"km_value":111643951122874.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:22:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8915368068927821824,"description":"Unknown IO ID 45"} 
[2026-07-27 16:22:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998251264001,"power":12232,"unknown_95":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":8915368068927821824}} 
[2026-07-27 16:22:14] local.INFO: DEBUG: GPS processor result {"connection_id":143116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554127,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:22:14] local.INFO: GPS data processed {"connection_id":143116,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:22:14] local.INFO: Acknowledgment sent {"connection_id":143116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:22:18] local.INFO: TCP Data received {"connection_id":143116,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa332e328012d7bc84005e632c8000a009f1b..."} 
[2026-07-27 16:22:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa332e328012d7bc84005e632c8000a009f1b..."} 
[2026-07-27 16:22:18] local.INFO: Processing buffer {"connection_id":143116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa332e328012d7bc84005e632c8000a009f1b..."} 
[2026-07-27 16:22:18] local.INFO: Packet analysis {"connection_id":143116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa332"} 
[2026-07-27 16:22:18] local.INFO: Extracted packet for processing {"connection_id":143116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa332"} 
[2026-07-27 16:22:18] local.INFO: GPS Element Parsed {"raw_longitude":763086912,"raw_latitude":98972360,"longitude_deg":76.3086912,"latitude_deg":9.897236,"altitude":10,"angle":159,"satellites":27,"speed":5,"hex_longitude":"2d7bc840","hex_latitude":"05e632c8","is_valid_coordinates":true} 
[2026-07-27 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-07-27 16:22:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998256640001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:22:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111644011252416512,"note":"Value kept but may cause issues"} 
[2026-07-27 16:22:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8918886506135214080,"note":"Value kept but may cause issues"} 
[2026-07-27 16:22:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:22:18] local.INFO: AVL Record Parsed {"raw_timestamp":1785149449000,"timestamp_ms":1785149449000,"timestamp_seconds":1785149449,"priority":1,"record_length":96,"hex_timestamp":"0000019fa332e328"} 
[2026-07-27 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-07-27 16:22:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-27 16:22: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-07-27 16: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-07-27 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-07-27 16:22:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:22:18] local.INFO: Teltonika packet parsed successfully {"connection_id":143116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:22:18] local.INFO: Passing IMEI to GPS processor {"connection_id":143116,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:22:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":143116,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:22:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:22:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 16:22:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 16:22:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998256640001,"66":12298,"95":206,"87":13824,"24":5,"16":111644011252416512,"45":8918886506135214080},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-07-27 16:22:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 16:22:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 16:22:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998256640001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:22:18] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-27 16:22:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 16:22:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111644011252416512,"km_value":111644011252416.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:22:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8918886506135214080,"description":"Unknown IO ID 45"} 
[2026-07-27 16:22:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998256640001,"power":12298,"unknown_95":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8918886506135214080}} 
[2026-07-27 16:22:18] local.INFO: DEBUG: GPS processor result {"connection_id":143116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554128,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:22:18] local.INFO: GPS data processed {"connection_id":143116,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:22:18] local.INFO: Acknowledgment sent {"connection_id":143116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:22:19] local.INFO: TCP Data received {"connection_id":144106,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144106,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:22:19] local.INFO: Processing buffer {"connection_id":144106,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:22:19] local.INFO: IMEI packet received {"connection_id":144106,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 16:22:19] local.INFO: IMEI acknowledgment sent {"connection_id":144106,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:22:26] local.INFO: TCP Data received {"connection_id":144106,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3330e20012d19ca400720a5500033003a2b..."} 
[2026-07-27 16:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3330e20012d19ca400720a5500033003a2b..."} 
[2026-07-27 16:22:26] local.INFO: Processing buffer {"connection_id":144106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3330e20012d19ca400720a5500033003a2b..."} 
[2026-07-27 16:22:26] local.INFO: Packet analysis {"connection_id":144106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa333"} 
[2026-07-27 16:22:26] local.INFO: Extracted packet for processing {"connection_id":144106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa333"} 
[2026-07-27 16:22:26] local.INFO: GPS Element Parsed {"raw_longitude":756664896,"raw_latitude":119579984,"longitude_deg":75.6664896,"latitude_deg":11.9579984,"altitude":51,"angle":58,"satellites":43,"speed":14,"hex_longitude":"2d19ca40","hex_latitude":"0720a550","is_valid_coordinates":true} 
[2026-07-27 16:22:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:22:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998261504001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:22:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8894267384659968,"note":"Value kept but may cause issues"} 
[2026-07-27 16:22:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858016351879475200,"note":"Value kept but may cause issues"} 
[2026-07-27 16:22:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:22:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785149460000,"timestamp_ms":1785149460000,"timestamp_seconds":1785149460,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3330e20"} 
[2026-07-27 16:22:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:22:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:22:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-27 16:22:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:22:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:22:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:22:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:22:26] local.INFO: Teltonika packet parsed successfully {"connection_id":144106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:22:26] local.INFO: Passing IMEI to GPS processor {"connection_id":144106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:22:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":144106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:22:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:22:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 16:22:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 16:22:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998261504001,"66":14276,"121":206,"28":31744,"24":14,"16":8894267384659968,"45":1858016351879475200},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 16:22:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 16:22:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 16:22:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998261504001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:22:26] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 16:22:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 16:22:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8894267384659968,"km_value":8894267384659.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:22:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858016351879475200,"description":"Unknown IO ID 45"} 
[2026-07-27 16:22:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998261504001,"power":14276,"unknown_121":206,"unknown_28":31744,"ignition":14,"odometer":null,"unknown_45":1858016351879475200}} 
[2026-07-27 16:22:26] local.INFO: DEBUG: GPS processor result {"connection_id":144106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554129,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:22:26] local.INFO: GPS data processed {"connection_id":144106,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:22:26] local.INFO: Acknowledgment sent {"connection_id":144106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:22:31] local.INFO: TCP Data received {"connection_id":144107,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:22:31] local.INFO: Processing buffer {"connection_id":144107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:22:31] local.INFO: IMEI packet received {"connection_id":144107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 16:22:31] local.INFO: IMEI acknowledgment sent {"connection_id":144107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:22:37] local.INFO: TCP Data received {"connection_id":144107,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:22:37] local.INFO: Processing buffer {"connection_id":144107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:22:37] local.INFO: IMEI packet received {"connection_id":144107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 16:22:37] local.INFO: IMEI acknowledgment sent {"connection_id":144107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:22:37] local.INFO: TCP Data received {"connection_id":144107,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fa32f9768012d9cd70005b360f8002400092a..."} 
[2026-07-27 16:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa32f9768012d9cd70005b360f8002400092a..."} 
[2026-07-27 16:22:37] local.INFO: Processing buffer {"connection_id":144107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa32f9768012d9cd70005b360f8002400092a..."} 
[2026-07-27 16:22:37] local.INFO: Packet analysis {"connection_id":144107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa32f"} 
[2026-07-27 16:22:37] local.INFO: Extracted packet for processing {"connection_id":144107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa32f"} 
[2026-07-27 16:22:37] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641848,"longitude_deg":76.5253376,"latitude_deg":9.5641848,"altitude":36,"angle":9,"satellites":42,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b360f8","is_valid_coordinates":true} 
[2026-07-27 16:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:22:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998126592001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:22:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359071309033897984,"note":"Value kept but may cause issues"} 
[2026-07-27 16:22:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315689472,"note":"Value kept but may cause issues"} 
[2026-07-27 16:22:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:22:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785149233000,"timestamp_ms":1785149233000,"timestamp_seconds":1785149233,"priority":1,"record_length":96,"hex_timestamp":"0000019fa32f9768"} 
[2026-07-27 16:22:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:22:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 16:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-27 16:22:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:22:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:22:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:22:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:22:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:22:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:22:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:22:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:22:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:22:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:22:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998126592001,"66":25973,"226":206,"83":17408,"24":0,"16":359071309033897984,"45":-7145242259315689472},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-07-27 16:22:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:22:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:22:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998126592001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:22:37] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-27 16:22:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 16:22:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359071309033897984,"km_value":359071309033898.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:22:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315689472,"description":"Unknown IO ID 45"} 
[2026-07-27 16:22:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998126592001,"power":25973,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315689472}} 
[2026-07-27 16:22:37] local.INFO: DEBUG: GPS processor result {"connection_id":144107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:22:37] local.INFO: GPS data processed {"connection_id":144107,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:22:37] local.INFO: Acknowledgment sent {"connection_id":144107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:22:48] local.INFO: TCP Data received {"connection_id":143116,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3333530012d7bd04005e61b78000d00a51a..."} 
[2026-07-27 16:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3333530012d7bd04005e61b78000d00a51a..."} 
[2026-07-27 16:22:48] local.INFO: Processing buffer {"connection_id":143116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3333530012d7bd04005e61b78000d00a51a..."} 
[2026-07-27 16:22:48] local.INFO: Packet analysis {"connection_id":143116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa333"} 
[2026-07-27 16:22:48] local.INFO: Extracted packet for processing {"connection_id":143116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa333"} 
[2026-07-27 16:22:48] local.INFO: GPS Element Parsed {"raw_longitude":763088960,"raw_latitude":98966392,"longitude_deg":76.308896,"latitude_deg":9.8966392,"altitude":13,"angle":165,"satellites":26,"speed":23,"hex_longitude":"2d7bd040","hex_latitude":"05e61b78","is_valid_coordinates":true} 
[2026-07-27 16:22:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:22:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998258944001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:22:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111644316195094528,"note":"Value kept but may cause issues"} 
[2026-07-27 16:22:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8919449456088369152,"note":"Value kept but may cause issues"} 
[2026-07-27 16:22:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:22:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785149470000,"timestamp_ms":1785149470000,"timestamp_seconds":1785149470,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3333530"} 
[2026-07-27 16:22:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:22: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-07-27 16:22:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-27 16:22:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-27 16:22:48] local.WARNING: Large IO value detected {"io_id":87,"raw_value":3891136466696274432,"note":"Value kept but may cause issues"} 
[2026-07-27 16:22:48] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185996,"note":"Value kept but may cause issues"} 
[2026-07-27 16:22:48] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-27 16:22:48] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-6687406397888562284,"note":"Value kept but may cause issues"} 
[2026-07-27 16:22:48] local.WARNING: Large IO value detected {"io_id":192,"raw_value":425276632174756007,"note":"Value kept but may cause issues"} 
[2026-07-27 16:22:48] local.WARNING: Large IO value detected {"io_id":26,"raw_value":5348024558157828,"note":"Value kept but may cause issues"} 
[2026-07-27 16:22:48] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832582,"note":"Value kept but may cause issues"} 
[2026-07-27 16:22:48] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3684789801885630670,"note":"Value kept but may cause issues"} 
[2026-07-27 16:22:48] local.WARNING: Large IO value detected {"io_id":11,"raw_value":50976657967677440,"note":"Value kept but may cause issues"} 
[2026-07-27 16:22:48] local.WARNING: Large IO value detected {"io_id":162,"raw_value":3808428032,"note":"Value kept but may cause issues"} 
[2026-07-27 16:22:48] local.WARNING: Large IO value detected {"io_id":230,"raw_value":2408579084,"note":"Value kept but may cause issues"} 
[2026-07-27 16:22:48] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298137294,"corrected_to":0} 
[2026-07-27 16:22:48] local.WARNING: Large IO value detected {"io_id":149,"raw_value":3221612210,"note":"Value kept but may cause issues"} 
[2026-07-27 16:22:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":721065,"corrected_to":0} 
[2026-07-27 16:22:48] local.WARNING: Large IO value detected {"io_id":51,"raw_value":4060138829,"note":"Value kept but may cause issues"} 
[2026-07-27 16:22:48] local.WARNING: Large IO value detected {"io_id":140,"raw_value":2719023104,"note":"Value kept but may cause issues"} 
[2026-07-27 16:22:48] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3872675840,"note":"Value kept but may cause issues"} 
[2026-07-27 16:22:48] local.WARNING: Large IO value detected {"io_id":161,"raw_value":-5836665117072162815,"note":"Value kept but may cause issues"} 
[2026-07-27 16:22:48] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,95,87,24,241,157,16,163,159,192,45,64,54,9,26,10,66,109,77,11,59,128,1,240,182,227,162,230,4,113,205,29,221,149,200,27,239,51,96,2,140,5,161],"length":534,"final_offset":664,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1298137294,"validated":0},{"io_id":200,"original":721065,"validated":0}]} 
[2026-07-27 16:22:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720750878692540416,"timestamp_seconds":720750878692540.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 16:22:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:22:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:22:48] local.INFO: Teltonika packet parsed successfully {"connection_id":143116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:22:48] local.INFO: Passing IMEI to GPS processor {"connection_id":143116,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:22:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":143116,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:22:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:22:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 16:22:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 16:22:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998258944001,"66":13102,"95":206,"87":13824,"24":23,"16":111644316195094528,"45":8919449456088369152},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-07-27 16:22:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 16:22:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 16:22:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998258944001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:22:48] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-27 16:22:48] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 16:22:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111644316195094528,"km_value":111644316195094.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:22:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8919449456088369152,"description":"Unknown IO ID 45"} 
[2026-07-27 16:22:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998258944001,"power":13102,"unknown_95":206,"unknown_87":13824,"ignition":23,"odometer":null,"unknown_45":8919449456088369152}} 
[2026-07-27 16:22:49] local.INFO: DEBUG: GPS processor result {"connection_id":143116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554131,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:22:49] local.INFO: GPS data processed {"connection_id":143116,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:22:49] local.INFO: Acknowledgment sent {"connection_id":143116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:22:59] local.INFO: TCP Data received {"connection_id":144108,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144108,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:22:59] local.INFO: Processing buffer {"connection_id":144108,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:22:59] local.INFO: IMEI packet received {"connection_id":144108,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 16:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":144108,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:23:00] local.INFO: TCP Data received {"connection_id":144108,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144108,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:23:00] local.INFO: Processing buffer {"connection_id":144108,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:23:00] local.INFO: IMEI packet received {"connection_id":144108,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 16:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":144108,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:23:01] local.INFO: TCP Data received {"connection_id":144108,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144108,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:23:01] local.INFO: Processing buffer {"connection_id":144108,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:23:01] local.INFO: IMEI packet received {"connection_id":144108,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 16:23:01] local.INFO: IMEI acknowledgment sent {"connection_id":144108,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:23:02] local.INFO: TCP Data received {"connection_id":144108,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144108,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:23:02] local.INFO: Processing buffer {"connection_id":144108,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:23:02] local.INFO: IMEI packet received {"connection_id":144108,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 16:23:02] local.INFO: IMEI acknowledgment sent {"connection_id":144108,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:23:06] local.INFO: TCP Data received {"connection_id":144106,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa33315f0012d19cc800720a7800033002a2c..."} 
[2026-07-27 16:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa33315f0012d19cc800720a7800033002a2c..."} 
[2026-07-27 16:23:06] local.INFO: Processing buffer {"connection_id":144106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa33315f0012d19cc800720a7800033002a2c..."} 
[2026-07-27 16:23:06] local.INFO: Packet analysis {"connection_id":144106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa333"} 
[2026-07-27 16:23:06] local.INFO: Extracted packet for processing {"connection_id":144106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa333"} 
[2026-07-27 16:23:06] local.INFO: GPS Element Parsed {"raw_longitude":756665472,"raw_latitude":119580544,"longitude_deg":75.6665472,"latitude_deg":11.9580544,"altitude":51,"angle":42,"satellites":44,"speed":16,"hex_longitude":"2d19cc80","hex_latitude":"0720a780","is_valid_coordinates":true} 
[2026-07-27 16:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:23:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998261760001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:23:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8894306039365632,"note":"Value kept but may cause issues"} 
[2026-07-27 16:23:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858368195600404480,"note":"Value kept but may cause issues"} 
[2026-07-27 16:23:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:23:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785149462000,"timestamp_ms":1785149462000,"timestamp_seconds":1785149462,"priority":1,"record_length":96,"hex_timestamp":"0000019fa33315f0"} 
[2026-07-27 16:23:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:23:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-27 16:23:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2237,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:23:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:23:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:23:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:23:06] local.INFO: Teltonika packet parsed successfully {"connection_id":144106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:23:06] local.INFO: Passing IMEI to GPS processor {"connection_id":144106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:23:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":144106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:23:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:23:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 16:23:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 16:23:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998261760001,"66":14407,"121":206,"28":31744,"24":16,"16":8894306039365632,"45":1858368195600404480},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 16:23:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 16:23:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 16:23:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998261760001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:23:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 16:23:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 16:23:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8894306039365632,"km_value":8894306039365.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:23:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858368195600404480,"description":"Unknown IO ID 45"} 
[2026-07-27 16:23:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998261760001,"power":14407,"unknown_121":206,"unknown_28":31744,"ignition":16,"odometer":null,"unknown_45":1858368195600404480}} 
[2026-07-27 16:23:06] local.INFO: DEBUG: GPS processor result {"connection_id":144106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554132,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:23:06] local.INFO: GPS data processed {"connection_id":144106,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:23:06] local.INFO: Acknowledgment sent {"connection_id":144106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:23:08] local.INFO: TCP Data received {"connection_id":145397,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145397,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:23:08] local.INFO: Processing buffer {"connection_id":145397,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:23:08] local.INFO: IMEI packet received {"connection_id":145397,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 16:23:08] local.INFO: IMEI acknowledgment sent {"connection_id":145397,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:23:08] local.INFO: TCP Data received {"connection_id":145397,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145397,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:23:08] local.INFO: Processing buffer {"connection_id":145397,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:23:08] local.INFO: IMEI packet received {"connection_id":145397,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 16:23:08] local.INFO: IMEI acknowledgment sent {"connection_id":145397,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:23:09] local.INFO: TCP Data received {"connection_id":145397,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145397,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:23:09] local.INFO: Processing buffer {"connection_id":145397,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:23:09] local.INFO: IMEI packet received {"connection_id":145397,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 16:23:09] local.INFO: IMEI acknowledgment sent {"connection_id":145397,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:23:09] local.INFO: TCP Data received {"connection_id":144107,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3342f30012d9cd70005b360f8002400092c..."} 
[2026-07-27 16:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3342f30012d9cd70005b360f8002400092c..."} 
[2026-07-27 16:23:09] local.INFO: Processing buffer {"connection_id":144107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3342f30012d9cd70005b360f8002400092c..."} 
[2026-07-27 16:23:09] local.INFO: Packet analysis {"connection_id":144107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa334"} 
[2026-07-27 16:23:09] local.INFO: Extracted packet for processing {"connection_id":144107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa334"} 
[2026-07-27 16:23:09] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641848,"longitude_deg":76.5253376,"latitude_deg":9.5641848,"altitude":36,"angle":9,"satellites":44,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b360f8","is_valid_coordinates":true} 
[2026-07-27 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-07-27 16:23:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998203648001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:23:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359071309033897984,"note":"Value kept but may cause issues"} 
[2026-07-27 16:23:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315689472,"note":"Value kept but may cause issues"} 
[2026-07-27 16:23:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:23:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785149534000,"timestamp_ms":1785149534000,"timestamp_seconds":1785149534,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3342f30"} 
[2026-07-27 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-07-27 16:23:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-27 16:23:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 16:23:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:23:09] local.INFO: Teltonika packet parsed successfully {"connection_id":144107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:23:09] local.INFO: Passing IMEI to GPS processor {"connection_id":144107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:23:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":144107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:23:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:23:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:23:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:23:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998203648001,"66":25952,"226":206,"83":17408,"24":0,"16":359071309033897984,"45":-7145242259315689472},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-07-27 16:23:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:23:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:23:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998203648001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:23:09] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-27 16:23:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 16:23:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359071309033897984,"km_value":359071309033898.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:23:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315689472,"description":"Unknown IO ID 45"} 
[2026-07-27 16:23:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998203648001,"power":25952,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315689472}} 
[2026-07-27 16:23:09] local.INFO: DEBUG: GPS processor result {"connection_id":144107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:23:09] local.INFO: GPS data processed {"connection_id":144107,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:23:09] local.INFO: Acknowledgment sent {"connection_id":144107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:23:11] local.INFO: TCP Data received {"connection_id":145397,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145397,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:23:11] local.INFO: Processing buffer {"connection_id":145397,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:23:11] local.INFO: IMEI packet received {"connection_id":145397,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 16:23:11] local.INFO: IMEI acknowledgment sent {"connection_id":145397,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:23:11] local.INFO: TCP Data received {"connection_id":145397,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa33494c0012d7c38c005e540c8001000aa1a..."} 
[2026-07-27 16:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145397,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa33494c0012d7c38c005e540c8001000aa1a..."} 
[2026-07-27 16:23:11] local.INFO: Processing buffer {"connection_id":145397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa33494c0012d7c38c005e540c8001000aa1a..."} 
[2026-07-27 16:23:11] local.INFO: Packet analysis {"connection_id":145397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa334"} 
[2026-07-27 16:23:11] local.INFO: Extracted packet for processing {"connection_id":145397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa334"} 
[2026-07-27 16:23:11] local.INFO: GPS Element Parsed {"raw_longitude":763115712,"raw_latitude":98910408,"longitude_deg":76.3115712,"latitude_deg":9.8910408,"altitude":16,"angle":170,"satellites":26,"speed":31,"hex_longitude":"2d7c38c0","hex_latitude":"05e540c8","is_valid_coordinates":true} 
[2026-07-27 16:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:23:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998284544001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:23:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111647387096711168,"note":"Value kept but may cause issues"} 
[2026-07-27 16:23:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8948441378675410944,"note":"Value kept but may cause issues"} 
[2026-07-27 16:23:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:23:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785149560000,"timestamp_ms":1785149560000,"timestamp_seconds":1785149560,"priority":1,"record_length":96,"hex_timestamp":"0000019fa33494c0"} 
[2026-07-27 16:23:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:23:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-27 16:23:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:23:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:23:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:23:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:23:11] local.INFO: Teltonika packet parsed successfully {"connection_id":145397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:23:11] local.INFO: Passing IMEI to GPS processor {"connection_id":145397,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:23:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":145397,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:23:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:23:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 16:23:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 16:23:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998284544001,"66":12743,"40":206,"87":13824,"24":31,"16":111647387096711168,"45":8948441378675410944},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,87,24,16,45]} 
[2026-07-27 16:23:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 16:23:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 16:23:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998284544001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:23:11] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-07-27 16:23:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 16:23:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111647387096711168,"km_value":111647387096711.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:23:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8948441378675410944,"description":"Unknown IO ID 45"} 
[2026-07-27 16:23:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998284544001,"power":12743,"unknown_40":206,"unknown_87":13824,"ignition":31,"odometer":null,"unknown_45":8948441378675410944}} 
[2026-07-27 16:23:11] local.INFO: DEBUG: GPS processor result {"connection_id":145397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554134,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:23:11] local.INFO: GPS data processed {"connection_id":145397,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:23:11] local.INFO: Acknowledgment sent {"connection_id":145397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:23:32] local.INFO: TCP Data received {"connection_id":143117,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:23:32] local.INFO: Processing buffer {"connection_id":143117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:23:32] local.INFO: IMEI packet received {"connection_id":143117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 16:23:32] local.INFO: IMEI acknowledgment sent {"connection_id":143117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:23:37] local.INFO: TCP Data received {"connection_id":143117,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:23:37] local.INFO: Processing buffer {"connection_id":143117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:23:37] local.INFO: IMEI packet received {"connection_id":143117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 16:23:37] local.INFO: IMEI acknowledgment sent {"connection_id":143117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:23:37] local.INFO: TCP Data received {"connection_id":143117,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3342f30012d9cd70005b360f8002400092c..."} 
[2026-07-27 16:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143117,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3342f30012d9cd70005b360f8002400092c..."} 
[2026-07-27 16:23:37] local.INFO: Processing buffer {"connection_id":143117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3342f30012d9cd70005b360f8002400092c..."} 
[2026-07-27 16:23:37] local.INFO: Packet analysis {"connection_id":143117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa334"} 
[2026-07-27 16:23:37] local.INFO: Extracted packet for processing {"connection_id":143117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa334"} 
[2026-07-27 16:23:37] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641848,"longitude_deg":76.5253376,"latitude_deg":9.5641848,"altitude":36,"angle":9,"satellites":44,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b360f8","is_valid_coordinates":true} 
[2026-07-27 16:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998203648001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359071309033897984,"note":"Value kept but may cause issues"} 
[2026-07-27 16:23:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315689472,"note":"Value kept but may cause issues"} 
[2026-07-27 16:23:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785149534000,"timestamp_ms":1785149534000,"timestamp_seconds":1785149534,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3342f30"} 
[2026-07-27 16:23:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:23:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 16:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-27 16:23:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:23:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:23:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:23:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998203648001,"66":25952,"226":206,"83":17408,"24":0,"16":359071309033897984,"45":-7145242259315689472},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-07-27 16:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:23:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:23:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998203648001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:23:37] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-27 16:23:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 16:23:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359071309033897984,"km_value":359071309033898.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:23:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315689472,"description":"Unknown IO ID 45"} 
[2026-07-27 16:23:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998203648001,"power":25952,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315689472}} 
[2026-07-27 16:23:37] local.INFO: DEBUG: GPS processor result {"connection_id":143117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:23:37] local.INFO: GPS data processed {"connection_id":143117,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:23:37] local.INFO: Acknowledgment sent {"connection_id":143117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:23:43] local.INFO: TCP Data received {"connection_id":145397,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa334c3a0012d7c3fc005e52600000d009a1a..."} 
[2026-07-27 16:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145397,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa334c3a0012d7c3fc005e52600000d009a1a..."} 
[2026-07-27 16:23:43] local.INFO: Processing buffer {"connection_id":145397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa334c3a0012d7c3fc005e52600000d009a1a..."} 
[2026-07-27 16:23:43] local.INFO: Packet analysis {"connection_id":145397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa334"} 
[2026-07-27 16:23:43] local.INFO: Extracted packet for processing {"connection_id":145397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa334"} 
[2026-07-27 16:23:43] local.INFO: GPS Element Parsed {"raw_longitude":763117504,"raw_latitude":98903552,"longitude_deg":76.3117504,"latitude_deg":9.8903552,"altitude":13,"angle":154,"satellites":26,"speed":13,"hex_longitude":"2d7c3fc0","hex_latitude":"05e52600","is_valid_coordinates":true} 
[2026-07-27 16:23:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:23:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998287360001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:23:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111647730694094848,"note":"Value kept but may cause issues"} 
[2026-07-27 16:23:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8951115390952458240,"note":"Value kept but may cause issues"} 
[2026-07-27 16:23:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:23:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785149572000,"timestamp_ms":1785149572000,"timestamp_seconds":1785149572,"priority":1,"record_length":96,"hex_timestamp":"0000019fa334c3a0"} 
[2026-07-27 16:23:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:23:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:23:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-07-27 16:23:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:23:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:23:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:23:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:23:43] local.INFO: Teltonika packet parsed successfully {"connection_id":145397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:23:43] local.INFO: Passing IMEI to GPS processor {"connection_id":145397,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:23:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":145397,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:23:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:23:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 16:23:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 16:23:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998287360001,"66":12917,"39":206,"87":13824,"24":13,"16":111647730694094848,"45":8951115390952458240},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-07-27 16:23:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 16:23:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 16:23:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998287360001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:23:43] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-07-27 16:23:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 16:23:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111647730694094848,"km_value":111647730694094.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:23:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8951115390952458240,"description":"Unknown IO ID 45"} 
[2026-07-27 16:23:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998287360001,"power":12917,"unknown_39":206,"unknown_87":13824,"ignition":13,"odometer":null,"unknown_45":8951115390952458240}} 
[2026-07-27 16:23:43] local.INFO: DEBUG: GPS processor result {"connection_id":145397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554136,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:23:43] local.INFO: GPS data processed {"connection_id":145397,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:23:43] local.INFO: Acknowledgment sent {"connection_id":145397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:24:09] local.INFO: TCP Data received {"connection_id":143117,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3342f30012d9cd70005b360f8002400092c..."} 
[2026-07-27 16:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143117,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3342f30012d9cd70005b360f8002400092c..."} 
[2026-07-27 16:24:09] local.INFO: Processing buffer {"connection_id":143117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3342f30012d9cd70005b360f8002400092c..."} 
[2026-07-27 16:24:09] local.INFO: Packet analysis {"connection_id":143117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa334"} 
[2026-07-27 16:24:09] local.INFO: Extracted packet for processing {"connection_id":143117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa334"} 
[2026-07-27 16:24:09] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641848,"longitude_deg":76.5253376,"latitude_deg":9.5641848,"altitude":36,"angle":9,"satellites":44,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b360f8","is_valid_coordinates":true} 
[2026-07-27 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-07-27 16:24:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998203648001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:24:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359071309033897984,"note":"Value kept but may cause issues"} 
[2026-07-27 16:24:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315689472,"note":"Value kept but may cause issues"} 
[2026-07-27 16:24:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:24:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785149534000,"timestamp_ms":1785149534000,"timestamp_seconds":1785149534,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3342f30"} 
[2026-07-27 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-07-27 16:24:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-27 16:24:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 16:24:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:24:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:24:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:24:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16: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-07-27 16:24:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:24:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:24:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998203648001,"66":25952,"226":206,"83":17408,"24":0,"16":359071309033897984,"45":-7145242259315689472},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-07-27 16:24:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:24:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:24:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998203648001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:24:09] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-27 16:24:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 16:24:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359071309033897984,"km_value":359071309033898.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:24:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315689472,"description":"Unknown IO ID 45"} 
[2026-07-27 16:24:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998203648001,"power":25952,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315689472}} 
[2026-07-27 16:24:09] local.INFO: DEBUG: GPS processor result {"connection_id":143117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:24:09] local.INFO: GPS data processed {"connection_id":143117,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:24:09] local.INFO: Acknowledgment sent {"connection_id":143117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:24:20] local.INFO: TCP Data received {"connection_id":145398,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145398,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:24:20] local.INFO: Processing buffer {"connection_id":145398,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:24:20] local.INFO: IMEI packet received {"connection_id":145398,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 16:24:20] local.INFO: IMEI acknowledgment sent {"connection_id":145398,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:24:21] local.INFO: TCP Data received {"connection_id":145398,"ip":"42.109.136.2","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-27 16:24:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145398,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-27 16:24:21] local.INFO: Processing buffer {"connection_id":145398,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-27 16:24:21] local.INFO: IMEI packet received {"connection_id":145398,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 16:24:21] local.INFO: IMEI acknowledgment sent {"connection_id":145398,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:24:23] local.INFO: TCP Data received {"connection_id":145398,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa334cb70012d7c410005e52438000d008c1b..."} 
[2026-07-27 16:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa334cb70012d7c410005e52438000d008c1b..."} 
[2026-07-27 16:24:23] local.INFO: Processing buffer {"connection_id":145398,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019fa3..."} 
[2026-07-27 16:24:23] local.INFO: IMEI packet received {"connection_id":145398,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 16:24:23] local.INFO: IMEI acknowledgment sent {"connection_id":145398,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:24:24] local.INFO: TCP Data received {"connection_id":145398,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa334db10012d7c42c005e52298000d007b1a..."} 
[2026-07-27 16:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa334db10012d7c42c005e52298000d007b1a..."} 
[2026-07-27 16:24:24] local.INFO: Processing buffer {"connection_id":145398,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019fa334cb70012d7c410005e52438000d008c1b..."} 
[2026-07-27 16:24:24] local.INFO: Packet analysis {"connection_id":145398,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fa334"} 
[2026-07-27 16:24:24] local.INFO: Extracted packet for processing {"connection_id":145398,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa334"} 
[2026-07-27 16:24:24] local.INFO: GPS Element Parsed {"raw_longitude":763117824,"raw_latitude":98903096,"longitude_deg":76.3117824,"latitude_deg":9.8903096,"altitude":13,"angle":140,"satellites":27,"speed":8,"hex_longitude":"2d7c4100","hex_latitude":"05e52438","is_valid_coordinates":true} 
[2026-07-27 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-07-27 16:24:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998290432001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:24:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111647756463898624,"note":"Value kept but may cause issues"} 
[2026-07-27 16:24:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8953085715787677696,"note":"Value kept but may cause issues"} 
[2026-07-27 16:24:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:24:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785149574000,"timestamp_ms":1785149574000,"timestamp_seconds":1785149574,"priority":1,"record_length":96,"hex_timestamp":"0000019fa334cb70"} 
[2026-07-27 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-07-27 16: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-07-27 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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-27 16:24: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-07-27 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-07-27 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-07-27 16:24:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:24:24] local.INFO: Teltonika packet parsed successfully {"connection_id":145398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:24:24] local.INFO: Passing IMEI to GPS processor {"connection_id":145398,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:24:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":145398,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:24:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:24:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 16:24:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 16:24:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998290432001,"66":12982,"39":206,"87":13824,"24":8,"16":111647756463898624,"45":8953085715787677696},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-07-27 16:24:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 16:24:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 16:24:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998290432001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:24:24] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-07-27 16:24:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 16:24:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111647756463898624,"km_value":111647756463898.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:24:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8953085715787677696,"description":"Unknown IO ID 45"} 
[2026-07-27 16:24:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998290432001,"power":12982,"unknown_39":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8953085715787677696}} 
[2026-07-27 16:24:24] local.INFO: DEBUG: GPS processor result {"connection_id":145398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554138,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:24:24] local.INFO: GPS data processed {"connection_id":145398,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:24:24] local.INFO: Acknowledgment sent {"connection_id":145398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:24:24] local.INFO: Packet analysis {"connection_id":145398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa334"} 
[2026-07-27 16:24:24] local.INFO: Extracted packet for processing {"connection_id":145398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa334"} 
[2026-07-27 16:24:24] local.INFO: GPS Element Parsed {"raw_longitude":763118272,"raw_latitude":98902680,"longitude_deg":76.3118272,"latitude_deg":9.890268,"altitude":13,"angle":123,"satellites":26,"speed":8,"hex_longitude":"2d7c42c0","hex_latitude":"05e52298","is_valid_coordinates":true} 
[2026-07-27 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-07-27 16:24:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998290944001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:24:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111647786528669696,"note":"Value kept but may cause issues"} 
[2026-07-27 16:24:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8953437559508449280,"note":"Value kept but may cause issues"} 
[2026-07-27 16:24:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:24:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785149578000,"timestamp_ms":1785149578000,"timestamp_seconds":1785149578,"priority":1,"record_length":96,"hex_timestamp":"0000019fa334db10"} 
[2026-07-27 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-07-27 16: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-07-27 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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-27 16:24:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 16:24:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:24:24] local.INFO: Teltonika packet parsed successfully {"connection_id":145398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:24:24] local.INFO: Passing IMEI to GPS processor {"connection_id":145398,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:24:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":145398,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:24:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:24:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 16:24:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 16:24:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998290944001,"66":12961,"39":206,"87":13824,"24":8,"16":111647786528669696,"45":8953437559508449280},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-07-27 16:24:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 16:24:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 16:24:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998290944001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:24:24] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-07-27 16:24:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 16:24:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111647786528669696,"km_value":111647786528669.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:24:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8953437559508449280,"description":"Unknown IO ID 45"} 
[2026-07-27 16:24:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998290944001,"power":12961,"unknown_39":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8953437559508449280}} 
[2026-07-27 16:24:24] local.INFO: DEBUG: GPS processor result {"connection_id":145398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554139,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:24:24] local.INFO: GPS data processed {"connection_id":145398,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:24:24] local.INFO: Acknowledgment sent {"connection_id":145398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:24:25] local.INFO: TCP Data received {"connection_id":145398,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa334fa50012d7c450005e52098000f00b61c..."} 
[2026-07-27 16:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa334fa50012d7c450005e52098000f00b61c..."} 
[2026-07-27 16:24:25] local.INFO: Processing buffer {"connection_id":145398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa334fa50012d7c450005e52098000f00b61c..."} 
[2026-07-27 16:24:25] local.INFO: Packet analysis {"connection_id":145398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa334"} 
[2026-07-27 16:24:25] local.INFO: Extracted packet for processing {"connection_id":145398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa334"} 
[2026-07-27 16:24:25] local.INFO: GPS Element Parsed {"raw_longitude":763118848,"raw_latitude":98902168,"longitude_deg":76.3118848,"latitude_deg":9.8902168,"altitude":15,"angle":182,"satellites":28,"speed":3,"hex_longitude":"2d7c4500","hex_latitude":"05e52098","is_valid_coordinates":true} 
[2026-07-27 16:24:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:24:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998291968001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:24:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111647825183375360,"note":"Value kept but may cause issues"} 
[2026-07-27 16:24:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8953930140717586432,"note":"Value kept but may cause issues"} 
[2026-07-27 16:24:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:24:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785149586000,"timestamp_ms":1785149586000,"timestamp_seconds":1785149586,"priority":1,"record_length":96,"hex_timestamp":"0000019fa334fa50"} 
[2026-07-27 16:24:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:24:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:24:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-27 16:24:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:24:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:24:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:24:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:24:25] local.INFO: Teltonika packet parsed successfully {"connection_id":145398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:24:25] local.INFO: Passing IMEI to GPS processor {"connection_id":145398,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:24:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":145398,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:24:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:24:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 16:24:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 16:24:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998291968001,"66":12145,"39":206,"87":13824,"24":3,"16":111647825183375360,"45":8953930140717586432},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-07-27 16:24:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 16:24:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 16:24:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998291968001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:24:25] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-07-27 16:24:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-27 16:24:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111647825183375360,"km_value":111647825183375.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:24:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8953930140717586432,"description":"Unknown IO ID 45"} 
[2026-07-27 16:24:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998291968001,"power":12145,"unknown_39":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":8953930140717586432}} 
[2026-07-27 16:24:25] local.INFO: DEBUG: GPS processor result {"connection_id":145398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554140,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:24:25] local.INFO: GPS data processed {"connection_id":145398,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:24:25] local.INFO: Acknowledgment sent {"connection_id":145398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:24:32] local.INFO: TCP Data received {"connection_id":142972,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:24:32] local.INFO: Processing buffer {"connection_id":142972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:24:32] local.INFO: IMEI packet received {"connection_id":142972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 16:24:32] local.INFO: IMEI acknowledgment sent {"connection_id":142972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:24:37] local.INFO: TCP Data received {"connection_id":142972,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:24:37] local.INFO: Processing buffer {"connection_id":142972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:24:37] local.INFO: IMEI packet received {"connection_id":142972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 16:24:37] local.INFO: IMEI acknowledgment sent {"connection_id":142972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:24:38] local.INFO: TCP Data received {"connection_id":142972,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3342f30012d9cd70005b360f8002400092c..."} 
[2026-07-27 16:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142972,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3342f30012d9cd70005b360f8002400092c..."} 
[2026-07-27 16:24:38] local.INFO: Processing buffer {"connection_id":142972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3342f30012d9cd70005b360f8002400092c..."} 
[2026-07-27 16:24:38] local.INFO: Packet analysis {"connection_id":142972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa334"} 
[2026-07-27 16:24:38] local.INFO: Extracted packet for processing {"connection_id":142972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa334"} 
[2026-07-27 16:24:38] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641848,"longitude_deg":76.5253376,"latitude_deg":9.5641848,"altitude":36,"angle":9,"satellites":44,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b360f8","is_valid_coordinates":true} 
[2026-07-27 16:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:24:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998203648001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:24:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359071309033897984,"note":"Value kept but may cause issues"} 
[2026-07-27 16:24:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315689472,"note":"Value kept but may cause issues"} 
[2026-07-27 16:24:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:24:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785149534000,"timestamp_ms":1785149534000,"timestamp_seconds":1785149534,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3342f30"} 
[2026-07-27 16:24:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:24:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 16:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-27 16:24:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:24:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:24:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:24:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:24:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:24:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:24:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:24:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:24:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:24:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:24:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998203648001,"66":25952,"226":206,"83":17408,"24":0,"16":359071309033897984,"45":-7145242259315689472},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-07-27 16:24:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:24:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:24:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998203648001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:24:38] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-27 16:24:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 16:24:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359071309033897984,"km_value":359071309033898.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:24:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315689472,"description":"Unknown IO ID 45"} 
[2026-07-27 16:24:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998203648001,"power":25952,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315689472}} 
[2026-07-27 16:24:38] local.INFO: DEBUG: GPS processor result {"connection_id":142972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:24:38] local.INFO: GPS data processed {"connection_id":142972,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:24:38] local.INFO: Acknowledgment sent {"connection_id":142972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:25:08] local.INFO: TCP Data received {"connection_id":143119,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143119,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:25:08] local.INFO: Processing buffer {"connection_id":143119,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:25:08] local.INFO: IMEI packet received {"connection_id":143119,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 16:25:08] local.INFO: IMEI acknowledgment sent {"connection_id":143119,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:25:09] local.INFO: TCP Data received {"connection_id":142972,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3342f30012d9cd70005b360f8002400092c..."} 
[2026-07-27 16:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142972,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3342f30012d9cd70005b360f8002400092c..."} 
[2026-07-27 16:25:09] local.INFO: Processing buffer {"connection_id":142972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3342f30012d9cd70005b360f8002400092c..."} 
[2026-07-27 16:25:09] local.INFO: Packet analysis {"connection_id":142972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa334"} 
[2026-07-27 16:25:09] local.INFO: Extracted packet for processing {"connection_id":142972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa334"} 
[2026-07-27 16:25:09] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641848,"longitude_deg":76.5253376,"latitude_deg":9.5641848,"altitude":36,"angle":9,"satellites":44,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b360f8","is_valid_coordinates":true} 
[2026-07-27 16:25:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:25:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998203648001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:25:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359071309033897984,"note":"Value kept but may cause issues"} 
[2026-07-27 16:25:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315689472,"note":"Value kept but may cause issues"} 
[2026-07-27 16:25:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:25:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785149534000,"timestamp_ms":1785149534000,"timestamp_seconds":1785149534,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3342f30"} 
[2026-07-27 16:25:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:25:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 16:25:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-27 16:25:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:25:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:25:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:25:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:25:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:25:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:25:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:25:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:25:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:25:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:25:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998203648001,"66":25952,"226":206,"83":17408,"24":0,"16":359071309033897984,"45":-7145242259315689472},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-07-27 16:25:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:25:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:25:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998203648001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:25:09] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-27 16:25:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 16:25:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359071309033897984,"km_value":359071309033898.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:25:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315689472,"description":"Unknown IO ID 45"} 
[2026-07-27 16:25:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998203648001,"power":25952,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315689472}} 
[2026-07-27 16:25:09] local.INFO: DEBUG: GPS processor result {"connection_id":142972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:25:09] local.INFO: GPS data processed {"connection_id":142972,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:25:09] local.INFO: Acknowledgment sent {"connection_id":142972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:25:10] local.INFO: TCP Data received {"connection_id":143119,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143119,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:25:10] local.INFO: Processing buffer {"connection_id":143119,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:25:10] local.INFO: IMEI packet received {"connection_id":143119,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 16:25:10] local.INFO: IMEI acknowledgment sent {"connection_id":143119,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:25:13] local.INFO: TCP Data received {"connection_id":143119,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143119,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:25:13] local.INFO: Processing buffer {"connection_id":143119,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:25:13] local.INFO: IMEI packet received {"connection_id":143119,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 16:25:13] local.INFO: IMEI acknowledgment sent {"connection_id":143119,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:25:14] local.INFO: TCP Data received {"connection_id":143119,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3364a40012d7b7c8005e3ebe8000b00d421..."} 
[2026-07-27 16:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3364a40012d7b7c8005e3ebe8000b00d421..."} 
[2026-07-27 16:25:14] local.INFO: Processing buffer {"connection_id":143119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3364a40012d7b7c8005e3ebe8000b00d421..."} 
[2026-07-27 16:25:14] local.INFO: Packet analysis {"connection_id":143119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa336"} 
[2026-07-27 16:25:14] local.INFO: Extracted packet for processing {"connection_id":143119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa336"} 
[2026-07-27 16:25:14] local.INFO: GPS Element Parsed {"raw_longitude":763067520,"raw_latitude":98823144,"longitude_deg":76.306752,"latitude_deg":9.8823144,"altitude":11,"angle":212,"satellites":33,"speed":47,"hex_longitude":"2d7b7c80","hex_latitude":"05e3ebe8","is_valid_coordinates":true} 
[2026-07-27 16:25:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:25:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998313984001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:25:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111652373553741824,"note":"Value kept but may cause issues"} 
[2026-07-27 16:25:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8903968332333174784,"note":"Value kept but may cause issues"} 
[2026-07-27 16:25:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:25:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785149672000,"timestamp_ms":1785149672000,"timestamp_seconds":1785149672,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3364a40"} 
[2026-07-27 16:25:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:25:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-27 16:25:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:25:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:25:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:25:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:25:14] local.INFO: Teltonika packet parsed successfully {"connection_id":143119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:25:14] local.INFO: Passing IMEI to GPS processor {"connection_id":143119,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:25:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":143119,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:25:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:25:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 16:25:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 16:25:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998313984001,"66":13037,"97":206,"85":15104,"24":47,"16":111652373553741824,"45":8903968332333174784},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-27 16:25:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 16:25:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 16:25:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998313984001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:25:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-27 16:25:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 16:25:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111652373553741824,"km_value":111652373553741.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:25:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8903968332333174784,"description":"Unknown IO ID 45"} 
[2026-07-27 16:25:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998313984001,"power":13037,"unknown_97":206,"unknown_85":15104,"ignition":47,"odometer":null,"unknown_45":8903968332333174784}} 
[2026-07-27 16:25:14] local.INFO: DEBUG: GPS processor result {"connection_id":143119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554143,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:25:14] local.INFO: GPS data processed {"connection_id":143119,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:25:14] local.INFO: Acknowledgment sent {"connection_id":143119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:25:19] local.INFO: TCP Data received {"connection_id":143119,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3366980012d7b678005e3cc08000800d621..."} 
[2026-07-27 16:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3366980012d7b678005e3cc08000800d621..."} 
[2026-07-27 16:25:19] local.INFO: Processing buffer {"connection_id":143119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3366980012d7b678005e3cc08000800d621..."} 
[2026-07-27 16:25:19] local.INFO: Packet analysis {"connection_id":143119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa336"} 
[2026-07-27 16:25:19] local.INFO: Extracted packet for processing {"connection_id":143119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa336"} 
[2026-07-27 16:25:19] local.INFO: GPS Element Parsed {"raw_longitude":763062144,"raw_latitude":98814984,"longitude_deg":76.3062144,"latitude_deg":9.8814984,"altitude":8,"angle":214,"satellites":33,"speed":44,"hex_longitude":"2d7b6780","hex_latitude":"05e3cc08","is_valid_coordinates":true} 
[2026-07-27 16: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-07-27 16:25:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998316032001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:25:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111652846000144384,"note":"Value kept but may cause issues"} 
[2026-07-27 16:25:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8898127726564337664,"note":"Value kept but may cause issues"} 
[2026-07-27 16:25:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:25:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785149680000,"timestamp_ms":1785149680000,"timestamp_seconds":1785149680,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3366980"} 
[2026-07-27 16:25:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16: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-07-27 16: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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-07-27 16:25:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16: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-07-27 16:25:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:25:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:25:19] local.INFO: Teltonika packet parsed successfully {"connection_id":143119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:25:19] local.INFO: Passing IMEI to GPS processor {"connection_id":143119,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:25:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":143119,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:25:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:25:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 16:25:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 16:25:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998316032001,"66":12863,"97":206,"85":15104,"24":44,"16":111652846000144384,"45":8898127726564337664},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-27 16:25:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 16:25:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 16:25:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998316032001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:25:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-27 16:25:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 16:25:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111652846000144384,"km_value":111652846000144.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:25:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8898127726564337664,"description":"Unknown IO ID 45"} 
[2026-07-27 16:25:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998316032001,"power":12863,"unknown_97":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":8898127726564337664}} 
[2026-07-27 16:25:19] local.INFO: DEBUG: GPS processor result {"connection_id":143119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554144,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:25:19] local.INFO: GPS data processed {"connection_id":143119,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:25:19] local.INFO: Acknowledgment sent {"connection_id":143119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:25:32] local.INFO: TCP Data received {"connection_id":144110,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:25:32] local.INFO: Processing buffer {"connection_id":144110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:25:32] local.INFO: IMEI packet received {"connection_id":144110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 16:25:32] local.INFO: IMEI acknowledgment sent {"connection_id":144110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:25:37] local.INFO: TCP Data received {"connection_id":144110,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:25:37] local.INFO: Processing buffer {"connection_id":144110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:25:37] local.INFO: IMEI packet received {"connection_id":144110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 16:25:37] local.INFO: IMEI acknowledgment sent {"connection_id":144110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:25:37] local.INFO: TCP Data received {"connection_id":144110,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3342f30012d9cd70005b360f8002400092c..."} 
[2026-07-27 16:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3342f30012d9cd70005b360f8002400092c..."} 
[2026-07-27 16:25:37] local.INFO: Processing buffer {"connection_id":144110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3342f30012d9cd70005b360f8002400092c..."} 
[2026-07-27 16:25:37] local.INFO: Packet analysis {"connection_id":144110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa334"} 
[2026-07-27 16:25:37] local.INFO: Extracted packet for processing {"connection_id":144110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa334"} 
[2026-07-27 16:25:37] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641848,"longitude_deg":76.5253376,"latitude_deg":9.5641848,"altitude":36,"angle":9,"satellites":44,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b360f8","is_valid_coordinates":true} 
[2026-07-27 16:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998203648001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359071309033897984,"note":"Value kept but may cause issues"} 
[2026-07-27 16:25:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315689472,"note":"Value kept but may cause issues"} 
[2026-07-27 16:25:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785149534000,"timestamp_ms":1785149534000,"timestamp_seconds":1785149534,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3342f30"} 
[2026-07-27 16:25:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:25:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 16:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-27 16:25:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:25:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:25:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:25:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998203648001,"66":25952,"226":206,"83":17408,"24":0,"16":359071309033897984,"45":-7145242259315689472},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-07-27 16:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998203648001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:25:37] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-27 16:25:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 16:25:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359071309033897984,"km_value":359071309033898.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:25:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315689472,"description":"Unknown IO ID 45"} 
[2026-07-27 16:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998203648001,"power":25952,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315689472}} 
[2026-07-27 16:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":144110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:25:37] local.INFO: GPS data processed {"connection_id":144110,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:25:37] local.INFO: Acknowledgment sent {"connection_id":144110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:25:50] local.INFO: TCP Data received {"connection_id":143119,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3375bb0012d7b088005e32c780009013d1b..."} 
[2026-07-27 16:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3375bb0012d7b088005e32c780009013d1b..."} 
[2026-07-27 16:25:50] local.INFO: Processing buffer {"connection_id":143119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3375bb0012d7b088005e32c780009013d1b..."} 
[2026-07-27 16:25:50] local.INFO: Packet analysis {"connection_id":143119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa337"} 
[2026-07-27 16:25:50] local.INFO: Extracted packet for processing {"connection_id":143119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa337"} 
[2026-07-27 16:25:50] local.INFO: GPS Element Parsed {"raw_longitude":763037824,"raw_latitude":98774136,"longitude_deg":76.3037824,"latitude_deg":9.8774136,"altitude":9,"angle":317,"satellites":27,"speed":9,"hex_longitude":"2d7b0880","hex_latitude":"05e32c78","is_valid_coordinates":true} 
[2026-07-27 16: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-07-27 16:25:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998333696001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:25:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111655229706993664,"note":"Value kept but may cause issues"} 
[2026-07-27 16:25:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865617366741641216,"note":"Value kept but may cause issues"} 
[2026-07-27 16:25:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:25:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785149742000,"timestamp_ms":1785149742000,"timestamp_seconds":1785149742,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3375bb0"} 
[2026-07-27 16:25:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:25: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-07-27 16:25:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-07-27 16:25: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-07-27 16: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-07-27 16:25:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:25:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:25:50] local.INFO: Teltonika packet parsed successfully {"connection_id":143119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:25:50] local.INFO: Passing IMEI to GPS processor {"connection_id":143119,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:25:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":143119,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:25:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:25:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 16:25:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 16:25:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998333696001,"66":12874,"97":206,"85":15104,"24":9,"16":111655229706993664,"45":8865617366741641216},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-27 16:25:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 16:25:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 16:25:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998333696001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:25:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-27 16:25:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 16:25:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111655229706993664,"km_value":111655229706993.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:25:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865617366741641216,"description":"Unknown IO ID 45"} 
[2026-07-27 16:25:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998333696001,"power":12874,"unknown_97":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8865617366741641216}} 
[2026-07-27 16:25:51] local.INFO: DEBUG: GPS processor result {"connection_id":143119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554146,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:25:51] local.INFO: GPS data processed {"connection_id":143119,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:25:51] local.INFO: Acknowledgment sent {"connection_id":143119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:26:07] local.INFO: TCP Data received {"connection_id":144111,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144111,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:26:07] local.INFO: Processing buffer {"connection_id":144111,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:26:07] local.INFO: IMEI packet received {"connection_id":144111,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 16:26:07] local.INFO: IMEI acknowledgment sent {"connection_id":144111,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:26:09] local.INFO: TCP Data received {"connection_id":144110,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3342f30012d9cd70005b360f8002400092c..."} 
[2026-07-27 16:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3342f30012d9cd70005b360f8002400092c..."} 
[2026-07-27 16:26:09] local.INFO: Processing buffer {"connection_id":144110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3342f30012d9cd70005b360f8002400092c..."} 
[2026-07-27 16:26:09] local.INFO: Packet analysis {"connection_id":144110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa334"} 
[2026-07-27 16:26:09] local.INFO: Extracted packet for processing {"connection_id":144110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa334"} 
[2026-07-27 16:26:09] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641848,"longitude_deg":76.5253376,"latitude_deg":9.5641848,"altitude":36,"angle":9,"satellites":44,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b360f8","is_valid_coordinates":true} 
[2026-07-27 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-07-27 16:26:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998203648001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:26:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359071309033897984,"note":"Value kept but may cause issues"} 
[2026-07-27 16:26:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315689472,"note":"Value kept but may cause issues"} 
[2026-07-27 16:26:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:26:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785149534000,"timestamp_ms":1785149534000,"timestamp_seconds":1785149534,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3342f30"} 
[2026-07-27 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-07-27 16:26:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-27 16:26:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 16:26:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:26:09] local.INFO: Teltonika packet parsed successfully {"connection_id":144110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:26:09] local.INFO: Passing IMEI to GPS processor {"connection_id":144110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:26:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":144110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:26:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:26:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:26:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:26:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998203648001,"66":25952,"226":206,"83":17408,"24":0,"16":359071309033897984,"45":-7145242259315689472},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-07-27 16:26:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:26:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:26:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998203648001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:26:09] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-27 16:26:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 16:26:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359071309033897984,"km_value":359071309033898.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:26:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315689472,"description":"Unknown IO ID 45"} 
[2026-07-27 16:26:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998203648001,"power":25952,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315689472}} 
[2026-07-27 16:26:09] local.INFO: DEBUG: GPS processor result {"connection_id":144110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:26:09] local.INFO: GPS data processed {"connection_id":144110,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:26:09] local.INFO: Acknowledgment sent {"connection_id":144110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:26:13] local.INFO: TCP Data received {"connection_id":144111,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:26:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144111,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:26:13] local.INFO: Processing buffer {"connection_id":144111,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:26:13] local.INFO: IMEI packet received {"connection_id":144111,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 16:26:13] local.INFO: IMEI acknowledgment sent {"connection_id":144111,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:26:14] local.INFO: TCP Data received {"connection_id":144111,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3375f98012d7b078005e32e400009014b1c..."} 
[2026-07-27 16:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144111,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3375f98012d7b078005e32e400009014b1c..."} 
[2026-07-27 16:26:14] local.INFO: Processing buffer {"connection_id":144111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3375f98012d7b078005e32e400009014b1c..."} 
[2026-07-27 16:26:14] local.INFO: Packet analysis {"connection_id":144111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa337"} 
[2026-07-27 16:26:14] local.INFO: Extracted packet for processing {"connection_id":144111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa337"} 
[2026-07-27 16:26:14] local.INFO: GPS Element Parsed {"raw_longitude":763037568,"raw_latitude":98774592,"longitude_deg":76.3037568,"latitude_deg":9.8774592,"altitude":9,"angle":331,"satellites":28,"speed":11,"hex_longitude":"2d7b0780","hex_latitude":"05e32e40","is_valid_coordinates":true} 
[2026-07-27 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-07-27 16:26:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998333952001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:26:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111655251181830144,"note":"Value kept but may cause issues"} 
[2026-07-27 16:26:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865476629253355520,"note":"Value kept but may cause issues"} 
[2026-07-27 16:26:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:26:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785149743000,"timestamp_ms":1785149743000,"timestamp_seconds":1785149743,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3375f98"} 
[2026-07-27 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-07-27 16:26:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-07-27 16:26:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1114,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 16:26:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:26:14] local.INFO: Teltonika packet parsed successfully {"connection_id":144111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:26:14] local.INFO: Passing IMEI to GPS processor {"connection_id":144111,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:26:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":144111,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:26:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:26:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 16:26:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 16:26:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998333952001,"66":12689,"97":206,"85":15104,"24":11,"16":111655251181830144,"45":8865476629253355520},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-27 16:26:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 16:26:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 16:26:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998333952001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:26:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-27 16:26:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 16:26:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111655251181830144,"km_value":111655251181830.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:26:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865476629253355520,"description":"Unknown IO ID 45"} 
[2026-07-27 16:26:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998333952001,"power":12689,"unknown_97":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":8865476629253355520}} 
[2026-07-27 16:26:14] local.INFO: DEBUG: GPS processor result {"connection_id":144111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554148,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:26:14] local.INFO: GPS data processed {"connection_id":144111,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:26:14] local.INFO: Acknowledgment sent {"connection_id":144111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:26:27] local.INFO: TCP Data received {"connection_id":142975,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142975,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:26:27] local.INFO: Processing buffer {"connection_id":142975,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:26:27] local.INFO: IMEI packet received {"connection_id":142975,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 16:26:27] local.INFO: IMEI acknowledgment sent {"connection_id":142975,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:26:31] local.INFO: TCP Data received {"connection_id":145399,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:26:31] local.INFO: Processing buffer {"connection_id":145399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:26:31] local.INFO: IMEI packet received {"connection_id":145399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 16:26:31] local.INFO: IMEI acknowledgment sent {"connection_id":145399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:26:32] local.INFO: TCP Data received {"connection_id":142975,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142975,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:26:32] local.INFO: Processing buffer {"connection_id":142975,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:26:32] local.INFO: IMEI packet received {"connection_id":142975,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 16:26:32] local.INFO: IMEI acknowledgment sent {"connection_id":142975,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:26:33] local.INFO: TCP Data received {"connection_id":142975,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fa33728e8012d0e52000705ce28001c00481c..."} 
[2026-07-27 16:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa33728e8012d0e52000705ce28001c00481c..."} 
[2026-07-27 16:26:33] local.INFO: Processing buffer {"connection_id":142975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa33728e8012d0e52000705ce28001c00481c..."} 
[2026-07-27 16:26:33] local.INFO: Packet analysis {"connection_id":142975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa337"} 
[2026-07-27 16:26:33] local.INFO: Extracted packet for processing {"connection_id":142975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa337"} 
[2026-07-27 16:26:33] local.INFO: GPS Element Parsed {"raw_longitude":755913216,"raw_latitude":117820968,"longitude_deg":75.5913216,"latitude_deg":11.7820968,"altitude":28,"angle":72,"satellites":28,"speed":26,"hex_longitude":"2d0e5200","hex_latitude":"0705ce28","is_valid_coordinates":true} 
[2026-07-27 16:26:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:26:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998330624001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:26:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25949522387533824,"note":"Value kept but may cause issues"} 
[2026-07-27 16:26:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1031887294783432704,"note":"Value kept but may cause issues"} 
[2026-07-27 16:26:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:26:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785149729000,"timestamp_ms":1785149729000,"timestamp_seconds":1785149729,"priority":1,"record_length":96,"hex_timestamp":"0000019fa33728e8"} 
[2026-07-27 16:26:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:26:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:26:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-27 16:26:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:26:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:26:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:26:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:26:33] local.INFO: Teltonika packet parsed successfully {"connection_id":142975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:26:33] local.INFO: Passing IMEI to GPS processor {"connection_id":142975,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 16:26:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":142975,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 16:26:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:26:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 16:26:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 16:26:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998330624001,"66":14450,"167":206,"94":11008,"24":26,"16":25949522387533824,"45":1031887294783432704},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-07-27 16:26:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 16:26:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 16:26:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998330624001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:26:33] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-27 16:26:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-27 16:26:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25949522387533824,"km_value":25949522387533.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:26:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1031887294783432704,"description":"Unknown IO ID 45"} 
[2026-07-27 16:26:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998330624001,"power":14450,"unknown_167":206,"unknown_94":11008,"ignition":26,"odometer":null,"unknown_45":1031887294783432704}} 
[2026-07-27 16:26:33] local.INFO: DEBUG: GPS processor result {"connection_id":142975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554149,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:26:33] local.INFO: GPS data processed {"connection_id":142975,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:26:33] local.INFO: Acknowledgment sent {"connection_id":142975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:26:37] local.INFO: TCP Data received {"connection_id":145399,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:26:37] local.INFO: Processing buffer {"connection_id":145399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:26:37] local.INFO: IMEI packet received {"connection_id":145399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 16:26:37] local.INFO: IMEI acknowledgment sent {"connection_id":145399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:26:37] local.INFO: TCP Data received {"connection_id":145399,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3342f30012d9cd70005b360f8002400092c..."} 
[2026-07-27 16:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3342f30012d9cd70005b360f8002400092c..."} 
[2026-07-27 16:26:37] local.INFO: Processing buffer {"connection_id":145399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3342f30012d9cd70005b360f8002400092c..."} 
[2026-07-27 16:26:37] local.INFO: Packet analysis {"connection_id":145399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa334"} 
[2026-07-27 16:26:37] local.INFO: Extracted packet for processing {"connection_id":145399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa334"} 
[2026-07-27 16:26:37] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641848,"longitude_deg":76.5253376,"latitude_deg":9.5641848,"altitude":36,"angle":9,"satellites":44,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b360f8","is_valid_coordinates":true} 
[2026-07-27 16:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:26:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998203648001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:26:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359071309033897984,"note":"Value kept but may cause issues"} 
[2026-07-27 16:26:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315689472,"note":"Value kept but may cause issues"} 
[2026-07-27 16:26:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:26:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785149534000,"timestamp_ms":1785149534000,"timestamp_seconds":1785149534,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3342f30"} 
[2026-07-27 16:26:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:26:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 16:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-27 16:26:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:26:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:26:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:26:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:26:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:26:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:26:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:26:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:26:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:26:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:26:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998203648001,"66":25952,"226":206,"83":17408,"24":0,"16":359071309033897984,"45":-7145242259315689472},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-07-27 16:26:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:26:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:26:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998203648001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:26:37] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-27 16:26:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 16:26:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359071309033897984,"km_value":359071309033898.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:26:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315689472,"description":"Unknown IO ID 45"} 
[2026-07-27 16:26:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998203648001,"power":25952,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315689472}} 
[2026-07-27 16:26:37] local.INFO: DEBUG: GPS processor result {"connection_id":145399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:26:37] local.INFO: GPS data processed {"connection_id":145399,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:26:37] local.INFO: Acknowledgment sent {"connection_id":145399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:26:45] local.INFO: TCP Data received {"connection_id":144111,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3376380012d7b074005e330d80009015b1b..."} 
[2026-07-27 16:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144111,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3376380012d7b074005e330d80009015b1b..."} 
[2026-07-27 16:26:45] local.INFO: Processing buffer {"connection_id":144111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3376380012d7b074005e330d80009015b1b..."} 
[2026-07-27 16:26:45] local.INFO: Packet analysis {"connection_id":144111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa337"} 
[2026-07-27 16:26:45] local.INFO: Extracted packet for processing {"connection_id":144111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa337"} 
[2026-07-27 16:26:45] local.INFO: GPS Element Parsed {"raw_longitude":763037504,"raw_latitude":98775256,"longitude_deg":76.3037504,"latitude_deg":9.8775256,"altitude":9,"angle":347,"satellites":27,"speed":15,"hex_longitude":"2d7b0740","hex_latitude":"05e330d8","is_valid_coordinates":true} 
[2026-07-27 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-07-27 16:26:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998334208001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:26:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111655285541568512,"note":"Value kept but may cause issues"} 
[2026-07-27 16:26:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865195154276761600,"note":"Value kept but may cause issues"} 
[2026-07-27 16:26:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:26:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785149744000,"timestamp_ms":1785149744000,"timestamp_seconds":1785149744,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3376380"} 
[2026-07-27 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-07-27 16:26:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-27 16:26:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 16:26:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:26:45] local.INFO: Teltonika packet parsed successfully {"connection_id":144111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:26:45] local.INFO: Passing IMEI to GPS processor {"connection_id":144111,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:26:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":144111,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:26:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:26:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 16:26:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 16:26:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998334208001,"66":12689,"97":206,"85":15104,"24":15,"16":111655285541568512,"45":8865195154276761600},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-27 16:26:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 16:26:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 16:26:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998334208001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:26:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-27 16:26:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 16:26:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111655285541568512,"km_value":111655285541568.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:26:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865195154276761600,"description":"Unknown IO ID 45"} 
[2026-07-27 16:26:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998334208001,"power":12689,"unknown_97":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":8865195154276761600}} 
[2026-07-27 16:26:45] local.INFO: DEBUG: GPS processor result {"connection_id":144111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554151,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:26:45] local.INFO: GPS data processed {"connection_id":144111,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:26:45] local.INFO: Acknowledgment sent {"connection_id":144111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:27:07] local.INFO: TCP Data received {"connection_id":143120,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143120,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:27:07] local.INFO: Processing buffer {"connection_id":143120,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:27:07] local.INFO: IMEI packet received {"connection_id":143120,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 16:27:07] local.INFO: IMEI acknowledgment sent {"connection_id":143120,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:27:09] local.INFO: TCP Data received {"connection_id":145399,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3342f30012d9cd70005b360f8002400092c..."} 
[2026-07-27 16:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3342f30012d9cd70005b360f8002400092c..."} 
[2026-07-27 16:27:09] local.INFO: Processing buffer {"connection_id":145399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3342f30012d9cd70005b360f8002400092c..."} 
[2026-07-27 16:27:09] local.INFO: Packet analysis {"connection_id":145399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa334"} 
[2026-07-27 16:27:09] local.INFO: Extracted packet for processing {"connection_id":145399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa334"} 
[2026-07-27 16:27:09] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641848,"longitude_deg":76.5253376,"latitude_deg":9.5641848,"altitude":36,"angle":9,"satellites":44,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b360f8","is_valid_coordinates":true} 
[2026-07-27 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-07-27 16:27:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998203648001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:27:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359071309033897984,"note":"Value kept but may cause issues"} 
[2026-07-27 16:27:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315689472,"note":"Value kept but may cause issues"} 
[2026-07-27 16:27:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:27:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785149534000,"timestamp_ms":1785149534000,"timestamp_seconds":1785149534,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3342f30"} 
[2026-07-27 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-07-27 16:27:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-27 16:27:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 16:27:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:27:09] local.INFO: Teltonika packet parsed successfully {"connection_id":145399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:27:09] local.INFO: Passing IMEI to GPS processor {"connection_id":145399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:27:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":145399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:27:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:27:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:27:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:27:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998203648001,"66":25952,"226":206,"83":17408,"24":0,"16":359071309033897984,"45":-7145242259315689472},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-07-27 16:27:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:27:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:27:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998203648001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:27:09] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-27 16:27:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 16:27:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359071309033897984,"km_value":359071309033898.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:27:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315689472,"description":"Unknown IO ID 45"} 
[2026-07-27 16:27:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998203648001,"power":25952,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315689472}} 
[2026-07-27 16:27:09] local.INFO: DEBUG: GPS processor result {"connection_id":145399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:27:09] local.INFO: GPS data processed {"connection_id":145399,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:27:09] local.INFO: Acknowledgment sent {"connection_id":145399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:27:13] local.INFO: TCP Data received {"connection_id":143120,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143120,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:27:13] local.INFO: Processing buffer {"connection_id":143120,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:27:13] local.INFO: IMEI packet received {"connection_id":143120,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 16:27:13] local.INFO: IMEI acknowledgment sent {"connection_id":143120,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:27:14] local.INFO: TCP Data received {"connection_id":143120,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3377ed8012d7b060005e342f00009014c1d..."} 
[2026-07-27 16:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143120,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3377ed8012d7b060005e342f00009014c1d..."} 
[2026-07-27 16:27:14] local.INFO: Processing buffer {"connection_id":143120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3377ed8012d7b060005e342f00009014c1d..."} 
[2026-07-27 16:27:14] local.INFO: Packet analysis {"connection_id":143120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa337"} 
[2026-07-27 16:27:14] local.INFO: Extracted packet for processing {"connection_id":143120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa337"} 
[2026-07-27 16:27:14] local.INFO: GPS Element Parsed {"raw_longitude":763037184,"raw_latitude":98779888,"longitude_deg":76.3037184,"latitude_deg":9.8779888,"altitude":9,"angle":332,"satellites":29,"speed":15,"hex_longitude":"2d7b0600","hex_latitude":"05e342f0","is_valid_coordinates":true} 
[2026-07-27 16: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-07-27 16:27:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998334464001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:27:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111655513174835200,"note":"Value kept but may cause issues"} 
[2026-07-27 16:27:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865124785532753920,"note":"Value kept but may cause issues"} 
[2026-07-27 16:27:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:27:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785149751000,"timestamp_ms":1785149751000,"timestamp_seconds":1785149751,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3377ed8"} 
[2026-07-27 16:27:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:27:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-27 16:27: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-07-27 16: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-07-27 16:27:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:27:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:27:14] local.INFO: Teltonika packet parsed successfully {"connection_id":143120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:27:14] local.INFO: Passing IMEI to GPS processor {"connection_id":143120,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:27:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":143120,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:27:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:27:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 16:27:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 16:27:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998334464001,"66":12232,"97":206,"85":15104,"24":15,"16":111655513174835200,"45":8865124785532753920},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-27 16:27:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 16:27:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 16:27:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998334464001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:27:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-27 16:27:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 16:27:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111655513174835200,"km_value":111655513174835.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:27:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865124785532753920,"description":"Unknown IO ID 45"} 
[2026-07-27 16:27:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998334464001,"power":12232,"unknown_97":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":8865124785532753920}} 
[2026-07-27 16:27:14] local.INFO: DEBUG: GPS processor result {"connection_id":143120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554153,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:27:14] local.INFO: GPS data processed {"connection_id":143120,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:27:14] local.INFO: Acknowledgment sent {"connection_id":143120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:27:17] local.INFO: TCP Data received {"connection_id":145401,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145401,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:27:17] local.INFO: Processing buffer {"connection_id":145401,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:27:17] local.INFO: IMEI packet received {"connection_id":145401,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 16:27:17] local.INFO: IMEI acknowledgment sent {"connection_id":145401,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:27:21] local.INFO: TCP Data received {"connection_id":145401,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:27:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145401,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:27:21] local.INFO: Processing buffer {"connection_id":145401,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:27:21] local.INFO: IMEI packet received {"connection_id":145401,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 16:27:21] local.INFO: IMEI acknowledgment sent {"connection_id":145401,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:27:22] local.INFO: TCP Data received {"connection_id":145401,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fa33874f0012d0e65c0070631c8002800131e..."} 
[2026-07-27 16:27:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145401,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa33874f0012d0e65c0070631c8002800131e..."} 
[2026-07-27 16:27:22] local.INFO: Processing buffer {"connection_id":145401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa33874f0012d0e65c0070631c8002800131e..."} 
[2026-07-27 16:27:22] local.INFO: Packet analysis {"connection_id":145401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa338"} 
[2026-07-27 16:27:22] local.INFO: Extracted packet for processing {"connection_id":145401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa338"} 
[2026-07-27 16:27:22] local.INFO: GPS Element Parsed {"raw_longitude":755918272,"raw_latitude":117846472,"longitude_deg":75.5918272,"latitude_deg":11.7846472,"altitude":40,"angle":19,"satellites":30,"speed":14,"hex_longitude":"2d0e65c0","hex_latitude":"070631c8","is_valid_coordinates":true} 
[2026-07-27 16: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-07-27 16:27:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998352128001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:27:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25951051395891200,"note":"Value kept but may cause issues"} 
[2026-07-27 16:27:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1037376056835733504,"note":"Value kept but may cause issues"} 
[2026-07-27 16:27:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:27:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785149814000,"timestamp_ms":1785149814000,"timestamp_seconds":1785149814,"priority":1,"record_length":96,"hex_timestamp":"0000019fa33874f0"} 
[2026-07-27 16:27:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:27:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-27 16:27:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16: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-07-27 16:27:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:27:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:27:22] local.INFO: Teltonika packet parsed successfully {"connection_id":145401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:27:22] local.INFO: Passing IMEI to GPS processor {"connection_id":145401,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 16:27:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":145401,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 16:27:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:27:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 16:27:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 16:27:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998352128001,"66":14407,"165":206,"94":11008,"24":14,"16":25951051395891200,"45":1037376056835733504},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-07-27 16:27:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 16:27:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 16:27:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998352128001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:27:22] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-27 16:27:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-27 16:27:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25951051395891200,"km_value":25951051395891.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:27:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1037376056835733504,"description":"Unknown IO ID 45"} 
[2026-07-27 16:27:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998352128001,"power":14407,"unknown_165":206,"unknown_94":11008,"ignition":14,"odometer":null,"unknown_45":1037376056835733504}} 
[2026-07-27 16:27:22] local.INFO: DEBUG: GPS processor result {"connection_id":145401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554154,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:27:22] local.INFO: GPS data processed {"connection_id":145401,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:27:22] local.INFO: Acknowledgment sent {"connection_id":145401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:27:31] local.INFO: TCP Data received {"connection_id":142976,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:27:31] local.INFO: Processing buffer {"connection_id":142976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:27:31] local.INFO: IMEI packet received {"connection_id":142976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 16:27:31] local.INFO: IMEI acknowledgment sent {"connection_id":142976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:27:37] local.INFO: TCP Data received {"connection_id":142976,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:27:37] local.INFO: Processing buffer {"connection_id":142976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:27:37] local.INFO: IMEI packet received {"connection_id":142976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 16:27:37] local.INFO: IMEI acknowledgment sent {"connection_id":142976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:27:37] local.INFO: TCP Data received {"connection_id":142976,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3342f30012d9cd70005b360f8002400092c..."} 
[2026-07-27 16:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142976,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3342f30012d9cd70005b360f8002400092c..."} 
[2026-07-27 16:27:37] local.INFO: Processing buffer {"connection_id":142976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3342f30012d9cd70005b360f8002400092c..."} 
[2026-07-27 16:27:37] local.INFO: Packet analysis {"connection_id":142976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa334"} 
[2026-07-27 16:27:37] local.INFO: Extracted packet for processing {"connection_id":142976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa334"} 
[2026-07-27 16:27:37] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641848,"longitude_deg":76.5253376,"latitude_deg":9.5641848,"altitude":36,"angle":9,"satellites":44,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b360f8","is_valid_coordinates":true} 
[2026-07-27 16:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:27:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998203648001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:27:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359071309033897984,"note":"Value kept but may cause issues"} 
[2026-07-27 16:27:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315689472,"note":"Value kept but may cause issues"} 
[2026-07-27 16:27:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:27:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785149534000,"timestamp_ms":1785149534000,"timestamp_seconds":1785149534,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3342f30"} 
[2026-07-27 16:27:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:27:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 16:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-27 16:27:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:27:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:27:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:27:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:27:37] local.INFO: Teltonika packet parsed successfully {"connection_id":142976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:27:37] local.INFO: Passing IMEI to GPS processor {"connection_id":142976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:27:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":142976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:27:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:27:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:27:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:27:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998203648001,"66":25952,"226":206,"83":17408,"24":0,"16":359071309033897984,"45":-7145242259315689472},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-07-27 16:27:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:27:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:27:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998203648001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:27:37] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-27 16:27:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 16:27:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359071309033897984,"km_value":359071309033898.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:27:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315689472,"description":"Unknown IO ID 45"} 
[2026-07-27 16:27:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998203648001,"power":25952,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315689472}} 
[2026-07-27 16:27:38] local.INFO: DEBUG: GPS processor result {"connection_id":142976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:27:38] local.INFO: GPS data processed {"connection_id":142976,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:27:38] local.INFO: Acknowledgment sent {"connection_id":142976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:27:45] local.INFO: TCP Data received {"connection_id":143120,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa337b1a0012d7b048005e347f8000801651e..."} 
[2026-07-27 16:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143120,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa337b1a0012d7b048005e347f8000801651e..."} 
[2026-07-27 16:27:45] local.INFO: Processing buffer {"connection_id":143120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa337b1a0012d7b048005e347f8000801651e..."} 
[2026-07-27 16:27:45] local.INFO: Packet analysis {"connection_id":143120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa337"} 
[2026-07-27 16:27:45] local.INFO: Extracted packet for processing {"connection_id":143120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa337"} 
[2026-07-27 16:27:45] local.INFO: GPS Element Parsed {"raw_longitude":763036800,"raw_latitude":98781176,"longitude_deg":76.30368,"latitude_deg":9.8781176,"altitude":8,"angle":357,"satellites":30,"speed":7,"hex_longitude":"2d7b0480","hex_latitude":"05e347f8","is_valid_coordinates":true} 
[2026-07-27 16:27:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:27:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998336256001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:27:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111655581894311936,"note":"Value kept but may cause issues"} 
[2026-07-27 16:27:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864772941813051392,"note":"Value kept but may cause issues"} 
[2026-07-27 16:27:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:27:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785149764000,"timestamp_ms":1785149764000,"timestamp_seconds":1785149764,"priority":1,"record_length":96,"hex_timestamp":"0000019fa337b1a0"} 
[2026-07-27 16:27:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:27:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:27:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-27 16:27:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:27:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:27:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:27:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:27:45] local.INFO: Teltonika packet parsed successfully {"connection_id":143120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:27:45] local.INFO: Passing IMEI to GPS processor {"connection_id":143120,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:27:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":143120,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:27:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:27:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 16:27:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 16:27:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998336256001,"66":12874,"97":206,"85":15104,"24":7,"16":111655581894311936,"45":8864772941813051392},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-27 16:27:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 16:27:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 16:27:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998336256001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:27:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-27 16:27:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 16:27:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111655581894311936,"km_value":111655581894311.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:27:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864772941813051392,"description":"Unknown IO ID 45"} 
[2026-07-27 16:27:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998336256001,"power":12874,"unknown_97":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8864772941813051392}} 
[2026-07-27 16:27:45] local.INFO: DEBUG: GPS processor result {"connection_id":143120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554156,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:27:45] local.INFO: GPS data processed {"connection_id":143120,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:27:45] local.INFO: Acknowledgment sent {"connection_id":143120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:27:53] local.INFO: TCP Data received {"connection_id":145401,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3391518012d0e3480070644d00028015d1e..."} 
[2026-07-27 16:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145401,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3391518012d0e3480070644d00028015d1e..."} 
[2026-07-27 16:27:53] local.INFO: Processing buffer {"connection_id":145401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3391518012d0e3480070644d00028015d1e..."} 
[2026-07-27 16:27:53] local.INFO: Packet analysis {"connection_id":145401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa339"} 
[2026-07-27 16:27:53] local.INFO: Extracted packet for processing {"connection_id":145401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa339"} 
[2026-07-27 16:27:53] local.INFO: GPS Element Parsed {"raw_longitude":755905664,"raw_latitude":117851344,"longitude_deg":75.5905664,"latitude_deg":11.7851344,"altitude":40,"angle":349,"satellites":30,"speed":12,"hex_longitude":"2d0e3480","hex_latitude":"070644d0","is_valid_coordinates":true} 
[2026-07-27 16:27:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:27:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998362624001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:27:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25951798720200704,"note":"Value kept but may cause issues"} 
[2026-07-27 16:27:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1023724520466522112,"note":"Value kept but may cause issues"} 
[2026-07-27 16:27:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:27:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785149855000,"timestamp_ms":1785149855000,"timestamp_seconds":1785149855,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3391518"} 
[2026-07-27 16:27:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:27: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-07-27 16:27:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-27 16:27:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:27:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:27:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:27:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:27:53] local.INFO: Teltonika packet parsed successfully {"connection_id":145401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:27:53] local.INFO: Passing IMEI to GPS processor {"connection_id":145401,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 16:27:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":145401,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 16:27:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:27:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 16:27:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 16:27:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998362624001,"66":14407,"165":206,"94":11008,"24":12,"16":25951798720200704,"45":1023724520466522112},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-07-27 16:27:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 16:27:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 16:27:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998362624001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:27:53] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-27 16:27:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-27 16:27:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25951798720200704,"km_value":25951798720200.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:27:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1023724520466522112,"description":"Unknown IO ID 45"} 
[2026-07-27 16:27:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998362624001,"power":14407,"unknown_165":206,"unknown_94":11008,"ignition":12,"odometer":null,"unknown_45":1023724520466522112}} 
[2026-07-27 16:27:53] local.INFO: DEBUG: GPS processor result {"connection_id":145401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554157,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:27:53] local.INFO: GPS data processed {"connection_id":145401,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:27:53] local.INFO: Acknowledgment sent {"connection_id":145401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:28:05] local.INFO: TCP Data received {"connection_id":144112,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144112,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:28:05] local.INFO: Processing buffer {"connection_id":144112,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:28:05] local.INFO: IMEI packet received {"connection_id":144112,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 16:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":144112,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:28:09] local.INFO: TCP Data received {"connection_id":142976,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fa338c6f8012d9cd70005b360f80020000928..."} 
[2026-07-27 16:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142976,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa338c6f8012d9cd70005b360f80020000928..."} 
[2026-07-27 16:28:09] local.INFO: Processing buffer {"connection_id":142976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa338c6f8012d9cd70005b360f80020000928..."} 
[2026-07-27 16:28:09] local.INFO: Packet analysis {"connection_id":142976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa338"} 
[2026-07-27 16:28:09] local.INFO: Extracted packet for processing {"connection_id":142976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa338"} 
[2026-07-27 16:28:09] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641848,"longitude_deg":76.5253376,"latitude_deg":9.5641848,"altitude":32,"angle":9,"satellites":40,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b360f8","is_valid_coordinates":true} 
[2026-07-27 16:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:28:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998280704001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:28:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359071309033897984,"note":"Value kept but may cause issues"} 
[2026-07-27 16:28:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315689472,"note":"Value kept but may cause issues"} 
[2026-07-27 16:28:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:28:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785149835000,"timestamp_ms":1785149835000,"timestamp_seconds":1785149835,"priority":1,"record_length":96,"hex_timestamp":"0000019fa338c6f8"} 
[2026-07-27 16:28:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:28:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 16: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-27 16:28:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:28:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:28:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:28:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:28:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:28:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:28:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:28:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:28:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:28:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:28:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998280704001,"66":25897,"226":206,"83":17408,"24":0,"16":359071309033897984,"45":-7145242259315689472},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-07-27 16:28:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:28:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:28:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998280704001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:28:09] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-27 16:28:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 16:28:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359071309033897984,"km_value":359071309033898.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:28:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315689472,"description":"Unknown IO ID 45"} 
[2026-07-27 16:28:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998280704001,"power":25897,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315689472}} 
[2026-07-27 16:28:09] local.INFO: DEBUG: GPS processor result {"connection_id":142976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:28:09] local.INFO: GPS data processed {"connection_id":142976,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:28:09] local.INFO: Acknowledgment sent {"connection_id":142976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:28:10] local.INFO: TCP Data received {"connection_id":144112,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144112,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:28:10] local.INFO: Processing buffer {"connection_id":144112,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:28:10] local.INFO: IMEI packet received {"connection_id":144112,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 16:28:10] local.INFO: IMEI acknowledgment sent {"connection_id":144112,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:28:11] local.INFO: TCP Data received {"connection_id":144112,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3363e88012d1a6b800720c0f0003d00bb28..."} 
[2026-07-27 16:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144112,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3363e88012d1a6b800720c0f0003d00bb28..."} 
[2026-07-27 16:28:11] local.INFO: Processing buffer {"connection_id":144112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3363e88012d1a6b800720c0f0003d00bb28..."} 
[2026-07-27 16:28:11] local.INFO: Packet analysis {"connection_id":144112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa336"} 
[2026-07-27 16:28:11] local.INFO: Extracted packet for processing {"connection_id":144112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa336"} 
[2026-07-27 16:28:11] local.INFO: GPS Element Parsed {"raw_longitude":756706176,"raw_latitude":119587056,"longitude_deg":75.6706176,"latitude_deg":11.9587056,"altitude":61,"angle":187,"satellites":40,"speed":4,"hex_longitude":"2d1a6b80","hex_latitude":"0720c0f0","is_valid_coordinates":true} 
[2026-07-27 16:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:28:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998310400001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:28:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8897071998304256,"note":"Value kept but may cause issues"} 
[2026-07-27 16:28:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1903756035597053952,"note":"Value kept but may cause issues"} 
[2026-07-27 16:28:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:28:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785149669000,"timestamp_ms":1785149669000,"timestamp_seconds":1785149669,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3363e88"} 
[2026-07-27 16:28:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:28:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16: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":47,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-27 16:28:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1450,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:28:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:28:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:28:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:28:11] local.INFO: Teltonika packet parsed successfully {"connection_id":144112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:28:11] local.INFO: Passing IMEI to GPS processor {"connection_id":144112,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:28:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":144112,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:28:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:28:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 16:28:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 16:28:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998310400001,"66":12385,"121":206,"28":31744,"24":4,"16":8897071998304256,"45":1903756035597053952},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 16:28:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 16:28:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 16:28:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998310400001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:28:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 16:28:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 16:28:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8897071998304256,"km_value":8897071998304.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:28:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1903756035597053952,"description":"Unknown IO ID 45"} 
[2026-07-27 16:28:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998310400001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":4,"odometer":null,"unknown_45":1903756035597053952}} 
[2026-07-27 16:28:11] local.INFO: DEBUG: GPS processor result {"connection_id":144112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554159,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:28:11] local.INFO: GPS data processed {"connection_id":144112,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:28:11] local.INFO: Acknowledgment sent {"connection_id":144112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:28:17] local.INFO: TCP Data received {"connection_id":142978,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142978,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:28:17] local.INFO: Processing buffer {"connection_id":142978,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:28:17] local.INFO: IMEI packet received {"connection_id":142978,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 16:28:17] local.INFO: IMEI acknowledgment sent {"connection_id":142978,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:28:18] local.INFO: TCP Data received {"connection_id":142977,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142977,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:28:18] local.INFO: Processing buffer {"connection_id":142977,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:28:18] local.INFO: IMEI packet received {"connection_id":142977,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 16:28:18] local.INFO: IMEI acknowledgment sent {"connection_id":142977,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:28:18] local.INFO: TCP Data received {"connection_id":142977,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142977,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:28:18] local.INFO: Processing buffer {"connection_id":142977,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:28:18] local.INFO: IMEI packet received {"connection_id":142977,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 16:28:18] local.INFO: IMEI acknowledgment sent {"connection_id":142977,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:28:22] local.INFO: TCP Data received {"connection_id":142978,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:28:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142978,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:28:22] local.INFO: Processing buffer {"connection_id":142978,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:28:22] local.INFO: IMEI packet received {"connection_id":142978,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 16:28:22] local.INFO: IMEI acknowledgment sent {"connection_id":142978,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:28:23] local.INFO: TCP Data received {"connection_id":142978,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fa33924b8012d0e3380070649100028014c1e..."} 
[2026-07-27 16:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa33924b8012d0e3380070649100028014c1e..."} 
[2026-07-27 16:28:23] local.INFO: Processing buffer {"connection_id":142978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa33924b8012d0e3380070649100028014c1e..."} 
[2026-07-27 16:28:23] local.INFO: Packet analysis {"connection_id":142978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa339"} 
[2026-07-27 16:28:23] local.INFO: Extracted packet for processing {"connection_id":142978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa339"} 
[2026-07-27 16:28:23] local.INFO: GPS Element Parsed {"raw_longitude":755905408,"raw_latitude":117852432,"longitude_deg":75.5905408,"latitude_deg":11.7852432,"altitude":40,"angle":332,"satellites":30,"speed":6,"hex_longitude":"2d0e3380","hex_latitude":"07064910","is_valid_coordinates":true} 
[2026-07-27 16:28:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:28:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998362880001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:28:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25951854554775552,"note":"Value kept but may cause issues"} 
[2026-07-27 16:28:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1023583782978244608,"note":"Value kept but may cause issues"} 
[2026-07-27 16:28:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:28:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785149859000,"timestamp_ms":1785149859000,"timestamp_seconds":1785149859,"priority":1,"record_length":96,"hex_timestamp":"0000019fa33924b8"} 
[2026-07-27 16:28:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:28: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-07-27 16:28:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-27 16:28:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:28:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:28:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:28:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:28:23] local.INFO: Teltonika packet parsed successfully {"connection_id":142978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:28:23] local.INFO: Passing IMEI to GPS processor {"connection_id":142978,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 16:28:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":142978,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 16:28:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:28:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 16:28:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 16:28:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998362880001,"66":14396,"165":206,"94":11008,"24":6,"16":25951854554775552,"45":1023583782978244608},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-07-27 16:28:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 16:28:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 16:28:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998362880001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:28:23] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-27 16:28:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-27 16:28:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25951854554775552,"km_value":25951854554775.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:28:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1023583782978244608,"description":"Unknown IO ID 45"} 
[2026-07-27 16:28:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998362880001,"power":14396,"unknown_165":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":1023583782978244608}} 
[2026-07-27 16:28:23] local.INFO: DEBUG: GPS processor result {"connection_id":142978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554160,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:28:23] local.INFO: GPS data processed {"connection_id":142978,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:28:23] local.INFO: Acknowledgment sent {"connection_id":142978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:28:23] local.INFO: TCP Data received {"connection_id":142977,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142977,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:28:23] local.INFO: Processing buffer {"connection_id":142977,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:28:23] local.INFO: IMEI packet received {"connection_id":142977,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 16:28:23] local.INFO: IMEI acknowledgment sent {"connection_id":142977,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:28:24] local.INFO: TCP Data received {"connection_id":142977,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa337d8b0012d7b030005e350b00007015920..."} 
[2026-07-27 16:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142977,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa337d8b0012d7b030005e350b00007015920..."} 
[2026-07-27 16:28:24] local.INFO: Processing buffer {"connection_id":142977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa337d8b0012d7b030005e350b00007015920..."} 
[2026-07-27 16:28:24] local.INFO: Packet analysis {"connection_id":142977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa337"} 
[2026-07-27 16:28:24] local.INFO: Extracted packet for processing {"connection_id":142977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa337"} 
[2026-07-27 16:28:24] local.INFO: GPS Element Parsed {"raw_longitude":763036416,"raw_latitude":98783408,"longitude_deg":76.3036416,"latitude_deg":9.8783408,"altitude":7,"angle":345,"satellites":32,"speed":17,"hex_longitude":"2d7b0300","hex_latitude":"05e350b0","is_valid_coordinates":true} 
[2026-07-27 16:28:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:28:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998339584001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:28:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111655693563461632,"note":"Value kept but may cause issues"} 
[2026-07-27 16:28:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864350729348315136,"note":"Value kept but may cause issues"} 
[2026-07-27 16:28:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:28:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785149774000,"timestamp_ms":1785149774000,"timestamp_seconds":1785149774,"priority":1,"record_length":96,"hex_timestamp":"0000019fa337d8b0"} 
[2026-07-27 16:28:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:28:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:28:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-07-27 16:28:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1114,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:28:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:28:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:28:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:28:24] local.INFO: Teltonika packet parsed successfully {"connection_id":142977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:28:24] local.INFO: Passing IMEI to GPS processor {"connection_id":142977,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:28:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":142977,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:28:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:28:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 16:28:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 16:28:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998339584001,"66":12515,"97":206,"85":15104,"24":17,"16":111655693563461632,"45":8864350729348315136},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-27 16:28:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 16:28:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 16:28:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998339584001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:28:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-27 16:28:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 16:28:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111655693563461632,"km_value":111655693563461.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:28:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864350729348315136,"description":"Unknown IO ID 45"} 
[2026-07-27 16:28:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998339584001,"power":12515,"unknown_97":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":8864350729348315136}} 
[2026-07-27 16:28:24] local.INFO: DEBUG: GPS processor result {"connection_id":142977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554161,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:28:24] local.INFO: GPS data processed {"connection_id":142977,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:28:24] local.INFO: Acknowledgment sent {"connection_id":142977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:28:28] local.INFO: TCP Data received {"connection_id":142977,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3381730012d7af88005e373f8000701571f..."} 
[2026-07-27 16:28:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142977,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3381730012d7af88005e373f8000701571f..."} 
[2026-07-27 16:28:28] local.INFO: Processing buffer {"connection_id":142977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3381730012d7af88005e373f8000701571f..."} 
[2026-07-27 16:28:28] local.INFO: Packet analysis {"connection_id":142977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa338"} 
[2026-07-27 16:28:28] local.INFO: Extracted packet for processing {"connection_id":142977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa338"} 
[2026-07-27 16:28:28] local.INFO: GPS Element Parsed {"raw_longitude":763033728,"raw_latitude":98792440,"longitude_deg":76.3033728,"latitude_deg":9.879244,"altitude":7,"angle":343,"satellites":31,"speed":24,"hex_longitude":"2d7af880","hex_latitude":"05e373f8","is_valid_coordinates":true} 
[2026-07-27 16:28:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:28:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998342144001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:28:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111656153124962304,"note":"Value kept but may cause issues"} 
[2026-07-27 16:28:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8863928516883820544,"note":"Value kept but may cause issues"} 
[2026-07-27 16:28:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:28:28] local.INFO: AVL Record Parsed {"raw_timestamp":1785149790000,"timestamp_ms":1785149790000,"timestamp_seconds":1785149790,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3381730"} 
[2026-07-27 16:28:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:28:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:28:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-07-27 16:28:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:28:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:28:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:28:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:28:28] local.INFO: Teltonika packet parsed successfully {"connection_id":142977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:28:28] local.INFO: Passing IMEI to GPS processor {"connection_id":142977,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:28:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":142977,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:28:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:28:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 16:28:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 16:28:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998342144001,"66":12667,"97":206,"85":15104,"24":24,"16":111656153124962304,"45":8863928516883820544},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-27 16:28:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 16:28:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 16:28:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998342144001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:28:28] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-27 16:28:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 16:28:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111656153124962304,"km_value":111656153124962.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:28:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8863928516883820544,"description":"Unknown IO ID 45"} 
[2026-07-27 16:28:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998342144001,"power":12667,"unknown_97":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":8863928516883820544}} 
[2026-07-27 16:28:28] local.INFO: DEBUG: GPS processor result {"connection_id":142977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554162,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:28:28] local.INFO: GPS data processed {"connection_id":142977,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:28:28] local.INFO: Acknowledgment sent {"connection_id":142977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:28:37] local.INFO: TCP Data received {"connection_id":145402,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:28:37] local.INFO: Processing buffer {"connection_id":145402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:28:37] local.INFO: IMEI packet received {"connection_id":145402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 16:28:37] local.INFO: IMEI acknowledgment sent {"connection_id":145402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:28:42] local.INFO: TCP Data received {"connection_id":145402,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:28:42] local.INFO: Processing buffer {"connection_id":145402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:28:42] local.INFO: IMEI packet received {"connection_id":145402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 16:28:42] local.INFO: IMEI acknowledgment sent {"connection_id":145402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:28:42] local.INFO: TCP Data received {"connection_id":144112,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3368ca8012d1a6a800720bab0003d00b72a..."} 
[2026-07-27 16:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144112,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3368ca8012d1a6a800720bab0003d00b72a..."} 
[2026-07-27 16:28:42] local.INFO: Processing buffer {"connection_id":144112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3368ca8012d1a6a800720bab0003d00b72a..."} 
[2026-07-27 16:28:42] local.INFO: Packet analysis {"connection_id":144112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa336"} 
[2026-07-27 16:28:42] local.INFO: Extracted packet for processing {"connection_id":144112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa336"} 
[2026-07-27 16:28:42] local.INFO: GPS Element Parsed {"raw_longitude":756705920,"raw_latitude":119585456,"longitude_deg":75.670592,"latitude_deg":11.9585456,"altitude":61,"angle":183,"satellites":42,"speed":0,"hex_longitude":"2d1a6a80","hex_latitude":"0720bab0","is_valid_coordinates":true} 
[2026-07-27 16:28:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:28:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998315264001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:28:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8897153602682880,"note":"Value kept but may cause issues"} 
[2026-07-27 16:28:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1903756035596808192,"note":"Value kept but may cause issues"} 
[2026-07-27 16:28:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:28:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785149689000,"timestamp_ms":1785149689000,"timestamp_seconds":1785149689,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3368ca8"} 
[2026-07-27 16:28:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:28:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-27 16:28:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:28:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:28:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:28:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:28:42] local.INFO: Teltonika packet parsed successfully {"connection_id":144112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:28:42] local.INFO: Passing IMEI to GPS processor {"connection_id":144112,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:28:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":144112,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:28:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:28:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 16:28:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 16:28:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998315264001,"66":12341,"121":206,"28":31744,"24":0,"16":8897153602682880,"45":1903756035596808192},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 16:28:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 16:28:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 16:28:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998315264001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:28:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 16:28:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 16:28:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8897153602682880,"km_value":8897153602682.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:28:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1903756035596808192,"description":"Unknown IO ID 45"} 
[2026-07-27 16:28:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998315264001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1903756035596808192}} 
[2026-07-27 16:28:42] local.INFO: DEBUG: GPS processor result {"connection_id":144112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554163,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:28:42] local.INFO: GPS data processed {"connection_id":144112,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:28:42] local.INFO: Acknowledgment sent {"connection_id":144112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:28:42] local.INFO: TCP Data received {"connection_id":145402,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa338c6f8012d9cd70005b360f80020000928..."} 
[2026-07-27 16:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145402,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa338c6f8012d9cd70005b360f80020000928..."} 
[2026-07-27 16:28:42] local.INFO: Processing buffer {"connection_id":145402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa338c6f8012d9cd70005b360f80020000928..."} 
[2026-07-27 16:28:42] local.INFO: Packet analysis {"connection_id":145402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa338"} 
[2026-07-27 16:28:42] local.INFO: Extracted packet for processing {"connection_id":145402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa338"} 
[2026-07-27 16:28:42] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641848,"longitude_deg":76.5253376,"latitude_deg":9.5641848,"altitude":32,"angle":9,"satellites":40,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b360f8","is_valid_coordinates":true} 
[2026-07-27 16:28:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:28:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998280704001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:28:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359071309033897984,"note":"Value kept but may cause issues"} 
[2026-07-27 16:28:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315689472,"note":"Value kept but may cause issues"} 
[2026-07-27 16:28:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:28:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785149835000,"timestamp_ms":1785149835000,"timestamp_seconds":1785149835,"priority":1,"record_length":96,"hex_timestamp":"0000019fa338c6f8"} 
[2026-07-27 16:28:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:28:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 16: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-27 16:28:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:28:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:28:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:28:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:28:42] local.INFO: Teltonika packet parsed successfully {"connection_id":145402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:28:42] local.INFO: Passing IMEI to GPS processor {"connection_id":145402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:28:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":145402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:28:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:28:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:28:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:28:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998280704001,"66":25897,"226":206,"83":17408,"24":0,"16":359071309033897984,"45":-7145242259315689472},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-07-27 16:28:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:28:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:28:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998280704001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:28:42] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-27 16:28:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 16:28:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359071309033897984,"km_value":359071309033898.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:28:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315689472,"description":"Unknown IO ID 45"} 
[2026-07-27 16:28:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998280704001,"power":25897,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315689472}} 
[2026-07-27 16:28:43] local.INFO: DEBUG: GPS processor result {"connection_id":145402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:28:43] local.INFO: GPS data processed {"connection_id":145402,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:28:43] local.INFO: Acknowledgment sent {"connection_id":145402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:28:47] local.INFO: TCP Data received {"connection_id":145402,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa338c6f8012d9cd70005b360f80020000928..."} 
[2026-07-27 16:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145402,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa338c6f8012d9cd70005b360f80020000928..."} 
[2026-07-27 16:28:47] local.INFO: Processing buffer {"connection_id":145402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa338c6f8012d9cd70005b360f80020000928..."} 
[2026-07-27 16:28:47] local.INFO: Packet analysis {"connection_id":145402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa338"} 
[2026-07-27 16:28:47] local.INFO: Extracted packet for processing {"connection_id":145402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa338"} 
[2026-07-27 16:28:47] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641848,"longitude_deg":76.5253376,"latitude_deg":9.5641848,"altitude":32,"angle":9,"satellites":40,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b360f8","is_valid_coordinates":true} 
[2026-07-27 16:28:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:28:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998280704001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:28:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359071309033897984,"note":"Value kept but may cause issues"} 
[2026-07-27 16:28:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315689472,"note":"Value kept but may cause issues"} 
[2026-07-27 16:28:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:28:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785149835000,"timestamp_ms":1785149835000,"timestamp_seconds":1785149835,"priority":1,"record_length":96,"hex_timestamp":"0000019fa338c6f8"} 
[2026-07-27 16:28:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:28:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 16:28:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-27 16:28:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:28:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:28:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:28:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:28:47] local.INFO: Teltonika packet parsed successfully {"connection_id":145402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:28:47] local.INFO: Passing IMEI to GPS processor {"connection_id":145402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:28:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":145402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:28:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:28:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:28:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:28:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998280704001,"66":25897,"226":206,"83":17408,"24":0,"16":359071309033897984,"45":-7145242259315689472},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-07-27 16:28:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:28:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:28:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998280704001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:28:47] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-27 16:28:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 16:28:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359071309033897984,"km_value":359071309033898.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:28:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315689472,"description":"Unknown IO ID 45"} 
[2026-07-27 16:28:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998280704001,"power":25897,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315689472}} 
[2026-07-27 16:28:47] local.INFO: DEBUG: GPS processor result {"connection_id":145402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:28:47] local.INFO: GPS data processed {"connection_id":145402,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:28:47] local.INFO: Acknowledgment sent {"connection_id":145402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:28:53] local.INFO: TCP Data received {"connection_id":142978,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fa339f3c0012d0e30c0070668000026012b1f..."} 
[2026-07-27 16:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa339f3c0012d0e30c0070668000026012b1f..."} 
[2026-07-27 16:28:53] local.INFO: Processing buffer {"connection_id":142978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa339f3c0012d0e30c0070668000026012b1f..."} 
[2026-07-27 16:28:53] local.INFO: Packet analysis {"connection_id":142978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa339"} 
[2026-07-27 16:28:53] local.INFO: Extracted packet for processing {"connection_id":142978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa339"} 
[2026-07-27 16:28:53] local.INFO: GPS Element Parsed {"raw_longitude":755904704,"raw_latitude":117860352,"longitude_deg":75.5904704,"latitude_deg":11.7860352,"altitude":38,"angle":299,"satellites":31,"speed":4,"hex_longitude":"2d0e30c0","hex_latitude":"07066800","is_valid_coordinates":true} 
[2026-07-27 16:28:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:28:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998377216001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:28:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25952266871635968,"note":"Value kept but may cause issues"} 
[2026-07-27 16:28:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1022668989306228736,"note":"Value kept but may cause issues"} 
[2026-07-27 16:28:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:28:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785149912000,"timestamp_ms":1785149912000,"timestamp_seconds":1785149912,"priority":1,"record_length":96,"hex_timestamp":"0000019fa339f3c0"} 
[2026-07-27 16:28:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:28: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-07-27 16:28: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":92,"data_length":795,"current_offset":136} 
[2026-07-27 16:28:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:28:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:28:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:28:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:28:53] local.INFO: Teltonika packet parsed successfully {"connection_id":142978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:28:53] local.INFO: Passing IMEI to GPS processor {"connection_id":142978,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 16:28:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":142978,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 16:28:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:28:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 16:28:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 16:28:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998377216001,"66":14428,"165":206,"94":11008,"24":4,"16":25952266871635968,"45":1022668989306228736},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-07-27 16:28:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 16:28:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 16:28:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998377216001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:28:53] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-27 16:28:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-27 16:28:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25952266871635968,"km_value":25952266871635.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:28:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1022668989306228736,"description":"Unknown IO ID 45"} 
[2026-07-27 16:28:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998377216001,"power":14428,"unknown_165":206,"unknown_94":11008,"ignition":4,"odometer":null,"unknown_45":1022668989306228736}} 
[2026-07-27 16:28:54] local.INFO: DEBUG: GPS processor result {"connection_id":142978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554166,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:28:54] local.INFO: GPS data processed {"connection_id":142978,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:28:54] local.INFO: Acknowledgment sent {"connection_id":142978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:28:59] local.INFO: TCP Data received {"connection_id":143121,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143121,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:28:59] local.INFO: Processing buffer {"connection_id":143121,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:28:59] local.INFO: IMEI packet received {"connection_id":143121,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 16:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":143121,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:29:05] local.INFO: TCP Data received {"connection_id":143121,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143121,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:29:05] local.INFO: Processing buffer {"connection_id":143121,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:29:05] local.INFO: IMEI packet received {"connection_id":143121,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 16:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":143121,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:29:06] local.INFO: TCP Data received {"connection_id":143121,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa336deb0012d1a6a800720bab0003d00b727..."} 
[2026-07-27 16:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa336deb0012d1a6a800720bab0003d00b727..."} 
[2026-07-27 16:29:06] local.INFO: Processing buffer {"connection_id":143121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa336deb0012d1a6a800720bab0003d00b727..."} 
[2026-07-27 16:29:06] local.INFO: Packet analysis {"connection_id":143121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa336"} 
[2026-07-27 16:29:06] local.INFO: Extracted packet for processing {"connection_id":143121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa336"} 
[2026-07-27 16:29:06] local.INFO: GPS Element Parsed {"raw_longitude":756705920,"raw_latitude":119585456,"longitude_deg":75.670592,"latitude_deg":11.9585456,"altitude":61,"angle":183,"satellites":39,"speed":0,"hex_longitude":"2d1a6a80","hex_latitude":"0720bab0","is_valid_coordinates":true} 
[2026-07-27 16:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:29:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998320384001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:29:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8897153602682880,"note":"Value kept but may cause issues"} 
[2026-07-27 16:29:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1903474560619687936,"note":"Value kept but may cause issues"} 
[2026-07-27 16:29:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:29:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785149710000,"timestamp_ms":1785149710000,"timestamp_seconds":1785149710,"priority":1,"record_length":96,"hex_timestamp":"0000019fa336deb0"} 
[2026-07-27 16:29:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:29:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 16:29:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:29:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:29:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:29:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:29:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:29:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143121,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:29:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143121,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:29:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:29:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 16:29:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 16:29:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998320384001,"66":12287,"121":206,"28":31744,"24":0,"16":8897153602682880,"45":1903474560619687936},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 16:29:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 16:29:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 16:29:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998320384001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:29:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 16:29:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 16:29:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8897153602682880,"km_value":8897153602682.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:29:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1903474560619687936,"description":"Unknown IO ID 45"} 
[2026-07-27 16:29:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998320384001,"power":12287,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1903474560619687936}} 
[2026-07-27 16:29:06] local.INFO: DEBUG: GPS processor result {"connection_id":143121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554167,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:29:06] local.INFO: GPS data processed {"connection_id":143121,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:29:06] local.INFO: Acknowledgment sent {"connection_id":143121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:29:07] local.INFO: TCP Data received {"connection_id":145403,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145403,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:29:07] local.INFO: Processing buffer {"connection_id":145403,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:29:07] local.INFO: IMEI packet received {"connection_id":145403,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 16:29:07] local.INFO: IMEI acknowledgment sent {"connection_id":145403,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:29:12] local.INFO: TCP Data received {"connection_id":145403,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145403,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:29:12] local.INFO: Processing buffer {"connection_id":145403,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:29:12] local.INFO: IMEI packet received {"connection_id":145403,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 16:29:12] local.INFO: IMEI acknowledgment sent {"connection_id":145403,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:29:14] local.INFO: TCP Data received {"connection_id":145403,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa339fb90012d7acc8005e40dd80004014e1f..."} 
[2026-07-27 16:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa339fb90012d7acc8005e40dd80004014e1f..."} 
[2026-07-27 16:29:14] local.INFO: Processing buffer {"connection_id":145403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa339fb90012d7acc8005e40dd80004014e1f..."} 
[2026-07-27 16:29:14] local.INFO: Packet analysis {"connection_id":145403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa339"} 
[2026-07-27 16:29:14] local.INFO: Extracted packet for processing {"connection_id":145403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa339"} 
[2026-07-27 16:29:14] local.INFO: GPS Element Parsed {"raw_longitude":763022464,"raw_latitude":98831832,"longitude_deg":76.3022464,"latitude_deg":9.8831832,"altitude":4,"angle":334,"satellites":31,"speed":11,"hex_longitude":"2d7acc80","hex_latitude":"05e40dd8","is_valid_coordinates":true} 
[2026-07-27 16:29:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:29:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998376960001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:29:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111658150284754944,"note":"Value kept but may cause issues"} 
[2026-07-27 16:29:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8849362186850918400,"note":"Value kept but may cause issues"} 
[2026-07-27 16:29:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:29:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785149914000,"timestamp_ms":1785149914000,"timestamp_seconds":1785149914,"priority":1,"record_length":96,"hex_timestamp":"0000019fa339fb90"} 
[2026-07-27 16:29:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:29:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:29:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-07-27 16:29:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1162,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:29:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:29:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:29:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:29:14] local.INFO: Teltonika packet parsed successfully {"connection_id":145403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:29:14] local.INFO: Passing IMEI to GPS processor {"connection_id":145403,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:29:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":145403,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:29:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:29:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 16:29:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 16:29:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998376960001,"66":11917,"97":206,"85":15104,"24":11,"16":111658150284754944,"45":8849362186850918400},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-27 16:29:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 16:29:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 16:29:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998376960001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:29:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-27 16:29:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 16:29:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111658150284754944,"km_value":111658150284754.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:29:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8849362186850918400,"description":"Unknown IO ID 45"} 
[2026-07-27 16:29:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998376960001,"power":11917,"unknown_97":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":8849362186850918400}} 
[2026-07-27 16:29:14] local.INFO: DEBUG: GPS processor result {"connection_id":145403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554168,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:29:14] local.INFO: GPS data processed {"connection_id":145403,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:29:14] local.INFO: Acknowledgment sent {"connection_id":145403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:29:22] local.INFO: TCP Data received {"connection_id":145404,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:29:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145404,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:29:22] local.INFO: Processing buffer {"connection_id":145404,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:29:22] local.INFO: IMEI packet received {"connection_id":145404,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 16:29:22] local.INFO: IMEI acknowledgment sent {"connection_id":145404,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:29:25] local.INFO: TCP Data received {"connection_id":145404,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145404,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:29:25] local.INFO: Processing buffer {"connection_id":145404,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:29:25] local.INFO: IMEI packet received {"connection_id":145404,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 16:29:25] local.INFO: IMEI acknowledgment sent {"connection_id":145404,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:29:26] local.INFO: TCP Data received {"connection_id":145404,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145404,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:29:26] local.INFO: Processing buffer {"connection_id":145404,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:29:26] local.INFO: IMEI packet received {"connection_id":145404,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 16:29:26] local.INFO: IMEI acknowledgment sent {"connection_id":145404,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:29:27] local.INFO: TCP Data received {"connection_id":145404,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fa339f7a8012d0e308007066820002601101f..."} 
[2026-07-27 16:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145404,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa339f7a8012d0e308007066820002601101f..."} 
[2026-07-27 16:29:27] local.INFO: Processing buffer {"connection_id":145404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa339f7a8012d0e308007066820002601101f..."} 
[2026-07-27 16:29:27] local.INFO: Packet analysis {"connection_id":145404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa339"} 
[2026-07-27 16:29:27] local.INFO: Extracted packet for processing {"connection_id":145404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa339"} 
[2026-07-27 16:29:27] local.INFO: GPS Element Parsed {"raw_longitude":755904640,"raw_latitude":117860384,"longitude_deg":75.590464,"latitude_deg":11.7860384,"altitude":38,"angle":272,"satellites":31,"speed":4,"hex_longitude":"2d0e3080","hex_latitude":"07066820","is_valid_coordinates":true} 
[2026-07-27 16:29:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:29:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998377472001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:29:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25952271166603264,"note":"Value kept but may cause issues"} 
[2026-07-27 16:29:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1022528251817885696,"note":"Value kept but may cause issues"} 
[2026-07-27 16:29:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:29:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785149913000,"timestamp_ms":1785149913000,"timestamp_seconds":1785149913,"priority":1,"record_length":96,"hex_timestamp":"0000019fa339f7a8"} 
[2026-07-27 16:29:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:29:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:29:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-27 16:29:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:29:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:29:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:29:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:29:27] local.INFO: Teltonika packet parsed successfully {"connection_id":145404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:29:27] local.INFO: Passing IMEI to GPS processor {"connection_id":145404,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 16:29:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":145404,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 16:29:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:29:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 16:29:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 16:29:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998377472001,"66":14265,"165":206,"94":11008,"24":4,"16":25952271166603264,"45":1022528251817885696},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-07-27 16:29:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 16:29:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 16:29:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998377472001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:29:27] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-27 16:29:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-27 16:29:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25952271166603264,"km_value":25952271166603.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:29:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1022528251817885696,"description":"Unknown IO ID 45"} 
[2026-07-27 16:29:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998377472001,"power":14265,"unknown_165":206,"unknown_94":11008,"ignition":4,"odometer":null,"unknown_45":1022528251817885696}} 
[2026-07-27 16:29:27] local.INFO: DEBUG: GPS processor result {"connection_id":145404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554169,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:29:27] local.INFO: GPS data processed {"connection_id":145404,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:29:27] local.INFO: Acknowledgment sent {"connection_id":145404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:29:32] local.INFO: TCP Data received {"connection_id":144113,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:29:32] local.INFO: Processing buffer {"connection_id":144113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:29:32] local.INFO: IMEI packet received {"connection_id":144113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 16:29:32] local.INFO: IMEI acknowledgment sent {"connection_id":144113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:29:37] local.INFO: TCP Data received {"connection_id":144113,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:29:37] local.INFO: Processing buffer {"connection_id":144113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:29:37] local.INFO: IMEI packet received {"connection_id":144113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 16:29:37] local.INFO: IMEI acknowledgment sent {"connection_id":144113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:29:38] local.INFO: TCP Data received {"connection_id":144113,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa338c6f8012d9cd70005b360f80020000928..."} 
[2026-07-27 16:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144113,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa338c6f8012d9cd70005b360f80020000928..."} 
[2026-07-27 16:29:38] local.INFO: Processing buffer {"connection_id":144113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa338c6f8012d9cd70005b360f80020000928..."} 
[2026-07-27 16:29:38] local.INFO: Packet analysis {"connection_id":144113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa338"} 
[2026-07-27 16:29:38] local.INFO: Extracted packet for processing {"connection_id":144113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa338"} 
[2026-07-27 16:29:38] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641848,"longitude_deg":76.5253376,"latitude_deg":9.5641848,"altitude":32,"angle":9,"satellites":40,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b360f8","is_valid_coordinates":true} 
[2026-07-27 16:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:29:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998280704001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:29:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359071309033897984,"note":"Value kept but may cause issues"} 
[2026-07-27 16:29:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315689472,"note":"Value kept but may cause issues"} 
[2026-07-27 16:29:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:29:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785149835000,"timestamp_ms":1785149835000,"timestamp_seconds":1785149835,"priority":1,"record_length":96,"hex_timestamp":"0000019fa338c6f8"} 
[2026-07-27 16:29:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:29:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 16:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-27 16:29:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:29:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:29:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:29:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:29:38] local.INFO: TCP Data received {"connection_id":143121,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa33730b8012d1a6a800720bab0003d00b72b..."} 
[2026-07-27 16:29:38] local.INFO: Teltonika packet parsed successfully {"connection_id":144113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:29:38] local.INFO: Passing IMEI to GPS processor {"connection_id":144113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:29:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":144113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:29:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:29:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:29:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:29:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998280704001,"66":25897,"226":206,"83":17408,"24":0,"16":359071309033897984,"45":-7145242259315689472},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-07-27 16:29:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:29:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:29:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998280704001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:29:38] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-27 16:29:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 16:29:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359071309033897984,"km_value":359071309033898.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:29:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315689472,"description":"Unknown IO ID 45"} 
[2026-07-27 16:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa33730b8012d1a6a800720bab0003d00b72b..."} 
[2026-07-27 16:29:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998280704001,"power":25897,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315689472}} 
[2026-07-27 16:29:38] local.INFO: Processing buffer {"connection_id":143121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa33730b8012d1a6a800720bab0003d00b72b..."} 
[2026-07-27 16:29:38] local.INFO: Packet analysis {"connection_id":143121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa337"} 
[2026-07-27 16:29:38] local.INFO: Extracted packet for processing {"connection_id":143121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa337"} 
[2026-07-27 16:29:38] local.INFO: GPS Element Parsed {"raw_longitude":756705920,"raw_latitude":119585456,"longitude_deg":75.670592,"latitude_deg":11.9585456,"altitude":61,"angle":183,"satellites":43,"speed":0,"hex_longitude":"2d1a6a80","hex_latitude":"0720bab0","is_valid_coordinates":true} 
[2026-07-27 16:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:29:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998325760001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:29:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8897153602682880,"note":"Value kept but may cause issues"} 
[2026-07-27 16:29:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1903474560619687936,"note":"Value kept but may cause issues"} 
[2026-07-27 16:29:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:29:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785149731000,"timestamp_ms":1785149731000,"timestamp_seconds":1785149731,"priority":1,"record_length":96,"hex_timestamp":"0000019fa33730b8"} 
[2026-07-27 16:29:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:29:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-27 16:29:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:29:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:29:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:29:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:29:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:29:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143121,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:29:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143121,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:29:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:29:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 16:29:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 16:29:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998325760001,"66":12232,"121":206,"28":31744,"24":0,"16":8897153602682880,"45":1903474560619687936},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 16:29:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 16:29:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 16:29:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998325760001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:29:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 16:29:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 16:29:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8897153602682880,"km_value":8897153602682.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:29:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1903474560619687936,"description":"Unknown IO ID 45"} 
[2026-07-27 16:29:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998325760001,"power":12232,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1903474560619687936}} 
[2026-07-27 16:29:38] local.INFO: DEBUG: GPS processor result {"connection_id":144113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:29:38] local.INFO: GPS data processed {"connection_id":144113,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:29:38] local.INFO: Acknowledgment sent {"connection_id":144113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:29:38] local.INFO: DEBUG: GPS processor result {"connection_id":143121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554171,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:29:38] local.INFO: GPS data processed {"connection_id":143121,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:29:38] local.INFO: Acknowledgment sent {"connection_id":143121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:29:45] local.INFO: TCP Data received {"connection_id":145403,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa33a3240012d7ac98005e410d80006010722..."} 
[2026-07-27 16:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa33a3240012d7ac98005e410d80006010722..."} 
[2026-07-27 16:29:45] local.INFO: Processing buffer {"connection_id":145403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa33a3240012d7ac98005e410d80006010722..."} 
[2026-07-27 16:29:45] local.INFO: Packet analysis {"connection_id":145403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa33a"} 
[2026-07-27 16:29:45] local.INFO: Extracted packet for processing {"connection_id":145403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa33a"} 
[2026-07-27 16:29:45] local.INFO: GPS Element Parsed {"raw_longitude":763021696,"raw_latitude":98832600,"longitude_deg":76.3021696,"latitude_deg":9.88326,"altitude":6,"angle":263,"satellites":34,"speed":6,"hex_longitude":"2d7ac980","hex_latitude":"05e410d8","is_valid_coordinates":true} 
[2026-07-27 16:29:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:29:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998377984001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:29:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111658210414297088,"note":"Value kept but may cause issues"} 
[2026-07-27 16:29:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848588130665486336,"note":"Value kept but may cause issues"} 
[2026-07-27 16:29:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:29:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785149928000,"timestamp_ms":1785149928000,"timestamp_seconds":1785149928,"priority":1,"record_length":96,"hex_timestamp":"0000019fa33a3240"} 
[2026-07-27 16:29:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:29:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:29:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-27 16:29:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1697,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:29:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:29:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:29:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:29:45] local.INFO: Teltonika packet parsed successfully {"connection_id":145403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:29:45] local.INFO: Passing IMEI to GPS processor {"connection_id":145403,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:29:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":145403,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:29:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:29:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 16:29:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 16:29:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998377984001,"66":12743,"97":206,"85":15104,"24":6,"16":111658210414297088,"45":8848588130665486336},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-27 16:29:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 16:29:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 16:29:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998377984001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:29:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-27 16:29:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 16:29:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111658210414297088,"km_value":111658210414297.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:29:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848588130665486336,"description":"Unknown IO ID 45"} 
[2026-07-27 16:29:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998377984001,"power":12743,"unknown_97":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8848588130665486336}} 
[2026-07-27 16:29:45] local.INFO: DEBUG: GPS processor result {"connection_id":145403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554172,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:29:45] local.INFO: GPS data processed {"connection_id":145403,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:29:45] local.INFO: Acknowledgment sent {"connection_id":145403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:29:58] local.INFO: TCP Data received {"connection_id":145404,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fa33b2c40012d0e0bc0070685d80020011620..."} 
[2026-07-27 16:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145404,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa33b2c40012d0e0bc0070685d80020011620..."} 
[2026-07-27 16:29:58] local.INFO: Processing buffer {"connection_id":145404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa33b2c40012d0e0bc0070685d80020011620..."} 
[2026-07-27 16:29:58] local.INFO: Packet analysis {"connection_id":145404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa33b"} 
[2026-07-27 16:29:58] local.INFO: Extracted packet for processing {"connection_id":145404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa33b"} 
[2026-07-27 16:29:58] local.INFO: GPS Element Parsed {"raw_longitude":755895232,"raw_latitude":117867992,"longitude_deg":75.5895232,"latitude_deg":11.7867992,"altitude":32,"angle":278,"satellites":32,"speed":5,"hex_longitude":"2d0e0bc0","hex_latitude":"070685d8","is_valid_coordinates":true} 
[2026-07-27 16:29:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:29:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998395648001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:29:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25952962656337920,"note":"Value kept but may cause issues"} 
[2026-07-27 16:29:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1012958102611679232,"note":"Value kept but may cause issues"} 
[2026-07-27 16:29:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:29:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785149992000,"timestamp_ms":1785149992000,"timestamp_seconds":1785149992,"priority":1,"record_length":96,"hex_timestamp":"0000019fa33b2c40"} 
[2026-07-27 16:29:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:29:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:29:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-27 16:29:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:29:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:29:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:29:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:29:58] local.INFO: Teltonika packet parsed successfully {"connection_id":145404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:29:58] local.INFO: Passing IMEI to GPS processor {"connection_id":145404,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 16:29:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":145404,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 16:29:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:29:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 16:29:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 16:29:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998395648001,"66":14450,"219":206,"94":10240,"24":5,"16":25952962656337920,"45":1012958102611679232},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-27 16:29:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 16:29:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 16:29:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998395648001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:29:58] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-27 16:29:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 16:29:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25952962656337920,"km_value":25952962656337.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:29:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1012958102611679232,"description":"Unknown IO ID 45"} 
[2026-07-27 16:29:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998395648001,"power":14450,"unknown_219":206,"unknown_94":10240,"ignition":5,"odometer":null,"unknown_45":1012958102611679232}} 
[2026-07-27 16:29:58] local.INFO: DEBUG: GPS processor result {"connection_id":145404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554173,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:29:58] local.INFO: GPS data processed {"connection_id":145404,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:29:58] local.INFO: Acknowledgment sent {"connection_id":145404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:29:59] local.INFO: TCP Data received {"connection_id":143122,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143122,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:29:59] local.INFO: Processing buffer {"connection_id":143122,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:29:59] local.INFO: IMEI packet received {"connection_id":143122,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 16:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":143122,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:30:00] local.INFO: TCP Data received {"connection_id":143122,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143122,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:30:00] local.INFO: Processing buffer {"connection_id":143122,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:30:00] local.INFO: IMEI packet received {"connection_id":143122,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 16:30:00] local.INFO: IMEI acknowledgment sent {"connection_id":143122,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:30:05] local.INFO: TCP Data received {"connection_id":143122,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143122,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:30:05] local.INFO: Processing buffer {"connection_id":143122,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:30:05] local.INFO: IMEI packet received {"connection_id":143122,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 16:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":143122,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:30:06] local.INFO: TCP Data received {"connection_id":143122,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa33782c0012d1a6a800720bab0003d00b72b..."} 
[2026-07-27 16:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143122,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa33782c0012d1a6a800720bab0003d00b72b..."} 
[2026-07-27 16:30:06] local.INFO: Processing buffer {"connection_id":143122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa33782c0012d1a6a800720bab0003d00b72b..."} 
[2026-07-27 16:30:06] local.INFO: Packet analysis {"connection_id":143122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa337"} 
[2026-07-27 16:30:06] local.INFO: Extracted packet for processing {"connection_id":143122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa337"} 
[2026-07-27 16:30:06] local.INFO: GPS Element Parsed {"raw_longitude":756705920,"raw_latitude":119585456,"longitude_deg":75.670592,"latitude_deg":11.9585456,"altitude":61,"angle":183,"satellites":43,"speed":0,"hex_longitude":"2d1a6a80","hex_latitude":"0720bab0","is_valid_coordinates":true} 
[2026-07-27 16:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:30:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998331136001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:30:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8897153602682880,"note":"Value kept but may cause issues"} 
[2026-07-27 16:30:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1903474560619687936,"note":"Value kept but may cause issues"} 
[2026-07-27 16:30:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:30:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785149752000,"timestamp_ms":1785149752000,"timestamp_seconds":1785149752,"priority":1,"record_length":96,"hex_timestamp":"0000019fa33782c0"} 
[2026-07-27 16:30:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:30:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-27 16:30:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:30:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:30:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:30:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:30:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:30:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:30:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:30:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:30:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 16:30:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 16:30:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998331136001,"66":12254,"70":206,"28":31744,"24":0,"16":8897153602682880,"45":1903474560619687936},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-27 16:30:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 16:30:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 16:30:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998331136001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:30:06] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-27 16:30:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 16:30:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8897153602682880,"km_value":8897153602682.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:30:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1903474560619687936,"description":"Unknown IO ID 45"} 
[2026-07-27 16:30:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998331136001,"power":12254,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1903474560619687936}} 
[2026-07-27 16:30:06] local.INFO: DEBUG: GPS processor result {"connection_id":143122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554174,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:30:06] local.INFO: GPS data processed {"connection_id":143122,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:30:06] local.INFO: Acknowledgment sent {"connection_id":143122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:30:07] local.INFO: TCP Data received {"connection_id":144114,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144114,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:30:07] local.INFO: Processing buffer {"connection_id":144114,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:30:07] local.INFO: IMEI packet received {"connection_id":144114,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 16:30:07] local.INFO: IMEI acknowledgment sent {"connection_id":144114,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:30:09] local.INFO: TCP Data received {"connection_id":144113,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa338c6f8012d9cd70005b360f80020000928..."} 
[2026-07-27 16:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144113,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa338c6f8012d9cd70005b360f80020000928..."} 
[2026-07-27 16:30:09] local.INFO: Processing buffer {"connection_id":144113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa338c6f8012d9cd70005b360f80020000928..."} 
[2026-07-27 16:30:09] local.INFO: Packet analysis {"connection_id":144113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa338"} 
[2026-07-27 16:30:09] local.INFO: Extracted packet for processing {"connection_id":144113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa338"} 
[2026-07-27 16:30:09] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641848,"longitude_deg":76.5253376,"latitude_deg":9.5641848,"altitude":32,"angle":9,"satellites":40,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b360f8","is_valid_coordinates":true} 
[2026-07-27 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-07-27 16:30:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998280704001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:30:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359071309033897984,"note":"Value kept but may cause issues"} 
[2026-07-27 16:30:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315689472,"note":"Value kept but may cause issues"} 
[2026-07-27 16:30:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:30:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785149835000,"timestamp_ms":1785149835000,"timestamp_seconds":1785149835,"priority":1,"record_length":96,"hex_timestamp":"0000019fa338c6f8"} 
[2026-07-27 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-07-27 16:30:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-27 16:30:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 16:30:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:30:09] local.INFO: Teltonika packet parsed successfully {"connection_id":144113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:30:09] local.INFO: Passing IMEI to GPS processor {"connection_id":144113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:30:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":144113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:30:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:30:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:30:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:30:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998280704001,"66":25897,"226":206,"83":17408,"24":0,"16":359071309033897984,"45":-7145242259315689472},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-07-27 16:30:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:30:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:30:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998280704001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:30:09] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-27 16:30:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 16:30:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359071309033897984,"km_value":359071309033898.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:30:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315689472,"description":"Unknown IO ID 45"} 
[2026-07-27 16:30:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998280704001,"power":25897,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315689472}} 
[2026-07-27 16:30:09] local.INFO: DEBUG: GPS processor result {"connection_id":144113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:30:09] local.INFO: GPS data processed {"connection_id":144113,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:30:09] local.INFO: Acknowledgment sent {"connection_id":144113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:30:12] local.INFO: TCP Data received {"connection_id":144114,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144114,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:30:12] local.INFO: Processing buffer {"connection_id":144114,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:30:12] local.INFO: IMEI packet received {"connection_id":144114,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 16:30:12] local.INFO: IMEI acknowledgment sent {"connection_id":144114,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:30:14] local.INFO: TCP Data received {"connection_id":144114,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa33a3a10012d7ac80005e41058000600f322..."} 
[2026-07-27 16:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa33a3a10012d7ac80005e41058000600f322..."} 
[2026-07-27 16:30:14] local.INFO: Processing buffer {"connection_id":144114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa33a3a10012d7ac80005e41058000600f322..."} 
[2026-07-27 16:30:14] local.INFO: Packet analysis {"connection_id":144114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa33a"} 
[2026-07-27 16:30:14] local.INFO: Extracted packet for processing {"connection_id":144114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa33a"} 
[2026-07-27 16:30:14] local.INFO: GPS Element Parsed {"raw_longitude":763021312,"raw_latitude":98832472,"longitude_deg":76.3021312,"latitude_deg":9.8832472,"altitude":6,"angle":243,"satellites":34,"speed":8,"hex_longitude":"2d7ac800","hex_latitude":"05e41058","is_valid_coordinates":true} 
[2026-07-27 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-07-27 16:30:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998381568001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:30:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111658227594166272,"note":"Value kept but may cause issues"} 
[2026-07-27 16:30:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8847743705735550976,"note":"Value kept but may cause issues"} 
[2026-07-27 16:30:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:30:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785149930000,"timestamp_ms":1785149930000,"timestamp_seconds":1785149930,"priority":1,"record_length":96,"hex_timestamp":"0000019fa33a3a10"} 
[2026-07-27 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-07-27 16:30:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-07-27 16:30:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 16:30:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:30:14] local.INFO: Teltonika packet parsed successfully {"connection_id":144114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:30:14] local.INFO: Passing IMEI to GPS processor {"connection_id":144114,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:30:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":144114,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:30:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:30:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 16:30:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 16:30:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998381568001,"66":12743,"97":206,"85":15104,"24":8,"16":111658227594166272,"45":8847743705735550976},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-27 16:30:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 16:30:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 16:30:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998381568001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:30:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-27 16:30:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 16:30:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111658227594166272,"km_value":111658227594166.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:30:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8847743705735550976,"description":"Unknown IO ID 45"} 
[2026-07-27 16:30:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998381568001,"power":12743,"unknown_97":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8847743705735550976}} 
[2026-07-27 16:30:14] local.INFO: DEBUG: GPS processor result {"connection_id":144114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554176,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:30:14] local.INFO: GPS data processed {"connection_id":144114,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:30:14] local.INFO: Acknowledgment sent {"connection_id":144114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:30:16] local.INFO: TCP Data received {"connection_id":143123,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143123,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:30:16] local.INFO: Processing buffer {"connection_id":143123,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:30:16] local.INFO: IMEI packet received {"connection_id":143123,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 16:30:16] local.INFO: IMEI acknowledgment sent {"connection_id":143123,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:30:17] local.INFO: TCP Data received {"connection_id":143123,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143123,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:30:17] local.INFO: Processing buffer {"connection_id":143123,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:30:17] local.INFO: IMEI packet received {"connection_id":143123,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 16:30:17] local.INFO: IMEI acknowledgment sent {"connection_id":143123,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:30:19] local.INFO: TCP Data received {"connection_id":143123,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143123,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:30:19] local.INFO: Processing buffer {"connection_id":143123,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:30:19] local.INFO: IMEI packet received {"connection_id":143123,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 16:30:19] local.INFO: IMEI acknowledgment sent {"connection_id":143123,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:30:20] local.INFO: TCP Data received {"connection_id":143123,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143123,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:30:20] local.INFO: Processing buffer {"connection_id":143123,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:30:20] local.INFO: IMEI packet received {"connection_id":143123,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 16:30:20] local.INFO: IMEI acknowledgment sent {"connection_id":143123,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:30:32] local.INFO: TCP Data received {"connection_id":144115,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:30:32] local.INFO: Processing buffer {"connection_id":144115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:30:32] local.INFO: IMEI packet received {"connection_id":144115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 16:30:32] local.INFO: IMEI acknowledgment sent {"connection_id":144115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:30:37] local.INFO: TCP Data received {"connection_id":144115,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:30:37] local.INFO: Processing buffer {"connection_id":144115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:30:37] local.INFO: IMEI packet received {"connection_id":144115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 16:30:37] local.INFO: IMEI acknowledgment sent {"connection_id":144115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:30:38] local.INFO: TCP Data received {"connection_id":143122,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa337d4c8012d1a6a800720bab0003d00b72d..."} 
[2026-07-27 16:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143122,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa337d4c8012d1a6a800720bab0003d00b72d..."} 
[2026-07-27 16:30:38] local.INFO: Processing buffer {"connection_id":143122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa337d4c8012d1a6a800720bab0003d00b72d..."} 
[2026-07-27 16:30:38] local.INFO: Packet analysis {"connection_id":143122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa337"} 
[2026-07-27 16:30:38] local.INFO: Extracted packet for processing {"connection_id":143122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa337"} 
[2026-07-27 16:30:38] local.INFO: GPS Element Parsed {"raw_longitude":756705920,"raw_latitude":119585456,"longitude_deg":75.670592,"latitude_deg":11.9585456,"altitude":61,"angle":183,"satellites":45,"speed":0,"hex_longitude":"2d1a6a80","hex_latitude":"0720bab0","is_valid_coordinates":true} 
[2026-07-27 16:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:30:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998336512001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:30:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8897153602682880,"note":"Value kept but may cause issues"} 
[2026-07-27 16:30:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1903474560619687936,"note":"Value kept but may cause issues"} 
[2026-07-27 16:30:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:30:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785149773000,"timestamp_ms":1785149773000,"timestamp_seconds":1785149773,"priority":1,"record_length":96,"hex_timestamp":"0000019fa337d4c8"} 
[2026-07-27 16:30:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:30:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-27 16:30:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:30:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:30:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:30:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:30:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:30:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:30:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:30:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:30:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 16:30:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 16:30:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998336512001,"66":12211,"70":206,"28":31744,"24":0,"16":8897153602682880,"45":1903474560619687936},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-27 16:30:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 16:30:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 16:30:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998336512001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:30:38] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-27 16:30:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 16:30:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8897153602682880,"km_value":8897153602682.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:30:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1903474560619687936,"description":"Unknown IO ID 45"} 
[2026-07-27 16:30:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998336512001,"power":12211,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1903474560619687936}} 
[2026-07-27 16:30:38] local.INFO: TCP Data received {"connection_id":144115,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa338c6f8012d9cd70005b360f80020000928..."} 
[2026-07-27 16:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144115,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa338c6f8012d9cd70005b360f80020000928..."} 
[2026-07-27 16:30:38] local.INFO: Processing buffer {"connection_id":144115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa338c6f8012d9cd70005b360f80020000928..."} 
[2026-07-27 16:30:38] local.INFO: Packet analysis {"connection_id":144115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa338"} 
[2026-07-27 16:30:38] local.INFO: Extracted packet for processing {"connection_id":144115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa338"} 
[2026-07-27 16:30:38] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641848,"longitude_deg":76.5253376,"latitude_deg":9.5641848,"altitude":32,"angle":9,"satellites":40,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b360f8","is_valid_coordinates":true} 
[2026-07-27 16:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:30:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998280704001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:30:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359071309033897984,"note":"Value kept but may cause issues"} 
[2026-07-27 16:30:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315689472,"note":"Value kept but may cause issues"} 
[2026-07-27 16:30:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:30:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785149835000,"timestamp_ms":1785149835000,"timestamp_seconds":1785149835,"priority":1,"record_length":96,"hex_timestamp":"0000019fa338c6f8"} 
[2026-07-27 16:30:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:30:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 16:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-27 16:30:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:30:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:30:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:30:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:30:38] local.INFO: Teltonika packet parsed successfully {"connection_id":144115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:30:38] local.INFO: Passing IMEI to GPS processor {"connection_id":144115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:30:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":144115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:30:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:30:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:30:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:30:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998280704001,"66":25897,"226":206,"83":17408,"24":0,"16":359071309033897984,"45":-7145242259315689472},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-07-27 16:30:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:30:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:30:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998280704001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:30:38] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-27 16:30:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 16:30:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359071309033897984,"km_value":359071309033898.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:30:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315689472,"description":"Unknown IO ID 45"} 
[2026-07-27 16:30:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998280704001,"power":25897,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315689472}} 
[2026-07-27 16:30:38] local.INFO: DEBUG: GPS processor result {"connection_id":144115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:30:38] local.INFO: GPS data processed {"connection_id":144115,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:30:38] local.INFO: Acknowledgment sent {"connection_id":144115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:30:38] local.INFO: DEBUG: GPS processor result {"connection_id":143122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554178,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:30:38] local.INFO: GPS data processed {"connection_id":143122,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:30:38] local.INFO: Acknowledgment sent {"connection_id":143122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:30:46] local.INFO: TCP Data received {"connection_id":144114,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa33bb110012d7acf4005e40ca8000a009f22..."} 
[2026-07-27 16:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa33bb110012d7acf4005e40ca8000a009f22..."} 
[2026-07-27 16:30:46] local.INFO: Processing buffer {"connection_id":144114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa33bb110012d7acf4005e40ca8000a009f22..."} 
[2026-07-27 16:30:46] local.INFO: Packet analysis {"connection_id":144114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa33b"} 
[2026-07-27 16:30:46] local.INFO: Extracted packet for processing {"connection_id":144114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa33b"} 
[2026-07-27 16:30:46] local.INFO: GPS Element Parsed {"raw_longitude":763023168,"raw_latitude":98831528,"longitude_deg":76.3023168,"latitude_deg":9.8831528,"altitude":10,"angle":159,"satellites":34,"speed":19,"hex_longitude":"2d7acf40","hex_latitude":"05e40ca8","is_valid_coordinates":true} 
[2026-07-27 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-07-27 16:30:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998406144001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:30:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111659425890041856,"note":"Value kept but may cause issues"} 
[2026-07-27 16:30:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848939974386475008,"note":"Value kept but may cause issues"} 
[2026-07-27 16:30:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:30:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785150026000,"timestamp_ms":1785150026000,"timestamp_seconds":1785150026,"priority":1,"record_length":96,"hex_timestamp":"0000019fa33bb110"} 
[2026-07-27 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-07-27 16:30:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":47,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-27 16:30:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":667,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 16:30:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:30:46] local.INFO: Teltonika packet parsed successfully {"connection_id":144114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:30:46] local.INFO: Passing IMEI to GPS processor {"connection_id":144114,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:30:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":144114,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:30:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:30:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 16:30:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 16:30:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998406144001,"66":12635,"97":206,"85":15104,"24":19,"16":111659425890041856,"45":8848939974386475008},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-27 16:30:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 16:30:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 16:30:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998406144001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:30:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-27 16:30:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 16:30:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111659425890041856,"km_value":111659425890041.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:30:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848939974386475008,"description":"Unknown IO ID 45"} 
[2026-07-27 16:30:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998406144001,"power":12635,"unknown_97":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":8848939974386475008}} 
[2026-07-27 16:30:46] local.INFO: DEBUG: GPS processor result {"connection_id":144114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554179,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:30:46] local.INFO: GPS data processed {"connection_id":144114,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:30:46] local.INFO: Acknowledgment sent {"connection_id":144114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:31:04] local.INFO: TCP Data received {"connection_id":145405,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145405,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:31:04] local.INFO: Processing buffer {"connection_id":145405,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:31:04] local.INFO: IMEI packet received {"connection_id":145405,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 16:31:04] local.INFO: IMEI acknowledgment sent {"connection_id":145405,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:31:05] local.INFO: TCP Data received {"connection_id":145405,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145405,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:31:05] local.INFO: Processing buffer {"connection_id":145405,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:31:05] local.INFO: IMEI packet received {"connection_id":145405,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 16:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":145405,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:31:07] local.INFO: TCP Data received {"connection_id":142979,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142979,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:31:07] local.INFO: Processing buffer {"connection_id":142979,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:31:07] local.INFO: IMEI packet received {"connection_id":142979,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 16:31:07] local.INFO: IMEI acknowledgment sent {"connection_id":142979,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:31:09] local.INFO: TCP Data received {"connection_id":144115,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa338c6f8012d9cd70005b360f80020000928..."} 
[2026-07-27 16:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144115,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa338c6f8012d9cd70005b360f80020000928..."} 
[2026-07-27 16:31:09] local.INFO: Processing buffer {"connection_id":144115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa338c6f8012d9cd70005b360f80020000928..."} 
[2026-07-27 16:31:09] local.INFO: Packet analysis {"connection_id":144115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa338"} 
[2026-07-27 16:31:09] local.INFO: Extracted packet for processing {"connection_id":144115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa338"} 
[2026-07-27 16:31:09] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641848,"longitude_deg":76.5253376,"latitude_deg":9.5641848,"altitude":32,"angle":9,"satellites":40,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b360f8","is_valid_coordinates":true} 
[2026-07-27 16:31:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:31:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998280704001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:31:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359071309033897984,"note":"Value kept but may cause issues"} 
[2026-07-27 16:31:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315689472,"note":"Value kept but may cause issues"} 
[2026-07-27 16:31:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:31:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785149835000,"timestamp_ms":1785149835000,"timestamp_seconds":1785149835,"priority":1,"record_length":96,"hex_timestamp":"0000019fa338c6f8"} 
[2026-07-27 16:31:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:31:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-27 16:31:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:31:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:31:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:31:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:31:09] local.INFO: Teltonika packet parsed successfully {"connection_id":144115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:31:09] local.INFO: Passing IMEI to GPS processor {"connection_id":144115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:31:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":144115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:31:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:31:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:31:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:31:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998280704001,"66":25897,"226":206,"83":17408,"24":0,"16":359071309033897984,"45":-7145242259315689472},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-07-27 16:31:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:31:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:31:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998280704001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:31:09] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-27 16:31:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 16:31:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359071309033897984,"km_value":359071309033898.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:31:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315689472,"description":"Unknown IO ID 45"} 
[2026-07-27 16:31:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998280704001,"power":25897,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315689472}} 
[2026-07-27 16:31:09] local.INFO: DEBUG: GPS processor result {"connection_id":144115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:31:09] local.INFO: GPS data processed {"connection_id":144115,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:31:09] local.INFO: Acknowledgment sent {"connection_id":144115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:31:10] local.INFO: TCP Data received {"connection_id":145405,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145405,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:31:10] local.INFO: Processing buffer {"connection_id":145405,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:31:10] local.INFO: IMEI packet received {"connection_id":145405,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 16:31:10] local.INFO: IMEI acknowledgment sent {"connection_id":145405,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:31:11] local.INFO: TCP Data received {"connection_id":145405,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa33826d0012d1a6a800720bab0003d00b72a..."} 
[2026-07-27 16:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa33826d0012d1a6a800720bab0003d00b72a..."} 
[2026-07-27 16:31:11] local.INFO: Processing buffer {"connection_id":145405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa33826d0012d1a6a800720bab0003d00b72a..."} 
[2026-07-27 16:31:11] local.INFO: Packet analysis {"connection_id":145405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa338"} 
[2026-07-27 16:31:11] local.INFO: Extracted packet for processing {"connection_id":145405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa338"} 
[2026-07-27 16:31:11] local.INFO: GPS Element Parsed {"raw_longitude":756705920,"raw_latitude":119585456,"longitude_deg":75.670592,"latitude_deg":11.9585456,"altitude":61,"angle":183,"satellites":42,"speed":0,"hex_longitude":"2d1a6a80","hex_latitude":"0720bab0","is_valid_coordinates":true} 
[2026-07-27 16:31:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:31:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998341888001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:31:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8897153602682880,"note":"Value kept but may cause issues"} 
[2026-07-27 16:31:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1903474560619687936,"note":"Value kept but may cause issues"} 
[2026-07-27 16:31:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:31:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785149794000,"timestamp_ms":1785149794000,"timestamp_seconds":1785149794,"priority":1,"record_length":96,"hex_timestamp":"0000019fa33826d0"} 
[2026-07-27 16:31:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:31:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16: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":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-27 16:31:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:31:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:31:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:31:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:31:11] local.INFO: Teltonika packet parsed successfully {"connection_id":145405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:31:11] local.INFO: Passing IMEI to GPS processor {"connection_id":145405,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:31:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":145405,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:31:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:31:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 16:31:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 16:31:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998341888001,"66":12341,"70":206,"28":31744,"24":0,"16":8897153602682880,"45":1903474560619687936},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-27 16:31:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 16:31:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 16:31:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998341888001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:31:11] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-27 16:31:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 16:31:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8897153602682880,"km_value":8897153602682.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:31:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1903474560619687936,"description":"Unknown IO ID 45"} 
[2026-07-27 16:31:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998341888001,"power":12341,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1903474560619687936}} 
[2026-07-27 16:31:11] local.INFO: DEBUG: GPS processor result {"connection_id":145405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554181,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:31:11] local.INFO: GPS data processed {"connection_id":145405,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:31:11] local.INFO: Acknowledgment sent {"connection_id":145405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:31:12] local.INFO: TCP Data received {"connection_id":142979,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142979,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:31:12] local.INFO: Processing buffer {"connection_id":142979,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:31:12] local.INFO: IMEI packet received {"connection_id":142979,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 16:31:12] local.INFO: IMEI acknowledgment sent {"connection_id":142979,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:31:13] local.INFO: TCP Data received {"connection_id":142979,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa33bbcc8012d7ad10005e405b8000a00ab21..."} 
[2026-07-27 16:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa33bbcc8012d7ad10005e405b8000a00ab21..."} 
[2026-07-27 16:31:13] local.INFO: Processing buffer {"connection_id":142979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa33bbcc8012d7ad10005e405b8000a00ab21..."} 
[2026-07-27 16:31:13] local.INFO: Packet analysis {"connection_id":142979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa33b"} 
[2026-07-27 16:31:13] local.INFO: Extracted packet for processing {"connection_id":142979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa33b"} 
[2026-07-27 16:31:13] local.INFO: GPS Element Parsed {"raw_longitude":763023616,"raw_latitude":98829752,"longitude_deg":76.3023616,"latitude_deg":9.8829752,"altitude":10,"angle":171,"satellites":33,"speed":26,"hex_longitude":"2d7ad100","hex_latitude":"05e405b8","is_valid_coordinates":true} 
[2026-07-27 16: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-07-27 16:31:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998406656001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:31:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111659511789387776,"note":"Value kept but may cause issues"} 
[2026-07-27 16:31:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8849362186851362816,"note":"Value kept but may cause issues"} 
[2026-07-27 16:31:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:31:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785150029000,"timestamp_ms":1785150029000,"timestamp_seconds":1785150029,"priority":1,"record_length":96,"hex_timestamp":"0000019fa33bbcc8"} 
[2026-07-27 16:31:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:31:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16: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":49,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-27 16:31:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1262,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16: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-07-27 16:31:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:31:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:31:13] local.INFO: Teltonika packet parsed successfully {"connection_id":142979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:31:13] local.INFO: Passing IMEI to GPS processor {"connection_id":142979,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:31:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":142979,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:31:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:31:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 16:31:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 16:31:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998406656001,"66":12069,"97":206,"85":15104,"24":26,"16":111659511789387776,"45":8849362186851362816},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-27 16:31:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 16:31:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 16:31:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998406656001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:31:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-27 16:31:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 16:31:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111659511789387776,"km_value":111659511789387.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:31:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8849362186851362816,"description":"Unknown IO ID 45"} 
[2026-07-27 16:31:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998406656001,"power":12069,"unknown_97":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":8849362186851362816}} 
[2026-07-27 16:31:14] local.INFO: DEBUG: GPS processor result {"connection_id":142979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554182,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:31:14] local.INFO: GPS data processed {"connection_id":142979,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:31:14] local.INFO: Acknowledgment sent {"connection_id":142979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:31:15] local.INFO: TCP Data received {"connection_id":145405,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa33878d8012d1a6a800720bab0003d00b727..."} 
[2026-07-27 16:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa33878d8012d1a6a800720bab0003d00b727..."} 
[2026-07-27 16:31:15] local.INFO: Processing buffer {"connection_id":145405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa33878d8012d1a6a800720bab0003d00b727..."} 
[2026-07-27 16:31:15] local.INFO: Packet analysis {"connection_id":145405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa338"} 
[2026-07-27 16:31:15] local.INFO: Extracted packet for processing {"connection_id":145405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa338"} 
[2026-07-27 16:31:15] local.INFO: GPS Element Parsed {"raw_longitude":756705920,"raw_latitude":119585456,"longitude_deg":75.670592,"latitude_deg":11.9585456,"altitude":61,"angle":183,"satellites":39,"speed":0,"hex_longitude":"2d1a6a80","hex_latitude":"0720bab0","is_valid_coordinates":true} 
[2026-07-27 16: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-07-27 16:31:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998347264001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:31:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8897153602682880,"note":"Value kept but may cause issues"} 
[2026-07-27 16:31:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1903474560619687936,"note":"Value kept but may cause issues"} 
[2026-07-27 16:31:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:31:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785149815000,"timestamp_ms":1785149815000,"timestamp_seconds":1785149815,"priority":1,"record_length":96,"hex_timestamp":"0000019fa33878d8"} 
[2026-07-27 16:31:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:31:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:31:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 16:31:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:31:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:31:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:31:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:31:15] local.INFO: Teltonika packet parsed successfully {"connection_id":145405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:31:15] local.INFO: Passing IMEI to GPS processor {"connection_id":145405,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:31:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":145405,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:31:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:31:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 16:31:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 16:31:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998347264001,"66":12341,"70":206,"28":31744,"24":0,"16":8897153602682880,"45":1903474560619687936},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-27 16:31:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 16:31:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 16:31:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998347264001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:31:15] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-27 16:31:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 16:31:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8897153602682880,"km_value":8897153602682.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:31:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1903474560619687936,"description":"Unknown IO ID 45"} 
[2026-07-27 16:31:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998347264001,"power":12341,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1903474560619687936}} 
[2026-07-27 16:31:15] local.INFO: DEBUG: GPS processor result {"connection_id":145405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554183,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:31:15] local.INFO: GPS data processed {"connection_id":145405,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:31:15] local.INFO: Acknowledgment sent {"connection_id":145405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:31:32] local.INFO: TCP Data received {"connection_id":142980,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:31:32] local.INFO: Processing buffer {"connection_id":142980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:31:32] local.INFO: IMEI packet received {"connection_id":142980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 16:31:32] local.INFO: IMEI acknowledgment sent {"connection_id":142980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:31:37] local.INFO: TCP Data received {"connection_id":142980,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:31:37] local.INFO: Processing buffer {"connection_id":142980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:31:37] local.INFO: IMEI packet received {"connection_id":142980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 16:31:37] local.INFO: IMEI acknowledgment sent {"connection_id":142980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:31:37] local.INFO: TCP Data received {"connection_id":142980,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fa338c6f8012d9cd70005b360f80020000928..."} 
[2026-07-27 16:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa338c6f8012d9cd70005b360f80020000928..."} 
[2026-07-27 16:31:37] local.INFO: Processing buffer {"connection_id":142980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa338c6f8012d9cd70005b360f80020000928..."} 
[2026-07-27 16:31:37] local.INFO: Packet analysis {"connection_id":142980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa338"} 
[2026-07-27 16:31:37] local.INFO: Extracted packet for processing {"connection_id":142980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa338"} 
[2026-07-27 16:31:37] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641848,"longitude_deg":76.5253376,"latitude_deg":9.5641848,"altitude":32,"angle":9,"satellites":40,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b360f8","is_valid_coordinates":true} 
[2026-07-27 16:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:31:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998280704001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:31:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359071309033897984,"note":"Value kept but may cause issues"} 
[2026-07-27 16:31:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315689472,"note":"Value kept but may cause issues"} 
[2026-07-27 16:31:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:31:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785149835000,"timestamp_ms":1785149835000,"timestamp_seconds":1785149835,"priority":1,"record_length":96,"hex_timestamp":"0000019fa338c6f8"} 
[2026-07-27 16:31:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:31:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 16:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-27 16:31:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:31:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:31:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:31:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:31:37] local.INFO: Teltonika packet parsed successfully {"connection_id":142980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:31:37] local.INFO: Passing IMEI to GPS processor {"connection_id":142980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:31:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":142980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:31:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:31:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:31:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:31:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998280704001,"66":25897,"226":206,"83":17408,"24":0,"16":359071309033897984,"45":-7145242259315689472},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-07-27 16:31:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:31:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:31:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998280704001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:31:37] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-27 16:31:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 16:31:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359071309033897984,"km_value":359071309033898.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:31:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315689472,"description":"Unknown IO ID 45"} 
[2026-07-27 16:31:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998280704001,"power":25897,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315689472}} 
[2026-07-27 16:31:37] local.INFO: DEBUG: GPS processor result {"connection_id":142980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:31:37] local.INFO: GPS data processed {"connection_id":142980,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:31:37] local.INFO: Acknowledgment sent {"connection_id":142980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:31:45] local.INFO: TCP Data received {"connection_id":142979,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa33be3d8012d7ad8c005e3e170000900a621..."} 
[2026-07-27 16:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa33be3d8012d7ad8c005e3e170000900a621..."} 
[2026-07-27 16:31:45] local.INFO: Processing buffer {"connection_id":142979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa33be3d8012d7ad8c005e3e170000900a621..."} 
[2026-07-27 16:31:45] local.INFO: Packet analysis {"connection_id":142979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa33b"} 
[2026-07-27 16:31:45] local.INFO: Extracted packet for processing {"connection_id":142979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa33b"} 
[2026-07-27 16:31:45] local.INFO: GPS Element Parsed {"raw_longitude":763025600,"raw_latitude":98820464,"longitude_deg":76.30256,"latitude_deg":9.8820464,"altitude":9,"angle":166,"satellites":33,"speed":40,"hex_longitude":"2d7ad8c0","hex_latitude":"05e3e170","is_valid_coordinates":true} 
[2026-07-27 16:31:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:31:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998407424001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:31:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111659975645855744,"note":"Value kept but may cause issues"} 
[2026-07-27 16:31:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8849854768060151808,"note":"Value kept but may cause issues"} 
[2026-07-27 16:31:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:31:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785150039000,"timestamp_ms":1785150039000,"timestamp_seconds":1785150039,"priority":1,"record_length":96,"hex_timestamp":"0000019fa33be3d8"} 
[2026-07-27 16:31:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:31:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:31:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-07-27 16:31:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":766,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:31:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:31:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:31:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:31:45] local.INFO: Teltonika packet parsed successfully {"connection_id":142979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:31:45] local.INFO: Passing IMEI to GPS processor {"connection_id":142979,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:31:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":142979,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:31:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:31:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 16:31:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 16:31:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998407424001,"66":12613,"97":206,"85":15104,"24":40,"16":111659975645855744,"45":8849854768060151808},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-27 16:31:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 16:31:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 16:31:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998407424001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:31:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-27 16:31:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 16:31:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111659975645855744,"km_value":111659975645855.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:31:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8849854768060151808,"description":"Unknown IO ID 45"} 
[2026-07-27 16:31:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998407424001,"power":12613,"unknown_97":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":8849854768060151808}} 
[2026-07-27 16:31:45] local.INFO: DEBUG: GPS processor result {"connection_id":142979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554185,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:31:45] local.INFO: GPS data processed {"connection_id":142979,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:31:45] local.INFO: Acknowledgment sent {"connection_id":142979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:32:00] local.INFO: TCP Data received {"connection_id":143124,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143124,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:32:00] local.INFO: Processing buffer {"connection_id":143124,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:32:00] local.INFO: IMEI packet received {"connection_id":143124,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 16:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":143124,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:32:05] local.INFO: TCP Data received {"connection_id":143124,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143124,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:32:05] local.INFO: Processing buffer {"connection_id":143124,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:32:05] local.INFO: IMEI packet received {"connection_id":143124,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 16:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":143124,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:32:06] local.INFO: TCP Data received {"connection_id":143124,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa338cae0012d1a6a800720bab0003d00b72a..."} 
[2026-07-27 16:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143124,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa338cae0012d1a6a800720bab0003d00b72a..."} 
[2026-07-27 16:32:06] local.INFO: Processing buffer {"connection_id":143124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa338cae0012d1a6a800720bab0003d00b72a..."} 
[2026-07-27 16:32:06] local.INFO: Packet analysis {"connection_id":143124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa338"} 
[2026-07-27 16:32:06] local.INFO: Extracted packet for processing {"connection_id":143124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa338"} 
[2026-07-27 16:32:06] local.INFO: GPS Element Parsed {"raw_longitude":756705920,"raw_latitude":119585456,"longitude_deg":75.670592,"latitude_deg":11.9585456,"altitude":61,"angle":183,"satellites":42,"speed":0,"hex_longitude":"2d1a6a80","hex_latitude":"0720bab0","is_valid_coordinates":true} 
[2026-07-27 16:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:32:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998352640001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:32:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8897153602682880,"note":"Value kept but may cause issues"} 
[2026-07-27 16:32:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1903474560619687936,"note":"Value kept but may cause issues"} 
[2026-07-27 16:32:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:32:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785149836000,"timestamp_ms":1785149836000,"timestamp_seconds":1785149836,"priority":1,"record_length":96,"hex_timestamp":"0000019fa338cae0"} 
[2026-07-27 16:32:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:32:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 16:32:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:32:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:32:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:32:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:32:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:32:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:32:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:32:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:32:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 16:32:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 16:32:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998352640001,"66":12341,"70":206,"28":31744,"24":0,"16":8897153602682880,"45":1903474560619687936},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-27 16:32:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 16:32:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 16:32:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998352640001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:32:06] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-27 16:32:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 16:32:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8897153602682880,"km_value":8897153602682.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:32:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1903474560619687936,"description":"Unknown IO ID 45"} 
[2026-07-27 16:32:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998352640001,"power":12341,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1903474560619687936}} 
[2026-07-27 16:32:06] local.INFO: DEBUG: GPS processor result {"connection_id":143124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554186,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:32:06] local.INFO: GPS data processed {"connection_id":143124,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:32:06] local.INFO: Acknowledgment sent {"connection_id":143124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:32:07] local.INFO: TCP Data received {"connection_id":142981,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142981,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:32:07] local.INFO: Processing buffer {"connection_id":142981,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:32:07] local.INFO: IMEI packet received {"connection_id":142981,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 16:32:07] local.INFO: IMEI acknowledgment sent {"connection_id":142981,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:32:09] local.INFO: TCP Data received {"connection_id":142980,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fa338c6f8012d9cd70005b360f80020000928..."} 
[2026-07-27 16:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa338c6f8012d9cd70005b360f80020000928..."} 
[2026-07-27 16:32:09] local.INFO: Processing buffer {"connection_id":142980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa338c6f8012d9cd70005b360f80020000928..."} 
[2026-07-27 16:32:09] local.INFO: Packet analysis {"connection_id":142980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa338"} 
[2026-07-27 16:32:09] local.INFO: Extracted packet for processing {"connection_id":142980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa338"} 
[2026-07-27 16:32:09] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641848,"longitude_deg":76.5253376,"latitude_deg":9.5641848,"altitude":32,"angle":9,"satellites":40,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b360f8","is_valid_coordinates":true} 
[2026-07-27 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-07-27 16:32:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998280704001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:32:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359071309033897984,"note":"Value kept but may cause issues"} 
[2026-07-27 16:32:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315689472,"note":"Value kept but may cause issues"} 
[2026-07-27 16:32:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:32:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785149835000,"timestamp_ms":1785149835000,"timestamp_seconds":1785149835,"priority":1,"record_length":96,"hex_timestamp":"0000019fa338c6f8"} 
[2026-07-27 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-07-27 16:32:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-27 16:32:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 16:32:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:32:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:32:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:32:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:32:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:32:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:32:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:32:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998280704001,"66":25897,"226":206,"83":17408,"24":0,"16":359071309033897984,"45":-7145242259315689472},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-07-27 16:32:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:32:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:32:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998280704001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:32:09] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-27 16:32:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 16:32:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359071309033897984,"km_value":359071309033898.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:32:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315689472,"description":"Unknown IO ID 45"} 
[2026-07-27 16:32:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998280704001,"power":25897,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315689472}} 
[2026-07-27 16:32:09] local.INFO: DEBUG: GPS processor result {"connection_id":142980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:32:09] local.INFO: GPS data processed {"connection_id":142980,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:32:09] local.INFO: Acknowledgment sent {"connection_id":142980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:32:10] local.INFO: TCP Data received {"connection_id":142981,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142981,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:32:10] local.INFO: Processing buffer {"connection_id":142981,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:32:10] local.INFO: IMEI packet received {"connection_id":142981,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 16:32:10] local.INFO: IMEI acknowledgment sent {"connection_id":142981,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:32:13] local.INFO: TCP Data received {"connection_id":142981,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142981,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:32:13] local.INFO: Processing buffer {"connection_id":142981,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:32:13] local.INFO: IMEI packet received {"connection_id":142981,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 16:32:13] local.INFO: IMEI acknowledgment sent {"connection_id":142981,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:32:13] local.INFO: TCP Data received {"connection_id":142981,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa33c0700012d7ae2c005e3bd78000800a421..."} 
[2026-07-27 16:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa33c0700012d7ae2c005e3bd78000800a421..."} 
[2026-07-27 16:32:13] local.INFO: Processing buffer {"connection_id":142981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa33c0700012d7ae2c005e3bd78000800a421..."} 
[2026-07-27 16:32:13] local.INFO: Packet analysis {"connection_id":142981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa33c"} 
[2026-07-27 16:32:13] local.INFO: Extracted packet for processing {"connection_id":142981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa33c"} 
[2026-07-27 16:32:13] local.INFO: GPS Element Parsed {"raw_longitude":763028160,"raw_latitude":98811256,"longitude_deg":76.302816,"latitude_deg":9.8811256,"altitude":8,"angle":164,"satellites":33,"speed":42,"hex_longitude":"2d7ae2c0","hex_latitude":"05e3bd78","is_valid_coordinates":true} 
[2026-07-27 16:32:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:32:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998409984001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:32:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111660435207356416,"note":"Value kept but may cause issues"} 
[2026-07-27 16:32:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8852036199127281664,"note":"Value kept but may cause issues"} 
[2026-07-27 16:32:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:32:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785150048000,"timestamp_ms":1785150048000,"timestamp_seconds":1785150048,"priority":1,"record_length":96,"hex_timestamp":"0000019fa33c0700"} 
[2026-07-27 16:32:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:32:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-27 16:32:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:32:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:32:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:32:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:32:13] local.INFO: Teltonika packet parsed successfully {"connection_id":142981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:32:13] local.INFO: Passing IMEI to GPS processor {"connection_id":142981,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:32:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":142981,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:32:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:32:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 16:32:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 16:32:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998409984001,"66":12461,"97":206,"85":15104,"24":42,"16":111660435207356416,"45":8852036199127281664},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-27 16:32:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 16:32:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 16:32:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998409984001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:32:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-27 16:32:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 16:32:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111660435207356416,"km_value":111660435207356.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:32:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8852036199127281664,"description":"Unknown IO ID 45"} 
[2026-07-27 16:32:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998409984001,"power":12461,"unknown_97":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":8852036199127281664}} 
[2026-07-27 16:32:14] local.INFO: DEBUG: GPS processor result {"connection_id":142981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554188,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:32:14] local.INFO: GPS data processed {"connection_id":142981,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:32:14] local.INFO: Acknowledgment sent {"connection_id":142981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:32:31] local.INFO: TCP Data received {"connection_id":145406,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:32:31] local.INFO: Processing buffer {"connection_id":145406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:32:31] local.INFO: IMEI packet received {"connection_id":145406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 16:32:31] local.INFO: IMEI acknowledgment sent {"connection_id":145406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:32:37] local.INFO: TCP Data received {"connection_id":145406,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:32:37] local.INFO: Processing buffer {"connection_id":145406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:32:37] local.INFO: IMEI packet received {"connection_id":145406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 16:32:37] local.INFO: IMEI acknowledgment sent {"connection_id":145406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:32:38] local.INFO: TCP Data received {"connection_id":145406,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fa338c6f8012d9cd70005b360f80020000928..."} 
[2026-07-27 16:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa338c6f8012d9cd70005b360f80020000928..."} 
[2026-07-27 16:32:38] local.INFO: Processing buffer {"connection_id":145406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa338c6f8012d9cd70005b360f80020000928..."} 
[2026-07-27 16:32:38] local.INFO: Packet analysis {"connection_id":145406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa338"} 
[2026-07-27 16:32:38] local.INFO: Extracted packet for processing {"connection_id":145406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa338"} 
[2026-07-27 16:32:38] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641848,"longitude_deg":76.5253376,"latitude_deg":9.5641848,"altitude":32,"angle":9,"satellites":40,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b360f8","is_valid_coordinates":true} 
[2026-07-27 16:32:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:32:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998280704001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:32:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359071309033897984,"note":"Value kept but may cause issues"} 
[2026-07-27 16:32:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315689472,"note":"Value kept but may cause issues"} 
[2026-07-27 16:32:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:32:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785149835000,"timestamp_ms":1785149835000,"timestamp_seconds":1785149835,"priority":1,"record_length":96,"hex_timestamp":"0000019fa338c6f8"} 
[2026-07-27 16:32:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:32:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 16: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-27 16:32:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:32:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:32:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:32:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:32:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:32:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:32:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:32:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:32:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:32:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:32:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998280704001,"66":25897,"226":206,"83":17408,"24":0,"16":359071309033897984,"45":-7145242259315689472},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-07-27 16:32:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:32:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:32:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998280704001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:32:38] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-27 16:32:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 16:32:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359071309033897984,"km_value":359071309033898.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:32:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315689472,"description":"Unknown IO ID 45"} 
[2026-07-27 16:32:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998280704001,"power":25897,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315689472}} 
[2026-07-27 16:32:38] local.INFO: DEBUG: GPS processor result {"connection_id":145406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:32:38] local.INFO: GPS data processed {"connection_id":145406,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:32:38] local.INFO: Acknowledgment sent {"connection_id":145406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:32:38] local.INFO: TCP Data received {"connection_id":143124,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa33c5138012d1a6a800720bab0003d00b723..."} 
[2026-07-27 16:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143124,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa33c5138012d1a6a800720bab0003d00b723..."} 
[2026-07-27 16:32:38] local.INFO: Processing buffer {"connection_id":143124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa33c5138012d1a6a800720bab0003d00b723..."} 
[2026-07-27 16:32:38] local.INFO: Packet analysis {"connection_id":143124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa33c"} 
[2026-07-27 16:32:38] local.INFO: Extracted packet for processing {"connection_id":143124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa33c"} 
[2026-07-27 16:32:38] local.INFO: GPS Element Parsed {"raw_longitude":756705920,"raw_latitude":119585456,"longitude_deg":75.670592,"latitude_deg":11.9585456,"altitude":61,"angle":183,"satellites":35,"speed":0,"hex_longitude":"2d1a6a80","hex_latitude":"0720bab0","is_valid_coordinates":true} 
[2026-07-27 16:32:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:32:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998411776001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:32:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8897153602682880,"note":"Value kept but may cause issues"} 
[2026-07-27 16:32:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1903474560619687936,"note":"Value kept but may cause issues"} 
[2026-07-27 16:32:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:32:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785150067000,"timestamp_ms":1785150067000,"timestamp_seconds":1785150067,"priority":1,"record_length":96,"hex_timestamp":"0000019fa33c5138"} 
[2026-07-27 16:32:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:32:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-27 16:32:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-27 16:32:38] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168048982131200,"note":"Value kept but may cause issues"} 
[2026-07-27 16:32:38] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452319,"note":"Value kept but may cause issues"} 
[2026-07-27 16:32:38] local.WARNING: Large IO value detected {"io_id":155,"raw_value":-1585267068834414591,"note":"Value kept but may cause issues"} 
[2026-07-27 16:32:38] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-6685100000450635158,"note":"Value kept but may cause issues"} 
[2026-07-27 16:32:38] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513615622601244855,"note":"Value kept but may cause issues"} 
[2026-07-27 16:32:38] local.WARNING: Large IO value detected {"io_id":61,"raw_value":51556100226416640,"note":"Value kept but may cause issues"} 
[2026-07-27 16:32:38] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832605,"note":"Value kept but may cause issues"} 
[2026-07-27 16:32:38] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683571934625998,"note":"Value kept but may cause issues"} 
[2026-07-27 16:32:38] local.WARNING: Large IO value detected {"io_id":32,"raw_value":3132096573,"note":"Value kept but may cause issues"} 
[2026-07-27 16:32:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3880124622,"corrected_to":0} 
[2026-07-27 16:32:38] local.WARNING: Large IO value detected {"io_id":104,"raw_value":4026608922,"note":"Value kept but may cause issues"} 
[2026-07-27 16:32:38] local.WARNING: Large IO value detected {"io_id":106,"raw_value":2147950778,"note":"Value kept but may cause issues"} 
[2026-07-27 16:32:38] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2615803904,"note":"Value kept but may cause issues"} 
[2026-07-27 16:32:38] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,70,28,24,241,158,16,155,159,173,45,128,186,61,41,10,66,91,42,9,1,240,255,163,32,4,113,205,104,106,176,39,239,48,2,31,7],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":3880124622,"validated":0}]} 
[2026-07-27 16:32:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395714592970375168,"timestamp_seconds":4395714592970375.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 16:32:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:32:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:32:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:32:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:32:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:32:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:32:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 16:32:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 16:32:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998411776001,"66":12298,"70":206,"28":31744,"24":0,"16":8897153602682880,"45":1903474560619687936},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-27 16:32:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 16:32:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 16:32:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998411776001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:32:38] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-27 16:32:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 16:32:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8897153602682880,"km_value":8897153602682.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:32:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1903474560619687936,"description":"Unknown IO ID 45"} 
[2026-07-27 16:32:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998411776001,"power":12298,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1903474560619687936}} 
[2026-07-27 16:32:38] local.INFO: DEBUG: GPS processor result {"connection_id":143124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554190,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:32:38] local.INFO: GPS data processed {"connection_id":143124,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:32:38] local.INFO: Acknowledgment sent {"connection_id":143124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:32:45] local.INFO: TCP Data received {"connection_id":142981,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa33c2e10012d7aed0005e39c48000800a621..."} 
[2026-07-27 16:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa33c2e10012d7aed0005e39c48000800a621..."} 
[2026-07-27 16:32:45] local.INFO: Processing buffer {"connection_id":142981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa33c2e10012d7aed0005e39c48000800a621..."} 
[2026-07-27 16:32:45] local.INFO: Packet analysis {"connection_id":142981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa33c"} 
[2026-07-27 16:32:45] local.INFO: Extracted packet for processing {"connection_id":142981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa33c"} 
[2026-07-27 16:32:45] local.INFO: GPS Element Parsed {"raw_longitude":763030784,"raw_latitude":98802760,"longitude_deg":76.3030784,"latitude_deg":9.880276,"altitude":8,"angle":166,"satellites":33,"speed":22,"hex_longitude":"2d7aed00","hex_latitude":"05e39c48","is_valid_coordinates":true} 
[2026-07-27 16:32:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:32:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998412288001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:32:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111660868999053312,"note":"Value kept but may cause issues"} 
[2026-07-27 16:32:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8854850948892030976,"note":"Value kept but may cause issues"} 
[2026-07-27 16:32:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:32:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785150058000,"timestamp_ms":1785150058000,"timestamp_seconds":1785150058,"priority":1,"record_length":96,"hex_timestamp":"0000019fa33c2e10"} 
[2026-07-27 16:32:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:32:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:32:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-27 16:32: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-07-27 16:32:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:32:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:32:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:32:45] local.INFO: Teltonika packet parsed successfully {"connection_id":142981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:32:45] local.INFO: Passing IMEI to GPS processor {"connection_id":142981,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:32:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":142981,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:32:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:32:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 16:32:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 16:32:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998412288001,"66":12645,"97":206,"85":15104,"24":22,"16":111660868999053312,"45":8854850948892030976},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-27 16:32:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 16:32:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 16:32:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998412288001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:32:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-27 16:32:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 16:32:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111660868999053312,"km_value":111660868999053.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:32:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8854850948892030976,"description":"Unknown IO ID 45"} 
[2026-07-27 16:32:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998412288001,"power":12645,"unknown_97":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":8854850948892030976}} 
[2026-07-27 16:32:45] local.INFO: DEBUG: GPS processor result {"connection_id":142981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554191,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:32:45] local.INFO: GPS data processed {"connection_id":142981,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:32:45] local.INFO: Acknowledgment sent {"connection_id":142981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:33:00] local.INFO: TCP Data received {"connection_id":145408,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145408,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:33:00] local.INFO: Processing buffer {"connection_id":145408,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:33:00] local.INFO: IMEI packet received {"connection_id":145408,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 16:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":145408,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:33:05] local.INFO: TCP Data received {"connection_id":145408,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145408,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:33:05] local.INFO: Processing buffer {"connection_id":145408,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:33:05] local.INFO: IMEI packet received {"connection_id":145408,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 16:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":145408,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:33:09] local.INFO: TCP Data received {"connection_id":145406,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fa33d5ec0012d9cd70005b360f8001a00092a..."} 
[2026-07-27 16:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa33d5ec0012d9cd70005b360f8001a00092a..."} 
[2026-07-27 16:33:09] local.INFO: Processing buffer {"connection_id":145406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa33d5ec0012d9cd70005b360f8001a00092a..."} 
[2026-07-27 16:33:09] local.INFO: Packet analysis {"connection_id":145406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa33d"} 
[2026-07-27 16:33:09] local.INFO: Extracted packet for processing {"connection_id":145406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa33d"} 
[2026-07-27 16:33:09] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641848,"longitude_deg":76.5253376,"latitude_deg":9.5641848,"altitude":26,"angle":9,"satellites":42,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b360f8","is_valid_coordinates":true} 
[2026-07-27 16:33:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:33:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998357760001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:33:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359071309033897984,"note":"Value kept but may cause issues"} 
[2026-07-27 16:33:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315689472,"note":"Value kept but may cause issues"} 
[2026-07-27 16:33:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:33:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785150136000,"timestamp_ms":1785150136000,"timestamp_seconds":1785150136,"priority":1,"record_length":96,"hex_timestamp":"0000019fa33d5ec0"} 
[2026-07-27 16:33:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:33:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-27 16:33:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:33:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:33:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:33:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:33:09] local.INFO: Teltonika packet parsed successfully {"connection_id":145406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:33:09] local.INFO: Passing IMEI to GPS processor {"connection_id":145406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:33:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":145406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:33:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:33:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:33:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:33:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998357760001,"66":25875,"226":206,"83":17408,"24":0,"16":359071309033897984,"45":-7145242259315689472},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-07-27 16:33:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:33:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:33:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998357760001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:33:09] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-27 16:33:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 16:33:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359071309033897984,"km_value":359071309033898.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:33:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315689472,"description":"Unknown IO ID 45"} 
[2026-07-27 16:33:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998357760001,"power":25875,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315689472}} 
[2026-07-27 16:33:09] local.INFO: DEBUG: GPS processor result {"connection_id":145406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:33:09] local.INFO: GPS data processed {"connection_id":145406,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:33:09] local.INFO: Acknowledgment sent {"connection_id":145406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:33:11] local.INFO: TCP Data received {"connection_id":144118,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144118,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:33:11] local.INFO: Processing buffer {"connection_id":144118,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:33:11] local.INFO: IMEI packet received {"connection_id":144118,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 16:33:11] local.INFO: IMEI acknowledgment sent {"connection_id":144118,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:33:13] local.INFO: TCP Data received {"connection_id":144118,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144118,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:33:13] local.INFO: Processing buffer {"connection_id":144118,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:33:13] local.INFO: IMEI packet received {"connection_id":144118,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 16:33:13] local.INFO: IMEI acknowledgment sent {"connection_id":144118,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:33:13] local.INFO: TCP Data received {"connection_id":144118,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144118,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:33:13] local.INFO: Processing buffer {"connection_id":144118,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:33:13] local.INFO: IMEI packet received {"connection_id":144118,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 16:33:13] local.INFO: IMEI acknowledgment sent {"connection_id":144118,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:33:18] local.INFO: TCP Data received {"connection_id":144118,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:33:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144118,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:33:18] local.INFO: Processing buffer {"connection_id":144118,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:33:18] local.INFO: IMEI packet received {"connection_id":144118,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 16:33:18] local.INFO: IMEI acknowledgment sent {"connection_id":144118,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:33:18] local.INFO: TCP Data received {"connection_id":144118,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa33dfb00012d7b1f0005e2c6a0000000ac1b..."} 
[2026-07-27 16:33:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa33dfb00012d7b1f0005e2c6a0000000ac1b..."} 
[2026-07-27 16:33:18] local.INFO: Processing buffer {"connection_id":144118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa33dfb00012d7b1f0005e2c6a0000000ac1b..."} 
[2026-07-27 16:33:18] local.INFO: Packet analysis {"connection_id":144118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa33d"} 
[2026-07-27 16:33:18] local.INFO: Extracted packet for processing {"connection_id":144118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa33d"} 
[2026-07-27 16:33:18] local.INFO: GPS Element Parsed {"raw_longitude":763043584,"raw_latitude":98748064,"longitude_deg":76.3043584,"latitude_deg":9.8748064,"altitude":0,"angle":172,"satellites":27,"speed":25,"hex_longitude":"2d7b1f00","hex_latitude":"05e2c6a0","is_valid_coordinates":true} 
[2026-07-27 16: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-07-27 16:33:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998441472001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:33:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111663617778122752,"note":"Value kept but may cause issues"} 
[2026-07-27 16:33:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8870402441341497344,"note":"Value kept but may cause issues"} 
[2026-07-27 16:33:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:33:18] local.INFO: AVL Record Parsed {"raw_timestamp":1785150176000,"timestamp_ms":1785150176000,"timestamp_seconds":1785150176,"priority":1,"record_length":96,"hex_timestamp":"0000019fa33dfb00"} 
[2026-07-27 16:33:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:33: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-07-27 16: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":42,"data_length":795,"current_offset":136} 
[2026-07-27 16:33:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":816,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16: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-07-27 16:33:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:33:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:33:18] local.INFO: Teltonika packet parsed successfully {"connection_id":144118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:33:18] local.INFO: Passing IMEI to GPS processor {"connection_id":144118,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:33:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":144118,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:33:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:33:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 16:33:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 16:33:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998441472001,"66":12135,"96":206,"85":15104,"24":25,"16":111663617778122752,"45":8870402441341497344},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-07-27 16:33:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 16:33:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 16:33:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998441472001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:33:18] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-27 16:33:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 16:33:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111663617778122752,"km_value":111663617778122.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:33:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8870402441341497344,"description":"Unknown IO ID 45"} 
[2026-07-27 16:33:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998441472001,"power":12135,"unknown_96":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":8870402441341497344}} 
[2026-07-27 16:33:18] local.INFO: DEBUG: GPS processor result {"connection_id":144118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554193,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:33:18] local.INFO: GPS data processed {"connection_id":144118,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:33:18] local.INFO: Acknowledgment sent {"connection_id":144118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:33:23] local.INFO: TCP Data received {"connection_id":144118,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa33e2dc8012d7b240005e2a7f00000009f1c..."} 
[2026-07-27 16:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa33e2dc8012d7b240005e2a7f00000009f1c..."} 
[2026-07-27 16:33:23] local.INFO: Processing buffer {"connection_id":144118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa33e2dc8012d7b240005e2a7f00000009f1c..."} 
[2026-07-27 16:33:23] local.INFO: Packet analysis {"connection_id":144118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa33e"} 
[2026-07-27 16:33:23] local.INFO: Extracted packet for processing {"connection_id":144118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa33e"} 
[2026-07-27 16:33:23] local.INFO: GPS Element Parsed {"raw_longitude":763044864,"raw_latitude":98740208,"longitude_deg":76.3044864,"latitude_deg":9.8740208,"altitude":0,"angle":159,"satellites":28,"speed":14,"hex_longitude":"2d7b2400","hex_latitude":"05e2a7f0","is_valid_coordinates":true} 
[2026-07-27 16: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-07-27 16:33:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998445056001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:33:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111664004325179392,"note":"Value kept but may cause issues"} 
[2026-07-27 16:33:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8871809816222670848,"note":"Value kept but may cause issues"} 
[2026-07-27 16:33:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:33:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785150189000,"timestamp_ms":1785150189000,"timestamp_seconds":1785150189,"priority":1,"record_length":96,"hex_timestamp":"0000019fa33e2dc8"} 
[2026-07-27 16:33:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:33: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-07-27 16: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":47,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-27 16:33:23] 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-07-27 16: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-07-27 16:33:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:33:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:33:23] local.INFO: Teltonika packet parsed successfully {"connection_id":144118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:33:23] local.INFO: Passing IMEI to GPS processor {"connection_id":144118,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:33:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":144118,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:33:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:33:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 16:33:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 16:33:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998445056001,"66":12493,"96":206,"85":15104,"24":14,"16":111664004325179392,"45":8871809816222670848},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-07-27 16:33:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 16:33:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 16:33:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998445056001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:33:23] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-27 16:33:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 16:33:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111664004325179392,"km_value":111664004325179.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:33:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8871809816222670848,"description":"Unknown IO ID 45"} 
[2026-07-27 16:33:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998445056001,"power":12493,"unknown_96":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":8871809816222670848}} 
[2026-07-27 16:33:23] local.INFO: DEBUG: GPS processor result {"connection_id":144118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554194,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:33:23] local.INFO: GPS data processed {"connection_id":144118,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:33:23] local.INFO: Acknowledgment sent {"connection_id":144118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:33:23] local.INFO: TCP Data received {"connection_id":145408,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa33ca340012d1a6a800720bab0003d00b728..."} 
[2026-07-27 16:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa33ca340012d1a6a800720bab0003d00b728..."} 
[2026-07-27 16:33:23] local.INFO: Processing buffer {"connection_id":145408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa33ca340012d1a6a800720bab0003d00b728..."} 
[2026-07-27 16:33:23] local.INFO: Packet analysis {"connection_id":145408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa33c"} 
[2026-07-27 16:33:23] local.INFO: Extracted packet for processing {"connection_id":145408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa33c"} 
[2026-07-27 16:33:23] local.INFO: GPS Element Parsed {"raw_longitude":756705920,"raw_latitude":119585456,"longitude_deg":75.670592,"latitude_deg":11.9585456,"altitude":61,"angle":183,"satellites":40,"speed":0,"hex_longitude":"2d1a6a80","hex_latitude":"0720bab0","is_valid_coordinates":true} 
[2026-07-27 16: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-07-27 16:33:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998417152001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:33:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8897153602682880,"note":"Value kept but may cause issues"} 
[2026-07-27 16:33:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1903474560619687936,"note":"Value kept but may cause issues"} 
[2026-07-27 16:33:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:33:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785150088000,"timestamp_ms":1785150088000,"timestamp_seconds":1785150088,"priority":1,"record_length":96,"hex_timestamp":"0000019fa33ca340"} 
[2026-07-27 16:33:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:33: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-07-27 16: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-27 16:33:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-27 16:33:23] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168048982131200,"note":"Value kept but may cause issues"} 
[2026-07-27 16:33:23] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452319,"note":"Value kept but may cause issues"} 
[2026-07-27 16:33:23] local.WARNING: Large IO value detected {"io_id":155,"raw_value":-1585267068834414591,"note":"Value kept but may cause issues"} 
[2026-07-27 16:33:23] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-6685009806137419158,"note":"Value kept but may cause issues"} 
[2026-07-27 16:33:23] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513615622601244855,"note":"Value kept but may cause issues"} 
[2026-07-27 16:33:23] local.WARNING: Large IO value detected {"io_id":61,"raw_value":51552801691533312,"note":"Value kept but may cause issues"} 
[2026-07-27 16:33:23] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832605,"note":"Value kept but may cause issues"} 
[2026-07-27 16:33:23] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683571934625998,"note":"Value kept but may cause issues"} 
[2026-07-27 16:33:23] local.WARNING: Large IO value detected {"io_id":32,"raw_value":3132096573,"note":"Value kept but may cause issues"} 
[2026-07-27 16:33:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3880124622,"corrected_to":0} 
[2026-07-27 16:33:23] local.WARNING: Large IO value detected {"io_id":106,"raw_value":2147950778,"note":"Value kept but may cause issues"} 
[2026-07-27 16:33:23] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242791,"note":"Value kept but may cause issues"} 
[2026-07-27 16:33:23] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2615803904,"note":"Value kept but may cause issues"} 
[2026-07-27 16:33:23] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,70,28,24,241,158,16,155,159,255,45,128,186,61,34,10,66,173,41,91,1,240,163,32,4,113,205,183,106,176,42,239,47,2,31,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":3880124622,"validated":0}]} 
[2026-07-27 16:33:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395714597265342464,"timestamp_seconds":4395714597265342.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 16:33:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:33:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:33:23] local.INFO: Teltonika packet parsed successfully {"connection_id":145408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:33:23] local.INFO: Passing IMEI to GPS processor {"connection_id":145408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:33:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":145408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:33:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:33:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 16:33:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 16:33:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998417152001,"66":12211,"70":206,"28":31744,"24":0,"16":8897153602682880,"45":1903474560619687936},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-27 16:33:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 16:33:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 16:33:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998417152001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:33:23] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-27 16:33:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 16:33:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8897153602682880,"km_value":8897153602682.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:33:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1903474560619687936,"description":"Unknown IO ID 45"} 
[2026-07-27 16:33:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998417152001,"power":12211,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1903474560619687936}} 
[2026-07-27 16:33:23] local.INFO: DEBUG: GPS processor result {"connection_id":145408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554195,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:33:23] local.INFO: GPS data processed {"connection_id":145408,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:33:23] local.INFO: Acknowledgment sent {"connection_id":145408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:33:37] local.INFO: TCP Data received {"connection_id":142982,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:33:37] local.INFO: Processing buffer {"connection_id":142982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:33:37] local.INFO: IMEI packet received {"connection_id":142982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 16:33:37] local.INFO: IMEI acknowledgment sent {"connection_id":142982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:33:42] local.INFO: TCP Data received {"connection_id":142982,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:33:42] local.INFO: Processing buffer {"connection_id":142982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:33:42] local.INFO: IMEI packet received {"connection_id":142982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 16:33:42] local.INFO: IMEI acknowledgment sent {"connection_id":142982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:33:43] local.INFO: TCP Data received {"connection_id":142982,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fa33d5ec0012d9cd70005b360f8001a00092a..."} 
[2026-07-27 16:33:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa33d5ec0012d9cd70005b360f8001a00092a..."} 
[2026-07-27 16:33:43] local.INFO: Processing buffer {"connection_id":142982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa33d5ec0012d9cd70005b360f8001a00092a..."} 
[2026-07-27 16:33:43] local.INFO: Packet analysis {"connection_id":142982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa33d"} 
[2026-07-27 16:33:43] local.INFO: Extracted packet for processing {"connection_id":142982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa33d"} 
[2026-07-27 16:33:43] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641848,"longitude_deg":76.5253376,"latitude_deg":9.5641848,"altitude":26,"angle":9,"satellites":42,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b360f8","is_valid_coordinates":true} 
[2026-07-27 16:33:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:33:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998357760001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:33:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359071309033897984,"note":"Value kept but may cause issues"} 
[2026-07-27 16:33:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315689472,"note":"Value kept but may cause issues"} 
[2026-07-27 16:33:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:33:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785150136000,"timestamp_ms":1785150136000,"timestamp_seconds":1785150136,"priority":1,"record_length":96,"hex_timestamp":"0000019fa33d5ec0"} 
[2026-07-27 16:33:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:33:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 16: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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-27 16:33:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:33:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:33:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:33:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:33:43] local.INFO: Teltonika packet parsed successfully {"connection_id":142982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:33:43] local.INFO: Passing IMEI to GPS processor {"connection_id":142982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:33:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":142982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:33:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:33:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:33:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:33:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998357760001,"66":25875,"226":206,"83":17408,"24":0,"16":359071309033897984,"45":-7145242259315689472},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-07-27 16:33:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:33:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:33:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998357760001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:33:43] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-27 16:33:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 16:33:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359071309033897984,"km_value":359071309033898.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:33:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315689472,"description":"Unknown IO ID 45"} 
[2026-07-27 16:33:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998357760001,"power":25875,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315689472}} 
[2026-07-27 16:33:43] local.INFO: DEBUG: GPS processor result {"connection_id":142982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:33:43] local.INFO: GPS data processed {"connection_id":142982,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:33:43] local.INFO: Acknowledgment sent {"connection_id":142982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:33:47] local.INFO: TCP Data received {"connection_id":142982,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fa33d5ec0012d9cd70005b360f8001a00092a..."} 
[2026-07-27 16:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa33d5ec0012d9cd70005b360f8001a00092a..."} 
[2026-07-27 16:33:47] local.INFO: Processing buffer {"connection_id":142982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa33d5ec0012d9cd70005b360f8001a00092a..."} 
[2026-07-27 16:33:47] local.INFO: Packet analysis {"connection_id":142982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa33d"} 
[2026-07-27 16:33:47] local.INFO: Extracted packet for processing {"connection_id":142982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa33d"} 
[2026-07-27 16:33:47] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641848,"longitude_deg":76.5253376,"latitude_deg":9.5641848,"altitude":26,"angle":9,"satellites":42,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b360f8","is_valid_coordinates":true} 
[2026-07-27 16:33:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:33:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998357760001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:33:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359071309033897984,"note":"Value kept but may cause issues"} 
[2026-07-27 16:33:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315689472,"note":"Value kept but may cause issues"} 
[2026-07-27 16:33:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:33:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785150136000,"timestamp_ms":1785150136000,"timestamp_seconds":1785150136,"priority":1,"record_length":96,"hex_timestamp":"0000019fa33d5ec0"} 
[2026-07-27 16:33:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:33:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 16:33:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-27 16:33:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:33:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:33:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:33:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:33:47] local.INFO: Teltonika packet parsed successfully {"connection_id":142982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:33:47] local.INFO: Passing IMEI to GPS processor {"connection_id":142982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:33:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":142982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:33:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:33:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:33:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:33:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998357760001,"66":25875,"226":206,"83":17408,"24":0,"16":359071309033897984,"45":-7145242259315689472},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-07-27 16:33:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:33:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:33:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998357760001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:33:47] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-27 16:33:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 16:33:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359071309033897984,"km_value":359071309033898.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:33:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315689472,"description":"Unknown IO ID 45"} 
[2026-07-27 16:33:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998357760001,"power":25875,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315689472}} 
[2026-07-27 16:33:47] local.INFO: DEBUG: GPS processor result {"connection_id":142982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:33:47] local.INFO: GPS data processed {"connection_id":142982,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:33:47] local.INFO: Acknowledgment sent {"connection_id":142982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:33:58] local.INFO: TCP Data received {"connection_id":143126,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143126,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:33:58] local.INFO: Processing buffer {"connection_id":143126,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:33:58] local.INFO: IMEI packet received {"connection_id":143126,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 16:33:58] local.INFO: IMEI acknowledgment sent {"connection_id":143126,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:33:59] local.INFO: TCP Data received {"connection_id":143126,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143126,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:33:59] local.INFO: Processing buffer {"connection_id":143126,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:33:59] local.INFO: IMEI packet received {"connection_id":143126,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 16:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":143126,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:34:00] local.INFO: TCP Data received {"connection_id":143126,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143126,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:34:00] local.INFO: Processing buffer {"connection_id":143126,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:34:00] local.INFO: IMEI packet received {"connection_id":143126,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 16:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":143126,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:34:02] local.INFO: TCP Data received {"connection_id":143126,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143126,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:34:02] local.INFO: Processing buffer {"connection_id":143126,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:34:02] local.INFO: IMEI packet received {"connection_id":143126,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 16:34:02] local.INFO: IMEI acknowledgment sent {"connection_id":143126,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:34:03] local.INFO: TCP Data received {"connection_id":143126,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa33deb60012d1a6a000720b830004500072b..."} 
[2026-07-27 16:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa33deb60012d1a6a000720b830004500072b..."} 
[2026-07-27 16:34:03] local.INFO: Processing buffer {"connection_id":143126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa33deb60012d1a6a000720b830004500072b..."} 
[2026-07-27 16:34:03] local.INFO: Packet analysis {"connection_id":143126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa33d"} 
[2026-07-27 16:34:03] local.INFO: Extracted packet for processing {"connection_id":143126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa33d"} 
[2026-07-27 16:34:03] local.INFO: GPS Element Parsed {"raw_longitude":756705792,"raw_latitude":119584816,"longitude_deg":75.6705792,"latitude_deg":11.9584816,"altitude":69,"angle":7,"satellites":43,"speed":2,"hex_longitude":"2d1a6a00","hex_latitude":"0720b830","is_valid_coordinates":true} 
[2026-07-27 16: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-07-27 16:34:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998443776001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:34:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8897248091963392,"note":"Value kept but may cause issues"} 
[2026-07-27 16:34:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1903333823131152384,"note":"Value kept but may cause issues"} 
[2026-07-27 16:34:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:34:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785150172000,"timestamp_ms":1785150172000,"timestamp_seconds":1785150172,"priority":1,"record_length":96,"hex_timestamp":"0000019fa33deb60"} 
[2026-07-27 16:34:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:34:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16: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":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-07-27 16:34:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16: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-07-27 16:34:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:34:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:34:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:34:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:34:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:34:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:34:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 16:34:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 16:34:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998443776001,"66":13091,"70":206,"28":31744,"24":2,"16":8897248091963392,"45":1903333823131152384},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-27 16:34:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 16:34:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 16:34:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998443776001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:34:03] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-27 16:34:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 16:34:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8897248091963392,"km_value":8897248091963.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:34:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1903333823131152384,"description":"Unknown IO ID 45"} 
[2026-07-27 16:34:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998443776001,"power":13091,"unknown_70":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1903333823131152384}} 
[2026-07-27 16:34:03] local.INFO: DEBUG: GPS processor result {"connection_id":143126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554198,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:34:03] local.INFO: GPS data processed {"connection_id":143126,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:34:03] local.INFO: Acknowledgment sent {"connection_id":143126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:34:05] local.INFO: TCP Data received {"connection_id":144119,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144119,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:34:05] local.INFO: Processing buffer {"connection_id":144119,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:34:05] local.INFO: IMEI packet received {"connection_id":144119,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 16:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":144119,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:34:06] local.INFO: TCP Data received {"connection_id":144119,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144119,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:34:06] local.INFO: Processing buffer {"connection_id":144119,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:34:06] local.INFO: IMEI packet received {"connection_id":144119,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 16:34:06] local.INFO: IMEI acknowledgment sent {"connection_id":144119,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:34:07] local.INFO: TCP Data received {"connection_id":144119,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144119,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:34:07] local.INFO: Processing buffer {"connection_id":144119,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:34:07] local.INFO: IMEI packet received {"connection_id":144119,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 16:34:07] local.INFO: IMEI acknowledgment sent {"connection_id":144119,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:34:07] local.INFO: TCP Data received {"connection_id":144119,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144119,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:34:07] local.INFO: Processing buffer {"connection_id":144119,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:34:07] local.INFO: IMEI packet received {"connection_id":144119,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 16:34:07] local.INFO: IMEI acknowledgment sent {"connection_id":144119,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:34:32] local.INFO: TCP Data received {"connection_id":143128,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:34:32] local.INFO: Processing buffer {"connection_id":143128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:34:32] local.INFO: IMEI packet received {"connection_id":143128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 16:34:32] local.INFO: IMEI acknowledgment sent {"connection_id":143128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:34:37] local.INFO: TCP Data received {"connection_id":143128,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:34:37] local.INFO: Processing buffer {"connection_id":143128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:34:37] local.INFO: IMEI packet received {"connection_id":143128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 16:34:37] local.INFO: IMEI acknowledgment sent {"connection_id":143128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:34:38] local.INFO: TCP Data received {"connection_id":143128,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fa33d5ec0012d9cd70005b360f8001a00092a..."} 
[2026-07-27 16:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa33d5ec0012d9cd70005b360f8001a00092a..."} 
[2026-07-27 16:34:38] local.INFO: Processing buffer {"connection_id":143128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa33d5ec0012d9cd70005b360f8001a00092a..."} 
[2026-07-27 16:34:38] local.INFO: Packet analysis {"connection_id":143128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa33d"} 
[2026-07-27 16:34:38] local.INFO: Extracted packet for processing {"connection_id":143128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa33d"} 
[2026-07-27 16:34:38] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641848,"longitude_deg":76.5253376,"latitude_deg":9.5641848,"altitude":26,"angle":9,"satellites":42,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b360f8","is_valid_coordinates":true} 
[2026-07-27 16:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:34:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998357760001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:34:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359071309033897984,"note":"Value kept but may cause issues"} 
[2026-07-27 16:34:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315689472,"note":"Value kept but may cause issues"} 
[2026-07-27 16:34:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:34:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785150136000,"timestamp_ms":1785150136000,"timestamp_seconds":1785150136,"priority":1,"record_length":96,"hex_timestamp":"0000019fa33d5ec0"} 
[2026-07-27 16:34:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:34:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 16:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-27 16:34:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:34:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:34:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:34:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:34:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:34:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:34:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:34:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:34:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:34:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:34:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998357760001,"66":25875,"226":206,"83":17408,"24":0,"16":359071309033897984,"45":-7145242259315689472},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-07-27 16:34:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:34:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:34:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998357760001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:34:38] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-27 16:34:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 16:34:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359071309033897984,"km_value":359071309033898.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:34:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315689472,"description":"Unknown IO ID 45"} 
[2026-07-27 16:34:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998357760001,"power":25875,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315689472}} 
[2026-07-27 16:34:38] local.INFO: DEBUG: GPS processor result {"connection_id":143128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:34:38] local.INFO: GPS data processed {"connection_id":143128,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:34:38] local.INFO: Acknowledgment sent {"connection_id":143128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:34:53] local.INFO: TCP Data received {"connection_id":143126,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa33e3d68012d1a6a400720c1f80047001029..."} 
[2026-07-27 16:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa33e3d68012d1a6a400720c1f80047001029..."} 
[2026-07-27 16:34:53] local.INFO: Processing buffer {"connection_id":143126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa33e3d68012d1a6a400720c1f80047001029..."} 
[2026-07-27 16:34:53] local.INFO: Packet analysis {"connection_id":143126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa33e"} 
[2026-07-27 16:34:53] local.INFO: Extracted packet for processing {"connection_id":143126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa33e"} 
[2026-07-27 16:34:53] local.INFO: GPS Element Parsed {"raw_longitude":756705856,"raw_latitude":119587320,"longitude_deg":75.6705856,"latitude_deg":11.958732,"altitude":71,"angle":16,"satellites":41,"speed":4,"hex_longitude":"2d1a6a40","hex_latitude":"0720c1f8","is_valid_coordinates":true} 
[2026-07-27 16: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-07-27 16:34:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998444032001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:34:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8897372646014976,"note":"Value kept but may cause issues"} 
[2026-07-27 16:34:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1903333823131168768,"note":"Value kept but may cause issues"} 
[2026-07-27 16:34: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-07-27 16:34:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785150193000,"timestamp_ms":1785150193000,"timestamp_seconds":1785150193,"priority":1,"record_length":96,"hex_timestamp":"0000019fa33e3d68"} 
[2026-07-27 16:34:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:34:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-27 16:34:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16: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-07-27 16:34:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:34:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:34:53] local.INFO: Teltonika packet parsed successfully {"connection_id":143126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:34:53] local.INFO: Passing IMEI to GPS processor {"connection_id":143126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:34:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":143126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:34:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:34:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 16:34:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 16:34:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998444032001,"66":14157,"121":206,"28":31744,"24":4,"16":8897372646014976,"45":1903333823131168768},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 16:34:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 16:34:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 16:34:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998444032001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:34:53] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 16:34:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 16:34:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8897372646014976,"km_value":8897372646014.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:34:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1903333823131168768,"description":"Unknown IO ID 45"} 
[2026-07-27 16:34:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998444032001,"power":14157,"unknown_121":206,"unknown_28":31744,"ignition":4,"odometer":null,"unknown_45":1903333823131168768}} 
[2026-07-27 16:34:53] local.INFO: DEBUG: GPS processor result {"connection_id":143126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554200,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:34:53] local.INFO: GPS data processed {"connection_id":143126,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:34:53] local.INFO: Acknowledgment sent {"connection_id":143126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:34:58] local.INFO: TCP Data received {"connection_id":143129,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143129,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:34:58] local.INFO: Processing buffer {"connection_id":143129,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:34:58] local.INFO: IMEI packet received {"connection_id":143129,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 16:34:58] local.INFO: IMEI acknowledgment sent {"connection_id":143129,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:34:59] local.INFO: TCP Data received {"connection_id":143129,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143129,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:34:59] local.INFO: Processing buffer {"connection_id":143129,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:34:59] local.INFO: IMEI packet received {"connection_id":143129,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 16:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":143129,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:35:06] local.INFO: TCP Data received {"connection_id":143129,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143129,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:35:06] local.INFO: Processing buffer {"connection_id":143129,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:35:06] local.INFO: IMEI packet received {"connection_id":143129,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 16:35:06] local.INFO: IMEI acknowledgment sent {"connection_id":143129,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:35:08] local.INFO: TCP Data received {"connection_id":143129,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa33f1828012d1a5ec00720e108004401302a..."} 
[2026-07-27 16:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143129,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa33f1828012d1a5ec00720e108004401302a..."} 
[2026-07-27 16:35:08] local.INFO: Processing buffer {"connection_id":143129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa33f1828012d1a5ec00720e108004401302a..."} 
[2026-07-27 16:35:08] local.INFO: Packet analysis {"connection_id":143129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa33f"} 
[2026-07-27 16:35:08] local.INFO: Extracted packet for processing {"connection_id":143129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa33f"} 
[2026-07-27 16:35:08] local.INFO: GPS Element Parsed {"raw_longitude":756702912,"raw_latitude":119595272,"longitude_deg":75.6702912,"latitude_deg":11.9595272,"altitude":68,"angle":304,"satellites":42,"speed":10,"hex_longitude":"2d1a5ec0","hex_latitude":"0720e108","is_valid_coordinates":true} 
[2026-07-27 16:35:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:35:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998458880001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:35:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8897836502482944,"note":"Value kept but may cause issues"} 
[2026-07-27 16:35:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1903826404342097920,"note":"Value kept but may cause issues"} 
[2026-07-27 16:35:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:35:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785150249000,"timestamp_ms":1785150249000,"timestamp_seconds":1785150249,"priority":1,"record_length":96,"hex_timestamp":"0000019fa33f1828"} 
[2026-07-27 16:35:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:35:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-27 16:35:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:35:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:35:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:35:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:35:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:35:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143129,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:35:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143129,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:35:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:35:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 16:35:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 16:35:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998458880001,"66":14265,"70":206,"28":31744,"24":10,"16":8897836502482944,"45":1903826404342097920},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-27 16:35:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 16:35:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 16:35:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998458880001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:35:08] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-27 16:35:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 16:35:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8897836502482944,"km_value":8897836502482.943,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:35:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1903826404342097920,"description":"Unknown IO ID 45"} 
[2026-07-27 16:35:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998458880001,"power":14265,"unknown_70":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1903826404342097920}} 
[2026-07-27 16:35:08] local.INFO: DEBUG: GPS processor result {"connection_id":143129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554201,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:35:08] local.INFO: GPS data processed {"connection_id":143129,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:35:08] local.INFO: Acknowledgment sent {"connection_id":143129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:35:09] local.INFO: TCP Data received {"connection_id":143128,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fa33d5ec0012d9cd70005b360f8001a00092a..."} 
[2026-07-27 16:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa33d5ec0012d9cd70005b360f8001a00092a..."} 
[2026-07-27 16:35:09] local.INFO: Processing buffer {"connection_id":143128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa33d5ec0012d9cd70005b360f8001a00092a..."} 
[2026-07-27 16:35:09] local.INFO: Packet analysis {"connection_id":143128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa33d"} 
[2026-07-27 16:35:09] local.INFO: Extracted packet for processing {"connection_id":143128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa33d"} 
[2026-07-27 16:35:09] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641848,"longitude_deg":76.5253376,"latitude_deg":9.5641848,"altitude":26,"angle":9,"satellites":42,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b360f8","is_valid_coordinates":true} 
[2026-07-27 16:35:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:35:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998357760001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:35:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359071309033897984,"note":"Value kept but may cause issues"} 
[2026-07-27 16:35:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315689472,"note":"Value kept but may cause issues"} 
[2026-07-27 16:35:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:35:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785150136000,"timestamp_ms":1785150136000,"timestamp_seconds":1785150136,"priority":1,"record_length":96,"hex_timestamp":"0000019fa33d5ec0"} 
[2026-07-27 16:35:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:35:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-27 16:35:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:35:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:35:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:35:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:35:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:35:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:35:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:35:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:35:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:35:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:35:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998357760001,"66":25875,"226":206,"83":17408,"24":0,"16":359071309033897984,"45":-7145242259315689472},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-07-27 16:35:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:35:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:35:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998357760001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:35:09] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-27 16:35:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 16:35:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359071309033897984,"km_value":359071309033898.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:35:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315689472,"description":"Unknown IO ID 45"} 
[2026-07-27 16:35:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998357760001,"power":25875,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315689472}} 
[2026-07-27 16:35:09] local.INFO: DEBUG: GPS processor result {"connection_id":143128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:35:09] local.INFO: GPS data processed {"connection_id":143128,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:35:09] local.INFO: Acknowledgment sent {"connection_id":143128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:35:20] local.INFO: TCP Data received {"connection_id":145410,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145410,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:35:20] local.INFO: Processing buffer {"connection_id":145410,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:35:20] local.INFO: IMEI packet received {"connection_id":145410,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 16:35:20] local.INFO: IMEI acknowledgment sent {"connection_id":145410,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:35:21] local.INFO: TCP Data received {"connection_id":145410,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3400288012d0d9a800705d6100013011c20..."} 
[2026-07-27 16:35:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3400288012d0d9a800705d6100013011c20..."} 
[2026-07-27 16:35:21] local.INFO: Processing buffer {"connection_id":145410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3400288012d0d9a800705d6100013011c20..."} 
[2026-07-27 16:35:21] local.INFO: Packet analysis {"connection_id":145410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa340"} 
[2026-07-27 16:35:21] local.INFO: Extracted packet for processing {"connection_id":145410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa340"} 
[2026-07-27 16:35:21] local.INFO: GPS Element Parsed {"raw_longitude":755866240,"raw_latitude":117822992,"longitude_deg":75.586624,"latitude_deg":11.7822992,"altitude":19,"angle":284,"satellites":32,"speed":11,"hex_longitude":"2d0d9a80","hex_latitude":"0705d610","is_valid_coordinates":true} 
[2026-07-27 16:35:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:35:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998478336001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:35:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25959130229374976,"note":"Value kept but may cause issues"} 
[2026-07-27 16:35:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":981362536464295936,"note":"Value kept but may cause issues"} 
[2026-07-27 16:35:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:35:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785150309000,"timestamp_ms":1785150309000,"timestamp_seconds":1785150309,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3400288"} 
[2026-07-27 16:35:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:35:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:35:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-27 16:35:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:35:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:35:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:35:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:35:21] local.INFO: Teltonika packet parsed successfully {"connection_id":145410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:35:21] local.INFO: Passing IMEI to GPS processor {"connection_id":145410,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 16:35:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":145410,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 16:35:21] 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-07-27 16:35:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 16:35:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 16:35:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998478336001,"66":14439,"167":206,"94":11008,"24":11,"16":25959130229374976,"45":981362536464295936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-07-27 16:35:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 16:35:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 16:35:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998478336001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:35:21] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-27 16:35:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-27 16:35:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25959130229374976,"km_value":25959130229374.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:35:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":981362536464295936,"description":"Unknown IO ID 45"} 
[2026-07-27 16:35:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998478336001,"power":14439,"unknown_167":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":981362536464295936}} 
[2026-07-27 16:35:21] local.INFO: DEBUG: GPS processor result {"connection_id":145410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554203,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:35:21] local.INFO: GPS data processed {"connection_id":145410,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:35:21] local.INFO: Acknowledgment sent {"connection_id":145410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:35:32] local.INFO: TCP Data received {"connection_id":144120,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:35:32] local.INFO: Processing buffer {"connection_id":144120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:35:32] local.INFO: IMEI packet received {"connection_id":144120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 16:35:32] local.INFO: IMEI acknowledgment sent {"connection_id":144120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:35:37] local.INFO: TCP Data received {"connection_id":144120,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:35:37] local.INFO: Processing buffer {"connection_id":144120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:35:37] local.INFO: IMEI packet received {"connection_id":144120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 16:35:37] local.INFO: IMEI acknowledgment sent {"connection_id":144120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:35:38] local.INFO: TCP Data received {"connection_id":144120,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fa33d5ec0012d9cd70005b360f8001a00092a..."} 
[2026-07-27 16:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144120,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa33d5ec0012d9cd70005b360f8001a00092a..."} 
[2026-07-27 16:35:38] local.INFO: Processing buffer {"connection_id":144120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa33d5ec0012d9cd70005b360f8001a00092a..."} 
[2026-07-27 16:35:38] local.INFO: Packet analysis {"connection_id":144120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa33d"} 
[2026-07-27 16:35:38] local.INFO: Extracted packet for processing {"connection_id":144120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa33d"} 
[2026-07-27 16:35:38] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641848,"longitude_deg":76.5253376,"latitude_deg":9.5641848,"altitude":26,"angle":9,"satellites":42,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b360f8","is_valid_coordinates":true} 
[2026-07-27 16:35:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:35:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998357760001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:35:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359071309033897984,"note":"Value kept but may cause issues"} 
[2026-07-27 16:35:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315689472,"note":"Value kept but may cause issues"} 
[2026-07-27 16:35:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:35:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785150136000,"timestamp_ms":1785150136000,"timestamp_seconds":1785150136,"priority":1,"record_length":96,"hex_timestamp":"0000019fa33d5ec0"} 
[2026-07-27 16:35:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:35:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 16:35:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-27 16:35:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:35:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:35:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:35:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:35:38] local.INFO: Teltonika packet parsed successfully {"connection_id":144120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:35:38] local.INFO: Passing IMEI to GPS processor {"connection_id":144120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:35:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":144120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:35:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:35:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:35:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:35:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998357760001,"66":25875,"226":206,"83":17408,"24":0,"16":359071309033897984,"45":-7145242259315689472},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-07-27 16:35:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:35:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:35:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998357760001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:35:38] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-27 16:35:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 16:35:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359071309033897984,"km_value":359071309033898.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:35:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315689472,"description":"Unknown IO ID 45"} 
[2026-07-27 16:35:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998357760001,"power":25875,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315689472}} 
[2026-07-27 16:35:38] local.INFO: DEBUG: GPS processor result {"connection_id":144120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:35:38] local.INFO: GPS data processed {"connection_id":144120,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:35:38] local.INFO: Acknowledgment sent {"connection_id":144120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:35:40] local.INFO: TCP Data received {"connection_id":143129,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa33fc7f0012d1a2f400720d9e0004200d82b..."} 
[2026-07-27 16:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143129,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa33fc7f0012d1a2f400720d9e0004200d82b..."} 
[2026-07-27 16:35:40] local.INFO: Processing buffer {"connection_id":143129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa33fc7f0012d1a2f400720d9e0004200d82b..."} 
[2026-07-27 16:35:40] local.INFO: Packet analysis {"connection_id":143129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa33f"} 
[2026-07-27 16:35:40] local.INFO: Extracted packet for processing {"connection_id":143129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa33f"} 
[2026-07-27 16:35:40] local.INFO: GPS Element Parsed {"raw_longitude":756690752,"raw_latitude":119593440,"longitude_deg":75.6690752,"latitude_deg":11.959344,"altitude":66,"angle":216,"satellites":43,"speed":22,"hex_longitude":"2d1a2f40","hex_latitude":"0720d9e0","is_valid_coordinates":true} 
[2026-07-27 16: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-07-27 16:35:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998472448001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:35:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8898716970778624,"note":"Value kept but may cause issues"} 
[2026-07-27 16:35:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1889682286764324864,"note":"Value kept but may cause issues"} 
[2026-07-27 16:35:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:35:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785150294000,"timestamp_ms":1785150294000,"timestamp_seconds":1785150294,"priority":1,"record_length":96,"hex_timestamp":"0000019fa33fc7f0"} 
[2026-07-27 16:35:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:35:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-07-27 16:35:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16: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-07-27 16:35:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:35:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:35:40] local.INFO: Teltonika packet parsed successfully {"connection_id":143129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:35:40] local.INFO: Passing IMEI to GPS processor {"connection_id":143129,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:35:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":143129,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:35:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:35:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 16:35:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 16:35:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998472448001,"66":14211,"121":206,"28":31744,"24":22,"16":8898716970778624,"45":1889682286764324864},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 16:35:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 16:35:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 16:35:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998472448001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:35:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 16:35:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 16:35:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8898716970778624,"km_value":8898716970778.623,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:35:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1889682286764324864,"description":"Unknown IO ID 45"} 
[2026-07-27 16:35:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998472448001,"power":14211,"unknown_121":206,"unknown_28":31744,"ignition":22,"odometer":null,"unknown_45":1889682286764324864}} 
[2026-07-27 16:35:40] local.INFO: DEBUG: GPS processor result {"connection_id":143129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554205,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:35:40] local.INFO: GPS data processed {"connection_id":143129,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:35:40] local.INFO: Acknowledgment sent {"connection_id":143129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:35:52] local.INFO: TCP Data received {"connection_id":145410,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3408758012d0d5b000705d8d00012012a1f..."} 
[2026-07-27 16:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3408758012d0d5b000705d8d00012012a1f..."} 
[2026-07-27 16:35:52] local.INFO: Processing buffer {"connection_id":145410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3408758012d0d5b000705d8d00012012a1f..."} 
[2026-07-27 16:35:52] local.INFO: Packet analysis {"connection_id":145410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa340"} 
[2026-07-27 16:35:52] local.INFO: Extracted packet for processing {"connection_id":145410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa340"} 
[2026-07-27 16:35:52] local.INFO: GPS Element Parsed {"raw_longitude":755849984,"raw_latitude":117823696,"longitude_deg":75.5849984,"latitude_deg":11.7823696,"altitude":18,"angle":298,"satellites":31,"speed":21,"hex_longitude":"2d0d5b00","hex_latitude":"0705d8d0","is_valid_coordinates":true} 
[2026-07-27 16:35:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:35:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998487552001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:35:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25960002107736064,"note":"Value kept but may cause issues"} 
[2026-07-27 16:35:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":962785188001589248,"note":"Value kept but may cause issues"} 
[2026-07-27 16:35:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:35:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785150343000,"timestamp_ms":1785150343000,"timestamp_seconds":1785150343,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3408758"} 
[2026-07-27 16:35:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:35:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:35:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-27 16:35:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2237,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:35:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:35:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:35:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:35:52] local.INFO: Teltonika packet parsed successfully {"connection_id":145410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:35:52] local.INFO: Passing IMEI to GPS processor {"connection_id":145410,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 16:35:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":145410,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 16:35:52] 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-07-27 16:35:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 16:35:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 16:35:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998487552001,"66":14407,"167":206,"94":11008,"24":21,"16":25960002107736064,"45":962785188001589248},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-07-27 16:35:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 16:35:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 16:35:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998487552001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:35:52] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-27 16:35:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-27 16:35:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25960002107736064,"km_value":25960002107736.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:35:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":962785188001589248,"description":"Unknown IO ID 45"} 
[2026-07-27 16:35:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998487552001,"power":14407,"unknown_167":206,"unknown_94":11008,"ignition":21,"odometer":null,"unknown_45":962785188001589248}} 
[2026-07-27 16:35:53] local.INFO: DEBUG: GPS processor result {"connection_id":145410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554206,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:35:53] local.INFO: GPS data processed {"connection_id":145410,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:35:53] local.INFO: Acknowledgment sent {"connection_id":145410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:36:00] local.INFO: TCP Data received {"connection_id":142983,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142983,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:36:00] local.INFO: Processing buffer {"connection_id":142983,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:36:00] local.INFO: IMEI packet received {"connection_id":142983,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 16:36:00] local.INFO: IMEI acknowledgment sent {"connection_id":142983,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:36:00] local.INFO: TCP Data received {"connection_id":142983,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142983,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:36:00] local.INFO: Processing buffer {"connection_id":142983,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:36:00] local.INFO: IMEI packet received {"connection_id":142983,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 16:36:00] local.INFO: IMEI acknowledgment sent {"connection_id":142983,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:36:04] local.INFO: TCP Data received {"connection_id":142983,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142983,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:36:04] local.INFO: Processing buffer {"connection_id":142983,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:36:04] local.INFO: IMEI packet received {"connection_id":142983,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 16:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":142983,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:36:05] local.INFO: TCP Data received {"connection_id":142983,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa33fcfc0012d1a2c400720d6d8004200e62b..."} 
[2026-07-27 16:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa33fcfc0012d1a2c400720d6d8004200e62b..."} 
[2026-07-27 16:36:05] local.INFO: Processing buffer {"connection_id":142983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa33fcfc0012d1a2c400720d6d8004200e62b..."} 
[2026-07-27 16:36:05] local.INFO: Packet analysis {"connection_id":142983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa33f"} 
[2026-07-27 16:36:05] local.INFO: Extracted packet for processing {"connection_id":142983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa33f"} 
[2026-07-27 16:36:05] local.INFO: GPS Element Parsed {"raw_longitude":756689984,"raw_latitude":119592664,"longitude_deg":75.6689984,"latitude_deg":11.9592664,"altitude":66,"angle":230,"satellites":43,"speed":21,"hex_longitude":"2d1a2c40","hex_latitude":"0720d6d8","is_valid_coordinates":true} 
[2026-07-27 16:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:36:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998475264001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:36:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8898772805353472,"note":"Value kept but may cause issues"} 
[2026-07-27 16:36:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1886797168251625472,"note":"Value kept but may cause issues"} 
[2026-07-27 16:36:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:36:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785150296000,"timestamp_ms":1785150296000,"timestamp_seconds":1785150296,"priority":1,"record_length":96,"hex_timestamp":"0000019fa33fcfc0"} 
[2026-07-27 16:36:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:36:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-27 16:36:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:36:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:36:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:36:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:36:05] local.INFO: Teltonika packet parsed successfully {"connection_id":142983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:36:05] local.INFO: Passing IMEI to GPS processor {"connection_id":142983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:36:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":142983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:36:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:36:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 16:36:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 16:36:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998475264001,"66":13439,"121":206,"28":31744,"24":21,"16":8898772805353472,"45":1886797168251625472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 16:36:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 16:36:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 16:36:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998475264001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:36:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 16:36:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 16:36:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8898772805353472,"km_value":8898772805353.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:36:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1886797168251625472,"description":"Unknown IO ID 45"} 
[2026-07-27 16:36:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998475264001,"power":13439,"unknown_121":206,"unknown_28":31744,"ignition":21,"odometer":null,"unknown_45":1886797168251625472}} 
[2026-07-27 16:36:05] local.INFO: DEBUG: GPS processor result {"connection_id":142983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554207,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:36:05] local.INFO: GPS data processed {"connection_id":142983,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:36:05] local.INFO: Acknowledgment sent {"connection_id":142983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:36:06] local.INFO: TCP Data received {"connection_id":142983,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa33fdb78012d1a26800720d378004300f12b..."} 
[2026-07-27 16:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa33fdb78012d1a26800720d378004300f12b..."} 
[2026-07-27 16:36:06] local.INFO: Processing buffer {"connection_id":142983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa33fdb78012d1a26800720d378004300f12b..."} 
[2026-07-27 16:36:06] local.INFO: Packet analysis {"connection_id":142983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa33f"} 
[2026-07-27 16:36:06] local.INFO: Extracted packet for processing {"connection_id":142983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa33f"} 
[2026-07-27 16:36:06] local.INFO: GPS Element Parsed {"raw_longitude":756688512,"raw_latitude":119591800,"longitude_deg":75.6688512,"latitude_deg":11.95918,"altitude":67,"angle":241,"satellites":43,"speed":21,"hex_longitude":"2d1a2680","hex_latitude":"0720d378","is_valid_coordinates":true} 
[2026-07-27 16:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:36:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998475776001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:36:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8898850114764800,"note":"Value kept but may cause issues"} 
[2026-07-27 16:36:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1885952743321294848,"note":"Value kept but may cause issues"} 
[2026-07-27 16:36:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:36:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785150299000,"timestamp_ms":1785150299000,"timestamp_seconds":1785150299,"priority":1,"record_length":96,"hex_timestamp":"0000019fa33fdb78"} 
[2026-07-27 16:36:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:36:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-07-27 16:36:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1601,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:36:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:36:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:36:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:36:06] local.INFO: Teltonika packet parsed successfully {"connection_id":142983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:36:06] local.INFO: Passing IMEI to GPS processor {"connection_id":142983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:36:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":142983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:36:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:36:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 16:36:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 16:36:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998475776001,"66":14254,"121":206,"28":31744,"24":21,"16":8898850114764800,"45":1885952743321294848},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 16:36:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 16:36:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 16:36:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998475776001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:36:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 16:36:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 16:36:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8898850114764800,"km_value":8898850114764.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:36:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1885952743321294848,"description":"Unknown IO ID 45"} 
[2026-07-27 16:36:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998475776001,"power":14254,"unknown_121":206,"unknown_28":31744,"ignition":21,"odometer":null,"unknown_45":1885952743321294848}} 
[2026-07-27 16:36:07] local.INFO: DEBUG: GPS processor result {"connection_id":142983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554208,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:36:07] local.INFO: GPS data processed {"connection_id":142983,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:36:07] local.INFO: Acknowledgment sent {"connection_id":142983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:36:09] local.INFO: TCP Data received {"connection_id":144120,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fa33d5ec0012d9cd70005b360f8001a00092a..."} 
[2026-07-27 16:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144120,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa33d5ec0012d9cd70005b360f8001a00092a..."} 
[2026-07-27 16:36:09] local.INFO: Processing buffer {"connection_id":144120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa33d5ec0012d9cd70005b360f8001a00092a..."} 
[2026-07-27 16:36:09] local.INFO: Packet analysis {"connection_id":144120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa33d"} 
[2026-07-27 16:36:09] local.INFO: Extracted packet for processing {"connection_id":144120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa33d"} 
[2026-07-27 16:36:09] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641848,"longitude_deg":76.5253376,"latitude_deg":9.5641848,"altitude":26,"angle":9,"satellites":42,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b360f8","is_valid_coordinates":true} 
[2026-07-27 16:36:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:36:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998357760001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:36:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359071309033897984,"note":"Value kept but may cause issues"} 
[2026-07-27 16:36:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315689472,"note":"Value kept but may cause issues"} 
[2026-07-27 16:36:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:36:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785150136000,"timestamp_ms":1785150136000,"timestamp_seconds":1785150136,"priority":1,"record_length":96,"hex_timestamp":"0000019fa33d5ec0"} 
[2026-07-27 16:36:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:36:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-27 16:36:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:36:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:36:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:36:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:36:09] local.INFO: Teltonika packet parsed successfully {"connection_id":144120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:36:09] local.INFO: Passing IMEI to GPS processor {"connection_id":144120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:36:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":144120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16: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-07-27 16:36:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:36:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:36:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998357760001,"66":25875,"226":206,"83":17408,"24":0,"16":359071309033897984,"45":-7145242259315689472},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-07-27 16:36:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:36:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:36:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998357760001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:36:09] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-27 16:36:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 16:36:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359071309033897984,"km_value":359071309033898.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:36:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315689472,"description":"Unknown IO ID 45"} 
[2026-07-27 16:36:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998357760001,"power":25875,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315689472}} 
[2026-07-27 16:36:09] local.INFO: DEBUG: GPS processor result {"connection_id":144120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:36:09] local.INFO: GPS data processed {"connection_id":144120,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:36:09] local.INFO: Acknowledgment sent {"connection_id":144120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:36:16] local.INFO: TCP Data received {"connection_id":142984,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142984,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:36:16] local.INFO: Processing buffer {"connection_id":142984,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:36:16] local.INFO: IMEI packet received {"connection_id":142984,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 16:36:16] local.INFO: IMEI acknowledgment sent {"connection_id":142984,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:36:17] local.INFO: TCP Data received {"connection_id":142984,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:36:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142984,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:36:17] local.INFO: Processing buffer {"connection_id":142984,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:36:17] local.INFO: IMEI packet received {"connection_id":142984,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 16:36:17] local.INFO: IMEI acknowledgment sent {"connection_id":142984,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:36:18] local.INFO: TCP Data received {"connection_id":142984,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:36:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142984,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:36:18] local.INFO: Processing buffer {"connection_id":142984,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:36:18] local.INFO: IMEI packet received {"connection_id":142984,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 16:36:18] local.INFO: IMEI acknowledgment sent {"connection_id":142984,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:36:20] local.INFO: TCP Data received {"connection_id":142984,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142984,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:36:20] local.INFO: Processing buffer {"connection_id":142984,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:36:20] local.INFO: IMEI packet received {"connection_id":142984,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 16:36:20] local.INFO: IMEI acknowledgment sent {"connection_id":142984,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:36:31] local.INFO: TCP Data received {"connection_id":145411,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:36:31] local.INFO: Processing buffer {"connection_id":145411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:36:31] local.INFO: IMEI packet received {"connection_id":145411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 16:36:31] local.INFO: IMEI acknowledgment sent {"connection_id":145411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:36:37] local.INFO: TCP Data received {"connection_id":145411,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:36:37] local.INFO: Processing buffer {"connection_id":145411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:36:37] local.INFO: IMEI packet received {"connection_id":145411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 16:36:37] local.INFO: IMEI acknowledgment sent {"connection_id":145411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:36:38] local.INFO: TCP Data received {"connection_id":145411,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fa33d5ec0012d9cd70005b360f8001a00092a..."} 
[2026-07-27 16:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145411,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa33d5ec0012d9cd70005b360f8001a00092a..."} 
[2026-07-27 16:36:38] local.INFO: Processing buffer {"connection_id":145411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa33d5ec0012d9cd70005b360f8001a00092a..."} 
[2026-07-27 16:36:38] local.INFO: Packet analysis {"connection_id":145411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa33d"} 
[2026-07-27 16:36:38] local.INFO: Extracted packet for processing {"connection_id":145411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa33d"} 
[2026-07-27 16:36:38] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641848,"longitude_deg":76.5253376,"latitude_deg":9.5641848,"altitude":26,"angle":9,"satellites":42,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b360f8","is_valid_coordinates":true} 
[2026-07-27 16:36:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:36:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998357760001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:36:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359071309033897984,"note":"Value kept but may cause issues"} 
[2026-07-27 16:36:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315689472,"note":"Value kept but may cause issues"} 
[2026-07-27 16:36:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:36:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785150136000,"timestamp_ms":1785150136000,"timestamp_seconds":1785150136,"priority":1,"record_length":96,"hex_timestamp":"0000019fa33d5ec0"} 
[2026-07-27 16:36:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:36:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 16:36:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-27 16:36:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:36:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:36:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:36:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:36:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:36:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:36:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:36:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:36:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:36:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:36:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998357760001,"66":25875,"226":206,"83":17408,"24":0,"16":359071309033897984,"45":-7145242259315689472},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-07-27 16:36:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:36:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:36:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998357760001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:36:38] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-27 16:36:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 16:36:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359071309033897984,"km_value":359071309033898.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:36:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315689472,"description":"Unknown IO ID 45"} 
[2026-07-27 16:36:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998357760001,"power":25875,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315689472}} 
[2026-07-27 16:36:38] local.INFO: TCP Data received {"connection_id":142983,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa340ae68012d19cb000720a440003500f225..."} 
[2026-07-27 16:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa340ae68012d19cb000720a440003500f225..."} 
[2026-07-27 16:36:38] local.INFO: Processing buffer {"connection_id":142983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa340ae68012d19cb000720a440003500f225..."} 
[2026-07-27 16:36:38] local.INFO: Packet analysis {"connection_id":142983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa340"} 
[2026-07-27 16:36:38] local.INFO: Extracted packet for processing {"connection_id":142983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa340"} 
[2026-07-27 16:36:38] local.INFO: GPS Element Parsed {"raw_longitude":756665088,"raw_latitude":119579712,"longitude_deg":75.6665088,"latitude_deg":11.9579712,"altitude":53,"angle":242,"satellites":37,"speed":15,"hex_longitude":"2d19cb00","hex_latitude":"0720a440","is_valid_coordinates":true} 
[2026-07-27 16:36:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:36:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998487040001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:36:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8900151489855488,"note":"Value kept but may cause issues"} 
[2026-07-27 16:36:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1862027370298357760,"note":"Value kept but may cause issues"} 
[2026-07-27 16:36:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:36:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785150353000,"timestamp_ms":1785150353000,"timestamp_seconds":1785150353,"priority":1,"record_length":96,"hex_timestamp":"0000019fa340ae68"} 
[2026-07-27 16:36:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:36:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:36:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-27 16:36:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:36:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:36:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:36:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:36:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:36:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:36:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:36:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:36:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 16:36:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 16:36:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998487040001,"66":14102,"121":206,"28":31744,"24":15,"16":8900151489855488,"45":1862027370298357760},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 16:36:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 16:36:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 16:36:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998487040001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:36:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 16:36:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 16:36:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8900151489855488,"km_value":8900151489855.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:36:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1862027370298357760,"description":"Unknown IO ID 45"} 
[2026-07-27 16:36:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998487040001,"power":14102,"unknown_121":206,"unknown_28":31744,"ignition":15,"odometer":null,"unknown_45":1862027370298357760}} 
[2026-07-27 16:36:38] local.INFO: DEBUG: GPS processor result {"connection_id":145411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:36:38] local.INFO: GPS data processed {"connection_id":145411,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:36:38] local.INFO: Acknowledgment sent {"connection_id":145411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:36:38] local.INFO: DEBUG: GPS processor result {"connection_id":142983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554211,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:36:38] local.INFO: GPS data processed {"connection_id":142983,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:36:38] local.INFO: Acknowledgment sent {"connection_id":142983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:37:00] local.INFO: TCP Data received {"connection_id":142985,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142985,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:37:00] local.INFO: Processing buffer {"connection_id":142985,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:37:00] local.INFO: IMEI packet received {"connection_id":142985,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 16:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":142985,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:37:04] local.INFO: TCP Data received {"connection_id":142985,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142985,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:37:04] local.INFO: Processing buffer {"connection_id":142985,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:37:04] local.INFO: IMEI packet received {"connection_id":142985,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 16:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":142985,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:37:06] local.INFO: TCP Data received {"connection_id":142985,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa340b250012d19c9800720a3d80035010525..."} 
[2026-07-27 16:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142985,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa340b250012d19c9800720a3d80035010525..."} 
[2026-07-27 16:37:06] local.INFO: Processing buffer {"connection_id":142985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa340b250012d19c9800720a3d80035010525..."} 
[2026-07-27 16:37:06] local.INFO: Packet analysis {"connection_id":142985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa340"} 
[2026-07-27 16:37:06] local.INFO: Extracted packet for processing {"connection_id":142985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa340"} 
[2026-07-27 16:37:06] local.INFO: GPS Element Parsed {"raw_longitude":756664704,"raw_latitude":119579608,"longitude_deg":75.6664704,"latitude_deg":11.9579608,"altitude":53,"angle":261,"satellites":37,"speed":17,"hex_longitude":"2d19c980","hex_latitude":"0720a3d8","is_valid_coordinates":true} 
[2026-07-27 16:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:37:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998490368001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:37:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8900172964691968,"note":"Value kept but may cause issues"} 
[2026-07-27 16:37:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858579301832867840,"note":"Value kept but may cause issues"} 
[2026-07-27 16:37:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:37:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785150354000,"timestamp_ms":1785150354000,"timestamp_seconds":1785150354,"priority":1,"record_length":96,"hex_timestamp":"0000019fa340b250"} 
[2026-07-27 16:37:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:37:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-27 16:37:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:37:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:37:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:37:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:37:06] local.INFO: Teltonika packet parsed successfully {"connection_id":142985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:37:06] local.INFO: Passing IMEI to GPS processor {"connection_id":142985,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:37:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":142985,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:37:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:37:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 16:37:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 16:37:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998490368001,"66":14102,"121":206,"28":31744,"24":17,"16":8900172964691968,"45":1858579301832867840},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 16:37:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 16:37:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 16:37:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998490368001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:37:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 16:37:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 16:37:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8900172964691968,"km_value":8900172964691.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:37:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858579301832867840,"description":"Unknown IO ID 45"} 
[2026-07-27 16:37:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998490368001,"power":14102,"unknown_121":206,"unknown_28":31744,"ignition":17,"odometer":null,"unknown_45":1858579301832867840}} 
[2026-07-27 16:37:06] local.INFO: DEBUG: GPS processor result {"connection_id":142985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554212,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:37:06] local.INFO: GPS data processed {"connection_id":142985,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:37:06] local.INFO: Acknowledgment sent {"connection_id":142985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:37:09] local.INFO: TCP Data received {"connection_id":145411,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fa33d5ec0012d9cd70005b360f8001a00092a..."} 
[2026-07-27 16:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145411,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa33d5ec0012d9cd70005b360f8001a00092a..."} 
[2026-07-27 16:37:09] local.INFO: Processing buffer {"connection_id":145411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa33d5ec0012d9cd70005b360f8001a00092a..."} 
[2026-07-27 16:37:09] local.INFO: Packet analysis {"connection_id":145411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa33d"} 
[2026-07-27 16:37:09] local.INFO: Extracted packet for processing {"connection_id":145411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa33d"} 
[2026-07-27 16:37:09] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641848,"longitude_deg":76.5253376,"latitude_deg":9.5641848,"altitude":26,"angle":9,"satellites":42,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b360f8","is_valid_coordinates":true} 
[2026-07-27 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-07-27 16:37:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998357760001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:37:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359071309033897984,"note":"Value kept but may cause issues"} 
[2026-07-27 16:37:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315689472,"note":"Value kept but may cause issues"} 
[2026-07-27 16:37:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:37:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785150136000,"timestamp_ms":1785150136000,"timestamp_seconds":1785150136,"priority":1,"record_length":96,"hex_timestamp":"0000019fa33d5ec0"} 
[2026-07-27 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-07-27 16:37:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-27 16:37:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 16:37:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:37:09] local.INFO: Teltonika packet parsed successfully {"connection_id":145411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:37:09] local.INFO: Passing IMEI to GPS processor {"connection_id":145411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:37:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":145411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16: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-07-27 16:37:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:37:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:37:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998357760001,"66":25875,"226":206,"83":17408,"24":0,"16":359071309033897984,"45":-7145242259315689472},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-07-27 16:37:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:37:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:37:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998357760001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:37:09] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-27 16:37:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 16:37:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359071309033897984,"km_value":359071309033898.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:37:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315689472,"description":"Unknown IO ID 45"} 
[2026-07-27 16:37:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998357760001,"power":25875,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315689472}} 
[2026-07-27 16:37:09] local.INFO: DEBUG: GPS processor result {"connection_id":145411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:37:09] local.INFO: GPS data processed {"connection_id":145411,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:37:09] local.INFO: Acknowledgment sent {"connection_id":145411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:37:31] local.INFO: TCP Data received {"connection_id":143130,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:37:31] local.INFO: Processing buffer {"connection_id":143130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:37:31] local.INFO: IMEI packet received {"connection_id":143130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 16:37:31] local.INFO: IMEI acknowledgment sent {"connection_id":143130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:37:37] local.INFO: TCP Data received {"connection_id":143130,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:37:37] local.INFO: Processing buffer {"connection_id":143130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:37:37] local.INFO: IMEI packet received {"connection_id":143130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 16:37:37] local.INFO: IMEI acknowledgment sent {"connection_id":143130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:37:37] local.INFO: TCP Data received {"connection_id":143130,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fa33d5ec0012d9cd70005b360f8001a00092a..."} 
[2026-07-27 16:37:37] local.INFO: TCP Data received {"connection_id":142985,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa340ba20012d19c6c00720a3d00035011226..."} 
[2026-07-27 16:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143130,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa33d5ec0012d9cd70005b360f8001a00092a..."} 
[2026-07-27 16:37:37] local.INFO: Processing buffer {"connection_id":143130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa33d5ec0012d9cd70005b360f8001a00092a..."} 
[2026-07-27 16:37:37] local.INFO: Packet analysis {"connection_id":143130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa33d"} 
[2026-07-27 16:37:37] local.INFO: Extracted packet for processing {"connection_id":143130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa33d"} 
[2026-07-27 16:37:37] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641848,"longitude_deg":76.5253376,"latitude_deg":9.5641848,"altitude":26,"angle":9,"satellites":42,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b360f8","is_valid_coordinates":true} 
[2026-07-27 16:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998357760001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359071309033897984,"note":"Value kept but may cause issues"} 
[2026-07-27 16:37:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315689472,"note":"Value kept but may cause issues"} 
[2026-07-27 16:37:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785150136000,"timestamp_ms":1785150136000,"timestamp_seconds":1785150136,"priority":1,"record_length":96,"hex_timestamp":"0000019fa33d5ec0"} 
[2026-07-27 16:37:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:37:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 16:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-27 16:37:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:37:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:37:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:37:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142985,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa340ba20012d19c6c00720a3d00035011226..."} 
[2026-07-27 16:37:37] local.INFO: Processing buffer {"connection_id":142985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa340ba20012d19c6c00720a3d00035011226..."} 
[2026-07-27 16:37:37] local.INFO: Packet analysis {"connection_id":142985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa340"} 
[2026-07-27 16:37:37] local.INFO: Extracted packet for processing {"connection_id":142985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa340"} 
[2026-07-27 16:37:37] local.INFO: GPS Element Parsed {"raw_longitude":756664000,"raw_latitude":119579600,"longitude_deg":75.6664,"latitude_deg":11.95796,"altitude":53,"angle":274,"satellites":38,"speed":14,"hex_longitude":"2d19c6c0","hex_latitude":"0720a3d0","is_valid_coordinates":true} 
[2026-07-27 16:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998490624001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8900207324430336,"note":"Value kept but may cause issues"} 
[2026-07-27 16:37:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858157089367775232,"note":"Value kept but may cause issues"} 
[2026-07-27 16:37:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785150356000,"timestamp_ms":1785150356000,"timestamp_seconds":1785150356,"priority":1,"record_length":96,"hex_timestamp":"0000019fa340ba20"} 
[2026-07-27 16:37:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:37:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-27 16:37:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:37:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:37:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":142985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":142985,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":142985,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:37:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 16:37:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998357760001,"66":25875,"226":206,"83":17408,"24":0,"16":359071309033897984,"45":-7145242259315689472},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-07-27 16:37:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 16:37:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:37:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998357760001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:37:37] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-27 16:37:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 16:37:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359071309033897984,"km_value":359071309033898.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:37:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315689472,"description":"Unknown IO ID 45"} 
[2026-07-27 16:37:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998490624001,"66":14004,"121":206,"28":31744,"24":14,"16":8900207324430336,"45":1858157089367775232},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 16:37:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998357760001,"power":25875,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315689472}} 
[2026-07-27 16:37:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 16:37:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 16:37:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998490624001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:37:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 16:37:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 16:37:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8900207324430336,"km_value":8900207324430.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:37:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858157089367775232,"description":"Unknown IO ID 45"} 
[2026-07-27 16:37:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998490624001,"power":14004,"unknown_121":206,"unknown_28":31744,"ignition":14,"odometer":null,"unknown_45":1858157089367775232}} 
[2026-07-27 16:37:38] local.INFO: DEBUG: GPS processor result {"connection_id":143130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:37:38] local.INFO: GPS data processed {"connection_id":143130,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:37:38] local.INFO: Acknowledgment sent {"connection_id":143130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:37:38] local.INFO: DEBUG: GPS processor result {"connection_id":142985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554215,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:37:38] local.INFO: GPS data processed {"connection_id":142985,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:37:38] local.INFO: Acknowledgment sent {"connection_id":142985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:38:00] local.INFO: TCP Data received {"connection_id":144123,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144123,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:38:00] local.INFO: Processing buffer {"connection_id":144123,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:38:00] local.INFO: IMEI packet received {"connection_id":144123,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 16:38:00] local.INFO: IMEI acknowledgment sent {"connection_id":144123,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:38:00] local.INFO: TCP Data received {"connection_id":144123,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144123,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:38:00] local.INFO: Processing buffer {"connection_id":144123,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:38:00] local.INFO: IMEI packet received {"connection_id":144123,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 16:38:00] local.INFO: IMEI acknowledgment sent {"connection_id":144123,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:38:04] local.INFO: TCP Data received {"connection_id":144123,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144123,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:38:04] local.INFO: Processing buffer {"connection_id":144123,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:38:04] local.INFO: IMEI packet received {"connection_id":144123,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 16:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":144123,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:38:05] local.INFO: TCP Data received {"connection_id":144123,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa340d190012d19bfc00720a5380036011f2a..."} 
[2026-07-27 16:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa340d190012d19bfc00720a5380036011f2a..."} 
[2026-07-27 16:38:05] local.INFO: Processing buffer {"connection_id":144123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa340d190012d19bfc00720a5380036011f2a..."} 
[2026-07-27 16:38:05] local.INFO: Packet analysis {"connection_id":144123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa340"} 
[2026-07-27 16:38:05] local.INFO: Extracted packet for processing {"connection_id":144123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa340"} 
[2026-07-27 16:38:05] local.INFO: GPS Element Parsed {"raw_longitude":756662208,"raw_latitude":119579960,"longitude_deg":75.6662208,"latitude_deg":11.957996,"altitude":54,"angle":287,"satellites":42,"speed":7,"hex_longitude":"2d19bfc0","hex_latitude":"0720a538","is_valid_coordinates":true} 
[2026-07-27 16:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:38:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998491136001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:38:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8900293223776256,"note":"Value kept but may cause issues"} 
[2026-07-27 16:38:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857383033181818880,"note":"Value kept but may cause issues"} 
[2026-07-27 16:38:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:38:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785150362000,"timestamp_ms":1785150362000,"timestamp_seconds":1785150362,"priority":1,"record_length":96,"hex_timestamp":"0000019fa340d190"} 
[2026-07-27 16:38:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:38:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-07-27 16:38:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:38:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:38:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:38:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:38:05] local.INFO: Teltonika packet parsed successfully {"connection_id":144123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:38:05] local.INFO: Passing IMEI to GPS processor {"connection_id":144123,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:38:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":144123,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:38:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:38:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 16:38:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 16:38:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998491136001,"66":14004,"121":206,"28":31744,"24":7,"16":8900293223776256,"45":1857383033181818880},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 16:38:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 16:38:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 16:38:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998491136001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:38:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 16:38:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 16:38:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8900293223776256,"km_value":8900293223776.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:38:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857383033181818880,"description":"Unknown IO ID 45"} 
[2026-07-27 16:38:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998491136001,"power":14004,"unknown_121":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1857383033181818880}} 
[2026-07-27 16:38:05] local.INFO: DEBUG: GPS processor result {"connection_id":144123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554216,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:38:05] local.INFO: GPS data processed {"connection_id":144123,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:38:05] local.INFO: Acknowledgment sent {"connection_id":144123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:38:09] local.INFO: TCP Data received {"connection_id":143130,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fa341f688012d9cd70005b360f8001a000924..."} 
[2026-07-27 16:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143130,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa341f688012d9cd70005b360f8001a000924..."} 
[2026-07-27 16:38:09] local.INFO: Processing buffer {"connection_id":143130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa341f688012d9cd70005b360f8001a000924..."} 
[2026-07-27 16:38:09] local.INFO: Packet analysis {"connection_id":143130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa341"} 
[2026-07-27 16:38:09] local.INFO: Extracted packet for processing {"connection_id":143130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa341"} 
[2026-07-27 16:38:09] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641848,"longitude_deg":76.5253376,"latitude_deg":9.5641848,"altitude":26,"angle":9,"satellites":36,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b360f8","is_valid_coordinates":true} 
[2026-07-27 16:38:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:38:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998434816001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:38:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359071309033897984,"note":"Value kept but may cause issues"} 
[2026-07-27 16:38:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315689472,"note":"Value kept but may cause issues"} 
[2026-07-27 16:38:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:38:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785150437000,"timestamp_ms":1785150437000,"timestamp_seconds":1785150437,"priority":1,"record_length":96,"hex_timestamp":"0000019fa341f688"} 
[2026-07-27 16:38:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:38:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 16:38:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-27 16:38:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:38:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:38:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:38:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:38:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:38:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:38:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:38:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:38:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:38:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:38:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998434816001,"66":25778,"226":206,"83":17408,"24":0,"16":359071309033897984,"45":-7145242259315689472},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-07-27 16:38:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:38:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:38:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998434816001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:38:09] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-27 16:38:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 16:38:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359071309033897984,"km_value":359071309033898.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:38:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315689472,"description":"Unknown IO ID 45"} 
[2026-07-27 16:38:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998434816001,"power":25778,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315689472}} 
[2026-07-27 16:38:09] local.INFO: DEBUG: GPS processor result {"connection_id":143130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:38:09] local.INFO: GPS data processed {"connection_id":143130,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:38:09] local.INFO: Acknowledgment sent {"connection_id":143130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:38:31] local.INFO: TCP Data received {"connection_id":145414,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:38:31] local.INFO: Processing buffer {"connection_id":145414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:38:31] local.INFO: IMEI packet received {"connection_id":145414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 16:38:31] local.INFO: IMEI acknowledgment sent {"connection_id":145414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:38:37] local.INFO: TCP Data received {"connection_id":145414,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:38:37] local.INFO: Processing buffer {"connection_id":145414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:38:37] local.INFO: IMEI packet received {"connection_id":145414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 16:38:37] local.INFO: IMEI acknowledgment sent {"connection_id":145414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:38:38] local.INFO: TCP Data received {"connection_id":145414,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa341f688012d9cd70005b360f8001a000924..."} 
[2026-07-27 16:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145414,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa341f688012d9cd70005b360f8001a000924..."} 
[2026-07-27 16:38:38] local.INFO: Processing buffer {"connection_id":145414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa341f688012d9cd70005b360f8001a000924..."} 
[2026-07-27 16:38:38] local.INFO: Packet analysis {"connection_id":145414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa341"} 
[2026-07-27 16:38:38] local.INFO: Extracted packet for processing {"connection_id":145414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa341"} 
[2026-07-27 16:38:38] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641848,"longitude_deg":76.5253376,"latitude_deg":9.5641848,"altitude":26,"angle":9,"satellites":36,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b360f8","is_valid_coordinates":true} 
[2026-07-27 16:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:38:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998434816001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:38:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359071309033897984,"note":"Value kept but may cause issues"} 
[2026-07-27 16:38:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315689472,"note":"Value kept but may cause issues"} 
[2026-07-27 16:38:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:38:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785150437000,"timestamp_ms":1785150437000,"timestamp_seconds":1785150437,"priority":1,"record_length":96,"hex_timestamp":"0000019fa341f688"} 
[2026-07-27 16:38:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:38:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 16:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-27 16:38:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:38:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:38:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:38:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:38:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:38:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:38:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:38:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:38:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:38:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:38:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998434816001,"66":25778,"226":206,"83":17408,"24":0,"16":359071309033897984,"45":-7145242259315689472},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-07-27 16:38:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:38:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:38:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998434816001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:38:38] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-27 16:38:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 16:38:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359071309033897984,"km_value":359071309033898.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:38:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315689472,"description":"Unknown IO ID 45"} 
[2026-07-27 16:38:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998434816001,"power":25778,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315689472}} 
[2026-07-27 16:38:38] local.INFO: DEBUG: GPS processor result {"connection_id":145414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:38:38] local.INFO: GPS data processed {"connection_id":145414,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:38:38] local.INFO: Acknowledgment sent {"connection_id":145414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:38:38] local.INFO: TCP Data received {"connection_id":144123,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3426000012d190ec00720c688003b012728..."} 
[2026-07-27 16:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3426000012d190ec00720c688003b012728..."} 
[2026-07-27 16:38:38] local.INFO: Processing buffer {"connection_id":144123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3426000012d190ec00720c688003b012728..."} 
[2026-07-27 16:38:38] local.INFO: Packet analysis {"connection_id":144123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa342"} 
[2026-07-27 16:38:38] local.INFO: Extracted packet for processing {"connection_id":144123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa342"} 
[2026-07-27 16:38:38] local.INFO: GPS Element Parsed {"raw_longitude":756616896,"raw_latitude":119588488,"longitude_deg":75.6616896,"latitude_deg":11.9588488,"altitude":59,"angle":295,"satellites":40,"speed":33,"hex_longitude":"2d190ec0","hex_latitude":"0720c688","is_valid_coordinates":true} 
[2026-07-27 16:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:38:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998516224001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:38:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8902573851410432,"note":"Value kept but may cause issues"} 
[2026-07-27 16:38:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1815302524164945920,"note":"Value kept but may cause issues"} 
[2026-07-27 16:38:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:38:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785150464000,"timestamp_ms":1785150464000,"timestamp_seconds":1785150464,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3426000"} 
[2026-07-27 16:38:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:38:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-07-27 16:38:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:38:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:38:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:38:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:38:38] local.INFO: Teltonika packet parsed successfully {"connection_id":144123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:38:38] local.INFO: Passing IMEI to GPS processor {"connection_id":144123,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:38:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":144123,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:38:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:38:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 16:38:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 16:38:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998516224001,"66":14157,"121":206,"28":31744,"24":33,"16":8902573851410432,"45":1815302524164945920},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 16:38:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 16:38:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 16:38:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998516224001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:38:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 16:38:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 16:38:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8902573851410432,"km_value":8902573851410.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:38:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1815302524164945920,"description":"Unknown IO ID 45"} 
[2026-07-27 16:38:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998516224001,"power":14157,"unknown_121":206,"unknown_28":31744,"ignition":33,"odometer":null,"unknown_45":1815302524164945920}} 
[2026-07-27 16:38:38] local.INFO: DEBUG: GPS processor result {"connection_id":144123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554219,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:38:38] local.INFO: GPS data processed {"connection_id":144123,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:38:38] local.INFO: Acknowledgment sent {"connection_id":144123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:38:59] local.INFO: TCP Data received {"connection_id":145415,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145415,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:38:59] local.INFO: Processing buffer {"connection_id":145415,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:38:59] local.INFO: IMEI packet received {"connection_id":145415,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 16:38:59] local.INFO: IMEI acknowledgment sent {"connection_id":145415,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:39:02] local.INFO: TCP Data received {"connection_id":145415,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145415,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:39:02] local.INFO: Processing buffer {"connection_id":145415,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:39:02] local.INFO: IMEI packet received {"connection_id":145415,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 16:39:02] local.INFO: IMEI acknowledgment sent {"connection_id":145415,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:39:05] local.INFO: TCP Data received {"connection_id":145415,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145415,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:39:05] local.INFO: Processing buffer {"connection_id":145415,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:39:05] local.INFO: IMEI packet received {"connection_id":145415,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 16:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":145415,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:39:05] local.INFO: TCP Data received {"connection_id":145415,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3428328012d18f6800720d5d80042013429..."} 
[2026-07-27 16:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145415,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3428328012d18f6800720d5d80042013429..."} 
[2026-07-27 16:39:05] local.INFO: Processing buffer {"connection_id":145415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3428328012d18f6800720d5d80042013429..."} 
[2026-07-27 16:39:05] local.INFO: Packet analysis {"connection_id":145415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa342"} 
[2026-07-27 16:39:05] local.INFO: Extracted packet for processing {"connection_id":145415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa342"} 
[2026-07-27 16:39:05] local.INFO: GPS Element Parsed {"raw_longitude":756610688,"raw_latitude":119592408,"longitude_deg":75.6610688,"latitude_deg":11.9592408,"altitude":66,"angle":308,"satellites":41,"speed":34,"hex_longitude":"2d18f680","hex_latitude":"0720d5d8","is_valid_coordinates":true} 
[2026-07-27 16:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:39:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998518784001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:39:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8902926038728704,"note":"Value kept but may cause issues"} 
[2026-07-27 16:39:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1805591637469333504,"note":"Value kept but may cause issues"} 
[2026-07-27 16:39:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:39:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785150473000,"timestamp_ms":1785150473000,"timestamp_seconds":1785150473,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3428328"} 
[2026-07-27 16:39:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:39:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-27 16:39:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:39:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:39:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:39:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:39:05] local.INFO: Teltonika packet parsed successfully {"connection_id":145415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:39:05] local.INFO: Passing IMEI to GPS processor {"connection_id":145415,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:39:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":145415,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:39:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:39:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 16:39:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 16:39:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998518784001,"66":14341,"121":206,"28":31744,"24":34,"16":8902926038728704,"45":1805591637469333504},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 16:39:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 16:39:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 16:39:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998518784001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:39:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 16:39:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 16:39:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8902926038728704,"km_value":8902926038728.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:39:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1805591637469333504,"description":"Unknown IO ID 45"} 
[2026-07-27 16:39:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998518784001,"power":14341,"unknown_121":206,"unknown_28":31744,"ignition":34,"odometer":null,"unknown_45":1805591637469333504}} 
[2026-07-27 16:39:06] local.INFO: DEBUG: GPS processor result {"connection_id":145415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554220,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:39:06] local.INFO: GPS data processed {"connection_id":145415,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:39:06] local.INFO: Acknowledgment sent {"connection_id":145415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:39:06] local.INFO: TCP Data received {"connection_id":145415,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3428ee0012d18ef800720dd80004301412a..."} 
[2026-07-27 16:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145415,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3428ee0012d18ef800720dd80004301412a..."} 
[2026-07-27 16:39:06] local.INFO: Processing buffer {"connection_id":145415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3428ee0012d18ef800720dd80004301412a..."} 
[2026-07-27 16:39:06] local.INFO: Packet analysis {"connection_id":145415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa342"} 
[2026-07-27 16:39:06] local.INFO: Extracted packet for processing {"connection_id":145415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa342"} 
[2026-07-27 16:39:06] local.INFO: GPS Element Parsed {"raw_longitude":756608896,"raw_latitude":119594368,"longitude_deg":75.6608896,"latitude_deg":11.9594368,"altitude":67,"angle":321,"satellites":42,"speed":36,"hex_longitude":"2d18ef80","hex_latitude":"0720dd80","is_valid_coordinates":true} 
[2026-07-27 16:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:39:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998521088001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:39:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8903054887747584,"note":"Value kept but may cause issues"} 
[2026-07-27 16:39:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1798765869285103616,"note":"Value kept but may cause issues"} 
[2026-07-27 16:39:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:39:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785150476000,"timestamp_ms":1785150476000,"timestamp_seconds":1785150476,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3428ee0"} 
[2026-07-27 16:39:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:39:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-27 16:39:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6973243847,"note":"Value kept but may cause issues"} 
[2026-07-27 16:39:06] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503735454334976,"note":"Value kept but may cause issues"} 
[2026-07-27 16:39:06] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2739010160,"note":"Value kept but may cause issues"} 
[2026-07-27 16:39:06] local.WARNING: Large IO value detected {"io_id":40,"raw_value":17171086680528896,"note":"Value kept but may cause issues"} 
[2026-07-27 16:39:06] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2923429941,"note":"Value kept but may cause issues"} 
[2026-07-27 16:39:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-27 16:39:06] local.WARNING: Large IO value detected {"io_id":80,"raw_value":2147950762,"note":"Value kept but may cause issues"} 
[2026-07-27 16:39:06] local.WARNING: Large IO value detected {"io_id":54,"raw_value":2298531303,"note":"Value kept but may cause issues"} 
[2026-07-27 16:39:06] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2685140992,"note":"Value kept but may cause issues"} 
[2026-07-27 16:39:06] local.WARNING: Large IO value detected {"io_id":168,"raw_value":84752005536882865,"note":"Value kept but may cause issues"} 
[2026-07-27 16:39:06] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,121,28,24,241,158,16,161,159,96,45,192,198,59,40,10,66,160,56,64,184,53,41,1,240,33,163,32,4,113,205,29,80,48,38,239,54,2,31,7,206,168],"length":529,"final_offset":659,"validated_count":42,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-07-27 16:39:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4756140032180486144,"timestamp_seconds":4756140032180486.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 16:39:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:39:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:39:06] local.INFO: Teltonika packet parsed successfully {"connection_id":145415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:39:06] local.INFO: Passing IMEI to GPS processor {"connection_id":145415,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:39:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":145415,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:39:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:39:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 16:39:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 16:39:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998521088001,"66":14211,"121":206,"28":31744,"24":36,"16":8903054887747584,"45":1798765869285103616},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 16:39:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 16:39:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 16:39:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998521088001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:39:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 16:39:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 16:39:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8903054887747584,"km_value":8903054887747.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:39:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1798765869285103616,"description":"Unknown IO ID 45"} 
[2026-07-27 16:39:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998521088001,"power":14211,"unknown_121":206,"unknown_28":31744,"ignition":36,"odometer":null,"unknown_45":1798765869285103616}} 
[2026-07-27 16:39:06] local.INFO: DEBUG: GPS processor result {"connection_id":145415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554221,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:39:06] local.INFO: GPS data processed {"connection_id":145415,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:39:06] local.INFO: Acknowledgment sent {"connection_id":145415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:39:09] local.INFO: TCP Data received {"connection_id":145414,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa341f688012d9cd70005b360f8001a000924..."} 
[2026-07-27 16:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145414,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa341f688012d9cd70005b360f8001a000924..."} 
[2026-07-27 16:39:09] local.INFO: Processing buffer {"connection_id":145414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa341f688012d9cd70005b360f8001a000924..."} 
[2026-07-27 16:39:09] local.INFO: Packet analysis {"connection_id":145414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa341"} 
[2026-07-27 16:39:09] local.INFO: Extracted packet for processing {"connection_id":145414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa341"} 
[2026-07-27 16:39:09] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641848,"longitude_deg":76.5253376,"latitude_deg":9.5641848,"altitude":26,"angle":9,"satellites":36,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b360f8","is_valid_coordinates":true} 
[2026-07-27 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-07-27 16:39:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998434816001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:39:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359071309033897984,"note":"Value kept but may cause issues"} 
[2026-07-27 16:39:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315689472,"note":"Value kept but may cause issues"} 
[2026-07-27 16:39:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:39:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785150437000,"timestamp_ms":1785150437000,"timestamp_seconds":1785150437,"priority":1,"record_length":96,"hex_timestamp":"0000019fa341f688"} 
[2026-07-27 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-07-27 16:39:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-27 16:39:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 16:39:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:39:09] local.INFO: Teltonika packet parsed successfully {"connection_id":145414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:39:09] local.INFO: Passing IMEI to GPS processor {"connection_id":145414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:39:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":145414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:39:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:39:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:39:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:39:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998434816001,"66":25778,"226":206,"83":17408,"24":0,"16":359071309033897984,"45":-7145242259315689472},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-07-27 16:39:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:39:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:39:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998434816001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:39:09] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-27 16:39:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 16:39:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359071309033897984,"km_value":359071309033898.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:39:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315689472,"description":"Unknown IO ID 45"} 
[2026-07-27 16:39:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998434816001,"power":25778,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315689472}} 
[2026-07-27 16:39:09] local.INFO: DEBUG: GPS processor result {"connection_id":145414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:39:09] local.INFO: GPS data processed {"connection_id":145414,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:39:09] local.INFO: Acknowledgment sent {"connection_id":145414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:39:13] local.INFO: TCP Data received {"connection_id":143131,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143131,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:39:13] local.INFO: Processing buffer {"connection_id":143131,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:39:13] local.INFO: IMEI packet received {"connection_id":143131,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 16:39:13] local.INFO: IMEI acknowledgment sent {"connection_id":143131,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:39:14] local.INFO: TCP Data received {"connection_id":143131,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3438110012d7a2a4005e45f400010014b25..."} 
[2026-07-27 16:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143131,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3438110012d7a2a4005e45f400010014b25..."} 
[2026-07-27 16:39:14] local.INFO: Processing buffer {"connection_id":143131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3438110012d7a2a4005e45f400010014b25..."} 
[2026-07-27 16:39:14] local.INFO: Packet analysis {"connection_id":143131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa343"} 
[2026-07-27 16:39:14] local.INFO: Extracted packet for processing {"connection_id":143131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa343"} 
[2026-07-27 16:39:14] local.INFO: GPS Element Parsed {"raw_longitude":762980928,"raw_latitude":98852672,"longitude_deg":76.2980928,"latitude_deg":9.8852672,"altitude":16,"angle":331,"satellites":37,"speed":14,"hex_longitude":"2d7a2a40","hex_latitude":"05e45f40","is_valid_coordinates":true} 
[2026-07-27 16:39:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:39:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998537216001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:39:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111671743856246784,"note":"Value kept but may cause issues"} 
[2026-07-27 16:39:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8803481765652772864,"note":"Value kept but may cause issues"} 
[2026-07-27 16:39:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:39:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785150538000,"timestamp_ms":1785150538000,"timestamp_seconds":1785150538,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3438110"} 
[2026-07-27 16:39:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:39:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:39:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-27 16:39:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:39:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:39:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:39:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:39:14] local.INFO: Teltonika packet parsed successfully {"connection_id":143131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:39:14] local.INFO: Passing IMEI to GPS processor {"connection_id":143131,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:39:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":143131,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:39:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:39:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 16:39:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 16:39:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998537216001,"66":12156,"97":206,"85":15104,"24":14,"16":111671743856246784,"45":8803481765652772864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-27 16:39:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 16:39:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 16:39:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998537216001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:39:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-27 16:39:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 16:39:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111671743856246784,"km_value":111671743856246.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:39:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8803481765652772864,"description":"Unknown IO ID 45"} 
[2026-07-27 16:39:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998537216001,"power":12156,"unknown_97":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":8803481765652772864}} 
[2026-07-27 16:39:14] local.INFO: DEBUG: GPS processor result {"connection_id":143131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554223,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:39:14] local.INFO: GPS data processed {"connection_id":143131,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:39:14] local.INFO: Acknowledgment sent {"connection_id":143131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:39:37] local.INFO: TCP Data received {"connection_id":142986,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:39:37] local.INFO: Processing buffer {"connection_id":142986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:39:37] local.INFO: IMEI packet received {"connection_id":142986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 16:39:37] local.INFO: IMEI acknowledgment sent {"connection_id":142986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:39:38] local.INFO: TCP Data received {"connection_id":145415,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3435de8012d18ac80072170d80051013528..."} 
[2026-07-27 16:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145415,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3435de8012d18ac80072170d80051013528..."} 
[2026-07-27 16:39:38] local.INFO: Processing buffer {"connection_id":145415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3435de8012d18ac80072170d80051013528..."} 
[2026-07-27 16:39:38] local.INFO: Packet analysis {"connection_id":145415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa343"} 
[2026-07-27 16:39:38] local.INFO: Extracted packet for processing {"connection_id":145415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa343"} 
[2026-07-27 16:39:38] local.INFO: GPS Element Parsed {"raw_longitude":756591744,"raw_latitude":119632088,"longitude_deg":75.6591744,"latitude_deg":11.9632088,"altitude":81,"angle":309,"satellites":40,"speed":25,"hex_longitude":"2d18ac80","hex_latitude":"072170d8","is_valid_coordinates":true} 
[2026-07-27 16:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:39:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998532352001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:39:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8905120767016960,"note":"Value kept but may cause issues"} 
[2026-07-27 16:39:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1783847695527753728,"note":"Value kept but may cause issues"} 
[2026-07-27 16:39:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:39:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785150529000,"timestamp_ms":1785150529000,"timestamp_seconds":1785150529,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3435de8"} 
[2026-07-27 16:39:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:39:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-07-27 16:39:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:39:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:39:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:39:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:39:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:39:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145415,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:39:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145415,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:39:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:39:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 16:39:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 16:39:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998532352001,"66":14113,"121":206,"28":31744,"24":25,"16":8905120767016960,"45":1783847695527753728},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 16:39:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 16:39:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 16:39:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998532352001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:39:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 16:39:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 16:39:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8905120767016960,"km_value":8905120767016.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:39:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1783847695527753728,"description":"Unknown IO ID 45"} 
[2026-07-27 16:39:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998532352001,"power":14113,"unknown_121":206,"unknown_28":31744,"ignition":25,"odometer":null,"unknown_45":1783847695527753728}} 
[2026-07-27 16:39:38] local.INFO: DEBUG: GPS processor result {"connection_id":145415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554224,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:39:38] local.INFO: GPS data processed {"connection_id":145415,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:39:38] local.INFO: Acknowledgment sent {"connection_id":145415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:39:42] local.INFO: TCP Data received {"connection_id":142986,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:39:42] local.INFO: Processing buffer {"connection_id":142986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:39:42] local.INFO: IMEI packet received {"connection_id":142986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 16:39:42] local.INFO: IMEI acknowledgment sent {"connection_id":142986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:39:42] local.INFO: TCP Data received {"connection_id":142986,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fa341f688012d9cd70005b360f8001a000924..."} 
[2026-07-27 16:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa341f688012d9cd70005b360f8001a000924..."} 
[2026-07-27 16:39:42] local.INFO: Processing buffer {"connection_id":142986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa341f688012d9cd70005b360f8001a000924..."} 
[2026-07-27 16:39:42] local.INFO: Packet analysis {"connection_id":142986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa341"} 
[2026-07-27 16:39:42] local.INFO: Extracted packet for processing {"connection_id":142986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa341"} 
[2026-07-27 16:39:42] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641848,"longitude_deg":76.5253376,"latitude_deg":9.5641848,"altitude":26,"angle":9,"satellites":36,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b360f8","is_valid_coordinates":true} 
[2026-07-27 16:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:39:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998434816001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:39:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359071309033897984,"note":"Value kept but may cause issues"} 
[2026-07-27 16:39:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315689472,"note":"Value kept but may cause issues"} 
[2026-07-27 16:39:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:39:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785150437000,"timestamp_ms":1785150437000,"timestamp_seconds":1785150437,"priority":1,"record_length":96,"hex_timestamp":"0000019fa341f688"} 
[2026-07-27 16:39:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:39:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 16:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-27 16:39:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:39:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:39:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:39:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:39:42] local.INFO: Teltonika packet parsed successfully {"connection_id":142986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:39:42] local.INFO: Passing IMEI to GPS processor {"connection_id":142986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:39:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":142986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:39:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:39:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:39:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:39:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998434816001,"66":25778,"226":206,"83":17408,"24":0,"16":359071309033897984,"45":-7145242259315689472},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-07-27 16:39:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:39:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:39:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998434816001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:39:42] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-27 16:39:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 16:39:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359071309033897984,"km_value":359071309033898.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:39:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315689472,"description":"Unknown IO ID 45"} 
[2026-07-27 16:39:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998434816001,"power":25778,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315689472}} 
[2026-07-27 16:39:42] local.INFO: DEBUG: GPS processor result {"connection_id":142986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:39:42] local.INFO: GPS data processed {"connection_id":142986,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:39:42] local.INFO: Acknowledgment sent {"connection_id":142986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:39:46] local.INFO: TCP Data received {"connection_id":143131,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3439880012d7a248005e468680010013b25..."} 
[2026-07-27 16:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143131,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3439880012d7a248005e468680010013b25..."} 
[2026-07-27 16:39:46] local.INFO: Processing buffer {"connection_id":143131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3439880012d7a248005e468680010013b25..."} 
[2026-07-27 16:39:46] local.INFO: Packet analysis {"connection_id":143131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa343"} 
[2026-07-27 16:39:46] local.INFO: Extracted packet for processing {"connection_id":143131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa343"} 
[2026-07-27 16:39:46] local.INFO: GPS Element Parsed {"raw_longitude":762979456,"raw_latitude":98855016,"longitude_deg":76.2979456,"latitude_deg":9.8855016,"altitude":16,"angle":315,"satellites":37,"speed":14,"hex_longitude":"2d7a2480","hex_latitude":"05e46868","is_valid_coordinates":true} 
[2026-07-27 16:39:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:39:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998537728001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:39:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111671877000232960,"note":"Value kept but may cause issues"} 
[2026-07-27 16:39:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8802918815699517440,"note":"Value kept but may cause issues"} 
[2026-07-27 16:39:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:39:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785150544000,"timestamp_ms":1785150544000,"timestamp_seconds":1785150544,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3439880"} 
[2026-07-27 16:39:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:39:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:39:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-27 16:39:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:39:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:39:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:39:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:39:46] local.INFO: Teltonika packet parsed successfully {"connection_id":143131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:39:46] local.INFO: Passing IMEI to GPS processor {"connection_id":143131,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:39:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":143131,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:39:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:39:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 16:39:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 16:39:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998537728001,"66":12624,"97":206,"85":15104,"24":14,"16":111671877000232960,"45":8802918815699517440},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-27 16:39:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 16:39:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 16:39:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998537728001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:39:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-27 16:39:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 16:39:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111671877000232960,"km_value":111671877000232.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:39:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8802918815699517440,"description":"Unknown IO ID 45"} 
[2026-07-27 16:39:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998537728001,"power":12624,"unknown_97":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":8802918815699517440}} 
[2026-07-27 16:39:46] local.INFO: DEBUG: GPS processor result {"connection_id":143131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554226,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:39:46] local.INFO: GPS data processed {"connection_id":143131,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:39:46] local.INFO: Acknowledgment sent {"connection_id":143131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:39:47] local.INFO: TCP Data received {"connection_id":142986,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fa341f688012d9cd70005b360f8001a000924..."} 
[2026-07-27 16:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa341f688012d9cd70005b360f8001a000924..."} 
[2026-07-27 16:39:47] local.INFO: Processing buffer {"connection_id":142986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa341f688012d9cd70005b360f8001a000924..."} 
[2026-07-27 16:39:47] local.INFO: Packet analysis {"connection_id":142986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa341"} 
[2026-07-27 16:39:47] local.INFO: Extracted packet for processing {"connection_id":142986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa341"} 
[2026-07-27 16:39:47] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641848,"longitude_deg":76.5253376,"latitude_deg":9.5641848,"altitude":26,"angle":9,"satellites":36,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b360f8","is_valid_coordinates":true} 
[2026-07-27 16:39:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:39:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998434816001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:39:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359071309033897984,"note":"Value kept but may cause issues"} 
[2026-07-27 16:39:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315689472,"note":"Value kept but may cause issues"} 
[2026-07-27 16:39:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:39:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785150437000,"timestamp_ms":1785150437000,"timestamp_seconds":1785150437,"priority":1,"record_length":96,"hex_timestamp":"0000019fa341f688"} 
[2026-07-27 16:39:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:39:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 16:39:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-27 16:39:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:39:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:39:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:39:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:39:47] local.INFO: Teltonika packet parsed successfully {"connection_id":142986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:39:47] local.INFO: Passing IMEI to GPS processor {"connection_id":142986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:39:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":142986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:39:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:39:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:39:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:39:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998434816001,"66":25778,"226":206,"83":17408,"24":0,"16":359071309033897984,"45":-7145242259315689472},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-07-27 16:39:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:39:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:39:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998434816001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:39:47] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-27 16:39:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 16:39:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359071309033897984,"km_value":359071309033898.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:39:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315689472,"description":"Unknown IO ID 45"} 
[2026-07-27 16:39:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998434816001,"power":25778,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315689472}} 
[2026-07-27 16:39:47] local.INFO: DEBUG: GPS processor result {"connection_id":142986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:39:47] local.INFO: GPS data processed {"connection_id":142986,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:39:47] local.INFO: Acknowledgment sent {"connection_id":142986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:39:59] local.INFO: TCP Data received {"connection_id":145416,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145416,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:39:59] local.INFO: Processing buffer {"connection_id":145416,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:39:59] local.INFO: IMEI packet received {"connection_id":145416,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 16:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":145416,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:40:05] local.INFO: TCP Data received {"connection_id":145416,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145416,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:40:05] local.INFO: Processing buffer {"connection_id":145416,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:40:05] local.INFO: IMEI packet received {"connection_id":145416,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 16:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":145416,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:40:09] local.INFO: TCP Data received {"connection_id":145416,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3435de8012d18ac80072170d80051013528..."} 
[2026-07-27 16:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3435de8012d18ac80072170d80051013528..."} 
[2026-07-27 16:40:09] local.INFO: Processing buffer {"connection_id":145416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3435de8012d18ac80072170d80051013528..."} 
[2026-07-27 16:40:09] local.INFO: Packet analysis {"connection_id":145416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa343"} 
[2026-07-27 16:40:09] local.INFO: Extracted packet for processing {"connection_id":145416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa343"} 
[2026-07-27 16:40:09] local.INFO: GPS Element Parsed {"raw_longitude":756591744,"raw_latitude":119632088,"longitude_deg":75.6591744,"latitude_deg":11.9632088,"altitude":81,"angle":309,"satellites":40,"speed":25,"hex_longitude":"2d18ac80","hex_latitude":"072170d8","is_valid_coordinates":true} 
[2026-07-27 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-07-27 16:40:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998535424001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:40:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8905120767016960,"note":"Value kept but may cause issues"} 
[2026-07-27 16:40:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777936721018673152,"note":"Value kept but may cause issues"} 
[2026-07-27 16:40:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:40:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785150529000,"timestamp_ms":1785150529000,"timestamp_seconds":1785150529,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3435de8"} 
[2026-07-27 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-07-27 16:40:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-27 16:40:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 16:40:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:40:09] local.INFO: Teltonika packet parsed successfully {"connection_id":145416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:40:09] local.INFO: Passing IMEI to GPS processor {"connection_id":145416,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:40:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":145416,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:40:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:40:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 16:40:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 16:40:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998535424001,"66":14113,"121":206,"28":31744,"24":25,"16":8905120767016960,"45":1777936721018673152},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 16:40:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 16:40:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 16:40:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998535424001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:40:09] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 16:40:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 16:40:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8905120767016960,"km_value":8905120767016.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:40:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777936721018673152,"description":"Unknown IO ID 45"} 
[2026-07-27 16:40:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998535424001,"power":14113,"unknown_121":206,"unknown_28":31744,"ignition":25,"odometer":null,"unknown_45":1777936721018673152}} 
[2026-07-27 16:40:09] local.INFO: DEBUG: GPS processor result {"connection_id":145416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554228,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:40:09] local.INFO: GPS data processed {"connection_id":145416,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:40:09] local.INFO: Acknowledgment sent {"connection_id":145416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:40:13] local.INFO: TCP Data received {"connection_id":144124,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:40:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144124,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:40:13] local.INFO: Processing buffer {"connection_id":144124,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:40:13] local.INFO: IMEI packet received {"connection_id":144124,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 16:40:13] local.INFO: IMEI acknowledgment sent {"connection_id":144124,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:40:14] local.INFO: TCP Data received {"connection_id":144124,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144124,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:40:14] local.INFO: Processing buffer {"connection_id":144124,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:40:14] local.INFO: IMEI packet received {"connection_id":144124,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 16:40:14] local.INFO: IMEI acknowledgment sent {"connection_id":144124,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:40:18] local.INFO: TCP Data received {"connection_id":144124,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:40:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144124,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:40:18] local.INFO: Processing buffer {"connection_id":144124,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:40:18] local.INFO: IMEI packet received {"connection_id":144124,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 16:40:18] local.INFO: IMEI acknowledgment sent {"connection_id":144124,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:40:20] local.INFO: TCP Data received {"connection_id":144124,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa343a050012d7a230005e46a70000f014d25..."} 
[2026-07-27 16:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144124,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa343a050012d7a230005e46a70000f014d25..."} 
[2026-07-27 16:40:20] local.INFO: Processing buffer {"connection_id":144124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa343a050012d7a230005e46a70000f014d25..."} 
[2026-07-27 16:40:20] local.INFO: Packet analysis {"connection_id":144124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa343"} 
[2026-07-27 16:40:20] local.INFO: Extracted packet for processing {"connection_id":144124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa343"} 
[2026-07-27 16:40:20] local.INFO: GPS Element Parsed {"raw_longitude":762979072,"raw_latitude":98855536,"longitude_deg":76.2979072,"latitude_deg":9.8855536,"altitude":15,"angle":333,"satellites":37,"speed":12,"hex_longitude":"2d7a2300","hex_latitude":"05e46a70","is_valid_coordinates":true} 
[2026-07-27 16:40:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:40:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998539264001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:40:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111671911359971328,"note":"Value kept but may cause issues"} 
[2026-07-27 16:40:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8801300334584031232,"note":"Value kept but may cause issues"} 
[2026-07-27 16:40:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:40:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785150546000,"timestamp_ms":1785150546000,"timestamp_seconds":1785150546,"priority":1,"record_length":96,"hex_timestamp":"0000019fa343a050"} 
[2026-07-27 16:40:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:40:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:40: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":80,"data_length":795,"current_offset":136} 
[2026-07-27 16:40:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:40:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:40:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:40:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:40:20] local.INFO: Teltonika packet parsed successfully {"connection_id":144124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:40:20] local.INFO: Passing IMEI to GPS processor {"connection_id":144124,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:40:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":144124,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:40:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:40:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 16:40:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 16:40:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998539264001,"66":12645,"97":206,"85":15104,"24":12,"16":111671911359971328,"45":8801300334584031232},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-27 16:40:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 16:40:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 16:40:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998539264001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:40:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-27 16:40:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 16:40:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111671911359971328,"km_value":111671911359971.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:40:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8801300334584031232,"description":"Unknown IO ID 45"} 
[2026-07-27 16:40:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998539264001,"power":12645,"unknown_97":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":8801300334584031232}} 
[2026-07-27 16:40:20] local.INFO: DEBUG: GPS processor result {"connection_id":144124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554229,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:40:20] local.INFO: GPS data processed {"connection_id":144124,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:40:20] local.INFO: Acknowledgment sent {"connection_id":144124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:40:23] local.INFO: TCP Data received {"connection_id":144124,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa343f258012d7a200005e467d00007015525..."} 
[2026-07-27 16:40:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144124,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa343f258012d7a200005e467d00007015525..."} 
[2026-07-27 16:40:23] local.INFO: Processing buffer {"connection_id":144124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa343f258012d7a200005e467d00007015525..."} 
[2026-07-27 16:40:23] local.INFO: Packet analysis {"connection_id":144124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa343"} 
[2026-07-27 16:40:23] local.INFO: Extracted packet for processing {"connection_id":144124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa343"} 
[2026-07-27 16:40:23] local.INFO: GPS Element Parsed {"raw_longitude":762978304,"raw_latitude":98854864,"longitude_deg":76.2978304,"latitude_deg":9.8854864,"altitude":7,"angle":341,"satellites":37,"speed":1,"hex_longitude":"2d7a2000","hex_latitude":"05e467d0","is_valid_coordinates":true} 
[2026-07-27 16:40:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:40:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998539776001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:40:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111672010144219136,"note":"Value kept but may cause issues"} 
[2026-07-27 16:40:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800878122119098368,"note":"Value kept but may cause issues"} 
[2026-07-27 16:40:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:40:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785150567000,"timestamp_ms":1785150567000,"timestamp_seconds":1785150567,"priority":1,"record_length":96,"hex_timestamp":"0000019fa343f258"} 
[2026-07-27 16:40:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:40: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-07-27 16:40:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-27 16:40:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:40:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:40:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:40:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:40:23] local.INFO: Teltonika packet parsed successfully {"connection_id":144124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:40:23] local.INFO: Passing IMEI to GPS processor {"connection_id":144124,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:40:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":144124,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:40:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:40:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 16:40:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 16:40:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998539776001,"66":12341,"97":206,"85":15104,"24":1,"16":111672010144219136,"45":8800878122119098368},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-27 16:40:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 16:40:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 16:40:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998539776001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:40:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-27 16:40:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 16:40:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111672010144219136,"km_value":111672010144219.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:40:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800878122119098368,"description":"Unknown IO ID 45"} 
[2026-07-27 16:40:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998539776001,"power":12341,"unknown_97":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8800878122119098368}} 
[2026-07-27 16:40:23] local.INFO: DEBUG: GPS processor result {"connection_id":144124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554230,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:40:23] local.INFO: GPS data processed {"connection_id":144124,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:40:23] local.INFO: Acknowledgment sent {"connection_id":144124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:40:32] local.INFO: TCP Data received {"connection_id":143132,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:40:32] local.INFO: Processing buffer {"connection_id":143132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:40:32] local.INFO: IMEI packet received {"connection_id":143132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 16:40:32] local.INFO: IMEI acknowledgment sent {"connection_id":143132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:40:37] local.INFO: TCP Data received {"connection_id":143132,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:40:37] local.INFO: Processing buffer {"connection_id":143132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:40:37] local.INFO: IMEI packet received {"connection_id":143132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 16:40:37] local.INFO: IMEI acknowledgment sent {"connection_id":143132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:40:38] local.INFO: TCP Data received {"connection_id":143132,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fa341f688012d9cd70005b360f8001a000924..."} 
[2026-07-27 16:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143132,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa341f688012d9cd70005b360f8001a000924..."} 
[2026-07-27 16:40:38] local.INFO: Processing buffer {"connection_id":143132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa341f688012d9cd70005b360f8001a000924..."} 
[2026-07-27 16:40:38] local.INFO: Packet analysis {"connection_id":143132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa341"} 
[2026-07-27 16:40:38] local.INFO: Extracted packet for processing {"connection_id":143132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa341"} 
[2026-07-27 16:40:38] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641848,"longitude_deg":76.5253376,"latitude_deg":9.5641848,"altitude":26,"angle":9,"satellites":36,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b360f8","is_valid_coordinates":true} 
[2026-07-27 16:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:40:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998434816001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:40:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359071309033897984,"note":"Value kept but may cause issues"} 
[2026-07-27 16:40:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315689472,"note":"Value kept but may cause issues"} 
[2026-07-27 16:40:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:40:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785150437000,"timestamp_ms":1785150437000,"timestamp_seconds":1785150437,"priority":1,"record_length":96,"hex_timestamp":"0000019fa341f688"} 
[2026-07-27 16:40:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:40:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 16:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-27 16:40:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:40:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:40:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:40:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:40:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:40:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:40:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:40:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:40:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:40:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:40:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998434816001,"66":25778,"226":206,"83":17408,"24":0,"16":359071309033897984,"45":-7145242259315689472},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-07-27 16:40:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:40:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:40:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998434816001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:40:38] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-27 16:40:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 16:40:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359071309033897984,"km_value":359071309033898.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:40:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315689472,"description":"Unknown IO ID 45"} 
[2026-07-27 16:40:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998434816001,"power":25778,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315689472}} 
[2026-07-27 16:40:38] local.INFO: DEBUG: GPS processor result {"connection_id":143132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:40:38] local.INFO: GPS data processed {"connection_id":143132,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:40:38] local.INFO: Acknowledgment sent {"connection_id":143132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:40:41] local.INFO: TCP Data received {"connection_id":145416,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa34365b8012d18a800072173780052012429..."} 
[2026-07-27 16:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa34365b8012d18a800072173780052012429..."} 
[2026-07-27 16:40:41] local.INFO: Processing buffer {"connection_id":145416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa34365b8012d18a800072173780052012429..."} 
[2026-07-27 16:40:41] local.INFO: Packet analysis {"connection_id":145416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa343"} 
[2026-07-27 16:40:41] local.INFO: Extracted packet for processing {"connection_id":145416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa343"} 
[2026-07-27 16:40:41] local.INFO: GPS Element Parsed {"raw_longitude":756590592,"raw_latitude":119632760,"longitude_deg":75.6590592,"latitude_deg":11.963276,"altitude":82,"angle":292,"satellites":41,"speed":27,"hex_longitude":"2d18a800","hex_latitude":"07217378","is_valid_coordinates":true} 
[2026-07-27 16:40:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:40:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998535424001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:40:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8905185191526400,"note":"Value kept but may cause issues"} 
[2026-07-27 16:40:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777936721018673152,"note":"Value kept but may cause issues"} 
[2026-07-27 16:40:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:40:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785150531000,"timestamp_ms":1785150531000,"timestamp_seconds":1785150531,"priority":1,"record_length":96,"hex_timestamp":"0000019fa34365b8"} 
[2026-07-27 16:40:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:40:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16: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":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-27 16:40:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:40:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:40:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:40:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:40:41] local.INFO: Teltonika packet parsed successfully {"connection_id":145416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:40:41] local.INFO: Passing IMEI to GPS processor {"connection_id":145416,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:40:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":145416,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:40:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:40:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 16:40:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 16:40:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998535424001,"66":13374,"121":206,"28":31744,"24":27,"16":8905185191526400,"45":1777936721018673152},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 16:40:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 16:40:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 16:40:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998535424001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:40:41] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 16:40:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 16:40:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8905185191526400,"km_value":8905185191526.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:40:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777936721018673152,"description":"Unknown IO ID 45"} 
[2026-07-27 16:40:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998535424001,"power":13374,"unknown_121":206,"unknown_28":31744,"ignition":27,"odometer":null,"unknown_45":1777936721018673152}} 
[2026-07-27 16:40:41] local.INFO: DEBUG: GPS processor result {"connection_id":145416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554232,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:40:41] local.INFO: GPS data processed {"connection_id":145416,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:40:41] local.INFO: Acknowledgment sent {"connection_id":145416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:40:59] local.INFO: TCP Data received {"connection_id":142987,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142987,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:40:59] local.INFO: Processing buffer {"connection_id":142987,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:40:59] local.INFO: IMEI packet received {"connection_id":142987,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 16:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":142987,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:41:05] local.INFO: TCP Data received {"connection_id":142987,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142987,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:41:05] local.INFO: Processing buffer {"connection_id":142987,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:41:05] local.INFO: IMEI packet received {"connection_id":142987,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 16:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":142987,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:41:06] local.INFO: TCP Data received {"connection_id":142987,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3439498012d188680072180580054011f29..."} 
[2026-07-27 16:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142987,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3439498012d188680072180580054011f29..."} 
[2026-07-27 16:41:06] local.INFO: Processing buffer {"connection_id":142987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3439498012d188680072180580054011f29..."} 
[2026-07-27 16:41:06] local.INFO: Packet analysis {"connection_id":142987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa343"} 
[2026-07-27 16:41:06] local.INFO: Extracted packet for processing {"connection_id":142987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa343"} 
[2026-07-27 16:41:06] local.INFO: GPS Element Parsed {"raw_longitude":756582016,"raw_latitude":119636056,"longitude_deg":75.6582016,"latitude_deg":11.9636056,"altitude":84,"angle":287,"satellites":41,"speed":32,"hex_longitude":"2d188680","hex_latitude":"07218058","is_valid_coordinates":true} 
[2026-07-27 16:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:41:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998535936001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:41:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8905623278190592,"note":"Value kept but may cause issues"} 
[2026-07-27 16:41:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776670083623647232,"note":"Value kept but may cause issues"} 
[2026-07-27 16:41:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:41:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785150543000,"timestamp_ms":1785150543000,"timestamp_seconds":1785150543,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3439498"} 
[2026-07-27 16:41:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:41:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-07-27 16:41:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:41:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:41:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:41:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:41:06] local.INFO: Teltonika packet parsed successfully {"connection_id":142987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:41:06] local.INFO: Passing IMEI to GPS processor {"connection_id":142987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:41:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":142987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:41:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:41:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 16:41:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 16:41:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998535936001,"66":13646,"121":206,"28":31744,"24":32,"16":8905623278190592,"45":1776670083623647232},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 16:41:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 16:41:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 16:41:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998535936001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:41:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 16:41:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 16:41:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8905623278190592,"km_value":8905623278190.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:41:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776670083623647232,"description":"Unknown IO ID 45"} 
[2026-07-27 16:41:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998535936001,"power":13646,"unknown_121":206,"unknown_28":31744,"ignition":32,"odometer":null,"unknown_45":1776670083623647232}} 
[2026-07-27 16:41:06] local.INFO: DEBUG: GPS processor result {"connection_id":142987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554233,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:41:06] local.INFO: GPS data processed {"connection_id":142987,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:41:06] local.INFO: Acknowledgment sent {"connection_id":142987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:41:12] local.INFO: TCP Data received {"connection_id":143132,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fa341f688012d9cd70005b360f8001a000924..."} 
[2026-07-27 16:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143132,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa341f688012d9cd70005b360f8001a000924..."} 
[2026-07-27 16:41:12] local.INFO: Processing buffer {"connection_id":143132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa341f688012d9cd70005b360f8001a000924..."} 
[2026-07-27 16:41:12] local.INFO: Packet analysis {"connection_id":143132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa341"} 
[2026-07-27 16:41:12] local.INFO: Extracted packet for processing {"connection_id":143132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa341"} 
[2026-07-27 16:41:12] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641848,"longitude_deg":76.5253376,"latitude_deg":9.5641848,"altitude":26,"angle":9,"satellites":36,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b360f8","is_valid_coordinates":true} 
[2026-07-27 16:41:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:41:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998434816001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:41:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359071309033897984,"note":"Value kept but may cause issues"} 
[2026-07-27 16:41:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315689472,"note":"Value kept but may cause issues"} 
[2026-07-27 16:41:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:41:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785150437000,"timestamp_ms":1785150437000,"timestamp_seconds":1785150437,"priority":1,"record_length":96,"hex_timestamp":"0000019fa341f688"} 
[2026-07-27 16:41:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:41:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 16: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-27 16:41:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:41:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:41:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:41:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:41:12] local.INFO: Teltonika packet parsed successfully {"connection_id":143132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:41:12] local.INFO: Passing IMEI to GPS processor {"connection_id":143132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:41:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":143132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:41: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-07-27 16:41:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:41:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:41:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998434816001,"66":25778,"226":206,"83":17408,"24":0,"16":359071309033897984,"45":-7145242259315689472},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-07-27 16:41:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:41:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:41:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998434816001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:41:12] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-27 16:41:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 16:41:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359071309033897984,"km_value":359071309033898.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:41:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315689472,"description":"Unknown IO ID 45"} 
[2026-07-27 16:41:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998434816001,"power":25778,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315689472}} 
[2026-07-27 16:41:12] local.INFO: DEBUG: GPS processor result {"connection_id":143132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:41:12] local.INFO: GPS data processed {"connection_id":143132,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:41:12] local.INFO: Acknowledgment sent {"connection_id":143132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:41:32] local.INFO: TCP Data received {"connection_id":143133,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:41:32] local.INFO: Processing buffer {"connection_id":143133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:41:32] local.INFO: IMEI packet received {"connection_id":143133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 16:41:32] local.INFO: IMEI acknowledgment sent {"connection_id":143133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:41:37] local.INFO: TCP Data received {"connection_id":143133,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:41:37] local.INFO: Processing buffer {"connection_id":143133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:41:37] local.INFO: IMEI packet received {"connection_id":143133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 16:41:37] local.INFO: IMEI acknowledgment sent {"connection_id":143133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:41:38] local.INFO: TCP Data received {"connection_id":143133,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fa341f688012d9cd70005b360f8001a000924..."} 
[2026-07-27 16:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143133,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa341f688012d9cd70005b360f8001a000924..."} 
[2026-07-27 16:41:38] local.INFO: Processing buffer {"connection_id":143133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa341f688012d9cd70005b360f8001a000924..."} 
[2026-07-27 16:41:38] local.INFO: Packet analysis {"connection_id":143133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa341"} 
[2026-07-27 16:41:38] local.INFO: Extracted packet for processing {"connection_id":143133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa341"} 
[2026-07-27 16:41:38] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641848,"longitude_deg":76.5253376,"latitude_deg":9.5641848,"altitude":26,"angle":9,"satellites":36,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b360f8","is_valid_coordinates":true} 
[2026-07-27 16:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:41:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998434816001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:41:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359071309033897984,"note":"Value kept but may cause issues"} 
[2026-07-27 16:41:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315689472,"note":"Value kept but may cause issues"} 
[2026-07-27 16:41:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:41:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785150437000,"timestamp_ms":1785150437000,"timestamp_seconds":1785150437,"priority":1,"record_length":96,"hex_timestamp":"0000019fa341f688"} 
[2026-07-27 16:41:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:41:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 16:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-27 16:41:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:41:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:41:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:41:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:41:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:41:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:41:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:41:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:41:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:41:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:41:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998434816001,"66":25778,"226":206,"83":17408,"24":0,"16":359071309033897984,"45":-7145242259315689472},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-07-27 16:41:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:41:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:41:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998434816001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:41:38] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-27 16:41:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 16:41:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359071309033897984,"km_value":359071309033898.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:41:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315689472,"description":"Unknown IO ID 45"} 
[2026-07-27 16:41:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998434816001,"power":25778,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315689472}} 
[2026-07-27 16:41:38] local.INFO: DEBUG: GPS processor result {"connection_id":143133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:41:38] local.INFO: GPS data processed {"connection_id":143133,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:41:38] local.INFO: Acknowledgment sent {"connection_id":143133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:41:38] local.INFO: TCP Data received {"connection_id":142987,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa343a050012d187d40072182300053011329..."} 
[2026-07-27 16:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142987,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa343a050012d187d40072182300053011329..."} 
[2026-07-27 16:41:38] local.INFO: Processing buffer {"connection_id":142987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa343a050012d187d40072182300053011329..."} 
[2026-07-27 16:41:38] local.INFO: Packet analysis {"connection_id":142987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa343"} 
[2026-07-27 16:41:38] local.INFO: Extracted packet for processing {"connection_id":142987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa343"} 
[2026-07-27 16:41:38] local.INFO: GPS Element Parsed {"raw_longitude":756579648,"raw_latitude":119636528,"longitude_deg":75.6579648,"latitude_deg":11.9636528,"altitude":83,"angle":275,"satellites":41,"speed":29,"hex_longitude":"2d187d40","hex_latitude":"07218230","is_valid_coordinates":true} 
[2026-07-27 16:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:41:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998539008001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:41:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8905734947340288,"note":"Value kept but may cause issues"} 
[2026-07-27 16:41:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1767240671904684032,"note":"Value kept but may cause issues"} 
[2026-07-27 16:41:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:41:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785150546000,"timestamp_ms":1785150546000,"timestamp_seconds":1785150546,"priority":1,"record_length":96,"hex_timestamp":"0000019fa343a050"} 
[2026-07-27 16:41:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:41:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-07-27 16:41:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:41:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:41:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:41:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:41:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:41:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:41:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:41:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:41:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 16:41:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 16:41:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998539008001,"66":14157,"121":206,"28":31744,"24":29,"16":8905734947340288,"45":1767240671904684032},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 16:41:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 16:41:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 16:41:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998539008001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:41:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 16:41:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 16:41:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8905734947340288,"km_value":8905734947340.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:41:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1767240671904684032,"description":"Unknown IO ID 45"} 
[2026-07-27 16:41:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998539008001,"power":14157,"unknown_121":206,"unknown_28":31744,"ignition":29,"odometer":null,"unknown_45":1767240671904684032}} 
[2026-07-27 16:41:38] local.INFO: DEBUG: GPS processor result {"connection_id":142987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554236,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:41:38] local.INFO: GPS data processed {"connection_id":142987,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:41:38] local.INFO: Acknowledgment sent {"connection_id":142987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:41:43] local.INFO: TCP Data received {"connection_id":144125,"ip":"117.224.227.219","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144125,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:41:43] local.INFO: Processing buffer {"connection_id":144125,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:41:43] local.INFO: IMEI packet received {"connection_id":144125,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 16:41:43] local.INFO: IMEI acknowledgment sent {"connection_id":144125,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:41:44] local.INFO: TCP Data received {"connection_id":144125,"ip":"117.224.227.219","data_length":34,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-07-27 16:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144125,"packet_length":34,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-07-27 16:41:44] local.INFO: Processing buffer {"connection_id":144125,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-07-27 16:41:44] local.INFO: IMEI packet received {"connection_id":144125,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 16:41:44] local.INFO: IMEI acknowledgment sent {"connection_id":144125,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:41:46] local.INFO: TCP Data received {"connection_id":144125,"ip":"117.224.227.219","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144125,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:41:46] local.INFO: Processing buffer {"connection_id":144125,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-07-27 16:41:46] local.INFO: IMEI packet received {"connection_id":144125,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 16:41:46] local.INFO: IMEI acknowledgment sent {"connection_id":144125,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:41:47] local.INFO: TCP Data received {"connection_id":144125,"ip":"117.224.227.219","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3454a18012d0c9400070412f0002200e620..."} 
[2026-07-27 16:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144125,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3454a18012d0c9400070412f0002200e620..."} 
[2026-07-27 16:41:47] local.INFO: Processing buffer {"connection_id":144125,"buffer_length":812,"buffer_hex":"000f383632353637303732353733323130000000000000030f8e0a0000019fa3..."} 
[2026-07-27 16:41:47] local.INFO: IMEI packet received {"connection_id":144125,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 16:41:47] local.INFO: IMEI acknowledgment sent {"connection_id":144125,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:41:49] local.INFO: TCP Data received {"connection_id":144125,"ip":"117.224.227.219","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3456958012d0c74000703fc18002000e920..."} 
[2026-07-27 16:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144125,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3456958012d0c74000703fc18002000e920..."} 
[2026-07-27 16:41:49] local.INFO: Processing buffer {"connection_id":144125,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019fa3454a18012d0c9400070412f0002200e620..."} 
[2026-07-27 16:41:49] local.INFO: Packet analysis {"connection_id":144125,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fa345"} 
[2026-07-27 16:41:49] local.INFO: Extracted packet for processing {"connection_id":144125,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa345"} 
[2026-07-27 16:41:49] local.INFO: GPS Element Parsed {"raw_longitude":755799040,"raw_latitude":117707504,"longitude_deg":75.579904,"latitude_deg":11.7707504,"altitude":34,"angle":230,"satellites":32,"speed":46,"hex_longitude":"2d0c9400","hex_latitude":"070412f0","is_valid_coordinates":true} 
[2026-07-27 16: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-07-27 16:41:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998566912001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:41:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25969154683043840,"note":"Value kept but may cause issues"} 
[2026-07-27 16:41:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":908882729932455936,"note":"Value kept but may cause issues"} 
[2026-07-27 16:41:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:41:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785150655000,"timestamp_ms":1785150655000,"timestamp_seconds":1785150655,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3454a18"} 
[2026-07-27 16:41:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:41: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-07-27 16: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-27 16:41:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16: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-07-27 16:41:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:41:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:41:49] local.INFO: Teltonika packet parsed successfully {"connection_id":144125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:41:49] local.INFO: Passing IMEI to GPS processor {"connection_id":144125,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 16:41:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":144125,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 16:41:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.227.219","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:41:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 16:41:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 16:41:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998566912001,"66":14298,"95":206,"94":10240,"24":46,"16":25969154683043840,"45":908882729932455936},"client_ip":"117.224.227.219","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-07-27 16:41:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 16:41:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 16:41:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998566912001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:41:49] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-27 16:41:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 16:41:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25969154683043840,"km_value":25969154683043.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:41:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":908882729932455936,"description":"Unknown IO ID 45"} 
[2026-07-27 16:41:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998566912001,"power":14298,"unknown_95":206,"unknown_94":10240,"ignition":46,"odometer":null,"unknown_45":908882729932455936}} 
[2026-07-27 16:41:49] local.INFO: DEBUG: GPS processor result {"connection_id":144125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554237,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:41:49] local.INFO: GPS data processed {"connection_id":144125,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:41:49] local.INFO: Acknowledgment sent {"connection_id":144125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:41:49] local.INFO: Packet analysis {"connection_id":144125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa345"} 
[2026-07-27 16:41:49] local.INFO: Extracted packet for processing {"connection_id":144125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa345"} 
[2026-07-27 16:41:49] local.INFO: GPS Element Parsed {"raw_longitude":755790848,"raw_latitude":117701656,"longitude_deg":75.5790848,"latitude_deg":11.7701656,"altitude":32,"angle":233,"satellites":32,"speed":45,"hex_longitude":"2d0c7400","hex_latitude":"0703fc18","is_valid_coordinates":true} 
[2026-07-27 16: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-07-27 16:41:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998567680001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:41:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25969635719380992,"note":"Value kept but may cause issues"} 
[2026-07-27 16:41:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":906349455141433344,"note":"Value kept but may cause issues"} 
[2026-07-27 16:41:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:41:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785150663000,"timestamp_ms":1785150663000,"timestamp_seconds":1785150663,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3456958"} 
[2026-07-27 16:41:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:41: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-07-27 16:41:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-07-27 16:41:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16: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-07-27 16:41:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:41:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:41:49] local.INFO: Teltonika packet parsed successfully {"connection_id":144125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:41:49] local.INFO: Passing IMEI to GPS processor {"connection_id":144125,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 16:41:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":144125,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 16:41:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.227.219","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:41:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 16:41:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 16:41:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998567680001,"66":14189,"95":206,"94":10240,"24":45,"16":25969635719380992,"45":906349455141433344},"client_ip":"117.224.227.219","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-07-27 16:41:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 16:41:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 16:41:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998567680001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:41:49] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-27 16:41:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-27 16:41:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25969635719380992,"km_value":25969635719380.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:41:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":906349455141433344,"description":"Unknown IO ID 45"} 
[2026-07-27 16:41:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998567680001,"power":14189,"unknown_95":206,"unknown_94":10240,"ignition":45,"odometer":null,"unknown_45":906349455141433344}} 
[2026-07-27 16:41:49] local.INFO: DEBUG: GPS processor result {"connection_id":144125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554238,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:41:49] local.INFO: GPS data processed {"connection_id":144125,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:41:49] local.INFO: Acknowledgment sent {"connection_id":144125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:41:53] local.INFO: TCP Data received {"connection_id":144125,"ip":"117.224.227.219","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3458898012d0c57400703e560001a00e21f..."} 
[2026-07-27 16:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144125,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3458898012d0c57400703e560001a00e21f..."} 
[2026-07-27 16:41:53] local.INFO: Processing buffer {"connection_id":144125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3458898012d0c57400703e560001a00e21f..."} 
[2026-07-27 16:41:53] local.INFO: Packet analysis {"connection_id":144125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa345"} 
[2026-07-27 16:41:53] local.INFO: Extracted packet for processing {"connection_id":144125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa345"} 
[2026-07-27 16:41:53] local.INFO: GPS Element Parsed {"raw_longitude":755783488,"raw_latitude":117695840,"longitude_deg":75.5783488,"latitude_deg":11.769584,"altitude":26,"angle":226,"satellites":31,"speed":45,"hex_longitude":"2d0c5740","hex_latitude":"0703e560","is_valid_coordinates":true} 
[2026-07-27 16:41:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:41:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998569728001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:41:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25970086690947072,"note":"Value kept but may cause issues"} 
[2026-07-27 16:41:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":897342255885195264,"note":"Value kept but may cause issues"} 
[2026-07-27 16:41:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:41:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785150671000,"timestamp_ms":1785150671000,"timestamp_seconds":1785150671,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3458898"} 
[2026-07-27 16:41:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:41:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:41:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-27 16:41: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-07-27 16:41:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:41:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:41:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:41:53] local.INFO: Teltonika packet parsed successfully {"connection_id":144125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:41:53] local.INFO: Passing IMEI to GPS processor {"connection_id":144125,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 16:41:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":144125,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 16:41:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.227.219","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:41:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 16:41:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 16:41:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998569728001,"66":14309,"219":206,"28":32256,"24":45,"16":25970086690947072,"45":897342255885195264},"client_ip":"117.224.227.219","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,28,24,16,45]} 
[2026-07-27 16:41:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 16:41:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 16:41:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998569728001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:41:53] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-27 16:41:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-07-27 16:41:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25970086690947072,"km_value":25970086690947.07,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:41:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":897342255885195264,"description":"Unknown IO ID 45"} 
[2026-07-27 16:41:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998569728001,"power":14309,"unknown_219":206,"unknown_28":32256,"ignition":45,"odometer":null,"unknown_45":897342255885195264}} 
[2026-07-27 16:41:53] local.INFO: DEBUG: GPS processor result {"connection_id":144125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554239,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:41:53] local.INFO: GPS data processed {"connection_id":144125,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:41:53] local.INFO: Acknowledgment sent {"connection_id":144125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:42:05] local.INFO: TCP Data received {"connection_id":143134,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143134,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:42:05] local.INFO: Processing buffer {"connection_id":143134,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:42:05] local.INFO: IMEI packet received {"connection_id":143134,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 16:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":143134,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:42:09] local.INFO: TCP Data received {"connection_id":143133,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fa341f688012d9cd70005b360f8001a000924..."} 
[2026-07-27 16:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143133,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa341f688012d9cd70005b360f8001a000924..."} 
[2026-07-27 16:42:09] local.INFO: Processing buffer {"connection_id":143133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa341f688012d9cd70005b360f8001a000924..."} 
[2026-07-27 16:42:09] local.INFO: Packet analysis {"connection_id":143133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa341"} 
[2026-07-27 16:42:09] local.INFO: Extracted packet for processing {"connection_id":143133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa341"} 
[2026-07-27 16:42:09] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641848,"longitude_deg":76.5253376,"latitude_deg":9.5641848,"altitude":26,"angle":9,"satellites":36,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b360f8","is_valid_coordinates":true} 
[2026-07-27 16:42:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:42:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998434816001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:42:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359071309033897984,"note":"Value kept but may cause issues"} 
[2026-07-27 16:42:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315689472,"note":"Value kept but may cause issues"} 
[2026-07-27 16:42:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:42:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785150437000,"timestamp_ms":1785150437000,"timestamp_seconds":1785150437,"priority":1,"record_length":96,"hex_timestamp":"0000019fa341f688"} 
[2026-07-27 16:42:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:42:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-27 16:42:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:42:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:42:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:42:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:42:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:42:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:42:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:42:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:42:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:42:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:42:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998434816001,"66":25778,"226":206,"83":17408,"24":0,"16":359071309033897984,"45":-7145242259315689472},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-07-27 16:42:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:42:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:42:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998434816001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:42:09] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-27 16:42:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 16:42:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359071309033897984,"km_value":359071309033898.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:42:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315689472,"description":"Unknown IO ID 45"} 
[2026-07-27 16:42:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998434816001,"power":25778,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315689472}} 
[2026-07-27 16:42:09] local.INFO: DEBUG: GPS processor result {"connection_id":143133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:42:09] local.INFO: GPS data processed {"connection_id":143133,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:42:09] local.INFO: Acknowledgment sent {"connection_id":143133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:42:10] local.INFO: TCP Data received {"connection_id":143134,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143134,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:42:10] local.INFO: Processing buffer {"connection_id":143134,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:42:10] local.INFO: IMEI packet received {"connection_id":143134,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 16:42:10] local.INFO: IMEI acknowledgment sent {"connection_id":143134,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:42:11] local.INFO: TCP Data received {"connection_id":143134,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa343aff0012d187540072182180052010528..."} 
[2026-07-27 16:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143134,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa343aff0012d187540072182180052010528..."} 
[2026-07-27 16:42:11] local.INFO: Processing buffer {"connection_id":143134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa343aff0012d187540072182180052010528..."} 
[2026-07-27 16:42:11] local.INFO: Packet analysis {"connection_id":143134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa343"} 
[2026-07-27 16:42:11] local.INFO: Extracted packet for processing {"connection_id":143134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa343"} 
[2026-07-27 16:42:11] local.INFO: GPS Element Parsed {"raw_longitude":756577600,"raw_latitude":119636504,"longitude_deg":75.65776,"latitude_deg":11.9636504,"altitude":82,"angle":261,"satellites":40,"speed":15,"hex_longitude":"2d187540","hex_latitude":"07218218","is_valid_coordinates":true} 
[2026-07-27 16:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:42:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998539776001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:42:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8905833731588096,"note":"Value kept but may cause issues"} 
[2026-07-27 16:42:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1764637028370231296,"note":"Value kept but may cause issues"} 
[2026-07-27 16:42:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:42:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785150550000,"timestamp_ms":1785150550000,"timestamp_seconds":1785150550,"priority":1,"record_length":96,"hex_timestamp":"0000019fa343aff0"} 
[2026-07-27 16:42:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:42:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16: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":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-27 16:42:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:42:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:42:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:42:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:42:11] local.INFO: Teltonika packet parsed successfully {"connection_id":143134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:42:11] local.INFO: Passing IMEI to GPS processor {"connection_id":143134,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:42:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":143134,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:42:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:42:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 16:42:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 16:42:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998539776001,"66":14135,"121":206,"28":31744,"24":15,"16":8905833731588096,"45":1764637028370231296},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 16:42:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 16:42:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 16:42:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998539776001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:42:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 16:42:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 16:42:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8905833731588096,"km_value":8905833731588.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:42:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1764637028370231296,"description":"Unknown IO ID 45"} 
[2026-07-27 16:42:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998539776001,"power":14135,"unknown_121":206,"unknown_28":31744,"ignition":15,"odometer":null,"unknown_45":1764637028370231296}} 
[2026-07-27 16:42:11] local.INFO: DEBUG: GPS processor result {"connection_id":143134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554241,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:42:11] local.INFO: GPS data processed {"connection_id":143134,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:42:11] local.INFO: Acknowledgment sent {"connection_id":143134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:42:15] local.INFO: TCP Data received {"connection_id":143134,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa34401f8012d18764007218140005301072a..."} 
[2026-07-27 16:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143134,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa34401f8012d18764007218140005301072a..."} 
[2026-07-27 16:42:15] local.INFO: Processing buffer {"connection_id":143134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa34401f8012d18764007218140005301072a..."} 
[2026-07-27 16:42:15] local.INFO: Packet analysis {"connection_id":143134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa344"} 
[2026-07-27 16:42:15] local.INFO: Extracted packet for processing {"connection_id":143134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa344"} 
[2026-07-27 16:42:15] local.INFO: GPS Element Parsed {"raw_longitude":756577856,"raw_latitude":119636288,"longitude_deg":75.6577856,"latitude_deg":11.9636288,"altitude":83,"angle":263,"satellites":42,"speed":3,"hex_longitude":"2d187640","hex_latitude":"07218140","is_valid_coordinates":true} 
[2026-07-27 16:42:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:42:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998540800001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:42:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8905911040999424,"note":"Value kept but may cause issues"} 
[2026-07-27 16:42:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762385228556539904,"note":"Value kept but may cause issues"} 
[2026-07-27 16:42: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-07-27 16:42:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785150571000,"timestamp_ms":1785150571000,"timestamp_seconds":1785150571,"priority":1,"record_length":96,"hex_timestamp":"0000019fa34401f8"} 
[2026-07-27 16:42:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:42:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16: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":55,"data_length":795,"current_offset":136} 
[2026-07-27 16:42:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:42:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:42:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:42:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:42:15] local.INFO: Teltonika packet parsed successfully {"connection_id":143134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:42:15] local.INFO: Passing IMEI to GPS processor {"connection_id":143134,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:42:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":143134,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:42:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:42:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 16:42:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 16:42:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998540800001,"66":13135,"121":206,"28":31744,"24":3,"16":8905911040999424,"45":1762385228556539904},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 16:42:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 16:42:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 16:42:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998540800001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:42:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 16:42:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 16:42:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8905911040999424,"km_value":8905911040999.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:42:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762385228556539904,"description":"Unknown IO ID 45"} 
[2026-07-27 16:42:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998540800001,"power":13135,"unknown_121":206,"unknown_28":31744,"ignition":3,"odometer":null,"unknown_45":1762385228556539904}} 
[2026-07-27 16:42:15] local.INFO: DEBUG: GPS processor result {"connection_id":143134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554242,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:42:15] local.INFO: GPS data processed {"connection_id":143134,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:42:15] local.INFO: Acknowledgment sent {"connection_id":143134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:42:17] local.INFO: TCP Data received {"connection_id":145418,"ip":"117.224.227.219","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145418,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:42:17] local.INFO: Processing buffer {"connection_id":145418,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:42:17] local.INFO: IMEI packet received {"connection_id":145418,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 16:42:17] local.INFO: IMEI acknowledgment sent {"connection_id":145418,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:42:17] local.INFO: TCP Data received {"connection_id":145418,"ip":"117.224.227.219","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145418,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:42:17] local.INFO: Processing buffer {"connection_id":145418,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:42:17] local.INFO: IMEI packet received {"connection_id":145418,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 16:42:17] local.INFO: IMEI acknowledgment sent {"connection_id":145418,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:42:22] local.INFO: TCP Data received {"connection_id":145418,"ip":"117.224.227.219","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145418,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:42:22] local.INFO: Processing buffer {"connection_id":145418,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:42:22] local.INFO: IMEI packet received {"connection_id":145418,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 16:42:22] local.INFO: IMEI acknowledgment sent {"connection_id":145418,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:42:22] local.INFO: TCP Data received {"connection_id":145418,"ip":"117.224.227.219","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3463c48012d0c03c007036da8001400bb1f..."} 
[2026-07-27 16:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145418,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3463c48012d0c03c007036da8001400bb1f..."} 
[2026-07-27 16:42:22] local.INFO: Processing buffer {"connection_id":145418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3463c48012d0c03c007036da8001400bb1f..."} 
[2026-07-27 16:42:22] local.INFO: Packet analysis {"connection_id":145418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa346"} 
[2026-07-27 16:42:22] local.INFO: Extracted packet for processing {"connection_id":145418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa346"} 
[2026-07-27 16:42:22] local.INFO: GPS Element Parsed {"raw_longitude":755762112,"raw_latitude":117665192,"longitude_deg":75.5762112,"latitude_deg":11.7665192,"altitude":20,"angle":187,"satellites":31,"speed":42,"hex_longitude":"2d0c03c0","hex_latitude":"07036da8","is_valid_coordinates":true} 
[2026-07-27 16:42:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:42:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998580992001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:42:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25972049491001344,"note":"Value kept but may cause issues"} 
[2026-07-27 16:42:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":868279964532883456,"note":"Value kept but may cause issues"} 
[2026-07-27 16:42:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:42:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785150717000,"timestamp_ms":1785150717000,"timestamp_seconds":1785150717,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3463c48"} 
[2026-07-27 16:42:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:42:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16: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":55,"n8_eight_byte":250,"data_length":795,"current_offset":136} 
[2026-07-27 16:42:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2723,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:42:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:42:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:42:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:42:22] local.INFO: Teltonika packet parsed successfully {"connection_id":145418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:42:22] local.INFO: Passing IMEI to GPS processor {"connection_id":145418,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 16:42:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":145418,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 16:42:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.227.219","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:42:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 16:42:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 16:42:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998580992001,"66":14352,"18":206,"28":32256,"24":42,"16":25972049491001344,"45":868279964532883456},"client_ip":"117.224.227.219","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,28,24,16,45]} 
[2026-07-27 16:42:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 16:42:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 16:42:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998580992001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:42:22] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-07-27 16:42:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-07-27 16:42:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25972049491001344,"km_value":25972049491001.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:42:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":868279964532883456,"description":"Unknown IO ID 45"} 
[2026-07-27 16:42:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998580992001,"power":14352,"unknown_18":206,"unknown_28":32256,"ignition":42,"odometer":null,"unknown_45":868279964532883456}} 
[2026-07-27 16:42:23] local.INFO: DEBUG: GPS processor result {"connection_id":145418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554243,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:42:23] local.INFO: GPS data processed {"connection_id":145418,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:42:23] local.INFO: Acknowledgment sent {"connection_id":145418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:42:31] local.INFO: TCP Data received {"connection_id":144126,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:42:31] local.INFO: Processing buffer {"connection_id":144126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:42:31] local.INFO: IMEI packet received {"connection_id":144126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 16:42:31] local.INFO: IMEI acknowledgment sent {"connection_id":144126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:42:37] local.INFO: TCP Data received {"connection_id":144126,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:42:37] local.INFO: Processing buffer {"connection_id":144126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:42:37] local.INFO: IMEI packet received {"connection_id":144126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 16:42:37] local.INFO: IMEI acknowledgment sent {"connection_id":144126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:42:38] local.INFO: TCP Data received {"connection_id":144126,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fa341f688012d9cd70005b360f8001a000924..."} 
[2026-07-27 16:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa341f688012d9cd70005b360f8001a000924..."} 
[2026-07-27 16:42:38] local.INFO: Processing buffer {"connection_id":144126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa341f688012d9cd70005b360f8001a000924..."} 
[2026-07-27 16:42:38] local.INFO: Packet analysis {"connection_id":144126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa341"} 
[2026-07-27 16:42:38] local.INFO: Extracted packet for processing {"connection_id":144126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa341"} 
[2026-07-27 16:42:38] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641848,"longitude_deg":76.5253376,"latitude_deg":9.5641848,"altitude":26,"angle":9,"satellites":36,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b360f8","is_valid_coordinates":true} 
[2026-07-27 16:42:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:42:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998434816001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:42:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359071309033897984,"note":"Value kept but may cause issues"} 
[2026-07-27 16:42:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315689472,"note":"Value kept but may cause issues"} 
[2026-07-27 16:42:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:42:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785150437000,"timestamp_ms":1785150437000,"timestamp_seconds":1785150437,"priority":1,"record_length":96,"hex_timestamp":"0000019fa341f688"} 
[2026-07-27 16:42:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:42:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 16: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-27 16:42:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:42:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:42:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:42:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:42:38] local.INFO: Teltonika packet parsed successfully {"connection_id":144126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:42:38] local.INFO: Passing IMEI to GPS processor {"connection_id":144126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:42:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":144126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:42:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:42:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:42:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:42:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998434816001,"66":25778,"226":206,"83":17408,"24":0,"16":359071309033897984,"45":-7145242259315689472},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-07-27 16:42:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:42:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:42:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998434816001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:42:38] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-27 16:42:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 16:42:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359071309033897984,"km_value":359071309033898.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:42:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315689472,"description":"Unknown IO ID 45"} 
[2026-07-27 16:42:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998434816001,"power":25778,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315689472}} 
[2026-07-27 16:42:38] local.INFO: DEBUG: GPS processor result {"connection_id":144126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:42:38] local.INFO: GPS data processed {"connection_id":144126,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:42:38] local.INFO: Acknowledgment sent {"connection_id":144126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:42:54] local.INFO: TCP Data received {"connection_id":145418,"ip":"117.224.227.219","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3463c48012d0c03c007036da8001400bb1f..."} 
[2026-07-27 16:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145418,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3463c48012d0c03c007036da8001400bb1f..."} 
[2026-07-27 16:42:54] local.INFO: Processing buffer {"connection_id":145418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3463c48012d0c03c007036da8001400bb1f..."} 
[2026-07-27 16:42:54] local.INFO: Packet analysis {"connection_id":145418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa346"} 
[2026-07-27 16:42:54] local.INFO: Extracted packet for processing {"connection_id":145418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa346"} 
[2026-07-27 16:42:54] local.INFO: GPS Element Parsed {"raw_longitude":755762112,"raw_latitude":117665192,"longitude_deg":75.5762112,"latitude_deg":11.7665192,"altitude":20,"angle":187,"satellites":31,"speed":42,"hex_longitude":"2d0c03c0","hex_latitude":"07036da8","is_valid_coordinates":true} 
[2026-07-27 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-07-27 16:42:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998583552001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:42:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25972049491001344,"note":"Value kept but may cause issues"} 
[2026-07-27 16:42:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":865746689740089344,"note":"Value kept but may cause issues"} 
[2026-07-27 16:42:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:42:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785150717000,"timestamp_ms":1785150717000,"timestamp_seconds":1785150717,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3463c48"} 
[2026-07-27 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-07-27 16:42:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-07-27 16:42:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733142016,"note":"Value kept but may cause issues"} 
[2026-07-27 16:42:54] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503995906719744,"note":"Value kept but may cause issues"} 
[2026-07-27 16:42:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6474788272872192,"note":"Value kept but may cause issues"} 
[2026-07-27 16:42:54] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2739255160,"note":"Value kept but may cause issues"} 
[2026-07-27 16:42:54] local.WARNING: Large IO value detected {"io_id":68,"raw_value":2969567232,"note":"Value kept but may cause issues"} 
[2026-07-27 16:42:54] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-27 16:42:54] local.WARNING: Large IO value detected {"io_id":3,"raw_value":2960654357,"note":"Value kept but may cause issues"} 
[2026-07-27 16:42:54] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639178825591259,"note":"Value kept but may cause issues"} 
[2026-07-27 16:42:54] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5332525845896823040,"note":"Value kept but may cause issues"} 
[2026-07-27 16:42:54] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3910271182,"corrected_to":0} 
[2026-07-27 16:42:54] local.WARNING: Large IO value detected {"io_id":71,"raw_value":3221685183,"note":"Value kept but may cause issues"} 
[2026-07-27 16:42:54] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":1507570,"corrected_to":0} 
[2026-07-27 16:42:54] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472039641104,"note":"Value kept but may cause issues"} 
[2026-07-27 16:42:54] local.WARNING: Large IO value detected {"io_id":144,"raw_value":84737497137349573,"note":"Value kept but may cause issues"} 
[2026-07-27 16:42:54] local.WARNING: Large IO value detected {"io_id":12,"raw_value":5584471250972966936,"note":"Value kept but may cause issues"} 
[2026-07-27 16:42:54] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,18,28,24,241,158,16,69,159,21,45,192,146,20,31,10,66,1,64,160,30,68,245,240,229,163,3,4,113,205,35,191,71,200,239,56,219,2,92,7,23,26,206,144,12],"length":628,"final_offset":758,"validated_count":45,"validation_warnings":[{"io_id":205,"original":3910271182,"validated":0},{"io_id":200,"original":1507570,"validated":0}]} 
[2026-07-27 16:42:54] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1441357622579691520,"timestamp_seconds":1441357622579691.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 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-07-27 16:42:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:42:54] local.INFO: Teltonika packet parsed successfully {"connection_id":145418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:42:54] local.INFO: Passing IMEI to GPS processor {"connection_id":145418,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 16:42:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":145418,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 16:42:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.227.219","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:42:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 16:42:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 16:42:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998583552001,"66":14352,"18":206,"28":32256,"24":42,"16":25972049491001344,"45":865746689740089344},"client_ip":"117.224.227.219","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,28,24,16,45]} 
[2026-07-27 16:42:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 16:42:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 16:42:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998583552001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:42:54] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-07-27 16:42:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-07-27 16:42:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25972049491001344,"km_value":25972049491001.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:42:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":865746689740089344,"description":"Unknown IO ID 45"} 
[2026-07-27 16:42:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998583552001,"power":14352,"unknown_18":206,"unknown_28":32256,"ignition":42,"odometer":null,"unknown_45":865746689740089344}} 
[2026-07-27 16:42:54] local.INFO: DEBUG: GPS processor result {"connection_id":145418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554245,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:42:54] local.INFO: GPS data processed {"connection_id":145418,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:42:54] local.INFO: Acknowledgment sent {"connection_id":145418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:43:00] local.INFO: TCP Data received {"connection_id":145419,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145419,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:43:00] local.INFO: Processing buffer {"connection_id":145419,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:43:00] local.INFO: IMEI packet received {"connection_id":145419,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 16:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":145419,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:43:03] local.INFO: TCP Data received {"connection_id":145419,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145419,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:43:03] local.INFO: Processing buffer {"connection_id":145419,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:43:03] local.INFO: IMEI packet received {"connection_id":145419,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 16:43:03] local.INFO: IMEI acknowledgment sent {"connection_id":145419,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:43:04] local.INFO: TCP Data received {"connection_id":145419,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3445400012d1876c007218098005301072b..."} 
[2026-07-27 16:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145419,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3445400012d1876c007218098005301072b..."} 
[2026-07-27 16:43:04] local.INFO: Processing buffer {"connection_id":145419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3445400012d1876c007218098005301072b..."} 
[2026-07-27 16:43:04] local.INFO: Packet analysis {"connection_id":145419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa344"} 
[2026-07-27 16:43:04] local.INFO: Extracted packet for processing {"connection_id":145419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa344"} 
[2026-07-27 16:43:04] local.INFO: GPS Element Parsed {"raw_longitude":756577984,"raw_latitude":119636120,"longitude_deg":75.6577984,"latitude_deg":11.963612,"altitude":83,"angle":263,"satellites":43,"speed":0,"hex_longitude":"2d1876c0","hex_latitude":"07218098","is_valid_coordinates":true} 
[2026-07-27 16:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:43:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998546176001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:43:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8905941105770496,"note":"Value kept but may cause issues"} 
[2026-07-27 16:43:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762666703533195264,"note":"Value kept but may cause issues"} 
[2026-07-27 16:43:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:43:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785150592000,"timestamp_ms":1785150592000,"timestamp_seconds":1785150592,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3445400"} 
[2026-07-27 16:43:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:43:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-27 16:43:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:43:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:43:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:43:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:43:04] local.INFO: Teltonika packet parsed successfully {"connection_id":145419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:43:04] local.INFO: Passing IMEI to GPS processor {"connection_id":145419,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:43:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":145419,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:43:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:43:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 16:43:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 16:43:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998546176001,"66":13091,"121":206,"28":31744,"24":0,"16":8905941105770496,"45":1762666703533195264},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 16:43:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 16:43:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 16:43:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998546176001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:43:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 16:43:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 16:43:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8905941105770496,"km_value":8905941105770.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:43:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762666703533195264,"description":"Unknown IO ID 45"} 
[2026-07-27 16:43:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998546176001,"power":13091,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1762666703533195264}} 
[2026-07-27 16:43:04] local.INFO: DEBUG: GPS processor result {"connection_id":145419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554246,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:43:04] local.INFO: GPS data processed {"connection_id":145419,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:43:04] local.INFO: Acknowledgment sent {"connection_id":145419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:43:10] local.INFO: TCP Data received {"connection_id":144126,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3468e50012d9cd70005b360f80019000928..."} 
[2026-07-27 16:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3468e50012d9cd70005b360f80019000928..."} 
[2026-07-27 16:43:10] local.INFO: Processing buffer {"connection_id":144126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3468e50012d9cd70005b360f80019000928..."} 
[2026-07-27 16:43:10] local.INFO: Packet analysis {"connection_id":144126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa346"} 
[2026-07-27 16:43:10] local.INFO: Extracted packet for processing {"connection_id":144126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa346"} 
[2026-07-27 16:43:10] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641848,"longitude_deg":76.5253376,"latitude_deg":9.5641848,"altitude":25,"angle":9,"satellites":40,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b360f8","is_valid_coordinates":true} 
[2026-07-27 16:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:43:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998511872001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:43:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359071309033897984,"note":"Value kept but may cause issues"} 
[2026-07-27 16:43:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315689472,"note":"Value kept but may cause issues"} 
[2026-07-27 16:43:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:43:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785150738000,"timestamp_ms":1785150738000,"timestamp_seconds":1785150738,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3468e50"} 
[2026-07-27 16:43:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:43:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 16:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-27 16:43:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:43:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:43:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:43:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:43:10] local.INFO: Teltonika packet parsed successfully {"connection_id":144126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:43:10] local.INFO: Passing IMEI to GPS processor {"connection_id":144126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:43:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":144126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:43:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:43:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:43:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:43:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998511872001,"66":25778,"226":206,"83":17408,"24":0,"16":359071309033897984,"45":-7145242259315689472},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-07-27 16:43:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:43:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:43:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998511872001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:43:10] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-27 16:43:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 16:43:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359071309033897984,"km_value":359071309033898.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:43:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315689472,"description":"Unknown IO ID 45"} 
[2026-07-27 16:43:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998511872001,"power":25778,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315689472}} 
[2026-07-27 16:43:10] local.INFO: DEBUG: GPS processor result {"connection_id":144126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:43:10] local.INFO: GPS data processed {"connection_id":144126,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:43:10] local.INFO: Acknowledgment sent {"connection_id":144126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:43:16] local.INFO: TCP Data received {"connection_id":143135,"ip":"117.224.227.219","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143135,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:43:16] local.INFO: Processing buffer {"connection_id":143135,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:43:16] local.INFO: IMEI packet received {"connection_id":143135,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 16:43:16] local.INFO: IMEI acknowledgment sent {"connection_id":143135,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:43:22] local.INFO: TCP Data received {"connection_id":143135,"ip":"117.224.227.219","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143135,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:43:22] local.INFO: Processing buffer {"connection_id":143135,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:43:22] local.INFO: IMEI packet received {"connection_id":143135,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 16:43:22] local.INFO: IMEI acknowledgment sent {"connection_id":143135,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:43:23] local.INFO: TCP Data received {"connection_id":143135,"ip":"117.224.227.219","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3464be8012d0c02c007035cc8001200b01f..."} 
[2026-07-27 16:43:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143135,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3464be8012d0c02c007035cc8001200b01f..."} 
[2026-07-27 16:43:23] local.INFO: Processing buffer {"connection_id":143135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3464be8012d0c02c007035cc8001200b01f..."} 
[2026-07-27 16:43:23] local.INFO: Packet analysis {"connection_id":143135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa346"} 
[2026-07-27 16:43:23] local.INFO: Extracted packet for processing {"connection_id":143135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa346"} 
[2026-07-27 16:43:23] local.INFO: GPS Element Parsed {"raw_longitude":755761856,"raw_latitude":117660872,"longitude_deg":75.5761856,"latitude_deg":11.7660872,"altitude":18,"angle":176,"satellites":31,"speed":43,"hex_longitude":"2d0c02c0","hex_latitude":"07035cc8","is_valid_coordinates":true} 
[2026-07-27 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-07-27 16:43:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998583552001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:43:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25972259944398848,"note":"Value kept but may cause issues"} 
[2026-07-27 16:43:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":865746689740089344,"note":"Value kept but may cause issues"} 
[2026-07-27 16:43:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:43:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785150721000,"timestamp_ms":1785150721000,"timestamp_seconds":1785150721,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3464be8"} 
[2026-07-27 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-07-27 16:43:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-07-27 16:43:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733142016,"note":"Value kept but may cause issues"} 
[2026-07-27 16:43:23] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503995907768320,"note":"Value kept but may cause issues"} 
[2026-07-27 16:43:23] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2739257160,"note":"Value kept but may cause issues"} 
[2026-07-27 16:43:23] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-27 16:43:23] local.WARNING: Large IO value detected {"io_id":68,"raw_value":3539992576,"note":"Value kept but may cause issues"} 
[2026-07-27 16:43:23] local.WARNING: Large IO value detected {"io_id":3,"raw_value":2849505301,"note":"Value kept but may cause issues"} 
[2026-07-27 16:43:23] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639084336310747,"note":"Value kept but may cause issues"} 
[2026-07-27 16:43:23] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5332525845896823040,"note":"Value kept but may cause issues"} 
[2026-07-27 16:43:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3910271182,"corrected_to":0} 
[2026-07-27 16:43:23] local.WARNING: Large IO value detected {"io_id":37,"raw_value":2147943344,"note":"Value kept but may cause issues"} 
[2026-07-27 16:43:23] local.WARNING: Large IO value detected {"io_id":120,"raw_value":84737490694898626,"note":"Value kept but may cause issues"} 
[2026-07-27 16:43:23] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472039641104,"note":"Value kept but may cause issues"} 
[2026-07-27 16:43:23] local.WARNING: Large IO value detected {"io_id":216,"raw_value":6474839812479488,"note":"Value kept but may cause issues"} 
[2026-07-27 16:43:23] local.WARNING: Large IO value detected {"io_id":12,"raw_value":5620500047730835479,"note":"Value kept but may cause issues"} 
[2026-07-27 16:43:23] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,18,28,24,241,158,16,69,159,60,45,192,109,20,31,10,66,21,146,1,64,240,27,68,163,3,4,113,205,38,234,37,120,30,239,56,2,92,7,23,206,216,12],"length":628,"final_offset":758,"validated_count":43,"validation_warnings":[{"io_id":205,"original":3910271182,"validated":0}]} 
[2026-07-27 16:43:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1441357622579691520,"timestamp_seconds":1441357622579691.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 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-07-27 16:43:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:43:23] local.INFO: Teltonika packet parsed successfully {"connection_id":143135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:43:23] local.INFO: Passing IMEI to GPS processor {"connection_id":143135,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 16:43:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":143135,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 16:43:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.227.219","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:43:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 16:43:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 16:43:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998583552001,"66":14396,"18":206,"28":32256,"24":43,"16":25972259944398848,"45":865746689740089344},"client_ip":"117.224.227.219","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,28,24,16,45]} 
[2026-07-27 16:43:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 16:43:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 16:43:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998583552001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:43:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-07-27 16:43:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-07-27 16:43:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25972259944398848,"km_value":25972259944398.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:43:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":865746689740089344,"description":"Unknown IO ID 45"} 
[2026-07-27 16:43:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998583552001,"power":14396,"unknown_18":206,"unknown_28":32256,"ignition":43,"odometer":null,"unknown_45":865746689740089344}} 
[2026-07-27 16:43:23] local.INFO: DEBUG: GPS processor result {"connection_id":143135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554248,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:43:23] local.INFO: GPS data processed {"connection_id":143135,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:43:23] local.INFO: Acknowledgment sent {"connection_id":143135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:43:35] local.INFO: TCP Data received {"connection_id":145419,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa346ff98012d181e800721a520004f01232a..."} 
[2026-07-27 16:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145419,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa346ff98012d181e800721a520004f01232a..."} 
[2026-07-27 16:43:36] local.INFO: Processing buffer {"connection_id":145419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa346ff98012d181e800721a520004f01232a..."} 
[2026-07-27 16:43:36] local.INFO: Packet analysis {"connection_id":145419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa346"} 
[2026-07-27 16:43:36] local.INFO: Extracted packet for processing {"connection_id":145419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa346"} 
[2026-07-27 16:43:36] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119645472,"longitude_deg":75.6555392,"latitude_deg":11.9645472,"altitude":79,"angle":291,"satellites":42,"speed":6,"hex_longitude":"2d181e80","hex_latitude":"0721a520","is_valid_coordinates":true} 
[2026-07-27 16:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:43:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998595584001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:43:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8907165171449856,"note":"Value kept but may cause issues"} 
[2026-07-27 16:43:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961770883072,"note":"Value kept but may cause issues"} 
[2026-07-27 16:43:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:43:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785150767000,"timestamp_ms":1785150767000,"timestamp_seconds":1785150767,"priority":1,"record_length":96,"hex_timestamp":"0000019fa346ff98"} 
[2026-07-27 16:43:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:43:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-27 16:43:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:43:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:43:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:43:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:43:36] local.INFO: Teltonika packet parsed successfully {"connection_id":145419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:43:36] local.INFO: Passing IMEI to GPS processor {"connection_id":145419,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:43:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":145419,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:43:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:43:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 16:43:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 16:43:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998595584001,"66":13961,"122":206,"28":31744,"24":6,"16":8907165171449856,"45":1738670961770883072},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-07-27 16:43:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 16:43:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 16:43:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998595584001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:43:36] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-27 16:43:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 16:43:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8907165171449856,"km_value":8907165171449.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:43:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961770883072,"description":"Unknown IO ID 45"} 
[2026-07-27 16:43:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998595584001,"power":13961,"unknown_122":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1738670961770883072}} 
[2026-07-27 16:43:36] local.INFO: DEBUG: GPS processor result {"connection_id":145419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554249,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:43:36] local.INFO: GPS data processed {"connection_id":145419,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:43:36] local.INFO: Acknowledgment sent {"connection_id":145419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:43:37] local.INFO: TCP Data received {"connection_id":144127,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:43:37] local.INFO: Processing buffer {"connection_id":144127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:43:37] local.INFO: IMEI packet received {"connection_id":144127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 16:43:37] local.INFO: IMEI acknowledgment sent {"connection_id":144127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:43:42] local.INFO: TCP Data received {"connection_id":144127,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:43:42] local.INFO: Processing buffer {"connection_id":144127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:43:42] local.INFO: IMEI packet received {"connection_id":144127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 16:43:42] local.INFO: IMEI acknowledgment sent {"connection_id":144127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:43:43] local.INFO: TCP Data received {"connection_id":144127,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3468e50012d9cd70005b360f80019000928..."} 
[2026-07-27 16:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144127,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3468e50012d9cd70005b360f80019000928..."} 
[2026-07-27 16:43:43] local.INFO: Processing buffer {"connection_id":144127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3468e50012d9cd70005b360f80019000928..."} 
[2026-07-27 16:43:43] local.INFO: Packet analysis {"connection_id":144127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa346"} 
[2026-07-27 16:43:43] local.INFO: Extracted packet for processing {"connection_id":144127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa346"} 
[2026-07-27 16:43:43] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641848,"longitude_deg":76.5253376,"latitude_deg":9.5641848,"altitude":25,"angle":9,"satellites":40,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b360f8","is_valid_coordinates":true} 
[2026-07-27 16:43:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:43:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998511872001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:43:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359071309033897984,"note":"Value kept but may cause issues"} 
[2026-07-27 16:43:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315689472,"note":"Value kept but may cause issues"} 
[2026-07-27 16:43:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:43:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785150738000,"timestamp_ms":1785150738000,"timestamp_seconds":1785150738,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3468e50"} 
[2026-07-27 16:43:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:43:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 16: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-27 16:43:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:43:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:43:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:43:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:43:43] local.INFO: Teltonika packet parsed successfully {"connection_id":144127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:43:43] local.INFO: Passing IMEI to GPS processor {"connection_id":144127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:43:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":144127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:43: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-07-27 16:43:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:43:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:43:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998511872001,"66":25778,"226":206,"83":17408,"24":0,"16":359071309033897984,"45":-7145242259315689472},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-07-27 16:43:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:43:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:43:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998511872001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:43:43] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-27 16:43:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 16:43:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359071309033897984,"km_value":359071309033898.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:43:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315689472,"description":"Unknown IO ID 45"} 
[2026-07-27 16:43:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998511872001,"power":25778,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315689472}} 
[2026-07-27 16:43:43] local.INFO: DEBUG: GPS processor result {"connection_id":144127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:43:43] local.INFO: GPS data processed {"connection_id":144127,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:43:43] local.INFO: Acknowledgment sent {"connection_id":144127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:43:47] local.INFO: TCP Data received {"connection_id":144127,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3468e50012d9cd70005b360f80019000928..."} 
[2026-07-27 16:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144127,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3468e50012d9cd70005b360f80019000928..."} 
[2026-07-27 16:43:47] local.INFO: Processing buffer {"connection_id":144127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3468e50012d9cd70005b360f80019000928..."} 
[2026-07-27 16:43:47] local.INFO: Packet analysis {"connection_id":144127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa346"} 
[2026-07-27 16:43:47] local.INFO: Extracted packet for processing {"connection_id":144127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa346"} 
[2026-07-27 16:43:47] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641848,"longitude_deg":76.5253376,"latitude_deg":9.5641848,"altitude":25,"angle":9,"satellites":40,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b360f8","is_valid_coordinates":true} 
[2026-07-27 16: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-07-27 16:43:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998511872001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:43:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359071309033897984,"note":"Value kept but may cause issues"} 
[2026-07-27 16:43:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315689472,"note":"Value kept but may cause issues"} 
[2026-07-27 16:43:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:43:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785150738000,"timestamp_ms":1785150738000,"timestamp_seconds":1785150738,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3468e50"} 
[2026-07-27 16:43:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:43:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 16: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-27 16:43:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16: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-07-27 16:43:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:43:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:43:47] local.INFO: Teltonika packet parsed successfully {"connection_id":144127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:43:47] local.INFO: Passing IMEI to GPS processor {"connection_id":144127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:43:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":144127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:43:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:43:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:43:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:43:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998511872001,"66":25778,"226":206,"83":17408,"24":0,"16":359071309033897984,"45":-7145242259315689472},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-07-27 16:43:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:43:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:43:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998511872001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:43:47] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-27 16:43:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 16:43:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359071309033897984,"km_value":359071309033898.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:43:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315689472,"description":"Unknown IO ID 45"} 
[2026-07-27 16:43:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998511872001,"power":25778,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315689472}} 
[2026-07-27 16:43:47] local.INFO: DEBUG: GPS processor result {"connection_id":144127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:43:47] local.INFO: GPS data processed {"connection_id":144127,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:43:47] local.INFO: Acknowledgment sent {"connection_id":144127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:43:55] local.INFO: TCP Data received {"connection_id":143135,"ip":"117.224.227.219","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3468298012d0c084007033a10001100a720..."} 
[2026-07-27 16:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143135,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3468298012d0c084007033a10001100a720..."} 
[2026-07-27 16:43:55] local.INFO: Processing buffer {"connection_id":143135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3468298012d0c084007033a10001100a720..."} 
[2026-07-27 16:43:55] local.INFO: Packet analysis {"connection_id":143135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa346"} 
[2026-07-27 16:43:55] local.INFO: Extracted packet for processing {"connection_id":143135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa346"} 
[2026-07-27 16:43:55] local.INFO: GPS Element Parsed {"raw_longitude":755763264,"raw_latitude":117651984,"longitude_deg":75.5763264,"latitude_deg":11.7651984,"altitude":17,"angle":167,"satellites":32,"speed":22,"hex_longitude":"2d0c0840","hex_latitude":"07033a10","is_valid_coordinates":true} 
[2026-07-27 16:43:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:43:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998584576001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:43:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25972693736095744,"note":"Value kept but may cause issues"} 
[2026-07-27 16:43:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":865465214762272768,"note":"Value kept but may cause issues"} 
[2026-07-27 16:43:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:43:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785150735000,"timestamp_ms":1785150735000,"timestamp_seconds":1785150735,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3468298"} 
[2026-07-27 16:43:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:43: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-07-27 16:43:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-27 16:43:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:43:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:43:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:43:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:43:55] local.INFO: Teltonika packet parsed successfully {"connection_id":143135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:43:55] local.INFO: Passing IMEI to GPS processor {"connection_id":143135,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 16:43:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":143135,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 16:43:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.227.219","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:43:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 16:43:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 16:43:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998584576001,"66":14363,"18":206,"28":32256,"24":22,"16":25972693736095744,"45":865465214762272768},"client_ip":"117.224.227.219","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,28,24,16,45]} 
[2026-07-27 16:43:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 16:43:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 16:43:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998584576001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:43:55] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-07-27 16:43:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-07-27 16:43:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25972693736095744,"km_value":25972693736095.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:43:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":865465214762272768,"description":"Unknown IO ID 45"} 
[2026-07-27 16:43:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998584576001,"power":14363,"unknown_18":206,"unknown_28":32256,"ignition":22,"odometer":null,"unknown_45":865465214762272768}} 
[2026-07-27 16:43:55] local.INFO: DEBUG: GPS processor result {"connection_id":143135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554252,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:43:55] local.INFO: GPS data processed {"connection_id":143135,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:43:55] local.INFO: Acknowledgment sent {"connection_id":143135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:43:57] local.INFO: TCP Data received {"connection_id":145420,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145420,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:43:58] local.INFO: Processing buffer {"connection_id":145420,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:43:58] local.INFO: IMEI packet received {"connection_id":145420,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 16:43:58] local.INFO: IMEI acknowledgment sent {"connection_id":145420,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:43:59] local.INFO: TCP Data received {"connection_id":145420,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145420,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:43:59] local.INFO: Processing buffer {"connection_id":145420,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:43:59] local.INFO: IMEI packet received {"connection_id":145420,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 16:43:59] local.INFO: IMEI acknowledgment sent {"connection_id":145420,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:44:05] local.INFO: TCP Data received {"connection_id":145420,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145420,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:44:05] local.INFO: Processing buffer {"connection_id":145420,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:44:05] local.INFO: IMEI packet received {"connection_id":145420,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 16:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":145420,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:44:06] local.INFO: TCP Data received {"connection_id":145420,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3471af0012d181c800721a530004e00e92b..."} 
[2026-07-27 16:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145420,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3471af0012d181c800721a530004e00e92b..."} 
[2026-07-27 16:44:06] local.INFO: Processing buffer {"connection_id":145420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3471af0012d181c800721a530004e00e92b..."} 
[2026-07-27 16:44:06] local.INFO: Packet analysis {"connection_id":145420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa347"} 
[2026-07-27 16:44:06] local.INFO: Extracted packet for processing {"connection_id":145420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa347"} 
[2026-07-27 16:44:06] local.INFO: GPS Element Parsed {"raw_longitude":756554880,"raw_latitude":119645488,"longitude_deg":75.655488,"latitude_deg":11.9645488,"altitude":78,"angle":233,"satellites":43,"speed":7,"hex_longitude":"2d181c80","hex_latitude":"0721a530","is_valid_coordinates":true} 
[2026-07-27 16:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:44:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998596352001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:44:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8907195236220928,"note":"Value kept but may cause issues"} 
[2026-07-27 16:44:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329186304,"note":"Value kept but may cause issues"} 
[2026-07-27 16:44:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:44:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785150774000,"timestamp_ms":1785150774000,"timestamp_seconds":1785150774,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3471af0"} 
[2026-07-27 16:44:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:44:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-07-27 16:44:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:44:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:44:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:44:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:44:06] local.INFO: Teltonika packet parsed successfully {"connection_id":145420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:44:06] local.INFO: Passing IMEI to GPS processor {"connection_id":145420,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:44:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":145420,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:44:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:44:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 16:44:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 16:44:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998596352001,"66":13939,"122":206,"28":31744,"24":7,"16":8907195236220928,"45":1737967274329186304},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-07-27 16:44:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 16:44:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 16:44:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998596352001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:44:06] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-27 16:44:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 16:44:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8907195236220928,"km_value":8907195236220.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:44:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329186304,"description":"Unknown IO ID 45"} 
[2026-07-27 16:44:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998596352001,"power":13939,"unknown_122":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1737967274329186304}} 
[2026-07-27 16:44:06] local.INFO: DEBUG: GPS processor result {"connection_id":145420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554253,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:44:06] local.INFO: GPS data processed {"connection_id":145420,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:44:06] local.INFO: Acknowledgment sent {"connection_id":145420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:44:16] local.INFO: TCP Data received {"connection_id":144128,"ip":"117.224.227.219","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144128,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:44:16] local.INFO: Processing buffer {"connection_id":144128,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:44:16] local.INFO: IMEI packet received {"connection_id":144128,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 16:44:16] local.INFO: IMEI acknowledgment sent {"connection_id":144128,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:44:19] local.INFO: TCP Data received {"connection_id":144128,"ip":"117.224.227.219","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144128,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:44:19] local.INFO: Processing buffer {"connection_id":144128,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:44:19] local.INFO: IMEI packet received {"connection_id":144128,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 16:44:19] local.INFO: IMEI acknowledgment sent {"connection_id":144128,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:44:22] local.INFO: TCP Data received {"connection_id":144128,"ip":"117.224.227.219","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144128,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:44:22] local.INFO: Processing buffer {"connection_id":144128,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:44:22] local.INFO: IMEI packet received {"connection_id":144128,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 16:44:22] local.INFO: IMEI acknowledgment sent {"connection_id":144128,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:44:23] local.INFO: TCP Data received {"connection_id":144128,"ip":"117.224.227.219","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3483818012d0c26400702aa60001a01471f..."} 
[2026-07-27 16:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3483818012d0c26400702aa60001a01471f..."} 
[2026-07-27 16:44:23] local.INFO: Processing buffer {"connection_id":144128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3483818012d0c26400702aa60001a01471f..."} 
[2026-07-27 16:44:23] local.INFO: Packet analysis {"connection_id":144128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa348"} 
[2026-07-27 16:44:23] local.INFO: Extracted packet for processing {"connection_id":144128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa348"} 
[2026-07-27 16:44:23] local.INFO: GPS Element Parsed {"raw_longitude":755770944,"raw_latitude":117615200,"longitude_deg":75.5770944,"latitude_deg":11.76152,"altitude":26,"angle":327,"satellites":31,"speed":2,"hex_longitude":"2d0c2640","hex_latitude":"0702aa60","is_valid_coordinates":true} 
[2026-07-27 16: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-07-27 16:44:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998613248001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:44:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25974613586477056,"note":"Value kept but may cause issues"} 
[2026-07-27 16:44:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":876653845074847744,"note":"Value kept but may cause issues"} 
[2026-07-27 16:44:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:44:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785150847000,"timestamp_ms":1785150847000,"timestamp_seconds":1785150847,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3483818"} 
[2026-07-27 16:44:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16: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-07-27 16: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":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-27 16:44:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2237,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:44:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:44:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:44:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:44:23] local.INFO: Teltonika packet parsed successfully {"connection_id":144128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:44:23] local.INFO: Passing IMEI to GPS processor {"connection_id":144128,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 16:44:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":144128,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 16:44:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.227.219","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:44:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 16:44:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 16:44:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998613248001,"66":14450,"21":206,"28":32256,"24":2,"16":25974613586477056,"45":876653845074847744},"client_ip":"117.224.227.219","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,28,24,16,45]} 
[2026-07-27 16:44:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 16:44:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 16:44:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998613248001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:44:23] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-07-27 16:44:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-07-27 16:44:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25974613586477056,"km_value":25974613586477.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:44:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":876653845074847744,"description":"Unknown IO ID 45"} 
[2026-07-27 16:44:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998613248001,"power":14450,"unknown_21":206,"unknown_28":32256,"ignition":2,"odometer":null,"unknown_45":876653845074847744}} 
[2026-07-27 16:44:24] local.INFO: DEBUG: GPS processor result {"connection_id":144128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554254,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:44:24] local.INFO: GPS data processed {"connection_id":144128,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:44:24] local.INFO: Acknowledgment sent {"connection_id":144128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:44:32] local.INFO: TCP Data received {"connection_id":142988,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:44:32] local.INFO: Processing buffer {"connection_id":142988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:44:32] local.INFO: IMEI packet received {"connection_id":142988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 16:44:32] local.INFO: IMEI acknowledgment sent {"connection_id":142988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:44:37] local.INFO: TCP Data received {"connection_id":142988,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:44:37] local.INFO: Processing buffer {"connection_id":142988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:44:37] local.INFO: IMEI packet received {"connection_id":142988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 16:44:37] local.INFO: IMEI acknowledgment sent {"connection_id":142988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:44:37] local.INFO: TCP Data received {"connection_id":145420,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3471ed8012d181bc00721a488004e00db2c..."} 
[2026-07-27 16:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145420,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3471ed8012d181bc00721a488004e00db2c..."} 
[2026-07-27 16:44:37] local.INFO: Processing buffer {"connection_id":145420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3471ed8012d181bc00721a488004e00db2c..."} 
[2026-07-27 16:44:37] local.INFO: Packet analysis {"connection_id":145420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa347"} 
[2026-07-27 16:44:37] local.INFO: Extracted packet for processing {"connection_id":145420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa347"} 
[2026-07-27 16:44:37] local.INFO: GPS Element Parsed {"raw_longitude":756554688,"raw_latitude":119645320,"longitude_deg":75.6554688,"latitude_deg":11.964532,"altitude":78,"angle":219,"satellites":44,"speed":11,"hex_longitude":"2d181bc0","hex_latitude":"0721a488","is_valid_coordinates":true} 
[2026-07-27 16:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:44:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998598144001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:44:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8907208121122816,"note":"Value kept but may cause issues"} 
[2026-07-27 16:44:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737404324375769088,"note":"Value kept but may cause issues"} 
[2026-07-27 16:44:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:44:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785150775000,"timestamp_ms":1785150775000,"timestamp_seconds":1785150775,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3471ed8"} 
[2026-07-27 16:44:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:44:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-07-27 16:44:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1503,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:44:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:44:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:44:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:44:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:44:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145420,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:44:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145420,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:44:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:44:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 16:44:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 16:44:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998598144001,"66":13939,"122":206,"28":31744,"24":11,"16":8907208121122816,"45":1737404324375769088},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-07-27 16:44:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 16:44:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 16:44:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998598144001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:44:37] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-27 16:44:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 16:44:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8907208121122816,"km_value":8907208121122.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:44:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737404324375769088,"description":"Unknown IO ID 45"} 
[2026-07-27 16:44:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998598144001,"power":13939,"unknown_122":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1737404324375769088}} 
[2026-07-27 16:44:37] local.INFO: TCP Data received {"connection_id":142988,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3468e50012d9cd70005b360f80019000928..."} 
[2026-07-27 16:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3468e50012d9cd70005b360f80019000928..."} 
[2026-07-27 16:44:37] local.INFO: Processing buffer {"connection_id":142988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3468e50012d9cd70005b360f80019000928..."} 
[2026-07-27 16:44:37] local.INFO: Packet analysis {"connection_id":142988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa346"} 
[2026-07-27 16:44:37] local.INFO: Extracted packet for processing {"connection_id":142988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa346"} 
[2026-07-27 16:44:37] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641848,"longitude_deg":76.5253376,"latitude_deg":9.5641848,"altitude":25,"angle":9,"satellites":40,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b360f8","is_valid_coordinates":true} 
[2026-07-27 16:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:44:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998511872001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:44:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359071309033897984,"note":"Value kept but may cause issues"} 
[2026-07-27 16:44:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315689472,"note":"Value kept but may cause issues"} 
[2026-07-27 16:44:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:44:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785150738000,"timestamp_ms":1785150738000,"timestamp_seconds":1785150738,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3468e50"} 
[2026-07-27 16:44:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:44:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 16:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-27 16:44:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:44:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:44:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:44:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:44:37] local.INFO: Teltonika packet parsed successfully {"connection_id":142988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:44:37] local.INFO: Passing IMEI to GPS processor {"connection_id":142988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:44:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":142988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:44:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:44:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:44:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:44:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998511872001,"66":25778,"226":206,"83":17408,"24":0,"16":359071309033897984,"45":-7145242259315689472},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-07-27 16:44:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:44:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:44:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998511872001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:44:37] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-27 16:44:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 16:44:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359071309033897984,"km_value":359071309033898.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:44:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315689472,"description":"Unknown IO ID 45"} 
[2026-07-27 16:44:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998511872001,"power":25778,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315689472}} 
[2026-07-27 16:44:37] local.INFO: DEBUG: GPS processor result {"connection_id":142988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:44:37] local.INFO: GPS data processed {"connection_id":142988,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:44:37] local.INFO: Acknowledgment sent {"connection_id":142988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:44:37] local.INFO: DEBUG: GPS processor result {"connection_id":145420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554256,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:44:37] local.INFO: GPS data processed {"connection_id":145420,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:44:37] local.INFO: Acknowledgment sent {"connection_id":145420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:44:55] local.INFO: TCP Data received {"connection_id":144128,"ip":"117.224.227.219","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3483fe8012d0c25800702ab10001a01361f..."} 
[2026-07-27 16:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3483fe8012d0c25800702ab10001a01361f..."} 
[2026-07-27 16:44:55] local.INFO: Processing buffer {"connection_id":144128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3483fe8012d0c25800702ab10001a01361f..."} 
[2026-07-27 16:44:55] local.INFO: Packet analysis {"connection_id":144128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa348"} 
[2026-07-27 16:44:55] local.INFO: Extracted packet for processing {"connection_id":144128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa348"} 
[2026-07-27 16:44:55] local.INFO: GPS Element Parsed {"raw_longitude":755770752,"raw_latitude":117615376,"longitude_deg":75.5770752,"latitude_deg":11.7615376,"altitude":26,"angle":310,"satellites":31,"speed":4,"hex_longitude":"2d0c2580","hex_latitude":"0702ab10","is_valid_coordinates":true} 
[2026-07-27 16:44:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:44:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998616832001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:44:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25974626471378944,"note":"Value kept but may cause issues"} 
[2026-07-27 16:44:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":875457576423809024,"note":"Value kept but may cause issues"} 
[2026-07-27 16:44:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:44:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785150849000,"timestamp_ms":1785150849000,"timestamp_seconds":1785150849,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3483fe8"} 
[2026-07-27 16:44:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:44: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-07-27 16:44:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-27 16:44:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:44:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:44:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:44:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:44:55] local.INFO: Teltonika packet parsed successfully {"connection_id":144128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:44:55] local.INFO: Passing IMEI to GPS processor {"connection_id":144128,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 16:44:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":144128,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 16:44:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.227.219","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:44:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 16:44:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 16:44:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998616832001,"66":14407,"21":206,"28":32256,"24":4,"16":25974626471378944,"45":875457576423809024},"client_ip":"117.224.227.219","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,28,24,16,45]} 
[2026-07-27 16:44:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 16:44:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 16:44:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998616832001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:44:55] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-07-27 16:44:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-07-27 16:44:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25974626471378944,"km_value":25974626471378.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:44:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":875457576423809024,"description":"Unknown IO ID 45"} 
[2026-07-27 16:44:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998616832001,"power":14407,"unknown_21":206,"unknown_28":32256,"ignition":4,"odometer":null,"unknown_45":875457576423809024}} 
[2026-07-27 16:44:55] local.INFO: DEBUG: GPS processor result {"connection_id":144128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554257,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:44:55] local.INFO: GPS data processed {"connection_id":144128,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:44:55] local.INFO: Acknowledgment sent {"connection_id":144128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:44:57] local.INFO: TCP Data received {"connection_id":143136,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143136,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:44:57] local.INFO: Processing buffer {"connection_id":143136,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:44:57] local.INFO: IMEI packet received {"connection_id":143136,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 16:44:57] local.INFO: IMEI acknowledgment sent {"connection_id":143136,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:44:58] local.INFO: TCP Data received {"connection_id":143136,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143136,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:44:58] local.INFO: Processing buffer {"connection_id":143136,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:44:58] local.INFO: IMEI packet received {"connection_id":143136,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 16:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":143136,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:44:59] local.INFO: TCP Data received {"connection_id":143136,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143136,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:44:59] local.INFO: Processing buffer {"connection_id":143136,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:44:59] local.INFO: IMEI packet received {"connection_id":143136,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 16:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":143136,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:45:05] local.INFO: TCP Data received {"connection_id":143136,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143136,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:45:05] local.INFO: Processing buffer {"connection_id":143136,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:45:05] local.INFO: IMEI packet received {"connection_id":143136,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 16:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":143136,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:45:06] local.INFO: TCP Data received {"connection_id":143136,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3483048012d178d00072105800041013e2d..."} 
[2026-07-27 16:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143136,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3483048012d178d00072105800041013e2d..."} 
[2026-07-27 16:45:06] local.INFO: Processing buffer {"connection_id":143136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3483048012d178d00072105800041013e2d..."} 
[2026-07-27 16:45:06] local.INFO: Packet analysis {"connection_id":143136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa348"} 
[2026-07-27 16:45:06] local.INFO: Extracted packet for processing {"connection_id":143136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa348"} 
[2026-07-27 16:45:06] local.INFO: GPS Element Parsed {"raw_longitude":756518144,"raw_latitude":119604608,"longitude_deg":75.6518144,"latitude_deg":11.9604608,"altitude":65,"angle":318,"satellites":45,"speed":7,"hex_longitude":"2d178d00","hex_latitude":"07210580","is_valid_coordinates":true} 
[2026-07-27 16:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:45:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998614784001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:45:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8909922540453888,"note":"Value kept but may cause issues"} 
[2026-07-27 16:45:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1697645983904772096,"note":"Value kept but may cause issues"} 
[2026-07-27 16:45:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:45:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785150845000,"timestamp_ms":1785150845000,"timestamp_seconds":1785150845,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3483048"} 
[2026-07-27 16:45:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:45:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-27 16:45:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:45:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:45:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:45:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:45:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:45:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143136,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:45:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143136,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:45:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:45:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 16:45:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 16:45:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998614784001,"66":13733,"122":206,"28":31744,"24":7,"16":8909922540453888,"45":1697645983904772096},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-07-27 16:45:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 16:45:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 16:45:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998614784001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:45:06] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-27 16:45:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 16:45:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8909922540453888,"km_value":8909922540453.889,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:45:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1697645983904772096,"description":"Unknown IO ID 45"} 
[2026-07-27 16:45:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998614784001,"power":13733,"unknown_122":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1697645983904772096}} 
[2026-07-27 16:45:06] local.INFO: DEBUG: GPS processor result {"connection_id":143136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554258,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:45:06] local.INFO: GPS data processed {"connection_id":143136,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:45:06] local.INFO: Acknowledgment sent {"connection_id":143136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:45:09] local.INFO: TCP Data received {"connection_id":142988,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3468e50012d9cd70005b360f80019000928..."} 
[2026-07-27 16:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3468e50012d9cd70005b360f80019000928..."} 
[2026-07-27 16:45:09] local.INFO: Processing buffer {"connection_id":142988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3468e50012d9cd70005b360f80019000928..."} 
[2026-07-27 16:45:09] local.INFO: Packet analysis {"connection_id":142988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa346"} 
[2026-07-27 16:45:09] local.INFO: Extracted packet for processing {"connection_id":142988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa346"} 
[2026-07-27 16:45:09] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641848,"longitude_deg":76.5253376,"latitude_deg":9.5641848,"altitude":25,"angle":9,"satellites":40,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b360f8","is_valid_coordinates":true} 
[2026-07-27 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-07-27 16:45:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998511872001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:45:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359071309033897984,"note":"Value kept but may cause issues"} 
[2026-07-27 16:45:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315689472,"note":"Value kept but may cause issues"} 
[2026-07-27 16:45:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:45:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785150738000,"timestamp_ms":1785150738000,"timestamp_seconds":1785150738,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3468e50"} 
[2026-07-27 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-07-27 16:45:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-27 16:45:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 16:45:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:45:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:45:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:45:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:45:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:45:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:45:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:45:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998511872001,"66":25778,"226":206,"83":17408,"24":0,"16":359071309033897984,"45":-7145242259315689472},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-07-27 16:45:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:45:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:45:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998511872001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:45:09] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-27 16:45:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 16:45:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359071309033897984,"km_value":359071309033898.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:45:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315689472,"description":"Unknown IO ID 45"} 
[2026-07-27 16:45:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998511872001,"power":25778,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315689472}} 
[2026-07-27 16:45:09] local.INFO: DEBUG: GPS processor result {"connection_id":142988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:45:09] local.INFO: GPS data processed {"connection_id":142988,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:45:09] local.INFO: Acknowledgment sent {"connection_id":142988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:45:21] local.INFO: TCP Data received {"connection_id":145421,"ip":"117.224.227.219","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145421,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:45:21] local.INFO: Processing buffer {"connection_id":145421,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:45:21] local.INFO: IMEI packet received {"connection_id":145421,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 16:45:21] local.INFO: IMEI acknowledgment sent {"connection_id":145421,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:45:27] local.INFO: TCP Data received {"connection_id":145421,"ip":"117.224.227.219","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145421,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:45:27] local.INFO: Processing buffer {"connection_id":145421,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:45:27] local.INFO: IMEI packet received {"connection_id":145421,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 16:45:27] local.INFO: IMEI acknowledgment sent {"connection_id":145421,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:45:28] local.INFO: TCP Data received {"connection_id":145421,"ip":"117.224.227.219","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3484ba0012d0c24400702abb8001a012320..."} 
[2026-07-27 16:45:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3484ba0012d0c24400702abb8001a012320..."} 
[2026-07-27 16:45:28] local.INFO: Processing buffer {"connection_id":145421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3484ba0012d0c24400702abb8001a012320..."} 
[2026-07-27 16:45:28] local.INFO: Packet analysis {"connection_id":145421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa348"} 
[2026-07-27 16:45:28] local.INFO: Extracted packet for processing {"connection_id":145421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa348"} 
[2026-07-27 16:45:28] local.INFO: GPS Element Parsed {"raw_longitude":755770432,"raw_latitude":117615544,"longitude_deg":75.5770432,"latitude_deg":11.7615544,"altitude":26,"angle":291,"satellites":32,"speed":4,"hex_longitude":"2d0c2440","hex_latitude":"0702abb8","is_valid_coordinates":true} 
[2026-07-27 16:45:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:45:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998617344001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:45:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25974643651248128,"note":"Value kept but may cause issues"} 
[2026-07-27 16:45:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":875246470191321088,"note":"Value kept but may cause issues"} 
[2026-07-27 16:45:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:45:28] local.INFO: AVL Record Parsed {"raw_timestamp":1785150852000,"timestamp_ms":1785150852000,"timestamp_seconds":1785150852,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3484ba0"} 
[2026-07-27 16:45:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:45:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:45:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-27 16:45:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:45:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:45:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:45:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:45:28] local.INFO: Teltonika packet parsed successfully {"connection_id":145421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:45:28] local.INFO: Passing IMEI to GPS processor {"connection_id":145421,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 16:45:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":145421,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 16:45:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.227.219","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:45:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 16:45:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 16:45:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998617344001,"66":14309,"21":206,"28":32256,"24":4,"16":25974643651248128,"45":875246470191321088},"client_ip":"117.224.227.219","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,28,24,16,45]} 
[2026-07-27 16:45:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 16:45:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 16:45:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998617344001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:45:28] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-07-27 16:45:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-07-27 16:45:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25974643651248128,"km_value":25974643651248.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:45:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":875246470191321088,"description":"Unknown IO ID 45"} 
[2026-07-27 16:45:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998617344001,"power":14309,"unknown_21":206,"unknown_28":32256,"ignition":4,"odometer":null,"unknown_45":875246470191321088}} 
[2026-07-27 16:45:28] local.INFO: DEBUG: GPS processor result {"connection_id":145421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554260,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:45:28] local.INFO: GPS data processed {"connection_id":145421,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:45:28] local.INFO: Acknowledgment sent {"connection_id":145421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:45:32] local.INFO: TCP Data received {"connection_id":142989,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:45:32] local.INFO: Processing buffer {"connection_id":142989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:45:32] local.INFO: IMEI packet received {"connection_id":142989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 16:45:32] local.INFO: IMEI acknowledgment sent {"connection_id":142989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:45:32] local.INFO: TCP Data received {"connection_id":145421,"ip":"117.224.227.219","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3485f28012d0c21c00702ac78001a010f20..."} 
[2026-07-27 16:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3485f28012d0c21c00702ac78001a010f20..."} 
[2026-07-27 16:45:32] local.INFO: Processing buffer {"connection_id":145421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3485f28012d0c21c00702ac78001a010f20..."} 
[2026-07-27 16:45:32] local.INFO: Packet analysis {"connection_id":145421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa348"} 
[2026-07-27 16:45:32] local.INFO: Extracted packet for processing {"connection_id":145421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa348"} 
[2026-07-27 16:45:32] local.INFO: GPS Element Parsed {"raw_longitude":755769792,"raw_latitude":117615736,"longitude_deg":75.5769792,"latitude_deg":11.7615736,"altitude":26,"angle":271,"satellites":32,"speed":3,"hex_longitude":"2d0c21c0","hex_latitude":"0702ac78","is_valid_coordinates":true} 
[2026-07-27 16:45:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:45:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998618112001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:45:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25974678010986496,"note":"Value kept but may cause issues"} 
[2026-07-27 16:45:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":874894626470475776,"note":"Value kept but may cause issues"} 
[2026-07-27 16:45:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:45:32] local.INFO: AVL Record Parsed {"raw_timestamp":1785150857000,"timestamp_ms":1785150857000,"timestamp_seconds":1785150857,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3485f28"} 
[2026-07-27 16:45:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:45:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:45:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-27 16:45:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2534,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:45:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:45:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:45:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:45:32] local.INFO: Teltonika packet parsed successfully {"connection_id":145421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:45:32] local.INFO: Passing IMEI to GPS processor {"connection_id":145421,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 16:45:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":145421,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 16:45:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.227.219","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:45:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 16:45:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 16:45:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998618112001,"66":14613,"21":206,"28":32256,"24":3,"16":25974678010986496,"45":874894626470475776},"client_ip":"117.224.227.219","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,28,24,16,45]} 
[2026-07-27 16:45:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 16:45:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 16:45:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998618112001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:45:32] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-07-27 16:45:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-07-27 16:45:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25974678010986496,"km_value":25974678010986.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:45:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":874894626470475776,"description":"Unknown IO ID 45"} 
[2026-07-27 16:45:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998618112001,"power":14613,"unknown_21":206,"unknown_28":32256,"ignition":3,"odometer":null,"unknown_45":874894626470475776}} 
[2026-07-27 16:45:32] local.INFO: DEBUG: GPS processor result {"connection_id":145421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554261,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:45:32] local.INFO: GPS data processed {"connection_id":145421,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:45:32] local.INFO: Acknowledgment sent {"connection_id":145421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:45:37] local.INFO: TCP Data received {"connection_id":142989,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:45:37] local.INFO: Processing buffer {"connection_id":142989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:45:37] local.INFO: IMEI packet received {"connection_id":142989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 16:45:37] local.INFO: IMEI acknowledgment sent {"connection_id":142989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:45:37] local.INFO: TCP Data received {"connection_id":142989,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3468e50012d9cd70005b360f80019000928..."} 
[2026-07-27 16:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3468e50012d9cd70005b360f80019000928..."} 
[2026-07-27 16:45:37] local.INFO: Processing buffer {"connection_id":142989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3468e50012d9cd70005b360f80019000928..."} 
[2026-07-27 16:45:37] local.INFO: Packet analysis {"connection_id":142989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa346"} 
[2026-07-27 16:45:37] local.INFO: Extracted packet for processing {"connection_id":142989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa346"} 
[2026-07-27 16:45:37] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641848,"longitude_deg":76.5253376,"latitude_deg":9.5641848,"altitude":25,"angle":9,"satellites":40,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b360f8","is_valid_coordinates":true} 
[2026-07-27 16:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998511872001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359071309033897984,"note":"Value kept but may cause issues"} 
[2026-07-27 16:45:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315689472,"note":"Value kept but may cause issues"} 
[2026-07-27 16:45:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785150738000,"timestamp_ms":1785150738000,"timestamp_seconds":1785150738,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3468e50"} 
[2026-07-27 16:45:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:45:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 16:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-27 16:45:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:45:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:45:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":142989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":142989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":142989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:45:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998511872001,"66":25778,"226":206,"83":17408,"24":0,"16":359071309033897984,"45":-7145242259315689472},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-07-27 16:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998511872001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:45:37] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-27 16:45:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 16:45:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359071309033897984,"km_value":359071309033898.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:45:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315689472,"description":"Unknown IO ID 45"} 
[2026-07-27 16:45:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998511872001,"power":25778,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315689472}} 
[2026-07-27 16:45:37] local.INFO: DEBUG: GPS processor result {"connection_id":142989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:45:37] local.INFO: GPS data processed {"connection_id":142989,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:45:37] local.INFO: Acknowledgment sent {"connection_id":142989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:45:38] local.INFO: TCP Data received {"connection_id":143136,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3485f28012d17818007211338004201512a..."} 
[2026-07-27 16:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143136,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3485f28012d17818007211338004201512a..."} 
[2026-07-27 16:45:38] local.INFO: Processing buffer {"connection_id":143136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3485f28012d17818007211338004201512a..."} 
[2026-07-27 16:45:38] local.INFO: Packet analysis {"connection_id":143136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa348"} 
[2026-07-27 16:45:38] local.INFO: Extracted packet for processing {"connection_id":143136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa348"} 
[2026-07-27 16:45:38] local.INFO: GPS Element Parsed {"raw_longitude":756515200,"raw_latitude":119608120,"longitude_deg":75.65152,"latitude_deg":11.960812,"altitude":66,"angle":337,"satellites":42,"speed":14,"hex_longitude":"2d178180","hex_latitude":"07211338","is_valid_coordinates":true} 
[2026-07-27 16:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:45:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998616320001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:45:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8910145878753280,"note":"Value kept but may cause issues"} 
[2026-07-27 16:45:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1697012665207324672,"note":"Value kept but may cause issues"} 
[2026-07-27 16:45:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:45:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785150857000,"timestamp_ms":1785150857000,"timestamp_seconds":1785150857,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3485f28"} 
[2026-07-27 16:45:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:45:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16: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":53,"n8_eight_byte":165,"data_length":795,"current_offset":136} 
[2026-07-27 16:45:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1948,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:45:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:45:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:45:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:45:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:45:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143136,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:45:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143136,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:45:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:45:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 16:45:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 16:45:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998616320001,"66":14211,"122":206,"28":31744,"24":14,"16":8910145878753280,"45":1697012665207324672},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-07-27 16:45:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 16:45:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 16:45:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998616320001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:45:38] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-27 16:45:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 16:45:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8910145878753280,"km_value":8910145878753.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:45:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1697012665207324672,"description":"Unknown IO ID 45"} 
[2026-07-27 16:45:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998616320001,"power":14211,"unknown_122":206,"unknown_28":31744,"ignition":14,"odometer":null,"unknown_45":1697012665207324672}} 
[2026-07-27 16:45:38] local.INFO: DEBUG: GPS processor result {"connection_id":143136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554263,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:45:38] local.INFO: GPS data processed {"connection_id":143136,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:45:38] local.INFO: Acknowledgment sent {"connection_id":143136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:45:57] local.INFO: TCP Data received {"connection_id":144129,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144129,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:45:57] local.INFO: Processing buffer {"connection_id":144129,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:45:57] local.INFO: IMEI packet received {"connection_id":144129,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 16:45:57] local.INFO: IMEI acknowledgment sent {"connection_id":144129,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:45:58] local.INFO: TCP Data received {"connection_id":144129,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144129,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:45:58] local.INFO: Processing buffer {"connection_id":144129,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:45:58] local.INFO: IMEI packet received {"connection_id":144129,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 16:45:58] local.INFO: IMEI acknowledgment sent {"connection_id":144129,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:46:00] local.INFO: TCP Data received {"connection_id":144129,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144129,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:46:00] local.INFO: Processing buffer {"connection_id":144129,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:46:00] local.INFO: IMEI packet received {"connection_id":144129,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 16:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":144129,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:46:00] local.INFO: TCP Data received {"connection_id":144129,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144129,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:46:00] local.INFO: Processing buffer {"connection_id":144129,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:46:00] local.INFO: IMEI packet received {"connection_id":144129,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 16:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":144129,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:46:09] local.INFO: TCP Data received {"connection_id":142989,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3468e50012d9cd70005b360f80019000928..."} 
[2026-07-27 16:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3468e50012d9cd70005b360f80019000928..."} 
[2026-07-27 16:46:09] local.INFO: Processing buffer {"connection_id":142989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3468e50012d9cd70005b360f80019000928..."} 
[2026-07-27 16:46:09] local.INFO: Packet analysis {"connection_id":142989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa346"} 
[2026-07-27 16:46:09] local.INFO: Extracted packet for processing {"connection_id":142989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa346"} 
[2026-07-27 16:46:09] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641848,"longitude_deg":76.5253376,"latitude_deg":9.5641848,"altitude":25,"angle":9,"satellites":40,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b360f8","is_valid_coordinates":true} 
[2026-07-27 16:46:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:46:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998511872001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:46:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359071309033897984,"note":"Value kept but may cause issues"} 
[2026-07-27 16:46:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315689472,"note":"Value kept but may cause issues"} 
[2026-07-27 16:46:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:46:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785150738000,"timestamp_ms":1785150738000,"timestamp_seconds":1785150738,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3468e50"} 
[2026-07-27 16:46:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:46:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-27 16:46:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:46:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:46:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:46:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:46:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:46:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:46:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:46:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:46:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:46:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:46:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998511872001,"66":25778,"226":206,"83":17408,"24":0,"16":359071309033897984,"45":-7145242259315689472},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-07-27 16:46:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:46:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:46:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998511872001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:46:09] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-27 16:46:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 16:46:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359071309033897984,"km_value":359071309033898.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:46:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315689472,"description":"Unknown IO ID 45"} 
[2026-07-27 16:46:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998511872001,"power":25778,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315689472}} 
[2026-07-27 16:46:09] local.INFO: DEBUG: GPS processor result {"connection_id":142989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:46:09] local.INFO: GPS data processed {"connection_id":142989,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:46:09] local.INFO: Acknowledgment sent {"connection_id":142989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:46:17] local.INFO: TCP Data received {"connection_id":145422,"ip":"117.224.227.219","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145422,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:46:17] local.INFO: Processing buffer {"connection_id":145422,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:46:17] local.INFO: IMEI packet received {"connection_id":145422,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 16:46:17] local.INFO: IMEI acknowledgment sent {"connection_id":145422,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:46:19] local.INFO: TCP Data received {"connection_id":145422,"ip":"117.224.227.219","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145422,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:46:19] local.INFO: Processing buffer {"connection_id":145422,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:46:19] local.INFO: IMEI packet received {"connection_id":145422,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 16:46:19] local.INFO: IMEI acknowledgment sent {"connection_id":145422,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:46:20] local.INFO: TCP Data received {"connection_id":145422,"ip":"117.224.227.219","data_length":795,"data_hex":"000000000000030f8e0a0000019fa349ed98012d0bd1c00702a448001001041d..."} 
[2026-07-27 16:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145422,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa349ed98012d0bd1c00702a448001001041d..."} 
[2026-07-27 16:46:20] local.INFO: Processing buffer {"connection_id":145422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa349ed98012d0bd1c00702a448001001041d..."} 
[2026-07-27 16:46:20] local.INFO: Packet analysis {"connection_id":145422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa349"} 
[2026-07-27 16:46:20] local.INFO: Extracted packet for processing {"connection_id":145422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa349"} 
[2026-07-27 16:46:20] local.INFO: GPS Element Parsed {"raw_longitude":755749312,"raw_latitude":117613640,"longitude_deg":75.5749312,"latitude_deg":11.761364,"altitude":16,"angle":260,"satellites":29,"speed":13,"hex_longitude":"2d0bd1c0","hex_latitude":"0702a448","is_valid_coordinates":true} 
[2026-07-27 16: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-07-27 16:46:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998643712001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:46:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25975717393072128,"note":"Value kept but may cause issues"} 
[2026-07-27 16:46:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":854487690658504704,"note":"Value kept but may cause issues"} 
[2026-07-27 16:46:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:46:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785150959000,"timestamp_ms":1785150959000,"timestamp_seconds":1785150959,"priority":1,"record_length":96,"hex_timestamp":"0000019fa349ed98"} 
[2026-07-27 16:46:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:46:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:46:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-27 16:46:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16: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-07-27 16:46:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:46:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:46:20] local.INFO: Teltonika packet parsed successfully {"connection_id":145422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:46:20] local.INFO: Passing IMEI to GPS processor {"connection_id":145422,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 16:46:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":145422,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 16:46:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.227.219","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:46:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 16:46:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 16:46:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998643712001,"66":14515,"21":206,"28":32256,"24":13,"16":25975717393072128,"45":854487690658504704},"client_ip":"117.224.227.219","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,28,24,16,45]} 
[2026-07-27 16:46:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 16:46:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 16:46:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998643712001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:46:20] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-07-27 16:46:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-07-27 16:46:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25975717393072128,"km_value":25975717393072.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:46:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":854487690658504704,"description":"Unknown IO ID 45"} 
[2026-07-27 16:46:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998643712001,"power":14515,"unknown_21":206,"unknown_28":32256,"ignition":13,"odometer":null,"unknown_45":854487690658504704}} 
[2026-07-27 16:46:20] local.INFO: DEBUG: GPS processor result {"connection_id":145422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554265,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:46:20] local.INFO: GPS data processed {"connection_id":145422,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:46:20] local.INFO: Acknowledgment sent {"connection_id":145422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:46:32] local.INFO: TCP Data received {"connection_id":143137,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:46:32] local.INFO: Processing buffer {"connection_id":143137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:46:32] local.INFO: IMEI packet received {"connection_id":143137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 16:46:32] local.INFO: IMEI acknowledgment sent {"connection_id":143137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:46:37] local.INFO: TCP Data received {"connection_id":143137,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:46:37] local.INFO: Processing buffer {"connection_id":143137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:46:37] local.INFO: IMEI packet received {"connection_id":143137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 16:46:37] local.INFO: IMEI acknowledgment sent {"connection_id":143137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:46:37] local.INFO: TCP Data received {"connection_id":143137,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3468e50012d9cd70005b360f80019000928..."} 
[2026-07-27 16:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143137,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3468e50012d9cd70005b360f80019000928..."} 
[2026-07-27 16:46:37] local.INFO: Processing buffer {"connection_id":143137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3468e50012d9cd70005b360f80019000928..."} 
[2026-07-27 16:46:37] local.INFO: Packet analysis {"connection_id":143137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa346"} 
[2026-07-27 16:46:37] local.INFO: Extracted packet for processing {"connection_id":143137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa346"} 
[2026-07-27 16:46:37] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641848,"longitude_deg":76.5253376,"latitude_deg":9.5641848,"altitude":25,"angle":9,"satellites":40,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b360f8","is_valid_coordinates":true} 
[2026-07-27 16:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:46:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998511872001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:46:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359071309033897984,"note":"Value kept but may cause issues"} 
[2026-07-27 16:46:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315689472,"note":"Value kept but may cause issues"} 
[2026-07-27 16:46:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:46:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785150738000,"timestamp_ms":1785150738000,"timestamp_seconds":1785150738,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3468e50"} 
[2026-07-27 16:46:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:46:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 16:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-27 16:46:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:46:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:46:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:46:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:46:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:46:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:46:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:46:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:46:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:46:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:46:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998511872001,"66":25778,"226":206,"83":17408,"24":0,"16":359071309033897984,"45":-7145242259315689472},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-07-27 16:46:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:46:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:46:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998511872001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:46:37] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-27 16:46:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 16:46:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359071309033897984,"km_value":359071309033898.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:46:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315689472,"description":"Unknown IO ID 45"} 
[2026-07-27 16:46:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998511872001,"power":25778,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315689472}} 
[2026-07-27 16:46:37] local.INFO: DEBUG: GPS processor result {"connection_id":143137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:46:37] local.INFO: GPS data processed {"connection_id":143137,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:46:37] local.INFO: Acknowledgment sent {"connection_id":143137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:46:43] local.INFO: TCP Data received {"connection_id":144130,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:46:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144130,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:46:43] local.INFO: Processing buffer {"connection_id":144130,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:46:43] local.INFO: IMEI packet received {"connection_id":144130,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 16:46:43] local.INFO: IMEI acknowledgment sent {"connection_id":144130,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:46:44] local.INFO: TCP Data received {"connection_id":144130,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3444460012d7a1ec005e468080005015524..."} 
[2026-07-27 16:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144130,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3444460012d7a1ec005e468080005015524..."} 
[2026-07-27 16:46:44] local.INFO: Processing buffer {"connection_id":144130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3444460012d7a1ec005e468080005015524..."} 
[2026-07-27 16:46:44] local.INFO: Packet analysis {"connection_id":144130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa344"} 
[2026-07-27 16:46:44] local.INFO: Extracted packet for processing {"connection_id":144130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa344"} 
[2026-07-27 16:46:44] local.INFO: GPS Element Parsed {"raw_longitude":762977984,"raw_latitude":98854920,"longitude_deg":76.2977984,"latitude_deg":9.885492,"altitude":5,"angle":341,"satellites":36,"speed":0,"hex_longitude":"2d7a1ec0","hex_latitude":"05e46808","is_valid_coordinates":true} 
[2026-07-27 16:46:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:46:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998545152001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:46:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111672023029121024,"note":"Value kept but may cause issues"} 
[2026-07-27 16:46:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800033697188794368,"note":"Value kept but may cause issues"} 
[2026-07-27 16:46:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:46:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785150588000,"timestamp_ms":1785150588000,"timestamp_seconds":1785150588,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3444460"} 
[2026-07-27 16:46:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:46:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:46:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 16:46:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:46:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:46:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:46:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:46:44] local.INFO: Teltonika packet parsed successfully {"connection_id":144130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:46:44] local.INFO: Passing IMEI to GPS processor {"connection_id":144130,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:46:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":144130,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:46:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:46:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 16:46:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 16:46:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998545152001,"66":12982,"97":206,"85":15104,"24":0,"16":111672023029121024,"45":8800033697188794368},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-27 16:46:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 16:46:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 16:46:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998545152001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:46:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-27 16:46:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 16:46:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111672023029121024,"km_value":111672023029121.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:46:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800033697188794368,"description":"Unknown IO ID 45"} 
[2026-07-27 16:46:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998545152001,"power":12982,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8800033697188794368}} 
[2026-07-27 16:46:44] local.INFO: DEBUG: GPS processor result {"connection_id":144130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554267,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:46:44] local.INFO: GPS data processed {"connection_id":144130,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:46:44] local.INFO: Acknowledgment sent {"connection_id":144130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:46:51] local.INFO: TCP Data received {"connection_id":145422,"ip":"117.224.227.219","data_length":795,"data_hex":"000000000000030f8e0a0000019fa34a1890012d0bc4000702a0d0000f00f71d..."} 
[2026-07-27 16:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145422,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa34a1890012d0bc4000702a0d0000f00f71d..."} 
[2026-07-27 16:46:51] local.INFO: Processing buffer {"connection_id":145422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa34a1890012d0bc4000702a0d0000f00f71d..."} 
[2026-07-27 16:46:51] local.INFO: Packet analysis {"connection_id":145422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa34a"} 
[2026-07-27 16:46:51] local.INFO: Extracted packet for processing {"connection_id":145422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa34a"} 
[2026-07-27 16:46:51] local.INFO: GPS Element Parsed {"raw_longitude":755745792,"raw_latitude":117612752,"longitude_deg":75.5745792,"latitude_deg":11.7612752,"altitude":15,"angle":247,"satellites":29,"speed":7,"hex_longitude":"2d0bc400","hex_latitude":"0702a0d0","is_valid_coordinates":true} 
[2026-07-27 16:46:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:46:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998645504001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:46:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25975893486731264,"note":"Value kept but may cause issues"} 
[2026-07-27 16:46:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":851672940891359232,"note":"Value kept but may cause issues"} 
[2026-07-27 16:46:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:46:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785150970000,"timestamp_ms":1785150970000,"timestamp_seconds":1785150970,"priority":1,"record_length":96,"hex_timestamp":"0000019fa34a1890"} 
[2026-07-27 16:46:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:46:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:46:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-27 16:46:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:46:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:46:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:46:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:46:51] local.INFO: Teltonika packet parsed successfully {"connection_id":145422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:46:51] local.INFO: Passing IMEI to GPS processor {"connection_id":145422,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 16:46:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":145422,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 16:46:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.227.219","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:46:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 16:46:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 16:46:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998645504001,"66":13765,"21":206,"28":32256,"24":7,"16":25975893486731264,"45":851672940891359232},"client_ip":"117.224.227.219","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,28,24,16,45]} 
[2026-07-27 16:46:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 16:46:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 16:46:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998645504001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:46:51] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-07-27 16:46:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-07-27 16:46:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25975893486731264,"km_value":25975893486731.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:46:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":851672940891359232,"description":"Unknown IO ID 45"} 
[2026-07-27 16:46:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998645504001,"power":13765,"unknown_21":206,"unknown_28":32256,"ignition":7,"odometer":null,"unknown_45":851672940891359232}} 
[2026-07-27 16:46:52] local.INFO: DEBUG: GPS processor result {"connection_id":145422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554268,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:46:52] local.INFO: GPS data processed {"connection_id":145422,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:46:52] local.INFO: Acknowledgment sent {"connection_id":145422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:47:08] local.INFO: TCP Data received {"connection_id":144131,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144131,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:47:08] local.INFO: Processing buffer {"connection_id":144131,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:47:08] local.INFO: IMEI packet received {"connection_id":144131,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 16:47:08] local.INFO: IMEI acknowledgment sent {"connection_id":144131,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:47:09] local.INFO: TCP Data received {"connection_id":143137,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3468e50012d9cd70005b360f80019000928..."} 
[2026-07-27 16:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143137,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3468e50012d9cd70005b360f80019000928..."} 
[2026-07-27 16:47:09] local.INFO: Processing buffer {"connection_id":143137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3468e50012d9cd70005b360f80019000928..."} 
[2026-07-27 16:47:09] local.INFO: Packet analysis {"connection_id":143137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa346"} 
[2026-07-27 16:47:09] local.INFO: Extracted packet for processing {"connection_id":143137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa346"} 
[2026-07-27 16:47:09] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641848,"longitude_deg":76.5253376,"latitude_deg":9.5641848,"altitude":25,"angle":9,"satellites":40,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b360f8","is_valid_coordinates":true} 
[2026-07-27 16:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:47:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998511872001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:47:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359071309033897984,"note":"Value kept but may cause issues"} 
[2026-07-27 16:47:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315689472,"note":"Value kept but may cause issues"} 
[2026-07-27 16:47:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:47:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785150738000,"timestamp_ms":1785150738000,"timestamp_seconds":1785150738,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3468e50"} 
[2026-07-27 16:47:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:47:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 16:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-27 16:47:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:47:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:47:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:47:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:47:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:47:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:47:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:47:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:47:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:47:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:47:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998511872001,"66":25778,"226":206,"83":17408,"24":0,"16":359071309033897984,"45":-7145242259315689472},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-07-27 16:47:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:47:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:47:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998511872001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:47:09] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-27 16:47:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 16:47:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359071309033897984,"km_value":359071309033898.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:47:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315689472,"description":"Unknown IO ID 45"} 
[2026-07-27 16:47:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998511872001,"power":25778,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315689472}} 
[2026-07-27 16:47:09] local.INFO: DEBUG: GPS processor result {"connection_id":143137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:47:09] local.INFO: GPS data processed {"connection_id":143137,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:47:09] local.INFO: Acknowledgment sent {"connection_id":143137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:47:13] local.INFO: TCP Data received {"connection_id":144131,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144131,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:47:13] local.INFO: Processing buffer {"connection_id":144131,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:47:13] local.INFO: IMEI packet received {"connection_id":144131,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 16:47:13] local.INFO: IMEI acknowledgment sent {"connection_id":144131,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:47:15] local.INFO: TCP Data received {"connection_id":144131,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3449668012d7a1ec005e468080005015523..."} 
[2026-07-27 16:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144131,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3449668012d7a1ec005e468080005015523..."} 
[2026-07-27 16:47:15] local.INFO: Processing buffer {"connection_id":144131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3449668012d7a1ec005e468080005015523..."} 
[2026-07-27 16:47:15] local.INFO: Packet analysis {"connection_id":144131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa344"} 
[2026-07-27 16:47:15] local.INFO: Extracted packet for processing {"connection_id":144131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa344"} 
[2026-07-27 16:47:15] local.INFO: GPS Element Parsed {"raw_longitude":762977984,"raw_latitude":98854920,"longitude_deg":76.2977984,"latitude_deg":9.885492,"altitude":5,"angle":341,"satellites":35,"speed":0,"hex_longitude":"2d7a1ec0","hex_latitude":"05e46808","is_valid_coordinates":true} 
[2026-07-27 16:47:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:47:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998550528001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:47:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111672023029121024,"note":"Value kept but may cause issues"} 
[2026-07-27 16:47:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799681853467920384,"note":"Value kept but may cause issues"} 
[2026-07-27 16:47:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:47:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785150609000,"timestamp_ms":1785150609000,"timestamp_seconds":1785150609,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3449668"} 
[2026-07-27 16:47:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:47:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-27 16:47:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:47:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:47:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:47:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:47:15] local.INFO: Teltonika packet parsed successfully {"connection_id":144131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:47:15] local.INFO: Passing IMEI to GPS processor {"connection_id":144131,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:47:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":144131,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:47:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:47:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 16:47:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 16:47:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998550528001,"66":12906,"97":206,"85":15104,"24":0,"16":111672023029121024,"45":8799681853467920384},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-27 16:47:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 16:47:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 16:47:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998550528001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:47:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-27 16:47:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 16:47:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111672023029121024,"km_value":111672023029121.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:47:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799681853467920384,"description":"Unknown IO ID 45"} 
[2026-07-27 16:47:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998550528001,"power":12906,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8799681853467920384}} 
[2026-07-27 16:47:15] local.INFO: DEBUG: GPS processor result {"connection_id":144131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554270,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:47:15] local.INFO: GPS data processed {"connection_id":144131,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:47:15] local.INFO: Acknowledgment sent {"connection_id":144131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:47:16] local.INFO: TCP Data received {"connection_id":144132,"ip":"117.224.227.219","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144132,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:47:16] local.INFO: Processing buffer {"connection_id":144132,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:47:16] local.INFO: IMEI packet received {"connection_id":144132,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 16:47:16] local.INFO: IMEI acknowledgment sent {"connection_id":144132,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:47:16] local.INFO: TCP Data received {"connection_id":144132,"ip":"117.224.227.219","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144132,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:47:16] local.INFO: Processing buffer {"connection_id":144132,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:47:16] local.INFO: IMEI packet received {"connection_id":144132,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 16:47:16] local.INFO: IMEI acknowledgment sent {"connection_id":144132,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:47:22] local.INFO: TCP Data received {"connection_id":144132,"ip":"117.224.227.219","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:47:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144132,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:47:22] local.INFO: Processing buffer {"connection_id":144132,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:47:22] local.INFO: IMEI packet received {"connection_id":144132,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 16:47:22] local.INFO: IMEI acknowledgment sent {"connection_id":144132,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:47:24] local.INFO: TCP Data received {"connection_id":144132,"ip":"117.224.227.219","data_length":795,"data_hex":"000000000000030f8e0a0000019fa34ac470012d0b86000702ad48000e01031d..."} 
[2026-07-27 16:47:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144132,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa34ac470012d0b86000702ad48000e01031d..."} 
[2026-07-27 16:47:24] local.INFO: Processing buffer {"connection_id":144132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa34ac470012d0b86000702ad48000e01031d..."} 
[2026-07-27 16:47:24] local.INFO: Packet analysis {"connection_id":144132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa34a"} 
[2026-07-27 16:47:24] local.INFO: Extracted packet for processing {"connection_id":144132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa34a"} 
[2026-07-27 16:47:24] local.INFO: GPS Element Parsed {"raw_longitude":755729920,"raw_latitude":117615944,"longitude_deg":75.572992,"latitude_deg":11.7615944,"altitude":14,"angle":259,"satellites":29,"speed":6,"hex_longitude":"2d0b8600","hex_latitude":"0702ad48","is_valid_coordinates":true} 
[2026-07-27 16:47:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:47:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998658816001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:47:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25976722415419392,"note":"Value kept but may cause issues"} 
[2026-07-27 16:47:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":831195636336257024,"note":"Value kept but may cause issues"} 
[2026-07-27 16:47:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:47:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785151014000,"timestamp_ms":1785151014000,"timestamp_seconds":1785151014,"priority":1,"record_length":96,"hex_timestamp":"0000019fa34ac470"} 
[2026-07-27 16:47:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:47: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-07-27 16:47:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-27 16:47:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:47:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:47:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:47:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:47:24] local.INFO: Teltonika packet parsed successfully {"connection_id":144132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:47:24] local.INFO: Passing IMEI to GPS processor {"connection_id":144132,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 16:47:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":144132,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 16:47:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.227.219","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:47:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 16:47:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 16:47:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998658816001,"66":14450,"21":206,"28":32256,"24":6,"16":25976722415419392,"45":831195636336257024},"client_ip":"117.224.227.219","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,28,24,16,45]} 
[2026-07-27 16:47:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 16:47:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 16:47:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998658816001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:47:24] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-07-27 16:47:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-07-27 16:47:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25976722415419392,"km_value":25976722415419.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:47:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":831195636336257024,"description":"Unknown IO ID 45"} 
[2026-07-27 16:47:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998658816001,"power":14450,"unknown_21":206,"unknown_28":32256,"ignition":6,"odometer":null,"unknown_45":831195636336257024}} 
[2026-07-27 16:47:24] local.INFO: DEBUG: GPS processor result {"connection_id":144132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554271,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:47:24] local.INFO: GPS data processed {"connection_id":144132,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:47:24] local.INFO: Acknowledgment sent {"connection_id":144132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:47:31] local.INFO: TCP Data received {"connection_id":142991,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:47:31] local.INFO: Processing buffer {"connection_id":142991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:47:31] local.INFO: IMEI packet received {"connection_id":142991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 16:47:31] local.INFO: IMEI acknowledgment sent {"connection_id":142991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:47:37] local.INFO: TCP Data received {"connection_id":142991,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:47:37] local.INFO: Processing buffer {"connection_id":142991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:47:37] local.INFO: IMEI packet received {"connection_id":142991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 16:47:37] local.INFO: IMEI acknowledgment sent {"connection_id":142991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:47:37] local.INFO: TCP Data received {"connection_id":142991,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3468e50012d9cd70005b360f80019000928..."} 
[2026-07-27 16:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3468e50012d9cd70005b360f80019000928..."} 
[2026-07-27 16:47:37] local.INFO: Processing buffer {"connection_id":142991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3468e50012d9cd70005b360f80019000928..."} 
[2026-07-27 16:47:37] local.INFO: Packet analysis {"connection_id":142991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa346"} 
[2026-07-27 16:47:37] local.INFO: Extracted packet for processing {"connection_id":142991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa346"} 
[2026-07-27 16:47:37] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641848,"longitude_deg":76.5253376,"latitude_deg":9.5641848,"altitude":25,"angle":9,"satellites":40,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b360f8","is_valid_coordinates":true} 
[2026-07-27 16:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:47:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998511872001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:47:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359071309033897984,"note":"Value kept but may cause issues"} 
[2026-07-27 16:47:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315689472,"note":"Value kept but may cause issues"} 
[2026-07-27 16:47:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:47:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785150738000,"timestamp_ms":1785150738000,"timestamp_seconds":1785150738,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3468e50"} 
[2026-07-27 16:47:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:47:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 16:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-27 16:47:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:47:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:47:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:47:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:47:37] local.INFO: Teltonika packet parsed successfully {"connection_id":142991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:47:37] local.INFO: Passing IMEI to GPS processor {"connection_id":142991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:47:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":142991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:47:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:47:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:47:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:47:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998511872001,"66":25778,"226":206,"83":17408,"24":0,"16":359071309033897984,"45":-7145242259315689472},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-07-27 16:47:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:47:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:47:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998511872001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:47:37] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-27 16:47:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 16:47:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359071309033897984,"km_value":359071309033898.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:47:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315689472,"description":"Unknown IO ID 45"} 
[2026-07-27 16:47:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998511872001,"power":25778,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315689472}} 
[2026-07-27 16:47:37] local.INFO: DEBUG: GPS processor result {"connection_id":142991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:47:37] local.INFO: GPS data processed {"connection_id":142991,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:47:37] local.INFO: Acknowledgment sent {"connection_id":142991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:47:46] local.INFO: TCP Data received {"connection_id":144131,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa344e870012d7a1ec005e468080005015525..."} 
[2026-07-27 16:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144131,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa344e870012d7a1ec005e468080005015525..."} 
[2026-07-27 16:47:46] local.INFO: Processing buffer {"connection_id":144131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa344e870012d7a1ec005e468080005015525..."} 
[2026-07-27 16:47:46] local.INFO: Packet analysis {"connection_id":144131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa344"} 
[2026-07-27 16:47:46] local.INFO: Extracted packet for processing {"connection_id":144131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa344"} 
[2026-07-27 16:47:46] local.INFO: GPS Element Parsed {"raw_longitude":762977984,"raw_latitude":98854920,"longitude_deg":76.2977984,"latitude_deg":9.885492,"altitude":5,"angle":341,"satellites":37,"speed":0,"hex_longitude":"2d7a1ec0","hex_latitude":"05e46808","is_valid_coordinates":true} 
[2026-07-27 16:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:47:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998555904001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:47:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111672023029121024,"note":"Value kept but may cause issues"} 
[2026-07-27 16:47:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799681853467920384,"note":"Value kept but may cause issues"} 
[2026-07-27 16:47:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:47:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785150630000,"timestamp_ms":1785150630000,"timestamp_seconds":1785150630,"priority":1,"record_length":96,"hex_timestamp":"0000019fa344e870"} 
[2026-07-27 16:47:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:47:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-07-27 16:47:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:47:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:47:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:47:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:47:46] local.INFO: Teltonika packet parsed successfully {"connection_id":144131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:47:46] local.INFO: Passing IMEI to GPS processor {"connection_id":144131,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:47:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":144131,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:47:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:47:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 16:47:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 16:47:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998555904001,"66":13015,"97":206,"85":15104,"24":0,"16":111672023029121024,"45":8799681853467920384},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-27 16:47:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 16:47:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 16:47:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998555904001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:47:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-27 16:47:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 16:47:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111672023029121024,"km_value":111672023029121.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:47:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799681853467920384,"description":"Unknown IO ID 45"} 
[2026-07-27 16:47:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998555904001,"power":13015,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8799681853467920384}} 
[2026-07-27 16:47:47] local.INFO: DEBUG: GPS processor result {"connection_id":144131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554273,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:47:47] local.INFO: GPS data processed {"connection_id":144131,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:47:47] local.INFO: Acknowledgment sent {"connection_id":144131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:47:57] local.INFO: TCP Data received {"connection_id":144132,"ip":"117.224.227.219","data_length":795,"data_hex":"000000000000030f8e0a0000019fa34b7ff0012d0b41c00702ac80000e013a1d..."} 
[2026-07-27 16:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144132,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa34b7ff0012d0b41c00702ac80000e013a1d..."} 
[2026-07-27 16:47:57] local.INFO: Processing buffer {"connection_id":144132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa34b7ff0012d0b41c00702ac80000e013a1d..."} 
[2026-07-27 16:47:57] local.INFO: Packet analysis {"connection_id":144132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa34b"} 
[2026-07-27 16:47:57] local.INFO: Extracted packet for processing {"connection_id":144132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa34b"} 
[2026-07-27 16:47:57] local.INFO: GPS Element Parsed {"raw_longitude":755712448,"raw_latitude":117615744,"longitude_deg":75.5712448,"latitude_deg":11.7615744,"altitude":14,"angle":314,"satellites":29,"speed":13,"hex_longitude":"2d0b41c0","hex_latitude":"0702ac80","is_valid_coordinates":true} 
[2026-07-27 16:47:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:47:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998671616001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:47:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25977731732733952,"note":"Value kept but may cause issues"} 
[2026-07-27 16:47:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":811351650478020608,"note":"Value kept but may cause issues"} 
[2026-07-27 16:47:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:47:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785151062000,"timestamp_ms":1785151062000,"timestamp_seconds":1785151062,"priority":1,"record_length":96,"hex_timestamp":"0000019fa34b7ff0"} 
[2026-07-27 16:47:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:47:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:47:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-27 16:47:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:47:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:47:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:47:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:47:57] local.INFO: Teltonika packet parsed successfully {"connection_id":144132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:47:57] local.INFO: Passing IMEI to GPS processor {"connection_id":144132,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 16:47:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":144132,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 16:47:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.227.219","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:47:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 16:47:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 16:47:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998671616001,"66":14374,"21":206,"28":32256,"24":13,"16":25977731732733952,"45":811351650478020608},"client_ip":"117.224.227.219","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,28,24,16,45]} 
[2026-07-27 16:47:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 16:47:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 16:47:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998671616001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:47:57] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-07-27 16:47:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-07-27 16:47:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25977731732733952,"km_value":25977731732733.953,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:47:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":811351650478020608,"description":"Unknown IO ID 45"} 
[2026-07-27 16:47:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998671616001,"power":14374,"unknown_21":206,"unknown_28":32256,"ignition":13,"odometer":null,"unknown_45":811351650478020608}} 
[2026-07-27 16:47:57] local.INFO: DEBUG: GPS processor result {"connection_id":144132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554274,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:47:57] local.INFO: GPS data processed {"connection_id":144132,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:47:57] local.INFO: Acknowledgment sent {"connection_id":144132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:48:08] local.INFO: TCP Data received {"connection_id":143138,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143138,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:48:08] local.INFO: Processing buffer {"connection_id":143138,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:48:08] local.INFO: IMEI packet received {"connection_id":143138,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 16:48:08] local.INFO: IMEI acknowledgment sent {"connection_id":143138,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:48:09] local.INFO: TCP Data received {"connection_id":142991,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa34adbe0012d9cd70005b360f8001b000928..."} 
[2026-07-27 16:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa34adbe0012d9cd70005b360f8001b000928..."} 
[2026-07-27 16:48:09] local.INFO: Processing buffer {"connection_id":142991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa34adbe0012d9cd70005b360f8001b000928..."} 
[2026-07-27 16:48:09] local.INFO: Packet analysis {"connection_id":142991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa34a"} 
[2026-07-27 16:48:09] local.INFO: Extracted packet for processing {"connection_id":142991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa34a"} 
[2026-07-27 16:48:09] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641848,"longitude_deg":76.5253376,"latitude_deg":9.5641848,"altitude":27,"angle":9,"satellites":40,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b360f8","is_valid_coordinates":true} 
[2026-07-27 16:48:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:48:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998588928001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:48:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359071309033897984,"note":"Value kept but may cause issues"} 
[2026-07-27 16:48:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315689472,"note":"Value kept but may cause issues"} 
[2026-07-27 16:48:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:48:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785151020000,"timestamp_ms":1785151020000,"timestamp_seconds":1785151020,"priority":1,"record_length":96,"hex_timestamp":"0000019fa34adbe0"} 
[2026-07-27 16:48:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:48:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-27 16:48:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:48:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:48:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:48:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:48:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:48:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:48:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:48:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:48:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:48:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:48:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998588928001,"66":25832,"226":206,"83":17408,"24":0,"16":359071309033897984,"45":-7145242259315689472},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-07-27 16:48:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:48:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:48:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998588928001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:48:09] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-27 16:48:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 16:48:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359071309033897984,"km_value":359071309033898.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:48:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315689472,"description":"Unknown IO ID 45"} 
[2026-07-27 16:48:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998588928001,"power":25832,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315689472}} 
[2026-07-27 16:48:09] local.INFO: DEBUG: GPS processor result {"connection_id":142991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:48:09] local.INFO: GPS data processed {"connection_id":142991,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:48:09] local.INFO: Acknowledgment sent {"connection_id":142991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:48:13] local.INFO: TCP Data received {"connection_id":143138,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:48:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143138,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:48:13] local.INFO: Processing buffer {"connection_id":143138,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 16:48:13] local.INFO: IMEI packet received {"connection_id":143138,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 16:48:13] local.INFO: IMEI acknowledgment sent {"connection_id":143138,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:48:14] local.INFO: TCP Data received {"connection_id":143138,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3453a78012d7a1ec005e468080005015525..."} 
[2026-07-27 16:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143138,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3453a78012d7a1ec005e468080005015525..."} 
[2026-07-27 16:48:14] local.INFO: Processing buffer {"connection_id":143138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3453a78012d7a1ec005e468080005015525..."} 
[2026-07-27 16:48:14] local.INFO: Packet analysis {"connection_id":143138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa345"} 
[2026-07-27 16:48:14] local.INFO: Extracted packet for processing {"connection_id":143138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa345"} 
[2026-07-27 16:48:14] local.INFO: GPS Element Parsed {"raw_longitude":762977984,"raw_latitude":98854920,"longitude_deg":76.2977984,"latitude_deg":9.885492,"altitude":5,"angle":341,"satellites":37,"speed":0,"hex_longitude":"2d7a1ec0","hex_latitude":"05e46808","is_valid_coordinates":true} 
[2026-07-27 16: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-07-27 16:48:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998561280001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:48:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111672023029121024,"note":"Value kept but may cause issues"} 
[2026-07-27 16:48:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799681853467920384,"note":"Value kept but may cause issues"} 
[2026-07-27 16:48:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:48:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785150651000,"timestamp_ms":1785150651000,"timestamp_seconds":1785150651,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3453a78"} 
[2026-07-27 16:48:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:48: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-07-27 16: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-27 16:48:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16: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-07-27 16:48:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:48:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:48:14] local.INFO: Teltonika packet parsed successfully {"connection_id":143138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:48:14] local.INFO: Passing IMEI to GPS processor {"connection_id":143138,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:48:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":143138,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 16:48:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:48:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 16:48:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 16:48:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998561280001,"66":13298,"97":206,"85":15104,"24":0,"16":111672023029121024,"45":8799681853467920384},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-27 16:48:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 16:48:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 16:48:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998561280001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:48:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-27 16:48:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 16:48:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111672023029121024,"km_value":111672023029121.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:48:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799681853467920384,"description":"Unknown IO ID 45"} 
[2026-07-27 16:48:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998561280001,"power":13298,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8799681853467920384}} 
[2026-07-27 16:48:14] local.INFO: DEBUG: GPS processor result {"connection_id":143138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554276,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:48:14] local.INFO: GPS data processed {"connection_id":143138,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:48:14] local.INFO: Acknowledgment sent {"connection_id":143138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:48:17] local.INFO: TCP Data received {"connection_id":142992,"ip":"117.224.227.219","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142992,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:48:17] local.INFO: Processing buffer {"connection_id":142992,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:48:17] local.INFO: IMEI packet received {"connection_id":142992,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 16:48:17] local.INFO: IMEI acknowledgment sent {"connection_id":142992,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:48:22] local.INFO: TCP Data received {"connection_id":142992,"ip":"117.224.227.219","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:48:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142992,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:48:22] local.INFO: Processing buffer {"connection_id":142992,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:48:22] local.INFO: IMEI packet received {"connection_id":142992,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 16:48:22] local.INFO: IMEI acknowledgment sent {"connection_id":142992,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:48:23] local.INFO: TCP Data received {"connection_id":142992,"ip":"117.224.227.219","data_length":795,"data_hex":"000000000000030f8e0a0000019fa34b83d8012d0b40c00702ad30000f01241d..."} 
[2026-07-27 16:48:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa34b83d8012d0b40c00702ad30000f01241d..."} 
[2026-07-27 16:48:23] local.INFO: Processing buffer {"connection_id":142992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa34b83d8012d0b40c00702ad30000f01241d..."} 
[2026-07-27 16:48:23] local.INFO: Packet analysis {"connection_id":142992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa34b"} 
[2026-07-27 16:48:23] local.INFO: Extracted packet for processing {"connection_id":142992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa34b"} 
[2026-07-27 16:48:23] local.INFO: GPS Element Parsed {"raw_longitude":755712192,"raw_latitude":117615920,"longitude_deg":75.5712192,"latitude_deg":11.761592,"altitude":15,"angle":292,"satellites":29,"speed":12,"hex_longitude":"2d0b40c0","hex_latitude":"0702ad30","is_valid_coordinates":true} 
[2026-07-27 16:48:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:48:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998671872001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:48:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25977744617635840,"note":"Value kept but may cause issues"} 
[2026-07-27 16:48:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":811140544245563392,"note":"Value kept but may cause issues"} 
[2026-07-27 16:48:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:48:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785151063000,"timestamp_ms":1785151063000,"timestamp_seconds":1785151063,"priority":1,"record_length":96,"hex_timestamp":"0000019fa34b83d8"} 
[2026-07-27 16:48:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:48: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-07-27 16:48:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-27 16:48: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-07-27 16:48:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:48:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:48:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:48:23] local.INFO: Teltonika packet parsed successfully {"connection_id":142992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:48:23] local.INFO: Passing IMEI to GPS processor {"connection_id":142992,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 16:48:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":142992,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 16:48:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.227.219","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:48:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 16:48:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 16:48:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998671872001,"66":14265,"21":206,"28":32256,"24":12,"16":25977744617635840,"45":811140544245563392},"client_ip":"117.224.227.219","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,28,24,16,45]} 
[2026-07-27 16:48:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 16:48:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 16:48:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998671872001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:48:23] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-07-27 16:48:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-07-27 16:48:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25977744617635840,"km_value":25977744617635.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:48:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":811140544245563392,"description":"Unknown IO ID 45"} 
[2026-07-27 16:48:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998671872001,"power":14265,"unknown_21":206,"unknown_28":32256,"ignition":12,"odometer":null,"unknown_45":811140544245563392}} 
[2026-07-27 16:48:24] local.INFO: DEBUG: GPS processor result {"connection_id":142992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554277,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:48:24] local.INFO: GPS data processed {"connection_id":142992,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:48:24] local.INFO: Acknowledgment sent {"connection_id":142992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:48:37] local.INFO: TCP Data received {"connection_id":143139,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:48:37] local.INFO: Processing buffer {"connection_id":143139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:48:37] local.INFO: IMEI packet received {"connection_id":143139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 16:48:37] local.INFO: IMEI acknowledgment sent {"connection_id":143139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:48:42] local.INFO: TCP Data received {"connection_id":143139,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:48:42] local.INFO: Processing buffer {"connection_id":143139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:48:42] local.INFO: IMEI packet received {"connection_id":143139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 16:48:42] local.INFO: IMEI acknowledgment sent {"connection_id":143139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:48:43] local.INFO: TCP Data received {"connection_id":143139,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fa34b3d88012d9cd44005b35f00001b000929..."} 
[2026-07-27 16:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143139,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa34b3d88012d9cd44005b35f00001b000929..."} 
[2026-07-27 16:48:43] local.INFO: Processing buffer {"connection_id":143139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa34b3d88012d9cd44005b35f00001b000929..."} 
[2026-07-27 16:48:43] local.INFO: Packet analysis {"connection_id":143139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa34b"} 
[2026-07-27 16:48:43] local.INFO: Extracted packet for processing {"connection_id":143139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa34b"} 
[2026-07-27 16:48:43] local.INFO: GPS Element Parsed {"raw_longitude":765252672,"raw_latitude":95641344,"longitude_deg":76.5252672,"latitude_deg":9.5641344,"altitude":27,"angle":9,"satellites":41,"speed":0,"hex_longitude":"2d9cd440","hex_latitude":"05b35f00","is_valid_coordinates":true} 
[2026-07-27 16: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-07-27 16:48:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998661120001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:48:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359071309033897984,"note":"Value kept but may cause issues"} 
[2026-07-27 16:48:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315689472,"note":"Value kept but may cause issues"} 
[2026-07-27 16:48:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:48:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785151045000,"timestamp_ms":1785151045000,"timestamp_seconds":1785151045,"priority":1,"record_length":96,"hex_timestamp":"0000019fa34b3d88"} 
[2026-07-27 16:48:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:48:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-27 16:48:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16: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-07-27 16:48:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:48:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:48:43] local.INFO: Teltonika packet parsed successfully {"connection_id":143139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:48:43] local.INFO: Passing IMEI to GPS processor {"connection_id":143139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:48:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":143139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:48:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:48:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:48:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:48:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998661120001,"66":27832,"226":206,"83":17408,"24":0,"16":359071309033897984,"45":-7145242259315689472},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-07-27 16:48:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:48:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:48:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998661120001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:48:43] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-27 16:48:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 16:48:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359071309033897984,"km_value":359071309033898.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:48:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315689472,"description":"Unknown IO ID 45"} 
[2026-07-27 16:48:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998661120001,"power":27832,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315689472}} 
[2026-07-27 16:48:43] local.INFO: DEBUG: GPS processor result {"connection_id":143139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:48:43] local.INFO: GPS data processed {"connection_id":143139,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:48:43] local.INFO: Acknowledgment sent {"connection_id":143139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:48:55] local.INFO: TCP Data received {"connection_id":142992,"ip":"117.224.227.219","data_length":795,"data_hex":"000000000000030f8e0a0000019fa34c52e0012d0b07c00702ac28001000871b..."} 
[2026-07-27 16:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa34c52e0012d0b07c00702ac28001000871b..."} 
[2026-07-27 16:48:55] local.INFO: Processing buffer {"connection_id":142992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa34c52e0012d0b07c00702ac28001000871b..."} 
[2026-07-27 16:48:55] local.INFO: Packet analysis {"connection_id":142992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa34c"} 
[2026-07-27 16:48:55] local.INFO: Extracted packet for processing {"connection_id":142992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa34c"} 
[2026-07-27 16:48:55] local.INFO: GPS Element Parsed {"raw_longitude":755697600,"raw_latitude":117615656,"longitude_deg":75.56976,"latitude_deg":11.7615656,"altitude":16,"angle":135,"satellites":27,"speed":21,"hex_longitude":"2d0b07c0","hex_latitude":"0702ac28","is_valid_coordinates":true} 
[2026-07-27 16:48:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:48:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998684928001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:48:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25978895668871168,"note":"Value kept but may cause issues"} 
[2026-07-27 16:48:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":793759464433958912,"note":"Value kept but may cause issues"} 
[2026-07-27 16:48:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:48:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785151116000,"timestamp_ms":1785151116000,"timestamp_seconds":1785151116,"priority":1,"record_length":96,"hex_timestamp":"0000019fa34c52e0"} 
[2026-07-27 16:48:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:48:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:48:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-27 16:48:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:48:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:48:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:48:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:48:55] local.INFO: Teltonika packet parsed successfully {"connection_id":142992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:48:55] local.INFO: Passing IMEI to GPS processor {"connection_id":142992,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 16:48:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":142992,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 16:48:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.227.219","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:48:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 16:48:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 16:48:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998684928001,"66":13787,"21":206,"28":32256,"24":21,"16":25978895668871168,"45":793759464433958912},"client_ip":"117.224.227.219","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,28,24,16,45]} 
[2026-07-27 16:48:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 16:48:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 16:48:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998684928001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:48:55] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-07-27 16:48:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-07-27 16:48:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25978895668871168,"km_value":25978895668871.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:48:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":793759464433958912,"description":"Unknown IO ID 45"} 
[2026-07-27 16:48:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998684928001,"power":13787,"unknown_21":206,"unknown_28":32256,"ignition":21,"odometer":null,"unknown_45":793759464433958912}} 
[2026-07-27 16:48:55] local.INFO: DEBUG: GPS processor result {"connection_id":142992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554279,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:48:55] local.INFO: GPS data processed {"connection_id":142992,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:48:55] local.INFO: Acknowledgment sent {"connection_id":142992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:49:14] local.INFO: TCP Data received {"connection_id":143139,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fa34b8f90012d9cd50005b360d8001c00e529..."} 
[2026-07-27 16:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143139,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa34b8f90012d9cd50005b360d8001c00e529..."} 
[2026-07-27 16:49:14] local.INFO: Processing buffer {"connection_id":143139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa34b8f90012d9cd50005b360d8001c00e529..."} 
[2026-07-27 16:49:14] local.INFO: Packet analysis {"connection_id":143139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa34b"} 
[2026-07-27 16:49:14] local.INFO: Extracted packet for processing {"connection_id":143139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa34b"} 
[2026-07-27 16:49:14] local.INFO: GPS Element Parsed {"raw_longitude":765252864,"raw_latitude":95641816,"longitude_deg":76.5252864,"latitude_deg":9.5641816,"altitude":28,"angle":229,"satellites":41,"speed":3,"hex_longitude":"2d9cd500","hex_latitude":"05b360d8","is_valid_coordinates":true} 
[2026-07-27 16:49:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:49:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998667520001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:49:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359071330508734464,"note":"Value kept but may cause issues"} 
[2026-07-27 16:49:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7146016315501772800,"note":"Value kept but may cause issues"} 
[2026-07-27 16:49:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:49:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785151066000,"timestamp_ms":1785151066000,"timestamp_seconds":1785151066,"priority":1,"record_length":96,"hex_timestamp":"0000019fa34b8f90"} 
[2026-07-27 16:49:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:49:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:49:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-27 16:49:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:49:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:49:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:49:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:49:14] local.INFO: Teltonika packet parsed successfully {"connection_id":143139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:49:14] local.INFO: Passing IMEI to GPS processor {"connection_id":143139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:49:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":143139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:49:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:49:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:49:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:49:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998667520001,"66":27995,"215":206,"83":17408,"24":3,"16":359071330508734464,"45":-7146016315501772800},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-27 16:49:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:49:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:49:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998667520001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:49:14] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-27 16:49:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 16:49:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359071330508734464,"km_value":359071330508734.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:49:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7146016315501772800,"description":"Unknown IO ID 45"} 
[2026-07-27 16:49:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998667520001,"power":27995,"unknown_215":206,"unknown_83":17408,"ignition":3,"odometer":null,"unknown_45":-7146016315501772800}} 
[2026-07-27 16:49:14] local.INFO: DEBUG: GPS processor result {"connection_id":143139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:49:14] local.INFO: GPS data processed {"connection_id":143139,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:49:14] local.INFO: Acknowledgment sent {"connection_id":143139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:49:17] local.INFO: TCP Data received {"connection_id":143140,"ip":"117.224.227.219","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143140,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:49:17] local.INFO: Processing buffer {"connection_id":143140,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:49:17] local.INFO: IMEI packet received {"connection_id":143140,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-27 16:49:17] local.INFO: IMEI acknowledgment sent {"connection_id":143140,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:49:17] local.INFO: TCP Data received {"connection_id":143140,"ip":"117.224.227.219","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143140,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:49:17] local.INFO: Processing buffer {"connection_id":143140,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:49:17] local.INFO: IMEI packet received {"connection_id":143140,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 16:49:17] local.INFO: IMEI acknowledgment sent {"connection_id":143140,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:49:21] local.INFO: TCP Data received {"connection_id":143140,"ip":"117.224.227.219","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143140,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:49:21] local.INFO: Processing buffer {"connection_id":143140,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:49:21] local.INFO: IMEI packet received {"connection_id":143140,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 16:49:21] local.INFO: IMEI acknowledgment sent {"connection_id":143140,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:49:22] local.INFO: TCP Data received {"connection_id":143140,"ip":"117.224.227.219","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143140,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:49:22] local.INFO: Processing buffer {"connection_id":143140,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-27 16:49:22] local.INFO: IMEI packet received {"connection_id":143140,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-27 16:49:22] local.INFO: IMEI acknowledgment sent {"connection_id":143140,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:49:22] local.INFO: TCP Data received {"connection_id":143140,"ip":"117.224.227.219","data_length":795,"data_hex":"000000000000030f8e0a0000019fa34c6a50012d0b10000702a310001200991b..."} 
[2026-07-27 16:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143140,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa34c6a50012d0b10000702a310001200991b..."} 
[2026-07-27 16:49:23] local.INFO: Processing buffer {"connection_id":143140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa34c6a50012d0b10000702a310001200991b..."} 
[2026-07-27 16:49:23] local.INFO: Packet analysis {"connection_id":143140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa34c"} 
[2026-07-27 16:49:23] local.INFO: Extracted packet for processing {"connection_id":143140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa34c"} 
[2026-07-27 16:49:23] local.INFO: GPS Element Parsed {"raw_longitude":755699712,"raw_latitude":117613328,"longitude_deg":75.5699712,"latitude_deg":11.7613328,"altitude":18,"angle":153,"satellites":27,"speed":16,"hex_longitude":"2d0b1000","hex_latitude":"0702a310","is_valid_coordinates":true} 
[2026-07-27 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-07-27 16:49:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998685696001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:49:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25979045992726528,"note":"Value kept but may cause issues"} 
[2026-07-27 16:49:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":794814995596322816,"note":"Value kept but may cause issues"} 
[2026-07-27 16:49:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:49:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785151122000,"timestamp_ms":1785151122000,"timestamp_seconds":1785151122,"priority":1,"record_length":96,"hex_timestamp":"0000019fa34c6a50"} 
[2026-07-27 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-07-27 16:49: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-07-27 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":53,"n8_eight_byte":219,"data_length":795,"current_offset":136} 
[2026-07-27 16:49:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2434,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 16:49:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:49:23] local.INFO: Teltonika packet parsed successfully {"connection_id":143140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:49:23] local.INFO: Passing IMEI to GPS processor {"connection_id":143140,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 16:49:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":143140,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 16:49:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.227.219","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:49:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 16:49:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 16:49:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998685696001,"66":14352,"21":206,"28":32256,"24":16,"16":25979045992726528,"45":794814995596322816},"client_ip":"117.224.227.219","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,28,24,16,45]} 
[2026-07-27 16:49:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 16:49:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 16:49:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998685696001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:49:23] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-07-27 16:49:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-07-27 16:49:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25979045992726528,"km_value":25979045992726.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:49:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":794814995596322816,"description":"Unknown IO ID 45"} 
[2026-07-27 16:49:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998685696001,"power":14352,"unknown_21":206,"unknown_28":32256,"ignition":16,"odometer":null,"unknown_45":794814995596322816}} 
[2026-07-27 16:49:23] local.INFO: DEBUG: GPS processor result {"connection_id":143140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554281,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:49:23] local.INFO: GPS data processed {"connection_id":143140,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:49:23] local.INFO: Acknowledgment sent {"connection_id":143140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:49:23] local.INFO: TCP Data received {"connection_id":143140,"ip":"117.224.227.219","data_length":795,"data_hex":"000000000000030f8e0a0000019fa34c6e38012d0b10800702a1b8001200a61b..."} 
[2026-07-27 16:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143140,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa34c6e38012d0b10800702a1b8001200a61b..."} 
[2026-07-27 16:49:23] local.INFO: Processing buffer {"connection_id":143140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa34c6e38012d0b10800702a1b8001200a61b..."} 
[2026-07-27 16:49:23] local.INFO: Packet analysis {"connection_id":143140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa34c"} 
[2026-07-27 16:49:23] local.INFO: Extracted packet for processing {"connection_id":143140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa34c"} 
[2026-07-27 16:49:23] local.INFO: GPS Element Parsed {"raw_longitude":755699840,"raw_latitude":117612984,"longitude_deg":75.569984,"latitude_deg":11.7612984,"altitude":18,"angle":166,"satellites":27,"speed":14,"hex_longitude":"2d0b1080","hex_latitude":"0702a1b8","is_valid_coordinates":true} 
[2026-07-27 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-07-27 16:49:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998687232001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:49:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25979067467563008,"note":"Value kept but may cause issues"} 
[2026-07-27 16:49:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797137164153589760,"note":"Value kept but may cause issues"} 
[2026-07-27 16:49:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:49:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785151123000,"timestamp_ms":1785151123000,"timestamp_seconds":1785151123,"priority":1,"record_length":96,"hex_timestamp":"0000019fa34c6e38"} 
[2026-07-27 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-07-27 16:49: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-07-27 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":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-07-27 16:49:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733142016,"note":"Value kept but may cause issues"} 
[2026-07-27 16:49:23] local.WARNING: Large IO value detected {"io_id":24,"raw_value":84736067986981569,"note":"Value kept but may cause issues"} 
[2026-07-27 16:49:23] local.WARNING: Large IO value detected {"io_id":75,"raw_value":2399141888,"note":"Value kept but may cause issues"} 
[2026-07-27 16:49:23] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2739676160,"note":"Value kept but may cause issues"} 
[2026-07-27 16:49:23] local.WARNING: Large IO value detected {"io_id":1,"raw_value":296393189131026442,"note":"Value kept but may cause issues"} 
[2026-07-27 16:49:23] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-27 16:49:23] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472039641104,"note":"Value kept but may cause issues"} 
[2026-07-27 16:49:23] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639689926699285,"note":"Value kept but may cause issues"} 
[2026-07-27 16:49:23] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5332525845896823040,"note":"Value kept but may cause issues"} 
[2026-07-27 16:49:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3910467790,"corrected_to":0} 
[2026-07-27 16:49:23] local.WARNING: Large IO value detected {"io_id":39,"raw_value":3892391179,"note":"Value kept but may cause issues"} 
[2026-07-27 16:49:23] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3842035177,"note":"Value kept but may cause issues"} 
[2026-07-27 16:49:23] local.WARNING: Large IO value detected {"io_id":64,"raw_value":4223147339417600,"note":"Value kept but may cause issues"} 
[2026-07-27 16:49:23] local.WARNING: Large IO value detected {"io_id":11,"raw_value":162137295006203919,"note":"Value kept but may cause issues"} 
[2026-07-27 16:49:23] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,21,28,24,241,158,16,75,159,82,45,192,172,27,10,66,71,176,15,29,63,128,1,240,103,163,2,4,113,205,39,104,239,55,92,7,14,206,64,11],"length":628,"final_offset":758,"validated_count":40,"validation_warnings":[{"io_id":205,"original":3910467790,"validated":0}]} 
[2026-07-27 16:49:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1297205033926918144,"timestamp_seconds":1297205033926918.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 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-07-27 16:49:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:49:23] local.INFO: Teltonika packet parsed successfully {"connection_id":143140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:49:23] local.INFO: Passing IMEI to GPS processor {"connection_id":143140,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 16:49:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":143140,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-27 16:49:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.227.219","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:49:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-27 16:49:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-27 16:49:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998687232001,"66":14407,"21":206,"28":32256,"24":14,"16":25979067467563008,"45":797137164153589760},"client_ip":"117.224.227.219","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,28,24,16,45]} 
[2026-07-27 16:49:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-27 16:49:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-27 16:49:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998687232001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:49:23] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-07-27 16:49:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-07-27 16:49:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25979067467563008,"km_value":25979067467563.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:49:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797137164153589760,"description":"Unknown IO ID 45"} 
[2026-07-27 16:49:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998687232001,"power":14407,"unknown_21":206,"unknown_28":32256,"ignition":14,"odometer":null,"unknown_45":797137164153589760}} 
[2026-07-27 16:49:24] local.INFO: DEBUG: GPS processor result {"connection_id":143140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554282,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:49:24] local.INFO: GPS data processed {"connection_id":143140,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:49:24] local.INFO: Acknowledgment sent {"connection_id":143140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:49:28] local.INFO: TCP Data received {"connection_id":142993,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:49:28] local.INFO: Processing buffer {"connection_id":142993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:49:28] local.INFO: IMEI packet received {"connection_id":142993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 16:49:28] local.INFO: IMEI acknowledgment sent {"connection_id":142993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:49:32] local.INFO: TCP Data received {"connection_id":142993,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:49:32] local.INFO: Processing buffer {"connection_id":142993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:49:32] local.INFO: IMEI packet received {"connection_id":142993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 16:49:32] local.INFO: IMEI acknowledgment sent {"connection_id":142993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:49:37] local.INFO: TCP Data received {"connection_id":142993,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:49:37] local.INFO: Processing buffer {"connection_id":142993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:49:37] local.INFO: IMEI packet received {"connection_id":142993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 16:49:37] local.INFO: IMEI acknowledgment sent {"connection_id":142993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:49:37] local.INFO: TCP Data received {"connection_id":142993,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fa34b8f90012d9cd50005b360d8001c00e529..."} 
[2026-07-27 16:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142993,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa34b8f90012d9cd50005b360d8001c00e529..."} 
[2026-07-27 16:49:37] local.INFO: Processing buffer {"connection_id":142993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa34b8f90012d9cd50005b360d8001c00e529..."} 
[2026-07-27 16:49:37] local.INFO: Packet analysis {"connection_id":142993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa34b"} 
[2026-07-27 16:49:37] local.INFO: Extracted packet for processing {"connection_id":142993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa34b"} 
[2026-07-27 16:49:37] local.INFO: GPS Element Parsed {"raw_longitude":765252864,"raw_latitude":95641816,"longitude_deg":76.5252864,"latitude_deg":9.5641816,"altitude":28,"angle":229,"satellites":41,"speed":3,"hex_longitude":"2d9cd500","hex_latitude":"05b360d8","is_valid_coordinates":true} 
[2026-07-27 16:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:49:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998672896001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:49:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359071330508734464,"note":"Value kept but may cause issues"} 
[2026-07-27 16:49:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145805209269118976,"note":"Value kept but may cause issues"} 
[2026-07-27 16:49:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:49:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785151066000,"timestamp_ms":1785151066000,"timestamp_seconds":1785151066,"priority":1,"record_length":96,"hex_timestamp":"0000019fa34b8f90"} 
[2026-07-27 16:49:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:49:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-27 16:49:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:49:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:49:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:49:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:49:37] local.INFO: Teltonika packet parsed successfully {"connection_id":142993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:49:37] local.INFO: Passing IMEI to GPS processor {"connection_id":142993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:49:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":142993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:49:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:49:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:49:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:49:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998672896001,"66":27995,"215":206,"83":17408,"24":3,"16":359071330508734464,"45":-7145805209269118976},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-27 16:49:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:49:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:49:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998672896001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:49:37] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-27 16:49:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 16:49:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359071330508734464,"km_value":359071330508734.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:49:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145805209269118976,"description":"Unknown IO ID 45"} 
[2026-07-27 16:49:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998672896001,"power":27995,"unknown_215":206,"unknown_83":17408,"ignition":3,"odometer":null,"unknown_45":-7145805209269118976}} 
[2026-07-27 16:49:37] local.INFO: DEBUG: GPS processor result {"connection_id":142993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:49:37] local.INFO: GPS data processed {"connection_id":142993,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:49:37] local.INFO: Acknowledgment sent {"connection_id":142993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:50:08] local.INFO: TCP Data received {"connection_id":142993,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fa34cb0a0012d9c418005b3a0f8000801262a..."} 
[2026-07-27 16:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142993,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa34cb0a0012d9c418005b3a0f8000801262a..."} 
[2026-07-27 16:50:08] local.INFO: Processing buffer {"connection_id":142993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa34cb0a0012d9c418005b3a0f8000801262a..."} 
[2026-07-27 16:50:08] local.INFO: Packet analysis {"connection_id":142993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa34c"} 
[2026-07-27 16:50:08] local.INFO: Extracted packet for processing {"connection_id":142993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa34c"} 
[2026-07-27 16:50:08] local.INFO: GPS Element Parsed {"raw_longitude":765215104,"raw_latitude":95658232,"longitude_deg":76.5215104,"latitude_deg":9.5658232,"altitude":8,"angle":294,"satellites":42,"speed":34,"hex_longitude":"2d9c4180","hex_latitude":"05b3a0f8","is_valid_coordinates":true} 
[2026-07-27 16:50:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:50:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998689280001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:50:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359073357733298176,"note":"Value kept but may cause issues"} 
[2026-07-27 16:50:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7178104462843592704,"note":"Value kept but may cause issues"} 
[2026-07-27 16:50:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:50:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785151140000,"timestamp_ms":1785151140000,"timestamp_seconds":1785151140,"priority":1,"record_length":96,"hex_timestamp":"0000019fa34cb0a0"} 
[2026-07-27 16:50:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:50:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:50:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-27 16:50:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:50:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:50:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:50:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:50:08] local.INFO: Teltonika packet parsed successfully {"connection_id":142993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:50:08] local.INFO: Passing IMEI to GPS processor {"connection_id":142993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:50:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":142993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:50:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:50:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:50:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:50:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998689280001,"66":27658,"226":206,"83":17408,"24":34,"16":359073357733298176,"45":-7178104462843592704},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-07-27 16:50:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:50:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:50:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998689280001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:50:08] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-27 16:50:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 16:50:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359073357733298176,"km_value":359073357733298.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:50:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7178104462843592704,"description":"Unknown IO ID 45"} 
[2026-07-27 16:50:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998689280001,"power":27658,"unknown_226":206,"unknown_83":17408,"ignition":34,"odometer":null,"unknown_45":-7178104462843592704}} 
[2026-07-27 16:50:08] local.INFO: DEBUG: GPS processor result {"connection_id":142993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:50:08] local.INFO: GPS data processed {"connection_id":142993,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:50:08] local.INFO: Acknowledgment sent {"connection_id":142993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:50:32] local.INFO: TCP Data received {"connection_id":144134,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:50:32] local.INFO: Processing buffer {"connection_id":144134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:50:32] local.INFO: IMEI packet received {"connection_id":144134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 16:50:32] local.INFO: IMEI acknowledgment sent {"connection_id":144134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:50:37] local.INFO: TCP Data received {"connection_id":144134,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:50:37] local.INFO: Processing buffer {"connection_id":144134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:50:37] local.INFO: IMEI packet received {"connection_id":144134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 16:50:37] local.INFO: IMEI acknowledgment sent {"connection_id":144134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:50:38] local.INFO: TCP Data received {"connection_id":144134,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fa34cd7b0012d9c218005b3afd0000801272a..."} 
[2026-07-27 16:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144134,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa34cd7b0012d9c218005b3afd0000801272a..."} 
[2026-07-27 16:50:38] local.INFO: Processing buffer {"connection_id":144134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa34cd7b0012d9c218005b3afd0000801272a..."} 
[2026-07-27 16:50:38] local.INFO: Packet analysis {"connection_id":144134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa34c"} 
[2026-07-27 16:50:38] local.INFO: Extracted packet for processing {"connection_id":144134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa34c"} 
[2026-07-27 16:50:38] local.INFO: GPS Element Parsed {"raw_longitude":765206912,"raw_latitude":95662032,"longitude_deg":76.5206912,"latitude_deg":9.5662032,"altitude":8,"angle":295,"satellites":42,"speed":33,"hex_longitude":"2d9c2180","hex_latitude":"05b3afd0","is_valid_coordinates":true} 
[2026-07-27 16:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:50:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998691840001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:50:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359073787230027776,"note":"Value kept but may cause issues"} 
[2026-07-27 16:50:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7187322768329738240,"note":"Value kept but may cause issues"} 
[2026-07-27 16:50:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:50:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785151150000,"timestamp_ms":1785151150000,"timestamp_seconds":1785151150,"priority":1,"record_length":96,"hex_timestamp":"0000019fa34cd7b0"} 
[2026-07-27 16:50:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:50:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-27 16:50:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:50:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:50:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:50:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:50:38] local.INFO: Teltonika packet parsed successfully {"connection_id":144134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:50:38] local.INFO: Passing IMEI to GPS processor {"connection_id":144134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:50:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":144134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:50:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:50:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:50:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:50:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998691840001,"66":27800,"226":206,"83":17408,"24":33,"16":359073787230027776,"45":-7187322768329738240},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-07-27 16:50:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:50:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:50:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998691840001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:50:38] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-27 16:50:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 16:50:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359073787230027776,"km_value":359073787230027.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:50:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7187322768329738240,"description":"Unknown IO ID 45"} 
[2026-07-27 16:50:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998691840001,"power":27800,"unknown_226":206,"unknown_83":17408,"ignition":33,"odometer":null,"unknown_45":-7187322768329738240}} 
[2026-07-27 16:50:38] local.INFO: DEBUG: GPS processor result {"connection_id":144134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:50:38] local.INFO: GPS data processed {"connection_id":144134,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:50:38] local.INFO: Acknowledgment sent {"connection_id":144134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:51:03] local.INFO: TCP Data received {"connection_id":145425,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145425,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:51:03] local.INFO: Processing buffer {"connection_id":145425,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:51:03] local.INFO: IMEI packet received {"connection_id":145425,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 16:51:03] local.INFO: IMEI acknowledgment sent {"connection_id":145425,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:51:05] local.INFO: TCP Data received {"connection_id":145425,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa34c7dd8012d17e70007216bc0004700202a..."} 
[2026-07-27 16:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa34c7dd8012d17e70007216bc0004700202a..."} 
[2026-07-27 16:51:05] local.INFO: Processing buffer {"connection_id":145425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa34c7dd8012d17e70007216bc0004700202a..."} 
[2026-07-27 16:51:05] local.INFO: Packet analysis {"connection_id":145425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa34c"} 
[2026-07-27 16:51:05] local.INFO: Extracted packet for processing {"connection_id":145425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa34c"} 
[2026-07-27 16:51:05] local.INFO: GPS Element Parsed {"raw_longitude":756541184,"raw_latitude":119630784,"longitude_deg":75.6541184,"latitude_deg":11.9630784,"altitude":71,"angle":32,"satellites":42,"speed":35,"hex_longitude":"2d17e700","hex_latitude":"07216bc0","is_valid_coordinates":true} 
[2026-07-27 16:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:51:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998685952001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:51:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8913616212328448,"note":"Value kept but may cause issues"} 
[2026-07-27 16:51:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1717208494790940672,"note":"Value kept but may cause issues"} 
[2026-07-27 16:51:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:51:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785151127000,"timestamp_ms":1785151127000,"timestamp_seconds":1785151127,"priority":1,"record_length":96,"hex_timestamp":"0000019fa34c7dd8"} 
[2026-07-27 16:51:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:51:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-07-27 16:51:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:51:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:51:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:51:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:51:05] local.INFO: Teltonika packet parsed successfully {"connection_id":145425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:51:05] local.INFO: Passing IMEI to GPS processor {"connection_id":145425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:51:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":145425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:51:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:51:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 16:51:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 16:51:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998685952001,"66":14407,"122":206,"28":31744,"24":35,"16":8913616212328448,"45":1717208494790940672},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-07-27 16:51:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 16:51:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 16:51:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998685952001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:51:05] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-27 16:51:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 16:51:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8913616212328448,"km_value":8913616212328.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:51:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1717208494790940672,"description":"Unknown IO ID 45"} 
[2026-07-27 16:51:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998685952001,"power":14407,"unknown_122":206,"unknown_28":31744,"ignition":35,"odometer":null,"unknown_45":1717208494790940672}} 
[2026-07-27 16:51:05] local.INFO: DEBUG: GPS processor result {"connection_id":145425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554286,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:51:05] local.INFO: GPS data processed {"connection_id":145425,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:51:05] local.INFO: Acknowledgment sent {"connection_id":145425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:51:16] local.INFO: TCP Data received {"connection_id":144134,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fa34d0a78012d9bfe8005b3be10000701222a..."} 
[2026-07-27 16:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144134,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa34d0a78012d9bfe8005b3be10000701222a..."} 
[2026-07-27 16:51:16] local.INFO: Processing buffer {"connection_id":144134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa34d0a78012d9bfe8005b3be10000701222a..."} 
[2026-07-27 16:51:16] local.INFO: Packet analysis {"connection_id":144134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa34d"} 
[2026-07-27 16:51:16] local.INFO: Extracted packet for processing {"connection_id":144134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa34d"} 
[2026-07-27 16:51:16] local.INFO: GPS Element Parsed {"raw_longitude":765197952,"raw_latitude":95665680,"longitude_deg":76.5197952,"latitude_deg":9.566568,"altitude":7,"angle":290,"satellites":42,"speed":29,"hex_longitude":"2d9bfe80","hex_latitude":"05b3be10","is_valid_coordinates":true} 
[2026-07-27 16:51:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:51:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998694400001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:51:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359074251086495744,"note":"Value kept but may cause issues"} 
[2026-07-27 16:51:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7196329967583506432,"note":"Value kept but may cause issues"} 
[2026-07-27 16:51:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:51:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785151163000,"timestamp_ms":1785151163000,"timestamp_seconds":1785151163,"priority":1,"record_length":96,"hex_timestamp":"0000019fa34d0a78"} 
[2026-07-27 16:51:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:51:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:51:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-27 16:51:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:51:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:51:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:51:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:51:16] local.INFO: Teltonika packet parsed successfully {"connection_id":144134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:51:16] local.INFO: Passing IMEI to GPS processor {"connection_id":144134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:51:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":144134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:51:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:51:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:51:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:51:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998694400001,"66":27908,"226":206,"83":17408,"24":29,"16":359074251086495744,"45":-7196329967583506432},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-07-27 16:51:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:51:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:51:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998694400001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:51:16] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-27 16:51:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 16:51:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359074251086495744,"km_value":359074251086495.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:51:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7196329967583506432,"description":"Unknown IO ID 45"} 
[2026-07-27 16:51:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998694400001,"power":27908,"unknown_226":206,"unknown_83":17408,"ignition":29,"odometer":null,"unknown_45":-7196329967583506432}} 
[2026-07-27 16:51:16] local.INFO: DEBUG: GPS processor result {"connection_id":144134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:51:16] local.INFO: GPS data processed {"connection_id":144134,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:51:16] local.INFO: Acknowledgment sent {"connection_id":144134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:51:31] local.INFO: TCP Data received {"connection_id":142994,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:51:31] local.INFO: Processing buffer {"connection_id":142994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:51:31] local.INFO: IMEI packet received {"connection_id":142994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 16:51:31] local.INFO: IMEI acknowledgment sent {"connection_id":142994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:51:36] local.INFO: TCP Data received {"connection_id":142994,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:51:36] local.INFO: Processing buffer {"connection_id":142994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:51:36] local.INFO: IMEI packet received {"connection_id":142994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 16:51:36] local.INFO: IMEI acknowledgment sent {"connection_id":142994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:51:36] local.INFO: TCP Data received {"connection_id":145425,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa34c9930012d17f58007217e200049002d2a..."} 
[2026-07-27 16:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa34c9930012d17f58007217e200049002d2a..."} 
[2026-07-27 16:51:36] local.INFO: Processing buffer {"connection_id":145425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa34c9930012d17f58007217e200049002d2a..."} 
[2026-07-27 16:51:36] local.INFO: Packet analysis {"connection_id":145425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa34c"} 
[2026-07-27 16:51:36] local.INFO: Extracted packet for processing {"connection_id":145425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa34c"} 
[2026-07-27 16:51:36] local.INFO: GPS Element Parsed {"raw_longitude":756544896,"raw_latitude":119635488,"longitude_deg":75.6544896,"latitude_deg":11.9635488,"altitude":73,"angle":45,"satellites":42,"speed":32,"hex_longitude":"2d17f580","hex_latitude":"07217e20","is_valid_coordinates":true} 
[2026-07-27 16:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:51:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998688512001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:51:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8913903975137280,"note":"Value kept but may cause issues"} 
[2026-07-27 16:51:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1722345413117984768,"note":"Value kept but may cause issues"} 
[2026-07-27 16:51:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:51:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785151134000,"timestamp_ms":1785151134000,"timestamp_seconds":1785151134,"priority":1,"record_length":96,"hex_timestamp":"0000019fa34c9930"} 
[2026-07-27 16:51:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:51:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-27 16:51:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:51:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:51:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:51:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:51:36] local.INFO: Teltonika packet parsed successfully {"connection_id":145425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:51:36] local.INFO: Passing IMEI to GPS processor {"connection_id":145425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:51:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":145425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:51:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:51:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 16:51:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 16:51:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998688512001,"66":14080,"120":206,"28":31744,"24":32,"16":8913903975137280,"45":1722345413117984768},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 16:51:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 16:51:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 16:51:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998688512001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:51:36] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 16:51:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 16:51:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8913903975137280,"km_value":8913903975137.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:51:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1722345413117984768,"description":"Unknown IO ID 45"} 
[2026-07-27 16:51:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998688512001,"power":14080,"unknown_120":206,"unknown_28":31744,"ignition":32,"odometer":null,"unknown_45":1722345413117984768}} 
[2026-07-27 16:51:36] local.INFO: TCP Data received {"connection_id":142994,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:51:36] local.INFO: Processing buffer {"connection_id":142994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:51:36] local.INFO: IMEI packet received {"connection_id":142994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 16:51:36] local.INFO: IMEI acknowledgment sent {"connection_id":142994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:51:36] local.INFO: DEBUG: GPS processor result {"connection_id":145425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554288,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:51:36] local.INFO: GPS data processed {"connection_id":145425,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:51:36] local.INFO: Acknowledgment sent {"connection_id":145425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:51:38] local.INFO: TCP Data received {"connection_id":142994,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fa34d5c80012d9bf44005b3c198000b01212b..."} 
[2026-07-27 16:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa34d5c80012d9bf44005b3c198000b01212b..."} 
[2026-07-27 16:51:38] local.INFO: Processing buffer {"connection_id":142994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa34d5c80012d9bf44005b3c198000b01212b..."} 
[2026-07-27 16:51:38] local.INFO: Packet analysis {"connection_id":142994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa34d"} 
[2026-07-27 16:51:38] local.INFO: Extracted packet for processing {"connection_id":142994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa34d"} 
[2026-07-27 16:51:38] local.INFO: GPS Element Parsed {"raw_longitude":765195328,"raw_latitude":95666584,"longitude_deg":76.5195328,"latitude_deg":9.5666584,"altitude":11,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d9bf440","hex_latitude":"05b3c198","is_valid_coordinates":true} 
[2026-07-27 16:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:51:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998697728001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:51:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359074384230481920,"note":"Value kept but may cause issues"} 
[2026-07-27 16:51:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7206181591767445504,"note":"Value kept but may cause issues"} 
[2026-07-27 16:51:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:51:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785151184000,"timestamp_ms":1785151184000,"timestamp_seconds":1785151184,"priority":1,"record_length":96,"hex_timestamp":"0000019fa34d5c80"} 
[2026-07-27 16:51:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:51:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-27 16:51:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:51:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:51:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:51:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:51:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:51:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:51:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:51:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:51:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:51:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:51:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998697728001,"66":27865,"226":206,"83":17408,"24":0,"16":359074384230481920,"45":-7206181591767445504},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-07-27 16:51:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:51:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:51:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998697728001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:51:38] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-27 16:51:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 16:51:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359074384230481920,"km_value":359074384230481.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:51:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7206181591767445504,"description":"Unknown IO ID 45"} 
[2026-07-27 16:51:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998697728001,"power":27865,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7206181591767445504}} 
[2026-07-27 16:51:38] local.INFO: DEBUG: GPS processor result {"connection_id":142994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:51:38] local.INFO: GPS data processed {"connection_id":142994,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:51:38] local.INFO: Acknowledgment sent {"connection_id":142994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:51:42] local.INFO: TCP Data received {"connection_id":142994,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fa34dae88012d9bf44005b3c198000b01212c..."} 
[2026-07-27 16:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa34dae88012d9bf44005b3c198000b01212c..."} 
[2026-07-27 16:51:42] local.INFO: Processing buffer {"connection_id":142994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa34dae88012d9bf44005b3c198000b01212c..."} 
[2026-07-27 16:51:42] local.INFO: Packet analysis {"connection_id":142994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa34d"} 
[2026-07-27 16:51:42] local.INFO: Extracted packet for processing {"connection_id":142994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa34d"} 
[2026-07-27 16:51:42] local.INFO: GPS Element Parsed {"raw_longitude":765195328,"raw_latitude":95666584,"longitude_deg":76.5195328,"latitude_deg":9.5666584,"altitude":11,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d9bf440","hex_latitude":"05b3c198","is_valid_coordinates":true} 
[2026-07-27 16:51:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:51:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998703104001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:51:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359074384230481920,"note":"Value kept but may cause issues"} 
[2026-07-27 16:51:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7209066710278498304,"note":"Value kept but may cause issues"} 
[2026-07-27 16:51:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:51:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785151205000,"timestamp_ms":1785151205000,"timestamp_seconds":1785151205,"priority":1,"record_length":96,"hex_timestamp":"0000019fa34dae88"} 
[2026-07-27 16:51:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:51:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:51:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-27 16:51:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:51:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:51:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:51:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:51:42] local.INFO: Teltonika packet parsed successfully {"connection_id":142994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:51:42] local.INFO: Passing IMEI to GPS processor {"connection_id":142994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:51:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":142994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:51:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:51:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:51:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:51:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998703104001,"66":27995,"226":206,"83":17408,"24":0,"16":359074384230481920,"45":-7209066710278498304},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-07-27 16:51:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:51:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:51:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998703104001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:51:42] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-27 16:51:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-27 16:51:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359074384230481920,"km_value":359074384230481.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:51:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7209066710278498304,"description":"Unknown IO ID 45"} 
[2026-07-27 16:51:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998703104001,"power":27995,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7209066710278498304}} 
[2026-07-27 16:51:42] local.INFO: DEBUG: GPS processor result {"connection_id":142994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:51:42] local.INFO: GPS data processed {"connection_id":142994,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:51:42] local.INFO: Acknowledgment sent {"connection_id":142994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:51:59] local.INFO: TCP Data received {"connection_id":143141,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143141,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:51:59] local.INFO: Processing buffer {"connection_id":143141,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:51:59] local.INFO: IMEI packet received {"connection_id":143141,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 16:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":143141,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:52:04] local.INFO: TCP Data received {"connection_id":143141,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143141,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:52:04] local.INFO: Processing buffer {"connection_id":143141,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:52:04] local.INFO: IMEI packet received {"connection_id":143141,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 16:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":143141,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:52:06] local.INFO: TCP Data received {"connection_id":143141,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa34cc428012d18104007219708004a00252d..."} 
[2026-07-27 16:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143141,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa34cc428012d18104007219708004a00252d..."} 
[2026-07-27 16:52:06] local.INFO: Processing buffer {"connection_id":143141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa34cc428012d18104007219708004a00252d..."} 
[2026-07-27 16:52:06] local.INFO: Packet analysis {"connection_id":143141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa34c"} 
[2026-07-27 16:52:06] local.INFO: Extracted packet for processing {"connection_id":143141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa34c"} 
[2026-07-27 16:52:06] local.INFO: GPS Element Parsed {"raw_longitude":756551744,"raw_latitude":119641864,"longitude_deg":75.6551744,"latitude_deg":11.9641864,"altitude":74,"angle":37,"satellites":45,"speed":31,"hex_longitude":"2d181040","hex_latitude":"07219708","is_valid_coordinates":true} 
[2026-07-27 16:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:52:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998690304001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:52:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8914354946703360,"note":"Value kept but may cause issues"} 
[2026-07-27 16:52:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1726426800281493504,"note":"Value kept but may cause issues"} 
[2026-07-27 16:52:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:52:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785151145000,"timestamp_ms":1785151145000,"timestamp_seconds":1785151145,"priority":1,"record_length":96,"hex_timestamp":"0000019fa34cc428"} 
[2026-07-27 16:52:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:52:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-27 16:52:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3454499328,"note":"Value kept but may cause issues"} 
[2026-07-27 16:52:06] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2739660160,"note":"Value kept but may cause issues"} 
[2026-07-27 16:52:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883532494,"corrected_to":0} 
[2026-07-27 16:52:06] local.WARNING: Large IO value detected {"io_id":175,"raw_value":2147950874,"note":"Value kept but may cause issues"} 
[2026-07-27 16:52:06] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2848391168,"note":"Value kept but may cause issues"} 
[2026-07-27 16:52:06] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,120,28,24,241,158,16,171,159,125,45,107,71,42,10,66,122,170,86,192,76,65,44,51,1,240,27,163,33,4,113,205,36,175,128,239,56,2,31,7,67,13],"length":479,"final_offset":609,"validated_count":42,"validation_warnings":[{"io_id":205,"original":3883532494,"validated":0}]} 
[2026-07-27 16:52:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5260254023182712832,"timestamp_seconds":5260254023182713.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 16:52:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:52:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:52:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:52:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143141,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:52:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143141,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:52:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:52:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 16:52:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 16:52:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998690304001,"66":14483,"120":206,"28":31744,"24":31,"16":8914354946703360,"45":1726426800281493504},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 16:52:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 16:52:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 16:52:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998690304001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:52:06] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 16:52:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 16:52:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8914354946703360,"km_value":8914354946703.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:52:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1726426800281493504,"description":"Unknown IO ID 45"} 
[2026-07-27 16:52:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998690304001,"power":14483,"unknown_120":206,"unknown_28":31744,"ignition":31,"odometer":null,"unknown_45":1726426800281493504}} 
[2026-07-27 16:52:06] local.INFO: DEBUG: GPS processor result {"connection_id":143141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554291,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:52:06] local.INFO: GPS data processed {"connection_id":143141,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:52:06] local.INFO: Acknowledgment sent {"connection_id":143141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:52:13] local.INFO: TCP Data received {"connection_id":142994,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fa34ecf98012d9bf7c005b4a3a8000801632a..."} 
[2026-07-27 16:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa34ecf98012d9bf7c005b4a3a8000801632a..."} 
[2026-07-27 16:52:13] local.INFO: Processing buffer {"connection_id":142994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa34ecf98012d9bf7c005b4a3a8000801632a..."} 
[2026-07-27 16:52:13] local.INFO: Packet analysis {"connection_id":142994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa34e"} 
[2026-07-27 16:52:13] local.INFO: Extracted packet for processing {"connection_id":142994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa34e"} 
[2026-07-27 16:52:13] local.INFO: GPS Element Parsed {"raw_longitude":765196224,"raw_latitude":95724456,"longitude_deg":76.5196224,"latitude_deg":9.5724456,"altitude":8,"angle":355,"satellites":42,"speed":57,"hex_longitude":"2d9bf7c0","hex_latitude":"05b4a3a8","is_valid_coordinates":true} 
[2026-07-27 16:52:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:52:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998725632001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:52:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359077266153537536,"note":"Value kept but may cause issues"} 
[2026-07-27 16:52:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7207307491661819904,"note":"Value kept but may cause issues"} 
[2026-07-27 16:52:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:52:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785151279000,"timestamp_ms":1785151279000,"timestamp_seconds":1785151279,"priority":1,"record_length":96,"hex_timestamp":"0000019fa34ecf98"} 
[2026-07-27 16:52:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:52:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:52:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-27 16:52:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:52:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:52:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:52:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:52:13] local.INFO: Teltonika packet parsed successfully {"connection_id":142994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:52:13] local.INFO: Passing IMEI to GPS processor {"connection_id":142994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:52:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":142994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:52: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-07-27 16:52:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:52:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:52:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998725632001,"66":28017,"152":206,"83":16640,"24":57,"16":359077266153537536,"45":-7207307491661819904},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,83,24,16,45]} 
[2026-07-27 16:52:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:52:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:52:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998725632001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:52:13] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-07-27 16:52:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":16640,"description":"Unknown IO ID 83"} 
[2026-07-27 16:52:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359077266153537536,"km_value":359077266153537.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:52:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7207307491661819904,"description":"Unknown IO ID 45"} 
[2026-07-27 16:52:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998725632001,"power":28017,"unknown_152":206,"unknown_83":16640,"ignition":57,"odometer":null,"unknown_45":-7207307491661819904}} 
[2026-07-27 16:52:13] local.INFO: DEBUG: GPS processor result {"connection_id":142994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:52:13] local.INFO: GPS data processed {"connection_id":142994,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:52:13] local.INFO: Acknowledgment sent {"connection_id":142994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:52:36] local.INFO: TCP Data received {"connection_id":143142,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:52:36] local.INFO: Processing buffer {"connection_id":143142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:52:36] local.INFO: IMEI packet received {"connection_id":143142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 16:52:36] local.INFO: IMEI acknowledgment sent {"connection_id":143142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:52:38] local.INFO: TCP Data received {"connection_id":143141,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa34ce750012d181c400721a8a8004c00192c..."} 
[2026-07-27 16:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143141,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa34ce750012d181c400721a8a8004c00192c..."} 
[2026-07-27 16:52:38] local.INFO: Processing buffer {"connection_id":143141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa34ce750012d181c400721a8a8004c00192c..."} 
[2026-07-27 16:52:38] local.INFO: Packet analysis {"connection_id":143141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa34c"} 
[2026-07-27 16:52:38] local.INFO: Extracted packet for processing {"connection_id":143141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa34c"} 
[2026-07-27 16:52:38] local.INFO: GPS Element Parsed {"raw_longitude":756554816,"raw_latitude":119646376,"longitude_deg":75.6554816,"latitude_deg":11.9646376,"altitude":76,"angle":25,"satellites":44,"speed":12,"hex_longitude":"2d181c40","hex_latitude":"0721a8a8","is_valid_coordinates":true} 
[2026-07-27 16:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:52:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998693120001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:52:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8914616939708416,"note":"Value kept but may cause issues"} 
[2026-07-27 16:52:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733956255910135808,"note":"Value kept but may cause issues"} 
[2026-07-27 16:52:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:52:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785151154000,"timestamp_ms":1785151154000,"timestamp_seconds":1785151154,"priority":1,"record_length":96,"hex_timestamp":"0000019fa34ce750"} 
[2026-07-27 16:52:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:52:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-07-27 16:52:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:52:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:52:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:52:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:52:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:52:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143141,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:52:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143141,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:52:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:52:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 16:52:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 16:52:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998693120001,"66":14428,"120":206,"28":31744,"24":12,"16":8914616939708416,"45":1733956255910135808},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 16:52:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 16:52:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 16:52:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998693120001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:52:38] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 16:52:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 16:52:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8914616939708416,"km_value":8914616939708.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:52:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733956255910135808,"description":"Unknown IO ID 45"} 
[2026-07-27 16:52:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998693120001,"power":14428,"unknown_120":206,"unknown_28":31744,"ignition":12,"odometer":null,"unknown_45":1733956255910135808}} 
[2026-07-27 16:52:38] local.INFO: DEBUG: GPS processor result {"connection_id":143141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554293,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:52:38] local.INFO: GPS data processed {"connection_id":143141,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:52:38] local.INFO: Acknowledgment sent {"connection_id":143141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:52:38] local.INFO: TCP Data received {"connection_id":143142,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:52:38] local.INFO: Processing buffer {"connection_id":143142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:52:38] local.INFO: IMEI packet received {"connection_id":143142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 16:52:38] local.INFO: IMEI acknowledgment sent {"connection_id":143142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:52:39] local.INFO: TCP Data received {"connection_id":143142,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fa34eeaf0012d9bf50005b4cbb0000801642c..."} 
[2026-07-27 16:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa34eeaf0012d9bf50005b4cbb0000801642c..."} 
[2026-07-27 16:52:39] local.INFO: Processing buffer {"connection_id":143142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa34eeaf0012d9bf50005b4cbb0000801642c..."} 
[2026-07-27 16:52:39] local.INFO: Packet analysis {"connection_id":143142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa34e"} 
[2026-07-27 16:52:39] local.INFO: Extracted packet for processing {"connection_id":143142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa34e"} 
[2026-07-27 16:52:39] local.INFO: GPS Element Parsed {"raw_longitude":765195520,"raw_latitude":95734704,"longitude_deg":76.519552,"latitude_deg":9.5734704,"altitude":8,"angle":356,"satellites":44,"speed":59,"hex_longitude":"2d9bf500","hex_latitude":"05b4cbb0","is_valid_coordinates":true} 
[2026-07-27 16:52:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:52:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998727424001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:52:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359077764369743872,"note":"Value kept but may cause issues"} 
[2026-07-27 16:52:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7208081547845195776,"note":"Value kept but may cause issues"} 
[2026-07-27 16:52:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:52:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785151286000,"timestamp_ms":1785151286000,"timestamp_seconds":1785151286,"priority":1,"record_length":96,"hex_timestamp":"0000019fa34eeaf0"} 
[2026-07-27 16:52:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:52:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:52:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-27 16:52:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1760,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:52:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:52:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:52:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:52:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:52:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:52:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:52:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:52:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:52:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:52:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998727424001,"66":28006,"152":206,"83":16640,"24":59,"16":359077764369743872,"45":-7208081547845195776},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,83,24,16,45]} 
[2026-07-27 16:52:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:52:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:52:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998727424001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:52:39] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-07-27 16:52:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":16640,"description":"Unknown IO ID 83"} 
[2026-07-27 16:52:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359077764369743872,"km_value":359077764369743.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:52:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7208081547845195776,"description":"Unknown IO ID 45"} 
[2026-07-27 16:52:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998727424001,"power":28006,"unknown_152":206,"unknown_83":16640,"ignition":59,"odometer":null,"unknown_45":-7208081547845195776}} 
[2026-07-27 16:52:39] local.INFO: DEBUG: GPS processor result {"connection_id":143142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:52:39] local.INFO: GPS data processed {"connection_id":143142,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:52:39] local.INFO: Acknowledgment sent {"connection_id":143142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:52:42] local.INFO: TCP Data received {"connection_id":143142,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fa34f0260012d9bf2c005b4ef60000801652d..."} 
[2026-07-27 16:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa34f0260012d9bf2c005b4ef60000801652d..."} 
[2026-07-27 16:52:42] local.INFO: Processing buffer {"connection_id":143142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa34f0260012d9bf2c005b4ef60000801652d..."} 
[2026-07-27 16:52:42] local.INFO: Packet analysis {"connection_id":143142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa34f"} 
[2026-07-27 16:52:42] local.INFO: Extracted packet for processing {"connection_id":143142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa34f"} 
[2026-07-27 16:52:42] local.INFO: GPS Element Parsed {"raw_longitude":765194944,"raw_latitude":95743840,"longitude_deg":76.5194944,"latitude_deg":9.574384,"altitude":8,"angle":357,"satellites":45,"speed":60,"hex_longitude":"2d9bf2c0","hex_latitude":"05b4ef60","is_valid_coordinates":true} 
[2026-07-27 16:52:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:52:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998729216001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:52:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359078206751375360,"note":"Value kept but may cause issues"} 
[2026-07-27 16:52:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7208855604028526592,"note":"Value kept but may cause issues"} 
[2026-07-27 16:52:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:52:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785151292000,"timestamp_ms":1785151292000,"timestamp_seconds":1785151292,"priority":1,"record_length":96,"hex_timestamp":"0000019fa34f0260"} 
[2026-07-27 16:52:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:52:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-27 16:52:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:52:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:52:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:52:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:52:42] local.INFO: Teltonika packet parsed successfully {"connection_id":143142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:52:42] local.INFO: Passing IMEI to GPS processor {"connection_id":143142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:52:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":143142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:52:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:52:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:52:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:52:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998729216001,"66":27876,"152":206,"83":16640,"24":60,"16":359078206751375360,"45":-7208855604028526592},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,83,24,16,45]} 
[2026-07-27 16:52:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:52:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:52:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998729216001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:52:42] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-07-27 16:52:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":16640,"description":"Unknown IO ID 83"} 
[2026-07-27 16:52:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359078206751375360,"km_value":359078206751375.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:52:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7208855604028526592,"description":"Unknown IO ID 45"} 
[2026-07-27 16:52:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998729216001,"power":27876,"unknown_152":206,"unknown_83":16640,"ignition":60,"odometer":null,"unknown_45":-7208855604028526592}} 
[2026-07-27 16:52:42] local.INFO: DEBUG: GPS processor result {"connection_id":143142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:52:42] local.INFO: GPS data processed {"connection_id":143142,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:52:42] local.INFO: Acknowledgment sent {"connection_id":143142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:53:00] local.INFO: TCP Data received {"connection_id":145426,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145426,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:53:00] local.INFO: Processing buffer {"connection_id":145426,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:53:00] local.INFO: IMEI packet received {"connection_id":145426,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 16:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":145426,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:53:04] local.INFO: TCP Data received {"connection_id":145426,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145426,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:53:04] local.INFO: Processing buffer {"connection_id":145426,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:53:04] local.INFO: IMEI packet received {"connection_id":145426,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 16:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":145426,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:53:05] local.INFO: TCP Data received {"connection_id":145426,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa34d0690012d181f800721aec8004d00272c..."} 
[2026-07-27 16:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa34d0690012d181f800721aec8004d00272c..."} 
[2026-07-27 16:53:05] local.INFO: Processing buffer {"connection_id":145426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa34d0690012d181f800721aec8004d00272c..."} 
[2026-07-27 16:53:05] local.INFO: Packet analysis {"connection_id":145426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa34d"} 
[2026-07-27 16:53:05] local.INFO: Extracted packet for processing {"connection_id":145426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa34d"} 
[2026-07-27 16:53:05] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119647944,"longitude_deg":75.6555648,"latitude_deg":11.9647944,"altitude":77,"angle":39,"satellites":44,"speed":10,"hex_longitude":"2d181f80","hex_latitude":"0721aec8","is_valid_coordinates":true} 
[2026-07-27 16:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:53:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998695424001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:53:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8914702839054336,"note":"Value kept but may cause issues"} 
[2026-07-27 16:53:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737333955631818752,"note":"Value kept but may cause issues"} 
[2026-07-27 16:53:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:53:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785151162000,"timestamp_ms":1785151162000,"timestamp_seconds":1785151162,"priority":1,"record_length":96,"hex_timestamp":"0000019fa34d0690"} 
[2026-07-27 16:53:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:53:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-27 16:53:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:53:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:53:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:53:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:53:05] local.INFO: Teltonika packet parsed successfully {"connection_id":145426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:53:05] local.INFO: Passing IMEI to GPS processor {"connection_id":145426,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:53:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":145426,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:53:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:53:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 16:53:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 16:53:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998695424001,"66":14450,"120":206,"28":31744,"24":10,"16":8914702839054336,"45":1737333955631818752},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 16:53:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 16:53:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 16:53:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998695424001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:53:05] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 16:53:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 16:53:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8914702839054336,"km_value":8914702839054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:53:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737333955631818752,"description":"Unknown IO ID 45"} 
[2026-07-27 16:53:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998695424001,"power":14450,"unknown_120":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1737333955631818752}} 
[2026-07-27 16:53:05] local.INFO: DEBUG: GPS processor result {"connection_id":145426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554296,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:53:05] local.INFO: GPS data processed {"connection_id":145426,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:53:05] local.INFO: Acknowledgment sent {"connection_id":145426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:53:14] local.INFO: TCP Data received {"connection_id":143142,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fa34f1db8012d9bf44005b514d0000700062d..."} 
[2026-07-27 16:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa34f1db8012d9bf44005b514d0000700062d..."} 
[2026-07-27 16:53:14] local.INFO: Processing buffer {"connection_id":143142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa34f1db8012d9bf44005b514d0000700062d..."} 
[2026-07-27 16:53:14] local.INFO: Packet analysis {"connection_id":143142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa34f"} 
[2026-07-27 16:53:14] local.INFO: Extracted packet for processing {"connection_id":143142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa34f"} 
[2026-07-27 16:53:14] local.INFO: GPS Element Parsed {"raw_longitude":765195328,"raw_latitude":95753424,"longitude_deg":76.5195328,"latitude_deg":9.5753424,"altitude":7,"angle":6,"satellites":45,"speed":42,"hex_longitude":"2d9bf440","hex_latitude":"05b514d0","is_valid_coordinates":true} 
[2026-07-27 16:53:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:53:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998730752001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:53:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359078674902810624,"note":"Value kept but may cause issues"} 
[2026-07-27 16:53:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7209488922723786752,"note":"Value kept but may cause issues"} 
[2026-07-27 16:53:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:53:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785151299000,"timestamp_ms":1785151299000,"timestamp_seconds":1785151299,"priority":1,"record_length":96,"hex_timestamp":"0000019fa34f1db8"} 
[2026-07-27 16:53:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:53:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-27 16:53:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:53:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:53:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:53:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:53:14] local.INFO: Teltonika packet parsed successfully {"connection_id":143142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:53:14] local.INFO: Passing IMEI to GPS processor {"connection_id":143142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:53:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":143142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:53:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:53:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:53:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:53:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998730752001,"66":27908,"152":206,"83":16640,"24":42,"16":359078674902810624,"45":-7209488922723786752},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,83,24,16,45]} 
[2026-07-27 16:53:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:53:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:53:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998730752001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:53:14] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-07-27 16:53:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":16640,"description":"Unknown IO ID 83"} 
[2026-07-27 16:53:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359078674902810624,"km_value":359078674902810.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:53:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7209488922723786752,"description":"Unknown IO ID 45"} 
[2026-07-27 16:53:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998730752001,"power":27908,"unknown_152":206,"unknown_83":16640,"ignition":42,"odometer":null,"unknown_45":-7209488922723786752}} 
[2026-07-27 16:53:14] local.INFO: DEBUG: GPS processor result {"connection_id":143142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:53:14] local.INFO: GPS data processed {"connection_id":143142,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:53:14] local.INFO: Acknowledgment sent {"connection_id":143142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:53:34] local.INFO: TCP Data received {"connection_id":142995,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:53:34] local.INFO: Processing buffer {"connection_id":142995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:53:34] local.INFO: IMEI packet received {"connection_id":142995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 16:53:34] local.INFO: IMEI acknowledgment sent {"connection_id":142995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:53:36] local.INFO: TCP Data received {"connection_id":142995,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:53:36] local.INFO: Processing buffer {"connection_id":142995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:53:36] local.INFO: IMEI packet received {"connection_id":142995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 16:53:36] local.INFO: IMEI acknowledgment sent {"connection_id":142995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:53:37] local.INFO: TCP Data received {"connection_id":145426,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa34f96d0012d1821800721b368004e00d32d..."} 
[2026-07-27 16:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa34f96d0012d1821800721b368004e00d32d..."} 
[2026-07-27 16:53:37] local.INFO: Processing buffer {"connection_id":145426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa34f96d0012d1821800721b368004e00d32d..."} 
[2026-07-27 16:53:37] local.INFO: Packet analysis {"connection_id":145426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa34f"} 
[2026-07-27 16:53:37] local.INFO: Extracted packet for processing {"connection_id":145426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa34f"} 
[2026-07-27 16:53:37] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649128,"longitude_deg":75.655616,"latitude_deg":11.9649128,"altitude":78,"angle":211,"satellites":45,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b368","is_valid_coordinates":true} 
[2026-07-27 16:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998735104001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:53:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8914930472321024,"note":"Value kept but may cause issues"} 
[2026-07-27 16:53:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260254208,"note":"Value kept but may cause issues"} 
[2026-07-27 16:53:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:53:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785151330000,"timestamp_ms":1785151330000,"timestamp_seconds":1785151330,"priority":1,"record_length":96,"hex_timestamp":"0000019fa34f96d0"} 
[2026-07-27 16:53:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:53:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-07-27 16:53:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:53:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:53:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:53:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:53:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:53:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145426,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:53:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145426,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:53:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:53:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 16:53:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 16:53:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998735104001,"66":12972,"120":206,"28":31744,"24":0,"16":8914930472321024,"45":1738811699260254208},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 16:53:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 16:53:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 16:53:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998735104001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:53:37] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 16:53:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 16:53:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8914930472321024,"km_value":8914930472321.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:53:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260254208,"description":"Unknown IO ID 45"} 
[2026-07-27 16:53:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998735104001,"power":12972,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738811699260254208}} 
[2026-07-27 16:53:37] local.INFO: TCP Data received {"connection_id":142995,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fa34f44c8012d9bfb4005b53860000700032b..."} 
[2026-07-27 16:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa34f44c8012d9bfb4005b53860000700032b..."} 
[2026-07-27 16:53:37] local.INFO: Processing buffer {"connection_id":142995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa34f44c8012d9bfb4005b53860000700032b..."} 
[2026-07-27 16:53:37] local.INFO: Packet analysis {"connection_id":142995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa34f"} 
[2026-07-27 16:53:37] local.INFO: Extracted packet for processing {"connection_id":142995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa34f"} 
[2026-07-27 16:53:37] local.INFO: GPS Element Parsed {"raw_longitude":765197120,"raw_latitude":95762528,"longitude_deg":76.519712,"latitude_deg":9.5762528,"altitude":7,"angle":3,"satellites":43,"speed":29,"hex_longitude":"2d9bfb40","hex_latitude":"05b53860","is_valid_coordinates":true} 
[2026-07-27 16:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998732544001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:53:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359079125874376704,"note":"Value kept but may cause issues"} 
[2026-07-27 16:53:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7209066710256267264,"note":"Value kept but may cause issues"} 
[2026-07-27 16:53:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:53:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785151309000,"timestamp_ms":1785151309000,"timestamp_seconds":1785151309,"priority":1,"record_length":96,"hex_timestamp":"0000019fa34f44c8"} 
[2026-07-27 16:53:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:53:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-27 16:53:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:53:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:53:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:53:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:53:37] local.INFO: Teltonika packet parsed successfully {"connection_id":142995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:53:37] local.INFO: Passing IMEI to GPS processor {"connection_id":142995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:53:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":142995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:53:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:53:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:53:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:53:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998732544001,"66":27974,"150":206,"83":16640,"24":29,"16":359079125874376704,"45":-7209066710256267264},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,83,24,16,45]} 
[2026-07-27 16:53:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:53:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:53:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998732544001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:53:37] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-07-27 16:53:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":16640,"description":"Unknown IO ID 83"} 
[2026-07-27 16:53:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359079125874376704,"km_value":359079125874376.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:53:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7209066710256267264,"description":"Unknown IO ID 45"} 
[2026-07-27 16:53:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998732544001,"power":27974,"unknown_150":206,"unknown_83":16640,"ignition":29,"odometer":null,"unknown_45":-7209066710256267264}} 
[2026-07-27 16:53:37] local.INFO: DEBUG: GPS processor result {"connection_id":142995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:53:37] local.INFO: GPS data processed {"connection_id":142995,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:53:37] local.INFO: Acknowledgment sent {"connection_id":142995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:53:37] local.INFO: DEBUG: GPS processor result {"connection_id":145426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554299,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:53:37] local.INFO: GPS data processed {"connection_id":145426,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:53:37] local.INFO: Acknowledgment sent {"connection_id":145426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:53:38] local.INFO: TCP Data received {"connection_id":142995,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fa34f73a8012d9bf9c005b55de8000b01612c..."} 
[2026-07-27 16:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa34f73a8012d9bf9c005b55de8000b01612c..."} 
[2026-07-27 16:53:38] local.INFO: Processing buffer {"connection_id":142995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa34f73a8012d9bf9c005b55de8000b01612c..."} 
[2026-07-27 16:53:38] local.INFO: Packet analysis {"connection_id":142995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa34f"} 
[2026-07-27 16:53:38] local.INFO: Extracted packet for processing {"connection_id":142995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa34f"} 
[2026-07-27 16:53:38] local.INFO: GPS Element Parsed {"raw_longitude":765196736,"raw_latitude":95772136,"longitude_deg":76.5196736,"latitude_deg":9.5772136,"altitude":11,"angle":353,"satellites":44,"speed":35,"hex_longitude":"2d9bf9c0","hex_latitude":"05b55de8","is_valid_coordinates":true} 
[2026-07-27 16:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:53:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998735104001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:53:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359079594025811968,"note":"Value kept but may cause issues"} 
[2026-07-27 16:53:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7207096385416962048,"note":"Value kept but may cause issues"} 
[2026-07-27 16:53:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:53:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785151321000,"timestamp_ms":1785151321000,"timestamp_seconds":1785151321,"priority":1,"record_length":96,"hex_timestamp":"0000019fa34f73a8"} 
[2026-07-27 16:53:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:53:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-27 16:53:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:53:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:53:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:53:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:53:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:53:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:53:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:53:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:53:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:53:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:53:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998735104001,"66":27876,"150":206,"83":16640,"24":35,"16":359079594025811968,"45":-7207096385416962048},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,83,24,16,45]} 
[2026-07-27 16:53:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:53:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:53:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998735104001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:53:38] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-07-27 16:53:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":16640,"description":"Unknown IO ID 83"} 
[2026-07-27 16:53:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359079594025811968,"km_value":359079594025811.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:53:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7207096385416962048,"description":"Unknown IO ID 45"} 
[2026-07-27 16:53:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998735104001,"power":27876,"unknown_150":206,"unknown_83":16640,"ignition":35,"odometer":null,"unknown_45":-7207096385416962048}} 
[2026-07-27 16:53:38] local.INFO: DEBUG: GPS processor result {"connection_id":142995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:53:38] local.INFO: GPS data processed {"connection_id":142995,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:53:38] local.INFO: Acknowledgment sent {"connection_id":142995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:53:59] local.INFO: TCP Data received {"connection_id":143143,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143143,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:53:59] local.INFO: Processing buffer {"connection_id":143143,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:53:59] local.INFO: IMEI packet received {"connection_id":143143,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 16:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":143143,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:54:05] local.INFO: TCP Data received {"connection_id":143143,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143143,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:54:05] local.INFO: Processing buffer {"connection_id":143143,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:54:05] local.INFO: IMEI packet received {"connection_id":143143,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 16:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":143143,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:54:06] local.INFO: TCP Data received {"connection_id":143143,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa34fe8d8012d181fc00721b0f8004b00d32d..."} 
[2026-07-27 16:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143143,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa34fe8d8012d181fc00721b0f8004b00d32d..."} 
[2026-07-27 16:54:06] local.INFO: Processing buffer {"connection_id":143143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa34fe8d8012d181fc00721b0f8004b00d32d..."} 
[2026-07-27 16:54:06] local.INFO: Packet analysis {"connection_id":143143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa34f"} 
[2026-07-27 16:54:06] local.INFO: Extracted packet for processing {"connection_id":143143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa34f"} 
[2026-07-27 16:54:06] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648504,"longitude_deg":75.6555712,"latitude_deg":11.9648504,"altitude":75,"angle":211,"satellites":45,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b0f8","is_valid_coordinates":true} 
[2026-07-27 16:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:54:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998740480001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:54:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8914973421993984,"note":"Value kept but may cause issues"} 
[2026-07-27 16:54:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260254208,"note":"Value kept but may cause issues"} 
[2026-07-27 16:54:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:54:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785151351000,"timestamp_ms":1785151351000,"timestamp_seconds":1785151351,"priority":1,"record_length":96,"hex_timestamp":"0000019fa34fe8d8"} 
[2026-07-27 16:54:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:54:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-27 16:54:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:54:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:54:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:54:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:54:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:54:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143143,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:54:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143143,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:54:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:54:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 16:54:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 16:54:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998740480001,"66":12917,"120":206,"28":31744,"24":0,"16":8914973421993984,"45":1738811699260254208},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 16:54:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 16:54:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 16:54:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998740480001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:54:06] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 16:54:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 16:54:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8914973421993984,"km_value":8914973421993.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:54:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260254208,"description":"Unknown IO ID 45"} 
[2026-07-27 16:54:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998740480001,"power":12917,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738811699260254208}} 
[2026-07-27 16:54:06] local.INFO: DEBUG: GPS processor result {"connection_id":143143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554301,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:54:06] local.INFO: GPS data processed {"connection_id":143143,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:54:06] local.INFO: Acknowledgment sent {"connection_id":143143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:54:11] local.INFO: TCP Data received {"connection_id":142995,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fa34f9ea0012d9bf5c005b581e8000c01612d..."} 
[2026-07-27 16:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa34f9ea0012d9bf5c005b581e8000c01612d..."} 
[2026-07-27 16:54:11] local.INFO: Processing buffer {"connection_id":142995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa34f9ea0012d9bf5c005b581e8000c01612d..."} 
[2026-07-27 16:54:11] local.INFO: Packet analysis {"connection_id":142995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa34f"} 
[2026-07-27 16:54:11] local.INFO: Extracted packet for processing {"connection_id":142995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa34f"} 
[2026-07-27 16:54:11] local.INFO: GPS Element Parsed {"raw_longitude":765195712,"raw_latitude":95781352,"longitude_deg":76.5195712,"latitude_deg":9.5781352,"altitude":12,"angle":353,"satellites":45,"speed":32,"hex_longitude":"2d9bf5c0","hex_latitude":"05b581e8","is_valid_coordinates":true} 
[2026-07-27 16:54:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:54:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998738176001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:54:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359080044997378048,"note":"Value kept but may cause issues"} 
[2026-07-27 16:54:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7207518597879568384,"note":"Value kept but may cause issues"} 
[2026-07-27 16:54:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:54:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785151332000,"timestamp_ms":1785151332000,"timestamp_seconds":1785151332,"priority":1,"record_length":96,"hex_timestamp":"0000019fa34f9ea0"} 
[2026-07-27 16:54:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:54:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:54:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-27 16:54:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:54:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:54:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:54:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:54:11] local.INFO: Teltonika packet parsed successfully {"connection_id":142995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:54:11] local.INFO: Passing IMEI to GPS processor {"connection_id":142995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:54:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":142995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:54:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:54:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:54:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:54:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998738176001,"66":27919,"150":206,"83":16640,"24":32,"16":359080044997378048,"45":-7207518597879568384},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,83,24,16,45]} 
[2026-07-27 16:54:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:54:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:54:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998738176001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:54:11] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-07-27 16:54:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":16640,"description":"Unknown IO ID 83"} 
[2026-07-27 16:54:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359080044997378048,"km_value":359080044997378.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:54:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7207518597879568384,"description":"Unknown IO ID 45"} 
[2026-07-27 16:54:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998738176001,"power":27919,"unknown_150":206,"unknown_83":16640,"ignition":32,"odometer":null,"unknown_45":-7207518597879568384}} 
[2026-07-27 16:54:11] local.INFO: DEBUG: GPS processor result {"connection_id":142995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:54:11] local.INFO: GPS data processed {"connection_id":142995,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:54:11] local.INFO: Acknowledgment sent {"connection_id":142995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:54:30] local.INFO: TCP Data received {"connection_id":143144,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:54:30] local.INFO: Processing buffer {"connection_id":143144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:54:30] local.INFO: IMEI packet received {"connection_id":143144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 16:54:30] local.INFO: IMEI acknowledgment sent {"connection_id":143144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:54:31] local.INFO: TCP Data received {"connection_id":143144,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:54:31] local.INFO: Processing buffer {"connection_id":143144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:54:31] local.INFO: IMEI packet received {"connection_id":143144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 16:54:31] local.INFO: IMEI acknowledgment sent {"connection_id":143144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:54:37] local.INFO: TCP Data received {"connection_id":143144,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:54:37] local.INFO: Processing buffer {"connection_id":143144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:54:37] local.INFO: IMEI packet received {"connection_id":143144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 16:54:37] local.INFO: IMEI acknowledgment sent {"connection_id":143144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:54:37] local.INFO: TCP Data received {"connection_id":143144,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fa350fe30012d9c53c005b674b8000f016027..."} 
[2026-07-27 16:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa350fe30012d9c53c005b674b8000f016027..."} 
[2026-07-27 16:54:37] local.INFO: Processing buffer {"connection_id":143144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa350fe30012d9c53c005b674b8000f016027..."} 
[2026-07-27 16:54:37] local.INFO: Packet analysis {"connection_id":143144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa350"} 
[2026-07-27 16:54:37] local.INFO: Extracted packet for processing {"connection_id":143144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa350"} 
[2026-07-27 16:54:37] local.INFO: GPS Element Parsed {"raw_longitude":765219776,"raw_latitude":95843512,"longitude_deg":76.5219776,"latitude_deg":9.5843512,"altitude":15,"angle":352,"satellites":39,"speed":32,"hex_longitude":"2d9c53c0","hex_latitude":"05b674b8","is_valid_coordinates":true} 
[2026-07-27 16:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:54:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998762752001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:54:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359083369302065152,"note":"Value kept but may cause issues"} 
[2026-07-27 16:54:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7181974743725838336,"note":"Value kept but may cause issues"} 
[2026-07-27 16:54:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:54:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785151422000,"timestamp_ms":1785151422000,"timestamp_seconds":1785151422,"priority":1,"record_length":96,"hex_timestamp":"0000019fa350fe30"} 
[2026-07-27 16:54:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:54:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-27 16:54:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1760,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:54:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:54:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:54:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:54:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:54:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:54:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:54:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:54:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:54:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:54:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998762752001,"66":27995,"226":206,"83":16640,"24":32,"16":359083369302065152,"45":-7181974743725838336},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-07-27 16:54:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:54:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:54:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998762752001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:54:37] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-27 16:54:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":16640,"description":"Unknown IO ID 83"} 
[2026-07-27 16:54:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359083369302065152,"km_value":359083369302065.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:54:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7181974743725838336,"description":"Unknown IO ID 45"} 
[2026-07-27 16:54:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998762752001,"power":27995,"unknown_226":206,"unknown_83":16640,"ignition":32,"odometer":null,"unknown_45":-7181974743725838336}} 
[2026-07-27 16:54:37] local.INFO: DEBUG: GPS processor result {"connection_id":143144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:54:37] local.INFO: GPS data processed {"connection_id":143144,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:54:37] local.INFO: Acknowledgment sent {"connection_id":143144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:54:38] local.INFO: TCP Data received {"connection_id":143143,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3503ae0012d181fc00721b0f8004b00d32b..."} 
[2026-07-27 16:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143143,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3503ae0012d181fc00721b0f8004b00d32b..."} 
[2026-07-27 16:54:38] local.INFO: Processing buffer {"connection_id":143143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3503ae0012d181fc00721b0f8004b00d32b..."} 
[2026-07-27 16:54:38] local.INFO: Packet analysis {"connection_id":143143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa350"} 
[2026-07-27 16:54:38] local.INFO: Extracted packet for processing {"connection_id":143143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa350"} 
[2026-07-27 16:54:38] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648504,"longitude_deg":75.6555712,"latitude_deg":11.9648504,"altitude":75,"angle":211,"satellites":43,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b0f8","is_valid_coordinates":true} 
[2026-07-27 16:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:54:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998745856001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:54:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8914973421993984,"note":"Value kept but may cause issues"} 
[2026-07-27 16:54:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050850816,"note":"Value kept but may cause issues"} 
[2026-07-27 16:54:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:54:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785151372000,"timestamp_ms":1785151372000,"timestamp_seconds":1785151372,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3503ae0"} 
[2026-07-27 16:54:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:54:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-27 16:54:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:54:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:54:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:54:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:54:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:54:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143143,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:54:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143143,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:54:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:54:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 16:54:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 16:54:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998745856001,"66":12885,"120":206,"28":31744,"24":0,"16":8914973421993984,"45":1738319118050850816},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 16:54:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 16:54:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 16:54:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998745856001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:54:38] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 16:54:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 16:54:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8914973421993984,"km_value":8914973421993.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:54:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050850816,"description":"Unknown IO ID 45"} 
[2026-07-27 16:54:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998745856001,"power":12885,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738319118050850816}} 
[2026-07-27 16:54:38] local.INFO: DEBUG: GPS processor result {"connection_id":143143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554304,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:54:38] local.INFO: GPS data processed {"connection_id":143143,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:54:38] local.INFO: Acknowledgment sent {"connection_id":143143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:55:04] local.INFO: TCP Data received {"connection_id":144135,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144135,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:55:04] local.INFO: Processing buffer {"connection_id":144135,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:55:04] local.INFO: IMEI packet received {"connection_id":144135,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 16:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":144135,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:55:09] local.INFO: TCP Data received {"connection_id":144135,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144135,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:55:09] local.INFO: Processing buffer {"connection_id":144135,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:55:09] local.INFO: IMEI packet received {"connection_id":144135,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 16:55:09] local.INFO: IMEI acknowledgment sent {"connection_id":144135,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:55:09] local.INFO: TCP Data received {"connection_id":143144,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3510600012d9c524005b67b20000f015128..."} 
[2026-07-27 16:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3510600012d9c524005b67b20000f015128..."} 
[2026-07-27 16:55:09] local.INFO: Processing buffer {"connection_id":143144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3510600012d9c524005b67b20000f015128..."} 
[2026-07-27 16:55:09] local.INFO: Packet analysis {"connection_id":143144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa351"} 
[2026-07-27 16:55:09] local.INFO: Extracted packet for processing {"connection_id":143144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa351"} 
[2026-07-27 16:55:09] local.INFO: GPS Element Parsed {"raw_longitude":765219392,"raw_latitude":95845152,"longitude_deg":76.5219392,"latitude_deg":9.5845152,"altitude":15,"angle":337,"satellites":40,"speed":34,"hex_longitude":"2d9c5240","hex_latitude":"05b67b20","is_valid_coordinates":true} 
[2026-07-27 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-07-27 16:55:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998764032001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:55:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359083450906443776,"note":"Value kept but may cause issues"} 
[2026-07-27 16:55:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7182185849957337088,"note":"Value kept but may cause issues"} 
[2026-07-27 16:55:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:55:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785151424000,"timestamp_ms":1785151424000,"timestamp_seconds":1785151424,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3510600"} 
[2026-07-27 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-07-27 16:55:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-27 16:55:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 16:55:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:55:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:55:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:55:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:55:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:55:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:55:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:55:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998764032001,"66":27974,"226":206,"83":16640,"24":34,"16":359083450906443776,"45":-7182185849957337088},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-07-27 16:55:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:55:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:55:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998764032001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:55:09] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-27 16:55:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":16640,"description":"Unknown IO ID 83"} 
[2026-07-27 16:55:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359083450906443776,"km_value":359083450906443.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:55:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7182185849957337088,"description":"Unknown IO ID 45"} 
[2026-07-27 16:55:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998764032001,"power":27974,"unknown_226":206,"unknown_83":16640,"ignition":34,"odometer":null,"unknown_45":-7182185849957337088}} 
[2026-07-27 16:55:09] local.INFO: DEBUG: GPS processor result {"connection_id":143144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:55:09] local.INFO: GPS data processed {"connection_id":143144,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:55:09] local.INFO: Acknowledgment sent {"connection_id":143144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:55:11] local.INFO: TCP Data received {"connection_id":144135,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3508ce8012d181fc00721b0f8004b00d32a..."} 
[2026-07-27 16:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144135,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3508ce8012d181fc00721b0f8004b00d32a..."} 
[2026-07-27 16:55:11] local.INFO: Processing buffer {"connection_id":144135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3508ce8012d181fc00721b0f8004b00d32a..."} 
[2026-07-27 16:55:11] local.INFO: Packet analysis {"connection_id":144135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa350"} 
[2026-07-27 16:55:11] local.INFO: Extracted packet for processing {"connection_id":144135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa350"} 
[2026-07-27 16:55:11] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648504,"longitude_deg":75.6555712,"latitude_deg":11.9648504,"altitude":75,"angle":211,"satellites":42,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b0f8","is_valid_coordinates":true} 
[2026-07-27 16:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:55:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998751232001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:55:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8914973421993984,"note":"Value kept but may cause issues"} 
[2026-07-27 16:55:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050850816,"note":"Value kept but may cause issues"} 
[2026-07-27 16:55:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:55:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785151393000,"timestamp_ms":1785151393000,"timestamp_seconds":1785151393,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3508ce8"} 
[2026-07-27 16:55:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:55:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-27 16:55:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:55:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:55:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:55:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:55:11] local.INFO: Teltonika packet parsed successfully {"connection_id":144135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:55:11] local.INFO: Passing IMEI to GPS processor {"connection_id":144135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:55:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":144135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:55:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:55:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 16:55:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 16:55:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998751232001,"66":12863,"120":206,"28":31744,"24":0,"16":8914973421993984,"45":1738319118050850816},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 16:55:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 16:55:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 16:55:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998751232001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:55:11] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 16:55:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 16:55:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8914973421993984,"km_value":8914973421993.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:55:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050850816,"description":"Unknown IO ID 45"} 
[2026-07-27 16:55:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998751232001,"power":12863,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738319118050850816}} 
[2026-07-27 16:55:11] local.INFO: DEBUG: GPS processor result {"connection_id":144135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554306,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:55:11] local.INFO: GPS data processed {"connection_id":144135,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:55:11] local.INFO: Acknowledgment sent {"connection_id":144135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:55:15] local.INFO: TCP Data received {"connection_id":144135,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa350def0012d181fc00721b0f8004b00d32e..."} 
[2026-07-27 16:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144135,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa350def0012d181fc00721b0f8004b00d32e..."} 
[2026-07-27 16:55:15] local.INFO: Processing buffer {"connection_id":144135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa350def0012d181fc00721b0f8004b00d32e..."} 
[2026-07-27 16:55:15] local.INFO: Packet analysis {"connection_id":144135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa350"} 
[2026-07-27 16:55:15] local.INFO: Extracted packet for processing {"connection_id":144135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa350"} 
[2026-07-27 16:55:15] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648504,"longitude_deg":75.6555712,"latitude_deg":11.9648504,"altitude":75,"angle":211,"satellites":46,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b0f8","is_valid_coordinates":true} 
[2026-07-27 16:55:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:55:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998756608001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:55:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8914973421993984,"note":"Value kept but may cause issues"} 
[2026-07-27 16:55:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050850816,"note":"Value kept but may cause issues"} 
[2026-07-27 16:55:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:55:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785151414000,"timestamp_ms":1785151414000,"timestamp_seconds":1785151414,"priority":1,"record_length":96,"hex_timestamp":"0000019fa350def0"} 
[2026-07-27 16:55:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:55:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:55:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-27 16:55:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:55:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:55:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:55:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:55:15] local.INFO: Teltonika packet parsed successfully {"connection_id":144135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:55:15] local.INFO: Passing IMEI to GPS processor {"connection_id":144135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:55:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":144135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:55:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:55:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 16:55:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 16:55:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998756608001,"66":12917,"120":206,"28":31744,"24":0,"16":8914973421993984,"45":1738319118050850816},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 16:55:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 16:55:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 16:55:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998756608001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:55:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 16:55:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 16:55:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8914973421993984,"km_value":8914973421993.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:55:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050850816,"description":"Unknown IO ID 45"} 
[2026-07-27 16:55:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998756608001,"power":12917,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738319118050850816}} 
[2026-07-27 16:55:15] local.INFO: DEBUG: GPS processor result {"connection_id":144135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554307,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:55:15] local.INFO: GPS data processed {"connection_id":144135,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:55:15] local.INFO: Acknowledgment sent {"connection_id":144135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:55:57] local.INFO: TCP Data received {"connection_id":142996,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142996,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:55:57] local.INFO: Processing buffer {"connection_id":142996,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:55:57] local.INFO: IMEI packet received {"connection_id":142996,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 16:55:57] local.INFO: IMEI acknowledgment sent {"connection_id":142996,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:55:59] local.INFO: TCP Data received {"connection_id":142996,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142996,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:55:59] local.INFO: Processing buffer {"connection_id":142996,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:55:59] local.INFO: IMEI packet received {"connection_id":142996,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 16:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":142996,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:56:04] local.INFO: TCP Data received {"connection_id":142996,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142996,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:56:04] local.INFO: Processing buffer {"connection_id":142996,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:56:04] local.INFO: IMEI packet received {"connection_id":142996,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 16:56:04] local.INFO: IMEI acknowledgment sent {"connection_id":142996,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:56:05] local.INFO: TCP Data received {"connection_id":142996,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa35130f8012d181fc00721b0f8004b00d32c..."} 
[2026-07-27 16:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142996,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa35130f8012d181fc00721b0f8004b00d32c..."} 
[2026-07-27 16:56:05] local.INFO: Processing buffer {"connection_id":142996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa35130f8012d181fc00721b0f8004b00d32c..."} 
[2026-07-27 16:56:05] local.INFO: Packet analysis {"connection_id":142996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa351"} 
[2026-07-27 16:56:05] local.INFO: Extracted packet for processing {"connection_id":142996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa351"} 
[2026-07-27 16:56:05] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648504,"longitude_deg":75.6555712,"latitude_deg":11.9648504,"altitude":75,"angle":211,"satellites":44,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b0f8","is_valid_coordinates":true} 
[2026-07-27 16:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:56:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998761984001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:56:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8914973421993984,"note":"Value kept but may cause issues"} 
[2026-07-27 16:56:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050850816,"note":"Value kept but may cause issues"} 
[2026-07-27 16:56:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:56:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785151435000,"timestamp_ms":1785151435000,"timestamp_seconds":1785151435,"priority":1,"record_length":96,"hex_timestamp":"0000019fa35130f8"} 
[2026-07-27 16:56:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:56:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-27 16:56:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:56:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:56:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:56:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:56:05] local.INFO: Teltonika packet parsed successfully {"connection_id":142996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:56:05] local.INFO: Passing IMEI to GPS processor {"connection_id":142996,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:56:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":142996,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:56:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:56:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 16:56:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 16:56:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998761984001,"66":12798,"120":206,"28":31744,"24":0,"16":8914973421993984,"45":1738319118050850816},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 16:56:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 16:56:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 16:56:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998761984001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:56:05] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 16:56:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 16:56:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8914973421993984,"km_value":8914973421993.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:56:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050850816,"description":"Unknown IO ID 45"} 
[2026-07-27 16:56:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998761984001,"power":12798,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738319118050850816}} 
[2026-07-27 16:56:05] local.INFO: DEBUG: GPS processor result {"connection_id":142996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554308,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:56:05] local.INFO: GPS data processed {"connection_id":142996,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:56:05] local.INFO: Acknowledgment sent {"connection_id":142996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:56:06] local.INFO: TCP Data received {"connection_id":142997,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:56:06] local.INFO: Processing buffer {"connection_id":142997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:56:06] local.INFO: IMEI packet received {"connection_id":142997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 16:56:06] local.INFO: IMEI acknowledgment sent {"connection_id":142997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:56:09] local.INFO: TCP Data received {"connection_id":142997,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:56:09] local.INFO: Processing buffer {"connection_id":142997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:56:09] local.INFO: IMEI packet received {"connection_id":142997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 16:56:09] local.INFO: IMEI acknowledgment sent {"connection_id":142997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:56:10] local.INFO: TCP Data received {"connection_id":142997,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3510dd0012d9c4f0005b680b8000f014529..."} 
[2026-07-27 16:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3510dd0012d9c4f0005b680b8000f014529..."} 
[2026-07-27 16:56:10] local.INFO: Processing buffer {"connection_id":142997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3510dd0012d9c4f0005b680b8000f014529..."} 
[2026-07-27 16:56:10] local.INFO: Packet analysis {"connection_id":142997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa351"} 
[2026-07-27 16:56:10] local.INFO: Extracted packet for processing {"connection_id":142997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa351"} 
[2026-07-27 16:56:10] local.INFO: GPS Element Parsed {"raw_longitude":765218560,"raw_latitude":95846584,"longitude_deg":76.521856,"latitude_deg":9.5846584,"altitude":15,"angle":325,"satellites":41,"speed":33,"hex_longitude":"2d9c4f00","hex_latitude":"05b680b8","is_valid_coordinates":true} 
[2026-07-27 16:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:56:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998764544001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:56:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359083528215855104,"note":"Value kept but may cause issues"} 
[2026-07-27 16:56:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7182608062421983232,"note":"Value kept but may cause issues"} 
[2026-07-27 16:56:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:56:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785151426000,"timestamp_ms":1785151426000,"timestamp_seconds":1785151426,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3510dd0"} 
[2026-07-27 16:56:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:56:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-27 16:56:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:56:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:56:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:56:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:56:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:56:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:56:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:56:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:56:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:56:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:56:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998764544001,"66":27876,"226":206,"83":16640,"24":33,"16":359083528215855104,"45":-7182608062421983232},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-07-27 16:56:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:56:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:56:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998764544001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:56:10] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-27 16:56:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":16640,"description":"Unknown IO ID 83"} 
[2026-07-27 16:56:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359083528215855104,"km_value":359083528215855.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:56:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7182608062421983232,"description":"Unknown IO ID 45"} 
[2026-07-27 16:56:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998764544001,"power":27876,"unknown_226":206,"unknown_83":16640,"ignition":33,"odometer":null,"unknown_45":-7182608062421983232}} 
[2026-07-27 16:56:10] local.INFO: DEBUG: GPS processor result {"connection_id":142997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:56:10] local.INFO: GPS data processed {"connection_id":142997,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:56:10] local.INFO: Acknowledgment sent {"connection_id":142997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:56:36] local.INFO: TCP Data received {"connection_id":144136,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:56:36] local.INFO: Processing buffer {"connection_id":144136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:56:36] local.INFO: IMEI packet received {"connection_id":144136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 16:56:36] local.INFO: IMEI acknowledgment sent {"connection_id":144136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:56:37] local.INFO: TCP Data received {"connection_id":142996,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3518300012d181fc00721b0f8004b00d32c..."} 
[2026-07-27 16:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142996,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3518300012d181fc00721b0f8004b00d32c..."} 
[2026-07-27 16:56:37] local.INFO: Processing buffer {"connection_id":142996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3518300012d181fc00721b0f8004b00d32c..."} 
[2026-07-27 16:56:37] local.INFO: Packet analysis {"connection_id":142996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa351"} 
[2026-07-27 16:56:37] local.INFO: Extracted packet for processing {"connection_id":142996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa351"} 
[2026-07-27 16:56:37] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648504,"longitude_deg":75.6555712,"latitude_deg":11.9648504,"altitude":75,"angle":211,"satellites":44,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b0f8","is_valid_coordinates":true} 
[2026-07-27 16:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998767360001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8914973421993984,"note":"Value kept but may cause issues"} 
[2026-07-27 16:56:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050850816,"note":"Value kept but may cause issues"} 
[2026-07-27 16:56:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785151456000,"timestamp_ms":1785151456000,"timestamp_seconds":1785151456,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3518300"} 
[2026-07-27 16:56:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:56:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-27 16:56:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:56:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:56:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":142996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":142996,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":142996,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:56:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 16:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 16:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998767360001,"66":12841,"120":206,"28":31744,"24":0,"16":8914973421993984,"45":1738319118050850816},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 16:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 16:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 16:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998767360001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:56:37] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 16:56:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 16:56:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8914973421993984,"km_value":8914973421993.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:56:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050850816,"description":"Unknown IO ID 45"} 
[2026-07-27 16:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998767360001,"power":12841,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738319118050850816}} 
[2026-07-27 16:56:37] local.INFO: DEBUG: GPS processor result {"connection_id":142996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554310,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:56:37] local.INFO: GPS data processed {"connection_id":142996,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:56:37] local.INFO: Acknowledgment sent {"connection_id":142996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:56:38] local.INFO: TCP Data received {"connection_id":144136,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:56:38] local.INFO: Processing buffer {"connection_id":144136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:56:38] local.INFO: IMEI packet received {"connection_id":144136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 16:56:38] local.INFO: IMEI acknowledgment sent {"connection_id":144136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:56:42] local.INFO: TCP Data received {"connection_id":144136,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:56:42] local.INFO: Processing buffer {"connection_id":144136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:56:42] local.INFO: IMEI packet received {"connection_id":144136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 16:56:42] local.INFO: IMEI acknowledgment sent {"connection_id":144136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:56:48] local.INFO: TCP Data received {"connection_id":144136,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3511d70012d9c48c005b68b38000f01522a..."} 
[2026-07-27 16:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144136,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3511d70012d9c48c005b68b38000f01522a..."} 
[2026-07-27 16:56:48] local.INFO: Processing buffer {"connection_id":144136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3511d70012d9c48c005b68b38000f01522a..."} 
[2026-07-27 16:56:48] local.INFO: Packet analysis {"connection_id":144136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa351"} 
[2026-07-27 16:56:48] local.INFO: Extracted packet for processing {"connection_id":144136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa351"} 
[2026-07-27 16:56:48] local.INFO: GPS Element Parsed {"raw_longitude":765216960,"raw_latitude":95849272,"longitude_deg":76.521696,"latitude_deg":9.5849272,"altitude":15,"angle":338,"satellites":42,"speed":30,"hex_longitude":"2d9c48c0","hex_latitude":"05b68b38","is_valid_coordinates":true} 
[2026-07-27 16:56:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:56:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998765056001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:56:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359083682834677760,"note":"Value kept but may cause issues"} 
[2026-07-27 16:56:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7183522856095926272,"note":"Value kept but may cause issues"} 
[2026-07-27 16:56:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:56:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785151430000,"timestamp_ms":1785151430000,"timestamp_seconds":1785151430,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3511d70"} 
[2026-07-27 16:56:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:56:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-27 16:56:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:56:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:56:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:56:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:56:48] local.INFO: Teltonika packet parsed successfully {"connection_id":144136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:56:48] local.INFO: Passing IMEI to GPS processor {"connection_id":144136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:56:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":144136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:56:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:56:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:56:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:56:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998765056001,"66":27919,"226":206,"83":16640,"24":30,"16":359083682834677760,"45":-7183522856095926272},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-07-27 16:56:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:56:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:56:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998765056001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:56:48] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-27 16:56:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":16640,"description":"Unknown IO ID 83"} 
[2026-07-27 16:56:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359083682834677760,"km_value":359083682834677.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:56:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7183522856095926272,"description":"Unknown IO ID 45"} 
[2026-07-27 16:56:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998765056001,"power":27919,"unknown_226":206,"unknown_83":16640,"ignition":30,"odometer":null,"unknown_45":-7183522856095926272}} 
[2026-07-27 16:56:48] local.INFO: DEBUG: GPS processor result {"connection_id":144136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:56:48] local.INFO: GPS data processed {"connection_id":144136,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:56:48] local.INFO: Acknowledgment sent {"connection_id":144136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:57:00] local.INFO: TCP Data received {"connection_id":144137,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144137,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:57:00] local.INFO: Processing buffer {"connection_id":144137,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:57:00] local.INFO: IMEI packet received {"connection_id":144137,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 16:57:00] local.INFO: IMEI acknowledgment sent {"connection_id":144137,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:57:01] local.INFO: TCP Data received {"connection_id":144137,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144137,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:57:01] local.INFO: Processing buffer {"connection_id":144137,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:57:01] local.INFO: IMEI packet received {"connection_id":144137,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 16:57:01] local.INFO: IMEI acknowledgment sent {"connection_id":144137,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:57:04] local.INFO: TCP Data received {"connection_id":144137,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144137,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:57:04] local.INFO: Processing buffer {"connection_id":144137,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:57:04] local.INFO: IMEI packet received {"connection_id":144137,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 16:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":144137,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:57:05] local.INFO: TCP Data received {"connection_id":144137,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa351d508012d181fc00721b0f8004b00d32b..."} 
[2026-07-27 16:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144137,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa351d508012d181fc00721b0f8004b00d32b..."} 
[2026-07-27 16:57:05] local.INFO: Processing buffer {"connection_id":144137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa351d508012d181fc00721b0f8004b00d32b..."} 
[2026-07-27 16:57:05] local.INFO: Packet analysis {"connection_id":144137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa351"} 
[2026-07-27 16:57:05] local.INFO: Extracted packet for processing {"connection_id":144137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa351"} 
[2026-07-27 16:57:05] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648504,"longitude_deg":75.6555712,"latitude_deg":11.9648504,"altitude":75,"angle":211,"satellites":43,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b0f8","is_valid_coordinates":true} 
[2026-07-27 16:57:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:57:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998772736001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:57:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8914973421993984,"note":"Value kept but may cause issues"} 
[2026-07-27 16:57:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050850816,"note":"Value kept but may cause issues"} 
[2026-07-27 16:57:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:57:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785151477000,"timestamp_ms":1785151477000,"timestamp_seconds":1785151477,"priority":1,"record_length":96,"hex_timestamp":"0000019fa351d508"} 
[2026-07-27 16:57:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:57:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:57:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-27 16:57:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:57:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:57:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:57:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:57:05] local.INFO: Teltonika packet parsed successfully {"connection_id":144137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:57:05] local.INFO: Passing IMEI to GPS processor {"connection_id":144137,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:57:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":144137,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:57:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:57:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 16:57:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 16:57:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998772736001,"66":12841,"120":206,"28":31744,"24":0,"16":8914973421993984,"45":1738319118050850816},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 16:57:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 16:57:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 16:57:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998772736001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:57:05] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 16:57:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 16:57:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8914973421993984,"km_value":8914973421993.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:57:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050850816,"description":"Unknown IO ID 45"} 
[2026-07-27 16:57:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998772736001,"power":12841,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738319118050850816}} 
[2026-07-27 16:57:06] local.INFO: DEBUG: GPS processor result {"connection_id":144137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554312,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:57:06] local.INFO: GPS data processed {"connection_id":144137,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:57:06] local.INFO: Acknowledgment sent {"connection_id":144137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:57:32] local.INFO: TCP Data received {"connection_id":145427,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:57:32] local.INFO: Processing buffer {"connection_id":145427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:57:32] local.INFO: IMEI packet received {"connection_id":145427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 16:57:32] local.INFO: IMEI acknowledgment sent {"connection_id":145427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:57:37] local.INFO: TCP Data received {"connection_id":145427,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:57:37] local.INFO: Processing buffer {"connection_id":145427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:57:37] local.INFO: IMEI packet received {"connection_id":145427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 16:57:37] local.INFO: IMEI acknowledgment sent {"connection_id":145427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:57:37] local.INFO: TCP Data received {"connection_id":144137,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3522710012d181fc00721b0f8004b00d32c..."} 
[2026-07-27 16:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144137,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3522710012d181fc00721b0f8004b00d32c..."} 
[2026-07-27 16:57:37] local.INFO: Processing buffer {"connection_id":144137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3522710012d181fc00721b0f8004b00d32c..."} 
[2026-07-27 16:57:37] local.INFO: Packet analysis {"connection_id":144137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa352"} 
[2026-07-27 16:57:37] local.INFO: Extracted packet for processing {"connection_id":144137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa352"} 
[2026-07-27 16:57:37] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648504,"longitude_deg":75.6555712,"latitude_deg":11.9648504,"altitude":75,"angle":211,"satellites":44,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b0f8","is_valid_coordinates":true} 
[2026-07-27 16:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:57:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998778112001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:57:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8914973421993984,"note":"Value kept but may cause issues"} 
[2026-07-27 16:57:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050850816,"note":"Value kept but may cause issues"} 
[2026-07-27 16:57:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:57:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785151498000,"timestamp_ms":1785151498000,"timestamp_seconds":1785151498,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3522710"} 
[2026-07-27 16:57:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:57:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-27 16:57:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:57:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:57:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:57:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:57:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:57:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144137,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:57:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144137,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:57:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:57:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 16:57:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 16:57:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998778112001,"66":12819,"120":206,"28":31744,"24":0,"16":8914973421993984,"45":1738319118050850816},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 16:57:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 16:57:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 16:57:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998778112001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:57:37] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 16:57:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 16:57:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8914973421993984,"km_value":8914973421993.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:57:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050850816,"description":"Unknown IO ID 45"} 
[2026-07-27 16:57:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998778112001,"power":12819,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738319118050850816}} 
[2026-07-27 16:57:37] local.INFO: DEBUG: GPS processor result {"connection_id":144137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554313,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:57:37] local.INFO: GPS data processed {"connection_id":144137,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:57:37] local.INFO: Acknowledgment sent {"connection_id":144137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:57:42] local.INFO: TCP Data received {"connection_id":145427,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3530d88012d9c4e0005b76828002600082d..."} 
[2026-07-27 16:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3530d88012d9c4e0005b76828002600082d..."} 
[2026-07-27 16:57:42] local.INFO: Processing buffer {"connection_id":145427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3530d88012d9c4e0005b76828002600082d..."} 
[2026-07-27 16:57:42] local.INFO: Packet analysis {"connection_id":145427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa353"} 
[2026-07-27 16:57:42] local.INFO: Extracted packet for processing {"connection_id":145427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa353"} 
[2026-07-27 16:57:42] local.INFO: GPS Element Parsed {"raw_longitude":765218304,"raw_latitude":95905832,"longitude_deg":76.5218304,"latitude_deg":9.5905832,"altitude":38,"angle":8,"satellites":45,"speed":0,"hex_longitude":"2d9c4e00","hex_latitude":"05b76828","is_valid_coordinates":true} 
[2026-07-27 16:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:57:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998793216001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:57:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359086465973485568,"note":"Value kept but may cause issues"} 
[2026-07-27 16:57:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7184789493477310464,"note":"Value kept but may cause issues"} 
[2026-07-27 16:57:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:57:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785151557000,"timestamp_ms":1785151557000,"timestamp_seconds":1785151557,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3530d88"} 
[2026-07-27 16:57:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:57:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16: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":109,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-27 16:57:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1760,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:57:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:57:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:57:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:57:42] local.INFO: Teltonika packet parsed successfully {"connection_id":145427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:57:42] local.INFO: Passing IMEI to GPS processor {"connection_id":145427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:57:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":145427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:57:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:57:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:57:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:57:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998793216001,"66":28006,"249":206,"83":16640,"24":0,"16":359086465973485568,"45":-7184789493477310464},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,83,24,16,45]} 
[2026-07-27 16:57:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:57:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:57:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998793216001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:57:42] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-07-27 16:57:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":16640,"description":"Unknown IO ID 83"} 
[2026-07-27 16:57:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359086465973485568,"km_value":359086465973485.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:57:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7184789493477310464,"description":"Unknown IO ID 45"} 
[2026-07-27 16:57:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998793216001,"power":28006,"unknown_249":206,"unknown_83":16640,"ignition":0,"odometer":null,"unknown_45":-7184789493477310464}} 
[2026-07-27 16:57:42] local.INFO: DEBUG: GPS processor result {"connection_id":145427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:57:42] local.INFO: GPS data processed {"connection_id":145427,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:57:42] local.INFO: Acknowledgment sent {"connection_id":145427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:57:59] local.INFO: TCP Data received {"connection_id":143145,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143145,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:57:59] local.INFO: Processing buffer {"connection_id":143145,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:57:59] local.INFO: IMEI packet received {"connection_id":143145,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 16:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":143145,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:58:03] local.INFO: TCP Data received {"connection_id":143145,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143145,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:58:03] local.INFO: Processing buffer {"connection_id":143145,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:58:03] local.INFO: IMEI packet received {"connection_id":143145,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 16:58:03] local.INFO: IMEI acknowledgment sent {"connection_id":143145,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:58:05] local.INFO: TCP Data received {"connection_id":143145,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3527918012d181fc00721b0f8004b00d32c..."} 
[2026-07-27 16:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143145,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3527918012d181fc00721b0f8004b00d32c..."} 
[2026-07-27 16:58:05] local.INFO: Processing buffer {"connection_id":143145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3527918012d181fc00721b0f8004b00d32c..."} 
[2026-07-27 16:58:05] local.INFO: Packet analysis {"connection_id":143145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa352"} 
[2026-07-27 16:58:05] local.INFO: Extracted packet for processing {"connection_id":143145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa352"} 
[2026-07-27 16:58:05] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648504,"longitude_deg":75.6555712,"latitude_deg":11.9648504,"altitude":75,"angle":211,"satellites":44,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b0f8","is_valid_coordinates":true} 
[2026-07-27 16:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:58:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998783488001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:58:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8914973421993984,"note":"Value kept but may cause issues"} 
[2026-07-27 16:58:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050850816,"note":"Value kept but may cause issues"} 
[2026-07-27 16:58:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:58:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785151519000,"timestamp_ms":1785151519000,"timestamp_seconds":1785151519,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3527918"} 
[2026-07-27 16:58:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:58:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-27 16:58:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-07-27 16:58:05] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503735659069440,"note":"Value kept but may cause issues"} 
[2026-07-27 16:58:05] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2739944160,"note":"Value kept but may cause issues"} 
[2026-07-27 16:58:05] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-27 16:58:05] local.WARNING: Large IO value detected {"io_id":163,"raw_value":5758089623156301760,"note":"Value kept but may cause issues"} 
[2026-07-27 16:58:05] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2969043019,"note":"Value kept but may cause issues"} 
[2026-07-27 16:58:05] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6701620132617453824,"note":"Value kept but may cause issues"} 
[2026-07-27 16:58:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-1767661968501768168,"corrected_to":0} 
[2026-07-27 16:58:05] local.WARNING: Large IO value detected {"io_id":140,"raw_value":3892391192,"note":"Value kept but may cause issues"} 
[2026-07-27 16:58:05] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182234004586752,"note":"Value kept but may cause issues"} 
[2026-07-27 16:58:05] local.WARNING: Large IO value detected {"io_id":50,"raw_value":6125121887258332700,"note":"Value kept but may cause issues"} 
[2026-07-27 16:58:05] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2427712879294731053,"note":"Value kept but may cause issues"} 
[2026-07-27 16:58:05] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-07-27 16:58:05] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195042048,"note":"Value kept but may cause issues"} 
[2026-07-27 16:58:05] local.WARNING: Large IO value detected {"io_id":208,"raw_value":84750500150845875,"note":"Value kept but may cause issues"} 
[2026-07-27 16:58:05] local.WARNING: Large IO value detected {"io_id":104,"raw_value":21955955176505344,"note":"Value kept but may cause issues"} 
[2026-07-27 16:58:05] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,120,28,24,241,158,16,172,159,213,45,192,176,75,43,10,66,131,44,48,1,240,254,163,33,4,113,205,140,31,248,42,239,50,2,7,124,69,208,104],"length":625,"final_offset":755,"validated_count":40,"validation_warnings":[{"io_id":205,"original":-1767661968501768168,"validated":0}]} 
[2026-07-27 16:58:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404551738776616960,"timestamp_seconds":5404551738776617.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 16:58:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:58:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:58:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:58:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143145,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:58:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143145,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:58:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:58:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 16:58:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 16:58:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998783488001,"66":12776,"120":206,"28":31744,"24":0,"16":8914973421993984,"45":1738319118050850816},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 16:58:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 16:58:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 16:58:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998783488001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:58:05] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 16:58:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 16:58:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8914973421993984,"km_value":8914973421993.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:58:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050850816,"description":"Unknown IO ID 45"} 
[2026-07-27 16:58:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998783488001,"power":12776,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738319118050850816}} 
[2026-07-27 16:58:05] local.INFO: DEBUG: GPS processor result {"connection_id":143145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554315,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:58:05] local.INFO: GPS data processed {"connection_id":143145,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:58:05] local.INFO: Acknowledgment sent {"connection_id":143145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:58:36] local.INFO: TCP Data received {"connection_id":143145,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa352cb20012d181fc00721b0f8004b00d329..."} 
[2026-07-27 16:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143145,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa352cb20012d181fc00721b0f8004b00d329..."} 
[2026-07-27 16:58:36] local.INFO: Processing buffer {"connection_id":143145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa352cb20012d181fc00721b0f8004b00d329..."} 
[2026-07-27 16:58:36] local.INFO: Packet analysis {"connection_id":143145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa352"} 
[2026-07-27 16:58:36] local.INFO: Extracted packet for processing {"connection_id":143145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa352"} 
[2026-07-27 16:58:36] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648504,"longitude_deg":75.6555712,"latitude_deg":11.9648504,"altitude":75,"angle":211,"satellites":41,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b0f8","is_valid_coordinates":true} 
[2026-07-27 16:58:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:58:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998788864001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:58:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8914973421993984,"note":"Value kept but may cause issues"} 
[2026-07-27 16:58:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050850816,"note":"Value kept but may cause issues"} 
[2026-07-27 16:58:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:58:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785151540000,"timestamp_ms":1785151540000,"timestamp_seconds":1785151540,"priority":1,"record_length":96,"hex_timestamp":"0000019fa352cb20"} 
[2026-07-27 16:58:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:58:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:58:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-27 16:58:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:58:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:58:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:58:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:58:36] local.INFO: Teltonika packet parsed successfully {"connection_id":143145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:58:36] local.INFO: Passing IMEI to GPS processor {"connection_id":143145,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:58:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":143145,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:58:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:58:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 16:58:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 16:58:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998788864001,"66":12026,"120":206,"28":31744,"24":0,"16":8914973421993984,"45":1738319118050850816},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 16:58:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 16:58:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 16:58:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998788864001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:58:36] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 16:58:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 16:58:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8914973421993984,"km_value":8914973421993.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:58:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050850816,"description":"Unknown IO ID 45"} 
[2026-07-27 16:58:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998788864001,"power":12026,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738319118050850816}} 
[2026-07-27 16:58:36] local.INFO: DEBUG: GPS processor result {"connection_id":143145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554316,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:58:36] local.INFO: GPS data processed {"connection_id":143145,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:58:36] local.INFO: Acknowledgment sent {"connection_id":143145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:58:55] local.INFO: TCP Data received {"connection_id":145427,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3535f90012d9c500005b76f70002400052d..."} 
[2026-07-27 16:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3535f90012d9c500005b76f70002400052d..."} 
[2026-07-27 16:58:55] local.INFO: Processing buffer {"connection_id":145427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3535f90012d9c500005b76f70002400052d..."} 
[2026-07-27 16:58:55] local.INFO: Packet analysis {"connection_id":145427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa353"} 
[2026-07-27 16:58:55] local.INFO: Extracted packet for processing {"connection_id":145427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa353"} 
[2026-07-27 16:58:55] local.INFO: GPS Element Parsed {"raw_longitude":765218816,"raw_latitude":95907696,"longitude_deg":76.5218816,"latitude_deg":9.5907696,"altitude":36,"angle":5,"satellites":45,"speed":11,"hex_longitude":"2d9c5000","hex_latitude":"05b76f70","is_valid_coordinates":true} 
[2026-07-27 16:58:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:58:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998798592001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:58:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359086564757733376,"note":"Value kept but may cause issues"} 
[2026-07-27 16:58:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7183804331057469440,"note":"Value kept but may cause issues"} 
[2026-07-27 16:58:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:58:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785151578000,"timestamp_ms":1785151578000,"timestamp_seconds":1785151578,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3535f90"} 
[2026-07-27 16:58:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:58:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:58:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-27 16:58:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:58:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:58:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:58:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:58:55] local.INFO: Teltonika packet parsed successfully {"connection_id":145427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:58:55] local.INFO: Passing IMEI to GPS processor {"connection_id":145427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:58:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":145427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 16:58:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:58:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 16:58:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 16:58:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998798592001,"66":28006,"236":206,"83":16640,"24":11,"16":359086564757733376,"45":-7183804331057469440},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-27 16:58:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 16:58:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 16:58:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998798592001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:58:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 16:58:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":16640,"description":"Unknown IO ID 83"} 
[2026-07-27 16:58:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359086564757733376,"km_value":359086564757733.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:58:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7183804331057469440,"description":"Unknown IO ID 45"} 
[2026-07-27 16:58:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998798592001,"power":28006,"unknown_236":206,"unknown_83":16640,"ignition":11,"odometer":null,"unknown_45":-7183804331057469440}} 
[2026-07-27 16:58:55] local.INFO: DEBUG: GPS processor result {"connection_id":145427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:58:55] local.INFO: GPS data processed {"connection_id":145427,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:58:55] local.INFO: Acknowledgment sent {"connection_id":145427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:58:59] local.INFO: TCP Data received {"connection_id":143146,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143146,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:58:59] local.INFO: Processing buffer {"connection_id":143146,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:58:59] local.INFO: IMEI packet received {"connection_id":143146,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 16:58:59] local.INFO: IMEI acknowledgment sent {"connection_id":143146,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:59:04] local.INFO: TCP Data received {"connection_id":143146,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143146,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:59:04] local.INFO: Processing buffer {"connection_id":143146,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 16:59:04] local.INFO: IMEI packet received {"connection_id":143146,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 16:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":143146,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:59:05] local.INFO: TCP Data received {"connection_id":143146,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3531d28012d181fc00721b0f8004b00d32d..."} 
[2026-07-27 16:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143146,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3531d28012d181fc00721b0f8004b00d32d..."} 
[2026-07-27 16:59:05] local.INFO: Processing buffer {"connection_id":143146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3531d28012d181fc00721b0f8004b00d32d..."} 
[2026-07-27 16:59:05] local.INFO: Packet analysis {"connection_id":143146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa353"} 
[2026-07-27 16:59:05] local.INFO: Extracted packet for processing {"connection_id":143146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa353"} 
[2026-07-27 16:59:05] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648504,"longitude_deg":75.6555712,"latitude_deg":11.9648504,"altitude":75,"angle":211,"satellites":45,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b0f8","is_valid_coordinates":true} 
[2026-07-27 16:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:59:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998794240001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:59:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8914973421993984,"note":"Value kept but may cause issues"} 
[2026-07-27 16:59:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050850816,"note":"Value kept but may cause issues"} 
[2026-07-27 16:59:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:59:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785151561000,"timestamp_ms":1785151561000,"timestamp_seconds":1785151561,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3531d28"} 
[2026-07-27 16:59:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:59:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":250,"data_length":795,"current_offset":136} 
[2026-07-27 16:59:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2678,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:59:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:59:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:59:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:59:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:59:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143146,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:59:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143146,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:59:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:59:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 16:59:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 16:59:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998794240001,"66":12776,"120":206,"28":31744,"24":0,"16":8914973421993984,"45":1738319118050850816},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 16:59:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 16:59:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 16:59:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998794240001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:59:05] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 16:59:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 16:59:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8914973421993984,"km_value":8914973421993.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:59:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050850816,"description":"Unknown IO ID 45"} 
[2026-07-27 16:59:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998794240001,"power":12776,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738319118050850816}} 
[2026-07-27 16:59:05] local.INFO: DEBUG: GPS processor result {"connection_id":143146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554318,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:59:05] local.INFO: GPS data processed {"connection_id":143146,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:59:05] local.INFO: Acknowledgment sent {"connection_id":143146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 16:59:33] local.INFO: TCP Data received {"connection_id":145428,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:59:33] local.INFO: Processing buffer {"connection_id":145428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 16:59:33] local.INFO: IMEI packet received {"connection_id":145428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 16:59:33] local.INFO: IMEI acknowledgment sent {"connection_id":145428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 16:59:34] local.INFO: TCP Data received {"connection_id":145428,"ip":"42.106.6.27","data_length":51,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-27 16:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145428,"packet_length":51,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-27 16:59:34] local.INFO: Processing buffer {"connection_id":145428,"buffer_length":51,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-27 16:59:34] local.INFO: IMEI packet received {"connection_id":145428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 16:59:34] local.INFO: IMEI acknowledgment sent {"connection_id":145428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 16:59:37] local.INFO: TCP Data received {"connection_id":143146,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3536f30012d181fc00721b0f8004b00d32b..."} 
[2026-07-27 16:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143146,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3536f30012d181fc00721b0f8004b00d32b..."} 
[2026-07-27 16:59:37] local.INFO: Processing buffer {"connection_id":143146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3536f30012d181fc00721b0f8004b00d32b..."} 
[2026-07-27 16:59:37] local.INFO: Packet analysis {"connection_id":143146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa353"} 
[2026-07-27 16:59:37] local.INFO: Extracted packet for processing {"connection_id":143146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa353"} 
[2026-07-27 16:59:37] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648504,"longitude_deg":75.6555712,"latitude_deg":11.9648504,"altitude":75,"angle":211,"satellites":43,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b0f8","is_valid_coordinates":true} 
[2026-07-27 16:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 16:59:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998799616001,"note":"Value kept but may cause issues"} 
[2026-07-27 16:59:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8914973421993984,"note":"Value kept but may cause issues"} 
[2026-07-27 16:59:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050850816,"note":"Value kept but may cause issues"} 
[2026-07-27 16:59:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 16:59:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785151582000,"timestamp_ms":1785151582000,"timestamp_seconds":1785151582,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3536f30"} 
[2026-07-27 16:59:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 16:59:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 16:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-27 16:59:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 16:59:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 16:59:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 16:59:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 16:59:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 16:59:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143146,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:59:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143146,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 16:59:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 16:59:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 16:59:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 16:59:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998799616001,"66":12722,"120":206,"28":31744,"24":0,"16":8914973421993984,"45":1738319118050850816},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 16:59:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 16:59:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 16:59:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998799616001,"description":"Unknown IO ID 0"} 
[2026-07-27 16:59:37] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 16:59:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 16:59:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8914973421993984,"km_value":8914973421993.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 16:59:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050850816,"description":"Unknown IO ID 45"} 
[2026-07-27 16:59:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998799616001,"power":12722,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738319118050850816}} 
[2026-07-27 16:59:37] local.INFO: DEBUG: GPS processor result {"connection_id":143146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554319,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 16:59:37] local.INFO: GPS data processed {"connection_id":143146,"processed":1,"errors":0,"total":1} 
[2026-07-27 16:59:37] local.INFO: Acknowledgment sent {"connection_id":143146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:00:04] local.INFO: TCP Data received {"connection_id":144138,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144138,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:00:04] local.INFO: Processing buffer {"connection_id":144138,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:00:04] local.INFO: IMEI packet received {"connection_id":144138,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 17:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":144138,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:00:10] local.INFO: TCP Data received {"connection_id":144138,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144138,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:00:10] local.INFO: Processing buffer {"connection_id":144138,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:00:10] local.INFO: IMEI packet received {"connection_id":144138,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 17:00:10] local.INFO: IMEI acknowledgment sent {"connection_id":144138,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:00:11] local.INFO: TCP Data received {"connection_id":144138,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa353c138012d181fc00721b0f8004b00d329..."} 
[2026-07-27 17:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144138,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa353c138012d181fc00721b0f8004b00d329..."} 
[2026-07-27 17:00:11] local.INFO: Processing buffer {"connection_id":144138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa353c138012d181fc00721b0f8004b00d329..."} 
[2026-07-27 17:00:11] local.INFO: Packet analysis {"connection_id":144138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa353"} 
[2026-07-27 17:00:11] local.INFO: Extracted packet for processing {"connection_id":144138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa353"} 
[2026-07-27 17:00:11] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648504,"longitude_deg":75.6555712,"latitude_deg":11.9648504,"altitude":75,"angle":211,"satellites":41,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b0f8","is_valid_coordinates":true} 
[2026-07-27 17: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-07-27 17:00:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998804992001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:00:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8914973421993984,"note":"Value kept but may cause issues"} 
[2026-07-27 17:00:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050850816,"note":"Value kept but may cause issues"} 
[2026-07-27 17:00:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:00:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785151603000,"timestamp_ms":1785151603000,"timestamp_seconds":1785151603,"priority":1,"record_length":96,"hex_timestamp":"0000019fa353c138"} 
[2026-07-27 17:00:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:00:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-27 17:00:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17: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-07-27 17:00:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:00:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:00:11] local.INFO: Teltonika packet parsed successfully {"connection_id":144138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:00:11] local.INFO: Passing IMEI to GPS processor {"connection_id":144138,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:00:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":144138,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:00:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:00:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:00:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:00:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998804992001,"66":12743,"120":206,"28":31744,"24":0,"16":8914973421993984,"45":1738319118050850816},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 17:00:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:00:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:00:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998804992001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:00:11] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 17:00:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:00:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8914973421993984,"km_value":8914973421993.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:00:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050850816,"description":"Unknown IO ID 45"} 
[2026-07-27 17:00:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998804992001,"power":12743,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738319118050850816}} 
[2026-07-27 17:00:11] local.INFO: DEBUG: GPS processor result {"connection_id":144138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554320,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:00:11] local.INFO: GPS data processed {"connection_id":144138,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:00:11] local.INFO: Acknowledgment sent {"connection_id":144138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:00:12] local.INFO: TCP Data received {"connection_id":144138,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3541340012d181fc00721b0f8004b00d32b..."} 
[2026-07-27 17:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144138,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3541340012d181fc00721b0f8004b00d32b..."} 
[2026-07-27 17:00:12] local.INFO: Processing buffer {"connection_id":144138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3541340012d181fc00721b0f8004b00d32b..."} 
[2026-07-27 17:00:12] local.INFO: Packet analysis {"connection_id":144138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa354"} 
[2026-07-27 17:00:12] local.INFO: Extracted packet for processing {"connection_id":144138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa354"} 
[2026-07-27 17:00:12] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648504,"longitude_deg":75.6555712,"latitude_deg":11.9648504,"altitude":75,"angle":211,"satellites":43,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b0f8","is_valid_coordinates":true} 
[2026-07-27 17:00:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:00:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998810368001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:00:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8914973421993984,"note":"Value kept but may cause issues"} 
[2026-07-27 17:00:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050850816,"note":"Value kept but may cause issues"} 
[2026-07-27 17:00: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-07-27 17:00:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785151624000,"timestamp_ms":1785151624000,"timestamp_seconds":1785151624,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3541340"} 
[2026-07-27 17:00:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:00:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:00:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-07-27 17:00:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:00:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:00:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:00:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:00:12] local.INFO: Teltonika packet parsed successfully {"connection_id":144138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:00:12] local.INFO: Passing IMEI to GPS processor {"connection_id":144138,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:00:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":144138,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:00:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:00:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:00:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:00:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998810368001,"66":12591,"120":206,"28":31744,"24":0,"16":8914973421993984,"45":1738319118050850816},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 17:00:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:00:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:00:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998810368001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:00:12] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 17:00:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:00:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8914973421993984,"km_value":8914973421993.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:00:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050850816,"description":"Unknown IO ID 45"} 
[2026-07-27 17:00:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998810368001,"power":12591,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738319118050850816}} 
[2026-07-27 17:00:12] local.INFO: DEBUG: GPS processor result {"connection_id":144138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554321,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:00:12] local.INFO: GPS data processed {"connection_id":144138,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:00:12] local.INFO: Acknowledgment sent {"connection_id":144138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:00:43] local.INFO: TCP Data received {"connection_id":144138,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3546548012d181fc00721b0f8004b00d32c..."} 
[2026-07-27 17:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144138,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3546548012d181fc00721b0f8004b00d32c..."} 
[2026-07-27 17:00:43] local.INFO: Processing buffer {"connection_id":144138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3546548012d181fc00721b0f8004b00d32c..."} 
[2026-07-27 17:00:43] local.INFO: Packet analysis {"connection_id":144138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa354"} 
[2026-07-27 17:00:43] local.INFO: Extracted packet for processing {"connection_id":144138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa354"} 
[2026-07-27 17:00:43] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648504,"longitude_deg":75.6555712,"latitude_deg":11.9648504,"altitude":75,"angle":211,"satellites":44,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b0f8","is_valid_coordinates":true} 
[2026-07-27 17:00:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:00:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998815744001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:00:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8914973421993984,"note":"Value kept but may cause issues"} 
[2026-07-27 17:00:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050850816,"note":"Value kept but may cause issues"} 
[2026-07-27 17:00: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-07-27 17:00:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785151645000,"timestamp_ms":1785151645000,"timestamp_seconds":1785151645,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3546548"} 
[2026-07-27 17:00:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:00:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:00:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-27 17:00:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:00:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:00:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:00:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:00:43] local.INFO: Teltonika packet parsed successfully {"connection_id":144138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:00:43] local.INFO: Passing IMEI to GPS processor {"connection_id":144138,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:00:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":144138,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:00:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:00:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:00:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:00:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998815744001,"66":12711,"120":206,"28":31744,"24":0,"16":8914973421993984,"45":1738319118050850816},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 17:00:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:00:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:00:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998815744001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:00:43] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 17:00:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:00:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8914973421993984,"km_value":8914973421993.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:00:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050850816,"description":"Unknown IO ID 45"} 
[2026-07-27 17:00:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998815744001,"power":12711,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738319118050850816}} 
[2026-07-27 17:00:44] local.INFO: DEBUG: GPS processor result {"connection_id":144138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554322,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:00:44] local.INFO: GPS data processed {"connection_id":144138,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:00:44] local.INFO: Acknowledgment sent {"connection_id":144138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:01:00] local.INFO: TCP Data received {"connection_id":142998,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142998,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:01:00] local.INFO: Processing buffer {"connection_id":142998,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:01:00] local.INFO: IMEI packet received {"connection_id":142998,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 17:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":142998,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:01:04] local.INFO: TCP Data received {"connection_id":142998,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142998,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:01:04] local.INFO: Processing buffer {"connection_id":142998,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:01:04] local.INFO: IMEI packet received {"connection_id":142998,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 17:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":142998,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:01:05] local.INFO: TCP Data received {"connection_id":142998,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa354b750012d181fc00721b0f8004b00d32b..."} 
[2026-07-27 17:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa354b750012d181fc00721b0f8004b00d32b..."} 
[2026-07-27 17:01:05] local.INFO: Processing buffer {"connection_id":142998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa354b750012d181fc00721b0f8004b00d32b..."} 
[2026-07-27 17:01:05] local.INFO: Packet analysis {"connection_id":142998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa354"} 
[2026-07-27 17:01:05] local.INFO: Extracted packet for processing {"connection_id":142998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa354"} 
[2026-07-27 17:01:05] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648504,"longitude_deg":75.6555712,"latitude_deg":11.9648504,"altitude":75,"angle":211,"satellites":43,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b0f8","is_valid_coordinates":true} 
[2026-07-27 17:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:01:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998821120001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:01:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8914973421993984,"note":"Value kept but may cause issues"} 
[2026-07-27 17:01:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050850816,"note":"Value kept but may cause issues"} 
[2026-07-27 17:01:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:01:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785151666000,"timestamp_ms":1785151666000,"timestamp_seconds":1785151666,"priority":1,"record_length":96,"hex_timestamp":"0000019fa354b750"} 
[2026-07-27 17:01:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:01:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-07-27 17:01:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:01:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:01:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:01:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:01:05] local.INFO: Teltonika packet parsed successfully {"connection_id":142998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:01:05] local.INFO: Passing IMEI to GPS processor {"connection_id":142998,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:01:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":142998,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:01:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:01:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:01:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:01:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998821120001,"66":12689,"120":206,"28":31744,"24":0,"16":8914973421993984,"45":1738319118050850816},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 17:01:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:01:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:01:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998821120001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:01:05] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 17:01:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:01:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8914973421993984,"km_value":8914973421993.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:01:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050850816,"description":"Unknown IO ID 45"} 
[2026-07-27 17:01:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998821120001,"power":12689,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738319118050850816}} 
[2026-07-27 17:01:05] local.INFO: DEBUG: GPS processor result {"connection_id":142998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554323,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:01:05] local.INFO: GPS data processed {"connection_id":142998,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:01:05] local.INFO: Acknowledgment sent {"connection_id":142998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:01:37] local.INFO: TCP Data received {"connection_id":142998,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3550958012d181fc00721b0f8004b00d32a..."} 
[2026-07-27 17:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3550958012d181fc00721b0f8004b00d32a..."} 
[2026-07-27 17:01:37] local.INFO: Processing buffer {"connection_id":142998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3550958012d181fc00721b0f8004b00d32a..."} 
[2026-07-27 17:01:37] local.INFO: Packet analysis {"connection_id":142998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa355"} 
[2026-07-27 17:01:37] local.INFO: Extracted packet for processing {"connection_id":142998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa355"} 
[2026-07-27 17:01:37] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648504,"longitude_deg":75.6555712,"latitude_deg":11.9648504,"altitude":75,"angle":211,"satellites":42,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b0f8","is_valid_coordinates":true} 
[2026-07-27 17:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998826496001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8914973421993984,"note":"Value kept but may cause issues"} 
[2026-07-27 17:01:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050850816,"note":"Value kept but may cause issues"} 
[2026-07-27 17:01:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785151687000,"timestamp_ms":1785151687000,"timestamp_seconds":1785151687,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3550958"} 
[2026-07-27 17:01:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:01:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-27 17:01:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:01:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:01:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":142998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":142998,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":142998,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:01:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998826496001,"66":12667,"120":206,"28":31744,"24":0,"16":8914973421993984,"45":1738319118050850816},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 17:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998826496001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:01:37] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 17:01:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:01:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8914973421993984,"km_value":8914973421993.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:01:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050850816,"description":"Unknown IO ID 45"} 
[2026-07-27 17:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998826496001,"power":12667,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738319118050850816}} 
[2026-07-27 17:01:37] local.INFO: DEBUG: GPS processor result {"connection_id":142998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554324,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:01:37] local.INFO: GPS data processed {"connection_id":142998,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:01:37] local.INFO: Acknowledgment sent {"connection_id":142998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:02:00] local.INFO: TCP Data received {"connection_id":145430,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145430,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:02:00] local.INFO: Processing buffer {"connection_id":145430,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:02:00] local.INFO: IMEI packet received {"connection_id":145430,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 17:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":145430,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:02:04] local.INFO: TCP Data received {"connection_id":145430,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145430,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:02:04] local.INFO: Processing buffer {"connection_id":145430,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:02:04] local.INFO: IMEI packet received {"connection_id":145430,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 17:02:04] local.INFO: IMEI acknowledgment sent {"connection_id":145430,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:02:05] local.INFO: TCP Data received {"connection_id":145430,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3555b60012d181fc00721b0f8004b00d32b..."} 
[2026-07-27 17:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3555b60012d181fc00721b0f8004b00d32b..."} 
[2026-07-27 17:02:05] local.INFO: Processing buffer {"connection_id":145430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3555b60012d181fc00721b0f8004b00d32b..."} 
[2026-07-27 17:02:05] local.INFO: Packet analysis {"connection_id":145430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa355"} 
[2026-07-27 17:02:05] local.INFO: Extracted packet for processing {"connection_id":145430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa355"} 
[2026-07-27 17:02:05] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648504,"longitude_deg":75.6555712,"latitude_deg":11.9648504,"altitude":75,"angle":211,"satellites":43,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b0f8","is_valid_coordinates":true} 
[2026-07-27 17:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:02:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998831872001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:02:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8914973421993984,"note":"Value kept but may cause issues"} 
[2026-07-27 17:02:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050850816,"note":"Value kept but may cause issues"} 
[2026-07-27 17:02:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:02:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785151708000,"timestamp_ms":1785151708000,"timestamp_seconds":1785151708,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3555b60"} 
[2026-07-27 17:02:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:02:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-07-27 17:02:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:02:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:02:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:02:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:02:05] local.INFO: Teltonika packet parsed successfully {"connection_id":145430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:02:05] local.INFO: Passing IMEI to GPS processor {"connection_id":145430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:02:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":145430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:02:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:02:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:02:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:02:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998831872001,"66":12287,"120":206,"28":31744,"24":0,"16":8914973421993984,"45":1738319118050850816},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 17:02:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:02:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:02:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998831872001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:02:05] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 17:02:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:02:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8914973421993984,"km_value":8914973421993.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:02:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050850816,"description":"Unknown IO ID 45"} 
[2026-07-27 17:02:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998831872001,"power":12287,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738319118050850816}} 
[2026-07-27 17:02:05] local.INFO: DEBUG: GPS processor result {"connection_id":145430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554325,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:02:05] local.INFO: GPS data processed {"connection_id":145430,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:02:05] local.INFO: Acknowledgment sent {"connection_id":145430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:02:37] local.INFO: TCP Data received {"connection_id":145430,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa35868a0012d181f800721a638004c006b2c..."} 
[2026-07-27 17:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa35868a0012d181f800721a638004c006b2c..."} 
[2026-07-27 17:02:37] local.INFO: Processing buffer {"connection_id":145430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa35868a0012d181f800721a638004c006b2c..."} 
[2026-07-27 17:02:37] local.INFO: Packet analysis {"connection_id":145430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa358"} 
[2026-07-27 17:02:37] local.INFO: Extracted packet for processing {"connection_id":145430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa358"} 
[2026-07-27 17:02:37] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119645752,"longitude_deg":75.6555648,"latitude_deg":11.9645752,"altitude":76,"angle":107,"satellites":44,"speed":8,"hex_longitude":"2d181f80","hex_latitude":"0721a638","is_valid_coordinates":true} 
[2026-07-27 17:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998887936001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8915132335783936,"note":"Value kept but may cause issues"} 
[2026-07-27 17:02:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585131520,"note":"Value kept but may cause issues"} 
[2026-07-27 17:02:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785151908000,"timestamp_ms":1785151908000,"timestamp_seconds":1785151908,"priority":1,"record_length":96,"hex_timestamp":"0000019fa35868a0"} 
[2026-07-27 17:02:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:02:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-27 17:02:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:02:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:02:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:02:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998887936001,"66":14211,"120":206,"28":31744,"24":8,"16":8915132335783936,"45":1737896905585131520},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 17:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998887936001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:02:37] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 17:02:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:02:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8915132335783936,"km_value":8915132335783.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:02:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585131520,"description":"Unknown IO ID 45"} 
[2026-07-27 17:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998887936001,"power":14211,"unknown_120":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1737896905585131520}} 
[2026-07-27 17:02:37] local.INFO: DEBUG: GPS processor result {"connection_id":145430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554326,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:02:37] local.INFO: GPS data processed {"connection_id":145430,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:02:37] local.INFO: Acknowledgment sent {"connection_id":145430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:03:00] local.INFO: TCP Data received {"connection_id":145431,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145431,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:03:00] local.INFO: Processing buffer {"connection_id":145431,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:03:00] local.INFO: IMEI packet received {"connection_id":145431,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 17:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":145431,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:03:00] local.INFO: TCP Data received {"connection_id":145431,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145431,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:03:00] local.INFO: Processing buffer {"connection_id":145431,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:03:00] local.INFO: IMEI packet received {"connection_id":145431,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 17:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":145431,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:03:05] local.INFO: TCP Data received {"connection_id":145431,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145431,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:03:05] local.INFO: Processing buffer {"connection_id":145431,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:03:05] local.INFO: IMEI packet received {"connection_id":145431,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 17:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":145431,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:03:06] local.INFO: TCP Data received {"connection_id":145431,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3587070012d1821400721a550004c00762b..."} 
[2026-07-27 17:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145431,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3587070012d1821400721a550004c00762b..."} 
[2026-07-27 17:03:06] local.INFO: Processing buffer {"connection_id":145431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3587070012d1821400721a550004c00762b..."} 
[2026-07-27 17:03:06] local.INFO: Packet analysis {"connection_id":145431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa358"} 
[2026-07-27 17:03:06] local.INFO: Extracted packet for processing {"connection_id":145431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa358"} 
[2026-07-27 17:03:06] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119645520,"longitude_deg":75.6556096,"latitude_deg":11.964552,"altitude":76,"angle":118,"satellites":43,"speed":11,"hex_longitude":"2d182140","hex_latitude":"0721a550","is_valid_coordinates":true} 
[2026-07-27 17:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:03:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998888448001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:03:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8915158105587712,"note":"Value kept but may cause issues"} 
[2026-07-27 17:03:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749305968640,"note":"Value kept but may cause issues"} 
[2026-07-27 17:03:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:03:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785151910000,"timestamp_ms":1785151910000,"timestamp_seconds":1785151910,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3587070"} 
[2026-07-27 17:03:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:03:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-27 17:03:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:03:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:03:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:03:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:03:06] local.INFO: Teltonika packet parsed successfully {"connection_id":145431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:03:06] local.INFO: Passing IMEI to GPS processor {"connection_id":145431,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:03:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":145431,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:03:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:03:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:03:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:03:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998888448001,"66":14211,"120":206,"28":31744,"24":11,"16":8915158105587712,"45":1738248749305968640},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 17:03:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:03:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:03:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998888448001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:03:06] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 17:03:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:03:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8915158105587712,"km_value":8915158105587.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:03:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749305968640,"description":"Unknown IO ID 45"} 
[2026-07-27 17:03:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998888448001,"power":14211,"unknown_120":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1738248749305968640}} 
[2026-07-27 17:03:06] local.INFO: DEBUG: GPS processor result {"connection_id":145431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554327,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:03:06] local.INFO: GPS data processed {"connection_id":145431,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:03:06] local.INFO: Acknowledgment sent {"connection_id":145431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:03:38] local.INFO: TCP Data received {"connection_id":145431,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3595ad0012d18c64007214708004500b12a..."} 
[2026-07-27 17:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145431,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3595ad0012d18c64007214708004500b12a..."} 
[2026-07-27 17:03:38] local.INFO: Processing buffer {"connection_id":145431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3595ad0012d18c64007214708004500b12a..."} 
[2026-07-27 17:03:38] local.INFO: Packet analysis {"connection_id":145431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa359"} 
[2026-07-27 17:03:38] local.INFO: Extracted packet for processing {"connection_id":145431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa359"} 
[2026-07-27 17:03:38] local.INFO: GPS Element Parsed {"raw_longitude":756598336,"raw_latitude":119621384,"longitude_deg":75.6598336,"latitude_deg":11.9621384,"altitude":69,"angle":177,"satellites":42,"speed":40,"hex_longitude":"2d18c640","hex_latitude":"07214708","is_valid_coordinates":true} 
[2026-07-27 17:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:03:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998903808001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:03:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8917644891652096,"note":"Value kept but may cause issues"} 
[2026-07-27 17:03:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784973595434207232,"note":"Value kept but may cause issues"} 
[2026-07-27 17:03:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:03:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785151970000,"timestamp_ms":1785151970000,"timestamp_seconds":1785151970,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3595ad0"} 
[2026-07-27 17:03:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:03:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-27 17:03:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:03:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:03:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:03:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:03:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:03:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145431,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:03:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145431,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:03:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:03:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:03:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:03:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998903808001,"66":13906,"121":206,"28":31744,"24":40,"16":8917644891652096,"45":1784973595434207232},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 17:03:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:03:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:03:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998903808001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:03:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 17:03:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:03:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8917644891652096,"km_value":8917644891652.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:03:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784973595434207232,"description":"Unknown IO ID 45"} 
[2026-07-27 17:03:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998903808001,"power":13906,"unknown_121":206,"unknown_28":31744,"ignition":40,"odometer":null,"unknown_45":1784973595434207232}} 
[2026-07-27 17:03:38] local.INFO: DEBUG: GPS processor result {"connection_id":145431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554328,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:03:38] local.INFO: GPS data processed {"connection_id":145431,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:03:38] local.INFO: Acknowledgment sent {"connection_id":145431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:03:59] local.INFO: TCP Data received {"connection_id":144140,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144140,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:03:59] local.INFO: Processing buffer {"connection_id":144140,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:03:59] local.INFO: IMEI packet received {"connection_id":144140,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 17:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":144140,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:04:05] local.INFO: TCP Data received {"connection_id":144140,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144140,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:04:05] local.INFO: Processing buffer {"connection_id":144140,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:04:05] local.INFO: IMEI packet received {"connection_id":144140,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 17:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":144140,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:04:10] local.INFO: TCP Data received {"connection_id":144140,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3596688012d18c80007213bd8004400a229..."} 
[2026-07-27 17:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144140,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3596688012d18c80007213bd8004400a229..."} 
[2026-07-27 17:04:10] local.INFO: Processing buffer {"connection_id":144140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3596688012d18c80007213bd8004400a229..."} 
[2026-07-27 17:04:10] local.INFO: Packet analysis {"connection_id":144140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa359"} 
[2026-07-27 17:04:10] local.INFO: Extracted packet for processing {"connection_id":144140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa359"} 
[2026-07-27 17:04:10] local.INFO: GPS Element Parsed {"raw_longitude":756598784,"raw_latitude":119618520,"longitude_deg":75.6598784,"latitude_deg":11.961852,"altitude":68,"angle":162,"satellites":41,"speed":37,"hex_longitude":"2d18c800","hex_latitude":"07213bd8","is_valid_coordinates":true} 
[2026-07-27 17:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:04:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998904320001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:04:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8917782330605568,"note":"Value kept but may cause issues"} 
[2026-07-27 17:04:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785184701666232320,"note":"Value kept but may cause issues"} 
[2026-07-27 17:04:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:04:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785151973000,"timestamp_ms":1785151973000,"timestamp_seconds":1785151973,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3596688"} 
[2026-07-27 17:04:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:04:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17: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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-07-27 17:04:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:04:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:04:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:04:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:04:10] local.INFO: Teltonika packet parsed successfully {"connection_id":144140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:04:10] local.INFO: Passing IMEI to GPS processor {"connection_id":144140,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:04:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":144140,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:04:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:04:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:04:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:04:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998904320001,"66":14341,"121":206,"28":31744,"24":37,"16":8917782330605568,"45":1785184701666232320},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 17:04:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:04:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:04:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998904320001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:04:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 17:04:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:04:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8917782330605568,"km_value":8917782330605.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:04:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785184701666232320,"description":"Unknown IO ID 45"} 
[2026-07-27 17:04:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998904320001,"power":14341,"unknown_121":206,"unknown_28":31744,"ignition":37,"odometer":null,"unknown_45":1785184701666232320}} 
[2026-07-27 17:04:10] local.INFO: DEBUG: GPS processor result {"connection_id":144140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554329,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:04:10] local.INFO: GPS data processed {"connection_id":144140,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:04:10] local.INFO: Acknowledgment sent {"connection_id":144140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:04:37] local.INFO: TCP Data received {"connection_id":143000,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:04:37] local.INFO: Processing buffer {"connection_id":143000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:04:37] local.INFO: IMEI packet received {"connection_id":143000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 17:04:37] local.INFO: IMEI acknowledgment sent {"connection_id":143000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:04:42] local.INFO: TCP Data received {"connection_id":143000,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:04:42] local.INFO: Processing buffer {"connection_id":143000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:04:42] local.INFO: IMEI packet received {"connection_id":143000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 17:04:42] local.INFO: IMEI acknowledgment sent {"connection_id":143000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:04:42] local.INFO: TCP Data received {"connection_id":144140,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3596e58012d18cb80072135600043009429..."} 
[2026-07-27 17:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144140,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3596e58012d18cb80072135600043009429..."} 
[2026-07-27 17:04:42] local.INFO: Processing buffer {"connection_id":144140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3596e58012d18cb80072135600043009429..."} 
[2026-07-27 17:04:42] local.INFO: Packet analysis {"connection_id":144140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa359"} 
[2026-07-27 17:04:42] local.INFO: Extracted packet for processing {"connection_id":144140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa359"} 
[2026-07-27 17:04:42] local.INFO: GPS Element Parsed {"raw_longitude":756599680,"raw_latitude":119616864,"longitude_deg":75.659968,"latitude_deg":11.9616864,"altitude":67,"angle":148,"satellites":41,"speed":36,"hex_longitude":"2d18cb80","hex_latitude":"07213560","is_valid_coordinates":true} 
[2026-07-27 17:04:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:04:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998905088001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:04:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8917872524918784,"note":"Value kept but may cause issues"} 
[2026-07-27 17:04:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785677282874742784,"note":"Value kept but may cause issues"} 
[2026-07-27 17:04:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:04:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785151975000,"timestamp_ms":1785151975000,"timestamp_seconds":1785151975,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3596e58"} 
[2026-07-27 17:04:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:04:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:04:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-27 17:04:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6973249789,"note":"Value kept but may cause issues"} 
[2026-07-27 17:04:42] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503735684038656,"note":"Value kept but may cause issues"} 
[2026-07-27 17:04:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":84750938237510017,"note":"Value kept but may cause issues"} 
[2026-07-27 17:04:42] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2740520160,"note":"Value kept but may cause issues"} 
[2026-07-27 17:04:42] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-27 17:04:42] local.WARNING: Large IO value detected {"io_id":43,"raw_value":4026608920,"note":"Value kept but may cause issues"} 
[2026-07-27 17:04:42] local.WARNING: Large IO value detected {"io_id":175,"raw_value":3221692783,"note":"Value kept but may cause issues"} 
[2026-07-27 17:04:42] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2919497728,"note":"Value kept but may cause issues"} 
[2026-07-27 17:04:42] local.WARNING: Large IO value detected {"io_id":104,"raw_value":22236966212871424,"note":"Value kept but may cause issues"} 
[2026-07-27 17:04:42] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,121,28,24,241,158,16,174,159,90,45,64,71,69,42,10,66,83,128,78,70,51,1,240,180,163,33,4,113,205,34,43,175,248,239,55,2,31,7,79,38,206,104],"length":529,"final_offset":659,"validated_count":43,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-07-27 17:04:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4900094691558883328,"timestamp_seconds":4900094691558883.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 17:04:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:04:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:04:42] local.INFO: Teltonika packet parsed successfully {"connection_id":144140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:04:42] local.INFO: Passing IMEI to GPS processor {"connection_id":144140,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:04:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":144140,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:04:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:04:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:04:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:04:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998905088001,"66":14298,"121":206,"28":31744,"24":36,"16":8917872524918784,"45":1785677282874742784},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 17:04:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:04:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:04:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998905088001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:04:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 17:04:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:04:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8917872524918784,"km_value":8917872524918.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:04:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785677282874742784,"description":"Unknown IO ID 45"} 
[2026-07-27 17:04:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998905088001,"power":14298,"unknown_121":206,"unknown_28":31744,"ignition":36,"odometer":null,"unknown_45":1785677282874742784}} 
[2026-07-27 17:04:42] local.INFO: DEBUG: GPS processor result {"connection_id":144140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554330,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:04:42] local.INFO: GPS data processed {"connection_id":144140,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:04:42] local.INFO: Acknowledgment sent {"connection_id":144140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:04:43] local.INFO: TCP Data received {"connection_id":143000,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3592fd8012d9ddec005b93638000e00022b..."} 
[2026-07-27 17:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3592fd8012d9ddec005b93638000e00022b..."} 
[2026-07-27 17:04:43] local.INFO: Processing buffer {"connection_id":143000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3592fd8012d9ddec005b93638000e00022b..."} 
[2026-07-27 17:04:43] local.INFO: Packet analysis {"connection_id":143000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa359"} 
[2026-07-27 17:04:43] local.INFO: Extracted packet for processing {"connection_id":143000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa359"} 
[2026-07-27 17:04:43] local.INFO: GPS Element Parsed {"raw_longitude":765320896,"raw_latitude":96024120,"longitude_deg":76.5320896,"latitude_deg":9.602412,"altitude":14,"angle":2,"satellites":43,"speed":7,"hex_longitude":"2d9ddec0","hex_latitude":"05b93638","is_valid_coordinates":true} 
[2026-07-27 17:04:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:04:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998900224001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:04:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359095021548339200,"note":"Value kept but may cause issues"} 
[2026-07-27 17:04:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7071425446575939584,"note":"Value kept but may cause issues"} 
[2026-07-27 17:04:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:04:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785151959000,"timestamp_ms":1785151959000,"timestamp_seconds":1785151959,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3592fd8"} 
[2026-07-27 17:04:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:04:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-27 17:04:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:04:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:04:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:04:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:04:43] local.INFO: Teltonika packet parsed successfully {"connection_id":143000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:04:43] local.INFO: Passing IMEI to GPS processor {"connection_id":143000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:04:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":143000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:04:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:04:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 17:04:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 17:04:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998900224001,"66":27865,"176":206,"83":16640,"24":7,"16":359095021548339200,"45":-7071425446575939584},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-07-27 17:04:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 17:04:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 17:04:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998900224001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:04:43] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-27 17:04:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":16640,"description":"Unknown IO ID 83"} 
[2026-07-27 17:04:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359095021548339200,"km_value":359095021548339.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:04:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7071425446575939584,"description":"Unknown IO ID 45"} 
[2026-07-27 17:04:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998900224001,"power":27865,"unknown_176":206,"unknown_83":16640,"ignition":7,"odometer":null,"unknown_45":-7071425446575939584}} 
[2026-07-27 17:04:43] local.INFO: DEBUG: GPS processor result {"connection_id":143000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:04:43] local.INFO: GPS data processed {"connection_id":143000,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:04:43] local.INFO: Acknowledgment sent {"connection_id":143000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:04:47] local.INFO: TCP Data received {"connection_id":143000,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fa35937a8012d9ddf0005b93830000d00132a..."} 
[2026-07-27 17:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa35937a8012d9ddf0005b93830000d00132a..."} 
[2026-07-27 17:04:47] local.INFO: Processing buffer {"connection_id":143000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa35937a8012d9ddf0005b93830000d00132a..."} 
[2026-07-27 17:04:47] local.INFO: Packet analysis {"connection_id":143000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa359"} 
[2026-07-27 17:04:47] local.INFO: Extracted packet for processing {"connection_id":143000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa359"} 
[2026-07-27 17:04:47] local.INFO: GPS Element Parsed {"raw_longitude":765320960,"raw_latitude":96024624,"longitude_deg":76.532096,"latitude_deg":9.6024624,"altitude":13,"angle":19,"satellites":42,"speed":13,"hex_longitude":"2d9ddf00","hex_latitude":"05b93830","is_valid_coordinates":true} 
[2026-07-27 17:04:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:04:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998901504001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:04:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359095047318142976,"note":"Value kept but may cause issues"} 
[2026-07-27 17:04:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7071003234110392320,"note":"Value kept but may cause issues"} 
[2026-07-27 17:04:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:04:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785151961000,"timestamp_ms":1785151961000,"timestamp_seconds":1785151961,"priority":1,"record_length":96,"hex_timestamp":"0000019fa35937a8"} 
[2026-07-27 17:04:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:04:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:04:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-27 17:04:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:04:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:04:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:04:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:04:47] local.INFO: Teltonika packet parsed successfully {"connection_id":143000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:04:47] local.INFO: Passing IMEI to GPS processor {"connection_id":143000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:04:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":143000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:04:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:04:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 17:04:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 17:04:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998901504001,"66":27843,"176":206,"83":16640,"24":13,"16":359095047318142976,"45":-7071003234110392320},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-07-27 17:04:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 17:04:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 17:04:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998901504001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:04:47] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-27 17:04:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":16640,"description":"Unknown IO ID 83"} 
[2026-07-27 17:04:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359095047318142976,"km_value":359095047318143.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:04:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7071003234110392320,"description":"Unknown IO ID 45"} 
[2026-07-27 17:04:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998901504001,"power":27843,"unknown_176":206,"unknown_83":16640,"ignition":13,"odometer":null,"unknown_45":-7071003234110392320}} 
[2026-07-27 17:04:47] local.INFO: DEBUG: GPS processor result {"connection_id":143000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:04:47] local.INFO: GPS data processed {"connection_id":143000,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:04:47] local.INFO: Acknowledgment sent {"connection_id":143000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:05:00] local.INFO: TCP Data received {"connection_id":143147,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143147,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:05:00] local.INFO: Processing buffer {"connection_id":143147,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:05:00] local.INFO: IMEI packet received {"connection_id":143147,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 17:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":143147,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:05:00] local.INFO: TCP Data received {"connection_id":143147,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143147,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:05:00] local.INFO: Processing buffer {"connection_id":143147,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:05:00] local.INFO: IMEI packet received {"connection_id":143147,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 17:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":143147,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:05:05] local.INFO: TCP Data received {"connection_id":143147,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143147,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:05:05] local.INFO: Processing buffer {"connection_id":143147,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:05:05] local.INFO: IMEI packet received {"connection_id":143147,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 17:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":143147,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:05:05] local.INFO: TCP Data received {"connection_id":143147,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa35a6470012d1916000720c4b0003600722c..."} 
[2026-07-27 17:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa35a6470012d1916000720c4b0003600722c..."} 
[2026-07-27 17:05:05] local.INFO: Processing buffer {"connection_id":143147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa35a6470012d1916000720c4b0003600722c..."} 
[2026-07-27 17:05:05] local.INFO: Packet analysis {"connection_id":143147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa35a"} 
[2026-07-27 17:05:05] local.INFO: Extracted packet for processing {"connection_id":143147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa35a"} 
[2026-07-27 17:05:05] local.INFO: GPS Element Parsed {"raw_longitude":756618752,"raw_latitude":119588016,"longitude_deg":75.6618752,"latitude_deg":11.9588016,"altitude":54,"angle":114,"satellites":44,"speed":47,"hex_longitude":"2d191600","hex_latitude":"0720c4b0","is_valid_coordinates":true} 
[2026-07-27 17: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-07-27 17:05:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998919680001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:05:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8919650641379328,"note":"Value kept but may cause issues"} 
[2026-07-27 17:05:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1800032506680209408,"note":"Value kept but may cause issues"} 
[2026-07-27 17:05:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:05:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785152038000,"timestamp_ms":1785152038000,"timestamp_seconds":1785152038,"priority":1,"record_length":96,"hex_timestamp":"0000019fa35a6470"} 
[2026-07-27 17:05:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:05:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-07-27 17:05:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17: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-07-27 17:05:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:05:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:05:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:05:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143147,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:05:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143147,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:05:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:05:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:05:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:05:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998919680001,"66":14374,"121":206,"28":31744,"24":47,"16":8919650641379328,"45":1800032506680209408},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 17:05:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:05:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:05:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998919680001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:05:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 17:05:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:05:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8919650641379328,"km_value":8919650641379.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:05:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1800032506680209408,"description":"Unknown IO ID 45"} 
[2026-07-27 17:05:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998919680001,"power":14374,"unknown_121":206,"unknown_28":31744,"ignition":47,"odometer":null,"unknown_45":1800032506680209408}} 
[2026-07-27 17:05:06] local.INFO: DEBUG: GPS processor result {"connection_id":143147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554333,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:05:06] local.INFO: GPS data processed {"connection_id":143147,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:05:06] local.INFO: Acknowledgment sent {"connection_id":143147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:05:31] local.INFO: TCP Data received {"connection_id":144141,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:05:31] local.INFO: Processing buffer {"connection_id":144141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:05:31] local.INFO: IMEI packet received {"connection_id":144141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 17:05:31] local.INFO: IMEI acknowledgment sent {"connection_id":144141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:05:37] local.INFO: TCP Data received {"connection_id":144141,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:05:37] local.INFO: Processing buffer {"connection_id":144141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:05:37] local.INFO: IMEI packet received {"connection_id":144141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 17:05:37] local.INFO: IMEI acknowledgment sent {"connection_id":144141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:05:37] local.INFO: TCP Data received {"connection_id":143147,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa35a83b0012d1938c00720b5480034007d2c..."} 
[2026-07-27 17:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa35a83b0012d1938c00720b5480034007d2c..."} 
[2026-07-27 17:05:37] local.INFO: Processing buffer {"connection_id":143147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa35a83b0012d1938c00720b5480034007d2c..."} 
[2026-07-27 17:05:37] local.INFO: Packet analysis {"connection_id":143147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa35a"} 
[2026-07-27 17:05:37] local.INFO: Extracted packet for processing {"connection_id":143147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa35a"} 
[2026-07-27 17:05:37] local.INFO: GPS Element Parsed {"raw_longitude":756627648,"raw_latitude":119584072,"longitude_deg":75.6627648,"latitude_deg":11.9584072,"altitude":52,"angle":125,"satellites":44,"speed":43,"hex_longitude":"2d1938c0","hex_latitude":"0720b548","is_valid_coordinates":true} 
[2026-07-27 17:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:05:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998921728001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:05:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8920118792814592,"note":"Value kept but may cause issues"} 
[2026-07-27 17:05:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1807632331050364928,"note":"Value kept but may cause issues"} 
[2026-07-27 17:05:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:05:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785152046000,"timestamp_ms":1785152046000,"timestamp_seconds":1785152046,"priority":1,"record_length":96,"hex_timestamp":"0000019fa35a83b0"} 
[2026-07-27 17:05:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:05:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-27 17:05:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:05:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:05:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:05:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:05:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:05:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143147,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:05:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143147,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:05:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:05:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:05:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:05:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998921728001,"66":13287,"121":206,"28":31744,"24":43,"16":8920118792814592,"45":1807632331050364928},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 17:05:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:05:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:05:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998921728001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:05:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 17:05:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:05:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8920118792814592,"km_value":8920118792814.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:05:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1807632331050364928,"description":"Unknown IO ID 45"} 
[2026-07-27 17:05:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998921728001,"power":13287,"unknown_121":206,"unknown_28":31744,"ignition":43,"odometer":null,"unknown_45":1807632331050364928}} 
[2026-07-27 17:05:37] local.INFO: DEBUG: GPS processor result {"connection_id":143147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554334,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:05:37] local.INFO: GPS data processed {"connection_id":143147,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:05:37] local.INFO: Acknowledgment sent {"connection_id":143147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:05:38] local.INFO: TCP Data received {"connection_id":144141,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3594360012d9de04005b93d30000e000627..."} 
[2026-07-27 17:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144141,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3594360012d9de04005b93d30000e000627..."} 
[2026-07-27 17:05:38] local.INFO: Processing buffer {"connection_id":144141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3594360012d9de04005b93d30000e000627..."} 
[2026-07-27 17:05:38] local.INFO: Packet analysis {"connection_id":144141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa359"} 
[2026-07-27 17:05:38] local.INFO: Extracted packet for processing {"connection_id":144141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa359"} 
[2026-07-27 17:05:38] local.INFO: GPS Element Parsed {"raw_longitude":765321280,"raw_latitude":96025904,"longitude_deg":76.532128,"latitude_deg":9.6025904,"altitude":14,"angle":6,"satellites":39,"speed":21,"hex_longitude":"2d9de040","hex_latitude":"05b93d30","is_valid_coordinates":true} 
[2026-07-27 17:05:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:05:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998902016001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:05:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359095107447685120,"note":"Value kept but may cause issues"} 
[2026-07-27 17:05:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7070932865366085632,"note":"Value kept but may cause issues"} 
[2026-07-27 17:05:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:05:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785151964000,"timestamp_ms":1785151964000,"timestamp_seconds":1785151964,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3594360"} 
[2026-07-27 17:05:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:05:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:05:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-27 17:05:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:05:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:05:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:05:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:05:38] local.INFO: Teltonika packet parsed successfully {"connection_id":144141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:05:38] local.INFO: Passing IMEI to GPS processor {"connection_id":144141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:05:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":144141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:05:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:05:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 17:05:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 17:05:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998902016001,"66":27974,"176":206,"83":16640,"24":21,"16":359095107447685120,"45":-7070932865366085632},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-07-27 17:05:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 17:05:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 17:05:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998902016001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:05:38] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-27 17:05:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":16640,"description":"Unknown IO ID 83"} 
[2026-07-27 17:05:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359095107447685120,"km_value":359095107447685.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:05:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7070932865366085632,"description":"Unknown IO ID 45"} 
[2026-07-27 17:05:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998902016001,"power":27974,"unknown_176":206,"unknown_83":16640,"ignition":21,"odometer":null,"unknown_45":-7070932865366085632}} 
[2026-07-27 17:05:38] local.INFO: DEBUG: GPS processor result {"connection_id":144141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:05:38] local.INFO: GPS data processed {"connection_id":144141,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:05:38] local.INFO: Acknowledgment sent {"connection_id":144141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:06:00] local.INFO: TCP Data received {"connection_id":144142,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144142,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:06:00] local.INFO: Processing buffer {"connection_id":144142,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:06:00] local.INFO: IMEI packet received {"connection_id":144142,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 17:06:00] local.INFO: IMEI acknowledgment sent {"connection_id":144142,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:06:05] local.INFO: TCP Data received {"connection_id":144142,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144142,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:06:05] local.INFO: Processing buffer {"connection_id":144142,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:06:05] local.INFO: IMEI packet received {"connection_id":144142,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 17:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":144142,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:06:08] local.INFO: TCP Data received {"connection_id":144142,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144142,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:06:08] local.INFO: Processing buffer {"connection_id":144142,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:06:08] local.INFO: IMEI packet received {"connection_id":144142,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 17:06:08] local.INFO: IMEI acknowledgment sent {"connection_id":144142,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:06:09] local.INFO: TCP Data received {"connection_id":144142,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa35b9908012d19bb000720a778003701582c..."} 
[2026-07-27 17:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa35b9908012d19bb000720a778003701582c..."} 
[2026-07-27 17:06:09] local.INFO: Processing buffer {"connection_id":144142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa35b9908012d19bb000720a778003701582c..."} 
[2026-07-27 17:06:09] local.INFO: Packet analysis {"connection_id":144142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa35b"} 
[2026-07-27 17:06:09] local.INFO: Extracted packet for processing {"connection_id":144142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa35b"} 
[2026-07-27 17:06:09] local.INFO: GPS Element Parsed {"raw_longitude":756660992,"raw_latitude":119580536,"longitude_deg":75.6660992,"latitude_deg":11.9580536,"altitude":55,"angle":344,"satellites":44,"speed":9,"hex_longitude":"2d19bb00","hex_latitude":"0720a778","is_valid_coordinates":true} 
[2026-07-27 17:06:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:06:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998941696001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:06:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8921853959602176,"note":"Value kept but may cause issues"} 
[2026-07-27 17:06:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854146070949834752,"note":"Value kept but may cause issues"} 
[2026-07-27 17:06:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:06:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785152117000,"timestamp_ms":1785152117000,"timestamp_seconds":1785152117,"priority":1,"record_length":96,"hex_timestamp":"0000019fa35b9908"} 
[2026-07-27 17:06:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:06:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17: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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-27 17:06:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3454499072,"note":"Value kept but may cause issues"} 
[2026-07-27 17:06:09] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2740633160,"note":"Value kept but may cause issues"} 
[2026-07-27 17:06:09] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2969567290,"note":"Value kept but may cause issues"} 
[2026-07-27 17:06:09] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-27 17:06:09] local.WARNING: Large IO value detected {"io_id":221,"raw_value":2281778457,"note":"Value kept but may cause issues"} 
[2026-07-27 17:06:09] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2982084608,"note":"Value kept but may cause issues"} 
[2026-07-27 17:06:09] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,121,28,24,241,158,16,178,159,102,45,167,54,41,10,66,20,169,42,4,192,1,240,163,32,113,205,221,139,40,239,56,2,31,7,37],"length":479,"final_offset":609,"validated_count":36,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-07-27 17:06:09] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3963507610157973504,"timestamp_seconds":3963507610157973.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 17:06:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:06:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:06:09] local.INFO: Teltonika packet parsed successfully {"connection_id":144142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:06:09] local.INFO: Passing IMEI to GPS processor {"connection_id":144142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:06:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":144142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:06:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:06:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:06:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:06:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998941696001,"66":14080,"121":206,"28":31744,"24":9,"16":8921853959602176,"45":1854146070949834752},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 17:06:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:06:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:06:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998941696001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:06:09] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 17:06:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:06:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8921853959602176,"km_value":8921853959602.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:06:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854146070949834752,"description":"Unknown IO ID 45"} 
[2026-07-27 17:06:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998941696001,"power":14080,"unknown_121":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1854146070949834752}} 
[2026-07-27 17:06:09] local.INFO: DEBUG: GPS processor result {"connection_id":144142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554336,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:06:09] local.INFO: GPS data processed {"connection_id":144142,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:06:09] local.INFO: Acknowledgment sent {"connection_id":144142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:06:09] local.INFO: TCP Data received {"connection_id":144141,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fa35b75e0012d9e10c005ba7270000d000d2b..."} 
[2026-07-27 17:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144141,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa35b75e0012d9e10c005ba7270000d000d2b..."} 
[2026-07-27 17:06:09] local.INFO: Processing buffer {"connection_id":144141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa35b75e0012d9e10c005ba7270000d000d2b..."} 
[2026-07-27 17:06:09] local.INFO: Packet analysis {"connection_id":144141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa35b"} 
[2026-07-27 17:06:09] local.INFO: Extracted packet for processing {"connection_id":144141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa35b"} 
[2026-07-27 17:06:09] local.INFO: GPS Element Parsed {"raw_longitude":765333696,"raw_latitude":96105072,"longitude_deg":76.5333696,"latitude_deg":9.6105072,"altitude":13,"angle":13,"satellites":43,"speed":40,"hex_longitude":"2d9e10c0","hex_latitude":"05ba7270","is_valid_coordinates":true} 
[2026-07-27 17:06:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:06:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998938624001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:06:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359099166191779840,"note":"Value kept but may cause issues"} 
[2026-07-27 17:06:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7058336860138606592,"note":"Value kept but may cause issues"} 
[2026-07-27 17:06:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:06:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785152108000,"timestamp_ms":1785152108000,"timestamp_seconds":1785152108,"priority":1,"record_length":96,"hex_timestamp":"0000019fa35b75e0"} 
[2026-07-27 17:06:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:06:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-27 17:06:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:06:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:06:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:06:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:06:09] local.INFO: Teltonika packet parsed successfully {"connection_id":144141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:06:09] local.INFO: Passing IMEI to GPS processor {"connection_id":144141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:06:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":144141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:06:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:06:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 17:06:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 17:06:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998938624001,"66":27865,"206":206,"83":16640,"24":40,"16":359099166191779840,"45":-7058336860138606592},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,83,24,16,45]} 
[2026-07-27 17:06:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 17:06:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 17:06:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998938624001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:06:09] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-07-27 17:06:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":16640,"description":"Unknown IO ID 83"} 
[2026-07-27 17:06:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359099166191779840,"km_value":359099166191779.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:06:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7058336860138606592,"description":"Unknown IO ID 45"} 
[2026-07-27 17:06:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998938624001,"power":27865,"unknown_206":206,"unknown_83":16640,"ignition":40,"odometer":null,"unknown_45":-7058336860138606592}} 
[2026-07-27 17:06:09] local.INFO: DEBUG: GPS processor result {"connection_id":144141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:06:09] local.INFO: GPS data processed {"connection_id":144141,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:06:09] local.INFO: Acknowledgment sent {"connection_id":144141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:06:10] local.INFO: TCP Data received {"connection_id":144142,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa35ba0d8012d19ba000720a928003701402b..."} 
[2026-07-27 17:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa35ba0d8012d19ba000720a928003701402b..."} 
[2026-07-27 17:06:10] local.INFO: Processing buffer {"connection_id":144142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa35ba0d8012d19ba000720a928003701402b..."} 
[2026-07-27 17:06:10] local.INFO: Packet analysis {"connection_id":144142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa35b"} 
[2026-07-27 17:06:10] local.INFO: Extracted packet for processing {"connection_id":144142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa35b"} 
[2026-07-27 17:06:10] local.INFO: GPS Element Parsed {"raw_longitude":756660736,"raw_latitude":119580968,"longitude_deg":75.6660736,"latitude_deg":11.9580968,"altitude":55,"angle":320,"satellites":43,"speed":10,"hex_longitude":"2d19ba00","hex_latitude":"0720a928","is_valid_coordinates":true} 
[2026-07-27 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-07-27 17:06:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998941952001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:06:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8921875434438656,"note":"Value kept but may cause issues"} 
[2026-07-27 17:06:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854075702205708288,"note":"Value kept but may cause issues"} 
[2026-07-27 17:06:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:06:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785152119000,"timestamp_ms":1785152119000,"timestamp_seconds":1785152119,"priority":1,"record_length":96,"hex_timestamp":"0000019fa35ba0d8"} 
[2026-07-27 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-07-27 17:06:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-27 17:06:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3454499072,"note":"Value kept but may cause issues"} 
[2026-07-27 17:06:10] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2740641160,"note":"Value kept but may cause issues"} 
[2026-07-27 17:06:10] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2930769976,"note":"Value kept but may cause issues"} 
[2026-07-27 17:06:10] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-27 17:06:10] local.WARNING: Large IO value detected {"io_id":252,"raw_value":3355520281,"note":"Value kept but may cause issues"} 
[2026-07-27 17:06:10] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2987851776,"note":"Value kept but may cause issues"} 
[2026-07-27 17:06:10] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,121,28,24,241,158,16,178,159,149,45,64,166,55,44,10,66,102,167,54,41,20,1,240,27,163,32,4,113,205,38,252,170,42,239,56,2,31,7,58,35],"length":479,"final_offset":609,"validated_count":41,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-07-27 17:06:10] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3963546093065142272,"timestamp_seconds":3963546093065142.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 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-07-27 17:06:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:06:10] local.INFO: Teltonika packet parsed successfully {"connection_id":144142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:06:10] local.INFO: Passing IMEI to GPS processor {"connection_id":144142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:06:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":144142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:06:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:06:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:06:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:06:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998941952001,"66":14102,"121":206,"28":31744,"24":10,"16":8921875434438656,"45":1854075702205708288},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 17:06:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:06:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:06:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998941952001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:06:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 17:06:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:06:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8921875434438656,"km_value":8921875434438.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:06:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854075702205708288,"description":"Unknown IO ID 45"} 
[2026-07-27 17:06:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998941952001,"power":14102,"unknown_121":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1854075702205708288}} 
[2026-07-27 17:06:10] local.INFO: DEBUG: GPS processor result {"connection_id":144142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554338,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:06:10] local.INFO: GPS data processed {"connection_id":144142,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:06:10] local.INFO: Acknowledgment sent {"connection_id":144142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:06:41] local.INFO: TCP Data received {"connection_id":143148,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:06:41] local.INFO: Processing buffer {"connection_id":143148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:06:41] local.INFO: IMEI packet received {"connection_id":143148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 17:06:41] local.INFO: IMEI acknowledgment sent {"connection_id":143148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:06:41] local.INFO: TCP Data received {"connection_id":144142,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa35ba4c0012d19b9400720a9d8003701322b..."} 
[2026-07-27 17:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa35ba4c0012d19b9400720a9d8003701322b..."} 
[2026-07-27 17:06:41] local.INFO: Processing buffer {"connection_id":144142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa35ba4c0012d19b9400720a9d8003701322b..."} 
[2026-07-27 17:06:41] local.INFO: Packet analysis {"connection_id":144142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa35b"} 
[2026-07-27 17:06:41] local.INFO: Extracted packet for processing {"connection_id":144142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa35b"} 
[2026-07-27 17:06:41] local.INFO: GPS Element Parsed {"raw_longitude":756660544,"raw_latitude":119581144,"longitude_deg":75.6660544,"latitude_deg":11.9581144,"altitude":55,"angle":306,"satellites":43,"speed":11,"hex_longitude":"2d19b940","hex_latitude":"0720a9d8","is_valid_coordinates":true} 
[2026-07-27 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-07-27 17:06:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998942464001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:06:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8921892614307840,"note":"Value kept but may cause issues"} 
[2026-07-27 17:06:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853794227229108224,"note":"Value kept but may cause issues"} 
[2026-07-27 17:06:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:06:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785152120000,"timestamp_ms":1785152120000,"timestamp_seconds":1785152120,"priority":1,"record_length":96,"hex_timestamp":"0000019fa35ba4c0"} 
[2026-07-27 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-07-27 17:06:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-27 17:06:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 17:06:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:06:41] local.INFO: Teltonika packet parsed successfully {"connection_id":144142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:06:41] local.INFO: Passing IMEI to GPS processor {"connection_id":144142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:06:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":144142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:06:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:06:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:06:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:06:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998942464001,"66":14026,"121":206,"28":31744,"24":11,"16":8921892614307840,"45":1853794227229108224},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 17:06:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:06:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:06:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998942464001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:06:41] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 17:06:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:06:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8921892614307840,"km_value":8921892614307.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:06:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853794227229108224,"description":"Unknown IO ID 45"} 
[2026-07-27 17:06:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998942464001,"power":14026,"unknown_121":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1853794227229108224}} 
[2026-07-27 17:06:41] local.INFO: DEBUG: GPS processor result {"connection_id":144142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554339,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:06:41] local.INFO: GPS data processed {"connection_id":144142,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:06:41] local.INFO: Acknowledgment sent {"connection_id":144142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:06:46] local.INFO: TCP Data received {"connection_id":143148,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:06:46] local.INFO: Processing buffer {"connection_id":143148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:06:46] local.INFO: IMEI packet received {"connection_id":143148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 17:06:46] local.INFO: IMEI acknowledgment sent {"connection_id":143148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:06:46] local.INFO: TCP Data received {"connection_id":143148,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fa35b8580012d9e130005ba80c0000c00012a..."} 
[2026-07-27 17:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143148,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa35b8580012d9e130005ba80c0000c00012a..."} 
[2026-07-27 17:06:46] local.INFO: Processing buffer {"connection_id":143148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa35b8580012d9e130005ba80c0000c00012a..."} 
[2026-07-27 17:06:46] local.INFO: Packet analysis {"connection_id":143148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa35b"} 
[2026-07-27 17:06:46] local.INFO: Extracted packet for processing {"connection_id":143148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa35b"} 
[2026-07-27 17:06:46] local.INFO: GPS Element Parsed {"raw_longitude":765334272,"raw_latitude":96108736,"longitude_deg":76.5334272,"latitude_deg":9.6108736,"altitude":12,"angle":1,"satellites":42,"speed":30,"hex_longitude":"2d9e1300","hex_latitude":"05ba80c0","is_valid_coordinates":true} 
[2026-07-27 17:06:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:06:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998939648001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:06:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359099342285438976,"note":"Value kept but may cause issues"} 
[2026-07-27 17:06:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7056929485254135808,"note":"Value kept but may cause issues"} 
[2026-07-27 17:06:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:06:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785152112000,"timestamp_ms":1785152112000,"timestamp_seconds":1785152112,"priority":1,"record_length":96,"hex_timestamp":"0000019fa35b8580"} 
[2026-07-27 17:06:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:06:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:06:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-27 17:06:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:06:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:06:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:06:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:06:46] local.INFO: Teltonika packet parsed successfully {"connection_id":143148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:06:46] local.INFO: Passing IMEI to GPS processor {"connection_id":143148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:06:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":143148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:06:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:06:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 17:06:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 17:06:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998939648001,"66":27865,"206":206,"83":16640,"24":30,"16":359099342285438976,"45":-7056929485254135808},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,83,24,16,45]} 
[2026-07-27 17:06:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 17:06:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 17:06:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998939648001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:06:46] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-07-27 17:06:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":16640,"description":"Unknown IO ID 83"} 
[2026-07-27 17:06:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359099342285438976,"km_value":359099342285439.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:06:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7056929485254135808,"description":"Unknown IO ID 45"} 
[2026-07-27 17:06:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998939648001,"power":27865,"unknown_206":206,"unknown_83":16640,"ignition":30,"odometer":null,"unknown_45":-7056929485254135808}} 
[2026-07-27 17:06:47] local.INFO: DEBUG: GPS processor result {"connection_id":143148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:06:47] local.INFO: GPS data processed {"connection_id":143148,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:06:47] local.INFO: Acknowledgment sent {"connection_id":143148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:06:59] local.INFO: TCP Data received {"connection_id":144143,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144143,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:06:59] local.INFO: Processing buffer {"connection_id":144143,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:06:59] local.INFO: IMEI packet received {"connection_id":144143,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 17:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":144143,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:07:08] local.INFO: TCP Data received {"connection_id":144143,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144143,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:07:08] local.INFO: Processing buffer {"connection_id":144143,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:07:08] local.INFO: IMEI packet received {"connection_id":144143,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 17:07:08] local.INFO: IMEI acknowledgment sent {"connection_id":144143,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:07:10] local.INFO: TCP Data received {"connection_id":144143,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa35bac90012d19b6800720ab38003601262d..."} 
[2026-07-27 17:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144143,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa35bac90012d19b6800720ab38003601262d..."} 
[2026-07-27 17:07:10] local.INFO: Processing buffer {"connection_id":144143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa35bac90012d19b6800720ab38003601262d..."} 
[2026-07-27 17:07:10] local.INFO: Packet analysis {"connection_id":144143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa35b"} 
[2026-07-27 17:07:10] local.INFO: Extracted packet for processing {"connection_id":144143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa35b"} 
[2026-07-27 17:07:10] local.INFO: GPS Element Parsed {"raw_longitude":756659840,"raw_latitude":119581496,"longitude_deg":75.665984,"latitude_deg":11.9581496,"altitude":54,"angle":294,"satellites":45,"speed":17,"hex_longitude":"2d19b680","hex_latitude":"0720ab38","is_valid_coordinates":true} 
[2026-07-27 17:07:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:07:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998942720001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:07:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8921926974046208,"note":"Value kept but may cause issues"} 
[2026-07-27 17:07:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853583120996620288,"note":"Value kept but may cause issues"} 
[2026-07-27 17:07:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:07:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785152122000,"timestamp_ms":1785152122000,"timestamp_seconds":1785152122,"priority":1,"record_length":96,"hex_timestamp":"0000019fa35bac90"} 
[2026-07-27 17:07:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:07:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17: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":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-07-27 17:07:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2286,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:07:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:07:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:07:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:07:10] local.INFO: Teltonika packet parsed successfully {"connection_id":144143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:07:10] local.INFO: Passing IMEI to GPS processor {"connection_id":144143,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:07:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":144143,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:07:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:07:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:07:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:07:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998942720001,"66":14026,"121":206,"28":31744,"24":17,"16":8921926974046208,"45":1853583120996620288},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 17:07:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:07:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:07:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998942720001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:07:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 17:07:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:07:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8921926974046208,"km_value":8921926974046.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:07:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853583120996620288,"description":"Unknown IO ID 45"} 
[2026-07-27 17:07:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998942720001,"power":14026,"unknown_121":206,"unknown_28":31744,"ignition":17,"odometer":null,"unknown_45":1853583120996620288}} 
[2026-07-27 17:07:10] local.INFO: DEBUG: GPS processor result {"connection_id":144143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554341,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:07:10] local.INFO: GPS data processed {"connection_id":144143,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:07:10] local.INFO: Acknowledgment sent {"connection_id":144143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:07:42] local.INFO: TCP Data received {"connection_id":144143,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa35bc7e8012d19a8c00720aff0003901172d..."} 
[2026-07-27 17:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144143,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa35bc7e8012d19a8c00720aff0003901172d..."} 
[2026-07-27 17:07:42] local.INFO: Processing buffer {"connection_id":144143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa35bc7e8012d19a8c00720aff0003901172d..."} 
[2026-07-27 17:07:42] local.INFO: Packet analysis {"connection_id":144143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa35b"} 
[2026-07-27 17:07:42] local.INFO: Extracted packet for processing {"connection_id":144143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa35b"} 
[2026-07-27 17:07:42] local.INFO: GPS Element Parsed {"raw_longitude":756656320,"raw_latitude":119582704,"longitude_deg":75.665632,"latitude_deg":11.9582704,"altitude":57,"angle":279,"satellites":45,"speed":24,"hex_longitude":"2d19a8c0","hex_latitude":"0720aff0","is_valid_coordinates":true} 
[2026-07-27 17:07:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:07:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998943232001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:07:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8922103067705344,"note":"Value kept but may cause issues"} 
[2026-07-27 17:07:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1852809064810756096,"note":"Value kept but may cause issues"} 
[2026-07-27 17:07:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:07:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785152129000,"timestamp_ms":1785152129000,"timestamp_seconds":1785152129,"priority":1,"record_length":96,"hex_timestamp":"0000019fa35bc7e8"} 
[2026-07-27 17:07:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:07:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17: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":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-07-27 17:07:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2286,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:07:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:07:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:07:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:07:42] local.INFO: Teltonika packet parsed successfully {"connection_id":144143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:07:42] local.INFO: Passing IMEI to GPS processor {"connection_id":144143,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:07:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":144143,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:07:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:07:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:07:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:07:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998943232001,"66":14004,"121":206,"28":31744,"24":24,"16":8922103067705344,"45":1852809064810756096},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 17:07:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:07:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:07:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998943232001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:07:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 17:07:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:07:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8922103067705344,"km_value":8922103067705.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:07:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1852809064810756096,"description":"Unknown IO ID 45"} 
[2026-07-27 17:07:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998943232001,"power":14004,"unknown_121":206,"unknown_28":31744,"ignition":24,"odometer":null,"unknown_45":1852809064810756096}} 
[2026-07-27 17:07:43] local.INFO: DEBUG: GPS processor result {"connection_id":144143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554342,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:07:43] local.INFO: GPS data processed {"connection_id":144143,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:07:43] local.INFO: Acknowledgment sent {"connection_id":144143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:07:43] local.INFO: TCP Data received {"connection_id":143001,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:07:43] local.INFO: Processing buffer {"connection_id":143001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:07:43] local.INFO: IMEI packet received {"connection_id":143001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 17:07:43] local.INFO: IMEI acknowledgment sent {"connection_id":143001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:07:47] local.INFO: TCP Data received {"connection_id":143001,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:07:47] local.INFO: Processing buffer {"connection_id":143001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:07:47] local.INFO: IMEI packet received {"connection_id":143001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 17:07:47] local.INFO: IMEI acknowledgment sent {"connection_id":143001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:07:52] local.INFO: TCP Data received {"connection_id":143001,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:07:52] local.INFO: Processing buffer {"connection_id":143001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:07:52] local.INFO: IMEI packet received {"connection_id":143001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 17:07:52] local.INFO: IMEI acknowledgment sent {"connection_id":143001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:07:53] local.INFO: TCP Data received {"connection_id":143001,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fa35d2390012d9e148005bbc0f00010001a2a..."} 
[2026-07-27 17:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143001,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa35d2390012d9e148005bbc0f00010001a2a..."} 
[2026-07-27 17:07:53] local.INFO: Processing buffer {"connection_id":143001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa35d2390012d9e148005bbc0f00010001a2a..."} 
[2026-07-27 17:07:53] local.INFO: Packet analysis {"connection_id":143001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa35d"} 
[2026-07-27 17:07:53] local.INFO: Extracted packet for processing {"connection_id":143001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa35d"} 
[2026-07-27 17:07:53] local.INFO: GPS Element Parsed {"raw_longitude":765334656,"raw_latitude":96190704,"longitude_deg":76.5334656,"latitude_deg":9.6190704,"altitude":16,"angle":26,"satellites":42,"speed":48,"hex_longitude":"2d9e1480","hex_latitude":"05bbc0f0","is_valid_coordinates":true} 
[2026-07-27 17:07:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:07:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998965504001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:07:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359103529878552576,"note":"Value kept but may cause issues"} 
[2026-07-27 17:07:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7060659028675938304,"note":"Value kept but may cause issues"} 
[2026-07-27 17:07:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:07:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785152218000,"timestamp_ms":1785152218000,"timestamp_seconds":1785152218,"priority":1,"record_length":96,"hex_timestamp":"0000019fa35d2390"} 
[2026-07-27 17:07:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:07:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:07:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-27 17:07:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:07:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:07:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:07:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:07:53] local.INFO: Teltonika packet parsed successfully {"connection_id":143001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:07:53] local.INFO: Passing IMEI to GPS processor {"connection_id":143001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:07:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":143001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:07:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:07:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 17:07:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 17:07:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998965504001,"66":27995,"223":206,"83":16640,"24":48,"16":359103529878552576,"45":-7060659028675938304},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,83,24,16,45]} 
[2026-07-27 17:07:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 17:07:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 17:07:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998965504001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:07:53] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-07-27 17:07:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":16640,"description":"Unknown IO ID 83"} 
[2026-07-27 17:07:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359103529878552576,"km_value":359103529878552.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:07:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7060659028675938304,"description":"Unknown IO ID 45"} 
[2026-07-27 17:07:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998965504001,"power":27995,"unknown_223":206,"unknown_83":16640,"ignition":48,"odometer":null,"unknown_45":-7060659028675938304}} 
[2026-07-27 17:07:53] local.INFO: DEBUG: GPS processor result {"connection_id":143001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:07:53] local.INFO: GPS data processed {"connection_id":143001,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:07:53] local.INFO: Acknowledgment sent {"connection_id":143001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:07:54] local.INFO: TCP Data received {"connection_id":143001,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fa35d3ee8012d9e24c005bbdfd00010001a2b..."} 
[2026-07-27 17:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143001,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa35d3ee8012d9e24c005bbdfd00010001a2b..."} 
[2026-07-27 17:07:54] local.INFO: Processing buffer {"connection_id":143001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa35d3ee8012d9e24c005bbdfd00010001a2b..."} 
[2026-07-27 17:07:54] local.INFO: Packet analysis {"connection_id":143001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa35d"} 
[2026-07-27 17:07:54] local.INFO: Extracted packet for processing {"connection_id":143001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa35d"} 
[2026-07-27 17:07:54] local.INFO: GPS Element Parsed {"raw_longitude":765338816,"raw_latitude":96198608,"longitude_deg":76.5338816,"latitude_deg":9.6198608,"altitude":16,"angle":26,"satellites":43,"speed":52,"hex_longitude":"2d9e24c0","hex_latitude":"05bbdfd0","is_valid_coordinates":true} 
[2026-07-27 17: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-07-27 17:07:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998967808001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:07:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359103963670249472,"note":"Value kept but may cause issues"} 
[2026-07-27 17:07:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7055873954069549056,"note":"Value kept but may cause issues"} 
[2026-07-27 17:07:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:07:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785152225000,"timestamp_ms":1785152225000,"timestamp_seconds":1785152225,"priority":1,"record_length":96,"hex_timestamp":"0000019fa35d3ee8"} 
[2026-07-27 17:07:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:07:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:07:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-27 17:07:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17: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-07-27 17:07:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:07:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:07:54] local.INFO: Teltonika packet parsed successfully {"connection_id":143001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:07:54] local.INFO: Passing IMEI to GPS processor {"connection_id":143001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:07:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":143001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:07:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:07:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 17:07:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 17:07:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998967808001,"66":27865,"232":206,"83":16640,"24":52,"16":359103963670249472,"45":-7055873954069549056},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-07-27 17:07:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 17:07:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 17:07:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998967808001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:07:54] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-07-27 17:07:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":16640,"description":"Unknown IO ID 83"} 
[2026-07-27 17:07:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359103963670249472,"km_value":359103963670249.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:07:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7055873954069549056,"description":"Unknown IO ID 45"} 
[2026-07-27 17:07:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998967808001,"power":27865,"unknown_232":206,"unknown_83":16640,"ignition":52,"odometer":null,"unknown_45":-7055873954069549056}} 
[2026-07-27 17:07:54] local.INFO: DEBUG: GPS processor result {"connection_id":143001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:07:54] local.INFO: GPS data processed {"connection_id":143001,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:07:54] local.INFO: Acknowledgment sent {"connection_id":143001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:07:56] local.INFO: TCP Data received {"connection_id":144144,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144144,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:07:56] local.INFO: Processing buffer {"connection_id":144144,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:07:56] local.INFO: IMEI packet received {"connection_id":144144,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 17:07:56] local.INFO: IMEI acknowledgment sent {"connection_id":144144,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:07:58] local.INFO: TCP Data received {"connection_id":144144,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144144,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:07:58] local.INFO: Processing buffer {"connection_id":144144,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:07:58] local.INFO: IMEI packet received {"connection_id":144144,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 17:07:58] local.INFO: IMEI acknowledgment sent {"connection_id":144144,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:07:59] local.INFO: TCP Data received {"connection_id":144144,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144144,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:07:59] local.INFO: Processing buffer {"connection_id":144144,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:07:59] local.INFO: IMEI packet received {"connection_id":144144,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 17:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":144144,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:08:05] local.INFO: TCP Data received {"connection_id":144144,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144144,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:08:05] local.INFO: Processing buffer {"connection_id":144144,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:08:05] local.INFO: IMEI packet received {"connection_id":144144,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 17:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":144144,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:08:06] local.INFO: TCP Data received {"connection_id":144144,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa35c19f0012d1991400720b2f0003c01142b..."} 
[2026-07-27 17:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa35c19f0012d1991400720b2f0003c01142b..."} 
[2026-07-27 17:08:06] local.INFO: Processing buffer {"connection_id":144144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa35c19f0012d1991400720b2f0003c01142b..."} 
[2026-07-27 17:08:06] local.INFO: Packet analysis {"connection_id":144144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa35c"} 
[2026-07-27 17:08:06] local.INFO: Extracted packet for processing {"connection_id":144144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa35c"} 
[2026-07-27 17:08:06] local.INFO: GPS Element Parsed {"raw_longitude":756650304,"raw_latitude":119583472,"longitude_deg":75.6650304,"latitude_deg":11.9583472,"altitude":60,"angle":276,"satellites":43,"speed":0,"hex_longitude":"2d199140","hex_latitude":"0720b2f0","is_valid_coordinates":true} 
[2026-07-27 17:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:08:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998945024001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:08:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8922395125481472,"note":"Value kept but may cause issues"} 
[2026-07-27 17:08:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1848938783881293824,"note":"Value kept but may cause issues"} 
[2026-07-27 17:08:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:08:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785152150000,"timestamp_ms":1785152150000,"timestamp_seconds":1785152150,"priority":1,"record_length":96,"hex_timestamp":"0000019fa35c19f0"} 
[2026-07-27 17:08:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:08:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-07-27 17:08:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:08:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:08:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:08:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:08:06] local.INFO: Teltonika packet parsed successfully {"connection_id":144144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:08:06] local.INFO: Passing IMEI to GPS processor {"connection_id":144144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:08:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":144144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:08:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:08:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:08:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:08:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998945024001,"66":14374,"121":206,"28":31744,"24":0,"16":8922395125481472,"45":1848938783881293824},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 17:08:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:08:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:08:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998945024001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:08:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 17:08:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:08:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8922395125481472,"km_value":8922395125481.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:08:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1848938783881293824,"description":"Unknown IO ID 45"} 
[2026-07-27 17:08:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998945024001,"power":14374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1848938783881293824}} 
[2026-07-27 17:08:06] local.INFO: DEBUG: GPS processor result {"connection_id":144144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554345,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:08:06] local.INFO: GPS data processed {"connection_id":144144,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:08:06] local.INFO: Acknowledgment sent {"connection_id":144144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:08:28] local.INFO: TCP Data received {"connection_id":143002,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:08:28] local.INFO: Processing buffer {"connection_id":143002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:08:28] local.INFO: IMEI packet received {"connection_id":143002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 17:08:28] local.INFO: IMEI acknowledgment sent {"connection_id":143002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:08:30] local.INFO: TCP Data received {"connection_id":143002,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:08:30] local.INFO: Processing buffer {"connection_id":143002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:08:30] local.INFO: IMEI packet received {"connection_id":143002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 17:08:30] local.INFO: IMEI acknowledgment sent {"connection_id":143002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:08:32] local.INFO: TCP Data received {"connection_id":143002,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:08:32] local.INFO: Processing buffer {"connection_id":143002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:08:32] local.INFO: IMEI packet received {"connection_id":143002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 17:08:32] local.INFO: IMEI acknowledgment sent {"connection_id":143002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:08:32] local.INFO: TCP Data received {"connection_id":143002,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:08:32] local.INFO: Processing buffer {"connection_id":143002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:08:32] local.INFO: IMEI packet received {"connection_id":143002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 17:08:32] local.INFO: IMEI acknowledgment sent {"connection_id":143002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:08:38] local.INFO: TCP Data received {"connection_id":144144,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa35dac48012d18d7800720fdc0004101442c..."} 
[2026-07-27 17:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa35dac48012d18d7800720fdc0004101442c..."} 
[2026-07-27 17:08:38] local.INFO: Processing buffer {"connection_id":144144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa35dac48012d18d7800720fdc0004101442c..."} 
[2026-07-27 17:08:38] local.INFO: Packet analysis {"connection_id":144144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa35d"} 
[2026-07-27 17:08:38] local.INFO: Extracted packet for processing {"connection_id":144144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa35d"} 
[2026-07-27 17:08:38] local.INFO: GPS Element Parsed {"raw_longitude":756602752,"raw_latitude":119602624,"longitude_deg":75.6602752,"latitude_deg":11.9602624,"altitude":65,"angle":324,"satellites":44,"speed":28,"hex_longitude":"2d18d780","hex_latitude":"0720fdc0","is_valid_coordinates":true} 
[2026-07-27 17:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:08:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998976256001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:08:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8925040825335808,"note":"Value kept but may cause issues"} 
[2026-07-27 17:08:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1791236413660426240,"note":"Value kept but may cause issues"} 
[2026-07-27 17:08:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:08:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785152253000,"timestamp_ms":1785152253000,"timestamp_seconds":1785152253,"priority":1,"record_length":96,"hex_timestamp":"0000019fa35dac48"} 
[2026-07-27 17:08:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:08:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-27 17:08:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:08:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:08:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:08:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:08:38] local.INFO: Teltonika packet parsed successfully {"connection_id":144144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:08:38] local.INFO: Passing IMEI to GPS processor {"connection_id":144144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:08:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":144144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:08:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:08:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:08:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:08:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998976256001,"66":14298,"121":206,"28":31744,"24":28,"16":8925040825335808,"45":1791236413660426240},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 17:08:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:08:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:08:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998976256001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:08:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 17:08:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:08:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8925040825335808,"km_value":8925040825335.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:08:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1791236413660426240,"description":"Unknown IO ID 45"} 
[2026-07-27 17:08:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998976256001,"power":14298,"unknown_121":206,"unknown_28":31744,"ignition":28,"odometer":null,"unknown_45":1791236413660426240}} 
[2026-07-27 17:08:38] local.INFO: DEBUG: GPS processor result {"connection_id":144144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554346,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:08:38] local.INFO: GPS data processed {"connection_id":144144,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:08:38] local.INFO: Acknowledgment sent {"connection_id":144144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:08:58] local.INFO: TCP Data received {"connection_id":143149,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143149,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:08:58] local.INFO: Processing buffer {"connection_id":143149,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:08:58] local.INFO: IMEI packet received {"connection_id":143149,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 17:08:58] local.INFO: IMEI acknowledgment sent {"connection_id":143149,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:08:59] local.INFO: TCP Data received {"connection_id":143149,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143149,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:08:59] local.INFO: Processing buffer {"connection_id":143149,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:08:59] local.INFO: IMEI packet received {"connection_id":143149,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 17:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":143149,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:09:03] local.INFO: TCP Data received {"connection_id":143149,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143149,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:09:03] local.INFO: Processing buffer {"connection_id":143149,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:09:03] local.INFO: IMEI packet received {"connection_id":143149,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 17:09:03] local.INFO: IMEI acknowledgment sent {"connection_id":143149,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:09:03] local.INFO: TCP Data received {"connection_id":143149,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa35db030012d18d640072100400041014f2b..."} 
[2026-07-27 17:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143149,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa35db030012d18d640072100400041014f2b..."} 
[2026-07-27 17:09:03] local.INFO: Processing buffer {"connection_id":143149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa35db030012d18d640072100400041014f2b..."} 
[2026-07-27 17:09:03] local.INFO: Packet analysis {"connection_id":143149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa35d"} 
[2026-07-27 17:09:03] local.INFO: Extracted packet for processing {"connection_id":143149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa35d"} 
[2026-07-27 17:09:03] local.INFO: GPS Element Parsed {"raw_longitude":756602432,"raw_latitude":119603264,"longitude_deg":75.6602432,"latitude_deg":11.9603264,"altitude":65,"angle":335,"satellites":43,"speed":29,"hex_longitude":"2d18d640","hex_latitude":"07210040","is_valid_coordinates":true} 
[2026-07-27 17:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:09:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998976768001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:09:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8925075185074176,"note":"Value kept but may cause issues"} 
[2026-07-27 17:09:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1790040145009688576,"note":"Value kept but may cause issues"} 
[2026-07-27 17:09:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:09:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785152254000,"timestamp_ms":1785152254000,"timestamp_seconds":1785152254,"priority":1,"record_length":96,"hex_timestamp":"0000019fa35db030"} 
[2026-07-27 17:09:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:09:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-07-27 17:09:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:09:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:09:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:09:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:09:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:09:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143149,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:09:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143149,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:09:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:09:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:09:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:09:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998976768001,"66":14233,"121":206,"28":31744,"24":29,"16":8925075185074176,"45":1790040145009688576},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 17:09:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:09:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:09:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998976768001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:09:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 17:09:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:09:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8925075185074176,"km_value":8925075185074.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:09:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1790040145009688576,"description":"Unknown IO ID 45"} 
[2026-07-27 17:09:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998976768001,"power":14233,"unknown_121":206,"unknown_28":31744,"ignition":29,"odometer":null,"unknown_45":1790040145009688576}} 
[2026-07-27 17:09:04] local.INFO: DEBUG: GPS processor result {"connection_id":143149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554347,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:09:04] local.INFO: GPS data processed {"connection_id":143149,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:09:04] local.INFO: Acknowledgment sent {"connection_id":143149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:09:35] local.INFO: TCP Data received {"connection_id":143149,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa35dc3b8012d18d1c007210f080042015b2c..."} 
[2026-07-27 17:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143149,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa35dc3b8012d18d1c007210f080042015b2c..."} 
[2026-07-27 17:09:35] local.INFO: Processing buffer {"connection_id":143149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa35dc3b8012d18d1c007210f080042015b2c..."} 
[2026-07-27 17:09:35] local.INFO: Packet analysis {"connection_id":143149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa35d"} 
[2026-07-27 17:09:35] local.INFO: Extracted packet for processing {"connection_id":143149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa35d"} 
[2026-07-27 17:09:35] local.INFO: GPS Element Parsed {"raw_longitude":756601280,"raw_latitude":119607048,"longitude_deg":75.660128,"latitude_deg":11.9607048,"altitude":66,"angle":347,"satellites":44,"speed":30,"hex_longitude":"2d18d1c0","hex_latitude":"07210f08","is_valid_coordinates":true} 
[2026-07-27 17:09:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:09:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998977024001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:09:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8925268458602496,"note":"Value kept but may cause issues"} 
[2026-07-27 17:09:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789688301288964096,"note":"Value kept but may cause issues"} 
[2026-07-27 17:09:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:09:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785152259000,"timestamp_ms":1785152259000,"timestamp_seconds":1785152259,"priority":1,"record_length":96,"hex_timestamp":"0000019fa35dc3b8"} 
[2026-07-27 17:09:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:09:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:09:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-07-27 17:09:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:09:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:09:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:09:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:09:35] local.INFO: Teltonika packet parsed successfully {"connection_id":143149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:09:35] local.INFO: Passing IMEI to GPS processor {"connection_id":143149,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:09:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":143149,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:09:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:09:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:09:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:09:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998977024001,"66":14341,"121":206,"28":31744,"24":30,"16":8925268458602496,"45":1789688301288964096},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 17:09:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:09:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:09:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998977024001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:09:35] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 17:09:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:09:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8925268458602496,"km_value":8925268458602.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:09:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789688301288964096,"description":"Unknown IO ID 45"} 
[2026-07-27 17:09:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998977024001,"power":14341,"unknown_121":206,"unknown_28":31744,"ignition":30,"odometer":null,"unknown_45":1789688301288964096}} 
[2026-07-27 17:09:35] local.INFO: DEBUG: GPS processor result {"connection_id":143149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554348,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:09:35] local.INFO: GPS data processed {"connection_id":143149,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:09:35] local.INFO: Acknowledgment sent {"connection_id":143149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:09:59] local.INFO: TCP Data received {"connection_id":143150,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143150,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:09:59] local.INFO: Processing buffer {"connection_id":143150,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:09:59] local.INFO: IMEI packet received {"connection_id":143150,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 17:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":143150,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:10:00] local.INFO: TCP Data received {"connection_id":143150,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143150,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:10:00] local.INFO: Processing buffer {"connection_id":143150,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:10:00] local.INFO: IMEI packet received {"connection_id":143150,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 17:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":143150,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:10:05] local.INFO: TCP Data received {"connection_id":143150,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143150,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:10:05] local.INFO: Processing buffer {"connection_id":143150,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:10:05] local.INFO: IMEI packet received {"connection_id":143150,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 17:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":143150,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:10:06] local.INFO: TCP Data received {"connection_id":143150,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa35f0bd8012d18a540072173e0004f01212d..."} 
[2026-07-27 17:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143150,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa35f0bd8012d18a540072173e0004f01212d..."} 
[2026-07-27 17:10:06] local.INFO: Processing buffer {"connection_id":143150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa35f0bd8012d18a540072173e0004f01212d..."} 
[2026-07-27 17:10:06] local.INFO: Packet analysis {"connection_id":143150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa35f"} 
[2026-07-27 17:10:06] local.INFO: Extracted packet for processing {"connection_id":143150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa35f"} 
[2026-07-27 17:10:06] local.INFO: GPS Element Parsed {"raw_longitude":756589888,"raw_latitude":119632864,"longitude_deg":75.6589888,"latitude_deg":11.9632864,"altitude":79,"angle":289,"satellites":45,"speed":10,"hex_longitude":"2d18a540","hex_latitude":"072173e0","is_valid_coordinates":true} 
[2026-07-27 17:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998998528001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:10:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8926728747483136,"note":"Value kept but may cause issues"} 
[2026-07-27 17:10:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777162664832765952,"note":"Value kept but may cause issues"} 
[2026-07-27 17:10:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:10:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785152343000,"timestamp_ms":1785152343000,"timestamp_seconds":1785152343,"priority":1,"record_length":96,"hex_timestamp":"0000019fa35f0bd8"} 
[2026-07-27 17:10:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:10:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-27 17:10:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:10:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:10:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:10:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:10:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:10:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143150,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:10:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143150,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:10:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:10:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:10:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:10:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998998528001,"66":13580,"121":206,"28":31744,"24":10,"16":8926728747483136,"45":1777162664832765952},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 17:10:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998998528001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:10:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 17:10:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:10:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8926728747483136,"km_value":8926728747483.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:10:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777162664832765952,"description":"Unknown IO ID 45"} 
[2026-07-27 17:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998998528001,"power":13580,"unknown_121":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1777162664832765952}} 
[2026-07-27 17:10:06] local.INFO: DEBUG: GPS processor result {"connection_id":143150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554349,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:10:06] local.INFO: GPS data processed {"connection_id":143150,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:10:06] local.INFO: Acknowledgment sent {"connection_id":143150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:10:37] local.INFO: TCP Data received {"connection_id":143150,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa35f4670012d18838007218098004f01192b..."} 
[2026-07-27 17:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143150,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa35f4670012d18838007218098004f01192b..."} 
[2026-07-27 17:10:37] local.INFO: Processing buffer {"connection_id":143150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa35f4670012d18838007218098004f01192b..."} 
[2026-07-27 17:10:37] local.INFO: Packet analysis {"connection_id":143150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa35f"} 
[2026-07-27 17:10:37] local.INFO: Extracted packet for processing {"connection_id":143150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa35f"} 
[2026-07-27 17:10:37] local.INFO: GPS Element Parsed {"raw_longitude":756581248,"raw_latitude":119636120,"longitude_deg":75.6581248,"latitude_deg":11.963612,"altitude":79,"angle":281,"satellites":43,"speed":28,"hex_longitude":"2d188380","hex_latitude":"07218098","is_valid_coordinates":true} 
[2026-07-27 17:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456998999808001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8927166834147328,"note":"Value kept but may cause issues"} 
[2026-07-27 17:10:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775896027437719552,"note":"Value kept but may cause issues"} 
[2026-07-27 17:10:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785152358000,"timestamp_ms":1785152358000,"timestamp_seconds":1785152358,"priority":1,"record_length":96,"hex_timestamp":"0000019fa35f4670"} 
[2026-07-27 17:10:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:10:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-07-27 17:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44499434867793846,"note":"Value kept but may cause issues"} 
[2026-07-27 17:10:37] local.WARNING: Large IO value detected {"io_id":24,"raw_value":-4305433404415934393,"note":"Value kept but may cause issues"} 
[2026-07-27 17:10:37] local.WARNING: Large IO value detected {"io_id":182,"raw_value":2667577344,"note":"Value kept but may cause issues"} 
[2026-07-27 17:10:37] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2740872160,"note":"Value kept but may cause issues"} 
[2026-07-27 17:10:37] local.WARNING: Large IO value detected {"io_id":1,"raw_value":5993728291515662346,"note":"Value kept but may cause issues"} 
[2026-07-27 17:10:37] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-27 17:10:37] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18638942602389369,"note":"Value kept but may cause issues"} 
[2026-07-27 17:10:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-27 17:10:37] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3058368512,"note":"Value kept but may cause issues"} 
[2026-07-27 17:10:37] local.WARNING: Large IO value detected {"io_id":115,"raw_value":2147560728,"note":"Value kept but may cause issues"} 
[2026-07-27 17:10:37] local.WARNING: Large IO value detected {"io_id":194,"raw_value":2147950929,"note":"Value kept but may cause issues"} 
[2026-07-27 17:10:37] local.WARNING: Large IO value detected {"io_id":56,"raw_value":6629525045540605468,"note":"Value kept but may cause issues"} 
[2026-07-27 17:10:37] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472039641104,"note":"Value kept but may cause issues"} 
[2026-07-27 17:10:37] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755536880140529,"note":"Value kept but may cause issues"} 
[2026-07-27 17:10:37] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,121,28,24,241,158,16,182,159,248,45,192,113,79,44,10,66,193,128,107,78,43,185,1,240,55,163,33,4,205,31,115,194,80,239,56,2,7,72,124],"length":577,"final_offset":707,"validated_count":40,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-07-27 17:10:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5692867881130917888,"timestamp_seconds":5692867881130918.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 17:10:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143150,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143150,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:10:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456998999808001,"66":14298,"121":206,"28":31744,"24":28,"16":8927166834147328,"45":1775896027437719552},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 17:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456998999808001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:10:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 17:10:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:10:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8927166834147328,"km_value":8927166834147.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:10:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775896027437719552,"description":"Unknown IO ID 45"} 
[2026-07-27 17:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456998999808001,"power":14298,"unknown_121":206,"unknown_28":31744,"ignition":28,"odometer":null,"unknown_45":1775896027437719552}} 
[2026-07-27 17:10:37] local.INFO: DEBUG: GPS processor result {"connection_id":143150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554350,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:10:37] local.INFO: GPS data processed {"connection_id":143150,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:10:37] local.INFO: Acknowledgment sent {"connection_id":143150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:10:59] local.INFO: TCP Data received {"connection_id":143004,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143004,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:10:59] local.INFO: Processing buffer {"connection_id":143004,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:10:59] local.INFO: IMEI packet received {"connection_id":143004,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 17:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":143004,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:11:00] local.INFO: TCP Data received {"connection_id":143004,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143004,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:11:00] local.INFO: Processing buffer {"connection_id":143004,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:11:00] local.INFO: IMEI packet received {"connection_id":143004,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 17:11:00] local.INFO: IMEI acknowledgment sent {"connection_id":143004,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:11:04] local.INFO: TCP Data received {"connection_id":143004,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143004,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:11:04] local.INFO: Processing buffer {"connection_id":143004,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:11:04] local.INFO: IMEI packet received {"connection_id":143004,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 17:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":143004,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:11:05] local.INFO: TCP Data received {"connection_id":143004,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa35f5228012d187bc007218170004f010c2b..."} 
[2026-07-27 17:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa35f5228012d187bc007218170004f010c2b..."} 
[2026-07-27 17:11:05] local.INFO: Processing buffer {"connection_id":143004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa35f5228012d187bc007218170004f010c2b..."} 
[2026-07-27 17:11:05] local.INFO: Packet analysis {"connection_id":143004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa35f"} 
[2026-07-27 17:11:05] local.INFO: Extracted packet for processing {"connection_id":143004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa35f"} 
[2026-07-27 17:11:05] local.INFO: GPS Element Parsed {"raw_longitude":756579264,"raw_latitude":119636336,"longitude_deg":75.6579264,"latitude_deg":11.9636336,"altitude":79,"angle":268,"satellites":43,"speed":20,"hex_longitude":"2d187bc0","hex_latitude":"07218170","is_valid_coordinates":true} 
[2026-07-27 17:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:11:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999003648001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:11:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8927265618395136,"note":"Value kept but may cause issues"} 
[2026-07-27 17:11:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1766396246974568448,"note":"Value kept but may cause issues"} 
[2026-07-27 17:11:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:11:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785152361000,"timestamp_ms":1785152361000,"timestamp_seconds":1785152361,"priority":1,"record_length":96,"hex_timestamp":"0000019fa35f5228"} 
[2026-07-27 17:11:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:11:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-07-27 17:11:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:11:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:11:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:11:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:11:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:11:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143004,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:11:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143004,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:11:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:11:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:11:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:11:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999003648001,"66":14461,"121":206,"28":31744,"24":20,"16":8927265618395136,"45":1766396246974568448},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 17:11:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:11:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:11:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999003648001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:11:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 17:11:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:11:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8927265618395136,"km_value":8927265618395.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:11:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1766396246974568448,"description":"Unknown IO ID 45"} 
[2026-07-27 17:11:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999003648001,"power":14461,"unknown_121":206,"unknown_28":31744,"ignition":20,"odometer":null,"unknown_45":1766396246974568448}} 
[2026-07-27 17:11:05] local.INFO: DEBUG: GPS processor result {"connection_id":143004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554351,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:11:05] local.INFO: GPS data processed {"connection_id":143004,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:11:05] local.INFO: Acknowledgment sent {"connection_id":143004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:11:36] local.INFO: TCP Data received {"connection_id":143004,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3609e30012d18b480072169f0005400912c..."} 
[2026-07-27 17:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3609e30012d18b480072169f0005400912c..."} 
[2026-07-27 17:11:36] local.INFO: Processing buffer {"connection_id":143004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3609e30012d18b480072169f0005400912c..."} 
[2026-07-27 17:11:36] local.INFO: Packet analysis {"connection_id":143004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa360"} 
[2026-07-27 17:11:36] local.INFO: Extracted packet for processing {"connection_id":143004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa360"} 
[2026-07-27 17:11:36] local.INFO: GPS Element Parsed {"raw_longitude":756593792,"raw_latitude":119630320,"longitude_deg":75.6593792,"latitude_deg":11.963032,"altitude":84,"angle":145,"satellites":44,"speed":34,"hex_longitude":"2d18b480","hex_latitude":"072169f0","is_valid_coordinates":true} 
[2026-07-27 17:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:11:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999025664001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:11:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8929322907729920,"note":"Value kept but may cause issues"} 
[2026-07-27 17:11:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779062620925433856,"note":"Value kept but may cause issues"} 
[2026-07-27 17:11:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:11:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785152446000,"timestamp_ms":1785152446000,"timestamp_seconds":1785152446,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3609e30"} 
[2026-07-27 17:11:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:11:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-07-27 17:11:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:11:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:11:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:11:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:11:36] local.INFO: Teltonika packet parsed successfully {"connection_id":143004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:11:36] local.INFO: Passing IMEI to GPS processor {"connection_id":143004,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:11:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":143004,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:11:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:11:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:11:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:11:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999025664001,"66":14189,"121":206,"28":31744,"24":34,"16":8929322907729920,"45":1779062620925433856},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 17:11:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:11:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:11:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999025664001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:11:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 17:11:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:11:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8929322907729920,"km_value":8929322907729.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:11:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779062620925433856,"description":"Unknown IO ID 45"} 
[2026-07-27 17:11:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999025664001,"power":14189,"unknown_121":206,"unknown_28":31744,"ignition":34,"odometer":null,"unknown_45":1779062620925433856}} 
[2026-07-27 17:11:36] local.INFO: DEBUG: GPS processor result {"connection_id":143004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554352,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:11:36] local.INFO: GPS data processed {"connection_id":143004,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:11:36] local.INFO: Acknowledgment sent {"connection_id":143004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:11:59] local.INFO: TCP Data received {"connection_id":144146,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144146,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:11:59] local.INFO: Processing buffer {"connection_id":144146,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:11:59] local.INFO: IMEI packet received {"connection_id":144146,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 17:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":144146,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:12:00] local.INFO: TCP Data received {"connection_id":144146,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144146,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:12:00] local.INFO: Processing buffer {"connection_id":144146,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:12:00] local.INFO: IMEI packet received {"connection_id":144146,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 17:12:00] local.INFO: IMEI acknowledgment sent {"connection_id":144146,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:12:00] local.INFO: TCP Data received {"connection_id":144146,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144146,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:12:00] local.INFO: Processing buffer {"connection_id":144146,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:12:00] local.INFO: IMEI packet received {"connection_id":144146,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 17:12:00] local.INFO: IMEI acknowledgment sent {"connection_id":144146,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:12:01] local.INFO: TCP Data received {"connection_id":144146,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144146,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:12:01] local.INFO: Processing buffer {"connection_id":144146,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:12:01] local.INFO: IMEI packet received {"connection_id":144146,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 17:12:01] local.INFO: IMEI acknowledgment sent {"connection_id":144146,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:13:34] local.INFO: TCP Data received {"connection_id":144147,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:13:34] local.INFO: Processing buffer {"connection_id":144147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:13:34] local.INFO: IMEI packet received {"connection_id":144147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 17:13:34] local.INFO: IMEI acknowledgment sent {"connection_id":144147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:13:37] local.INFO: TCP Data received {"connection_id":144147,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:13:37] local.INFO: Processing buffer {"connection_id":144147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:13:37] local.INFO: IMEI packet received {"connection_id":144147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 17:13:37] local.INFO: IMEI acknowledgment sent {"connection_id":144147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:13:39] local.INFO: TCP Data received {"connection_id":144147,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fa360ffd8012d9efe4005bcc4280018001e29..."} 
[2026-07-27 17:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa360ffd8012d9efe4005bcc4280018001e29..."} 
[2026-07-27 17:13:39] local.INFO: Processing buffer {"connection_id":144147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa360ffd8012d9efe4005bcc4280018001e29..."} 
[2026-07-27 17:13:39] local.INFO: Packet analysis {"connection_id":144147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa360"} 
[2026-07-27 17:13:39] local.INFO: Extracted packet for processing {"connection_id":144147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa360"} 
[2026-07-27 17:13:39] local.INFO: GPS Element Parsed {"raw_longitude":765394496,"raw_latitude":96257064,"longitude_deg":76.5394496,"latitude_deg":9.6257064,"altitude":24,"angle":30,"satellites":41,"speed":0,"hex_longitude":"2d9efe40","hex_latitude":"05bcc428","is_valid_coordinates":true} 
[2026-07-27 17: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-07-27 17:13:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999027200001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:13:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359107962284802048,"note":"Value kept but may cause issues"} 
[2026-07-27 17:13:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6990219915735035904,"note":"Value kept but may cause issues"} 
[2026-07-27 17:13:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:13:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785152471000,"timestamp_ms":1785152471000,"timestamp_seconds":1785152471,"priority":1,"record_length":96,"hex_timestamp":"0000019fa360ffd8"} 
[2026-07-27 17:13:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:13:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-27 17:13:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17: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-07-27 17:13:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:13:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:13:39] local.INFO: Teltonika packet parsed successfully {"connection_id":144147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:13:39] local.INFO: Passing IMEI to GPS processor {"connection_id":144147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:13:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":144147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:13:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:13:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 17:13:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 17:13:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999027200001,"66":27800,"179":206,"83":16640,"24":0,"16":359107962284802048,"45":-6990219915735035904},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,83,24,16,45]} 
[2026-07-27 17:13:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 17:13:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 17:13:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999027200001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:13:39] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-07-27 17:13:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":16640,"description":"Unknown IO ID 83"} 
[2026-07-27 17:13:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359107962284802048,"km_value":359107962284802.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:13:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6990219915735035904,"description":"Unknown IO ID 45"} 
[2026-07-27 17:13:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999027200001,"power":27800,"unknown_179":206,"unknown_83":16640,"ignition":0,"odometer":null,"unknown_45":-6990219915735035904}} 
[2026-07-27 17:13:39] local.INFO: DEBUG: GPS processor result {"connection_id":144147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:13:39] local.INFO: GPS data processed {"connection_id":144147,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:13:39] local.INFO: Acknowledgment sent {"connection_id":144147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:14:10] local.INFO: TCP Data received {"connection_id":144147,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3614df8012d9eff4005bcc7400017001e29..."} 
[2026-07-27 17:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3614df8012d9eff4005bcc7400017001e29..."} 
[2026-07-27 17:14:10] local.INFO: Processing buffer {"connection_id":144147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3614df8012d9eff4005bcc7400017001e29..."} 
[2026-07-27 17:14:10] local.INFO: Packet analysis {"connection_id":144147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa361"} 
[2026-07-27 17:14:10] local.INFO: Extracted packet for processing {"connection_id":144147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa361"} 
[2026-07-27 17:14:10] local.INFO: GPS Element Parsed {"raw_longitude":765394752,"raw_latitude":96257856,"longitude_deg":76.5394752,"latitude_deg":9.6257856,"altitude":23,"angle":30,"satellites":41,"speed":0,"hex_longitude":"2d9eff40","hex_latitude":"05bcc740","is_valid_coordinates":true} 
[2026-07-27 17:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:14:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999032576001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:14:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359108005234475008,"note":"Value kept but may cause issues"} 
[2026-07-27 17:14:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6990079178246445056,"note":"Value kept but may cause issues"} 
[2026-07-27 17:14:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:14:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785152491000,"timestamp_ms":1785152491000,"timestamp_seconds":1785152491,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3614df8"} 
[2026-07-27 17:14:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:14:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-27 17:14:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:14:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:14:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:14:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:14:10] local.INFO: Teltonika packet parsed successfully {"connection_id":144147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:14:10] local.INFO: Passing IMEI to GPS processor {"connection_id":144147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:14:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":144147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:14:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:14:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 17:14:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 17:14:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999032576001,"66":27974,"179":206,"83":16640,"24":0,"16":359108005234475008,"45":-6990079178246445056},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,83,24,16,45]} 
[2026-07-27 17:14:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 17:14:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 17:14:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999032576001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:14:10] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-07-27 17:14:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":16640,"description":"Unknown IO ID 83"} 
[2026-07-27 17:14:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359108005234475008,"km_value":359108005234475.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:14:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6990079178246445056,"description":"Unknown IO ID 45"} 
[2026-07-27 17:14:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999032576001,"power":27974,"unknown_179":206,"unknown_83":16640,"ignition":0,"odometer":null,"unknown_45":-6990079178246445056}} 
[2026-07-27 17:14:10] local.INFO: DEBUG: GPS processor result {"connection_id":144147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:14:10] local.INFO: GPS data processed {"connection_id":144147,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:14:10] local.INFO: Acknowledgment sent {"connection_id":144147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:14:37] local.INFO: TCP Data received {"connection_id":145433,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:14:37] local.INFO: Processing buffer {"connection_id":145433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:14:37] local.INFO: IMEI packet received {"connection_id":145433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 17:14:37] local.INFO: IMEI acknowledgment sent {"connection_id":145433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:14:42] local.INFO: TCP Data received {"connection_id":145433,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:14:42] local.INFO: Processing buffer {"connection_id":145433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:14:42] local.INFO: IMEI packet received {"connection_id":145433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 17:14:42] local.INFO: IMEI acknowledgment sent {"connection_id":145433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:14:42] local.INFO: TCP Data received {"connection_id":145433,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fa361a000012d9f008005bcc8f00016001e2c..."} 
[2026-07-27 17:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa361a000012d9f008005bcc8f00016001e2c..."} 
[2026-07-27 17:14:42] local.INFO: Processing buffer {"connection_id":145433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa361a000012d9f008005bcc8f00016001e2c..."} 
[2026-07-27 17:14:42] local.INFO: Packet analysis {"connection_id":145433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa361"} 
[2026-07-27 17:14:42] local.INFO: Extracted packet for processing {"connection_id":145433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa361"} 
[2026-07-27 17:14:42] local.INFO: GPS Element Parsed {"raw_longitude":765395072,"raw_latitude":96258288,"longitude_deg":76.5395072,"latitude_deg":9.6258288,"altitude":22,"angle":30,"satellites":44,"speed":0,"hex_longitude":"2d9f0080","hex_latitude":"05bcc8f0","is_valid_coordinates":true} 
[2026-07-27 17:14:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:14:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999037696001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:14:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359108031004278784,"note":"Value kept but may cause issues"} 
[2026-07-27 17:14:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6989797703269531648,"note":"Value kept but may cause issues"} 
[2026-07-27 17:14:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:14:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785152512000,"timestamp_ms":1785152512000,"timestamp_seconds":1785152512,"priority":1,"record_length":96,"hex_timestamp":"0000019fa361a000"} 
[2026-07-27 17:14:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:14:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:14:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-27 17:14:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:14:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:14:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:14:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:14:42] local.INFO: Teltonika packet parsed successfully {"connection_id":145433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:14:42] local.INFO: Passing IMEI to GPS processor {"connection_id":145433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:14:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":145433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:14:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:14:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 17:14:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 17:14:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999037696001,"66":28017,"179":206,"83":16640,"24":0,"16":359108031004278784,"45":-6989797703269531648},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,83,24,16,45]} 
[2026-07-27 17:14:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 17:14:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 17:14:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999037696001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:14:42] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-07-27 17:14:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":16640,"description":"Unknown IO ID 83"} 
[2026-07-27 17:14:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359108031004278784,"km_value":359108031004278.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:14:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6989797703269531648,"description":"Unknown IO ID 45"} 
[2026-07-27 17:14:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999037696001,"power":28017,"unknown_179":206,"unknown_83":16640,"ignition":0,"odometer":null,"unknown_45":-6989797703269531648}} 
[2026-07-27 17:14:42] local.INFO: DEBUG: GPS processor result {"connection_id":145433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:14:42] local.INFO: GPS data processed {"connection_id":145433,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:14:42] local.INFO: Acknowledgment sent {"connection_id":145433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:14:47] local.INFO: TCP Data received {"connection_id":145433,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fa361f208012d9f008005bcc8f00016001e2b..."} 
[2026-07-27 17:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa361f208012d9f008005bcc8f00016001e2b..."} 
[2026-07-27 17:14:47] local.INFO: Processing buffer {"connection_id":145433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa361f208012d9f008005bcc8f00016001e2b..."} 
[2026-07-27 17:14:47] local.INFO: Packet analysis {"connection_id":145433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa361"} 
[2026-07-27 17:14:47] local.INFO: Extracted packet for processing {"connection_id":145433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa361"} 
[2026-07-27 17:14:47] local.INFO: GPS Element Parsed {"raw_longitude":765395072,"raw_latitude":96258288,"longitude_deg":76.5395072,"latitude_deg":9.6258288,"altitude":22,"angle":30,"satellites":43,"speed":0,"hex_longitude":"2d9f0080","hex_latitude":"05bcc8f0","is_valid_coordinates":true} 
[2026-07-27 17:14:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:14:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999043072001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:14:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359108031004278784,"note":"Value kept but may cause issues"} 
[2026-07-27 17:14:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6989445859548532736,"note":"Value kept but may cause issues"} 
[2026-07-27 17:14:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:14:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785152533000,"timestamp_ms":1785152533000,"timestamp_seconds":1785152533,"priority":1,"record_length":96,"hex_timestamp":"0000019fa361f208"} 
[2026-07-27 17:14:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:14:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17: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":109,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-27 17:14:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1760,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:14:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:14:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:14:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:14:47] local.INFO: Teltonika packet parsed successfully {"connection_id":145433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:14:47] local.INFO: Passing IMEI to GPS processor {"connection_id":145433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:14:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":145433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:14:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:14:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 17:14:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 17:14:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999043072001,"66":27800,"179":206,"83":16640,"24":0,"16":359108031004278784,"45":-6989445859548532736},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,83,24,16,45]} 
[2026-07-27 17:14:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 17:14:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 17:14:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999043072001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:14:47] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-07-27 17:14:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":16640,"description":"Unknown IO ID 83"} 
[2026-07-27 17:14:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359108031004278784,"km_value":359108031004278.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:14:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6989445859548532736,"description":"Unknown IO ID 45"} 
[2026-07-27 17:14:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999043072001,"power":27800,"unknown_179":206,"unknown_83":16640,"ignition":0,"odometer":null,"unknown_45":-6989445859548532736}} 
[2026-07-27 17:14:47] local.INFO: DEBUG: GPS processor result {"connection_id":145433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:14:47] local.INFO: GPS data processed {"connection_id":145433,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:14:47] local.INFO: Acknowledgment sent {"connection_id":145433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:14:48] local.INFO: TCP Data received {"connection_id":143154,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143154,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:14:48] local.INFO: Processing buffer {"connection_id":143154,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:14:48] local.INFO: IMEI packet received {"connection_id":143154,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 17:14:48] local.INFO: IMEI acknowledgment sent {"connection_id":143154,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:15:13] local.INFO: TCP Data received {"connection_id":144149,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144149,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:15:13] local.INFO: Processing buffer {"connection_id":144149,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:15:13] local.INFO: IMEI packet received {"connection_id":144149,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 17:15:13] local.INFO: IMEI acknowledgment sent {"connection_id":144149,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:15:18] local.INFO: TCP Data received {"connection_id":144149,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:15:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144149,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:15:18] local.INFO: Processing buffer {"connection_id":144149,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:15:18] local.INFO: IMEI packet received {"connection_id":144149,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 17:15:18] local.INFO: IMEI acknowledgment sent {"connection_id":144149,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:15:30] local.INFO: TCP Data received {"connection_id":143155,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:15:30] local.INFO: Processing buffer {"connection_id":143155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:15:30] local.INFO: IMEI packet received {"connection_id":143155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 17:15:30] local.INFO: IMEI acknowledgment sent {"connection_id":143155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:15:31] local.INFO: TCP Data received {"connection_id":143155,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:15:31] local.INFO: Processing buffer {"connection_id":143155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:15:31] local.INFO: IMEI packet received {"connection_id":143155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 17:15:31] local.INFO: IMEI acknowledgment sent {"connection_id":143155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:15:32] local.INFO: TCP Data received {"connection_id":144149,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3639400012d7a264005e466f8000e009d2e..."} 
[2026-07-27 17:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144149,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3639400012d7a264005e466f8000e009d2e..."} 
[2026-07-27 17:15:32] local.INFO: Processing buffer {"connection_id":144149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3639400012d7a264005e466f8000e009d2e..."} 
[2026-07-27 17:15:32] local.INFO: Packet analysis {"connection_id":144149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa363"} 
[2026-07-27 17:15:32] local.INFO: Extracted packet for processing {"connection_id":144149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa363"} 
[2026-07-27 17:15:32] local.INFO: GPS Element Parsed {"raw_longitude":762979904,"raw_latitude":98854648,"longitude_deg":76.2979904,"latitude_deg":9.8854648,"altitude":14,"angle":157,"satellites":46,"speed":8,"hex_longitude":"2d7a2640","hex_latitude":"05e466f8","is_valid_coordinates":true} 
[2026-07-27 17:15:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:15:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999075584001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:15:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111672134698270720,"note":"Value kept but may cause issues"} 
[2026-07-27 17:15:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8801722547049046016,"note":"Value kept but may cause issues"} 
[2026-07-27 17:15:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:15:32] local.INFO: AVL Record Parsed {"raw_timestamp":1785152640000,"timestamp_ms":1785152640000,"timestamp_seconds":1785152640,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3639400"} 
[2026-07-27 17:15:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:15:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8704,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:15:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":43,"n8_eight_byte":126,"data_length":795,"current_offset":136} 
[2026-07-27 17:15:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1547,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:15:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:15:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:15:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:15:32] local.INFO: Teltonika packet parsed successfully {"connection_id":144149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:15:32] local.INFO: Passing IMEI to GPS processor {"connection_id":144149,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:15:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":144149,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:15:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:15:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 17:15:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 17:15:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999075584001,"66":12145,"47":206,"85":15104,"24":8,"16":111672134698270720,"45":8801722547049046016},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-07-27 17:15:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 17:15:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 17:15:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999075584001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:15:32] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-07-27 17:15:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 17:15:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111672134698270720,"km_value":111672134698270.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:15:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8801722547049046016,"description":"Unknown IO ID 45"} 
[2026-07-27 17:15:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999075584001,"power":12145,"unknown_47":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8801722547049046016}} 
[2026-07-27 17:15:32] local.INFO: DEBUG: GPS processor result {"connection_id":144149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554357,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:15:32] local.INFO: GPS data processed {"connection_id":144149,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:15:32] local.INFO: Acknowledgment sent {"connection_id":144149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:15:37] local.INFO: TCP Data received {"connection_id":143155,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:15:37] local.INFO: Processing buffer {"connection_id":143155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:15:37] local.INFO: IMEI packet received {"connection_id":143155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 17:15:37] local.INFO: IMEI acknowledgment sent {"connection_id":143155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:15:38] local.INFO: TCP Data received {"connection_id":143155,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3644f80012d9f79c005bdb438000c001c2c..."} 
[2026-07-27 17:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143155,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3644f80012d9f79c005bdb438000c001c2c..."} 
[2026-07-27 17:15:38] local.INFO: Processing buffer {"connection_id":143155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3644f80012d9f79c005bdb438000c001c2c..."} 
[2026-07-27 17:15:38] local.INFO: Packet analysis {"connection_id":143155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa364"} 
[2026-07-27 17:15:38] local.INFO: Extracted packet for processing {"connection_id":143155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa364"} 
[2026-07-27 17:15:38] local.INFO: GPS Element Parsed {"raw_longitude":765426112,"raw_latitude":96318520,"longitude_deg":76.5426112,"latitude_deg":9.631852,"altitude":12,"angle":28,"satellites":44,"speed":38,"hex_longitude":"2d9f79c0","hex_latitude":"05bdb438","is_valid_coordinates":true} 
[2026-07-27 17:15:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:15:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999086848001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:15:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359111351013998592,"note":"Value kept but may cause issues"} 
[2026-07-27 17:15:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6957146605956714496,"note":"Value kept but may cause issues"} 
[2026-07-27 17:15:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:15:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785152688000,"timestamp_ms":1785152688000,"timestamp_seconds":1785152688,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3644f80"} 
[2026-07-27 17:15:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:15:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:15:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-27 17:15:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:15:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:15:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:15:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:15:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:15:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:15:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:15:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:15:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 17:15:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 17:15:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999086848001,"66":27908,"178":206,"83":16640,"24":38,"16":359111351013998592,"45":-6957146605956714496},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,83,24,16,45]} 
[2026-07-27 17:15:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 17:15:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 17:15:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999086848001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:15:38] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-07-27 17:15:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":16640,"description":"Unknown IO ID 83"} 
[2026-07-27 17:15:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359111351013998592,"km_value":359111351013998.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:15:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6957146605956714496,"description":"Unknown IO ID 45"} 
[2026-07-27 17:15:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999086848001,"power":27908,"unknown_178":206,"unknown_83":16640,"ignition":38,"odometer":null,"unknown_45":-6957146605956714496}} 
[2026-07-27 17:15:38] local.INFO: DEBUG: GPS processor result {"connection_id":143155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:15:38] local.INFO: GPS data processed {"connection_id":143155,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:15:38] local.INFO: Acknowledgment sent {"connection_id":143155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:16:10] local.INFO: TCP Data received {"connection_id":143155,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3645b38012d9f804005bdbd40000d00292b..."} 
[2026-07-27 17:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143155,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3645b38012d9f804005bdbd40000d00292b..."} 
[2026-07-27 17:16:10] local.INFO: Processing buffer {"connection_id":143155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3645b38012d9f804005bdbd40000d00292b..."} 
[2026-07-27 17:16:10] local.INFO: Packet analysis {"connection_id":143155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa364"} 
[2026-07-27 17:16:10] local.INFO: Extracted packet for processing {"connection_id":143155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa364"} 
[2026-07-27 17:16:10] local.INFO: GPS Element Parsed {"raw_longitude":765427776,"raw_latitude":96320832,"longitude_deg":76.5427776,"latitude_deg":9.6320832,"altitude":13,"angle":41,"satellites":43,"speed":37,"hex_longitude":"2d9f8040","hex_latitude":"05bdbd40","is_valid_coordinates":true} 
[2026-07-27 17:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:16:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999088128001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:16:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359111488452952064,"note":"Value kept but may cause issues"} 
[2026-07-27 17:16:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6955317018606946304,"note":"Value kept but may cause issues"} 
[2026-07-27 17:16:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:16:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785152691000,"timestamp_ms":1785152691000,"timestamp_seconds":1785152691,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3645b38"} 
[2026-07-27 17:16:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:16:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-27 17:16:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:16:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:16:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:16:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:16:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:16:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:16:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:16:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:16:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 17:16:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 17:16:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999088128001,"66":27908,"178":206,"83":16640,"24":37,"16":359111488452952064,"45":-6955317018606946304},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,83,24,16,45]} 
[2026-07-27 17:16:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 17:16:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 17:16:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999088128001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:16:10] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-07-27 17:16:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":16640,"description":"Unknown IO ID 83"} 
[2026-07-27 17:16:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359111488452952064,"km_value":359111488452952.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:16:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6955317018606946304,"description":"Unknown IO ID 45"} 
[2026-07-27 17:16:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999088128001,"power":27908,"unknown_178":206,"unknown_83":16640,"ignition":37,"odometer":null,"unknown_45":-6955317018606946304}} 
[2026-07-27 17:16:10] local.INFO: DEBUG: GPS processor result {"connection_id":143155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:16:10] local.INFO: GPS data processed {"connection_id":143155,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:16:10] local.INFO: Acknowledgment sent {"connection_id":143155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:16:22] local.INFO: TCP Data received {"connection_id":143007,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:16:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143007,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:16:22] local.INFO: Processing buffer {"connection_id":143007,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:16:22] local.INFO: IMEI packet received {"connection_id":143007,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 17:16:22] local.INFO: IMEI acknowledgment sent {"connection_id":143007,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:16:24] local.INFO: TCP Data received {"connection_id":143007,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143007,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:16:24] local.INFO: Processing buffer {"connection_id":143007,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:16:24] local.INFO: IMEI packet received {"connection_id":143007,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 17:16:24] local.INFO: IMEI acknowledgment sent {"connection_id":143007,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:16:27] local.INFO: TCP Data received {"connection_id":143007,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143007,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:16:27] local.INFO: Processing buffer {"connection_id":143007,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:16:27] local.INFO: IMEI packet received {"connection_id":143007,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 17:16:27] local.INFO: IMEI acknowledgment sent {"connection_id":143007,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:16:28] local.INFO: TCP Data received {"connection_id":143007,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3652658012d7a844005e45110000900832f..."} 
[2026-07-27 17:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143007,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3652658012d7a844005e45110000900832f..."} 
[2026-07-27 17:16:28] local.INFO: Processing buffer {"connection_id":143007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3652658012d7a844005e45110000900832f..."} 
[2026-07-27 17:16:28] local.INFO: Packet analysis {"connection_id":143007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa365"} 
[2026-07-27 17:16:28] local.INFO: Extracted packet for processing {"connection_id":143007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa365"} 
[2026-07-27 17:16:28] local.INFO: GPS Element Parsed {"raw_longitude":763003968,"raw_latitude":98849040,"longitude_deg":76.3003968,"latitude_deg":9.884904,"altitude":9,"angle":131,"satellites":47,"speed":40,"hex_longitude":"2d7a8440","hex_latitude":"05e45110","is_valid_coordinates":true} 
[2026-07-27 17:16:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:16:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999099136001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:16:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111673487612968960,"note":"Value kept but may cause issues"} 
[2026-07-27 17:16:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8819877683046920192,"note":"Value kept but may cause issues"} 
[2026-07-27 17:16:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:16:28] local.INFO: AVL Record Parsed {"raw_timestamp":1785152743000,"timestamp_ms":1785152743000,"timestamp_seconds":1785152743,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3652658"} 
[2026-07-27 17:16:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:16:28] 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-07-27 17:16:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-27 17:16:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:16:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:16:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:16:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:16:28] local.INFO: Teltonika packet parsed successfully {"connection_id":143007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:16:28] local.INFO: Passing IMEI to GPS processor {"connection_id":143007,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:16:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":143007,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:16:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:16:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 17:16:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 17:16:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999099136001,"66":13037,"97":206,"85":15104,"24":40,"16":111673487612968960,"45":8819877683046920192},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-27 17:16:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 17:16:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 17:16:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999099136001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:16:28] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-27 17:16:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 17:16:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111673487612968960,"km_value":111673487612968.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:16:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8819877683046920192,"description":"Unknown IO ID 45"} 
[2026-07-27 17:16:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999099136001,"power":13037,"unknown_97":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":8819877683046920192}} 
[2026-07-27 17:16:28] local.INFO: DEBUG: GPS processor result {"connection_id":143007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554360,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:16:28] local.INFO: GPS data processed {"connection_id":143007,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:16:28] local.INFO: Acknowledgment sent {"connection_id":143007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:16:32] local.INFO: TCP Data received {"connection_id":145434,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:16:32] local.INFO: Processing buffer {"connection_id":145434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:16:32] local.INFO: IMEI packet received {"connection_id":145434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 17:16:32] local.INFO: IMEI acknowledgment sent {"connection_id":145434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:16:33] local.INFO: TCP Data received {"connection_id":143007,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3655920012d7aa18005e43978000700822f..."} 
[2026-07-27 17:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143007,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3655920012d7aa18005e43978000700822f..."} 
[2026-07-27 17:16:33] local.INFO: Processing buffer {"connection_id":143007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3655920012d7aa18005e43978000700822f..."} 
[2026-07-27 17:16:33] local.INFO: Packet analysis {"connection_id":143007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa365"} 
[2026-07-27 17:16:33] local.INFO: Extracted packet for processing {"connection_id":143007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa365"} 
[2026-07-27 17:16:33] local.INFO: GPS Element Parsed {"raw_longitude":763011456,"raw_latitude":98843000,"longitude_deg":76.3011456,"latitude_deg":9.8843,"altitude":7,"angle":130,"satellites":47,"speed":31,"hex_longitude":"2d7aa180","hex_latitude":"05e43978","is_valid_coordinates":true} 
[2026-07-27 17:16:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:16:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999102208001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:16:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111673951469436928,"note":"Value kept but may cause issues"} 
[2026-07-27 17:16:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8828251563602546688,"note":"Value kept but may cause issues"} 
[2026-07-27 17:16:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:16:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785152756000,"timestamp_ms":1785152756000,"timestamp_seconds":1785152756,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3655920"} 
[2026-07-27 17:16:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:16:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:16:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-07-27 17:16:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:16:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:16:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:16:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:16:33] local.INFO: Teltonika packet parsed successfully {"connection_id":143007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:16:33] local.INFO: Passing IMEI to GPS processor {"connection_id":143007,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:16:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":143007,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:16:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:16:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 17:16:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 17:16:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999102208001,"66":13059,"97":206,"85":15104,"24":31,"16":111673951469436928,"45":8828251563602546688},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-27 17:16:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 17:16:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 17:16:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999102208001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:16:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-27 17:16:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 17:16:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111673951469436928,"km_value":111673951469436.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:16:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8828251563602546688,"description":"Unknown IO ID 45"} 
[2026-07-27 17:16:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999102208001,"power":13059,"unknown_97":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":8828251563602546688}} 
[2026-07-27 17:16:33] local.INFO: DEBUG: GPS processor result {"connection_id":143007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554361,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:16:33] local.INFO: GPS data processed {"connection_id":143007,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:16:33] local.INFO: Acknowledgment sent {"connection_id":143007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:16:36] local.INFO: TCP Data received {"connection_id":145434,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:16:36] local.INFO: Processing buffer {"connection_id":145434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:16:36] local.INFO: IMEI packet received {"connection_id":145434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 17:16:36] local.INFO: IMEI acknowledgment sent {"connection_id":145434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:16:37] local.INFO: TCP Data received {"connection_id":145434,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3647a78012d9f930005bdd290000f001b28..."} 
[2026-07-27 17:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3647a78012d9f930005bdd290000f001b28..."} 
[2026-07-27 17:16:37] local.INFO: Processing buffer {"connection_id":145434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3647a78012d9f930005bdd290000f001b28..."} 
[2026-07-27 17:16:37] local.INFO: Packet analysis {"connection_id":145434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa364"} 
[2026-07-27 17:16:37] local.INFO: Extracted packet for processing {"connection_id":145434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa364"} 
[2026-07-27 17:16:37] local.INFO: GPS Element Parsed {"raw_longitude":765432576,"raw_latitude":96326288,"longitude_deg":76.5432576,"latitude_deg":9.6326288,"altitude":15,"angle":27,"satellites":40,"speed":32,"hex_longitude":"2d9f9300","hex_latitude":"05bdd290","is_valid_coordinates":true} 
[2026-07-27 17:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:16:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999088896001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:16:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359111840640270336,"note":"Value kept but may cause issues"} 
[2026-07-27 17:16:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6953487431257735168,"note":"Value kept but may cause issues"} 
[2026-07-27 17:16:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:16:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785152699000,"timestamp_ms":1785152699000,"timestamp_seconds":1785152699,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3647a78"} 
[2026-07-27 17:16:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:16:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-27 17:16:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:16:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:16:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:16:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:16:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:16:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:16:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:16:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:16:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 17:16:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 17:16:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999088896001,"66":27908,"178":206,"83":16640,"24":32,"16":359111840640270336,"45":-6953487431257735168},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,83,24,16,45]} 
[2026-07-27 17:16:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 17:16:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 17:16:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999088896001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:16:37] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-07-27 17:16:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":16640,"description":"Unknown IO ID 83"} 
[2026-07-27 17:16:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359111840640270336,"km_value":359111840640270.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:16:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6953487431257735168,"description":"Unknown IO ID 45"} 
[2026-07-27 17:16:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999088896001,"power":27908,"unknown_178":206,"unknown_83":16640,"ignition":32,"odometer":null,"unknown_45":-6953487431257735168}} 
[2026-07-27 17:16:37] local.INFO: DEBUG: GPS processor result {"connection_id":145434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:16:37] local.INFO: GPS data processed {"connection_id":145434,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:16:37] local.INFO: Acknowledgment sent {"connection_id":145434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:16:39] local.INFO: TCP Data received {"connection_id":145434,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3648630012d9f964005bddbb00010001028..."} 
[2026-07-27 17:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3648630012d9f964005bddbb00010001028..."} 
[2026-07-27 17:16:39] local.INFO: Processing buffer {"connection_id":145434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3648630012d9f964005bddbb00010001028..."} 
[2026-07-27 17:16:39] local.INFO: Packet analysis {"connection_id":145434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa364"} 
[2026-07-27 17:16:39] local.INFO: Extracted packet for processing {"connection_id":145434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa364"} 
[2026-07-27 17:16:39] local.INFO: GPS Element Parsed {"raw_longitude":765433408,"raw_latitude":96328624,"longitude_deg":76.5433408,"latitude_deg":9.6328624,"altitude":16,"angle":16,"satellites":40,"speed":31,"hex_longitude":"2d9f9640","hex_latitude":"05bddbb0","is_valid_coordinates":true} 
[2026-07-27 17: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-07-27 17:16:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999090944001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:16:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359111960899354624,"note":"Value kept but may cause issues"} 
[2026-07-27 17:16:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6948209775443013632,"note":"Value kept but may cause issues"} 
[2026-07-27 17:16:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:16:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785152702000,"timestamp_ms":1785152702000,"timestamp_seconds":1785152702,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3648630"} 
[2026-07-27 17:16:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:16:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-27 17:16:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17: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-07-27 17:16:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:16:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:16:39] local.INFO: Teltonika packet parsed successfully {"connection_id":145434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:16:39] local.INFO: Passing IMEI to GPS processor {"connection_id":145434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:16:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":145434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:16:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:16:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 17:16:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 17:16:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999090944001,"66":27887,"178":206,"83":16640,"24":31,"16":359111960899354624,"45":-6948209775443013632},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,83,24,16,45]} 
[2026-07-27 17:16:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 17:16:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 17:16:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999090944001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:16:39] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-07-27 17:16:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":16640,"description":"Unknown IO ID 83"} 
[2026-07-27 17:16:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359111960899354624,"km_value":359111960899354.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:16:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6948209775443013632,"description":"Unknown IO ID 45"} 
[2026-07-27 17:16:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999090944001,"power":27887,"unknown_178":206,"unknown_83":16640,"ignition":31,"odometer":null,"unknown_45":-6948209775443013632}} 
[2026-07-27 17:16:39] local.INFO: DEBUG: GPS processor result {"connection_id":145434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:16:39] local.INFO: GPS data processed {"connection_id":145434,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:16:39] local.INFO: Acknowledgment sent {"connection_id":145434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:17:03] local.INFO: TCP Data received {"connection_id":143156,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143156,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:17:03] local.INFO: Processing buffer {"connection_id":143156,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:17:03] local.INFO: IMEI packet received {"connection_id":143156,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 17:17:03] local.INFO: IMEI acknowledgment sent {"connection_id":143156,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:17:04] local.INFO: TCP Data received {"connection_id":143156,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143156,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:17:04] local.INFO: Processing buffer {"connection_id":143156,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:17:04] local.INFO: IMEI packet received {"connection_id":143156,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 17:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":143156,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:17:06] local.INFO: TCP Data received {"connection_id":143156,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3655920012d184dc007218ac0004d00262a..."} 
[2026-07-27 17:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143156,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3655920012d184dc007218ac0004d00262a..."} 
[2026-07-27 17:17:06] local.INFO: Processing buffer {"connection_id":143156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3655920012d184dc007218ac0004d00262a..."} 
[2026-07-27 17:17:06] local.INFO: Packet analysis {"connection_id":143156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa365"} 
[2026-07-27 17:17:06] local.INFO: Extracted packet for processing {"connection_id":143156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa365"} 
[2026-07-27 17:17:06] local.INFO: GPS Element Parsed {"raw_longitude":756567488,"raw_latitude":119638720,"longitude_deg":75.6567488,"latitude_deg":11.963872,"altitude":77,"angle":38,"satellites":42,"speed":2,"hex_longitude":"2d184dc0","hex_latitude":"07218ac0","is_valid_coordinates":true} 
[2026-07-27 17:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999103744001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8934588537634816,"note":"Value kept but may cause issues"} 
[2026-07-27 17:17:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1750844754511859712,"note":"Value kept but may cause issues"} 
[2026-07-27 17:17:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785152756000,"timestamp_ms":1785152756000,"timestamp_seconds":1785152756,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3655920"} 
[2026-07-27 17:17:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:17:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-07-27 17:17:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:17:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:17:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:17:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999103744001,"66":14070,"121":206,"28":31744,"24":2,"16":8934588537634816,"45":1750844754511859712},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 17:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999103744001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:17:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 17:17:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8934588537634816,"km_value":8934588537634.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:17:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1750844754511859712,"description":"Unknown IO ID 45"} 
[2026-07-27 17:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999103744001,"power":14070,"unknown_121":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1750844754511859712}} 
[2026-07-27 17:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":143156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554364,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:17:06] local.INFO: GPS data processed {"connection_id":143156,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:17:06] local.INFO: Acknowledgment sent {"connection_id":143156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:17:07] local.INFO: TCP Data received {"connection_id":143156,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3655d08012d184e0007218af0004d00332b..."} 
[2026-07-27 17:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143156,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3655d08012d184e0007218af0004d00332b..."} 
[2026-07-27 17:17:07] local.INFO: Processing buffer {"connection_id":143156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3655d08012d184e0007218af0004d00332b..."} 
[2026-07-27 17:17:07] local.INFO: Packet analysis {"connection_id":143156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa365"} 
[2026-07-27 17:17:07] local.INFO: Extracted packet for processing {"connection_id":143156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa365"} 
[2026-07-27 17:17:07] local.INFO: GPS Element Parsed {"raw_longitude":756567552,"raw_latitude":119638768,"longitude_deg":75.6567552,"latitude_deg":11.9638768,"altitude":77,"angle":51,"satellites":43,"speed":2,"hex_longitude":"2d184e00","hex_latitude":"07218af0","is_valid_coordinates":true} 
[2026-07-27 17:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:17:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999105536001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:17:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8934592832602112,"note":"Value kept but may cause issues"} 
[2026-07-27 17:17:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1751266966977036288,"note":"Value kept but may cause issues"} 
[2026-07-27 17:17:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:17:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785152757000,"timestamp_ms":1785152757000,"timestamp_seconds":1785152757,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3655d08"} 
[2026-07-27 17:17:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:17:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-07-27 17:17:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:17:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:17:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:17:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:17:07] local.INFO: Teltonika packet parsed successfully {"connection_id":143156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:17:07] local.INFO: Passing IMEI to GPS processor {"connection_id":143156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:17:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":143156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:17:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:17:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:17:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:17:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999105536001,"66":14070,"121":206,"28":31744,"24":2,"16":8934592832602112,"45":1751266966977036288},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 17:17:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:17:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:17:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999105536001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:17:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 17:17:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:17:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8934592832602112,"km_value":8934592832602.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:17:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1751266966977036288,"description":"Unknown IO ID 45"} 
[2026-07-27 17:17:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999105536001,"power":14070,"unknown_121":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1751266966977036288}} 
[2026-07-27 17:17:07] local.INFO: DEBUG: GPS processor result {"connection_id":143156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554365,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:17:07] local.INFO: GPS data processed {"connection_id":143156,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:17:07] local.INFO: Acknowledgment sent {"connection_id":143156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:17:08] local.INFO: TCP Data received {"connection_id":144150,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144150,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:17:08] local.INFO: Processing buffer {"connection_id":144150,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:17:08] local.INFO: IMEI packet received {"connection_id":144150,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 17:17:08] local.INFO: IMEI acknowledgment sent {"connection_id":144150,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:17:10] local.INFO: TCP Data received {"connection_id":145434,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fa36491e8012d9f980005bde4800010000425..."} 
[2026-07-27 17:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa36491e8012d9f980005bde4800010000425..."} 
[2026-07-27 17:17:10] local.INFO: Processing buffer {"connection_id":145434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa36491e8012d9f980005bde4800010000425..."} 
[2026-07-27 17:17:10] local.INFO: Packet analysis {"connection_id":145434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa364"} 
[2026-07-27 17:17:10] local.INFO: Extracted packet for processing {"connection_id":145434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa364"} 
[2026-07-27 17:17:10] local.INFO: GPS Element Parsed {"raw_longitude":765433856,"raw_latitude":96330880,"longitude_deg":76.5433856,"latitude_deg":9.633088,"altitude":16,"angle":4,"satellites":37,"speed":30,"hex_longitude":"2d9f9800","hex_latitude":"05bde480","is_valid_coordinates":true} 
[2026-07-27 17:17:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:17:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999091712001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:17:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359112072568504320,"note":"Value kept but may cause issues"} 
[2026-07-27 17:17:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6947294981768105984,"note":"Value kept but may cause issues"} 
[2026-07-27 17:17:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:17:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785152705000,"timestamp_ms":1785152705000,"timestamp_seconds":1785152705,"priority":1,"record_length":96,"hex_timestamp":"0000019fa36491e8"} 
[2026-07-27 17:17:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:17:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-27 17:17:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:17:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:17:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:17:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:17:10] local.INFO: Teltonika packet parsed successfully {"connection_id":145434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:17:10] local.INFO: Passing IMEI to GPS processor {"connection_id":145434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:17:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":145434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:17:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:17:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 17:17:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 17:17:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999091712001,"66":27865,"178":206,"83":16640,"24":30,"16":359112072568504320,"45":-6947294981768105984},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,83,24,16,45]} 
[2026-07-27 17:17:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 17:17:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 17:17:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999091712001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:17:10] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-07-27 17:17:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":16640,"description":"Unknown IO ID 83"} 
[2026-07-27 17:17:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359112072568504320,"km_value":359112072568504.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:17:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6947294981768105984,"description":"Unknown IO ID 45"} 
[2026-07-27 17:17:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999091712001,"power":27865,"unknown_178":206,"unknown_83":16640,"ignition":30,"odometer":null,"unknown_45":-6947294981768105984}} 
[2026-07-27 17:17:10] local.INFO: DEBUG: GPS processor result {"connection_id":145434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:17:10] local.INFO: GPS data processed {"connection_id":145434,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:17:10] local.INFO: Acknowledgment sent {"connection_id":145434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:17:12] local.INFO: TCP Data received {"connection_id":144150,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144150,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:17:12] local.INFO: Processing buffer {"connection_id":144150,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:17:12] local.INFO: IMEI packet received {"connection_id":144150,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 17:17:12] local.INFO: IMEI acknowledgment sent {"connection_id":144150,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:17:13] local.INFO: TCP Data received {"connection_id":144150,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3658030012d7abc0005e422c8000600882f..."} 
[2026-07-27 17:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144150,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3658030012d7abc0005e422c8000600882f..."} 
[2026-07-27 17:17:13] local.INFO: Processing buffer {"connection_id":144150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3658030012d7abc0005e422c8000600882f..."} 
[2026-07-27 17:17:13] local.INFO: Packet analysis {"connection_id":144150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa365"} 
[2026-07-27 17:17:13] local.INFO: Extracted packet for processing {"connection_id":144150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa365"} 
[2026-07-27 17:17:13] local.INFO: GPS Element Parsed {"raw_longitude":763018240,"raw_latitude":98837192,"longitude_deg":76.301824,"latitude_deg":9.8837192,"altitude":6,"angle":136,"satellites":47,"speed":36,"hex_longitude":"2d7abc00","hex_latitude":"05e422c8","is_valid_coordinates":true} 
[2026-07-27 17: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-07-27 17:17:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999105536001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:17:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111674380966166528,"note":"Value kept but may cause issues"} 
[2026-07-27 17:17:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8836484706669787136,"note":"Value kept but may cause issues"} 
[2026-07-27 17:17:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:17:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785152766000,"timestamp_ms":1785152766000,"timestamp_seconds":1785152766,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3658030"} 
[2026-07-27 17:17:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:17: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-07-27 17: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-27 17:17:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303160630496678,"note":"Value kept but may cause issues"} 
[2026-07-27 17:17:13] local.WARNING: Large IO value detected {"io_id":97,"raw_value":58077557095399424,"note":"Value kept but may cause issues"} 
[2026-07-27 17:17:13] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-27 17:17:13] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2741264160,"note":"Value kept but may cause issues"} 
[2026-07-27 17:17:13] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":30721,"corrected_to":0} 
[2026-07-27 17:17:13] local.WARNING: Large IO value detected {"io_id":189,"raw_value":4244635648,"note":"Value kept but may cause issues"} 
[2026-07-27 17:17:13] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2791375054,"corrected_to":0} 
[2026-07-27 17:17:13] local.WARNING: Large IO value detected {"io_id":161,"raw_value":2281778554,"note":"Value kept but may cause issues"} 
[2026-07-27 17:17:13] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3892366758,"note":"Value kept but may cause issues"} 
[2026-07-27 17:17:13] local.WARNING: Large IO value detected {"io_id":140,"raw_value":3181641728,"note":"Value kept but may cause issues"} 
[2026-07-27 17:17:13] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3831273472,"note":"Value kept but may cause issues"} 
[2026-07-27 17:17:13] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,97,85,24,241,157,16,190,159,38,45,64,81,9,47,10,66,247,128,104,48,239,1,240,52,227,189,163,228,4,113,205,8,161,70,49,2,140,5,12],"length":486,"final_offset":616,"validated_count":40,"validation_warnings":[{"io_id":247,"original":30721,"validated":0},{"io_id":205,"original":2791375054,"validated":0}]} 
[2026-07-27 17:17:13] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504546296642600960,"timestamp_seconds":504546296642600.94,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 17:17:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:17:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:17:13] local.INFO: Teltonika packet parsed successfully {"connection_id":144150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:17:13] local.INFO: Passing IMEI to GPS processor {"connection_id":144150,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:17:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":144150,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:17:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:17:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 17:17:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 17:17:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999105536001,"66":13189,"97":206,"85":15104,"24":36,"16":111674380966166528,"45":8836484706669787136},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-27 17:17:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 17:17:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 17:17:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999105536001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:17:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-27 17:17:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 17:17:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111674380966166528,"km_value":111674380966166.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:17:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8836484706669787136,"description":"Unknown IO ID 45"} 
[2026-07-27 17:17:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999105536001,"power":13189,"unknown_97":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":8836484706669787136}} 
[2026-07-27 17:17:13] local.INFO: DEBUG: GPS processor result {"connection_id":144150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554367,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:17:13] local.INFO: GPS data processed {"connection_id":144150,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:17:13] local.INFO: Acknowledgment sent {"connection_id":144150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:17:31] local.INFO: TCP Data received {"connection_id":145435,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:17:31] local.INFO: Processing buffer {"connection_id":145435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:17:31] local.INFO: IMEI packet received {"connection_id":145435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 17:17:31] local.INFO: IMEI acknowledgment sent {"connection_id":145435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:17:31] local.INFO: TCP Data received {"connection_id":145435,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:17:31] local.INFO: Processing buffer {"connection_id":145435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:17:31] local.INFO: IMEI packet received {"connection_id":145435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 17:17:31] local.INFO: IMEI acknowledgment sent {"connection_id":145435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:17:32] local.INFO: TCP Data received {"connection_id":145435,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:17:32] local.INFO: Processing buffer {"connection_id":145435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:17:32] local.INFO: IMEI packet received {"connection_id":145435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 17:17:32] local.INFO: IMEI acknowledgment sent {"connection_id":145435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:17:34] local.INFO: TCP Data received {"connection_id":145435,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:17:34] local.INFO: Processing buffer {"connection_id":145435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:17:34] local.INFO: IMEI packet received {"connection_id":145435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 17:17:34] local.INFO: IMEI acknowledgment sent {"connection_id":145435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:17:35] local.INFO: TCP Data received {"connection_id":145435,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fa365da08012d9fbe4005befab8000e016028..."} 
[2026-07-27 17:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa365da08012d9fbe4005befab8000e016028..."} 
[2026-07-27 17:17:35] local.INFO: Processing buffer {"connection_id":145435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa365da08012d9fbe4005befab8000e016028..."} 
[2026-07-27 17:17:35] local.INFO: Packet analysis {"connection_id":145435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa365"} 
[2026-07-27 17:17:35] local.INFO: Extracted packet for processing {"connection_id":145435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa365"} 
[2026-07-27 17:17:35] local.INFO: GPS Element Parsed {"raw_longitude":765443648,"raw_latitude":96402104,"longitude_deg":76.5443648,"latitude_deg":9.6402104,"altitude":14,"angle":352,"satellites":40,"speed":49,"hex_longitude":"2d9fbe40","hex_latitude":"05befab8","is_valid_coordinates":true} 
[2026-07-27 17:17:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:17:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999111936001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:17:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359115731880640512,"note":"Value kept but may cause issues"} 
[2026-07-27 17:17:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6934698976544008192,"note":"Value kept but may cause issues"} 
[2026-07-27 17:17:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:17:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785152789000,"timestamp_ms":1785152789000,"timestamp_seconds":1785152789,"priority":1,"record_length":96,"hex_timestamp":"0000019fa365da08"} 
[2026-07-27 17:17:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:17:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:17:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-27 17:17:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:17:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:17:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:17:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:17:35] local.INFO: Teltonika packet parsed successfully {"connection_id":145435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:17:35] local.INFO: Passing IMEI to GPS processor {"connection_id":145435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:17:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":145435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:17:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:17:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 17:17:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 17:17:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999111936001,"66":27908,"152":206,"83":16640,"24":49,"16":359115731880640512,"45":-6934698976544008192},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,83,24,16,45]} 
[2026-07-27 17:17:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 17:17:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 17:17:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999111936001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:17:35] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-07-27 17:17:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":16640,"description":"Unknown IO ID 83"} 
[2026-07-27 17:17:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359115731880640512,"km_value":359115731880640.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:17:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6934698976544008192,"description":"Unknown IO ID 45"} 
[2026-07-27 17:17:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999111936001,"power":27908,"unknown_152":206,"unknown_83":16640,"ignition":49,"odometer":null,"unknown_45":-6934698976544008192}} 
[2026-07-27 17:17:35] local.INFO: DEBUG: GPS processor result {"connection_id":145435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:17:35] local.INFO: GPS data processed {"connection_id":145435,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:17:35] local.INFO: Acknowledgment sent {"connection_id":145435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:17:38] local.INFO: TCP Data received {"connection_id":143156,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa36568c0012d184e0007218b00004d010d2b..."} 
[2026-07-27 17:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143156,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa36568c0012d184e0007218b00004d010d2b..."} 
[2026-07-27 17:17:38] local.INFO: Processing buffer {"connection_id":143156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa36568c0012d184e0007218b00004d010d2b..."} 
[2026-07-27 17:17:38] local.INFO: Packet analysis {"connection_id":143156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa365"} 
[2026-07-27 17:17:38] local.INFO: Extracted packet for processing {"connection_id":143156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa365"} 
[2026-07-27 17:17:38] local.INFO: GPS Element Parsed {"raw_longitude":756567552,"raw_latitude":119638784,"longitude_deg":75.6567552,"latitude_deg":11.9638784,"altitude":77,"angle":269,"satellites":43,"speed":0,"hex_longitude":"2d184e00","hex_latitude":"07218b00","is_valid_coordinates":true} 
[2026-07-27 17:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:17:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999105792001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:17:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8934601422536704,"note":"Value kept but may cause issues"} 
[2026-07-27 17:17:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1751337335721226240,"note":"Value kept but may cause issues"} 
[2026-07-27 17:17:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:17:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785152760000,"timestamp_ms":1785152760000,"timestamp_seconds":1785152760,"priority":1,"record_length":96,"hex_timestamp":"0000019fa36568c0"} 
[2026-07-27 17:17:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:17:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-07-27 17:17:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:17:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:17:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:17:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:17:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:17:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:17:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:17:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:17:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:17:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:17:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999105792001,"66":13993,"120":206,"28":31744,"24":0,"16":8934601422536704,"45":1751337335721226240},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 17:17:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:17:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:17:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999105792001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:17:38] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 17:17:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:17:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8934601422536704,"km_value":8934601422536.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:17:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1751337335721226240,"description":"Unknown IO ID 45"} 
[2026-07-27 17:17:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999105792001,"power":13993,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1751337335721226240}} 
[2026-07-27 17:17:39] local.INFO: DEBUG: GPS processor result {"connection_id":143156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554369,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:17:39] local.INFO: GPS data processed {"connection_id":143156,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:17:39] local.INFO: Acknowledgment sent {"connection_id":143156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:17:44] local.INFO: TCP Data received {"connection_id":144150,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3659f70012d7ace8005e40de80006009a2c..."} 
[2026-07-27 17:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144150,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3659f70012d7ace8005e40de80006009a2c..."} 
[2026-07-27 17:17:44] local.INFO: Processing buffer {"connection_id":144150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3659f70012d7ace8005e40de80006009a2c..."} 
[2026-07-27 17:17:44] local.INFO: Packet analysis {"connection_id":144150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa365"} 
[2026-07-27 17:17:44] local.INFO: Extracted packet for processing {"connection_id":144150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa365"} 
[2026-07-27 17:17:44] local.INFO: GPS Element Parsed {"raw_longitude":763022976,"raw_latitude":98831848,"longitude_deg":76.3022976,"latitude_deg":9.8831848,"altitude":6,"angle":154,"satellites":44,"speed":30,"hex_longitude":"2d7ace80","hex_latitude":"05e40de8","is_valid_coordinates":true} 
[2026-07-27 17:17:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:17:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999108096001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:17:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111674724563550208,"note":"Value kept but may cause issues"} 
[2026-07-27 17:17:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8843943793551132672,"note":"Value kept but may cause issues"} 
[2026-07-27 17:17:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:17:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785152774000,"timestamp_ms":1785152774000,"timestamp_seconds":1785152774,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3659f70"} 
[2026-07-27 17:17:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:17:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:17:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-27 17:17:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:17:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:17:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:17:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:17:44] local.INFO: Teltonika packet parsed successfully {"connection_id":144150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:17:44] local.INFO: Passing IMEI to GPS processor {"connection_id":144150,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:17:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":144150,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:17:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:17:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 17:17:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 17:17:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999108096001,"66":12874,"97":206,"85":15104,"24":30,"16":111674724563550208,"45":8843943793551132672},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-27 17:17:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 17:17:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 17:17:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999108096001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:17:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-27 17:17:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 17:17:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111674724563550208,"km_value":111674724563550.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:17:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8843943793551132672,"description":"Unknown IO ID 45"} 
[2026-07-27 17:17:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999108096001,"power":12874,"unknown_97":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":8843943793551132672}} 
[2026-07-27 17:17:45] local.INFO: DEBUG: GPS processor result {"connection_id":144150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554370,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:17:45] local.INFO: GPS data processed {"connection_id":144150,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:17:45] local.INFO: Acknowledgment sent {"connection_id":144150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:17:59] local.INFO: TCP Data received {"connection_id":143008,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143008,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:17:59] local.INFO: Processing buffer {"connection_id":143008,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:17:59] local.INFO: IMEI packet received {"connection_id":143008,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 17:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":143008,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:18:04] local.INFO: TCP Data received {"connection_id":143008,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143008,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:18:04] local.INFO: Processing buffer {"connection_id":143008,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:18:04] local.INFO: IMEI packet received {"connection_id":143008,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 17:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":143008,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:18:05] local.INFO: TCP Data received {"connection_id":143008,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3656ca8012d184d4007218b28004d01192b..."} 
[2026-07-27 17:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143008,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3656ca8012d184d4007218b28004d01192b..."} 
[2026-07-27 17:18:05] local.INFO: Processing buffer {"connection_id":143008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3656ca8012d184d4007218b28004d01192b..."} 
[2026-07-27 17:18:05] local.INFO: Packet analysis {"connection_id":143008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa365"} 
[2026-07-27 17:18:05] local.INFO: Extracted packet for processing {"connection_id":143008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa365"} 
[2026-07-27 17:18:05] local.INFO: GPS Element Parsed {"raw_longitude":756567360,"raw_latitude":119638824,"longitude_deg":75.656736,"latitude_deg":11.9638824,"altitude":77,"angle":281,"satellites":43,"speed":4,"hex_longitude":"2d184d40","hex_latitude":"07218b28","is_valid_coordinates":true} 
[2026-07-27 17:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:18:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999106560001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:18:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8934610012471296,"note":"Value kept but may cause issues"} 
[2026-07-27 17:18:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1751337335721230336,"note":"Value kept but may cause issues"} 
[2026-07-27 17:18:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:18:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785152761000,"timestamp_ms":1785152761000,"timestamp_seconds":1785152761,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3656ca8"} 
[2026-07-27 17:18:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:18:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-27 17:18:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:18:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:18:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:18:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:18:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:18:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:18:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:18:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:18:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:18:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:18:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999106560001,"66":13993,"120":206,"28":31744,"24":4,"16":8934610012471296,"45":1751337335721230336},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 17:18:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:18:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:18:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999106560001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:18:05] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 17:18:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:18:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8934610012471296,"km_value":8934610012471.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:18:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1751337335721230336,"description":"Unknown IO ID 45"} 
[2026-07-27 17:18:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999106560001,"power":13993,"unknown_120":206,"unknown_28":31744,"ignition":4,"odometer":null,"unknown_45":1751337335721230336}} 
[2026-07-27 17:18:05] local.INFO: DEBUG: GPS processor result {"connection_id":143008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554371,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:18:05] local.INFO: GPS data processed {"connection_id":143008,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:18:05] local.INFO: Acknowledgment sent {"connection_id":143008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:18:06] local.INFO: TCP Data received {"connection_id":145435,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fa365f560012d9fbac005bf1918000d00032c..."} 
[2026-07-27 17:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa365f560012d9fbac005bf1918000d00032c..."} 
[2026-07-27 17:18:06] local.INFO: Processing buffer {"connection_id":145435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa365f560012d9fbac005bf1918000d00032c..."} 
[2026-07-27 17:18:06] local.INFO: Packet analysis {"connection_id":145435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa365"} 
[2026-07-27 17:18:06] local.INFO: Extracted packet for processing {"connection_id":145435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa365"} 
[2026-07-27 17:18:06] local.INFO: GPS Element Parsed {"raw_longitude":765442752,"raw_latitude":96409880,"longitude_deg":76.5442752,"latitude_deg":9.640988,"altitude":13,"angle":3,"satellites":44,"speed":41,"hex_longitude":"2d9fbac0","hex_latitude":"05bf1918","is_valid_coordinates":true} 
[2026-07-27 17:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:18:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999113984001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:18:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359116114132729856,"note":"Value kept but may cause issues"} 
[2026-07-27 17:18:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6936035982680868864,"note":"Value kept but may cause issues"} 
[2026-07-27 17:18:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:18:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785152796000,"timestamp_ms":1785152796000,"timestamp_seconds":1785152796,"priority":1,"record_length":96,"hex_timestamp":"0000019fa365f560"} 
[2026-07-27 17:18:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:18:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-27 17:18:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:18:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:18:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:18:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:18:06] local.INFO: Teltonika packet parsed successfully {"connection_id":145435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:18:06] local.INFO: Passing IMEI to GPS processor {"connection_id":145435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:18:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":145435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:18:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:18:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 17:18:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 17:18:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999113984001,"66":27908,"152":206,"83":16640,"24":41,"16":359116114132729856,"45":-6936035982680868864},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,83,24,16,45]} 
[2026-07-27 17:18:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 17:18:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 17:18:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999113984001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:18:06] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-07-27 17:18:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":16640,"description":"Unknown IO ID 83"} 
[2026-07-27 17:18:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359116114132729856,"km_value":359116114132729.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:18:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6936035982680868864,"description":"Unknown IO ID 45"} 
[2026-07-27 17:18:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999113984001,"power":27908,"unknown_152":206,"unknown_83":16640,"ignition":41,"odometer":null,"unknown_45":-6936035982680868864}} 
[2026-07-27 17:18:06] local.INFO: DEBUG: GPS processor result {"connection_id":145435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:18:06] local.INFO: GPS data processed {"connection_id":145435,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:18:06] local.INFO: Acknowledgment sent {"connection_id":145435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:18:08] local.INFO: TCP Data received {"connection_id":143009,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143009,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:18:08] local.INFO: Processing buffer {"connection_id":143009,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:18:08] local.INFO: IMEI packet received {"connection_id":143009,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 17:18:08] local.INFO: IMEI acknowledgment sent {"connection_id":143009,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:18:08] local.INFO: TCP Data received {"connection_id":143009,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143009,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:18:08] local.INFO: Processing buffer {"connection_id":143009,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:18:08] local.INFO: IMEI packet received {"connection_id":143009,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 17:18:08] local.INFO: IMEI acknowledgment sent {"connection_id":143009,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:18:12] local.INFO: TCP Data received {"connection_id":143009,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143009,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:18:12] local.INFO: Processing buffer {"connection_id":143009,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:18:12] local.INFO: IMEI packet received {"connection_id":143009,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 17:18:12] local.INFO: IMEI acknowledgment sent {"connection_id":143009,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:18:14] local.INFO: TCP Data received {"connection_id":143009,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa365ab28012d7ad10005e405e0000600aa2b..."} 
[2026-07-27 17:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa365ab28012d7ad10005e405e0000600aa2b..."} 
[2026-07-27 17:18:14] local.INFO: Processing buffer {"connection_id":143009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa365ab28012d7ad10005e405e0000600aa2b..."} 
[2026-07-27 17:18:14] local.INFO: Packet analysis {"connection_id":143009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa365"} 
[2026-07-27 17:18:14] local.INFO: Extracted packet for processing {"connection_id":143009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa365"} 
[2026-07-27 17:18:14] local.INFO: GPS Element Parsed {"raw_longitude":763023616,"raw_latitude":98829792,"longitude_deg":76.3023616,"latitude_deg":9.8829792,"altitude":6,"angle":170,"satellites":43,"speed":29,"hex_longitude":"2d7ad100","hex_latitude":"05e405e0","is_valid_coordinates":true} 
[2026-07-27 17:18:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:18:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999110144001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:18:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111674827642765312,"note":"Value kept but may cause issues"} 
[2026-07-27 17:18:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8849151080618911744,"note":"Value kept but may cause issues"} 
[2026-07-27 17:18:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:18:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785152777000,"timestamp_ms":1785152777000,"timestamp_seconds":1785152777,"priority":1,"record_length":96,"hex_timestamp":"0000019fa365ab28"} 
[2026-07-27 17:18:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:18:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12544,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:18:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-07-27 17:18:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1114,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:18:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:18:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:18:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:18:14] local.INFO: Teltonika packet parsed successfully {"connection_id":143009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:18:14] local.INFO: Passing IMEI to GPS processor {"connection_id":143009,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:18:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":143009,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:18:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:18:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 17:18:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 17:18:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999110144001,"66":13135,"97":206,"85":15104,"24":29,"16":111674827642765312,"45":8849151080618911744},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-27 17:18:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 17:18:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 17:18:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999110144001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:18:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-27 17:18:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 17:18:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111674827642765312,"km_value":111674827642765.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:18:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8849151080618911744,"description":"Unknown IO ID 45"} 
[2026-07-27 17:18:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999110144001,"power":13135,"unknown_97":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":8849151080618911744}} 
[2026-07-27 17:18:14] local.INFO: DEBUG: GPS processor result {"connection_id":143009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554373,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:18:14] local.INFO: GPS data processed {"connection_id":143009,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:18:14] local.INFO: Acknowledgment sent {"connection_id":143009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:18:32] local.INFO: TCP Data received {"connection_id":144151,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:18:32] local.INFO: Processing buffer {"connection_id":144151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:18:32] local.INFO: IMEI packet received {"connection_id":144151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 17:18:32] local.INFO: IMEI acknowledgment sent {"connection_id":144151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:18:36] local.INFO: TCP Data received {"connection_id":144151,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:18:36] local.INFO: Processing buffer {"connection_id":144151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:18:36] local.INFO: IMEI packet received {"connection_id":144151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 17:18:36] local.INFO: IMEI acknowledgment sent {"connection_id":144151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:18:37] local.INFO: TCP Data received {"connection_id":143008,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3657478012d184bc007218bb8004e012a2b..."} 
[2026-07-27 17:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143008,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3657478012d184bc007218bb8004e012a2b..."} 
[2026-07-27 17:18:37] local.INFO: Processing buffer {"connection_id":143008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3657478012d184bc007218bb8004e012a2b..."} 
[2026-07-27 17:18:37] local.INFO: Packet analysis {"connection_id":143008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa365"} 
[2026-07-27 17:18:37] local.INFO: Extracted packet for processing {"connection_id":143008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa365"} 
[2026-07-27 17:18:37] local.INFO: GPS Element Parsed {"raw_longitude":756566976,"raw_latitude":119638968,"longitude_deg":75.6566976,"latitude_deg":11.9638968,"altitude":78,"angle":298,"satellites":43,"speed":9,"hex_longitude":"2d184bc0","hex_latitude":"07218bb8","is_valid_coordinates":true} 
[2026-07-27 17:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999106816001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8934627192340480,"note":"Value kept but may cause issues"} 
[2026-07-27 17:18:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1751126229488707584,"note":"Value kept but may cause issues"} 
[2026-07-27 17:18:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785152763000,"timestamp_ms":1785152763000,"timestamp_seconds":1785152763,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3657478"} 
[2026-07-27 17:18:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:18:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-27 17:18:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:18:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:18:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:18:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999106816001,"66":14004,"120":206,"28":31744,"24":9,"16":8934627192340480,"45":1751126229488707584},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 17:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999106816001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:18:37] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 17:18:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:18:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8934627192340480,"km_value":8934627192340.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:18:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1751126229488707584,"description":"Unknown IO ID 45"} 
[2026-07-27 17:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999106816001,"power":14004,"unknown_120":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1751126229488707584}} 
[2026-07-27 17:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":143008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554374,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:18:37] local.INFO: GPS data processed {"connection_id":143008,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:18:37] local.INFO: Acknowledgment sent {"connection_id":143008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:18:38] local.INFO: TCP Data received {"connection_id":144151,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3660118012d9fbc8005bf23c0000d00132b..."} 
[2026-07-27 17:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3660118012d9fbc8005bf23c0000d00132b..."} 
[2026-07-27 17:18:38] local.INFO: Processing buffer {"connection_id":144151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3660118012d9fbc8005bf23c0000d00132b..."} 
[2026-07-27 17:18:38] local.INFO: Packet analysis {"connection_id":144151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa366"} 
[2026-07-27 17:18:38] local.INFO: Extracted packet for processing {"connection_id":144151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa366"} 
[2026-07-27 17:18:38] local.INFO: GPS Element Parsed {"raw_longitude":765443200,"raw_latitude":96412608,"longitude_deg":76.54432,"latitude_deg":9.6412608,"altitude":13,"angle":19,"satellites":43,"speed":34,"hex_longitude":"2d9fbc80","hex_latitude":"05bf23c0","is_valid_coordinates":true} 
[2026-07-27 17:18:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:18:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999115776001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:18:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359116247276716032,"note":"Value kept but may cause issues"} 
[2026-07-27 17:18:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6937021145097365504,"note":"Value kept but may cause issues"} 
[2026-07-27 17:18:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:18:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785152799000,"timestamp_ms":1785152799000,"timestamp_seconds":1785152799,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3660118"} 
[2026-07-27 17:18:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:18:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:18:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-27 17:18:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:18:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:18:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:18:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:18:38] local.INFO: Teltonika packet parsed successfully {"connection_id":144151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:18:38] local.INFO: Passing IMEI to GPS processor {"connection_id":144151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:18:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":144151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:18:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:18:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 17:18:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 17:18:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999115776001,"66":27767,"152":206,"83":16640,"24":34,"16":359116247276716032,"45":-6937021145097365504},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,83,24,16,45]} 
[2026-07-27 17:18:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 17:18:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 17:18:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999115776001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:18:38] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-07-27 17:18:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":16640,"description":"Unknown IO ID 83"} 
[2026-07-27 17:18:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359116247276716032,"km_value":359116247276716.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:18:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6937021145097365504,"description":"Unknown IO ID 45"} 
[2026-07-27 17:18:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999115776001,"power":27767,"unknown_152":206,"unknown_83":16640,"ignition":34,"odometer":null,"unknown_45":-6937021145097365504}} 
[2026-07-27 17:18:38] local.INFO: DEBUG: GPS processor result {"connection_id":144151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:18:38] local.INFO: GPS data processed {"connection_id":144151,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:18:38] local.INFO: Acknowledgment sent {"connection_id":144151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:18:45] local.INFO: TCP Data received {"connection_id":143009,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa36783d0012d7b158005e2f230000a00a920..."} 
[2026-07-27 17:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa36783d0012d7b158005e2f230000a00a920..."} 
[2026-07-27 17:18:45] local.INFO: Processing buffer {"connection_id":143009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa36783d0012d7b158005e2f230000a00a920..."} 
[2026-07-27 17:18:45] local.INFO: Packet analysis {"connection_id":143009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa367"} 
[2026-07-27 17:18:45] local.INFO: Extracted packet for processing {"connection_id":143009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa367"} 
[2026-07-27 17:18:45] local.INFO: GPS Element Parsed {"raw_longitude":763041152,"raw_latitude":98759216,"longitude_deg":76.3041152,"latitude_deg":9.8759216,"altitude":10,"angle":169,"satellites":32,"speed":29,"hex_longitude":"2d7b1580","hex_latitude":"05e2f230","is_valid_coordinates":true} 
[2026-07-27 17: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-07-27 17:18:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999138816001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:18:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111678379580719104,"note":"Value kept but may cause issues"} 
[2026-07-27 17:18:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867235847856293888,"note":"Value kept but may cause issues"} 
[2026-07-27 17:18:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:18:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785152898000,"timestamp_ms":1785152898000,"timestamp_seconds":1785152898,"priority":1,"record_length":96,"hex_timestamp":"0000019fa36783d0"} 
[2026-07-27 17:18:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:18:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-27 17:18:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17: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-07-27 17:18:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:18:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:18:45] local.INFO: Teltonika packet parsed successfully {"connection_id":143009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:18:45] local.INFO: Passing IMEI to GPS processor {"connection_id":143009,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:18:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":143009,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:18:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:18:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 17:18:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 17:18:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999138816001,"66":12906,"97":206,"85":15104,"24":29,"16":111678379580719104,"45":8867235847856293888},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-27 17:18:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 17:18:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 17:18:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999138816001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:18:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-27 17:18:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 17:18:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111678379580719104,"km_value":111678379580719.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:18:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867235847856293888,"description":"Unknown IO ID 45"} 
[2026-07-27 17:18:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999138816001,"power":12906,"unknown_97":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":8867235847856293888}} 
[2026-07-27 17:18:45] local.INFO: DEBUG: GPS processor result {"connection_id":143009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554376,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:18:45] local.INFO: GPS data processed {"connection_id":143009,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:18:45] local.INFO: Acknowledgment sent {"connection_id":143009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:19:04] local.INFO: TCP Data received {"connection_id":145436,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145436,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:19:04] local.INFO: Processing buffer {"connection_id":145436,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:19:04] local.INFO: IMEI packet received {"connection_id":145436,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 17:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":145436,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:19:05] local.INFO: TCP Data received {"connection_id":145436,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145436,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:19:05] local.INFO: Processing buffer {"connection_id":145436,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:19:05] local.INFO: IMEI packet received {"connection_id":145436,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 17:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":145436,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:19:05] local.INFO: TCP Data received {"connection_id":143157,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143157,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:19:05] local.INFO: Processing buffer {"connection_id":143157,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:19:05] local.INFO: IMEI packet received {"connection_id":143157,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 17:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":143157,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:19:06] local.INFO: TCP Data received {"connection_id":145436,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa36702e8012d1823800721b6a8004e00b12b..."} 
[2026-07-27 17:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa36702e8012d1823800721b6a8004e00b12b..."} 
[2026-07-27 17:19:06] local.INFO: Processing buffer {"connection_id":145436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa36702e8012d1823800721b6a8004e00b12b..."} 
[2026-07-27 17:19:06] local.INFO: Packet analysis {"connection_id":145436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa367"} 
[2026-07-27 17:19:06] local.INFO: Extracted packet for processing {"connection_id":145436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa367"} 
[2026-07-27 17:19:06] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119649960,"longitude_deg":75.6556672,"latitude_deg":11.964996,"altitude":78,"angle":177,"satellites":43,"speed":5,"hex_longitude":"2d182380","hex_latitude":"0721b6a8","is_valid_coordinates":true} 
[2026-07-27 17:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999133184001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:19:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8935584970047488,"note":"Value kept but may cause issues"} 
[2026-07-27 17:19:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213921280,"note":"Value kept but may cause issues"} 
[2026-07-27 17:19:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:19:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785152865000,"timestamp_ms":1785152865000,"timestamp_seconds":1785152865,"priority":1,"record_length":96,"hex_timestamp":"0000019fa36702e8"} 
[2026-07-27 17:19:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:19:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-27 17:19:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:19:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:19:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:19:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:19:06] local.INFO: Teltonika packet parsed successfully {"connection_id":145436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:19:06] local.INFO: Passing IMEI to GPS processor {"connection_id":145436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:19:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":145436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:19:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:19:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:19:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:19:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999133184001,"66":13243,"120":206,"28":31744,"24":5,"16":8935584970047488,"45":1739374649213921280},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 17:19:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:19:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:19:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999133184001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:19:06] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 17:19:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:19:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8935584970047488,"km_value":8935584970047.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:19:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213921280,"description":"Unknown IO ID 45"} 
[2026-07-27 17:19:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999133184001,"power":13243,"unknown_120":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1739374649213921280}} 
[2026-07-27 17:19:07] local.INFO: DEBUG: GPS processor result {"connection_id":145436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554377,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:19:07] local.INFO: GPS data processed {"connection_id":145436,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:19:07] local.INFO: Acknowledgment sent {"connection_id":145436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:19:07] local.INFO: TCP Data received {"connection_id":143157,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143157,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:19:07] local.INFO: Processing buffer {"connection_id":143157,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:19:07] local.INFO: IMEI packet received {"connection_id":143157,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 17:19:07] local.INFO: IMEI acknowledgment sent {"connection_id":143157,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:19:09] local.INFO: TCP Data received {"connection_id":144151,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fa36608e8012d9fc00005bf2a18000c00232b..."} 
[2026-07-27 17:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa36608e8012d9fc00005bf2a18000c00232b..."} 
[2026-07-27 17:19:09] local.INFO: Processing buffer {"connection_id":144151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa36608e8012d9fc00005bf2a18000c00232b..."} 
[2026-07-27 17:19:09] local.INFO: Packet analysis {"connection_id":144151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa366"} 
[2026-07-27 17:19:09] local.INFO: Extracted packet for processing {"connection_id":144151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa366"} 
[2026-07-27 17:19:09] local.INFO: GPS Element Parsed {"raw_longitude":765444096,"raw_latitude":96414232,"longitude_deg":76.5444096,"latitude_deg":9.6414232,"altitude":12,"angle":35,"satellites":43,"speed":38,"hex_longitude":"2d9fc000","hex_latitude":"05bf2a18","is_valid_coordinates":true} 
[2026-07-27 17:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:19:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999116544001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:19:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359116337471029248,"note":"Value kept but may cause issues"} 
[2026-07-27 17:19:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6936528563887423488,"note":"Value kept but may cause issues"} 
[2026-07-27 17:19:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:19:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785152801000,"timestamp_ms":1785152801000,"timestamp_seconds":1785152801,"priority":1,"record_length":96,"hex_timestamp":"0000019fa36608e8"} 
[2026-07-27 17:19:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:19:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-27 17:19:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:19:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:19:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:19:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:19:09] local.INFO: Teltonika packet parsed successfully {"connection_id":144151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:19:09] local.INFO: Passing IMEI to GPS processor {"connection_id":144151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:19:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":144151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17: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-07-27 17:19:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 17:19:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 17:19:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999116544001,"66":27767,"152":206,"83":16640,"24":38,"16":359116337471029248,"45":-6936528563887423488},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,83,24,16,45]} 
[2026-07-27 17:19:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 17:19:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 17:19:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999116544001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:19:09] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-07-27 17:19:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":16640,"description":"Unknown IO ID 83"} 
[2026-07-27 17:19:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359116337471029248,"km_value":359116337471029.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:19:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6936528563887423488,"description":"Unknown IO ID 45"} 
[2026-07-27 17:19:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999116544001,"power":27767,"unknown_152":206,"unknown_83":16640,"ignition":38,"odometer":null,"unknown_45":-6936528563887423488}} 
[2026-07-27 17:19:09] local.INFO: DEBUG: GPS processor result {"connection_id":144151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:19:09] local.INFO: GPS data processed {"connection_id":144151,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:19:09] local.INFO: Acknowledgment sent {"connection_id":144151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:19:10] local.INFO: TCP Data received {"connection_id":145436,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa36754f0012d1821800721b358004e00bc2b..."} 
[2026-07-27 17:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa36754f0012d1821800721b358004e00bc2b..."} 
[2026-07-27 17:19:10] local.INFO: Processing buffer {"connection_id":145436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa36754f0012d1821800721b358004e00bc2b..."} 
[2026-07-27 17:19:10] local.INFO: Packet analysis {"connection_id":145436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa367"} 
[2026-07-27 17:19:10] local.INFO: Extracted packet for processing {"connection_id":145436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa367"} 
[2026-07-27 17:19:10] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649112,"longitude_deg":75.655616,"latitude_deg":11.9649112,"altitude":78,"angle":188,"satellites":43,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b358","is_valid_coordinates":true} 
[2026-07-27 17:19:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:19:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999133440001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:19:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8935640804622336,"note":"Value kept but may cause issues"} 
[2026-07-27 17:19:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213888512,"note":"Value kept but may cause issues"} 
[2026-07-27 17:19:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:19:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785152886000,"timestamp_ms":1785152886000,"timestamp_seconds":1785152886,"priority":1,"record_length":96,"hex_timestamp":"0000019fa36754f0"} 
[2026-07-27 17:19:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:19:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-27 17:19:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:19:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:19:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:19:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:19:10] local.INFO: Teltonika packet parsed successfully {"connection_id":145436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:19:10] local.INFO: Passing IMEI to GPS processor {"connection_id":145436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:19:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":145436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:19:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:19:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:19:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:19:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999133440001,"66":13124,"120":206,"28":31744,"24":0,"16":8935640804622336,"45":1739374649213888512},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 17:19:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:19:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:19:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999133440001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:19:10] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 17:19:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:19:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8935640804622336,"km_value":8935640804622.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:19:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213888512,"description":"Unknown IO ID 45"} 
[2026-07-27 17:19:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999133440001,"power":13124,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739374649213888512}} 
[2026-07-27 17:19:10] local.INFO: DEBUG: GPS processor result {"connection_id":145436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554379,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:19:10] local.INFO: GPS data processed {"connection_id":145436,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:19:10] local.INFO: Acknowledgment sent {"connection_id":145436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:19:12] local.INFO: TCP Data received {"connection_id":143157,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143157,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:19:12] local.INFO: Processing buffer {"connection_id":143157,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:19:12] local.INFO: IMEI packet received {"connection_id":143157,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 17:19:12] local.INFO: IMEI acknowledgment sent {"connection_id":143157,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:19:13] local.INFO: TCP Data received {"connection_id":143157,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa367b2b0012d7b1b4005e2cd58000a00ac1c..."} 
[2026-07-27 17:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa367b2b0012d7b1b4005e2cd58000a00ac1c..."} 
[2026-07-27 17:19:13] local.INFO: Processing buffer {"connection_id":143157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa367b2b0012d7b1b4005e2cd58000a00ac1c..."} 
[2026-07-27 17:19:13] local.INFO: Packet analysis {"connection_id":143157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa367"} 
[2026-07-27 17:19:13] local.INFO: Extracted packet for processing {"connection_id":143157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa367"} 
[2026-07-27 17:19:13] local.INFO: GPS Element Parsed {"raw_longitude":763042624,"raw_latitude":98749784,"longitude_deg":76.3042624,"latitude_deg":9.8749784,"altitude":10,"angle":172,"satellites":28,"speed":31,"hex_longitude":"2d7b1b40","hex_latitude":"05e2cd58","is_valid_coordinates":true} 
[2026-07-27 17:19:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:19:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999141888001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:19:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111678843437187072,"note":"Value kept but may cause issues"} 
[2026-07-27 17:19:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8869135803946774528,"note":"Value kept but may cause issues"} 
[2026-07-27 17:19:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:19:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785152910000,"timestamp_ms":1785152910000,"timestamp_seconds":1785152910,"priority":1,"record_length":96,"hex_timestamp":"0000019fa367b2b0"} 
[2026-07-27 17:19:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:19:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17: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":106,"data_length":795,"current_offset":136} 
[2026-07-27 17:19:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:19:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:19:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:19:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:19:13] local.INFO: Teltonika packet parsed successfully {"connection_id":143157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:19:13] local.INFO: Passing IMEI to GPS processor {"connection_id":143157,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:19:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":143157,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:19:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:19:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 17:19:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 17:19:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999141888001,"66":12874,"96":206,"85":15104,"24":31,"16":111678843437187072,"45":8869135803946774528},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-07-27 17:19:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 17:19:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 17:19:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999141888001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:19:13] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-27 17:19:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 17:19:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111678843437187072,"km_value":111678843437187.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:19:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8869135803946774528,"description":"Unknown IO ID 45"} 
[2026-07-27 17:19:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999141888001,"power":12874,"unknown_96":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":8869135803946774528}} 
[2026-07-27 17:19:13] local.INFO: DEBUG: GPS processor result {"connection_id":143157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554380,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:19:13] local.INFO: GPS data processed {"connection_id":143157,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:19:13] local.INFO: Acknowledgment sent {"connection_id":143157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:19:31] local.INFO: TCP Data received {"connection_id":143158,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:19:31] local.INFO: Processing buffer {"connection_id":143158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:19:31] local.INFO: IMEI packet received {"connection_id":143158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 17:19:31] local.INFO: IMEI acknowledgment sent {"connection_id":143158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:19:32] local.INFO: TCP Data received {"connection_id":143158,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:19:32] local.INFO: Processing buffer {"connection_id":143158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:19:32] local.INFO: IMEI packet received {"connection_id":143158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 17:19:32] local.INFO: IMEI acknowledgment sent {"connection_id":143158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:19:37] local.INFO: TCP Data received {"connection_id":143158,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:19:37] local.INFO: Processing buffer {"connection_id":143158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:19:37] local.INFO: IMEI packet received {"connection_id":143158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 17:19:37] local.INFO: IMEI acknowledgment sent {"connection_id":143158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:19:38] local.INFO: TCP Data received {"connection_id":143158,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3679b40012da04b4005c00d000011002328..."} 
[2026-07-27 17:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3679b40012da04b4005c00d000011002328..."} 
[2026-07-27 17:19:38] local.INFO: Processing buffer {"connection_id":143158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3679b40012da04b4005c00d000011002328..."} 
[2026-07-27 17:19:38] local.INFO: Packet analysis {"connection_id":143158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa367"} 
[2026-07-27 17:19:38] local.INFO: Extracted packet for processing {"connection_id":143158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa367"} 
[2026-07-27 17:19:38] local.INFO: GPS Element Parsed {"raw_longitude":765479744,"raw_latitude":96472320,"longitude_deg":76.5479744,"latitude_deg":9.647232,"altitude":17,"angle":35,"satellites":40,"speed":15,"hex_longitude":"2da04b40","hex_latitude":"05c00d00","is_valid_coordinates":true} 
[2026-07-27 17:19:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:19:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999138048001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:19:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359119687545520128,"note":"Value kept but may cause issues"} 
[2026-07-27 17:19:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6902118247971018752,"note":"Value kept but may cause issues"} 
[2026-07-27 17:19:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:19:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785152904000,"timestamp_ms":1785152904000,"timestamp_seconds":1785152904,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3679b40"} 
[2026-07-27 17:19:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:19:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:19:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-27 17:19:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:19:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:19:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:19:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:19:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:19:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:19:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:19:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:19:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 17:19:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 17:19:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999138048001,"66":27800,"92":206,"83":16896,"24":15,"16":359119687545520128,"45":-6902118247971018752},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,83,24,16,45]} 
[2026-07-27 17:19:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 17:19:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 17:19:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999138048001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:19:38] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-07-27 17:19:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-27 17:19:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359119687545520128,"km_value":359119687545520.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:19:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6902118247971018752,"description":"Unknown IO ID 45"} 
[2026-07-27 17:19:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999138048001,"power":27800,"unknown_92":206,"unknown_83":16896,"ignition":15,"odometer":null,"unknown_45":-6902118247971018752}} 
[2026-07-27 17:19:38] local.INFO: DEBUG: GPS processor result {"connection_id":143158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:19:38] local.INFO: GPS data processed {"connection_id":143158,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:19:38] local.INFO: Acknowledgment sent {"connection_id":143158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:19:42] local.INFO: TCP Data received {"connection_id":145436,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa367a6f8012d1821800721b358004e00bc2a..."} 
[2026-07-27 17:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa367a6f8012d1821800721b358004e00bc2a..."} 
[2026-07-27 17:19:42] local.INFO: Processing buffer {"connection_id":145436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa367a6f8012d1821800721b358004e00bc2a..."} 
[2026-07-27 17:19:42] local.INFO: Packet analysis {"connection_id":145436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa367"} 
[2026-07-27 17:19:42] local.INFO: Extracted packet for processing {"connection_id":145436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa367"} 
[2026-07-27 17:19:42] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649112,"longitude_deg":75.655616,"latitude_deg":11.9649112,"altitude":78,"angle":188,"satellites":42,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b358","is_valid_coordinates":true} 
[2026-07-27 17:19:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:19:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999138816001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:19:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8935640804622336,"note":"Value kept but may cause issues"} 
[2026-07-27 17:19:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260250112,"note":"Value kept but may cause issues"} 
[2026-07-27 17:19:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:19:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785152907000,"timestamp_ms":1785152907000,"timestamp_seconds":1785152907,"priority":1,"record_length":96,"hex_timestamp":"0000019fa367a6f8"} 
[2026-07-27 17:19:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:19:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:19:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-07-27 17:19:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1065,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:19:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:19:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:19:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:19:42] local.INFO: Teltonika packet parsed successfully {"connection_id":145436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:19:42] local.INFO: Passing IMEI to GPS processor {"connection_id":145436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:19:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":145436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:19:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:19:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:19:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:19:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999138816001,"66":12461,"120":206,"28":31744,"24":0,"16":8935640804622336,"45":1738811699260250112},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 17:19:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:19:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:19:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999138816001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:19:42] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 17:19:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:19:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8935640804622336,"km_value":8935640804622.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:19:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260250112,"description":"Unknown IO ID 45"} 
[2026-07-27 17:19:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999138816001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738811699260250112}} 
[2026-07-27 17:19:42] local.INFO: DEBUG: GPS processor result {"connection_id":145436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554382,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:19:42] local.INFO: GPS data processed {"connection_id":145436,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:19:42] local.INFO: Acknowledgment sent {"connection_id":145436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:19:44] local.INFO: TCP Data received {"connection_id":143157,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa367dda8012d7b214005e2a8b8000500aa1f..."} 
[2026-07-27 17:19:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa367dda8012d7b214005e2a8b8000500aa1f..."} 
[2026-07-27 17:19:44] local.INFO: Processing buffer {"connection_id":143157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa367dda8012d7b214005e2a8b8000500aa1f..."} 
[2026-07-27 17:19:44] local.INFO: Packet analysis {"connection_id":143157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa367"} 
[2026-07-27 17:19:44] local.INFO: Extracted packet for processing {"connection_id":143157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa367"} 
[2026-07-27 17:19:44] local.INFO: GPS Element Parsed {"raw_longitude":763044160,"raw_latitude":98740408,"longitude_deg":76.304416,"latitude_deg":9.8740408,"altitude":5,"angle":170,"satellites":31,"speed":34,"hex_longitude":"2d7b2140","hex_latitude":"05e2a8b8","is_valid_coordinates":true} 
[2026-07-27 17: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-07-27 17:19:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999144960001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:19:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111679302998687744,"note":"Value kept but may cause issues"} 
[2026-07-27 17:19:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8870754285060446208,"note":"Value kept but may cause issues"} 
[2026-07-27 17:19:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:19:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785152921000,"timestamp_ms":1785152921000,"timestamp_seconds":1785152921,"priority":1,"record_length":96,"hex_timestamp":"0000019fa367dda8"} 
[2026-07-27 17:19:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:19:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17: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":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-07-27 17:19:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1114,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17: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-07-27 17:19:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:19:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:19:44] local.INFO: Teltonika packet parsed successfully {"connection_id":143157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:19:44] local.INFO: Passing IMEI to GPS processor {"connection_id":143157,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:19:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":143157,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:19:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:19:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 17:19:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 17:19:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999144960001,"66":12961,"96":206,"85":15104,"24":34,"16":111679302998687744,"45":8870754285060446208},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-07-27 17:19:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 17:19:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 17:19:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999144960001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:19:44] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-27 17:19:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 17:19:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111679302998687744,"km_value":111679302998687.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:19:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8870754285060446208,"description":"Unknown IO ID 45"} 
[2026-07-27 17:19:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999144960001,"power":12961,"unknown_96":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":8870754285060446208}} 
[2026-07-27 17:19:44] local.INFO: DEBUG: GPS processor result {"connection_id":143157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554383,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:19:44] local.INFO: GPS data processed {"connection_id":143157,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:19:44] local.INFO: Acknowledgment sent {"connection_id":143157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:20:00] local.INFO: TCP Data received {"connection_id":145437,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145437,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:20:00] local.INFO: Processing buffer {"connection_id":145437,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:20:00] local.INFO: IMEI packet received {"connection_id":145437,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 17:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":145437,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:20:04] local.INFO: TCP Data received {"connection_id":145437,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145437,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:20:04] local.INFO: Processing buffer {"connection_id":145437,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:20:04] local.INFO: IMEI packet received {"connection_id":145437,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 17:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":145437,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:20:07] local.INFO: TCP Data received {"connection_id":145437,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa367f900012d1821800721b358004e00bc2c..."} 
[2026-07-27 17:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa367f900012d1821800721b358004e00bc2c..."} 
[2026-07-27 17:20:07] local.INFO: Processing buffer {"connection_id":145437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa367f900012d1821800721b358004e00bc2c..."} 
[2026-07-27 17:20:07] local.INFO: Packet analysis {"connection_id":145437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa367"} 
[2026-07-27 17:20:07] local.INFO: Extracted packet for processing {"connection_id":145437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa367"} 
[2026-07-27 17:20:07] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649112,"longitude_deg":75.655616,"latitude_deg":11.9649112,"altitude":78,"angle":188,"satellites":44,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b358","is_valid_coordinates":true} 
[2026-07-27 17:20:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:20:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999144192001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:20:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8935640804622336,"note":"Value kept but may cause issues"} 
[2026-07-27 17:20:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260250112,"note":"Value kept but may cause issues"} 
[2026-07-27 17:20:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:20:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785152928000,"timestamp_ms":1785152928000,"timestamp_seconds":1785152928,"priority":1,"record_length":96,"hex_timestamp":"0000019fa367f900"} 
[2026-07-27 17:20:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:20:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:20:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-27 17:20:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:20:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:20:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:20:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:20:07] local.INFO: Teltonika packet parsed successfully {"connection_id":145437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:20:07] local.INFO: Passing IMEI to GPS processor {"connection_id":145437,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:20:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":145437,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:20:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:20:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:20:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:20:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999144192001,"66":12972,"120":206,"28":31744,"24":0,"16":8935640804622336,"45":1738811699260250112},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 17:20:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:20:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:20:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999144192001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:20:07] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 17:20:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:20:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8935640804622336,"km_value":8935640804622.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:20:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260250112,"description":"Unknown IO ID 45"} 
[2026-07-27 17:20:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999144192001,"power":12972,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738811699260250112}} 
[2026-07-27 17:20:07] local.INFO: DEBUG: GPS processor result {"connection_id":145437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554384,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:20:07] local.INFO: GPS data processed {"connection_id":145437,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:20:07] local.INFO: Acknowledgment sent {"connection_id":145437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:20:07] local.INFO: TCP Data received {"connection_id":143010,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143010,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:20:07] local.INFO: Processing buffer {"connection_id":143010,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:20:07] local.INFO: IMEI packet received {"connection_id":143010,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 17:20:07] local.INFO: IMEI acknowledgment sent {"connection_id":143010,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:20:09] local.INFO: TCP Data received {"connection_id":143158,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fa367e578012da0608005c02a080013002528..."} 
[2026-07-27 17:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa367e578012da0608005c02a080013002528..."} 
[2026-07-27 17:20:09] local.INFO: Processing buffer {"connection_id":143158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa367e578012da0608005c02a080013002528..."} 
[2026-07-27 17:20:09] local.INFO: Packet analysis {"connection_id":143158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa367"} 
[2026-07-27 17:20:09] local.INFO: Extracted packet for processing {"connection_id":143158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa367"} 
[2026-07-27 17:20:09] local.INFO: GPS Element Parsed {"raw_longitude":765485184,"raw_latitude":96479752,"longitude_deg":76.5485184,"latitude_deg":9.6479752,"altitude":19,"angle":37,"satellites":40,"speed":27,"hex_longitude":"2da06080","hex_latitude":"05c02a08","is_valid_coordinates":true} 
[2026-07-27 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-07-27 17:20:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999143424001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:20:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359120134222118912,"note":"Value kept but may cause issues"} 
[2026-07-27 17:20:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6896348010946691072,"note":"Value kept but may cause issues"} 
[2026-07-27 17:20:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:20:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785152923000,"timestamp_ms":1785152923000,"timestamp_seconds":1785152923,"priority":1,"record_length":96,"hex_timestamp":"0000019fa367e578"} 
[2026-07-27 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-07-27 17:20:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-27 17:20:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 17:20:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:20:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:20:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:20:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17: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-07-27 17:20:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 17:20:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 17:20:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999143424001,"66":27865,"92":206,"83":16896,"24":27,"16":359120134222118912,"45":-6896348010946691072},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,83,24,16,45]} 
[2026-07-27 17:20:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 17:20:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 17:20:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999143424001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:20:09] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-07-27 17:20:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-27 17:20:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359120134222118912,"km_value":359120134222118.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:20:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6896348010946691072,"description":"Unknown IO ID 45"} 
[2026-07-27 17:20:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999143424001,"power":27865,"unknown_92":206,"unknown_83":16896,"ignition":27,"odometer":null,"unknown_45":-6896348010946691072}} 
[2026-07-27 17:20:10] local.INFO: DEBUG: GPS processor result {"connection_id":143158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:20:10] local.INFO: GPS data processed {"connection_id":143158,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:20:10] local.INFO: Acknowledgment sent {"connection_id":143158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:20:12] local.INFO: TCP Data received {"connection_id":143010,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143010,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:20:12] local.INFO: Processing buffer {"connection_id":143010,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:20:12] local.INFO: IMEI packet received {"connection_id":143010,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 17:20:12] local.INFO: IMEI acknowledgment sent {"connection_id":143010,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:20:13] local.INFO: TCP Data received {"connection_id":143010,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa36808a0012d7b264005e28440000400ac1f..."} 
[2026-07-27 17:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143010,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa36808a0012d7b264005e28440000400ac1f..."} 
[2026-07-27 17:20:13] local.INFO: Processing buffer {"connection_id":143010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa36808a0012d7b264005e28440000400ac1f..."} 
[2026-07-27 17:20:13] local.INFO: Packet analysis {"connection_id":143010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa368"} 
[2026-07-27 17:20:13] local.INFO: Extracted packet for processing {"connection_id":143010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa368"} 
[2026-07-27 17:20:13] local.INFO: GPS Element Parsed {"raw_longitude":763045440,"raw_latitude":98731072,"longitude_deg":76.304544,"latitude_deg":9.8731072,"altitude":4,"angle":172,"satellites":31,"speed":33,"hex_longitude":"2d7b2640","hex_latitude":"05e28440","is_valid_coordinates":true} 
[2026-07-27 17:20:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:20:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999147776001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:20:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111679758265221120,"note":"Value kept but may cause issues"} 
[2026-07-27 17:20:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8872443134918309888,"note":"Value kept but may cause issues"} 
[2026-07-27 17:20:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:20:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785152932000,"timestamp_ms":1785152932000,"timestamp_seconds":1785152932,"priority":1,"record_length":96,"hex_timestamp":"0000019fa36808a0"} 
[2026-07-27 17:20:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:20:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:20:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-27 17:20:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:20:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:20:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:20:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:20:13] local.INFO: Teltonika packet parsed successfully {"connection_id":143010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:20:13] local.INFO: Passing IMEI to GPS processor {"connection_id":143010,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:20:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":143010,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:20:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:20:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 17:20:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 17:20:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999147776001,"66":13059,"96":206,"85":15104,"24":33,"16":111679758265221120,"45":8872443134918309888},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-07-27 17:20:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 17:20:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 17:20:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999147776001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:20:13] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-27 17:20:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 17:20:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111679758265221120,"km_value":111679758265221.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:20:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8872443134918309888,"description":"Unknown IO ID 45"} 
[2026-07-27 17:20:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999147776001,"power":13059,"unknown_96":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":8872443134918309888}} 
[2026-07-27 17:20:13] local.INFO: DEBUG: GPS processor result {"connection_id":143010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554386,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:20:13] local.INFO: GPS data processed {"connection_id":143010,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:20:13] local.INFO: Acknowledgment sent {"connection_id":143010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:20:31] local.INFO: TCP Data received {"connection_id":143159,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:20:31] local.INFO: Processing buffer {"connection_id":143159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:20:31] local.INFO: IMEI packet received {"connection_id":143159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 17:20:31] local.INFO: IMEI acknowledgment sent {"connection_id":143159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:20:36] local.INFO: TCP Data received {"connection_id":143159,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:20:36] local.INFO: Processing buffer {"connection_id":143159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:20:36] local.INFO: IMEI packet received {"connection_id":143159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 17:20:36] local.INFO: IMEI acknowledgment sent {"connection_id":143159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:20:37] local.INFO: TCP Data received {"connection_id":143159,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3681070012da077c005c046780014002429..."} 
[2026-07-27 17:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3681070012da077c005c046780014002429..."} 
[2026-07-27 17:20:37] local.INFO: Processing buffer {"connection_id":143159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3681070012da077c005c046780014002429..."} 
[2026-07-27 17:20:37] local.INFO: Packet analysis {"connection_id":143159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa368"} 
[2026-07-27 17:20:37] local.INFO: Extracted packet for processing {"connection_id":143159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa368"} 
[2026-07-27 17:20:37] local.INFO: GPS Element Parsed {"raw_longitude":765491136,"raw_latitude":96487032,"longitude_deg":76.5491136,"latitude_deg":9.6487032,"altitude":20,"angle":36,"satellites":41,"speed":35,"hex_longitude":"2da077c0","hex_latitude":"05c04678","is_valid_coordinates":true} 
[2026-07-27 17:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:20:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999148288001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:20:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359120589488652288,"note":"Value kept but may cause issues"} 
[2026-07-27 17:20:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6890366667689687040,"note":"Value kept but may cause issues"} 
[2026-07-27 17:20:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:20:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785152934000,"timestamp_ms":1785152934000,"timestamp_seconds":1785152934,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3681070"} 
[2026-07-27 17:20:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:20:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-27 17:20:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:20:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:20:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:20:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:20:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:20:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:20:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:20:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:20:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 17:20:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 17:20:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999148288001,"66":27919,"92":206,"83":16896,"24":35,"16":359120589488652288,"45":-6890366667689687040},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,83,24,16,45]} 
[2026-07-27 17:20:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 17:20:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 17:20:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999148288001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:20:37] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-07-27 17:20:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-27 17:20:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359120589488652288,"km_value":359120589488652.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:20:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6890366667689687040,"description":"Unknown IO ID 45"} 
[2026-07-27 17:20:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999148288001,"power":27919,"unknown_92":206,"unknown_83":16896,"ignition":35,"odometer":null,"unknown_45":-6890366667689687040}} 
[2026-07-27 17:20:37] local.INFO: DEBUG: GPS processor result {"connection_id":143159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:20:37] local.INFO: GPS data processed {"connection_id":143159,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:20:37] local.INFO: Acknowledgment sent {"connection_id":143159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:20:39] local.INFO: TCP Data received {"connection_id":145437,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3684b08012d1821800721b358004e00bc2c..."} 
[2026-07-27 17:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3684b08012d1821800721b358004e00bc2c..."} 
[2026-07-27 17:20:39] local.INFO: Processing buffer {"connection_id":145437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3684b08012d1821800721b358004e00bc2c..."} 
[2026-07-27 17:20:39] local.INFO: Packet analysis {"connection_id":145437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa368"} 
[2026-07-27 17:20:39] local.INFO: Extracted packet for processing {"connection_id":145437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa368"} 
[2026-07-27 17:20:39] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649112,"longitude_deg":75.655616,"latitude_deg":11.9649112,"altitude":78,"angle":188,"satellites":44,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b358","is_valid_coordinates":true} 
[2026-07-27 17:20:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:20:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999149568001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:20:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8935640804622336,"note":"Value kept but may cause issues"} 
[2026-07-27 17:20:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260250112,"note":"Value kept but may cause issues"} 
[2026-07-27 17:20:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:20:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785152949000,"timestamp_ms":1785152949000,"timestamp_seconds":1785152949,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3684b08"} 
[2026-07-27 17:20:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:20:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17: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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-27 17:20:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:20:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:20:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:20:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:20:39] local.INFO: Teltonika packet parsed successfully {"connection_id":145437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:20:39] local.INFO: Passing IMEI to GPS processor {"connection_id":145437,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:20:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":145437,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:20:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:20:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:20:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:20:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999149568001,"66":12711,"120":206,"28":31744,"24":0,"16":8935640804622336,"45":1738811699260250112},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 17:20:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:20:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:20:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999149568001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:20:39] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 17:20:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:20:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8935640804622336,"km_value":8935640804622.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:20:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260250112,"description":"Unknown IO ID 45"} 
[2026-07-27 17:20:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999149568001,"power":12711,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738811699260250112}} 
[2026-07-27 17:20:39] local.INFO: DEBUG: GPS processor result {"connection_id":145437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554388,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:20:39] local.INFO: GPS data processed {"connection_id":145437,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:20:39] local.INFO: Acknowledgment sent {"connection_id":145437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:20:45] local.INFO: TCP Data received {"connection_id":143010,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3699710012d7b45c005e1ae400005005d22..."} 
[2026-07-27 17:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143010,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3699710012d7b45c005e1ae400005005d22..."} 
[2026-07-27 17:20:45] local.INFO: Processing buffer {"connection_id":143010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3699710012d7b45c005e1ae400005005d22..."} 
[2026-07-27 17:20:45] local.INFO: Packet analysis {"connection_id":143010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa369"} 
[2026-07-27 17:20:45] local.INFO: Extracted packet for processing {"connection_id":143010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa369"} 
[2026-07-27 17:20:45] local.INFO: GPS Element Parsed {"raw_longitude":763053504,"raw_latitude":98676288,"longitude_deg":76.3053504,"latitude_deg":9.8676288,"altitude":5,"angle":93,"satellites":34,"speed":14,"hex_longitude":"2d7b45c0","hex_latitude":"05e1ae40","is_valid_coordinates":true} 
[2026-07-27 17:20:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:20:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999176448001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:20:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111682485569454080,"note":"Value kept but may cause issues"} 
[2026-07-27 17:20:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8882365127830953984,"note":"Value kept but may cause issues"} 
[2026-07-27 17:20:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:20:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785153034000,"timestamp_ms":1785153034000,"timestamp_seconds":1785153034,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3699710"} 
[2026-07-27 17:20:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:20:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:20:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-27 17:20:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:20:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:20:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:20:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:20:45] local.INFO: Teltonika packet parsed successfully {"connection_id":143010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:20:45] local.INFO: Passing IMEI to GPS processor {"connection_id":143010,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:20:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":143010,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:20:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:20:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 17:20:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 17:20:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999176448001,"66":13091,"169":206,"85":15104,"24":14,"16":111682485569454080,"45":8882365127830953984},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-27 17:20:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 17:20:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 17:20:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999176448001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:20:45] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-27 17:20:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 17:20:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111682485569454080,"km_value":111682485569454.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:20:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8882365127830953984,"description":"Unknown IO ID 45"} 
[2026-07-27 17:20:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999176448001,"power":13091,"unknown_169":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":8882365127830953984}} 
[2026-07-27 17:20:45] local.INFO: DEBUG: GPS processor result {"connection_id":143010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554389,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:20:45] local.INFO: GPS data processed {"connection_id":143010,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:20:45] local.INFO: Acknowledgment sent {"connection_id":143010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:21:00] local.INFO: TCP Data received {"connection_id":144152,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144152,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:21:00] local.INFO: Processing buffer {"connection_id":144152,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:21:00] local.INFO: IMEI packet received {"connection_id":144152,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 17:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":144152,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:21:04] local.INFO: TCP Data received {"connection_id":144152,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144152,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:21:04] local.INFO: Processing buffer {"connection_id":144152,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:21:04] local.INFO: IMEI packet received {"connection_id":144152,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 17:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":144152,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:21:05] local.INFO: TCP Data received {"connection_id":144152,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3688988012d1820400721b328004c00da2c..."} 
[2026-07-27 17:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144152,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3688988012d1820400721b328004c00da2c..."} 
[2026-07-27 17:21:05] local.INFO: Processing buffer {"connection_id":144152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3688988012d1820400721b328004c00da2c..."} 
[2026-07-27 17:21:05] local.INFO: Packet analysis {"connection_id":144152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa368"} 
[2026-07-27 17:21:05] local.INFO: Extracted packet for processing {"connection_id":144152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa368"} 
[2026-07-27 17:21:05] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119649064,"longitude_deg":75.655584,"latitude_deg":11.9649064,"altitude":76,"angle":218,"satellites":44,"speed":5,"hex_longitude":"2d182040","hex_latitude":"0721b328","is_valid_coordinates":true} 
[2026-07-27 17:21:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:21:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999154944001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:21:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8935657984491520,"note":"Value kept but may cause issues"} 
[2026-07-27 17:21:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260250112,"note":"Value kept but may cause issues"} 
[2026-07-27 17:21:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:21:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785152965000,"timestamp_ms":1785152965000,"timestamp_seconds":1785152965,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3688988"} 
[2026-07-27 17:21:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:21:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:21:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-07-27 17:21:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:21:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:21:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:21:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:21:05] local.INFO: Teltonika packet parsed successfully {"connection_id":144152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:21:05] local.INFO: Passing IMEI to GPS processor {"connection_id":144152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:21:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":144152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:21:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:21:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:21:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:21:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999154944001,"66":12722,"120":206,"28":31744,"24":5,"16":8935657984491520,"45":1738811699260250112},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 17:21:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:21:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:21:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999154944001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:21:05] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 17:21:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:21:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8935657984491520,"km_value":8935657984491.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:21:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260250112,"description":"Unknown IO ID 45"} 
[2026-07-27 17:21:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999154944001,"power":12722,"unknown_120":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1738811699260250112}} 
[2026-07-27 17:21:05] local.INFO: DEBUG: GPS processor result {"connection_id":144152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554390,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:21:05] local.INFO: GPS data processed {"connection_id":144152,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:21:05] local.INFO: Acknowledgment sent {"connection_id":144152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:21:07] local.INFO: TCP Data received {"connection_id":145438,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145438,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:21:07] local.INFO: Processing buffer {"connection_id":145438,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:21:07] local.INFO: IMEI packet received {"connection_id":145438,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 17:21:07] local.INFO: IMEI acknowledgment sent {"connection_id":145438,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:21:08] local.INFO: TCP Data received {"connection_id":143159,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3684338012da08dc005c064a80015002025..."} 
[2026-07-27 17:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3684338012da08dc005c064a80015002025..."} 
[2026-07-27 17:21:08] local.INFO: Processing buffer {"connection_id":143159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3684338012da08dc005c064a80015002025..."} 
[2026-07-27 17:21:08] local.INFO: Packet analysis {"connection_id":143159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa368"} 
[2026-07-27 17:21:08] local.INFO: Extracted packet for processing {"connection_id":143159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa368"} 
[2026-07-27 17:21:08] local.INFO: GPS Element Parsed {"raw_longitude":765496768,"raw_latitude":96494760,"longitude_deg":76.5496768,"latitude_deg":9.649476,"altitude":21,"angle":32,"satellites":37,"speed":27,"hex_longitude":"2da08dc0","hex_latitude":"05c064a8","is_valid_coordinates":true} 
[2026-07-27 17:21:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:21:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999151104001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:21:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359121049050152960,"note":"Value kept but may cause issues"} 
[2026-07-27 17:21:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6883822374479300608,"note":"Value kept but may cause issues"} 
[2026-07-27 17:21:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:21:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785152947000,"timestamp_ms":1785152947000,"timestamp_seconds":1785152947,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3684338"} 
[2026-07-27 17:21:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:21:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-27 17:21:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:21:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:21:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:21:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:21:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:21:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:21:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:21:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:21:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 17:21:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 17:21:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999151104001,"66":27876,"92":206,"83":16896,"24":27,"16":359121049050152960,"45":-6883822374479300608},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,83,24,16,45]} 
[2026-07-27 17:21:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 17:21:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 17:21:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999151104001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:21:08] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-07-27 17:21:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-27 17:21:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359121049050152960,"km_value":359121049050152.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:21:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6883822374479300608,"description":"Unknown IO ID 45"} 
[2026-07-27 17:21:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999151104001,"power":27876,"unknown_92":206,"unknown_83":16896,"ignition":27,"odometer":null,"unknown_45":-6883822374479300608}} 
[2026-07-27 17:21:08] local.INFO: DEBUG: GPS processor result {"connection_id":143159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:21:08] local.INFO: GPS data processed {"connection_id":143159,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:21:08] local.INFO: Acknowledgment sent {"connection_id":143159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:21:11] local.INFO: TCP Data received {"connection_id":145438,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145438,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:21:11] local.INFO: Processing buffer {"connection_id":145438,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:21:11] local.INFO: IMEI packet received {"connection_id":145438,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 17:21:11] local.INFO: IMEI acknowledgment sent {"connection_id":145438,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:21:12] local.INFO: TCP Data received {"connection_id":145438,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145438,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:21:12] local.INFO: Processing buffer {"connection_id":145438,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:21:12] local.INFO: IMEI packet received {"connection_id":145438,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 17:21:12] local.INFO: IMEI acknowledgment sent {"connection_id":145438,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:21:14] local.INFO: TCP Data received {"connection_id":145438,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3699ee0012d7b494005e1aed00006004e22..."} 
[2026-07-27 17:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3699ee0012d7b494005e1aed00006004e22..."} 
[2026-07-27 17:21:14] local.INFO: Processing buffer {"connection_id":145438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3699ee0012d7b494005e1aed00006004e22..."} 
[2026-07-27 17:21:14] local.INFO: Packet analysis {"connection_id":145438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa369"} 
[2026-07-27 17:21:14] local.INFO: Extracted packet for processing {"connection_id":145438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa369"} 
[2026-07-27 17:21:14] local.INFO: GPS Element Parsed {"raw_longitude":763054400,"raw_latitude":98676432,"longitude_deg":76.30544,"latitude_deg":9.8676432,"altitude":6,"angle":78,"satellites":34,"speed":19,"hex_longitude":"2d7b4940","hex_latitude":"05e1aed0","is_valid_coordinates":true} 
[2026-07-27 17:21:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:21:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999176704001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:21:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111682528519127040,"note":"Value kept but may cause issues"} 
[2026-07-27 17:21:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8882716971551834112,"note":"Value kept but may cause issues"} 
[2026-07-27 17:21:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:21:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785153036000,"timestamp_ms":1785153036000,"timestamp_seconds":1785153036,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3699ee0"} 
[2026-07-27 17:21:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:21: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-07-27 17:21:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-27 17:21:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:21:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:21:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:21:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:21:14] local.INFO: Teltonika packet parsed successfully {"connection_id":145438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:21:14] local.INFO: Passing IMEI to GPS processor {"connection_id":145438,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:21:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":145438,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:21:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:21:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 17:21:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 17:21:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999176704001,"66":12917,"169":206,"85":15104,"24":19,"16":111682528519127040,"45":8882716971551834112},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-27 17:21:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 17:21:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 17:21:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999176704001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:21:14] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-27 17:21:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 17:21:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111682528519127040,"km_value":111682528519127.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:21:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8882716971551834112,"description":"Unknown IO ID 45"} 
[2026-07-27 17:21:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999176704001,"power":12917,"unknown_169":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":8882716971551834112}} 
[2026-07-27 17:21:14] local.INFO: DEBUG: GPS processor result {"connection_id":145438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554392,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:21:14] local.INFO: GPS data processed {"connection_id":145438,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:21:14] local.INFO: Acknowledgment sent {"connection_id":145438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:21:31] local.INFO: TCP Data received {"connection_id":143011,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:21:31] local.INFO: Processing buffer {"connection_id":143011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:21:31] local.INFO: IMEI packet received {"connection_id":143011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 17:21:31] local.INFO: IMEI acknowledgment sent {"connection_id":143011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:21:37] local.INFO: TCP Data received {"connection_id":143011,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:21:37] local.INFO: Processing buffer {"connection_id":143011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:21:37] local.INFO: IMEI packet received {"connection_id":143011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 17:21:37] local.INFO: IMEI acknowledgment sent {"connection_id":143011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:21:37] local.INFO: TCP Data received {"connection_id":144152,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa368db90012d181ec00721b138004c00d22a..."} 
[2026-07-27 17:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144152,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa368db90012d181ec00721b138004c00d22a..."} 
[2026-07-27 17:21:37] local.INFO: Processing buffer {"connection_id":144152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa368db90012d181ec00721b138004c00d22a..."} 
[2026-07-27 17:21:37] local.INFO: Packet analysis {"connection_id":144152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa368"} 
[2026-07-27 17:21:37] local.INFO: Extracted packet for processing {"connection_id":144152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa368"} 
[2026-07-27 17:21:37] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648568,"longitude_deg":75.6555456,"latitude_deg":11.9648568,"altitude":76,"angle":210,"satellites":42,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b138","is_valid_coordinates":true} 
[2026-07-27 17:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:21:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999159040001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:21:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8935688049262592,"note":"Value kept but may cause issues"} 
[2026-07-27 17:21:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539349504,"note":"Value kept but may cause issues"} 
[2026-07-27 17:21:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:21:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785152986000,"timestamp_ms":1785152986000,"timestamp_seconds":1785152986,"priority":1,"record_length":96,"hex_timestamp":"0000019fa368db90"} 
[2026-07-27 17:21:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:21:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-27 17:21:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:21:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:21:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:21:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:21:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:21:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:21:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:21:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:21:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:21:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:21:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999159040001,"66":12645,"120":206,"28":31744,"24":0,"16":8935688049262592,"45":1738459855539349504},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 17:21:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:21:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:21:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999159040001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:21:37] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 17:21:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:21:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8935688049262592,"km_value":8935688049262.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:21:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539349504,"description":"Unknown IO ID 45"} 
[2026-07-27 17:21:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999159040001,"power":12645,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738459855539349504}} 
[2026-07-27 17:21:37] local.INFO: DEBUG: GPS processor result {"connection_id":144152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554393,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:21:37] local.INFO: GPS data processed {"connection_id":144152,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:21:37] local.INFO: Acknowledgment sent {"connection_id":144152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:21:38] local.INFO: TCP Data received {"connection_id":143011,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3687600012da09e4005c084b00016001729..."} 
[2026-07-27 17:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143011,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3687600012da09e4005c084b00016001729..."} 
[2026-07-27 17:21:38] local.INFO: Processing buffer {"connection_id":143011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3687600012da09e4005c084b00016001729..."} 
[2026-07-27 17:21:38] local.INFO: Packet analysis {"connection_id":143011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa368"} 
[2026-07-27 17:21:38] local.INFO: Extracted packet for processing {"connection_id":143011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa368"} 
[2026-07-27 17:21:38] local.INFO: GPS Element Parsed {"raw_longitude":765500992,"raw_latitude":96502960,"longitude_deg":76.5500992,"latitude_deg":9.650296,"altitude":22,"angle":23,"satellites":41,"speed":27,"hex_longitude":"2da09e40","hex_latitude":"05c084b0","is_valid_coordinates":true} 
[2026-07-27 17:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:21:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999154432001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:21:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359121495726751744,"note":"Value kept but may cause issues"} 
[2026-07-27 17:21:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6877629924989687808,"note":"Value kept but may cause issues"} 
[2026-07-27 17:21:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:21:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785152960000,"timestamp_ms":1785152960000,"timestamp_seconds":1785152960,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3687600"} 
[2026-07-27 17:21:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:21:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-27 17:21:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:21:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:21:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:21:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:21:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:21:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:21:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:21:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:21:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 17:21:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 17:21:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999154432001,"66":27930,"92":206,"83":16896,"24":27,"16":359121495726751744,"45":-6877629924989687808},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,83,24,16,45]} 
[2026-07-27 17:21:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 17:21:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 17:21:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999154432001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:21:38] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-07-27 17:21:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-27 17:21:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359121495726751744,"km_value":359121495726751.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:21:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6877629924989687808,"description":"Unknown IO ID 45"} 
[2026-07-27 17:21:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999154432001,"power":27930,"unknown_92":206,"unknown_83":16896,"ignition":27,"odometer":null,"unknown_45":-6877629924989687808}} 
[2026-07-27 17:21:38] local.INFO: DEBUG: GPS processor result {"connection_id":143011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:21:38] local.INFO: GPS data processed {"connection_id":143011,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:21:38] local.INFO: Acknowledgment sent {"connection_id":143011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:21:45] local.INFO: TCP Data received {"connection_id":145438,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa369aa98012d7b4e4005e1b0900007003f22..."} 
[2026-07-27 17:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa369aa98012d7b4e4005e1b0900007003f22..."} 
[2026-07-27 17:21:45] local.INFO: Processing buffer {"connection_id":145438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa369aa98012d7b4e4005e1b0900007003f22..."} 
[2026-07-27 17:21:45] local.INFO: Packet analysis {"connection_id":145438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa369"} 
[2026-07-27 17:21:45] local.INFO: Extracted packet for processing {"connection_id":145438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa369"} 
[2026-07-27 17:21:45] local.INFO: GPS Element Parsed {"raw_longitude":763055680,"raw_latitude":98676880,"longitude_deg":76.305568,"latitude_deg":9.867688,"altitude":7,"angle":63,"satellites":34,"speed":15,"hex_longitude":"2d7b4e40","hex_latitude":"05e1b090","is_valid_coordinates":true} 
[2026-07-27 17:21:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:21:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999177216001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:21:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111682592943636480,"note":"Value kept but may cause issues"} 
[2026-07-27 17:21:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8883702133970358272,"note":"Value kept but may cause issues"} 
[2026-07-27 17:21:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:21:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785153039000,"timestamp_ms":1785153039000,"timestamp_seconds":1785153039,"priority":1,"record_length":96,"hex_timestamp":"0000019fa369aa98"} 
[2026-07-27 17:21:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:21:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:21:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-27 17:21:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:21:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:21:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:21:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:21:45] local.INFO: Teltonika packet parsed successfully {"connection_id":145438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:21:45] local.INFO: Passing IMEI to GPS processor {"connection_id":145438,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:21:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":145438,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:21:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:21:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 17:21:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 17:21:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999177216001,"66":13102,"169":206,"85":15104,"24":15,"16":111682592943636480,"45":8883702133970358272},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-27 17:21:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 17:21:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 17:21:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999177216001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:21:45] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-27 17:21:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 17:21:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111682592943636480,"km_value":111682592943636.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:21:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8883702133970358272,"description":"Unknown IO ID 45"} 
[2026-07-27 17:21:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999177216001,"power":13102,"unknown_169":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":8883702133970358272}} 
[2026-07-27 17:21:45] local.INFO: DEBUG: GPS processor result {"connection_id":145438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554395,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:21:45] local.INFO: GPS data processed {"connection_id":145438,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:21:45] local.INFO: Acknowledgment sent {"connection_id":145438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:21:59] local.INFO: TCP Data received {"connection_id":145439,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145439,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:21:59] local.INFO: Processing buffer {"connection_id":145439,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:21:59] local.INFO: IMEI packet received {"connection_id":145439,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 17:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":145439,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:22:05] local.INFO: TCP Data received {"connection_id":145439,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145439,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:22:05] local.INFO: Processing buffer {"connection_id":145439,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:22:05] local.INFO: IMEI packet received {"connection_id":145439,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 17:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":145439,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:22:06] local.INFO: TCP Data received {"connection_id":145439,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3692d98012d181ec00721b138004c00d229..."} 
[2026-07-27 17:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145439,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3692d98012d181ec00721b138004c00d229..."} 
[2026-07-27 17:22:06] local.INFO: Processing buffer {"connection_id":145439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3692d98012d181ec00721b138004c00d229..."} 
[2026-07-27 17:22:06] local.INFO: Packet analysis {"connection_id":145439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa369"} 
[2026-07-27 17:22:06] local.INFO: Extracted packet for processing {"connection_id":145439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa369"} 
[2026-07-27 17:22:06] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648568,"longitude_deg":75.6555456,"latitude_deg":11.9648568,"altitude":76,"angle":210,"satellites":41,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b138","is_valid_coordinates":true} 
[2026-07-27 17:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:22:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999164416001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:22:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8935688049262592,"note":"Value kept but may cause issues"} 
[2026-07-27 17:22:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074156544,"note":"Value kept but may cause issues"} 
[2026-07-27 17:22:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:22:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785153007000,"timestamp_ms":1785153007000,"timestamp_seconds":1785153007,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3692d98"} 
[2026-07-27 17:22:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:22:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-27 17:22:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:22:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:22:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:22:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:22:06] local.INFO: Teltonika packet parsed successfully {"connection_id":145439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:22:06] local.INFO: Passing IMEI to GPS processor {"connection_id":145439,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:22:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":145439,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:22:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:22:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:22:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:22:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999164416001,"66":12341,"120":206,"28":31744,"24":0,"16":8935688049262592,"45":1738037643074156544},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 17:22:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:22:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:22:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999164416001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:22:06] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 17:22:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:22:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8935688049262592,"km_value":8935688049262.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:22:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074156544,"description":"Unknown IO ID 45"} 
[2026-07-27 17:22:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999164416001,"power":12341,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738037643074156544}} 
[2026-07-27 17:22:06] local.INFO: DEBUG: GPS processor result {"connection_id":145439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554396,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:22:06] local.INFO: GPS data processed {"connection_id":145439,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:22:06] local.INFO: Acknowledgment sent {"connection_id":145439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:22:09] local.INFO: TCP Data received {"connection_id":143011,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fa368acb0012da0ad0005c0a668001b00142a..."} 
[2026-07-27 17:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143011,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa368acb0012da0ad0005c0a668001b00142a..."} 
[2026-07-27 17:22:09] local.INFO: Processing buffer {"connection_id":143011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa368acb0012da0ad0005c0a668001b00142a..."} 
[2026-07-27 17:22:09] local.INFO: Packet analysis {"connection_id":143011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa368"} 
[2026-07-27 17:22:09] local.INFO: Extracted packet for processing {"connection_id":143011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa368"} 
[2026-07-27 17:22:09] local.INFO: GPS Element Parsed {"raw_longitude":765504768,"raw_latitude":96511592,"longitude_deg":76.5504768,"latitude_deg":9.6511592,"altitude":27,"angle":20,"satellites":42,"speed":27,"hex_longitude":"2da0ad00","hex_latitude":"05c0a668","is_valid_coordinates":true} 
[2026-07-27 17:22:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:22:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999157760001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:22:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359121950993285120,"note":"Value kept but may cause issues"} 
[2026-07-27 17:22:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6872985587871862784,"note":"Value kept but may cause issues"} 
[2026-07-27 17:22:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:22:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785152974000,"timestamp_ms":1785152974000,"timestamp_seconds":1785152974,"priority":1,"record_length":96,"hex_timestamp":"0000019fa368acb0"} 
[2026-07-27 17:22:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:22:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-27 17:22:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:22:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:22:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:22:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:22:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:22:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:22:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:22:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:22:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 17:22:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 17:22:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999157760001,"66":27767,"137":206,"83":16896,"24":27,"16":359121950993285120,"45":-6872985587871862784},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-07-27 17:22:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 17:22:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 17:22:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999157760001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:22:09] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-07-27 17:22:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-27 17:22:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359121950993285120,"km_value":359121950993285.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:22:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6872985587871862784,"description":"Unknown IO ID 45"} 
[2026-07-27 17:22:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999157760001,"power":27767,"unknown_137":206,"unknown_83":16896,"ignition":27,"odometer":null,"unknown_45":-6872985587871862784}} 
[2026-07-27 17:22:09] local.INFO: DEBUG: GPS processor result {"connection_id":143011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:22:09] local.INFO: GPS data processed {"connection_id":143011,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:22:09] local.INFO: Acknowledgment sent {"connection_id":143011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:22:13] local.INFO: TCP Data received {"connection_id":143012,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143012,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:22:13] local.INFO: Processing buffer {"connection_id":143012,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:22:13] local.INFO: IMEI packet received {"connection_id":143012,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 17:22:13] local.INFO: IMEI acknowledgment sent {"connection_id":143012,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:22:16] local.INFO: TCP Data received {"connection_id":143012,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143012,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:22:16] local.INFO: Processing buffer {"connection_id":143012,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:22:16] local.INFO: IMEI packet received {"connection_id":143012,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 17:22:16] local.INFO: IMEI acknowledgment sent {"connection_id":143012,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:22:17] local.INFO: TCP Data received {"connection_id":143012,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa369ba38012d7b558005e1b2b80007005027..."} 
[2026-07-27 17:22:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa369ba38012d7b558005e1b2b80007005027..."} 
[2026-07-27 17:22:17] local.INFO: Processing buffer {"connection_id":143012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa369ba38012d7b558005e1b2b80007005027..."} 
[2026-07-27 17:22:17] local.INFO: Packet analysis {"connection_id":143012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa369"} 
[2026-07-27 17:22:17] local.INFO: Extracted packet for processing {"connection_id":143012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa369"} 
[2026-07-27 17:22:17] local.INFO: GPS Element Parsed {"raw_longitude":763057536,"raw_latitude":98677432,"longitude_deg":76.3057536,"latitude_deg":9.8677432,"altitude":7,"angle":80,"satellites":39,"speed":19,"hex_longitude":"2d7b5580","hex_latitude":"05e1b2b8","is_valid_coordinates":true} 
[2026-07-27 17: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-07-27 17:22:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999177984001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:22:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111682687432916992,"note":"Value kept but may cause issues"} 
[2026-07-27 17:22:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8885109508854026240,"note":"Value kept but may cause issues"} 
[2026-07-27 17:22:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:22:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785153043000,"timestamp_ms":1785153043000,"timestamp_seconds":1785153043,"priority":1,"record_length":96,"hex_timestamp":"0000019fa369ba38"} 
[2026-07-27 17:22:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:22:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-27 17:22:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17: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-07-27 17:22:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:22:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:22:17] local.INFO: Teltonika packet parsed successfully {"connection_id":143012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:22:17] local.INFO: Passing IMEI to GPS processor {"connection_id":143012,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:22:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":143012,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:22:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:22:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 17:22:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 17:22:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999177984001,"66":12906,"169":206,"85":15104,"24":19,"16":111682687432916992,"45":8885109508854026240},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-27 17:22:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 17:22:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 17:22:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999177984001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:22:17] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-27 17:22:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 17:22:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111682687432916992,"km_value":111682687432916.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:22:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8885109508854026240,"description":"Unknown IO ID 45"} 
[2026-07-27 17:22:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999177984001,"power":12906,"unknown_169":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":8885109508854026240}} 
[2026-07-27 17:22:17] local.INFO: DEBUG: GPS processor result {"connection_id":143012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554398,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:22:17] local.INFO: GPS data processed {"connection_id":143012,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:22:17] local.INFO: Acknowledgment sent {"connection_id":143012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:22:18] local.INFO: TCP Data received {"connection_id":143012,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa369ed00012d7b6e4005e1b4280005005b2c..."} 
[2026-07-27 17:22:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa369ed00012d7b6e4005e1b4280005005b2c..."} 
[2026-07-27 17:22:18] local.INFO: Processing buffer {"connection_id":143012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa369ed00012d7b6e4005e1b4280005005b2c..."} 
[2026-07-27 17:22:18] local.INFO: Packet analysis {"connection_id":143012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa369"} 
[2026-07-27 17:22:18] local.INFO: Extracted packet for processing {"connection_id":143012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa369"} 
[2026-07-27 17:22:18] local.INFO: GPS Element Parsed {"raw_longitude":763063872,"raw_latitude":98677800,"longitude_deg":76.3063872,"latitude_deg":9.86778,"altitude":5,"angle":91,"satellites":44,"speed":7,"hex_longitude":"2d7b6e40","hex_latitude":"05e1b428","is_valid_coordinates":true} 
[2026-07-27 17: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-07-27 17:22:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999179008001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:22:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111682992375595008,"note":"Value kept but may cause issues"} 
[2026-07-27 17:22:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8887150202435319808,"note":"Value kept but may cause issues"} 
[2026-07-27 17:22:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:22:18] local.INFO: AVL Record Parsed {"raw_timestamp":1785153056000,"timestamp_ms":1785153056000,"timestamp_seconds":1785153056,"priority":1,"record_length":96,"hex_timestamp":"0000019fa369ed00"} 
[2026-07-27 17:22:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:22:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17: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":106,"data_length":795,"current_offset":136} 
[2026-07-27 17:22:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17: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-07-27 17:22:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:22:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:22:18] local.INFO: Teltonika packet parsed successfully {"connection_id":143012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:22:18] local.INFO: Passing IMEI to GPS processor {"connection_id":143012,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:22:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":143012,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:22:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:22:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 17:22:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 17:22:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999179008001,"66":12863,"169":206,"85":15104,"24":7,"16":111682992375595008,"45":8887150202435319808},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-27 17:22:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 17:22:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 17:22:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999179008001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:22:18] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-27 17:22:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 17:22:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111682992375595008,"km_value":111682992375595.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:22:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8887150202435319808,"description":"Unknown IO ID 45"} 
[2026-07-27 17:22:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999179008001,"power":12863,"unknown_169":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8887150202435319808}} 
[2026-07-27 17:22:18] local.INFO: DEBUG: GPS processor result {"connection_id":143012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554399,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:22:18] local.INFO: GPS data processed {"connection_id":143012,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:22:18] local.INFO: Acknowledgment sent {"connection_id":143012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:22:33] local.INFO: TCP Data received {"connection_id":145440,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:22:33] local.INFO: Processing buffer {"connection_id":145440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:22:33] local.INFO: IMEI packet received {"connection_id":145440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 17:22:33] local.INFO: IMEI acknowledgment sent {"connection_id":145440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:22:38] local.INFO: TCP Data received {"connection_id":145440,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:22:38] local.INFO: Processing buffer {"connection_id":145440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:22:38] local.INFO: IMEI packet received {"connection_id":145440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 17:22:38] local.INFO: IMEI acknowledgment sent {"connection_id":145440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:22:38] local.INFO: TCP Data received {"connection_id":145439,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3697fa0012d181ec00721b138004c00d229..."} 
[2026-07-27 17:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145439,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3697fa0012d181ec00721b138004c00d229..."} 
[2026-07-27 17:22:38] local.INFO: Processing buffer {"connection_id":145439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3697fa0012d181ec00721b138004c00d229..."} 
[2026-07-27 17:22:38] local.INFO: Packet analysis {"connection_id":145439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa369"} 
[2026-07-27 17:22:38] local.INFO: Extracted packet for processing {"connection_id":145439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa369"} 
[2026-07-27 17:22:38] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648568,"longitude_deg":75.6555456,"latitude_deg":11.9648568,"altitude":76,"angle":210,"satellites":41,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b138","is_valid_coordinates":true} 
[2026-07-27 17:22:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:22:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999169792001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:22:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8935688049262592,"note":"Value kept but may cause issues"} 
[2026-07-27 17:22:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074156544,"note":"Value kept but may cause issues"} 
[2026-07-27 17:22:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:22:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785153028000,"timestamp_ms":1785153028000,"timestamp_seconds":1785153028,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3697fa0"} 
[2026-07-27 17:22:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:22:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:22:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 17:22:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:22:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:22:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:22:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:22:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:22:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145439,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:22:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145439,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:22:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:22:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:22:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:22:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999169792001,"66":12645,"120":206,"28":31744,"24":0,"16":8935688049262592,"45":1738037643074156544},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 17:22:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:22:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:22:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999169792001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:22:38] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 17:22:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:22:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8935688049262592,"km_value":8935688049262.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:22:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074156544,"description":"Unknown IO ID 45"} 
[2026-07-27 17:22:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999169792001,"power":12645,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738037643074156544}} 
[2026-07-27 17:22:38] local.INFO: DEBUG: GPS processor result {"connection_id":145439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554400,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:22:38] local.INFO: GPS data processed {"connection_id":145439,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:22:38] local.INFO: Acknowledgment sent {"connection_id":145439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:22:38] local.INFO: TCP Data received {"connection_id":145440,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:22:38] local.INFO: Processing buffer {"connection_id":145440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:22:38] local.INFO: IMEI packet received {"connection_id":145440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 17:22:38] local.INFO: IMEI acknowledgment sent {"connection_id":145440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:22:39] local.INFO: TCP Data received {"connection_id":145440,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:22:39] local.INFO: Processing buffer {"connection_id":145440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:22:39] local.INFO: IMEI packet received {"connection_id":145440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 17:22:39] local.INFO: IMEI acknowledgment sent {"connection_id":145440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:22:40] local.INFO: TCP Data received {"connection_id":145440,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fa36a7d88012da0b98005c1b9a0001a01452a..."} 
[2026-07-27 17:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa36a7d88012da0b98005c1b9a0001a01452a..."} 
[2026-07-27 17:22:40] local.INFO: Processing buffer {"connection_id":145440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa36a7d88012da0b98005c1b9a0001a01452a..."} 
[2026-07-27 17:22:40] local.INFO: Packet analysis {"connection_id":145440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa36a"} 
[2026-07-27 17:22:40] local.INFO: Extracted packet for processing {"connection_id":145440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa36a"} 
[2026-07-27 17:22:40] local.INFO: GPS Element Parsed {"raw_longitude":765507968,"raw_latitude":96582048,"longitude_deg":76.5507968,"latitude_deg":9.6582048,"altitude":26,"angle":325,"satellites":42,"speed":25,"hex_longitude":"2da0b980","hex_latitude":"05c1b9a0","is_valid_coordinates":true} 
[2026-07-27 17: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-07-27 17:22:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999191040001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:22:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359125434211762176,"note":"Value kept but may cause issues"} 
[2026-07-27 17:22:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6864330232318199808,"note":"Value kept but may cause issues"} 
[2026-07-27 17:22:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:22:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785153093000,"timestamp_ms":1785153093000,"timestamp_seconds":1785153093,"priority":1,"record_length":96,"hex_timestamp":"0000019fa36a7d88"} 
[2026-07-27 17:22:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:22:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:22:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-27 17:22:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17: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-07-27 17:22:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:22:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:22:40] local.INFO: Teltonika packet parsed successfully {"connection_id":145440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:22:40] local.INFO: Passing IMEI to GPS processor {"connection_id":145440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:22:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":145440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17: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-07-27 17:22:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 17:22:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 17:22:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999191040001,"66":27843,"138":206,"83":16896,"24":25,"16":359125434211762176,"45":-6864330232318199808},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,83,24,16,45]} 
[2026-07-27 17:22:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 17:22:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 17:22:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999191040001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:22:40] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-07-27 17:22:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-27 17:22:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359125434211762176,"km_value":359125434211762.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:22:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6864330232318199808,"description":"Unknown IO ID 45"} 
[2026-07-27 17:22:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999191040001,"power":27843,"unknown_138":206,"unknown_83":16896,"ignition":25,"odometer":null,"unknown_45":-6864330232318199808}} 
[2026-07-27 17:22:40] local.INFO: DEBUG: GPS processor result {"connection_id":145440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:22:40] local.INFO: GPS data processed {"connection_id":145440,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:22:40] local.INFO: Acknowledgment sent {"connection_id":145440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:22:42] local.INFO: TCP Data received {"connection_id":145440,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fa36a8558012da0b64005c1bd80001901392a..."} 
[2026-07-27 17:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa36a8558012da0b64005c1bd80001901392a..."} 
[2026-07-27 17:22:42] local.INFO: Processing buffer {"connection_id":145440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa36a8558012da0b64005c1bd80001901392a..."} 
[2026-07-27 17:22:42] local.INFO: Packet analysis {"connection_id":145440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa36a"} 
[2026-07-27 17:22:42] local.INFO: Extracted packet for processing {"connection_id":145440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa36a"} 
[2026-07-27 17:22:42] local.INFO: GPS Element Parsed {"raw_longitude":765507136,"raw_latitude":96583040,"longitude_deg":76.5507136,"latitude_deg":9.658304,"altitude":25,"angle":313,"satellites":42,"speed":26,"hex_longitude":"2da0b640","hex_latitude":"05c1bd80","is_valid_coordinates":true} 
[2026-07-27 17:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:22:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999191808001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:22:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359125494341304320,"note":"Value kept but may cause issues"} 
[2026-07-27 17:22:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6865315394736250880,"note":"Value kept but may cause issues"} 
[2026-07-27 17:22:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:22:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785153095000,"timestamp_ms":1785153095000,"timestamp_seconds":1785153095,"priority":1,"record_length":96,"hex_timestamp":"0000019fa36a8558"} 
[2026-07-27 17:22:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:22:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-27 17:22:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:22:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:22:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:22:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:22:42] local.INFO: Teltonika packet parsed successfully {"connection_id":145440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:22:42] local.INFO: Passing IMEI to GPS processor {"connection_id":145440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:22:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":145440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:22:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:22:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 17:22:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 17:22:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999191808001,"66":27865,"138":206,"83":16896,"24":26,"16":359125494341304320,"45":-6865315394736250880},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,83,24,16,45]} 
[2026-07-27 17:22:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 17:22:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 17:22:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999191808001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:22:42] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-07-27 17:22:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-27 17:22:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359125494341304320,"km_value":359125494341304.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:22:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6865315394736250880,"description":"Unknown IO ID 45"} 
[2026-07-27 17:22:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999191808001,"power":27865,"unknown_138":206,"unknown_83":16896,"ignition":26,"odometer":null,"unknown_45":-6865315394736250880}} 
[2026-07-27 17:22:42] local.INFO: DEBUG: GPS processor result {"connection_id":145440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:22:42] local.INFO: GPS data processed {"connection_id":145440,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:22:42] local.INFO: Acknowledgment sent {"connection_id":145440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:22:49] local.INFO: TCP Data received {"connection_id":143012,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa36b8340012d7c380005e1df80000700412c..."} 
[2026-07-27 17:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa36b8340012d7c380005e1df80000700412c..."} 
[2026-07-27 17:22:49] local.INFO: Processing buffer {"connection_id":143012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa36b8340012d7c380005e1df80000700412c..."} 
[2026-07-27 17:22:49] local.INFO: Packet analysis {"connection_id":143012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa36b"} 
[2026-07-27 17:22:49] local.INFO: Extracted packet for processing {"connection_id":143012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa36b"} 
[2026-07-27 17:22:49] local.INFO: GPS Element Parsed {"raw_longitude":763115520,"raw_latitude":98688896,"longitude_deg":76.311552,"latitude_deg":9.8688896,"altitude":7,"angle":65,"satellites":44,"speed":15,"hex_longitude":"2d7c3800","hex_latitude":"05e1df80","is_valid_coordinates":true} 
[2026-07-27 17: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-07-27 17:22:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999206656001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:22:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8944571097687230464,"note":"Value kept but may cause issues"} 
[2026-07-27 17:22:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111685612305645568,"note":"Value kept but may cause issues"} 
[2026-07-27 17:22:49] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-27 17:22:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785153160000,"timestamp_ms":1785153160000,"timestamp_seconds":1785153160,"priority":1,"record_length":96,"hex_timestamp":"0000019fa36b8340"} 
[2026-07-27 17:22:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:22:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17: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":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-07-27 17:22:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17: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-07-27 17:22:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:22:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:22:49] local.INFO: Teltonika packet parsed successfully {"connection_id":143012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:22:49] local.INFO: Passing IMEI to GPS processor {"connection_id":143012,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:22:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":143012,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:22:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:22:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 17:22:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 17:22:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999206656001,"66":12863,"45":8944571097687230464,"85":15104,"24":15,"16":111685612305645568},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-07-27 17:22:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 17:22:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 17:22:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999206656001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:22:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8944571097687230464,"description":"Unknown IO ID 45"} 
[2026-07-27 17:22:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 17:22:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111685612305645568,"km_value":111685612305645.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:22:49] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456999206656001,"power":12863,"unknown_45":8944571097687230464,"unknown_85":15104,"ignition":15,"odometer":null}} 
[2026-07-27 17:22:49] local.INFO: DEBUG: GPS processor result {"connection_id":143012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554403,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:22:49] local.INFO: GPS data processed {"connection_id":143012,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:22:49] local.INFO: Acknowledgment sent {"connection_id":143012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:22:59] local.INFO: TCP Data received {"connection_id":144153,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144153,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:22:59] local.INFO: Processing buffer {"connection_id":144153,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:22:59] local.INFO: IMEI packet received {"connection_id":144153,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 17:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":144153,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:23:04] local.INFO: TCP Data received {"connection_id":144153,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144153,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:23:04] local.INFO: Processing buffer {"connection_id":144153,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:23:04] local.INFO: IMEI packet received {"connection_id":144153,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 17:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":144153,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:23:04] local.INFO: TCP Data received {"connection_id":144154,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144154,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:23:04] local.INFO: Processing buffer {"connection_id":144154,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:23:04] local.INFO: IMEI packet received {"connection_id":144154,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 17:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":144154,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:23:05] local.INFO: TCP Data received {"connection_id":144153,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa369d1a8012d181ec00721b138004c00d229..."} 
[2026-07-27 17:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144153,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa369d1a8012d181ec00721b138004c00d229..."} 
[2026-07-27 17:23:05] local.INFO: Processing buffer {"connection_id":144153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa369d1a8012d181ec00721b138004c00d229..."} 
[2026-07-27 17:23:05] local.INFO: Packet analysis {"connection_id":144153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa369"} 
[2026-07-27 17:23:05] local.INFO: Extracted packet for processing {"connection_id":144153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa369"} 
[2026-07-27 17:23:05] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648568,"longitude_deg":75.6555456,"latitude_deg":11.9648568,"altitude":76,"angle":210,"satellites":41,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b138","is_valid_coordinates":true} 
[2026-07-27 17:23:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:23:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999175168001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:23:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8935688049262592,"note":"Value kept but may cause issues"} 
[2026-07-27 17:23:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074156544,"note":"Value kept but may cause issues"} 
[2026-07-27 17:23:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:23:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785153049000,"timestamp_ms":1785153049000,"timestamp_seconds":1785153049,"priority":1,"record_length":96,"hex_timestamp":"0000019fa369d1a8"} 
[2026-07-27 17:23:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:23:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:23:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-27 17:23:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:23:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:23:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:23:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:23:05] local.INFO: Teltonika packet parsed successfully {"connection_id":144153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:23:05] local.INFO: Passing IMEI to GPS processor {"connection_id":144153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:23:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":144153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:23:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:23:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:23:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:23:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999175168001,"66":12558,"120":206,"28":31744,"24":0,"16":8935688049262592,"45":1738037643074156544},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 17:23:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:23:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:23:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999175168001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:23:05] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 17:23:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:23:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8935688049262592,"km_value":8935688049262.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:23:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074156544,"description":"Unknown IO ID 45"} 
[2026-07-27 17:23:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999175168001,"power":12558,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738037643074156544}} 
[2026-07-27 17:23:06] local.INFO: DEBUG: GPS processor result {"connection_id":144153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554404,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:23:06] local.INFO: GPS data processed {"connection_id":144153,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:23:06] local.INFO: Acknowledgment sent {"connection_id":144153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:23:08] local.INFO: TCP Data received {"connection_id":144154,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144154,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:23:08] local.INFO: Processing buffer {"connection_id":144154,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:23:08] local.INFO: IMEI packet received {"connection_id":144154,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 17:23:08] local.INFO: IMEI acknowledgment sent {"connection_id":144154,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:23:09] local.INFO: TCP Data received {"connection_id":144154,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144154,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:23:09] local.INFO: Processing buffer {"connection_id":144154,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:23:09] local.INFO: IMEI packet received {"connection_id":144154,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 17:23:09] local.INFO: IMEI acknowledgment sent {"connection_id":144154,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:23:10] local.INFO: TCP Data received {"connection_id":144154,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa36b8b10012d7c3a4005e1e0e00007002e2c..."} 
[2026-07-27 17:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144154,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa36b8b10012d7c3a4005e1e0e00007002e2c..."} 
[2026-07-27 17:23:10] local.INFO: Processing buffer {"connection_id":144154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa36b8b10012d7c3a4005e1e0e00007002e2c..."} 
[2026-07-27 17:23:10] local.INFO: Packet analysis {"connection_id":144154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa36b"} 
[2026-07-27 17:23:10] local.INFO: Extracted packet for processing {"connection_id":144154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa36b"} 
[2026-07-27 17:23:10] local.INFO: GPS Element Parsed {"raw_longitude":763116096,"raw_latitude":98689248,"longitude_deg":76.3116096,"latitude_deg":9.8689248,"altitude":7,"angle":46,"satellites":44,"speed":10,"hex_longitude":"2d7c3a40","hex_latitude":"05e1e0e0","is_valid_coordinates":true} 
[2026-07-27 17:23:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:23:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999208960001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:23:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8950904284663218176,"note":"Value kept but may cause issues"} 
[2026-07-27 17:23:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111685642370416640,"note":"Value kept but may cause issues"} 
[2026-07-27 17:23:10] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-27 17:23:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785153162000,"timestamp_ms":1785153162000,"timestamp_seconds":1785153162,"priority":1,"record_length":96,"hex_timestamp":"0000019fa36b8b10"} 
[2026-07-27 17:23:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:23:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:23:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-27 17:23:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:23:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:23:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:23:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:23:10] local.INFO: Teltonika packet parsed successfully {"connection_id":144154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:23:10] local.INFO: Passing IMEI to GPS processor {"connection_id":144154,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:23:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":144154,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:23:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:23:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 17:23:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 17:23:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999208960001,"66":12613,"45":8950904284663218176,"85":15104,"24":10,"16":111685642370416640},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-07-27 17:23:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 17:23:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 17:23:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999208960001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:23:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8950904284663218176,"description":"Unknown IO ID 45"} 
[2026-07-27 17:23:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 17:23:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111685642370416640,"km_value":111685642370416.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:23:10] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456999208960001,"power":12613,"unknown_45":8950904284663218176,"unknown_85":15104,"ignition":10,"odometer":null}} 
[2026-07-27 17:23:10] local.INFO: DEBUG: GPS processor result {"connection_id":144154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554405,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:23:10] local.INFO: GPS data processed {"connection_id":144154,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:23:10] local.INFO: Acknowledgment sent {"connection_id":144154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:23:13] local.INFO: TCP Data received {"connection_id":145440,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fa36aa0b0012da0a80005c1cbe00019014629..."} 
[2026-07-27 17:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa36aa0b0012da0a80005c1cbe00019014629..."} 
[2026-07-27 17:23:13] local.INFO: Processing buffer {"connection_id":145440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa36aa0b0012da0a80005c1cbe00019014629..."} 
[2026-07-27 17:23:13] local.INFO: Packet analysis {"connection_id":145440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa36a"} 
[2026-07-27 17:23:13] local.INFO: Extracted packet for processing {"connection_id":145440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa36a"} 
[2026-07-27 17:23:13] local.INFO: GPS Element Parsed {"raw_longitude":765503488,"raw_latitude":96586720,"longitude_deg":76.5503488,"latitude_deg":9.658672,"altitude":25,"angle":326,"satellites":41,"speed":31,"hex_longitude":"2da0a800","hex_latitude":"05c1cbe0","is_valid_coordinates":true} 
[2026-07-27 17:23:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:23:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999192320001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:23:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359125747744374784,"note":"Value kept but may cause issues"} 
[2026-07-27 17:23:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6866230188410306560,"note":"Value kept but may cause issues"} 
[2026-07-27 17:23:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:23:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785153102000,"timestamp_ms":1785153102000,"timestamp_seconds":1785153102,"priority":1,"record_length":96,"hex_timestamp":"0000019fa36aa0b0"} 
[2026-07-27 17:23:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:23:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:23:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-27 17:23:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:23:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:23:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:23:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:23:13] local.INFO: Teltonika packet parsed successfully {"connection_id":145440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:23:13] local.INFO: Passing IMEI to GPS processor {"connection_id":145440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:23:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":145440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:23: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-07-27 17:23:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 17:23:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 17:23:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999192320001,"66":27908,"138":206,"83":16896,"24":31,"16":359125747744374784,"45":-6866230188410306560},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,83,24,16,45]} 
[2026-07-27 17:23:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 17:23:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 17:23:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999192320001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:23:13] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-07-27 17:23:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-27 17:23:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359125747744374784,"km_value":359125747744374.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:23:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6866230188410306560,"description":"Unknown IO ID 45"} 
[2026-07-27 17:23:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999192320001,"power":27908,"unknown_138":206,"unknown_83":16896,"ignition":31,"odometer":null,"unknown_45":-6866230188410306560}} 
[2026-07-27 17:23:13] local.INFO: DEBUG: GPS processor result {"connection_id":145440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:23:13] local.INFO: GPS data processed {"connection_id":145440,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:23:13] local.INFO: Acknowledgment sent {"connection_id":145440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:23:29] local.INFO: TCP Data received {"connection_id":143160,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:23:29] local.INFO: Processing buffer {"connection_id":143160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:23:29] local.INFO: IMEI packet received {"connection_id":143160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 17:23:29] local.INFO: IMEI acknowledgment sent {"connection_id":143160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:23:31] local.INFO: TCP Data received {"connection_id":143160,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:23:31] local.INFO: Processing buffer {"connection_id":143160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:23:31] local.INFO: IMEI packet received {"connection_id":143160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 17:23:31] local.INFO: IMEI acknowledgment sent {"connection_id":143160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:23:35] local.INFO: TCP Data received {"connection_id":143160,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:23:35] local.INFO: Processing buffer {"connection_id":143160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:23:35] local.INFO: IMEI packet received {"connection_id":143160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 17:23:35] local.INFO: IMEI acknowledgment sent {"connection_id":143160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:23:36] local.INFO: TCP Data received {"connection_id":143160,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fa36b8b10012da0e08005c27800001c002c28..."} 
[2026-07-27 17:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143160,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa36b8b10012da0e08005c27800001c002c28..."} 
[2026-07-27 17:23:36] local.INFO: Processing buffer {"connection_id":143160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa36b8b10012da0e08005c27800001c002c28..."} 
[2026-07-27 17:23:36] local.INFO: Packet analysis {"connection_id":143160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa36b"} 
[2026-07-27 17:23:36] local.INFO: Extracted packet for processing {"connection_id":143160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa36b"} 
[2026-07-27 17:23:36] local.INFO: GPS Element Parsed {"raw_longitude":765517952,"raw_latitude":96630784,"longitude_deg":76.5517952,"latitude_deg":9.6630784,"altitude":28,"angle":44,"satellites":40,"speed":29,"hex_longitude":"2da0e080","hex_latitude":"05c27800","is_valid_coordinates":true} 
[2026-07-27 17:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:23:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999208448001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:23:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359128230235471872,"note":"Value kept but may cause issues"} 
[2026-07-27 17:23:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6856589670446415872,"note":"Value kept but may cause issues"} 
[2026-07-27 17:23:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:23:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785153162000,"timestamp_ms":1785153162000,"timestamp_seconds":1785153162,"priority":1,"record_length":96,"hex_timestamp":"0000019fa36b8b10"} 
[2026-07-27 17:23:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:23:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-27 17:23:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:23:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:23:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:23:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:23:36] local.INFO: Teltonika packet parsed successfully {"connection_id":143160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:23:36] local.INFO: Passing IMEI to GPS processor {"connection_id":143160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:23:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":143160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:23:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:23:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 17:23:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 17:23:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999208448001,"66":27843,"169":206,"83":16896,"24":29,"16":359128230235471872,"45":-6856589670446415872},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,83,24,16,45]} 
[2026-07-27 17:23:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 17:23:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 17:23:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999208448001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:23:36] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-27 17:23:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-27 17:23:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359128230235471872,"km_value":359128230235471.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:23:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6856589670446415872,"description":"Unknown IO ID 45"} 
[2026-07-27 17:23:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999208448001,"power":27843,"unknown_169":206,"unknown_83":16896,"ignition":29,"odometer":null,"unknown_45":-6856589670446415872}} 
[2026-07-27 17:23:36] local.INFO: DEBUG: GPS processor result {"connection_id":143160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:23:36] local.INFO: GPS data processed {"connection_id":143160,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:23:36] local.INFO: Acknowledgment sent {"connection_id":143160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:23:37] local.INFO: TCP Data received {"connection_id":144153,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa36a23b0012d181ec00721b138004c00d22a..."} 
[2026-07-27 17:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144153,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa36a23b0012d181ec00721b138004c00d22a..."} 
[2026-07-27 17:23:37] local.INFO: Processing buffer {"connection_id":144153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa36a23b0012d181ec00721b138004c00d22a..."} 
[2026-07-27 17:23:37] local.INFO: Packet analysis {"connection_id":144153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa36a"} 
[2026-07-27 17:23:37] local.INFO: Extracted packet for processing {"connection_id":144153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa36a"} 
[2026-07-27 17:23:37] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648568,"longitude_deg":75.6555456,"latitude_deg":11.9648568,"altitude":76,"angle":210,"satellites":42,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b138","is_valid_coordinates":true} 
[2026-07-27 17:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999180544001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8935688049262592,"note":"Value kept but may cause issues"} 
[2026-07-27 17:23:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074156544,"note":"Value kept but may cause issues"} 
[2026-07-27 17:23:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785153070000,"timestamp_ms":1785153070000,"timestamp_seconds":1785153070,"priority":1,"record_length":96,"hex_timestamp":"0000019fa36a23b0"} 
[2026-07-27 17:23:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:23:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-07-27 17:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-07-27 17:23:37] local.WARNING: Large IO value detected {"io_id":190,"raw_value":4127195136,"note":"Value kept but may cause issues"} 
[2026-07-27 17:23:37] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2741500160,"note":"Value kept but may cause issues"} 
[2026-07-27 17:23:37] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249383964906992472,"note":"Value kept but may cause issues"} 
[2026-07-27 17:23:37] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2147951027,"note":"Value kept but may cause issues"} 
[2026-07-27 17:23:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-07-27 17:23:37] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2801847783,"note":"Value kept but may cause issues"} 
[2026-07-27 17:23:37] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3203072000,"note":"Value kept but may cause issues"} 
[2026-07-27 17:23:37] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8647137906286139392,"note":"Value kept but may cause issues"} 
[2026-07-27 17:23:37] local.WARNING: Large IO value detected {"io_id":93,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-27 17:23:37] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-07-27 17:23:37] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,120,28,24,241,158,16,190,159,127,45,192,177,76,41,10,66,219,1,240,101,163,33,4,113,205,5,75,88,44,239,49,2,31,7,78,231,93,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-07-27 17:23:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476608220418015232,"timestamp_seconds":5476608220418015.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 17:23:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:23:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999180544001,"66":12504,"120":206,"28":31744,"24":0,"16":8935688049262592,"45":1738037643074156544},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 17:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:23:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:23:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999180544001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:23:37] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 17:23:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:23:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8935688049262592,"km_value":8935688049262.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:23:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074156544,"description":"Unknown IO ID 45"} 
[2026-07-27 17:23:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999180544001,"power":12504,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738037643074156544}} 
[2026-07-27 17:23:37] local.INFO: DEBUG: GPS processor result {"connection_id":144153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554408,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:23:37] local.INFO: GPS data processed {"connection_id":144153,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:23:37] local.INFO: Acknowledgment sent {"connection_id":144153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:23:41] local.INFO: TCP Data received {"connection_id":144154,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa36b92e0012d7c3bc005e1e2f80006001c2e..."} 
[2026-07-27 17:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144154,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa36b92e0012d7c3bc005e1e2f80006001c2e..."} 
[2026-07-27 17:23:41] local.INFO: Processing buffer {"connection_id":144154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa36b92e0012d7c3bc005e1e2f80006001c2e..."} 
[2026-07-27 17:23:41] local.INFO: Packet analysis {"connection_id":144154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa36b"} 
[2026-07-27 17:23:41] local.INFO: Extracted packet for processing {"connection_id":144154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa36b"} 
[2026-07-27 17:23:41] local.INFO: GPS Element Parsed {"raw_longitude":763116480,"raw_latitude":98689784,"longitude_deg":76.311648,"latitude_deg":9.8689784,"altitude":6,"angle":28,"satellites":46,"speed":16,"hex_longitude":"2d7c3bc0","hex_latitude":"05e1e2f8","is_valid_coordinates":true} 
[2026-07-27 17:23:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:23:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999209472001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:23:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111685676730155008,"note":"Value kept but may cause issues"} 
[2026-07-27 17:23:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8951537603360907264,"note":"Value kept but may cause issues"} 
[2026-07-27 17:23:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:23:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785153164000,"timestamp_ms":1785153164000,"timestamp_seconds":1785153164,"priority":1,"record_length":96,"hex_timestamp":"0000019fa36b92e0"} 
[2026-07-27 17:23:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:23:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-27 17:23:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:23:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:23:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:23:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:23:41] local.INFO: Teltonika packet parsed successfully {"connection_id":144154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:23:41] local.INFO: Passing IMEI to GPS processor {"connection_id":144154,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:23:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":144154,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:23:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:23:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 17:23:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 17:23:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999209472001,"66":12809,"43":206,"85":15104,"24":16,"16":111685676730155008,"45":8951537603360907264},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-07-27 17:23:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 17:23:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 17:23:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999209472001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:23:41] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-27 17:23:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 17:23:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111685676730155008,"km_value":111685676730155.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:23:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8951537603360907264,"description":"Unknown IO ID 45"} 
[2026-07-27 17:23:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999209472001,"power":12809,"unknown_43":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":8951537603360907264}} 
[2026-07-27 17:23:41] local.INFO: DEBUG: GPS processor result {"connection_id":144154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554409,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:23:41] local.INFO: GPS data processed {"connection_id":144154,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:23:41] local.INFO: Acknowledgment sent {"connection_id":144154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:24:04] local.INFO: TCP Data received {"connection_id":143013,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143013,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:24:04] local.INFO: Processing buffer {"connection_id":143013,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:24:04] local.INFO: IMEI packet received {"connection_id":143013,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 17:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":143013,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:24:07] local.INFO: TCP Data received {"connection_id":143160,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fa36b9ab0012da0e98005c27ec0001c003929..."} 
[2026-07-27 17:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143160,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa36b9ab0012da0e98005c27ec0001c003929..."} 
[2026-07-27 17:24:07] local.INFO: Processing buffer {"connection_id":143160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa36b9ab0012da0e98005c27ec0001c003929..."} 
[2026-07-27 17:24:07] local.INFO: Packet analysis {"connection_id":143160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa36b"} 
[2026-07-27 17:24:07] local.INFO: Extracted packet for processing {"connection_id":143160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa36b"} 
[2026-07-27 17:24:07] local.INFO: GPS Element Parsed {"raw_longitude":765520256,"raw_latitude":96632512,"longitude_deg":76.5520256,"latitude_deg":9.6632512,"altitude":28,"angle":57,"satellites":41,"speed":29,"hex_longitude":"2da0e980","hex_latitude":"05c27ec0","is_valid_coordinates":true} 
[2026-07-27 17:24:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:24:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999209472001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:24:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359128371969392640,"note":"Value kept but may cause issues"} 
[2026-07-27 17:24:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6854337870632058880,"note":"Value kept but may cause issues"} 
[2026-07-27 17:24:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:24:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785153166000,"timestamp_ms":1785153166000,"timestamp_seconds":1785153166,"priority":1,"record_length":96,"hex_timestamp":"0000019fa36b9ab0"} 
[2026-07-27 17:24:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:24:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:24:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-27 17:24:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:24:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:24:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:24:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:24:07] local.INFO: Teltonika packet parsed successfully {"connection_id":143160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:24:07] local.INFO: Passing IMEI to GPS processor {"connection_id":143160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:24:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":143160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:24:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:24:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 17:24:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 17:24:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999209472001,"66":27908,"169":206,"83":16896,"24":29,"16":359128371969392640,"45":-6854337870632058880},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,83,24,16,45]} 
[2026-07-27 17:24:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 17:24:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 17:24:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999209472001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:24:07] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-27 17:24:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-27 17:24:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359128371969392640,"km_value":359128371969392.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:24:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6854337870632058880,"description":"Unknown IO ID 45"} 
[2026-07-27 17:24:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999209472001,"power":27908,"unknown_169":206,"unknown_83":16896,"ignition":29,"odometer":null,"unknown_45":-6854337870632058880}} 
[2026-07-27 17:24:07] local.INFO: DEBUG: GPS processor result {"connection_id":143160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:24:07] local.INFO: GPS data processed {"connection_id":143160,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:24:07] local.INFO: Acknowledgment sent {"connection_id":143160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:24:08] local.INFO: TCP Data received {"connection_id":143014,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143014,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:24:08] local.INFO: Processing buffer {"connection_id":143014,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:24:08] local.INFO: IMEI packet received {"connection_id":143014,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 17:24:08] local.INFO: IMEI acknowledgment sent {"connection_id":143014,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:24:12] local.INFO: TCP Data received {"connection_id":143013,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143013,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:24:12] local.INFO: Processing buffer {"connection_id":143013,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:24:12] local.INFO: IMEI packet received {"connection_id":143013,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 17:24:12] local.INFO: IMEI acknowledgment sent {"connection_id":143013,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:24:13] local.INFO: TCP Data received {"connection_id":143014,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143014,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:24:13] local.INFO: Processing buffer {"connection_id":143014,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:24:13] local.INFO: IMEI packet received {"connection_id":143014,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 17:24:13] local.INFO: IMEI acknowledgment sent {"connection_id":143014,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:24:13] local.INFO: TCP Data received {"connection_id":143014,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa36ca068012d7cc50005e206600003005d29..."} 
[2026-07-27 17:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa36ca068012d7cc50005e206600003005d29..."} 
[2026-07-27 17:24:13] local.INFO: Processing buffer {"connection_id":143014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa36ca068012d7cc50005e206600003005d29..."} 
[2026-07-27 17:24:13] local.INFO: Packet analysis {"connection_id":143014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa36c"} 
[2026-07-27 17:24:13] local.INFO: Extracted packet for processing {"connection_id":143014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa36c"} 
[2026-07-27 17:24:13] local.INFO: GPS Element Parsed {"raw_longitude":763151616,"raw_latitude":98698848,"longitude_deg":76.3151616,"latitude_deg":9.8698848,"altitude":3,"angle":93,"satellites":41,"speed":21,"hex_longitude":"2d7cc500","hex_latitude":"05e20660","is_valid_coordinates":true} 
[2026-07-27 17:24:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:24:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999223808001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:24:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111687682479882240,"note":"Value kept but may cause issues"} 
[2026-07-27 17:24:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8980529525964879872,"note":"Value kept but may cause issues"} 
[2026-07-27 17:24:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:24:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785153233000,"timestamp_ms":1785153233000,"timestamp_seconds":1785153233,"priority":1,"record_length":96,"hex_timestamp":"0000019fa36ca068"} 
[2026-07-27 17:24:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:24:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:24:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-27 17:24:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:24:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:24:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:24:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:24:13] local.INFO: Teltonika packet parsed successfully {"connection_id":143014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:24:13] local.INFO: Passing IMEI to GPS processor {"connection_id":143014,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:24:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":143014,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:24:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:24:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 17:24:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 17:24:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999223808001,"66":12917,"43":206,"85":15104,"24":21,"16":111687682479882240,"45":8980529525964879872},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-07-27 17:24:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 17:24:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 17:24:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999223808001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:24:13] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-27 17:24:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 17:24:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111687682479882240,"km_value":111687682479882.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:24:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8980529525964879872,"description":"Unknown IO ID 45"} 
[2026-07-27 17:24:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999223808001,"power":12917,"unknown_43":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":8980529525964879872}} 
[2026-07-27 17:24:13] local.INFO: DEBUG: GPS processor result {"connection_id":143014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554411,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:24:13] local.INFO: GPS data processed {"connection_id":143014,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:24:13] local.INFO: Acknowledgment sent {"connection_id":143014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:24:13] local.INFO: TCP Data received {"connection_id":143013,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa36a75b8012d181ec00721b138004c00d228..."} 
[2026-07-27 17:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143013,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa36a75b8012d181ec00721b138004c00d228..."} 
[2026-07-27 17:24:13] local.INFO: Processing buffer {"connection_id":143013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa36a75b8012d181ec00721b138004c00d228..."} 
[2026-07-27 17:24:13] local.INFO: Packet analysis {"connection_id":143013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa36a"} 
[2026-07-27 17:24:13] local.INFO: Extracted packet for processing {"connection_id":143013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa36a"} 
[2026-07-27 17:24:13] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648568,"longitude_deg":75.6555456,"latitude_deg":11.9648568,"altitude":76,"angle":210,"satellites":40,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b138","is_valid_coordinates":true} 
[2026-07-27 17:24:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:24:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999185920001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:24:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8935688049262592,"note":"Value kept but may cause issues"} 
[2026-07-27 17:24:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074156544,"note":"Value kept but may cause issues"} 
[2026-07-27 17:24:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:24:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785153091000,"timestamp_ms":1785153091000,"timestamp_seconds":1785153091,"priority":1,"record_length":96,"hex_timestamp":"0000019fa36a75b8"} 
[2026-07-27 17:24:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:24:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:24:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-27 17:24:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:24:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:24:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:24:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:24:13] local.INFO: Teltonika packet parsed successfully {"connection_id":143013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:24:13] local.INFO: Passing IMEI to GPS processor {"connection_id":143013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:24:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":143013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:24:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:24:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:24:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:24:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999185920001,"66":12526,"120":206,"28":31744,"24":0,"16":8935688049262592,"45":1738037643074156544},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 17:24:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:24:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:24:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999185920001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:24:13] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 17:24:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:24:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8935688049262592,"km_value":8935688049262.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:24:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074156544,"description":"Unknown IO ID 45"} 
[2026-07-27 17:24:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999185920001,"power":12526,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738037643074156544}} 
[2026-07-27 17:24:14] local.INFO: DEBUG: GPS processor result {"connection_id":143013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554412,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:24:14] local.INFO: GPS data processed {"connection_id":143013,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:24:14] local.INFO: Acknowledgment sent {"connection_id":143013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:24:15] local.INFO: TCP Data received {"connection_id":143013,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa36ac7c0012d181ec00721b138004c00d22a..."} 
[2026-07-27 17:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143013,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa36ac7c0012d181ec00721b138004c00d22a..."} 
[2026-07-27 17:24:15] local.INFO: Processing buffer {"connection_id":143013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa36ac7c0012d181ec00721b138004c00d22a..."} 
[2026-07-27 17:24:15] local.INFO: Packet analysis {"connection_id":143013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa36a"} 
[2026-07-27 17:24:15] local.INFO: Extracted packet for processing {"connection_id":143013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa36a"} 
[2026-07-27 17:24:15] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648568,"longitude_deg":75.6555456,"latitude_deg":11.9648568,"altitude":76,"angle":210,"satellites":42,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b138","is_valid_coordinates":true} 
[2026-07-27 17:24:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:24:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999191296001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:24:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8935688049262592,"note":"Value kept but may cause issues"} 
[2026-07-27 17:24:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074156544,"note":"Value kept but may cause issues"} 
[2026-07-27 17:24:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:24:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785153112000,"timestamp_ms":1785153112000,"timestamp_seconds":1785153112,"priority":1,"record_length":96,"hex_timestamp":"0000019fa36ac7c0"} 
[2026-07-27 17:24:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:24:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:24:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-27 17:24:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:24:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:24:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:24:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:24:15] local.INFO: Teltonika packet parsed successfully {"connection_id":143013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:24:15] local.INFO: Passing IMEI to GPS processor {"connection_id":143013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:24:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":143013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:24:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:24:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:24:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:24:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999191296001,"66":12504,"120":206,"28":31744,"24":0,"16":8935688049262592,"45":1738037643074156544},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 17:24:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:24:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:24:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999191296001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:24:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 17:24:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:24:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8935688049262592,"km_value":8935688049262.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:24:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074156544,"description":"Unknown IO ID 45"} 
[2026-07-27 17:24:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999191296001,"power":12504,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738037643074156544}} 
[2026-07-27 17:24:15] local.INFO: DEBUG: GPS processor result {"connection_id":143013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554413,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:24:15] local.INFO: GPS data processed {"connection_id":143013,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:24:15] local.INFO: Acknowledgment sent {"connection_id":143013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:24:32] local.INFO: TCP Data received {"connection_id":143015,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:24:32] local.INFO: Processing buffer {"connection_id":143015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:24:32] local.INFO: IMEI packet received {"connection_id":143015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 17:24:32] local.INFO: IMEI acknowledgment sent {"connection_id":143015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:24:37] local.INFO: TCP Data received {"connection_id":143015,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:24:37] local.INFO: Processing buffer {"connection_id":143015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:24:37] local.INFO: IMEI packet received {"connection_id":143015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 17:24:37] local.INFO: IMEI acknowledgment sent {"connection_id":143015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:24:37] local.INFO: TCP Data received {"connection_id":143015,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fa36bae38012da0f84005c28598001b00482b..."} 
[2026-07-27 17:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa36bae38012da0f84005c28598001b00482b..."} 
[2026-07-27 17:24:37] local.INFO: Processing buffer {"connection_id":143015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa36bae38012da0f84005c28598001b00482b..."} 
[2026-07-27 17:24:37] local.INFO: Packet analysis {"connection_id":143015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa36b"} 
[2026-07-27 17:24:37] local.INFO: Extracted packet for processing {"connection_id":143015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa36b"} 
[2026-07-27 17:24:37] local.INFO: GPS Element Parsed {"raw_longitude":765524032,"raw_latitude":96634264,"longitude_deg":76.5524032,"latitude_deg":9.6634264,"altitude":27,"angle":72,"satellites":43,"speed":34,"hex_longitude":"2da0f840","hex_latitude":"05c28598","is_valid_coordinates":true} 
[2026-07-27 17:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999210496001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:24:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359128573832855552,"note":"Value kept but may cause issues"} 
[2026-07-27 17:24:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6851804595841220608,"note":"Value kept but may cause issues"} 
[2026-07-27 17:24:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:24:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785153171000,"timestamp_ms":1785153171000,"timestamp_seconds":1785153171,"priority":1,"record_length":96,"hex_timestamp":"0000019fa36bae38"} 
[2026-07-27 17:24:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:24:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-27 17:24:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:24:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:24:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:24:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:24:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:24:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:24:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:24:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:24:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 17:24:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 17:24:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999210496001,"66":27713,"169":206,"83":16896,"24":34,"16":359128573832855552,"45":-6851804595841220608},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,83,24,16,45]} 
[2026-07-27 17:24:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 17:24:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 17:24:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999210496001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:24:37] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-27 17:24:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-27 17:24:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359128573832855552,"km_value":359128573832855.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:24:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6851804595841220608,"description":"Unknown IO ID 45"} 
[2026-07-27 17:24:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999210496001,"power":27713,"unknown_169":206,"unknown_83":16896,"ignition":34,"odometer":null,"unknown_45":-6851804595841220608}} 
[2026-07-27 17:24:37] local.INFO: DEBUG: GPS processor result {"connection_id":143015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:24:37] local.INFO: GPS data processed {"connection_id":143015,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:24:37] local.INFO: Acknowledgment sent {"connection_id":143015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:24:44] local.INFO: TCP Data received {"connection_id":143014,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa36cbbc0012d7cd90005e207280002004e2c..."} 
[2026-07-27 17:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa36cbbc0012d7cd90005e207280002004e2c..."} 
[2026-07-27 17:24:44] local.INFO: Processing buffer {"connection_id":143014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa36cbbc0012d7cd90005e207280002004e2c..."} 
[2026-07-27 17:24:44] local.INFO: Packet analysis {"connection_id":143014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa36c"} 
[2026-07-27 17:24:44] local.INFO: Extracted packet for processing {"connection_id":143014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa36c"} 
[2026-07-27 17:24:44] local.INFO: GPS Element Parsed {"raw_longitude":763156736,"raw_latitude":98699048,"longitude_deg":76.3156736,"latitude_deg":9.8699048,"altitude":2,"angle":78,"satellites":44,"speed":33,"hex_longitude":"2d7cd900","hex_latitude":"05e20728","is_valid_coordinates":true} 
[2026-07-27 17:24:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:24:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999227648001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:24:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111687927293018112,"note":"Value kept but may cause issues"} 
[2026-07-27 17:24:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8990592256381968384,"note":"Value kept but may cause issues"} 
[2026-07-27 17:24:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:24:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785153240000,"timestamp_ms":1785153240000,"timestamp_seconds":1785153240,"priority":1,"record_length":96,"hex_timestamp":"0000019fa36cbbc0"} 
[2026-07-27 17:24:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:24:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:24:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-27 17:24:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:24:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:24:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:24:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:24:44] local.INFO: Teltonika packet parsed successfully {"connection_id":143014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:24:44] local.INFO: Passing IMEI to GPS processor {"connection_id":143014,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:24:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":143014,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:24:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:24:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 17:24:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 17:24:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999227648001,"66":12885,"43":206,"85":15104,"24":33,"16":111687927293018112,"45":8990592256381968384},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-07-27 17:24:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 17:24:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 17:24:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999227648001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:24:44] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-27 17:24:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 17:24:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111687927293018112,"km_value":111687927293018.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:24:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8990592256381968384,"description":"Unknown IO ID 45"} 
[2026-07-27 17:24:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999227648001,"power":12885,"unknown_43":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":8990592256381968384}} 
[2026-07-27 17:24:45] local.INFO: DEBUG: GPS processor result {"connection_id":143014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554415,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:24:45] local.INFO: GPS data processed {"connection_id":143014,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:24:45] local.INFO: Acknowledgment sent {"connection_id":143014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:24:58] local.INFO: TCP Data received {"connection_id":144155,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144155,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:24:58] local.INFO: Processing buffer {"connection_id":144155,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:24:58] local.INFO: IMEI packet received {"connection_id":144155,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 17:24:58] local.INFO: IMEI acknowledgment sent {"connection_id":144155,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:24:59] local.INFO: TCP Data received {"connection_id":144155,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144155,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:24:59] local.INFO: Processing buffer {"connection_id":144155,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:24:59] local.INFO: IMEI packet received {"connection_id":144155,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 17:24:59] local.INFO: IMEI acknowledgment sent {"connection_id":144155,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:25:04] local.INFO: TCP Data received {"connection_id":144155,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144155,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:25:04] local.INFO: Processing buffer {"connection_id":144155,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:25:04] local.INFO: IMEI packet received {"connection_id":144155,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 17:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":144155,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:25:05] local.INFO: TCP Data received {"connection_id":144155,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa36b19c8012d181ec00721b138004c00d229..."} 
[2026-07-27 17:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144155,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa36b19c8012d181ec00721b138004c00d229..."} 
[2026-07-27 17:25:05] local.INFO: Processing buffer {"connection_id":144155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa36b19c8012d181ec00721b138004c00d229..."} 
[2026-07-27 17:25:05] local.INFO: Packet analysis {"connection_id":144155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa36b"} 
[2026-07-27 17:25:05] local.INFO: Extracted packet for processing {"connection_id":144155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa36b"} 
[2026-07-27 17:25:05] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648568,"longitude_deg":75.6555456,"latitude_deg":11.9648568,"altitude":76,"angle":210,"satellites":41,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b138","is_valid_coordinates":true} 
[2026-07-27 17:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:25:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999196672001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:25:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8935688049262592,"note":"Value kept but may cause issues"} 
[2026-07-27 17:25:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074156544,"note":"Value kept but may cause issues"} 
[2026-07-27 17:25:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:25:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785153133000,"timestamp_ms":1785153133000,"timestamp_seconds":1785153133,"priority":1,"record_length":96,"hex_timestamp":"0000019fa36b19c8"} 
[2026-07-27 17:25:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:25:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-27 17:25:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:25:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:25:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:25:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:25:05] local.INFO: Teltonika packet parsed successfully {"connection_id":144155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:25:05] local.INFO: Passing IMEI to GPS processor {"connection_id":144155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:25:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":144155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:25:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:25:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:25:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:25:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999196672001,"66":12526,"120":206,"28":31744,"24":0,"16":8935688049262592,"45":1738037643074156544},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 17:25:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:25:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:25:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999196672001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:25:05] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 17:25:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:25:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8935688049262592,"km_value":8935688049262.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:25:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074156544,"description":"Unknown IO ID 45"} 
[2026-07-27 17:25:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999196672001,"power":12526,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738037643074156544}} 
[2026-07-27 17:25:06] local.INFO: DEBUG: GPS processor result {"connection_id":144155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554416,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:25:06] local.INFO: GPS data processed {"connection_id":144155,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:25:06] local.INFO: Acknowledgment sent {"connection_id":144155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:25:07] local.INFO: TCP Data received {"connection_id":143016,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143016,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:25:07] local.INFO: Processing buffer {"connection_id":143016,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:25:07] local.INFO: IMEI packet received {"connection_id":143016,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 17:25:07] local.INFO: IMEI acknowledgment sent {"connection_id":143016,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:25:08] local.INFO: TCP Data received {"connection_id":143015,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fa36bc1c0012da10a4005c28bf0001b003c2b..."} 
[2026-07-27 17:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa36bc1c0012da10a4005c28bf0001b003c2b..."} 
[2026-07-27 17:25:08] local.INFO: Processing buffer {"connection_id":143015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa36bc1c0012da10a4005c28bf0001b003c2b..."} 
[2026-07-27 17:25:08] local.INFO: Packet analysis {"connection_id":143015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa36b"} 
[2026-07-27 17:25:08] local.INFO: Extracted packet for processing {"connection_id":143015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa36b"} 
[2026-07-27 17:25:08] local.INFO: GPS Element Parsed {"raw_longitude":765528640,"raw_latitude":96635888,"longitude_deg":76.552864,"latitude_deg":9.6635888,"altitude":27,"angle":60,"satellites":43,"speed":42,"hex_longitude":"2da10a40","hex_latitude":"05c28bf0","is_valid_coordinates":true} 
[2026-07-27 17:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:25:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999211776001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:25:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359128805761089536,"note":"Value kept but may cause issues"} 
[2026-07-27 17:25:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6847652839934289920,"note":"Value kept but may cause issues"} 
[2026-07-27 17:25:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:25:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785153176000,"timestamp_ms":1785153176000,"timestamp_seconds":1785153176,"priority":1,"record_length":96,"hex_timestamp":"0000019fa36bc1c0"} 
[2026-07-27 17:25:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:25:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-27 17:25:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:25:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:25:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:25:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:25:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:25:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:25:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:25:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:25:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 17:25:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 17:25:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999211776001,"66":27908,"169":206,"83":16896,"24":42,"16":359128805761089536,"45":-6847652839934289920},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,83,24,16,45]} 
[2026-07-27 17:25:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 17:25:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 17:25:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999211776001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:25:08] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-27 17:25:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-27 17:25:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359128805761089536,"km_value":359128805761089.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:25:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6847652839934289920,"description":"Unknown IO ID 45"} 
[2026-07-27 17:25:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999211776001,"power":27908,"unknown_169":206,"unknown_83":16896,"ignition":42,"odometer":null,"unknown_45":-6847652839934289920}} 
[2026-07-27 17:25:08] local.INFO: DEBUG: GPS processor result {"connection_id":143015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:25:08] local.INFO: GPS data processed {"connection_id":143015,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:25:08] local.INFO: Acknowledgment sent {"connection_id":143015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:25:13] local.INFO: TCP Data received {"connection_id":143016,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143016,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:25:13] local.INFO: Processing buffer {"connection_id":143016,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:25:13] local.INFO: IMEI packet received {"connection_id":143016,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 17:25:13] local.INFO: IMEI acknowledgment sent {"connection_id":143016,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:25:13] local.INFO: TCP Data received {"connection_id":143016,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa36ce6b8012d7cfb0005e20e700005005c2f..."} 
[2026-07-27 17:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa36ce6b8012d7cfb0005e20e700005005c2f..."} 
[2026-07-27 17:25:13] local.INFO: Processing buffer {"connection_id":143016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa36ce6b8012d7cfb0005e20e700005005c2f..."} 
[2026-07-27 17:25:13] local.INFO: Packet analysis {"connection_id":143016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa36c"} 
[2026-07-27 17:25:13] local.INFO: Extracted packet for processing {"connection_id":143016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa36c"} 
[2026-07-27 17:25:13] local.INFO: GPS Element Parsed {"raw_longitude":763165440,"raw_latitude":98700912,"longitude_deg":76.316544,"latitude_deg":9.8700912,"altitude":5,"angle":92,"satellites":47,"speed":23,"hex_longitude":"2d7cfb00","hex_latitude":"05e20e70","is_valid_coordinates":true} 
[2026-07-27 17: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-07-27 17:25:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999229440001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:25:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111688356789747712,"note":"Value kept but may cause issues"} 
[2026-07-27 17:25:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8996221755916232704,"note":"Value kept but may cause issues"} 
[2026-07-27 17:25:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:25:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785153251000,"timestamp_ms":1785153251000,"timestamp_seconds":1785153251,"priority":1,"record_length":96,"hex_timestamp":"0000019fa36ce6b8"} 
[2026-07-27 17:25:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:25:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-27 17:25: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-07-27 17: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-07-27 17:25:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:25:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:25:13] local.INFO: Teltonika packet parsed successfully {"connection_id":143016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:25:13] local.INFO: Passing IMEI to GPS processor {"connection_id":143016,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:25:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":143016,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:25:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:25:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 17:25:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 17:25:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999229440001,"66":12798,"43":206,"85":15104,"24":23,"16":111688356789747712,"45":8996221755916232704},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-07-27 17:25:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 17:25:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 17:25:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999229440001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:25:13] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-27 17:25:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 17:25:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111688356789747712,"km_value":111688356789747.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:25:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8996221755916232704,"description":"Unknown IO ID 45"} 
[2026-07-27 17:25:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999229440001,"power":12798,"unknown_43":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":8996221755916232704}} 
[2026-07-27 17:25:13] local.INFO: DEBUG: GPS processor result {"connection_id":143016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554418,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:25:13] local.INFO: GPS data processed {"connection_id":143016,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:25:13] local.INFO: Acknowledgment sent {"connection_id":143016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:25:31] local.INFO: TCP Data received {"connection_id":143161,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:25:31] local.INFO: Processing buffer {"connection_id":143161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:25:31] local.INFO: IMEI packet received {"connection_id":143161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 17:25:31] local.INFO: IMEI acknowledgment sent {"connection_id":143161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:25:37] local.INFO: TCP Data received {"connection_id":143161,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:25:37] local.INFO: Processing buffer {"connection_id":143161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:25:37] local.INFO: IMEI packet received {"connection_id":143161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 17:25:37] local.INFO: IMEI acknowledgment sent {"connection_id":143161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:25:37] local.INFO: TCP Data received {"connection_id":144155,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa36b6bd0012d181ec00721b138004c00d22b..."} 
[2026-07-27 17:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144155,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa36b6bd0012d181ec00721b138004c00d22b..."} 
[2026-07-27 17:25:37] local.INFO: Processing buffer {"connection_id":144155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa36b6bd0012d181ec00721b138004c00d22b..."} 
[2026-07-27 17:25:37] local.INFO: Packet analysis {"connection_id":144155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa36b"} 
[2026-07-27 17:25:37] local.INFO: Extracted packet for processing {"connection_id":144155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa36b"} 
[2026-07-27 17:25:37] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648568,"longitude_deg":75.6555456,"latitude_deg":11.9648568,"altitude":76,"angle":210,"satellites":43,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b138","is_valid_coordinates":true} 
[2026-07-27 17:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999202048001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8935688049262592,"note":"Value kept but may cause issues"} 
[2026-07-27 17:25:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074156544,"note":"Value kept but may cause issues"} 
[2026-07-27 17:25:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785153154000,"timestamp_ms":1785153154000,"timestamp_seconds":1785153154,"priority":1,"record_length":96,"hex_timestamp":"0000019fa36b6bd0"} 
[2026-07-27 17:25:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:25:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-27 17:25:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:25:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:25:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:25:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999202048001,"66":12504,"120":206,"28":31744,"24":0,"16":8935688049262592,"45":1738037643074156544},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 17:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999202048001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:25:37] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 17:25:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:25:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8935688049262592,"km_value":8935688049262.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:25:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074156544,"description":"Unknown IO ID 45"} 
[2026-07-27 17:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999202048001,"power":12504,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738037643074156544}} 
[2026-07-27 17:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":144155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554419,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:25:37] local.INFO: GPS data processed {"connection_id":144155,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:25:37] local.INFO: Acknowledgment sent {"connection_id":144155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:25:39] local.INFO: TCP Data received {"connection_id":143161,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fa36bc990012da1110005c29138001b002d2b..."} 
[2026-07-27 17:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143161,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa36bc990012da1110005c29138001b002d2b..."} 
[2026-07-27 17:25:39] local.INFO: Processing buffer {"connection_id":143161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa36bc990012da1110005c29138001b002d2b..."} 
[2026-07-27 17:25:39] local.INFO: Packet analysis {"connection_id":143161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa36b"} 
[2026-07-27 17:25:39] local.INFO: Extracted packet for processing {"connection_id":143161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa36b"} 
[2026-07-27 17:25:39] local.INFO: GPS Element Parsed {"raw_longitude":765530368,"raw_latitude":96637240,"longitude_deg":76.5530368,"latitude_deg":9.663724,"altitude":27,"angle":45,"satellites":43,"speed":44,"hex_longitude":"2da11100","hex_latitude":"05c29138","is_valid_coordinates":true} 
[2026-07-27 17:25:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:25:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999213056001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:25:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359128913135271936,"note":"Value kept but may cause issues"} 
[2026-07-27 17:25:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6842586290353082368,"note":"Value kept but may cause issues"} 
[2026-07-27 17:25:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:25:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785153178000,"timestamp_ms":1785153178000,"timestamp_seconds":1785153178,"priority":1,"record_length":96,"hex_timestamp":"0000019fa36bc990"} 
[2026-07-27 17:25:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:25:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:25:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-27 17:25:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:25:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:25:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:25:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:25:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:25:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:25:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:25:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:25:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 17:25:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 17:25:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999213056001,"66":27930,"169":206,"83":16896,"24":44,"16":359128913135271936,"45":-6842586290353082368},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,83,24,16,45]} 
[2026-07-27 17:25:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 17:25:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 17:25:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999213056001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:25:39] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-27 17:25:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-27 17:25:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359128913135271936,"km_value":359128913135271.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:25:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6842586290353082368,"description":"Unknown IO ID 45"} 
[2026-07-27 17:25:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999213056001,"power":27930,"unknown_169":206,"unknown_83":16896,"ignition":44,"odometer":null,"unknown_45":-6842586290353082368}} 
[2026-07-27 17:25:39] local.INFO: DEBUG: GPS processor result {"connection_id":143161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:25:39] local.INFO: GPS data processed {"connection_id":143161,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:25:39] local.INFO: Acknowledgment sent {"connection_id":143161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:25:44] local.INFO: TCP Data received {"connection_id":143016,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa36d34d8012d7d1f0005e20ab00008006131..."} 
[2026-07-27 17:25:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa36d34d8012d7d1f0005e20ab00008006131..."} 
[2026-07-27 17:25:44] local.INFO: Processing buffer {"connection_id":143016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa36d34d8012d7d1f0005e20ab00008006131..."} 
[2026-07-27 17:25:44] local.INFO: Packet analysis {"connection_id":143016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa36d"} 
[2026-07-27 17:25:44] local.INFO: Extracted packet for processing {"connection_id":143016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa36d"} 
[2026-07-27 17:25:44] local.INFO: GPS Element Parsed {"raw_longitude":763174656,"raw_latitude":98699952,"longitude_deg":76.3174656,"latitude_deg":9.8699952,"altitude":8,"angle":97,"satellites":49,"speed":29,"hex_longitude":"2d7d1f00","hex_latitude":"05e20ab0","is_valid_coordinates":true} 
[2026-07-27 17: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-07-27 17:25:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999232256001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:25:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111688799171379200,"note":"Value kept but may cause issues"} 
[2026-07-27 17:25:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9005791905124872192,"note":"Value kept but may cause issues"} 
[2026-07-27 17:25:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:25:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785153271000,"timestamp_ms":1785153271000,"timestamp_seconds":1785153271,"priority":1,"record_length":96,"hex_timestamp":"0000019fa36d34d8"} 
[2026-07-27 17:25:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:25:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-27 17:25:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17: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-07-27 17:25:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:25:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:25:44] local.INFO: Teltonika packet parsed successfully {"connection_id":143016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:25:44] local.INFO: Passing IMEI to GPS processor {"connection_id":143016,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:25:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":143016,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:25:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:25:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 17:25:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 17:25:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999232256001,"66":12982,"43":206,"85":15104,"24":29,"16":111688799171379200,"45":9005791905124872192},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-07-27 17:25:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 17:25:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 17:25:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999232256001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:25:44] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-27 17:25:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 17:25:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111688799171379200,"km_value":111688799171379.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:25:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9005791905124872192,"description":"Unknown IO ID 45"} 
[2026-07-27 17:25:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999232256001,"power":12982,"unknown_43":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":9005791905124872192}} 
[2026-07-27 17:25:45] local.INFO: DEBUG: GPS processor result {"connection_id":143016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554421,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:25:45] local.INFO: GPS data processed {"connection_id":143016,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:25:45] local.INFO: Acknowledgment sent {"connection_id":143016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:26:00] local.INFO: TCP Data received {"connection_id":144156,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144156,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:26:00] local.INFO: Processing buffer {"connection_id":144156,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:26:00] local.INFO: IMEI packet received {"connection_id":144156,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 17:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":144156,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:26:00] local.INFO: TCP Data received {"connection_id":144156,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144156,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:26:00] local.INFO: Processing buffer {"connection_id":144156,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:26:00] local.INFO: IMEI packet received {"connection_id":144156,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 17:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":144156,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:26:04] local.INFO: TCP Data received {"connection_id":144156,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144156,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:26:04] local.INFO: Processing buffer {"connection_id":144156,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:26:04] local.INFO: IMEI packet received {"connection_id":144156,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 17:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":144156,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:26:06] local.INFO: TCP Data received {"connection_id":144156,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa36bbdd8012d181ec00721b138004c00d22b..."} 
[2026-07-27 17:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144156,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa36bbdd8012d181ec00721b138004c00d22b..."} 
[2026-07-27 17:26:06] local.INFO: Processing buffer {"connection_id":144156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa36bbdd8012d181ec00721b138004c00d22b..."} 
[2026-07-27 17:26:06] local.INFO: Packet analysis {"connection_id":144156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa36b"} 
[2026-07-27 17:26:06] local.INFO: Extracted packet for processing {"connection_id":144156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa36b"} 
[2026-07-27 17:26:06] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648568,"longitude_deg":75.6555456,"latitude_deg":11.9648568,"altitude":76,"angle":210,"satellites":43,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b138","is_valid_coordinates":true} 
[2026-07-27 17:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:26:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999207424001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:26:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8935688049262592,"note":"Value kept but may cause issues"} 
[2026-07-27 17:26:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074156544,"note":"Value kept but may cause issues"} 
[2026-07-27 17:26:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:26:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785153175000,"timestamp_ms":1785153175000,"timestamp_seconds":1785153175,"priority":1,"record_length":96,"hex_timestamp":"0000019fa36bbdd8"} 
[2026-07-27 17:26:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:26:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-27 17:26:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:26:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:26:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:26:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:26:06] local.INFO: Teltonika packet parsed successfully {"connection_id":144156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:26:06] local.INFO: Passing IMEI to GPS processor {"connection_id":144156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:26:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":144156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:26:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:26:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:26:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:26:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999207424001,"66":12504,"120":206,"28":31744,"24":0,"16":8935688049262592,"45":1738037643074156544},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 17:26:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:26:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:26:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999207424001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:26:06] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 17:26:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:26:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8935688049262592,"km_value":8935688049262.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:26:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074156544,"description":"Unknown IO ID 45"} 
[2026-07-27 17:26:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999207424001,"power":12504,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738037643074156544}} 
[2026-07-27 17:26:06] local.INFO: DEBUG: GPS processor result {"connection_id":144156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554422,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:26:06] local.INFO: GPS data processed {"connection_id":144156,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:26:06] local.INFO: Acknowledgment sent {"connection_id":144156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:26:07] local.INFO: TCP Data received {"connection_id":145441,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145441,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:26:07] local.INFO: Processing buffer {"connection_id":145441,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:26:07] local.INFO: IMEI packet received {"connection_id":145441,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 17:26:07] local.INFO: IMEI acknowledgment sent {"connection_id":145441,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:26:10] local.INFO: TCP Data received {"connection_id":143161,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fa36bd930012da11b8005c29ec8001b001d2a..."} 
[2026-07-27 17:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143161,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa36bd930012da11b8005c29ec8001b001d2a..."} 
[2026-07-27 17:26:10] local.INFO: Processing buffer {"connection_id":143161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa36bd930012da11b8005c29ec8001b001d2a..."} 
[2026-07-27 17:26:10] local.INFO: Packet analysis {"connection_id":143161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa36b"} 
[2026-07-27 17:26:10] local.INFO: Extracted packet for processing {"connection_id":143161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa36b"} 
[2026-07-27 17:26:10] local.INFO: GPS Element Parsed {"raw_longitude":765533056,"raw_latitude":96640712,"longitude_deg":76.5533056,"latitude_deg":9.6640712,"altitude":27,"angle":29,"satellites":42,"speed":41,"hex_longitude":"2da11b80","hex_latitude":"05c29ec8","is_valid_coordinates":true} 
[2026-07-27 17:26:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:26:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999213568001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:26:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359129123588669440,"note":"Value kept but may cause issues"} 
[2026-07-27 17:26:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6840686334259939328,"note":"Value kept but may cause issues"} 
[2026-07-27 17:26:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:26:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785153182000,"timestamp_ms":1785153182000,"timestamp_seconds":1785153182,"priority":1,"record_length":96,"hex_timestamp":"0000019fa36bd930"} 
[2026-07-27 17:26:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:26:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-27 17:26:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:26:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:26:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:26:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:26:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:26:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:26:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:26:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:26:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 17:26:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 17:26:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999213568001,"66":27908,"169":206,"83":16896,"24":41,"16":359129123588669440,"45":-6840686334259939328},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,83,24,16,45]} 
[2026-07-27 17:26:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 17:26:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 17:26:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999213568001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:26:10] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-27 17:26:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-27 17:26:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359129123588669440,"km_value":359129123588669.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:26:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6840686334259939328,"description":"Unknown IO ID 45"} 
[2026-07-27 17:26:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999213568001,"power":27908,"unknown_169":206,"unknown_83":16896,"ignition":41,"odometer":null,"unknown_45":-6840686334259939328}} 
[2026-07-27 17:26:10] local.INFO: DEBUG: GPS processor result {"connection_id":143161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:26:10] local.INFO: GPS data processed {"connection_id":143161,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:26:10] local.INFO: Acknowledgment sent {"connection_id":143161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:26:13] local.INFO: TCP Data received {"connection_id":145441,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:26:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145441,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:26:13] local.INFO: Processing buffer {"connection_id":145441,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:26:13] local.INFO: IMEI packet received {"connection_id":145441,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 17:26:13] local.INFO: IMEI acknowledgment sent {"connection_id":145441,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:26:13] local.INFO: TCP Data received {"connection_id":145441,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa36d6b88012d7d448005e20800000a005f30..."} 
[2026-07-27 17:26:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa36d6b88012d7d448005e20800000a005f30..."} 
[2026-07-27 17:26:13] local.INFO: Processing buffer {"connection_id":145441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa36d6b88012d7d448005e20800000a005f30..."} 
[2026-07-27 17:26:13] local.INFO: Packet analysis {"connection_id":145441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa36d"} 
[2026-07-27 17:26:13] local.INFO: Extracted packet for processing {"connection_id":145441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa36d"} 
[2026-07-27 17:26:13] local.INFO: GPS Element Parsed {"raw_longitude":763184256,"raw_latitude":98699264,"longitude_deg":76.3184256,"latitude_deg":9.8699264,"altitude":10,"angle":95,"satellites":48,"speed":25,"hex_longitude":"2d7d4480","hex_latitude":"05e20800","is_valid_coordinates":true} 
[2026-07-27 17: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-07-27 17:26:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999237376001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:26:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111689258732879872,"note":"Value kept but may cause issues"} 
[2026-07-27 17:26:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015925004286210048,"note":"Value kept but may cause issues"} 
[2026-07-27 17:26:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:26:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785153285000,"timestamp_ms":1785153285000,"timestamp_seconds":1785153285,"priority":1,"record_length":96,"hex_timestamp":"0000019fa36d6b88"} 
[2026-07-27 17:26:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:26:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-27 17:26:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17: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-07-27 17:26:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:26:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:26:13] local.INFO: Teltonika packet parsed successfully {"connection_id":145441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:26:13] local.INFO: Passing IMEI to GPS processor {"connection_id":145441,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:26:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":145441,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:26:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:26:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 17:26:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 17:26:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999237376001,"66":13015,"43":206,"85":15104,"24":25,"16":111689258732879872,"45":9015925004286210048},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-07-27 17:26:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 17:26:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 17:26:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999237376001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:26:13] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-27 17:26:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 17:26:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111689258732879872,"km_value":111689258732879.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:26:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015925004286210048,"description":"Unknown IO ID 45"} 
[2026-07-27 17:26:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999237376001,"power":13015,"unknown_43":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":9015925004286210048}} 
[2026-07-27 17:26:13] local.INFO: DEBUG: GPS processor result {"connection_id":145441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554424,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:26:13] local.INFO: GPS data processed {"connection_id":145441,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:26:13] local.INFO: Acknowledgment sent {"connection_id":145441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:26:31] local.INFO: TCP Data received {"connection_id":143017,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:26:31] local.INFO: Processing buffer {"connection_id":143017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:26:31] local.INFO: IMEI packet received {"connection_id":143017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 17:26:31] local.INFO: IMEI acknowledgment sent {"connection_id":143017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:26:37] local.INFO: TCP Data received {"connection_id":143017,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:26:37] local.INFO: Processing buffer {"connection_id":143017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:26:37] local.INFO: IMEI packet received {"connection_id":143017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 17:26:37] local.INFO: IMEI acknowledgment sent {"connection_id":143017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:26:37] local.INFO: TCP Data received {"connection_id":144156,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa36c0fe0012d181ec00721b138004c00d22a..."} 
[2026-07-27 17:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144156,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa36c0fe0012d181ec00721b138004c00d22a..."} 
[2026-07-27 17:26:37] local.INFO: Processing buffer {"connection_id":144156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa36c0fe0012d181ec00721b138004c00d22a..."} 
[2026-07-27 17:26:37] local.INFO: Packet analysis {"connection_id":144156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa36c"} 
[2026-07-27 17:26:37] local.INFO: Extracted packet for processing {"connection_id":144156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa36c"} 
[2026-07-27 17:26:37] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648568,"longitude_deg":75.6555456,"latitude_deg":11.9648568,"altitude":76,"angle":210,"satellites":42,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b138","is_valid_coordinates":true} 
[2026-07-27 17:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:26:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999212800001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:26:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8935688049262592,"note":"Value kept but may cause issues"} 
[2026-07-27 17:26:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074156544,"note":"Value kept but may cause issues"} 
[2026-07-27 17:26:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:26:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785153196000,"timestamp_ms":1785153196000,"timestamp_seconds":1785153196,"priority":1,"record_length":96,"hex_timestamp":"0000019fa36c0fe0"} 
[2026-07-27 17:26:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:26:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-27 17:26:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:26:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:26:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:26:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:26:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:26:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:26:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:26:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:26:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:26:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:26:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999212800001,"66":12406,"120":206,"28":31744,"24":0,"16":8935688049262592,"45":1738037643074156544},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 17:26:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:26:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:26:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999212800001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:26:37] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 17:26:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:26:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8935688049262592,"km_value":8935688049262.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:26:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074156544,"description":"Unknown IO ID 45"} 
[2026-07-27 17:26:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999212800001,"power":12406,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738037643074156544}} 
[2026-07-27 17:26:37] local.INFO: DEBUG: GPS processor result {"connection_id":144156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554425,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:26:37] local.INFO: GPS data processed {"connection_id":144156,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:26:37] local.INFO: Acknowledgment sent {"connection_id":144156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:26:38] local.INFO: TCP Data received {"connection_id":143017,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fa36bf488012da1278005c2b928001d001129..."} 
[2026-07-27 17:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa36bf488012da1278005c2b928001d001129..."} 
[2026-07-27 17:26:38] local.INFO: Processing buffer {"connection_id":143017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa36bf488012da1278005c2b928001d001129..."} 
[2026-07-27 17:26:38] local.INFO: Packet analysis {"connection_id":143017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa36b"} 
[2026-07-27 17:26:38] local.INFO: Extracted packet for processing {"connection_id":143017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa36b"} 
[2026-07-27 17:26:38] local.INFO: GPS Element Parsed {"raw_longitude":765536128,"raw_latitude":96647464,"longitude_deg":76.5536128,"latitude_deg":9.6647464,"altitude":29,"angle":17,"satellites":41,"speed":42,"hex_longitude":"2da12780","hex_latitude":"05c2b928","is_valid_coordinates":true} 
[2026-07-27 17:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:26:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999214592001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:26:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359129480070955008,"note":"Value kept but may cause issues"} 
[2026-07-27 17:26:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6837730847003588608,"note":"Value kept but may cause issues"} 
[2026-07-27 17:26:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:26:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785153189000,"timestamp_ms":1785153189000,"timestamp_seconds":1785153189,"priority":1,"record_length":96,"hex_timestamp":"0000019fa36bf488"} 
[2026-07-27 17:26:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:26:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-27 17:26:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:26:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:26:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:26:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:26:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:26:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:26:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:26:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:26:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 17:26:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 17:26:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999214592001,"66":27930,"169":206,"83":16896,"24":42,"16":359129480070955008,"45":-6837730847003588608},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,83,24,16,45]} 
[2026-07-27 17:26:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 17:26:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 17:26:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999214592001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:26:38] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-27 17:26:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-27 17:26:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359129480070955008,"km_value":359129480070955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:26:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6837730847003588608,"description":"Unknown IO ID 45"} 
[2026-07-27 17:26:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999214592001,"power":27930,"unknown_169":206,"unknown_83":16896,"ignition":42,"odometer":null,"unknown_45":-6837730847003588608}} 
[2026-07-27 17:26:38] local.INFO: DEBUG: GPS processor result {"connection_id":143017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:26:38] local.INFO: GPS data processed {"connection_id":143017,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:26:38] local.INFO: Acknowledgment sent {"connection_id":143017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:26:44] local.INFO: TCP Data received {"connection_id":145441,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa36f24f0012d7e2bc005e209d00005008e2d..."} 
[2026-07-27 17:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa36f24f0012d7e2bc005e209d00005008e2d..."} 
[2026-07-27 17:26:44] local.INFO: Processing buffer {"connection_id":145441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa36f24f0012d7e2bc005e209d00005008e2d..."} 
[2026-07-27 17:26:44] local.INFO: Packet analysis {"connection_id":145441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa36f"} 
[2026-07-27 17:26:44] local.INFO: Extracted packet for processing {"connection_id":145441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa36f"} 
[2026-07-27 17:26:44] local.INFO: GPS Element Parsed {"raw_longitude":763243456,"raw_latitude":98699728,"longitude_deg":76.3243456,"latitude_deg":9.8699728,"altitude":5,"angle":142,"satellites":45,"speed":22,"hex_longitude":"2d7e2bc0","hex_latitude":"05e209d0","is_valid_coordinates":true} 
[2026-07-27 17:26:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:26:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999269632001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:26:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111692187900575744,"note":"Value kept but may cause issues"} 
[2026-07-27 17:26:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9091078823068010496,"note":"Value kept but may cause issues"} 
[2026-07-27 17:26:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:26:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785153398000,"timestamp_ms":1785153398000,"timestamp_seconds":1785153398,"priority":1,"record_length":96,"hex_timestamp":"0000019fa36f24f0"} 
[2026-07-27 17:26:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:26:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:26:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-27 17:26:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:26:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:26:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:26:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:26:44] local.INFO: Teltonika packet parsed successfully {"connection_id":145441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:26:44] local.INFO: Passing IMEI to GPS processor {"connection_id":145441,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:26:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":145441,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:26:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:26:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 17:26:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 17:26:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999269632001,"66":12798,"61":206,"85":15104,"24":22,"16":111692187900575744,"45":9091078823068010496},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-07-27 17:26:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 17:26:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 17:26:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999269632001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:26:44] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-27 17:26:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 17:26:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111692187900575744,"km_value":111692187900575.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:26:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9091078823068010496,"description":"Unknown IO ID 45"} 
[2026-07-27 17:26:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999269632001,"power":12798,"unknown_61":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":9091078823068010496}} 
[2026-07-27 17:26:44] local.INFO: DEBUG: GPS processor result {"connection_id":145441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554427,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:26:44] local.INFO: GPS data processed {"connection_id":145441,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:26:44] local.INFO: Acknowledgment sent {"connection_id":145441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:26:59] local.INFO: TCP Data received {"connection_id":144157,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144157,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:26:59] local.INFO: Processing buffer {"connection_id":144157,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:26:59] local.INFO: IMEI packet received {"connection_id":144157,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 17:26:59] local.INFO: IMEI acknowledgment sent {"connection_id":144157,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:27:04] local.INFO: TCP Data received {"connection_id":144157,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144157,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:27:04] local.INFO: Processing buffer {"connection_id":144157,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:27:04] local.INFO: IMEI packet received {"connection_id":144157,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 17:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":144157,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:27:05] local.INFO: TCP Data received {"connection_id":144157,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa36c61e8012d181ec00721b138004c00d22a..."} 
[2026-07-27 17:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa36c61e8012d181ec00721b138004c00d22a..."} 
[2026-07-27 17:27:05] local.INFO: Processing buffer {"connection_id":144157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa36c61e8012d181ec00721b138004c00d22a..."} 
[2026-07-27 17:27:05] local.INFO: Packet analysis {"connection_id":144157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa36c"} 
[2026-07-27 17:27:05] local.INFO: Extracted packet for processing {"connection_id":144157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa36c"} 
[2026-07-27 17:27:05] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648568,"longitude_deg":75.6555456,"latitude_deg":11.9648568,"altitude":76,"angle":210,"satellites":42,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b138","is_valid_coordinates":true} 
[2026-07-27 17:27:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:27:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999218176001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:27:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8935688049262592,"note":"Value kept but may cause issues"} 
[2026-07-27 17:27:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074156544,"note":"Value kept but may cause issues"} 
[2026-07-27 17:27:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:27:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785153217000,"timestamp_ms":1785153217000,"timestamp_seconds":1785153217,"priority":1,"record_length":96,"hex_timestamp":"0000019fa36c61e8"} 
[2026-07-27 17:27:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:27:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:27:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 17:27:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:27:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:27:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:27:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:27:05] local.INFO: Teltonika packet parsed successfully {"connection_id":144157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:27:05] local.INFO: Passing IMEI to GPS processor {"connection_id":144157,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:27:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":144157,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:27:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:27:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:27:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:27:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999218176001,"66":12428,"120":206,"28":31744,"24":0,"16":8935688049262592,"45":1738037643074156544},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 17:27:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:27:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:27:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999218176001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:27:05] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 17:27:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:27:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8935688049262592,"km_value":8935688049262.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:27:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074156544,"description":"Unknown IO ID 45"} 
[2026-07-27 17:27:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999218176001,"power":12428,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738037643074156544}} 
[2026-07-27 17:27:05] local.INFO: DEBUG: GPS processor result {"connection_id":144157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554428,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:27:05] local.INFO: GPS data processed {"connection_id":144157,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:27:05] local.INFO: Acknowledgment sent {"connection_id":144157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:27:07] local.INFO: TCP Data received {"connection_id":143018,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143018,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:27:07] local.INFO: Processing buffer {"connection_id":143018,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:27:07] local.INFO: IMEI packet received {"connection_id":143018,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 17:27:07] local.INFO: IMEI acknowledgment sent {"connection_id":143018,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:27:09] local.INFO: TCP Data received {"connection_id":143017,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fa36c0040012da129c005c2c590001e00042a..."} 
[2026-07-27 17:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa36c0040012da129c005c2c590001e00042a..."} 
[2026-07-27 17:27:09] local.INFO: Processing buffer {"connection_id":143017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa36c0040012da129c005c2c590001e00042a..."} 
[2026-07-27 17:27:09] local.INFO: Packet analysis {"connection_id":143017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa36c"} 
[2026-07-27 17:27:09] local.INFO: Extracted packet for processing {"connection_id":143017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa36c"} 
[2026-07-27 17:27:09] local.INFO: GPS Element Parsed {"raw_longitude":765536704,"raw_latitude":96650640,"longitude_deg":76.5536704,"latitude_deg":9.665064,"altitude":30,"angle":4,"satellites":42,"speed":42,"hex_longitude":"2da129c0","hex_latitude":"05c2c590","is_valid_coordinates":true} 
[2026-07-27 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-07-27 17:27:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999216384001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:27:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359129638984744960,"note":"Value kept but may cause issues"} 
[2026-07-27 17:27:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6834353147281332224,"note":"Value kept but may cause issues"} 
[2026-07-27 17:27:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:27:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785153192000,"timestamp_ms":1785153192000,"timestamp_seconds":1785153192,"priority":1,"record_length":96,"hex_timestamp":"0000019fa36c0040"} 
[2026-07-27 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-07-27 17:27:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-27 17:27:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 17:27:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:27:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:27:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:27:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17: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-07-27 17:27:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 17:27:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 17:27:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999216384001,"66":27843,"169":206,"83":16896,"24":42,"16":359129638984744960,"45":-6834353147281332224},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,83,24,16,45]} 
[2026-07-27 17:27:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 17:27:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 17:27:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999216384001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:27:09] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-27 17:27:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-27 17:27:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359129638984744960,"km_value":359129638984744.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:27:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6834353147281332224,"description":"Unknown IO ID 45"} 
[2026-07-27 17:27:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999216384001,"power":27843,"unknown_169":206,"unknown_83":16896,"ignition":42,"odometer":null,"unknown_45":-6834353147281332224}} 
[2026-07-27 17:27:09] local.INFO: DEBUG: GPS processor result {"connection_id":143017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:27:09] local.INFO: GPS data processed {"connection_id":143017,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:27:09] local.INFO: Acknowledgment sent {"connection_id":143017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:27:11] local.INFO: TCP Data received {"connection_id":143018,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143018,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:27:11] local.INFO: Processing buffer {"connection_id":143018,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:27:11] local.INFO: IMEI packet received {"connection_id":143018,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 17:27:11] local.INFO: IMEI acknowledgment sent {"connection_id":143018,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:27:12] local.INFO: TCP Data received {"connection_id":143018,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143018,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:27:12] local.INFO: Processing buffer {"connection_id":143018,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:27:12] local.INFO: IMEI packet received {"connection_id":143018,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 17:27:12] local.INFO: IMEI acknowledgment sent {"connection_id":143018,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:27:13] local.INFO: TCP Data received {"connection_id":143018,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa36f28d8012d7e2cc005e207a00005009f2f..."} 
[2026-07-27 17:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa36f28d8012d7e2cc005e207a00005009f2f..."} 
[2026-07-27 17:27:13] local.INFO: Processing buffer {"connection_id":143018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa36f28d8012d7e2cc005e207a00005009f2f..."} 
[2026-07-27 17:27:13] local.INFO: Packet analysis {"connection_id":143018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa36f"} 
[2026-07-27 17:27:13] local.INFO: Extracted packet for processing {"connection_id":143018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa36f"} 
[2026-07-27 17:27:13] local.INFO: GPS Element Parsed {"raw_longitude":763243712,"raw_latitude":98699168,"longitude_deg":76.3243712,"latitude_deg":9.8699168,"altitude":5,"angle":159,"satellites":47,"speed":24,"hex_longitude":"2d7e2cc0","hex_latitude":"05e207a0","is_valid_coordinates":true} 
[2026-07-27 17:27:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:27:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999269888001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:27:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111692217965346816,"note":"Value kept but may cause issues"} 
[2026-07-27 17:27:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9091571404277141504,"note":"Value kept but may cause issues"} 
[2026-07-27 17:27:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:27:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785153399000,"timestamp_ms":1785153399000,"timestamp_seconds":1785153399,"priority":1,"record_length":96,"hex_timestamp":"0000019fa36f28d8"} 
[2026-07-27 17:27:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:27:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:27:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-27 17:27:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:27:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:27:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:27:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:27:13] local.INFO: Teltonika packet parsed successfully {"connection_id":143018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:27:13] local.INFO: Passing IMEI to GPS processor {"connection_id":143018,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:27:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":143018,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:27:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:27:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 17:27:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 17:27:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999269888001,"66":12798,"61":206,"85":15104,"24":24,"16":111692217965346816,"45":9091571404277141504},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-07-27 17:27:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 17:27:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 17:27:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999269888001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:27:13] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-27 17:27:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 17:27:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111692217965346816,"km_value":111692217965346.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:27:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9091571404277141504,"description":"Unknown IO ID 45"} 
[2026-07-27 17:27:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999269888001,"power":12798,"unknown_61":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":9091571404277141504}} 
[2026-07-27 17:27:13] local.INFO: DEBUG: GPS processor result {"connection_id":143018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554430,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:27:13] local.INFO: GPS data processed {"connection_id":143018,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:27:13] local.INFO: Acknowledgment sent {"connection_id":143018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:27:31] local.INFO: TCP Data received {"connection_id":143019,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:27:31] local.INFO: Processing buffer {"connection_id":143019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:27:31] local.INFO: IMEI packet received {"connection_id":143019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 17:27:31] local.INFO: IMEI acknowledgment sent {"connection_id":143019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:27:37] local.INFO: TCP Data received {"connection_id":143019,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:27:37] local.INFO: Processing buffer {"connection_id":143019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:27:37] local.INFO: IMEI packet received {"connection_id":143019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 17:27:37] local.INFO: IMEI acknowledgment sent {"connection_id":143019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:27:37] local.INFO: TCP Data received {"connection_id":144157,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa36cb3f0012d181ec00721b138004c00d229..."} 
[2026-07-27 17:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa36cb3f0012d181ec00721b138004c00d229..."} 
[2026-07-27 17:27:37] local.INFO: Processing buffer {"connection_id":144157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa36cb3f0012d181ec00721b138004c00d229..."} 
[2026-07-27 17:27:37] local.INFO: Packet analysis {"connection_id":144157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa36c"} 
[2026-07-27 17:27:37] local.INFO: Extracted packet for processing {"connection_id":144157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa36c"} 
[2026-07-27 17:27:37] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648568,"longitude_deg":75.6555456,"latitude_deg":11.9648568,"altitude":76,"angle":210,"satellites":41,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b138","is_valid_coordinates":true} 
[2026-07-27 17:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:27:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999223552001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:27:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8935688049262592,"note":"Value kept but may cause issues"} 
[2026-07-27 17:27:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074156544,"note":"Value kept but may cause issues"} 
[2026-07-27 17:27:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:27:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785153238000,"timestamp_ms":1785153238000,"timestamp_seconds":1785153238,"priority":1,"record_length":96,"hex_timestamp":"0000019fa36cb3f0"} 
[2026-07-27 17:27:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:27:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-27 17:27:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:27:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:27:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:27:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:27:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:27:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144157,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:27:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144157,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:27:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:27:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:27:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:27:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999223552001,"66":12461,"120":206,"28":31744,"24":0,"16":8935688049262592,"45":1738037643074156544},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 17:27:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:27:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:27:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999223552001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:27:37] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 17:27:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:27:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8935688049262592,"km_value":8935688049262.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:27:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074156544,"description":"Unknown IO ID 45"} 
[2026-07-27 17:27:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999223552001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738037643074156544}} 
[2026-07-27 17:27:37] local.INFO: DEBUG: GPS processor result {"connection_id":144157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554431,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:27:37] local.INFO: GPS data processed {"connection_id":144157,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:27:37] local.INFO: Acknowledgment sent {"connection_id":144157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:27:38] local.INFO: TCP Data received {"connection_id":143019,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fa36c2368012da12c4005c2e8b00021000e28..."} 
[2026-07-27 17:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa36c2368012da12c4005c2e8b00021000e28..."} 
[2026-07-27 17:27:38] local.INFO: Processing buffer {"connection_id":143019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa36c2368012da12c4005c2e8b00021000e28..."} 
[2026-07-27 17:27:38] local.INFO: Packet analysis {"connection_id":143019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa36c"} 
[2026-07-27 17:27:38] local.INFO: Extracted packet for processing {"connection_id":143019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa36c"} 
[2026-07-27 17:27:38] local.INFO: GPS Element Parsed {"raw_longitude":765537344,"raw_latitude":96659632,"longitude_deg":76.5537344,"latitude_deg":9.6659632,"altitude":33,"angle":14,"satellites":40,"speed":38,"hex_longitude":"2da12c40","hex_latitude":"05c2e8b0","is_valid_coordinates":true} 
[2026-07-27 17:27:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:27:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999217152001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:27:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359130077071409152,"note":"Value kept but may cause issues"} 
[2026-07-27 17:27:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6833719828582920192,"note":"Value kept but may cause issues"} 
[2026-07-27 17:27:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:27:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785153201000,"timestamp_ms":1785153201000,"timestamp_seconds":1785153201,"priority":1,"record_length":96,"hex_timestamp":"0000019fa36c2368"} 
[2026-07-27 17:27:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:27:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:27:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-27 17:27:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:27:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:27:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:27:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:27:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:27:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:27:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:27:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:27:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 17:27:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 17:27:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999217152001,"66":27919,"169":206,"83":16896,"24":38,"16":359130077071409152,"45":-6833719828582920192},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,83,24,16,45]} 
[2026-07-27 17:27:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 17:27:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 17:27:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999217152001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:27:38] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-27 17:27:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-27 17:27:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359130077071409152,"km_value":359130077071409.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:27:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6833719828582920192,"description":"Unknown IO ID 45"} 
[2026-07-27 17:27:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999217152001,"power":27919,"unknown_169":206,"unknown_83":16896,"ignition":38,"odometer":null,"unknown_45":-6833719828582920192}} 
[2026-07-27 17:27:38] local.INFO: DEBUG: GPS processor result {"connection_id":143019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:27:38] local.INFO: GPS data processed {"connection_id":143019,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:27:38] local.INFO: Acknowledgment sent {"connection_id":143019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:27:44] local.INFO: TCP Data received {"connection_id":143018,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa36f30a8012d7e2d4005e20218000500af29..."} 
[2026-07-27 17:27:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa36f30a8012d7e2d4005e20218000500af29..."} 
[2026-07-27 17:27:44] local.INFO: Processing buffer {"connection_id":143018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa36f30a8012d7e2d4005e20218000500af29..."} 
[2026-07-27 17:27:44] local.INFO: Packet analysis {"connection_id":143018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa36f"} 
[2026-07-27 17:27:44] local.INFO: Extracted packet for processing {"connection_id":143018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa36f"} 
[2026-07-27 17:27:44] local.INFO: GPS Element Parsed {"raw_longitude":763243840,"raw_latitude":98697752,"longitude_deg":76.324384,"latitude_deg":9.8697752,"altitude":5,"angle":175,"satellites":41,"speed":29,"hex_longitude":"2d7e2d40","hex_latitude":"05e20218","is_valid_coordinates":true} 
[2026-07-27 17:27:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:27:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999270144001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:27:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111692286684823552,"note":"Value kept but may cause issues"} 
[2026-07-27 17:27:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9091852879253708800,"note":"Value kept but may cause issues"} 
[2026-07-27 17:27:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:27:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785153401000,"timestamp_ms":1785153401000,"timestamp_seconds":1785153401,"priority":1,"record_length":96,"hex_timestamp":"0000019fa36f30a8"} 
[2026-07-27 17:27:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:27:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:27:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-27 17:27:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:27:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:27:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:27:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:27:44] local.INFO: Teltonika packet parsed successfully {"connection_id":143018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:27:44] local.INFO: Passing IMEI to GPS processor {"connection_id":143018,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:27:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":143018,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:27:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:27:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 17:27:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 17:27:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999270144001,"66":12863,"61":206,"85":15104,"24":29,"16":111692286684823552,"45":9091852879253708800},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-07-27 17:27:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 17:27:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 17:27:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999270144001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:27:44] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-27 17:27:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 17:27:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111692286684823552,"km_value":111692286684823.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:27:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9091852879253708800,"description":"Unknown IO ID 45"} 
[2026-07-27 17:27:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999270144001,"power":12863,"unknown_61":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":9091852879253708800}} 
[2026-07-27 17:27:45] local.INFO: DEBUG: GPS processor result {"connection_id":143018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554433,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:27:45] local.INFO: GPS data processed {"connection_id":143018,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:27:45] local.INFO: Acknowledgment sent {"connection_id":143018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:27:59] local.INFO: TCP Data received {"connection_id":143162,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143162,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:27:59] local.INFO: Processing buffer {"connection_id":143162,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:27:59] local.INFO: IMEI packet received {"connection_id":143162,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 17:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":143162,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:28:04] local.INFO: TCP Data received {"connection_id":143162,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143162,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:28:04] local.INFO: Processing buffer {"connection_id":143162,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:28:04] local.INFO: IMEI packet received {"connection_id":143162,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 17:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":143162,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:28:06] local.INFO: TCP Data received {"connection_id":143162,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa36d05f8012d181ec00721b138004c00d22b..."} 
[2026-07-27 17:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa36d05f8012d181ec00721b138004c00d22b..."} 
[2026-07-27 17:28:06] local.INFO: Processing buffer {"connection_id":143162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa36d05f8012d181ec00721b138004c00d22b..."} 
[2026-07-27 17:28:06] local.INFO: Packet analysis {"connection_id":143162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa36d"} 
[2026-07-27 17:28:06] local.INFO: Extracted packet for processing {"connection_id":143162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa36d"} 
[2026-07-27 17:28:06] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648568,"longitude_deg":75.6555456,"latitude_deg":11.9648568,"altitude":76,"angle":210,"satellites":43,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b138","is_valid_coordinates":true} 
[2026-07-27 17:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:28:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999228928001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:28:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8935688049262592,"note":"Value kept but may cause issues"} 
[2026-07-27 17:28:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074156544,"note":"Value kept but may cause issues"} 
[2026-07-27 17:28:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:28:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785153259000,"timestamp_ms":1785153259000,"timestamp_seconds":1785153259,"priority":1,"record_length":96,"hex_timestamp":"0000019fa36d05f8"} 
[2026-07-27 17:28:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:28:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-27 17:28:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:28:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:28:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:28:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:28:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:28:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:28:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:28:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:28:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:28:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:28:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999228928001,"66":11645,"120":206,"28":31744,"24":0,"16":8935688049262592,"45":1738037643074156544},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 17:28:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:28:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:28:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999228928001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:28:06] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 17:28:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:28:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8935688049262592,"km_value":8935688049262.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:28:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074156544,"description":"Unknown IO ID 45"} 
[2026-07-27 17:28:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999228928001,"power":11645,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738037643074156544}} 
[2026-07-27 17:28:06] local.INFO: DEBUG: GPS processor result {"connection_id":143162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554434,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:28:06] local.INFO: GPS data processed {"connection_id":143162,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:28:06] local.INFO: Acknowledgment sent {"connection_id":143162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:28:09] local.INFO: TCP Data received {"connection_id":143019,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fa36f4c00012da16a8005c35630002600282c..."} 
[2026-07-27 17:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa36f4c00012da16a8005c35630002600282c..."} 
[2026-07-27 17:28:09] local.INFO: Processing buffer {"connection_id":143019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa36f4c00012da16a8005c35630002600282c..."} 
[2026-07-27 17:28:09] local.INFO: Packet analysis {"connection_id":143019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa36f"} 
[2026-07-27 17:28:09] local.INFO: Extracted packet for processing {"connection_id":143019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa36f"} 
[2026-07-27 17:28:09] local.INFO: GPS Element Parsed {"raw_longitude":765553280,"raw_latitude":96687664,"longitude_deg":76.555328,"latitude_deg":9.6687664,"altitude":38,"angle":40,"satellites":44,"speed":6,"hex_longitude":"2da16a80","hex_latitude":"05c35630","is_valid_coordinates":true} 
[2026-07-27 17:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:28:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999267840001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:28:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359131666209308672,"note":"Value kept but may cause issues"} 
[2026-07-27 17:28:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6817323911180748800,"note":"Value kept but may cause issues"} 
[2026-07-27 17:28:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:28:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785153408000,"timestamp_ms":1785153408000,"timestamp_seconds":1785153408,"priority":1,"record_length":96,"hex_timestamp":"0000019fa36f4c00"} 
[2026-07-27 17:28:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:28:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-27 17:28:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:28:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:28:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:28:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:28:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:28:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:28:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:28:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:28:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 17:28:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 17:28:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999267840001,"66":27919,"168":206,"83":16896,"24":6,"16":359131666209308672,"45":-6817323911180748800},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,83,24,16,45]} 
[2026-07-27 17:28:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 17:28:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 17:28:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999267840001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:28:09] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-07-27 17:28:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-27 17:28:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359131666209308672,"km_value":359131666209308.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:28:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6817323911180748800,"description":"Unknown IO ID 45"} 
[2026-07-27 17:28:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999267840001,"power":27919,"unknown_168":206,"unknown_83":16896,"ignition":6,"odometer":null,"unknown_45":-6817323911180748800}} 
[2026-07-27 17:28:09] local.INFO: DEBUG: GPS processor result {"connection_id":143019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:28:09] local.INFO: GPS data processed {"connection_id":143019,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:28:09] local.INFO: Acknowledgment sent {"connection_id":143019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:28:13] local.INFO: TCP Data received {"connection_id":144158,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144158,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:28:13] local.INFO: Processing buffer {"connection_id":144158,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:28:13] local.INFO: IMEI packet received {"connection_id":144158,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 17:28:13] local.INFO: IMEI acknowledgment sent {"connection_id":144158,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:28:13] local.INFO: TCP Data received {"connection_id":144158,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144158,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:28:13] local.INFO: Processing buffer {"connection_id":144158,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:28:13] local.INFO: IMEI packet received {"connection_id":144158,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 17:28:13] local.INFO: IMEI acknowledgment sent {"connection_id":144158,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:28:14] local.INFO: TCP Data received {"connection_id":144158,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3703a48012d7e190005e11560000600d829..."} 
[2026-07-27 17:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3703a48012d7e190005e11560000600d829..."} 
[2026-07-27 17:28:14] local.INFO: Processing buffer {"connection_id":144158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3703a48012d7e190005e11560000600d829..."} 
[2026-07-27 17:28:14] local.INFO: Packet analysis {"connection_id":144158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa370"} 
[2026-07-27 17:28:14] local.INFO: Extracted packet for processing {"connection_id":144158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa370"} 
[2026-07-27 17:28:14] local.INFO: GPS Element Parsed {"raw_longitude":763238656,"raw_latitude":98637152,"longitude_deg":76.3238656,"latitude_deg":9.8637152,"altitude":6,"angle":216,"satellites":41,"speed":36,"hex_longitude":"2d7e1900","hex_latitude":"05e11560","is_valid_coordinates":true} 
[2026-07-27 17:28:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:28:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999287552001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:28:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111695301751865344,"note":"Value kept but may cause issues"} 
[2026-07-27 17:28:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9087490017099223040,"note":"Value kept but may cause issues"} 
[2026-07-27 17:28:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:28:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785153469000,"timestamp_ms":1785153469000,"timestamp_seconds":1785153469,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3703a48"} 
[2026-07-27 17:28:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:28:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-27 17:28:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:28:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:28:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:28:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:28:14] local.INFO: Teltonika packet parsed successfully {"connection_id":144158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:28:14] local.INFO: Passing IMEI to GPS processor {"connection_id":144158,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:28:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":144158,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:28:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:28:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 17:28:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 17:28:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999287552001,"66":13059,"105":206,"85":15104,"24":36,"16":111695301751865344,"45":9087490017099223040},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,45]} 
[2026-07-27 17:28:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 17:28:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 17:28:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999287552001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:28:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-27 17:28:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 17:28:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111695301751865344,"km_value":111695301751865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:28:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9087490017099223040,"description":"Unknown IO ID 45"} 
[2026-07-27 17:28:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999287552001,"power":13059,"unknown_105":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":9087490017099223040}} 
[2026-07-27 17:28:14] local.INFO: DEBUG: GPS processor result {"connection_id":144158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554436,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:28:14] local.INFO: GPS data processed {"connection_id":144158,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:28:14] local.INFO: Acknowledgment sent {"connection_id":144158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:28:18] local.INFO: TCP Data received {"connection_id":144158,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3704600012d7e140005e10c10000500c72a..."} 
[2026-07-27 17:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3704600012d7e140005e10c10000500c72a..."} 
[2026-07-27 17:28:18] local.INFO: Processing buffer {"connection_id":144158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3704600012d7e140005e10c10000500c72a..."} 
[2026-07-27 17:28:18] local.INFO: Packet analysis {"connection_id":144158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa370"} 
[2026-07-27 17:28:18] local.INFO: Extracted packet for processing {"connection_id":144158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa370"} 
[2026-07-27 17:28:18] local.INFO: GPS Element Parsed {"raw_longitude":763237376,"raw_latitude":98634768,"longitude_deg":76.3237376,"latitude_deg":9.8634768,"altitude":5,"angle":199,"satellites":42,"speed":36,"hex_longitude":"2d7e1400","hex_latitude":"05e10c10","is_valid_coordinates":true} 
[2026-07-27 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-07-27 17:28:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999288064001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:28:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111695434895851520,"note":"Value kept but may cause issues"} 
[2026-07-27 17:28:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9086293748447797248,"note":"Value kept but may cause issues"} 
[2026-07-27 17:28:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:28:18] local.INFO: AVL Record Parsed {"raw_timestamp":1785153472000,"timestamp_ms":1785153472000,"timestamp_seconds":1785153472,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3704600"} 
[2026-07-27 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-07-27 17:28:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-27 17:28:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303160445947303,"note":"Value kept but may cause issues"} 
[2026-07-27 17:28:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-27 17:28:18] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2742001160,"note":"Value kept but may cause issues"} 
[2026-07-27 17:28:18] local.WARNING: Large IO value detected {"io_id":209,"raw_value":3372220416,"note":"Value kept but may cause issues"} 
[2026-07-27 17:28:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2805792974,"corrected_to":0} 
[2026-07-27 17:28:18] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":3892391294,"corrected_to":0} 
[2026-07-27 17:28:18] local.WARNING: Large IO value detected {"io_id":61,"raw_value":58077557095399452,"note":"Value kept but may cause issues"} 
[2026-07-27 17:28:18] local.WARNING: Large IO value detected {"io_id":140,"raw_value":3508731904,"note":"Value kept but may cause issues"} 
[2026-07-27 17:28:18] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3785080832,"note":"Value kept but may cause issues"} 
[2026-07-27 17:28:18] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,105,85,24,241,157,16,210,159,50,45,64,27,6,42,10,66,35,40,15,1,240,227,209,163,225,4,113,205,30,204,23,224,239,48,61,2,140,5,28],"length":486,"final_offset":616,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2805792974,"validated":0},{"io_id":204,"original":3892391294,"validated":0}]} 
[2026-07-27 17:28:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432583234835185664,"timestamp_seconds":432583234835185.7,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 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-07-27 17:28:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:28:18] local.INFO: Teltonika packet parsed successfully {"connection_id":144158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:28:18] local.INFO: Passing IMEI to GPS processor {"connection_id":144158,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:28:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":144158,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:28:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:28:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 17:28:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 17:28:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999288064001,"66":12885,"105":206,"85":15104,"24":36,"16":111695434895851520,"45":9086293748447797248},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,45]} 
[2026-07-27 17:28:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 17:28:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 17:28:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999288064001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:28:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-27 17:28:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 17:28:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111695434895851520,"km_value":111695434895851.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:28:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9086293748447797248,"description":"Unknown IO ID 45"} 
[2026-07-27 17:28:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999288064001,"power":12885,"unknown_105":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":9086293748447797248}} 
[2026-07-27 17:28:18] local.INFO: DEBUG: GPS processor result {"connection_id":144158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554437,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:28:18] local.INFO: GPS data processed {"connection_id":144158,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:28:18] local.INFO: Acknowledgment sent {"connection_id":144158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:28:31] local.INFO: TCP Data received {"connection_id":143020,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:28:31] local.INFO: Processing buffer {"connection_id":143020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:28:31] local.INFO: IMEI packet received {"connection_id":143020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 17:28:31] local.INFO: IMEI acknowledgment sent {"connection_id":143020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:28:37] local.INFO: TCP Data received {"connection_id":143020,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:28:37] local.INFO: Processing buffer {"connection_id":143020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:28:37] local.INFO: IMEI packet received {"connection_id":143020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 17:28:37] local.INFO: IMEI acknowledgment sent {"connection_id":143020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:28:38] local.INFO: TCP Data received {"connection_id":143020,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fa36f9e08012da1700005c35c18002300252b..."} 
[2026-07-27 17:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143020,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa36f9e08012da1700005c35c18002300252b..."} 
[2026-07-27 17:28:38] local.INFO: Processing buffer {"connection_id":143020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa36f9e08012da1700005c35c18002300252b..."} 
[2026-07-27 17:28:38] local.INFO: Packet analysis {"connection_id":143020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa36f"} 
[2026-07-27 17:28:38] local.INFO: Extracted packet for processing {"connection_id":143020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa36f"} 
[2026-07-27 17:28:38] local.INFO: GPS Element Parsed {"raw_longitude":765554688,"raw_latitude":96689176,"longitude_deg":76.5554688,"latitude_deg":9.6689176,"altitude":35,"angle":37,"satellites":43,"speed":0,"hex_longitude":"2da17000","hex_latitude":"05c35c18","is_valid_coordinates":true} 
[2026-07-27 17:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:28:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999272448001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:28:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359131769288523776,"note":"Value kept but may cause issues"} 
[2026-07-27 17:28:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6815494323831427072,"note":"Value kept but may cause issues"} 
[2026-07-27 17:28:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:28:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785153429000,"timestamp_ms":1785153429000,"timestamp_seconds":1785153429,"priority":1,"record_length":96,"hex_timestamp":"0000019fa36f9e08"} 
[2026-07-27 17:28:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:28:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-27 17:28:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:28:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:28:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:28:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:28:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:28:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:28:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:28:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:28:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 17:28:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 17:28:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999272448001,"66":27800,"168":206,"83":16896,"24":0,"16":359131769288523776,"45":-6815494323831427072},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,83,24,16,45]} 
[2026-07-27 17:28:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 17:28:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 17:28:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999272448001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:28:38] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-07-27 17:28:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-27 17:28:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359131769288523776,"km_value":359131769288523.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:28:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6815494323831427072,"description":"Unknown IO ID 45"} 
[2026-07-27 17:28:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999272448001,"power":27800,"unknown_168":206,"unknown_83":16896,"ignition":0,"odometer":null,"unknown_45":-6815494323831427072}} 
[2026-07-27 17:28:38] local.INFO: DEBUG: GPS processor result {"connection_id":143020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:28:38] local.INFO: GPS data processed {"connection_id":143020,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:28:38] local.INFO: Acknowledgment sent {"connection_id":143020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:28:38] local.INFO: TCP Data received {"connection_id":143162,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3702aa8012d181e000721aa30004d00902b..."} 
[2026-07-27 17:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3702aa8012d181e000721aa30004d00902b..."} 
[2026-07-27 17:28:38] local.INFO: Processing buffer {"connection_id":143162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3702aa8012d181e000721aa30004d00902b..."} 
[2026-07-27 17:28:38] local.INFO: Packet analysis {"connection_id":143162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa370"} 
[2026-07-27 17:28:38] local.INFO: Extracted packet for processing {"connection_id":143162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa370"} 
[2026-07-27 17:28:38] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119646768,"longitude_deg":75.6555264,"latitude_deg":11.9646768,"altitude":77,"angle":144,"satellites":43,"speed":6,"hex_longitude":"2d181e00","hex_latitude":"0721aa30","is_valid_coordinates":true} 
[2026-07-27 17:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:28:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999286272001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:28:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8935799718412288,"note":"Value kept but may cause issues"} 
[2026-07-27 17:28:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608683008,"note":"Value kept but may cause issues"} 
[2026-07-27 17:28:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:28:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785153465000,"timestamp_ms":1785153465000,"timestamp_seconds":1785153465,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3702aa8"} 
[2026-07-27 17:28:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:28:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-27 17:28:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:28:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:28:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:28:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:28:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:28:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:28:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:28:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:28:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:28:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:28:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999286272001,"66":13102,"120":206,"28":31744,"24":6,"16":8935799718412288,"45":1737615430608683008},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 17:28:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:28:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:28:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999286272001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:28:38] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 17:28:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:28:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8935799718412288,"km_value":8935799718412.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:28:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608683008,"description":"Unknown IO ID 45"} 
[2026-07-27 17:28:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999286272001,"power":13102,"unknown_120":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1737615430608683008}} 
[2026-07-27 17:28:38] local.INFO: DEBUG: GPS processor result {"connection_id":143162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554439,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:28:38] local.INFO: GPS data processed {"connection_id":143162,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:28:38] local.INFO: Acknowledgment sent {"connection_id":143162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:28:51] local.INFO: TCP Data received {"connection_id":144158,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa37051b8012d7e114005e10198000500ba2a..."} 
[2026-07-27 17:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa37051b8012d7e114005e10198000500ba2a..."} 
[2026-07-27 17:28:51] local.INFO: Processing buffer {"connection_id":144158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa37051b8012d7e114005e10198000500ba2a..."} 
[2026-07-27 17:28:51] local.INFO: Packet analysis {"connection_id":144158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa370"} 
[2026-07-27 17:28:51] local.INFO: Extracted packet for processing {"connection_id":144158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa370"} 
[2026-07-27 17:28:51] local.INFO: GPS Element Parsed {"raw_longitude":763236672,"raw_latitude":98632088,"longitude_deg":76.3236672,"latitude_deg":9.8632088,"altitude":5,"angle":186,"satellites":42,"speed":36,"hex_longitude":"2d7e1140","hex_latitude":"05e10198","is_valid_coordinates":true} 
[2026-07-27 17:28:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:28:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999288832001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:28:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111695568039837696,"note":"Value kept but may cause issues"} 
[2026-07-27 17:28:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9084886373563633664,"note":"Value kept but may cause issues"} 
[2026-07-27 17:28:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:28:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785153475000,"timestamp_ms":1785153475000,"timestamp_seconds":1785153475,"priority":1,"record_length":96,"hex_timestamp":"0000019fa37051b8"} 
[2026-07-27 17:28:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:28:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-27 17:28:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:28:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:28:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:28:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:28:51] local.INFO: Teltonika packet parsed successfully {"connection_id":144158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:28:51] local.INFO: Passing IMEI to GPS processor {"connection_id":144158,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:28:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":144158,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:28:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:28:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 17:28:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 17:28:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999288832001,"66":12645,"105":206,"85":15104,"24":36,"16":111695568039837696,"45":9084886373563633664},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,45]} 
[2026-07-27 17:28:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 17:28:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 17:28:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999288832001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:28:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-27 17:28:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 17:28:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111695568039837696,"km_value":111695568039837.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:28:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9084886373563633664,"description":"Unknown IO ID 45"} 
[2026-07-27 17:28:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999288832001,"power":12645,"unknown_105":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":9084886373563633664}} 
[2026-07-27 17:28:51] local.INFO: DEBUG: GPS processor result {"connection_id":144158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554440,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:28:51] local.INFO: GPS data processed {"connection_id":144158,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:28:51] local.INFO: Acknowledgment sent {"connection_id":144158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:28:59] local.INFO: TCP Data received {"connection_id":143021,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143021,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:28:59] local.INFO: Processing buffer {"connection_id":143021,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:28:59] local.INFO: IMEI packet received {"connection_id":143021,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 17:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":143021,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:29:04] local.INFO: TCP Data received {"connection_id":144159,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144159,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:29:04] local.INFO: Processing buffer {"connection_id":144159,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:29:04] local.INFO: IMEI packet received {"connection_id":144159,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 17:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":144159,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:29:05] local.INFO: TCP Data received {"connection_id":143021,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143021,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:29:05] local.INFO: Processing buffer {"connection_id":143021,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:29:05] local.INFO: IMEI packet received {"connection_id":143021,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 17:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":143021,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:29:06] local.INFO: TCP Data received {"connection_id":143021,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3702e90012d181e800721a988004d00a22b..."} 
[2026-07-27 17:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143021,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3702e90012d181e800721a988004d00a22b..."} 
[2026-07-27 17:29:06] local.INFO: Processing buffer {"connection_id":143021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3702e90012d181e800721a988004d00a22b..."} 
[2026-07-27 17:29:06] local.INFO: Packet analysis {"connection_id":143021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa370"} 
[2026-07-27 17:29:06] local.INFO: Extracted packet for processing {"connection_id":143021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa370"} 
[2026-07-27 17:29:06] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119646600,"longitude_deg":75.6555392,"latitude_deg":11.96466,"altitude":77,"angle":162,"satellites":43,"speed":8,"hex_longitude":"2d181e80","hex_latitude":"0721a988","is_valid_coordinates":true} 
[2026-07-27 17:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:29:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999287040001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:29:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8935812603314176,"note":"Value kept but may cause issues"} 
[2026-07-27 17:29:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841162752,"note":"Value kept but may cause issues"} 
[2026-07-27 17:29:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:29:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785153466000,"timestamp_ms":1785153466000,"timestamp_seconds":1785153466,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3702e90"} 
[2026-07-27 17:29:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:29:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-27 17:29:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:29:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:29:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:29:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:29:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:29:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143021,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:29:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143021,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:29:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:29:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:29:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:29:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999287040001,"66":14026,"120":206,"28":31744,"24":8,"16":8935812603314176,"45":1737826536841162752},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 17:29:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:29:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:29:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999287040001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:29:06] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 17:29:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:29:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8935812603314176,"km_value":8935812603314.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:29:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841162752,"description":"Unknown IO ID 45"} 
[2026-07-27 17:29:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999287040001,"power":14026,"unknown_120":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1737826536841162752}} 
[2026-07-27 17:29:06] local.INFO: DEBUG: GPS processor result {"connection_id":143021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554441,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:29:06] local.INFO: GPS data processed {"connection_id":143021,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:29:06] local.INFO: Acknowledgment sent {"connection_id":143021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:29:08] local.INFO: TCP Data received {"connection_id":144159,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144159,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:29:08] local.INFO: Processing buffer {"connection_id":144159,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:29:08] local.INFO: IMEI packet received {"connection_id":144159,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 17:29:08] local.INFO: IMEI acknowledgment sent {"connection_id":144159,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:29:10] local.INFO: TCP Data received {"connection_id":143020,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fa36fe840012da173c005c35f80002200332d..."} 
[2026-07-27 17:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143020,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa36fe840012da173c005c35f80002200332d..."} 
[2026-07-27 17:29:10] local.INFO: Processing buffer {"connection_id":143020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa36fe840012da173c005c35f80002200332d..."} 
[2026-07-27 17:29:10] local.INFO: Packet analysis {"connection_id":143020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa36f"} 
[2026-07-27 17:29:10] local.INFO: Extracted packet for processing {"connection_id":143020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa36f"} 
[2026-07-27 17:29:10] local.INFO: GPS Element Parsed {"raw_longitude":765555648,"raw_latitude":96690048,"longitude_deg":76.5555648,"latitude_deg":9.6690048,"altitude":34,"angle":51,"satellites":45,"speed":5,"hex_longitude":"2da173c0","hex_latitude":"05c35f80","is_valid_coordinates":true} 
[2026-07-27 17:29:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:29:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999277824001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:29:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359131838008000512,"note":"Value kept but may cause issues"} 
[2026-07-27 17:29:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6813946211459131392,"note":"Value kept but may cause issues"} 
[2026-07-27 17:29:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:29:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785153448000,"timestamp_ms":1785153448000,"timestamp_seconds":1785153448,"priority":1,"record_length":96,"hex_timestamp":"0000019fa36fe840"} 
[2026-07-27 17:29:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:29:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-27 17:29:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:29:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:29:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:29:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:29:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:29:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:29:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:29:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:29:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 17:29:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 17:29:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999277824001,"66":27984,"168":206,"83":16896,"24":5,"16":359131838008000512,"45":-6813946211459131392},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,83,24,16,45]} 
[2026-07-27 17:29:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 17:29:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 17:29:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999277824001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:29:10] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-07-27 17:29:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-27 17:29:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359131838008000512,"km_value":359131838008000.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:29:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6813946211459131392,"description":"Unknown IO ID 45"} 
[2026-07-27 17:29:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999277824001,"power":27984,"unknown_168":206,"unknown_83":16896,"ignition":5,"odometer":null,"unknown_45":-6813946211459131392}} 
[2026-07-27 17:29:10] local.INFO: DEBUG: GPS processor result {"connection_id":143020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:29:10] local.INFO: GPS data processed {"connection_id":143020,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:29:10] local.INFO: Acknowledgment sent {"connection_id":143020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:29:12] local.INFO: TCP Data received {"connection_id":144159,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144159,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:29:12] local.INFO: Processing buffer {"connection_id":144159,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:29:12] local.INFO: IMEI packet received {"connection_id":144159,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 17:29:12] local.INFO: IMEI acknowledgment sent {"connection_id":144159,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:29:13] local.INFO: TCP Data received {"connection_id":144159,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3712c78012d7e3e4005e066e0000500b02a..."} 
[2026-07-27 17:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3712c78012d7e3e4005e066e0000500b02a..."} 
[2026-07-27 17:29:13] local.INFO: Processing buffer {"connection_id":144159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3712c78012d7e3e4005e066e0000500b02a..."} 
[2026-07-27 17:29:13] local.INFO: Packet analysis {"connection_id":144159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa371"} 
[2026-07-27 17:29:13] local.INFO: Extracted packet for processing {"connection_id":144159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa371"} 
[2026-07-27 17:29:13] local.INFO: GPS Element Parsed {"raw_longitude":763248192,"raw_latitude":98592480,"longitude_deg":76.3248192,"latitude_deg":9.859248,"altitude":5,"angle":176,"satellites":42,"speed":41,"hex_longitude":"2d7e3e40","hex_latitude":"05e066e0","is_valid_coordinates":true} 
[2026-07-27 17:29:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:29:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999302400001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:29:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111697706933551104,"note":"Value kept but may cause issues"} 
[2026-07-27 17:29:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095512053925306368,"note":"Value kept but may cause issues"} 
[2026-07-27 17:29:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:29:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785153531000,"timestamp_ms":1785153531000,"timestamp_seconds":1785153531,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3712c78"} 
[2026-07-27 17:29:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:29:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-27 17:29:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:29:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:29:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:29:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:29:13] local.INFO: Teltonika packet parsed successfully {"connection_id":144159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:29:13] local.INFO: Passing IMEI to GPS processor {"connection_id":144159,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:29:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":144159,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:29:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:29:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 17:29:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 17:29:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999302400001,"66":12982,"105":206,"85":15104,"24":41,"16":111697706933551104,"45":9095512053925306368},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,45]} 
[2026-07-27 17:29:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 17:29:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 17:29:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999302400001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:29:13] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-27 17:29:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 17:29:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111697706933551104,"km_value":111697706933551.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:29:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095512053925306368,"description":"Unknown IO ID 45"} 
[2026-07-27 17:29:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999302400001,"power":12982,"unknown_105":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":9095512053925306368}} 
[2026-07-27 17:29:13] local.INFO: DEBUG: GPS processor result {"connection_id":144159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554443,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:29:13] local.INFO: GPS data processed {"connection_id":144159,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:29:13] local.INFO: Acknowledgment sent {"connection_id":144159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:29:37] local.INFO: TCP Data received {"connection_id":143163,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:29:37] local.INFO: Processing buffer {"connection_id":143163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:29:37] local.INFO: IMEI packet received {"connection_id":143163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 17:29:37] local.INFO: IMEI acknowledgment sent {"connection_id":143163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:29:38] local.INFO: TCP Data received {"connection_id":143021,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3703278012d181ec00721a8d0004d00972b..."} 
[2026-07-27 17:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143021,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3703278012d181ec00721a8d0004d00972b..."} 
[2026-07-27 17:29:38] local.INFO: Processing buffer {"connection_id":143021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3703278012d181ec00721a8d0004d00972b..."} 
[2026-07-27 17:29:38] local.INFO: Packet analysis {"connection_id":143021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa370"} 
[2026-07-27 17:29:38] local.INFO: Extracted packet for processing {"connection_id":143021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa370"} 
[2026-07-27 17:29:38] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119646416,"longitude_deg":75.6555456,"latitude_deg":11.9646416,"altitude":77,"angle":151,"satellites":43,"speed":7,"hex_longitude":"2d181ec0","hex_latitude":"0721a8d0","is_valid_coordinates":true} 
[2026-07-27 17:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:29:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999287296001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:29:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8935821193248768,"note":"Value kept but may cause issues"} 
[2026-07-27 17:29:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329475072,"note":"Value kept but may cause issues"} 
[2026-07-27 17:29:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:29:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785153467000,"timestamp_ms":1785153467000,"timestamp_seconds":1785153467,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3703278"} 
[2026-07-27 17:29:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:29:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-07-27 17:29:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2286,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:29:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:29:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:29:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:29:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:29:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143021,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:29:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143021,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:29:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:29:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:29:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:29:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999287296001,"66":14026,"120":206,"28":31744,"24":7,"16":8935821193248768,"45":1737967274329475072},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-27 17:29:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:29:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:29:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999287296001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:29:38] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-27 17:29:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:29:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8935821193248768,"km_value":8935821193248.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:29:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329475072,"description":"Unknown IO ID 45"} 
[2026-07-27 17:29:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999287296001,"power":14026,"unknown_120":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1737967274329475072}} 
[2026-07-27 17:29:38] local.INFO: DEBUG: GPS processor result {"connection_id":143021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554444,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:29:38] local.INFO: GPS data processed {"connection_id":143021,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:29:38] local.INFO: Acknowledgment sent {"connection_id":143021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:29:42] local.INFO: TCP Data received {"connection_id":143163,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:29:42] local.INFO: Processing buffer {"connection_id":143163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:29:42] local.INFO: IMEI packet received {"connection_id":143163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 17:29:42] local.INFO: IMEI acknowledgment sent {"connection_id":143163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:29:43] local.INFO: TCP Data received {"connection_id":143163,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3703a48012da176c005c36188002300332c..."} 
[2026-07-27 17:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143163,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3703a48012da176c005c36188002300332c..."} 
[2026-07-27 17:29:43] local.INFO: Processing buffer {"connection_id":143163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3703a48012da176c005c36188002300332c..."} 
[2026-07-27 17:29:43] local.INFO: Packet analysis {"connection_id":143163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa370"} 
[2026-07-27 17:29:43] local.INFO: Extracted packet for processing {"connection_id":143163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa370"} 
[2026-07-27 17:29:43] local.INFO: GPS Element Parsed {"raw_longitude":765556416,"raw_latitude":96690568,"longitude_deg":76.5556416,"latitude_deg":9.6690568,"altitude":35,"angle":51,"satellites":44,"speed":0,"hex_longitude":"2da176c0","hex_latitude":"05c36188","is_valid_coordinates":true} 
[2026-07-27 17:29:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:29:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999282688001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:29:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359131885252640768,"note":"Value kept but may cause issues"} 
[2026-07-27 17:29:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6812890680296243200,"note":"Value kept but may cause issues"} 
[2026-07-27 17:29:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:29:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785153469000,"timestamp_ms":1785153469000,"timestamp_seconds":1785153469,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3703a48"} 
[2026-07-27 17:29:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:29:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17: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":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-27 17:29:43] 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-07-27 17:29:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:29:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:29:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:29:43] local.INFO: Teltonika packet parsed successfully {"connection_id":143163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:29:43] local.INFO: Passing IMEI to GPS processor {"connection_id":143163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:29:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":143163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:29:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:29:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 17:29:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 17:29:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999282688001,"66":27930,"168":206,"83":16896,"24":0,"16":359131885252640768,"45":-6812890680296243200},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,83,24,16,45]} 
[2026-07-27 17:29:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 17:29:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 17:29:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999282688001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:29:43] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-07-27 17:29:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-27 17:29:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359131885252640768,"km_value":359131885252640.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:29:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6812890680296243200,"description":"Unknown IO ID 45"} 
[2026-07-27 17:29:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999282688001,"power":27930,"unknown_168":206,"unknown_83":16896,"ignition":0,"odometer":null,"unknown_45":-6812890680296243200}} 
[2026-07-27 17:29:43] local.INFO: DEBUG: GPS processor result {"connection_id":143163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:29:43] local.INFO: GPS data processed {"connection_id":143163,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:29:43] local.INFO: Acknowledgment sent {"connection_id":143163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:29:44] local.INFO: TCP Data received {"connection_id":144159,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3714fa0012d7e428005e04200000600a929..."} 
[2026-07-27 17:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3714fa0012d7e428005e04200000600a929..."} 
[2026-07-27 17:29:44] local.INFO: Processing buffer {"connection_id":144159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3714fa0012d7e428005e04200000600a929..."} 
[2026-07-27 17:29:44] local.INFO: Packet analysis {"connection_id":144159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa371"} 
[2026-07-27 17:29:44] local.INFO: Extracted packet for processing {"connection_id":144159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa371"} 
[2026-07-27 17:29:44] local.INFO: GPS Element Parsed {"raw_longitude":763249280,"raw_latitude":98583040,"longitude_deg":76.324928,"latitude_deg":9.858304,"altitude":6,"angle":169,"satellites":41,"speed":46,"hex_longitude":"2d7e4280","hex_latitude":"05e04200","is_valid_coordinates":true} 
[2026-07-27 17: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-07-27 17:29:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999303936001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:29:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111698166495051776,"note":"Value kept but may cause issues"} 
[2026-07-27 17:29:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096778691318833152,"note":"Value kept but may cause issues"} 
[2026-07-27 17:29:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:29:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785153540000,"timestamp_ms":1785153540000,"timestamp_seconds":1785153540,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3714fa0"} 
[2026-07-27 17:29:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:29:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-27 17:29:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17: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-07-27 17:29:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:29:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:29:44] local.INFO: Teltonika packet parsed successfully {"connection_id":144159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:29:44] local.INFO: Passing IMEI to GPS processor {"connection_id":144159,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:29:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":144159,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:29:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:29:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 17:29:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 17:29:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999303936001,"66":12939,"104":206,"85":15104,"24":46,"16":111698166495051776,"45":9096778691318833152},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,45]} 
[2026-07-27 17:29:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 17:29:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 17:29:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999303936001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:29:44] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-07-27 17:29:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 17:29:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111698166495051776,"km_value":111698166495051.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:29:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096778691318833152,"description":"Unknown IO ID 45"} 
[2026-07-27 17:29:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999303936001,"power":12939,"unknown_104":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":9096778691318833152}} 
[2026-07-27 17:29:44] local.INFO: DEBUG: GPS processor result {"connection_id":144159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554446,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:29:44] local.INFO: GPS data processed {"connection_id":144159,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:29:44] local.INFO: Acknowledgment sent {"connection_id":144159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:29:47] local.INFO: TCP Data received {"connection_id":143163,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3708c50012da17d0005c36570002200382c..."} 
[2026-07-27 17:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143163,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3708c50012da17d0005c36570002200382c..."} 
[2026-07-27 17:29:47] local.INFO: Processing buffer {"connection_id":143163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3708c50012da17d0005c36570002200382c..."} 
[2026-07-27 17:29:47] local.INFO: Packet analysis {"connection_id":143163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa370"} 
[2026-07-27 17:29:47] local.INFO: Extracted packet for processing {"connection_id":143163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa370"} 
[2026-07-27 17:29:47] local.INFO: GPS Element Parsed {"raw_longitude":765558016,"raw_latitude":96691568,"longitude_deg":76.5558016,"latitude_deg":9.6691568,"altitude":34,"angle":56,"satellites":44,"speed":1,"hex_longitude":"2da17d00","hex_latitude":"05c36570","is_valid_coordinates":true} 
[2026-07-27 17:29:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:29:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999288064001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:29:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359131975446953984,"note":"Value kept but may cause issues"} 
[2026-07-27 17:29:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6812046255365978112,"note":"Value kept but may cause issues"} 
[2026-07-27 17:29:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:29:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785153490000,"timestamp_ms":1785153490000,"timestamp_seconds":1785153490,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3708c50"} 
[2026-07-27 17:29:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:29:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-27 17:29:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:29:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:29:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:29:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:29:47] local.INFO: Teltonika packet parsed successfully {"connection_id":143163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:29:47] local.INFO: Passing IMEI to GPS processor {"connection_id":143163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:29:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":143163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:29:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:29:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 17:29:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 17:29:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999288064001,"66":27865,"168":206,"83":16896,"24":1,"16":359131975446953984,"45":-6812046255365978112},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,83,24,16,45]} 
[2026-07-27 17:29:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 17:29:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 17:29:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999288064001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:29:47] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-07-27 17:29:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-27 17:29:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359131975446953984,"km_value":359131975446954.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:29:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6812046255365978112,"description":"Unknown IO ID 45"} 
[2026-07-27 17:29:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999288064001,"power":27865,"unknown_168":206,"unknown_83":16896,"ignition":1,"odometer":null,"unknown_45":-6812046255365978112}} 
[2026-07-27 17:29:47] local.INFO: DEBUG: GPS processor result {"connection_id":143163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:29:47] local.INFO: GPS data processed {"connection_id":143163,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:29:47] local.INFO: Acknowledgment sent {"connection_id":143163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:30:02] local.INFO: TCP Data received {"connection_id":143164,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143164,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:30:02] local.INFO: Processing buffer {"connection_id":143164,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:30:02] local.INFO: IMEI packet received {"connection_id":143164,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 17:30:02] local.INFO: IMEI acknowledgment sent {"connection_id":143164,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:30:04] local.INFO: TCP Data received {"connection_id":143164,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143164,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:30:04] local.INFO: Processing buffer {"connection_id":143164,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:30:04] local.INFO: IMEI packet received {"connection_id":143164,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 17:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":143164,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:30:04] local.INFO: TCP Data received {"connection_id":143164,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143164,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:30:04] local.INFO: Processing buffer {"connection_id":143164,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:30:04] local.INFO: IMEI packet received {"connection_id":143164,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 17:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":143164,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:30:07] local.INFO: TCP Data received {"connection_id":145442,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145442,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:30:07] local.INFO: Processing buffer {"connection_id":145442,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:30:07] local.INFO: IMEI packet received {"connection_id":145442,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 17:30:07] local.INFO: IMEI acknowledgment sent {"connection_id":145442,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:30:10] local.INFO: TCP Data received {"connection_id":143164,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143164,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:30:10] local.INFO: Processing buffer {"connection_id":143164,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:30:10] local.INFO: IMEI packet received {"connection_id":143164,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 17:30:10] local.INFO: IMEI acknowledgment sent {"connection_id":143164,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:30:11] local.INFO: TCP Data received {"connection_id":143164,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa37172c8012d18b340072169a80049009626..."} 
[2026-07-27 17:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa37172c8012d18b340072169a80049009626..."} 
[2026-07-27 17:30:11] local.INFO: Processing buffer {"connection_id":143164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa37172c8012d18b340072169a80049009626..."} 
[2026-07-27 17:30:11] local.INFO: Packet analysis {"connection_id":143164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa371"} 
[2026-07-27 17:30:11] local.INFO: Extracted packet for processing {"connection_id":143164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa371"} 
[2026-07-27 17:30:11] local.INFO: GPS Element Parsed {"raw_longitude":756593472,"raw_latitude":119630248,"longitude_deg":75.6593472,"latitude_deg":11.9630248,"altitude":73,"angle":150,"satellites":38,"speed":31,"hex_longitude":"2d18b340","hex_latitude":"072169a8","is_valid_coordinates":true} 
[2026-07-27 17:30:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:30:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999307776001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:30:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8937857007747072,"note":"Value kept but may cause issues"} 
[2026-07-27 17:30:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778429302227939328,"note":"Value kept but may cause issues"} 
[2026-07-27 17:30:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:30:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785153549000,"timestamp_ms":1785153549000,"timestamp_seconds":1785153549,"priority":1,"record_length":96,"hex_timestamp":"0000019fa37172c8"} 
[2026-07-27 17:30:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:30:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:30:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-27 17:30:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:30:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:30:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:30:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:30:11] local.INFO: Teltonika packet parsed successfully {"connection_id":143164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:30:11] local.INFO: Passing IMEI to GPS processor {"connection_id":143164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:30:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":143164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:30:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:30:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:30:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:30:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999307776001,"66":13004,"121":206,"28":31744,"24":31,"16":8937857007747072,"45":1778429302227939328},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 17:30:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:30:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:30:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999307776001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:30:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 17:30:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:30:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8937857007747072,"km_value":8937857007747.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:30:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778429302227939328,"description":"Unknown IO ID 45"} 
[2026-07-27 17:30:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999307776001,"power":13004,"unknown_121":206,"unknown_28":31744,"ignition":31,"odometer":null,"unknown_45":1778429302227939328}} 
[2026-07-27 17:30:11] local.INFO: DEBUG: GPS processor result {"connection_id":143164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554448,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:30:11] local.INFO: GPS data processed {"connection_id":143164,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:30:11] local.INFO: Acknowledgment sent {"connection_id":143164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:30:12] local.INFO: TCP Data received {"connection_id":145442,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145442,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:30:12] local.INFO: Processing buffer {"connection_id":145442,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:30:12] local.INFO: IMEI packet received {"connection_id":145442,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 17:30:12] local.INFO: IMEI acknowledgment sent {"connection_id":145442,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:30:12] local.INFO: TCP Data received {"connection_id":143164,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa37195f0012d18c30007215160004400a127..."} 
[2026-07-27 17:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa37195f0012d18c30007215160004400a127..."} 
[2026-07-27 17:30:12] local.INFO: Processing buffer {"connection_id":143164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa37195f0012d18c30007215160004400a127..."} 
[2026-07-27 17:30:12] local.INFO: Packet analysis {"connection_id":143164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa371"} 
[2026-07-27 17:30:12] local.INFO: Extracted packet for processing {"connection_id":143164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa371"} 
[2026-07-27 17:30:12] local.INFO: GPS Element Parsed {"raw_longitude":756597504,"raw_latitude":119624032,"longitude_deg":75.6597504,"latitude_deg":11.9624032,"altitude":68,"angle":161,"satellites":39,"speed":32,"hex_longitude":"2d18c300","hex_latitude":"07215160","is_valid_coordinates":true} 
[2026-07-27 17:30:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:30:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999308544001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:30:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8938217784999936,"note":"Value kept but may cause issues"} 
[2026-07-27 17:30:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779836677110999040,"note":"Value kept but may cause issues"} 
[2026-07-27 17:30:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:30:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785153558000,"timestamp_ms":1785153558000,"timestamp_seconds":1785153558,"priority":1,"record_length":96,"hex_timestamp":"0000019fa37195f0"} 
[2026-07-27 17:30:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:30:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:30:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-07-27 17:30:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:30:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:30:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:30:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:30:12] local.INFO: Teltonika packet parsed successfully {"connection_id":143164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:30:12] local.INFO: Passing IMEI to GPS processor {"connection_id":143164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:30:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":143164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:30:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:30:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:30:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:30:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999308544001,"66":12504,"121":206,"28":31744,"24":32,"16":8938217784999936,"45":1779836677110999040},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 17:30:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:30:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:30:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999308544001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:30:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 17:30:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:30:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8938217784999936,"km_value":8938217784999.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:30:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779836677110999040,"description":"Unknown IO ID 45"} 
[2026-07-27 17:30:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999308544001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":32,"odometer":null,"unknown_45":1779836677110999040}} 
[2026-07-27 17:30:13] local.INFO: DEBUG: GPS processor result {"connection_id":143164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554449,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:30:13] local.INFO: GPS data processed {"connection_id":143164,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:30:13] local.INFO: Acknowledgment sent {"connection_id":143164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:30:14] local.INFO: TCP Data received {"connection_id":145442,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3715b58012d7e474005e034400005009d2b..."} 
[2026-07-27 17:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3715b58012d7e474005e034400005009d2b..."} 
[2026-07-27 17:30:14] local.INFO: Processing buffer {"connection_id":145442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3715b58012d7e474005e034400005009d2b..."} 
[2026-07-27 17:30:14] local.INFO: Packet analysis {"connection_id":145442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa371"} 
[2026-07-27 17:30:14] local.INFO: Extracted packet for processing {"connection_id":145442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa371"} 
[2026-07-27 17:30:14] local.INFO: GPS Element Parsed {"raw_longitude":763250496,"raw_latitude":98579520,"longitude_deg":76.3250496,"latitude_deg":9.857952,"altitude":5,"angle":157,"satellites":43,"speed":48,"hex_longitude":"2d7e4740","hex_latitude":"05e03440","is_valid_coordinates":true} 
[2026-07-27 17: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-07-27 17:30:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999306240001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:30:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111698351178645504,"note":"Value kept but may cause issues"} 
[2026-07-27 17:30:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9097974959967436800,"note":"Value kept but may cause issues"} 
[2026-07-27 17:30:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:30:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785153543000,"timestamp_ms":1785153543000,"timestamp_seconds":1785153543,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3715b58"} 
[2026-07-27 17:30:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:30:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-27 17:30:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17: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-07-27 17:30:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:30:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:30:14] local.INFO: Teltonika packet parsed successfully {"connection_id":145442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:30:14] local.INFO: Passing IMEI to GPS processor {"connection_id":145442,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:30:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":145442,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:30:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:30:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 17:30:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 17:30:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999306240001,"66":12765,"104":206,"85":15104,"24":48,"16":111698351178645504,"45":9097974959967436800},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,45]} 
[2026-07-27 17:30:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 17:30:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 17:30:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999306240001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:30:14] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-07-27 17:30:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 17:30:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111698351178645504,"km_value":111698351178645.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:30:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9097974959967436800,"description":"Unknown IO ID 45"} 
[2026-07-27 17:30:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999306240001,"power":12765,"unknown_104":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":9097974959967436800}} 
[2026-07-27 17:30:14] local.INFO: DEBUG: GPS processor result {"connection_id":145442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554450,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:30:14] local.INFO: GPS data processed {"connection_id":145442,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:30:14] local.INFO: Acknowledgment sent {"connection_id":145442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:30:15] local.INFO: TCP Data received {"connection_id":143164,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3719dc0012d18c3c007214b18004300b524..."} 
[2026-07-27 17:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3719dc0012d18c3c007214b18004300b524..."} 
[2026-07-27 17:30:15] local.INFO: Processing buffer {"connection_id":143164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3719dc0012d18c3c007214b18004300b524..."} 
[2026-07-27 17:30:15] local.INFO: Packet analysis {"connection_id":143164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa371"} 
[2026-07-27 17:30:15] local.INFO: Extracted packet for processing {"connection_id":143164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa371"} 
[2026-07-27 17:30:15] local.INFO: GPS Element Parsed {"raw_longitude":756597696,"raw_latitude":119622424,"longitude_deg":75.6597696,"latitude_deg":11.9622424,"altitude":67,"angle":181,"satellites":36,"speed":32,"hex_longitude":"2d18c3c0","hex_latitude":"07214b18","is_valid_coordinates":true} 
[2026-07-27 17:30:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:30:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999310848001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:30:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8938295094411264,"note":"Value kept but may cause issues"} 
[2026-07-27 17:30:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784269907992600576,"note":"Value kept but may cause issues"} 
[2026-07-27 17:30: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-07-27 17:30:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785153560000,"timestamp_ms":1785153560000,"timestamp_seconds":1785153560,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3719dc0"} 
[2026-07-27 17:30:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:30:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:30:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-27 17:30:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:30:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:30:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:30:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:30:15] local.INFO: Teltonika packet parsed successfully {"connection_id":143164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:30:15] local.INFO: Passing IMEI to GPS processor {"connection_id":143164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:30:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":143164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:30:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:30:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:30:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:30:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999310848001,"66":12211,"121":206,"28":31744,"24":32,"16":8938295094411264,"45":1784269907992600576},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 17:30:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:30:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:30:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999310848001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:30:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 17:30:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:30:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8938295094411264,"km_value":8938295094411.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:30:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784269907992600576,"description":"Unknown IO ID 45"} 
[2026-07-27 17:30:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999310848001,"power":12211,"unknown_121":206,"unknown_28":31744,"ignition":32,"odometer":null,"unknown_45":1784269907992600576}} 
[2026-07-27 17:30:15] local.INFO: DEBUG: GPS processor result {"connection_id":143164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554451,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:30:15] local.INFO: GPS data processed {"connection_id":143164,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:30:15] local.INFO: Acknowledgment sent {"connection_id":143164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:30:31] local.INFO: TCP Data received {"connection_id":143022,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:30:31] local.INFO: Processing buffer {"connection_id":143022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:30:31] local.INFO: IMEI packet received {"connection_id":143022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 17:30:31] local.INFO: IMEI acknowledgment sent {"connection_id":143022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:30:33] local.INFO: TCP Data received {"connection_id":143022,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:30:33] local.INFO: Processing buffer {"connection_id":143022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:30:33] local.INFO: IMEI packet received {"connection_id":143022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 17:30:33] local.INFO: IMEI acknowledgment sent {"connection_id":143022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:30:35] local.INFO: TCP Data received {"connection_id":143022,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fa370de58012da17e4005c36658002200382c..."} 
[2026-07-27 17:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa370de58012da17e4005c36658002200382c..."} 
[2026-07-27 17:30:35] local.INFO: Processing buffer {"connection_id":143022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa370de58012da17e4005c36658002200382c..."} 
[2026-07-27 17:30:35] local.INFO: Packet analysis {"connection_id":143022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa370"} 
[2026-07-27 17:30:35] local.INFO: Extracted packet for processing {"connection_id":143022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa370"} 
[2026-07-27 17:30:35] local.INFO: GPS Element Parsed {"raw_longitude":765558336,"raw_latitude":96691800,"longitude_deg":76.5558336,"latitude_deg":9.66918,"altitude":34,"angle":56,"satellites":44,"speed":0,"hex_longitude":"2da17e40","hex_latitude":"05c36658","is_valid_coordinates":true} 
[2026-07-27 17:30:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:30:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999293440001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:30:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359131996921790464,"note":"Value kept but may cause issues"} 
[2026-07-27 17:30:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6810287036761280512,"note":"Value kept but may cause issues"} 
[2026-07-27 17:30:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:30:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785153511000,"timestamp_ms":1785153511000,"timestamp_seconds":1785153511,"priority":1,"record_length":96,"hex_timestamp":"0000019fa370de58"} 
[2026-07-27 17:30:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:30:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:30:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-27 17:30:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:30:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:30:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:30:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:30:35] local.INFO: Teltonika packet parsed successfully {"connection_id":143022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:30:35] local.INFO: Passing IMEI to GPS processor {"connection_id":143022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:30:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":143022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:30:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:30:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 17:30:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 17:30:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999293440001,"66":28028,"168":206,"83":16896,"24":0,"16":359131996921790464,"45":-6810287036761280512},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,83,24,16,45]} 
[2026-07-27 17:30:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 17:30:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 17:30:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999293440001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:30:35] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-07-27 17:30:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-27 17:30:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359131996921790464,"km_value":359131996921790.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:30:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6810287036761280512,"description":"Unknown IO ID 45"} 
[2026-07-27 17:30:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999293440001,"power":28028,"unknown_168":206,"unknown_83":16896,"ignition":0,"odometer":null,"unknown_45":-6810287036761280512}} 
[2026-07-27 17:30:35] local.INFO: DEBUG: GPS processor result {"connection_id":143022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:30:35] local.INFO: GPS data processed {"connection_id":143022,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:30:35] local.INFO: Acknowledgment sent {"connection_id":143022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:30:45] local.INFO: TCP Data received {"connection_id":145442,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3717a98012d7e53c005e010b0000400a32c..."} 
[2026-07-27 17:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3717a98012d7e53c005e010b0000400a32c..."} 
[2026-07-27 17:30:45] local.INFO: Processing buffer {"connection_id":145442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3717a98012d7e53c005e010b0000400a32c..."} 
[2026-07-27 17:30:45] local.INFO: Packet analysis {"connection_id":145442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa371"} 
[2026-07-27 17:30:45] local.INFO: Extracted packet for processing {"connection_id":145442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa371"} 
[2026-07-27 17:30:45] local.INFO: GPS Element Parsed {"raw_longitude":763253696,"raw_latitude":98570416,"longitude_deg":76.3253696,"latitude_deg":9.8570416,"altitude":4,"angle":163,"satellites":44,"speed":50,"hex_longitude":"2d7e53c0","hex_latitude":"05e010b0","is_valid_coordinates":true} 
[2026-07-27 17: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-07-27 17:30:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999307008001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:30:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111698815035113472,"note":"Value kept but may cause issues"} 
[2026-07-27 17:30:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9099311966105911296,"note":"Value kept but may cause issues"} 
[2026-07-27 17:30:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:30:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785153551000,"timestamp_ms":1785153551000,"timestamp_seconds":1785153551,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3717a98"} 
[2026-07-27 17:30:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:30:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-27 17:30:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17: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-07-27 17:30:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:30:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:30:45] local.INFO: Teltonika packet parsed successfully {"connection_id":145442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:30:45] local.INFO: Passing IMEI to GPS processor {"connection_id":145442,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:30:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":145442,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:30:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:30:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 17:30:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 17:30:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999307008001,"66":12982,"104":206,"85":15104,"24":50,"16":111698815035113472,"45":9099311966105911296},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,45]} 
[2026-07-27 17:30:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 17:30:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 17:30:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999307008001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:30:45] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-07-27 17:30:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 17:30:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111698815035113472,"km_value":111698815035113.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:30:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9099311966105911296,"description":"Unknown IO ID 45"} 
[2026-07-27 17:30:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999307008001,"power":12982,"unknown_104":206,"unknown_85":15104,"ignition":50,"odometer":null,"unknown_45":9099311966105911296}} 
[2026-07-27 17:30:45] local.INFO: DEBUG: GPS processor result {"connection_id":145442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554453,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:30:45] local.INFO: GPS data processed {"connection_id":145442,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:30:45] local.INFO: Acknowledgment sent {"connection_id":145442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:30:59] local.INFO: TCP Data received {"connection_id":143165,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143165,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:30:59] local.INFO: Processing buffer {"connection_id":143165,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:30:59] local.INFO: IMEI packet received {"connection_id":143165,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 17:30:59] local.INFO: IMEI acknowledgment sent {"connection_id":143165,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:31:05] local.INFO: TCP Data received {"connection_id":143165,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143165,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:31:05] local.INFO: Processing buffer {"connection_id":143165,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:31:05] local.INFO: IMEI packet received {"connection_id":143165,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 17:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":143165,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:31:06] local.INFO: TCP Data received {"connection_id":143022,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3713060012da1818005c36900002200372d..."} 
[2026-07-27 17:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3713060012da1818005c36900002200372d..."} 
[2026-07-27 17:31:06] local.INFO: Processing buffer {"connection_id":143022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3713060012da1818005c36900002200372d..."} 
[2026-07-27 17:31:06] local.INFO: Packet analysis {"connection_id":143022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa371"} 
[2026-07-27 17:31:06] local.INFO: Extracted packet for processing {"connection_id":143022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa371"} 
[2026-07-27 17:31:06] local.INFO: GPS Element Parsed {"raw_longitude":765559168,"raw_latitude":96692480,"longitude_deg":76.5559168,"latitude_deg":9.669248,"altitude":34,"angle":55,"satellites":45,"speed":8,"hex_longitude":"2da18180","hex_latitude":"05c36900","is_valid_coordinates":true} 
[2026-07-27 17:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999298816001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359132052756365312,"note":"Value kept but may cause issues"} 
[2026-07-27 17:31:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6809935193040332800,"note":"Value kept but may cause issues"} 
[2026-07-27 17:31:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785153532000,"timestamp_ms":1785153532000,"timestamp_seconds":1785153532,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3713060"} 
[2026-07-27 17:31:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:31:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-27 17:31:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:31:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:31:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:31:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 17:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 17:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999298816001,"66":27876,"168":206,"83":16896,"24":8,"16":359132052756365312,"45":-6809935193040332800},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,83,24,16,45]} 
[2026-07-27 17:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 17:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 17:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999298816001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:31:06] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-07-27 17:31:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-27 17:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359132052756365312,"km_value":359132052756365.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:31:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6809935193040332800,"description":"Unknown IO ID 45"} 
[2026-07-27 17:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999298816001,"power":27876,"unknown_168":206,"unknown_83":16896,"ignition":8,"odometer":null,"unknown_45":-6809935193040332800}} 
[2026-07-27 17:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":143022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:31:06] local.INFO: GPS data processed {"connection_id":143022,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:31:06] local.INFO: Acknowledgment sent {"connection_id":143022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:31:07] local.INFO: TCP Data received {"connection_id":143165,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa371ad60012d18c54007213eb0004200a226..."} 
[2026-07-27 17:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143165,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa371ad60012d18c54007213eb0004200a226..."} 
[2026-07-27 17:31:07] local.INFO: Processing buffer {"connection_id":143165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa371ad60012d18c54007213eb0004200a226..."} 
[2026-07-27 17:31:07] local.INFO: Packet analysis {"connection_id":143165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa371"} 
[2026-07-27 17:31:07] local.INFO: Extracted packet for processing {"connection_id":143165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa371"} 
[2026-07-27 17:31:07] local.INFO: GPS Element Parsed {"raw_longitude":756598080,"raw_latitude":119619248,"longitude_deg":75.659808,"latitude_deg":11.9619248,"altitude":66,"angle":162,"satellites":38,"speed":30,"hex_longitude":"2d18c540","hex_latitude":"07213eb0","is_valid_coordinates":true} 
[2026-07-27 17:31:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:31:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999311360001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:31:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8938449713233920,"note":"Value kept but may cause issues"} 
[2026-07-27 17:31:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784481014224721920,"note":"Value kept but may cause issues"} 
[2026-07-27 17:31:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:31:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785153564000,"timestamp_ms":1785153564000,"timestamp_seconds":1785153564,"priority":1,"record_length":96,"hex_timestamp":"0000019fa371ad60"} 
[2026-07-27 17:31:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:31:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17: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":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-27 17:31:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:31:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:31:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:31:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:31:07] local.INFO: Teltonika packet parsed successfully {"connection_id":143165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:31:07] local.INFO: Passing IMEI to GPS processor {"connection_id":143165,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:31:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":143165,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:31:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:31:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:31:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:31:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999311360001,"66":12798,"121":206,"28":31744,"24":30,"16":8938449713233920,"45":1784481014224721920},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 17:31:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:31:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:31:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999311360001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:31:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 17:31:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:31:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8938449713233920,"km_value":8938449713233.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:31:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784481014224721920,"description":"Unknown IO ID 45"} 
[2026-07-27 17:31:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999311360001,"power":12798,"unknown_121":206,"unknown_28":31744,"ignition":30,"odometer":null,"unknown_45":1784481014224721920}} 
[2026-07-27 17:31:07] local.INFO: DEBUG: GPS processor result {"connection_id":143165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554455,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:31:07] local.INFO: GPS data processed {"connection_id":143165,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:31:07] local.INFO: Acknowledgment sent {"connection_id":143165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:31:08] local.INFO: TCP Data received {"connection_id":144160,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144160,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:31:08] local.INFO: Processing buffer {"connection_id":144160,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:31:08] local.INFO: IMEI packet received {"connection_id":144160,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 17:31:08] local.INFO: IMEI acknowledgment sent {"connection_id":144160,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:31:08] local.INFO: TCP Data received {"connection_id":144160,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144160,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:31:08] local.INFO: Processing buffer {"connection_id":144160,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:31:08] local.INFO: IMEI packet received {"connection_id":144160,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 17:31:08] local.INFO: IMEI acknowledgment sent {"connection_id":144160,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:31:12] local.INFO: TCP Data received {"connection_id":144160,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144160,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:31:12] local.INFO: Processing buffer {"connection_id":144160,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:31:12] local.INFO: IMEI packet received {"connection_id":144160,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 17:31:12] local.INFO: IMEI acknowledgment sent {"connection_id":144160,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:31:13] local.INFO: TCP Data received {"connection_id":144160,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa37199d8012d7e5ec005dfed60000300a52d..."} 
[2026-07-27 17:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144160,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa37199d8012d7e5ec005dfed60000300a52d..."} 
[2026-07-27 17:31:13] local.INFO: Processing buffer {"connection_id":144160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa37199d8012d7e5ec005dfed60000300a52d..."} 
[2026-07-27 17:31:13] local.INFO: Packet analysis {"connection_id":144160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa371"} 
[2026-07-27 17:31:13] local.INFO: Extracted packet for processing {"connection_id":144160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa371"} 
[2026-07-27 17:31:13] local.INFO: GPS Element Parsed {"raw_longitude":763256512,"raw_latitude":98561376,"longitude_deg":76.3256512,"latitude_deg":9.8561376,"altitude":3,"angle":165,"satellites":45,"speed":37,"hex_longitude":"2d7e5ec0","hex_latitude":"05dfed60","is_valid_coordinates":true} 
[2026-07-27 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-07-27 17:31:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999309056001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:31:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111699274596614144,"note":"Value kept but may cause issues"} 
[2026-07-27 17:31:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9102830403312463872,"note":"Value kept but may cause issues"} 
[2026-07-27 17:31:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:31:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785153559000,"timestamp_ms":1785153559000,"timestamp_seconds":1785153559,"priority":1,"record_length":96,"hex_timestamp":"0000019fa37199d8"} 
[2026-07-27 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-07-27 17:31:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-27 17:31:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 17:31:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:31:13] local.INFO: Teltonika packet parsed successfully {"connection_id":144160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:31:13] local.INFO: Passing IMEI to GPS processor {"connection_id":144160,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:31:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":144160,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:31:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:31:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 17:31:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 17:31:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999309056001,"66":12765,"104":206,"85":15104,"24":37,"16":111699274596614144,"45":9102830403312463872},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,45]} 
[2026-07-27 17:31:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 17:31:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 17:31:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999309056001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:31:13] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-07-27 17:31:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 17:31:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111699274596614144,"km_value":111699274596614.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:31:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9102830403312463872,"description":"Unknown IO ID 45"} 
[2026-07-27 17:31:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999309056001,"power":12765,"unknown_104":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":9102830403312463872}} 
[2026-07-27 17:31:13] local.INFO: DEBUG: GPS processor result {"connection_id":144160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554456,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:31:13] local.INFO: GPS data processed {"connection_id":144160,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:31:13] local.INFO: Acknowledgment sent {"connection_id":144160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:31:17] local.INFO: TCP Data received {"connection_id":144160,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa371d088012d7e680005dfcb78000500a02b..."} 
[2026-07-27 17:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144160,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa371d088012d7e680005dfcb78000500a02b..."} 
[2026-07-27 17:31:17] local.INFO: Processing buffer {"connection_id":144160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa371d088012d7e680005dfcb78000500a02b..."} 
[2026-07-27 17:31:17] local.INFO: Packet analysis {"connection_id":144160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa371"} 
[2026-07-27 17:31:17] local.INFO: Extracted packet for processing {"connection_id":144160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa371"} 
[2026-07-27 17:31:17] local.INFO: GPS Element Parsed {"raw_longitude":763258880,"raw_latitude":98552696,"longitude_deg":76.325888,"latitude_deg":9.8552696,"altitude":5,"angle":160,"satellites":43,"speed":19,"hex_longitude":"2d7e6800","hex_latitude":"05dfcb78","is_valid_coordinates":true} 
[2026-07-27 17: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-07-27 17:31:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999311104001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:31:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111699712683278336,"note":"Value kept but may cause issues"} 
[2026-07-27 17:31:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9105926628053966848,"note":"Value kept but may cause issues"} 
[2026-07-27 17:31:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:31:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785153573000,"timestamp_ms":1785153573000,"timestamp_seconds":1785153573,"priority":1,"record_length":96,"hex_timestamp":"0000019fa371d088"} 
[2026-07-27 17:31:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:31:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-27 17:31:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17: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-07-27 17:31:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:31:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:31:17] local.INFO: Teltonika packet parsed successfully {"connection_id":144160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:31:17] local.INFO: Passing IMEI to GPS processor {"connection_id":144160,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:31:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":144160,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:31:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:31:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 17:31:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 17:31:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999311104001,"66":12645,"104":206,"85":15104,"24":19,"16":111699712683278336,"45":9105926628053966848},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,45]} 
[2026-07-27 17:31:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 17:31:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 17:31:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999311104001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:31:17] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-07-27 17:31:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 17:31:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111699712683278336,"km_value":111699712683278.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:31:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9105926628053966848,"description":"Unknown IO ID 45"} 
[2026-07-27 17:31:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999311104001,"power":12645,"unknown_104":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":9105926628053966848}} 
[2026-07-27 17:31:17] local.INFO: DEBUG: GPS processor result {"connection_id":144160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554457,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:31:17] local.INFO: GPS data processed {"connection_id":144160,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:31:17] local.INFO: Acknowledgment sent {"connection_id":144160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:31:29] local.INFO: TCP Data received {"connection_id":143166,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:31:29] local.INFO: Processing buffer {"connection_id":143166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:31:29] local.INFO: IMEI packet received {"connection_id":143166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 17:31:29] local.INFO: IMEI acknowledgment sent {"connection_id":143166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:31:30] local.INFO: TCP Data received {"connection_id":143166,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:31:30] local.INFO: Processing buffer {"connection_id":143166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:31:30] local.INFO: IMEI packet received {"connection_id":143166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 17:31:30] local.INFO: IMEI acknowledgment sent {"connection_id":143166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:31:31] local.INFO: TCP Data received {"connection_id":143166,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:31:31] local.INFO: Processing buffer {"connection_id":143166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:31:31] local.INFO: IMEI packet received {"connection_id":143166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 17:31:31] local.INFO: IMEI acknowledgment sent {"connection_id":143166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:31:32] local.INFO: TCP Data received {"connection_id":143166,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:31:32] local.INFO: Processing buffer {"connection_id":143166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:31:32] local.INFO: IMEI packet received {"connection_id":143166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 17:31:32] local.INFO: IMEI acknowledgment sent {"connection_id":143166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:31:39] local.INFO: TCP Data received {"connection_id":143165,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa371b530012d18c7c0072139200042009529..."} 
[2026-07-27 17:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143165,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa371b530012d18c7c0072139200042009529..."} 
[2026-07-27 17:31:39] local.INFO: Processing buffer {"connection_id":143165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa371b530012d18c7c0072139200042009529..."} 
[2026-07-27 17:31:39] local.INFO: Packet analysis {"connection_id":143165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa371"} 
[2026-07-27 17:31:39] local.INFO: Extracted packet for processing {"connection_id":143165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa371"} 
[2026-07-27 17:31:39] local.INFO: GPS Element Parsed {"raw_longitude":756598720,"raw_latitude":119617824,"longitude_deg":75.659872,"latitude_deg":11.9617824,"altitude":66,"angle":149,"satellites":41,"speed":30,"hex_longitude":"2d18c7c0","hex_latitude":"07213920","is_valid_coordinates":true} 
[2026-07-27 17:31:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:31:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999312384001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:31:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8938527022645248,"note":"Value kept but may cause issues"} 
[2026-07-27 17:31:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784903226688974848,"note":"Value kept but may cause issues"} 
[2026-07-27 17:31:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:31:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785153566000,"timestamp_ms":1785153566000,"timestamp_seconds":1785153566,"priority":1,"record_length":96,"hex_timestamp":"0000019fa371b530"} 
[2026-07-27 17:31:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:31:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-27 17:31:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:31:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:31:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:31:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:31:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:31:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143165,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:31:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143165,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:31:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:31:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:31:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:31:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999312384001,"66":12319,"121":206,"28":31744,"24":30,"16":8938527022645248,"45":1784903226688974848},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 17:31:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:31:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:31:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999312384001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:31:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 17:31:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:31:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8938527022645248,"km_value":8938527022645.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:31:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784903226688974848,"description":"Unknown IO ID 45"} 
[2026-07-27 17:31:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999312384001,"power":12319,"unknown_121":206,"unknown_28":31744,"ignition":30,"odometer":null,"unknown_45":1784903226688974848}} 
[2026-07-27 17:31:39] local.INFO: DEBUG: GPS processor result {"connection_id":143165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554458,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:31:39] local.INFO: GPS data processed {"connection_id":143165,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:31:39] local.INFO: Acknowledgment sent {"connection_id":143165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:31:48] local.INFO: TCP Data received {"connection_id":144160,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa371e7f8012d7e6b4005dfbf48000600ab2b..."} 
[2026-07-27 17:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144160,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa371e7f8012d7e6b4005dfbf48000600ab2b..."} 
[2026-07-27 17:31:48] local.INFO: Processing buffer {"connection_id":144160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa371e7f8012d7e6b4005dfbf48000600ab2b..."} 
[2026-07-27 17:31:48] local.INFO: Packet analysis {"connection_id":144160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa371"} 
[2026-07-27 17:31:48] local.INFO: Extracted packet for processing {"connection_id":144160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa371"} 
[2026-07-27 17:31:48] local.INFO: GPS Element Parsed {"raw_longitude":763259712,"raw_latitude":98549576,"longitude_deg":76.3259712,"latitude_deg":9.8549576,"altitude":6,"angle":171,"satellites":43,"speed":24,"hex_longitude":"2d7e6b40","hex_latitude":"05dfbf48","is_valid_coordinates":true} 
[2026-07-27 17: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-07-27 17:31:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999314688001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:31:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111699867302100992,"note":"Value kept but may cause issues"} 
[2026-07-27 17:31:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9108530271586318336,"note":"Value kept but may cause issues"} 
[2026-07-27 17:31:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:31:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785153579000,"timestamp_ms":1785153579000,"timestamp_seconds":1785153579,"priority":1,"record_length":96,"hex_timestamp":"0000019fa371e7f8"} 
[2026-07-27 17:31:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:31:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-27 17:31:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17: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-07-27 17:31:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:31:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:31:48] local.INFO: Teltonika packet parsed successfully {"connection_id":144160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:31:48] local.INFO: Passing IMEI to GPS processor {"connection_id":144160,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:31:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":144160,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:31:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:31:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 17:31:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 17:31:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999314688001,"66":12722,"104":206,"85":15104,"24":24,"16":111699867302100992,"45":9108530271586318336},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,45]} 
[2026-07-27 17:31:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 17:31:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 17:31:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999314688001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:31:48] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-07-27 17:31:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 17:31:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111699867302100992,"km_value":111699867302100.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:31:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9108530271586318336,"description":"Unknown IO ID 45"} 
[2026-07-27 17:31:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999314688001,"power":12722,"unknown_104":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":9108530271586318336}} 
[2026-07-27 17:31:48] local.INFO: DEBUG: GPS processor result {"connection_id":144160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554459,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:31:48] local.INFO: GPS data processed {"connection_id":144160,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:31:48] local.INFO: Acknowledgment sent {"connection_id":144160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:32:00] local.INFO: TCP Data received {"connection_id":144161,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144161,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:32:00] local.INFO: Processing buffer {"connection_id":144161,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:32:00] local.INFO: IMEI packet received {"connection_id":144161,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 17:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":144161,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:32:05] local.INFO: TCP Data received {"connection_id":144161,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144161,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:32:05] local.INFO: Processing buffer {"connection_id":144161,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:32:05] local.INFO: IMEI packet received {"connection_id":144161,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 17:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":144161,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:32:06] local.INFO: TCP Data received {"connection_id":144161,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa371d088012d18d1c0072126f0004000ac2a..."} 
[2026-07-27 17:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144161,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa371d088012d18d1c0072126f0004000ac2a..."} 
[2026-07-27 17:32:06] local.INFO: Processing buffer {"connection_id":144161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa371d088012d18d1c0072126f0004000ac2a..."} 
[2026-07-27 17:32:06] local.INFO: Packet analysis {"connection_id":144161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa371"} 
[2026-07-27 17:32:06] local.INFO: Extracted packet for processing {"connection_id":144161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa371"} 
[2026-07-27 17:32:06] local.INFO: GPS Element Parsed {"raw_longitude":756601280,"raw_latitude":119613168,"longitude_deg":75.660128,"latitude_deg":11.9613168,"altitude":64,"angle":172,"satellites":42,"speed":29,"hex_longitude":"2d18d1c0","hex_latitude":"072126f0","is_valid_coordinates":true} 
[2026-07-27 17:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:32:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999312896001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:32:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8938784720683008,"note":"Value kept but may cause issues"} 
[2026-07-27 17:32:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785606914130386944,"note":"Value kept but may cause issues"} 
[2026-07-27 17:32:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:32:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785153573000,"timestamp_ms":1785153573000,"timestamp_seconds":1785153573,"priority":1,"record_length":96,"hex_timestamp":"0000019fa371d088"} 
[2026-07-27 17:32:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:32:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 17:32:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:32:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:32:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:32:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:32:06] local.INFO: Teltonika packet parsed successfully {"connection_id":144161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:32:06] local.INFO: Passing IMEI to GPS processor {"connection_id":144161,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:32:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":144161,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:32:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:32:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:32:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:32:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999312896001,"66":12722,"121":206,"28":31744,"24":29,"16":8938784720683008,"45":1785606914130386944},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 17:32:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:32:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:32:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999312896001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:32:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 17:32:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:32:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8938784720683008,"km_value":8938784720683.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:32:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785606914130386944,"description":"Unknown IO ID 45"} 
[2026-07-27 17:32:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999312896001,"power":12722,"unknown_121":206,"unknown_28":31744,"ignition":29,"odometer":null,"unknown_45":1785606914130386944}} 
[2026-07-27 17:32:06] local.INFO: DEBUG: GPS processor result {"connection_id":144161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554460,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:32:06] local.INFO: GPS data processed {"connection_id":144161,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:32:06] local.INFO: Acknowledgment sent {"connection_id":144161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:32:08] local.INFO: TCP Data received {"connection_id":143167,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143167,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:32:08] local.INFO: Processing buffer {"connection_id":143167,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:32:08] local.INFO: IMEI packet received {"connection_id":143167,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 17:32:08] local.INFO: IMEI acknowledgment sent {"connection_id":143167,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:32:13] local.INFO: TCP Data received {"connection_id":143167,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143167,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:32:13] local.INFO: Processing buffer {"connection_id":143167,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:32:13] local.INFO: IMEI packet received {"connection_id":143167,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 17:32:13] local.INFO: IMEI acknowledgment sent {"connection_id":143167,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:32:13] local.INFO: TCP Data received {"connection_id":143167,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa37216d8012d7e738005df9f580005009f2c..."} 
[2026-07-27 17:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143167,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa37216d8012d7e738005df9f580005009f2c..."} 
[2026-07-27 17:32:13] local.INFO: Processing buffer {"connection_id":143167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa37216d8012d7e738005df9f580005009f2c..."} 
[2026-07-27 17:32:13] local.INFO: Packet analysis {"connection_id":143167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa372"} 
[2026-07-27 17:32:13] local.INFO: Extracted packet for processing {"connection_id":143167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa372"} 
[2026-07-27 17:32:13] local.INFO: GPS Element Parsed {"raw_longitude":763261824,"raw_latitude":98541400,"longitude_deg":76.3261824,"latitude_deg":9.85414,"altitude":5,"angle":159,"satellites":44,"speed":33,"hex_longitude":"2d7e7380","hex_latitude":"05df9f58","is_valid_coordinates":true} 
[2026-07-27 17:32:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:32:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999316224001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:32:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111700279618961408,"note":"Value kept but may cause issues"} 
[2026-07-27 17:32:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9109445065259829248,"note":"Value kept but may cause issues"} 
[2026-07-27 17:32:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:32:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785153591000,"timestamp_ms":1785153591000,"timestamp_seconds":1785153591,"priority":1,"record_length":96,"hex_timestamp":"0000019fa37216d8"} 
[2026-07-27 17:32:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:32:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:32:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-27 17:32:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:32:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:32:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:32:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:32:13] local.INFO: Teltonika packet parsed successfully {"connection_id":143167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:32:13] local.INFO: Passing IMEI to GPS processor {"connection_id":143167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:32:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":143167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:32:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:32:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 17:32:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 17:32:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999316224001,"66":12906,"104":206,"85":15104,"24":33,"16":111700279618961408,"45":9109445065259829248},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,45]} 
[2026-07-27 17:32:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 17:32:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 17:32:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999316224001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:32:13] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-07-27 17:32:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 17:32:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111700279618961408,"km_value":111700279618961.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:32:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9109445065259829248,"description":"Unknown IO ID 45"} 
[2026-07-27 17:32:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999316224001,"power":12906,"unknown_104":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":9109445065259829248}} 
[2026-07-27 17:32:14] local.INFO: DEBUG: GPS processor result {"connection_id":143167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554461,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:32:14] local.INFO: GPS data processed {"connection_id":143167,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:32:14] local.INFO: Acknowledgment sent {"connection_id":143167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:32:38] local.INFO: TCP Data received {"connection_id":144161,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3720350012d18d50007210530003e00a029..."} 
[2026-07-27 17:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144161,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3720350012d18d50007210530003e00a029..."} 
[2026-07-27 17:32:38] local.INFO: Processing buffer {"connection_id":144161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3720350012d18d50007210530003e00a029..."} 
[2026-07-27 17:32:38] local.INFO: Packet analysis {"connection_id":144161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa372"} 
[2026-07-27 17:32:38] local.INFO: Extracted packet for processing {"connection_id":144161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa372"} 
[2026-07-27 17:32:38] local.INFO: GPS Element Parsed {"raw_longitude":756602112,"raw_latitude":119604528,"longitude_deg":75.6602112,"latitude_deg":11.9604528,"altitude":62,"angle":160,"satellites":41,"speed":19,"hex_longitude":"2d18d500","hex_latitude":"07210530","is_valid_coordinates":true} 
[2026-07-27 17:32:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:32:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999314688001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:32:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8939209922445312,"note":"Value kept but may cause issues"} 
[2026-07-27 17:32:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788421663896301568,"note":"Value kept but may cause issues"} 
[2026-07-27 17:32:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:32:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785153586000,"timestamp_ms":1785153586000,"timestamp_seconds":1785153586,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3720350"} 
[2026-07-27 17:32:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:32:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-27 17:32:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:32:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:32:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:32:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:32:38] local.INFO: Teltonika packet parsed successfully {"connection_id":144161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:32:38] local.INFO: Passing IMEI to GPS processor {"connection_id":144161,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:32:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":144161,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:32:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:32:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:32:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:32:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999314688001,"66":12591,"121":206,"28":31744,"24":19,"16":8939209922445312,"45":1788421663896301568},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 17:32:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:32:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:32:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999314688001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:32:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 17:32:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:32:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8939209922445312,"km_value":8939209922445.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:32:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788421663896301568,"description":"Unknown IO ID 45"} 
[2026-07-27 17:32:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999314688001,"power":12591,"unknown_121":206,"unknown_28":31744,"ignition":19,"odometer":null,"unknown_45":1788421663896301568}} 
[2026-07-27 17:32:38] local.INFO: DEBUG: GPS processor result {"connection_id":144161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554462,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:32:38] local.INFO: GPS data processed {"connection_id":144161,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:32:38] local.INFO: Acknowledgment sent {"connection_id":144161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:32:45] local.INFO: TCP Data received {"connection_id":143167,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3745510012d7ed10005debd48000800b42a..."} 
[2026-07-27 17:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143167,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3745510012d7ed10005debd48000800b42a..."} 
[2026-07-27 17:32:45] local.INFO: Processing buffer {"connection_id":143167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3745510012d7ed10005debd48000800b42a..."} 
[2026-07-27 17:32:45] local.INFO: Packet analysis {"connection_id":143167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa374"} 
[2026-07-27 17:32:45] local.INFO: Extracted packet for processing {"connection_id":143167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa374"} 
[2026-07-27 17:32:45] local.INFO: GPS Element Parsed {"raw_longitude":763285760,"raw_latitude":98483528,"longitude_deg":76.328576,"latitude_deg":9.8483528,"altitude":8,"angle":180,"satellites":42,"speed":32,"hex_longitude":"2d7ed100","hex_latitude":"05debd48","is_valid_coordinates":true} 
[2026-07-27 17:32:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:32:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999351808001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:32:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111703384880316416,"note":"Value kept but may cause issues"} 
[2026-07-27 17:32:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9137240719195475968,"note":"Value kept but may cause issues"} 
[2026-07-27 17:32:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:32:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785153738000,"timestamp_ms":1785153738000,"timestamp_seconds":1785153738,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3745510"} 
[2026-07-27 17:32:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:32:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:32:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-27 17:32:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:32:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:32:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:32:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:32:45] local.INFO: Teltonika packet parsed successfully {"connection_id":143167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:32:45] local.INFO: Passing IMEI to GPS processor {"connection_id":143167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:32:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":143167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:32:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:32:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 17:32:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 17:32:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999351808001,"66":12841,"206":206,"85":15104,"24":32,"16":111703384880316416,"45":9137240719195475968},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,85,24,16,45]} 
[2026-07-27 17:32:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 17:32:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 17:32:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999351808001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:32:45] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-07-27 17:32:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 17:32:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111703384880316416,"km_value":111703384880316.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:32:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9137240719195475968,"description":"Unknown IO ID 45"} 
[2026-07-27 17:32:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999351808001,"power":12841,"unknown_206":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":9137240719195475968}} 
[2026-07-27 17:32:45] local.INFO: DEBUG: GPS processor result {"connection_id":143167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554463,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:32:45] local.INFO: GPS data processed {"connection_id":143167,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:32:45] local.INFO: Acknowledgment sent {"connection_id":143167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:32:59] local.INFO: TCP Data received {"connection_id":145443,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145443,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:32:59] local.INFO: Processing buffer {"connection_id":145443,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:32:59] local.INFO: IMEI packet received {"connection_id":145443,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 17:32:59] local.INFO: IMEI acknowledgment sent {"connection_id":145443,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:33:05] local.INFO: TCP Data received {"connection_id":145443,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145443,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:33:05] local.INFO: Processing buffer {"connection_id":145443,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:33:05] local.INFO: IMEI packet received {"connection_id":145443,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 17:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":145443,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:33:06] local.INFO: TCP Data received {"connection_id":145443,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3720b20012d18d640072101a0003d00ab2b..."} 
[2026-07-27 17:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145443,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3720b20012d18d640072101a0003d00ab2b..."} 
[2026-07-27 17:33:06] local.INFO: Processing buffer {"connection_id":145443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3720b20012d18d640072101a0003d00ab2b..."} 
[2026-07-27 17:33:06] local.INFO: Packet analysis {"connection_id":145443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa372"} 
[2026-07-27 17:33:06] local.INFO: Extracted packet for processing {"connection_id":145443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa372"} 
[2026-07-27 17:33:06] local.INFO: GPS Element Parsed {"raw_longitude":756602432,"raw_latitude":119603616,"longitude_deg":75.6602432,"latitude_deg":11.9603616,"altitude":61,"angle":171,"satellites":43,"speed":17,"hex_longitude":"2d18d640","hex_latitude":"072101a0","is_valid_coordinates":true} 
[2026-07-27 17:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:33:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999318016001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:33:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8939257167085568,"note":"Value kept but may cause issues"} 
[2026-07-27 17:33:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789336457568399360,"note":"Value kept but may cause issues"} 
[2026-07-27 17:33:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:33:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785153588000,"timestamp_ms":1785153588000,"timestamp_seconds":1785153588,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3720b20"} 
[2026-07-27 17:33:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:33:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-27 17:33:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:33:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:33:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:33:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:33:06] local.INFO: Teltonika packet parsed successfully {"connection_id":145443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:33:06] local.INFO: Passing IMEI to GPS processor {"connection_id":145443,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:33:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":145443,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:33:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:33:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:33:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:33:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999318016001,"66":12548,"121":206,"28":31744,"24":17,"16":8939257167085568,"45":1789336457568399360},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 17:33:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:33:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:33:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999318016001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:33:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 17:33:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:33:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8939257167085568,"km_value":8939257167085.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:33:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789336457568399360,"description":"Unknown IO ID 45"} 
[2026-07-27 17:33:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999318016001,"power":12548,"unknown_121":206,"unknown_28":31744,"ignition":17,"odometer":null,"unknown_45":1789336457568399360}} 
[2026-07-27 17:33:06] local.INFO: DEBUG: GPS processor result {"connection_id":145443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554464,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:33:06] local.INFO: GPS data processed {"connection_id":145443,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:33:06] local.INFO: Acknowledgment sent {"connection_id":145443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:33:07] local.INFO: TCP Data received {"connection_id":144162,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144162,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:33:07] local.INFO: Processing buffer {"connection_id":144162,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:33:07] local.INFO: IMEI packet received {"connection_id":144162,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 17:33:07] local.INFO: IMEI acknowledgment sent {"connection_id":144162,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:33:11] local.INFO: TCP Data received {"connection_id":144162,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144162,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:33:11] local.INFO: Processing buffer {"connection_id":144162,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:33:11] local.INFO: IMEI packet received {"connection_id":144162,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 17:33:11] local.INFO: IMEI acknowledgment sent {"connection_id":144162,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:33:12] local.INFO: TCP Data received {"connection_id":144162,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144162,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:33:12] local.INFO: Processing buffer {"connection_id":144162,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:33:12] local.INFO: IMEI packet received {"connection_id":144162,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 17:33:12] local.INFO: IMEI acknowledgment sent {"connection_id":144162,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:33:13] local.INFO: TCP Data received {"connection_id":144162,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa37464b0012d7ed24005deb028000800a82a..."} 
[2026-07-27 17:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa37464b0012d7ed24005deb028000800a82a..."} 
[2026-07-27 17:33:13] local.INFO: Processing buffer {"connection_id":144162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa37464b0012d7ed24005deb028000800a82a..."} 
[2026-07-27 17:33:13] local.INFO: Packet analysis {"connection_id":144162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa374"} 
[2026-07-27 17:33:13] local.INFO: Extracted packet for processing {"connection_id":144162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa374"} 
[2026-07-27 17:33:13] local.INFO: GPS Element Parsed {"raw_longitude":763286080,"raw_latitude":98480168,"longitude_deg":76.328608,"latitude_deg":9.8480168,"altitude":8,"angle":168,"satellites":42,"speed":34,"hex_longitude":"2d7ed240","hex_latitude":"05deb028","is_valid_coordinates":true} 
[2026-07-27 17:33:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:33:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999356928001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:33:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111703548089073664,"note":"Value kept but may cause issues"} 
[2026-07-27 17:33:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9138085144123230208,"note":"Value kept but may cause issues"} 
[2026-07-27 17:33:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:33:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785153742000,"timestamp_ms":1785153742000,"timestamp_seconds":1785153742,"priority":1,"record_length":96,"hex_timestamp":"0000019fa37464b0"} 
[2026-07-27 17:33:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:33:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:33:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-27 17:33:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:33:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:33:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:33:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:33:13] local.INFO: Teltonika packet parsed successfully {"connection_id":144162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:33:13] local.INFO: Passing IMEI to GPS processor {"connection_id":144162,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:33:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":144162,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:33:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:33:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 17:33:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 17:33:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999356928001,"66":12645,"206":206,"85":15104,"24":34,"16":111703548089073664,"45":9138085144123230208},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,85,24,16,45]} 
[2026-07-27 17:33:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 17:33:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 17:33:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999356928001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:33:13] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-07-27 17:33:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 17:33:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111703548089073664,"km_value":111703548089073.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:33:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9138085144123230208,"description":"Unknown IO ID 45"} 
[2026-07-27 17:33:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999356928001,"power":12645,"unknown_206":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":9138085144123230208}} 
[2026-07-27 17:33:13] local.INFO: DEBUG: GPS processor result {"connection_id":144162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554465,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:33:13] local.INFO: GPS data processed {"connection_id":144162,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:33:13] local.INFO: Acknowledgment sent {"connection_id":144162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:33:37] local.INFO: TCP Data received {"connection_id":145443,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3725d28012d18d7000720fbd8003e00a524..."} 
[2026-07-27 17:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145443,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3725d28012d18d7000720fbd8003e00a524..."} 
[2026-07-27 17:33:37] local.INFO: Processing buffer {"connection_id":145443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3725d28012d18d7000720fbd8003e00a524..."} 
[2026-07-27 17:33:37] local.INFO: Packet analysis {"connection_id":145443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa372"} 
[2026-07-27 17:33:37] local.INFO: Extracted packet for processing {"connection_id":145443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa372"} 
[2026-07-27 17:33:37] local.INFO: GPS Element Parsed {"raw_longitude":756602624,"raw_latitude":119602136,"longitude_deg":75.6602624,"latitude_deg":11.9602136,"altitude":62,"angle":165,"satellites":36,"speed":0,"hex_longitude":"2d18d700","hex_latitude":"0720fbd8","is_valid_coordinates":true} 
[2026-07-27 17:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:33:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999318528001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:33:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8939330181529600,"note":"Value kept but may cause issues"} 
[2026-07-27 17:33:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789688301289054208,"note":"Value kept but may cause issues"} 
[2026-07-27 17:33:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:33:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785153609000,"timestamp_ms":1785153609000,"timestamp_seconds":1785153609,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3725d28"} 
[2026-07-27 17:33:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:33:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-27 17:33:37] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2742130160,"note":"Value kept but may cause issues"} 
[2026-07-27 17:33:37] local.WARNING: Large IO value detected {"io_id":193,"raw_value":2332033024,"note":"Value kept but may cause issues"} 
[2026-07-27 17:33:37] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184194146509,"note":"Value kept but may cause issues"} 
[2026-07-27 17:33:37] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3243573248,"note":"Value kept but may cause issues"} 
[2026-07-27 17:33:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-27 17:33:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3221302552,"note":"Value kept but may cause issues"} 
[2026-07-27 17:33:37] local.WARNING: Large IO value detected {"io_id":195,"raw_value":3221692747,"note":"Value kept but may cause issues"} 
[2026-07-27 17:33:37] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3003174375,"note":"Value kept but may cause issues"} 
[2026-07-27 17:33:37] local.WARNING: Large IO value detected {"io_id":32,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-07-27 17:33:37] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8719195500324067328,"note":"Value kept but may cause issues"} 
[2026-07-27 17:33:37] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,121,28,24,241,158,16,194,159,3,45,5,62,41,10,66,208,192,38,64,42,193,181,1,240,31,163,33,4,113,205,30,157,195,36,239,47,2,7,68,32,231],"length":485,"final_offset":615,"validated_count":42,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-07-27 17:33:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395701437486661632,"timestamp_seconds":4395701437486661.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 17:33:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:33:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:33:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:33:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145443,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:33:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145443,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:33:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:33:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:33:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:33:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999318528001,"66":12156,"121":206,"28":31744,"24":0,"16":8939330181529600,"45":1789688301289054208},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 17:33:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:33:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:33:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999318528001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:33:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 17:33:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:33:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8939330181529600,"km_value":8939330181529.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:33:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789688301289054208,"description":"Unknown IO ID 45"} 
[2026-07-27 17:33:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999318528001,"power":12156,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1789688301289054208}} 
[2026-07-27 17:33:37] local.INFO: DEBUG: GPS processor result {"connection_id":145443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554466,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:33:37] local.INFO: GPS data processed {"connection_id":145443,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:33:37] local.INFO: Acknowledgment sent {"connection_id":145443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:33:44] local.INFO: TCP Data received {"connection_id":144162,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3748fa8012d7edc0005de8ce8000700a02a..."} 
[2026-07-27 17:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3748fa8012d7edc0005de8ce8000700a02a..."} 
[2026-07-27 17:33:44] local.INFO: Processing buffer {"connection_id":144162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3748fa8012d7edc0005de8ce8000700a02a..."} 
[2026-07-27 17:33:44] local.INFO: Packet analysis {"connection_id":144162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa374"} 
[2026-07-27 17:33:44] local.INFO: Extracted packet for processing {"connection_id":144162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa374"} 
[2026-07-27 17:33:44] local.INFO: GPS Element Parsed {"raw_longitude":763288576,"raw_latitude":98471144,"longitude_deg":76.3288576,"latitude_deg":9.8471144,"altitude":7,"angle":160,"satellites":42,"speed":31,"hex_longitude":"2d7edc00","hex_latitude":"05de8ce8","is_valid_coordinates":true} 
[2026-07-27 17:33:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:33:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999357952001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:33:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111704003355607040,"note":"Value kept but may cause issues"} 
[2026-07-27 17:33:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9138436987843258368,"note":"Value kept but may cause issues"} 
[2026-07-27 17:33:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:33:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785153753000,"timestamp_ms":1785153753000,"timestamp_seconds":1785153753,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3748fa8"} 
[2026-07-27 17:33:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:33:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:33:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-27 17:33:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:33:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:33:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:33:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:33:44] local.INFO: Teltonika packet parsed successfully {"connection_id":144162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:33:44] local.INFO: Passing IMEI to GPS processor {"connection_id":144162,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:33:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":144162,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:33:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:33:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 17:33:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 17:33:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999357952001,"66":12798,"206":206,"85":15104,"24":31,"16":111704003355607040,"45":9138436987843258368},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,85,24,16,45]} 
[2026-07-27 17:33:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 17:33:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 17:33:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999357952001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:33:44] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-07-27 17:33:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 17:33:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111704003355607040,"km_value":111704003355607.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:33:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9138436987843258368,"description":"Unknown IO ID 45"} 
[2026-07-27 17:33:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999357952001,"power":12798,"unknown_206":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":9138436987843258368}} 
[2026-07-27 17:33:44] local.INFO: DEBUG: GPS processor result {"connection_id":144162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554467,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:33:44] local.INFO: GPS data processed {"connection_id":144162,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:33:44] local.INFO: Acknowledgment sent {"connection_id":144162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:33:59] local.INFO: TCP Data received {"connection_id":143024,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143024,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:33:59] local.INFO: Processing buffer {"connection_id":143024,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:33:59] local.INFO: IMEI packet received {"connection_id":143024,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 17:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":143024,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:34:04] local.INFO: TCP Data received {"connection_id":143024,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143024,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:34:04] local.INFO: Processing buffer {"connection_id":143024,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:34:04] local.INFO: IMEI packet received {"connection_id":143024,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 17:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":143024,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:34:05] local.INFO: TCP Data received {"connection_id":143024,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa372af30012d18d7000720fbd8003e00a522..."} 
[2026-07-27 17:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa372af30012d18d7000720fbd8003e00a522..."} 
[2026-07-27 17:34:05] local.INFO: Processing buffer {"connection_id":143024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa372af30012d18d7000720fbd8003e00a522..."} 
[2026-07-27 17:34:05] local.INFO: Packet analysis {"connection_id":143024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa372"} 
[2026-07-27 17:34:05] local.INFO: Extracted packet for processing {"connection_id":143024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa372"} 
[2026-07-27 17:34:05] local.INFO: GPS Element Parsed {"raw_longitude":756602624,"raw_latitude":119602136,"longitude_deg":75.6602624,"latitude_deg":11.9602136,"altitude":62,"angle":165,"satellites":34,"speed":0,"hex_longitude":"2d18d700","hex_latitude":"0720fbd8","is_valid_coordinates":true} 
[2026-07-27 17:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:34:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999323904001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:34:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8939330181529600,"note":"Value kept but may cause issues"} 
[2026-07-27 17:34:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789899407521208320,"note":"Value kept but may cause issues"} 
[2026-07-27 17:34:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:34:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785153630000,"timestamp_ms":1785153630000,"timestamp_seconds":1785153630,"priority":1,"record_length":96,"hex_timestamp":"0000019fa372af30"} 
[2026-07-27 17:34:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:34:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-27 17:34:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:34:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:34:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:34:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:34:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:34:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143024,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:34:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143024,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:34:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:34:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:34:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:34:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999323904001,"66":12504,"121":206,"28":31744,"24":0,"16":8939330181529600,"45":1789899407521208320},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 17:34:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:34:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:34:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999323904001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:34:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 17:34:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:34:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8939330181529600,"km_value":8939330181529.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:34:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789899407521208320,"description":"Unknown IO ID 45"} 
[2026-07-27 17:34:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999323904001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1789899407521208320}} 
[2026-07-27 17:34:06] local.INFO: DEBUG: GPS processor result {"connection_id":143024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554468,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:34:06] local.INFO: GPS data processed {"connection_id":143024,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:34:06] local.INFO: Acknowledgment sent {"connection_id":143024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:34:07] local.INFO: TCP Data received {"connection_id":143168,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143168,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:34:07] local.INFO: Processing buffer {"connection_id":143168,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:34:07] local.INFO: IMEI packet received {"connection_id":143168,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 17:34:07] local.INFO: IMEI acknowledgment sent {"connection_id":143168,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:34:13] local.INFO: TCP Data received {"connection_id":143168,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143168,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:34:13] local.INFO: Processing buffer {"connection_id":143168,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:34:13] local.INFO: IMEI packet received {"connection_id":143168,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 17:34:13] local.INFO: IMEI acknowledgment sent {"connection_id":143168,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:34:14] local.INFO: TCP Data received {"connection_id":143168,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa374b6b8012d7ee9c005de6bb0000500a02a..."} 
[2026-07-27 17:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa374b6b8012d7ee9c005de6bb0000500a02a..."} 
[2026-07-27 17:34:14] local.INFO: Processing buffer {"connection_id":143168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa374b6b8012d7ee9c005de6bb0000500a02a..."} 
[2026-07-27 17:34:14] local.INFO: Packet analysis {"connection_id":143168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa374"} 
[2026-07-27 17:34:14] local.INFO: Extracted packet for processing {"connection_id":143168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa374"} 
[2026-07-27 17:34:14] local.INFO: GPS Element Parsed {"raw_longitude":763292096,"raw_latitude":98462640,"longitude_deg":76.3292096,"latitude_deg":9.846264,"altitude":5,"angle":160,"satellites":42,"speed":36,"hex_longitude":"2d7ee9c0","hex_latitude":"05de6bb0","is_valid_coordinates":true} 
[2026-07-27 17: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-07-27 17:34:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999360768001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:34:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111704445737238528,"note":"Value kept but may cause issues"} 
[2026-07-27 17:34:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9141181368863877120,"note":"Value kept but may cause issues"} 
[2026-07-27 17:34:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:34:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785153763000,"timestamp_ms":1785153763000,"timestamp_seconds":1785153763,"priority":1,"record_length":96,"hex_timestamp":"0000019fa374b6b8"} 
[2026-07-27 17:34:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:34:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-27 17:34:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17: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-07-27 17:34:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:34:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:34:14] local.INFO: Teltonika packet parsed successfully {"connection_id":143168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:34:14] local.INFO: Passing IMEI to GPS processor {"connection_id":143168,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:34:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":143168,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:34:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:34:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 17:34:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 17:34:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999360768001,"66":12711,"206":206,"85":15104,"24":36,"16":111704445737238528,"45":9141181368863877120},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,85,24,16,45]} 
[2026-07-27 17:34:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 17:34:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 17:34:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999360768001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:34:14] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-07-27 17:34:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 17:34:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111704445737238528,"km_value":111704445737238.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:34:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9141181368863877120,"description":"Unknown IO ID 45"} 
[2026-07-27 17:34:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999360768001,"power":12711,"unknown_206":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":9141181368863877120}} 
[2026-07-27 17:34:14] local.INFO: DEBUG: GPS processor result {"connection_id":143168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554469,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:34:14] local.INFO: GPS data processed {"connection_id":143168,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:34:14] local.INFO: Acknowledgment sent {"connection_id":143168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:34:37] local.INFO: TCP Data received {"connection_id":143024,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa375b4a0012d18d7400720fc88004100732c..."} 
[2026-07-27 17:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa375b4a0012d18d7400720fc88004100732c..."} 
[2026-07-27 17:34:37] local.INFO: Processing buffer {"connection_id":143024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa375b4a0012d18d7400720fc88004100732c..."} 
[2026-07-27 17:34:37] local.INFO: Packet analysis {"connection_id":143024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa375"} 
[2026-07-27 17:34:37] local.INFO: Extracted packet for processing {"connection_id":143024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa375"} 
[2026-07-27 17:34:37] local.INFO: GPS Element Parsed {"raw_longitude":756602688,"raw_latitude":119602312,"longitude_deg":75.6602688,"latitude_deg":11.9602312,"altitude":65,"angle":115,"satellites":44,"speed":2,"hex_longitude":"2d18d740","hex_latitude":"0720fc88","is_valid_coordinates":true} 
[2026-07-27 17:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:34:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999378176001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:34:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8939355951333376,"note":"Value kept but may cause issues"} 
[2026-07-27 17:34:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789829038777083904,"note":"Value kept but may cause issues"} 
[2026-07-27 17:34:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:34:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785153828000,"timestamp_ms":1785153828000,"timestamp_seconds":1785153828,"priority":1,"record_length":96,"hex_timestamp":"0000019fa375b4a0"} 
[2026-07-27 17:34:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:34:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-07-27 17:34:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:34:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:34:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:34:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:34:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:34:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143024,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:34:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143024,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:34:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:34:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:34:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:34:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999378176001,"66":13961,"121":206,"28":31744,"24":2,"16":8939355951333376,"45":1789829038777083904},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 17:34:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:34:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:34:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999378176001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:34:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 17:34:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:34:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8939355951333376,"km_value":8939355951333.377,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:34:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789829038777083904,"description":"Unknown IO ID 45"} 
[2026-07-27 17:34:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999378176001,"power":13961,"unknown_121":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1789829038777083904}} 
[2026-07-27 17:34:38] local.INFO: DEBUG: GPS processor result {"connection_id":143024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554470,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:34:38] local.INFO: GPS data processed {"connection_id":143024,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:34:38] local.INFO: Acknowledgment sent {"connection_id":143024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:34:59] local.INFO: TCP Data received {"connection_id":145445,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145445,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:34:59] local.INFO: Processing buffer {"connection_id":145445,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:34:59] local.INFO: IMEI packet received {"connection_id":145445,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 17:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":145445,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:35:06] local.INFO: TCP Data received {"connection_id":145445,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145445,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:35:06] local.INFO: Processing buffer {"connection_id":145445,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:35:06] local.INFO: IMEI packet received {"connection_id":145445,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 17:35:06] local.INFO: IMEI acknowledgment sent {"connection_id":145445,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:35:07] local.INFO: TCP Data received {"connection_id":145445,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa375cc10012d18dc000720f960004200802d..."} 
[2026-07-27 17:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa375cc10012d18dc000720f960004200802d..."} 
[2026-07-27 17:35:07] local.INFO: Processing buffer {"connection_id":145445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa375cc10012d18dc000720f960004200802d..."} 
[2026-07-27 17:35:07] local.INFO: Packet analysis {"connection_id":145445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa375"} 
[2026-07-27 17:35:07] local.INFO: Extracted packet for processing {"connection_id":145445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa375"} 
[2026-07-27 17:35:07] local.INFO: GPS Element Parsed {"raw_longitude":756603904,"raw_latitude":119601504,"longitude_deg":75.6603904,"latitude_deg":11.9601504,"altitude":66,"angle":128,"satellites":45,"speed":18,"hex_longitude":"2d18dc00","hex_latitude":"0720f960","is_valid_coordinates":true} 
[2026-07-27 17:35:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:35:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999379968001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:35:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8939424670810112,"note":"Value kept but may cause issues"} 
[2026-07-27 17:35:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789969776265431040,"note":"Value kept but may cause issues"} 
[2026-07-27 17:35:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:35:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785153834000,"timestamp_ms":1785153834000,"timestamp_seconds":1785153834,"priority":1,"record_length":96,"hex_timestamp":"0000019fa375cc10"} 
[2026-07-27 17:35:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:35:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:35:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-07-27 17:35:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:35:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:35:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:35:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:35:07] local.INFO: Teltonika packet parsed successfully {"connection_id":145445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:35:07] local.INFO: Passing IMEI to GPS processor {"connection_id":145445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:35:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":145445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:35:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:35:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:35:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:35:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999379968001,"66":14102,"121":206,"28":31744,"24":18,"16":8939424670810112,"45":1789969776265431040},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 17:35:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:35:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:35:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999379968001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:35:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 17:35:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:35:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8939424670810112,"km_value":8939424670810.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:35:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789969776265431040,"description":"Unknown IO ID 45"} 
[2026-07-27 17:35:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999379968001,"power":14102,"unknown_121":206,"unknown_28":31744,"ignition":18,"odometer":null,"unknown_45":1789969776265431040}} 
[2026-07-27 17:35:07] local.INFO: DEBUG: GPS processor result {"connection_id":145445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554471,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:35:07] local.INFO: GPS data processed {"connection_id":145445,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:35:07] local.INFO: Acknowledgment sent {"connection_id":145445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:35:11] local.INFO: TCP Data received {"connection_id":143169,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143169,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:35:11] local.INFO: Processing buffer {"connection_id":143169,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:35:11] local.INFO: IMEI packet received {"connection_id":143169,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 17:35:11] local.INFO: IMEI acknowledgment sent {"connection_id":143169,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:35:11] local.INFO: TCP Data received {"connection_id":143169,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143169,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:35:11] local.INFO: Processing buffer {"connection_id":143169,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:35:11] local.INFO: IMEI packet received {"connection_id":143169,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 17:35:11] local.INFO: IMEI acknowledgment sent {"connection_id":143169,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:35:13] local.INFO: TCP Data received {"connection_id":143169,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143169,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:35:13] local.INFO: Processing buffer {"connection_id":143169,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:35:13] local.INFO: IMEI packet received {"connection_id":143169,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 17:35:13] local.INFO: IMEI acknowledgment sent {"connection_id":143169,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:35:13] local.INFO: TCP Data received {"connection_id":143169,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143169,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:35:13] local.INFO: Processing buffer {"connection_id":143169,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:35:13] local.INFO: IMEI packet received {"connection_id":143169,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 17:35:13] local.INFO: IMEI acknowledgment sent {"connection_id":143169,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:35:38] local.INFO: TCP Data received {"connection_id":145445,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa375dbb0012d18e3000720f2b80042008b2b..."} 
[2026-07-27 17:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa375dbb0012d18e3000720f2b80042008b2b..."} 
[2026-07-27 17:35:38] local.INFO: Processing buffer {"connection_id":145445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa375dbb0012d18e3000720f2b80042008b2b..."} 
[2026-07-27 17:35:38] local.INFO: Packet analysis {"connection_id":145445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa375"} 
[2026-07-27 17:35:38] local.INFO: Extracted packet for processing {"connection_id":145445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa375"} 
[2026-07-27 17:35:38] local.INFO: GPS Element Parsed {"raw_longitude":756605696,"raw_latitude":119599800,"longitude_deg":75.6605696,"latitude_deg":11.95998,"altitude":66,"angle":139,"satellites":43,"speed":29,"hex_longitude":"2d18e300","hex_latitude":"0720f2b8","is_valid_coordinates":true} 
[2026-07-27 17:35:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:35:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999381504001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:35:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8939544929894400,"note":"Value kept but may cause issues"} 
[2026-07-27 17:35:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1791306782404599808,"note":"Value kept but may cause issues"} 
[2026-07-27 17:35:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:35:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785153838000,"timestamp_ms":1785153838000,"timestamp_seconds":1785153838,"priority":1,"record_length":96,"hex_timestamp":"0000019fa375dbb0"} 
[2026-07-27 17:35:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:35:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:35:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-27 17:35:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:35:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:35:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:35:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:35:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:35:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:35:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:35:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:35:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:35:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:35:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999381504001,"66":13993,"121":206,"28":31744,"24":29,"16":8939544929894400,"45":1791306782404599808},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 17:35:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:35:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:35:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999381504001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:35:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 17:35:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:35:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8939544929894400,"km_value":8939544929894.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:35:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1791306782404599808,"description":"Unknown IO ID 45"} 
[2026-07-27 17:35:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999381504001,"power":13993,"unknown_121":206,"unknown_28":31744,"ignition":29,"odometer":null,"unknown_45":1791306782404599808}} 
[2026-07-27 17:35:38] local.INFO: DEBUG: GPS processor result {"connection_id":145445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554472,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:35:38] local.INFO: GPS data processed {"connection_id":145445,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:35:38] local.INFO: Acknowledgment sent {"connection_id":145445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:36:04] local.INFO: TCP Data received {"connection_id":143170,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143170,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:36:04] local.INFO: Processing buffer {"connection_id":143170,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:36:04] local.INFO: IMEI packet received {"connection_id":143170,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 17:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":143170,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:36:05] local.INFO: TCP Data received {"connection_id":143170,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143170,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:36:05] local.INFO: Processing buffer {"connection_id":143170,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:36:05] local.INFO: IMEI packet received {"connection_id":143170,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 17:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":143170,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:36:07] local.INFO: TCP Data received {"connection_id":143170,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143170,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:36:07] local.INFO: Processing buffer {"connection_id":143170,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:36:07] local.INFO: IMEI packet received {"connection_id":143170,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 17:36:07] local.INFO: IMEI acknowledgment sent {"connection_id":143170,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:36:08] local.INFO: TCP Data received {"connection_id":143170,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3771430012d19ad0007208de8002f00b629..."} 
[2026-07-27 17:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143170,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3771430012d19ad0007208de8002f00b629..."} 
[2026-07-27 17:36:08] local.INFO: Processing buffer {"connection_id":143170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3771430012d19ad0007208de8002f00b629..."} 
[2026-07-27 17:36:08] local.INFO: Packet analysis {"connection_id":143170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa377"} 
[2026-07-27 17:36:08] local.INFO: Extracted packet for processing {"connection_id":143170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa377"} 
[2026-07-27 17:36:08] local.INFO: GPS Element Parsed {"raw_longitude":756657408,"raw_latitude":119573992,"longitude_deg":75.6657408,"latitude_deg":11.9573992,"altitude":47,"angle":182,"satellites":41,"speed":31,"hex_longitude":"2d19ad00","hex_latitude":"07208de8","is_valid_coordinates":true} 
[2026-07-27 17:36:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:36:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999402752001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:36:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8942920774189056,"note":"Value kept but may cause issues"} 
[2026-07-27 17:36:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850205421274472448,"note":"Value kept but may cause issues"} 
[2026-07-27 17:36:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:36:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785153918000,"timestamp_ms":1785153918000,"timestamp_seconds":1785153918,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3771430"} 
[2026-07-27 17:36:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:36:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-27 17:36:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:36:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:36:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:36:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:36:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:36:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143170,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:36:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143170,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:36:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:36:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:36:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:36:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999402752001,"66":13820,"121":206,"28":31744,"24":31,"16":8942920774189056,"45":1850205421274472448},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 17:36:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:36:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:36:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999402752001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:36:08] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 17:36:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:36:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8942920774189056,"km_value":8942920774189.057,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:36:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850205421274472448,"description":"Unknown IO ID 45"} 
[2026-07-27 17:36:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999402752001,"power":13820,"unknown_121":206,"unknown_28":31744,"ignition":31,"odometer":null,"unknown_45":1850205421274472448}} 
[2026-07-27 17:36:08] local.INFO: DEBUG: GPS processor result {"connection_id":143170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554473,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:36:08] local.INFO: GPS data processed {"connection_id":143170,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:36:08] local.INFO: Acknowledgment sent {"connection_id":143170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:36:09] local.INFO: TCP Data received {"connection_id":143170,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3771818012d19ad8007208a90002e00aa2a..."} 
[2026-07-27 17:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143170,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3771818012d19ad8007208a90002e00aa2a..."} 
[2026-07-27 17:36:09] local.INFO: Processing buffer {"connection_id":143170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3771818012d19ad8007208a90002e00aa2a..."} 
[2026-07-27 17:36:09] local.INFO: Packet analysis {"connection_id":143170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa377"} 
[2026-07-27 17:36:09] local.INFO: Extracted packet for processing {"connection_id":143170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa377"} 
[2026-07-27 17:36:09] local.INFO: GPS Element Parsed {"raw_longitude":756657536,"raw_latitude":119573136,"longitude_deg":75.6657536,"latitude_deg":11.9573136,"altitude":46,"angle":170,"satellites":42,"speed":34,"hex_longitude":"2d19ad80","hex_latitude":"07208a90","is_valid_coordinates":true} 
[2026-07-27 17:36:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:36:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999403008001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:36:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8942963723862016,"note":"Value kept but may cause issues"} 
[2026-07-27 17:36:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850135052530083840,"note":"Value kept but may cause issues"} 
[2026-07-27 17:36:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:36:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785153919000,"timestamp_ms":1785153919000,"timestamp_seconds":1785153919,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3771818"} 
[2026-07-27 17:36:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:36:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:36:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-07-27 17:36:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:36:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:36:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:36:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:36:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:36:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143170,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:36:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143170,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:36:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:36:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:36:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:36:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999403008001,"66":13820,"121":206,"28":31744,"24":34,"16":8942963723862016,"45":1850135052530083840},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 17:36:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:36:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:36:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999403008001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:36:09] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 17:36:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:36:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8942963723862016,"km_value":8942963723862.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:36:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850135052530083840,"description":"Unknown IO ID 45"} 
[2026-07-27 17:36:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999403008001,"power":13820,"unknown_121":206,"unknown_28":31744,"ignition":34,"odometer":null,"unknown_45":1850135052530083840}} 
[2026-07-27 17:36:10] local.INFO: DEBUG: GPS processor result {"connection_id":143170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554474,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:36:10] local.INFO: GPS data processed {"connection_id":143170,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:36:10] local.INFO: Acknowledgment sent {"connection_id":143170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:36:37] local.INFO: TCP Data received {"connection_id":143027,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:36:37] local.INFO: Processing buffer {"connection_id":143027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:36:37] local.INFO: IMEI packet received {"connection_id":143027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 17:36:37] local.INFO: IMEI acknowledgment sent {"connection_id":143027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:36:38] local.INFO: TCP Data received {"connection_id":143027,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3733400012da1634005c38f180026013027..."} 
[2026-07-27 17:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3733400012da1634005c38f180026013027..."} 
[2026-07-27 17:36:38] local.INFO: Processing buffer {"connection_id":143027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3733400012da1634005c38f180026013027..."} 
[2026-07-27 17:36:38] local.INFO: Packet analysis {"connection_id":143027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa373"} 
[2026-07-27 17:36:38] local.INFO: Extracted packet for processing {"connection_id":143027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa373"} 
[2026-07-27 17:36:38] local.INFO: GPS Element Parsed {"raw_longitude":765551424,"raw_latitude":96702232,"longitude_deg":76.5551424,"latitude_deg":9.6702232,"altitude":38,"angle":304,"satellites":39,"speed":29,"hex_longitude":"2da16340","hex_latitude":"05c38f18","is_valid_coordinates":true} 
[2026-07-27 17:36:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:36:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999337472001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:36:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359133551699951616,"note":"Value kept but may cause issues"} 
[2026-07-27 17:36:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6815986905037099008,"note":"Value kept but may cause issues"} 
[2026-07-27 17:36:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:36:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785153664000,"timestamp_ms":1785153664000,"timestamp_seconds":1785153664,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3733400"} 
[2026-07-27 17:36:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:36:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:36:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-27 17:36:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:36:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:36:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:36:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:36:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:36:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:36:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:36:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:36:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 17:36:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 17:36:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999337472001,"66":27843,"170":206,"83":16896,"24":29,"16":359133551699951616,"45":-6815986905037099008},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,83,24,16,45]} 
[2026-07-27 17:36:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 17:36:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 17:36:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999337472001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:36:38] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-07-27 17:36:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-27 17:36:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359133551699951616,"km_value":359133551699951.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:36:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6815986905037099008,"description":"Unknown IO ID 45"} 
[2026-07-27 17:36:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999337472001,"power":27843,"unknown_170":206,"unknown_83":16896,"ignition":29,"odometer":null,"unknown_45":-6815986905037099008}} 
[2026-07-27 17:36:38] local.INFO: DEBUG: GPS processor result {"connection_id":143027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:36:38] local.INFO: GPS data processed {"connection_id":143027,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:36:38] local.INFO: Acknowledgment sent {"connection_id":143027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:37:03] local.INFO: TCP Data received {"connection_id":143170,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3773370012d19b5c007206ed0002c009d27..."} 
[2026-07-27 17:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143170,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3773370012d19b5c007206ed0002c009d27..."} 
[2026-07-27 17:37:03] local.INFO: Processing buffer {"connection_id":143170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3773370012d19b5c007206ed0002c009d27..."} 
[2026-07-27 17:37:03] local.INFO: Packet analysis {"connection_id":143170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa377"} 
[2026-07-27 17:37:03] local.INFO: Extracted packet for processing {"connection_id":143170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa377"} 
[2026-07-27 17:37:03] local.INFO: GPS Element Parsed {"raw_longitude":756659648,"raw_latitude":119566032,"longitude_deg":75.6659648,"latitude_deg":11.9566032,"altitude":44,"angle":157,"satellites":39,"speed":42,"hex_longitude":"2d19b5c0","hex_latitude":"07206ed0","is_valid_coordinates":true} 
[2026-07-27 17: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-07-27 17:37:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999403264001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:37:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8943324501114880,"note":"Value kept but may cause issues"} 
[2026-07-27 17:37:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850275790018220032,"note":"Value kept but may cause issues"} 
[2026-07-27 17:37:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:37:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785153926000,"timestamp_ms":1785153926000,"timestamp_seconds":1785153926,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3773370"} 
[2026-07-27 17:37:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:37:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-07-27 17:37:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17: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-07-27 17:37:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:37:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:37:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:37:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143170,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:37:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143170,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:37:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:37:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:37:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:37:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999403264001,"66":14070,"121":206,"28":31744,"24":42,"16":8943324501114880,"45":1850275790018220032},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 17:37:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:37:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:37:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999403264001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:37:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 17:37:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:37:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8943324501114880,"km_value":8943324501114.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:37:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850275790018220032,"description":"Unknown IO ID 45"} 
[2026-07-27 17:37:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999403264001,"power":14070,"unknown_121":206,"unknown_28":31744,"ignition":42,"odometer":null,"unknown_45":1850275790018220032}} 
[2026-07-27 17:37:03] local.INFO: DEBUG: GPS processor result {"connection_id":143170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554476,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:37:03] local.INFO: GPS data processed {"connection_id":143170,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:37:03] local.INFO: Acknowledgment sent {"connection_id":143170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:37:09] local.INFO: TCP Data received {"connection_id":143027,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3733bd0012da15e8005c393680025014028..."} 
[2026-07-27 17:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3733bd0012da15e8005c393680025014028..."} 
[2026-07-27 17:37:09] local.INFO: Processing buffer {"connection_id":143027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3733bd0012da15e8005c393680025014028..."} 
[2026-07-27 17:37:09] local.INFO: Packet analysis {"connection_id":143027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa373"} 
[2026-07-27 17:37:09] local.INFO: Extracted packet for processing {"connection_id":143027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa373"} 
[2026-07-27 17:37:09] local.INFO: GPS Element Parsed {"raw_longitude":765550208,"raw_latitude":96703336,"longitude_deg":76.5550208,"latitude_deg":9.6703336,"altitude":37,"angle":320,"satellites":40,"speed":32,"hex_longitude":"2da15e80","hex_latitude":"05c39368","is_valid_coordinates":true} 
[2026-07-27 17:37:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:37:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999337984001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:37:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359133629009362944,"note":"Value kept but may cause issues"} 
[2026-07-27 17:37:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6817535017408849920,"note":"Value kept but may cause issues"} 
[2026-07-27 17:37:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:37:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785153666000,"timestamp_ms":1785153666000,"timestamp_seconds":1785153666,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3733bd0"} 
[2026-07-27 17:37:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:37:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-27 17:37:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:37:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:37:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:37:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:37:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:37:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:37:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:37:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:37:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 17:37:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 17:37:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999337984001,"66":27908,"170":206,"83":16896,"24":32,"16":359133629009362944,"45":-6817535017408849920},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,83,24,16,45]} 
[2026-07-27 17:37:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 17:37:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 17:37:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999337984001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:37:09] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-07-27 17:37:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-27 17:37:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359133629009362944,"km_value":359133629009362.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:37:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6817535017408849920,"description":"Unknown IO ID 45"} 
[2026-07-27 17:37:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999337984001,"power":27908,"unknown_170":206,"unknown_83":16896,"ignition":32,"odometer":null,"unknown_45":-6817535017408849920}} 
[2026-07-27 17:37:09] local.INFO: DEBUG: GPS processor result {"connection_id":143027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:37:09] local.INFO: GPS data processed {"connection_id":143027,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:37:09] local.INFO: Acknowledgment sent {"connection_id":143027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:37:29] local.INFO: TCP Data received {"connection_id":144164,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144164,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:37:29] local.INFO: Processing buffer {"connection_id":144164,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:37:29] local.INFO: IMEI packet received {"connection_id":144164,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 17:37:29] local.INFO: IMEI acknowledgment sent {"connection_id":144164,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:37:30] local.INFO: TCP Data received {"connection_id":144164,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144164,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:37:30] local.INFO: Processing buffer {"connection_id":144164,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:37:30] local.INFO: IMEI packet received {"connection_id":144164,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 17:37:30] local.INFO: IMEI acknowledgment sent {"connection_id":144164,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:37:33] local.INFO: TCP Data received {"connection_id":144164,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144164,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:37:33] local.INFO: Processing buffer {"connection_id":144164,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:37:33] local.INFO: IMEI packet received {"connection_id":144164,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 17:37:33] local.INFO: IMEI acknowledgment sent {"connection_id":144164,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:37:35] local.INFO: TCP Data received {"connection_id":144164,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144164,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:37:35] local.INFO: Processing buffer {"connection_id":144164,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:37:35] local.INFO: IMEI packet received {"connection_id":144164,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 17:37:35] local.INFO: IMEI acknowledgment sent {"connection_id":144164,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:37:37] local.INFO: TCP Data received {"connection_id":143171,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:37:37] local.INFO: Processing buffer {"connection_id":143171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:37:37] local.INFO: IMEI packet received {"connection_id":143171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 17:37:37] local.INFO: IMEI acknowledgment sent {"connection_id":143171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:37:42] local.INFO: TCP Data received {"connection_id":143171,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:37:42] local.INFO: Processing buffer {"connection_id":143171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:37:42] local.INFO: IMEI packet received {"connection_id":143171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 17:37:42] local.INFO: IMEI acknowledgment sent {"connection_id":143171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:37:43] local.INFO: TCP Data received {"connection_id":143171,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3734b70012da1578005c39ef8002601502a..."} 
[2026-07-27 17:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143171,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3734b70012da1578005c39ef8002601502a..."} 
[2026-07-27 17:37:43] local.INFO: Processing buffer {"connection_id":143171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3734b70012da1578005c39ef8002601502a..."} 
[2026-07-27 17:37:43] local.INFO: Packet analysis {"connection_id":143171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa373"} 
[2026-07-27 17:37:43] local.INFO: Extracted packet for processing {"connection_id":143171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa373"} 
[2026-07-27 17:37:43] local.INFO: GPS Element Parsed {"raw_longitude":765548416,"raw_latitude":96706296,"longitude_deg":76.5548416,"latitude_deg":9.6706296,"altitude":38,"angle":336,"satellites":42,"speed":35,"hex_longitude":"2da15780","hex_latitude":"05c39ef8","is_valid_coordinates":true} 
[2026-07-27 17: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-07-27 17:37:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999338496001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:37:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359133800808054784,"note":"Value kept but may cause issues"} 
[2026-07-27 17:37:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6818872023547942912,"note":"Value kept but may cause issues"} 
[2026-07-27 17:37:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:37:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785153670000,"timestamp_ms":1785153670000,"timestamp_seconds":1785153670,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3734b70"} 
[2026-07-27 17:37:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:37:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-27 17:37:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:37:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:37:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:37:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:37:43] local.INFO: Teltonika packet parsed successfully {"connection_id":143171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:37:43] local.INFO: Passing IMEI to GPS processor {"connection_id":143171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:37:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":143171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:37:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:37:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 17:37:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 17:37:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999338496001,"66":27800,"170":206,"83":16896,"24":35,"16":359133800808054784,"45":-6818872023547942912},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,83,24,16,45]} 
[2026-07-27 17:37:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 17:37:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 17:37:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999338496001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:37:43] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-07-27 17:37:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-27 17:37:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359133800808054784,"km_value":359133800808054.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:37:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6818872023547942912,"description":"Unknown IO ID 45"} 
[2026-07-27 17:37:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999338496001,"power":27800,"unknown_170":206,"unknown_83":16896,"ignition":35,"odometer":null,"unknown_45":-6818872023547942912}} 
[2026-07-27 17:37:43] local.INFO: DEBUG: GPS processor result {"connection_id":143171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:37:43] local.INFO: GPS data processed {"connection_id":143171,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:37:43] local.INFO: Acknowledgment sent {"connection_id":143171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:37:47] local.INFO: TCP Data received {"connection_id":144164,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3782988012d19ad40071ff008002c011b29..."} 
[2026-07-27 17:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3782988012d19ad40071ff008002c011b29..."} 
[2026-07-27 17:37:47] local.INFO: Processing buffer {"connection_id":144164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3782988012d19ad40071ff008002c011b29..."} 
[2026-07-27 17:37:47] local.INFO: Packet analysis {"connection_id":144164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa378"} 
[2026-07-27 17:37:47] local.INFO: Extracted packet for processing {"connection_id":144164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa378"} 
[2026-07-27 17:37:47] local.INFO: GPS Element Parsed {"raw_longitude":756657472,"raw_latitude":119533576,"longitude_deg":75.6657472,"latitude_deg":11.9533576,"altitude":44,"angle":283,"satellites":41,"speed":26,"hex_longitude":"2d19ad40","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-07-27 17:37:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:37:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999420416001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:37:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8945480574697472,"note":"Value kept but may cause issues"} 
[2026-07-27 17:37:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1852386852333381632,"note":"Value kept but may cause issues"} 
[2026-07-27 17:37: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-07-27 17:37:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785153989000,"timestamp_ms":1785153989000,"timestamp_seconds":1785153989,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3782988"} 
[2026-07-27 17:37:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:37: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-07-27 17:37:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-27 17:37: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-07-27 17:37:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:37:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:37:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:37:47] local.INFO: Teltonika packet parsed successfully {"connection_id":144164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:37:47] local.INFO: Passing IMEI to GPS processor {"connection_id":144164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:37:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":144164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:37:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:37:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:37:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:37:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999420416001,"66":14374,"121":206,"28":31744,"24":26,"16":8945480574697472,"45":1852386852333381632},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 17:37:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:37:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:37:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999420416001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:37:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 17:37:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:37:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8945480574697472,"km_value":8945480574697.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:37:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1852386852333381632,"description":"Unknown IO ID 45"} 
[2026-07-27 17:37:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999420416001,"power":14374,"unknown_121":206,"unknown_28":31744,"ignition":26,"odometer":null,"unknown_45":1852386852333381632}} 
[2026-07-27 17:37:48] local.INFO: DEBUG: GPS processor result {"connection_id":144164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554479,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:37:48] local.INFO: GPS data processed {"connection_id":144164,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:37:48] local.INFO: Acknowledgment sent {"connection_id":144164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:38:04] local.INFO: TCP Data received {"connection_id":143172,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143172,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:38:04] local.INFO: Processing buffer {"connection_id":143172,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:38:04] local.INFO: IMEI packet received {"connection_id":143172,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 17:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":143172,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:38:07] local.INFO: TCP Data received {"connection_id":143172,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143172,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:38:07] local.INFO: Processing buffer {"connection_id":143172,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:38:07] local.INFO: IMEI packet received {"connection_id":143172,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 17:38:07] local.INFO: IMEI acknowledgment sent {"connection_id":143172,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:38:08] local.INFO: TCP Data received {"connection_id":143172,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa378b240012d19a540071fc460003900a22b..."} 
[2026-07-27 17:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143172,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa378b240012d19a540071fc460003900a22b..."} 
[2026-07-27 17:38:08] local.INFO: Processing buffer {"connection_id":143172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa378b240012d19a540071fc460003900a22b..."} 
[2026-07-27 17:38:08] local.INFO: Packet analysis {"connection_id":143172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa378"} 
[2026-07-27 17:38:08] local.INFO: Extracted packet for processing {"connection_id":143172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa378"} 
[2026-07-27 17:38:08] local.INFO: GPS Element Parsed {"raw_longitude":756655424,"raw_latitude":119522400,"longitude_deg":75.6655424,"latitude_deg":11.95224,"altitude":57,"angle":162,"satellites":43,"speed":10,"hex_longitude":"2d19a540","hex_latitude":"071fc460","is_valid_coordinates":true} 
[2026-07-27 17:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:38:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999429888001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:38:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8946197834235904,"note":"Value kept but may cause issues"} 
[2026-07-27 17:38:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847883252703268864,"note":"Value kept but may cause issues"} 
[2026-07-27 17:38:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:38:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785154024000,"timestamp_ms":1785154024000,"timestamp_seconds":1785154024,"priority":1,"record_length":96,"hex_timestamp":"0000019fa378b240"} 
[2026-07-27 17:38:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:38:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-07-27 17:38:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:38:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:38:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:38:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:38:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:38:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143172,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:38:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143172,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:38:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:38:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:38:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:38:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999429888001,"66":13993,"121":206,"28":31744,"24":10,"16":8946197834235904,"45":1847883252703268864},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 17:38:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:38:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:38:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999429888001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:38:08] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 17:38:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:38:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8946197834235904,"km_value":8946197834235.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:38:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847883252703268864,"description":"Unknown IO ID 45"} 
[2026-07-27 17:38:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999429888001,"power":13993,"unknown_121":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1847883252703268864}} 
[2026-07-27 17:38:09] local.INFO: DEBUG: GPS processor result {"connection_id":143172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554480,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:38:09] local.INFO: GPS data processed {"connection_id":143172,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:38:09] local.INFO: Acknowledgment sent {"connection_id":143172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:38:10] local.INFO: TCP Data received {"connection_id":143172,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa378b628012d19a5c0071fc390003900832b..."} 
[2026-07-27 17:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143172,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa378b628012d19a5c0071fc390003900832b..."} 
[2026-07-27 17:38:10] local.INFO: Processing buffer {"connection_id":143172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa378b628012d19a5c0071fc390003900832b..."} 
[2026-07-27 17:38:10] local.INFO: Packet analysis {"connection_id":143172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa378"} 
[2026-07-27 17:38:10] local.INFO: Extracted packet for processing {"connection_id":143172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa378"} 
[2026-07-27 17:38:10] local.INFO: GPS Element Parsed {"raw_longitude":756655552,"raw_latitude":119522192,"longitude_deg":75.6655552,"latitude_deg":11.9522192,"altitude":57,"angle":131,"satellites":43,"speed":8,"hex_longitude":"2d19a5c0","hex_latitude":"071fc390","is_valid_coordinates":true} 
[2026-07-27 17:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:38:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999430144001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:38:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8946210719137792,"note":"Value kept but may cause issues"} 
[2026-07-27 17:38:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847953621447368704,"note":"Value kept but may cause issues"} 
[2026-07-27 17:38:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:38:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785154025000,"timestamp_ms":1785154025000,"timestamp_seconds":1785154025,"priority":1,"record_length":96,"hex_timestamp":"0000019fa378b628"} 
[2026-07-27 17:38:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:38:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-27 17:38:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:38:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:38:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:38:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:38:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:38:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143172,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:38:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143172,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:38:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:38:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:38:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:38:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999430144001,"66":13993,"121":206,"28":31744,"24":8,"16":8946210719137792,"45":1847953621447368704},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 17:38:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:38:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:38:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999430144001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:38:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 17:38:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:38:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8946210719137792,"km_value":8946210719137.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:38:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847953621447368704,"description":"Unknown IO ID 45"} 
[2026-07-27 17:38:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999430144001,"power":13993,"unknown_121":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1847953621447368704}} 
[2026-07-27 17:38:10] local.INFO: DEBUG: GPS processor result {"connection_id":143172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554481,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:38:10] local.INFO: GPS data processed {"connection_id":143172,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:38:10] local.INFO: Acknowledgment sent {"connection_id":143172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:38:14] local.INFO: TCP Data received {"connection_id":143171,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3737a50012da14bc005c3c3100027015229..."} 
[2026-07-27 17:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143171,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3737a50012da14bc005c3c3100027015229..."} 
[2026-07-27 17:38:14] local.INFO: Processing buffer {"connection_id":143171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3737a50012da14bc005c3c3100027015229..."} 
[2026-07-27 17:38:14] local.INFO: Packet analysis {"connection_id":143171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa373"} 
[2026-07-27 17:38:14] local.INFO: Extracted packet for processing {"connection_id":143171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa373"} 
[2026-07-27 17:38:14] local.INFO: GPS Element Parsed {"raw_longitude":765545408,"raw_latitude":96715536,"longitude_deg":76.5545408,"latitude_deg":9.6715536,"altitude":39,"angle":338,"satellites":41,"speed":34,"hex_longitude":"2da14bc0","hex_latitude":"05c3c310","is_valid_coordinates":true} 
[2026-07-27 17:38:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:38:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999339520001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:38:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359134268959490048,"note":"Value kept but may cause issues"} 
[2026-07-27 17:38:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6820842348384159744,"note":"Value kept but may cause issues"} 
[2026-07-27 17:38:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:38:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785153682000,"timestamp_ms":1785153682000,"timestamp_seconds":1785153682,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3737a50"} 
[2026-07-27 17:38:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:38:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:38:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-27 17:38:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:38:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:38:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:38:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:38:14] local.INFO: Teltonika packet parsed successfully {"connection_id":143171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:38:14] local.INFO: Passing IMEI to GPS processor {"connection_id":143171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:38:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":143171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:38:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:38:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 17:38:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 17:38:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999339520001,"66":28006,"170":206,"83":16896,"24":34,"16":359134268959490048,"45":-6820842348384159744},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,83,24,16,45]} 
[2026-07-27 17:38:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 17:38:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 17:38:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999339520001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:38:14] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-07-27 17:38:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-27 17:38:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359134268959490048,"km_value":359134268959490.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:38:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6820842348384159744,"description":"Unknown IO ID 45"} 
[2026-07-27 17:38:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999339520001,"power":28006,"unknown_170":206,"unknown_83":16896,"ignition":34,"odometer":null,"unknown_45":-6820842348384159744}} 
[2026-07-27 17:38:14] local.INFO: DEBUG: GPS processor result {"connection_id":143171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:38:14] local.INFO: GPS data processed {"connection_id":143171,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:38:14] local.INFO: Acknowledgment sent {"connection_id":143171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:38:31] local.INFO: TCP Data received {"connection_id":143174,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:38:31] local.INFO: Processing buffer {"connection_id":143174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:38:31] local.INFO: IMEI packet received {"connection_id":143174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 17:38:31] local.INFO: IMEI acknowledgment sent {"connection_id":143174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:38:37] local.INFO: TCP Data received {"connection_id":143174,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:38:37] local.INFO: Processing buffer {"connection_id":143174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:38:37] local.INFO: IMEI packet received {"connection_id":143174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 17:38:37] local.INFO: IMEI acknowledgment sent {"connection_id":143174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:38:38] local.INFO: TCP Data received {"connection_id":143174,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa373a548012da139c005c3e330002a01492b..."} 
[2026-07-27 17:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143174,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa373a548012da139c005c3e330002a01492b..."} 
[2026-07-27 17:38:38] local.INFO: Processing buffer {"connection_id":143174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa373a548012da139c005c3e330002a01492b..."} 
[2026-07-27 17:38:38] local.INFO: Packet analysis {"connection_id":143174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa373"} 
[2026-07-27 17:38:38] local.INFO: Extracted packet for processing {"connection_id":143174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa373"} 
[2026-07-27 17:38:38] local.INFO: GPS Element Parsed {"raw_longitude":765540800,"raw_latitude":96723760,"longitude_deg":76.55408,"latitude_deg":9.672376,"altitude":42,"angle":329,"satellites":43,"speed":31,"hex_longitude":"2da139c0","hex_latitude":"05c3e330","is_valid_coordinates":true} 
[2026-07-27 17:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:38:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999342592001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:38:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359134728520990720,"note":"Value kept but may cause issues"} 
[2026-07-27 17:38:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6824149679358144512,"note":"Value kept but may cause issues"} 
[2026-07-27 17:38:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:38:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785153693000,"timestamp_ms":1785153693000,"timestamp_seconds":1785153693,"priority":1,"record_length":96,"hex_timestamp":"0000019fa373a548"} 
[2026-07-27 17:38:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:38:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-27 17:38:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:38:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:38:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:38:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:38:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:38:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:38:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:38:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:38:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 17:38:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 17:38:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999342592001,"66":27843,"170":206,"83":16896,"24":31,"16":359134728520990720,"45":-6824149679358144512},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,83,24,16,45]} 
[2026-07-27 17:38:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 17:38:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 17:38:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999342592001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:38:38] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-07-27 17:38:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-27 17:38:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359134728520990720,"km_value":359134728520990.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:38:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6824149679358144512,"description":"Unknown IO ID 45"} 
[2026-07-27 17:38:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999342592001,"power":27843,"unknown_170":206,"unknown_83":16896,"ignition":31,"odometer":null,"unknown_45":-6824149679358144512}} 
[2026-07-27 17:38:38] local.INFO: DEBUG: GPS processor result {"connection_id":143174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:38:38] local.INFO: GPS data processed {"connection_id":143174,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:38:38] local.INFO: Acknowledgment sent {"connection_id":143174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:38:42] local.INFO: TCP Data received {"connection_id":143172,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3793328012d19b800071fb140003b006f29..."} 
[2026-07-27 17:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143172,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3793328012d19b800071fb140003b006f29..."} 
[2026-07-27 17:38:42] local.INFO: Processing buffer {"connection_id":143172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3793328012d19b800071fb140003b006f29..."} 
[2026-07-27 17:38:42] local.INFO: Packet analysis {"connection_id":143172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa379"} 
[2026-07-27 17:38:42] local.INFO: Extracted packet for processing {"connection_id":143172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa379"} 
[2026-07-27 17:38:42] local.INFO: GPS Element Parsed {"raw_longitude":756660224,"raw_latitude":119517504,"longitude_deg":75.6660224,"latitude_deg":11.9517504,"altitude":59,"angle":111,"satellites":41,"speed":19,"hex_longitude":"2d19b800","hex_latitude":"071fb140","is_valid_coordinates":true} 
[2026-07-27 17:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:38:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999437824001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:38:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8946584381292544,"note":"Value kept but may cause issues"} 
[2026-07-27 17:38:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1851542427399206912,"note":"Value kept but may cause issues"} 
[2026-07-27 17:38:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:38:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785154057000,"timestamp_ms":1785154057000,"timestamp_seconds":1785154057,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3793328"} 
[2026-07-27 17:38:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:38:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-27 17:38:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:38:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:38:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:38:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:38:42] local.INFO: Teltonika packet parsed successfully {"connection_id":143172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:38:42] local.INFO: Passing IMEI to GPS processor {"connection_id":143172,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:38:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":143172,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:38:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:38:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:38:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:38:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999437824001,"66":14450,"121":206,"28":31744,"24":19,"16":8946584381292544,"45":1851542427399206912},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 17:38:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:38:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:38:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999437824001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:38:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 17:38:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:38:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8946584381292544,"km_value":8946584381292.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:38:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1851542427399206912,"description":"Unknown IO ID 45"} 
[2026-07-27 17:38:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999437824001,"power":14450,"unknown_121":206,"unknown_28":31744,"ignition":19,"odometer":null,"unknown_45":1851542427399206912}} 
[2026-07-27 17:38:42] local.INFO: DEBUG: GPS processor result {"connection_id":143172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554484,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:38:42] local.INFO: GPS data processed {"connection_id":143172,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:38:42] local.INFO: Acknowledgment sent {"connection_id":143172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:39:00] local.INFO: TCP Data received {"connection_id":145446,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145446,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:39:00] local.INFO: Processing buffer {"connection_id":145446,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:39:00] local.INFO: IMEI packet received {"connection_id":145446,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 17:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":145446,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:39:05] local.INFO: TCP Data received {"connection_id":145446,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145446,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:39:05] local.INFO: Processing buffer {"connection_id":145446,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:39:05] local.INFO: IMEI packet received {"connection_id":145446,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 17:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":145446,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:39:06] local.INFO: TCP Data received {"connection_id":145446,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3793ee0012d19bf80071fb0600038006228..."} 
[2026-07-27 17:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145446,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3793ee0012d19bf80071fb0600038006228..."} 
[2026-07-27 17:39:06] local.INFO: Processing buffer {"connection_id":145446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3793ee0012d19bf80071fb0600038006228..."} 
[2026-07-27 17:39:06] local.INFO: Packet analysis {"connection_id":145446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa379"} 
[2026-07-27 17:39:06] local.INFO: Extracted packet for processing {"connection_id":145446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa379"} 
[2026-07-27 17:39:06] local.INFO: GPS Element Parsed {"raw_longitude":756662144,"raw_latitude":119517280,"longitude_deg":75.6662144,"latitude_deg":11.951728,"altitude":56,"angle":98,"satellites":40,"speed":24,"hex_longitude":"2d19bf80","hex_latitude":"071fb060","is_valid_coordinates":true} 
[2026-07-27 17:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:39:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999438592001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:39:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8946674575605760,"note":"Value kept but may cause issues"} 
[2026-07-27 17:39:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853231277259440128,"note":"Value kept but may cause issues"} 
[2026-07-27 17:39:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:39:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785154060000,"timestamp_ms":1785154060000,"timestamp_seconds":1785154060,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3793ee0"} 
[2026-07-27 17:39:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:39:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-27 17:39:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:39:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:39:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:39:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:39:06] local.INFO: Teltonika packet parsed successfully {"connection_id":145446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:39:06] local.INFO: Passing IMEI to GPS processor {"connection_id":145446,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:39:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":145446,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:39:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:39:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:39:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:39:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999438592001,"66":14102,"121":206,"28":31744,"24":24,"16":8946674575605760,"45":1853231277259440128},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 17:39:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:39:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:39:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999438592001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:39:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 17:39:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:39:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8946674575605760,"km_value":8946674575605.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:39:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853231277259440128,"description":"Unknown IO ID 45"} 
[2026-07-27 17:39:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999438592001,"power":14102,"unknown_121":206,"unknown_28":31744,"ignition":24,"odometer":null,"unknown_45":1853231277259440128}} 
[2026-07-27 17:39:06] local.INFO: DEBUG: GPS processor result {"connection_id":145446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554485,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:39:06] local.INFO: GPS data processed {"connection_id":145446,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:39:06] local.INFO: Acknowledgment sent {"connection_id":145446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:39:09] local.INFO: TCP Data received {"connection_id":143174,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa373b4e8012da1340005c3eda8002c01502a..."} 
[2026-07-27 17:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143174,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa373b4e8012da1340005c3eda8002c01502a..."} 
[2026-07-27 17:39:09] local.INFO: Processing buffer {"connection_id":143174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa373b4e8012da1340005c3eda8002c01502a..."} 
[2026-07-27 17:39:09] local.INFO: Packet analysis {"connection_id":143174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa373"} 
[2026-07-27 17:39:09] local.INFO: Extracted packet for processing {"connection_id":143174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa373"} 
[2026-07-27 17:39:09] local.INFO: GPS Element Parsed {"raw_longitude":765539328,"raw_latitude":96726440,"longitude_deg":76.5539328,"latitude_deg":9.672644,"altitude":44,"angle":336,"satellites":42,"speed":26,"hex_longitude":"2da13400","hex_latitude":"05c3eda8","is_valid_coordinates":true} 
[2026-07-27 17:39:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:39:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999345408001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:39:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359134874549878784,"note":"Value kept but may cause issues"} 
[2026-07-27 17:39:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6829216228936830976,"note":"Value kept but may cause issues"} 
[2026-07-27 17:39:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:39:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785153697000,"timestamp_ms":1785153697000,"timestamp_seconds":1785153697,"priority":1,"record_length":96,"hex_timestamp":"0000019fa373b4e8"} 
[2026-07-27 17:39:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:39:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:39:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-27 17:39:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:39:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:39:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:39:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:39:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:39:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:39:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:39:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:39:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 17:39:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 17:39:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999345408001,"66":27745,"170":206,"83":16896,"24":26,"16":359134874549878784,"45":-6829216228936830976},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,83,24,16,45]} 
[2026-07-27 17:39:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 17:39:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 17:39:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999345408001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:39:09] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-07-27 17:39:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-27 17:39:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359134874549878784,"km_value":359134874549878.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:39:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6829216228936830976,"description":"Unknown IO ID 45"} 
[2026-07-27 17:39:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999345408001,"power":27745,"unknown_170":206,"unknown_83":16896,"ignition":26,"odometer":null,"unknown_45":-6829216228936830976}} 
[2026-07-27 17:39:09] local.INFO: DEBUG: GPS processor result {"connection_id":143174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:39:09] local.INFO: GPS data processed {"connection_id":143174,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:39:09] local.INFO: Acknowledgment sent {"connection_id":143174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:39:31] local.INFO: TCP Data received {"connection_id":144165,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:39:31] local.INFO: Processing buffer {"connection_id":144165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:39:31] local.INFO: IMEI packet received {"connection_id":144165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 17:39:31] local.INFO: IMEI acknowledgment sent {"connection_id":144165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:39:36] local.INFO: TCP Data received {"connection_id":144165,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:39:36] local.INFO: Processing buffer {"connection_id":144165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:39:36] local.INFO: IMEI packet received {"connection_id":144165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 17:39:36] local.INFO: IMEI acknowledgment sent {"connection_id":144165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:39:37] local.INFO: TCP Data received {"connection_id":145446,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3798148012d19e3c0071fb428002b005f2a..."} 
[2026-07-27 17:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145446,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3798148012d19e3c0071fb428002b005f2a..."} 
[2026-07-27 17:39:37] local.INFO: Processing buffer {"connection_id":145446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3798148012d19e3c0071fb428002b005f2a..."} 
[2026-07-27 17:39:37] local.INFO: Packet analysis {"connection_id":145446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa379"} 
[2026-07-27 17:39:37] local.INFO: Extracted packet for processing {"connection_id":145446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa379"} 
[2026-07-27 17:39:37] local.INFO: GPS Element Parsed {"raw_longitude":756671424,"raw_latitude":119518248,"longitude_deg":75.6671424,"latitude_deg":11.9518248,"altitude":43,"angle":95,"satellites":42,"speed":17,"hex_longitude":"2d19e3c0","hex_latitude":"071fb428","is_valid_coordinates":true} 
[2026-07-27 17:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999439360001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8947125547171840,"note":"Value kept but may cause issues"} 
[2026-07-27 17:39:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1855342339584712704,"note":"Value kept but may cause issues"} 
[2026-07-27 17:39:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785154077000,"timestamp_ms":1785154077000,"timestamp_seconds":1785154077,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3798148"} 
[2026-07-27 17:39:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:39:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-27 17:39:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:39:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:39:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:39:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145446,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145446,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:39:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999439360001,"66":13972,"121":206,"28":31744,"24":17,"16":8947125547171840,"45":1855342339584712704},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 17:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999439360001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:39:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 17:39:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:39:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8947125547171840,"km_value":8947125547171.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:39:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1855342339584712704,"description":"Unknown IO ID 45"} 
[2026-07-27 17:39:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999439360001,"power":13972,"unknown_121":206,"unknown_28":31744,"ignition":17,"odometer":null,"unknown_45":1855342339584712704}} 
[2026-07-27 17:39:37] local.INFO: TCP Data received {"connection_id":144165,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3785098012da12bc005c405e80031014e25..."} 
[2026-07-27 17:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144165,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3785098012da12bc005c405e80031014e25..."} 
[2026-07-27 17:39:37] local.INFO: Processing buffer {"connection_id":144165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3785098012da12bc005c405e80031014e25..."} 
[2026-07-27 17:39:37] local.INFO: Packet analysis {"connection_id":144165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa378"} 
[2026-07-27 17:39:37] local.INFO: Extracted packet for processing {"connection_id":144165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa378"} 
[2026-07-27 17:39:37] local.INFO: GPS Element Parsed {"raw_longitude":765537216,"raw_latitude":96732648,"longitude_deg":76.5537216,"latitude_deg":9.6732648,"altitude":49,"angle":334,"satellites":37,"speed":0,"hex_longitude":"2da12bc0","hex_latitude":"05c405e8","is_valid_coordinates":true} 
[2026-07-27 17:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999346432001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359134874549878784,"note":"Value kept but may cause issues"} 
[2026-07-27 17:39:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6830834710052231168,"note":"Value kept but may cause issues"} 
[2026-07-27 17:39:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785153999000,"timestamp_ms":1785153999000,"timestamp_seconds":1785153999,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3785098"} 
[2026-07-27 17:39:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:39:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 17:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-27 17:39:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:39:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:39:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:39:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:39:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 17:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 17:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999346432001,"66":26408,"72":206,"83":16896,"24":0,"16":359134874549878784,"45":-6830834710052231168},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,83,24,16,45]} 
[2026-07-27 17:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 17:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 17:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999346432001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:39:37] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-07-27 17:39:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-27 17:39:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359134874549878784,"km_value":359134874549878.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:39:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6830834710052231168,"description":"Unknown IO ID 45"} 
[2026-07-27 17:39:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999346432001,"power":26408,"unknown_72":206,"unknown_83":16896,"ignition":0,"odometer":null,"unknown_45":-6830834710052231168}} 
[2026-07-27 17:39:37] local.INFO: DEBUG: GPS processor result {"connection_id":144165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:39:37] local.INFO: GPS data processed {"connection_id":144165,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:39:37] local.INFO: Acknowledgment sent {"connection_id":144165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:39:38] local.INFO: DEBUG: GPS processor result {"connection_id":145446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554488,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:39:38] local.INFO: GPS data processed {"connection_id":145446,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:39:38] local.INFO: Acknowledgment sent {"connection_id":145446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:39:59] local.INFO: TCP Data received {"connection_id":143175,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143175,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:39:59] local.INFO: Processing buffer {"connection_id":143175,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:39:59] local.INFO: IMEI packet received {"connection_id":143175,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 17:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":143175,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:40:02] local.INFO: TCP Data received {"connection_id":143175,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143175,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:40:02] local.INFO: Processing buffer {"connection_id":143175,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:40:02] local.INFO: IMEI packet received {"connection_id":143175,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 17:40:02] local.INFO: IMEI acknowledgment sent {"connection_id":143175,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:40:03] local.INFO: TCP Data received {"connection_id":143175,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143175,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:40:03] local.INFO: Processing buffer {"connection_id":143175,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:40:03] local.INFO: IMEI packet received {"connection_id":143175,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 17:40:03] local.INFO: IMEI acknowledgment sent {"connection_id":143175,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:40:05] local.INFO: TCP Data received {"connection_id":143175,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa37abdb0012d1a08c0071fd0d0002e003e2a..."} 
[2026-07-27 17:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa37abdb0012d1a08c0071fd0d0002e003e2a..."} 
[2026-07-27 17:40:05] local.INFO: Processing buffer {"connection_id":143175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa37abdb0012d1a08c0071fd0d0002e003e2a..."} 
[2026-07-27 17:40:05] local.INFO: Packet analysis {"connection_id":143175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa37a"} 
[2026-07-27 17:40:05] local.INFO: Extracted packet for processing {"connection_id":143175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa37a"} 
[2026-07-27 17:40:05] local.INFO: GPS Element Parsed {"raw_longitude":756680896,"raw_latitude":119525584,"longitude_deg":75.6680896,"latitude_deg":11.9525584,"altitude":46,"angle":62,"satellites":42,"speed":2,"hex_longitude":"2d1a08c0","hex_latitude":"071fd0d0","is_valid_coordinates":true} 
[2026-07-27 17:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:40:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999462400001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:40:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8947817036906496,"note":"Value kept but may cause issues"} 
[2026-07-27 17:40:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1875819644142522368,"note":"Value kept but may cause issues"} 
[2026-07-27 17:40:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:40:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785154158000,"timestamp_ms":1785154158000,"timestamp_seconds":1785154158,"priority":1,"record_length":96,"hex_timestamp":"0000019fa37abdb0"} 
[2026-07-27 17:40:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:40:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-07-27 17:40:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44499434867793865,"note":"Value kept but may cause issues"} 
[2026-07-27 17:40:05] local.WARNING: Large IO value detected {"io_id":201,"raw_value":3976200192,"note":"Value kept but may cause issues"} 
[2026-07-27 17:40:05] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2742685160,"note":"Value kept but may cause issues"} 
[2026-07-27 17:40:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-27 17:40:05] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-27 17:40:05] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3386441728,"note":"Value kept but may cause issues"} 
[2026-07-27 17:40:05] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18636889608021881,"note":"Value kept but may cause issues"} 
[2026-07-27 17:40:05] local.WARNING: Large IO value detected {"io_id":21,"raw_value":3087084826,"note":"Value kept but may cause issues"} 
[2026-07-27 17:40:05] local.WARNING: Large IO value detected {"io_id":54,"raw_value":-3890883683996873188,"note":"Value kept but may cause issues"} 
[2026-07-27 17:40:05] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472039641104,"note":"Value kept but may cause issues"} 
[2026-07-27 17:40:05] local.WARNING: Large IO value detected {"io_id":25,"raw_value":-216164949250015191,"note":"Value kept but may cause issues"} 
[2026-07-27 17:40:05] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755429505958129,"note":"Value kept but may cause issues"} 
[2026-07-27 17:40:05] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,121,28,24,241,158,16,201,159,76,45,205,43,10,66,72,192,204,68,128,1,240,163,31,4,113,6,21,7,239,54,2,44,25,124],"length":577,"final_offset":707,"validated_count":35,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-07-27 17:40:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3242606201451577344,"timestamp_seconds":3242606201451577.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 17:40:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:40:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:40:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:40:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143175,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:40:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143175,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:40:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:40:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:40:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:40:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999462400001,"66":14004,"121":206,"28":31744,"24":2,"16":8947817036906496,"45":1875819644142522368},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 17:40:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:40:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:40:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999462400001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:40:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 17:40:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:40:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8947817036906496,"km_value":8947817036906.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:40:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1875819644142522368,"description":"Unknown IO ID 45"} 
[2026-07-27 17:40:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999462400001,"power":14004,"unknown_121":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1875819644142522368}} 
[2026-07-27 17:40:05] local.INFO: DEBUG: GPS processor result {"connection_id":143175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554489,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:40:05] local.INFO: GPS data processed {"connection_id":143175,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:40:05] local.INFO: Acknowledgment sent {"connection_id":143175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:40:08] local.INFO: TCP Data received {"connection_id":143175,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa37ad138012d1a0b80071fd200002e004c2a..."} 
[2026-07-27 17:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa37ad138012d1a0b80071fd200002e004c2a..."} 
[2026-07-27 17:40:08] local.INFO: Processing buffer {"connection_id":143175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa37ad138012d1a0b80071fd200002e004c2a..."} 
[2026-07-27 17:40:08] local.INFO: Packet analysis {"connection_id":143175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa37a"} 
[2026-07-27 17:40:08] local.INFO: Extracted packet for processing {"connection_id":143175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa37a"} 
[2026-07-27 17:40:08] local.INFO: GPS Element Parsed {"raw_longitude":756681600,"raw_latitude":119525888,"longitude_deg":75.66816,"latitude_deg":11.9525888,"altitude":46,"angle":76,"satellites":42,"speed":7,"hex_longitude":"2d1a0b80","hex_latitude":"071fd200","is_valid_coordinates":true} 
[2026-07-27 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-07-27 17:40:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999464448001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:40:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8947855691612160,"note":"Value kept but may cause issues"} 
[2026-07-27 17:40:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1875960381630894080,"note":"Value kept but may cause issues"} 
[2026-07-27 17:40:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:40:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785154163000,"timestamp_ms":1785154163000,"timestamp_seconds":1785154163,"priority":1,"record_length":96,"hex_timestamp":"0000019fa37ad138"} 
[2026-07-27 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-07-27 17:40:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-07-27 17:40:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 17:40:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:40:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:40:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143175,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:40:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143175,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:40:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:40:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:40:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:40:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999464448001,"66":13961,"121":206,"28":31744,"24":7,"16":8947855691612160,"45":1875960381630894080},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 17:40:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:40:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:40:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999464448001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:40:08] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 17:40:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:40:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8947855691612160,"km_value":8947855691612.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:40:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1875960381630894080,"description":"Unknown IO ID 45"} 
[2026-07-27 17:40:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999464448001,"power":13961,"unknown_121":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1875960381630894080}} 
[2026-07-27 17:40:08] local.INFO: DEBUG: GPS processor result {"connection_id":143175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554490,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:40:08] local.INFO: GPS data processed {"connection_id":143175,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:40:08] local.INFO: Acknowledgment sent {"connection_id":143175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:40:09] local.INFO: TCP Data received {"connection_id":144165,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa379cb80012da12bc005c405e80031014e26..."} 
[2026-07-27 17:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144165,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa379cb80012da12bc005c405e80031014e26..."} 
[2026-07-27 17:40:09] local.INFO: Processing buffer {"connection_id":144165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa379cb80012da12bc005c405e80031014e26..."} 
[2026-07-27 17:40:09] local.INFO: Packet analysis {"connection_id":144165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa379"} 
[2026-07-27 17:40:09] local.INFO: Extracted packet for processing {"connection_id":144165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa379"} 
[2026-07-27 17:40:09] local.INFO: GPS Element Parsed {"raw_longitude":765537216,"raw_latitude":96732648,"longitude_deg":76.5537216,"latitude_deg":9.6732648,"altitude":49,"angle":334,"satellites":38,"speed":0,"hex_longitude":"2da12bc0","hex_latitude":"05c405e8","is_valid_coordinates":true} 
[2026-07-27 17:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:40:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999423744001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:40:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359134874549878784,"note":"Value kept but may cause issues"} 
[2026-07-27 17:40:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6833156878608504832,"note":"Value kept but may cause issues"} 
[2026-07-27 17:40:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:40:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785154096000,"timestamp_ms":1785154096000,"timestamp_seconds":1785154096,"priority":1,"record_length":96,"hex_timestamp":"0000019fa379cb80"} 
[2026-07-27 17:40:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:40:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 17: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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-07-27 17:40:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:40:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:40:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:40:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:40:09] local.INFO: Teltonika packet parsed successfully {"connection_id":144165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:40:09] local.INFO: Passing IMEI to GPS processor {"connection_id":144165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:40:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":144165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:40:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:40:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 17:40:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 17:40:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999423744001,"66":26267,"72":206,"83":16896,"24":0,"16":359134874549878784,"45":-6833156878608504832},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,83,24,16,45]} 
[2026-07-27 17:40:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 17:40:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 17:40:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999423744001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:40:09] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-07-27 17:40:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-27 17:40:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359134874549878784,"km_value":359134874549878.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:40:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6833156878608504832,"description":"Unknown IO ID 45"} 
[2026-07-27 17:40:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999423744001,"power":26267,"unknown_72":206,"unknown_83":16896,"ignition":0,"odometer":null,"unknown_45":-6833156878608504832}} 
[2026-07-27 17:40:09] local.INFO: DEBUG: GPS processor result {"connection_id":144165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:40:09] local.INFO: GPS data processed {"connection_id":144165,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:40:09] local.INFO: Acknowledgment sent {"connection_id":144165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:40:14] local.INFO: TCP Data received {"connection_id":143030,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143030,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:40:14] local.INFO: Processing buffer {"connection_id":143030,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:40:14] local.INFO: IMEI packet received {"connection_id":143030,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 17:40:14] local.INFO: IMEI acknowledgment sent {"connection_id":143030,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:40:14] local.INFO: TCP Data received {"connection_id":143030,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa37aaa28012d81c3c005da75480008004a2b..."} 
[2026-07-27 17:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa37aaa28012d81c3c005da75480008004a2b..."} 
[2026-07-27 17:40:14] local.INFO: Processing buffer {"connection_id":143030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa37aaa28012d81c3c005da75480008004a2b..."} 
[2026-07-27 17:40:14] local.INFO: Packet analysis {"connection_id":143030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa37a"} 
[2026-07-27 17:40:14] local.INFO: Extracted packet for processing {"connection_id":143030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa37a"} 
[2026-07-27 17:40:14] local.INFO: GPS Element Parsed {"raw_longitude":763478976,"raw_latitude":98202952,"longitude_deg":76.3478976,"latitude_deg":9.8202952,"altitude":8,"angle":74,"satellites":43,"speed":32,"hex_longitude":"2d81c3c0","hex_latitude":"05da7548","is_valid_coordinates":true} 
[2026-07-27 17:40:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:40:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999462656001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:40:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111722312801189888,"note":"Value kept but may cause issues"} 
[2026-07-27 17:40:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9097974909590304768,"note":"Value kept but may cause issues"} 
[2026-07-27 17:40:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:40:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785154153000,"timestamp_ms":1785154153000,"timestamp_seconds":1785154153,"priority":1,"record_length":96,"hex_timestamp":"0000019fa37aaa28"} 
[2026-07-27 17:40:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:40:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:40:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-07-27 17:40:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1114,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:40:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:40:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:40:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:40:14] local.INFO: Teltonika packet parsed successfully {"connection_id":143030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:40:14] local.INFO: Passing IMEI to GPS processor {"connection_id":143030,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:40:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":143030,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:40:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:40:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 17:40:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 17:40:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999462656001,"66":12874,"153":206,"85":15104,"24":32,"16":111722312801189888,"45":-9097974909590304768},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,85,24,16,45]} 
[2026-07-27 17:40:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 17:40:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 17:40:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999462656001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:40:14] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-27 17:40:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 17:40:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111722312801189888,"km_value":111722312801189.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:40:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9097974909590304768,"description":"Unknown IO ID 45"} 
[2026-07-27 17:40:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999462656001,"power":12874,"unknown_153":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":-9097974909590304768}} 
[2026-07-27 17:40:14] local.INFO: DEBUG: GPS processor result {"connection_id":143030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554492,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:40:14] local.INFO: GPS data processed {"connection_id":143030,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:40:14] local.INFO: Acknowledgment sent {"connection_id":143030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:40:31] local.INFO: TCP Data received {"connection_id":145447,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:40:31] local.INFO: Processing buffer {"connection_id":145447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:40:31] local.INFO: IMEI packet received {"connection_id":145447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 17:40:31] local.INFO: IMEI acknowledgment sent {"connection_id":145447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:40:37] local.INFO: TCP Data received {"connection_id":145447,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:40:37] local.INFO: Processing buffer {"connection_id":145447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:40:37] local.INFO: IMEI packet received {"connection_id":145447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 17:40:37] local.INFO: IMEI acknowledgment sent {"connection_id":145447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:40:38] local.INFO: TCP Data received {"connection_id":145447,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa37b0bd0012da1274005c40b400031000d2d..."} 
[2026-07-27 17:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa37b0bd0012da1274005c40b400031000d2d..."} 
[2026-07-27 17:40:38] local.INFO: Processing buffer {"connection_id":145447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa37b0bd0012da1274005c40b400031000d2d..."} 
[2026-07-27 17:40:38] local.INFO: Packet analysis {"connection_id":145447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa37b"} 
[2026-07-27 17:40:38] local.INFO: Extracted packet for processing {"connection_id":145447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa37b"} 
[2026-07-27 17:40:38] local.INFO: GPS Element Parsed {"raw_longitude":765536064,"raw_latitude":96734016,"longitude_deg":76.5536064,"latitude_deg":9.6734016,"altitude":49,"angle":13,"satellites":45,"speed":7,"hex_longitude":"2da12740","hex_latitude":"05c40b40","is_valid_coordinates":true} 
[2026-07-27 17:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:40:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999469312001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:40:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359134951859290112,"note":"Value kept but may cause issues"} 
[2026-07-27 17:40:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6834423516003401728,"note":"Value kept but may cause issues"} 
[2026-07-27 17:40:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:40:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785154178000,"timestamp_ms":1785154178000,"timestamp_seconds":1785154178,"priority":1,"record_length":96,"hex_timestamp":"0000019fa37b0bd0"} 
[2026-07-27 17:40:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:40:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-27 17:40:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:40:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:40:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:40:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:40:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:40:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:40:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:40:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:40:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 17:40:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 17:40:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999469312001,"66":28017,"72":206,"83":16896,"24":7,"16":359134951859290112,"45":-6834423516003401728},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,83,24,16,45]} 
[2026-07-27 17:40:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 17:40:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 17:40:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999469312001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:40:38] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-07-27 17:40:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-27 17:40:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359134951859290112,"km_value":359134951859290.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:40:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6834423516003401728,"description":"Unknown IO ID 45"} 
[2026-07-27 17:40:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999469312001,"power":28017,"unknown_72":206,"unknown_83":16896,"ignition":7,"odometer":null,"unknown_45":-6834423516003401728}} 
[2026-07-27 17:40:38] local.INFO: DEBUG: GPS processor result {"connection_id":145447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:40:38] local.INFO: GPS data processed {"connection_id":145447,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:40:38] local.INFO: Acknowledgment sent {"connection_id":145447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:40:40] local.INFO: TCP Data received {"connection_id":143175,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa37ad908012d1a0d00071fd248002e005c29..."} 
[2026-07-27 17:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa37ad908012d1a0d00071fd248002e005c29..."} 
[2026-07-27 17:40:40] local.INFO: Processing buffer {"connection_id":143175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa37ad908012d1a0d00071fd248002e005c29..."} 
[2026-07-27 17:40:40] local.INFO: Packet analysis {"connection_id":143175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa37a"} 
[2026-07-27 17:40:40] local.INFO: Extracted packet for processing {"connection_id":143175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa37a"} 
[2026-07-27 17:40:40] local.INFO: GPS Element Parsed {"raw_longitude":756681984,"raw_latitude":119525960,"longitude_deg":75.6681984,"latitude_deg":11.952596,"altitude":46,"angle":92,"satellites":41,"speed":9,"hex_longitude":"2d1a0d00","hex_latitude":"071fd248","is_valid_coordinates":true} 
[2026-07-27 17: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-07-27 17:40:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999465728001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:40:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8947872871481344,"note":"Value kept but may cause issues"} 
[2026-07-27 17:40:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1876734437816926208,"note":"Value kept but may cause issues"} 
[2026-07-27 17:40:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:40:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785154165000,"timestamp_ms":1785154165000,"timestamp_seconds":1785154165,"priority":1,"record_length":96,"hex_timestamp":"0000019fa37ad908"} 
[2026-07-27 17:40:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:40:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-07-27 17:40:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17: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-07-27 17:40:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:40:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:40:40] local.INFO: Teltonika packet parsed successfully {"connection_id":143175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:40:40] local.INFO: Passing IMEI to GPS processor {"connection_id":143175,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:40:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":143175,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:40:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:40:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:40:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:40:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999465728001,"66":13830,"121":206,"28":31744,"24":9,"16":8947872871481344,"45":1876734437816926208},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 17:40:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:40:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:40:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999465728001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:40:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 17:40:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:40:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8947872871481344,"km_value":8947872871481.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:40:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1876734437816926208,"description":"Unknown IO ID 45"} 
[2026-07-27 17:40:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999465728001,"power":13830,"unknown_121":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1876734437816926208}} 
[2026-07-27 17:40:40] local.INFO: DEBUG: GPS processor result {"connection_id":143175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554494,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:40:40] local.INFO: GPS data processed {"connection_id":143175,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:40:40] local.INFO: Acknowledgment sent {"connection_id":143175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:40:46] local.INFO: TCP Data received {"connection_id":143030,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa37bb3c8012d82438005d9f5d0000500ab2b..."} 
[2026-07-27 17:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa37bb3c8012d82438005d9f5d0000500ab2b..."} 
[2026-07-27 17:40:46] local.INFO: Processing buffer {"connection_id":143030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa37bb3c8012d82438005d9f5d0000500ab2b..."} 
[2026-07-27 17:40:46] local.INFO: Packet analysis {"connection_id":143030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa37b"} 
[2026-07-27 17:40:46] local.INFO: Extracted packet for processing {"connection_id":143030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa37b"} 
[2026-07-27 17:40:46] local.INFO: GPS Element Parsed {"raw_longitude":763511680,"raw_latitude":98170320,"longitude_deg":76.351168,"latitude_deg":9.817032,"altitude":5,"angle":171,"satellites":43,"speed":38,"hex_longitude":"2d824380","hex_latitude":"05d9f5d0","is_valid_coordinates":true} 
[2026-07-27 17:40:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:40:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999478272001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:40:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111725426652479488,"note":"Value kept but may cause issues"} 
[2026-07-27 17:40:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9061946112577212416,"note":"Value kept but may cause issues"} 
[2026-07-27 17:40:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:40:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785154221000,"timestamp_ms":1785154221000,"timestamp_seconds":1785154221,"priority":1,"record_length":96,"hex_timestamp":"0000019fa37bb3c8"} 
[2026-07-27 17:40:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:40:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:40:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-27 17:40:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2094,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:40:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:40:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:40:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:40:46] local.INFO: Teltonika packet parsed successfully {"connection_id":143030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:40:46] local.INFO: Passing IMEI to GPS processor {"connection_id":143030,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:40:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":143030,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:40:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:40:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 17:40:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 17:40:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999478272001,"66":12765,"71":206,"85":15104,"24":38,"16":111725426652479488,"45":-9061946112577212416},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-07-27 17:40:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 17:40:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 17:40:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999478272001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:40:46] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-27 17:40:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 17:40:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111725426652479488,"km_value":111725426652479.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:40:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9061946112577212416,"description":"Unknown IO ID 45"} 
[2026-07-27 17:40:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999478272001,"power":12765,"unknown_71":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":-9061946112577212416}} 
[2026-07-27 17:40:46] local.INFO: DEBUG: GPS processor result {"connection_id":143030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554495,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:40:46] local.INFO: GPS data processed {"connection_id":143030,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:40:46] local.INFO: Acknowledgment sent {"connection_id":143030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:40:59] local.INFO: TCP Data received {"connection_id":143176,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143176,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:40:59] local.INFO: Processing buffer {"connection_id":143176,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:40:59] local.INFO: IMEI packet received {"connection_id":143176,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 17:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":143176,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:41:04] local.INFO: TCP Data received {"connection_id":143176,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143176,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:41:04] local.INFO: Processing buffer {"connection_id":143176,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:41:04] local.INFO: IMEI packet received {"connection_id":143176,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 17:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":143176,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:41:05] local.INFO: TCP Data received {"connection_id":143176,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa37ae4c0012d1a0f40071fd250002e004827..."} 
[2026-07-27 17:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143176,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa37ae4c0012d1a0f40071fd250002e004827..."} 
[2026-07-27 17:41:05] local.INFO: Processing buffer {"connection_id":143176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa37ae4c0012d1a0f40071fd250002e004827..."} 
[2026-07-27 17:41:05] local.INFO: Packet analysis {"connection_id":143176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa37a"} 
[2026-07-27 17:41:05] local.INFO: Extracted packet for processing {"connection_id":143176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa37a"} 
[2026-07-27 17:41:05] local.INFO: GPS Element Parsed {"raw_longitude":756682560,"raw_latitude":119525968,"longitude_deg":75.668256,"latitude_deg":11.9525968,"altitude":46,"angle":72,"satellites":39,"speed":5,"hex_longitude":"2d1a0f40","hex_latitude":"071fd250","is_valid_coordinates":true} 
[2026-07-27 17:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:41:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999466240001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:41:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8947902936252416,"note":"Value kept but may cause issues"} 
[2026-07-27 17:41:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1877156650282010624,"note":"Value kept but may cause issues"} 
[2026-07-27 17:41:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:41:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785154168000,"timestamp_ms":1785154168000,"timestamp_seconds":1785154168,"priority":1,"record_length":96,"hex_timestamp":"0000019fa37ae4c0"} 
[2026-07-27 17:41:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:41:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-07-27 17:41:05] local.WARNING: Large IO value detected {"io_id":24,"raw_value":1970333442703360,"note":"Value kept but may cause issues"} 
[2026-07-27 17:41:05] local.WARNING: Large IO value detected {"io_id":158,"raw_value":1729399849629641984,"note":"Value kept but may cause issues"} 
[2026-07-27 17:41:05] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":-6917481742967570426,"corrected_to":0} 
[2026-07-27 17:41:05] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2742699160,"note":"Value kept but may cause issues"} 
[2026-07-27 17:41:05] local.WARNING: Large IO value detected {"io_id":201,"raw_value":4244635648,"note":"Value kept but may cause issues"} 
[2026-07-27 17:41:05] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3387883520,"note":"Value kept but may cause issues"} 
[2026-07-27 17:41:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-27 17:41:05] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3221692364,"note":"Value kept but may cause issues"} 
[2026-07-27 17:41:05] local.WARNING: Large IO value detected {"io_id":72,"raw_value":2147560730,"note":"Value kept but may cause issues"} 
[2026-07-27 17:41:05] local.WARNING: Large IO value detected {"io_id":54,"raw_value":3019951591,"note":"Value kept but may cause issues"} 
[2026-07-27 17:41:05] local.WARNING: Large IO value detected {"io_id":60,"raw_value":-4034894201362577633,"note":"Value kept but may cause issues"} 
[2026-07-27 17:41:05] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,121,28,24,241,158,16,202,159,209,45,128,210,46,42,10,66,189,192,208,201,64,1,240,12,163,31,4,113,205,5,72,152,43,239,54,2,7,60],"length":528,"final_offset":658,"validated_count":39,"validation_warnings":[{"io_id":202,"original":-6917481742967570426,"validated":0},{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-07-27 17:41:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3314750656908689408,"timestamp_seconds":3314750656908689.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 17:41:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:41:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:41:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:41:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143176,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:41:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143176,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:41:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:41:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:41:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:41:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999466240001,"66":14048,"121":206,"28":31744,"24":5,"16":8947902936252416,"45":1877156650282010624},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 17:41:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:41:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:41:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999466240001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:41:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 17:41:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:41:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8947902936252416,"km_value":8947902936252.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:41:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1877156650282010624,"description":"Unknown IO ID 45"} 
[2026-07-27 17:41:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999466240001,"power":14048,"unknown_121":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1877156650282010624}} 
[2026-07-27 17:41:05] local.INFO: DEBUG: GPS processor result {"connection_id":143176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554496,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:41:05] local.INFO: GPS data processed {"connection_id":143176,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:41:05] local.INFO: Acknowledgment sent {"connection_id":143176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:41:08] local.INFO: TCP Data received {"connection_id":143031,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143031,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:41:08] local.INFO: Processing buffer {"connection_id":143031,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:41:08] local.INFO: IMEI packet received {"connection_id":143031,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 17:41:08] local.INFO: IMEI acknowledgment sent {"connection_id":143031,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:41:08] local.INFO: TCP Data received {"connection_id":145447,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa37b0fb8012da1278005c40bf8003100212c..."} 
[2026-07-27 17:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa37b0fb8012da1278005c40bf8003100212c..."} 
[2026-07-27 17:41:08] local.INFO: Processing buffer {"connection_id":145447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa37b0fb8012da1278005c40bf8003100212c..."} 
[2026-07-27 17:41:08] local.INFO: Packet analysis {"connection_id":145447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa37b"} 
[2026-07-27 17:41:08] local.INFO: Extracted packet for processing {"connection_id":145447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa37b"} 
[2026-07-27 17:41:08] local.INFO: GPS Element Parsed {"raw_longitude":765536128,"raw_latitude":96734200,"longitude_deg":76.5536128,"latitude_deg":9.67342,"altitude":49,"angle":33,"satellites":44,"speed":7,"hex_longitude":"2da12780","hex_latitude":"05c40bf8","is_valid_coordinates":true} 
[2026-07-27 17:41:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:41:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999469568001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:41:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359134960449224704,"note":"Value kept but may cause issues"} 
[2026-07-27 17:41:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6834423516003352576,"note":"Value kept but may cause issues"} 
[2026-07-27 17:41:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:41:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785154179000,"timestamp_ms":1785154179000,"timestamp_seconds":1785154179,"priority":1,"record_length":96,"hex_timestamp":"0000019fa37b0fb8"} 
[2026-07-27 17:41:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:41:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":109,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-27 17:41:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1760,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:41:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:41:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:41:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:41:08] local.INFO: Teltonika packet parsed successfully {"connection_id":145447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:41:08] local.INFO: Passing IMEI to GPS processor {"connection_id":145447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:41:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":145447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:41:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:41:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 17:41:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 17:41:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999469568001,"66":28017,"72":206,"83":16896,"24":7,"16":359134960449224704,"45":-6834423516003352576},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,83,24,16,45]} 
[2026-07-27 17:41:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 17:41:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 17:41:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999469568001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:41:08] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-07-27 17:41:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-27 17:41:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359134960449224704,"km_value":359134960449224.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:41:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6834423516003352576,"description":"Unknown IO ID 45"} 
[2026-07-27 17:41:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999469568001,"power":28017,"unknown_72":206,"unknown_83":16896,"ignition":7,"odometer":null,"unknown_45":-6834423516003352576}} 
[2026-07-27 17:41:08] local.INFO: DEBUG: GPS processor result {"connection_id":145447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:41:08] local.INFO: GPS data processed {"connection_id":145447,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:41:08] local.INFO: Acknowledgment sent {"connection_id":145447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:41:09] local.INFO: TCP Data received {"connection_id":143031,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143031,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:41:09] local.INFO: Processing buffer {"connection_id":143031,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:41:09] local.INFO: IMEI packet received {"connection_id":143031,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 17:41:09] local.INFO: IMEI acknowledgment sent {"connection_id":143031,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:41:13] local.INFO: TCP Data received {"connection_id":143031,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143031,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:41:13] local.INFO: Processing buffer {"connection_id":143031,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:41:13] local.INFO: IMEI packet received {"connection_id":143031,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 17:41:13] local.INFO: IMEI acknowledgment sent {"connection_id":143031,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:41:13] local.INFO: TCP Data received {"connection_id":143031,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa37bdad8012d82488005d9d5480007009d2b..."} 
[2026-07-27 17:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa37bdad8012d82488005d9d5480007009d2b..."} 
[2026-07-27 17:41:13] local.INFO: Processing buffer {"connection_id":143031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa37bdad8012d82488005d9d5480007009d2b..."} 
[2026-07-27 17:41:13] local.INFO: Packet analysis {"connection_id":143031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa37b"} 
[2026-07-27 17:41:13] local.INFO: Extracted packet for processing {"connection_id":143031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa37b"} 
[2026-07-27 17:41:13] local.INFO: GPS Element Parsed {"raw_longitude":763512960,"raw_latitude":98161992,"longitude_deg":76.351296,"latitude_deg":9.8161992,"altitude":7,"angle":157,"satellites":43,"speed":21,"hex_longitude":"2d824880","hex_latitude":"05d9d548","is_valid_coordinates":true} 
[2026-07-27 17: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-07-27 17:41:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999480576001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:41:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111725834674372608,"note":"Value kept but may cause issues"} 
[2026-07-27 17:41:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9060257262719348736,"note":"Value kept but may cause issues"} 
[2026-07-27 17:41:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:41:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785154231000,"timestamp_ms":1785154231000,"timestamp_seconds":1785154231,"priority":1,"record_length":96,"hex_timestamp":"0000019fa37bdad8"} 
[2026-07-27 17:41:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:41:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-27 17:41:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17: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-07-27 17:41:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:41:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:41:13] local.INFO: Teltonika packet parsed successfully {"connection_id":143031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:41:13] local.INFO: Passing IMEI to GPS processor {"connection_id":143031,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:41:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":143031,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:41:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:41:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 17:41:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 17:41:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999480576001,"66":12200,"71":206,"85":15104,"24":21,"16":111725834674372608,"45":-9060257262719348736},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-07-27 17:41:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 17:41:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 17:41:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999480576001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:41:13] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-27 17:41:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 17:41:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111725834674372608,"km_value":111725834674372.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:41:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9060257262719348736,"description":"Unknown IO ID 45"} 
[2026-07-27 17:41:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999480576001,"power":12200,"unknown_71":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":-9060257262719348736}} 
[2026-07-27 17:41:13] local.INFO: DEBUG: GPS processor result {"connection_id":143031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554498,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:41:13] local.INFO: GPS data processed {"connection_id":143031,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:41:13] local.INFO: Acknowledgment sent {"connection_id":143031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:41:37] local.INFO: TCP Data received {"connection_id":143032,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:41:37] local.INFO: Processing buffer {"connection_id":143032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:41:37] local.INFO: IMEI packet received {"connection_id":143032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 17:41:37] local.INFO: IMEI acknowledgment sent {"connection_id":143032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:41:37] local.INFO: TCP Data received {"connection_id":143176,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa37ae8a8012d1a0fc0071fd2a8002e002827..."} 
[2026-07-27 17:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143176,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa37ae8a8012d1a0fc0071fd2a8002e002827..."} 
[2026-07-27 17:41:37] local.INFO: Processing buffer {"connection_id":143176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa37ae8a8012d1a0fc0071fd2a8002e002827..."} 
[2026-07-27 17:41:37] local.INFO: Packet analysis {"connection_id":143176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa37a"} 
[2026-07-27 17:41:37] local.INFO: Extracted packet for processing {"connection_id":143176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa37a"} 
[2026-07-27 17:41:37] local.INFO: GPS Element Parsed {"raw_longitude":756682688,"raw_latitude":119526056,"longitude_deg":75.6682688,"latitude_deg":11.9526056,"altitude":46,"angle":40,"satellites":39,"speed":4,"hex_longitude":"2d1a0fc0","hex_latitude":"071fd2a8","is_valid_coordinates":true} 
[2026-07-27 17:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:41:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999467008001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:41:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8947907231219712,"note":"Value kept but may cause issues"} 
[2026-07-27 17:41:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1877789968979611648,"note":"Value kept but may cause issues"} 
[2026-07-27 17:41:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:41:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785154169000,"timestamp_ms":1785154169000,"timestamp_seconds":1785154169,"priority":1,"record_length":96,"hex_timestamp":"0000019fa37ae8a8"} 
[2026-07-27 17:41:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:41:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-07-27 17:41:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:41:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:41:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:41:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:41:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:41:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143176,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:41:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143176,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:41:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:41:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:41:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:41:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999467008001,"66":14048,"121":206,"28":31744,"24":4,"16":8947907231219712,"45":1877789968979611648},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 17:41:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:41:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:41:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999467008001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:41:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 17:41:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:41:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8947907231219712,"km_value":8947907231219.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:41:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1877789968979611648,"description":"Unknown IO ID 45"} 
[2026-07-27 17:41:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999467008001,"power":14048,"unknown_121":206,"unknown_28":31744,"ignition":4,"odometer":null,"unknown_45":1877789968979611648}} 
[2026-07-27 17:41:37] local.INFO: DEBUG: GPS processor result {"connection_id":143176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554499,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:41:37] local.INFO: GPS data processed {"connection_id":143176,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:41:37] local.INFO: Acknowledgment sent {"connection_id":143176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:41:41] local.INFO: TCP Data received {"connection_id":143032,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:41:41] local.INFO: Processing buffer {"connection_id":143032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:41:41] local.INFO: IMEI packet received {"connection_id":143032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 17:41:41] local.INFO: IMEI acknowledgment sent {"connection_id":143032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:41:42] local.INFO: TCP Data received {"connection_id":143032,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa37b13a0012da1280005c40c88003200312d..."} 
[2026-07-27 17:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa37b13a0012da1280005c40c88003200312d..."} 
[2026-07-27 17:41:42] local.INFO: Processing buffer {"connection_id":143032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa37b13a0012da1280005c40c88003200312d..."} 
[2026-07-27 17:41:42] local.INFO: Packet analysis {"connection_id":143032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa37b"} 
[2026-07-27 17:41:42] local.INFO: Extracted packet for processing {"connection_id":143032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa37b"} 
[2026-07-27 17:41:42] local.INFO: GPS Element Parsed {"raw_longitude":765536256,"raw_latitude":96734344,"longitude_deg":76.5536256,"latitude_deg":9.6734344,"altitude":50,"angle":49,"satellites":45,"speed":7,"hex_longitude":"2da12800","hex_latitude":"05c40c88","is_valid_coordinates":true} 
[2026-07-27 17:41:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:41:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999469824001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:41:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359134969039159296,"note":"Value kept but may cause issues"} 
[2026-07-27 17:41:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6834353147259127808,"note":"Value kept but may cause issues"} 
[2026-07-27 17:41:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:41:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785154180000,"timestamp_ms":1785154180000,"timestamp_seconds":1785154180,"priority":1,"record_length":96,"hex_timestamp":"0000019fa37b13a0"} 
[2026-07-27 17:41:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:41:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17: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":109,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-27 17:41:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1760,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:41:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:41:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:41:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:41:42] local.INFO: Teltonika packet parsed successfully {"connection_id":143032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:41:42] local.INFO: Passing IMEI to GPS processor {"connection_id":143032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:41:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":143032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:41:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:41:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 17:41:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 17:41:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999469824001,"66":28006,"72":206,"83":16896,"24":7,"16":359134969039159296,"45":-6834353147259127808},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,83,24,16,45]} 
[2026-07-27 17:41:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 17:41:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 17:41:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999469824001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:41:42] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-07-27 17:41:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-27 17:41:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359134969039159296,"km_value":359134969039159.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:41:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6834353147259127808,"description":"Unknown IO ID 45"} 
[2026-07-27 17:41:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999469824001,"power":28006,"unknown_72":206,"unknown_83":16896,"ignition":7,"odometer":null,"unknown_45":-6834353147259127808}} 
[2026-07-27 17:41:42] local.INFO: DEBUG: GPS processor result {"connection_id":143032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:41:42] local.INFO: GPS data processed {"connection_id":143032,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:41:42] local.INFO: Acknowledgment sent {"connection_id":143032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:41:43] local.INFO: TCP Data received {"connection_id":143032,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa37b1788012da128c005c40cf0003200452d..."} 
[2026-07-27 17:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa37b1788012da128c005c40cf0003200452d..."} 
[2026-07-27 17:41:43] local.INFO: Processing buffer {"connection_id":143032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa37b1788012da128c005c40cf0003200452d..."} 
[2026-07-27 17:41:43] local.INFO: Packet analysis {"connection_id":143032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa37b"} 
[2026-07-27 17:41:43] local.INFO: Extracted packet for processing {"connection_id":143032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa37b"} 
[2026-07-27 17:41:43] local.INFO: GPS Element Parsed {"raw_longitude":765536448,"raw_latitude":96734448,"longitude_deg":76.5536448,"latitude_deg":9.6734448,"altitude":50,"angle":69,"satellites":45,"speed":7,"hex_longitude":"2da128c0","hex_latitude":"05c40cf0","is_valid_coordinates":true} 
[2026-07-27 17:41:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:41:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999470080001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:41:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359134977629093888,"note":"Value kept but may cause issues"} 
[2026-07-27 17:41:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6834212409770735616,"note":"Value kept but may cause issues"} 
[2026-07-27 17:41:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:41:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785154181000,"timestamp_ms":1785154181000,"timestamp_seconds":1785154181,"priority":1,"record_length":96,"hex_timestamp":"0000019fa37b1788"} 
[2026-07-27 17:41:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:41:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-27 17:41:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:41:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:41:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:41:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:41:43] local.INFO: Teltonika packet parsed successfully {"connection_id":143032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:41:43] local.INFO: Passing IMEI to GPS processor {"connection_id":143032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:41:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":143032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:41:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:41:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 17:41:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 17:41:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999470080001,"66":28006,"72":206,"83":16896,"24":7,"16":359134977629093888,"45":-6834212409770735616},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,83,24,16,45]} 
[2026-07-27 17:41:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 17:41:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 17:41:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999470080001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:41:43] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-07-27 17:41:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-27 17:41:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359134977629093888,"km_value":359134977629093.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:41:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6834212409770735616,"description":"Unknown IO ID 45"} 
[2026-07-27 17:41:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999470080001,"power":28006,"unknown_72":206,"unknown_83":16896,"ignition":7,"odometer":null,"unknown_45":-6834212409770735616}} 
[2026-07-27 17:41:43] local.INFO: DEBUG: GPS processor result {"connection_id":143032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:41:43] local.INFO: GPS data processed {"connection_id":143032,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:41:43] local.INFO: Acknowledgment sent {"connection_id":143032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:41:45] local.INFO: TCP Data received {"connection_id":143031,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa37c09b8012d8249c005d9d090000900b52a..."} 
[2026-07-27 17:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa37c09b8012d8249c005d9d090000900b52a..."} 
[2026-07-27 17:41:45] local.INFO: Processing buffer {"connection_id":143031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa37c09b8012d8249c005d9d090000900b52a..."} 
[2026-07-27 17:41:45] local.INFO: Packet analysis {"connection_id":143031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa37c"} 
[2026-07-27 17:41:45] local.INFO: Extracted packet for processing {"connection_id":143031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa37c"} 
[2026-07-27 17:41:45] local.INFO: GPS Element Parsed {"raw_longitude":763513280,"raw_latitude":98160784,"longitude_deg":76.351328,"latitude_deg":9.8160784,"altitude":9,"angle":181,"satellites":42,"speed":10,"hex_longitude":"2d8249c0","hex_latitude":"05d9d090","is_valid_coordinates":true} 
[2026-07-27 17:41:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:41:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999483136001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:41:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111725903393849344,"note":"Value kept but may cause issues"} 
[2026-07-27 17:41:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9058849887837927424,"note":"Value kept but may cause issues"} 
[2026-07-27 17:41:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:41:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785154243000,"timestamp_ms":1785154243000,"timestamp_seconds":1785154243,"priority":1,"record_length":96,"hex_timestamp":"0000019fa37c09b8"} 
[2026-07-27 17:41:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:41:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:41:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-07-27 17:41:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1945,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:41:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:41:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:41:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:41:45] local.INFO: Teltonika packet parsed successfully {"connection_id":143031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:41:45] local.INFO: Passing IMEI to GPS processor {"connection_id":143031,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:41:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":143031,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:41:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:41:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 17:41:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 17:41:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999483136001,"66":12689,"69":206,"85":15104,"24":10,"16":111725903393849344,"45":-9058849887837927424},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,85,24,16,45]} 
[2026-07-27 17:41:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 17:41:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 17:41:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999483136001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:41:45] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-07-27 17:41:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 17:41:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111725903393849344,"km_value":111725903393849.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:41:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9058849887837927424,"description":"Unknown IO ID 45"} 
[2026-07-27 17:41:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999483136001,"power":12689,"unknown_69":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":-9058849887837927424}} 
[2026-07-27 17:41:45] local.INFO: DEBUG: GPS processor result {"connection_id":143031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554502,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:41:45] local.INFO: GPS data processed {"connection_id":143031,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:41:45] local.INFO: Acknowledgment sent {"connection_id":143031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:41:59] local.INFO: TCP Data received {"connection_id":143177,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143177,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:41:59] local.INFO: Processing buffer {"connection_id":143177,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:41:59] local.INFO: IMEI packet received {"connection_id":143177,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 17:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":143177,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:42:04] local.INFO: TCP Data received {"connection_id":143177,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143177,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:42:04] local.INFO: Processing buffer {"connection_id":143177,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:42:04] local.INFO: IMEI packet received {"connection_id":143177,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 17:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":143177,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:42:06] local.INFO: TCP Data received {"connection_id":143177,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa37c7b00012d1a10c0071fd330002f002127..."} 
[2026-07-27 17:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143177,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa37c7b00012d1a10c0071fd330002f002127..."} 
[2026-07-27 17:42:06] local.INFO: Processing buffer {"connection_id":143177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa37c7b00012d1a10c0071fd330002f002127..."} 
[2026-07-27 17:42:06] local.INFO: Packet analysis {"connection_id":143177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa37c"} 
[2026-07-27 17:42:06] local.INFO: Extracted packet for processing {"connection_id":143177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa37c"} 
[2026-07-27 17:42:06] local.INFO: GPS Element Parsed {"raw_longitude":756682944,"raw_latitude":119526192,"longitude_deg":75.6682944,"latitude_deg":11.9526192,"altitude":47,"angle":33,"satellites":39,"speed":0,"hex_longitude":"2d1a10c0","hex_latitude":"071fd330","is_valid_coordinates":true} 
[2026-07-27 17:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:42:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999493120001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:42:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8947954475859968,"note":"Value kept but may cause issues"} 
[2026-07-27 17:42:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1878212181444734976,"note":"Value kept but may cause issues"} 
[2026-07-27 17:42:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:42:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785154272000,"timestamp_ms":1785154272000,"timestamp_seconds":1785154272,"priority":1,"record_length":96,"hex_timestamp":"0000019fa37c7b00"} 
[2026-07-27 17:42:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:42:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-07-27 17:42:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:42:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:42:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:42:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:42:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:42:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143177,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:42:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143177,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:42:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:42:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:42:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:42:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999493120001,"66":13961,"121":206,"28":31744,"24":0,"16":8947954475859968,"45":1878212181444734976},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 17:42:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:42:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:42:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999493120001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:42:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 17:42:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:42:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8947954475859968,"km_value":8947954475859.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:42:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1878212181444734976,"description":"Unknown IO ID 45"} 
[2026-07-27 17:42:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999493120001,"power":13961,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1878212181444734976}} 
[2026-07-27 17:42:06] local.INFO: DEBUG: GPS processor result {"connection_id":143177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554503,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:42:06] local.INFO: GPS data processed {"connection_id":143177,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:42:06] local.INFO: Acknowledgment sent {"connection_id":143177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:42:07] local.INFO: TCP Data received {"connection_id":143178,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143178,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:42:07] local.INFO: Processing buffer {"connection_id":143178,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:42:07] local.INFO: IMEI packet received {"connection_id":143178,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 17:42:07] local.INFO: IMEI acknowledgment sent {"connection_id":143178,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:42:10] local.INFO: TCP Data received {"connection_id":143178,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143178,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:42:10] local.INFO: Processing buffer {"connection_id":143178,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:42:10] local.INFO: IMEI packet received {"connection_id":143178,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 17:42:10] local.INFO: IMEI acknowledgment sent {"connection_id":143178,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:42:13] local.INFO: TCP Data received {"connection_id":143178,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143178,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:42:13] local.INFO: Processing buffer {"connection_id":143178,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:42:13] local.INFO: IMEI packet received {"connection_id":143178,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 17:42:13] local.INFO: IMEI acknowledgment sent {"connection_id":143178,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:42:14] local.INFO: TCP Data received {"connection_id":143178,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa37c1958012d824a8005d9caa8000a00a72c..."} 
[2026-07-27 17:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143178,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa37c1958012d824a8005d9caa8000a00a72c..."} 
[2026-07-27 17:42:14] local.INFO: Processing buffer {"connection_id":143178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa37c1958012d824a8005d9caa8000a00a72c..."} 
[2026-07-27 17:42:14] local.INFO: Packet analysis {"connection_id":143178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa37c"} 
[2026-07-27 17:42:14] local.INFO: Extracted packet for processing {"connection_id":143178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa37c"} 
[2026-07-27 17:42:14] local.INFO: GPS Element Parsed {"raw_longitude":763513472,"raw_latitude":98159272,"longitude_deg":76.3513472,"latitude_deg":9.8159272,"altitude":10,"angle":167,"satellites":44,"speed":21,"hex_longitude":"2d824a80","hex_latitude":"05d9caa8","is_valid_coordinates":true} 
[2026-07-27 17:42:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:42:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999486208001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:42:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111725976408293376,"note":"Value kept but may cause issues"} 
[2026-07-27 17:42:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9058498044117348352,"note":"Value kept but may cause issues"} 
[2026-07-27 17:42:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:42:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785154247000,"timestamp_ms":1785154247000,"timestamp_seconds":1785154247,"priority":1,"record_length":96,"hex_timestamp":"0000019fa37c1958"} 
[2026-07-27 17:42:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:42:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:42:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-27 17:42: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-07-27 17:42:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:42:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:42:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:42:14] local.INFO: Teltonika packet parsed successfully {"connection_id":143178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:42:14] local.INFO: Passing IMEI to GPS processor {"connection_id":143178,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:42:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":143178,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:42:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:42:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 17:42:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 17:42:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999486208001,"66":13091,"69":206,"85":15104,"24":21,"16":111725976408293376,"45":-9058498044117348352},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,85,24,16,45]} 
[2026-07-27 17:42:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 17:42:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 17:42:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999486208001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:42:14] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-07-27 17:42:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 17:42:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111725976408293376,"km_value":111725976408293.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:42:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9058498044117348352,"description":"Unknown IO ID 45"} 
[2026-07-27 17:42:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999486208001,"power":13091,"unknown_69":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":-9058498044117348352}} 
[2026-07-27 17:42:14] local.INFO: DEBUG: GPS processor result {"connection_id":143178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554504,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:42:14] local.INFO: GPS data processed {"connection_id":143178,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:42:14] local.INFO: Acknowledgment sent {"connection_id":143178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:42:14] local.INFO: TCP Data received {"connection_id":143032,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa37ccd08012da1e64005c41770001800132d..."} 
[2026-07-27 17:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa37ccd08012da1e64005c41770001800132d..."} 
[2026-07-27 17:42:14] local.INFO: Processing buffer {"connection_id":143032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa37ccd08012da1e64005c41770001800132d..."} 
[2026-07-27 17:42:14] local.INFO: Packet analysis {"connection_id":143032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa37c"} 
[2026-07-27 17:42:14] local.INFO: Extracted packet for processing {"connection_id":143032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa37c"} 
[2026-07-27 17:42:14] local.INFO: GPS Element Parsed {"raw_longitude":765584960,"raw_latitude":96737136,"longitude_deg":76.558496,"latitude_deg":9.6737136,"altitude":24,"angle":19,"satellites":45,"speed":8,"hex_longitude":"2da1e640","hex_latitude":"05c41770","is_valid_coordinates":true} 
[2026-07-27 17:42:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:42:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999498496001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:42:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359137318386270208,"note":"Value kept but may cause issues"} 
[2026-07-27 17:42:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6780943270427609088,"note":"Value kept but may cause issues"} 
[2026-07-27 17:42:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:42:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785154293000,"timestamp_ms":1785154293000,"timestamp_seconds":1785154293,"priority":1,"record_length":96,"hex_timestamp":"0000019fa37ccd08"} 
[2026-07-27 17:42:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:42:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:42:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-27 17:42:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:42:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:42:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:42:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:42:14] local.INFO: Teltonika packet parsed successfully {"connection_id":143032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:42:14] local.INFO: Passing IMEI to GPS processor {"connection_id":143032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:42:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":143032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:42:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:42:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 17:42:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 17:42:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999498496001,"66":27484,"190":206,"83":16896,"24":8,"16":359137318386270208,"45":-6780943270427609088},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,83,24,16,45]} 
[2026-07-27 17:42:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 17:42:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 17:42:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999498496001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:42:14] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-07-27 17:42:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-27 17:42:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359137318386270208,"km_value":359137318386270.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:42:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6780943270427609088,"description":"Unknown IO ID 45"} 
[2026-07-27 17:42:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999498496001,"power":27484,"unknown_190":206,"unknown_83":16896,"ignition":8,"odometer":null,"unknown_45":-6780943270427609088}} 
[2026-07-27 17:42:14] local.INFO: DEBUG: GPS processor result {"connection_id":143032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:42:14] local.INFO: GPS data processed {"connection_id":143032,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:42:14] local.INFO: Acknowledgment sent {"connection_id":143032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:42:28] local.INFO: TCP Data received {"connection_id":143179,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:42:28] local.INFO: Processing buffer {"connection_id":143179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:42:28] local.INFO: IMEI packet received {"connection_id":143179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 17:42:28] local.INFO: IMEI acknowledgment sent {"connection_id":143179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:42:32] local.INFO: TCP Data received {"connection_id":143179,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:42:32] local.INFO: Processing buffer {"connection_id":143179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:42:32] local.INFO: IMEI packet received {"connection_id":143179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 17:42:32] local.INFO: IMEI acknowledgment sent {"connection_id":143179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:42:36] local.INFO: TCP Data received {"connection_id":143179,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:42:36] local.INFO: Processing buffer {"connection_id":143179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:42:36] local.INFO: IMEI packet received {"connection_id":143179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 17:42:36] local.INFO: IMEI acknowledgment sent {"connection_id":143179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:42:37] local.INFO: TCP Data received {"connection_id":143179,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa37cd0f0012da1e64005c41838001800072d..."} 
[2026-07-27 17:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143179,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa37cd0f0012da1e64005c41838001800072d..."} 
[2026-07-27 17:42:37] local.INFO: Processing buffer {"connection_id":143179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa37cd0f0012da1e64005c41838001800072d..."} 
[2026-07-27 17:42:37] local.INFO: Packet analysis {"connection_id":143179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa37c"} 
[2026-07-27 17:42:37] local.INFO: Extracted packet for processing {"connection_id":143179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa37c"} 
[2026-07-27 17:42:37] local.INFO: GPS Element Parsed {"raw_longitude":765584960,"raw_latitude":96737336,"longitude_deg":76.558496,"latitude_deg":9.6737336,"altitude":24,"angle":7,"satellites":45,"speed":8,"hex_longitude":"2da1e640","hex_latitude":"05c41838","is_valid_coordinates":true} 
[2026-07-27 17:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999499008001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359137326976204800,"note":"Value kept but may cause issues"} 
[2026-07-27 17:42:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6780661795450818560,"note":"Value kept but may cause issues"} 
[2026-07-27 17:42:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785154294000,"timestamp_ms":1785154294000,"timestamp_seconds":1785154294,"priority":1,"record_length":96,"hex_timestamp":"0000019fa37cd0f0"} 
[2026-07-27 17:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:42:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-27 17:42:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:42:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:42:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 17:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 17:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999499008001,"66":27789,"190":206,"83":16896,"24":8,"16":359137326976204800,"45":-6780661795450818560},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,83,24,16,45]} 
[2026-07-27 17:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 17:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 17:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999499008001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:42:37] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-07-27 17:42:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-27 17:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359137326976204800,"km_value":359137326976204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:42:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6780661795450818560,"description":"Unknown IO ID 45"} 
[2026-07-27 17:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999499008001,"power":27789,"unknown_190":206,"unknown_83":16896,"ignition":8,"odometer":null,"unknown_45":-6780661795450818560}} 
[2026-07-27 17:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":143179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:42:37] local.INFO: GPS data processed {"connection_id":143179,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:42:37] local.INFO: Acknowledgment sent {"connection_id":143179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:42:37] local.INFO: TCP Data received {"connection_id":143177,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa37cd8c0012d1a0b40071fd100003200ee27..."} 
[2026-07-27 17:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143177,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa37cd8c0012d1a0b40071fd100003200ee27..."} 
[2026-07-27 17:42:37] local.INFO: Processing buffer {"connection_id":143177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa37cd8c0012d1a0b40071fd100003200ee27..."} 
[2026-07-27 17:42:37] local.INFO: Packet analysis {"connection_id":143177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa37c"} 
[2026-07-27 17:42:37] local.INFO: Extracted packet for processing {"connection_id":143177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa37c"} 
[2026-07-27 17:42:37] local.INFO: GPS Element Parsed {"raw_longitude":756681536,"raw_latitude":119525632,"longitude_deg":75.6681536,"latitude_deg":11.9525632,"altitude":50,"angle":238,"satellites":39,"speed":4,"hex_longitude":"2d1a0b40","hex_latitude":"071fd100","is_valid_coordinates":true} 
[2026-07-27 17:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999499520001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8948074734944256,"note":"Value kept but may cause issues"} 
[2026-07-27 17:42:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1876804806561064960,"note":"Value kept but may cause issues"} 
[2026-07-27 17:42:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785154296000,"timestamp_ms":1785154296000,"timestamp_seconds":1785154296,"priority":1,"record_length":96,"hex_timestamp":"0000019fa37cd8c0"} 
[2026-07-27 17:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:42:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-07-27 17:42:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:42:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143177,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143177,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:42:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999499520001,"66":13678,"121":206,"28":31744,"24":4,"16":8948074734944256,"45":1876804806561064960},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 17:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999499520001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:42:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 17:42:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8948074734944256,"km_value":8948074734944.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:42:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1876804806561064960,"description":"Unknown IO ID 45"} 
[2026-07-27 17:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999499520001,"power":13678,"unknown_121":206,"unknown_28":31744,"ignition":4,"odometer":null,"unknown_45":1876804806561064960}} 
[2026-07-27 17:42:38] local.INFO: DEBUG: GPS processor result {"connection_id":143177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554507,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:42:38] local.INFO: GPS data processed {"connection_id":143177,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:42:38] local.INFO: Acknowledgment sent {"connection_id":143177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:42:45] local.INFO: TCP Data received {"connection_id":143178,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa37c4450012d82528005d9a8b0000900a82a..."} 
[2026-07-27 17:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143178,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa37c4450012d82528005d9a8b0000900a82a..."} 
[2026-07-27 17:42:45] local.INFO: Processing buffer {"connection_id":143178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa37c4450012d82528005d9a8b0000900a82a..."} 
[2026-07-27 17:42:45] local.INFO: Packet analysis {"connection_id":143178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa37c"} 
[2026-07-27 17:42:45] local.INFO: Extracted packet for processing {"connection_id":143178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa37c"} 
[2026-07-27 17:42:45] local.INFO: GPS Element Parsed {"raw_longitude":763515520,"raw_latitude":98150576,"longitude_deg":76.351552,"latitude_deg":9.8150576,"altitude":9,"angle":168,"satellites":42,"speed":41,"hex_longitude":"2d825280","hex_latitude":"05d9a8b0","is_valid_coordinates":true} 
[2026-07-27 17:42:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:42:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999487232001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:42:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111726410199990272,"note":"Value kept but may cause issues"} 
[2026-07-27 17:42:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9058286937885202432,"note":"Value kept but may cause issues"} 
[2026-07-27 17:42:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:42:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785154258000,"timestamp_ms":1785154258000,"timestamp_seconds":1785154258,"priority":1,"record_length":96,"hex_timestamp":"0000019fa37c4450"} 
[2026-07-27 17:42:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:42:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:42:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-27 17:42:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:42:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:42:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:42:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:42:45] local.INFO: Teltonika packet parsed successfully {"connection_id":143178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:42:45] local.INFO: Passing IMEI to GPS processor {"connection_id":143178,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:42:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":143178,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:42:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:42:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 17:42:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 17:42:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999487232001,"66":12939,"69":206,"85":15104,"24":41,"16":111726410199990272,"45":-9058286937885202432},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,85,24,16,45]} 
[2026-07-27 17:42:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 17:42:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 17:42:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999487232001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:42:45] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-07-27 17:42:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 17:42:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111726410199990272,"km_value":111726410199990.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:42:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9058286937885202432,"description":"Unknown IO ID 45"} 
[2026-07-27 17:42:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999487232001,"power":12939,"unknown_69":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":-9058286937885202432}} 
[2026-07-27 17:42:45] local.INFO: DEBUG: GPS processor result {"connection_id":143178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554508,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:42:45] local.INFO: GPS data processed {"connection_id":143178,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:42:45] local.INFO: Acknowledgment sent {"connection_id":143178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:42:59] local.INFO: TCP Data received {"connection_id":144166,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144166,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:42:59] local.INFO: Processing buffer {"connection_id":144166,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:42:59] local.INFO: IMEI packet received {"connection_id":144166,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 17:42:59] local.INFO: IMEI acknowledgment sent {"connection_id":144166,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:43:01] local.INFO: TCP Data received {"connection_id":144166,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144166,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:43:01] local.INFO: Processing buffer {"connection_id":144166,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:43:01] local.INFO: IMEI packet received {"connection_id":144166,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 17:43:01] local.INFO: IMEI acknowledgment sent {"connection_id":144166,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:43:04] local.INFO: TCP Data received {"connection_id":144166,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144166,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:43:04] local.INFO: Processing buffer {"connection_id":144166,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:43:04] local.INFO: IMEI packet received {"connection_id":144166,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 17:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":144166,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:43:05] local.INFO: TCP Data received {"connection_id":144166,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa37ce860012d1a0a80071fd058003400de28..."} 
[2026-07-27 17:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa37ce860012d1a0a80071fd058003400de28..."} 
[2026-07-27 17:43:05] local.INFO: Processing buffer {"connection_id":144166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa37ce860012d1a0a80071fd058003400de28..."} 
[2026-07-27 17:43:05] local.INFO: Packet analysis {"connection_id":144166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa37c"} 
[2026-07-27 17:43:05] local.INFO: Extracted packet for processing {"connection_id":144166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa37c"} 
[2026-07-27 17:43:05] local.INFO: GPS Element Parsed {"raw_longitude":756681344,"raw_latitude":119525464,"longitude_deg":75.6681344,"latitude_deg":11.9525464,"altitude":52,"angle":222,"satellites":40,"speed":1,"hex_longitude":"2d1a0a80","hex_latitude":"071fd058","is_valid_coordinates":true} 
[2026-07-27 17:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:43:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999499776001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:43:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8948087619846144,"note":"Value kept but may cause issues"} 
[2026-07-27 17:43:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1876664069072683008,"note":"Value kept but may cause issues"} 
[2026-07-27 17:43:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:43:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785154300000,"timestamp_ms":1785154300000,"timestamp_seconds":1785154300,"priority":1,"record_length":96,"hex_timestamp":"0000019fa37ce860"} 
[2026-07-27 17:43:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:43:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-07-27 17:43:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:43:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:43:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:43:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:43:05] local.INFO: Teltonika packet parsed successfully {"connection_id":144166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:43:05] local.INFO: Passing IMEI to GPS processor {"connection_id":144166,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:43:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":144166,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:43:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:43:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:43:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:43:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999499776001,"66":13972,"121":206,"28":31744,"24":1,"16":8948087619846144,"45":1876664069072683008},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 17:43:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:43:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:43:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999499776001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:43:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 17:43:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:43:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8948087619846144,"km_value":8948087619846.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:43:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1876664069072683008,"description":"Unknown IO ID 45"} 
[2026-07-27 17:43:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999499776001,"power":13972,"unknown_121":206,"unknown_28":31744,"ignition":1,"odometer":null,"unknown_45":1876664069072683008}} 
[2026-07-27 17:43:06] local.INFO: DEBUG: GPS processor result {"connection_id":144166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554509,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:43:06] local.INFO: GPS data processed {"connection_id":144166,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:43:06] local.INFO: Acknowledgment sent {"connection_id":144166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:43:07] local.INFO: TCP Data received {"connection_id":143180,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143180,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:43:07] local.INFO: Processing buffer {"connection_id":143180,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:43:07] local.INFO: IMEI packet received {"connection_id":143180,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 17:43:07] local.INFO: IMEI acknowledgment sent {"connection_id":143180,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:43:08] local.INFO: TCP Data received {"connection_id":143179,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa37cd4d8012da1e64005c41920001801622d..."} 
[2026-07-27 17:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143179,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa37cd4d8012da1e64005c41920001801622d..."} 
[2026-07-27 17:43:08] local.INFO: Processing buffer {"connection_id":143179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa37cd4d8012da1e64005c41920001801622d..."} 
[2026-07-27 17:43:08] local.INFO: Packet analysis {"connection_id":143179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa37c"} 
[2026-07-27 17:43:08] local.INFO: Extracted packet for processing {"connection_id":143179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa37c"} 
[2026-07-27 17:43:08] local.INFO: GPS Element Parsed {"raw_longitude":765584960,"raw_latitude":96737568,"longitude_deg":76.558496,"latitude_deg":9.6737568,"altitude":24,"angle":354,"satellites":45,"speed":9,"hex_longitude":"2da1e640","hex_latitude":"05c41920","is_valid_coordinates":true} 
[2026-07-27 17:43:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:43:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999499264001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:43:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359137339861106688,"note":"Value kept but may cause issues"} 
[2026-07-27 17:43:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6780661795450767360,"note":"Value kept but may cause issues"} 
[2026-07-27 17:43:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:43:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785154295000,"timestamp_ms":1785154295000,"timestamp_seconds":1785154295,"priority":1,"record_length":96,"hex_timestamp":"0000019fa37cd4d8"} 
[2026-07-27 17:43:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:43:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17: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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-27 17:43:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:43:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:43:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:43:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:43:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:43:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:43:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:43:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:43:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 17:43:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 17:43:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999499264001,"66":27789,"190":206,"83":16896,"24":9,"16":359137339861106688,"45":-6780661795450767360},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,83,24,16,45]} 
[2026-07-27 17:43:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 17:43:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 17:43:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999499264001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:43:08] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-07-27 17:43:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-27 17:43:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359137339861106688,"km_value":359137339861106.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:43:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6780661795450767360,"description":"Unknown IO ID 45"} 
[2026-07-27 17:43:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999499264001,"power":27789,"unknown_190":206,"unknown_83":16896,"ignition":9,"odometer":null,"unknown_45":-6780661795450767360}} 
[2026-07-27 17:43:08] local.INFO: DEBUG: GPS processor result {"connection_id":143179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:43:08] local.INFO: GPS data processed {"connection_id":143179,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:43:08] local.INFO: Acknowledgment sent {"connection_id":143179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:43:11] local.INFO: TCP Data received {"connection_id":143180,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143180,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:43:11] local.INFO: Processing buffer {"connection_id":143180,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:43:11] local.INFO: IMEI packet received {"connection_id":143180,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 17:43:11] local.INFO: IMEI acknowledgment sent {"connection_id":143180,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:43:13] local.INFO: TCP Data received {"connection_id":143180,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143180,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:43:13] local.INFO: Processing buffer {"connection_id":143180,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:43:13] local.INFO: IMEI packet received {"connection_id":143180,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 17:43:13] local.INFO: IMEI acknowledgment sent {"connection_id":143180,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:43:14] local.INFO: TCP Data received {"connection_id":143180,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa37dabb0012d8297c005d86580000500a62b..."} 
[2026-07-27 17:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143180,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa37dabb0012d8297c005d86580000500a62b..."} 
[2026-07-27 17:43:14] local.INFO: Processing buffer {"connection_id":143180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa37dabb0012d8297c005d86580000500a62b..."} 
[2026-07-27 17:43:14] local.INFO: Packet analysis {"connection_id":143180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa37d"} 
[2026-07-27 17:43:14] local.INFO: Extracted packet for processing {"connection_id":143180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa37d"} 
[2026-07-27 17:43:14] local.INFO: GPS Element Parsed {"raw_longitude":763533248,"raw_latitude":98067840,"longitude_deg":76.3533248,"latitude_deg":9.806784,"altitude":5,"angle":166,"satellites":43,"speed":32,"hex_longitude":"2d8297c0","hex_latitude":"05d86580","is_valid_coordinates":true} 
[2026-07-27 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-07-27 17:43:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999511552001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:43:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111730567728332800,"note":"Value kept but may cause issues"} 
[2026-07-27 17:43:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9039920695676422144,"note":"Value kept but may cause issues"} 
[2026-07-27 17:43:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:43:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785154350000,"timestamp_ms":1785154350000,"timestamp_seconds":1785154350,"priority":1,"record_length":96,"hex_timestamp":"0000019fa37dabb0"} 
[2026-07-27 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-07-27 17:43:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-27 17:43:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 17:43:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:43:14] local.INFO: Teltonika packet parsed successfully {"connection_id":143180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:43:14] local.INFO: Passing IMEI to GPS processor {"connection_id":143180,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:43:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":143180,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:43:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:43:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 17:43:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 17:43:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999511552001,"66":12885,"49":206,"85":15104,"24":32,"16":111730567728332800,"45":-9039920695676422144},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-07-27 17:43:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 17:43:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 17:43:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999511552001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:43:14] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-27 17:43:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 17:43:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111730567728332800,"km_value":111730567728332.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:43:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9039920695676422144,"description":"Unknown IO ID 45"} 
[2026-07-27 17:43:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999511552001,"power":12885,"unknown_49":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":-9039920695676422144}} 
[2026-07-27 17:43:14] local.INFO: DEBUG: GPS processor result {"connection_id":143180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554511,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:43:14] local.INFO: GPS data processed {"connection_id":143180,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:43:14] local.INFO: Acknowledgment sent {"connection_id":143180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:43:18] local.INFO: TCP Data received {"connection_id":143180,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa37dfdb8012d829cc005d84650000400a82a..."} 
[2026-07-27 17:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143180,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa37dfdb8012d829cc005d84650000400a82a..."} 
[2026-07-27 17:43:18] local.INFO: Processing buffer {"connection_id":143180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa37dfdb8012d829cc005d84650000400a82a..."} 
[2026-07-27 17:43:18] local.INFO: Packet analysis {"connection_id":143180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa37d"} 
[2026-07-27 17:43:18] local.INFO: Extracted packet for processing {"connection_id":143180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa37d"} 
[2026-07-27 17:43:18] local.INFO: GPS Element Parsed {"raw_longitude":763534528,"raw_latitude":98059856,"longitude_deg":76.3534528,"latitude_deg":9.8059856,"altitude":4,"angle":168,"satellites":42,"speed":0,"hex_longitude":"2d829cc0","hex_latitude":"05d84650","is_valid_coordinates":true} 
[2026-07-27 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-07-27 17:43:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999513600001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:43:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111730958570356736,"note":"Value kept but may cause issues"} 
[2026-07-27 17:43:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036542995957710848,"note":"Value kept but may cause issues"} 
[2026-07-27 17:43:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:43:18] local.INFO: AVL Record Parsed {"raw_timestamp":1785154371000,"timestamp_ms":1785154371000,"timestamp_seconds":1785154371,"priority":1,"record_length":96,"hex_timestamp":"0000019fa37dfdb8"} 
[2026-07-27 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-07-27 17:43: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-07-27 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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-27 17:43: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-07-27 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-07-27 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-07-27 17:43:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:43:18] local.INFO: Teltonika packet parsed successfully {"connection_id":143180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:43:18] local.INFO: Passing IMEI to GPS processor {"connection_id":143180,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:43:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":143180,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:43:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:43:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 17:43:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 17:43:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999513600001,"66":12906,"47":206,"85":15104,"24":0,"16":111730958570356736,"45":-9036542995957710848},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-07-27 17:43:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 17:43:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 17:43:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999513600001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:43:18] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-07-27 17:43:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 17:43:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111730958570356736,"km_value":111730958570356.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:43:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036542995957710848,"description":"Unknown IO ID 45"} 
[2026-07-27 17:43:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999513600001,"power":12906,"unknown_47":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9036542995957710848}} 
[2026-07-27 17:43:18] local.INFO: DEBUG: GPS processor result {"connection_id":143180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554512,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:43:18] local.INFO: GPS data processed {"connection_id":143180,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:43:18] local.INFO: Acknowledgment sent {"connection_id":143180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:43:32] local.INFO: TCP Data received {"connection_id":145448,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:43:32] local.INFO: Processing buffer {"connection_id":145448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:43:32] local.INFO: IMEI packet received {"connection_id":145448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 17:43:32] local.INFO: IMEI acknowledgment sent {"connection_id":145448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:43:36] local.INFO: TCP Data received {"connection_id":145448,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:43:36] local.INFO: Processing buffer {"connection_id":145448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:43:36] local.INFO: IMEI packet received {"connection_id":145448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 17:43:36] local.INFO: IMEI acknowledgment sent {"connection_id":145448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:43:37] local.INFO: TCP Data received {"connection_id":145448,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa37d0f70012da1e00005c43df00017015f2d..."} 
[2026-07-27 17:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa37d0f70012da1e00005c43df00017015f2d..."} 
[2026-07-27 17:43:37] local.INFO: Processing buffer {"connection_id":145448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa37d0f70012da1e00005c43df00017015f2d..."} 
[2026-07-27 17:43:37] local.INFO: Packet analysis {"connection_id":145448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa37d"} 
[2026-07-27 17:43:37] local.INFO: Extracted packet for processing {"connection_id":145448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa37d"} 
[2026-07-27 17:43:37] local.INFO: GPS Element Parsed {"raw_longitude":765583360,"raw_latitude":96746992,"longitude_deg":76.558336,"latitude_deg":9.6746992,"altitude":23,"angle":351,"satellites":45,"speed":33,"hex_longitude":"2da1e000","hex_latitude":"05c43df0","is_valid_coordinates":true} 
[2026-07-27 17:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:43:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999499520001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:43:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359137803717574656,"note":"Value kept but may cause issues"} 
[2026-07-27 17:43:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6780661795450707968,"note":"Value kept but may cause issues"} 
[2026-07-27 17:43:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:43:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785154310000,"timestamp_ms":1785154310000,"timestamp_seconds":1785154310,"priority":1,"record_length":96,"hex_timestamp":"0000019fa37d0f70"} 
[2026-07-27 17:43:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:43:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-27 17:43:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:43:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:43:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:43:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:43:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:43:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:43:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:43:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:43:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 17:43:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 17:43:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999499520001,"66":27832,"190":206,"83":16896,"24":33,"16":359137803717574656,"45":-6780661795450707968},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,83,24,16,45]} 
[2026-07-27 17:43:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 17:43:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 17:43:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999499520001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:43:37] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-07-27 17:43:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-27 17:43:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359137803717574656,"km_value":359137803717574.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:43:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6780661795450707968,"description":"Unknown IO ID 45"} 
[2026-07-27 17:43:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999499520001,"power":27832,"unknown_190":206,"unknown_83":16896,"ignition":33,"odometer":null,"unknown_45":-6780661795450707968}} 
[2026-07-27 17:43:37] local.INFO: DEBUG: GPS processor result {"connection_id":145448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:43:37] local.INFO: GPS data processed {"connection_id":145448,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:43:37] local.INFO: Acknowledgment sent {"connection_id":145448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:43:37] local.INFO: TCP Data received {"connection_id":144166,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa37cec48012d1a0a80071fd028003400d228..."} 
[2026-07-27 17:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa37cec48012d1a0a80071fd028003400d228..."} 
[2026-07-27 17:43:37] local.INFO: Processing buffer {"connection_id":144166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa37cec48012d1a0a80071fd028003400d228..."} 
[2026-07-27 17:43:37] local.INFO: Packet analysis {"connection_id":144166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa37c"} 
[2026-07-27 17:43:37] local.INFO: Extracted packet for processing {"connection_id":144166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa37c"} 
[2026-07-27 17:43:37] local.INFO: GPS Element Parsed {"raw_longitude":756681344,"raw_latitude":119525416,"longitude_deg":75.6681344,"latitude_deg":11.9525416,"altitude":52,"angle":210,"satellites":40,"speed":1,"hex_longitude":"2d1a0a80","hex_latitude":"071fd028","is_valid_coordinates":true} 
[2026-07-27 17:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:43:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999500800001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:43:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8948087619846144,"note":"Value kept but may cause issues"} 
[2026-07-27 17:43:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1876452962840107008,"note":"Value kept but may cause issues"} 
[2026-07-27 17:43:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:43:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785154301000,"timestamp_ms":1785154301000,"timestamp_seconds":1785154301,"priority":1,"record_length":96,"hex_timestamp":"0000019fa37cec48"} 
[2026-07-27 17:43:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:43:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-07-27 17:43:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:43:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:43:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:43:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:43:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:43:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144166,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:43:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144166,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:43:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:43:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:43:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:43:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999500800001,"66":13972,"121":206,"28":31744,"24":1,"16":8948087619846144,"45":1876452962840107008},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 17:43:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:43:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:43:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999500800001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:43:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 17:43:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:43:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8948087619846144,"km_value":8948087619846.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:43:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1876452962840107008,"description":"Unknown IO ID 45"} 
[2026-07-27 17:43:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999500800001,"power":13972,"unknown_121":206,"unknown_28":31744,"ignition":1,"odometer":null,"unknown_45":1876452962840107008}} 
[2026-07-27 17:43:37] local.INFO: DEBUG: GPS processor result {"connection_id":144166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554514,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:43:37] local.INFO: GPS data processed {"connection_id":144166,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:43:37] local.INFO: Acknowledgment sent {"connection_id":144166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:43:48] local.INFO: TCP Data received {"connection_id":143180,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa37e0d58012d829d0005d844d8000400ba2a..."} 
[2026-07-27 17:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143180,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa37e0d58012d829d0005d844d8000400ba2a..."} 
[2026-07-27 17:43:48] local.INFO: Processing buffer {"connection_id":143180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa37e0d58012d829d0005d844d8000400ba2a..."} 
[2026-07-27 17:43:48] local.INFO: Packet analysis {"connection_id":143180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa37e"} 
[2026-07-27 17:43:48] local.INFO: Extracted packet for processing {"connection_id":143180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa37e"} 
[2026-07-27 17:43:48] local.INFO: GPS Element Parsed {"raw_longitude":763534592,"raw_latitude":98059480,"longitude_deg":76.3534592,"latitude_deg":9.805948,"altitude":4,"angle":186,"satellites":42,"speed":6,"hex_longitude":"2d829d00","hex_latitude":"05d844d8","is_valid_coordinates":true} 
[2026-07-27 17:43:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:43:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999518976001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:43:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111730980045193216,"note":"Value kept but may cause issues"} 
[2026-07-27 17:43:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9035135621076201472,"note":"Value kept but may cause issues"} 
[2026-07-27 17:43:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:43:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785154375000,"timestamp_ms":1785154375000,"timestamp_seconds":1785154375,"priority":1,"record_length":96,"hex_timestamp":"0000019fa37e0d58"} 
[2026-07-27 17:43:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:43:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17: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":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-07-27 17:43:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17: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-07-27 17:43:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:43:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:43:48] local.INFO: Teltonika packet parsed successfully {"connection_id":143180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:43:48] local.INFO: Passing IMEI to GPS processor {"connection_id":143180,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:43:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":143180,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:43:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:43:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 17:43:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 17:43:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999518976001,"66":12906,"47":206,"85":15104,"24":6,"16":111730980045193216,"45":-9035135621076201472},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-07-27 17:43:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 17:43:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 17:43:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999518976001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:43:48] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-07-27 17:43:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 17:43:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111730980045193216,"km_value":111730980045193.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:43:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9035135621076201472,"description":"Unknown IO ID 45"} 
[2026-07-27 17:43:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999518976001,"power":12906,"unknown_47":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":-9035135621076201472}} 
[2026-07-27 17:43:49] local.INFO: DEBUG: GPS processor result {"connection_id":143180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554515,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:43:49] local.INFO: GPS data processed {"connection_id":143180,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:43:49] local.INFO: Acknowledgment sent {"connection_id":143180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:44:04] local.INFO: TCP Data received {"connection_id":143033,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143033,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:44:04] local.INFO: Processing buffer {"connection_id":143033,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:44:04] local.INFO: IMEI packet received {"connection_id":143033,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 17:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":143033,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:44:05] local.INFO: TCP Data received {"connection_id":143033,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143033,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:44:05] local.INFO: Processing buffer {"connection_id":143033,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:44:05] local.INFO: IMEI packet received {"connection_id":143033,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 17:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":143033,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:44:08] local.INFO: TCP Data received {"connection_id":145448,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa37d3e50012da1d98005c462580015015c2b..."} 
[2026-07-27 17:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa37d3e50012da1d98005c462580015015c2b..."} 
[2026-07-27 17:44:08] local.INFO: Processing buffer {"connection_id":145448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa37d3e50012da1d98005c462580015015c2b..."} 
[2026-07-27 17:44:08] local.INFO: Packet analysis {"connection_id":145448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa37d"} 
[2026-07-27 17:44:08] local.INFO: Extracted packet for processing {"connection_id":145448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa37d"} 
[2026-07-27 17:44:08] local.INFO: GPS Element Parsed {"raw_longitude":765581696,"raw_latitude":96756312,"longitude_deg":76.5581696,"latitude_deg":9.6756312,"altitude":21,"angle":348,"satellites":43,"speed":34,"hex_longitude":"2da1d980","hex_latitude":"05c46258","is_valid_coordinates":true} 
[2026-07-27 17:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:44:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999503360001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:44:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359138263279075328,"note":"Value kept but may cause issues"} 
[2026-07-27 17:44:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6782421014052737024,"note":"Value kept but may cause issues"} 
[2026-07-27 17:44:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:44:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785154322000,"timestamp_ms":1785154322000,"timestamp_seconds":1785154322,"priority":1,"record_length":96,"hex_timestamp":"0000019fa37d3e50"} 
[2026-07-27 17:44:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:44:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-27 17:44:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:44:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:44:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:44:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:44:08] local.INFO: Teltonika packet parsed successfully {"connection_id":145448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:44:08] local.INFO: Passing IMEI to GPS processor {"connection_id":145448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:44:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":145448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:44:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:44:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 17:44:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 17:44:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999503360001,"66":27800,"190":206,"83":16896,"24":34,"16":359138263279075328,"45":-6782421014052737024},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,83,24,16,45]} 
[2026-07-27 17:44:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 17:44:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 17:44:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999503360001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:44:08] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-07-27 17:44:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-27 17:44:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359138263279075328,"km_value":359138263279075.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:44:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6782421014052737024,"description":"Unknown IO ID 45"} 
[2026-07-27 17:44:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999503360001,"power":27800,"unknown_190":206,"unknown_83":16896,"ignition":34,"odometer":null,"unknown_45":-6782421014052737024}} 
[2026-07-27 17:44:08] local.INFO: DEBUG: GPS processor result {"connection_id":145448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:44:08] local.INFO: GPS data processed {"connection_id":145448,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:44:08] local.INFO: Acknowledgment sent {"connection_id":145448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:44:10] local.INFO: TCP Data received {"connection_id":143033,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143033,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:44:10] local.INFO: Processing buffer {"connection_id":143033,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:44:10] local.INFO: IMEI packet received {"connection_id":143033,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 17:44:10] local.INFO: IMEI acknowledgment sent {"connection_id":143033,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:44:11] local.INFO: TCP Data received {"connection_id":143033,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa37d3e50012d1a0a80071fd000003400cb2b..."} 
[2026-07-27 17:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa37d3e50012d1a0a80071fd000003400cb2b..."} 
[2026-07-27 17:44:11] local.INFO: Processing buffer {"connection_id":143033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa37d3e50012d1a0a80071fd000003400cb2b..."} 
[2026-07-27 17:44:11] local.INFO: Packet analysis {"connection_id":143033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa37d"} 
[2026-07-27 17:44:11] local.INFO: Extracted packet for processing {"connection_id":143033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa37d"} 
[2026-07-27 17:44:11] local.INFO: GPS Element Parsed {"raw_longitude":756681344,"raw_latitude":119525376,"longitude_deg":75.6681344,"latitude_deg":11.9525376,"altitude":52,"angle":203,"satellites":43,"speed":0,"hex_longitude":"2d1a0a80","hex_latitude":"071fd000","is_valid_coordinates":true} 
[2026-07-27 17:44:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:44:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999501056001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:44:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8948091914813440,"note":"Value kept but may cause issues"} 
[2026-07-27 17:44:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1876452962840094720,"note":"Value kept but may cause issues"} 
[2026-07-27 17:44:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:44:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785154322000,"timestamp_ms":1785154322000,"timestamp_seconds":1785154322,"priority":1,"record_length":96,"hex_timestamp":"0000019fa37d3e50"} 
[2026-07-27 17:44:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:44:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-07-27 17:44:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:44:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:44:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:44:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:44:11] local.INFO: Teltonika packet parsed successfully {"connection_id":143033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:44:11] local.INFO: Passing IMEI to GPS processor {"connection_id":143033,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:44:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":143033,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:44:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:44:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:44:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:44:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999501056001,"66":14265,"121":206,"28":31744,"24":0,"16":8948091914813440,"45":1876452962840094720},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 17:44:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:44:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:44:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999501056001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:44:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 17:44:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:44:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8948091914813440,"km_value":8948091914813.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:44:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1876452962840094720,"description":"Unknown IO ID 45"} 
[2026-07-27 17:44:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999501056001,"power":14265,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1876452962840094720}} 
[2026-07-27 17:44:11] local.INFO: DEBUG: GPS processor result {"connection_id":143033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554517,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:44:11] local.INFO: GPS data processed {"connection_id":143033,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:44:11] local.INFO: Acknowledgment sent {"connection_id":143033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:44:13] local.INFO: TCP Data received {"connection_id":143034,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143034,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:44:13] local.INFO: Processing buffer {"connection_id":143034,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:44:13] local.INFO: IMEI packet received {"connection_id":143034,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 17:44:13] local.INFO: IMEI acknowledgment sent {"connection_id":143034,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:44:15] local.INFO: TCP Data received {"connection_id":143033,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa37d9058012d1a0a80071fd000003400cb26..."} 
[2026-07-27 17:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa37d9058012d1a0a80071fd000003400cb26..."} 
[2026-07-27 17:44:15] local.INFO: Processing buffer {"connection_id":143033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa37d9058012d1a0a80071fd000003400cb26..."} 
[2026-07-27 17:44:15] local.INFO: Packet analysis {"connection_id":143033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa37d"} 
[2026-07-27 17:44:15] local.INFO: Extracted packet for processing {"connection_id":143033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa37d"} 
[2026-07-27 17:44:15] local.INFO: GPS Element Parsed {"raw_longitude":756681344,"raw_latitude":119525376,"longitude_deg":75.6681344,"latitude_deg":11.9525376,"altitude":52,"angle":203,"satellites":38,"speed":0,"hex_longitude":"2d1a0a80","hex_latitude":"071fd000","is_valid_coordinates":true} 
[2026-07-27 17: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-07-27 17:44:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999506432001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:44:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8948091914813440,"note":"Value kept but may cause issues"} 
[2026-07-27 17:44:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1876452962840084480,"note":"Value kept but may cause issues"} 
[2026-07-27 17:44: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-07-27 17:44:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785154343000,"timestamp_ms":1785154343000,"timestamp_seconds":1785154343,"priority":1,"record_length":96,"hex_timestamp":"0000019fa37d9058"} 
[2026-07-27 17:44:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:44:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-27 17:44:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17: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-07-27 17:44:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:44:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:44:15] local.INFO: Teltonika packet parsed successfully {"connection_id":143033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:44:15] local.INFO: Passing IMEI to GPS processor {"connection_id":143033,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:44:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":143033,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:44:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:44:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:44:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:44:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999506432001,"66":13961,"121":206,"28":31744,"24":0,"16":8948091914813440,"45":1876452962840084480},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 17:44:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:44:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:44:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999506432001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:44:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 17:44:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:44:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8948091914813440,"km_value":8948091914813.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:44:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1876452962840084480,"description":"Unknown IO ID 45"} 
[2026-07-27 17:44:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999506432001,"power":13961,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1876452962840084480}} 
[2026-07-27 17:44:15] local.INFO: DEBUG: GPS processor result {"connection_id":143033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554518,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:44:15] local.INFO: GPS data processed {"connection_id":143033,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:44:15] local.INFO: Acknowledgment sent {"connection_id":143033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:44:17] local.INFO: TCP Data received {"connection_id":143034,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143034,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:44:17] local.INFO: Processing buffer {"connection_id":143034,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:44:17] local.INFO: IMEI packet received {"connection_id":143034,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 17:44:17] local.INFO: IMEI acknowledgment sent {"connection_id":143034,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:44:18] local.INFO: TCP Data received {"connection_id":143034,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa37e47f0012d829e0005d82140000400b32a..."} 
[2026-07-27 17:44:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa37e47f0012d829e0005d82140000400b32a..."} 
[2026-07-27 17:44:18] local.INFO: Processing buffer {"connection_id":143034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa37e47f0012d829e0005d82140000400b32a..."} 
[2026-07-27 17:44:18] local.INFO: Packet analysis {"connection_id":143034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa37e"} 
[2026-07-27 17:44:18] local.INFO: Extracted packet for processing {"connection_id":143034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa37e"} 
[2026-07-27 17:44:18] local.INFO: GPS Element Parsed {"raw_longitude":763534848,"raw_latitude":98050368,"longitude_deg":76.3534848,"latitude_deg":9.8050368,"altitude":4,"angle":179,"satellites":42,"speed":34,"hex_longitude":"2d829e00","hex_latitude":"05d82140","is_valid_coordinates":true} 
[2026-07-27 17: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-07-27 17:44:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999520000001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:44:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111731422426824704,"note":"Value kept but may cause issues"} 
[2026-07-27 17:44:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9035065252332120064,"note":"Value kept but may cause issues"} 
[2026-07-27 17:44:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:44:18] local.INFO: AVL Record Parsed {"raw_timestamp":1785154390000,"timestamp_ms":1785154390000,"timestamp_seconds":1785154390,"priority":1,"record_length":96,"hex_timestamp":"0000019fa37e47f0"} 
[2026-07-27 17:44:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:44: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-07-27 17: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":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-07-27 17:44:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17: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-07-27 17:44:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:44:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:44:18] local.INFO: Teltonika packet parsed successfully {"connection_id":143034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:44:18] local.INFO: Passing IMEI to GPS processor {"connection_id":143034,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:44:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":143034,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:44:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:44:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 17:44:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 17:44:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999520000001,"66":12928,"47":206,"85":15104,"24":34,"16":111731422426824704,"45":-9035065252332120064},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-07-27 17:44:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 17:44:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 17:44:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999520000001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:44:18] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-07-27 17:44:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 17:44:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111731422426824704,"km_value":111731422426824.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:44:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9035065252332120064,"description":"Unknown IO ID 45"} 
[2026-07-27 17:44:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999520000001,"power":12928,"unknown_47":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":-9035065252332120064}} 
[2026-07-27 17:44:18] local.INFO: DEBUG: GPS processor result {"connection_id":143034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554519,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:44:18] local.INFO: GPS data processed {"connection_id":143034,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:44:18] local.INFO: Acknowledgment sent {"connection_id":143034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:44:23] local.INFO: TCP Data received {"connection_id":143034,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa37e6f00012d829e4005d7fc88000300b429..."} 
[2026-07-27 17:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa37e6f00012d829e4005d7fc88000300b429..."} 
[2026-07-27 17:44:23] local.INFO: Processing buffer {"connection_id":143034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa37e6f00012d829e4005d7fc88000300b429..."} 
[2026-07-27 17:44:23] local.INFO: Packet analysis {"connection_id":143034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa37e"} 
[2026-07-27 17:44:23] local.INFO: Extracted packet for processing {"connection_id":143034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa37e"} 
[2026-07-27 17:44:23] local.INFO: GPS Element Parsed {"raw_longitude":763534912,"raw_latitude":98040968,"longitude_deg":76.3534912,"latitude_deg":9.8040968,"altitude":3,"angle":180,"satellites":41,"speed":41,"hex_longitude":"2d829e40","hex_latitude":"05d7fc88","is_valid_coordinates":true} 
[2026-07-27 17: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-07-27 17:44:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999523840001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:44:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111731877693358080,"note":"Value kept but may cause issues"} 
[2026-07-27 17:44:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9034783777357742080,"note":"Value kept but may cause issues"} 
[2026-07-27 17:44:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:44:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785154400000,"timestamp_ms":1785154400000,"timestamp_seconds":1785154400,"priority":1,"record_length":96,"hex_timestamp":"0000019fa37e6f00"} 
[2026-07-27 17:44:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:44: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-07-27 17: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":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-07-27 17:44:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1600,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:44:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:44:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:44:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:44:23] local.INFO: Teltonika packet parsed successfully {"connection_id":143034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:44:23] local.INFO: Passing IMEI to GPS processor {"connection_id":143034,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:44:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":143034,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:44:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:44:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 17:44:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 17:44:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999523840001,"66":12863,"155":206,"85":15104,"24":41,"16":111731877693358080,"45":-9034783777357742080},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-07-27 17:44:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 17:44:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 17:44:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999523840001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:44:23] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-27 17:44:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 17:44:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111731877693358080,"km_value":111731877693358.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:44:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9034783777357742080,"description":"Unknown IO ID 45"} 
[2026-07-27 17:44:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999523840001,"power":12863,"unknown_155":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":-9034783777357742080}} 
[2026-07-27 17:44:23] local.INFO: DEBUG: GPS processor result {"connection_id":143034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554520,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:44:23] local.INFO: GPS data processed {"connection_id":143034,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:44:23] local.INFO: Acknowledgment sent {"connection_id":143034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:44:29] local.INFO: TCP Data received {"connection_id":145449,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:44:29] local.INFO: Processing buffer {"connection_id":145449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:44:29] local.INFO: IMEI packet received {"connection_id":145449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 17:44:29] local.INFO: IMEI acknowledgment sent {"connection_id":145449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:44:31] local.INFO: TCP Data received {"connection_id":145449,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:44:31] local.INFO: Processing buffer {"connection_id":145449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:44:31] local.INFO: IMEI packet received {"connection_id":145449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 17:44:31] local.INFO: IMEI acknowledgment sent {"connection_id":145449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:44:36] local.INFO: TCP Data received {"connection_id":145449,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:44:36] local.INFO: Processing buffer {"connection_id":145449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:44:36] local.INFO: IMEI packet received {"connection_id":145449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 17:44:36] local.INFO: IMEI acknowledgment sent {"connection_id":145449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:44:37] local.INFO: TCP Data received {"connection_id":145449,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa37d6560012da1d2c005c486800016015c2d..."} 
[2026-07-27 17:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa37d6560012da1d2c005c486800016015c2d..."} 
[2026-07-27 17:44:37] local.INFO: Processing buffer {"connection_id":145449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa37d6560012da1d2c005c486800016015c2d..."} 
[2026-07-27 17:44:37] local.INFO: Packet analysis {"connection_id":145449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa37d"} 
[2026-07-27 17:44:37] local.INFO: Extracted packet for processing {"connection_id":145449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa37d"} 
[2026-07-27 17:44:37] local.INFO: GPS Element Parsed {"raw_longitude":765579968,"raw_latitude":96765568,"longitude_deg":76.5579968,"latitude_deg":9.6765568,"altitude":22,"angle":348,"satellites":45,"speed":31,"hex_longitude":"2da1d2c0","hex_latitude":"05c48680","is_valid_coordinates":true} 
[2026-07-27 17:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:44:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999506432001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:44:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359138718545608704,"note":"Value kept but may cause issues"} 
[2026-07-27 17:44:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6784250601398970368,"note":"Value kept but may cause issues"} 
[2026-07-27 17:44:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:44:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785154332000,"timestamp_ms":1785154332000,"timestamp_seconds":1785154332,"priority":1,"record_length":96,"hex_timestamp":"0000019fa37d6560"} 
[2026-07-27 17:44:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:44:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-27 17:44:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:44:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:44:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:44:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:44:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:44:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:44:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:44:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:44:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 17:44:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 17:44:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999506432001,"66":27876,"190":206,"83":16896,"24":31,"16":359138718545608704,"45":-6784250601398970368},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,83,24,16,45]} 
[2026-07-27 17:44:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 17:44:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 17:44:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999506432001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:44:37] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-07-27 17:44:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-27 17:44:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359138718545608704,"km_value":359138718545608.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:44:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6784250601398970368,"description":"Unknown IO ID 45"} 
[2026-07-27 17:44:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999506432001,"power":27876,"unknown_190":206,"unknown_83":16896,"ignition":31,"odometer":null,"unknown_45":-6784250601398970368}} 
[2026-07-27 17:44:37] local.INFO: DEBUG: GPS processor result {"connection_id":145449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:44:37] local.INFO: GPS data processed {"connection_id":145449,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:44:37] local.INFO: Acknowledgment sent {"connection_id":145449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:45:00] local.INFO: TCP Data received {"connection_id":143035,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143035,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:45:00] local.INFO: Processing buffer {"connection_id":143035,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:45:00] local.INFO: IMEI packet received {"connection_id":143035,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 17:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":143035,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:45:03] local.INFO: TCP Data received {"connection_id":143036,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143036,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:45:03] local.INFO: Processing buffer {"connection_id":143036,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:45:03] local.INFO: IMEI packet received {"connection_id":143036,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 17:45:03] local.INFO: IMEI acknowledgment sent {"connection_id":143036,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:45:04] local.INFO: TCP Data received {"connection_id":143035,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143035,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:45:04] local.INFO: Processing buffer {"connection_id":143035,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:45:04] local.INFO: IMEI packet received {"connection_id":143035,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 17:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":143035,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:45:05] local.INFO: TCP Data received {"connection_id":143035,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa37de260012d1a0a80071fd000003400cb27..."} 
[2026-07-27 17:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143035,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa37de260012d1a0a80071fd000003400cb27..."} 
[2026-07-27 17:45:05] local.INFO: Processing buffer {"connection_id":143035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa37de260012d1a0a80071fd000003400cb27..."} 
[2026-07-27 17:45:05] local.INFO: Packet analysis {"connection_id":143035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa37d"} 
[2026-07-27 17:45:05] local.INFO: Extracted packet for processing {"connection_id":143035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa37d"} 
[2026-07-27 17:45:05] local.INFO: GPS Element Parsed {"raw_longitude":756681344,"raw_latitude":119525376,"longitude_deg":75.6681344,"latitude_deg":11.9525376,"altitude":52,"angle":203,"satellites":39,"speed":0,"hex_longitude":"2d1a0a80","hex_latitude":"071fd000","is_valid_coordinates":true} 
[2026-07-27 17:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:45:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999511808001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:45:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8948091914813440,"note":"Value kept but may cause issues"} 
[2026-07-27 17:45:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1876452962840084480,"note":"Value kept but may cause issues"} 
[2026-07-27 17:45:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:45:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785154364000,"timestamp_ms":1785154364000,"timestamp_seconds":1785154364,"priority":1,"record_length":96,"hex_timestamp":"0000019fa37de260"} 
[2026-07-27 17:45:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:45:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-07-27 17:45:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:45:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:45:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:45:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:45:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:45:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:45:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:45:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:45:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:45:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:45:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999511808001,"66":12993,"121":206,"28":31744,"24":0,"16":8948091914813440,"45":1876452962840084480},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 17:45:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:45:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:45:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999511808001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:45:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 17:45:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:45:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8948091914813440,"km_value":8948091914813.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:45:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1876452962840084480,"description":"Unknown IO ID 45"} 
[2026-07-27 17:45:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999511808001,"power":12993,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1876452962840084480}} 
[2026-07-27 17:45:05] local.INFO: DEBUG: GPS processor result {"connection_id":143035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554522,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:45:05] local.INFO: GPS data processed {"connection_id":143035,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:45:05] local.INFO: Acknowledgment sent {"connection_id":143035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:45:08] local.INFO: TCP Data received {"connection_id":143036,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143036,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:45:08] local.INFO: Processing buffer {"connection_id":143036,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:45:08] local.INFO: IMEI packet received {"connection_id":143036,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 17:45:08] local.INFO: IMEI acknowledgment sent {"connection_id":143036,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:45:08] local.INFO: TCP Data received {"connection_id":145449,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa37f2698012da1a98005c5e0f0001f00222b..."} 
[2026-07-27 17:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa37f2698012da1a98005c5e0f0001f00222b..."} 
[2026-07-27 17:45:08] local.INFO: Processing buffer {"connection_id":145449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa37f2698012da1a98005c5e0f0001f00222b..."} 
[2026-07-27 17:45:08] local.INFO: Packet analysis {"connection_id":145449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa37f"} 
[2026-07-27 17:45:08] local.INFO: Extracted packet for processing {"connection_id":145449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa37f"} 
[2026-07-27 17:45:08] local.INFO: GPS Element Parsed {"raw_longitude":765569408,"raw_latitude":96854256,"longitude_deg":76.5569408,"latitude_deg":9.6854256,"altitude":31,"angle":34,"satellites":43,"speed":18,"hex_longitude":"2da1a980","hex_latitude":"05c5e0f0","is_valid_coordinates":true} 
[2026-07-27 17:45:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:45:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999538176001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:45:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359143146656890880,"note":"Value kept but may cause issues"} 
[2026-07-27 17:45:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6798113243976972288,"note":"Value kept but may cause issues"} 
[2026-07-27 17:45:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:45:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785154447000,"timestamp_ms":1785154447000,"timestamp_seconds":1785154447,"priority":1,"record_length":96,"hex_timestamp":"0000019fa37f2698"} 
[2026-07-27 17:45:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:45:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-27 17:45:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:45:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:45:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:45:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:45:08] local.INFO: Teltonika packet parsed successfully {"connection_id":145449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:45:08] local.INFO: Passing IMEI to GPS processor {"connection_id":145449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:45:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":145449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:45:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:45:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 17:45:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 17:45:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999538176001,"66":27843,"189":206,"83":16896,"24":18,"16":359143146656890880,"45":-6798113243976972288},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,83,24,16,45]} 
[2026-07-27 17:45:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 17:45:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 17:45:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999538176001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:45:08] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-07-27 17:45:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-27 17:45:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359143146656890880,"km_value":359143146656890.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:45:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6798113243976972288,"description":"Unknown IO ID 45"} 
[2026-07-27 17:45:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999538176001,"power":27843,"unknown_189":206,"unknown_83":16896,"ignition":18,"odometer":null,"unknown_45":-6798113243976972288}} 
[2026-07-27 17:45:08] local.INFO: DEBUG: GPS processor result {"connection_id":145449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:45:08] local.INFO: GPS data processed {"connection_id":145449,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:45:08] local.INFO: Acknowledgment sent {"connection_id":145449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:45:12] local.INFO: TCP Data received {"connection_id":143036,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143036,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:45:12] local.INFO: Processing buffer {"connection_id":143036,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:45:12] local.INFO: IMEI packet received {"connection_id":143036,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 17:45:12] local.INFO: IMEI acknowledgment sent {"connection_id":143036,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:45:13] local.INFO: TCP Data received {"connection_id":143036,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa37e9228012d82a00005d7d7b0000200b12b..."} 
[2026-07-27 17:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa37e9228012d82a00005d7d7b0000200b12b..."} 
[2026-07-27 17:45:13] local.INFO: Processing buffer {"connection_id":143036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa37e9228012d82a00005d7d7b0000200b12b..."} 
[2026-07-27 17:45:13] local.INFO: Packet analysis {"connection_id":143036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa37e"} 
[2026-07-27 17:45:13] local.INFO: Extracted packet for processing {"connection_id":143036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa37e"} 
[2026-07-27 17:45:13] local.INFO: GPS Element Parsed {"raw_longitude":763535360,"raw_latitude":98031536,"longitude_deg":76.353536,"latitude_deg":9.8031536,"altitude":2,"angle":177,"satellites":43,"speed":38,"hex_longitude":"2d82a000","hex_latitude":"05d7d7b0","is_valid_coordinates":true} 
[2026-07-27 17:45:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:45:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999526400001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:45:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111732337254858752,"note":"Value kept but may cause issues"} 
[2026-07-27 17:45:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9034713408615970816,"note":"Value kept but may cause issues"} 
[2026-07-27 17:45:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:45:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785154409000,"timestamp_ms":1785154409000,"timestamp_seconds":1785154409,"priority":1,"record_length":96,"hex_timestamp":"0000019fa37e9228"} 
[2026-07-27 17:45:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:45:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:45:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-27 17:45:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:45:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:45:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:45:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:45:13] local.INFO: Teltonika packet parsed successfully {"connection_id":143036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:45:13] local.INFO: Passing IMEI to GPS processor {"connection_id":143036,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:45:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":143036,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:45:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:45:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 17:45:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 17:45:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999526400001,"66":12613,"155":206,"85":15104,"24":38,"16":111732337254858752,"45":-9034713408615970816},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-07-27 17:45:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 17:45:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 17:45:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999526400001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:45:13] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-27 17:45:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 17:45:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111732337254858752,"km_value":111732337254858.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:45:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9034713408615970816,"description":"Unknown IO ID 45"} 
[2026-07-27 17:45:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999526400001,"power":12613,"unknown_155":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":-9034713408615970816}} 
[2026-07-27 17:45:13] local.INFO: DEBUG: GPS processor result {"connection_id":143036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554524,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:45:13] local.INFO: GPS data processed {"connection_id":143036,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:45:13] local.INFO: Acknowledgment sent {"connection_id":143036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:45:32] local.INFO: TCP Data received {"connection_id":143037,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:45:32] local.INFO: Processing buffer {"connection_id":143037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:45:32] local.INFO: IMEI packet received {"connection_id":143037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 17:45:32] local.INFO: IMEI acknowledgment sent {"connection_id":143037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:45:32] local.INFO: TCP Data received {"connection_id":143037,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:45:32] local.INFO: Processing buffer {"connection_id":143037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:45:32] local.INFO: IMEI packet received {"connection_id":143037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 17:45:32] local.INFO: IMEI acknowledgment sent {"connection_id":143037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:45:33] local.INFO: TCP Data received {"connection_id":143037,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:45:33] local.INFO: Processing buffer {"connection_id":143037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:45:33] local.INFO: IMEI packet received {"connection_id":143037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 17:45:33] local.INFO: IMEI acknowledgment sent {"connection_id":143037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:45:36] local.INFO: TCP Data received {"connection_id":143037,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:45:36] local.INFO: Processing buffer {"connection_id":143037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:45:36] local.INFO: IMEI packet received {"connection_id":143037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 17:45:36] local.INFO: IMEI acknowledgment sent {"connection_id":143037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:45:37] local.INFO: TCP Data received {"connection_id":143035,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa37e3468012d1a0a80071fd000003400cb25..."} 
[2026-07-27 17:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143035,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa37e3468012d1a0a80071fd000003400cb25..."} 
[2026-07-27 17:45:37] local.INFO: Processing buffer {"connection_id":143035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa37e3468012d1a0a80071fd000003400cb25..."} 
[2026-07-27 17:45:37] local.INFO: Packet analysis {"connection_id":143035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa37e"} 
[2026-07-27 17:45:37] local.INFO: Extracted packet for processing {"connection_id":143035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa37e"} 
[2026-07-27 17:45:37] local.INFO: GPS Element Parsed {"raw_longitude":756681344,"raw_latitude":119525376,"longitude_deg":75.6681344,"latitude_deg":11.9525376,"altitude":52,"angle":203,"satellites":37,"speed":0,"hex_longitude":"2d1a0a80","hex_latitude":"071fd000","is_valid_coordinates":true} 
[2026-07-27 17:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999517184001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8948091914813440,"note":"Value kept but may cause issues"} 
[2026-07-27 17:45:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1876452962840084480,"note":"Value kept but may cause issues"} 
[2026-07-27 17:45:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785154385000,"timestamp_ms":1785154385000,"timestamp_seconds":1785154385,"priority":1,"record_length":96,"hex_timestamp":"0000019fa37e3468"} 
[2026-07-27 17:45:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:45:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-07-27 17:45:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:45:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:45:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:45:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999517184001,"66":13004,"121":206,"28":31744,"24":0,"16":8948091914813440,"45":1876452962840084480},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 17:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999517184001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:45:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 17:45:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:45:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8948091914813440,"km_value":8948091914813.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:45:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1876452962840084480,"description":"Unknown IO ID 45"} 
[2026-07-27 17:45:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999517184001,"power":13004,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1876452962840084480}} 
[2026-07-27 17:45:37] local.INFO: DEBUG: GPS processor result {"connection_id":143035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554525,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:45:37] local.INFO: GPS data processed {"connection_id":143035,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:45:37] local.INFO: Acknowledgment sent {"connection_id":143035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:45:37] local.INFO: TCP Data received {"connection_id":143037,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa37f2a80012da1aa4005c5e298001f00152c..."} 
[2026-07-27 17:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa37f2a80012da1aa4005c5e298001f00152c..."} 
[2026-07-27 17:45:37] local.INFO: Processing buffer {"connection_id":143037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa37f2a80012da1aa4005c5e298001f00152c..."} 
[2026-07-27 17:45:37] local.INFO: Packet analysis {"connection_id":143037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa37f"} 
[2026-07-27 17:45:37] local.INFO: Extracted packet for processing {"connection_id":143037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa37f"} 
[2026-07-27 17:45:37] local.INFO: GPS Element Parsed {"raw_longitude":765569600,"raw_latitude":96854680,"longitude_deg":76.55696,"latitude_deg":9.685468,"altitude":31,"angle":21,"satellites":44,"speed":20,"hex_longitude":"2da1aa40","hex_latitude":"05c5e298","is_valid_coordinates":true} 
[2026-07-27 17:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999538432001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359143168131727360,"note":"Value kept but may cause issues"} 
[2026-07-27 17:45:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6797761400256008192,"note":"Value kept but may cause issues"} 
[2026-07-27 17:45:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785154448000,"timestamp_ms":1785154448000,"timestamp_seconds":1785154448,"priority":1,"record_length":96,"hex_timestamp":"0000019fa37f2a80"} 
[2026-07-27 17:45:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:45:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-27 17:45:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:45:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:45:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:45:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 17:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 17:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999538432001,"66":27767,"189":206,"83":16896,"24":20,"16":359143168131727360,"45":-6797761400256008192},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,83,24,16,45]} 
[2026-07-27 17:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 17:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 17:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999538432001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:45:37] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-07-27 17:45:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-27 17:45:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359143168131727360,"km_value":359143168131727.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:45:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6797761400256008192,"description":"Unknown IO ID 45"} 
[2026-07-27 17:45:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999538432001,"power":27767,"unknown_189":206,"unknown_83":16896,"ignition":20,"odometer":null,"unknown_45":-6797761400256008192}} 
[2026-07-27 17:45:37] local.INFO: DEBUG: GPS processor result {"connection_id":143037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:45:37] local.INFO: GPS data processed {"connection_id":143037,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:45:37] local.INFO: Acknowledgment sent {"connection_id":143037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:45:44] local.INFO: TCP Data received {"connection_id":143036,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3807e58012d82d08005d685f80002009e2a..."} 
[2026-07-27 17:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3807e58012d82d08005d685f80002009e2a..."} 
[2026-07-27 17:45:44] local.INFO: Processing buffer {"connection_id":143036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3807e58012d82d08005d685f80002009e2a..."} 
[2026-07-27 17:45:44] local.INFO: Packet analysis {"connection_id":143036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa380"} 
[2026-07-27 17:45:44] local.INFO: Extracted packet for processing {"connection_id":143036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa380"} 
[2026-07-27 17:45:44] local.INFO: GPS Element Parsed {"raw_longitude":763547776,"raw_latitude":97945080,"longitude_deg":76.3547776,"latitude_deg":9.794508,"altitude":2,"angle":158,"satellites":42,"speed":7,"hex_longitude":"2d82d080","hex_latitude":"05d685f8","is_valid_coordinates":true} 
[2026-07-27 17: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-07-27 17:45:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999560448001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:45:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111736688056729600,"note":"Value kept but may cause issues"} 
[2026-07-27 17:45:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9020780397293268992,"note":"Value kept but may cause issues"} 
[2026-07-27 17:45:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:45:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785154535000,"timestamp_ms":1785154535000,"timestamp_seconds":1785154535,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3807e58"} 
[2026-07-27 17:45:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:45:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17: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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-27 17:45:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17: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-07-27 17:45:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:45:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:45:44] local.INFO: Teltonika packet parsed successfully {"connection_id":143036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:45:44] local.INFO: Passing IMEI to GPS processor {"connection_id":143036,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:45:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":143036,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:45:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:45:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 17:45:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 17:45:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999560448001,"66":12439,"156":206,"85":15104,"24":7,"16":111736688056729600,"45":-9020780397293268992},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-07-27 17:45:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 17:45:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 17:45:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999560448001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:45:44] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-27 17:45:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 17:45:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111736688056729600,"km_value":111736688056729.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:45:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9020780397293268992,"description":"Unknown IO ID 45"} 
[2026-07-27 17:45:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999560448001,"power":12439,"unknown_156":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":-9020780397293268992}} 
[2026-07-27 17:45:44] local.INFO: DEBUG: GPS processor result {"connection_id":143036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554527,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:45:44] local.INFO: GPS data processed {"connection_id":143036,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:45:44] local.INFO: Acknowledgment sent {"connection_id":143036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:45:59] local.INFO: TCP Data received {"connection_id":143038,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143038,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:45:59] local.INFO: Processing buffer {"connection_id":143038,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:45:59] local.INFO: IMEI packet received {"connection_id":143038,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 17:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":143038,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:46:04] local.INFO: TCP Data received {"connection_id":143038,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143038,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:46:04] local.INFO: Processing buffer {"connection_id":143038,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:46:04] local.INFO: IMEI packet received {"connection_id":143038,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 17:46:04] local.INFO: IMEI acknowledgment sent {"connection_id":143038,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:46:06] local.INFO: TCP Data received {"connection_id":143038,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa37e8670012d1a0a80071fd000003400cb28..."} 
[2026-07-27 17:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143038,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa37e8670012d1a0a80071fd000003400cb28..."} 
[2026-07-27 17:46:06] local.INFO: Processing buffer {"connection_id":143038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa37e8670012d1a0a80071fd000003400cb28..."} 
[2026-07-27 17:46:06] local.INFO: Packet analysis {"connection_id":143038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa37e"} 
[2026-07-27 17:46:06] local.INFO: Extracted packet for processing {"connection_id":143038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa37e"} 
[2026-07-27 17:46:06] local.INFO: GPS Element Parsed {"raw_longitude":756681344,"raw_latitude":119525376,"longitude_deg":75.6681344,"latitude_deg":11.9525376,"altitude":52,"angle":203,"satellites":40,"speed":0,"hex_longitude":"2d1a0a80","hex_latitude":"071fd000","is_valid_coordinates":true} 
[2026-07-27 17:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:46:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999522560001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:46:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8948091914813440,"note":"Value kept but may cause issues"} 
[2026-07-27 17:46:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1876452962840084480,"note":"Value kept but may cause issues"} 
[2026-07-27 17:46:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:46:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785154406000,"timestamp_ms":1785154406000,"timestamp_seconds":1785154406,"priority":1,"record_length":96,"hex_timestamp":"0000019fa37e8670"} 
[2026-07-27 17:46:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:46:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-07-27 17:46:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:46:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:46:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:46:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:46:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:46:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143038,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:46:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143038,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:46:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:46:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:46:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:46:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999522560001,"66":12939,"121":206,"28":31744,"24":0,"16":8948091914813440,"45":1876452962840084480},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 17:46:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:46:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:46:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999522560001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:46:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 17:46:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:46:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8948091914813440,"km_value":8948091914813.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:46:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1876452962840084480,"description":"Unknown IO ID 45"} 
[2026-07-27 17:46:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999522560001,"power":12939,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1876452962840084480}} 
[2026-07-27 17:46:06] local.INFO: DEBUG: GPS processor result {"connection_id":143038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554528,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:46:06] local.INFO: GPS data processed {"connection_id":143038,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:46:06] local.INFO: Acknowledgment sent {"connection_id":143038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:46:08] local.INFO: TCP Data received {"connection_id":144167,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144167,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:46:08] local.INFO: Processing buffer {"connection_id":144167,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:46:08] local.INFO: IMEI packet received {"connection_id":144167,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 17:46:08] local.INFO: IMEI acknowledgment sent {"connection_id":144167,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:46:08] local.INFO: TCP Data received {"connection_id":143037,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa37f6518012da1b30005c604380022000c2b..."} 
[2026-07-27 17:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa37f6518012da1b30005c604380022000c2b..."} 
[2026-07-27 17:46:08] local.INFO: Processing buffer {"connection_id":143037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa37f6518012da1b30005c604380022000c2b..."} 
[2026-07-27 17:46:08] local.INFO: Packet analysis {"connection_id":143037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa37f"} 
[2026-07-27 17:46:08] local.INFO: Extracted packet for processing {"connection_id":143037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa37f"} 
[2026-07-27 17:46:08] local.INFO: GPS Element Parsed {"raw_longitude":765571840,"raw_latitude":96863288,"longitude_deg":76.557184,"latitude_deg":9.6863288,"altitude":34,"angle":12,"satellites":43,"speed":26,"hex_longitude":"2da1b300","hex_latitude":"05c60438","is_valid_coordinates":true} 
[2026-07-27 17:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:46:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999538688001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:46:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359143601923424256,"note":"Value kept but may cause issues"} 
[2026-07-27 17:46:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6797550294023366656,"note":"Value kept but may cause issues"} 
[2026-07-27 17:46:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:46:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785154463000,"timestamp_ms":1785154463000,"timestamp_seconds":1785154463,"priority":1,"record_length":96,"hex_timestamp":"0000019fa37f6518"} 
[2026-07-27 17:46:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:46:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-27 17:46:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:46:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:46:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:46:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:46:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:46:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:46:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:46:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:46:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 17:46:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 17:46:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999538688001,"66":27908,"189":206,"83":16896,"24":26,"16":359143601923424256,"45":-6797550294023366656},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,83,24,16,45]} 
[2026-07-27 17:46:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 17:46:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 17:46:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999538688001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:46:08] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-07-27 17:46:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-27 17:46:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359143601923424256,"km_value":359143601923424.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:46:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6797550294023366656,"description":"Unknown IO ID 45"} 
[2026-07-27 17:46:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999538688001,"power":27908,"unknown_189":206,"unknown_83":16896,"ignition":26,"odometer":null,"unknown_45":-6797550294023366656}} 
[2026-07-27 17:46:08] local.INFO: DEBUG: GPS processor result {"connection_id":143037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:46:08] local.INFO: GPS data processed {"connection_id":143037,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:46:08] local.INFO: Acknowledgment sent {"connection_id":143037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:46:08] local.INFO: TCP Data received {"connection_id":144167,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144167,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:46:08] local.INFO: Processing buffer {"connection_id":144167,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:46:08] local.INFO: IMEI packet received {"connection_id":144167,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 17:46:08] local.INFO: IMEI acknowledgment sent {"connection_id":144167,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:46:13] local.INFO: TCP Data received {"connection_id":144167,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144167,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:46:13] local.INFO: Processing buffer {"connection_id":144167,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:46:13] local.INFO: IMEI packet received {"connection_id":144167,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 17:46:13] local.INFO: IMEI acknowledgment sent {"connection_id":144167,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:46:13] local.INFO: TCP Data received {"connection_id":144167,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3808a10012d82d10005d683e8000100ac29..."} 
[2026-07-27 17:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144167,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3808a10012d82d10005d683e8000100ac29..."} 
[2026-07-27 17:46:13] local.INFO: Processing buffer {"connection_id":144167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3808a10012d82d10005d683e8000100ac29..."} 
[2026-07-27 17:46:13] local.INFO: Packet analysis {"connection_id":144167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa380"} 
[2026-07-27 17:46:13] local.INFO: Extracted packet for processing {"connection_id":144167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa380"} 
[2026-07-27 17:46:13] local.INFO: GPS Element Parsed {"raw_longitude":763547904,"raw_latitude":97944552,"longitude_deg":76.3547904,"latitude_deg":9.7944552,"altitude":1,"angle":172,"satellites":41,"speed":8,"hex_longitude":"2d82d100","hex_latitude":"05d683e8","is_valid_coordinates":true} 
[2026-07-27 17: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-07-27 17:46:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999560960001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:46:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111736713826533376,"note":"Value kept but may cause issues"} 
[2026-07-27 17:46:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9020569291060807680,"note":"Value kept but may cause issues"} 
[2026-07-27 17:46:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:46:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785154538000,"timestamp_ms":1785154538000,"timestamp_seconds":1785154538,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3808a10"} 
[2026-07-27 17:46:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:46:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17: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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-27 17:46:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:46:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:46:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:46:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:46:13] local.INFO: Teltonika packet parsed successfully {"connection_id":144167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:46:13] local.INFO: Passing IMEI to GPS processor {"connection_id":144167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:46:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":144167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:46:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:46:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 17:46:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 17:46:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999560960001,"66":12461,"156":206,"85":15104,"24":8,"16":111736713826533376,"45":-9020569291060807680},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-07-27 17:46:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 17:46:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 17:46:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999560960001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:46:13] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-27 17:46:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 17:46:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111736713826533376,"km_value":111736713826533.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:46:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9020569291060807680,"description":"Unknown IO ID 45"} 
[2026-07-27 17:46:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999560960001,"power":12461,"unknown_156":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":-9020569291060807680}} 
[2026-07-27 17:46:13] local.INFO: DEBUG: GPS processor result {"connection_id":144167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554530,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:46:13] local.INFO: GPS data processed {"connection_id":144167,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:46:13] local.INFO: Acknowledgment sent {"connection_id":144167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:46:37] local.INFO: TCP Data received {"connection_id":145450,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:46:37] local.INFO: Processing buffer {"connection_id":145450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:46:37] local.INFO: IMEI packet received {"connection_id":145450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 17:46:37] local.INFO: IMEI acknowledgment sent {"connection_id":145450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:46:37] local.INFO: TCP Data received {"connection_id":145450,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:46:37] local.INFO: Processing buffer {"connection_id":145450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:46:37] local.INFO: IMEI packet received {"connection_id":145450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 17:46:37] local.INFO: IMEI acknowledgment sent {"connection_id":145450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:46:38] local.INFO: TCP Data received {"connection_id":143038,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa37ed878012d1a0a80071fd000003400cb26..."} 
[2026-07-27 17:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143038,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa37ed878012d1a0a80071fd000003400cb26..."} 
[2026-07-27 17:46:38] local.INFO: Processing buffer {"connection_id":143038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa37ed878012d1a0a80071fd000003400cb26..."} 
[2026-07-27 17:46:38] local.INFO: Packet analysis {"connection_id":143038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa37e"} 
[2026-07-27 17:46:38] local.INFO: Extracted packet for processing {"connection_id":143038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa37e"} 
[2026-07-27 17:46:38] local.INFO: GPS Element Parsed {"raw_longitude":756681344,"raw_latitude":119525376,"longitude_deg":75.6681344,"latitude_deg":11.9525376,"altitude":52,"angle":203,"satellites":38,"speed":0,"hex_longitude":"2d1a0a80","hex_latitude":"071fd000","is_valid_coordinates":true} 
[2026-07-27 17:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:46:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999527936001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:46:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8948091914813440,"note":"Value kept but may cause issues"} 
[2026-07-27 17:46:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1876452962840084480,"note":"Value kept but may cause issues"} 
[2026-07-27 17:46:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:46:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785154427000,"timestamp_ms":1785154427000,"timestamp_seconds":1785154427,"priority":1,"record_length":96,"hex_timestamp":"0000019fa37ed878"} 
[2026-07-27 17:46:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:46:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-27 17:46:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:46:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:46:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:46:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:46:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:46:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143038,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:46:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143038,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:46:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:46:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:46:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:46:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999527936001,"66":12928,"121":206,"28":31744,"24":0,"16":8948091914813440,"45":1876452962840084480},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 17:46:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:46:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:46:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999527936001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:46:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 17:46:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:46:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8948091914813440,"km_value":8948091914813.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:46:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1876452962840084480,"description":"Unknown IO ID 45"} 
[2026-07-27 17:46:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999527936001,"power":12928,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1876452962840084480}} 
[2026-07-27 17:46:38] local.INFO: DEBUG: GPS processor result {"connection_id":143038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554531,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:46:38] local.INFO: GPS data processed {"connection_id":143038,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:46:38] local.INFO: Acknowledgment sent {"connection_id":143038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:46:41] local.INFO: TCP Data received {"connection_id":145450,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:46:41] local.INFO: Processing buffer {"connection_id":145450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:46:41] local.INFO: IMEI packet received {"connection_id":145450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 17:46:41] local.INFO: IMEI acknowledgment sent {"connection_id":145450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:46:42] local.INFO: TCP Data received {"connection_id":145450,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3806eb8012da2068005c6ba30003f00152d..."} 
[2026-07-27 17:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3806eb8012da2068005c6ba30003f00152d..."} 
[2026-07-27 17:46:42] local.INFO: Processing buffer {"connection_id":145450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3806eb8012da2068005c6ba30003f00152d..."} 
[2026-07-27 17:46:42] local.INFO: Packet analysis {"connection_id":145450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa380"} 
[2026-07-27 17:46:42] local.INFO: Extracted packet for processing {"connection_id":145450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa380"} 
[2026-07-27 17:46:42] local.INFO: GPS Element Parsed {"raw_longitude":765593216,"raw_latitude":96909872,"longitude_deg":76.5593216,"latitude_deg":9.6909872,"altitude":63,"angle":21,"satellites":45,"speed":34,"hex_longitude":"2da20680","hex_latitude":"05c6ba30","is_valid_coordinates":true} 
[2026-07-27 17:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:46:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999558144001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:46:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359146170313867264,"note":"Value kept but may cause issues"} 
[2026-07-27 17:46:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6772639758571870208,"note":"Value kept but may cause issues"} 
[2026-07-27 17:46:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:46:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785154531000,"timestamp_ms":1785154531000,"timestamp_seconds":1785154531,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3806eb8"} 
[2026-07-27 17:46:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:46:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-27 17:46:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:46:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:46:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:46:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:46:42] local.INFO: Teltonika packet parsed successfully {"connection_id":145450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:46:42] local.INFO: Passing IMEI to GPS processor {"connection_id":145450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:46:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":145450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:46:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:46:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 17:46:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 17:46:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999558144001,"66":27626,"199":206,"83":16896,"24":34,"16":359146170313867264,"45":-6772639758571870208},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,83,24,16,45]} 
[2026-07-27 17:46:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 17:46:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 17:46:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999558144001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:46:42] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-27 17:46:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-27 17:46:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359146170313867264,"km_value":359146170313867.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:46:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6772639758571870208,"description":"Unknown IO ID 45"} 
[2026-07-27 17:46:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999558144001,"power":27626,"trip_odometer":0.206,"unknown_83":16896,"ignition":34,"odometer":null,"unknown_45":-6772639758571870208}} 
[2026-07-27 17:46:42] local.INFO: DEBUG: GPS processor result {"connection_id":145450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:46:42] local.INFO: GPS data processed {"connection_id":145450,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:46:42] local.INFO: Acknowledgment sent {"connection_id":145450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:46:45] local.INFO: TCP Data received {"connection_id":144167,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3808df8012d82d10005d68330000100bc29..."} 
[2026-07-27 17:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144167,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3808df8012d82d10005d68330000100bc29..."} 
[2026-07-27 17:46:45] local.INFO: Processing buffer {"connection_id":144167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3808df8012d82d10005d68330000100bc29..."} 
[2026-07-27 17:46:45] local.INFO: Packet analysis {"connection_id":144167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa380"} 
[2026-07-27 17:46:45] local.INFO: Extracted packet for processing {"connection_id":144167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa380"} 
[2026-07-27 17:46:45] local.INFO: GPS Element Parsed {"raw_longitude":763547904,"raw_latitude":97944368,"longitude_deg":76.3547904,"latitude_deg":9.7944368,"altitude":1,"angle":188,"satellites":41,"speed":8,"hex_longitude":"2d82d100","hex_latitude":"05d68330","is_valid_coordinates":true} 
[2026-07-27 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-07-27 17:46:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999561728001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:46:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111736722416467968,"note":"Value kept but may cause issues"} 
[2026-07-27 17:46:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9020428553572587520,"note":"Value kept but may cause issues"} 
[2026-07-27 17:46:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:46:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785154539000,"timestamp_ms":1785154539000,"timestamp_seconds":1785154539,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3808df8"} 
[2026-07-27 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-07-27 17:46:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:46:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-27 17:46: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-07-27 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-07-27 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-07-27 17:46:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:46:45] local.INFO: Teltonika packet parsed successfully {"connection_id":144167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:46:45] local.INFO: Passing IMEI to GPS processor {"connection_id":144167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:46:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":144167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:46:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:46:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 17:46:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 17:46:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999561728001,"66":12461,"156":206,"85":15104,"24":8,"16":111736722416467968,"45":-9020428553572587520},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-07-27 17:46:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 17:46:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 17:46:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999561728001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:46:45] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-27 17:46:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 17:46:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111736722416467968,"km_value":111736722416467.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:46:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9020428553572587520,"description":"Unknown IO ID 45"} 
[2026-07-27 17:46:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999561728001,"power":12461,"unknown_156":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":-9020428553572587520}} 
[2026-07-27 17:46:45] local.INFO: DEBUG: GPS processor result {"connection_id":144167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554533,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:46:45] local.INFO: GPS data processed {"connection_id":144167,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:46:45] local.INFO: Acknowledgment sent {"connection_id":144167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:46:59] local.INFO: TCP Data received {"connection_id":145451,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145451,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:46:59] local.INFO: Processing buffer {"connection_id":145451,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:46:59] local.INFO: IMEI packet received {"connection_id":145451,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 17:46:59] local.INFO: IMEI acknowledgment sent {"connection_id":145451,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:47:00] local.INFO: TCP Data received {"connection_id":145451,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145451,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:47:00] local.INFO: Processing buffer {"connection_id":145451,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:47:00] local.INFO: IMEI packet received {"connection_id":145451,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 17:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":145451,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:47:05] local.INFO: TCP Data received {"connection_id":145451,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145451,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:47:05] local.INFO: Processing buffer {"connection_id":145451,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:47:05] local.INFO: IMEI packet received {"connection_id":145451,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 17:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":145451,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:47:06] local.INFO: TCP Data received {"connection_id":143181,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143181,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:47:06] local.INFO: Processing buffer {"connection_id":143181,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:47:06] local.INFO: IMEI packet received {"connection_id":143181,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 17:47:06] local.INFO: IMEI acknowledgment sent {"connection_id":143181,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:47:10] local.INFO: TCP Data received {"connection_id":145451,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa37f2a80012d1a0a80071fd000003400cb25..."} 
[2026-07-27 17:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa37f2a80012d1a0a80071fd000003400cb25..."} 
[2026-07-27 17:47:10] local.INFO: Processing buffer {"connection_id":145451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa37f2a80012d1a0a80071fd000003400cb25..."} 
[2026-07-27 17:47:10] local.INFO: Packet analysis {"connection_id":145451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa37f"} 
[2026-07-27 17:47:10] local.INFO: Extracted packet for processing {"connection_id":145451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa37f"} 
[2026-07-27 17:47:10] local.INFO: GPS Element Parsed {"raw_longitude":756681344,"raw_latitude":119525376,"longitude_deg":75.6681344,"latitude_deg":11.9525376,"altitude":52,"angle":203,"satellites":37,"speed":0,"hex_longitude":"2d1a0a80","hex_latitude":"071fd000","is_valid_coordinates":true} 
[2026-07-27 17:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:47:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999533312001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:47:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8948091914813440,"note":"Value kept but may cause issues"} 
[2026-07-27 17:47:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1876452962840084480,"note":"Value kept but may cause issues"} 
[2026-07-27 17:47:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:47:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785154448000,"timestamp_ms":1785154448000,"timestamp_seconds":1785154448,"priority":1,"record_length":96,"hex_timestamp":"0000019fa37f2a80"} 
[2026-07-27 17:47:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:47:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17: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":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-07-27 17:47:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1600,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:47:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:47:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:47:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:47:10] local.INFO: Teltonika packet parsed successfully {"connection_id":145451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:47:10] local.INFO: Passing IMEI to GPS processor {"connection_id":145451,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:47:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":145451,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:47:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:47:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:47:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:47:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999533312001,"66":12841,"121":206,"28":31744,"24":0,"16":8948091914813440,"45":1876452962840084480},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 17:47:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:47:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:47:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999533312001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:47:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 17:47:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:47:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8948091914813440,"km_value":8948091914813.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:47:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1876452962840084480,"description":"Unknown IO ID 45"} 
[2026-07-27 17:47:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999533312001,"power":12841,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1876452962840084480}} 
[2026-07-27 17:47:10] local.INFO: DEBUG: GPS processor result {"connection_id":145451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554534,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:47:10] local.INFO: GPS data processed {"connection_id":145451,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:47:10] local.INFO: Acknowledgment sent {"connection_id":145451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:47:13] local.INFO: TCP Data received {"connection_id":145450,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3815530012da1fcc005c74070005001322c..."} 
[2026-07-27 17:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3815530012da1fcc005c74070005001322c..."} 
[2026-07-27 17:47:13] local.INFO: Processing buffer {"connection_id":145450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3815530012da1fcc005c74070005001322c..."} 
[2026-07-27 17:47:13] local.INFO: Packet analysis {"connection_id":145450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa381"} 
[2026-07-27 17:47:13] local.INFO: Extracted packet for processing {"connection_id":145450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa381"} 
[2026-07-27 17:47:13] local.INFO: GPS Element Parsed {"raw_longitude":765590720,"raw_latitude":96944240,"longitude_deg":76.559072,"latitude_deg":9.694424,"altitude":80,"angle":306,"satellites":44,"speed":27,"hex_longitude":"2da1fcc0","hex_latitude":"05c74070","is_valid_coordinates":true} 
[2026-07-27 17:47:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:47:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999572736001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:47:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359148128818954240,"note":"Value kept but may cause issues"} 
[2026-07-27 17:47:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6767643577725382656,"note":"Value kept but may cause issues"} 
[2026-07-27 17:47:13] 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-07-27 17:47:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785154590000,"timestamp_ms":1785154590000,"timestamp_seconds":1785154590,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3815530"} 
[2026-07-27 17:47:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:47:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17: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":105,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-07-27 17:47:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1956,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:47:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:47:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:47:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:47:13] local.INFO: Teltonika packet parsed successfully {"connection_id":145450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:47:13] local.INFO: Passing IMEI to GPS processor {"connection_id":145450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:47:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":145450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:47: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-07-27 17:47:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 17:47:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 17:47:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999572736001,"66":27876,"176":206,"83":16896,"24":27,"16":359148128818954240,"45":-6767643577725382656},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-07-27 17:47:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 17:47:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 17:47:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999572736001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:47:13] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-27 17:47:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-27 17:47:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359148128818954240,"km_value":359148128818954.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:47:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6767643577725382656,"description":"Unknown IO ID 45"} 
[2026-07-27 17:47:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999572736001,"power":27876,"unknown_176":206,"unknown_83":16896,"ignition":27,"odometer":null,"unknown_45":-6767643577725382656}} 
[2026-07-27 17:47:13] local.INFO: DEBUG: GPS processor result {"connection_id":145450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:47:13] local.INFO: GPS data processed {"connection_id":145450,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:47:13] local.INFO: Acknowledgment sent {"connection_id":145450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:47:15] local.INFO: TCP Data received {"connection_id":143181,"ip":"42.109.136.0","data_length":51,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-27 17:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143181,"packet_length":51,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-27 17:47:15] local.INFO: Processing buffer {"connection_id":143181,"buffer_length":51,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-27 17:47:15] local.INFO: IMEI packet received {"connection_id":143181,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 17:47:15] local.INFO: IMEI acknowledgment sent {"connection_id":143181,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:47:31] local.INFO: TCP Data received {"connection_id":143182,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:47:31] local.INFO: Processing buffer {"connection_id":143182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:47:31] local.INFO: IMEI packet received {"connection_id":143182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 17:47:31] local.INFO: IMEI acknowledgment sent {"connection_id":143182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:47:37] local.INFO: TCP Data received {"connection_id":143182,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:47:37] local.INFO: Processing buffer {"connection_id":143182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:47:37] local.INFO: IMEI packet received {"connection_id":143182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 17:47:37] local.INFO: IMEI acknowledgment sent {"connection_id":143182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:47:38] local.INFO: TCP Data received {"connection_id":143182,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3815d00012da1f90005c74440005101412b..."} 
[2026-07-27 17:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143182,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3815d00012da1f90005c74440005101412b..."} 
[2026-07-27 17:47:38] local.INFO: Processing buffer {"connection_id":143182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3815d00012da1f90005c74440005101412b..."} 
[2026-07-27 17:47:38] local.INFO: Packet analysis {"connection_id":143182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa381"} 
[2026-07-27 17:47:38] local.INFO: Extracted packet for processing {"connection_id":143182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa381"} 
[2026-07-27 17:47:38] local.INFO: GPS Element Parsed {"raw_longitude":765589760,"raw_latitude":96945216,"longitude_deg":76.558976,"latitude_deg":9.6945216,"altitude":81,"angle":321,"satellites":43,"speed":27,"hex_longitude":"2da1f900","hex_latitude":"05c74440","is_valid_coordinates":true} 
[2026-07-27 17:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:47:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999575040001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:47:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359148193243463680,"note":"Value kept but may cause issues"} 
[2026-07-27 17:47:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6774328608421810176,"note":"Value kept but may cause issues"} 
[2026-07-27 17:47:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:47:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785154592000,"timestamp_ms":1785154592000,"timestamp_seconds":1785154592,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3815d00"} 
[2026-07-27 17:47:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:47:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-27 17:47:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:47:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:47:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:47:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:47:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:47:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:47:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:47:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:47:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 17:47:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 17:47:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999575040001,"66":27843,"176":206,"83":16896,"24":27,"16":359148193243463680,"45":-6774328608421810176},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-07-27 17:47:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 17:47:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 17:47:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999575040001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:47:38] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-27 17:47:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-27 17:47:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359148193243463680,"km_value":359148193243463.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:47:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6774328608421810176,"description":"Unknown IO ID 45"} 
[2026-07-27 17:47:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999575040001,"power":27843,"unknown_176":206,"unknown_83":16896,"ignition":27,"odometer":null,"unknown_45":-6774328608421810176}} 
[2026-07-27 17:47:38] local.INFO: DEBUG: GPS processor result {"connection_id":143182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:47:38] local.INFO: GPS data processed {"connection_id":143182,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:47:38] local.INFO: Acknowledgment sent {"connection_id":143182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:47:41] local.INFO: TCP Data received {"connection_id":145451,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3819f68012d1a0780071fcaa0004700a529..."} 
[2026-07-27 17:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3819f68012d1a0780071fcaa0004700a529..."} 
[2026-07-27 17:47:41] local.INFO: Processing buffer {"connection_id":145451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3819f68012d1a0780071fcaa0004700a529..."} 
[2026-07-27 17:47:41] local.INFO: Packet analysis {"connection_id":145451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa381"} 
[2026-07-27 17:47:41] local.INFO: Extracted packet for processing {"connection_id":145451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa381"} 
[2026-07-27 17:47:41] local.INFO: GPS Element Parsed {"raw_longitude":756680576,"raw_latitude":119524000,"longitude_deg":75.6680576,"latitude_deg":11.9524,"altitude":71,"angle":165,"satellites":41,"speed":5,"hex_longitude":"2d1a0780","hex_latitude":"071fcaa0","is_valid_coordinates":true} 
[2026-07-27 17: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-07-27 17:47:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999579136001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:47:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8948194994028544,"note":"Value kept but may cause issues"} 
[2026-07-27 17:47:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1875608537909710848,"note":"Value kept but may cause issues"} 
[2026-07-27 17:47:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:47:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785154609000,"timestamp_ms":1785154609000,"timestamp_seconds":1785154609,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3819f68"} 
[2026-07-27 17:47:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:47:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-27 17:47:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17: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-07-27 17:47:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:47:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:47:41] local.INFO: Teltonika packet parsed successfully {"connection_id":145451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:47:41] local.INFO: Passing IMEI to GPS processor {"connection_id":145451,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:47:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":145451,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:47:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:47:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:47:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:47:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999579136001,"66":12743,"121":206,"28":31744,"24":5,"16":8948194994028544,"45":1875608537909710848},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 17:47:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:47:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:47:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999579136001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:47:41] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 17:47:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:47:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8948194994028544,"km_value":8948194994028.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:47:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1875608537909710848,"description":"Unknown IO ID 45"} 
[2026-07-27 17:47:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999579136001,"power":12743,"unknown_121":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1875608537909710848}} 
[2026-07-27 17:47:42] local.INFO: DEBUG: GPS processor result {"connection_id":145451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554537,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:47:42] local.INFO: GPS data processed {"connection_id":145451,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:47:42] local.INFO: Acknowledgment sent {"connection_id":145451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:48:00] local.INFO: TCP Data received {"connection_id":145452,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145452,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:48:00] local.INFO: Processing buffer {"connection_id":145452,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:48:00] local.INFO: IMEI packet received {"connection_id":145452,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 17:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":145452,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:48:04] local.INFO: TCP Data received {"connection_id":145452,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145452,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:48:04] local.INFO: Processing buffer {"connection_id":145452,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:48:04] local.INFO: IMEI packet received {"connection_id":145452,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 17:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":145452,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:48:05] local.INFO: TCP Data received {"connection_id":145452,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145452,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:48:05] local.INFO: Processing buffer {"connection_id":145452,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:48:05] local.INFO: IMEI packet received {"connection_id":145452,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 17:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":145452,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:48:07] local.INFO: TCP Data received {"connection_id":145452,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa381c678012d1a08c0071fc4f8004600cb29..."} 
[2026-07-27 17:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa381c678012d1a08c0071fc4f8004600cb29..."} 
[2026-07-27 17:48:07] local.INFO: Processing buffer {"connection_id":145452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa381c678012d1a08c0071fc4f8004600cb29..."} 
[2026-07-27 17:48:07] local.INFO: Packet analysis {"connection_id":145452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa381"} 
[2026-07-27 17:48:07] local.INFO: Extracted packet for processing {"connection_id":145452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa381"} 
[2026-07-27 17:48:07] local.INFO: GPS Element Parsed {"raw_longitude":756680896,"raw_latitude":119522552,"longitude_deg":75.6680896,"latitude_deg":11.9522552,"altitude":70,"angle":203,"satellites":41,"speed":5,"hex_longitude":"2d1a08c0","hex_latitude":"071fc4f8","is_valid_coordinates":true} 
[2026-07-27 17:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:48:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999579904001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:48:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8948272303439872,"note":"Value kept but may cause issues"} 
[2026-07-27 17:48:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1875608537909600256,"note":"Value kept but may cause issues"} 
[2026-07-27 17:48:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:48:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785154619000,"timestamp_ms":1785154619000,"timestamp_seconds":1785154619,"priority":1,"record_length":96,"hex_timestamp":"0000019fa381c678"} 
[2026-07-27 17:48:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:48:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-07-27 17:48:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:48:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:48:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:48:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:48:07] local.INFO: Teltonika packet parsed successfully {"connection_id":145452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:48:07] local.INFO: Passing IMEI to GPS processor {"connection_id":145452,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:48:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":145452,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:48:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:48:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:48:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:48:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999579904001,"66":12722,"121":206,"28":31744,"24":5,"16":8948272303439872,"45":1875608537909600256},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 17:48:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:48:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:48:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999579904001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:48:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 17:48:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:48:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8948272303439872,"km_value":8948272303439.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:48:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1875608537909600256,"description":"Unknown IO ID 45"} 
[2026-07-27 17:48:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999579904001,"power":12722,"unknown_121":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1875608537909600256}} 
[2026-07-27 17:48:07] local.INFO: DEBUG: GPS processor result {"connection_id":145452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554538,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:48:07] local.INFO: GPS data processed {"connection_id":145452,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:48:07] local.INFO: Acknowledgment sent {"connection_id":145452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:48:09] local.INFO: TCP Data received {"connection_id":143182,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3821498012da1c50005c7de400056010628..."} 
[2026-07-27 17:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143182,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3821498012da1c50005c7de400056010628..."} 
[2026-07-27 17:48:09] local.INFO: Processing buffer {"connection_id":143182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3821498012da1c50005c7de400056010628..."} 
[2026-07-27 17:48:09] local.INFO: Packet analysis {"connection_id":143182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa382"} 
[2026-07-27 17:48:09] local.INFO: Extracted packet for processing {"connection_id":143182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa382"} 
[2026-07-27 17:48:09] local.INFO: GPS Element Parsed {"raw_longitude":765576448,"raw_latitude":96984640,"longitude_deg":76.5576448,"latitude_deg":9.698464,"altitude":86,"angle":262,"satellites":40,"speed":40,"hex_longitude":"2da1c500","hex_latitude":"05c7de40","is_valid_coordinates":true} 
[2026-07-27 17:48:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:48:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999587328001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:48:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359150375086850048,"note":"Value kept but may cause issues"} 
[2026-07-27 17:48:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6788824569712005120,"note":"Value kept but may cause issues"} 
[2026-07-27 17:48:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:48:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785154639000,"timestamp_ms":1785154639000,"timestamp_seconds":1785154639,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3821498"} 
[2026-07-27 17:48:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:48:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17: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":104,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-07-27 17:48:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2788,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:48:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:48:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:48:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:48:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:48:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:48:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:48:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:48:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 17:48:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 17:48:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999587328001,"66":26854,"175":206,"83":16896,"24":40,"16":359150375086850048,"45":-6788824569712005120},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-07-27 17:48:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 17:48:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 17:48:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999587328001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:48:09] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-07-27 17:48:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-27 17:48:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359150375086850048,"km_value":359150375086850.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:48:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6788824569712005120,"description":"Unknown IO ID 45"} 
[2026-07-27 17:48:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999587328001,"power":26854,"unknown_175":206,"unknown_83":16896,"ignition":40,"odometer":null,"unknown_45":-6788824569712005120}} 
[2026-07-27 17:48:09] local.INFO: DEBUG: GPS processor result {"connection_id":143182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:48:09] local.INFO: GPS data processed {"connection_id":143182,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:48:09] local.INFO: Acknowledgment sent {"connection_id":143182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:48:10] local.INFO: TCP Data received {"connection_id":145452,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa381ce48012d1a0880071fc400004600b429..."} 
[2026-07-27 17:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa381ce48012d1a0880071fc400004600b429..."} 
[2026-07-27 17:48:10] local.INFO: Processing buffer {"connection_id":145452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa381ce48012d1a0880071fc400004600b429..."} 
[2026-07-27 17:48:10] local.INFO: Packet analysis {"connection_id":145452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa381"} 
[2026-07-27 17:48:10] local.INFO: Extracted packet for processing {"connection_id":145452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa381"} 
[2026-07-27 17:48:10] local.INFO: GPS Element Parsed {"raw_longitude":756680832,"raw_latitude":119522304,"longitude_deg":75.6680832,"latitude_deg":11.9522304,"altitude":70,"angle":180,"satellites":41,"speed":1,"hex_longitude":"2d1a0880","hex_latitude":"071fc400","is_valid_coordinates":true} 
[2026-07-27 17:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:48:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999582464001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:48:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8948285188341760,"note":"Value kept but may cause issues"} 
[2026-07-27 17:48:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1875960381630117888,"note":"Value kept but may cause issues"} 
[2026-07-27 17:48:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:48:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785154621000,"timestamp_ms":1785154621000,"timestamp_seconds":1785154621,"priority":1,"record_length":96,"hex_timestamp":"0000019fa381ce48"} 
[2026-07-27 17:48:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:48:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-27 17:48:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:48:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:48:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:48:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:48:10] local.INFO: Teltonika packet parsed successfully {"connection_id":145452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:48:10] local.INFO: Passing IMEI to GPS processor {"connection_id":145452,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:48:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":145452,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:48:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:48:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:48:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:48:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999582464001,"66":12711,"121":206,"28":31744,"24":1,"16":8948285188341760,"45":1875960381630117888},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 17:48:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:48:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:48:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999582464001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:48:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 17:48:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:48:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8948285188341760,"km_value":8948285188341.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:48:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1875960381630117888,"description":"Unknown IO ID 45"} 
[2026-07-27 17:48:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999582464001,"power":12711,"unknown_121":206,"unknown_28":31744,"ignition":1,"odometer":null,"unknown_45":1875960381630117888}} 
[2026-07-27 17:48:10] local.INFO: DEBUG: GPS processor result {"connection_id":145452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554540,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:48:10] local.INFO: GPS data processed {"connection_id":145452,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:48:10] local.INFO: Acknowledgment sent {"connection_id":145452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:48:36] local.INFO: TCP Data received {"connection_id":143183,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:48:36] local.INFO: Processing buffer {"connection_id":143183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:48:36] local.INFO: IMEI packet received {"connection_id":143183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 17:48:36] local.INFO: IMEI acknowledgment sent {"connection_id":143183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:48:47] local.INFO: TCP Data received {"connection_id":145452,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3822050012d1a08c0071fc378004600b428..."} 
[2026-07-27 17:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3822050012d1a08c0071fc378004600b428..."} 
[2026-07-27 17:48:47] local.INFO: Processing buffer {"connection_id":145452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3822050012d1a08c0071fc378004600b428..."} 
[2026-07-27 17:48:47] local.INFO: Packet analysis {"connection_id":145452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa382"} 
[2026-07-27 17:48:47] local.INFO: Extracted packet for processing {"connection_id":145452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa382"} 
[2026-07-27 17:48:47] local.INFO: GPS Element Parsed {"raw_longitude":756680896,"raw_latitude":119522168,"longitude_deg":75.6680896,"latitude_deg":11.9522168,"altitude":70,"angle":180,"satellites":40,"speed":0,"hex_longitude":"2d1a08c0","hex_latitude":"071fc378","is_valid_coordinates":true} 
[2026-07-27 17:48:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:48:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999582976001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:48:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8948293778276352,"note":"Value kept but may cause issues"} 
[2026-07-27 17:48:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1875890012885876736,"note":"Value kept but may cause issues"} 
[2026-07-27 17:48:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:48:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785154642000,"timestamp_ms":1785154642000,"timestamp_seconds":1785154642,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3822050"} 
[2026-07-27 17:48:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:48:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:48:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-07-27 17:48:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:48:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:48:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:48:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:48:47] local.INFO: Teltonika packet parsed successfully {"connection_id":145452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:48:47] local.INFO: Passing IMEI to GPS processor {"connection_id":145452,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:48:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":145452,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:48:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:48:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:48:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:48:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999582976001,"66":12461,"71":206,"28":31744,"24":0,"16":8948293778276352,"45":1875890012885876736},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-07-27 17:48:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:48:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:48:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999582976001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:48:47] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-27 17:48:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:48:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8948293778276352,"km_value":8948293778276.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:48:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1875890012885876736,"description":"Unknown IO ID 45"} 
[2026-07-27 17:48:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999582976001,"power":12461,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1875890012885876736}} 
[2026-07-27 17:48:47] local.INFO: DEBUG: GPS processor result {"connection_id":145452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554541,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:48:47] local.INFO: GPS data processed {"connection_id":145452,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:48:47] local.INFO: Acknowledgment sent {"connection_id":145452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:49:02] local.INFO: TCP Data received {"connection_id":143183,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:49:02] local.INFO: Processing buffer {"connection_id":143183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:49:02] local.INFO: IMEI packet received {"connection_id":143183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 17:49:02] local.INFO: IMEI acknowledgment sent {"connection_id":143183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:49:03] local.INFO: TCP Data received {"connection_id":143183,"ip":"42.106.6.22","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-27 17:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143183,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-27 17:49:03] local.INFO: Processing buffer {"connection_id":143183,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-27 17:49:03] local.INFO: IMEI packet received {"connection_id":143183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 17:49:03] local.INFO: IMEI acknowledgment sent {"connection_id":143183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:49:04] local.INFO: TCP Data received {"connection_id":144168,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144168,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:49:04] local.INFO: Processing buffer {"connection_id":144168,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:49:04] local.INFO: IMEI packet received {"connection_id":144168,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 17:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":144168,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:49:05] local.INFO: TCP Data received {"connection_id":144168,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144168,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:49:05] local.INFO: Processing buffer {"connection_id":144168,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:49:05] local.INFO: IMEI packet received {"connection_id":144168,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 17:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":144168,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:49:09] local.INFO: TCP Data received {"connection_id":144168,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144168,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:49:09] local.INFO: Processing buffer {"connection_id":144168,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:49:09] local.INFO: IMEI packet received {"connection_id":144168,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 17:49:09] local.INFO: IMEI acknowledgment sent {"connection_id":144168,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:49:10] local.INFO: TCP Data received {"connection_id":144168,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3827258012d1a08c0071fc378004600b425..."} 
[2026-07-27 17:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3827258012d1a08c0071fc378004600b425..."} 
[2026-07-27 17:49:10] local.INFO: Processing buffer {"connection_id":144168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3827258012d1a08c0071fc378004600b425..."} 
[2026-07-27 17:49:10] local.INFO: Packet analysis {"connection_id":144168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa382"} 
[2026-07-27 17:49:10] local.INFO: Extracted packet for processing {"connection_id":144168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa382"} 
[2026-07-27 17:49:10] local.INFO: GPS Element Parsed {"raw_longitude":756680896,"raw_latitude":119522168,"longitude_deg":75.6680896,"latitude_deg":11.9522168,"altitude":70,"angle":180,"satellites":37,"speed":0,"hex_longitude":"2d1a08c0","hex_latitude":"071fc378","is_valid_coordinates":true} 
[2026-07-27 17:49:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:49:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999588352001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:49:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8948293778276352,"note":"Value kept but may cause issues"} 
[2026-07-27 17:49:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1875960381630019584,"note":"Value kept but may cause issues"} 
[2026-07-27 17:49:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:49:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785154663000,"timestamp_ms":1785154663000,"timestamp_seconds":1785154663,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3827258"} 
[2026-07-27 17:49:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:49:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17: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":173,"data_length":795,"current_offset":136} 
[2026-07-27 17:49:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:49:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:49:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:49:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:49:10] local.INFO: Teltonika packet parsed successfully {"connection_id":144168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:49:10] local.INFO: Passing IMEI to GPS processor {"connection_id":144168,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:49:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":144168,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:49:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:49:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:49:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:49:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999588352001,"66":12406,"71":206,"28":31744,"24":0,"16":8948293778276352,"45":1875960381630019584},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-07-27 17:49:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:49:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:49:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999588352001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:49:10] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-27 17:49:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:49:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8948293778276352,"km_value":8948293778276.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:49:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1875960381630019584,"description":"Unknown IO ID 45"} 
[2026-07-27 17:49:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999588352001,"power":12406,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1875960381630019584}} 
[2026-07-27 17:49:10] local.INFO: DEBUG: GPS processor result {"connection_id":144168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554542,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:49:10] local.INFO: GPS data processed {"connection_id":144168,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:49:10] local.INFO: Acknowledgment sent {"connection_id":144168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:49:17] local.INFO: TCP Data received {"connection_id":144168,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa382c460012d1a08c0071fc378004600b425..."} 
[2026-07-27 17:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa382c460012d1a08c0071fc378004600b425..."} 
[2026-07-27 17:49:17] local.INFO: Processing buffer {"connection_id":144168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa382c460012d1a08c0071fc378004600b425..."} 
[2026-07-27 17:49:17] local.INFO: Packet analysis {"connection_id":144168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa382"} 
[2026-07-27 17:49:17] local.INFO: Extracted packet for processing {"connection_id":144168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa382"} 
[2026-07-27 17:49:17] local.INFO: GPS Element Parsed {"raw_longitude":756680896,"raw_latitude":119522168,"longitude_deg":75.6680896,"latitude_deg":11.9522168,"altitude":70,"angle":180,"satellites":37,"speed":0,"hex_longitude":"2d1a08c0","hex_latitude":"071fc378","is_valid_coordinates":true} 
[2026-07-27 17: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-07-27 17:49:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999593728001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:49:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8948293778276352,"note":"Value kept but may cause issues"} 
[2026-07-27 17:49:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1875960381630019584,"note":"Value kept but may cause issues"} 
[2026-07-27 17:49:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:49:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785154684000,"timestamp_ms":1785154684000,"timestamp_seconds":1785154684,"priority":1,"record_length":96,"hex_timestamp":"0000019fa382c460"} 
[2026-07-27 17:49:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:49: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-07-27 17:49:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 17:49: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-07-27 17: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-07-27 17:49:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:49:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:49:17] local.INFO: Teltonika packet parsed successfully {"connection_id":144168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:49:17] local.INFO: Passing IMEI to GPS processor {"connection_id":144168,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:49:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":144168,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:49:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:49:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:49:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:49:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999593728001,"66":12287,"71":206,"28":31744,"24":0,"16":8948293778276352,"45":1875960381630019584},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-07-27 17:49:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:49:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:49:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999593728001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:49:17] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-27 17:49:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:49:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8948293778276352,"km_value":8948293778276.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:49:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1875960381630019584,"description":"Unknown IO ID 45"} 
[2026-07-27 17:49:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999593728001,"power":12287,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1875960381630019584}} 
[2026-07-27 17:49:17] local.INFO: DEBUG: GPS processor result {"connection_id":144168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554543,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:49:17] local.INFO: GPS data processed {"connection_id":144168,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:49:17] local.INFO: Acknowledgment sent {"connection_id":144168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:49:56] local.INFO: TCP Data received {"connection_id":143040,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143040,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:49:56] local.INFO: Processing buffer {"connection_id":143040,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:49:56] local.INFO: IMEI packet received {"connection_id":143040,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 17:49:56] local.INFO: IMEI acknowledgment sent {"connection_id":143040,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:49:59] local.INFO: TCP Data received {"connection_id":143040,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143040,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:49:59] local.INFO: Processing buffer {"connection_id":143040,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:49:59] local.INFO: IMEI packet received {"connection_id":143040,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 17:49:59] local.INFO: IMEI acknowledgment sent {"connection_id":143040,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:50:00] local.INFO: TCP Data received {"connection_id":143040,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143040,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:50:00] local.INFO: Processing buffer {"connection_id":143040,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:50:00] local.INFO: IMEI packet received {"connection_id":143040,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 17:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":143040,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:50:05] local.INFO: TCP Data received {"connection_id":143040,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143040,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:50:05] local.INFO: Processing buffer {"connection_id":143040,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:50:05] local.INFO: IMEI packet received {"connection_id":143040,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 17:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":143040,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:50:06] local.INFO: TCP Data received {"connection_id":143040,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3831668012d1a08c0071fc378004600b427..."} 
[2026-07-27 17:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143040,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3831668012d1a08c0071fc378004600b427..."} 
[2026-07-27 17:50:06] local.INFO: Processing buffer {"connection_id":143040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3831668012d1a08c0071fc378004600b427..."} 
[2026-07-27 17:50:06] local.INFO: Packet analysis {"connection_id":143040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa383"} 
[2026-07-27 17:50:06] local.INFO: Extracted packet for processing {"connection_id":143040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa383"} 
[2026-07-27 17:50:06] local.INFO: GPS Element Parsed {"raw_longitude":756680896,"raw_latitude":119522168,"longitude_deg":75.6680896,"latitude_deg":11.9522168,"altitude":70,"angle":180,"satellites":39,"speed":0,"hex_longitude":"2d1a08c0","hex_latitude":"071fc378","is_valid_coordinates":true} 
[2026-07-27 17:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999599104001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8948293778276352,"note":"Value kept but may cause issues"} 
[2026-07-27 17:50:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1875960381630019584,"note":"Value kept but may cause issues"} 
[2026-07-27 17:50:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785154705000,"timestamp_ms":1785154705000,"timestamp_seconds":1785154705,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3831668"} 
[2026-07-27 17:50:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:50:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-27 17:50:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:50:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:50:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143040,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143040,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:50:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999599104001,"66":12265,"71":206,"28":31744,"24":0,"16":8948293778276352,"45":1875960381630019584},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-07-27 17:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999599104001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:50:06] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-27 17:50:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8948293778276352,"km_value":8948293778276.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:50:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1875960381630019584,"description":"Unknown IO ID 45"} 
[2026-07-27 17:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999599104001,"power":12265,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1875960381630019584}} 
[2026-07-27 17:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":143040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554544,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:50:06] local.INFO: GPS data processed {"connection_id":143040,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:50:06] local.INFO: Acknowledgment sent {"connection_id":143040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:50:37] local.INFO: TCP Data received {"connection_id":143040,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3836870012d1a08c0071fc378004600b428..."} 
[2026-07-27 17:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143040,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3836870012d1a08c0071fc378004600b428..."} 
[2026-07-27 17:50:37] local.INFO: Processing buffer {"connection_id":143040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3836870012d1a08c0071fc378004600b428..."} 
[2026-07-27 17:50:37] local.INFO: Packet analysis {"connection_id":143040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa383"} 
[2026-07-27 17:50:37] local.INFO: Extracted packet for processing {"connection_id":143040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa383"} 
[2026-07-27 17:50:37] local.INFO: GPS Element Parsed {"raw_longitude":756680896,"raw_latitude":119522168,"longitude_deg":75.6680896,"latitude_deg":11.9522168,"altitude":70,"angle":180,"satellites":40,"speed":0,"hex_longitude":"2d1a08c0","hex_latitude":"071fc378","is_valid_coordinates":true} 
[2026-07-27 17:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:50:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999604480001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:50:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8948293778276352,"note":"Value kept but may cause issues"} 
[2026-07-27 17:50:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1875960381630019584,"note":"Value kept but may cause issues"} 
[2026-07-27 17:50:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:50:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785154726000,"timestamp_ms":1785154726000,"timestamp_seconds":1785154726,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3836870"} 
[2026-07-27 17:50:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:50:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 17:50:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2530,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:50:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:50:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:50:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:50:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:50:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143040,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:50:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143040,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:50:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:50:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:50:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:50:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999604480001,"66":13928,"71":206,"28":31744,"24":0,"16":8948293778276352,"45":1875960381630019584},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-07-27 17:50:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:50:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:50:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999604480001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:50:37] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-27 17:50:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:50:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8948293778276352,"km_value":8948293778276.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:50:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1875960381630019584,"description":"Unknown IO ID 45"} 
[2026-07-27 17:50:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999604480001,"power":13928,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1875960381630019584}} 
[2026-07-27 17:50:38] local.INFO: DEBUG: GPS processor result {"connection_id":143040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554545,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:50:38] local.INFO: GPS data processed {"connection_id":143040,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:50:38] local.INFO: Acknowledgment sent {"connection_id":143040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:50:59] local.INFO: TCP Data received {"connection_id":144169,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144169,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:50:59] local.INFO: Processing buffer {"connection_id":144169,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:50:59] local.INFO: IMEI packet received {"connection_id":144169,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 17:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":144169,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:51:00] local.INFO: TCP Data received {"connection_id":144169,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144169,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:51:00] local.INFO: Processing buffer {"connection_id":144169,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:51:00] local.INFO: IMEI packet received {"connection_id":144169,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 17:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":144169,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:51:04] local.INFO: TCP Data received {"connection_id":144169,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144169,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:51:04] local.INFO: Processing buffer {"connection_id":144169,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:51:04] local.INFO: IMEI packet received {"connection_id":144169,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 17:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":144169,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:51:15] local.INFO: TCP Data received {"connection_id":144169,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa383ba78012d1a08c0071fc378004600b429..."} 
[2026-07-27 17:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144169,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa383ba78012d1a08c0071fc378004600b429..."} 
[2026-07-27 17:51:15] local.INFO: Processing buffer {"connection_id":144169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa383ba78012d1a08c0071fc378004600b429..."} 
[2026-07-27 17:51:15] local.INFO: Packet analysis {"connection_id":144169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa383"} 
[2026-07-27 17:51:15] local.INFO: Extracted packet for processing {"connection_id":144169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa383"} 
[2026-07-27 17:51:15] local.INFO: GPS Element Parsed {"raw_longitude":756680896,"raw_latitude":119522168,"longitude_deg":75.6680896,"latitude_deg":11.9522168,"altitude":70,"angle":180,"satellites":41,"speed":0,"hex_longitude":"2d1a08c0","hex_latitude":"071fc378","is_valid_coordinates":true} 
[2026-07-27 17:51:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:51:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999609856001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:51:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8948293778276352,"note":"Value kept but may cause issues"} 
[2026-07-27 17:51:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1875960381630019584,"note":"Value kept but may cause issues"} 
[2026-07-27 17:51: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-07-27 17:51:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785154747000,"timestamp_ms":1785154747000,"timestamp_seconds":1785154747,"priority":1,"record_length":96,"hex_timestamp":"0000019fa383ba78"} 
[2026-07-27 17:51:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:51:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-07-27 17:51:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:51:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:51:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:51:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:51:15] local.INFO: Teltonika packet parsed successfully {"connection_id":144169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:51:15] local.INFO: Passing IMEI to GPS processor {"connection_id":144169,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:51:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":144169,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:51:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:51:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:51:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:51:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999609856001,"66":14004,"121":206,"28":31744,"24":0,"16":8948293778276352,"45":1875960381630019584},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 17:51:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:51:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:51:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999609856001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:51:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 17:51:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:51:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8948293778276352,"km_value":8948293778276.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:51:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1875960381630019584,"description":"Unknown IO ID 45"} 
[2026-07-27 17:51:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999609856001,"power":14004,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1875960381630019584}} 
[2026-07-27 17:51:15] local.INFO: DEBUG: GPS processor result {"connection_id":144169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554546,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:51:15] local.INFO: GPS data processed {"connection_id":144169,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:51:15] local.INFO: Acknowledgment sent {"connection_id":144169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:51:59] local.INFO: TCP Data received {"connection_id":143043,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143043,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:51:59] local.INFO: Processing buffer {"connection_id":143043,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:51:59] local.INFO: IMEI packet received {"connection_id":143043,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 17:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":143043,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:52:04] local.INFO: TCP Data received {"connection_id":143043,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143043,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:52:04] local.INFO: Processing buffer {"connection_id":143043,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:52:04] local.INFO: IMEI packet received {"connection_id":143043,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 17:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":143043,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:52:06] local.INFO: TCP Data received {"connection_id":143043,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa38577c8012d19bac0071fb1280041010925..."} 
[2026-07-27 17:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa38577c8012d19bac0071fb1280041010925..."} 
[2026-07-27 17:52:06] local.INFO: Processing buffer {"connection_id":143043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa38577c8012d19bac0071fb1280041010925..."} 
[2026-07-27 17:52:06] local.INFO: Packet analysis {"connection_id":143043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa385"} 
[2026-07-27 17:52:06] local.INFO: Extracted packet for processing {"connection_id":143043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa385"} 
[2026-07-27 17:52:06] local.INFO: GPS Element Parsed {"raw_longitude":756660928,"raw_latitude":119517480,"longitude_deg":75.6660928,"latitude_deg":11.951748,"altitude":65,"angle":265,"satellites":37,"speed":6,"hex_longitude":"2d19bac0","hex_latitude":"071fb128","is_valid_coordinates":true} 
[2026-07-27 17:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:52:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999643136001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:52:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8949324570427392,"note":"Value kept but may cause issues"} 
[2026-07-27 17:52:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1855060864608012288,"note":"Value kept but may cause issues"} 
[2026-07-27 17:52:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:52:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785154861000,"timestamp_ms":1785154861000,"timestamp_seconds":1785154861,"priority":1,"record_length":96,"hex_timestamp":"0000019fa38577c8"} 
[2026-07-27 17:52:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:52:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-27 17:52:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:52:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:52:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:52:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:52:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:52:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:52:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:52:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:52:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:52:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:52:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999643136001,"66":14298,"121":206,"28":31744,"24":6,"16":8949324570427392,"45":1855060864608012288},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 17:52:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:52:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:52:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999643136001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:52:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 17:52:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:52:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8949324570427392,"km_value":8949324570427.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:52:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1855060864608012288,"description":"Unknown IO ID 45"} 
[2026-07-27 17:52:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999643136001,"power":14298,"unknown_121":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1855060864608012288}} 
[2026-07-27 17:52:06] local.INFO: DEBUG: GPS processor result {"connection_id":143043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554547,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:52:06] local.INFO: GPS data processed {"connection_id":143043,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:52:06] local.INFO: Acknowledgment sent {"connection_id":143043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:52:18] local.INFO: TCP Data received {"connection_id":143044,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143044,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:52:18] local.INFO: Processing buffer {"connection_id":143044,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:52:18] local.INFO: IMEI packet received {"connection_id":143044,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 17:52:18] local.INFO: IMEI acknowledgment sent {"connection_id":143044,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:52:18] local.INFO: TCP Data received {"connection_id":143044,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3861bd8012d81c04005d37b680004008528..."} 
[2026-07-27 17:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3861bd8012d81c04005d37b680004008528..."} 
[2026-07-27 17:52:18] local.INFO: Processing buffer {"connection_id":143044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3861bd8012d81c04005d37b680004008528..."} 
[2026-07-27 17:52:18] local.INFO: Packet analysis {"connection_id":143044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa386"} 
[2026-07-27 17:52:18] local.INFO: Extracted packet for processing {"connection_id":143044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa386"} 
[2026-07-27 17:52:18] local.INFO: GPS Element Parsed {"raw_longitude":763478080,"raw_latitude":97745768,"longitude_deg":76.347808,"latitude_deg":9.7745768,"altitude":4,"angle":133,"satellites":40,"speed":23,"hex_longitude":"2d81c040","hex_latitude":"05d37b68","is_valid_coordinates":true} 
[2026-07-27 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-07-27 17:52:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999654912001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:52:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111749714692538368,"note":"Value kept but may cause issues"} 
[2026-07-27 17:52:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9097693434730457088,"note":"Value kept but may cause issues"} 
[2026-07-27 17:52:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:52:18] local.INFO: AVL Record Parsed {"raw_timestamp":1785154903000,"timestamp_ms":1785154903000,"timestamp_seconds":1785154903,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3861bd8"} 
[2026-07-27 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-07-27 17: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-07-27 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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-27 17:52: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-07-27 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-07-27 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-07-27 17:52:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:52:18] local.INFO: Teltonika packet parsed successfully {"connection_id":143044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:52:18] local.INFO: Passing IMEI to GPS processor {"connection_id":143044,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:52:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":143044,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:52:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:52:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 17:52:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 17:52:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999654912001,"66":12798,"166":206,"85":15104,"24":23,"16":111749714692538368,"45":-9097693434730457088},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-07-27 17:52:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 17:52:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 17:52:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999654912001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:52:18] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-07-27 17:52:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 17:52:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111749714692538368,"km_value":111749714692538.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:52:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9097693434730457088,"description":"Unknown IO ID 45"} 
[2026-07-27 17:52:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999654912001,"power":12798,"unknown_166":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":-9097693434730457088}} 
[2026-07-27 17:52:18] local.INFO: DEBUG: GPS processor result {"connection_id":143044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554548,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:52:18] local.INFO: GPS data processed {"connection_id":143044,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:52:18] local.INFO: Acknowledgment sent {"connection_id":143044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:52:38] local.INFO: TCP Data received {"connection_id":143043,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3858b50012d19b7c0071fb070004100fd26..."} 
[2026-07-27 17:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3858b50012d19b7c0071fb070004100fd26..."} 
[2026-07-27 17:52:38] local.INFO: Processing buffer {"connection_id":143043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3858b50012d19b7c0071fb070004100fd26..."} 
[2026-07-27 17:52:38] local.INFO: Packet analysis {"connection_id":143043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa385"} 
[2026-07-27 17:52:38] local.INFO: Extracted packet for processing {"connection_id":143043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa385"} 
[2026-07-27 17:52:38] local.INFO: GPS Element Parsed {"raw_longitude":756660160,"raw_latitude":119517296,"longitude_deg":75.666016,"latitude_deg":11.9517296,"altitude":65,"angle":253,"satellites":38,"speed":6,"hex_longitude":"2d19b7c0","hex_latitude":"071fb070","is_valid_coordinates":true} 
[2026-07-27 17:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:52:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999644416001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:52:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8949363225133056,"note":"Value kept but may cause issues"} 
[2026-07-27 17:52:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854005333445388288,"note":"Value kept but may cause issues"} 
[2026-07-27 17:52:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:52:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785154866000,"timestamp_ms":1785154866000,"timestamp_seconds":1785154866,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3858b50"} 
[2026-07-27 17:52:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:52:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-07-27 17:52:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:52:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:52:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:52:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:52:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:52:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:52:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:52:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:52:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:52:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:52:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999644416001,"66":14396,"121":206,"28":31744,"24":6,"16":8949363225133056,"45":1854005333445388288},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 17:52:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:52:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:52:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999644416001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:52:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 17:52:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:52:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8949363225133056,"km_value":8949363225133.057,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:52:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854005333445388288,"description":"Unknown IO ID 45"} 
[2026-07-27 17:52:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999644416001,"power":14396,"unknown_121":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1854005333445388288}} 
[2026-07-27 17:52:38] local.INFO: DEBUG: GPS processor result {"connection_id":143043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554549,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:52:38] local.INFO: GPS data processed {"connection_id":143043,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:52:38] local.INFO: Acknowledgment sent {"connection_id":143043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:52:55] local.INFO: TCP Data received {"connection_id":143044,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3861fc0012d81c1c005d379580004009828..."} 
[2026-07-27 17:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3861fc0012d81c1c005d379580004009828..."} 
[2026-07-27 17:52:55] local.INFO: Processing buffer {"connection_id":143044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3861fc0012d81c1c005d379580004009828..."} 
[2026-07-27 17:52:55] local.INFO: Packet analysis {"connection_id":143044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa386"} 
[2026-07-27 17:52:55] local.INFO: Extracted packet for processing {"connection_id":143044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa386"} 
[2026-07-27 17:52:55] local.INFO: GPS Element Parsed {"raw_longitude":763478464,"raw_latitude":97745240,"longitude_deg":76.3478464,"latitude_deg":9.774524,"altitude":4,"angle":152,"satellites":40,"speed":25,"hex_longitude":"2d81c1c0","hex_latitude":"05d37958","is_valid_coordinates":true} 
[2026-07-27 17:52:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:52:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999655168001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:52:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111749744757309440,"note":"Value kept but may cause issues"} 
[2026-07-27 17:52:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9097200853521307648,"note":"Value kept but may cause issues"} 
[2026-07-27 17:52:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:52:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785154904000,"timestamp_ms":1785154904000,"timestamp_seconds":1785154904,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3861fc0"} 
[2026-07-27 17:52:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:52:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:52:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-27 17:52:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:52:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:52:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:52:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:52:55] local.INFO: Teltonika packet parsed successfully {"connection_id":143044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:52:55] local.INFO: Passing IMEI to GPS processor {"connection_id":143044,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:52:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":143044,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:52:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:52:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 17:52:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 17:52:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999655168001,"66":12798,"166":206,"85":15104,"24":25,"16":111749744757309440,"45":-9097200853521307648},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-07-27 17:52:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 17:52:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 17:52:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999655168001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:52:55] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-07-27 17:52:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 17:52:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111749744757309440,"km_value":111749744757309.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:52:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9097200853521307648,"description":"Unknown IO ID 45"} 
[2026-07-27 17:52:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999655168001,"power":12798,"unknown_166":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":-9097200853521307648}} 
[2026-07-27 17:52:55] local.INFO: DEBUG: GPS processor result {"connection_id":143044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554550,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:52:55] local.INFO: GPS data processed {"connection_id":143044,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:52:55] local.INFO: Acknowledgment sent {"connection_id":143044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:53:05] local.INFO: TCP Data received {"connection_id":143187,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143187,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:53:05] local.INFO: Processing buffer {"connection_id":143187,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:53:05] local.INFO: IMEI packet received {"connection_id":143187,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 17:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":143187,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:53:08] local.INFO: TCP Data received {"connection_id":143045,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143045,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:53:08] local.INFO: Processing buffer {"connection_id":143045,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:53:08] local.INFO: IMEI packet received {"connection_id":143045,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 17:53:08] local.INFO: IMEI acknowledgment sent {"connection_id":143045,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:53:13] local.INFO: TCP Data received {"connection_id":143045,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143045,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:53:13] local.INFO: Processing buffer {"connection_id":143045,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:53:13] local.INFO: IMEI packet received {"connection_id":143045,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 17:53:13] local.INFO: IMEI acknowledgment sent {"connection_id":143045,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:53:13] local.INFO: TCP Data received {"connection_id":143187,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143187,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:53:13] local.INFO: Processing buffer {"connection_id":143187,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:53:13] local.INFO: IMEI packet received {"connection_id":143187,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 17:53:13] local.INFO: IMEI acknowledgment sent {"connection_id":143187,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:53:15] local.INFO: TCP Data received {"connection_id":143045,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3862790012d81c34005d373e8000400a829..."} 
[2026-07-27 17:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143045,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3862790012d81c34005d373e8000400a829..."} 
[2026-07-27 17:53:15] local.INFO: Processing buffer {"connection_id":143045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3862790012d81c34005d373e8000400a829..."} 
[2026-07-27 17:53:15] local.INFO: Packet analysis {"connection_id":143045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa386"} 
[2026-07-27 17:53:15] local.INFO: Extracted packet for processing {"connection_id":143045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa386"} 
[2026-07-27 17:53:15] local.INFO: GPS Element Parsed {"raw_longitude":763478848,"raw_latitude":97743848,"longitude_deg":76.3478848,"latitude_deg":9.7743848,"altitude":4,"angle":168,"satellites":41,"speed":30,"hex_longitude":"2d81c340","hex_latitude":"05d373e8","is_valid_coordinates":true} 
[2026-07-27 17:53:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:53:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999655424001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:53:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111749813476786176,"note":"Value kept but may cause issues"} 
[2026-07-27 17:53:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9096778641056376832,"note":"Value kept but may cause issues"} 
[2026-07-27 17:53:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:53:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785154906000,"timestamp_ms":1785154906000,"timestamp_seconds":1785154906,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3862790"} 
[2026-07-27 17:53:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:53:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:53:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-27 17:53:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:53:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:53:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:53:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:53:15] local.INFO: Teltonika packet parsed successfully {"connection_id":143045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:53:15] local.INFO: Passing IMEI to GPS processor {"connection_id":143045,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:53:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":143045,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:53:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:53:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 17:53:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 17:53:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999655424001,"66":12776,"166":206,"85":15104,"24":30,"16":111749813476786176,"45":-9096778641056376832},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-07-27 17:53:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 17:53:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 17:53:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999655424001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:53:15] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-07-27 17:53:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 17:53:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111749813476786176,"km_value":111749813476786.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:53:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9096778641056376832,"description":"Unknown IO ID 45"} 
[2026-07-27 17:53:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999655424001,"power":12776,"unknown_166":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":-9096778641056376832}} 
[2026-07-27 17:53:15] local.INFO: DEBUG: GPS processor result {"connection_id":143045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554551,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:53:15] local.INFO: GPS data processed {"connection_id":143045,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:53:15] local.INFO: Acknowledgment sent {"connection_id":143045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:53:26] local.INFO: TCP Data received {"connection_id":143187,"ip":"117.225.227.158","data_length":812,"data_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019fa3..."} 
[2026-07-27 17:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143187,"packet_length":812,"packet_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019fa3..."} 
[2026-07-27 17:53:26] local.INFO: Processing buffer {"connection_id":143187,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019fa3..."} 
[2026-07-27 17:53:26] local.INFO: IMEI packet received {"connection_id":143187,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 17:53:26] local.INFO: IMEI acknowledgment sent {"connection_id":143187,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:53:30] local.INFO: TCP Data received {"connection_id":143187,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa386c3d0012d19bb00071fb0980042011225..."} 
[2026-07-27 17:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143187,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa386c3d0012d19bb00071fb0980042011225..."} 
[2026-07-27 17:53:30] local.INFO: Processing buffer {"connection_id":143187,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019fa38675b0012d19bb80071fb0900042005227..."} 
[2026-07-27 17:53:30] local.INFO: Packet analysis {"connection_id":143187,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fa386"} 
[2026-07-27 17:53:30] local.INFO: Extracted packet for processing {"connection_id":143187,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa386"} 
[2026-07-27 17:53:30] local.INFO: GPS Element Parsed {"raw_longitude":756661120,"raw_latitude":119517328,"longitude_deg":75.666112,"latitude_deg":11.9517328,"altitude":66,"angle":82,"satellites":39,"speed":2,"hex_longitude":"2d19bb80","hex_latitude":"071fb090","is_valid_coordinates":true} 
[2026-07-27 17:53:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:53:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999659264001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:53:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8949620923170816,"note":"Value kept but may cause issues"} 
[2026-07-27 17:53:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853653489724479488,"note":"Value kept but may cause issues"} 
[2026-07-27 17:53:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:53:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785154926000,"timestamp_ms":1785154926000,"timestamp_seconds":1785154926,"priority":1,"record_length":96,"hex_timestamp":"0000019fa38675b0"} 
[2026-07-27 17:53:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:53:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:53:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-27 17:53:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:53:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:53:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:53:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:53:30] local.INFO: Teltonika packet parsed successfully {"connection_id":143187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:53:30] local.INFO: Passing IMEI to GPS processor {"connection_id":143187,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:53:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":143187,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:53:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:53:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:53:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:53:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999659264001,"66":14461,"121":206,"28":31744,"24":2,"16":8949620923170816,"45":1853653489724479488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 17:53:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:53:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:53:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999659264001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:53:30] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 17:53:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:53:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8949620923170816,"km_value":8949620923170.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:53:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853653489724479488,"description":"Unknown IO ID 45"} 
[2026-07-27 17:53:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999659264001,"power":14461,"unknown_121":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1853653489724479488}} 
[2026-07-27 17:53:30] local.INFO: DEBUG: GPS processor result {"connection_id":143187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554552,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:53:30] local.INFO: GPS data processed {"connection_id":143187,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:53:30] local.INFO: Acknowledgment sent {"connection_id":143187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:53:30] local.INFO: Packet analysis {"connection_id":143187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa386"} 
[2026-07-27 17:53:30] local.INFO: Extracted packet for processing {"connection_id":143187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa386"} 
[2026-07-27 17:53:30] local.INFO: GPS Element Parsed {"raw_longitude":756660992,"raw_latitude":119517336,"longitude_deg":75.6660992,"latitude_deg":11.9517336,"altitude":66,"angle":274,"satellites":37,"speed":3,"hex_longitude":"2d19bb00","hex_latitude":"071fb098","is_valid_coordinates":true} 
[2026-07-27 17:53:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:53:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999661056001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:53:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8949629513105408,"note":"Value kept but may cause issues"} 
[2026-07-27 17:53:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854216439677882368,"note":"Value kept but may cause issues"} 
[2026-07-27 17:53:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:53:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785154946000,"timestamp_ms":1785154946000,"timestamp_seconds":1785154946,"priority":1,"record_length":96,"hex_timestamp":"0000019fa386c3d0"} 
[2026-07-27 17:53:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:53:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:53:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-27 17:53:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:53:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:53:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:53:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:53:30] local.INFO: Teltonika packet parsed successfully {"connection_id":143187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:53:30] local.INFO: Passing IMEI to GPS processor {"connection_id":143187,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:53:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":143187,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:53:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:53:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:53:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:53:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999661056001,"66":13993,"121":206,"28":31744,"24":3,"16":8949629513105408,"45":1854216439677882368},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 17:53:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:53:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:53:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999661056001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:53:30] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 17:53:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:53:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8949629513105408,"km_value":8949629513105.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:53:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854216439677882368,"description":"Unknown IO ID 45"} 
[2026-07-27 17:53:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999661056001,"power":13993,"unknown_121":206,"unknown_28":31744,"ignition":3,"odometer":null,"unknown_45":1854216439677882368}} 
[2026-07-27 17:53:30] local.INFO: DEBUG: GPS processor result {"connection_id":143187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554553,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:53:30] local.INFO: GPS data processed {"connection_id":143187,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:53:30] local.INFO: Acknowledgment sent {"connection_id":143187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:53:32] local.INFO: TCP Data received {"connection_id":143187,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa386cf88012d19b940071fb0900042010325..."} 
[2026-07-27 17:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143187,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa386cf88012d19b940071fb0900042010325..."} 
[2026-07-27 17:53:32] local.INFO: Processing buffer {"connection_id":143187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa386cf88012d19b940071fb0900042010325..."} 
[2026-07-27 17:53:32] local.INFO: Packet analysis {"connection_id":143187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa386"} 
[2026-07-27 17:53:32] local.INFO: Extracted packet for processing {"connection_id":143187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa386"} 
[2026-07-27 17:53:32] local.INFO: GPS Element Parsed {"raw_longitude":756660544,"raw_latitude":119517328,"longitude_deg":75.6660544,"latitude_deg":11.9517328,"altitude":66,"angle":259,"satellites":37,"speed":9,"hex_longitude":"2d19b940","hex_latitude":"071fb090","is_valid_coordinates":true} 
[2026-07-27 17:53:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:53:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999666176001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:53:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8949650987941888,"note":"Value kept but may cause issues"} 
[2026-07-27 17:53:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854075702189529088,"note":"Value kept but may cause issues"} 
[2026-07-27 17:53:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:53:32] local.INFO: AVL Record Parsed {"raw_timestamp":1785154949000,"timestamp_ms":1785154949000,"timestamp_seconds":1785154949,"priority":1,"record_length":96,"hex_timestamp":"0000019fa386cf88"} 
[2026-07-27 17:53:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:53:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:53:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-27 17:53:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:53:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:53:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:53:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:53:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:53:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143187,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:53:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143187,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:53:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:53:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:53:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:53:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999666176001,"66":14298,"121":206,"28":31744,"24":9,"16":8949650987941888,"45":1854075702189529088},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 17:53:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:53:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:53:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999666176001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:53:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 17:53:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:53:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8949650987941888,"km_value":8949650987941.889,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:53:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854075702189529088,"description":"Unknown IO ID 45"} 
[2026-07-27 17:53:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999666176001,"power":14298,"unknown_121":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1854075702189529088}} 
[2026-07-27 17:53:32] local.INFO: DEBUG: GPS processor result {"connection_id":143187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554554,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:53:32] local.INFO: GPS data processed {"connection_id":143187,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:53:32] local.INFO: Acknowledgment sent {"connection_id":143187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:53:46] local.INFO: TCP Data received {"connection_id":143045,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3879aa8012d8280c005d348f0000900a52a..."} 
[2026-07-27 17:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143045,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3879aa8012d8280c005d348f0000900a52a..."} 
[2026-07-27 17:53:46] local.INFO: Processing buffer {"connection_id":143045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3879aa8012d8280c005d348f0000900a52a..."} 
[2026-07-27 17:53:46] local.INFO: Packet analysis {"connection_id":143045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa387"} 
[2026-07-27 17:53:46] local.INFO: Extracted packet for processing {"connection_id":143045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa387"} 
[2026-07-27 17:53:46] local.INFO: GPS Element Parsed {"raw_longitude":763527360,"raw_latitude":97732848,"longitude_deg":76.352736,"latitude_deg":9.7732848,"altitude":9,"angle":165,"satellites":42,"speed":5,"hex_longitude":"2d8280c0","hex_latitude":"05d348f0","is_valid_coordinates":true} 
[2026-07-27 17:53:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:53:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999679744001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:53:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111752673925005312,"note":"Value kept but may cause issues"} 
[2026-07-27 17:53:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9043157657996072960,"note":"Value kept but may cause issues"} 
[2026-07-27 17:53:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:53:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785155001000,"timestamp_ms":1785155001000,"timestamp_seconds":1785155001,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3879aa8"} 
[2026-07-27 17:53:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:53:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:53:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":250,"data_length":795,"current_offset":136} 
[2026-07-27 17:53:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2678,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:53:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:53:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:53:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:53:46] local.INFO: Teltonika packet parsed successfully {"connection_id":143045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:53:46] local.INFO: Passing IMEI to GPS processor {"connection_id":143045,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:53:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":143045,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:53:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:53:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 17:53:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 17:53:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999679744001,"66":12385,"68":206,"85":15104,"24":5,"16":111752673925005312,"45":-9043157657996072960},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-07-27 17:53:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 17:53:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 17:53:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999679744001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:53:46] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-07-27 17:53:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 17:53:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111752673925005312,"km_value":111752673925005.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:53:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9043157657996072960,"description":"Unknown IO ID 45"} 
[2026-07-27 17:53:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999679744001,"power":12385,"unknown_68":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":-9043157657996072960}} 
[2026-07-27 17:53:46] local.INFO: DEBUG: GPS processor result {"connection_id":143045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554555,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:53:46] local.INFO: GPS data processed {"connection_id":143045,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:53:46] local.INFO: Acknowledgment sent {"connection_id":143045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:53:59] local.INFO: TCP Data received {"connection_id":145454,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145454,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:53:59] local.INFO: Processing buffer {"connection_id":145454,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:53:59] local.INFO: IMEI packet received {"connection_id":145454,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 17:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":145454,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:54:04] local.INFO: TCP Data received {"connection_id":144172,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:54:04] local.INFO: Processing buffer {"connection_id":144172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:54:04] local.INFO: IMEI packet received {"connection_id":144172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 17:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":144172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:54:04] local.INFO: TCP Data received {"connection_id":145454,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145454,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:54:04] local.INFO: Processing buffer {"connection_id":145454,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:54:04] local.INFO: IMEI packet received {"connection_id":145454,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 17:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":145454,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:54:05] local.INFO: TCP Data received {"connection_id":144172,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3875c28012da260c005cd9470001601642c..."} 
[2026-07-27 17:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144172,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3875c28012da260c005cd9470001601642c..."} 
[2026-07-27 17:54:05] local.INFO: Processing buffer {"connection_id":144172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3875c28012da260c005cd9470001601642c..."} 
[2026-07-27 17:54:05] local.INFO: Packet analysis {"connection_id":144172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa387"} 
[2026-07-27 17:54:05] local.INFO: Extracted packet for processing {"connection_id":144172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa387"} 
[2026-07-27 17:54:05] local.INFO: GPS Element Parsed {"raw_longitude":765616320,"raw_latitude":97358960,"longitude_deg":76.561632,"latitude_deg":9.735896,"altitude":22,"angle":356,"satellites":44,"speed":49,"hex_longitude":"2da260c0","hex_latitude":"05cd9470","is_valid_coordinates":true} 
[2026-07-27 17:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:54:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999674112001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:54:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359171179908431872,"note":"Value kept but may cause issues"} 
[2026-07-27 17:54:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6745688529437880320,"note":"Value kept but may cause issues"} 
[2026-07-27 17:54:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:54:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785154985000,"timestamp_ms":1785154985000,"timestamp_seconds":1785154985,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3875c28"} 
[2026-07-27 17:54:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:54:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-27 17:54:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:54:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:54:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:54:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:54:05] local.INFO: Teltonika packet parsed successfully {"connection_id":144172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:54:05] local.INFO: Passing IMEI to GPS processor {"connection_id":144172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:54:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":144172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:54:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:54:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 17:54:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 17:54:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999674112001,"66":27876,"248":206,"83":17920,"24":49,"16":359171179908431872,"45":-6745688529437880320},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,83,24,16,45]} 
[2026-07-27 17:54:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 17:54:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 17:54:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999674112001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:54:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":17920,"description":"Unknown IO ID 83"} 
[2026-07-27 17:54:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359171179908431872,"km_value":359171179908431.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:54:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6745688529437880320,"description":"Unknown IO ID 45"} 
[2026-07-27 17:54:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999674112001,"power":27876,"tamper_alert":206,"unknown_83":17920,"ignition":49,"odometer":null,"unknown_45":-6745688529437880320}} 
[2026-07-27 17:54:05] local.INFO: DEBUG: GPS processor result {"connection_id":144172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:54:05] local.INFO: GPS data processed {"connection_id":144172,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:54:05] local.INFO: Acknowledgment sent {"connection_id":144172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:54:06] local.INFO: TCP Data received {"connection_id":145454,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3873900012d19a500071fc6a8003c000326..."} 
[2026-07-27 17:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3873900012d19a500071fc6a8003c000326..."} 
[2026-07-27 17:54:06] local.INFO: Processing buffer {"connection_id":145454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3873900012d19a500071fc6a8003c000326..."} 
[2026-07-27 17:54:06] local.INFO: Packet analysis {"connection_id":145454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa387"} 
[2026-07-27 17:54:06] local.INFO: Extracted packet for processing {"connection_id":145454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa387"} 
[2026-07-27 17:54:06] local.INFO: GPS Element Parsed {"raw_longitude":756655360,"raw_latitude":119522984,"longitude_deg":75.665536,"latitude_deg":11.9522984,"altitude":60,"angle":3,"satellites":38,"speed":9,"hex_longitude":"2d19a500","hex_latitude":"071fc6a8","is_valid_coordinates":true} 
[2026-07-27 17:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:54:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999673088001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:54:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8950119139377152,"note":"Value kept but may cause issues"} 
[2026-07-27 17:54:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847883252703152128,"note":"Value kept but may cause issues"} 
[2026-07-27 17:54:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:54:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785154976000,"timestamp_ms":1785154976000,"timestamp_seconds":1785154976,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3873900"} 
[2026-07-27 17:54:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:54:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-07-27 17:54:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:54:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:54:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:54:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:54:06] local.INFO: Teltonika packet parsed successfully {"connection_id":145454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:54:06] local.INFO: Passing IMEI to GPS processor {"connection_id":145454,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:54:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":145454,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:54:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:54:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:54:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:54:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999673088001,"66":13678,"121":206,"28":31744,"24":9,"16":8950119139377152,"45":1847883252703152128},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 17:54:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:54:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:54:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999673088001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:54:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 17:54:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:54:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8950119139377152,"km_value":8950119139377.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:54:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847883252703152128,"description":"Unknown IO ID 45"} 
[2026-07-27 17:54:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999673088001,"power":13678,"unknown_121":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1847883252703152128}} 
[2026-07-27 17:54:06] local.INFO: DEBUG: GPS processor result {"connection_id":145454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554557,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:54:06] local.INFO: GPS data processed {"connection_id":145454,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:54:06] local.INFO: Acknowledgment sent {"connection_id":145454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:54:07] local.INFO: TCP Data received {"connection_id":143188,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143188,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:54:07] local.INFO: Processing buffer {"connection_id":143188,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:54:07] local.INFO: IMEI packet received {"connection_id":143188,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 17:54:07] local.INFO: IMEI acknowledgment sent {"connection_id":143188,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:54:13] local.INFO: TCP Data received {"connection_id":143188,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143188,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:54:13] local.INFO: Processing buffer {"connection_id":143188,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:54:13] local.INFO: IMEI packet received {"connection_id":143188,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 17:54:13] local.INFO: IMEI acknowledgment sent {"connection_id":143188,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:54:13] local.INFO: TCP Data received {"connection_id":143188,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa387b9e8012d8281c005d342e8000800b42a..."} 
[2026-07-27 17:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa387b9e8012d8281c005d342e8000800b42a..."} 
[2026-07-27 17:54:13] local.INFO: Processing buffer {"connection_id":143188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa387b9e8012d8281c005d342e8000800b42a..."} 
[2026-07-27 17:54:13] local.INFO: Packet analysis {"connection_id":143188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa387"} 
[2026-07-27 17:54:13] local.INFO: Extracted packet for processing {"connection_id":143188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa387"} 
[2026-07-27 17:54:13] local.INFO: GPS Element Parsed {"raw_longitude":763527616,"raw_latitude":97731304,"longitude_deg":76.3527616,"latitude_deg":9.7731304,"altitude":8,"angle":180,"satellites":42,"speed":17,"hex_longitude":"2d8281c0","hex_latitude":"05d342e8","is_valid_coordinates":true} 
[2026-07-27 17: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-07-27 17:54:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999680256001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:54:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111752751234416640,"note":"Value kept but may cause issues"} 
[2026-07-27 17:54:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9043016920507813888,"note":"Value kept but may cause issues"} 
[2026-07-27 17:54:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:54:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785155009000,"timestamp_ms":1785155009000,"timestamp_seconds":1785155009,"priority":1,"record_length":96,"hex_timestamp":"0000019fa387b9e8"} 
[2026-07-27 17:54:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:54:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-27 17:54:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17: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-07-27 17:54:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:54:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:54:13] local.INFO: Teltonika packet parsed successfully {"connection_id":143188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:54:13] local.INFO: Passing IMEI to GPS processor {"connection_id":143188,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:54:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":143188,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:54:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:54:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 17:54:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 17:54:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999680256001,"66":12765,"68":206,"85":15104,"24":17,"16":111752751234416640,"45":-9043016920507813888},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-07-27 17:54:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 17:54:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 17:54:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999680256001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:54:13] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-07-27 17:54:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 17:54:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111752751234416640,"km_value":111752751234416.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:54:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9043016920507813888,"description":"Unknown IO ID 45"} 
[2026-07-27 17:54:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999680256001,"power":12765,"unknown_68":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":-9043016920507813888}} 
[2026-07-27 17:54:14] local.INFO: DEBUG: GPS processor result {"connection_id":143188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554558,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:54:14] local.INFO: GPS data processed {"connection_id":143188,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:54:14] local.INFO: Acknowledgment sent {"connection_id":143188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:54:27] local.INFO: TCP Data received {"connection_id":143189,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:54:27] local.INFO: Processing buffer {"connection_id":143189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:54:27] local.INFO: IMEI packet received {"connection_id":143189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 17:54:27] local.INFO: IMEI acknowledgment sent {"connection_id":143189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:54:30] local.INFO: TCP Data received {"connection_id":143189,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:54:30] local.INFO: Processing buffer {"connection_id":143189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:54:30] local.INFO: IMEI packet received {"connection_id":143189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 17:54:30] local.INFO: IMEI acknowledgment sent {"connection_id":143189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:54:31] local.INFO: TCP Data received {"connection_id":143189,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:54:31] local.INFO: Processing buffer {"connection_id":143189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:54:31] local.INFO: IMEI packet received {"connection_id":143189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 17:54:31] local.INFO: IMEI acknowledgment sent {"connection_id":143189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:54:36] local.INFO: TCP Data received {"connection_id":143189,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:54:36] local.INFO: Processing buffer {"connection_id":143189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:54:36] local.INFO: IMEI packet received {"connection_id":143189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 17:54:36] local.INFO: IMEI acknowledgment sent {"connection_id":143189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:54:37] local.INFO: TCP Data received {"connection_id":145454,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa38817a8012d19ca40071ff408002e001525..."} 
[2026-07-27 17:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa38817a8012d19ca40071ff408002e001525..."} 
[2026-07-27 17:54:37] local.INFO: Processing buffer {"connection_id":145454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa38817a8012d19ca40071ff408002e001525..."} 
[2026-07-27 17:54:37] local.INFO: Packet analysis {"connection_id":145454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa388"} 
[2026-07-27 17:54:37] local.INFO: Extracted packet for processing {"connection_id":145454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa388"} 
[2026-07-27 17:54:37] local.INFO: GPS Element Parsed {"raw_longitude":756664896,"raw_latitude":119534600,"longitude_deg":75.6664896,"latitude_deg":11.95346,"altitude":46,"angle":21,"satellites":37,"speed":12,"hex_longitude":"2d19ca40","hex_latitude":"071ff408","is_valid_coordinates":true} 
[2026-07-27 17:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:54:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999688192001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:54:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8951175701331968,"note":"Value kept but may cause issues"} 
[2026-07-27 17:54:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858157089356165120,"note":"Value kept but may cause issues"} 
[2026-07-27 17:54:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:54:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785155033000,"timestamp_ms":1785155033000,"timestamp_seconds":1785155033,"priority":1,"record_length":96,"hex_timestamp":"0000019fa38817a8"} 
[2026-07-27 17:54:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:54:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-27 17:54:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6973261757,"note":"Value kept but may cause issues"} 
[2026-07-27 17:54:37] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503736203739136,"note":"Value kept but may cause issues"} 
[2026-07-27 17:54:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-27 17:54:37] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2743583160,"note":"Value kept but may cause issues"} 
[2026-07-27 17:54:37] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":2667577344,"corrected_to":0} 
[2026-07-27 17:54:37] local.WARNING: Large IO value detected {"io_id":163,"raw_value":2147950577,"note":"Value kept but may cause issues"} 
[2026-07-27 17:54:37] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3432579072,"note":"Value kept but may cause issues"} 
[2026-07-27 17:54:37] local.WARNING: Large IO value detected {"io_id":197,"raw_value":2684431641,"note":"Value kept but may cause issues"} 
[2026-07-27 17:54:37] local.WARNING: Large IO value detected {"io_id":208,"raw_value":84752151565770736,"note":"Value kept but may cause issues"} 
[2026-07-27 17:54:37] local.WARNING: Large IO value detected {"io_id":120,"raw_value":15762745395775744,"note":"Value kept but may cause issues"} 
[2026-07-27 17:54:37] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,121,28,24,241,158,16,205,159,15,45,128,47,37,10,66,224,192,238,53,38,204,1,240,252,163,31,4,113,9,197,32,39,239,56,2,7,206,208,120],"length":529,"final_offset":659,"validated_count":40,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0},{"io_id":204,"original":2667577344,"validated":0}]} 
[2026-07-27 17:54:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3314695659852726272,"timestamp_seconds":3314695659852726.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 17:54:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:54:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:54:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:54:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145454,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:54:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145454,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:54:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:54:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:54:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:54:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999688192001,"66":14341,"121":206,"28":31744,"24":12,"16":8951175701331968,"45":1858157089356165120},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 17:54:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:54:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:54:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999688192001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:54:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 17:54:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:54:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8951175701331968,"km_value":8951175701331.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:54:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858157089356165120,"description":"Unknown IO ID 45"} 
[2026-07-27 17:54:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999688192001,"power":14341,"unknown_121":206,"unknown_28":31744,"ignition":12,"odometer":null,"unknown_45":1858157089356165120}} 
[2026-07-27 17:54:37] local.INFO: DEBUG: GPS processor result {"connection_id":145454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554559,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:54:37] local.INFO: GPS data processed {"connection_id":145454,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:54:37] local.INFO: Acknowledgment sent {"connection_id":145454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:54:38] local.INFO: TCP Data received {"connection_id":143189,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3877780012da25d0005cdb7b0001501612b..."} 
[2026-07-27 17:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143189,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3877780012da25d0005cdb7b0001501612b..."} 
[2026-07-27 17:54:38] local.INFO: Processing buffer {"connection_id":143189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3877780012da25d0005cdb7b0001501612b..."} 
[2026-07-27 17:54:38] local.INFO: Packet analysis {"connection_id":143189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa387"} 
[2026-07-27 17:54:38] local.INFO: Extracted packet for processing {"connection_id":143189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa387"} 
[2026-07-27 17:54:38] local.INFO: GPS Element Parsed {"raw_longitude":765615360,"raw_latitude":97367984,"longitude_deg":76.561536,"latitude_deg":9.7367984,"altitude":21,"angle":353,"satellites":43,"speed":53,"hex_longitude":"2da25d00","hex_latitude":"05cdb7b0","is_valid_coordinates":true} 
[2026-07-27 17:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:54:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999676160001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:54:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359171617995096064,"note":"Value kept but may cause issues"} 
[2026-07-27 17:54:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6746181110644576256,"note":"Value kept but may cause issues"} 
[2026-07-27 17:54:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:54:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785154992000,"timestamp_ms":1785154992000,"timestamp_seconds":1785154992,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3877780"} 
[2026-07-27 17:54:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:54:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-27 17:54:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:54:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:54:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:54:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:54:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:54:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:54:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:54:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:54:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 17:54:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 17:54:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999676160001,"66":27865,"248":206,"83":17920,"24":53,"16":359171617995096064,"45":-6746181110644576256},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,83,24,16,45]} 
[2026-07-27 17:54:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 17:54:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 17:54:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999676160001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:54:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":17920,"description":"Unknown IO ID 83"} 
[2026-07-27 17:54:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359171617995096064,"km_value":359171617995096.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:54:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6746181110644576256,"description":"Unknown IO ID 45"} 
[2026-07-27 17:54:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999676160001,"power":27865,"tamper_alert":206,"unknown_83":17920,"ignition":53,"odometer":null,"unknown_45":-6746181110644576256}} 
[2026-07-27 17:54:38] local.INFO: DEBUG: GPS processor result {"connection_id":143189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:54:38] local.INFO: GPS data processed {"connection_id":143189,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:54:38] local.INFO: Acknowledgment sent {"connection_id":143189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:54:45] local.INFO: TCP Data received {"connection_id":143188,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa387f098012d82828005d32028000700b329..."} 
[2026-07-27 17:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa387f098012d82828005d32028000700b329..."} 
[2026-07-27 17:54:45] local.INFO: Processing buffer {"connection_id":143188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa387f098012d82828005d32028000700b329..."} 
[2026-07-27 17:54:45] local.INFO: Packet analysis {"connection_id":143188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa387"} 
[2026-07-27 17:54:45] local.INFO: Extracted packet for processing {"connection_id":143188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa387"} 
[2026-07-27 17:54:45] local.INFO: GPS Element Parsed {"raw_longitude":763527808,"raw_latitude":97722408,"longitude_deg":76.3527808,"latitude_deg":9.7722408,"altitude":7,"angle":179,"satellites":41,"speed":24,"hex_longitude":"2d828280","hex_latitude":"05d32028","is_valid_coordinates":true} 
[2026-07-27 17:54:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:54:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999682304001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:54:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111753185026113536,"note":"Value kept but may cause issues"} 
[2026-07-27 17:54:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9042735445531498496,"note":"Value kept but may cause issues"} 
[2026-07-27 17:54:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:54:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785155023000,"timestamp_ms":1785155023000,"timestamp_seconds":1785155023,"priority":1,"record_length":96,"hex_timestamp":"0000019fa387f098"} 
[2026-07-27 17:54:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:54:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:54:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-27 17:54:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:54:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:54:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:54:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:54:45] local.INFO: Teltonika packet parsed successfully {"connection_id":143188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:54:45] local.INFO: Passing IMEI to GPS processor {"connection_id":143188,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:54:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":143188,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:54:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:54:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 17:54:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 17:54:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999682304001,"66":13048,"68":206,"85":15104,"24":24,"16":111753185026113536,"45":-9042735445531498496},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-07-27 17:54:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 17:54:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 17:54:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999682304001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:54:45] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-07-27 17:54:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 17:54:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111753185026113536,"km_value":111753185026113.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:54:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9042735445531498496,"description":"Unknown IO ID 45"} 
[2026-07-27 17:54:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999682304001,"power":13048,"unknown_68":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":-9042735445531498496}} 
[2026-07-27 17:54:45] local.INFO: DEBUG: GPS processor result {"connection_id":143188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554561,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:54:45] local.INFO: GPS data processed {"connection_id":143188,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:54:45] local.INFO: Acknowledgment sent {"connection_id":143188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:54:58] local.INFO: TCP Data received {"connection_id":143046,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143046,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:54:58] local.INFO: Processing buffer {"connection_id":143046,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:54:58] local.INFO: IMEI packet received {"connection_id":143046,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 17:54:58] local.INFO: IMEI acknowledgment sent {"connection_id":143046,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:54:59] local.INFO: TCP Data received {"connection_id":143046,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143046,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:54:59] local.INFO: Processing buffer {"connection_id":143046,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:54:59] local.INFO: IMEI packet received {"connection_id":143046,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 17:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":143046,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:55:05] local.INFO: TCP Data received {"connection_id":143046,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143046,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:55:05] local.INFO: Processing buffer {"connection_id":143046,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:55:05] local.INFO: IMEI packet received {"connection_id":143046,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 17:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":143046,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:55:07] local.INFO: TCP Data received {"connection_id":145455,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145455,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:55:07] local.INFO: Processing buffer {"connection_id":145455,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:55:07] local.INFO: IMEI packet received {"connection_id":145455,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 17:55:07] local.INFO: IMEI acknowledgment sent {"connection_id":145455,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:55:09] local.INFO: TCP Data received {"connection_id":143189,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa38894a8012da252c005cf0d280018000728..."} 
[2026-07-27 17:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143189,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa38894a8012da252c005cf0d280018000728..."} 
[2026-07-27 17:55:09] local.INFO: Processing buffer {"connection_id":143189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa38894a8012da252c005cf0d280018000728..."} 
[2026-07-27 17:55:09] local.INFO: Packet analysis {"connection_id":143189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa388"} 
[2026-07-27 17:55:09] local.INFO: Extracted packet for processing {"connection_id":143189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa388"} 
[2026-07-27 17:55:09] local.INFO: GPS Element Parsed {"raw_longitude":765612736,"raw_latitude":97455400,"longitude_deg":76.5612736,"latitude_deg":9.74554,"altitude":24,"angle":7,"satellites":40,"speed":45,"hex_longitude":"2da252c0","hex_latitude":"05cf0d28","is_valid_coordinates":true} 
[2026-07-27 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-07-27 17:55:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999694336001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:55:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359176140595658752,"note":"Value kept but may cause issues"} 
[2026-07-27 17:55:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6752584666342549504,"note":"Value kept but may cause issues"} 
[2026-07-27 17:55:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:55:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785155065000,"timestamp_ms":1785155065000,"timestamp_seconds":1785155065,"priority":1,"record_length":96,"hex_timestamp":"0000019fa38894a8"} 
[2026-07-27 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-07-27 17:55:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-27 17:55:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 17:55:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:55:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:55:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:55:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17: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-07-27 17:55:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 17:55:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 17:55:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999694336001,"66":27995,"214":206,"83":17920,"24":45,"16":359176140595658752,"45":-6752584666342549504},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,83,24,16,45]} 
[2026-07-27 17:55:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 17:55:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 17:55:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999694336001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:55:09] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-07-27 17:55:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":17920,"description":"Unknown IO ID 83"} 
[2026-07-27 17:55:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359176140595658752,"km_value":359176140595658.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:55:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6752584666342549504,"description":"Unknown IO ID 45"} 
[2026-07-27 17:55:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999694336001,"power":27995,"unknown_214":206,"unknown_83":17920,"ignition":45,"odometer":null,"unknown_45":-6752584666342549504}} 
[2026-07-27 17:55:09] local.INFO: DEBUG: GPS processor result {"connection_id":143189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:55:09] local.INFO: GPS data processed {"connection_id":143189,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:55:09] local.INFO: Acknowledgment sent {"connection_id":143189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:55:09] local.INFO: TCP Data received {"connection_id":143046,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3882360012d19cc80071ff8e0002e002a24..."} 
[2026-07-27 17:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3882360012d19cc80071ff8e0002e002a24..."} 
[2026-07-27 17:55:09] local.INFO: Processing buffer {"connection_id":143046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3882360012d19cc80071ff8e0002e002a24..."} 
[2026-07-27 17:55:09] local.INFO: Packet analysis {"connection_id":143046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa388"} 
[2026-07-27 17:55:09] local.INFO: Extracted packet for processing {"connection_id":143046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa388"} 
[2026-07-27 17:55:09] local.INFO: GPS Element Parsed {"raw_longitude":756665472,"raw_latitude":119535840,"longitude_deg":75.6665472,"latitude_deg":11.953584,"altitude":46,"angle":42,"satellites":36,"speed":21,"hex_longitude":"2d19cc80","hex_latitude":"071ff8e0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 17:55:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999688448001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:55:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8951244420808704,"note":"Value kept but may cause issues"} 
[2026-07-27 17:55:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858368195588786176,"note":"Value kept but may cause issues"} 
[2026-07-27 17:55:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:55:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785155036000,"timestamp_ms":1785155036000,"timestamp_seconds":1785155036,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3882360"} 
[2026-07-27 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-07-27 17:55:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-27 17:55:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6973261761,"note":"Value kept but may cause issues"} 
[2026-07-27 17:55:09] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503736203935744,"note":"Value kept but may cause issues"} 
[2026-07-27 17:55:09] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-27 17:55:09] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2743584160,"note":"Value kept but may cause issues"} 
[2026-07-27 17:55:09] local.WARNING: Large IO value detected {"io_id":240,"raw_value":15762805508540672,"note":"Value kept but may cause issues"} 
[2026-07-27 17:55:09] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":3154116608,"corrected_to":0} 
[2026-07-27 17:55:09] local.WARNING: Large IO value detected {"io_id":163,"raw_value":2278387713,"note":"Value kept but may cause issues"} 
[2026-07-27 17:55:09] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3432775680,"note":"Value kept but may cause issues"} 
[2026-07-27 17:55:09] local.WARNING: Large IO value detected {"io_id":201,"raw_value":2281778457,"note":"Value kept but may cause issues"} 
[2026-07-27 17:55:09] local.WARNING: Large IO value detected {"io_id":164,"raw_value":3221692401,"note":"Value kept but may cause issues"} 
[2026-07-27 17:55:09] local.WARNING: Large IO value detected {"io_id":184,"raw_value":84752153713254384,"note":"Value kept but may cause issues"} 
[2026-07-27 17:55:09] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,121,28,24,241,158,16,205,159,19,45,128,242,46,36,10,66,15,47,37,224,192,1,240,218,204,163,31,4,113,11,201,164,40,239,56,2,7,206,184],"length":529,"final_offset":659,"validated_count":40,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0},{"io_id":204,"original":3154116608,"validated":0}]} 
[2026-07-27 17:55:09] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3314672574403444736,"timestamp_seconds":3314672574403444.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 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-07-27 17:55:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:55:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:55:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:55:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:55:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:55:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:55:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:55:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999688448001,"66":14265,"121":206,"28":31744,"24":21,"16":8951244420808704,"45":1858368195588786176},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 17:55:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:55:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:55:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999688448001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:55:09] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 17:55:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:55:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8951244420808704,"km_value":8951244420808.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:55:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858368195588786176,"description":"Unknown IO ID 45"} 
[2026-07-27 17:55:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999688448001,"power":14265,"unknown_121":206,"unknown_28":31744,"ignition":21,"odometer":null,"unknown_45":1858368195588786176}} 
[2026-07-27 17:55:09] local.INFO: DEBUG: GPS processor result {"connection_id":143046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554563,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:55:09] local.INFO: GPS data processed {"connection_id":143046,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:55:09] local.INFO: Acknowledgment sent {"connection_id":143046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:55:13] local.INFO: TCP Data received {"connection_id":145455,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145455,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:55:13] local.INFO: Processing buffer {"connection_id":145455,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:55:13] local.INFO: IMEI packet received {"connection_id":145455,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 17:55:13] local.INFO: IMEI acknowledgment sent {"connection_id":145455,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:55:13] local.INFO: TCP Data received {"connection_id":145455,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3883300012d82848005d2fc28000400a527..."} 
[2026-07-27 17:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3883300012d82848005d2fc28000400a527..."} 
[2026-07-27 17:55:13] local.INFO: Processing buffer {"connection_id":145455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3883300012d82848005d2fc28000400a527..."} 
[2026-07-27 17:55:13] local.INFO: Packet analysis {"connection_id":145455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa388"} 
[2026-07-27 17:55:13] local.INFO: Extracted packet for processing {"connection_id":145455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa388"} 
[2026-07-27 17:55:13] local.INFO: GPS Element Parsed {"raw_longitude":763528320,"raw_latitude":97713192,"longitude_deg":76.352832,"latitude_deg":9.7713192,"altitude":4,"angle":165,"satellites":39,"speed":19,"hex_longitude":"2d828480","hex_latitude":"05d2fc28","is_valid_coordinates":true} 
[2026-07-27 17:55:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:55:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999685888001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:55:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111753631702712320,"note":"Value kept but may cause issues"} 
[2026-07-27 17:55:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9042524339301242880,"note":"Value kept but may cause issues"} 
[2026-07-27 17:55:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:55:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785155040000,"timestamp_ms":1785155040000,"timestamp_seconds":1785155040,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3883300"} 
[2026-07-27 17:55:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:55:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:55:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-27 17:55:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:55:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:55:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:55:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:55:13] local.INFO: Teltonika packet parsed successfully {"connection_id":145455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:55:13] local.INFO: Passing IMEI to GPS processor {"connection_id":145455,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:55:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":145455,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:55:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:55:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 17:55:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 17:55:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999685888001,"66":12885,"68":206,"85":15104,"24":19,"16":111753631702712320,"45":-9042524339301242880},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-07-27 17:55:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 17:55:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 17:55:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999685888001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:55:13] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-07-27 17:55:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 17:55:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111753631702712320,"km_value":111753631702712.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:55:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9042524339301242880,"description":"Unknown IO ID 45"} 
[2026-07-27 17:55:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999685888001,"power":12885,"unknown_68":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":-9042524339301242880}} 
[2026-07-27 17:55:14] local.INFO: DEBUG: GPS processor result {"connection_id":145455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554564,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:55:14] local.INFO: GPS data processed {"connection_id":145455,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:55:14] local.INFO: Acknowledgment sent {"connection_id":145455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:55:27] local.INFO: TCP Data received {"connection_id":143047,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:55:27] local.INFO: Processing buffer {"connection_id":143047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:55:27] local.INFO: IMEI packet received {"connection_id":143047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 17:55:27] local.INFO: IMEI acknowledgment sent {"connection_id":143047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:55:31] local.INFO: TCP Data received {"connection_id":143047,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:55:31] local.INFO: Processing buffer {"connection_id":143047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:55:31] local.INFO: IMEI packet received {"connection_id":143047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 17:55:31] local.INFO: IMEI acknowledgment sent {"connection_id":143047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:55:31] local.INFO: TCP Data received {"connection_id":143047,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:55:31] local.INFO: Processing buffer {"connection_id":143047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:55:31] local.INFO: IMEI packet received {"connection_id":143047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 17:55:31] local.INFO: IMEI acknowledgment sent {"connection_id":143047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:55:34] local.INFO: TCP Data received {"connection_id":143047,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:55:34] local.INFO: Processing buffer {"connection_id":143047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:55:34] local.INFO: IMEI packet received {"connection_id":143047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 17:55:34] local.INFO: IMEI acknowledgment sent {"connection_id":143047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:55:35] local.INFO: TCP Data received {"connection_id":143047,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa38894a8012da252c005cf0d280018000728..."} 
[2026-07-27 17:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa38894a8012da252c005cf0d280018000728..."} 
[2026-07-27 17:55:35] local.INFO: Processing buffer {"connection_id":143047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa38894a8012da252c005cf0d280018000728..."} 
[2026-07-27 17:55:35] local.INFO: Packet analysis {"connection_id":143047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa388"} 
[2026-07-27 17:55:35] local.INFO: Extracted packet for processing {"connection_id":143047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa388"} 
[2026-07-27 17:55:35] local.INFO: GPS Element Parsed {"raw_longitude":765612736,"raw_latitude":97455400,"longitude_deg":76.5612736,"latitude_deg":9.74554,"altitude":24,"angle":7,"satellites":40,"speed":45,"hex_longitude":"2da252c0","hex_latitude":"05cf0d28","is_valid_coordinates":true} 
[2026-07-27 17:55:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:55:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999696640001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:55:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359176140595658752,"note":"Value kept but may cause issues"} 
[2026-07-27 17:55:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6750121760293836800,"note":"Value kept but may cause issues"} 
[2026-07-27 17:55:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:55:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785155065000,"timestamp_ms":1785155065000,"timestamp_seconds":1785155065,"priority":1,"record_length":96,"hex_timestamp":"0000019fa38894a8"} 
[2026-07-27 17:55:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:55:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:55:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-27 17:55:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:55:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:55:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:55:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:55:35] local.INFO: Teltonika packet parsed successfully {"connection_id":143047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:55:35] local.INFO: Passing IMEI to GPS processor {"connection_id":143047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:55:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":143047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:55:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:55:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 17:55:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 17:55:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999696640001,"66":27995,"214":206,"83":17920,"24":45,"16":359176140595658752,"45":-6750121760293836800},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,83,24,16,45]} 
[2026-07-27 17:55:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 17:55:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 17:55:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999696640001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:55:35] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-07-27 17:55:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":17920,"description":"Unknown IO ID 83"} 
[2026-07-27 17:55:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359176140595658752,"km_value":359176140595658.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:55:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6750121760293836800,"description":"Unknown IO ID 45"} 
[2026-07-27 17:55:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999696640001,"power":27995,"unknown_214":206,"unknown_83":17920,"ignition":45,"odometer":null,"unknown_45":-6750121760293836800}} 
[2026-07-27 17:55:35] local.INFO: DEBUG: GPS processor result {"connection_id":143047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:55:35] local.INFO: GPS data processed {"connection_id":143047,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:55:35] local.INFO: Acknowledgment sent {"connection_id":143047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:55:40] local.INFO: TCP Data received {"connection_id":143046,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3891590012d19ac8007208f28002d000027..."} 
[2026-07-27 17:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3891590012d19ac8007208f28002d000027..."} 
[2026-07-27 17:55:40] local.INFO: Processing buffer {"connection_id":143046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3891590012d19ac8007208f28002d000027..."} 
[2026-07-27 17:55:40] local.INFO: Packet analysis {"connection_id":143046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa389"} 
[2026-07-27 17:55:40] local.INFO: Extracted packet for processing {"connection_id":143046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa389"} 
[2026-07-27 17:55:40] local.INFO: GPS Element Parsed {"raw_longitude":756657280,"raw_latitude":119574312,"longitude_deg":75.665728,"latitude_deg":11.9574312,"altitude":45,"angle":0,"satellites":39,"speed":39,"hex_longitude":"2d19ac80","hex_latitude":"07208f28","is_valid_coordinates":true} 
[2026-07-27 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-07-27 17:55:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999704576001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:55:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8953374724587520,"note":"Value kept but may cause issues"} 
[2026-07-27 17:55:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850205421273825280,"note":"Value kept but may cause issues"} 
[2026-07-27 17:55:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:55:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785155098000,"timestamp_ms":1785155098000,"timestamp_seconds":1785155098,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3891590"} 
[2026-07-27 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-07-27 17:55:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-07-27 17:55:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1900,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 17:55:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:55:40] local.INFO: Teltonika packet parsed successfully {"connection_id":143046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:55:40] local.INFO: Passing IMEI to GPS processor {"connection_id":143046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:55:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":143046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:55:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:55:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:55:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:55:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999704576001,"66":14330,"121":206,"28":31744,"24":39,"16":8953374724587520,"45":1850205421273825280},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 17:55:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:55:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:55:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999704576001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:55:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 17:55:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:55:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8953374724587520,"km_value":8953374724587.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:55:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850205421273825280,"description":"Unknown IO ID 45"} 
[2026-07-27 17:55:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999704576001,"power":14330,"unknown_121":206,"unknown_28":31744,"ignition":39,"odometer":null,"unknown_45":1850205421273825280}} 
[2026-07-27 17:55:40] local.INFO: DEBUG: GPS processor result {"connection_id":143046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554566,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:55:40] local.INFO: GPS data processed {"connection_id":143046,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:55:40] local.INFO: Acknowledgment sent {"connection_id":143046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:55:45] local.INFO: TCP Data received {"connection_id":145455,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3883300012d82848005d2fc28000400a527..."} 
[2026-07-27 17:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3883300012d82848005d2fc28000400a527..."} 
[2026-07-27 17:55:45] local.INFO: Processing buffer {"connection_id":145455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3883300012d82848005d2fc28000400a527..."} 
[2026-07-27 17:55:45] local.INFO: Packet analysis {"connection_id":145455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa388"} 
[2026-07-27 17:55:45] local.INFO: Extracted packet for processing {"connection_id":145455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa388"} 
[2026-07-27 17:55:45] local.INFO: GPS Element Parsed {"raw_longitude":763528320,"raw_latitude":97713192,"longitude_deg":76.352832,"latitude_deg":9.7713192,"altitude":4,"angle":165,"satellites":39,"speed":19,"hex_longitude":"2d828480","hex_latitude":"05d2fc28","is_valid_coordinates":true} 
[2026-07-27 17:55:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:55:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999690240001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:55:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111753631702712320,"note":"Value kept but may cause issues"} 
[2026-07-27 17:55:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9041961389350180864,"note":"Value kept but may cause issues"} 
[2026-07-27 17:55:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:55:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785155040000,"timestamp_ms":1785155040000,"timestamp_seconds":1785155040,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3883300"} 
[2026-07-27 17:55:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:55:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:55:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-27 17:55:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:55:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:55:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:55:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:55:45] local.INFO: Teltonika packet parsed successfully {"connection_id":145455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:55:45] local.INFO: Passing IMEI to GPS processor {"connection_id":145455,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:55:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":145455,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:55:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:55:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 17:55:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 17:55:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999690240001,"66":12885,"68":206,"85":15104,"24":19,"16":111753631702712320,"45":-9041961389350180864},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-07-27 17:55:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 17:55:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 17:55:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999690240001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:55:45] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-07-27 17:55:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 17:55:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111753631702712320,"km_value":111753631702712.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:55:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9041961389350180864,"description":"Unknown IO ID 45"} 
[2026-07-27 17:55:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999690240001,"power":12885,"unknown_68":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":-9041961389350180864}} 
[2026-07-27 17:55:45] local.INFO: DEBUG: GPS processor result {"connection_id":145455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554567,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:55:45] local.INFO: GPS data processed {"connection_id":145455,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:55:45] local.INFO: Acknowledgment sent {"connection_id":145455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:55:59] local.INFO: TCP Data received {"connection_id":143048,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143048,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:55:59] local.INFO: Processing buffer {"connection_id":143048,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:55:59] local.INFO: IMEI packet received {"connection_id":143048,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 17:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":143048,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:56:03] local.INFO: TCP Data received {"connection_id":143048,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143048,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:56:03] local.INFO: Processing buffer {"connection_id":143048,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:56:03] local.INFO: IMEI packet received {"connection_id":143048,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 17:56:03] local.INFO: IMEI acknowledgment sent {"connection_id":143048,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:56:04] local.INFO: TCP Data received {"connection_id":143048,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3891978012d19ad00072092e8002d000b27..."} 
[2026-07-27 17:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143048,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3891978012d19ad00072092e8002d000b27..."} 
[2026-07-27 17:56:04] local.INFO: Processing buffer {"connection_id":143048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3891978012d19ad00072092e8002d000b27..."} 
[2026-07-27 17:56:04] local.INFO: Packet analysis {"connection_id":143048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa389"} 
[2026-07-27 17:56:04] local.INFO: Extracted packet for processing {"connection_id":143048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa389"} 
[2026-07-27 17:56:04] local.INFO: GPS Element Parsed {"raw_longitude":756657408,"raw_latitude":119575272,"longitude_deg":75.6657408,"latitude_deg":11.9575272,"altitude":45,"angle":11,"satellites":39,"speed":37,"hex_longitude":"2d19ad00","hex_latitude":"072092e8","is_valid_coordinates":true} 
[2026-07-27 17:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:56:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999705088001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:56:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8953421969227776,"note":"Value kept but may cause issues"} 
[2026-07-27 17:56:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1849994315041810432,"note":"Value kept but may cause issues"} 
[2026-07-27 17:56:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:56:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785155099000,"timestamp_ms":1785155099000,"timestamp_seconds":1785155099,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3891978"} 
[2026-07-27 17:56:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:56:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":250,"data_length":795,"current_offset":136} 
[2026-07-27 17:56:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2723,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:56:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:56:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:56:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:56:04] local.INFO: Teltonika packet parsed successfully {"connection_id":143048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:56:04] local.INFO: Passing IMEI to GPS processor {"connection_id":143048,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:56:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":143048,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:56:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:56:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:56:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:56:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999705088001,"66":14330,"121":206,"28":31744,"24":37,"16":8953421969227776,"45":1849994315041810432},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 17:56:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:56:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:56:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999705088001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:56:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 17:56:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:56:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8953421969227776,"km_value":8953421969227.775,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:56:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1849994315041810432,"description":"Unknown IO ID 45"} 
[2026-07-27 17:56:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999705088001,"power":14330,"unknown_121":206,"unknown_28":31744,"ignition":37,"odometer":null,"unknown_45":1849994315041810432}} 
[2026-07-27 17:56:05] local.INFO: DEBUG: GPS processor result {"connection_id":143048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554568,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:56:05] local.INFO: GPS data processed {"connection_id":143048,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:56:05] local.INFO: Acknowledgment sent {"connection_id":143048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:56:06] local.INFO: TCP Data received {"connection_id":143047,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa388a448012da2538005cf1f100018016429..."} 
[2026-07-27 17:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa388a448012da2538005cf1f100018016429..."} 
[2026-07-27 17:56:06] local.INFO: Processing buffer {"connection_id":143047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa388a448012da2538005cf1f100018016429..."} 
[2026-07-27 17:56:06] local.INFO: Packet analysis {"connection_id":143047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa388"} 
[2026-07-27 17:56:06] local.INFO: Extracted packet for processing {"connection_id":143047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa388"} 
[2026-07-27 17:56:06] local.INFO: GPS Element Parsed {"raw_longitude":765612928,"raw_latitude":97459984,"longitude_deg":76.5612928,"latitude_deg":9.7459984,"altitude":24,"angle":356,"satellites":41,"speed":43,"hex_longitude":"2da25380","hex_latitude":"05cf1f10","is_valid_coordinates":true} 
[2026-07-27 17:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999696640001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359176363933958144,"note":"Value kept but may cause issues"} 
[2026-07-27 17:56:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6750121760293836800,"note":"Value kept but may cause issues"} 
[2026-07-27 17:56:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785155069000,"timestamp_ms":1785155069000,"timestamp_seconds":1785155069,"priority":1,"record_length":96,"hex_timestamp":"0000019fa388a448"} 
[2026-07-27 17:56:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:56:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-27 17:56:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:56:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:56:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:56: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-07-27 17:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 17:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 17:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999696640001,"66":27908,"214":206,"83":17920,"24":43,"16":359176363933958144,"45":-6750121760293836800},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,83,24,16,45]} 
[2026-07-27 17:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 17:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 17:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999696640001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:56:06] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-07-27 17:56:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":17920,"description":"Unknown IO ID 83"} 
[2026-07-27 17:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359176363933958144,"km_value":359176363933958.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:56:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6750121760293836800,"description":"Unknown IO ID 45"} 
[2026-07-27 17:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999696640001,"power":27908,"unknown_214":206,"unknown_83":17920,"ignition":43,"odometer":null,"unknown_45":-6750121760293836800}} 
[2026-07-27 17:56:06] local.INFO: DEBUG: GPS processor result {"connection_id":143047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:56:06] local.INFO: GPS data processed {"connection_id":143047,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:56:06] local.INFO: Acknowledgment sent {"connection_id":143047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:56:13] local.INFO: TCP Data received {"connection_id":144174,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144174,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:56:13] local.INFO: Processing buffer {"connection_id":144174,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:56:13] local.INFO: IMEI packet received {"connection_id":144174,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 17:56:13] local.INFO: IMEI acknowledgment sent {"connection_id":144174,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:56:18] local.INFO: TCP Data received {"connection_id":144174,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:56:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144174,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:56:18] local.INFO: Processing buffer {"connection_id":144174,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:56:18] local.INFO: IMEI packet received {"connection_id":144174,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 17:56:18] local.INFO: IMEI acknowledgment sent {"connection_id":144174,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:56:18] local.INFO: TCP Data received {"connection_id":144174,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3888508012d828a4005d2d798000900aa2a..."} 
[2026-07-27 17:56:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144174,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3888508012d828a4005d2d798000900aa2a..."} 
[2026-07-27 17:56:18] local.INFO: Processing buffer {"connection_id":144174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3888508012d828a4005d2d798000900aa2a..."} 
[2026-07-27 17:56:18] local.INFO: Packet analysis {"connection_id":144174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa388"} 
[2026-07-27 17:56:18] local.INFO: Extracted packet for processing {"connection_id":144174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa388"} 
[2026-07-27 17:56:18] local.INFO: GPS Element Parsed {"raw_longitude":763529792,"raw_latitude":97703832,"longitude_deg":76.3529792,"latitude_deg":9.7703832,"altitude":9,"angle":170,"satellites":42,"speed":28,"hex_longitude":"2d828a40","hex_latitude":"05d2d798","is_valid_coordinates":true} 
[2026-07-27 17: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-07-27 17:56:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999690240001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:56:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111754095559180288,"note":"Value kept but may cause issues"} 
[2026-07-27 17:56:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9041961389350180864,"note":"Value kept but may cause issues"} 
[2026-07-27 17:56:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:56:18] local.INFO: AVL Record Parsed {"raw_timestamp":1785155061000,"timestamp_ms":1785155061000,"timestamp_seconds":1785155061,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3888508"} 
[2026-07-27 17:56:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17: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-07-27 17: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-27 17:56: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-07-27 17: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-07-27 17:56:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:56:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:56:18] local.INFO: Teltonika packet parsed successfully {"connection_id":144174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:56:18] local.INFO: Passing IMEI to GPS processor {"connection_id":144174,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:56:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":144174,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:56:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:56:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 17:56:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 17:56:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999690240001,"66":12852,"68":206,"85":15104,"24":28,"16":111754095559180288,"45":-9041961389350180864},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-07-27 17:56:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 17:56:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 17:56:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999690240001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:56:18] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-07-27 17:56:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 17:56:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111754095559180288,"km_value":111754095559180.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:56:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9041961389350180864,"description":"Unknown IO ID 45"} 
[2026-07-27 17:56:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999690240001,"power":12852,"unknown_68":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":-9041961389350180864}} 
[2026-07-27 17:56:18] local.INFO: DEBUG: GPS processor result {"connection_id":144174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554570,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:56:18] local.INFO: GPS data processed {"connection_id":144174,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:56:18] local.INFO: Acknowledgment sent {"connection_id":144174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:56:20] local.INFO: TCP Data received {"connection_id":144174,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3888508012d828a4005d2d798000900aa2a..."} 
[2026-07-27 17:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144174,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3888508012d828a4005d2d798000900aa2a..."} 
[2026-07-27 17:56:20] local.INFO: Processing buffer {"connection_id":144174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3888508012d828a4005d2d798000900aa2a..."} 
[2026-07-27 17:56:20] local.INFO: Packet analysis {"connection_id":144174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa388"} 
[2026-07-27 17:56:20] local.INFO: Extracted packet for processing {"connection_id":144174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa388"} 
[2026-07-27 17:56:20] local.INFO: GPS Element Parsed {"raw_longitude":763529792,"raw_latitude":97703832,"longitude_deg":76.3529792,"latitude_deg":9.7703832,"altitude":9,"angle":170,"satellites":42,"speed":28,"hex_longitude":"2d828a40","hex_latitude":"05d2d798","is_valid_coordinates":true} 
[2026-07-27 17: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-07-27 17:56:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999695616001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:56:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111754095559180288,"note":"Value kept but may cause issues"} 
[2026-07-27 17:56:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9040342908236490752,"note":"Value kept but may cause issues"} 
[2026-07-27 17:56:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:56:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785155061000,"timestamp_ms":1785155061000,"timestamp_seconds":1785155061,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3888508"} 
[2026-07-27 17:56:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:56: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-07-27 17:56:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-27 17:56:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":916,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17: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-07-27 17:56:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:56:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:56:20] local.INFO: Teltonika packet parsed successfully {"connection_id":144174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:56:20] local.INFO: Passing IMEI to GPS processor {"connection_id":144174,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:56:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":144174,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:56:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:56:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 17:56:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 17:56:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999695616001,"66":12852,"68":206,"85":15104,"24":28,"16":111754095559180288,"45":-9040342908236490752},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-07-27 17:56:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 17:56:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 17:56:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999695616001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:56:20] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-07-27 17:56:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 17:56:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111754095559180288,"km_value":111754095559180.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:56:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9040342908236490752,"description":"Unknown IO ID 45"} 
[2026-07-27 17:56:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999695616001,"power":12852,"unknown_68":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":-9040342908236490752}} 
[2026-07-27 17:56:20] local.INFO: DEBUG: GPS processor result {"connection_id":144174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554571,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:56:20] local.INFO: GPS data processed {"connection_id":144174,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:56:20] local.INFO: Acknowledgment sent {"connection_id":144174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:56:32] local.INFO: TCP Data received {"connection_id":143049,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:56:32] local.INFO: Processing buffer {"connection_id":143049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:56:32] local.INFO: IMEI packet received {"connection_id":143049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 17:56:32] local.INFO: IMEI acknowledgment sent {"connection_id":143049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:56:36] local.INFO: TCP Data received {"connection_id":143048,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa389b5b8012d194e000720aac00033011d25..."} 
[2026-07-27 17:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143048,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa389b5b8012d194e000720aac00033011d25..."} 
[2026-07-27 17:56:36] local.INFO: Processing buffer {"connection_id":143048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa389b5b8012d194e000720aac00033011d25..."} 
[2026-07-27 17:56:36] local.INFO: Packet analysis {"connection_id":143048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa389"} 
[2026-07-27 17:56:36] local.INFO: Extracted packet for processing {"connection_id":143048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa389"} 
[2026-07-27 17:56:36] local.INFO: GPS Element Parsed {"raw_longitude":756633088,"raw_latitude":119581376,"longitude_deg":75.6633088,"latitude_deg":11.9581376,"altitude":51,"angle":285,"satellites":37,"speed":37,"hex_longitude":"2d194e00","hex_latitude":"0720aac0","is_valid_coordinates":true} 
[2026-07-27 17:56:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:56:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999714560001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:56:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8955097006473216,"note":"Value kept but may cause issues"} 
[2026-07-27 17:56:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827757791883450368,"note":"Value kept but may cause issues"} 
[2026-07-27 17:56:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:56:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785155139000,"timestamp_ms":1785155139000,"timestamp_seconds":1785155139,"priority":1,"record_length":96,"hex_timestamp":"0000019fa389b5b8"} 
[2026-07-27 17:56:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:56:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:56:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-27 17:56:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:56:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:56:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:56:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:56:36] local.INFO: Teltonika packet parsed successfully {"connection_id":143048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:56:36] local.INFO: Passing IMEI to GPS processor {"connection_id":143048,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:56:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":143048,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:56:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:56:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:56:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:56:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999714560001,"66":14428,"121":206,"28":31744,"24":37,"16":8955097006473216,"45":1827757791883450368},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 17:56:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:56:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:56:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999714560001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:56:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 17:56:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:56:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8955097006473216,"km_value":8955097006473.217,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:56:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827757791883450368,"description":"Unknown IO ID 45"} 
[2026-07-27 17:56:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999714560001,"power":14428,"unknown_121":206,"unknown_28":31744,"ignition":37,"odometer":null,"unknown_45":1827757791883450368}} 
[2026-07-27 17:56:37] local.INFO: DEBUG: GPS processor result {"connection_id":143048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554572,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:56:37] local.INFO: GPS data processed {"connection_id":143048,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:56:37] local.INFO: Acknowledgment sent {"connection_id":143048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:56:37] local.INFO: TCP Data received {"connection_id":143049,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:56:37] local.INFO: Processing buffer {"connection_id":143049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:56:37] local.INFO: IMEI packet received {"connection_id":143049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 17:56:37] local.INFO: IMEI acknowledgment sent {"connection_id":143049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:56:37] local.INFO: TCP Data received {"connection_id":143049,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa388ac18012da2520005cf27a00018015728..."} 
[2026-07-27 17:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa388ac18012da2520005cf27a00018015728..."} 
[2026-07-27 17:56:37] local.INFO: Processing buffer {"connection_id":143049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa388ac18012da2520005cf27a00018015728..."} 
[2026-07-27 17:56:37] local.INFO: Packet analysis {"connection_id":143049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa388"} 
[2026-07-27 17:56:37] local.INFO: Extracted packet for processing {"connection_id":143049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa388"} 
[2026-07-27 17:56:37] local.INFO: GPS Element Parsed {"raw_longitude":765612544,"raw_latitude":97462176,"longitude_deg":76.5612544,"latitude_deg":9.7462176,"altitude":24,"angle":343,"satellites":40,"speed":44,"hex_longitude":"2da25200","hex_latitude":"05cf27a0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 17:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999697664001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359176471308140544,"note":"Value kept but may cause issues"} 
[2026-07-27 17:56:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6749910654060130304,"note":"Value kept but may cause issues"} 
[2026-07-27 17:56:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785155071000,"timestamp_ms":1785155071000,"timestamp_seconds":1785155071,"priority":1,"record_length":96,"hex_timestamp":"0000019fa388ac18"} 
[2026-07-27 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-07-27 17:56:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-27 17:56:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 17:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:56:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 17:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 17:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999697664001,"66":27876,"214":206,"83":17920,"24":44,"16":359176471308140544,"45":-6749910654060130304},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,83,24,16,45]} 
[2026-07-27 17:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 17:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 17:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999697664001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:56:37] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-07-27 17:56:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":17920,"description":"Unknown IO ID 83"} 
[2026-07-27 17:56:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359176471308140544,"km_value":359176471308140.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:56:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6749910654060130304,"description":"Unknown IO ID 45"} 
[2026-07-27 17:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999697664001,"power":27876,"unknown_214":206,"unknown_83":17920,"ignition":44,"odometer":null,"unknown_45":-6749910654060130304}} 
[2026-07-27 17:56:37] local.INFO: DEBUG: GPS processor result {"connection_id":143049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:56:37] local.INFO: GPS data processed {"connection_id":143049,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:56:37] local.INFO: Acknowledgment sent {"connection_id":143049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:56:51] local.INFO: TCP Data received {"connection_id":144174,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa388bbb8012d828f8005d2b4f0000800b029..."} 
[2026-07-27 17:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144174,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa388bbb8012d828f8005d2b4f0000800b029..."} 
[2026-07-27 17:56:51] local.INFO: Processing buffer {"connection_id":144174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa388bbb8012d828f8005d2b4f0000800b029..."} 
[2026-07-27 17:56:51] local.INFO: Packet analysis {"connection_id":144174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa388"} 
[2026-07-27 17:56:51] local.INFO: Extracted packet for processing {"connection_id":144174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa388"} 
[2026-07-27 17:56:51] local.INFO: GPS Element Parsed {"raw_longitude":763531136,"raw_latitude":97694960,"longitude_deg":76.3531136,"latitude_deg":9.769496,"altitude":8,"angle":176,"satellites":41,"speed":28,"hex_longitude":"2d828f80","hex_latitude":"05d2b4f0","is_valid_coordinates":true} 
[2026-07-27 17:56:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:56:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999695616001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:56:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111754529350877184,"note":"Value kept but may cause issues"} 
[2026-07-27 17:56:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9040342908236490752,"note":"Value kept but may cause issues"} 
[2026-07-27 17:56:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:56:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785155075000,"timestamp_ms":1785155075000,"timestamp_seconds":1785155075,"priority":1,"record_length":96,"hex_timestamp":"0000019fa388bbb8"} 
[2026-07-27 17:56:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:56:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:56:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-27 17:56:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":916,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:56:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:56:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:56:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:56:51] local.INFO: Teltonika packet parsed successfully {"connection_id":144174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:56:51] local.INFO: Passing IMEI to GPS processor {"connection_id":144174,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:56:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":144174,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:56:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:56:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 17:56:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 17:56:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999695616001,"66":12722,"68":206,"85":15104,"24":28,"16":111754529350877184,"45":-9040342908236490752},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-07-27 17:56:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 17:56:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 17:56:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999695616001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:56:51] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-07-27 17:56:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 17:56:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111754529350877184,"km_value":111754529350877.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:56:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9040342908236490752,"description":"Unknown IO ID 45"} 
[2026-07-27 17:56:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999695616001,"power":12722,"unknown_68":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":-9040342908236490752}} 
[2026-07-27 17:56:51] local.INFO: DEBUG: GPS processor result {"connection_id":144174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554574,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:56:51] local.INFO: GPS data processed {"connection_id":144174,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:56:51] local.INFO: Acknowledgment sent {"connection_id":144174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:56:58] local.INFO: TCP Data received {"connection_id":145456,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145456,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:56:58] local.INFO: Processing buffer {"connection_id":145456,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:56:58] local.INFO: IMEI packet received {"connection_id":145456,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 17:56:58] local.INFO: IMEI acknowledgment sent {"connection_id":145456,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:57:00] local.INFO: TCP Data received {"connection_id":145456,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145456,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:57:00] local.INFO: Processing buffer {"connection_id":145456,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:57:00] local.INFO: IMEI packet received {"connection_id":145456,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 17:57:00] local.INFO: IMEI acknowledgment sent {"connection_id":145456,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:57:01] local.INFO: TCP Data received {"connection_id":145456,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145456,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:57:01] local.INFO: Processing buffer {"connection_id":145456,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:57:01] local.INFO: IMEI packet received {"connection_id":145456,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 17:57:01] local.INFO: IMEI acknowledgment sent {"connection_id":145456,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:57:04] local.INFO: TCP Data received {"connection_id":145456,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145456,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:57:04] local.INFO: Processing buffer {"connection_id":145456,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:57:04] local.INFO: IMEI packet received {"connection_id":145456,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 17:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":145456,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:57:05] local.INFO: TCP Data received {"connection_id":145456,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa389c558012d193f000720aff80032012927..."} 
[2026-07-27 17:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa389c558012d193f000720aff80032012927..."} 
[2026-07-27 17:57:05] local.INFO: Processing buffer {"connection_id":145456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa389c558012d193f000720aff80032012927..."} 
[2026-07-27 17:57:05] local.INFO: Packet analysis {"connection_id":145456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa389"} 
[2026-07-27 17:57:05] local.INFO: Extracted packet for processing {"connection_id":145456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa389"} 
[2026-07-27 17:57:05] local.INFO: GPS Element Parsed {"raw_longitude":756629248,"raw_latitude":119582712,"longitude_deg":75.6629248,"latitude_deg":11.9582712,"altitude":50,"angle":297,"satellites":39,"speed":41,"hex_longitude":"2d193f00","hex_latitude":"0720aff8","is_valid_coordinates":true} 
[2026-07-27 17:57:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:57:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999715584001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:57:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8955290280001536,"note":"Value kept but may cause issues"} 
[2026-07-27 17:57:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1823394929744461824,"note":"Value kept but may cause issues"} 
[2026-07-27 17:57:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:57:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785155143000,"timestamp_ms":1785155143000,"timestamp_seconds":1785155143,"priority":1,"record_length":96,"hex_timestamp":"0000019fa389c558"} 
[2026-07-27 17:57:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:57:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:57:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-27 17:57:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:57:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:57:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:57:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:57:05] local.INFO: Teltonika packet parsed successfully {"connection_id":145456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:57:05] local.INFO: Passing IMEI to GPS processor {"connection_id":145456,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:57:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":145456,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:57:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:57:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:57:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:57:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999715584001,"66":14428,"121":206,"28":31744,"24":41,"16":8955290280001536,"45":1823394929744461824},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 17:57:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:57:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:57:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999715584001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:57:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 17:57:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:57:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8955290280001536,"km_value":8955290280001.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:57:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1823394929744461824,"description":"Unknown IO ID 45"} 
[2026-07-27 17:57:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999715584001,"power":14428,"unknown_121":206,"unknown_28":31744,"ignition":41,"odometer":null,"unknown_45":1823394929744461824}} 
[2026-07-27 17:57:05] local.INFO: DEBUG: GPS processor result {"connection_id":145456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554575,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:57:05] local.INFO: GPS data processed {"connection_id":145456,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:57:05] local.INFO: Acknowledgment sent {"connection_id":145456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:57:07] local.INFO: TCP Data received {"connection_id":143050,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143050,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:57:07] local.INFO: Processing buffer {"connection_id":143050,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:57:07] local.INFO: IMEI packet received {"connection_id":143050,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 17:57:07] local.INFO: IMEI acknowledgment sent {"connection_id":143050,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:57:10] local.INFO: TCP Data received {"connection_id":143049,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa388cf40012da244c005cf4918001701502b..."} 
[2026-07-27 17:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa388cf40012da244c005cf4918001701502b..."} 
[2026-07-27 17:57:10] local.INFO: Processing buffer {"connection_id":143049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa388cf40012da244c005cf4918001701502b..."} 
[2026-07-27 17:57:10] local.INFO: Packet analysis {"connection_id":143049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa388"} 
[2026-07-27 17:57:10] local.INFO: Extracted packet for processing {"connection_id":143049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa388"} 
[2026-07-27 17:57:10] local.INFO: GPS Element Parsed {"raw_longitude":765609152,"raw_latitude":97470744,"longitude_deg":76.5609152,"latitude_deg":9.7470744,"altitude":23,"angle":336,"satellites":43,"speed":35,"hex_longitude":"2da244c0","hex_latitude":"05cf4918","is_valid_coordinates":true} 
[2026-07-27 17:57:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:57:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999698176001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:57:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359176917984739328,"note":"Value kept but may cause issues"} 
[2026-07-27 17:57:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6750332866524635136,"note":"Value kept but may cause issues"} 
[2026-07-27 17:57:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:57:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785155080000,"timestamp_ms":1785155080000,"timestamp_seconds":1785155080,"priority":1,"record_length":96,"hex_timestamp":"0000019fa388cf40"} 
[2026-07-27 17:57:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:57:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-27 17:57:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:57:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:57:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:57:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:57:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:57:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:57:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:57:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:57:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 17:57:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 17:57:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999698176001,"66":27800,"214":206,"83":17920,"24":35,"16":359176917984739328,"45":-6750332866524635136},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,83,24,16,45]} 
[2026-07-27 17:57:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 17:57:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 17:57:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999698176001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:57:10] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-07-27 17:57:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":17920,"description":"Unknown IO ID 83"} 
[2026-07-27 17:57:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359176917984739328,"km_value":359176917984739.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:57:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6750332866524635136,"description":"Unknown IO ID 45"} 
[2026-07-27 17:57:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999698176001,"power":27800,"unknown_214":206,"unknown_83":17920,"ignition":35,"odometer":null,"unknown_45":-6750332866524635136}} 
[2026-07-27 17:57:10] local.INFO: DEBUG: GPS processor result {"connection_id":143049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:57:10] local.INFO: GPS data processed {"connection_id":143049,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:57:10] local.INFO: Acknowledgment sent {"connection_id":143049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:57:13] local.INFO: TCP Data received {"connection_id":143050,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143050,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:57:13] local.INFO: Processing buffer {"connection_id":143050,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:57:13] local.INFO: IMEI packet received {"connection_id":143050,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 17:57:13] local.INFO: IMEI acknowledgment sent {"connection_id":143050,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:57:13] local.INFO: TCP Data received {"connection_id":143050,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa388cf40012d828f0005d2a7f0000900be29..."} 
[2026-07-27 17:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143050,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa388cf40012d828f0005d2a7f0000900be29..."} 
[2026-07-27 17:57:13] local.INFO: Processing buffer {"connection_id":143050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa388cf40012d828f0005d2a7f0000900be29..."} 
[2026-07-27 17:57:13] local.INFO: Packet analysis {"connection_id":143050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa388"} 
[2026-07-27 17:57:13] local.INFO: Extracted packet for processing {"connection_id":143050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa388"} 
[2026-07-27 17:57:13] local.INFO: GPS Element Parsed {"raw_longitude":763531008,"raw_latitude":97691632,"longitude_deg":76.3531008,"latitude_deg":9.7691632,"altitude":9,"angle":190,"satellites":41,"speed":25,"hex_longitude":"2d828f00","hex_latitude":"05d2a7f0","is_valid_coordinates":true} 
[2026-07-27 17: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-07-27 17:57:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999699200001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:57:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111754692559634432,"note":"Value kept but may cause issues"} 
[2026-07-27 17:57:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9038865164611031040,"note":"Value kept but may cause issues"} 
[2026-07-27 17:57:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:57:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785155080000,"timestamp_ms":1785155080000,"timestamp_seconds":1785155080,"priority":1,"record_length":96,"hex_timestamp":"0000019fa388cf40"} 
[2026-07-27 17:57:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:57:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-27 17:57:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17: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-07-27 17:57:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:57:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:57:13] local.INFO: Teltonika packet parsed successfully {"connection_id":143050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:57:13] local.INFO: Passing IMEI to GPS processor {"connection_id":143050,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:57:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":143050,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:57:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:57:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 17:57:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 17:57:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999699200001,"66":12798,"68":206,"85":15104,"24":25,"16":111754692559634432,"45":-9038865164611031040},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-07-27 17:57:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 17:57:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 17:57:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999699200001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:57:13] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-07-27 17:57:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 17:57:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111754692559634432,"km_value":111754692559634.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:57:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9038865164611031040,"description":"Unknown IO ID 45"} 
[2026-07-27 17:57:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999699200001,"power":12798,"unknown_68":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":-9038865164611031040}} 
[2026-07-27 17:57:13] local.INFO: DEBUG: GPS processor result {"connection_id":143050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554577,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:57:13] local.INFO: GPS data processed {"connection_id":143050,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:57:13] local.INFO: Acknowledgment sent {"connection_id":143050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:57:32] local.INFO: TCP Data received {"connection_id":143190,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:57:32] local.INFO: Processing buffer {"connection_id":143190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:57:32] local.INFO: IMEI packet received {"connection_id":143190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 17:57:32] local.INFO: IMEI acknowledgment sent {"connection_id":143190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:57:33] local.INFO: TCP Data received {"connection_id":143190,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:57:33] local.INFO: Processing buffer {"connection_id":143190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:57:33] local.INFO: IMEI packet received {"connection_id":143190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 17:57:33] local.INFO: IMEI acknowledgment sent {"connection_id":143190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:57:36] local.INFO: TCP Data received {"connection_id":143190,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:57:36] local.INFO: Processing buffer {"connection_id":143190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:57:36] local.INFO: IMEI packet received {"connection_id":143190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 17:57:36] local.INFO: IMEI acknowledgment sent {"connection_id":143190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:57:37] local.INFO: TCP Data received {"connection_id":145456,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa38aa400012d18c440072143c00042016429..."} 
[2026-07-27 17:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa38aa400012d18c440072143c00042016429..."} 
[2026-07-27 17:57:37] local.INFO: Processing buffer {"connection_id":145456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa38aa400012d18c440072143c00042016429..."} 
[2026-07-27 17:57:37] local.INFO: Packet analysis {"connection_id":145456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa38a"} 
[2026-07-27 17:57:37] local.INFO: Extracted packet for processing {"connection_id":145456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa38a"} 
[2026-07-27 17:57:37] local.INFO: GPS Element Parsed {"raw_longitude":756597824,"raw_latitude":119620544,"longitude_deg":75.6597824,"latitude_deg":11.9620544,"altitude":66,"angle":356,"satellites":41,"speed":36,"hex_longitude":"2d18c440","hex_latitude":"072143c0","is_valid_coordinates":true} 
[2026-07-27 17:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:57:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999730688001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:57:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8957837195608064,"note":"Value kept but may cause issues"} 
[2026-07-27 17:57:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785043964177195008,"note":"Value kept but may cause issues"} 
[2026-07-27 17:57:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:57:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785155200000,"timestamp_ms":1785155200000,"timestamp_seconds":1785155200,"priority":1,"record_length":96,"hex_timestamp":"0000019fa38aa400"} 
[2026-07-27 17:57:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:57:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-07-27 17:57:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:57:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:57:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:57:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:57:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:57:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145456,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:57:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145456,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:57:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:57:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:57:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:57:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999730688001,"66":14080,"121":206,"28":31744,"24":36,"16":8957837195608064,"45":1785043964177195008},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 17:57:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:57:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:57:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999730688001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:57:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 17:57:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:57:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8957837195608064,"km_value":8957837195608.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:57:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785043964177195008,"description":"Unknown IO ID 45"} 
[2026-07-27 17:57:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999730688001,"power":14080,"unknown_121":206,"unknown_28":31744,"ignition":36,"odometer":null,"unknown_45":1785043964177195008}} 
[2026-07-27 17:57:37] local.INFO: TCP Data received {"connection_id":143190,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa388f268012da23a4005cf66a80017015f29..."} 
[2026-07-27 17:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143190,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa388f268012da23a4005cf66a80017015f29..."} 
[2026-07-27 17:57:37] local.INFO: Processing buffer {"connection_id":143190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa388f268012da23a4005cf66a80017015f29..."} 
[2026-07-27 17:57:37] local.INFO: Packet analysis {"connection_id":143190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa388"} 
[2026-07-27 17:57:37] local.INFO: Extracted packet for processing {"connection_id":143190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa388"} 
[2026-07-27 17:57:37] local.INFO: GPS Element Parsed {"raw_longitude":765606464,"raw_latitude":97478312,"longitude_deg":76.5606464,"latitude_deg":9.7478312,"altitude":23,"angle":351,"satellites":41,"speed":35,"hex_longitude":"2da23a40","hex_latitude":"05cf66a8","is_valid_coordinates":true} 
[2026-07-27 17:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:57:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999700480001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:57:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359177308826763264,"note":"Value kept but may cause issues"} 
[2026-07-27 17:57:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6754062409963857920,"note":"Value kept but may cause issues"} 
[2026-07-27 17:57:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:57:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785155089000,"timestamp_ms":1785155089000,"timestamp_seconds":1785155089,"priority":1,"record_length":96,"hex_timestamp":"0000019fa388f268"} 
[2026-07-27 17:57:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:57:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-27 17:57:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:57:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:57:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:57:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:57:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:57:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:57:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:57:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:57:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 17:57:37] local.INFO: DEBUG: GPS processor result {"connection_id":145456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554578,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:57:37] local.INFO: GPS data processed {"connection_id":145456,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:57:37] local.INFO: Acknowledgment sent {"connection_id":145456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:57:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 17:57:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999700480001,"66":27876,"214":206,"83":17920,"24":35,"16":359177308826763264,"45":-6754062409963857920},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,83,24,16,45]} 
[2026-07-27 17:57:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 17:57:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 17:57:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999700480001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:57:37] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-07-27 17:57:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":17920,"description":"Unknown IO ID 83"} 
[2026-07-27 17:57:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359177308826763264,"km_value":359177308826763.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:57:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6754062409963857920,"description":"Unknown IO ID 45"} 
[2026-07-27 17:57:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999700480001,"power":27876,"unknown_214":206,"unknown_83":17920,"ignition":35,"odometer":null,"unknown_45":-6754062409963857920}} 
[2026-07-27 17:57:37] local.INFO: DEBUG: GPS processor result {"connection_id":143190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:57:37] local.INFO: GPS data processed {"connection_id":143190,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:57:37] local.INFO: Acknowledgment sent {"connection_id":143190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:57:45] local.INFO: TCP Data received {"connection_id":143050,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa38b4fe0012d82968005d163d80002009c2a..."} 
[2026-07-27 17:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143050,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa38b4fe0012d82968005d163d80002009c2a..."} 
[2026-07-27 17:57:45] local.INFO: Processing buffer {"connection_id":143050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa38b4fe0012d82968005d163d80002009c2a..."} 
[2026-07-27 17:57:45] local.INFO: Packet analysis {"connection_id":143050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa38b"} 
[2026-07-27 17:57:45] local.INFO: Extracted packet for processing {"connection_id":143050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa38b"} 
[2026-07-27 17:57:45] local.INFO: GPS Element Parsed {"raw_longitude":763532928,"raw_latitude":97608664,"longitude_deg":76.3532928,"latitude_deg":9.7608664,"altitude":2,"angle":156,"satellites":42,"speed":8,"hex_longitude":"2d829680","hex_latitude":"05d163d8","is_valid_coordinates":true} 
[2026-07-27 17: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-07-27 17:57:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999741952001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:57:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111758734123859968,"note":"Value kept but may cause issues"} 
[2026-07-27 17:57:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9037035577284343808,"note":"Value kept but may cause issues"} 
[2026-07-27 17:57:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:57:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785155244000,"timestamp_ms":1785155244000,"timestamp_seconds":1785155244,"priority":1,"record_length":96,"hex_timestamp":"0000019fa38b4fe0"} 
[2026-07-27 17:57:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:57:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17: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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-27 17:57:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17: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-07-27 17:57:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:57:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:57:45] local.INFO: Teltonika packet parsed successfully {"connection_id":143050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:57:45] local.INFO: Passing IMEI to GPS processor {"connection_id":143050,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:57:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":143050,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:57:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:57:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 17:57:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 17:57:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999741952001,"66":12298,"63":206,"85":15104,"24":8,"16":111758734123859968,"45":-9037035577284343808},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-07-27 17:57:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 17:57:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 17:57:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999741952001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:57:45] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-07-27 17:57:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 17:57:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111758734123859968,"km_value":111758734123859.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:57:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9037035577284343808,"description":"Unknown IO ID 45"} 
[2026-07-27 17:57:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999741952001,"power":12298,"unknown_63":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":-9037035577284343808}} 
[2026-07-27 17:57:45] local.INFO: DEBUG: GPS processor result {"connection_id":143050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554580,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:57:45] local.INFO: GPS data processed {"connection_id":143050,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:57:45] local.INFO: Acknowledgment sent {"connection_id":143050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:57:59] local.INFO: TCP Data received {"connection_id":143191,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143191,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:57:59] local.INFO: Processing buffer {"connection_id":143191,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:57:59] local.INFO: IMEI packet received {"connection_id":143191,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 17:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":143191,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:58:04] local.INFO: TCP Data received {"connection_id":143191,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143191,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:58:04] local.INFO: Processing buffer {"connection_id":143191,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:58:04] local.INFO: IMEI packet received {"connection_id":143191,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 17:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":143191,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:58:06] local.INFO: TCP Data received {"connection_id":143191,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa38ab3a0012d18c2c0072151a00043015128..."} 
[2026-07-27 17:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143191,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa38ab3a0012d18c2c0072151a00043015128..."} 
[2026-07-27 17:58:06] local.INFO: Processing buffer {"connection_id":143191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa38ab3a0012d18c2c0072151a00043015128..."} 
[2026-07-27 17:58:06] local.INFO: Packet analysis {"connection_id":143191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa38a"} 
[2026-07-27 17:58:06] local.INFO: Extracted packet for processing {"connection_id":143191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa38a"} 
[2026-07-27 17:58:06] local.INFO: GPS Element Parsed {"raw_longitude":756597440,"raw_latitude":119624096,"longitude_deg":75.659744,"latitude_deg":11.9624096,"altitude":67,"angle":337,"satellites":40,"speed":35,"hex_longitude":"2d18c2c0","hex_latitude":"072151a0","is_valid_coordinates":true} 
[2026-07-27 17:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999731200001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8958008994299904,"note":"Value kept but may cause issues"} 
[2026-07-27 17:58:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784621751712595968,"note":"Value kept but may cause issues"} 
[2026-07-27 17:58:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785155204000,"timestamp_ms":1785155204000,"timestamp_seconds":1785155204,"priority":1,"record_length":96,"hex_timestamp":"0000019fa38ab3a0"} 
[2026-07-27 17:58:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:58:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-27 17:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3454499072,"note":"Value kept but may cause issues"} 
[2026-07-27 17:58:06] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2743752160,"note":"Value kept but may cause issues"} 
[2026-07-27 17:58:06] local.WARNING: Large IO value detected {"io_id":210,"raw_value":3355443200,"note":"Value kept but may cause issues"} 
[2026-07-27 17:58:06] local.WARNING: Large IO value detected {"io_id":163,"raw_value":2322419713,"note":"Value kept but may cause issues"} 
[2026-07-27 17:58:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-27 17:58:06] local.WARNING: Large IO value detected {"io_id":93,"raw_value":2952867096,"note":"Value kept but may cause issues"} 
[2026-07-27 17:58:06] local.WARNING: Large IO value detected {"io_id":56,"raw_value":2466303463,"note":"Value kept but may cause issues"} 
[2026-07-27 17:58:06] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,121,28,24,241,158,16,211,159,156,45,192,60,64,41,10,66,140,48,38,210,132,128,1,240,71,163,33,4,113,205,37,93,212,136,40,239,56,2,31,7,61],"length":479,"final_offset":609,"validated_count":42,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-07-27 17:58:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4756192808738750464,"timestamp_seconds":4756192808738750.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 17:58:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143191,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143191,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:58:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999731200001,"66":14483,"121":206,"28":31744,"24":35,"16":8958008994299904,"45":1784621751712595968},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 17:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999731200001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:58:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 17:58:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8958008994299904,"km_value":8958008994299.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:58:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784621751712595968,"description":"Unknown IO ID 45"} 
[2026-07-27 17:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999731200001,"power":14483,"unknown_121":206,"unknown_28":31744,"ignition":35,"odometer":null,"unknown_45":1784621751712595968}} 
[2026-07-27 17:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":143191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554581,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:58:06] local.INFO: GPS data processed {"connection_id":143191,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:58:06] local.INFO: Acknowledgment sent {"connection_id":143191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:58:08] local.INFO: TCP Data received {"connection_id":143192,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143192,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:58:08] local.INFO: Processing buffer {"connection_id":143192,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:58:08] local.INFO: IMEI packet received {"connection_id":143192,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 17:58:08] local.INFO: IMEI acknowledgment sent {"connection_id":143192,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:58:08] local.INFO: TCP Data received {"connection_id":143190,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa38af608012da2538005d087f0001a00022a..."} 
[2026-07-27 17:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143190,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa38af608012da2538005d087f0001a00022a..."} 
[2026-07-27 17:58:08] local.INFO: Processing buffer {"connection_id":143190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa38af608012da2538005d087f0001a00022a..."} 
[2026-07-27 17:58:08] local.INFO: Packet analysis {"connection_id":143190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa38a"} 
[2026-07-27 17:58:08] local.INFO: Extracted packet for processing {"connection_id":143190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa38a"} 
[2026-07-27 17:58:08] local.INFO: GPS Element Parsed {"raw_longitude":765612928,"raw_latitude":97552368,"longitude_deg":76.5612928,"latitude_deg":9.7552368,"altitude":26,"angle":2,"satellites":42,"speed":7,"hex_longitude":"2da25380","hex_latitude":"05d087f0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 17:58:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999735040001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:58:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359180968138899456,"note":"Value kept but may cause issues"} 
[2026-07-27 17:58:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6749629179060111360,"note":"Value kept but may cause issues"} 
[2026-07-27 17:58:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:58:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785155221000,"timestamp_ms":1785155221000,"timestamp_seconds":1785155221,"priority":1,"record_length":96,"hex_timestamp":"0000019fa38af608"} 
[2026-07-27 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-07-27 17:58:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-27 17:58:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 17:58:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:58:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:58:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:58:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:58:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:58:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 17:58:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 17:58:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999735040001,"66":27767,"214":206,"83":17920,"24":7,"16":359180968138899456,"45":-6749629179060111360},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,83,24,16,45]} 
[2026-07-27 17:58:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 17:58:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 17:58:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999735040001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:58:08] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-07-27 17:58:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":17920,"description":"Unknown IO ID 83"} 
[2026-07-27 17:58:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359180968138899456,"km_value":359180968138899.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:58:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6749629179060111360,"description":"Unknown IO ID 45"} 
[2026-07-27 17:58:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999735040001,"power":27767,"unknown_214":206,"unknown_83":17920,"ignition":7,"odometer":null,"unknown_45":-6749629179060111360}} 
[2026-07-27 17:58:08] local.INFO: DEBUG: GPS processor result {"connection_id":143190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:58:08] local.INFO: GPS data processed {"connection_id":143190,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:58:08] local.INFO: Acknowledgment sent {"connection_id":143190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:58:08] local.INFO: TCP Data received {"connection_id":143192,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143192,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:58:08] local.INFO: Processing buffer {"connection_id":143192,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:58:08] local.INFO: IMEI packet received {"connection_id":143192,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 17:58:08] local.INFO: IMEI acknowledgment sent {"connection_id":143192,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:58:13] local.INFO: TCP Data received {"connection_id":143192,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143192,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:58:13] local.INFO: Processing buffer {"connection_id":143192,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:58:13] local.INFO: IMEI packet received {"connection_id":143192,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 17:58:13] local.INFO: IMEI acknowledgment sent {"connection_id":143192,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:58:13] local.INFO: TCP Data received {"connection_id":143192,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa38b6f20012d82984005d162c80002006627..."} 
[2026-07-27 17:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa38b6f20012d82984005d162c80002006627..."} 
[2026-07-27 17:58:13] local.INFO: Processing buffer {"connection_id":143192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa38b6f20012d82984005d162c80002006627..."} 
[2026-07-27 17:58:13] local.INFO: Packet analysis {"connection_id":143192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa38b"} 
[2026-07-27 17:58:13] local.INFO: Extracted packet for processing {"connection_id":143192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa38b"} 
[2026-07-27 17:58:13] local.INFO: GPS Element Parsed {"raw_longitude":763533376,"raw_latitude":97608392,"longitude_deg":76.3533376,"latitude_deg":9.7608392,"altitude":2,"angle":102,"satellites":39,"speed":9,"hex_longitude":"2d829840","hex_latitude":"05d162c8","is_valid_coordinates":true} 
[2026-07-27 17:58:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:58:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999742464001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:58:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111758772778565632,"note":"Value kept but may cause issues"} 
[2026-07-27 17:58:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036894839796148224,"note":"Value kept but may cause issues"} 
[2026-07-27 17:58:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:58:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785155252000,"timestamp_ms":1785155252000,"timestamp_seconds":1785155252,"priority":1,"record_length":96,"hex_timestamp":"0000019fa38b6f20"} 
[2026-07-27 17:58:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:58:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:58:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-27 17:58:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-27 17:58:13] local.WARNING: Large IO value detected {"io_id":85,"raw_value":4251424436617478656,"note":"Value kept but may cause issues"} 
[2026-07-27 17:58:13] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185997,"note":"Value kept but may cause issues"} 
[2026-07-27 17:58:13] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-27 17:58:13] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-6662529947310128489,"note":"Value kept but may cause issues"} 
[2026-07-27 17:58:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2190884869,"note":"Value kept but may cause issues"} 
[2026-07-27 17:58:13] local.WARNING: Large IO value detected {"io_id":10,"raw_value":9007199254740992001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:58:13] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3507460566572531918,"note":"Value kept but may cause issues"} 
[2026-07-27 17:58:13] local.WARNING: Large IO value detected {"io_id":163,"raw_value":2325747713,"note":"Value kept but may cause issues"} 
[2026-07-27 17:58:13] local.WARNING: Large IO value detected {"io_id":209,"raw_value":3068657670,"note":"Value kept but may cause issues"} 
[2026-07-27 17:58:13] local.WARNING: Large IO value detected {"io_id":4,"raw_value":51839774327046144,"note":"Value kept but may cause issues"} 
[2026-07-27 17:58:13] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1312751822,"corrected_to":0} 
[2026-07-27 17:58:13] local.WARNING: Large IO value detected {"io_id":128,"raw_value":419373594762739874,"note":"Value kept but may cause issues"} 
[2026-07-27 17:58:13] local.WARNING: Large IO value detected {"io_id":48,"raw_value":2902510926,"note":"Value kept but may cause issues"} 
[2026-07-27 17:58:13] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3521589248,"note":"Value kept but may cause issues"} 
[2026-07-27 17:58:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":3096224744472580,"note":"Value kept but may cause issues"} 
[2026-07-27 17:58:13] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,63,85,24,241,157,16,11,159,72,45,102,2,43,10,66,40,64,119,3,41,242,1,240,101,227,163,209,4,113,205,78,152,128,42,239,48,141,5,44],"length":534,"final_offset":664,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1312751822,"validated":0}]} 
[2026-07-27 17:58:13] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":144286892278939648,"timestamp_seconds":144286892278939.66,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 17:58:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:58:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:58:13] local.INFO: Teltonika packet parsed successfully {"connection_id":143192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:58:13] local.INFO: Passing IMEI to GPS processor {"connection_id":143192,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:58:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":143192,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:58:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:58:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 17:58:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 17:58:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999742464001,"66":12939,"63":206,"85":15104,"24":9,"16":111758772778565632,"45":-9036894839796148224},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-07-27 17:58:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 17:58:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 17:58:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999742464001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:58:13] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-07-27 17:58:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 17:58:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111758772778565632,"km_value":111758772778565.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:58:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036894839796148224,"description":"Unknown IO ID 45"} 
[2026-07-27 17:58:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999742464001,"power":12939,"unknown_63":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":-9036894839796148224}} 
[2026-07-27 17:58:13] local.INFO: DEBUG: GPS processor result {"connection_id":143192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554583,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:58:13] local.INFO: GPS data processed {"connection_id":143192,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:58:13] local.INFO: Acknowledgment sent {"connection_id":143192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:58:17] local.INFO: TCP Data received {"connection_id":143192,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa38b76f0012d829bc005d162980003005a27..."} 
[2026-07-27 17:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa38b76f0012d829bc005d162980003005a27..."} 
[2026-07-27 17:58:17] local.INFO: Processing buffer {"connection_id":143192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa38b76f0012d829bc005d162980003005a27..."} 
[2026-07-27 17:58:17] local.INFO: Packet analysis {"connection_id":143192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa38b"} 
[2026-07-27 17:58:17] local.INFO: Extracted packet for processing {"connection_id":143192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa38b"} 
[2026-07-27 17:58:17] local.INFO: GPS Element Parsed {"raw_longitude":763534272,"raw_latitude":97608344,"longitude_deg":76.3534272,"latitude_deg":9.7608344,"altitude":3,"angle":90,"satellites":39,"speed":21,"hex_longitude":"2d829bc0","hex_latitude":"05d16298","is_valid_coordinates":true} 
[2026-07-27 17:58:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:58:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999744512001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:58:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111758811433271296,"note":"Value kept but may cause issues"} 
[2026-07-27 17:58:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036402258586974208,"note":"Value kept but may cause issues"} 
[2026-07-27 17:58:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:58:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785155254000,"timestamp_ms":1785155254000,"timestamp_seconds":1785155254,"priority":1,"record_length":96,"hex_timestamp":"0000019fa38b76f0"} 
[2026-07-27 17:58:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:58:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:58:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-27 17:58:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:58:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:58:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:58:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:58:17] local.INFO: Teltonika packet parsed successfully {"connection_id":143192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:58:17] local.INFO: Passing IMEI to GPS processor {"connection_id":143192,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:58:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":143192,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:58:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:58:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 17:58:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 17:58:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999744512001,"66":12874,"63":206,"85":15104,"24":21,"16":111758811433271296,"45":-9036402258586974208},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-07-27 17:58:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 17:58:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 17:58:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999744512001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:58:17] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-07-27 17:58:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 17:58:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111758811433271296,"km_value":111758811433271.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:58:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036402258586974208,"description":"Unknown IO ID 45"} 
[2026-07-27 17:58:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999744512001,"power":12874,"unknown_63":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":-9036402258586974208}} 
[2026-07-27 17:58:18] local.INFO: DEBUG: GPS processor result {"connection_id":143192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554584,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:58:18] local.INFO: GPS data processed {"connection_id":143192,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:58:18] local.INFO: Acknowledgment sent {"connection_id":143192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:58:31] local.INFO: TCP Data received {"connection_id":143193,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:58:31] local.INFO: Processing buffer {"connection_id":143193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:58:31] local.INFO: IMEI packet received {"connection_id":143193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 17:58:31] local.INFO: IMEI acknowledgment sent {"connection_id":143193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:58:32] local.INFO: TCP Data received {"connection_id":143193,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:58:32] local.INFO: Processing buffer {"connection_id":143193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:58:32] local.INFO: IMEI packet received {"connection_id":143193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 17:58:32] local.INFO: IMEI acknowledgment sent {"connection_id":143193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:58:36] local.INFO: TCP Data received {"connection_id":143193,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:58:36] local.INFO: Processing buffer {"connection_id":143193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:58:36] local.INFO: IMEI packet received {"connection_id":143193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 17:58:36] local.INFO: IMEI acknowledgment sent {"connection_id":143193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:58:36] local.INFO: TCP Data received {"connection_id":143193,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:58:36] local.INFO: Processing buffer {"connection_id":143193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:58:36] local.INFO: IMEI packet received {"connection_id":143193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 17:58:36] local.INFO: IMEI acknowledgment sent {"connection_id":143193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:58:37] local.INFO: TCP Data received {"connection_id":143193,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa38b05a8012da2538005d08c40001a015c2a..."} 
[2026-07-27 17:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa38b05a8012da2538005d08c40001a015c2a..."} 
[2026-07-27 17:58:37] local.INFO: Processing buffer {"connection_id":143193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa38b05a8012da2538005d08c40001a015c2a..."} 
[2026-07-27 17:58:37] local.INFO: Packet analysis {"connection_id":143193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa38b"} 
[2026-07-27 17:58:37] local.INFO: Extracted packet for processing {"connection_id":143193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa38b"} 
[2026-07-27 17:58:37] local.INFO: GPS Element Parsed {"raw_longitude":765612928,"raw_latitude":97553472,"longitude_deg":76.5612928,"latitude_deg":9.7553472,"altitude":26,"angle":348,"satellites":42,"speed":15,"hex_longitude":"2da25380","hex_latitude":"05d08c40","is_valid_coordinates":true} 
[2026-07-27 17:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:58:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999736576001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:58:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359181023973474304,"note":"Value kept but may cause issues"} 
[2026-07-27 17:58:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6749910654036480000,"note":"Value kept but may cause issues"} 
[2026-07-27 17:58:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:58:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785155225000,"timestamp_ms":1785155225000,"timestamp_seconds":1785155225,"priority":1,"record_length":96,"hex_timestamp":"0000019fa38b05a8"} 
[2026-07-27 17:58:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:58:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-27 17:58:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:58:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:58:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:58:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:58:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:58:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:58:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:58:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:58:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 17:58:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 17:58:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999736576001,"66":27930,"214":206,"83":17920,"24":15,"16":359181023973474304,"45":-6749910654036480000},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,83,24,16,45]} 
[2026-07-27 17:58:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 17:58:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 17:58:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999736576001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:58:37] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-07-27 17:58:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":17920,"description":"Unknown IO ID 83"} 
[2026-07-27 17:58:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359181023973474304,"km_value":359181023973474.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:58:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6749910654036480000,"description":"Unknown IO ID 45"} 
[2026-07-27 17:58:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999736576001,"power":27930,"unknown_214":206,"unknown_83":17920,"ignition":15,"odometer":null,"unknown_45":-6749910654036480000}} 
[2026-07-27 17:58:37] local.INFO: DEBUG: GPS processor result {"connection_id":143193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:58:37] local.INFO: GPS data processed {"connection_id":143193,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:58:37] local.INFO: Acknowledgment sent {"connection_id":143193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:58:37] local.INFO: TCP Data received {"connection_id":143191,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa38abb70012d18bf00072157a0004401432a..."} 
[2026-07-27 17:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143191,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa38abb70012d18bf00072157a0004401432a..."} 
[2026-07-27 17:58:37] local.INFO: Processing buffer {"connection_id":143191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa38abb70012d18bf00072157a0004401432a..."} 
[2026-07-27 17:58:37] local.INFO: Packet analysis {"connection_id":143191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa38a"} 
[2026-07-27 17:58:37] local.INFO: Extracted packet for processing {"connection_id":143191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa38a"} 
[2026-07-27 17:58:37] local.INFO: GPS Element Parsed {"raw_longitude":756596480,"raw_latitude":119625632,"longitude_deg":75.659648,"latitude_deg":11.9625632,"altitude":68,"angle":323,"satellites":42,"speed":35,"hex_longitude":"2d18bf00","hex_latitude":"072157a0","is_valid_coordinates":true} 
[2026-07-27 17:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:58:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999732224001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:58:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8958099188613120,"note":"Value kept but may cause issues"} 
[2026-07-27 17:58:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784199539248439296,"note":"Value kept but may cause issues"} 
[2026-07-27 17:58:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:58:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785155206000,"timestamp_ms":1785155206000,"timestamp_seconds":1785155206,"priority":1,"record_length":96,"hex_timestamp":"0000019fa38abb70"} 
[2026-07-27 17:58:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:58:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-07-27 17:58:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:58:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:58:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:58:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:58:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:58:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143191,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:58:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143191,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 17:58:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:58:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 17:58:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 17:58:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999732224001,"66":13526,"121":206,"28":31744,"24":35,"16":8958099188613120,"45":1784199539248439296},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 17:58:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 17:58:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 17:58:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999732224001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:58:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 17:58:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 17:58:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8958099188613120,"km_value":8958099188613.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:58:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784199539248439296,"description":"Unknown IO ID 45"} 
[2026-07-27 17:58:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999732224001,"power":13526,"unknown_121":206,"unknown_28":31744,"ignition":35,"odometer":null,"unknown_45":1784199539248439296}} 
[2026-07-27 17:58:38] local.INFO: DEBUG: GPS processor result {"connection_id":143191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554586,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:58:38] local.INFO: GPS data processed {"connection_id":143191,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:58:38] local.INFO: Acknowledgment sent {"connection_id":143191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:58:40] local.INFO: TCP Data received {"connection_id":143193,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa38b3c58012da24f0005d0af28001a015f2a..."} 
[2026-07-27 17:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa38b3c58012da24f0005d0af28001a015f2a..."} 
[2026-07-27 17:58:40] local.INFO: Processing buffer {"connection_id":143193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa38b3c58012da24f0005d0af28001a015f2a..."} 
[2026-07-27 17:58:40] local.INFO: Packet analysis {"connection_id":143193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa38b"} 
[2026-07-27 17:58:40] local.INFO: Extracted packet for processing {"connection_id":143193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa38b"} 
[2026-07-27 17:58:40] local.INFO: GPS Element Parsed {"raw_longitude":765611776,"raw_latitude":97562408,"longitude_deg":76.5611776,"latitude_deg":9.7562408,"altitude":26,"angle":351,"satellites":42,"speed":28,"hex_longitude":"2da24f00","hex_latitude":"05d0af28","is_valid_coordinates":true} 
[2026-07-27 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-07-27 17:58:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999737600001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:58:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359181462060138496,"note":"Value kept but may cause issues"} 
[2026-07-27 17:58:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6749910654036197376,"note":"Value kept but may cause issues"} 
[2026-07-27 17:58:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:58:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785155239000,"timestamp_ms":1785155239000,"timestamp_seconds":1785155239,"priority":1,"record_length":96,"hex_timestamp":"0000019fa38b3c58"} 
[2026-07-27 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-07-27 17:58:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-27 17:58:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 17:58:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:58:40] local.INFO: Teltonika packet parsed successfully {"connection_id":143193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:58:40] local.INFO: Passing IMEI to GPS processor {"connection_id":143193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:58:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":143193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:58: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-07-27 17:58:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 17:58:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 17:58:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999737600001,"66":27908,"215":206,"83":17920,"24":28,"16":359181462060138496,"45":-6749910654036197376},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-27 17:58:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 17:58:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 17:58:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999737600001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:58:40] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-27 17:58:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":17920,"description":"Unknown IO ID 83"} 
[2026-07-27 17:58:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359181462060138496,"km_value":359181462060138.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:58:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6749910654036197376,"description":"Unknown IO ID 45"} 
[2026-07-27 17:58:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999737600001,"power":27908,"unknown_215":206,"unknown_83":17920,"ignition":28,"odometer":null,"unknown_45":-6749910654036197376}} 
[2026-07-27 17:58:41] local.INFO: DEBUG: GPS processor result {"connection_id":143193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:58:41] local.INFO: GPS data processed {"connection_id":143193,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:58:41] local.INFO: Acknowledgment sent {"connection_id":143193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:58:49] local.INFO: TCP Data received {"connection_id":143192,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa38b9a18012d82b80005d160300003006527..."} 
[2026-07-27 17:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa38b9a18012d82b80005d160300003006527..."} 
[2026-07-27 17:58:49] local.INFO: Processing buffer {"connection_id":143192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa38b9a18012d82b80005d160300003006527..."} 
[2026-07-27 17:58:49] local.INFO: Packet analysis {"connection_id":143192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa38b"} 
[2026-07-27 17:58:49] local.INFO: Extracted packet for processing {"connection_id":143192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa38b"} 
[2026-07-27 17:58:49] local.INFO: GPS Element Parsed {"raw_longitude":763541504,"raw_latitude":97607728,"longitude_deg":76.3541504,"latitude_deg":9.7607728,"altitude":3,"angle":101,"satellites":39,"speed":36,"hex_longitude":"2d82b800","hex_latitude":"05d16030","is_valid_coordinates":true} 
[2026-07-27 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-07-27 17:58:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999745024001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:58:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111759159325622272,"note":"Value kept but may cause issues"} 
[2026-07-27 17:58:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9035417096168499200,"note":"Value kept but may cause issues"} 
[2026-07-27 17:58:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:58:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785155263000,"timestamp_ms":1785155263000,"timestamp_seconds":1785155263,"priority":1,"record_length":96,"hex_timestamp":"0000019fa38b9a18"} 
[2026-07-27 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-07-27 17: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-07-27 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":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-07-27 17:58:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1114,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 17:58:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:58:49] local.INFO: Teltonika packet parsed successfully {"connection_id":143192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:58:49] local.INFO: Passing IMEI to GPS processor {"connection_id":143192,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:58:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":143192,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:58:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:58:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 17:58:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 17:58:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999745024001,"66":12982,"63":206,"85":15104,"24":36,"16":111759159325622272,"45":-9035417096168499200},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-07-27 17:58:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 17:58:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 17:58:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999745024001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:58:49] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-07-27 17:58:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 17:58:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111759159325622272,"km_value":111759159325622.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:58:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9035417096168499200,"description":"Unknown IO ID 45"} 
[2026-07-27 17:58:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999745024001,"power":12982,"unknown_63":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":-9035417096168499200}} 
[2026-07-27 17:58:49] local.INFO: DEBUG: GPS processor result {"connection_id":143192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554588,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:58:49] local.INFO: GPS data processed {"connection_id":143192,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:58:49] local.INFO: Acknowledgment sent {"connection_id":143192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:59:00] local.INFO: TCP Data received {"connection_id":143051,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143051,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:59:00] local.INFO: Processing buffer {"connection_id":143051,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:59:00] local.INFO: IMEI packet received {"connection_id":143051,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 17:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":143051,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:59:02] local.INFO: TCP Data received {"connection_id":143051,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143051,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:59:02] local.INFO: Processing buffer {"connection_id":143051,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:59:02] local.INFO: IMEI packet received {"connection_id":143051,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 17:59:02] local.INFO: IMEI acknowledgment sent {"connection_id":143051,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:59:03] local.INFO: TCP Data received {"connection_id":143051,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143051,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:59:03] local.INFO: Processing buffer {"connection_id":143051,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:59:03] local.INFO: IMEI packet received {"connection_id":143051,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 17:59:03] local.INFO: IMEI acknowledgment sent {"connection_id":143051,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:59:04] local.INFO: TCP Data received {"connection_id":143051,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143051,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:59:04] local.INFO: Processing buffer {"connection_id":143051,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 17:59:04] local.INFO: IMEI packet received {"connection_id":143051,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 17:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":143051,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:59:08] local.INFO: TCP Data received {"connection_id":144175,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144175,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:59:08] local.INFO: Processing buffer {"connection_id":144175,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:59:08] local.INFO: IMEI packet received {"connection_id":144175,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 17:59:08] local.INFO: IMEI acknowledgment sent {"connection_id":144175,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:59:08] local.INFO: TCP Data received {"connection_id":144175,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144175,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:59:08] local.INFO: Processing buffer {"connection_id":144175,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:59:08] local.INFO: IMEI packet received {"connection_id":144175,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 17:59:08] local.INFO: IMEI acknowledgment sent {"connection_id":144175,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:59:12] local.INFO: TCP Data received {"connection_id":143193,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa38b6f20012da24a4005d0d390001901612b..."} 
[2026-07-27 17:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa38b6f20012da24a4005d0d390001901612b..."} 
[2026-07-27 17:59:12] local.INFO: Processing buffer {"connection_id":143193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa38b6f20012da24a4005d0d390001901612b..."} 
[2026-07-27 17:59:12] local.INFO: Packet analysis {"connection_id":143193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa38b"} 
[2026-07-27 17:59:12] local.INFO: Extracted packet for processing {"connection_id":143193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa38b"} 
[2026-07-27 17:59:12] local.INFO: GPS Element Parsed {"raw_longitude":765610560,"raw_latitude":97571728,"longitude_deg":76.561056,"latitude_deg":9.7571728,"altitude":25,"angle":353,"satellites":43,"speed":22,"hex_longitude":"2da24a40","hex_latitude":"05d0d390","is_valid_coordinates":true} 
[2026-07-27 17:59:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:59:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999741184001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:59:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359181917326671872,"note":"Value kept but may cause issues"} 
[2026-07-27 17:59:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6751177291429107712,"note":"Value kept but may cause issues"} 
[2026-07-27 17:59:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:59:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785155252000,"timestamp_ms":1785155252000,"timestamp_seconds":1785155252,"priority":1,"record_length":96,"hex_timestamp":"0000019fa38b6f20"} 
[2026-07-27 17:59:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:59:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:59:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-27 17:59:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:59:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:59:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:59:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:59:12] local.INFO: Teltonika packet parsed successfully {"connection_id":143193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:59:12] local.INFO: Passing IMEI to GPS processor {"connection_id":143193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:59:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":143193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:59:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:59:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 17:59:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 17:59:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999741184001,"66":27767,"215":206,"83":17920,"24":22,"16":359181917326671872,"45":-6751177291429107712},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-27 17:59:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 17:59:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 17:59:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999741184001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:59:12] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-27 17:59:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":17920,"description":"Unknown IO ID 83"} 
[2026-07-27 17:59:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359181917326671872,"km_value":359181917326671.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:59:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6751177291429107712,"description":"Unknown IO ID 45"} 
[2026-07-27 17:59:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999741184001,"power":27767,"unknown_215":206,"unknown_83":17920,"ignition":22,"odometer":null,"unknown_45":-6751177291429107712}} 
[2026-07-27 17:59:12] local.INFO: DEBUG: GPS processor result {"connection_id":143193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:59:12] local.INFO: GPS data processed {"connection_id":143193,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:59:12] local.INFO: Acknowledgment sent {"connection_id":143193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:59:13] local.INFO: TCP Data received {"connection_id":144175,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144175,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:59:13] local.INFO: Processing buffer {"connection_id":144175,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 17:59:13] local.INFO: IMEI packet received {"connection_id":144175,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 17:59:13] local.INFO: IMEI acknowledgment sent {"connection_id":144175,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:59:13] local.INFO: TCP Data received {"connection_id":144175,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa38c9be8012d83334005d152c0000b00e329..."} 
[2026-07-27 17:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa38c9be8012d83334005d152c0000b00e329..."} 
[2026-07-27 17:59:13] local.INFO: Processing buffer {"connection_id":144175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa38c9be8012d83334005d152c0000b00e329..."} 
[2026-07-27 17:59:13] local.INFO: Packet analysis {"connection_id":144175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa38c"} 
[2026-07-27 17:59:13] local.INFO: Extracted packet for processing {"connection_id":144175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa38c"} 
[2026-07-27 17:59:13] local.INFO: GPS Element Parsed {"raw_longitude":763573056,"raw_latitude":97604288,"longitude_deg":76.3573056,"latitude_deg":9.7604288,"altitude":11,"angle":227,"satellites":41,"speed":8,"hex_longitude":"2d833340","hex_latitude":"05d152c0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 17:59:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999763968001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:59:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111760782823260160,"note":"Value kept but may cause issues"} 
[2026-07-27 17:59:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8992703268453662720,"note":"Value kept but may cause issues"} 
[2026-07-27 17:59:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:59:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785155329000,"timestamp_ms":1785155329000,"timestamp_seconds":1785155329,"priority":1,"record_length":96,"hex_timestamp":"0000019fa38c9be8"} 
[2026-07-27 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-07-27 17:59:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-27 17:59:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 17:59:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:59:13] local.INFO: Teltonika packet parsed successfully {"connection_id":144175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:59:13] local.INFO: Passing IMEI to GPS processor {"connection_id":144175,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:59:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":144175,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:59:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:59:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 17:59:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 17:59:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999763968001,"66":12526,"63":206,"85":15104,"24":8,"16":111760782823260160,"45":-8992703268453662720},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-07-27 17:59:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 17:59:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 17:59:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999763968001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:59:13] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-07-27 17:59:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 17:59:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111760782823260160,"km_value":111760782823260.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:59:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8992703268453662720,"description":"Unknown IO ID 45"} 
[2026-07-27 17:59:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999763968001,"power":12526,"unknown_63":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":-8992703268453662720}} 
[2026-07-27 17:59:13] local.INFO: DEBUG: GPS processor result {"connection_id":144175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554590,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:59:13] local.INFO: GPS data processed {"connection_id":144175,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:59:13] local.INFO: Acknowledgment sent {"connection_id":144175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:59:32] local.INFO: TCP Data received {"connection_id":143052,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:59:32] local.INFO: Processing buffer {"connection_id":143052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:59:32] local.INFO: IMEI packet received {"connection_id":143052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 17:59:32] local.INFO: IMEI acknowledgment sent {"connection_id":143052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 17:59:36] local.INFO: TCP Data received {"connection_id":143052,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:59:36] local.INFO: Processing buffer {"connection_id":143052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:59:36] local.INFO: IMEI packet received {"connection_id":143052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 17:59:36] local.INFO: IMEI acknowledgment sent {"connection_id":143052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:59:39] local.INFO: TCP Data received {"connection_id":143052,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:59:39] local.INFO: Processing buffer {"connection_id":143052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 17:59:39] local.INFO: IMEI packet received {"connection_id":143052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 17:59:39] local.INFO: IMEI acknowledgment sent {"connection_id":143052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 17:59:39] local.INFO: TCP Data received {"connection_id":143052,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa38bada0012da248c005d0e518001c00042b..."} 
[2026-07-27 17:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143052,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa38bada0012da248c005d0e518001c00042b..."} 
[2026-07-27 17:59:39] local.INFO: Processing buffer {"connection_id":143052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa38bada0012da248c005d0e518001c00042b..."} 
[2026-07-27 17:59:39] local.INFO: Packet analysis {"connection_id":143052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa38b"} 
[2026-07-27 17:59:39] local.INFO: Extracted packet for processing {"connection_id":143052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa38b"} 
[2026-07-27 17:59:39] local.INFO: GPS Element Parsed {"raw_longitude":765610176,"raw_latitude":97576216,"longitude_deg":76.5610176,"latitude_deg":9.7576216,"altitude":28,"angle":4,"satellites":43,"speed":18,"hex_longitude":"2da248c0","hex_latitude":"05d0e518","is_valid_coordinates":true} 
[2026-07-27 17:59:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:59:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999744512001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:59:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359182136370003968,"note":"Value kept but may cause issues"} 
[2026-07-27 17:59:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6752514297566097408,"note":"Value kept but may cause issues"} 
[2026-07-27 17:59:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:59:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785155268000,"timestamp_ms":1785155268000,"timestamp_seconds":1785155268,"priority":1,"record_length":96,"hex_timestamp":"0000019fa38bada0"} 
[2026-07-27 17:59:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:59:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-27 17:59:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:59:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:59:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:59:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:59:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:59:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:59:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:59:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:59:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 17:59:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 17:59:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999744512001,"66":27995,"215":206,"83":17920,"24":18,"16":359182136370003968,"45":-6752514297566097408},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-27 17:59:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 17:59:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 17:59:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999744512001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:59:39] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-27 17:59:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":17920,"description":"Unknown IO ID 83"} 
[2026-07-27 17:59:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359182136370003968,"km_value":359182136370003.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:59:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6752514297566097408,"description":"Unknown IO ID 45"} 
[2026-07-27 17:59:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999744512001,"power":27995,"unknown_215":206,"unknown_83":17920,"ignition":18,"odometer":null,"unknown_45":-6752514297566097408}} 
[2026-07-27 17:59:39] local.INFO: DEBUG: GPS processor result {"connection_id":143052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:59:39] local.INFO: GPS data processed {"connection_id":143052,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:59:39] local.INFO: Acknowledgment sent {"connection_id":143052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:59:42] local.INFO: TCP Data received {"connection_id":143052,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa38bc128012da24ac005d0efd8001c000f29..."} 
[2026-07-27 17:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143052,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa38bc128012da24ac005d0efd8001c000f29..."} 
[2026-07-27 17:59:42] local.INFO: Processing buffer {"connection_id":143052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa38bc128012da24ac005d0efd8001c000f29..."} 
[2026-07-27 17:59:42] local.INFO: Packet analysis {"connection_id":143052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa38b"} 
[2026-07-27 17:59:42] local.INFO: Extracted packet for processing {"connection_id":143052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa38b"} 
[2026-07-27 17:59:42] local.INFO: GPS Element Parsed {"raw_longitude":765610688,"raw_latitude":97578968,"longitude_deg":76.5610688,"latitude_deg":9.7578968,"altitude":28,"angle":15,"satellites":41,"speed":20,"hex_longitude":"2da24ac0","hex_latitude":"05d0efd8","is_valid_coordinates":true} 
[2026-07-27 17:59:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:59:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999748608001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:59:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359182273808957440,"note":"Value kept but may cause issues"} 
[2026-07-27 17:59:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6752936510030014464,"note":"Value kept but may cause issues"} 
[2026-07-27 17:59:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:59:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785155273000,"timestamp_ms":1785155273000,"timestamp_seconds":1785155273,"priority":1,"record_length":96,"hex_timestamp":"0000019fa38bc128"} 
[2026-07-27 17:59:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:59:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-27 17:59:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:59:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:59:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:59:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:59:42] local.INFO: Teltonika packet parsed successfully {"connection_id":143052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:59:42] local.INFO: Passing IMEI to GPS processor {"connection_id":143052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:59:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":143052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 17:59:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:59:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 17:59:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 17:59:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999748608001,"66":27876,"215":206,"83":17920,"24":20,"16":359182273808957440,"45":-6752936510030014464},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-27 17:59:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 17:59:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 17:59:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999748608001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:59:42] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-27 17:59:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":17920,"description":"Unknown IO ID 83"} 
[2026-07-27 17:59:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359182273808957440,"km_value":359182273808957.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:59:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6752936510030014464,"description":"Unknown IO ID 45"} 
[2026-07-27 17:59:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999748608001,"power":27876,"unknown_215":206,"unknown_83":17920,"ignition":20,"odometer":null,"unknown_45":-6752936510030014464}} 
[2026-07-27 17:59:42] local.INFO: DEBUG: GPS processor result {"connection_id":143052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:59:42] local.INFO: GPS data processed {"connection_id":143052,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:59:42] local.INFO: Acknowledgment sent {"connection_id":143052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 17:59:44] local.INFO: TCP Data received {"connection_id":144175,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa38c9fd0012d83324005d15268000b010229..."} 
[2026-07-27 17:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa38c9fd0012d83324005d15268000b010229..."} 
[2026-07-27 17:59:44] local.INFO: Processing buffer {"connection_id":144175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa38c9fd0012d83324005d15268000b010229..."} 
[2026-07-27 17:59:44] local.INFO: Packet analysis {"connection_id":144175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa38c"} 
[2026-07-27 17:59:44] local.INFO: Extracted packet for processing {"connection_id":144175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa38c"} 
[2026-07-27 17:59:44] local.INFO: GPS Element Parsed {"raw_longitude":763572800,"raw_latitude":97604200,"longitude_deg":76.35728,"latitude_deg":9.76042,"altitude":11,"angle":258,"satellites":41,"speed":12,"hex_longitude":"2d833240","hex_latitude":"05d15268","is_valid_coordinates":true} 
[2026-07-27 17:59:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 17:59:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999764224001,"note":"Value kept but may cause issues"} 
[2026-07-27 17:59:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111760800003129344,"note":"Value kept but may cause issues"} 
[2026-07-27 17:59:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8992773637197873152,"note":"Value kept but may cause issues"} 
[2026-07-27 17:59:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 17:59:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785155330000,"timestamp_ms":1785155330000,"timestamp_seconds":1785155330,"priority":1,"record_length":96,"hex_timestamp":"0000019fa38c9fd0"} 
[2026-07-27 17:59:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 17:59:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 17:59:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-27 17:59:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 17:59:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 17:59:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 17:59:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 17:59:44] local.INFO: Teltonika packet parsed successfully {"connection_id":144175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 17:59:44] local.INFO: Passing IMEI to GPS processor {"connection_id":144175,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:59:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":144175,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 17:59:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 17:59:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 17:59:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 17:59:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999764224001,"66":12526,"63":206,"85":15104,"24":12,"16":111760800003129344,"45":-8992773637197873152},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-07-27 17:59:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 17:59:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 17:59:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999764224001,"description":"Unknown IO ID 0"} 
[2026-07-27 17:59:44] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-07-27 17:59:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 17:59:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111760800003129344,"km_value":111760800003129.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 17:59:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8992773637197873152,"description":"Unknown IO ID 45"} 
[2026-07-27 17:59:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999764224001,"power":12526,"unknown_63":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":-8992773637197873152}} 
[2026-07-27 17:59:44] local.INFO: DEBUG: GPS processor result {"connection_id":144175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554593,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 17:59:44] local.INFO: GPS data processed {"connection_id":144175,"processed":1,"errors":0,"total":1} 
[2026-07-27 17:59:44] local.INFO: Acknowledgment sent {"connection_id":144175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:00:05] local.INFO: TCP Data received {"connection_id":143053,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143053,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:00:05] local.INFO: Processing buffer {"connection_id":143053,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:00:05] local.INFO: IMEI packet received {"connection_id":143053,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 18:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":143053,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:00:08] local.INFO: TCP Data received {"connection_id":143053,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143053,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:00:08] local.INFO: Processing buffer {"connection_id":143053,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:00:08] local.INFO: IMEI packet received {"connection_id":143053,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 18:00:08] local.INFO: IMEI acknowledgment sent {"connection_id":143053,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:00:13] local.INFO: TCP Data received {"connection_id":143052,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa38bd0c8012da24d8005d0f758001b001c2c..."} 
[2026-07-27 18:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143052,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa38bd0c8012da24d8005d0f758001b001c2c..."} 
[2026-07-27 18:00:13] local.INFO: Processing buffer {"connection_id":143052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa38bd0c8012da24d8005d0f758001b001c2c..."} 
[2026-07-27 18:00:13] local.INFO: Packet analysis {"connection_id":143052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa38b"} 
[2026-07-27 18:00:13] local.INFO: Extracted packet for processing {"connection_id":143052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa38b"} 
[2026-07-27 18:00:13] local.INFO: GPS Element Parsed {"raw_longitude":765611392,"raw_latitude":97580888,"longitude_deg":76.5611392,"latitude_deg":9.7580888,"altitude":27,"angle":28,"satellites":44,"speed":18,"hex_longitude":"2da24d80","hex_latitude":"05d0f758","is_valid_coordinates":true} 
[2026-07-27 18:00:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:00:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999749888001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:00:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359182372593205248,"note":"Value kept but may cause issues"} 
[2026-07-27 18:00:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6752373560075888640,"note":"Value kept but may cause issues"} 
[2026-07-27 18:00:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:00:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785155277000,"timestamp_ms":1785155277000,"timestamp_seconds":1785155277,"priority":1,"record_length":96,"hex_timestamp":"0000019fa38bd0c8"} 
[2026-07-27 18:00:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:00:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:00:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-27 18:00:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:00:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:00:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:00:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:00:13] local.INFO: Teltonika packet parsed successfully {"connection_id":143052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:00:13] local.INFO: Passing IMEI to GPS processor {"connection_id":143052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:00:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":143052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:00: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-07-27 18:00:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:00:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:00:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999749888001,"66":27908,"215":206,"83":17920,"24":18,"16":359182372593205248,"45":-6752373560075888640},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-27 18:00:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:00:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:00:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999749888001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:00:13] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-27 18:00:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":17920,"description":"Unknown IO ID 83"} 
[2026-07-27 18:00:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359182372593205248,"km_value":359182372593205.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:00:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6752373560075888640,"description":"Unknown IO ID 45"} 
[2026-07-27 18:00:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999749888001,"power":27908,"unknown_215":206,"unknown_83":17920,"ignition":18,"odometer":null,"unknown_45":-6752373560075888640}} 
[2026-07-27 18:00:13] local.INFO: DEBUG: GPS processor result {"connection_id":143052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:00:13] local.INFO: GPS data processed {"connection_id":143052,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:00:13] local.INFO: Acknowledgment sent {"connection_id":143052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:00:13] local.INFO: TCP Data received {"connection_id":143053,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143053,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:00:13] local.INFO: Processing buffer {"connection_id":143053,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:00:13] local.INFO: IMEI packet received {"connection_id":143053,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 18:00:13] local.INFO: IMEI acknowledgment sent {"connection_id":143053,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:00:13] local.INFO: TCP Data received {"connection_id":143053,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa38ca3b8012d83310005d15270000b011627..."} 
[2026-07-27 18:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa38ca3b8012d83310005d15270000b011627..."} 
[2026-07-27 18:00:13] local.INFO: Processing buffer {"connection_id":143053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa38ca3b8012d83310005d15270000b011627..."} 
[2026-07-27 18:00:13] local.INFO: Packet analysis {"connection_id":143053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa38c"} 
[2026-07-27 18:00:13] local.INFO: Extracted packet for processing {"connection_id":143053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa38c"} 
[2026-07-27 18:00:13] local.INFO: GPS Element Parsed {"raw_longitude":763572480,"raw_latitude":97604208,"longitude_deg":76.357248,"latitude_deg":9.7604208,"altitude":11,"angle":278,"satellites":39,"speed":13,"hex_longitude":"2d833100","hex_latitude":"05d15270","is_valid_coordinates":true} 
[2026-07-27 18:00:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:00:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999764480001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:00:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111760812888031232,"note":"Value kept but may cause issues"} 
[2026-07-27 18:00:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8993055112174606336,"note":"Value kept but may cause issues"} 
[2026-07-27 18:00:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:00:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785155331000,"timestamp_ms":1785155331000,"timestamp_seconds":1785155331,"priority":1,"record_length":96,"hex_timestamp":"0000019fa38ca3b8"} 
[2026-07-27 18:00:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:00:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:00:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-27 18:00: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-07-27 18:00:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:00:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:00:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:00:13] local.INFO: Teltonika packet parsed successfully {"connection_id":143053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:00:13] local.INFO: Passing IMEI to GPS processor {"connection_id":143053,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:00:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":143053,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:00:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:00:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 18:00:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 18:00:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999764480001,"66":12526,"63":206,"85":15104,"24":13,"16":111760812888031232,"45":-8993055112174606336},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-07-27 18:00:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 18:00:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 18:00:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999764480001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:00:13] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-07-27 18:00:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 18:00:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111760812888031232,"km_value":111760812888031.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:00:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8993055112174606336,"description":"Unknown IO ID 45"} 
[2026-07-27 18:00:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999764480001,"power":12526,"unknown_63":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":-8993055112174606336}} 
[2026-07-27 18:00:13] local.INFO: DEBUG: GPS processor result {"connection_id":143053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554595,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:00:13] local.INFO: GPS data processed {"connection_id":143053,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:00:13] local.INFO: Acknowledgment sent {"connection_id":143053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:00:31] local.INFO: TCP Data received {"connection_id":143194,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:00:31] local.INFO: Processing buffer {"connection_id":143194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:00:31] local.INFO: IMEI packet received {"connection_id":143194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 18:00:31] local.INFO: IMEI acknowledgment sent {"connection_id":143194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:00:31] local.INFO: TCP Data received {"connection_id":143194,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:00:31] local.INFO: Processing buffer {"connection_id":143194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:00:31] local.INFO: IMEI packet received {"connection_id":143194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 18:00:31] local.INFO: IMEI acknowledgment sent {"connection_id":143194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:00:34] local.INFO: TCP Data received {"connection_id":143194,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:00:34] local.INFO: Processing buffer {"connection_id":143194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:00:34] local.INFO: IMEI packet received {"connection_id":143194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 18:00:34] local.INFO: IMEI acknowledgment sent {"connection_id":143194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:00:34] local.INFO: TCP Data received {"connection_id":143194,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa38be450012da252c005d0feb0001a00282c..."} 
[2026-07-27 18:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143194,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa38be450012da252c005d0feb0001a00282c..."} 
[2026-07-27 18:00:34] local.INFO: Processing buffer {"connection_id":143194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa38be450012da252c005d0feb0001a00282c..."} 
[2026-07-27 18:00:34] local.INFO: Packet analysis {"connection_id":143194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa38b"} 
[2026-07-27 18:00:34] local.INFO: Extracted packet for processing {"connection_id":143194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa38b"} 
[2026-07-27 18:00:34] local.INFO: GPS Element Parsed {"raw_longitude":765612736,"raw_latitude":97582768,"longitude_deg":76.5612736,"latitude_deg":9.7582768,"altitude":26,"angle":40,"satellites":44,"speed":18,"hex_longitude":"2da252c0","hex_latitude":"05d0feb0","is_valid_coordinates":true} 
[2026-07-27 18:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:00:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999750912001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:00:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359182484262354944,"note":"Value kept but may cause issues"} 
[2026-07-27 18:00:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6751599503889442816,"note":"Value kept but may cause issues"} 
[2026-07-27 18:00:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:00:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785155282000,"timestamp_ms":1785155282000,"timestamp_seconds":1785155282,"priority":1,"record_length":96,"hex_timestamp":"0000019fa38be450"} 
[2026-07-27 18:00:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:00:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-27 18:00:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:00:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:00:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:00:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:00:34] local.INFO: Teltonika packet parsed successfully {"connection_id":143194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:00:34] local.INFO: Passing IMEI to GPS processor {"connection_id":143194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:00:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":143194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:00:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:00:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:00:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:00:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999750912001,"66":27843,"215":206,"83":17920,"24":18,"16":359182484262354944,"45":-6751599503889442816},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-27 18:00:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:00:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:00:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999750912001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:00:34] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-27 18:00:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":17920,"description":"Unknown IO ID 83"} 
[2026-07-27 18:00:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359182484262354944,"km_value":359182484262354.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:00:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6751599503889442816,"description":"Unknown IO ID 45"} 
[2026-07-27 18:00:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999750912001,"power":27843,"unknown_215":206,"unknown_83":17920,"ignition":18,"odometer":null,"unknown_45":-6751599503889442816}} 
[2026-07-27 18:00:34] local.INFO: DEBUG: GPS processor result {"connection_id":143194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:00:34] local.INFO: GPS data processed {"connection_id":143194,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:00:34] local.INFO: Acknowledgment sent {"connection_id":143194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:00:45] local.INFO: TCP Data received {"connection_id":143053,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa38e0b18012d82298005d17120000b011d29..."} 
[2026-07-27 18:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa38e0b18012d82298005d17120000b011d29..."} 
[2026-07-27 18:00:45] local.INFO: Processing buffer {"connection_id":143053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa38e0b18012d82298005d17120000b011d29..."} 
[2026-07-27 18:00:45] local.INFO: Packet analysis {"connection_id":143053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa38e"} 
[2026-07-27 18:00:45] local.INFO: Extracted packet for processing {"connection_id":143053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa38e"} 
[2026-07-27 18:00:45] local.INFO: GPS Element Parsed {"raw_longitude":763505024,"raw_latitude":97612064,"longitude_deg":76.3505024,"latitude_deg":9.7612064,"altitude":11,"angle":285,"satellites":41,"speed":31,"hex_longitude":"2d822980","hex_latitude":"05d17120","is_valid_coordinates":true} 
[2026-07-27 18:00:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:00:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999787264001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:00:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111764145782652928,"note":"Value kept but may cause issues"} 
[2026-07-27 18:00:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9064338650024966144,"note":"Value kept but may cause issues"} 
[2026-07-27 18:00:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:00:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785155423000,"timestamp_ms":1785155423000,"timestamp_seconds":1785155423,"priority":1,"record_length":96,"hex_timestamp":"0000019fa38e0b18"} 
[2026-07-27 18:00:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:00:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:00:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-27 18:00:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:00:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:00:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:00:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:00:45] local.INFO: Teltonika packet parsed successfully {"connection_id":143053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:00:45] local.INFO: Passing IMEI to GPS processor {"connection_id":143053,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:00:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":143053,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:00:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:00:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 18:00:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 18:00:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999787264001,"66":12254,"64":206,"85":15104,"24":31,"16":111764145782652928,"45":-9064338650024966144},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-07-27 18:00:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 18:00:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 18:00:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999787264001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:00:45] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-07-27 18:00:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 18:00:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111764145782652928,"km_value":111764145782652.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:00:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9064338650024966144,"description":"Unknown IO ID 45"} 
[2026-07-27 18:00:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999787264001,"power":12254,"unknown_64":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":-9064338650024966144}} 
[2026-07-27 18:00:45] local.INFO: DEBUG: GPS processor result {"connection_id":143053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554597,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:00:45] local.INFO: GPS data processed {"connection_id":143053,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:00:45] local.INFO: Acknowledgment sent {"connection_id":143053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:01:05] local.INFO: TCP Data received {"connection_id":143194,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa38dc4c8012da338c005d1d2d8001900172b..."} 
[2026-07-27 18:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143194,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa38dc4c8012da338c005d1d2d8001900172b..."} 
[2026-07-27 18:01:05] local.INFO: Processing buffer {"connection_id":143194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa38dc4c8012da338c005d1d2d8001900172b..."} 
[2026-07-27 18:01:05] local.INFO: Packet analysis {"connection_id":143194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa38d"} 
[2026-07-27 18:01:05] local.INFO: Extracted packet for processing {"connection_id":143194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa38d"} 
[2026-07-27 18:01:05] local.INFO: GPS Element Parsed {"raw_longitude":765671616,"raw_latitude":97637080,"longitude_deg":76.5671616,"latitude_deg":9.763708,"altitude":25,"angle":23,"satellites":43,"speed":38,"hex_longitude":"2da338c0","hex_latitude":"05d1d2d8","is_valid_coordinates":true} 
[2026-07-27 18:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:01:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999781120001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:01:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359186465697038336,"note":"Value kept but may cause issues"} 
[2026-07-27 18:01:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6689745377744953344,"note":"Value kept but may cause issues"} 
[2026-07-27 18:01:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:01:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785155405000,"timestamp_ms":1785155405000,"timestamp_seconds":1785155405,"priority":1,"record_length":96,"hex_timestamp":"0000019fa38dc4c8"} 
[2026-07-27 18:01:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:01:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-27 18:01:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:01:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:01:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:01:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:01:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:01:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:01:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:01:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:01:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:01:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:01:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999781120001,"66":27800,"135":206,"83":17920,"24":38,"16":359186465697038336,"45":-6689745377744953344},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,45]} 
[2026-07-27 18:01:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:01:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:01:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999781120001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:01:05] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-07-27 18:01:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":17920,"description":"Unknown IO ID 83"} 
[2026-07-27 18:01:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359186465697038336,"km_value":359186465697038.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:01:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6689745377744953344,"description":"Unknown IO ID 45"} 
[2026-07-27 18:01:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999781120001,"power":27800,"unknown_135":206,"unknown_83":17920,"ignition":38,"odometer":null,"unknown_45":-6689745377744953344}} 
[2026-07-27 18:01:05] local.INFO: DEBUG: GPS processor result {"connection_id":143194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:01:05] local.INFO: GPS data processed {"connection_id":143194,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:01:05] local.INFO: Acknowledgment sent {"connection_id":143194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:01:07] local.INFO: TCP Data received {"connection_id":145458,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145458,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:01:07] local.INFO: Processing buffer {"connection_id":145458,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:01:07] local.INFO: IMEI packet received {"connection_id":145458,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 18:01:07] local.INFO: IMEI acknowledgment sent {"connection_id":145458,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:01:08] local.INFO: TCP Data received {"connection_id":145458,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145458,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:01:08] local.INFO: Processing buffer {"connection_id":145458,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:01:08] local.INFO: IMEI packet received {"connection_id":145458,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 18:01:08] local.INFO: IMEI acknowledgment sent {"connection_id":145458,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:01:10] local.INFO: TCP Data received {"connection_id":145458,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145458,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:01:10] local.INFO: Processing buffer {"connection_id":145458,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:01:10] local.INFO: IMEI packet received {"connection_id":145458,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 18:01:10] local.INFO: IMEI acknowledgment sent {"connection_id":145458,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:01:11] local.INFO: TCP Data received {"connection_id":145458,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145458,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:01:11] local.INFO: Processing buffer {"connection_id":145458,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:01:11] local.INFO: IMEI packet received {"connection_id":145458,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 18:01:11] local.INFO: IMEI acknowledgment sent {"connection_id":145458,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:01:12] local.INFO: TCP Data received {"connection_id":145458,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa38e3de0012d82048005d179d8000b011127..."} 
[2026-07-27 18:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa38e3de0012d82048005d179d8000b011127..."} 
[2026-07-27 18:01:12] local.INFO: Processing buffer {"connection_id":145458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa38e3de0012d82048005d179d8000b011127..."} 
[2026-07-27 18:01:12] local.INFO: Packet analysis {"connection_id":145458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa38e"} 
[2026-07-27 18:01:12] local.INFO: Extracted packet for processing {"connection_id":145458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa38e"} 
[2026-07-27 18:01:12] local.INFO: GPS Element Parsed {"raw_longitude":763495552,"raw_latitude":97614296,"longitude_deg":76.3495552,"latitude_deg":9.7614296,"altitude":11,"angle":273,"satellites":39,"speed":36,"hex_longitude":"2d820480","hex_latitude":"05d179d8","is_valid_coordinates":true} 
[2026-07-27 18: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-07-27 18:01:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999788288001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:01:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111764609639120896,"note":"Value kept but may cause issues"} 
[2026-07-27 18:01:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9067575612256739328,"note":"Value kept but may cause issues"} 
[2026-07-27 18:01:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:01:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785155436000,"timestamp_ms":1785155436000,"timestamp_seconds":1785155436,"priority":1,"record_length":96,"hex_timestamp":"0000019fa38e3de0"} 
[2026-07-27 18:01:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:01:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-27 18:01:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18: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-07-27 18:01:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:01:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:01:12] local.INFO: Teltonika packet parsed successfully {"connection_id":145458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:01:12] local.INFO: Passing IMEI to GPS processor {"connection_id":145458,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:01:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":145458,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:01:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:01:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 18:01:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 18:01:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999788288001,"66":12602,"64":206,"85":15104,"24":36,"16":111764609639120896,"45":-9067575612256739328},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-07-27 18:01:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 18:01:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 18:01:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999788288001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:01:12] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-07-27 18:01:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 18:01:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111764609639120896,"km_value":111764609639120.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:01:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9067575612256739328,"description":"Unknown IO ID 45"} 
[2026-07-27 18:01:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999788288001,"power":12602,"unknown_64":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":-9067575612256739328}} 
[2026-07-27 18:01:12] local.INFO: DEBUG: GPS processor result {"connection_id":145458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554599,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:01:12] local.INFO: GPS data processed {"connection_id":145458,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:01:12] local.INFO: Acknowledgment sent {"connection_id":145458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:01:32] local.INFO: TCP Data received {"connection_id":143195,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:01:32] local.INFO: Processing buffer {"connection_id":143195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:01:32] local.INFO: IMEI packet received {"connection_id":143195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 18:01:32] local.INFO: IMEI acknowledgment sent {"connection_id":143195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:01:35] local.INFO: TCP Data received {"connection_id":143195,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:01:35] local.INFO: Processing buffer {"connection_id":143195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:01:35] local.INFO: IMEI packet received {"connection_id":143195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 18:01:35] local.INFO: IMEI acknowledgment sent {"connection_id":143195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:01:36] local.INFO: TCP Data received {"connection_id":143195,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa38de7f0012da3480005d1f3a0001a00182b..."} 
[2026-07-27 18:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143195,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa38de7f0012da3480005d1f3a0001a00182b..."} 
[2026-07-27 18:01:36] local.INFO: Processing buffer {"connection_id":143195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa38de7f0012da3480005d1f3a0001a00182b..."} 
[2026-07-27 18:01:36] local.INFO: Packet analysis {"connection_id":143195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa38d"} 
[2026-07-27 18:01:36] local.INFO: Extracted packet for processing {"connection_id":143195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa38d"} 
[2026-07-27 18:01:36] local.INFO: GPS Element Parsed {"raw_longitude":765675520,"raw_latitude":97645472,"longitude_deg":76.567552,"latitude_deg":9.7645472,"altitude":26,"angle":24,"satellites":43,"speed":41,"hex_longitude":"2da34800","hex_latitude":"05d1f3a0","is_valid_coordinates":true} 
[2026-07-27 18:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:01:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999783680001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:01:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359186912373637120,"note":"Value kept but may cause issues"} 
[2026-07-27 18:01:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6685382515603875840,"note":"Value kept but may cause issues"} 
[2026-07-27 18:01:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:01:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785155414000,"timestamp_ms":1785155414000,"timestamp_seconds":1785155414,"priority":1,"record_length":96,"hex_timestamp":"0000019fa38de7f0"} 
[2026-07-27 18:01:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:01:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-27 18:01:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:01:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:01:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:01:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:01:36] local.INFO: Teltonika packet parsed successfully {"connection_id":143195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:01:36] local.INFO: Passing IMEI to GPS processor {"connection_id":143195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:01:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":143195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:01:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:01:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:01:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:01:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999783680001,"66":27919,"135":206,"83":17920,"24":41,"16":359186912373637120,"45":-6685382515603875840},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,45]} 
[2026-07-27 18:01:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:01:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:01:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999783680001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:01:36] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-07-27 18:01:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":17920,"description":"Unknown IO ID 83"} 
[2026-07-27 18:01:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359186912373637120,"km_value":359186912373637.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:01:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6685382515603875840,"description":"Unknown IO ID 45"} 
[2026-07-27 18:01:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999783680001,"power":27919,"unknown_135":206,"unknown_83":17920,"ignition":41,"odometer":null,"unknown_45":-6685382515603875840}} 
[2026-07-27 18:01:36] local.INFO: DEBUG: GPS processor result {"connection_id":143195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:01:36] local.INFO: GPS data processed {"connection_id":143195,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:01:36] local.INFO: Acknowledgment sent {"connection_id":143195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:01:43] local.INFO: TCP Data received {"connection_id":145458,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa38f0518012d814c4005d183100009011626..."} 
[2026-07-27 18:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa38f0518012d814c4005d183100009011626..."} 
[2026-07-27 18:01:43] local.INFO: Processing buffer {"connection_id":145458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa38f0518012d814c4005d183100009011626..."} 
[2026-07-27 18:01:43] local.INFO: Packet analysis {"connection_id":145458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa38f"} 
[2026-07-27 18:01:43] local.INFO: Extracted packet for processing {"connection_id":145458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa38f"} 
[2026-07-27 18:01:43] local.INFO: GPS Element Parsed {"raw_longitude":763448384,"raw_latitude":97616656,"longitude_deg":76.3448384,"latitude_deg":9.7616656,"altitude":9,"angle":278,"satellites":38,"speed":39,"hex_longitude":"2d814c40","hex_latitude":"05d18310","is_valid_coordinates":true} 
[2026-07-27 18:01:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:01:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999802368001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:01:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111766907446624256,"note":"Value kept but may cause issues"} 
[2026-07-27 18:01:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9121970651504979968,"note":"Value kept but may cause issues"} 
[2026-07-27 18:01:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:01:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785155487000,"timestamp_ms":1785155487000,"timestamp_seconds":1785155487,"priority":1,"record_length":96,"hex_timestamp":"0000019fa38f0518"} 
[2026-07-27 18:01:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:01:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18: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":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-27 18:01:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:01:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:01:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:01:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:01:43] local.INFO: Teltonika packet parsed successfully {"connection_id":145458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:01:43] local.INFO: Passing IMEI to GPS processor {"connection_id":145458,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:01:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":145458,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:01:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:01:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 18:01:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 18:01:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999802368001,"66":12406,"65":206,"85":15104,"24":39,"16":111766907446624256,"45":-9121970651504979968},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,85,24,16,45]} 
[2026-07-27 18:01:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 18:01:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 18:01:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999802368001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:01:43] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-07-27 18:01:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 18:01:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111766907446624256,"km_value":111766907446624.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:01:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9121970651504979968,"description":"Unknown IO ID 45"} 
[2026-07-27 18:01:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999802368001,"power":12406,"unknown_65":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":-9121970651504979968}} 
[2026-07-27 18:01:43] local.INFO: DEBUG: GPS processor result {"connection_id":145458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554601,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:01:43] local.INFO: GPS data processed {"connection_id":145458,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:01:43] local.INFO: Acknowledgment sent {"connection_id":145458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:02:07] local.INFO: TCP Data received {"connection_id":143055,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143055,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:02:07] local.INFO: Processing buffer {"connection_id":143055,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:02:07] local.INFO: IMEI packet received {"connection_id":143055,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 18:02:07] local.INFO: IMEI acknowledgment sent {"connection_id":143055,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:02:08] local.INFO: TCP Data received {"connection_id":143195,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa38e0b18012da3578005d21488001b00192c..."} 
[2026-07-27 18:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143195,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa38e0b18012da3578005d21488001b00192c..."} 
[2026-07-27 18:02:08] local.INFO: Processing buffer {"connection_id":143195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa38e0b18012da3578005d21488001b00192c..."} 
[2026-07-27 18:02:08] local.INFO: Packet analysis {"connection_id":143195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa38e"} 
[2026-07-27 18:02:08] local.INFO: Extracted packet for processing {"connection_id":143195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa38e"} 
[2026-07-27 18:02:08] local.INFO: GPS Element Parsed {"raw_longitude":765679488,"raw_latitude":97653896,"longitude_deg":76.5679488,"latitude_deg":9.7653896,"altitude":27,"angle":25,"satellites":44,"speed":43,"hex_longitude":"2da35780","hex_latitude":"05d21488","is_valid_coordinates":true} 
[2026-07-27 18:02:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:02:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999785984001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:02:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359187363345203200,"note":"Value kept but may cause issues"} 
[2026-07-27 18:02:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6681090022206889984,"note":"Value kept but may cause issues"} 
[2026-07-27 18:02:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:02:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785155423000,"timestamp_ms":1785155423000,"timestamp_seconds":1785155423,"priority":1,"record_length":96,"hex_timestamp":"0000019fa38e0b18"} 
[2026-07-27 18:02:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:02:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-27 18:02:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:02:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:02:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:02:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:02:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:02:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:02:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:02:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:02:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:02:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:02:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999785984001,"66":27876,"135":206,"83":17920,"24":43,"16":359187363345203200,"45":-6681090022206889984},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,45]} 
[2026-07-27 18:02:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:02:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:02:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999785984001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:02:08] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-07-27 18:02:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":17920,"description":"Unknown IO ID 83"} 
[2026-07-27 18:02:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359187363345203200,"km_value":359187363345203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:02:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6681090022206889984,"description":"Unknown IO ID 45"} 
[2026-07-27 18:02:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999785984001,"power":27876,"unknown_135":206,"unknown_83":17920,"ignition":43,"odometer":null,"unknown_45":-6681090022206889984}} 
[2026-07-27 18:02:08] local.INFO: DEBUG: GPS processor result {"connection_id":143195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:02:08] local.INFO: GPS data processed {"connection_id":143195,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:02:08] local.INFO: Acknowledgment sent {"connection_id":143195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:02:11] local.INFO: TCP Data received {"connection_id":143055,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143055,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:02:11] local.INFO: Processing buffer {"connection_id":143055,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:02:11] local.INFO: IMEI packet received {"connection_id":143055,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 18:02:11] local.INFO: IMEI acknowledgment sent {"connection_id":143055,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:02:12] local.INFO: TCP Data received {"connection_id":143055,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143055,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:02:12] local.INFO: Processing buffer {"connection_id":143055,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:02:12] local.INFO: IMEI packet received {"connection_id":143055,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 18:02:12] local.INFO: IMEI acknowledgment sent {"connection_id":143055,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:02:13] local.INFO: TCP Data received {"connection_id":143055,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa38f2840012d81284005d189d80009011525..."} 
[2026-07-27 18:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa38f2840012d81284005d189d80009011525..."} 
[2026-07-27 18:02:13] local.INFO: Processing buffer {"connection_id":143055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa38f2840012d81284005d189d80009011525..."} 
[2026-07-27 18:02:13] local.INFO: Packet analysis {"connection_id":143055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa38f"} 
[2026-07-27 18:02:13] local.INFO: Extracted packet for processing {"connection_id":143055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa38f"} 
[2026-07-27 18:02:13] local.INFO: GPS Element Parsed {"raw_longitude":763439168,"raw_latitude":97618392,"longitude_deg":76.3439168,"latitude_deg":9.7618392,"altitude":9,"angle":277,"satellites":37,"speed":39,"hex_longitude":"2d812840","hex_latitude":"05d189d8","is_valid_coordinates":true} 
[2026-07-27 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-07-27 18:02:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999804672001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:02:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111767358418190336,"note":"Value kept but may cause issues"} 
[2026-07-27 18:02:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9129851950852796416,"note":"Value kept but may cause issues"} 
[2026-07-27 18:02:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:02:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785155496000,"timestamp_ms":1785155496000,"timestamp_seconds":1785155496,"priority":1,"record_length":96,"hex_timestamp":"0000019fa38f2840"} 
[2026-07-27 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-07-27 18:02:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 18:02:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 18:02:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:02:13] local.INFO: Teltonika packet parsed successfully {"connection_id":143055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:02:13] local.INFO: Passing IMEI to GPS processor {"connection_id":143055,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:02:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":143055,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:02:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:02:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 18:02:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 18:02:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999804672001,"66":11917,"65":206,"85":15104,"24":39,"16":111767358418190336,"45":-9129851950852796416},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,85,24,16,45]} 
[2026-07-27 18:02:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 18:02:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 18:02:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999804672001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:02:13] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-07-27 18:02:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 18:02:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111767358418190336,"km_value":111767358418190.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:02:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9129851950852796416,"description":"Unknown IO ID 45"} 
[2026-07-27 18:02:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999804672001,"power":11917,"unknown_65":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":-9129851950852796416}} 
[2026-07-27 18:02:13] local.INFO: DEBUG: GPS processor result {"connection_id":143055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554603,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:02:13] local.INFO: GPS data processed {"connection_id":143055,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:02:13] local.INFO: Acknowledgment sent {"connection_id":143055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:02:33] local.INFO: TCP Data received {"connection_id":144176,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:02:33] local.INFO: Processing buffer {"connection_id":144176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:02:33] local.INFO: IMEI packet received {"connection_id":144176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 18:02:33] local.INFO: IMEI acknowledgment sent {"connection_id":144176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:02:38] local.INFO: TCP Data received {"connection_id":144176,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:02:38] local.INFO: Processing buffer {"connection_id":144176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:02:38] local.INFO: IMEI packet received {"connection_id":144176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 18:02:38] local.INFO: IMEI acknowledgment sent {"connection_id":144176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:02:39] local.INFO: TCP Data received {"connection_id":144176,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa38f2070012da3d54005d315580022004629..."} 
[2026-07-27 18:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144176,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa38f2070012da3d54005d315580022004629..."} 
[2026-07-27 18:02:39] local.INFO: Processing buffer {"connection_id":144176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa38f2070012da3d54005d315580022004629..."} 
[2026-07-27 18:02:39] local.INFO: Packet analysis {"connection_id":144176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa38f"} 
[2026-07-27 18:02:39] local.INFO: Extracted packet for processing {"connection_id":144176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa38f"} 
[2026-07-27 18:02:39] local.INFO: GPS Element Parsed {"raw_longitude":765711680,"raw_latitude":97719640,"longitude_deg":76.571168,"latitude_deg":9.771964,"altitude":34,"angle":70,"satellites":41,"speed":31,"hex_longitude":"2da3d540","hex_latitude":"05d31558","is_valid_coordinates":true} 
[2026-07-27 18:02:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:02:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999805952001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:02:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359191026952306688,"note":"Value kept but may cause issues"} 
[2026-07-27 18:02:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6642950162843789312,"note":"Value kept but may cause issues"} 
[2026-07-27 18:02:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:02:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785155494000,"timestamp_ms":1785155494000,"timestamp_seconds":1785155494,"priority":1,"record_length":96,"hex_timestamp":"0000019fa38f2070"} 
[2026-07-27 18:02:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:02:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:02:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-27 18:02:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:02:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:02:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:02:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:02:39] local.INFO: Teltonika packet parsed successfully {"connection_id":144176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:02:39] local.INFO: Passing IMEI to GPS processor {"connection_id":144176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:02:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":144176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:02:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:02:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:02:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:02:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999805952001,"66":27865,"135":206,"83":17920,"24":31,"16":359191026952306688,"45":-6642950162843789312},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,45]} 
[2026-07-27 18:02:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:02:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:02:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999805952001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:02:39] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-07-27 18:02:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":17920,"description":"Unknown IO ID 83"} 
[2026-07-27 18:02:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359191026952306688,"km_value":359191026952306.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:02:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6642950162843789312,"description":"Unknown IO ID 45"} 
[2026-07-27 18:02:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999805952001,"power":27865,"unknown_135":206,"unknown_83":17920,"ignition":31,"odometer":null,"unknown_45":-6642950162843789312}} 
[2026-07-27 18:02:39] local.INFO: DEBUG: GPS processor result {"connection_id":144176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:02:39] local.INFO: GPS data processed {"connection_id":144176,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:02:39] local.INFO: Acknowledgment sent {"connection_id":144176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:02:40] local.INFO: TCP Data received {"connection_id":144176,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa38f3fb0012da3ecc005d31cd80023003429..."} 
[2026-07-27 18:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144176,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa38f3fb0012da3ecc005d31cd80023003429..."} 
[2026-07-27 18:02:40] local.INFO: Processing buffer {"connection_id":144176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa38f3fb0012da3ecc005d31cd80023003429..."} 
[2026-07-27 18:02:40] local.INFO: Packet analysis {"connection_id":144176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa38f"} 
[2026-07-27 18:02:40] local.INFO: Extracted packet for processing {"connection_id":144176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa38f"} 
[2026-07-27 18:02:40] local.INFO: GPS Element Parsed {"raw_longitude":765717696,"raw_latitude":97721560,"longitude_deg":76.5717696,"latitude_deg":9.772156,"altitude":35,"angle":52,"satellites":41,"speed":30,"hex_longitude":"2da3ecc0","hex_latitude":"05d31cd8","is_valid_coordinates":true} 
[2026-07-27 18:02:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:02:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999806464001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:02:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359191331894984704,"note":"Value kept but may cause issues"} 
[2026-07-27 18:02:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6641331681727522816,"note":"Value kept but may cause issues"} 
[2026-07-27 18:02:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:02:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785155502000,"timestamp_ms":1785155502000,"timestamp_seconds":1785155502,"priority":1,"record_length":96,"hex_timestamp":"0000019fa38f3fb0"} 
[2026-07-27 18:02:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:02:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-27 18:02:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:02:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:02:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:02:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:02:40] local.INFO: Teltonika packet parsed successfully {"connection_id":144176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:02:40] local.INFO: Passing IMEI to GPS processor {"connection_id":144176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:02:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":144176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:02: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-07-27 18:02:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:02:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:02:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999806464001,"66":27919,"135":206,"83":17920,"24":30,"16":359191331894984704,"45":-6641331681727522816},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,45]} 
[2026-07-27 18:02:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:02:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:02:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999806464001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:02:40] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-07-27 18:02:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":17920,"description":"Unknown IO ID 83"} 
[2026-07-27 18:02:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359191331894984704,"km_value":359191331894984.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:02:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6641331681727522816,"description":"Unknown IO ID 45"} 
[2026-07-27 18:02:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999806464001,"power":27919,"unknown_135":206,"unknown_83":17920,"ignition":30,"odometer":null,"unknown_45":-6641331681727522816}} 
[2026-07-27 18:02:40] local.INFO: DEBUG: GPS processor result {"connection_id":144176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:02:40] local.INFO: GPS data processed {"connection_id":144176,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:02:40] local.INFO: Acknowledgment sent {"connection_id":144176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:02:44] local.INFO: TCP Data received {"connection_id":143055,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa38f3bc8012d81198005d18aa00009010a26..."} 
[2026-07-27 18:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa38f3bc8012d81198005d18aa00009010a26..."} 
[2026-07-27 18:02:44] local.INFO: Processing buffer {"connection_id":143055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa38f3bc8012d81198005d18aa00009010a26..."} 
[2026-07-27 18:02:44] local.INFO: Packet analysis {"connection_id":143055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa38f"} 
[2026-07-27 18:02:44] local.INFO: Extracted packet for processing {"connection_id":143055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa38f"} 
[2026-07-27 18:02:44] local.INFO: GPS Element Parsed {"raw_longitude":763435392,"raw_latitude":97618592,"longitude_deg":76.3435392,"latitude_deg":9.7618592,"altitude":9,"angle":266,"satellites":38,"speed":19,"hex_longitude":"2d811980","hex_latitude":"05d18aa0","is_valid_coordinates":true} 
[2026-07-27 18:02:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:02:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999806976001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:02:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111767538806816768,"note":"Value kept but may cause issues"} 
[2026-07-27 18:02:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9139985050013935616,"note":"Value kept but may cause issues"} 
[2026-07-27 18:02:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:02:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785155501000,"timestamp_ms":1785155501000,"timestamp_seconds":1785155501,"priority":1,"record_length":96,"hex_timestamp":"0000019fa38f3bc8"} 
[2026-07-27 18:02:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:02:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:02:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-27 18:02:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1697,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:02:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:02:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:02:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:02:44] local.INFO: Teltonika packet parsed successfully {"connection_id":143055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:02:44] local.INFO: Passing IMEI to GPS processor {"connection_id":143055,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:02:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":143055,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:02:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:02:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 18:02:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 18:02:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999806976001,"66":12624,"65":206,"85":15104,"24":19,"16":111767538806816768,"45":-9139985050013935616},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,85,24,16,45]} 
[2026-07-27 18:02:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 18:02:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 18:02:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999806976001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:02:44] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-07-27 18:02:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 18:02:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111767538806816768,"km_value":111767538806816.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:02:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9139985050013935616,"description":"Unknown IO ID 45"} 
[2026-07-27 18:02:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999806976001,"power":12624,"unknown_65":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":-9139985050013935616}} 
[2026-07-27 18:02:44] local.INFO: DEBUG: GPS processor result {"connection_id":143055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554606,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:02:44] local.INFO: GPS data processed {"connection_id":143055,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:02:44] local.INFO: Acknowledgment sent {"connection_id":143055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:03:07] local.INFO: TCP Data received {"connection_id":144177,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144177,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:03:07] local.INFO: Processing buffer {"connection_id":144177,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:03:07] local.INFO: IMEI packet received {"connection_id":144177,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 18:03:07] local.INFO: IMEI acknowledgment sent {"connection_id":144177,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:03:10] local.INFO: TCP Data received {"connection_id":144177,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144177,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:03:10] local.INFO: Processing buffer {"connection_id":144177,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:03:10] local.INFO: IMEI packet received {"connection_id":144177,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 18:03:10] local.INFO: IMEI acknowledgment sent {"connection_id":144177,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:03:10] local.INFO: TCP Data received {"connection_id":144177,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144177,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:03:10] local.INFO: Processing buffer {"connection_id":144177,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:03:10] local.INFO: IMEI packet received {"connection_id":144177,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 18:03:10] local.INFO: IMEI acknowledgment sent {"connection_id":144177,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:03:11] local.INFO: TCP Data received {"connection_id":144176,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa38f4780012da3f0c005d321500023001e29..."} 
[2026-07-27 18:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144176,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa38f4780012da3f0c005d321500023001e29..."} 
[2026-07-27 18:03:11] local.INFO: Processing buffer {"connection_id":144176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa38f4780012da3f0c005d321500023001e29..."} 
[2026-07-27 18:03:11] local.INFO: Packet analysis {"connection_id":144176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa38f"} 
[2026-07-27 18:03:11] local.INFO: Extracted packet for processing {"connection_id":144176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa38f"} 
[2026-07-27 18:03:11] local.INFO: GPS Element Parsed {"raw_longitude":765718720,"raw_latitude":97722704,"longitude_deg":76.571872,"latitude_deg":9.7722704,"altitude":35,"angle":30,"satellites":41,"speed":30,"hex_longitude":"2da3f0c0","hex_latitude":"05d32150","is_valid_coordinates":true} 
[2026-07-27 18:03:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:03:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999808512001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:03:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359191404909428736,"note":"Value kept but may cause issues"} 
[2026-07-27 18:03:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6634717019774330880,"note":"Value kept but may cause issues"} 
[2026-07-27 18:03:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:03:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785155504000,"timestamp_ms":1785155504000,"timestamp_seconds":1785155504,"priority":1,"record_length":96,"hex_timestamp":"0000019fa38f4780"} 
[2026-07-27 18:03:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:03:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:03:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-27 18:03:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:03:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:03:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:03:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:03:11] local.INFO: Teltonika packet parsed successfully {"connection_id":144176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:03:11] local.INFO: Passing IMEI to GPS processor {"connection_id":144176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:03:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":144176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:03:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:03:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:03:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:03:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999808512001,"66":27539,"135":206,"83":17920,"24":30,"16":359191404909428736,"45":-6634717019774330880},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,45]} 
[2026-07-27 18:03:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:03:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:03:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999808512001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:03:11] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-07-27 18:03:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":17920,"description":"Unknown IO ID 83"} 
[2026-07-27 18:03:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359191404909428736,"km_value":359191404909428.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:03:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6634717019774330880,"description":"Unknown IO ID 45"} 
[2026-07-27 18:03:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999808512001,"power":27539,"unknown_135":206,"unknown_83":17920,"ignition":30,"odometer":null,"unknown_45":-6634717019774330880}} 
[2026-07-27 18:03:11] local.INFO: DEBUG: GPS processor result {"connection_id":144176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:03:11] local.INFO: GPS data processed {"connection_id":144176,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:03:11] local.INFO: Acknowledgment sent {"connection_id":144176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:03:13] local.INFO: TCP Data received {"connection_id":144177,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144177,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:03:13] local.INFO: Processing buffer {"connection_id":144177,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:03:13] local.INFO: IMEI packet received {"connection_id":144177,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 18:03:13] local.INFO: IMEI acknowledgment sent {"connection_id":144177,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:03:13] local.INFO: TCP Data received {"connection_id":144177,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3908fa0012d810b8005d27f08000a001929..."} 
[2026-07-27 18:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144177,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3908fa0012d810b8005d27f08000a001929..."} 
[2026-07-27 18:03:13] local.INFO: Processing buffer {"connection_id":144177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3908fa0012d810b8005d27f08000a001929..."} 
[2026-07-27 18:03:13] local.INFO: Packet analysis {"connection_id":144177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa390"} 
[2026-07-27 18:03:13] local.INFO: Extracted packet for processing {"connection_id":144177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa390"} 
[2026-07-27 18:03:13] local.INFO: GPS Element Parsed {"raw_longitude":763431808,"raw_latitude":97681160,"longitude_deg":76.3431808,"latitude_deg":9.768116,"altitude":10,"angle":25,"satellites":41,"speed":22,"hex_longitude":"2d810b80","hex_latitude":"05d27f08","is_valid_coordinates":true} 
[2026-07-27 18: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-07-27 18:03:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999829504001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:03:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111770850226601984,"note":"Value kept but may cause issues"} 
[2026-07-27 18:03:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9149132986741590016,"note":"Value kept but may cause issues"} 
[2026-07-27 18:03:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:03:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785155588000,"timestamp_ms":1785155588000,"timestamp_seconds":1785155588,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3908fa0"} 
[2026-07-27 18:03:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:03:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-27 18:03:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18: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-07-27 18:03:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:03:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:03:13] local.INFO: Teltonika packet parsed successfully {"connection_id":144177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:03:13] local.INFO: Passing IMEI to GPS processor {"connection_id":144177,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:03:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":144177,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:03:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:03:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 18:03:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 18:03:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999829504001,"66":12765,"208":206,"85":15104,"24":22,"16":111770850226601984,"45":-9149132986741590016},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-07-27 18:03:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 18:03:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 18:03:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999829504001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:03:13] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-07-27 18:03:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 18:03:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111770850226601984,"km_value":111770850226601.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:03:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9149132986741590016,"description":"Unknown IO ID 45"} 
[2026-07-27 18:03:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999829504001,"power":12765,"unknown_208":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":-9149132986741590016}} 
[2026-07-27 18:03:14] local.INFO: DEBUG: GPS processor result {"connection_id":144177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554608,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:03:14] local.INFO: GPS data processed {"connection_id":144177,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:03:14] local.INFO: Acknowledgment sent {"connection_id":144177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:03:31] local.INFO: TCP Data received {"connection_id":144178,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:03:31] local.INFO: Processing buffer {"connection_id":144178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:03:31] local.INFO: IMEI packet received {"connection_id":144178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 18:03:31] local.INFO: IMEI acknowledgment sent {"connection_id":144178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:03:36] local.INFO: TCP Data received {"connection_id":144178,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:03:36] local.INFO: Processing buffer {"connection_id":144178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:03:36] local.INFO: IMEI packet received {"connection_id":144178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 18:03:36] local.INFO: IMEI acknowledgment sent {"connection_id":144178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:03:37] local.INFO: TCP Data received {"connection_id":144178,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa39039b0012da42fc005d3d960002a001922..."} 
[2026-07-27 18:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144178,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa39039b0012da42fc005d3d960002a001922..."} 
[2026-07-27 18:03:37] local.INFO: Processing buffer {"connection_id":144178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa39039b0012da42fc005d3d960002a001922..."} 
[2026-07-27 18:03:37] local.INFO: Packet analysis {"connection_id":144178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa390"} 
[2026-07-27 18:03:37] local.INFO: Extracted packet for processing {"connection_id":144178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa390"} 
[2026-07-27 18:03:37] local.INFO: GPS Element Parsed {"raw_longitude":765734848,"raw_latitude":97769824,"longitude_deg":76.5734848,"latitude_deg":9.7769824,"altitude":42,"angle":25,"satellites":34,"speed":38,"hex_longitude":"2da42fc0","hex_latitude":"05d3d960","is_valid_coordinates":true} 
[2026-07-27 18:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:03:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999823360001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:03:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359193917465296896,"note":"Value kept but may cause issues"} 
[2026-07-27 18:03:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6616772989998114816,"note":"Value kept but may cause issues"} 
[2026-07-27 18:03:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:03:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785155566000,"timestamp_ms":1785155566000,"timestamp_seconds":1785155566,"priority":1,"record_length":96,"hex_timestamp":"0000019fa39039b0"} 
[2026-07-27 18:03:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:03:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-27 18:03:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:03:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:03:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:03:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:03:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:03:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:03:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:03:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:03:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:03:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:03:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999823360001,"66":27919,"135":206,"83":17920,"24":38,"16":359193917465296896,"45":-6616772989998114816},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,45]} 
[2026-07-27 18:03:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:03:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:03:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999823360001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:03:37] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-07-27 18:03:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":17920,"description":"Unknown IO ID 83"} 
[2026-07-27 18:03:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359193917465296896,"km_value":359193917465296.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:03:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6616772989998114816,"description":"Unknown IO ID 45"} 
[2026-07-27 18:03:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999823360001,"power":27919,"unknown_135":206,"unknown_83":17920,"ignition":38,"odometer":null,"unknown_45":-6616772989998114816}} 
[2026-07-27 18:03:37] local.INFO: DEBUG: GPS processor result {"connection_id":144178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:03:37] local.INFO: GPS data processed {"connection_id":144178,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:03:37] local.INFO: Acknowledgment sent {"connection_id":144178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:03:45] local.INFO: TCP Data received {"connection_id":144177,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3909388012d810c0005d281300009000c29..."} 
[2026-07-27 18:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144177,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3909388012d810c0005d281300009000c29..."} 
[2026-07-27 18:03:45] local.INFO: Processing buffer {"connection_id":144177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3909388012d810c0005d281300009000c29..."} 
[2026-07-27 18:03:45] local.INFO: Packet analysis {"connection_id":144177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa390"} 
[2026-07-27 18:03:45] local.INFO: Extracted packet for processing {"connection_id":144177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa390"} 
[2026-07-27 18:03:45] local.INFO: GPS Element Parsed {"raw_longitude":763431936,"raw_latitude":97681712,"longitude_deg":76.3431936,"latitude_deg":9.7681712,"altitude":9,"angle":12,"satellites":41,"speed":20,"hex_longitude":"2d810c00","hex_latitude":"05d28130","is_valid_coordinates":true} 
[2026-07-27 18: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-07-27 18:03:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999830528001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:03:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111770875996405760,"note":"Value kept but may cause issues"} 
[2026-07-27 18:03:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9148077455578298368,"note":"Value kept but may cause issues"} 
[2026-07-27 18:03:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:03:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785155589000,"timestamp_ms":1785155589000,"timestamp_seconds":1785155589,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3909388"} 
[2026-07-27 18:03:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:03:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:03:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-27 18:03:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18: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-07-27 18:03:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:03:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:03:45] local.INFO: Teltonika packet parsed successfully {"connection_id":144177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:03:45] local.INFO: Passing IMEI to GPS processor {"connection_id":144177,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:03:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":144177,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:03:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:03:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 18:03:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 18:03:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999830528001,"66":12624,"208":206,"85":15104,"24":20,"16":111770875996405760,"45":-9148077455578298368},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-07-27 18:03:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 18:03:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 18:03:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999830528001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:03:45] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-07-27 18:03:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 18:03:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111770875996405760,"km_value":111770875996405.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:03:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9148077455578298368,"description":"Unknown IO ID 45"} 
[2026-07-27 18:03:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999830528001,"power":12624,"unknown_208":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":-9148077455578298368}} 
[2026-07-27 18:03:45] local.INFO: DEBUG: GPS processor result {"connection_id":144177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554610,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:03:45] local.INFO: GPS data processed {"connection_id":144177,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:03:45] local.INFO: Acknowledgment sent {"connection_id":144177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:04:08] local.INFO: TCP Data received {"connection_id":144178,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3904180012da4340005d3dfa8002a002922..."} 
[2026-07-27 18:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144178,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3904180012da4340005d3dfa8002a002922..."} 
[2026-07-27 18:04:08] local.INFO: Processing buffer {"connection_id":144178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3904180012da4340005d3dfa8002a002922..."} 
[2026-07-27 18:04:08] local.INFO: Packet analysis {"connection_id":144178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa390"} 
[2026-07-27 18:04:08] local.INFO: Extracted packet for processing {"connection_id":144178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa390"} 
[2026-07-27 18:04:08] local.INFO: GPS Element Parsed {"raw_longitude":765735936,"raw_latitude":97771432,"longitude_deg":76.5735936,"latitude_deg":9.7771432,"altitude":42,"angle":41,"satellites":34,"speed":38,"hex_longitude":"2da43400","hex_latitude":"05d3dfa8","is_valid_coordinates":true} 
[2026-07-27 18:04:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:04:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999824896001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:04:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359194011954577408,"note":"Value kept but may cause issues"} 
[2026-07-27 18:04:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6615858196322361344,"note":"Value kept but may cause issues"} 
[2026-07-27 18:04:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:04:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785155568000,"timestamp_ms":1785155568000,"timestamp_seconds":1785155568,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3904180"} 
[2026-07-27 18:04:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:04:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:04:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-27 18:04:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:04:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:04:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:04:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:04:08] local.INFO: Teltonika packet parsed successfully {"connection_id":144178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:04:08] local.INFO: Passing IMEI to GPS processor {"connection_id":144178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:04:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":144178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:04:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:04:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:04:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:04:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999824896001,"66":27365,"135":206,"83":17920,"24":38,"16":359194011954577408,"45":-6615858196322361344},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,45]} 
[2026-07-27 18:04:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:04:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:04:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999824896001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:04:08] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-07-27 18:04:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":17920,"description":"Unknown IO ID 83"} 
[2026-07-27 18:04:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359194011954577408,"km_value":359194011954577.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:04:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6615858196322361344,"description":"Unknown IO ID 45"} 
[2026-07-27 18:04:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999824896001,"power":27365,"unknown_135":206,"unknown_83":17920,"ignition":38,"odometer":null,"unknown_45":-6615858196322361344}} 
[2026-07-27 18:04:08] local.INFO: DEBUG: GPS processor result {"connection_id":144178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:04:08] local.INFO: GPS data processed {"connection_id":144178,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:04:08] local.INFO: Acknowledgment sent {"connection_id":144178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:04:09] local.INFO: TCP Data received {"connection_id":145461,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145461,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:04:09] local.INFO: Processing buffer {"connection_id":145461,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:04:09] local.INFO: IMEI packet received {"connection_id":145461,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 18:04:09] local.INFO: IMEI acknowledgment sent {"connection_id":145461,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:04:10] local.INFO: TCP Data received {"connection_id":145461,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3907830012d19bc800720a6600033009e26..."} 
[2026-07-27 18:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3907830012d19bc800720a6600033009e26..."} 
[2026-07-27 18:04:10] local.INFO: Processing buffer {"connection_id":145461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3907830012d19bc800720a6600033009e26..."} 
[2026-07-27 18:04:10] local.INFO: Packet analysis {"connection_id":145461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa390"} 
[2026-07-27 18:04:10] local.INFO: Extracted packet for processing {"connection_id":145461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa390"} 
[2026-07-27 18:04:10] local.INFO: GPS Element Parsed {"raw_longitude":756661376,"raw_latitude":119580256,"longitude_deg":75.6661376,"latitude_deg":11.9580256,"altitude":51,"angle":158,"satellites":38,"speed":23,"hex_longitude":"2d19bc80","hex_latitude":"0720a660","is_valid_coordinates":true} 
[2026-07-27 18:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:04:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999828736001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:04:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8966714893008896,"note":"Value kept but may cause issues"} 
[2026-07-27 18:04:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854146070949951488,"note":"Value kept but may cause issues"} 
[2026-07-27 18:04:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:04:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785155582000,"timestamp_ms":1785155582000,"timestamp_seconds":1785155582,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3907830"} 
[2026-07-27 18:04:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:04:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-27 18:04:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:04:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:04:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:04:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:04:10] local.INFO: Teltonika packet parsed successfully {"connection_id":145461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:04:10] local.INFO: Passing IMEI to GPS processor {"connection_id":145461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:04:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":145461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:04:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:04:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:04:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:04:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999828736001,"66":14407,"121":206,"28":31744,"24":23,"16":8966714893008896,"45":1854146070949951488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:04:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:04:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:04:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999828736001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:04:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:04:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:04:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8966714893008896,"km_value":8966714893008.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:04:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854146070949951488,"description":"Unknown IO ID 45"} 
[2026-07-27 18:04:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999828736001,"power":14407,"unknown_121":206,"unknown_28":31744,"ignition":23,"odometer":null,"unknown_45":1854146070949951488}} 
[2026-07-27 18:04:10] local.INFO: DEBUG: GPS processor result {"connection_id":145461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554612,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:04:10] local.INFO: GPS data processed {"connection_id":145461,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:04:10] local.INFO: Acknowledgment sent {"connection_id":145461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:04:13] local.INFO: TCP Data received {"connection_id":143196,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143196,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:04:13] local.INFO: Processing buffer {"connection_id":143196,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:04:13] local.INFO: IMEI packet received {"connection_id":143196,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 18:04:13] local.INFO: IMEI acknowledgment sent {"connection_id":143196,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:04:14] local.INFO: TCP Data received {"connection_id":143196,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143196,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:04:14] local.INFO: Processing buffer {"connection_id":143196,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:04:14] local.INFO: IMEI packet received {"connection_id":143196,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 18:04:14] local.INFO: IMEI acknowledgment sent {"connection_id":143196,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:04:15] local.INFO: TCP Data received {"connection_id":143196,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3910ca0012d80ccc005d2bb900002016028..."} 
[2026-07-27 18:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143196,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3910ca0012d80ccc005d2bb900002016028..."} 
[2026-07-27 18:04:15] local.INFO: Processing buffer {"connection_id":143196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3910ca0012d80ccc005d2bb900002016028..."} 
[2026-07-27 18:04:15] local.INFO: Packet analysis {"connection_id":143196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa391"} 
[2026-07-27 18:04:15] local.INFO: Extracted packet for processing {"connection_id":143196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa391"} 
[2026-07-27 18:04:15] local.INFO: GPS Element Parsed {"raw_longitude":763415744,"raw_latitude":97696656,"longitude_deg":76.3415744,"latitude_deg":9.7696656,"altitude":2,"angle":352,"satellites":40,"speed":28,"hex_longitude":"2d80ccc0","hex_latitude":"05d2bb90","is_valid_coordinates":true} 
[2026-07-27 18:04:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:04:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999838464001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:04:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111772044227510272,"note":"Value kept but may cause issues"} 
[2026-07-27 18:04:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9165740010363109376,"note":"Value kept but may cause issues"} 
[2026-07-27 18:04:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:04:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785155620000,"timestamp_ms":1785155620000,"timestamp_seconds":1785155620,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3910ca0"} 
[2026-07-27 18:04:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:04:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:04:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-27 18:04:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:04:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:04:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:04:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:04:15] local.INFO: Teltonika packet parsed successfully {"connection_id":143196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:04:15] local.INFO: Passing IMEI to GPS processor {"connection_id":143196,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:04:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":143196,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:04:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:04:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 18:04:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 18:04:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999838464001,"66":12645,"208":206,"85":15104,"24":28,"16":111772044227510272,"45":-9165740010363109376},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-07-27 18:04:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 18:04:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 18:04:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999838464001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:04:15] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-07-27 18:04:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 18:04:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111772044227510272,"km_value":111772044227510.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:04:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9165740010363109376,"description":"Unknown IO ID 45"} 
[2026-07-27 18:04:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999838464001,"power":12645,"unknown_208":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":-9165740010363109376}} 
[2026-07-27 18:04:15] local.INFO: DEBUG: GPS processor result {"connection_id":143196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554613,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:04:15] local.INFO: GPS data processed {"connection_id":143196,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:04:15] local.INFO: Acknowledgment sent {"connection_id":143196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:04:18] local.INFO: TCP Data received {"connection_id":143196,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3913b80012d80ca8005d2dea00002016529..."} 
[2026-07-27 18:04:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143196,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3913b80012d80ca8005d2dea00002016529..."} 
[2026-07-27 18:04:18] local.INFO: Processing buffer {"connection_id":143196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3913b80012d80ca8005d2dea00002016529..."} 
[2026-07-27 18:04:18] local.INFO: Packet analysis {"connection_id":143196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa391"} 
[2026-07-27 18:04:18] local.INFO: Extracted packet for processing {"connection_id":143196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa391"} 
[2026-07-27 18:04:18] local.INFO: GPS Element Parsed {"raw_longitude":763415168,"raw_latitude":97705632,"longitude_deg":76.3415168,"latitude_deg":9.7705632,"altitude":2,"angle":357,"satellites":41,"speed":21,"hex_longitude":"2d80ca80","hex_latitude":"05d2dea0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 18:04:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999838720001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:04:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111772482314174464,"note":"Value kept but may cause issues"} 
[2026-07-27 18:04:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9165740010362925056,"note":"Value kept but may cause issues"} 
[2026-07-27 18:04:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:04:18] local.INFO: AVL Record Parsed {"raw_timestamp":1785155632000,"timestamp_ms":1785155632000,"timestamp_seconds":1785155632,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3913b80"} 
[2026-07-27 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-07-27 18:04: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-07-27 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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-27 18:04: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-07-27 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-07-27 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-07-27 18:04:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:04:18] local.INFO: Teltonika packet parsed successfully {"connection_id":143196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:04:18] local.INFO: Passing IMEI to GPS processor {"connection_id":143196,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:04:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":143196,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:04:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:04:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 18:04:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 18:04:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999838720001,"66":12613,"208":206,"85":15104,"24":21,"16":111772482314174464,"45":-9165740010362925056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-07-27 18:04:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 18:04:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 18:04:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999838720001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:04:18] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-07-27 18:04:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 18:04:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111772482314174464,"km_value":111772482314174.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:04:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9165740010362925056,"description":"Unknown IO ID 45"} 
[2026-07-27 18:04:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999838720001,"power":12613,"unknown_208":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":-9165740010362925056}} 
[2026-07-27 18:04:18] local.INFO: DEBUG: GPS processor result {"connection_id":143196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554614,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:04:18] local.INFO: GPS data processed {"connection_id":143196,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:04:18] local.INFO: Acknowledgment sent {"connection_id":143196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:04:31] local.INFO: TCP Data received {"connection_id":145462,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:04:31] local.INFO: Processing buffer {"connection_id":145462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:04:31] local.INFO: IMEI packet received {"connection_id":145462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 18:04:31] local.INFO: IMEI acknowledgment sent {"connection_id":145462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:04:32] local.INFO: TCP Data received {"connection_id":145462,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:04:32] local.INFO: Processing buffer {"connection_id":145462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:04:32] local.INFO: IMEI packet received {"connection_id":145462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 18:04:32] local.INFO: IMEI acknowledgment sent {"connection_id":145462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:04:36] local.INFO: TCP Data received {"connection_id":145462,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:04:36] local.INFO: Processing buffer {"connection_id":145462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:04:36] local.INFO: IMEI packet received {"connection_id":145462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 18:04:36] local.INFO: IMEI acknowledgment sent {"connection_id":145462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:04:38] local.INFO: TCP Data received {"connection_id":145462,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3911088012da49e0005d48c88002c001427..."} 
[2026-07-27 18:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3911088012da49e0005d48c88002c001427..."} 
[2026-07-27 18:04:38] local.INFO: Processing buffer {"connection_id":145462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3911088012da49e0005d48c88002c001427..."} 
[2026-07-27 18:04:38] local.INFO: Packet analysis {"connection_id":145462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa391"} 
[2026-07-27 18:04:38] local.INFO: Extracted packet for processing {"connection_id":145462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa391"} 
[2026-07-27 18:04:38] local.INFO: GPS Element Parsed {"raw_longitude":765763072,"raw_latitude":97815688,"longitude_deg":76.5763072,"latitude_deg":9.7815688,"altitude":44,"angle":20,"satellites":39,"speed":42,"hex_longitude":"2da49e00","hex_latitude":"05d48c88","is_valid_coordinates":true} 
[2026-07-27 18:04:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:04:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999837952001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:04:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359196649064497152,"note":"Value kept but may cause issues"} 
[2026-07-27 18:04:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6585740373803696128,"note":"Value kept but may cause issues"} 
[2026-07-27 18:04:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:04:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785155621000,"timestamp_ms":1785155621000,"timestamp_seconds":1785155621,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3911088"} 
[2026-07-27 18:04:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:04:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:04:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-27 18:04:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:04:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:04:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:04:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:04:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:04:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:04:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:04:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:04:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:04:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:04:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999837952001,"66":28028,"130":206,"83":17920,"24":42,"16":359196649064497152,"45":-6585740373803696128},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,83,24,16,45]} 
[2026-07-27 18:04:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:04:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:04:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999837952001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:04:38] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-07-27 18:04:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":17920,"description":"Unknown IO ID 83"} 
[2026-07-27 18:04:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359196649064497152,"km_value":359196649064497.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:04:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6585740373803696128,"description":"Unknown IO ID 45"} 
[2026-07-27 18:04:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999837952001,"power":28028,"unknown_130":206,"unknown_83":17920,"ignition":42,"odometer":null,"unknown_45":-6585740373803696128}} 
[2026-07-27 18:04:38] local.INFO: DEBUG: GPS processor result {"connection_id":145462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:04:38] local.INFO: GPS data processed {"connection_id":145462,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:04:38] local.INFO: Acknowledgment sent {"connection_id":145462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:04:41] local.INFO: TCP Data received {"connection_id":145461,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3914738012d19cec0072016a00031008f26..."} 
[2026-07-27 18:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3914738012d19cec0072016a00031008f26..."} 
[2026-07-27 18:04:41] local.INFO: Processing buffer {"connection_id":145461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3914738012d19cec0072016a00031008f26..."} 
[2026-07-27 18:04:41] local.INFO: Packet analysis {"connection_id":145461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa391"} 
[2026-07-27 18:04:41] local.INFO: Extracted packet for processing {"connection_id":145461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa391"} 
[2026-07-27 18:04:41] local.INFO: GPS Element Parsed {"raw_longitude":756666048,"raw_latitude":119543456,"longitude_deg":75.6666048,"latitude_deg":11.9543456,"altitude":49,"angle":143,"satellites":38,"speed":24,"hex_longitude":"2d19cec0","hex_latitude":"072016a0","is_valid_coordinates":true} 
[2026-07-27 18:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:04:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999840256001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:04:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8968626153455616,"note":"Value kept but may cause issues"} 
[2026-07-27 18:04:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856679345732083712,"note":"Value kept but may cause issues"} 
[2026-07-27 18:04:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:04:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785155635000,"timestamp_ms":1785155635000,"timestamp_seconds":1785155635,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3914738"} 
[2026-07-27 18:04:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:04:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-07-27 18:04:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:04:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:04:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:04:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:04:41] local.INFO: Teltonika packet parsed successfully {"connection_id":145461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:04:41] local.INFO: Passing IMEI to GPS processor {"connection_id":145461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:04:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":145461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:04:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:04:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:04:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:04:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999840256001,"66":14559,"70":206,"28":31744,"24":24,"16":8968626153455616,"45":1856679345732083712},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-27 18:04:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:04:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:04:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999840256001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:04:41] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-27 18:04:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:04:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8968626153455616,"km_value":8968626153455.615,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:04:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856679345732083712,"description":"Unknown IO ID 45"} 
[2026-07-27 18:04:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999840256001,"power":14559,"unknown_70":206,"unknown_28":31744,"ignition":24,"odometer":null,"unknown_45":1856679345732083712}} 
[2026-07-27 18:04:41] local.INFO: DEBUG: GPS processor result {"connection_id":145461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554616,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:04:41] local.INFO: GPS data processed {"connection_id":145461,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:04:41] local.INFO: Acknowledgment sent {"connection_id":145461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:04:49] local.INFO: TCP Data received {"connection_id":143196,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3918d88012d80c98005d2e6080004015b29..."} 
[2026-07-27 18:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143196,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3918d88012d80c98005d2e6080004015b29..."} 
[2026-07-27 18:04:49] local.INFO: Processing buffer {"connection_id":143196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3918d88012d80c98005d2e6080004015b29..."} 
[2026-07-27 18:04:49] local.INFO: Packet analysis {"connection_id":143196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa391"} 
[2026-07-27 18:04:49] local.INFO: Extracted packet for processing {"connection_id":143196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa391"} 
[2026-07-27 18:04:49] local.INFO: GPS Element Parsed {"raw_longitude":763414912,"raw_latitude":97707528,"longitude_deg":76.3414912,"latitude_deg":9.7707528,"altitude":4,"angle":347,"satellites":41,"speed":0,"hex_longitude":"2d80c980","hex_latitude":"05d2e608","is_valid_coordinates":true} 
[2026-07-27 18: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-07-27 18:04:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999841792001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:04:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111772581098422272,"note":"Value kept but may cause issues"} 
[2026-07-27 18:04:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9166373329058226176,"note":"Value kept but may cause issues"} 
[2026-07-27 18:04:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:04:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785155653000,"timestamp_ms":1785155653000,"timestamp_seconds":1785155653,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3918d88"} 
[2026-07-27 18:04:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:04: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-07-27 18: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":69,"data_length":795,"current_offset":136} 
[2026-07-27 18:04: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-07-27 18: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-07-27 18:04:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:04:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:04:49] local.INFO: Teltonika packet parsed successfully {"connection_id":143196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:04:49] local.INFO: Passing IMEI to GPS processor {"connection_id":143196,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:04:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":143196,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:04:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:04:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 18:04:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 18:04:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999841792001,"66":12841,"208":206,"85":15104,"24":0,"16":111772581098422272,"45":-9166373329058226176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-07-27 18:04:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 18:04:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 18:04:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999841792001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:04:49] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-07-27 18:04:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 18:04:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111772581098422272,"km_value":111772581098422.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:04:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9166373329058226176,"description":"Unknown IO ID 45"} 
[2026-07-27 18:04:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999841792001,"power":12841,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9166373329058226176}} 
[2026-07-27 18:04:49] local.INFO: DEBUG: GPS processor result {"connection_id":143196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554617,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:04:49] local.INFO: GPS data processed {"connection_id":143196,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:04:49] local.INFO: Acknowledgment sent {"connection_id":143196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:05:08] local.INFO: TCP Data received {"connection_id":144179,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144179,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:05:08] local.INFO: Processing buffer {"connection_id":144179,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:05:08] local.INFO: IMEI packet received {"connection_id":144179,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 18:05:08] local.INFO: IMEI acknowledgment sent {"connection_id":144179,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:05:09] local.INFO: TCP Data received {"connection_id":145462,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3911858012da4a1c005d493e0002b002126..."} 
[2026-07-27 18:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3911858012da4a1c005d493e0002b002126..."} 
[2026-07-27 18:05:09] local.INFO: Processing buffer {"connection_id":145462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3911858012da4a1c005d493e0002b002126..."} 
[2026-07-27 18:05:09] local.INFO: Packet analysis {"connection_id":145462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa391"} 
[2026-07-27 18:05:09] local.INFO: Extracted packet for processing {"connection_id":145462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa391"} 
[2026-07-27 18:05:09] local.INFO: GPS Element Parsed {"raw_longitude":765764032,"raw_latitude":97817568,"longitude_deg":76.5764032,"latitude_deg":9.7817568,"altitude":43,"angle":33,"satellites":38,"speed":41,"hex_longitude":"2da4a1c0","hex_latitude":"05d493e0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 18:05:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999838976001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:05:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359196747848744960,"note":"Value kept but may cause issues"} 
[2026-07-27 18:05:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6584825580128270336,"note":"Value kept but may cause issues"} 
[2026-07-27 18:05:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:05:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785155623000,"timestamp_ms":1785155623000,"timestamp_seconds":1785155623,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3911858"} 
[2026-07-27 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-07-27 18:05:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-27 18:05:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 18:05:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:05:09] local.INFO: Teltonika packet parsed successfully {"connection_id":145462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:05:09] local.INFO: Passing IMEI to GPS processor {"connection_id":145462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:05:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":145462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:05:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:05:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:05:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:05:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999838976001,"66":28137,"131":206,"83":17920,"24":41,"16":359196747848744960,"45":-6584825580128270336},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,83,24,16,45]} 
[2026-07-27 18:05:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:05:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:05:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999838976001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:05:09] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-27 18:05:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":17920,"description":"Unknown IO ID 83"} 
[2026-07-27 18:05:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359196747848744960,"km_value":359196747848744.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:05:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6584825580128270336,"description":"Unknown IO ID 45"} 
[2026-07-27 18:05:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999838976001,"power":28137,"unknown_131":206,"unknown_83":17920,"ignition":41,"odometer":null,"unknown_45":-6584825580128270336}} 
[2026-07-27 18:05:09] local.INFO: DEBUG: GPS processor result {"connection_id":145462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:05:09] local.INFO: GPS data processed {"connection_id":145462,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:05:09] local.INFO: Acknowledgment sent {"connection_id":145462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:05:13] local.INFO: TCP Data received {"connection_id":144179,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144179,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:05:13] local.INFO: Processing buffer {"connection_id":144179,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:05:13] local.INFO: IMEI packet received {"connection_id":144179,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 18:05:13] local.INFO: IMEI acknowledgment sent {"connection_id":144179,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:05:13] local.INFO: TCP Data received {"connection_id":144179,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa391df90012d80c98005d2e6080004015b29..."} 
[2026-07-27 18:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144179,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa391df90012d80c98005d2e6080004015b29..."} 
[2026-07-27 18:05:13] local.INFO: Processing buffer {"connection_id":144179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa391df90012d80c98005d2e6080004015b29..."} 
[2026-07-27 18:05:13] local.INFO: Packet analysis {"connection_id":144179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa391"} 
[2026-07-27 18:05:13] local.INFO: Extracted packet for processing {"connection_id":144179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa391"} 
[2026-07-27 18:05:13] local.INFO: GPS Element Parsed {"raw_longitude":763414912,"raw_latitude":97707528,"longitude_deg":76.3414912,"latitude_deg":9.7707528,"altitude":4,"angle":347,"satellites":41,"speed":0,"hex_longitude":"2d80c980","hex_latitude":"05d2e608","is_valid_coordinates":true} 
[2026-07-27 18: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-07-27 18:05:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999847168001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:05:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111772581098422272,"note":"Value kept but may cause issues"} 
[2026-07-27 18:05:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9166654804034451456,"note":"Value kept but may cause issues"} 
[2026-07-27 18:05:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:05:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785155674000,"timestamp_ms":1785155674000,"timestamp_seconds":1785155674,"priority":1,"record_length":96,"hex_timestamp":"0000019fa391df90"} 
[2026-07-27 18:05:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:05:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-27 18:05:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18: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-07-27 18:05:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:05:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:05:13] local.INFO: Teltonika packet parsed successfully {"connection_id":144179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:05:13] local.INFO: Passing IMEI to GPS processor {"connection_id":144179,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:05:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":144179,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:05:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:05:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 18:05:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 18:05:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999847168001,"66":13037,"208":206,"85":15104,"24":0,"16":111772581098422272,"45":-9166654804034451456},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-07-27 18:05:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 18:05:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 18:05:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999847168001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:05:13] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-07-27 18:05:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 18:05:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111772581098422272,"km_value":111772581098422.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:05:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9166654804034451456,"description":"Unknown IO ID 45"} 
[2026-07-27 18:05:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999847168001,"power":13037,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9166654804034451456}} 
[2026-07-27 18:05:13] local.INFO: DEBUG: GPS processor result {"connection_id":144179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554619,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:05:13] local.INFO: GPS data processed {"connection_id":144179,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:05:13] local.INFO: Acknowledgment sent {"connection_id":144179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:05:31] local.INFO: TCP Data received {"connection_id":143197,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:05:31] local.INFO: Processing buffer {"connection_id":143197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:05:31] local.INFO: IMEI packet received {"connection_id":143197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 18:05:31] local.INFO: IMEI acknowledgment sent {"connection_id":143197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:05:32] local.INFO: TCP Data received {"connection_id":143197,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:05:32] local.INFO: Processing buffer {"connection_id":143197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:05:32] local.INFO: IMEI packet received {"connection_id":143197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 18:05:32] local.INFO: IMEI acknowledgment sent {"connection_id":143197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:05:36] local.INFO: TCP Data received {"connection_id":143197,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:05:36] local.INFO: Processing buffer {"connection_id":143197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:05:36] local.INFO: IMEI packet received {"connection_id":143197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 18:05:36] local.INFO: IMEI acknowledgment sent {"connection_id":143197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:05:38] local.INFO: TCP Data received {"connection_id":143197,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3913f68012da4b88005d4aeb00027002a26..."} 
[2026-07-27 18:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143197,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3913f68012da4b88005d4aeb00027002a26..."} 
[2026-07-27 18:05:38] local.INFO: Processing buffer {"connection_id":143197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3913f68012da4b88005d4aeb00027002a26..."} 
[2026-07-27 18:05:38] local.INFO: Packet analysis {"connection_id":143197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa391"} 
[2026-07-27 18:05:38] local.INFO: Extracted packet for processing {"connection_id":143197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa391"} 
[2026-07-27 18:05:38] local.INFO: GPS Element Parsed {"raw_longitude":765769856,"raw_latitude":97824432,"longitude_deg":76.5769856,"latitude_deg":9.7824432,"altitude":39,"angle":42,"satellites":38,"speed":29,"hex_longitude":"2da4b880","hex_latitude":"05d4aeb0","is_valid_coordinates":true} 
[2026-07-27 18:05:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:05:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999839488001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:05:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359197185935409152,"note":"Value kept but may cause issues"} 
[2026-07-27 18:05:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6583770048965124096,"note":"Value kept but may cause issues"} 
[2026-07-27 18:05:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:05:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785155633000,"timestamp_ms":1785155633000,"timestamp_seconds":1785155633,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3913f68"} 
[2026-07-27 18:05:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:05:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:05:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 18:05:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:05:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:05:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:05:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:05:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:05:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:05:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:05:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:05:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:05:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:05:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999839488001,"66":27158,"131":206,"83":17920,"24":29,"16":359197185935409152,"45":-6583770048965124096},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,83,24,16,45]} 
[2026-07-27 18:05:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:05:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:05:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999839488001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:05:38] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-27 18:05:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":17920,"description":"Unknown IO ID 83"} 
[2026-07-27 18:05:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359197185935409152,"km_value":359197185935409.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:05:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6583770048965124096,"description":"Unknown IO ID 45"} 
[2026-07-27 18:05:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999839488001,"power":27158,"unknown_131":206,"unknown_83":17920,"ignition":29,"odometer":null,"unknown_45":-6583770048965124096}} 
[2026-07-27 18:05:38] local.INFO: DEBUG: GPS processor result {"connection_id":143197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:05:38] local.INFO: GPS data processed {"connection_id":143197,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:05:38] local.INFO: Acknowledgment sent {"connection_id":143197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:05:44] local.INFO: TCP Data received {"connection_id":144179,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3923198012d80c98005d2e6080004015b28..."} 
[2026-07-27 18:05:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144179,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3923198012d80c98005d2e6080004015b28..."} 
[2026-07-27 18:05:44] local.INFO: Processing buffer {"connection_id":144179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3923198012d80c98005d2e6080004015b28..."} 
[2026-07-27 18:05:44] local.INFO: Packet analysis {"connection_id":144179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa392"} 
[2026-07-27 18:05:44] local.INFO: Extracted packet for processing {"connection_id":144179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa392"} 
[2026-07-27 18:05:44] local.INFO: GPS Element Parsed {"raw_longitude":763414912,"raw_latitude":97707528,"longitude_deg":76.3414912,"latitude_deg":9.7707528,"altitude":4,"angle":347,"satellites":40,"speed":0,"hex_longitude":"2d80c980","hex_latitude":"05d2e608","is_valid_coordinates":true} 
[2026-07-27 18:05:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:05:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999852544001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:05:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111772581098422272,"note":"Value kept but may cause issues"} 
[2026-07-27 18:05:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9166654804034451456,"note":"Value kept but may cause issues"} 
[2026-07-27 18:05:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:05:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785155695000,"timestamp_ms":1785155695000,"timestamp_seconds":1785155695,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3923198"} 
[2026-07-27 18:05:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:05:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:05:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-07-27 18:05:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:05:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:05:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:05:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:05:44] local.INFO: Teltonika packet parsed successfully {"connection_id":144179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:05:44] local.INFO: Passing IMEI to GPS processor {"connection_id":144179,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:05:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":144179,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:05:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:05:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 18:05:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 18:05:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999852544001,"66":12917,"208":206,"85":15104,"24":0,"16":111772581098422272,"45":-9166654804034451456},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-07-27 18:05:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 18:05:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 18:05:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999852544001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:05:44] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-07-27 18:05:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 18:05:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111772581098422272,"km_value":111772581098422.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:05:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9166654804034451456,"description":"Unknown IO ID 45"} 
[2026-07-27 18:05:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999852544001,"power":12917,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9166654804034451456}} 
[2026-07-27 18:05:45] local.INFO: DEBUG: GPS processor result {"connection_id":144179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554621,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:05:45] local.INFO: GPS data processed {"connection_id":144179,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:05:45] local.INFO: Acknowledgment sent {"connection_id":144179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:05:50] local.INFO: TCP Data received {"connection_id":143056,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143056,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:05:50] local.INFO: Processing buffer {"connection_id":143056,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:05:50] local.INFO: IMEI packet received {"connection_id":143056,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 18:05:50] local.INFO: IMEI acknowledgment sent {"connection_id":143056,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:05:51] local.INFO: TCP Data received {"connection_id":143056,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143056,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:05:51] local.INFO: Processing buffer {"connection_id":143056,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:05:51] local.INFO: IMEI packet received {"connection_id":143056,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 18:05:51] local.INFO: IMEI acknowledgment sent {"connection_id":143056,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:05:52] local.INFO: TCP Data received {"connection_id":143056,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143056,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:05:52] local.INFO: Processing buffer {"connection_id":143056,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:05:52] local.INFO: IMEI packet received {"connection_id":143056,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 18:05:52] local.INFO: IMEI acknowledgment sent {"connection_id":143056,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:05:53] local.INFO: TCP Data received {"connection_id":143056,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143056,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:05:53] local.INFO: Processing buffer {"connection_id":143056,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:05:53] local.INFO: IMEI packet received {"connection_id":143056,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 18:05:53] local.INFO: IMEI acknowledgment sent {"connection_id":143056,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:05:57] local.INFO: TCP Data received {"connection_id":143056,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa391fae8012d19cd40071ff8e8003000d827..."} 
[2026-07-27 18:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa391fae8012d19cd40071ff8e8003000d827..."} 
[2026-07-27 18:05:57] local.INFO: Processing buffer {"connection_id":143056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa391fae8012d19cd40071ff8e8003000d827..."} 
[2026-07-27 18:05:57] local.INFO: Packet analysis {"connection_id":143056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa391"} 
[2026-07-27 18:05:57] local.INFO: Extracted packet for processing {"connection_id":143056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa391"} 
[2026-07-27 18:05:57] local.INFO: GPS Element Parsed {"raw_longitude":756665664,"raw_latitude":119535848,"longitude_deg":75.6665664,"latitude_deg":11.9535848,"altitude":48,"angle":216,"satellites":39,"speed":13,"hex_longitude":"2d19cd40","hex_latitude":"071ff8e8","is_valid_coordinates":true} 
[2026-07-27 18:05:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:05:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999852800001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:05:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8969184499204096,"note":"Value kept but may cause issues"} 
[2026-07-27 18:05:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861464420333289472,"note":"Value kept but may cause issues"} 
[2026-07-27 18:05:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:05:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785155681000,"timestamp_ms":1785155681000,"timestamp_seconds":1785155681,"priority":1,"record_length":96,"hex_timestamp":"0000019fa391fae8"} 
[2026-07-27 18:05:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:05:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:05:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-27 18:05:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:05:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:05:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:05:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:05:57] local.INFO: Teltonika packet parsed successfully {"connection_id":143056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:05:57] local.INFO: Passing IMEI to GPS processor {"connection_id":143056,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:05:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":143056,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:05:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:05:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:05:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:05:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999852800001,"66":14461,"121":206,"28":31744,"24":13,"16":8969184499204096,"45":1861464420333289472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:05:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:05:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:05:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999852800001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:05:57] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:05:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:05:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8969184499204096,"km_value":8969184499204.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:05:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861464420333289472,"description":"Unknown IO ID 45"} 
[2026-07-27 18:05:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999852800001,"power":14461,"unknown_121":206,"unknown_28":31744,"ignition":13,"odometer":null,"unknown_45":1861464420333289472}} 
[2026-07-27 18:05:57] local.INFO: DEBUG: GPS processor result {"connection_id":143056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554622,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:05:57] local.INFO: GPS data processed {"connection_id":143056,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:05:57] local.INFO: Acknowledgment sent {"connection_id":143056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:05:59] local.INFO: TCP Data received {"connection_id":143056,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa391fed0012d19cc80071ff7a0003000ca27..."} 
[2026-07-27 18:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa391fed0012d19cc80071ff7a0003000ca27..."} 
[2026-07-27 18:05:59] local.INFO: Processing buffer {"connection_id":143056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa391fed0012d19cc80071ff7a0003000ca27..."} 
[2026-07-27 18:05:59] local.INFO: Packet analysis {"connection_id":143056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa391"} 
[2026-07-27 18:05:59] local.INFO: Extracted packet for processing {"connection_id":143056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa391"} 
[2026-07-27 18:05:59] local.INFO: GPS Element Parsed {"raw_longitude":756665472,"raw_latitude":119535520,"longitude_deg":75.6665472,"latitude_deg":11.953552,"altitude":48,"angle":202,"satellites":39,"speed":13,"hex_longitude":"2d19cc80","hex_latitude":"071ff7a0","is_valid_coordinates":true} 
[2026-07-27 18: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-07-27 18:05:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999854336001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:05:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8969201679073280,"note":"Value kept but may cause issues"} 
[2026-07-27 18:05:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859212620519237632,"note":"Value kept but may cause issues"} 
[2026-07-27 18:05:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:05:59] local.INFO: AVL Record Parsed {"raw_timestamp":1785155682000,"timestamp_ms":1785155682000,"timestamp_seconds":1785155682,"priority":1,"record_length":96,"hex_timestamp":"0000019fa391fed0"} 
[2026-07-27 18:05:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:05:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:05:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-27 18:05:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:05:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:05:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:05:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:05:59] local.INFO: Teltonika packet parsed successfully {"connection_id":143056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:05:59] local.INFO: Passing IMEI to GPS processor {"connection_id":143056,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:05:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":143056,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:05:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:05:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:05:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:05:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999854336001,"66":14483,"121":206,"28":31744,"24":13,"16":8969201679073280,"45":1859212620519237632},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:05:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:05:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:05:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999854336001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:05:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:05:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:05:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8969201679073280,"km_value":8969201679073.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:05:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859212620519237632,"description":"Unknown IO ID 45"} 
[2026-07-27 18:05:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999854336001,"power":14483,"unknown_121":206,"unknown_28":31744,"ignition":13,"odometer":null,"unknown_45":1859212620519237632}} 
[2026-07-27 18:05:59] local.INFO: DEBUG: GPS processor result {"connection_id":143056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554623,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:05:59] local.INFO: GPS data processed {"connection_id":143056,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:05:59] local.INFO: Acknowledgment sent {"connection_id":143056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:06:07] local.INFO: TCP Data received {"connection_id":143057,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143057,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:06:07] local.INFO: Processing buffer {"connection_id":143057,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:06:07] local.INFO: IMEI packet received {"connection_id":143057,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 18:06:07] local.INFO: IMEI acknowledgment sent {"connection_id":143057,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:06:08] local.INFO: TCP Data received {"connection_id":143197,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3917230012da4d20005d4cb000023002828..."} 
[2026-07-27 18:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143197,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3917230012da4d20005d4cb000023002828..."} 
[2026-07-27 18:06:08] local.INFO: Processing buffer {"connection_id":143197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3917230012da4d20005d4cb000023002828..."} 
[2026-07-27 18:06:08] local.INFO: Packet analysis {"connection_id":143197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa391"} 
[2026-07-27 18:06:08] local.INFO: Extracted packet for processing {"connection_id":143197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa391"} 
[2026-07-27 18:06:08] local.INFO: GPS Element Parsed {"raw_longitude":765776384,"raw_latitude":97831680,"longitude_deg":76.5776384,"latitude_deg":9.783168,"altitude":35,"angle":40,"satellites":40,"speed":33,"hex_longitude":"2da4d200","hex_latitude":"05d4cb00","is_valid_coordinates":true} 
[2026-07-27 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-07-27 18:06:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999842048001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:06:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359197654086844416,"note":"Value kept but may cause issues"} 
[2026-07-27 18:06:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6577366493243199488,"note":"Value kept but may cause issues"} 
[2026-07-27 18:06:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:06:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785155646000,"timestamp_ms":1785155646000,"timestamp_seconds":1785155646,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3917230"} 
[2026-07-27 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-07-27 18:06:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":106,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-27 18:06:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":926,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 18:06:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:06:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:06:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:06:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:06:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:06:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:06:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:06:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999842048001,"66":27887,"131":206,"83":17920,"24":33,"16":359197654086844416,"45":-6577366493243199488},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,83,24,16,45]} 
[2026-07-27 18:06:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:06:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:06:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999842048001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:06:08] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-27 18:06:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":17920,"description":"Unknown IO ID 83"} 
[2026-07-27 18:06:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359197654086844416,"km_value":359197654086844.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:06:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6577366493243199488,"description":"Unknown IO ID 45"} 
[2026-07-27 18:06:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999842048001,"power":27887,"unknown_131":206,"unknown_83":17920,"ignition":33,"odometer":null,"unknown_45":-6577366493243199488}} 
[2026-07-27 18:06:08] local.INFO: DEBUG: GPS processor result {"connection_id":143197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:06:08] local.INFO: GPS data processed {"connection_id":143197,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:06:08] local.INFO: Acknowledgment sent {"connection_id":143197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:06:13] local.INFO: TCP Data received {"connection_id":143057,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143057,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:06:13] local.INFO: Processing buffer {"connection_id":143057,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:06:13] local.INFO: IMEI packet received {"connection_id":143057,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 18:06:13] local.INFO: IMEI acknowledgment sent {"connection_id":143057,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:06:13] local.INFO: TCP Data received {"connection_id":143057,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa392d5a8012d80a4c005d303d0000900022b..."} 
[2026-07-27 18:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa392d5a8012d80a4c005d303d0000900022b..."} 
[2026-07-27 18:06:13] local.INFO: Processing buffer {"connection_id":143057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa392d5a8012d80a4c005d303d0000900022b..."} 
[2026-07-27 18:06:13] local.INFO: Packet analysis {"connection_id":143057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa392"} 
[2026-07-27 18:06:13] local.INFO: Extracted packet for processing {"connection_id":143057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa392"} 
[2026-07-27 18:06:13] local.INFO: GPS Element Parsed {"raw_longitude":763405504,"raw_latitude":97715152,"longitude_deg":76.3405504,"latitude_deg":9.7715152,"altitude":9,"angle":2,"satellites":43,"speed":31,"hex_longitude":"2d80a4c0","hex_latitude":"05d303d0","is_valid_coordinates":true} 
[2026-07-27 18:06:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:06:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999868160001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:06:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111773294062993408,"note":"Value kept but may cause issues"} 
[2026-07-27 18:06:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9177139746915350528,"note":"Value kept but may cause issues"} 
[2026-07-27 18:06:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:06:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785155737000,"timestamp_ms":1785155737000,"timestamp_seconds":1785155737,"priority":1,"record_length":96,"hex_timestamp":"0000019fa392d5a8"} 
[2026-07-27 18:06:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:06:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:06:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-27 18:06:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2480,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:06:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:06:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:06:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:06:13] local.INFO: Teltonika packet parsed successfully {"connection_id":143057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:06:13] local.INFO: Passing IMEI to GPS processor {"connection_id":143057,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:06:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":143057,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:06:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:06:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 18:06:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 18:06:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999868160001,"66":12743,"208":206,"85":15104,"24":31,"16":111773294062993408,"45":-9177139746915350528},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-07-27 18:06:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 18:06:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 18:06:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999868160001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:06:13] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-07-27 18:06:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 18:06:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111773294062993408,"km_value":111773294062993.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:06:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9177139746915350528,"description":"Unknown IO ID 45"} 
[2026-07-27 18:06:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999868160001,"power":12743,"unknown_208":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":-9177139746915350528}} 
[2026-07-27 18:06:14] local.INFO: DEBUG: GPS processor result {"connection_id":143057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554625,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:06:14] local.INFO: GPS data processed {"connection_id":143057,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:06:14] local.INFO: Acknowledgment sent {"connection_id":143057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:06:30] local.INFO: TCP Data received {"connection_id":143056,"ip":"117.225.227.158","data_length":93,"data_hex":"00000000000000518e010000019fa392f8d0012d197c80071feb980041010527..."} 
[2026-07-27 18:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143056,"packet_length":93,"packet_hex":"00000000000000518e010000019fa392f8d0012d197c80071feb980041010527..."} 
[2026-07-27 18:06:30] local.INFO: Processing buffer {"connection_id":143056,"buffer_length":93,"buffer_hex":"00000000000000518e010000019fa392f8d0012d197c80071feb980041010527..."} 
[2026-07-27 18:06:30] local.INFO: Packet analysis {"connection_id":143056,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019fa392"} 
[2026-07-27 18:06:30] local.INFO: Extracted packet for processing {"connection_id":143056,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019fa392"} 
[2026-07-27 18:06:30] local.INFO: GPS Element Parsed {"raw_longitude":756644992,"raw_latitude":119532440,"longitude_deg":75.6644992,"latitude_deg":11.953244,"altitude":65,"angle":261,"satellites":39,"speed":14,"hex_longitude":"2d197c80","hex_latitude":"071feb98","is_valid_coordinates":true} 
[2026-07-27 18:06:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-07-27 18:06:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:06:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:06:30] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:06:30] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-07-27 18:06:30] local.INFO: Teltonika packet parsed successfully {"connection_id":143056,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-07-27 18:06:30] local.INFO: Passing IMEI to GPS processor {"connection_id":143056,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-27 18:06:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":143056,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-27 18:06:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-27 18:06:30] local.WARNING: DEBUG: No valid data to process  
[2026-07-27 18:06:30] local.INFO: DEBUG: GPS processor result {"connection_id":143056,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-27 18:06:30] local.ERROR: GPS data processing failed {"connection_id":143056,"error":"No valid data to process"} 
[2026-07-27 18:06:30] local.INFO: Acknowledgment sent {"connection_id":143056,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-27 18:06:36] local.INFO: TCP Data received {"connection_id":145463,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:06:36] local.INFO: Processing buffer {"connection_id":145463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:06:36] local.INFO: IMEI packet received {"connection_id":145463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 18:06:36] local.INFO: IMEI acknowledgment sent {"connection_id":145463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:06:39] local.INFO: TCP Data received {"connection_id":145463,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:06:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:06:39] local.INFO: Processing buffer {"connection_id":145463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:06:39] local.INFO: IMEI packet received {"connection_id":145463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 18:06:39] local.INFO: IMEI acknowledgment sent {"connection_id":145463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:06:41] local.INFO: TCP Data received {"connection_id":145463,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:06:41] local.INFO: Processing buffer {"connection_id":145463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:06:41] local.INFO: IMEI packet received {"connection_id":145463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 18:06:41] local.INFO: IMEI acknowledgment sent {"connection_id":145463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:06:42] local.INFO: TCP Data received {"connection_id":145463,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa392d5a8012da4ebc005d60c600032014623..."} 
[2026-07-27 18:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa392d5a8012da4ebc005d60c600032014623..."} 
[2026-07-27 18:06:42] local.INFO: Processing buffer {"connection_id":145463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa392d5a8012da4ebc005d60c600032014623..."} 
[2026-07-27 18:06:42] local.INFO: Packet analysis {"connection_id":145463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa392"} 
[2026-07-27 18:06:42] local.INFO: Extracted packet for processing {"connection_id":145463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa392"} 
[2026-07-27 18:06:42] local.INFO: GPS Element Parsed {"raw_longitude":765782976,"raw_latitude":97913952,"longitude_deg":76.5782976,"latitude_deg":9.7913952,"altitude":50,"angle":326,"satellites":35,"speed":42,"hex_longitude":"2da4ebc0","hex_latitude":"05d60c60","is_valid_coordinates":true} 
[2026-07-27 18:06:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:06:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999866368001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:06:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359201944759173120,"note":"Value kept but may cause issues"} 
[2026-07-27 18:06:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6557100294899208192,"note":"Value kept but may cause issues"} 
[2026-07-27 18:06:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:06:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785155737000,"timestamp_ms":1785155737000,"timestamp_seconds":1785155737,"priority":1,"record_length":96,"hex_timestamp":"0000019fa392d5a8"} 
[2026-07-27 18:06:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:06:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-27 18:06:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:06:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:06:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:06:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:06:42] local.INFO: Teltonika packet parsed successfully {"connection_id":145463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:06:42] local.INFO: Passing IMEI to GPS processor {"connection_id":145463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:06:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":145463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:06:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:06:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:06:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:06:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999866368001,"66":27974,"215":206,"83":17920,"24":42,"16":359201944759173120,"45":-6557100294899208192},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-27 18:06:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:06:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:06:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999866368001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:06:42] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-27 18:06:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":17920,"description":"Unknown IO ID 83"} 
[2026-07-27 18:06:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359201944759173120,"km_value":359201944759173.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:06:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6557100294899208192,"description":"Unknown IO ID 45"} 
[2026-07-27 18:06:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999866368001,"power":27974,"unknown_215":206,"unknown_83":17920,"ignition":42,"odometer":null,"unknown_45":-6557100294899208192}} 
[2026-07-27 18:06:42] local.INFO: DEBUG: GPS processor result {"connection_id":145463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:06:42] local.INFO: GPS data processed {"connection_id":145463,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:06:42] local.INFO: Acknowledgment sent {"connection_id":145463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:06:43] local.INFO: TCP Data received {"connection_id":145463,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa392f4e8012da4d88005d626a00033013524..."} 
[2026-07-27 18:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa392f4e8012da4d88005d626a00033013524..."} 
[2026-07-27 18:06:43] local.INFO: Processing buffer {"connection_id":145463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa392f4e8012da4d88005d626a00033013524..."} 
[2026-07-27 18:06:43] local.INFO: Packet analysis {"connection_id":145463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa392"} 
[2026-07-27 18:06:43] local.INFO: Extracted packet for processing {"connection_id":145463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa392"} 
[2026-07-27 18:06:43] local.INFO: GPS Element Parsed {"raw_longitude":765778048,"raw_latitude":97920672,"longitude_deg":76.5778048,"latitude_deg":9.7920672,"altitude":51,"angle":309,"satellites":36,"speed":37,"hex_longitude":"2da4d880","hex_latitude":"05d626a0","is_valid_coordinates":true} 
[2026-07-27 18:06:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:06:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999868672001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:06:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359202348486098944,"note":"Value kept but may cause issues"} 
[2026-07-27 18:06:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6562940900663861248,"note":"Value kept but may cause issues"} 
[2026-07-27 18:06:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:06:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785155745000,"timestamp_ms":1785155745000,"timestamp_seconds":1785155745,"priority":1,"record_length":96,"hex_timestamp":"0000019fa392f4e8"} 
[2026-07-27 18:06:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:06:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-27 18:06:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:06:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:06:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:06:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:06:43] local.INFO: Teltonika packet parsed successfully {"connection_id":145463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:06:43] local.INFO: Passing IMEI to GPS processor {"connection_id":145463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:06:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":145463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:06:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:06:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:06:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:06:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999868672001,"66":27800,"215":206,"83":17920,"24":37,"16":359202348486098944,"45":-6562940900663861248},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-27 18:06:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:06:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:06:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999868672001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:06:43] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-27 18:06:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":17920,"description":"Unknown IO ID 83"} 
[2026-07-27 18:06:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359202348486098944,"km_value":359202348486098.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:06:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6562940900663861248,"description":"Unknown IO ID 45"} 
[2026-07-27 18:06:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999868672001,"power":27800,"unknown_215":206,"unknown_83":17920,"ignition":37,"odometer":null,"unknown_45":-6562940900663861248}} 
[2026-07-27 18:06:43] local.INFO: DEBUG: GPS processor result {"connection_id":145463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:06:43] local.INFO: GPS data processed {"connection_id":145463,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:06:43] local.INFO: Acknowledgment sent {"connection_id":145463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:06:44] local.INFO: TCP Data received {"connection_id":143057,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa392f100012d80a7c005d31bd80008000e2b..."} 
[2026-07-27 18:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa392f100012d80a7c005d31bd80008000e2b..."} 
[2026-07-27 18:06:44] local.INFO: Processing buffer {"connection_id":143057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa392f100012d80a7c005d31bd80008000e2b..."} 
[2026-07-27 18:06:44] local.INFO: Packet analysis {"connection_id":143057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa392"} 
[2026-07-27 18:06:44] local.INFO: Extracted packet for processing {"connection_id":143057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa392"} 
[2026-07-27 18:06:44] local.INFO: GPS Element Parsed {"raw_longitude":763406272,"raw_latitude":97721304,"longitude_deg":76.3406272,"latitude_deg":9.7721304,"altitude":8,"angle":14,"satellites":43,"speed":33,"hex_longitude":"2d80a7c0","hex_latitude":"05d31bd8","is_valid_coordinates":true} 
[2026-07-27 18:06:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:06:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999868672001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:06:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111773594710704128,"note":"Value kept but may cause issues"} 
[2026-07-27 18:06:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9176999009426616320,"note":"Value kept but may cause issues"} 
[2026-07-27 18:06:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:06:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785155744000,"timestamp_ms":1785155744000,"timestamp_seconds":1785155744,"priority":1,"record_length":96,"hex_timestamp":"0000019fa392f100"} 
[2026-07-27 18:06:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:06:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:06:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-07-27 18:06:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:06:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:06:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:06:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:06:44] local.INFO: Teltonika packet parsed successfully {"connection_id":143057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:06:44] local.INFO: Passing IMEI to GPS processor {"connection_id":143057,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:06:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":143057,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:06:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:06:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 18:06:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 18:06:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999868672001,"66":12461,"208":206,"85":15104,"24":33,"16":111773594710704128,"45":-9176999009426616320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-07-27 18:06:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 18:06:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 18:06:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999868672001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:06:44] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-07-27 18:06:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 18:06:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111773594710704128,"km_value":111773594710704.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:06:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9176999009426616320,"description":"Unknown IO ID 45"} 
[2026-07-27 18:06:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999868672001,"power":12461,"unknown_208":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":-9176999009426616320}} 
[2026-07-27 18:06:44] local.INFO: DEBUG: GPS processor result {"connection_id":143057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554628,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:06:44] local.INFO: GPS data processed {"connection_id":143057,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:06:44] local.INFO: Acknowledgment sent {"connection_id":143057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:06:59] local.INFO: TCP Data received {"connection_id":144180,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144180,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:06:59] local.INFO: Processing buffer {"connection_id":144180,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:06:59] local.INFO: IMEI packet received {"connection_id":144180,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 18:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":144180,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:07:00] local.INFO: TCP Data received {"connection_id":144180,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144180,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:07:00] local.INFO: Processing buffer {"connection_id":144180,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:07:00] local.INFO: IMEI packet received {"connection_id":144180,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 18:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":144180,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:07:04] local.INFO: TCP Data received {"connection_id":144180,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144180,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:07:04] local.INFO: Processing buffer {"connection_id":144180,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:07:04] local.INFO: IMEI packet received {"connection_id":144180,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 18:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":144180,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:07:06] local.INFO: TCP Data received {"connection_id":144180,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3930488012d1977c0071feb700043011623..."} 
[2026-07-27 18:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144180,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3930488012d1977c0071feb700043011623..."} 
[2026-07-27 18:07:06] local.INFO: Processing buffer {"connection_id":144180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3930488012d1977c0071feb700043011623..."} 
[2026-07-27 18:07:06] local.INFO: Packet analysis {"connection_id":144180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa393"} 
[2026-07-27 18:07:06] local.INFO: Extracted packet for processing {"connection_id":144180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa393"} 
[2026-07-27 18:07:06] local.INFO: GPS Element Parsed {"raw_longitude":756643776,"raw_latitude":119532400,"longitude_deg":75.6643776,"latitude_deg":11.95324,"altitude":67,"angle":278,"satellites":35,"speed":15,"hex_longitude":"2d1977c0","hex_latitude":"071feb70","is_valid_coordinates":true} 
[2026-07-27 18:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:07:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999870976001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:07:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970305485668352,"note":"Value kept but may cause issues"} 
[2026-07-27 18:07:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836483516148979712,"note":"Value kept but may cause issues"} 
[2026-07-27 18:07:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:07:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785155749000,"timestamp_ms":1785155749000,"timestamp_seconds":1785155749,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3930488"} 
[2026-07-27 18:07:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:07:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-27 18:07:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:07:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:07:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:07:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:07:06] local.INFO: Teltonika packet parsed successfully {"connection_id":144180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:07:06] local.INFO: Passing IMEI to GPS processor {"connection_id":144180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:07:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":144180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:07:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:07:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:07:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:07:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999870976001,"66":13091,"121":206,"28":31744,"24":15,"16":8970305485668352,"45":1836483516148979712},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:07:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:07:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:07:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999870976001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:07:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:07:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:07:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970305485668352,"km_value":8970305485668.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:07:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836483516148979712,"description":"Unknown IO ID 45"} 
[2026-07-27 18:07:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999870976001,"power":13091,"unknown_121":206,"unknown_28":31744,"ignition":15,"odometer":null,"unknown_45":1836483516148979712}} 
[2026-07-27 18:07:06] local.INFO: DEBUG: GPS processor result {"connection_id":144180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554629,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:07:06] local.INFO: GPS data processed {"connection_id":144180,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:07:06] local.INFO: Acknowledgment sent {"connection_id":144180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:07:08] local.INFO: TCP Data received {"connection_id":143198,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143198,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:07:08] local.INFO: Processing buffer {"connection_id":143198,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:07:08] local.INFO: IMEI packet received {"connection_id":143198,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 18:07:08] local.INFO: IMEI acknowledgment sent {"connection_id":143198,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:07:13] local.INFO: TCP Data received {"connection_id":143198,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143198,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:07:13] local.INFO: Processing buffer {"connection_id":143198,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:07:13] local.INFO: IMEI packet received {"connection_id":143198,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 18:07:13] local.INFO: IMEI acknowledgment sent {"connection_id":143198,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:07:13] local.INFO: TCP Data received {"connection_id":143198,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3930488012d80aac005d32d20000700022a..."} 
[2026-07-27 18:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143198,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3930488012d80aac005d32d20000700022a..."} 
[2026-07-27 18:07:13] local.INFO: Processing buffer {"connection_id":143198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3930488012d80aac005d32d20000700022a..."} 
[2026-07-27 18:07:13] local.INFO: Packet analysis {"connection_id":143198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa393"} 
[2026-07-27 18:07:13] local.INFO: Extracted packet for processing {"connection_id":143198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa393"} 
[2026-07-27 18:07:13] local.INFO: GPS Element Parsed {"raw_longitude":763407040,"raw_latitude":97725728,"longitude_deg":76.340704,"latitude_deg":9.7725728,"altitude":7,"angle":2,"satellites":42,"speed":38,"hex_longitude":"2d80aac0","hex_latitude":"05d32d20","is_valid_coordinates":true} 
[2026-07-27 18:07:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:07:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999870464001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:07:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111773813754036224,"note":"Value kept but may cause issues"} 
[2026-07-27 18:07:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9176154584494909440,"note":"Value kept but may cause issues"} 
[2026-07-27 18:07:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:07:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785155749000,"timestamp_ms":1785155749000,"timestamp_seconds":1785155749,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3930488"} 
[2026-07-27 18:07:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:07:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:07:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-27 18:07:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:07:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:07:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:07:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:07:13] local.INFO: Teltonika packet parsed successfully {"connection_id":143198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:07:13] local.INFO: Passing IMEI to GPS processor {"connection_id":143198,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:07:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":143198,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:07:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:07:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 18:07:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 18:07:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999870464001,"66":12743,"208":206,"85":15104,"24":38,"16":111773813754036224,"45":-9176154584494909440},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-07-27 18:07:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 18:07:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 18:07:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999870464001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:07:13] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-07-27 18:07:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 18:07:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111773813754036224,"km_value":111773813754036.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:07:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9176154584494909440,"description":"Unknown IO ID 45"} 
[2026-07-27 18:07:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999870464001,"power":12743,"unknown_208":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":-9176154584494909440}} 
[2026-07-27 18:07:13] local.INFO: DEBUG: GPS processor result {"connection_id":143198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554630,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:07:13] local.INFO: GPS data processed {"connection_id":143198,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:07:13] local.INFO: Acknowledgment sent {"connection_id":143198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:07:14] local.INFO: TCP Data received {"connection_id":145463,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa393a898012da4294005d690e00023016325..."} 
[2026-07-27 18:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa393a898012da4294005d690e00023016325..."} 
[2026-07-27 18:07:14] local.INFO: Processing buffer {"connection_id":145463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa393a898012da4294005d690e00023016325..."} 
[2026-07-27 18:07:14] local.INFO: Packet analysis {"connection_id":145463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa393"} 
[2026-07-27 18:07:14] local.INFO: Extracted packet for processing {"connection_id":145463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa393"} 
[2026-07-27 18:07:14] local.INFO: GPS Element Parsed {"raw_longitude":765733184,"raw_latitude":97947872,"longitude_deg":76.5733184,"latitude_deg":9.7947872,"altitude":35,"angle":355,"satellites":37,"speed":42,"hex_longitude":"2da42940","hex_latitude":"05d690e0","is_valid_coordinates":true} 
[2026-07-27 18:07:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:07:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999882240001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:07:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359205045725560832,"note":"Value kept but may cause issues"} 
[2026-07-27 18:07:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6617406308648957952,"note":"Value kept but may cause issues"} 
[2026-07-27 18:07:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:07:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785155791000,"timestamp_ms":1785155791000,"timestamp_seconds":1785155791,"priority":1,"record_length":96,"hex_timestamp":"0000019fa393a898"} 
[2026-07-27 18:07:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:07:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:07:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-27 18:07:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:07:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:07:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:07:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:07:14] local.INFO: Teltonika packet parsed successfully {"connection_id":145463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:07:14] local.INFO: Passing IMEI to GPS processor {"connection_id":145463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:07:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":145463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:07:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:07:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:07:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:07:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999882240001,"66":27908,"110":206,"83":17920,"24":42,"16":359205045725560832,"45":-6617406308648957952},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,83,24,16,45]} 
[2026-07-27 18:07:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:07:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:07:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999882240001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:07:14] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-27 18:07:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":17920,"description":"Unknown IO ID 83"} 
[2026-07-27 18:07:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359205045725560832,"km_value":359205045725560.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:07:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6617406308648957952,"description":"Unknown IO ID 45"} 
[2026-07-27 18:07:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999882240001,"power":27908,"unknown_110":206,"unknown_83":17920,"ignition":42,"odometer":null,"unknown_45":-6617406308648957952}} 
[2026-07-27 18:07:14] local.INFO: DEBUG: GPS processor result {"connection_id":145463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:07:14] local.INFO: GPS data processed {"connection_id":145463,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:07:14] local.INFO: Acknowledgment sent {"connection_id":145463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:07:31] local.INFO: TCP Data received {"connection_id":143199,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:07:31] local.INFO: Processing buffer {"connection_id":143199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:07:31] local.INFO: IMEI packet received {"connection_id":143199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 18:07:31] local.INFO: IMEI acknowledgment sent {"connection_id":143199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:07:32] local.INFO: TCP Data received {"connection_id":143199,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:07:32] local.INFO: Processing buffer {"connection_id":143199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:07:32] local.INFO: IMEI packet received {"connection_id":143199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 18:07:32] local.INFO: IMEI acknowledgment sent {"connection_id":143199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:07:36] local.INFO: TCP Data received {"connection_id":143199,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:07:36] local.INFO: Processing buffer {"connection_id":143199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:07:36] local.INFO: IMEI packet received {"connection_id":143199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 18:07:36] local.INFO: IMEI acknowledgment sent {"connection_id":143199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:07:37] local.INFO: TCP Data received {"connection_id":144180,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3930c58012d197400071fec600043012723..."} 
[2026-07-27 18:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144180,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3930c58012d197400071fec600043012723..."} 
[2026-07-27 18:07:37] local.INFO: Processing buffer {"connection_id":144180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3930c58012d197400071fec600043012723..."} 
[2026-07-27 18:07:37] local.INFO: Packet analysis {"connection_id":144180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa393"} 
[2026-07-27 18:07:37] local.INFO: Extracted packet for processing {"connection_id":144180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa393"} 
[2026-07-27 18:07:37] local.INFO: GPS Element Parsed {"raw_longitude":756642816,"raw_latitude":119532640,"longitude_deg":75.6642816,"latitude_deg":11.953264,"altitude":67,"angle":295,"satellites":35,"speed":14,"hex_longitude":"2d197400","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-07-27 18:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999871744001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970352730308608,"note":"Value kept but may cause issues"} 
[2026-07-27 18:07:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1835146510009593856,"note":"Value kept but may cause issues"} 
[2026-07-27 18:07:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785155751000,"timestamp_ms":1785155751000,"timestamp_seconds":1785155751,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3930c58"} 
[2026-07-27 18:07:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:07:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-27 18:07:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:07:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:07:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:07:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999871744001,"66":13091,"121":206,"28":31744,"24":14,"16":8970352730308608,"45":1835146510009593856},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999871744001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:07:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:07:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:07:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970352730308608,"km_value":8970352730308.607,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:07:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1835146510009593856,"description":"Unknown IO ID 45"} 
[2026-07-27 18:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999871744001,"power":13091,"unknown_121":206,"unknown_28":31744,"ignition":14,"odometer":null,"unknown_45":1835146510009593856}} 
[2026-07-27 18:07:37] local.INFO: DEBUG: GPS processor result {"connection_id":144180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554632,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:07:37] local.INFO: GPS data processed {"connection_id":144180,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:07:37] local.INFO: Acknowledgment sent {"connection_id":144180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:07:37] local.INFO: TCP Data received {"connection_id":143199,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa393ac80012da4298005d694e80023000826..."} 
[2026-07-27 18:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143199,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa393ac80012da4298005d694e80023000826..."} 
[2026-07-27 18:07:37] local.INFO: Processing buffer {"connection_id":143199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa393ac80012da4298005d694e80023000826..."} 
[2026-07-27 18:07:37] local.INFO: Packet analysis {"connection_id":143199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa393"} 
[2026-07-27 18:07:37] local.INFO: Extracted packet for processing {"connection_id":143199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa393"} 
[2026-07-27 18:07:37] local.INFO: GPS Element Parsed {"raw_longitude":765733248,"raw_latitude":97948904,"longitude_deg":76.5733248,"latitude_deg":9.7948904,"altitude":35,"angle":8,"satellites":38,"speed":40,"hex_longitude":"2da42980","hex_latitude":"05d694e8","is_valid_coordinates":true} 
[2026-07-27 18:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999882496001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359205097265168384,"note":"Value kept but may cause issues"} 
[2026-07-27 18:07:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6617687783625400320,"note":"Value kept but may cause issues"} 
[2026-07-27 18:07:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785155792000,"timestamp_ms":1785155792000,"timestamp_seconds":1785155792,"priority":1,"record_length":96,"hex_timestamp":"0000019fa393ac80"} 
[2026-07-27 18:07:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:07:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-27 18:07:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:07:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:07:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:07:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999882496001,"66":27908,"110":206,"83":17920,"24":40,"16":359205097265168384,"45":-6617687783625400320},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,83,24,16,45]} 
[2026-07-27 18:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999882496001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:07:37] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-27 18:07:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":17920,"description":"Unknown IO ID 83"} 
[2026-07-27 18:07:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359205097265168384,"km_value":359205097265168.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:07:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6617687783625400320,"description":"Unknown IO ID 45"} 
[2026-07-27 18:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999882496001,"power":27908,"unknown_110":206,"unknown_83":17920,"ignition":40,"odometer":null,"unknown_45":-6617687783625400320}} 
[2026-07-27 18:07:37] local.INFO: DEBUG: GPS processor result {"connection_id":143199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:07:37] local.INFO: GPS data processed {"connection_id":143199,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:07:37] local.INFO: Acknowledgment sent {"connection_id":143199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:07:45] local.INFO: TCP Data received {"connection_id":143198,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3932f80012d80ab0005d350d00006000229..."} 
[2026-07-27 18:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143198,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3932f80012d80ab0005d350d00006000229..."} 
[2026-07-27 18:07:45] local.INFO: Processing buffer {"connection_id":143198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3932f80012d80ab0005d350d00006000229..."} 
[2026-07-27 18:07:45] local.INFO: Packet analysis {"connection_id":143198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa393"} 
[2026-07-27 18:07:45] local.INFO: Extracted packet for processing {"connection_id":143198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa393"} 
[2026-07-27 18:07:45] local.INFO: GPS Element Parsed {"raw_longitude":763407104,"raw_latitude":97734864,"longitude_deg":76.3407104,"latitude_deg":9.7734864,"altitude":6,"angle":2,"satellites":41,"speed":24,"hex_longitude":"2d80ab00","hex_latitude":"05d350d0","is_valid_coordinates":true} 
[2026-07-27 18:07:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:07:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999871744001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:07:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111774256135667712,"note":"Value kept but may cause issues"} 
[2026-07-27 18:07:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9175310159563644928,"note":"Value kept but may cause issues"} 
[2026-07-27 18:07:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:07:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785155760000,"timestamp_ms":1785155760000,"timestamp_seconds":1785155760,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3932f80"} 
[2026-07-27 18:07:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:07:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:07:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-07-27 18:07:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:07:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:07:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:07:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:07:45] local.INFO: Teltonika packet parsed successfully {"connection_id":143198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:07:45] local.INFO: Passing IMEI to GPS processor {"connection_id":143198,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:07:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":143198,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:07:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:07:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 18:07:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 18:07:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999871744001,"66":12298,"207":206,"85":15104,"24":24,"16":111774256135667712,"45":-9175310159563644928},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-07-27 18:07:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 18:07:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 18:07:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999871744001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:07:45] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-27 18:07:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 18:07:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111774256135667712,"km_value":111774256135667.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:07:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9175310159563644928,"description":"Unknown IO ID 45"} 
[2026-07-27 18:07:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999871744001,"power":12298,"unknown_207":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":-9175310159563644928}} 
[2026-07-27 18:07:45] local.INFO: DEBUG: GPS processor result {"connection_id":143198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554634,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:07:45] local.INFO: GPS data processed {"connection_id":143198,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:07:45] local.INFO: Acknowledgment sent {"connection_id":143198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:08:03] local.INFO: TCP Data received {"connection_id":144181,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144181,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:08:03] local.INFO: Processing buffer {"connection_id":144181,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:08:03] local.INFO: IMEI packet received {"connection_id":144181,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 18:08:03] local.INFO: IMEI acknowledgment sent {"connection_id":144181,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:08:04] local.INFO: TCP Data received {"connection_id":144181,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144181,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:08:04] local.INFO: Processing buffer {"connection_id":144181,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:08:04] local.INFO: IMEI packet received {"connection_id":144181,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 18:08:04] local.INFO: IMEI acknowledgment sent {"connection_id":144181,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:08:07] local.INFO: TCP Data received {"connection_id":145464,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145464,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:08:07] local.INFO: Processing buffer {"connection_id":145464,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:08:07] local.INFO: IMEI packet received {"connection_id":145464,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 18:08:07] local.INFO: IMEI acknowledgment sent {"connection_id":145464,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:08:08] local.INFO: TCP Data received {"connection_id":145464,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145464,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:08:08] local.INFO: Processing buffer {"connection_id":145464,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:08:08] local.INFO: IMEI packet received {"connection_id":145464,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 18:08:08] local.INFO: IMEI acknowledgment sent {"connection_id":145464,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:08:08] local.INFO: TCP Data received {"connection_id":143199,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa393b068012da42a8005d698c80022001526..."} 
[2026-07-27 18:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143199,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa393b068012da42a8005d698c80022001526..."} 
[2026-07-27 18:08:08] local.INFO: Processing buffer {"connection_id":143199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa393b068012da42a8005d698c80022001526..."} 
[2026-07-27 18:08:08] local.INFO: Packet analysis {"connection_id":143199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa393"} 
[2026-07-27 18:08:08] local.INFO: Extracted packet for processing {"connection_id":143199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa393"} 
[2026-07-27 18:08:08] local.INFO: GPS Element Parsed {"raw_longitude":765733504,"raw_latitude":97949896,"longitude_deg":76.5733504,"latitude_deg":9.7949896,"altitude":34,"angle":21,"satellites":38,"speed":41,"hex_longitude":"2da42a80","hex_latitude":"05d698c8","is_valid_coordinates":true} 
[2026-07-27 18:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:08:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999882752001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:08:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359205144509808640,"note":"Value kept but may cause issues"} 
[2026-07-27 18:08:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6617617414880958464,"note":"Value kept but may cause issues"} 
[2026-07-27 18:08:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:08:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785155793000,"timestamp_ms":1785155793000,"timestamp_seconds":1785155793,"priority":1,"record_length":96,"hex_timestamp":"0000019fa393b068"} 
[2026-07-27 18:08:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:08:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-27 18:08:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:08:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:08:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:08:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:08:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:08:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:08:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18: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-07-27 18:08:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:08:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:08:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999882752001,"66":27908,"110":206,"83":17920,"24":41,"16":359205144509808640,"45":-6617617414880958464},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,83,24,16,45]} 
[2026-07-27 18:08:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:08:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:08:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999882752001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:08:08] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-27 18:08:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":17920,"description":"Unknown IO ID 83"} 
[2026-07-27 18:08:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359205144509808640,"km_value":359205144509808.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:08:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6617617414880958464,"description":"Unknown IO ID 45"} 
[2026-07-27 18:08:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999882752001,"power":27908,"unknown_110":206,"unknown_83":17920,"ignition":41,"odometer":null,"unknown_45":-6617617414880958464}} 
[2026-07-27 18:08:08] local.INFO: DEBUG: GPS processor result {"connection_id":143199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:08:08] local.INFO: GPS data processed {"connection_id":143199,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:08:08] local.INFO: Acknowledgment sent {"connection_id":143199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:08:09] local.INFO: TCP Data received {"connection_id":144181,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144181,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:08:09] local.INFO: Processing buffer {"connection_id":144181,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:08:09] local.INFO: IMEI packet received {"connection_id":144181,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 18:08:09] local.INFO: IMEI acknowledgment sent {"connection_id":144181,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:08:10] local.INFO: TCP Data received {"connection_id":144181,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3932f80012d196ac0071fee000046011823..."} 
[2026-07-27 18:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144181,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3932f80012d196ac0071fee000046011823..."} 
[2026-07-27 18:08:10] local.INFO: Processing buffer {"connection_id":144181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3932f80012d196ac0071fee000046011823..."} 
[2026-07-27 18:08:10] local.INFO: Packet analysis {"connection_id":144181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa393"} 
[2026-07-27 18:08:10] local.INFO: Extracted packet for processing {"connection_id":144181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa393"} 
[2026-07-27 18:08:10] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119533056,"longitude_deg":75.6640448,"latitude_deg":11.9533056,"altitude":70,"angle":280,"satellites":35,"speed":7,"hex_longitude":"2d196ac0","hex_latitude":"071fee00","is_valid_coordinates":true} 
[2026-07-27 18:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:08:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999872256001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:08:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970464399458304,"note":"Value kept but may cause issues"} 
[2026-07-27 18:08:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834090978846990336,"note":"Value kept but may cause issues"} 
[2026-07-27 18:08:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:08:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785155760000,"timestamp_ms":1785155760000,"timestamp_seconds":1785155760,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3932f80"} 
[2026-07-27 18:08:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:08:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-27 18:08:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:08:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:08:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:08:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:08:10] local.INFO: Teltonika packet parsed successfully {"connection_id":144181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:08:10] local.INFO: Passing IMEI to GPS processor {"connection_id":144181,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:08:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":144181,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:08:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:08:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:08:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:08:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999872256001,"66":13091,"121":206,"28":31744,"24":7,"16":8970464399458304,"45":1834090978846990336},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:08:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:08:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:08:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999872256001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:08:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:08:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:08:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970464399458304,"km_value":8970464399458.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:08:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834090978846990336,"description":"Unknown IO ID 45"} 
[2026-07-27 18:08:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999872256001,"power":13091,"unknown_121":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1834090978846990336}} 
[2026-07-27 18:08:11] local.INFO: DEBUG: GPS processor result {"connection_id":144181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554636,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:08:11] local.INFO: GPS data processed {"connection_id":144181,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:08:11] local.INFO: Acknowledgment sent {"connection_id":144181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:08:13] local.INFO: TCP Data received {"connection_id":145464,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145464,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:08:13] local.INFO: Processing buffer {"connection_id":145464,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:08:13] local.INFO: IMEI packet received {"connection_id":145464,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 18:08:13] local.INFO: IMEI acknowledgment sent {"connection_id":145464,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:08:13] local.INFO: TCP Data received {"connection_id":145464,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3938188012d80ad0005d35fb80008000b28..."} 
[2026-07-27 18:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3938188012d80ad0005d35fb80008000b28..."} 
[2026-07-27 18:08:13] local.INFO: Processing buffer {"connection_id":145464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3938188012d80ad0005d35fb80008000b28..."} 
[2026-07-27 18:08:13] local.INFO: Packet analysis {"connection_id":145464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa393"} 
[2026-07-27 18:08:13] local.INFO: Extracted packet for processing {"connection_id":145464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa393"} 
[2026-07-27 18:08:13] local.INFO: GPS Element Parsed {"raw_longitude":763407616,"raw_latitude":97738680,"longitude_deg":76.3407616,"latitude_deg":9.773868,"altitude":8,"angle":11,"satellites":40,"speed":4,"hex_longitude":"2d80ad00","hex_latitude":"05d35fb8","is_valid_coordinates":true} 
[2026-07-27 18:08:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:08:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999874560001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:08:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111774449409196032,"note":"Value kept but may cause issues"} 
[2026-07-27 18:08:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9175239790817128448,"note":"Value kept but may cause issues"} 
[2026-07-27 18:08:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:08:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785155781000,"timestamp_ms":1785155781000,"timestamp_seconds":1785155781,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3938188"} 
[2026-07-27 18:08:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:08:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:08:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-27 18:08:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-27 18:08:13] local.WARNING: Large IO value detected {"io_id":85,"raw_value":4251424436869136896,"note":"Value kept but may cause issues"} 
[2026-07-27 18:08:13] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185997,"note":"Value kept but may cause issues"} 
[2026-07-27 18:08:13] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-27 18:08:13] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-6660047456213040985,"note":"Value kept but may cause issues"} 
[2026-07-27 18:08:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2158247941,"note":"Value kept but may cause issues"} 
[2026-07-27 18:08:13] local.WARNING: Large IO value detected {"io_id":42,"raw_value":6192449488289796,"note":"Value kept but may cause issues"} 
[2026-07-27 18:08:13] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832596,"note":"Value kept but may cause issues"} 
[2026-07-27 18:08:13] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3626805957395218638,"note":"Value kept but may cause issues"} 
[2026-07-27 18:08:13] local.WARNING: Large IO value detected {"io_id":25,"raw_value":1873497444986126337,"note":"Value kept but may cause issues"} 
[2026-07-27 18:08:13] local.WARNING: Large IO value detected {"io_id":163,"raw_value":2462963713,"note":"Value kept but may cause issues"} 
[2026-07-27 18:08:13] local.WARNING: Large IO value detected {"io_id":210,"raw_value":4261937161,"note":"Value kept but may cause issues"} 
[2026-07-27 18:08:13] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2010120398,"corrected_to":0} 
[2026-07-27 18:08:13] local.WARNING: Large IO value detected {"io_id":201,"raw_value":4026609024,"note":"Value kept but may cause issues"} 
[2026-07-27 18:08:13] local.WARNING: Large IO value detected {"io_id":164,"raw_value":3221607163,"note":"Value kept but may cause issues"} 
[2026-07-27 18:08:13] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3808480631,"note":"Value kept but may cause issues"} 
[2026-07-27 18:08:13] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3539574784,"note":"Value kept but may cause issues"} 
[2026-07-27 18:08:13] local.WARNING: Large IO value detected {"io_id":9,"raw_value":87021947644280832,"note":"Value kept but may cause issues"} 
[2026-07-27 18:08:13] local.WARNING: Large IO value detected {"io_id":128,"raw_value":419670875219493156,"note":"Value kept but may cause issues"} 
[2026-07-27 18:08:13] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,207,85,24,241,157,16,26,159,4,45,192,7,42,10,66,208,25,27,8,43,213,1,240,199,227,163,210,113,205,23,201,164,176,239,48,2,141,5,9,128],"length":534,"final_offset":664,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2010120398,"validated":0}]} 
[2026-07-27 18:08:13] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432347939346055168,"timestamp_seconds":432347939346055.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 18:08:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:08:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:08:13] local.INFO: Teltonika packet parsed successfully {"connection_id":145464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:08:13] local.INFO: Passing IMEI to GPS processor {"connection_id":145464,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:08:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":145464,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:08:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:08:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 18:08:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 18:08:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999874560001,"66":12885,"207":206,"85":15104,"24":4,"16":111774449409196032,"45":-9175239790817128448},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-07-27 18:08:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 18:08:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 18:08:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999874560001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:08:13] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-27 18:08:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 18:08:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111774449409196032,"km_value":111774449409196.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:08:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9175239790817128448,"description":"Unknown IO ID 45"} 
[2026-07-27 18:08:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999874560001,"power":12885,"unknown_207":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":-9175239790817128448}} 
[2026-07-27 18:08:13] local.INFO: DEBUG: GPS processor result {"connection_id":145464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554637,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:08:13] local.INFO: GPS data processed {"connection_id":145464,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:08:13] local.INFO: Acknowledgment sent {"connection_id":145464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:08:15] local.INFO: TCP Data received {"connection_id":144181,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3938188012d1967c0071fee200046011625..."} 
[2026-07-27 18:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144181,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3938188012d1967c0071fee200046011625..."} 
[2026-07-27 18:08:15] local.INFO: Processing buffer {"connection_id":144181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3938188012d1967c0071fee200046011625..."} 
[2026-07-27 18:08:15] local.INFO: Packet analysis {"connection_id":144181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa393"} 
[2026-07-27 18:08:15] local.INFO: Extracted packet for processing {"connection_id":144181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa393"} 
[2026-07-27 18:08:15] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":37,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 18:08:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:08:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999874560001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:08:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 18:08:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312523264,"note":"Value kept but may cause issues"} 
[2026-07-27 18:08: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-07-27 18:08:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785155781000,"timestamp_ms":1785155781000,"timestamp_seconds":1785155781,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3938188"} 
[2026-07-27 18:08:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:08:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:08:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-27 18:08:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:08:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:08:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:08:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:08:15] local.INFO: Teltonika packet parsed successfully {"connection_id":144181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:08:15] local.INFO: Passing IMEI to GPS processor {"connection_id":144181,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:08:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":144181,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:08:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:08:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:08:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:08:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999874560001,"66":13015,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1831487335312523264},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:08:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:08:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:08:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999874560001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:08:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:08:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:08:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:08:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312523264,"description":"Unknown IO ID 45"} 
[2026-07-27 18:08:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999874560001,"power":13015,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831487335312523264}} 
[2026-07-27 18:08:15] local.INFO: DEBUG: GPS processor result {"connection_id":144181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554638,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:08:15] local.INFO: GPS data processed {"connection_id":144181,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:08:15] local.INFO: Acknowledgment sent {"connection_id":144181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:08:31] local.INFO: TCP Data received {"connection_id":143058,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:08:31] local.INFO: Processing buffer {"connection_id":143058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:08:31] local.INFO: IMEI packet received {"connection_id":143058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 18:08:31] local.INFO: IMEI acknowledgment sent {"connection_id":143058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:08:36] local.INFO: TCP Data received {"connection_id":143058,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:08:36] local.INFO: Processing buffer {"connection_id":143058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:08:36] local.INFO: IMEI packet received {"connection_id":143058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 18:08:36] local.INFO: IMEI acknowledgment sent {"connection_id":143058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:08:37] local.INFO: TCP Data received {"connection_id":143058,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3949ac8012da45f8005d7b4200023000227..."} 
[2026-07-27 18:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143058,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3949ac8012da45f8005d7b4200023000227..."} 
[2026-07-27 18:08:37] local.INFO: Processing buffer {"connection_id":143058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3949ac8012da45f8005d7b4200023000227..."} 
[2026-07-27 18:08:37] local.INFO: Packet analysis {"connection_id":143058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa394"} 
[2026-07-27 18:08:37] local.INFO: Extracted packet for processing {"connection_id":143058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa394"} 
[2026-07-27 18:08:37] local.INFO: GPS Element Parsed {"raw_longitude":765747072,"raw_latitude":98022432,"longitude_deg":76.5747072,"latitude_deg":9.8022432,"altitude":35,"angle":2,"satellites":39,"speed":45,"hex_longitude":"2da45f80","hex_latitude":"05d7b420","is_valid_coordinates":true} 
[2026-07-27 18:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:08:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999897088001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:08:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359208778052141056,"note":"Value kept but may cause issues"} 
[2026-07-27 18:08:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6601573341191127040,"note":"Value kept but may cause issues"} 
[2026-07-27 18:08:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:08:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785155853000,"timestamp_ms":1785155853000,"timestamp_seconds":1785155853,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3949ac8"} 
[2026-07-27 18:08:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:08:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-27 18:08:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:08:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:08:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:08:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:08:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:08:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:08:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:08:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:08:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:08:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:08:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999897088001,"66":27919,"110":206,"83":17920,"24":45,"16":359208778052141056,"45":-6601573341191127040},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,83,24,16,45]} 
[2026-07-27 18:08:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:08:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:08:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999897088001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:08:37] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-27 18:08:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":17920,"description":"Unknown IO ID 83"} 
[2026-07-27 18:08:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359208778052141056,"km_value":359208778052141.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:08:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6601573341191127040,"description":"Unknown IO ID 45"} 
[2026-07-27 18:08:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999897088001,"power":27919,"unknown_110":206,"unknown_83":17920,"ignition":45,"odometer":null,"unknown_45":-6601573341191127040}} 
[2026-07-27 18:08:37] local.INFO: DEBUG: GPS processor result {"connection_id":143058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:08:37] local.INFO: GPS data processed {"connection_id":143058,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:08:37] local.INFO: Acknowledgment sent {"connection_id":143058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:08:44] local.INFO: TCP Data received {"connection_id":145464,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa393d390012d80ac4005d35d880006000b29..."} 
[2026-07-27 18:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa393d390012d80ac4005d35d880006000b29..."} 
[2026-07-27 18:08:44] local.INFO: Processing buffer {"connection_id":145464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa393d390012d80ac4005d35d880006000b29..."} 
[2026-07-27 18:08:44] local.INFO: Packet analysis {"connection_id":145464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa393"} 
[2026-07-27 18:08:44] local.INFO: Extracted packet for processing {"connection_id":145464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa393"} 
[2026-07-27 18:08:44] local.INFO: GPS Element Parsed {"raw_longitude":763407424,"raw_latitude":97738120,"longitude_deg":76.3407424,"latitude_deg":9.773812,"altitude":6,"angle":11,"satellites":41,"speed":3,"hex_longitude":"2d80ac40","hex_latitude":"05d35d88","is_valid_coordinates":true} 
[2026-07-27 18:08:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:08:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999879936001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:08:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111774509538738176,"note":"Value kept but may cause issues"} 
[2026-07-27 18:08:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9174676840862730240,"note":"Value kept but may cause issues"} 
[2026-07-27 18:08:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:08:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785155802000,"timestamp_ms":1785155802000,"timestamp_seconds":1785155802,"priority":1,"record_length":96,"hex_timestamp":"0000019fa393d390"} 
[2026-07-27 18:08:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:08:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:08:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-27 18:08:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:08:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:08:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:08:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:08:44] local.INFO: Teltonika packet parsed successfully {"connection_id":145464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:08:44] local.INFO: Passing IMEI to GPS processor {"connection_id":145464,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:08:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":145464,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:08:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:08:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 18:08:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 18:08:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999879936001,"66":12765,"207":206,"85":15104,"24":3,"16":111774509538738176,"45":-9174676840862730240},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-07-27 18:08:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 18:08:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 18:08:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999879936001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:08:44] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-27 18:08:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 18:08:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111774509538738176,"km_value":111774509538738.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:08:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9174676840862730240,"description":"Unknown IO ID 45"} 
[2026-07-27 18:08:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999879936001,"power":12765,"unknown_207":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":-9174676840862730240}} 
[2026-07-27 18:08:44] local.INFO: DEBUG: GPS processor result {"connection_id":145464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554640,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:08:44] local.INFO: GPS data processed {"connection_id":145464,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:08:44] local.INFO: Acknowledgment sent {"connection_id":145464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:08:59] local.INFO: TCP Data received {"connection_id":145465,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145465,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:08:59] local.INFO: Processing buffer {"connection_id":145465,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:08:59] local.INFO: IMEI packet received {"connection_id":145465,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 18:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":145465,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:09:04] local.INFO: TCP Data received {"connection_id":145465,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145465,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:09:04] local.INFO: Processing buffer {"connection_id":145465,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:09:04] local.INFO: IMEI packet received {"connection_id":145465,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 18:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":145465,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:09:06] local.INFO: TCP Data received {"connection_id":145465,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa393d390012d1967c0071fee200046011624..."} 
[2026-07-27 18:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa393d390012d1967c0071fee200046011624..."} 
[2026-07-27 18:09:06] local.INFO: Processing buffer {"connection_id":145465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa393d390012d1967c0071fee200046011624..."} 
[2026-07-27 18:09:06] local.INFO: Packet analysis {"connection_id":145465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa393"} 
[2026-07-27 18:09:06] local.INFO: Extracted packet for processing {"connection_id":145465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa393"} 
[2026-07-27 18:09:06] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":36,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 18:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:09:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999879936001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:09:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 18:09:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 18:09:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:09:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785155802000,"timestamp_ms":1785155802000,"timestamp_seconds":1785155802,"priority":1,"record_length":96,"hex_timestamp":"0000019fa393d390"} 
[2026-07-27 18:09:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:09:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-27 18:09:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:09:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:09:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:09:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:09:06] local.INFO: Teltonika packet parsed successfully {"connection_id":145465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:09:06] local.INFO: Passing IMEI to GPS processor {"connection_id":145465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:09:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":145465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:09:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:09:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:09:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:09:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999879936001,"66":12950,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:09:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:09:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:09:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999879936001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:09:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:09:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:09:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:09:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 18:09:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999879936001,"power":12950,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 18:09:06] local.INFO: DEBUG: GPS processor result {"connection_id":145465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554641,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:09:06] local.INFO: GPS data processed {"connection_id":145465,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:09:06] local.INFO: Acknowledgment sent {"connection_id":145465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:09:07] local.INFO: TCP Data received {"connection_id":143059,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143059,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:09:07] local.INFO: Processing buffer {"connection_id":143059,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:09:07] local.INFO: IMEI packet received {"connection_id":143059,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 18:09:07] local.INFO: IMEI acknowledgment sent {"connection_id":143059,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:09:09] local.INFO: TCP Data received {"connection_id":143058,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa394ba08012da465c005d7d6380024000b25..."} 
[2026-07-27 18:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143058,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa394ba08012da465c005d7d6380024000b25..."} 
[2026-07-27 18:09:09] local.INFO: Processing buffer {"connection_id":143058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa394ba08012da465c005d7d6380024000b25..."} 
[2026-07-27 18:09:09] local.INFO: Packet analysis {"connection_id":143058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa394"} 
[2026-07-27 18:09:09] local.INFO: Extracted packet for processing {"connection_id":143058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa394"} 
[2026-07-27 18:09:09] local.INFO: GPS Element Parsed {"raw_longitude":765748672,"raw_latitude":98031160,"longitude_deg":76.5748672,"latitude_deg":9.803116,"altitude":36,"angle":11,"satellites":37,"speed":44,"hex_longitude":"2da465c0","hex_latitude":"05d7d638","is_valid_coordinates":true} 
[2026-07-27 18:09:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:09:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999898368001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:09:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359209207548870656,"note":"Value kept but may cause issues"} 
[2026-07-27 18:09:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6602417766119759872,"note":"Value kept but may cause issues"} 
[2026-07-27 18:09:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:09:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785155861000,"timestamp_ms":1785155861000,"timestamp_seconds":1785155861,"priority":1,"record_length":96,"hex_timestamp":"0000019fa394ba08"} 
[2026-07-27 18:09:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:09:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-27 18:09:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:09:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:09:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:09:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:09:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:09:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:09:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:09:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:09:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:09:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:09:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999898368001,"66":27908,"110":206,"83":17920,"24":44,"16":359209207548870656,"45":-6602417766119759872},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,83,24,16,45]} 
[2026-07-27 18:09:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:09:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:09:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999898368001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:09:09] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-27 18:09:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":17920,"description":"Unknown IO ID 83"} 
[2026-07-27 18:09:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359209207548870656,"km_value":359209207548870.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:09:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6602417766119759872,"description":"Unknown IO ID 45"} 
[2026-07-27 18:09:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999898368001,"power":27908,"unknown_110":206,"unknown_83":17920,"ignition":44,"odometer":null,"unknown_45":-6602417766119759872}} 
[2026-07-27 18:09:09] local.INFO: DEBUG: GPS processor result {"connection_id":143058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:09:09] local.INFO: GPS data processed {"connection_id":143058,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:09:09] local.INFO: Acknowledgment sent {"connection_id":143058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:09:13] local.INFO: TCP Data received {"connection_id":143059,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143059,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:09:13] local.INFO: Processing buffer {"connection_id":143059,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:09:13] local.INFO: IMEI packet received {"connection_id":143059,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 18:09:13] local.INFO: IMEI acknowledgment sent {"connection_id":143059,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:09:13] local.INFO: TCP Data received {"connection_id":143059,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3942598012d80ad0005d35d280006000b28..."} 
[2026-07-27 18:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143059,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3942598012d80ad0005d35d280006000b28..."} 
[2026-07-27 18:09:13] local.INFO: Processing buffer {"connection_id":143059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3942598012d80ad0005d35d280006000b28..."} 
[2026-07-27 18:09:13] local.INFO: Packet analysis {"connection_id":143059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa394"} 
[2026-07-27 18:09:13] local.INFO: Extracted packet for processing {"connection_id":143059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa394"} 
[2026-07-27 18:09:13] local.INFO: GPS Element Parsed {"raw_longitude":763407616,"raw_latitude":97738024,"longitude_deg":76.3407616,"latitude_deg":9.7738024,"altitude":6,"angle":11,"satellites":40,"speed":0,"hex_longitude":"2d80ad00","hex_latitude":"05d35d28","is_valid_coordinates":true} 
[2026-07-27 18: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-07-27 18:09:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999885312001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:09:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111774518128672768,"note":"Value kept but may cause issues"} 
[2026-07-27 18:09:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9174887947095406592,"note":"Value kept but may cause issues"} 
[2026-07-27 18:09:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:09:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785155823000,"timestamp_ms":1785155823000,"timestamp_seconds":1785155823,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3942598"} 
[2026-07-27 18:09:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:09:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-27 18:09:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18: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-07-27 18:09:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:09:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:09:13] local.INFO: Teltonika packet parsed successfully {"connection_id":143059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:09:13] local.INFO: Passing IMEI to GPS processor {"connection_id":143059,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:09:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":143059,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:09: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-07-27 18:09:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 18:09:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 18:09:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999885312001,"66":12982,"207":206,"85":15104,"24":0,"16":111774518128672768,"45":-9174887947095406592},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-07-27 18:09:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 18:09:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 18:09:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999885312001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:09:13] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-27 18:09:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 18:09:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111774518128672768,"km_value":111774518128672.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:09:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9174887947095406592,"description":"Unknown IO ID 45"} 
[2026-07-27 18:09:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999885312001,"power":12982,"unknown_207":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9174887947095406592}} 
[2026-07-27 18:09:13] local.INFO: DEBUG: GPS processor result {"connection_id":143059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554643,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:09:13] local.INFO: GPS data processed {"connection_id":143059,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:09:13] local.INFO: Acknowledgment sent {"connection_id":143059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:09:32] local.INFO: TCP Data received {"connection_id":145466,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:09:32] local.INFO: Processing buffer {"connection_id":145466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:09:32] local.INFO: IMEI packet received {"connection_id":145466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 18:09:32] local.INFO: IMEI acknowledgment sent {"connection_id":145466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:09:37] local.INFO: TCP Data received {"connection_id":145466,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:09:37] local.INFO: Processing buffer {"connection_id":145466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:09:37] local.INFO: IMEI packet received {"connection_id":145466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 18:09:37] local.INFO: IMEI acknowledgment sent {"connection_id":145466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:09:38] local.INFO: TCP Data received {"connection_id":145465,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3942598012d1967c0071fee200046011623..."} 
[2026-07-27 18:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3942598012d1967c0071fee200046011623..."} 
[2026-07-27 18:09:38] local.INFO: Processing buffer {"connection_id":145465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3942598012d1967c0071fee200046011623..."} 
[2026-07-27 18:09:38] local.INFO: Packet analysis {"connection_id":145465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa394"} 
[2026-07-27 18:09:38] local.INFO: Extracted packet for processing {"connection_id":145465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa394"} 
[2026-07-27 18:09:38] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":35,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 18:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:09:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999885312001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:09:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 18:09:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 18:09:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:09:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785155823000,"timestamp_ms":1785155823000,"timestamp_seconds":1785155823,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3942598"} 
[2026-07-27 18:09:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:09:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-27 18:09:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:09:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:09:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:09:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:09:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:09:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:09:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:09:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:09:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:09:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:09:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999885312001,"66":12885,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:09:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:09:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:09:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999885312001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:09:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:09:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:09:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:09:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 18:09:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999885312001,"power":12885,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 18:09:38] local.INFO: DEBUG: GPS processor result {"connection_id":145465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554644,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:09:38] local.INFO: GPS data processed {"connection_id":145465,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:09:38] local.INFO: Acknowledgment sent {"connection_id":145465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:09:41] local.INFO: TCP Data received {"connection_id":145466,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:09:41] local.INFO: Processing buffer {"connection_id":145466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:09:41] local.INFO: IMEI packet received {"connection_id":145466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 18:09:41] local.INFO: IMEI acknowledgment sent {"connection_id":145466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:09:42] local.INFO: TCP Data received {"connection_id":145466,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa394cd90012da46bc005d7e9500024001626..."} 
[2026-07-27 18:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa394cd90012da46bc005d7e9500024001626..."} 
[2026-07-27 18:09:42] local.INFO: Processing buffer {"connection_id":145466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa394cd90012da46bc005d7e9500024001626..."} 
[2026-07-27 18:09:42] local.INFO: Packet analysis {"connection_id":145466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa394"} 
[2026-07-27 18:09:42] local.INFO: Extracted packet for processing {"connection_id":145466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa394"} 
[2026-07-27 18:09:42] local.INFO: GPS Element Parsed {"raw_longitude":765750208,"raw_latitude":98036048,"longitude_deg":76.5750208,"latitude_deg":9.8036048,"altitude":36,"angle":22,"satellites":38,"speed":35,"hex_longitude":"2da46bc0","hex_latitude":"05d7e950","is_valid_coordinates":true} 
[2026-07-27 18: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-07-27 18:09:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999900416001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:09:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359209456656973824,"note":"Value kept but may cause issues"} 
[2026-07-27 18:09:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6600658547513083904,"note":"Value kept but may cause issues"} 
[2026-07-27 18:09:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:09:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785155866000,"timestamp_ms":1785155866000,"timestamp_seconds":1785155866,"priority":1,"record_length":96,"hex_timestamp":"0000019fa394cd90"} 
[2026-07-27 18:09:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:09:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-27 18:09:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18: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-07-27 18:09:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:09:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:09:42] local.INFO: Teltonika packet parsed successfully {"connection_id":145466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:09:42] local.INFO: Passing IMEI to GPS processor {"connection_id":145466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:09:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":145466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:09:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:09:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:09:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:09:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999900416001,"66":27865,"110":206,"83":17920,"24":35,"16":359209456656973824,"45":-6600658547513083904},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,83,24,16,45]} 
[2026-07-27 18:09:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:09:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:09:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999900416001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:09:42] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-27 18:09:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":17920,"description":"Unknown IO ID 83"} 
[2026-07-27 18:09:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359209456656973824,"km_value":359209456656973.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:09:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6600658547513083904,"description":"Unknown IO ID 45"} 
[2026-07-27 18:09:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999900416001,"power":27865,"unknown_110":206,"unknown_83":17920,"ignition":35,"odometer":null,"unknown_45":-6600658547513083904}} 
[2026-07-27 18:09:42] local.INFO: DEBUG: GPS processor result {"connection_id":145466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:09:42] local.INFO: GPS data processed {"connection_id":145466,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:09:42] local.INFO: Acknowledgment sent {"connection_id":145466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:09:43] local.INFO: TCP Data received {"connection_id":145466,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa394d948012da46ec005d7f2e00025000a27..."} 
[2026-07-27 18:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa394d948012da46ec005d7f2e00025000a27..."} 
[2026-07-27 18:09:43] local.INFO: Processing buffer {"connection_id":145466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa394d948012da46ec005d7f2e00025000a27..."} 
[2026-07-27 18:09:43] local.INFO: Packet analysis {"connection_id":145466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa394"} 
[2026-07-27 18:09:43] local.INFO: Extracted packet for processing {"connection_id":145466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa394"} 
[2026-07-27 18:09:43] local.INFO: GPS Element Parsed {"raw_longitude":765750976,"raw_latitude":98038496,"longitude_deg":76.5750976,"latitude_deg":9.8038496,"altitude":37,"angle":10,"satellites":39,"speed":32,"hex_longitude":"2da46ec0","hex_latitude":"05d7f2e0","is_valid_coordinates":true} 
[2026-07-27 18:09:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:09:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999901696001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:09:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359209581211025408,"note":"Value kept but may cause issues"} 
[2026-07-27 18:09:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6598969697651568640,"note":"Value kept but may cause issues"} 
[2026-07-27 18:09:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:09:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785155869000,"timestamp_ms":1785155869000,"timestamp_seconds":1785155869,"priority":1,"record_length":96,"hex_timestamp":"0000019fa394d948"} 
[2026-07-27 18:09:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:09:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:09:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-27 18:09:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:09:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:09:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:09:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:09:43] local.INFO: Teltonika packet parsed successfully {"connection_id":145466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:09:43] local.INFO: Passing IMEI to GPS processor {"connection_id":145466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:09:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":145466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:09:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:09:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:09:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:09:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999901696001,"66":27876,"110":206,"83":17920,"24":32,"16":359209581211025408,"45":-6598969697651568640},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,83,24,16,45]} 
[2026-07-27 18:09:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:09:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:09:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999901696001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:09:43] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-27 18:09:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":17920,"description":"Unknown IO ID 83"} 
[2026-07-27 18:09:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359209581211025408,"km_value":359209581211025.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:09:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6598969697651568640,"description":"Unknown IO ID 45"} 
[2026-07-27 18:09:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999901696001,"power":27876,"unknown_110":206,"unknown_83":17920,"ignition":32,"odometer":null,"unknown_45":-6598969697651568640}} 
[2026-07-27 18:09:43] local.INFO: DEBUG: GPS processor result {"connection_id":145466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:09:43] local.INFO: GPS data processed {"connection_id":145466,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:09:43] local.INFO: Acknowledgment sent {"connection_id":145466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:09:45] local.INFO: TCP Data received {"connection_id":143059,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fa39477a0012d80ad0005d35d280006000b27..."} 
[2026-07-27 18:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143059,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa39477a0012d80ad0005d35d280006000b27..."} 
[2026-07-27 18:09:45] local.INFO: Processing buffer {"connection_id":143059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa39477a0012d80ad0005d35d280006000b27..."} 
[2026-07-27 18:09:45] local.INFO: Packet analysis {"connection_id":143059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa394"} 
[2026-07-27 18:09:45] local.INFO: Extracted packet for processing {"connection_id":143059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa394"} 
[2026-07-27 18:09:45] local.INFO: GPS Element Parsed {"raw_longitude":763407616,"raw_latitude":97738024,"longitude_deg":76.3407616,"latitude_deg":9.7738024,"altitude":6,"angle":11,"satellites":39,"speed":0,"hex_longitude":"2d80ad00","hex_latitude":"05d35d28","is_valid_coordinates":true} 
[2026-07-27 18:09:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:09:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999890688001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:09:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111774518128672768,"note":"Value kept but may cause issues"} 
[2026-07-27 18:09:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9174676840862898176,"note":"Value kept but may cause issues"} 
[2026-07-27 18:09:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:09:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785155844000,"timestamp_ms":1785155844000,"timestamp_seconds":1785155844,"priority":1,"record_length":96,"hex_timestamp":"0000019fa39477a0"} 
[2026-07-27 18:09:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:09: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-07-27 18: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-27 18:09:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:09:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:09:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:09:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:09:45] local.INFO: Teltonika packet parsed successfully {"connection_id":143059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:09:45] local.INFO: Passing IMEI to GPS processor {"connection_id":143059,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:09:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":143059,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:09:45] 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-07-27 18:09:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 18:09:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 18:09:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999890688001,"66":12852,"207":206,"85":15104,"24":0,"16":111774518128672768,"45":-9174676840862898176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-07-27 18:09:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 18:09:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 18:09:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999890688001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:09:45] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-27 18:09:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 18:09:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111774518128672768,"km_value":111774518128672.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:09:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9174676840862898176,"description":"Unknown IO ID 45"} 
[2026-07-27 18:09:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999890688001,"power":12852,"unknown_207":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9174676840862898176}} 
[2026-07-27 18:09:45] local.INFO: DEBUG: GPS processor result {"connection_id":143059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554647,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:09:45] local.INFO: GPS data processed {"connection_id":143059,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:09:45] local.INFO: Acknowledgment sent {"connection_id":143059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:10:04] local.INFO: TCP Data received {"connection_id":143060,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143060,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:10:04] local.INFO: Processing buffer {"connection_id":143060,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:10:04] local.INFO: IMEI packet received {"connection_id":143060,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 18:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":143060,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:10:09] local.INFO: TCP Data received {"connection_id":143060,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143060,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:10:09] local.INFO: Processing buffer {"connection_id":143060,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:10:09] local.INFO: IMEI packet received {"connection_id":143060,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 18:10:09] local.INFO: IMEI acknowledgment sent {"connection_id":143060,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:10:10] local.INFO: TCP Data received {"connection_id":143060,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa39477a0012d1967c0071fee200046011624..."} 
[2026-07-27 18:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143060,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa39477a0012d1967c0071fee200046011624..."} 
[2026-07-27 18:10:10] local.INFO: Processing buffer {"connection_id":143060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa39477a0012d1967c0071fee200046011624..."} 
[2026-07-27 18:10:10] local.INFO: Packet analysis {"connection_id":143060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa394"} 
[2026-07-27 18:10:10] local.INFO: Extracted packet for processing {"connection_id":143060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa394"} 
[2026-07-27 18:10:10] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":36,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 18:10:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:10:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999890688001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:10:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 18:10:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 18:10:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:10:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785155844000,"timestamp_ms":1785155844000,"timestamp_seconds":1785155844,"priority":1,"record_length":96,"hex_timestamp":"0000019fa39477a0"} 
[2026-07-27 18:10:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:10:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:10:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-27 18:10:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:10:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:10:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:10:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:10:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:10:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:10:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:10:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:10:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:10:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:10:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999890688001,"66":12863,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:10:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:10:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:10:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999890688001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:10:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:10:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:10:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:10:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 18:10:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999890688001,"power":12863,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 18:10:10] local.INFO: DEBUG: GPS processor result {"connection_id":143060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554648,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:10:10] local.INFO: GPS data processed {"connection_id":143060,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:10:10] local.INFO: Acknowledgment sent {"connection_id":143060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:10:12] local.INFO: TCP Data received {"connection_id":143060,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa394c9a8012d1967c0071fee200046011625..."} 
[2026-07-27 18:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143060,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa394c9a8012d1967c0071fee200046011625..."} 
[2026-07-27 18:10:12] local.INFO: Processing buffer {"connection_id":143060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa394c9a8012d1967c0071fee200046011625..."} 
[2026-07-27 18:10:12] local.INFO: Packet analysis {"connection_id":143060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa394"} 
[2026-07-27 18:10:12] local.INFO: Extracted packet for processing {"connection_id":143060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa394"} 
[2026-07-27 18:10:12] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":37,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 18:10:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:10:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999896064001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:10:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 18:10:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 18:10:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:10:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785155865000,"timestamp_ms":1785155865000,"timestamp_seconds":1785155865,"priority":1,"record_length":96,"hex_timestamp":"0000019fa394c9a8"} 
[2026-07-27 18:10:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:10:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:10:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-27 18:10:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:10:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:10:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:10:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:10:12] local.INFO: Teltonika packet parsed successfully {"connection_id":143060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:10:12] local.INFO: Passing IMEI to GPS processor {"connection_id":143060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:10:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":143060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:10:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:10:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:10:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:10:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999896064001,"66":12928,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:10:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:10:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:10:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999896064001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:10:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:10:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:10:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:10:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 18:10:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999896064001,"power":12928,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 18:10:12] local.INFO: DEBUG: GPS processor result {"connection_id":143060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554649,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:10:12] local.INFO: GPS data processed {"connection_id":143060,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:10:12] local.INFO: Acknowledgment sent {"connection_id":143060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:10:13] local.INFO: TCP Data received {"connection_id":143200,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143200,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:10:13] local.INFO: Processing buffer {"connection_id":143200,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:10:13] local.INFO: IMEI packet received {"connection_id":143200,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 18:10:13] local.INFO: IMEI acknowledgment sent {"connection_id":143200,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:10:13] local.INFO: TCP Data received {"connection_id":145466,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3966ba0012da4c74005d90b700046002423..."} 
[2026-07-27 18:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3966ba0012da4c74005d90b700046002423..."} 
[2026-07-27 18:10:13] local.INFO: Processing buffer {"connection_id":145466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3966ba0012da4c74005d90b700046002423..."} 
[2026-07-27 18:10:13] local.INFO: Packet analysis {"connection_id":145466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa396"} 
[2026-07-27 18:10:13] local.INFO: Extracted packet for processing {"connection_id":145466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa396"} 
[2026-07-27 18:10:13] local.INFO: GPS Element Parsed {"raw_longitude":765773632,"raw_latitude":98110320,"longitude_deg":76.5773632,"latitude_deg":9.811032,"altitude":70,"angle":36,"satellites":35,"speed":30,"hex_longitude":"2da4c740","hex_latitude":"05d90b70","is_valid_coordinates":true} 
[2026-07-27 18:10:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:10:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999928576001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:10:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359213519696035840,"note":"Value kept but may cause issues"} 
[2026-07-27 18:10:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6573707318472916992,"note":"Value kept but may cause issues"} 
[2026-07-27 18:10:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:10:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785155972000,"timestamp_ms":1785155972000,"timestamp_seconds":1785155972,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3966ba0"} 
[2026-07-27 18:10:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:10:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:10:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-27 18:10:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:10:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:10:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:10:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:10:13] local.INFO: Teltonika packet parsed successfully {"connection_id":145466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:10:13] local.INFO: Passing IMEI to GPS processor {"connection_id":145466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:10:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":145466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:10: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-07-27 18:10:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:10:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:10:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999928576001,"66":27832,"109":206,"83":17920,"24":30,"16":359213519696035840,"45":-6573707318472916992},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,45]} 
[2026-07-27 18:10:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:10:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:10:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999928576001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:10:14] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-27 18:10:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":17920,"description":"Unknown IO ID 83"} 
[2026-07-27 18:10:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359213519696035840,"km_value":359213519696035.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:10:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6573707318472916992,"description":"Unknown IO ID 45"} 
[2026-07-27 18:10:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999928576001,"power":27832,"unknown_109":206,"unknown_83":17920,"ignition":30,"odometer":null,"unknown_45":-6573707318472916992}} 
[2026-07-27 18:10:14] local.INFO: DEBUG: GPS processor result {"connection_id":145466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:10:14] local.INFO: GPS data processed {"connection_id":145466,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:10:14] local.INFO: Acknowledgment sent {"connection_id":145466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:10:17] local.INFO: TCP Data received {"connection_id":143200,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:10:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143200,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:10:17] local.INFO: Processing buffer {"connection_id":143200,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:10:17] local.INFO: IMEI packet received {"connection_id":143200,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 18:10:17] local.INFO: IMEI acknowledgment sent {"connection_id":143200,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:10:18] local.INFO: TCP Data received {"connection_id":143200,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa394c9a8012d80ad0005d35d280006000b27..."} 
[2026-07-27 18:10:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143200,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa394c9a8012d80ad0005d35d280006000b27..."} 
[2026-07-27 18:10:18] local.INFO: Processing buffer {"connection_id":143200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa394c9a8012d80ad0005d35d280006000b27..."} 
[2026-07-27 18:10:18] local.INFO: Packet analysis {"connection_id":143200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa394"} 
[2026-07-27 18:10:18] local.INFO: Extracted packet for processing {"connection_id":143200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa394"} 
[2026-07-27 18:10:18] local.INFO: GPS Element Parsed {"raw_longitude":763407616,"raw_latitude":97738024,"longitude_deg":76.3407616,"latitude_deg":9.7738024,"altitude":6,"angle":11,"satellites":39,"speed":0,"hex_longitude":"2d80ad00","hex_latitude":"05d35d28","is_valid_coordinates":true} 
[2026-07-27 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-07-27 18:10:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999896064001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:10:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111774518128672768,"note":"Value kept but may cause issues"} 
[2026-07-27 18:10:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9174676840862898176,"note":"Value kept but may cause issues"} 
[2026-07-27 18:10:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:10:18] local.INFO: AVL Record Parsed {"raw_timestamp":1785155865000,"timestamp_ms":1785155865000,"timestamp_seconds":1785155865,"priority":1,"record_length":96,"hex_timestamp":"0000019fa394c9a8"} 
[2026-07-27 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-07-27 18: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-07-27 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":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-27 18:10:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":916,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 18:10:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:10:18] local.INFO: Teltonika packet parsed successfully {"connection_id":143200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:10:18] local.INFO: Passing IMEI to GPS processor {"connection_id":143200,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:10:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":143200,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:10:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:10:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 18:10:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 18:10:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999896064001,"66":13254,"167":206,"85":15104,"24":0,"16":111774518128672768,"45":-9174676840862898176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-27 18:10:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 18:10:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 18:10:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999896064001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:10:18] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-27 18:10:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 18:10:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111774518128672768,"km_value":111774518128672.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:10:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9174676840862898176,"description":"Unknown IO ID 45"} 
[2026-07-27 18:10:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999896064001,"power":13254,"unknown_167":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9174676840862898176}} 
[2026-07-27 18:10:18] local.INFO: DEBUG: GPS processor result {"connection_id":143200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554651,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:10:18] local.INFO: GPS data processed {"connection_id":143200,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:10:18] local.INFO: Acknowledgment sent {"connection_id":143200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:10:23] local.INFO: TCP Data received {"connection_id":143200,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3951bb0012d80ad0005d35d280006000b28..."} 
[2026-07-27 18:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143200,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3951bb0012d80ad0005d35d280006000b28..."} 
[2026-07-27 18:10:23] local.INFO: Processing buffer {"connection_id":143200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3951bb0012d80ad0005d35d280006000b28..."} 
[2026-07-27 18:10:23] local.INFO: Packet analysis {"connection_id":143200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa395"} 
[2026-07-27 18:10:23] local.INFO: Extracted packet for processing {"connection_id":143200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa395"} 
[2026-07-27 18:10:23] local.INFO: GPS Element Parsed {"raw_longitude":763407616,"raw_latitude":97738024,"longitude_deg":76.3407616,"latitude_deg":9.7738024,"altitude":6,"angle":11,"satellites":40,"speed":0,"hex_longitude":"2d80ad00","hex_latitude":"05d35d28","is_valid_coordinates":true} 
[2026-07-27 18:10:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:10:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999901440001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:10:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111774518128672768,"note":"Value kept but may cause issues"} 
[2026-07-27 18:10:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9174676840862898176,"note":"Value kept but may cause issues"} 
[2026-07-27 18:10:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:10:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785155886000,"timestamp_ms":1785155886000,"timestamp_seconds":1785155886,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3951bb0"} 
[2026-07-27 18:10:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:10:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:10:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-27 18:10:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:10:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:10:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:10:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:10:23] local.INFO: Teltonika packet parsed successfully {"connection_id":143200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:10:23] local.INFO: Passing IMEI to GPS processor {"connection_id":143200,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:10:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":143200,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:10:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:10:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 18:10:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 18:10:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999901440001,"66":13243,"167":206,"85":15104,"24":0,"16":111774518128672768,"45":-9174676840862898176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-27 18:10:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 18:10:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 18:10:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999901440001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:10:23] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-27 18:10:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 18:10:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111774518128672768,"km_value":111774518128672.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:10:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9174676840862898176,"description":"Unknown IO ID 45"} 
[2026-07-27 18:10:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999901440001,"power":13243,"unknown_167":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9174676840862898176}} 
[2026-07-27 18:10:23] local.INFO: DEBUG: GPS processor result {"connection_id":143200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554652,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:10:23] local.INFO: GPS data processed {"connection_id":143200,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:10:23] local.INFO: Acknowledgment sent {"connection_id":143200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:10:32] local.INFO: TCP Data received {"connection_id":145467,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:10:32] local.INFO: Processing buffer {"connection_id":145467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:10:32] local.INFO: IMEI packet received {"connection_id":145467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 18:10:32] local.INFO: IMEI acknowledgment sent {"connection_id":145467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:10:33] local.INFO: TCP Data received {"connection_id":145467,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:10:33] local.INFO: Processing buffer {"connection_id":145467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:10:33] local.INFO: IMEI packet received {"connection_id":145467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 18:10:33] local.INFO: IMEI acknowledgment sent {"connection_id":145467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:10:33] local.INFO: TCP Data received {"connection_id":145467,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3966f88012da4c90005d90e080047001825..."} 
[2026-07-27 18:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3966f88012da4c90005d90e080047001825..."} 
[2026-07-27 18:10:33] local.INFO: Processing buffer {"connection_id":145467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3966f88012da4c90005d90e080047001825..."} 
[2026-07-27 18:10:33] local.INFO: Packet analysis {"connection_id":145467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa396"} 
[2026-07-27 18:10:33] local.INFO: Extracted packet for processing {"connection_id":145467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa396"} 
[2026-07-27 18:10:33] local.INFO: GPS Element Parsed {"raw_longitude":765774080,"raw_latitude":98110984,"longitude_deg":76.577408,"latitude_deg":9.8110984,"altitude":71,"angle":24,"satellites":37,"speed":30,"hex_longitude":"2da4c900","hex_latitude":"05d90e08","is_valid_coordinates":true} 
[2026-07-27 18:10:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:10:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999928832001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:10:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359213558350741504,"note":"Value kept but may cause issues"} 
[2026-07-27 18:10:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6573214737263529984,"note":"Value kept but may cause issues"} 
[2026-07-27 18:10:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:10:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785155973000,"timestamp_ms":1785155973000,"timestamp_seconds":1785155973,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3966f88"} 
[2026-07-27 18:10:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:10:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:10:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-27 18:10:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:10:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:10:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:10:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:10:33] local.INFO: Teltonika packet parsed successfully {"connection_id":145467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:10:33] local.INFO: Passing IMEI to GPS processor {"connection_id":145467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:10:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":145467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:10:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:10:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:10:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:10:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999928832001,"66":27832,"109":206,"83":17920,"24":30,"16":359213558350741504,"45":-6573214737263529984},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,45]} 
[2026-07-27 18:10:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:10:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:10:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999928832001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:10:33] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-27 18:10:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":17920,"description":"Unknown IO ID 83"} 
[2026-07-27 18:10:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359213558350741504,"km_value":359213558350741.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:10:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6573214737263529984,"description":"Unknown IO ID 45"} 
[2026-07-27 18:10:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999928832001,"power":27832,"unknown_109":206,"unknown_83":17920,"ignition":30,"odometer":null,"unknown_45":-6573214737263529984}} 
[2026-07-27 18:10:33] local.INFO: DEBUG: GPS processor result {"connection_id":145467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:10:33] local.INFO: GPS data processed {"connection_id":145467,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:10:33] local.INFO: Acknowledgment sent {"connection_id":145467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:10:37] local.INFO: TCP Data received {"connection_id":145467,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3967370012da4ca0005d910d80047000c24..."} 
[2026-07-27 18:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3967370012da4ca0005d910d80047000c24..."} 
[2026-07-27 18:10:37] local.INFO: Processing buffer {"connection_id":145467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3967370012da4ca0005d910d80047000c24..."} 
[2026-07-27 18:10:37] local.INFO: Packet analysis {"connection_id":145467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa396"} 
[2026-07-27 18:10:37] local.INFO: Extracted packet for processing {"connection_id":145467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa396"} 
[2026-07-27 18:10:37] local.INFO: GPS Element Parsed {"raw_longitude":765774336,"raw_latitude":98111704,"longitude_deg":76.5774336,"latitude_deg":9.8111704,"altitude":71,"angle":12,"satellites":36,"speed":29,"hex_longitude":"2da4ca00","hex_latitude":"05d910d8","is_valid_coordinates":true} 
[2026-07-27 18:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999929088001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359213592710479872,"note":"Value kept but may cause issues"} 
[2026-07-27 18:10:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6572722156054116352,"note":"Value kept but may cause issues"} 
[2026-07-27 18:10:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785155974000,"timestamp_ms":1785155974000,"timestamp_seconds":1785155974,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3967370"} 
[2026-07-27 18:10:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:10:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-27 18:10:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:10:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:10:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:10:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999929088001,"66":27908,"109":206,"83":17920,"24":29,"16":359213592710479872,"45":-6572722156054116352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,45]} 
[2026-07-27 18:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999929088001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:10:37] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-27 18:10:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":17920,"description":"Unknown IO ID 83"} 
[2026-07-27 18:10:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359213592710479872,"km_value":359213592710479.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:10:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6572722156054116352,"description":"Unknown IO ID 45"} 
[2026-07-27 18:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999929088001,"power":27908,"unknown_109":206,"unknown_83":17920,"ignition":29,"odometer":null,"unknown_45":-6572722156054116352}} 
[2026-07-27 18:10:37] local.INFO: DEBUG: GPS processor result {"connection_id":145467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:10:37] local.INFO: GPS data processed {"connection_id":145467,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:10:37] local.INFO: Acknowledgment sent {"connection_id":145467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:10:43] local.INFO: TCP Data received {"connection_id":143060,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3951bb0012d1967c0071fee200046011626..."} 
[2026-07-27 18:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143060,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3951bb0012d1967c0071fee200046011626..."} 
[2026-07-27 18:10:43] local.INFO: Processing buffer {"connection_id":143060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3951bb0012d1967c0071fee200046011626..."} 
[2026-07-27 18:10:43] local.INFO: Packet analysis {"connection_id":143060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa395"} 
[2026-07-27 18:10:43] local.INFO: Extracted packet for processing {"connection_id":143060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa395"} 
[2026-07-27 18:10:43] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":38,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 18: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-07-27 18:10:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999901440001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:10:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 18:10:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 18:10:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:10:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785155886000,"timestamp_ms":1785155886000,"timestamp_seconds":1785155886,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3951bb0"} 
[2026-07-27 18:10:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:10:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18: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":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-07-27 18:10:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1600,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18: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-07-27 18:10:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:10:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:10:43] local.INFO: Teltonika packet parsed successfully {"connection_id":143060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:10:43] local.INFO: Passing IMEI to GPS processor {"connection_id":143060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:10:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":143060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:10:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:10:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:10:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:10:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999901440001,"66":12885,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:10:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:10:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:10:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999901440001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:10:43] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:10:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:10:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:10:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 18:10:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999901440001,"power":12885,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 18:10:43] local.INFO: DEBUG: GPS processor result {"connection_id":143060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554655,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:10:43] local.INFO: GPS data processed {"connection_id":143060,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:10:43] local.INFO: Acknowledgment sent {"connection_id":143060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:10:59] local.INFO: TCP Data received {"connection_id":145468,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145468,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:10:59] local.INFO: Processing buffer {"connection_id":145468,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:10:59] local.INFO: IMEI packet received {"connection_id":145468,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 18:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":145468,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:11:04] local.INFO: TCP Data received {"connection_id":145468,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145468,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:11:04] local.INFO: Processing buffer {"connection_id":145468,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:11:04] local.INFO: IMEI packet received {"connection_id":145468,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 18:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":145468,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:11:06] local.INFO: TCP Data received {"connection_id":145468,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3956db8012d1967c0071fee200046011627..."} 
[2026-07-27 18:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3956db8012d1967c0071fee200046011627..."} 
[2026-07-27 18:11:06] local.INFO: Processing buffer {"connection_id":145468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3956db8012d1967c0071fee200046011627..."} 
[2026-07-27 18:11:06] local.INFO: Packet analysis {"connection_id":145468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa395"} 
[2026-07-27 18:11:06] local.INFO: Extracted packet for processing {"connection_id":145468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa395"} 
[2026-07-27 18:11:06] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 18:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999906816001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 18:11:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 18:11:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785155907000,"timestamp_ms":1785155907000,"timestamp_seconds":1785155907,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3956db8"} 
[2026-07-27 18:11:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:11:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-27 18:11:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:11:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:11:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":145468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":145468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":145468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:11:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999906816001,"66":12863,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999906816001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:11:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:11:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:11:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 18:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999906816001,"power":12863,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 18:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":145468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554656,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:11:06] local.INFO: GPS data processed {"connection_id":145468,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:11:06] local.INFO: Acknowledgment sent {"connection_id":145468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:11:08] local.INFO: TCP Data received {"connection_id":144182,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144182,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:11:08] local.INFO: Processing buffer {"connection_id":144182,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:11:08] local.INFO: IMEI packet received {"connection_id":144182,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 18:11:08] local.INFO: IMEI acknowledgment sent {"connection_id":144182,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:11:08] local.INFO: TCP Data received {"connection_id":145467,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3972720012da51a0005d93f18005c002325..."} 
[2026-07-27 18:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3972720012da51a0005d93f18005c002325..."} 
[2026-07-27 18:11:08] local.INFO: Processing buffer {"connection_id":145467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3972720012da51a0005d93f18005c002325..."} 
[2026-07-27 18:11:08] local.INFO: Packet analysis {"connection_id":145467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa397"} 
[2026-07-27 18:11:08] local.INFO: Extracted packet for processing {"connection_id":145467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa397"} 
[2026-07-27 18:11:08] local.INFO: GPS Element Parsed {"raw_longitude":765794816,"raw_latitude":98123544,"longitude_deg":76.5794816,"latitude_deg":9.8123544,"altitude":92,"angle":35,"satellites":37,"speed":27,"hex_longitude":"2da51a00","hex_latitude":"05d93f18","is_valid_coordinates":true} 
[2026-07-27 18:11:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:11:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999940864001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:11:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359215057294327808,"note":"Value kept but may cause issues"} 
[2026-07-27 18:11:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6550415264146714624,"note":"Value kept but may cause issues"} 
[2026-07-27 18:11:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:11:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785156020000,"timestamp_ms":1785156020000,"timestamp_seconds":1785156020,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3972720"} 
[2026-07-27 18:11:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:11:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":105,"n8_eight_byte":159,"data_length":795,"current_offset":136} 
[2026-07-27 18:11:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2154,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:11:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:11:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:11:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:11:08] local.INFO: Teltonika packet parsed successfully {"connection_id":145467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:11:08] local.INFO: Passing IMEI to GPS processor {"connection_id":145467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:11:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":145467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18: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-07-27 18:11:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:11:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:11:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999940864001,"66":27995,"231":206,"83":17920,"24":27,"16":359215057294327808,"45":-6550415264146714624},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,83,24,16,45]} 
[2026-07-27 18:11:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:11:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:11:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999940864001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:11:08] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-07-27 18:11:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":17920,"description":"Unknown IO ID 83"} 
[2026-07-27 18:11:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359215057294327808,"km_value":359215057294327.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:11:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6550415264146714624,"description":"Unknown IO ID 45"} 
[2026-07-27 18:11:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999940864001,"power":27995,"unknown_231":206,"unknown_83":17920,"ignition":27,"odometer":null,"unknown_45":-6550415264146714624}} 
[2026-07-27 18:11:08] local.INFO: DEBUG: GPS processor result {"connection_id":145467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:11:08] local.INFO: GPS data processed {"connection_id":145467,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:11:08] local.INFO: Acknowledgment sent {"connection_id":145467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:11:10] local.INFO: TCP Data received {"connection_id":145468,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa395bfc0012d1967c0071fee200046011629..."} 
[2026-07-27 18:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa395bfc0012d1967c0071fee200046011629..."} 
[2026-07-27 18:11:10] local.INFO: Processing buffer {"connection_id":145468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa395bfc0012d1967c0071fee200046011629..."} 
[2026-07-27 18:11:10] local.INFO: Packet analysis {"connection_id":145468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa395"} 
[2026-07-27 18:11:10] local.INFO: Extracted packet for processing {"connection_id":145468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa395"} 
[2026-07-27 18:11:10] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 18:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:11:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999912192001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:11:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 18:11:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 18:11:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:11:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785155928000,"timestamp_ms":1785155928000,"timestamp_seconds":1785155928,"priority":1,"record_length":96,"hex_timestamp":"0000019fa395bfc0"} 
[2026-07-27 18:11:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:11:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-27 18:11:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:11:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:11:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:11:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:11:10] local.INFO: Teltonika packet parsed successfully {"connection_id":145468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:11:10] local.INFO: Passing IMEI to GPS processor {"connection_id":145468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:11:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":145468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:11:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:11:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:11:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:11:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999912192001,"66":12798,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:11:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:11:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:11:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999912192001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:11:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:11:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:11:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:11:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 18:11:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999912192001,"power":12798,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 18:11:10] local.INFO: DEBUG: GPS processor result {"connection_id":145468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554658,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:11:10] local.INFO: GPS data processed {"connection_id":145468,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:11:10] local.INFO: Acknowledgment sent {"connection_id":145468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:11:13] local.INFO: TCP Data received {"connection_id":144182,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144182,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:11:13] local.INFO: Processing buffer {"connection_id":144182,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:11:13] local.INFO: IMEI packet received {"connection_id":144182,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 18:11:13] local.INFO: IMEI acknowledgment sent {"connection_id":144182,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:11:13] local.INFO: TCP Data received {"connection_id":144182,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3956db8012d80ad0005d35d280006000b29..."} 
[2026-07-27 18:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144182,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3956db8012d80ad0005d35d280006000b29..."} 
[2026-07-27 18:11:13] local.INFO: Processing buffer {"connection_id":144182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3956db8012d80ad0005d35d280006000b29..."} 
[2026-07-27 18:11:13] local.INFO: Packet analysis {"connection_id":144182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa395"} 
[2026-07-27 18:11:13] local.INFO: Extracted packet for processing {"connection_id":144182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa395"} 
[2026-07-27 18:11:13] local.INFO: GPS Element Parsed {"raw_longitude":763407616,"raw_latitude":97738024,"longitude_deg":76.3407616,"latitude_deg":9.7738024,"altitude":6,"angle":11,"satellites":41,"speed":0,"hex_longitude":"2d80ad00","hex_latitude":"05d35d28","is_valid_coordinates":true} 
[2026-07-27 18:11:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:11:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999906816001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:11:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111774518128672768,"note":"Value kept but may cause issues"} 
[2026-07-27 18:11:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9174676840862898176,"note":"Value kept but may cause issues"} 
[2026-07-27 18:11:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:11:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785155907000,"timestamp_ms":1785155907000,"timestamp_seconds":1785155907,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3956db8"} 
[2026-07-27 18:11:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:11:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:11:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-27 18:11:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:11:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:11:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:11:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:11:13] local.INFO: Teltonika packet parsed successfully {"connection_id":144182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:11:13] local.INFO: Passing IMEI to GPS processor {"connection_id":144182,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:11:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":144182,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:11: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-07-27 18:11:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 18:11:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 18:11:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999906816001,"66":13124,"167":206,"85":15104,"24":0,"16":111774518128672768,"45":-9174676840862898176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-27 18:11:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 18:11:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 18:11:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999906816001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:11:13] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-27 18:11:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 18:11:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111774518128672768,"km_value":111774518128672.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:11:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9174676840862898176,"description":"Unknown IO ID 45"} 
[2026-07-27 18:11:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999906816001,"power":13124,"unknown_167":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9174676840862898176}} 
[2026-07-27 18:11:13] local.INFO: DEBUG: GPS processor result {"connection_id":144182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554659,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:11:13] local.INFO: GPS data processed {"connection_id":144182,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:11:13] local.INFO: Acknowledgment sent {"connection_id":144182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:11:28] local.INFO: TCP Data received {"connection_id":144183,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:11:28] local.INFO: Processing buffer {"connection_id":144183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:11:28] local.INFO: IMEI packet received {"connection_id":144183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 18:11:28] local.INFO: IMEI acknowledgment sent {"connection_id":144183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:11:29] local.INFO: TCP Data received {"connection_id":144183,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:11:29] local.INFO: Processing buffer {"connection_id":144183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:11:29] local.INFO: IMEI packet received {"connection_id":144183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 18:11:29] local.INFO: IMEI acknowledgment sent {"connection_id":144183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:11:31] local.INFO: TCP Data received {"connection_id":144183,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:11:31] local.INFO: Processing buffer {"connection_id":144183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:11:31] local.INFO: IMEI packet received {"connection_id":144183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 18:11:31] local.INFO: IMEI acknowledgment sent {"connection_id":144183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:11:32] local.INFO: TCP Data received {"connection_id":144183,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:11:32] local.INFO: Processing buffer {"connection_id":144183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:11:32] local.INFO: IMEI packet received {"connection_id":144183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 18:11:32] local.INFO: IMEI acknowledgment sent {"connection_id":144183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:11:42] local.INFO: TCP Data received {"connection_id":145468,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa39611c8012d1967c0071fee200046011629..."} 
[2026-07-27 18:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa39611c8012d1967c0071fee200046011629..."} 
[2026-07-27 18:11:42] local.INFO: Processing buffer {"connection_id":145468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa39611c8012d1967c0071fee200046011629..."} 
[2026-07-27 18:11:42] local.INFO: Packet analysis {"connection_id":145468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa396"} 
[2026-07-27 18:11:42] local.INFO: Extracted packet for processing {"connection_id":145468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa396"} 
[2026-07-27 18:11:42] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 18:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:11:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999917568001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:11:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 18:11:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 18:11:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:11:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785155949000,"timestamp_ms":1785155949000,"timestamp_seconds":1785155949,"priority":1,"record_length":96,"hex_timestamp":"0000019fa39611c8"} 
[2026-07-27 18:11:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:11:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-27 18:11:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:11:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:11:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:11:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:11:42] local.INFO: Teltonika packet parsed successfully {"connection_id":145468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:11:42] local.INFO: Passing IMEI to GPS processor {"connection_id":145468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:11:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":145468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:11:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:11:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:11:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:11:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999917568001,"66":12841,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:11:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:11:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:11:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999917568001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:11:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:11:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:11:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:11:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 18:11:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999917568001,"power":12841,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 18:11:42] local.INFO: DEBUG: GPS processor result {"connection_id":145468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554660,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:11:42] local.INFO: GPS data processed {"connection_id":145468,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:11:42] local.INFO: Acknowledgment sent {"connection_id":145468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:11:45] local.INFO: TCP Data received {"connection_id":144182,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fa395bfc0012d80ad0005d35d280006000b2a..."} 
[2026-07-27 18:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144182,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa395bfc0012d80ad0005d35d280006000b2a..."} 
[2026-07-27 18:11:45] local.INFO: Processing buffer {"connection_id":144182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa395bfc0012d80ad0005d35d280006000b2a..."} 
[2026-07-27 18:11:45] local.INFO: Packet analysis {"connection_id":144182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa395"} 
[2026-07-27 18:11:45] local.INFO: Extracted packet for processing {"connection_id":144182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa395"} 
[2026-07-27 18:11:45] local.INFO: GPS Element Parsed {"raw_longitude":763407616,"raw_latitude":97738024,"longitude_deg":76.3407616,"latitude_deg":9.7738024,"altitude":6,"angle":11,"satellites":42,"speed":0,"hex_longitude":"2d80ad00","hex_latitude":"05d35d28","is_valid_coordinates":true} 
[2026-07-27 18: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-07-27 18:11:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999912192001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:11:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111774518128672768,"note":"Value kept but may cause issues"} 
[2026-07-27 18:11:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9174676840862898176,"note":"Value kept but may cause issues"} 
[2026-07-27 18:11:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:11:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785155928000,"timestamp_ms":1785155928000,"timestamp_seconds":1785155928,"priority":1,"record_length":96,"hex_timestamp":"0000019fa395bfc0"} 
[2026-07-27 18:11:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:11: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-07-27 18: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":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-07-27 18:11:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1065,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18: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-07-27 18:11:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:11:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:11:45] local.INFO: Teltonika packet parsed successfully {"connection_id":144182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:11:45] local.INFO: Passing IMEI to GPS processor {"connection_id":144182,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:11:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":144182,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:11:45] 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-07-27 18:11:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 18:11:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 18:11:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999912192001,"66":13189,"167":206,"85":15104,"24":0,"16":111774518128672768,"45":-9174676840862898176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-27 18:11:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 18:11:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 18:11:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999912192001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:11:45] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-27 18:11:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 18:11:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111774518128672768,"km_value":111774518128672.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:11:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9174676840862898176,"description":"Unknown IO ID 45"} 
[2026-07-27 18:11:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999912192001,"power":13189,"unknown_167":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9174676840862898176}} 
[2026-07-27 18:11:45] local.INFO: DEBUG: GPS processor result {"connection_id":144182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554661,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:11:45] local.INFO: GPS data processed {"connection_id":144182,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:11:45] local.INFO: Acknowledgment sent {"connection_id":144182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:11:59] local.INFO: TCP Data received {"connection_id":143201,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143201,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:11:59] local.INFO: Processing buffer {"connection_id":143201,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:11:59] local.INFO: IMEI packet received {"connection_id":143201,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 18:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":143201,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:12:04] local.INFO: TCP Data received {"connection_id":143201,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143201,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:12:04] local.INFO: Processing buffer {"connection_id":143201,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:12:04] local.INFO: IMEI packet received {"connection_id":143201,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 18:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":143201,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:12:06] local.INFO: TCP Data received {"connection_id":143201,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa39663d0012d1967c0071fee200046011627..."} 
[2026-07-27 18:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa39663d0012d1967c0071fee200046011627..."} 
[2026-07-27 18:12:06] local.INFO: Processing buffer {"connection_id":143201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa39663d0012d1967c0071fee200046011627..."} 
[2026-07-27 18:12:06] local.INFO: Packet analysis {"connection_id":143201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa396"} 
[2026-07-27 18:12:06] local.INFO: Extracted packet for processing {"connection_id":143201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa396"} 
[2026-07-27 18:12:06] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 18:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:12:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999922944001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:12:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 18:12:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 18:12:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:12:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785155970000,"timestamp_ms":1785155970000,"timestamp_seconds":1785155970,"priority":1,"record_length":96,"hex_timestamp":"0000019fa39663d0"} 
[2026-07-27 18:12:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:12:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-27 18:12:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:12:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:12:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:12:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:12:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:12:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143201,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:12:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143201,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:12:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:12:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:12:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:12:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999922944001,"66":12809,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:12:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:12:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:12:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999922944001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:12:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:12:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:12:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:12:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 18:12:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999922944001,"power":12809,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 18:12:06] local.INFO: DEBUG: GPS processor result {"connection_id":143201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554662,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:12:06] local.INFO: GPS data processed {"connection_id":143201,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:12:06] local.INFO: Acknowledgment sent {"connection_id":143201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:12:08] local.INFO: TCP Data received {"connection_id":143061,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143061,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:12:08] local.INFO: Processing buffer {"connection_id":143061,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:12:08] local.INFO: IMEI packet received {"connection_id":143061,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 18:12:08] local.INFO: IMEI acknowledgment sent {"connection_id":143061,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:12:13] local.INFO: TCP Data received {"connection_id":143061,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143061,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:12:13] local.INFO: Processing buffer {"connection_id":143061,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:12:13] local.INFO: IMEI packet received {"connection_id":143061,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 18:12:13] local.INFO: IMEI acknowledgment sent {"connection_id":143061,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:12:13] local.INFO: TCP Data received {"connection_id":143061,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fa395eab8012d80ad0005d35d280006000b29..."} 
[2026-07-27 18:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa395eab8012d80ad0005d35d280006000b29..."} 
[2026-07-27 18:12:13] local.INFO: Processing buffer {"connection_id":143061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa395eab8012d80ad0005d35d280006000b29..."} 
[2026-07-27 18:12:13] local.INFO: Packet analysis {"connection_id":143061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa395"} 
[2026-07-27 18:12:13] local.INFO: Extracted packet for processing {"connection_id":143061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa395"} 
[2026-07-27 18:12:13] local.INFO: GPS Element Parsed {"raw_longitude":763407616,"raw_latitude":97738024,"longitude_deg":76.3407616,"latitude_deg":9.7738024,"altitude":6,"angle":11,"satellites":41,"speed":0,"hex_longitude":"2d80ad00","hex_latitude":"05d35d28","is_valid_coordinates":true} 
[2026-07-27 18:12:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:12:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999917568001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:12:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111774518128672768,"note":"Value kept but may cause issues"} 
[2026-07-27 18:12:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9174676840862898176,"note":"Value kept but may cause issues"} 
[2026-07-27 18:12:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:12:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785155939000,"timestamp_ms":1785155939000,"timestamp_seconds":1785155939,"priority":1,"record_length":96,"hex_timestamp":"0000019fa395eab8"} 
[2026-07-27 18:12:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:12:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:12:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-27 18:12:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:12:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:12:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:12:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:12:13] local.INFO: Teltonika packet parsed successfully {"connection_id":143061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:12:13] local.INFO: Passing IMEI to GPS processor {"connection_id":143061,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:12:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":143061,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:12: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-07-27 18:12:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 18:12:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 18:12:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999917568001,"66":13059,"167":206,"85":15104,"24":0,"16":111774518128672768,"45":-9174676840862898176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-27 18:12:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 18:12:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 18:12:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999917568001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:12:13] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-27 18:12:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 18:12:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111774518128672768,"km_value":111774518128672.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:12:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9174676840862898176,"description":"Unknown IO ID 45"} 
[2026-07-27 18:12:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999917568001,"power":13059,"unknown_167":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9174676840862898176}} 
[2026-07-27 18:12:13] local.INFO: DEBUG: GPS processor result {"connection_id":143061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554663,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:12:13] local.INFO: GPS data processed {"connection_id":143061,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:12:13] local.INFO: Acknowledgment sent {"connection_id":143061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:12:39] local.INFO: TCP Data received {"connection_id":143201,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa396b5d8012d1967c0071fee200046011625..."} 
[2026-07-27 18:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa396b5d8012d1967c0071fee200046011625..."} 
[2026-07-27 18:12:39] local.INFO: Processing buffer {"connection_id":143201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa396b5d8012d1967c0071fee200046011625..."} 
[2026-07-27 18:12:39] local.INFO: Packet analysis {"connection_id":143201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa396"} 
[2026-07-27 18:12:39] local.INFO: Extracted packet for processing {"connection_id":143201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa396"} 
[2026-07-27 18:12:39] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":37,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 18:12:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:12:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999928320001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:12:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 18:12:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 18:12:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:12:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785155991000,"timestamp_ms":1785155991000,"timestamp_seconds":1785155991,"priority":1,"record_length":96,"hex_timestamp":"0000019fa396b5d8"} 
[2026-07-27 18:12:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:12:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-07-27 18:12:39] local.WARNING: Large IO value detected {"io_id":222,"raw_value":2684354560,"note":"Value kept but may cause issues"} 
[2026-07-27 18:12:39] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2744416160,"note":"Value kept but may cause issues"} 
[2026-07-27 18:12:39] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-27 18:12:39] local.WARNING: Large IO value detected {"io_id":163,"raw_value":-7771638451138893888,"note":"Value kept but may cause issues"} 
[2026-07-27 18:12:39] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3735027712,"note":"Value kept but may cause issues"} 
[2026-07-27 18:12:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-27 18:12:39] local.WARNING: Large IO value detected {"io_id":201,"raw_value":2818649369,"note":"Value kept but may cause issues"} 
[2026-07-27 18:12:39] local.WARNING: Large IO value detected {"io_id":103,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-07-27 18:12:39] local.WARNING: Large IO value detected {"io_id":50,"raw_value":4539854818440695324,"note":"Value kept but may cause issues"} 
[2026-07-27 18:12:39] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2300811645179467299,"note":"Value kept but may cause issues"} 
[2026-07-27 18:12:39] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-07-27 18:12:39] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,121,28,24,241,158,16,222,159,17,45,192,238,70,41,10,66,191,109,1,240,63,163,31,4,113,205,201,103,32,37,239,50,2,7,124,160],"length":535,"final_offset":665,"validated_count":37,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-07-27 18:12:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5044337414391201792,"timestamp_seconds":5044337414391202.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 18:12:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:12:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:12:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:12:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143201,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:12:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143201,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:12:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:12:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:12:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:12:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999928320001,"66":12743,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:12:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:12:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:12:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999928320001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:12:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:12:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:12:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:12:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 18:12:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999928320001,"power":12743,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 18:12:39] local.INFO: DEBUG: GPS processor result {"connection_id":143201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554664,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:12:39] local.INFO: GPS data processed {"connection_id":143201,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:12:39] local.INFO: Acknowledgment sent {"connection_id":143201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:12:44] local.INFO: TCP Data received {"connection_id":143061,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fa395eab8012d80ad0005d35d280006000b29..."} 
[2026-07-27 18:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa395eab8012d80ad0005d35d280006000b29..."} 
[2026-07-27 18:12:44] local.INFO: Processing buffer {"connection_id":143061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa395eab8012d80ad0005d35d280006000b29..."} 
[2026-07-27 18:12:44] local.INFO: Packet analysis {"connection_id":143061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa395"} 
[2026-07-27 18:12:44] local.INFO: Extracted packet for processing {"connection_id":143061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa395"} 
[2026-07-27 18:12:44] local.INFO: GPS Element Parsed {"raw_longitude":763407616,"raw_latitude":97738024,"longitude_deg":76.3407616,"latitude_deg":9.7738024,"altitude":6,"angle":11,"satellites":41,"speed":0,"hex_longitude":"2d80ad00","hex_latitude":"05d35d28","is_valid_coordinates":true} 
[2026-07-27 18:12:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:12:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999920384001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:12:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111774518128672768,"note":"Value kept but may cause issues"} 
[2026-07-27 18:12:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9174676840862898176,"note":"Value kept but may cause issues"} 
[2026-07-27 18:12:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:12:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785155939000,"timestamp_ms":1785155939000,"timestamp_seconds":1785155939,"priority":1,"record_length":96,"hex_timestamp":"0000019fa395eab8"} 
[2026-07-27 18:12:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:12:44] 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-07-27 18: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-27 18:12:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303161721015671,"note":"Value kept but may cause issues"} 
[2026-07-27 18:12:44] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-27 18:12:44] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2744395160,"note":"Value kept but may cause issues"} 
[2026-07-27 18:12:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2158821381,"note":"Value kept but may cause issues"} 
[2026-07-27 18:12:44] local.WARNING: Large IO value detected {"io_id":163,"raw_value":2496243713,"note":"Value kept but may cause issues"} 
[2026-07-27 18:12:44] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2795962574,"corrected_to":0} 
[2026-07-27 18:12:44] local.WARNING: Large IO value detected {"io_id":119,"raw_value":2684431744,"note":"Value kept but may cause issues"} 
[2026-07-27 18:12:44] local.WARNING: Large IO value detected {"io_id":207,"raw_value":58077557095399424,"note":"Value kept but may cause issues"} 
[2026-07-27 18:12:44] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3546097664,"note":"Value kept but may cause issues"} 
[2026-07-27 18:12:44] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,167,85,24,241,157,16,26,159,191,45,93,6,42,10,66,109,41,27,1,240,187,227,163,211,4,113,205,119,173,40,39,239,50,207,2,141,5],"length":486,"final_offset":616,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2795962574,"validated":0}]} 
[2026-07-27 18:12:44] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432357834949132527,"timestamp_seconds":432357834949132.56,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 18:12:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:12:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:12:44] local.INFO: Teltonika packet parsed successfully {"connection_id":143061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:12:44] local.INFO: Passing IMEI to GPS processor {"connection_id":143061,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:12:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":143061,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:12: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-07-27 18:12:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 18:12:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 18:12:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999920384001,"66":13059,"167":206,"85":15104,"24":0,"16":111774518128672768,"45":-9174676840862898176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-27 18:12:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 18:12:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 18:12:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999920384001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:12:44] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-27 18:12:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 18:12:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111774518128672768,"km_value":111774518128672.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:12:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9174676840862898176,"description":"Unknown IO ID 45"} 
[2026-07-27 18:12:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999920384001,"power":13059,"unknown_167":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9174676840862898176}} 
[2026-07-27 18:12:44] local.INFO: DEBUG: GPS processor result {"connection_id":143061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554665,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:12:44] local.INFO: GPS data processed {"connection_id":143061,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:12:44] local.INFO: Acknowledgment sent {"connection_id":143061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:12:59] local.INFO: TCP Data received {"connection_id":143202,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143202,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:12:59] local.INFO: Processing buffer {"connection_id":143202,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:12:59] local.INFO: IMEI packet received {"connection_id":143202,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 18:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":143202,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:13:04] local.INFO: TCP Data received {"connection_id":143202,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143202,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:13:04] local.INFO: Processing buffer {"connection_id":143202,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:13:04] local.INFO: IMEI packet received {"connection_id":143202,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 18:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":143202,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:13:06] local.INFO: TCP Data received {"connection_id":143202,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa39707e0012d1967c0071fee200046011627..."} 
[2026-07-27 18:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa39707e0012d1967c0071fee200046011627..."} 
[2026-07-27 18:13:06] local.INFO: Processing buffer {"connection_id":143202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa39707e0012d1967c0071fee200046011627..."} 
[2026-07-27 18:13:06] local.INFO: Packet analysis {"connection_id":143202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa397"} 
[2026-07-27 18:13:06] local.INFO: Extracted packet for processing {"connection_id":143202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa397"} 
[2026-07-27 18:13:06] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 18:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:13:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999933696001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:13:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 18:13:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 18:13:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:13:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785156012000,"timestamp_ms":1785156012000,"timestamp_seconds":1785156012,"priority":1,"record_length":96,"hex_timestamp":"0000019fa39707e0"} 
[2026-07-27 18:13:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:13:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-07-27 18:13:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:13:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:13:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:13:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:13:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:13:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143202,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:13:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143202,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:13:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:13:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:13:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:13:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999933696001,"66":11863,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:13:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:13:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:13:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999933696001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:13:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:13:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:13:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:13:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 18:13:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999933696001,"power":11863,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 18:13:06] local.INFO: DEBUG: GPS processor result {"connection_id":143202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554666,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:13:06] local.INFO: GPS data processed {"connection_id":143202,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:13:06] local.INFO: Acknowledgment sent {"connection_id":143202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:13:08] local.INFO: TCP Data received {"connection_id":143203,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143203,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:13:08] local.INFO: Processing buffer {"connection_id":143203,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:13:08] local.INFO: IMEI packet received {"connection_id":143203,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 18:13:08] local.INFO: IMEI acknowledgment sent {"connection_id":143203,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:13:13] local.INFO: TCP Data received {"connection_id":143203,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143203,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:13:13] local.INFO: Processing buffer {"connection_id":143203,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:13:13] local.INFO: IMEI packet received {"connection_id":143203,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 18:13:13] local.INFO: IMEI acknowledgment sent {"connection_id":143203,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:13:13] local.INFO: TCP Data received {"connection_id":143203,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fa395f670012d80ad0005d35d280006000b29..."} 
[2026-07-27 18:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143203,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa395f670012d80ad0005d35d280006000b29..."} 
[2026-07-27 18:13:13] local.INFO: Processing buffer {"connection_id":143203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa395f670012d80ad0005d35d280006000b29..."} 
[2026-07-27 18:13:13] local.INFO: Packet analysis {"connection_id":143203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa395"} 
[2026-07-27 18:13:13] local.INFO: Extracted packet for processing {"connection_id":143203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa395"} 
[2026-07-27 18:13:13] local.INFO: GPS Element Parsed {"raw_longitude":763407616,"raw_latitude":97738024,"longitude_deg":76.3407616,"latitude_deg":9.7738024,"altitude":6,"angle":11,"satellites":41,"speed":0,"hex_longitude":"2d80ad00","hex_latitude":"05d35d28","is_valid_coordinates":true} 
[2026-07-27 18:13:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:13:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999920384001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:13:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111774518128672768,"note":"Value kept but may cause issues"} 
[2026-07-27 18:13:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9174676840862898176,"note":"Value kept but may cause issues"} 
[2026-07-27 18:13:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:13:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785155942000,"timestamp_ms":1785155942000,"timestamp_seconds":1785155942,"priority":1,"record_length":96,"hex_timestamp":"0000019fa395f670"} 
[2026-07-27 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-07-27 18:13:13] 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-07-27 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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-27 18:13:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303159539977591,"note":"Value kept but may cause issues"} 
[2026-07-27 18:13:13] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-27 18:13:13] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2744416160,"note":"Value kept but may cause issues"} 
[2026-07-27 18:13:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2158821381,"note":"Value kept but may cause issues"} 
[2026-07-27 18:13:13] local.WARNING: Large IO value detected {"io_id":163,"raw_value":2501619713,"note":"Value kept but may cause issues"} 
[2026-07-27 18:13:13] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2795962574,"corrected_to":0} 
[2026-07-27 18:13:13] local.WARNING: Large IO value detected {"io_id":201,"raw_value":2818649472,"note":"Value kept but may cause issues"} 
[2026-07-27 18:13:13] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3321941414,"note":"Value kept but may cause issues"} 
[2026-07-27 18:13:13] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3546097664,"note":"Value kept but may cause issues"} 
[2026-07-27 18:13:13] local.WARNING: Large IO value detected {"io_id":207,"raw_value":58077557095399424,"note":"Value kept but may cause issues"} 
[2026-07-27 18:13:13] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,167,85,24,241,157,16,26,159,234,45,93,6,41,10,66,191,42,109,1,240,68,227,163,211,4,113,205,201,173,40,39,239,51,2,141,5,207],"length":486,"final_offset":616,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2795962574,"validated":0}]} 
[2026-07-27 18:13:13] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432357834949132528,"timestamp_seconds":432357834949132.56,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 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-07-27 18:13:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:13:13] local.INFO: Teltonika packet parsed successfully {"connection_id":143203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:13:13] local.INFO: Passing IMEI to GPS processor {"connection_id":143203,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:13:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":143203,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:13: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-07-27 18:13:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 18:13:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 18:13:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999920384001,"66":12841,"167":206,"85":15104,"24":0,"16":111774518128672768,"45":-9174676840862898176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-27 18:13:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 18:13:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 18:13:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999920384001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:13:13] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-27 18:13:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 18:13:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111774518128672768,"km_value":111774518128672.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:13:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9174676840862898176,"description":"Unknown IO ID 45"} 
[2026-07-27 18:13:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999920384001,"power":12841,"unknown_167":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9174676840862898176}} 
[2026-07-27 18:13:13] local.INFO: DEBUG: GPS processor result {"connection_id":143203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554667,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:13:13] local.INFO: GPS data processed {"connection_id":143203,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:13:13] local.INFO: Acknowledgment sent {"connection_id":143203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:13:37] local.INFO: TCP Data received {"connection_id":143202,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa39759e8012d1967c0071fee200046011626..."} 
[2026-07-27 18:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa39759e8012d1967c0071fee200046011626..."} 
[2026-07-27 18:13:37] local.INFO: Processing buffer {"connection_id":143202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa39759e8012d1967c0071fee200046011626..."} 
[2026-07-27 18:13:37] local.INFO: Packet analysis {"connection_id":143202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa397"} 
[2026-07-27 18:13:37] local.INFO: Extracted packet for processing {"connection_id":143202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa397"} 
[2026-07-27 18:13:37] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":38,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 18:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:13:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999939072001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:13:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 18:13:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 18:13:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:13:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785156033000,"timestamp_ms":1785156033000,"timestamp_seconds":1785156033,"priority":1,"record_length":96,"hex_timestamp":"0000019fa39759e8"} 
[2026-07-27 18:13:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:13:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-07-27 18:13:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1211,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:13:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:13:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:13:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:13:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:13:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143202,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:13:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143202,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:13:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:13:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:13:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:13:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999939072001,"66":12145,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:13:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:13:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:13:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999939072001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:13:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:13:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:13:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:13:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 18:13:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999939072001,"power":12145,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 18:13:38] local.INFO: DEBUG: GPS processor result {"connection_id":143202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554668,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:13:38] local.INFO: GPS data processed {"connection_id":143202,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:13:38] local.INFO: Acknowledgment sent {"connection_id":143202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:13:44] local.INFO: TCP Data received {"connection_id":143203,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fa395f670012d80ad0005d35d280006000b29..."} 
[2026-07-27 18:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143203,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa395f670012d80ad0005d35d280006000b29..."} 
[2026-07-27 18:13:44] local.INFO: Processing buffer {"connection_id":143203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa395f670012d80ad0005d35d280006000b29..."} 
[2026-07-27 18:13:44] local.INFO: Packet analysis {"connection_id":143203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa395"} 
[2026-07-27 18:13:44] local.INFO: Extracted packet for processing {"connection_id":143203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa395"} 
[2026-07-27 18:13:44] local.INFO: GPS Element Parsed {"raw_longitude":763407616,"raw_latitude":97738024,"longitude_deg":76.3407616,"latitude_deg":9.7738024,"altitude":6,"angle":11,"satellites":41,"speed":0,"hex_longitude":"2d80ad00","hex_latitude":"05d35d28","is_valid_coordinates":true} 
[2026-07-27 18:13:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:13:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999921152001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:13:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111774518128672768,"note":"Value kept but may cause issues"} 
[2026-07-27 18:13:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9174676840862898176,"note":"Value kept but may cause issues"} 
[2026-07-27 18:13:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:13:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785155942000,"timestamp_ms":1785155942000,"timestamp_seconds":1785155942,"priority":1,"record_length":96,"hex_timestamp":"0000019fa395f670"} 
[2026-07-27 18:13:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:13:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 18:13:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-27 18:13:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:13:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:13:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:13:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:13:44] local.INFO: Teltonika packet parsed successfully {"connection_id":143203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:13:44] local.INFO: Passing IMEI to GPS processor {"connection_id":143203,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:13:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":143203,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:13: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-07-27 18:13:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 18:13:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 18:13:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999921152001,"66":12841,"167":206,"85":15104,"24":0,"16":111774518128672768,"45":-9174676840862898176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-27 18:13:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 18:13:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 18:13:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999921152001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:13:44] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-27 18:13:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 18:13:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111774518128672768,"km_value":111774518128672.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:13:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9174676840862898176,"description":"Unknown IO ID 45"} 
[2026-07-27 18:13:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999921152001,"power":12841,"unknown_167":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9174676840862898176}} 
[2026-07-27 18:13:44] local.INFO: DEBUG: GPS processor result {"connection_id":143203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554669,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:13:44] local.INFO: GPS data processed {"connection_id":143203,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:13:44] local.INFO: Acknowledgment sent {"connection_id":143203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:14:04] local.INFO: TCP Data received {"connection_id":143204,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143204,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:14:04] local.INFO: Processing buffer {"connection_id":143204,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:14:04] local.INFO: IMEI packet received {"connection_id":143204,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 18:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":143204,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:14:07] local.INFO: TCP Data received {"connection_id":144186,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144186,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:14:07] local.INFO: Processing buffer {"connection_id":144186,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:14:07] local.INFO: IMEI packet received {"connection_id":144186,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 18:14:07] local.INFO: IMEI acknowledgment sent {"connection_id":144186,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:14:09] local.INFO: TCP Data received {"connection_id":143204,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143204,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:14:09] local.INFO: Processing buffer {"connection_id":143204,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:14:09] local.INFO: IMEI packet received {"connection_id":143204,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 18:14:09] local.INFO: IMEI acknowledgment sent {"connection_id":143204,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:14:11] local.INFO: TCP Data received {"connection_id":143204,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa397abf0012d1967c0071fee200046011627..."} 
[2026-07-27 18:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa397abf0012d1967c0071fee200046011627..."} 
[2026-07-27 18:14:11] local.INFO: Processing buffer {"connection_id":143204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa397abf0012d1967c0071fee200046011627..."} 
[2026-07-27 18:14:11] local.INFO: Packet analysis {"connection_id":143204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa397"} 
[2026-07-27 18:14:11] local.INFO: Extracted packet for processing {"connection_id":143204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa397"} 
[2026-07-27 18:14:11] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 18:14:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:14:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999944448001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:14:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 18:14:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 18:14:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:14:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785156054000,"timestamp_ms":1785156054000,"timestamp_seconds":1785156054,"priority":1,"record_length":96,"hex_timestamp":"0000019fa397abf0"} 
[2026-07-27 18:14:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:14:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:14:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-27 18:14:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1450,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:14:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:14:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:14:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:14:11] local.INFO: Teltonika packet parsed successfully {"connection_id":143204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:14:11] local.INFO: Passing IMEI to GPS processor {"connection_id":143204,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:14:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":143204,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:14:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:14:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:14:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:14:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999944448001,"66":12232,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:14:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:14:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:14:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999944448001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:14:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:14:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:14:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:14:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 18:14:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999944448001,"power":12232,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 18:14:11] local.INFO: DEBUG: GPS processor result {"connection_id":143204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554670,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:14:11] local.INFO: GPS data processed {"connection_id":143204,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:14:11] local.INFO: Acknowledgment sent {"connection_id":143204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:14:12] local.INFO: TCP Data received {"connection_id":144186,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144186,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:14:12] local.INFO: Processing buffer {"connection_id":144186,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:14:12] local.INFO: IMEI packet received {"connection_id":144186,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 18:14:12] local.INFO: IMEI acknowledgment sent {"connection_id":144186,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:14:17] local.INFO: TCP Data received {"connection_id":144186,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144186,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:14:17] local.INFO: Processing buffer {"connection_id":144186,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:14:17] local.INFO: IMEI packet received {"connection_id":144186,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 18:14:17] local.INFO: IMEI acknowledgment sent {"connection_id":144186,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:14:18] local.INFO: TCP Data received {"connection_id":144186,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa39a8668012d80aec005d35d280006000b28..."} 
[2026-07-27 18:14:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144186,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa39a8668012d80aec005d35d280006000b28..."} 
[2026-07-27 18:14:18] local.INFO: Processing buffer {"connection_id":144186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa39a8668012d80aec005d35d280006000b28..."} 
[2026-07-27 18:14:18] local.INFO: Packet analysis {"connection_id":144186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa39a"} 
[2026-07-27 18:14:18] local.INFO: Extracted packet for processing {"connection_id":144186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa39a"} 
[2026-07-27 18:14:18] local.INFO: GPS Element Parsed {"raw_longitude":763408064,"raw_latitude":97738024,"longitude_deg":76.3408064,"latitude_deg":9.7738024,"altitude":6,"angle":11,"satellites":40,"speed":0,"hex_longitude":"2d80aec0","hex_latitude":"05d35d28","is_valid_coordinates":true} 
[2026-07-27 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-07-27 18:14:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999921152001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:14:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111774518128672768,"note":"Value kept but may cause issues"} 
[2026-07-27 18:14:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9174676840862898176,"note":"Value kept but may cause issues"} 
[2026-07-27 18:14:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:14:18] local.INFO: AVL Record Parsed {"raw_timestamp":1785156241000,"timestamp_ms":1785156241000,"timestamp_seconds":1785156241,"priority":1,"record_length":96,"hex_timestamp":"0000019fa39a8668"} 
[2026-07-27 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-07-27 18:14:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-27 18:14: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-07-27 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-07-27 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-07-27 18:14:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:14:18] local.INFO: Teltonika packet parsed successfully {"connection_id":144186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:14:18] local.INFO: Passing IMEI to GPS processor {"connection_id":144186,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:14:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":144186,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:14:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:14:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 18:14:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 18:14:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999921152001,"66":2209,"167":206,"85":15104,"24":0,"16":111774518128672768,"45":-9174676840862898176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-27 18:14:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 18:14:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 18:14:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999921152001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:14:18] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-27 18:14:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 18:14:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111774518128672768,"km_value":111774518128672.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:14:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9174676840862898176,"description":"Unknown IO ID 45"} 
[2026-07-27 18:14:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999921152001,"power":2209,"unknown_167":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9174676840862898176}} 
[2026-07-27 18:14:18] local.INFO: DEBUG: GPS processor result {"connection_id":144186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554671,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:14:18] local.INFO: GPS data processed {"connection_id":144186,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:14:18] local.INFO: Acknowledgment sent {"connection_id":144186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:14:18] local.INFO: TCP Data received {"connection_id":143204,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa397fdf8012d1967c0071fee200046011627..."} 
[2026-07-27 18:14:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa397fdf8012d1967c0071fee200046011627..."} 
[2026-07-27 18:14:18] local.INFO: Processing buffer {"connection_id":143204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa397fdf8012d1967c0071fee200046011627..."} 
[2026-07-27 18:14:18] local.INFO: Packet analysis {"connection_id":143204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa397"} 
[2026-07-27 18:14:18] local.INFO: Extracted packet for processing {"connection_id":143204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa397"} 
[2026-07-27 18:14:18] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 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-07-27 18:14:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999949824001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:14:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 18:14:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 18:14: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-07-27 18:14:18] local.INFO: AVL Record Parsed {"raw_timestamp":1785156075000,"timestamp_ms":1785156075000,"timestamp_seconds":1785156075,"priority":1,"record_length":96,"hex_timestamp":"0000019fa397fdf8"} 
[2026-07-27 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-07-27 18:14:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-27 18:14: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-07-27 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-07-27 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-07-27 18:14:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:14:18] local.INFO: Teltonika packet parsed successfully {"connection_id":143204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:14:18] local.INFO: Passing IMEI to GPS processor {"connection_id":143204,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:14:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":143204,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:14:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:14:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:14:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:14:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999949824001,"66":12689,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:14:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:14:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:14:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999949824001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:14:18] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:14:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:14:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:14:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 18:14:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999949824001,"power":12689,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 18:14:18] local.INFO: DEBUG: GPS processor result {"connection_id":143204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554672,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:14:18] local.INFO: GPS data processed {"connection_id":143204,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:14:18] local.INFO: Acknowledgment sent {"connection_id":143204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:14:49] local.INFO: TCP Data received {"connection_id":144186,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa39a8668012d80aec005d35d280006000b28..."} 
[2026-07-27 18:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144186,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa39a8668012d80aec005d35d280006000b28..."} 
[2026-07-27 18:14:49] local.INFO: Processing buffer {"connection_id":144186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa39a8668012d80aec005d35d280006000b28..."} 
[2026-07-27 18:14:49] local.INFO: Packet analysis {"connection_id":144186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa39a"} 
[2026-07-27 18:14:49] local.INFO: Extracted packet for processing {"connection_id":144186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa39a"} 
[2026-07-27 18:14:49] local.INFO: GPS Element Parsed {"raw_longitude":763408064,"raw_latitude":97738024,"longitude_deg":76.3408064,"latitude_deg":9.7738024,"altitude":6,"angle":11,"satellites":40,"speed":0,"hex_longitude":"2d80aec0","hex_latitude":"05d35d28","is_valid_coordinates":true} 
[2026-07-27 18: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-07-27 18:14:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999921152001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:14:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111774518128672768,"note":"Value kept but may cause issues"} 
[2026-07-27 18:14:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9174676840862898176,"note":"Value kept but may cause issues"} 
[2026-07-27 18:14:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:14:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785156241000,"timestamp_ms":1785156241000,"timestamp_seconds":1785156241,"priority":1,"record_length":96,"hex_timestamp":"0000019fa39a8668"} 
[2026-07-27 18:14:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:14:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 18: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-27 18:14: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-07-27 18: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-07-27 18:14:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:14:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:14:49] local.INFO: Teltonika packet parsed successfully {"connection_id":144186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:14:49] local.INFO: Passing IMEI to GPS processor {"connection_id":144186,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:14:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":144186,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:14:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:14:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 18:14:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 18:14:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999921152001,"66":2209,"167":206,"85":15104,"24":0,"16":111774518128672768,"45":-9174676840862898176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-27 18:14:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 18:14:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 18:14:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999921152001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:14:49] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-27 18:14:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 18:14:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111774518128672768,"km_value":111774518128672.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:14:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9174676840862898176,"description":"Unknown IO ID 45"} 
[2026-07-27 18:14:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999921152001,"power":2209,"unknown_167":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9174676840862898176}} 
[2026-07-27 18:14:49] local.INFO: DEBUG: GPS processor result {"connection_id":144186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554673,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:14:49] local.INFO: GPS data processed {"connection_id":144186,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:14:49] local.INFO: Acknowledgment sent {"connection_id":144186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:15:00] local.INFO: TCP Data received {"connection_id":143062,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143062,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:15:00] local.INFO: Processing buffer {"connection_id":143062,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:15:00] local.INFO: IMEI packet received {"connection_id":143062,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 18:15:00] local.INFO: IMEI acknowledgment sent {"connection_id":143062,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:15:03] local.INFO: TCP Data received {"connection_id":143062,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143062,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:15:03] local.INFO: Processing buffer {"connection_id":143062,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:15:03] local.INFO: IMEI packet received {"connection_id":143062,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 18:15:03] local.INFO: IMEI acknowledgment sent {"connection_id":143062,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:15:03] local.INFO: TCP Data received {"connection_id":143062,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3985000012d1967c0071fee200046011627..."} 
[2026-07-27 18:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3985000012d1967c0071fee200046011627..."} 
[2026-07-27 18:15:03] local.INFO: Processing buffer {"connection_id":143062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3985000012d1967c0071fee200046011627..."} 
[2026-07-27 18:15:03] local.INFO: Packet analysis {"connection_id":143062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa398"} 
[2026-07-27 18:15:03] local.INFO: Extracted packet for processing {"connection_id":143062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa398"} 
[2026-07-27 18:15:03] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 18:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:15:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999955200001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:15:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 18:15:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 18:15:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:15:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785156096000,"timestamp_ms":1785156096000,"timestamp_seconds":1785156096,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3985000"} 
[2026-07-27 18:15:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:15:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-27 18:15: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-07-27 18:15:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:15:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:15:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:15:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:15:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:15:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:15:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:15:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:15:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:15:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999955200001,"66":12722,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:15:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:15:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:15:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999955200001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:15:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:15:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:15:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:15:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 18:15:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999955200001,"power":12722,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 18:15:04] local.INFO: DEBUG: GPS processor result {"connection_id":143062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554674,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:15:04] local.INFO: GPS data processed {"connection_id":143062,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:15:04] local.INFO: Acknowledgment sent {"connection_id":143062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:15:08] local.INFO: TCP Data received {"connection_id":143063,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143063,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:15:08] local.INFO: Processing buffer {"connection_id":143063,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:15:08] local.INFO: IMEI packet received {"connection_id":143063,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 18:15:08] local.INFO: IMEI acknowledgment sent {"connection_id":143063,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:15:13] local.INFO: TCP Data received {"connection_id":143063,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143063,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:15:13] local.INFO: Processing buffer {"connection_id":143063,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:15:13] local.INFO: IMEI packet received {"connection_id":143063,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 18:15:13] local.INFO: IMEI acknowledgment sent {"connection_id":143063,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:15:14] local.INFO: TCP Data received {"connection_id":143063,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa39a8668012d80aec005d35d280006000b28..."} 
[2026-07-27 18:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143063,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa39a8668012d80aec005d35d280006000b28..."} 
[2026-07-27 18:15:14] local.INFO: Processing buffer {"connection_id":143063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa39a8668012d80aec005d35d280006000b28..."} 
[2026-07-27 18:15:14] local.INFO: Packet analysis {"connection_id":143063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa39a"} 
[2026-07-27 18:15:14] local.INFO: Extracted packet for processing {"connection_id":143063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa39a"} 
[2026-07-27 18:15:14] local.INFO: GPS Element Parsed {"raw_longitude":763408064,"raw_latitude":97738024,"longitude_deg":76.3408064,"latitude_deg":9.7738024,"altitude":6,"angle":11,"satellites":40,"speed":0,"hex_longitude":"2d80aec0","hex_latitude":"05d35d28","is_valid_coordinates":true} 
[2026-07-27 18:15:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:15:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999921152001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:15:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111774518128672768,"note":"Value kept but may cause issues"} 
[2026-07-27 18:15:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9174676840862898176,"note":"Value kept but may cause issues"} 
[2026-07-27 18:15:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:15:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785156241000,"timestamp_ms":1785156241000,"timestamp_seconds":1785156241,"priority":1,"record_length":96,"hex_timestamp":"0000019fa39a8668"} 
[2026-07-27 18:15:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:15:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 18:15:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-27 18:15:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:15:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:15:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:15:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:15:14] local.INFO: Teltonika packet parsed successfully {"connection_id":143063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:15:14] local.INFO: Passing IMEI to GPS processor {"connection_id":143063,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:15:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":143063,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:15:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:15:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 18:15:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 18:15:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999921152001,"66":2209,"167":206,"85":15104,"24":0,"16":111774518128672768,"45":-9174676840862898176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-27 18:15:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 18:15:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 18:15:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999921152001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:15:14] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-27 18:15:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 18:15:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111774518128672768,"km_value":111774518128672.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:15:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9174676840862898176,"description":"Unknown IO ID 45"} 
[2026-07-27 18:15:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999921152001,"power":2209,"unknown_167":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9174676840862898176}} 
[2026-07-27 18:15:14] local.INFO: DEBUG: GPS processor result {"connection_id":143063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554675,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:15:14] local.INFO: GPS data processed {"connection_id":143063,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:15:14] local.INFO: Acknowledgment sent {"connection_id":143063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:15:35] local.INFO: TCP Data received {"connection_id":143062,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa398a208012d1967c0071fee200046011626..."} 
[2026-07-27 18:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa398a208012d1967c0071fee200046011626..."} 
[2026-07-27 18:15:35] local.INFO: Processing buffer {"connection_id":143062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa398a208012d1967c0071fee200046011626..."} 
[2026-07-27 18:15:35] local.INFO: Packet analysis {"connection_id":143062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa398"} 
[2026-07-27 18:15:35] local.INFO: Extracted packet for processing {"connection_id":143062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa398"} 
[2026-07-27 18:15:35] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":38,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 18:15:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:15:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999960576001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:15:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 18:15:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 18:15:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:15:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785156117000,"timestamp_ms":1785156117000,"timestamp_seconds":1785156117,"priority":1,"record_length":96,"hex_timestamp":"0000019fa398a208"} 
[2026-07-27 18:15:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:15:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:15:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-27 18:15:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:15:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:15:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:15:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:15:35] local.INFO: Teltonika packet parsed successfully {"connection_id":143062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:15:35] local.INFO: Passing IMEI to GPS processor {"connection_id":143062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:15:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":143062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:15:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:15:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:15:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:15:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999960576001,"66":12711,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:15:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:15:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:15:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999960576001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:15:35] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:15:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:15:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:15:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 18:15:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999960576001,"power":12711,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 18:15:35] local.INFO: DEBUG: GPS processor result {"connection_id":143062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554676,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:15:35] local.INFO: GPS data processed {"connection_id":143062,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:15:35] local.INFO: Acknowledgment sent {"connection_id":143062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:15:45] local.INFO: TCP Data received {"connection_id":143063,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa39a8668012d80aec005d35d280006000b28..."} 
[2026-07-27 18:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143063,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa39a8668012d80aec005d35d280006000b28..."} 
[2026-07-27 18:15:45] local.INFO: Processing buffer {"connection_id":143063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa39a8668012d80aec005d35d280006000b28..."} 
[2026-07-27 18:15:45] local.INFO: Packet analysis {"connection_id":143063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa39a"} 
[2026-07-27 18:15:45] local.INFO: Extracted packet for processing {"connection_id":143063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa39a"} 
[2026-07-27 18:15:45] local.INFO: GPS Element Parsed {"raw_longitude":763408064,"raw_latitude":97738024,"longitude_deg":76.3408064,"latitude_deg":9.7738024,"altitude":6,"angle":11,"satellites":40,"speed":0,"hex_longitude":"2d80aec0","hex_latitude":"05d35d28","is_valid_coordinates":true} 
[2026-07-27 18:15:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:15:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999921152001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:15:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111774518128672768,"note":"Value kept but may cause issues"} 
[2026-07-27 18:15:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9174676840862898176,"note":"Value kept but may cause issues"} 
[2026-07-27 18:15:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:15:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785156241000,"timestamp_ms":1785156241000,"timestamp_seconds":1785156241,"priority":1,"record_length":96,"hex_timestamp":"0000019fa39a8668"} 
[2026-07-27 18:15:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:15:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 18:15:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-27 18:15:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:15:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:15:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:15:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:15:45] local.INFO: Teltonika packet parsed successfully {"connection_id":143063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:15:45] local.INFO: Passing IMEI to GPS processor {"connection_id":143063,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:15:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":143063,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:15:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:15:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 18:15:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 18:15:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999921152001,"66":2209,"167":206,"85":15104,"24":0,"16":111774518128672768,"45":-9174676840862898176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-27 18:15:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 18:15:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 18:15:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999921152001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:15:45] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-27 18:15:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 18:15:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111774518128672768,"km_value":111774518128672.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:15:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9174676840862898176,"description":"Unknown IO ID 45"} 
[2026-07-27 18:15:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999921152001,"power":2209,"unknown_167":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9174676840862898176}} 
[2026-07-27 18:15:45] local.INFO: DEBUG: GPS processor result {"connection_id":143063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554677,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:15:45] local.INFO: GPS data processed {"connection_id":143063,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:15:45] local.INFO: Acknowledgment sent {"connection_id":143063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:15:59] local.INFO: TCP Data received {"connection_id":144188,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144188,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:15:59] local.INFO: Processing buffer {"connection_id":144188,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:15:59] local.INFO: IMEI packet received {"connection_id":144188,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 18:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":144188,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:16:04] local.INFO: TCP Data received {"connection_id":144188,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144188,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:16:04] local.INFO: Processing buffer {"connection_id":144188,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:16:04] local.INFO: IMEI packet received {"connection_id":144188,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 18:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":144188,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:16:06] local.INFO: TCP Data received {"connection_id":144188,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa398f410012d1967c0071fee200046011624..."} 
[2026-07-27 18:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa398f410012d1967c0071fee200046011624..."} 
[2026-07-27 18:16:06] local.INFO: Processing buffer {"connection_id":144188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa398f410012d1967c0071fee200046011624..."} 
[2026-07-27 18:16:06] local.INFO: Packet analysis {"connection_id":144188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa398"} 
[2026-07-27 18:16:06] local.INFO: Extracted packet for processing {"connection_id":144188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa398"} 
[2026-07-27 18:16:06] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":36,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 18:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999965952001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:16:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 18:16:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 18:16:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:16:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785156138000,"timestamp_ms":1785156138000,"timestamp_seconds":1785156138,"priority":1,"record_length":96,"hex_timestamp":"0000019fa398f410"} 
[2026-07-27 18:16:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:16:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-07-27 18:16:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:16:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:16:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:16:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:16:06] local.INFO: Teltonika packet parsed successfully {"connection_id":144188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:16:06] local.INFO: Passing IMEI to GPS processor {"connection_id":144188,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:16:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":144188,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:16:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:16:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:16:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:16:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999965952001,"66":12645,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:16:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:16:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:16:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999965952001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:16:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:16:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:16:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:16:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 18:16:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999965952001,"power":12645,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 18:16:06] local.INFO: DEBUG: GPS processor result {"connection_id":144188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554678,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:16:06] local.INFO: GPS data processed {"connection_id":144188,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:16:06] local.INFO: Acknowledgment sent {"connection_id":144188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:16:08] local.INFO: TCP Data received {"connection_id":143206,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143206,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:16:08] local.INFO: Processing buffer {"connection_id":143206,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:16:08] local.INFO: IMEI packet received {"connection_id":143206,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 18:16:08] local.INFO: IMEI acknowledgment sent {"connection_id":143206,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:16:13] local.INFO: TCP Data received {"connection_id":143206,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143206,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:16:13] local.INFO: Processing buffer {"connection_id":143206,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:16:13] local.INFO: IMEI packet received {"connection_id":143206,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 18:16:13] local.INFO: IMEI acknowledgment sent {"connection_id":143206,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:16:13] local.INFO: TCP Data received {"connection_id":143206,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa39a8668012d80aec005d35d280006000b28..."} 
[2026-07-27 18:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa39a8668012d80aec005d35d280006000b28..."} 
[2026-07-27 18:16:13] local.INFO: Processing buffer {"connection_id":143206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa39a8668012d80aec005d35d280006000b28..."} 
[2026-07-27 18:16:13] local.INFO: Packet analysis {"connection_id":143206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa39a"} 
[2026-07-27 18:16:13] local.INFO: Extracted packet for processing {"connection_id":143206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa39a"} 
[2026-07-27 18:16:13] local.INFO: GPS Element Parsed {"raw_longitude":763408064,"raw_latitude":97738024,"longitude_deg":76.3408064,"latitude_deg":9.7738024,"altitude":6,"angle":11,"satellites":40,"speed":0,"hex_longitude":"2d80aec0","hex_latitude":"05d35d28","is_valid_coordinates":true} 
[2026-07-27 18:16:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:16:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999921152001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:16:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111774518128672768,"note":"Value kept but may cause issues"} 
[2026-07-27 18:16:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9174676840862898176,"note":"Value kept but may cause issues"} 
[2026-07-27 18:16:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:16:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785156241000,"timestamp_ms":1785156241000,"timestamp_seconds":1785156241,"priority":1,"record_length":96,"hex_timestamp":"0000019fa39a8668"} 
[2026-07-27 18:16:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:16:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 18:16:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-27 18:16:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:16:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:16:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:16:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:16:13] local.INFO: Teltonika packet parsed successfully {"connection_id":143206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:16:13] local.INFO: Passing IMEI to GPS processor {"connection_id":143206,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:16:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":143206,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:16:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:16:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 18:16:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 18:16:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999921152001,"66":2209,"167":206,"85":15104,"24":0,"16":111774518128672768,"45":-9174676840862898176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-27 18:16:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 18:16:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 18:16:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999921152001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:16:13] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-27 18:16:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 18:16:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111774518128672768,"km_value":111774518128672.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:16:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9174676840862898176,"description":"Unknown IO ID 45"} 
[2026-07-27 18:16:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999921152001,"power":2209,"unknown_167":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9174676840862898176}} 
[2026-07-27 18:16:13] local.INFO: DEBUG: GPS processor result {"connection_id":143206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554679,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:16:13] local.INFO: GPS data processed {"connection_id":143206,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:16:13] local.INFO: Acknowledgment sent {"connection_id":143206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:16:37] local.INFO: TCP Data received {"connection_id":144188,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3994618012d1967c0071fee200046011625..."} 
[2026-07-27 18:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3994618012d1967c0071fee200046011625..."} 
[2026-07-27 18:16:37] local.INFO: Processing buffer {"connection_id":144188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3994618012d1967c0071fee200046011625..."} 
[2026-07-27 18:16:37] local.INFO: Packet analysis {"connection_id":144188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa399"} 
[2026-07-27 18:16:37] local.INFO: Extracted packet for processing {"connection_id":144188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa399"} 
[2026-07-27 18:16:38] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":37,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 18:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:16:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999971328001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:16:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 18:16:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 18:16:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:16:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785156159000,"timestamp_ms":1785156159000,"timestamp_seconds":1785156159,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3994618"} 
[2026-07-27 18:16:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:16:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-27 18:16:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:16:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:16:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:16:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:16:38] local.INFO: Teltonika packet parsed successfully {"connection_id":144188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:16:38] local.INFO: Passing IMEI to GPS processor {"connection_id":144188,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:16:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":144188,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:16:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:16:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:16:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:16:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999971328001,"66":12711,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:16:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:16:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:16:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999971328001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:16:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:16:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:16:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:16:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 18:16:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999971328001,"power":12711,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 18:16:38] local.INFO: DEBUG: GPS processor result {"connection_id":144188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554680,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:16:38] local.INFO: GPS data processed {"connection_id":144188,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:16:38] local.INFO: Acknowledgment sent {"connection_id":144188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:16:44] local.INFO: TCP Data received {"connection_id":143206,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa39a8668012d80aec005d35d280006000b28..."} 
[2026-07-27 18:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa39a8668012d80aec005d35d280006000b28..."} 
[2026-07-27 18:16:44] local.INFO: Processing buffer {"connection_id":143206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa39a8668012d80aec005d35d280006000b28..."} 
[2026-07-27 18:16:44] local.INFO: Packet analysis {"connection_id":143206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa39a"} 
[2026-07-27 18:16:44] local.INFO: Extracted packet for processing {"connection_id":143206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa39a"} 
[2026-07-27 18:16:44] local.INFO: GPS Element Parsed {"raw_longitude":763408064,"raw_latitude":97738024,"longitude_deg":76.3408064,"latitude_deg":9.7738024,"altitude":6,"angle":11,"satellites":40,"speed":0,"hex_longitude":"2d80aec0","hex_latitude":"05d35d28","is_valid_coordinates":true} 
[2026-07-27 18:16:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:16:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999921152001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:16:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111774518128672768,"note":"Value kept but may cause issues"} 
[2026-07-27 18:16:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9174676840862898176,"note":"Value kept but may cause issues"} 
[2026-07-27 18:16:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:16:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785156241000,"timestamp_ms":1785156241000,"timestamp_seconds":1785156241,"priority":1,"record_length":96,"hex_timestamp":"0000019fa39a8668"} 
[2026-07-27 18:16:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:16:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 18:16:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-27 18:16:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:16:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:16:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:16:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:16:44] local.INFO: Teltonika packet parsed successfully {"connection_id":143206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:16:44] local.INFO: Passing IMEI to GPS processor {"connection_id":143206,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:16:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":143206,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:16:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:16:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 18:16:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 18:16:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999921152001,"66":2209,"167":206,"85":15104,"24":0,"16":111774518128672768,"45":-9174676840862898176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-27 18:16:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 18:16:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 18:16:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999921152001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:16:44] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-27 18:16:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 18:16:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111774518128672768,"km_value":111774518128672.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:16:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9174676840862898176,"description":"Unknown IO ID 45"} 
[2026-07-27 18:16:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999921152001,"power":2209,"unknown_167":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9174676840862898176}} 
[2026-07-27 18:16:44] local.INFO: DEBUG: GPS processor result {"connection_id":143206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554681,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:16:44] local.INFO: GPS data processed {"connection_id":143206,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:16:44] local.INFO: Acknowledgment sent {"connection_id":143206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:16:45] local.INFO: TCP Data received {"connection_id":143064,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:16:45] local.INFO: Processing buffer {"connection_id":143064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:16:45] local.INFO: IMEI packet received {"connection_id":143064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 18:16:45] local.INFO: IMEI acknowledgment sent {"connection_id":143064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:16:51] local.INFO: TCP Data received {"connection_id":143064,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa39bb718012da66e8005db3ca00028000b26..."} 
[2026-07-27 18:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143064,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa39bb718012da66e8005db3ca00028000b26..."} 
[2026-07-27 18:16:51] local.INFO: Processing buffer {"connection_id":143064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa39bb718012da66e8005db3ca00028000b26..."} 
[2026-07-27 18:16:51] local.INFO: Packet analysis {"connection_id":143064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa39b"} 
[2026-07-27 18:16:51] local.INFO: Extracted packet for processing {"connection_id":143064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa39b"} 
[2026-07-27 18:16:51] local.INFO: GPS Element Parsed {"raw_longitude":765881984,"raw_latitude":98253984,"longitude_deg":76.5881984,"latitude_deg":9.8253984,"altitude":40,"angle":11,"satellites":38,"speed":46,"hex_longitude":"2da66e80","hex_latitude":"05db3ca0","is_valid_coordinates":true} 
[2026-07-27 18: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-07-27 18:16:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000016384001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:16:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359229441139802112,"note":"Value kept but may cause issues"} 
[2026-07-27 18:16:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6455628565707202560,"note":"Value kept but may cause issues"} 
[2026-07-27 18:16:51] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,83,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-27 18:16:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785156319000,"timestamp_ms":1785156319000,"timestamp_seconds":1785156319,"priority":1,"record_length":96,"hex_timestamp":"0000019fa39bb718"} 
[2026-07-27 18:16:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:16:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-27 18:16:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:16:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:16:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:16:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:16:51] local.INFO: Teltonika packet parsed successfully {"connection_id":143064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:16:51] local.INFO: Passing IMEI to GPS processor {"connection_id":143064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:16:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":143064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:16:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:16:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:16:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:16:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000016384001,"66":27865,"83":17920,"24":46,"16":359229441139802112,"45":-6455628565707202560},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,24,16,45]} 
[2026-07-27 18:16:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:16:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:16:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000016384001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:16:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":17920,"description":"Unknown IO ID 83"} 
[2026-07-27 18:16:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359229441139802112,"km_value":359229441139802.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:16:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6455628565707202560,"description":"Unknown IO ID 45"} 
[2026-07-27 18:16:51] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457000016384001,"power":27865,"unknown_83":17920,"ignition":46,"odometer":null,"unknown_45":-6455628565707202560}} 
[2026-07-27 18:16:51] local.INFO: DEBUG: GPS processor result {"connection_id":143064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:16:51] local.INFO: GPS data processed {"connection_id":143064,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:16:51] local.INFO: Acknowledgment sent {"connection_id":143064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:16:59] local.INFO: TCP Data received {"connection_id":144189,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144189,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:16:59] local.INFO: Processing buffer {"connection_id":144189,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:16:59] local.INFO: IMEI packet received {"connection_id":144189,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 18:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":144189,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:17:04] local.INFO: TCP Data received {"connection_id":144189,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144189,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:17:04] local.INFO: Processing buffer {"connection_id":144189,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:17:04] local.INFO: IMEI packet received {"connection_id":144189,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 18:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":144189,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:17:06] local.INFO: TCP Data received {"connection_id":144189,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3999820012d1967c0071fee200046011627..."} 
[2026-07-27 18:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144189,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3999820012d1967c0071fee200046011627..."} 
[2026-07-27 18:17:06] local.INFO: Processing buffer {"connection_id":144189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3999820012d1967c0071fee200046011627..."} 
[2026-07-27 18:17:06] local.INFO: Packet analysis {"connection_id":144189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa399"} 
[2026-07-27 18:17:06] local.INFO: Extracted packet for processing {"connection_id":144189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa399"} 
[2026-07-27 18:17:06] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 18:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999976704001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 18:17:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 18:17:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785156180000,"timestamp_ms":1785156180000,"timestamp_seconds":1785156180,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3999820"} 
[2026-07-27 18:17:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:17:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-07-27 18:17:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:17:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:17:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":144189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":144189,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":144189,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:17:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999976704001,"66":12667,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999976704001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:17:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:17:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:17:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 18:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999976704001,"power":12667,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 18:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":144189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554683,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:17:06] local.INFO: GPS data processed {"connection_id":144189,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:17:06] local.INFO: Acknowledgment sent {"connection_id":144189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:17:08] local.INFO: TCP Data received {"connection_id":144190,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144190,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:17:08] local.INFO: Processing buffer {"connection_id":144190,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:17:08] local.INFO: IMEI packet received {"connection_id":144190,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 18:17:08] local.INFO: IMEI acknowledgment sent {"connection_id":144190,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:17:13] local.INFO: TCP Data received {"connection_id":144190,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144190,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:17:13] local.INFO: Processing buffer {"connection_id":144190,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:17:13] local.INFO: IMEI packet received {"connection_id":144190,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 18:17:13] local.INFO: IMEI acknowledgment sent {"connection_id":144190,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:17:13] local.INFO: TCP Data received {"connection_id":144190,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa39a8668012d80aec005d35d280006000b28..."} 
[2026-07-27 18:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144190,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa39a8668012d80aec005d35d280006000b28..."} 
[2026-07-27 18:17:13] local.INFO: Processing buffer {"connection_id":144190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa39a8668012d80aec005d35d280006000b28..."} 
[2026-07-27 18:17:13] local.INFO: Packet analysis {"connection_id":144190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa39a"} 
[2026-07-27 18:17:13] local.INFO: Extracted packet for processing {"connection_id":144190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa39a"} 
[2026-07-27 18:17:13] local.INFO: GPS Element Parsed {"raw_longitude":763408064,"raw_latitude":97738024,"longitude_deg":76.3408064,"latitude_deg":9.7738024,"altitude":6,"angle":11,"satellites":40,"speed":0,"hex_longitude":"2d80aec0","hex_latitude":"05d35d28","is_valid_coordinates":true} 
[2026-07-27 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-07-27 18:17:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999921152001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:17:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111774518128672768,"note":"Value kept but may cause issues"} 
[2026-07-27 18:17:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9174676840862898176,"note":"Value kept but may cause issues"} 
[2026-07-27 18:17:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:17:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785156241000,"timestamp_ms":1785156241000,"timestamp_seconds":1785156241,"priority":1,"record_length":96,"hex_timestamp":"0000019fa39a8668"} 
[2026-07-27 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-07-27 18:17:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-27 18:17:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 18:17:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:17:13] local.INFO: Teltonika packet parsed successfully {"connection_id":144190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:17:13] local.INFO: Passing IMEI to GPS processor {"connection_id":144190,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:17:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":144190,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:17:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:17:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 18:17:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 18:17:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999921152001,"66":2209,"167":206,"85":15104,"24":0,"16":111774518128672768,"45":-9174676840862898176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-27 18:17:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 18:17:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 18:17:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999921152001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:17:13] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-27 18:17:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 18:17:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111774518128672768,"km_value":111774518128672.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:17:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9174676840862898176,"description":"Unknown IO ID 45"} 
[2026-07-27 18:17:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999921152001,"power":2209,"unknown_167":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9174676840862898176}} 
[2026-07-27 18:17:13] local.INFO: DEBUG: GPS processor result {"connection_id":144190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554684,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:17:13] local.INFO: GPS data processed {"connection_id":144190,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:17:13] local.INFO: Acknowledgment sent {"connection_id":144190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:17:37] local.INFO: TCP Data received {"connection_id":143065,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:17:37] local.INFO: Processing buffer {"connection_id":143065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:17:37] local.INFO: IMEI packet received {"connection_id":143065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 18:17:37] local.INFO: IMEI acknowledgment sent {"connection_id":143065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:17:37] local.INFO: TCP Data received {"connection_id":143065,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:17:37] local.INFO: Processing buffer {"connection_id":143065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:17:37] local.INFO: IMEI packet received {"connection_id":143065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 18:17:37] local.INFO: IMEI acknowledgment sent {"connection_id":143065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:17:38] local.INFO: TCP Data received {"connection_id":144189,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa399ea28012d1967c0071fee200046011626..."} 
[2026-07-27 18:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144189,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa399ea28012d1967c0071fee200046011626..."} 
[2026-07-27 18:17:38] local.INFO: Processing buffer {"connection_id":144189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa399ea28012d1967c0071fee200046011626..."} 
[2026-07-27 18:17:38] local.INFO: Packet analysis {"connection_id":144189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa399"} 
[2026-07-27 18:17:38] local.INFO: Extracted packet for processing {"connection_id":144189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa399"} 
[2026-07-27 18:17:38] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":38,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 18:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:17:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999982080001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:17:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 18:17:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 18:17:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:17:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785156201000,"timestamp_ms":1785156201000,"timestamp_seconds":1785156201,"priority":1,"record_length":96,"hex_timestamp":"0000019fa399ea28"} 
[2026-07-27 18:17:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:17:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-07-27 18:17:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:17:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:17:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:17:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:17:38] local.INFO: Teltonika packet parsed successfully {"connection_id":144189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:17:38] local.INFO: Passing IMEI to GPS processor {"connection_id":144189,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:17:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":144189,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:17:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:17:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:17:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:17:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999982080001,"66":12667,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:17:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:17:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:17:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999982080001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:17:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:17:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:17:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:17:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 18:17:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999982080001,"power":12667,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 18:17:38] local.INFO: DEBUG: GPS processor result {"connection_id":144189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554685,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:17:38] local.INFO: GPS data processed {"connection_id":144189,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:17:38] local.INFO: Acknowledgment sent {"connection_id":144189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:17:41] local.INFO: TCP Data received {"connection_id":143065,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:17:41] local.INFO: Processing buffer {"connection_id":143065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:17:41] local.INFO: IMEI packet received {"connection_id":143065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 18:17:41] local.INFO: IMEI acknowledgment sent {"connection_id":143065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:17:42] local.INFO: TCP Data received {"connection_id":143065,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa39cc888012da721c005dbe038001f004726..."} 
[2026-07-27 18:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa39cc888012da721c005dbe038001f004726..."} 
[2026-07-27 18:17:42] local.INFO: Processing buffer {"connection_id":143065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa39cc888012da721c005dbe038001f004726..."} 
[2026-07-27 18:17:42] local.INFO: Packet analysis {"connection_id":143065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa39c"} 
[2026-07-27 18:17:42] local.INFO: Extracted packet for processing {"connection_id":143065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa39c"} 
[2026-07-27 18:17:42] local.INFO: GPS Element Parsed {"raw_longitude":765927872,"raw_latitude":98295864,"longitude_deg":76.5927872,"latitude_deg":9.8295864,"altitude":31,"angle":71,"satellites":38,"speed":40,"hex_longitude":"2da721c0","hex_latitude":"05dbe038","is_valid_coordinates":true} 
[2026-07-27 18:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:17:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000034048001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:17:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359232864228737024,"note":"Value kept but may cause issues"} 
[2026-07-27 18:17:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6410733306909939712,"note":"Value kept but may cause issues"} 
[2026-07-27 18:17:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:17:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785156389000,"timestamp_ms":1785156389000,"timestamp_seconds":1785156389,"priority":1,"record_length":96,"hex_timestamp":"0000019fa39cc888"} 
[2026-07-27 18:17:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:17:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-27 18:17:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:17:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:17:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:17:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:17:42] local.INFO: Teltonika packet parsed successfully {"connection_id":143065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:17:42] local.INFO: Passing IMEI to GPS processor {"connection_id":143065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:17:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":143065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:17:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:17:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:17:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:17:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000034048001,"66":27843,"255":206,"83":17920,"24":40,"16":359232864228737024,"45":-6410733306909939712},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,83,24,16,45]} 
[2026-07-27 18:17:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:17:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:17:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000034048001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:17:42] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-07-27 18:17:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":17920,"description":"Unknown IO ID 83"} 
[2026-07-27 18:17:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359232864228737024,"km_value":359232864228737.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:17:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6410733306909939712,"description":"Unknown IO ID 45"} 
[2026-07-27 18:17:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000034048001,"power":27843,"unknown_255":206,"unknown_83":17920,"ignition":40,"odometer":null,"unknown_45":-6410733306909939712}} 
[2026-07-27 18:17:42] local.INFO: DEBUG: GPS processor result {"connection_id":143065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:17:42] local.INFO: GPS data processed {"connection_id":143065,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:17:42] local.INFO: Acknowledgment sent {"connection_id":143065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:17:44] local.INFO: TCP Data received {"connection_id":144190,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa39a8668012d80aec005d35d280006000b28..."} 
[2026-07-27 18:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144190,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa39a8668012d80aec005d35d280006000b28..."} 
[2026-07-27 18:17:44] local.INFO: Processing buffer {"connection_id":144190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa39a8668012d80aec005d35d280006000b28..."} 
[2026-07-27 18:17:44] local.INFO: Packet analysis {"connection_id":144190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa39a"} 
[2026-07-27 18:17:44] local.INFO: Extracted packet for processing {"connection_id":144190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa39a"} 
[2026-07-27 18:17:44] local.INFO: GPS Element Parsed {"raw_longitude":763408064,"raw_latitude":97738024,"longitude_deg":76.3408064,"latitude_deg":9.7738024,"altitude":6,"angle":11,"satellites":40,"speed":0,"hex_longitude":"2d80aec0","hex_latitude":"05d35d28","is_valid_coordinates":true} 
[2026-07-27 18:17:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:17:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999921152001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:17:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111774518128672768,"note":"Value kept but may cause issues"} 
[2026-07-27 18:17:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9174676840862898176,"note":"Value kept but may cause issues"} 
[2026-07-27 18:17:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:17:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785156241000,"timestamp_ms":1785156241000,"timestamp_seconds":1785156241,"priority":1,"record_length":96,"hex_timestamp":"0000019fa39a8668"} 
[2026-07-27 18:17:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:17:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 18:17:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-27 18:17:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:17:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:17:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:17:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:17:44] local.INFO: Teltonika packet parsed successfully {"connection_id":144190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:17:44] local.INFO: Passing IMEI to GPS processor {"connection_id":144190,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:17:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":144190,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:17:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:17:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 18:17:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 18:17:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999921152001,"66":2209,"167":206,"85":15104,"24":0,"16":111774518128672768,"45":-9174676840862898176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-27 18:17:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 18:17:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 18:17:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999921152001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:17:44] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-27 18:17:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 18:17:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111774518128672768,"km_value":111774518128672.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:17:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9174676840862898176,"description":"Unknown IO ID 45"} 
[2026-07-27 18:17:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999921152001,"power":2209,"unknown_167":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9174676840862898176}} 
[2026-07-27 18:17:44] local.INFO: DEBUG: GPS processor result {"connection_id":144190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554687,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:17:44] local.INFO: GPS data processed {"connection_id":144190,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:17:44] local.INFO: Acknowledgment sent {"connection_id":144190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:17:46] local.INFO: TCP Data received {"connection_id":143065,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa39cd058012da728c005dbe408001f003227..."} 
[2026-07-27 18:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa39cd058012da728c005dbe408001f003227..."} 
[2026-07-27 18:17:46] local.INFO: Processing buffer {"connection_id":143065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa39cd058012da728c005dbe408001f003227..."} 
[2026-07-27 18:17:46] local.INFO: Packet analysis {"connection_id":143065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa39c"} 
[2026-07-27 18:17:46] local.INFO: Extracted packet for processing {"connection_id":143065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa39c"} 
[2026-07-27 18:17:46] local.INFO: GPS Element Parsed {"raw_longitude":765929664,"raw_latitude":98296840,"longitude_deg":76.5929664,"latitude_deg":9.829684,"altitude":31,"angle":50,"satellites":39,"speed":38,"hex_longitude":"2da728c0","hex_latitude":"05dbe408","is_valid_coordinates":true} 
[2026-07-27 18:17:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:17:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000035584001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:17:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359232958718017536,"note":"Value kept but may cause issues"} 
[2026-07-27 18:17:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6403626063747860480,"note":"Value kept but may cause issues"} 
[2026-07-27 18:17:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:17:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785156391000,"timestamp_ms":1785156391000,"timestamp_seconds":1785156391,"priority":1,"record_length":96,"hex_timestamp":"0000019fa39cd058"} 
[2026-07-27 18:17:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:17:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-27 18:17:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:17:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:17:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:17:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:17:46] local.INFO: Teltonika packet parsed successfully {"connection_id":143065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:17:46] local.INFO: Passing IMEI to GPS processor {"connection_id":143065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:17:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":143065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:17: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-07-27 18:17:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:17:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:17:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000035584001,"66":27343,"255":206,"83":17920,"24":38,"16":359232958718017536,"45":-6403626063747860480},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,83,24,16,45]} 
[2026-07-27 18:17:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:17:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:17:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000035584001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:17:46] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-07-27 18:17:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":17920,"description":"Unknown IO ID 83"} 
[2026-07-27 18:17:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359232958718017536,"km_value":359232958718017.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:17:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6403626063747860480,"description":"Unknown IO ID 45"} 
[2026-07-27 18:17:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000035584001,"power":27343,"unknown_255":206,"unknown_83":17920,"ignition":38,"odometer":null,"unknown_45":-6403626063747860480}} 
[2026-07-27 18:17:46] local.INFO: DEBUG: GPS processor result {"connection_id":143065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:17:46] local.INFO: GPS data processed {"connection_id":143065,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:17:46] local.INFO: Acknowledgment sent {"connection_id":143065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:17:59] local.INFO: TCP Data received {"connection_id":145469,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145469,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:17:59] local.INFO: Processing buffer {"connection_id":145469,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:17:59] local.INFO: IMEI packet received {"connection_id":145469,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 18:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":145469,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:18:05] local.INFO: TCP Data received {"connection_id":145469,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145469,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:18:05] local.INFO: Processing buffer {"connection_id":145469,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:18:05] local.INFO: IMEI packet received {"connection_id":145469,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 18:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":145469,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:18:06] local.INFO: TCP Data received {"connection_id":145469,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa39a3c30012d1967c0071fee200046011628..."} 
[2026-07-27 18:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa39a3c30012d1967c0071fee200046011628..."} 
[2026-07-27 18:18:06] local.INFO: Processing buffer {"connection_id":145469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa39a3c30012d1967c0071fee200046011628..."} 
[2026-07-27 18:18:06] local.INFO: Packet analysis {"connection_id":145469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa39a"} 
[2026-07-27 18:18:06] local.INFO: Extracted packet for processing {"connection_id":145469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa39a"} 
[2026-07-27 18:18:06] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 18:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:18:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999987456001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:18:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 18:18:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 18:18:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:18:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785156222000,"timestamp_ms":1785156222000,"timestamp_seconds":1785156222,"priority":1,"record_length":96,"hex_timestamp":"0000019fa39a3c30"} 
[2026-07-27 18:18:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:18:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-07-27 18:18:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:18:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:18:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:18:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:18:06] local.INFO: Teltonika packet parsed successfully {"connection_id":145469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:18:06] local.INFO: Passing IMEI to GPS processor {"connection_id":145469,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:18:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":145469,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:18:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:18:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:18:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:18:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999987456001,"66":12591,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:18:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:18:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:18:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999987456001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:18:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:18:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:18:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:18:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 18:18:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999987456001,"power":12591,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 18:18:06] local.INFO: DEBUG: GPS processor result {"connection_id":145469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554689,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:18:06] local.INFO: GPS data processed {"connection_id":145469,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:18:06] local.INFO: Acknowledgment sent {"connection_id":145469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:18:07] local.INFO: TCP Data received {"connection_id":145470,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145470,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:18:07] local.INFO: Processing buffer {"connection_id":145470,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:18:07] local.INFO: IMEI packet received {"connection_id":145470,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 18:18:07] local.INFO: IMEI acknowledgment sent {"connection_id":145470,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:18:13] local.INFO: TCP Data received {"connection_id":145470,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145470,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:18:13] local.INFO: Processing buffer {"connection_id":145470,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:18:13] local.INFO: IMEI packet received {"connection_id":145470,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 18:18:13] local.INFO: IMEI acknowledgment sent {"connection_id":145470,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:18:13] local.INFO: TCP Data received {"connection_id":145470,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa39a8668012d80aec005d35d280006000b28..."} 
[2026-07-27 18:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa39a8668012d80aec005d35d280006000b28..."} 
[2026-07-27 18:18:13] local.INFO: Processing buffer {"connection_id":145470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa39a8668012d80aec005d35d280006000b28..."} 
[2026-07-27 18:18:13] local.INFO: Packet analysis {"connection_id":145470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa39a"} 
[2026-07-27 18:18:13] local.INFO: Extracted packet for processing {"connection_id":145470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa39a"} 
[2026-07-27 18:18:13] local.INFO: GPS Element Parsed {"raw_longitude":763408064,"raw_latitude":97738024,"longitude_deg":76.3408064,"latitude_deg":9.7738024,"altitude":6,"angle":11,"satellites":40,"speed":0,"hex_longitude":"2d80aec0","hex_latitude":"05d35d28","is_valid_coordinates":true} 
[2026-07-27 18: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-07-27 18:18:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999921152001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:18:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111774518128672768,"note":"Value kept but may cause issues"} 
[2026-07-27 18:18:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9174676840862898176,"note":"Value kept but may cause issues"} 
[2026-07-27 18:18:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:18:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785156241000,"timestamp_ms":1785156241000,"timestamp_seconds":1785156241,"priority":1,"record_length":96,"hex_timestamp":"0000019fa39a8668"} 
[2026-07-27 18:18:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:18:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 18:18:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-27 18:18:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18: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-07-27 18:18:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:18:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:18:13] local.INFO: Teltonika packet parsed successfully {"connection_id":145470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:18:13] local.INFO: Passing IMEI to GPS processor {"connection_id":145470,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:18:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":145470,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:18:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:18:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 18:18:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 18:18:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999921152001,"66":2209,"167":206,"85":15104,"24":0,"16":111774518128672768,"45":-9174676840862898176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-27 18:18:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 18:18:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 18:18:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999921152001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:18:13] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-27 18:18:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 18:18:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111774518128672768,"km_value":111774518128672.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:18:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9174676840862898176,"description":"Unknown IO ID 45"} 
[2026-07-27 18:18:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999921152001,"power":2209,"unknown_167":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9174676840862898176}} 
[2026-07-27 18:18:13] local.INFO: DEBUG: GPS processor result {"connection_id":145470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554690,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:18:13] local.INFO: GPS data processed {"connection_id":145470,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:18:13] local.INFO: Acknowledgment sent {"connection_id":145470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:18:31] local.INFO: TCP Data received {"connection_id":143207,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:18:31] local.INFO: Processing buffer {"connection_id":143207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:18:31] local.INFO: IMEI packet received {"connection_id":143207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 18:18:31] local.INFO: IMEI acknowledgment sent {"connection_id":143207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:18:34] local.INFO: TCP Data received {"connection_id":143207,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:18:34] local.INFO: Processing buffer {"connection_id":143207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:18:34] local.INFO: IMEI packet received {"connection_id":143207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 18:18:34] local.INFO: IMEI acknowledgment sent {"connection_id":143207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:18:34] local.INFO: TCP Data received {"connection_id":143207,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa39ddde0012da703c005dcd1180026015827..."} 
[2026-07-27 18:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143207,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa39ddde0012da703c005dcd1180026015827..."} 
[2026-07-27 18:18:34] local.INFO: Processing buffer {"connection_id":143207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa39ddde0012da703c005dcd1180026015827..."} 
[2026-07-27 18:18:34] local.INFO: Packet analysis {"connection_id":143207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa39d"} 
[2026-07-27 18:18:34] local.INFO: Extracted packet for processing {"connection_id":143207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa39d"} 
[2026-07-27 18:18:34] local.INFO: GPS Element Parsed {"raw_longitude":765920192,"raw_latitude":98357528,"longitude_deg":76.5920192,"latitude_deg":9.8357528,"altitude":38,"angle":344,"satellites":39,"speed":48,"hex_longitude":"2da703c0","hex_latitude":"05dcd118","is_valid_coordinates":true} 
[2026-07-27 18:18:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:18:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000051712001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:18:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359236124108914688,"note":"Value kept but may cause issues"} 
[2026-07-27 18:18:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6409325932012687360,"note":"Value kept but may cause issues"} 
[2026-07-27 18:18:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:18:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785156460000,"timestamp_ms":1785156460000,"timestamp_seconds":1785156460,"priority":1,"record_length":96,"hex_timestamp":"0000019fa39ddde0"} 
[2026-07-27 18:18:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:18:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:18:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-27 18:18:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:18:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:18:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:18:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:18:34] local.INFO: Teltonika packet parsed successfully {"connection_id":143207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:18:34] local.INFO: Passing IMEI to GPS processor {"connection_id":143207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:18:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":143207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:18:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:18:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:18:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:18:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000051712001,"66":27691,"1":206,"83":17920,"24":48,"16":359236124108914688,"45":-6409325932012687360},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,83,24,16,45]} 
[2026-07-27 18:18:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:18:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:18:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000051712001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:18:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":17920,"description":"Unknown IO ID 83"} 
[2026-07-27 18:18:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359236124108914688,"km_value":359236124108914.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:18:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6409325932012687360,"description":"Unknown IO ID 45"} 
[2026-07-27 18:18:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000051712001,"power":27691,"imei":206,"unknown_83":17920,"ignition":48,"odometer":null,"unknown_45":-6409325932012687360}} 
[2026-07-27 18:18:34] local.INFO: DEBUG: GPS processor result {"connection_id":143207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:18:34] local.INFO: GPS data processed {"connection_id":143207,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:18:34] local.INFO: Acknowledgment sent {"connection_id":143207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:18:36] local.INFO: TCP Data received {"connection_id":143207,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa39df938012da6fd4005dcf3180023015e27..."} 
[2026-07-27 18:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143207,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa39df938012da6fd4005dcf3180023015e27..."} 
[2026-07-27 18:18:36] local.INFO: Processing buffer {"connection_id":143207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa39df938012da6fd4005dcf3180023015e27..."} 
[2026-07-27 18:18:36] local.INFO: Packet analysis {"connection_id":143207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa39d"} 
[2026-07-27 18:18:36] local.INFO: Extracted packet for processing {"connection_id":143207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa39d"} 
[2026-07-27 18:18:36] local.INFO: GPS Element Parsed {"raw_longitude":765918528,"raw_latitude":98366232,"longitude_deg":76.5918528,"latitude_deg":9.8366232,"altitude":35,"angle":350,"satellites":39,"speed":48,"hex_longitude":"2da6fd40","hex_latitude":"05dcf318","is_valid_coordinates":true} 
[2026-07-27 18:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:18:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000053760001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:18:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359236553605644288,"note":"Value kept but may cause issues"} 
[2026-07-27 18:18:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6412070313033394176,"note":"Value kept but may cause issues"} 
[2026-07-27 18:18:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:18:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785156467000,"timestamp_ms":1785156467000,"timestamp_seconds":1785156467,"priority":1,"record_length":96,"hex_timestamp":"0000019fa39df938"} 
[2026-07-27 18:18:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:18:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-27 18:18:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:18:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:18:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:18:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:18:36] local.INFO: Teltonika packet parsed successfully {"connection_id":143207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:18:36] local.INFO: Passing IMEI to GPS processor {"connection_id":143207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:18:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":143207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:18:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:18:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:18:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:18:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000053760001,"66":27974,"1":206,"83":17920,"24":48,"16":359236553605644288,"45":-6412070313033394176},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,83,24,16,45]} 
[2026-07-27 18:18:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:18:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:18:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000053760001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:18:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":17920,"description":"Unknown IO ID 83"} 
[2026-07-27 18:18:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359236553605644288,"km_value":359236553605644.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:18:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6412070313033394176,"description":"Unknown IO ID 45"} 
[2026-07-27 18:18:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000053760001,"power":27974,"imei":206,"unknown_83":17920,"ignition":48,"odometer":null,"unknown_45":-6412070313033394176}} 
[2026-07-27 18:18:36] local.INFO: DEBUG: GPS processor result {"connection_id":143207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:18:36] local.INFO: GPS data processed {"connection_id":143207,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:18:36] local.INFO: Acknowledgment sent {"connection_id":143207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:18:38] local.INFO: TCP Data received {"connection_id":145469,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa39a8e38012d1967c0071fee200046011628..."} 
[2026-07-27 18:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa39a8e38012d1967c0071fee200046011628..."} 
[2026-07-27 18:18:38] local.INFO: Processing buffer {"connection_id":145469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa39a8e38012d1967c0071fee200046011628..."} 
[2026-07-27 18:18:38] local.INFO: Packet analysis {"connection_id":145469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa39a"} 
[2026-07-27 18:18:38] local.INFO: Extracted packet for processing {"connection_id":145469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa39a"} 
[2026-07-27 18:18:38] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 18:18:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:18:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999992832001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:18:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 18:18:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 18:18:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:18:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785156243000,"timestamp_ms":1785156243000,"timestamp_seconds":1785156243,"priority":1,"record_length":96,"hex_timestamp":"0000019fa39a8e38"} 
[2026-07-27 18:18:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:18:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:18:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-27 18:18:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:18:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:18:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:18:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:18:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:18:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145469,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:18:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145469,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:18:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:18:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:18:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:18:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999992832001,"66":12667,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:18:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:18:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:18:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999992832001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:18:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:18:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:18:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:18:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 18:18:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999992832001,"power":12667,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 18:18:38] local.INFO: DEBUG: GPS processor result {"connection_id":145469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554693,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:18:38] local.INFO: GPS data processed {"connection_id":145469,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:18:38] local.INFO: Acknowledgment sent {"connection_id":145469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:18:44] local.INFO: TCP Data received {"connection_id":145470,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa39a8668012d80aec005d35d280006000b28..."} 
[2026-07-27 18:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa39a8668012d80aec005d35d280006000b28..."} 
[2026-07-27 18:18:44] local.INFO: Processing buffer {"connection_id":145470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa39a8668012d80aec005d35d280006000b28..."} 
[2026-07-27 18:18:44] local.INFO: Packet analysis {"connection_id":145470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa39a"} 
[2026-07-27 18:18:44] local.INFO: Extracted packet for processing {"connection_id":145470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa39a"} 
[2026-07-27 18:18:44] local.INFO: GPS Element Parsed {"raw_longitude":763408064,"raw_latitude":97738024,"longitude_deg":76.3408064,"latitude_deg":9.7738024,"altitude":6,"angle":11,"satellites":40,"speed":0,"hex_longitude":"2d80aec0","hex_latitude":"05d35d28","is_valid_coordinates":true} 
[2026-07-27 18:18:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:18:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999921152001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:18:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111774518128672768,"note":"Value kept but may cause issues"} 
[2026-07-27 18:18:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9174676840862898176,"note":"Value kept but may cause issues"} 
[2026-07-27 18:18:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:18:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785156241000,"timestamp_ms":1785156241000,"timestamp_seconds":1785156241,"priority":1,"record_length":96,"hex_timestamp":"0000019fa39a8668"} 
[2026-07-27 18:18:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:18:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 18:18:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-27 18:18:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:18:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:18:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:18:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:18:44] local.INFO: Teltonika packet parsed successfully {"connection_id":145470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:18:44] local.INFO: Passing IMEI to GPS processor {"connection_id":145470,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:18:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":145470,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:18:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:18:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 18:18:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 18:18:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999921152001,"66":2209,"167":206,"85":15104,"24":0,"16":111774518128672768,"45":-9174676840862898176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-27 18:18:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 18:18:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 18:18:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999921152001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:18:44] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-27 18:18:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 18:18:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111774518128672768,"km_value":111774518128672.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:18:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9174676840862898176,"description":"Unknown IO ID 45"} 
[2026-07-27 18:18:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999921152001,"power":2209,"unknown_167":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9174676840862898176}} 
[2026-07-27 18:18:45] local.INFO: DEBUG: GPS processor result {"connection_id":145470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554694,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:18:45] local.INFO: GPS data processed {"connection_id":145470,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:18:45] local.INFO: Acknowledgment sent {"connection_id":145470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:18:59] local.INFO: TCP Data received {"connection_id":144191,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144191,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:18:59] local.INFO: Processing buffer {"connection_id":144191,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:18:59] local.INFO: IMEI packet received {"connection_id":144191,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 18:18:59] local.INFO: IMEI acknowledgment sent {"connection_id":144191,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:19:04] local.INFO: TCP Data received {"connection_id":144191,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144191,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:19:04] local.INFO: Processing buffer {"connection_id":144191,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:19:04] local.INFO: IMEI packet received {"connection_id":144191,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 18:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":144191,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:19:06] local.INFO: TCP Data received {"connection_id":144191,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa39ae040012d1967c0071fee200046011628..."} 
[2026-07-27 18:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144191,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa39ae040012d1967c0071fee200046011628..."} 
[2026-07-27 18:19:06] local.INFO: Processing buffer {"connection_id":144191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa39ae040012d1967c0071fee200046011628..."} 
[2026-07-27 18:19:06] local.INFO: Packet analysis {"connection_id":144191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa39a"} 
[2026-07-27 18:19:06] local.INFO: Extracted packet for processing {"connection_id":144191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa39a"} 
[2026-07-27 18:19:06] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 18:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999998208001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:19:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 18:19:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 18:19:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:19:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785156264000,"timestamp_ms":1785156264000,"timestamp_seconds":1785156264,"priority":1,"record_length":96,"hex_timestamp":"0000019fa39ae040"} 
[2026-07-27 18:19:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:19:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-07-27 18:19:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:19:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:19:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:19:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:19:06] local.INFO: Teltonika packet parsed successfully {"connection_id":144191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:19:06] local.INFO: Passing IMEI to GPS processor {"connection_id":144191,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:19:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":144191,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:19:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:19:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:19:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:19:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999998208001,"66":12265,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:19:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:19:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:19:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999998208001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:19:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:19:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:19:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:19:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 18:19:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999998208001,"power":12265,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 18:19:06] local.INFO: DEBUG: GPS processor result {"connection_id":144191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554695,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:19:06] local.INFO: GPS data processed {"connection_id":144191,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:19:06] local.INFO: Acknowledgment sent {"connection_id":144191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:19:09] local.INFO: TCP Data received {"connection_id":145472,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:19:09] local.INFO: Processing buffer {"connection_id":145472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:19:09] local.INFO: IMEI packet received {"connection_id":145472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 18:19:09] local.INFO: IMEI acknowledgment sent {"connection_id":145472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:19:11] local.INFO: TCP Data received {"connection_id":145472,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:19:11] local.INFO: Processing buffer {"connection_id":145472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:19:11] local.INFO: IMEI packet received {"connection_id":145472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 18:19:11] local.INFO: IMEI acknowledgment sent {"connection_id":145472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:19:13] local.INFO: TCP Data received {"connection_id":145471,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145471,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:19:13] local.INFO: Processing buffer {"connection_id":145471,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:19:13] local.INFO: IMEI packet received {"connection_id":145471,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 18:19:13] local.INFO: IMEI acknowledgment sent {"connection_id":145471,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:19:15] local.INFO: TCP Data received {"connection_id":145472,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:19:15] local.INFO: Processing buffer {"connection_id":145472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:19:15] local.INFO: IMEI packet received {"connection_id":145472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 18:19:15] local.INFO: IMEI acknowledgment sent {"connection_id":145472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:19:16] local.INFO: TCP Data received {"connection_id":145472,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fa39e6a80012da728c005dd57c8001d000b27..."} 
[2026-07-27 18:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa39e6a80012da728c005dd57c8001d000b27..."} 
[2026-07-27 18:19:16] local.INFO: Processing buffer {"connection_id":145472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa39e6a80012da728c005dd57c8001d000b27..."} 
[2026-07-27 18:19:16] local.INFO: Packet analysis {"connection_id":145472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa39e"} 
[2026-07-27 18:19:16] local.INFO: Extracted packet for processing {"connection_id":145472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa39e"} 
[2026-07-27 18:19:16] local.INFO: GPS Element Parsed {"raw_longitude":765929664,"raw_latitude":98392008,"longitude_deg":76.5929664,"latitude_deg":9.8392008,"altitude":29,"angle":11,"satellites":39,"speed":42,"hex_longitude":"2da728c0","hex_latitude":"05dd57c8","is_valid_coordinates":true} 
[2026-07-27 18:19:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:19:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000062208001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:19:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359238069729099776,"note":"Value kept but may cause issues"} 
[2026-07-27 18:19:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6402992745026408448,"note":"Value kept but may cause issues"} 
[2026-07-27 18:19:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:19:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785156496000,"timestamp_ms":1785156496000,"timestamp_seconds":1785156496,"priority":1,"record_length":96,"hex_timestamp":"0000019fa39e6a80"} 
[2026-07-27 18:19:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:19:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:19:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-27 18:19:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:19:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:19:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:19:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:19:16] local.INFO: Teltonika packet parsed successfully {"connection_id":145472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:19:16] local.INFO: Passing IMEI to GPS processor {"connection_id":145472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:19:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":145472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:19:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:19:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:19:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:19:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000062208001,"66":28006,"1":206,"83":17920,"24":42,"16":359238069729099776,"45":-6402992745026408448},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,83,24,16,45]} 
[2026-07-27 18:19:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:19:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:19:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000062208001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:19:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":17920,"description":"Unknown IO ID 83"} 
[2026-07-27 18:19:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359238069729099776,"km_value":359238069729099.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:19:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6402992745026408448,"description":"Unknown IO ID 45"} 
[2026-07-27 18:19:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000062208001,"power":28006,"imei":206,"unknown_83":17920,"ignition":42,"odometer":null,"unknown_45":-6402992745026408448}} 
[2026-07-27 18:19:16] local.INFO: DEBUG: GPS processor result {"connection_id":145472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:19:16] local.INFO: GPS data processed {"connection_id":145472,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:19:16] local.INFO: Acknowledgment sent {"connection_id":145472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:19:18] local.INFO: TCP Data received {"connection_id":145471,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145471,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:19:18] local.INFO: Processing buffer {"connection_id":145471,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:19:18] local.INFO: IMEI packet received {"connection_id":145471,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 18:19:18] local.INFO: IMEI acknowledgment sent {"connection_id":145471,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:19:18] local.INFO: TCP Data received {"connection_id":145471,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa39f1e30012d80aec005d35d280006000b2a..."} 
[2026-07-27 18:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145471,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa39f1e30012d80aec005d35d280006000b2a..."} 
[2026-07-27 18:19:18] local.INFO: Processing buffer {"connection_id":145471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa39f1e30012d80aec005d35d280006000b2a..."} 
[2026-07-27 18:19:18] local.INFO: Packet analysis {"connection_id":145471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa39f"} 
[2026-07-27 18:19:18] local.INFO: Extracted packet for processing {"connection_id":145471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa39f"} 
[2026-07-27 18:19:18] local.INFO: GPS Element Parsed {"raw_longitude":763408064,"raw_latitude":97738024,"longitude_deg":76.3408064,"latitude_deg":9.7738024,"altitude":6,"angle":11,"satellites":42,"speed":0,"hex_longitude":"2d80aec0","hex_latitude":"05d35d28","is_valid_coordinates":true} 
[2026-07-27 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-07-27 18:19:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999997696001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:19:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111774518128672768,"note":"Value kept but may cause issues"} 
[2026-07-27 18:19:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9174184259653654528,"note":"Value kept but may cause issues"} 
[2026-07-27 18:19:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:19:18] local.INFO: AVL Record Parsed {"raw_timestamp":1785156542000,"timestamp_ms":1785156542000,"timestamp_seconds":1785156542,"priority":1,"record_length":96,"hex_timestamp":"0000019fa39f1e30"} 
[2026-07-27 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-07-27 18:19: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-07-27 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":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-27 18:19:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 18:19:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:19:18] local.INFO: Teltonika packet parsed successfully {"connection_id":145471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:19:18] local.INFO: Passing IMEI to GPS processor {"connection_id":145471,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:19:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":145471,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:19:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:19:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 18:19:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 18:19:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999997696001,"66":2198,"167":206,"85":15104,"24":0,"16":111774518128672768,"45":-9174184259653654528},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-27 18:19:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 18:19:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 18:19:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999997696001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:19:18] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-27 18:19:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 18:19:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111774518128672768,"km_value":111774518128672.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:19:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9174184259653654528,"description":"Unknown IO ID 45"} 
[2026-07-27 18:19:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999997696001,"power":2198,"unknown_167":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9174184259653654528}} 
[2026-07-27 18:19:18] local.INFO: DEBUG: GPS processor result {"connection_id":145471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554697,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:19:18] local.INFO: GPS data processed {"connection_id":145471,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:19:18] local.INFO: Acknowledgment sent {"connection_id":145471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:19:23] local.INFO: TCP Data received {"connection_id":145471,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa39f1e30012d80aec005d35d280006000b2a..."} 
[2026-07-27 18:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145471,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa39f1e30012d80aec005d35d280006000b2a..."} 
[2026-07-27 18:19:23] local.INFO: Processing buffer {"connection_id":145471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa39f1e30012d80aec005d35d280006000b2a..."} 
[2026-07-27 18:19:23] local.INFO: Packet analysis {"connection_id":145471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa39f"} 
[2026-07-27 18:19:23] local.INFO: Extracted packet for processing {"connection_id":145471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa39f"} 
[2026-07-27 18:19:23] local.INFO: GPS Element Parsed {"raw_longitude":763408064,"raw_latitude":97738024,"longitude_deg":76.3408064,"latitude_deg":9.7738024,"altitude":6,"angle":11,"satellites":42,"speed":0,"hex_longitude":"2d80aec0","hex_latitude":"05d35d28","is_valid_coordinates":true} 
[2026-07-27 18:19:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:19:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999997696001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:19:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111774518128672768,"note":"Value kept but may cause issues"} 
[2026-07-27 18:19:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9174184259653654528,"note":"Value kept but may cause issues"} 
[2026-07-27 18:19:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:19:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785156542000,"timestamp_ms":1785156542000,"timestamp_seconds":1785156542,"priority":1,"record_length":96,"hex_timestamp":"0000019fa39f1e30"} 
[2026-07-27 18:19:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:19:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 18:19:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-27 18:19:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:19:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:19:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:19:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:19:23] local.INFO: Teltonika packet parsed successfully {"connection_id":145471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:19:23] local.INFO: Passing IMEI to GPS processor {"connection_id":145471,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:19:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":145471,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:19:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:19:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 18:19:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 18:19:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999997696001,"66":2198,"167":206,"85":15104,"24":0,"16":111774518128672768,"45":-9174184259653654528},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-27 18:19:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 18:19:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 18:19:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999997696001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:19:23] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-27 18:19:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 18:19:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111774518128672768,"km_value":111774518128672.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:19:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9174184259653654528,"description":"Unknown IO ID 45"} 
[2026-07-27 18:19:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999997696001,"power":2198,"unknown_167":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9174184259653654528}} 
[2026-07-27 18:19:23] local.INFO: DEBUG: GPS processor result {"connection_id":145471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554698,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:19:23] local.INFO: GPS data processed {"connection_id":145471,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:19:23] local.INFO: Acknowledgment sent {"connection_id":145471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:19:37] local.INFO: TCP Data received {"connection_id":144191,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa39e6698012d1967c0071fee200046011625..."} 
[2026-07-27 18:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144191,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa39e6698012d1967c0071fee200046011625..."} 
[2026-07-27 18:19:37] local.INFO: Processing buffer {"connection_id":144191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa39e6698012d1967c0071fee200046011625..."} 
[2026-07-27 18:19:37] local.INFO: Packet analysis {"connection_id":144191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa39e"} 
[2026-07-27 18:19:37] local.INFO: Extracted packet for processing {"connection_id":144191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa39e"} 
[2026-07-27 18:19:37] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":37,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 18:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000057344001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 18:19:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 18:19:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785156495000,"timestamp_ms":1785156495000,"timestamp_seconds":1785156495,"priority":1,"record_length":96,"hex_timestamp":"0000019fa39e6698"} 
[2026-07-27 18:19:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:19:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-27 18:19:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:19:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:19:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144191,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144191,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:19:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000057344001,"66":12319,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000057344001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:19:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:19:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:19:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:19:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 18:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000057344001,"power":12319,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 18:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":144191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554699,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:19:37] local.INFO: GPS data processed {"connection_id":144191,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:19:37] local.INFO: Acknowledgment sent {"connection_id":144191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:19:41] local.INFO: TCP Data received {"connection_id":143066,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:19:41] local.INFO: Processing buffer {"connection_id":143066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:19:41] local.INFO: IMEI packet received {"connection_id":143066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 18:19:41] local.INFO: IMEI acknowledgment sent {"connection_id":143066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:19:46] local.INFO: TCP Data received {"connection_id":143066,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:19:46] local.INFO: Processing buffer {"connection_id":143066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:19:46] local.INFO: IMEI packet received {"connection_id":143066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 18:19:46] local.INFO: IMEI acknowledgment sent {"connection_id":143066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:19:48] local.INFO: TCP Data received {"connection_id":143066,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fa39e7250012da7294005dd6008001d016528..."} 
[2026-07-27 18:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143066,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa39e7250012da7294005dd6008001d016528..."} 
[2026-07-27 18:19:48] local.INFO: Processing buffer {"connection_id":143066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa39e7250012da7294005dd6008001d016528..."} 
[2026-07-27 18:19:48] local.INFO: Packet analysis {"connection_id":143066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa39e"} 
[2026-07-27 18:19:48] local.INFO: Extracted packet for processing {"connection_id":143066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa39e"} 
[2026-07-27 18:19:48] local.INFO: GPS Element Parsed {"raw_longitude":765929792,"raw_latitude":98394120,"longitude_deg":76.5929792,"latitude_deg":9.839412,"altitude":29,"angle":357,"satellites":40,"speed":42,"hex_longitude":"2da72940","hex_latitude":"05dd6008","is_valid_coordinates":true} 
[2026-07-27 18: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-07-27 18:19:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000062976001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:19:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359238172808314880,"note":"Value kept but may cause issues"} 
[2026-07-27 18:19:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6401655738886273024,"note":"Value kept but may cause issues"} 
[2026-07-27 18:19:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:19:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785156498000,"timestamp_ms":1785156498000,"timestamp_seconds":1785156498,"priority":1,"record_length":96,"hex_timestamp":"0000019fa39e7250"} 
[2026-07-27 18:19:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:19:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-27 18:19:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18: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-07-27 18:19:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:19:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:19:48] local.INFO: Teltonika packet parsed successfully {"connection_id":143066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:19:48] local.INFO: Passing IMEI to GPS processor {"connection_id":143066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:19:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":143066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:19:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:19:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:19:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:19:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000062976001,"66":27908,"1":206,"83":17920,"24":42,"16":359238172808314880,"45":-6401655738886273024},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,83,24,16,45]} 
[2026-07-27 18:19:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:19:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:19:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000062976001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:19:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":17920,"description":"Unknown IO ID 83"} 
[2026-07-27 18:19:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359238172808314880,"km_value":359238172808314.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:19:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6401655738886273024,"description":"Unknown IO ID 45"} 
[2026-07-27 18:19:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000062976001,"power":27908,"imei":206,"unknown_83":17920,"ignition":42,"odometer":null,"unknown_45":-6401655738886273024}} 
[2026-07-27 18:19:48] local.INFO: DEBUG: GPS processor result {"connection_id":143066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:19:48] local.INFO: GPS data processed {"connection_id":143066,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:19:48] local.INFO: Acknowledgment sent {"connection_id":143066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:20:04] local.INFO: TCP Data received {"connection_id":143208,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143208,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:20:04] local.INFO: Processing buffer {"connection_id":143208,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:20:04] local.INFO: IMEI packet received {"connection_id":143208,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 18:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":143208,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:20:08] local.INFO: TCP Data received {"connection_id":143209,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143209,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:20:08] local.INFO: Processing buffer {"connection_id":143209,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:20:08] local.INFO: IMEI packet received {"connection_id":143209,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 18:20:08] local.INFO: IMEI acknowledgment sent {"connection_id":143209,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:20:10] local.INFO: TCP Data received {"connection_id":143208,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143208,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:20:10] local.INFO: Processing buffer {"connection_id":143208,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:20:10] local.INFO: IMEI packet received {"connection_id":143208,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 18:20:10] local.INFO: IMEI acknowledgment sent {"connection_id":143208,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:20:13] local.INFO: TCP Data received {"connection_id":143209,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143209,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:20:13] local.INFO: Processing buffer {"connection_id":143209,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:20:13] local.INFO: IMEI packet received {"connection_id":143209,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 18:20:13] local.INFO: IMEI acknowledgment sent {"connection_id":143209,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:20:13] local.INFO: TCP Data received {"connection_id":143209,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa39f1e30012d80aec005d35d280006000b2a..."} 
[2026-07-27 18:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa39f1e30012d80aec005d35d280006000b2a..."} 
[2026-07-27 18:20:13] local.INFO: Processing buffer {"connection_id":143209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa39f1e30012d80aec005d35d280006000b2a..."} 
[2026-07-27 18:20:13] local.INFO: Packet analysis {"connection_id":143209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa39f"} 
[2026-07-27 18:20:13] local.INFO: Extracted packet for processing {"connection_id":143209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa39f"} 
[2026-07-27 18:20:13] local.INFO: GPS Element Parsed {"raw_longitude":763408064,"raw_latitude":97738024,"longitude_deg":76.3408064,"latitude_deg":9.7738024,"altitude":6,"angle":11,"satellites":42,"speed":0,"hex_longitude":"2d80aec0","hex_latitude":"05d35d28","is_valid_coordinates":true} 
[2026-07-27 18:20:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:20:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456999997696001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:20:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111774518128672768,"note":"Value kept but may cause issues"} 
[2026-07-27 18:20:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9174184259653654528,"note":"Value kept but may cause issues"} 
[2026-07-27 18:20:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:20:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785156542000,"timestamp_ms":1785156542000,"timestamp_seconds":1785156542,"priority":1,"record_length":96,"hex_timestamp":"0000019fa39f1e30"} 
[2026-07-27 18:20:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:20:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 18:20:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-27 18:20:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:20:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:20:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:20:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:20:13] local.INFO: Teltonika packet parsed successfully {"connection_id":143209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:20:13] local.INFO: Passing IMEI to GPS processor {"connection_id":143209,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:20:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":143209,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:20:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:20:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 18:20:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 18:20:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456999997696001,"66":2198,"167":206,"85":15104,"24":0,"16":111774518128672768,"45":-9174184259653654528},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-27 18:20:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 18:20:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 18:20:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456999997696001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:20:13] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-27 18:20:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 18:20:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111774518128672768,"km_value":111774518128672.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:20:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9174184259653654528,"description":"Unknown IO ID 45"} 
[2026-07-27 18:20:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456999997696001,"power":2198,"unknown_167":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9174184259653654528}} 
[2026-07-27 18:20:13] local.INFO: DEBUG: GPS processor result {"connection_id":143209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554701,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:20:13] local.INFO: GPS data processed {"connection_id":143209,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:20:13] local.INFO: Acknowledgment sent {"connection_id":143209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:20:14] local.INFO: TCP Data received {"connection_id":143208,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa39eb8a0012d1967c0071fee200046011626..."} 
[2026-07-27 18:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa39eb8a0012d1967c0071fee200046011626..."} 
[2026-07-27 18:20:14] local.INFO: Processing buffer {"connection_id":143208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa39eb8a0012d1967c0071fee200046011626..."} 
[2026-07-27 18:20:14] local.INFO: Packet analysis {"connection_id":143208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa39e"} 
[2026-07-27 18:20:14] local.INFO: Extracted packet for processing {"connection_id":143208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa39e"} 
[2026-07-27 18:20:14] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":38,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 18:20:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:20:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000062720001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:20:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 18:20:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 18:20:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:20:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785156516000,"timestamp_ms":1785156516000,"timestamp_seconds":1785156516,"priority":1,"record_length":96,"hex_timestamp":"0000019fa39eb8a0"} 
[2026-07-27 18:20:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:20:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:20:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 18:20:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:20:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:20:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:20:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:20:14] local.INFO: Teltonika packet parsed successfully {"connection_id":143208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:20:14] local.INFO: Passing IMEI to GPS processor {"connection_id":143208,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:20:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":143208,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:20:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:20:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:20:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:20:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000062720001,"66":12515,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:20:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:20:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:20:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000062720001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:20:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:20:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:20:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:20:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 18:20:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000062720001,"power":12515,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 18:20:14] local.INFO: DEBUG: GPS processor result {"connection_id":143208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554702,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:20:14] local.INFO: GPS data processed {"connection_id":143208,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:20:14] local.INFO: Acknowledgment sent {"connection_id":143208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:20:15] local.INFO: TCP Data received {"connection_id":143208,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa39f0aa8012d1967c0071fee200046011627..."} 
[2026-07-27 18:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa39f0aa8012d1967c0071fee200046011627..."} 
[2026-07-27 18:20:15] local.INFO: Processing buffer {"connection_id":143208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa39f0aa8012d1967c0071fee200046011627..."} 
[2026-07-27 18:20:15] local.INFO: Packet analysis {"connection_id":143208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa39f"} 
[2026-07-27 18:20:15] local.INFO: Extracted packet for processing {"connection_id":143208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa39f"} 
[2026-07-27 18:20:15] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 18:20:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:20:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000068096001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:20:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 18:20:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 18:20: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-07-27 18:20:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785156537000,"timestamp_ms":1785156537000,"timestamp_seconds":1785156537,"priority":1,"record_length":96,"hex_timestamp":"0000019fa39f0aa8"} 
[2026-07-27 18:20:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:20:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:20:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-07-27 18:20:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:20:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:20:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:20:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:20:15] local.INFO: Teltonika packet parsed successfully {"connection_id":143208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:20:15] local.INFO: Passing IMEI to GPS processor {"connection_id":143208,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:20:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":143208,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:20:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:20:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:20:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:20:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000068096001,"66":12211,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:20:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:20:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:20:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000068096001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:20:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:20:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:20:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:20:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 18:20:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000068096001,"power":12211,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 18:20:15] local.INFO: DEBUG: GPS processor result {"connection_id":143208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554703,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:20:15] local.INFO: GPS data processed {"connection_id":143208,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:20:15] local.INFO: Acknowledgment sent {"connection_id":143208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:20:32] local.INFO: TCP Data received {"connection_id":144192,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:20:32] local.INFO: Processing buffer {"connection_id":144192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:20:32] local.INFO: IMEI packet received {"connection_id":144192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 18:20:32] local.INFO: IMEI acknowledgment sent {"connection_id":144192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:20:41] local.INFO: TCP Data received {"connection_id":144192,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:20:41] local.INFO: Processing buffer {"connection_id":144192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:20:41] local.INFO: IMEI packet received {"connection_id":144192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 18:20:41] local.INFO: IMEI acknowledgment sent {"connection_id":144192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:20:42] local.INFO: TCP Data received {"connection_id":144192,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fa39f9360012da6e34005de7dc8001a015f25..."} 
[2026-07-27 18:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa39f9360012da6e34005de7dc8001a015f25..."} 
[2026-07-27 18:20:42] local.INFO: Processing buffer {"connection_id":144192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa39f9360012da6e34005de7dc8001a015f25..."} 
[2026-07-27 18:20:42] local.INFO: Packet analysis {"connection_id":144192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa39f"} 
[2026-07-27 18:20:42] local.INFO: Extracted packet for processing {"connection_id":144192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa39f"} 
[2026-07-27 18:20:42] local.INFO: GPS Element Parsed {"raw_longitude":765911872,"raw_latitude":98467272,"longitude_deg":76.5911872,"latitude_deg":9.8467272,"altitude":26,"angle":351,"satellites":37,"speed":50,"hex_longitude":"2da6e340","hex_latitude":"05de7dc8","is_valid_coordinates":true} 
[2026-07-27 18: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-07-27 18:20:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000080384001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:20:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359241879365091328,"note":"Value kept but may cause issues"} 
[2026-07-27 18:20:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6418966449937190912,"note":"Value kept but may cause issues"} 
[2026-07-27 18:20:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:20:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785156572000,"timestamp_ms":1785156572000,"timestamp_seconds":1785156572,"priority":1,"record_length":96,"hex_timestamp":"0000019fa39f9360"} 
[2026-07-27 18:20:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:20:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-27 18:20:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18: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-07-27 18:20:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:20:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:20:42] local.INFO: Teltonika packet parsed successfully {"connection_id":144192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:20:42] local.INFO: Passing IMEI to GPS processor {"connection_id":144192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:20:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":144192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18: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-07-27 18:20:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:20:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:20:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000080384001,"66":28006,"1":206,"83":17920,"24":50,"16":359241879365091328,"45":-6418966449937190912},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,83,24,16,45]} 
[2026-07-27 18:20:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:20:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:20:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000080384001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:20:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":17920,"description":"Unknown IO ID 83"} 
[2026-07-27 18:20:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359241879365091328,"km_value":359241879365091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:20:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6418966449937190912,"description":"Unknown IO ID 45"} 
[2026-07-27 18:20:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000080384001,"power":28006,"imei":206,"unknown_83":17920,"ignition":50,"odometer":null,"unknown_45":-6418966449937190912}} 
[2026-07-27 18:20:42] local.INFO: DEBUG: GPS processor result {"connection_id":144192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:20:42] local.INFO: GPS data processed {"connection_id":144192,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:20:42] local.INFO: Acknowledgment sent {"connection_id":144192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:20:59] local.INFO: TCP Data received {"connection_id":143067,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143067,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:20:59] local.INFO: Processing buffer {"connection_id":143067,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:20:59] local.INFO: IMEI packet received {"connection_id":143067,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 18:20:59] local.INFO: IMEI acknowledgment sent {"connection_id":143067,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:21:00] local.INFO: TCP Data received {"connection_id":143067,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143067,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:21:00] local.INFO: Processing buffer {"connection_id":143067,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:21:00] local.INFO: IMEI packet received {"connection_id":143067,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 18:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":143067,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:21:04] local.INFO: TCP Data received {"connection_id":143067,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143067,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:21:05] local.INFO: Processing buffer {"connection_id":143067,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:21:05] local.INFO: IMEI packet received {"connection_id":143067,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 18:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":143067,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:21:06] local.INFO: TCP Data received {"connection_id":143067,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa39f5cb0012d1967c0071fee200046011625..."} 
[2026-07-27 18:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa39f5cb0012d1967c0071fee200046011625..."} 
[2026-07-27 18:21:06] local.INFO: Processing buffer {"connection_id":143067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa39f5cb0012d1967c0071fee200046011625..."} 
[2026-07-27 18:21:06] local.INFO: Packet analysis {"connection_id":143067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa39f"} 
[2026-07-27 18:21:06] local.INFO: Extracted packet for processing {"connection_id":143067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa39f"} 
[2026-07-27 18:21:06] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":37,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 18:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:21:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000073472001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:21:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 18:21:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 18:21:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:21:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785156558000,"timestamp_ms":1785156558000,"timestamp_seconds":1785156558,"priority":1,"record_length":96,"hex_timestamp":"0000019fa39f5cb0"} 
[2026-07-27 18:21:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:21:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-27 18:21:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:21:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:21:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:21:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:21:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:21:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143067,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:21:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143067,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:21:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:21:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:21:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:21:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000073472001,"66":12461,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:21:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:21:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:21:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000073472001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:21:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:21:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:21:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:21:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 18:21:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000073472001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 18:21:06] local.INFO: DEBUG: GPS processor result {"connection_id":143067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554705,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:21:06] local.INFO: GPS data processed {"connection_id":143067,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:21:06] local.INFO: Acknowledgment sent {"connection_id":143067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:21:13] local.INFO: TCP Data received {"connection_id":144192,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3a05a98012da71e0005df2f080026015425..."} 
[2026-07-27 18:21:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3a05a98012da71e0005df2f080026015425..."} 
[2026-07-27 18:21:13] local.INFO: Processing buffer {"connection_id":144192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3a05a98012da71e0005df2f080026015425..."} 
[2026-07-27 18:21:13] local.INFO: Packet analysis {"connection_id":144192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3a0"} 
[2026-07-27 18:21:13] local.INFO: Extracted packet for processing {"connection_id":144192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3a0"} 
[2026-07-27 18:21:13] local.INFO: GPS Element Parsed {"raw_longitude":765926912,"raw_latitude":98512648,"longitude_deg":76.5926912,"latitude_deg":9.8512648,"altitude":38,"angle":340,"satellites":37,"speed":36,"hex_longitude":"2da71e00","hex_latitude":"05df2f08","is_valid_coordinates":true} 
[2026-07-27 18:21:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:21:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000092928001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:21:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359244482115272704,"note":"Value kept but may cause issues"} 
[2026-07-27 18:21:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6401163157648435200,"note":"Value kept but may cause issues"} 
[2026-07-27 18:21:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:21:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785156623000,"timestamp_ms":1785156623000,"timestamp_seconds":1785156623,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3a05a98"} 
[2026-07-27 18:21:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:21:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:21:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-27 18:21:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:21:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:21:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:21:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:21:13] local.INFO: Teltonika packet parsed successfully {"connection_id":144192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:21:13] local.INFO: Passing IMEI to GPS processor {"connection_id":144192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:21:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":144192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:21: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-07-27 18:21:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:21:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:21:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000092928001,"66":27908,"71":206,"88":19968,"24":36,"16":359244482115272704,"45":-6401163157648435200},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,88,24,16,45]} 
[2026-07-27 18:21:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:21:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:21:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000092928001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:21:13] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-27 18:21:13] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 18:21:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359244482115272704,"km_value":359244482115272.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:21:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6401163157648435200,"description":"Unknown IO ID 45"} 
[2026-07-27 18:21:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000092928001,"power":27908,"unknown_71":206,"unknown_88":19968,"ignition":36,"odometer":null,"unknown_45":-6401163157648435200}} 
[2026-07-27 18:21:13] local.INFO: DEBUG: GPS processor result {"connection_id":144192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:21:13] local.INFO: GPS data processed {"connection_id":144192,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:21:13] local.INFO: Acknowledgment sent {"connection_id":144192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:21:31] local.INFO: TCP Data received {"connection_id":144193,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:21:31] local.INFO: Processing buffer {"connection_id":144193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:21:31] local.INFO: IMEI packet received {"connection_id":144193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 18:21:31] local.INFO: IMEI acknowledgment sent {"connection_id":144193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:21:36] local.INFO: TCP Data received {"connection_id":144193,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:21:36] local.INFO: Processing buffer {"connection_id":144193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:21:36] local.INFO: IMEI packet received {"connection_id":144193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 18:21:36] local.INFO: IMEI acknowledgment sent {"connection_id":144193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:21:37] local.INFO: TCP Data received {"connection_id":144193,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3a075f0012da716c005df44f80028015f28..."} 
[2026-07-27 18:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3a075f0012da716c005df44f80028015f28..."} 
[2026-07-27 18:21:37] local.INFO: Processing buffer {"connection_id":144193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3a075f0012da716c005df44f80028015f28..."} 
[2026-07-27 18:21:37] local.INFO: Packet analysis {"connection_id":144193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3a0"} 
[2026-07-27 18:21:37] local.INFO: Extracted packet for processing {"connection_id":144193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3a0"} 
[2026-07-27 18:21:37] local.INFO: GPS Element Parsed {"raw_longitude":765925056,"raw_latitude":98518264,"longitude_deg":76.5925056,"latitude_deg":9.8518264,"altitude":40,"angle":351,"satellites":40,"speed":29,"hex_longitude":"2da716c0","hex_latitude":"05df44f8","is_valid_coordinates":true} 
[2026-07-27 18:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:21:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000095488001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:21:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359244769878081536,"note":"Value kept but may cause issues"} 
[2026-07-27 18:21:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6404681594855028736,"note":"Value kept but may cause issues"} 
[2026-07-27 18:21:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:21:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785156630000,"timestamp_ms":1785156630000,"timestamp_seconds":1785156630,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3a075f0"} 
[2026-07-27 18:21:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:21:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-27 18:21:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:21:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:21:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:21:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:21:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:21:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:21:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:21:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:21:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:21:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:21:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000095488001,"66":28028,"71":206,"88":19968,"24":29,"16":359244769878081536,"45":-6404681594855028736},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,88,24,16,45]} 
[2026-07-27 18:21:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:21:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:21:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000095488001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:21:37] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-27 18:21:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 18:21:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359244769878081536,"km_value":359244769878081.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:21:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6404681594855028736,"description":"Unknown IO ID 45"} 
[2026-07-27 18:21:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000095488001,"power":28028,"unknown_71":206,"unknown_88":19968,"ignition":29,"odometer":null,"unknown_45":-6404681594855028736}} 
[2026-07-27 18:21:37] local.INFO: DEBUG: GPS processor result {"connection_id":144193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:21:37] local.INFO: GPS data processed {"connection_id":144193,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:21:37] local.INFO: Acknowledgment sent {"connection_id":144193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:21:38] local.INFO: TCP Data received {"connection_id":143067,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa39faeb8012d1967c0071fee200046011627..."} 
[2026-07-27 18:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa39faeb8012d1967c0071fee200046011627..."} 
[2026-07-27 18:21:38] local.INFO: Processing buffer {"connection_id":143067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa39faeb8012d1967c0071fee200046011627..."} 
[2026-07-27 18:21:38] local.INFO: Packet analysis {"connection_id":143067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa39f"} 
[2026-07-27 18:21:38] local.INFO: Extracted packet for processing {"connection_id":143067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa39f"} 
[2026-07-27 18:21:38] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 18:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:21:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000078848001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:21:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 18:21:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 18:21:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:21:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785156579000,"timestamp_ms":1785156579000,"timestamp_seconds":1785156579,"priority":1,"record_length":96,"hex_timestamp":"0000019fa39faeb8"} 
[2026-07-27 18:21:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:21:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-27 18:21: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-07-27 18:21:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:21:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:21:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:21:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:21:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143067,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:21:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143067,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:21:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:21:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:21:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:21:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000078848001,"66":12461,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:21:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:21:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:21:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000078848001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:21:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:21:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:21:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:21:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 18:21:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000078848001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 18:21:38] local.INFO: DEBUG: GPS processor result {"connection_id":143067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554708,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:21:38] local.INFO: GPS data processed {"connection_id":143067,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:21:38] local.INFO: Acknowledgment sent {"connection_id":143067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:22:00] local.INFO: TCP Data received {"connection_id":143210,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143210,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:22:00] local.INFO: Processing buffer {"connection_id":143210,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:22:00] local.INFO: IMEI packet received {"connection_id":143210,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 18:22:00] local.INFO: IMEI acknowledgment sent {"connection_id":143210,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:22:03] local.INFO: TCP Data received {"connection_id":143210,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143210,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:22:03] local.INFO: Processing buffer {"connection_id":143210,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:22:03] local.INFO: IMEI packet received {"connection_id":143210,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 18:22:03] local.INFO: IMEI acknowledgment sent {"connection_id":143210,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:22:04] local.INFO: TCP Data received {"connection_id":143210,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3a000c0012d1967c0071fee200046011626..."} 
[2026-07-27 18:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3a000c0012d1967c0071fee200046011626..."} 
[2026-07-27 18:22:04] local.INFO: Processing buffer {"connection_id":143210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3a000c0012d1967c0071fee200046011626..."} 
[2026-07-27 18:22:04] local.INFO: Packet analysis {"connection_id":143210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3a0"} 
[2026-07-27 18:22:04] local.INFO: Extracted packet for processing {"connection_id":143210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3a0"} 
[2026-07-27 18:22:04] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":38,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 18: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-07-27 18:22:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000084224001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:22:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 18:22:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 18:22:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:22:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785156600000,"timestamp_ms":1785156600000,"timestamp_seconds":1785156600,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3a000c0"} 
[2026-07-27 18:22:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:22:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:22:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-27 18:22:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18: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-07-27 18:22:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:22:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:22:04] local.INFO: Teltonika packet parsed successfully {"connection_id":143210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:22:04] local.INFO: Passing IMEI to GPS processor {"connection_id":143210,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:22:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":143210,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:22:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:22:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:22:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:22:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000084224001,"66":12504,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:22:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:22:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:22:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000084224001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:22:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:22:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:22:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:22:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 18:22:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000084224001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 18:22:04] local.INFO: DEBUG: GPS processor result {"connection_id":143210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554709,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:22:04] local.INFO: GPS data processed {"connection_id":143210,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:22:04] local.INFO: Acknowledgment sent {"connection_id":143210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:22:08] local.INFO: TCP Data received {"connection_id":144193,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3a081a8012da7168005df4e000029000527..."} 
[2026-07-27 18:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3a081a8012da7168005df4e000029000527..."} 
[2026-07-27 18:22:08] local.INFO: Processing buffer {"connection_id":144193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3a081a8012da7168005df4e000029000527..."} 
[2026-07-27 18:22:08] local.INFO: Packet analysis {"connection_id":144193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3a0"} 
[2026-07-27 18:22:08] local.INFO: Extracted packet for processing {"connection_id":144193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3a0"} 
[2026-07-27 18:22:08] local.INFO: GPS Element Parsed {"raw_longitude":765924992,"raw_latitude":98520576,"longitude_deg":76.5924992,"latitude_deg":9.8520576,"altitude":41,"angle":5,"satellites":39,"speed":31,"hex_longitude":"2da71680","hex_latitude":"05df4e00","is_valid_coordinates":true} 
[2026-07-27 18:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:22:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000097280001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:22:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359244881547231232,"note":"Value kept but may cause issues"} 
[2026-07-27 18:22:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6406722288434743296,"note":"Value kept but may cause issues"} 
[2026-07-27 18:22:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:22:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785156633000,"timestamp_ms":1785156633000,"timestamp_seconds":1785156633,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3a081a8"} 
[2026-07-27 18:22:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:22:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-27 18:22:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:22:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:22:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:22:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:22:08] local.INFO: Teltonika packet parsed successfully {"connection_id":144193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:22:08] local.INFO: Passing IMEI to GPS processor {"connection_id":144193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:22:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":144193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:22:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:22:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:22:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:22:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000097280001,"66":27365,"71":206,"88":19968,"24":31,"16":359244881547231232,"45":-6406722288434743296},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,88,24,16,45]} 
[2026-07-27 18:22:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:22:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:22:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000097280001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:22:09] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-27 18:22:09] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 18:22:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359244881547231232,"km_value":359244881547231.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:22:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6406722288434743296,"description":"Unknown IO ID 45"} 
[2026-07-27 18:22:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000097280001,"power":27365,"unknown_71":206,"unknown_88":19968,"ignition":31,"odometer":null,"unknown_45":-6406722288434743296}} 
[2026-07-27 18:22:09] local.INFO: DEBUG: GPS processor result {"connection_id":144193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:22:09] local.INFO: GPS data processed {"connection_id":144193,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:22:09] local.INFO: Acknowledgment sent {"connection_id":144193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:22:31] local.INFO: TCP Data received {"connection_id":143068,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:22:31] local.INFO: Processing buffer {"connection_id":143068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:22:31] local.INFO: IMEI packet received {"connection_id":143068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 18:22:31] local.INFO: IMEI acknowledgment sent {"connection_id":143068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:22:36] local.INFO: TCP Data received {"connection_id":143210,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3a052c8012d1967c0071fee200046011624..."} 
[2026-07-27 18:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3a052c8012d1967c0071fee200046011624..."} 
[2026-07-27 18:22:36] local.INFO: Processing buffer {"connection_id":143210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3a052c8012d1967c0071fee200046011624..."} 
[2026-07-27 18:22:36] local.INFO: Packet analysis {"connection_id":143210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3a0"} 
[2026-07-27 18:22:36] local.INFO: Extracted packet for processing {"connection_id":143210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3a0"} 
[2026-07-27 18:22:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":36,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 18:22:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:22:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000089600001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:22:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 18:22:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 18:22:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:22:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785156621000,"timestamp_ms":1785156621000,"timestamp_seconds":1785156621,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3a052c8"} 
[2026-07-27 18:22:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:22:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:22:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-27 18:22:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:22:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:22:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:22:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:22:36] local.INFO: Teltonika packet parsed successfully {"connection_id":143210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:22:36] local.INFO: Passing IMEI to GPS processor {"connection_id":143210,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:22:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":143210,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:22:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:22:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:22:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:22:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000089600001,"66":12461,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:22:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:22:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:22:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000089600001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:22:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:22:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:22:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:22:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 18:22:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000089600001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 18:22:36] local.INFO: DEBUG: GPS processor result {"connection_id":143210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554711,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:22:36] local.INFO: GPS data processed {"connection_id":143210,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:22:36] local.INFO: Acknowledgment sent {"connection_id":143210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:22:36] local.INFO: TCP Data received {"connection_id":143068,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:22:36] local.INFO: Processing buffer {"connection_id":143068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:22:36] local.INFO: IMEI packet received {"connection_id":143068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 18:22:36] local.INFO: IMEI acknowledgment sent {"connection_id":143068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:22:37] local.INFO: TCP Data received {"connection_id":143068,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3a09530012da7198005df5cc8002a001129..."} 
[2026-07-27 18:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143068,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3a09530012da7198005df5cc8002a001129..."} 
[2026-07-27 18:22:37] local.INFO: Processing buffer {"connection_id":143068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3a09530012da7198005df5cc8002a001129..."} 
[2026-07-27 18:22:37] local.INFO: Packet analysis {"connection_id":143068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3a0"} 
[2026-07-27 18:22:37] local.INFO: Extracted packet for processing {"connection_id":143068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3a0"} 
[2026-07-27 18:22:37] local.INFO: GPS Element Parsed {"raw_longitude":765925760,"raw_latitude":98524360,"longitude_deg":76.592576,"latitude_deg":9.852436,"altitude":42,"angle":17,"satellites":41,"speed":30,"hex_longitude":"2da71980","hex_latitude":"05df5cc8","is_valid_coordinates":true} 
[2026-07-27 18:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:22:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000098048001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:22:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359245070525792256,"note":"Value kept but may cause issues"} 
[2026-07-27 18:22:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6406792657178329088,"note":"Value kept but may cause issues"} 
[2026-07-27 18:22:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:22:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785156638000,"timestamp_ms":1785156638000,"timestamp_seconds":1785156638,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3a09530"} 
[2026-07-27 18:22:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:22:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-27 18:22:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:22:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:22:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:22:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:22:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:22:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:22:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:22:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:22:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:22:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:22:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000098048001,"66":27995,"71":206,"88":19968,"24":30,"16":359245070525792256,"45":-6406792657178329088},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,88,24,16,45]} 
[2026-07-27 18:22:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:22:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:22:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000098048001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:22:37] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-27 18:22:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 18:22:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359245070525792256,"km_value":359245070525792.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:22:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6406792657178329088,"description":"Unknown IO ID 45"} 
[2026-07-27 18:22:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000098048001,"power":27995,"unknown_71":206,"unknown_88":19968,"ignition":30,"odometer":null,"unknown_45":-6406792657178329088}} 
[2026-07-27 18:22:37] local.INFO: DEBUG: GPS processor result {"connection_id":143068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:22:37] local.INFO: GPS data processed {"connection_id":143068,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:22:37] local.INFO: Acknowledgment sent {"connection_id":143068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:22:59] local.INFO: TCP Data received {"connection_id":144194,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144194,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:22:59] local.INFO: Processing buffer {"connection_id":144194,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:22:59] local.INFO: IMEI packet received {"connection_id":144194,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 18:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":144194,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:23:04] local.INFO: TCP Data received {"connection_id":144194,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144194,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:23:04] local.INFO: Processing buffer {"connection_id":144194,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:23:04] local.INFO: IMEI packet received {"connection_id":144194,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 18:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":144194,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:23:06] local.INFO: TCP Data received {"connection_id":144194,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3a0a4d0012d1967c0071fee200046011623..."} 
[2026-07-27 18:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144194,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3a0a4d0012d1967c0071fee200046011623..."} 
[2026-07-27 18:23:06] local.INFO: Processing buffer {"connection_id":144194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3a0a4d0012d1967c0071fee200046011623..."} 
[2026-07-27 18:23:06] local.INFO: Packet analysis {"connection_id":144194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3a0"} 
[2026-07-27 18:23:06] local.INFO: Extracted packet for processing {"connection_id":144194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3a0"} 
[2026-07-27 18:23:06] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":35,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 18:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:23:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000094976001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:23:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 18:23:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 18:23:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:23:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785156642000,"timestamp_ms":1785156642000,"timestamp_seconds":1785156642,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3a0a4d0"} 
[2026-07-27 18:23:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:23:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-27 18:23:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:23:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:23:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:23:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:23:06] local.INFO: Teltonika packet parsed successfully {"connection_id":144194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:23:06] local.INFO: Passing IMEI to GPS processor {"connection_id":144194,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:23:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":144194,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:23:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:23:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:23:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:23:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000094976001,"66":12504,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:23:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:23:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:23:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000094976001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:23:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:23:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:23:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:23:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 18:23:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000094976001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 18:23:06] local.INFO: DEBUG: GPS processor result {"connection_id":144194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554713,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:23:06] local.INFO: GPS data processed {"connection_id":144194,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:23:06] local.INFO: Acknowledgment sent {"connection_id":144194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:23:09] local.INFO: TCP Data received {"connection_id":143068,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3a217e8012da75c0005e04bf00025004f28..."} 
[2026-07-27 18:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143068,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3a217e8012da75c0005e04bf00025004f28..."} 
[2026-07-27 18:23:09] local.INFO: Processing buffer {"connection_id":143068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3a217e8012da75c0005e04bf00025004f28..."} 
[2026-07-27 18:23:09] local.INFO: Packet analysis {"connection_id":143068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3a2"} 
[2026-07-27 18:23:09] local.INFO: Extracted packet for processing {"connection_id":143068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3a2"} 
[2026-07-27 18:23:09] local.INFO: GPS Element Parsed {"raw_longitude":765942784,"raw_latitude":98585584,"longitude_deg":76.5942784,"latitude_deg":9.8585584,"altitude":37,"angle":79,"satellites":40,"speed":10,"hex_longitude":"2da75c00","hex_latitude":"05e04bf0","is_valid_coordinates":true} 
[2026-07-27 18:23:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:23:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000124416001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:23:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359248197261983744,"note":"Value kept but may cause issues"} 
[2026-07-27 18:23:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6387511621257021440,"note":"Value kept but may cause issues"} 
[2026-07-27 18:23:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:23:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785156737000,"timestamp_ms":1785156737000,"timestamp_seconds":1785156737,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3a217e8"} 
[2026-07-27 18:23:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:23:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18: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":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-27 18:23:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2740,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:23:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:23:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:23:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:23:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:23:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:23:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:23:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:23:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:23:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:23:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000124416001,"66":27615,"71":206,"88":19968,"24":10,"16":359248197261983744,"45":-6387511621257021440},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,88,24,16,45]} 
[2026-07-27 18:23:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:23:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:23:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000124416001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:23:09] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-27 18:23:09] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 18:23:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359248197261983744,"km_value":359248197261983.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:23:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6387511621257021440,"description":"Unknown IO ID 45"} 
[2026-07-27 18:23:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000124416001,"power":27615,"unknown_71":206,"unknown_88":19968,"ignition":10,"odometer":null,"unknown_45":-6387511621257021440}} 
[2026-07-27 18:23:09] local.INFO: DEBUG: GPS processor result {"connection_id":143068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:23:09] local.INFO: GPS data processed {"connection_id":143068,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:23:09] local.INFO: Acknowledgment sent {"connection_id":143068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:23:35] local.INFO: TCP Data received {"connection_id":143069,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:23:35] local.INFO: Processing buffer {"connection_id":143069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:23:35] local.INFO: IMEI packet received {"connection_id":143069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 18:23:35] local.INFO: IMEI acknowledgment sent {"connection_id":143069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:23:36] local.INFO: TCP Data received {"connection_id":143069,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:23:36] local.INFO: Processing buffer {"connection_id":143069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:23:36] local.INFO: IMEI packet received {"connection_id":143069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 18:23:36] local.INFO: IMEI acknowledgment sent {"connection_id":143069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:23:37] local.INFO: TCP Data received {"connection_id":143069,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3a21bd0012da75cc005e04be00025006029..."} 
[2026-07-27 18:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3a21bd0012da75cc005e04be00025006029..."} 
[2026-07-27 18:23:37] local.INFO: Processing buffer {"connection_id":143069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3a21bd0012da75cc005e04be00025006029..."} 
[2026-07-27 18:23:37] local.INFO: Packet analysis {"connection_id":143069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3a2"} 
[2026-07-27 18:23:37] local.INFO: Extracted packet for processing {"connection_id":143069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3a2"} 
[2026-07-27 18:23:37] local.INFO: GPS Element Parsed {"raw_longitude":765942976,"raw_latitude":98585568,"longitude_deg":76.5942976,"latitude_deg":9.8585568,"altitude":37,"angle":96,"satellites":41,"speed":12,"hex_longitude":"2da75cc0","hex_latitude":"05e04be0","is_valid_coordinates":true} 
[2026-07-27 18:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000124672001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359248210146885632,"note":"Value kept but may cause issues"} 
[2026-07-27 18:23:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6387230146280296448,"note":"Value kept but may cause issues"} 
[2026-07-27 18:23:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785156738000,"timestamp_ms":1785156738000,"timestamp_seconds":1785156738,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3a21bd0"} 
[2026-07-27 18:23:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:23:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-27 18:23:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2740,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:23:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:23:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:23:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000124672001,"66":27908,"71":206,"88":19968,"24":12,"16":359248210146885632,"45":-6387230146280296448},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,88,24,16,45]} 
[2026-07-27 18:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:23:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:23:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000124672001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:23:37] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-27 18:23:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 18:23:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359248210146885632,"km_value":359248210146885.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:23:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6387230146280296448,"description":"Unknown IO ID 45"} 
[2026-07-27 18:23:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000124672001,"power":27908,"unknown_71":206,"unknown_88":19968,"ignition":12,"odometer":null,"unknown_45":-6387230146280296448}} 
[2026-07-27 18:23:37] local.INFO: DEBUG: GPS processor result {"connection_id":143069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:23:37] local.INFO: GPS data processed {"connection_id":143069,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:23:37] local.INFO: Acknowledgment sent {"connection_id":143069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:23:38] local.INFO: TCP Data received {"connection_id":144194,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3a0f6d8012d1967c0071fee200046011625..."} 
[2026-07-27 18:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144194,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3a0f6d8012d1967c0071fee200046011625..."} 
[2026-07-27 18:23:38] local.INFO: Processing buffer {"connection_id":144194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3a0f6d8012d1967c0071fee200046011625..."} 
[2026-07-27 18:23:38] local.INFO: Packet analysis {"connection_id":144194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3a0"} 
[2026-07-27 18:23:38] local.INFO: Extracted packet for processing {"connection_id":144194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3a0"} 
[2026-07-27 18:23:38] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":37,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 18:23:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:23:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000100352001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:23:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 18:23:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 18:23:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:23:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785156663000,"timestamp_ms":1785156663000,"timestamp_seconds":1785156663,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3a0f6d8"} 
[2026-07-27 18:23:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:23:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:23:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-27 18:23:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:23:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:23:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:23:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:23:38] local.INFO: Teltonika packet parsed successfully {"connection_id":144194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:23:38] local.INFO: Passing IMEI to GPS processor {"connection_id":144194,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:23:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":144194,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:23:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:23:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:23:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:23:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000100352001,"66":12504,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:23:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:23:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:23:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000100352001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:23:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:23:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:23:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:23:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 18:23:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000100352001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 18:23:38] local.INFO: DEBUG: GPS processor result {"connection_id":144194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554716,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:23:38] local.INFO: GPS data processed {"connection_id":144194,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:23:38] local.INFO: Acknowledgment sent {"connection_id":144194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:23:59] local.INFO: TCP Data received {"connection_id":145473,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145473,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:23:59] local.INFO: Processing buffer {"connection_id":145473,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:23:59] local.INFO: IMEI packet received {"connection_id":145473,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 18:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":145473,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:24:04] local.INFO: TCP Data received {"connection_id":145473,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145473,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:24:04] local.INFO: Processing buffer {"connection_id":145473,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:24:04] local.INFO: IMEI packet received {"connection_id":145473,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 18:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":145473,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:24:06] local.INFO: TCP Data received {"connection_id":145473,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3a148e0012d1967c0071fee200046011623..."} 
[2026-07-27 18:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3a148e0012d1967c0071fee200046011623..."} 
[2026-07-27 18:24:06] local.INFO: Processing buffer {"connection_id":145473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3a148e0012d1967c0071fee200046011623..."} 
[2026-07-27 18:24:06] local.INFO: Packet analysis {"connection_id":145473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3a1"} 
[2026-07-27 18:24:06] local.INFO: Extracted packet for processing {"connection_id":145473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3a1"} 
[2026-07-27 18:24:06] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":35,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 18:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000105728001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 18:24:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 18:24:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785156684000,"timestamp_ms":1785156684000,"timestamp_seconds":1785156684,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3a148e0"} 
[2026-07-27 18:24:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:24:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-27 18:24:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:24:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:24:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":145473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":145473,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":145473,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:24:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000105728001,"66":12428,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000105728001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:24:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:24:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:24:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 18:24:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000105728001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 18:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":145473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554717,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:24:06] local.INFO: GPS data processed {"connection_id":145473,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:24:06] local.INFO: Acknowledgment sent {"connection_id":145473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:24:08] local.INFO: TCP Data received {"connection_id":143069,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3a21fb8012da75e4005e04b880024006c29..."} 
[2026-07-27 18:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3a21fb8012da75e4005e04b880024006c29..."} 
[2026-07-27 18:24:08] local.INFO: Processing buffer {"connection_id":143069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3a21fb8012da75e4005e04b880024006c29..."} 
[2026-07-27 18:24:08] local.INFO: Packet analysis {"connection_id":143069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3a2"} 
[2026-07-27 18:24:08] local.INFO: Extracted packet for processing {"connection_id":143069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3a2"} 
[2026-07-27 18:24:08] local.INFO: GPS Element Parsed {"raw_longitude":765943360,"raw_latitude":98585480,"longitude_deg":76.594336,"latitude_deg":9.858548,"altitude":36,"angle":108,"satellites":41,"speed":14,"hex_longitude":"2da75e40","hex_latitude":"05e04b88","is_valid_coordinates":true} 
[2026-07-27 18:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:24:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000124928001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:24:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359248227326754816,"note":"Value kept but may cause issues"} 
[2026-07-27 18:24:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6387019040047767552,"note":"Value kept but may cause issues"} 
[2026-07-27 18:24:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:24:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785156739000,"timestamp_ms":1785156739000,"timestamp_seconds":1785156739,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3a21fb8"} 
[2026-07-27 18:24:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:24:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-27 18:24:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:24:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:24:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:24:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:24:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:24:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:24:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:24:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:24:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:24:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:24:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000124928001,"66":27908,"71":206,"88":19968,"24":14,"16":359248227326754816,"45":-6387019040047767552},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,88,24,16,45]} 
[2026-07-27 18:24:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:24:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:24:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000124928001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:24:08] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-27 18:24:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 18:24:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359248227326754816,"km_value":359248227326754.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:24:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6387019040047767552,"description":"Unknown IO ID 45"} 
[2026-07-27 18:24:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000124928001,"power":27908,"unknown_71":206,"unknown_88":19968,"ignition":14,"odometer":null,"unknown_45":-6387019040047767552}} 
[2026-07-27 18:24:08] local.INFO: DEBUG: GPS processor result {"connection_id":143069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:24:08] local.INFO: GPS data processed {"connection_id":143069,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:24:08] local.INFO: Acknowledgment sent {"connection_id":143069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:24:36] local.INFO: TCP Data received {"connection_id":143211,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:24:36] local.INFO: Processing buffer {"connection_id":143211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:24:36] local.INFO: IMEI packet received {"connection_id":143211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 18:24:36] local.INFO: IMEI acknowledgment sent {"connection_id":143211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:24:38] local.INFO: TCP Data received {"connection_id":145473,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3a19ae8012d1967c0071fee200046011625..."} 
[2026-07-27 18:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3a19ae8012d1967c0071fee200046011625..."} 
[2026-07-27 18:24:38] local.INFO: Processing buffer {"connection_id":145473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3a19ae8012d1967c0071fee200046011625..."} 
[2026-07-27 18:24:38] local.INFO: Packet analysis {"connection_id":145473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3a1"} 
[2026-07-27 18:24:38] local.INFO: Extracted packet for processing {"connection_id":145473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3a1"} 
[2026-07-27 18:24:38] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":37,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 18:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:24:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000111104001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:24:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 18:24:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 18:24:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:24:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785156705000,"timestamp_ms":1785156705000,"timestamp_seconds":1785156705,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3a19ae8"} 
[2026-07-27 18:24:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:24:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-27 18:24:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:24:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:24:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:24:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:24:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:24:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145473,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:24:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145473,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:24:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:24:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:24:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:24:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000111104001,"66":12504,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:24:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:24:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:24:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000111104001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:24:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:24:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:24:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:24:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 18:24:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000111104001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 18:24:38] local.INFO: DEBUG: GPS processor result {"connection_id":145473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554719,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:24:38] local.INFO: GPS data processed {"connection_id":145473,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:24:38] local.INFO: Acknowledgment sent {"connection_id":145473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:24:41] local.INFO: TCP Data received {"connection_id":143211,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:24:41] local.INFO: Processing buffer {"connection_id":143211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:24:41] local.INFO: IMEI packet received {"connection_id":143211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 18:24:41] local.INFO: IMEI acknowledgment sent {"connection_id":143211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:24:42] local.INFO: TCP Data received {"connection_id":143211,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3a271c0012da77d0005e03fb00024007129..."} 
[2026-07-27 18:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143211,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3a271c0012da77d0005e03fb00024007129..."} 
[2026-07-27 18:24:42] local.INFO: Processing buffer {"connection_id":143211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3a271c0012da77d0005e03fb00024007129..."} 
[2026-07-27 18:24:42] local.INFO: Packet analysis {"connection_id":143211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3a2"} 
[2026-07-27 18:24:42] local.INFO: Extracted packet for processing {"connection_id":143211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3a2"} 
[2026-07-27 18:24:42] local.INFO: GPS Element Parsed {"raw_longitude":765951232,"raw_latitude":98582448,"longitude_deg":76.5951232,"latitude_deg":9.8582448,"altitude":36,"angle":113,"satellites":41,"speed":16,"hex_longitude":"2da77d00","hex_latitude":"05e03fb0","is_valid_coordinates":true} 
[2026-07-27 18:24:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:24:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000125184001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:24:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359248631053680640,"note":"Value kept but may cause issues"} 
[2026-07-27 18:24:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6386596827582724096,"note":"Value kept but may cause issues"} 
[2026-07-27 18:24:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:24:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785156760000,"timestamp_ms":1785156760000,"timestamp_seconds":1785156760,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3a271c0"} 
[2026-07-27 18:24:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:24:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-27 18:24:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:24:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:24:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:24:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:24:42] local.INFO: Teltonika packet parsed successfully {"connection_id":143211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:24:42] local.INFO: Passing IMEI to GPS processor {"connection_id":143211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:24:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":143211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:24:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:24:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:24:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:24:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000125184001,"66":27767,"71":206,"88":19968,"24":16,"16":359248631053680640,"45":-6386596827582724096},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,88,24,16,45]} 
[2026-07-27 18:24:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:24:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:24:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000125184001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:24:42] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-27 18:24:42] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 18:24:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359248631053680640,"km_value":359248631053680.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:24:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6386596827582724096,"description":"Unknown IO ID 45"} 
[2026-07-27 18:24:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000125184001,"power":27767,"unknown_71":206,"unknown_88":19968,"ignition":16,"odometer":null,"unknown_45":-6386596827582724096}} 
[2026-07-27 18:24:42] local.INFO: DEBUG: GPS processor result {"connection_id":143211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:24:42] local.INFO: GPS data processed {"connection_id":143211,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:24:42] local.INFO: Acknowledgment sent {"connection_id":143211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:24:47] local.INFO: TCP Data received {"connection_id":143211,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3a2b428012da791c005e036180024007e28..."} 
[2026-07-27 18:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143211,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3a2b428012da791c005e036180024007e28..."} 
[2026-07-27 18:24:47] local.INFO: Processing buffer {"connection_id":143211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3a2b428012da791c005e036180024007e28..."} 
[2026-07-27 18:24:47] local.INFO: Packet analysis {"connection_id":143211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3a2"} 
[2026-07-27 18:24:47] local.INFO: Extracted packet for processing {"connection_id":143211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3a2"} 
[2026-07-27 18:24:47] local.INFO: GPS Element Parsed {"raw_longitude":765956544,"raw_latitude":98579992,"longitude_deg":76.5956544,"latitude_deg":9.8579992,"altitude":36,"angle":126,"satellites":40,"speed":11,"hex_longitude":"2da791c0","hex_latitude":"05e03618","is_valid_coordinates":true} 
[2026-07-27 18:24:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:24:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000130560001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:24:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359248914521522176,"note":"Value kept but may cause issues"} 
[2026-07-27 18:24:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6377941472049647616,"note":"Value kept but may cause issues"} 
[2026-07-27 18:24:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:24:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785156777000,"timestamp_ms":1785156777000,"timestamp_seconds":1785156777,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3a2b428"} 
[2026-07-27 18:24:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:24:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:24:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-27 18:24:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:24:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:24:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:24:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:24:47] local.INFO: Teltonika packet parsed successfully {"connection_id":143211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:24:47] local.INFO: Passing IMEI to GPS processor {"connection_id":143211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:24:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":143211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:24:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:24:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:24:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:24:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000130560001,"66":27865,"71":206,"88":19968,"24":11,"16":359248914521522176,"45":-6377941472049647616},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,88,24,16,45]} 
[2026-07-27 18:24:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:24:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:24:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000130560001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:24:47] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-27 18:24:47] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 18:24:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359248914521522176,"km_value":359248914521522.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:24:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6377941472049647616,"description":"Unknown IO ID 45"} 
[2026-07-27 18:24:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000130560001,"power":27865,"unknown_71":206,"unknown_88":19968,"ignition":11,"odometer":null,"unknown_45":-6377941472049647616}} 
[2026-07-27 18:24:47] local.INFO: DEBUG: GPS processor result {"connection_id":143211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:24:47] local.INFO: GPS data processed {"connection_id":143211,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:24:47] local.INFO: Acknowledgment sent {"connection_id":143211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:25:04] local.INFO: TCP Data received {"connection_id":144195,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144195,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:25:04] local.INFO: Processing buffer {"connection_id":144195,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:25:04] local.INFO: IMEI packet received {"connection_id":144195,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 18:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":144195,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:25:09] local.INFO: TCP Data received {"connection_id":144195,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144195,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:25:09] local.INFO: Processing buffer {"connection_id":144195,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:25:09] local.INFO: IMEI packet received {"connection_id":144195,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 18:25:09] local.INFO: IMEI acknowledgment sent {"connection_id":144195,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:25:11] local.INFO: TCP Data received {"connection_id":144195,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3a1ecf0012d1967c0071fee200046011622..."} 
[2026-07-27 18:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144195,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3a1ecf0012d1967c0071fee200046011622..."} 
[2026-07-27 18:25:11] local.INFO: Processing buffer {"connection_id":144195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3a1ecf0012d1967c0071fee200046011622..."} 
[2026-07-27 18:25:11] local.INFO: Packet analysis {"connection_id":144195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3a1"} 
[2026-07-27 18:25:11] local.INFO: Extracted packet for processing {"connection_id":144195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3a1"} 
[2026-07-27 18:25:11] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":34,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 18:25:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:25:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000116480001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:25:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 18:25:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 18:25:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:25:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785156726000,"timestamp_ms":1785156726000,"timestamp_seconds":1785156726,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3a1ecf0"} 
[2026-07-27 18:25:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:25:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-27 18:25:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:25:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:25:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:25:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:25:11] local.INFO: Teltonika packet parsed successfully {"connection_id":144195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:25:11] local.INFO: Passing IMEI to GPS processor {"connection_id":144195,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:25:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":144195,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:25:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:25:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:25:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:25:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000116480001,"66":12200,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:25:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:25:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:25:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000116480001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:25:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:25:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:25:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:25:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 18:25:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000116480001,"power":12200,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 18:25:11] local.INFO: DEBUG: GPS processor result {"connection_id":144195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554722,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:25:11] local.INFO: GPS data processed {"connection_id":144195,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:25:11] local.INFO: Acknowledgment sent {"connection_id":144195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:25:12] local.INFO: TCP Data received {"connection_id":144195,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3a23ef8012d1967c0071fee200046011625..."} 
[2026-07-27 18:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144195,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3a23ef8012d1967c0071fee200046011625..."} 
[2026-07-27 18:25:12] local.INFO: Processing buffer {"connection_id":144195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3a23ef8012d1967c0071fee200046011625..."} 
[2026-07-27 18:25:12] local.INFO: Packet analysis {"connection_id":144195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3a2"} 
[2026-07-27 18:25:12] local.INFO: Extracted packet for processing {"connection_id":144195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3a2"} 
[2026-07-27 18:25:12] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":37,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 18:25:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:25:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000121856001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:25:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 18:25:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 18:25:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:25:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785156747000,"timestamp_ms":1785156747000,"timestamp_seconds":1785156747,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3a23ef8"} 
[2026-07-27 18:25:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:25:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18: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":47,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-07-27 18:25:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1945,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:25:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:25:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:25:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:25:12] local.INFO: Teltonika packet parsed successfully {"connection_id":144195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:25:12] local.INFO: Passing IMEI to GPS processor {"connection_id":144195,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:25:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":144195,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:25:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:25:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:25:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:25:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000121856001,"66":12428,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:25:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:25:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:25:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000121856001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:25:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:25:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:25:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:25:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 18:25:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000121856001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 18:25:12] local.INFO: DEBUG: GPS processor result {"connection_id":144195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554723,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:25:12] local.INFO: GPS data processed {"connection_id":144195,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:25:12] local.INFO: Acknowledgment sent {"connection_id":144195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:25:31] local.INFO: TCP Data received {"connection_id":145474,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:25:31] local.INFO: Processing buffer {"connection_id":145474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:25:31] local.INFO: IMEI packet received {"connection_id":145474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 18:25:31] local.INFO: IMEI acknowledgment sent {"connection_id":145474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:25:32] local.INFO: TCP Data received {"connection_id":145474,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:25:32] local.INFO: Processing buffer {"connection_id":145474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:25:32] local.INFO: IMEI packet received {"connection_id":145474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 18:25:32] local.INFO: IMEI acknowledgment sent {"connection_id":145474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:25:36] local.INFO: TCP Data received {"connection_id":145474,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:25:36] local.INFO: Processing buffer {"connection_id":145474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:25:36] local.INFO: IMEI packet received {"connection_id":145474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 18:25:36] local.INFO: IMEI acknowledgment sent {"connection_id":145474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:25:37] local.INFO: TCP Data received {"connection_id":145474,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3a46d90012da7c58005dfbd200023008229..."} 
[2026-07-27 18:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145474,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3a46d90012da7c58005dfbd200023008229..."} 
[2026-07-27 18:25:37] local.INFO: Processing buffer {"connection_id":145474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3a46d90012da7c58005dfbd200023008229..."} 
[2026-07-27 18:25:37] local.INFO: Packet analysis {"connection_id":145474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3a4"} 
[2026-07-27 18:25:37] local.INFO: Extracted packet for processing {"connection_id":145474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3a4"} 
[2026-07-27 18:25:37] local.INFO: GPS Element Parsed {"raw_longitude":765969792,"raw_latitude":98549024,"longitude_deg":76.5969792,"latitude_deg":9.8549024,"altitude":35,"angle":130,"satellites":41,"speed":22,"hex_longitude":"2da7c580","hex_latitude":"05dfbd20","is_valid_coordinates":true} 
[2026-07-27 18:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000162560001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359250580968833024,"note":"Value kept but may cause issues"} 
[2026-07-27 18:25:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6359575229827334144,"note":"Value kept but may cause issues"} 
[2026-07-27 18:25:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785156890000,"timestamp_ms":1785156890000,"timestamp_seconds":1785156890,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3a46d90"} 
[2026-07-27 18:25:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:25:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-27 18:25:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:25:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:25:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:25:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000162560001,"66":26832,"71":206,"88":19968,"24":22,"16":359250580968833024,"45":-6359575229827334144},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,88,24,16,45]} 
[2026-07-27 18:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000162560001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:25:37] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-27 18:25:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 18:25:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359250580968833024,"km_value":359250580968833.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:25:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6359575229827334144,"description":"Unknown IO ID 45"} 
[2026-07-27 18:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000162560001,"power":26832,"unknown_71":206,"unknown_88":19968,"ignition":22,"odometer":null,"unknown_45":-6359575229827334144}} 
[2026-07-27 18:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":145474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:25:37] local.INFO: GPS data processed {"connection_id":145474,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:25:37] local.INFO: Acknowledgment sent {"connection_id":145474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:25:44] local.INFO: TCP Data received {"connection_id":144195,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3a29100012d1967c0071fee200046011624..."} 
[2026-07-27 18:25:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144195,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3a29100012d1967c0071fee200046011624..."} 
[2026-07-27 18:25:44] local.INFO: Processing buffer {"connection_id":144195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3a29100012d1967c0071fee200046011624..."} 
[2026-07-27 18:25:44] local.INFO: Packet analysis {"connection_id":144195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3a2"} 
[2026-07-27 18:25:44] local.INFO: Extracted packet for processing {"connection_id":144195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3a2"} 
[2026-07-27 18:25:44] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":36,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 18: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-07-27 18:25:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000127232001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:25:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 18:25:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 18:25:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:25:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785156768000,"timestamp_ms":1785156768000,"timestamp_seconds":1785156768,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3a29100"} 
[2026-07-27 18:25:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:25:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-27 18:25:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18: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-07-27 18:25:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:25:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:25:44] local.INFO: Teltonika packet parsed successfully {"connection_id":144195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:25:44] local.INFO: Passing IMEI to GPS processor {"connection_id":144195,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:25:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":144195,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:25:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:25:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:25:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:25:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000127232001,"66":12504,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:25:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:25:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:25:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000127232001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:25:44] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:25:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:25:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:25:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 18:25:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000127232001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 18:25:44] local.INFO: DEBUG: GPS processor result {"connection_id":144195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554725,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:25:44] local.INFO: GPS data processed {"connection_id":144195,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:25:44] local.INFO: Acknowledgment sent {"connection_id":144195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:25:59] local.INFO: TCP Data received {"connection_id":143070,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143070,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:25:59] local.INFO: Processing buffer {"connection_id":143070,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:25:59] local.INFO: IMEI packet received {"connection_id":143070,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 18:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":143070,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:26:05] local.INFO: TCP Data received {"connection_id":143070,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143070,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:26:05] local.INFO: Processing buffer {"connection_id":143070,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:26:05] local.INFO: IMEI packet received {"connection_id":143070,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 18:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":143070,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:26:06] local.INFO: TCP Data received {"connection_id":143070,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3a2e308012d1967c0071fee200046011625..."} 
[2026-07-27 18:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143070,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3a2e308012d1967c0071fee200046011625..."} 
[2026-07-27 18:26:06] local.INFO: Processing buffer {"connection_id":143070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3a2e308012d1967c0071fee200046011625..."} 
[2026-07-27 18:26:06] local.INFO: Packet analysis {"connection_id":143070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3a2"} 
[2026-07-27 18:26:06] local.INFO: Extracted packet for processing {"connection_id":143070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3a2"} 
[2026-07-27 18:26:06] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":37,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 18:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:26:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000132608001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:26:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 18:26:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 18:26:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:26:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785156789000,"timestamp_ms":1785156789000,"timestamp_seconds":1785156789,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3a2e308"} 
[2026-07-27 18:26:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:26:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-27 18:26:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:26:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:26:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:26:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:26:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:26:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:26:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:26:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:26:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:26:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:26:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000132608001,"66":11624,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:26:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:26:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:26:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000132608001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:26:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:26:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:26:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:26:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 18:26:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000132608001,"power":11624,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 18:26:06] local.INFO: DEBUG: GPS processor result {"connection_id":143070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554726,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:26:06] local.INFO: GPS data processed {"connection_id":143070,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:26:06] local.INFO: Acknowledgment sent {"connection_id":143070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:26:10] local.INFO: TCP Data received {"connection_id":145474,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3a47d30012da7ccc005dfb7e00023007428..."} 
[2026-07-27 18:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145474,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3a47d30012da7ccc005dfb7e00023007428..."} 
[2026-07-27 18:26:10] local.INFO: Processing buffer {"connection_id":145474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3a47d30012da7ccc005dfb7e00023007428..."} 
[2026-07-27 18:26:10] local.INFO: Packet analysis {"connection_id":145474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3a4"} 
[2026-07-27 18:26:10] local.INFO: Extracted packet for processing {"connection_id":145474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3a4"} 
[2026-07-27 18:26:10] local.INFO: GPS Element Parsed {"raw_longitude":765971648,"raw_latitude":98547680,"longitude_deg":76.5971648,"latitude_deg":9.854768,"altitude":35,"angle":116,"satellites":40,"speed":22,"hex_longitude":"2da7ccc0","hex_latitude":"05dfb7e0","is_valid_coordinates":true} 
[2026-07-27 18:26:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:26:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000163840001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:26:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359250692637982720,"note":"Value kept but may cause issues"} 
[2026-07-27 18:26:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6357534536246681600,"note":"Value kept but may cause issues"} 
[2026-07-27 18:26:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:26:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785156894000,"timestamp_ms":1785156894000,"timestamp_seconds":1785156894,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3a47d30"} 
[2026-07-27 18:26:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:26:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18: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":104,"n8_eight_byte":208,"data_length":795,"current_offset":136} 
[2026-07-27 18:26:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2590,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:26:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:26:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:26:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:26:10] local.INFO: Teltonika packet parsed successfully {"connection_id":145474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:26:10] local.INFO: Passing IMEI to GPS processor {"connection_id":145474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:26:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":145474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:26:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:26:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:26:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:26:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000163840001,"66":27821,"71":206,"88":19968,"24":22,"16":359250692637982720,"45":-6357534536246681600},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,88,24,16,45]} 
[2026-07-27 18:26:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:26:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:26:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000163840001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:26:10] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-27 18:26:10] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 18:26:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359250692637982720,"km_value":359250692637982.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:26:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6357534536246681600,"description":"Unknown IO ID 45"} 
[2026-07-27 18:26:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000163840001,"power":27821,"unknown_71":206,"unknown_88":19968,"ignition":22,"odometer":null,"unknown_45":-6357534536246681600}} 
[2026-07-27 18:26:10] local.INFO: DEBUG: GPS processor result {"connection_id":145474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:26:10] local.INFO: GPS data processed {"connection_id":145474,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:26:10] local.INFO: Acknowledgment sent {"connection_id":145474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:26:37] local.INFO: TCP Data received {"connection_id":143212,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:26:37] local.INFO: Processing buffer {"connection_id":143212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:26:37] local.INFO: IMEI packet received {"connection_id":143212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 18:26:37] local.INFO: IMEI acknowledgment sent {"connection_id":143212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:26:38] local.INFO: TCP Data received {"connection_id":143070,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3a33510012d1967c0071fee200046011623..."} 
[2026-07-27 18:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143070,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3a33510012d1967c0071fee200046011623..."} 
[2026-07-27 18:26:38] local.INFO: Processing buffer {"connection_id":143070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3a33510012d1967c0071fee200046011623..."} 
[2026-07-27 18:26:38] local.INFO: Packet analysis {"connection_id":143070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3a3"} 
[2026-07-27 18:26:38] local.INFO: Extracted packet for processing {"connection_id":143070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3a3"} 
[2026-07-27 18:26:38] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":35,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 18:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:26:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000137984001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:26:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 18:26:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 18:26:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:26:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785156810000,"timestamp_ms":1785156810000,"timestamp_seconds":1785156810,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3a33510"} 
[2026-07-27 18:26:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:26:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-07-27 18:26:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1359,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:26:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:26:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:26:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:26:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:26:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:26:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:26:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:26:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:26:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:26:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000137984001,"66":12428,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:26:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:26:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:26:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000137984001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:26:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:26:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:26:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:26:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 18:26:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000137984001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 18:26:38] local.INFO: DEBUG: GPS processor result {"connection_id":143070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554728,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:26:38] local.INFO: GPS data processed {"connection_id":143070,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:26:38] local.INFO: Acknowledgment sent {"connection_id":143070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:26:41] local.INFO: TCP Data received {"connection_id":143212,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:26:41] local.INFO: Processing buffer {"connection_id":143212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:26:41] local.INFO: IMEI packet received {"connection_id":143212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 18:26:41] local.INFO: IMEI acknowledgment sent {"connection_id":143212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:26:49] local.INFO: TCP Data received {"connection_id":143212,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:26:49] local.INFO: Processing buffer {"connection_id":143212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:26:49] local.INFO: IMEI packet received {"connection_id":143212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 18:26:49] local.INFO: IMEI acknowledgment sent {"connection_id":143212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:26:50] local.INFO: TCP Data received {"connection_id":143212,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3a55020012da824c005dfedd00022005a27..."} 
[2026-07-27 18:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3a55020012da824c005dfedd00022005a27..."} 
[2026-07-27 18:26:50] local.INFO: Processing buffer {"connection_id":143212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3a55020012da824c005dfedd00022005a27..."} 
[2026-07-27 18:26:50] local.INFO: Packet analysis {"connection_id":143212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3a5"} 
[2026-07-27 18:26:50] local.INFO: Extracted packet for processing {"connection_id":143212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3a5"} 
[2026-07-27 18:26:50] local.INFO: GPS Element Parsed {"raw_longitude":765994176,"raw_latitude":98561488,"longitude_deg":76.5994176,"latitude_deg":9.8561488,"altitude":34,"angle":90,"satellites":39,"speed":18,"hex_longitude":"2da824c0","hex_latitude":"05dfedd0","is_valid_coordinates":true} 
[2026-07-27 18: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-07-27 18:26:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000178176001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:26:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359252032667779072,"note":"Value kept but may cause issues"} 
[2026-07-27 18:26:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6331779575874482176,"note":"Value kept but may cause issues"} 
[2026-07-27 18:26:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:26:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785156948000,"timestamp_ms":1785156948000,"timestamp_seconds":1785156948,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3a55020"} 
[2026-07-27 18:26:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:26:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-27 18:26:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18: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-07-27 18:26:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:26:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:26:50] local.INFO: Teltonika packet parsed successfully {"connection_id":143212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:26:50] local.INFO: Passing IMEI to GPS processor {"connection_id":143212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:26:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":143212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:26:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:26:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:26:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:26:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000178176001,"66":27626,"70":206,"88":19968,"24":18,"16":359252032667779072,"45":-6331779575874482176},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,88,24,16,45]} 
[2026-07-27 18:26:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:26:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:26:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000178176001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:26:50] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-27 18:26:50] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 18:26:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359252032667779072,"km_value":359252032667779.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:26:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6331779575874482176,"description":"Unknown IO ID 45"} 
[2026-07-27 18:26:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000178176001,"power":27626,"unknown_70":206,"unknown_88":19968,"ignition":18,"odometer":null,"unknown_45":-6331779575874482176}} 
[2026-07-27 18:26:50] local.INFO: DEBUG: GPS processor result {"connection_id":143212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:26:50] local.INFO: GPS data processed {"connection_id":143212,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:26:50] local.INFO: Acknowledgment sent {"connection_id":143212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:26:51] local.INFO: TCP Data received {"connection_id":143212,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3a563a8012da82f4005dfec80001f00662a..."} 
[2026-07-27 18:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3a563a8012da82f4005dfec80001f00662a..."} 
[2026-07-27 18:26:51] local.INFO: Processing buffer {"connection_id":143212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3a563a8012da82f4005dfec80001f00662a..."} 
[2026-07-27 18:26:51] local.INFO: Packet analysis {"connection_id":143212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3a5"} 
[2026-07-27 18:26:51] local.INFO: Extracted packet for processing {"connection_id":143212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3a5"} 
[2026-07-27 18:26:51] local.INFO: GPS Element Parsed {"raw_longitude":765996864,"raw_latitude":98561152,"longitude_deg":76.5996864,"latitude_deg":9.8561152,"altitude":31,"angle":102,"satellites":42,"speed":20,"hex_longitude":"2da82f40","hex_latitude":"05dfec80","is_valid_coordinates":true} 
[2026-07-27 18:26:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:26:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000178688001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:26:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359252161516797952,"note":"Value kept but may cause issues"} 
[2026-07-27 18:26:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6330724044711800832,"note":"Value kept but may cause issues"} 
[2026-07-27 18:26:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:26:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785156953000,"timestamp_ms":1785156953000,"timestamp_seconds":1785156953,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3a563a8"} 
[2026-07-27 18:26:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:26:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:26:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-07-27 18:26:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:26:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:26:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:26:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:26:51] local.INFO: Teltonika packet parsed successfully {"connection_id":143212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:26:51] local.INFO: Passing IMEI to GPS processor {"connection_id":143212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:26:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":143212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:26:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:26:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:26:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:26:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000178688001,"66":27767,"70":206,"88":19968,"24":20,"16":359252161516797952,"45":-6330724044711800832},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,88,24,16,45]} 
[2026-07-27 18:26:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:26:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:26:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000178688001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:26:51] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-27 18:26:51] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 18:26:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359252161516797952,"km_value":359252161516797.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:26:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6330724044711800832,"description":"Unknown IO ID 45"} 
[2026-07-27 18:26:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000178688001,"power":27767,"unknown_70":206,"unknown_88":19968,"ignition":20,"odometer":null,"unknown_45":-6330724044711800832}} 
[2026-07-27 18:26:51] local.INFO: DEBUG: GPS processor result {"connection_id":143212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:26:51] local.INFO: GPS data processed {"connection_id":143212,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:26:51] local.INFO: Acknowledgment sent {"connection_id":143212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:26:59] local.INFO: TCP Data received {"connection_id":144196,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144196,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:26:59] local.INFO: Processing buffer {"connection_id":144196,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:26:59] local.INFO: IMEI packet received {"connection_id":144196,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 18:26:59] local.INFO: IMEI acknowledgment sent {"connection_id":144196,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:27:05] local.INFO: TCP Data received {"connection_id":144196,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144196,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:27:05] local.INFO: Processing buffer {"connection_id":144196,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:27:05] local.INFO: IMEI packet received {"connection_id":144196,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 18:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":144196,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:27:06] local.INFO: TCP Data received {"connection_id":144196,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3a38718012d1967c0071fee200046011623..."} 
[2026-07-27 18:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144196,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3a38718012d1967c0071fee200046011623..."} 
[2026-07-27 18:27:06] local.INFO: Processing buffer {"connection_id":144196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3a38718012d1967c0071fee200046011623..."} 
[2026-07-27 18:27:06] local.INFO: Packet analysis {"connection_id":144196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3a3"} 
[2026-07-27 18:27:06] local.INFO: Extracted packet for processing {"connection_id":144196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3a3"} 
[2026-07-27 18:27:06] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":35,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 18:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:27:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000143360001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:27:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 18:27:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 18:27:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:27:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785156831000,"timestamp_ms":1785156831000,"timestamp_seconds":1785156831,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3a38718"} 
[2026-07-27 18:27:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:27:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-27 18:27:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:27:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:27:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:27:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:27:06] local.INFO: Teltonika packet parsed successfully {"connection_id":144196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:27:06] local.INFO: Passing IMEI to GPS processor {"connection_id":144196,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:27:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":144196,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:27:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:27:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:27:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:27:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000143360001,"66":12504,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:27:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:27:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:27:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000143360001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:27:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:27:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:27:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:27:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 18:27:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000143360001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 18:27:06] local.INFO: DEBUG: GPS processor result {"connection_id":144196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554731,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:27:06] local.INFO: GPS data processed {"connection_id":144196,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:27:06] local.INFO: Acknowledgment sent {"connection_id":144196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:27:31] local.INFO: TCP Data received {"connection_id":143213,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:27:31] local.INFO: Processing buffer {"connection_id":143213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:27:31] local.INFO: IMEI packet received {"connection_id":143213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 18:27:31] local.INFO: IMEI acknowledgment sent {"connection_id":143213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:27:36] local.INFO: TCP Data received {"connection_id":143213,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:27:36] local.INFO: Processing buffer {"connection_id":143213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:27:36] local.INFO: IMEI packet received {"connection_id":143213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 18:27:36] local.INFO: IMEI acknowledgment sent {"connection_id":143213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:27:37] local.INFO: TCP Data received {"connection_id":143213,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3a56f60012da836c005dfea00001f00722a..."} 
[2026-07-27 18:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143213,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3a56f60012da836c005dfea00001f00722a..."} 
[2026-07-27 18:27:37] local.INFO: Processing buffer {"connection_id":143213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3a56f60012da836c005dfea00001f00722a..."} 
[2026-07-27 18:27:37] local.INFO: Packet analysis {"connection_id":143213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3a5"} 
[2026-07-27 18:27:37] local.INFO: Extracted packet for processing {"connection_id":143213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3a5"} 
[2026-07-27 18:27:37] local.INFO: GPS Element Parsed {"raw_longitude":765998784,"raw_latitude":98560512,"longitude_deg":76.5998784,"latitude_deg":9.8560512,"altitude":31,"angle":114,"satellites":42,"speed":25,"hex_longitude":"2da836c0","hex_latitude":"05dfea00","is_valid_coordinates":true} 
[2026-07-27 18:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:27:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000179968001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:27:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359252256006078464,"note":"Value kept but may cause issues"} 
[2026-07-27 18:27:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6327768557456424960,"note":"Value kept but may cause issues"} 
[2026-07-27 18:27:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:27:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785156956000,"timestamp_ms":1785156956000,"timestamp_seconds":1785156956,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3a56f60"} 
[2026-07-27 18:27:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:27:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-27 18:27:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:27:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:27:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:27:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:27:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:27:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:27:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:27:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:27:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:27:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:27:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000179968001,"66":27843,"70":206,"88":19968,"24":25,"16":359252256006078464,"45":-6327768557456424960},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,88,24,16,45]} 
[2026-07-27 18:27:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:27:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:27:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000179968001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:27:37] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-27 18:27:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 18:27:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359252256006078464,"km_value":359252256006078.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:27:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6327768557456424960,"description":"Unknown IO ID 45"} 
[2026-07-27 18:27:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000179968001,"power":27843,"unknown_70":206,"unknown_88":19968,"ignition":25,"odometer":null,"unknown_45":-6327768557456424960}} 
[2026-07-27 18:27:37] local.INFO: DEBUG: GPS processor result {"connection_id":143213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:27:37] local.INFO: GPS data processed {"connection_id":143213,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:27:37] local.INFO: Acknowledgment sent {"connection_id":143213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:27:38] local.INFO: TCP Data received {"connection_id":144196,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3a3d920012d1967c0071fee200046011623..."} 
[2026-07-27 18:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144196,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3a3d920012d1967c0071fee200046011623..."} 
[2026-07-27 18:27:38] local.INFO: Processing buffer {"connection_id":144196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3a3d920012d1967c0071fee200046011623..."} 
[2026-07-27 18:27:38] local.INFO: Packet analysis {"connection_id":144196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3a3"} 
[2026-07-27 18:27:38] local.INFO: Extracted packet for processing {"connection_id":144196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3a3"} 
[2026-07-27 18:27:38] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":35,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 18:27:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:27:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000148736001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:27:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 18:27:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 18:27:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:27:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785156852000,"timestamp_ms":1785156852000,"timestamp_seconds":1785156852,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3a3d920"} 
[2026-07-27 18:27:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:27:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:27:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-27 18:27:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:27:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:27:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:27:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:27:38] local.INFO: Teltonika packet parsed successfully {"connection_id":144196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:27:38] local.INFO: Passing IMEI to GPS processor {"connection_id":144196,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:27:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":144196,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:27:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:27:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:27:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:27:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000148736001,"66":12461,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:27:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:27:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:27:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000148736001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:27:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:27:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:27:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:27:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 18:27:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000148736001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 18:27:38] local.INFO: DEBUG: GPS processor result {"connection_id":144196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554733,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:27:38] local.INFO: GPS data processed {"connection_id":144196,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:27:38] local.INFO: Acknowledgment sent {"connection_id":144196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:28:04] local.INFO: TCP Data received {"connection_id":143071,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143071,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:28:04] local.INFO: Processing buffer {"connection_id":143071,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:28:04] local.INFO: IMEI packet received {"connection_id":143071,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 18:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":143071,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:28:09] local.INFO: TCP Data received {"connection_id":143071,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143071,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:28:09] local.INFO: Processing buffer {"connection_id":143071,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:28:09] local.INFO: IMEI packet received {"connection_id":143071,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 18:28:09] local.INFO: IMEI acknowledgment sent {"connection_id":143071,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:28:11] local.INFO: TCP Data received {"connection_id":143071,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3a42b28012d1967c0071fee200046011623..."} 
[2026-07-27 18:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3a42b28012d1967c0071fee200046011623..."} 
[2026-07-27 18:28:11] local.INFO: Processing buffer {"connection_id":143071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3a42b28012d1967c0071fee200046011623..."} 
[2026-07-27 18:28:11] local.INFO: Packet analysis {"connection_id":143071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3a4"} 
[2026-07-27 18:28:11] local.INFO: Extracted packet for processing {"connection_id":143071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3a4"} 
[2026-07-27 18:28:11] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":35,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 18:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:28:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000154112001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:28:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 18:28:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 18:28:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:28:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785156873000,"timestamp_ms":1785156873000,"timestamp_seconds":1785156873,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3a42b28"} 
[2026-07-27 18:28:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:28:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-27 18:28:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:28:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:28:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:28:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:28:11] local.INFO: Teltonika packet parsed successfully {"connection_id":143071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:28:11] local.INFO: Passing IMEI to GPS processor {"connection_id":143071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:28:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":143071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:28:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:28:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:28:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:28:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000154112001,"66":12461,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:28:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:28:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:28:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000154112001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:28:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:28:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:28:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:28:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 18:28:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000154112001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 18:28:11] local.INFO: DEBUG: GPS processor result {"connection_id":143071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554734,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:28:11] local.INFO: GPS data processed {"connection_id":143071,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:28:11] local.INFO: Acknowledgment sent {"connection_id":143071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:28:14] local.INFO: TCP Data received {"connection_id":143071,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3a47d30012d1967c0071fee200046011624..."} 
[2026-07-27 18:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3a47d30012d1967c0071fee200046011624..."} 
[2026-07-27 18:28:14] local.INFO: Processing buffer {"connection_id":143071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3a47d30012d1967c0071fee200046011624..."} 
[2026-07-27 18:28:14] local.INFO: Packet analysis {"connection_id":143071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3a4"} 
[2026-07-27 18:28:14] local.INFO: Extracted packet for processing {"connection_id":143071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3a4"} 
[2026-07-27 18:28:14] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":36,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 18:28:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:28:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000159488001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:28:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 18:28:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 18:28:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:28:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785156894000,"timestamp_ms":1785156894000,"timestamp_seconds":1785156894,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3a47d30"} 
[2026-07-27 18:28:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:28:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:28:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-27 18:28:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:28:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:28:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:28:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:28:14] local.INFO: Teltonika packet parsed successfully {"connection_id":143071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:28:14] local.INFO: Passing IMEI to GPS processor {"connection_id":143071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:28:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":143071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:28:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:28:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:28:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:28:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000159488001,"66":12406,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:28:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:28:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:28:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000159488001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:28:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:28:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:28:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:28:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 18:28:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000159488001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 18:28:15] local.INFO: DEBUG: GPS processor result {"connection_id":143071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554735,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:28:15] local.INFO: GPS data processed {"connection_id":143071,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:28:15] local.INFO: Acknowledgment sent {"connection_id":143071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:28:20] local.INFO: TCP Data received {"connection_id":143213,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3a57b18012da83dc005dfe5c0001e007e2a..."} 
[2026-07-27 18:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143213,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3a57b18012da83dc005dfe5c0001e007e2a..."} 
[2026-07-27 18:28:20] local.INFO: Processing buffer {"connection_id":143213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3a57b18012da83dc005dfe5c0001e007e2a..."} 
[2026-07-27 18:28:20] local.INFO: Packet analysis {"connection_id":143213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3a5"} 
[2026-07-27 18:28:20] local.INFO: Extracted packet for processing {"connection_id":143213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3a5"} 
[2026-07-27 18:28:20] local.INFO: GPS Element Parsed {"raw_longitude":766000576,"raw_latitude":98559424,"longitude_deg":76.6000576,"latitude_deg":9.8559424,"altitude":30,"angle":126,"satellites":42,"speed":28,"hex_longitude":"2da83dc0","hex_latitude":"05dfe5c0","is_valid_coordinates":true} 
[2026-07-27 18: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-07-27 18:28:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000180736001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:28:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359252359085293568,"note":"Value kept but may cause issues"} 
[2026-07-27 18:28:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6325657495131258880,"note":"Value kept but may cause issues"} 
[2026-07-27 18:28:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:28:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785156959000,"timestamp_ms":1785156959000,"timestamp_seconds":1785156959,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3a57b18"} 
[2026-07-27 18:28:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:28:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-27 18:28:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18: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-07-27 18:28:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:28:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:28:20] local.INFO: Teltonika packet parsed successfully {"connection_id":143213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:28:20] local.INFO: Passing IMEI to GPS processor {"connection_id":143213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:28:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":143213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:28:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:28:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:28:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:28:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000180736001,"66":27767,"70":206,"88":19968,"24":28,"16":359252359085293568,"45":-6325657495131258880},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,88,24,16,45]} 
[2026-07-27 18:28:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:28:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:28:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000180736001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:28:20] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-27 18:28:20] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 18:28:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359252359085293568,"km_value":359252359085293.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:28:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6325657495131258880,"description":"Unknown IO ID 45"} 
[2026-07-27 18:28:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000180736001,"power":27767,"unknown_70":206,"unknown_88":19968,"ignition":28,"odometer":null,"unknown_45":-6325657495131258880}} 
[2026-07-27 18:28:20] local.INFO: DEBUG: GPS processor result {"connection_id":143213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:28:20] local.INFO: GPS data processed {"connection_id":143213,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:28:20] local.INFO: Acknowledgment sent {"connection_id":143213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:28:31] local.INFO: TCP Data received {"connection_id":144197,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:28:31] local.INFO: Processing buffer {"connection_id":144197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:28:31] local.INFO: IMEI packet received {"connection_id":144197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 18:28:31] local.INFO: IMEI acknowledgment sent {"connection_id":144197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:28:36] local.INFO: TCP Data received {"connection_id":144197,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:28:36] local.INFO: Processing buffer {"connection_id":144197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:28:36] local.INFO: IMEI packet received {"connection_id":144197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 18:28:36] local.INFO: IMEI acknowledgment sent {"connection_id":144197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:28:37] local.INFO: TCP Data received {"connection_id":144197,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3a5ade0012da8510005dfd6a0001c008d28..."} 
[2026-07-27 18:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144197,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3a5ade0012da8510005dfd6a0001c008d28..."} 
[2026-07-27 18:28:37] local.INFO: Processing buffer {"connection_id":144197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3a5ade0012da8510005dfd6a0001c008d28..."} 
[2026-07-27 18:28:37] local.INFO: Packet analysis {"connection_id":144197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3a5"} 
[2026-07-27 18:28:37] local.INFO: Extracted packet for processing {"connection_id":144197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3a5"} 
[2026-07-27 18:28:37] local.INFO: GPS Element Parsed {"raw_longitude":766005504,"raw_latitude":98555552,"longitude_deg":76.6005504,"latitude_deg":9.8555552,"altitude":28,"angle":141,"satellites":40,"speed":5,"hex_longitude":"2da85100","hex_latitude":"05dfd6a0","is_valid_coordinates":true} 
[2026-07-27 18:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:28:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000181504001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:28:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359252659733004288,"note":"Value kept but may cause issues"} 
[2026-07-27 18:28:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6323687170294562816,"note":"Value kept but may cause issues"} 
[2026-07-27 18:28:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:28:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785156972000,"timestamp_ms":1785156972000,"timestamp_seconds":1785156972,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3a5ade0"} 
[2026-07-27 18:28:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:28:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-27 18:28:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:28:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:28:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:28:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:28:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:28:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:28:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:28:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:28:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:28:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:28:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000181504001,"66":27832,"70":206,"88":19968,"24":5,"16":359252659733004288,"45":-6323687170294562816},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,88,24,16,45]} 
[2026-07-27 18:28:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:28:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:28:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000181504001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:28:37] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-27 18:28:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 18:28:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359252659733004288,"km_value":359252659733004.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:28:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6323687170294562816,"description":"Unknown IO ID 45"} 
[2026-07-27 18:28:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000181504001,"power":27832,"unknown_70":206,"unknown_88":19968,"ignition":5,"odometer":null,"unknown_45":-6323687170294562816}} 
[2026-07-27 18:28:37] local.INFO: DEBUG: GPS processor result {"connection_id":144197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:28:37] local.INFO: GPS data processed {"connection_id":144197,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:28:37] local.INFO: Acknowledgment sent {"connection_id":144197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:28:59] local.INFO: TCP Data received {"connection_id":143214,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143214,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:28:59] local.INFO: Processing buffer {"connection_id":143214,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:28:59] local.INFO: IMEI packet received {"connection_id":143214,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 18:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":143214,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:29:03] local.INFO: TCP Data received {"connection_id":143214,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143214,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:29:03] local.INFO: Processing buffer {"connection_id":143214,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:29:03] local.INFO: IMEI packet received {"connection_id":143214,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 18:29:03] local.INFO: IMEI acknowledgment sent {"connection_id":143214,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:29:05] local.INFO: TCP Data received {"connection_id":143214,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3a4cf38012d1967c0071fee200046011624..."} 
[2026-07-27 18:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3a4cf38012d1967c0071fee200046011624..."} 
[2026-07-27 18:29:05] local.INFO: Processing buffer {"connection_id":143214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3a4cf38012d1967c0071fee200046011624..."} 
[2026-07-27 18:29:05] local.INFO: Packet analysis {"connection_id":143214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3a4"} 
[2026-07-27 18:29:05] local.INFO: Extracted packet for processing {"connection_id":143214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3a4"} 
[2026-07-27 18:29:05] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":36,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 18:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:29:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000164864001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:29:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 18:29:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 18:29:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:29:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785156915000,"timestamp_ms":1785156915000,"timestamp_seconds":1785156915,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3a4cf38"} 
[2026-07-27 18:29:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:29:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 18:29:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:29:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:29:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:29:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:29:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:29:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143214,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:29:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143214,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:29:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:29:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:29:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:29:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000164864001,"66":12428,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:29:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:29:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:29:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000164864001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:29:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:29:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:29:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:29:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 18:29:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000164864001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 18:29:05] local.INFO: DEBUG: GPS processor result {"connection_id":143214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554738,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:29:05] local.INFO: GPS data processed {"connection_id":143214,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:29:05] local.INFO: Acknowledgment sent {"connection_id":143214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:29:08] local.INFO: TCP Data received {"connection_id":144197,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3a77eb8012da8c28005df72780022014529..."} 
[2026-07-27 18:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144197,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3a77eb8012da8c28005df72780022014529..."} 
[2026-07-27 18:29:09] local.INFO: Processing buffer {"connection_id":144197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3a77eb8012da8c28005df72780022014529..."} 
[2026-07-27 18:29:09] local.INFO: Packet analysis {"connection_id":144197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3a7"} 
[2026-07-27 18:29:09] local.INFO: Extracted packet for processing {"connection_id":144197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3a7"} 
[2026-07-27 18:29:09] local.INFO: GPS Element Parsed {"raw_longitude":766034560,"raw_latitude":98529912,"longitude_deg":76.603456,"latitude_deg":9.8529912,"altitude":34,"angle":325,"satellites":41,"speed":13,"hex_longitude":"2da8c280","hex_latitude":"05df7278","is_valid_coordinates":true} 
[2026-07-27 18:29:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:29:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000215040001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:29:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359254755677044736,"note":"Value kept but may cause issues"} 
[2026-07-27 18:29:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6286180629655500800,"note":"Value kept but may cause issues"} 
[2026-07-27 18:29:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:29:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785157091000,"timestamp_ms":1785157091000,"timestamp_seconds":1785157091,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3a77eb8"} 
[2026-07-27 18:29:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:29:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-27 18:29:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:29:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:29:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:29:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:29:09] local.INFO: Teltonika packet parsed successfully {"connection_id":144197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:29:09] local.INFO: Passing IMEI to GPS processor {"connection_id":144197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:29:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":144197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18: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-07-27 18:29:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:29:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:29:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000215040001,"66":27745,"70":206,"88":19968,"24":13,"16":359254755677044736,"45":-6286180629655500800},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,88,24,16,45]} 
[2026-07-27 18:29:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:29:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:29:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000215040001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:29:09] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-27 18:29:09] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 18:29:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359254755677044736,"km_value":359254755677044.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:29:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6286180629655500800,"description":"Unknown IO ID 45"} 
[2026-07-27 18:29:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000215040001,"power":27745,"unknown_70":206,"unknown_88":19968,"ignition":13,"odometer":null,"unknown_45":-6286180629655500800}} 
[2026-07-27 18:29:09] local.INFO: DEBUG: GPS processor result {"connection_id":144197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:29:09] local.INFO: GPS data processed {"connection_id":144197,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:29:09] local.INFO: Acknowledgment sent {"connection_id":144197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:29:17] local.INFO: TCP Data received {"connection_id":145475,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145475,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:29:17] local.INFO: Processing buffer {"connection_id":145475,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:29:17] local.INFO: IMEI packet received {"connection_id":145475,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 18:29:17] local.INFO: IMEI acknowledgment sent {"connection_id":145475,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:29:22] local.INFO: TCP Data received {"connection_id":145475,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:29:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145475,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:29:22] local.INFO: Processing buffer {"connection_id":145475,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:29:22] local.INFO: IMEI packet received {"connection_id":145475,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 18:29:22] local.INFO: IMEI acknowledgment sent {"connection_id":145475,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:29:23] local.INFO: TCP Data received {"connection_id":145475,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3a7e448012d7e304005d354e8000200ac28..."} 
[2026-07-27 18:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3a7e448012d7e304005d354e8000200ac28..."} 
[2026-07-27 18:29:23] local.INFO: Processing buffer {"connection_id":145475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3a7e448012d7e304005d354e8000200ac28..."} 
[2026-07-27 18:29:23] local.INFO: Packet analysis {"connection_id":145475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3a7"} 
[2026-07-27 18:29:23] local.INFO: Extracted packet for processing {"connection_id":145475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3a7"} 
[2026-07-27 18:29:23] local.INFO: GPS Element Parsed {"raw_longitude":763244608,"raw_latitude":97735912,"longitude_deg":76.3244608,"latitude_deg":9.7735912,"altitude":2,"angle":172,"satellites":40,"speed":8,"hex_longitude":"2d7e3040","hex_latitude":"05d354e8","is_valid_coordinates":true} 
[2026-07-27 18: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-07-27 18:29:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000221696001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:29:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111785040798547968,"note":"Value kept but may cause issues"} 
[2026-07-27 18:29:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9092838041425651712,"note":"Value kept but may cause issues"} 
[2026-07-27 18:29:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:29:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785157117000,"timestamp_ms":1785157117000,"timestamp_seconds":1785157117,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3a7e448"} 
[2026-07-27 18:29:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:29: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-07-27 18: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-27 18:29:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18: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-07-27 18:29:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:29:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:29:23] local.INFO: Teltonika packet parsed successfully {"connection_id":145475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:29:23] local.INFO: Passing IMEI to GPS processor {"connection_id":145475,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:29:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":145475,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:29:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:29:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 18:29:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 18:29:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000221696001,"66":12885,"109":206,"85":15104,"24":8,"16":111785040798547968,"45":9092838041425651712},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-27 18:29:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 18:29:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 18:29:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000221696001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:29:23] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-27 18:29:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 18:29:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111785040798547968,"km_value":111785040798547.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:29:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9092838041425651712,"description":"Unknown IO ID 45"} 
[2026-07-27 18:29:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000221696001,"power":12885,"unknown_109":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":9092838041425651712}} 
[2026-07-27 18:29:23] local.INFO: DEBUG: GPS processor result {"connection_id":145475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554740,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:29:23] local.INFO: GPS data processed {"connection_id":145475,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:29:23] local.INFO: Acknowledgment sent {"connection_id":145475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:29:31] local.INFO: TCP Data received {"connection_id":143072,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:29:31] local.INFO: Processing buffer {"connection_id":143072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:29:31] local.INFO: IMEI packet received {"connection_id":143072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 18:29:31] local.INFO: IMEI acknowledgment sent {"connection_id":143072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:29:36] local.INFO: TCP Data received {"connection_id":143214,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3a52140012d1967c0071fee200046011624..."} 
[2026-07-27 18:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3a52140012d1967c0071fee200046011624..."} 
[2026-07-27 18:29:36] local.INFO: Processing buffer {"connection_id":143214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3a52140012d1967c0071fee200046011624..."} 
[2026-07-27 18:29:36] local.INFO: Packet analysis {"connection_id":143214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3a5"} 
[2026-07-27 18:29:36] local.INFO: Extracted packet for processing {"connection_id":143214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3a5"} 
[2026-07-27 18:29:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":36,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 18:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:29:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000170240001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:29:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 18:29:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 18:29:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:29:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785156936000,"timestamp_ms":1785156936000,"timestamp_seconds":1785156936,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3a52140"} 
[2026-07-27 18:29:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:29:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-27 18:29:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:29:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:29:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:29:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:29:36] local.INFO: Teltonika packet parsed successfully {"connection_id":143214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:29:36] local.INFO: Passing IMEI to GPS processor {"connection_id":143214,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:29:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":143214,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:29:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:29:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:29:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:29:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000170240001,"66":12461,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:29:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:29:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:29:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000170240001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:29:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:29:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:29:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:29:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 18:29:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000170240001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 18:29:36] local.INFO: DEBUG: GPS processor result {"connection_id":143214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554741,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:29:36] local.INFO: GPS data processed {"connection_id":143214,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:29:36] local.INFO: Acknowledgment sent {"connection_id":143214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:29:36] local.INFO: TCP Data received {"connection_id":143072,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:29:36] local.INFO: Processing buffer {"connection_id":143072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:29:36] local.INFO: IMEI packet received {"connection_id":143072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 18:29:36] local.INFO: IMEI acknowledgment sent {"connection_id":143072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:29:37] local.INFO: TCP Data received {"connection_id":143072,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3a782a0012da8c18005df73800023013426..."} 
[2026-07-27 18:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143072,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3a782a0012da8c18005df73800023013426..."} 
[2026-07-27 18:29:37] local.INFO: Processing buffer {"connection_id":143072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3a782a0012da8c18005df73800023013426..."} 
[2026-07-27 18:29:37] local.INFO: Packet analysis {"connection_id":143072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3a7"} 
[2026-07-27 18:29:37] local.INFO: Extracted packet for processing {"connection_id":143072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3a7"} 
[2026-07-27 18:29:37] local.INFO: GPS Element Parsed {"raw_longitude":766034304,"raw_latitude":98530176,"longitude_deg":76.6034304,"latitude_deg":9.8530176,"altitude":35,"angle":308,"satellites":38,"speed":13,"hex_longitude":"2da8c180","hex_latitude":"05df7380","is_valid_coordinates":true} 
[2026-07-27 18:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000215296001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:29:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359254772856913920,"note":"Value kept but may cause issues"} 
[2026-07-27 18:29:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6286321367143778304,"note":"Value kept but may cause issues"} 
[2026-07-27 18:29:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:29:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785157092000,"timestamp_ms":1785157092000,"timestamp_seconds":1785157092,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3a782a0"} 
[2026-07-27 18:29:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:29:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-27 18:29:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:29:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:29:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:29:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:29:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:29:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:29:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:29:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:29:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:29:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:29:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000215296001,"66":27484,"70":206,"88":19968,"24":13,"16":359254772856913920,"45":-6286321367143778304},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,88,24,16,45]} 
[2026-07-27 18:29:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:29:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:29:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000215296001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:29:37] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-27 18:29:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 18:29:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359254772856913920,"km_value":359254772856913.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:29:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6286321367143778304,"description":"Unknown IO ID 45"} 
[2026-07-27 18:29:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000215296001,"power":27484,"unknown_70":206,"unknown_88":19968,"ignition":13,"odometer":null,"unknown_45":-6286321367143778304}} 
[2026-07-27 18:29:37] local.INFO: DEBUG: GPS processor result {"connection_id":143072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:29:37] local.INFO: GPS data processed {"connection_id":143072,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:29:37] local.INFO: Acknowledgment sent {"connection_id":143072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:29:59] local.INFO: TCP Data received {"connection_id":145476,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145476,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:29:59] local.INFO: Processing buffer {"connection_id":145476,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:29:59] local.INFO: IMEI packet received {"connection_id":145476,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 18:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":145476,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:30:05] local.INFO: TCP Data received {"connection_id":145476,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145476,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:30:05] local.INFO: Processing buffer {"connection_id":145476,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:30:05] local.INFO: IMEI packet received {"connection_id":145476,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 18:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":145476,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:30:07] local.INFO: TCP Data received {"connection_id":143215,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143215,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:30:07] local.INFO: Processing buffer {"connection_id":143215,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:30:07] local.INFO: IMEI packet received {"connection_id":143215,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 18:30:07] local.INFO: IMEI acknowledgment sent {"connection_id":143215,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:30:08] local.INFO: TCP Data received {"connection_id":143072,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3a7b950012da8a4c005df8b000021013628..."} 
[2026-07-27 18:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143072,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3a7b950012da8a4c005df8b000021013628..."} 
[2026-07-27 18:30:08] local.INFO: Processing buffer {"connection_id":143072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3a7b950012da8a4c005df8b000021013628..."} 
[2026-07-27 18:30:08] local.INFO: Packet analysis {"connection_id":143072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3a7"} 
[2026-07-27 18:30:08] local.INFO: Extracted packet for processing {"connection_id":143072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3a7"} 
[2026-07-27 18:30:08] local.INFO: GPS Element Parsed {"raw_longitude":766026944,"raw_latitude":98536192,"longitude_deg":76.6026944,"latitude_deg":9.8536192,"altitude":33,"angle":310,"satellites":40,"speed":33,"hex_longitude":"2da8a4c0","hex_latitude":"05df8b00","is_valid_coordinates":true} 
[2026-07-27 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-07-27 18:30:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000215552001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:30:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359255232418414592,"note":"Value kept but may cause issues"} 
[2026-07-27 18:30:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6286602842120421376,"note":"Value kept but may cause issues"} 
[2026-07-27 18:30:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:30:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785157106000,"timestamp_ms":1785157106000,"timestamp_seconds":1785157106,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3a7b950"} 
[2026-07-27 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-07-27 18:30:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-27 18:30:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 18:30:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:30:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:30:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:30:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:30:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:30:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:30:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:30:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000215552001,"66":27919,"70":206,"88":19968,"24":33,"16":359255232418414592,"45":-6286602842120421376},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,88,24,16,45]} 
[2026-07-27 18:30:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:30:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:30:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000215552001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:30:08] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-27 18:30:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 18:30:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359255232418414592,"km_value":359255232418414.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:30:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6286602842120421376,"description":"Unknown IO ID 45"} 
[2026-07-27 18:30:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000215552001,"power":27919,"unknown_70":206,"unknown_88":19968,"ignition":33,"odometer":null,"unknown_45":-6286602842120421376}} 
[2026-07-27 18:30:08] local.INFO: DEBUG: GPS processor result {"connection_id":143072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:30:08] local.INFO: GPS data processed {"connection_id":143072,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:30:08] local.INFO: Acknowledgment sent {"connection_id":143072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:30:09] local.INFO: TCP Data received {"connection_id":145476,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3a57348012d1967c0071fee200046011625..."} 
[2026-07-27 18:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3a57348012d1967c0071fee200046011625..."} 
[2026-07-27 18:30:09] local.INFO: Processing buffer {"connection_id":145476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3a57348012d1967c0071fee200046011625..."} 
[2026-07-27 18:30:09] local.INFO: Packet analysis {"connection_id":145476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3a5"} 
[2026-07-27 18:30:09] local.INFO: Extracted packet for processing {"connection_id":145476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3a5"} 
[2026-07-27 18:30:09] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":37,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 18:30:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:30:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000175616001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:30:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 18:30:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 18:30:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:30:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785156957000,"timestamp_ms":1785156957000,"timestamp_seconds":1785156957,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3a57348"} 
[2026-07-27 18:30:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:30:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:30:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-27 18:30:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:30:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:30:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:30:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:30:09] local.INFO: Teltonika packet parsed successfully {"connection_id":145476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:30:09] local.INFO: Passing IMEI to GPS processor {"connection_id":145476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:30:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":145476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:30:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:30:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:30:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:30:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000175616001,"66":12406,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:30:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:30:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:30:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000175616001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:30:09] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:30:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:30:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:30:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 18:30:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000175616001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 18:30:09] local.INFO: DEBUG: GPS processor result {"connection_id":145476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554744,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:30:09] local.INFO: GPS data processed {"connection_id":145476,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:30:09] local.INFO: Acknowledgment sent {"connection_id":145476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:30:12] local.INFO: TCP Data received {"connection_id":143215,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143215,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:30:12] local.INFO: Processing buffer {"connection_id":143215,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:30:12] local.INFO: IMEI packet received {"connection_id":143215,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 18:30:12] local.INFO: IMEI acknowledgment sent {"connection_id":143215,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:30:13] local.INFO: TCP Data received {"connection_id":143215,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3a7e830012d7e30c005d354080002009d28..."} 
[2026-07-27 18:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143215,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3a7e830012d7e30c005d354080002009d28..."} 
[2026-07-27 18:30:13] local.INFO: Processing buffer {"connection_id":143215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3a7e830012d7e30c005d354080002009d28..."} 
[2026-07-27 18:30:13] local.INFO: Packet analysis {"connection_id":143215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3a7"} 
[2026-07-27 18:30:13] local.INFO: Extracted packet for processing {"connection_id":143215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3a7"} 
[2026-07-27 18:30:13] local.INFO: GPS Element Parsed {"raw_longitude":763244736,"raw_latitude":97735688,"longitude_deg":76.3244736,"latitude_deg":9.7735688,"altitude":2,"angle":157,"satellites":40,"speed":8,"hex_longitude":"2d7e30c0","hex_latitude":"05d35408","is_valid_coordinates":true} 
[2026-07-27 18: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-07-27 18:30:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000221952001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:30:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111785049388482560,"note":"Value kept but may cause issues"} 
[2026-07-27 18:30:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9092838041425602560,"note":"Value kept but may cause issues"} 
[2026-07-27 18:30:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:30:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785157118000,"timestamp_ms":1785157118000,"timestamp_seconds":1785157118,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3a7e830"} 
[2026-07-27 18:30:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:30:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-27 18:30: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-07-27 18: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-07-27 18:30:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:30:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:30:13] local.INFO: Teltonika packet parsed successfully {"connection_id":143215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:30:13] local.INFO: Passing IMEI to GPS processor {"connection_id":143215,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:30:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":143215,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:30:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:30:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 18:30:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 18:30:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000221952001,"66":12885,"109":206,"85":15104,"24":8,"16":111785049388482560,"45":9092838041425602560},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-27 18:30:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 18:30:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 18:30:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000221952001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:30:13] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-27 18:30:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 18:30:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111785049388482560,"km_value":111785049388482.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:30:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9092838041425602560,"description":"Unknown IO ID 45"} 
[2026-07-27 18:30:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000221952001,"power":12885,"unknown_109":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":9092838041425602560}} 
[2026-07-27 18:30:13] local.INFO: DEBUG: GPS processor result {"connection_id":143215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554745,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:30:13] local.INFO: GPS data processed {"connection_id":143215,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:30:13] local.INFO: Acknowledgment sent {"connection_id":143215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:30:31] local.INFO: TCP Data received {"connection_id":143073,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:30:31] local.INFO: Processing buffer {"connection_id":143073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:30:31] local.INFO: IMEI packet received {"connection_id":143073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 18:30:31] local.INFO: IMEI acknowledgment sent {"connection_id":143073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:30:36] local.INFO: TCP Data received {"connection_id":143073,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:30:36] local.INFO: Processing buffer {"connection_id":143073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:30:36] local.INFO: IMEI packet received {"connection_id":143073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 18:30:36] local.INFO: IMEI acknowledgment sent {"connection_id":143073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:30:37] local.INFO: TCP Data received {"connection_id":143073,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3a7e448012da88a8005dfa3600021013827..."} 
[2026-07-27 18:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143073,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3a7e448012da88a8005dfa3600021013827..."} 
[2026-07-27 18:30:37] local.INFO: Processing buffer {"connection_id":143073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3a7e448012da88a8005dfa3600021013827..."} 
[2026-07-27 18:30:37] local.INFO: Packet analysis {"connection_id":143073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3a7"} 
[2026-07-27 18:30:37] local.INFO: Extracted packet for processing {"connection_id":143073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3a7"} 
[2026-07-27 18:30:37] local.INFO: GPS Element Parsed {"raw_longitude":766020224,"raw_latitude":98542432,"longitude_deg":76.6020224,"latitude_deg":9.8542432,"altitude":33,"angle":312,"satellites":39,"speed":36,"hex_longitude":"2da88a80","hex_latitude":"05dfa360","is_valid_coordinates":true} 
[2026-07-27 18:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:30:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000219136001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:30:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359255670505078784,"note":"Value kept but may cause issues"} 
[2026-07-27 18:30:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6294695247699312640,"note":"Value kept but may cause issues"} 
[2026-07-27 18:30:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:30:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785157117000,"timestamp_ms":1785157117000,"timestamp_seconds":1785157117,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3a7e448"} 
[2026-07-27 18:30:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:30:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-27 18:30:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:30:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:30:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:30:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:30:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:30:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:30:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:30:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:30:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:30:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:30:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000219136001,"66":27974,"70":206,"88":19968,"24":36,"16":359255670505078784,"45":-6294695247699312640},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,88,24,16,45]} 
[2026-07-27 18:30:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:30:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:30:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000219136001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:30:37] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-27 18:30:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 18:30:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359255670505078784,"km_value":359255670505078.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:30:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6294695247699312640,"description":"Unknown IO ID 45"} 
[2026-07-27 18:30:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000219136001,"power":27974,"unknown_70":206,"unknown_88":19968,"ignition":36,"odometer":null,"unknown_45":-6294695247699312640}} 
[2026-07-27 18:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":143073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:30:37] local.INFO: GPS data processed {"connection_id":143073,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:30:37] local.INFO: Acknowledgment sent {"connection_id":143073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:30:40] local.INFO: TCP Data received {"connection_id":145476,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3a5c550012d1967c0071fee200046011624..."} 
[2026-07-27 18:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3a5c550012d1967c0071fee200046011624..."} 
[2026-07-27 18:30:40] local.INFO: Processing buffer {"connection_id":145476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3a5c550012d1967c0071fee200046011624..."} 
[2026-07-27 18:30:40] local.INFO: Packet analysis {"connection_id":145476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3a5"} 
[2026-07-27 18:30:40] local.INFO: Extracted packet for processing {"connection_id":145476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3a5"} 
[2026-07-27 18:30:40] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":36,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 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-07-27 18:30:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000180992001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:30:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 18:30:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 18:30:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:30:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785156978000,"timestamp_ms":1785156978000,"timestamp_seconds":1785156978,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3a5c550"} 
[2026-07-27 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-07-27 18:30:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 18:30:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 18:30:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:30:40] local.INFO: Teltonika packet parsed successfully {"connection_id":145476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:30:40] local.INFO: Passing IMEI to GPS processor {"connection_id":145476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:30:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":145476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:30:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:30:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:30:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:30:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000180992001,"66":12439,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:30:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:30:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:30:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000180992001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:30:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:30:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:30:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:30:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 18:30:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000180992001,"power":12439,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 18:30:40] local.INFO: DEBUG: GPS processor result {"connection_id":145476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554747,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:30:40] local.INFO: GPS data processed {"connection_id":145476,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:30:40] local.INFO: Acknowledgment sent {"connection_id":145476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:30:44] local.INFO: TCP Data received {"connection_id":143215,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3a7f7d0012d7e330005d350480002009029..."} 
[2026-07-27 18:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143215,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3a7f7d0012d7e330005d350480002009029..."} 
[2026-07-27 18:30:44] local.INFO: Processing buffer {"connection_id":143215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3a7f7d0012d7e330005d350480002009029..."} 
[2026-07-27 18:30:44] local.INFO: Packet analysis {"connection_id":143215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3a7"} 
[2026-07-27 18:30:44] local.INFO: Extracted packet for processing {"connection_id":143215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3a7"} 
[2026-07-27 18:30:44] local.INFO: GPS Element Parsed {"raw_longitude":763245312,"raw_latitude":97734728,"longitude_deg":76.3245312,"latitude_deg":9.7734728,"altitude":2,"angle":144,"satellites":41,"speed":12,"hex_longitude":"2d7e3300","hex_latitude":"05d35048","is_valid_coordinates":true} 
[2026-07-27 18:30:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:30:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000222208001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:30:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111785105223057408,"note":"Value kept but may cause issues"} 
[2026-07-27 18:30:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9092978778913900544,"note":"Value kept but may cause issues"} 
[2026-07-27 18:30:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:30:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785157122000,"timestamp_ms":1785157122000,"timestamp_seconds":1785157122,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3a7f7d0"} 
[2026-07-27 18:30:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:30:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:30:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-27 18:30:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:30:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:30:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:30:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:30:44] local.INFO: Teltonika packet parsed successfully {"connection_id":143215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:30:44] local.INFO: Passing IMEI to GPS processor {"connection_id":143215,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:30:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":143215,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:30:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:30:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 18:30:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 18:30:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000222208001,"66":12961,"109":206,"85":15104,"24":12,"16":111785105223057408,"45":9092978778913900544},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-27 18:30:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 18:30:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 18:30:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000222208001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:30:44] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-27 18:30:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 18:30:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111785105223057408,"km_value":111785105223057.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:30:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9092978778913900544,"description":"Unknown IO ID 45"} 
[2026-07-27 18:30:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000222208001,"power":12961,"unknown_109":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":9092978778913900544}} 
[2026-07-27 18:30:44] local.INFO: DEBUG: GPS processor result {"connection_id":143215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554748,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:30:44] local.INFO: GPS data processed {"connection_id":143215,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:30:44] local.INFO: Acknowledgment sent {"connection_id":143215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:30:59] local.INFO: TCP Data received {"connection_id":143074,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143074,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:30:59] local.INFO: Processing buffer {"connection_id":143074,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:30:59] local.INFO: IMEI packet received {"connection_id":143074,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 18:30:59] local.INFO: IMEI acknowledgment sent {"connection_id":143074,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:31:04] local.INFO: TCP Data received {"connection_id":143074,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143074,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:31:04] local.INFO: Processing buffer {"connection_id":143074,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:31:04] local.INFO: IMEI packet received {"connection_id":143074,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 18:31:04] local.INFO: IMEI acknowledgment sent {"connection_id":143074,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:31:05] local.INFO: TCP Data received {"connection_id":143074,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3a61758012d1967c0071fee200046011623..."} 
[2026-07-27 18:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3a61758012d1967c0071fee200046011623..."} 
[2026-07-27 18:31:05] local.INFO: Processing buffer {"connection_id":143074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3a61758012d1967c0071fee200046011623..."} 
[2026-07-27 18:31:05] local.INFO: Packet analysis {"connection_id":143074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3a6"} 
[2026-07-27 18:31:05] local.INFO: Extracted packet for processing {"connection_id":143074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3a6"} 
[2026-07-27 18:31:05] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":35,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 18:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:31:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000186368001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:31:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 18:31:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 18:31:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:31:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785156999000,"timestamp_ms":1785156999000,"timestamp_seconds":1785156999,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3a61758"} 
[2026-07-27 18:31:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:31:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-27 18:31:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:31:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:31:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:31:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:31:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:31:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:31:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:31:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:31:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:31:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:31:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000186368001,"66":12461,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:31:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:31:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:31:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000186368001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:31:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:31:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:31:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:31:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 18:31:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000186368001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 18:31:05] local.INFO: DEBUG: GPS processor result {"connection_id":143074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554749,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:31:05] local.INFO: GPS data processed {"connection_id":143074,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:31:05] local.INFO: Acknowledgment sent {"connection_id":143074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:31:07] local.INFO: TCP Data received {"connection_id":144198,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144198,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:31:07] local.INFO: Processing buffer {"connection_id":144198,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:31:07] local.INFO: IMEI packet received {"connection_id":144198,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 18:31:07] local.INFO: IMEI acknowledgment sent {"connection_id":144198,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:31:08] local.INFO: TCP Data received {"connection_id":143073,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3a80b58012da8700005dfbb480023013826..."} 
[2026-07-27 18:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143073,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3a80b58012da8700005dfbb480023013826..."} 
[2026-07-27 18:31:08] local.INFO: Processing buffer {"connection_id":143073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3a80b58012da8700005dfbb480023013826..."} 
[2026-07-27 18:31:08] local.INFO: Packet analysis {"connection_id":143073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3a8"} 
[2026-07-27 18:31:08] local.INFO: Extracted packet for processing {"connection_id":143073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3a8"} 
[2026-07-27 18:31:08] local.INFO: GPS Element Parsed {"raw_longitude":766013440,"raw_latitude":98548552,"longitude_deg":76.601344,"latitude_deg":9.8548552,"altitude":35,"angle":312,"satellites":38,"speed":32,"hex_longitude":"2da87000","hex_latitude":"05dfbb48","is_valid_coordinates":true} 
[2026-07-27 18:31:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:31:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000221952001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:31:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359256112886710272,"note":"Value kept but may cause issues"} 
[2026-07-27 18:31:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6302083965836369920,"note":"Value kept but may cause issues"} 
[2026-07-27 18:31:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:31:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785157127000,"timestamp_ms":1785157127000,"timestamp_seconds":1785157127,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3a80b58"} 
[2026-07-27 18:31:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:31:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:31:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-27 18:31:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:31:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:31:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:31:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:31:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:31:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:31:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:31:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:31:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:31:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:31:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000221952001,"66":28050,"70":206,"88":19968,"24":32,"16":359256112886710272,"45":-6302083965836369920},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,88,24,16,45]} 
[2026-07-27 18:31:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:31:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:31:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000221952001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:31:08] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-27 18:31:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 18:31:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359256112886710272,"km_value":359256112886710.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:31:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6302083965836369920,"description":"Unknown IO ID 45"} 
[2026-07-27 18:31:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000221952001,"power":28050,"unknown_70":206,"unknown_88":19968,"ignition":32,"odometer":null,"unknown_45":-6302083965836369920}} 
[2026-07-27 18:31:08] local.INFO: DEBUG: GPS processor result {"connection_id":143073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:31:08] local.INFO: GPS data processed {"connection_id":143073,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:31:08] local.INFO: Acknowledgment sent {"connection_id":143073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:31:12] local.INFO: TCP Data received {"connection_id":144198,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144198,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:31:12] local.INFO: Processing buffer {"connection_id":144198,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:31:12] local.INFO: IMEI packet received {"connection_id":144198,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 18:31:12] local.INFO: IMEI acknowledgment sent {"connection_id":144198,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:31:13] local.INFO: TCP Data received {"connection_id":144198,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3a7fbb8012d7e340005d34f600002008529..."} 
[2026-07-27 18:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144198,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3a7fbb8012d7e340005d34f600002008529..."} 
[2026-07-27 18:31:13] local.INFO: Processing buffer {"connection_id":144198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3a7fbb8012d7e340005d34f600002008529..."} 
[2026-07-27 18:31:13] local.INFO: Packet analysis {"connection_id":144198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3a7"} 
[2026-07-27 18:31:13] local.INFO: Extracted packet for processing {"connection_id":144198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3a7"} 
[2026-07-27 18:31:13] local.INFO: GPS Element Parsed {"raw_longitude":763245568,"raw_latitude":97734496,"longitude_deg":76.3245568,"latitude_deg":9.7734496,"altitude":2,"angle":133,"satellites":41,"speed":12,"hex_longitude":"2d7e3400","hex_latitude":"05d34f60","is_valid_coordinates":true} 
[2026-07-27 18: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-07-27 18:31:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000223232001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:31:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111785122402926592,"note":"Value kept but may cause issues"} 
[2026-07-27 18:31:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9093612097611253760,"note":"Value kept but may cause issues"} 
[2026-07-27 18:31:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:31:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785157123000,"timestamp_ms":1785157123000,"timestamp_seconds":1785157123,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3a7fbb8"} 
[2026-07-27 18:31:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:31:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18: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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-27 18:31:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18: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-07-27 18:31:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:31:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:31:13] local.INFO: Teltonika packet parsed successfully {"connection_id":144198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:31:13] local.INFO: Passing IMEI to GPS processor {"connection_id":144198,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:31:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":144198,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:31:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:31:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 18:31:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 18:31:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000223232001,"66":13048,"109":206,"85":15104,"24":12,"16":111785122402926592,"45":9093612097611253760},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-27 18:31:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 18:31:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 18:31:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000223232001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:31:13] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-27 18:31:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 18:31:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111785122402926592,"km_value":111785122402926.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:31:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9093612097611253760,"description":"Unknown IO ID 45"} 
[2026-07-27 18:31:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000223232001,"power":13048,"unknown_109":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":9093612097611253760}} 
[2026-07-27 18:31:13] local.INFO: DEBUG: GPS processor result {"connection_id":144198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554751,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:31:13] local.INFO: GPS data processed {"connection_id":144198,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:31:13] local.INFO: Acknowledgment sent {"connection_id":144198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:31:31] local.INFO: TCP Data received {"connection_id":145477,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:31:31] local.INFO: Processing buffer {"connection_id":145477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:31:31] local.INFO: IMEI packet received {"connection_id":145477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 18:31:31] local.INFO: IMEI acknowledgment sent {"connection_id":145477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:31:36] local.INFO: TCP Data received {"connection_id":145477,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:31:36] local.INFO: Processing buffer {"connection_id":145477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:31:36] local.INFO: IMEI packet received {"connection_id":145477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 18:31:36] local.INFO: IMEI acknowledgment sent {"connection_id":145477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:31:36] local.INFO: TCP Data received {"connection_id":143074,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3a66960012d1967c0071fee200046011624..."} 
[2026-07-27 18:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3a66960012d1967c0071fee200046011624..."} 
[2026-07-27 18:31:36] local.INFO: Processing buffer {"connection_id":143074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3a66960012d1967c0071fee200046011624..."} 
[2026-07-27 18:31:36] local.INFO: Packet analysis {"connection_id":143074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3a6"} 
[2026-07-27 18:31:36] local.INFO: Extracted packet for processing {"connection_id":143074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3a6"} 
[2026-07-27 18:31:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":36,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 18:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:31:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000191744001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:31:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 18:31:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 18:31:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:31:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785157020000,"timestamp_ms":1785157020000,"timestamp_seconds":1785157020,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3a66960"} 
[2026-07-27 18:31:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:31:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-27 18:31:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:31:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:31:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:31:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:31:36] local.INFO: Teltonika packet parsed successfully {"connection_id":143074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:31:36] local.INFO: Passing IMEI to GPS processor {"connection_id":143074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:31:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":143074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:31:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:31:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:31:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:31:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000191744001,"66":12428,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:31:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:31:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:31:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000191744001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:31:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:31:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:31:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:31:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 18:31:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000191744001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 18:31:37] local.INFO: DEBUG: GPS processor result {"connection_id":143074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554752,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:31:37] local.INFO: GPS data processed {"connection_id":143074,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:31:37] local.INFO: Acknowledgment sent {"connection_id":143074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:31:37] local.INFO: TCP Data received {"connection_id":145477,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3a83e20012da85b4005dfcc800022013623..."} 
[2026-07-27 18:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3a83e20012da85b4005dfcc800022013623..."} 
[2026-07-27 18:31:37] local.INFO: Processing buffer {"connection_id":145477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3a83e20012da85b4005dfcc800022013623..."} 
[2026-07-27 18:31:37] local.INFO: Packet analysis {"connection_id":145477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3a8"} 
[2026-07-27 18:31:37] local.INFO: Extracted packet for processing {"connection_id":145477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3a8"} 
[2026-07-27 18:31:37] local.INFO: GPS Element Parsed {"raw_longitude":766008128,"raw_latitude":98552960,"longitude_deg":76.6008128,"latitude_deg":9.855296,"altitude":34,"angle":310,"satellites":35,"speed":6,"hex_longitude":"2da85b40","hex_latitude":"05dfcc80","is_valid_coordinates":true} 
[2026-07-27 18:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:31:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000224512001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:31:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359256443599192064,"note":"Value kept but may cause issues"} 
[2026-07-27 18:31:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6309543052717635584,"note":"Value kept but may cause issues"} 
[2026-07-27 18:31:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:31:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785157140000,"timestamp_ms":1785157140000,"timestamp_seconds":1785157140,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3a83e20"} 
[2026-07-27 18:31:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:31:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-27 18:31:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:31:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:31:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:31:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:31:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:31:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:31:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:31:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:31:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:31:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:31:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000224512001,"66":27800,"70":206,"88":19968,"24":6,"16":359256443599192064,"45":-6309543052717635584},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,88,24,16,45]} 
[2026-07-27 18:31:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:31:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:31:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000224512001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:31:37] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-27 18:31:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 18:31:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359256443599192064,"km_value":359256443599192.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:31:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6309543052717635584,"description":"Unknown IO ID 45"} 
[2026-07-27 18:31:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000224512001,"power":27800,"unknown_70":206,"unknown_88":19968,"ignition":6,"odometer":null,"unknown_45":-6309543052717635584}} 
[2026-07-27 18:31:37] local.INFO: DEBUG: GPS processor result {"connection_id":145477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:31:37] local.INFO: GPS data processed {"connection_id":145477,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:31:37] local.INFO: Acknowledgment sent {"connection_id":145477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:31:44] local.INFO: TCP Data received {"connection_id":144198,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3a7ffa0012d7e34c005d34ec00002007a29..."} 
[2026-07-27 18:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144198,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3a7ffa0012d7e34c005d34ec00002007a29..."} 
[2026-07-27 18:31:44] local.INFO: Processing buffer {"connection_id":144198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3a7ffa0012d7e34c005d34ec00002007a29..."} 
[2026-07-27 18:31:44] local.INFO: Packet analysis {"connection_id":144198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3a7"} 
[2026-07-27 18:31:44] local.INFO: Extracted packet for processing {"connection_id":144198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3a7"} 
[2026-07-27 18:31:44] local.INFO: GPS Element Parsed {"raw_longitude":763245760,"raw_latitude":97734336,"longitude_deg":76.324576,"latitude_deg":9.7734336,"altitude":2,"angle":122,"satellites":41,"speed":9,"hex_longitude":"2d7e34c0","hex_latitude":"05d34ec0","is_valid_coordinates":true} 
[2026-07-27 18: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-07-27 18:31:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000223488001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:31:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111785135287828480,"note":"Value kept but may cause issues"} 
[2026-07-27 18:31:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9093893572587905024,"note":"Value kept but may cause issues"} 
[2026-07-27 18:31:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:31:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785157124000,"timestamp_ms":1785157124000,"timestamp_seconds":1785157124,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3a7ffa0"} 
[2026-07-27 18:31:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:31:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-27 18:31:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18: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-07-27 18:31:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:31:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:31:44] local.INFO: Teltonika packet parsed successfully {"connection_id":144198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:31:44] local.INFO: Passing IMEI to GPS processor {"connection_id":144198,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:31:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":144198,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:31:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:31:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 18:31:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 18:31:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000223488001,"66":13048,"109":206,"85":15104,"24":9,"16":111785135287828480,"45":9093893572587905024},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-27 18:31:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 18:31:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 18:31:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000223488001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:31:44] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-27 18:31:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 18:31:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111785135287828480,"km_value":111785135287828.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:31:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9093893572587905024,"description":"Unknown IO ID 45"} 
[2026-07-27 18:31:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000223488001,"power":13048,"unknown_109":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":9093893572587905024}} 
[2026-07-27 18:31:44] local.INFO: DEBUG: GPS processor result {"connection_id":144198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554754,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:31:44] local.INFO: GPS data processed {"connection_id":144198,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:31:44] local.INFO: Acknowledgment sent {"connection_id":144198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:31:59] local.INFO: TCP Data received {"connection_id":145478,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145478,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:31:59] local.INFO: Processing buffer {"connection_id":145478,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:31:59] local.INFO: IMEI packet received {"connection_id":145478,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 18:31:59] local.INFO: IMEI acknowledgment sent {"connection_id":145478,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:32:04] local.INFO: TCP Data received {"connection_id":145478,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145478,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:32:04] local.INFO: Processing buffer {"connection_id":145478,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:32:04] local.INFO: IMEI packet received {"connection_id":145478,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 18:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":145478,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:32:06] local.INFO: TCP Data received {"connection_id":145478,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3a6bb68012d1967c0071fee200046011623..."} 
[2026-07-27 18:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3a6bb68012d1967c0071fee200046011623..."} 
[2026-07-27 18:32:06] local.INFO: Processing buffer {"connection_id":145478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3a6bb68012d1967c0071fee200046011623..."} 
[2026-07-27 18:32:06] local.INFO: Packet analysis {"connection_id":145478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3a6"} 
[2026-07-27 18:32:06] local.INFO: Extracted packet for processing {"connection_id":145478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3a6"} 
[2026-07-27 18:32:06] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":35,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 18:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:32:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000197120001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:32:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 18:32:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 18:32:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:32:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785157041000,"timestamp_ms":1785157041000,"timestamp_seconds":1785157041,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3a6bb68"} 
[2026-07-27 18:32:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:32:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-27 18:32:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:32:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:32:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:32:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:32:06] local.INFO: Teltonika packet parsed successfully {"connection_id":145478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:32:06] local.INFO: Passing IMEI to GPS processor {"connection_id":145478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:32:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":145478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:32:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:32:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:32:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:32:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000197120001,"66":12461,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:32:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:32:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:32:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000197120001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:32:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:32:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:32:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:32:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 18:32:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000197120001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 18:32:06] local.INFO: DEBUG: GPS processor result {"connection_id":145478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554755,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:32:06] local.INFO: GPS data processed {"connection_id":145478,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:32:06] local.INFO: Acknowledgment sent {"connection_id":145478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:32:08] local.INFO: TCP Data received {"connection_id":145477,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3a83e20012da85b4005dfcc800022013623..."} 
[2026-07-27 18:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3a83e20012da85b4005dfcc800022013623..."} 
[2026-07-27 18:32:08] local.INFO: Processing buffer {"connection_id":145477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3a83e20012da85b4005dfcc800022013623..."} 
[2026-07-27 18:32:08] local.INFO: Packet analysis {"connection_id":145477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3a8"} 
[2026-07-27 18:32:08] local.INFO: Extracted packet for processing {"connection_id":145477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3a8"} 
[2026-07-27 18:32:08] local.INFO: GPS Element Parsed {"raw_longitude":766008128,"raw_latitude":98552960,"longitude_deg":76.6008128,"latitude_deg":9.855296,"altitude":34,"angle":310,"satellites":35,"speed":6,"hex_longitude":"2da85b40","hex_latitude":"05dfcc80","is_valid_coordinates":true} 
[2026-07-27 18:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:32:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000224512001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:32:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359256443599192064,"note":"Value kept but may cause issues"} 
[2026-07-27 18:32:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6309543052717635584,"note":"Value kept but may cause issues"} 
[2026-07-27 18:32:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:32:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785157140000,"timestamp_ms":1785157140000,"timestamp_seconds":1785157140,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3a83e20"} 
[2026-07-27 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-07-27 18:32:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-27 18:32:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 18:32:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:32:08] local.INFO: Teltonika packet parsed successfully {"connection_id":145477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:32:08] local.INFO: Passing IMEI to GPS processor {"connection_id":145477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:32:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":145477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:32:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:32:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:32:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:32:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000224512001,"66":27800,"70":206,"88":19968,"24":6,"16":359256443599192064,"45":-6309543052717635584},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,88,24,16,45]} 
[2026-07-27 18:32:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:32:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:32:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000224512001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:32:08] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-27 18:32:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 18:32:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359256443599192064,"km_value":359256443599192.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:32:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6309543052717635584,"description":"Unknown IO ID 45"} 
[2026-07-27 18:32:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000224512001,"power":27800,"unknown_70":206,"unknown_88":19968,"ignition":6,"odometer":null,"unknown_45":-6309543052717635584}} 
[2026-07-27 18:32:08] local.INFO: DEBUG: GPS processor result {"connection_id":145477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:32:08] local.INFO: GPS data processed {"connection_id":145477,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:32:08] local.INFO: Acknowledgment sent {"connection_id":145477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:32:12] local.INFO: TCP Data received {"connection_id":143216,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143216,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:32:12] local.INFO: Processing buffer {"connection_id":143216,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:32:12] local.INFO: IMEI packet received {"connection_id":143216,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 18:32:12] local.INFO: IMEI acknowledgment sent {"connection_id":143216,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:32:18] local.INFO: TCP Data received {"connection_id":143216,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143216,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:32:18] local.INFO: Processing buffer {"connection_id":143216,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:32:18] local.INFO: IMEI packet received {"connection_id":143216,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 18:32:18] local.INFO: IMEI acknowledgment sent {"connection_id":143216,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:32:18] local.INFO: TCP Data received {"connection_id":143216,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3a80b58012d7e374005d34dd00000006429..."} 
[2026-07-27 18:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3a80b58012d7e374005d34dd00000006429..."} 
[2026-07-27 18:32:18] local.INFO: Processing buffer {"connection_id":143216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3a80b58012d7e374005d34dd00000006429..."} 
[2026-07-27 18:32:18] local.INFO: Packet analysis {"connection_id":143216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3a8"} 
[2026-07-27 18:32:18] local.INFO: Extracted packet for processing {"connection_id":143216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3a8"} 
[2026-07-27 18:32:18] local.INFO: GPS Element Parsed {"raw_longitude":763246400,"raw_latitude":97734096,"longitude_deg":76.32464,"latitude_deg":9.7734096,"altitude":0,"angle":100,"satellites":41,"speed":10,"hex_longitude":"2d7e3740","hex_latitude":"05d34dd0","is_valid_coordinates":true} 
[2026-07-27 18: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-07-27 18:32:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000223744001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:32:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111785165352599552,"note":"Value kept but may cause issues"} 
[2026-07-27 18:32:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094104678820397056,"note":"Value kept but may cause issues"} 
[2026-07-27 18:32:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:32:18] local.INFO: AVL Record Parsed {"raw_timestamp":1785157127000,"timestamp_ms":1785157127000,"timestamp_seconds":1785157127,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3a80b58"} 
[2026-07-27 18:32:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:32: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-07-27 18: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-27 18:32: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-07-27 18: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-07-27 18:32:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:32:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:32:18] local.INFO: Teltonika packet parsed successfully {"connection_id":143216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:32:18] local.INFO: Passing IMEI to GPS processor {"connection_id":143216,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:32:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":143216,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:32:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:32:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 18:32:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 18:32:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000223744001,"66":12917,"109":206,"85":15104,"24":10,"16":111785165352599552,"45":9094104678820397056},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-27 18:32:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 18:32:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 18:32:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000223744001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:32:18] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-27 18:32:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 18:32:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111785165352599552,"km_value":111785165352599.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:32:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094104678820397056,"description":"Unknown IO ID 45"} 
[2026-07-27 18:32:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000223744001,"power":12917,"unknown_109":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":9094104678820397056}} 
[2026-07-27 18:32:18] local.INFO: DEBUG: GPS processor result {"connection_id":143216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554757,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:32:18] local.INFO: GPS data processed {"connection_id":143216,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:32:18] local.INFO: Acknowledgment sent {"connection_id":143216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:32:21] local.INFO: TCP Data received {"connection_id":143216,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3a80f40012d7e380005d34dd80000004b29..."} 
[2026-07-27 18:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3a80f40012d7e380005d34dd80000004b29..."} 
[2026-07-27 18:32:21] local.INFO: Processing buffer {"connection_id":143216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3a80f40012d7e380005d34dd80000004b29..."} 
[2026-07-27 18:32:21] local.INFO: Packet analysis {"connection_id":143216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3a8"} 
[2026-07-27 18:32:21] local.INFO: Extracted packet for processing {"connection_id":143216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3a8"} 
[2026-07-27 18:32:21] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734104,"longitude_deg":76.3246592,"latitude_deg":9.7734104,"altitude":0,"angle":75,"satellites":41,"speed":9,"hex_longitude":"2d7e3800","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-07-27 18:32:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:32:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000224512001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:32:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111785178237501440,"note":"Value kept but may cause issues"} 
[2026-07-27 18:32:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094808366262112256,"note":"Value kept but may cause issues"} 
[2026-07-27 18:32:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:32:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785157128000,"timestamp_ms":1785157128000,"timestamp_seconds":1785157128,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3a80f40"} 
[2026-07-27 18:32:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:32:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:32:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-27 18:32:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:32:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:32:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:32:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:32:21] local.INFO: Teltonika packet parsed successfully {"connection_id":143216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:32:21] local.INFO: Passing IMEI to GPS processor {"connection_id":143216,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:32:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":143216,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:32:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:32:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 18:32:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 18:32:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000224512001,"66":12885,"109":206,"85":15104,"24":9,"16":111785178237501440,"45":9094808366262112256},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-27 18:32:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 18:32:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 18:32:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000224512001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:32:21] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-27 18:32:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 18:32:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111785178237501440,"km_value":111785178237501.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:32:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094808366262112256,"description":"Unknown IO ID 45"} 
[2026-07-27 18:32:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000224512001,"power":12885,"unknown_109":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":9094808366262112256}} 
[2026-07-27 18:32:21] local.INFO: DEBUG: GPS processor result {"connection_id":143216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554758,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:32:21] local.INFO: GPS data processed {"connection_id":143216,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:32:21] local.INFO: Acknowledgment sent {"connection_id":143216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:32:31] local.INFO: TCP Data received {"connection_id":143075,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:32:31] local.INFO: Processing buffer {"connection_id":143075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:32:31] local.INFO: IMEI packet received {"connection_id":143075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 18:32:31] local.INFO: IMEI acknowledgment sent {"connection_id":143075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:32:36] local.INFO: TCP Data received {"connection_id":143075,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:32:36] local.INFO: Processing buffer {"connection_id":143075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:32:36] local.INFO: IMEI packet received {"connection_id":143075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 18:32:36] local.INFO: IMEI acknowledgment sent {"connection_id":143075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:32:37] local.INFO: TCP Data received {"connection_id":143075,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3a83e20012da85b4005dfcc800022013623..."} 
[2026-07-27 18:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3a83e20012da85b4005dfcc800022013623..."} 
[2026-07-27 18:32:37] local.INFO: Processing buffer {"connection_id":143075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3a83e20012da85b4005dfcc800022013623..."} 
[2026-07-27 18:32:37] local.INFO: Packet analysis {"connection_id":143075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3a8"} 
[2026-07-27 18:32:37] local.INFO: Extracted packet for processing {"connection_id":143075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3a8"} 
[2026-07-27 18:32:37] local.INFO: GPS Element Parsed {"raw_longitude":766008128,"raw_latitude":98552960,"longitude_deg":76.6008128,"latitude_deg":9.855296,"altitude":34,"angle":310,"satellites":35,"speed":6,"hex_longitude":"2da85b40","hex_latitude":"05dfcc80","is_valid_coordinates":true} 
[2026-07-27 18:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:32:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000224512001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:32:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359256443599192064,"note":"Value kept but may cause issues"} 
[2026-07-27 18:32:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6309543052717635584,"note":"Value kept but may cause issues"} 
[2026-07-27 18:32:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:32:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785157140000,"timestamp_ms":1785157140000,"timestamp_seconds":1785157140,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3a83e20"} 
[2026-07-27 18:32:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:32:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-27 18:32:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:32:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:32:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:32:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:32:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:32:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:32:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:32:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:32:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:32:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:32:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000224512001,"66":27800,"70":206,"88":19968,"24":6,"16":359256443599192064,"45":-6309543052717635584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,88,24,16,45]} 
[2026-07-27 18:32:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:32:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:32:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000224512001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:32:37] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-27 18:32:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 18:32:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359256443599192064,"km_value":359256443599192.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:32:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6309543052717635584,"description":"Unknown IO ID 45"} 
[2026-07-27 18:32:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000224512001,"power":27800,"unknown_70":206,"unknown_88":19968,"ignition":6,"odometer":null,"unknown_45":-6309543052717635584}} 
[2026-07-27 18:32:37] local.INFO: DEBUG: GPS processor result {"connection_id":143075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:32:37] local.INFO: GPS data processed {"connection_id":143075,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:32:37] local.INFO: Acknowledgment sent {"connection_id":143075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:32:38] local.INFO: TCP Data received {"connection_id":145478,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3aa41c0012d1967c0071fee200046011621..."} 
[2026-07-27 18:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3aa41c0012d1967c0071fee200046011621..."} 
[2026-07-27 18:32:38] local.INFO: Processing buffer {"connection_id":145478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3aa41c0012d1967c0071fee200046011621..."} 
[2026-07-27 18:32:38] local.INFO: Packet analysis {"connection_id":145478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3aa"} 
[2026-07-27 18:32:38] local.INFO: Extracted packet for processing {"connection_id":145478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3aa"} 
[2026-07-27 18:32:38] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":33,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 18:32:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:32:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000256256001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:32:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 18:32:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 18:32:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:32:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785157272000,"timestamp_ms":1785157272000,"timestamp_seconds":1785157272,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3aa41c0"} 
[2026-07-27 18:32:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:32:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-27 18:32:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:32:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:32:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:32:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:32:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:32:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:32:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:32:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:32:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:32:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:32:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000256256001,"66":12385,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:32:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:32:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:32:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000256256001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:32:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:32:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:32:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:32:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 18:32:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000256256001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 18:32:38] local.INFO: DEBUG: GPS processor result {"connection_id":145478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554760,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:32:38] local.INFO: GPS data processed {"connection_id":145478,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:32:38] local.INFO: Acknowledgment sent {"connection_id":145478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:32:51] local.INFO: TCP Data received {"connection_id":143216,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3a81328012d7e38c005d34e480000003129..."} 
[2026-07-27 18:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3a81328012d7e38c005d34e480000003129..."} 
[2026-07-27 18:32:51] local.INFO: Processing buffer {"connection_id":143216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3a81328012d7e38c005d34e480000003129..."} 
[2026-07-27 18:32:51] local.INFO: Packet analysis {"connection_id":143216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3a8"} 
[2026-07-27 18:32:51] local.INFO: Extracted packet for processing {"connection_id":143216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3a8"} 
[2026-07-27 18:32:51] local.INFO: GPS Element Parsed {"raw_longitude":763246784,"raw_latitude":97734216,"longitude_deg":76.3246784,"latitude_deg":9.7734216,"altitude":0,"angle":49,"satellites":41,"speed":7,"hex_longitude":"2d7e38c0","hex_latitude":"05d34e48","is_valid_coordinates":true} 
[2026-07-27 18:32:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:32:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000224768001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:32:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111785186827436032,"note":"Value kept but may cause issues"} 
[2026-07-27 18:32:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494647296,"note":"Value kept but may cause issues"} 
[2026-07-27 18:32:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:32:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785157129000,"timestamp_ms":1785157129000,"timestamp_seconds":1785157129,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3a81328"} 
[2026-07-27 18:32:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:32:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:32:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-27 18:32:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:32:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:32:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:32:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:32:51] local.INFO: Teltonika packet parsed successfully {"connection_id":143216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:32:51] local.INFO: Passing IMEI to GPS processor {"connection_id":143216,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:32:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":143216,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:32:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:32:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 18:32:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 18:32:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000224768001,"66":12863,"109":206,"85":15104,"24":7,"16":111785186827436032,"45":9095019472494647296},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-27 18:32:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 18:32:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 18:32:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000224768001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:32:51] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-27 18:32:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 18:32:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111785186827436032,"km_value":111785186827436.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:32:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494647296,"description":"Unknown IO ID 45"} 
[2026-07-27 18:32:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000224768001,"power":12863,"unknown_109":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":9095019472494647296}} 
[2026-07-27 18:32:51] local.INFO: DEBUG: GPS processor result {"connection_id":143216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554761,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:32:51] local.INFO: GPS data processed {"connection_id":143216,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:32:51] local.INFO: Acknowledgment sent {"connection_id":143216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:33:04] local.INFO: TCP Data received {"connection_id":144199,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144199,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:33:04] local.INFO: Processing buffer {"connection_id":144199,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:33:04] local.INFO: IMEI packet received {"connection_id":144199,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 18:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":144199,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:33:07] local.INFO: TCP Data received {"connection_id":145479,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145479,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:33:07] local.INFO: Processing buffer {"connection_id":145479,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:33:07] local.INFO: IMEI packet received {"connection_id":145479,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 18:33:07] local.INFO: IMEI acknowledgment sent {"connection_id":145479,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:33:08] local.INFO: TCP Data received {"connection_id":145479,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145479,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:33:08] local.INFO: Processing buffer {"connection_id":145479,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:33:08] local.INFO: IMEI packet received {"connection_id":145479,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 18:33:08] local.INFO: IMEI acknowledgment sent {"connection_id":145479,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:33:09] local.INFO: TCP Data received {"connection_id":143075,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3a83e20012da85b4005dfcc800022013623..."} 
[2026-07-27 18:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3a83e20012da85b4005dfcc800022013623..."} 
[2026-07-27 18:33:09] local.INFO: Processing buffer {"connection_id":143075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3a83e20012da85b4005dfcc800022013623..."} 
[2026-07-27 18:33:09] local.INFO: Packet analysis {"connection_id":143075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3a8"} 
[2026-07-27 18:33:09] local.INFO: Extracted packet for processing {"connection_id":143075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3a8"} 
[2026-07-27 18:33:09] local.INFO: GPS Element Parsed {"raw_longitude":766008128,"raw_latitude":98552960,"longitude_deg":76.6008128,"latitude_deg":9.855296,"altitude":34,"angle":310,"satellites":35,"speed":6,"hex_longitude":"2da85b40","hex_latitude":"05dfcc80","is_valid_coordinates":true} 
[2026-07-27 18:33:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:33:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000224512001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:33:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359256443599192064,"note":"Value kept but may cause issues"} 
[2026-07-27 18:33:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6309543052717635584,"note":"Value kept but may cause issues"} 
[2026-07-27 18:33:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:33:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785157140000,"timestamp_ms":1785157140000,"timestamp_seconds":1785157140,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3a83e20"} 
[2026-07-27 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-07-27 18:33:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-27 18:33:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 18:33:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:33:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:33:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:33:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:33:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:33:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:33:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:33:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000224512001,"66":27800,"70":206,"88":19968,"24":6,"16":359256443599192064,"45":-6309543052717635584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,88,24,16,45]} 
[2026-07-27 18:33:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:33:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:33:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000224512001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:33:09] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-27 18:33:09] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 18:33:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359256443599192064,"km_value":359256443599192.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:33:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6309543052717635584,"description":"Unknown IO ID 45"} 
[2026-07-27 18:33:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000224512001,"power":27800,"unknown_70":206,"unknown_88":19968,"ignition":6,"odometer":null,"unknown_45":-6309543052717635584}} 
[2026-07-27 18:33:09] local.INFO: DEBUG: GPS processor result {"connection_id":143075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:33:09] local.INFO: GPS data processed {"connection_id":143075,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:33:09] local.INFO: Acknowledgment sent {"connection_id":143075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:33:09] local.INFO: TCP Data received {"connection_id":145479,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145479,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:33:09] local.INFO: Processing buffer {"connection_id":145479,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:33:09] local.INFO: IMEI packet received {"connection_id":145479,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 18:33:09] local.INFO: IMEI acknowledgment sent {"connection_id":145479,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:33:09] local.INFO: TCP Data received {"connection_id":144199,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144199,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:33:09] local.INFO: Processing buffer {"connection_id":144199,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:33:09] local.INFO: IMEI packet received {"connection_id":144199,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 18:33:09] local.INFO: IMEI acknowledgment sent {"connection_id":144199,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:33:12] local.INFO: TCP Data received {"connection_id":144199,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3aa93c8012d1967c0071fee200046011623..."} 
[2026-07-27 18:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144199,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3aa93c8012d1967c0071fee200046011623..."} 
[2026-07-27 18:33:12] local.INFO: Processing buffer {"connection_id":144199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3aa93c8012d1967c0071fee200046011623..."} 
[2026-07-27 18:33:12] local.INFO: Packet analysis {"connection_id":144199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3aa"} 
[2026-07-27 18:33:12] local.INFO: Extracted packet for processing {"connection_id":144199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3aa"} 
[2026-07-27 18:33:12] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":35,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 18:33:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:33:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000261632001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:33:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 18:33:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 18:33:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:33:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785157293000,"timestamp_ms":1785157293000,"timestamp_seconds":1785157293,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3aa93c8"} 
[2026-07-27 18:33:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:33:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:33:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-27 18:33:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:33:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:33:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:33:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:33:12] local.INFO: Teltonika packet parsed successfully {"connection_id":144199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:33:12] local.INFO: Passing IMEI to GPS processor {"connection_id":144199,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:33:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":144199,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:33:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:33:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:33:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:33:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000261632001,"66":12145,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:33:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:33:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:33:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000261632001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:33:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:33:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:33:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:33:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 18:33:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000261632001,"power":12145,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 18:33:12] local.INFO: DEBUG: GPS processor result {"connection_id":144199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554763,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:33:12] local.INFO: GPS data processed {"connection_id":144199,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:33:12] local.INFO: Acknowledgment sent {"connection_id":144199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:33:12] local.INFO: TCP Data received {"connection_id":145479,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145479,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:33:12] local.INFO: Processing buffer {"connection_id":145479,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:33:12] local.INFO: IMEI packet received {"connection_id":145479,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 18:33:12] local.INFO: IMEI acknowledgment sent {"connection_id":145479,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:33:13] local.INFO: TCP Data received {"connection_id":145479,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3ab9980012d7e368005d34d280000003129..."} 
[2026-07-27 18:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145479,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3ab9980012d7e368005d34d280000003129..."} 
[2026-07-27 18:33:13] local.INFO: Processing buffer {"connection_id":145479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3ab9980012d7e368005d34d280000003129..."} 
[2026-07-27 18:33:13] local.INFO: Packet analysis {"connection_id":145479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3ab"} 
[2026-07-27 18:33:13] local.INFO: Extracted packet for processing {"connection_id":145479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3ab"} 
[2026-07-27 18:33:13] local.INFO: GPS Element Parsed {"raw_longitude":763246208,"raw_latitude":97733928,"longitude_deg":76.3246208,"latitude_deg":9.7733928,"altitude":0,"angle":49,"satellites":41,"speed":0,"hex_longitude":"2d7e3680","hex_latitude":"05d34d28","is_valid_coordinates":true} 
[2026-07-27 18:33:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:33:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000278784001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:33:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111785234072076288,"note":"Value kept but may cause issues"} 
[2026-07-27 18:33:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094597260029536256,"note":"Value kept but may cause issues"} 
[2026-07-27 18:33:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:33:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785157360000,"timestamp_ms":1785157360000,"timestamp_seconds":1785157360,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3ab9980"} 
[2026-07-27 18:33:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:33:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:33:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-07-27 18:33:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:33:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:33:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:33:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:33:13] local.INFO: Teltonika packet parsed successfully {"connection_id":145479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:33:13] local.INFO: Passing IMEI to GPS processor {"connection_id":145479,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:33:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":145479,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:33:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:33:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 18:33:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 18:33:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000278784001,"66":13363,"109":206,"85":15104,"24":0,"16":111785234072076288,"45":9094597260029536256},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-27 18:33:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 18:33:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 18:33:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000278784001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:33:13] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-27 18:33:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 18:33:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111785234072076288,"km_value":111785234072076.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:33:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094597260029536256,"description":"Unknown IO ID 45"} 
[2026-07-27 18:33:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000278784001,"power":13363,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094597260029536256}} 
[2026-07-27 18:33:13] local.INFO: DEBUG: GPS processor result {"connection_id":145479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554764,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:33:13] local.INFO: GPS data processed {"connection_id":145479,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:33:13] local.INFO: Acknowledgment sent {"connection_id":145479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:33:15] local.INFO: TCP Data received {"connection_id":144199,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3aae5d0012d1967c0071fee200046011624..."} 
[2026-07-27 18:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144199,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3aae5d0012d1967c0071fee200046011624..."} 
[2026-07-27 18:33:15] local.INFO: Processing buffer {"connection_id":144199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3aae5d0012d1967c0071fee200046011624..."} 
[2026-07-27 18:33:15] local.INFO: Packet analysis {"connection_id":144199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3aa"} 
[2026-07-27 18:33:15] local.INFO: Extracted packet for processing {"connection_id":144199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3aa"} 
[2026-07-27 18:33:15] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":36,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 18: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-07-27 18:33:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000267008001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:33:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 18:33:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 18:33: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-07-27 18:33:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785157314000,"timestamp_ms":1785157314000,"timestamp_seconds":1785157314,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3aae5d0"} 
[2026-07-27 18:33:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:33:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18: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":47,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-27 18:33:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1450,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18: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-07-27 18:33:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:33:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:33:15] local.INFO: Teltonika packet parsed successfully {"connection_id":144199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:33:15] local.INFO: Passing IMEI to GPS processor {"connection_id":144199,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:33:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":144199,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:33:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:33:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:33:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:33:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000267008001,"66":12385,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:33:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:33:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:33:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000267008001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:33:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:33:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:33:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:33:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 18:33:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000267008001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 18:33:15] local.INFO: DEBUG: GPS processor result {"connection_id":144199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554765,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:33:15] local.INFO: GPS data processed {"connection_id":144199,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:33:15] local.INFO: Acknowledgment sent {"connection_id":144199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:33:18] local.INFO: TCP Data received {"connection_id":145479,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3abd800012d7e368005d34d280000003128..."} 
[2026-07-27 18:33:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145479,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3abd800012d7e368005d34d280000003128..."} 
[2026-07-27 18:33:18] local.INFO: Processing buffer {"connection_id":145479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3abd800012d7e368005d34d280000003128..."} 
[2026-07-27 18:33:18] local.INFO: Packet analysis {"connection_id":145479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3ab"} 
[2026-07-27 18:33:18] local.INFO: Extracted packet for processing {"connection_id":145479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3ab"} 
[2026-07-27 18:33:18] local.INFO: GPS Element Parsed {"raw_longitude":763246208,"raw_latitude":97733928,"longitude_deg":76.3246208,"latitude_deg":9.7733928,"altitude":0,"angle":49,"satellites":40,"speed":0,"hex_longitude":"2d7e3680","hex_latitude":"05d34d28","is_valid_coordinates":true} 
[2026-07-27 18:33:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:33:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000284160001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:33:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111785234072076288,"note":"Value kept but may cause issues"} 
[2026-07-27 18:33:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094597260029536256,"note":"Value kept but may cause issues"} 
[2026-07-27 18:33:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:33:18] local.INFO: AVL Record Parsed {"raw_timestamp":1785157376000,"timestamp_ms":1785157376000,"timestamp_seconds":1785157376,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3abd800"} 
[2026-07-27 18:33:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:33: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-07-27 18: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-27 18:33:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18: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-07-27 18:33:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:33:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:33:18] local.INFO: Teltonika packet parsed successfully {"connection_id":145479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:33:18] local.INFO: Passing IMEI to GPS processor {"connection_id":145479,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:33:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":145479,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:33:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:33:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 18:33:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 18:33:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000284160001,"66":13428,"109":206,"85":15104,"24":0,"16":111785234072076288,"45":9094597260029536256},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-27 18:33:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 18:33:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 18:33:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000284160001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:33:18] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-27 18:33:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 18:33:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111785234072076288,"km_value":111785234072076.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:33:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094597260029536256,"description":"Unknown IO ID 45"} 
[2026-07-27 18:33:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000284160001,"power":13428,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094597260029536256}} 
[2026-07-27 18:33:18] local.INFO: DEBUG: GPS processor result {"connection_id":145479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554766,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:33:18] local.INFO: GPS data processed {"connection_id":145479,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:33:18] local.INFO: Acknowledgment sent {"connection_id":145479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:33:36] local.INFO: TCP Data received {"connection_id":143076,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:33:36] local.INFO: Processing buffer {"connection_id":143076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:33:36] local.INFO: IMEI packet received {"connection_id":143076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 18:33:36] local.INFO: IMEI acknowledgment sent {"connection_id":143076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:33:41] local.INFO: TCP Data received {"connection_id":143076,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:33:41] local.INFO: Processing buffer {"connection_id":143076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:33:41] local.INFO: IMEI packet received {"connection_id":143076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 18:33:41] local.INFO: IMEI acknowledgment sent {"connection_id":143076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:33:42] local.INFO: TCP Data received {"connection_id":143076,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3a83e20012da85b4005dfcc800022013623..."} 
[2026-07-27 18:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143076,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3a83e20012da85b4005dfcc800022013623..."} 
[2026-07-27 18:33:42] local.INFO: Processing buffer {"connection_id":143076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3a83e20012da85b4005dfcc800022013623..."} 
[2026-07-27 18:33:42] local.INFO: Packet analysis {"connection_id":143076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3a8"} 
[2026-07-27 18:33:42] local.INFO: Extracted packet for processing {"connection_id":143076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3a8"} 
[2026-07-27 18:33:42] local.INFO: GPS Element Parsed {"raw_longitude":766008128,"raw_latitude":98552960,"longitude_deg":76.6008128,"latitude_deg":9.855296,"altitude":34,"angle":310,"satellites":35,"speed":6,"hex_longitude":"2da85b40","hex_latitude":"05dfcc80","is_valid_coordinates":true} 
[2026-07-27 18:33:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:33:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000224512001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:33:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359256443599192064,"note":"Value kept but may cause issues"} 
[2026-07-27 18:33:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6309543052717635584,"note":"Value kept but may cause issues"} 
[2026-07-27 18:33:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:33:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785157140000,"timestamp_ms":1785157140000,"timestamp_seconds":1785157140,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3a83e20"} 
[2026-07-27 18:33:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:33:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-27 18:33:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:33:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:33:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:33:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:33:42] local.INFO: Teltonika packet parsed successfully {"connection_id":143076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:33:42] local.INFO: Passing IMEI to GPS processor {"connection_id":143076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:33:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":143076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18: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-07-27 18:33:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:33:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:33:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000224512001,"66":27800,"70":206,"88":19968,"24":6,"16":359256443599192064,"45":-6309543052717635584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,88,24,16,45]} 
[2026-07-27 18:33:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:33:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:33:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000224512001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:33:42] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-27 18:33:42] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 18:33:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359256443599192064,"km_value":359256443599192.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:33:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6309543052717635584,"description":"Unknown IO ID 45"} 
[2026-07-27 18:33:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000224512001,"power":27800,"unknown_70":206,"unknown_88":19968,"ignition":6,"odometer":null,"unknown_45":-6309543052717635584}} 
[2026-07-27 18:33:42] local.INFO: DEBUG: GPS processor result {"connection_id":143076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:33:42] local.INFO: GPS data processed {"connection_id":143076,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:33:42] local.INFO: Acknowledgment sent {"connection_id":143076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:33:47] local.INFO: TCP Data received {"connection_id":143076,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3a83e20012da85b4005dfcc800022013623..."} 
[2026-07-27 18:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143076,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3a83e20012da85b4005dfcc800022013623..."} 
[2026-07-27 18:33:47] local.INFO: Processing buffer {"connection_id":143076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3a83e20012da85b4005dfcc800022013623..."} 
[2026-07-27 18:33:47] local.INFO: Packet analysis {"connection_id":143076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3a8"} 
[2026-07-27 18:33:47] local.INFO: Extracted packet for processing {"connection_id":143076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3a8"} 
[2026-07-27 18:33:47] local.INFO: GPS Element Parsed {"raw_longitude":766008128,"raw_latitude":98552960,"longitude_deg":76.6008128,"latitude_deg":9.855296,"altitude":34,"angle":310,"satellites":35,"speed":6,"hex_longitude":"2da85b40","hex_latitude":"05dfcc80","is_valid_coordinates":true} 
[2026-07-27 18:33:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:33:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000224512001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:33:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359256443599192064,"note":"Value kept but may cause issues"} 
[2026-07-27 18:33:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6309543052717635584,"note":"Value kept but may cause issues"} 
[2026-07-27 18:33:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:33:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785157140000,"timestamp_ms":1785157140000,"timestamp_seconds":1785157140,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3a83e20"} 
[2026-07-27 18:33:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:33:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:33:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-27 18:33:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:33:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:33:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:33:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:33:47] local.INFO: Teltonika packet parsed successfully {"connection_id":143076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:33:47] local.INFO: Passing IMEI to GPS processor {"connection_id":143076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:33:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":143076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:33:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:33:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:33:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:33:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000224512001,"66":27800,"70":206,"88":19968,"24":6,"16":359256443599192064,"45":-6309543052717635584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,88,24,16,45]} 
[2026-07-27 18:33:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:33:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:33:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000224512001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:33:47] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-27 18:33:47] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 18:33:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359256443599192064,"km_value":359256443599192.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:33:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6309543052717635584,"description":"Unknown IO ID 45"} 
[2026-07-27 18:33:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000224512001,"power":27800,"unknown_70":206,"unknown_88":19968,"ignition":6,"odometer":null,"unknown_45":-6309543052717635584}} 
[2026-07-27 18:33:47] local.INFO: DEBUG: GPS processor result {"connection_id":143076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:33:47] local.INFO: GPS data processed {"connection_id":143076,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:33:47] local.INFO: Acknowledgment sent {"connection_id":143076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:33:49] local.INFO: TCP Data received {"connection_id":145479,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3abd800012d7e368005d34d280000003128..."} 
[2026-07-27 18:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145479,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3abd800012d7e368005d34d280000003128..."} 
[2026-07-27 18:33:49] local.INFO: Processing buffer {"connection_id":145479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3abd800012d7e368005d34d280000003128..."} 
[2026-07-27 18:33:49] local.INFO: Packet analysis {"connection_id":145479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3ab"} 
[2026-07-27 18:33:49] local.INFO: Extracted packet for processing {"connection_id":145479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3ab"} 
[2026-07-27 18:33:49] local.INFO: GPS Element Parsed {"raw_longitude":763246208,"raw_latitude":97733928,"longitude_deg":76.3246208,"latitude_deg":9.7733928,"altitude":0,"angle":49,"satellites":40,"speed":0,"hex_longitude":"2d7e3680","hex_latitude":"05d34d28","is_valid_coordinates":true} 
[2026-07-27 18:33:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:33:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000288256001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:33:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111785234072076288,"note":"Value kept but may cause issues"} 
[2026-07-27 18:33:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094597260029536256,"note":"Value kept but may cause issues"} 
[2026-07-27 18:33:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:33:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785157376000,"timestamp_ms":1785157376000,"timestamp_seconds":1785157376,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3abd800"} 
[2026-07-27 18:33:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:33:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 18: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-07-27 18:33:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18: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-07-27 18:33:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:33:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:33:49] local.INFO: Teltonika packet parsed successfully {"connection_id":145479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:33:49] local.INFO: Passing IMEI to GPS processor {"connection_id":145479,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:33:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":145479,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:33:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:33:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 18:33:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 18:33:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000288256001,"66":13428,"109":206,"85":15104,"24":0,"16":111785234072076288,"45":9094597260029536256},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-27 18:33:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 18:33:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 18:33:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000288256001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:33:49] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-27 18:33:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 18:33:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111785234072076288,"km_value":111785234072076.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:33:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094597260029536256,"description":"Unknown IO ID 45"} 
[2026-07-27 18:33:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000288256001,"power":13428,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094597260029536256}} 
[2026-07-27 18:33:49] local.INFO: DEBUG: GPS processor result {"connection_id":145479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554769,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:33:49] local.INFO: GPS data processed {"connection_id":145479,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:33:49] local.INFO: Acknowledgment sent {"connection_id":145479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:33:57] local.INFO: TCP Data received {"connection_id":145480,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145480,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:33:57] local.INFO: Processing buffer {"connection_id":145480,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:33:57] local.INFO: IMEI packet received {"connection_id":145480,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 18:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":145480,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:33:59] local.INFO: TCP Data received {"connection_id":145480,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145480,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:33:59] local.INFO: Processing buffer {"connection_id":145480,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:33:59] local.INFO: IMEI packet received {"connection_id":145480,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 18:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":145480,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:34:04] local.INFO: TCP Data received {"connection_id":145480,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145480,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:34:04] local.INFO: Processing buffer {"connection_id":145480,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:34:04] local.INFO: IMEI packet received {"connection_id":145480,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 18:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":145480,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:34:05] local.INFO: TCP Data received {"connection_id":145480,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3ab37d8012d1967c0071fee200046011624..."} 
[2026-07-27 18:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3ab37d8012d1967c0071fee200046011624..."} 
[2026-07-27 18:34:05] local.INFO: Processing buffer {"connection_id":145480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3ab37d8012d1967c0071fee200046011624..."} 
[2026-07-27 18:34:05] local.INFO: Packet analysis {"connection_id":145480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3ab"} 
[2026-07-27 18:34:05] local.INFO: Extracted packet for processing {"connection_id":145480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3ab"} 
[2026-07-27 18:34:05] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":36,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 18:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:34:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000272384001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:34:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 18:34:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 18:34:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:34:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785157335000,"timestamp_ms":1785157335000,"timestamp_seconds":1785157335,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3ab37d8"} 
[2026-07-27 18:34:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:34:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-27 18:34:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:34:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:34:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:34:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:34:05] local.INFO: Teltonika packet parsed successfully {"connection_id":145480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:34:05] local.INFO: Passing IMEI to GPS processor {"connection_id":145480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:34:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":145480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:34:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:34:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:34:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:34:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000272384001,"66":12385,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:34:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:34:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:34:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000272384001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:34:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:34:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:34:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:34:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 18:34:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000272384001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 18:34:05] local.INFO: DEBUG: GPS processor result {"connection_id":145480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554770,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:34:05] local.INFO: GPS data processed {"connection_id":145480,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:34:05] local.INFO: Acknowledgment sent {"connection_id":145480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:34:07] local.INFO: TCP Data received {"connection_id":143077,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143077,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:34:07] local.INFO: Processing buffer {"connection_id":143077,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:34:07] local.INFO: IMEI packet received {"connection_id":143077,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 18:34:07] local.INFO: IMEI acknowledgment sent {"connection_id":143077,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:34:12] local.INFO: TCP Data received {"connection_id":143077,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143077,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:34:12] local.INFO: Processing buffer {"connection_id":143077,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:34:12] local.INFO: IMEI packet received {"connection_id":143077,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 18:34:12] local.INFO: IMEI acknowledgment sent {"connection_id":143077,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:34:13] local.INFO: TCP Data received {"connection_id":143077,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3abff10012d7e368005d34d280000003128..."} 
[2026-07-27 18:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3abff10012d7e368005d34d280000003128..."} 
[2026-07-27 18:34:13] local.INFO: Processing buffer {"connection_id":143077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3abff10012d7e368005d34d280000003128..."} 
[2026-07-27 18:34:13] local.INFO: Packet analysis {"connection_id":143077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3ab"} 
[2026-07-27 18:34:13] local.INFO: Extracted packet for processing {"connection_id":143077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3ab"} 
[2026-07-27 18:34:13] local.INFO: GPS Element Parsed {"raw_longitude":763246208,"raw_latitude":97733928,"longitude_deg":76.3246208,"latitude_deg":9.7733928,"altitude":0,"angle":49,"satellites":40,"speed":0,"hex_longitude":"2d7e3680","hex_latitude":"05d34d28","is_valid_coordinates":true} 
[2026-07-27 18:34:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:34:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000288256001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:34:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111785234072076288,"note":"Value kept but may cause issues"} 
[2026-07-27 18:34:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094597260029536256,"note":"Value kept but may cause issues"} 
[2026-07-27 18:34:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:34:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785157386000,"timestamp_ms":1785157386000,"timestamp_seconds":1785157386,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3abff10"} 
[2026-07-27 18:34:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:34: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-07-27 18:34:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-07-27 18:34:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:34:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:34:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:34:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:34:13] local.INFO: Teltonika packet parsed successfully {"connection_id":143077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:34:13] local.INFO: Passing IMEI to GPS processor {"connection_id":143077,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:34:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":143077,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:34:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:34:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 18:34:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 18:34:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000288256001,"66":13189,"109":206,"85":15104,"24":0,"16":111785234072076288,"45":9094597260029536256},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-27 18:34:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 18:34:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 18:34:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000288256001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:34:13] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-27 18:34:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 18:34:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111785234072076288,"km_value":111785234072076.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:34:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094597260029536256,"description":"Unknown IO ID 45"} 
[2026-07-27 18:34:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000288256001,"power":13189,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094597260029536256}} 
[2026-07-27 18:34:14] local.INFO: DEBUG: GPS processor result {"connection_id":143077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554771,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:34:14] local.INFO: GPS data processed {"connection_id":143077,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:34:14] local.INFO: Acknowledgment sent {"connection_id":143077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:34:31] local.INFO: TCP Data received {"connection_id":143217,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:34:31] local.INFO: Processing buffer {"connection_id":143217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:34:31] local.INFO: IMEI packet received {"connection_id":143217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 18:34:31] local.INFO: IMEI acknowledgment sent {"connection_id":143217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:34:36] local.INFO: TCP Data received {"connection_id":143217,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:34:36] local.INFO: Processing buffer {"connection_id":143217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:34:36] local.INFO: IMEI packet received {"connection_id":143217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 18:34:36] local.INFO: IMEI acknowledgment sent {"connection_id":143217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:34:37] local.INFO: TCP Data received {"connection_id":145480,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3ab89e0012d1967c0071fee200046011624..."} 
[2026-07-27 18:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3ab89e0012d1967c0071fee200046011624..."} 
[2026-07-27 18:34:37] local.INFO: Processing buffer {"connection_id":145480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3ab89e0012d1967c0071fee200046011624..."} 
[2026-07-27 18:34:37] local.INFO: Packet analysis {"connection_id":145480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3ab"} 
[2026-07-27 18:34:37] local.INFO: Extracted packet for processing {"connection_id":145480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3ab"} 
[2026-07-27 18:34:37] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":36,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 18:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:34:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000277760001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:34:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 18:34:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 18:34:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:34:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785157356000,"timestamp_ms":1785157356000,"timestamp_seconds":1785157356,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3ab89e0"} 
[2026-07-27 18:34:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:34:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-27 18:34:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:34:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:34:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:34:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:34:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:34:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:34:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:34:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:34:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:34:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:34:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000277760001,"66":11678,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:34:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:34:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:34:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000277760001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:34:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:34:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:34:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:34:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 18:34:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000277760001,"power":11678,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 18:34:37] local.INFO: DEBUG: GPS processor result {"connection_id":145480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554772,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:34:37] local.INFO: GPS data processed {"connection_id":145480,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:34:37] local.INFO: Acknowledgment sent {"connection_id":145480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:34:37] local.INFO: TCP Data received {"connection_id":143217,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3a83e20012da85b4005dfcc800022013623..."} 
[2026-07-27 18:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143217,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3a83e20012da85b4005dfcc800022013623..."} 
[2026-07-27 18:34:37] local.INFO: Processing buffer {"connection_id":143217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3a83e20012da85b4005dfcc800022013623..."} 
[2026-07-27 18:34:37] local.INFO: Packet analysis {"connection_id":143217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3a8"} 
[2026-07-27 18:34:37] local.INFO: Extracted packet for processing {"connection_id":143217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3a8"} 
[2026-07-27 18:34:37] local.INFO: GPS Element Parsed {"raw_longitude":766008128,"raw_latitude":98552960,"longitude_deg":76.6008128,"latitude_deg":9.855296,"altitude":34,"angle":310,"satellites":35,"speed":6,"hex_longitude":"2da85b40","hex_latitude":"05dfcc80","is_valid_coordinates":true} 
[2026-07-27 18:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:34:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000224512001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:34:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359256443599192064,"note":"Value kept but may cause issues"} 
[2026-07-27 18:34:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6309543052717635584,"note":"Value kept but may cause issues"} 
[2026-07-27 18:34:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:34:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785157140000,"timestamp_ms":1785157140000,"timestamp_seconds":1785157140,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3a83e20"} 
[2026-07-27 18:34:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:34:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-27 18:34:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:34:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:34:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:34:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:34:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:34:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:34:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:34:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:34:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:34:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:34:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000224512001,"66":27800,"70":206,"88":19968,"24":6,"16":359256443599192064,"45":-6309543052717635584},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,88,24,16,45]} 
[2026-07-27 18:34:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:34:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:34:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000224512001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:34:37] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-27 18:34:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 18:34:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359256443599192064,"km_value":359256443599192.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:34:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6309543052717635584,"description":"Unknown IO ID 45"} 
[2026-07-27 18:34:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000224512001,"power":27800,"unknown_70":206,"unknown_88":19968,"ignition":6,"odometer":null,"unknown_45":-6309543052717635584}} 
[2026-07-27 18:34:37] local.INFO: DEBUG: GPS processor result {"connection_id":143217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:34:37] local.INFO: GPS data processed {"connection_id":143217,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:34:37] local.INFO: Acknowledgment sent {"connection_id":143217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:34:45] local.INFO: TCP Data received {"connection_id":143077,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3abff10012d7e368005d34d280000003128..."} 
[2026-07-27 18:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3abff10012d7e368005d34d280000003128..."} 
[2026-07-27 18:34:45] local.INFO: Processing buffer {"connection_id":143077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3abff10012d7e368005d34d280000003128..."} 
[2026-07-27 18:34:45] local.INFO: Packet analysis {"connection_id":143077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3ab"} 
[2026-07-27 18:34:45] local.INFO: Extracted packet for processing {"connection_id":143077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3ab"} 
[2026-07-27 18:34:45] local.INFO: GPS Element Parsed {"raw_longitude":763246208,"raw_latitude":97733928,"longitude_deg":76.3246208,"latitude_deg":9.7733928,"altitude":0,"angle":49,"satellites":40,"speed":0,"hex_longitude":"2d7e3680","hex_latitude":"05d34d28","is_valid_coordinates":true} 
[2026-07-27 18:34:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:34:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000290816001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:34:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111785234072076288,"note":"Value kept but may cause issues"} 
[2026-07-27 18:34:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094597260029536256,"note":"Value kept but may cause issues"} 
[2026-07-27 18:34:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:34:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785157386000,"timestamp_ms":1785157386000,"timestamp_seconds":1785157386,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3abff10"} 
[2026-07-27 18:34:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:34: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-07-27 18:34:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-27 18:34:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:34:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:34:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:34:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:34:45] local.INFO: Teltonika packet parsed successfully {"connection_id":143077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:34:45] local.INFO: Passing IMEI to GPS processor {"connection_id":143077,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:34:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":143077,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:34:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:34:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 18:34:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 18:34:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000290816001,"66":13189,"109":206,"85":15104,"24":0,"16":111785234072076288,"45":9094597260029536256},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-27 18:34:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 18:34:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 18:34:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000290816001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:34:45] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-27 18:34:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 18:34:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111785234072076288,"km_value":111785234072076.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:34:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094597260029536256,"description":"Unknown IO ID 45"} 
[2026-07-27 18:34:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000290816001,"power":13189,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094597260029536256}} 
[2026-07-27 18:34:45] local.INFO: DEBUG: GPS processor result {"connection_id":143077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554774,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:34:45] local.INFO: GPS data processed {"connection_id":143077,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:34:45] local.INFO: Acknowledgment sent {"connection_id":143077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:34:59] local.INFO: TCP Data received {"connection_id":143218,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143218,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:34:59] local.INFO: Processing buffer {"connection_id":143218,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:34:59] local.INFO: IMEI packet received {"connection_id":143218,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 18:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":143218,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:35:00] local.INFO: TCP Data received {"connection_id":143218,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143218,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:35:00] local.INFO: Processing buffer {"connection_id":143218,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:35:00] local.INFO: IMEI packet received {"connection_id":143218,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 18:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":143218,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:35:04] local.INFO: TCP Data received {"connection_id":143218,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143218,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:35:04] local.INFO: Processing buffer {"connection_id":143218,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:35:04] local.INFO: IMEI packet received {"connection_id":143218,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 18:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":143218,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:35:06] local.INFO: TCP Data received {"connection_id":143218,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3abdbe8012d1967c0071fee200046011623..."} 
[2026-07-27 18:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143218,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3abdbe8012d1967c0071fee200046011623..."} 
[2026-07-27 18:35:06] local.INFO: Processing buffer {"connection_id":143218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3abdbe8012d1967c0071fee200046011623..."} 
[2026-07-27 18:35:06] local.INFO: Packet analysis {"connection_id":143218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3ab"} 
[2026-07-27 18:35:06] local.INFO: Extracted packet for processing {"connection_id":143218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3ab"} 
[2026-07-27 18:35:06] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":35,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 18:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:35:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000283136001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:35:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 18:35:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 18:35:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:35:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785157377000,"timestamp_ms":1785157377000,"timestamp_seconds":1785157377,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3abdbe8"} 
[2026-07-27 18:35:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:35:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-07-27 18:35:06] 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-07-27 18:35:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:35:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:35:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:35:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:35:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143218,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:35:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143218,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:35:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:35:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:35:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:35:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000283136001,"66":12428,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:35:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:35:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:35:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000283136001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:35:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:35:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:35:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:35:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 18:35:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000283136001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 18:35:06] local.INFO: DEBUG: GPS processor result {"connection_id":143218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554775,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:35:06] local.INFO: GPS data processed {"connection_id":143218,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:35:06] local.INFO: Acknowledgment sent {"connection_id":143218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:35:07] local.INFO: TCP Data received {"connection_id":144200,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144200,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:35:07] local.INFO: Processing buffer {"connection_id":144200,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:35:07] local.INFO: IMEI packet received {"connection_id":144200,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 18:35:07] local.INFO: IMEI acknowledgment sent {"connection_id":144200,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:35:08] local.INFO: TCP Data received {"connection_id":143217,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3ace1a0012da8530005dfd2380021013a29..."} 
[2026-07-27 18:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143217,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3ace1a0012da8530005dfd2380021013a29..."} 
[2026-07-27 18:35:08] local.INFO: Processing buffer {"connection_id":143217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3ace1a0012da8530005dfd2380021013a29..."} 
[2026-07-27 18:35:08] local.INFO: Packet analysis {"connection_id":143217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3ac"} 
[2026-07-27 18:35:08] local.INFO: Extracted packet for processing {"connection_id":143217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3ac"} 
[2026-07-27 18:35:08] local.INFO: GPS Element Parsed {"raw_longitude":766006016,"raw_latitude":98554424,"longitude_deg":76.6006016,"latitude_deg":9.8554424,"altitude":33,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2da85300","hex_latitude":"05dfd238","is_valid_coordinates":true} 
[2026-07-27 18:35:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:35:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000227840001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:35:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359256443599192064,"note":"Value kept but may cause issues"} 
[2026-07-27 18:35:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6315383658483253248,"note":"Value kept but may cause issues"} 
[2026-07-27 18:35:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:35:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785157444000,"timestamp_ms":1785157444000,"timestamp_seconds":1785157444,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3ace1a0"} 
[2026-07-27 18:35:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:35:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 18:35:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-27 18:35:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:35:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:35:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:35:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:35:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:35:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:35:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:35:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:35:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:35:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:35:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000227840001,"66":26310,"70":206,"88":19968,"24":0,"16":359256443599192064,"45":-6315383658483253248},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,88,24,16,45]} 
[2026-07-27 18:35:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:35:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:35:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000227840001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:35:08] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-27 18:35:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 18:35:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359256443599192064,"km_value":359256443599192.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:35:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6315383658483253248,"description":"Unknown IO ID 45"} 
[2026-07-27 18:35:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000227840001,"power":26310,"unknown_70":206,"unknown_88":19968,"ignition":0,"odometer":null,"unknown_45":-6315383658483253248}} 
[2026-07-27 18:35:08] local.INFO: DEBUG: GPS processor result {"connection_id":143217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:35:08] local.INFO: GPS data processed {"connection_id":143217,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:35:08] local.INFO: Acknowledgment sent {"connection_id":143217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:35:12] local.INFO: TCP Data received {"connection_id":144200,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144200,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:35:12] local.INFO: Processing buffer {"connection_id":144200,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:35:12] local.INFO: IMEI packet received {"connection_id":144200,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 18:35:12] local.INFO: IMEI acknowledgment sent {"connection_id":144200,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:35:13] local.INFO: TCP Data received {"connection_id":144200,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3ac39a8012d7e368005d34d280000003127..."} 
[2026-07-27 18:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144200,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3ac39a8012d7e368005d34d280000003127..."} 
[2026-07-27 18:35:13] local.INFO: Processing buffer {"connection_id":144200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3ac39a8012d7e368005d34d280000003127..."} 
[2026-07-27 18:35:13] local.INFO: Packet analysis {"connection_id":144200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3ac"} 
[2026-07-27 18:35:13] local.INFO: Extracted packet for processing {"connection_id":144200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3ac"} 
[2026-07-27 18:35:13] local.INFO: GPS Element Parsed {"raw_longitude":763246208,"raw_latitude":97733928,"longitude_deg":76.3246208,"latitude_deg":9.7733928,"altitude":0,"angle":49,"satellites":39,"speed":0,"hex_longitude":"2d7e3680","hex_latitude":"05d34d28","is_valid_coordinates":true} 
[2026-07-27 18:35:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:35:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000290816001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:35:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111785234072076288,"note":"Value kept but may cause issues"} 
[2026-07-27 18:35:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094597260029536256,"note":"Value kept but may cause issues"} 
[2026-07-27 18:35:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:35:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785157401000,"timestamp_ms":1785157401000,"timestamp_seconds":1785157401,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3ac39a8"} 
[2026-07-27 18:35:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:35:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-27 18:35:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18: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-07-27 18:35:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:35:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:35:13] local.INFO: Teltonika packet parsed successfully {"connection_id":144200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:35:13] local.INFO: Passing IMEI to GPS processor {"connection_id":144200,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:35:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":144200,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:35:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:35:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 18:35:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 18:35:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000290816001,"66":12906,"109":206,"85":15104,"24":0,"16":111785234072076288,"45":9094597260029536256},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-27 18:35:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 18:35:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 18:35:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000290816001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:35:13] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-27 18:35:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 18:35:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111785234072076288,"km_value":111785234072076.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:35:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094597260029536256,"description":"Unknown IO ID 45"} 
[2026-07-27 18:35:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000290816001,"power":12906,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094597260029536256}} 
[2026-07-27 18:35:13] local.INFO: DEBUG: GPS processor result {"connection_id":144200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554777,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:35:13] local.INFO: GPS data processed {"connection_id":144200,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:35:13] local.INFO: Acknowledgment sent {"connection_id":144200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:35:31] local.INFO: TCP Data received {"connection_id":144201,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:35:32] local.INFO: Processing buffer {"connection_id":144201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:35:32] local.INFO: IMEI packet received {"connection_id":144201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 18:35:32] local.INFO: IMEI acknowledgment sent {"connection_id":144201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:35:36] local.INFO: TCP Data received {"connection_id":144201,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:35:36] local.INFO: Processing buffer {"connection_id":144201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:35:36] local.INFO: IMEI packet received {"connection_id":144201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 18:35:36] local.INFO: IMEI acknowledgment sent {"connection_id":144201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:35:37] local.INFO: TCP Data received {"connection_id":143218,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3ac2df0012d1967c0071fee200046011623..."} 
[2026-07-27 18:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143218,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3ac2df0012d1967c0071fee200046011623..."} 
[2026-07-27 18:35:37] local.INFO: Processing buffer {"connection_id":143218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3ac2df0012d1967c0071fee200046011623..."} 
[2026-07-27 18:35:37] local.INFO: Packet analysis {"connection_id":143218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3ac"} 
[2026-07-27 18:35:37] local.INFO: Extracted packet for processing {"connection_id":143218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3ac"} 
[2026-07-27 18:35:37] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":35,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 18:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000288512001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 18:35:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 18:35:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785157398000,"timestamp_ms":1785157398000,"timestamp_seconds":1785157398,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3ac2df0"} 
[2026-07-27 18:35:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:35:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-27 18:35:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:35:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:35:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143218,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143218,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:35:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000288512001,"66":12385,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000288512001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:35:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:35:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:35:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:35:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 18:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000288512001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 18:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":143218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554778,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:35:37] local.INFO: GPS data processed {"connection_id":143218,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:35:37] local.INFO: Acknowledgment sent {"connection_id":143218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:35:37] local.INFO: TCP Data received {"connection_id":144201,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3ace1a0012da8530005dfd2380021013a29..."} 
[2026-07-27 18:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3ace1a0012da8530005dfd2380021013a29..."} 
[2026-07-27 18:35:37] local.INFO: Processing buffer {"connection_id":144201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3ace1a0012da8530005dfd2380021013a29..."} 
[2026-07-27 18:35:37] local.INFO: Packet analysis {"connection_id":144201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3ac"} 
[2026-07-27 18:35:37] local.INFO: Extracted packet for processing {"connection_id":144201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3ac"} 
[2026-07-27 18:35:37] local.INFO: GPS Element Parsed {"raw_longitude":766006016,"raw_latitude":98554424,"longitude_deg":76.6006016,"latitude_deg":9.8554424,"altitude":33,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2da85300","hex_latitude":"05dfd238","is_valid_coordinates":true} 
[2026-07-27 18:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000227840001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359256443599192064,"note":"Value kept but may cause issues"} 
[2026-07-27 18:35:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6315383658483253248,"note":"Value kept but may cause issues"} 
[2026-07-27 18:35:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785157444000,"timestamp_ms":1785157444000,"timestamp_seconds":1785157444,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3ace1a0"} 
[2026-07-27 18:35:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:35:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 18:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-27 18:35:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:35:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:35:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:35:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000227840001,"66":26310,"70":206,"88":19968,"24":0,"16":359256443599192064,"45":-6315383658483253248},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,88,24,16,45]} 
[2026-07-27 18:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000227840001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:35:37] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-27 18:35:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 18:35:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359256443599192064,"km_value":359256443599192.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:35:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6315383658483253248,"description":"Unknown IO ID 45"} 
[2026-07-27 18:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000227840001,"power":26310,"unknown_70":206,"unknown_88":19968,"ignition":0,"odometer":null,"unknown_45":-6315383658483253248}} 
[2026-07-27 18:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":144201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:35:37] local.INFO: GPS data processed {"connection_id":144201,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:35:37] local.INFO: Acknowledgment sent {"connection_id":144201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:35:44] local.INFO: TCP Data received {"connection_id":144200,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3ac39a8012d7e368005d34d280000003127..."} 
[2026-07-27 18:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144200,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3ac39a8012d7e368005d34d280000003127..."} 
[2026-07-27 18:35:44] local.INFO: Processing buffer {"connection_id":144200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3ac39a8012d7e368005d34d280000003127..."} 
[2026-07-27 18:35:44] local.INFO: Packet analysis {"connection_id":144200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3ac"} 
[2026-07-27 18:35:44] local.INFO: Extracted packet for processing {"connection_id":144200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3ac"} 
[2026-07-27 18:35:44] local.INFO: GPS Element Parsed {"raw_longitude":763246208,"raw_latitude":97733928,"longitude_deg":76.3246208,"latitude_deg":9.7733928,"altitude":0,"angle":49,"satellites":39,"speed":0,"hex_longitude":"2d7e3680","hex_latitude":"05d34d28","is_valid_coordinates":true} 
[2026-07-27 18:35:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:35:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000294656001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:35:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111785234072076288,"note":"Value kept but may cause issues"} 
[2026-07-27 18:35:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094597260029536256,"note":"Value kept but may cause issues"} 
[2026-07-27 18:35:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:35:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785157401000,"timestamp_ms":1785157401000,"timestamp_seconds":1785157401,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3ac39a8"} 
[2026-07-27 18:35:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:35:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 18:35:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-07-27 18:35:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:35:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:35:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:35:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:35:44] local.INFO: Teltonika packet parsed successfully {"connection_id":144200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:35:44] local.INFO: Passing IMEI to GPS processor {"connection_id":144200,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:35:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":144200,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:35:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:35:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 18:35:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 18:35:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000294656001,"66":12906,"109":206,"85":15104,"24":0,"16":111785234072076288,"45":9094597260029536256},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-27 18:35:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 18:35:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 18:35:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000294656001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:35:44] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-27 18:35:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 18:35:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111785234072076288,"km_value":111785234072076.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:35:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094597260029536256,"description":"Unknown IO ID 45"} 
[2026-07-27 18:35:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000294656001,"power":12906,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094597260029536256}} 
[2026-07-27 18:35:44] local.INFO: DEBUG: GPS processor result {"connection_id":144200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554780,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:35:44] local.INFO: GPS data processed {"connection_id":144200,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:35:44] local.INFO: Acknowledgment sent {"connection_id":144200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:35:59] local.INFO: TCP Data received {"connection_id":143219,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143219,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:35:59] local.INFO: Processing buffer {"connection_id":143219,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:35:59] local.INFO: IMEI packet received {"connection_id":143219,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 18:35:59] local.INFO: IMEI acknowledgment sent {"connection_id":143219,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:36:03] local.INFO: TCP Data received {"connection_id":143219,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143219,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:36:03] local.INFO: Processing buffer {"connection_id":143219,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:36:03] local.INFO: IMEI packet received {"connection_id":143219,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 18:36:03] local.INFO: IMEI acknowledgment sent {"connection_id":143219,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:36:04] local.INFO: TCP Data received {"connection_id":143219,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143219,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:36:04] local.INFO: Processing buffer {"connection_id":143219,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:36:04] local.INFO: IMEI packet received {"connection_id":143219,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 18:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":143219,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:36:05] local.INFO: TCP Data received {"connection_id":143219,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3ac7ff8012d1967c0071fee200046011621..."} 
[2026-07-27 18:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3ac7ff8012d1967c0071fee200046011621..."} 
[2026-07-27 18:36:05] local.INFO: Processing buffer {"connection_id":143219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3ac7ff8012d1967c0071fee200046011621..."} 
[2026-07-27 18:36:05] local.INFO: Packet analysis {"connection_id":143219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3ac"} 
[2026-07-27 18:36:05] local.INFO: Extracted packet for processing {"connection_id":143219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3ac"} 
[2026-07-27 18:36:05] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":33,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 18:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:36:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000293888001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:36:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 18:36:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 18:36:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:36:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785157419000,"timestamp_ms":1785157419000,"timestamp_seconds":1785157419,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3ac7ff8"} 
[2026-07-27 18:36:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:36:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-27 18:36:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:36:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:36:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:36:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:36:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:36:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:36:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:36:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:36:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:36:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:36:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000293888001,"66":12439,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:36:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:36:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:36:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000293888001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:36:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:36:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:36:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:36:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 18:36:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000293888001,"power":12439,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 18:36:05] local.INFO: DEBUG: GPS processor result {"connection_id":143219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554781,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:36:05] local.INFO: GPS data processed {"connection_id":143219,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:36:05] local.INFO: Acknowledgment sent {"connection_id":143219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:36:08] local.INFO: TCP Data received {"connection_id":144201,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3ace1a0012da8530005dfd2380021013a29..."} 
[2026-07-27 18:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3ace1a0012da8530005dfd2380021013a29..."} 
[2026-07-27 18:36:08] local.INFO: Processing buffer {"connection_id":144201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3ace1a0012da8530005dfd2380021013a29..."} 
[2026-07-27 18:36:08] local.INFO: Packet analysis {"connection_id":144201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3ac"} 
[2026-07-27 18:36:08] local.INFO: Extracted packet for processing {"connection_id":144201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3ac"} 
[2026-07-27 18:36:08] local.INFO: GPS Element Parsed {"raw_longitude":766006016,"raw_latitude":98554424,"longitude_deg":76.6006016,"latitude_deg":9.8554424,"altitude":33,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2da85300","hex_latitude":"05dfd238","is_valid_coordinates":true} 
[2026-07-27 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-07-27 18:36:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000227840001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:36:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359256443599192064,"note":"Value kept but may cause issues"} 
[2026-07-27 18:36:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6315383658483253248,"note":"Value kept but may cause issues"} 
[2026-07-27 18:36:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:36:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785157444000,"timestamp_ms":1785157444000,"timestamp_seconds":1785157444,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3ace1a0"} 
[2026-07-27 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-07-27 18:36:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-27 18:36:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 18:36:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:36:08] local.INFO: Teltonika packet parsed successfully {"connection_id":144201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:36:08] local.INFO: Passing IMEI to GPS processor {"connection_id":144201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:36:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":144201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18: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-07-27 18:36:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:36:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:36:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000227840001,"66":26310,"70":206,"88":19968,"24":0,"16":359256443599192064,"45":-6315383658483253248},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,88,24,16,45]} 
[2026-07-27 18:36:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:36:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:36:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000227840001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:36:08] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-27 18:36:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 18:36:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359256443599192064,"km_value":359256443599192.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:36:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6315383658483253248,"description":"Unknown IO ID 45"} 
[2026-07-27 18:36:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000227840001,"power":26310,"unknown_70":206,"unknown_88":19968,"ignition":0,"odometer":null,"unknown_45":-6315383658483253248}} 
[2026-07-27 18:36:08] local.INFO: DEBUG: GPS processor result {"connection_id":144201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:36:08] local.INFO: GPS data processed {"connection_id":144201,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:36:08] local.INFO: Acknowledgment sent {"connection_id":144201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:36:10] local.INFO: TCP Data received {"connection_id":143219,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3acd200012d1967c0071fee200046011622..."} 
[2026-07-27 18:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3acd200012d1967c0071fee200046011622..."} 
[2026-07-27 18:36:10] local.INFO: Processing buffer {"connection_id":143219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3acd200012d1967c0071fee200046011622..."} 
[2026-07-27 18:36:10] local.INFO: Packet analysis {"connection_id":143219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3ac"} 
[2026-07-27 18:36:10] local.INFO: Extracted packet for processing {"connection_id":143219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3ac"} 
[2026-07-27 18:36:10] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":34,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 18:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:36:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000299264001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:36:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 18:36:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 18:36:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:36:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785157440000,"timestamp_ms":1785157440000,"timestamp_seconds":1785157440,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3acd200"} 
[2026-07-27 18:36:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:36:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18: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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-27 18:36:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:36:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:36:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:36:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:36:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:36:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:36:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:36:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:36:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:36:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:36:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000299264001,"66":12385,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:36:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:36:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:36:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000299264001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:36:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:36:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:36:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:36:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 18:36:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000299264001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 18:36:10] local.INFO: DEBUG: GPS processor result {"connection_id":143219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554783,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:36:10] local.INFO: GPS data processed {"connection_id":143219,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:36:10] local.INFO: Acknowledgment sent {"connection_id":143219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:36:12] local.INFO: TCP Data received {"connection_id":145481,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145481,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:36:12] local.INFO: Processing buffer {"connection_id":145481,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:36:12] local.INFO: IMEI packet received {"connection_id":145481,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 18:36:12] local.INFO: IMEI acknowledgment sent {"connection_id":145481,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:36:18] local.INFO: TCP Data received {"connection_id":145481,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:36:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145481,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:36:18] local.INFO: Processing buffer {"connection_id":145481,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:36:18] local.INFO: IMEI packet received {"connection_id":145481,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 18:36:18] local.INFO: IMEI acknowledgment sent {"connection_id":145481,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:36:18] local.INFO: TCP Data received {"connection_id":145481,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3ac39a8012d7e368005d34d280000003127..."} 
[2026-07-27 18:36:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3ac39a8012d7e368005d34d280000003127..."} 
[2026-07-27 18:36:18] local.INFO: Processing buffer {"connection_id":145481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3ac39a8012d7e368005d34d280000003127..."} 
[2026-07-27 18:36:18] local.INFO: Packet analysis {"connection_id":145481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3ac"} 
[2026-07-27 18:36:18] local.INFO: Extracted packet for processing {"connection_id":145481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3ac"} 
[2026-07-27 18:36:18] local.INFO: GPS Element Parsed {"raw_longitude":763246208,"raw_latitude":97733928,"longitude_deg":76.3246208,"latitude_deg":9.7733928,"altitude":0,"angle":49,"satellites":39,"speed":0,"hex_longitude":"2d7e3680","hex_latitude":"05d34d28","is_valid_coordinates":true} 
[2026-07-27 18:36:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:36:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000294656001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:36:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111785234072076288,"note":"Value kept but may cause issues"} 
[2026-07-27 18:36:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094597260029536256,"note":"Value kept but may cause issues"} 
[2026-07-27 18:36:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:36:18] local.INFO: AVL Record Parsed {"raw_timestamp":1785157401000,"timestamp_ms":1785157401000,"timestamp_seconds":1785157401,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3ac39a8"} 
[2026-07-27 18:36:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:36: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-07-27 18: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":106,"data_length":795,"current_offset":136} 
[2026-07-27 18:36:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18: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-07-27 18:36:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:36:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:36:18] local.INFO: Teltonika packet parsed successfully {"connection_id":145481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:36:18] local.INFO: Passing IMEI to GPS processor {"connection_id":145481,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:36:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":145481,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:36:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:36:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 18:36:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 18:36:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000294656001,"66":12906,"109":206,"85":15104,"24":0,"16":111785234072076288,"45":9094597260029536256},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-27 18:36:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 18:36:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 18:36:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000294656001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:36:18] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-27 18:36:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 18:36:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111785234072076288,"km_value":111785234072076.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:36:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094597260029536256,"description":"Unknown IO ID 45"} 
[2026-07-27 18:36:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000294656001,"power":12906,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094597260029536256}} 
[2026-07-27 18:36:18] local.INFO: DEBUG: GPS processor result {"connection_id":145481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554784,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:36:18] local.INFO: GPS data processed {"connection_id":145481,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:36:18] local.INFO: Acknowledgment sent {"connection_id":145481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:36:23] local.INFO: TCP Data received {"connection_id":145481,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3ac39a8012d7e368005d34d280000003127..."} 
[2026-07-27 18:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3ac39a8012d7e368005d34d280000003127..."} 
[2026-07-27 18:36:23] local.INFO: Processing buffer {"connection_id":145481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3ac39a8012d7e368005d34d280000003127..."} 
[2026-07-27 18:36:23] local.INFO: Packet analysis {"connection_id":145481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3ac"} 
[2026-07-27 18:36:23] local.INFO: Extracted packet for processing {"connection_id":145481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3ac"} 
[2026-07-27 18:36:23] local.INFO: GPS Element Parsed {"raw_longitude":763246208,"raw_latitude":97733928,"longitude_deg":76.3246208,"latitude_deg":9.7733928,"altitude":0,"angle":49,"satellites":39,"speed":0,"hex_longitude":"2d7e3680","hex_latitude":"05d34d28","is_valid_coordinates":true} 
[2026-07-27 18:36:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:36:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000294656001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:36:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111785234072076288,"note":"Value kept but may cause issues"} 
[2026-07-27 18:36:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094597260029536256,"note":"Value kept but may cause issues"} 
[2026-07-27 18:36:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:36:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785157401000,"timestamp_ms":1785157401000,"timestamp_seconds":1785157401,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3ac39a8"} 
[2026-07-27 18:36:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:36:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 18:36:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-07-27 18:36:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:36:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:36:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:36:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:36:23] local.INFO: Teltonika packet parsed successfully {"connection_id":145481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:36:23] local.INFO: Passing IMEI to GPS processor {"connection_id":145481,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:36:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":145481,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:36:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:36:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 18:36:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 18:36:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000294656001,"66":12906,"109":206,"85":15104,"24":0,"16":111785234072076288,"45":9094597260029536256},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-27 18:36:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 18:36:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 18:36:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000294656001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:36:23] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-27 18:36:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 18:36:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111785234072076288,"km_value":111785234072076.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:36:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094597260029536256,"description":"Unknown IO ID 45"} 
[2026-07-27 18:36:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000294656001,"power":12906,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094597260029536256}} 
[2026-07-27 18:36:23] local.INFO: DEBUG: GPS processor result {"connection_id":145481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554785,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:36:23] local.INFO: GPS data processed {"connection_id":145481,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:36:23] local.INFO: Acknowledgment sent {"connection_id":145481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:36:31] local.INFO: TCP Data received {"connection_id":144202,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:36:31] local.INFO: Processing buffer {"connection_id":144202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:36:31] local.INFO: IMEI packet received {"connection_id":144202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 18:36:31] local.INFO: IMEI acknowledgment sent {"connection_id":144202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:36:36] local.INFO: TCP Data received {"connection_id":144202,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:36:36] local.INFO: Processing buffer {"connection_id":144202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:36:36] local.INFO: IMEI packet received {"connection_id":144202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 18:36:36] local.INFO: IMEI acknowledgment sent {"connection_id":144202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:36:37] local.INFO: TCP Data received {"connection_id":144202,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3ace1a0012da8530005dfd2380021013a29..."} 
[2026-07-27 18:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3ace1a0012da8530005dfd2380021013a29..."} 
[2026-07-27 18:36:37] local.INFO: Processing buffer {"connection_id":144202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3ace1a0012da8530005dfd2380021013a29..."} 
[2026-07-27 18:36:37] local.INFO: Packet analysis {"connection_id":144202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3ac"} 
[2026-07-27 18:36:37] local.INFO: Extracted packet for processing {"connection_id":144202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3ac"} 
[2026-07-27 18:36:37] local.INFO: GPS Element Parsed {"raw_longitude":766006016,"raw_latitude":98554424,"longitude_deg":76.6006016,"latitude_deg":9.8554424,"altitude":33,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2da85300","hex_latitude":"05dfd238","is_valid_coordinates":true} 
[2026-07-27 18:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000227840001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359256443599192064,"note":"Value kept but may cause issues"} 
[2026-07-27 18:36:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6315383658483253248,"note":"Value kept but may cause issues"} 
[2026-07-27 18:36:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785157444000,"timestamp_ms":1785157444000,"timestamp_seconds":1785157444,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3ace1a0"} 
[2026-07-27 18:36:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:36:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 18:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-27 18:36:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:36:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:36:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:36:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000227840001,"66":26310,"70":206,"88":19968,"24":0,"16":359256443599192064,"45":-6315383658483253248},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,88,24,16,45]} 
[2026-07-27 18:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000227840001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:36:37] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-27 18:36:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 18:36:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359256443599192064,"km_value":359256443599192.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:36:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6315383658483253248,"description":"Unknown IO ID 45"} 
[2026-07-27 18:36:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000227840001,"power":26310,"unknown_70":206,"unknown_88":19968,"ignition":0,"odometer":null,"unknown_45":-6315383658483253248}} 
[2026-07-27 18:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":144202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:36:37] local.INFO: GPS data processed {"connection_id":144202,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:36:37] local.INFO: Acknowledgment sent {"connection_id":144202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:36:42] local.INFO: TCP Data received {"connection_id":143219,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3ad2408012d1967c0071fee200046011623..."} 
[2026-07-27 18:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3ad2408012d1967c0071fee200046011623..."} 
[2026-07-27 18:36:42] local.INFO: Processing buffer {"connection_id":143219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3ad2408012d1967c0071fee200046011623..."} 
[2026-07-27 18:36:42] local.INFO: Packet analysis {"connection_id":143219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3ad"} 
[2026-07-27 18:36:42] local.INFO: Extracted packet for processing {"connection_id":143219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3ad"} 
[2026-07-27 18:36:42] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":35,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 18:36:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:36:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000304640001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:36:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 18:36:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 18:36:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:36:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785157461000,"timestamp_ms":1785157461000,"timestamp_seconds":1785157461,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3ad2408"} 
[2026-07-27 18:36:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:36:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-27 18:36:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:36:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:36:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:36:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:36:42] local.INFO: Teltonika packet parsed successfully {"connection_id":143219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:36:42] local.INFO: Passing IMEI to GPS processor {"connection_id":143219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:36:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":143219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:36:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:36:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:36:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:36:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000304640001,"66":12374,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:36:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:36:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:36:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000304640001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:36:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:36:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:36:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:36:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 18:36:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000304640001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 18:36:42] local.INFO: DEBUG: GPS processor result {"connection_id":143219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554787,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:36:42] local.INFO: GPS data processed {"connection_id":143219,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:36:42] local.INFO: Acknowledgment sent {"connection_id":143219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:36:59] local.INFO: TCP Data received {"connection_id":144203,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144203,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:36:59] local.INFO: Processing buffer {"connection_id":144203,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:36:59] local.INFO: IMEI packet received {"connection_id":144203,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 18:36:59] local.INFO: IMEI acknowledgment sent {"connection_id":144203,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:37:04] local.INFO: TCP Data received {"connection_id":144203,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144203,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:37:04] local.INFO: Processing buffer {"connection_id":144203,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:37:04] local.INFO: IMEI packet received {"connection_id":144203,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 18:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":144203,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:37:06] local.INFO: TCP Data received {"connection_id":144203,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3ad7610012d1967c0071fee200046011624..."} 
[2026-07-27 18:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144203,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3ad7610012d1967c0071fee200046011624..."} 
[2026-07-27 18:37:06] local.INFO: Processing buffer {"connection_id":144203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3ad7610012d1967c0071fee200046011624..."} 
[2026-07-27 18:37:06] local.INFO: Packet analysis {"connection_id":144203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3ad"} 
[2026-07-27 18:37:06] local.INFO: Extracted packet for processing {"connection_id":144203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3ad"} 
[2026-07-27 18:37:06] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":36,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 18:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:37:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000310016001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:37:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 18:37:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 18:37:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:37:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785157482000,"timestamp_ms":1785157482000,"timestamp_seconds":1785157482,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3ad7610"} 
[2026-07-27 18:37:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:37:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-27 18:37:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:37:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:37:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:37:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:37:06] local.INFO: Teltonika packet parsed successfully {"connection_id":144203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:37:06] local.INFO: Passing IMEI to GPS processor {"connection_id":144203,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:37:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":144203,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:37:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:37:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:37:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:37:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000310016001,"66":12385,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:37:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:37:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:37:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000310016001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:37:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:37:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:37:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:37:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 18:37:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000310016001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 18:37:06] local.INFO: DEBUG: GPS processor result {"connection_id":144203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554788,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:37:06] local.INFO: GPS data processed {"connection_id":144203,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:37:06] local.INFO: Acknowledgment sent {"connection_id":144203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:37:07] local.INFO: TCP Data received {"connection_id":145482,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145482,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:37:07] local.INFO: Processing buffer {"connection_id":145482,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:37:07] local.INFO: IMEI packet received {"connection_id":145482,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 18:37:07] local.INFO: IMEI acknowledgment sent {"connection_id":145482,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:37:08] local.INFO: TCP Data received {"connection_id":144202,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3ace1a0012da8530005dfd2380021013a29..."} 
[2026-07-27 18:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3ace1a0012da8530005dfd2380021013a29..."} 
[2026-07-27 18:37:08] local.INFO: Processing buffer {"connection_id":144202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3ace1a0012da8530005dfd2380021013a29..."} 
[2026-07-27 18:37:08] local.INFO: Packet analysis {"connection_id":144202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3ac"} 
[2026-07-27 18:37:08] local.INFO: Extracted packet for processing {"connection_id":144202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3ac"} 
[2026-07-27 18:37:08] local.INFO: GPS Element Parsed {"raw_longitude":766006016,"raw_latitude":98554424,"longitude_deg":76.6006016,"latitude_deg":9.8554424,"altitude":33,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2da85300","hex_latitude":"05dfd238","is_valid_coordinates":true} 
[2026-07-27 18:37:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:37:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000227840001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:37:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359256443599192064,"note":"Value kept but may cause issues"} 
[2026-07-27 18:37:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6315383658483253248,"note":"Value kept but may cause issues"} 
[2026-07-27 18:37:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:37:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785157444000,"timestamp_ms":1785157444000,"timestamp_seconds":1785157444,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3ace1a0"} 
[2026-07-27 18:37:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:37:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 18:37:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-27 18:37:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:37:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:37:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:37:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:37:08] local.INFO: Teltonika packet parsed successfully {"connection_id":144202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:37:08] local.INFO: Passing IMEI to GPS processor {"connection_id":144202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:37:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":144202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:37:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:37:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:37:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:37:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000227840001,"66":26310,"70":206,"88":19968,"24":0,"16":359256443599192064,"45":-6315383658483253248},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,88,24,16,45]} 
[2026-07-27 18:37:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:37:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:37:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000227840001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:37:08] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-27 18:37:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 18:37:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359256443599192064,"km_value":359256443599192.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:37:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6315383658483253248,"description":"Unknown IO ID 45"} 
[2026-07-27 18:37:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000227840001,"power":26310,"unknown_70":206,"unknown_88":19968,"ignition":0,"odometer":null,"unknown_45":-6315383658483253248}} 
[2026-07-27 18:37:08] local.INFO: DEBUG: GPS processor result {"connection_id":144202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:37:08] local.INFO: GPS data processed {"connection_id":144202,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:37:08] local.INFO: Acknowledgment sent {"connection_id":144202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:37:12] local.INFO: TCP Data received {"connection_id":145482,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145482,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:37:12] local.INFO: Processing buffer {"connection_id":145482,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:37:12] local.INFO: IMEI packet received {"connection_id":145482,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 18:37:12] local.INFO: IMEI acknowledgment sent {"connection_id":145482,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:37:13] local.INFO: TCP Data received {"connection_id":145482,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3ac39a8012d7e368005d34d280000003127..."} 
[2026-07-27 18:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3ac39a8012d7e368005d34d280000003127..."} 
[2026-07-27 18:37:13] local.INFO: Processing buffer {"connection_id":145482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3ac39a8012d7e368005d34d280000003127..."} 
[2026-07-27 18:37:13] local.INFO: Packet analysis {"connection_id":145482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3ac"} 
[2026-07-27 18:37:13] local.INFO: Extracted packet for processing {"connection_id":145482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3ac"} 
[2026-07-27 18:37:13] local.INFO: GPS Element Parsed {"raw_longitude":763246208,"raw_latitude":97733928,"longitude_deg":76.3246208,"latitude_deg":9.7733928,"altitude":0,"angle":49,"satellites":39,"speed":0,"hex_longitude":"2d7e3680","hex_latitude":"05d34d28","is_valid_coordinates":true} 
[2026-07-27 18:37:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:37:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000294656001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:37:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111785234072076288,"note":"Value kept but may cause issues"} 
[2026-07-27 18:37:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094597260029536256,"note":"Value kept but may cause issues"} 
[2026-07-27 18:37:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:37:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785157401000,"timestamp_ms":1785157401000,"timestamp_seconds":1785157401,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3ac39a8"} 
[2026-07-27 18:37:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:37: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-07-27 18: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":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-07-27 18:37:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18: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-07-27 18:37:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:37:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:37:13] local.INFO: Teltonika packet parsed successfully {"connection_id":145482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:37:13] local.INFO: Passing IMEI to GPS processor {"connection_id":145482,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:37:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":145482,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:37:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:37:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 18:37:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 18:37:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000294656001,"66":12906,"109":206,"85":15104,"24":0,"16":111785234072076288,"45":9094597260029536256},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-27 18:37:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 18:37:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 18:37:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000294656001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:37:13] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-27 18:37:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 18:37:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111785234072076288,"km_value":111785234072076.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:37:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094597260029536256,"description":"Unknown IO ID 45"} 
[2026-07-27 18:37:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000294656001,"power":12906,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094597260029536256}} 
[2026-07-27 18:37:13] local.INFO: DEBUG: GPS processor result {"connection_id":145482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554790,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:37:13] local.INFO: GPS data processed {"connection_id":145482,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:37:13] local.INFO: Acknowledgment sent {"connection_id":145482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:37:31] local.INFO: TCP Data received {"connection_id":144204,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:37:31] local.INFO: Processing buffer {"connection_id":144204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:37:31] local.INFO: IMEI packet received {"connection_id":144204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 18:37:31] local.INFO: IMEI acknowledgment sent {"connection_id":144204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:37:36] local.INFO: TCP Data received {"connection_id":144204,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:37:36] local.INFO: Processing buffer {"connection_id":144204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:37:36] local.INFO: IMEI packet received {"connection_id":144204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 18:37:36] local.INFO: IMEI acknowledgment sent {"connection_id":144204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:37:37] local.INFO: TCP Data received {"connection_id":144203,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3adc818012d1967c0071fee200046011623..."} 
[2026-07-27 18:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144203,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3adc818012d1967c0071fee200046011623..."} 
[2026-07-27 18:37:37] local.INFO: Processing buffer {"connection_id":144203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3adc818012d1967c0071fee200046011623..."} 
[2026-07-27 18:37:37] local.INFO: Packet analysis {"connection_id":144203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3ad"} 
[2026-07-27 18:37:37] local.INFO: Extracted packet for processing {"connection_id":144203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3ad"} 
[2026-07-27 18:37:37] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":35,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 18:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000315392001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 18:37:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 18:37:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785157503000,"timestamp_ms":1785157503000,"timestamp_seconds":1785157503,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3adc818"} 
[2026-07-27 18:37:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:37:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-27 18:37:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:37:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:37:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144203,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144203,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:37:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:37:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000315392001,"66":12385,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:37:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:37:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:37:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000315392001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:37:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:37:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:37:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:37:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 18:37:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000315392001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 18:37:37] local.INFO: DEBUG: GPS processor result {"connection_id":144203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554791,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:37:37] local.INFO: GPS data processed {"connection_id":144203,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:37:37] local.INFO: Acknowledgment sent {"connection_id":144203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:37:37] local.INFO: TCP Data received {"connection_id":144204,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3ace1a0012da8530005dfd2380021013a29..."} 
[2026-07-27 18:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3ace1a0012da8530005dfd2380021013a29..."} 
[2026-07-27 18:37:37] local.INFO: Processing buffer {"connection_id":144204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3ace1a0012da8530005dfd2380021013a29..."} 
[2026-07-27 18:37:37] local.INFO: Packet analysis {"connection_id":144204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3ac"} 
[2026-07-27 18:37:37] local.INFO: Extracted packet for processing {"connection_id":144204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3ac"} 
[2026-07-27 18:37:37] local.INFO: GPS Element Parsed {"raw_longitude":766006016,"raw_latitude":98554424,"longitude_deg":76.6006016,"latitude_deg":9.8554424,"altitude":33,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2da85300","hex_latitude":"05dfd238","is_valid_coordinates":true} 
[2026-07-27 18:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000227840001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359256443599192064,"note":"Value kept but may cause issues"} 
[2026-07-27 18:37:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6315383658483253248,"note":"Value kept but may cause issues"} 
[2026-07-27 18:37:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785157444000,"timestamp_ms":1785157444000,"timestamp_seconds":1785157444,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3ace1a0"} 
[2026-07-27 18:37:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:37:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 18:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-27 18:37:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:37:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:37:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:37:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:37:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000227840001,"66":26310,"70":206,"88":19968,"24":0,"16":359256443599192064,"45":-6315383658483253248},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,88,24,16,45]} 
[2026-07-27 18:37:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:37:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:37:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000227840001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:37:37] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-27 18:37:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 18:37:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359256443599192064,"km_value":359256443599192.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:37:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6315383658483253248,"description":"Unknown IO ID 45"} 
[2026-07-27 18:37:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000227840001,"power":26310,"unknown_70":206,"unknown_88":19968,"ignition":0,"odometer":null,"unknown_45":-6315383658483253248}} 
[2026-07-27 18:37:37] local.INFO: DEBUG: GPS processor result {"connection_id":144204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:37:37] local.INFO: GPS data processed {"connection_id":144204,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:37:37] local.INFO: Acknowledgment sent {"connection_id":144204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:37:44] local.INFO: TCP Data received {"connection_id":145482,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3ac39a8012d7e368005d34d280000003127..."} 
[2026-07-27 18:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3ac39a8012d7e368005d34d280000003127..."} 
[2026-07-27 18:37:44] local.INFO: Processing buffer {"connection_id":145482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3ac39a8012d7e368005d34d280000003127..."} 
[2026-07-27 18:37:44] local.INFO: Packet analysis {"connection_id":145482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3ac"} 
[2026-07-27 18:37:44] local.INFO: Extracted packet for processing {"connection_id":145482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3ac"} 
[2026-07-27 18:37:44] local.INFO: GPS Element Parsed {"raw_longitude":763246208,"raw_latitude":97733928,"longitude_deg":76.3246208,"latitude_deg":9.7733928,"altitude":0,"angle":49,"satellites":39,"speed":0,"hex_longitude":"2d7e3680","hex_latitude":"05d34d28","is_valid_coordinates":true} 
[2026-07-27 18:37:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:37:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000294656001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:37:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111785234072076288,"note":"Value kept but may cause issues"} 
[2026-07-27 18:37:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094597260029536256,"note":"Value kept but may cause issues"} 
[2026-07-27 18:37:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:37:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785157401000,"timestamp_ms":1785157401000,"timestamp_seconds":1785157401,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3ac39a8"} 
[2026-07-27 18:37:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:37:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 18:37:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-07-27 18:37:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:37:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:37:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:37:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:37:44] local.INFO: Teltonika packet parsed successfully {"connection_id":145482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:37:44] local.INFO: Passing IMEI to GPS processor {"connection_id":145482,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:37:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":145482,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:37:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:37:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 18:37:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 18:37:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000294656001,"66":12906,"109":206,"85":15104,"24":0,"16":111785234072076288,"45":9094597260029536256},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-27 18:37:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 18:37:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 18:37:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000294656001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:37:44] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-27 18:37:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 18:37:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111785234072076288,"km_value":111785234072076.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:37:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094597260029536256,"description":"Unknown IO ID 45"} 
[2026-07-27 18:37:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000294656001,"power":12906,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094597260029536256}} 
[2026-07-27 18:37:44] local.INFO: DEBUG: GPS processor result {"connection_id":145482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554793,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:37:44] local.INFO: GPS data processed {"connection_id":145482,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:37:44] local.INFO: Acknowledgment sent {"connection_id":145482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:38:04] local.INFO: TCP Data received {"connection_id":143220,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143220,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:38:04] local.INFO: Processing buffer {"connection_id":143220,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:38:04] local.INFO: IMEI packet received {"connection_id":143220,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 18:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":143220,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:38:07] local.INFO: TCP Data received {"connection_id":145483,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145483,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:38:07] local.INFO: Processing buffer {"connection_id":145483,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:38:07] local.INFO: IMEI packet received {"connection_id":145483,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 18:38:07] local.INFO: IMEI acknowledgment sent {"connection_id":145483,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:38:08] local.INFO: TCP Data received {"connection_id":144204,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3ace1a0012da8530005dfd2380021013a29..."} 
[2026-07-27 18:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3ace1a0012da8530005dfd2380021013a29..."} 
[2026-07-27 18:38:08] local.INFO: Processing buffer {"connection_id":144204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3ace1a0012da8530005dfd2380021013a29..."} 
[2026-07-27 18:38:08] local.INFO: Packet analysis {"connection_id":144204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3ac"} 
[2026-07-27 18:38:08] local.INFO: Extracted packet for processing {"connection_id":144204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3ac"} 
[2026-07-27 18:38:08] local.INFO: GPS Element Parsed {"raw_longitude":766006016,"raw_latitude":98554424,"longitude_deg":76.6006016,"latitude_deg":9.8554424,"altitude":33,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2da85300","hex_latitude":"05dfd238","is_valid_coordinates":true} 
[2026-07-27 18:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:38:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000227840001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:38:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359256443599192064,"note":"Value kept but may cause issues"} 
[2026-07-27 18:38:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6315383658483253248,"note":"Value kept but may cause issues"} 
[2026-07-27 18:38:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:38:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785157444000,"timestamp_ms":1785157444000,"timestamp_seconds":1785157444,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3ace1a0"} 
[2026-07-27 18:38:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:38:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 18:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-27 18:38:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:38:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:38:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:38:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:38:08] local.INFO: Teltonika packet parsed successfully {"connection_id":144204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:38:08] local.INFO: Passing IMEI to GPS processor {"connection_id":144204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:38:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":144204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:38:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:38:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:38:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:38:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000227840001,"66":26310,"70":206,"88":19968,"24":0,"16":359256443599192064,"45":-6315383658483253248},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,88,24,16,45]} 
[2026-07-27 18:38:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:38:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:38:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000227840001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:38:08] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-27 18:38:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 18:38:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359256443599192064,"km_value":359256443599192.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:38:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6315383658483253248,"description":"Unknown IO ID 45"} 
[2026-07-27 18:38:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000227840001,"power":26310,"unknown_70":206,"unknown_88":19968,"ignition":0,"odometer":null,"unknown_45":-6315383658483253248}} 
[2026-07-27 18:38:08] local.INFO: DEBUG: GPS processor result {"connection_id":144204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:38:08] local.INFO: GPS data processed {"connection_id":144204,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:38:08] local.INFO: Acknowledgment sent {"connection_id":144204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:38:09] local.INFO: TCP Data received {"connection_id":143220,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143220,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:38:09] local.INFO: Processing buffer {"connection_id":143220,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:38:09] local.INFO: IMEI packet received {"connection_id":143220,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 18:38:09] local.INFO: IMEI acknowledgment sent {"connection_id":143220,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:38:10] local.INFO: TCP Data received {"connection_id":143220,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3ae1a20012d1967c0071fee200046011622..."} 
[2026-07-27 18:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143220,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3ae1a20012d1967c0071fee200046011622..."} 
[2026-07-27 18:38:10] local.INFO: Processing buffer {"connection_id":143220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3ae1a20012d1967c0071fee200046011622..."} 
[2026-07-27 18:38:10] local.INFO: Packet analysis {"connection_id":143220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3ae"} 
[2026-07-27 18:38:10] local.INFO: Extracted packet for processing {"connection_id":143220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3ae"} 
[2026-07-27 18:38:10] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":34,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 18:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:38:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000320768001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:38:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 18:38:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 18:38:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:38:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785157524000,"timestamp_ms":1785157524000,"timestamp_seconds":1785157524,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3ae1a20"} 
[2026-07-27 18:38:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:38:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-27 18:38:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:38:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:38:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:38:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:38:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:38:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143220,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:38:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143220,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:38:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:38:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:38:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:38:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000320768001,"66":12341,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:38:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:38:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:38:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000320768001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:38:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:38:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:38:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:38:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 18:38:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000320768001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 18:38:10] local.INFO: DEBUG: GPS processor result {"connection_id":143220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554795,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:38:10] local.INFO: GPS data processed {"connection_id":143220,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:38:10] local.INFO: Acknowledgment sent {"connection_id":143220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:38:11] local.INFO: TCP Data received {"connection_id":143220,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3ae6c28012d1967c0071fee200046011622..."} 
[2026-07-27 18:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143220,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3ae6c28012d1967c0071fee200046011622..."} 
[2026-07-27 18:38:11] local.INFO: Processing buffer {"connection_id":143220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3ae6c28012d1967c0071fee200046011622..."} 
[2026-07-27 18:38:11] local.INFO: Packet analysis {"connection_id":143220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3ae"} 
[2026-07-27 18:38:11] local.INFO: Extracted packet for processing {"connection_id":143220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3ae"} 
[2026-07-27 18:38:11] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":34,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 18:38:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:38:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000326144001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:38:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 18:38:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 18:38:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:38:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785157545000,"timestamp_ms":1785157545000,"timestamp_seconds":1785157545,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3ae6c28"} 
[2026-07-27 18:38:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:38:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 18:38:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:38:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:38:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:38:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:38:11] local.INFO: Teltonika packet parsed successfully {"connection_id":143220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:38:11] local.INFO: Passing IMEI to GPS processor {"connection_id":143220,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:38:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":143220,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:38:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:38:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:38:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:38:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000326144001,"66":12428,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:38:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:38:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:38:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000326144001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:38:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:38:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:38:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:38:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 18:38:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000326144001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 18:38:11] local.INFO: DEBUG: GPS processor result {"connection_id":143220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554796,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:38:11] local.INFO: GPS data processed {"connection_id":143220,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:38:11] local.INFO: Acknowledgment sent {"connection_id":143220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:38:12] local.INFO: TCP Data received {"connection_id":145483,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145483,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:38:12] local.INFO: Processing buffer {"connection_id":145483,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:38:12] local.INFO: IMEI packet received {"connection_id":145483,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 18:38:12] local.INFO: IMEI acknowledgment sent {"connection_id":145483,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:38:13] local.INFO: TCP Data received {"connection_id":145483,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3ac39a8012d7e368005d34d280000003127..."} 
[2026-07-27 18:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145483,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3ac39a8012d7e368005d34d280000003127..."} 
[2026-07-27 18:38:13] local.INFO: Processing buffer {"connection_id":145483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3ac39a8012d7e368005d34d280000003127..."} 
[2026-07-27 18:38:13] local.INFO: Packet analysis {"connection_id":145483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3ac"} 
[2026-07-27 18:38:13] local.INFO: Extracted packet for processing {"connection_id":145483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3ac"} 
[2026-07-27 18:38:13] local.INFO: GPS Element Parsed {"raw_longitude":763246208,"raw_latitude":97733928,"longitude_deg":76.3246208,"latitude_deg":9.7733928,"altitude":0,"angle":49,"satellites":39,"speed":0,"hex_longitude":"2d7e3680","hex_latitude":"05d34d28","is_valid_coordinates":true} 
[2026-07-27 18:38:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:38:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000294656001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:38:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111785234072076288,"note":"Value kept but may cause issues"} 
[2026-07-27 18:38:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094597260029536256,"note":"Value kept but may cause issues"} 
[2026-07-27 18:38:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:38:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785157401000,"timestamp_ms":1785157401000,"timestamp_seconds":1785157401,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3ac39a8"} 
[2026-07-27 18:38:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:38: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-07-27 18:38:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-07-27 18:38:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:38:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:38:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:38:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:38:13] local.INFO: Teltonika packet parsed successfully {"connection_id":145483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:38:13] local.INFO: Passing IMEI to GPS processor {"connection_id":145483,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:38:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":145483,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:38:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:38:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 18:38:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 18:38:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000294656001,"66":12906,"109":206,"85":15104,"24":0,"16":111785234072076288,"45":9094597260029536256},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-27 18:38:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 18:38:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 18:38:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000294656001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:38:13] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-27 18:38:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 18:38:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111785234072076288,"km_value":111785234072076.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:38:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094597260029536256,"description":"Unknown IO ID 45"} 
[2026-07-27 18:38:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000294656001,"power":12906,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094597260029536256}} 
[2026-07-27 18:38:13] local.INFO: DEBUG: GPS processor result {"connection_id":145483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554797,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:38:13] local.INFO: GPS data processed {"connection_id":145483,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:38:13] local.INFO: Acknowledgment sent {"connection_id":145483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:38:36] local.INFO: TCP Data received {"connection_id":143078,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:38:36] local.INFO: Processing buffer {"connection_id":143078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:38:36] local.INFO: IMEI packet received {"connection_id":143078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 18:38:36] local.INFO: IMEI acknowledgment sent {"connection_id":143078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:38:41] local.INFO: TCP Data received {"connection_id":143078,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:38:41] local.INFO: Processing buffer {"connection_id":143078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:38:41] local.INFO: IMEI packet received {"connection_id":143078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 18:38:41] local.INFO: IMEI acknowledgment sent {"connection_id":143078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:38:42] local.INFO: TCP Data received {"connection_id":143078,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3ace1a0012da8530005dfd2380021013a29..."} 
[2026-07-27 18:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3ace1a0012da8530005dfd2380021013a29..."} 
[2026-07-27 18:38:42] local.INFO: Processing buffer {"connection_id":143078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3ace1a0012da8530005dfd2380021013a29..."} 
[2026-07-27 18:38:42] local.INFO: Packet analysis {"connection_id":143078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3ac"} 
[2026-07-27 18:38:42] local.INFO: Extracted packet for processing {"connection_id":143078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3ac"} 
[2026-07-27 18:38:42] local.INFO: GPS Element Parsed {"raw_longitude":766006016,"raw_latitude":98554424,"longitude_deg":76.6006016,"latitude_deg":9.8554424,"altitude":33,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2da85300","hex_latitude":"05dfd238","is_valid_coordinates":true} 
[2026-07-27 18:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:38:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000227840001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:38:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359256443599192064,"note":"Value kept but may cause issues"} 
[2026-07-27 18:38:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6315383658483253248,"note":"Value kept but may cause issues"} 
[2026-07-27 18:38:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:38:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785157444000,"timestamp_ms":1785157444000,"timestamp_seconds":1785157444,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3ace1a0"} 
[2026-07-27 18:38:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:38:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 18: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-27 18:38:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:38:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:38:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:38:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:38:42] local.INFO: Teltonika packet parsed successfully {"connection_id":143078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:38:42] local.INFO: Passing IMEI to GPS processor {"connection_id":143078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:38:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":143078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:38:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:38:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:38:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:38:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000227840001,"66":26310,"70":206,"88":19968,"24":0,"16":359256443599192064,"45":-6315383658483253248},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,88,24,16,45]} 
[2026-07-27 18:38:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:38:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:38:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000227840001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:38:42] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-27 18:38:42] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 18:38:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359256443599192064,"km_value":359256443599192.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:38:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6315383658483253248,"description":"Unknown IO ID 45"} 
[2026-07-27 18:38:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000227840001,"power":26310,"unknown_70":206,"unknown_88":19968,"ignition":0,"odometer":null,"unknown_45":-6315383658483253248}} 
[2026-07-27 18:38:42] local.INFO: DEBUG: GPS processor result {"connection_id":143078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:38:42] local.INFO: GPS data processed {"connection_id":143078,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:38:42] local.INFO: Acknowledgment sent {"connection_id":143078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:38:42] local.INFO: TCP Data received {"connection_id":143220,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3aebe30012d1967c0071fee200046011624..."} 
[2026-07-27 18:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143220,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3aebe30012d1967c0071fee200046011624..."} 
[2026-07-27 18:38:42] local.INFO: Processing buffer {"connection_id":143220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3aebe30012d1967c0071fee200046011624..."} 
[2026-07-27 18:38:42] local.INFO: Packet analysis {"connection_id":143220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3ae"} 
[2026-07-27 18:38:42] local.INFO: Extracted packet for processing {"connection_id":143220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3ae"} 
[2026-07-27 18:38:42] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":36,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 18:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:38:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000331520001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:38:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 18:38:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 18:38:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:38:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785157566000,"timestamp_ms":1785157566000,"timestamp_seconds":1785157566,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3aebe30"} 
[2026-07-27 18:38:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:38:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-27 18:38:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:38:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:38:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:38:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:38:42] local.INFO: Teltonika packet parsed successfully {"connection_id":143220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:38:42] local.INFO: Passing IMEI to GPS processor {"connection_id":143220,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:38:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":143220,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:38:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:38:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:38:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:38:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000331520001,"66":12406,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:38:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:38:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:38:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000331520001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:38:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:38:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:38:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:38:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 18:38:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000331520001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 18:38:43] local.INFO: DEBUG: GPS processor result {"connection_id":143220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554799,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:38:43] local.INFO: GPS data processed {"connection_id":143220,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:38:43] local.INFO: Acknowledgment sent {"connection_id":143220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:38:44] local.INFO: TCP Data received {"connection_id":145483,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3b0e110012d7e380005d34d50000000312a..."} 
[2026-07-27 18:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145483,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3b0e110012d7e380005d34d50000000312a..."} 
[2026-07-27 18:38:44] local.INFO: Processing buffer {"connection_id":145483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3b0e110012d7e380005d34d50000000312a..."} 
[2026-07-27 18:38:44] local.INFO: Packet analysis {"connection_id":145483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3b0"} 
[2026-07-27 18:38:44] local.INFO: Extracted packet for processing {"connection_id":145483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3b0"} 
[2026-07-27 18:38:44] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733968,"longitude_deg":76.3246592,"latitude_deg":9.7733968,"altitude":0,"angle":49,"satellites":42,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-07-27 18:38:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:38:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000294656001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:38:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111785234072076288,"note":"Value kept but may cause issues"} 
[2026-07-27 18:38:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094597260029536256,"note":"Value kept but may cause issues"} 
[2026-07-27 18:38:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:38:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785157706000,"timestamp_ms":1785157706000,"timestamp_seconds":1785157706,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3b0e110"} 
[2026-07-27 18:38:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:38:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 18:38:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-07-27 18:38:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:38:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:38:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:38:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:38:44] local.INFO: Teltonika packet parsed successfully {"connection_id":145483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:38:44] local.INFO: Passing IMEI to GPS processor {"connection_id":145483,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:38:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":145483,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:38:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:38:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 18:38:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 18:38:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000294656001,"66":12722,"109":206,"85":15104,"24":0,"16":111785234072076288,"45":9094597260029536256},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-27 18:38:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 18:38:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 18:38:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000294656001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:38:44] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-27 18:38:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 18:38:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111785234072076288,"km_value":111785234072076.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:38:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094597260029536256,"description":"Unknown IO ID 45"} 
[2026-07-27 18:38:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000294656001,"power":12722,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094597260029536256}} 
[2026-07-27 18:38:44] local.INFO: DEBUG: GPS processor result {"connection_id":145483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554800,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:38:44] local.INFO: GPS data processed {"connection_id":145483,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:38:44] local.INFO: Acknowledgment sent {"connection_id":145483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:38:47] local.INFO: TCP Data received {"connection_id":143078,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3ace1a0012da8530005dfd2380021013a29..."} 
[2026-07-27 18:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3ace1a0012da8530005dfd2380021013a29..."} 
[2026-07-27 18:38:47] local.INFO: Processing buffer {"connection_id":143078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3ace1a0012da8530005dfd2380021013a29..."} 
[2026-07-27 18:38:47] local.INFO: Packet analysis {"connection_id":143078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3ac"} 
[2026-07-27 18:38:47] local.INFO: Extracted packet for processing {"connection_id":143078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3ac"} 
[2026-07-27 18:38:47] local.INFO: GPS Element Parsed {"raw_longitude":766006016,"raw_latitude":98554424,"longitude_deg":76.6006016,"latitude_deg":9.8554424,"altitude":33,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2da85300","hex_latitude":"05dfd238","is_valid_coordinates":true} 
[2026-07-27 18:38:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:38:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000227840001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:38:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359256443599192064,"note":"Value kept but may cause issues"} 
[2026-07-27 18:38:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6315383658483253248,"note":"Value kept but may cause issues"} 
[2026-07-27 18:38:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:38:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785157444000,"timestamp_ms":1785157444000,"timestamp_seconds":1785157444,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3ace1a0"} 
[2026-07-27 18:38:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:38:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 18:38:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-27 18:38:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18: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-07-27 18:38:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:38:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:38:47] local.INFO: Teltonika packet parsed successfully {"connection_id":143078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:38:47] local.INFO: Passing IMEI to GPS processor {"connection_id":143078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:38:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":143078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:38:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:38:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:38:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:38:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000227840001,"66":26310,"70":206,"88":19968,"24":0,"16":359256443599192064,"45":-6315383658483253248},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,88,24,16,45]} 
[2026-07-27 18:38:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:38:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:38:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000227840001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:38:47] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-27 18:38:47] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 18:38:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359256443599192064,"km_value":359256443599192.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:38:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6315383658483253248,"description":"Unknown IO ID 45"} 
[2026-07-27 18:38:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000227840001,"power":26310,"unknown_70":206,"unknown_88":19968,"ignition":0,"odometer":null,"unknown_45":-6315383658483253248}} 
[2026-07-27 18:38:47] local.INFO: DEBUG: GPS processor result {"connection_id":143078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:38:47] local.INFO: GPS data processed {"connection_id":143078,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:38:47] local.INFO: Acknowledgment sent {"connection_id":143078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:38:59] local.INFO: TCP Data received {"connection_id":144205,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144205,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:38:59] local.INFO: Processing buffer {"connection_id":144205,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:38:59] local.INFO: IMEI packet received {"connection_id":144205,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 18:38:59] local.INFO: IMEI acknowledgment sent {"connection_id":144205,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:39:04] local.INFO: TCP Data received {"connection_id":144205,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144205,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:39:04] local.INFO: Processing buffer {"connection_id":144205,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:39:04] local.INFO: IMEI packet received {"connection_id":144205,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 18:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":144205,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:39:06] local.INFO: TCP Data received {"connection_id":144205,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3af1038012d1967c0071fee200046011622..."} 
[2026-07-27 18:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3af1038012d1967c0071fee200046011622..."} 
[2026-07-27 18:39:06] local.INFO: Processing buffer {"connection_id":144205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3af1038012d1967c0071fee200046011622..."} 
[2026-07-27 18:39:06] local.INFO: Packet analysis {"connection_id":144205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3af"} 
[2026-07-27 18:39:06] local.INFO: Extracted packet for processing {"connection_id":144205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3af"} 
[2026-07-27 18:39:06] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":34,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 18:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:39:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000336896001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:39:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 18:39:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 18:39:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:39:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785157587000,"timestamp_ms":1785157587000,"timestamp_seconds":1785157587,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3af1038"} 
[2026-07-27 18:39:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:39:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 18:39:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:39:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:39:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:39:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:39:06] local.INFO: Teltonika packet parsed successfully {"connection_id":144205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:39:06] local.INFO: Passing IMEI to GPS processor {"connection_id":144205,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:39:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":144205,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:39:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:39:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:39:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:39:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000336896001,"66":12428,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:39:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:39:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:39:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000336896001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:39:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:39:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:39:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:39:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 18:39:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000336896001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 18:39:06] local.INFO: DEBUG: GPS processor result {"connection_id":144205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554802,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:39:06] local.INFO: GPS data processed {"connection_id":144205,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:39:06] local.INFO: Acknowledgment sent {"connection_id":144205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:39:07] local.INFO: TCP Data received {"connection_id":144206,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144206,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:39:07] local.INFO: Processing buffer {"connection_id":144206,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:39:07] local.INFO: IMEI packet received {"connection_id":144206,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 18:39:07] local.INFO: IMEI acknowledgment sent {"connection_id":144206,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:39:12] local.INFO: TCP Data received {"connection_id":144206,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144206,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:39:12] local.INFO: Processing buffer {"connection_id":144206,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:39:12] local.INFO: IMEI packet received {"connection_id":144206,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 18:39:12] local.INFO: IMEI acknowledgment sent {"connection_id":144206,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:39:13] local.INFO: TCP Data received {"connection_id":144206,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3b0e110012d7e380005d34d50000000312a..."} 
[2026-07-27 18:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3b0e110012d7e380005d34d50000000312a..."} 
[2026-07-27 18:39:13] local.INFO: Processing buffer {"connection_id":144206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3b0e110012d7e380005d34d50000000312a..."} 
[2026-07-27 18:39:13] local.INFO: Packet analysis {"connection_id":144206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3b0"} 
[2026-07-27 18:39:13] local.INFO: Extracted packet for processing {"connection_id":144206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3b0"} 
[2026-07-27 18:39:13] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733968,"longitude_deg":76.3246592,"latitude_deg":9.7733968,"altitude":0,"angle":49,"satellites":42,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-07-27 18: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-07-27 18:39:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000294656001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:39:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111785234072076288,"note":"Value kept but may cause issues"} 
[2026-07-27 18:39:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094597260029536256,"note":"Value kept but may cause issues"} 
[2026-07-27 18:39:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:39:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785157706000,"timestamp_ms":1785157706000,"timestamp_seconds":1785157706,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3b0e110"} 
[2026-07-27 18:39:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:39: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-07-27 18: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":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-07-27 18:39:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18: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-07-27 18:39:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:39:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:39:13] local.INFO: Teltonika packet parsed successfully {"connection_id":144206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:39:13] local.INFO: Passing IMEI to GPS processor {"connection_id":144206,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:39:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":144206,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:39:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:39:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 18:39:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 18:39:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000294656001,"66":12722,"109":206,"85":15104,"24":0,"16":111785234072076288,"45":9094597260029536256},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-27 18:39:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 18:39:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 18:39:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000294656001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:39:13] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-27 18:39:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 18:39:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111785234072076288,"km_value":111785234072076.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:39:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094597260029536256,"description":"Unknown IO ID 45"} 
[2026-07-27 18:39:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000294656001,"power":12722,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094597260029536256}} 
[2026-07-27 18:39:13] local.INFO: DEBUG: GPS processor result {"connection_id":144206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554803,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:39:13] local.INFO: GPS data processed {"connection_id":144206,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:39:13] local.INFO: Acknowledgment sent {"connection_id":144206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:39:31] local.INFO: TCP Data received {"connection_id":143079,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:39:31] local.INFO: Processing buffer {"connection_id":143079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:39:31] local.INFO: IMEI packet received {"connection_id":143079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 18:39:31] local.INFO: IMEI acknowledgment sent {"connection_id":143079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:39:36] local.INFO: TCP Data received {"connection_id":143079,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:39:36] local.INFO: Processing buffer {"connection_id":143079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:39:36] local.INFO: IMEI packet received {"connection_id":143079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 18:39:36] local.INFO: IMEI acknowledgment sent {"connection_id":143079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:39:37] local.INFO: TCP Data received {"connection_id":143079,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3ace1a0012da8530005dfd2380021013a29..."} 
[2026-07-27 18:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143079,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3ace1a0012da8530005dfd2380021013a29..."} 
[2026-07-27 18:39:37] local.INFO: Processing buffer {"connection_id":143079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3ace1a0012da8530005dfd2380021013a29..."} 
[2026-07-27 18:39:37] local.INFO: Packet analysis {"connection_id":143079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3ac"} 
[2026-07-27 18:39:37] local.INFO: Extracted packet for processing {"connection_id":143079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3ac"} 
[2026-07-27 18:39:37] local.INFO: GPS Element Parsed {"raw_longitude":766006016,"raw_latitude":98554424,"longitude_deg":76.6006016,"latitude_deg":9.8554424,"altitude":33,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2da85300","hex_latitude":"05dfd238","is_valid_coordinates":true} 
[2026-07-27 18:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000227840001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359256443599192064,"note":"Value kept but may cause issues"} 
[2026-07-27 18:39:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6315383658483253248,"note":"Value kept but may cause issues"} 
[2026-07-27 18:39:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785157444000,"timestamp_ms":1785157444000,"timestamp_seconds":1785157444,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3ace1a0"} 
[2026-07-27 18:39:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:39:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 18:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-27 18:39:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:39:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:39:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:39:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:39:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000227840001,"66":26310,"70":206,"88":19968,"24":0,"16":359256443599192064,"45":-6315383658483253248},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,88,24,16,45]} 
[2026-07-27 18:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000227840001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:39:37] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-27 18:39:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 18:39:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359256443599192064,"km_value":359256443599192.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:39:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6315383658483253248,"description":"Unknown IO ID 45"} 
[2026-07-27 18:39:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000227840001,"power":26310,"unknown_70":206,"unknown_88":19968,"ignition":0,"odometer":null,"unknown_45":-6315383658483253248}} 
[2026-07-27 18:39:37] local.INFO: DEBUG: GPS processor result {"connection_id":143079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:39:37] local.INFO: GPS data processed {"connection_id":143079,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:39:37] local.INFO: Acknowledgment sent {"connection_id":143079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:39:37] local.INFO: TCP Data received {"connection_id":144205,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3af6240012d1967c0071fee200046011623..."} 
[2026-07-27 18:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3af6240012d1967c0071fee200046011623..."} 
[2026-07-27 18:39:37] local.INFO: Processing buffer {"connection_id":144205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3af6240012d1967c0071fee200046011623..."} 
[2026-07-27 18:39:37] local.INFO: Packet analysis {"connection_id":144205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3af"} 
[2026-07-27 18:39:37] local.INFO: Extracted packet for processing {"connection_id":144205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3af"} 
[2026-07-27 18:39:37] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":35,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 18:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000342272001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 18:39:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 18:39:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785157608000,"timestamp_ms":1785157608000,"timestamp_seconds":1785157608,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3af6240"} 
[2026-07-27 18:39:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:39:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-27 18:39:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:39:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:39:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:39:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144205,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144205,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:39:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000342272001,"66":12428,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000342272001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:39:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:39:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:39:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:39:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 18:39:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000342272001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 18:39:37] local.INFO: DEBUG: GPS processor result {"connection_id":144205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554805,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:39:37] local.INFO: GPS data processed {"connection_id":144205,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:39:37] local.INFO: Acknowledgment sent {"connection_id":144205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:39:44] local.INFO: TCP Data received {"connection_id":144206,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3b0e110012d7e380005d34d50000000312a..."} 
[2026-07-27 18:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3b0e110012d7e380005d34d50000000312a..."} 
[2026-07-27 18:39:44] local.INFO: Processing buffer {"connection_id":144206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3b0e110012d7e380005d34d50000000312a..."} 
[2026-07-27 18:39:44] local.INFO: Packet analysis {"connection_id":144206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3b0"} 
[2026-07-27 18:39:44] local.INFO: Extracted packet for processing {"connection_id":144206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3b0"} 
[2026-07-27 18:39:44] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733968,"longitude_deg":76.3246592,"latitude_deg":9.7733968,"altitude":0,"angle":49,"satellites":42,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-07-27 18:39:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:39:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000294656001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:39:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111785234072076288,"note":"Value kept but may cause issues"} 
[2026-07-27 18:39:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094597260029536256,"note":"Value kept but may cause issues"} 
[2026-07-27 18:39:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:39:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785157706000,"timestamp_ms":1785157706000,"timestamp_seconds":1785157706,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3b0e110"} 
[2026-07-27 18:39:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:39:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 18:39:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-07-27 18:39:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:39:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:39:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:39:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:39:44] local.INFO: Teltonika packet parsed successfully {"connection_id":144206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:39:44] local.INFO: Passing IMEI to GPS processor {"connection_id":144206,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:39:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":144206,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:39:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:39:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 18:39:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 18:39:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000294656001,"66":12722,"109":206,"85":15104,"24":0,"16":111785234072076288,"45":9094597260029536256},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-27 18:39:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 18:39:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 18:39:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000294656001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:39:44] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-27 18:39:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 18:39:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111785234072076288,"km_value":111785234072076.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:39:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094597260029536256,"description":"Unknown IO ID 45"} 
[2026-07-27 18:39:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000294656001,"power":12722,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094597260029536256}} 
[2026-07-27 18:39:45] local.INFO: DEBUG: GPS processor result {"connection_id":144206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554806,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:39:45] local.INFO: GPS data processed {"connection_id":144206,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:39:45] local.INFO: Acknowledgment sent {"connection_id":144206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:39:59] local.INFO: TCP Data received {"connection_id":143080,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143080,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:39:59] local.INFO: Processing buffer {"connection_id":143080,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:39:59] local.INFO: IMEI packet received {"connection_id":143080,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 18:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":143080,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:40:04] local.INFO: TCP Data received {"connection_id":143080,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143080,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:40:04] local.INFO: Processing buffer {"connection_id":143080,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:40:04] local.INFO: IMEI packet received {"connection_id":143080,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 18:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":143080,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:40:06] local.INFO: TCP Data received {"connection_id":143080,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3afb448012d1967c0071fee200046011624..."} 
[2026-07-27 18:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3afb448012d1967c0071fee200046011624..."} 
[2026-07-27 18:40:06] local.INFO: Processing buffer {"connection_id":143080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3afb448012d1967c0071fee200046011624..."} 
[2026-07-27 18:40:06] local.INFO: Packet analysis {"connection_id":143080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3af"} 
[2026-07-27 18:40:06] local.INFO: Extracted packet for processing {"connection_id":143080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3af"} 
[2026-07-27 18:40:06] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":36,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 18:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:40:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000347648001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:40:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 18:40:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 18:40:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:40:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785157629000,"timestamp_ms":1785157629000,"timestamp_seconds":1785157629,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3afb448"} 
[2026-07-27 18:40:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:40:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-27 18:40:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:40:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:40:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:40:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:40:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:40:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:40:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:40:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:40:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:40:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:40:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000347648001,"66":12156,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:40:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:40:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:40:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000347648001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:40:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:40:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:40:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:40:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 18:40:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000347648001,"power":12156,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 18:40:06] local.INFO: DEBUG: GPS processor result {"connection_id":143080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554807,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:40:06] local.INFO: GPS data processed {"connection_id":143080,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:40:06] local.INFO: Acknowledgment sent {"connection_id":143080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:40:08] local.INFO: TCP Data received {"connection_id":143079,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3b17968012da8530005dfd2380021013a28..."} 
[2026-07-27 18:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143079,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3b17968012da8530005dfd2380021013a28..."} 
[2026-07-27 18:40:08] local.INFO: Processing buffer {"connection_id":143079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3b17968012da8530005dfd2380021013a28..."} 
[2026-07-27 18:40:08] local.INFO: Packet analysis {"connection_id":143079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3b1"} 
[2026-07-27 18:40:08] local.INFO: Extracted packet for processing {"connection_id":143079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3b1"} 
[2026-07-27 18:40:08] local.INFO: GPS Element Parsed {"raw_longitude":766006016,"raw_latitude":98554424,"longitude_deg":76.6006016,"latitude_deg":9.8554424,"altitude":33,"angle":314,"satellites":40,"speed":0,"hex_longitude":"2da85300","hex_latitude":"05dfd238","is_valid_coordinates":true} 
[2026-07-27 18:40:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:40:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000305664001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:40:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359256443599192064,"note":"Value kept but may cause issues"} 
[2026-07-27 18:40:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6317705827040741376,"note":"Value kept but may cause issues"} 
[2026-07-27 18:40:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:40:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785157745000,"timestamp_ms":1785157745000,"timestamp_seconds":1785157745,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3b17968"} 
[2026-07-27 18:40:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:40:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-27 18:40:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2490,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:40:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:40:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:40:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:40:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:40:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:40:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:40:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:40:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:40:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:40:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000305664001,"66":26115,"70":206,"88":19968,"24":0,"16":359256443599192064,"45":-6317705827040741376},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,88,24,16,45]} 
[2026-07-27 18:40:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:40:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:40:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000305664001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:40:08] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-27 18:40:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 18:40:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359256443599192064,"km_value":359256443599192.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:40:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6317705827040741376,"description":"Unknown IO ID 45"} 
[2026-07-27 18:40:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000305664001,"power":26115,"unknown_70":206,"unknown_88":19968,"ignition":0,"odometer":null,"unknown_45":-6317705827040741376}} 
[2026-07-27 18:40:08] local.INFO: DEBUG: GPS processor result {"connection_id":143079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:40:08] local.INFO: GPS data processed {"connection_id":143079,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:40:08] local.INFO: Acknowledgment sent {"connection_id":143079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:40:12] local.INFO: TCP Data received {"connection_id":145484,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145484,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:40:12] local.INFO: Processing buffer {"connection_id":145484,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:40:12] local.INFO: IMEI packet received {"connection_id":145484,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 18:40:12] local.INFO: IMEI acknowledgment sent {"connection_id":145484,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:40:18] local.INFO: TCP Data received {"connection_id":145484,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:40:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145484,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:40:18] local.INFO: Processing buffer {"connection_id":145484,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:40:18] local.INFO: IMEI packet received {"connection_id":145484,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 18:40:18] local.INFO: IMEI acknowledgment sent {"connection_id":145484,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:40:18] local.INFO: TCP Data received {"connection_id":145484,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3b0e110012d7e380005d34d50000000312a..."} 
[2026-07-27 18:40:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3b0e110012d7e380005d34d50000000312a..."} 
[2026-07-27 18:40:18] local.INFO: Processing buffer {"connection_id":145484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3b0e110012d7e380005d34d50000000312a..."} 
[2026-07-27 18:40:18] local.INFO: Packet analysis {"connection_id":145484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3b0"} 
[2026-07-27 18:40:18] local.INFO: Extracted packet for processing {"connection_id":145484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3b0"} 
[2026-07-27 18:40:18] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733968,"longitude_deg":76.3246592,"latitude_deg":9.7733968,"altitude":0,"angle":49,"satellites":42,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-07-27 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-07-27 18:40:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000294656001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:40:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111785234072076288,"note":"Value kept but may cause issues"} 
[2026-07-27 18:40:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094597260029536256,"note":"Value kept but may cause issues"} 
[2026-07-27 18:40:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:40:18] local.INFO: AVL Record Parsed {"raw_timestamp":1785157706000,"timestamp_ms":1785157706000,"timestamp_seconds":1785157706,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3b0e110"} 
[2026-07-27 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-07-27 18:40: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-07-27 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":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-07-27 18:40:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 18:40:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:40:18] local.INFO: Teltonika packet parsed successfully {"connection_id":145484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:40:18] local.INFO: Passing IMEI to GPS processor {"connection_id":145484,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:40:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":145484,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:40:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:40:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 18:40:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 18:40:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000294656001,"66":12722,"109":206,"85":15104,"24":0,"16":111785234072076288,"45":9094597260029536256},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-27 18:40:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 18:40:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 18:40:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000294656001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:40:18] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-27 18:40:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 18:40:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111785234072076288,"km_value":111785234072076.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:40:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094597260029536256,"description":"Unknown IO ID 45"} 
[2026-07-27 18:40:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000294656001,"power":12722,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094597260029536256}} 
[2026-07-27 18:40:18] local.INFO: DEBUG: GPS processor result {"connection_id":145484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554809,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:40:18] local.INFO: GPS data processed {"connection_id":145484,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:40:18] local.INFO: Acknowledgment sent {"connection_id":145484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:40:23] local.INFO: TCP Data received {"connection_id":145484,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3b0e110012d7e380005d34d50000000312a..."} 
[2026-07-27 18:40:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3b0e110012d7e380005d34d50000000312a..."} 
[2026-07-27 18:40:23] local.INFO: Processing buffer {"connection_id":145484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3b0e110012d7e380005d34d50000000312a..."} 
[2026-07-27 18:40:23] local.INFO: Packet analysis {"connection_id":145484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3b0"} 
[2026-07-27 18:40:23] local.INFO: Extracted packet for processing {"connection_id":145484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3b0"} 
[2026-07-27 18:40:23] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733968,"longitude_deg":76.3246592,"latitude_deg":9.7733968,"altitude":0,"angle":49,"satellites":42,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-07-27 18:40:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:40:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000294656001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:40:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111785234072076288,"note":"Value kept but may cause issues"} 
[2026-07-27 18:40:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094597260029536256,"note":"Value kept but may cause issues"} 
[2026-07-27 18:40:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:40:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785157706000,"timestamp_ms":1785157706000,"timestamp_seconds":1785157706,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3b0e110"} 
[2026-07-27 18:40:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:40:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 18:40:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-07-27 18:40:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:40:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:40:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:40:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:40:23] local.INFO: Teltonika packet parsed successfully {"connection_id":145484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:40:23] local.INFO: Passing IMEI to GPS processor {"connection_id":145484,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:40:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":145484,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:40:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:40:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 18:40:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 18:40:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000294656001,"66":12722,"109":206,"85":15104,"24":0,"16":111785234072076288,"45":9094597260029536256},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-27 18:40:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 18:40:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 18:40:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000294656001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:40:23] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-27 18:40:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 18:40:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111785234072076288,"km_value":111785234072076.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:40:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094597260029536256,"description":"Unknown IO ID 45"} 
[2026-07-27 18:40:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000294656001,"power":12722,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094597260029536256}} 
[2026-07-27 18:40:23] local.INFO: DEBUG: GPS processor result {"connection_id":145484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554810,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:40:23] local.INFO: GPS data processed {"connection_id":145484,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:40:23] local.INFO: Acknowledgment sent {"connection_id":145484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:40:31] local.INFO: TCP Data received {"connection_id":145485,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:40:31] local.INFO: Processing buffer {"connection_id":145485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:40:31] local.INFO: IMEI packet received {"connection_id":145485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 18:40:31] local.INFO: IMEI acknowledgment sent {"connection_id":145485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:40:36] local.INFO: TCP Data received {"connection_id":145485,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:40:36] local.INFO: Processing buffer {"connection_id":145485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:40:36] local.INFO: IMEI packet received {"connection_id":145485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 18:40:36] local.INFO: IMEI acknowledgment sent {"connection_id":145485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:40:37] local.INFO: TCP Data received {"connection_id":143080,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3b00650012d1967c0071fee200046011623..."} 
[2026-07-27 18:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3b00650012d1967c0071fee200046011623..."} 
[2026-07-27 18:40:37] local.INFO: Processing buffer {"connection_id":143080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3b00650012d1967c0071fee200046011623..."} 
[2026-07-27 18:40:37] local.INFO: Packet analysis {"connection_id":143080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3b0"} 
[2026-07-27 18:40:37] local.INFO: Extracted packet for processing {"connection_id":143080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3b0"} 
[2026-07-27 18:40:37] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":35,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 18:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000353024001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:40:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 18:40:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 18:40:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:40:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785157650000,"timestamp_ms":1785157650000,"timestamp_seconds":1785157650,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3b00650"} 
[2026-07-27 18:40:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:40:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-27 18:40:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:40:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:40:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:40:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:40:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:40:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:40:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:40:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:40:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:40:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:40:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000353024001,"66":12406,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:40:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:40:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:40:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000353024001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:40:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:40:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:40:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:40:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 18:40:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000353024001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 18:40:37] local.INFO: DEBUG: GPS processor result {"connection_id":143080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554811,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:40:37] local.INFO: GPS data processed {"connection_id":143080,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:40:37] local.INFO: Acknowledgment sent {"connection_id":143080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:40:37] local.INFO: TCP Data received {"connection_id":145485,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3b17968012da8530005dfd2380021013a28..."} 
[2026-07-27 18:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3b17968012da8530005dfd2380021013a28..."} 
[2026-07-27 18:40:37] local.INFO: Processing buffer {"connection_id":145485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3b17968012da8530005dfd2380021013a28..."} 
[2026-07-27 18:40:37] local.INFO: Packet analysis {"connection_id":145485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3b1"} 
[2026-07-27 18:40:37] local.INFO: Extracted packet for processing {"connection_id":145485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3b1"} 
[2026-07-27 18:40:37] local.INFO: GPS Element Parsed {"raw_longitude":766006016,"raw_latitude":98554424,"longitude_deg":76.6006016,"latitude_deg":9.8554424,"altitude":33,"angle":314,"satellites":40,"speed":0,"hex_longitude":"2da85300","hex_latitude":"05dfd238","is_valid_coordinates":true} 
[2026-07-27 18:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000305664001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:40:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359256443599192064,"note":"Value kept but may cause issues"} 
[2026-07-27 18:40:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6317705827040741376,"note":"Value kept but may cause issues"} 
[2026-07-27 18:40:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:40:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785157745000,"timestamp_ms":1785157745000,"timestamp_seconds":1785157745,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3b17968"} 
[2026-07-27 18:40:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:40:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 18:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-27 18:40:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2490,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:40:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:40:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:40:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:40:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:40:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:40:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:40:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:40:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:40:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:40:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000305664001,"66":26115,"70":206,"88":19968,"24":0,"16":359256443599192064,"45":-6317705827040741376},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,88,24,16,45]} 
[2026-07-27 18:40:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:40:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:40:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000305664001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:40:37] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-27 18:40:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 18:40:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359256443599192064,"km_value":359256443599192.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:40:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6317705827040741376,"description":"Unknown IO ID 45"} 
[2026-07-27 18:40:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000305664001,"power":26115,"unknown_70":206,"unknown_88":19968,"ignition":0,"odometer":null,"unknown_45":-6317705827040741376}} 
[2026-07-27 18:40:37] local.INFO: DEBUG: GPS processor result {"connection_id":145485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:40:37] local.INFO: GPS data processed {"connection_id":145485,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:40:37] local.INFO: Acknowledgment sent {"connection_id":145485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:40:59] local.INFO: TCP Data received {"connection_id":145486,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145486,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:40:59] local.INFO: Processing buffer {"connection_id":145486,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:40:59] local.INFO: IMEI packet received {"connection_id":145486,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 18:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":145486,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:41:04] local.INFO: TCP Data received {"connection_id":145486,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145486,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:41:04] local.INFO: Processing buffer {"connection_id":145486,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:41:04] local.INFO: IMEI packet received {"connection_id":145486,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 18:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":145486,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:41:06] local.INFO: TCP Data received {"connection_id":145486,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3b05858012d1967c0071fee200046011624..."} 
[2026-07-27 18:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3b05858012d1967c0071fee200046011624..."} 
[2026-07-27 18:41:06] local.INFO: Processing buffer {"connection_id":145486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3b05858012d1967c0071fee200046011624..."} 
[2026-07-27 18:41:06] local.INFO: Packet analysis {"connection_id":145486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3b0"} 
[2026-07-27 18:41:06] local.INFO: Extracted packet for processing {"connection_id":145486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3b0"} 
[2026-07-27 18:41:06] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":36,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 18:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:41:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000358400001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:41:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 18:41:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 18:41:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:41:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785157671000,"timestamp_ms":1785157671000,"timestamp_seconds":1785157671,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3b05858"} 
[2026-07-27 18:41:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:41:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 18:41:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:41:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:41:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:41:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:41:06] local.INFO: Teltonika packet parsed successfully {"connection_id":145486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:41:06] local.INFO: Passing IMEI to GPS processor {"connection_id":145486,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:41:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":145486,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:41:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:41:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:41:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:41:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000358400001,"66":12428,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:41:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:41:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:41:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000358400001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:41:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:41:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:41:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:41:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 18:41:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000358400001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 18:41:06] local.INFO: DEBUG: GPS processor result {"connection_id":145486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554813,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:41:06] local.INFO: GPS data processed {"connection_id":145486,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:41:06] local.INFO: Acknowledgment sent {"connection_id":145486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:41:08] local.INFO: TCP Data received {"connection_id":143081,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143081,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:41:08] local.INFO: Processing buffer {"connection_id":143081,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:41:08] local.INFO: IMEI packet received {"connection_id":143081,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 18:41:08] local.INFO: IMEI acknowledgment sent {"connection_id":143081,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:41:08] local.INFO: TCP Data received {"connection_id":145485,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3b17968012da8530005dfd2380021013a28..."} 
[2026-07-27 18:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3b17968012da8530005dfd2380021013a28..."} 
[2026-07-27 18:41:08] local.INFO: Processing buffer {"connection_id":145485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3b17968012da8530005dfd2380021013a28..."} 
[2026-07-27 18:41:08] local.INFO: Packet analysis {"connection_id":145485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3b1"} 
[2026-07-27 18:41:08] local.INFO: Extracted packet for processing {"connection_id":145485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3b1"} 
[2026-07-27 18:41:08] local.INFO: GPS Element Parsed {"raw_longitude":766006016,"raw_latitude":98554424,"longitude_deg":76.6006016,"latitude_deg":9.8554424,"altitude":33,"angle":314,"satellites":40,"speed":0,"hex_longitude":"2da85300","hex_latitude":"05dfd238","is_valid_coordinates":true} 
[2026-07-27 18:41:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:41:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000305664001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:41:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359256443599192064,"note":"Value kept but may cause issues"} 
[2026-07-27 18:41:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6317705827040741376,"note":"Value kept but may cause issues"} 
[2026-07-27 18:41:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:41:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785157745000,"timestamp_ms":1785157745000,"timestamp_seconds":1785157745,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3b17968"} 
[2026-07-27 18:41:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:41:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-27 18:41:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2490,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:41:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:41:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:41:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:41:08] local.INFO: Teltonika packet parsed successfully {"connection_id":145485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:41:08] local.INFO: Passing IMEI to GPS processor {"connection_id":145485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:41:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":145485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:41:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:41:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:41:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:41:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000305664001,"66":26115,"70":206,"88":19968,"24":0,"16":359256443599192064,"45":-6317705827040741376},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,88,24,16,45]} 
[2026-07-27 18:41:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:41:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:41:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000305664001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:41:08] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-27 18:41:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 18:41:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359256443599192064,"km_value":359256443599192.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:41:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6317705827040741376,"description":"Unknown IO ID 45"} 
[2026-07-27 18:41:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000305664001,"power":26115,"unknown_70":206,"unknown_88":19968,"ignition":0,"odometer":null,"unknown_45":-6317705827040741376}} 
[2026-07-27 18:41:08] local.INFO: DEBUG: GPS processor result {"connection_id":145485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:41:08] local.INFO: GPS data processed {"connection_id":145485,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:41:08] local.INFO: Acknowledgment sent {"connection_id":145485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:41:13] local.INFO: TCP Data received {"connection_id":143081,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143081,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:41:13] local.INFO: Processing buffer {"connection_id":143081,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:41:13] local.INFO: IMEI packet received {"connection_id":143081,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 18:41:13] local.INFO: IMEI acknowledgment sent {"connection_id":143081,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:41:13] local.INFO: TCP Data received {"connection_id":143081,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3b0e110012d7e380005d34d50000000312a..."} 
[2026-07-27 18:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3b0e110012d7e380005d34d50000000312a..."} 
[2026-07-27 18:41:13] local.INFO: Processing buffer {"connection_id":143081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3b0e110012d7e380005d34d50000000312a..."} 
[2026-07-27 18:41:13] local.INFO: Packet analysis {"connection_id":143081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3b0"} 
[2026-07-27 18:41:13] local.INFO: Extracted packet for processing {"connection_id":143081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3b0"} 
[2026-07-27 18:41:13] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733968,"longitude_deg":76.3246592,"latitude_deg":9.7733968,"altitude":0,"angle":49,"satellites":42,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-07-27 18: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-07-27 18:41:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000294656001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:41:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111785234072076288,"note":"Value kept but may cause issues"} 
[2026-07-27 18:41:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094597260029536256,"note":"Value kept but may cause issues"} 
[2026-07-27 18:41:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:41:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785157706000,"timestamp_ms":1785157706000,"timestamp_seconds":1785157706,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3b0e110"} 
[2026-07-27 18:41:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:41: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-07-27 18: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":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-07-27 18:41:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18: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-07-27 18:41:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:41:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:41:13] local.INFO: Teltonika packet parsed successfully {"connection_id":143081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:41:13] local.INFO: Passing IMEI to GPS processor {"connection_id":143081,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:41:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":143081,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:41:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:41:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 18:41:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 18:41:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000294656001,"66":12722,"109":206,"85":15104,"24":0,"16":111785234072076288,"45":9094597260029536256},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-27 18:41:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 18:41:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 18:41:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000294656001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:41:13] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-27 18:41:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 18:41:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111785234072076288,"km_value":111785234072076.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:41:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094597260029536256,"description":"Unknown IO ID 45"} 
[2026-07-27 18:41:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000294656001,"power":12722,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094597260029536256}} 
[2026-07-27 18:41:13] local.INFO: DEBUG: GPS processor result {"connection_id":143081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554815,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:41:13] local.INFO: GPS data processed {"connection_id":143081,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:41:13] local.INFO: Acknowledgment sent {"connection_id":143081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:41:31] local.INFO: TCP Data received {"connection_id":143082,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:41:31] local.INFO: Processing buffer {"connection_id":143082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:41:31] local.INFO: IMEI packet received {"connection_id":143082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 18:41:31] local.INFO: IMEI acknowledgment sent {"connection_id":143082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:41:36] local.INFO: TCP Data received {"connection_id":143082,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:41:36] local.INFO: Processing buffer {"connection_id":143082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:41:36] local.INFO: IMEI packet received {"connection_id":143082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 18:41:36] local.INFO: IMEI acknowledgment sent {"connection_id":143082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:41:37] local.INFO: TCP Data received {"connection_id":143082,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3b17968012da8530005dfd2380021013a28..."} 
[2026-07-27 18:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3b17968012da8530005dfd2380021013a28..."} 
[2026-07-27 18:41:37] local.INFO: Processing buffer {"connection_id":143082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3b17968012da8530005dfd2380021013a28..."} 
[2026-07-27 18:41:37] local.INFO: Packet analysis {"connection_id":143082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3b1"} 
[2026-07-27 18:41:37] local.INFO: Extracted packet for processing {"connection_id":143082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3b1"} 
[2026-07-27 18:41:37] local.INFO: GPS Element Parsed {"raw_longitude":766006016,"raw_latitude":98554424,"longitude_deg":76.6006016,"latitude_deg":9.8554424,"altitude":33,"angle":314,"satellites":40,"speed":0,"hex_longitude":"2da85300","hex_latitude":"05dfd238","is_valid_coordinates":true} 
[2026-07-27 18:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:41:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000305664001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:41:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359256443599192064,"note":"Value kept but may cause issues"} 
[2026-07-27 18:41:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6317705827040741376,"note":"Value kept but may cause issues"} 
[2026-07-27 18:41:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:41:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785157745000,"timestamp_ms":1785157745000,"timestamp_seconds":1785157745,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3b17968"} 
[2026-07-27 18:41:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:41:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 18:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-27 18:41:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2490,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:41:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:41:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:41:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:41:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:41:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:41:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:41:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:41:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:41:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:41:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000305664001,"66":26115,"70":206,"88":19968,"24":0,"16":359256443599192064,"45":-6317705827040741376},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,88,24,16,45]} 
[2026-07-27 18:41:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:41:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:41:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000305664001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:41:37] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-27 18:41:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 18:41:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359256443599192064,"km_value":359256443599192.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:41:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6317705827040741376,"description":"Unknown IO ID 45"} 
[2026-07-27 18:41:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000305664001,"power":26115,"unknown_70":206,"unknown_88":19968,"ignition":0,"odometer":null,"unknown_45":-6317705827040741376}} 
[2026-07-27 18:41:37] local.INFO: DEBUG: GPS processor result {"connection_id":143082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:41:37] local.INFO: GPS data processed {"connection_id":143082,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:41:37] local.INFO: Acknowledgment sent {"connection_id":143082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:41:37] local.INFO: TCP Data received {"connection_id":145486,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3b0aa60012d1967c0071fee200046011624..."} 
[2026-07-27 18:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3b0aa60012d1967c0071fee200046011624..."} 
[2026-07-27 18:41:37] local.INFO: Processing buffer {"connection_id":145486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3b0aa60012d1967c0071fee200046011624..."} 
[2026-07-27 18:41:37] local.INFO: Packet analysis {"connection_id":145486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3b0"} 
[2026-07-27 18:41:37] local.INFO: Extracted packet for processing {"connection_id":145486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3b0"} 
[2026-07-27 18:41:37] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":36,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 18:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:41:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000363776001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:41:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 18:41:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 18:41:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:41:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785157692000,"timestamp_ms":1785157692000,"timestamp_seconds":1785157692,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3b0aa60"} 
[2026-07-27 18:41:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:41:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-27 18:41:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:41:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:41:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:41:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:41:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:41:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145486,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:41:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145486,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:41:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:41:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:41:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:41:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000363776001,"66":12385,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:41:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:41:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:41:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000363776001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:41:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:41:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:41:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:41:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 18:41:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000363776001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 18:41:37] local.INFO: DEBUG: GPS processor result {"connection_id":145486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554817,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:41:37] local.INFO: GPS data processed {"connection_id":145486,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:41:37] local.INFO: Acknowledgment sent {"connection_id":145486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:41:45] local.INFO: TCP Data received {"connection_id":143081,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3b0e110012d7e380005d34d50000000312a..."} 
[2026-07-27 18:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3b0e110012d7e380005d34d50000000312a..."} 
[2026-07-27 18:41:45] local.INFO: Processing buffer {"connection_id":143081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3b0e110012d7e380005d34d50000000312a..."} 
[2026-07-27 18:41:45] local.INFO: Packet analysis {"connection_id":143081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3b0"} 
[2026-07-27 18:41:45] local.INFO: Extracted packet for processing {"connection_id":143081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3b0"} 
[2026-07-27 18:41:45] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733968,"longitude_deg":76.3246592,"latitude_deg":9.7733968,"altitude":0,"angle":49,"satellites":42,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-07-27 18:41:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:41:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000294656001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:41:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111785234072076288,"note":"Value kept but may cause issues"} 
[2026-07-27 18:41:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094597260029536256,"note":"Value kept but may cause issues"} 
[2026-07-27 18:41:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:41:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785157706000,"timestamp_ms":1785157706000,"timestamp_seconds":1785157706,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3b0e110"} 
[2026-07-27 18:41:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:41: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-07-27 18:41:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-07-27 18:41:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:41:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:41:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:41:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:41:45] local.INFO: Teltonika packet parsed successfully {"connection_id":143081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:41:45] local.INFO: Passing IMEI to GPS processor {"connection_id":143081,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:41:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":143081,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:41:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:41:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 18:41:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 18:41:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000294656001,"66":12722,"109":206,"85":15104,"24":0,"16":111785234072076288,"45":9094597260029536256},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-27 18:41:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 18:41:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 18:41:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000294656001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:41:45] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-27 18:41:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 18:41:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111785234072076288,"km_value":111785234072076.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:41:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094597260029536256,"description":"Unknown IO ID 45"} 
[2026-07-27 18:41:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000294656001,"power":12722,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094597260029536256}} 
[2026-07-27 18:41:45] local.INFO: DEBUG: GPS processor result {"connection_id":143081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554818,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:41:45] local.INFO: GPS data processed {"connection_id":143081,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:41:45] local.INFO: Acknowledgment sent {"connection_id":143081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:41:59] local.INFO: TCP Data received {"connection_id":144207,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144207,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:41:59] local.INFO: Processing buffer {"connection_id":144207,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:41:59] local.INFO: IMEI packet received {"connection_id":144207,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 18:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":144207,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:42:00] local.INFO: TCP Data received {"connection_id":144207,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144207,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:42:00] local.INFO: Processing buffer {"connection_id":144207,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:42:00] local.INFO: IMEI packet received {"connection_id":144207,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 18:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":144207,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:42:04] local.INFO: TCP Data received {"connection_id":144207,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144207,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:42:04] local.INFO: Processing buffer {"connection_id":144207,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:42:04] local.INFO: IMEI packet received {"connection_id":144207,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 18:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":144207,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:42:06] local.INFO: TCP Data received {"connection_id":144207,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3b0fc68012d1967c0071fee200046011623..."} 
[2026-07-27 18:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144207,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3b0fc68012d1967c0071fee200046011623..."} 
[2026-07-27 18:42:06] local.INFO: Processing buffer {"connection_id":144207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3b0fc68012d1967c0071fee200046011623..."} 
[2026-07-27 18:42:06] local.INFO: Packet analysis {"connection_id":144207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3b0"} 
[2026-07-27 18:42:06] local.INFO: Extracted packet for processing {"connection_id":144207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3b0"} 
[2026-07-27 18:42:06] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":35,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 18:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:42:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000369152001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:42:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 18:42:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 18:42:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:42:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785157713000,"timestamp_ms":1785157713000,"timestamp_seconds":1785157713,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3b0fc68"} 
[2026-07-27 18:42:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:42:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-27 18:42:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:42:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:42:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:42:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:42:06] local.INFO: Teltonika packet parsed successfully {"connection_id":144207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:42:06] local.INFO: Passing IMEI to GPS processor {"connection_id":144207,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:42:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":144207,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:42:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:42:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:42:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:42:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000369152001,"66":12385,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:42:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:42:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:42:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000369152001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:42:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:42:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:42:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:42:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 18:42:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000369152001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 18:42:07] local.INFO: DEBUG: GPS processor result {"connection_id":144207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554819,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:42:07] local.INFO: GPS data processed {"connection_id":144207,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:42:07] local.INFO: Acknowledgment sent {"connection_id":144207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:42:07] local.INFO: TCP Data received {"connection_id":143083,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143083,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:42:07] local.INFO: Processing buffer {"connection_id":143083,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:42:07] local.INFO: IMEI packet received {"connection_id":143083,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 18:42:07] local.INFO: IMEI acknowledgment sent {"connection_id":143083,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:42:08] local.INFO: TCP Data received {"connection_id":143082,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3b17968012da8530005dfd2380021013a28..."} 
[2026-07-27 18:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3b17968012da8530005dfd2380021013a28..."} 
[2026-07-27 18:42:08] local.INFO: Processing buffer {"connection_id":143082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3b17968012da8530005dfd2380021013a28..."} 
[2026-07-27 18:42:08] local.INFO: Packet analysis {"connection_id":143082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3b1"} 
[2026-07-27 18:42:08] local.INFO: Extracted packet for processing {"connection_id":143082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3b1"} 
[2026-07-27 18:42:08] local.INFO: GPS Element Parsed {"raw_longitude":766006016,"raw_latitude":98554424,"longitude_deg":76.6006016,"latitude_deg":9.8554424,"altitude":33,"angle":314,"satellites":40,"speed":0,"hex_longitude":"2da85300","hex_latitude":"05dfd238","is_valid_coordinates":true} 
[2026-07-27 18:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:42:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000305664001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:42:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359256443599192064,"note":"Value kept but may cause issues"} 
[2026-07-27 18:42:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6317705827040741376,"note":"Value kept but may cause issues"} 
[2026-07-27 18:42:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:42:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785157745000,"timestamp_ms":1785157745000,"timestamp_seconds":1785157745,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3b17968"} 
[2026-07-27 18:42:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:42:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 18:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-27 18:42:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2490,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:42:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:42:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:42:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:42:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:42:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:42:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:42:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:42:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:42:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:42:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000305664001,"66":26115,"70":206,"88":19968,"24":0,"16":359256443599192064,"45":-6317705827040741376},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,88,24,16,45]} 
[2026-07-27 18:42:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:42:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:42:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000305664001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:42:08] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-27 18:42:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 18:42:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359256443599192064,"km_value":359256443599192.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:42:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6317705827040741376,"description":"Unknown IO ID 45"} 
[2026-07-27 18:42:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000305664001,"power":26115,"unknown_70":206,"unknown_88":19968,"ignition":0,"odometer":null,"unknown_45":-6317705827040741376}} 
[2026-07-27 18:42:08] local.INFO: DEBUG: GPS processor result {"connection_id":143082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:42:08] local.INFO: GPS data processed {"connection_id":143082,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:42:08] local.INFO: Acknowledgment sent {"connection_id":143082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:42:13] local.INFO: TCP Data received {"connection_id":143083,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143083,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:42:13] local.INFO: Processing buffer {"connection_id":143083,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:42:13] local.INFO: IMEI packet received {"connection_id":143083,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 18:42:13] local.INFO: IMEI acknowledgment sent {"connection_id":143083,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:42:13] local.INFO: TCP Data received {"connection_id":143083,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3b0e110012d7e380005d34d50000000312a..."} 
[2026-07-27 18:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143083,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3b0e110012d7e380005d34d50000000312a..."} 
[2026-07-27 18:42:13] local.INFO: Processing buffer {"connection_id":143083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3b0e110012d7e380005d34d50000000312a..."} 
[2026-07-27 18:42:13] local.INFO: Packet analysis {"connection_id":143083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3b0"} 
[2026-07-27 18:42:13] local.INFO: Extracted packet for processing {"connection_id":143083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3b0"} 
[2026-07-27 18:42:13] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733968,"longitude_deg":76.3246592,"latitude_deg":9.7733968,"altitude":0,"angle":49,"satellites":42,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-07-27 18:42:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:42:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000294656001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:42:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111785234072076288,"note":"Value kept but may cause issues"} 
[2026-07-27 18:42:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094597260029536256,"note":"Value kept but may cause issues"} 
[2026-07-27 18:42:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:42:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785157706000,"timestamp_ms":1785157706000,"timestamp_seconds":1785157706,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3b0e110"} 
[2026-07-27 18:42:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:42: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-07-27 18:42:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-07-27 18:42:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:42:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:42:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:42:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:42:13] local.INFO: Teltonika packet parsed successfully {"connection_id":143083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:42:13] local.INFO: Passing IMEI to GPS processor {"connection_id":143083,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:42:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":143083,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:42:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:42:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 18:42:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 18:42:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000294656001,"66":12722,"109":206,"85":15104,"24":0,"16":111785234072076288,"45":9094597260029536256},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-27 18:42:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 18:42:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 18:42:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000294656001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:42:13] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-27 18:42:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 18:42:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111785234072076288,"km_value":111785234072076.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:42:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094597260029536256,"description":"Unknown IO ID 45"} 
[2026-07-27 18:42:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000294656001,"power":12722,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094597260029536256}} 
[2026-07-27 18:42:13] local.INFO: DEBUG: GPS processor result {"connection_id":143083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554821,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:42:13] local.INFO: GPS data processed {"connection_id":143083,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:42:13] local.INFO: Acknowledgment sent {"connection_id":143083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:42:31] local.INFO: TCP Data received {"connection_id":143221,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:42:31] local.INFO: Processing buffer {"connection_id":143221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:42:31] local.INFO: IMEI packet received {"connection_id":143221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 18:42:31] local.INFO: IMEI acknowledgment sent {"connection_id":143221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:42:36] local.INFO: TCP Data received {"connection_id":143221,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:42:36] local.INFO: Processing buffer {"connection_id":143221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:42:36] local.INFO: IMEI packet received {"connection_id":143221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 18:42:36] local.INFO: IMEI acknowledgment sent {"connection_id":143221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:42:37] local.INFO: TCP Data received {"connection_id":143221,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3b17968012da8530005dfd2380021013a28..."} 
[2026-07-27 18:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143221,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3b17968012da8530005dfd2380021013a28..."} 
[2026-07-27 18:42:37] local.INFO: Processing buffer {"connection_id":143221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3b17968012da8530005dfd2380021013a28..."} 
[2026-07-27 18:42:37] local.INFO: Packet analysis {"connection_id":143221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3b1"} 
[2026-07-27 18:42:37] local.INFO: Extracted packet for processing {"connection_id":143221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3b1"} 
[2026-07-27 18:42:37] local.INFO: GPS Element Parsed {"raw_longitude":766006016,"raw_latitude":98554424,"longitude_deg":76.6006016,"latitude_deg":9.8554424,"altitude":33,"angle":314,"satellites":40,"speed":0,"hex_longitude":"2da85300","hex_latitude":"05dfd238","is_valid_coordinates":true} 
[2026-07-27 18:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000305664001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359256443599192064,"note":"Value kept but may cause issues"} 
[2026-07-27 18:42:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6317705827040741376,"note":"Value kept but may cause issues"} 
[2026-07-27 18:42:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785157745000,"timestamp_ms":1785157745000,"timestamp_seconds":1785157745,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3b17968"} 
[2026-07-27 18:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:42:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 18:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-27 18:42:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2490,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:42:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:42:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000305664001,"66":26115,"70":206,"88":19968,"24":0,"16":359256443599192064,"45":-6317705827040741376},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,88,24,16,45]} 
[2026-07-27 18:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000305664001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:42:37] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-27 18:42:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 18:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359256443599192064,"km_value":359256443599192.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:42:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6317705827040741376,"description":"Unknown IO ID 45"} 
[2026-07-27 18:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000305664001,"power":26115,"unknown_70":206,"unknown_88":19968,"ignition":0,"odometer":null,"unknown_45":-6317705827040741376}} 
[2026-07-27 18:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":143221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:42:37] local.INFO: GPS data processed {"connection_id":143221,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:42:37] local.INFO: Acknowledgment sent {"connection_id":143221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:42:38] local.INFO: TCP Data received {"connection_id":144207,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3b14e70012d1967c0071fee200046011624..."} 
[2026-07-27 18:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144207,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3b14e70012d1967c0071fee200046011624..."} 
[2026-07-27 18:42:38] local.INFO: Processing buffer {"connection_id":144207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3b14e70012d1967c0071fee200046011624..."} 
[2026-07-27 18:42:38] local.INFO: Packet analysis {"connection_id":144207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3b1"} 
[2026-07-27 18:42:38] local.INFO: Extracted packet for processing {"connection_id":144207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3b1"} 
[2026-07-27 18:42:38] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":36,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 18:42:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:42:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000374528001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:42:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 18:42:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 18:42:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:42:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785157734000,"timestamp_ms":1785157734000,"timestamp_seconds":1785157734,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3b14e70"} 
[2026-07-27 18:42:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:42:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18: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":97,"data_length":795,"current_offset":136} 
[2026-07-27 18:42:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:42:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:42:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:42:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:42:38] local.INFO: Teltonika packet parsed successfully {"connection_id":144207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:42:38] local.INFO: Passing IMEI to GPS processor {"connection_id":144207,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:42:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":144207,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:42:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:42:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:42:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:42:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000374528001,"66":12341,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:42:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:42:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:42:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000374528001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:42:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:42:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:42:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:42:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 18:42:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000374528001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 18:42:38] local.INFO: DEBUG: GPS processor result {"connection_id":144207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554823,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:42:38] local.INFO: GPS data processed {"connection_id":144207,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:42:38] local.INFO: Acknowledgment sent {"connection_id":144207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:42:45] local.INFO: TCP Data received {"connection_id":143083,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3b0e110012d7e380005d34d50000000312a..."} 
[2026-07-27 18:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143083,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3b0e110012d7e380005d34d50000000312a..."} 
[2026-07-27 18:42:45] local.INFO: Processing buffer {"connection_id":143083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3b0e110012d7e380005d34d50000000312a..."} 
[2026-07-27 18:42:45] local.INFO: Packet analysis {"connection_id":143083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3b0"} 
[2026-07-27 18:42:45] local.INFO: Extracted packet for processing {"connection_id":143083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3b0"} 
[2026-07-27 18:42:45] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733968,"longitude_deg":76.3246592,"latitude_deg":9.7733968,"altitude":0,"angle":49,"satellites":42,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-07-27 18:42:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:42:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000294656001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:42:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111785234072076288,"note":"Value kept but may cause issues"} 
[2026-07-27 18:42:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094597260029536256,"note":"Value kept but may cause issues"} 
[2026-07-27 18:42:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:42:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785157706000,"timestamp_ms":1785157706000,"timestamp_seconds":1785157706,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3b0e110"} 
[2026-07-27 18:42:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:42: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-07-27 18:42:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-07-27 18:42:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:42:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:42:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:42:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:42:45] local.INFO: Teltonika packet parsed successfully {"connection_id":143083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:42:45] local.INFO: Passing IMEI to GPS processor {"connection_id":143083,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:42:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":143083,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:42:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:42:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 18:42:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 18:42:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000294656001,"66":12722,"109":206,"85":15104,"24":0,"16":111785234072076288,"45":9094597260029536256},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-27 18:42:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 18:42:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 18:42:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000294656001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:42:45] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-27 18:42:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 18:42:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111785234072076288,"km_value":111785234072076.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:42:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094597260029536256,"description":"Unknown IO ID 45"} 
[2026-07-27 18:42:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000294656001,"power":12722,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094597260029536256}} 
[2026-07-27 18:42:45] local.INFO: DEBUG: GPS processor result {"connection_id":143083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554824,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:42:45] local.INFO: GPS data processed {"connection_id":143083,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:42:45] local.INFO: Acknowledgment sent {"connection_id":143083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:43:03] local.INFO: TCP Data received {"connection_id":145487,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145487,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:43:03] local.INFO: Processing buffer {"connection_id":145487,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:43:03] local.INFO: IMEI packet received {"connection_id":145487,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 18:43:03] local.INFO: IMEI acknowledgment sent {"connection_id":145487,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:43:04] local.INFO: TCP Data received {"connection_id":145487,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145487,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:43:04] local.INFO: Processing buffer {"connection_id":145487,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:43:04] local.INFO: IMEI packet received {"connection_id":145487,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 18:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":145487,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:43:07] local.INFO: TCP Data received {"connection_id":145488,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145488,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:43:07] local.INFO: Processing buffer {"connection_id":145488,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:43:07] local.INFO: IMEI packet received {"connection_id":145488,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 18:43:07] local.INFO: IMEI acknowledgment sent {"connection_id":145488,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:43:08] local.INFO: TCP Data received {"connection_id":143221,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3b17968012da8530005dfd2380021013a28..."} 
[2026-07-27 18:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143221,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3b17968012da8530005dfd2380021013a28..."} 
[2026-07-27 18:43:08] local.INFO: Processing buffer {"connection_id":143221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3b17968012da8530005dfd2380021013a28..."} 
[2026-07-27 18:43:08] local.INFO: Packet analysis {"connection_id":143221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3b1"} 
[2026-07-27 18:43:08] local.INFO: Extracted packet for processing {"connection_id":143221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3b1"} 
[2026-07-27 18:43:08] local.INFO: GPS Element Parsed {"raw_longitude":766006016,"raw_latitude":98554424,"longitude_deg":76.6006016,"latitude_deg":9.8554424,"altitude":33,"angle":314,"satellites":40,"speed":0,"hex_longitude":"2da85300","hex_latitude":"05dfd238","is_valid_coordinates":true} 
[2026-07-27 18:43:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:43:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000305664001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:43:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359256443599192064,"note":"Value kept but may cause issues"} 
[2026-07-27 18:43:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6317705827040741376,"note":"Value kept but may cause issues"} 
[2026-07-27 18:43:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:43:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785157745000,"timestamp_ms":1785157745000,"timestamp_seconds":1785157745,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3b17968"} 
[2026-07-27 18:43:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:43:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-27 18:43:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2490,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:43:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:43:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:43:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:43:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:43:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:43:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:43:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:43:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:43:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:43:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000305664001,"66":26115,"70":206,"88":19968,"24":0,"16":359256443599192064,"45":-6317705827040741376},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,88,24,16,45]} 
[2026-07-27 18:43:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:43:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:43:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000305664001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:43:08] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-27 18:43:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 18:43:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359256443599192064,"km_value":359256443599192.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:43:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6317705827040741376,"description":"Unknown IO ID 45"} 
[2026-07-27 18:43:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000305664001,"power":26115,"unknown_70":206,"unknown_88":19968,"ignition":0,"odometer":null,"unknown_45":-6317705827040741376}} 
[2026-07-27 18:43:08] local.INFO: DEBUG: GPS processor result {"connection_id":143221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:43:08] local.INFO: GPS data processed {"connection_id":143221,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:43:08] local.INFO: Acknowledgment sent {"connection_id":143221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:43:09] local.INFO: TCP Data received {"connection_id":145487,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145487,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:43:09] local.INFO: Processing buffer {"connection_id":145487,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:43:09] local.INFO: IMEI packet received {"connection_id":145487,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 18:43:09] local.INFO: IMEI acknowledgment sent {"connection_id":145487,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:43:13] local.INFO: TCP Data received {"connection_id":145488,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145488,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:43:13] local.INFO: Processing buffer {"connection_id":145488,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:43:13] local.INFO: IMEI packet received {"connection_id":145488,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 18:43:13] local.INFO: IMEI acknowledgment sent {"connection_id":145488,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:43:13] local.INFO: TCP Data received {"connection_id":145487,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3b1a078012d1967c0071fee200046011622..."} 
[2026-07-27 18:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3b1a078012d1967c0071fee200046011622..."} 
[2026-07-27 18:43:13] local.INFO: Processing buffer {"connection_id":145487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3b1a078012d1967c0071fee200046011622..."} 
[2026-07-27 18:43:13] local.INFO: Packet analysis {"connection_id":145487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3b1"} 
[2026-07-27 18:43:13] local.INFO: Extracted packet for processing {"connection_id":145487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3b1"} 
[2026-07-27 18:43:13] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":34,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 18:43:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:43:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000379904001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:43:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 18:43:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 18:43:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:43:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785157755000,"timestamp_ms":1785157755000,"timestamp_seconds":1785157755,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3b1a078"} 
[2026-07-27 18:43:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:43:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:43:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 18:43:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:43:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:43:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:43:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:43:13] local.INFO: Teltonika packet parsed successfully {"connection_id":145487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:43:13] local.INFO: Passing IMEI to GPS processor {"connection_id":145487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:43:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":145487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:43:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:43:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:43:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:43:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000379904001,"66":12406,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:43:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:43:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:43:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000379904001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:43:13] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:43:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:43:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:43:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 18:43:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000379904001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 18:43:13] local.INFO: DEBUG: GPS processor result {"connection_id":145487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554826,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:43:13] local.INFO: GPS data processed {"connection_id":145487,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:43:13] local.INFO: Acknowledgment sent {"connection_id":145487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:43:13] local.INFO: TCP Data received {"connection_id":145488,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3b0e110012d7e380005d34d50000000312a..."} 
[2026-07-27 18:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3b0e110012d7e380005d34d50000000312a..."} 
[2026-07-27 18:43:13] local.INFO: Processing buffer {"connection_id":145488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3b0e110012d7e380005d34d50000000312a..."} 
[2026-07-27 18:43:13] local.INFO: Packet analysis {"connection_id":145488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3b0"} 
[2026-07-27 18:43:13] local.INFO: Extracted packet for processing {"connection_id":145488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3b0"} 
[2026-07-27 18:43:13] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733968,"longitude_deg":76.3246592,"latitude_deg":9.7733968,"altitude":0,"angle":49,"satellites":42,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-07-27 18:43:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:43:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000294656001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:43:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111785234072076288,"note":"Value kept but may cause issues"} 
[2026-07-27 18:43:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094597260029536256,"note":"Value kept but may cause issues"} 
[2026-07-27 18:43:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:43:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785157706000,"timestamp_ms":1785157706000,"timestamp_seconds":1785157706,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3b0e110"} 
[2026-07-27 18:43:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:43: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-07-27 18:43:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-07-27 18:43:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:43:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:43:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:43:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:43:13] local.INFO: Teltonika packet parsed successfully {"connection_id":145488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:43:13] local.INFO: Passing IMEI to GPS processor {"connection_id":145488,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:43:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":145488,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:43:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:43:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 18:43:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 18:43:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000294656001,"66":12722,"109":206,"85":15104,"24":0,"16":111785234072076288,"45":9094597260029536256},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-27 18:43:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 18:43:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 18:43:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000294656001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:43:13] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-27 18:43:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 18:43:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111785234072076288,"km_value":111785234072076.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:43:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094597260029536256,"description":"Unknown IO ID 45"} 
[2026-07-27 18:43:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000294656001,"power":12722,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094597260029536256}} 
[2026-07-27 18:43:13] local.INFO: DEBUG: GPS processor result {"connection_id":145488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554827,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:43:13] local.INFO: GPS data processed {"connection_id":145488,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:43:13] local.INFO: Acknowledgment sent {"connection_id":145488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:43:36] local.INFO: TCP Data received {"connection_id":143084,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:43:36] local.INFO: Processing buffer {"connection_id":143084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:43:36] local.INFO: IMEI packet received {"connection_id":143084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 18:43:36] local.INFO: IMEI acknowledgment sent {"connection_id":143084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:43:43] local.INFO: TCP Data received {"connection_id":143084,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:43:43] local.INFO: Processing buffer {"connection_id":143084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:43:43] local.INFO: IMEI packet received {"connection_id":143084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 18:43:43] local.INFO: IMEI acknowledgment sent {"connection_id":143084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:43:43] local.INFO: TCP Data received {"connection_id":143084,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3b17968012da8530005dfd2380021013a28..."} 
[2026-07-27 18:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3b17968012da8530005dfd2380021013a28..."} 
[2026-07-27 18:43:43] local.INFO: Processing buffer {"connection_id":143084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3b17968012da8530005dfd2380021013a28..."} 
[2026-07-27 18:43:43] local.INFO: Packet analysis {"connection_id":143084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3b1"} 
[2026-07-27 18:43:43] local.INFO: Extracted packet for processing {"connection_id":143084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3b1"} 
[2026-07-27 18:43:43] local.INFO: GPS Element Parsed {"raw_longitude":766006016,"raw_latitude":98554424,"longitude_deg":76.6006016,"latitude_deg":9.8554424,"altitude":33,"angle":314,"satellites":40,"speed":0,"hex_longitude":"2da85300","hex_latitude":"05dfd238","is_valid_coordinates":true} 
[2026-07-27 18:43:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:43:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000305664001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:43:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359256443599192064,"note":"Value kept but may cause issues"} 
[2026-07-27 18:43:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6317705827040741376,"note":"Value kept but may cause issues"} 
[2026-07-27 18:43:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:43:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785157745000,"timestamp_ms":1785157745000,"timestamp_seconds":1785157745,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3b17968"} 
[2026-07-27 18:43:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:43:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 18: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":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-27 18:43:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2490,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:43:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:43:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:43:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:43:43] local.INFO: Teltonika packet parsed successfully {"connection_id":143084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:43:43] local.INFO: Passing IMEI to GPS processor {"connection_id":143084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:43:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":143084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:43:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:43:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:43:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:43:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000305664001,"66":26115,"70":206,"88":19968,"24":0,"16":359256443599192064,"45":-6317705827040741376},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,88,24,16,45]} 
[2026-07-27 18:43:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:43:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:43:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000305664001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:43:43] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-27 18:43:43] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 18:43:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359256443599192064,"km_value":359256443599192.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:43:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6317705827040741376,"description":"Unknown IO ID 45"} 
[2026-07-27 18:43:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000305664001,"power":26115,"unknown_70":206,"unknown_88":19968,"ignition":0,"odometer":null,"unknown_45":-6317705827040741376}} 
[2026-07-27 18:43:43] local.INFO: DEBUG: GPS processor result {"connection_id":143084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:43:43] local.INFO: GPS data processed {"connection_id":143084,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:43:43] local.INFO: Acknowledgment sent {"connection_id":143084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:43:44] local.INFO: TCP Data received {"connection_id":145487,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3b1f280012d1967c0071fee200046011624..."} 
[2026-07-27 18:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3b1f280012d1967c0071fee200046011624..."} 
[2026-07-27 18:43:44] local.INFO: Processing buffer {"connection_id":145487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3b1f280012d1967c0071fee200046011624..."} 
[2026-07-27 18:43:44] local.INFO: Packet analysis {"connection_id":145487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3b1"} 
[2026-07-27 18:43:44] local.INFO: Extracted packet for processing {"connection_id":145487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3b1"} 
[2026-07-27 18:43:44] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":36,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 18:43:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:43:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000385280001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:43:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 18:43:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 18:43:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:43:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785157776000,"timestamp_ms":1785157776000,"timestamp_seconds":1785157776,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3b1f280"} 
[2026-07-27 18:43:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:43:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:43:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 18:43:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:43:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:43:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:43:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:43:44] local.INFO: Teltonika packet parsed successfully {"connection_id":145487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:43:44] local.INFO: Passing IMEI to GPS processor {"connection_id":145487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:43:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":145487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:43:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:43:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:43:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:43:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000385280001,"66":12406,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:43:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:43:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:43:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000385280001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:43:44] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:43:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:43:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:43:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 18:43:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000385280001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 18:43:44] local.INFO: DEBUG: GPS processor result {"connection_id":145487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554829,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:43:44] local.INFO: GPS data processed {"connection_id":145487,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:43:44] local.INFO: Acknowledgment sent {"connection_id":145487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:43:44] local.INFO: TCP Data received {"connection_id":145488,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3b55d80012d7e380005d34d50000000312b..."} 
[2026-07-27 18:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3b55d80012d7e380005d34d50000000312b..."} 
[2026-07-27 18:43:44] local.INFO: Processing buffer {"connection_id":145488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3b55d80012d7e380005d34d50000000312b..."} 
[2026-07-27 18:43:44] local.INFO: Packet analysis {"connection_id":145488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3b5"} 
[2026-07-27 18:43:44] local.INFO: Extracted packet for processing {"connection_id":145488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3b5"} 
[2026-07-27 18:43:44] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733968,"longitude_deg":76.3246592,"latitude_deg":9.7733968,"altitude":0,"angle":49,"satellites":43,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-07-27 18:43:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:43:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000372736001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:43:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111785234072076288,"note":"Value kept but may cause issues"} 
[2026-07-27 18:43:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494612480,"note":"Value kept but may cause issues"} 
[2026-07-27 18:43:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:43:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785158000000,"timestamp_ms":1785158000000,"timestamp_seconds":1785158000,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3b55d80"} 
[2026-07-27 18:43:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:43:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 18:43:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-27 18:43:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:43:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:43:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:43:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:43:44] local.INFO: Teltonika packet parsed successfully {"connection_id":145488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:43:44] local.INFO: Passing IMEI to GPS processor {"connection_id":145488,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:43:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":145488,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:43:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:43:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 18:43:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 18:43:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000372736001,"66":12526,"109":206,"85":15104,"24":0,"16":111785234072076288,"45":9095019472494612480},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-27 18:43:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 18:43:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 18:43:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000372736001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:43:44] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-27 18:43:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 18:43:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111785234072076288,"km_value":111785234072076.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:43:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494612480,"description":"Unknown IO ID 45"} 
[2026-07-27 18:43:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000372736001,"power":12526,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494612480}} 
[2026-07-27 18:43:45] local.INFO: DEBUG: GPS processor result {"connection_id":145488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554830,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:43:45] local.INFO: GPS data processed {"connection_id":145488,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:43:45] local.INFO: Acknowledgment sent {"connection_id":145488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:44:04] local.INFO: TCP Data received {"connection_id":144208,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144208,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:44:04] local.INFO: Processing buffer {"connection_id":144208,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:44:04] local.INFO: IMEI packet received {"connection_id":144208,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 18:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":144208,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:44:05] local.INFO: TCP Data received {"connection_id":144208,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144208,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:44:05] local.INFO: Processing buffer {"connection_id":144208,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:44:05] local.INFO: IMEI packet received {"connection_id":144208,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 18:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":144208,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:44:06] local.INFO: TCP Data received {"connection_id":144208,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3b24488012d1967c0071fee200046011624..."} 
[2026-07-27 18:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3b24488012d1967c0071fee200046011624..."} 
[2026-07-27 18:44:06] local.INFO: Processing buffer {"connection_id":144208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3b24488012d1967c0071fee200046011624..."} 
[2026-07-27 18:44:06] local.INFO: Packet analysis {"connection_id":144208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3b2"} 
[2026-07-27 18:44:06] local.INFO: Extracted packet for processing {"connection_id":144208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3b2"} 
[2026-07-27 18:44:06] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":36,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 18:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:44:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000390656001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:44:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 18:44:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 18:44:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:44:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785157797000,"timestamp_ms":1785157797000,"timestamp_seconds":1785157797,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3b24488"} 
[2026-07-27 18:44:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:44:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 18:44:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:44:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:44:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:44:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:44:06] local.INFO: Teltonika packet parsed successfully {"connection_id":144208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:44:06] local.INFO: Passing IMEI to GPS processor {"connection_id":144208,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:44:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":144208,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:44:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:44:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:44:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:44:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000390656001,"66":12406,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:44:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:44:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:44:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000390656001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:44:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:44:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:44:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:44:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 18:44:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000390656001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 18:44:06] local.INFO: DEBUG: GPS processor result {"connection_id":144208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554831,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:44:06] local.INFO: GPS data processed {"connection_id":144208,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:44:06] local.INFO: Acknowledgment sent {"connection_id":144208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:44:07] local.INFO: TCP Data received {"connection_id":143085,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143085,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:44:07] local.INFO: Processing buffer {"connection_id":143085,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:44:07] local.INFO: IMEI packet received {"connection_id":143085,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 18:44:07] local.INFO: IMEI acknowledgment sent {"connection_id":143085,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:44:11] local.INFO: TCP Data received {"connection_id":144208,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3b29690012d1967c0071fee200046011623..."} 
[2026-07-27 18:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3b29690012d1967c0071fee200046011623..."} 
[2026-07-27 18:44:11] local.INFO: Processing buffer {"connection_id":144208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3b29690012d1967c0071fee200046011623..."} 
[2026-07-27 18:44:11] local.INFO: Packet analysis {"connection_id":144208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3b2"} 
[2026-07-27 18:44:11] local.INFO: Extracted packet for processing {"connection_id":144208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3b2"} 
[2026-07-27 18:44:11] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":35,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 18:44:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:44:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000396032001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:44:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 18:44:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 18:44:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:44:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785157818000,"timestamp_ms":1785157818000,"timestamp_seconds":1785157818,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3b29690"} 
[2026-07-27 18:44:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:44:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:44:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 18:44:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:44:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:44:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:44:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:44:11] local.INFO: Teltonika packet parsed successfully {"connection_id":144208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:44:11] local.INFO: Passing IMEI to GPS processor {"connection_id":144208,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:44:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":144208,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:44:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:44:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:44:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:44:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000396032001,"66":12374,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:44:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:44:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:44:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000396032001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:44:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:44:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:44:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:44:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 18:44:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000396032001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 18:44:11] local.INFO: DEBUG: GPS processor result {"connection_id":144208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554832,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:44:11] local.INFO: GPS data processed {"connection_id":144208,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:44:11] local.INFO: Acknowledgment sent {"connection_id":144208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:44:13] local.INFO: TCP Data received {"connection_id":143085,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143085,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:44:13] local.INFO: Processing buffer {"connection_id":143085,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:44:13] local.INFO: IMEI packet received {"connection_id":143085,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 18:44:13] local.INFO: IMEI acknowledgment sent {"connection_id":143085,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:44:14] local.INFO: TCP Data received {"connection_id":143085,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3b55d80012d7e380005d34d50000000312b..."} 
[2026-07-27 18:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3b55d80012d7e380005d34d50000000312b..."} 
[2026-07-27 18:44:14] local.INFO: Processing buffer {"connection_id":143085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3b55d80012d7e380005d34d50000000312b..."} 
[2026-07-27 18:44:14] local.INFO: Packet analysis {"connection_id":143085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3b5"} 
[2026-07-27 18:44:14] local.INFO: Extracted packet for processing {"connection_id":143085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3b5"} 
[2026-07-27 18:44:14] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733968,"longitude_deg":76.3246592,"latitude_deg":9.7733968,"altitude":0,"angle":49,"satellites":43,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-07-27 18:44:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:44:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000448000001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:44:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111785234072076288,"note":"Value kept but may cause issues"} 
[2026-07-27 18:44:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494612480,"note":"Value kept but may cause issues"} 
[2026-07-27 18:44:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:44:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785158000000,"timestamp_ms":1785158000000,"timestamp_seconds":1785158000,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3b55d80"} 
[2026-07-27 18:44:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:44:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 18: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-27 18:44: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-07-27 18: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-07-27 18:44:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:44:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:44:14] local.INFO: Teltonika packet parsed successfully {"connection_id":143085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:44:14] local.INFO: Passing IMEI to GPS processor {"connection_id":143085,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:44:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":143085,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:44:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:44:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 18:44:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 18:44:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000448000001,"66":12526,"109":206,"85":15104,"24":0,"16":111785234072076288,"45":9095019472494612480},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-27 18:44:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 18:44:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 18:44:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000448000001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:44:14] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-27 18:44:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 18:44:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111785234072076288,"km_value":111785234072076.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:44:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494612480,"description":"Unknown IO ID 45"} 
[2026-07-27 18:44:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000448000001,"power":12526,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494612480}} 
[2026-07-27 18:44:14] local.INFO: DEBUG: GPS processor result {"connection_id":143085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554833,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:44:14] local.INFO: GPS data processed {"connection_id":143085,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:44:14] local.INFO: Acknowledgment sent {"connection_id":143085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:44:14] local.INFO: TCP Data received {"connection_id":143084,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3b17968012da8530005dfd2380021013a28..."} 
[2026-07-27 18:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3b17968012da8530005dfd2380021013a28..."} 
[2026-07-27 18:44:14] local.INFO: Processing buffer {"connection_id":143084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3b17968012da8530005dfd2380021013a28..."} 
[2026-07-27 18:44:14] local.INFO: Packet analysis {"connection_id":143084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3b1"} 
[2026-07-27 18:44:14] local.INFO: Extracted packet for processing {"connection_id":143084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3b1"} 
[2026-07-27 18:44:14] local.INFO: GPS Element Parsed {"raw_longitude":766006016,"raw_latitude":98554424,"longitude_deg":76.6006016,"latitude_deg":9.8554424,"altitude":33,"angle":314,"satellites":40,"speed":0,"hex_longitude":"2da85300","hex_latitude":"05dfd238","is_valid_coordinates":true} 
[2026-07-27 18: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-07-27 18:44:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000305664001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:44:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359256443599192064,"note":"Value kept but may cause issues"} 
[2026-07-27 18:44:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6317705827040741376,"note":"Value kept but may cause issues"} 
[2026-07-27 18:44:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:44:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785157745000,"timestamp_ms":1785157745000,"timestamp_seconds":1785157745,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3b17968"} 
[2026-07-27 18:44:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:44:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 18: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":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-27 18:44:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2490,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18: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-07-27 18:44:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:44:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:44:14] local.INFO: Teltonika packet parsed successfully {"connection_id":143084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:44:14] local.INFO: Passing IMEI to GPS processor {"connection_id":143084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:44:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":143084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:44:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:44:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:44:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:44:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000305664001,"66":26115,"70":206,"88":19968,"24":0,"16":359256443599192064,"45":-6317705827040741376},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,88,24,16,45]} 
[2026-07-27 18:44:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:44:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:44:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000305664001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:44:14] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-27 18:44:14] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 18:44:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359256443599192064,"km_value":359256443599192.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:44:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6317705827040741376,"description":"Unknown IO ID 45"} 
[2026-07-27 18:44:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000305664001,"power":26115,"unknown_70":206,"unknown_88":19968,"ignition":0,"odometer":null,"unknown_45":-6317705827040741376}} 
[2026-07-27 18:44:14] local.INFO: DEBUG: GPS processor result {"connection_id":143084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:44:14] local.INFO: GPS data processed {"connection_id":143084,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:44:14] local.INFO: Acknowledgment sent {"connection_id":143084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:44:31] local.INFO: TCP Data received {"connection_id":143222,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:44:31] local.INFO: Processing buffer {"connection_id":143222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:44:31] local.INFO: IMEI packet received {"connection_id":143222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 18:44:31] local.INFO: IMEI acknowledgment sent {"connection_id":143222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:44:36] local.INFO: TCP Data received {"connection_id":143222,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:44:36] local.INFO: Processing buffer {"connection_id":143222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:44:36] local.INFO: IMEI packet received {"connection_id":143222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 18:44:36] local.INFO: IMEI acknowledgment sent {"connection_id":143222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:44:37] local.INFO: TCP Data received {"connection_id":143222,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3b17968012da8530005dfd2380021013a28..."} 
[2026-07-27 18:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143222,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3b17968012da8530005dfd2380021013a28..."} 
[2026-07-27 18:44:37] local.INFO: Processing buffer {"connection_id":143222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3b17968012da8530005dfd2380021013a28..."} 
[2026-07-27 18:44:37] local.INFO: Packet analysis {"connection_id":143222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3b1"} 
[2026-07-27 18:44:37] local.INFO: Extracted packet for processing {"connection_id":143222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3b1"} 
[2026-07-27 18:44:37] local.INFO: GPS Element Parsed {"raw_longitude":766006016,"raw_latitude":98554424,"longitude_deg":76.6006016,"latitude_deg":9.8554424,"altitude":33,"angle":314,"satellites":40,"speed":0,"hex_longitude":"2da85300","hex_latitude":"05dfd238","is_valid_coordinates":true} 
[2026-07-27 18:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:44:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000305664001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:44:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359256443599192064,"note":"Value kept but may cause issues"} 
[2026-07-27 18:44:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6317705827040741376,"note":"Value kept but may cause issues"} 
[2026-07-27 18:44:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:44:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785157745000,"timestamp_ms":1785157745000,"timestamp_seconds":1785157745,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3b17968"} 
[2026-07-27 18:44:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:44:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 18:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-27 18:44:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2490,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:44:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:44:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:44:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:44:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:44:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:44:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:44:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:44:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:44:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:44:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000305664001,"66":26115,"70":206,"88":19968,"24":0,"16":359256443599192064,"45":-6317705827040741376},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,88,24,16,45]} 
[2026-07-27 18:44:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:44:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:44:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000305664001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:44:37] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-27 18:44:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 18:44:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359256443599192064,"km_value":359256443599192.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:44:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6317705827040741376,"description":"Unknown IO ID 45"} 
[2026-07-27 18:44:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000305664001,"power":26115,"unknown_70":206,"unknown_88":19968,"ignition":0,"odometer":null,"unknown_45":-6317705827040741376}} 
[2026-07-27 18:44:37] local.INFO: DEBUG: GPS processor result {"connection_id":143222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:44:37] local.INFO: GPS data processed {"connection_id":143222,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:44:37] local.INFO: Acknowledgment sent {"connection_id":143222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:44:43] local.INFO: TCP Data received {"connection_id":144208,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3b2e898012d1967c0071fee200046011622..."} 
[2026-07-27 18:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3b2e898012d1967c0071fee200046011622..."} 
[2026-07-27 18:44:43] local.INFO: Processing buffer {"connection_id":144208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3b2e898012d1967c0071fee200046011622..."} 
[2026-07-27 18:44:43] local.INFO: Packet analysis {"connection_id":144208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3b2"} 
[2026-07-27 18:44:43] local.INFO: Extracted packet for processing {"connection_id":144208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3b2"} 
[2026-07-27 18:44:43] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":34,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 18:44:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:44:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000401408001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:44:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 18:44:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 18:44:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:44:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785157839000,"timestamp_ms":1785157839000,"timestamp_seconds":1785157839,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3b2e898"} 
[2026-07-27 18:44:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:44:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:44:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-27 18:44:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:44:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:44:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:44:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:44:43] local.INFO: Teltonika packet parsed successfully {"connection_id":144208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:44:43] local.INFO: Passing IMEI to GPS processor {"connection_id":144208,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:44:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":144208,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:44:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:44:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:44:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:44:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000401408001,"66":12406,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:44:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:44:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:44:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000401408001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:44:43] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:44:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:44:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:44:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 18:44:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000401408001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 18:44:43] local.INFO: DEBUG: GPS processor result {"connection_id":144208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554836,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:44:43] local.INFO: GPS data processed {"connection_id":144208,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:44:43] local.INFO: Acknowledgment sent {"connection_id":144208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:44:45] local.INFO: TCP Data received {"connection_id":143085,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3b578d8012d7e380005d34d500000003129..."} 
[2026-07-27 18:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3b578d8012d7e380005d34d500000003129..."} 
[2026-07-27 18:44:45] local.INFO: Processing buffer {"connection_id":143085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3b578d8012d7e380005d34d500000003129..."} 
[2026-07-27 18:44:45] local.INFO: Packet analysis {"connection_id":143085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3b5"} 
[2026-07-27 18:44:45] local.INFO: Extracted packet for processing {"connection_id":143085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3b5"} 
[2026-07-27 18:44:45] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733968,"longitude_deg":76.3246592,"latitude_deg":9.7733968,"altitude":0,"angle":49,"satellites":41,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-07-27 18: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-07-27 18:44:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000448000001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:44:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111785234072076288,"note":"Value kept but may cause issues"} 
[2026-07-27 18:44:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494612480,"note":"Value kept but may cause issues"} 
[2026-07-27 18:44:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:44:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785158007000,"timestamp_ms":1785158007000,"timestamp_seconds":1785158007,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3b578d8"} 
[2026-07-27 18:44:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:44:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 18: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-27 18:44:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18: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-07-27 18:44:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:44:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:44:45] local.INFO: Teltonika packet parsed successfully {"connection_id":143085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:44:45] local.INFO: Passing IMEI to GPS processor {"connection_id":143085,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:44:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":143085,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:44:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:44:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 18:44:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 18:44:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000448000001,"66":3014,"109":206,"85":15104,"24":0,"16":111785234072076288,"45":9095019472494612480},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-27 18:44:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 18:44:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 18:44:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000448000001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:44:45] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-27 18:44:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 18:44:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111785234072076288,"km_value":111785234072076.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:44:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494612480,"description":"Unknown IO ID 45"} 
[2026-07-27 18:44:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000448000001,"power":3014,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494612480}} 
[2026-07-27 18:44:45] local.INFO: DEBUG: GPS processor result {"connection_id":143085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554837,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:44:45] local.INFO: GPS data processed {"connection_id":143085,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:44:45] local.INFO: Acknowledgment sent {"connection_id":143085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:44:59] local.INFO: TCP Data received {"connection_id":143086,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143086,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:44:59] local.INFO: Processing buffer {"connection_id":143086,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:44:59] local.INFO: IMEI packet received {"connection_id":143086,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 18:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":143086,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:45:04] local.INFO: TCP Data received {"connection_id":143086,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143086,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:45:04] local.INFO: Processing buffer {"connection_id":143086,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:45:04] local.INFO: IMEI packet received {"connection_id":143086,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 18:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":143086,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:45:06] local.INFO: TCP Data received {"connection_id":143086,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3b33aa0012d1967c0071fee200046011623..."} 
[2026-07-27 18:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143086,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3b33aa0012d1967c0071fee200046011623..."} 
[2026-07-27 18:45:06] local.INFO: Processing buffer {"connection_id":143086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3b33aa0012d1967c0071fee200046011623..."} 
[2026-07-27 18:45:06] local.INFO: Packet analysis {"connection_id":143086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3b3"} 
[2026-07-27 18:45:06] local.INFO: Extracted packet for processing {"connection_id":143086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3b3"} 
[2026-07-27 18:45:06] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":35,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 18:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:45:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000406784001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:45:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 18:45:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 18:45:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:45:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785157860000,"timestamp_ms":1785157860000,"timestamp_seconds":1785157860,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3b33aa0"} 
[2026-07-27 18:45:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:45:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 18:45:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:45:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:45:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:45:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:45:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:45:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143086,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:45:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143086,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:45:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:45:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:45:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:45:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000406784001,"66":11471,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:45:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:45:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:45:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000406784001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:45:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:45:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:45:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:45:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 18:45:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000406784001,"power":11471,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 18:45:06] local.INFO: DEBUG: GPS processor result {"connection_id":143086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554838,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:45:06] local.INFO: GPS data processed {"connection_id":143086,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:45:06] local.INFO: Acknowledgment sent {"connection_id":143086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:45:08] local.INFO: TCP Data received {"connection_id":143222,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3b61130012da8530005dfd2380021013a27..."} 
[2026-07-27 18:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143222,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3b61130012da8530005dfd2380021013a27..."} 
[2026-07-27 18:45:08] local.INFO: Processing buffer {"connection_id":143222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3b61130012da8530005dfd2380021013a27..."} 
[2026-07-27 18:45:08] local.INFO: Packet analysis {"connection_id":143222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3b6"} 
[2026-07-27 18:45:08] local.INFO: Extracted packet for processing {"connection_id":143222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3b6"} 
[2026-07-27 18:45:08] local.INFO: GPS Element Parsed {"raw_longitude":766006016,"raw_latitude":98554424,"longitude_deg":76.6006016,"latitude_deg":9.8554424,"altitude":33,"angle":314,"satellites":39,"speed":0,"hex_longitude":"2da85300","hex_latitude":"05dfd238","is_valid_coordinates":true} 
[2026-07-27 18:45:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:45:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000382720001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:45:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359256443599192064,"note":"Value kept but may cause issues"} 
[2026-07-27 18:45:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6317705827040741376,"note":"Value kept but may cause issues"} 
[2026-07-27 18:45:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:45:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785158046000,"timestamp_ms":1785158046000,"timestamp_seconds":1785158046,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3b61130"} 
[2026-07-27 18:45:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:45:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 18:45:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-27 18:45:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:45:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:45:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:45:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:45:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:45:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:45:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:45:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:45:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:45:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:45:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000382720001,"66":25995,"70":206,"88":19968,"24":0,"16":359256443599192064,"45":-6317705827040741376},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,88,24,16,45]} 
[2026-07-27 18:45:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:45:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:45:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000382720001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:45:08] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-27 18:45:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 18:45:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359256443599192064,"km_value":359256443599192.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:45:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6317705827040741376,"description":"Unknown IO ID 45"} 
[2026-07-27 18:45:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000382720001,"power":25995,"unknown_70":206,"unknown_88":19968,"ignition":0,"odometer":null,"unknown_45":-6317705827040741376}} 
[2026-07-27 18:45:08] local.INFO: DEBUG: GPS processor result {"connection_id":143222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:45:08] local.INFO: GPS data processed {"connection_id":143222,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:45:08] local.INFO: Acknowledgment sent {"connection_id":143222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:45:13] local.INFO: TCP Data received {"connection_id":143223,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143223,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:45:13] local.INFO: Processing buffer {"connection_id":143223,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:45:13] local.INFO: IMEI packet received {"connection_id":143223,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 18:45:13] local.INFO: IMEI acknowledgment sent {"connection_id":143223,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:45:17] local.INFO: TCP Data received {"connection_id":143223,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143223,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:45:17] local.INFO: Processing buffer {"connection_id":143223,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:45:17] local.INFO: IMEI packet received {"connection_id":143223,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 18:45:17] local.INFO: IMEI acknowledgment sent {"connection_id":143223,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:45:18] local.INFO: TCP Data received {"connection_id":143223,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3b578d8012d7e380005d34d500000003129..."} 
[2026-07-27 18:45:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3b578d8012d7e380005d34d500000003129..."} 
[2026-07-27 18:45:18] local.INFO: Processing buffer {"connection_id":143223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3b578d8012d7e380005d34d500000003129..."} 
[2026-07-27 18:45:18] local.INFO: Packet analysis {"connection_id":143223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3b5"} 
[2026-07-27 18:45:18] local.INFO: Extracted packet for processing {"connection_id":143223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3b5"} 
[2026-07-27 18:45:18] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733968,"longitude_deg":76.3246592,"latitude_deg":9.7733968,"altitude":0,"angle":49,"satellites":41,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-07-27 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-07-27 18:45:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000448000001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:45:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111785234072076288,"note":"Value kept but may cause issues"} 
[2026-07-27 18:45:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494612480,"note":"Value kept but may cause issues"} 
[2026-07-27 18:45:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:45:18] local.INFO: AVL Record Parsed {"raw_timestamp":1785158007000,"timestamp_ms":1785158007000,"timestamp_seconds":1785158007,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3b578d8"} 
[2026-07-27 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-07-27 18:45:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-27 18:45: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-07-27 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-07-27 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-07-27 18:45:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:45:18] local.INFO: Teltonika packet parsed successfully {"connection_id":143223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:45:18] local.INFO: Passing IMEI to GPS processor {"connection_id":143223,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:45:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":143223,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:45:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:45:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 18:45:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 18:45:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000448000001,"66":3014,"109":206,"85":15104,"24":0,"16":111785234072076288,"45":9095019472494612480},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-27 18:45:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 18:45:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 18:45:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000448000001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:45:18] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-27 18:45:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 18:45:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111785234072076288,"km_value":111785234072076.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:45:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494612480,"description":"Unknown IO ID 45"} 
[2026-07-27 18:45:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000448000001,"power":3014,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494612480}} 
[2026-07-27 18:45:18] local.INFO: DEBUG: GPS processor result {"connection_id":143223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554840,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:45:18] local.INFO: GPS data processed {"connection_id":143223,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:45:18] local.INFO: Acknowledgment sent {"connection_id":143223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:45:23] local.INFO: TCP Data received {"connection_id":143223,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3b578d8012d7e380005d34d500000003129..."} 
[2026-07-27 18:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3b578d8012d7e380005d34d500000003129..."} 
[2026-07-27 18:45:23] local.INFO: Processing buffer {"connection_id":143223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3b578d8012d7e380005d34d500000003129..."} 
[2026-07-27 18:45:23] local.INFO: Packet analysis {"connection_id":143223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3b5"} 
[2026-07-27 18:45:23] local.INFO: Extracted packet for processing {"connection_id":143223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3b5"} 
[2026-07-27 18:45:23] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733968,"longitude_deg":76.3246592,"latitude_deg":9.7733968,"altitude":0,"angle":49,"satellites":41,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-07-27 18:45:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:45:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000448000001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:45:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111785234072076288,"note":"Value kept but may cause issues"} 
[2026-07-27 18:45:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494612480,"note":"Value kept but may cause issues"} 
[2026-07-27 18:45:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:45:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785158007000,"timestamp_ms":1785158007000,"timestamp_seconds":1785158007,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3b578d8"} 
[2026-07-27 18:45:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:45:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 18:45:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-27 18:45: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-07-27 18:45:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:45:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:45:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:45:23] local.INFO: Teltonika packet parsed successfully {"connection_id":143223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:45:23] local.INFO: Passing IMEI to GPS processor {"connection_id":143223,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:45:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":143223,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:45:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:45:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 18:45:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 18:45:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000448000001,"66":3014,"109":206,"85":15104,"24":0,"16":111785234072076288,"45":9095019472494612480},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-27 18:45:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 18:45:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 18:45:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000448000001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:45:23] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-27 18:45:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 18:45:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111785234072076288,"km_value":111785234072076.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:45:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494612480,"description":"Unknown IO ID 45"} 
[2026-07-27 18:45:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000448000001,"power":3014,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494612480}} 
[2026-07-27 18:45:23] local.INFO: DEBUG: GPS processor result {"connection_id":143223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554841,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:45:23] local.INFO: GPS data processed {"connection_id":143223,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:45:23] local.INFO: Acknowledgment sent {"connection_id":143223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:45:31] local.INFO: TCP Data received {"connection_id":143224,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:45:31] local.INFO: Processing buffer {"connection_id":143224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:45:31] local.INFO: IMEI packet received {"connection_id":143224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 18:45:31] local.INFO: IMEI acknowledgment sent {"connection_id":143224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:45:36] local.INFO: TCP Data received {"connection_id":143224,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:45:36] local.INFO: Processing buffer {"connection_id":143224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:45:36] local.INFO: IMEI packet received {"connection_id":143224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 18:45:36] local.INFO: IMEI acknowledgment sent {"connection_id":143224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:45:37] local.INFO: TCP Data received {"connection_id":143224,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3b61130012da8530005dfd2380021013a27..."} 
[2026-07-27 18:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143224,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3b61130012da8530005dfd2380021013a27..."} 
[2026-07-27 18:45:37] local.INFO: Processing buffer {"connection_id":143224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3b61130012da8530005dfd2380021013a27..."} 
[2026-07-27 18:45:37] local.INFO: Packet analysis {"connection_id":143224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3b6"} 
[2026-07-27 18:45:37] local.INFO: Extracted packet for processing {"connection_id":143224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3b6"} 
[2026-07-27 18:45:37] local.INFO: GPS Element Parsed {"raw_longitude":766006016,"raw_latitude":98554424,"longitude_deg":76.6006016,"latitude_deg":9.8554424,"altitude":33,"angle":314,"satellites":39,"speed":0,"hex_longitude":"2da85300","hex_latitude":"05dfd238","is_valid_coordinates":true} 
[2026-07-27 18:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000382720001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359256443599192064,"note":"Value kept but may cause issues"} 
[2026-07-27 18:45:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6317705827040741376,"note":"Value kept but may cause issues"} 
[2026-07-27 18:45:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785158046000,"timestamp_ms":1785158046000,"timestamp_seconds":1785158046,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3b61130"} 
[2026-07-27 18:45:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:45:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 18:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-27 18:45:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:45:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:45:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:45:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000382720001,"66":25995,"70":206,"88":19968,"24":0,"16":359256443599192064,"45":-6317705827040741376},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,88,24,16,45]} 
[2026-07-27 18:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000382720001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:45:37] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-27 18:45:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 18:45:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359256443599192064,"km_value":359256443599192.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:45:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6317705827040741376,"description":"Unknown IO ID 45"} 
[2026-07-27 18:45:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000382720001,"power":25995,"unknown_70":206,"unknown_88":19968,"ignition":0,"odometer":null,"unknown_45":-6317705827040741376}} 
[2026-07-27 18:45:37] local.INFO: DEBUG: GPS processor result {"connection_id":143224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:45:37] local.INFO: GPS data processed {"connection_id":143224,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:45:37] local.INFO: Acknowledgment sent {"connection_id":143224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:45:37] local.INFO: TCP Data received {"connection_id":143086,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3b38ca8012d1967c0071fee200046011624..."} 
[2026-07-27 18:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143086,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3b38ca8012d1967c0071fee200046011624..."} 
[2026-07-27 18:45:37] local.INFO: Processing buffer {"connection_id":143086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3b38ca8012d1967c0071fee200046011624..."} 
[2026-07-27 18:45:37] local.INFO: Packet analysis {"connection_id":143086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3b3"} 
[2026-07-27 18:45:37] local.INFO: Extracted packet for processing {"connection_id":143086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3b3"} 
[2026-07-27 18:45:37] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":36,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 18:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000412160001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 18:45:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 18:45:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785157881000,"timestamp_ms":1785157881000,"timestamp_seconds":1785157881,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3b38ca8"} 
[2026-07-27 18:45:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:45:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-27 18:45:37] 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-07-27 18:45:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:45:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143086,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143086,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:45:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000412160001,"66":11874,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000412160001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:45:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:45:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:45:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:45:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 18:45:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000412160001,"power":11874,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 18:45:37] local.INFO: DEBUG: GPS processor result {"connection_id":143086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554843,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:45:37] local.INFO: GPS data processed {"connection_id":143086,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:45:37] local.INFO: Acknowledgment sent {"connection_id":143086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:45:59] local.INFO: TCP Data received {"connection_id":144209,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144209,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:45:59] local.INFO: Processing buffer {"connection_id":144209,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:45:59] local.INFO: IMEI packet received {"connection_id":144209,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 18:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":144209,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:46:04] local.INFO: TCP Data received {"connection_id":144209,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144209,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:46:04] local.INFO: Processing buffer {"connection_id":144209,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:46:04] local.INFO: IMEI packet received {"connection_id":144209,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 18:46:04] local.INFO: IMEI acknowledgment sent {"connection_id":144209,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:46:06] local.INFO: TCP Data received {"connection_id":144209,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3b3deb0012d1967c0071fee200046011620..."} 
[2026-07-27 18:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3b3deb0012d1967c0071fee200046011620..."} 
[2026-07-27 18:46:06] local.INFO: Processing buffer {"connection_id":144209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3b3deb0012d1967c0071fee200046011620..."} 
[2026-07-27 18:46:06] local.INFO: Packet analysis {"connection_id":144209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3b3"} 
[2026-07-27 18:46:06] local.INFO: Extracted packet for processing {"connection_id":144209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3b3"} 
[2026-07-27 18:46:06] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":32,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 18:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:46:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000417536001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:46:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 18:46:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 18:46:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:46:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785157902000,"timestamp_ms":1785157902000,"timestamp_seconds":1785157902,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3b3deb0"} 
[2026-07-27 18:46:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:46:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-27 18:46:06] 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-07-27 18:46:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:46:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:46:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:46:06] local.INFO: Teltonika packet parsed successfully {"connection_id":144209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:46:06] local.INFO: Passing IMEI to GPS processor {"connection_id":144209,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:46:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":144209,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:46:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:46:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:46:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:46:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000417536001,"66":12406,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:46:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:46:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:46:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000417536001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:46:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:46:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:46:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:46:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 18:46:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000417536001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 18:46:06] local.INFO: DEBUG: GPS processor result {"connection_id":144209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554844,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:46:06] local.INFO: GPS data processed {"connection_id":144209,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:46:06] local.INFO: Acknowledgment sent {"connection_id":144209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:46:08] local.INFO: TCP Data received {"connection_id":145489,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145489,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:46:08] local.INFO: Processing buffer {"connection_id":145489,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:46:08] local.INFO: IMEI packet received {"connection_id":145489,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 18:46:08] local.INFO: IMEI acknowledgment sent {"connection_id":145489,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:46:08] local.INFO: TCP Data received {"connection_id":143224,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3b61130012da8530005dfd2380021013a27..."} 
[2026-07-27 18:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143224,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3b61130012da8530005dfd2380021013a27..."} 
[2026-07-27 18:46:08] local.INFO: Processing buffer {"connection_id":143224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3b61130012da8530005dfd2380021013a27..."} 
[2026-07-27 18:46:08] local.INFO: Packet analysis {"connection_id":143224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3b6"} 
[2026-07-27 18:46:08] local.INFO: Extracted packet for processing {"connection_id":143224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3b6"} 
[2026-07-27 18:46:08] local.INFO: GPS Element Parsed {"raw_longitude":766006016,"raw_latitude":98554424,"longitude_deg":76.6006016,"latitude_deg":9.8554424,"altitude":33,"angle":314,"satellites":39,"speed":0,"hex_longitude":"2da85300","hex_latitude":"05dfd238","is_valid_coordinates":true} 
[2026-07-27 18:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:46:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000382720001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:46:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359256443599192064,"note":"Value kept but may cause issues"} 
[2026-07-27 18:46:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6317705827040741376,"note":"Value kept but may cause issues"} 
[2026-07-27 18:46:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:46:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785158046000,"timestamp_ms":1785158046000,"timestamp_seconds":1785158046,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3b61130"} 
[2026-07-27 18:46:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:46:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 18:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-27 18:46:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:46:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:46:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:46:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:46:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:46:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:46:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:46:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:46:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:46:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:46:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000382720001,"66":25995,"70":206,"88":19968,"24":0,"16":359256443599192064,"45":-6317705827040741376},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,88,24,16,45]} 
[2026-07-27 18:46:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:46:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:46:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000382720001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:46:08] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-27 18:46:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 18:46:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359256443599192064,"km_value":359256443599192.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:46:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6317705827040741376,"description":"Unknown IO ID 45"} 
[2026-07-27 18:46:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000382720001,"power":25995,"unknown_70":206,"unknown_88":19968,"ignition":0,"odometer":null,"unknown_45":-6317705827040741376}} 
[2026-07-27 18:46:08] local.INFO: DEBUG: GPS processor result {"connection_id":143224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:46:08] local.INFO: GPS data processed {"connection_id":143224,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:46:08] local.INFO: Acknowledgment sent {"connection_id":143224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:46:14] local.INFO: TCP Data received {"connection_id":145489,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145489,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:46:14] local.INFO: Processing buffer {"connection_id":145489,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:46:14] local.INFO: IMEI packet received {"connection_id":145489,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 18:46:14] local.INFO: IMEI acknowledgment sent {"connection_id":145489,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:46:14] local.INFO: TCP Data received {"connection_id":145489,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3b578d8012d7e380005d34d500000003129..."} 
[2026-07-27 18:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3b578d8012d7e380005d34d500000003129..."} 
[2026-07-27 18:46:14] local.INFO: Processing buffer {"connection_id":145489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3b578d8012d7e380005d34d500000003129..."} 
[2026-07-27 18:46:14] local.INFO: Packet analysis {"connection_id":145489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3b5"} 
[2026-07-27 18:46:14] local.INFO: Extracted packet for processing {"connection_id":145489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3b5"} 
[2026-07-27 18:46:14] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733968,"longitude_deg":76.3246592,"latitude_deg":9.7733968,"altitude":0,"angle":49,"satellites":41,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-07-27 18:46:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:46:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000448000001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:46:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111785234072076288,"note":"Value kept but may cause issues"} 
[2026-07-27 18:46:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494612480,"note":"Value kept but may cause issues"} 
[2026-07-27 18:46:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:46:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785158007000,"timestamp_ms":1785158007000,"timestamp_seconds":1785158007,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3b578d8"} 
[2026-07-27 18:46:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:46:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 18:46:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-27 18:46:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:46:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:46:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:46:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:46:14] local.INFO: Teltonika packet parsed successfully {"connection_id":145489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:46:14] local.INFO: Passing IMEI to GPS processor {"connection_id":145489,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:46:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":145489,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:46:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:46:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 18:46:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 18:46:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000448000001,"66":3014,"109":206,"85":15104,"24":0,"16":111785234072076288,"45":9095019472494612480},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-27 18:46:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 18:46:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 18:46:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000448000001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:46:14] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-27 18:46:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 18:46:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111785234072076288,"km_value":111785234072076.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:46:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494612480,"description":"Unknown IO ID 45"} 
[2026-07-27 18:46:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000448000001,"power":3014,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494612480}} 
[2026-07-27 18:46:14] local.INFO: DEBUG: GPS processor result {"connection_id":145489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554846,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:46:14] local.INFO: GPS data processed {"connection_id":145489,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:46:14] local.INFO: Acknowledgment sent {"connection_id":145489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:46:31] local.INFO: TCP Data received {"connection_id":144210,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:46:31] local.INFO: Processing buffer {"connection_id":144210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:46:31] local.INFO: IMEI packet received {"connection_id":144210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 18:46:31] local.INFO: IMEI acknowledgment sent {"connection_id":144210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:46:36] local.INFO: TCP Data received {"connection_id":144210,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:46:36] local.INFO: Processing buffer {"connection_id":144210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:46:36] local.INFO: IMEI packet received {"connection_id":144210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 18:46:36] local.INFO: IMEI acknowledgment sent {"connection_id":144210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:46:37] local.INFO: TCP Data received {"connection_id":144210,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3b61130012da8530005dfd2380021013a27..."} 
[2026-07-27 18:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3b61130012da8530005dfd2380021013a27..."} 
[2026-07-27 18:46:37] local.INFO: Processing buffer {"connection_id":144210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3b61130012da8530005dfd2380021013a27..."} 
[2026-07-27 18:46:37] local.INFO: Packet analysis {"connection_id":144210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3b6"} 
[2026-07-27 18:46:37] local.INFO: Extracted packet for processing {"connection_id":144210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3b6"} 
[2026-07-27 18:46:37] local.INFO: GPS Element Parsed {"raw_longitude":766006016,"raw_latitude":98554424,"longitude_deg":76.6006016,"latitude_deg":9.8554424,"altitude":33,"angle":314,"satellites":39,"speed":0,"hex_longitude":"2da85300","hex_latitude":"05dfd238","is_valid_coordinates":true} 
[2026-07-27 18:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:46:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000382720001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:46:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359256443599192064,"note":"Value kept but may cause issues"} 
[2026-07-27 18:46:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6317705827040741376,"note":"Value kept but may cause issues"} 
[2026-07-27 18:46:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:46:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785158046000,"timestamp_ms":1785158046000,"timestamp_seconds":1785158046,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3b61130"} 
[2026-07-27 18:46:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:46:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 18:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-27 18:46:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:46:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:46:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:46:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:46:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:46:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:46:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:46:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:46:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:46:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:46:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000382720001,"66":25995,"70":206,"88":19968,"24":0,"16":359256443599192064,"45":-6317705827040741376},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,88,24,16,45]} 
[2026-07-27 18:46:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:46:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:46:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000382720001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:46:37] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-27 18:46:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 18:46:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359256443599192064,"km_value":359256443599192.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:46:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6317705827040741376,"description":"Unknown IO ID 45"} 
[2026-07-27 18:46:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000382720001,"power":25995,"unknown_70":206,"unknown_88":19968,"ignition":0,"odometer":null,"unknown_45":-6317705827040741376}} 
[2026-07-27 18:46:37] local.INFO: DEBUG: GPS processor result {"connection_id":144210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:46:37] local.INFO: GPS data processed {"connection_id":144210,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:46:37] local.INFO: Acknowledgment sent {"connection_id":144210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:46:38] local.INFO: TCP Data received {"connection_id":144209,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3b430b8012d1967c0071fee200046011624..."} 
[2026-07-27 18:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3b430b8012d1967c0071fee200046011624..."} 
[2026-07-27 18:46:38] local.INFO: Processing buffer {"connection_id":144209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3b430b8012d1967c0071fee200046011624..."} 
[2026-07-27 18:46:38] local.INFO: Packet analysis {"connection_id":144209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3b4"} 
[2026-07-27 18:46:38] local.INFO: Extracted packet for processing {"connection_id":144209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3b4"} 
[2026-07-27 18:46:38] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":36,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 18:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:46:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000422912001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:46:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 18:46:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 18:46:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:46:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785157923000,"timestamp_ms":1785157923000,"timestamp_seconds":1785157923,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3b430b8"} 
[2026-07-27 18:46:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:46:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 18:46:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:46:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:46:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:46:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:46:38] local.INFO: Teltonika packet parsed successfully {"connection_id":144209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:46:38] local.INFO: Passing IMEI to GPS processor {"connection_id":144209,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:46:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":144209,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:46:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:46:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:46:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:46:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000422912001,"66":11971,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:46:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:46:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:46:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000422912001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:46:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:46:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:46:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:46:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 18:46:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000422912001,"power":11971,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 18:46:38] local.INFO: DEBUG: GPS processor result {"connection_id":144209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554848,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:46:38] local.INFO: GPS data processed {"connection_id":144209,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:46:38] local.INFO: Acknowledgment sent {"connection_id":144209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:46:45] local.INFO: TCP Data received {"connection_id":145489,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3b578d8012d7e380005d34d500000003129..."} 
[2026-07-27 18:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3b578d8012d7e380005d34d500000003129..."} 
[2026-07-27 18:46:45] local.INFO: Processing buffer {"connection_id":145489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3b578d8012d7e380005d34d500000003129..."} 
[2026-07-27 18:46:45] local.INFO: Packet analysis {"connection_id":145489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3b5"} 
[2026-07-27 18:46:45] local.INFO: Extracted packet for processing {"connection_id":145489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3b5"} 
[2026-07-27 18:46:45] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733968,"longitude_deg":76.3246592,"latitude_deg":9.7733968,"altitude":0,"angle":49,"satellites":41,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-07-27 18: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-07-27 18:46:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000448000001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:46:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111785234072076288,"note":"Value kept but may cause issues"} 
[2026-07-27 18:46:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494612480,"note":"Value kept but may cause issues"} 
[2026-07-27 18:46:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:46:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785158007000,"timestamp_ms":1785158007000,"timestamp_seconds":1785158007,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3b578d8"} 
[2026-07-27 18:46:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:46:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 18:46:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-27 18:46:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18: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-07-27 18:46:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:46:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:46:45] local.INFO: Teltonika packet parsed successfully {"connection_id":145489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:46:45] local.INFO: Passing IMEI to GPS processor {"connection_id":145489,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:46:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":145489,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:46:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:46:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 18:46:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 18:46:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000448000001,"66":3014,"109":206,"85":15104,"24":0,"16":111785234072076288,"45":9095019472494612480},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-27 18:46:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 18:46:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 18:46:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000448000001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:46:45] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-27 18:46:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 18:46:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111785234072076288,"km_value":111785234072076.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:46:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494612480,"description":"Unknown IO ID 45"} 
[2026-07-27 18:46:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000448000001,"power":3014,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494612480}} 
[2026-07-27 18:46:46] local.INFO: DEBUG: GPS processor result {"connection_id":145489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554849,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:46:46] local.INFO: GPS data processed {"connection_id":145489,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:46:46] local.INFO: Acknowledgment sent {"connection_id":145489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:47:04] local.INFO: TCP Data received {"connection_id":143225,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143225,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:47:04] local.INFO: Processing buffer {"connection_id":143225,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:47:04] local.INFO: IMEI packet received {"connection_id":143225,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 18:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":143225,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:47:08] local.INFO: TCP Data received {"connection_id":145490,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145490,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:47:08] local.INFO: Processing buffer {"connection_id":145490,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:47:08] local.INFO: IMEI packet received {"connection_id":145490,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 18:47:08] local.INFO: IMEI acknowledgment sent {"connection_id":145490,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:47:08] local.INFO: TCP Data received {"connection_id":144210,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3b61130012da8530005dfd2380021013a27..."} 
[2026-07-27 18:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3b61130012da8530005dfd2380021013a27..."} 
[2026-07-27 18:47:08] local.INFO: Processing buffer {"connection_id":144210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3b61130012da8530005dfd2380021013a27..."} 
[2026-07-27 18:47:08] local.INFO: Packet analysis {"connection_id":144210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3b6"} 
[2026-07-27 18:47:08] local.INFO: Extracted packet for processing {"connection_id":144210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3b6"} 
[2026-07-27 18:47:08] local.INFO: GPS Element Parsed {"raw_longitude":766006016,"raw_latitude":98554424,"longitude_deg":76.6006016,"latitude_deg":9.8554424,"altitude":33,"angle":314,"satellites":39,"speed":0,"hex_longitude":"2da85300","hex_latitude":"05dfd238","is_valid_coordinates":true} 
[2026-07-27 18:47:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:47:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000382720001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:47:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359256443599192064,"note":"Value kept but may cause issues"} 
[2026-07-27 18:47:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6317705827040741376,"note":"Value kept but may cause issues"} 
[2026-07-27 18:47:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:47:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785158046000,"timestamp_ms":1785158046000,"timestamp_seconds":1785158046,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3b61130"} 
[2026-07-27 18:47:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:47:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 18: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-27 18:47:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:47:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:47:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:47:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:47:08] local.INFO: Teltonika packet parsed successfully {"connection_id":144210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:47:08] local.INFO: Passing IMEI to GPS processor {"connection_id":144210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:47:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":144210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:47:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:47:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:47:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:47:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000382720001,"66":25995,"70":206,"88":19968,"24":0,"16":359256443599192064,"45":-6317705827040741376},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,88,24,16,45]} 
[2026-07-27 18:47:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:47:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:47:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000382720001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:47:08] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-27 18:47:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 18:47:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359256443599192064,"km_value":359256443599192.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:47:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6317705827040741376,"description":"Unknown IO ID 45"} 
[2026-07-27 18:47:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000382720001,"power":25995,"unknown_70":206,"unknown_88":19968,"ignition":0,"odometer":null,"unknown_45":-6317705827040741376}} 
[2026-07-27 18:47:08] local.INFO: DEBUG: GPS processor result {"connection_id":144210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:47:08] local.INFO: GPS data processed {"connection_id":144210,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:47:08] local.INFO: Acknowledgment sent {"connection_id":144210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:47:09] local.INFO: TCP Data received {"connection_id":143225,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143225,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:47:09] local.INFO: Processing buffer {"connection_id":143225,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:47:09] local.INFO: IMEI packet received {"connection_id":143225,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 18:47:09] local.INFO: IMEI acknowledgment sent {"connection_id":143225,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:47:11] local.INFO: TCP Data received {"connection_id":143225,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3b482c0012d1967c0071fee200046011622..."} 
[2026-07-27 18:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3b482c0012d1967c0071fee200046011622..."} 
[2026-07-27 18:47:11] local.INFO: Processing buffer {"connection_id":143225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3b482c0012d1967c0071fee200046011622..."} 
[2026-07-27 18:47:11] local.INFO: Packet analysis {"connection_id":143225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3b4"} 
[2026-07-27 18:47:11] local.INFO: Extracted packet for processing {"connection_id":143225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3b4"} 
[2026-07-27 18:47:11] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":34,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 18:47:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:47:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000428288001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:47:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 18:47:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 18:47:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:47:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785157944000,"timestamp_ms":1785157944000,"timestamp_seconds":1785157944,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3b482c0"} 
[2026-07-27 18:47:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:47:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18: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":46,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-27 18:47:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2183,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:47:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:47:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:47:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:47:11] local.INFO: Teltonika packet parsed successfully {"connection_id":143225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:47:11] local.INFO: Passing IMEI to GPS processor {"connection_id":143225,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:47:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":143225,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:47:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:47:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:47:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:47:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000428288001,"66":12385,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:47:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:47:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:47:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000428288001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:47:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:47:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:47:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:47:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 18:47:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000428288001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 18:47:11] local.INFO: DEBUG: GPS processor result {"connection_id":143225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554851,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:47:11] local.INFO: GPS data processed {"connection_id":143225,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:47:11] local.INFO: Acknowledgment sent {"connection_id":143225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:47:13] local.INFO: TCP Data received {"connection_id":145490,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145490,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:47:13] local.INFO: Processing buffer {"connection_id":145490,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:47:13] local.INFO: IMEI packet received {"connection_id":145490,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 18:47:13] local.INFO: IMEI acknowledgment sent {"connection_id":145490,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:47:13] local.INFO: TCP Data received {"connection_id":145490,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3b578d8012d7e380005d34d500000003129..."} 
[2026-07-27 18:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3b578d8012d7e380005d34d500000003129..."} 
[2026-07-27 18:47:13] local.INFO: Processing buffer {"connection_id":145490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3b578d8012d7e380005d34d500000003129..."} 
[2026-07-27 18:47:13] local.INFO: Packet analysis {"connection_id":145490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3b5"} 
[2026-07-27 18:47:13] local.INFO: Extracted packet for processing {"connection_id":145490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3b5"} 
[2026-07-27 18:47:13] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733968,"longitude_deg":76.3246592,"latitude_deg":9.7733968,"altitude":0,"angle":49,"satellites":41,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-07-27 18:47:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:47:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000448000001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:47:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111785234072076288,"note":"Value kept but may cause issues"} 
[2026-07-27 18:47:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494612480,"note":"Value kept but may cause issues"} 
[2026-07-27 18:47:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:47:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785158007000,"timestamp_ms":1785158007000,"timestamp_seconds":1785158007,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3b578d8"} 
[2026-07-27 18:47:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:47:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 18: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-27 18:47: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-07-27 18:47:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:47:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:47:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:47:13] local.INFO: Teltonika packet parsed successfully {"connection_id":145490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:47:13] local.INFO: Passing IMEI to GPS processor {"connection_id":145490,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:47:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":145490,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:47:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:47:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 18:47:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 18:47:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000448000001,"66":3014,"109":206,"85":15104,"24":0,"16":111785234072076288,"45":9095019472494612480},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-27 18:47:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 18:47:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 18:47:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000448000001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:47:13] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-27 18:47:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 18:47:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111785234072076288,"km_value":111785234072076.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:47:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494612480,"description":"Unknown IO ID 45"} 
[2026-07-27 18:47:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000448000001,"power":3014,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494612480}} 
[2026-07-27 18:47:13] local.INFO: DEBUG: GPS processor result {"connection_id":145490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554852,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:47:13] local.INFO: GPS data processed {"connection_id":145490,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:47:13] local.INFO: Acknowledgment sent {"connection_id":145490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:47:15] local.INFO: TCP Data received {"connection_id":143225,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3b4d4c8012d1967c0071fee200046011624..."} 
[2026-07-27 18:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3b4d4c8012d1967c0071fee200046011624..."} 
[2026-07-27 18:47:15] local.INFO: Processing buffer {"connection_id":143225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3b4d4c8012d1967c0071fee200046011624..."} 
[2026-07-27 18:47:15] local.INFO: Packet analysis {"connection_id":143225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3b4"} 
[2026-07-27 18:47:15] local.INFO: Extracted packet for processing {"connection_id":143225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3b4"} 
[2026-07-27 18:47:15] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":36,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 18:47:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:47:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000433664001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:47:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 18:47:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 18:47: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-07-27 18:47:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785157965000,"timestamp_ms":1785157965000,"timestamp_seconds":1785157965,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3b4d4c8"} 
[2026-07-27 18:47:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:47:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:47:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-27 18:47:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:47:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:47:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:47:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:47:15] local.INFO: Teltonika packet parsed successfully {"connection_id":143225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:47:15] local.INFO: Passing IMEI to GPS processor {"connection_id":143225,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:47:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":143225,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:47:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:47:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:47:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:47:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000433664001,"66":12406,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:47:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:47:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:47:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000433664001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:47:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:47:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:47:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:47:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 18:47:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000433664001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 18:47:15] local.INFO: DEBUG: GPS processor result {"connection_id":143225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554853,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:47:15] local.INFO: GPS data processed {"connection_id":143225,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:47:15] local.INFO: Acknowledgment sent {"connection_id":143225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:47:32] local.INFO: TCP Data received {"connection_id":144211,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:47:32] local.INFO: Processing buffer {"connection_id":144211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:47:32] local.INFO: IMEI packet received {"connection_id":144211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 18:47:32] local.INFO: IMEI acknowledgment sent {"connection_id":144211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:47:36] local.INFO: TCP Data received {"connection_id":144211,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:47:36] local.INFO: Processing buffer {"connection_id":144211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:47:36] local.INFO: IMEI packet received {"connection_id":144211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 18:47:36] local.INFO: IMEI acknowledgment sent {"connection_id":144211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:47:37] local.INFO: TCP Data received {"connection_id":144211,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3b61130012da8530005dfd2380021013a27..."} 
[2026-07-27 18:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144211,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3b61130012da8530005dfd2380021013a27..."} 
[2026-07-27 18:47:37] local.INFO: Processing buffer {"connection_id":144211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3b61130012da8530005dfd2380021013a27..."} 
[2026-07-27 18:47:37] local.INFO: Packet analysis {"connection_id":144211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3b6"} 
[2026-07-27 18:47:37] local.INFO: Extracted packet for processing {"connection_id":144211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3b6"} 
[2026-07-27 18:47:37] local.INFO: GPS Element Parsed {"raw_longitude":766006016,"raw_latitude":98554424,"longitude_deg":76.6006016,"latitude_deg":9.8554424,"altitude":33,"angle":314,"satellites":39,"speed":0,"hex_longitude":"2da85300","hex_latitude":"05dfd238","is_valid_coordinates":true} 
[2026-07-27 18:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:47:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000382720001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:47:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359256443599192064,"note":"Value kept but may cause issues"} 
[2026-07-27 18:47:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6317705827040741376,"note":"Value kept but may cause issues"} 
[2026-07-27 18:47:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:47:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785158046000,"timestamp_ms":1785158046000,"timestamp_seconds":1785158046,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3b61130"} 
[2026-07-27 18:47:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:47:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 18:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-27 18:47:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:47:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:47:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:47:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:47:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:47:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:47:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:47:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:47:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:47:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:47:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000382720001,"66":25995,"70":206,"88":19968,"24":0,"16":359256443599192064,"45":-6317705827040741376},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,88,24,16,45]} 
[2026-07-27 18:47:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:47:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:47:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000382720001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:47:37] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-27 18:47:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 18:47:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359256443599192064,"km_value":359256443599192.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:47:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6317705827040741376,"description":"Unknown IO ID 45"} 
[2026-07-27 18:47:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000382720001,"power":25995,"unknown_70":206,"unknown_88":19968,"ignition":0,"odometer":null,"unknown_45":-6317705827040741376}} 
[2026-07-27 18:47:37] local.INFO: DEBUG: GPS processor result {"connection_id":144211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:47:37] local.INFO: GPS data processed {"connection_id":144211,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:47:37] local.INFO: Acknowledgment sent {"connection_id":144211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:47:44] local.INFO: TCP Data received {"connection_id":145490,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3b578d8012d7e380005d34d500000003129..."} 
[2026-07-27 18:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3b578d8012d7e380005d34d500000003129..."} 
[2026-07-27 18:47:44] local.INFO: Processing buffer {"connection_id":145490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3b578d8012d7e380005d34d500000003129..."} 
[2026-07-27 18:47:44] local.INFO: Packet analysis {"connection_id":145490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3b5"} 
[2026-07-27 18:47:44] local.INFO: Extracted packet for processing {"connection_id":145490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3b5"} 
[2026-07-27 18:47:44] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733968,"longitude_deg":76.3246592,"latitude_deg":9.7733968,"altitude":0,"angle":49,"satellites":41,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-07-27 18: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-07-27 18:47:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000448000001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:47:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111785234072076288,"note":"Value kept but may cause issues"} 
[2026-07-27 18:47:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494612480,"note":"Value kept but may cause issues"} 
[2026-07-27 18:47:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:47:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785158007000,"timestamp_ms":1785158007000,"timestamp_seconds":1785158007,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3b578d8"} 
[2026-07-27 18:47:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:47:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 18: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-27 18:47:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18: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-07-27 18:47:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:47:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:47:44] local.INFO: Teltonika packet parsed successfully {"connection_id":145490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:47:44] local.INFO: Passing IMEI to GPS processor {"connection_id":145490,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:47:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":145490,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:47:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:47:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 18:47:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 18:47:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000448000001,"66":3014,"109":206,"85":15104,"24":0,"16":111785234072076288,"45":9095019472494612480},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-27 18:47:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 18:47:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 18:47:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000448000001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:47:44] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-27 18:47:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 18:47:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111785234072076288,"km_value":111785234072076.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:47:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494612480,"description":"Unknown IO ID 45"} 
[2026-07-27 18:47:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000448000001,"power":3014,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494612480}} 
[2026-07-27 18:47:44] local.INFO: DEBUG: GPS processor result {"connection_id":145490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554855,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:47:44] local.INFO: GPS data processed {"connection_id":145490,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:47:44] local.INFO: Acknowledgment sent {"connection_id":145490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:47:59] local.INFO: TCP Data received {"connection_id":144212,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144212,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:47:59] local.INFO: Processing buffer {"connection_id":144212,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:47:59] local.INFO: IMEI packet received {"connection_id":144212,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 18:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":144212,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:48:04] local.INFO: TCP Data received {"connection_id":144212,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144212,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:48:04] local.INFO: Processing buffer {"connection_id":144212,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:48:04] local.INFO: IMEI packet received {"connection_id":144212,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 18:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":144212,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:48:05] local.INFO: TCP Data received {"connection_id":144212,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3b85b20012d1967c0071fee200046011625..."} 
[2026-07-27 18:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3b85b20012d1967c0071fee200046011625..."} 
[2026-07-27 18:48:05] local.INFO: Processing buffer {"connection_id":144212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3b85b20012d1967c0071fee200046011625..."} 
[2026-07-27 18:48:05] local.INFO: Packet analysis {"connection_id":144212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3b8"} 
[2026-07-27 18:48:05] local.INFO: Extracted packet for processing {"connection_id":144212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3b8"} 
[2026-07-27 18:48:05] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":37,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 18:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:48:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000492800001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:48:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 18:48:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 18:48:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:48:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785158196000,"timestamp_ms":1785158196000,"timestamp_seconds":1785158196,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3b85b20"} 
[2026-07-27 18:48:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:48:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":142,"data_length":795,"current_offset":136} 
[2026-07-27 18:48:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1696,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:48:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:48:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:48:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:48:05] local.INFO: Teltonika packet parsed successfully {"connection_id":144212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:48:05] local.INFO: Passing IMEI to GPS processor {"connection_id":144212,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:48:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":144212,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:48:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:48:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:48:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:48:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000492800001,"66":12374,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:48:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:48:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:48:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000492800001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:48:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:48:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:48:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:48:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 18:48:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000492800001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 18:48:05] local.INFO: DEBUG: GPS processor result {"connection_id":144212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554856,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:48:05] local.INFO: GPS data processed {"connection_id":144212,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:48:05] local.INFO: Acknowledgment sent {"connection_id":144212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:48:07] local.INFO: TCP Data received {"connection_id":143226,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143226,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:48:07] local.INFO: Processing buffer {"connection_id":143226,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:48:07] local.INFO: IMEI packet received {"connection_id":143226,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 18:48:07] local.INFO: IMEI acknowledgment sent {"connection_id":143226,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:48:08] local.INFO: TCP Data received {"connection_id":144211,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3b61130012da8530005dfd2380021013a27..."} 
[2026-07-27 18:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144211,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3b61130012da8530005dfd2380021013a27..."} 
[2026-07-27 18:48:08] local.INFO: Processing buffer {"connection_id":144211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3b61130012da8530005dfd2380021013a27..."} 
[2026-07-27 18:48:08] local.INFO: Packet analysis {"connection_id":144211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3b6"} 
[2026-07-27 18:48:08] local.INFO: Extracted packet for processing {"connection_id":144211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3b6"} 
[2026-07-27 18:48:08] local.INFO: GPS Element Parsed {"raw_longitude":766006016,"raw_latitude":98554424,"longitude_deg":76.6006016,"latitude_deg":9.8554424,"altitude":33,"angle":314,"satellites":39,"speed":0,"hex_longitude":"2da85300","hex_latitude":"05dfd238","is_valid_coordinates":true} 
[2026-07-27 18:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:48:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000382720001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:48:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359256443599192064,"note":"Value kept but may cause issues"} 
[2026-07-27 18:48:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6317705827040741376,"note":"Value kept but may cause issues"} 
[2026-07-27 18:48:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:48:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785158046000,"timestamp_ms":1785158046000,"timestamp_seconds":1785158046,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3b61130"} 
[2026-07-27 18:48:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:48:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-27 18:48:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:48:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:48:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:48:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:48:08] local.INFO: Teltonika packet parsed successfully {"connection_id":144211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:48:08] local.INFO: Passing IMEI to GPS processor {"connection_id":144211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:48:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":144211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:48:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:48:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:48:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:48:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000382720001,"66":25995,"70":206,"88":19968,"24":0,"16":359256443599192064,"45":-6317705827040741376},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,88,24,16,45]} 
[2026-07-27 18:48:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:48:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:48:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000382720001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:48:08] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-27 18:48:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 18:48:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359256443599192064,"km_value":359256443599192.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:48:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6317705827040741376,"description":"Unknown IO ID 45"} 
[2026-07-27 18:48:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000382720001,"power":25995,"unknown_70":206,"unknown_88":19968,"ignition":0,"odometer":null,"unknown_45":-6317705827040741376}} 
[2026-07-27 18:48:08] local.INFO: DEBUG: GPS processor result {"connection_id":144211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:48:08] local.INFO: GPS data processed {"connection_id":144211,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:48:08] local.INFO: Acknowledgment sent {"connection_id":144211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:48:13] local.INFO: TCP Data received {"connection_id":143226,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:48:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143226,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:48:13] local.INFO: Processing buffer {"connection_id":143226,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:48:13] local.INFO: IMEI packet received {"connection_id":143226,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 18:48:13] local.INFO: IMEI acknowledgment sent {"connection_id":143226,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:48:13] local.INFO: TCP Data received {"connection_id":143226,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3b578d8012d7e380005d34d500000003129..."} 
[2026-07-27 18:48:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3b578d8012d7e380005d34d500000003129..."} 
[2026-07-27 18:48:13] local.INFO: Processing buffer {"connection_id":143226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3b578d8012d7e380005d34d500000003129..."} 
[2026-07-27 18:48:13] local.INFO: Packet analysis {"connection_id":143226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3b5"} 
[2026-07-27 18:48:13] local.INFO: Extracted packet for processing {"connection_id":143226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3b5"} 
[2026-07-27 18:48:13] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733968,"longitude_deg":76.3246592,"latitude_deg":9.7733968,"altitude":0,"angle":49,"satellites":41,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-07-27 18:48:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:48:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000448000001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:48:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111785234072076288,"note":"Value kept but may cause issues"} 
[2026-07-27 18:48:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494612480,"note":"Value kept but may cause issues"} 
[2026-07-27 18:48:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:48:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785158007000,"timestamp_ms":1785158007000,"timestamp_seconds":1785158007,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3b578d8"} 
[2026-07-27 18:48:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:48:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 18:48:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-27 18:48: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-07-27 18:48:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:48:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:48:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:48:13] local.INFO: Teltonika packet parsed successfully {"connection_id":143226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:48:13] local.INFO: Passing IMEI to GPS processor {"connection_id":143226,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:48:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":143226,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:48:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:48:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 18:48:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 18:48:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000448000001,"66":3014,"109":206,"85":15104,"24":0,"16":111785234072076288,"45":9095019472494612480},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-27 18:48:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 18:48:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 18:48:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000448000001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:48:13] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-27 18:48:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 18:48:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111785234072076288,"km_value":111785234072076.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:48:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494612480,"description":"Unknown IO ID 45"} 
[2026-07-27 18:48:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000448000001,"power":3014,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494612480}} 
[2026-07-27 18:48:13] local.INFO: DEBUG: GPS processor result {"connection_id":143226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554858,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:48:13] local.INFO: GPS data processed {"connection_id":143226,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:48:13] local.INFO: Acknowledgment sent {"connection_id":143226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:48:31] local.INFO: TCP Data received {"connection_id":144213,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:48:31] local.INFO: Processing buffer {"connection_id":144213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:48:31] local.INFO: IMEI packet received {"connection_id":144213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 18:48:31] local.INFO: IMEI acknowledgment sent {"connection_id":144213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:48:36] local.INFO: TCP Data received {"connection_id":144213,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:48:36] local.INFO: Processing buffer {"connection_id":144213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:48:36] local.INFO: IMEI packet received {"connection_id":144213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 18:48:36] local.INFO: IMEI acknowledgment sent {"connection_id":144213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:48:37] local.INFO: TCP Data received {"connection_id":144212,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3b8ad28012d1967c0071fee200046011623..."} 
[2026-07-27 18:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3b8ad28012d1967c0071fee200046011623..."} 
[2026-07-27 18:48:37] local.INFO: Processing buffer {"connection_id":144212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3b8ad28012d1967c0071fee200046011623..."} 
[2026-07-27 18:48:37] local.INFO: Packet analysis {"connection_id":144212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3b8"} 
[2026-07-27 18:48:37] local.INFO: Extracted packet for processing {"connection_id":144212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3b8"} 
[2026-07-27 18:48:37] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":35,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 18:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000498176001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 18:48:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 18:48:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785158217000,"timestamp_ms":1785158217000,"timestamp_seconds":1785158217,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3b8ad28"} 
[2026-07-27 18:48:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:48:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-27 18:48:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:48:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:48:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144212,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144212,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:48:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000498176001,"66":12406,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000498176001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:48:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:48:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:48:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:48:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 18:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000498176001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 18:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":144212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554859,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:48:37] local.INFO: GPS data processed {"connection_id":144212,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:48:37] local.INFO: Acknowledgment sent {"connection_id":144212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:48:37] local.INFO: TCP Data received {"connection_id":144213,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3b61130012da8530005dfd2380021013a27..."} 
[2026-07-27 18:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144213,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3b61130012da8530005dfd2380021013a27..."} 
[2026-07-27 18:48:37] local.INFO: Processing buffer {"connection_id":144213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3b61130012da8530005dfd2380021013a27..."} 
[2026-07-27 18:48:37] local.INFO: Packet analysis {"connection_id":144213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3b6"} 
[2026-07-27 18:48:37] local.INFO: Extracted packet for processing {"connection_id":144213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3b6"} 
[2026-07-27 18:48:37] local.INFO: GPS Element Parsed {"raw_longitude":766006016,"raw_latitude":98554424,"longitude_deg":76.6006016,"latitude_deg":9.8554424,"altitude":33,"angle":314,"satellites":39,"speed":0,"hex_longitude":"2da85300","hex_latitude":"05dfd238","is_valid_coordinates":true} 
[2026-07-27 18:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000382720001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359256443599192064,"note":"Value kept but may cause issues"} 
[2026-07-27 18:48:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6317705827040741376,"note":"Value kept but may cause issues"} 
[2026-07-27 18:48:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785158046000,"timestamp_ms":1785158046000,"timestamp_seconds":1785158046,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3b61130"} 
[2026-07-27 18:48:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:48:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 18:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-27 18:48:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:48:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:48:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:48:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000382720001,"66":25995,"70":206,"88":19968,"24":0,"16":359256443599192064,"45":-6317705827040741376},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,88,24,16,45]} 
[2026-07-27 18:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000382720001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:48:37] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-27 18:48:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 18:48:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359256443599192064,"km_value":359256443599192.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:48:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6317705827040741376,"description":"Unknown IO ID 45"} 
[2026-07-27 18:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000382720001,"power":25995,"unknown_70":206,"unknown_88":19968,"ignition":0,"odometer":null,"unknown_45":-6317705827040741376}} 
[2026-07-27 18:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":144213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:48:37] local.INFO: GPS data processed {"connection_id":144213,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:48:37] local.INFO: Acknowledgment sent {"connection_id":144213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:48:44] local.INFO: TCP Data received {"connection_id":143226,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3ba10a0012d7e380005d34d50000000312b..."} 
[2026-07-27 18:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3ba10a0012d7e380005d34d50000000312b..."} 
[2026-07-27 18:48:44] local.INFO: Processing buffer {"connection_id":143226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3ba10a0012d7e380005d34d50000000312b..."} 
[2026-07-27 18:48:44] local.INFO: Packet analysis {"connection_id":143226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3ba"} 
[2026-07-27 18:48:44] local.INFO: Extracted packet for processing {"connection_id":143226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3ba"} 
[2026-07-27 18:48:44] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733968,"longitude_deg":76.3246592,"latitude_deg":9.7733968,"altitude":0,"angle":49,"satellites":43,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-07-27 18:48:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:48:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000449792001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:48:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111785234072076288,"note":"Value kept but may cause issues"} 
[2026-07-27 18:48:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494612480,"note":"Value kept but may cause issues"} 
[2026-07-27 18:48:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:48:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785158308000,"timestamp_ms":1785158308000,"timestamp_seconds":1785158308,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3ba10a0"} 
[2026-07-27 18:48:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:48:44] 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-07-27 18:48: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":11,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-27 18:48:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2035,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:48:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:48:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:48:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:48:44] local.INFO: Teltonika packet parsed successfully {"connection_id":143226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:48:44] local.INFO: Passing IMEI to GPS processor {"connection_id":143226,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:48:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":143226,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:48:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:48:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 18:48:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 18:48:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000449792001,"66":2209,"109":206,"85":15104,"24":0,"16":111785234072076288,"45":9095019472494612480},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-27 18:48:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 18:48:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 18:48:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000449792001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:48:44] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-27 18:48:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 18:48:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111785234072076288,"km_value":111785234072076.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:48:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494612480,"description":"Unknown IO ID 45"} 
[2026-07-27 18:48:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000449792001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494612480}} 
[2026-07-27 18:48:44] local.INFO: DEBUG: GPS processor result {"connection_id":143226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554861,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:48:44] local.INFO: GPS data processed {"connection_id":143226,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:48:44] local.INFO: Acknowledgment sent {"connection_id":143226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:49:04] local.INFO: TCP Data received {"connection_id":143087,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143087,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:49:04] local.INFO: Processing buffer {"connection_id":143087,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:49:04] local.INFO: IMEI packet received {"connection_id":143087,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 18:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":143087,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:49:07] local.INFO: TCP Data received {"connection_id":143088,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143088,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:49:07] local.INFO: Processing buffer {"connection_id":143088,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:49:07] local.INFO: IMEI packet received {"connection_id":143088,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 18:49:07] local.INFO: IMEI acknowledgment sent {"connection_id":143088,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:49:08] local.INFO: TCP Data received {"connection_id":144213,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3b61130012da8530005dfd2380021013a27..."} 
[2026-07-27 18:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144213,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3b61130012da8530005dfd2380021013a27..."} 
[2026-07-27 18:49:08] local.INFO: Processing buffer {"connection_id":144213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3b61130012da8530005dfd2380021013a27..."} 
[2026-07-27 18:49:08] local.INFO: Packet analysis {"connection_id":144213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3b6"} 
[2026-07-27 18:49:08] local.INFO: Extracted packet for processing {"connection_id":144213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3b6"} 
[2026-07-27 18:49:08] local.INFO: GPS Element Parsed {"raw_longitude":766006016,"raw_latitude":98554424,"longitude_deg":76.6006016,"latitude_deg":9.8554424,"altitude":33,"angle":314,"satellites":39,"speed":0,"hex_longitude":"2da85300","hex_latitude":"05dfd238","is_valid_coordinates":true} 
[2026-07-27 18:49:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:49:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000382720001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:49:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359256443599192064,"note":"Value kept but may cause issues"} 
[2026-07-27 18:49:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6317705827040741376,"note":"Value kept but may cause issues"} 
[2026-07-27 18:49:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:49:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785158046000,"timestamp_ms":1785158046000,"timestamp_seconds":1785158046,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3b61130"} 
[2026-07-27 18:49:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:49:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-27 18:49:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:49:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:49:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:49:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:49:08] local.INFO: Teltonika packet parsed successfully {"connection_id":144213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:49:08] local.INFO: Passing IMEI to GPS processor {"connection_id":144213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:49:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":144213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:49:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:49:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:49:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:49:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000382720001,"66":25995,"70":206,"88":19968,"24":0,"16":359256443599192064,"45":-6317705827040741376},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,88,24,16,45]} 
[2026-07-27 18:49:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:49:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:49:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000382720001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:49:08] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-27 18:49:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 18:49:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359256443599192064,"km_value":359256443599192.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:49:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6317705827040741376,"description":"Unknown IO ID 45"} 
[2026-07-27 18:49:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000382720001,"power":25995,"unknown_70":206,"unknown_88":19968,"ignition":0,"odometer":null,"unknown_45":-6317705827040741376}} 
[2026-07-27 18:49:08] local.INFO: DEBUG: GPS processor result {"connection_id":144213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:49:08] local.INFO: GPS data processed {"connection_id":144213,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:49:08] local.INFO: Acknowledgment sent {"connection_id":144213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:49:09] local.INFO: TCP Data received {"connection_id":143087,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143087,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:49:09] local.INFO: Processing buffer {"connection_id":143087,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:49:09] local.INFO: IMEI packet received {"connection_id":143087,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 18:49:09] local.INFO: IMEI acknowledgment sent {"connection_id":143087,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:49:11] local.INFO: TCP Data received {"connection_id":143087,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3b8ff30012d1967c0071fee200046011624..."} 
[2026-07-27 18:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3b8ff30012d1967c0071fee200046011624..."} 
[2026-07-27 18:49:11] local.INFO: Processing buffer {"connection_id":143087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3b8ff30012d1967c0071fee200046011624..."} 
[2026-07-27 18:49:11] local.INFO: Packet analysis {"connection_id":143087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3b8"} 
[2026-07-27 18:49:11] local.INFO: Extracted packet for processing {"connection_id":143087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3b8"} 
[2026-07-27 18:49:11] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":36,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 18:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:49:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000503552001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:49:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 18:49:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 18:49:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:49:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785158238000,"timestamp_ms":1785158238000,"timestamp_seconds":1785158238,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3b8ff30"} 
[2026-07-27 18:49:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:49:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 18:49:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:49:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:49:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:49:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:49:11] local.INFO: Teltonika packet parsed successfully {"connection_id":143087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:49:11] local.INFO: Passing IMEI to GPS processor {"connection_id":143087,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:49:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":143087,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:49:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:49:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:49:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:49:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000503552001,"66":12341,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:49:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:49:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:49:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000503552001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:49:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:49:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:49:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:49:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 18:49:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000503552001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 18:49:11] local.INFO: DEBUG: GPS processor result {"connection_id":143087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554863,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:49:11] local.INFO: GPS data processed {"connection_id":143087,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:49:11] local.INFO: Acknowledgment sent {"connection_id":143087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:49:13] local.INFO: TCP Data received {"connection_id":143088,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143088,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:49:13] local.INFO: Processing buffer {"connection_id":143088,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:49:13] local.INFO: IMEI packet received {"connection_id":143088,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 18:49:13] local.INFO: IMEI acknowledgment sent {"connection_id":143088,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:49:13] local.INFO: TCP Data received {"connection_id":143088,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3ba10a0012d7e380005d34d50000000312b..."} 
[2026-07-27 18:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3ba10a0012d7e380005d34d50000000312b..."} 
[2026-07-27 18:49:13] local.INFO: Processing buffer {"connection_id":143088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3ba10a0012d7e380005d34d50000000312b..."} 
[2026-07-27 18:49:13] local.INFO: Packet analysis {"connection_id":143088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3ba"} 
[2026-07-27 18:49:13] local.INFO: Extracted packet for processing {"connection_id":143088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3ba"} 
[2026-07-27 18:49:13] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733968,"longitude_deg":76.3246592,"latitude_deg":9.7733968,"altitude":0,"angle":49,"satellites":43,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-07-27 18:49:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:49:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000449792001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:49:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111785234072076288,"note":"Value kept but may cause issues"} 
[2026-07-27 18:49:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494612480,"note":"Value kept but may cause issues"} 
[2026-07-27 18:49:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:49:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785158308000,"timestamp_ms":1785158308000,"timestamp_seconds":1785158308,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3ba10a0"} 
[2026-07-27 18:49:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:49:13] 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-07-27 18: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":11,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-27 18:49:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2035,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:49:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:49:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:49:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:49:13] local.INFO: Teltonika packet parsed successfully {"connection_id":143088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:49:13] local.INFO: Passing IMEI to GPS processor {"connection_id":143088,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:49:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":143088,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:49:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:49:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 18:49:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 18:49:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000449792001,"66":2209,"109":206,"85":15104,"24":0,"16":111785234072076288,"45":9095019472494612480},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-27 18:49:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 18:49:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 18:49:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000449792001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:49:13] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-27 18:49:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 18:49:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111785234072076288,"km_value":111785234072076.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:49:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494612480,"description":"Unknown IO ID 45"} 
[2026-07-27 18:49:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000449792001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494612480}} 
[2026-07-27 18:49:13] local.INFO: DEBUG: GPS processor result {"connection_id":143088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554864,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:49:13] local.INFO: GPS data processed {"connection_id":143088,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:49:13] local.INFO: Acknowledgment sent {"connection_id":143088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:49:14] local.INFO: TCP Data received {"connection_id":143087,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3b95138012d1967c0071fee200046011626..."} 
[2026-07-27 18:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3b95138012d1967c0071fee200046011626..."} 
[2026-07-27 18:49:14] local.INFO: Processing buffer {"connection_id":143087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3b95138012d1967c0071fee200046011626..."} 
[2026-07-27 18:49:14] local.INFO: Packet analysis {"connection_id":143087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3b9"} 
[2026-07-27 18:49:14] local.INFO: Extracted packet for processing {"connection_id":143087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3b9"} 
[2026-07-27 18:49:14] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":38,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 18: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-07-27 18:49:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000508928001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:49:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 18:49:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 18:49:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:49:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785158259000,"timestamp_ms":1785158259000,"timestamp_seconds":1785158259,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3b95138"} 
[2026-07-27 18:49:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:49:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:49:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 18:49:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18: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-07-27 18:49:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:49:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:49:14] local.INFO: Teltonika packet parsed successfully {"connection_id":143087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:49:14] local.INFO: Passing IMEI to GPS processor {"connection_id":143087,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:49:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":143087,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:49:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:49:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:49:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:49:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000508928001,"66":11700,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:49:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:49:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:49:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000508928001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:49:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:49:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:49:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:49:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 18:49:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000508928001,"power":11700,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 18:49:14] local.INFO: DEBUG: GPS processor result {"connection_id":143087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554865,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:49:14] local.INFO: GPS data processed {"connection_id":143087,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:49:14] local.INFO: Acknowledgment sent {"connection_id":143087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:49:31] local.INFO: TCP Data received {"connection_id":145491,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:49:31] local.INFO: Processing buffer {"connection_id":145491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:49:31] local.INFO: IMEI packet received {"connection_id":145491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 18:49:31] local.INFO: IMEI acknowledgment sent {"connection_id":145491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:49:36] local.INFO: TCP Data received {"connection_id":145491,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:49:36] local.INFO: Processing buffer {"connection_id":145491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:49:36] local.INFO: IMEI packet received {"connection_id":145491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 18:49:36] local.INFO: IMEI acknowledgment sent {"connection_id":145491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:49:37] local.INFO: TCP Data received {"connection_id":145491,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3b61130012da8530005dfd2380021013a27..."} 
[2026-07-27 18:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3b61130012da8530005dfd2380021013a27..."} 
[2026-07-27 18:49:37] local.INFO: Processing buffer {"connection_id":145491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3b61130012da8530005dfd2380021013a27..."} 
[2026-07-27 18:49:37] local.INFO: Packet analysis {"connection_id":145491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3b6"} 
[2026-07-27 18:49:37] local.INFO: Extracted packet for processing {"connection_id":145491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3b6"} 
[2026-07-27 18:49:37] local.INFO: GPS Element Parsed {"raw_longitude":766006016,"raw_latitude":98554424,"longitude_deg":76.6006016,"latitude_deg":9.8554424,"altitude":33,"angle":314,"satellites":39,"speed":0,"hex_longitude":"2da85300","hex_latitude":"05dfd238","is_valid_coordinates":true} 
[2026-07-27 18:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:49:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000382720001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:49:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359256443599192064,"note":"Value kept but may cause issues"} 
[2026-07-27 18:49:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6317705827040741376,"note":"Value kept but may cause issues"} 
[2026-07-27 18:49:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:49:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785158046000,"timestamp_ms":1785158046000,"timestamp_seconds":1785158046,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3b61130"} 
[2026-07-27 18:49:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:49:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 18:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-27 18:49:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:49:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:49:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:49:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:49:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:49:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:49:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:49:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:49:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:49:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:49:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000382720001,"66":25995,"70":206,"88":19968,"24":0,"16":359256443599192064,"45":-6317705827040741376},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,88,24,16,45]} 
[2026-07-27 18:49:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:49:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:49:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000382720001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:49:37] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-27 18:49:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 18:49:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359256443599192064,"km_value":359256443599192.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:49:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6317705827040741376,"description":"Unknown IO ID 45"} 
[2026-07-27 18:49:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000382720001,"power":25995,"unknown_70":206,"unknown_88":19968,"ignition":0,"odometer":null,"unknown_45":-6317705827040741376}} 
[2026-07-27 18:49:37] local.INFO: DEBUG: GPS processor result {"connection_id":145491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:49:37] local.INFO: GPS data processed {"connection_id":145491,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:49:37] local.INFO: Acknowledgment sent {"connection_id":145491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:49:44] local.INFO: TCP Data received {"connection_id":143088,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3ba10a0012d7e380005d34d50000000312b..."} 
[2026-07-27 18:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3ba10a0012d7e380005d34d50000000312b..."} 
[2026-07-27 18:49:44] local.INFO: Processing buffer {"connection_id":143088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3ba10a0012d7e380005d34d50000000312b..."} 
[2026-07-27 18:49:44] local.INFO: Packet analysis {"connection_id":143088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3ba"} 
[2026-07-27 18:49:44] local.INFO: Extracted packet for processing {"connection_id":143088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3ba"} 
[2026-07-27 18:49:44] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733968,"longitude_deg":76.3246592,"latitude_deg":9.7733968,"altitude":0,"angle":49,"satellites":43,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-07-27 18:49:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:49:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000449792001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:49:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111785234072076288,"note":"Value kept but may cause issues"} 
[2026-07-27 18:49:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494612480,"note":"Value kept but may cause issues"} 
[2026-07-27 18:49:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:49:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785158308000,"timestamp_ms":1785158308000,"timestamp_seconds":1785158308,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3ba10a0"} 
[2026-07-27 18:49:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:49:44] 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-07-27 18:49: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":11,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-27 18:49:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2035,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:49:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:49:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:49:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:49:44] local.INFO: Teltonika packet parsed successfully {"connection_id":143088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:49:44] local.INFO: Passing IMEI to GPS processor {"connection_id":143088,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:49:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":143088,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:49:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:49:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 18:49:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 18:49:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000449792001,"66":2209,"109":206,"85":15104,"24":0,"16":111785234072076288,"45":9095019472494612480},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-27 18:49:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 18:49:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 18:49:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000449792001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:49:44] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-27 18:49:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 18:49:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111785234072076288,"km_value":111785234072076.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:49:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494612480,"description":"Unknown IO ID 45"} 
[2026-07-27 18:49:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000449792001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494612480}} 
[2026-07-27 18:49:44] local.INFO: DEBUG: GPS processor result {"connection_id":143088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554867,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:49:44] local.INFO: GPS data processed {"connection_id":143088,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:49:44] local.INFO: Acknowledgment sent {"connection_id":143088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:49:59] local.INFO: TCP Data received {"connection_id":145492,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145492,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:49:59] local.INFO: Processing buffer {"connection_id":145492,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:49:59] local.INFO: IMEI packet received {"connection_id":145492,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 18:49:59] local.INFO: IMEI acknowledgment sent {"connection_id":145492,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:50:02] local.INFO: TCP Data received {"connection_id":145492,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145492,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:50:02] local.INFO: Processing buffer {"connection_id":145492,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:50:02] local.INFO: IMEI packet received {"connection_id":145492,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 18:50:02] local.INFO: IMEI acknowledgment sent {"connection_id":145492,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:50:08] local.INFO: TCP Data received {"connection_id":145491,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3baa8f8012da8530005dfd2380021013a2a..."} 
[2026-07-27 18:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3baa8f8012da8530005dfd2380021013a2a..."} 
[2026-07-27 18:50:08] local.INFO: Processing buffer {"connection_id":145491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3baa8f8012da8530005dfd2380021013a2a..."} 
[2026-07-27 18:50:08] local.INFO: Packet analysis {"connection_id":145491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3ba"} 
[2026-07-27 18:50:08] local.INFO: Extracted packet for processing {"connection_id":145491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3ba"} 
[2026-07-27 18:50:08] local.INFO: GPS Element Parsed {"raw_longitude":766006016,"raw_latitude":98554424,"longitude_deg":76.6006016,"latitude_deg":9.8554424,"altitude":33,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2da85300","hex_latitude":"05dfd238","is_valid_coordinates":true} 
[2026-07-27 18:50:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:50:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000459776001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:50:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359256443599192064,"note":"Value kept but may cause issues"} 
[2026-07-27 18:50:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6317705827040741376,"note":"Value kept but may cause issues"} 
[2026-07-27 18:50:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:50:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785158347000,"timestamp_ms":1785158347000,"timestamp_seconds":1785158347,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3baa8f8"} 
[2026-07-27 18:50:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:50:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 18:50:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-27 18:50:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:50:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:50:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:50:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:50:08] local.INFO: Teltonika packet parsed successfully {"connection_id":145491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:50:08] local.INFO: Passing IMEI to GPS processor {"connection_id":145491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:50:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":145491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:50:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:50:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:50:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:50:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000459776001,"66":25875,"70":206,"88":19968,"24":0,"16":359256443599192064,"45":-6317705827040741376},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,88,24,16,45]} 
[2026-07-27 18:50:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:50:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:50:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000459776001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:50:08] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-27 18:50:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 18:50:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359256443599192064,"km_value":359256443599192.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:50:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6317705827040741376,"description":"Unknown IO ID 45"} 
[2026-07-27 18:50:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000459776001,"power":25875,"unknown_70":206,"unknown_88":19968,"ignition":0,"odometer":null,"unknown_45":-6317705827040741376}} 
[2026-07-27 18:50:08] local.INFO: DEBUG: GPS processor result {"connection_id":145491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:50:08] local.INFO: GPS data processed {"connection_id":145491,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:50:08] local.INFO: Acknowledgment sent {"connection_id":145491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:50:11] local.INFO: TCP Data received {"connection_id":145492,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3b9a340012d1967c0071fee200046011624..."} 
[2026-07-27 18:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3b9a340012d1967c0071fee200046011624..."} 
[2026-07-27 18:50:11] local.INFO: Processing buffer {"connection_id":145492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3b9a340012d1967c0071fee200046011624..."} 
[2026-07-27 18:50:11] local.INFO: Packet analysis {"connection_id":145492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3b9"} 
[2026-07-27 18:50:11] local.INFO: Extracted packet for processing {"connection_id":145492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3b9"} 
[2026-07-27 18:50:11] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":36,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 18:50:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:50:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000514304001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:50:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 18:50:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 18:50:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:50:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785158280000,"timestamp_ms":1785158280000,"timestamp_seconds":1785158280,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3b9a340"} 
[2026-07-27 18:50:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:50:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:50:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-07-27 18:50:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2043,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:50:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:50:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:50:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:50:11] local.INFO: Teltonika packet parsed successfully {"connection_id":145492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:50:11] local.INFO: Passing IMEI to GPS processor {"connection_id":145492,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:50:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":145492,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:50:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:50:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:50:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:50:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000514304001,"66":12319,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:50:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:50:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:50:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000514304001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:50:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:50:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:50:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:50:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 18:50:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000514304001,"power":12319,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 18:50:11] local.INFO: DEBUG: GPS processor result {"connection_id":145492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554869,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:50:11] local.INFO: GPS data processed {"connection_id":145492,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:50:11] local.INFO: Acknowledgment sent {"connection_id":145492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:50:12] local.INFO: TCP Data received {"connection_id":145492,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3b9f548012d1967c0071fee200046011627..."} 
[2026-07-27 18:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3b9f548012d1967c0071fee200046011627..."} 
[2026-07-27 18:50:12] local.INFO: Processing buffer {"connection_id":145492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3b9f548012d1967c0071fee200046011627..."} 
[2026-07-27 18:50:12] local.INFO: Packet analysis {"connection_id":145492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3b9"} 
[2026-07-27 18:50:12] local.INFO: Extracted packet for processing {"connection_id":145492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3b9"} 
[2026-07-27 18:50:12] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 18: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-07-27 18:50:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000519680001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:50:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 18:50:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 18:50:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:50:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785158301000,"timestamp_ms":1785158301000,"timestamp_seconds":1785158301,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3b9f548"} 
[2026-07-27 18:50:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:50:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 18:50:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18: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-07-27 18:50:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:50:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:50:12] local.INFO: Teltonika packet parsed successfully {"connection_id":145492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:50:12] local.INFO: Passing IMEI to GPS processor {"connection_id":145492,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:50:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":145492,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:50:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:50:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:50:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:50:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000519680001,"66":12385,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:50:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:50:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:50:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000519680001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:50:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:50:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:50:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:50:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 18:50:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000519680001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 18:50:12] local.INFO: DEBUG: GPS processor result {"connection_id":145492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554870,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:50:12] local.INFO: GPS data processed {"connection_id":145492,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:50:12] local.INFO: Acknowledgment sent {"connection_id":145492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:50:12] local.INFO: TCP Data received {"connection_id":145493,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145493,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:50:12] local.INFO: Processing buffer {"connection_id":145493,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:50:12] local.INFO: IMEI packet received {"connection_id":145493,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 18:50:12] local.INFO: IMEI acknowledgment sent {"connection_id":145493,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:50:17] local.INFO: TCP Data received {"connection_id":145493,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:50:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145493,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:50:17] local.INFO: Processing buffer {"connection_id":145493,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:50:17] local.INFO: IMEI packet received {"connection_id":145493,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 18:50:17] local.INFO: IMEI acknowledgment sent {"connection_id":145493,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:50:18] local.INFO: TCP Data received {"connection_id":145493,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3ba10a0012d7e380005d34d50000000312b..."} 
[2026-07-27 18:50:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3ba10a0012d7e380005d34d50000000312b..."} 
[2026-07-27 18:50:18] local.INFO: Processing buffer {"connection_id":145493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3ba10a0012d7e380005d34d50000000312b..."} 
[2026-07-27 18:50:18] local.INFO: Packet analysis {"connection_id":145493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3ba"} 
[2026-07-27 18:50:18] local.INFO: Extracted packet for processing {"connection_id":145493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3ba"} 
[2026-07-27 18:50:18] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733968,"longitude_deg":76.3246592,"latitude_deg":9.7733968,"altitude":0,"angle":49,"satellites":43,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-07-27 18: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-07-27 18:50:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000449792001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:50:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111785234072076288,"note":"Value kept but may cause issues"} 
[2026-07-27 18:50:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494612480,"note":"Value kept but may cause issues"} 
[2026-07-27 18:50:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:50:18] local.INFO: AVL Record Parsed {"raw_timestamp":1785158308000,"timestamp_ms":1785158308000,"timestamp_seconds":1785158308,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3ba10a0"} 
[2026-07-27 18:50:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:50: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-07-27 18: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":11,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-27 18:50:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2035,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18: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-07-27 18:50:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:50:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:50:18] local.INFO: Teltonika packet parsed successfully {"connection_id":145493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:50:18] local.INFO: Passing IMEI to GPS processor {"connection_id":145493,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:50:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":145493,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:50:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:50:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 18:50:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 18:50:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000449792001,"66":2209,"109":206,"85":15104,"24":0,"16":111785234072076288,"45":9095019472494612480},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-27 18:50:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 18:50:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 18:50:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000449792001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:50:18] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-27 18:50:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 18:50:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111785234072076288,"km_value":111785234072076.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:50:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494612480,"description":"Unknown IO ID 45"} 
[2026-07-27 18:50:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000449792001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494612480}} 
[2026-07-27 18:50:18] local.INFO: DEBUG: GPS processor result {"connection_id":145493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554871,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:50:18] local.INFO: GPS data processed {"connection_id":145493,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:50:18] local.INFO: Acknowledgment sent {"connection_id":145493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:50:23] local.INFO: TCP Data received {"connection_id":145493,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3ba10a0012d7e380005d34d50000000312b..."} 
[2026-07-27 18:50:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3ba10a0012d7e380005d34d50000000312b..."} 
[2026-07-27 18:50:23] local.INFO: Processing buffer {"connection_id":145493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3ba10a0012d7e380005d34d50000000312b..."} 
[2026-07-27 18:50:23] local.INFO: Packet analysis {"connection_id":145493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3ba"} 
[2026-07-27 18:50:23] local.INFO: Extracted packet for processing {"connection_id":145493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3ba"} 
[2026-07-27 18:50:23] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733968,"longitude_deg":76.3246592,"latitude_deg":9.7733968,"altitude":0,"angle":49,"satellites":43,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-07-27 18: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-07-27 18:50:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000449792001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:50:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111785234072076288,"note":"Value kept but may cause issues"} 
[2026-07-27 18:50:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494612480,"note":"Value kept but may cause issues"} 
[2026-07-27 18:50:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:50:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785158308000,"timestamp_ms":1785158308000,"timestamp_seconds":1785158308,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3ba10a0"} 
[2026-07-27 18:50:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:50: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-07-27 18:50:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":11,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-27 18:50:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2035,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:50:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:50:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:50:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:50:23] local.INFO: Teltonika packet parsed successfully {"connection_id":145493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:50:23] local.INFO: Passing IMEI to GPS processor {"connection_id":145493,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:50:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":145493,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:50:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:50:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 18:50:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 18:50:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000449792001,"66":2209,"109":206,"85":15104,"24":0,"16":111785234072076288,"45":9095019472494612480},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-27 18:50:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 18:50:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 18:50:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000449792001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:50:23] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-27 18:50:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 18:50:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111785234072076288,"km_value":111785234072076.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:50:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494612480,"description":"Unknown IO ID 45"} 
[2026-07-27 18:50:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000449792001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494612480}} 
[2026-07-27 18:50:23] local.INFO: DEBUG: GPS processor result {"connection_id":145493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554872,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:50:23] local.INFO: GPS data processed {"connection_id":145493,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:50:23] local.INFO: Acknowledgment sent {"connection_id":145493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:50:31] local.INFO: TCP Data received {"connection_id":143227,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:50:31] local.INFO: Processing buffer {"connection_id":143227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:50:31] local.INFO: IMEI packet received {"connection_id":143227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 18:50:31] local.INFO: IMEI acknowledgment sent {"connection_id":143227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:50:36] local.INFO: TCP Data received {"connection_id":143227,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:50:36] local.INFO: Processing buffer {"connection_id":143227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:50:36] local.INFO: IMEI packet received {"connection_id":143227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 18:50:36] local.INFO: IMEI acknowledgment sent {"connection_id":143227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:50:37] local.INFO: TCP Data received {"connection_id":143227,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3baa8f8012da8530005dfd2380021013a2a..."} 
[2026-07-27 18:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3baa8f8012da8530005dfd2380021013a2a..."} 
[2026-07-27 18:50:37] local.INFO: Processing buffer {"connection_id":143227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3baa8f8012da8530005dfd2380021013a2a..."} 
[2026-07-27 18:50:37] local.INFO: Packet analysis {"connection_id":143227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3ba"} 
[2026-07-27 18:50:37] local.INFO: Extracted packet for processing {"connection_id":143227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3ba"} 
[2026-07-27 18:50:37] local.INFO: GPS Element Parsed {"raw_longitude":766006016,"raw_latitude":98554424,"longitude_deg":76.6006016,"latitude_deg":9.8554424,"altitude":33,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2da85300","hex_latitude":"05dfd238","is_valid_coordinates":true} 
[2026-07-27 18:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:50:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000459776001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:50:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359256443599192064,"note":"Value kept but may cause issues"} 
[2026-07-27 18:50:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6317705827040741376,"note":"Value kept but may cause issues"} 
[2026-07-27 18:50:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:50:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785158347000,"timestamp_ms":1785158347000,"timestamp_seconds":1785158347,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3baa8f8"} 
[2026-07-27 18:50:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:50:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 18:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-27 18:50:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:50:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:50:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:50:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:50:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:50:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:50:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:50:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:50:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:50:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:50:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000459776001,"66":25875,"70":206,"88":19968,"24":0,"16":359256443599192064,"45":-6317705827040741376},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,88,24,16,45]} 
[2026-07-27 18:50:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:50:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:50:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000459776001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:50:37] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-27 18:50:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 18:50:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359256443599192064,"km_value":359256443599192.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:50:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6317705827040741376,"description":"Unknown IO ID 45"} 
[2026-07-27 18:50:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000459776001,"power":25875,"unknown_70":206,"unknown_88":19968,"ignition":0,"odometer":null,"unknown_45":-6317705827040741376}} 
[2026-07-27 18:50:37] local.INFO: DEBUG: GPS processor result {"connection_id":143227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:50:37] local.INFO: GPS data processed {"connection_id":143227,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:50:37] local.INFO: Acknowledgment sent {"connection_id":143227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:50:44] local.INFO: TCP Data received {"connection_id":145492,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3ba4750012d1967c0071fee200046011624..."} 
[2026-07-27 18:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3ba4750012d1967c0071fee200046011624..."} 
[2026-07-27 18:50:44] local.INFO: Processing buffer {"connection_id":145492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3ba4750012d1967c0071fee200046011624..."} 
[2026-07-27 18:50:44] local.INFO: Packet analysis {"connection_id":145492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3ba"} 
[2026-07-27 18:50:44] local.INFO: Extracted packet for processing {"connection_id":145492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3ba"} 
[2026-07-27 18:50:44] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":36,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 18: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-07-27 18:50:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000525056001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:50:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 18:50:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 18:50:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:50:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785158322000,"timestamp_ms":1785158322000,"timestamp_seconds":1785158322,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3ba4750"} 
[2026-07-27 18:50:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:50:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:50:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-27 18:50:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18: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-07-27 18:50:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:50:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:50:44] local.INFO: Teltonika packet parsed successfully {"connection_id":145492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:50:44] local.INFO: Passing IMEI to GPS processor {"connection_id":145492,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:50:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":145492,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:50:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:50:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:50:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:50:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000525056001,"66":12341,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:50:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:50:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:50:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000525056001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:50:44] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:50:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:50:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:50:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 18:50:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000525056001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 18:50:44] local.INFO: DEBUG: GPS processor result {"connection_id":145492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554874,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:50:44] local.INFO: GPS data processed {"connection_id":145492,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:50:44] local.INFO: Acknowledgment sent {"connection_id":145492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:50:59] local.INFO: TCP Data received {"connection_id":145494,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145494,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:50:59] local.INFO: Processing buffer {"connection_id":145494,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:50:59] local.INFO: IMEI packet received {"connection_id":145494,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 18:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":145494,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:51:04] local.INFO: TCP Data received {"connection_id":145494,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145494,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:51:04] local.INFO: Processing buffer {"connection_id":145494,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:51:04] local.INFO: IMEI packet received {"connection_id":145494,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 18:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":145494,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:51:06] local.INFO: TCP Data received {"connection_id":145494,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3ba9958012d1967c0071fee200046011623..."} 
[2026-07-27 18:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3ba9958012d1967c0071fee200046011623..."} 
[2026-07-27 18:51:06] local.INFO: Processing buffer {"connection_id":145494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3ba9958012d1967c0071fee200046011623..."} 
[2026-07-27 18:51:06] local.INFO: Packet analysis {"connection_id":145494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3ba"} 
[2026-07-27 18:51:06] local.INFO: Extracted packet for processing {"connection_id":145494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3ba"} 
[2026-07-27 18:51:06] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":35,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 18:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:51:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000530432001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:51:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 18:51:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 18:51:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:51:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785158343000,"timestamp_ms":1785158343000,"timestamp_seconds":1785158343,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3ba9958"} 
[2026-07-27 18:51:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:51:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 18:51:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:51:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:51:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:51:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:51:06] local.INFO: Teltonika packet parsed successfully {"connection_id":145494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:51:06] local.INFO: Passing IMEI to GPS processor {"connection_id":145494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:51:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":145494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:51:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:51:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:51:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:51:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000530432001,"66":12385,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:51:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:51:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:51:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000530432001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:51:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:51:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:51:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:51:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 18:51:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000530432001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 18:51:06] local.INFO: DEBUG: GPS processor result {"connection_id":145494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554875,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:51:06] local.INFO: GPS data processed {"connection_id":145494,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:51:06] local.INFO: Acknowledgment sent {"connection_id":145494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:51:07] local.INFO: TCP Data received {"connection_id":143228,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143228,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:51:07] local.INFO: Processing buffer {"connection_id":143228,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:51:07] local.INFO: IMEI packet received {"connection_id":143228,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 18:51:07] local.INFO: IMEI acknowledgment sent {"connection_id":143228,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:51:08] local.INFO: TCP Data received {"connection_id":143227,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3baa8f8012da8530005dfd2380021013a2a..."} 
[2026-07-27 18:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3baa8f8012da8530005dfd2380021013a2a..."} 
[2026-07-27 18:51:08] local.INFO: Processing buffer {"connection_id":143227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3baa8f8012da8530005dfd2380021013a2a..."} 
[2026-07-27 18:51:08] local.INFO: Packet analysis {"connection_id":143227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3ba"} 
[2026-07-27 18:51:08] local.INFO: Extracted packet for processing {"connection_id":143227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3ba"} 
[2026-07-27 18:51:08] local.INFO: GPS Element Parsed {"raw_longitude":766006016,"raw_latitude":98554424,"longitude_deg":76.6006016,"latitude_deg":9.8554424,"altitude":33,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2da85300","hex_latitude":"05dfd238","is_valid_coordinates":true} 
[2026-07-27 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-07-27 18:51:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000459776001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:51:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359256443599192064,"note":"Value kept but may cause issues"} 
[2026-07-27 18:51:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6317705827040741376,"note":"Value kept but may cause issues"} 
[2026-07-27 18:51:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:51:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785158347000,"timestamp_ms":1785158347000,"timestamp_seconds":1785158347,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3baa8f8"} 
[2026-07-27 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-07-27 18:51:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-27 18:51:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 18:51:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:51:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:51:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:51:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:51:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:51:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:51:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:51:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000459776001,"66":25875,"70":206,"88":19968,"24":0,"16":359256443599192064,"45":-6317705827040741376},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,88,24,16,45]} 
[2026-07-27 18:51:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:51:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:51:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000459776001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:51:08] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-27 18:51:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 18:51:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359256443599192064,"km_value":359256443599192.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:51:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6317705827040741376,"description":"Unknown IO ID 45"} 
[2026-07-27 18:51:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000459776001,"power":25875,"unknown_70":206,"unknown_88":19968,"ignition":0,"odometer":null,"unknown_45":-6317705827040741376}} 
[2026-07-27 18:51:08] local.INFO: DEBUG: GPS processor result {"connection_id":143227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:51:08] local.INFO: GPS data processed {"connection_id":143227,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:51:08] local.INFO: Acknowledgment sent {"connection_id":143227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:51:12] local.INFO: TCP Data received {"connection_id":143228,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143228,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:51:12] local.INFO: Processing buffer {"connection_id":143228,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:51:12] local.INFO: IMEI packet received {"connection_id":143228,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 18:51:12] local.INFO: IMEI acknowledgment sent {"connection_id":143228,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:51:13] local.INFO: TCP Data received {"connection_id":143228,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3ba10a0012d7e380005d34d50000000312b..."} 
[2026-07-27 18:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3ba10a0012d7e380005d34d50000000312b..."} 
[2026-07-27 18:51:13] local.INFO: Processing buffer {"connection_id":143228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3ba10a0012d7e380005d34d50000000312b..."} 
[2026-07-27 18:51:13] local.INFO: Packet analysis {"connection_id":143228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3ba"} 
[2026-07-27 18:51:13] local.INFO: Extracted packet for processing {"connection_id":143228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3ba"} 
[2026-07-27 18:51:13] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733968,"longitude_deg":76.3246592,"latitude_deg":9.7733968,"altitude":0,"angle":49,"satellites":43,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-07-27 18:51:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:51:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000449792001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:51:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111785234072076288,"note":"Value kept but may cause issues"} 
[2026-07-27 18:51:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494612480,"note":"Value kept but may cause issues"} 
[2026-07-27 18:51:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:51:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785158308000,"timestamp_ms":1785158308000,"timestamp_seconds":1785158308,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3ba10a0"} 
[2026-07-27 18:51:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:51:13] 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-07-27 18:51:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":11,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-27 18:51:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2035,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:51:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:51:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:51:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:51:13] local.INFO: Teltonika packet parsed successfully {"connection_id":143228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:51:13] local.INFO: Passing IMEI to GPS processor {"connection_id":143228,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:51:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":143228,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:51:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:51:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 18:51:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 18:51:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000449792001,"66":2209,"109":206,"85":15104,"24":0,"16":111785234072076288,"45":9095019472494612480},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-27 18:51:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 18:51:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 18:51:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000449792001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:51:13] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-27 18:51:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 18:51:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111785234072076288,"km_value":111785234072076.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:51:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494612480,"description":"Unknown IO ID 45"} 
[2026-07-27 18:51:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000449792001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494612480}} 
[2026-07-27 18:51:13] local.INFO: DEBUG: GPS processor result {"connection_id":143228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554877,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:51:13] local.INFO: GPS data processed {"connection_id":143228,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:51:13] local.INFO: Acknowledgment sent {"connection_id":143228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:51:31] local.INFO: TCP Data received {"connection_id":143089,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:51:31] local.INFO: Processing buffer {"connection_id":143089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:51:31] local.INFO: IMEI packet received {"connection_id":143089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 18:51:31] local.INFO: IMEI acknowledgment sent {"connection_id":143089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:51:36] local.INFO: TCP Data received {"connection_id":143089,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:51:36] local.INFO: Processing buffer {"connection_id":143089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:51:36] local.INFO: IMEI packet received {"connection_id":143089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 18:51:36] local.INFO: IMEI acknowledgment sent {"connection_id":143089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:51:37] local.INFO: TCP Data received {"connection_id":143089,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3baa8f8012da8530005dfd2380021013a2a..."} 
[2026-07-27 18:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143089,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3baa8f8012da8530005dfd2380021013a2a..."} 
[2026-07-27 18:51:37] local.INFO: Processing buffer {"connection_id":143089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3baa8f8012da8530005dfd2380021013a2a..."} 
[2026-07-27 18:51:37] local.INFO: Packet analysis {"connection_id":143089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3ba"} 
[2026-07-27 18:51:37] local.INFO: Extracted packet for processing {"connection_id":143089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3ba"} 
[2026-07-27 18:51:37] local.INFO: GPS Element Parsed {"raw_longitude":766006016,"raw_latitude":98554424,"longitude_deg":76.6006016,"latitude_deg":9.8554424,"altitude":33,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2da85300","hex_latitude":"05dfd238","is_valid_coordinates":true} 
[2026-07-27 18:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:51:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000459776001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:51:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359256443599192064,"note":"Value kept but may cause issues"} 
[2026-07-27 18:51:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6317705827040741376,"note":"Value kept but may cause issues"} 
[2026-07-27 18:51:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:51:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785158347000,"timestamp_ms":1785158347000,"timestamp_seconds":1785158347,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3baa8f8"} 
[2026-07-27 18:51:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:51:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 18:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-27 18:51:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:51:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:51:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:51:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:51:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:51:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:51:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:51:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:51:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:51:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:51:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000459776001,"66":25875,"70":206,"88":19968,"24":0,"16":359256443599192064,"45":-6317705827040741376},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,88,24,16,45]} 
[2026-07-27 18:51:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:51:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:51:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000459776001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:51:37] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-27 18:51:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 18:51:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359256443599192064,"km_value":359256443599192.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:51:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6317705827040741376,"description":"Unknown IO ID 45"} 
[2026-07-27 18:51:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000459776001,"power":25875,"unknown_70":206,"unknown_88":19968,"ignition":0,"odometer":null,"unknown_45":-6317705827040741376}} 
[2026-07-27 18:51:37] local.INFO: DEBUG: GPS processor result {"connection_id":143089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:51:37] local.INFO: GPS data processed {"connection_id":143089,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:51:37] local.INFO: Acknowledgment sent {"connection_id":143089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:51:37] local.INFO: TCP Data received {"connection_id":145494,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3baeb60012d1967c0071fee200046011623..."} 
[2026-07-27 18:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3baeb60012d1967c0071fee200046011623..."} 
[2026-07-27 18:51:37] local.INFO: Processing buffer {"connection_id":145494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3baeb60012d1967c0071fee200046011623..."} 
[2026-07-27 18:51:37] local.INFO: Packet analysis {"connection_id":145494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3ba"} 
[2026-07-27 18:51:37] local.INFO: Extracted packet for processing {"connection_id":145494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3ba"} 
[2026-07-27 18:51:37] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":35,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 18:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:51:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000535808001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:51:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 18:51:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 18:51:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:51:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785158364000,"timestamp_ms":1785158364000,"timestamp_seconds":1785158364,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3baeb60"} 
[2026-07-27 18:51:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:51:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-27 18:51:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:51:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:51:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:51:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:51:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:51:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:51:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:51:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:51:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:51:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:51:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000535808001,"66":12385,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:51:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:51:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:51:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000535808001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:51:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:51:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:51:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:51:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 18:51:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000535808001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 18:51:37] local.INFO: DEBUG: GPS processor result {"connection_id":145494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554879,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:51:37] local.INFO: GPS data processed {"connection_id":145494,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:51:37] local.INFO: Acknowledgment sent {"connection_id":145494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:51:44] local.INFO: TCP Data received {"connection_id":143228,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3ba10a0012d7e380005d34d50000000312b..."} 
[2026-07-27 18:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3ba10a0012d7e380005d34d50000000312b..."} 
[2026-07-27 18:51:44] local.INFO: Processing buffer {"connection_id":143228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3ba10a0012d7e380005d34d50000000312b..."} 
[2026-07-27 18:51:44] local.INFO: Packet analysis {"connection_id":143228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3ba"} 
[2026-07-27 18:51:44] local.INFO: Extracted packet for processing {"connection_id":143228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3ba"} 
[2026-07-27 18:51:44] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733968,"longitude_deg":76.3246592,"latitude_deg":9.7733968,"altitude":0,"angle":49,"satellites":43,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-07-27 18:51:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:51:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000449792001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:51:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111785234072076288,"note":"Value kept but may cause issues"} 
[2026-07-27 18:51:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494612480,"note":"Value kept but may cause issues"} 
[2026-07-27 18:51:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:51:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785158308000,"timestamp_ms":1785158308000,"timestamp_seconds":1785158308,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3ba10a0"} 
[2026-07-27 18:51:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:51:44] 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-07-27 18:51:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":11,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-27 18:51:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2035,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:51:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:51:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:51:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:51:44] local.INFO: Teltonika packet parsed successfully {"connection_id":143228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:51:44] local.INFO: Passing IMEI to GPS processor {"connection_id":143228,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:51:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":143228,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:51:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:51:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 18:51:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 18:51:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000449792001,"66":2209,"109":206,"85":15104,"24":0,"16":111785234072076288,"45":9095019472494612480},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-27 18:51:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 18:51:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 18:51:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000449792001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:51:44] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-27 18:51:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 18:51:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111785234072076288,"km_value":111785234072076.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:51:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494612480,"description":"Unknown IO ID 45"} 
[2026-07-27 18:51:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000449792001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494612480}} 
[2026-07-27 18:51:44] local.INFO: DEBUG: GPS processor result {"connection_id":143228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554880,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:51:44] local.INFO: GPS data processed {"connection_id":143228,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:51:44] local.INFO: Acknowledgment sent {"connection_id":143228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:51:59] local.INFO: TCP Data received {"connection_id":144214,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144214,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:51:59] local.INFO: Processing buffer {"connection_id":144214,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:51:59] local.INFO: IMEI packet received {"connection_id":144214,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 18:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":144214,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:52:04] local.INFO: TCP Data received {"connection_id":144214,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144214,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:52:04] local.INFO: Processing buffer {"connection_id":144214,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:52:04] local.INFO: IMEI packet received {"connection_id":144214,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 18:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":144214,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:52:05] local.INFO: TCP Data received {"connection_id":144214,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3bb3d68012d1967c0071fee200046011627..."} 
[2026-07-27 18:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3bb3d68012d1967c0071fee200046011627..."} 
[2026-07-27 18:52:05] local.INFO: Processing buffer {"connection_id":144214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3bb3d68012d1967c0071fee200046011627..."} 
[2026-07-27 18:52:05] local.INFO: Packet analysis {"connection_id":144214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3bb"} 
[2026-07-27 18:52:05] local.INFO: Extracted packet for processing {"connection_id":144214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3bb"} 
[2026-07-27 18:52:05] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 18:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:52:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000541184001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:52:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 18:52:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 18:52:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:52:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785158385000,"timestamp_ms":1785158385000,"timestamp_seconds":1785158385,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3bb3d68"} 
[2026-07-27 18:52:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:52:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-27 18:52:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:52:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:52:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:52:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:52:05] local.INFO: Teltonika packet parsed successfully {"connection_id":144214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:52:05] local.INFO: Passing IMEI to GPS processor {"connection_id":144214,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:52:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":144214,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:52:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:52:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:52:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:52:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000541184001,"66":12385,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:52:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:52:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:52:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000541184001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:52:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:52:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:52:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:52:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 18:52:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000541184001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 18:52:05] local.INFO: DEBUG: GPS processor result {"connection_id":144214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554881,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:52:05] local.INFO: GPS data processed {"connection_id":144214,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:52:05] local.INFO: Acknowledgment sent {"connection_id":144214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:52:07] local.INFO: TCP Data received {"connection_id":144215,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144215,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:52:07] local.INFO: Processing buffer {"connection_id":144215,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:52:07] local.INFO: IMEI packet received {"connection_id":144215,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 18:52:07] local.INFO: IMEI acknowledgment sent {"connection_id":144215,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:52:08] local.INFO: TCP Data received {"connection_id":143089,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3baa8f8012da8530005dfd2380021013a2a..."} 
[2026-07-27 18:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143089,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3baa8f8012da8530005dfd2380021013a2a..."} 
[2026-07-27 18:52:08] local.INFO: Processing buffer {"connection_id":143089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3baa8f8012da8530005dfd2380021013a2a..."} 
[2026-07-27 18:52:08] local.INFO: Packet analysis {"connection_id":143089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3ba"} 
[2026-07-27 18:52:08] local.INFO: Extracted packet for processing {"connection_id":143089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3ba"} 
[2026-07-27 18:52:08] local.INFO: GPS Element Parsed {"raw_longitude":766006016,"raw_latitude":98554424,"longitude_deg":76.6006016,"latitude_deg":9.8554424,"altitude":33,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2da85300","hex_latitude":"05dfd238","is_valid_coordinates":true} 
[2026-07-27 18:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:52:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000459776001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:52:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359256443599192064,"note":"Value kept but may cause issues"} 
[2026-07-27 18:52:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6317705827040741376,"note":"Value kept but may cause issues"} 
[2026-07-27 18:52:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:52:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785158347000,"timestamp_ms":1785158347000,"timestamp_seconds":1785158347,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3baa8f8"} 
[2026-07-27 18:52:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:52:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-27 18:52:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:52:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:52:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:52:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:52:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:52:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:52:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:52:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:52:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:52:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:52:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000459776001,"66":25875,"70":206,"88":19968,"24":0,"16":359256443599192064,"45":-6317705827040741376},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,88,24,16,45]} 
[2026-07-27 18:52:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:52:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:52:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000459776001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:52:08] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-27 18:52:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 18:52:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359256443599192064,"km_value":359256443599192.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:52:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6317705827040741376,"description":"Unknown IO ID 45"} 
[2026-07-27 18:52:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000459776001,"power":25875,"unknown_70":206,"unknown_88":19968,"ignition":0,"odometer":null,"unknown_45":-6317705827040741376}} 
[2026-07-27 18:52:08] local.INFO: DEBUG: GPS processor result {"connection_id":143089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:52:08] local.INFO: GPS data processed {"connection_id":143089,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:52:08] local.INFO: Acknowledgment sent {"connection_id":143089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:52:13] local.INFO: TCP Data received {"connection_id":144215,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144215,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:52:13] local.INFO: Processing buffer {"connection_id":144215,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:52:13] local.INFO: IMEI packet received {"connection_id":144215,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 18:52:13] local.INFO: IMEI acknowledgment sent {"connection_id":144215,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:52:13] local.INFO: TCP Data received {"connection_id":144215,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3ba10a0012d7e380005d34d50000000312b..."} 
[2026-07-27 18:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144215,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3ba10a0012d7e380005d34d50000000312b..."} 
[2026-07-27 18:52:13] local.INFO: Processing buffer {"connection_id":144215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3ba10a0012d7e380005d34d50000000312b..."} 
[2026-07-27 18:52:13] local.INFO: Packet analysis {"connection_id":144215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3ba"} 
[2026-07-27 18:52:13] local.INFO: Extracted packet for processing {"connection_id":144215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3ba"} 
[2026-07-27 18:52:13] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733968,"longitude_deg":76.3246592,"latitude_deg":9.7733968,"altitude":0,"angle":49,"satellites":43,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-07-27 18:52:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:52:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000449792001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:52:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111785234072076288,"note":"Value kept but may cause issues"} 
[2026-07-27 18:52:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494612480,"note":"Value kept but may cause issues"} 
[2026-07-27 18:52:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:52:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785158308000,"timestamp_ms":1785158308000,"timestamp_seconds":1785158308,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3ba10a0"} 
[2026-07-27 18:52:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:52:13] 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-07-27 18:52:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":11,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-27 18:52:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2035,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:52:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:52:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:52:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:52:13] local.INFO: Teltonika packet parsed successfully {"connection_id":144215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:52:13] local.INFO: Passing IMEI to GPS processor {"connection_id":144215,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:52:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":144215,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:52:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:52:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 18:52:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 18:52:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000449792001,"66":2209,"109":206,"85":15104,"24":0,"16":111785234072076288,"45":9095019472494612480},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-27 18:52:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 18:52:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 18:52:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000449792001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:52:13] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-27 18:52:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 18:52:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111785234072076288,"km_value":111785234072076.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:52:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494612480,"description":"Unknown IO ID 45"} 
[2026-07-27 18:52:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000449792001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494612480}} 
[2026-07-27 18:52:13] local.INFO: DEBUG: GPS processor result {"connection_id":144215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554883,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:52:13] local.INFO: GPS data processed {"connection_id":144215,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:52:13] local.INFO: Acknowledgment sent {"connection_id":144215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:52:31] local.INFO: TCP Data received {"connection_id":143229,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:52:31] local.INFO: Processing buffer {"connection_id":143229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:52:31] local.INFO: IMEI packet received {"connection_id":143229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 18:52:31] local.INFO: IMEI acknowledgment sent {"connection_id":143229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:52:36] local.INFO: TCP Data received {"connection_id":143229,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:52:36] local.INFO: Processing buffer {"connection_id":143229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:52:36] local.INFO: IMEI packet received {"connection_id":143229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 18:52:36] local.INFO: IMEI acknowledgment sent {"connection_id":143229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:52:37] local.INFO: TCP Data received {"connection_id":144214,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3bb8f70012d1967c0071fee200046011626..."} 
[2026-07-27 18:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3bb8f70012d1967c0071fee200046011626..."} 
[2026-07-27 18:52:37] local.INFO: Processing buffer {"connection_id":144214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3bb8f70012d1967c0071fee200046011626..."} 
[2026-07-27 18:52:37] local.INFO: Packet analysis {"connection_id":144214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3bb"} 
[2026-07-27 18:52:37] local.INFO: Extracted packet for processing {"connection_id":144214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3bb"} 
[2026-07-27 18:52:37] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":38,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 18:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000546560001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 18:52:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 18:52:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785158406000,"timestamp_ms":1785158406000,"timestamp_seconds":1785158406,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3bb8f70"} 
[2026-07-27 18:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:52:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-27 18:52:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:52:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144214,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144214,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:52:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000546560001,"66":12319,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000546560001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:52:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:52:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:52:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 18:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000546560001,"power":12319,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 18:52:37] local.INFO: TCP Data received {"connection_id":143229,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3baa8f8012da8530005dfd2380021013a2a..."} 
[2026-07-27 18:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3baa8f8012da8530005dfd2380021013a2a..."} 
[2026-07-27 18:52:37] local.INFO: Processing buffer {"connection_id":143229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3baa8f8012da8530005dfd2380021013a2a..."} 
[2026-07-27 18:52:37] local.INFO: Packet analysis {"connection_id":143229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3ba"} 
[2026-07-27 18:52:37] local.INFO: Extracted packet for processing {"connection_id":143229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3ba"} 
[2026-07-27 18:52:37] local.INFO: GPS Element Parsed {"raw_longitude":766006016,"raw_latitude":98554424,"longitude_deg":76.6006016,"latitude_deg":9.8554424,"altitude":33,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2da85300","hex_latitude":"05dfd238","is_valid_coordinates":true} 
[2026-07-27 18:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000459776001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359256443599192064,"note":"Value kept but may cause issues"} 
[2026-07-27 18:52:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6317705827040741376,"note":"Value kept but may cause issues"} 
[2026-07-27 18:52:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785158347000,"timestamp_ms":1785158347000,"timestamp_seconds":1785158347,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3baa8f8"} 
[2026-07-27 18:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:52:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 18:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-27 18:52:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:52:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:52:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000459776001,"66":25875,"70":206,"88":19968,"24":0,"16":359256443599192064,"45":-6317705827040741376},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,88,24,16,45]} 
[2026-07-27 18:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000459776001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:52:37] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-27 18:52:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 18:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359256443599192064,"km_value":359256443599192.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:52:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6317705827040741376,"description":"Unknown IO ID 45"} 
[2026-07-27 18:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000459776001,"power":25875,"unknown_70":206,"unknown_88":19968,"ignition":0,"odometer":null,"unknown_45":-6317705827040741376}} 
[2026-07-27 18:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":143229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:52:37] local.INFO: GPS data processed {"connection_id":143229,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:52:37] local.INFO: Acknowledgment sent {"connection_id":143229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":144214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554885,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:52:37] local.INFO: GPS data processed {"connection_id":144214,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:52:37] local.INFO: Acknowledgment sent {"connection_id":144214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:52:44] local.INFO: TCP Data received {"connection_id":144215,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3ba10a0012d7e380005d34d50000000312b..."} 
[2026-07-27 18:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144215,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3ba10a0012d7e380005d34d50000000312b..."} 
[2026-07-27 18:52:44] local.INFO: Processing buffer {"connection_id":144215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3ba10a0012d7e380005d34d50000000312b..."} 
[2026-07-27 18:52:44] local.INFO: Packet analysis {"connection_id":144215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3ba"} 
[2026-07-27 18:52:44] local.INFO: Extracted packet for processing {"connection_id":144215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3ba"} 
[2026-07-27 18:52:44] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733968,"longitude_deg":76.3246592,"latitude_deg":9.7733968,"altitude":0,"angle":49,"satellites":43,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-07-27 18:52:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:52:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000449792001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:52:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111785234072076288,"note":"Value kept but may cause issues"} 
[2026-07-27 18:52:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494612480,"note":"Value kept but may cause issues"} 
[2026-07-27 18:52:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:52:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785158308000,"timestamp_ms":1785158308000,"timestamp_seconds":1785158308,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3ba10a0"} 
[2026-07-27 18:52:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:52:44] 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-07-27 18:52: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":11,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-27 18:52:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2035,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:52:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:52:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:52:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:52:44] local.INFO: Teltonika packet parsed successfully {"connection_id":144215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:52:44] local.INFO: Passing IMEI to GPS processor {"connection_id":144215,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:52:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":144215,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:52:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:52:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 18:52:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 18:52:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000449792001,"66":2209,"109":206,"85":15104,"24":0,"16":111785234072076288,"45":9095019472494612480},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-27 18:52:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 18:52:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 18:52:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000449792001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:52:44] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-27 18:52:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 18:52:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111785234072076288,"km_value":111785234072076.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:52:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494612480,"description":"Unknown IO ID 45"} 
[2026-07-27 18:52:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000449792001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494612480}} 
[2026-07-27 18:52:44] local.INFO: DEBUG: GPS processor result {"connection_id":144215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554886,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:52:44] local.INFO: GPS data processed {"connection_id":144215,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:52:44] local.INFO: Acknowledgment sent {"connection_id":144215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:52:59] local.INFO: TCP Data received {"connection_id":145495,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145495,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:52:59] local.INFO: Processing buffer {"connection_id":145495,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:52:59] local.INFO: IMEI packet received {"connection_id":145495,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 18:52:59] local.INFO: IMEI acknowledgment sent {"connection_id":145495,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:53:04] local.INFO: TCP Data received {"connection_id":145495,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145495,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:53:04] local.INFO: Processing buffer {"connection_id":145495,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:53:04] local.INFO: IMEI packet received {"connection_id":145495,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 18:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":145495,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:53:06] local.INFO: TCP Data received {"connection_id":145495,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3bbe178012d1967c0071fee200046011627..."} 
[2026-07-27 18:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3bbe178012d1967c0071fee200046011627..."} 
[2026-07-27 18:53:06] local.INFO: Processing buffer {"connection_id":145495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3bbe178012d1967c0071fee200046011627..."} 
[2026-07-27 18:53:06] local.INFO: Packet analysis {"connection_id":145495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3bb"} 
[2026-07-27 18:53:06] local.INFO: Extracted packet for processing {"connection_id":145495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3bb"} 
[2026-07-27 18:53:06] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 18:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:53:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000551936001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:53:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 18:53:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 18:53:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:53:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785158427000,"timestamp_ms":1785158427000,"timestamp_seconds":1785158427,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3bbe178"} 
[2026-07-27 18:53:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:53:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 18:53:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:53:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:53:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:53:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:53:06] local.INFO: Teltonika packet parsed successfully {"connection_id":145495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:53:06] local.INFO: Passing IMEI to GPS processor {"connection_id":145495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:53:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":145495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:53:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:53:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:53:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:53:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000551936001,"66":12385,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:53:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:53:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:53:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000551936001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:53:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:53:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:53:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:53:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 18:53:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000551936001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 18:53:06] local.INFO: DEBUG: GPS processor result {"connection_id":145495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554887,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:53:06] local.INFO: GPS data processed {"connection_id":145495,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:53:06] local.INFO: Acknowledgment sent {"connection_id":145495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:53:07] local.INFO: TCP Data received {"connection_id":145496,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145496,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:53:07] local.INFO: Processing buffer {"connection_id":145496,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:53:07] local.INFO: IMEI packet received {"connection_id":145496,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 18:53:07] local.INFO: IMEI acknowledgment sent {"connection_id":145496,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:53:08] local.INFO: TCP Data received {"connection_id":143229,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3baa8f8012da8530005dfd2380021013a2a..."} 
[2026-07-27 18:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3baa8f8012da8530005dfd2380021013a2a..."} 
[2026-07-27 18:53:08] local.INFO: Processing buffer {"connection_id":143229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3baa8f8012da8530005dfd2380021013a2a..."} 
[2026-07-27 18:53:08] local.INFO: Packet analysis {"connection_id":143229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3ba"} 
[2026-07-27 18:53:08] local.INFO: Extracted packet for processing {"connection_id":143229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3ba"} 
[2026-07-27 18:53:08] local.INFO: GPS Element Parsed {"raw_longitude":766006016,"raw_latitude":98554424,"longitude_deg":76.6006016,"latitude_deg":9.8554424,"altitude":33,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2da85300","hex_latitude":"05dfd238","is_valid_coordinates":true} 
[2026-07-27 18:53:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:53:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000459776001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:53:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359256443599192064,"note":"Value kept but may cause issues"} 
[2026-07-27 18:53:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6317705827040741376,"note":"Value kept but may cause issues"} 
[2026-07-27 18:53:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:53:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785158347000,"timestamp_ms":1785158347000,"timestamp_seconds":1785158347,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3baa8f8"} 
[2026-07-27 18:53:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:53:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-27 18:53:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:53:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:53:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:53:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:53:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:53:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:53:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:53:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:53:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:53:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:53:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000459776001,"66":25875,"70":206,"88":19968,"24":0,"16":359256443599192064,"45":-6317705827040741376},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,88,24,16,45]} 
[2026-07-27 18:53:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:53:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:53:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000459776001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:53:08] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-27 18:53:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 18:53:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359256443599192064,"km_value":359256443599192.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:53:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6317705827040741376,"description":"Unknown IO ID 45"} 
[2026-07-27 18:53:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000459776001,"power":25875,"unknown_70":206,"unknown_88":19968,"ignition":0,"odometer":null,"unknown_45":-6317705827040741376}} 
[2026-07-27 18:53:08] local.INFO: DEBUG: GPS processor result {"connection_id":143229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:53:08] local.INFO: GPS data processed {"connection_id":143229,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:53:08] local.INFO: Acknowledgment sent {"connection_id":143229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:53:12] local.INFO: TCP Data received {"connection_id":145496,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145496,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:53:12] local.INFO: Processing buffer {"connection_id":145496,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:53:12] local.INFO: IMEI packet received {"connection_id":145496,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 18:53:12] local.INFO: IMEI acknowledgment sent {"connection_id":145496,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:53:13] local.INFO: TCP Data received {"connection_id":145496,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3ba10a0012d7e380005d34d50000000312b..."} 
[2026-07-27 18:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3ba10a0012d7e380005d34d50000000312b..."} 
[2026-07-27 18:53:13] local.INFO: Processing buffer {"connection_id":145496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3ba10a0012d7e380005d34d50000000312b..."} 
[2026-07-27 18:53:13] local.INFO: Packet analysis {"connection_id":145496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3ba"} 
[2026-07-27 18:53:13] local.INFO: Extracted packet for processing {"connection_id":145496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3ba"} 
[2026-07-27 18:53:13] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733968,"longitude_deg":76.3246592,"latitude_deg":9.7733968,"altitude":0,"angle":49,"satellites":43,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-07-27 18: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-07-27 18:53:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000449792001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:53:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111785234072076288,"note":"Value kept but may cause issues"} 
[2026-07-27 18:53:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494612480,"note":"Value kept but may cause issues"} 
[2026-07-27 18:53:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:53:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785158308000,"timestamp_ms":1785158308000,"timestamp_seconds":1785158308,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3ba10a0"} 
[2026-07-27 18:53:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:53:13] 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-07-27 18: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":11,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-27 18:53:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2035,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18: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-07-27 18:53:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:53:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:53:13] local.INFO: Teltonika packet parsed successfully {"connection_id":145496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:53:13] local.INFO: Passing IMEI to GPS processor {"connection_id":145496,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:53:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":145496,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:53:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:53:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 18:53:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 18:53:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000449792001,"66":2209,"109":206,"85":15104,"24":0,"16":111785234072076288,"45":9095019472494612480},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-27 18:53:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 18:53:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 18:53:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000449792001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:53:13] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-27 18:53:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 18:53:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111785234072076288,"km_value":111785234072076.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:53:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494612480,"description":"Unknown IO ID 45"} 
[2026-07-27 18:53:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000449792001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494612480}} 
[2026-07-27 18:53:13] local.INFO: DEBUG: GPS processor result {"connection_id":145496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554889,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:53:13] local.INFO: GPS data processed {"connection_id":145496,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:53:13] local.INFO: Acknowledgment sent {"connection_id":145496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:53:31] local.INFO: TCP Data received {"connection_id":144216,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:53:31] local.INFO: Processing buffer {"connection_id":144216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:53:31] local.INFO: IMEI packet received {"connection_id":144216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 18:53:31] local.INFO: IMEI acknowledgment sent {"connection_id":144216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:53:36] local.INFO: TCP Data received {"connection_id":144216,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:53:36] local.INFO: Processing buffer {"connection_id":144216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:53:36] local.INFO: IMEI packet received {"connection_id":144216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 18:53:36] local.INFO: IMEI acknowledgment sent {"connection_id":144216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:53:37] local.INFO: TCP Data received {"connection_id":144216,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3baa8f8012da8530005dfd2380021013a2a..."} 
[2026-07-27 18:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3baa8f8012da8530005dfd2380021013a2a..."} 
[2026-07-27 18:53:37] local.INFO: Processing buffer {"connection_id":144216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3baa8f8012da8530005dfd2380021013a2a..."} 
[2026-07-27 18:53:37] local.INFO: Packet analysis {"connection_id":144216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3ba"} 
[2026-07-27 18:53:37] local.INFO: Extracted packet for processing {"connection_id":144216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3ba"} 
[2026-07-27 18:53:37] local.INFO: GPS Element Parsed {"raw_longitude":766006016,"raw_latitude":98554424,"longitude_deg":76.6006016,"latitude_deg":9.8554424,"altitude":33,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2da85300","hex_latitude":"05dfd238","is_valid_coordinates":true} 
[2026-07-27 18:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000459776001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:53:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359256443599192064,"note":"Value kept but may cause issues"} 
[2026-07-27 18:53:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6317705827040741376,"note":"Value kept but may cause issues"} 
[2026-07-27 18:53:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:53:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785158347000,"timestamp_ms":1785158347000,"timestamp_seconds":1785158347,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3baa8f8"} 
[2026-07-27 18:53:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:53:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 18:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-27 18:53:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:53:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:53:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:53:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:53:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:53:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:53:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:53:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:53:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:53:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:53:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000459776001,"66":25875,"70":206,"88":19968,"24":0,"16":359256443599192064,"45":-6317705827040741376},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,88,24,16,45]} 
[2026-07-27 18:53:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:53:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:53:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000459776001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:53:37] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-27 18:53:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 18:53:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359256443599192064,"km_value":359256443599192.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:53:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6317705827040741376,"description":"Unknown IO ID 45"} 
[2026-07-27 18:53:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000459776001,"power":25875,"unknown_70":206,"unknown_88":19968,"ignition":0,"odometer":null,"unknown_45":-6317705827040741376}} 
[2026-07-27 18:53:37] local.INFO: DEBUG: GPS processor result {"connection_id":144216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:53:37] local.INFO: GPS data processed {"connection_id":144216,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:53:37] local.INFO: Acknowledgment sent {"connection_id":144216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:53:38] local.INFO: TCP Data received {"connection_id":145495,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3bc3380012d1967c0071fee200046011622..."} 
[2026-07-27 18:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3bc3380012d1967c0071fee200046011622..."} 
[2026-07-27 18:53:38] local.INFO: Processing buffer {"connection_id":145495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3bc3380012d1967c0071fee200046011622..."} 
[2026-07-27 18:53:38] local.INFO: Packet analysis {"connection_id":145495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3bc"} 
[2026-07-27 18:53:38] local.INFO: Extracted packet for processing {"connection_id":145495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3bc"} 
[2026-07-27 18:53:38] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":34,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 18:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:53:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000557312001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:53:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 18:53:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 18:53:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:53:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785158448000,"timestamp_ms":1785158448000,"timestamp_seconds":1785158448,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3bc3380"} 
[2026-07-27 18:53:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:53:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-27 18:53:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:53:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:53:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:53:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:53:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:53:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:53:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:53:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:53:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:53:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:53:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000557312001,"66":12385,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:53:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:53:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:53:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000557312001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:53:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:53:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:53:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:53:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 18:53:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000557312001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 18:53:38] local.INFO: DEBUG: GPS processor result {"connection_id":145495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554891,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:53:38] local.INFO: GPS data processed {"connection_id":145495,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:53:38] local.INFO: Acknowledgment sent {"connection_id":145495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:53:44] local.INFO: TCP Data received {"connection_id":145496,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3bea868012d7e380005d34d500000003129..."} 
[2026-07-27 18:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3bea868012d7e380005d34d500000003129..."} 
[2026-07-27 18:53:44] local.INFO: Processing buffer {"connection_id":145496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3bea868012d7e380005d34d500000003129..."} 
[2026-07-27 18:53:44] local.INFO: Packet analysis {"connection_id":145496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3be"} 
[2026-07-27 18:53:44] local.INFO: Extracted packet for processing {"connection_id":145496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3be"} 
[2026-07-27 18:53:44] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733968,"longitude_deg":76.3246592,"latitude_deg":9.7733968,"altitude":0,"angle":49,"satellites":41,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-07-27 18:53:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:53:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000526848001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:53:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111785234072076288,"note":"Value kept but may cause issues"} 
[2026-07-27 18:53:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494612480,"note":"Value kept but may cause issues"} 
[2026-07-27 18:53:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:53:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785158609000,"timestamp_ms":1785158609000,"timestamp_seconds":1785158609,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3bea868"} 
[2026-07-27 18:53:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:53:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 18:53:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-27 18:53:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:53:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:53:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:53:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:53:44] local.INFO: Teltonika packet parsed successfully {"connection_id":145496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:53:44] local.INFO: Passing IMEI to GPS processor {"connection_id":145496,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:53:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":145496,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:53:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:53:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 18:53:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 18:53:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000526848001,"66":2209,"109":206,"85":15104,"24":0,"16":111785234072076288,"45":9095019472494612480},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-27 18:53:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 18:53:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 18:53:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000526848001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:53:44] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-27 18:53:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 18:53:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111785234072076288,"km_value":111785234072076.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:53:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494612480,"description":"Unknown IO ID 45"} 
[2026-07-27 18:53:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000526848001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494612480}} 
[2026-07-27 18:53:44] local.INFO: DEBUG: GPS processor result {"connection_id":145496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554892,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:53:44] local.INFO: GPS data processed {"connection_id":145496,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:53:44] local.INFO: Acknowledgment sent {"connection_id":145496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:53:59] local.INFO: TCP Data received {"connection_id":145497,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145497,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:53:59] local.INFO: Processing buffer {"connection_id":145497,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:53:59] local.INFO: IMEI packet received {"connection_id":145497,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 18:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":145497,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:54:04] local.INFO: TCP Data received {"connection_id":145497,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145497,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:54:04] local.INFO: Processing buffer {"connection_id":145497,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:54:04] local.INFO: IMEI packet received {"connection_id":145497,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 18:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":145497,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:54:06] local.INFO: TCP Data received {"connection_id":145497,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3bc8588012d1967c0071fee200046011624..."} 
[2026-07-27 18:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3bc8588012d1967c0071fee200046011624..."} 
[2026-07-27 18:54:06] local.INFO: Processing buffer {"connection_id":145497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3bc8588012d1967c0071fee200046011624..."} 
[2026-07-27 18:54:06] local.INFO: Packet analysis {"connection_id":145497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3bc"} 
[2026-07-27 18:54:06] local.INFO: Extracted packet for processing {"connection_id":145497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3bc"} 
[2026-07-27 18:54:06] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":36,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 18:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:54:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000562688001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:54:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 18:54:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 18:54:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:54:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785158469000,"timestamp_ms":1785158469000,"timestamp_seconds":1785158469,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3bc8588"} 
[2026-07-27 18:54:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:54:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-27 18:54:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:54:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:54:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:54:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:54:06] local.INFO: Teltonika packet parsed successfully {"connection_id":145497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:54:06] local.INFO: Passing IMEI to GPS processor {"connection_id":145497,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:54:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":145497,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:54:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:54:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:54:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:54:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000562688001,"66":12113,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:54:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:54:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:54:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000562688001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:54:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:54:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:54:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:54:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 18:54:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000562688001,"power":12113,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 18:54:06] local.INFO: DEBUG: GPS processor result {"connection_id":145497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554893,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:54:06] local.INFO: GPS data processed {"connection_id":145497,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:54:06] local.INFO: Acknowledgment sent {"connection_id":145497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:54:07] local.INFO: TCP Data received {"connection_id":143230,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143230,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:54:07] local.INFO: Processing buffer {"connection_id":143230,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:54:07] local.INFO: IMEI packet received {"connection_id":143230,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 18:54:07] local.INFO: IMEI acknowledgment sent {"connection_id":143230,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:54:08] local.INFO: TCP Data received {"connection_id":144216,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3baa8f8012da8530005dfd2380021013a2a..."} 
[2026-07-27 18:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3baa8f8012da8530005dfd2380021013a2a..."} 
[2026-07-27 18:54:08] local.INFO: Processing buffer {"connection_id":144216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3baa8f8012da8530005dfd2380021013a2a..."} 
[2026-07-27 18:54:08] local.INFO: Packet analysis {"connection_id":144216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3ba"} 
[2026-07-27 18:54:08] local.INFO: Extracted packet for processing {"connection_id":144216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3ba"} 
[2026-07-27 18:54:08] local.INFO: GPS Element Parsed {"raw_longitude":766006016,"raw_latitude":98554424,"longitude_deg":76.6006016,"latitude_deg":9.8554424,"altitude":33,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2da85300","hex_latitude":"05dfd238","is_valid_coordinates":true} 
[2026-07-27 18:54:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:54:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000459776001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:54:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359256443599192064,"note":"Value kept but may cause issues"} 
[2026-07-27 18:54:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6317705827040741376,"note":"Value kept but may cause issues"} 
[2026-07-27 18:54:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:54:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785158347000,"timestamp_ms":1785158347000,"timestamp_seconds":1785158347,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3baa8f8"} 
[2026-07-27 18:54:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:54:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-27 18:54:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:54:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:54:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:54:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:54:08] local.INFO: Teltonika packet parsed successfully {"connection_id":144216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:54:08] local.INFO: Passing IMEI to GPS processor {"connection_id":144216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:54:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":144216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:54:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:54:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:54:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:54:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000459776001,"66":25875,"70":206,"88":19968,"24":0,"16":359256443599192064,"45":-6317705827040741376},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,88,24,16,45]} 
[2026-07-27 18:54:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:54:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:54:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000459776001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:54:08] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-27 18:54:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 18:54:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359256443599192064,"km_value":359256443599192.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:54:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6317705827040741376,"description":"Unknown IO ID 45"} 
[2026-07-27 18:54:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000459776001,"power":25875,"unknown_70":206,"unknown_88":19968,"ignition":0,"odometer":null,"unknown_45":-6317705827040741376}} 
[2026-07-27 18:54:08] local.INFO: DEBUG: GPS processor result {"connection_id":144216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:54:08] local.INFO: GPS data processed {"connection_id":144216,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:54:08] local.INFO: Acknowledgment sent {"connection_id":144216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:54:13] local.INFO: TCP Data received {"connection_id":143230,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143230,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:54:13] local.INFO: Processing buffer {"connection_id":143230,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:54:13] local.INFO: IMEI packet received {"connection_id":143230,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 18:54:13] local.INFO: IMEI acknowledgment sent {"connection_id":143230,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:54:13] local.INFO: TCP Data received {"connection_id":143230,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3bea868012d7e380005d34d500000003129..."} 
[2026-07-27 18:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3bea868012d7e380005d34d500000003129..."} 
[2026-07-27 18:54:13] local.INFO: Processing buffer {"connection_id":143230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3bea868012d7e380005d34d500000003129..."} 
[2026-07-27 18:54:13] local.INFO: Packet analysis {"connection_id":143230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3be"} 
[2026-07-27 18:54:13] local.INFO: Extracted packet for processing {"connection_id":143230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3be"} 
[2026-07-27 18:54:13] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733968,"longitude_deg":76.3246592,"latitude_deg":9.7733968,"altitude":0,"angle":49,"satellites":41,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-07-27 18: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-07-27 18:54:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000526848001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:54:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111785234072076288,"note":"Value kept but may cause issues"} 
[2026-07-27 18:54:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494612480,"note":"Value kept but may cause issues"} 
[2026-07-27 18:54:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:54:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785158609000,"timestamp_ms":1785158609000,"timestamp_seconds":1785158609,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3bea868"} 
[2026-07-27 18:54:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:54:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 18: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":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-27 18:54:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18: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-07-27 18:54:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:54:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:54:13] local.INFO: Teltonika packet parsed successfully {"connection_id":143230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:54:13] local.INFO: Passing IMEI to GPS processor {"connection_id":143230,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:54:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":143230,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:54:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:54:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 18:54:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 18:54:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000526848001,"66":2209,"109":206,"85":15104,"24":0,"16":111785234072076288,"45":9095019472494612480},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-27 18:54:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 18:54:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 18:54:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000526848001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:54:13] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-27 18:54:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 18:54:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111785234072076288,"km_value":111785234072076.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:54:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494612480,"description":"Unknown IO ID 45"} 
[2026-07-27 18:54:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000526848001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494612480}} 
[2026-07-27 18:54:13] local.INFO: DEBUG: GPS processor result {"connection_id":143230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554895,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:54:13] local.INFO: GPS data processed {"connection_id":143230,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:54:13] local.INFO: Acknowledgment sent {"connection_id":143230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:54:31] local.INFO: TCP Data received {"connection_id":145498,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:54:31] local.INFO: Processing buffer {"connection_id":145498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:54:31] local.INFO: IMEI packet received {"connection_id":145498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 18:54:31] local.INFO: IMEI acknowledgment sent {"connection_id":145498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:54:36] local.INFO: TCP Data received {"connection_id":145498,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:54:36] local.INFO: Processing buffer {"connection_id":145498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:54:36] local.INFO: IMEI packet received {"connection_id":145498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 18:54:36] local.INFO: IMEI acknowledgment sent {"connection_id":145498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:54:37] local.INFO: TCP Data received {"connection_id":145498,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3baa8f8012da8530005dfd2380021013a2a..."} 
[2026-07-27 18:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3baa8f8012da8530005dfd2380021013a2a..."} 
[2026-07-27 18:54:37] local.INFO: Processing buffer {"connection_id":145498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3baa8f8012da8530005dfd2380021013a2a..."} 
[2026-07-27 18:54:37] local.INFO: Packet analysis {"connection_id":145498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3ba"} 
[2026-07-27 18:54:37] local.INFO: Extracted packet for processing {"connection_id":145498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3ba"} 
[2026-07-27 18:54:37] local.INFO: GPS Element Parsed {"raw_longitude":766006016,"raw_latitude":98554424,"longitude_deg":76.6006016,"latitude_deg":9.8554424,"altitude":33,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2da85300","hex_latitude":"05dfd238","is_valid_coordinates":true} 
[2026-07-27 18:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:54:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000459776001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:54:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359256443599192064,"note":"Value kept but may cause issues"} 
[2026-07-27 18:54:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6317705827040741376,"note":"Value kept but may cause issues"} 
[2026-07-27 18:54:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:54:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785158347000,"timestamp_ms":1785158347000,"timestamp_seconds":1785158347,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3baa8f8"} 
[2026-07-27 18:54:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:54:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 18:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-27 18:54:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:54:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:54:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:54:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:54:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:54:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:54:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:54:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:54:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:54:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:54:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000459776001,"66":25875,"70":206,"88":19968,"24":0,"16":359256443599192064,"45":-6317705827040741376},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,88,24,16,45]} 
[2026-07-27 18:54:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:54:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:54:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000459776001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:54:37] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-27 18:54:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 18:54:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359256443599192064,"km_value":359256443599192.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:54:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6317705827040741376,"description":"Unknown IO ID 45"} 
[2026-07-27 18:54:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000459776001,"power":25875,"unknown_70":206,"unknown_88":19968,"ignition":0,"odometer":null,"unknown_45":-6317705827040741376}} 
[2026-07-27 18:54:37] local.INFO: DEBUG: GPS processor result {"connection_id":145498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:54:37] local.INFO: GPS data processed {"connection_id":145498,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:54:37] local.INFO: Acknowledgment sent {"connection_id":145498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:54:43] local.INFO: TCP Data received {"connection_id":145497,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3bcd790012d1967c0071fee200046011627..."} 
[2026-07-27 18:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3bcd790012d1967c0071fee200046011627..."} 
[2026-07-27 18:54:43] local.INFO: Processing buffer {"connection_id":145497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3bcd790012d1967c0071fee200046011627..."} 
[2026-07-27 18:54:43] local.INFO: Packet analysis {"connection_id":145497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3bc"} 
[2026-07-27 18:54:43] local.INFO: Extracted packet for processing {"connection_id":145497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3bc"} 
[2026-07-27 18:54:43] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 18:54:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:54:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000568064001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:54:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 18:54:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 18:54:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:54:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785158490000,"timestamp_ms":1785158490000,"timestamp_seconds":1785158490,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3bcd790"} 
[2026-07-27 18:54:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:54:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18: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":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-07-27 18:54:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1162,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:54:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:54:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:54:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:54:43] local.INFO: Teltonika packet parsed successfully {"connection_id":145497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:54:43] local.INFO: Passing IMEI to GPS processor {"connection_id":145497,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:54:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":145497,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:54:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:54:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:54:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:54:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000568064001,"66":12298,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:54:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:54:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:54:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000568064001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:54:43] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:54:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:54:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:54:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 18:54:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000568064001,"power":12298,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 18:54:43] local.INFO: DEBUG: GPS processor result {"connection_id":145497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554897,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:54:43] local.INFO: GPS data processed {"connection_id":145497,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:54:43] local.INFO: Acknowledgment sent {"connection_id":145497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:54:44] local.INFO: TCP Data received {"connection_id":143230,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3bea868012d7e380005d34d500000003129..."} 
[2026-07-27 18:54:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3bea868012d7e380005d34d500000003129..."} 
[2026-07-27 18:54:44] local.INFO: Processing buffer {"connection_id":143230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3bea868012d7e380005d34d500000003129..."} 
[2026-07-27 18:54:44] local.INFO: Packet analysis {"connection_id":143230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3be"} 
[2026-07-27 18:54:44] local.INFO: Extracted packet for processing {"connection_id":143230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3be"} 
[2026-07-27 18:54:44] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733968,"longitude_deg":76.3246592,"latitude_deg":9.7733968,"altitude":0,"angle":49,"satellites":41,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-07-27 18:54:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:54:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000526848001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:54:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111785234072076288,"note":"Value kept but may cause issues"} 
[2026-07-27 18:54:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494612480,"note":"Value kept but may cause issues"} 
[2026-07-27 18:54:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:54:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785158609000,"timestamp_ms":1785158609000,"timestamp_seconds":1785158609,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3bea868"} 
[2026-07-27 18:54:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:54:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 18:54:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-27 18:54:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:54:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:54:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:54:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:54:44] local.INFO: Teltonika packet parsed successfully {"connection_id":143230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:54:44] local.INFO: Passing IMEI to GPS processor {"connection_id":143230,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:54:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":143230,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:54:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:54:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 18:54:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 18:54:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000526848001,"66":2209,"109":206,"85":15104,"24":0,"16":111785234072076288,"45":9095019472494612480},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-27 18:54:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 18:54:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 18:54:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000526848001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:54:44] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-27 18:54:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 18:54:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111785234072076288,"km_value":111785234072076.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:54:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494612480,"description":"Unknown IO ID 45"} 
[2026-07-27 18:54:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000526848001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494612480}} 
[2026-07-27 18:54:44] local.INFO: DEBUG: GPS processor result {"connection_id":143230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554898,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:54:44] local.INFO: GPS data processed {"connection_id":143230,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:54:44] local.INFO: Acknowledgment sent {"connection_id":143230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:55:04] local.INFO: TCP Data received {"connection_id":145499,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145499,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:55:04] local.INFO: Processing buffer {"connection_id":145499,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:55:04] local.INFO: IMEI packet received {"connection_id":145499,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 18:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":145499,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:55:08] local.INFO: TCP Data received {"connection_id":145498,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3bf40c0012da8530005dfd2380021013a23..."} 
[2026-07-27 18:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3bf40c0012da8530005dfd2380021013a23..."} 
[2026-07-27 18:55:08] local.INFO: Processing buffer {"connection_id":145498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3bf40c0012da8530005dfd2380021013a23..."} 
[2026-07-27 18:55:08] local.INFO: Packet analysis {"connection_id":145498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3bf"} 
[2026-07-27 18:55:08] local.INFO: Extracted packet for processing {"connection_id":145498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3bf"} 
[2026-07-27 18:55:08] local.INFO: GPS Element Parsed {"raw_longitude":766006016,"raw_latitude":98554424,"longitude_deg":76.6006016,"latitude_deg":9.8554424,"altitude":33,"angle":314,"satellites":35,"speed":0,"hex_longitude":"2da85300","hex_latitude":"05dfd238","is_valid_coordinates":true} 
[2026-07-27 18:55:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:55:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000536832001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:55:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359256443599192064,"note":"Value kept but may cause issues"} 
[2026-07-27 18:55:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6317705827040741376,"note":"Value kept but may cause issues"} 
[2026-07-27 18:55:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:55:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785158648000,"timestamp_ms":1785158648000,"timestamp_seconds":1785158648,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3bf40c0"} 
[2026-07-27 18:55:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:55:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 18:55:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-27 18:55:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:55:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:55:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:55:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:55:08] local.INFO: Teltonika packet parsed successfully {"connection_id":145498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:55:08] local.INFO: Passing IMEI to GPS processor {"connection_id":145498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:55:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":145498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:55:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:55:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:55:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:55:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000536832001,"66":25843,"70":206,"88":19968,"24":0,"16":359256443599192064,"45":-6317705827040741376},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,88,24,16,45]} 
[2026-07-27 18:55:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:55:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:55:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000536832001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:55:08] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-27 18:55:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 18:55:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359256443599192064,"km_value":359256443599192.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:55:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6317705827040741376,"description":"Unknown IO ID 45"} 
[2026-07-27 18:55:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000536832001,"power":25843,"unknown_70":206,"unknown_88":19968,"ignition":0,"odometer":null,"unknown_45":-6317705827040741376}} 
[2026-07-27 18:55:08] local.INFO: DEBUG: GPS processor result {"connection_id":145498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:55:08] local.INFO: GPS data processed {"connection_id":145498,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:55:08] local.INFO: Acknowledgment sent {"connection_id":145498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:55:09] local.INFO: TCP Data received {"connection_id":145499,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145499,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:55:09] local.INFO: Processing buffer {"connection_id":145499,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:55:09] local.INFO: IMEI packet received {"connection_id":145499,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 18:55:09] local.INFO: IMEI acknowledgment sent {"connection_id":145499,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:55:12] local.INFO: TCP Data received {"connection_id":145499,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3bd2998012d1967c0071fee200046011624..."} 
[2026-07-27 18:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3bd2998012d1967c0071fee200046011624..."} 
[2026-07-27 18:55:12] local.INFO: Processing buffer {"connection_id":145499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3bd2998012d1967c0071fee200046011624..."} 
[2026-07-27 18:55:12] local.INFO: Packet analysis {"connection_id":145499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3bd"} 
[2026-07-27 18:55:12] local.INFO: Extracted packet for processing {"connection_id":145499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3bd"} 
[2026-07-27 18:55:12] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":36,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 18: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-07-27 18:55:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000573440001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:55:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 18:55:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 18:55:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:55:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785158511000,"timestamp_ms":1785158511000,"timestamp_seconds":1785158511,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3bd2998"} 
[2026-07-27 18:55:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:55:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-27 18:55:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-27 18:55:12] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168048982131200,"note":"Value kept but may cause issues"} 
[2026-07-27 18:55:12] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452319,"note":"Value kept but may cause issues"} 
[2026-07-27 18:55:12] local.WARNING: Large IO value detected {"io_id":222,"raw_value":-6917529027641081855,"note":"Value kept but may cause issues"} 
[2026-07-27 18:55:12] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-6648833296603211417,"note":"Value kept but may cause issues"} 
[2026-07-27 18:55:12] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513390703754477846,"note":"Value kept but may cause issues"} 
[2026-07-27 18:55:12] local.WARNING: Large IO value detected {"io_id":70,"raw_value":78288526432534528,"note":"Value kept but may cause issues"} 
[2026-07-27 18:55:12] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832605,"note":"Value kept but may cause issues"} 
[2026-07-27 18:55:12] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3486068470913237198,"note":"Value kept but may cause issues"} 
[2026-07-27 18:55:12] local.WARNING: Large IO value detected {"io_id":163,"raw_value":3146739713,"note":"Value kept but may cause issues"} 
[2026-07-27 18:55:12] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3735027712,"note":"Value kept but may cause issues"} 
[2026-07-27 18:55:12] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-27 18:55:12] local.WARNING: Large IO value detected {"io_id":103,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-07-27 18:55:12] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,121,28,24,241,158,16,222,159,133,45,192,238,70,36,10,66,51,34,225,1,240,97,163,31,4,113,205,61,103,32,39,239,48,2,7,35],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-07-27 18:55:12] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5044337414391201792,"timestamp_seconds":5044337414391202.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 18:55:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:55:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:55:12] local.INFO: Teltonika packet parsed successfully {"connection_id":145499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:55:12] local.INFO: Passing IMEI to GPS processor {"connection_id":145499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:55:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":145499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:55:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:55:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:55:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:55:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000573440001,"66":12385,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:55:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:55:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:55:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000573440001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:55:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:55:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:55:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:55:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 18:55:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000573440001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 18:55:12] local.INFO: DEBUG: GPS processor result {"connection_id":145499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554900,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:55:12] local.INFO: GPS data processed {"connection_id":145499,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:55:12] local.INFO: Acknowledgment sent {"connection_id":145499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:55:12] local.INFO: TCP Data received {"connection_id":144217,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144217,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:55:13] local.INFO: Processing buffer {"connection_id":144217,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:55:13] local.INFO: IMEI packet received {"connection_id":144217,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 18:55:13] local.INFO: IMEI acknowledgment sent {"connection_id":144217,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:55:18] local.INFO: TCP Data received {"connection_id":144217,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144217,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:55:18] local.INFO: Processing buffer {"connection_id":144217,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:55:18] local.INFO: IMEI packet received {"connection_id":144217,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 18:55:18] local.INFO: IMEI acknowledgment sent {"connection_id":144217,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:55:18] local.INFO: TCP Data received {"connection_id":144217,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3bea868012d7e380005d34d500000003129..."} 
[2026-07-27 18:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144217,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3bea868012d7e380005d34d500000003129..."} 
[2026-07-27 18:55:18] local.INFO: Processing buffer {"connection_id":144217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3bea868012d7e380005d34d500000003129..."} 
[2026-07-27 18:55:18] local.INFO: Packet analysis {"connection_id":144217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3be"} 
[2026-07-27 18:55:18] local.INFO: Extracted packet for processing {"connection_id":144217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3be"} 
[2026-07-27 18:55:18] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733968,"longitude_deg":76.3246592,"latitude_deg":9.7733968,"altitude":0,"angle":49,"satellites":41,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-07-27 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-07-27 18:55:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000526848001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:55:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111785234072076288,"note":"Value kept but may cause issues"} 
[2026-07-27 18:55:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494612480,"note":"Value kept but may cause issues"} 
[2026-07-27 18:55:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:55:18] local.INFO: AVL Record Parsed {"raw_timestamp":1785158609000,"timestamp_ms":1785158609000,"timestamp_seconds":1785158609,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3bea868"} 
[2026-07-27 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-07-27 18:55: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-07-27 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":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-27 18:55:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18: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-07-27 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-07-27 18:55:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:55:18] local.INFO: Teltonika packet parsed successfully {"connection_id":144217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:55:18] local.INFO: Passing IMEI to GPS processor {"connection_id":144217,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:55:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":144217,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:55:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:55:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 18:55:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 18:55:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000526848001,"66":2209,"109":206,"85":15104,"24":0,"16":111785234072076288,"45":9095019472494612480},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-27 18:55:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 18:55:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 18:55:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000526848001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:55:18] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-27 18:55:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 18:55:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111785234072076288,"km_value":111785234072076.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:55:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494612480,"description":"Unknown IO ID 45"} 
[2026-07-27 18:55:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000526848001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494612480}} 
[2026-07-27 18:55:18] local.INFO: DEBUG: GPS processor result {"connection_id":144217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554901,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:55:18] local.INFO: GPS data processed {"connection_id":144217,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:55:18] local.INFO: Acknowledgment sent {"connection_id":144217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:55:21] local.INFO: TCP Data received {"connection_id":145499,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3bd7ba0012d1967c0071fee200046011624..."} 
[2026-07-27 18:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3bd7ba0012d1967c0071fee200046011624..."} 
[2026-07-27 18:55:21] local.INFO: Processing buffer {"connection_id":145499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3bd7ba0012d1967c0071fee200046011624..."} 
[2026-07-27 18:55:21] local.INFO: Packet analysis {"connection_id":145499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3bd"} 
[2026-07-27 18:55:21] local.INFO: Extracted packet for processing {"connection_id":145499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3bd"} 
[2026-07-27 18:55:21] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":36,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 18:55:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:55:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000578816001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:55:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 18:55:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 18:55: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-07-27 18:55:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785158532000,"timestamp_ms":1785158532000,"timestamp_seconds":1785158532,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3bd7ba0"} 
[2026-07-27 18:55:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:55:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:55:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-27 18:55:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:55:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:55:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:55:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:55:21] local.INFO: Teltonika packet parsed successfully {"connection_id":145499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:55:21] local.INFO: Passing IMEI to GPS processor {"connection_id":145499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:55:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":145499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:55:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:55:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:55:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:55:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000578816001,"66":12319,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:55:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:55:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:55:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000578816001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:55:21] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:55:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:55:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:55:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 18:55:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000578816001,"power":12319,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 18:55:21] local.INFO: DEBUG: GPS processor result {"connection_id":145499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554902,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:55:21] local.INFO: GPS data processed {"connection_id":145499,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:55:21] local.INFO: Acknowledgment sent {"connection_id":145499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:55:23] local.INFO: TCP Data received {"connection_id":144217,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3bea868012d7e380005d34d500000003129..."} 
[2026-07-27 18:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144217,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3bea868012d7e380005d34d500000003129..."} 
[2026-07-27 18:55:23] local.INFO: Processing buffer {"connection_id":144217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3bea868012d7e380005d34d500000003129..."} 
[2026-07-27 18:55:23] local.INFO: Packet analysis {"connection_id":144217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3be"} 
[2026-07-27 18:55:23] local.INFO: Extracted packet for processing {"connection_id":144217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3be"} 
[2026-07-27 18:55:23] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733968,"longitude_deg":76.3246592,"latitude_deg":9.7733968,"altitude":0,"angle":49,"satellites":41,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-07-27 18:55:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:55:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000526848001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:55:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111785234072076288,"note":"Value kept but may cause issues"} 
[2026-07-27 18:55:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494612480,"note":"Value kept but may cause issues"} 
[2026-07-27 18:55:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:55:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785158609000,"timestamp_ms":1785158609000,"timestamp_seconds":1785158609,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3bea868"} 
[2026-07-27 18:55:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:55:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 18:55:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-27 18:55:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:55:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:55:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:55:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:55:23] local.INFO: Teltonika packet parsed successfully {"connection_id":144217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:55:23] local.INFO: Passing IMEI to GPS processor {"connection_id":144217,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:55:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":144217,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:55:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:55:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 18:55:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 18:55:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000526848001,"66":2209,"109":206,"85":15104,"24":0,"16":111785234072076288,"45":9095019472494612480},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-27 18:55:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 18:55:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 18:55:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000526848001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:55:23] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-27 18:55:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 18:55:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111785234072076288,"km_value":111785234072076.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:55:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494612480,"description":"Unknown IO ID 45"} 
[2026-07-27 18:55:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000526848001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494612480}} 
[2026-07-27 18:55:23] local.INFO: DEBUG: GPS processor result {"connection_id":144217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554903,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:55:23] local.INFO: GPS data processed {"connection_id":144217,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:55:23] local.INFO: Acknowledgment sent {"connection_id":144217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:55:32] local.INFO: TCP Data received {"connection_id":143231,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:55:32] local.INFO: Processing buffer {"connection_id":143231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:55:32] local.INFO: IMEI packet received {"connection_id":143231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 18:55:32] local.INFO: IMEI acknowledgment sent {"connection_id":143231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:55:36] local.INFO: TCP Data received {"connection_id":143231,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:55:36] local.INFO: Processing buffer {"connection_id":143231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:55:36] local.INFO: IMEI packet received {"connection_id":143231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 18:55:36] local.INFO: IMEI acknowledgment sent {"connection_id":143231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:55:37] local.INFO: TCP Data received {"connection_id":143231,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3bf40c0012da8530005dfd2380021013a23..."} 
[2026-07-27 18:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3bf40c0012da8530005dfd2380021013a23..."} 
[2026-07-27 18:55:37] local.INFO: Processing buffer {"connection_id":143231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3bf40c0012da8530005dfd2380021013a23..."} 
[2026-07-27 18:55:37] local.INFO: Packet analysis {"connection_id":143231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3bf"} 
[2026-07-27 18:55:37] local.INFO: Extracted packet for processing {"connection_id":143231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3bf"} 
[2026-07-27 18:55:37] local.INFO: GPS Element Parsed {"raw_longitude":766006016,"raw_latitude":98554424,"longitude_deg":76.6006016,"latitude_deg":9.8554424,"altitude":33,"angle":314,"satellites":35,"speed":0,"hex_longitude":"2da85300","hex_latitude":"05dfd238","is_valid_coordinates":true} 
[2026-07-27 18:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:55:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000536832001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:55:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359256443599192064,"note":"Value kept but may cause issues"} 
[2026-07-27 18:55:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6317705827040741376,"note":"Value kept but may cause issues"} 
[2026-07-27 18:55:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:55:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785158648000,"timestamp_ms":1785158648000,"timestamp_seconds":1785158648,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3bf40c0"} 
[2026-07-27 18:55:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:55:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 18:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-27 18:55:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:55:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:55:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:55:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:55:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:55:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:55:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:55:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:55:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:55:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:55:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000536832001,"66":25843,"70":206,"88":19968,"24":0,"16":359256443599192064,"45":-6317705827040741376},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,88,24,16,45]} 
[2026-07-27 18:55:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:55:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:55:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000536832001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:55:37] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-27 18:55:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 18:55:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359256443599192064,"km_value":359256443599192.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:55:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6317705827040741376,"description":"Unknown IO ID 45"} 
[2026-07-27 18:55:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000536832001,"power":25843,"unknown_70":206,"unknown_88":19968,"ignition":0,"odometer":null,"unknown_45":-6317705827040741376}} 
[2026-07-27 18:55:37] local.INFO: DEBUG: GPS processor result {"connection_id":143231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:55:37] local.INFO: GPS data processed {"connection_id":143231,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:55:37] local.INFO: Acknowledgment sent {"connection_id":143231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:56:00] local.INFO: TCP Data received {"connection_id":144218,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144218,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:56:00] local.INFO: Processing buffer {"connection_id":144218,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:56:00] local.INFO: IMEI packet received {"connection_id":144218,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 18:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":144218,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:56:00] local.INFO: TCP Data received {"connection_id":144218,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144218,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:56:00] local.INFO: Processing buffer {"connection_id":144218,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:56:00] local.INFO: IMEI packet received {"connection_id":144218,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 18:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":144218,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:56:04] local.INFO: TCP Data received {"connection_id":144218,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144218,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:56:04] local.INFO: Processing buffer {"connection_id":144218,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:56:04] local.INFO: IMEI packet received {"connection_id":144218,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 18:56:04] local.INFO: IMEI acknowledgment sent {"connection_id":144218,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:56:06] local.INFO: TCP Data received {"connection_id":144218,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3bdcda8012d1967c0071fee200046011627..."} 
[2026-07-27 18:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144218,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3bdcda8012d1967c0071fee200046011627..."} 
[2026-07-27 18:56:06] local.INFO: Processing buffer {"connection_id":144218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3bdcda8012d1967c0071fee200046011627..."} 
[2026-07-27 18:56:06] local.INFO: Packet analysis {"connection_id":144218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3bd"} 
[2026-07-27 18:56:06] local.INFO: Extracted packet for processing {"connection_id":144218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3bd"} 
[2026-07-27 18:56:06] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 18:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000584192001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 18:56:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 18:56:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785158553000,"timestamp_ms":1785158553000,"timestamp_seconds":1785158553,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3bdcda8"} 
[2026-07-27 18:56:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:56:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 18:56:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:56:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:56:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":144218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":144218,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":144218,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:56:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000584192001,"66":12341,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000584192001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:56:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:56:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:56:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 18:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000584192001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 18:56:06] local.INFO: DEBUG: GPS processor result {"connection_id":144218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554905,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:56:06] local.INFO: GPS data processed {"connection_id":144218,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:56:06] local.INFO: Acknowledgment sent {"connection_id":144218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:56:07] local.INFO: TCP Data received {"connection_id":143090,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143090,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:56:07] local.INFO: Processing buffer {"connection_id":143090,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:56:07] local.INFO: IMEI packet received {"connection_id":143090,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 18:56:07] local.INFO: IMEI acknowledgment sent {"connection_id":143090,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:56:08] local.INFO: TCP Data received {"connection_id":143231,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3bf40c0012da8530005dfd2380021013a23..."} 
[2026-07-27 18:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3bf40c0012da8530005dfd2380021013a23..."} 
[2026-07-27 18:56:08] local.INFO: Processing buffer {"connection_id":143231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3bf40c0012da8530005dfd2380021013a23..."} 
[2026-07-27 18:56:08] local.INFO: Packet analysis {"connection_id":143231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3bf"} 
[2026-07-27 18:56:08] local.INFO: Extracted packet for processing {"connection_id":143231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3bf"} 
[2026-07-27 18:56:08] local.INFO: GPS Element Parsed {"raw_longitude":766006016,"raw_latitude":98554424,"longitude_deg":76.6006016,"latitude_deg":9.8554424,"altitude":33,"angle":314,"satellites":35,"speed":0,"hex_longitude":"2da85300","hex_latitude":"05dfd238","is_valid_coordinates":true} 
[2026-07-27 18:56:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:56:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000536832001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:56:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359256443599192064,"note":"Value kept but may cause issues"} 
[2026-07-27 18:56:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6317705827040741376,"note":"Value kept but may cause issues"} 
[2026-07-27 18:56:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:56:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785158648000,"timestamp_ms":1785158648000,"timestamp_seconds":1785158648,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3bf40c0"} 
[2026-07-27 18:56:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:56:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 18:56:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-27 18:56:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:56:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:56:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:56:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:56:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:56:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:56:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:56:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:56:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:56:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:56:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000536832001,"66":25843,"70":206,"88":19968,"24":0,"16":359256443599192064,"45":-6317705827040741376},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,88,24,16,45]} 
[2026-07-27 18:56:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:56:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:56:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000536832001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:56:08] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-27 18:56:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 18:56:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359256443599192064,"km_value":359256443599192.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:56:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6317705827040741376,"description":"Unknown IO ID 45"} 
[2026-07-27 18:56:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000536832001,"power":25843,"unknown_70":206,"unknown_88":19968,"ignition":0,"odometer":null,"unknown_45":-6317705827040741376}} 
[2026-07-27 18:56:08] local.INFO: DEBUG: GPS processor result {"connection_id":143231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:56:08] local.INFO: GPS data processed {"connection_id":143231,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:56:08] local.INFO: Acknowledgment sent {"connection_id":143231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:56:10] local.INFO: TCP Data received {"connection_id":144218,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3be1fb0012d1967c0071fee200046011627..."} 
[2026-07-27 18:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144218,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3be1fb0012d1967c0071fee200046011627..."} 
[2026-07-27 18:56:10] local.INFO: Processing buffer {"connection_id":144218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3be1fb0012d1967c0071fee200046011627..."} 
[2026-07-27 18:56:10] local.INFO: Packet analysis {"connection_id":144218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3be"} 
[2026-07-27 18:56:10] local.INFO: Extracted packet for processing {"connection_id":144218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3be"} 
[2026-07-27 18:56:10] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 18:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:56:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000589568001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:56:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 18:56:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 18:56:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:56:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785158574000,"timestamp_ms":1785158574000,"timestamp_seconds":1785158574,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3be1fb0"} 
[2026-07-27 18:56:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:56:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 18:56:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:56:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:56:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:56:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:56:10] local.INFO: Teltonika packet parsed successfully {"connection_id":144218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:56:10] local.INFO: Passing IMEI to GPS processor {"connection_id":144218,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:56:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":144218,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:56:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:56:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:56:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:56:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000589568001,"66":11993,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:56:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:56:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:56:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000589568001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:56:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:56:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:56:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:56:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 18:56:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000589568001,"power":11993,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 18:56:10] local.INFO: DEBUG: GPS processor result {"connection_id":144218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554907,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:56:10] local.INFO: GPS data processed {"connection_id":144218,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:56:10] local.INFO: Acknowledgment sent {"connection_id":144218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:56:13] local.INFO: TCP Data received {"connection_id":143090,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143090,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:56:13] local.INFO: Processing buffer {"connection_id":143090,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:56:13] local.INFO: IMEI packet received {"connection_id":143090,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 18:56:13] local.INFO: IMEI acknowledgment sent {"connection_id":143090,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:56:13] local.INFO: TCP Data received {"connection_id":143090,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3bea868012d7e380005d34d500000003129..."} 
[2026-07-27 18:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3bea868012d7e380005d34d500000003129..."} 
[2026-07-27 18:56:13] local.INFO: Processing buffer {"connection_id":143090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3bea868012d7e380005d34d500000003129..."} 
[2026-07-27 18:56:13] local.INFO: Packet analysis {"connection_id":143090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3be"} 
[2026-07-27 18:56:13] local.INFO: Extracted packet for processing {"connection_id":143090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3be"} 
[2026-07-27 18:56:13] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733968,"longitude_deg":76.3246592,"latitude_deg":9.7733968,"altitude":0,"angle":49,"satellites":41,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-07-27 18:56:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:56:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000526848001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:56:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111785234072076288,"note":"Value kept but may cause issues"} 
[2026-07-27 18:56:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494612480,"note":"Value kept but may cause issues"} 
[2026-07-27 18:56:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:56:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785158609000,"timestamp_ms":1785158609000,"timestamp_seconds":1785158609,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3bea868"} 
[2026-07-27 18:56:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:56:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 18:56:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-27 18:56:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:56:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:56:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:56:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:56:13] local.INFO: Teltonika packet parsed successfully {"connection_id":143090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:56:13] local.INFO: Passing IMEI to GPS processor {"connection_id":143090,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:56:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":143090,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:56:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:56:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 18:56:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 18:56:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000526848001,"66":2209,"109":206,"85":15104,"24":0,"16":111785234072076288,"45":9095019472494612480},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-27 18:56:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 18:56:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 18:56:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000526848001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:56:13] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-27 18:56:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 18:56:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111785234072076288,"km_value":111785234072076.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:56:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494612480,"description":"Unknown IO ID 45"} 
[2026-07-27 18:56:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000526848001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494612480}} 
[2026-07-27 18:56:13] local.INFO: DEBUG: GPS processor result {"connection_id":143090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554908,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:56:13] local.INFO: GPS data processed {"connection_id":143090,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:56:13] local.INFO: Acknowledgment sent {"connection_id":143090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:56:32] local.INFO: TCP Data received {"connection_id":143091,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:56:32] local.INFO: Processing buffer {"connection_id":143091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:56:32] local.INFO: IMEI packet received {"connection_id":143091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 18:56:32] local.INFO: IMEI acknowledgment sent {"connection_id":143091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:56:36] local.INFO: TCP Data received {"connection_id":143091,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:56:36] local.INFO: Processing buffer {"connection_id":143091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:56:36] local.INFO: IMEI packet received {"connection_id":143091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 18:56:36] local.INFO: IMEI acknowledgment sent {"connection_id":143091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:56:37] local.INFO: TCP Data received {"connection_id":143091,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3bf40c0012da8530005dfd2380021013a23..."} 
[2026-07-27 18:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3bf40c0012da8530005dfd2380021013a23..."} 
[2026-07-27 18:56:37] local.INFO: Processing buffer {"connection_id":143091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3bf40c0012da8530005dfd2380021013a23..."} 
[2026-07-27 18:56:37] local.INFO: Packet analysis {"connection_id":143091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3bf"} 
[2026-07-27 18:56:37] local.INFO: Extracted packet for processing {"connection_id":143091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3bf"} 
[2026-07-27 18:56:37] local.INFO: GPS Element Parsed {"raw_longitude":766006016,"raw_latitude":98554424,"longitude_deg":76.6006016,"latitude_deg":9.8554424,"altitude":33,"angle":314,"satellites":35,"speed":0,"hex_longitude":"2da85300","hex_latitude":"05dfd238","is_valid_coordinates":true} 
[2026-07-27 18:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000536832001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359256443599192064,"note":"Value kept but may cause issues"} 
[2026-07-27 18:56:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6317705827040741376,"note":"Value kept but may cause issues"} 
[2026-07-27 18:56:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785158648000,"timestamp_ms":1785158648000,"timestamp_seconds":1785158648,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3bf40c0"} 
[2026-07-27 18:56:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:56:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 18:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-27 18:56:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:56:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:56:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:56:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000536832001,"66":25843,"70":206,"88":19968,"24":0,"16":359256443599192064,"45":-6317705827040741376},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,88,24,16,45]} 
[2026-07-27 18:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000536832001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:56:37] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-27 18:56:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 18:56:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359256443599192064,"km_value":359256443599192.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:56:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6317705827040741376,"description":"Unknown IO ID 45"} 
[2026-07-27 18:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000536832001,"power":25843,"unknown_70":206,"unknown_88":19968,"ignition":0,"odometer":null,"unknown_45":-6317705827040741376}} 
[2026-07-27 18:56:37] local.INFO: DEBUG: GPS processor result {"connection_id":143091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:56:37] local.INFO: GPS data processed {"connection_id":143091,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:56:37] local.INFO: Acknowledgment sent {"connection_id":143091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:56:42] local.INFO: TCP Data received {"connection_id":144218,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3be71b8012d1967c0071fee200046011626..."} 
[2026-07-27 18:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144218,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3be71b8012d1967c0071fee200046011626..."} 
[2026-07-27 18:56:42] local.INFO: Processing buffer {"connection_id":144218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3be71b8012d1967c0071fee200046011626..."} 
[2026-07-27 18:56:42] local.INFO: Packet analysis {"connection_id":144218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3be"} 
[2026-07-27 18:56:42] local.INFO: Extracted packet for processing {"connection_id":144218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3be"} 
[2026-07-27 18:56:42] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":38,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 18: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-07-27 18:56:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000594944001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:56:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 18:56:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 18:56:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:56:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785158595000,"timestamp_ms":1785158595000,"timestamp_seconds":1785158595,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3be71b8"} 
[2026-07-27 18:56:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:56:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18: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":46,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-27 18:56:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2381,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18: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-07-27 18:56:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:56:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:56:42] local.INFO: Teltonika packet parsed successfully {"connection_id":144218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:56:42] local.INFO: Passing IMEI to GPS processor {"connection_id":144218,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:56:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":144218,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:56:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:56:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:56:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:56:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000594944001,"66":12341,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:56:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:56:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:56:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000594944001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:56:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:56:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:56:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:56:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 18:56:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000594944001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 18:56:42] local.INFO: DEBUG: GPS processor result {"connection_id":144218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554910,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:56:42] local.INFO: GPS data processed {"connection_id":144218,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:56:42] local.INFO: Acknowledgment sent {"connection_id":144218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:56:44] local.INFO: TCP Data received {"connection_id":143090,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3bea868012d7e380005d34d500000003129..."} 
[2026-07-27 18:56:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3bea868012d7e380005d34d500000003129..."} 
[2026-07-27 18:56:44] local.INFO: Processing buffer {"connection_id":143090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3bea868012d7e380005d34d500000003129..."} 
[2026-07-27 18:56:44] local.INFO: Packet analysis {"connection_id":143090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3be"} 
[2026-07-27 18:56:44] local.INFO: Extracted packet for processing {"connection_id":143090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3be"} 
[2026-07-27 18:56:44] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733968,"longitude_deg":76.3246592,"latitude_deg":9.7733968,"altitude":0,"angle":49,"satellites":41,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-07-27 18:56:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:56:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000526848001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:56:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111785234072076288,"note":"Value kept but may cause issues"} 
[2026-07-27 18:56:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494612480,"note":"Value kept but may cause issues"} 
[2026-07-27 18:56:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:56:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785158609000,"timestamp_ms":1785158609000,"timestamp_seconds":1785158609,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3bea868"} 
[2026-07-27 18:56:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:56:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 18:56:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-27 18:56:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:56:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:56:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:56:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:56:44] local.INFO: Teltonika packet parsed successfully {"connection_id":143090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:56:44] local.INFO: Passing IMEI to GPS processor {"connection_id":143090,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:56:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":143090,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:56:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:56:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 18:56:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 18:56:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000526848001,"66":2209,"109":206,"85":15104,"24":0,"16":111785234072076288,"45":9095019472494612480},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-27 18:56:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 18:56:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 18:56:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000526848001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:56:44] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-27 18:56:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 18:56:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111785234072076288,"km_value":111785234072076.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:56:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494612480,"description":"Unknown IO ID 45"} 
[2026-07-27 18:56:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000526848001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494612480}} 
[2026-07-27 18:56:44] local.INFO: DEBUG: GPS processor result {"connection_id":143090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554911,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:56:44] local.INFO: GPS data processed {"connection_id":143090,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:56:44] local.INFO: Acknowledgment sent {"connection_id":143090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:56:59] local.INFO: TCP Data received {"connection_id":144219,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144219,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:56:59] local.INFO: Processing buffer {"connection_id":144219,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:56:59] local.INFO: IMEI packet received {"connection_id":144219,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 18:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":144219,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:57:02] local.INFO: TCP Data received {"connection_id":144219,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144219,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:57:02] local.INFO: Processing buffer {"connection_id":144219,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:57:02] local.INFO: IMEI packet received {"connection_id":144219,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 18:57:02] local.INFO: IMEI acknowledgment sent {"connection_id":144219,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:57:03] local.INFO: TCP Data received {"connection_id":144219,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3bec3c0012d1967c0071fee200046011625..."} 
[2026-07-27 18:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3bec3c0012d1967c0071fee200046011625..."} 
[2026-07-27 18:57:03] local.INFO: Processing buffer {"connection_id":144219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3bec3c0012d1967c0071fee200046011625..."} 
[2026-07-27 18:57:03] local.INFO: Packet analysis {"connection_id":144219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3be"} 
[2026-07-27 18:57:03] local.INFO: Extracted packet for processing {"connection_id":144219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3be"} 
[2026-07-27 18:57:03] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":37,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 18:57:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:57:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000600320001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:57:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 18:57:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 18:57:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:57:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785158616000,"timestamp_ms":1785158616000,"timestamp_seconds":1785158616,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3bec3c0"} 
[2026-07-27 18:57:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:57:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:57:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 18:57:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:57:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:57:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:57:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:57:03] local.INFO: Teltonika packet parsed successfully {"connection_id":144219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:57:03] local.INFO: Passing IMEI to GPS processor {"connection_id":144219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:57:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":144219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:57:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:57:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:57:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:57:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000600320001,"66":12298,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:57:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:57:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:57:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000600320001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:57:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:57:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:57:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:57:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 18:57:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000600320001,"power":12298,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 18:57:03] local.INFO: DEBUG: GPS processor result {"connection_id":144219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554912,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:57:03] local.INFO: GPS data processed {"connection_id":144219,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:57:03] local.INFO: Acknowledgment sent {"connection_id":144219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:57:07] local.INFO: TCP Data received {"connection_id":144220,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144220,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:57:07] local.INFO: Processing buffer {"connection_id":144220,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:57:07] local.INFO: IMEI packet received {"connection_id":144220,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 18:57:07] local.INFO: IMEI acknowledgment sent {"connection_id":144220,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:57:08] local.INFO: TCP Data received {"connection_id":143091,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3bf40c0012da8530005dfd2380021013a23..."} 
[2026-07-27 18:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3bf40c0012da8530005dfd2380021013a23..."} 
[2026-07-27 18:57:08] local.INFO: Processing buffer {"connection_id":143091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3bf40c0012da8530005dfd2380021013a23..."} 
[2026-07-27 18:57:08] local.INFO: Packet analysis {"connection_id":143091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3bf"} 
[2026-07-27 18:57:08] local.INFO: Extracted packet for processing {"connection_id":143091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3bf"} 
[2026-07-27 18:57:08] local.INFO: GPS Element Parsed {"raw_longitude":766006016,"raw_latitude":98554424,"longitude_deg":76.6006016,"latitude_deg":9.8554424,"altitude":33,"angle":314,"satellites":35,"speed":0,"hex_longitude":"2da85300","hex_latitude":"05dfd238","is_valid_coordinates":true} 
[2026-07-27 18:57:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:57:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000536832001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:57:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359256443599192064,"note":"Value kept but may cause issues"} 
[2026-07-27 18:57:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6317705827040741376,"note":"Value kept but may cause issues"} 
[2026-07-27 18:57:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:57:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785158648000,"timestamp_ms":1785158648000,"timestamp_seconds":1785158648,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3bf40c0"} 
[2026-07-27 18:57:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:57:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-27 18:57:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:57:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:57:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:57:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:57:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:57:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:57:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:57:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:57:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:57:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:57:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000536832001,"66":25843,"70":206,"88":19968,"24":0,"16":359256443599192064,"45":-6317705827040741376},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,88,24,16,45]} 
[2026-07-27 18:57:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:57:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:57:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000536832001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:57:08] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-27 18:57:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 18:57:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359256443599192064,"km_value":359256443599192.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:57:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6317705827040741376,"description":"Unknown IO ID 45"} 
[2026-07-27 18:57:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000536832001,"power":25843,"unknown_70":206,"unknown_88":19968,"ignition":0,"odometer":null,"unknown_45":-6317705827040741376}} 
[2026-07-27 18:57:08] local.INFO: DEBUG: GPS processor result {"connection_id":143091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:57:08] local.INFO: GPS data processed {"connection_id":143091,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:57:08] local.INFO: Acknowledgment sent {"connection_id":143091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:57:12] local.INFO: TCP Data received {"connection_id":144220,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144220,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:57:12] local.INFO: Processing buffer {"connection_id":144220,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:57:12] local.INFO: IMEI packet received {"connection_id":144220,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 18:57:12] local.INFO: IMEI acknowledgment sent {"connection_id":144220,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:57:13] local.INFO: TCP Data received {"connection_id":144220,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3bea868012d7e380005d34d500000003129..."} 
[2026-07-27 18:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144220,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3bea868012d7e380005d34d500000003129..."} 
[2026-07-27 18:57:13] local.INFO: Processing buffer {"connection_id":144220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3bea868012d7e380005d34d500000003129..."} 
[2026-07-27 18:57:13] local.INFO: Packet analysis {"connection_id":144220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3be"} 
[2026-07-27 18:57:13] local.INFO: Extracted packet for processing {"connection_id":144220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3be"} 
[2026-07-27 18:57:13] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733968,"longitude_deg":76.3246592,"latitude_deg":9.7733968,"altitude":0,"angle":49,"satellites":41,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-07-27 18: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-07-27 18:57:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000526848001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:57:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111785234072076288,"note":"Value kept but may cause issues"} 
[2026-07-27 18:57:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494612480,"note":"Value kept but may cause issues"} 
[2026-07-27 18:57:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:57:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785158609000,"timestamp_ms":1785158609000,"timestamp_seconds":1785158609,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3bea868"} 
[2026-07-27 18:57:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:57:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 18: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":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-27 18:57:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18: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-07-27 18:57:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:57:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:57:13] local.INFO: Teltonika packet parsed successfully {"connection_id":144220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:57:13] local.INFO: Passing IMEI to GPS processor {"connection_id":144220,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:57:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":144220,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:57:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:57:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 18:57:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 18:57:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000526848001,"66":2209,"109":206,"85":15104,"24":0,"16":111785234072076288,"45":9095019472494612480},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-27 18:57:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 18:57:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 18:57:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000526848001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:57:13] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-27 18:57:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 18:57:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111785234072076288,"km_value":111785234072076.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:57:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494612480,"description":"Unknown IO ID 45"} 
[2026-07-27 18:57:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000526848001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494612480}} 
[2026-07-27 18:57:13] local.INFO: DEBUG: GPS processor result {"connection_id":144220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554914,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:57:13] local.INFO: GPS data processed {"connection_id":144220,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:57:13] local.INFO: Acknowledgment sent {"connection_id":144220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:57:31] local.INFO: TCP Data received {"connection_id":143092,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:57:31] local.INFO: Processing buffer {"connection_id":143092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:57:31] local.INFO: IMEI packet received {"connection_id":143092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 18:57:31] local.INFO: IMEI acknowledgment sent {"connection_id":143092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:57:35] local.INFO: TCP Data received {"connection_id":144219,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3bf15c8012d1967c0071fee200046011626..."} 
[2026-07-27 18:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3bf15c8012d1967c0071fee200046011626..."} 
[2026-07-27 18:57:35] local.INFO: Processing buffer {"connection_id":144219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3bf15c8012d1967c0071fee200046011626..."} 
[2026-07-27 18:57:35] local.INFO: Packet analysis {"connection_id":144219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3bf"} 
[2026-07-27 18:57:35] local.INFO: Extracted packet for processing {"connection_id":144219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3bf"} 
[2026-07-27 18:57:35] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":38,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 18:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:57:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000605696001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:57:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 18:57:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 18:57:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:57:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785158637000,"timestamp_ms":1785158637000,"timestamp_seconds":1785158637,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3bf15c8"} 
[2026-07-27 18:57:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:57:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-27 18:57:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-27 18:57:35] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168048982131200,"note":"Value kept but may cause issues"} 
[2026-07-27 18:57:35] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452319,"note":"Value kept but may cause issues"} 
[2026-07-27 18:57:35] local.WARNING: Large IO value detected {"io_id":222,"raw_value":-6917529027641081855,"note":"Value kept but may cause issues"} 
[2026-07-27 18:57:35] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-6648292130723915417,"note":"Value kept but may cause issues"} 
[2026-07-27 18:57:35] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513390703754477846,"note":"Value kept but may cause issues"} 
[2026-07-27 18:57:35] local.WARNING: Large IO value detected {"io_id":70,"raw_value":78292924479045632,"note":"Value kept but may cause issues"} 
[2026-07-27 18:57:35] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832604,"note":"Value kept but may cause issues"} 
[2026-07-27 18:57:35] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580147939410126,"note":"Value kept but may cause issues"} 
[2026-07-27 18:57:35] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3735027712,"note":"Value kept but may cause issues"} 
[2026-07-27 18:57:35] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-27 18:57:35] local.WARNING: Large IO value detected {"io_id":163,"raw_value":3178995713,"note":"Value kept but may cause issues"} 
[2026-07-27 18:57:35] local.WARNING: Large IO value detected {"io_id":41,"raw_value":2550213913,"note":"Value kept but may cause issues"} 
[2026-07-27 18:57:35] local.WARNING: Large IO value detected {"io_id":103,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-07-27 18:57:35] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,121,28,24,241,158,16,222,159,113,45,192,238,70,38,10,66,31,39,205,1,240,53,163,4,41,103,32,36,239,48,2,7],"length":534,"final_offset":664,"validated_count":33,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-07-27 18:57:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5044337405801267200,"timestamp_seconds":5044337405801267.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 18:57:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:57:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:57:35] local.INFO: Teltonika packet parsed successfully {"connection_id":144219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:57:35] local.INFO: Passing IMEI to GPS processor {"connection_id":144219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:57:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":144219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:57:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:57:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:57:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:57:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000605696001,"66":12298,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:57:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:57:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:57:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000605696001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:57:35] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:57:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:57:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:57:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 18:57:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000605696001,"power":12298,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 18:57:35] local.INFO: DEBUG: GPS processor result {"connection_id":144219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554915,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:57:35] local.INFO: GPS data processed {"connection_id":144219,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:57:35] local.INFO: Acknowledgment sent {"connection_id":144219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:57:36] local.INFO: TCP Data received {"connection_id":143092,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:57:36] local.INFO: Processing buffer {"connection_id":143092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:57:36] local.INFO: IMEI packet received {"connection_id":143092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 18:57:36] local.INFO: IMEI acknowledgment sent {"connection_id":143092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:57:37] local.INFO: TCP Data received {"connection_id":143092,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3bf40c0012da8530005dfd2380021013a23..."} 
[2026-07-27 18:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3bf40c0012da8530005dfd2380021013a23..."} 
[2026-07-27 18:57:37] local.INFO: Processing buffer {"connection_id":143092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3bf40c0012da8530005dfd2380021013a23..."} 
[2026-07-27 18:57:37] local.INFO: Packet analysis {"connection_id":143092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3bf"} 
[2026-07-27 18:57:37] local.INFO: Extracted packet for processing {"connection_id":143092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3bf"} 
[2026-07-27 18:57:37] local.INFO: GPS Element Parsed {"raw_longitude":766006016,"raw_latitude":98554424,"longitude_deg":76.6006016,"latitude_deg":9.8554424,"altitude":33,"angle":314,"satellites":35,"speed":0,"hex_longitude":"2da85300","hex_latitude":"05dfd238","is_valid_coordinates":true} 
[2026-07-27 18:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:57:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000536832001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:57:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359256443599192064,"note":"Value kept but may cause issues"} 
[2026-07-27 18:57:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6317705827040741376,"note":"Value kept but may cause issues"} 
[2026-07-27 18:57:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:57:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785158648000,"timestamp_ms":1785158648000,"timestamp_seconds":1785158648,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3bf40c0"} 
[2026-07-27 18:57:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:57:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 18:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-27 18:57:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:57:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:57:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:57:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:57:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:57:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:57:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:57:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:57:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:57:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:57:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000536832001,"66":25843,"70":206,"88":19968,"24":0,"16":359256443599192064,"45":-6317705827040741376},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,88,24,16,45]} 
[2026-07-27 18:57:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:57:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:57:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000536832001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:57:37] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-27 18:57:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 18:57:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359256443599192064,"km_value":359256443599192.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:57:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6317705827040741376,"description":"Unknown IO ID 45"} 
[2026-07-27 18:57:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000536832001,"power":25843,"unknown_70":206,"unknown_88":19968,"ignition":0,"odometer":null,"unknown_45":-6317705827040741376}} 
[2026-07-27 18:57:37] local.INFO: DEBUG: GPS processor result {"connection_id":143092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:57:37] local.INFO: GPS data processed {"connection_id":143092,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:57:37] local.INFO: Acknowledgment sent {"connection_id":143092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:57:44] local.INFO: TCP Data received {"connection_id":144220,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3bea868012d7e380005d34d500000003129..."} 
[2026-07-27 18:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144220,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3bea868012d7e380005d34d500000003129..."} 
[2026-07-27 18:57:44] local.INFO: Processing buffer {"connection_id":144220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3bea868012d7e380005d34d500000003129..."} 
[2026-07-27 18:57:44] local.INFO: Packet analysis {"connection_id":144220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3be"} 
[2026-07-27 18:57:44] local.INFO: Extracted packet for processing {"connection_id":144220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3be"} 
[2026-07-27 18:57:44] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733968,"longitude_deg":76.3246592,"latitude_deg":9.7733968,"altitude":0,"angle":49,"satellites":41,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-07-27 18:57:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:57:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000526848001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:57:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111785234072076288,"note":"Value kept but may cause issues"} 
[2026-07-27 18:57:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494612480,"note":"Value kept but may cause issues"} 
[2026-07-27 18:57:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:57:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785158609000,"timestamp_ms":1785158609000,"timestamp_seconds":1785158609,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3bea868"} 
[2026-07-27 18:57:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:57:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 18:57:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-27 18:57:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:57:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:57:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:57:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:57:44] local.INFO: Teltonika packet parsed successfully {"connection_id":144220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:57:44] local.INFO: Passing IMEI to GPS processor {"connection_id":144220,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:57:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":144220,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:57:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:57:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 18:57:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 18:57:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000526848001,"66":2209,"109":206,"85":15104,"24":0,"16":111785234072076288,"45":9095019472494612480},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-27 18:57:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 18:57:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 18:57:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000526848001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:57:44] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-27 18:57:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 18:57:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111785234072076288,"km_value":111785234072076.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:57:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494612480,"description":"Unknown IO ID 45"} 
[2026-07-27 18:57:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000526848001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494612480}} 
[2026-07-27 18:57:44] local.INFO: DEBUG: GPS processor result {"connection_id":144220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554917,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:57:44] local.INFO: GPS data processed {"connection_id":144220,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:57:44] local.INFO: Acknowledgment sent {"connection_id":144220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:57:59] local.INFO: TCP Data received {"connection_id":144221,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144221,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:57:59] local.INFO: Processing buffer {"connection_id":144221,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:57:59] local.INFO: IMEI packet received {"connection_id":144221,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 18:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":144221,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:58:04] local.INFO: TCP Data received {"connection_id":144221,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144221,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:58:04] local.INFO: Processing buffer {"connection_id":144221,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:58:04] local.INFO: IMEI packet received {"connection_id":144221,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 18:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":144221,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:58:06] local.INFO: TCP Data received {"connection_id":144221,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3bf67d0012d1967c0071fee200046011623..."} 
[2026-07-27 18:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144221,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3bf67d0012d1967c0071fee200046011623..."} 
[2026-07-27 18:58:06] local.INFO: Processing buffer {"connection_id":144221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3bf67d0012d1967c0071fee200046011623..."} 
[2026-07-27 18:58:06] local.INFO: Packet analysis {"connection_id":144221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3bf"} 
[2026-07-27 18:58:06] local.INFO: Extracted packet for processing {"connection_id":144221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3bf"} 
[2026-07-27 18:58:06] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":35,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 18:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000611072001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 18:58:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 18:58:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785158658000,"timestamp_ms":1785158658000,"timestamp_seconds":1785158658,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3bf67d0"} 
[2026-07-27 18:58:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:58:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-27 18:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-27 18:58:06] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168048982131200,"note":"Value kept but may cause issues"} 
[2026-07-27 18:58:06] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452319,"note":"Value kept but may cause issues"} 
[2026-07-27 18:58:06] local.WARNING: Large IO value detected {"io_id":222,"raw_value":-6917529027641081855,"note":"Value kept but may cause issues"} 
[2026-07-27 18:58:06] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-6648201936410699417,"note":"Value kept but may cause issues"} 
[2026-07-27 18:58:06] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513390703754477846,"note":"Value kept but may cause issues"} 
[2026-07-27 18:58:06] local.WARNING: Large IO value detected {"io_id":70,"raw_value":78289625944162304,"note":"Value kept but may cause issues"} 
[2026-07-27 18:58:06] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832605,"note":"Value kept but may cause issues"} 
[2026-07-27 18:58:06] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3486068470913237198,"note":"Value kept but may cause issues"} 
[2026-07-27 18:58:06] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3735027712,"note":"Value kept but may cause issues"} 
[2026-07-27 18:58:06] local.WARNING: Large IO value detected {"io_id":163,"raw_value":3184371713,"note":"Value kept but may cause issues"} 
[2026-07-27 18:58:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-27 18:58:06] local.WARNING: Large IO value detected {"io_id":123,"raw_value":2684431641,"note":"Value kept but may cause issues"} 
[2026-07-27 18:58:06] local.WARNING: Large IO value detected {"io_id":103,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-07-27 18:58:06] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,121,28,24,241,158,16,222,159,195,45,192,238,70,37,10,66,113,38,31,1,240,217,163,4,205,123,103,32,36,239,48,2,7,39],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-07-27 18:58:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5044337410096234496,"timestamp_seconds":5044337410096234.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 18:58:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":144221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":144221,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":144221,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:58:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000611072001,"66":12319,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000611072001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:58:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:58:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:58:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 18:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000611072001,"power":12319,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 18:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":144221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554918,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:58:06] local.INFO: GPS data processed {"connection_id":144221,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:58:06] local.INFO: Acknowledgment sent {"connection_id":144221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:58:08] local.INFO: TCP Data received {"connection_id":143232,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143232,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:58:08] local.INFO: Processing buffer {"connection_id":143232,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:58:08] local.INFO: IMEI packet received {"connection_id":143232,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 18:58:08] local.INFO: IMEI acknowledgment sent {"connection_id":143232,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:58:08] local.INFO: TCP Data received {"connection_id":143092,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3bf40c0012da8530005dfd2380021013a23..."} 
[2026-07-27 18:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3bf40c0012da8530005dfd2380021013a23..."} 
[2026-07-27 18:58:08] local.INFO: Processing buffer {"connection_id":143092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3bf40c0012da8530005dfd2380021013a23..."} 
[2026-07-27 18:58:08] local.INFO: Packet analysis {"connection_id":143092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3bf"} 
[2026-07-27 18:58:08] local.INFO: Extracted packet for processing {"connection_id":143092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3bf"} 
[2026-07-27 18:58:08] local.INFO: GPS Element Parsed {"raw_longitude":766006016,"raw_latitude":98554424,"longitude_deg":76.6006016,"latitude_deg":9.8554424,"altitude":33,"angle":314,"satellites":35,"speed":0,"hex_longitude":"2da85300","hex_latitude":"05dfd238","is_valid_coordinates":true} 
[2026-07-27 18:58:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:58:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000536832001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:58:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359256443599192064,"note":"Value kept but may cause issues"} 
[2026-07-27 18:58:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6317705827040741376,"note":"Value kept but may cause issues"} 
[2026-07-27 18:58:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:58:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785158648000,"timestamp_ms":1785158648000,"timestamp_seconds":1785158648,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3bf40c0"} 
[2026-07-27 18:58:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:58:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-27 18:58:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:58:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:58:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:58:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:58:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:58:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:58:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:58:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:58:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:58:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:58:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000536832001,"66":25843,"70":206,"88":19968,"24":0,"16":359256443599192064,"45":-6317705827040741376},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,88,24,16,45]} 
[2026-07-27 18:58:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:58:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:58:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000536832001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:58:08] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-27 18:58:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 18:58:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359256443599192064,"km_value":359256443599192.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:58:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6317705827040741376,"description":"Unknown IO ID 45"} 
[2026-07-27 18:58:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000536832001,"power":25843,"unknown_70":206,"unknown_88":19968,"ignition":0,"odometer":null,"unknown_45":-6317705827040741376}} 
[2026-07-27 18:58:08] local.INFO: DEBUG: GPS processor result {"connection_id":143092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:58:08] local.INFO: GPS data processed {"connection_id":143092,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:58:08] local.INFO: Acknowledgment sent {"connection_id":143092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:58:12] local.INFO: TCP Data received {"connection_id":143232,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143232,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:58:12] local.INFO: Processing buffer {"connection_id":143232,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:58:12] local.INFO: IMEI packet received {"connection_id":143232,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 18:58:12] local.INFO: IMEI acknowledgment sent {"connection_id":143232,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:58:13] local.INFO: TCP Data received {"connection_id":143232,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3bea868012d7e380005d34d500000003129..."} 
[2026-07-27 18:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3bea868012d7e380005d34d500000003129..."} 
[2026-07-27 18:58:13] local.INFO: Processing buffer {"connection_id":143232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3bea868012d7e380005d34d500000003129..."} 
[2026-07-27 18:58:13] local.INFO: Packet analysis {"connection_id":143232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3be"} 
[2026-07-27 18:58:13] local.INFO: Extracted packet for processing {"connection_id":143232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3be"} 
[2026-07-27 18:58:13] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733968,"longitude_deg":76.3246592,"latitude_deg":9.7733968,"altitude":0,"angle":49,"satellites":41,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-07-27 18:58:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:58:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000526848001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:58:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111785234072076288,"note":"Value kept but may cause issues"} 
[2026-07-27 18:58:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494612480,"note":"Value kept but may cause issues"} 
[2026-07-27 18:58:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:58:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785158609000,"timestamp_ms":1785158609000,"timestamp_seconds":1785158609,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3bea868"} 
[2026-07-27 18:58:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:58:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 18:58:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-27 18:58:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:58:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:58:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:58:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:58:13] local.INFO: Teltonika packet parsed successfully {"connection_id":143232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:58:13] local.INFO: Passing IMEI to GPS processor {"connection_id":143232,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:58:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":143232,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:58:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:58:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 18:58:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 18:58:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000526848001,"66":2209,"109":206,"85":15104,"24":0,"16":111785234072076288,"45":9095019472494612480},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-27 18:58:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 18:58:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 18:58:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000526848001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:58:13] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-27 18:58:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 18:58:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111785234072076288,"km_value":111785234072076.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:58:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494612480,"description":"Unknown IO ID 45"} 
[2026-07-27 18:58:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000526848001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494612480}} 
[2026-07-27 18:58:13] local.INFO: DEBUG: GPS processor result {"connection_id":143232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554920,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:58:13] local.INFO: GPS data processed {"connection_id":143232,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:58:13] local.INFO: Acknowledgment sent {"connection_id":143232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:58:31] local.INFO: TCP Data received {"connection_id":145500,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:58:31] local.INFO: Processing buffer {"connection_id":145500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:58:31] local.INFO: IMEI packet received {"connection_id":145500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 18:58:31] local.INFO: IMEI acknowledgment sent {"connection_id":145500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:58:36] local.INFO: TCP Data received {"connection_id":145500,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:58:36] local.INFO: Processing buffer {"connection_id":145500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:58:36] local.INFO: IMEI packet received {"connection_id":145500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 18:58:36] local.INFO: IMEI acknowledgment sent {"connection_id":145500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:58:37] local.INFO: TCP Data received {"connection_id":145500,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3bf40c0012da8530005dfd2380021013a23..."} 
[2026-07-27 18:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3bf40c0012da8530005dfd2380021013a23..."} 
[2026-07-27 18:58:37] local.INFO: Processing buffer {"connection_id":145500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3bf40c0012da8530005dfd2380021013a23..."} 
[2026-07-27 18:58:37] local.INFO: Packet analysis {"connection_id":145500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3bf"} 
[2026-07-27 18:58:37] local.INFO: Extracted packet for processing {"connection_id":145500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3bf"} 
[2026-07-27 18:58:37] local.INFO: GPS Element Parsed {"raw_longitude":766006016,"raw_latitude":98554424,"longitude_deg":76.6006016,"latitude_deg":9.8554424,"altitude":33,"angle":314,"satellites":35,"speed":0,"hex_longitude":"2da85300","hex_latitude":"05dfd238","is_valid_coordinates":true} 
[2026-07-27 18:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:58:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000536832001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:58:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359256443599192064,"note":"Value kept but may cause issues"} 
[2026-07-27 18:58:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6317705827040741376,"note":"Value kept but may cause issues"} 
[2026-07-27 18:58:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:58:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785158648000,"timestamp_ms":1785158648000,"timestamp_seconds":1785158648,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3bf40c0"} 
[2026-07-27 18:58:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:58:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 18:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-27 18:58:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:58:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:58:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:58:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:58:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:58:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:58:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:58:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:58:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:58:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:58:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000536832001,"66":25843,"70":206,"88":19968,"24":0,"16":359256443599192064,"45":-6317705827040741376},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,88,24,16,45]} 
[2026-07-27 18:58:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:58:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:58:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000536832001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:58:37] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-27 18:58:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 18:58:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359256443599192064,"km_value":359256443599192.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:58:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6317705827040741376,"description":"Unknown IO ID 45"} 
[2026-07-27 18:58:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000536832001,"power":25843,"unknown_70":206,"unknown_88":19968,"ignition":0,"odometer":null,"unknown_45":-6317705827040741376}} 
[2026-07-27 18:58:37] local.INFO: DEBUG: GPS processor result {"connection_id":145500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:58:37] local.INFO: GPS data processed {"connection_id":145500,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:58:37] local.INFO: Acknowledgment sent {"connection_id":145500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:58:38] local.INFO: TCP Data received {"connection_id":144221,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3bfb9d8012d1967c0071fee200046011626..."} 
[2026-07-27 18:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144221,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3bfb9d8012d1967c0071fee200046011626..."} 
[2026-07-27 18:58:38] local.INFO: Processing buffer {"connection_id":144221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3bfb9d8012d1967c0071fee200046011626..."} 
[2026-07-27 18:58:38] local.INFO: Packet analysis {"connection_id":144221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3bf"} 
[2026-07-27 18:58:38] local.INFO: Extracted packet for processing {"connection_id":144221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3bf"} 
[2026-07-27 18:58:38] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":38,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 18:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:58:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000616448001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:58:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 18:58:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 18:58:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:58:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785158679000,"timestamp_ms":1785158679000,"timestamp_seconds":1785158679,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3bfb9d8"} 
[2026-07-27 18:58:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:58:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 18:58:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:58:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:58:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:58:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:58:38] local.INFO: Teltonika packet parsed successfully {"connection_id":144221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:58:38] local.INFO: Passing IMEI to GPS processor {"connection_id":144221,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:58:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":144221,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:58:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:58:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:58:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:58:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000616448001,"66":12319,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:58:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:58:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:58:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000616448001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:58:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:58:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:58:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:58:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 18:58:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000616448001,"power":12319,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 18:58:38] local.INFO: DEBUG: GPS processor result {"connection_id":144221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554922,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:58:38] local.INFO: GPS data processed {"connection_id":144221,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:58:38] local.INFO: Acknowledgment sent {"connection_id":144221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:58:44] local.INFO: TCP Data received {"connection_id":143232,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3c34030012d7e380005d34d50000000312c..."} 
[2026-07-27 18:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3c34030012d7e380005d34d50000000312c..."} 
[2026-07-27 18:58:44] local.INFO: Processing buffer {"connection_id":143232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3c34030012d7e380005d34d50000000312c..."} 
[2026-07-27 18:58:44] local.INFO: Packet analysis {"connection_id":143232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3c3"} 
[2026-07-27 18:58:44] local.INFO: Extracted packet for processing {"connection_id":143232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3c3"} 
[2026-07-27 18:58:44] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733968,"longitude_deg":76.3246592,"latitude_deg":9.7733968,"altitude":0,"angle":49,"satellites":44,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-07-27 18:58:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:58:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000603904001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:58:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111785234072076288,"note":"Value kept but may cause issues"} 
[2026-07-27 18:58:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494612480,"note":"Value kept but may cause issues"} 
[2026-07-27 18:58:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:58:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785158910000,"timestamp_ms":1785158910000,"timestamp_seconds":1785158910,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3c34030"} 
[2026-07-27 18:58:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:58:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 18:58:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-27 18:58:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:58:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:58:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:58:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:58:44] local.INFO: Teltonika packet parsed successfully {"connection_id":143232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:58:44] local.INFO: Passing IMEI to GPS processor {"connection_id":143232,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:58:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":143232,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:58:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:58:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 18:58:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 18:58:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000603904001,"66":2209,"109":206,"85":15104,"24":0,"16":111785234072076288,"45":9095019472494612480},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-27 18:58:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 18:58:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 18:58:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000603904001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:58:44] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-27 18:58:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 18:58:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111785234072076288,"km_value":111785234072076.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:58:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494612480,"description":"Unknown IO ID 45"} 
[2026-07-27 18:58:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000603904001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494612480}} 
[2026-07-27 18:58:44] local.INFO: DEBUG: GPS processor result {"connection_id":143232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554923,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:58:44] local.INFO: GPS data processed {"connection_id":143232,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:58:44] local.INFO: Acknowledgment sent {"connection_id":143232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:58:59] local.INFO: TCP Data received {"connection_id":145501,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145501,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:58:59] local.INFO: Processing buffer {"connection_id":145501,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:58:59] local.INFO: IMEI packet received {"connection_id":145501,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 18:58:59] local.INFO: IMEI acknowledgment sent {"connection_id":145501,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:59:04] local.INFO: TCP Data received {"connection_id":145501,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145501,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:59:04] local.INFO: Processing buffer {"connection_id":145501,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 18:59:04] local.INFO: IMEI packet received {"connection_id":145501,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 18:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":145501,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:59:06] local.INFO: TCP Data received {"connection_id":145501,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3c00be0012d1967c0071fee200046011623..."} 
[2026-07-27 18:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3c00be0012d1967c0071fee200046011623..."} 
[2026-07-27 18:59:06] local.INFO: Processing buffer {"connection_id":145501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3c00be0012d1967c0071fee200046011623..."} 
[2026-07-27 18:59:06] local.INFO: Packet analysis {"connection_id":145501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3c0"} 
[2026-07-27 18:59:06] local.INFO: Extracted packet for processing {"connection_id":145501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3c0"} 
[2026-07-27 18:59:06] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":35,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 18:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:59:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000621824001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:59:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 18:59:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 18:59:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:59:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785158700000,"timestamp_ms":1785158700000,"timestamp_seconds":1785158700,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3c00be0"} 
[2026-07-27 18:59:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:59:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 18:59:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:59:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:59:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:59:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:59:06] local.INFO: Teltonika packet parsed successfully {"connection_id":145501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:59:06] local.INFO: Passing IMEI to GPS processor {"connection_id":145501,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:59:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":145501,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:59:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:59:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:59:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:59:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000621824001,"66":12341,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:59:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:59:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:59:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000621824001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:59:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:59:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:59:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:59:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 18:59:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000621824001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 18:59:06] local.INFO: DEBUG: GPS processor result {"connection_id":145501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554924,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:59:06] local.INFO: GPS data processed {"connection_id":145501,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:59:06] local.INFO: Acknowledgment sent {"connection_id":145501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:59:07] local.INFO: TCP Data received {"connection_id":143233,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143233,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:59:07] local.INFO: Processing buffer {"connection_id":143233,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:59:07] local.INFO: IMEI packet received {"connection_id":143233,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 18:59:07] local.INFO: IMEI acknowledgment sent {"connection_id":143233,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:59:08] local.INFO: TCP Data received {"connection_id":145500,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3bf40c0012da8530005dfd2380021013a23..."} 
[2026-07-27 18:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3bf40c0012da8530005dfd2380021013a23..."} 
[2026-07-27 18:59:08] local.INFO: Processing buffer {"connection_id":145500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3bf40c0012da8530005dfd2380021013a23..."} 
[2026-07-27 18:59:08] local.INFO: Packet analysis {"connection_id":145500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3bf"} 
[2026-07-27 18:59:08] local.INFO: Extracted packet for processing {"connection_id":145500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3bf"} 
[2026-07-27 18:59:08] local.INFO: GPS Element Parsed {"raw_longitude":766006016,"raw_latitude":98554424,"longitude_deg":76.6006016,"latitude_deg":9.8554424,"altitude":33,"angle":314,"satellites":35,"speed":0,"hex_longitude":"2da85300","hex_latitude":"05dfd238","is_valid_coordinates":true} 
[2026-07-27 18:59:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:59:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000536832001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:59:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359256443599192064,"note":"Value kept but may cause issues"} 
[2026-07-27 18:59:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6317705827040741376,"note":"Value kept but may cause issues"} 
[2026-07-27 18:59:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:59:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785158648000,"timestamp_ms":1785158648000,"timestamp_seconds":1785158648,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3bf40c0"} 
[2026-07-27 18:59:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:59:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 18:59:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-27 18:59:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:59:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:59:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:59:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:59:08] local.INFO: Teltonika packet parsed successfully {"connection_id":145500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:59:08] local.INFO: Passing IMEI to GPS processor {"connection_id":145500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:59:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":145500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:59:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:59:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:59:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:59:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000536832001,"66":25843,"70":206,"88":19968,"24":0,"16":359256443599192064,"45":-6317705827040741376},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,88,24,16,45]} 
[2026-07-27 18:59:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:59:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:59:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000536832001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:59:08] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-27 18:59:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 18:59:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359256443599192064,"km_value":359256443599192.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:59:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6317705827040741376,"description":"Unknown IO ID 45"} 
[2026-07-27 18:59:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000536832001,"power":25843,"unknown_70":206,"unknown_88":19968,"ignition":0,"odometer":null,"unknown_45":-6317705827040741376}} 
[2026-07-27 18:59:08] local.INFO: DEBUG: GPS processor result {"connection_id":145500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:59:08] local.INFO: GPS data processed {"connection_id":145500,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:59:08] local.INFO: Acknowledgment sent {"connection_id":145500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:59:13] local.INFO: TCP Data received {"connection_id":143233,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143233,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:59:13] local.INFO: Processing buffer {"connection_id":143233,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 18:59:13] local.INFO: IMEI packet received {"connection_id":143233,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 18:59:13] local.INFO: IMEI acknowledgment sent {"connection_id":143233,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:59:13] local.INFO: TCP Data received {"connection_id":143233,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3c34030012d7e380005d34d50000000312c..."} 
[2026-07-27 18:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3c34030012d7e380005d34d50000000312c..."} 
[2026-07-27 18:59:13] local.INFO: Processing buffer {"connection_id":143233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3c34030012d7e380005d34d50000000312c..."} 
[2026-07-27 18:59:13] local.INFO: Packet analysis {"connection_id":143233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3c3"} 
[2026-07-27 18:59:13] local.INFO: Extracted packet for processing {"connection_id":143233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3c3"} 
[2026-07-27 18:59:13] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733968,"longitude_deg":76.3246592,"latitude_deg":9.7733968,"altitude":0,"angle":49,"satellites":44,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-07-27 18: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-07-27 18:59:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000603904001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:59:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111785234072076288,"note":"Value kept but may cause issues"} 
[2026-07-27 18:59:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494612480,"note":"Value kept but may cause issues"} 
[2026-07-27 18:59:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:59:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785158910000,"timestamp_ms":1785158910000,"timestamp_seconds":1785158910,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3c34030"} 
[2026-07-27 18:59:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:59:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 18: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":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-27 18:59:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18: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-07-27 18:59:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:59:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:59:13] local.INFO: Teltonika packet parsed successfully {"connection_id":143233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:59:13] local.INFO: Passing IMEI to GPS processor {"connection_id":143233,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:59:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":143233,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:59:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:59:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 18:59:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 18:59:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000603904001,"66":2209,"109":206,"85":15104,"24":0,"16":111785234072076288,"45":9095019472494612480},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-27 18:59:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 18:59:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 18:59:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000603904001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:59:13] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-27 18:59:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 18:59:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111785234072076288,"km_value":111785234072076.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:59:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494612480,"description":"Unknown IO ID 45"} 
[2026-07-27 18:59:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000603904001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494612480}} 
[2026-07-27 18:59:13] local.INFO: DEBUG: GPS processor result {"connection_id":143233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554926,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:59:13] local.INFO: GPS data processed {"connection_id":143233,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:59:13] local.INFO: Acknowledgment sent {"connection_id":143233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:59:36] local.INFO: TCP Data received {"connection_id":143093,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:59:36] local.INFO: Processing buffer {"connection_id":143093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:59:36] local.INFO: IMEI packet received {"connection_id":143093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 18:59:36] local.INFO: IMEI acknowledgment sent {"connection_id":143093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 18:59:39] local.INFO: TCP Data received {"connection_id":145501,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3c05de8012d1967c0071fee200046011625..."} 
[2026-07-27 18:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3c05de8012d1967c0071fee200046011625..."} 
[2026-07-27 18:59:39] local.INFO: Processing buffer {"connection_id":145501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3c05de8012d1967c0071fee200046011625..."} 
[2026-07-27 18:59:39] local.INFO: Packet analysis {"connection_id":145501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3c0"} 
[2026-07-27 18:59:39] local.INFO: Extracted packet for processing {"connection_id":145501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3c0"} 
[2026-07-27 18:59:39] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":37,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 18:59:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:59:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000627200001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:59:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 18:59:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 18:59:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:59:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785158721000,"timestamp_ms":1785158721000,"timestamp_seconds":1785158721,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3c05de8"} 
[2026-07-27 18:59:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:59:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 18: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 18:59:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:59:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:59:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:59:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:59:39] local.INFO: Teltonika packet parsed successfully {"connection_id":145501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:59:39] local.INFO: Passing IMEI to GPS processor {"connection_id":145501,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:59:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":145501,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 18:59:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:59:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 18:59:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 18:59:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000627200001,"66":12341,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 18:59:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 18:59:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 18:59:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000627200001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:59:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 18:59:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 18:59:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:59:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 18:59:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000627200001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 18:59:40] local.INFO: DEBUG: GPS processor result {"connection_id":145501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554927,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:59:40] local.INFO: GPS data processed {"connection_id":145501,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:59:40] local.INFO: Acknowledgment sent {"connection_id":145501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:59:41] local.INFO: TCP Data received {"connection_id":143093,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:59:41] local.INFO: Processing buffer {"connection_id":143093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 18:59:41] local.INFO: IMEI packet received {"connection_id":143093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 18:59:41] local.INFO: IMEI acknowledgment sent {"connection_id":143093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 18:59:42] local.INFO: TCP Data received {"connection_id":143093,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3bf40c0012da8530005dfd2380021013a23..."} 
[2026-07-27 18:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3bf40c0012da8530005dfd2380021013a23..."} 
[2026-07-27 18:59:42] local.INFO: Processing buffer {"connection_id":143093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3bf40c0012da8530005dfd2380021013a23..."} 
[2026-07-27 18:59:42] local.INFO: Packet analysis {"connection_id":143093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3bf"} 
[2026-07-27 18:59:42] local.INFO: Extracted packet for processing {"connection_id":143093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3bf"} 
[2026-07-27 18:59:42] local.INFO: GPS Element Parsed {"raw_longitude":766006016,"raw_latitude":98554424,"longitude_deg":76.6006016,"latitude_deg":9.8554424,"altitude":33,"angle":314,"satellites":35,"speed":0,"hex_longitude":"2da85300","hex_latitude":"05dfd238","is_valid_coordinates":true} 
[2026-07-27 18:59:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:59:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000536832001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:59:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359256443599192064,"note":"Value kept but may cause issues"} 
[2026-07-27 18:59:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6317705827040741376,"note":"Value kept but may cause issues"} 
[2026-07-27 18:59:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:59:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785158648000,"timestamp_ms":1785158648000,"timestamp_seconds":1785158648,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3bf40c0"} 
[2026-07-27 18:59:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:59:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 18: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-27 18:59:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:59:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:59:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:59:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:59:42] local.INFO: Teltonika packet parsed successfully {"connection_id":143093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:59:42] local.INFO: Passing IMEI to GPS processor {"connection_id":143093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:59:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":143093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:59:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:59:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:59:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:59:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000536832001,"66":25843,"70":206,"88":19968,"24":0,"16":359256443599192064,"45":-6317705827040741376},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,88,24,16,45]} 
[2026-07-27 18:59:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:59:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:59:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000536832001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:59:42] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-27 18:59:42] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 18:59:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359256443599192064,"km_value":359256443599192.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:59:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6317705827040741376,"description":"Unknown IO ID 45"} 
[2026-07-27 18:59:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000536832001,"power":25843,"unknown_70":206,"unknown_88":19968,"ignition":0,"odometer":null,"unknown_45":-6317705827040741376}} 
[2026-07-27 18:59:42] local.INFO: DEBUG: GPS processor result {"connection_id":143093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:59:42] local.INFO: GPS data processed {"connection_id":143093,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:59:42] local.INFO: Acknowledgment sent {"connection_id":143093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:59:44] local.INFO: TCP Data received {"connection_id":143233,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3c34030012d7e380005d34d50000000312c..."} 
[2026-07-27 18:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3c34030012d7e380005d34d50000000312c..."} 
[2026-07-27 18:59:44] local.INFO: Processing buffer {"connection_id":143233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3c34030012d7e380005d34d50000000312c..."} 
[2026-07-27 18:59:44] local.INFO: Packet analysis {"connection_id":143233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3c3"} 
[2026-07-27 18:59:44] local.INFO: Extracted packet for processing {"connection_id":143233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3c3"} 
[2026-07-27 18:59:44] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733968,"longitude_deg":76.3246592,"latitude_deg":9.7733968,"altitude":0,"angle":49,"satellites":44,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-07-27 18:59:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:59:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000603904001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:59:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111785234072076288,"note":"Value kept but may cause issues"} 
[2026-07-27 18:59:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494612480,"note":"Value kept but may cause issues"} 
[2026-07-27 18:59:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:59:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785158910000,"timestamp_ms":1785158910000,"timestamp_seconds":1785158910,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3c34030"} 
[2026-07-27 18:59:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:59:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 18:59:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-27 18:59:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:59:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:59:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:59:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:59:44] local.INFO: Teltonika packet parsed successfully {"connection_id":143233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:59:44] local.INFO: Passing IMEI to GPS processor {"connection_id":143233,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:59:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":143233,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 18:59:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:59:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 18:59:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 18:59:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000603904001,"66":2209,"109":206,"85":15104,"24":0,"16":111785234072076288,"45":9095019472494612480},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-27 18:59:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 18:59:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 18:59:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000603904001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:59:44] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-27 18:59:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 18:59:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111785234072076288,"km_value":111785234072076.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:59:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494612480,"description":"Unknown IO ID 45"} 
[2026-07-27 18:59:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000603904001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494612480}} 
[2026-07-27 18:59:44] local.INFO: DEBUG: GPS processor result {"connection_id":143233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554929,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:59:44] local.INFO: GPS data processed {"connection_id":143233,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:59:44] local.INFO: Acknowledgment sent {"connection_id":143233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 18:59:47] local.INFO: TCP Data received {"connection_id":143093,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3bf40c0012da8530005dfd2380021013a23..."} 
[2026-07-27 18:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3bf40c0012da8530005dfd2380021013a23..."} 
[2026-07-27 18:59:47] local.INFO: Processing buffer {"connection_id":143093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3bf40c0012da8530005dfd2380021013a23..."} 
[2026-07-27 18:59:47] local.INFO: Packet analysis {"connection_id":143093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3bf"} 
[2026-07-27 18:59:47] local.INFO: Extracted packet for processing {"connection_id":143093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3bf"} 
[2026-07-27 18:59:47] local.INFO: GPS Element Parsed {"raw_longitude":766006016,"raw_latitude":98554424,"longitude_deg":76.6006016,"latitude_deg":9.8554424,"altitude":33,"angle":314,"satellites":35,"speed":0,"hex_longitude":"2da85300","hex_latitude":"05dfd238","is_valid_coordinates":true} 
[2026-07-27 18:59:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 18:59:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000536832001,"note":"Value kept but may cause issues"} 
[2026-07-27 18:59:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359256443599192064,"note":"Value kept but may cause issues"} 
[2026-07-27 18:59:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6317705827040741376,"note":"Value kept but may cause issues"} 
[2026-07-27 18:59:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 18:59:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785158648000,"timestamp_ms":1785158648000,"timestamp_seconds":1785158648,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3bf40c0"} 
[2026-07-27 18:59:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 18:59:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 18: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-27 18:59:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 18:59:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 18:59:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 18:59:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 18:59:47] local.INFO: Teltonika packet parsed successfully {"connection_id":143093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 18:59:47] local.INFO: Passing IMEI to GPS processor {"connection_id":143093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:59:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":143093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 18:59:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 18:59:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 18:59:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 18:59:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000536832001,"66":25843,"70":206,"88":19968,"24":0,"16":359256443599192064,"45":-6317705827040741376},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,88,24,16,45]} 
[2026-07-27 18:59:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 18:59:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 18:59:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000536832001,"description":"Unknown IO ID 0"} 
[2026-07-27 18:59:47] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-27 18:59:47] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 18:59:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359256443599192064,"km_value":359256443599192.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 18:59:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6317705827040741376,"description":"Unknown IO ID 45"} 
[2026-07-27 18:59:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000536832001,"power":25843,"unknown_70":206,"unknown_88":19968,"ignition":0,"odometer":null,"unknown_45":-6317705827040741376}} 
[2026-07-27 18:59:47] local.INFO: DEBUG: GPS processor result {"connection_id":143093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 18:59:47] local.INFO: GPS data processed {"connection_id":143093,"processed":1,"errors":0,"total":1} 
[2026-07-27 18:59:47] local.INFO: Acknowledgment sent {"connection_id":143093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:00:05] local.INFO: TCP Data received {"connection_id":144222,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144222,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:00:05] local.INFO: Processing buffer {"connection_id":144222,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:00:05] local.INFO: IMEI packet received {"connection_id":144222,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 19:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":144222,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:00:07] local.INFO: TCP Data received {"connection_id":145502,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 19:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145502,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 19:00:07] local.INFO: Processing buffer {"connection_id":145502,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 19:00:07] local.INFO: IMEI packet received {"connection_id":145502,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 19:00:07] local.INFO: IMEI acknowledgment sent {"connection_id":145502,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:00:09] local.INFO: TCP Data received {"connection_id":144222,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144222,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:00:09] local.INFO: Processing buffer {"connection_id":144222,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:00:09] local.INFO: IMEI packet received {"connection_id":144222,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 19:00:09] local.INFO: IMEI acknowledgment sent {"connection_id":144222,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:00:10] local.INFO: TCP Data received {"connection_id":144222,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3c0aff0012d1967c0071fee200046011625..."} 
[2026-07-27 19:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144222,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3c0aff0012d1967c0071fee200046011625..."} 
[2026-07-27 19:00:10] local.INFO: Processing buffer {"connection_id":144222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3c0aff0012d1967c0071fee200046011625..."} 
[2026-07-27 19:00:10] local.INFO: Packet analysis {"connection_id":144222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3c0"} 
[2026-07-27 19:00:10] local.INFO: Extracted packet for processing {"connection_id":144222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3c0"} 
[2026-07-27 19:00:10] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":37,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 19:00:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:00:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000632576001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:00:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 19:00:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 19:00:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:00:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785158742000,"timestamp_ms":1785158742000,"timestamp_seconds":1785158742,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3c0aff0"} 
[2026-07-27 19:00:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:00:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 19:00:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:00:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:00:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:00:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:00:10] local.INFO: Teltonika packet parsed successfully {"connection_id":144222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:00:10] local.INFO: Passing IMEI to GPS processor {"connection_id":144222,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:00:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":144222,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:00:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:00:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 19:00:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 19:00:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000632576001,"66":12363,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 19:00:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 19:00:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 19:00:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000632576001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:00:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 19:00:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 19:00:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:00:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 19:00:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000632576001,"power":12363,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 19:00:10] local.INFO: DEBUG: GPS processor result {"connection_id":144222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554931,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:00:10] local.INFO: GPS data processed {"connection_id":144222,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:00:10] local.INFO: Acknowledgment sent {"connection_id":144222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:00:12] local.INFO: TCP Data received {"connection_id":145502,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 19:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145502,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 19:00:12] local.INFO: Processing buffer {"connection_id":145502,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 19:00:12] local.INFO: IMEI packet received {"connection_id":145502,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 19:00:12] local.INFO: IMEI acknowledgment sent {"connection_id":145502,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:00:13] local.INFO: TCP Data received {"connection_id":145502,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3c34030012d7e380005d34d50000000312c..."} 
[2026-07-27 19:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3c34030012d7e380005d34d50000000312c..."} 
[2026-07-27 19:00:13] local.INFO: Processing buffer {"connection_id":145502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3c34030012d7e380005d34d50000000312c..."} 
[2026-07-27 19:00:13] local.INFO: Packet analysis {"connection_id":145502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3c3"} 
[2026-07-27 19:00:13] local.INFO: Extracted packet for processing {"connection_id":145502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3c3"} 
[2026-07-27 19:00:13] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733968,"longitude_deg":76.3246592,"latitude_deg":9.7733968,"altitude":0,"angle":49,"satellites":44,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-07-27 19:00:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:00:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000603904001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:00:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111785234072076288,"note":"Value kept but may cause issues"} 
[2026-07-27 19:00:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494612480,"note":"Value kept but may cause issues"} 
[2026-07-27 19:00:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:00:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785158910000,"timestamp_ms":1785158910000,"timestamp_seconds":1785158910,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3c34030"} 
[2026-07-27 19:00:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:00:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 19:00:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-27 19:00:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:00:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:00:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:00:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:00:13] local.INFO: Teltonika packet parsed successfully {"connection_id":145502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:00:13] local.INFO: Passing IMEI to GPS processor {"connection_id":145502,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 19:00:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":145502,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 19:00:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:00:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 19:00:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 19:00:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000603904001,"66":2209,"109":206,"85":15104,"24":0,"16":111785234072076288,"45":9095019472494612480},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-27 19:00:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 19:00:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 19:00:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000603904001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:00:13] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-27 19:00:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 19:00:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111785234072076288,"km_value":111785234072076.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:00:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494612480,"description":"Unknown IO ID 45"} 
[2026-07-27 19:00:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000603904001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494612480}} 
[2026-07-27 19:00:13] local.INFO: DEBUG: GPS processor result {"connection_id":145502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554932,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:00:13] local.INFO: GPS data processed {"connection_id":145502,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:00:13] local.INFO: Acknowledgment sent {"connection_id":145502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:00:32] local.INFO: TCP Data received {"connection_id":144223,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:00:32] local.INFO: Processing buffer {"connection_id":144223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:00:32] local.INFO: IMEI packet received {"connection_id":144223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 19:00:32] local.INFO: IMEI acknowledgment sent {"connection_id":144223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:00:36] local.INFO: TCP Data received {"connection_id":144223,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:00:36] local.INFO: Processing buffer {"connection_id":144223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:00:36] local.INFO: IMEI packet received {"connection_id":144223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 19:00:36] local.INFO: IMEI acknowledgment sent {"connection_id":144223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:00:37] local.INFO: TCP Data received {"connection_id":144223,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3c3d888012da8530005dfd2380021013a27..."} 
[2026-07-27 19:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3c3d888012da8530005dfd2380021013a27..."} 
[2026-07-27 19:00:37] local.INFO: Processing buffer {"connection_id":144223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3c3d888012da8530005dfd2380021013a27..."} 
[2026-07-27 19:00:37] local.INFO: Packet analysis {"connection_id":144223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3c3"} 
[2026-07-27 19:00:37] local.INFO: Extracted packet for processing {"connection_id":144223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3c3"} 
[2026-07-27 19:00:37] local.INFO: GPS Element Parsed {"raw_longitude":766006016,"raw_latitude":98554424,"longitude_deg":76.6006016,"latitude_deg":9.8554424,"altitude":33,"angle":314,"satellites":39,"speed":0,"hex_longitude":"2da85300","hex_latitude":"05dfd238","is_valid_coordinates":true} 
[2026-07-27 19:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000613888001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359256443599192064,"note":"Value kept but may cause issues"} 
[2026-07-27 19:00:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6317705827040741376,"note":"Value kept but may cause issues"} 
[2026-07-27 19:00:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785158949000,"timestamp_ms":1785158949000,"timestamp_seconds":1785158949,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3c3d888"} 
[2026-07-27 19:00:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:00:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 19:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-27 19:00:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:00:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:00:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:00:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 19:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 19:00:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000613888001,"66":25756,"70":206,"88":19968,"24":0,"16":359256443599192064,"45":-6317705827040741376},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,88,24,16,45]} 
[2026-07-27 19:00:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 19:00:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 19:00:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000613888001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:00:37] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-27 19:00:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 19:00:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359256443599192064,"km_value":359256443599192.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:00:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6317705827040741376,"description":"Unknown IO ID 45"} 
[2026-07-27 19:00:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000613888001,"power":25756,"unknown_70":206,"unknown_88":19968,"ignition":0,"odometer":null,"unknown_45":-6317705827040741376}} 
[2026-07-27 19:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":144223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:00:37] local.INFO: GPS data processed {"connection_id":144223,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:00:37] local.INFO: Acknowledgment sent {"connection_id":144223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:00:42] local.INFO: TCP Data received {"connection_id":144222,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3c101f8012d1967c0071fee200046011625..."} 
[2026-07-27 19:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144222,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3c101f8012d1967c0071fee200046011625..."} 
[2026-07-27 19:00:42] local.INFO: Processing buffer {"connection_id":144222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3c101f8012d1967c0071fee200046011625..."} 
[2026-07-27 19:00:42] local.INFO: Packet analysis {"connection_id":144222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3c1"} 
[2026-07-27 19:00:42] local.INFO: Extracted packet for processing {"connection_id":144222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3c1"} 
[2026-07-27 19:00:42] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":37,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 19:00:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:00:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000637952001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:00:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 19:00:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 19:00:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:00:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785158763000,"timestamp_ms":1785158763000,"timestamp_seconds":1785158763,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3c101f8"} 
[2026-07-27 19:00:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:00:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:00:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-27 19:00:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:00:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:00:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:00:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:00:42] local.INFO: Teltonika packet parsed successfully {"connection_id":144222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:00:42] local.INFO: Passing IMEI to GPS processor {"connection_id":144222,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:00:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":144222,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:00:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:00:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 19:00:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 19:00:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000637952001,"66":12341,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 19:00:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 19:00:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 19:00:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000637952001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:00:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 19:00:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 19:00:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:00:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 19:00:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000637952001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 19:00:42] local.INFO: DEBUG: GPS processor result {"connection_id":144222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554934,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:00:42] local.INFO: GPS data processed {"connection_id":144222,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:00:42] local.INFO: Acknowledgment sent {"connection_id":144222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:00:44] local.INFO: TCP Data received {"connection_id":145502,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3c34030012d7e380005d34d50000000312c..."} 
[2026-07-27 19:00:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3c34030012d7e380005d34d50000000312c..."} 
[2026-07-27 19:00:44] local.INFO: Processing buffer {"connection_id":145502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3c34030012d7e380005d34d50000000312c..."} 
[2026-07-27 19:00:44] local.INFO: Packet analysis {"connection_id":145502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3c3"} 
[2026-07-27 19:00:44] local.INFO: Extracted packet for processing {"connection_id":145502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3c3"} 
[2026-07-27 19:00:44] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733968,"longitude_deg":76.3246592,"latitude_deg":9.7733968,"altitude":0,"angle":49,"satellites":44,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-07-27 19:00:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:00:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000603904001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:00:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111785234072076288,"note":"Value kept but may cause issues"} 
[2026-07-27 19:00:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494612480,"note":"Value kept but may cause issues"} 
[2026-07-27 19:00:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:00:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785158910000,"timestamp_ms":1785158910000,"timestamp_seconds":1785158910,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3c34030"} 
[2026-07-27 19:00:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:00:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 19:00:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-27 19:00:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:00:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:00:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:00:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:00:44] local.INFO: Teltonika packet parsed successfully {"connection_id":145502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:00:44] local.INFO: Passing IMEI to GPS processor {"connection_id":145502,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 19:00:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":145502,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 19:00:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:00:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 19:00:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 19:00:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000603904001,"66":2209,"109":206,"85":15104,"24":0,"16":111785234072076288,"45":9095019472494612480},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-27 19:00:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 19:00:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 19:00:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000603904001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:00:44] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-27 19:00:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 19:00:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111785234072076288,"km_value":111785234072076.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:00:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494612480,"description":"Unknown IO ID 45"} 
[2026-07-27 19:00:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000603904001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494612480}} 
[2026-07-27 19:00:44] local.INFO: DEBUG: GPS processor result {"connection_id":145502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554935,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:00:44] local.INFO: GPS data processed {"connection_id":145502,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:00:44] local.INFO: Acknowledgment sent {"connection_id":145502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:00:59] local.INFO: TCP Data received {"connection_id":143094,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143094,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:00:59] local.INFO: Processing buffer {"connection_id":143094,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:00:59] local.INFO: IMEI packet received {"connection_id":143094,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 19:00:59] local.INFO: IMEI acknowledgment sent {"connection_id":143094,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:01:04] local.INFO: TCP Data received {"connection_id":143094,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143094,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:01:04] local.INFO: Processing buffer {"connection_id":143094,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:01:04] local.INFO: IMEI packet received {"connection_id":143094,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 19:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":143094,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:01:07] local.INFO: TCP Data received {"connection_id":143094,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3c15400012d1967c0071fee200046011624..."} 
[2026-07-27 19:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3c15400012d1967c0071fee200046011624..."} 
[2026-07-27 19:01:07] local.INFO: Processing buffer {"connection_id":143094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3c15400012d1967c0071fee200046011624..."} 
[2026-07-27 19:01:07] local.INFO: Packet analysis {"connection_id":143094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3c1"} 
[2026-07-27 19:01:07] local.INFO: Extracted packet for processing {"connection_id":143094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3c1"} 
[2026-07-27 19:01:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":36,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 19:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:01:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000643328001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:01:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 19:01:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 19:01:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:01:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785158784000,"timestamp_ms":1785158784000,"timestamp_seconds":1785158784,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3c15400"} 
[2026-07-27 19:01:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:01:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 19:01:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:01:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:01:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:01:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:01:07] local.INFO: Teltonika packet parsed successfully {"connection_id":143094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:01:07] local.INFO: Passing IMEI to GPS processor {"connection_id":143094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:01:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":143094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:01:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:01:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 19:01:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 19:01:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000643328001,"66":12374,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 19:01:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 19:01:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 19:01:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000643328001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:01:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 19:01:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 19:01:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:01:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 19:01:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000643328001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 19:01:07] local.INFO: DEBUG: GPS processor result {"connection_id":143094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554936,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:01:07] local.INFO: GPS data processed {"connection_id":143094,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:01:07] local.INFO: Acknowledgment sent {"connection_id":143094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:01:07] local.INFO: TCP Data received {"connection_id":143095,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 19:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143095,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 19:01:07] local.INFO: Processing buffer {"connection_id":143095,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 19:01:07] local.INFO: IMEI packet received {"connection_id":143095,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 19:01:07] local.INFO: IMEI acknowledgment sent {"connection_id":143095,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:01:08] local.INFO: TCP Data received {"connection_id":144223,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3c3d888012da8530005dfd2380021013a27..."} 
[2026-07-27 19:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3c3d888012da8530005dfd2380021013a27..."} 
[2026-07-27 19:01:08] local.INFO: Processing buffer {"connection_id":144223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3c3d888012da8530005dfd2380021013a27..."} 
[2026-07-27 19:01:08] local.INFO: Packet analysis {"connection_id":144223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3c3"} 
[2026-07-27 19:01:08] local.INFO: Extracted packet for processing {"connection_id":144223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3c3"} 
[2026-07-27 19:01:08] local.INFO: GPS Element Parsed {"raw_longitude":766006016,"raw_latitude":98554424,"longitude_deg":76.6006016,"latitude_deg":9.8554424,"altitude":33,"angle":314,"satellites":39,"speed":0,"hex_longitude":"2da85300","hex_latitude":"05dfd238","is_valid_coordinates":true} 
[2026-07-27 19:01:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:01:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000613888001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:01:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359256443599192064,"note":"Value kept but may cause issues"} 
[2026-07-27 19:01:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6317705827040741376,"note":"Value kept but may cause issues"} 
[2026-07-27 19:01:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:01:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785158949000,"timestamp_ms":1785158949000,"timestamp_seconds":1785158949,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3c3d888"} 
[2026-07-27 19:01:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:01:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 19:01:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-27 19:01:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:01:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:01:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:01:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:01:08] local.INFO: Teltonika packet parsed successfully {"connection_id":144223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:01:08] local.INFO: Passing IMEI to GPS processor {"connection_id":144223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:01:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":144223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:01:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:01:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 19:01:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 19:01:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000613888001,"66":25756,"70":206,"88":19968,"24":0,"16":359256443599192064,"45":-6317705827040741376},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,88,24,16,45]} 
[2026-07-27 19:01:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 19:01:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 19:01:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000613888001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:01:08] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-27 19:01:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 19:01:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359256443599192064,"km_value":359256443599192.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:01:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6317705827040741376,"description":"Unknown IO ID 45"} 
[2026-07-27 19:01:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000613888001,"power":25756,"unknown_70":206,"unknown_88":19968,"ignition":0,"odometer":null,"unknown_45":-6317705827040741376}} 
[2026-07-27 19:01:08] local.INFO: DEBUG: GPS processor result {"connection_id":144223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:01:08] local.INFO: GPS data processed {"connection_id":144223,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:01:08] local.INFO: Acknowledgment sent {"connection_id":144223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:01:13] local.INFO: TCP Data received {"connection_id":143095,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 19:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143095,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 19:01:13] local.INFO: Processing buffer {"connection_id":143095,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 19:01:13] local.INFO: IMEI packet received {"connection_id":143095,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 19:01:13] local.INFO: IMEI acknowledgment sent {"connection_id":143095,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:01:13] local.INFO: TCP Data received {"connection_id":143095,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3c34030012d7e380005d34d50000000312c..."} 
[2026-07-27 19:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143095,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3c34030012d7e380005d34d50000000312c..."} 
[2026-07-27 19:01:13] local.INFO: Processing buffer {"connection_id":143095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3c34030012d7e380005d34d50000000312c..."} 
[2026-07-27 19:01:13] local.INFO: Packet analysis {"connection_id":143095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3c3"} 
[2026-07-27 19:01:13] local.INFO: Extracted packet for processing {"connection_id":143095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3c3"} 
[2026-07-27 19:01:13] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733968,"longitude_deg":76.3246592,"latitude_deg":9.7733968,"altitude":0,"angle":49,"satellites":44,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-07-27 19: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-07-27 19:01:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000603904001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:01:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111785234072076288,"note":"Value kept but may cause issues"} 
[2026-07-27 19:01:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494612480,"note":"Value kept but may cause issues"} 
[2026-07-27 19:01:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:01:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785158910000,"timestamp_ms":1785158910000,"timestamp_seconds":1785158910,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3c34030"} 
[2026-07-27 19:01:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:01:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 19:01:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-27 19:01:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19: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-07-27 19:01:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:01:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:01:13] local.INFO: Teltonika packet parsed successfully {"connection_id":143095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:01:13] local.INFO: Passing IMEI to GPS processor {"connection_id":143095,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 19:01:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":143095,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 19:01:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:01:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 19:01:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 19:01:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000603904001,"66":2209,"109":206,"85":15104,"24":0,"16":111785234072076288,"45":9095019472494612480},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-27 19:01:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 19:01:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 19:01:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000603904001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:01:13] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-27 19:01:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 19:01:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111785234072076288,"km_value":111785234072076.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:01:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494612480,"description":"Unknown IO ID 45"} 
[2026-07-27 19:01:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000603904001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494612480}} 
[2026-07-27 19:01:13] local.INFO: DEBUG: GPS processor result {"connection_id":143095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554938,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:01:13] local.INFO: GPS data processed {"connection_id":143095,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:01:13] local.INFO: Acknowledgment sent {"connection_id":143095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:01:31] local.INFO: TCP Data received {"connection_id":145503,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:01:31] local.INFO: Processing buffer {"connection_id":145503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:01:31] local.INFO: IMEI packet received {"connection_id":145503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 19:01:31] local.INFO: IMEI acknowledgment sent {"connection_id":145503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:01:36] local.INFO: TCP Data received {"connection_id":145503,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:01:36] local.INFO: Processing buffer {"connection_id":145503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:01:36] local.INFO: IMEI packet received {"connection_id":145503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 19:01:36] local.INFO: IMEI acknowledgment sent {"connection_id":145503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:01:37] local.INFO: TCP Data received {"connection_id":145503,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3c3d888012da8530005dfd2380021013a27..."} 
[2026-07-27 19:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3c3d888012da8530005dfd2380021013a27..."} 
[2026-07-27 19:01:37] local.INFO: Processing buffer {"connection_id":145503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3c3d888012da8530005dfd2380021013a27..."} 
[2026-07-27 19:01:37] local.INFO: Packet analysis {"connection_id":145503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3c3"} 
[2026-07-27 19:01:37] local.INFO: Extracted packet for processing {"connection_id":145503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3c3"} 
[2026-07-27 19:01:37] local.INFO: GPS Element Parsed {"raw_longitude":766006016,"raw_latitude":98554424,"longitude_deg":76.6006016,"latitude_deg":9.8554424,"altitude":33,"angle":314,"satellites":39,"speed":0,"hex_longitude":"2da85300","hex_latitude":"05dfd238","is_valid_coordinates":true} 
[2026-07-27 19:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000613888001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359256443599192064,"note":"Value kept but may cause issues"} 
[2026-07-27 19:01:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6317705827040741376,"note":"Value kept but may cause issues"} 
[2026-07-27 19:01:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785158949000,"timestamp_ms":1785158949000,"timestamp_seconds":1785158949,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3c3d888"} 
[2026-07-27 19:01:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:01:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 19:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-27 19:01:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:01:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:01:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:01:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 19:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 19:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000613888001,"66":25756,"70":206,"88":19968,"24":0,"16":359256443599192064,"45":-6317705827040741376},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,88,24,16,45]} 
[2026-07-27 19:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 19:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 19:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000613888001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:01:37] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-27 19:01:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 19:01:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359256443599192064,"km_value":359256443599192.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:01:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6317705827040741376,"description":"Unknown IO ID 45"} 
[2026-07-27 19:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000613888001,"power":25756,"unknown_70":206,"unknown_88":19968,"ignition":0,"odometer":null,"unknown_45":-6317705827040741376}} 
[2026-07-27 19:01:37] local.INFO: DEBUG: GPS processor result {"connection_id":145503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:01:37] local.INFO: GPS data processed {"connection_id":145503,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:01:37] local.INFO: Acknowledgment sent {"connection_id":145503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:01:38] local.INFO: TCP Data received {"connection_id":143094,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3c4da58012d1967c0071fee200046011624..."} 
[2026-07-27 19:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3c4da58012d1967c0071fee200046011624..."} 
[2026-07-27 19:01:38] local.INFO: Processing buffer {"connection_id":143094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3c4da58012d1967c0071fee200046011624..."} 
[2026-07-27 19:01:38] local.INFO: Packet analysis {"connection_id":143094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3c4"} 
[2026-07-27 19:01:38] local.INFO: Extracted packet for processing {"connection_id":143094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3c4"} 
[2026-07-27 19:01:38] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":36,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 19:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:01:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000702464001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:01:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 19:01:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 19:01:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:01:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785159015000,"timestamp_ms":1785159015000,"timestamp_seconds":1785159015,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3c4da58"} 
[2026-07-27 19:01:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:01:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-27 19:01:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:01:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:01:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:01:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:01:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:01:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:01:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:01:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:01:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 19:01:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 19:01:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000702464001,"66":12374,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 19:01:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 19:01:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 19:01:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000702464001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:01:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 19:01:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 19:01:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:01:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 19:01:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000702464001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 19:01:39] local.INFO: DEBUG: GPS processor result {"connection_id":143094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554940,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:01:39] local.INFO: GPS data processed {"connection_id":143094,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:01:39] local.INFO: Acknowledgment sent {"connection_id":143094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:01:44] local.INFO: TCP Data received {"connection_id":143095,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3c34030012d7e380005d34d50000000312c..."} 
[2026-07-27 19:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143095,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3c34030012d7e380005d34d50000000312c..."} 
[2026-07-27 19:01:44] local.INFO: Processing buffer {"connection_id":143095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3c34030012d7e380005d34d50000000312c..."} 
[2026-07-27 19:01:44] local.INFO: Packet analysis {"connection_id":143095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3c3"} 
[2026-07-27 19:01:44] local.INFO: Extracted packet for processing {"connection_id":143095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3c3"} 
[2026-07-27 19:01:44] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733968,"longitude_deg":76.3246592,"latitude_deg":9.7733968,"altitude":0,"angle":49,"satellites":44,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-07-27 19: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-07-27 19:01:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000603904001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:01:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111785234072076288,"note":"Value kept but may cause issues"} 
[2026-07-27 19:01:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494612480,"note":"Value kept but may cause issues"} 
[2026-07-27 19:01:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:01:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785158910000,"timestamp_ms":1785158910000,"timestamp_seconds":1785158910,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3c34030"} 
[2026-07-27 19:01:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:01:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 19: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":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-27 19:01:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19: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-07-27 19:01:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:01:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:01:44] local.INFO: Teltonika packet parsed successfully {"connection_id":143095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:01:44] local.INFO: Passing IMEI to GPS processor {"connection_id":143095,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 19:01:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":143095,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 19:01:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:01:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 19:01:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 19:01:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000603904001,"66":2209,"109":206,"85":15104,"24":0,"16":111785234072076288,"45":9095019472494612480},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-27 19:01:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 19:01:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 19:01:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000603904001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:01:44] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-27 19:01:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 19:01:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111785234072076288,"km_value":111785234072076.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:01:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494612480,"description":"Unknown IO ID 45"} 
[2026-07-27 19:01:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000603904001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494612480}} 
[2026-07-27 19:01:44] local.INFO: DEBUG: GPS processor result {"connection_id":143095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554941,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:01:44] local.INFO: GPS data processed {"connection_id":143095,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:01:44] local.INFO: Acknowledgment sent {"connection_id":143095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:02:04] local.INFO: TCP Data received {"connection_id":145504,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145504,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:02:04] local.INFO: Processing buffer {"connection_id":145504,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:02:04] local.INFO: IMEI packet received {"connection_id":145504,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 19:02:04] local.INFO: IMEI acknowledgment sent {"connection_id":145504,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:02:08] local.INFO: TCP Data received {"connection_id":145503,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3c3d888012da8530005dfd2380021013a27..."} 
[2026-07-27 19:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3c3d888012da8530005dfd2380021013a27..."} 
[2026-07-27 19:02:08] local.INFO: Processing buffer {"connection_id":145503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3c3d888012da8530005dfd2380021013a27..."} 
[2026-07-27 19:02:08] local.INFO: Packet analysis {"connection_id":145503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3c3"} 
[2026-07-27 19:02:08] local.INFO: Extracted packet for processing {"connection_id":145503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3c3"} 
[2026-07-27 19:02:08] local.INFO: GPS Element Parsed {"raw_longitude":766006016,"raw_latitude":98554424,"longitude_deg":76.6006016,"latitude_deg":9.8554424,"altitude":33,"angle":314,"satellites":39,"speed":0,"hex_longitude":"2da85300","hex_latitude":"05dfd238","is_valid_coordinates":true} 
[2026-07-27 19:02:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:02:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000613888001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:02:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359256443599192064,"note":"Value kept but may cause issues"} 
[2026-07-27 19:02:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6317705827040741376,"note":"Value kept but may cause issues"} 
[2026-07-27 19:02:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:02:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785158949000,"timestamp_ms":1785158949000,"timestamp_seconds":1785158949,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3c3d888"} 
[2026-07-27 19:02:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:02:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 19:02:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-27 19:02:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:02:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:02:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:02:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:02:08] local.INFO: Teltonika packet parsed successfully {"connection_id":145503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:02:08] local.INFO: Passing IMEI to GPS processor {"connection_id":145503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:02:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":145503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:02:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:02:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 19:02:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 19:02:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000613888001,"66":25756,"70":206,"88":19968,"24":0,"16":359256443599192064,"45":-6317705827040741376},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,88,24,16,45]} 
[2026-07-27 19:02:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 19:02:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 19:02:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000613888001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:02:08] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-27 19:02:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 19:02:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359256443599192064,"km_value":359256443599192.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:02:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6317705827040741376,"description":"Unknown IO ID 45"} 
[2026-07-27 19:02:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000613888001,"power":25756,"unknown_70":206,"unknown_88":19968,"ignition":0,"odometer":null,"unknown_45":-6317705827040741376}} 
[2026-07-27 19:02:08] local.INFO: DEBUG: GPS processor result {"connection_id":145503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:02:08] local.INFO: GPS data processed {"connection_id":145503,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:02:08] local.INFO: Acknowledgment sent {"connection_id":145503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:02:09] local.INFO: TCP Data received {"connection_id":145504,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145504,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:02:09] local.INFO: Processing buffer {"connection_id":145504,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:02:09] local.INFO: IMEI packet received {"connection_id":145504,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 19:02:09] local.INFO: IMEI acknowledgment sent {"connection_id":145504,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:02:10] local.INFO: TCP Data received {"connection_id":145504,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3c52c60012d1967c0071fee200046011624..."} 
[2026-07-27 19:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3c52c60012d1967c0071fee200046011624..."} 
[2026-07-27 19:02:10] local.INFO: Processing buffer {"connection_id":145504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3c52c60012d1967c0071fee200046011624..."} 
[2026-07-27 19:02:10] local.INFO: Packet analysis {"connection_id":145504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3c5"} 
[2026-07-27 19:02:10] local.INFO: Extracted packet for processing {"connection_id":145504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3c5"} 
[2026-07-27 19:02:10] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":36,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 19:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:02:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000707840001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:02:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 19:02:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 19:02:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:02:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785159036000,"timestamp_ms":1785159036000,"timestamp_seconds":1785159036,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3c52c60"} 
[2026-07-27 19:02:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:02:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-27 19:02:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:02:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:02:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:02:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:02:10] local.INFO: Teltonika packet parsed successfully {"connection_id":145504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:02:10] local.INFO: Passing IMEI to GPS processor {"connection_id":145504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:02:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":145504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:02:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:02:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 19:02:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 19:02:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000707840001,"66":12319,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 19:02:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 19:02:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 19:02:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000707840001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:02:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 19:02:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 19:02:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:02:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 19:02:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000707840001,"power":12319,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 19:02:10] local.INFO: DEBUG: GPS processor result {"connection_id":145504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554943,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:02:10] local.INFO: GPS data processed {"connection_id":145504,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:02:10] local.INFO: Acknowledgment sent {"connection_id":145504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:02:12] local.INFO: TCP Data received {"connection_id":144224,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 19:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144224,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 19:02:13] local.INFO: Processing buffer {"connection_id":144224,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 19:02:13] local.INFO: IMEI packet received {"connection_id":144224,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 19:02:13] local.INFO: IMEI acknowledgment sent {"connection_id":144224,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:02:15] local.INFO: TCP Data received {"connection_id":145504,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3c57e68012d1967c0071fee200046011624..."} 
[2026-07-27 19:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3c57e68012d1967c0071fee200046011624..."} 
[2026-07-27 19:02:15] local.INFO: Processing buffer {"connection_id":145504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3c57e68012d1967c0071fee200046011624..."} 
[2026-07-27 19:02:15] local.INFO: Packet analysis {"connection_id":145504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3c5"} 
[2026-07-27 19:02:15] local.INFO: Extracted packet for processing {"connection_id":145504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3c5"} 
[2026-07-27 19:02:15] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":36,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 19:02:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:02:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000713216001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:02:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 19:02:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 19:02: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-07-27 19:02:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785159057000,"timestamp_ms":1785159057000,"timestamp_seconds":1785159057,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3c57e68"} 
[2026-07-27 19:02:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:02:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:02:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 19:02:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:02:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:02:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:02:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:02:15] local.INFO: Teltonika packet parsed successfully {"connection_id":145504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:02:15] local.INFO: Passing IMEI to GPS processor {"connection_id":145504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:02:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":145504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:02:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:02:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 19:02:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 19:02:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000713216001,"66":12287,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 19:02:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 19:02:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 19:02:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000713216001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:02:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 19:02:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 19:02:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:02:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 19:02:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000713216001,"power":12287,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 19:02:15] local.INFO: DEBUG: GPS processor result {"connection_id":145504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554944,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:02:15] local.INFO: GPS data processed {"connection_id":145504,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:02:15] local.INFO: Acknowledgment sent {"connection_id":145504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:02:17] local.INFO: TCP Data received {"connection_id":144224,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 19:02:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144224,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 19:02:18] local.INFO: Processing buffer {"connection_id":144224,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 19:02:18] local.INFO: IMEI packet received {"connection_id":144224,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 19:02:18] local.INFO: IMEI acknowledgment sent {"connection_id":144224,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:02:18] local.INFO: TCP Data received {"connection_id":144224,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3c34030012d7e380005d34d50000000312c..."} 
[2026-07-27 19:02:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144224,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3c34030012d7e380005d34d50000000312c..."} 
[2026-07-27 19:02:18] local.INFO: Processing buffer {"connection_id":144224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3c34030012d7e380005d34d50000000312c..."} 
[2026-07-27 19:02:18] local.INFO: Packet analysis {"connection_id":144224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3c3"} 
[2026-07-27 19:02:18] local.INFO: Extracted packet for processing {"connection_id":144224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3c3"} 
[2026-07-27 19:02:18] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733968,"longitude_deg":76.3246592,"latitude_deg":9.7733968,"altitude":0,"angle":49,"satellites":44,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-07-27 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-07-27 19:02:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000603904001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:02:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111785234072076288,"note":"Value kept but may cause issues"} 
[2026-07-27 19:02:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494612480,"note":"Value kept but may cause issues"} 
[2026-07-27 19:02:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:02:18] local.INFO: AVL Record Parsed {"raw_timestamp":1785158910000,"timestamp_ms":1785158910000,"timestamp_seconds":1785158910,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3c34030"} 
[2026-07-27 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-07-27 19:02: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-07-27 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":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-27 19:02:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 19:02:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:02:18] local.INFO: Teltonika packet parsed successfully {"connection_id":144224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:02:18] local.INFO: Passing IMEI to GPS processor {"connection_id":144224,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 19:02:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":144224,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 19:02:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:02:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 19:02:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 19:02:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000603904001,"66":2209,"109":206,"85":15104,"24":0,"16":111785234072076288,"45":9095019472494612480},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-27 19:02:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 19:02:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 19:02:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000603904001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:02:18] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-27 19:02:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 19:02:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111785234072076288,"km_value":111785234072076.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:02:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494612480,"description":"Unknown IO ID 45"} 
[2026-07-27 19:02:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000603904001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494612480}} 
[2026-07-27 19:02:18] local.INFO: DEBUG: GPS processor result {"connection_id":144224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554945,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:02:18] local.INFO: GPS data processed {"connection_id":144224,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:02:18] local.INFO: Acknowledgment sent {"connection_id":144224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:02:23] local.INFO: TCP Data received {"connection_id":144224,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3c34030012d7e380005d34d50000000312c..."} 
[2026-07-27 19:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144224,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3c34030012d7e380005d34d50000000312c..."} 
[2026-07-27 19:02:23] local.INFO: Processing buffer {"connection_id":144224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3c34030012d7e380005d34d50000000312c..."} 
[2026-07-27 19:02:23] local.INFO: Packet analysis {"connection_id":144224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3c3"} 
[2026-07-27 19:02:23] local.INFO: Extracted packet for processing {"connection_id":144224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3c3"} 
[2026-07-27 19:02:23] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733968,"longitude_deg":76.3246592,"latitude_deg":9.7733968,"altitude":0,"angle":49,"satellites":44,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-07-27 19:02:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:02:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000603904001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:02:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111785234072076288,"note":"Value kept but may cause issues"} 
[2026-07-27 19:02:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494612480,"note":"Value kept but may cause issues"} 
[2026-07-27 19:02:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:02:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785158910000,"timestamp_ms":1785158910000,"timestamp_seconds":1785158910,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3c34030"} 
[2026-07-27 19:02:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:02:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 19:02:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-27 19:02:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:02:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:02:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:02:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:02:23] local.INFO: Teltonika packet parsed successfully {"connection_id":144224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:02:23] local.INFO: Passing IMEI to GPS processor {"connection_id":144224,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 19:02:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":144224,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 19:02:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:02:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 19:02:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 19:02:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000603904001,"66":2209,"109":206,"85":15104,"24":0,"16":111785234072076288,"45":9095019472494612480},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-27 19:02:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 19:02:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 19:02:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000603904001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:02:23] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-27 19:02:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 19:02:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111785234072076288,"km_value":111785234072076.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:02:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494612480,"description":"Unknown IO ID 45"} 
[2026-07-27 19:02:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000603904001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494612480}} 
[2026-07-27 19:02:23] local.INFO: DEBUG: GPS processor result {"connection_id":144224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554946,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:02:23] local.INFO: GPS data processed {"connection_id":144224,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:02:23] local.INFO: Acknowledgment sent {"connection_id":144224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:02:31] local.INFO: TCP Data received {"connection_id":144225,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:02:31] local.INFO: Processing buffer {"connection_id":144225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:02:31] local.INFO: IMEI packet received {"connection_id":144225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 19:02:31] local.INFO: IMEI acknowledgment sent {"connection_id":144225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:02:36] local.INFO: TCP Data received {"connection_id":144225,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:02:36] local.INFO: Processing buffer {"connection_id":144225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:02:36] local.INFO: IMEI packet received {"connection_id":144225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 19:02:36] local.INFO: IMEI acknowledgment sent {"connection_id":144225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:02:37] local.INFO: TCP Data received {"connection_id":144225,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3c3d888012da8530005dfd2380021013a27..."} 
[2026-07-27 19:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3c3d888012da8530005dfd2380021013a27..."} 
[2026-07-27 19:02:37] local.INFO: Processing buffer {"connection_id":144225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3c3d888012da8530005dfd2380021013a27..."} 
[2026-07-27 19:02:37] local.INFO: Packet analysis {"connection_id":144225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3c3"} 
[2026-07-27 19:02:37] local.INFO: Extracted packet for processing {"connection_id":144225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3c3"} 
[2026-07-27 19:02:37] local.INFO: GPS Element Parsed {"raw_longitude":766006016,"raw_latitude":98554424,"longitude_deg":76.6006016,"latitude_deg":9.8554424,"altitude":33,"angle":314,"satellites":39,"speed":0,"hex_longitude":"2da85300","hex_latitude":"05dfd238","is_valid_coordinates":true} 
[2026-07-27 19:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000613888001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359256443599192064,"note":"Value kept but may cause issues"} 
[2026-07-27 19:02:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6317705827040741376,"note":"Value kept but may cause issues"} 
[2026-07-27 19:02:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785158949000,"timestamp_ms":1785158949000,"timestamp_seconds":1785158949,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3c3d888"} 
[2026-07-27 19:02:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:02:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 19:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-27 19:02:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:02:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:02:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:02:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 19:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 19:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000613888001,"66":25756,"70":206,"88":19968,"24":0,"16":359256443599192064,"45":-6317705827040741376},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,88,24,16,45]} 
[2026-07-27 19:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 19:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 19:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000613888001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:02:37] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-27 19:02:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 19:02:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359256443599192064,"km_value":359256443599192.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:02:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6317705827040741376,"description":"Unknown IO ID 45"} 
[2026-07-27 19:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000613888001,"power":25756,"unknown_70":206,"unknown_88":19968,"ignition":0,"odometer":null,"unknown_45":-6317705827040741376}} 
[2026-07-27 19:02:37] local.INFO: DEBUG: GPS processor result {"connection_id":144225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:02:37] local.INFO: GPS data processed {"connection_id":144225,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:02:37] local.INFO: Acknowledgment sent {"connection_id":144225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:03:00] local.INFO: TCP Data received {"connection_id":145505,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145505,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:03:00] local.INFO: Processing buffer {"connection_id":145505,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:03:00] local.INFO: IMEI packet received {"connection_id":145505,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 19:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":145505,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:03:00] local.INFO: TCP Data received {"connection_id":145505,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145505,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:03:00] local.INFO: Processing buffer {"connection_id":145505,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:03:00] local.INFO: IMEI packet received {"connection_id":145505,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 19:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":145505,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:03:04] local.INFO: TCP Data received {"connection_id":145505,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145505,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:03:04] local.INFO: Processing buffer {"connection_id":145505,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:03:04] local.INFO: IMEI packet received {"connection_id":145505,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 19:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":145505,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:03:06] local.INFO: TCP Data received {"connection_id":145505,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3c5d070012d1967c0071fee200046011624..."} 
[2026-07-27 19:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3c5d070012d1967c0071fee200046011624..."} 
[2026-07-27 19:03:06] local.INFO: Processing buffer {"connection_id":145505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3c5d070012d1967c0071fee200046011624..."} 
[2026-07-27 19:03:06] local.INFO: Packet analysis {"connection_id":145505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3c5"} 
[2026-07-27 19:03:06] local.INFO: Extracted packet for processing {"connection_id":145505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3c5"} 
[2026-07-27 19:03:06] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":36,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 19:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:03:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000718592001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:03:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 19:03:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 19:03:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:03:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785159078000,"timestamp_ms":1785159078000,"timestamp_seconds":1785159078,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3c5d070"} 
[2026-07-27 19:03:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:03:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-27 19:03:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:03:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:03:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:03:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:03:06] local.INFO: Teltonika packet parsed successfully {"connection_id":145505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:03:06] local.INFO: Passing IMEI to GPS processor {"connection_id":145505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:03:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":145505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:03:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:03:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 19:03:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 19:03:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000718592001,"66":12363,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 19:03:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 19:03:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 19:03:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000718592001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:03:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 19:03:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 19:03:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:03:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 19:03:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000718592001,"power":12363,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 19:03:06] local.INFO: DEBUG: GPS processor result {"connection_id":145505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554948,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:03:06] local.INFO: GPS data processed {"connection_id":145505,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:03:06] local.INFO: Acknowledgment sent {"connection_id":145505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:03:07] local.INFO: TCP Data received {"connection_id":143234,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 19:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143234,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 19:03:07] local.INFO: Processing buffer {"connection_id":143234,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 19:03:07] local.INFO: IMEI packet received {"connection_id":143234,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 19:03:07] local.INFO: IMEI acknowledgment sent {"connection_id":143234,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:03:08] local.INFO: TCP Data received {"connection_id":144225,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3c3d888012da8530005dfd2380021013a27..."} 
[2026-07-27 19:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3c3d888012da8530005dfd2380021013a27..."} 
[2026-07-27 19:03:08] local.INFO: Processing buffer {"connection_id":144225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3c3d888012da8530005dfd2380021013a27..."} 
[2026-07-27 19:03:08] local.INFO: Packet analysis {"connection_id":144225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3c3"} 
[2026-07-27 19:03:08] local.INFO: Extracted packet for processing {"connection_id":144225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3c3"} 
[2026-07-27 19:03:08] local.INFO: GPS Element Parsed {"raw_longitude":766006016,"raw_latitude":98554424,"longitude_deg":76.6006016,"latitude_deg":9.8554424,"altitude":33,"angle":314,"satellites":39,"speed":0,"hex_longitude":"2da85300","hex_latitude":"05dfd238","is_valid_coordinates":true} 
[2026-07-27 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-07-27 19:03:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000613888001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:03:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359256443599192064,"note":"Value kept but may cause issues"} 
[2026-07-27 19:03:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6317705827040741376,"note":"Value kept but may cause issues"} 
[2026-07-27 19:03:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:03:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785158949000,"timestamp_ms":1785158949000,"timestamp_seconds":1785158949,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3c3d888"} 
[2026-07-27 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-07-27 19:03:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-27 19:03:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 19:03:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:03:08] local.INFO: Teltonika packet parsed successfully {"connection_id":144225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:03:08] local.INFO: Passing IMEI to GPS processor {"connection_id":144225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:03:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":144225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:03:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:03:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 19:03:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 19:03:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000613888001,"66":25756,"70":206,"88":19968,"24":0,"16":359256443599192064,"45":-6317705827040741376},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,88,24,16,45]} 
[2026-07-27 19:03:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 19:03:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 19:03:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000613888001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:03:08] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-27 19:03:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 19:03:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359256443599192064,"km_value":359256443599192.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:03:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6317705827040741376,"description":"Unknown IO ID 45"} 
[2026-07-27 19:03:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000613888001,"power":25756,"unknown_70":206,"unknown_88":19968,"ignition":0,"odometer":null,"unknown_45":-6317705827040741376}} 
[2026-07-27 19:03:08] local.INFO: DEBUG: GPS processor result {"connection_id":144225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:03:08] local.INFO: GPS data processed {"connection_id":144225,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:03:08] local.INFO: Acknowledgment sent {"connection_id":144225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:03:13] local.INFO: TCP Data received {"connection_id":143234,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 19:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143234,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 19:03:13] local.INFO: Processing buffer {"connection_id":143234,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 19:03:13] local.INFO: IMEI packet received {"connection_id":143234,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 19:03:13] local.INFO: IMEI acknowledgment sent {"connection_id":143234,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:03:14] local.INFO: TCP Data received {"connection_id":143234,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3c34030012d7e380005d34d50000000312c..."} 
[2026-07-27 19:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3c34030012d7e380005d34d50000000312c..."} 
[2026-07-27 19:03:14] local.INFO: Processing buffer {"connection_id":143234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3c34030012d7e380005d34d50000000312c..."} 
[2026-07-27 19:03:14] local.INFO: Packet analysis {"connection_id":143234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3c3"} 
[2026-07-27 19:03:14] local.INFO: Extracted packet for processing {"connection_id":143234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3c3"} 
[2026-07-27 19:03:14] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733968,"longitude_deg":76.3246592,"latitude_deg":9.7733968,"altitude":0,"angle":49,"satellites":44,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-07-27 19: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-07-27 19:03:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000603904001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:03:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111785234072076288,"note":"Value kept but may cause issues"} 
[2026-07-27 19:03:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494612480,"note":"Value kept but may cause issues"} 
[2026-07-27 19:03:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:03:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785158910000,"timestamp_ms":1785158910000,"timestamp_seconds":1785158910,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3c34030"} 
[2026-07-27 19:03:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:03:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 19:03:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-27 19:03:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19: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-07-27 19:03:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:03:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:03:14] local.INFO: Teltonika packet parsed successfully {"connection_id":143234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:03:14] local.INFO: Passing IMEI to GPS processor {"connection_id":143234,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 19:03:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":143234,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 19:03:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:03:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 19:03:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 19:03:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000603904001,"66":2209,"109":206,"85":15104,"24":0,"16":111785234072076288,"45":9095019472494612480},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-27 19:03:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 19:03:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 19:03:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000603904001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:03:14] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-27 19:03:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 19:03:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111785234072076288,"km_value":111785234072076.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:03:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494612480,"description":"Unknown IO ID 45"} 
[2026-07-27 19:03:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000603904001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494612480}} 
[2026-07-27 19:03:14] local.INFO: DEBUG: GPS processor result {"connection_id":143234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554950,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:03:14] local.INFO: GPS data processed {"connection_id":143234,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:03:14] local.INFO: Acknowledgment sent {"connection_id":143234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:03:31] local.INFO: TCP Data received {"connection_id":143096,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:03:31] local.INFO: Processing buffer {"connection_id":143096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:03:31] local.INFO: IMEI packet received {"connection_id":143096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 19:03:31] local.INFO: IMEI acknowledgment sent {"connection_id":143096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:03:36] local.INFO: TCP Data received {"connection_id":143096,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:03:36] local.INFO: Processing buffer {"connection_id":143096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:03:36] local.INFO: IMEI packet received {"connection_id":143096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 19:03:36] local.INFO: IMEI acknowledgment sent {"connection_id":143096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:03:37] local.INFO: TCP Data received {"connection_id":143096,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3c3d888012da8530005dfd2380021013a27..."} 
[2026-07-27 19:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3c3d888012da8530005dfd2380021013a27..."} 
[2026-07-27 19:03:37] local.INFO: Processing buffer {"connection_id":143096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3c3d888012da8530005dfd2380021013a27..."} 
[2026-07-27 19:03:37] local.INFO: Packet analysis {"connection_id":143096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3c3"} 
[2026-07-27 19:03:37] local.INFO: Extracted packet for processing {"connection_id":143096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3c3"} 
[2026-07-27 19:03:37] local.INFO: GPS Element Parsed {"raw_longitude":766006016,"raw_latitude":98554424,"longitude_deg":76.6006016,"latitude_deg":9.8554424,"altitude":33,"angle":314,"satellites":39,"speed":0,"hex_longitude":"2da85300","hex_latitude":"05dfd238","is_valid_coordinates":true} 
[2026-07-27 19:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:03:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000613888001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:03:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359256443599192064,"note":"Value kept but may cause issues"} 
[2026-07-27 19:03:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6317705827040741376,"note":"Value kept but may cause issues"} 
[2026-07-27 19:03:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:03:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785158949000,"timestamp_ms":1785158949000,"timestamp_seconds":1785158949,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3c3d888"} 
[2026-07-27 19:03:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:03:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 19:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-27 19:03:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:03:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:03:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:03:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:03:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:03:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:03:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:03:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:03:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 19:03:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 19:03:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000613888001,"66":25756,"70":206,"88":19968,"24":0,"16":359256443599192064,"45":-6317705827040741376},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,88,24,16,45]} 
[2026-07-27 19:03:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 19:03:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 19:03:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000613888001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:03:37] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-27 19:03:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 19:03:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359256443599192064,"km_value":359256443599192.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:03:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6317705827040741376,"description":"Unknown IO ID 45"} 
[2026-07-27 19:03:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000613888001,"power":25756,"unknown_70":206,"unknown_88":19968,"ignition":0,"odometer":null,"unknown_45":-6317705827040741376}} 
[2026-07-27 19:03:37] local.INFO: DEBUG: GPS processor result {"connection_id":143096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:03:37] local.INFO: GPS data processed {"connection_id":143096,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:03:37] local.INFO: Acknowledgment sent {"connection_id":143096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:03:38] local.INFO: TCP Data received {"connection_id":145505,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3c62278012d1967c0071fee200046011625..."} 
[2026-07-27 19:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3c62278012d1967c0071fee200046011625..."} 
[2026-07-27 19:03:38] local.INFO: Processing buffer {"connection_id":145505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3c62278012d1967c0071fee200046011625..."} 
[2026-07-27 19:03:38] local.INFO: Packet analysis {"connection_id":145505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3c6"} 
[2026-07-27 19:03:38] local.INFO: Extracted packet for processing {"connection_id":145505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3c6"} 
[2026-07-27 19:03:38] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":37,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 19:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:03:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000723968001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:03:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 19:03:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 19:03:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:03:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785159099000,"timestamp_ms":1785159099000,"timestamp_seconds":1785159099,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3c62278"} 
[2026-07-27 19:03:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:03:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-27 19:03:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:03:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:03:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:03:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:03:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:03:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:03:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:03:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:03:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 19:03:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 19:03:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000723968001,"66":11950,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 19:03:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 19:03:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 19:03:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000723968001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:03:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 19:03:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 19:03:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:03:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 19:03:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000723968001,"power":11950,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 19:03:38] local.INFO: DEBUG: GPS processor result {"connection_id":145505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554952,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:03:38] local.INFO: GPS data processed {"connection_id":145505,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:03:38] local.INFO: Acknowledgment sent {"connection_id":145505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:03:44] local.INFO: TCP Data received {"connection_id":143234,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3c7d7f8012d7e380005d34d500000003128..."} 
[2026-07-27 19:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3c7d7f8012d7e380005d34d500000003128..."} 
[2026-07-27 19:03:44] local.INFO: Processing buffer {"connection_id":143234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3c7d7f8012d7e380005d34d500000003128..."} 
[2026-07-27 19:03:44] local.INFO: Packet analysis {"connection_id":143234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3c7"} 
[2026-07-27 19:03:44] local.INFO: Extracted packet for processing {"connection_id":143234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3c7"} 
[2026-07-27 19:03:44] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733968,"longitude_deg":76.3246592,"latitude_deg":9.7733968,"altitude":0,"angle":49,"satellites":40,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-07-27 19:03:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:03:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000680960001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:03:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111785234072076288,"note":"Value kept but may cause issues"} 
[2026-07-27 19:03:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494612480,"note":"Value kept but may cause issues"} 
[2026-07-27 19:03:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:03:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785159211000,"timestamp_ms":1785159211000,"timestamp_seconds":1785159211,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3c7d7f8"} 
[2026-07-27 19:03:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:03:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 19:03:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-27 19:03:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:03:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:03:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:03:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:03:44] local.INFO: Teltonika packet parsed successfully {"connection_id":143234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:03:44] local.INFO: Passing IMEI to GPS processor {"connection_id":143234,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 19:03:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":143234,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 19:03:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:03:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 19:03:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 19:03:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000680960001,"66":2209,"109":206,"85":15104,"24":0,"16":111785234072076288,"45":9095019472494612480},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-27 19:03:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 19:03:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 19:03:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000680960001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:03:44] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-27 19:03:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 19:03:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111785234072076288,"km_value":111785234072076.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:03:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494612480,"description":"Unknown IO ID 45"} 
[2026-07-27 19:03:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000680960001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494612480}} 
[2026-07-27 19:03:44] local.INFO: DEBUG: GPS processor result {"connection_id":143234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554953,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:03:44] local.INFO: GPS data processed {"connection_id":143234,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:03:44] local.INFO: Acknowledgment sent {"connection_id":143234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:03:59] local.INFO: TCP Data received {"connection_id":143235,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143235,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:03:59] local.INFO: Processing buffer {"connection_id":143235,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:03:59] local.INFO: IMEI packet received {"connection_id":143235,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 19:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":143235,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:04:02] local.INFO: TCP Data received {"connection_id":143235,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143235,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:04:02] local.INFO: Processing buffer {"connection_id":143235,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:04:02] local.INFO: IMEI packet received {"connection_id":143235,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 19:04:02] local.INFO: IMEI acknowledgment sent {"connection_id":143235,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:04:04] local.INFO: TCP Data received {"connection_id":143235,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3c67480012d1967c0071fee200046011626..."} 
[2026-07-27 19:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3c67480012d1967c0071fee200046011626..."} 
[2026-07-27 19:04:04] local.INFO: Processing buffer {"connection_id":143235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3c67480012d1967c0071fee200046011626..."} 
[2026-07-27 19:04:04] local.INFO: Packet analysis {"connection_id":143235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3c6"} 
[2026-07-27 19:04:04] local.INFO: Extracted packet for processing {"connection_id":143235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3c6"} 
[2026-07-27 19:04:04] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":38,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 19:04:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:04:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000729344001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:04:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 19:04:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 19:04:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:04:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785159120000,"timestamp_ms":1785159120000,"timestamp_seconds":1785159120,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3c67480"} 
[2026-07-27 19:04:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:04:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:04:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-27 19:04:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1994,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:04:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:04:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:04:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:04:04] local.INFO: Teltonika packet parsed successfully {"connection_id":143235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:04:04] local.INFO: Passing IMEI to GPS processor {"connection_id":143235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:04:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":143235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:04:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:04:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 19:04:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 19:04:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000729344001,"66":12298,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 19:04:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 19:04:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 19:04:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000729344001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:04:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 19:04:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 19:04:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:04:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 19:04:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000729344001,"power":12298,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 19:04:04] local.INFO: DEBUG: GPS processor result {"connection_id":143235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554954,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:04:04] local.INFO: GPS data processed {"connection_id":143235,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:04:04] local.INFO: Acknowledgment sent {"connection_id":143235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:04:07] local.INFO: TCP Data received {"connection_id":145506,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 19:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145506,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 19:04:07] local.INFO: Processing buffer {"connection_id":145506,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 19:04:07] local.INFO: IMEI packet received {"connection_id":145506,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 19:04:07] local.INFO: IMEI acknowledgment sent {"connection_id":145506,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:04:08] local.INFO: TCP Data received {"connection_id":143096,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3c3d888012da8530005dfd2380021013a27..."} 
[2026-07-27 19:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3c3d888012da8530005dfd2380021013a27..."} 
[2026-07-27 19:04:08] local.INFO: Processing buffer {"connection_id":143096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3c3d888012da8530005dfd2380021013a27..."} 
[2026-07-27 19:04:08] local.INFO: Packet analysis {"connection_id":143096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3c3"} 
[2026-07-27 19:04:08] local.INFO: Extracted packet for processing {"connection_id":143096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3c3"} 
[2026-07-27 19:04:08] local.INFO: GPS Element Parsed {"raw_longitude":766006016,"raw_latitude":98554424,"longitude_deg":76.6006016,"latitude_deg":9.8554424,"altitude":33,"angle":314,"satellites":39,"speed":0,"hex_longitude":"2da85300","hex_latitude":"05dfd238","is_valid_coordinates":true} 
[2026-07-27 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-07-27 19:04:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000613888001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:04:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359256443599192064,"note":"Value kept but may cause issues"} 
[2026-07-27 19:04:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6317705827040741376,"note":"Value kept but may cause issues"} 
[2026-07-27 19:04:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:04:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785158949000,"timestamp_ms":1785158949000,"timestamp_seconds":1785158949,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3c3d888"} 
[2026-07-27 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-07-27 19:04:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-27 19:04:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 19:04:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:04:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:04:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:04:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:04:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:04:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 19:04:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 19:04:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000613888001,"66":25756,"70":206,"88":19968,"24":0,"16":359256443599192064,"45":-6317705827040741376},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,88,24,16,45]} 
[2026-07-27 19:04:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 19:04:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 19:04:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000613888001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:04:08] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-27 19:04:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 19:04:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359256443599192064,"km_value":359256443599192.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:04:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6317705827040741376,"description":"Unknown IO ID 45"} 
[2026-07-27 19:04:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000613888001,"power":25756,"unknown_70":206,"unknown_88":19968,"ignition":0,"odometer":null,"unknown_45":-6317705827040741376}} 
[2026-07-27 19:04:08] local.INFO: DEBUG: GPS processor result {"connection_id":143096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:04:08] local.INFO: GPS data processed {"connection_id":143096,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:04:08] local.INFO: Acknowledgment sent {"connection_id":143096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:04:12] local.INFO: TCP Data received {"connection_id":145506,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 19:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145506,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 19:04:12] local.INFO: Processing buffer {"connection_id":145506,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 19:04:12] local.INFO: IMEI packet received {"connection_id":145506,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 19:04:12] local.INFO: IMEI acknowledgment sent {"connection_id":145506,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:04:13] local.INFO: TCP Data received {"connection_id":145506,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3c7d7f8012d7e380005d34d500000003128..."} 
[2026-07-27 19:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3c7d7f8012d7e380005d34d500000003128..."} 
[2026-07-27 19:04:13] local.INFO: Processing buffer {"connection_id":145506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3c7d7f8012d7e380005d34d500000003128..."} 
[2026-07-27 19:04:13] local.INFO: Packet analysis {"connection_id":145506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3c7"} 
[2026-07-27 19:04:13] local.INFO: Extracted packet for processing {"connection_id":145506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3c7"} 
[2026-07-27 19:04:13] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733968,"longitude_deg":76.3246592,"latitude_deg":9.7733968,"altitude":0,"angle":49,"satellites":40,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-07-27 19:04:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:04:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000680960001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:04:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111785234072076288,"note":"Value kept but may cause issues"} 
[2026-07-27 19:04:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494612480,"note":"Value kept but may cause issues"} 
[2026-07-27 19:04:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:04:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785159211000,"timestamp_ms":1785159211000,"timestamp_seconds":1785159211,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3c7d7f8"} 
[2026-07-27 19:04:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:04:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 19: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":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-27 19:04:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:04:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:04:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:04:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:04:13] local.INFO: Teltonika packet parsed successfully {"connection_id":145506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:04:13] local.INFO: Passing IMEI to GPS processor {"connection_id":145506,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 19:04:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":145506,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 19:04:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:04:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 19:04:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 19:04:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000680960001,"66":2209,"109":206,"85":15104,"24":0,"16":111785234072076288,"45":9095019472494612480},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-27 19:04:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 19:04:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 19:04:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000680960001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:04:13] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-27 19:04:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 19:04:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111785234072076288,"km_value":111785234072076.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:04:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494612480,"description":"Unknown IO ID 45"} 
[2026-07-27 19:04:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000680960001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494612480}} 
[2026-07-27 19:04:13] local.INFO: DEBUG: GPS processor result {"connection_id":145506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554956,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:04:13] local.INFO: GPS data processed {"connection_id":145506,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:04:13] local.INFO: Acknowledgment sent {"connection_id":145506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:04:35] local.INFO: TCP Data received {"connection_id":143235,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3c6c688012d1967c0071fee200046011624..."} 
[2026-07-27 19:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3c6c688012d1967c0071fee200046011624..."} 
[2026-07-27 19:04:35] local.INFO: Processing buffer {"connection_id":143235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3c6c688012d1967c0071fee200046011624..."} 
[2026-07-27 19:04:35] local.INFO: Packet analysis {"connection_id":143235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3c6"} 
[2026-07-27 19:04:35] local.INFO: Extracted packet for processing {"connection_id":143235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3c6"} 
[2026-07-27 19:04:35] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":36,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 19:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:04:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000734720001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:04:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 19:04:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 19:04:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:04:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785159141000,"timestamp_ms":1785159141000,"timestamp_seconds":1785159141,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3c6c688"} 
[2026-07-27 19:04:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:04:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-27 19:04:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-27 19:04:35] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168048982131200,"note":"Value kept but may cause issues"} 
[2026-07-27 19:04:35] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452319,"note":"Value kept but may cause issues"} 
[2026-07-27 19:04:35] local.WARNING: Large IO value detected {"io_id":222,"raw_value":-6917529027641081855,"note":"Value kept but may cause issues"} 
[2026-07-27 19:04:35] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-6646127467206731417,"note":"Value kept but may cause issues"} 
[2026-07-27 19:04:35] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513390703754477846,"note":"Value kept but may cause issues"} 
[2026-07-27 19:04:35] local.WARNING: Large IO value detected {"io_id":70,"raw_value":78290725455790080,"note":"Value kept but may cause issues"} 
[2026-07-27 19:04:35] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832604,"note":"Value kept but may cause issues"} 
[2026-07-27 19:04:35] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483923195592910,"note":"Value kept but may cause issues"} 
[2026-07-27 19:04:35] local.WARNING: Large IO value detected {"io_id":163,"raw_value":3308019713,"note":"Value kept but may cause issues"} 
[2026-07-27 19:04:35] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3735027712,"note":"Value kept but may cause issues"} 
[2026-07-27 19:04:35] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-27 19:04:35] local.WARNING: Large IO value detected {"io_id":103,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-07-27 19:04:35] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,121,28,24,241,158,16,222,159,34,45,192,238,70,37,10,66,208,36,126,1,240,255,163,31,4,113,205,218,103,32,239,48,2,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-07-27 19:04:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5044337410096234496,"timestamp_seconds":5044337410096234.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 19:04:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:04:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:04:35] local.INFO: Teltonika packet parsed successfully {"connection_id":143235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:04:35] local.INFO: Passing IMEI to GPS processor {"connection_id":143235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:04:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":143235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:04:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:04:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 19:04:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 19:04:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000734720001,"66":12287,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 19:04:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 19:04:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 19:04:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000734720001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:04:35] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 19:04:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 19:04:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:04:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 19:04:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000734720001,"power":12287,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 19:04:35] local.INFO: DEBUG: GPS processor result {"connection_id":143235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554957,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:04:35] local.INFO: GPS data processed {"connection_id":143235,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:04:35] local.INFO: Acknowledgment sent {"connection_id":143235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:04:36] local.INFO: TCP Data received {"connection_id":145507,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:04:36] local.INFO: Processing buffer {"connection_id":145507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:04:36] local.INFO: IMEI packet received {"connection_id":145507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 19:04:36] local.INFO: IMEI acknowledgment sent {"connection_id":145507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:04:41] local.INFO: TCP Data received {"connection_id":145507,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:04:41] local.INFO: Processing buffer {"connection_id":145507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:04:41] local.INFO: IMEI packet received {"connection_id":145507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 19:04:41] local.INFO: IMEI acknowledgment sent {"connection_id":145507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:04:42] local.INFO: TCP Data received {"connection_id":145507,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3c3d888012da8530005dfd2380021013a27..."} 
[2026-07-27 19:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3c3d888012da8530005dfd2380021013a27..."} 
[2026-07-27 19:04:42] local.INFO: Processing buffer {"connection_id":145507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3c3d888012da8530005dfd2380021013a27..."} 
[2026-07-27 19:04:42] local.INFO: Packet analysis {"connection_id":145507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3c3"} 
[2026-07-27 19:04:42] local.INFO: Extracted packet for processing {"connection_id":145507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3c3"} 
[2026-07-27 19:04:42] local.INFO: GPS Element Parsed {"raw_longitude":766006016,"raw_latitude":98554424,"longitude_deg":76.6006016,"latitude_deg":9.8554424,"altitude":33,"angle":314,"satellites":39,"speed":0,"hex_longitude":"2da85300","hex_latitude":"05dfd238","is_valid_coordinates":true} 
[2026-07-27 19:04:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:04:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000613888001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:04:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359256443599192064,"note":"Value kept but may cause issues"} 
[2026-07-27 19:04:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6317705827040741376,"note":"Value kept but may cause issues"} 
[2026-07-27 19:04:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:04:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785158949000,"timestamp_ms":1785158949000,"timestamp_seconds":1785158949,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3c3d888"} 
[2026-07-27 19:04:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:04:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 19: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-27 19:04:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:04:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:04:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:04:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:04:42] local.INFO: Teltonika packet parsed successfully {"connection_id":145507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:04:42] local.INFO: Passing IMEI to GPS processor {"connection_id":145507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:04:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":145507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:04:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:04:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 19:04:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 19:04:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000613888001,"66":25756,"70":206,"88":19968,"24":0,"16":359256443599192064,"45":-6317705827040741376},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,88,24,16,45]} 
[2026-07-27 19:04:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 19:04:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 19:04:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000613888001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:04:42] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-27 19:04:42] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 19:04:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359256443599192064,"km_value":359256443599192.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:04:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6317705827040741376,"description":"Unknown IO ID 45"} 
[2026-07-27 19:04:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000613888001,"power":25756,"unknown_70":206,"unknown_88":19968,"ignition":0,"odometer":null,"unknown_45":-6317705827040741376}} 
[2026-07-27 19:04:42] local.INFO: DEBUG: GPS processor result {"connection_id":145507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:04:42] local.INFO: GPS data processed {"connection_id":145507,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:04:42] local.INFO: Acknowledgment sent {"connection_id":145507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:04:44] local.INFO: TCP Data received {"connection_id":145506,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3c7d7f8012d7e380005d34d500000003128..."} 
[2026-07-27 19:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3c7d7f8012d7e380005d34d500000003128..."} 
[2026-07-27 19:04:44] local.INFO: Processing buffer {"connection_id":145506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3c7d7f8012d7e380005d34d500000003128..."} 
[2026-07-27 19:04:44] local.INFO: Packet analysis {"connection_id":145506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3c7"} 
[2026-07-27 19:04:44] local.INFO: Extracted packet for processing {"connection_id":145506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3c7"} 
[2026-07-27 19:04:44] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733968,"longitude_deg":76.3246592,"latitude_deg":9.7733968,"altitude":0,"angle":49,"satellites":40,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-07-27 19:04:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:04:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000680960001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:04:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111785234072076288,"note":"Value kept but may cause issues"} 
[2026-07-27 19:04:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494612480,"note":"Value kept but may cause issues"} 
[2026-07-27 19:04:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:04:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785159211000,"timestamp_ms":1785159211000,"timestamp_seconds":1785159211,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3c7d7f8"} 
[2026-07-27 19:04:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:04:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 19:04:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-27 19:04:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:04:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:04:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:04:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:04:44] local.INFO: Teltonika packet parsed successfully {"connection_id":145506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:04:44] local.INFO: Passing IMEI to GPS processor {"connection_id":145506,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 19:04:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":145506,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 19:04:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:04:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 19:04:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 19:04:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000680960001,"66":2209,"109":206,"85":15104,"24":0,"16":111785234072076288,"45":9095019472494612480},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-27 19:04:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 19:04:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 19:04:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000680960001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:04:44] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-27 19:04:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 19:04:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111785234072076288,"km_value":111785234072076.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:04:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494612480,"description":"Unknown IO ID 45"} 
[2026-07-27 19:04:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000680960001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494612480}} 
[2026-07-27 19:04:45] local.INFO: DEBUG: GPS processor result {"connection_id":145506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554959,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:04:45] local.INFO: GPS data processed {"connection_id":145506,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:04:45] local.INFO: Acknowledgment sent {"connection_id":145506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:04:47] local.INFO: TCP Data received {"connection_id":145507,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3c3d888012da8530005dfd2380021013a27..."} 
[2026-07-27 19:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3c3d888012da8530005dfd2380021013a27..."} 
[2026-07-27 19:04:47] local.INFO: Processing buffer {"connection_id":145507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3c3d888012da8530005dfd2380021013a27..."} 
[2026-07-27 19:04:47] local.INFO: Packet analysis {"connection_id":145507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3c3"} 
[2026-07-27 19:04:47] local.INFO: Extracted packet for processing {"connection_id":145507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3c3"} 
[2026-07-27 19:04:47] local.INFO: GPS Element Parsed {"raw_longitude":766006016,"raw_latitude":98554424,"longitude_deg":76.6006016,"latitude_deg":9.8554424,"altitude":33,"angle":314,"satellites":39,"speed":0,"hex_longitude":"2da85300","hex_latitude":"05dfd238","is_valid_coordinates":true} 
[2026-07-27 19:04:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:04:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000613888001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:04:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359256443599192064,"note":"Value kept but may cause issues"} 
[2026-07-27 19:04:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6317705827040741376,"note":"Value kept but may cause issues"} 
[2026-07-27 19:04:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:04:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785158949000,"timestamp_ms":1785158949000,"timestamp_seconds":1785158949,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3c3d888"} 
[2026-07-27 19:04:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:04:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 19:04:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-27 19:04:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:04:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:04:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:04:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:04:47] local.INFO: Teltonika packet parsed successfully {"connection_id":145507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:04:47] local.INFO: Passing IMEI to GPS processor {"connection_id":145507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:04:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":145507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:04:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:04:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 19:04:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 19:04:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000613888001,"66":25756,"70":206,"88":19968,"24":0,"16":359256443599192064,"45":-6317705827040741376},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,88,24,16,45]} 
[2026-07-27 19:04:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 19:04:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 19:04:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000613888001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:04:47] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-27 19:04:47] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 19:04:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359256443599192064,"km_value":359256443599192.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:04:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6317705827040741376,"description":"Unknown IO ID 45"} 
[2026-07-27 19:04:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000613888001,"power":25756,"unknown_70":206,"unknown_88":19968,"ignition":0,"odometer":null,"unknown_45":-6317705827040741376}} 
[2026-07-27 19:04:47] local.INFO: DEBUG: GPS processor result {"connection_id":145507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:04:47] local.INFO: GPS data processed {"connection_id":145507,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:04:47] local.INFO: Acknowledgment sent {"connection_id":145507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:04:59] local.INFO: TCP Data received {"connection_id":144226,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144226,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:04:59] local.INFO: Processing buffer {"connection_id":144226,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:04:59] local.INFO: IMEI packet received {"connection_id":144226,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 19:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":144226,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:05:04] local.INFO: TCP Data received {"connection_id":144226,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144226,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:05:04] local.INFO: Processing buffer {"connection_id":144226,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:05:04] local.INFO: IMEI packet received {"connection_id":144226,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 19:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":144226,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:05:06] local.INFO: TCP Data received {"connection_id":144226,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3c71890012d1967c0071fee200046011625..."} 
[2026-07-27 19:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3c71890012d1967c0071fee200046011625..."} 
[2026-07-27 19:05:06] local.INFO: Processing buffer {"connection_id":144226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3c71890012d1967c0071fee200046011625..."} 
[2026-07-27 19:05:06] local.INFO: Packet analysis {"connection_id":144226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3c7"} 
[2026-07-27 19:05:06] local.INFO: Extracted packet for processing {"connection_id":144226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3c7"} 
[2026-07-27 19:05:06] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":37,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 19:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:05:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000740096001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:05:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 19:05:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 19:05:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:05:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785159162000,"timestamp_ms":1785159162000,"timestamp_seconds":1785159162,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3c71890"} 
[2026-07-27 19:05:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:05:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-27 19:05:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:05:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:05:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:05:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:05:06] local.INFO: Teltonika packet parsed successfully {"connection_id":144226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:05:06] local.INFO: Passing IMEI to GPS processor {"connection_id":144226,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:05:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":144226,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:05:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:05:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 19:05:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 19:05:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000740096001,"66":12319,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 19:05:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 19:05:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 19:05:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000740096001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:05:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 19:05:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 19:05:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:05:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 19:05:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000740096001,"power":12319,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 19:05:06] local.INFO: DEBUG: GPS processor result {"connection_id":144226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554961,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:05:06] local.INFO: GPS data processed {"connection_id":144226,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:05:06] local.INFO: Acknowledgment sent {"connection_id":144226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:05:07] local.INFO: TCP Data received {"connection_id":143236,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 19:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143236,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 19:05:07] local.INFO: Processing buffer {"connection_id":143236,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 19:05:07] local.INFO: IMEI packet received {"connection_id":143236,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 19:05:07] local.INFO: IMEI acknowledgment sent {"connection_id":143236,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:05:12] local.INFO: TCP Data received {"connection_id":143236,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 19:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143236,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 19:05:12] local.INFO: Processing buffer {"connection_id":143236,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 19:05:12] local.INFO: IMEI packet received {"connection_id":143236,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 19:05:12] local.INFO: IMEI acknowledgment sent {"connection_id":143236,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:05:13] local.INFO: TCP Data received {"connection_id":143236,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3c7d7f8012d7e380005d34d500000003128..."} 
[2026-07-27 19:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143236,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3c7d7f8012d7e380005d34d500000003128..."} 
[2026-07-27 19:05:13] local.INFO: Processing buffer {"connection_id":143236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3c7d7f8012d7e380005d34d500000003128..."} 
[2026-07-27 19:05:13] local.INFO: Packet analysis {"connection_id":143236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3c7"} 
[2026-07-27 19:05:13] local.INFO: Extracted packet for processing {"connection_id":143236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3c7"} 
[2026-07-27 19:05:13] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733968,"longitude_deg":76.3246592,"latitude_deg":9.7733968,"altitude":0,"angle":49,"satellites":40,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-07-27 19: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-07-27 19:05:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000680960001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:05:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111785234072076288,"note":"Value kept but may cause issues"} 
[2026-07-27 19:05:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494612480,"note":"Value kept but may cause issues"} 
[2026-07-27 19:05:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:05:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785159211000,"timestamp_ms":1785159211000,"timestamp_seconds":1785159211,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3c7d7f8"} 
[2026-07-27 19:05:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:05:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 19:05:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-27 19:05:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19: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-07-27 19:05:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:05:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:05:13] local.INFO: Teltonika packet parsed successfully {"connection_id":143236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:05:13] local.INFO: Passing IMEI to GPS processor {"connection_id":143236,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 19:05:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":143236,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 19:05:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:05:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 19:05:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 19:05:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000680960001,"66":2209,"109":206,"85":15104,"24":0,"16":111785234072076288,"45":9095019472494612480},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-27 19:05:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 19:05:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 19:05:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000680960001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:05:13] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-27 19:05:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 19:05:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111785234072076288,"km_value":111785234072076.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:05:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494612480,"description":"Unknown IO ID 45"} 
[2026-07-27 19:05:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000680960001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494612480}} 
[2026-07-27 19:05:13] local.INFO: DEBUG: GPS processor result {"connection_id":143236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554962,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:05:13] local.INFO: GPS data processed {"connection_id":143236,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:05:13] local.INFO: Acknowledgment sent {"connection_id":143236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:05:31] local.INFO: TCP Data received {"connection_id":143097,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:05:31] local.INFO: Processing buffer {"connection_id":143097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:05:31] local.INFO: IMEI packet received {"connection_id":143097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 19:05:31] local.INFO: IMEI acknowledgment sent {"connection_id":143097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:05:36] local.INFO: TCP Data received {"connection_id":143097,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:05:36] local.INFO: Processing buffer {"connection_id":143097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:05:36] local.INFO: IMEI packet received {"connection_id":143097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 19:05:36] local.INFO: IMEI acknowledgment sent {"connection_id":143097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:05:37] local.INFO: TCP Data received {"connection_id":143097,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3c87050012da8530005dfd2380021013a29..."} 
[2026-07-27 19:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3c87050012da8530005dfd2380021013a29..."} 
[2026-07-27 19:05:37] local.INFO: Processing buffer {"connection_id":143097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3c87050012da8530005dfd2380021013a29..."} 
[2026-07-27 19:05:37] local.INFO: Packet analysis {"connection_id":143097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3c8"} 
[2026-07-27 19:05:37] local.INFO: Extracted packet for processing {"connection_id":143097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3c8"} 
[2026-07-27 19:05:37] local.INFO: GPS Element Parsed {"raw_longitude":766006016,"raw_latitude":98554424,"longitude_deg":76.6006016,"latitude_deg":9.8554424,"altitude":33,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2da85300","hex_latitude":"05dfd238","is_valid_coordinates":true} 
[2026-07-27 19:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:05:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000690944001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:05:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359256443599192064,"note":"Value kept but may cause issues"} 
[2026-07-27 19:05:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6317705827040741376,"note":"Value kept but may cause issues"} 
[2026-07-27 19:05:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:05:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785159250000,"timestamp_ms":1785159250000,"timestamp_seconds":1785159250,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3c87050"} 
[2026-07-27 19:05:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:05:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 19:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-27 19:05:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:05:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:05:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:05:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:05:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:05:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:05:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:05:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:05:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 19:05:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 19:05:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000690944001,"66":25158,"70":206,"88":19968,"24":0,"16":359256443599192064,"45":-6317705827040741376},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,88,24,16,45]} 
[2026-07-27 19:05:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 19:05:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 19:05:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000690944001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:05:37] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-27 19:05:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 19:05:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359256443599192064,"km_value":359256443599192.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:05:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6317705827040741376,"description":"Unknown IO ID 45"} 
[2026-07-27 19:05:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000690944001,"power":25158,"unknown_70":206,"unknown_88":19968,"ignition":0,"odometer":null,"unknown_45":-6317705827040741376}} 
[2026-07-27 19:05:37] local.INFO: DEBUG: GPS processor result {"connection_id":143097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:05:37] local.INFO: GPS data processed {"connection_id":143097,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:05:37] local.INFO: Acknowledgment sent {"connection_id":143097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:05:38] local.INFO: TCP Data received {"connection_id":144226,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3c76a98012d1967c0071fee200046011625..."} 
[2026-07-27 19:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3c76a98012d1967c0071fee200046011625..."} 
[2026-07-27 19:05:38] local.INFO: Processing buffer {"connection_id":144226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3c76a98012d1967c0071fee200046011625..."} 
[2026-07-27 19:05:38] local.INFO: Packet analysis {"connection_id":144226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3c7"} 
[2026-07-27 19:05:38] local.INFO: Extracted packet for processing {"connection_id":144226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3c7"} 
[2026-07-27 19:05:38] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":37,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 19:05:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:05:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000745472001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:05:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 19:05:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 19:05:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:05:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785159183000,"timestamp_ms":1785159183000,"timestamp_seconds":1785159183,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3c76a98"} 
[2026-07-27 19:05:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:05:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:05:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 19:05:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:05:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:05:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:05:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:05:38] local.INFO: Teltonika packet parsed successfully {"connection_id":144226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:05:38] local.INFO: Passing IMEI to GPS processor {"connection_id":144226,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:05:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":144226,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:05:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:05:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 19:05:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 19:05:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000745472001,"66":12319,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 19:05:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 19:05:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 19:05:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000745472001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:05:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 19:05:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 19:05:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:05:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 19:05:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000745472001,"power":12319,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 19:05:38] local.INFO: DEBUG: GPS processor result {"connection_id":144226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554964,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:05:38] local.INFO: GPS data processed {"connection_id":144226,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:05:38] local.INFO: Acknowledgment sent {"connection_id":144226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:05:44] local.INFO: TCP Data received {"connection_id":143236,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3c7d7f8012d7e380005d34d500000003128..."} 
[2026-07-27 19:05:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143236,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3c7d7f8012d7e380005d34d500000003128..."} 
[2026-07-27 19:05:44] local.INFO: Processing buffer {"connection_id":143236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3c7d7f8012d7e380005d34d500000003128..."} 
[2026-07-27 19:05:44] local.INFO: Packet analysis {"connection_id":143236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3c7"} 
[2026-07-27 19:05:44] local.INFO: Extracted packet for processing {"connection_id":143236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3c7"} 
[2026-07-27 19:05:44] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733968,"longitude_deg":76.3246592,"latitude_deg":9.7733968,"altitude":0,"angle":49,"satellites":40,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-07-27 19:05:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:05:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000680960001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:05:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111785234072076288,"note":"Value kept but may cause issues"} 
[2026-07-27 19:05:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494612480,"note":"Value kept but may cause issues"} 
[2026-07-27 19:05:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:05:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785159211000,"timestamp_ms":1785159211000,"timestamp_seconds":1785159211,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3c7d7f8"} 
[2026-07-27 19:05:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:05:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 19:05:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-27 19:05:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:05:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:05:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:05:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:05:44] local.INFO: Teltonika packet parsed successfully {"connection_id":143236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:05:44] local.INFO: Passing IMEI to GPS processor {"connection_id":143236,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 19:05:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":143236,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 19:05:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:05:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 19:05:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 19:05:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000680960001,"66":2209,"109":206,"85":15104,"24":0,"16":111785234072076288,"45":9095019472494612480},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-27 19:05:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 19:05:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 19:05:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000680960001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:05:44] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-27 19:05:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 19:05:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111785234072076288,"km_value":111785234072076.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:05:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494612480,"description":"Unknown IO ID 45"} 
[2026-07-27 19:05:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000680960001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494612480}} 
[2026-07-27 19:05:44] local.INFO: DEBUG: GPS processor result {"connection_id":143236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554965,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:05:44] local.INFO: GPS data processed {"connection_id":143236,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:05:44] local.INFO: Acknowledgment sent {"connection_id":143236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:06:04] local.INFO: TCP Data received {"connection_id":145508,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145508,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:06:04] local.INFO: Processing buffer {"connection_id":145508,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:06:04] local.INFO: IMEI packet received {"connection_id":145508,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 19:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":145508,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:06:08] local.INFO: TCP Data received {"connection_id":143097,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3c87050012da8530005dfd2380021013a29..."} 
[2026-07-27 19:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3c87050012da8530005dfd2380021013a29..."} 
[2026-07-27 19:06:08] local.INFO: Processing buffer {"connection_id":143097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3c87050012da8530005dfd2380021013a29..."} 
[2026-07-27 19:06:08] local.INFO: Packet analysis {"connection_id":143097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3c8"} 
[2026-07-27 19:06:08] local.INFO: Extracted packet for processing {"connection_id":143097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3c8"} 
[2026-07-27 19:06:08] local.INFO: GPS Element Parsed {"raw_longitude":766006016,"raw_latitude":98554424,"longitude_deg":76.6006016,"latitude_deg":9.8554424,"altitude":33,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2da85300","hex_latitude":"05dfd238","is_valid_coordinates":true} 
[2026-07-27 19:06:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:06:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000690944001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:06:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359256443599192064,"note":"Value kept but may cause issues"} 
[2026-07-27 19:06:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6317705827040741376,"note":"Value kept but may cause issues"} 
[2026-07-27 19:06:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:06:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785159250000,"timestamp_ms":1785159250000,"timestamp_seconds":1785159250,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3c87050"} 
[2026-07-27 19:06:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:06:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-27 19:06:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:06:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:06:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:06:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:06:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:06:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:06:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:06:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:06:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 19:06:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 19:06:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000690944001,"66":25158,"70":206,"88":19968,"24":0,"16":359256443599192064,"45":-6317705827040741376},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,88,24,16,45]} 
[2026-07-27 19:06:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 19:06:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 19:06:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000690944001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:06:08] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-27 19:06:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 19:06:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359256443599192064,"km_value":359256443599192.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:06:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6317705827040741376,"description":"Unknown IO ID 45"} 
[2026-07-27 19:06:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000690944001,"power":25158,"unknown_70":206,"unknown_88":19968,"ignition":0,"odometer":null,"unknown_45":-6317705827040741376}} 
[2026-07-27 19:06:08] local.INFO: DEBUG: GPS processor result {"connection_id":143097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:06:08] local.INFO: GPS data processed {"connection_id":143097,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:06:08] local.INFO: Acknowledgment sent {"connection_id":143097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:06:09] local.INFO: TCP Data received {"connection_id":145508,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145508,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:06:09] local.INFO: Processing buffer {"connection_id":145508,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:06:09] local.INFO: IMEI packet received {"connection_id":145508,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 19:06:09] local.INFO: IMEI acknowledgment sent {"connection_id":145508,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:06:10] local.INFO: TCP Data received {"connection_id":145508,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3c7bca0012d1967c0071fee200046011625..."} 
[2026-07-27 19:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145508,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3c7bca0012d1967c0071fee200046011625..."} 
[2026-07-27 19:06:10] local.INFO: Processing buffer {"connection_id":145508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3c7bca0012d1967c0071fee200046011625..."} 
[2026-07-27 19:06:10] local.INFO: Packet analysis {"connection_id":145508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3c7"} 
[2026-07-27 19:06:10] local.INFO: Extracted packet for processing {"connection_id":145508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3c7"} 
[2026-07-27 19:06:10] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":37,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 19:06:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:06:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000750848001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:06:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 19:06:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 19:06:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:06:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785159204000,"timestamp_ms":1785159204000,"timestamp_seconds":1785159204,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3c7bca0"} 
[2026-07-27 19:06:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:06:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 19:06:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:06:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:06:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:06:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:06:10] local.INFO: Teltonika packet parsed successfully {"connection_id":145508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:06:10] local.INFO: Passing IMEI to GPS processor {"connection_id":145508,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:06:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":145508,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:06:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:06:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 19:06:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 19:06:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000750848001,"66":12341,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 19:06:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 19:06:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 19:06:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000750848001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:06:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 19:06:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 19:06:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:06:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 19:06:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000750848001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 19:06:10] local.INFO: DEBUG: GPS processor result {"connection_id":145508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554967,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:06:10] local.INFO: GPS data processed {"connection_id":145508,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:06:10] local.INFO: Acknowledgment sent {"connection_id":145508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:06:11] local.INFO: TCP Data received {"connection_id":145508,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3c80ea8012d1967c0071fee200046011625..."} 
[2026-07-27 19:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145508,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3c80ea8012d1967c0071fee200046011625..."} 
[2026-07-27 19:06:11] local.INFO: Processing buffer {"connection_id":145508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3c80ea8012d1967c0071fee200046011625..."} 
[2026-07-27 19:06:11] local.INFO: Packet analysis {"connection_id":145508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3c8"} 
[2026-07-27 19:06:11] local.INFO: Extracted packet for processing {"connection_id":145508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3c8"} 
[2026-07-27 19:06:11] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":37,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 19: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-07-27 19:06:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000756224001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:06:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 19:06:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 19:06:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:06:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785159225000,"timestamp_ms":1785159225000,"timestamp_seconds":1785159225,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3c80ea8"} 
[2026-07-27 19:06:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:06:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 19:06:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19: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-07-27 19:06:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:06:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:06:11] local.INFO: Teltonika packet parsed successfully {"connection_id":145508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:06:11] local.INFO: Passing IMEI to GPS processor {"connection_id":145508,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:06:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":145508,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:06:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:06:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 19:06:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 19:06:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000756224001,"66":12374,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 19:06:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 19:06:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 19:06:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000756224001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:06:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 19:06:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 19:06:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:06:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 19:06:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000756224001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 19:06:11] local.INFO: DEBUG: GPS processor result {"connection_id":145508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554968,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:06:11] local.INFO: GPS data processed {"connection_id":145508,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:06:11] local.INFO: Acknowledgment sent {"connection_id":145508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:06:12] local.INFO: TCP Data received {"connection_id":145509,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 19:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145509,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 19:06:12] local.INFO: Processing buffer {"connection_id":145509,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 19:06:12] local.INFO: IMEI packet received {"connection_id":145509,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 19:06:12] local.INFO: IMEI acknowledgment sent {"connection_id":145509,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:06:17] local.INFO: TCP Data received {"connection_id":145509,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 19:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145509,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 19:06:17] local.INFO: Processing buffer {"connection_id":145509,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 19:06:17] local.INFO: IMEI packet received {"connection_id":145509,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 19:06:17] local.INFO: IMEI acknowledgment sent {"connection_id":145509,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:06:18] local.INFO: TCP Data received {"connection_id":145509,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3c7d7f8012d7e380005d34d500000003128..."} 
[2026-07-27 19:06:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3c7d7f8012d7e380005d34d500000003128..."} 
[2026-07-27 19:06:18] local.INFO: Processing buffer {"connection_id":145509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3c7d7f8012d7e380005d34d500000003128..."} 
[2026-07-27 19:06:18] local.INFO: Packet analysis {"connection_id":145509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3c7"} 
[2026-07-27 19:06:18] local.INFO: Extracted packet for processing {"connection_id":145509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3c7"} 
[2026-07-27 19:06:18] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733968,"longitude_deg":76.3246592,"latitude_deg":9.7733968,"altitude":0,"angle":49,"satellites":40,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-07-27 19: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-07-27 19:06:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000680960001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:06:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111785234072076288,"note":"Value kept but may cause issues"} 
[2026-07-27 19:06:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494612480,"note":"Value kept but may cause issues"} 
[2026-07-27 19:06:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:06:18] local.INFO: AVL Record Parsed {"raw_timestamp":1785159211000,"timestamp_ms":1785159211000,"timestamp_seconds":1785159211,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3c7d7f8"} 
[2026-07-27 19:06:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:06:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 19: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":161,"data_length":795,"current_offset":136} 
[2026-07-27 19:06:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19: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-07-27 19:06:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:06:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:06:18] local.INFO: Teltonika packet parsed successfully {"connection_id":145509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:06:18] local.INFO: Passing IMEI to GPS processor {"connection_id":145509,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 19:06:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":145509,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 19:06:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:06:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 19:06:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 19:06:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000680960001,"66":2209,"109":206,"85":15104,"24":0,"16":111785234072076288,"45":9095019472494612480},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-27 19:06:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 19:06:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 19:06:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000680960001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:06:18] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-27 19:06:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 19:06:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111785234072076288,"km_value":111785234072076.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:06:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494612480,"description":"Unknown IO ID 45"} 
[2026-07-27 19:06:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000680960001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494612480}} 
[2026-07-27 19:06:18] local.INFO: DEBUG: GPS processor result {"connection_id":145509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554969,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:06:18] local.INFO: GPS data processed {"connection_id":145509,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:06:18] local.INFO: Acknowledgment sent {"connection_id":145509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:06:24] local.INFO: TCP Data received {"connection_id":145509,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3c7d7f8012d7e380005d34d500000003128..."} 
[2026-07-27 19:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3c7d7f8012d7e380005d34d500000003128..."} 
[2026-07-27 19:06:24] local.INFO: Processing buffer {"connection_id":145509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3c7d7f8012d7e380005d34d500000003128..."} 
[2026-07-27 19:06:24] local.INFO: Packet analysis {"connection_id":145509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3c7"} 
[2026-07-27 19:06:24] local.INFO: Extracted packet for processing {"connection_id":145509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3c7"} 
[2026-07-27 19:06:24] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733968,"longitude_deg":76.3246592,"latitude_deg":9.7733968,"altitude":0,"angle":49,"satellites":40,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-07-27 19:06:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:06:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000680960001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:06:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111785234072076288,"note":"Value kept but may cause issues"} 
[2026-07-27 19:06:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494612480,"note":"Value kept but may cause issues"} 
[2026-07-27 19:06:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:06:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785159211000,"timestamp_ms":1785159211000,"timestamp_seconds":1785159211,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3c7d7f8"} 
[2026-07-27 19:06:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:06:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 19:06:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-27 19:06:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:06:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:06:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:06:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:06:24] local.INFO: Teltonika packet parsed successfully {"connection_id":145509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:06:24] local.INFO: Passing IMEI to GPS processor {"connection_id":145509,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 19:06:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":145509,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 19:06:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:06:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 19:06:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 19:06:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000680960001,"66":2209,"109":206,"85":15104,"24":0,"16":111785234072076288,"45":9095019472494612480},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-27 19:06:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 19:06:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 19:06:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000680960001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:06:24] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-27 19:06:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 19:06:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111785234072076288,"km_value":111785234072076.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:06:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494612480,"description":"Unknown IO ID 45"} 
[2026-07-27 19:06:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000680960001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494612480}} 
[2026-07-27 19:06:25] local.INFO: DEBUG: GPS processor result {"connection_id":145509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554970,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:06:25] local.INFO: GPS data processed {"connection_id":145509,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:06:25] local.INFO: Acknowledgment sent {"connection_id":145509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:06:32] local.INFO: TCP Data received {"connection_id":143237,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:06:32] local.INFO: Processing buffer {"connection_id":143237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:06:32] local.INFO: IMEI packet received {"connection_id":143237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 19:06:32] local.INFO: IMEI acknowledgment sent {"connection_id":143237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:06:36] local.INFO: TCP Data received {"connection_id":143237,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:06:36] local.INFO: Processing buffer {"connection_id":143237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:06:36] local.INFO: IMEI packet received {"connection_id":143237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 19:06:36] local.INFO: IMEI acknowledgment sent {"connection_id":143237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:06:37] local.INFO: TCP Data received {"connection_id":143237,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3c87050012da8530005dfd2380021013a29..."} 
[2026-07-27 19:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3c87050012da8530005dfd2380021013a29..."} 
[2026-07-27 19:06:37] local.INFO: Processing buffer {"connection_id":143237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3c87050012da8530005dfd2380021013a29..."} 
[2026-07-27 19:06:37] local.INFO: Packet analysis {"connection_id":143237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3c8"} 
[2026-07-27 19:06:37] local.INFO: Extracted packet for processing {"connection_id":143237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3c8"} 
[2026-07-27 19:06:37] local.INFO: GPS Element Parsed {"raw_longitude":766006016,"raw_latitude":98554424,"longitude_deg":76.6006016,"latitude_deg":9.8554424,"altitude":33,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2da85300","hex_latitude":"05dfd238","is_valid_coordinates":true} 
[2026-07-27 19:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:06:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000690944001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:06:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359256443599192064,"note":"Value kept but may cause issues"} 
[2026-07-27 19:06:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6317705827040741376,"note":"Value kept but may cause issues"} 
[2026-07-27 19:06:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:06:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785159250000,"timestamp_ms":1785159250000,"timestamp_seconds":1785159250,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3c87050"} 
[2026-07-27 19:06:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:06:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 19:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-27 19:06:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:06:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:06:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:06:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:06:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:06:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:06:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:06:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:06:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 19:06:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 19:06:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000690944001,"66":25158,"70":206,"88":19968,"24":0,"16":359256443599192064,"45":-6317705827040741376},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,88,24,16,45]} 
[2026-07-27 19:06:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 19:06:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 19:06:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000690944001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:06:37] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-27 19:06:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 19:06:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359256443599192064,"km_value":359256443599192.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:06:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6317705827040741376,"description":"Unknown IO ID 45"} 
[2026-07-27 19:06:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000690944001,"power":25158,"unknown_70":206,"unknown_88":19968,"ignition":0,"odometer":null,"unknown_45":-6317705827040741376}} 
[2026-07-27 19:06:37] local.INFO: DEBUG: GPS processor result {"connection_id":143237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:06:37] local.INFO: GPS data processed {"connection_id":143237,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:06:37] local.INFO: Acknowledgment sent {"connection_id":143237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:06:43] local.INFO: TCP Data received {"connection_id":145508,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3c860b0012d1967c0071fee200046011623..."} 
[2026-07-27 19:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145508,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3c860b0012d1967c0071fee200046011623..."} 
[2026-07-27 19:06:43] local.INFO: Processing buffer {"connection_id":145508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3c860b0012d1967c0071fee200046011623..."} 
[2026-07-27 19:06:43] local.INFO: Packet analysis {"connection_id":145508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3c8"} 
[2026-07-27 19:06:43] local.INFO: Extracted packet for processing {"connection_id":145508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3c8"} 
[2026-07-27 19:06:43] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":35,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 19:06:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:06:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000761600001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:06:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 19:06:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 19:06:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:06:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785159246000,"timestamp_ms":1785159246000,"timestamp_seconds":1785159246,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3c860b0"} 
[2026-07-27 19:06:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:06:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-27 19:06:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:06:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:06:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:06:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:06:43] local.INFO: Teltonika packet parsed successfully {"connection_id":145508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:06:43] local.INFO: Passing IMEI to GPS processor {"connection_id":145508,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:06:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":145508,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:06:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:06:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 19:06:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 19:06:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000761600001,"66":12330,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 19:06:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 19:06:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 19:06:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000761600001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:06:43] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 19:06:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 19:06:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:06:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 19:06:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000761600001,"power":12330,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 19:06:43] local.INFO: DEBUG: GPS processor result {"connection_id":145508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554972,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:06:43] local.INFO: GPS data processed {"connection_id":145508,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:06:43] local.INFO: Acknowledgment sent {"connection_id":145508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:06:59] local.INFO: TCP Data received {"connection_id":143098,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143098,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:06:59] local.INFO: Processing buffer {"connection_id":143098,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:06:59] local.INFO: IMEI packet received {"connection_id":143098,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 19:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":143098,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:07:04] local.INFO: TCP Data received {"connection_id":143098,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143098,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:07:04] local.INFO: Processing buffer {"connection_id":143098,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:07:04] local.INFO: IMEI packet received {"connection_id":143098,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 19:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":143098,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:07:06] local.INFO: TCP Data received {"connection_id":143098,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3c8b2b8012d1967c0071fee200046011621..."} 
[2026-07-27 19:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143098,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3c8b2b8012d1967c0071fee200046011621..."} 
[2026-07-27 19:07:06] local.INFO: Processing buffer {"connection_id":143098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3c8b2b8012d1967c0071fee200046011621..."} 
[2026-07-27 19:07:06] local.INFO: Packet analysis {"connection_id":143098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3c8"} 
[2026-07-27 19:07:06] local.INFO: Extracted packet for processing {"connection_id":143098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3c8"} 
[2026-07-27 19:07:06] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":33,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 19:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:07:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000766976001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:07:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 19:07:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 19:07:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:07:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785159267000,"timestamp_ms":1785159267000,"timestamp_seconds":1785159267,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3c8b2b8"} 
[2026-07-27 19:07:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:07:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-07-27 19:07:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":816,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:07:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:07:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:07:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:07:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:07:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:07:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:07:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:07:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 19:07:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 19:07:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000766976001,"66":12341,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 19:07:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 19:07:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 19:07:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000766976001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:07:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 19:07:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 19:07:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:07:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 19:07:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000766976001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 19:07:06] local.INFO: DEBUG: GPS processor result {"connection_id":143098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554973,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:07:06] local.INFO: GPS data processed {"connection_id":143098,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:07:06] local.INFO: Acknowledgment sent {"connection_id":143098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:07:07] local.INFO: TCP Data received {"connection_id":143099,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 19:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143099,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 19:07:07] local.INFO: Processing buffer {"connection_id":143099,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 19:07:07] local.INFO: IMEI packet received {"connection_id":143099,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 19:07:07] local.INFO: IMEI acknowledgment sent {"connection_id":143099,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:07:08] local.INFO: TCP Data received {"connection_id":143237,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3c87050012da8530005dfd2380021013a29..."} 
[2026-07-27 19:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3c87050012da8530005dfd2380021013a29..."} 
[2026-07-27 19:07:08] local.INFO: Processing buffer {"connection_id":143237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3c87050012da8530005dfd2380021013a29..."} 
[2026-07-27 19:07:08] local.INFO: Packet analysis {"connection_id":143237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3c8"} 
[2026-07-27 19:07:08] local.INFO: Extracted packet for processing {"connection_id":143237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3c8"} 
[2026-07-27 19:07:08] local.INFO: GPS Element Parsed {"raw_longitude":766006016,"raw_latitude":98554424,"longitude_deg":76.6006016,"latitude_deg":9.8554424,"altitude":33,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2da85300","hex_latitude":"05dfd238","is_valid_coordinates":true} 
[2026-07-27 19:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:07:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000690944001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:07:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359256443599192064,"note":"Value kept but may cause issues"} 
[2026-07-27 19:07:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6317705827040741376,"note":"Value kept but may cause issues"} 
[2026-07-27 19:07:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:07:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785159250000,"timestamp_ms":1785159250000,"timestamp_seconds":1785159250,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3c87050"} 
[2026-07-27 19:07:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:07:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 19:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-27 19:07:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:07:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:07:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:07:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:07:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:07:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:07:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:07:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:07:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 19:07:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 19:07:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000690944001,"66":25158,"70":206,"88":19968,"24":0,"16":359256443599192064,"45":-6317705827040741376},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,88,24,16,45]} 
[2026-07-27 19:07:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 19:07:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 19:07:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000690944001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:07:08] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-27 19:07:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 19:07:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359256443599192064,"km_value":359256443599192.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:07:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6317705827040741376,"description":"Unknown IO ID 45"} 
[2026-07-27 19:07:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000690944001,"power":25158,"unknown_70":206,"unknown_88":19968,"ignition":0,"odometer":null,"unknown_45":-6317705827040741376}} 
[2026-07-27 19:07:08] local.INFO: DEBUG: GPS processor result {"connection_id":143237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:07:08] local.INFO: GPS data processed {"connection_id":143237,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:07:08] local.INFO: Acknowledgment sent {"connection_id":143237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:07:12] local.INFO: TCP Data received {"connection_id":143099,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 19:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143099,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 19:07:12] local.INFO: Processing buffer {"connection_id":143099,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 19:07:12] local.INFO: IMEI packet received {"connection_id":143099,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 19:07:12] local.INFO: IMEI acknowledgment sent {"connection_id":143099,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:07:13] local.INFO: TCP Data received {"connection_id":143099,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3c7d7f8012d7e380005d34d500000003128..."} 
[2026-07-27 19:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3c7d7f8012d7e380005d34d500000003128..."} 
[2026-07-27 19:07:13] local.INFO: Processing buffer {"connection_id":143099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3c7d7f8012d7e380005d34d500000003128..."} 
[2026-07-27 19:07:13] local.INFO: Packet analysis {"connection_id":143099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3c7"} 
[2026-07-27 19:07:13] local.INFO: Extracted packet for processing {"connection_id":143099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3c7"} 
[2026-07-27 19:07:13] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733968,"longitude_deg":76.3246592,"latitude_deg":9.7733968,"altitude":0,"angle":49,"satellites":40,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-07-27 19:07:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:07:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000680960001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:07:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111785234072076288,"note":"Value kept but may cause issues"} 
[2026-07-27 19:07:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494612480,"note":"Value kept but may cause issues"} 
[2026-07-27 19:07:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:07:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785159211000,"timestamp_ms":1785159211000,"timestamp_seconds":1785159211,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3c7d7f8"} 
[2026-07-27 19:07:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:07:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 19:07:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-27 19:07:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:07:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:07:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:07:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:07:13] local.INFO: Teltonika packet parsed successfully {"connection_id":143099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:07:13] local.INFO: Passing IMEI to GPS processor {"connection_id":143099,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 19:07:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":143099,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 19:07:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:07:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 19:07:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 19:07:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000680960001,"66":2209,"109":206,"85":15104,"24":0,"16":111785234072076288,"45":9095019472494612480},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-27 19:07:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 19:07:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 19:07:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000680960001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:07:13] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-27 19:07:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 19:07:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111785234072076288,"km_value":111785234072076.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:07:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494612480,"description":"Unknown IO ID 45"} 
[2026-07-27 19:07:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000680960001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494612480}} 
[2026-07-27 19:07:13] local.INFO: DEBUG: GPS processor result {"connection_id":143099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554975,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:07:13] local.INFO: GPS data processed {"connection_id":143099,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:07:13] local.INFO: Acknowledgment sent {"connection_id":143099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:07:31] local.INFO: TCP Data received {"connection_id":143238,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:07:31] local.INFO: Processing buffer {"connection_id":143238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:07:31] local.INFO: IMEI packet received {"connection_id":143238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 19:07:31] local.INFO: IMEI acknowledgment sent {"connection_id":143238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:07:36] local.INFO: TCP Data received {"connection_id":143238,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:07:36] local.INFO: Processing buffer {"connection_id":143238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:07:36] local.INFO: IMEI packet received {"connection_id":143238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 19:07:36] local.INFO: IMEI acknowledgment sent {"connection_id":143238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:07:37] local.INFO: TCP Data received {"connection_id":143238,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3c87050012da8530005dfd2380021013a29..."} 
[2026-07-27 19:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143238,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3c87050012da8530005dfd2380021013a29..."} 
[2026-07-27 19:07:37] local.INFO: Processing buffer {"connection_id":143238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3c87050012da8530005dfd2380021013a29..."} 
[2026-07-27 19:07:37] local.INFO: Packet analysis {"connection_id":143238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3c8"} 
[2026-07-27 19:07:37] local.INFO: Extracted packet for processing {"connection_id":143238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3c8"} 
[2026-07-27 19:07:37] local.INFO: GPS Element Parsed {"raw_longitude":766006016,"raw_latitude":98554424,"longitude_deg":76.6006016,"latitude_deg":9.8554424,"altitude":33,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2da85300","hex_latitude":"05dfd238","is_valid_coordinates":true} 
[2026-07-27 19:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000690944001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359256443599192064,"note":"Value kept but may cause issues"} 
[2026-07-27 19:07:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6317705827040741376,"note":"Value kept but may cause issues"} 
[2026-07-27 19:07:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785159250000,"timestamp_ms":1785159250000,"timestamp_seconds":1785159250,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3c87050"} 
[2026-07-27 19:07:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:07:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 19:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-27 19:07:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:07:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:07:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:07:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 19:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 19:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000690944001,"66":25158,"70":206,"88":19968,"24":0,"16":359256443599192064,"45":-6317705827040741376},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,88,24,16,45]} 
[2026-07-27 19:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 19:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 19:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000690944001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:07:37] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-27 19:07:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 19:07:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359256443599192064,"km_value":359256443599192.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:07:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6317705827040741376,"description":"Unknown IO ID 45"} 
[2026-07-27 19:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000690944001,"power":25158,"unknown_70":206,"unknown_88":19968,"ignition":0,"odometer":null,"unknown_45":-6317705827040741376}} 
[2026-07-27 19:07:37] local.INFO: DEBUG: GPS processor result {"connection_id":143238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:07:37] local.INFO: GPS data processed {"connection_id":143238,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:07:37] local.INFO: Acknowledgment sent {"connection_id":143238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:07:37] local.INFO: TCP Data received {"connection_id":143098,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3c904c0012d1967c0071fee200046011625..."} 
[2026-07-27 19:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143098,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3c904c0012d1967c0071fee200046011625..."} 
[2026-07-27 19:07:37] local.INFO: Processing buffer {"connection_id":143098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3c904c0012d1967c0071fee200046011625..."} 
[2026-07-27 19:07:37] local.INFO: Packet analysis {"connection_id":143098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3c9"} 
[2026-07-27 19:07:37] local.INFO: Extracted packet for processing {"connection_id":143098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3c9"} 
[2026-07-27 19:07:37] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":37,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 19:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000772352001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 19:07:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 19:07:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785159288000,"timestamp_ms":1785159288000,"timestamp_seconds":1785159288,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3c904c0"} 
[2026-07-27 19:07:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:07:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 19:07:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:07:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:07:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:07:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 19:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 19:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000772352001,"66":12341,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 19:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 19:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 19:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000772352001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:07:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 19:07:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 19:07:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:07:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 19:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000772352001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 19:07:37] local.INFO: DEBUG: GPS processor result {"connection_id":143098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554977,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:07:37] local.INFO: GPS data processed {"connection_id":143098,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:07:37] local.INFO: Acknowledgment sent {"connection_id":143098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:07:44] local.INFO: TCP Data received {"connection_id":143099,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3c7d7f8012d7e380005d34d500000003128..."} 
[2026-07-27 19:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3c7d7f8012d7e380005d34d500000003128..."} 
[2026-07-27 19:07:44] local.INFO: Processing buffer {"connection_id":143099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3c7d7f8012d7e380005d34d500000003128..."} 
[2026-07-27 19:07:44] local.INFO: Packet analysis {"connection_id":143099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3c7"} 
[2026-07-27 19:07:44] local.INFO: Extracted packet for processing {"connection_id":143099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3c7"} 
[2026-07-27 19:07:44] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733968,"longitude_deg":76.3246592,"latitude_deg":9.7733968,"altitude":0,"angle":49,"satellites":40,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-07-27 19:07:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:07:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000680960001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:07:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111785234072076288,"note":"Value kept but may cause issues"} 
[2026-07-27 19:07:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494612480,"note":"Value kept but may cause issues"} 
[2026-07-27 19:07:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:07:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785159211000,"timestamp_ms":1785159211000,"timestamp_seconds":1785159211,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3c7d7f8"} 
[2026-07-27 19:07:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:07:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 19: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":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-27 19:07:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:07:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:07:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:07:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:07:44] local.INFO: Teltonika packet parsed successfully {"connection_id":143099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:07:44] local.INFO: Passing IMEI to GPS processor {"connection_id":143099,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 19:07:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":143099,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 19:07:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:07:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 19:07:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 19:07:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000680960001,"66":2209,"109":206,"85":15104,"24":0,"16":111785234072076288,"45":9095019472494612480},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-27 19:07:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 19:07:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 19:07:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000680960001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:07:44] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-27 19:07:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 19:07:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111785234072076288,"km_value":111785234072076.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:07:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494612480,"description":"Unknown IO ID 45"} 
[2026-07-27 19:07:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000680960001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494612480}} 
[2026-07-27 19:07:44] local.INFO: DEBUG: GPS processor result {"connection_id":143099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554978,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:07:44] local.INFO: GPS data processed {"connection_id":143099,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:07:44] local.INFO: Acknowledgment sent {"connection_id":143099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:07:59] local.INFO: TCP Data received {"connection_id":143239,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143239,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:07:59] local.INFO: Processing buffer {"connection_id":143239,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:07:59] local.INFO: IMEI packet received {"connection_id":143239,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 19:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":143239,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:08:04] local.INFO: TCP Data received {"connection_id":143239,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143239,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:08:04] local.INFO: Processing buffer {"connection_id":143239,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:08:04] local.INFO: IMEI packet received {"connection_id":143239,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 19:08:04] local.INFO: IMEI acknowledgment sent {"connection_id":143239,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:08:06] local.INFO: TCP Data received {"connection_id":143239,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3c956c8012d1967c0071fee200046011626..."} 
[2026-07-27 19:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3c956c8012d1967c0071fee200046011626..."} 
[2026-07-27 19:08:06] local.INFO: Processing buffer {"connection_id":143239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3c956c8012d1967c0071fee200046011626..."} 
[2026-07-27 19:08:06] local.INFO: Packet analysis {"connection_id":143239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3c9"} 
[2026-07-27 19:08:06] local.INFO: Extracted packet for processing {"connection_id":143239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3c9"} 
[2026-07-27 19:08:06] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":38,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 19:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:08:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000777728001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:08:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 19:08:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 19:08:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:08:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785159309000,"timestamp_ms":1785159309000,"timestamp_seconds":1785159309,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3c956c8"} 
[2026-07-27 19:08:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:08:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 19:08:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:08:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:08:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:08:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:08:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:08:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143239,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:08:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143239,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:08:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:08:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 19:08:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 19:08:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000777728001,"66":12298,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 19:08:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 19:08:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 19:08:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000777728001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:08:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 19:08:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 19:08:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:08:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 19:08:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000777728001,"power":12298,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 19:08:06] local.INFO: DEBUG: GPS processor result {"connection_id":143239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554979,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:08:06] local.INFO: GPS data processed {"connection_id":143239,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:08:06] local.INFO: Acknowledgment sent {"connection_id":143239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:08:07] local.INFO: TCP Data received {"connection_id":143100,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 19:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143100,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 19:08:07] local.INFO: Processing buffer {"connection_id":143100,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 19:08:07] local.INFO: IMEI packet received {"connection_id":143100,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-27 19:08:07] local.INFO: IMEI acknowledgment sent {"connection_id":143100,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:08:08] local.INFO: TCP Data received {"connection_id":143238,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3c87050012da8530005dfd2380021013a29..."} 
[2026-07-27 19:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143238,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3c87050012da8530005dfd2380021013a29..."} 
[2026-07-27 19:08:08] local.INFO: Processing buffer {"connection_id":143238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3c87050012da8530005dfd2380021013a29..."} 
[2026-07-27 19:08:08] local.INFO: Packet analysis {"connection_id":143238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3c8"} 
[2026-07-27 19:08:08] local.INFO: Extracted packet for processing {"connection_id":143238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3c8"} 
[2026-07-27 19:08:08] local.INFO: GPS Element Parsed {"raw_longitude":766006016,"raw_latitude":98554424,"longitude_deg":76.6006016,"latitude_deg":9.8554424,"altitude":33,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2da85300","hex_latitude":"05dfd238","is_valid_coordinates":true} 
[2026-07-27 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-07-27 19:08:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000690944001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:08:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359256443599192064,"note":"Value kept but may cause issues"} 
[2026-07-27 19:08:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6317705827040741376,"note":"Value kept but may cause issues"} 
[2026-07-27 19:08:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:08:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785159250000,"timestamp_ms":1785159250000,"timestamp_seconds":1785159250,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3c87050"} 
[2026-07-27 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-07-27 19:08:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-27 19:08:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 19:08:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:08:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:08:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:08:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19: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-07-27 19:08:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 19:08:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 19:08:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000690944001,"66":25158,"70":206,"88":19968,"24":0,"16":359256443599192064,"45":-6317705827040741376},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,88,24,16,45]} 
[2026-07-27 19:08:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 19:08:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 19:08:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000690944001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:08:08] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-27 19:08:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 19:08:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359256443599192064,"km_value":359256443599192.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:08:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6317705827040741376,"description":"Unknown IO ID 45"} 
[2026-07-27 19:08:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000690944001,"power":25158,"unknown_70":206,"unknown_88":19968,"ignition":0,"odometer":null,"unknown_45":-6317705827040741376}} 
[2026-07-27 19:08:08] local.INFO: DEBUG: GPS processor result {"connection_id":143238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:08:08] local.INFO: GPS data processed {"connection_id":143238,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:08:08] local.INFO: Acknowledgment sent {"connection_id":143238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:08:12] local.INFO: TCP Data received {"connection_id":143100,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 19:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143100,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 19:08:12] local.INFO: Processing buffer {"connection_id":143100,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-27 19:08:12] local.INFO: IMEI packet received {"connection_id":143100,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-27 19:08:12] local.INFO: IMEI acknowledgment sent {"connection_id":143100,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:08:14] local.INFO: TCP Data received {"connection_id":143100,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3c7d7f8012d7e380005d34d500000003128..."} 
[2026-07-27 19:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143100,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3c7d7f8012d7e380005d34d500000003128..."} 
[2026-07-27 19:08:14] local.INFO: Processing buffer {"connection_id":143100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3c7d7f8012d7e380005d34d500000003128..."} 
[2026-07-27 19:08:14] local.INFO: Packet analysis {"connection_id":143100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3c7"} 
[2026-07-27 19:08:14] local.INFO: Extracted packet for processing {"connection_id":143100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3c7"} 
[2026-07-27 19:08:14] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733968,"longitude_deg":76.3246592,"latitude_deg":9.7733968,"altitude":0,"angle":49,"satellites":40,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-07-27 19:08:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:08:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000680960001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:08:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111785234072076288,"note":"Value kept but may cause issues"} 
[2026-07-27 19:08:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494612480,"note":"Value kept but may cause issues"} 
[2026-07-27 19:08:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:08:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785159211000,"timestamp_ms":1785159211000,"timestamp_seconds":1785159211,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3c7d7f8"} 
[2026-07-27 19:08:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:08:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 19:08:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-27 19:08:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:08:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:08:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:08:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:08:14] local.INFO: Teltonika packet parsed successfully {"connection_id":143100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:08:14] local.INFO: Passing IMEI to GPS processor {"connection_id":143100,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 19:08:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":143100,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 19:08:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:08:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 19:08:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 19:08:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000680960001,"66":2209,"109":206,"85":15104,"24":0,"16":111785234072076288,"45":9095019472494612480},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-27 19:08:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 19:08:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 19:08:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000680960001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:08:14] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-27 19:08:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 19:08:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111785234072076288,"km_value":111785234072076.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:08:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494612480,"description":"Unknown IO ID 45"} 
[2026-07-27 19:08:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000680960001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494612480}} 
[2026-07-27 19:08:14] local.INFO: DEBUG: GPS processor result {"connection_id":143100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554981,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:08:14] local.INFO: GPS data processed {"connection_id":143100,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:08:14] local.INFO: Acknowledgment sent {"connection_id":143100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:08:31] local.INFO: TCP Data received {"connection_id":143101,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:08:31] local.INFO: Processing buffer {"connection_id":143101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:08:31] local.INFO: IMEI packet received {"connection_id":143101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 19:08:31] local.INFO: IMEI acknowledgment sent {"connection_id":143101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:08:36] local.INFO: TCP Data received {"connection_id":143101,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:08:36] local.INFO: Processing buffer {"connection_id":143101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:08:36] local.INFO: IMEI packet received {"connection_id":143101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 19:08:36] local.INFO: IMEI acknowledgment sent {"connection_id":143101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:08:37] local.INFO: TCP Data received {"connection_id":143239,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3c9a8d0012d1967c0071fee200046011626..."} 
[2026-07-27 19:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3c9a8d0012d1967c0071fee200046011626..."} 
[2026-07-27 19:08:37] local.INFO: Processing buffer {"connection_id":143239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3c9a8d0012d1967c0071fee200046011626..."} 
[2026-07-27 19:08:37] local.INFO: Packet analysis {"connection_id":143239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3c9"} 
[2026-07-27 19:08:37] local.INFO: Extracted packet for processing {"connection_id":143239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3c9"} 
[2026-07-27 19:08:37] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":38,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 19:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:08:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000783104001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:08:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 19:08:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 19:08:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:08:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785159330000,"timestamp_ms":1785159330000,"timestamp_seconds":1785159330,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3c9a8d0"} 
[2026-07-27 19:08:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:08:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-27 19:08:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-27 19:08:37] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168048982131200,"note":"Value kept but may cause issues"} 
[2026-07-27 19:08:37] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452319,"note":"Value kept but may cause issues"} 
[2026-07-27 19:08:37] local.WARNING: Large IO value detected {"io_id":222,"raw_value":-6917529027641081855,"note":"Value kept but may cause issues"} 
[2026-07-27 19:08:37] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-6645315718387787417,"note":"Value kept but may cause issues"} 
[2026-07-27 19:08:37] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513390703754477846,"note":"Value kept but may cause issues"} 
[2026-07-27 19:08:37] local.WARNING: Large IO value detected {"io_id":70,"raw_value":78290725455790080,"note":"Value kept but may cause issues"} 
[2026-07-27 19:08:37] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832605,"note":"Value kept but may cause issues"} 
[2026-07-27 19:08:37] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3467491122450333902,"note":"Value kept but may cause issues"} 
[2026-07-27 19:08:37] local.WARNING: Large IO value detected {"io_id":163,"raw_value":3356403713,"note":"Value kept but may cause issues"} 
[2026-07-27 19:08:37] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3735027712,"note":"Value kept but may cause issues"} 
[2026-07-27 19:08:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-27 19:08:37] local.WARNING: Large IO value detected {"io_id":188,"raw_value":2684431641,"note":"Value kept but may cause issues"} 
[2026-07-27 19:08:37] local.WARNING: Large IO value detected {"io_id":103,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-07-27 19:08:37] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,121,28,24,241,158,16,222,159,4,45,192,238,70,37,10,66,178,33,96,1,240,42,163,31,113,205,188,103,32,239,48,2,7],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-07-27 19:08:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5044337410096234496,"timestamp_seconds":5044337410096234.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 19:08:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:08:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:08:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:08:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143239,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:08:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143239,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:08:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:08:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 19:08:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 19:08:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000783104001,"66":12341,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 19:08:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 19:08:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 19:08:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000783104001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:08:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 19:08:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 19:08:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:08:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 19:08:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000783104001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 19:08:37] local.INFO: TCP Data received {"connection_id":143101,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3c87050012da8530005dfd2380021013a29..."} 
[2026-07-27 19:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143101,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3c87050012da8530005dfd2380021013a29..."} 
[2026-07-27 19:08:37] local.INFO: Processing buffer {"connection_id":143101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3c87050012da8530005dfd2380021013a29..."} 
[2026-07-27 19:08:37] local.INFO: Packet analysis {"connection_id":143101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3c8"} 
[2026-07-27 19:08:37] local.INFO: Extracted packet for processing {"connection_id":143101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3c8"} 
[2026-07-27 19:08:37] local.INFO: GPS Element Parsed {"raw_longitude":766006016,"raw_latitude":98554424,"longitude_deg":76.6006016,"latitude_deg":9.8554424,"altitude":33,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2da85300","hex_latitude":"05dfd238","is_valid_coordinates":true} 
[2026-07-27 19:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:08:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000690944001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:08:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359256443599192064,"note":"Value kept but may cause issues"} 
[2026-07-27 19:08:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6317705827040741376,"note":"Value kept but may cause issues"} 
[2026-07-27 19:08:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:08:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785159250000,"timestamp_ms":1785159250000,"timestamp_seconds":1785159250,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3c87050"} 
[2026-07-27 19:08:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:08:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 19:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-27 19:08:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:08:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:08:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:08:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:08:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:08:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:08:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:08:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:08:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 19:08:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 19:08:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000690944001,"66":25158,"70":206,"88":19968,"24":0,"16":359256443599192064,"45":-6317705827040741376},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,88,24,16,45]} 
[2026-07-27 19:08:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 19:08:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 19:08:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000690944001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:08:37] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-27 19:08:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 19:08:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359256443599192064,"km_value":359256443599192.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:08:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6317705827040741376,"description":"Unknown IO ID 45"} 
[2026-07-27 19:08:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000690944001,"power":25158,"unknown_70":206,"unknown_88":19968,"ignition":0,"odometer":null,"unknown_45":-6317705827040741376}} 
[2026-07-27 19:08:37] local.INFO: DEBUG: GPS processor result {"connection_id":143101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:08:37] local.INFO: GPS data processed {"connection_id":143101,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:08:37] local.INFO: Acknowledgment sent {"connection_id":143101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:08:37] local.INFO: DEBUG: GPS processor result {"connection_id":143239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554983,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:08:37] local.INFO: GPS data processed {"connection_id":143239,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:08:37] local.INFO: Acknowledgment sent {"connection_id":143239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:08:47] local.INFO: TCP Data received {"connection_id":143100,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3cc6fc0012d7e380005d34d50000000312a..."} 
[2026-07-27 19:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143100,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3cc6fc0012d7e380005d34d50000000312a..."} 
[2026-07-27 19:08:47] local.INFO: Processing buffer {"connection_id":143100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3cc6fc0012d7e380005d34d50000000312a..."} 
[2026-07-27 19:08:47] local.INFO: Packet analysis {"connection_id":143100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3cc"} 
[2026-07-27 19:08:47] local.INFO: Extracted packet for processing {"connection_id":143100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3cc"} 
[2026-07-27 19:08:47] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733968,"longitude_deg":76.3246592,"latitude_deg":9.7733968,"altitude":0,"angle":49,"satellites":42,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-07-27 19:08:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:08:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000758016001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:08:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":111785234072076288,"note":"Value kept but may cause issues"} 
[2026-07-27 19:08:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494612480,"note":"Value kept but may cause issues"} 
[2026-07-27 19:08:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:08:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785159512000,"timestamp_ms":1785159512000,"timestamp_seconds":1785159512,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3cc6fc0"} 
[2026-07-27 19:08:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:08:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 19:08:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-27 19:08:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:08:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:08:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:08:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:08:47] local.INFO: Teltonika packet parsed successfully {"connection_id":143100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:08:47] local.INFO: Passing IMEI to GPS processor {"connection_id":143100,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 19:08:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":143100,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-27 19:08:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:08:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-27 19:08:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-27 19:08:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000758016001,"66":2209,"109":206,"85":15104,"24":0,"16":111785234072076288,"45":9095019472494612480},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-27 19:08:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-27 19:08:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-27 19:08:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000758016001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:08:47] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-27 19:08:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-27 19:08:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":111785234072076288,"km_value":111785234072076.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:08:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494612480,"description":"Unknown IO ID 45"} 
[2026-07-27 19:08:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000758016001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494612480}} 
[2026-07-27 19:08:47] local.INFO: DEBUG: GPS processor result {"connection_id":143100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554984,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:08:47] local.INFO: GPS data processed {"connection_id":143100,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:08:47] local.INFO: Acknowledgment sent {"connection_id":143100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:08:59] local.INFO: TCP Data received {"connection_id":145510,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145510,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:08:59] local.INFO: Processing buffer {"connection_id":145510,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:08:59] local.INFO: IMEI packet received {"connection_id":145510,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 19:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":145510,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:09:07] local.INFO: TCP Data received {"connection_id":145510,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145510,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:09:07] local.INFO: Processing buffer {"connection_id":145510,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:09:07] local.INFO: IMEI packet received {"connection_id":145510,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 19:09:07] local.INFO: IMEI acknowledgment sent {"connection_id":145510,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:09:08] local.INFO: TCP Data received {"connection_id":143101,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3c87050012da8530005dfd2380021013a29..."} 
[2026-07-27 19:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143101,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3c87050012da8530005dfd2380021013a29..."} 
[2026-07-27 19:09:08] local.INFO: Processing buffer {"connection_id":143101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3c87050012da8530005dfd2380021013a29..."} 
[2026-07-27 19:09:08] local.INFO: Packet analysis {"connection_id":143101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3c8"} 
[2026-07-27 19:09:08] local.INFO: Extracted packet for processing {"connection_id":143101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3c8"} 
[2026-07-27 19:09:08] local.INFO: GPS Element Parsed {"raw_longitude":766006016,"raw_latitude":98554424,"longitude_deg":76.6006016,"latitude_deg":9.8554424,"altitude":33,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2da85300","hex_latitude":"05dfd238","is_valid_coordinates":true} 
[2026-07-27 19:09:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:09:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000690944001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:09:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359256443599192064,"note":"Value kept but may cause issues"} 
[2026-07-27 19:09:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6317705827040741376,"note":"Value kept but may cause issues"} 
[2026-07-27 19:09:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:09:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785159250000,"timestamp_ms":1785159250000,"timestamp_seconds":1785159250,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3c87050"} 
[2026-07-27 19:09:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:09:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-27 19:09:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:09:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:09:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:09:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:09:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:09:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:09:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:09:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:09:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 19:09:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 19:09:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000690944001,"66":25158,"70":206,"88":19968,"24":0,"16":359256443599192064,"45":-6317705827040741376},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,88,24,16,45]} 
[2026-07-27 19:09:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 19:09:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 19:09:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000690944001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:09:08] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-27 19:09:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 19:09:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359256443599192064,"km_value":359256443599192.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:09:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6317705827040741376,"description":"Unknown IO ID 45"} 
[2026-07-27 19:09:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000690944001,"power":25158,"unknown_70":206,"unknown_88":19968,"ignition":0,"odometer":null,"unknown_45":-6317705827040741376}} 
[2026-07-27 19:09:08] local.INFO: DEBUG: GPS processor result {"connection_id":143101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:09:08] local.INFO: GPS data processed {"connection_id":143101,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:09:08] local.INFO: Acknowledgment sent {"connection_id":143101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:09:08] local.INFO: TCP Data received {"connection_id":145510,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3c9fad8012d1967c0071fee200046011626..."} 
[2026-07-27 19:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3c9fad8012d1967c0071fee200046011626..."} 
[2026-07-27 19:09:08] local.INFO: Processing buffer {"connection_id":145510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3c9fad8012d1967c0071fee200046011626..."} 
[2026-07-27 19:09:08] local.INFO: Packet analysis {"connection_id":145510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3c9"} 
[2026-07-27 19:09:08] local.INFO: Extracted packet for processing {"connection_id":145510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3c9"} 
[2026-07-27 19:09:08] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":38,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 19:09:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:09:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000788480001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:09:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 19:09:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 19:09:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:09:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785159351000,"timestamp_ms":1785159351000,"timestamp_seconds":1785159351,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3c9fad8"} 
[2026-07-27 19:09:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:09:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 19:09:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:09:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:09:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:09:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:09:08] local.INFO: Teltonika packet parsed successfully {"connection_id":145510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:09:08] local.INFO: Passing IMEI to GPS processor {"connection_id":145510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:09:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":145510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:09:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:09:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 19:09:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 19:09:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000788480001,"66":12341,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 19:09:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 19:09:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 19:09:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000788480001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:09:08] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 19:09:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 19:09:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:09:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 19:09:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000788480001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 19:09:08] local.INFO: DEBUG: GPS processor result {"connection_id":145510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554986,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:09:08] local.INFO: GPS data processed {"connection_id":145510,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:09:08] local.INFO: Acknowledgment sent {"connection_id":145510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:09:36] local.INFO: TCP Data received {"connection_id":143102,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:09:36] local.INFO: Processing buffer {"connection_id":143102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:09:36] local.INFO: IMEI packet received {"connection_id":143102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 19:09:36] local.INFO: IMEI acknowledgment sent {"connection_id":143102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:09:40] local.INFO: TCP Data received {"connection_id":145510,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3ca4ce0012d1967c0071fee200046011623..."} 
[2026-07-27 19:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3ca4ce0012d1967c0071fee200046011623..."} 
[2026-07-27 19:09:40] local.INFO: Processing buffer {"connection_id":145510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3ca4ce0012d1967c0071fee200046011623..."} 
[2026-07-27 19:09:40] local.INFO: Packet analysis {"connection_id":145510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3ca"} 
[2026-07-27 19:09:40] local.INFO: Extracted packet for processing {"connection_id":145510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3ca"} 
[2026-07-27 19:09:40] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":35,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 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-07-27 19:09:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000793856001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:09:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 19:09:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 19:09:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:09:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785159372000,"timestamp_ms":1785159372000,"timestamp_seconds":1785159372,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3ca4ce0"} 
[2026-07-27 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-07-27 19:09:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 19:09:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 19:09:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:09:40] local.INFO: Teltonika packet parsed successfully {"connection_id":145510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:09:40] local.INFO: Passing IMEI to GPS processor {"connection_id":145510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:09:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":145510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:09:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:09:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 19:09:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 19:09:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000793856001,"66":12287,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 19:09:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 19:09:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 19:09:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000793856001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:09:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 19:09:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 19:09:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:09:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 19:09:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000793856001,"power":12287,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 19:09:40] local.INFO: DEBUG: GPS processor result {"connection_id":145510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554987,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:09:40] local.INFO: GPS data processed {"connection_id":145510,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:09:40] local.INFO: Acknowledgment sent {"connection_id":145510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:09:41] local.INFO: TCP Data received {"connection_id":143102,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:09:41] local.INFO: Processing buffer {"connection_id":143102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:09:41] local.INFO: IMEI packet received {"connection_id":143102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 19:09:41] local.INFO: IMEI acknowledgment sent {"connection_id":143102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:09:42] local.INFO: TCP Data received {"connection_id":143102,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3c87050012da8530005dfd2380021013a29..."} 
[2026-07-27 19:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143102,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3c87050012da8530005dfd2380021013a29..."} 
[2026-07-27 19:09:42] local.INFO: Processing buffer {"connection_id":143102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3c87050012da8530005dfd2380021013a29..."} 
[2026-07-27 19:09:42] local.INFO: Packet analysis {"connection_id":143102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3c8"} 
[2026-07-27 19:09:42] local.INFO: Extracted packet for processing {"connection_id":143102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3c8"} 
[2026-07-27 19:09:42] local.INFO: GPS Element Parsed {"raw_longitude":766006016,"raw_latitude":98554424,"longitude_deg":76.6006016,"latitude_deg":9.8554424,"altitude":33,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2da85300","hex_latitude":"05dfd238","is_valid_coordinates":true} 
[2026-07-27 19: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-07-27 19:09:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000690944001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:09:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359256443599192064,"note":"Value kept but may cause issues"} 
[2026-07-27 19:09:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6317705827040741376,"note":"Value kept but may cause issues"} 
[2026-07-27 19:09:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:09:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785159250000,"timestamp_ms":1785159250000,"timestamp_seconds":1785159250,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3c87050"} 
[2026-07-27 19:09:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:09:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 19:09:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-27 19:09:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:09:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:09:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:09:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:09:42] local.INFO: Teltonika packet parsed successfully {"connection_id":143102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:09:42] local.INFO: Passing IMEI to GPS processor {"connection_id":143102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:09:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":143102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:09:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:09:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 19:09:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 19:09:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000690944001,"66":25158,"70":206,"88":19968,"24":0,"16":359256443599192064,"45":-6317705827040741376},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,88,24,16,45]} 
[2026-07-27 19:09:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 19:09:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 19:09:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000690944001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:09:42] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-27 19:09:42] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 19:09:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359256443599192064,"km_value":359256443599192.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:09:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6317705827040741376,"description":"Unknown IO ID 45"} 
[2026-07-27 19:09:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000690944001,"power":25158,"unknown_70":206,"unknown_88":19968,"ignition":0,"odometer":null,"unknown_45":-6317705827040741376}} 
[2026-07-27 19:09:42] local.INFO: DEBUG: GPS processor result {"connection_id":143102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:09:42] local.INFO: GPS data processed {"connection_id":143102,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:09:42] local.INFO: Acknowledgment sent {"connection_id":143102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:09:47] local.INFO: TCP Data received {"connection_id":143102,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3c87050012da8530005dfd2380021013a29..."} 
[2026-07-27 19:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143102,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3c87050012da8530005dfd2380021013a29..."} 
[2026-07-27 19:09:47] local.INFO: Processing buffer {"connection_id":143102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3c87050012da8530005dfd2380021013a29..."} 
[2026-07-27 19:09:47] local.INFO: Packet analysis {"connection_id":143102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3c8"} 
[2026-07-27 19:09:47] local.INFO: Extracted packet for processing {"connection_id":143102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3c8"} 
[2026-07-27 19:09:47] local.INFO: GPS Element Parsed {"raw_longitude":766006016,"raw_latitude":98554424,"longitude_deg":76.6006016,"latitude_deg":9.8554424,"altitude":33,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2da85300","hex_latitude":"05dfd238","is_valid_coordinates":true} 
[2026-07-27 19:09:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:09:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000690944001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:09:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359256443599192064,"note":"Value kept but may cause issues"} 
[2026-07-27 19:09:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6317705827040741376,"note":"Value kept but may cause issues"} 
[2026-07-27 19:09:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:09:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785159250000,"timestamp_ms":1785159250000,"timestamp_seconds":1785159250,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3c87050"} 
[2026-07-27 19:09:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:09:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 19:09:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-27 19:09:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:09:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:09:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:09:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:09:47] local.INFO: Teltonika packet parsed successfully {"connection_id":143102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:09:47] local.INFO: Passing IMEI to GPS processor {"connection_id":143102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:09:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":143102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:09:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:09:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 19:09:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 19:09:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000690944001,"66":25158,"70":206,"88":19968,"24":0,"16":359256443599192064,"45":-6317705827040741376},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,88,24,16,45]} 
[2026-07-27 19:09:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 19:09:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 19:09:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000690944001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:09:47] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-27 19:09:47] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 19:09:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359256443599192064,"km_value":359256443599192.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:09:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6317705827040741376,"description":"Unknown IO ID 45"} 
[2026-07-27 19:09:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000690944001,"power":25158,"unknown_70":206,"unknown_88":19968,"ignition":0,"odometer":null,"unknown_45":-6317705827040741376}} 
[2026-07-27 19:09:47] local.INFO: DEBUG: GPS processor result {"connection_id":143102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:09:47] local.INFO: GPS data processed {"connection_id":143102,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:09:47] local.INFO: Acknowledgment sent {"connection_id":143102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:10:04] local.INFO: TCP Data received {"connection_id":143240,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143240,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:10:04] local.INFO: Processing buffer {"connection_id":143240,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:10:04] local.INFO: IMEI packet received {"connection_id":143240,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 19:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":143240,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:10:09] local.INFO: TCP Data received {"connection_id":143240,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143240,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:10:09] local.INFO: Processing buffer {"connection_id":143240,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:10:09] local.INFO: IMEI packet received {"connection_id":143240,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 19:10:09] local.INFO: IMEI acknowledgment sent {"connection_id":143240,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:10:10] local.INFO: TCP Data received {"connection_id":143240,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3ca9ee8012d1967c0071fee200046011624..."} 
[2026-07-27 19:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3ca9ee8012d1967c0071fee200046011624..."} 
[2026-07-27 19:10:10] local.INFO: Processing buffer {"connection_id":143240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3ca9ee8012d1967c0071fee200046011624..."} 
[2026-07-27 19:10:10] local.INFO: Packet analysis {"connection_id":143240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3ca"} 
[2026-07-27 19:10:10] local.INFO: Extracted packet for processing {"connection_id":143240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3ca"} 
[2026-07-27 19:10:10] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":36,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 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-07-27 19:10:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000799232001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:10:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 19:10:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 19:10:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:10:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785159393000,"timestamp_ms":1785159393000,"timestamp_seconds":1785159393,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3ca9ee8"} 
[2026-07-27 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-07-27 19:10:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-27 19:10:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 19:10:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:10:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:10:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:10:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:10:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:10:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 19:10:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 19:10:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000799232001,"66":12287,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 19:10:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 19:10:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 19:10:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000799232001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:10:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 19:10:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 19:10:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:10:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 19:10:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000799232001,"power":12287,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 19:10:10] local.INFO: DEBUG: GPS processor result {"connection_id":143240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554990,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:10:10] local.INFO: GPS data processed {"connection_id":143240,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:10:10] local.INFO: Acknowledgment sent {"connection_id":143240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:10:14] local.INFO: TCP Data received {"connection_id":143240,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3caf0f0012d1967c0071fee200046011626..."} 
[2026-07-27 19:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3caf0f0012d1967c0071fee200046011626..."} 
[2026-07-27 19:10:14] local.INFO: Processing buffer {"connection_id":143240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3caf0f0012d1967c0071fee200046011626..."} 
[2026-07-27 19:10:14] local.INFO: Packet analysis {"connection_id":143240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3ca"} 
[2026-07-27 19:10:14] local.INFO: Extracted packet for processing {"connection_id":143240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3ca"} 
[2026-07-27 19:10:14] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":38,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 19:10:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:10:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000804608001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:10:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 19:10:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 19:10:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:10:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785159414000,"timestamp_ms":1785159414000,"timestamp_seconds":1785159414,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3caf0f0"} 
[2026-07-27 19:10:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:10:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:10:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-27 19:10:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:10:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:10:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:10:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:10:14] local.INFO: Teltonika packet parsed successfully {"connection_id":143240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:10:14] local.INFO: Passing IMEI to GPS processor {"connection_id":143240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:10:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":143240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:10:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:10:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 19:10:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 19:10:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000804608001,"66":12287,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 19:10:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 19:10:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 19:10:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000804608001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:10:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 19:10:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 19:10:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:10:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 19:10:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000804608001,"power":12287,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 19:10:14] local.INFO: DEBUG: GPS processor result {"connection_id":143240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554991,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:10:14] local.INFO: GPS data processed {"connection_id":143240,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:10:14] local.INFO: Acknowledgment sent {"connection_id":143240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:10:31] local.INFO: TCP Data received {"connection_id":143241,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:10:31] local.INFO: Processing buffer {"connection_id":143241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:10:31] local.INFO: IMEI packet received {"connection_id":143241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 19:10:31] local.INFO: IMEI acknowledgment sent {"connection_id":143241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:10:37] local.INFO: TCP Data received {"connection_id":143241,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:10:37] local.INFO: Processing buffer {"connection_id":143241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:10:37] local.INFO: IMEI packet received {"connection_id":143241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 19:10:37] local.INFO: IMEI acknowledgment sent {"connection_id":143241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:10:38] local.INFO: TCP Data received {"connection_id":143241,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3cd0818012da8530005dfd2380021013a2a..."} 
[2026-07-27 19:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3cd0818012da8530005dfd2380021013a2a..."} 
[2026-07-27 19:10:38] local.INFO: Processing buffer {"connection_id":143241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3cd0818012da8530005dfd2380021013a2a..."} 
[2026-07-27 19:10:38] local.INFO: Packet analysis {"connection_id":143241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3cd"} 
[2026-07-27 19:10:38] local.INFO: Extracted packet for processing {"connection_id":143241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3cd"} 
[2026-07-27 19:10:38] local.INFO: GPS Element Parsed {"raw_longitude":766006016,"raw_latitude":98554424,"longitude_deg":76.6006016,"latitude_deg":9.8554424,"altitude":33,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2da85300","hex_latitude":"05dfd238","is_valid_coordinates":true} 
[2026-07-27 19:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:10:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000768000001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:10:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359256443599192064,"note":"Value kept but may cause issues"} 
[2026-07-27 19:10:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6317705827040741376,"note":"Value kept but may cause issues"} 
[2026-07-27 19:10:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:10:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785159551000,"timestamp_ms":1785159551000,"timestamp_seconds":1785159551,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3cd0818"} 
[2026-07-27 19:10:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:10:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 19:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-27 19:10:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:10:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:10:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:10:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:10:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:10:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:10:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:10:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:10:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 19:10:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 19:10:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000768000001,"66":25647,"70":206,"88":19968,"24":0,"16":359256443599192064,"45":-6317705827040741376},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,88,24,16,45]} 
[2026-07-27 19:10:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 19:10:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 19:10:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000768000001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:10:38] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-27 19:10:38] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 19:10:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359256443599192064,"km_value":359256443599192.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:10:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6317705827040741376,"description":"Unknown IO ID 45"} 
[2026-07-27 19:10:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000768000001,"power":25647,"unknown_70":206,"unknown_88":19968,"ignition":0,"odometer":null,"unknown_45":-6317705827040741376}} 
[2026-07-27 19:10:38] local.INFO: DEBUG: GPS processor result {"connection_id":143241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:10:38] local.INFO: GPS data processed {"connection_id":143241,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:10:38] local.INFO: Acknowledgment sent {"connection_id":143241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:11:02] local.INFO: TCP Data received {"connection_id":143242,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143242,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:11:02] local.INFO: Processing buffer {"connection_id":143242,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:11:02] local.INFO: IMEI packet received {"connection_id":143242,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 19:11:02] local.INFO: IMEI acknowledgment sent {"connection_id":143242,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:11:02] local.INFO: TCP Data received {"connection_id":143242,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143242,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:11:02] local.INFO: Processing buffer {"connection_id":143242,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:11:02] local.INFO: IMEI packet received {"connection_id":143242,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 19:11:02] local.INFO: IMEI acknowledgment sent {"connection_id":143242,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:11:04] local.INFO: TCP Data received {"connection_id":143242,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3cb42f8012d1967c0071fee200046011625..."} 
[2026-07-27 19:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143242,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3cb42f8012d1967c0071fee200046011625..."} 
[2026-07-27 19:11:04] local.INFO: Processing buffer {"connection_id":143242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3cb42f8012d1967c0071fee200046011625..."} 
[2026-07-27 19:11:04] local.INFO: Packet analysis {"connection_id":143242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3cb"} 
[2026-07-27 19:11:04] local.INFO: Extracted packet for processing {"connection_id":143242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3cb"} 
[2026-07-27 19:11:04] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":37,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 19:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:11:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000809984001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:11:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 19:11:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 19:11:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:11:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785159435000,"timestamp_ms":1785159435000,"timestamp_seconds":1785159435,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3cb42f8"} 
[2026-07-27 19:11:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:11:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-27 19:11:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:11:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:11:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:11:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:11:04] local.INFO: Teltonika packet parsed successfully {"connection_id":143242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:11:04] local.INFO: Passing IMEI to GPS processor {"connection_id":143242,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:11:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":143242,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:11:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:11:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 19:11:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 19:11:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000809984001,"66":12287,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 19:11:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 19:11:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 19:11:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000809984001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:11:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 19:11:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 19:11:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:11:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 19:11:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000809984001,"power":12287,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 19:11:04] local.INFO: DEBUG: GPS processor result {"connection_id":143242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554993,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:11:04] local.INFO: GPS data processed {"connection_id":143242,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:11:04] local.INFO: Acknowledgment sent {"connection_id":143242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:11:05] local.INFO: TCP Data received {"connection_id":143242,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3cb9500012d1967c0071fee200046011624..."} 
[2026-07-27 19:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143242,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3cb9500012d1967c0071fee200046011624..."} 
[2026-07-27 19:11:05] local.INFO: Processing buffer {"connection_id":143242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3cb9500012d1967c0071fee200046011624..."} 
[2026-07-27 19:11:05] local.INFO: Packet analysis {"connection_id":143242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3cb"} 
[2026-07-27 19:11:05] local.INFO: Extracted packet for processing {"connection_id":143242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3cb"} 
[2026-07-27 19:11:05] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":36,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 19:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:11:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000815360001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:11:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 19:11:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 19:11:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:11:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785159456000,"timestamp_ms":1785159456000,"timestamp_seconds":1785159456,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3cb9500"} 
[2026-07-27 19:11:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:11:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-27 19:11:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:11:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:11:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:11:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:11:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:11:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143242,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:11:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143242,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:11:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:11:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 19:11:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 19:11:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000815360001,"66":12287,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 19:11:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 19:11:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 19:11:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000815360001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:11:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 19:11:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 19:11:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:11:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 19:11:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000815360001,"power":12287,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 19:11:05] local.INFO: DEBUG: GPS processor result {"connection_id":143242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554994,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:11:05] local.INFO: GPS data processed {"connection_id":143242,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:11:05] local.INFO: Acknowledgment sent {"connection_id":143242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:11:10] local.INFO: TCP Data received {"connection_id":143241,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3cd0fe8012da8530005dfd2380021013a29..."} 
[2026-07-27 19:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3cd0fe8012da8530005dfd2380021013a29..."} 
[2026-07-27 19:11:10] local.INFO: Processing buffer {"connection_id":143241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3cd0fe8012da8530005dfd2380021013a29..."} 
[2026-07-27 19:11:10] local.INFO: Packet analysis {"connection_id":143241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3cd"} 
[2026-07-27 19:11:10] local.INFO: Extracted packet for processing {"connection_id":143241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3cd"} 
[2026-07-27 19:11:10] local.INFO: GPS Element Parsed {"raw_longitude":766006016,"raw_latitude":98554424,"longitude_deg":76.6006016,"latitude_deg":9.8554424,"altitude":33,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2da85300","hex_latitude":"05dfd238","is_valid_coordinates":true} 
[2026-07-27 19:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:11:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000845056001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:11:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359256443599192064,"note":"Value kept but may cause issues"} 
[2026-07-27 19:11:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6317705827040741376,"note":"Value kept but may cause issues"} 
[2026-07-27 19:11:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:11:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785159553000,"timestamp_ms":1785159553000,"timestamp_seconds":1785159553,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3cd0fe8"} 
[2026-07-27 19:11:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:11:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 19:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-27 19:11:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:11:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:11:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:11:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:11:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:11:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:11:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:11:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:11:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 19:11:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 19:11:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000845056001,"66":25680,"70":206,"88":19968,"24":0,"16":359256443599192064,"45":-6317705827040741376},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,88,24,16,45]} 
[2026-07-27 19:11:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 19:11:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 19:11:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000845056001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:11:10] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-27 19:11:10] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 19:11:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359256443599192064,"km_value":359256443599192.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:11:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6317705827040741376,"description":"Unknown IO ID 45"} 
[2026-07-27 19:11:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000845056001,"power":25680,"unknown_70":206,"unknown_88":19968,"ignition":0,"odometer":null,"unknown_45":-6317705827040741376}} 
[2026-07-27 19:11:10] local.INFO: DEBUG: GPS processor result {"connection_id":143241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:11:10] local.INFO: GPS data processed {"connection_id":143241,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:11:10] local.INFO: Acknowledgment sent {"connection_id":143241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:11:29] local.INFO: TCP Data received {"connection_id":145511,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:11:29] local.INFO: Processing buffer {"connection_id":145511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:11:29] local.INFO: IMEI packet received {"connection_id":145511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 19:11:29] local.INFO: IMEI acknowledgment sent {"connection_id":145511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:11:31] local.INFO: TCP Data received {"connection_id":145511,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:11:31] local.INFO: Processing buffer {"connection_id":145511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:11:31] local.INFO: IMEI packet received {"connection_id":145511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 19:11:31] local.INFO: IMEI acknowledgment sent {"connection_id":145511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:11:35] local.INFO: TCP Data received {"connection_id":145511,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:11:35] local.INFO: Processing buffer {"connection_id":145511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:11:35] local.INFO: IMEI packet received {"connection_id":145511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 19:11:35] local.INFO: IMEI acknowledgment sent {"connection_id":145511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:11:36] local.INFO: TCP Data received {"connection_id":145511,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3ce4098012da81d4005dfeb28001e00f629..."} 
[2026-07-27 19:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3ce4098012da81d4005dfeb28001e00f629..."} 
[2026-07-27 19:11:36] local.INFO: Processing buffer {"connection_id":145511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3ce4098012da81d4005dfeb28001e00f629..."} 
[2026-07-27 19:11:36] local.INFO: Packet analysis {"connection_id":145511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3ce"} 
[2026-07-27 19:11:36] local.INFO: Extracted packet for processing {"connection_id":145511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3ce"} 
[2026-07-27 19:11:36] local.INFO: GPS Element Parsed {"raw_longitude":765992256,"raw_latitude":98560808,"longitude_deg":76.5992256,"latitude_deg":9.8560808,"altitude":30,"angle":246,"satellites":41,"speed":27,"hex_longitude":"2da81d40","hex_latitude":"05dfeb28","is_valid_coordinates":true} 
[2026-07-27 19:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:11:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000865024001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:11:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359257233873174528,"note":"Value kept but may cause issues"} 
[2026-07-27 19:11:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6331286994665306112,"note":"Value kept but may cause issues"} 
[2026-07-27 19:11:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:11:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785159631000,"timestamp_ms":1785159631000,"timestamp_seconds":1785159631,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3ce4098"} 
[2026-07-27 19:11:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:11:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-27 19:11:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:11:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:11:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:11:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:11:36] local.INFO: Teltonika packet parsed successfully {"connection_id":145511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:11:36] local.INFO: Passing IMEI to GPS processor {"connection_id":145511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:11:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":145511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:11:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:11:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 19:11:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 19:11:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000865024001,"66":27365,"70":206,"88":19968,"24":27,"16":359257233873174528,"45":-6331286994665306112},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,88,24,16,45]} 
[2026-07-27 19:11:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 19:11:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 19:11:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000865024001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:11:36] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-27 19:11:36] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 19:11:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359257233873174528,"km_value":359257233873174.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:11:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6331286994665306112,"description":"Unknown IO ID 45"} 
[2026-07-27 19:11:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000865024001,"power":27365,"unknown_70":206,"unknown_88":19968,"ignition":27,"odometer":null,"unknown_45":-6331286994665306112}} 
[2026-07-27 19:11:36] local.INFO: DEBUG: GPS processor result {"connection_id":145511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:11:36] local.INFO: GPS data processed {"connection_id":145511,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:11:36] local.INFO: Acknowledgment sent {"connection_id":145511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:11:38] local.INFO: TCP Data received {"connection_id":143242,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3cbe708012d1967c0071fee200046011625..."} 
[2026-07-27 19:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143242,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3cbe708012d1967c0071fee200046011625..."} 
[2026-07-27 19:11:38] local.INFO: Processing buffer {"connection_id":143242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3cbe708012d1967c0071fee200046011625..."} 
[2026-07-27 19:11:38] local.INFO: Packet analysis {"connection_id":143242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3cb"} 
[2026-07-27 19:11:38] local.INFO: Extracted packet for processing {"connection_id":143242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3cb"} 
[2026-07-27 19:11:38] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":37,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 19:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:11:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000820736001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:11:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 19:11:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 19:11:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:11:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785159477000,"timestamp_ms":1785159477000,"timestamp_seconds":1785159477,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3cbe708"} 
[2026-07-27 19:11:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:11:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-27 19:11:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:11:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:11:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:11:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:11:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:11:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143242,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:11:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143242,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:11:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:11:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 19:11:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 19:11:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000820736001,"66":12287,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 19:11:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 19:11:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 19:11:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000820736001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:11:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 19:11:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 19:11:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:11:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 19:11:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000820736001,"power":12287,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 19:11:38] local.INFO: DEBUG: GPS processor result {"connection_id":143242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554997,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:11:38] local.INFO: GPS data processed {"connection_id":143242,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:11:38] local.INFO: Acknowledgment sent {"connection_id":143242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:12:00] local.INFO: TCP Data received {"connection_id":144227,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144227,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:12:00] local.INFO: Processing buffer {"connection_id":144227,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:12:00] local.INFO: IMEI packet received {"connection_id":144227,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 19:12:00] local.INFO: IMEI acknowledgment sent {"connection_id":144227,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:12:04] local.INFO: TCP Data received {"connection_id":144227,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144227,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:12:04] local.INFO: Processing buffer {"connection_id":144227,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:12:04] local.INFO: IMEI packet received {"connection_id":144227,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 19:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":144227,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:12:06] local.INFO: TCP Data received {"connection_id":144227,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3cc3910012d1967c0071fee200046011624..."} 
[2026-07-27 19:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3cc3910012d1967c0071fee200046011624..."} 
[2026-07-27 19:12:06] local.INFO: Processing buffer {"connection_id":144227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3cc3910012d1967c0071fee200046011624..."} 
[2026-07-27 19:12:06] local.INFO: Packet analysis {"connection_id":144227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3cc"} 
[2026-07-27 19:12:06] local.INFO: Extracted packet for processing {"connection_id":144227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3cc"} 
[2026-07-27 19:12:06] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":36,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 19:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:12:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000826112001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:12:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 19:12:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 19:12:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:12:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785159498000,"timestamp_ms":1785159498000,"timestamp_seconds":1785159498,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3cc3910"} 
[2026-07-27 19:12:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:12:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-27 19:12:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:12:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:12:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:12:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:12:06] local.INFO: Teltonika packet parsed successfully {"connection_id":144227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:12:06] local.INFO: Passing IMEI to GPS processor {"connection_id":144227,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:12:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":144227,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:12:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:12:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 19:12:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 19:12:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000826112001,"66":12287,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 19:12:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 19:12:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 19:12:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000826112001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:12:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 19:12:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 19:12:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:12:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 19:12:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000826112001,"power":12287,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 19:12:06] local.INFO: DEBUG: GPS processor result {"connection_id":144227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554998,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:12:06] local.INFO: GPS data processed {"connection_id":144227,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:12:06] local.INFO: Acknowledgment sent {"connection_id":144227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:12:07] local.INFO: TCP Data received {"connection_id":145511,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3ce4868012da8188005dfe870001e00e92d..."} 
[2026-07-27 19:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3ce4868012da8188005dfe870001e00e92d..."} 
[2026-07-27 19:12:07] local.INFO: Processing buffer {"connection_id":145511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3ce4868012da8188005dfe870001e00e92d..."} 
[2026-07-27 19:12:07] local.INFO: Packet analysis {"connection_id":145511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3ce"} 
[2026-07-27 19:12:07] local.INFO: Extracted packet for processing {"connection_id":145511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3ce"} 
[2026-07-27 19:12:07] local.INFO: GPS Element Parsed {"raw_longitude":765991040,"raw_latitude":98560112,"longitude_deg":76.599104,"latitude_deg":9.8560112,"altitude":30,"angle":233,"satellites":45,"speed":26,"hex_longitude":"2da81880","hex_latitude":"05dfe870","is_valid_coordinates":true} 
[2026-07-27 19:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:12:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000865536001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:12:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359257298297683968,"note":"Value kept but may cause issues"} 
[2026-07-27 19:12:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6332835107037304832,"note":"Value kept but may cause issues"} 
[2026-07-27 19:12:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:12:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785159633000,"timestamp_ms":1785159633000,"timestamp_seconds":1785159633,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3ce4868"} 
[2026-07-27 19:12:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:12:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-27 19:12:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:12:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:12:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:12:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:12:07] local.INFO: Teltonika packet parsed successfully {"connection_id":145511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:12:07] local.INFO: Passing IMEI to GPS processor {"connection_id":145511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:12:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":145511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:12:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:12:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 19:12:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 19:12:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000865536001,"66":27180,"70":206,"88":19968,"24":26,"16":359257298297683968,"45":-6332835107037304832},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,88,24,16,45]} 
[2026-07-27 19:12:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 19:12:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 19:12:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000865536001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:12:07] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-27 19:12:07] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 19:12:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359257298297683968,"km_value":359257298297683.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:12:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6332835107037304832,"description":"Unknown IO ID 45"} 
[2026-07-27 19:12:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000865536001,"power":27180,"unknown_70":206,"unknown_88":19968,"ignition":26,"odometer":null,"unknown_45":-6332835107037304832}} 
[2026-07-27 19:12:07] local.INFO: DEBUG: GPS processor result {"connection_id":145511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:12:07] local.INFO: GPS data processed {"connection_id":145511,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:12:07] local.INFO: Acknowledgment sent {"connection_id":145511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:12:31] local.INFO: TCP Data received {"connection_id":144228,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:12:31] local.INFO: Processing buffer {"connection_id":144228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:12:31] local.INFO: IMEI packet received {"connection_id":144228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 19:12:31] local.INFO: IMEI acknowledgment sent {"connection_id":144228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:12:37] local.INFO: TCP Data received {"connection_id":144228,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:12:37] local.INFO: Processing buffer {"connection_id":144228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:12:37] local.INFO: IMEI packet received {"connection_id":144228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 19:12:37] local.INFO: IMEI acknowledgment sent {"connection_id":144228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:12:37] local.INFO: TCP Data received {"connection_id":144227,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3cc8b18012d1967c0071fee200046011623..."} 
[2026-07-27 19:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3cc8b18012d1967c0071fee200046011623..."} 
[2026-07-27 19:12:37] local.INFO: Processing buffer {"connection_id":144227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3cc8b18012d1967c0071fee200046011623..."} 
[2026-07-27 19:12:37] local.INFO: Packet analysis {"connection_id":144227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3cc"} 
[2026-07-27 19:12:37] local.INFO: Extracted packet for processing {"connection_id":144227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3cc"} 
[2026-07-27 19:12:37] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":35,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 19:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:12:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000831488001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:12:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 19:12:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 19:12:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:12:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785159519000,"timestamp_ms":1785159519000,"timestamp_seconds":1785159519,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3cc8b18"} 
[2026-07-27 19:12:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:12:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-27 19:12:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:12:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:12:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:12:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:12:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:12:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144227,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:12:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144227,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:12:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:12:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 19:12:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 19:12:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000831488001,"66":12341,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 19:12:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 19:12:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 19:12:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000831488001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:12:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 19:12:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 19:12:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:12:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 19:12:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000831488001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 19:12:37] local.INFO: DEBUG: GPS processor result {"connection_id":144227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555000,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:12:37] local.INFO: GPS data processed {"connection_id":144227,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:12:37] local.INFO: Acknowledgment sent {"connection_id":144227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:12:38] local.INFO: TCP Data received {"connection_id":144228,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3cf2710012da7aa8005e00188001a015a29..."} 
[2026-07-27 19:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3cf2710012da7aa8005e00188001a015a29..."} 
[2026-07-27 19:12:38] local.INFO: Processing buffer {"connection_id":144228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3cf2710012da7aa8005e00188001a015a29..."} 
[2026-07-27 19:12:38] local.INFO: Packet analysis {"connection_id":144228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3cf"} 
[2026-07-27 19:12:38] local.INFO: Extracted packet for processing {"connection_id":144228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3cf"} 
[2026-07-27 19:12:38] local.INFO: GPS Element Parsed {"raw_longitude":765962880,"raw_latitude":98566536,"longitude_deg":76.596288,"latitude_deg":9.8566536,"altitude":26,"angle":346,"satellites":41,"speed":42,"hex_longitude":"2da7aa80","hex_latitude":"05e00188","is_valid_coordinates":true} 
[2026-07-27 19:12:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:12:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000878336001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:12:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359259510205841408,"note":"Value kept but may cause issues"} 
[2026-07-27 19:12:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6362671454569396224,"note":"Value kept but may cause issues"} 
[2026-07-27 19:12:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:12:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785159690000,"timestamp_ms":1785159690000,"timestamp_seconds":1785159690,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3cf2710"} 
[2026-07-27 19:12:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:12:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:12:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-27 19:12:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:12:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:12:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:12:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:12:38] local.INFO: Teltonika packet parsed successfully {"connection_id":144228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:12:38] local.INFO: Passing IMEI to GPS processor {"connection_id":144228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:12:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":144228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:12:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:12:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 19:12:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 19:12:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000878336001,"66":27213,"71":206,"88":19968,"24":42,"16":359259510205841408,"45":-6362671454569396224},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,88,24,16,45]} 
[2026-07-27 19:12:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 19:12:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 19:12:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000878336001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:12:38] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-27 19:12:38] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 19:12:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359259510205841408,"km_value":359259510205841.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:12:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6362671454569396224,"description":"Unknown IO ID 45"} 
[2026-07-27 19:12:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000878336001,"power":27213,"unknown_71":206,"unknown_88":19968,"ignition":42,"odometer":null,"unknown_45":-6362671454569396224}} 
[2026-07-27 19:12:38] local.INFO: DEBUG: GPS processor result {"connection_id":144228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:12:38] local.INFO: GPS data processed {"connection_id":144228,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:12:38] local.INFO: Acknowledgment sent {"connection_id":144228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:12:59] local.INFO: TCP Data received {"connection_id":144229,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144229,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:12:59] local.INFO: Processing buffer {"connection_id":144229,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:12:59] local.INFO: IMEI packet received {"connection_id":144229,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 19:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":144229,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:13:04] local.INFO: TCP Data received {"connection_id":144229,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144229,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:13:04] local.INFO: Processing buffer {"connection_id":144229,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:13:04] local.INFO: IMEI packet received {"connection_id":144229,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 19:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":144229,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:13:06] local.INFO: TCP Data received {"connection_id":144229,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3ccdd20012d1967c0071fee200046011624..."} 
[2026-07-27 19:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3ccdd20012d1967c0071fee200046011624..."} 
[2026-07-27 19:13:06] local.INFO: Processing buffer {"connection_id":144229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3ccdd20012d1967c0071fee200046011624..."} 
[2026-07-27 19:13:06] local.INFO: Packet analysis {"connection_id":144229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3cc"} 
[2026-07-27 19:13:06] local.INFO: Extracted packet for processing {"connection_id":144229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3cc"} 
[2026-07-27 19:13:06] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":36,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 19:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:13:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000836864001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:13:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 19:13:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 19:13:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:13:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785159540000,"timestamp_ms":1785159540000,"timestamp_seconds":1785159540,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3ccdd20"} 
[2026-07-27 19:13:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:13:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 19:13:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:13:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:13:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:13:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:13:06] local.INFO: Teltonika packet parsed successfully {"connection_id":144229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:13:06] local.INFO: Passing IMEI to GPS processor {"connection_id":144229,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:13:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":144229,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:13:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:13:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 19:13:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 19:13:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000836864001,"66":12341,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 19:13:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 19:13:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 19:13:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000836864001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:13:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 19:13:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 19:13:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:13:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 19:13:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000836864001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 19:13:06] local.INFO: DEBUG: GPS processor result {"connection_id":144229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555002,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:13:06] local.INFO: GPS data processed {"connection_id":144229,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:13:06] local.INFO: Acknowledgment sent {"connection_id":144229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:13:09] local.INFO: TCP Data received {"connection_id":144228,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3cf4a38012da7a08005e02410001c014d29..."} 
[2026-07-27 19:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3cf4a38012da7a08005e02410001c014d29..."} 
[2026-07-27 19:13:09] local.INFO: Processing buffer {"connection_id":144228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3cf4a38012da7a08005e02410001c014d29..."} 
[2026-07-27 19:13:09] local.INFO: Packet analysis {"connection_id":144228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3cf"} 
[2026-07-27 19:13:09] local.INFO: Extracted packet for processing {"connection_id":144228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3cf"} 
[2026-07-27 19:13:09] local.INFO: GPS Element Parsed {"raw_longitude":765960320,"raw_latitude":98575376,"longitude_deg":76.596032,"latitude_deg":9.8575376,"altitude":28,"angle":333,"satellites":41,"speed":37,"hex_longitude":"2da7a080","hex_latitude":"05e02410","is_valid_coordinates":true} 
[2026-07-27 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-07-27 19:13:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000880640001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:13:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359259956882440192,"note":"Value kept but may cause issues"} 
[2026-07-27 19:13:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6365134360613386240,"note":"Value kept but may cause issues"} 
[2026-07-27 19:13:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:13:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785159699000,"timestamp_ms":1785159699000,"timestamp_seconds":1785159699,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3cf4a38"} 
[2026-07-27 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-07-27 19:13:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-27 19:13:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 19:13:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:13:09] local.INFO: Teltonika packet parsed successfully {"connection_id":144228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:13:09] local.INFO: Passing IMEI to GPS processor {"connection_id":144228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:13:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":144228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:13:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:13:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 19:13:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 19:13:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000880640001,"66":27463,"71":206,"88":19968,"24":37,"16":359259956882440192,"45":-6365134360613386240},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,88,24,16,45]} 
[2026-07-27 19:13:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 19:13:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 19:13:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000880640001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:13:09] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-27 19:13:09] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 19:13:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359259956882440192,"km_value":359259956882440.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:13:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6365134360613386240,"description":"Unknown IO ID 45"} 
[2026-07-27 19:13:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000880640001,"power":27463,"unknown_71":206,"unknown_88":19968,"ignition":37,"odometer":null,"unknown_45":-6365134360613386240}} 
[2026-07-27 19:13:09] local.INFO: DEBUG: GPS processor result {"connection_id":144228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:13:09] local.INFO: GPS data processed {"connection_id":144228,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:13:09] local.INFO: Acknowledgment sent {"connection_id":144228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:13:31] local.INFO: TCP Data received {"connection_id":144230,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:13:31] local.INFO: Processing buffer {"connection_id":144230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:13:31] local.INFO: IMEI packet received {"connection_id":144230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 19:13:31] local.INFO: IMEI acknowledgment sent {"connection_id":144230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:13:35] local.INFO: TCP Data received {"connection_id":144230,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:13:35] local.INFO: Processing buffer {"connection_id":144230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:13:35] local.INFO: IMEI packet received {"connection_id":144230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 19:13:35] local.INFO: IMEI acknowledgment sent {"connection_id":144230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:13:36] local.INFO: TCP Data received {"connection_id":144230,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:13:36] local.INFO: Processing buffer {"connection_id":144230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:13:36] local.INFO: IMEI packet received {"connection_id":144230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 19:13:36] local.INFO: IMEI acknowledgment sent {"connection_id":144230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:13:37] local.INFO: TCP Data received {"connection_id":144230,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3cf4a38012da7a08005e02410001c014d29..."} 
[2026-07-27 19:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3cf4a38012da7a08005e02410001c014d29..."} 
[2026-07-27 19:13:37] local.INFO: Processing buffer {"connection_id":144230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3cf4a38012da7a08005e02410001c014d29..."} 
[2026-07-27 19:13:37] local.INFO: Packet analysis {"connection_id":144230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3cf"} 
[2026-07-27 19:13:37] local.INFO: Extracted packet for processing {"connection_id":144230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3cf"} 
[2026-07-27 19:13:37] local.INFO: GPS Element Parsed {"raw_longitude":765960320,"raw_latitude":98575376,"longitude_deg":76.596032,"latitude_deg":9.8575376,"altitude":28,"angle":333,"satellites":41,"speed":37,"hex_longitude":"2da7a080","hex_latitude":"05e02410","is_valid_coordinates":true} 
[2026-07-27 19:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:13:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000882944001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:13:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359259956882440192,"note":"Value kept but may cause issues"} 
[2026-07-27 19:13:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6367949110378229760,"note":"Value kept but may cause issues"} 
[2026-07-27 19:13:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:13:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785159699000,"timestamp_ms":1785159699000,"timestamp_seconds":1785159699,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3cf4a38"} 
[2026-07-27 19:13:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:13:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-27 19:13:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:13:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:13:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:13:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:13:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:13:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:13:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:13:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:13:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 19:13:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 19:13:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000882944001,"66":27463,"71":206,"88":19968,"24":37,"16":359259956882440192,"45":-6367949110378229760},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,88,24,16,45]} 
[2026-07-27 19:13:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 19:13:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 19:13:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000882944001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:13:37] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-27 19:13:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 19:13:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359259956882440192,"km_value":359259956882440.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:13:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6367949110378229760,"description":"Unknown IO ID 45"} 
[2026-07-27 19:13:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000882944001,"power":27463,"unknown_71":206,"unknown_88":19968,"ignition":37,"odometer":null,"unknown_45":-6367949110378229760}} 
[2026-07-27 19:13:37] local.INFO: DEBUG: GPS processor result {"connection_id":144230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:13:37] local.INFO: GPS data processed {"connection_id":144230,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:13:37] local.INFO: Acknowledgment sent {"connection_id":144230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:13:40] local.INFO: TCP Data received {"connection_id":144230,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3cf59d8012da7990005e02fc8001d014027..."} 
[2026-07-27 19:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3cf59d8012da7990005e02fc8001d014027..."} 
[2026-07-27 19:13:40] local.INFO: Processing buffer {"connection_id":144230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3cf59d8012da7990005e02fc8001d014027..."} 
[2026-07-27 19:13:40] local.INFO: Packet analysis {"connection_id":144230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3cf"} 
[2026-07-27 19:13:40] local.INFO: Extracted packet for processing {"connection_id":144230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3cf"} 
[2026-07-27 19:13:40] local.INFO: GPS Element Parsed {"raw_longitude":765958400,"raw_latitude":98578376,"longitude_deg":76.59584,"latitude_deg":9.8578376,"altitude":29,"angle":320,"satellites":39,"speed":34,"hex_longitude":"2da79900","hex_latitude":"05e02fc8","is_valid_coordinates":true} 
[2026-07-27 19: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-07-27 19:13:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000882944001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:13:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359260128681132032,"note":"Value kept but may cause issues"} 
[2026-07-27 19:13:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6367949110378229760,"note":"Value kept but may cause issues"} 
[2026-07-27 19:13:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:13:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785159703000,"timestamp_ms":1785159703000,"timestamp_seconds":1785159703,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3cf59d8"} 
[2026-07-27 19:13:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:13:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-27 19:13:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19: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-07-27 19:13:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:13:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:13:40] local.INFO: Teltonika packet parsed successfully {"connection_id":144230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:13:40] local.INFO: Passing IMEI to GPS processor {"connection_id":144230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:13:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":144230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:13: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-07-27 19:13:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 19:13:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 19:13:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000882944001,"66":27539,"71":206,"88":19968,"24":34,"16":359260128681132032,"45":-6367949110378229760},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,88,24,16,45]} 
[2026-07-27 19:13:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 19:13:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 19:13:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000882944001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:13:40] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-27 19:13:40] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 19:13:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359260128681132032,"km_value":359260128681132.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:13:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6367949110378229760,"description":"Unknown IO ID 45"} 
[2026-07-27 19:13:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000882944001,"power":27539,"unknown_71":206,"unknown_88":19968,"ignition":34,"odometer":null,"unknown_45":-6367949110378229760}} 
[2026-07-27 19:13:40] local.INFO: DEBUG: GPS processor result {"connection_id":144230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:13:40] local.INFO: GPS data processed {"connection_id":144230,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:13:40] local.INFO: Acknowledgment sent {"connection_id":144230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:13:42] local.INFO: TCP Data received {"connection_id":144229,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3cd2f28012d1967c0071fee200046011622..."} 
[2026-07-27 19:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3cd2f28012d1967c0071fee200046011622..."} 
[2026-07-27 19:13:42] local.INFO: Processing buffer {"connection_id":144229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3cd2f28012d1967c0071fee200046011622..."} 
[2026-07-27 19:13:42] local.INFO: Packet analysis {"connection_id":144229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3cd"} 
[2026-07-27 19:13:42] local.INFO: Extracted packet for processing {"connection_id":144229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3cd"} 
[2026-07-27 19:13:42] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533088,"longitude_deg":75.663968,"latitude_deg":11.9533088,"altitude":70,"angle":278,"satellites":34,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 19:13:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:13:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000842240001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:13:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970503054163968,"note":"Value kept but may cause issues"} 
[2026-07-27 19:13:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382399488,"note":"Value kept but may cause issues"} 
[2026-07-27 19:13:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:13:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785159561000,"timestamp_ms":1785159561000,"timestamp_seconds":1785159561,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3cd2f28"} 
[2026-07-27 19:13:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:13:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:13:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 19:13:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:13:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:13:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:13:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:13:42] local.INFO: Teltonika packet parsed successfully {"connection_id":144229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:13:42] local.INFO: Passing IMEI to GPS processor {"connection_id":144229,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:13:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":144229,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:13:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:13:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 19:13:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 19:13:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000842240001,"66":12341,"121":206,"28":31744,"24":0,"16":8970503054163968,"45":1830642910382399488},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 19:13:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 19:13:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 19:13:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000842240001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:13:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 19:13:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 19:13:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970503054163968,"km_value":8970503054163.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:13:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382399488,"description":"Unknown IO ID 45"} 
[2026-07-27 19:13:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000842240001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382399488}} 
[2026-07-27 19:13:42] local.INFO: DEBUG: GPS processor result {"connection_id":144229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555006,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:13:42] local.INFO: GPS data processed {"connection_id":144229,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:13:42] local.INFO: Acknowledgment sent {"connection_id":144229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:14:11] local.INFO: TCP Data received {"connection_id":144230,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3cf61a8012da7944005e03480001d013427..."} 
[2026-07-27 19:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3cf61a8012da7944005e03480001d013427..."} 
[2026-07-27 19:14:11] local.INFO: Processing buffer {"connection_id":144230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3cf61a8012da7944005e03480001d013427..."} 
[2026-07-27 19:14:11] local.INFO: Packet analysis {"connection_id":144230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3cf"} 
[2026-07-27 19:14:11] local.INFO: Extracted packet for processing {"connection_id":144230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3cf"} 
[2026-07-27 19:14:11] local.INFO: GPS Element Parsed {"raw_longitude":765957184,"raw_latitude":98579584,"longitude_deg":76.5957184,"latitude_deg":9.8579584,"altitude":29,"angle":308,"satellites":39,"speed":33,"hex_longitude":"2da79440","hex_latitude":"05e03480","is_valid_coordinates":true} 
[2026-07-27 19: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-07-27 19:14:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000883968001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:14:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359260210285510656,"note":"Value kept but may cause issues"} 
[2026-07-27 19:14:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6370060172702791680,"note":"Value kept but may cause issues"} 
[2026-07-27 19:14:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:14:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785159705000,"timestamp_ms":1785159705000,"timestamp_seconds":1785159705,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3cf61a8"} 
[2026-07-27 19:14:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:14:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19: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":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-07-27 19:14:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2056,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19: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-07-27 19:14:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:14:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:14:11] local.INFO: Teltonika packet parsed successfully {"connection_id":144230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:14:11] local.INFO: Passing IMEI to GPS processor {"connection_id":144230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:14:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":144230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:14: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-07-27 19:14:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 19:14:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 19:14:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000883968001,"66":27104,"71":206,"88":19968,"24":33,"16":359260210285510656,"45":-6370060172702791680},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,88,24,16,45]} 
[2026-07-27 19:14:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 19:14:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 19:14:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000883968001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:14:11] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-27 19:14:11] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 19:14:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359260210285510656,"km_value":359260210285510.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:14:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6370060172702791680,"description":"Unknown IO ID 45"} 
[2026-07-27 19:14:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000883968001,"power":27104,"unknown_71":206,"unknown_88":19968,"ignition":33,"odometer":null,"unknown_45":-6370060172702791680}} 
[2026-07-27 19:14:11] local.INFO: DEBUG: GPS processor result {"connection_id":144230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:14:11] local.INFO: GPS data processed {"connection_id":144230,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:14:11] local.INFO: Acknowledgment sent {"connection_id":144230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:14:21] local.INFO: TCP Data received {"connection_id":143103,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143103,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:14:21] local.INFO: Processing buffer {"connection_id":143103,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:14:21] local.INFO: IMEI packet received {"connection_id":143103,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 19:14:21] local.INFO: IMEI acknowledgment sent {"connection_id":143103,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:14:22] local.INFO: TCP Data received {"connection_id":143103,"ip":"117.225.227.158","data_length":51,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-27 19:14:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143103,"packet_length":51,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-27 19:14:22] local.INFO: Processing buffer {"connection_id":143103,"buffer_length":51,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-27 19:14:22] local.INFO: IMEI packet received {"connection_id":143103,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 19:14:22] local.INFO: IMEI acknowledgment sent {"connection_id":143103,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:14:31] local.INFO: TCP Data received {"connection_id":144231,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:14:31] local.INFO: Processing buffer {"connection_id":144231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:14:31] local.INFO: IMEI packet received {"connection_id":144231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 19:14:31] local.INFO: IMEI acknowledgment sent {"connection_id":144231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:14:36] local.INFO: TCP Data received {"connection_id":144231,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:14:36] local.INFO: Processing buffer {"connection_id":144231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:14:36] local.INFO: IMEI packet received {"connection_id":144231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 19:14:36] local.INFO: IMEI acknowledgment sent {"connection_id":144231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:14:37] local.INFO: TCP Data received {"connection_id":144231,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3d11728012da760c005e09e88002400222c..."} 
[2026-07-27 19:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3d11728012da760c005e09e88002400222c..."} 
[2026-07-27 19:14:37] local.INFO: Processing buffer {"connection_id":144231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3d11728012da760c005e09e88002400222c..."} 
[2026-07-27 19:14:37] local.INFO: Packet analysis {"connection_id":144231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3d1"} 
[2026-07-27 19:14:37] local.INFO: Extracted packet for processing {"connection_id":144231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3d1"} 
[2026-07-27 19:14:37] local.INFO: GPS Element Parsed {"raw_longitude":765944000,"raw_latitude":98606728,"longitude_deg":76.5944,"latitude_deg":9.8606728,"altitude":36,"angle":34,"satellites":44,"speed":27,"hex_longitude":"2da760c0","hex_latitude":"05e09e88","is_valid_coordinates":true} 
[2026-07-27 19:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:14:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000912128001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:14:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359261992696938496,"note":"Value kept but may cause issues"} 
[2026-07-27 19:14:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6387230146275491840,"note":"Value kept but may cause issues"} 
[2026-07-27 19:14:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:14:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785159817000,"timestamp_ms":1785159817000,"timestamp_seconds":1785159817,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3d11728"} 
[2026-07-27 19:14:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:14:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-27 19:14:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:14:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:14:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:14:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:14:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:14:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:14:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:14:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:14:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 19:14:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 19:14:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000912128001,"66":27463,"102":206,"88":19968,"24":27,"16":359261992696938496,"45":-6387230146275491840},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,88,24,16,45]} 
[2026-07-27 19:14:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 19:14:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 19:14:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000912128001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:14:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-27 19:14:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 19:14:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359261992696938496,"km_value":359261992696938.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:14:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6387230146275491840,"description":"Unknown IO ID 45"} 
[2026-07-27 19:14:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000912128001,"power":27463,"unknown_102":206,"unknown_88":19968,"ignition":27,"odometer":null,"unknown_45":-6387230146275491840}} 
[2026-07-27 19:14:37] local.INFO: DEBUG: GPS processor result {"connection_id":144231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:14:37] local.INFO: GPS data processed {"connection_id":144231,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:14:37] local.INFO: Acknowledgment sent {"connection_id":144231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:15:08] local.INFO: TCP Data received {"connection_id":144231,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3d12ab0012da7694005e0a8b8002300312c..."} 
[2026-07-27 19:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3d12ab0012da7694005e0a8b8002300312c..."} 
[2026-07-27 19:15:08] local.INFO: Processing buffer {"connection_id":144231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3d12ab0012da7694005e0a8b8002300312c..."} 
[2026-07-27 19:15:08] local.INFO: Packet analysis {"connection_id":144231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3d1"} 
[2026-07-27 19:15:08] local.INFO: Extracted packet for processing {"connection_id":144231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3d1"} 
[2026-07-27 19:15:08] local.INFO: GPS Element Parsed {"raw_longitude":765946176,"raw_latitude":98609336,"longitude_deg":76.5946176,"latitude_deg":9.8609336,"altitude":35,"angle":49,"satellites":44,"speed":27,"hex_longitude":"2da76940","hex_latitude":"05e0a8b8","is_valid_coordinates":true} 
[2026-07-27 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-07-27 19:15:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000913152001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:15:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359262155905695744,"note":"Value kept but may cause issues"} 
[2026-07-27 19:15:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6385893140135507968,"note":"Value kept but may cause issues"} 
[2026-07-27 19:15:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:15:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785159822000,"timestamp_ms":1785159822000,"timestamp_seconds":1785159822,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3d12ab0"} 
[2026-07-27 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-07-27 19:15:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-27 19:15:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 19:15:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:15:08] local.INFO: Teltonika packet parsed successfully {"connection_id":144231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:15:08] local.INFO: Passing IMEI to GPS processor {"connection_id":144231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:15:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":144231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:15:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:15:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 19:15:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 19:15:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000913152001,"66":27376,"102":206,"88":19968,"24":27,"16":359262155905695744,"45":-6385893140135507968},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,88,24,16,45]} 
[2026-07-27 19:15:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 19:15:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 19:15:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000913152001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:15:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-27 19:15:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 19:15:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359262155905695744,"km_value":359262155905695.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:15:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6385893140135507968,"description":"Unknown IO ID 45"} 
[2026-07-27 19:15:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000913152001,"power":27376,"unknown_102":206,"unknown_88":19968,"ignition":27,"odometer":null,"unknown_45":-6385893140135507968}} 
[2026-07-27 19:15:08] local.INFO: DEBUG: GPS processor result {"connection_id":144231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:15:08] local.INFO: GPS data processed {"connection_id":144231,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:15:08] local.INFO: Acknowledgment sent {"connection_id":144231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:15:31] local.INFO: TCP Data received {"connection_id":145512,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:15:31] local.INFO: Processing buffer {"connection_id":145512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:15:31] local.INFO: IMEI packet received {"connection_id":145512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 19:15:31] local.INFO: IMEI acknowledgment sent {"connection_id":145512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:15:32] local.INFO: TCP Data received {"connection_id":145512,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:15:32] local.INFO: Processing buffer {"connection_id":145512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:15:32] local.INFO: IMEI packet received {"connection_id":145512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 19:15:32] local.INFO: IMEI acknowledgment sent {"connection_id":145512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:15:34] local.INFO: TCP Data received {"connection_id":145512,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:15:34] local.INFO: Processing buffer {"connection_id":145512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:15:34] local.INFO: IMEI packet received {"connection_id":145512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 19:15:34] local.INFO: IMEI acknowledgment sent {"connection_id":145512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:15:36] local.INFO: TCP Data received {"connection_id":145512,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:15:36] local.INFO: Processing buffer {"connection_id":145512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:15:36] local.INFO: IMEI packet received {"connection_id":145512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 19:15:36] local.INFO: IMEI acknowledgment sent {"connection_id":145512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:15:37] local.INFO: TCP Data received {"connection_id":145512,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3d13e38012da7720005e0aec80023003d2b..."} 
[2026-07-27 19:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145512,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3d13e38012da7720005e0aec80023003d2b..."} 
[2026-07-27 19:15:37] local.INFO: Processing buffer {"connection_id":145512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3d13e38012da7720005e0aec80023003d2b..."} 
[2026-07-27 19:15:37] local.INFO: Packet analysis {"connection_id":145512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3d1"} 
[2026-07-27 19:15:37] local.INFO: Extracted packet for processing {"connection_id":145512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3d1"} 
[2026-07-27 19:15:37] local.INFO: GPS Element Parsed {"raw_longitude":765948416,"raw_latitude":98610888,"longitude_deg":76.5948416,"latitude_deg":9.8610888,"altitude":35,"angle":61,"satellites":43,"speed":11,"hex_longitude":"2da77200","hex_latitude":"05e0aec8","is_valid_coordinates":true} 
[2026-07-27 19:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000914432001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359262289049681920,"note":"Value kept but may cause issues"} 
[2026-07-27 19:15:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6383500602832799744,"note":"Value kept but may cause issues"} 
[2026-07-27 19:15:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785159827000,"timestamp_ms":1785159827000,"timestamp_seconds":1785159827,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3d13e38"} 
[2026-07-27 19:15:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:15:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-27 19:15:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:15:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:15:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:15:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 19:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 19:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000914432001,"66":27397,"102":206,"88":19968,"24":11,"16":359262289049681920,"45":-6383500602832799744},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,88,24,16,45]} 
[2026-07-27 19:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 19:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 19:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000914432001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:15:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-27 19:15:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 19:15:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359262289049681920,"km_value":359262289049681.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:15:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6383500602832799744,"description":"Unknown IO ID 45"} 
[2026-07-27 19:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000914432001,"power":27397,"unknown_102":206,"unknown_88":19968,"ignition":11,"odometer":null,"unknown_45":-6383500602832799744}} 
[2026-07-27 19:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":145512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:15:37] local.INFO: GPS data processed {"connection_id":145512,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:15:37] local.INFO: Acknowledgment sent {"connection_id":145512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:16:07] local.INFO: TCP Data received {"connection_id":145512,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3d276b8012da7ba8005e15340001e00092e..."} 
[2026-07-27 19:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145512,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3d276b8012da7ba8005e15340001e00092e..."} 
[2026-07-27 19:16:07] local.INFO: Processing buffer {"connection_id":145512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3d276b8012da7ba8005e15340001e00092e..."} 
[2026-07-27 19:16:07] local.INFO: Packet analysis {"connection_id":145512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3d2"} 
[2026-07-27 19:16:07] local.INFO: Extracted packet for processing {"connection_id":145512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3d2"} 
[2026-07-27 19:16:07] local.INFO: GPS Element Parsed {"raw_longitude":765966976,"raw_latitude":98652992,"longitude_deg":76.5966976,"latitude_deg":9.8652992,"altitude":30,"angle":9,"satellites":46,"speed":30,"hex_longitude":"2da7ba80","hex_latitude":"05e15340","is_valid_coordinates":true} 
[2026-07-27 19:16:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:16:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000933376001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:16:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359264681346465792,"note":"Value kept but may cause issues"} 
[2026-07-27 19:16:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6359434492314996736,"note":"Value kept but may cause issues"} 
[2026-07-27 19:16:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,54,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:16:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785159907000,"timestamp_ms":1785159907000,"timestamp_seconds":1785159907,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3d276b8"} 
[2026-07-27 19:16:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:16:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:16:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-27 19:16:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:16:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:16:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:16:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:16:07] local.INFO: Teltonika packet parsed successfully {"connection_id":145512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:16:07] local.INFO: Passing IMEI to GPS processor {"connection_id":145512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:16:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":145512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:16:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:16:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 19:16:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 19:16:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000933376001,"66":27321,"54":206,"88":19968,"24":30,"16":359264681346465792,"45":-6359434492314996736},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,88,24,16,45]} 
[2026-07-27 19:16:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 19:16:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 19:16:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000933376001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:16:07] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-07-27 19:16:07] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 19:16:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359264681346465792,"km_value":359264681346465.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:16:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6359434492314996736,"description":"Unknown IO ID 45"} 
[2026-07-27 19:16:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000933376001,"power":27321,"unknown_54":206,"unknown_88":19968,"ignition":30,"odometer":null,"unknown_45":-6359434492314996736}} 
[2026-07-27 19:16:07] local.INFO: DEBUG: GPS processor result {"connection_id":145512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:16:07] local.INFO: GPS data processed {"connection_id":145512,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:16:07] local.INFO: Acknowledgment sent {"connection_id":145512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:16:34] local.INFO: TCP Data received {"connection_id":143105,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:16:34] local.INFO: Processing buffer {"connection_id":143105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:16:34] local.INFO: IMEI packet received {"connection_id":143105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 19:16:34] local.INFO: IMEI acknowledgment sent {"connection_id":143105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:16:36] local.INFO: TCP Data received {"connection_id":143105,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:16:36] local.INFO: Processing buffer {"connection_id":143105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:16:36] local.INFO: IMEI packet received {"connection_id":143105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 19:16:36] local.INFO: IMEI acknowledgment sent {"connection_id":143105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:16:37] local.INFO: TCP Data received {"connection_id":143105,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:16:37] local.INFO: Processing buffer {"connection_id":143105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:16:37] local.INFO: IMEI packet received {"connection_id":143105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 19:16:37] local.INFO: IMEI acknowledgment sent {"connection_id":143105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:16:41] local.INFO: TCP Data received {"connection_id":143105,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:16:41] local.INFO: Processing buffer {"connection_id":143105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:16:41] local.INFO: IMEI packet received {"connection_id":143105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 19:16:41] local.INFO: IMEI acknowledgment sent {"connection_id":143105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:16:42] local.INFO: TCP Data received {"connection_id":143105,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3d2a1b0012da7c0c005e17828001e000a2d..."} 
[2026-07-27 19:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143105,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3d2a1b0012da7c0c005e17828001e000a2d..."} 
[2026-07-27 19:16:42] local.INFO: Processing buffer {"connection_id":143105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3d2a1b0012da7c0c005e17828001e000a2d..."} 
[2026-07-27 19:16:42] local.INFO: Packet analysis {"connection_id":143105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3d2"} 
[2026-07-27 19:16:42] local.INFO: Extracted packet for processing {"connection_id":143105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3d2"} 
[2026-07-27 19:16:42] local.INFO: GPS Element Parsed {"raw_longitude":765968576,"raw_latitude":98662440,"longitude_deg":76.5968576,"latitude_deg":9.866244,"altitude":30,"angle":10,"satellites":45,"speed":35,"hex_longitude":"2da7c0c0","hex_latitude":"05e17828","is_valid_coordinates":true} 
[2026-07-27 19:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:16:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000936192001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:16:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359265145202933760,"note":"Value kept but may cause issues"} 
[2026-07-27 19:16:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6360630760963883008,"note":"Value kept but may cause issues"} 
[2026-07-27 19:16:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,54,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:16:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785159918000,"timestamp_ms":1785159918000,"timestamp_seconds":1785159918,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3d2a1b0"} 
[2026-07-27 19:16:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:16:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-27 19:16:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:16:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:16:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:16:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:16:42] local.INFO: Teltonika packet parsed successfully {"connection_id":143105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:16:42] local.INFO: Passing IMEI to GPS processor {"connection_id":143105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:16:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":143105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:16:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:16:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 19:16:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 19:16:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000936192001,"66":27397,"54":206,"88":19968,"24":35,"16":359265145202933760,"45":-6360630760963883008},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,88,24,16,45]} 
[2026-07-27 19:16:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 19:16:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 19:16:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000936192001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:16:42] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-07-27 19:16:42] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 19:16:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359265145202933760,"km_value":359265145202933.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:16:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6360630760963883008,"description":"Unknown IO ID 45"} 
[2026-07-27 19:16:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000936192001,"power":27397,"unknown_54":206,"unknown_88":19968,"ignition":35,"odometer":null,"unknown_45":-6360630760963883008}} 
[2026-07-27 19:16:42] local.INFO: DEBUG: GPS processor result {"connection_id":143105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:16:42] local.INFO: GPS data processed {"connection_id":143105,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:16:42] local.INFO: Acknowledgment sent {"connection_id":143105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:16:43] local.INFO: TCP Data received {"connection_id":143105,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3d2bd08012da7c30005e19080001f016629..."} 
[2026-07-27 19:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143105,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3d2bd08012da7c30005e19080001f016629..."} 
[2026-07-27 19:16:43] local.INFO: Processing buffer {"connection_id":143105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3d2bd08012da7c30005e19080001f016629..."} 
[2026-07-27 19:16:43] local.INFO: Packet analysis {"connection_id":143105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3d2"} 
[2026-07-27 19:16:43] local.INFO: Extracted packet for processing {"connection_id":143105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3d2"} 
[2026-07-27 19:16:43] local.INFO: GPS Element Parsed {"raw_longitude":765969152,"raw_latitude":98668672,"longitude_deg":76.5969152,"latitude_deg":9.8668672,"altitude":31,"angle":358,"satellites":41,"speed":35,"hex_longitude":"2da7c300","hex_latitude":"05e19080","is_valid_coordinates":true} 
[2026-07-27 19:16:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:16:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000939008001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:16:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359265450145611776,"note":"Value kept but may cause issues"} 
[2026-07-27 19:16:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6358871542357022720,"note":"Value kept but may cause issues"} 
[2026-07-27 19:16:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,54,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:16:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785159925000,"timestamp_ms":1785159925000,"timestamp_seconds":1785159925,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3d2bd08"} 
[2026-07-27 19:16:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:16:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-27 19:16:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:16:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:16:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:16:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:16:43] local.INFO: Teltonika packet parsed successfully {"connection_id":143105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:16:43] local.INFO: Passing IMEI to GPS processor {"connection_id":143105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:16:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":143105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:16:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:16:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 19:16:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 19:16:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000939008001,"66":27397,"54":206,"88":19968,"24":35,"16":359265450145611776,"45":-6358871542357022720},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,88,24,16,45]} 
[2026-07-27 19:16:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 19:16:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 19:16:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000939008001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:16:43] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-07-27 19:16:43] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 19:16:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359265450145611776,"km_value":359265450145611.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:16:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6358871542357022720,"description":"Unknown IO ID 45"} 
[2026-07-27 19:16:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000939008001,"power":27397,"unknown_54":206,"unknown_88":19968,"ignition":35,"odometer":null,"unknown_45":-6358871542357022720}} 
[2026-07-27 19:16:43] local.INFO: DEBUG: GPS processor result {"connection_id":143105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:16:43] local.INFO: GPS data processed {"connection_id":143105,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:16:43] local.INFO: Acknowledgment sent {"connection_id":143105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:16:45] local.INFO: TCP Data received {"connection_id":143105,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3d2e418012da7be8005e1b560001f016528..."} 
[2026-07-27 19:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143105,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3d2e418012da7be8005e1b560001f016528..."} 
[2026-07-27 19:16:45] local.INFO: Processing buffer {"connection_id":143105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3d2e418012da7be8005e1b560001f016528..."} 
[2026-07-27 19:16:45] local.INFO: Packet analysis {"connection_id":143105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3d2"} 
[2026-07-27 19:16:45] local.INFO: Extracted packet for processing {"connection_id":143105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3d2"} 
[2026-07-27 19:16:45] local.INFO: GPS Element Parsed {"raw_longitude":765968000,"raw_latitude":98678112,"longitude_deg":76.5968,"latitude_deg":9.8678112,"altitude":31,"angle":357,"satellites":40,"speed":39,"hex_longitude":"2da7be80","hex_latitude":"05e1b560","is_valid_coordinates":true} 
[2026-07-27 19: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-07-27 19:16:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000940800001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:16:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359265914002079744,"note":"Value kept but may cause issues"} 
[2026-07-27 19:16:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6358238223657828352,"note":"Value kept but may cause issues"} 
[2026-07-27 19:16:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,54,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:16:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785159935000,"timestamp_ms":1785159935000,"timestamp_seconds":1785159935,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3d2e418"} 
[2026-07-27 19:16:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:16:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-27 19:16:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19: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-07-27 19:16:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:16:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:16:45] local.INFO: Teltonika packet parsed successfully {"connection_id":143105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:16:45] local.INFO: Passing IMEI to GPS processor {"connection_id":143105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:16:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":143105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:16:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:16:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 19:16:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 19:16:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000940800001,"66":27376,"54":206,"88":19968,"24":39,"16":359265914002079744,"45":-6358238223657828352},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,88,24,16,45]} 
[2026-07-27 19:16:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 19:16:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 19:16:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000940800001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:16:45] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-07-27 19:16:45] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 19:16:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359265914002079744,"km_value":359265914002079.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:16:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6358238223657828352,"description":"Unknown IO ID 45"} 
[2026-07-27 19:16:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000940800001,"power":27376,"unknown_54":206,"unknown_88":19968,"ignition":39,"odometer":null,"unknown_45":-6358238223657828352}} 
[2026-07-27 19:16:46] local.INFO: DEBUG: GPS processor result {"connection_id":143105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:16:46] local.INFO: GPS data processed {"connection_id":143105,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:16:46] local.INFO: Acknowledgment sent {"connection_id":143105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:17:17] local.INFO: TCP Data received {"connection_id":143105,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3d30358012da7bb8005e1d4400020015927..."} 
[2026-07-27 19:17:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143105,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3d30358012da7bb8005e1d4400020015927..."} 
[2026-07-27 19:17:17] local.INFO: Processing buffer {"connection_id":143105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3d30358012da7bb8005e1d4400020015927..."} 
[2026-07-27 19:17:17] local.INFO: Packet analysis {"connection_id":143105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3d3"} 
[2026-07-27 19:17:17] local.INFO: Extracted packet for processing {"connection_id":143105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3d3"} 
[2026-07-27 19:17:17] local.INFO: GPS Element Parsed {"raw_longitude":765967232,"raw_latitude":98686016,"longitude_deg":76.5967232,"latitude_deg":9.8686016,"altitude":32,"angle":345,"satellites":39,"speed":36,"hex_longitude":"2da7bb80","hex_latitude":"05e1d440","is_valid_coordinates":true} 
[2026-07-27 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-07-27 19:17:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000943360001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:17:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359266300549136384,"note":"Value kept but may cause issues"} 
[2026-07-27 19:17:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6359504861050609664,"note":"Value kept but may cause issues"} 
[2026-07-27 19:17:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,54,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:17:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785159943000,"timestamp_ms":1785159943000,"timestamp_seconds":1785159943,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3d30358"} 
[2026-07-27 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-07-27 19:17:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-27 19:17:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 19:17:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:17:17] local.INFO: Teltonika packet parsed successfully {"connection_id":143105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:17:17] local.INFO: Passing IMEI to GPS processor {"connection_id":143105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:17:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":143105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:17:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:17:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 19:17:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 19:17:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000943360001,"66":27397,"54":206,"88":19968,"24":36,"16":359266300549136384,"45":-6359504861050609664},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,88,24,16,45]} 
[2026-07-27 19:17:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 19:17:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 19:17:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000943360001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:17:17] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-07-27 19:17:17] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 19:17:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359266300549136384,"km_value":359266300549136.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:17:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6359504861050609664,"description":"Unknown IO ID 45"} 
[2026-07-27 19:17:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000943360001,"power":27397,"unknown_54":206,"unknown_88":19968,"ignition":36,"odometer":null,"unknown_45":-6359504861050609664}} 
[2026-07-27 19:17:17] local.INFO: DEBUG: GPS processor result {"connection_id":143105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:17:17] local.INFO: GPS data processed {"connection_id":143105,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:17:17] local.INFO: Acknowledgment sent {"connection_id":143105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:17:31] local.INFO: TCP Data received {"connection_id":145514,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:17:31] local.INFO: Processing buffer {"connection_id":145514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:17:31] local.INFO: IMEI packet received {"connection_id":145514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 19:17:31] local.INFO: IMEI acknowledgment sent {"connection_id":145514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:17:37] local.INFO: TCP Data received {"connection_id":145514,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:17:37] local.INFO: Processing buffer {"connection_id":145514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:17:37] local.INFO: IMEI packet received {"connection_id":145514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 19:17:37] local.INFO: IMEI acknowledgment sent {"connection_id":145514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:17:38] local.INFO: TCP Data received {"connection_id":145514,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3d3e9d0012da7bc8005e28838002500132c..."} 
[2026-07-27 19:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3d3e9d0012da7bc8005e28838002500132c..."} 
[2026-07-27 19:17:38] local.INFO: Processing buffer {"connection_id":145514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3d3e9d0012da7bc8005e28838002500132c..."} 
[2026-07-27 19:17:38] local.INFO: Packet analysis {"connection_id":145514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3d3"} 
[2026-07-27 19:17:38] local.INFO: Extracted packet for processing {"connection_id":145514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3d3"} 
[2026-07-27 19:17:38] local.INFO: GPS Element Parsed {"raw_longitude":765967488,"raw_latitude":98732088,"longitude_deg":76.5967488,"latitude_deg":9.8732088,"altitude":37,"angle":19,"satellites":44,"speed":31,"hex_longitude":"2da7bc80","hex_latitude":"05e28838","is_valid_coordinates":true} 
[2026-07-27 19:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:17:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000960000001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:17:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359268718615724032,"note":"Value kept but may cause issues"} 
[2026-07-27 19:17:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6360912235920717824,"note":"Value kept but may cause issues"} 
[2026-07-27 19:17:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:17:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785160002000,"timestamp_ms":1785160002000,"timestamp_seconds":1785160002,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3d3e9d0"} 
[2026-07-27 19:17:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:17:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-27 19:17:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:17:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:17:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:17:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:17:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:17:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:17:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:17:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:17:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 19:17:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 19:17:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000960000001,"66":27365,"55":206,"88":19968,"24":31,"16":359268718615724032,"45":-6360912235920717824},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,88,24,16,45]} 
[2026-07-27 19:17:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 19:17:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 19:17:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000960000001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:17:38] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-07-27 19:17:38] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 19:17:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359268718615724032,"km_value":359268718615724.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:17:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6360912235920717824,"description":"Unknown IO ID 45"} 
[2026-07-27 19:17:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000960000001,"power":27365,"unknown_55":206,"unknown_88":19968,"ignition":31,"odometer":null,"unknown_45":-6360912235920717824}} 
[2026-07-27 19:17:38] local.INFO: DEBUG: GPS processor result {"connection_id":145514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:17:38] local.INFO: GPS data processed {"connection_id":145514,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:17:38] local.INFO: Acknowledgment sent {"connection_id":145514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:18:10] local.INFO: TCP Data received {"connection_id":145514,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3d3f1a0012da7be0005e28e38002500062c..."} 
[2026-07-27 19:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3d3f1a0012da7be0005e28e38002500062c..."} 
[2026-07-27 19:18:10] local.INFO: Processing buffer {"connection_id":145514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3d3f1a0012da7be0005e28e38002500062c..."} 
[2026-07-27 19:18:10] local.INFO: Packet analysis {"connection_id":145514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3d3"} 
[2026-07-27 19:18:10] local.INFO: Extracted packet for processing {"connection_id":145514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3d3"} 
[2026-07-27 19:18:10] local.INFO: GPS Element Parsed {"raw_longitude":765967872,"raw_latitude":98733624,"longitude_deg":76.5967872,"latitude_deg":9.8733624,"altitude":37,"angle":6,"satellites":44,"speed":31,"hex_longitude":"2da7be00","hex_latitude":"05e28e38","is_valid_coordinates":true} 
[2026-07-27 19:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:18:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000960512001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:18:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359268795925135360,"note":"Value kept but may cause issues"} 
[2026-07-27 19:18:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6360067810990213120,"note":"Value kept but may cause issues"} 
[2026-07-27 19:18:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:18:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785160004000,"timestamp_ms":1785160004000,"timestamp_seconds":1785160004,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3d3f1a0"} 
[2026-07-27 19:18:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:18:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-27 19:18:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:18:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:18:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:18:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:18:10] local.INFO: Teltonika packet parsed successfully {"connection_id":145514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:18:10] local.INFO: Passing IMEI to GPS processor {"connection_id":145514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:18:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":145514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:18:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:18:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 19:18:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 19:18:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000960512001,"66":27397,"55":206,"88":19968,"24":31,"16":359268795925135360,"45":-6360067810990213120},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,88,24,16,45]} 
[2026-07-27 19:18:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 19:18:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 19:18:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000960512001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:18:10] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-07-27 19:18:10] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 19:18:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359268795925135360,"km_value":359268795925135.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:18:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6360067810990213120,"description":"Unknown IO ID 45"} 
[2026-07-27 19:18:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000960512001,"power":27397,"unknown_55":206,"unknown_88":19968,"ignition":31,"odometer":null,"unknown_45":-6360067810990213120}} 
[2026-07-27 19:18:10] local.INFO: DEBUG: GPS processor result {"connection_id":145514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:18:10] local.INFO: GPS data processed {"connection_id":145514,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:18:10] local.INFO: Acknowledgment sent {"connection_id":145514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:18:30] local.INFO: TCP Data received {"connection_id":143245,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:18:30] local.INFO: Processing buffer {"connection_id":143245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:18:30] local.INFO: IMEI packet received {"connection_id":143245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 19:18:30] local.INFO: IMEI acknowledgment sent {"connection_id":143245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:18:31] local.INFO: TCP Data received {"connection_id":143245,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:18:31] local.INFO: Processing buffer {"connection_id":143245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:18:31] local.INFO: IMEI packet received {"connection_id":143245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 19:18:31] local.INFO: IMEI acknowledgment sent {"connection_id":143245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:18:34] local.INFO: TCP Data received {"connection_id":143245,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:18:34] local.INFO: Processing buffer {"connection_id":143245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:18:34] local.INFO: IMEI packet received {"connection_id":143245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 19:18:34] local.INFO: IMEI acknowledgment sent {"connection_id":143245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:18:35] local.INFO: TCP Data received {"connection_id":143245,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3d40140012da7be0005e29ac0002401612a..."} 
[2026-07-27 19:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143245,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3d40140012da7be0005e29ac0002401612a..."} 
[2026-07-27 19:18:35] local.INFO: Processing buffer {"connection_id":143245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3d40140012da7be0005e29ac0002401612a..."} 
[2026-07-27 19:18:35] local.INFO: Packet analysis {"connection_id":143245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3d4"} 
[2026-07-27 19:18:35] local.INFO: Extracted packet for processing {"connection_id":143245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3d4"} 
[2026-07-27 19:18:35] local.INFO: GPS Element Parsed {"raw_longitude":765967872,"raw_latitude":98736832,"longitude_deg":76.5967872,"latitude_deg":9.8736832,"altitude":36,"angle":353,"satellites":42,"speed":30,"hex_longitude":"2da7be00","hex_latitude":"05e29ac0","is_valid_coordinates":true} 
[2026-07-27 19:18:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:18:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000961024001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:18:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359268950543958016,"note":"Value kept but may cause issues"} 
[2026-07-27 19:18:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6359645598524753920,"note":"Value kept but may cause issues"} 
[2026-07-27 19:18:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:18:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785160008000,"timestamp_ms":1785160008000,"timestamp_seconds":1785160008,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3d40140"} 
[2026-07-27 19:18:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:18:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:18:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-27 19:18:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:18:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:18:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:18:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:18:35] local.INFO: Teltonika packet parsed successfully {"connection_id":143245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:18:35] local.INFO: Passing IMEI to GPS processor {"connection_id":143245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:18:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":143245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:18:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:18:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 19:18:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 19:18:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000961024001,"66":27365,"55":206,"88":19968,"24":30,"16":359268950543958016,"45":-6359645598524753920},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,88,24,16,45]} 
[2026-07-27 19:18:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 19:18:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 19:18:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000961024001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:18:35] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-07-27 19:18:35] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 19:18:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359268950543958016,"km_value":359268950543958.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:18:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6359645598524753920,"description":"Unknown IO ID 45"} 
[2026-07-27 19:18:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000961024001,"power":27365,"unknown_55":206,"unknown_88":19968,"ignition":30,"odometer":null,"unknown_45":-6359645598524753920}} 
[2026-07-27 19:18:35] local.INFO: DEBUG: GPS processor result {"connection_id":143245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:18:35] local.INFO: GPS data processed {"connection_id":143245,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:18:35] local.INFO: Acknowledgment sent {"connection_id":143245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:19:07] local.INFO: TCP Data received {"connection_id":143245,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3d54d48012da7788005e3bf200035015327..."} 
[2026-07-27 19:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143245,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3d54d48012da7788005e3bf200035015327..."} 
[2026-07-27 19:19:07] local.INFO: Processing buffer {"connection_id":143245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3d54d48012da7788005e3bf200035015327..."} 
[2026-07-27 19:19:07] local.INFO: Packet analysis {"connection_id":143245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3d5"} 
[2026-07-27 19:19:07] local.INFO: Extracted packet for processing {"connection_id":143245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3d5"} 
[2026-07-27 19:19:07] local.INFO: GPS Element Parsed {"raw_longitude":765950080,"raw_latitude":98811680,"longitude_deg":76.595008,"latitude_deg":9.881168,"altitude":53,"angle":339,"satellites":39,"speed":33,"hex_longitude":"2da77880","hex_latitude":"05e3bf20","is_valid_coordinates":true} 
[2026-07-27 19:19:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:19:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000982016001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:19:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359272721525243904,"note":"Value kept but may cause issues"} 
[2026-07-27 19:19:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6378011840736673792,"note":"Value kept but may cause issues"} 
[2026-07-27 19:19:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:19:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785160093000,"timestamp_ms":1785160093000,"timestamp_seconds":1785160093,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3d54d48"} 
[2026-07-27 19:19:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:19:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:19:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-27 19:19:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:19:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:19:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:19:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:19:07] local.INFO: Teltonika packet parsed successfully {"connection_id":143245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:19:07] local.INFO: Passing IMEI to GPS processor {"connection_id":143245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:19:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":143245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:19:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:19:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 19:19:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 19:19:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000982016001,"66":27463,"83":206,"88":19968,"24":33,"16":359272721525243904,"45":-6378011840736673792},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,88,24,16,45]} 
[2026-07-27 19:19:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 19:19:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 19:19:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000982016001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:19:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-07-27 19:19:07] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 19:19:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359272721525243904,"km_value":359272721525243.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:19:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6378011840736673792,"description":"Unknown IO ID 45"} 
[2026-07-27 19:19:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000982016001,"power":27463,"unknown_83":206,"unknown_88":19968,"ignition":33,"odometer":null,"unknown_45":-6378011840736673792}} 
[2026-07-27 19:19:07] local.INFO: DEBUG: GPS processor result {"connection_id":143245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:19:07] local.INFO: GPS data processed {"connection_id":143245,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:19:07] local.INFO: Acknowledgment sent {"connection_id":143245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:19:14] local.INFO: TCP Data received {"connection_id":143106,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143106,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:19:14] local.INFO: Processing buffer {"connection_id":143106,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:19:14] local.INFO: IMEI packet received {"connection_id":143106,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 19:19:14] local.INFO: IMEI acknowledgment sent {"connection_id":143106,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:19:15] local.INFO: TCP Data received {"connection_id":143106,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3d3a380012d1960c0071fef28003e012627..."} 
[2026-07-27 19:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3d3a380012d1960c0071fef28003e012627..."} 
[2026-07-27 19:19:15] local.INFO: Processing buffer {"connection_id":143106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3d3a380012d1960c0071fef28003e012627..."} 
[2026-07-27 19:19:15] local.INFO: Packet analysis {"connection_id":143106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3d3"} 
[2026-07-27 19:19:15] local.INFO: Extracted packet for processing {"connection_id":143106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3d3"} 
[2026-07-27 19:19:15] local.INFO: GPS Element Parsed {"raw_longitude":756637888,"raw_latitude":119533352,"longitude_deg":75.6637888,"latitude_deg":11.9533352,"altitude":62,"angle":294,"satellites":39,"speed":12,"hex_longitude":"2d1960c0","hex_latitude":"071fef28","is_valid_coordinates":true} 
[2026-07-27 19:19:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:19:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000955136001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:19:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8970593248477184,"note":"Value kept but may cause issues"} 
[2026-07-27 19:19:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219752960,"note":"Value kept but may cause issues"} 
[2026-07-27 19:19: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-07-27 19:19:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785159984000,"timestamp_ms":1785159984000,"timestamp_seconds":1785159984,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3d3a380"} 
[2026-07-27 19:19:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:19:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:19:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-27 19:19:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:19:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:19:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:19:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:19:15] local.INFO: Teltonika packet parsed successfully {"connection_id":143106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:19:15] local.INFO: Passing IMEI to GPS processor {"connection_id":143106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:19:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":143106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:19:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:19:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 19:19:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 19:19:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000955136001,"66":12667,"121":206,"28":31744,"24":12,"16":8970593248477184,"45":1829587379219752960},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 19:19:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 19:19:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 19:19:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000955136001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:19:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 19:19:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 19:19:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8970593248477184,"km_value":8970593248477.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:19:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219752960,"description":"Unknown IO ID 45"} 
[2026-07-27 19:19:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000955136001,"power":12667,"unknown_121":206,"unknown_28":31744,"ignition":12,"odometer":null,"unknown_45":1829587379219752960}} 
[2026-07-27 19:19:15] local.INFO: DEBUG: GPS processor result {"connection_id":143106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555020,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:19:15] local.INFO: GPS data processed {"connection_id":143106,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:19:15] local.INFO: Acknowledgment sent {"connection_id":143106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:19:31] local.INFO: TCP Data received {"connection_id":143107,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:19:31] local.INFO: Processing buffer {"connection_id":143107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:19:31] local.INFO: IMEI packet received {"connection_id":143107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 19:19:31] local.INFO: IMEI acknowledgment sent {"connection_id":143107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:19:36] local.INFO: TCP Data received {"connection_id":143107,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:19:36] local.INFO: Processing buffer {"connection_id":143107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:19:36] local.INFO: IMEI packet received {"connection_id":143107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 19:19:36] local.INFO: IMEI acknowledgment sent {"connection_id":143107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:19:37] local.INFO: TCP Data received {"connection_id":143107,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:19:37] local.INFO: Processing buffer {"connection_id":143107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:19:37] local.INFO: IMEI packet received {"connection_id":143107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 19:19:37] local.INFO: IMEI acknowledgment sent {"connection_id":143107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:19:37] local.INFO: TCP Data received {"connection_id":143107,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3d568a0012da76e0005e3d4b80038014525..."} 
[2026-07-27 19:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3d568a0012da76e0005e3d4b80038014525..."} 
[2026-07-27 19:19:37] local.INFO: Processing buffer {"connection_id":143107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3d568a0012da76e0005e3d4b80038014525..."} 
[2026-07-27 19:19:37] local.INFO: Packet analysis {"connection_id":143107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3d5"} 
[2026-07-27 19:19:37] local.INFO: Extracted packet for processing {"connection_id":143107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3d5"} 
[2026-07-27 19:19:37] local.INFO: GPS Element Parsed {"raw_longitude":765947392,"raw_latitude":98817208,"longitude_deg":76.5947392,"latitude_deg":9.8817208,"altitude":56,"angle":325,"satellites":37,"speed":34,"hex_longitude":"2da76e00","hex_latitude":"05e3d4b8","is_valid_coordinates":true} 
[2026-07-27 19:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000983808001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359273022172954624,"note":"Value kept but may cause issues"} 
[2026-07-27 19:19:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6379208109386162176,"note":"Value kept but may cause issues"} 
[2026-07-27 19:19:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785160100000,"timestamp_ms":1785160100000,"timestamp_seconds":1785160100,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3d568a0"} 
[2026-07-27 19:19:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:19:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-27 19:19:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:19:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:19:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:19:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 19:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 19:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000983808001,"66":27234,"83":206,"88":19968,"24":34,"16":359273022172954624,"45":-6379208109386162176},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,88,24,16,45]} 
[2026-07-27 19:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 19:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 19:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000983808001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:19:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-07-27 19:19:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 19:19:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359273022172954624,"km_value":359273022172954.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:19:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6379208109386162176,"description":"Unknown IO ID 45"} 
[2026-07-27 19:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000983808001,"power":27234,"unknown_83":206,"unknown_88":19968,"ignition":34,"odometer":null,"unknown_45":-6379208109386162176}} 
[2026-07-27 19:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":143107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:19:37] local.INFO: GPS data processed {"connection_id":143107,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:19:37] local.INFO: Acknowledgment sent {"connection_id":143107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:19:38] local.INFO: TCP Data received {"connection_id":143107,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3d57840012da7654005e3df200039013826..."} 
[2026-07-27 19:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3d57840012da7654005e3df200039013826..."} 
[2026-07-27 19:19:38] local.INFO: Processing buffer {"connection_id":143107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3d57840012da7654005e3df200039013826..."} 
[2026-07-27 19:19:38] local.INFO: Packet analysis {"connection_id":143107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3d5"} 
[2026-07-27 19:19:38] local.INFO: Extracted packet for processing {"connection_id":143107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3d5"} 
[2026-07-27 19:19:38] local.INFO: GPS Element Parsed {"raw_longitude":765945152,"raw_latitude":98819872,"longitude_deg":76.5945152,"latitude_deg":9.8819872,"altitude":57,"angle":312,"satellites":38,"speed":34,"hex_longitude":"2da76540","hex_latitude":"05e3df20","is_valid_coordinates":true} 
[2026-07-27 19:19:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:19:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000985600001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:19:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359273189676679168,"note":"Value kept but may cause issues"} 
[2026-07-27 19:19:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6382163596640208896,"note":"Value kept but may cause issues"} 
[2026-07-27 19:19:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:19:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785160104000,"timestamp_ms":1785160104000,"timestamp_seconds":1785160104,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3d57840"} 
[2026-07-27 19:19:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:19:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:19:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-27 19:19:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:19:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:19:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:19:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:19:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:19:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:19:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:19:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:19:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 19:19:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 19:19:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000985600001,"66":26636,"83":206,"88":19968,"24":34,"16":359273189676679168,"45":-6382163596640208896},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,88,24,16,45]} 
[2026-07-27 19:19:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 19:19:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 19:19:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000985600001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:19:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-07-27 19:19:38] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 19:19:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359273189676679168,"km_value":359273189676679.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:19:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6382163596640208896,"description":"Unknown IO ID 45"} 
[2026-07-27 19:19:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000985600001,"power":26636,"unknown_83":206,"unknown_88":19968,"ignition":34,"odometer":null,"unknown_45":-6382163596640208896}} 
[2026-07-27 19:19:38] local.INFO: DEBUG: GPS processor result {"connection_id":143107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:19:38] local.INFO: GPS data processed {"connection_id":143107,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:19:38] local.INFO: Acknowledgment sent {"connection_id":143107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:20:06] local.INFO: TCP Data received {"connection_id":145515,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145515,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:20:06] local.INFO: Processing buffer {"connection_id":145515,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:20:06] local.INFO: IMEI packet received {"connection_id":145515,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 19:20:06] local.INFO: IMEI acknowledgment sent {"connection_id":145515,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:20:06] local.INFO: TCP Data received {"connection_id":145515,"ip":"117.225.227.158","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-27 19:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145515,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-27 19:20:06] local.INFO: Processing buffer {"connection_id":145515,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-27 19:20:06] local.INFO: IMEI packet received {"connection_id":145515,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 19:20:06] local.INFO: IMEI acknowledgment sent {"connection_id":145515,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:20:07] local.INFO: TCP Data received {"connection_id":145515,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3d564b8012d193ec0071ffb20003b010221..."} 
[2026-07-27 19:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3d564b8012d193ec0071ffb20003b010221..."} 
[2026-07-27 19:20:07] local.INFO: Processing buffer {"connection_id":145515,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019fa3..."} 
[2026-07-27 19:20:07] local.INFO: IMEI packet received {"connection_id":145515,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 19:20:07] local.INFO: IMEI acknowledgment sent {"connection_id":145515,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:20:10] local.INFO: TCP Data received {"connection_id":145515,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3d5b6c0012d193ec0071ffb20003b010222..."} 
[2026-07-27 19:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3d5b6c0012d193ec0071ffb20003b010222..."} 
[2026-07-27 19:20:10] local.INFO: Processing buffer {"connection_id":145515,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019fa3d564b8012d193ec0071ffb20003b010221..."} 
[2026-07-27 19:20:10] local.INFO: Packet analysis {"connection_id":145515,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fa3d5"} 
[2026-07-27 19:20:10] local.INFO: Extracted packet for processing {"connection_id":145515,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3d5"} 
[2026-07-27 19:20:10] local.INFO: GPS Element Parsed {"raw_longitude":756629184,"raw_latitude":119536416,"longitude_deg":75.6629184,"latitude_deg":11.9536416,"altitude":59,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d193ec0","hex_latitude":"071ffb20","is_valid_coordinates":true} 
[2026-07-27 19:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:20:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000979968001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:20:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971061399912448,"note":"Value kept but may cause issues"} 
[2026-07-27 19:20:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819102436338114560,"note":"Value kept but may cause issues"} 
[2026-07-27 19:20:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:20:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785160099000,"timestamp_ms":1785160099000,"timestamp_seconds":1785160099,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3d564b8"} 
[2026-07-27 19:20:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:20:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-07-27 19:20:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":648518346509124608,"note":"Value kept but may cause issues"} 
[2026-07-27 19:20:10] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2748575160,"note":"Value kept but may cause issues"} 
[2026-07-27 19:20:10] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-27 19:20:10] local.WARNING: Large IO value detected {"io_id":163,"raw_value":-3178978381918547968,"note":"Value kept but may cause issues"} 
[2026-07-27 19:20:10] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3740729344,"note":"Value kept but may cause issues"} 
[2026-07-27 19:20:10] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-27 19:20:10] local.WARNING: Large IO value detected {"io_id":77,"raw_value":3221692410,"note":"Value kept but may cause issues"} 
[2026-07-27 19:20:10] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2303643986981639975,"note":"Value kept but may cause issues"} 
[2026-07-27 19:20:10] local.WARNING: Large IO value detected {"io_id":49,"raw_value":-5620265940907143652,"note":"Value kept but may cause issues"} 
[2026-07-27 19:20:10] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755420916023537,"note":"Value kept but may cause issues"} 
[2026-07-27 19:20:10] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,121,28,24,241,158,16,223,159,192,45,251,59,33,10,66,110,35,1,240,41,163,31,4,113,205,11,249,77,216,39,239,50,2,7,61,5,49,124,242],"length":535,"final_offset":665,"validated_count":40,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-07-27 19:20:10] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4251681863971635200,"timestamp_seconds":4251681863971635.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 19:20:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:20:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:20:10] local.INFO: Teltonika packet parsed successfully {"connection_id":145515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:20:10] local.INFO: Passing IMEI to GPS processor {"connection_id":145515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:20:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":145515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:20:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:20:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 19:20:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 19:20:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000979968001,"66":12722,"121":206,"28":31744,"24":0,"16":8971061399912448,"45":1819102436338114560},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 19:20:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 19:20:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 19:20:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000979968001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:20:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 19:20:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 19:20:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971061399912448,"km_value":8971061399912.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:20:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819102436338114560,"description":"Unknown IO ID 45"} 
[2026-07-27 19:20:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000979968001,"power":12722,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1819102436338114560}} 
[2026-07-27 19:20:10] local.INFO: DEBUG: GPS processor result {"connection_id":145515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555023,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:20:10] local.INFO: GPS data processed {"connection_id":145515,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:20:10] local.INFO: Acknowledgment sent {"connection_id":145515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:20:10] local.INFO: Packet analysis {"connection_id":145515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3d5"} 
[2026-07-27 19:20:10] local.INFO: Extracted packet for processing {"connection_id":145515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3d5"} 
[2026-07-27 19:20:10] local.INFO: GPS Element Parsed {"raw_longitude":756629184,"raw_latitude":119536416,"longitude_deg":75.6629184,"latitude_deg":11.9536416,"altitude":59,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d193ec0","hex_latitude":"071ffb20","is_valid_coordinates":true} 
[2026-07-27 19:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:20:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000985344001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:20:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971061399912448,"note":"Value kept but may cause issues"} 
[2026-07-27 19:20:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819102436338114560,"note":"Value kept but may cause issues"} 
[2026-07-27 19:20:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:20:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785160120000,"timestamp_ms":1785160120000,"timestamp_seconds":1785160120,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3d5b6c0"} 
[2026-07-27 19:20:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:20:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-27 19:20:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:20:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:20:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:20:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:20:10] local.INFO: Teltonika packet parsed successfully {"connection_id":145515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:20:10] local.INFO: Passing IMEI to GPS processor {"connection_id":145515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:20:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":145515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:20:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:20:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 19:20:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 19:20:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000985344001,"66":12765,"121":206,"28":31744,"24":0,"16":8971061399912448,"45":1819102436338114560},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 19:20:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 19:20:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 19:20:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000985344001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:20:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 19:20:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 19:20:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971061399912448,"km_value":8971061399912.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:20:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819102436338114560,"description":"Unknown IO ID 45"} 
[2026-07-27 19:20:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000985344001,"power":12765,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1819102436338114560}} 
[2026-07-27 19:20:10] local.INFO: DEBUG: GPS processor result {"connection_id":145515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555024,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:20:10] local.INFO: GPS data processed {"connection_id":145515,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:20:10] local.INFO: Acknowledgment sent {"connection_id":145515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:20:10] local.INFO: TCP Data received {"connection_id":143107,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3d66688012da70b4005e48fb8002a015b29..."} 
[2026-07-27 19:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3d66688012da70b4005e48fb8002a015b29..."} 
[2026-07-27 19:20:10] local.INFO: Processing buffer {"connection_id":143107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3d66688012da70b4005e48fb8002a015b29..."} 
[2026-07-27 19:20:10] local.INFO: Packet analysis {"connection_id":143107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3d6"} 
[2026-07-27 19:20:10] local.INFO: Extracted packet for processing {"connection_id":143107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3d6"} 
[2026-07-27 19:20:10] local.INFO: GPS Element Parsed {"raw_longitude":765922112,"raw_latitude":98865080,"longitude_deg":76.5922112,"latitude_deg":9.886508,"altitude":42,"angle":347,"satellites":41,"speed":41,"hex_longitude":"2da70b40","hex_latitude":"05e48fb8","is_valid_coordinates":true} 
[2026-07-27 19:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:20:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001001984001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:20:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359276041534963712,"note":"Value kept but may cause issues"} 
[2026-07-27 19:20:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6409888881834219520,"note":"Value kept but may cause issues"} 
[2026-07-27 19:20:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:20:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785160165000,"timestamp_ms":1785160165000,"timestamp_seconds":1785160165,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3d66688"} 
[2026-07-27 19:20:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:20:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-27 19:20:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:20:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:20:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:20:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:20:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:20:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:20:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:20:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:20:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 19:20:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 19:20:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001001984001,"66":27267,"183":206,"88":19968,"24":41,"16":359276041534963712,"45":-6409888881834219520},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,88,24,16,45]} 
[2026-07-27 19:20:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 19:20:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 19:20:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001001984001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:20:10] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-27 19:20:10] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 19:20:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359276041534963712,"km_value":359276041534963.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:20:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6409888881834219520,"description":"Unknown IO ID 45"} 
[2026-07-27 19:20:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001001984001,"power":27267,"unknown_183":206,"unknown_88":19968,"ignition":41,"odometer":null,"unknown_45":-6409888881834219520}} 
[2026-07-27 19:20:10] local.INFO: DEBUG: GPS processor result {"connection_id":143107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:20:10] local.INFO: GPS data processed {"connection_id":143107,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:20:10] local.INFO: Acknowledgment sent {"connection_id":143107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:20:14] local.INFO: TCP Data received {"connection_id":145515,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3d608c8012d193ec0071ffb20003b010221..."} 
[2026-07-27 19:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3d608c8012d193ec0071ffb20003b010221..."} 
[2026-07-27 19:20:14] local.INFO: Processing buffer {"connection_id":145515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3d608c8012d193ec0071ffb20003b010221..."} 
[2026-07-27 19:20:14] local.INFO: Packet analysis {"connection_id":145515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3d6"} 
[2026-07-27 19:20:14] local.INFO: Extracted packet for processing {"connection_id":145515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3d6"} 
[2026-07-27 19:20:14] local.INFO: GPS Element Parsed {"raw_longitude":756629184,"raw_latitude":119536416,"longitude_deg":75.6629184,"latitude_deg":11.9536416,"altitude":59,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d193ec0","hex_latitude":"071ffb20","is_valid_coordinates":true} 
[2026-07-27 19:20:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:20:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000990720001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:20:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971061399912448,"note":"Value kept but may cause issues"} 
[2026-07-27 19:20:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819102436338114560,"note":"Value kept but may cause issues"} 
[2026-07-27 19:20:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:20:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785160141000,"timestamp_ms":1785160141000,"timestamp_seconds":1785160141,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3d608c8"} 
[2026-07-27 19:20:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:20:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:20:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-27 19:20:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:20:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:20:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:20:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:20:14] local.INFO: Teltonika packet parsed successfully {"connection_id":145515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:20:14] local.INFO: Passing IMEI to GPS processor {"connection_id":145515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:20:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":145515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:20:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:20:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 19:20:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 19:20:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000990720001,"66":12743,"70":206,"28":31744,"24":0,"16":8971061399912448,"45":1819102436338114560},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-27 19:20:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 19:20:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 19:20:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000990720001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:20:14] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-27 19:20:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 19:20:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971061399912448,"km_value":8971061399912.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:20:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819102436338114560,"description":"Unknown IO ID 45"} 
[2026-07-27 19:20:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000990720001,"power":12743,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1819102436338114560}} 
[2026-07-27 19:20:15] local.INFO: DEBUG: GPS processor result {"connection_id":145515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555026,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:20:15] local.INFO: GPS data processed {"connection_id":145515,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:20:15] local.INFO: Acknowledgment sent {"connection_id":145515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:20:31] local.INFO: TCP Data received {"connection_id":144232,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:20:31] local.INFO: Processing buffer {"connection_id":144232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:20:31] local.INFO: IMEI packet received {"connection_id":144232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 19:20:31] local.INFO: IMEI acknowledgment sent {"connection_id":144232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:20:32] local.INFO: TCP Data received {"connection_id":144232,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:20:32] local.INFO: Processing buffer {"connection_id":144232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:20:32] local.INFO: IMEI packet received {"connection_id":144232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 19:20:32] local.INFO: IMEI acknowledgment sent {"connection_id":144232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:20:36] local.INFO: TCP Data received {"connection_id":144232,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:20:36] local.INFO: Processing buffer {"connection_id":144232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:20:36] local.INFO: IMEI packet received {"connection_id":144232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 19:20:36] local.INFO: IMEI acknowledgment sent {"connection_id":144232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:20:37] local.INFO: TCP Data received {"connection_id":144232,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3d66e58012da7080005e49720002a01482b..."} 
[2026-07-27 19:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3d66e58012da7080005e49720002a01482b..."} 
[2026-07-27 19:20:37] local.INFO: Processing buffer {"connection_id":144232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3d66e58012da7080005e49720002a01482b..."} 
[2026-07-27 19:20:37] local.INFO: Packet analysis {"connection_id":144232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3d6"} 
[2026-07-27 19:20:37] local.INFO: Extracted packet for processing {"connection_id":144232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3d6"} 
[2026-07-27 19:20:37] local.INFO: GPS Element Parsed {"raw_longitude":765921280,"raw_latitude":98866976,"longitude_deg":76.592128,"latitude_deg":9.8866976,"altitude":42,"angle":328,"satellites":43,"speed":40,"hex_longitude":"2da70800","hex_latitude":"05e49720","is_valid_coordinates":true} 
[2026-07-27 19:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:20:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001002240001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:20:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359276140319211520,"note":"Value kept but may cause issues"} 
[2026-07-27 19:20:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6409959250578130944,"note":"Value kept but may cause issues"} 
[2026-07-27 19:20:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:20:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785160167000,"timestamp_ms":1785160167000,"timestamp_seconds":1785160167,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3d66e58"} 
[2026-07-27 19:20:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:20:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-27 19:20:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:20:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:20:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:20:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:20:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:20:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:20:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:20:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:20:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 19:20:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 19:20:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001002240001,"66":27343,"183":206,"88":19968,"24":40,"16":359276140319211520,"45":-6409959250578130944},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,88,24,16,45]} 
[2026-07-27 19:20:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 19:20:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 19:20:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001002240001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:20:37] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-27 19:20:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 19:20:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359276140319211520,"km_value":359276140319211.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:20:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6409959250578130944,"description":"Unknown IO ID 45"} 
[2026-07-27 19:20:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001002240001,"power":27343,"unknown_183":206,"unknown_88":19968,"ignition":40,"odometer":null,"unknown_45":-6409959250578130944}} 
[2026-07-27 19:20:37] local.INFO: DEBUG: GPS processor result {"connection_id":144232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:20:37] local.INFO: GPS data processed {"connection_id":144232,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:20:37] local.INFO: Acknowledgment sent {"connection_id":144232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:20:59] local.INFO: TCP Data received {"connection_id":145516,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145516,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:20:59] local.INFO: Processing buffer {"connection_id":145516,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:20:59] local.INFO: IMEI packet received {"connection_id":145516,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 19:20:59] local.INFO: IMEI acknowledgment sent {"connection_id":145516,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:21:04] local.INFO: TCP Data received {"connection_id":145516,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145516,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:21:04] local.INFO: Processing buffer {"connection_id":145516,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:21:04] local.INFO: IMEI packet received {"connection_id":145516,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 19:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":145516,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:21:05] local.INFO: TCP Data received {"connection_id":145516,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3d65ad0012d193ec0071ffb20003b010221..."} 
[2026-07-27 19:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145516,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3d65ad0012d193ec0071ffb20003b010221..."} 
[2026-07-27 19:21:05] local.INFO: Processing buffer {"connection_id":145516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3d65ad0012d193ec0071ffb20003b010221..."} 
[2026-07-27 19:21:05] local.INFO: Packet analysis {"connection_id":145516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3d6"} 
[2026-07-27 19:21:05] local.INFO: Extracted packet for processing {"connection_id":145516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3d6"} 
[2026-07-27 19:21:05] local.INFO: GPS Element Parsed {"raw_longitude":756629184,"raw_latitude":119536416,"longitude_deg":75.6629184,"latitude_deg":11.9536416,"altitude":59,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d193ec0","hex_latitude":"071ffb20","is_valid_coordinates":true} 
[2026-07-27 19:21:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:21:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457000996096001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:21:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971061399912448,"note":"Value kept but may cause issues"} 
[2026-07-27 19:21:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819102436338114560,"note":"Value kept but may cause issues"} 
[2026-07-27 19:21:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:21:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785160162000,"timestamp_ms":1785160162000,"timestamp_seconds":1785160162,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3d65ad0"} 
[2026-07-27 19:21:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:21:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:21:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-07-27 19:21:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:21:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:21:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:21:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:21:05] local.INFO: Teltonika packet parsed successfully {"connection_id":145516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:21:05] local.INFO: Passing IMEI to GPS processor {"connection_id":145516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:21:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":145516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:21:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:21:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 19:21:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 19:21:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457000996096001,"66":12722,"70":206,"28":31744,"24":0,"16":8971061399912448,"45":1819102436338114560},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-27 19:21:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 19:21:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 19:21:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457000996096001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:21:05] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-27 19:21:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 19:21:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971061399912448,"km_value":8971061399912.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:21:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819102436338114560,"description":"Unknown IO ID 45"} 
[2026-07-27 19:21:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457000996096001,"power":12722,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1819102436338114560}} 
[2026-07-27 19:21:05] local.INFO: DEBUG: GPS processor result {"connection_id":145516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555028,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:21:05] local.INFO: GPS data processed {"connection_id":145516,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:21:05] local.INFO: Acknowledgment sent {"connection_id":145516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:21:08] local.INFO: TCP Data received {"connection_id":144232,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3d67a10012da7008005e4a000002a01372a..."} 
[2026-07-27 19:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3d67a10012da7008005e4a000002a01372a..."} 
[2026-07-27 19:21:08] local.INFO: Processing buffer {"connection_id":144232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3d67a10012da7008005e4a000002a01372a..."} 
[2026-07-27 19:21:08] local.INFO: Packet analysis {"connection_id":144232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3d6"} 
[2026-07-27 19:21:08] local.INFO: Extracted packet for processing {"connection_id":144232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3d6"} 
[2026-07-27 19:21:08] local.INFO: GPS Element Parsed {"raw_longitude":765919360,"raw_latitude":98869248,"longitude_deg":76.591936,"latitude_deg":9.8869248,"altitude":42,"angle":311,"satellites":42,"speed":37,"hex_longitude":"2da70080","hex_latitude":"05e4a000","is_valid_coordinates":true} 
[2026-07-27 19:21:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:21:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001002752001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:21:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359276282053132288,"note":"Value kept but may cause issues"} 
[2026-07-27 19:21:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6410874044251955200,"note":"Value kept but may cause issues"} 
[2026-07-27 19:21:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:21:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785160170000,"timestamp_ms":1785160170000,"timestamp_seconds":1785160170,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3d67a10"} 
[2026-07-27 19:21:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:21:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-27 19:21:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:21:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:21:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:21:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:21:08] local.INFO: Teltonika packet parsed successfully {"connection_id":144232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:21:08] local.INFO: Passing IMEI to GPS processor {"connection_id":144232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:21:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":144232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:21:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:21:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 19:21:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 19:21:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001002752001,"66":27397,"183":206,"88":19968,"24":37,"16":359276282053132288,"45":-6410874044251955200},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,88,24,16,45]} 
[2026-07-27 19:21:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 19:21:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 19:21:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001002752001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:21:08] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-27 19:21:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 19:21:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359276282053132288,"km_value":359276282053132.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:21:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6410874044251955200,"description":"Unknown IO ID 45"} 
[2026-07-27 19:21:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001002752001,"power":27397,"unknown_183":206,"unknown_88":19968,"ignition":37,"odometer":null,"unknown_45":-6410874044251955200}} 
[2026-07-27 19:21:08] local.INFO: DEBUG: GPS processor result {"connection_id":144232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:21:08] local.INFO: GPS data processed {"connection_id":144232,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:21:08] local.INFO: Acknowledgment sent {"connection_id":144232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:21:31] local.INFO: TCP Data received {"connection_id":143108,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:21:31] local.INFO: Processing buffer {"connection_id":143108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:21:31] local.INFO: IMEI packet received {"connection_id":143108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 19:21:31] local.INFO: IMEI acknowledgment sent {"connection_id":143108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:21:34] local.INFO: TCP Data received {"connection_id":143108,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:21:34] local.INFO: Processing buffer {"connection_id":143108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:21:34] local.INFO: IMEI packet received {"connection_id":143108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 19:21:34] local.INFO: IMEI acknowledgment sent {"connection_id":143108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:21:35] local.INFO: TCP Data received {"connection_id":143108,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:21:35] local.INFO: Processing buffer {"connection_id":143108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:21:35] local.INFO: IMEI packet received {"connection_id":143108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 19:21:35] local.INFO: IMEI acknowledgment sent {"connection_id":143108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:21:36] local.INFO: TCP Data received {"connection_id":143108,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:21:36] local.INFO: Processing buffer {"connection_id":143108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:21:36] local.INFO: IMEI packet received {"connection_id":143108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 19:21:36] local.INFO: IMEI acknowledgment sent {"connection_id":143108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:21:36] local.INFO: TCP Data received {"connection_id":145516,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3d6acd8012d193ec0071ffb20003b010220..."} 
[2026-07-27 19:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145516,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3d6acd8012d193ec0071ffb20003b010220..."} 
[2026-07-27 19:21:36] local.INFO: Processing buffer {"connection_id":145516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3d6acd8012d193ec0071ffb20003b010220..."} 
[2026-07-27 19:21:36] local.INFO: Packet analysis {"connection_id":145516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3d6"} 
[2026-07-27 19:21:36] local.INFO: Extracted packet for processing {"connection_id":145516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3d6"} 
[2026-07-27 19:21:36] local.INFO: GPS Element Parsed {"raw_longitude":756629184,"raw_latitude":119536416,"longitude_deg":75.6629184,"latitude_deg":11.9536416,"altitude":59,"angle":258,"satellites":32,"speed":0,"hex_longitude":"2d193ec0","hex_latitude":"071ffb20","is_valid_coordinates":true} 
[2026-07-27 19:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:21:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001001472001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:21:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971061399912448,"note":"Value kept but may cause issues"} 
[2026-07-27 19:21:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819102436338114560,"note":"Value kept but may cause issues"} 
[2026-07-27 19:21:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:21:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785160183000,"timestamp_ms":1785160183000,"timestamp_seconds":1785160183,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3d6acd8"} 
[2026-07-27 19:21:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:21:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-27 19:21:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:21:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:21:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:21:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:21:36] local.INFO: Teltonika packet parsed successfully {"connection_id":145516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:21:36] local.INFO: Passing IMEI to GPS processor {"connection_id":145516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:21:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":145516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:21:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:21:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 19:21:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 19:21:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001001472001,"66":12711,"70":206,"28":31744,"24":0,"16":8971061399912448,"45":1819102436338114560},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-27 19:21:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 19:21:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 19:21:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001001472001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:21:36] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-27 19:21:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 19:21:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971061399912448,"km_value":8971061399912.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:21:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819102436338114560,"description":"Unknown IO ID 45"} 
[2026-07-27 19:21:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001001472001,"power":12711,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1819102436338114560}} 
[2026-07-27 19:21:36] local.INFO: DEBUG: GPS processor result {"connection_id":145516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555030,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:21:36] local.INFO: GPS data processed {"connection_id":145516,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:21:36] local.INFO: Acknowledgment sent {"connection_id":145516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:21:37] local.INFO: TCP Data received {"connection_id":143108,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3d76c40012da69dc005e56bb0001d01662b..."} 
[2026-07-27 19:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143108,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3d76c40012da69dc005e56bb0001d01662b..."} 
[2026-07-27 19:21:37] local.INFO: Processing buffer {"connection_id":143108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3d76c40012da69dc005e56bb0001d01662b..."} 
[2026-07-27 19:21:37] local.INFO: Packet analysis {"connection_id":143108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3d7"} 
[2026-07-27 19:21:37] local.INFO: Extracted packet for processing {"connection_id":143108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3d7"} 
[2026-07-27 19:21:37] local.INFO: GPS Element Parsed {"raw_longitude":765894080,"raw_latitude":98921392,"longitude_deg":76.589408,"latitude_deg":9.8921392,"altitude":29,"angle":358,"satellites":43,"speed":38,"hex_longitude":"2da69dc0","hex_latitude":"05e56bb0","is_valid_coordinates":true} 
[2026-07-27 19:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:21:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001018880001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:21:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359279267055403008,"note":"Value kept but may cause issues"} 
[2026-07-27 19:21:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6440921498002403328,"note":"Value kept but may cause issues"} 
[2026-07-27 19:21:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:21:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785160232000,"timestamp_ms":1785160232000,"timestamp_seconds":1785160232,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3d76c40"} 
[2026-07-27 19:21:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:21:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-07-27 19:21:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:21:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:21:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:21:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:21:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:21:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:21:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:21:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:21:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 19:21:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 19:21:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001018880001,"66":27484,"183":206,"88":19968,"24":38,"16":359279267055403008,"45":-6440921498002403328},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,88,24,16,45]} 
[2026-07-27 19:21:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 19:21:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 19:21:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001018880001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:21:37] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-27 19:21:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 19:21:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359279267055403008,"km_value":359279267055403.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:21:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6440921498002403328,"description":"Unknown IO ID 45"} 
[2026-07-27 19:21:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001018880001,"power":27484,"unknown_183":206,"unknown_88":19968,"ignition":38,"odometer":null,"unknown_45":-6440921498002403328}} 
[2026-07-27 19:21:37] local.INFO: DEBUG: GPS processor result {"connection_id":143108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:21:37] local.INFO: GPS data processed {"connection_id":143108,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:21:37] local.INFO: Acknowledgment sent {"connection_id":143108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:21:59] local.INFO: TCP Data received {"connection_id":144233,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144233,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:21:59] local.INFO: Processing buffer {"connection_id":144233,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:21:59] local.INFO: IMEI packet received {"connection_id":144233,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 19:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":144233,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:22:08] local.INFO: TCP Data received {"connection_id":143108,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3d83b48012da638c005e60f30001c014a2c..."} 
[2026-07-27 19:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143108,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3d83b48012da638c005e60f30001c014a2c..."} 
[2026-07-27 19:22:08] local.INFO: Processing buffer {"connection_id":143108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3d83b48012da638c005e60f30001c014a2c..."} 
[2026-07-27 19:22:08] local.INFO: Packet analysis {"connection_id":143108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3d8"} 
[2026-07-27 19:22:08] local.INFO: Extracted packet for processing {"connection_id":143108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3d8"} 
[2026-07-27 19:22:08] local.INFO: GPS Element Parsed {"raw_longitude":765868224,"raw_latitude":98963248,"longitude_deg":76.5868224,"latitude_deg":9.8963248,"altitude":28,"angle":330,"satellites":44,"speed":36,"hex_longitude":"2da638c0","hex_latitude":"05e60f30","is_valid_coordinates":true} 
[2026-07-27 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-07-27 19:22:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001031936001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:22:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359281753841467392,"note":"Value kept but may cause issues"} 
[2026-07-27 19:22:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6467943095756261376,"note":"Value kept but may cause issues"} 
[2026-07-27 19:22:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:22:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785160285000,"timestamp_ms":1785160285000,"timestamp_seconds":1785160285,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3d83b48"} 
[2026-07-27 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-07-27 19:22:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-27 19:22:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 19:22:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:22:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:22:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:22:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:22:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:22:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 19:22:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 19:22:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001031936001,"66":27484,"191":206,"88":19968,"24":36,"16":359281753841467392,"45":-6467943095756261376},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,88,24,16,45]} 
[2026-07-27 19:22:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 19:22:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 19:22:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001031936001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:22:08] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-07-27 19:22:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":19968,"description":"Unknown IO ID 88"} 
[2026-07-27 19:22:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359281753841467392,"km_value":359281753841467.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:22:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6467943095756261376,"description":"Unknown IO ID 45"} 
[2026-07-27 19:22:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001031936001,"power":27484,"unknown_191":206,"unknown_88":19968,"ignition":36,"odometer":null,"unknown_45":-6467943095756261376}} 
[2026-07-27 19:22:08] local.INFO: DEBUG: GPS processor result {"connection_id":143108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:22:08] local.INFO: GPS data processed {"connection_id":143108,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:22:08] local.INFO: Acknowledgment sent {"connection_id":143108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:22:32] local.INFO: TCP Data received {"connection_id":144234,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:22:32] local.INFO: Processing buffer {"connection_id":144234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:22:32] local.INFO: IMEI packet received {"connection_id":144234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 19:22:32] local.INFO: IMEI acknowledgment sent {"connection_id":144234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:22:33] local.INFO: TCP Data received {"connection_id":144234,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:22:33] local.INFO: Processing buffer {"connection_id":144234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:22:33] local.INFO: IMEI packet received {"connection_id":144234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 19:22:33] local.INFO: IMEI acknowledgment sent {"connection_id":144234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:22:34] local.INFO: TCP Data received {"connection_id":144234,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:22:34] local.INFO: Processing buffer {"connection_id":144234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:22:34] local.INFO: IMEI packet received {"connection_id":144234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 19:22:34] local.INFO: IMEI acknowledgment sent {"connection_id":144234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:22:35] local.INFO: TCP Data received {"connection_id":144234,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:22:35] local.INFO: Processing buffer {"connection_id":144234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:22:35] local.INFO: IMEI packet received {"connection_id":144234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 19:22:35] local.INFO: IMEI acknowledgment sent {"connection_id":144234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:22:45] local.INFO: TCP Data received {"connection_id":144233,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144233,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:22:45] local.INFO: Processing buffer {"connection_id":144233,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:22:45] local.INFO: IMEI packet received {"connection_id":144233,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 19:22:45] local.INFO: IMEI acknowledgment sent {"connection_id":144233,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:22:48] local.INFO: TCP Data received {"connection_id":144233,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144233,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:22:48] local.INFO: Processing buffer {"connection_id":144233,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:22:48] local.INFO: IMEI packet received {"connection_id":144233,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 19:22:48] local.INFO: IMEI acknowledgment sent {"connection_id":144233,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:23:06] local.INFO: TCP Data received {"connection_id":144235,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144235,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:23:06] local.INFO: Processing buffer {"connection_id":144235,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:23:06] local.INFO: IMEI packet received {"connection_id":144235,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 19:23:06] local.INFO: IMEI acknowledgment sent {"connection_id":144235,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:27:36] local.INFO: TCP Data received {"connection_id":145518,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:27:36] local.INFO: Processing buffer {"connection_id":145518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:27:36] local.INFO: IMEI packet received {"connection_id":145518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 19:27:36] local.INFO: IMEI acknowledgment sent {"connection_id":145518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:27:37] local.INFO: TCP Data received {"connection_id":145518,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3dca048012da57e0005e98a480030014d29..."} 
[2026-07-27 19:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145518,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3dca048012da57e0005e98a480030014d29..."} 
[2026-07-27 19:27:37] local.INFO: Processing buffer {"connection_id":145518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3dca048012da57e0005e98a480030014d29..."} 
[2026-07-27 19:27:37] local.INFO: Packet analysis {"connection_id":145518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3dc"} 
[2026-07-27 19:27:37] local.INFO: Extracted packet for processing {"connection_id":145518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3dc"} 
[2026-07-27 19:27:37] local.INFO: GPS Element Parsed {"raw_longitude":765820416,"raw_latitude":99191368,"longitude_deg":76.5820416,"latitude_deg":9.9191368,"altitude":48,"angle":333,"satellites":41,"speed":19,"hex_longitude":"2da57e00","hex_latitude":"05e98a48","is_valid_coordinates":true} 
[2026-07-27 19:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:27:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001106176001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:27:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359295205679038464,"note":"Value kept but may cause issues"} 
[2026-07-27 19:27:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6521141866295517184,"note":"Value kept but may cause issues"} 
[2026-07-27 19:27:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,240,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:27:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785160573000,"timestamp_ms":1785160573000,"timestamp_seconds":1785160573,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3dca048"} 
[2026-07-27 19:27:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:27:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-27 19:27:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:27:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:27:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:27:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:27:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:27:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:27:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:27:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:27:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 19:27:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 19:27:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001106176001,"66":26636,"240":206,"88":20736,"24":19,"16":359295205679038464,"45":-6521141866295517184},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,88,24,16,45]} 
[2026-07-27 19:27:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 19:27:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 19:27:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001106176001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:27:37] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-07-27 19:27:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":20736,"description":"Unknown IO ID 88"} 
[2026-07-27 19:27:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359295205679038464,"km_value":359295205679038.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:27:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6521141866295517184,"description":"Unknown IO ID 45"} 
[2026-07-27 19:27:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001106176001,"power":26636,"unknown_240":206,"unknown_88":20736,"ignition":19,"odometer":null,"unknown_45":-6521141866295517184}} 
[2026-07-27 19:27:37] local.INFO: DEBUG: GPS processor result {"connection_id":145518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:27:37] local.INFO: GPS data processed {"connection_id":145518,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:27:37] local.INFO: Acknowledgment sent {"connection_id":145518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:28:08] local.INFO: TCP Data received {"connection_id":145518,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3dd7ef0012da5c14005e9f0c8003c016729..."} 
[2026-07-27 19:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145518,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3dd7ef0012da5c14005e9f0c8003c016729..."} 
[2026-07-27 19:28:08] local.INFO: Processing buffer {"connection_id":145518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3dd7ef0012da5c14005e9f0c8003c016729..."} 
[2026-07-27 19:28:08] local.INFO: Packet analysis {"connection_id":145518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3dd"} 
[2026-07-27 19:28:08] local.INFO: Extracted packet for processing {"connection_id":145518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3dd"} 
[2026-07-27 19:28:08] local.INFO: GPS Element Parsed {"raw_longitude":765837632,"raw_latitude":99217608,"longitude_deg":76.5837632,"latitude_deg":9.9217608,"altitude":60,"angle":359,"satellites":41,"speed":26,"hex_longitude":"2da5c140","hex_latitude":"05e9f0c8","is_valid_coordinates":true} 
[2026-07-27 19:28:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:28:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001120512001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:28:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359296846356545536,"note":"Value kept but may cause issues"} 
[2026-07-27 19:28:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6503127467779639296,"note":"Value kept but may cause issues"} 
[2026-07-27 19:28:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,240,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:28:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785160630000,"timestamp_ms":1785160630000,"timestamp_seconds":1785160630,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3dd7ef0"} 
[2026-07-27 19:28:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:28:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-27 19:28:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:28:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:28:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:28:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:28:08] local.INFO: Teltonika packet parsed successfully {"connection_id":145518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:28:08] local.INFO: Passing IMEI to GPS processor {"connection_id":145518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:28:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":145518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:28:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:28:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 19:28:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 19:28:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001120512001,"66":27343,"240":206,"88":20736,"24":26,"16":359296846356545536,"45":-6503127467779639296},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,88,24,16,45]} 
[2026-07-27 19:28:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 19:28:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 19:28:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001120512001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:28:08] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-07-27 19:28:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":20736,"description":"Unknown IO ID 88"} 
[2026-07-27 19:28:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359296846356545536,"km_value":359296846356545.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:28:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6503127467779639296,"description":"Unknown IO ID 45"} 
[2026-07-27 19:28:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001120512001,"power":27343,"unknown_240":206,"unknown_88":20736,"ignition":26,"odometer":null,"unknown_45":-6503127467779639296}} 
[2026-07-27 19:28:08] local.INFO: DEBUG: GPS processor result {"connection_id":145518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:28:08] local.INFO: GPS data processed {"connection_id":145518,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:28:08] local.INFO: Acknowledgment sent {"connection_id":145518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:28:09] local.INFO: TCP Data received {"connection_id":144238,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144238,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:28:09] local.INFO: Processing buffer {"connection_id":144238,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:28:09] local.INFO: IMEI packet received {"connection_id":144238,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 19:28:09] local.INFO: IMEI acknowledgment sent {"connection_id":144238,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:28:11] local.INFO: TCP Data received {"connection_id":144238,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3da3330012d193ec0071ffb20003b010222..."} 
[2026-07-27 19:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144238,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3da3330012d193ec0071ffb20003b010222..."} 
[2026-07-27 19:28:11] local.INFO: Processing buffer {"connection_id":144238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3da3330012d193ec0071ffb20003b010222..."} 
[2026-07-27 19:28:11] local.INFO: Packet analysis {"connection_id":144238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3da"} 
[2026-07-27 19:28:11] local.INFO: Extracted packet for processing {"connection_id":144238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3da"} 
[2026-07-27 19:28:11] local.INFO: GPS Element Parsed {"raw_longitude":756629184,"raw_latitude":119536416,"longitude_deg":75.6629184,"latitude_deg":11.9536416,"altitude":59,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d193ec0","hex_latitude":"071ffb20","is_valid_coordinates":true} 
[2026-07-27 19:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:28:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001060608001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:28:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971061399912448,"note":"Value kept but may cause issues"} 
[2026-07-27 19:28:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819102436338114560,"note":"Value kept but may cause issues"} 
[2026-07-27 19:28:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:28:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785160414000,"timestamp_ms":1785160414000,"timestamp_seconds":1785160414,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3da3330"} 
[2026-07-27 19:28:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:28:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-27 19:28:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:28:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:28:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:28:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:28:11] local.INFO: Teltonika packet parsed successfully {"connection_id":144238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:28:11] local.INFO: Passing IMEI to GPS processor {"connection_id":144238,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:28:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":144238,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:28:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:28:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 19:28:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 19:28:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001060608001,"66":12526,"71":206,"28":31744,"24":0,"16":8971061399912448,"45":1819102436338114560},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-07-27 19:28:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 19:28:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 19:28:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001060608001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:28:11] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-27 19:28:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 19:28:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971061399912448,"km_value":8971061399912.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:28:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819102436338114560,"description":"Unknown IO ID 45"} 
[2026-07-27 19:28:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001060608001,"power":12526,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1819102436338114560}} 
[2026-07-27 19:28:11] local.INFO: DEBUG: GPS processor result {"connection_id":144238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555035,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:28:11] local.INFO: GPS data processed {"connection_id":144238,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:28:11] local.INFO: Acknowledgment sent {"connection_id":144238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:28:31] local.INFO: TCP Data received {"connection_id":143250,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:28:31] local.INFO: Processing buffer {"connection_id":143250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:28:31] local.INFO: IMEI packet received {"connection_id":143250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 19:28:31] local.INFO: IMEI acknowledgment sent {"connection_id":143250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:28:32] local.INFO: TCP Data received {"connection_id":143250,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:28:32] local.INFO: Processing buffer {"connection_id":143250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:28:32] local.INFO: IMEI packet received {"connection_id":143250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 19:28:32] local.INFO: IMEI acknowledgment sent {"connection_id":143250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:28:42] local.INFO: TCP Data received {"connection_id":144238,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3da8538012d193ec0071ffb20003b010223..."} 
[2026-07-27 19:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144238,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3da8538012d193ec0071ffb20003b010223..."} 
[2026-07-27 19:28:42] local.INFO: Processing buffer {"connection_id":144238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3da8538012d193ec0071ffb20003b010223..."} 
[2026-07-27 19:28:42] local.INFO: Packet analysis {"connection_id":144238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3da"} 
[2026-07-27 19:28:42] local.INFO: Extracted packet for processing {"connection_id":144238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3da"} 
[2026-07-27 19:28:42] local.INFO: GPS Element Parsed {"raw_longitude":756629184,"raw_latitude":119536416,"longitude_deg":75.6629184,"latitude_deg":11.9536416,"altitude":59,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d193ec0","hex_latitude":"071ffb20","is_valid_coordinates":true} 
[2026-07-27 19:28:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:28:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001065984001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:28:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971061399912448,"note":"Value kept but may cause issues"} 
[2026-07-27 19:28:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819102436338114560,"note":"Value kept but may cause issues"} 
[2026-07-27 19:28:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:28:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785160435000,"timestamp_ms":1785160435000,"timestamp_seconds":1785160435,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3da8538"} 
[2026-07-27 19:28:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:28:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-27 19:28:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:28:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:28:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:28:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:28:42] local.INFO: Teltonika packet parsed successfully {"connection_id":144238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:28:42] local.INFO: Passing IMEI to GPS processor {"connection_id":144238,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:28:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":144238,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:28:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:28:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 19:28:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 19:28:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001065984001,"66":12504,"70":206,"28":31744,"24":0,"16":8971061399912448,"45":1819102436338114560},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-27 19:28:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 19:28:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 19:28:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001065984001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:28:42] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-27 19:28:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 19:28:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971061399912448,"km_value":8971061399912.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:28:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819102436338114560,"description":"Unknown IO ID 45"} 
[2026-07-27 19:28:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001065984001,"power":12504,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1819102436338114560}} 
[2026-07-27 19:28:43] local.INFO: DEBUG: GPS processor result {"connection_id":144238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555036,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:28:43] local.INFO: GPS data processed {"connection_id":144238,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:28:43] local.INFO: Acknowledgment sent {"connection_id":144238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:28:47] local.INFO: TCP Data received {"connection_id":143250,"ip":"42.106.6.36","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-27 19:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143250,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-27 19:28:47] local.INFO: Processing buffer {"connection_id":143250,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-27 19:28:47] local.INFO: IMEI packet received {"connection_id":143250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 19:28:47] local.INFO: IMEI acknowledgment sent {"connection_id":143250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:28:59] local.INFO: TCP Data received {"connection_id":144239,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144239,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:28:59] local.INFO: Processing buffer {"connection_id":144239,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:28:59] local.INFO: IMEI packet received {"connection_id":144239,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 19:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":144239,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:29:04] local.INFO: TCP Data received {"connection_id":144239,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144239,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:29:04] local.INFO: Processing buffer {"connection_id":144239,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:29:04] local.INFO: IMEI packet received {"connection_id":144239,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 19:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":144239,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:29:05] local.INFO: TCP Data received {"connection_id":144239,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3dad740012d193ec0071ffb20003b010223..."} 
[2026-07-27 19:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3dad740012d193ec0071ffb20003b010223..."} 
[2026-07-27 19:29:05] local.INFO: Processing buffer {"connection_id":144239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3dad740012d193ec0071ffb20003b010223..."} 
[2026-07-27 19:29:05] local.INFO: Packet analysis {"connection_id":144239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3da"} 
[2026-07-27 19:29:05] local.INFO: Extracted packet for processing {"connection_id":144239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3da"} 
[2026-07-27 19:29:05] local.INFO: GPS Element Parsed {"raw_longitude":756629184,"raw_latitude":119536416,"longitude_deg":75.6629184,"latitude_deg":11.9536416,"altitude":59,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d193ec0","hex_latitude":"071ffb20","is_valid_coordinates":true} 
[2026-07-27 19:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:29:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001071360001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:29:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971061399912448,"note":"Value kept but may cause issues"} 
[2026-07-27 19:29:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819102436338114560,"note":"Value kept but may cause issues"} 
[2026-07-27 19:29:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:29:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785160456000,"timestamp_ms":1785160456000,"timestamp_seconds":1785160456,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3dad740"} 
[2026-07-27 19:29:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:29:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-27 19:29:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:29:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:29:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:29:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:29:05] local.INFO: Teltonika packet parsed successfully {"connection_id":144239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:29:05] local.INFO: Passing IMEI to GPS processor {"connection_id":144239,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:29:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":144239,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:29:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:29:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 19:29:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 19:29:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001071360001,"66":11308,"121":206,"28":31744,"24":0,"16":8971061399912448,"45":1819102436338114560},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 19:29:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 19:29:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 19:29:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001071360001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:29:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 19:29:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 19:29:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971061399912448,"km_value":8971061399912.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:29:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819102436338114560,"description":"Unknown IO ID 45"} 
[2026-07-27 19:29:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001071360001,"power":11308,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1819102436338114560}} 
[2026-07-27 19:29:06] local.INFO: DEBUG: GPS processor result {"connection_id":144239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555037,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:29:06] local.INFO: GPS data processed {"connection_id":144239,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:29:06] local.INFO: Acknowledgment sent {"connection_id":144239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:29:18] local.INFO: TCP Data received {"connection_id":143250,"ip":"42.106.6.36","data_length":1348,"data_hex":"000000000000030f8e0a0000019fa3dd9278012da5c04005e9fde0003d015b27..."} 
[2026-07-27 19:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143250,"packet_length":1348,"packet_hex":"000000000000030f8e0a0000019fa3dd9278012da5c04005e9fde0003d015b27..."} 
[2026-07-27 19:29:18] local.INFO: Processing buffer {"connection_id":143250,"buffer_length":1365,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019fa3..."} 
[2026-07-27 19:29:18] local.INFO: IMEI packet received {"connection_id":143250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 19:29:18] local.INFO: IMEI acknowledgment sent {"connection_id":143250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:29:19] local.INFO: TCP Data received {"connection_id":143250,"ip":"42.106.6.36","data_length":242,"data_hex":"0000000000019fa3ddf038012da5a9c005ea28f0004801402900110000000a00..."} 
[2026-07-27 19:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143250,"packet_length":242,"packet_hex":"0000000000019fa3ddf038012da5a9c005ea28f0004801402900110000000a00..."} 
[2026-07-27 19:29:19] local.INFO: Processing buffer {"connection_id":143250,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019fa3dd9278012da5c04005e9fde0003d015b27..."} 
[2026-07-27 19:29:19] local.INFO: Packet analysis {"connection_id":143250,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fa3dd"} 
[2026-07-27 19:29:19] local.INFO: Extracted packet for processing {"connection_id":143250,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3dd"} 
[2026-07-27 19:29:19] local.INFO: GPS Element Parsed {"raw_longitude":765837376,"raw_latitude":99220960,"longitude_deg":76.5837376,"latitude_deg":9.922096,"altitude":61,"angle":347,"satellites":39,"speed":25,"hex_longitude":"2da5c040","hex_latitude":"05e9fde0","is_valid_coordinates":true} 
[2026-07-27 19: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-07-27 19:29:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001121280001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:29:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359297009565302784,"note":"Value kept but may cause issues"} 
[2026-07-27 19:29:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6502845992802400256,"note":"Value kept but may cause issues"} 
[2026-07-27 19:29:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,240,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:29:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785160635000,"timestamp_ms":1785160635000,"timestamp_seconds":1785160635,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3dd9278"} 
[2026-07-27 19:29:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:29:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-27 19:29:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19: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-07-27 19:29:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:29:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:29:19] local.INFO: Teltonika packet parsed successfully {"connection_id":143250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:29:19] local.INFO: Passing IMEI to GPS processor {"connection_id":143250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:29:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":143250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:29:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:29:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 19:29:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 19:29:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001121280001,"66":27365,"240":206,"88":20736,"24":25,"16":359297009565302784,"45":-6502845992802400256},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,88,24,16,45]} 
[2026-07-27 19:29:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 19:29:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 19:29:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001121280001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:29:19] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-07-27 19:29:19] local.INFO: Unknown IO ID detected {"io_id":88,"value":20736,"description":"Unknown IO ID 88"} 
[2026-07-27 19:29:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359297009565302784,"km_value":359297009565302.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:29:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6502845992802400256,"description":"Unknown IO ID 45"} 
[2026-07-27 19:29:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001121280001,"power":27365,"unknown_240":206,"unknown_88":20736,"ignition":25,"odometer":null,"unknown_45":-6502845992802400256}} 
[2026-07-27 19:29:19] local.INFO: DEBUG: GPS processor result {"connection_id":143250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:29:19] local.INFO: GPS data processed {"connection_id":143250,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:29:19] local.INFO: Acknowledgment sent {"connection_id":143250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:29:19] local.INFO: Packet analysis {"connection_id":143250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3de"} 
[2026-07-27 19:29:19] local.INFO: Extracted packet for processing {"connection_id":143250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3de"} 
[2026-07-27 19:29:19] local.INFO: GPS Element Parsed {"raw_longitude":765828992,"raw_latitude":99239584,"longitude_deg":76.5828992,"latitude_deg":9.9239584,"altitude":74,"angle":301,"satellites":41,"speed":20,"hex_longitude":"2da59f80","hex_latitude":"05ea46a0","is_valid_coordinates":true} 
[2026-07-27 19: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-07-27 19:29:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001132544001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:29:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359298036062486528,"note":"Value kept but may cause issues"} 
[2026-07-27 19:29:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6511501348330786816,"note":"Value kept but may cause issues"} 
[2026-07-27 19:29:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,240,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:29:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785160676000,"timestamp_ms":1785160676000,"timestamp_seconds":1785160676,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3de32a0"} 
[2026-07-27 19:29:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:29:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-27 19:29:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19: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-07-27 19:29:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:29:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:29:19] local.INFO: Teltonika packet parsed successfully {"connection_id":143250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:29:19] local.INFO: Passing IMEI to GPS processor {"connection_id":143250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:29:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":143250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:29:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:29:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 19:29:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 19:29:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001132544001,"66":26941,"240":206,"88":20736,"24":20,"16":359298036062486528,"45":-6511501348330786816},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,88,24,16,45]} 
[2026-07-27 19:29:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 19:29:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 19:29:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001132544001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:29:19] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-07-27 19:29:19] local.INFO: Unknown IO ID detected {"io_id":88,"value":20736,"description":"Unknown IO ID 88"} 
[2026-07-27 19:29:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359298036062486528,"km_value":359298036062486.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:29:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6511501348330786816,"description":"Unknown IO ID 45"} 
[2026-07-27 19:29:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001132544001,"power":26941,"unknown_240":206,"unknown_88":20736,"ignition":20,"odometer":null,"unknown_45":-6511501348330786816}} 
[2026-07-27 19:29:19] local.INFO: DEBUG: GPS processor result {"connection_id":143250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:29:19] local.INFO: GPS data processed {"connection_id":143250,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:29:19] local.INFO: Acknowledgment sent {"connection_id":143250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:29:31] local.INFO: TCP Data received {"connection_id":144240,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:29:31] local.INFO: Processing buffer {"connection_id":144240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:29:31] local.INFO: IMEI packet received {"connection_id":144240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 19:29:31] local.INFO: IMEI acknowledgment sent {"connection_id":144240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:29:37] local.INFO: TCP Data received {"connection_id":144239,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3de5d98012d193ec0071ffb20003b010224..."} 
[2026-07-27 19:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3de5d98012d193ec0071ffb20003b010224..."} 
[2026-07-27 19:29:37] local.INFO: Processing buffer {"connection_id":144239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3de5d98012d193ec0071ffb20003b010224..."} 
[2026-07-27 19:29:37] local.INFO: Packet analysis {"connection_id":144239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3de"} 
[2026-07-27 19:29:37] local.INFO: Extracted packet for processing {"connection_id":144239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3de"} 
[2026-07-27 19:29:37] local.INFO: GPS Element Parsed {"raw_longitude":756629184,"raw_latitude":119536416,"longitude_deg":75.6629184,"latitude_deg":11.9536416,"altitude":59,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d193ec0","hex_latitude":"071ffb20","is_valid_coordinates":true} 
[2026-07-27 19:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001130496001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:29:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971061399912448,"note":"Value kept but may cause issues"} 
[2026-07-27 19:29:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819102436338114560,"note":"Value kept but may cause issues"} 
[2026-07-27 19:29:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:29:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785160687000,"timestamp_ms":1785160687000,"timestamp_seconds":1785160687,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3de5d98"} 
[2026-07-27 19:29:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:29:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-27 19:29:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:29:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:29:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:29:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:29:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:29:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144239,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:29:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144239,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:29:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:29:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 19:29:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 19:29:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001130496001,"66":12385,"121":206,"28":31744,"24":0,"16":8971061399912448,"45":1819102436338114560},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 19:29:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 19:29:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 19:29:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001130496001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:29:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 19:29:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 19:29:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971061399912448,"km_value":8971061399912.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:29:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819102436338114560,"description":"Unknown IO ID 45"} 
[2026-07-27 19:29:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001130496001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1819102436338114560}} 
[2026-07-27 19:29:37] local.INFO: DEBUG: GPS processor result {"connection_id":144239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555040,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:29:37] local.INFO: GPS data processed {"connection_id":144239,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:29:37] local.INFO: Acknowledgment sent {"connection_id":144239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:29:39] local.INFO: TCP Data received {"connection_id":144240,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:29:39] local.INFO: Processing buffer {"connection_id":144240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:29:39] local.INFO: IMEI packet received {"connection_id":144240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 19:29:39] local.INFO: IMEI acknowledgment sent {"connection_id":144240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:29:40] local.INFO: TCP Data received {"connection_id":144240,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:29:40] local.INFO: Processing buffer {"connection_id":144240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:29:40] local.INFO: IMEI packet received {"connection_id":144240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 19:29:40] local.INFO: IMEI acknowledgment sent {"connection_id":144240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:29:40] local.INFO: TCP Data received {"connection_id":144240,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3de78f0012da57fc005ea56b0004f013125..."} 
[2026-07-27 19:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3de78f0012da57fc005ea56b0004f013125..."} 
[2026-07-27 19:29:40] local.INFO: Processing buffer {"connection_id":144240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3de78f0012da57fc005ea56b0004f013125..."} 
[2026-07-27 19:29:40] local.INFO: Packet analysis {"connection_id":144240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3de"} 
[2026-07-27 19:29:40] local.INFO: Extracted packet for processing {"connection_id":144240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3de"} 
[2026-07-27 19:29:40] local.INFO: GPS Element Parsed {"raw_longitude":765820864,"raw_latitude":99243696,"longitude_deg":76.5820864,"latitude_deg":9.9243696,"altitude":79,"angle":305,"satellites":37,"speed":21,"hex_longitude":"2da57fc0","hex_latitude":"05ea56b0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 19:29:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001133056001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:29:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359298474149150720,"note":"Value kept but may cause issues"} 
[2026-07-27 19:29:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6512345773260759040,"note":"Value kept but may cause issues"} 
[2026-07-27 19:29:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,240,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:29:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785160694000,"timestamp_ms":1785160694000,"timestamp_seconds":1785160694,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3de78f0"} 
[2026-07-27 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-07-27 19:29:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":105,"n8_eight_byte":61,"data_length":795,"current_offset":136} 
[2026-07-27 19:29:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1272,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 19:29:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:29:41] local.INFO: Teltonika packet parsed successfully {"connection_id":144240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:29:41] local.INFO: Passing IMEI to GPS processor {"connection_id":144240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:29:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":144240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:29:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:29:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 19:29:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 19:29:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001133056001,"66":27343,"240":206,"88":20736,"24":21,"16":359298474149150720,"45":-6512345773260759040},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,88,24,16,45]} 
[2026-07-27 19:29:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 19:29:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 19:29:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001133056001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:29:41] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-07-27 19:29:41] local.INFO: Unknown IO ID detected {"io_id":88,"value":20736,"description":"Unknown IO ID 88"} 
[2026-07-27 19:29:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359298474149150720,"km_value":359298474149150.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:29:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6512345773260759040,"description":"Unknown IO ID 45"} 
[2026-07-27 19:29:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001133056001,"power":27343,"unknown_240":206,"unknown_88":20736,"ignition":21,"odometer":null,"unknown_45":-6512345773260759040}} 
[2026-07-27 19:29:41] local.INFO: DEBUG: GPS processor result {"connection_id":144240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:29:41] local.INFO: GPS data processed {"connection_id":144240,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:29:41] local.INFO: Acknowledgment sent {"connection_id":144240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:29:41] local.INFO: TCP Data received {"connection_id":144240,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3dea000012da5708005ea64080053013f29..."} 
[2026-07-27 19:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3dea000012da5708005ea64080053013f29..."} 
[2026-07-27 19:29:41] local.INFO: Processing buffer {"connection_id":144240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3dea000012da5708005ea64080053013f29..."} 
[2026-07-27 19:29:41] local.INFO: Packet analysis {"connection_id":144240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3de"} 
[2026-07-27 19:29:41] local.INFO: Extracted packet for processing {"connection_id":144240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3de"} 
[2026-07-27 19:29:41] local.INFO: GPS Element Parsed {"raw_longitude":765816960,"raw_latitude":99247112,"longitude_deg":76.581696,"latitude_deg":9.9247112,"altitude":83,"angle":319,"satellites":41,"speed":19,"hex_longitude":"2da57080","hex_latitude":"05ea6408","is_valid_coordinates":true} 
[2026-07-27 19:29:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:29:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001137664001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:29:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359298723257253888,"note":"Value kept but may cause issues"} 
[2026-07-27 19:29:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6521282603770269696,"note":"Value kept but may cause issues"} 
[2026-07-27 19:29:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,240,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:29:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785160704000,"timestamp_ms":1785160704000,"timestamp_seconds":1785160704,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3dea000"} 
[2026-07-27 19:29:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:29:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:29:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-27 19:29:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:29:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:29:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:29:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:29:41] local.INFO: Teltonika packet parsed successfully {"connection_id":144240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:29:41] local.INFO: Passing IMEI to GPS processor {"connection_id":144240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:29:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":144240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:29:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:29:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 19:29:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 19:29:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001137664001,"66":27397,"240":206,"88":20736,"24":19,"16":359298723257253888,"45":-6521282603770269696},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,88,24,16,45]} 
[2026-07-27 19:29:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 19:29:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 19:29:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001137664001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:29:41] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-07-27 19:29:41] local.INFO: Unknown IO ID detected {"io_id":88,"value":20736,"description":"Unknown IO ID 88"} 
[2026-07-27 19:29:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359298723257253888,"km_value":359298723257253.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:29:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6521282603770269696,"description":"Unknown IO ID 45"} 
[2026-07-27 19:29:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001137664001,"power":27397,"unknown_240":206,"unknown_88":20736,"ignition":19,"odometer":null,"unknown_45":-6521282603770269696}} 
[2026-07-27 19:29:41] local.INFO: DEBUG: GPS processor result {"connection_id":144240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:29:41] local.INFO: GPS data processed {"connection_id":144240,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:29:41] local.INFO: Acknowledgment sent {"connection_id":144240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:30:04] local.INFO: TCP Data received {"connection_id":143112,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143112,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:30:04] local.INFO: Processing buffer {"connection_id":143112,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:30:04] local.INFO: IMEI packet received {"connection_id":143112,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 19:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":143112,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:30:10] local.INFO: TCP Data received {"connection_id":143112,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143112,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:30:10] local.INFO: Processing buffer {"connection_id":143112,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:30:10] local.INFO: IMEI packet received {"connection_id":143112,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 19:30:10] local.INFO: IMEI acknowledgment sent {"connection_id":143112,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:30:11] local.INFO: TCP Data received {"connection_id":143112,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3deafa0012d193ec0071ffb20003b010222..."} 
[2026-07-27 19:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143112,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3deafa0012d193ec0071ffb20003b010222..."} 
[2026-07-27 19:30:11] local.INFO: Processing buffer {"connection_id":143112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3deafa0012d193ec0071ffb20003b010222..."} 
[2026-07-27 19:30:11] local.INFO: Packet analysis {"connection_id":143112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3de"} 
[2026-07-27 19:30:11] local.INFO: Extracted packet for processing {"connection_id":143112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3de"} 
[2026-07-27 19:30:11] local.INFO: GPS Element Parsed {"raw_longitude":756629184,"raw_latitude":119536416,"longitude_deg":75.6629184,"latitude_deg":11.9536416,"altitude":59,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d193ec0","hex_latitude":"071ffb20","is_valid_coordinates":true} 
[2026-07-27 19:30:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:30:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001135872001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:30:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971061399912448,"note":"Value kept but may cause issues"} 
[2026-07-27 19:30:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819102436338114560,"note":"Value kept but may cause issues"} 
[2026-07-27 19:30:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:30:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785160708000,"timestamp_ms":1785160708000,"timestamp_seconds":1785160708,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3deafa0"} 
[2026-07-27 19:30:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:30:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:30:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-27 19:30:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:30:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:30:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:30:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:30:11] local.INFO: Teltonika packet parsed successfully {"connection_id":143112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:30:11] local.INFO: Passing IMEI to GPS processor {"connection_id":143112,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:30:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":143112,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:30:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:30:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 19:30:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 19:30:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001135872001,"66":12319,"121":206,"28":31744,"24":0,"16":8971061399912448,"45":1819102436338114560},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 19:30:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 19:30:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 19:30:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001135872001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:30:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 19:30:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 19:30:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971061399912448,"km_value":8971061399912.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:30:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819102436338114560,"description":"Unknown IO ID 45"} 
[2026-07-27 19:30:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001135872001,"power":12319,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1819102436338114560}} 
[2026-07-27 19:30:11] local.INFO: DEBUG: GPS processor result {"connection_id":143112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555043,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:30:11] local.INFO: GPS data processed {"connection_id":143112,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:30:11] local.INFO: Acknowledgment sent {"connection_id":143112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:30:12] local.INFO: TCP Data received {"connection_id":144240,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3dee268012da5584005ea7f080057013d25..."} 
[2026-07-27 19:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3dee268012da5584005ea7f080057013d25..."} 
[2026-07-27 19:30:12] local.INFO: Processing buffer {"connection_id":144240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3dee268012da5584005ea7f080057013d25..."} 
[2026-07-27 19:30:12] local.INFO: Packet analysis {"connection_id":144240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3de"} 
[2026-07-27 19:30:12] local.INFO: Extracted packet for processing {"connection_id":144240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3de"} 
[2026-07-27 19:30:12] local.INFO: GPS Element Parsed {"raw_longitude":765810752,"raw_latitude":99254024,"longitude_deg":76.5810752,"latitude_deg":9.9254024,"altitude":87,"angle":317,"satellites":37,"speed":22,"hex_longitude":"2da55840","hex_latitude":"05ea7f08","is_valid_coordinates":true} 
[2026-07-27 19:30:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:30:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001140224001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:30:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359299169933852672,"note":"Value kept but may cause issues"} 
[2026-07-27 19:30:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6525575097164232704,"note":"Value kept but may cause issues"} 
[2026-07-27 19:30:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:30:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785160721000,"timestamp_ms":1785160721000,"timestamp_seconds":1785160721,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3dee268"} 
[2026-07-27 19:30:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:30:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:30:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-27 19:30:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:30:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:30:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:30:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:30:12] local.INFO: Teltonika packet parsed successfully {"connection_id":144240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:30:12] local.INFO: Passing IMEI to GPS processor {"connection_id":144240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:30:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":144240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:30:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:30:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 19:30:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 19:30:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001140224001,"66":27213,"107":206,"88":19456,"24":22,"16":359299169933852672,"45":-6525575097164232704},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,88,24,16,45]} 
[2026-07-27 19:30:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 19:30:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 19:30:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001140224001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:30:12] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-27 19:30:12] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-27 19:30:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359299169933852672,"km_value":359299169933852.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:30:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6525575097164232704,"description":"Unknown IO ID 45"} 
[2026-07-27 19:30:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001140224001,"power":27213,"unknown_107":206,"unknown_88":19456,"ignition":22,"odometer":null,"unknown_45":-6525575097164232704}} 
[2026-07-27 19:30:12] local.INFO: DEBUG: GPS processor result {"connection_id":144240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:30:12] local.INFO: GPS data processed {"connection_id":144240,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:30:12] local.INFO: Acknowledgment sent {"connection_id":144240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:30:13] local.INFO: TCP Data received {"connection_id":143112,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3df01a8012d193ec0071ffb20003b010223..."} 
[2026-07-27 19:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143112,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3df01a8012d193ec0071ffb20003b010223..."} 
[2026-07-27 19:30:13] local.INFO: Processing buffer {"connection_id":143112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3df01a8012d193ec0071ffb20003b010223..."} 
[2026-07-27 19:30:13] local.INFO: Packet analysis {"connection_id":143112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3df"} 
[2026-07-27 19:30:13] local.INFO: Extracted packet for processing {"connection_id":143112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3df"} 
[2026-07-27 19:30:13] local.INFO: GPS Element Parsed {"raw_longitude":756629184,"raw_latitude":119536416,"longitude_deg":75.6629184,"latitude_deg":11.9536416,"altitude":59,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d193ec0","hex_latitude":"071ffb20","is_valid_coordinates":true} 
[2026-07-27 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-07-27 19:30:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001141248001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:30:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971061399912448,"note":"Value kept but may cause issues"} 
[2026-07-27 19:30:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819102436338114560,"note":"Value kept but may cause issues"} 
[2026-07-27 19:30:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:30:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785160729000,"timestamp_ms":1785160729000,"timestamp_seconds":1785160729,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3df01a8"} 
[2026-07-27 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-07-27 19:30:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 19:30:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 19:30:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:30:13] local.INFO: Teltonika packet parsed successfully {"connection_id":143112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:30:13] local.INFO: Passing IMEI to GPS processor {"connection_id":143112,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:30:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":143112,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:30:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:30:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 19:30:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 19:30:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001141248001,"66":12341,"121":206,"28":31744,"24":0,"16":8971061399912448,"45":1819102436338114560},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 19:30:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 19:30:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 19:30:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001141248001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:30:13] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 19:30:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 19:30:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971061399912448,"km_value":8971061399912.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:30:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819102436338114560,"description":"Unknown IO ID 45"} 
[2026-07-27 19:30:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001141248001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1819102436338114560}} 
[2026-07-27 19:30:13] local.INFO: DEBUG: GPS processor result {"connection_id":143112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555045,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:30:13] local.INFO: GPS data processed {"connection_id":143112,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:30:13] local.INFO: Acknowledgment sent {"connection_id":143112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:30:31] local.INFO: TCP Data received {"connection_id":143251,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:30:31] local.INFO: Processing buffer {"connection_id":143251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:30:31] local.INFO: IMEI packet received {"connection_id":143251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 19:30:31] local.INFO: IMEI acknowledgment sent {"connection_id":143251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:30:31] local.INFO: TCP Data received {"connection_id":143251,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:30:31] local.INFO: Processing buffer {"connection_id":143251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:30:31] local.INFO: IMEI packet received {"connection_id":143251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 19:30:31] local.INFO: IMEI acknowledgment sent {"connection_id":143251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:30:33] local.INFO: TCP Data received {"connection_id":143251,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:30:33] local.INFO: Processing buffer {"connection_id":143251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:30:33] local.INFO: IMEI packet received {"connection_id":143251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 19:30:33] local.INFO: IMEI acknowledgment sent {"connection_id":143251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:30:36] local.INFO: TCP Data received {"connection_id":143251,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:30:36] local.INFO: Processing buffer {"connection_id":143251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:30:36] local.INFO: IMEI packet received {"connection_id":143251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 19:30:36] local.INFO: IMEI acknowledgment sent {"connection_id":143251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:30:37] local.INFO: TCP Data received {"connection_id":143251,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3dff3d8012da4c78005eb0c880049012625..."} 
[2026-07-27 19:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143251,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3dff3d8012da4c78005eb0c880049012625..."} 
[2026-07-27 19:30:37] local.INFO: Processing buffer {"connection_id":143251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3dff3d8012da4c78005eb0c880049012625..."} 
[2026-07-27 19:30:37] local.INFO: Packet analysis {"connection_id":143251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3df"} 
[2026-07-27 19:30:37] local.INFO: Extracted packet for processing {"connection_id":143251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3df"} 
[2026-07-27 19:30:37] local.INFO: GPS Element Parsed {"raw_longitude":765773696,"raw_latitude":99290248,"longitude_deg":76.5773696,"latitude_deg":9.9290248,"altitude":73,"angle":294,"satellites":37,"speed":31,"hex_longitude":"2da4c780","hex_latitude":"05eb0c88","is_valid_coordinates":true} 
[2026-07-27 19:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:30:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001160704001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:30:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359301764094099456,"note":"Value kept but may cause issues"} 
[2026-07-27 19:30:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6567374131194882048,"note":"Value kept but may cause issues"} 
[2026-07-27 19:30:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:30:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785160791000,"timestamp_ms":1785160791000,"timestamp_seconds":1785160791,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3dff3d8"} 
[2026-07-27 19:30:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:30:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-27 19:30:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:30:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:30:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:30:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:30:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:30:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:30:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:30:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:30:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 19:30:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 19:30:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001160704001,"66":27343,"79":206,"88":20736,"24":31,"16":359301764094099456,"45":-6567374131194882048},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,88,24,16,45]} 
[2026-07-27 19:30:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 19:30:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 19:30:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001160704001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:30:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-07-27 19:30:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":20736,"description":"Unknown IO ID 88"} 
[2026-07-27 19:30:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359301764094099456,"km_value":359301764094099.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:30:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6567374131194882048,"description":"Unknown IO ID 45"} 
[2026-07-27 19:30:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001160704001,"power":27343,"unknown_79":206,"unknown_88":20736,"ignition":31,"odometer":null,"unknown_45":-6567374131194882048}} 
[2026-07-27 19:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":143251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:30:37] local.INFO: GPS data processed {"connection_id":143251,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:30:37] local.INFO: Acknowledgment sent {"connection_id":143251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:31:07] local.INFO: TCP Data received {"connection_id":143112,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3df53b0012d193ec0071ffb20003b010223..."} 
[2026-07-27 19:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143112,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3df53b0012d193ec0071ffb20003b010223..."} 
[2026-07-27 19:31:07] local.INFO: Processing buffer {"connection_id":143112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3df53b0012d193ec0071ffb20003b010223..."} 
[2026-07-27 19:31:07] local.INFO: Packet analysis {"connection_id":143112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3df"} 
[2026-07-27 19:31:07] local.INFO: Extracted packet for processing {"connection_id":143112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3df"} 
[2026-07-27 19:31:07] local.INFO: GPS Element Parsed {"raw_longitude":756629184,"raw_latitude":119536416,"longitude_deg":75.6629184,"latitude_deg":11.9536416,"altitude":59,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d193ec0","hex_latitude":"071ffb20","is_valid_coordinates":true} 
[2026-07-27 19:31:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:31:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001146624001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:31:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971061399912448,"note":"Value kept but may cause issues"} 
[2026-07-27 19:31:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819102436338114560,"note":"Value kept but may cause issues"} 
[2026-07-27 19:31:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:31:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785160750000,"timestamp_ms":1785160750000,"timestamp_seconds":1785160750,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3df53b0"} 
[2026-07-27 19:31:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:31:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 19:31:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:31:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:31:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:31:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:31:07] local.INFO: Teltonika packet parsed successfully {"connection_id":143112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:31:07] local.INFO: Passing IMEI to GPS processor {"connection_id":143112,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:31:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":143112,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:31:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:31:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 19:31:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 19:31:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001146624001,"66":12385,"121":206,"28":31744,"24":0,"16":8971061399912448,"45":1819102436338114560},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 19:31:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 19:31:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 19:31:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001146624001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:31:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 19:31:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 19:31:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971061399912448,"km_value":8971061399912.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:31:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819102436338114560,"description":"Unknown IO ID 45"} 
[2026-07-27 19:31:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001146624001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1819102436338114560}} 
[2026-07-27 19:31:07] local.INFO: DEBUG: GPS processor result {"connection_id":143112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555047,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:31:07] local.INFO: GPS data processed {"connection_id":143112,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:31:07] local.INFO: Acknowledgment sent {"connection_id":143112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:31:08] local.INFO: TCP Data received {"connection_id":143251,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3dffba8012da4c28005eb0fe00048013723..."} 
[2026-07-27 19:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143251,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3dffba8012da4c28005eb0fe00048013723..."} 
[2026-07-27 19:31:08] local.INFO: Processing buffer {"connection_id":143251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3dffba8012da4c28005eb0fe00048013723..."} 
[2026-07-27 19:31:08] local.INFO: Packet analysis {"connection_id":143251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3df"} 
[2026-07-27 19:31:08] local.INFO: Extracted packet for processing {"connection_id":143251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3df"} 
[2026-07-27 19:31:08] local.INFO: GPS Element Parsed {"raw_longitude":765772416,"raw_latitude":99291104,"longitude_deg":76.5772416,"latitude_deg":9.9291104,"altitude":72,"angle":311,"satellites":35,"speed":32,"hex_longitude":"2da4c280","hex_latitude":"05eb0fe0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 19:31:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001162496001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:31:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359301837108543488,"note":"Value kept but may cause issues"} 
[2026-07-27 19:31:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6573144368217290752,"note":"Value kept but may cause issues"} 
[2026-07-27 19:31:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:31:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785160793000,"timestamp_ms":1785160793000,"timestamp_seconds":1785160793,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3dffba8"} 
[2026-07-27 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-07-27 19:31:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-27 19:31:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 19:31:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:31:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:31:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:31:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:31:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:31:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 19:31:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 19:31:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001162496001,"66":27365,"79":206,"88":20736,"24":32,"16":359301837108543488,"45":-6573144368217290752},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,88,24,16,45]} 
[2026-07-27 19:31:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 19:31:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 19:31:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001162496001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:31:08] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-07-27 19:31:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":20736,"description":"Unknown IO ID 88"} 
[2026-07-27 19:31:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359301837108543488,"km_value":359301837108543.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:31:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6573144368217290752,"description":"Unknown IO ID 45"} 
[2026-07-27 19:31:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001162496001,"power":27365,"unknown_79":206,"unknown_88":20736,"ignition":32,"odometer":null,"unknown_45":-6573144368217290752}} 
[2026-07-27 19:31:08] local.INFO: DEBUG: GPS processor result {"connection_id":143251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:31:08] local.INFO: GPS data processed {"connection_id":143251,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:31:08] local.INFO: Acknowledgment sent {"connection_id":143251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:31:13] local.INFO: TCP Data received {"connection_id":145519,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145519,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:31:13] local.INFO: Processing buffer {"connection_id":145519,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:31:13] local.INFO: IMEI packet received {"connection_id":145519,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 19:31:13] local.INFO: IMEI acknowledgment sent {"connection_id":145519,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:31:14] local.INFO: TCP Data received {"connection_id":145519,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145519,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:31:14] local.INFO: Processing buffer {"connection_id":145519,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:31:14] local.INFO: IMEI packet received {"connection_id":145519,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 19:31:14] local.INFO: IMEI acknowledgment sent {"connection_id":145519,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:31:19] local.INFO: TCP Data received {"connection_id":145519,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:31:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145519,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:31:19] local.INFO: Processing buffer {"connection_id":145519,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:31:19] local.INFO: IMEI packet received {"connection_id":145519,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 19:31:19] local.INFO: IMEI acknowledgment sent {"connection_id":145519,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:31:21] local.INFO: TCP Data received {"connection_id":145519,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3dfa5b8012d193ec0071ffb20003b010224..."} 
[2026-07-27 19:31:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3dfa5b8012d193ec0071ffb20003b010224..."} 
[2026-07-27 19:31:21] local.INFO: Processing buffer {"connection_id":145519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3dfa5b8012d193ec0071ffb20003b010224..."} 
[2026-07-27 19:31:21] local.INFO: Packet analysis {"connection_id":145519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3df"} 
[2026-07-27 19:31:21] local.INFO: Extracted packet for processing {"connection_id":145519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3df"} 
[2026-07-27 19:31:21] local.INFO: GPS Element Parsed {"raw_longitude":756629184,"raw_latitude":119536416,"longitude_deg":75.6629184,"latitude_deg":11.9536416,"altitude":59,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d193ec0","hex_latitude":"071ffb20","is_valid_coordinates":true} 
[2026-07-27 19: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-07-27 19:31:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001152000001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:31:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971061399912448,"note":"Value kept but may cause issues"} 
[2026-07-27 19:31:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819102436338114560,"note":"Value kept but may cause issues"} 
[2026-07-27 19:31: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-07-27 19:31:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785160771000,"timestamp_ms":1785160771000,"timestamp_seconds":1785160771,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3dfa5b8"} 
[2026-07-27 19:31:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:31:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-27 19:31:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19: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-07-27 19:31:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:31:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:31:21] local.INFO: Teltonika packet parsed successfully {"connection_id":145519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:31:21] local.INFO: Passing IMEI to GPS processor {"connection_id":145519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:31:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":145519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:31:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:31:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 19:31:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 19:31:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001152000001,"66":12385,"121":206,"28":31744,"24":0,"16":8971061399912448,"45":1819102436338114560},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 19:31:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 19:31:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 19:31:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001152000001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:31:21] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 19:31:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 19:31:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971061399912448,"km_value":8971061399912.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:31:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819102436338114560,"description":"Unknown IO ID 45"} 
[2026-07-27 19:31:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001152000001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1819102436338114560}} 
[2026-07-27 19:31:21] local.INFO: DEBUG: GPS processor result {"connection_id":145519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555049,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:31:21] local.INFO: GPS data processed {"connection_id":145519,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:31:21] local.INFO: Acknowledgment sent {"connection_id":145519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:31:25] local.INFO: TCP Data received {"connection_id":145519,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3dff7c0012d193ec0071ffb20003b010227..."} 
[2026-07-27 19:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3dff7c0012d193ec0071ffb20003b010227..."} 
[2026-07-27 19:31:25] local.INFO: Processing buffer {"connection_id":145519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3dff7c0012d193ec0071ffb20003b010227..."} 
[2026-07-27 19:31:25] local.INFO: Packet analysis {"connection_id":145519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3df"} 
[2026-07-27 19:31:25] local.INFO: Extracted packet for processing {"connection_id":145519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3df"} 
[2026-07-27 19:31:25] local.INFO: GPS Element Parsed {"raw_longitude":756629184,"raw_latitude":119536416,"longitude_deg":75.6629184,"latitude_deg":11.9536416,"altitude":59,"angle":258,"satellites":39,"speed":0,"hex_longitude":"2d193ec0","hex_latitude":"071ffb20","is_valid_coordinates":true} 
[2026-07-27 19:31:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:31:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001157376001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:31:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971061399912448,"note":"Value kept but may cause issues"} 
[2026-07-27 19:31:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819102436338114560,"note":"Value kept but may cause issues"} 
[2026-07-27 19:31: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-07-27 19:31:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785160792000,"timestamp_ms":1785160792000,"timestamp_seconds":1785160792,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3dff7c0"} 
[2026-07-27 19:31:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:31:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:31:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-27 19:31:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:31:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:31:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:31:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:31:25] local.INFO: Teltonika packet parsed successfully {"connection_id":145519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:31:25] local.INFO: Passing IMEI to GPS processor {"connection_id":145519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:31:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":145519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:31:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:31:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 19:31:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 19:31:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001157376001,"66":12374,"121":206,"28":31744,"24":0,"16":8971061399912448,"45":1819102436338114560},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 19:31:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 19:31:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 19:31:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001157376001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:31:25] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 19:31:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 19:31:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971061399912448,"km_value":8971061399912.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:31:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819102436338114560,"description":"Unknown IO ID 45"} 
[2026-07-27 19:31:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001157376001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1819102436338114560}} 
[2026-07-27 19:31:26] local.INFO: DEBUG: GPS processor result {"connection_id":145519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555050,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:31:26] local.INFO: GPS data processed {"connection_id":145519,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:31:26] local.INFO: Acknowledgment sent {"connection_id":145519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:31:33] local.INFO: TCP Data received {"connection_id":145520,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:31:33] local.INFO: Processing buffer {"connection_id":145520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:31:33] local.INFO: IMEI packet received {"connection_id":145520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 19:31:33] local.INFO: IMEI acknowledgment sent {"connection_id":145520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:31:35] local.INFO: TCP Data received {"connection_id":145520,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:31:35] local.INFO: Processing buffer {"connection_id":145520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:31:35] local.INFO: IMEI packet received {"connection_id":145520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 19:31:35] local.INFO: IMEI acknowledgment sent {"connection_id":145520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:31:36] local.INFO: TCP Data received {"connection_id":145520,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:31:36] local.INFO: Processing buffer {"connection_id":145520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:31:36] local.INFO: IMEI packet received {"connection_id":145520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 19:31:36] local.INFO: IMEI acknowledgment sent {"connection_id":145520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:31:37] local.INFO: TCP Data received {"connection_id":145520,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:31:37] local.INFO: Processing buffer {"connection_id":145520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:31:37] local.INFO: IMEI packet received {"connection_id":145520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 19:31:37] local.INFO: IMEI acknowledgment sent {"connection_id":145520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:31:38] local.INFO: TCP Data received {"connection_id":145520,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3e0d280012da4330005eb8de80028014a23..."} 
[2026-07-27 19:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3e0d280012da4330005eb8de80028014a23..."} 
[2026-07-27 19:31:38] local.INFO: Processing buffer {"connection_id":145520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3e0d280012da4330005eb8de80028014a23..."} 
[2026-07-27 19:31:38] local.INFO: Packet analysis {"connection_id":145520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3e0"} 
[2026-07-27 19:31:38] local.INFO: Extracted packet for processing {"connection_id":145520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3e0"} 
[2026-07-27 19:31:38] local.INFO: GPS Element Parsed {"raw_longitude":765735680,"raw_latitude":99323368,"longitude_deg":76.573568,"latitude_deg":9.9323368,"altitude":40,"angle":330,"satellites":35,"speed":24,"hex_longitude":"2da43300","hex_latitude":"05eb8de8","is_valid_coordinates":true} 
[2026-07-27 19:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:31:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001176576001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:31:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359304375434215424,"note":"Value kept but may cause issues"} 
[2026-07-27 19:31:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6614169346064633856,"note":"Value kept but may cause issues"} 
[2026-07-27 19:31:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:31:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785160848000,"timestamp_ms":1785160848000,"timestamp_seconds":1785160848,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3e0d280"} 
[2026-07-27 19:31:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:31:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-27 19:31:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:31:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:31:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:31:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:31:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:31:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:31:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:31:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:31:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 19:31:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 19:31:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001176576001,"66":27245,"80":206,"88":20736,"24":24,"16":359304375434215424,"45":-6614169346064633856},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,88,24,16,45]} 
[2026-07-27 19:31:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 19:31:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 19:31:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001176576001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:31:38] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-07-27 19:31:38] local.INFO: Unknown IO ID detected {"io_id":88,"value":20736,"description":"Unknown IO ID 88"} 
[2026-07-27 19:31:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359304375434215424,"km_value":359304375434215.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:31:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6614169346064633856,"description":"Unknown IO ID 45"} 
[2026-07-27 19:31:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001176576001,"power":27245,"unknown_80":206,"unknown_88":20736,"ignition":24,"odometer":null,"unknown_45":-6614169346064633856}} 
[2026-07-27 19:31:38] local.INFO: DEBUG: GPS processor result {"connection_id":145520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:31:38] local.INFO: GPS data processed {"connection_id":145520,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:31:38] local.INFO: Acknowledgment sent {"connection_id":145520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:31:42] local.INFO: TCP Data received {"connection_id":145520,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3e0da50012da4314005eb93100027015c25..."} 
[2026-07-27 19:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3e0da50012da4314005eb93100027015c25..."} 
[2026-07-27 19:31:42] local.INFO: Processing buffer {"connection_id":145520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3e0da50012da4314005eb93100027015c25..."} 
[2026-07-27 19:31:42] local.INFO: Packet analysis {"connection_id":145520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3e0"} 
[2026-07-27 19:31:42] local.INFO: Extracted packet for processing {"connection_id":145520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3e0"} 
[2026-07-27 19:31:42] local.INFO: GPS Element Parsed {"raw_longitude":765735232,"raw_latitude":99324688,"longitude_deg":76.5735232,"latitude_deg":9.9324688,"altitude":39,"angle":348,"satellites":37,"speed":28,"hex_longitude":"2da43140","hex_latitude":"05eb9310","is_valid_coordinates":true} 
[2026-07-27 19:31:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:31:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001177088001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:31:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359304444153692160,"note":"Value kept but may cause issues"} 
[2026-07-27 19:31:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6614943402250344448,"note":"Value kept but may cause issues"} 
[2026-07-27 19:31:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:31:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785160850000,"timestamp_ms":1785160850000,"timestamp_seconds":1785160850,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3e0da50"} 
[2026-07-27 19:31:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:31:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:31:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-27 19:31:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:31:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:31:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:31:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:31:42] local.INFO: Teltonika packet parsed successfully {"connection_id":145520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:31:42] local.INFO: Passing IMEI to GPS processor {"connection_id":145520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:31:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":145520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19: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-07-27 19:31:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 19:31:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 19:31:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001177088001,"66":27441,"80":206,"88":20736,"24":28,"16":359304444153692160,"45":-6614943402250344448},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,88,24,16,45]} 
[2026-07-27 19:31:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 19:31:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 19:31:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001177088001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:31:42] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-07-27 19:31:42] local.INFO: Unknown IO ID detected {"io_id":88,"value":20736,"description":"Unknown IO ID 88"} 
[2026-07-27 19:31:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359304444153692160,"km_value":359304444153692.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:31:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6614943402250344448,"description":"Unknown IO ID 45"} 
[2026-07-27 19:31:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001177088001,"power":27441,"unknown_80":206,"unknown_88":20736,"ignition":28,"odometer":null,"unknown_45":-6614943402250344448}} 
[2026-07-27 19:31:42] local.INFO: DEBUG: GPS processor result {"connection_id":145520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:31:42] local.INFO: GPS data processed {"connection_id":145520,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:31:42] local.INFO: Acknowledgment sent {"connection_id":145520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:31:59] local.INFO: TCP Data received {"connection_id":144241,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144241,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:31:59] local.INFO: Processing buffer {"connection_id":144241,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:31:59] local.INFO: IMEI packet received {"connection_id":144241,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 19:31:59] local.INFO: IMEI acknowledgment sent {"connection_id":144241,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:32:04] local.INFO: TCP Data received {"connection_id":144241,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144241,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:32:04] local.INFO: Processing buffer {"connection_id":144241,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:32:04] local.INFO: IMEI packet received {"connection_id":144241,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 19:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":144241,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:32:05] local.INFO: TCP Data received {"connection_id":144241,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3e049c8012d193ec0071ffb20003b010223..."} 
[2026-07-27 19:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3e049c8012d193ec0071ffb20003b010223..."} 
[2026-07-27 19:32:05] local.INFO: Processing buffer {"connection_id":144241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3e049c8012d193ec0071ffb20003b010223..."} 
[2026-07-27 19:32:05] local.INFO: Packet analysis {"connection_id":144241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3e0"} 
[2026-07-27 19:32:05] local.INFO: Extracted packet for processing {"connection_id":144241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3e0"} 
[2026-07-27 19:32:05] local.INFO: GPS Element Parsed {"raw_longitude":756629184,"raw_latitude":119536416,"longitude_deg":75.6629184,"latitude_deg":11.9536416,"altitude":59,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d193ec0","hex_latitude":"071ffb20","is_valid_coordinates":true} 
[2026-07-27 19:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:32:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001162752001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:32:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971061399912448,"note":"Value kept but may cause issues"} 
[2026-07-27 19:32:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819102436338114560,"note":"Value kept but may cause issues"} 
[2026-07-27 19:32:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:32:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785160813000,"timestamp_ms":1785160813000,"timestamp_seconds":1785160813,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3e049c8"} 
[2026-07-27 19:32:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:32:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-27 19:32:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:32:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:32:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:32:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:32:05] local.INFO: Teltonika packet parsed successfully {"connection_id":144241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:32:05] local.INFO: Passing IMEI to GPS processor {"connection_id":144241,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:32:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":144241,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:32:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:32:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 19:32:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 19:32:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001162752001,"66":12385,"70":206,"28":31744,"24":0,"16":8971061399912448,"45":1819102436338114560},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-27 19:32:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 19:32:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 19:32:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001162752001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:32:05] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-27 19:32:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 19:32:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971061399912448,"km_value":8971061399912.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:32:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819102436338114560,"description":"Unknown IO ID 45"} 
[2026-07-27 19:32:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001162752001,"power":12385,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1819102436338114560}} 
[2026-07-27 19:32:06] local.INFO: DEBUG: GPS processor result {"connection_id":144241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555053,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:32:06] local.INFO: GPS data processed {"connection_id":144241,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:32:06] local.INFO: Acknowledgment sent {"connection_id":144241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:32:09] local.INFO: TCP Data received {"connection_id":144241,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3e09bd0012d193ec0071ffb20003b010225..."} 
[2026-07-27 19:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3e09bd0012d193ec0071ffb20003b010225..."} 
[2026-07-27 19:32:09] local.INFO: Processing buffer {"connection_id":144241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3e09bd0012d193ec0071ffb20003b010225..."} 
[2026-07-27 19:32:09] local.INFO: Packet analysis {"connection_id":144241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3e0"} 
[2026-07-27 19:32:09] local.INFO: Extracted packet for processing {"connection_id":144241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3e0"} 
[2026-07-27 19:32:09] local.INFO: GPS Element Parsed {"raw_longitude":756629184,"raw_latitude":119536416,"longitude_deg":75.6629184,"latitude_deg":11.9536416,"altitude":59,"angle":258,"satellites":37,"speed":0,"hex_longitude":"2d193ec0","hex_latitude":"071ffb20","is_valid_coordinates":true} 
[2026-07-27 19:32:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:32:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001168128001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:32:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971061399912448,"note":"Value kept but may cause issues"} 
[2026-07-27 19:32:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819102436338114560,"note":"Value kept but may cause issues"} 
[2026-07-27 19:32:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:32:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785160834000,"timestamp_ms":1785160834000,"timestamp_seconds":1785160834,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3e09bd0"} 
[2026-07-27 19:32:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:32:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-27 19:32:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:32:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:32:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:32:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:32:09] local.INFO: Teltonika packet parsed successfully {"connection_id":144241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:32:09] local.INFO: Passing IMEI to GPS processor {"connection_id":144241,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:32:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":144241,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:32:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:32:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 19:32:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 19:32:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001168128001,"66":12287,"71":206,"28":31744,"24":0,"16":8971061399912448,"45":1819102436338114560},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-07-27 19:32:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 19:32:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 19:32:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001168128001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:32:09] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-27 19:32:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 19:32:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971061399912448,"km_value":8971061399912.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:32:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819102436338114560,"description":"Unknown IO ID 45"} 
[2026-07-27 19:32:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001168128001,"power":12287,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1819102436338114560}} 
[2026-07-27 19:32:10] local.INFO: DEBUG: GPS processor result {"connection_id":144241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555054,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:32:10] local.INFO: GPS data processed {"connection_id":144241,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:32:10] local.INFO: Acknowledgment sent {"connection_id":144241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:32:14] local.INFO: TCP Data received {"connection_id":145520,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3e166f0012da4640005ec05300019003b28..."} 
[2026-07-27 19:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3e166f0012da4640005ec05300019003b28..."} 
[2026-07-27 19:32:14] local.INFO: Processing buffer {"connection_id":145520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3e166f0012da4640005ec05300019003b28..."} 
[2026-07-27 19:32:14] local.INFO: Packet analysis {"connection_id":145520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3e1"} 
[2026-07-27 19:32:14] local.INFO: Extracted packet for processing {"connection_id":145520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3e1"} 
[2026-07-27 19:32:14] local.INFO: GPS Element Parsed {"raw_longitude":765748224,"raw_latitude":99353904,"longitude_deg":76.5748224,"latitude_deg":9.9353904,"altitude":25,"angle":59,"satellites":40,"speed":33,"hex_longitude":"2da46400","hex_latitude":"05ec0530","is_valid_coordinates":true} 
[2026-07-27 19:32:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:32:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001186304001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:32:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359306127780872192,"note":"Value kept but may cause issues"} 
[2026-07-27 19:32:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6602558503267549184,"note":"Value kept but may cause issues"} 
[2026-07-27 19:32:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:32:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785160886000,"timestamp_ms":1785160886000,"timestamp_seconds":1785160886,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3e166f0"} 
[2026-07-27 19:32:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:32:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:32:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-27 19:32:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:32:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:32:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:32:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:32:14] local.INFO: Teltonika packet parsed successfully {"connection_id":145520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:32:14] local.INFO: Passing IMEI to GPS processor {"connection_id":145520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:32:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":145520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:32: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-07-27 19:32:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 19:32:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 19:32:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001186304001,"66":27267,"80":206,"88":20736,"24":33,"16":359306127780872192,"45":-6602558503267549184},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,88,24,16,45]} 
[2026-07-27 19:32:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 19:32:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 19:32:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001186304001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:32:14] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-07-27 19:32:14] local.INFO: Unknown IO ID detected {"io_id":88,"value":20736,"description":"Unknown IO ID 88"} 
[2026-07-27 19:32:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359306127780872192,"km_value":359306127780872.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:32:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6602558503267549184,"description":"Unknown IO ID 45"} 
[2026-07-27 19:32:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001186304001,"power":27267,"unknown_80":206,"unknown_88":20736,"ignition":33,"odometer":null,"unknown_45":-6602558503267549184}} 
[2026-07-27 19:32:14] local.INFO: DEBUG: GPS processor result {"connection_id":145520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:32:14] local.INFO: GPS data processed {"connection_id":145520,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:32:14] local.INFO: Acknowledgment sent {"connection_id":145520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:32:31] local.INFO: TCP Data received {"connection_id":143113,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:32:31] local.INFO: Processing buffer {"connection_id":143113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:32:31] local.INFO: IMEI packet received {"connection_id":143113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 19:32:31] local.INFO: IMEI acknowledgment sent {"connection_id":143113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:32:36] local.INFO: TCP Data received {"connection_id":143113,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:32:36] local.INFO: Processing buffer {"connection_id":143113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:32:36] local.INFO: IMEI packet received {"connection_id":143113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 19:32:36] local.INFO: IMEI acknowledgment sent {"connection_id":143113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:32:40] local.INFO: TCP Data received {"connection_id":143113,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3e16ad8012da4670005ec0660001a00482a..."} 
[2026-07-27 19:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143113,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3e16ad8012da4670005ec0660001a00482a..."} 
[2026-07-27 19:32:40] local.INFO: Processing buffer {"connection_id":143113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3e16ad8012da4670005ec0660001a00482a..."} 
[2026-07-27 19:32:40] local.INFO: Packet analysis {"connection_id":143113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3e1"} 
[2026-07-27 19:32:40] local.INFO: Extracted packet for processing {"connection_id":143113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3e1"} 
[2026-07-27 19:32:40] local.INFO: GPS Element Parsed {"raw_longitude":765748992,"raw_latitude":99354208,"longitude_deg":76.5748992,"latitude_deg":9.9354208,"altitude":26,"angle":72,"satellites":42,"speed":33,"hex_longitude":"2da46700","hex_latitude":"05ec0660","is_valid_coordinates":true} 
[2026-07-27 19: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-07-27 19:32:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001186816001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:32:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359306166435577856,"note":"Value kept but may cause issues"} 
[2026-07-27 19:32:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6601151128383705088,"note":"Value kept but may cause issues"} 
[2026-07-27 19:32:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:32:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785160887000,"timestamp_ms":1785160887000,"timestamp_seconds":1785160887,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3e16ad8"} 
[2026-07-27 19:32:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:32:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:32:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-27 19:32:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19: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-07-27 19:32:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:32:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:32:40] local.INFO: Teltonika packet parsed successfully {"connection_id":143113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:32:40] local.INFO: Passing IMEI to GPS processor {"connection_id":143113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:32:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":143113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:32: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-07-27 19:32:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 19:32:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 19:32:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001186816001,"66":27267,"80":206,"88":20736,"24":33,"16":359306166435577856,"45":-6601151128383705088},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,88,24,16,45]} 
[2026-07-27 19:32:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 19:32:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 19:32:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001186816001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:32:40] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-07-27 19:32:40] local.INFO: Unknown IO ID detected {"io_id":88,"value":20736,"description":"Unknown IO ID 88"} 
[2026-07-27 19:32:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359306166435577856,"km_value":359306166435577.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:32:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6601151128383705088,"description":"Unknown IO ID 45"} 
[2026-07-27 19:32:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001186816001,"power":27267,"unknown_80":206,"unknown_88":20736,"ignition":33,"odometer":null,"unknown_45":-6601151128383705088}} 
[2026-07-27 19:32:40] local.INFO: DEBUG: GPS processor result {"connection_id":143113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:32:40] local.INFO: GPS data processed {"connection_id":143113,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:32:40] local.INFO: Acknowledgment sent {"connection_id":143113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:32:41] local.INFO: TCP Data received {"connection_id":144241,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3e0edd8012d193ec0071ffb20003b010223..."} 
[2026-07-27 19:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3e0edd8012d193ec0071ffb20003b010223..."} 
[2026-07-27 19:32:41] local.INFO: Processing buffer {"connection_id":144241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3e0edd8012d193ec0071ffb20003b010223..."} 
[2026-07-27 19:32:41] local.INFO: Packet analysis {"connection_id":144241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3e0"} 
[2026-07-27 19:32:41] local.INFO: Extracted packet for processing {"connection_id":144241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3e0"} 
[2026-07-27 19:32:41] local.INFO: GPS Element Parsed {"raw_longitude":756629184,"raw_latitude":119536416,"longitude_deg":75.6629184,"latitude_deg":11.9536416,"altitude":59,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d193ec0","hex_latitude":"071ffb20","is_valid_coordinates":true} 
[2026-07-27 19: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-07-27 19:32:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001173504001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:32:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971061399912448,"note":"Value kept but may cause issues"} 
[2026-07-27 19:32:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819102436338114560,"note":"Value kept but may cause issues"} 
[2026-07-27 19:32:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:32:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785160855000,"timestamp_ms":1785160855000,"timestamp_seconds":1785160855,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3e0edd8"} 
[2026-07-27 19:32:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:32:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-27 19:32:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19: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-07-27 19:32:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:32:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:32:41] local.INFO: Teltonika packet parsed successfully {"connection_id":144241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:32:41] local.INFO: Passing IMEI to GPS processor {"connection_id":144241,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:32:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":144241,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:32:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:32:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 19:32:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 19:32:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001173504001,"66":11547,"71":206,"28":31744,"24":0,"16":8971061399912448,"45":1819102436338114560},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-07-27 19:32:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 19:32:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 19:32:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001173504001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:32:41] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-27 19:32:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 19:32:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971061399912448,"km_value":8971061399912.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:32:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819102436338114560,"description":"Unknown IO ID 45"} 
[2026-07-27 19:32:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001173504001,"power":11547,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1819102436338114560}} 
[2026-07-27 19:32:42] local.INFO: DEBUG: GPS processor result {"connection_id":144241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555057,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:32:42] local.INFO: GPS data processed {"connection_id":144241,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:32:42] local.INFO: Acknowledgment sent {"connection_id":144241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:32:57] local.INFO: TCP Data received {"connection_id":143252,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143252,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:32:57] local.INFO: Processing buffer {"connection_id":143252,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:32:57] local.INFO: IMEI packet received {"connection_id":143252,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 19:32:57] local.INFO: IMEI acknowledgment sent {"connection_id":143252,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:32:59] local.INFO: TCP Data received {"connection_id":143252,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143252,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:32:59] local.INFO: Processing buffer {"connection_id":143252,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:32:59] local.INFO: IMEI packet received {"connection_id":143252,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 19:32:59] local.INFO: IMEI acknowledgment sent {"connection_id":143252,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:33:04] local.INFO: TCP Data received {"connection_id":143252,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143252,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:33:04] local.INFO: Processing buffer {"connection_id":143252,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:33:04] local.INFO: IMEI packet received {"connection_id":143252,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 19:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":143252,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:33:06] local.INFO: TCP Data received {"connection_id":143252,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3e13fe0012d193ec0071ffb20003b010224..."} 
[2026-07-27 19:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3e13fe0012d193ec0071ffb20003b010224..."} 
[2026-07-27 19:33:06] local.INFO: Processing buffer {"connection_id":143252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3e13fe0012d193ec0071ffb20003b010224..."} 
[2026-07-27 19:33:06] local.INFO: Packet analysis {"connection_id":143252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3e1"} 
[2026-07-27 19:33:06] local.INFO: Extracted packet for processing {"connection_id":143252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3e1"} 
[2026-07-27 19:33:06] local.INFO: GPS Element Parsed {"raw_longitude":756629184,"raw_latitude":119536416,"longitude_deg":75.6629184,"latitude_deg":11.9536416,"altitude":59,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d193ec0","hex_latitude":"071ffb20","is_valid_coordinates":true} 
[2026-07-27 19:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:33:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001178880001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:33:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971061399912448,"note":"Value kept but may cause issues"} 
[2026-07-27 19:33:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819102436338114560,"note":"Value kept but may cause issues"} 
[2026-07-27 19:33:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:33:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785160876000,"timestamp_ms":1785160876000,"timestamp_seconds":1785160876,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3e13fe0"} 
[2026-07-27 19:33:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:33:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-07-27 19:33:06] 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-07-27 19:33:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:33:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:33:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:33:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:33:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:33:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:33:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:33:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 19:33:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 19:33:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001178880001,"66":11950,"71":206,"28":31744,"24":0,"16":8971061399912448,"45":1819102436338114560},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-07-27 19:33:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 19:33:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 19:33:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001178880001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:33:06] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-27 19:33:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 19:33:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971061399912448,"km_value":8971061399912.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:33:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819102436338114560,"description":"Unknown IO ID 45"} 
[2026-07-27 19:33:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001178880001,"power":11950,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1819102436338114560}} 
[2026-07-27 19:33:06] local.INFO: DEBUG: GPS processor result {"connection_id":143252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555058,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:33:06] local.INFO: GPS data processed {"connection_id":143252,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:33:06] local.INFO: Acknowledgment sent {"connection_id":143252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:33:11] local.INFO: TCP Data received {"connection_id":143113,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3e18a18012da47e8005ec0c60001b003a29..."} 
[2026-07-27 19:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143113,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3e18a18012da47e8005ec0c60001b003a29..."} 
[2026-07-27 19:33:11] local.INFO: Processing buffer {"connection_id":143113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3e18a18012da47e8005ec0c60001b003a29..."} 
[2026-07-27 19:33:11] local.INFO: Packet analysis {"connection_id":143113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3e1"} 
[2026-07-27 19:33:11] local.INFO: Extracted packet for processing {"connection_id":143113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3e1"} 
[2026-07-27 19:33:11] local.INFO: GPS Element Parsed {"raw_longitude":765755008,"raw_latitude":99355744,"longitude_deg":76.5755008,"latitude_deg":9.9355744,"altitude":27,"angle":58,"satellites":41,"speed":27,"hex_longitude":"2da47e80","hex_latitude":"05ec0c60","is_valid_coordinates":true} 
[2026-07-27 19: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-07-27 19:33:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001187072001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:33:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359306467083288576,"note":"Value kept but may cause issues"} 
[2026-07-27 19:33:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6600306703453495296,"note":"Value kept but may cause issues"} 
[2026-07-27 19:33:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:33:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785160895000,"timestamp_ms":1785160895000,"timestamp_seconds":1785160895,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3e18a18"} 
[2026-07-27 19:33:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:33:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-27 19:33:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19: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-07-27 19:33:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:33:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:33:11] local.INFO: Teltonika packet parsed successfully {"connection_id":143113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:33:11] local.INFO: Passing IMEI to GPS processor {"connection_id":143113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:33:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":143113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:33: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-07-27 19:33:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 19:33:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 19:33:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001187072001,"66":27332,"80":206,"88":20736,"24":27,"16":359306467083288576,"45":-6600306703453495296},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,88,24,16,45]} 
[2026-07-27 19:33:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 19:33:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 19:33:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001187072001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:33:11] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-07-27 19:33:11] local.INFO: Unknown IO ID detected {"io_id":88,"value":20736,"description":"Unknown IO ID 88"} 
[2026-07-27 19:33:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359306467083288576,"km_value":359306467083288.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:33:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6600306703453495296,"description":"Unknown IO ID 45"} 
[2026-07-27 19:33:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001187072001,"power":27332,"unknown_80":206,"unknown_88":20736,"ignition":27,"odometer":null,"unknown_45":-6600306703453495296}} 
[2026-07-27 19:33:11] local.INFO: DEBUG: GPS processor result {"connection_id":143113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:33:11] local.INFO: GPS data processed {"connection_id":143113,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:33:11] local.INFO: Acknowledgment sent {"connection_id":143113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:33:29] local.INFO: TCP Data received {"connection_id":144242,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:33:29] local.INFO: Processing buffer {"connection_id":144242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:33:29] local.INFO: IMEI packet received {"connection_id":144242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 19:33:29] local.INFO: IMEI acknowledgment sent {"connection_id":144242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:33:31] local.INFO: TCP Data received {"connection_id":144242,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:33:31] local.INFO: Processing buffer {"connection_id":144242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:33:31] local.INFO: IMEI packet received {"connection_id":144242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 19:33:31] local.INFO: IMEI acknowledgment sent {"connection_id":144242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:33:35] local.INFO: TCP Data received {"connection_id":144242,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:33:35] local.INFO: Processing buffer {"connection_id":144242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:33:35] local.INFO: IMEI packet received {"connection_id":144242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 19:33:35] local.INFO: IMEI acknowledgment sent {"connection_id":144242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:33:36] local.INFO: TCP Data received {"connection_id":144242,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3e1b510012da49a4005ec1db0001e002c2a..."} 
[2026-07-27 19:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144242,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3e1b510012da49a4005ec1db0001e002c2a..."} 
[2026-07-27 19:33:36] local.INFO: Processing buffer {"connection_id":144242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3e1b510012da49a4005ec1db0001e002c2a..."} 
[2026-07-27 19:33:36] local.INFO: Packet analysis {"connection_id":144242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3e1"} 
[2026-07-27 19:33:36] local.INFO: Extracted packet for processing {"connection_id":144242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3e1"} 
[2026-07-27 19:33:36] local.INFO: GPS Element Parsed {"raw_longitude":765762112,"raw_latitude":99360176,"longitude_deg":76.5762112,"latitude_deg":9.9360176,"altitude":30,"angle":44,"satellites":42,"speed":33,"hex_longitude":"2da49a40","hex_latitude":"05ec1db0","is_valid_coordinates":true} 
[2026-07-27 19:33:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:33:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001189120001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:33:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359306870810214400,"note":"Value kept but may cause issues"} 
[2026-07-27 19:33:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6593692041500401664,"note":"Value kept but may cause issues"} 
[2026-07-27 19:33:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:33:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785160906000,"timestamp_ms":1785160906000,"timestamp_seconds":1785160906,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3e1b510"} 
[2026-07-27 19:33:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:33:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:33:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-27 19:33:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:33:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:33:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:33:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:33:36] local.INFO: Teltonika packet parsed successfully {"connection_id":144242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:33:36] local.INFO: Passing IMEI to GPS processor {"connection_id":144242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:33:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":144242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:33:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:33:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 19:33:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 19:33:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001189120001,"66":27321,"80":206,"88":20736,"24":33,"16":359306870810214400,"45":-6593692041500401664},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,88,24,16,45]} 
[2026-07-27 19:33:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 19:33:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 19:33:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001189120001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:33:36] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-07-27 19:33:36] local.INFO: Unknown IO ID detected {"io_id":88,"value":20736,"description":"Unknown IO ID 88"} 
[2026-07-27 19:33:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359306870810214400,"km_value":359306870810214.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:33:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6593692041500401664,"description":"Unknown IO ID 45"} 
[2026-07-27 19:33:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001189120001,"power":27321,"unknown_80":206,"unknown_88":20736,"ignition":33,"odometer":null,"unknown_45":-6593692041500401664}} 
[2026-07-27 19:33:36] local.INFO: DEBUG: GPS processor result {"connection_id":144242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:33:36] local.INFO: GPS data processed {"connection_id":144242,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:33:36] local.INFO: Acknowledgment sent {"connection_id":144242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:33:43] local.INFO: TCP Data received {"connection_id":143252,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3e191e8012d193ec0071ffb20003b010226..."} 
[2026-07-27 19:33:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3e191e8012d193ec0071ffb20003b010226..."} 
[2026-07-27 19:33:43] local.INFO: Processing buffer {"connection_id":143252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3e191e8012d193ec0071ffb20003b010226..."} 
[2026-07-27 19:33:43] local.INFO: Packet analysis {"connection_id":143252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3e1"} 
[2026-07-27 19:33:43] local.INFO: Extracted packet for processing {"connection_id":143252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3e1"} 
[2026-07-27 19:33:43] local.INFO: GPS Element Parsed {"raw_longitude":756629184,"raw_latitude":119536416,"longitude_deg":75.6629184,"latitude_deg":11.9536416,"altitude":59,"angle":258,"satellites":38,"speed":0,"hex_longitude":"2d193ec0","hex_latitude":"071ffb20","is_valid_coordinates":true} 
[2026-07-27 19:33:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:33:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001184256001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:33:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971061399912448,"note":"Value kept but may cause issues"} 
[2026-07-27 19:33:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819102436338114560,"note":"Value kept but may cause issues"} 
[2026-07-27 19:33:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:33:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785160897000,"timestamp_ms":1785160897000,"timestamp_seconds":1785160897,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3e191e8"} 
[2026-07-27 19:33:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:33:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19: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":46,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-27 19:33:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1994,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:33:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:33:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:33:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:33:43] local.INFO: Teltonika packet parsed successfully {"connection_id":143252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:33:43] local.INFO: Passing IMEI to GPS processor {"connection_id":143252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:33:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":143252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:33:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:33:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 19:33:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 19:33:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001184256001,"66":11210,"71":206,"28":31744,"24":0,"16":8971061399912448,"45":1819102436338114560},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-07-27 19:33:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 19:33:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 19:33:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001184256001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:33:43] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-27 19:33:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 19:33:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971061399912448,"km_value":8971061399912.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:33:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819102436338114560,"description":"Unknown IO ID 45"} 
[2026-07-27 19:33:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001184256001,"power":11210,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1819102436338114560}} 
[2026-07-27 19:33:43] local.INFO: DEBUG: GPS processor result {"connection_id":143252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555061,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:33:43] local.INFO: GPS data processed {"connection_id":143252,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:33:43] local.INFO: Acknowledgment sent {"connection_id":143252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:33:59] local.INFO: TCP Data received {"connection_id":143114,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143114,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:33:59] local.INFO: Processing buffer {"connection_id":143114,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:33:59] local.INFO: IMEI packet received {"connection_id":143114,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 19:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":143114,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:34:00] local.INFO: TCP Data received {"connection_id":143114,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143114,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:34:00] local.INFO: Processing buffer {"connection_id":143114,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:34:00] local.INFO: IMEI packet received {"connection_id":143114,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 19:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":143114,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:34:04] local.INFO: TCP Data received {"connection_id":143114,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143114,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:34:04] local.INFO: Processing buffer {"connection_id":143114,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:34:04] local.INFO: IMEI packet received {"connection_id":143114,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 19:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":143114,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:34:08] local.INFO: TCP Data received {"connection_id":144242,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3e310b8012da4590005ed56800011014125..."} 
[2026-07-27 19:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144242,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3e310b8012da4590005ed56800011014125..."} 
[2026-07-27 19:34:08] local.INFO: Processing buffer {"connection_id":144242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3e310b8012da4590005ed56800011014125..."} 
[2026-07-27 19:34:08] local.INFO: Packet analysis {"connection_id":144242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3e3"} 
[2026-07-27 19:34:08] local.INFO: Extracted packet for processing {"connection_id":144242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3e3"} 
[2026-07-27 19:34:08] local.INFO: GPS Element Parsed {"raw_longitude":765745408,"raw_latitude":99440256,"longitude_deg":76.5745408,"latitude_deg":9.9440256,"altitude":17,"angle":321,"satellites":37,"speed":40,"hex_longitude":"2da45900","hex_latitude":"05ed5680","is_valid_coordinates":true} 
[2026-07-27 19:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:34:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001212416001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:34:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359311024043589632,"note":"Value kept but may cause issues"} 
[2026-07-27 19:34:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6598477116084746240,"note":"Value kept but may cause issues"} 
[2026-07-27 19:34:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:34:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785160995000,"timestamp_ms":1785160995000,"timestamp_seconds":1785160995,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3e310b8"} 
[2026-07-27 19:34:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:34:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-27 19:34:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:34:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:34:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:34:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:34:08] local.INFO: Teltonika packet parsed successfully {"connection_id":144242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:34:08] local.INFO: Passing IMEI to GPS processor {"connection_id":144242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:34:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":144242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19: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-07-27 19:34:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 19:34:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 19:34:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001212416001,"66":27571,"81":206,"88":20736,"24":40,"16":359311024043589632,"45":-6598477116084746240},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,88,24,16,45]} 
[2026-07-27 19:34:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 19:34:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 19:34:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001212416001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:34:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-27 19:34:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":20736,"description":"Unknown IO ID 88"} 
[2026-07-27 19:34:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359311024043589632,"km_value":359311024043589.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:34:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6598477116084746240,"description":"Unknown IO ID 45"} 
[2026-07-27 19:34:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001212416001,"power":27571,"unknown_81":206,"unknown_88":20736,"ignition":40,"odometer":null,"unknown_45":-6598477116084746240}} 
[2026-07-27 19:34:08] local.INFO: DEBUG: GPS processor result {"connection_id":144242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:34:08] local.INFO: GPS data processed {"connection_id":144242,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:34:08] local.INFO: Acknowledgment sent {"connection_id":144242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:34:08] local.INFO: TCP Data received {"connection_id":143114,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3e1e3f0012d193ec0071ffb20003b010224..."} 
[2026-07-27 19:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3e1e3f0012d193ec0071ffb20003b010224..."} 
[2026-07-27 19:34:08] local.INFO: Processing buffer {"connection_id":143114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3e1e3f0012d193ec0071ffb20003b010224..."} 
[2026-07-27 19:34:08] local.INFO: Packet analysis {"connection_id":143114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3e1"} 
[2026-07-27 19:34:08] local.INFO: Extracted packet for processing {"connection_id":143114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3e1"} 
[2026-07-27 19:34:08] local.INFO: GPS Element Parsed {"raw_longitude":756629184,"raw_latitude":119536416,"longitude_deg":75.6629184,"latitude_deg":11.9536416,"altitude":59,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d193ec0","hex_latitude":"071ffb20","is_valid_coordinates":true} 
[2026-07-27 19:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:34:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001189632001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:34:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971061399912448,"note":"Value kept but may cause issues"} 
[2026-07-27 19:34:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819102436338114560,"note":"Value kept but may cause issues"} 
[2026-07-27 19:34:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:34:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785160918000,"timestamp_ms":1785160918000,"timestamp_seconds":1785160918,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3e1e3f0"} 
[2026-07-27 19:34:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:34:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":43,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-07-27 19:34:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2231,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:34:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:34:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:34:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:34:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:34:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143114,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:34:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143114,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:34:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:34:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 19:34:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 19:34:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001189632001,"66":12363,"71":206,"28":31744,"24":0,"16":8971061399912448,"45":1819102436338114560},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-07-27 19:34:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 19:34:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 19:34:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001189632001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:34:08] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-27 19:34:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 19:34:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971061399912448,"km_value":8971061399912.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:34:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819102436338114560,"description":"Unknown IO ID 45"} 
[2026-07-27 19:34:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001189632001,"power":12363,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1819102436338114560}} 
[2026-07-27 19:34:08] local.INFO: DEBUG: GPS processor result {"connection_id":143114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555063,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:34:08] local.INFO: GPS data processed {"connection_id":143114,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:34:08] local.INFO: Acknowledgment sent {"connection_id":143114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:34:31] local.INFO: TCP Data received {"connection_id":143253,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:34:31] local.INFO: Processing buffer {"connection_id":143253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:34:31] local.INFO: IMEI packet received {"connection_id":143253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 19:34:31] local.INFO: IMEI acknowledgment sent {"connection_id":143253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:34:32] local.INFO: TCP Data received {"connection_id":143253,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:34:32] local.INFO: Processing buffer {"connection_id":143253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:34:32] local.INFO: IMEI packet received {"connection_id":143253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 19:34:32] local.INFO: IMEI acknowledgment sent {"connection_id":143253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:34:34] local.INFO: TCP Data received {"connection_id":143253,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:34:34] local.INFO: Processing buffer {"connection_id":143253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:34:34] local.INFO: IMEI packet received {"connection_id":143253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 19:34:34] local.INFO: IMEI acknowledgment sent {"connection_id":143253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:34:36] local.INFO: TCP Data received {"connection_id":143253,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:34:36] local.INFO: Processing buffer {"connection_id":143253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:34:36] local.INFO: IMEI packet received {"connection_id":143253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 19:34:36] local.INFO: IMEI acknowledgment sent {"connection_id":143253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:34:37] local.INFO: TCP Data received {"connection_id":143253,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3e32828012da44bc005ed6a48000e014e27..."} 
[2026-07-27 19:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3e32828012da44bc005ed6a48000e014e27..."} 
[2026-07-27 19:34:37] local.INFO: Processing buffer {"connection_id":143253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3e32828012da44bc005ed6a48000e014e27..."} 
[2026-07-27 19:34:37] local.INFO: Packet analysis {"connection_id":143253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3e3"} 
[2026-07-27 19:34:37] local.INFO: Extracted packet for processing {"connection_id":143253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3e3"} 
[2026-07-27 19:34:37] local.INFO: GPS Element Parsed {"raw_longitude":765742016,"raw_latitude":99445320,"longitude_deg":76.5742016,"latitude_deg":9.944532,"altitude":14,"angle":334,"satellites":39,"speed":39,"hex_longitude":"2da44bc0","hex_latitude":"05ed6a48","is_valid_coordinates":true} 
[2026-07-27 19:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:34:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001214720001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:34:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359311320396333056,"note":"Value kept but may cause issues"} 
[2026-07-27 19:34:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6604247353105416192,"note":"Value kept but may cause issues"} 
[2026-07-27 19:34:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:34:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785161001000,"timestamp_ms":1785161001000,"timestamp_seconds":1785161001,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3e32828"} 
[2026-07-27 19:34:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:34:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-27 19:34:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:34:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:34:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:34:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:34:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:34:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:34:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:34:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:34:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 19:34:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 19:34:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001214720001,"66":27376,"81":206,"88":20736,"24":39,"16":359311320396333056,"45":-6604247353105416192},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,88,24,16,45]} 
[2026-07-27 19:34:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 19:34:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 19:34:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001214720001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:34:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-27 19:34:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":20736,"description":"Unknown IO ID 88"} 
[2026-07-27 19:34:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359311320396333056,"km_value":359311320396333.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:34:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6604247353105416192,"description":"Unknown IO ID 45"} 
[2026-07-27 19:34:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001214720001,"power":27376,"unknown_81":206,"unknown_88":20736,"ignition":39,"odometer":null,"unknown_45":-6604247353105416192}} 
[2026-07-27 19:34:37] local.INFO: DEBUG: GPS processor result {"connection_id":143253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:34:37] local.INFO: GPS data processed {"connection_id":143253,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:34:37] local.INFO: Acknowledgment sent {"connection_id":143253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:34:41] local.INFO: TCP Data received {"connection_id":143114,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3e235f8012d193ec0071ffb20003b010224..."} 
[2026-07-27 19:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3e235f8012d193ec0071ffb20003b010224..."} 
[2026-07-27 19:34:41] local.INFO: Processing buffer {"connection_id":143114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3e235f8012d193ec0071ffb20003b010224..."} 
[2026-07-27 19:34:41] local.INFO: Packet analysis {"connection_id":143114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3e2"} 
[2026-07-27 19:34:41] local.INFO: Extracted packet for processing {"connection_id":143114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3e2"} 
[2026-07-27 19:34:41] local.INFO: GPS Element Parsed {"raw_longitude":756629184,"raw_latitude":119536416,"longitude_deg":75.6629184,"latitude_deg":11.9536416,"altitude":59,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d193ec0","hex_latitude":"071ffb20","is_valid_coordinates":true} 
[2026-07-27 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-07-27 19:34:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001195008001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:34:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971061399912448,"note":"Value kept but may cause issues"} 
[2026-07-27 19:34:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819102436338114560,"note":"Value kept but may cause issues"} 
[2026-07-27 19:34:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:34:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785160939000,"timestamp_ms":1785160939000,"timestamp_seconds":1785160939,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3e235f8"} 
[2026-07-27 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-07-27 19:34:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-27 19:34:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 19:34:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:34:41] local.INFO: Teltonika packet parsed successfully {"connection_id":143114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:34:41] local.INFO: Passing IMEI to GPS processor {"connection_id":143114,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:34:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":143114,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:34:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:34:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 19:34:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 19:34:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001195008001,"66":12341,"71":206,"28":31744,"24":0,"16":8971061399912448,"45":1819102436338114560},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-07-27 19:34:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 19:34:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 19:34:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001195008001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:34:41] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-27 19:34:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 19:34:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971061399912448,"km_value":8971061399912.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:34:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819102436338114560,"description":"Unknown IO ID 45"} 
[2026-07-27 19:34:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001195008001,"power":12341,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1819102436338114560}} 
[2026-07-27 19:34:41] local.INFO: DEBUG: GPS processor result {"connection_id":143114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555065,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:34:41] local.INFO: GPS data processed {"connection_id":143114,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:34:41] local.INFO: Acknowledgment sent {"connection_id":143114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:34:42] local.INFO: TCP Data received {"connection_id":143253,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3e333e0012da4480005ed7580000e015b26..."} 
[2026-07-27 19:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3e333e0012da4480005ed7580000e015b26..."} 
[2026-07-27 19:34:42] local.INFO: Processing buffer {"connection_id":143253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3e333e0012da4480005ed7580000e015b26..."} 
[2026-07-27 19:34:42] local.INFO: Packet analysis {"connection_id":143253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3e3"} 
[2026-07-27 19:34:42] local.INFO: Extracted packet for processing {"connection_id":143253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3e3"} 
[2026-07-27 19:34:42] local.INFO: GPS Element Parsed {"raw_longitude":765741056,"raw_latitude":99448192,"longitude_deg":76.5741056,"latitude_deg":9.9448192,"altitude":14,"angle":347,"satellites":38,"speed":39,"hex_longitude":"2da44800","hex_latitude":"05ed7580","is_valid_coordinates":true} 
[2026-07-27 19:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:34:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001216256001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:34:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359311466425221120,"note":"Value kept but may cause issues"} 
[2026-07-27 19:34:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6607976896545536000,"note":"Value kept but may cause issues"} 
[2026-07-27 19:34:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:34:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785161004000,"timestamp_ms":1785161004000,"timestamp_seconds":1785161004,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3e333e0"} 
[2026-07-27 19:34:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:34:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-27 19:34:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:34:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:34:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:34:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:34:42] local.INFO: Teltonika packet parsed successfully {"connection_id":143253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:34:42] local.INFO: Passing IMEI to GPS processor {"connection_id":143253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:34:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":143253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:34:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:34:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 19:34:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 19:34:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001216256001,"66":27310,"81":206,"88":20736,"24":39,"16":359311466425221120,"45":-6607976896545536000},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,88,24,16,45]} 
[2026-07-27 19:34:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 19:34:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 19:34:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001216256001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:34:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-27 19:34:42] local.INFO: Unknown IO ID detected {"io_id":88,"value":20736,"description":"Unknown IO ID 88"} 
[2026-07-27 19:34:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359311466425221120,"km_value":359311466425221.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:34:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6607976896545536000,"description":"Unknown IO ID 45"} 
[2026-07-27 19:34:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001216256001,"power":27310,"unknown_81":206,"unknown_88":20736,"ignition":39,"odometer":null,"unknown_45":-6607976896545536000}} 
[2026-07-27 19:34:42] local.INFO: DEBUG: GPS processor result {"connection_id":143253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:34:42] local.INFO: GPS data processed {"connection_id":143253,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:34:42] local.INFO: Acknowledgment sent {"connection_id":143253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:35:04] local.INFO: TCP Data received {"connection_id":143254,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143254,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:35:04] local.INFO: Processing buffer {"connection_id":143254,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:35:04] local.INFO: IMEI packet received {"connection_id":143254,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 19:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":143254,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:35:05] local.INFO: TCP Data received {"connection_id":143254,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143254,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:35:05] local.INFO: Processing buffer {"connection_id":143254,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:35:05] local.INFO: IMEI packet received {"connection_id":143254,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 19:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":143254,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:35:10] local.INFO: TCP Data received {"connection_id":143254,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143254,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:35:10] local.INFO: Processing buffer {"connection_id":143254,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:35:10] local.INFO: IMEI packet received {"connection_id":143254,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 19:35:10] local.INFO: IMEI acknowledgment sent {"connection_id":143254,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:35:13] local.INFO: TCP Data received {"connection_id":143253,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3e35af0012da4410005ed9a48000c016028..."} 
[2026-07-27 19:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3e35af0012da4410005ed9a48000c016028..."} 
[2026-07-27 19:35:13] local.INFO: Processing buffer {"connection_id":143253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3e35af0012da4410005ed9a48000c016028..."} 
[2026-07-27 19:35:13] local.INFO: Packet analysis {"connection_id":143253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3e3"} 
[2026-07-27 19:35:13] local.INFO: Extracted packet for processing {"connection_id":143253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3e3"} 
[2026-07-27 19:35:13] local.INFO: GPS Element Parsed {"raw_longitude":765739264,"raw_latitude":99457608,"longitude_deg":76.5739264,"latitude_deg":9.9457608,"altitude":12,"angle":352,"satellites":40,"speed":36,"hex_longitude":"2da44100","hex_latitude":"05ed9a48","is_valid_coordinates":true} 
[2026-07-27 19: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-07-27 19:35:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001217024001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:35:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359311930281689088,"note":"Value kept but may cause issues"} 
[2026-07-27 19:35:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6609032427707465728,"note":"Value kept but may cause issues"} 
[2026-07-27 19:35:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:35:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785161014000,"timestamp_ms":1785161014000,"timestamp_seconds":1785161014,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3e35af0"} 
[2026-07-27 19:35:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:35:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19: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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-27 19:35:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19: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-07-27 19:35:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:35:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:35:13] local.INFO: Teltonika packet parsed successfully {"connection_id":143253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:35:13] local.INFO: Passing IMEI to GPS processor {"connection_id":143253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:35:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":143253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:35: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-07-27 19:35:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 19:35:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 19:35:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001217024001,"66":27397,"81":206,"88":20736,"24":36,"16":359311930281689088,"45":-6609032427707465728},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,88,24,16,45]} 
[2026-07-27 19:35:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 19:35:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 19:35:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001217024001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:35:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-27 19:35:13] local.INFO: Unknown IO ID detected {"io_id":88,"value":20736,"description":"Unknown IO ID 88"} 
[2026-07-27 19:35:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359311930281689088,"km_value":359311930281689.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:35:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6609032427707465728,"description":"Unknown IO ID 45"} 
[2026-07-27 19:35:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001217024001,"power":27397,"unknown_81":206,"unknown_88":20736,"ignition":36,"odometer":null,"unknown_45":-6609032427707465728}} 
[2026-07-27 19:35:13] local.INFO: DEBUG: GPS processor result {"connection_id":143253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:35:13] local.INFO: GPS data processed {"connection_id":143253,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:35:13] local.INFO: Acknowledgment sent {"connection_id":143253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:35:17] local.INFO: TCP Data received {"connection_id":143254,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3e28800012d193ec0071ffb20003b010224..."} 
[2026-07-27 19:35:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143254,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3e28800012d193ec0071ffb20003b010224..."} 
[2026-07-27 19:35:17] local.INFO: Processing buffer {"connection_id":143254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3e28800012d193ec0071ffb20003b010224..."} 
[2026-07-27 19:35:17] local.INFO: Packet analysis {"connection_id":143254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3e2"} 
[2026-07-27 19:35:17] local.INFO: Extracted packet for processing {"connection_id":143254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3e2"} 
[2026-07-27 19:35:17] local.INFO: GPS Element Parsed {"raw_longitude":756629184,"raw_latitude":119536416,"longitude_deg":75.6629184,"latitude_deg":11.9536416,"altitude":59,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d193ec0","hex_latitude":"071ffb20","is_valid_coordinates":true} 
[2026-07-27 19:35:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:35:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001200384001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:35:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971061399912448,"note":"Value kept but may cause issues"} 
[2026-07-27 19:35:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819102436338114560,"note":"Value kept but may cause issues"} 
[2026-07-27 19:35:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:35:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785160960000,"timestamp_ms":1785160960000,"timestamp_seconds":1785160960,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3e28800"} 
[2026-07-27 19:35:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:35: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-07-27 19: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 19:35: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-07-27 19:35:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:35:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:35:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:35:17] local.INFO: Teltonika packet parsed successfully {"connection_id":143254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:35:17] local.INFO: Passing IMEI to GPS processor {"connection_id":143254,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:35:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":143254,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:35:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:35:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 19:35:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 19:35:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001200384001,"66":12363,"71":206,"28":31744,"24":0,"16":8971061399912448,"45":1819102436338114560},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-07-27 19:35:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 19:35:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 19:35:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001200384001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:35:17] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-27 19:35:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 19:35:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971061399912448,"km_value":8971061399912.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:35:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819102436338114560,"description":"Unknown IO ID 45"} 
[2026-07-27 19:35:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001200384001,"power":12363,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1819102436338114560}} 
[2026-07-27 19:35:17] local.INFO: DEBUG: GPS processor result {"connection_id":143254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555068,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:35:17] local.INFO: GPS data processed {"connection_id":143254,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:35:17] local.INFO: Acknowledgment sent {"connection_id":143254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:35:31] local.INFO: TCP Data received {"connection_id":144243,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:35:31] local.INFO: Processing buffer {"connection_id":144243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:35:31] local.INFO: IMEI packet received {"connection_id":144243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 19:35:31] local.INFO: IMEI acknowledgment sent {"connection_id":144243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:35:36] local.INFO: TCP Data received {"connection_id":144243,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:35:36] local.INFO: Processing buffer {"connection_id":144243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:35:36] local.INFO: IMEI packet received {"connection_id":144243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 19:35:36] local.INFO: IMEI acknowledgment sent {"connection_id":144243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:35:37] local.INFO: TCP Data received {"connection_id":144243,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3e435b0012da4990005ee3248000c01642a..."} 
[2026-07-27 19:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144243,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3e435b0012da4990005ee3248000c01642a..."} 
[2026-07-27 19:35:37] local.INFO: Processing buffer {"connection_id":144243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3e435b0012da4990005ee3248000c01642a..."} 
[2026-07-27 19:35:37] local.INFO: Packet analysis {"connection_id":144243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3e4"} 
[2026-07-27 19:35:37] local.INFO: Extracted packet for processing {"connection_id":144243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3e4"} 
[2026-07-27 19:35:37] local.INFO: GPS Element Parsed {"raw_longitude":765761792,"raw_latitude":99496520,"longitude_deg":76.5761792,"latitude_deg":9.949652,"altitude":12,"angle":356,"satellites":42,"speed":36,"hex_longitude":"2da49900","hex_latitude":"05ee3248","is_valid_coordinates":true} 
[2026-07-27 19:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001233152001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359314262448930816,"note":"Value kept but may cause issues"} 
[2026-07-27 19:35:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6586373692070576128,"note":"Value kept but may cause issues"} 
[2026-07-27 19:35:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785161070000,"timestamp_ms":1785161070000,"timestamp_seconds":1785161070,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3e435b0"} 
[2026-07-27 19:35:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:35:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-27 19:35:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:35:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:35:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:35:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 19:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 19:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001233152001,"66":27310,"211":206,"88":20736,"24":36,"16":359314262448930816,"45":-6586373692070576128},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,88,24,16,45]} 
[2026-07-27 19:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 19:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 19:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001233152001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:35:37] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-07-27 19:35:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":20736,"description":"Unknown IO ID 88"} 
[2026-07-27 19:35:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359314262448930816,"km_value":359314262448930.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:35:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6586373692070576128,"description":"Unknown IO ID 45"} 
[2026-07-27 19:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001233152001,"power":27310,"unknown_211":206,"unknown_88":20736,"ignition":36,"odometer":null,"unknown_45":-6586373692070576128}} 
[2026-07-27 19:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":144243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:35:37] local.INFO: GPS data processed {"connection_id":144243,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:35:37] local.INFO: Acknowledgment sent {"connection_id":144243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:36:00] local.INFO: TCP Data received {"connection_id":143255,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143255,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:36:00] local.INFO: Processing buffer {"connection_id":143255,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:36:00] local.INFO: IMEI packet received {"connection_id":143255,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 19:36:00] local.INFO: IMEI acknowledgment sent {"connection_id":143255,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:36:05] local.INFO: TCP Data received {"connection_id":143255,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143255,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:36:05] local.INFO: Processing buffer {"connection_id":143255,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:36:05] local.INFO: IMEI packet received {"connection_id":143255,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 19:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":143255,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:36:06] local.INFO: TCP Data received {"connection_id":143255,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3e2da08012d193ec0071ffb20003b010226..."} 
[2026-07-27 19:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3e2da08012d193ec0071ffb20003b010226..."} 
[2026-07-27 19:36:06] local.INFO: Processing buffer {"connection_id":143255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3e2da08012d193ec0071ffb20003b010226..."} 
[2026-07-27 19:36:06] local.INFO: Packet analysis {"connection_id":143255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3e2"} 
[2026-07-27 19:36:06] local.INFO: Extracted packet for processing {"connection_id":143255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3e2"} 
[2026-07-27 19:36:06] local.INFO: GPS Element Parsed {"raw_longitude":756629184,"raw_latitude":119536416,"longitude_deg":75.6629184,"latitude_deg":11.9536416,"altitude":59,"angle":258,"satellites":38,"speed":0,"hex_longitude":"2d193ec0","hex_latitude":"071ffb20","is_valid_coordinates":true} 
[2026-07-27 19:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:36:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001205760001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:36:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971061399912448,"note":"Value kept but may cause issues"} 
[2026-07-27 19:36:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819102436338114560,"note":"Value kept but may cause issues"} 
[2026-07-27 19:36:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:36:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785160981000,"timestamp_ms":1785160981000,"timestamp_seconds":1785160981,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3e2da08"} 
[2026-07-27 19:36:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:36:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-27 19:36:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:36:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:36:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:36:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:36:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:36:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143255,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:36:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143255,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:36:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:36:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 19:36:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 19:36:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001205760001,"66":12363,"71":206,"28":31744,"24":0,"16":8971061399912448,"45":1819102436338114560},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-07-27 19:36:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 19:36:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 19:36:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001205760001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:36:06] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-27 19:36:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 19:36:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971061399912448,"km_value":8971061399912.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:36:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819102436338114560,"description":"Unknown IO ID 45"} 
[2026-07-27 19:36:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001205760001,"power":12363,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1819102436338114560}} 
[2026-07-27 19:36:06] local.INFO: DEBUG: GPS processor result {"connection_id":143255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555070,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:36:06] local.INFO: GPS data processed {"connection_id":143255,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:36:06] local.INFO: Acknowledgment sent {"connection_id":143255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:36:09] local.INFO: TCP Data received {"connection_id":144243,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3e458d8012da4988005ee5348000c00082a..."} 
[2026-07-27 19:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144243,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3e458d8012da4988005ee5348000c00082a..."} 
[2026-07-27 19:36:09] local.INFO: Processing buffer {"connection_id":144243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3e458d8012da4988005ee5348000c00082a..."} 
[2026-07-27 19:36:09] local.INFO: Packet analysis {"connection_id":144243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3e4"} 
[2026-07-27 19:36:09] local.INFO: Extracted packet for processing {"connection_id":144243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3e4"} 
[2026-07-27 19:36:09] local.INFO: GPS Element Parsed {"raw_longitude":765761664,"raw_latitude":99504968,"longitude_deg":76.5761664,"latitude_deg":9.9504968,"altitude":12,"angle":8,"satellites":42,"speed":39,"hex_longitude":"2da49880","hex_latitude":"05ee5348","is_valid_coordinates":true} 
[2026-07-27 19:36:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:36:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001233920001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:36:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359314674765791232,"note":"Value kept but may cause issues"} 
[2026-07-27 19:36:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6586232954581530624,"note":"Value kept but may cause issues"} 
[2026-07-27 19:36:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:36:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785161079000,"timestamp_ms":1785161079000,"timestamp_seconds":1785161079,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3e458d8"} 
[2026-07-27 19:36:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:36:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19: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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-27 19:36:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:36:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:36:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:36:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:36:09] local.INFO: Teltonika packet parsed successfully {"connection_id":144243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:36:09] local.INFO: Passing IMEI to GPS processor {"connection_id":144243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:36:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":144243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:36:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:36:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 19:36:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 19:36:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001233920001,"66":27376,"211":206,"88":20736,"24":39,"16":359314674765791232,"45":-6586232954581530624},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,88,24,16,45]} 
[2026-07-27 19:36:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 19:36:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 19:36:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001233920001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:36:09] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-07-27 19:36:09] local.INFO: Unknown IO ID detected {"io_id":88,"value":20736,"description":"Unknown IO ID 88"} 
[2026-07-27 19:36:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359314674765791232,"km_value":359314674765791.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:36:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6586232954581530624,"description":"Unknown IO ID 45"} 
[2026-07-27 19:36:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001233920001,"power":27376,"unknown_211":206,"unknown_88":20736,"ignition":39,"odometer":null,"unknown_45":-6586232954581530624}} 
[2026-07-27 19:36:09] local.INFO: DEBUG: GPS processor result {"connection_id":144243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:36:09] local.INFO: GPS data processed {"connection_id":144243,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:36:09] local.INFO: Acknowledgment sent {"connection_id":144243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:36:31] local.INFO: TCP Data received {"connection_id":143256,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:36:31] local.INFO: Processing buffer {"connection_id":143256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:36:31] local.INFO: IMEI packet received {"connection_id":143256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 19:36:31] local.INFO: IMEI acknowledgment sent {"connection_id":143256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:36:33] local.INFO: TCP Data received {"connection_id":143256,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:36:33] local.INFO: Processing buffer {"connection_id":143256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:36:33] local.INFO: IMEI packet received {"connection_id":143256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 19:36:33] local.INFO: IMEI acknowledgment sent {"connection_id":143256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:36:36] local.INFO: TCP Data received {"connection_id":143256,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:36:36] local.INFO: Processing buffer {"connection_id":143256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:36:36] local.INFO: IMEI packet received {"connection_id":143256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 19:36:36] local.INFO: IMEI acknowledgment sent {"connection_id":143256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:36:37] local.INFO: TCP Data received {"connection_id":143256,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3e46490012da49b8005ee5e58000c00132a..."} 
[2026-07-27 19:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143256,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3e46490012da49b8005ee5e58000c00132a..."} 
[2026-07-27 19:36:37] local.INFO: Processing buffer {"connection_id":143256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3e46490012da49b8005ee5e58000c00132a..."} 
[2026-07-27 19:36:37] local.INFO: Packet analysis {"connection_id":143256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3e4"} 
[2026-07-27 19:36:37] local.INFO: Extracted packet for processing {"connection_id":143256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3e4"} 
[2026-07-27 19:36:37] local.INFO: GPS Element Parsed {"raw_longitude":765762432,"raw_latitude":99507800,"longitude_deg":76.5762432,"latitude_deg":9.95078,"altitude":12,"angle":19,"satellites":42,"speed":38,"hex_longitude":"2da49b80","hex_latitude":"05ee5e58","is_valid_coordinates":true} 
[2026-07-27 19:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001236224001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359314816499712000,"note":"Value kept but may cause issues"} 
[2026-07-27 19:36:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6586373692067723264,"note":"Value kept but may cause issues"} 
[2026-07-27 19:36:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785161082000,"timestamp_ms":1785161082000,"timestamp_seconds":1785161082,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3e46490"} 
[2026-07-27 19:36:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:36:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-27 19:36:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:36:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:36:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:36:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 19:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 19:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001236224001,"66":27397,"213":206,"88":20736,"24":38,"16":359314816499712000,"45":-6586373692067723264},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,88,24,16,45]} 
[2026-07-27 19:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 19:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 19:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001236224001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:36:37] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-07-27 19:36:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":20736,"description":"Unknown IO ID 88"} 
[2026-07-27 19:36:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359314816499712000,"km_value":359314816499712,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:36:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6586373692067723264,"description":"Unknown IO ID 45"} 
[2026-07-27 19:36:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001236224001,"power":27397,"unknown_213":206,"unknown_88":20736,"ignition":38,"odometer":null,"unknown_45":-6586373692067723264}} 
[2026-07-27 19:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":143256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:36:37] local.INFO: GPS data processed {"connection_id":143256,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:36:37] local.INFO: Acknowledgment sent {"connection_id":143256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:36:38] local.INFO: TCP Data received {"connection_id":143255,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3e32c10012d193ec0071ffb20003b010228..."} 
[2026-07-27 19:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3e32c10012d193ec0071ffb20003b010228..."} 
[2026-07-27 19:36:38] local.INFO: Processing buffer {"connection_id":143255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3e32c10012d193ec0071ffb20003b010228..."} 
[2026-07-27 19:36:38] local.INFO: Packet analysis {"connection_id":143255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3e3"} 
[2026-07-27 19:36:38] local.INFO: Extracted packet for processing {"connection_id":143255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3e3"} 
[2026-07-27 19:36:38] local.INFO: GPS Element Parsed {"raw_longitude":756629184,"raw_latitude":119536416,"longitude_deg":75.6629184,"latitude_deg":11.9536416,"altitude":59,"angle":258,"satellites":40,"speed":0,"hex_longitude":"2d193ec0","hex_latitude":"071ffb20","is_valid_coordinates":true} 
[2026-07-27 19:36:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:36:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001211136001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:36:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971061399912448,"note":"Value kept but may cause issues"} 
[2026-07-27 19:36:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819102436338114560,"note":"Value kept but may cause issues"} 
[2026-07-27 19:36:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:36:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785161002000,"timestamp_ms":1785161002000,"timestamp_seconds":1785161002,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3e32c10"} 
[2026-07-27 19:36:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:36:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:36:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-27 19:36:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:36:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:36:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:36:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:36:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:36:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143255,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:36:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143255,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:36:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:36:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 19:36:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 19:36:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001211136001,"66":12319,"71":206,"28":31744,"24":0,"16":8971061399912448,"45":1819102436338114560},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-07-27 19:36:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 19:36:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 19:36:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001211136001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:36:38] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-27 19:36:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 19:36:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971061399912448,"km_value":8971061399912.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:36:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819102436338114560,"description":"Unknown IO ID 45"} 
[2026-07-27 19:36:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001211136001,"power":12319,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1819102436338114560}} 
[2026-07-27 19:36:38] local.INFO: DEBUG: GPS processor result {"connection_id":143255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555073,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:36:38] local.INFO: GPS data processed {"connection_id":143255,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:36:38] local.INFO: Acknowledgment sent {"connection_id":143255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:36:59] local.INFO: TCP Data received {"connection_id":144244,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144244,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:36:59] local.INFO: Processing buffer {"connection_id":144244,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:36:59] local.INFO: IMEI packet received {"connection_id":144244,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 19:36:59] local.INFO: IMEI acknowledgment sent {"connection_id":144244,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:36:59] local.INFO: TCP Data received {"connection_id":144244,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144244,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:36:59] local.INFO: Processing buffer {"connection_id":144244,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:36:59] local.INFO: IMEI packet received {"connection_id":144244,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 19:36:59] local.INFO: IMEI acknowledgment sent {"connection_id":144244,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:37:04] local.INFO: TCP Data received {"connection_id":144244,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144244,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:37:04] local.INFO: Processing buffer {"connection_id":144244,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:37:04] local.INFO: IMEI packet received {"connection_id":144244,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 19:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":144244,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:37:05] local.INFO: TCP Data received {"connection_id":144244,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3e5c420012d1940c0071ffb500038008f23..."} 
[2026-07-27 19:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3e5c420012d1940c0071ffb500038008f23..."} 
[2026-07-27 19:37:05] local.INFO: Processing buffer {"connection_id":144244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3e5c420012d1940c0071ffb500038008f23..."} 
[2026-07-27 19:37:05] local.INFO: Packet analysis {"connection_id":144244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3e5"} 
[2026-07-27 19:37:05] local.INFO: Extracted packet for processing {"connection_id":144244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3e5"} 
[2026-07-27 19:37:05] local.INFO: GPS Element Parsed {"raw_longitude":756629696,"raw_latitude":119536464,"longitude_deg":75.6629696,"latitude_deg":11.9536464,"altitude":56,"angle":143,"satellites":35,"speed":0,"hex_longitude":"2d1940c0","hex_latitude":"071ffb50","is_valid_coordinates":true} 
[2026-07-27 19:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:37:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001259776001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:37:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971087169716224,"note":"Value kept but may cause issues"} 
[2026-07-27 19:37:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819665386291556352,"note":"Value kept but may cause issues"} 
[2026-07-27 19:37:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:37:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785161172000,"timestamp_ms":1785161172000,"timestamp_seconds":1785161172,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3e5c420"} 
[2026-07-27 19:37:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:37:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-07-27 19:37:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:37:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:37:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:37:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:37:05] local.INFO: Teltonika packet parsed successfully {"connection_id":144244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:37:05] local.INFO: Passing IMEI to GPS processor {"connection_id":144244,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:37:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":144244,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:37:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:37:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 19:37:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 19:37:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001259776001,"66":13493,"121":206,"28":31744,"24":0,"16":8971087169716224,"45":1819665386291556352},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 19:37:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 19:37:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 19:37:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001259776001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:37:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 19:37:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 19:37:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971087169716224,"km_value":8971087169716.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:37:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819665386291556352,"description":"Unknown IO ID 45"} 
[2026-07-27 19:37:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001259776001,"power":13493,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1819665386291556352}} 
[2026-07-27 19:37:05] local.INFO: DEBUG: GPS processor result {"connection_id":144244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555074,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:37:05] local.INFO: GPS data processed {"connection_id":144244,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:37:05] local.INFO: Acknowledgment sent {"connection_id":144244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:37:09] local.INFO: TCP Data received {"connection_id":143256,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3e581b8012da46c4005ef04400014000029..."} 
[2026-07-27 19:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143256,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3e581b8012da46c4005ef04400014000029..."} 
[2026-07-27 19:37:09] local.INFO: Processing buffer {"connection_id":143256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3e581b8012da46c4005ef04400014000029..."} 
[2026-07-27 19:37:09] local.INFO: Packet analysis {"connection_id":143256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3e5"} 
[2026-07-27 19:37:09] local.INFO: Extracted packet for processing {"connection_id":143256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3e5"} 
[2026-07-27 19:37:09] local.INFO: GPS Element Parsed {"raw_longitude":765750336,"raw_latitude":99550272,"longitude_deg":76.5750336,"latitude_deg":9.9550272,"altitude":20,"angle":0,"satellites":41,"speed":37,"hex_longitude":"2da46c40","hex_latitude":"05ef0440","is_valid_coordinates":true} 
[2026-07-27 19:37:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:37:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001254912001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:37:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359317208796495872,"note":"Value kept but may cause issues"} 
[2026-07-27 19:37:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6598547484799549440,"note":"Value kept but may cause issues"} 
[2026-07-27 19:37:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,148,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:37:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785161155000,"timestamp_ms":1785161155000,"timestamp_seconds":1785161155,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3e581b8"} 
[2026-07-27 19:37:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:37:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:37:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-27 19:37:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:37:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:37:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:37:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:37:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:37:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:37:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:37:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:37:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 19:37:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 19:37:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001254912001,"66":27321,"148":206,"88":20736,"24":37,"16":359317208796495872,"45":-6598547484799549440},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,148,88,24,16,45]} 
[2026-07-27 19:37:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 19:37:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 19:37:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001254912001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:37:09] local.INFO: Unknown IO ID detected {"io_id":148,"value":206,"description":"Unknown IO ID 148"} 
[2026-07-27 19:37:09] local.INFO: Unknown IO ID detected {"io_id":88,"value":20736,"description":"Unknown IO ID 88"} 
[2026-07-27 19:37:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359317208796495872,"km_value":359317208796495.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:37:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6598547484799549440,"description":"Unknown IO ID 45"} 
[2026-07-27 19:37:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001254912001,"power":27321,"unknown_148":206,"unknown_88":20736,"ignition":37,"odometer":null,"unknown_45":-6598547484799549440}} 
[2026-07-27 19:37:09] local.INFO: DEBUG: GPS processor result {"connection_id":143256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:37:09] local.INFO: GPS data processed {"connection_id":143256,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:37:09] local.INFO: Acknowledgment sent {"connection_id":143256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:37:36] local.INFO: TCP Data received {"connection_id":144244,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3e5d7a8012d194100071ffc380038001923..."} 
[2026-07-27 19:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3e5d7a8012d194100071ffc380038001923..."} 
[2026-07-27 19:37:36] local.INFO: Processing buffer {"connection_id":144244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3e5d7a8012d194100071ffc380038001923..."} 
[2026-07-27 19:37:36] local.INFO: Packet analysis {"connection_id":144244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3e5"} 
[2026-07-27 19:37:36] local.INFO: Extracted packet for processing {"connection_id":144244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3e5"} 
[2026-07-27 19:37:36] local.INFO: GPS Element Parsed {"raw_longitude":756629760,"raw_latitude":119536696,"longitude_deg":75.662976,"latitude_deg":11.9536696,"altitude":56,"angle":25,"satellites":35,"speed":3,"hex_longitude":"2d194100","hex_latitude":"071ffc38","is_valid_coordinates":true} 
[2026-07-27 19:37:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:37:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001260032001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:37:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971100054618112,"note":"Value kept but may cause issues"} 
[2026-07-27 19:37:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819665386291548160,"note":"Value kept but may cause issues"} 
[2026-07-27 19:37:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:37:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785161177000,"timestamp_ms":1785161177000,"timestamp_seconds":1785161177,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3e5d7a8"} 
[2026-07-27 19:37:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:37:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:37:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-07-27 19:37:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:37:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:37:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:37:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:37:36] local.INFO: Teltonika packet parsed successfully {"connection_id":144244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:37:36] local.INFO: Passing IMEI to GPS processor {"connection_id":144244,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:37:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":144244,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:37:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:37:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 19:37:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 19:37:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001260032001,"66":13656,"121":206,"28":31744,"24":3,"16":8971100054618112,"45":1819665386291548160},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 19:37:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 19:37:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 19:37:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001260032001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:37:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 19:37:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 19:37:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971100054618112,"km_value":8971100054618.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:37:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819665386291548160,"description":"Unknown IO ID 45"} 
[2026-07-27 19:37:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001260032001,"power":13656,"unknown_121":206,"unknown_28":31744,"ignition":3,"odometer":null,"unknown_45":1819665386291548160}} 
[2026-07-27 19:37:36] local.INFO: DEBUG: GPS processor result {"connection_id":144244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555076,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:37:36] local.INFO: GPS data processed {"connection_id":144244,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:37:36] local.INFO: Acknowledgment sent {"connection_id":144244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:37:42] local.INFO: TCP Data received {"connection_id":143257,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:37:42] local.INFO: Processing buffer {"connection_id":143257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:37:42] local.INFO: IMEI packet received {"connection_id":143257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 19:37:42] local.INFO: IMEI acknowledgment sent {"connection_id":143257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:37:45] local.INFO: TCP Data received {"connection_id":143257,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:37:45] local.INFO: Processing buffer {"connection_id":143257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:37:45] local.INFO: IMEI packet received {"connection_id":143257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 19:37:45] local.INFO: IMEI acknowledgment sent {"connection_id":143257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:37:47] local.INFO: TCP Data received {"connection_id":143257,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3e5b098012da46e0005ef28e80012000428..."} 
[2026-07-27 19:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3e5b098012da46e0005ef28e80012000428..."} 
[2026-07-27 19:37:47] local.INFO: Processing buffer {"connection_id":143257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3e5b098012da46e0005ef28e80012000428..."} 
[2026-07-27 19:37:47] local.INFO: Packet analysis {"connection_id":143257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3e5"} 
[2026-07-27 19:37:47] local.INFO: Extracted packet for processing {"connection_id":143257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3e5"} 
[2026-07-27 19:37:47] local.INFO: GPS Element Parsed {"raw_longitude":765750784,"raw_latitude":99559656,"longitude_deg":76.5750784,"latitude_deg":9.9559656,"altitude":18,"angle":4,"satellites":40,"speed":26,"hex_longitude":"2da46e00","hex_latitude":"05ef28e8","is_valid_coordinates":true} 
[2026-07-27 19:37:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:37:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001255680001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:37:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359317664063029248,"note":"Value kept but may cause issues"} 
[2026-07-27 19:37:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6598828959775571968,"note":"Value kept but may cause issues"} 
[2026-07-27 19:37:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,148,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:37:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785161167000,"timestamp_ms":1785161167000,"timestamp_seconds":1785161167,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3e5b098"} 
[2026-07-27 19:37:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:37:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:37:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-27 19:37:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:37:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:37:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:37:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:37:47] local.INFO: Teltonika packet parsed successfully {"connection_id":143257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:37:47] local.INFO: Passing IMEI to GPS processor {"connection_id":143257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:37:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":143257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:37:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:37:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 19:37:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 19:37:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001255680001,"66":27484,"148":206,"88":20736,"24":26,"16":359317664063029248,"45":-6598828959775571968},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,148,88,24,16,45]} 
[2026-07-27 19:37:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 19:37:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 19:37:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001255680001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:37:47] local.INFO: Unknown IO ID detected {"io_id":148,"value":206,"description":"Unknown IO ID 148"} 
[2026-07-27 19:37:47] local.INFO: Unknown IO ID detected {"io_id":88,"value":20736,"description":"Unknown IO ID 88"} 
[2026-07-27 19:37:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359317664063029248,"km_value":359317664063029.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:37:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6598828959775571968,"description":"Unknown IO ID 45"} 
[2026-07-27 19:37:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001255680001,"power":27484,"unknown_148":206,"unknown_88":20736,"ignition":26,"odometer":null,"unknown_45":-6598828959775571968}} 
[2026-07-27 19:37:47] local.INFO: DEBUG: GPS processor result {"connection_id":143257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:37:47] local.INFO: GPS data processed {"connection_id":143257,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:37:47] local.INFO: Acknowledgment sent {"connection_id":143257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:38:10] local.INFO: TCP Data received {"connection_id":143258,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143258,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:38:10] local.INFO: Processing buffer {"connection_id":143258,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:38:10] local.INFO: IMEI packet received {"connection_id":143258,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 19:38:10] local.INFO: IMEI acknowledgment sent {"connection_id":143258,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:38:16] local.INFO: TCP Data received {"connection_id":143258,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143258,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:38:16] local.INFO: Processing buffer {"connection_id":143258,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:38:16] local.INFO: IMEI packet received {"connection_id":143258,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 19:38:16] local.INFO: IMEI acknowledgment sent {"connection_id":143258,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:38:20] local.INFO: TCP Data received {"connection_id":143258,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143258,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:38:20] local.INFO: Processing buffer {"connection_id":143258,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:38:20] local.INFO: IMEI packet received {"connection_id":143258,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 19:38:20] local.INFO: IMEI acknowledgment sent {"connection_id":143258,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:38:21] local.INFO: TCP Data received {"connection_id":143258,"ip":"117.225.227.158","data_length":1360,"data_hex":"000000000000030f8e0a0000019fa3e63d38012d195400071ff3d8003a006f27..."} 
[2026-07-27 19:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143258,"packet_length":1360,"packet_hex":"000000000000030f8e0a0000019fa3e63d38012d195400071ff3d8003a006f27..."} 
[2026-07-27 19:38:21] local.INFO: Processing buffer {"connection_id":143258,"buffer_length":1360,"buffer_hex":"000000000000030f8e0a0000019fa3e63d38012d195400071ff3d8003a006f27..."} 
[2026-07-27 19:38:21] local.INFO: Packet analysis {"connection_id":143258,"data_field_length":783,"total_packet_length":795,"buffer_length":1360,"packet_hex_start":"000000000000030f8e0a0000019fa3e6"} 
[2026-07-27 19:38:21] local.INFO: Extracted packet for processing {"connection_id":143258,"packet_length":795,"remaining_buffer_length":565,"packet_hex_start":"000000000000030f8e0a0000019fa3e6"} 
[2026-07-27 19:38:21] local.INFO: GPS Element Parsed {"raw_longitude":756634624,"raw_latitude":119534552,"longitude_deg":75.6634624,"latitude_deg":11.9534552,"altitude":58,"angle":111,"satellites":39,"speed":12,"hex_longitude":"2d195400","hex_latitude":"071ff3d8","is_valid_coordinates":true} 
[2026-07-27 19:38:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:38:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001267456001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:38:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971379227492352,"note":"Value kept but may cause issues"} 
[2026-07-27 19:38:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824450460895207424,"note":"Value kept but may cause issues"} 
[2026-07-27 19:38: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-07-27 19:38:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785161203000,"timestamp_ms":1785161203000,"timestamp_seconds":1785161203,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3e63d38"} 
[2026-07-27 19:38:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:38:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:38:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-07-27 19:38:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1114,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:38:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:38:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:38:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:38:21] local.INFO: Teltonika packet parsed successfully {"connection_id":143258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:38:21] local.INFO: Passing IMEI to GPS processor {"connection_id":143258,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:38:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":143258,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:38:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:38:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 19:38:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 19:38:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001267456001,"66":12689,"121":206,"28":31744,"24":12,"16":8971379227492352,"45":1824450460895207424},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 19:38:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 19:38:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 19:38:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001267456001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:38:21] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 19:38:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 19:38:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971379227492352,"km_value":8971379227492.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:38:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824450460895207424,"description":"Unknown IO ID 45"} 
[2026-07-27 19:38:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001267456001,"power":12689,"unknown_121":206,"unknown_28":31744,"ignition":12,"odometer":null,"unknown_45":1824450460895207424}} 
[2026-07-27 19:38:21] local.INFO: DEBUG: GPS processor result {"connection_id":143258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555078,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:38:21] local.INFO: GPS data processed {"connection_id":143258,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:38:21] local.INFO: Acknowledgment sent {"connection_id":143258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:38:21] local.INFO: Packet analysis {"connection_id":143258,"data_field_length":783,"total_packet_length":795,"buffer_length":565,"packet_hex_start":"000000000000030f8e0a0000019fa3e6"} 
[2026-07-27 19:38:21] local.INFO: Incomplete packet, waiting for more data {"connection_id":143258,"needed":795,"available":565} 
[2026-07-27 19:38:24] local.INFO: TCP Data received {"connection_id":143258,"ip":"117.225.227.158","data_length":230,"data_hex":"2d194b80071ffbf80038006b2500090000000a000400ef0100715c00f0010045..."} 
[2026-07-27 19:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143258,"packet_length":230,"packet_hex":"2d194b80071ffbf80038006b2500090000000a000400ef0100715c00f0010045..."} 
[2026-07-27 19:38:24] local.INFO: Processing buffer {"connection_id":143258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3e67bb8012d196500071fee000039005e26..."} 
[2026-07-27 19:38:24] local.INFO: Packet analysis {"connection_id":143258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3e6"} 
[2026-07-27 19:38:24] local.INFO: Extracted packet for processing {"connection_id":143258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3e6"} 
[2026-07-27 19:38:24] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533056,"longitude_deg":75.6638976,"latitude_deg":11.9533056,"altitude":57,"angle":94,"satellites":38,"speed":6,"hex_longitude":"2d196500","hex_latitude":"071fee00","is_valid_coordinates":true} 
[2026-07-27 19:38:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:38:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001267968001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:38:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971602565791744,"note":"Value kept but may cause issues"} 
[2026-07-27 19:38:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825083779592738816,"note":"Value kept but may cause issues"} 
[2026-07-27 19:38: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-07-27 19:38:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785161219000,"timestamp_ms":1785161219000,"timestamp_seconds":1785161219,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3e67bb8"} 
[2026-07-27 19:38:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:38: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-07-27 19:38:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-27 19:38:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:38:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:38:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:38:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:38:24] local.INFO: Teltonika packet parsed successfully {"connection_id":143258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:38:24] local.INFO: Passing IMEI to GPS processor {"connection_id":143258,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:38:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":143258,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:38:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:38:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 19:38:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 19:38:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001267968001,"66":12841,"121":206,"28":31744,"24":6,"16":8971602565791744,"45":1825083779592738816},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 19:38:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 19:38:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 19:38:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001267968001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:38:24] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 19:38:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 19:38:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971602565791744,"km_value":8971602565791.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:38:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825083779592738816,"description":"Unknown IO ID 45"} 
[2026-07-27 19:38:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001267968001,"power":12841,"unknown_121":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1825083779592738816}} 
[2026-07-27 19:38:24] local.INFO: DEBUG: GPS processor result {"connection_id":143258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555079,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:38:24] local.INFO: GPS data processed {"connection_id":143258,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:38:24] local.INFO: Acknowledgment sent {"connection_id":143258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:38:25] local.INFO: TCP Data received {"connection_id":143258,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3e6cdc0012d196540071fedd80039005e24..."} 
[2026-07-27 19:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3e6cdc0012d196540071fedd80039005e24..."} 
[2026-07-27 19:38:25] local.INFO: Processing buffer {"connection_id":143258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3e6cdc0012d196540071fedd80039005e24..."} 
[2026-07-27 19:38:25] local.INFO: Packet analysis {"connection_id":143258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3e6"} 
[2026-07-27 19:38:25] local.INFO: Extracted packet for processing {"connection_id":143258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3e6"} 
[2026-07-27 19:38:25] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533016,"longitude_deg":75.663904,"latitude_deg":11.9533016,"altitude":57,"angle":94,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-07-27 19:38:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:38:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001272064001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:38:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971606860759040,"note":"Value kept but may cause issues"} 
[2026-07-27 19:38:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196436992,"note":"Value kept but may cause issues"} 
[2026-07-27 19:38: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-07-27 19:38:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785161240000,"timestamp_ms":1785161240000,"timestamp_seconds":1785161240,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3e6cdc0"} 
[2026-07-27 19:38:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:38:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:38:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-27 19:38:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:38:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:38:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:38:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:38:25] local.INFO: Teltonika packet parsed successfully {"connection_id":143258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:38:25] local.INFO: Passing IMEI to GPS processor {"connection_id":143258,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:38:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":143258,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:38:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:38:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 19:38:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 19:38:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001272064001,"66":12722,"121":206,"28":31744,"24":0,"16":8971606860759040,"45":1829868854196436992},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 19:38:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 19:38:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 19:38:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001272064001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:38:25] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 19:38:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 19:38:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971606860759040,"km_value":8971606860759.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:38:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196436992,"description":"Unknown IO ID 45"} 
[2026-07-27 19:38:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001272064001,"power":12722,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196436992}} 
[2026-07-27 19:38:25] local.INFO: DEBUG: GPS processor result {"connection_id":143258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555080,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:38:25] local.INFO: GPS data processed {"connection_id":143258,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:38:25] local.INFO: Acknowledgment sent {"connection_id":143258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:38:30] local.INFO: TCP Data received {"connection_id":143115,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:38:30] local.INFO: Processing buffer {"connection_id":143115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:38:30] local.INFO: IMEI packet received {"connection_id":143115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 19:38:30] local.INFO: IMEI acknowledgment sent {"connection_id":143115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:38:31] local.INFO: TCP Data received {"connection_id":143115,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:38:31] local.INFO: Processing buffer {"connection_id":143115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:38:31] local.INFO: IMEI packet received {"connection_id":143115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 19:38:31] local.INFO: IMEI acknowledgment sent {"connection_id":143115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:38:31] local.INFO: TCP Data received {"connection_id":143115,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:38:31] local.INFO: Processing buffer {"connection_id":143115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:38:31] local.INFO: IMEI packet received {"connection_id":143115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 19:38:31] local.INFO: IMEI acknowledgment sent {"connection_id":143115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:38:32] local.INFO: TCP Data received {"connection_id":143115,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:38:32] local.INFO: Processing buffer {"connection_id":143115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:38:32] local.INFO: IMEI packet received {"connection_id":143115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 19:38:32] local.INFO: IMEI acknowledgment sent {"connection_id":143115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:38:59] local.INFO: TCP Data received {"connection_id":145521,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145521,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:38:59] local.INFO: Processing buffer {"connection_id":145521,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:38:59] local.INFO: IMEI packet received {"connection_id":145521,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 19:38:59] local.INFO: IMEI acknowledgment sent {"connection_id":145521,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:39:01] local.INFO: TCP Data received {"connection_id":145521,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145521,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:39:01] local.INFO: Processing buffer {"connection_id":145521,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:39:01] local.INFO: IMEI packet received {"connection_id":145521,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 19:39:01] local.INFO: IMEI acknowledgment sent {"connection_id":145521,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:39:04] local.INFO: TCP Data received {"connection_id":145521,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145521,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:39:04] local.INFO: Processing buffer {"connection_id":145521,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:39:04] local.INFO: IMEI packet received {"connection_id":145521,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 19:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":145521,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:39:05] local.INFO: TCP Data received {"connection_id":145521,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3e71fc8012d196540071fedd80039005e24..."} 
[2026-07-27 19:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3e71fc8012d196540071fedd80039005e24..."} 
[2026-07-27 19:39:05] local.INFO: Processing buffer {"connection_id":145521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3e71fc8012d196540071fedd80039005e24..."} 
[2026-07-27 19:39:05] local.INFO: Packet analysis {"connection_id":145521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3e7"} 
[2026-07-27 19:39:05] local.INFO: Extracted packet for processing {"connection_id":145521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3e7"} 
[2026-07-27 19:39:05] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533016,"longitude_deg":75.663904,"latitude_deg":11.9533016,"altitude":57,"angle":94,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-07-27 19:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:39:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001277440001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:39:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971606860759040,"note":"Value kept but may cause issues"} 
[2026-07-27 19:39:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940604416,"note":"Value kept but may cause issues"} 
[2026-07-27 19:39:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:39:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785161261000,"timestamp_ms":1785161261000,"timestamp_seconds":1785161261,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3e71fc8"} 
[2026-07-27 19:39:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:39:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-27 19:39:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:39:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:39:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:39:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:39:05] local.INFO: Teltonika packet parsed successfully {"connection_id":145521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:39:05] local.INFO: Passing IMEI to GPS processor {"connection_id":145521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:39:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":145521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:39:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:39:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 19:39:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 19:39:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001277440001,"66":11863,"121":206,"28":31744,"24":0,"16":8971606860759040,"45":1829939222940604416},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 19:39:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 19:39:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 19:39:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001277440001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:39:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 19:39:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 19:39:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971606860759040,"km_value":8971606860759.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:39:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940604416,"description":"Unknown IO ID 45"} 
[2026-07-27 19:39:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001277440001,"power":11863,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940604416}} 
[2026-07-27 19:39:05] local.INFO: DEBUG: GPS processor result {"connection_id":145521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555081,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:39:05] local.INFO: GPS data processed {"connection_id":145521,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:39:05] local.INFO: Acknowledgment sent {"connection_id":145521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:39:07] local.INFO: TCP Data received {"connection_id":145521,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3e771d0012d196540071fedd80039005e26..."} 
[2026-07-27 19:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3e771d0012d196540071fedd80039005e26..."} 
[2026-07-27 19:39:07] local.INFO: Processing buffer {"connection_id":145521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3e771d0012d196540071fedd80039005e26..."} 
[2026-07-27 19:39:07] local.INFO: Packet analysis {"connection_id":145521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3e7"} 
[2026-07-27 19:39:07] local.INFO: Extracted packet for processing {"connection_id":145521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3e7"} 
[2026-07-27 19:39:07] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533016,"longitude_deg":75.663904,"latitude_deg":11.9533016,"altitude":57,"angle":94,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-07-27 19:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:39:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001282816001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:39:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971606860759040,"note":"Value kept but may cause issues"} 
[2026-07-27 19:39:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940604416,"note":"Value kept but may cause issues"} 
[2026-07-27 19:39:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:39:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785161282000,"timestamp_ms":1785161282000,"timestamp_seconds":1785161282,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3e771d0"} 
[2026-07-27 19:39:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:39:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-07-27 19:39:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1211,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:39:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:39:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:39:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:39:07] local.INFO: Teltonika packet parsed successfully {"connection_id":145521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:39:07] local.INFO: Passing IMEI to GPS processor {"connection_id":145521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:39:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":145521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:39:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:39:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 19:39:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 19:39:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001282816001,"66":12776,"121":206,"28":31744,"24":0,"16":8971606860759040,"45":1829939222940604416},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 19:39:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 19:39:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 19:39:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001282816001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:39:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 19:39:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 19:39:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971606860759040,"km_value":8971606860759.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:39:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940604416,"description":"Unknown IO ID 45"} 
[2026-07-27 19:39:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001282816001,"power":12776,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940604416}} 
[2026-07-27 19:39:07] local.INFO: DEBUG: GPS processor result {"connection_id":145521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555082,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:39:07] local.INFO: GPS data processed {"connection_id":145521,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:39:07] local.INFO: Acknowledgment sent {"connection_id":145521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:39:43] local.INFO: TCP Data received {"connection_id":145521,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3e7c3d8012d196540071fedd80039005e23..."} 
[2026-07-27 19:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3e7c3d8012d196540071fedd80039005e23..."} 
[2026-07-27 19:39:43] local.INFO: Processing buffer {"connection_id":145521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3e7c3d8012d196540071fedd80039005e23..."} 
[2026-07-27 19:39:43] local.INFO: Packet analysis {"connection_id":145521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3e7"} 
[2026-07-27 19:39:43] local.INFO: Extracted packet for processing {"connection_id":145521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3e7"} 
[2026-07-27 19:39:43] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533016,"longitude_deg":75.663904,"latitude_deg":11.9533016,"altitude":57,"angle":94,"satellites":35,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-07-27 19:39:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:39:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001288192001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:39:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971606860759040,"note":"Value kept but may cause issues"} 
[2026-07-27 19:39:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940604416,"note":"Value kept but may cause issues"} 
[2026-07-27 19:39:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:39:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785161303000,"timestamp_ms":1785161303000,"timestamp_seconds":1785161303,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3e7c3d8"} 
[2026-07-27 19:39:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:39:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-27 19:39:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:39:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:39:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:39:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:39:43] local.INFO: Teltonika packet parsed successfully {"connection_id":145521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:39:43] local.INFO: Passing IMEI to GPS processor {"connection_id":145521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:39:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":145521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:39:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:39:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 19:39:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 19:39:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001288192001,"66":12667,"121":206,"28":31744,"24":0,"16":8971606860759040,"45":1829939222940604416},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 19:39:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 19:39:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 19:39:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001288192001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:39:43] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 19:39:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 19:39:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971606860759040,"km_value":8971606860759.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:39:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940604416,"description":"Unknown IO ID 45"} 
[2026-07-27 19:39:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001288192001,"power":12667,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940604416}} 
[2026-07-27 19:39:43] local.INFO: DEBUG: GPS processor result {"connection_id":145521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555083,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:39:43] local.INFO: GPS data processed {"connection_id":145521,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:39:43] local.INFO: Acknowledgment sent {"connection_id":145521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:39:59] local.INFO: TCP Data received {"connection_id":143260,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143260,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:39:59] local.INFO: Processing buffer {"connection_id":143260,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:39:59] local.INFO: IMEI packet received {"connection_id":143260,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 19:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":143260,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:40:04] local.INFO: TCP Data received {"connection_id":143260,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143260,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:40:04] local.INFO: Processing buffer {"connection_id":143260,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:40:04] local.INFO: IMEI packet received {"connection_id":143260,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 19:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":143260,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:40:06] local.INFO: TCP Data received {"connection_id":143260,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3e7db48012d196700071feeb80039002823..."} 
[2026-07-27 19:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3e7db48012d196700071feeb80039002823..."} 
[2026-07-27 19:40:06] local.INFO: Processing buffer {"connection_id":143260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3e7db48012d196700071feeb80039002823..."} 
[2026-07-27 19:40:06] local.INFO: Packet analysis {"connection_id":143260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3e7"} 
[2026-07-27 19:40:06] local.INFO: Extracted packet for processing {"connection_id":143260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3e7"} 
[2026-07-27 19:40:06] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533240,"longitude_deg":75.6639488,"latitude_deg":11.953324,"altitude":57,"angle":40,"satellites":35,"speed":1,"hex_longitude":"2d196700","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-07-27 19:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:40:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001293568001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:40:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971628335595520,"note":"Value kept but may cause issues"} 
[2026-07-27 19:40:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940604416,"note":"Value kept but may cause issues"} 
[2026-07-27 19:40:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:40:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785161309000,"timestamp_ms":1785161309000,"timestamp_seconds":1785161309,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3e7db48"} 
[2026-07-27 19:40:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:40:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-07-27 19:40:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:40:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:40:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:40:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:40:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:40:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:40:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:40:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:40:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 19:40:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 19:40:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001293568001,"66":11906,"121":206,"28":31744,"24":1,"16":8971628335595520,"45":1829939222940604416},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 19:40:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 19:40:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 19:40:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001293568001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:40:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 19:40:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 19:40:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971628335595520,"km_value":8971628335595.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:40:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940604416,"description":"Unknown IO ID 45"} 
[2026-07-27 19:40:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001293568001,"power":11906,"unknown_121":206,"unknown_28":31744,"ignition":1,"odometer":null,"unknown_45":1829939222940604416}} 
[2026-07-27 19:40:06] local.INFO: DEBUG: GPS processor result {"connection_id":143260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555084,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:40:06] local.INFO: GPS data processed {"connection_id":143260,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:40:06] local.INFO: Acknowledgment sent {"connection_id":143260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:40:37] local.INFO: TCP Data received {"connection_id":143260,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3e7e318012d196700071fef380039001a24..."} 
[2026-07-27 19:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3e7e318012d196700071fef380039001a24..."} 
[2026-07-27 19:40:37] local.INFO: Processing buffer {"connection_id":143260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3e7e318012d196700071fef380039001a24..."} 
[2026-07-27 19:40:37] local.INFO: Packet analysis {"connection_id":143260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3e7"} 
[2026-07-27 19:40:37] local.INFO: Extracted packet for processing {"connection_id":143260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3e7"} 
[2026-07-27 19:40:37] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533368,"longitude_deg":75.6639488,"latitude_deg":11.9533368,"altitude":57,"angle":26,"satellites":36,"speed":1,"hex_longitude":"2d196700","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-07-27 19:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001295104001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:40:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971636925530112,"note":"Value kept but may cause issues"} 
[2026-07-27 19:40:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149905408,"note":"Value kept but may cause issues"} 
[2026-07-27 19:40:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:40:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785161311000,"timestamp_ms":1785161311000,"timestamp_seconds":1785161311,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3e7e318"} 
[2026-07-27 19:40:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:40:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-07-27 19:40:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1598,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:40:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:40:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:40:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:40:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:40:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:40:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:40:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:40:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 19:40:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 19:40:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001295104001,"66":12667,"121":206,"28":31744,"24":1,"16":8971636925530112,"45":1830431804149905408},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 19:40:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 19:40:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 19:40:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001295104001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:40:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 19:40:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 19:40:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971636925530112,"km_value":8971636925530.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:40:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149905408,"description":"Unknown IO ID 45"} 
[2026-07-27 19:40:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001295104001,"power":12667,"unknown_121":206,"unknown_28":31744,"ignition":1,"odometer":null,"unknown_45":1830431804149905408}} 
[2026-07-27 19:40:38] local.INFO: DEBUG: GPS processor result {"connection_id":143260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555085,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:40:38] local.INFO: GPS data processed {"connection_id":143260,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:40:38] local.INFO: Acknowledgment sent {"connection_id":143260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:40:59] local.INFO: TCP Data received {"connection_id":145523,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145523,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:40:59] local.INFO: Processing buffer {"connection_id":145523,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:40:59] local.INFO: IMEI packet received {"connection_id":145523,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 19:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":145523,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:41:00] local.INFO: TCP Data received {"connection_id":145523,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145523,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:41:00] local.INFO: Processing buffer {"connection_id":145523,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:41:00] local.INFO: IMEI packet received {"connection_id":145523,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 19:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":145523,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:41:04] local.INFO: TCP Data received {"connection_id":145523,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145523,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:41:04] local.INFO: Processing buffer {"connection_id":145523,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:41:04] local.INFO: IMEI packet received {"connection_id":145523,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 19:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":145523,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:41:05] local.INFO: TCP Data received {"connection_id":145523,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3e7eed0012d1966c0071fefc80039000d24..."} 
[2026-07-27 19:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3e7eed0012d1966c0071fefc80039000d24..."} 
[2026-07-27 19:41:05] local.INFO: Processing buffer {"connection_id":145523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3e7eed0012d1966c0071fefc80039000d24..."} 
[2026-07-27 19:41:05] local.INFO: Packet analysis {"connection_id":145523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3e7"} 
[2026-07-27 19:41:05] local.INFO: Extracted packet for processing {"connection_id":145523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3e7"} 
[2026-07-27 19:41:05] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533512,"longitude_deg":75.6639424,"latitude_deg":11.9533512,"altitude":57,"angle":13,"satellites":36,"speed":1,"hex_longitude":"2d1966c0","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-07-27 19:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:41:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001295616001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:41:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971645515464704,"note":"Value kept but may cause issues"} 
[2026-07-27 19:41:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149938176,"note":"Value kept but may cause issues"} 
[2026-07-27 19:41:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:41:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785161314000,"timestamp_ms":1785161314000,"timestamp_seconds":1785161314,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3e7eed0"} 
[2026-07-27 19:41:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:41:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-07-27 19:41:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:41:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:41:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:41:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:41:05] local.INFO: Teltonika packet parsed successfully {"connection_id":145523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:41:05] local.INFO: Passing IMEI to GPS processor {"connection_id":145523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:41:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":145523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:41:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:41:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 19:41:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 19:41:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001295616001,"66":12689,"121":206,"28":31744,"24":1,"16":8971645515464704,"45":1830431804149938176},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 19:41:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 19:41:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 19:41:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001295616001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:41:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 19:41:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 19:41:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971645515464704,"km_value":8971645515464.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:41:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149938176,"description":"Unknown IO ID 45"} 
[2026-07-27 19:41:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001295616001,"power":12689,"unknown_121":206,"unknown_28":31744,"ignition":1,"odometer":null,"unknown_45":1830431804149938176}} 
[2026-07-27 19:41:06] local.INFO: DEBUG: GPS processor result {"connection_id":145523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555086,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:41:06] local.INFO: GPS data processed {"connection_id":145523,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:41:06] local.INFO: Acknowledgment sent {"connection_id":145523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:41:37] local.INFO: TCP Data received {"connection_id":145523,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3e7f2b8012d1966c0071ff0000039015826..."} 
[2026-07-27 19:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3e7f2b8012d1966c0071ff0000039015826..."} 
[2026-07-27 19:41:37] local.INFO: Processing buffer {"connection_id":145523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3e7f2b8012d1966c0071ff0000039015826..."} 
[2026-07-27 19:41:37] local.INFO: Packet analysis {"connection_id":145523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3e7"} 
[2026-07-27 19:41:37] local.INFO: Extracted packet for processing {"connection_id":145523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3e7"} 
[2026-07-27 19:41:37] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533568,"longitude_deg":75.6639424,"latitude_deg":11.9533568,"altitude":57,"angle":344,"satellites":38,"speed":2,"hex_longitude":"2d1966c0","hex_latitude":"071ff000","is_valid_coordinates":true} 
[2026-07-27 19:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:41:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001296384001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:41:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971645515464704,"note":"Value kept but may cause issues"} 
[2026-07-27 19:41:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405797376,"note":"Value kept but may cause issues"} 
[2026-07-27 19:41:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:41:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785161315000,"timestamp_ms":1785161315000,"timestamp_seconds":1785161315,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3e7f2b8"} 
[2026-07-27 19:41:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:41:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-27 19:41:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:41:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:41:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:41:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:41:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:41:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:41:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:41:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:41:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 19:41:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 19:41:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001296384001,"66":12689,"121":206,"28":31744,"24":2,"16":8971645515464704,"45":1830361435405797376},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 19:41:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 19:41:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 19:41:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001296384001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:41:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 19:41:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 19:41:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971645515464704,"km_value":8971645515464.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:41:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405797376,"description":"Unknown IO ID 45"} 
[2026-07-27 19:41:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001296384001,"power":12689,"unknown_121":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1830361435405797376}} 
[2026-07-27 19:41:37] local.INFO: DEBUG: GPS processor result {"connection_id":145523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555087,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:41:37] local.INFO: GPS data processed {"connection_id":145523,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:41:37] local.INFO: Acknowledgment sent {"connection_id":145523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:41:59] local.INFO: TCP Data received {"connection_id":143261,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143261,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:41:59] local.INFO: Processing buffer {"connection_id":143261,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:41:59] local.INFO: IMEI packet received {"connection_id":143261,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 19:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":143261,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:42:02] local.INFO: TCP Data received {"connection_id":143261,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143261,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:42:02] local.INFO: Processing buffer {"connection_id":143261,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:42:02] local.INFO: IMEI packet received {"connection_id":143261,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 19:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":143261,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:42:04] local.INFO: TCP Data received {"connection_id":143261,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143261,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:42:04] local.INFO: Processing buffer {"connection_id":143261,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:42:04] local.INFO: IMEI packet received {"connection_id":143261,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 19:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":143261,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:42:05] local.INFO: TCP Data received {"connection_id":143261,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3e7f6a0012d196600071ff0700039014127..."} 
[2026-07-27 19:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3e7f6a0012d196600071ff0700039014127..."} 
[2026-07-27 19:42:05] local.INFO: Processing buffer {"connection_id":143261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3e7f6a0012d196600071ff0700039014127..."} 
[2026-07-27 19:42:05] local.INFO: Packet analysis {"connection_id":143261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3e7"} 
[2026-07-27 19:42:05] local.INFO: Extracted packet for processing {"connection_id":143261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3e7"} 
[2026-07-27 19:42:05] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533680,"longitude_deg":75.6639232,"latitude_deg":11.953368,"altitude":57,"angle":321,"satellites":39,"speed":4,"hex_longitude":"2d196600","hex_latitude":"071ff070","is_valid_coordinates":true} 
[2026-07-27 19:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:42:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001296640001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:42:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971654105399296,"note":"Value kept but may cause issues"} 
[2026-07-27 19:42:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405811712,"note":"Value kept but may cause issues"} 
[2026-07-27 19:42:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:42:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785161316000,"timestamp_ms":1785161316000,"timestamp_seconds":1785161316,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3e7f6a0"} 
[2026-07-27 19:42:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:42:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-27 19:42:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:42:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:42:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:42:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:42:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:42:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143261,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:42:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143261,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:42:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:42:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 19:42:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 19:42:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001296640001,"66":12613,"121":206,"28":31744,"24":4,"16":8971654105399296,"45":1830361435405811712},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 19:42:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 19:42:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 19:42:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001296640001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:42:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 19:42:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 19:42:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971654105399296,"km_value":8971654105399.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:42:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405811712,"description":"Unknown IO ID 45"} 
[2026-07-27 19:42:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001296640001,"power":12613,"unknown_121":206,"unknown_28":31744,"ignition":4,"odometer":null,"unknown_45":1830361435405811712}} 
[2026-07-27 19:42:05] local.INFO: DEBUG: GPS processor result {"connection_id":143261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555088,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:42:05] local.INFO: GPS data processed {"connection_id":143261,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:42:05] local.INFO: Acknowledgment sent {"connection_id":143261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:42:36] local.INFO: TCP Data received {"connection_id":143261,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3e848a8012d196580071ff150003a014b26..."} 
[2026-07-27 19:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3e848a8012d196580071ff150003a014b26..."} 
[2026-07-27 19:42:36] local.INFO: Processing buffer {"connection_id":143261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3e848a8012d196580071ff150003a014b26..."} 
[2026-07-27 19:42:36] local.INFO: Packet analysis {"connection_id":143261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3e8"} 
[2026-07-27 19:42:36] local.INFO: Extracted packet for processing {"connection_id":143261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3e8"} 
[2026-07-27 19:42:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533904,"longitude_deg":75.6639104,"latitude_deg":11.9533904,"altitude":58,"angle":331,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff150","is_valid_coordinates":true} 
[2026-07-27 19:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:42:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001296896001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:42:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971671285268480,"note":"Value kept but may cause issues"} 
[2026-07-27 19:42:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173307392,"note":"Value kept but may cause issues"} 
[2026-07-27 19:42:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:42:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785161337000,"timestamp_ms":1785161337000,"timestamp_seconds":1785161337,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3e848a8"} 
[2026-07-27 19:42:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:42:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-27 19:42:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:42:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:42:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:42:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:42:36] local.INFO: Teltonika packet parsed successfully {"connection_id":143261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:42:36] local.INFO: Passing IMEI to GPS processor {"connection_id":143261,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:42:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":143261,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:42:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:42:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 19:42:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 19:42:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001296896001,"66":12667,"121":206,"28":31744,"24":0,"16":8971671285268480,"45":1830150329173307392},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 19:42:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 19:42:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 19:42:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001296896001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:42:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 19:42:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 19:42:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971671285268480,"km_value":8971671285268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:42:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173307392,"description":"Unknown IO ID 45"} 
[2026-07-27 19:42:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001296896001,"power":12667,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173307392}} 
[2026-07-27 19:42:36] local.INFO: DEBUG: GPS processor result {"connection_id":143261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555089,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:42:36] local.INFO: GPS data processed {"connection_id":143261,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:42:36] local.INFO: Acknowledgment sent {"connection_id":143261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:43:04] local.INFO: TCP Data received {"connection_id":145524,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145524,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:43:04] local.INFO: Processing buffer {"connection_id":145524,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:43:04] local.INFO: IMEI packet received {"connection_id":145524,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 19:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":145524,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:43:05] local.INFO: TCP Data received {"connection_id":145524,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145524,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:43:05] local.INFO: Processing buffer {"connection_id":145524,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:43:05] local.INFO: IMEI packet received {"connection_id":145524,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 19:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":145524,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:43:09] local.INFO: TCP Data received {"connection_id":145524,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145524,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:43:09] local.INFO: Processing buffer {"connection_id":145524,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:43:09] local.INFO: IMEI packet received {"connection_id":145524,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 19:43:09] local.INFO: IMEI acknowledgment sent {"connection_id":145524,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:43:10] local.INFO: TCP Data received {"connection_id":145524,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3e89ab0012d196580071ff150003a014b23..."} 
[2026-07-27 19:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3e89ab0012d196580071ff150003a014b23..."} 
[2026-07-27 19:43:10] local.INFO: Processing buffer {"connection_id":145524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3e89ab0012d196580071ff150003a014b23..."} 
[2026-07-27 19:43:10] local.INFO: Packet analysis {"connection_id":145524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3e8"} 
[2026-07-27 19:43:10] local.INFO: Extracted packet for processing {"connection_id":145524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3e8"} 
[2026-07-27 19:43:10] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533904,"longitude_deg":75.6639104,"latitude_deg":11.9533904,"altitude":58,"angle":331,"satellites":35,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff150","is_valid_coordinates":true} 
[2026-07-27 19:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:43:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001302272001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:43:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971671285268480,"note":"Value kept but may cause issues"} 
[2026-07-27 19:43:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685009408,"note":"Value kept but may cause issues"} 
[2026-07-27 19:43:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:43:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785161358000,"timestamp_ms":1785161358000,"timestamp_seconds":1785161358,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3e89ab0"} 
[2026-07-27 19:43:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:43:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-07-27 19:43:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:43:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:43:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:43:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:43:10] local.INFO: Teltonika packet parsed successfully {"connection_id":145524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:43:10] local.INFO: Passing IMEI to GPS processor {"connection_id":145524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:43:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":145524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:43:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:43:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 19:43:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 19:43:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001302272001,"66":12548,"121":206,"28":31744,"24":0,"16":8971671285268480,"45":1830009591685009408},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 19:43:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 19:43:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 19:43:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001302272001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:43:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 19:43:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 19:43:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971671285268480,"km_value":8971671285268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:43:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685009408,"description":"Unknown IO ID 45"} 
[2026-07-27 19:43:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001302272001,"power":12548,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591685009408}} 
[2026-07-27 19:43:10] local.INFO: DEBUG: GPS processor result {"connection_id":145524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555090,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:43:10] local.INFO: GPS data processed {"connection_id":145524,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:43:10] local.INFO: Acknowledgment sent {"connection_id":145524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:43:15] local.INFO: TCP Data received {"connection_id":145524,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3e8ecb8012d196580071ff150003a014b23..."} 
[2026-07-27 19:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3e8ecb8012d196580071ff150003a014b23..."} 
[2026-07-27 19:43:15] local.INFO: Processing buffer {"connection_id":145524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3e8ecb8012d196580071ff150003a014b23..."} 
[2026-07-27 19:43:15] local.INFO: Packet analysis {"connection_id":145524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3e8"} 
[2026-07-27 19:43:15] local.INFO: Extracted packet for processing {"connection_id":145524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3e8"} 
[2026-07-27 19:43:15] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533904,"longitude_deg":75.6639104,"latitude_deg":11.9533904,"altitude":58,"angle":331,"satellites":35,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff150","is_valid_coordinates":true} 
[2026-07-27 19:43:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:43:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001307648001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:43:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971671285268480,"note":"Value kept but may cause issues"} 
[2026-07-27 19:43:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685009408,"note":"Value kept but may cause issues"} 
[2026-07-27 19:43: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-07-27 19:43:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785161379000,"timestamp_ms":1785161379000,"timestamp_seconds":1785161379,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3e8ecb8"} 
[2026-07-27 19:43:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:43:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:43:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-27 19:43:15] local.WARNING: Large IO value detected {"io_id":223,"raw_value":2852126720,"note":"Value kept but may cause issues"} 
[2026-07-27 19:43:15] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2749881160,"note":"Value kept but may cause issues"} 
[2026-07-27 19:43:15] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":40961,"corrected_to":0} 
[2026-07-27 19:43:15] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184154955981,"note":"Value kept but may cause issues"} 
[2026-07-27 19:43:15] local.WARNING: Large IO value detected {"io_id":163,"raw_value":3891187713,"note":"Value kept but may cause issues"} 
[2026-07-27 19:43:15] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3752329216,"note":"Value kept but may cause issues"} 
[2026-07-27 19:43:15] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-27 19:43:15] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8719195500324067328,"note":"Value kept but may cause issues"} 
[2026-07-27 19:43:15] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,121,28,24,241,158,16,223,159,72,45,128,58,38,10,66,246,240,57,39,242,192,1,145,163,31,4,113,205,227,103,56,36,239,49,2,7,231],"length":485,"final_offset":615,"validated_count":38,"validation_warnings":[{"io_id":246,"original":40961,"validated":0},{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-07-27 19:43:15] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4179704542872469504,"timestamp_seconds":4179704542872469.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 19:43:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:43:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:43:15] local.INFO: Teltonika packet parsed successfully {"connection_id":145524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:43:15] local.INFO: Passing IMEI to GPS processor {"connection_id":145524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:43:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":145524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:43:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:43:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 19:43:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 19:43:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001307648001,"66":12504,"121":206,"28":31744,"24":0,"16":8971671285268480,"45":1830009591685009408},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 19:43:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 19:43:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 19:43:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001307648001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:43:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 19:43:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 19:43:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971671285268480,"km_value":8971671285268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:43:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685009408,"description":"Unknown IO ID 45"} 
[2026-07-27 19:43:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001307648001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591685009408}} 
[2026-07-27 19:43:15] local.INFO: DEBUG: GPS processor result {"connection_id":145524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555091,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:43:15] local.INFO: GPS data processed {"connection_id":145524,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:43:15] local.INFO: Acknowledgment sent {"connection_id":145524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:43:33] local.INFO: TCP Data received {"connection_id":144247,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:43:33] local.INFO: Processing buffer {"connection_id":144247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:43:33] local.INFO: IMEI packet received {"connection_id":144247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 19:43:33] local.INFO: IMEI acknowledgment sent {"connection_id":144247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:43:36] local.INFO: TCP Data received {"connection_id":144247,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:43:36] local.INFO: Processing buffer {"connection_id":144247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:43:36] local.INFO: IMEI packet received {"connection_id":144247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 19:43:36] local.INFO: IMEI acknowledgment sent {"connection_id":144247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:43:38] local.INFO: TCP Data received {"connection_id":144247,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3ea9680012da53f0005f1b888000f001628..."} 
[2026-07-27 19:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3ea9680012da53f0005f1b888000f001628..."} 
[2026-07-27 19:43:38] local.INFO: Processing buffer {"connection_id":144247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3ea9680012da53f0005f1b888000f001628..."} 
[2026-07-27 19:43:38] local.INFO: Packet analysis {"connection_id":144247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3ea"} 
[2026-07-27 19:43:38] local.INFO: Extracted packet for processing {"connection_id":144247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3ea"} 
[2026-07-27 19:43:38] local.INFO: GPS Element Parsed {"raw_longitude":765804288,"raw_latitude":99727496,"longitude_deg":76.5804288,"latitude_deg":9.9727496,"altitude":15,"angle":22,"satellites":40,"speed":36,"hex_longitude":"2da53f00","hex_latitude":"05f1b888","is_valid_coordinates":true} 
[2026-07-27 19:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:43:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001338368001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:43:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359328380006432768,"note":"Value kept but may cause issues"} 
[2026-07-27 19:43:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6543870970529665024,"note":"Value kept but may cause issues"} 
[2026-07-27 19:43:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:43:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785161488000,"timestamp_ms":1785161488000,"timestamp_seconds":1785161488,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3ea9680"} 
[2026-07-27 19:43:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:43:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-27 19:43:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:43:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:43:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:43:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:43:38] local.INFO: Teltonika packet parsed successfully {"connection_id":144247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:43:38] local.INFO: Passing IMEI to GPS processor {"connection_id":144247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:43:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":144247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:43:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:43:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 19:43:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 19:43:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001338368001,"66":27321,"42":206,"88":19456,"24":36,"16":359328380006432768,"45":-6543870970529665024},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,88,24,16,45]} 
[2026-07-27 19:43:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 19:43:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 19:43:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001338368001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:43:38] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-07-27 19:43:38] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-27 19:43:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359328380006432768,"km_value":359328380006432.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:43:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6543870970529665024,"description":"Unknown IO ID 45"} 
[2026-07-27 19:43:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001338368001,"power":27321,"unknown_42":206,"unknown_88":19456,"ignition":36,"odometer":null,"unknown_45":-6543870970529665024}} 
[2026-07-27 19:43:38] local.INFO: DEBUG: GPS processor result {"connection_id":144247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:43:38] local.INFO: GPS data processed {"connection_id":144247,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:43:38] local.INFO: Acknowledgment sent {"connection_id":144247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:43:42] local.INFO: TCP Data received {"connection_id":144247,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3eaaa08012da5448005f1c860000d000528..."} 
[2026-07-27 19:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3eaaa08012da5448005f1c860000d000528..."} 
[2026-07-27 19:43:42] local.INFO: Processing buffer {"connection_id":144247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3eaaa08012da5448005f1c860000d000528..."} 
[2026-07-27 19:43:42] local.INFO: Packet analysis {"connection_id":144247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3ea"} 
[2026-07-27 19:43:42] local.INFO: Extracted packet for processing {"connection_id":144247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3ea"} 
[2026-07-27 19:43:42] local.INFO: GPS Element Parsed {"raw_longitude":765805696,"raw_latitude":99731552,"longitude_deg":76.5805696,"latitude_deg":9.9731552,"altitude":13,"angle":5,"satellites":40,"speed":33,"hex_longitude":"2da54480","hex_latitude":"05f1c860","is_valid_coordinates":true} 
[2026-07-27 19: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-07-27 19:43:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001340928001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:43:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359328586164862976,"note":"Value kept but may cause issues"} 
[2026-07-27 19:43:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6539508108388431872,"note":"Value kept but may cause issues"} 
[2026-07-27 19:43:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:43:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785161493000,"timestamp_ms":1785161493000,"timestamp_seconds":1785161493,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3eaaa08"} 
[2026-07-27 19:43:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:43:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-27 19:43:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19: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-07-27 19:43:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:43:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:43:42] local.INFO: Teltonika packet parsed successfully {"connection_id":144247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:43:42] local.INFO: Passing IMEI to GPS processor {"connection_id":144247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:43:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":144247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:43:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:43:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 19:43:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 19:43:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001340928001,"66":27300,"42":206,"88":19456,"24":33,"16":359328586164862976,"45":-6539508108388431872},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,88,24,16,45]} 
[2026-07-27 19:43:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 19:43:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 19:43:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001340928001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:43:42] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-07-27 19:43:42] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-27 19:43:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359328586164862976,"km_value":359328586164863.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:43:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6539508108388431872,"description":"Unknown IO ID 45"} 
[2026-07-27 19:43:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001340928001,"power":27300,"unknown_42":206,"unknown_88":19456,"ignition":33,"odometer":null,"unknown_45":-6539508108388431872}} 
[2026-07-27 19:43:42] local.INFO: DEBUG: GPS processor result {"connection_id":144247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:43:42] local.INFO: GPS data processed {"connection_id":144247,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:43:42] local.INFO: Acknowledgment sent {"connection_id":144247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:44:04] local.INFO: TCP Data received {"connection_id":145525,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145525,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:44:04] local.INFO: Processing buffer {"connection_id":145525,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:44:04] local.INFO: IMEI packet received {"connection_id":145525,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 19:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":145525,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:44:05] local.INFO: TCP Data received {"connection_id":145525,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145525,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:44:05] local.INFO: Processing buffer {"connection_id":145525,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:44:05] local.INFO: IMEI packet received {"connection_id":145525,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 19:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":145525,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:44:06] local.INFO: TCP Data received {"connection_id":145525,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3e93ec0012d196580071ff150003a014b26..."} 
[2026-07-27 19:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3e93ec0012d196580071ff150003a014b26..."} 
[2026-07-27 19:44:06] local.INFO: Processing buffer {"connection_id":145525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3e93ec0012d196580071ff150003a014b26..."} 
[2026-07-27 19:44:06] local.INFO: Packet analysis {"connection_id":145525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3e9"} 
[2026-07-27 19:44:06] local.INFO: Extracted packet for processing {"connection_id":145525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3e9"} 
[2026-07-27 19:44:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533904,"longitude_deg":75.6639104,"latitude_deg":11.9533904,"altitude":58,"angle":331,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff150","is_valid_coordinates":true} 
[2026-07-27 19:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:44:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001313024001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:44:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971671285268480,"note":"Value kept but may cause issues"} 
[2026-07-27 19:44:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685009408,"note":"Value kept but may cause issues"} 
[2026-07-27 19:44:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:44:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785161400000,"timestamp_ms":1785161400000,"timestamp_seconds":1785161400,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3e93ec0"} 
[2026-07-27 19:44:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:44:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-27 19:44:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:44:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:44:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:44:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:44:06] local.INFO: Teltonika packet parsed successfully {"connection_id":145525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:44:06] local.INFO: Passing IMEI to GPS processor {"connection_id":145525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:44:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":145525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:44:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:44:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 19:44:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 19:44:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001313024001,"66":11721,"121":206,"28":31744,"24":0,"16":8971671285268480,"45":1830009591685009408},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 19:44:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 19:44:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 19:44:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001313024001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:44:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 19:44:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 19:44:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971671285268480,"km_value":8971671285268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:44:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685009408,"description":"Unknown IO ID 45"} 
[2026-07-27 19:44:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001313024001,"power":11721,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591685009408}} 
[2026-07-27 19:44:06] local.INFO: DEBUG: GPS processor result {"connection_id":145525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555094,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:44:06] local.INFO: GPS data processed {"connection_id":145525,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:44:06] local.INFO: Acknowledgment sent {"connection_id":145525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:44:09] local.INFO: TCP Data received {"connection_id":145525,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3e990c8012d196580071ff150003a014b26..."} 
[2026-07-27 19:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3e990c8012d196580071ff150003a014b26..."} 
[2026-07-27 19:44:09] local.INFO: Processing buffer {"connection_id":145525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3e990c8012d196580071ff150003a014b26..."} 
[2026-07-27 19:44:09] local.INFO: Packet analysis {"connection_id":145525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3e9"} 
[2026-07-27 19:44:09] local.INFO: Extracted packet for processing {"connection_id":145525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3e9"} 
[2026-07-27 19:44:09] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533904,"longitude_deg":75.6639104,"latitude_deg":11.9533904,"altitude":58,"angle":331,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff150","is_valid_coordinates":true} 
[2026-07-27 19:44:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:44:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001318400001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:44:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971671285268480,"note":"Value kept but may cause issues"} 
[2026-07-27 19:44:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685009408,"note":"Value kept but may cause issues"} 
[2026-07-27 19:44:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:44:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785161421000,"timestamp_ms":1785161421000,"timestamp_seconds":1785161421,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3e990c8"} 
[2026-07-27 19:44:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:44:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19: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":45,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-27 19:44:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2232,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:44:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:44:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:44:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:44:09] local.INFO: Teltonika packet parsed successfully {"connection_id":145525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:44:09] local.INFO: Passing IMEI to GPS processor {"connection_id":145525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:44:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":145525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:44:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:44:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 19:44:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 19:44:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001318400001,"66":12461,"121":206,"28":31744,"24":0,"16":8971671285268480,"45":1830009591685009408},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 19:44:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 19:44:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 19:44:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001318400001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:44:09] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 19:44:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 19:44:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971671285268480,"km_value":8971671285268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:44:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685009408,"description":"Unknown IO ID 45"} 
[2026-07-27 19:44:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001318400001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591685009408}} 
[2026-07-27 19:44:09] local.INFO: DEBUG: GPS processor result {"connection_id":145525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555095,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:44:09] local.INFO: GPS data processed {"connection_id":145525,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:44:09] local.INFO: Acknowledgment sent {"connection_id":145525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:44:13] local.INFO: TCP Data received {"connection_id":144247,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3ec6758012da5338005f2db300017002427..."} 
[2026-07-27 19:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3ec6758012da5338005f2db300017002427..."} 
[2026-07-27 19:44:13] local.INFO: Processing buffer {"connection_id":144247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3ec6758012da5338005f2db300017002427..."} 
[2026-07-27 19:44:13] local.INFO: Packet analysis {"connection_id":144247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3ec"} 
[2026-07-27 19:44:13] local.INFO: Extracted packet for processing {"connection_id":144247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3ec"} 
[2026-07-27 19:44:13] local.INFO: GPS Element Parsed {"raw_longitude":765801344,"raw_latitude":99801904,"longitude_deg":76.5801344,"latitude_deg":9.9801904,"altitude":23,"angle":36,"satellites":39,"speed":25,"hex_longitude":"2da53380","hex_latitude":"05f2db30","is_valid_coordinates":true} 
[2026-07-27 19:44:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:44:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001367040001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:44:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359332224002162688,"note":"Value kept but may cause issues"} 
[2026-07-27 19:44:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6549852313765218304,"note":"Value kept but may cause issues"} 
[2026-07-27 19:44:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:44:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785161607000,"timestamp_ms":1785161607000,"timestamp_seconds":1785161607,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3ec6758"} 
[2026-07-27 19:44:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:44:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-27 19:44:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:44:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:44:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:44:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:44:13] local.INFO: Teltonika packet parsed successfully {"connection_id":144247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:44:13] local.INFO: Passing IMEI to GPS processor {"connection_id":144247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:44:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":144247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:44: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-07-27 19:44:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 19:44:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 19:44:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001367040001,"66":27245,"27":206,"88":19456,"24":25,"16":359332224002162688,"45":-6549852313765218304},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,88,24,16,45]} 
[2026-07-27 19:44:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 19:44:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 19:44:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001367040001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:44:13] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 19:44:13] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-27 19:44:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359332224002162688,"km_value":359332224002162.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:44:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6549852313765218304,"description":"Unknown IO ID 45"} 
[2026-07-27 19:44:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001367040001,"power":27245,"unknown_27":206,"unknown_88":19456,"ignition":25,"odometer":null,"unknown_45":-6549852313765218304}} 
[2026-07-27 19:44:13] local.INFO: DEBUG: GPS processor result {"connection_id":144247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:44:13] local.INFO: GPS data processed {"connection_id":144247,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:44:13] local.INFO: Acknowledgment sent {"connection_id":144247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:44:31] local.INFO: TCP Data received {"connection_id":145526,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:44:31] local.INFO: Processing buffer {"connection_id":145526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:44:31] local.INFO: IMEI packet received {"connection_id":145526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 19:44:31] local.INFO: IMEI acknowledgment sent {"connection_id":145526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:44:33] local.INFO: TCP Data received {"connection_id":145526,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:44:33] local.INFO: Processing buffer {"connection_id":145526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:44:33] local.INFO: IMEI packet received {"connection_id":145526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 19:44:33] local.INFO: IMEI acknowledgment sent {"connection_id":145526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:44:36] local.INFO: TCP Data received {"connection_id":145526,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:44:36] local.INFO: Processing buffer {"connection_id":145526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:44:36] local.INFO: IMEI packet received {"connection_id":145526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 19:44:36] local.INFO: IMEI acknowledgment sent {"connection_id":145526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:44:37] local.INFO: TCP Data received {"connection_id":145526,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3ec7310012da5370005f2e1a80017001728..."} 
[2026-07-27 19:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145526,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3ec7310012da5370005f2e1a80017001728..."} 
[2026-07-27 19:44:37] local.INFO: Processing buffer {"connection_id":145526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3ec7310012da5370005f2e1a80017001728..."} 
[2026-07-27 19:44:37] local.INFO: Packet analysis {"connection_id":145526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3ec"} 
[2026-07-27 19:44:37] local.INFO: Extracted packet for processing {"connection_id":145526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3ec"} 
[2026-07-27 19:44:37] local.INFO: GPS Element Parsed {"raw_longitude":765802240,"raw_latitude":99803560,"longitude_deg":76.580224,"latitude_deg":9.980356,"altitude":23,"angle":23,"satellites":40,"speed":26,"hex_longitude":"2da53700","hex_latitude":"05f2e1a8","is_valid_coordinates":true} 
[2026-07-27 19:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:44:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001371392001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:44:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359332318491443200,"note":"Value kept but may cause issues"} 
[2026-07-27 19:44:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6542745070601555968,"note":"Value kept but may cause issues"} 
[2026-07-27 19:44:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:44:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785161610000,"timestamp_ms":1785161610000,"timestamp_seconds":1785161610,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3ec7310"} 
[2026-07-27 19:44:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:44:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-27 19:44:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:44:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:44:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:44:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:44:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:44:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:44:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:44:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:44:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 19:44:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 19:44:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001371392001,"66":27365,"27":206,"88":19456,"24":26,"16":359332318491443200,"45":-6542745070601555968},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,88,24,16,45]} 
[2026-07-27 19:44:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 19:44:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 19:44:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001371392001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:44:37] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 19:44:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-27 19:44:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359332318491443200,"km_value":359332318491443.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:44:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6542745070601555968,"description":"Unknown IO ID 45"} 
[2026-07-27 19:44:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001371392001,"power":27365,"unknown_27":206,"unknown_88":19456,"ignition":26,"odometer":null,"unknown_45":-6542745070601555968}} 
[2026-07-27 19:44:37] local.INFO: DEBUG: GPS processor result {"connection_id":145526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:44:37] local.INFO: GPS data processed {"connection_id":145526,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:44:37] local.INFO: Acknowledgment sent {"connection_id":145526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:44:40] local.INFO: TCP Data received {"connection_id":145525,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3e9e2d0012d196580071ff150003a014b27..."} 
[2026-07-27 19:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3e9e2d0012d196580071ff150003a014b27..."} 
[2026-07-27 19:44:40] local.INFO: Processing buffer {"connection_id":145525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3e9e2d0012d196580071ff150003a014b27..."} 
[2026-07-27 19:44:40] local.INFO: Packet analysis {"connection_id":145525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3e9"} 
[2026-07-27 19:44:40] local.INFO: Extracted packet for processing {"connection_id":145525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3e9"} 
[2026-07-27 19:44:40] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533904,"longitude_deg":75.6639104,"latitude_deg":11.9533904,"altitude":58,"angle":331,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff150","is_valid_coordinates":true} 
[2026-07-27 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-07-27 19:44:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001323776001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:44:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971671285268480,"note":"Value kept but may cause issues"} 
[2026-07-27 19:44:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685009408,"note":"Value kept but may cause issues"} 
[2026-07-27 19:44:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:44:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785161442000,"timestamp_ms":1785161442000,"timestamp_seconds":1785161442,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3e9e2d0"} 
[2026-07-27 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-07-27 19:44:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-27 19:44:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 19:44:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:44:40] local.INFO: Teltonika packet parsed successfully {"connection_id":145525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:44:40] local.INFO: Passing IMEI to GPS processor {"connection_id":145525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:44:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":145525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:44:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:44:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 19:44:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 19:44:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001323776001,"66":12439,"121":206,"28":31744,"24":0,"16":8971671285268480,"45":1830009591685009408},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 19:44:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 19:44:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 19:44:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001323776001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:44:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 19:44:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 19:44:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971671285268480,"km_value":8971671285268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:44:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685009408,"description":"Unknown IO ID 45"} 
[2026-07-27 19:44:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001323776001,"power":12439,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591685009408}} 
[2026-07-27 19:44:40] local.INFO: DEBUG: GPS processor result {"connection_id":145525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555098,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:44:40] local.INFO: GPS data processed {"connection_id":145525,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:44:40] local.INFO: Acknowledgment sent {"connection_id":145525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:44:59] local.INFO: TCP Data received {"connection_id":145527,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145527,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:44:59] local.INFO: Processing buffer {"connection_id":145527,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:44:59] local.INFO: IMEI packet received {"connection_id":145527,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 19:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":145527,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:45:04] local.INFO: TCP Data received {"connection_id":145527,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145527,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:45:04] local.INFO: Processing buffer {"connection_id":145527,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:45:04] local.INFO: IMEI packet received {"connection_id":145527,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 19:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":145527,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:45:06] local.INFO: TCP Data received {"connection_id":145527,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3ea34d8012d196580071ff150003a014b23..."} 
[2026-07-27 19:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3ea34d8012d196580071ff150003a014b23..."} 
[2026-07-27 19:45:06] local.INFO: Processing buffer {"connection_id":145527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3ea34d8012d196580071ff150003a014b23..."} 
[2026-07-27 19:45:06] local.INFO: Packet analysis {"connection_id":145527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3ea"} 
[2026-07-27 19:45:06] local.INFO: Extracted packet for processing {"connection_id":145527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3ea"} 
[2026-07-27 19:45:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533904,"longitude_deg":75.6639104,"latitude_deg":11.9533904,"altitude":58,"angle":331,"satellites":35,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff150","is_valid_coordinates":true} 
[2026-07-27 19:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:45:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001329152001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:45:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971671285268480,"note":"Value kept but may cause issues"} 
[2026-07-27 19:45:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685009408,"note":"Value kept but may cause issues"} 
[2026-07-27 19:45:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:45:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785161463000,"timestamp_ms":1785161463000,"timestamp_seconds":1785161463,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3ea34d8"} 
[2026-07-27 19:45:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:45:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-27 19:45:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:45:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:45:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:45:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:45:06] local.INFO: Teltonika packet parsed successfully {"connection_id":145527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:45:06] local.INFO: Passing IMEI to GPS processor {"connection_id":145527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:45:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":145527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:45:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:45:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 19:45:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 19:45:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001329152001,"66":12385,"121":206,"28":31744,"24":0,"16":8971671285268480,"45":1830009591685009408},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 19:45:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 19:45:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 19:45:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001329152001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:45:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 19:45:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 19:45:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971671285268480,"km_value":8971671285268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:45:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685009408,"description":"Unknown IO ID 45"} 
[2026-07-27 19:45:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001329152001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591685009408}} 
[2026-07-27 19:45:06] local.INFO: DEBUG: GPS processor result {"connection_id":145527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555099,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:45:06] local.INFO: GPS data processed {"connection_id":145527,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:45:06] local.INFO: Acknowledgment sent {"connection_id":145527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:45:09] local.INFO: TCP Data received {"connection_id":145526,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3ec82b0012da53a0005f2eba80016000928..."} 
[2026-07-27 19:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145526,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3ec82b0012da53a0005f2eba80016000928..."} 
[2026-07-27 19:45:09] local.INFO: Processing buffer {"connection_id":145526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3ec82b0012da53a0005f2eba80016000928..."} 
[2026-07-27 19:45:09] local.INFO: Packet analysis {"connection_id":145526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3ec"} 
[2026-07-27 19:45:09] local.INFO: Extracted packet for processing {"connection_id":145526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3ec"} 
[2026-07-27 19:45:09] local.INFO: GPS Element Parsed {"raw_longitude":765803008,"raw_latitude":99806120,"longitude_deg":76.5803008,"latitude_deg":9.980612,"altitude":22,"angle":9,"satellites":40,"speed":29,"hex_longitude":"2da53a00","hex_latitude":"05f2eba8","is_valid_coordinates":true} 
[2026-07-27 19:45:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:45:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001372160001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:45:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359332447340462080,"note":"Value kept but may cause issues"} 
[2026-07-27 19:45:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6541759908182644736,"note":"Value kept but may cause issues"} 
[2026-07-27 19:45:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:45:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785161614000,"timestamp_ms":1785161614000,"timestamp_seconds":1785161614,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3ec82b0"} 
[2026-07-27 19:45:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:45:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:45:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-27 19:45:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:45:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:45:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:45:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:45:09] local.INFO: Teltonika packet parsed successfully {"connection_id":145526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:45:09] local.INFO: Passing IMEI to GPS processor {"connection_id":145526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:45:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":145526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:45:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:45:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 19:45:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 19:45:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001372160001,"66":27332,"27":206,"88":19456,"24":29,"16":359332447340462080,"45":-6541759908182644736},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,88,24,16,45]} 
[2026-07-27 19:45:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 19:45:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 19:45:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001372160001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:45:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-27 19:45:09] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-27 19:45:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359332447340462080,"km_value":359332447340462.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:45:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6541759908182644736,"description":"Unknown IO ID 45"} 
[2026-07-27 19:45:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001372160001,"power":27332,"unknown_27":206,"unknown_88":19456,"ignition":29,"odometer":null,"unknown_45":-6541759908182644736}} 
[2026-07-27 19:45:09] local.INFO: DEBUG: GPS processor result {"connection_id":145526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:45:09] local.INFO: GPS data processed {"connection_id":145526,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:45:09] local.INFO: Acknowledgment sent {"connection_id":145526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:45:31] local.INFO: TCP Data received {"connection_id":143262,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:45:31] local.INFO: Processing buffer {"connection_id":143262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:45:31] local.INFO: IMEI packet received {"connection_id":143262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 19:45:31] local.INFO: IMEI acknowledgment sent {"connection_id":143262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:45:34] local.INFO: TCP Data received {"connection_id":143262,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:45:34] local.INFO: Processing buffer {"connection_id":143262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:45:34] local.INFO: IMEI packet received {"connection_id":143262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 19:45:34] local.INFO: IMEI acknowledgment sent {"connection_id":143262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:45:36] local.INFO: TCP Data received {"connection_id":143262,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:45:36] local.INFO: Processing buffer {"connection_id":143262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:45:36] local.INFO: IMEI packet received {"connection_id":143262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 19:45:36] local.INFO: IMEI acknowledgment sent {"connection_id":143262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:45:37] local.INFO: TCP Data received {"connection_id":143262,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3ed8098012da4da4005f341980014013b28..."} 
[2026-07-27 19:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3ed8098012da4da4005f341980014013b28..."} 
[2026-07-27 19:45:37] local.INFO: Processing buffer {"connection_id":143262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3ed8098012da4da4005f341980014013b28..."} 
[2026-07-27 19:45:37] local.INFO: Packet analysis {"connection_id":143262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3ed"} 
[2026-07-27 19:45:37] local.INFO: Extracted packet for processing {"connection_id":143262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3ed"} 
[2026-07-27 19:45:37] local.INFO: GPS Element Parsed {"raw_longitude":765778496,"raw_latitude":99828120,"longitude_deg":76.5778496,"latitude_deg":9.982812,"altitude":20,"angle":315,"satellites":40,"speed":28,"hex_longitude":"2da4da40","hex_latitude":"05f34198","is_valid_coordinates":true} 
[2026-07-27 19:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001389056001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359334234046857216,"note":"Value kept but may cause issues"} 
[2026-07-27 19:45:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6565755649941309440,"note":"Value kept but may cause issues"} 
[2026-07-27 19:45:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785161679000,"timestamp_ms":1785161679000,"timestamp_seconds":1785161679,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3ed8098"} 
[2026-07-27 19:45:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:45:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-27 19:45:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:45:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:45:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:45:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 19:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 19:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001389056001,"66":27321,"28":206,"88":19456,"24":28,"16":359334234046857216,"45":-6565755649941309440},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,88,24,16,45]} 
[2026-07-27 19:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 19:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 19:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001389056001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:45:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-27 19:45:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-27 19:45:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359334234046857216,"km_value":359334234046857.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:45:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6565755649941309440,"description":"Unknown IO ID 45"} 
[2026-07-27 19:45:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001389056001,"power":27321,"unknown_28":206,"unknown_88":19456,"ignition":28,"odometer":null,"unknown_45":-6565755649941309440}} 
[2026-07-27 19:45:37] local.INFO: DEBUG: GPS processor result {"connection_id":143262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:45:37] local.INFO: GPS data processed {"connection_id":143262,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:45:37] local.INFO: Acknowledgment sent {"connection_id":143262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:45:38] local.INFO: TCP Data received {"connection_id":145527,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3ea86e0012d196580071ff150003a014b25..."} 
[2026-07-27 19:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3ea86e0012d196580071ff150003a014b25..."} 
[2026-07-27 19:45:38] local.INFO: Processing buffer {"connection_id":145527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3ea86e0012d196580071ff150003a014b25..."} 
[2026-07-27 19:45:38] local.INFO: Packet analysis {"connection_id":145527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3ea"} 
[2026-07-27 19:45:38] local.INFO: Extracted packet for processing {"connection_id":145527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3ea"} 
[2026-07-27 19:45:38] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533904,"longitude_deg":75.6639104,"latitude_deg":11.9533904,"altitude":58,"angle":331,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff150","is_valid_coordinates":true} 
[2026-07-27 19:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:45:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001334528001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:45:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971671285268480,"note":"Value kept but may cause issues"} 
[2026-07-27 19:45:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685009408,"note":"Value kept but may cause issues"} 
[2026-07-27 19:45:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:45:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785161484000,"timestamp_ms":1785161484000,"timestamp_seconds":1785161484,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3ea86e0"} 
[2026-07-27 19:45:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:45:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-27 19:45:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:45:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:45:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:45:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:45:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:45:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:45:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:45:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:45:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 19:45:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 19:45:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001334528001,"66":12319,"121":206,"28":31744,"24":0,"16":8971671285268480,"45":1830009591685009408},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 19:45:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 19:45:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 19:45:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001334528001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:45:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 19:45:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 19:45:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971671285268480,"km_value":8971671285268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:45:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685009408,"description":"Unknown IO ID 45"} 
[2026-07-27 19:45:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001334528001,"power":12319,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591685009408}} 
[2026-07-27 19:45:38] local.INFO: DEBUG: GPS processor result {"connection_id":145527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555102,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:45:38] local.INFO: GPS data processed {"connection_id":145527,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:45:38] local.INFO: Acknowledgment sent {"connection_id":145527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:45:42] local.INFO: TCP Data received {"connection_id":143262,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3ed8480012da4d88005f343c80014014628..."} 
[2026-07-27 19:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3ed8480012da4d88005f343c80014014628..."} 
[2026-07-27 19:45:42] local.INFO: Processing buffer {"connection_id":143262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3ed8480012da4d88005f343c80014014628..."} 
[2026-07-27 19:45:42] local.INFO: Packet analysis {"connection_id":143262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3ed"} 
[2026-07-27 19:45:42] local.INFO: Extracted packet for processing {"connection_id":143262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3ed"} 
[2026-07-27 19:45:42] local.INFO: GPS Element Parsed {"raw_longitude":765778048,"raw_latitude":99828680,"longitude_deg":76.5778048,"latitude_deg":9.982868,"altitude":20,"angle":326,"satellites":40,"speed":28,"hex_longitude":"2da4d880","hex_latitude":"05f343c8","is_valid_coordinates":true} 
[2026-07-27 19:45:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:45:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001389824001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:45:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359334272701562880,"note":"Value kept but may cause issues"} 
[2026-07-27 19:45:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6567866712266270720,"note":"Value kept but may cause issues"} 
[2026-07-27 19:45:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:45:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785161680000,"timestamp_ms":1785161680000,"timestamp_seconds":1785161680,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3ed8480"} 
[2026-07-27 19:45:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:45:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:45:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-27 19:45:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:45:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:45:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:45:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:45:42] local.INFO: Teltonika packet parsed successfully {"connection_id":143262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:45:42] local.INFO: Passing IMEI to GPS processor {"connection_id":143262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:45:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":143262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:45:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:45:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 19:45:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 19:45:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001389824001,"66":27376,"28":206,"88":19456,"24":28,"16":359334272701562880,"45":-6567866712266270720},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,88,24,16,45]} 
[2026-07-27 19:45:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 19:45:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 19:45:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001389824001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:45:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-27 19:45:42] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-27 19:45:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359334272701562880,"km_value":359334272701562.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:45:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6567866712266270720,"description":"Unknown IO ID 45"} 
[2026-07-27 19:45:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001389824001,"power":27376,"unknown_28":206,"unknown_88":19456,"ignition":28,"odometer":null,"unknown_45":-6567866712266270720}} 
[2026-07-27 19:45:42] local.INFO: DEBUG: GPS processor result {"connection_id":143262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:45:42] local.INFO: GPS data processed {"connection_id":143262,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:45:42] local.INFO: Acknowledgment sent {"connection_id":143262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:45:59] local.INFO: TCP Data received {"connection_id":145528,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145528,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:45:59] local.INFO: Processing buffer {"connection_id":145528,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:45:59] local.INFO: IMEI packet received {"connection_id":145528,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 19:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":145528,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:46:04] local.INFO: TCP Data received {"connection_id":145528,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145528,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:46:04] local.INFO: Processing buffer {"connection_id":145528,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:46:04] local.INFO: IMEI packet received {"connection_id":145528,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 19:46:04] local.INFO: IMEI acknowledgment sent {"connection_id":145528,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:46:05] local.INFO: TCP Data received {"connection_id":145528,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3ead8e8012d196580071ff150003a014b25..."} 
[2026-07-27 19:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3ead8e8012d196580071ff150003a014b25..."} 
[2026-07-27 19:46:05] local.INFO: Processing buffer {"connection_id":145528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3ead8e8012d196580071ff150003a014b25..."} 
[2026-07-27 19:46:05] local.INFO: Packet analysis {"connection_id":145528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3ea"} 
[2026-07-27 19:46:05] local.INFO: Extracted packet for processing {"connection_id":145528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3ea"} 
[2026-07-27 19:46:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533904,"longitude_deg":75.6639104,"latitude_deg":11.9533904,"altitude":58,"angle":331,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff150","is_valid_coordinates":true} 
[2026-07-27 19:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:46:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001339904001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:46:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971671285268480,"note":"Value kept but may cause issues"} 
[2026-07-27 19:46:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685009408,"note":"Value kept but may cause issues"} 
[2026-07-27 19:46:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:46:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785161505000,"timestamp_ms":1785161505000,"timestamp_seconds":1785161505,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3ead8e8"} 
[2026-07-27 19:46:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:46:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 19:46:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:46:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:46:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:46:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:46:05] local.INFO: Teltonika packet parsed successfully {"connection_id":145528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:46:05] local.INFO: Passing IMEI to GPS processor {"connection_id":145528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:46:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":145528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:46:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:46:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 19:46:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 19:46:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001339904001,"66":12385,"121":206,"28":31744,"24":0,"16":8971671285268480,"45":1830009591685009408},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 19:46:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 19:46:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 19:46:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001339904001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:46:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 19:46:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 19:46:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971671285268480,"km_value":8971671285268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:46:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685009408,"description":"Unknown IO ID 45"} 
[2026-07-27 19:46:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001339904001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591685009408}} 
[2026-07-27 19:46:05] local.INFO: DEBUG: GPS processor result {"connection_id":145528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555104,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:46:05] local.INFO: GPS data processed {"connection_id":145528,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:46:05] local.INFO: Acknowledgment sent {"connection_id":145528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:46:13] local.INFO: TCP Data received {"connection_id":143262,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3ed8868012da4d74005f346480014015128..."} 
[2026-07-27 19:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3ed8868012da4d74005f346480014015128..."} 
[2026-07-27 19:46:13] local.INFO: Processing buffer {"connection_id":143262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3ed8868012da4d74005f346480014015128..."} 
[2026-07-27 19:46:13] local.INFO: Packet analysis {"connection_id":143262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3ed"} 
[2026-07-27 19:46:13] local.INFO: Extracted packet for processing {"connection_id":143262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3ed"} 
[2026-07-27 19:46:13] local.INFO: GPS Element Parsed {"raw_longitude":765777728,"raw_latitude":99829320,"longitude_deg":76.5777728,"latitude_deg":9.982932,"altitude":20,"angle":337,"satellites":40,"speed":27,"hex_longitude":"2da4d740","hex_latitude":"05f34648","is_valid_coordinates":true} 
[2026-07-27 19: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-07-27 19:46:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001390080001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:46:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359334307061301248,"note":"Value kept but may cause issues"} 
[2026-07-27 19:46:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6568359293475371008,"note":"Value kept but may cause issues"} 
[2026-07-27 19:46:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:46:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785161681000,"timestamp_ms":1785161681000,"timestamp_seconds":1785161681,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3ed8868"} 
[2026-07-27 19:46:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:46:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-27 19:46:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:46:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:46:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:46:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:46:13] local.INFO: Teltonika packet parsed successfully {"connection_id":143262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:46:13] local.INFO: Passing IMEI to GPS processor {"connection_id":143262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:46:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":143262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:46: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-07-27 19:46:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 19:46:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 19:46:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001390080001,"66":27376,"28":206,"88":19456,"24":27,"16":359334307061301248,"45":-6568359293475371008},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,88,24,16,45]} 
[2026-07-27 19:46:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 19:46:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 19:46:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001390080001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:46:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-27 19:46:13] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-27 19:46:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359334307061301248,"km_value":359334307061301.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:46:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6568359293475371008,"description":"Unknown IO ID 45"} 
[2026-07-27 19:46:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001390080001,"power":27376,"unknown_28":206,"unknown_88":19456,"ignition":27,"odometer":null,"unknown_45":-6568359293475371008}} 
[2026-07-27 19:46:13] local.INFO: DEBUG: GPS processor result {"connection_id":143262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:46:13] local.INFO: GPS data processed {"connection_id":143262,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:46:13] local.INFO: Acknowledgment sent {"connection_id":143262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:46:31] local.INFO: TCP Data received {"connection_id":144248,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:46:31] local.INFO: Processing buffer {"connection_id":144248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:46:31] local.INFO: IMEI packet received {"connection_id":144248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 19:46:31] local.INFO: IMEI acknowledgment sent {"connection_id":144248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:46:33] local.INFO: TCP Data received {"connection_id":144248,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:46:33] local.INFO: Processing buffer {"connection_id":144248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:46:33] local.INFO: IMEI packet received {"connection_id":144248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 19:46:33] local.INFO: IMEI acknowledgment sent {"connection_id":144248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:46:37] local.INFO: TCP Data received {"connection_id":145528,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3eb2af0012d196580071ff150003a014b26..."} 
[2026-07-27 19:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3eb2af0012d196580071ff150003a014b26..."} 
[2026-07-27 19:46:37] local.INFO: Processing buffer {"connection_id":145528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3eb2af0012d196580071ff150003a014b26..."} 
[2026-07-27 19:46:37] local.INFO: Packet analysis {"connection_id":145528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3eb"} 
[2026-07-27 19:46:37] local.INFO: Extracted packet for processing {"connection_id":145528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3eb"} 
[2026-07-27 19:46:37] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533904,"longitude_deg":75.6639104,"latitude_deg":11.9533904,"altitude":58,"angle":331,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff150","is_valid_coordinates":true} 
[2026-07-27 19:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:46:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001345280001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:46:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971671285268480,"note":"Value kept but may cause issues"} 
[2026-07-27 19:46:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685009408,"note":"Value kept but may cause issues"} 
[2026-07-27 19:46:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:46:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785161526000,"timestamp_ms":1785161526000,"timestamp_seconds":1785161526,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3eb2af0"} 
[2026-07-27 19:46:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:46:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-27 19:46:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:46:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:46:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:46:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:46:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:46:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:46:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:46:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:46:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 19:46:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 19:46:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001345280001,"66":12341,"121":206,"28":31744,"24":0,"16":8971671285268480,"45":1830009591685009408},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 19:46:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 19:46:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 19:46:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001345280001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:46:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 19:46:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 19:46:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971671285268480,"km_value":8971671285268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:46:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685009408,"description":"Unknown IO ID 45"} 
[2026-07-27 19:46:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001345280001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591685009408}} 
[2026-07-27 19:46:37] local.INFO: TCP Data received {"connection_id":144248,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:46:37] local.INFO: Processing buffer {"connection_id":144248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:46:37] local.INFO: IMEI packet received {"connection_id":144248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 19:46:37] local.INFO: IMEI acknowledgment sent {"connection_id":144248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:46:37] local.INFO: DEBUG: GPS processor result {"connection_id":145528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555106,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:46:37] local.INFO: GPS data processed {"connection_id":145528,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:46:37] local.INFO: Acknowledgment sent {"connection_id":145528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:46:37] local.INFO: TCP Data received {"connection_id":144248,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3ee7a98012da4d9c005f3d3e00014015027..."} 
[2026-07-27 19:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144248,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3ee7a98012da4d9c005f3d3e00014015027..."} 
[2026-07-27 19:46:37] local.INFO: Processing buffer {"connection_id":144248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3ee7a98012da4d9c005f3d3e00014015027..."} 
[2026-07-27 19:46:37] local.INFO: Packet analysis {"connection_id":144248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3ee"} 
[2026-07-27 19:46:37] local.INFO: Extracted packet for processing {"connection_id":144248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3ee"} 
[2026-07-27 19:46:37] local.INFO: GPS Element Parsed {"raw_longitude":765778368,"raw_latitude":99865568,"longitude_deg":76.5778368,"latitude_deg":9.9865568,"altitude":20,"angle":336,"satellites":39,"speed":7,"hex_longitude":"2da4d9c0","hex_latitude":"05f3d3e0","is_valid_coordinates":true} 
[2026-07-27 19:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:46:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001400832001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:46:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359336269861355520,"note":"Value kept but may cause issues"} 
[2026-07-27 19:46:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6564700118770317312,"note":"Value kept but may cause issues"} 
[2026-07-27 19:46:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:46:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785161743000,"timestamp_ms":1785161743000,"timestamp_seconds":1785161743,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3ee7a98"} 
[2026-07-27 19:46:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:46:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-27 19:46:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:46:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:46:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:46:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:46:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:46:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:46:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:46:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:46:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 19:46:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 19:46:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001400832001,"66":27321,"35":206,"88":19456,"24":7,"16":359336269861355520,"45":-6564700118770317312},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,88,24,16,45]} 
[2026-07-27 19:46:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 19:46:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 19:46:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001400832001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:46:37] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-07-27 19:46:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-27 19:46:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359336269861355520,"km_value":359336269861355.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:46:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6564700118770317312,"description":"Unknown IO ID 45"} 
[2026-07-27 19:46:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001400832001,"power":27321,"unknown_35":206,"unknown_88":19456,"ignition":7,"odometer":null,"unknown_45":-6564700118770317312}} 
[2026-07-27 19:46:37] local.INFO: DEBUG: GPS processor result {"connection_id":144248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:46:37] local.INFO: GPS data processed {"connection_id":144248,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:46:37] local.INFO: Acknowledgment sent {"connection_id":144248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:46:59] local.INFO: TCP Data received {"connection_id":144249,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144249,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:46:59] local.INFO: Processing buffer {"connection_id":144249,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:46:59] local.INFO: IMEI packet received {"connection_id":144249,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 19:46:59] local.INFO: IMEI acknowledgment sent {"connection_id":144249,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:47:04] local.INFO: TCP Data received {"connection_id":144249,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144249,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:47:04] local.INFO: Processing buffer {"connection_id":144249,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:47:04] local.INFO: IMEI packet received {"connection_id":144249,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 19:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":144249,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:47:05] local.INFO: TCP Data received {"connection_id":144249,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3eb7cf8012d196580071ff150003a014b23..."} 
[2026-07-27 19:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144249,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3eb7cf8012d196580071ff150003a014b23..."} 
[2026-07-27 19:47:05] local.INFO: Processing buffer {"connection_id":144249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3eb7cf8012d196580071ff150003a014b23..."} 
[2026-07-27 19:47:05] local.INFO: Packet analysis {"connection_id":144249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3eb"} 
[2026-07-27 19:47:05] local.INFO: Extracted packet for processing {"connection_id":144249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3eb"} 
[2026-07-27 19:47:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533904,"longitude_deg":75.6639104,"latitude_deg":11.9533904,"altitude":58,"angle":331,"satellites":35,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff150","is_valid_coordinates":true} 
[2026-07-27 19:47:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:47:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001350656001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:47:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971671285268480,"note":"Value kept but may cause issues"} 
[2026-07-27 19:47:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685009408,"note":"Value kept but may cause issues"} 
[2026-07-27 19:47:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:47:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785161547000,"timestamp_ms":1785161547000,"timestamp_seconds":1785161547,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3eb7cf8"} 
[2026-07-27 19:47:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:47:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:47:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-27 19:47:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:47:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:47:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:47:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:47:05] local.INFO: Teltonika packet parsed successfully {"connection_id":144249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:47:05] local.INFO: Passing IMEI to GPS processor {"connection_id":144249,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:47:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":144249,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:47:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:47:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 19:47:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 19:47:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001350656001,"66":12298,"121":206,"28":31744,"24":0,"16":8971671285268480,"45":1830009591685009408},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 19:47:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 19:47:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 19:47:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001350656001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:47:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 19:47:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 19:47:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971671285268480,"km_value":8971671285268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:47:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685009408,"description":"Unknown IO ID 45"} 
[2026-07-27 19:47:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001350656001,"power":12298,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591685009408}} 
[2026-07-27 19:47:05] local.INFO: DEBUG: GPS processor result {"connection_id":144249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555108,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:47:05] local.INFO: GPS data processed {"connection_id":144249,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:47:05] local.INFO: Acknowledgment sent {"connection_id":144249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:47:08] local.INFO: TCP Data received {"connection_id":144248,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3eea978012da4d28005f3e6c80014015d27..."} 
[2026-07-27 19:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144248,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3eea978012da4d28005f3e6c80014015d27..."} 
[2026-07-27 19:47:08] local.INFO: Processing buffer {"connection_id":144248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3eea978012da4d28005f3e6c80014015d27..."} 
[2026-07-27 19:47:08] local.INFO: Packet analysis {"connection_id":144248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3ee"} 
[2026-07-27 19:47:08] local.INFO: Extracted packet for processing {"connection_id":144248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3ee"} 
[2026-07-27 19:47:08] local.INFO: GPS Element Parsed {"raw_longitude":765776512,"raw_latitude":99870408,"longitude_deg":76.5776512,"latitude_deg":9.9870408,"altitude":20,"angle":349,"satellites":39,"speed":23,"hex_longitude":"2da4d280","hex_latitude":"05f3e6c8","is_valid_coordinates":true} 
[2026-07-27 19:47:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:47:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001406208001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:47:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359336518969458688,"note":"Value kept but may cause issues"} 
[2026-07-27 19:47:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6568007449745039360,"note":"Value kept but may cause issues"} 
[2026-07-27 19:47:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:47:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785161755000,"timestamp_ms":1785161755000,"timestamp_seconds":1785161755,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3eea978"} 
[2026-07-27 19:47:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:47:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-27 19:47:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:47:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:47:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:47:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:47:08] local.INFO: Teltonika packet parsed successfully {"connection_id":144248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:47:08] local.INFO: Passing IMEI to GPS processor {"connection_id":144248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:47:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":144248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:47:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:47:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 19:47:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 19:47:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001406208001,"66":27300,"35":206,"88":19456,"24":23,"16":359336518969458688,"45":-6568007449745039360},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,88,24,16,45]} 
[2026-07-27 19:47:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 19:47:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 19:47:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001406208001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:47:08] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-07-27 19:47:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-27 19:47:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359336518969458688,"km_value":359336518969458.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:47:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6568007449745039360,"description":"Unknown IO ID 45"} 
[2026-07-27 19:47:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001406208001,"power":27300,"unknown_35":206,"unknown_88":19456,"ignition":23,"odometer":null,"unknown_45":-6568007449745039360}} 
[2026-07-27 19:47:08] local.INFO: DEBUG: GPS processor result {"connection_id":144248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:47:08] local.INFO: GPS data processed {"connection_id":144248,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:47:08] local.INFO: Acknowledgment sent {"connection_id":144248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:47:31] local.INFO: TCP Data received {"connection_id":145529,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:47:31] local.INFO: Processing buffer {"connection_id":145529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:47:31] local.INFO: IMEI packet received {"connection_id":145529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 19:47:31] local.INFO: IMEI acknowledgment sent {"connection_id":145529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:47:36] local.INFO: TCP Data received {"connection_id":145529,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:47:36] local.INFO: Processing buffer {"connection_id":145529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:47:36] local.INFO: IMEI packet received {"connection_id":145529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 19:47:36] local.INFO: IMEI acknowledgment sent {"connection_id":145529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:47:37] local.INFO: TCP Data received {"connection_id":144249,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3ebcf00012d196580071ff150003a014b24..."} 
[2026-07-27 19:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144249,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3ebcf00012d196580071ff150003a014b24..."} 
[2026-07-27 19:47:37] local.INFO: Processing buffer {"connection_id":144249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3ebcf00012d196580071ff150003a014b24..."} 
[2026-07-27 19:47:37] local.INFO: Packet analysis {"connection_id":144249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3eb"} 
[2026-07-27 19:47:37] local.INFO: Extracted packet for processing {"connection_id":144249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3eb"} 
[2026-07-27 19:47:37] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533904,"longitude_deg":75.6639104,"latitude_deg":11.9533904,"altitude":58,"angle":331,"satellites":36,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff150","is_valid_coordinates":true} 
[2026-07-27 19:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:47:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001356032001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:47:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971671285268480,"note":"Value kept but may cause issues"} 
[2026-07-27 19:47:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685009408,"note":"Value kept but may cause issues"} 
[2026-07-27 19:47:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:47:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785161568000,"timestamp_ms":1785161568000,"timestamp_seconds":1785161568,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3ebcf00"} 
[2026-07-27 19:47:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:47:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-27 19:47:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-27 19:47:37] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168048982131200,"note":"Value kept but may cause issues"} 
[2026-07-27 19:47:37] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452319,"note":"Value kept but may cause issues"} 
[2026-07-27 19:47:37] local.WARNING: Large IO value detected {"io_id":223,"raw_value":-5764607523034234879,"note":"Value kept but may cause issues"} 
[2026-07-27 19:47:37] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-6635703581579339419,"note":"Value kept but may cause issues"} 
[2026-07-27 19:47:37] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513394208447005003,"note":"Value kept but may cause issues"} 
[2026-07-27 19:47:37] local.WARNING: Large IO value detected {"io_id":58,"raw_value":93209998733082624,"note":"Value kept but may cause issues"} 
[2026-07-27 19:47:37] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832604,"note":"Value kept but may cause issues"} 
[2026-07-27 19:47:37] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3507460569143247054,"note":"Value kept but may cause issues"} 
[2026-07-27 19:47:37] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3752853504,"note":"Value kept but may cause issues"} 
[2026-07-27 19:47:37] local.WARNING: Large IO value detected {"io_id":163,"raw_value":3929331713,"note":"Value kept but may cause issues"} 
[2026-07-27 19:47:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-27 19:47:37] local.WARNING: Large IO value detected {"io_id":226,"raw_value":3489738009,"note":"Value kept but may cause issues"} 
[2026-07-27 19:47:37] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950577,"note":"Value kept but may cause issues"} 
[2026-07-27 19:47:37] local.WARNING: Large IO value detected {"io_id":48,"raw_value":2533412327,"note":"Value kept but may cause issues"} 
[2026-07-27 19:47:37] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,121,28,24,241,158,16,223,159,42,45,128,58,38,10,66,216,37,134,1,240,31,163,4,113,205,226,101,80,39,239,48,2,7],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-07-27 19:47:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4179704542872469504,"timestamp_seconds":4179704542872469.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 19:47:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:47:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:47:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:47:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144249,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:47:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144249,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:47:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:47:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 19:47:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 19:47:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001356032001,"66":12287,"121":206,"28":31744,"24":0,"16":8971671285268480,"45":1830009591685009408},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 19:47:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 19:47:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 19:47:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001356032001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:47:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 19:47:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 19:47:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971671285268480,"km_value":8971671285268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:47:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685009408,"description":"Unknown IO ID 45"} 
[2026-07-27 19:47:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001356032001,"power":12287,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591685009408}} 
[2026-07-27 19:47:37] local.INFO: DEBUG: GPS processor result {"connection_id":144249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555110,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:47:37] local.INFO: GPS data processed {"connection_id":144249,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:47:37] local.INFO: Acknowledgment sent {"connection_id":144249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:47:38] local.INFO: TCP Data received {"connection_id":145529,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3eeb530012da4d20005f3ed400014000028..."} 
[2026-07-27 19:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3eeb530012da4d20005f3ed400014000028..."} 
[2026-07-27 19:47:38] local.INFO: Processing buffer {"connection_id":145529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3eeb530012da4d20005f3ed400014000028..."} 
[2026-07-27 19:47:38] local.INFO: Packet analysis {"connection_id":145529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3ee"} 
[2026-07-27 19:47:38] local.INFO: Extracted packet for processing {"connection_id":145529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3ee"} 
[2026-07-27 19:47:38] local.INFO: GPS Element Parsed {"raw_longitude":765776384,"raw_latitude":99872064,"longitude_deg":76.5776384,"latitude_deg":9.9872064,"altitude":20,"angle":0,"satellites":40,"speed":20,"hex_longitude":"2da4d200","hex_latitude":"05f3ed40","is_valid_coordinates":true} 
[2026-07-27 19:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:47:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001409280001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:47:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359336600573837312,"note":"Value kept but may cause issues"} 
[2026-07-27 19:47:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6570048143324952576,"note":"Value kept but may cause issues"} 
[2026-07-27 19:47:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:47:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785161758000,"timestamp_ms":1785161758000,"timestamp_seconds":1785161758,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3eeb530"} 
[2026-07-27 19:47:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:47:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-27 19:47:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:47:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:47:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:47:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:47:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:47:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:47:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:47:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:47:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 19:47:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 19:47:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001409280001,"66":27397,"35":206,"88":19456,"24":20,"16":359336600573837312,"45":-6570048143324952576},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,88,24,16,45]} 
[2026-07-27 19:47:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 19:47:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 19:47:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001409280001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:47:38] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-07-27 19:47:38] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-27 19:47:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359336600573837312,"km_value":359336600573837.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:47:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6570048143324952576,"description":"Unknown IO ID 45"} 
[2026-07-27 19:47:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001409280001,"power":27397,"unknown_35":206,"unknown_88":19456,"ignition":20,"odometer":null,"unknown_45":-6570048143324952576}} 
[2026-07-27 19:47:38] local.INFO: DEBUG: GPS processor result {"connection_id":145529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:47:38] local.INFO: GPS data processed {"connection_id":145529,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:47:38] local.INFO: Acknowledgment sent {"connection_id":145529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:47:59] local.INFO: TCP Data received {"connection_id":143116,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143116,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:47:59] local.INFO: Processing buffer {"connection_id":143116,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:47:59] local.INFO: IMEI packet received {"connection_id":143116,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 19:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":143116,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:47:59] local.INFO: TCP Data received {"connection_id":143116,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143116,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:47:59] local.INFO: Processing buffer {"connection_id":143116,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:47:59] local.INFO: IMEI packet received {"connection_id":143116,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 19:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":143116,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:48:04] local.INFO: TCP Data received {"connection_id":143116,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143116,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:48:04] local.INFO: Processing buffer {"connection_id":143116,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:48:04] local.INFO: IMEI packet received {"connection_id":143116,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 19:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":143116,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:48:05] local.INFO: TCP Data received {"connection_id":143116,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3ef5558012d196580071ff150003a014b29..."} 
[2026-07-27 19:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3ef5558012d196580071ff150003a014b29..."} 
[2026-07-27 19:48:05] local.INFO: Processing buffer {"connection_id":143116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3ef5558012d196580071ff150003a014b29..."} 
[2026-07-27 19:48:05] local.INFO: Packet analysis {"connection_id":143116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3ef"} 
[2026-07-27 19:48:05] local.INFO: Extracted packet for processing {"connection_id":143116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3ef"} 
[2026-07-27 19:48:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533904,"longitude_deg":75.6639104,"latitude_deg":11.9533904,"altitude":58,"angle":331,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff150","is_valid_coordinates":true} 
[2026-07-27 19:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:48:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001415168001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:48:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971671285268480,"note":"Value kept but may cause issues"} 
[2026-07-27 19:48:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685009408,"note":"Value kept but may cause issues"} 
[2026-07-27 19:48:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:48:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785161799000,"timestamp_ms":1785161799000,"timestamp_seconds":1785161799,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3ef5558"} 
[2026-07-27 19:48:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:48:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-27 19:48:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:48:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:48:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:48:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:48:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:48:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:48:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:48:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:48:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 19:48:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 19:48:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001415168001,"66":11830,"121":206,"28":31744,"24":0,"16":8971671285268480,"45":1830009591685009408},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 19:48:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 19:48:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 19:48:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001415168001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:48:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 19:48:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 19:48:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971671285268480,"km_value":8971671285268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:48:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685009408,"description":"Unknown IO ID 45"} 
[2026-07-27 19:48:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001415168001,"power":11830,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591685009408}} 
[2026-07-27 19:48:06] local.INFO: DEBUG: GPS processor result {"connection_id":143116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555112,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:48:06] local.INFO: GPS data processed {"connection_id":143116,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:48:06] local.INFO: Acknowledgment sent {"connection_id":143116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:48:09] local.INFO: TCP Data received {"connection_id":145529,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3eff198012da4e38005f46718000f013a29..."} 
[2026-07-27 19:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3eff198012da4e38005f46718000f013a29..."} 
[2026-07-27 19:48:09] local.INFO: Processing buffer {"connection_id":145529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3eff198012da4e38005f46718000f013a29..."} 
[2026-07-27 19:48:09] local.INFO: Packet analysis {"connection_id":145529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3ef"} 
[2026-07-27 19:48:09] local.INFO: Extracted packet for processing {"connection_id":145529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3ef"} 
[2026-07-27 19:48:09] local.INFO: GPS Element Parsed {"raw_longitude":765780864,"raw_latitude":99903256,"longitude_deg":76.5780864,"latitude_deg":9.9903256,"altitude":15,"angle":314,"satellites":41,"speed":1,"hex_longitude":"2da4e380","hex_latitude":"05f46718","is_valid_coordinates":true} 
[2026-07-27 19:48:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:48:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001425408001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:48:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359338387280232448,"note":"Value kept but may cause issues"} 
[2026-07-27 19:48:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6561252050295267328,"note":"Value kept but may cause issues"} 
[2026-07-27 19:48:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:48:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785161839000,"timestamp_ms":1785161839000,"timestamp_seconds":1785161839,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3eff198"} 
[2026-07-27 19:48:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:48:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:48:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-27 19:48:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:48:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:48:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:48:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:48:09] local.INFO: Teltonika packet parsed successfully {"connection_id":145529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:48:09] local.INFO: Passing IMEI to GPS processor {"connection_id":145529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:48:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":145529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:48:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:48:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 19:48:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 19:48:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001425408001,"66":26723,"165":206,"88":19456,"24":1,"16":359338387280232448,"45":-6561252050295267328},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,88,24,16,45]} 
[2026-07-27 19:48:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 19:48:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 19:48:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001425408001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:48:09] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-27 19:48:09] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-27 19:48:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359338387280232448,"km_value":359338387280232.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:48:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6561252050295267328,"description":"Unknown IO ID 45"} 
[2026-07-27 19:48:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001425408001,"power":26723,"unknown_165":206,"unknown_88":19456,"ignition":1,"odometer":null,"unknown_45":-6561252050295267328}} 
[2026-07-27 19:48:09] local.INFO: DEBUG: GPS processor result {"connection_id":145529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:48:09] local.INFO: GPS data processed {"connection_id":145529,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:48:09] local.INFO: Acknowledgment sent {"connection_id":145529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:48:35] local.INFO: TCP Data received {"connection_id":145530,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:48:35] local.INFO: Processing buffer {"connection_id":145530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:48:35] local.INFO: IMEI packet received {"connection_id":145530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 19:48:35] local.INFO: IMEI acknowledgment sent {"connection_id":145530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:48:36] local.INFO: TCP Data received {"connection_id":145530,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:48:36] local.INFO: Processing buffer {"connection_id":145530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:48:36] local.INFO: IMEI packet received {"connection_id":145530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 19:48:36] local.INFO: IMEI acknowledgment sent {"connection_id":145530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:48:37] local.INFO: TCP Data received {"connection_id":143116,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3efa760012d196580071ff150003a014b29..."} 
[2026-07-27 19:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3efa760012d196580071ff150003a014b29..."} 
[2026-07-27 19:48:37] local.INFO: Processing buffer {"connection_id":143116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3efa760012d196580071ff150003a014b29..."} 
[2026-07-27 19:48:37] local.INFO: Packet analysis {"connection_id":143116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3ef"} 
[2026-07-27 19:48:37] local.INFO: Extracted packet for processing {"connection_id":143116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3ef"} 
[2026-07-27 19:48:37] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533904,"longitude_deg":75.6639104,"latitude_deg":11.9533904,"altitude":58,"angle":331,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff150","is_valid_coordinates":true} 
[2026-07-27 19:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001420544001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971671285268480,"note":"Value kept but may cause issues"} 
[2026-07-27 19:48:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685009408,"note":"Value kept but may cause issues"} 
[2026-07-27 19:48:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785161820000,"timestamp_ms":1785161820000,"timestamp_seconds":1785161820,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3efa760"} 
[2026-07-27 19:48:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:48:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":54,"data_length":795,"current_offset":136} 
[2026-07-27 19:48:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":914,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:48:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:48:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:48:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 19:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 19:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001420544001,"66":12178,"121":206,"28":31744,"24":0,"16":8971671285268480,"45":1830009591685009408},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 19:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 19:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 19:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001420544001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:48:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 19:48:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 19:48:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971671285268480,"km_value":8971671285268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:48:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685009408,"description":"Unknown IO ID 45"} 
[2026-07-27 19:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001420544001,"power":12178,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591685009408}} 
[2026-07-27 19:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":143116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555114,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:48:37] local.INFO: GPS data processed {"connection_id":143116,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:48:37] local.INFO: Acknowledgment sent {"connection_id":143116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:48:39] local.INFO: TCP Data received {"connection_id":145530,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:48:39] local.INFO: Processing buffer {"connection_id":145530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:48:39] local.INFO: IMEI packet received {"connection_id":145530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 19:48:39] local.INFO: IMEI acknowledgment sent {"connection_id":145530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:48:41] local.INFO: TCP Data received {"connection_id":145530,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:48:41] local.INFO: Processing buffer {"connection_id":145530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:48:41] local.INFO: IMEI packet received {"connection_id":145530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 19:48:41] local.INFO: IMEI acknowledgment sent {"connection_id":145530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:48:44] local.INFO: TCP Data received {"connection_id":145530,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3f00cf0012da4e30005f46918000f000529..."} 
[2026-07-27 19:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145530,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3f00cf0012da4e30005f46918000f000529..."} 
[2026-07-27 19:48:44] local.INFO: Processing buffer {"connection_id":145530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3f00cf0012da4e30005f46918000f000529..."} 
[2026-07-27 19:48:44] local.INFO: Packet analysis {"connection_id":145530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3f0"} 
[2026-07-27 19:48:44] local.INFO: Extracted packet for processing {"connection_id":145530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3f0"} 
[2026-07-27 19:48:44] local.INFO: GPS Element Parsed {"raw_longitude":765780736,"raw_latitude":99903768,"longitude_deg":76.5780736,"latitude_deg":9.9903768,"altitude":15,"angle":5,"satellites":41,"speed":5,"hex_longitude":"2da4e300","hex_latitude":"05f46918","is_valid_coordinates":true} 
[2026-07-27 19:48:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:48:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001430784001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:48:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359338413050036224,"note":"Value kept but may cause issues"} 
[2026-07-27 19:48:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6565263068712462336,"note":"Value kept but may cause issues"} 
[2026-07-27 19:48:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:48:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785161846000,"timestamp_ms":1785161846000,"timestamp_seconds":1785161846,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3f00cf0"} 
[2026-07-27 19:48:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:48:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:48: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":104,"n8_eight_byte":99,"data_length":795,"current_offset":136} 
[2026-07-27 19:48:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1609,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:48:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:48:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:48:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:48:44] local.INFO: Teltonika packet parsed successfully {"connection_id":145530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:48:44] local.INFO: Passing IMEI to GPS processor {"connection_id":145530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:48:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":145530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:48:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:48:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 19:48:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 19:48:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001430784001,"66":27397,"165":206,"88":19456,"24":5,"16":359338413050036224,"45":-6565263068712462336},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,88,24,16,45]} 
[2026-07-27 19:48:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 19:48:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 19:48:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001430784001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:48:44] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-27 19:48:44] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-27 19:48:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359338413050036224,"km_value":359338413050036.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:48:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6565263068712462336,"description":"Unknown IO ID 45"} 
[2026-07-27 19:48:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001430784001,"power":27397,"unknown_165":206,"unknown_88":19456,"ignition":5,"odometer":null,"unknown_45":-6565263068712462336}} 
[2026-07-27 19:48:44] local.INFO: DEBUG: GPS processor result {"connection_id":145530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:48:44] local.INFO: GPS data processed {"connection_id":145530,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:48:44] local.INFO: Acknowledgment sent {"connection_id":145530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:48:50] local.INFO: TCP Data received {"connection_id":145530,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3f014c0012da4e34005f46a90000f001329..."} 
[2026-07-27 19:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145530,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3f014c0012da4e34005f46a90000f001329..."} 
[2026-07-27 19:48:50] local.INFO: Processing buffer {"connection_id":145530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3f014c0012da4e34005f46a90000f001329..."} 
[2026-07-27 19:48:50] local.INFO: Packet analysis {"connection_id":145530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3f0"} 
[2026-07-27 19:48:50] local.INFO: Extracted packet for processing {"connection_id":145530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3f0"} 
[2026-07-27 19:48:50] local.INFO: GPS Element Parsed {"raw_longitude":765780800,"raw_latitude":99904144,"longitude_deg":76.57808,"latitude_deg":9.9904144,"altitude":15,"angle":19,"satellites":41,"speed":8,"hex_longitude":"2da4e340","hex_latitude":"05f46a90","is_valid_coordinates":true} 
[2026-07-27 19: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-07-27 19:48:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001432576001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:48:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359338434524872704,"note":"Value kept but may cause issues"} 
[2026-07-27 19:48:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6565403806200686592,"note":"Value kept but may cause issues"} 
[2026-07-27 19:48:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:48:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785161848000,"timestamp_ms":1785161848000,"timestamp_seconds":1785161848,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3f014c0"} 
[2026-07-27 19:48:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:48:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-27 19:48:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19: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-07-27 19:48:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:48:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:48:50] local.INFO: Teltonika packet parsed successfully {"connection_id":145530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:48:50] local.INFO: Passing IMEI to GPS processor {"connection_id":145530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:48:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":145530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:48:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:48:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 19:48:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 19:48:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001432576001,"66":27343,"165":206,"88":19456,"24":8,"16":359338434524872704,"45":-6565403806200686592},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,88,24,16,45]} 
[2026-07-27 19:48:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 19:48:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 19:48:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001432576001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:48:50] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-27 19:48:50] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-27 19:48:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359338434524872704,"km_value":359338434524872.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:48:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6565403806200686592,"description":"Unknown IO ID 45"} 
[2026-07-27 19:48:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001432576001,"power":27343,"unknown_165":206,"unknown_88":19456,"ignition":8,"odometer":null,"unknown_45":-6565403806200686592}} 
[2026-07-27 19:48:50] local.INFO: DEBUG: GPS processor result {"connection_id":145530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:48:50] local.INFO: GPS data processed {"connection_id":145530,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:48:50] local.INFO: Acknowledgment sent {"connection_id":145530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:48:59] local.INFO: TCP Data received {"connection_id":143117,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143117,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:48:59] local.INFO: Processing buffer {"connection_id":143117,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:48:59] local.INFO: IMEI packet received {"connection_id":143117,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 19:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":143117,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:49:03] local.INFO: TCP Data received {"connection_id":143117,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143117,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:49:03] local.INFO: Processing buffer {"connection_id":143117,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:49:03] local.INFO: IMEI packet received {"connection_id":143117,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 19:49:03] local.INFO: IMEI acknowledgment sent {"connection_id":143117,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:49:04] local.INFO: TCP Data received {"connection_id":143117,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143117,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:49:04] local.INFO: Processing buffer {"connection_id":143117,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:49:04] local.INFO: IMEI packet received {"connection_id":143117,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 19:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":143117,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:49:05] local.INFO: TCP Data received {"connection_id":143117,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3eff968012d196580071ff150003a014b29..."} 
[2026-07-27 19:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143117,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3eff968012d196580071ff150003a014b29..."} 
[2026-07-27 19:49:05] local.INFO: Processing buffer {"connection_id":143117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3eff968012d196580071ff150003a014b29..."} 
[2026-07-27 19:49:05] local.INFO: Packet analysis {"connection_id":143117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3ef"} 
[2026-07-27 19:49:05] local.INFO: Extracted packet for processing {"connection_id":143117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3ef"} 
[2026-07-27 19:49:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533904,"longitude_deg":75.6639104,"latitude_deg":11.9533904,"altitude":58,"angle":331,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff150","is_valid_coordinates":true} 
[2026-07-27 19:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:49:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001425920001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:49:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971671285268480,"note":"Value kept but may cause issues"} 
[2026-07-27 19:49:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685009408,"note":"Value kept but may cause issues"} 
[2026-07-27 19:49:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:49:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785161841000,"timestamp_ms":1785161841000,"timestamp_seconds":1785161841,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3eff968"} 
[2026-07-27 19:49:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:49:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-27 19:49:05] 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-07-27 19:49:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:49:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:49:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:49:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:49:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143117,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:49:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143117,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:49:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:49:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 19:49:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 19:49:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001425920001,"66":12189,"121":206,"28":31744,"24":0,"16":8971671285268480,"45":1830009591685009408},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 19:49:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 19:49:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 19:49:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001425920001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:49:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 19:49:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 19:49:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971671285268480,"km_value":8971671285268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:49:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685009408,"description":"Unknown IO ID 45"} 
[2026-07-27 19:49:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001425920001,"power":12189,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591685009408}} 
[2026-07-27 19:49:05] local.INFO: DEBUG: GPS processor result {"connection_id":143117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555117,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:49:05] local.INFO: GPS data processed {"connection_id":143117,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:49:05] local.INFO: Acknowledgment sent {"connection_id":143117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:49:10] local.INFO: TCP Data received {"connection_id":143117,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3f04b70012d196580071ff150003a014b2a..."} 
[2026-07-27 19:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143117,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3f04b70012d196580071ff150003a014b2a..."} 
[2026-07-27 19:49:10] local.INFO: Processing buffer {"connection_id":143117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3f04b70012d196580071ff150003a014b2a..."} 
[2026-07-27 19:49:10] local.INFO: Packet analysis {"connection_id":143117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3f0"} 
[2026-07-27 19:49:10] local.INFO: Extracted packet for processing {"connection_id":143117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3f0"} 
[2026-07-27 19:49:10] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533904,"longitude_deg":75.6639104,"latitude_deg":11.9533904,"altitude":58,"angle":331,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff150","is_valid_coordinates":true} 
[2026-07-27 19:49:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:49:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001431296001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:49:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971671285268480,"note":"Value kept but may cause issues"} 
[2026-07-27 19:49:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685009408,"note":"Value kept but may cause issues"} 
[2026-07-27 19:49:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:49:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785161862000,"timestamp_ms":1785161862000,"timestamp_seconds":1785161862,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3f04b70"} 
[2026-07-27 19:49:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:49:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19: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":47,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-07-27 19:49:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1846,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:49:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:49:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:49:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:49:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:49:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143117,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:49:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143117,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:49:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:49:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 19:49:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 19:49:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001431296001,"66":12232,"121":206,"28":31744,"24":0,"16":8971671285268480,"45":1830009591685009408},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 19:49:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 19:49:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 19:49:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001431296001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:49:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 19:49:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 19:49:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971671285268480,"km_value":8971671285268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:49:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685009408,"description":"Unknown IO ID 45"} 
[2026-07-27 19:49:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001431296001,"power":12232,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591685009408}} 
[2026-07-27 19:49:10] local.INFO: DEBUG: GPS processor result {"connection_id":143117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555118,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:49:10] local.INFO: GPS data processed {"connection_id":143117,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:49:10] local.INFO: Acknowledgment sent {"connection_id":143117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:49:31] local.INFO: TCP Data received {"connection_id":143118,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:49:31] local.INFO: Processing buffer {"connection_id":143118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:49:31] local.INFO: IMEI packet received {"connection_id":143118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 19:49:31] local.INFO: IMEI acknowledgment sent {"connection_id":143118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:49:32] local.INFO: TCP Data received {"connection_id":143118,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:49:32] local.INFO: Processing buffer {"connection_id":143118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:49:32] local.INFO: IMEI packet received {"connection_id":143118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 19:49:32] local.INFO: IMEI acknowledgment sent {"connection_id":143118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:49:36] local.INFO: TCP Data received {"connection_id":143118,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:49:36] local.INFO: Processing buffer {"connection_id":143118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:49:36] local.INFO: IMEI packet received {"connection_id":143118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 19:49:36] local.INFO: IMEI acknowledgment sent {"connection_id":143118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:49:37] local.INFO: TCP Data received {"connection_id":143118,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3f0e7b0012da5258005f4bb58000d00352a..."} 
[2026-07-27 19:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3f0e7b0012da5258005f4bb58000d00352a..."} 
[2026-07-27 19:49:37] local.INFO: Processing buffer {"connection_id":143118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3f0e7b0012da5258005f4bb58000d00352a..."} 
[2026-07-27 19:49:37] local.INFO: Packet analysis {"connection_id":143118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3f0"} 
[2026-07-27 19:49:37] local.INFO: Extracted packet for processing {"connection_id":143118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3f0"} 
[2026-07-27 19:49:37] local.INFO: GPS Element Parsed {"raw_longitude":765797760,"raw_latitude":99924824,"longitude_deg":76.579776,"latitude_deg":9.9924824,"altitude":13,"angle":53,"satellites":42,"speed":16,"hex_longitude":"2da52580","hex_latitude":"05f4bb58","is_valid_coordinates":true} 
[2026-07-27 19:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:49:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001446656001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:49:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359339929173491712,"note":"Value kept but may cause issues"} 
[2026-07-27 19:49:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6547037563964997632,"note":"Value kept but may cause issues"} 
[2026-07-27 19:49:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:49:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785161902000,"timestamp_ms":1785161902000,"timestamp_seconds":1785161902,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3f0e7b0"} 
[2026-07-27 19:49:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:49:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-07-27 19:49:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2105,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:49:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:49:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:49:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:49:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:49:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:49:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:49:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:49:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 19:49:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 19:49:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001446656001,"66":27343,"165":206,"88":19456,"24":16,"16":359339929173491712,"45":-6547037563964997632},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,88,24,16,45]} 
[2026-07-27 19:49:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 19:49:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 19:49:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001446656001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:49:37] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-27 19:49:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-27 19:49:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359339929173491712,"km_value":359339929173491.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:49:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6547037563964997632,"description":"Unknown IO ID 45"} 
[2026-07-27 19:49:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001446656001,"power":27343,"unknown_165":206,"unknown_88":19456,"ignition":16,"odometer":null,"unknown_45":-6547037563964997632}} 
[2026-07-27 19:49:37] local.INFO: DEBUG: GPS processor result {"connection_id":143118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:49:37] local.INFO: GPS data processed {"connection_id":143118,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:49:37] local.INFO: Acknowledgment sent {"connection_id":143118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:49:41] local.INFO: TCP Data received {"connection_id":143117,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3f09d78012d196580071ff150003a014b28..."} 
[2026-07-27 19:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143117,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3f09d78012d196580071ff150003a014b28..."} 
[2026-07-27 19:49:41] local.INFO: Processing buffer {"connection_id":143117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3f09d78012d196580071ff150003a014b28..."} 
[2026-07-27 19:49:41] local.INFO: Packet analysis {"connection_id":143117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3f0"} 
[2026-07-27 19:49:41] local.INFO: Extracted packet for processing {"connection_id":143117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3f0"} 
[2026-07-27 19:49:41] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533904,"longitude_deg":75.6639104,"latitude_deg":11.9533904,"altitude":58,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff150","is_valid_coordinates":true} 
[2026-07-27 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-07-27 19:49:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001436672001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:49:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971671285268480,"note":"Value kept but may cause issues"} 
[2026-07-27 19:49:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685009408,"note":"Value kept but may cause issues"} 
[2026-07-27 19:49:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:49:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785161883000,"timestamp_ms":1785161883000,"timestamp_seconds":1785161883,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3f09d78"} 
[2026-07-27 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-07-27 19:49:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-27 19:49:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 19:49:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:49:41] local.INFO: Teltonika packet parsed successfully {"connection_id":143117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:49:41] local.INFO: Passing IMEI to GPS processor {"connection_id":143117,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:49:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":143117,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:49:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:49:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 19:49:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 19:49:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001436672001,"66":12211,"121":206,"28":31744,"24":0,"16":8971671285268480,"45":1830009591685009408},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 19:49:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 19:49:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 19:49:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001436672001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:49:41] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 19:49:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 19:49:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971671285268480,"km_value":8971671285268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:49:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685009408,"description":"Unknown IO ID 45"} 
[2026-07-27 19:49:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001436672001,"power":12211,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591685009408}} 
[2026-07-27 19:49:41] local.INFO: DEBUG: GPS processor result {"connection_id":143117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555120,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:49:41] local.INFO: GPS data processed {"connection_id":143117,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:49:41] local.INFO: Acknowledgment sent {"connection_id":143117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:49:59] local.INFO: TCP Data received {"connection_id":143263,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143263,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:49:59] local.INFO: Processing buffer {"connection_id":143263,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:49:59] local.INFO: IMEI packet received {"connection_id":143263,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 19:49:59] local.INFO: IMEI acknowledgment sent {"connection_id":143263,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:50:04] local.INFO: TCP Data received {"connection_id":143263,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143263,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:50:04] local.INFO: Processing buffer {"connection_id":143263,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:50:04] local.INFO: IMEI packet received {"connection_id":143263,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 19:50:04] local.INFO: IMEI acknowledgment sent {"connection_id":143263,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:50:05] local.INFO: TCP Data received {"connection_id":143263,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3f0ef80012d196580071ff150003a014b26..."} 
[2026-07-27 19:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3f0ef80012d196580071ff150003a014b26..."} 
[2026-07-27 19:50:05] local.INFO: Processing buffer {"connection_id":143263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3f0ef80012d196580071ff150003a014b26..."} 
[2026-07-27 19:50:05] local.INFO: Packet analysis {"connection_id":143263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3f0"} 
[2026-07-27 19:50:05] local.INFO: Extracted packet for processing {"connection_id":143263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3f0"} 
[2026-07-27 19:50:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533904,"longitude_deg":75.6639104,"latitude_deg":11.9533904,"altitude":58,"angle":331,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff150","is_valid_coordinates":true} 
[2026-07-27 19:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:50:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001442048001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:50:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971671285268480,"note":"Value kept but may cause issues"} 
[2026-07-27 19:50:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685009408,"note":"Value kept but may cause issues"} 
[2026-07-27 19:50:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:50:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785161904000,"timestamp_ms":1785161904000,"timestamp_seconds":1785161904,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3f0ef80"} 
[2026-07-27 19:50:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:50:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-27 19:50:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:50:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:50:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:50:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:50:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:50:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143263,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:50:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143263,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:50:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:50:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 19:50:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 19:50:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001442048001,"66":12156,"121":206,"28":31744,"24":0,"16":8971671285268480,"45":1830009591685009408},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 19:50:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 19:50:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 19:50:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001442048001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:50:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 19:50:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 19:50:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971671285268480,"km_value":8971671285268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:50:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685009408,"description":"Unknown IO ID 45"} 
[2026-07-27 19:50:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001442048001,"power":12156,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591685009408}} 
[2026-07-27 19:50:05] local.INFO: DEBUG: GPS processor result {"connection_id":143263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555121,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:50:05] local.INFO: GPS data processed {"connection_id":143263,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:50:05] local.INFO: Acknowledgment sent {"connection_id":143263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:50:08] local.INFO: TCP Data received {"connection_id":143118,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3f1a330012da59d8005f4c9a00011005529..."} 
[2026-07-27 19:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3f1a330012da59d8005f4c9a00011005529..."} 
[2026-07-27 19:50:08] local.INFO: Processing buffer {"connection_id":143118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3f1a330012da59d8005f4c9a00011005529..."} 
[2026-07-27 19:50:08] local.INFO: Packet analysis {"connection_id":143118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3f1"} 
[2026-07-27 19:50:08] local.INFO: Extracted packet for processing {"connection_id":143118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3f1"} 
[2026-07-27 19:50:08] local.INFO: GPS Element Parsed {"raw_longitude":765828480,"raw_latitude":99928480,"longitude_deg":76.582848,"latitude_deg":9.992848,"altitude":17,"angle":85,"satellites":41,"speed":27,"hex_longitude":"2da59d80","hex_latitude":"05f4c9a0","is_valid_coordinates":true} 
[2026-07-27 19:50:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:50:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001458688001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:50:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359341466771783680,"note":"Value kept but may cause issues"} 
[2026-07-27 19:50:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6514456835409739776,"note":"Value kept but may cause issues"} 
[2026-07-27 19:50:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:50:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785161950000,"timestamp_ms":1785161950000,"timestamp_seconds":1785161950,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3f1a330"} 
[2026-07-27 19:50:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:50:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:50:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-27 19:50:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:50:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:50:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:50:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:50:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:50:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:50:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:50:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:50:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 19:50:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 19:50:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001458688001,"66":27365,"165":206,"88":19456,"24":27,"16":359341466771783680,"45":-6514456835409739776},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,88,24,16,45]} 
[2026-07-27 19:50:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 19:50:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 19:50:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001458688001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:50:08] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-27 19:50:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-27 19:50:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359341466771783680,"km_value":359341466771783.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:50:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6514456835409739776,"description":"Unknown IO ID 45"} 
[2026-07-27 19:50:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001458688001,"power":27365,"unknown_165":206,"unknown_88":19456,"ignition":27,"odometer":null,"unknown_45":-6514456835409739776}} 
[2026-07-27 19:50:08] local.INFO: DEBUG: GPS processor result {"connection_id":143118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:50:08] local.INFO: GPS data processed {"connection_id":143118,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:50:08] local.INFO: Acknowledgment sent {"connection_id":143118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:50:31] local.INFO: TCP Data received {"connection_id":143264,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:50:31] local.INFO: Processing buffer {"connection_id":143264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:50:31] local.INFO: IMEI packet received {"connection_id":143264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 19:50:31] local.INFO: IMEI acknowledgment sent {"connection_id":143264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:50:36] local.INFO: TCP Data received {"connection_id":143263,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3f14188012d196580071ff150003a014b24..."} 
[2026-07-27 19:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3f14188012d196580071ff150003a014b24..."} 
[2026-07-27 19:50:36] local.INFO: Processing buffer {"connection_id":143263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3f14188012d196580071ff150003a014b24..."} 
[2026-07-27 19:50:36] local.INFO: Packet analysis {"connection_id":143263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3f1"} 
[2026-07-27 19:50:36] local.INFO: Extracted packet for processing {"connection_id":143263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3f1"} 
[2026-07-27 19:50:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533904,"longitude_deg":75.6639104,"latitude_deg":11.9533904,"altitude":58,"angle":331,"satellites":36,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff150","is_valid_coordinates":true} 
[2026-07-27 19:50:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:50:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001447424001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:50:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971671285268480,"note":"Value kept but may cause issues"} 
[2026-07-27 19:50:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685009408,"note":"Value kept but may cause issues"} 
[2026-07-27 19:50:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:50:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785161925000,"timestamp_ms":1785161925000,"timestamp_seconds":1785161925,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3f14188"} 
[2026-07-27 19:50:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:50:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:50:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-27 19:50:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:50:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:50:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:50:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:50:36] local.INFO: Teltonika packet parsed successfully {"connection_id":143263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:50:36] local.INFO: Passing IMEI to GPS processor {"connection_id":143263,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:50:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":143263,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:50:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:50:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 19:50:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 19:50:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001447424001,"66":12178,"121":206,"28":31744,"24":0,"16":8971671285268480,"45":1830009591685009408},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 19:50:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 19:50:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 19:50:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001447424001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:50:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 19:50:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 19:50:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971671285268480,"km_value":8971671285268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:50:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685009408,"description":"Unknown IO ID 45"} 
[2026-07-27 19:50:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001447424001,"power":12178,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591685009408}} 
[2026-07-27 19:50:36] local.INFO: DEBUG: GPS processor result {"connection_id":143263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555123,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:50:36] local.INFO: GPS data processed {"connection_id":143263,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:50:36] local.INFO: Acknowledgment sent {"connection_id":143263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:50:37] local.INFO: TCP Data received {"connection_id":143264,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:50:37] local.INFO: Processing buffer {"connection_id":143264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:50:37] local.INFO: IMEI packet received {"connection_id":143264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 19:50:37] local.INFO: IMEI acknowledgment sent {"connection_id":143264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:50:41] local.INFO: TCP Data received {"connection_id":143264,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:50:41] local.INFO: Processing buffer {"connection_id":143264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:50:41] local.INFO: IMEI packet received {"connection_id":143264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 19:50:41] local.INFO: IMEI acknowledgment sent {"connection_id":143264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:50:43] local.INFO: TCP Data received {"connection_id":143264,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3f1ce28012da5c10005f4ccf80012005229..."} 
[2026-07-27 19:50:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143264,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3f1ce28012da5c10005f4ccf80012005229..."} 
[2026-07-27 19:50:43] local.INFO: Processing buffer {"connection_id":143264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3f1ce28012da5c10005f4ccf80012005229..."} 
[2026-07-27 19:50:43] local.INFO: Packet analysis {"connection_id":143264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3f1"} 
[2026-07-27 19:50:43] local.INFO: Extracted packet for processing {"connection_id":143264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3f1"} 
[2026-07-27 19:50:43] local.INFO: GPS Element Parsed {"raw_longitude":765837568,"raw_latitude":99929336,"longitude_deg":76.5837568,"latitude_deg":9.9929336,"altitude":18,"angle":82,"satellites":41,"speed":34,"hex_longitude":"2da5c100","hex_latitude":"05f4ccf8","is_valid_coordinates":true} 
[2026-07-27 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-07-27 19:50:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001459200001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:50:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359341900563480576,"note":"Value kept but may cause issues"} 
[2026-07-27 19:50:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6512908723037822976,"note":"Value kept but may cause issues"} 
[2026-07-27 19:50:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:50:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785161961000,"timestamp_ms":1785161961000,"timestamp_seconds":1785161961,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3f1ce28"} 
[2026-07-27 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-07-27 19:50:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-27 19:50:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 19:50:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:50:43] local.INFO: Teltonika packet parsed successfully {"connection_id":143264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:50:43] local.INFO: Passing IMEI to GPS processor {"connection_id":143264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:50:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":143264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:50:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:50:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 19:50:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 19:50:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001459200001,"66":27365,"164":206,"88":19456,"24":34,"16":359341900563480576,"45":-6512908723037822976},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,88,24,16,45]} 
[2026-07-27 19:50:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 19:50:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 19:50:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001459200001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:50:43] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-07-27 19:50:43] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-27 19:50:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359341900563480576,"km_value":359341900563480.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:50:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6512908723037822976,"description":"Unknown IO ID 45"} 
[2026-07-27 19:50:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001459200001,"power":27365,"unknown_164":206,"unknown_88":19456,"ignition":34,"odometer":null,"unknown_45":-6512908723037822976}} 
[2026-07-27 19:50:43] local.INFO: DEBUG: GPS processor result {"connection_id":143264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:50:43] local.INFO: GPS data processed {"connection_id":143264,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:50:43] local.INFO: Acknowledgment sent {"connection_id":143264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:50:47] local.INFO: TCP Data received {"connection_id":143264,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3f1ed68012da5d90005f4ce600014006128..."} 
[2026-07-27 19:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143264,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3f1ed68012da5d90005f4ce600014006128..."} 
[2026-07-27 19:50:47] local.INFO: Processing buffer {"connection_id":143264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3f1ed68012da5d90005f4ce600014006128..."} 
[2026-07-27 19:50:47] local.INFO: Packet analysis {"connection_id":143264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3f1"} 
[2026-07-27 19:50:47] local.INFO: Extracted packet for processing {"connection_id":143264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3f1"} 
[2026-07-27 19:50:47] local.INFO: GPS Element Parsed {"raw_longitude":765843712,"raw_latitude":99929696,"longitude_deg":76.5843712,"latitude_deg":9.9929696,"altitude":20,"angle":97,"satellites":40,"speed":26,"hex_longitude":"2da5d900","hex_latitude":"05f4ce60","is_valid_coordinates":true} 
[2026-07-27 19:50:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:50:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001462016001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:50:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359342196916224000,"note":"Value kept but may cause issues"} 
[2026-07-27 19:50:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6502916361364375552,"note":"Value kept but may cause issues"} 
[2026-07-27 19:50:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:50:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785161969000,"timestamp_ms":1785161969000,"timestamp_seconds":1785161969,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3f1ed68"} 
[2026-07-27 19:50:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:50:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:50:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-27 19:50:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:50:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:50:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:50:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:50:47] local.INFO: Teltonika packet parsed successfully {"connection_id":143264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:50:47] local.INFO: Passing IMEI to GPS processor {"connection_id":143264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:50:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":143264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:50:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:50:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 19:50:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 19:50:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001462016001,"66":27343,"164":206,"88":19456,"24":26,"16":359342196916224000,"45":-6502916361364375552},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,88,24,16,45]} 
[2026-07-27 19:50:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 19:50:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 19:50:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001462016001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:50:47] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-07-27 19:50:47] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-27 19:50:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359342196916224000,"km_value":359342196916224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:50:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6502916361364375552,"description":"Unknown IO ID 45"} 
[2026-07-27 19:50:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001462016001,"power":27343,"unknown_164":206,"unknown_88":19456,"ignition":26,"odometer":null,"unknown_45":-6502916361364375552}} 
[2026-07-27 19:50:47] local.INFO: DEBUG: GPS processor result {"connection_id":143264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:50:47] local.INFO: GPS data processed {"connection_id":143264,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:50:47] local.INFO: Acknowledgment sent {"connection_id":143264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:50:59] local.INFO: TCP Data received {"connection_id":144250,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144250,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:50:59] local.INFO: Processing buffer {"connection_id":144250,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:50:59] local.INFO: IMEI packet received {"connection_id":144250,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 19:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":144250,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:51:04] local.INFO: TCP Data received {"connection_id":144250,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144250,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:51:04] local.INFO: Processing buffer {"connection_id":144250,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:51:04] local.INFO: IMEI packet received {"connection_id":144250,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 19:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":144250,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:51:06] local.INFO: TCP Data received {"connection_id":144250,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3f19390012d196580071ff150003a014b2b..."} 
[2026-07-27 19:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3f19390012d196580071ff150003a014b2b..."} 
[2026-07-27 19:51:06] local.INFO: Processing buffer {"connection_id":144250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3f19390012d196580071ff150003a014b2b..."} 
[2026-07-27 19:51:06] local.INFO: Packet analysis {"connection_id":144250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3f1"} 
[2026-07-27 19:51:06] local.INFO: Extracted packet for processing {"connection_id":144250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3f1"} 
[2026-07-27 19:51:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533904,"longitude_deg":75.6639104,"latitude_deg":11.9533904,"altitude":58,"angle":331,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff150","is_valid_coordinates":true} 
[2026-07-27 19:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:51:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001452800001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:51:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971671285268480,"note":"Value kept but may cause issues"} 
[2026-07-27 19:51:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685009408,"note":"Value kept but may cause issues"} 
[2026-07-27 19:51:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:51:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785161946000,"timestamp_ms":1785161946000,"timestamp_seconds":1785161946,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3f19390"} 
[2026-07-27 19:51:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:51:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-27 19:51:06] 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-07-27 19:51:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:51:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:51:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:51:06] local.INFO: Teltonika packet parsed successfully {"connection_id":144250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:51:06] local.INFO: Passing IMEI to GPS processor {"connection_id":144250,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:51:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":144250,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:51:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:51:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 19:51:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 19:51:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001452800001,"66":12178,"121":206,"28":31744,"24":0,"16":8971671285268480,"45":1830009591685009408},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 19:51:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 19:51:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 19:51:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001452800001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:51:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 19:51:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 19:51:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971671285268480,"km_value":8971671285268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:51:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685009408,"description":"Unknown IO ID 45"} 
[2026-07-27 19:51:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001452800001,"power":12178,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591685009408}} 
[2026-07-27 19:51:06] local.INFO: DEBUG: GPS processor result {"connection_id":144250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555126,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:51:06] local.INFO: GPS data processed {"connection_id":144250,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:51:06] local.INFO: Acknowledgment sent {"connection_id":144250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:51:28] local.INFO: TCP Data received {"connection_id":143265,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:51:28] local.INFO: Processing buffer {"connection_id":143265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:51:28] local.INFO: IMEI packet received {"connection_id":143265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 19:51:28] local.INFO: IMEI acknowledgment sent {"connection_id":143265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:51:31] local.INFO: TCP Data received {"connection_id":143265,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:51:31] local.INFO: Processing buffer {"connection_id":143265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:51:31] local.INFO: IMEI packet received {"connection_id":143265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 19:51:31] local.INFO: IMEI acknowledgment sent {"connection_id":143265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:51:33] local.INFO: TCP Data received {"connection_id":143265,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:51:33] local.INFO: Processing buffer {"connection_id":143265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:51:33] local.INFO: IMEI packet received {"connection_id":143265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 19:51:33] local.INFO: IMEI acknowledgment sent {"connection_id":143265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:51:38] local.INFO: TCP Data received {"connection_id":143265,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3f1f538012da5ddc005f4cce80015007529..."} 
[2026-07-27 19:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3f1f538012da5ddc005f4cce80015007529..."} 
[2026-07-27 19:51:38] local.INFO: Processing buffer {"connection_id":143265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3f1f538012da5ddc005f4cce80015007529..."} 
[2026-07-27 19:51:38] local.INFO: Packet analysis {"connection_id":143265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3f1"} 
[2026-07-27 19:51:38] local.INFO: Extracted packet for processing {"connection_id":143265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3f1"} 
[2026-07-27 19:51:38] local.INFO: GPS Element Parsed {"raw_longitude":765844928,"raw_latitude":99929320,"longitude_deg":76.5844928,"latitude_deg":9.992932,"altitude":21,"angle":117,"satellites":41,"speed":24,"hex_longitude":"2da5ddc0","hex_latitude":"05f4cce8","is_valid_coordinates":true} 
[2026-07-27 19:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:51:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001464064001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:51:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359342261340733440,"note":"Value kept but may cause issues"} 
[2026-07-27 19:51:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6496160961923227648,"note":"Value kept but may cause issues"} 
[2026-07-27 19:51:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:51:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785161971000,"timestamp_ms":1785161971000,"timestamp_seconds":1785161971,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3f1f538"} 
[2026-07-27 19:51:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:51:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-27 19:51:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:51:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:51:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:51:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:51:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:51:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:51:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:51:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:51:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 19:51:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 19:51:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001464064001,"66":27169,"164":206,"88":19456,"24":24,"16":359342261340733440,"45":-6496160961923227648},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,88,24,16,45]} 
[2026-07-27 19:51:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 19:51:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 19:51:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001464064001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:51:38] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-07-27 19:51:38] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-27 19:51:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359342261340733440,"km_value":359342261340733.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:51:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6496160961923227648,"description":"Unknown IO ID 45"} 
[2026-07-27 19:51:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001464064001,"power":27169,"unknown_164":206,"unknown_88":19456,"ignition":24,"odometer":null,"unknown_45":-6496160961923227648}} 
[2026-07-27 19:51:38] local.INFO: DEBUG: GPS processor result {"connection_id":143265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:51:38] local.INFO: GPS data processed {"connection_id":143265,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:51:38] local.INFO: Acknowledgment sent {"connection_id":143265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:51:38] local.INFO: TCP Data received {"connection_id":144250,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3f1e598012d196580071ff150003a014b2b..."} 
[2026-07-27 19:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3f1e598012d196580071ff150003a014b2b..."} 
[2026-07-27 19:51:38] local.INFO: Processing buffer {"connection_id":144250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3f1e598012d196580071ff150003a014b2b..."} 
[2026-07-27 19:51:38] local.INFO: Packet analysis {"connection_id":144250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3f1"} 
[2026-07-27 19:51:38] local.INFO: Extracted packet for processing {"connection_id":144250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3f1"} 
[2026-07-27 19:51:38] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533904,"longitude_deg":75.6639104,"latitude_deg":11.9533904,"altitude":58,"angle":331,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff150","is_valid_coordinates":true} 
[2026-07-27 19:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:51:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001458176001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:51:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971671285268480,"note":"Value kept but may cause issues"} 
[2026-07-27 19:51:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685009408,"note":"Value kept but may cause issues"} 
[2026-07-27 19:51:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:51:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785161967000,"timestamp_ms":1785161967000,"timestamp_seconds":1785161967,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3f1e598"} 
[2026-07-27 19:51:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:51:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-27 19:51:38] 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-07-27 19:51:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:51:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:51:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:51:38] local.INFO: Teltonika packet parsed successfully {"connection_id":144250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:51:38] local.INFO: Passing IMEI to GPS processor {"connection_id":144250,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:51:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":144250,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:51:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:51:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 19:51:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 19:51:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001458176001,"66":12254,"121":206,"28":31744,"24":0,"16":8971671285268480,"45":1830009591685009408},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 19:51:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 19:51:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 19:51:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001458176001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:51:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 19:51:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 19:51:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971671285268480,"km_value":8971671285268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:51:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685009408,"description":"Unknown IO ID 45"} 
[2026-07-27 19:51:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001458176001,"power":12254,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591685009408}} 
[2026-07-27 19:51:38] local.INFO: DEBUG: GPS processor result {"connection_id":144250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555128,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:51:38] local.INFO: GPS data processed {"connection_id":144250,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:51:38] local.INFO: Acknowledgment sent {"connection_id":144250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:51:39] local.INFO: TCP Data received {"connection_id":143265,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3f1fd08012da5e18005f4ca10001500892a..."} 
[2026-07-27 19:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3f1fd08012da5e18005f4ca10001500892a..."} 
[2026-07-27 19:51:39] local.INFO: Processing buffer {"connection_id":143265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3f1fd08012da5e18005f4ca10001500892a..."} 
[2026-07-27 19:51:39] local.INFO: Packet analysis {"connection_id":143265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3f1"} 
[2026-07-27 19:51:39] local.INFO: Extracted packet for processing {"connection_id":143265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3f1"} 
[2026-07-27 19:51:39] local.INFO: GPS Element Parsed {"raw_longitude":765845888,"raw_latitude":99928592,"longitude_deg":76.5845888,"latitude_deg":9.9928592,"altitude":21,"angle":137,"satellites":42,"speed":22,"hex_longitude":"2da5e180","hex_latitude":"05f4ca10","is_valid_coordinates":true} 
[2026-07-27 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-07-27 19:51:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001464576001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:51:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359342317175308288,"note":"Value kept but may cause issues"} 
[2026-07-27 19:51:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6494823955783948288,"note":"Value kept but may cause issues"} 
[2026-07-27 19:51:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:51:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785161973000,"timestamp_ms":1785161973000,"timestamp_seconds":1785161973,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3f1fd08"} 
[2026-07-27 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-07-27 19:51:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-27 19:51:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1025,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 19:51:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:51:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:51:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:51:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:51:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:51:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 19:51:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 19:51:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001464576001,"66":26745,"164":206,"88":19456,"24":22,"16":359342317175308288,"45":-6494823955783948288},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,88,24,16,45]} 
[2026-07-27 19:51:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 19:51:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 19:51:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001464576001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:51:39] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-07-27 19:51:39] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-27 19:51:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359342317175308288,"km_value":359342317175308.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:51:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6494823955783948288,"description":"Unknown IO ID 45"} 
[2026-07-27 19:51:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001464576001,"power":26745,"unknown_164":206,"unknown_88":19456,"ignition":22,"odometer":null,"unknown_45":-6494823955783948288}} 
[2026-07-27 19:51:39] local.INFO: DEBUG: GPS processor result {"connection_id":143265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:51:39] local.INFO: GPS data processed {"connection_id":143265,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:51:39] local.INFO: Acknowledgment sent {"connection_id":143265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:52:04] local.INFO: TCP Data received {"connection_id":143119,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143119,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:52:04] local.INFO: Processing buffer {"connection_id":143119,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:52:04] local.INFO: IMEI packet received {"connection_id":143119,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 19:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":143119,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:52:09] local.INFO: TCP Data received {"connection_id":143119,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143119,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:52:09] local.INFO: Processing buffer {"connection_id":143119,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:52:09] local.INFO: IMEI packet received {"connection_id":143119,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 19:52:09] local.INFO: IMEI acknowledgment sent {"connection_id":143119,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:52:10] local.INFO: TCP Data received {"connection_id":143265,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3f36080012da5ff0005f44368001000ef29..."} 
[2026-07-27 19:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3f36080012da5ff0005f44368001000ef29..."} 
[2026-07-27 19:52:10] local.INFO: Processing buffer {"connection_id":143265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3f36080012da5ff0005f44368001000ef29..."} 
[2026-07-27 19:52:10] local.INFO: Packet analysis {"connection_id":143265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3f3"} 
[2026-07-27 19:52:10] local.INFO: Extracted packet for processing {"connection_id":143265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3f3"} 
[2026-07-27 19:52:10] local.INFO: GPS Element Parsed {"raw_longitude":765853440,"raw_latitude":99894120,"longitude_deg":76.585344,"latitude_deg":9.989412,"altitude":16,"angle":239,"satellites":41,"speed":15,"hex_longitude":"2da5ff00","hex_latitude":"05f44368","is_valid_coordinates":true} 
[2026-07-27 19:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:52:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001488128001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:52:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359344095291768832,"note":"Value kept but may cause issues"} 
[2026-07-27 19:52:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6485113069096386560,"note":"Value kept but may cause issues"} 
[2026-07-27 19:52:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:52:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785162064000,"timestamp_ms":1785162064000,"timestamp_seconds":1785162064,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3f36080"} 
[2026-07-27 19:52:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:52:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-27 19:52:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:52:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:52:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:52:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:52:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:52:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:52:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:52:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:52:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 19:52:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 19:52:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001488128001,"66":27213,"10":206,"88":19456,"24":15,"16":359344095291768832,"45":-6485113069096386560},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-07-27 19:52:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 19:52:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 19:52:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001488128001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:52:10] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-27 19:52:10] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-27 19:52:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359344095291768832,"km_value":359344095291768.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:52:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6485113069096386560,"description":"Unknown IO ID 45"} 
[2026-07-27 19:52:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001488128001,"power":27213,"unknown_10":206,"unknown_88":19456,"ignition":15,"odometer":null,"unknown_45":-6485113069096386560}} 
[2026-07-27 19:52:10] local.INFO: DEBUG: GPS processor result {"connection_id":143265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:52:10] local.INFO: GPS data processed {"connection_id":143265,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:52:10] local.INFO: Acknowledgment sent {"connection_id":143265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:52:10] local.INFO: TCP Data received {"connection_id":143119,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3f237a0012d196580071ff150003a014b2c..."} 
[2026-07-27 19:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3f237a0012d196580071ff150003a014b2c..."} 
[2026-07-27 19:52:10] local.INFO: Processing buffer {"connection_id":143119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3f237a0012d196580071ff150003a014b2c..."} 
[2026-07-27 19:52:10] local.INFO: Packet analysis {"connection_id":143119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3f2"} 
[2026-07-27 19:52:10] local.INFO: Extracted packet for processing {"connection_id":143119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3f2"} 
[2026-07-27 19:52:10] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533904,"longitude_deg":75.6639104,"latitude_deg":11.9533904,"altitude":58,"angle":331,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff150","is_valid_coordinates":true} 
[2026-07-27 19:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:52:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001463552001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:52:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971671285268480,"note":"Value kept but may cause issues"} 
[2026-07-27 19:52:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685009408,"note":"Value kept but may cause issues"} 
[2026-07-27 19:52:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:52:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785161988000,"timestamp_ms":1785161988000,"timestamp_seconds":1785161988,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3f237a0"} 
[2026-07-27 19:52:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:52:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-27 19:52:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:52:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:52:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:52:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:52:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:52:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143119,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:52:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143119,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:52:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:52:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 19:52:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 19:52:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001463552001,"66":12254,"121":206,"28":31744,"24":0,"16":8971671285268480,"45":1830009591685009408},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 19:52:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 19:52:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 19:52:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001463552001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:52:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 19:52:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 19:52:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971671285268480,"km_value":8971671285268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:52:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685009408,"description":"Unknown IO ID 45"} 
[2026-07-27 19:52:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001463552001,"power":12254,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591685009408}} 
[2026-07-27 19:52:11] local.INFO: DEBUG: GPS processor result {"connection_id":143119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555131,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:52:11] local.INFO: GPS data processed {"connection_id":143119,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:52:11] local.INFO: Acknowledgment sent {"connection_id":143119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:52:31] local.INFO: TCP Data received {"connection_id":145531,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:52:31] local.INFO: Processing buffer {"connection_id":145531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:52:31] local.INFO: IMEI packet received {"connection_id":145531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 19:52:31] local.INFO: IMEI acknowledgment sent {"connection_id":145531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:52:36] local.INFO: TCP Data received {"connection_id":145531,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:52:36] local.INFO: Processing buffer {"connection_id":145531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:52:36] local.INFO: IMEI packet received {"connection_id":145531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 19:52:36] local.INFO: IMEI acknowledgment sent {"connection_id":145531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:52:37] local.INFO: TCP Data received {"connection_id":145531,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3f39f00012da5dec005f43100000f00ee29..."} 
[2026-07-27 19:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3f39f00012da5dec005f43100000f00ee29..."} 
[2026-07-27 19:52:37] local.INFO: Processing buffer {"connection_id":145531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3f39f00012da5dec005f43100000f00ee29..."} 
[2026-07-27 19:52:37] local.INFO: Packet analysis {"connection_id":145531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3f3"} 
[2026-07-27 19:52:37] local.INFO: Extracted packet for processing {"connection_id":145531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3f3"} 
[2026-07-27 19:52:37] local.INFO: GPS Element Parsed {"raw_longitude":765845184,"raw_latitude":99889408,"longitude_deg":76.5845184,"latitude_deg":9.9889408,"altitude":15,"angle":238,"satellites":41,"speed":24,"hex_longitude":"2da5dec0","hex_latitude":"05f43100","is_valid_coordinates":true} 
[2026-07-27 19:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001488384001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359344550558302208,"note":"Value kept but may cause issues"} 
[2026-07-27 19:52:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6485464912817330176,"note":"Value kept but may cause issues"} 
[2026-07-27 19:52:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785162080000,"timestamp_ms":1785162080000,"timestamp_seconds":1785162080,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3f39f00"} 
[2026-07-27 19:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:52:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-27 19:52:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:52:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:52:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 19:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 19:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001488384001,"66":27343,"10":206,"88":19456,"24":24,"16":359344550558302208,"45":-6485464912817330176},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-07-27 19:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 19:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 19:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001488384001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:52:37] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-27 19:52:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-27 19:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359344550558302208,"km_value":359344550558302.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:52:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6485464912817330176,"description":"Unknown IO ID 45"} 
[2026-07-27 19:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001488384001,"power":27343,"unknown_10":206,"unknown_88":19456,"ignition":24,"odometer":null,"unknown_45":-6485464912817330176}} 
[2026-07-27 19:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":145531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:52:37] local.INFO: GPS data processed {"connection_id":145531,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:52:37] local.INFO: Acknowledgment sent {"connection_id":145531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:52:42] local.INFO: TCP Data received {"connection_id":143119,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3f289a8012d196580071ff150003a014b2b..."} 
[2026-07-27 19:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3f289a8012d196580071ff150003a014b2b..."} 
[2026-07-27 19:52:42] local.INFO: Processing buffer {"connection_id":143119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3f289a8012d196580071ff150003a014b2b..."} 
[2026-07-27 19:52:42] local.INFO: Packet analysis {"connection_id":143119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3f2"} 
[2026-07-27 19:52:42] local.INFO: Extracted packet for processing {"connection_id":143119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3f2"} 
[2026-07-27 19:52:42] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533904,"longitude_deg":75.6639104,"latitude_deg":11.9533904,"altitude":58,"angle":331,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff150","is_valid_coordinates":true} 
[2026-07-27 19:52:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:52:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001468928001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:52:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971671285268480,"note":"Value kept but may cause issues"} 
[2026-07-27 19:52:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685009408,"note":"Value kept but may cause issues"} 
[2026-07-27 19:52:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:52:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785162009000,"timestamp_ms":1785162009000,"timestamp_seconds":1785162009,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3f289a8"} 
[2026-07-27 19:52:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:52:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-27 19:52:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:52:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:52:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:52:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:52:42] local.INFO: Teltonika packet parsed successfully {"connection_id":143119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:52:42] local.INFO: Passing IMEI to GPS processor {"connection_id":143119,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:52:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":143119,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:52:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:52:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 19:52:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 19:52:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001468928001,"66":11297,"121":206,"28":31744,"24":0,"16":8971671285268480,"45":1830009591685009408},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 19:52:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 19:52:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 19:52:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001468928001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:52:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 19:52:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 19:52:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971671285268480,"km_value":8971671285268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:52:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685009408,"description":"Unknown IO ID 45"} 
[2026-07-27 19:52:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001468928001,"power":11297,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591685009408}} 
[2026-07-27 19:52:42] local.INFO: DEBUG: GPS processor result {"connection_id":143119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555133,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:52:42] local.INFO: GPS data processed {"connection_id":143119,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:52:42] local.INFO: Acknowledgment sent {"connection_id":143119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:52:59] local.INFO: TCP Data received {"connection_id":145532,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145532,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:52:59] local.INFO: Processing buffer {"connection_id":145532,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:52:59] local.INFO: IMEI packet received {"connection_id":145532,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 19:52:59] local.INFO: IMEI acknowledgment sent {"connection_id":145532,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:53:04] local.INFO: TCP Data received {"connection_id":145532,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145532,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:53:04] local.INFO: Processing buffer {"connection_id":145532,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:53:04] local.INFO: IMEI packet received {"connection_id":145532,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 19:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":145532,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:53:05] local.INFO: TCP Data received {"connection_id":145532,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3f2dbb0012d196580071ff150003a014b2a..."} 
[2026-07-27 19:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145532,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3f2dbb0012d196580071ff150003a014b2a..."} 
[2026-07-27 19:53:05] local.INFO: Processing buffer {"connection_id":145532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3f2dbb0012d196580071ff150003a014b2a..."} 
[2026-07-27 19:53:05] local.INFO: Packet analysis {"connection_id":145532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3f2"} 
[2026-07-27 19:53:05] local.INFO: Extracted packet for processing {"connection_id":145532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3f2"} 
[2026-07-27 19:53:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533904,"longitude_deg":75.6639104,"latitude_deg":11.9533904,"altitude":58,"angle":331,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff150","is_valid_coordinates":true} 
[2026-07-27 19:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:53:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001474304001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:53:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971671285268480,"note":"Value kept but may cause issues"} 
[2026-07-27 19:53:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685009408,"note":"Value kept but may cause issues"} 
[2026-07-27 19:53:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:53:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785162030000,"timestamp_ms":1785162030000,"timestamp_seconds":1785162030,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3f2dbb0"} 
[2026-07-27 19:53:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:53:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-27 19:53:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":715,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:53:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:53:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:53:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:53:05] local.INFO: Teltonika packet parsed successfully {"connection_id":145532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:53:05] local.INFO: Passing IMEI to GPS processor {"connection_id":145532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:53:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":145532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:53:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:53:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 19:53:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 19:53:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001474304001,"66":12200,"121":206,"28":31744,"24":0,"16":8971671285268480,"45":1830009591685009408},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 19:53:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 19:53:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 19:53:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001474304001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:53:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 19:53:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 19:53:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971671285268480,"km_value":8971671285268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:53:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685009408,"description":"Unknown IO ID 45"} 
[2026-07-27 19:53:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001474304001,"power":12200,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591685009408}} 
[2026-07-27 19:53:06] local.INFO: DEBUG: GPS processor result {"connection_id":145532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555134,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:53:06] local.INFO: GPS data processed {"connection_id":145532,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:53:06] local.INFO: Acknowledgment sent {"connection_id":145532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:53:09] local.INFO: TCP Data received {"connection_id":145531,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3f3be40012da5d3c005f42928000e00fc28..."} 
[2026-07-27 19:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3f3be40012da5d3c005f42928000e00fc28..."} 
[2026-07-27 19:53:09] local.INFO: Processing buffer {"connection_id":145531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3f3be40012da5d3c005f42928000e00fc28..."} 
[2026-07-27 19:53:09] local.INFO: Packet analysis {"connection_id":145531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3f3"} 
[2026-07-27 19:53:09] local.INFO: Extracted packet for processing {"connection_id":145531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3f3"} 
[2026-07-27 19:53:09] local.INFO: GPS Element Parsed {"raw_longitude":765842368,"raw_latitude":99887400,"longitude_deg":76.5842368,"latitude_deg":9.98874,"altitude":14,"angle":252,"satellites":40,"speed":9,"hex_longitude":"2da5d3c0","hex_latitude":"05f42928","is_valid_coordinates":true} 
[2026-07-27 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-07-27 19:53:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001492480001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:53:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359344718062026752,"note":"Value kept but may cause issues"} 
[2026-07-27 19:53:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6494542480817455104,"note":"Value kept but may cause issues"} 
[2026-07-27 19:53:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:53:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785162088000,"timestamp_ms":1785162088000,"timestamp_seconds":1785162088,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3f3be40"} 
[2026-07-27 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-07-27 19:53:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-27 19:53:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 19:53:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:53:09] local.INFO: Teltonika packet parsed successfully {"connection_id":145531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:53:09] local.INFO: Passing IMEI to GPS processor {"connection_id":145531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:53:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":145531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:53:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:53:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 19:53:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 19:53:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001492480001,"66":27332,"10":206,"88":19456,"24":9,"16":359344718062026752,"45":-6494542480817455104},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-07-27 19:53:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 19:53:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 19:53:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001492480001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:53:09] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-27 19:53:09] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-27 19:53:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359344718062026752,"km_value":359344718062026.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:53:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6494542480817455104,"description":"Unknown IO ID 45"} 
[2026-07-27 19:53:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001492480001,"power":27332,"unknown_10":206,"unknown_88":19456,"ignition":9,"odometer":null,"unknown_45":-6494542480817455104}} 
[2026-07-27 19:53:09] local.INFO: DEBUG: GPS processor result {"connection_id":145531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:53:09] local.INFO: GPS data processed {"connection_id":145531,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:53:09] local.INFO: Acknowledgment sent {"connection_id":145531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:53:31] local.INFO: TCP Data received {"connection_id":143266,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:53:31] local.INFO: Processing buffer {"connection_id":143266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:53:31] local.INFO: IMEI packet received {"connection_id":143266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 19:53:31] local.INFO: IMEI acknowledgment sent {"connection_id":143266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:53:36] local.INFO: TCP Data received {"connection_id":143266,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:53:36] local.INFO: Processing buffer {"connection_id":143266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:53:36] local.INFO: IMEI packet received {"connection_id":143266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 19:53:36] local.INFO: IMEI acknowledgment sent {"connection_id":143266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:53:37] local.INFO: TCP Data received {"connection_id":145532,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3f32db8012d196580071ff150003a014b23..."} 
[2026-07-27 19:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145532,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3f32db8012d196580071ff150003a014b23..."} 
[2026-07-27 19:53:37] local.INFO: Processing buffer {"connection_id":145532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3f32db8012d196580071ff150003a014b23..."} 
[2026-07-27 19:53:37] local.INFO: Packet analysis {"connection_id":145532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3f3"} 
[2026-07-27 19:53:37] local.INFO: Extracted packet for processing {"connection_id":145532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3f3"} 
[2026-07-27 19:53:37] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533904,"longitude_deg":75.6639104,"latitude_deg":11.9533904,"altitude":58,"angle":331,"satellites":35,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff150","is_valid_coordinates":true} 
[2026-07-27 19:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001479680001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:53:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971671285268480,"note":"Value kept but may cause issues"} 
[2026-07-27 19:53:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685009408,"note":"Value kept but may cause issues"} 
[2026-07-27 19:53:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:53:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785162051000,"timestamp_ms":1785162051000,"timestamp_seconds":1785162051,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3f32db8"} 
[2026-07-27 19:53:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:53:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-07-27 19:53:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1945,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:53:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:53:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:53:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:53:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:53:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:53:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:53:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:53:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 19:53:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 19:53:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001479680001,"66":12254,"121":206,"28":31744,"24":0,"16":8971671285268480,"45":1830009591685009408},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 19:53:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 19:53:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 19:53:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001479680001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:53:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 19:53:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 19:53:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971671285268480,"km_value":8971671285268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:53:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685009408,"description":"Unknown IO ID 45"} 
[2026-07-27 19:53:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001479680001,"power":12254,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591685009408}} 
[2026-07-27 19:53:37] local.INFO: DEBUG: GPS processor result {"connection_id":145532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555136,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:53:37] local.INFO: GPS data processed {"connection_id":145532,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:53:37] local.INFO: Acknowledgment sent {"connection_id":145532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:53:37] local.INFO: TCP Data received {"connection_id":143266,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3f3d1c8012da5cc4005f427d8000e010729..."} 
[2026-07-27 19:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3f3d1c8012da5cc4005f427d8000e010729..."} 
[2026-07-27 19:53:37] local.INFO: Processing buffer {"connection_id":143266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3f3d1c8012da5cc4005f427d8000e010729..."} 
[2026-07-27 19:53:37] local.INFO: Packet analysis {"connection_id":143266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3f3"} 
[2026-07-27 19:53:37] local.INFO: Extracted packet for processing {"connection_id":143266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3f3"} 
[2026-07-27 19:53:37] local.INFO: GPS Element Parsed {"raw_longitude":765840448,"raw_latitude":99887064,"longitude_deg":76.5840448,"latitude_deg":9.9887064,"altitude":14,"angle":263,"satellites":41,"speed":20,"hex_longitude":"2da5cc40","hex_latitude":"05f427d8","is_valid_coordinates":true} 
[2026-07-27 19:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001494528001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:53:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359344808256339968,"note":"Value kept but may cause issues"} 
[2026-07-27 19:53:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6497638705561786368,"note":"Value kept but may cause issues"} 
[2026-07-27 19:53:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:53:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785162093000,"timestamp_ms":1785162093000,"timestamp_seconds":1785162093,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3f3d1c8"} 
[2026-07-27 19:53:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:53:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-27 19:53:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:53:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:53:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:53:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:53:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:53:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:53:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:53:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:53:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 19:53:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 19:53:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001494528001,"66":27213,"10":206,"88":19456,"24":20,"16":359344808256339968,"45":-6497638705561786368},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-07-27 19:53:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 19:53:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 19:53:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001494528001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:53:37] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-27 19:53:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-27 19:53:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359344808256339968,"km_value":359344808256339.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:53:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6497638705561786368,"description":"Unknown IO ID 45"} 
[2026-07-27 19:53:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001494528001,"power":27213,"unknown_10":206,"unknown_88":19456,"ignition":20,"odometer":null,"unknown_45":-6497638705561786368}} 
[2026-07-27 19:53:37] local.INFO: DEBUG: GPS processor result {"connection_id":143266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:53:37] local.INFO: GPS data processed {"connection_id":143266,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:53:37] local.INFO: Acknowledgment sent {"connection_id":143266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:54:00] local.INFO: TCP Data received {"connection_id":145533,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145533,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:54:00] local.INFO: Processing buffer {"connection_id":145533,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:54:00] local.INFO: IMEI packet received {"connection_id":145533,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 19:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":145533,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:54:04] local.INFO: TCP Data received {"connection_id":145533,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145533,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:54:04] local.INFO: Processing buffer {"connection_id":145533,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:54:04] local.INFO: IMEI packet received {"connection_id":145533,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 19:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":145533,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:54:05] local.INFO: TCP Data received {"connection_id":145533,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3f37fc0012d196580071ff150003a014b23..."} 
[2026-07-27 19:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3f37fc0012d196580071ff150003a014b23..."} 
[2026-07-27 19:54:05] local.INFO: Processing buffer {"connection_id":145533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3f37fc0012d196580071ff150003a014b23..."} 
[2026-07-27 19:54:05] local.INFO: Packet analysis {"connection_id":145533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3f3"} 
[2026-07-27 19:54:05] local.INFO: Extracted packet for processing {"connection_id":145533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3f3"} 
[2026-07-27 19:54:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533904,"longitude_deg":75.6639104,"latitude_deg":11.9533904,"altitude":58,"angle":331,"satellites":35,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff150","is_valid_coordinates":true} 
[2026-07-27 19:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:54:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001485056001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:54:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971671285268480,"note":"Value kept but may cause issues"} 
[2026-07-27 19:54:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685009408,"note":"Value kept but may cause issues"} 
[2026-07-27 19:54:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:54:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785162072000,"timestamp_ms":1785162072000,"timestamp_seconds":1785162072,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3f37fc0"} 
[2026-07-27 19:54:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:54:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-27 19:54:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:54:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:54:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:54:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:54:05] local.INFO: Teltonika packet parsed successfully {"connection_id":145533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:54:05] local.INFO: Passing IMEI to GPS processor {"connection_id":145533,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:54:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":145533,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:54:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:54:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 19:54:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 19:54:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001485056001,"66":12232,"121":206,"28":31744,"24":0,"16":8971671285268480,"45":1830009591685009408},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 19:54:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 19:54:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 19:54:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001485056001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:54:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 19:54:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 19:54:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971671285268480,"km_value":8971671285268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:54:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685009408,"description":"Unknown IO ID 45"} 
[2026-07-27 19:54:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001485056001,"power":12232,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591685009408}} 
[2026-07-27 19:54:06] local.INFO: DEBUG: GPS processor result {"connection_id":145533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555138,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:54:06] local.INFO: GPS data processed {"connection_id":145533,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:54:06] local.INFO: Acknowledgment sent {"connection_id":145533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:54:09] local.INFO: TCP Data received {"connection_id":143266,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3f3e938012da5c28005f42788000d011328..."} 
[2026-07-27 19:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3f3e938012da5c28005f42788000d011328..."} 
[2026-07-27 19:54:09] local.INFO: Processing buffer {"connection_id":143266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3f3e938012da5c28005f42788000d011328..."} 
[2026-07-27 19:54:09] local.INFO: Packet analysis {"connection_id":143266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3f3"} 
[2026-07-27 19:54:09] local.INFO: Extracted packet for processing {"connection_id":143266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3f3"} 
[2026-07-27 19:54:09] local.INFO: GPS Element Parsed {"raw_longitude":765837952,"raw_latitude":99886984,"longitude_deg":76.5837952,"latitude_deg":9.9886984,"altitude":13,"angle":275,"satellites":40,"speed":12,"hex_longitude":"2da5c280","hex_latitude":"05f42788","is_valid_coordinates":true} 
[2026-07-27 19:54:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:54:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001495808001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:54:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359344932810391552,"note":"Value kept but may cause issues"} 
[2026-07-27 19:54:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6499749767887202304,"note":"Value kept but may cause issues"} 
[2026-07-27 19:54:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:54:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785162099000,"timestamp_ms":1785162099000,"timestamp_seconds":1785162099,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3f3e938"} 
[2026-07-27 19:54:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:54:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:54:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-27 19:54:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:54:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:54:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:54:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:54:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:54:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:54:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:54:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:54:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 19:54:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 19:54:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001495808001,"66":27767,"10":206,"88":19456,"24":12,"16":359344932810391552,"45":-6499749767887202304},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-07-27 19:54:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 19:54:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 19:54:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001495808001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:54:09] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-27 19:54:09] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-27 19:54:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359344932810391552,"km_value":359344932810391.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:54:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6499749767887202304,"description":"Unknown IO ID 45"} 
[2026-07-27 19:54:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001495808001,"power":27767,"unknown_10":206,"unknown_88":19456,"ignition":12,"odometer":null,"unknown_45":-6499749767887202304}} 
[2026-07-27 19:54:09] local.INFO: DEBUG: GPS processor result {"connection_id":143266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:54:09] local.INFO: GPS data processed {"connection_id":143266,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:54:09] local.INFO: Acknowledgment sent {"connection_id":143266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:54:31] local.INFO: TCP Data received {"connection_id":143120,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:54:31] local.INFO: Processing buffer {"connection_id":143120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:54:31] local.INFO: IMEI packet received {"connection_id":143120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 19:54:31] local.INFO: IMEI acknowledgment sent {"connection_id":143120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:54:36] local.INFO: TCP Data received {"connection_id":143120,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:54:36] local.INFO: Processing buffer {"connection_id":143120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:54:36] local.INFO: IMEI packet received {"connection_id":143120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 19:54:36] local.INFO: IMEI acknowledgment sent {"connection_id":143120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:54:37] local.INFO: TCP Data received {"connection_id":145533,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3f3d1c8012d196580071ff150003a014b28..."} 
[2026-07-27 19:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3f3d1c8012d196580071ff150003a014b28..."} 
[2026-07-27 19:54:37] local.INFO: Processing buffer {"connection_id":145533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3f3d1c8012d196580071ff150003a014b28..."} 
[2026-07-27 19:54:37] local.INFO: Packet analysis {"connection_id":145533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3f3"} 
[2026-07-27 19:54:37] local.INFO: Extracted packet for processing {"connection_id":145533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3f3"} 
[2026-07-27 19:54:37] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533904,"longitude_deg":75.6639104,"latitude_deg":11.9533904,"altitude":58,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff150","is_valid_coordinates":true} 
[2026-07-27 19:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:54:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001490432001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:54:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971671285268480,"note":"Value kept but may cause issues"} 
[2026-07-27 19:54:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685009408,"note":"Value kept but may cause issues"} 
[2026-07-27 19:54:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:54:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785162093000,"timestamp_ms":1785162093000,"timestamp_seconds":1785162093,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3f3d1c8"} 
[2026-07-27 19:54:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:54:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-27 19:54:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:54:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:54:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:54:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:54:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:54:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145533,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:54:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145533,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:54:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:54:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 19:54:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 19:54:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001490432001,"66":11471,"121":206,"28":31744,"24":0,"16":8971671285268480,"45":1830009591685009408},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 19:54:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 19:54:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 19:54:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001490432001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:54:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 19:54:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 19:54:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971671285268480,"km_value":8971671285268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:54:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685009408,"description":"Unknown IO ID 45"} 
[2026-07-27 19:54:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001490432001,"power":11471,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591685009408}} 
[2026-07-27 19:54:37] local.INFO: DEBUG: GPS processor result {"connection_id":145533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555140,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:54:37] local.INFO: GPS data processed {"connection_id":145533,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:54:37] local.INFO: Acknowledgment sent {"connection_id":145533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:54:37] local.INFO: TCP Data received {"connection_id":143120,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3f40878012da5b6c005f42958000b011f2a..."} 
[2026-07-27 19:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143120,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3f40878012da5b6c005f42958000b011f2a..."} 
[2026-07-27 19:54:37] local.INFO: Processing buffer {"connection_id":143120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3f40878012da5b6c005f42958000b011f2a..."} 
[2026-07-27 19:54:37] local.INFO: Packet analysis {"connection_id":143120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3f4"} 
[2026-07-27 19:54:37] local.INFO: Extracted packet for processing {"connection_id":143120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3f4"} 
[2026-07-27 19:54:37] local.INFO: GPS Element Parsed {"raw_longitude":765834944,"raw_latitude":99887448,"longitude_deg":76.5834944,"latitude_deg":9.9887448,"altitude":11,"angle":287,"satellites":42,"speed":10,"hex_longitude":"2da5b6c0","hex_latitude":"05f42958","is_valid_coordinates":true} 
[2026-07-27 19:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:54:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001497344001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:54:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359345074544312320,"note":"Value kept but may cause issues"} 
[2026-07-27 19:54:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6502494148910151680,"note":"Value kept but may cause issues"} 
[2026-07-27 19:54:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:54:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785162107000,"timestamp_ms":1785162107000,"timestamp_seconds":1785162107,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3f40878"} 
[2026-07-27 19:54:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:54:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-27 19:54:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:54:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:54:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:54:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:54:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:54:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:54:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:54:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:54:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 19:54:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 19:54:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001497344001,"66":27800,"10":206,"88":19456,"24":10,"16":359345074544312320,"45":-6502494148910151680},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-07-27 19:54:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 19:54:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 19:54:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001497344001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:54:37] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-27 19:54:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-27 19:54:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359345074544312320,"km_value":359345074544312.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:54:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6502494148910151680,"description":"Unknown IO ID 45"} 
[2026-07-27 19:54:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001497344001,"power":27800,"unknown_10":206,"unknown_88":19456,"ignition":10,"odometer":null,"unknown_45":-6502494148910151680}} 
[2026-07-27 19:54:37] local.INFO: DEBUG: GPS processor result {"connection_id":143120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:54:37] local.INFO: GPS data processed {"connection_id":143120,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:54:37] local.INFO: Acknowledgment sent {"connection_id":143120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:54:59] local.INFO: TCP Data received {"connection_id":145534,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145534,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:54:59] local.INFO: Processing buffer {"connection_id":145534,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:54:59] local.INFO: IMEI packet received {"connection_id":145534,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 19:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":145534,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:55:02] local.INFO: TCP Data received {"connection_id":145534,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145534,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:55:02] local.INFO: Processing buffer {"connection_id":145534,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:55:02] local.INFO: IMEI packet received {"connection_id":145534,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 19:55:02] local.INFO: IMEI acknowledgment sent {"connection_id":145534,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:55:04] local.INFO: TCP Data received {"connection_id":145534,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145534,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:55:04] local.INFO: Processing buffer {"connection_id":145534,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:55:04] local.INFO: IMEI packet received {"connection_id":145534,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 19:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":145534,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:55:05] local.INFO: TCP Data received {"connection_id":145534,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3f423d0012d196580071ff150003a014b24..."} 
[2026-07-27 19:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3f423d0012d196580071ff150003a014b24..."} 
[2026-07-27 19:55:05] local.INFO: Processing buffer {"connection_id":145534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3f423d0012d196580071ff150003a014b24..."} 
[2026-07-27 19:55:05] local.INFO: Packet analysis {"connection_id":145534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3f4"} 
[2026-07-27 19:55:05] local.INFO: Extracted packet for processing {"connection_id":145534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3f4"} 
[2026-07-27 19:55:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533904,"longitude_deg":75.6639104,"latitude_deg":11.9533904,"altitude":58,"angle":331,"satellites":36,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff150","is_valid_coordinates":true} 
[2026-07-27 19: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-07-27 19:55:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001495808001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:55:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971671285268480,"note":"Value kept but may cause issues"} 
[2026-07-27 19:55:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685009408,"note":"Value kept but may cause issues"} 
[2026-07-27 19:55:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:55:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785162114000,"timestamp_ms":1785162114000,"timestamp_seconds":1785162114,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3f423d0"} 
[2026-07-27 19:55:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:55:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19: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":44,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-27 19:55:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2281,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19: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-07-27 19:55:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:55:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:55:05] local.INFO: Teltonika packet parsed successfully {"connection_id":145534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:55:05] local.INFO: Passing IMEI to GPS processor {"connection_id":145534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:55:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":145534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:55:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:55:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 19:55:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 19:55:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001495808001,"66":11308,"121":206,"28":31744,"24":0,"16":8971671285268480,"45":1830009591685009408},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 19:55:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 19:55:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 19:55:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001495808001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:55:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 19:55:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 19:55:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971671285268480,"km_value":8971671285268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:55:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685009408,"description":"Unknown IO ID 45"} 
[2026-07-27 19:55:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001495808001,"power":11308,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591685009408}} 
[2026-07-27 19:55:05] local.INFO: DEBUG: GPS processor result {"connection_id":145534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555142,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:55:05] local.INFO: GPS data processed {"connection_id":145534,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:55:05] local.INFO: Acknowledgment sent {"connection_id":145534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:55:09] local.INFO: TCP Data received {"connection_id":143120,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3f44ae0012da5b0c005f42bb8000b011f29..."} 
[2026-07-27 19:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143120,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3f44ae0012da5b0c005f42bb8000b011f29..."} 
[2026-07-27 19:55:09] local.INFO: Processing buffer {"connection_id":143120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3f44ae0012da5b0c005f42bb8000b011f29..."} 
[2026-07-27 19:55:09] local.INFO: Packet analysis {"connection_id":143120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3f4"} 
[2026-07-27 19:55:09] local.INFO: Extracted packet for processing {"connection_id":143120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3f4"} 
[2026-07-27 19:55:09] local.INFO: GPS Element Parsed {"raw_longitude":765833408,"raw_latitude":99888056,"longitude_deg":76.5833408,"latitude_deg":9.9888056,"altitude":11,"angle":287,"satellites":41,"speed":0,"hex_longitude":"2da5b0c0","hex_latitude":"05f42bb8","is_valid_coordinates":true} 
[2026-07-27 19:55:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:55:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001499392001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:55:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359345147558756352,"note":"Value kept but may cause issues"} 
[2026-07-27 19:55:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6505801479886383104,"note":"Value kept but may cause issues"} 
[2026-07-27 19:55:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:55:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785162124000,"timestamp_ms":1785162124000,"timestamp_seconds":1785162124,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3f44ae0"} 
[2026-07-27 19:55:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:55:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-27 19:55:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:55:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:55:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:55:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:55:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:55:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:55:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:55:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:55:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 19:55:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 19:55:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001499392001,"66":27800,"10":206,"88":19456,"24":0,"16":359345147558756352,"45":-6505801479886383104},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-07-27 19:55:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 19:55:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 19:55:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001499392001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:55:09] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-27 19:55:09] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-27 19:55:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359345147558756352,"km_value":359345147558756.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:55:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6505801479886383104,"description":"Unknown IO ID 45"} 
[2026-07-27 19:55:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001499392001,"power":27800,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6505801479886383104}} 
[2026-07-27 19:55:09] local.INFO: DEBUG: GPS processor result {"connection_id":143120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:55:09] local.INFO: GPS data processed {"connection_id":143120,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:55:09] local.INFO: Acknowledgment sent {"connection_id":143120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:55:10] local.INFO: TCP Data received {"connection_id":145534,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3f475d8012d196580071ff150003a014b25..."} 
[2026-07-27 19:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3f475d8012d196580071ff150003a014b25..."} 
[2026-07-27 19:55:10] local.INFO: Processing buffer {"connection_id":145534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3f475d8012d196580071ff150003a014b25..."} 
[2026-07-27 19:55:10] local.INFO: Packet analysis {"connection_id":145534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3f4"} 
[2026-07-27 19:55:10] local.INFO: Extracted packet for processing {"connection_id":145534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3f4"} 
[2026-07-27 19:55:10] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533904,"longitude_deg":75.6639104,"latitude_deg":11.9533904,"altitude":58,"angle":331,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff150","is_valid_coordinates":true} 
[2026-07-27 19:55:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:55:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001501184001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:55:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971671285268480,"note":"Value kept but may cause issues"} 
[2026-07-27 19:55:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685009408,"note":"Value kept but may cause issues"} 
[2026-07-27 19:55:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:55:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785162135000,"timestamp_ms":1785162135000,"timestamp_seconds":1785162135,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3f475d8"} 
[2026-07-27 19:55:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:55:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:55:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-07-27 19:55:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":814,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:55:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:55:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:55:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:55:10] local.INFO: Teltonika packet parsed successfully {"connection_id":145534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:55:10] local.INFO: Passing IMEI to GPS processor {"connection_id":145534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:55:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":145534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:55:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:55:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 19:55:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 19:55:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001501184001,"66":12232,"121":206,"28":31744,"24":0,"16":8971671285268480,"45":1830009591685009408},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 19:55:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 19:55:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 19:55:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001501184001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:55:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 19:55:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 19:55:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971671285268480,"km_value":8971671285268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:55:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685009408,"description":"Unknown IO ID 45"} 
[2026-07-27 19:55:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001501184001,"power":12232,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591685009408}} 
[2026-07-27 19:55:10] local.INFO: DEBUG: GPS processor result {"connection_id":145534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555144,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:55:10] local.INFO: GPS data processed {"connection_id":145534,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:55:10] local.INFO: Acknowledgment sent {"connection_id":145534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:55:31] local.INFO: TCP Data received {"connection_id":143121,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:55:31] local.INFO: Processing buffer {"connection_id":143121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:55:31] local.INFO: IMEI packet received {"connection_id":143121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 19:55:31] local.INFO: IMEI acknowledgment sent {"connection_id":143121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:55:36] local.INFO: TCP Data received {"connection_id":143121,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:55:36] local.INFO: Processing buffer {"connection_id":143121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:55:36] local.INFO: IMEI packet received {"connection_id":143121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 19:55:36] local.INFO: IMEI acknowledgment sent {"connection_id":143121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:55:37] local.INFO: TCP Data received {"connection_id":143121,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3f44ec8012da5b08005f42c08000b012c2a..."} 
[2026-07-27 19:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3f44ec8012da5b08005f42c08000b012c2a..."} 
[2026-07-27 19:55:37] local.INFO: Processing buffer {"connection_id":143121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3f44ec8012da5b08005f42c08000b012c2a..."} 
[2026-07-27 19:55:37] local.INFO: Packet analysis {"connection_id":143121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3f4"} 
[2026-07-27 19:55:37] local.INFO: Extracted packet for processing {"connection_id":143121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3f4"} 
[2026-07-27 19:55:37] local.INFO: GPS Element Parsed {"raw_longitude":765833344,"raw_latitude":99888136,"longitude_deg":76.5833344,"latitude_deg":9.9888136,"altitude":11,"angle":300,"satellites":42,"speed":6,"hex_longitude":"2da5b080","hex_latitude":"05f42c08","is_valid_coordinates":true} 
[2026-07-27 19:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:55:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001503744001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:55:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359345147558756352,"note":"Value kept but may cause issues"} 
[2026-07-27 19:55:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6507490329746491392,"note":"Value kept but may cause issues"} 
[2026-07-27 19:55:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:55:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785162125000,"timestamp_ms":1785162125000,"timestamp_seconds":1785162125,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3f44ec8"} 
[2026-07-27 19:55:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:55:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 19:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-27 19:55:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:55:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:55:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:55:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:55:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:55:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:55:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:55:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:55:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 19:55:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 19:55:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001503744001,"66":27800,"10":206,"88":19456,"24":6,"16":359345147558756352,"45":-6507490329746491392},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-07-27 19:55:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 19:55:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 19:55:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001503744001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:55:37] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-27 19:55:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-27 19:55:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359345147558756352,"km_value":359345147558756.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:55:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6507490329746491392,"description":"Unknown IO ID 45"} 
[2026-07-27 19:55:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001503744001,"power":27800,"unknown_10":206,"unknown_88":19456,"ignition":6,"odometer":null,"unknown_45":-6507490329746491392}} 
[2026-07-27 19:55:37] local.INFO: DEBUG: GPS processor result {"connection_id":143121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:55:37] local.INFO: GPS data processed {"connection_id":143121,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:55:37] local.INFO: Acknowledgment sent {"connection_id":143121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:55:44] local.INFO: TCP Data received {"connection_id":145534,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3f4c7e0012d196580071ff150003a014b25..."} 
[2026-07-27 19:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3f4c7e0012d196580071ff150003a014b25..."} 
[2026-07-27 19:55:44] local.INFO: Processing buffer {"connection_id":145534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3f4c7e0012d196580071ff150003a014b25..."} 
[2026-07-27 19:55:44] local.INFO: Packet analysis {"connection_id":145534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3f4"} 
[2026-07-27 19:55:44] local.INFO: Extracted packet for processing {"connection_id":145534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3f4"} 
[2026-07-27 19:55:44] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533904,"longitude_deg":75.6639104,"latitude_deg":11.9533904,"altitude":58,"angle":331,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff150","is_valid_coordinates":true} 
[2026-07-27 19:55:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:55:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001506560001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:55:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971671285268480,"note":"Value kept but may cause issues"} 
[2026-07-27 19:55:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685009408,"note":"Value kept but may cause issues"} 
[2026-07-27 19:55:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:55:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785162156000,"timestamp_ms":1785162156000,"timestamp_seconds":1785162156,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3f4c7e0"} 
[2026-07-27 19:55:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:55:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:55: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-27 19:55:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:55:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:55:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:55:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:55:44] local.INFO: Teltonika packet parsed successfully {"connection_id":145534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:55:44] local.INFO: Passing IMEI to GPS processor {"connection_id":145534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:55:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":145534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:55:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:55:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 19:55:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 19:55:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001506560001,"66":12232,"121":206,"28":31744,"24":0,"16":8971671285268480,"45":1830009591685009408},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 19:55:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 19:55:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 19:55:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001506560001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:55:44] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 19:55:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 19:55:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971671285268480,"km_value":8971671285268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:55:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685009408,"description":"Unknown IO ID 45"} 
[2026-07-27 19:55:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001506560001,"power":12232,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591685009408}} 
[2026-07-27 19:55:44] local.INFO: DEBUG: GPS processor result {"connection_id":145534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555146,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:55:44] local.INFO: GPS data processed {"connection_id":145534,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:55:44] local.INFO: Acknowledgment sent {"connection_id":145534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:55:59] local.INFO: TCP Data received {"connection_id":144251,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144251,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:55:59] local.INFO: Processing buffer {"connection_id":144251,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:55:59] local.INFO: IMEI packet received {"connection_id":144251,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 19:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":144251,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:56:02] local.INFO: TCP Data received {"connection_id":144251,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144251,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:56:02] local.INFO: Processing buffer {"connection_id":144251,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:56:02] local.INFO: IMEI packet received {"connection_id":144251,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 19:56:02] local.INFO: IMEI acknowledgment sent {"connection_id":144251,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:56:04] local.INFO: TCP Data received {"connection_id":144251,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144251,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:56:04] local.INFO: Processing buffer {"connection_id":144251,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:56:04] local.INFO: IMEI packet received {"connection_id":144251,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 19:56:04] local.INFO: IMEI acknowledgment sent {"connection_id":144251,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:56:05] local.INFO: TCP Data received {"connection_id":144251,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3f519e8012d196580071ff150003a014b28..."} 
[2026-07-27 19:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144251,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3f519e8012d196580071ff150003a014b28..."} 
[2026-07-27 19:56:05] local.INFO: Processing buffer {"connection_id":144251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3f519e8012d196580071ff150003a014b28..."} 
[2026-07-27 19:56:05] local.INFO: Packet analysis {"connection_id":144251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3f5"} 
[2026-07-27 19:56:05] local.INFO: Extracted packet for processing {"connection_id":144251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3f5"} 
[2026-07-27 19:56:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533904,"longitude_deg":75.6639104,"latitude_deg":11.9533904,"altitude":58,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff150","is_valid_coordinates":true} 
[2026-07-27 19:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:56:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001511936001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:56:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971671285268480,"note":"Value kept but may cause issues"} 
[2026-07-27 19:56:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685009408,"note":"Value kept but may cause issues"} 
[2026-07-27 19:56:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:56:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785162177000,"timestamp_ms":1785162177000,"timestamp_seconds":1785162177,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3f519e8"} 
[2026-07-27 19:56:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:56:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-27 19:56:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:56:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:56:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:56:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:56:05] local.INFO: Teltonika packet parsed successfully {"connection_id":144251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:56:05] local.INFO: Passing IMEI to GPS processor {"connection_id":144251,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:56:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":144251,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:56:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:56:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 19:56:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 19:56:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001511936001,"66":12254,"121":206,"28":31744,"24":0,"16":8971671285268480,"45":1830009591685009408},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 19:56:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 19:56:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 19:56:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001511936001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:56:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 19:56:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 19:56:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971671285268480,"km_value":8971671285268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:56:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685009408,"description":"Unknown IO ID 45"} 
[2026-07-27 19:56:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001511936001,"power":12254,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591685009408}} 
[2026-07-27 19:56:05] local.INFO: DEBUG: GPS processor result {"connection_id":144251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555147,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:56:05] local.INFO: GPS data processed {"connection_id":144251,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:56:05] local.INFO: Acknowledgment sent {"connection_id":144251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:56:09] local.INFO: TCP Data received {"connection_id":143121,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3f44ec8012da5b08005f42c08000b012c2a..."} 
[2026-07-27 19:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3f44ec8012da5b08005f42c08000b012c2a..."} 
[2026-07-27 19:56:09] local.INFO: Processing buffer {"connection_id":143121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3f44ec8012da5b08005f42c08000b012c2a..."} 
[2026-07-27 19:56:09] local.INFO: Packet analysis {"connection_id":143121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3f4"} 
[2026-07-27 19:56:09] local.INFO: Extracted packet for processing {"connection_id":143121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3f4"} 
[2026-07-27 19:56:09] local.INFO: GPS Element Parsed {"raw_longitude":765833344,"raw_latitude":99888136,"longitude_deg":76.5833344,"latitude_deg":9.9888136,"altitude":11,"angle":300,"satellites":42,"speed":6,"hex_longitude":"2da5b080","hex_latitude":"05f42c08","is_valid_coordinates":true} 
[2026-07-27 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-07-27 19:56:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001503744001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:56:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359345147558756352,"note":"Value kept but may cause issues"} 
[2026-07-27 19:56:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6507490329746491392,"note":"Value kept but may cause issues"} 
[2026-07-27 19:56:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:56:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785162125000,"timestamp_ms":1785162125000,"timestamp_seconds":1785162125,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3f44ec8"} 
[2026-07-27 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-07-27 19:56:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-27 19:56:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 19:56:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:56:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:56:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:56:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:56:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:56:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 19:56:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 19:56:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001503744001,"66":27800,"10":206,"88":19456,"24":6,"16":359345147558756352,"45":-6507490329746491392},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-07-27 19:56:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 19:56:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 19:56:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001503744001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:56:09] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-27 19:56:09] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-27 19:56:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359345147558756352,"km_value":359345147558756.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:56:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6507490329746491392,"description":"Unknown IO ID 45"} 
[2026-07-27 19:56:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001503744001,"power":27800,"unknown_10":206,"unknown_88":19456,"ignition":6,"odometer":null,"unknown_45":-6507490329746491392}} 
[2026-07-27 19:56:09] local.INFO: DEBUG: GPS processor result {"connection_id":143121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:56:09] local.INFO: GPS data processed {"connection_id":143121,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:56:09] local.INFO: Acknowledgment sent {"connection_id":143121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:56:31] local.INFO: TCP Data received {"connection_id":144252,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:56:31] local.INFO: Processing buffer {"connection_id":144252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:56:31] local.INFO: IMEI packet received {"connection_id":144252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 19:56:31] local.INFO: IMEI acknowledgment sent {"connection_id":144252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:56:36] local.INFO: TCP Data received {"connection_id":144251,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3f56bf0012d196580071ff150003a014b28..."} 
[2026-07-27 19:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144251,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3f56bf0012d196580071ff150003a014b28..."} 
[2026-07-27 19:56:36] local.INFO: Processing buffer {"connection_id":144251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3f56bf0012d196580071ff150003a014b28..."} 
[2026-07-27 19:56:36] local.INFO: Packet analysis {"connection_id":144251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3f5"} 
[2026-07-27 19:56:36] local.INFO: Extracted packet for processing {"connection_id":144251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3f5"} 
[2026-07-27 19:56:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533904,"longitude_deg":75.6639104,"latitude_deg":11.9533904,"altitude":58,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff150","is_valid_coordinates":true} 
[2026-07-27 19:56:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:56:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001517312001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:56:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971671285268480,"note":"Value kept but may cause issues"} 
[2026-07-27 19:56:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685009408,"note":"Value kept but may cause issues"} 
[2026-07-27 19:56:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:56:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785162198000,"timestamp_ms":1785162198000,"timestamp_seconds":1785162198,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3f56bf0"} 
[2026-07-27 19:56:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:56:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:56:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-27 19:56:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:56:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:56:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:56:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:56:36] local.INFO: Teltonika packet parsed successfully {"connection_id":144251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:56:36] local.INFO: Passing IMEI to GPS processor {"connection_id":144251,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:56:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":144251,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:56:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:56:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 19:56:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 19:56:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001517312001,"66":12178,"121":206,"28":31744,"24":0,"16":8971671285268480,"45":1830009591685009408},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 19:56:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 19:56:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 19:56:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001517312001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:56:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 19:56:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 19:56:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971671285268480,"km_value":8971671285268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:56:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685009408,"description":"Unknown IO ID 45"} 
[2026-07-27 19:56:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001517312001,"power":12178,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591685009408}} 
[2026-07-27 19:56:36] local.INFO: DEBUG: GPS processor result {"connection_id":144251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555149,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:56:36] local.INFO: GPS data processed {"connection_id":144251,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:56:36] local.INFO: Acknowledgment sent {"connection_id":144251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:56:36] local.INFO: TCP Data received {"connection_id":144252,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:56:36] local.INFO: Processing buffer {"connection_id":144252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:56:36] local.INFO: IMEI packet received {"connection_id":144252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 19:56:36] local.INFO: IMEI acknowledgment sent {"connection_id":144252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:56:37] local.INFO: TCP Data received {"connection_id":144252,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3f44ec8012da5b08005f42c08000b012c2a..."} 
[2026-07-27 19:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3f44ec8012da5b08005f42c08000b012c2a..."} 
[2026-07-27 19:56:37] local.INFO: Processing buffer {"connection_id":144252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3f44ec8012da5b08005f42c08000b012c2a..."} 
[2026-07-27 19:56:37] local.INFO: Packet analysis {"connection_id":144252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3f4"} 
[2026-07-27 19:56:37] local.INFO: Extracted packet for processing {"connection_id":144252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3f4"} 
[2026-07-27 19:56:37] local.INFO: GPS Element Parsed {"raw_longitude":765833344,"raw_latitude":99888136,"longitude_deg":76.5833344,"latitude_deg":9.9888136,"altitude":11,"angle":300,"satellites":42,"speed":6,"hex_longitude":"2da5b080","hex_latitude":"05f42c08","is_valid_coordinates":true} 
[2026-07-27 19:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001503744001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359345147558756352,"note":"Value kept but may cause issues"} 
[2026-07-27 19:56:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6507490329746491392,"note":"Value kept but may cause issues"} 
[2026-07-27 19:56:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785162125000,"timestamp_ms":1785162125000,"timestamp_seconds":1785162125,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3f44ec8"} 
[2026-07-27 19:56:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:56:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 19: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-27 19:56:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:56:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:56:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:56:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 19:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 19:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001503744001,"66":27800,"10":206,"88":19456,"24":6,"16":359345147558756352,"45":-6507490329746491392},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-07-27 19:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 19:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 19:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001503744001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:56:37] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-27 19:56:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-27 19:56:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359345147558756352,"km_value":359345147558756.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:56:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6507490329746491392,"description":"Unknown IO ID 45"} 
[2026-07-27 19:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001503744001,"power":27800,"unknown_10":206,"unknown_88":19456,"ignition":6,"odometer":null,"unknown_45":-6507490329746491392}} 
[2026-07-27 19:56:37] local.INFO: DEBUG: GPS processor result {"connection_id":144252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:56:37] local.INFO: GPS data processed {"connection_id":144252,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:56:37] local.INFO: Acknowledgment sent {"connection_id":144252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:57:04] local.INFO: TCP Data received {"connection_id":143122,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143122,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:57:04] local.INFO: Processing buffer {"connection_id":143122,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:57:04] local.INFO: IMEI packet received {"connection_id":143122,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 19:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":143122,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:57:05] local.INFO: TCP Data received {"connection_id":143122,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143122,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:57:05] local.INFO: Processing buffer {"connection_id":143122,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:57:05] local.INFO: IMEI packet received {"connection_id":143122,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 19:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":143122,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:57:06] local.INFO: TCP Data received {"connection_id":143122,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3f5bdf8012d196580071ff150003a014b20..."} 
[2026-07-27 19:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143122,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3f5bdf8012d196580071ff150003a014b20..."} 
[2026-07-27 19:57:06] local.INFO: Processing buffer {"connection_id":143122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3f5bdf8012d196580071ff150003a014b20..."} 
[2026-07-27 19:57:06] local.INFO: Packet analysis {"connection_id":143122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3f5"} 
[2026-07-27 19:57:06] local.INFO: Extracted packet for processing {"connection_id":143122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3f5"} 
[2026-07-27 19:57:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533904,"longitude_deg":75.6639104,"latitude_deg":11.9533904,"altitude":58,"angle":331,"satellites":32,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff150","is_valid_coordinates":true} 
[2026-07-27 19:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001522688001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971671285268480,"note":"Value kept but may cause issues"} 
[2026-07-27 19:57:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685009408,"note":"Value kept but may cause issues"} 
[2026-07-27 19:57:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785162219000,"timestamp_ms":1785162219000,"timestamp_seconds":1785162219,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3f5bdf8"} 
[2026-07-27 19:57:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:57:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-27 19:57:06] 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-07-27 19:57:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:57:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:57:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 19:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 19:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001522688001,"66":12211,"121":206,"28":31744,"24":0,"16":8971671285268480,"45":1830009591685009408},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 19:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 19:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 19:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001522688001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:57:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 19:57:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 19:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971671285268480,"km_value":8971671285268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:57:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685009408,"description":"Unknown IO ID 45"} 
[2026-07-27 19:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001522688001,"power":12211,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591685009408}} 
[2026-07-27 19:57:06] local.INFO: DEBUG: GPS processor result {"connection_id":143122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555151,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:57:06] local.INFO: GPS data processed {"connection_id":143122,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:57:06] local.INFO: Acknowledgment sent {"connection_id":143122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:57:08] local.INFO: TCP Data received {"connection_id":144252,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3f44ec8012da5b08005f42c08000b012c2a..."} 
[2026-07-27 19:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3f44ec8012da5b08005f42c08000b012c2a..."} 
[2026-07-27 19:57:08] local.INFO: Processing buffer {"connection_id":144252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3f44ec8012da5b08005f42c08000b012c2a..."} 
[2026-07-27 19:57:08] local.INFO: Packet analysis {"connection_id":144252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3f4"} 
[2026-07-27 19:57:08] local.INFO: Extracted packet for processing {"connection_id":144252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3f4"} 
[2026-07-27 19:57:08] local.INFO: GPS Element Parsed {"raw_longitude":765833344,"raw_latitude":99888136,"longitude_deg":76.5833344,"latitude_deg":9.9888136,"altitude":11,"angle":300,"satellites":42,"speed":6,"hex_longitude":"2da5b080","hex_latitude":"05f42c08","is_valid_coordinates":true} 
[2026-07-27 19:57:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:57:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001503744001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:57:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359345147558756352,"note":"Value kept but may cause issues"} 
[2026-07-27 19:57:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6507490329746491392,"note":"Value kept but may cause issues"} 
[2026-07-27 19:57:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:57:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785162125000,"timestamp_ms":1785162125000,"timestamp_seconds":1785162125,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3f44ec8"} 
[2026-07-27 19:57:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:57:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 19:57:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-27 19:57:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:57:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:57:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:57:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:57:08] local.INFO: Teltonika packet parsed successfully {"connection_id":144252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:57:08] local.INFO: Passing IMEI to GPS processor {"connection_id":144252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:57:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":144252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:57:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:57:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 19:57:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 19:57:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001503744001,"66":27800,"10":206,"88":19456,"24":6,"16":359345147558756352,"45":-6507490329746491392},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-07-27 19:57:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 19:57:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 19:57:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001503744001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:57:08] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-27 19:57:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-27 19:57:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359345147558756352,"km_value":359345147558756.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:57:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6507490329746491392,"description":"Unknown IO ID 45"} 
[2026-07-27 19:57:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001503744001,"power":27800,"unknown_10":206,"unknown_88":19456,"ignition":6,"odometer":null,"unknown_45":-6507490329746491392}} 
[2026-07-27 19:57:08] local.INFO: DEBUG: GPS processor result {"connection_id":144252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:57:08] local.INFO: GPS data processed {"connection_id":144252,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:57:08] local.INFO: Acknowledgment sent {"connection_id":144252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:57:10] local.INFO: TCP Data received {"connection_id":143122,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3f61000012d196580071ff150003a014b25..."} 
[2026-07-27 19:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143122,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3f61000012d196580071ff150003a014b25..."} 
[2026-07-27 19:57:10] local.INFO: Processing buffer {"connection_id":143122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3f61000012d196580071ff150003a014b25..."} 
[2026-07-27 19:57:10] local.INFO: Packet analysis {"connection_id":143122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3f6"} 
[2026-07-27 19:57:10] local.INFO: Extracted packet for processing {"connection_id":143122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3f6"} 
[2026-07-27 19:57:10] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533904,"longitude_deg":75.6639104,"latitude_deg":11.9533904,"altitude":58,"angle":331,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff150","is_valid_coordinates":true} 
[2026-07-27 19:57:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:57:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001528064001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:57:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971671285268480,"note":"Value kept but may cause issues"} 
[2026-07-27 19:57:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685009408,"note":"Value kept but may cause issues"} 
[2026-07-27 19:57:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:57:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785162240000,"timestamp_ms":1785162240000,"timestamp_seconds":1785162240,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3f61000"} 
[2026-07-27 19:57:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:57:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19: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":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-27 19:57:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:57:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:57:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:57:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:57:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:57:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:57:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:57:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:57:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 19:57:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 19:57:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001528064001,"66":12145,"121":206,"28":31744,"24":0,"16":8971671285268480,"45":1830009591685009408},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 19:57:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 19:57:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 19:57:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001528064001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:57:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 19:57:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 19:57:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971671285268480,"km_value":8971671285268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:57:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685009408,"description":"Unknown IO ID 45"} 
[2026-07-27 19:57:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001528064001,"power":12145,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591685009408}} 
[2026-07-27 19:57:10] local.INFO: DEBUG: GPS processor result {"connection_id":143122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555153,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:57:10] local.INFO: GPS data processed {"connection_id":143122,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:57:10] local.INFO: Acknowledgment sent {"connection_id":143122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:57:31] local.INFO: TCP Data received {"connection_id":145535,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:57:31] local.INFO: Processing buffer {"connection_id":145535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:57:31] local.INFO: IMEI packet received {"connection_id":145535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 19:57:31] local.INFO: IMEI acknowledgment sent {"connection_id":145535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:57:36] local.INFO: TCP Data received {"connection_id":145535,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:57:36] local.INFO: Processing buffer {"connection_id":145535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:57:36] local.INFO: IMEI packet received {"connection_id":145535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 19:57:36] local.INFO: IMEI acknowledgment sent {"connection_id":145535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:57:37] local.INFO: TCP Data received {"connection_id":145535,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3f44ec8012da5b08005f42c08000b012c2a..."} 
[2026-07-27 19:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145535,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3f44ec8012da5b08005f42c08000b012c2a..."} 
[2026-07-27 19:57:37] local.INFO: Processing buffer {"connection_id":145535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3f44ec8012da5b08005f42c08000b012c2a..."} 
[2026-07-27 19:57:37] local.INFO: Packet analysis {"connection_id":145535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3f4"} 
[2026-07-27 19:57:37] local.INFO: Extracted packet for processing {"connection_id":145535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3f4"} 
[2026-07-27 19:57:37] local.INFO: GPS Element Parsed {"raw_longitude":765833344,"raw_latitude":99888136,"longitude_deg":76.5833344,"latitude_deg":9.9888136,"altitude":11,"angle":300,"satellites":42,"speed":6,"hex_longitude":"2da5b080","hex_latitude":"05f42c08","is_valid_coordinates":true} 
[2026-07-27 19:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:57:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001503744001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:57:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359345147558756352,"note":"Value kept but may cause issues"} 
[2026-07-27 19:57:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6507490329746491392,"note":"Value kept but may cause issues"} 
[2026-07-27 19:57:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:57:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785162125000,"timestamp_ms":1785162125000,"timestamp_seconds":1785162125,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3f44ec8"} 
[2026-07-27 19:57:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:57:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 19:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-27 19:57:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:57:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:57:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:57:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:57:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:57:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:57:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:57:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:57:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 19:57:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 19:57:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001503744001,"66":27800,"10":206,"88":19456,"24":6,"16":359345147558756352,"45":-6507490329746491392},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-07-27 19:57:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 19:57:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 19:57:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001503744001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:57:37] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-27 19:57:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-27 19:57:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359345147558756352,"km_value":359345147558756.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:57:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6507490329746491392,"description":"Unknown IO ID 45"} 
[2026-07-27 19:57:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001503744001,"power":27800,"unknown_10":206,"unknown_88":19456,"ignition":6,"odometer":null,"unknown_45":-6507490329746491392}} 
[2026-07-27 19:57:37] local.INFO: DEBUG: GPS processor result {"connection_id":145535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:57:37] local.INFO: GPS data processed {"connection_id":145535,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:57:37] local.INFO: Acknowledgment sent {"connection_id":145535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:57:44] local.INFO: TCP Data received {"connection_id":143122,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3f66208012d196580071ff150003a014b24..."} 
[2026-07-27 19:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143122,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3f66208012d196580071ff150003a014b24..."} 
[2026-07-27 19:57:44] local.INFO: Processing buffer {"connection_id":143122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3f66208012d196580071ff150003a014b24..."} 
[2026-07-27 19:57:44] local.INFO: Packet analysis {"connection_id":143122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3f6"} 
[2026-07-27 19:57:44] local.INFO: Extracted packet for processing {"connection_id":143122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3f6"} 
[2026-07-27 19:57:44] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533904,"longitude_deg":75.6639104,"latitude_deg":11.9533904,"altitude":58,"angle":331,"satellites":36,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff150","is_valid_coordinates":true} 
[2026-07-27 19:57:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:57:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001533440001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:57:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971671285268480,"note":"Value kept but may cause issues"} 
[2026-07-27 19:57:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685009408,"note":"Value kept but may cause issues"} 
[2026-07-27 19:57:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:57:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785162261000,"timestamp_ms":1785162261000,"timestamp_seconds":1785162261,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3f66208"} 
[2026-07-27 19:57:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:57:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:57:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-27 19:57:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1450,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:57:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:57:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:57:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:57:44] local.INFO: Teltonika packet parsed successfully {"connection_id":143122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:57:44] local.INFO: Passing IMEI to GPS processor {"connection_id":143122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:57:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":143122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:57:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:57:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 19:57:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 19:57:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001533440001,"66":12178,"121":206,"28":31744,"24":0,"16":8971671285268480,"45":1830009591685009408},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 19:57:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 19:57:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 19:57:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001533440001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:57:44] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 19:57:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 19:57:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971671285268480,"km_value":8971671285268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:57:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685009408,"description":"Unknown IO ID 45"} 
[2026-07-27 19:57:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001533440001,"power":12178,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591685009408}} 
[2026-07-27 19:57:44] local.INFO: DEBUG: GPS processor result {"connection_id":143122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555155,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:57:44] local.INFO: GPS data processed {"connection_id":143122,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:57:44] local.INFO: Acknowledgment sent {"connection_id":143122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:57:47] local.INFO: TCP Data received {"connection_id":145536,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 19:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145536,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 19:57:47] local.INFO: Processing buffer {"connection_id":145536,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 19:57:47] local.INFO: IMEI packet received {"connection_id":145536,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 19:57:47] local.INFO: IMEI acknowledgment sent {"connection_id":145536,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:57:59] local.INFO: TCP Data received {"connection_id":143267,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143267,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:57:59] local.INFO: Processing buffer {"connection_id":143267,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:57:59] local.INFO: IMEI packet received {"connection_id":143267,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 19:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":143267,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:58:04] local.INFO: TCP Data received {"connection_id":143267,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143267,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:58:04] local.INFO: Processing buffer {"connection_id":143267,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:58:04] local.INFO: IMEI packet received {"connection_id":143267,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 19:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":143267,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:58:05] local.INFO: TCP Data received {"connection_id":143267,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3f6b410012d196580071ff150003a014b25..."} 
[2026-07-27 19:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143267,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3f6b410012d196580071ff150003a014b25..."} 
[2026-07-27 19:58:05] local.INFO: Processing buffer {"connection_id":143267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3f6b410012d196580071ff150003a014b25..."} 
[2026-07-27 19:58:05] local.INFO: Packet analysis {"connection_id":143267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3f6"} 
[2026-07-27 19:58:05] local.INFO: Extracted packet for processing {"connection_id":143267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3f6"} 
[2026-07-27 19:58:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533904,"longitude_deg":75.6639104,"latitude_deg":11.9533904,"altitude":58,"angle":331,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff150","is_valid_coordinates":true} 
[2026-07-27 19:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:58:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001538816001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:58:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971671285268480,"note":"Value kept but may cause issues"} 
[2026-07-27 19:58:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685009408,"note":"Value kept but may cause issues"} 
[2026-07-27 19:58:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:58:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785162282000,"timestamp_ms":1785162282000,"timestamp_seconds":1785162282,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3f6b410"} 
[2026-07-27 19:58:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:58:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-27 19:58:05] 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-07-27 19:58:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:58:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:58:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:58:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:58:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143267,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:58:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143267,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:58:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:58:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 19:58:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 19:58:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001538816001,"66":12211,"121":206,"28":31744,"24":0,"16":8971671285268480,"45":1830009591685009408},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 19:58:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 19:58:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 19:58:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001538816001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:58:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 19:58:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 19:58:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971671285268480,"km_value":8971671285268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:58:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685009408,"description":"Unknown IO ID 45"} 
[2026-07-27 19:58:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001538816001,"power":12211,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591685009408}} 
[2026-07-27 19:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":143267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555156,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:58:06] local.INFO: GPS data processed {"connection_id":143267,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:58:06] local.INFO: Acknowledgment sent {"connection_id":143267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:58:08] local.INFO: TCP Data received {"connection_id":145535,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3f8f248012da5ae4005f42d90000c01232b..."} 
[2026-07-27 19:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145535,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3f8f248012da5ae4005f42d90000c01232b..."} 
[2026-07-27 19:58:08] local.INFO: Processing buffer {"connection_id":145535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3f8f248012da5ae4005f42d90000c01232b..."} 
[2026-07-27 19:58:08] local.INFO: Packet analysis {"connection_id":145535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3f8"} 
[2026-07-27 19:58:08] local.INFO: Extracted packet for processing {"connection_id":145535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3f8"} 
[2026-07-27 19:58:08] local.INFO: GPS Element Parsed {"raw_longitude":765832768,"raw_latitude":99888528,"longitude_deg":76.5832768,"latitude_deg":9.9888528,"altitude":12,"angle":291,"satellites":43,"speed":0,"hex_longitude":"2da5ae40","hex_latitude":"05f42d90","is_valid_coordinates":true} 
[2026-07-27 19:58:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:58:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001504000001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:58:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359345147558756352,"note":"Value kept but may cause issues"} 
[2026-07-27 19:58:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6507560698490648576,"note":"Value kept but may cause issues"} 
[2026-07-27 19:58:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:58:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785162429000,"timestamp_ms":1785162429000,"timestamp_seconds":1785162429,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3f8f248"} 
[2026-07-27 19:58:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:58:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 19:58:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-27 19:58:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:58:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:58:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:58:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:58:08] local.INFO: Teltonika packet parsed successfully {"connection_id":145535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:58:08] local.INFO: Passing IMEI to GPS processor {"connection_id":145535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:58:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":145535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:58:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:58:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 19:58:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 19:58:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001504000001,"66":25495,"10":206,"88":19456,"24":0,"16":359345147558756352,"45":-6507560698490648576},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-07-27 19:58:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 19:58:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 19:58:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001504000001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:58:08] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-27 19:58:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-27 19:58:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359345147558756352,"km_value":359345147558756.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:58:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6507560698490648576,"description":"Unknown IO ID 45"} 
[2026-07-27 19:58:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001504000001,"power":25495,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6507560698490648576}} 
[2026-07-27 19:58:08] local.INFO: DEBUG: GPS processor result {"connection_id":145535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:58:08] local.INFO: GPS data processed {"connection_id":145535,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:58:08] local.INFO: Acknowledgment sent {"connection_id":145535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:58:09] local.INFO: TCP Data received {"connection_id":143267,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3f70618012d196580071ff150003a014b25..."} 
[2026-07-27 19:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143267,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3f70618012d196580071ff150003a014b25..."} 
[2026-07-27 19:58:09] local.INFO: Processing buffer {"connection_id":143267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3f70618012d196580071ff150003a014b25..."} 
[2026-07-27 19:58:09] local.INFO: Packet analysis {"connection_id":143267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3f7"} 
[2026-07-27 19:58:09] local.INFO: Extracted packet for processing {"connection_id":143267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3f7"} 
[2026-07-27 19:58:09] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533904,"longitude_deg":75.6639104,"latitude_deg":11.9533904,"altitude":58,"angle":331,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff150","is_valid_coordinates":true} 
[2026-07-27 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-07-27 19:58:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001544192001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:58:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971671285268480,"note":"Value kept but may cause issues"} 
[2026-07-27 19:58:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685009408,"note":"Value kept but may cause issues"} 
[2026-07-27 19:58:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:58:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785162303000,"timestamp_ms":1785162303000,"timestamp_seconds":1785162303,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3f70618"} 
[2026-07-27 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-07-27 19:58:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-27 19:58:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 19:58:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:58:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:58:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143267,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:58:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143267,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:58:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:58:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 19:58:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 19:58:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001544192001,"66":12178,"121":206,"28":31744,"24":0,"16":8971671285268480,"45":1830009591685009408},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 19:58:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 19:58:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 19:58:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001544192001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:58:09] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 19:58:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 19:58:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971671285268480,"km_value":8971671285268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:58:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685009408,"description":"Unknown IO ID 45"} 
[2026-07-27 19:58:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001544192001,"power":12178,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591685009408}} 
[2026-07-27 19:58:09] local.INFO: DEBUG: GPS processor result {"connection_id":143267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555158,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:58:09] local.INFO: GPS data processed {"connection_id":143267,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:58:09] local.INFO: Acknowledgment sent {"connection_id":143267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:58:31] local.INFO: TCP Data received {"connection_id":143123,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:58:31] local.INFO: Processing buffer {"connection_id":143123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:58:31] local.INFO: IMEI packet received {"connection_id":143123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 19:58:31] local.INFO: IMEI acknowledgment sent {"connection_id":143123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:58:36] local.INFO: TCP Data received {"connection_id":143123,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:58:36] local.INFO: Processing buffer {"connection_id":143123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:58:36] local.INFO: IMEI packet received {"connection_id":143123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 19:58:36] local.INFO: IMEI acknowledgment sent {"connection_id":143123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:58:37] local.INFO: TCP Data received {"connection_id":143123,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3f8f248012da5ae4005f42d90000c01232b..."} 
[2026-07-27 19:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3f8f248012da5ae4005f42d90000c01232b..."} 
[2026-07-27 19:58:37] local.INFO: Processing buffer {"connection_id":143123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3f8f248012da5ae4005f42d90000c01232b..."} 
[2026-07-27 19:58:37] local.INFO: Packet analysis {"connection_id":143123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3f8"} 
[2026-07-27 19:58:37] local.INFO: Extracted packet for processing {"connection_id":143123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3f8"} 
[2026-07-27 19:58:37] local.INFO: GPS Element Parsed {"raw_longitude":765832768,"raw_latitude":99888528,"longitude_deg":76.5832768,"latitude_deg":9.9888528,"altitude":12,"angle":291,"satellites":43,"speed":0,"hex_longitude":"2da5ae40","hex_latitude":"05f42d90","is_valid_coordinates":true} 
[2026-07-27 19:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:58:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001504000001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:58:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359345147558756352,"note":"Value kept but may cause issues"} 
[2026-07-27 19:58:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6507560698490648576,"note":"Value kept but may cause issues"} 
[2026-07-27 19:58:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:58:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785162429000,"timestamp_ms":1785162429000,"timestamp_seconds":1785162429,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3f8f248"} 
[2026-07-27 19:58:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:58:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 19:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-27 19:58:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:58:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:58:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:58:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:58:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:58:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:58:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:58:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:58:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 19:58:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 19:58:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001504000001,"66":25495,"10":206,"88":19456,"24":0,"16":359345147558756352,"45":-6507560698490648576},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-07-27 19:58:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 19:58:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 19:58:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001504000001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:58:37] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-27 19:58:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-27 19:58:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359345147558756352,"km_value":359345147558756.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:58:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6507560698490648576,"description":"Unknown IO ID 45"} 
[2026-07-27 19:58:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001504000001,"power":25495,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6507560698490648576}} 
[2026-07-27 19:58:37] local.INFO: DEBUG: GPS processor result {"connection_id":143123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:58:37] local.INFO: GPS data processed {"connection_id":143123,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:58:37] local.INFO: Acknowledgment sent {"connection_id":143123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:58:40] local.INFO: TCP Data received {"connection_id":143267,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3f75820012d196580071ff150003a014b26..."} 
[2026-07-27 19:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143267,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3f75820012d196580071ff150003a014b26..."} 
[2026-07-27 19:58:40] local.INFO: Processing buffer {"connection_id":143267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3f75820012d196580071ff150003a014b26..."} 
[2026-07-27 19:58:40] local.INFO: Packet analysis {"connection_id":143267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3f7"} 
[2026-07-27 19:58:40] local.INFO: Extracted packet for processing {"connection_id":143267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3f7"} 
[2026-07-27 19:58:40] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533904,"longitude_deg":75.6639104,"latitude_deg":11.9533904,"altitude":58,"angle":331,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff150","is_valid_coordinates":true} 
[2026-07-27 19: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-07-27 19:58:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001549568001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:58:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971671285268480,"note":"Value kept but may cause issues"} 
[2026-07-27 19:58:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685009408,"note":"Value kept but may cause issues"} 
[2026-07-27 19:58:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:58:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785162324000,"timestamp_ms":1785162324000,"timestamp_seconds":1785162324,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3f75820"} 
[2026-07-27 19:58:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:58:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19: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":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-27 19:58:40] 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-07-27 19: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-07-27 19:58:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:58:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:58:40] local.INFO: Teltonika packet parsed successfully {"connection_id":143267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:58:40] local.INFO: Passing IMEI to GPS processor {"connection_id":143267,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:58:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":143267,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:58:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:58:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 19:58:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 19:58:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001549568001,"66":12156,"121":206,"28":31744,"24":0,"16":8971671285268480,"45":1830009591685009408},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 19:58:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 19:58:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 19:58:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001549568001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:58:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 19:58:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 19:58:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971671285268480,"km_value":8971671285268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:58:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685009408,"description":"Unknown IO ID 45"} 
[2026-07-27 19:58:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001549568001,"power":12156,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591685009408}} 
[2026-07-27 19:58:40] local.INFO: DEBUG: GPS processor result {"connection_id":143267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555160,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:58:40] local.INFO: GPS data processed {"connection_id":143267,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:58:40] local.INFO: Acknowledgment sent {"connection_id":143267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:59:03] local.INFO: TCP Data received {"connection_id":145537,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145537,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:59:03] local.INFO: Processing buffer {"connection_id":145537,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:59:03] local.INFO: IMEI packet received {"connection_id":145537,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 19:59:03] local.INFO: IMEI acknowledgment sent {"connection_id":145537,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:59:04] local.INFO: TCP Data received {"connection_id":145537,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145537,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:59:04] local.INFO: Processing buffer {"connection_id":145537,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:59:04] local.INFO: IMEI packet received {"connection_id":145537,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 19:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":145537,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:59:05] local.INFO: TCP Data received {"connection_id":145537,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3f7aa28012d196580071ff150003a014b28..."} 
[2026-07-27 19:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3f7aa28012d196580071ff150003a014b28..."} 
[2026-07-27 19:59:05] local.INFO: Processing buffer {"connection_id":145537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3f7aa28012d196580071ff150003a014b28..."} 
[2026-07-27 19:59:05] local.INFO: Packet analysis {"connection_id":145537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3f7"} 
[2026-07-27 19:59:05] local.INFO: Extracted packet for processing {"connection_id":145537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3f7"} 
[2026-07-27 19:59:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533904,"longitude_deg":75.6639104,"latitude_deg":11.9533904,"altitude":58,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff150","is_valid_coordinates":true} 
[2026-07-27 19:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:59:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001554944001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:59:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971671285268480,"note":"Value kept but may cause issues"} 
[2026-07-27 19:59:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685009408,"note":"Value kept but may cause issues"} 
[2026-07-27 19:59:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:59:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785162345000,"timestamp_ms":1785162345000,"timestamp_seconds":1785162345,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3f7aa28"} 
[2026-07-27 19:59:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:59:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-27 19:59:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:59:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:59:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:59:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:59:05] local.INFO: Teltonika packet parsed successfully {"connection_id":145537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:59:05] local.INFO: Passing IMEI to GPS processor {"connection_id":145537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:59:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":145537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:59:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:59:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 19:59:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 19:59:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001554944001,"66":12232,"121":206,"28":31744,"24":0,"16":8971671285268480,"45":1830009591685009408},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 19:59:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 19:59:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 19:59:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001554944001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:59:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 19:59:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 19:59:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971671285268480,"km_value":8971671285268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:59:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685009408,"description":"Unknown IO ID 45"} 
[2026-07-27 19:59:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001554944001,"power":12232,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591685009408}} 
[2026-07-27 19:59:05] local.INFO: DEBUG: GPS processor result {"connection_id":145537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555161,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:59:05] local.INFO: GPS data processed {"connection_id":145537,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:59:05] local.INFO: Acknowledgment sent {"connection_id":145537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:59:09] local.INFO: TCP Data received {"connection_id":143123,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3f8f248012da5ae4005f42d90000c01232b..."} 
[2026-07-27 19:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3f8f248012da5ae4005f42d90000c01232b..."} 
[2026-07-27 19:59:09] local.INFO: Processing buffer {"connection_id":143123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3f8f248012da5ae4005f42d90000c01232b..."} 
[2026-07-27 19:59:09] local.INFO: Packet analysis {"connection_id":143123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3f8"} 
[2026-07-27 19:59:09] local.INFO: Extracted packet for processing {"connection_id":143123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3f8"} 
[2026-07-27 19:59:09] local.INFO: GPS Element Parsed {"raw_longitude":765832768,"raw_latitude":99888528,"longitude_deg":76.5832768,"latitude_deg":9.9888528,"altitude":12,"angle":291,"satellites":43,"speed":0,"hex_longitude":"2da5ae40","hex_latitude":"05f42d90","is_valid_coordinates":true} 
[2026-07-27 19:59:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:59:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001504000001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:59:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359345147558756352,"note":"Value kept but may cause issues"} 
[2026-07-27 19:59:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6507560698490648576,"note":"Value kept but may cause issues"} 
[2026-07-27 19:59:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:59:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785162429000,"timestamp_ms":1785162429000,"timestamp_seconds":1785162429,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3f8f248"} 
[2026-07-27 19:59:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:59:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 19:59:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-27 19:59:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:59:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:59:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:59:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:59:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:59:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:59:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:59:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:59:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 19:59:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 19:59:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001504000001,"66":25495,"10":206,"88":19456,"24":0,"16":359345147558756352,"45":-6507560698490648576},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-07-27 19:59:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 19:59:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 19:59:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001504000001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:59:09] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-27 19:59:09] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-27 19:59:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359345147558756352,"km_value":359345147558756.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:59:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6507560698490648576,"description":"Unknown IO ID 45"} 
[2026-07-27 19:59:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001504000001,"power":25495,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6507560698490648576}} 
[2026-07-27 19:59:09] local.INFO: DEBUG: GPS processor result {"connection_id":143123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:59:09] local.INFO: GPS data processed {"connection_id":143123,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:59:09] local.INFO: Acknowledgment sent {"connection_id":143123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:59:10] local.INFO: TCP Data received {"connection_id":145537,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3f7fc30012d196580071ff150003a014b28..."} 
[2026-07-27 19:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3f7fc30012d196580071ff150003a014b28..."} 
[2026-07-27 19:59:10] local.INFO: Processing buffer {"connection_id":145537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3f7fc30012d196580071ff150003a014b28..."} 
[2026-07-27 19:59:10] local.INFO: Packet analysis {"connection_id":145537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3f7"} 
[2026-07-27 19:59:10] local.INFO: Extracted packet for processing {"connection_id":145537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3f7"} 
[2026-07-27 19:59:10] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533904,"longitude_deg":75.6639104,"latitude_deg":11.9533904,"altitude":58,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff150","is_valid_coordinates":true} 
[2026-07-27 19:59:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:59:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001560320001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:59:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971671285268480,"note":"Value kept but may cause issues"} 
[2026-07-27 19:59:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685009408,"note":"Value kept but may cause issues"} 
[2026-07-27 19:59:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:59:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785162366000,"timestamp_ms":1785162366000,"timestamp_seconds":1785162366,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3f7fc30"} 
[2026-07-27 19:59:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:59:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-27 19:59:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:59:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:59:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:59:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:59:10] local.INFO: Teltonika packet parsed successfully {"connection_id":145537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:59:10] local.INFO: Passing IMEI to GPS processor {"connection_id":145537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:59:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":145537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:59:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:59:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 19:59:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 19:59:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001560320001,"66":12232,"121":206,"28":31744,"24":0,"16":8971671285268480,"45":1830009591685009408},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 19:59:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 19:59:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 19:59:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001560320001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:59:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 19:59:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 19:59:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971671285268480,"km_value":8971671285268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:59:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685009408,"description":"Unknown IO ID 45"} 
[2026-07-27 19:59:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001560320001,"power":12232,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591685009408}} 
[2026-07-27 19:59:10] local.INFO: DEBUG: GPS processor result {"connection_id":145537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555163,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:59:10] local.INFO: GPS data processed {"connection_id":145537,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:59:10] local.INFO: Acknowledgment sent {"connection_id":145537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:59:31] local.INFO: TCP Data received {"connection_id":145538,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:59:31] local.INFO: Processing buffer {"connection_id":145538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:59:31] local.INFO: IMEI packet received {"connection_id":145538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 19:59:31] local.INFO: IMEI acknowledgment sent {"connection_id":145538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 19:59:36] local.INFO: TCP Data received {"connection_id":145538,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:59:36] local.INFO: Processing buffer {"connection_id":145538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 19:59:36] local.INFO: IMEI packet received {"connection_id":145538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 19:59:36] local.INFO: IMEI acknowledgment sent {"connection_id":145538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 19:59:37] local.INFO: TCP Data received {"connection_id":145538,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3f8f248012da5ae4005f42d90000c01232b..."} 
[2026-07-27 19:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3f8f248012da5ae4005f42d90000c01232b..."} 
[2026-07-27 19:59:37] local.INFO: Processing buffer {"connection_id":145538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3f8f248012da5ae4005f42d90000c01232b..."} 
[2026-07-27 19:59:37] local.INFO: Packet analysis {"connection_id":145538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3f8"} 
[2026-07-27 19:59:37] local.INFO: Extracted packet for processing {"connection_id":145538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3f8"} 
[2026-07-27 19:59:37] local.INFO: GPS Element Parsed {"raw_longitude":765832768,"raw_latitude":99888528,"longitude_deg":76.5832768,"latitude_deg":9.9888528,"altitude":12,"angle":291,"satellites":43,"speed":0,"hex_longitude":"2da5ae40","hex_latitude":"05f42d90","is_valid_coordinates":true} 
[2026-07-27 19:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 19:59:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001504000001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:59:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359345147558756352,"note":"Value kept but may cause issues"} 
[2026-07-27 19:59:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6507560698490648576,"note":"Value kept but may cause issues"} 
[2026-07-27 19:59:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:59:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785162429000,"timestamp_ms":1785162429000,"timestamp_seconds":1785162429,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3f8f248"} 
[2026-07-27 19:59:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:59:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 19:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-27 19:59:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19:59:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 19:59:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:59:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:59:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:59:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:59:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 19:59:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:59:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 19:59:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 19:59:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001504000001,"66":25495,"10":206,"88":19456,"24":0,"16":359345147558756352,"45":-6507560698490648576},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-07-27 19:59:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 19:59:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 19:59:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001504000001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:59:37] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-27 19:59:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-27 19:59:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359345147558756352,"km_value":359345147558756.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:59:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6507560698490648576,"description":"Unknown IO ID 45"} 
[2026-07-27 19:59:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001504000001,"power":25495,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6507560698490648576}} 
[2026-07-27 19:59:37] local.INFO: DEBUG: GPS processor result {"connection_id":145538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:59:37] local.INFO: GPS data processed {"connection_id":145538,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:59:37] local.INFO: Acknowledgment sent {"connection_id":145538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:59:41] local.INFO: TCP Data received {"connection_id":145537,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3f84e38012d196580071ff150003a014b27..."} 
[2026-07-27 19:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3f84e38012d196580071ff150003a014b27..."} 
[2026-07-27 19:59:41] local.INFO: Processing buffer {"connection_id":145537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3f84e38012d196580071ff150003a014b27..."} 
[2026-07-27 19:59:41] local.INFO: Packet analysis {"connection_id":145537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3f8"} 
[2026-07-27 19:59:41] local.INFO: Extracted packet for processing {"connection_id":145537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3f8"} 
[2026-07-27 19:59:41] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533904,"longitude_deg":75.6639104,"latitude_deg":11.9533904,"altitude":58,"angle":331,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff150","is_valid_coordinates":true} 
[2026-07-27 19: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-07-27 19:59:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001565696001,"note":"Value kept but may cause issues"} 
[2026-07-27 19:59:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971671285268480,"note":"Value kept but may cause issues"} 
[2026-07-27 19:59:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685009408,"note":"Value kept but may cause issues"} 
[2026-07-27 19:59:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 19:59:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785162387000,"timestamp_ms":1785162387000,"timestamp_seconds":1785162387,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3f84e38"} 
[2026-07-27 19:59:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 19:59:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 19: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-27 19:59:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 19: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-07-27 19:59:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 19:59:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 19:59:41] local.INFO: Teltonika packet parsed successfully {"connection_id":145537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 19:59:41] local.INFO: Passing IMEI to GPS processor {"connection_id":145537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:59:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":145537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 19:59:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 19:59:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 19:59:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 19:59:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001565696001,"66":12232,"121":206,"28":31744,"24":0,"16":8971671285268480,"45":1830009591685009408},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 19:59:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 19:59:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 19:59:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001565696001,"description":"Unknown IO ID 0"} 
[2026-07-27 19:59:41] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 19:59:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 19:59:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971671285268480,"km_value":8971671285268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 19:59:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685009408,"description":"Unknown IO ID 45"} 
[2026-07-27 19:59:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001565696001,"power":12232,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591685009408}} 
[2026-07-27 19:59:41] local.INFO: DEBUG: GPS processor result {"connection_id":145537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555165,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 19:59:41] local.INFO: GPS data processed {"connection_id":145537,"processed":1,"errors":0,"total":1} 
[2026-07-27 19:59:41] local.INFO: Acknowledgment sent {"connection_id":145537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 19:59:59] local.INFO: TCP Data received {"connection_id":143268,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143268,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:59:59] local.INFO: Processing buffer {"connection_id":143268,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 19:59:59] local.INFO: IMEI packet received {"connection_id":143268,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 19:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":143268,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:00:04] local.INFO: TCP Data received {"connection_id":143268,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143268,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:00:04] local.INFO: Processing buffer {"connection_id":143268,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:00:04] local.INFO: IMEI packet received {"connection_id":143268,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 20:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":143268,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:00:06] local.INFO: TCP Data received {"connection_id":143268,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3f8a040012d196580071ff150003a014b25..."} 
[2026-07-27 20:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3f8a040012d196580071ff150003a014b25..."} 
[2026-07-27 20:00:06] local.INFO: Processing buffer {"connection_id":143268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3f8a040012d196580071ff150003a014b25..."} 
[2026-07-27 20:00:06] local.INFO: Packet analysis {"connection_id":143268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3f8"} 
[2026-07-27 20:00:06] local.INFO: Extracted packet for processing {"connection_id":143268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3f8"} 
[2026-07-27 20:00:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533904,"longitude_deg":75.6639104,"latitude_deg":11.9533904,"altitude":58,"angle":331,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff150","is_valid_coordinates":true} 
[2026-07-27 20: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-07-27 20:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001571072001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971671285268480,"note":"Value kept but may cause issues"} 
[2026-07-27 20:00:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685009408,"note":"Value kept but may cause issues"} 
[2026-07-27 20:00:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785162408000,"timestamp_ms":1785162408000,"timestamp_seconds":1785162408,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3f8a040"} 
[2026-07-27 20:00:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:00:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-27 20:00:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20: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-07-27 20:00:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:00:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001571072001,"66":12232,"121":206,"28":31744,"24":0,"16":8971671285268480,"45":1830009591685009408},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001571072001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:00:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:00:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971671285268480,"km_value":8971671285268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:00:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685009408,"description":"Unknown IO ID 45"} 
[2026-07-27 20:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001571072001,"power":12232,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591685009408}} 
[2026-07-27 20:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":143268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555166,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:00:06] local.INFO: GPS data processed {"connection_id":143268,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:00:06] local.INFO: Acknowledgment sent {"connection_id":143268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:00:08] local.INFO: TCP Data received {"connection_id":145538,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3f8f248012da5ae4005f42d90000c01232b..."} 
[2026-07-27 20:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3f8f248012da5ae4005f42d90000c01232b..."} 
[2026-07-27 20:00:08] local.INFO: Processing buffer {"connection_id":145538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3f8f248012da5ae4005f42d90000c01232b..."} 
[2026-07-27 20:00:08] local.INFO: Packet analysis {"connection_id":145538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3f8"} 
[2026-07-27 20:00:08] local.INFO: Extracted packet for processing {"connection_id":145538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3f8"} 
[2026-07-27 20:00:08] local.INFO: GPS Element Parsed {"raw_longitude":765832768,"raw_latitude":99888528,"longitude_deg":76.5832768,"latitude_deg":9.9888528,"altitude":12,"angle":291,"satellites":43,"speed":0,"hex_longitude":"2da5ae40","hex_latitude":"05f42d90","is_valid_coordinates":true} 
[2026-07-27 20:00:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:00:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001504000001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:00:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359345147558756352,"note":"Value kept but may cause issues"} 
[2026-07-27 20:00:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6507560698490648576,"note":"Value kept but may cause issues"} 
[2026-07-27 20:00:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:00:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785162429000,"timestamp_ms":1785162429000,"timestamp_seconds":1785162429,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3f8f248"} 
[2026-07-27 20:00:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:00:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 20:00:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-27 20:00:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:00:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:00:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:00:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:00:08] local.INFO: Teltonika packet parsed successfully {"connection_id":145538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:00:08] local.INFO: Passing IMEI to GPS processor {"connection_id":145538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:00:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":145538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:00:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:00:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 20:00:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 20:00:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001504000001,"66":25495,"10":206,"88":19456,"24":0,"16":359345147558756352,"45":-6507560698490648576},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-07-27 20:00:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 20:00:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 20:00:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001504000001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:00:08] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-27 20:00:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-27 20:00:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359345147558756352,"km_value":359345147558756.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:00:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6507560698490648576,"description":"Unknown IO ID 45"} 
[2026-07-27 20:00:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001504000001,"power":25495,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6507560698490648576}} 
[2026-07-27 20:00:08] local.INFO: DEBUG: GPS processor result {"connection_id":145538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:00:08] local.INFO: GPS data processed {"connection_id":145538,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:00:08] local.INFO: Acknowledgment sent {"connection_id":145538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:00:31] local.INFO: TCP Data received {"connection_id":145539,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:00:31] local.INFO: Processing buffer {"connection_id":145539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:00:31] local.INFO: IMEI packet received {"connection_id":145539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 20:00:31] local.INFO: IMEI acknowledgment sent {"connection_id":145539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:00:36] local.INFO: TCP Data received {"connection_id":145539,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:00:36] local.INFO: Processing buffer {"connection_id":145539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:00:36] local.INFO: IMEI packet received {"connection_id":145539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 20:00:36] local.INFO: IMEI acknowledgment sent {"connection_id":145539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:00:37] local.INFO: TCP Data received {"connection_id":145539,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3f8f248012da5ae4005f42d90000c01232b..."} 
[2026-07-27 20:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145539,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3f8f248012da5ae4005f42d90000c01232b..."} 
[2026-07-27 20:00:37] local.INFO: Processing buffer {"connection_id":145539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3f8f248012da5ae4005f42d90000c01232b..."} 
[2026-07-27 20:00:37] local.INFO: Packet analysis {"connection_id":145539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3f8"} 
[2026-07-27 20:00:37] local.INFO: Extracted packet for processing {"connection_id":145539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3f8"} 
[2026-07-27 20:00:37] local.INFO: GPS Element Parsed {"raw_longitude":765832768,"raw_latitude":99888528,"longitude_deg":76.5832768,"latitude_deg":9.9888528,"altitude":12,"angle":291,"satellites":43,"speed":0,"hex_longitude":"2da5ae40","hex_latitude":"05f42d90","is_valid_coordinates":true} 
[2026-07-27 20:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001504000001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359345147558756352,"note":"Value kept but may cause issues"} 
[2026-07-27 20:00:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6507560698490648576,"note":"Value kept but may cause issues"} 
[2026-07-27 20:00:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785162429000,"timestamp_ms":1785162429000,"timestamp_seconds":1785162429,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3f8f248"} 
[2026-07-27 20:00:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:00:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 20: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-27 20:00:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:00:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:00:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:00:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 20:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 20:00:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001504000001,"66":25495,"10":206,"88":19456,"24":0,"16":359345147558756352,"45":-6507560698490648576},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-07-27 20:00:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 20:00:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 20:00:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001504000001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:00:37] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-27 20:00:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-27 20:00:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359345147558756352,"km_value":359345147558756.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:00:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6507560698490648576,"description":"Unknown IO ID 45"} 
[2026-07-27 20:00:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001504000001,"power":25495,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6507560698490648576}} 
[2026-07-27 20:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":145539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:00:37] local.INFO: GPS data processed {"connection_id":145539,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:00:37] local.INFO: Acknowledgment sent {"connection_id":145539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:00:54] local.INFO: TCP Data received {"connection_id":143268,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3f8f248012d196580071ff150003a014b26..."} 
[2026-07-27 20:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3f8f248012d196580071ff150003a014b26..."} 
[2026-07-27 20:00:54] local.INFO: Processing buffer {"connection_id":143268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3f8f248012d196580071ff150003a014b26..."} 
[2026-07-27 20:00:54] local.INFO: Packet analysis {"connection_id":143268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3f8"} 
[2026-07-27 20:00:54] local.INFO: Extracted packet for processing {"connection_id":143268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3f8"} 
[2026-07-27 20:00:54] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533904,"longitude_deg":75.6639104,"latitude_deg":11.9533904,"altitude":58,"angle":331,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff150","is_valid_coordinates":true} 
[2026-07-27 20:00:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:00:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001576448001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:00:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971671285268480,"note":"Value kept but may cause issues"} 
[2026-07-27 20:00:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685009408,"note":"Value kept but may cause issues"} 
[2026-07-27 20:00: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-07-27 20:00:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785162429000,"timestamp_ms":1785162429000,"timestamp_seconds":1785162429,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3f8f248"} 
[2026-07-27 20:00:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:00:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20:00:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-27 20:00:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:00:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:00:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:00:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:00:54] local.INFO: Teltonika packet parsed successfully {"connection_id":143268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:00:54] local.INFO: Passing IMEI to GPS processor {"connection_id":143268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:00:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":143268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:00:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:00:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:00:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:00:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001576448001,"66":12037,"121":206,"28":31744,"24":0,"16":8971671285268480,"45":1830009591685009408},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:00:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:00:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:00:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001576448001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:00:54] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:00:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:00:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971671285268480,"km_value":8971671285268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:00:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685009408,"description":"Unknown IO ID 45"} 
[2026-07-27 20:00:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001576448001,"power":12037,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591685009408}} 
[2026-07-27 20:00:54] local.INFO: DEBUG: GPS processor result {"connection_id":143268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555169,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:00:54] local.INFO: GPS data processed {"connection_id":143268,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:00:54] local.INFO: Acknowledgment sent {"connection_id":143268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:00:59] local.INFO: TCP Data received {"connection_id":144253,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144253,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:00:59] local.INFO: Processing buffer {"connection_id":144253,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:00:59] local.INFO: IMEI packet received {"connection_id":144253,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 20:00:59] local.INFO: IMEI acknowledgment sent {"connection_id":144253,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:01:04] local.INFO: TCP Data received {"connection_id":144253,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144253,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:01:04] local.INFO: Processing buffer {"connection_id":144253,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:01:04] local.INFO: IMEI packet received {"connection_id":144253,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 20:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":144253,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:01:06] local.INFO: TCP Data received {"connection_id":144253,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3f94450012d196580071ff150003a014b29..."} 
[2026-07-27 20:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3f94450012d196580071ff150003a014b29..."} 
[2026-07-27 20:01:06] local.INFO: Processing buffer {"connection_id":144253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3f94450012d196580071ff150003a014b29..."} 
[2026-07-27 20:01:06] local.INFO: Packet analysis {"connection_id":144253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3f9"} 
[2026-07-27 20:01:06] local.INFO: Extracted packet for processing {"connection_id":144253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3f9"} 
[2026-07-27 20:01:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533904,"longitude_deg":75.6639104,"latitude_deg":11.9533904,"altitude":58,"angle":331,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff150","is_valid_coordinates":true} 
[2026-07-27 20:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:01:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001581824001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:01:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971671285268480,"note":"Value kept but may cause issues"} 
[2026-07-27 20:01:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685009408,"note":"Value kept but may cause issues"} 
[2026-07-27 20:01:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:01:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785162450000,"timestamp_ms":1785162450000,"timestamp_seconds":1785162450,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3f94450"} 
[2026-07-27 20:01:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:01:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-27 20:01:06] local.WARNING: Large IO value detected {"io_id":223,"raw_value":2952790016,"note":"Value kept but may cause issues"} 
[2026-07-27 20:01:06] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2750875160,"note":"Value kept but may cause issues"} 
[2026-07-27 20:01:06] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":13494137,"corrected_to":0} 
[2026-07-27 20:01:06] local.WARNING: Large IO value detected {"io_id":163,"raw_value":4155123713,"note":"Value kept but may cause issues"} 
[2026-07-27 20:01:06] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3752853504,"note":"Value kept but may cause issues"} 
[2026-07-27 20:01:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-1767380493525057512,"corrected_to":0} 
[2026-07-27 20:01:06] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950577,"note":"Value kept but may cause issues"} 
[2026-07-27 20:01:06] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182238299554048,"note":"Value kept but may cause issues"} 
[2026-07-27 20:01:06] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2301708846466419493,"note":"Value kept but may cause issues"} 
[2026-07-27 20:01:06] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194852864,"note":"Value kept but may cause issues"} 
[2026-07-27 20:01:06] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,121,28,24,241,158,16,223,159,160,45,128,58,37,10,66,78,39,252,1,240,200,163,31,4,113,205,88,101,80,38,239,47,2,7,69],"length":484,"final_offset":614,"validated_count":36,"validation_warnings":[{"io_id":200,"original":13494137,"validated":0},{"io_id":205,"original":-1767380493525057512,"validated":0}]} 
[2026-07-27 20:01:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4179704555757371392,"timestamp_seconds":4179704555757371.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 20:01:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:01:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:01:06] local.INFO: Teltonika packet parsed successfully {"connection_id":144253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:01:06] local.INFO: Passing IMEI to GPS processor {"connection_id":144253,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:01:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":144253,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:01:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:01:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:01:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:01:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001581824001,"66":12232,"121":206,"28":31744,"24":0,"16":8971671285268480,"45":1830009591685009408},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:01:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:01:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:01:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001581824001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:01:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:01:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:01:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971671285268480,"km_value":8971671285268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:01:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685009408,"description":"Unknown IO ID 45"} 
[2026-07-27 20:01:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001581824001,"power":12232,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591685009408}} 
[2026-07-27 20:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":144253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555170,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:01:06] local.INFO: GPS data processed {"connection_id":144253,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:01:06] local.INFO: Acknowledgment sent {"connection_id":144253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:01:09] local.INFO: TCP Data received {"connection_id":145539,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3f8f248012da5ae4005f42d90000c01232b..."} 
[2026-07-27 20:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145539,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3f8f248012da5ae4005f42d90000c01232b..."} 
[2026-07-27 20:01:09] local.INFO: Processing buffer {"connection_id":145539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3f8f248012da5ae4005f42d90000c01232b..."} 
[2026-07-27 20:01:09] local.INFO: Packet analysis {"connection_id":145539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3f8"} 
[2026-07-27 20:01:09] local.INFO: Extracted packet for processing {"connection_id":145539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3f8"} 
[2026-07-27 20:01:09] local.INFO: GPS Element Parsed {"raw_longitude":765832768,"raw_latitude":99888528,"longitude_deg":76.5832768,"latitude_deg":9.9888528,"altitude":12,"angle":291,"satellites":43,"speed":0,"hex_longitude":"2da5ae40","hex_latitude":"05f42d90","is_valid_coordinates":true} 
[2026-07-27 20:01:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:01:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001504000001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:01:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359345147558756352,"note":"Value kept but may cause issues"} 
[2026-07-27 20:01:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6507560698490648576,"note":"Value kept but may cause issues"} 
[2026-07-27 20:01:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:01:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785162429000,"timestamp_ms":1785162429000,"timestamp_seconds":1785162429,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3f8f248"} 
[2026-07-27 20:01:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:01:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 20:01:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-27 20:01:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:01:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:01:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:01:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:01:09] local.INFO: Teltonika packet parsed successfully {"connection_id":145539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:01:09] local.INFO: Passing IMEI to GPS processor {"connection_id":145539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:01:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":145539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:01:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:01:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 20:01:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 20:01:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001504000001,"66":25495,"10":206,"88":19456,"24":0,"16":359345147558756352,"45":-6507560698490648576},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-07-27 20:01:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 20:01:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 20:01:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001504000001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:01:09] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-27 20:01:09] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-27 20:01:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359345147558756352,"km_value":359345147558756.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:01:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6507560698490648576,"description":"Unknown IO ID 45"} 
[2026-07-27 20:01:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001504000001,"power":25495,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6507560698490648576}} 
[2026-07-27 20:01:09] local.INFO: DEBUG: GPS processor result {"connection_id":145539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:01:09] local.INFO: GPS data processed {"connection_id":145539,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:01:09] local.INFO: Acknowledgment sent {"connection_id":145539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:01:31] local.INFO: TCP Data received {"connection_id":143269,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:01:31] local.INFO: Processing buffer {"connection_id":143269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:01:31] local.INFO: IMEI packet received {"connection_id":143269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 20:01:31] local.INFO: IMEI acknowledgment sent {"connection_id":143269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:01:36] local.INFO: TCP Data received {"connection_id":143269,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:01:36] local.INFO: Processing buffer {"connection_id":143269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:01:36] local.INFO: IMEI packet received {"connection_id":143269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 20:01:36] local.INFO: IMEI acknowledgment sent {"connection_id":143269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:01:37] local.INFO: TCP Data received {"connection_id":143269,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3f8f248012da5ae4005f42d90000c01232b..."} 
[2026-07-27 20:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143269,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3f8f248012da5ae4005f42d90000c01232b..."} 
[2026-07-27 20:01:37] local.INFO: Processing buffer {"connection_id":143269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3f8f248012da5ae4005f42d90000c01232b..."} 
[2026-07-27 20:01:37] local.INFO: Packet analysis {"connection_id":143269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3f8"} 
[2026-07-27 20:01:37] local.INFO: Extracted packet for processing {"connection_id":143269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3f8"} 
[2026-07-27 20:01:37] local.INFO: GPS Element Parsed {"raw_longitude":765832768,"raw_latitude":99888528,"longitude_deg":76.5832768,"latitude_deg":9.9888528,"altitude":12,"angle":291,"satellites":43,"speed":0,"hex_longitude":"2da5ae40","hex_latitude":"05f42d90","is_valid_coordinates":true} 
[2026-07-27 20:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001504000001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359345147558756352,"note":"Value kept but may cause issues"} 
[2026-07-27 20:01:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6507560698490648576,"note":"Value kept but may cause issues"} 
[2026-07-27 20:01:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785162429000,"timestamp_ms":1785162429000,"timestamp_seconds":1785162429,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3f8f248"} 
[2026-07-27 20:01:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:01:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 20:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-27 20:01:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:01:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:01:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:01:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 20:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 20:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001504000001,"66":25495,"10":206,"88":19456,"24":0,"16":359345147558756352,"45":-6507560698490648576},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-07-27 20:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 20:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 20:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001504000001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:01:37] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-27 20:01:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-27 20:01:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359345147558756352,"km_value":359345147558756.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:01:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6507560698490648576,"description":"Unknown IO ID 45"} 
[2026-07-27 20:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001504000001,"power":25495,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6507560698490648576}} 
[2026-07-27 20:01:37] local.INFO: DEBUG: GPS processor result {"connection_id":143269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:01:37] local.INFO: GPS data processed {"connection_id":143269,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:01:37] local.INFO: Acknowledgment sent {"connection_id":143269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:01:38] local.INFO: TCP Data received {"connection_id":144253,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3f99658012d196580071ff150003a014b24..."} 
[2026-07-27 20:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3f99658012d196580071ff150003a014b24..."} 
[2026-07-27 20:01:38] local.INFO: Processing buffer {"connection_id":144253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3f99658012d196580071ff150003a014b24..."} 
[2026-07-27 20:01:38] local.INFO: Packet analysis {"connection_id":144253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3f9"} 
[2026-07-27 20:01:38] local.INFO: Extracted packet for processing {"connection_id":144253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3f9"} 
[2026-07-27 20:01:38] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533904,"longitude_deg":75.6639104,"latitude_deg":11.9533904,"altitude":58,"angle":331,"satellites":36,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff150","is_valid_coordinates":true} 
[2026-07-27 20:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:01:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001587200001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:01:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971671285268480,"note":"Value kept but may cause issues"} 
[2026-07-27 20:01:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685009408,"note":"Value kept but may cause issues"} 
[2026-07-27 20:01:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:01:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785162471000,"timestamp_ms":1785162471000,"timestamp_seconds":1785162471,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3f99658"} 
[2026-07-27 20:01:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:01:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-27 20:01:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:01:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:01:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:01:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:01:38] local.INFO: Teltonika packet parsed successfully {"connection_id":144253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:01:38] local.INFO: Passing IMEI to GPS processor {"connection_id":144253,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:01:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":144253,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:01:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:01:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:01:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:01:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001587200001,"66":12232,"121":206,"28":31744,"24":0,"16":8971671285268480,"45":1830009591685009408},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:01:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:01:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:01:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001587200001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:01:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:01:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:01:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971671285268480,"km_value":8971671285268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:01:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685009408,"description":"Unknown IO ID 45"} 
[2026-07-27 20:01:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001587200001,"power":12232,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591685009408}} 
[2026-07-27 20:01:38] local.INFO: DEBUG: GPS processor result {"connection_id":144253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555173,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:01:38] local.INFO: GPS data processed {"connection_id":144253,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:01:38] local.INFO: Acknowledgment sent {"connection_id":144253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:02:00] local.INFO: TCP Data received {"connection_id":143124,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143124,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:02:00] local.INFO: Processing buffer {"connection_id":143124,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:02:00] local.INFO: IMEI packet received {"connection_id":143124,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 20:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":143124,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:02:00] local.INFO: TCP Data received {"connection_id":143124,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143124,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:02:00] local.INFO: Processing buffer {"connection_id":143124,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:02:00] local.INFO: IMEI packet received {"connection_id":143124,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 20:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":143124,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:02:04] local.INFO: TCP Data received {"connection_id":143124,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143124,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:02:04] local.INFO: Processing buffer {"connection_id":143124,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:02:04] local.INFO: IMEI packet received {"connection_id":143124,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 20:02:04] local.INFO: IMEI acknowledgment sent {"connection_id":143124,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:02:05] local.INFO: TCP Data received {"connection_id":143124,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3f9e860012d196580071ff150003a014b24..."} 
[2026-07-27 20:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143124,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3f9e860012d196580071ff150003a014b24..."} 
[2026-07-27 20:02:05] local.INFO: Processing buffer {"connection_id":143124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3f9e860012d196580071ff150003a014b24..."} 
[2026-07-27 20:02:05] local.INFO: Packet analysis {"connection_id":143124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3f9"} 
[2026-07-27 20:02:05] local.INFO: Extracted packet for processing {"connection_id":143124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3f9"} 
[2026-07-27 20:02:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533904,"longitude_deg":75.6639104,"latitude_deg":11.9533904,"altitude":58,"angle":331,"satellites":36,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff150","is_valid_coordinates":true} 
[2026-07-27 20:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:02:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001592576001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:02:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971671285268480,"note":"Value kept but may cause issues"} 
[2026-07-27 20:02:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685009408,"note":"Value kept but may cause issues"} 
[2026-07-27 20:02:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:02:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785162492000,"timestamp_ms":1785162492000,"timestamp_seconds":1785162492,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3f9e860"} 
[2026-07-27 20:02:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:02:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-27 20:02:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:02:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:02:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:02:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:02:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:02:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:02:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:02:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:02:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:02:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:02:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001592576001,"66":12232,"121":206,"28":31744,"24":0,"16":8971671285268480,"45":1830009591685009408},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:02:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:02:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:02:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001592576001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:02:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:02:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:02:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971671285268480,"km_value":8971671285268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:02:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685009408,"description":"Unknown IO ID 45"} 
[2026-07-27 20:02:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001592576001,"power":12232,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591685009408}} 
[2026-07-27 20:02:06] local.INFO: DEBUG: GPS processor result {"connection_id":143124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555174,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:02:06] local.INFO: GPS data processed {"connection_id":143124,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:02:06] local.INFO: Acknowledgment sent {"connection_id":143124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:02:08] local.INFO: TCP Data received {"connection_id":143269,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3f8f248012da5ae4005f42d90000c01232b..."} 
[2026-07-27 20:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143269,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3f8f248012da5ae4005f42d90000c01232b..."} 
[2026-07-27 20:02:08] local.INFO: Processing buffer {"connection_id":143269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3f8f248012da5ae4005f42d90000c01232b..."} 
[2026-07-27 20:02:08] local.INFO: Packet analysis {"connection_id":143269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3f8"} 
[2026-07-27 20:02:08] local.INFO: Extracted packet for processing {"connection_id":143269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3f8"} 
[2026-07-27 20:02:08] local.INFO: GPS Element Parsed {"raw_longitude":765832768,"raw_latitude":99888528,"longitude_deg":76.5832768,"latitude_deg":9.9888528,"altitude":12,"angle":291,"satellites":43,"speed":0,"hex_longitude":"2da5ae40","hex_latitude":"05f42d90","is_valid_coordinates":true} 
[2026-07-27 20:02:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:02:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001504000001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:02:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359345147558756352,"note":"Value kept but may cause issues"} 
[2026-07-27 20:02:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6507560698490648576,"note":"Value kept but may cause issues"} 
[2026-07-27 20:02:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:02:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785162429000,"timestamp_ms":1785162429000,"timestamp_seconds":1785162429,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3f8f248"} 
[2026-07-27 20:02:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:02:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-27 20:02:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:02:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:02:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:02:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:02:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:02:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:02:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:02:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:02:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 20:02:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 20:02:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001504000001,"66":25495,"10":206,"88":19456,"24":0,"16":359345147558756352,"45":-6507560698490648576},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-07-27 20:02:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 20:02:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 20:02:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001504000001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:02:08] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-27 20:02:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-27 20:02:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359345147558756352,"km_value":359345147558756.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:02:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6507560698490648576,"description":"Unknown IO ID 45"} 
[2026-07-27 20:02:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001504000001,"power":25495,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6507560698490648576}} 
[2026-07-27 20:02:08] local.INFO: DEBUG: GPS processor result {"connection_id":143269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:02:08] local.INFO: GPS data processed {"connection_id":143269,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:02:08] local.INFO: Acknowledgment sent {"connection_id":143269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:02:31] local.INFO: TCP Data received {"connection_id":145541,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:02:31] local.INFO: Processing buffer {"connection_id":145541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:02:31] local.INFO: IMEI packet received {"connection_id":145541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 20:02:31] local.INFO: IMEI acknowledgment sent {"connection_id":145541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:02:36] local.INFO: TCP Data received {"connection_id":145541,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:02:36] local.INFO: Processing buffer {"connection_id":145541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:02:36] local.INFO: IMEI packet received {"connection_id":145541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 20:02:36] local.INFO: IMEI acknowledgment sent {"connection_id":145541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:02:37] local.INFO: TCP Data received {"connection_id":143124,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3fa3a68012d196580071ff150003a014b28..."} 
[2026-07-27 20:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143124,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3fa3a68012d196580071ff150003a014b28..."} 
[2026-07-27 20:02:37] local.INFO: Processing buffer {"connection_id":143124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3fa3a68012d196580071ff150003a014b28..."} 
[2026-07-27 20:02:37] local.INFO: Packet analysis {"connection_id":143124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3fa"} 
[2026-07-27 20:02:37] local.INFO: Extracted packet for processing {"connection_id":143124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3fa"} 
[2026-07-27 20:02:37] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533904,"longitude_deg":75.6639104,"latitude_deg":11.9533904,"altitude":58,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff150","is_valid_coordinates":true} 
[2026-07-27 20:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001597952001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971671285268480,"note":"Value kept but may cause issues"} 
[2026-07-27 20:02:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685009408,"note":"Value kept but may cause issues"} 
[2026-07-27 20:02:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785162513000,"timestamp_ms":1785162513000,"timestamp_seconds":1785162513,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3fa3a68"} 
[2026-07-27 20:02:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:02:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-27 20:02:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:02:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:02:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:02:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001597952001,"66":12211,"121":206,"28":31744,"24":0,"16":8971671285268480,"45":1830009591685009408},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001597952001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:02:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:02:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:02:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971671285268480,"km_value":8971671285268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:02:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685009408,"description":"Unknown IO ID 45"} 
[2026-07-27 20:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001597952001,"power":12211,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591685009408}} 
[2026-07-27 20:02:37] local.INFO: DEBUG: GPS processor result {"connection_id":143124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555176,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:02:37] local.INFO: GPS data processed {"connection_id":143124,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:02:37] local.INFO: Acknowledgment sent {"connection_id":143124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:02:37] local.INFO: TCP Data received {"connection_id":145541,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3f8f248012da5ae4005f42d90000c01232b..."} 
[2026-07-27 20:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3f8f248012da5ae4005f42d90000c01232b..."} 
[2026-07-27 20:02:37] local.INFO: Processing buffer {"connection_id":145541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3f8f248012da5ae4005f42d90000c01232b..."} 
[2026-07-27 20:02:37] local.INFO: Packet analysis {"connection_id":145541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3f8"} 
[2026-07-27 20:02:37] local.INFO: Extracted packet for processing {"connection_id":145541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3f8"} 
[2026-07-27 20:02:37] local.INFO: GPS Element Parsed {"raw_longitude":765832768,"raw_latitude":99888528,"longitude_deg":76.5832768,"latitude_deg":9.9888528,"altitude":12,"angle":291,"satellites":43,"speed":0,"hex_longitude":"2da5ae40","hex_latitude":"05f42d90","is_valid_coordinates":true} 
[2026-07-27 20:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001504000001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359345147558756352,"note":"Value kept but may cause issues"} 
[2026-07-27 20:02:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6507560698490648576,"note":"Value kept but may cause issues"} 
[2026-07-27 20:02:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785162429000,"timestamp_ms":1785162429000,"timestamp_seconds":1785162429,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3f8f248"} 
[2026-07-27 20:02:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:02:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 20:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-27 20:02:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:02:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:02:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:02:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 20:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 20:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001504000001,"66":25495,"10":206,"88":19456,"24":0,"16":359345147558756352,"45":-6507560698490648576},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-07-27 20:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 20:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 20:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001504000001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:02:37] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-27 20:02:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-27 20:02:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359345147558756352,"km_value":359345147558756.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:02:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6507560698490648576,"description":"Unknown IO ID 45"} 
[2026-07-27 20:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001504000001,"power":25495,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6507560698490648576}} 
[2026-07-27 20:02:37] local.INFO: DEBUG: GPS processor result {"connection_id":145541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:02:37] local.INFO: GPS data processed {"connection_id":145541,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:02:37] local.INFO: Acknowledgment sent {"connection_id":145541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:02:59] local.INFO: TCP Data received {"connection_id":144254,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144254,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:02:59] local.INFO: Processing buffer {"connection_id":144254,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:02:59] local.INFO: IMEI packet received {"connection_id":144254,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 20:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":144254,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:03:02] local.INFO: TCP Data received {"connection_id":144254,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144254,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:03:02] local.INFO: Processing buffer {"connection_id":144254,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:03:02] local.INFO: IMEI packet received {"connection_id":144254,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 20:03:02] local.INFO: IMEI acknowledgment sent {"connection_id":144254,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:03:04] local.INFO: TCP Data received {"connection_id":144254,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144254,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:03:04] local.INFO: Processing buffer {"connection_id":144254,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:03:04] local.INFO: IMEI packet received {"connection_id":144254,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 20:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":144254,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:03:04] local.INFO: TCP Data received {"connection_id":144254,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3fa8c70012d196580071ff150003a014b29..."} 
[2026-07-27 20:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144254,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3fa8c70012d196580071ff150003a014b29..."} 
[2026-07-27 20:03:04] local.INFO: Processing buffer {"connection_id":144254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3fa8c70012d196580071ff150003a014b29..."} 
[2026-07-27 20:03:04] local.INFO: Packet analysis {"connection_id":144254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3fa"} 
[2026-07-27 20:03:04] local.INFO: Extracted packet for processing {"connection_id":144254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3fa"} 
[2026-07-27 20:03:04] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533904,"longitude_deg":75.6639104,"latitude_deg":11.9533904,"altitude":58,"angle":331,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff150","is_valid_coordinates":true} 
[2026-07-27 20:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:03:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001603328001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:03:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971671285268480,"note":"Value kept but may cause issues"} 
[2026-07-27 20:03:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685009408,"note":"Value kept but may cause issues"} 
[2026-07-27 20:03:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:03:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785162534000,"timestamp_ms":1785162534000,"timestamp_seconds":1785162534,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3fa8c70"} 
[2026-07-27 20:03:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:03:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-27 20:03:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:03:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:03:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:03:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:03:04] local.INFO: Teltonika packet parsed successfully {"connection_id":144254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:03:04] local.INFO: Passing IMEI to GPS processor {"connection_id":144254,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:03:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":144254,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:03:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:03:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:03:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:03:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001603328001,"66":12232,"121":206,"28":31744,"24":0,"16":8971671285268480,"45":1830009591685009408},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:03:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:03:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:03:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001603328001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:03:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:03:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:03:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971671285268480,"km_value":8971671285268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:03:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685009408,"description":"Unknown IO ID 45"} 
[2026-07-27 20:03:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001603328001,"power":12232,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591685009408}} 
[2026-07-27 20:03:05] local.INFO: DEBUG: GPS processor result {"connection_id":144254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555178,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:03:05] local.INFO: GPS data processed {"connection_id":144254,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:03:05] local.INFO: Acknowledgment sent {"connection_id":144254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:03:08] local.INFO: TCP Data received {"connection_id":145541,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3fd8a10012da5ae4005f42d90000c01232a..."} 
[2026-07-27 20:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3fd8a10012da5ae4005f42d90000c01232a..."} 
[2026-07-27 20:03:08] local.INFO: Processing buffer {"connection_id":145541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3fd8a10012da5ae4005f42d90000c01232a..."} 
[2026-07-27 20:03:08] local.INFO: Packet analysis {"connection_id":145541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3fd"} 
[2026-07-27 20:03:08] local.INFO: Extracted packet for processing {"connection_id":145541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3fd"} 
[2026-07-27 20:03:08] local.INFO: GPS Element Parsed {"raw_longitude":765832768,"raw_latitude":99888528,"longitude_deg":76.5832768,"latitude_deg":9.9888528,"altitude":12,"angle":291,"satellites":42,"speed":0,"hex_longitude":"2da5ae40","hex_latitude":"05f42d90","is_valid_coordinates":true} 
[2026-07-27 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-07-27 20:03:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001581824001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:03:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359345147558756352,"note":"Value kept but may cause issues"} 
[2026-07-27 20:03:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6508194017188147200,"note":"Value kept but may cause issues"} 
[2026-07-27 20:03:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:03:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785162730000,"timestamp_ms":1785162730000,"timestamp_seconds":1785162730,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3fd8a10"} 
[2026-07-27 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-07-27 20:03:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":151,"data_length":795,"current_offset":136} 
[2026-07-27 20:03:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 20:03:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:03:08] local.INFO: Teltonika packet parsed successfully {"connection_id":145541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:03:08] local.INFO: Passing IMEI to GPS processor {"connection_id":145541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:03:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":145541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:03:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:03:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 20:03:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 20:03:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001581824001,"66":25321,"10":206,"88":19456,"24":0,"16":359345147558756352,"45":-6508194017188147200},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-07-27 20:03:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 20:03:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 20:03:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001581824001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:03:08] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-27 20:03:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-27 20:03:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359345147558756352,"km_value":359345147558756.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:03:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6508194017188147200,"description":"Unknown IO ID 45"} 
[2026-07-27 20:03:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001581824001,"power":25321,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6508194017188147200}} 
[2026-07-27 20:03:08] local.INFO: DEBUG: GPS processor result {"connection_id":145541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:03:08] local.INFO: GPS data processed {"connection_id":145541,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:03:08] local.INFO: Acknowledgment sent {"connection_id":145541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:03:31] local.INFO: TCP Data received {"connection_id":143270,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:03:31] local.INFO: Processing buffer {"connection_id":143270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:03:31] local.INFO: IMEI packet received {"connection_id":143270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 20:03:31] local.INFO: IMEI acknowledgment sent {"connection_id":143270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:03:32] local.INFO: TCP Data received {"connection_id":145540,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 20:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145540,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 20:03:32] local.INFO: Processing buffer {"connection_id":145540,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 20:03:32] local.INFO: IMEI packet received {"connection_id":145540,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 20:03:32] local.INFO: IMEI acknowledgment sent {"connection_id":145540,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:03:36] local.INFO: TCP Data received {"connection_id":144254,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3fade78012d196580071ff150003a014b25..."} 
[2026-07-27 20:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144254,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3fade78012d196580071ff150003a014b25..."} 
[2026-07-27 20:03:36] local.INFO: Processing buffer {"connection_id":144254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3fade78012d196580071ff150003a014b25..."} 
[2026-07-27 20:03:36] local.INFO: Packet analysis {"connection_id":144254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3fa"} 
[2026-07-27 20:03:36] local.INFO: Extracted packet for processing {"connection_id":144254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3fa"} 
[2026-07-27 20:03:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533904,"longitude_deg":75.6639104,"latitude_deg":11.9533904,"altitude":58,"angle":331,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff150","is_valid_coordinates":true} 
[2026-07-27 20:03:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:03:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001608704001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:03:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971671285268480,"note":"Value kept but may cause issues"} 
[2026-07-27 20:03:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685009408,"note":"Value kept but may cause issues"} 
[2026-07-27 20:03:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:03:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785162555000,"timestamp_ms":1785162555000,"timestamp_seconds":1785162555,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3fade78"} 
[2026-07-27 20:03:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:03:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20:03:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-27 20:03:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:03:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:03:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:03:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:03:36] local.INFO: Teltonika packet parsed successfully {"connection_id":144254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:03:36] local.INFO: Passing IMEI to GPS processor {"connection_id":144254,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:03:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":144254,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:03:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:03:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:03:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:03:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001608704001,"66":12232,"121":206,"28":31744,"24":0,"16":8971671285268480,"45":1830009591685009408},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:03:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:03:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:03:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001608704001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:03:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:03:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:03:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971671285268480,"km_value":8971671285268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:03:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685009408,"description":"Unknown IO ID 45"} 
[2026-07-27 20:03:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001608704001,"power":12232,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591685009408}} 
[2026-07-27 20:03:36] local.INFO: TCP Data received {"connection_id":143270,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:03:36] local.INFO: Processing buffer {"connection_id":143270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:03:36] local.INFO: IMEI packet received {"connection_id":143270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 20:03:36] local.INFO: IMEI acknowledgment sent {"connection_id":143270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:03:36] local.INFO: DEBUG: GPS processor result {"connection_id":144254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555180,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:03:36] local.INFO: GPS data processed {"connection_id":144254,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:03:36] local.INFO: Acknowledgment sent {"connection_id":144254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:03:37] local.INFO: TCP Data received {"connection_id":143270,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3fd8a10012da5ae4005f42d90000c01232a..."} 
[2026-07-27 20:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3fd8a10012da5ae4005f42d90000c01232a..."} 
[2026-07-27 20:03:37] local.INFO: Processing buffer {"connection_id":143270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3fd8a10012da5ae4005f42d90000c01232a..."} 
[2026-07-27 20:03:37] local.INFO: Packet analysis {"connection_id":143270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3fd"} 
[2026-07-27 20:03:37] local.INFO: Extracted packet for processing {"connection_id":143270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3fd"} 
[2026-07-27 20:03:37] local.INFO: GPS Element Parsed {"raw_longitude":765832768,"raw_latitude":99888528,"longitude_deg":76.5832768,"latitude_deg":9.9888528,"altitude":12,"angle":291,"satellites":42,"speed":0,"hex_longitude":"2da5ae40","hex_latitude":"05f42d90","is_valid_coordinates":true} 
[2026-07-27 20:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:03:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001581824001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:03:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359345147558756352,"note":"Value kept but may cause issues"} 
[2026-07-27 20:03:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6508194017188147200,"note":"Value kept but may cause issues"} 
[2026-07-27 20:03:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:03:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785162730000,"timestamp_ms":1785162730000,"timestamp_seconds":1785162730,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3fd8a10"} 
[2026-07-27 20:03:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:03:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 20:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-27 20:03:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:03:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:03:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:03:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:03:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:03:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:03:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:03:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:03:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 20:03:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 20:03:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001581824001,"66":25321,"10":206,"88":19456,"24":0,"16":359345147558756352,"45":-6508194017188147200},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-07-27 20:03:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 20:03:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 20:03:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001581824001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:03:37] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-27 20:03:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-27 20:03:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359345147558756352,"km_value":359345147558756.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:03:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6508194017188147200,"description":"Unknown IO ID 45"} 
[2026-07-27 20:03:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001581824001,"power":25321,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6508194017188147200}} 
[2026-07-27 20:03:37] local.INFO: DEBUG: GPS processor result {"connection_id":143270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:03:37] local.INFO: GPS data processed {"connection_id":143270,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:03:37] local.INFO: Acknowledgment sent {"connection_id":143270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:03:59] local.INFO: TCP Data received {"connection_id":143125,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143125,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:03:59] local.INFO: Processing buffer {"connection_id":143125,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:03:59] local.INFO: IMEI packet received {"connection_id":143125,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 20:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":143125,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:04:04] local.INFO: TCP Data received {"connection_id":143125,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143125,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:04:04] local.INFO: Processing buffer {"connection_id":143125,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:04:04] local.INFO: IMEI packet received {"connection_id":143125,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 20:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":143125,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:04:08] local.INFO: TCP Data received {"connection_id":143125,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3fb3080012d196580071ff150003a014b28..."} 
[2026-07-27 20:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143125,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3fb3080012d196580071ff150003a014b28..."} 
[2026-07-27 20:04:08] local.INFO: Processing buffer {"connection_id":143125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3fb3080012d196580071ff150003a014b28..."} 
[2026-07-27 20:04:08] local.INFO: Packet analysis {"connection_id":143125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3fb"} 
[2026-07-27 20:04:08] local.INFO: Extracted packet for processing {"connection_id":143125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3fb"} 
[2026-07-27 20:04:08] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533904,"longitude_deg":75.6639104,"latitude_deg":11.9533904,"altitude":58,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff150","is_valid_coordinates":true} 
[2026-07-27 20:04:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:04:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001614080001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:04:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971671285268480,"note":"Value kept but may cause issues"} 
[2026-07-27 20:04:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685009408,"note":"Value kept but may cause issues"} 
[2026-07-27 20:04:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:04:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785162576000,"timestamp_ms":1785162576000,"timestamp_seconds":1785162576,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3fb3080"} 
[2026-07-27 20:04:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:04:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-27 20:04:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:04:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:04:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:04:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:04:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:04:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143125,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:04:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143125,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:04:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:04:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:04:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:04:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001614080001,"66":12232,"121":206,"28":31744,"24":0,"16":8971671285268480,"45":1830009591685009408},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:04:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:04:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:04:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001614080001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:04:08] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:04:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:04:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971671285268480,"km_value":8971671285268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:04:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685009408,"description":"Unknown IO ID 45"} 
[2026-07-27 20:04:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001614080001,"power":12232,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591685009408}} 
[2026-07-27 20:04:08] local.INFO: DEBUG: GPS processor result {"connection_id":143125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555182,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:04:08] local.INFO: GPS data processed {"connection_id":143125,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:04:08] local.INFO: Acknowledgment sent {"connection_id":143125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:04:08] local.INFO: TCP Data received {"connection_id":143270,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3fd8a10012da5ae4005f42d90000c01232a..."} 
[2026-07-27 20:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3fd8a10012da5ae4005f42d90000c01232a..."} 
[2026-07-27 20:04:08] local.INFO: Processing buffer {"connection_id":143270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3fd8a10012da5ae4005f42d90000c01232a..."} 
[2026-07-27 20:04:08] local.INFO: Packet analysis {"connection_id":143270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3fd"} 
[2026-07-27 20:04:08] local.INFO: Extracted packet for processing {"connection_id":143270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3fd"} 
[2026-07-27 20:04:08] local.INFO: GPS Element Parsed {"raw_longitude":765832768,"raw_latitude":99888528,"longitude_deg":76.5832768,"latitude_deg":9.9888528,"altitude":12,"angle":291,"satellites":42,"speed":0,"hex_longitude":"2da5ae40","hex_latitude":"05f42d90","is_valid_coordinates":true} 
[2026-07-27 20:04:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:04:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001581824001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:04:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359345147558756352,"note":"Value kept but may cause issues"} 
[2026-07-27 20:04:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6508194017188147200,"note":"Value kept but may cause issues"} 
[2026-07-27 20:04:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:04:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785162730000,"timestamp_ms":1785162730000,"timestamp_seconds":1785162730,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3fd8a10"} 
[2026-07-27 20:04:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:04:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":151,"data_length":795,"current_offset":136} 
[2026-07-27 20:04:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:04:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:04:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:04:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:04:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:04:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:04:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20: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-07-27 20:04:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 20:04:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 20:04:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001581824001,"66":25321,"10":206,"88":19456,"24":0,"16":359345147558756352,"45":-6508194017188147200},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-07-27 20:04:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 20:04:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 20:04:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001581824001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:04:08] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-27 20:04:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-27 20:04:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359345147558756352,"km_value":359345147558756.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:04:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6508194017188147200,"description":"Unknown IO ID 45"} 
[2026-07-27 20:04:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001581824001,"power":25321,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6508194017188147200}} 
[2026-07-27 20:04:08] local.INFO: DEBUG: GPS processor result {"connection_id":143270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:04:08] local.INFO: GPS data processed {"connection_id":143270,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:04:08] local.INFO: Acknowledgment sent {"connection_id":143270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:04:31] local.INFO: TCP Data received {"connection_id":143126,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:04:31] local.INFO: Processing buffer {"connection_id":143126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:04:31] local.INFO: IMEI packet received {"connection_id":143126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 20:04:31] local.INFO: IMEI acknowledgment sent {"connection_id":143126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:04:36] local.INFO: TCP Data received {"connection_id":143126,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:04:36] local.INFO: Processing buffer {"connection_id":143126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:04:36] local.INFO: IMEI packet received {"connection_id":143126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 20:04:36] local.INFO: IMEI acknowledgment sent {"connection_id":143126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:04:38] local.INFO: TCP Data received {"connection_id":143126,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3fd8a10012da5ae4005f42d90000c01232a..."} 
[2026-07-27 20:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3fd8a10012da5ae4005f42d90000c01232a..."} 
[2026-07-27 20:04:38] local.INFO: Processing buffer {"connection_id":143126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3fd8a10012da5ae4005f42d90000c01232a..."} 
[2026-07-27 20:04:38] local.INFO: Packet analysis {"connection_id":143126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3fd"} 
[2026-07-27 20:04:38] local.INFO: Extracted packet for processing {"connection_id":143126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3fd"} 
[2026-07-27 20:04:38] local.INFO: GPS Element Parsed {"raw_longitude":765832768,"raw_latitude":99888528,"longitude_deg":76.5832768,"latitude_deg":9.9888528,"altitude":12,"angle":291,"satellites":42,"speed":0,"hex_longitude":"2da5ae40","hex_latitude":"05f42d90","is_valid_coordinates":true} 
[2026-07-27 20:04:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:04:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001581824001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:04:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359345147558756352,"note":"Value kept but may cause issues"} 
[2026-07-27 20:04:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6508194017188147200,"note":"Value kept but may cause issues"} 
[2026-07-27 20:04:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:04:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785162730000,"timestamp_ms":1785162730000,"timestamp_seconds":1785162730,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3fd8a10"} 
[2026-07-27 20:04:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:04:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 20:04:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-27 20:04:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:04:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:04:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:04:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:04:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:04:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:04:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:04:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:04:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 20:04:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 20:04:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001581824001,"66":25321,"10":206,"88":19456,"24":0,"16":359345147558756352,"45":-6508194017188147200},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-07-27 20:04:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 20:04:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 20:04:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001581824001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:04:38] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-27 20:04:38] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-27 20:04:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359345147558756352,"km_value":359345147558756.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:04:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6508194017188147200,"description":"Unknown IO ID 45"} 
[2026-07-27 20:04:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001581824001,"power":25321,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6508194017188147200}} 
[2026-07-27 20:04:38] local.INFO: DEBUG: GPS processor result {"connection_id":143126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:04:38] local.INFO: GPS data processed {"connection_id":143126,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:04:38] local.INFO: Acknowledgment sent {"connection_id":143126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:04:40] local.INFO: TCP Data received {"connection_id":143125,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3fb8288012d196580071ff150003a014b26..."} 
[2026-07-27 20:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143125,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3fb8288012d196580071ff150003a014b26..."} 
[2026-07-27 20:04:40] local.INFO: Processing buffer {"connection_id":143125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3fb8288012d196580071ff150003a014b26..."} 
[2026-07-27 20:04:40] local.INFO: Packet analysis {"connection_id":143125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3fb"} 
[2026-07-27 20:04:40] local.INFO: Extracted packet for processing {"connection_id":143125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3fb"} 
[2026-07-27 20:04:40] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533904,"longitude_deg":75.6639104,"latitude_deg":11.9533904,"altitude":58,"angle":331,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff150","is_valid_coordinates":true} 
[2026-07-27 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-07-27 20:04:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001619456001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:04:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971671285268480,"note":"Value kept but may cause issues"} 
[2026-07-27 20:04:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685009408,"note":"Value kept but may cause issues"} 
[2026-07-27 20:04:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:04:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785162597000,"timestamp_ms":1785162597000,"timestamp_seconds":1785162597,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3fb8288"} 
[2026-07-27 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-07-27 20:04:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-27 20:04:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 20:04:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:04:40] local.INFO: Teltonika packet parsed successfully {"connection_id":143125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:04:40] local.INFO: Passing IMEI to GPS processor {"connection_id":143125,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:04:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":143125,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:04:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:04:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:04:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:04:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001619456001,"66":12232,"121":206,"28":31744,"24":0,"16":8971671285268480,"45":1830009591685009408},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:04:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:04:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:04:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001619456001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:04:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:04:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:04:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971671285268480,"km_value":8971671285268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:04:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685009408,"description":"Unknown IO ID 45"} 
[2026-07-27 20:04:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001619456001,"power":12232,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591685009408}} 
[2026-07-27 20:04:40] local.INFO: DEBUG: GPS processor result {"connection_id":143125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555185,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:04:40] local.INFO: GPS data processed {"connection_id":143125,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:04:40] local.INFO: Acknowledgment sent {"connection_id":143125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:05:04] local.INFO: TCP Data received {"connection_id":143127,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143127,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:05:04] local.INFO: Processing buffer {"connection_id":143127,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:05:04] local.INFO: IMEI packet received {"connection_id":143127,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 20:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":143127,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:05:08] local.INFO: TCP Data received {"connection_id":143127,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143127,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:05:08] local.INFO: Processing buffer {"connection_id":143127,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:05:08] local.INFO: IMEI packet received {"connection_id":143127,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 20:05:08] local.INFO: IMEI acknowledgment sent {"connection_id":143127,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:05:10] local.INFO: TCP Data received {"connection_id":143127,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3ff08e0012d196580071ff150003a014b26..."} 
[2026-07-27 20:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143127,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3ff08e0012d196580071ff150003a014b26..."} 
[2026-07-27 20:05:10] local.INFO: Processing buffer {"connection_id":143127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3ff08e0012d196580071ff150003a014b26..."} 
[2026-07-27 20:05:10] local.INFO: Packet analysis {"connection_id":143127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3ff"} 
[2026-07-27 20:05:10] local.INFO: Extracted packet for processing {"connection_id":143127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3ff"} 
[2026-07-27 20:05:10] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533904,"longitude_deg":75.6639104,"latitude_deg":11.9533904,"altitude":58,"angle":331,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff150","is_valid_coordinates":true} 
[2026-07-27 20:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:05:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001678592001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:05:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971671285268480,"note":"Value kept but may cause issues"} 
[2026-07-27 20:05:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685009408,"note":"Value kept but may cause issues"} 
[2026-07-27 20:05:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:05:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785162828000,"timestamp_ms":1785162828000,"timestamp_seconds":1785162828,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3ff08e0"} 
[2026-07-27 20:05:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:05:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20: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":47,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-07-27 20:05:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1846,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:05:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:05:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:05:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:05:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:05:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143127,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:05:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143127,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:05:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:05:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:05:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:05:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001678592001,"66":12232,"121":206,"28":31744,"24":0,"16":8971671285268480,"45":1830009591685009408},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:05:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:05:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:05:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001678592001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:05:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:05:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:05:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971671285268480,"km_value":8971671285268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:05:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685009408,"description":"Unknown IO ID 45"} 
[2026-07-27 20:05:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001678592001,"power":12232,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591685009408}} 
[2026-07-27 20:05:10] local.INFO: DEBUG: GPS processor result {"connection_id":143127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555186,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:05:10] local.INFO: GPS data processed {"connection_id":143127,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:05:10] local.INFO: Acknowledgment sent {"connection_id":143127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:05:10] local.INFO: TCP Data received {"connection_id":143126,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3fd8a10012da5ae4005f42d90000c01232a..."} 
[2026-07-27 20:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3fd8a10012da5ae4005f42d90000c01232a..."} 
[2026-07-27 20:05:10] local.INFO: Processing buffer {"connection_id":143126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3fd8a10012da5ae4005f42d90000c01232a..."} 
[2026-07-27 20:05:10] local.INFO: Packet analysis {"connection_id":143126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3fd"} 
[2026-07-27 20:05:10] local.INFO: Extracted packet for processing {"connection_id":143126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3fd"} 
[2026-07-27 20:05:10] local.INFO: GPS Element Parsed {"raw_longitude":765832768,"raw_latitude":99888528,"longitude_deg":76.5832768,"latitude_deg":9.9888528,"altitude":12,"angle":291,"satellites":42,"speed":0,"hex_longitude":"2da5ae40","hex_latitude":"05f42d90","is_valid_coordinates":true} 
[2026-07-27 20:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:05:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001581824001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:05:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359345147558756352,"note":"Value kept but may cause issues"} 
[2026-07-27 20:05:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6508194017188147200,"note":"Value kept but may cause issues"} 
[2026-07-27 20:05:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:05:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785162730000,"timestamp_ms":1785162730000,"timestamp_seconds":1785162730,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3fd8a10"} 
[2026-07-27 20:05:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:05:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 20:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-27 20:05:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:05:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:05:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:05:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:05:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:05:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:05:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20: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-07-27 20:05:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 20:05:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 20:05:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001581824001,"66":25321,"10":206,"88":19456,"24":0,"16":359345147558756352,"45":-6508194017188147200},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-07-27 20:05:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 20:05:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 20:05:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001581824001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:05:10] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-27 20:05:10] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-27 20:05:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359345147558756352,"km_value":359345147558756.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:05:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6508194017188147200,"description":"Unknown IO ID 45"} 
[2026-07-27 20:05:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001581824001,"power":25321,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6508194017188147200}} 
[2026-07-27 20:05:10] local.INFO: DEBUG: GPS processor result {"connection_id":143126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:05:10] local.INFO: GPS data processed {"connection_id":143126,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:05:10] local.INFO: Acknowledgment sent {"connection_id":143126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:05:11] local.INFO: TCP Data received {"connection_id":143127,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3ff5ae8012d196580071ff150003a014b24..."} 
[2026-07-27 20:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143127,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3ff5ae8012d196580071ff150003a014b24..."} 
[2026-07-27 20:05:11] local.INFO: Processing buffer {"connection_id":143127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3ff5ae8012d196580071ff150003a014b24..."} 
[2026-07-27 20:05:11] local.INFO: Packet analysis {"connection_id":143127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3ff"} 
[2026-07-27 20:05:11] local.INFO: Extracted packet for processing {"connection_id":143127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3ff"} 
[2026-07-27 20:05:11] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533904,"longitude_deg":75.6639104,"latitude_deg":11.9533904,"altitude":58,"angle":331,"satellites":36,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff150","is_valid_coordinates":true} 
[2026-07-27 20:05:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:05:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001683968001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:05:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971671285268480,"note":"Value kept but may cause issues"} 
[2026-07-27 20:05:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685009408,"note":"Value kept but may cause issues"} 
[2026-07-27 20:05:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:05:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785162849000,"timestamp_ms":1785162849000,"timestamp_seconds":1785162849,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3ff5ae8"} 
[2026-07-27 20:05:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:05:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-27 20:05:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:05:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:05:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:05:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:05:11] local.INFO: Teltonika packet parsed successfully {"connection_id":143127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:05:11] local.INFO: Passing IMEI to GPS processor {"connection_id":143127,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:05:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":143127,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:05:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:05:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:05:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:05:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001683968001,"66":12178,"121":206,"28":31744,"24":0,"16":8971671285268480,"45":1830009591685009408},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:05:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:05:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:05:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001683968001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:05:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:05:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:05:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971671285268480,"km_value":8971671285268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:05:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685009408,"description":"Unknown IO ID 45"} 
[2026-07-27 20:05:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001683968001,"power":12178,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591685009408}} 
[2026-07-27 20:05:11] local.INFO: DEBUG: GPS processor result {"connection_id":143127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555188,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:05:11] local.INFO: GPS data processed {"connection_id":143127,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:05:11] local.INFO: Acknowledgment sent {"connection_id":143127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:05:31] local.INFO: TCP Data received {"connection_id":144255,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:05:31] local.INFO: Processing buffer {"connection_id":144255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:05:31] local.INFO: IMEI packet received {"connection_id":144255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 20:05:31] local.INFO: IMEI acknowledgment sent {"connection_id":144255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:05:36] local.INFO: TCP Data received {"connection_id":144255,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:05:36] local.INFO: Processing buffer {"connection_id":144255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:05:36] local.INFO: IMEI packet received {"connection_id":144255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 20:05:36] local.INFO: IMEI acknowledgment sent {"connection_id":144255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:05:37] local.INFO: TCP Data received {"connection_id":144255,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3fd8a10012da5ae4005f42d90000c01232a..."} 
[2026-07-27 20:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3fd8a10012da5ae4005f42d90000c01232a..."} 
[2026-07-27 20:05:37] local.INFO: Processing buffer {"connection_id":144255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3fd8a10012da5ae4005f42d90000c01232a..."} 
[2026-07-27 20:05:37] local.INFO: Packet analysis {"connection_id":144255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3fd"} 
[2026-07-27 20:05:37] local.INFO: Extracted packet for processing {"connection_id":144255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3fd"} 
[2026-07-27 20:05:37] local.INFO: GPS Element Parsed {"raw_longitude":765832768,"raw_latitude":99888528,"longitude_deg":76.5832768,"latitude_deg":9.9888528,"altitude":12,"angle":291,"satellites":42,"speed":0,"hex_longitude":"2da5ae40","hex_latitude":"05f42d90","is_valid_coordinates":true} 
[2026-07-27 20:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:05:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001581824001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:05:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359345147558756352,"note":"Value kept but may cause issues"} 
[2026-07-27 20:05:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6508194017188147200,"note":"Value kept but may cause issues"} 
[2026-07-27 20:05:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:05:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785162730000,"timestamp_ms":1785162730000,"timestamp_seconds":1785162730,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3fd8a10"} 
[2026-07-27 20:05:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:05:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 20:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-27 20:05:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:05:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:05:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:05:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:05:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:05:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:05:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:05:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:05:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 20:05:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 20:05:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001581824001,"66":25321,"10":206,"88":19456,"24":0,"16":359345147558756352,"45":-6508194017188147200},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-07-27 20:05:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 20:05:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 20:05:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001581824001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:05:37] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-27 20:05:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-27 20:05:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359345147558756352,"km_value":359345147558756.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:05:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6508194017188147200,"description":"Unknown IO ID 45"} 
[2026-07-27 20:05:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001581824001,"power":25321,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6508194017188147200}} 
[2026-07-27 20:05:37] local.INFO: DEBUG: GPS processor result {"connection_id":144255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:05:37] local.INFO: GPS data processed {"connection_id":144255,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:05:37] local.INFO: Acknowledgment sent {"connection_id":144255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:05:42] local.INFO: TCP Data received {"connection_id":143127,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3ffacf0012d196580071ff150003a014b1f..."} 
[2026-07-27 20:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143127,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3ffacf0012d196580071ff150003a014b1f..."} 
[2026-07-27 20:05:42] local.INFO: Processing buffer {"connection_id":143127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3ffacf0012d196580071ff150003a014b1f..."} 
[2026-07-27 20:05:42] local.INFO: Packet analysis {"connection_id":143127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3ff"} 
[2026-07-27 20:05:42] local.INFO: Extracted packet for processing {"connection_id":143127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3ff"} 
[2026-07-27 20:05:42] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533904,"longitude_deg":75.6639104,"latitude_deg":11.9533904,"altitude":58,"angle":331,"satellites":31,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff150","is_valid_coordinates":true} 
[2026-07-27 20:05:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:05:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001689344001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:05:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971671285268480,"note":"Value kept but may cause issues"} 
[2026-07-27 20:05:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685009408,"note":"Value kept but may cause issues"} 
[2026-07-27 20:05:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:05:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785162870000,"timestamp_ms":1785162870000,"timestamp_seconds":1785162870,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3ffacf0"} 
[2026-07-27 20:05:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:05:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20: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":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-27 20:05:42] 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-07-27 20:05:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:05:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:05:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:05:42] local.INFO: Teltonika packet parsed successfully {"connection_id":143127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:05:42] local.INFO: Passing IMEI to GPS processor {"connection_id":143127,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:05:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":143127,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:05:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:05:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:05:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:05:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001689344001,"66":12232,"121":206,"28":31744,"24":0,"16":8971671285268480,"45":1830009591685009408},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:05:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:05:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:05:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001689344001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:05:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:05:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:05:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971671285268480,"km_value":8971671285268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:05:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685009408,"description":"Unknown IO ID 45"} 
[2026-07-27 20:05:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001689344001,"power":12232,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591685009408}} 
[2026-07-27 20:05:42] local.INFO: DEBUG: GPS processor result {"connection_id":143127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555190,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:05:42] local.INFO: GPS data processed {"connection_id":143127,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:05:42] local.INFO: Acknowledgment sent {"connection_id":143127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:05:59] local.INFO: TCP Data received {"connection_id":144256,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144256,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:05:59] local.INFO: Processing buffer {"connection_id":144256,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:05:59] local.INFO: IMEI packet received {"connection_id":144256,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 20:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":144256,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:06:04] local.INFO: TCP Data received {"connection_id":144256,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144256,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:06:04] local.INFO: Processing buffer {"connection_id":144256,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:06:04] local.INFO: IMEI packet received {"connection_id":144256,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 20:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":144256,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:06:05] local.INFO: TCP Data received {"connection_id":144256,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3fffef8012d196580071ff150003a014b22..."} 
[2026-07-27 20:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144256,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3fffef8012d196580071ff150003a014b22..."} 
[2026-07-27 20:06:05] local.INFO: Processing buffer {"connection_id":144256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3fffef8012d196580071ff150003a014b22..."} 
[2026-07-27 20:06:05] local.INFO: Packet analysis {"connection_id":144256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3ff"} 
[2026-07-27 20:06:05] local.INFO: Extracted packet for processing {"connection_id":144256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3ff"} 
[2026-07-27 20:06:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533904,"longitude_deg":75.6639104,"latitude_deg":11.9533904,"altitude":58,"angle":331,"satellites":34,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff150","is_valid_coordinates":true} 
[2026-07-27 20:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:06:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001694720001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:06:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971671285268480,"note":"Value kept but may cause issues"} 
[2026-07-27 20:06:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685009408,"note":"Value kept but may cause issues"} 
[2026-07-27 20:06:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:06:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785162891000,"timestamp_ms":1785162891000,"timestamp_seconds":1785162891,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3fffef8"} 
[2026-07-27 20:06:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:06:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-27 20:06:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:06:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:06:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:06:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:06:05] local.INFO: Teltonika packet parsed successfully {"connection_id":144256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:06:05] local.INFO: Passing IMEI to GPS processor {"connection_id":144256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:06:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":144256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:06:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:06:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:06:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:06:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001694720001,"66":12211,"121":206,"28":31744,"24":0,"16":8971671285268480,"45":1830009591685009408},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:06:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:06:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:06:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001694720001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:06:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:06:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:06:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971671285268480,"km_value":8971671285268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:06:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685009408,"description":"Unknown IO ID 45"} 
[2026-07-27 20:06:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001694720001,"power":12211,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591685009408}} 
[2026-07-27 20:06:05] local.INFO: DEBUG: GPS processor result {"connection_id":144256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555191,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:06:05] local.INFO: GPS data processed {"connection_id":144256,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:06:05] local.INFO: Acknowledgment sent {"connection_id":144256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:06:08] local.INFO: TCP Data received {"connection_id":144255,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3fd8a10012da5ae4005f42d90000c01232a..."} 
[2026-07-27 20:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3fd8a10012da5ae4005f42d90000c01232a..."} 
[2026-07-27 20:06:08] local.INFO: Processing buffer {"connection_id":144255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3fd8a10012da5ae4005f42d90000c01232a..."} 
[2026-07-27 20:06:08] local.INFO: Packet analysis {"connection_id":144255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3fd"} 
[2026-07-27 20:06:08] local.INFO: Extracted packet for processing {"connection_id":144255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3fd"} 
[2026-07-27 20:06:08] local.INFO: GPS Element Parsed {"raw_longitude":765832768,"raw_latitude":99888528,"longitude_deg":76.5832768,"latitude_deg":9.9888528,"altitude":12,"angle":291,"satellites":42,"speed":0,"hex_longitude":"2da5ae40","hex_latitude":"05f42d90","is_valid_coordinates":true} 
[2026-07-27 20:06:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:06:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001581824001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:06:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359345147558756352,"note":"Value kept but may cause issues"} 
[2026-07-27 20:06:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6508194017188147200,"note":"Value kept but may cause issues"} 
[2026-07-27 20:06:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:06:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785162730000,"timestamp_ms":1785162730000,"timestamp_seconds":1785162730,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3fd8a10"} 
[2026-07-27 20:06:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:06:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":151,"data_length":795,"current_offset":136} 
[2026-07-27 20:06:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:06:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:06:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:06:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:06:08] local.INFO: Teltonika packet parsed successfully {"connection_id":144255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:06:08] local.INFO: Passing IMEI to GPS processor {"connection_id":144255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:06:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":144255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:06:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:06:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 20:06:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 20:06:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001581824001,"66":25321,"10":206,"88":19456,"24":0,"16":359345147558756352,"45":-6508194017188147200},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-07-27 20:06:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 20:06:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 20:06:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001581824001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:06:08] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-27 20:06:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-27 20:06:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359345147558756352,"km_value":359345147558756.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:06:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6508194017188147200,"description":"Unknown IO ID 45"} 
[2026-07-27 20:06:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001581824001,"power":25321,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6508194017188147200}} 
[2026-07-27 20:06:08] local.INFO: DEBUG: GPS processor result {"connection_id":144255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:06:08] local.INFO: GPS data processed {"connection_id":144255,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:06:08] local.INFO: Acknowledgment sent {"connection_id":144255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:06:31] local.INFO: TCP Data received {"connection_id":143128,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:06:31] local.INFO: Processing buffer {"connection_id":143128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:06:31] local.INFO: IMEI packet received {"connection_id":143128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 20:06:31] local.INFO: IMEI acknowledgment sent {"connection_id":143128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:06:36] local.INFO: TCP Data received {"connection_id":143128,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:06:36] local.INFO: Processing buffer {"connection_id":143128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:06:36] local.INFO: IMEI packet received {"connection_id":143128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 20:06:36] local.INFO: IMEI acknowledgment sent {"connection_id":143128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:06:37] local.INFO: TCP Data received {"connection_id":144256,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4005100012d196580071ff150003a014b28..."} 
[2026-07-27 20:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144256,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4005100012d196580071ff150003a014b28..."} 
[2026-07-27 20:06:37] local.INFO: Processing buffer {"connection_id":144256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4005100012d196580071ff150003a014b28..."} 
[2026-07-27 20:06:37] local.INFO: Packet analysis {"connection_id":144256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa400"} 
[2026-07-27 20:06:37] local.INFO: Extracted packet for processing {"connection_id":144256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa400"} 
[2026-07-27 20:06:37] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533904,"longitude_deg":75.6639104,"latitude_deg":11.9533904,"altitude":58,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff150","is_valid_coordinates":true} 
[2026-07-27 20:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:06:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001700096001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:06:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971671285268480,"note":"Value kept but may cause issues"} 
[2026-07-27 20:06:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685009408,"note":"Value kept but may cause issues"} 
[2026-07-27 20:06:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:06:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785162912000,"timestamp_ms":1785162912000,"timestamp_seconds":1785162912,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4005100"} 
[2026-07-27 20:06:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:06:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-27 20:06:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:06:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:06:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:06:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:06:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:06:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:06:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:06:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:06:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:06:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:06:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001700096001,"66":12232,"121":206,"28":31744,"24":0,"16":8971671285268480,"45":1830009591685009408},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:06:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:06:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:06:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001700096001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:06:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:06:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:06:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971671285268480,"km_value":8971671285268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:06:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685009408,"description":"Unknown IO ID 45"} 
[2026-07-27 20:06:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001700096001,"power":12232,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591685009408}} 
[2026-07-27 20:06:37] local.INFO: DEBUG: GPS processor result {"connection_id":144256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555193,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:06:37] local.INFO: GPS data processed {"connection_id":144256,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:06:37] local.INFO: Acknowledgment sent {"connection_id":144256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:06:37] local.INFO: TCP Data received {"connection_id":143128,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3fd8a10012da5ae4005f42d90000c01232a..."} 
[2026-07-27 20:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3fd8a10012da5ae4005f42d90000c01232a..."} 
[2026-07-27 20:06:37] local.INFO: Processing buffer {"connection_id":143128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3fd8a10012da5ae4005f42d90000c01232a..."} 
[2026-07-27 20:06:37] local.INFO: Packet analysis {"connection_id":143128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3fd"} 
[2026-07-27 20:06:37] local.INFO: Extracted packet for processing {"connection_id":143128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3fd"} 
[2026-07-27 20:06:37] local.INFO: GPS Element Parsed {"raw_longitude":765832768,"raw_latitude":99888528,"longitude_deg":76.5832768,"latitude_deg":9.9888528,"altitude":12,"angle":291,"satellites":42,"speed":0,"hex_longitude":"2da5ae40","hex_latitude":"05f42d90","is_valid_coordinates":true} 
[2026-07-27 20:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:06:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001581824001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:06:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359345147558756352,"note":"Value kept but may cause issues"} 
[2026-07-27 20:06:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6508194017188147200,"note":"Value kept but may cause issues"} 
[2026-07-27 20:06:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:06:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785162730000,"timestamp_ms":1785162730000,"timestamp_seconds":1785162730,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3fd8a10"} 
[2026-07-27 20:06:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:06:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 20:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-27 20:06:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:06:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:06:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:06:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:06:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:06:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:06:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:06:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:06:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 20:06:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 20:06:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001581824001,"66":25321,"10":206,"88":19456,"24":0,"16":359345147558756352,"45":-6508194017188147200},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-07-27 20:06:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 20:06:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 20:06:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001581824001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:06:37] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-27 20:06:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-27 20:06:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359345147558756352,"km_value":359345147558756.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:06:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6508194017188147200,"description":"Unknown IO ID 45"} 
[2026-07-27 20:06:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001581824001,"power":25321,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6508194017188147200}} 
[2026-07-27 20:06:37] local.INFO: DEBUG: GPS processor result {"connection_id":143128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:06:37] local.INFO: GPS data processed {"connection_id":143128,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:06:37] local.INFO: Acknowledgment sent {"connection_id":143128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:06:59] local.INFO: TCP Data received {"connection_id":144257,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144257,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:06:59] local.INFO: Processing buffer {"connection_id":144257,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:06:59] local.INFO: IMEI packet received {"connection_id":144257,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 20:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":144257,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:07:04] local.INFO: TCP Data received {"connection_id":144257,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144257,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:07:04] local.INFO: Processing buffer {"connection_id":144257,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:07:04] local.INFO: IMEI packet received {"connection_id":144257,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 20:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":144257,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:07:05] local.INFO: TCP Data received {"connection_id":144257,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa400a308012d196580071ff150003a014b27..."} 
[2026-07-27 20:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa400a308012d196580071ff150003a014b27..."} 
[2026-07-27 20:07:05] local.INFO: Processing buffer {"connection_id":144257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa400a308012d196580071ff150003a014b27..."} 
[2026-07-27 20:07:05] local.INFO: Packet analysis {"connection_id":144257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa400"} 
[2026-07-27 20:07:05] local.INFO: Extracted packet for processing {"connection_id":144257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa400"} 
[2026-07-27 20:07:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533904,"longitude_deg":75.6639104,"latitude_deg":11.9533904,"altitude":58,"angle":331,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff150","is_valid_coordinates":true} 
[2026-07-27 20:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:07:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001705472001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:07:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971671285268480,"note":"Value kept but may cause issues"} 
[2026-07-27 20:07:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685009408,"note":"Value kept but may cause issues"} 
[2026-07-27 20:07:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:07:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785162933000,"timestamp_ms":1785162933000,"timestamp_seconds":1785162933,"priority":1,"record_length":96,"hex_timestamp":"0000019fa400a308"} 
[2026-07-27 20:07:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:07:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-27 20:07:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:07:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:07:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:07:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:07:05] local.INFO: Teltonika packet parsed successfully {"connection_id":144257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:07:05] local.INFO: Passing IMEI to GPS processor {"connection_id":144257,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:07:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":144257,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:07:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:07:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:07:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:07:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001705472001,"66":12232,"121":206,"28":31744,"24":0,"16":8971671285268480,"45":1830009591685009408},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:07:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:07:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:07:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001705472001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:07:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:07:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:07:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971671285268480,"km_value":8971671285268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:07:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685009408,"description":"Unknown IO ID 45"} 
[2026-07-27 20:07:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001705472001,"power":12232,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591685009408}} 
[2026-07-27 20:07:06] local.INFO: DEBUG: GPS processor result {"connection_id":144257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555195,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:07:06] local.INFO: GPS data processed {"connection_id":144257,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:07:06] local.INFO: Acknowledgment sent {"connection_id":144257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:07:08] local.INFO: TCP Data received {"connection_id":143128,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3fd8a10012da5ae4005f42d90000c01232a..."} 
[2026-07-27 20:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3fd8a10012da5ae4005f42d90000c01232a..."} 
[2026-07-27 20:07:08] local.INFO: Processing buffer {"connection_id":143128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3fd8a10012da5ae4005f42d90000c01232a..."} 
[2026-07-27 20:07:08] local.INFO: Packet analysis {"connection_id":143128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3fd"} 
[2026-07-27 20:07:08] local.INFO: Extracted packet for processing {"connection_id":143128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3fd"} 
[2026-07-27 20:07:08] local.INFO: GPS Element Parsed {"raw_longitude":765832768,"raw_latitude":99888528,"longitude_deg":76.5832768,"latitude_deg":9.9888528,"altitude":12,"angle":291,"satellites":42,"speed":0,"hex_longitude":"2da5ae40","hex_latitude":"05f42d90","is_valid_coordinates":true} 
[2026-07-27 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-07-27 20:07:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001581824001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:07:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359345147558756352,"note":"Value kept but may cause issues"} 
[2026-07-27 20:07:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6508194017188147200,"note":"Value kept but may cause issues"} 
[2026-07-27 20:07:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:07:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785162730000,"timestamp_ms":1785162730000,"timestamp_seconds":1785162730,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3fd8a10"} 
[2026-07-27 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-07-27 20:07:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":151,"data_length":795,"current_offset":136} 
[2026-07-27 20:07:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 20:07:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:07:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:07:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:07:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:07:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:07:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 20:07:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 20:07:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001581824001,"66":25321,"10":206,"88":19456,"24":0,"16":359345147558756352,"45":-6508194017188147200},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-07-27 20:07:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 20:07:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 20:07:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001581824001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:07:08] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-27 20:07:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-27 20:07:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359345147558756352,"km_value":359345147558756.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:07:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6508194017188147200,"description":"Unknown IO ID 45"} 
[2026-07-27 20:07:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001581824001,"power":25321,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6508194017188147200}} 
[2026-07-27 20:07:08] local.INFO: DEBUG: GPS processor result {"connection_id":143128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:07:08] local.INFO: GPS data processed {"connection_id":143128,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:07:08] local.INFO: Acknowledgment sent {"connection_id":143128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:07:31] local.INFO: TCP Data received {"connection_id":145542,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:07:31] local.INFO: Processing buffer {"connection_id":145542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:07:31] local.INFO: IMEI packet received {"connection_id":145542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 20:07:31] local.INFO: IMEI acknowledgment sent {"connection_id":145542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:07:36] local.INFO: TCP Data received {"connection_id":145542,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:07:36] local.INFO: Processing buffer {"connection_id":145542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:07:36] local.INFO: IMEI packet received {"connection_id":145542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 20:07:36] local.INFO: IMEI acknowledgment sent {"connection_id":145542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:07:37] local.INFO: TCP Data received {"connection_id":144257,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa400f510012d196580071ff150003a014b28..."} 
[2026-07-27 20:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa400f510012d196580071ff150003a014b28..."} 
[2026-07-27 20:07:37] local.INFO: Processing buffer {"connection_id":144257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa400f510012d196580071ff150003a014b28..."} 
[2026-07-27 20:07:37] local.INFO: Packet analysis {"connection_id":144257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa400"} 
[2026-07-27 20:07:37] local.INFO: Extracted packet for processing {"connection_id":144257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa400"} 
[2026-07-27 20:07:37] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533904,"longitude_deg":75.6639104,"latitude_deg":11.9533904,"altitude":58,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff150","is_valid_coordinates":true} 
[2026-07-27 20:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001710848001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971671285268480,"note":"Value kept but may cause issues"} 
[2026-07-27 20:07:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685009408,"note":"Value kept but may cause issues"} 
[2026-07-27 20:07:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785162954000,"timestamp_ms":1785162954000,"timestamp_seconds":1785162954,"priority":1,"record_length":96,"hex_timestamp":"0000019fa400f510"} 
[2026-07-27 20:07:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:07:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-27 20:07:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:07:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:07:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144257,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144257,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:07:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001710848001,"66":12211,"121":206,"28":31744,"24":0,"16":8971671285268480,"45":1830009591685009408},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001710848001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:07:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:07:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:07:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971671285268480,"km_value":8971671285268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:07:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685009408,"description":"Unknown IO ID 45"} 
[2026-07-27 20:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001710848001,"power":12211,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591685009408}} 
[2026-07-27 20:07:37] local.INFO: DEBUG: GPS processor result {"connection_id":144257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555197,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:07:37] local.INFO: GPS data processed {"connection_id":144257,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:07:37] local.INFO: Acknowledgment sent {"connection_id":144257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:07:37] local.INFO: TCP Data received {"connection_id":145542,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fa3fd8a10012da5ae4005f42d90000c01232a..."} 
[2026-07-27 20:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa3fd8a10012da5ae4005f42d90000c01232a..."} 
[2026-07-27 20:07:37] local.INFO: Processing buffer {"connection_id":145542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa3fd8a10012da5ae4005f42d90000c01232a..."} 
[2026-07-27 20:07:37] local.INFO: Packet analysis {"connection_id":145542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa3fd"} 
[2026-07-27 20:07:37] local.INFO: Extracted packet for processing {"connection_id":145542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa3fd"} 
[2026-07-27 20:07:37] local.INFO: GPS Element Parsed {"raw_longitude":765832768,"raw_latitude":99888528,"longitude_deg":76.5832768,"latitude_deg":9.9888528,"altitude":12,"angle":291,"satellites":42,"speed":0,"hex_longitude":"2da5ae40","hex_latitude":"05f42d90","is_valid_coordinates":true} 
[2026-07-27 20:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001581824001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359345147558756352,"note":"Value kept but may cause issues"} 
[2026-07-27 20:07:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6508194017188147200,"note":"Value kept but may cause issues"} 
[2026-07-27 20:07:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785162730000,"timestamp_ms":1785162730000,"timestamp_seconds":1785162730,"priority":1,"record_length":96,"hex_timestamp":"0000019fa3fd8a10"} 
[2026-07-27 20:07:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:07:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 20:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-27 20:07:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:07:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:07:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:07:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 20:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 20:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001581824001,"66":25321,"10":206,"88":19456,"24":0,"16":359345147558756352,"45":-6508194017188147200},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-07-27 20:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 20:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 20:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001581824001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:07:37] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-27 20:07:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-27 20:07:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359345147558756352,"km_value":359345147558756.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:07:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6508194017188147200,"description":"Unknown IO ID 45"} 
[2026-07-27 20:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001581824001,"power":25321,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6508194017188147200}} 
[2026-07-27 20:07:37] local.INFO: DEBUG: GPS processor result {"connection_id":145542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:07:37] local.INFO: GPS data processed {"connection_id":145542,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:07:37] local.INFO: Acknowledgment sent {"connection_id":145542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:07:59] local.INFO: TCP Data received {"connection_id":143272,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143272,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:07:59] local.INFO: Processing buffer {"connection_id":143272,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:07:59] local.INFO: IMEI packet received {"connection_id":143272,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 20:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":143272,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:08:04] local.INFO: TCP Data received {"connection_id":143272,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143272,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:08:04] local.INFO: Processing buffer {"connection_id":143272,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:08:04] local.INFO: IMEI packet received {"connection_id":143272,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 20:08:04] local.INFO: IMEI acknowledgment sent {"connection_id":143272,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:08:05] local.INFO: TCP Data received {"connection_id":143272,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4014718012d196580071ff150003a014b29..."} 
[2026-07-27 20:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4014718012d196580071ff150003a014b29..."} 
[2026-07-27 20:08:05] local.INFO: Processing buffer {"connection_id":143272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4014718012d196580071ff150003a014b29..."} 
[2026-07-27 20:08:05] local.INFO: Packet analysis {"connection_id":143272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa401"} 
[2026-07-27 20:08:05] local.INFO: Extracted packet for processing {"connection_id":143272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa401"} 
[2026-07-27 20:08:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533904,"longitude_deg":75.6639104,"latitude_deg":11.9533904,"altitude":58,"angle":331,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff150","is_valid_coordinates":true} 
[2026-07-27 20:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:08:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001716224001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:08:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971671285268480,"note":"Value kept but may cause issues"} 
[2026-07-27 20:08:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685009408,"note":"Value kept but may cause issues"} 
[2026-07-27 20:08:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:08:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785162975000,"timestamp_ms":1785162975000,"timestamp_seconds":1785162975,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4014718"} 
[2026-07-27 20:08:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:08:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-27 20:08:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:08:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:08:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:08:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:08:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:08:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143272,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:08:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143272,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:08:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:08:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:08:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:08:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001716224001,"66":12254,"121":206,"28":31744,"24":0,"16":8971671285268480,"45":1830009591685009408},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:08:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:08:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:08:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001716224001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:08:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:08:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:08:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971671285268480,"km_value":8971671285268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:08:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685009408,"description":"Unknown IO ID 45"} 
[2026-07-27 20:08:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001716224001,"power":12254,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591685009408}} 
[2026-07-27 20:08:05] local.INFO: DEBUG: GPS processor result {"connection_id":143272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555199,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:08:05] local.INFO: GPS data processed {"connection_id":143272,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:08:05] local.INFO: Acknowledgment sent {"connection_id":143272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:08:09] local.INFO: TCP Data received {"connection_id":145542,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fa40221d8012da5ae4005f42d90000c012328..."} 
[2026-07-27 20:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa40221d8012da5ae4005f42d90000c012328..."} 
[2026-07-27 20:08:09] local.INFO: Processing buffer {"connection_id":145542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa40221d8012da5ae4005f42d90000c012328..."} 
[2026-07-27 20:08:09] local.INFO: Packet analysis {"connection_id":145542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa402"} 
[2026-07-27 20:08:09] local.INFO: Extracted packet for processing {"connection_id":145542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa402"} 
[2026-07-27 20:08:09] local.INFO: GPS Element Parsed {"raw_longitude":765832768,"raw_latitude":99888528,"longitude_deg":76.5832768,"latitude_deg":9.9888528,"altitude":12,"angle":291,"satellites":40,"speed":0,"hex_longitude":"2da5ae40","hex_latitude":"05f42d90","is_valid_coordinates":true} 
[2026-07-27 20:08:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:08:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001658880001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:08:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359345147558756352,"note":"Value kept but may cause issues"} 
[2026-07-27 20:08:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6508194017188147200,"note":"Value kept but may cause issues"} 
[2026-07-27 20:08:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:08:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785163031000,"timestamp_ms":1785163031000,"timestamp_seconds":1785163031,"priority":1,"record_length":96,"hex_timestamp":"0000019fa40221d8"} 
[2026-07-27 20:08:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:08:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 20: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 20:08:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:08:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:08:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:08:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:08:09] local.INFO: Teltonika packet parsed successfully {"connection_id":145542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:08:09] local.INFO: Passing IMEI to GPS processor {"connection_id":145542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:08:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":145542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:08:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:08:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 20:08:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 20:08:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001658880001,"66":25321,"10":206,"88":19456,"24":0,"16":359345147558756352,"45":-6508194017188147200},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-07-27 20:08:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 20:08:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 20:08:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001658880001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:08:09] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-27 20:08:09] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-27 20:08:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359345147558756352,"km_value":359345147558756.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:08:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6508194017188147200,"description":"Unknown IO ID 45"} 
[2026-07-27 20:08:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001658880001,"power":25321,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6508194017188147200}} 
[2026-07-27 20:08:09] local.INFO: DEBUG: GPS processor result {"connection_id":145542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:08:09] local.INFO: GPS data processed {"connection_id":145542,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:08:09] local.INFO: Acknowledgment sent {"connection_id":145542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:08:31] local.INFO: TCP Data received {"connection_id":143129,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:08:31] local.INFO: Processing buffer {"connection_id":143129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:08:31] local.INFO: IMEI packet received {"connection_id":143129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 20:08:31] local.INFO: IMEI acknowledgment sent {"connection_id":143129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:08:36] local.INFO: TCP Data received {"connection_id":143129,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:08:36] local.INFO: Processing buffer {"connection_id":143129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:08:36] local.INFO: IMEI packet received {"connection_id":143129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 20:08:36] local.INFO: IMEI acknowledgment sent {"connection_id":143129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:08:37] local.INFO: TCP Data received {"connection_id":143272,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4019920012d196580071ff150003a014b26..."} 
[2026-07-27 20:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4019920012d196580071ff150003a014b26..."} 
[2026-07-27 20:08:37] local.INFO: Processing buffer {"connection_id":143272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4019920012d196580071ff150003a014b26..."} 
[2026-07-27 20:08:37] local.INFO: Packet analysis {"connection_id":143272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa401"} 
[2026-07-27 20:08:37] local.INFO: Extracted packet for processing {"connection_id":143272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa401"} 
[2026-07-27 20:08:37] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533904,"longitude_deg":75.6639104,"latitude_deg":11.9533904,"altitude":58,"angle":331,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff150","is_valid_coordinates":true} 
[2026-07-27 20:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:08:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001721600001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:08:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971671285268480,"note":"Value kept but may cause issues"} 
[2026-07-27 20:08:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685009408,"note":"Value kept but may cause issues"} 
[2026-07-27 20:08:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:08:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785162996000,"timestamp_ms":1785162996000,"timestamp_seconds":1785162996,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4019920"} 
[2026-07-27 20:08:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:08:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-27 20:08:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:08:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:08:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:08:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:08:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:08:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143272,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:08:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143272,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:08:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:08:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:08:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:08:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001721600001,"66":12254,"121":206,"28":31744,"24":0,"16":8971671285268480,"45":1830009591685009408},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:08:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:08:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:08:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001721600001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:08:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:08:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:08:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971671285268480,"km_value":8971671285268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:08:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685009408,"description":"Unknown IO ID 45"} 
[2026-07-27 20:08:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001721600001,"power":12254,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591685009408}} 
[2026-07-27 20:08:37] local.INFO: DEBUG: GPS processor result {"connection_id":143272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555201,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:08:37] local.INFO: GPS data processed {"connection_id":143272,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:08:37] local.INFO: Acknowledgment sent {"connection_id":143272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:08:37] local.INFO: TCP Data received {"connection_id":143129,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fa40221d8012da5ae4005f42d90000c012328..."} 
[2026-07-27 20:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143129,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa40221d8012da5ae4005f42d90000c012328..."} 
[2026-07-27 20:08:37] local.INFO: Processing buffer {"connection_id":143129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa40221d8012da5ae4005f42d90000c012328..."} 
[2026-07-27 20:08:37] local.INFO: Packet analysis {"connection_id":143129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa402"} 
[2026-07-27 20:08:37] local.INFO: Extracted packet for processing {"connection_id":143129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa402"} 
[2026-07-27 20:08:37] local.INFO: GPS Element Parsed {"raw_longitude":765832768,"raw_latitude":99888528,"longitude_deg":76.5832768,"latitude_deg":9.9888528,"altitude":12,"angle":291,"satellites":40,"speed":0,"hex_longitude":"2da5ae40","hex_latitude":"05f42d90","is_valid_coordinates":true} 
[2026-07-27 20:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:08:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001658880001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:08:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359345147558756352,"note":"Value kept but may cause issues"} 
[2026-07-27 20:08:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6508194017188147200,"note":"Value kept but may cause issues"} 
[2026-07-27 20:08:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:08:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785163031000,"timestamp_ms":1785163031000,"timestamp_seconds":1785163031,"priority":1,"record_length":96,"hex_timestamp":"0000019fa40221d8"} 
[2026-07-27 20:08:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:08:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 20:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 20:08:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:08:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:08:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:08:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:08:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:08:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:08:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:08:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:08:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 20:08:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 20:08:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001658880001,"66":25321,"10":206,"88":19456,"24":0,"16":359345147558756352,"45":-6508194017188147200},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-07-27 20:08:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 20:08:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 20:08:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001658880001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:08:37] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-27 20:08:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-27 20:08:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359345147558756352,"km_value":359345147558756.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:08:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6508194017188147200,"description":"Unknown IO ID 45"} 
[2026-07-27 20:08:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001658880001,"power":25321,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6508194017188147200}} 
[2026-07-27 20:08:37] local.INFO: DEBUG: GPS processor result {"connection_id":143129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:08:37] local.INFO: GPS data processed {"connection_id":143129,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:08:37] local.INFO: Acknowledgment sent {"connection_id":143129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:08:59] local.INFO: TCP Data received {"connection_id":145543,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145543,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:08:59] local.INFO: Processing buffer {"connection_id":145543,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:08:59] local.INFO: IMEI packet received {"connection_id":145543,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 20:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":145543,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:09:04] local.INFO: TCP Data received {"connection_id":145543,"ip":"117.225.227.158","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-27 20:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145543,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-27 20:09:04] local.INFO: Processing buffer {"connection_id":145543,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-27 20:09:04] local.INFO: IMEI packet received {"connection_id":145543,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 20:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":145543,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:09:05] local.INFO: TCP Data received {"connection_id":145543,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa401eb28012d196580071ff150003a014b28..."} 
[2026-07-27 20:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa401eb28012d196580071ff150003a014b28..."} 
[2026-07-27 20:09:05] local.INFO: Processing buffer {"connection_id":145543,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019fa4..."} 
[2026-07-27 20:09:05] local.INFO: IMEI packet received {"connection_id":145543,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 20:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":145543,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:09:08] local.INFO: TCP Data received {"connection_id":143129,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fa40221d8012da5ae4005f42d90000c012328..."} 
[2026-07-27 20:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143129,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa40221d8012da5ae4005f42d90000c012328..."} 
[2026-07-27 20:09:08] local.INFO: Processing buffer {"connection_id":143129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa40221d8012da5ae4005f42d90000c012328..."} 
[2026-07-27 20:09:08] local.INFO: Packet analysis {"connection_id":143129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa402"} 
[2026-07-27 20:09:08] local.INFO: Extracted packet for processing {"connection_id":143129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa402"} 
[2026-07-27 20:09:08] local.INFO: GPS Element Parsed {"raw_longitude":765832768,"raw_latitude":99888528,"longitude_deg":76.5832768,"latitude_deg":9.9888528,"altitude":12,"angle":291,"satellites":40,"speed":0,"hex_longitude":"2da5ae40","hex_latitude":"05f42d90","is_valid_coordinates":true} 
[2026-07-27 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-07-27 20:09:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001658880001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:09:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359345147558756352,"note":"Value kept but may cause issues"} 
[2026-07-27 20:09:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6508194017188147200,"note":"Value kept but may cause issues"} 
[2026-07-27 20:09:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:09:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785163031000,"timestamp_ms":1785163031000,"timestamp_seconds":1785163031,"priority":1,"record_length":96,"hex_timestamp":"0000019fa40221d8"} 
[2026-07-27 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-07-27 20:09:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 20:09:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 20:09:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:09:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:09:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:09:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:09:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:09:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 20:09:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 20:09:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001658880001,"66":25321,"10":206,"88":19456,"24":0,"16":359345147558756352,"45":-6508194017188147200},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-07-27 20:09:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 20:09:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 20:09:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001658880001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:09:08] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-27 20:09:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-27 20:09:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359345147558756352,"km_value":359345147558756.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:09:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6508194017188147200,"description":"Unknown IO ID 45"} 
[2026-07-27 20:09:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001658880001,"power":25321,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6508194017188147200}} 
[2026-07-27 20:09:08] local.INFO: DEBUG: GPS processor result {"connection_id":143129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:09:08] local.INFO: GPS data processed {"connection_id":143129,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:09:08] local.INFO: Acknowledgment sent {"connection_id":143129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:09:10] local.INFO: TCP Data received {"connection_id":145543,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4023d30012d196580071ff150003a014b25..."} 
[2026-07-27 20:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4023d30012d196580071ff150003a014b25..."} 
[2026-07-27 20:09:10] local.INFO: Processing buffer {"connection_id":145543,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019fa401eb28012d196580071ff150003a014b28..."} 
[2026-07-27 20:09:10] local.INFO: Packet analysis {"connection_id":145543,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fa401"} 
[2026-07-27 20:09:10] local.INFO: Extracted packet for processing {"connection_id":145543,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa401"} 
[2026-07-27 20:09:10] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533904,"longitude_deg":75.6639104,"latitude_deg":11.9533904,"altitude":58,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff150","is_valid_coordinates":true} 
[2026-07-27 20:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:09:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001726976001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:09:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971671285268480,"note":"Value kept but may cause issues"} 
[2026-07-27 20:09:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685009408,"note":"Value kept but may cause issues"} 
[2026-07-27 20:09:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:09:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785163017000,"timestamp_ms":1785163017000,"timestamp_seconds":1785163017,"priority":1,"record_length":96,"hex_timestamp":"0000019fa401eb28"} 
[2026-07-27 20:09:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:09:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-27 20:09:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:09:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:09:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:09:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:09:10] local.INFO: Teltonika packet parsed successfully {"connection_id":145543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:09:10] local.INFO: Passing IMEI to GPS processor {"connection_id":145543,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:09:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":145543,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:09:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:09:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:09:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:09:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001726976001,"66":12254,"121":206,"28":31744,"24":0,"16":8971671285268480,"45":1830009591685009408},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:09:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:09:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:09:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001726976001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:09:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:09:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:09:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971671285268480,"km_value":8971671285268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:09:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685009408,"description":"Unknown IO ID 45"} 
[2026-07-27 20:09:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001726976001,"power":12254,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591685009408}} 
[2026-07-27 20:09:10] local.INFO: DEBUG: GPS processor result {"connection_id":145543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555204,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:09:10] local.INFO: GPS data processed {"connection_id":145543,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:09:10] local.INFO: Acknowledgment sent {"connection_id":145543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:09:10] local.INFO: Packet analysis {"connection_id":145543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa402"} 
[2026-07-27 20:09:10] local.INFO: Extracted packet for processing {"connection_id":145543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa402"} 
[2026-07-27 20:09:10] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533904,"longitude_deg":75.6639104,"latitude_deg":11.9533904,"altitude":58,"angle":331,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff150","is_valid_coordinates":true} 
[2026-07-27 20:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:09:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001732352001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:09:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971671285268480,"note":"Value kept but may cause issues"} 
[2026-07-27 20:09:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685009408,"note":"Value kept but may cause issues"} 
[2026-07-27 20:09:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:09:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785163038000,"timestamp_ms":1785163038000,"timestamp_seconds":1785163038,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4023d30"} 
[2026-07-27 20:09:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:09:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-27 20:09:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:09:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:09:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:09:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:09:10] local.INFO: Teltonika packet parsed successfully {"connection_id":145543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:09:10] local.INFO: Passing IMEI to GPS processor {"connection_id":145543,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:09:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":145543,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:09:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:09:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:09:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:09:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001732352001,"66":12189,"121":206,"28":31744,"24":0,"16":8971671285268480,"45":1830009591685009408},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:09:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:09:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:09:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001732352001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:09:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:09:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:09:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971671285268480,"km_value":8971671285268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:09:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685009408,"description":"Unknown IO ID 45"} 
[2026-07-27 20:09:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001732352001,"power":12189,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591685009408}} 
[2026-07-27 20:09:10] local.INFO: DEBUG: GPS processor result {"connection_id":145543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555205,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:09:10] local.INFO: GPS data processed {"connection_id":145543,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:09:10] local.INFO: Acknowledgment sent {"connection_id":145543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:09:21] local.INFO: TCP Data received {"connection_id":143271,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 20:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143271,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 20:09:21] local.INFO: Processing buffer {"connection_id":143271,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 20:09:21] local.INFO: IMEI packet received {"connection_id":143271,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 20:09:21] local.INFO: IMEI acknowledgment sent {"connection_id":143271,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:09:31] local.INFO: TCP Data received {"connection_id":143130,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:09:31] local.INFO: Processing buffer {"connection_id":143130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:09:31] local.INFO: IMEI packet received {"connection_id":143130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 20:09:31] local.INFO: IMEI acknowledgment sent {"connection_id":143130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:09:36] local.INFO: TCP Data received {"connection_id":143130,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:09:36] local.INFO: Processing buffer {"connection_id":143130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:09:36] local.INFO: IMEI packet received {"connection_id":143130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 20:09:36] local.INFO: IMEI acknowledgment sent {"connection_id":143130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:09:37] local.INFO: TCP Data received {"connection_id":143130,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fa40221d8012da5ae4005f42d90000c012328..."} 
[2026-07-27 20:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143130,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa40221d8012da5ae4005f42d90000c012328..."} 
[2026-07-27 20:09:37] local.INFO: Processing buffer {"connection_id":143130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa40221d8012da5ae4005f42d90000c012328..."} 
[2026-07-27 20:09:37] local.INFO: Packet analysis {"connection_id":143130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa402"} 
[2026-07-27 20:09:37] local.INFO: Extracted packet for processing {"connection_id":143130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa402"} 
[2026-07-27 20:09:37] local.INFO: GPS Element Parsed {"raw_longitude":765832768,"raw_latitude":99888528,"longitude_deg":76.5832768,"latitude_deg":9.9888528,"altitude":12,"angle":291,"satellites":40,"speed":0,"hex_longitude":"2da5ae40","hex_latitude":"05f42d90","is_valid_coordinates":true} 
[2026-07-27 20:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001658880001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359345147558756352,"note":"Value kept but may cause issues"} 
[2026-07-27 20:09:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6508194017188147200,"note":"Value kept but may cause issues"} 
[2026-07-27 20:09:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785163031000,"timestamp_ms":1785163031000,"timestamp_seconds":1785163031,"priority":1,"record_length":96,"hex_timestamp":"0000019fa40221d8"} 
[2026-07-27 20:09:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:09:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 20:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 20:09:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:09:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:09:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:09:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 20:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 20:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001658880001,"66":25321,"10":206,"88":19456,"24":0,"16":359345147558756352,"45":-6508194017188147200},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-07-27 20:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 20:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 20:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001658880001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:09:37] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-27 20:09:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-27 20:09:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359345147558756352,"km_value":359345147558756.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:09:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6508194017188147200,"description":"Unknown IO ID 45"} 
[2026-07-27 20:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001658880001,"power":25321,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6508194017188147200}} 
[2026-07-27 20:09:37] local.INFO: DEBUG: GPS processor result {"connection_id":143130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:09:37] local.INFO: GPS data processed {"connection_id":143130,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:09:37] local.INFO: Acknowledgment sent {"connection_id":143130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:09:42] local.INFO: TCP Data received {"connection_id":145543,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4028f38012d196580071ff150003a014b27..."} 
[2026-07-27 20:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4028f38012d196580071ff150003a014b27..."} 
[2026-07-27 20:09:42] local.INFO: Processing buffer {"connection_id":145543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4028f38012d196580071ff150003a014b27..."} 
[2026-07-27 20:09:42] local.INFO: Packet analysis {"connection_id":145543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa402"} 
[2026-07-27 20:09:42] local.INFO: Extracted packet for processing {"connection_id":145543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa402"} 
[2026-07-27 20:09:42] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533904,"longitude_deg":75.6639104,"latitude_deg":11.9533904,"altitude":58,"angle":331,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff150","is_valid_coordinates":true} 
[2026-07-27 20: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-07-27 20:09:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001737728001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:09:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971671285268480,"note":"Value kept but may cause issues"} 
[2026-07-27 20:09:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685009408,"note":"Value kept but may cause issues"} 
[2026-07-27 20:09:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:09:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785163059000,"timestamp_ms":1785163059000,"timestamp_seconds":1785163059,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4028f38"} 
[2026-07-27 20:09:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:09:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20: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":47,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-07-27 20:09:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1846,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20: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-07-27 20:09:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:09:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:09:42] local.INFO: Teltonika packet parsed successfully {"connection_id":145543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:09:42] local.INFO: Passing IMEI to GPS processor {"connection_id":145543,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:09:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":145543,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:09:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:09:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:09:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:09:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001737728001,"66":12178,"121":206,"28":31744,"24":0,"16":8971671285268480,"45":1830009591685009408},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:09:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:09:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:09:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001737728001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:09:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:09:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:09:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971671285268480,"km_value":8971671285268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:09:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685009408,"description":"Unknown IO ID 45"} 
[2026-07-27 20:09:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001737728001,"power":12178,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591685009408}} 
[2026-07-27 20:09:42] local.INFO: DEBUG: GPS processor result {"connection_id":145543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555207,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:09:42] local.INFO: GPS data processed {"connection_id":145543,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:09:42] local.INFO: Acknowledgment sent {"connection_id":145543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:09:59] local.INFO: TCP Data received {"connection_id":145544,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145544,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:09:59] local.INFO: Processing buffer {"connection_id":145544,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:09:59] local.INFO: IMEI packet received {"connection_id":145544,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 20:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":145544,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:10:02] local.INFO: TCP Data received {"connection_id":145544,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145544,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:10:02] local.INFO: Processing buffer {"connection_id":145544,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:10:02] local.INFO: IMEI packet received {"connection_id":145544,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 20:10:02] local.INFO: IMEI acknowledgment sent {"connection_id":145544,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:10:04] local.INFO: TCP Data received {"connection_id":145544,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145544,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:10:04] local.INFO: Processing buffer {"connection_id":145544,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:10:04] local.INFO: IMEI packet received {"connection_id":145544,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 20:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":145544,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:10:05] local.INFO: TCP Data received {"connection_id":145544,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa402e140012d196580071ff150003a014b23..."} 
[2026-07-27 20:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa402e140012d196580071ff150003a014b23..."} 
[2026-07-27 20:10:05] local.INFO: Processing buffer {"connection_id":145544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa402e140012d196580071ff150003a014b23..."} 
[2026-07-27 20:10:05] local.INFO: Packet analysis {"connection_id":145544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa402"} 
[2026-07-27 20:10:05] local.INFO: Extracted packet for processing {"connection_id":145544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa402"} 
[2026-07-27 20:10:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533904,"longitude_deg":75.6639104,"latitude_deg":11.9533904,"altitude":58,"angle":331,"satellites":35,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff150","is_valid_coordinates":true} 
[2026-07-27 20:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:10:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001743104001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:10:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971671285268480,"note":"Value kept but may cause issues"} 
[2026-07-27 20:10:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685009408,"note":"Value kept but may cause issues"} 
[2026-07-27 20:10:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:10:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785163080000,"timestamp_ms":1785163080000,"timestamp_seconds":1785163080,"priority":1,"record_length":96,"hex_timestamp":"0000019fa402e140"} 
[2026-07-27 20:10:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:10:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-27 20:10:05] 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-07-27 20:10:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:10:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:10:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:10:05] local.INFO: Teltonika packet parsed successfully {"connection_id":145544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:10:05] local.INFO: Passing IMEI to GPS processor {"connection_id":145544,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:10:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":145544,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:10:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:10:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:10:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:10:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001743104001,"66":11830,"121":206,"28":31744,"24":0,"16":8971671285268480,"45":1830009591685009408},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:10:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:10:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:10:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001743104001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:10:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:10:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:10:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971671285268480,"km_value":8971671285268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:10:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685009408,"description":"Unknown IO ID 45"} 
[2026-07-27 20:10:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001743104001,"power":11830,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591685009408}} 
[2026-07-27 20:10:05] local.INFO: DEBUG: GPS processor result {"connection_id":145544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555208,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:10:05] local.INFO: GPS data processed {"connection_id":145544,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:10:05] local.INFO: Acknowledgment sent {"connection_id":145544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:10:09] local.INFO: TCP Data received {"connection_id":143130,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fa40221d8012da5ae4005f42d90000c012328..."} 
[2026-07-27 20:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143130,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa40221d8012da5ae4005f42d90000c012328..."} 
[2026-07-27 20:10:09] local.INFO: Processing buffer {"connection_id":143130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa40221d8012da5ae4005f42d90000c012328..."} 
[2026-07-27 20:10:09] local.INFO: Packet analysis {"connection_id":143130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa402"} 
[2026-07-27 20:10:09] local.INFO: Extracted packet for processing {"connection_id":143130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa402"} 
[2026-07-27 20:10:09] local.INFO: GPS Element Parsed {"raw_longitude":765832768,"raw_latitude":99888528,"longitude_deg":76.5832768,"latitude_deg":9.9888528,"altitude":12,"angle":291,"satellites":40,"speed":0,"hex_longitude":"2da5ae40","hex_latitude":"05f42d90","is_valid_coordinates":true} 
[2026-07-27 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-07-27 20:10:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001658880001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:10:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359345147558756352,"note":"Value kept but may cause issues"} 
[2026-07-27 20:10:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6508194017188147200,"note":"Value kept but may cause issues"} 
[2026-07-27 20:10:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:10:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785163031000,"timestamp_ms":1785163031000,"timestamp_seconds":1785163031,"priority":1,"record_length":96,"hex_timestamp":"0000019fa40221d8"} 
[2026-07-27 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-07-27 20:10:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 20:10:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 20:10:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:10:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:10:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:10:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:10:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:10:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 20:10:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 20:10:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001658880001,"66":25321,"10":206,"88":19456,"24":0,"16":359345147558756352,"45":-6508194017188147200},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-07-27 20:10:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 20:10:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 20:10:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001658880001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:10:09] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-27 20:10:09] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-27 20:10:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359345147558756352,"km_value":359345147558756.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:10:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6508194017188147200,"description":"Unknown IO ID 45"} 
[2026-07-27 20:10:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001658880001,"power":25321,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6508194017188147200}} 
[2026-07-27 20:10:09] local.INFO: DEBUG: GPS processor result {"connection_id":143130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:10:09] local.INFO: GPS data processed {"connection_id":143130,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:10:09] local.INFO: Acknowledgment sent {"connection_id":143130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:10:10] local.INFO: TCP Data received {"connection_id":145544,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4033348012d196580071ff150003a014b27..."} 
[2026-07-27 20:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4033348012d196580071ff150003a014b27..."} 
[2026-07-27 20:10:10] local.INFO: Processing buffer {"connection_id":145544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4033348012d196580071ff150003a014b27..."} 
[2026-07-27 20:10:10] local.INFO: Packet analysis {"connection_id":145544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa403"} 
[2026-07-27 20:10:10] local.INFO: Extracted packet for processing {"connection_id":145544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa403"} 
[2026-07-27 20:10:10] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533904,"longitude_deg":75.6639104,"latitude_deg":11.9533904,"altitude":58,"angle":331,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff150","is_valid_coordinates":true} 
[2026-07-27 20:10:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:10:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001748480001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:10:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971671285268480,"note":"Value kept but may cause issues"} 
[2026-07-27 20:10:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685009408,"note":"Value kept but may cause issues"} 
[2026-07-27 20:10:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:10:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785163101000,"timestamp_ms":1785163101000,"timestamp_seconds":1785163101,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4033348"} 
[2026-07-27 20:10:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:10:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20: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":46,"n8_eight_byte":54,"data_length":795,"current_offset":136} 
[2026-07-27 20:10:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":914,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:10:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:10:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:10:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:10:10] local.INFO: Teltonika packet parsed successfully {"connection_id":145544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:10:10] local.INFO: Passing IMEI to GPS processor {"connection_id":145544,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:10:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":145544,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:10:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:10:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:10:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:10:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001748480001,"66":12178,"121":206,"28":31744,"24":0,"16":8971671285268480,"45":1830009591685009408},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:10:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:10:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:10:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001748480001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:10:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:10:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:10:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971671285268480,"km_value":8971671285268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:10:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685009408,"description":"Unknown IO ID 45"} 
[2026-07-27 20:10:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001748480001,"power":12178,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591685009408}} 
[2026-07-27 20:10:10] local.INFO: DEBUG: GPS processor result {"connection_id":145544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555210,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:10:10] local.INFO: GPS data processed {"connection_id":145544,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:10:10] local.INFO: Acknowledgment sent {"connection_id":145544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:10:31] local.INFO: TCP Data received {"connection_id":144258,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:10:31] local.INFO: Processing buffer {"connection_id":144258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:10:31] local.INFO: IMEI packet received {"connection_id":144258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 20:10:31] local.INFO: IMEI acknowledgment sent {"connection_id":144258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:10:36] local.INFO: TCP Data received {"connection_id":144258,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:10:36] local.INFO: Processing buffer {"connection_id":144258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:10:36] local.INFO: IMEI packet received {"connection_id":144258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 20:10:36] local.INFO: IMEI acknowledgment sent {"connection_id":144258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:10:37] local.INFO: TCP Data received {"connection_id":144258,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fa40221d8012da5ae4005f42d90000c012328..."} 
[2026-07-27 20:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa40221d8012da5ae4005f42d90000c012328..."} 
[2026-07-27 20:10:37] local.INFO: Processing buffer {"connection_id":144258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa40221d8012da5ae4005f42d90000c012328..."} 
[2026-07-27 20:10:37] local.INFO: Packet analysis {"connection_id":144258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa402"} 
[2026-07-27 20:10:37] local.INFO: Extracted packet for processing {"connection_id":144258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa402"} 
[2026-07-27 20:10:37] local.INFO: GPS Element Parsed {"raw_longitude":765832768,"raw_latitude":99888528,"longitude_deg":76.5832768,"latitude_deg":9.9888528,"altitude":12,"angle":291,"satellites":40,"speed":0,"hex_longitude":"2da5ae40","hex_latitude":"05f42d90","is_valid_coordinates":true} 
[2026-07-27 20:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001658880001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359345147558756352,"note":"Value kept but may cause issues"} 
[2026-07-27 20:10:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6508194017188147200,"note":"Value kept but may cause issues"} 
[2026-07-27 20:10:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785163031000,"timestamp_ms":1785163031000,"timestamp_seconds":1785163031,"priority":1,"record_length":96,"hex_timestamp":"0000019fa40221d8"} 
[2026-07-27 20:10:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:10:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 20:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 20:10:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:10:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:10:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:10:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 20:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 20:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001658880001,"66":25321,"10":206,"88":19456,"24":0,"16":359345147558756352,"45":-6508194017188147200},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-07-27 20:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 20:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 20:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001658880001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:10:37] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-27 20:10:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-27 20:10:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359345147558756352,"km_value":359345147558756.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:10:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6508194017188147200,"description":"Unknown IO ID 45"} 
[2026-07-27 20:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001658880001,"power":25321,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6508194017188147200}} 
[2026-07-27 20:10:37] local.INFO: DEBUG: GPS processor result {"connection_id":144258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:10:37] local.INFO: GPS data processed {"connection_id":144258,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:10:37] local.INFO: Acknowledgment sent {"connection_id":144258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:10:41] local.INFO: TCP Data received {"connection_id":145544,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4038550012d196580071ff150003a014b27..."} 
[2026-07-27 20:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4038550012d196580071ff150003a014b27..."} 
[2026-07-27 20:10:41] local.INFO: Processing buffer {"connection_id":145544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4038550012d196580071ff150003a014b27..."} 
[2026-07-27 20:10:41] local.INFO: Packet analysis {"connection_id":145544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa403"} 
[2026-07-27 20:10:41] local.INFO: Extracted packet for processing {"connection_id":145544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa403"} 
[2026-07-27 20:10:41] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533904,"longitude_deg":75.6639104,"latitude_deg":11.9533904,"altitude":58,"angle":331,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff150","is_valid_coordinates":true} 
[2026-07-27 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-07-27 20:10:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001753856001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:10:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971671285268480,"note":"Value kept but may cause issues"} 
[2026-07-27 20:10:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685009408,"note":"Value kept but may cause issues"} 
[2026-07-27 20:10:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:10:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785163122000,"timestamp_ms":1785163122000,"timestamp_seconds":1785163122,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4038550"} 
[2026-07-27 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-07-27 20:10:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-27 20:10:41] 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-07-27 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-07-27 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-07-27 20:10:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:10:41] local.INFO: Teltonika packet parsed successfully {"connection_id":145544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:10:41] local.INFO: Passing IMEI to GPS processor {"connection_id":145544,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:10:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":145544,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:10:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:10:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:10:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:10:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001753856001,"66":12254,"121":206,"28":31744,"24":0,"16":8971671285268480,"45":1830009591685009408},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:10:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:10:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:10:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001753856001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:10:41] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:10:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:10:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971671285268480,"km_value":8971671285268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:10:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685009408,"description":"Unknown IO ID 45"} 
[2026-07-27 20:10:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001753856001,"power":12254,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591685009408}} 
[2026-07-27 20:10:42] local.INFO: DEBUG: GPS processor result {"connection_id":145544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555212,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:10:42] local.INFO: GPS data processed {"connection_id":145544,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:10:42] local.INFO: Acknowledgment sent {"connection_id":145544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:10:59] local.INFO: TCP Data received {"connection_id":145545,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145545,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:10:59] local.INFO: Processing buffer {"connection_id":145545,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:10:59] local.INFO: IMEI packet received {"connection_id":145545,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 20:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":145545,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:11:04] local.INFO: TCP Data received {"connection_id":145545,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145545,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:11:04] local.INFO: Processing buffer {"connection_id":145545,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:11:04] local.INFO: IMEI packet received {"connection_id":145545,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 20:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":145545,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:11:06] local.INFO: TCP Data received {"connection_id":145545,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa403d758012d196580071ff150003a014b28..."} 
[2026-07-27 20:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145545,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa403d758012d196580071ff150003a014b28..."} 
[2026-07-27 20:11:06] local.INFO: Processing buffer {"connection_id":145545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa403d758012d196580071ff150003a014b28..."} 
[2026-07-27 20:11:06] local.INFO: Packet analysis {"connection_id":145545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa403"} 
[2026-07-27 20:11:06] local.INFO: Extracted packet for processing {"connection_id":145545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa403"} 
[2026-07-27 20:11:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533904,"longitude_deg":75.6639104,"latitude_deg":11.9533904,"altitude":58,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff150","is_valid_coordinates":true} 
[2026-07-27 20:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001759232001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971671285268480,"note":"Value kept but may cause issues"} 
[2026-07-27 20:11:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685009408,"note":"Value kept but may cause issues"} 
[2026-07-27 20:11:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785163143000,"timestamp_ms":1785163143000,"timestamp_seconds":1785163143,"priority":1,"record_length":96,"hex_timestamp":"0000019fa403d758"} 
[2026-07-27 20:11:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:11:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-27 20:11:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:11:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:11:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":145545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":145545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":145545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:11:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001759232001,"66":12254,"121":206,"28":31744,"24":0,"16":8971671285268480,"45":1830009591685009408},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001759232001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:11:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:11:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971671285268480,"km_value":8971671285268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:11:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685009408,"description":"Unknown IO ID 45"} 
[2026-07-27 20:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001759232001,"power":12254,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591685009408}} 
[2026-07-27 20:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":145545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555213,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:11:06] local.INFO: GPS data processed {"connection_id":145545,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:11:06] local.INFO: Acknowledgment sent {"connection_id":145545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:11:08] local.INFO: TCP Data received {"connection_id":144258,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fa40221d8012da5ae4005f42d90000c012328..."} 
[2026-07-27 20:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa40221d8012da5ae4005f42d90000c012328..."} 
[2026-07-27 20:11:08] local.INFO: Processing buffer {"connection_id":144258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa40221d8012da5ae4005f42d90000c012328..."} 
[2026-07-27 20:11:08] local.INFO: Packet analysis {"connection_id":144258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa402"} 
[2026-07-27 20:11:08] local.INFO: Extracted packet for processing {"connection_id":144258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa402"} 
[2026-07-27 20:11:08] local.INFO: GPS Element Parsed {"raw_longitude":765832768,"raw_latitude":99888528,"longitude_deg":76.5832768,"latitude_deg":9.9888528,"altitude":12,"angle":291,"satellites":40,"speed":0,"hex_longitude":"2da5ae40","hex_latitude":"05f42d90","is_valid_coordinates":true} 
[2026-07-27 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-07-27 20:11:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001658880001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:11:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359345147558756352,"note":"Value kept but may cause issues"} 
[2026-07-27 20:11:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6508194017188147200,"note":"Value kept but may cause issues"} 
[2026-07-27 20:11:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:11:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785163031000,"timestamp_ms":1785163031000,"timestamp_seconds":1785163031,"priority":1,"record_length":96,"hex_timestamp":"0000019fa40221d8"} 
[2026-07-27 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-07-27 20:11:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 20: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-07-27 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-07-27 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-07-27 20:11:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:11:08] local.INFO: Teltonika packet parsed successfully {"connection_id":144258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:11:08] local.INFO: Passing IMEI to GPS processor {"connection_id":144258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:11:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":144258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:11:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:11:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 20:11:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 20:11:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001658880001,"66":25321,"10":206,"88":19456,"24":0,"16":359345147558756352,"45":-6508194017188147200},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-07-27 20:11:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 20:11:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 20:11:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001658880001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:11:08] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-27 20:11:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-27 20:11:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359345147558756352,"km_value":359345147558756.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:11:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6508194017188147200,"description":"Unknown IO ID 45"} 
[2026-07-27 20:11:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001658880001,"power":25321,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6508194017188147200}} 
[2026-07-27 20:11:08] local.INFO: DEBUG: GPS processor result {"connection_id":144258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:11:08] local.INFO: GPS data processed {"connection_id":144258,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:11:08] local.INFO: Acknowledgment sent {"connection_id":144258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:11:31] local.INFO: TCP Data received {"connection_id":144259,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:11:31] local.INFO: Processing buffer {"connection_id":144259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:11:31] local.INFO: IMEI packet received {"connection_id":144259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 20:11:31] local.INFO: IMEI acknowledgment sent {"connection_id":144259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:11:36] local.INFO: TCP Data received {"connection_id":144259,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:11:36] local.INFO: Processing buffer {"connection_id":144259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:11:36] local.INFO: IMEI packet received {"connection_id":144259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 20:11:36] local.INFO: IMEI acknowledgment sent {"connection_id":144259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:11:38] local.INFO: TCP Data received {"connection_id":145545,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4042960012d196580071ff150003a014b26..."} 
[2026-07-27 20:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145545,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4042960012d196580071ff150003a014b26..."} 
[2026-07-27 20:11:38] local.INFO: Processing buffer {"connection_id":145545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4042960012d196580071ff150003a014b26..."} 
[2026-07-27 20:11:38] local.INFO: Packet analysis {"connection_id":145545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa404"} 
[2026-07-27 20:11:38] local.INFO: Extracted packet for processing {"connection_id":145545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa404"} 
[2026-07-27 20:11:38] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533904,"longitude_deg":75.6639104,"latitude_deg":11.9533904,"altitude":58,"angle":331,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff150","is_valid_coordinates":true} 
[2026-07-27 20:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:11:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001764608001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:11:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971671285268480,"note":"Value kept but may cause issues"} 
[2026-07-27 20:11:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685009408,"note":"Value kept but may cause issues"} 
[2026-07-27 20:11:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:11:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785163164000,"timestamp_ms":1785163164000,"timestamp_seconds":1785163164,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4042960"} 
[2026-07-27 20:11:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:11:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-27 20:11:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:11:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:11:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:11:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:11:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:11:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:11:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:11:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:11:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:11:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:11:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001764608001,"66":12178,"121":206,"28":31744,"24":0,"16":8971671285268480,"45":1830009591685009408},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:11:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:11:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:11:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001764608001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:11:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:11:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:11:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971671285268480,"km_value":8971671285268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:11:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685009408,"description":"Unknown IO ID 45"} 
[2026-07-27 20:11:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001764608001,"power":12178,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591685009408}} 
[2026-07-27 20:11:38] local.INFO: DEBUG: GPS processor result {"connection_id":145545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555215,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:11:38] local.INFO: GPS data processed {"connection_id":145545,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:11:38] local.INFO: Acknowledgment sent {"connection_id":145545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:11:38] local.INFO: TCP Data received {"connection_id":144259,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa40221d8012da5ae4005f42d90000c012328..."} 
[2026-07-27 20:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa40221d8012da5ae4005f42d90000c012328..."} 
[2026-07-27 20:11:38] local.INFO: Processing buffer {"connection_id":144259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa40221d8012da5ae4005f42d90000c012328..."} 
[2026-07-27 20:11:38] local.INFO: Packet analysis {"connection_id":144259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa402"} 
[2026-07-27 20:11:38] local.INFO: Extracted packet for processing {"connection_id":144259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa402"} 
[2026-07-27 20:11:38] local.INFO: GPS Element Parsed {"raw_longitude":765832768,"raw_latitude":99888528,"longitude_deg":76.5832768,"latitude_deg":9.9888528,"altitude":12,"angle":291,"satellites":40,"speed":0,"hex_longitude":"2da5ae40","hex_latitude":"05f42d90","is_valid_coordinates":true} 
[2026-07-27 20:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:11:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001658880001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:11:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359345147558756352,"note":"Value kept but may cause issues"} 
[2026-07-27 20:11:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6508194017188147200,"note":"Value kept but may cause issues"} 
[2026-07-27 20:11:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:11:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785163031000,"timestamp_ms":1785163031000,"timestamp_seconds":1785163031,"priority":1,"record_length":96,"hex_timestamp":"0000019fa40221d8"} 
[2026-07-27 20:11:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:11:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 20: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 20:11:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:11:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:11:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:11:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:11:38] local.INFO: Teltonika packet parsed successfully {"connection_id":144259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:11:38] local.INFO: Passing IMEI to GPS processor {"connection_id":144259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:11:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":144259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:11:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:11:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 20:11:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 20:11:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001658880001,"66":25321,"10":206,"88":19456,"24":0,"16":359345147558756352,"45":-6508194017188147200},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-07-27 20:11:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 20:11:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 20:11:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001658880001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:11:38] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-27 20:11:38] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-27 20:11:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359345147558756352,"km_value":359345147558756.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:11:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6508194017188147200,"description":"Unknown IO ID 45"} 
[2026-07-27 20:11:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001658880001,"power":25321,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6508194017188147200}} 
[2026-07-27 20:11:38] local.INFO: DEBUG: GPS processor result {"connection_id":144259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:11:38] local.INFO: GPS data processed {"connection_id":144259,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:11:38] local.INFO: Acknowledgment sent {"connection_id":144259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:11:59] local.INFO: TCP Data received {"connection_id":143273,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143273,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:11:59] local.INFO: Processing buffer {"connection_id":143273,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:11:59] local.INFO: IMEI packet received {"connection_id":143273,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 20:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":143273,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:12:04] local.INFO: TCP Data received {"connection_id":143273,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143273,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:12:04] local.INFO: Processing buffer {"connection_id":143273,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:12:04] local.INFO: IMEI packet received {"connection_id":143273,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 20:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":143273,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:12:05] local.INFO: TCP Data received {"connection_id":143273,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4047b68012d196580071ff150003a014b26..."} 
[2026-07-27 20:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143273,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4047b68012d196580071ff150003a014b26..."} 
[2026-07-27 20:12:05] local.INFO: Processing buffer {"connection_id":143273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4047b68012d196580071ff150003a014b26..."} 
[2026-07-27 20:12:05] local.INFO: Packet analysis {"connection_id":143273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa404"} 
[2026-07-27 20:12:05] local.INFO: Extracted packet for processing {"connection_id":143273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa404"} 
[2026-07-27 20:12:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533904,"longitude_deg":75.6639104,"latitude_deg":11.9533904,"altitude":58,"angle":331,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff150","is_valid_coordinates":true} 
[2026-07-27 20:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:12:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001769984001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:12:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971671285268480,"note":"Value kept but may cause issues"} 
[2026-07-27 20:12:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685009408,"note":"Value kept but may cause issues"} 
[2026-07-27 20:12:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:12:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785163185000,"timestamp_ms":1785163185000,"timestamp_seconds":1785163185,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4047b68"} 
[2026-07-27 20:12:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:12:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-27 20:12:05] 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-07-27 20:12:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:12:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:12:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:12:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:12:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143273,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:12:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143273,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:12:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:12:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:12:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:12:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001769984001,"66":12254,"121":206,"28":31744,"24":0,"16":8971671285268480,"45":1830009591685009408},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:12:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:12:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:12:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001769984001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:12:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:12:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:12:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971671285268480,"km_value":8971671285268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:12:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685009408,"description":"Unknown IO ID 45"} 
[2026-07-27 20:12:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001769984001,"power":12254,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591685009408}} 
[2026-07-27 20:12:05] local.INFO: DEBUG: GPS processor result {"connection_id":143273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555217,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:12:05] local.INFO: GPS data processed {"connection_id":143273,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:12:05] local.INFO: Acknowledgment sent {"connection_id":143273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:12:09] local.INFO: TCP Data received {"connection_id":144259,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa40221d8012da5ae4005f42d90000c012328..."} 
[2026-07-27 20:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa40221d8012da5ae4005f42d90000c012328..."} 
[2026-07-27 20:12:09] local.INFO: Processing buffer {"connection_id":144259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa40221d8012da5ae4005f42d90000c012328..."} 
[2026-07-27 20:12:09] local.INFO: Packet analysis {"connection_id":144259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa402"} 
[2026-07-27 20:12:09] local.INFO: Extracted packet for processing {"connection_id":144259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa402"} 
[2026-07-27 20:12:09] local.INFO: GPS Element Parsed {"raw_longitude":765832768,"raw_latitude":99888528,"longitude_deg":76.5832768,"latitude_deg":9.9888528,"altitude":12,"angle":291,"satellites":40,"speed":0,"hex_longitude":"2da5ae40","hex_latitude":"05f42d90","is_valid_coordinates":true} 
[2026-07-27 20:12:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:12:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001658880001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:12:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359345147558756352,"note":"Value kept but may cause issues"} 
[2026-07-27 20:12:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6508194017188147200,"note":"Value kept but may cause issues"} 
[2026-07-27 20:12:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:12:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785163031000,"timestamp_ms":1785163031000,"timestamp_seconds":1785163031,"priority":1,"record_length":96,"hex_timestamp":"0000019fa40221d8"} 
[2026-07-27 20:12:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:12:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 20: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 20:12:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:12:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:12:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:12:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:12:09] local.INFO: Teltonika packet parsed successfully {"connection_id":144259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:12:09] local.INFO: Passing IMEI to GPS processor {"connection_id":144259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:12:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":144259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:12:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:12:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 20:12:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 20:12:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001658880001,"66":25321,"10":206,"88":19456,"24":0,"16":359345147558756352,"45":-6508194017188147200},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-07-27 20:12:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 20:12:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 20:12:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001658880001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:12:09] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-27 20:12:09] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-27 20:12:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359345147558756352,"km_value":359345147558756.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:12:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6508194017188147200,"description":"Unknown IO ID 45"} 
[2026-07-27 20:12:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001658880001,"power":25321,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6508194017188147200}} 
[2026-07-27 20:12:09] local.INFO: DEBUG: GPS processor result {"connection_id":144259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:12:09] local.INFO: GPS data processed {"connection_id":144259,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:12:09] local.INFO: Acknowledgment sent {"connection_id":144259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:12:31] local.INFO: TCP Data received {"connection_id":145546,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:12:31] local.INFO: Processing buffer {"connection_id":145546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:12:31] local.INFO: IMEI packet received {"connection_id":145546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 20:12:31] local.INFO: IMEI acknowledgment sent {"connection_id":145546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:12:36] local.INFO: TCP Data received {"connection_id":145546,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:12:36] local.INFO: Processing buffer {"connection_id":145546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:12:36] local.INFO: IMEI packet received {"connection_id":145546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 20:12:36] local.INFO: IMEI acknowledgment sent {"connection_id":145546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:12:37] local.INFO: TCP Data received {"connection_id":143273,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa404cd70012d196580071ff150003a014b26..."} 
[2026-07-27 20:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143273,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa404cd70012d196580071ff150003a014b26..."} 
[2026-07-27 20:12:37] local.INFO: Processing buffer {"connection_id":143273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa404cd70012d196580071ff150003a014b26..."} 
[2026-07-27 20:12:37] local.INFO: Packet analysis {"connection_id":143273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa404"} 
[2026-07-27 20:12:37] local.INFO: Extracted packet for processing {"connection_id":143273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa404"} 
[2026-07-27 20:12:37] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533904,"longitude_deg":75.6639104,"latitude_deg":11.9533904,"altitude":58,"angle":331,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff150","is_valid_coordinates":true} 
[2026-07-27 20:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:12:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001775360001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:12:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971671285268480,"note":"Value kept but may cause issues"} 
[2026-07-27 20:12:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685009408,"note":"Value kept but may cause issues"} 
[2026-07-27 20:12:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:12:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785163206000,"timestamp_ms":1785163206000,"timestamp_seconds":1785163206,"priority":1,"record_length":96,"hex_timestamp":"0000019fa404cd70"} 
[2026-07-27 20:12:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:12:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-27 20:12:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:12:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:12:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:12:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:12:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:12:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143273,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:12:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143273,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:12:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:12:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:12:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:12:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001775360001,"66":12211,"121":206,"28":31744,"24":0,"16":8971671285268480,"45":1830009591685009408},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:12:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:12:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:12:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001775360001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:12:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:12:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:12:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971671285268480,"km_value":8971671285268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:12:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685009408,"description":"Unknown IO ID 45"} 
[2026-07-27 20:12:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001775360001,"power":12211,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591685009408}} 
[2026-07-27 20:12:37] local.INFO: DEBUG: GPS processor result {"connection_id":143273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555219,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:12:37] local.INFO: GPS data processed {"connection_id":143273,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:12:37] local.INFO: Acknowledgment sent {"connection_id":143273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:12:37] local.INFO: TCP Data received {"connection_id":145546,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa40221d8012da5ae4005f42d90000c012328..."} 
[2026-07-27 20:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa40221d8012da5ae4005f42d90000c012328..."} 
[2026-07-27 20:12:37] local.INFO: Processing buffer {"connection_id":145546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa40221d8012da5ae4005f42d90000c012328..."} 
[2026-07-27 20:12:37] local.INFO: Packet analysis {"connection_id":145546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa402"} 
[2026-07-27 20:12:37] local.INFO: Extracted packet for processing {"connection_id":145546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa402"} 
[2026-07-27 20:12:37] local.INFO: GPS Element Parsed {"raw_longitude":765832768,"raw_latitude":99888528,"longitude_deg":76.5832768,"latitude_deg":9.9888528,"altitude":12,"angle":291,"satellites":40,"speed":0,"hex_longitude":"2da5ae40","hex_latitude":"05f42d90","is_valid_coordinates":true} 
[2026-07-27 20:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:12:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001658880001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:12:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359345147558756352,"note":"Value kept but may cause issues"} 
[2026-07-27 20:12:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6508194017188147200,"note":"Value kept but may cause issues"} 
[2026-07-27 20:12:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:12:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785163031000,"timestamp_ms":1785163031000,"timestamp_seconds":1785163031,"priority":1,"record_length":96,"hex_timestamp":"0000019fa40221d8"} 
[2026-07-27 20:12:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:12:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 20:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 20:12:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:12:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:12:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:12:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:12:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:12:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:12:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:12:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:12:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 20:12:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 20:12:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001658880001,"66":25321,"10":206,"88":19456,"24":0,"16":359345147558756352,"45":-6508194017188147200},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-07-27 20:12:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 20:12:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 20:12:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001658880001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:12:37] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-27 20:12:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-27 20:12:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359345147558756352,"km_value":359345147558756.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:12:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6508194017188147200,"description":"Unknown IO ID 45"} 
[2026-07-27 20:12:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001658880001,"power":25321,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6508194017188147200}} 
[2026-07-27 20:12:37] local.INFO: DEBUG: GPS processor result {"connection_id":145546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:12:37] local.INFO: GPS data processed {"connection_id":145546,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:12:37] local.INFO: Acknowledgment sent {"connection_id":145546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:13:04] local.INFO: TCP Data received {"connection_id":144260,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144260,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:13:04] local.INFO: Processing buffer {"connection_id":144260,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:13:04] local.INFO: IMEI packet received {"connection_id":144260,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 20:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":144260,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:13:08] local.INFO: TCP Data received {"connection_id":145546,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa406b9a0012da5ae4005f42d90000c012328..."} 
[2026-07-27 20:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa406b9a0012da5ae4005f42d90000c012328..."} 
[2026-07-27 20:13:08] local.INFO: Processing buffer {"connection_id":145546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa406b9a0012da5ae4005f42d90000c012328..."} 
[2026-07-27 20:13:08] local.INFO: Packet analysis {"connection_id":145546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa406"} 
[2026-07-27 20:13:08] local.INFO: Extracted packet for processing {"connection_id":145546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa406"} 
[2026-07-27 20:13:08] local.INFO: GPS Element Parsed {"raw_longitude":765832768,"raw_latitude":99888528,"longitude_deg":76.5832768,"latitude_deg":9.9888528,"altitude":12,"angle":291,"satellites":40,"speed":0,"hex_longitude":"2da5ae40","hex_latitude":"05f42d90","is_valid_coordinates":true} 
[2026-07-27 20:13:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:13:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001735936001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:13:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359345147558756352,"note":"Value kept but may cause issues"} 
[2026-07-27 20:13:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6508194017188147200,"note":"Value kept but may cause issues"} 
[2026-07-27 20:13:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:13:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785163332000,"timestamp_ms":1785163332000,"timestamp_seconds":1785163332,"priority":1,"record_length":96,"hex_timestamp":"0000019fa406b9a0"} 
[2026-07-27 20:13:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:13:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 20: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-07-27 20: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-07-27 20:13:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:13:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:13:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:13:08] local.INFO: Teltonika packet parsed successfully {"connection_id":145546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:13:08] local.INFO: Passing IMEI to GPS processor {"connection_id":145546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:13:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":145546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:13:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:13:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 20:13:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 20:13:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001735936001,"66":25343,"10":206,"88":19456,"24":0,"16":359345147558756352,"45":-6508194017188147200},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-07-27 20:13:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 20:13:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 20:13:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001735936001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:13:08] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-27 20:13:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-27 20:13:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359345147558756352,"km_value":359345147558756.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:13:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6508194017188147200,"description":"Unknown IO ID 45"} 
[2026-07-27 20:13:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001735936001,"power":25343,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6508194017188147200}} 
[2026-07-27 20:13:08] local.INFO: DEBUG: GPS processor result {"connection_id":145546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:13:08] local.INFO: GPS data processed {"connection_id":145546,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:13:08] local.INFO: Acknowledgment sent {"connection_id":145546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:13:09] local.INFO: TCP Data received {"connection_id":144260,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144260,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:13:09] local.INFO: Processing buffer {"connection_id":144260,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:13:09] local.INFO: IMEI packet received {"connection_id":144260,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 20:13:09] local.INFO: IMEI acknowledgment sent {"connection_id":144260,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:13:10] local.INFO: TCP Data received {"connection_id":144260,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4051f78012d196580071ff150003a014b28..."} 
[2026-07-27 20:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4051f78012d196580071ff150003a014b28..."} 
[2026-07-27 20:13:10] local.INFO: Processing buffer {"connection_id":144260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4051f78012d196580071ff150003a014b28..."} 
[2026-07-27 20:13:10] local.INFO: Packet analysis {"connection_id":144260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa405"} 
[2026-07-27 20:13:10] local.INFO: Extracted packet for processing {"connection_id":144260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa405"} 
[2026-07-27 20:13:10] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533904,"longitude_deg":75.6639104,"latitude_deg":11.9533904,"altitude":58,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff150","is_valid_coordinates":true} 
[2026-07-27 20:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:13:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001780736001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:13:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971671285268480,"note":"Value kept but may cause issues"} 
[2026-07-27 20:13:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685009408,"note":"Value kept but may cause issues"} 
[2026-07-27 20:13:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:13:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785163227000,"timestamp_ms":1785163227000,"timestamp_seconds":1785163227,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4051f78"} 
[2026-07-27 20:13:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:13:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-27 20:13:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:13:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:13:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:13:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:13:10] local.INFO: Teltonika packet parsed successfully {"connection_id":144260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:13:10] local.INFO: Passing IMEI to GPS processor {"connection_id":144260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:13:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":144260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:13:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:13:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:13:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:13:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001780736001,"66":12232,"121":206,"28":31744,"24":0,"16":8971671285268480,"45":1830009591685009408},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:13:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:13:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:13:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001780736001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:13:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:13:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:13:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971671285268480,"km_value":8971671285268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:13:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685009408,"description":"Unknown IO ID 45"} 
[2026-07-27 20:13:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001780736001,"power":12232,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591685009408}} 
[2026-07-27 20:13:10] local.INFO: DEBUG: GPS processor result {"connection_id":144260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555222,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:13:10] local.INFO: GPS data processed {"connection_id":144260,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:13:10] local.INFO: Acknowledgment sent {"connection_id":144260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:13:12] local.INFO: TCP Data received {"connection_id":144260,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4057180012d196580071ff150003a014b28..."} 
[2026-07-27 20:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4057180012d196580071ff150003a014b28..."} 
[2026-07-27 20:13:12] local.INFO: Processing buffer {"connection_id":144260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4057180012d196580071ff150003a014b28..."} 
[2026-07-27 20:13:12] local.INFO: Packet analysis {"connection_id":144260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa405"} 
[2026-07-27 20:13:12] local.INFO: Extracted packet for processing {"connection_id":144260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa405"} 
[2026-07-27 20:13:12] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533904,"longitude_deg":75.6639104,"latitude_deg":11.9533904,"altitude":58,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff150","is_valid_coordinates":true} 
[2026-07-27 20:13:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:13:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001786112001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:13:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971671285268480,"note":"Value kept but may cause issues"} 
[2026-07-27 20:13:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685009408,"note":"Value kept but may cause issues"} 
[2026-07-27 20:13:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:13:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785163248000,"timestamp_ms":1785163248000,"timestamp_seconds":1785163248,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4057180"} 
[2026-07-27 20:13:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:13:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20:13:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-27 20:13:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:13:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:13:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:13:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:13:12] local.INFO: Teltonika packet parsed successfully {"connection_id":144260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:13:12] local.INFO: Passing IMEI to GPS processor {"connection_id":144260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:13:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":144260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:13:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:13:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:13:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:13:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001786112001,"66":12254,"121":206,"28":31744,"24":0,"16":8971671285268480,"45":1830009591685009408},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:13:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:13:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:13:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001786112001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:13:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:13:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:13:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971671285268480,"km_value":8971671285268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:13:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685009408,"description":"Unknown IO ID 45"} 
[2026-07-27 20:13:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001786112001,"power":12254,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591685009408}} 
[2026-07-27 20:13:12] local.INFO: DEBUG: GPS processor result {"connection_id":144260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555223,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:13:12] local.INFO: GPS data processed {"connection_id":144260,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:13:12] local.INFO: Acknowledgment sent {"connection_id":144260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:13:31] local.INFO: TCP Data received {"connection_id":143131,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:13:31] local.INFO: Processing buffer {"connection_id":143131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:13:31] local.INFO: IMEI packet received {"connection_id":143131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 20:13:31] local.INFO: IMEI acknowledgment sent {"connection_id":143131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:13:36] local.INFO: TCP Data received {"connection_id":143131,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:13:36] local.INFO: Processing buffer {"connection_id":143131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:13:36] local.INFO: IMEI packet received {"connection_id":143131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 20:13:36] local.INFO: IMEI acknowledgment sent {"connection_id":143131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:13:37] local.INFO: TCP Data received {"connection_id":143131,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fa406b9a0012da5ae4005f42d90000c012328..."} 
[2026-07-27 20:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143131,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa406b9a0012da5ae4005f42d90000c012328..."} 
[2026-07-27 20:13:37] local.INFO: Processing buffer {"connection_id":143131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa406b9a0012da5ae4005f42d90000c012328..."} 
[2026-07-27 20:13:37] local.INFO: Packet analysis {"connection_id":143131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa406"} 
[2026-07-27 20:13:37] local.INFO: Extracted packet for processing {"connection_id":143131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa406"} 
[2026-07-27 20:13:37] local.INFO: GPS Element Parsed {"raw_longitude":765832768,"raw_latitude":99888528,"longitude_deg":76.5832768,"latitude_deg":9.9888528,"altitude":12,"angle":291,"satellites":40,"speed":0,"hex_longitude":"2da5ae40","hex_latitude":"05f42d90","is_valid_coordinates":true} 
[2026-07-27 20:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:13:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001735936001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:13:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359345147558756352,"note":"Value kept but may cause issues"} 
[2026-07-27 20:13:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6508194017188147200,"note":"Value kept but may cause issues"} 
[2026-07-27 20:13:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:13:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785163332000,"timestamp_ms":1785163332000,"timestamp_seconds":1785163332,"priority":1,"record_length":96,"hex_timestamp":"0000019fa406b9a0"} 
[2026-07-27 20:13:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:13:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 20:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 20:13:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:13:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:13:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:13:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:13:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:13:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:13:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:13:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:13:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 20:13:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 20:13:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001735936001,"66":25343,"10":206,"88":19456,"24":0,"16":359345147558756352,"45":-6508194017188147200},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-07-27 20:13:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 20:13:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 20:13:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001735936001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:13:37] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-27 20:13:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-27 20:13:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359345147558756352,"km_value":359345147558756.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:13:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6508194017188147200,"description":"Unknown IO ID 45"} 
[2026-07-27 20:13:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001735936001,"power":25343,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6508194017188147200}} 
[2026-07-27 20:13:37] local.INFO: DEBUG: GPS processor result {"connection_id":143131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:13:37] local.INFO: GPS data processed {"connection_id":143131,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:13:37] local.INFO: Acknowledgment sent {"connection_id":143131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:13:44] local.INFO: TCP Data received {"connection_id":144260,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa405c388012d196580071ff150003a014b21..."} 
[2026-07-27 20:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa405c388012d196580071ff150003a014b21..."} 
[2026-07-27 20:13:44] local.INFO: Processing buffer {"connection_id":144260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa405c388012d196580071ff150003a014b21..."} 
[2026-07-27 20:13:44] local.INFO: Packet analysis {"connection_id":144260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa405"} 
[2026-07-27 20:13:44] local.INFO: Extracted packet for processing {"connection_id":144260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa405"} 
[2026-07-27 20:13:44] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533904,"longitude_deg":75.6639104,"latitude_deg":11.9533904,"altitude":58,"angle":331,"satellites":33,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff150","is_valid_coordinates":true} 
[2026-07-27 20:13:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:13:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001791488001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:13:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971671285268480,"note":"Value kept but may cause issues"} 
[2026-07-27 20:13:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685009408,"note":"Value kept but may cause issues"} 
[2026-07-27 20:13:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:13:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785163269000,"timestamp_ms":1785163269000,"timestamp_seconds":1785163269,"priority":1,"record_length":96,"hex_timestamp":"0000019fa405c388"} 
[2026-07-27 20:13:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:13:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20:13:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-27 20:13:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:13:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:13:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:13:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:13:44] local.INFO: Teltonika packet parsed successfully {"connection_id":144260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:13:44] local.INFO: Passing IMEI to GPS processor {"connection_id":144260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:13:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":144260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:13:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:13:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:13:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:13:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001791488001,"66":12211,"121":206,"28":31744,"24":0,"16":8971671285268480,"45":1830009591685009408},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:13:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:13:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:13:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001791488001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:13:44] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:13:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:13:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971671285268480,"km_value":8971671285268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:13:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685009408,"description":"Unknown IO ID 45"} 
[2026-07-27 20:13:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001791488001,"power":12211,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591685009408}} 
[2026-07-27 20:13:44] local.INFO: DEBUG: GPS processor result {"connection_id":144260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555225,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:13:44] local.INFO: GPS data processed {"connection_id":144260,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:13:44] local.INFO: Acknowledgment sent {"connection_id":144260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:13:59] local.INFO: TCP Data received {"connection_id":143275,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143275,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:13:59] local.INFO: Processing buffer {"connection_id":143275,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:13:59] local.INFO: IMEI packet received {"connection_id":143275,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 20:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":143275,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:14:04] local.INFO: TCP Data received {"connection_id":143275,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143275,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:14:04] local.INFO: Processing buffer {"connection_id":143275,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:14:04] local.INFO: IMEI packet received {"connection_id":143275,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 20:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":143275,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:14:05] local.INFO: TCP Data received {"connection_id":143275,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4061590012d196580071ff150003a014b27..."} 
[2026-07-27 20:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4061590012d196580071ff150003a014b27..."} 
[2026-07-27 20:14:05] local.INFO: Processing buffer {"connection_id":143275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4061590012d196580071ff150003a014b27..."} 
[2026-07-27 20:14:05] local.INFO: Packet analysis {"connection_id":143275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa406"} 
[2026-07-27 20:14:05] local.INFO: Extracted packet for processing {"connection_id":143275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa406"} 
[2026-07-27 20:14:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533904,"longitude_deg":75.6639104,"latitude_deg":11.9533904,"altitude":58,"angle":331,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff150","is_valid_coordinates":true} 
[2026-07-27 20:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:14:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001796864001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:14:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971671285268480,"note":"Value kept but may cause issues"} 
[2026-07-27 20:14:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685009408,"note":"Value kept but may cause issues"} 
[2026-07-27 20:14:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:14:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785163290000,"timestamp_ms":1785163290000,"timestamp_seconds":1785163290,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4061590"} 
[2026-07-27 20:14:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:14:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-27 20:14:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:14:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:14:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:14:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:14:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:14:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:14:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:14:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:14:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:14:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:14:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001796864001,"66":12178,"121":206,"28":31744,"24":0,"16":8971671285268480,"45":1830009591685009408},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:14:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:14:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:14:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001796864001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:14:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:14:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:14:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971671285268480,"km_value":8971671285268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:14:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685009408,"description":"Unknown IO ID 45"} 
[2026-07-27 20:14:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001796864001,"power":12178,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591685009408}} 
[2026-07-27 20:14:05] local.INFO: DEBUG: GPS processor result {"connection_id":143275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555226,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:14:05] local.INFO: GPS data processed {"connection_id":143275,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:14:05] local.INFO: Acknowledgment sent {"connection_id":143275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:14:08] local.INFO: TCP Data received {"connection_id":143131,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fa406b9a0012da5ae4005f42d90000c012328..."} 
[2026-07-27 20:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143131,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa406b9a0012da5ae4005f42d90000c012328..."} 
[2026-07-27 20:14:08] local.INFO: Processing buffer {"connection_id":143131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa406b9a0012da5ae4005f42d90000c012328..."} 
[2026-07-27 20:14:08] local.INFO: Packet analysis {"connection_id":143131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa406"} 
[2026-07-27 20:14:08] local.INFO: Extracted packet for processing {"connection_id":143131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa406"} 
[2026-07-27 20:14:08] local.INFO: GPS Element Parsed {"raw_longitude":765832768,"raw_latitude":99888528,"longitude_deg":76.5832768,"latitude_deg":9.9888528,"altitude":12,"angle":291,"satellites":40,"speed":0,"hex_longitude":"2da5ae40","hex_latitude":"05f42d90","is_valid_coordinates":true} 
[2026-07-27 20:14:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:14:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001735936001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:14:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359345147558756352,"note":"Value kept but may cause issues"} 
[2026-07-27 20:14:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6508194017188147200,"note":"Value kept but may cause issues"} 
[2026-07-27 20:14:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:14:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785163332000,"timestamp_ms":1785163332000,"timestamp_seconds":1785163332,"priority":1,"record_length":96,"hex_timestamp":"0000019fa406b9a0"} 
[2026-07-27 20:14:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:14:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 20:14:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 20:14:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:14:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:14:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:14:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:14:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:14:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:14:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:14:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:14:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 20:14:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 20:14:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001735936001,"66":25343,"10":206,"88":19456,"24":0,"16":359345147558756352,"45":-6508194017188147200},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-07-27 20:14:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 20:14:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 20:14:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001735936001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:14:08] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-27 20:14:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-27 20:14:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359345147558756352,"km_value":359345147558756.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:14:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6508194017188147200,"description":"Unknown IO ID 45"} 
[2026-07-27 20:14:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001735936001,"power":25343,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6508194017188147200}} 
[2026-07-27 20:14:08] local.INFO: DEBUG: GPS processor result {"connection_id":143131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:14:08] local.INFO: GPS data processed {"connection_id":143131,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:14:08] local.INFO: Acknowledgment sent {"connection_id":143131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:14:10] local.INFO: TCP Data received {"connection_id":143275,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4066798012d196580071ff150003a014b27..."} 
[2026-07-27 20:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4066798012d196580071ff150003a014b27..."} 
[2026-07-27 20:14:10] local.INFO: Processing buffer {"connection_id":143275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4066798012d196580071ff150003a014b27..."} 
[2026-07-27 20:14:10] local.INFO: Packet analysis {"connection_id":143275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa406"} 
[2026-07-27 20:14:10] local.INFO: Extracted packet for processing {"connection_id":143275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa406"} 
[2026-07-27 20:14:10] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533904,"longitude_deg":75.6639104,"latitude_deg":11.9533904,"altitude":58,"angle":331,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff150","is_valid_coordinates":true} 
[2026-07-27 20:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:14:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001802240001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:14:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971671285268480,"note":"Value kept but may cause issues"} 
[2026-07-27 20:14:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685009408,"note":"Value kept but may cause issues"} 
[2026-07-27 20:14:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:14:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785163311000,"timestamp_ms":1785163311000,"timestamp_seconds":1785163311,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4066798"} 
[2026-07-27 20:14:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:14:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20: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":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-27 20:14:10] 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-07-27 20:14:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:14:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:14:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:14:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:14:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:14:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:14:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:14:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:14:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:14:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001802240001,"66":12254,"121":206,"28":31744,"24":0,"16":8971671285268480,"45":1830009591685009408},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:14:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:14:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:14:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001802240001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:14:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:14:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:14:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971671285268480,"km_value":8971671285268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:14:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685009408,"description":"Unknown IO ID 45"} 
[2026-07-27 20:14:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001802240001,"power":12254,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591685009408}} 
[2026-07-27 20:14:10] local.INFO: DEBUG: GPS processor result {"connection_id":143275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555228,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:14:10] local.INFO: GPS data processed {"connection_id":143275,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:14:10] local.INFO: Acknowledgment sent {"connection_id":143275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:14:31] local.INFO: TCP Data received {"connection_id":143132,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:14:31] local.INFO: Processing buffer {"connection_id":143132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:14:31] local.INFO: IMEI packet received {"connection_id":143132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 20:14:31] local.INFO: IMEI acknowledgment sent {"connection_id":143132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:14:36] local.INFO: TCP Data received {"connection_id":143132,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:14:36] local.INFO: Processing buffer {"connection_id":143132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:14:36] local.INFO: IMEI packet received {"connection_id":143132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 20:14:36] local.INFO: IMEI acknowledgment sent {"connection_id":143132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:14:37] local.INFO: TCP Data received {"connection_id":143132,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fa406b9a0012da5ae4005f42d90000c012328..."} 
[2026-07-27 20:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143132,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa406b9a0012da5ae4005f42d90000c012328..."} 
[2026-07-27 20:14:37] local.INFO: Processing buffer {"connection_id":143132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa406b9a0012da5ae4005f42d90000c012328..."} 
[2026-07-27 20:14:37] local.INFO: Packet analysis {"connection_id":143132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa406"} 
[2026-07-27 20:14:37] local.INFO: Extracted packet for processing {"connection_id":143132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa406"} 
[2026-07-27 20:14:37] local.INFO: GPS Element Parsed {"raw_longitude":765832768,"raw_latitude":99888528,"longitude_deg":76.5832768,"latitude_deg":9.9888528,"altitude":12,"angle":291,"satellites":40,"speed":0,"hex_longitude":"2da5ae40","hex_latitude":"05f42d90","is_valid_coordinates":true} 
[2026-07-27 20:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:14:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001735936001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:14:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359345147558756352,"note":"Value kept but may cause issues"} 
[2026-07-27 20:14:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6508194017188147200,"note":"Value kept but may cause issues"} 
[2026-07-27 20:14:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:14:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785163332000,"timestamp_ms":1785163332000,"timestamp_seconds":1785163332,"priority":1,"record_length":96,"hex_timestamp":"0000019fa406b9a0"} 
[2026-07-27 20:14:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:14:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 20:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 20:14:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:14:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:14:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:14:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:14:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:14:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:14:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:14:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:14:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 20:14:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 20:14:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001735936001,"66":25343,"10":206,"88":19456,"24":0,"16":359345147558756352,"45":-6508194017188147200},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-07-27 20:14:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 20:14:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 20:14:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001735936001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:14:37] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-27 20:14:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-27 20:14:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359345147558756352,"km_value":359345147558756.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:14:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6508194017188147200,"description":"Unknown IO ID 45"} 
[2026-07-27 20:14:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001735936001,"power":25343,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6508194017188147200}} 
[2026-07-27 20:14:37] local.INFO: DEBUG: GPS processor result {"connection_id":143132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:14:37] local.INFO: GPS data processed {"connection_id":143132,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:14:37] local.INFO: Acknowledgment sent {"connection_id":143132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:14:42] local.INFO: TCP Data received {"connection_id":143275,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa406b9a0012d196580071ff150003a014b24..."} 
[2026-07-27 20:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa406b9a0012d196580071ff150003a014b24..."} 
[2026-07-27 20:14:42] local.INFO: Processing buffer {"connection_id":143275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa406b9a0012d196580071ff150003a014b24..."} 
[2026-07-27 20:14:42] local.INFO: Packet analysis {"connection_id":143275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa406"} 
[2026-07-27 20:14:42] local.INFO: Extracted packet for processing {"connection_id":143275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa406"} 
[2026-07-27 20:14:42] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533904,"longitude_deg":75.6639104,"latitude_deg":11.9533904,"altitude":58,"angle":331,"satellites":36,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff150","is_valid_coordinates":true} 
[2026-07-27 20:14:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:14:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001807616001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:14:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971671285268480,"note":"Value kept but may cause issues"} 
[2026-07-27 20:14:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685009408,"note":"Value kept but may cause issues"} 
[2026-07-27 20:14:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:14:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785163332000,"timestamp_ms":1785163332000,"timestamp_seconds":1785163332,"priority":1,"record_length":96,"hex_timestamp":"0000019fa406b9a0"} 
[2026-07-27 20:14:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:14:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-27 20:14:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:14:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:14:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:14:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:14:42] local.INFO: Teltonika packet parsed successfully {"connection_id":143275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:14:42] local.INFO: Passing IMEI to GPS processor {"connection_id":143275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:14:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":143275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:14:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:14:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:14:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:14:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001807616001,"66":12254,"121":206,"28":31744,"24":0,"16":8971671285268480,"45":1830009591685009408},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:14:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:14:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:14:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001807616001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:14:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:14:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:14:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971671285268480,"km_value":8971671285268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:14:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685009408,"description":"Unknown IO ID 45"} 
[2026-07-27 20:14:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001807616001,"power":12254,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591685009408}} 
[2026-07-27 20:14:42] local.INFO: DEBUG: GPS processor result {"connection_id":143275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555230,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:14:42] local.INFO: GPS data processed {"connection_id":143275,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:14:42] local.INFO: Acknowledgment sent {"connection_id":143275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:14:56] local.INFO: TCP Data received {"connection_id":145547,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145547,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:14:56] local.INFO: Processing buffer {"connection_id":145547,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:14:56] local.INFO: IMEI packet received {"connection_id":145547,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 20:14:56] local.INFO: IMEI acknowledgment sent {"connection_id":145547,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:14:59] local.INFO: TCP Data received {"connection_id":145547,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145547,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:14:59] local.INFO: Processing buffer {"connection_id":145547,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:14:59] local.INFO: IMEI packet received {"connection_id":145547,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 20:14:59] local.INFO: IMEI acknowledgment sent {"connection_id":145547,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:15:04] local.INFO: TCP Data received {"connection_id":145547,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145547,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:15:04] local.INFO: Processing buffer {"connection_id":145547,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:15:04] local.INFO: IMEI packet received {"connection_id":145547,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 20:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":145547,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:15:06] local.INFO: TCP Data received {"connection_id":145547,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4070ba8012d196580071ff150003a014b25..."} 
[2026-07-27 20:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4070ba8012d196580071ff150003a014b25..."} 
[2026-07-27 20:15:06] local.INFO: Processing buffer {"connection_id":145547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4070ba8012d196580071ff150003a014b25..."} 
[2026-07-27 20:15:06] local.INFO: Packet analysis {"connection_id":145547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa407"} 
[2026-07-27 20:15:06] local.INFO: Extracted packet for processing {"connection_id":145547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa407"} 
[2026-07-27 20:15:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533904,"longitude_deg":75.6639104,"latitude_deg":11.9533904,"altitude":58,"angle":331,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff150","is_valid_coordinates":true} 
[2026-07-27 20:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:15:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001812992001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:15:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971671285268480,"note":"Value kept but may cause issues"} 
[2026-07-27 20:15:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685009408,"note":"Value kept but may cause issues"} 
[2026-07-27 20:15:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:15:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785163353000,"timestamp_ms":1785163353000,"timestamp_seconds":1785163353,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4070ba8"} 
[2026-07-27 20:15:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:15:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-27 20:15:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:15:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:15:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:15:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:15:06] local.INFO: Teltonika packet parsed successfully {"connection_id":145547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:15:06] local.INFO: Passing IMEI to GPS processor {"connection_id":145547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:15:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":145547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:15:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:15:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:15:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:15:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001812992001,"66":12232,"121":206,"28":31744,"24":0,"16":8971671285268480,"45":1830009591685009408},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:15:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:15:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:15:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001812992001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:15:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:15:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:15:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971671285268480,"km_value":8971671285268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:15:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685009408,"description":"Unknown IO ID 45"} 
[2026-07-27 20:15:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001812992001,"power":12232,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591685009408}} 
[2026-07-27 20:15:06] local.INFO: DEBUG: GPS processor result {"connection_id":145547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555231,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:15:06] local.INFO: GPS data processed {"connection_id":145547,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:15:06] local.INFO: Acknowledgment sent {"connection_id":145547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:15:08] local.INFO: TCP Data received {"connection_id":143132,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fa406b9a0012da5ae4005f42d90000c012328..."} 
[2026-07-27 20:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143132,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa406b9a0012da5ae4005f42d90000c012328..."} 
[2026-07-27 20:15:08] local.INFO: Processing buffer {"connection_id":143132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa406b9a0012da5ae4005f42d90000c012328..."} 
[2026-07-27 20:15:08] local.INFO: Packet analysis {"connection_id":143132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa406"} 
[2026-07-27 20:15:08] local.INFO: Extracted packet for processing {"connection_id":143132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa406"} 
[2026-07-27 20:15:08] local.INFO: GPS Element Parsed {"raw_longitude":765832768,"raw_latitude":99888528,"longitude_deg":76.5832768,"latitude_deg":9.9888528,"altitude":12,"angle":291,"satellites":40,"speed":0,"hex_longitude":"2da5ae40","hex_latitude":"05f42d90","is_valid_coordinates":true} 
[2026-07-27 20:15:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:15:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001735936001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:15:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359345147558756352,"note":"Value kept but may cause issues"} 
[2026-07-27 20:15:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6508194017188147200,"note":"Value kept but may cause issues"} 
[2026-07-27 20:15:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:15:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785163332000,"timestamp_ms":1785163332000,"timestamp_seconds":1785163332,"priority":1,"record_length":96,"hex_timestamp":"0000019fa406b9a0"} 
[2026-07-27 20:15:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:15:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 20: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-07-27 20: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-07-27 20:15:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:15:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:15:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:15:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:15:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:15:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:15:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:15:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 20:15:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 20:15:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001735936001,"66":25343,"10":206,"88":19456,"24":0,"16":359345147558756352,"45":-6508194017188147200},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-07-27 20:15:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 20:15:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 20:15:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001735936001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:15:08] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-27 20:15:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-27 20:15:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359345147558756352,"km_value":359345147558756.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:15:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6508194017188147200,"description":"Unknown IO ID 45"} 
[2026-07-27 20:15:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001735936001,"power":25343,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6508194017188147200}} 
[2026-07-27 20:15:08] local.INFO: DEBUG: GPS processor result {"connection_id":143132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:15:08] local.INFO: GPS data processed {"connection_id":143132,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:15:08] local.INFO: Acknowledgment sent {"connection_id":143132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:15:09] local.INFO: TCP Data received {"connection_id":145547,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4075db0012d196580071ff150003a014b25..."} 
[2026-07-27 20:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4075db0012d196580071ff150003a014b25..."} 
[2026-07-27 20:15:09] local.INFO: Processing buffer {"connection_id":145547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4075db0012d196580071ff150003a014b25..."} 
[2026-07-27 20:15:09] local.INFO: Packet analysis {"connection_id":145547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa407"} 
[2026-07-27 20:15:09] local.INFO: Extracted packet for processing {"connection_id":145547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa407"} 
[2026-07-27 20:15:09] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533904,"longitude_deg":75.6639104,"latitude_deg":11.9533904,"altitude":58,"angle":331,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff150","is_valid_coordinates":true} 
[2026-07-27 20:15:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:15:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001818368001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:15:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971671285268480,"note":"Value kept but may cause issues"} 
[2026-07-27 20:15:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685009408,"note":"Value kept but may cause issues"} 
[2026-07-27 20:15:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:15:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785163374000,"timestamp_ms":1785163374000,"timestamp_seconds":1785163374,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4075db0"} 
[2026-07-27 20:15:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:15:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-27 20:15:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:15:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:15:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:15:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:15:09] local.INFO: Teltonika packet parsed successfully {"connection_id":145547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:15:09] local.INFO: Passing IMEI to GPS processor {"connection_id":145547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:15:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":145547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:15:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:15:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:15:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:15:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001818368001,"66":12232,"121":206,"28":31744,"24":0,"16":8971671285268480,"45":1830009591685009408},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:15:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:15:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:15:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001818368001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:15:09] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:15:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:15:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971671285268480,"km_value":8971671285268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:15:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685009408,"description":"Unknown IO ID 45"} 
[2026-07-27 20:15:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001818368001,"power":12232,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591685009408}} 
[2026-07-27 20:15:09] local.INFO: DEBUG: GPS processor result {"connection_id":145547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555233,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:15:09] local.INFO: GPS data processed {"connection_id":145547,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:15:09] local.INFO: Acknowledgment sent {"connection_id":145547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:15:27] local.INFO: TCP Data received {"connection_id":143133,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 20:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143133,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 20:15:27] local.INFO: Processing buffer {"connection_id":143133,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 20:15:27] local.INFO: IMEI packet received {"connection_id":143133,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 20:15:27] local.INFO: IMEI acknowledgment sent {"connection_id":143133,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:15:31] local.INFO: TCP Data received {"connection_id":144261,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:15:31] local.INFO: Processing buffer {"connection_id":144261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:15:31] local.INFO: IMEI packet received {"connection_id":144261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 20:15:31] local.INFO: IMEI acknowledgment sent {"connection_id":144261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:15:36] local.INFO: TCP Data received {"connection_id":144261,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:15:36] local.INFO: Processing buffer {"connection_id":144261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:15:36] local.INFO: IMEI packet received {"connection_id":144261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 20:15:36] local.INFO: IMEI acknowledgment sent {"connection_id":144261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:15:37] local.INFO: TCP Data received {"connection_id":144261,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa406b9a0012da5ae4005f42d90000c012328..."} 
[2026-07-27 20:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa406b9a0012da5ae4005f42d90000c012328..."} 
[2026-07-27 20:15:37] local.INFO: Processing buffer {"connection_id":144261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa406b9a0012da5ae4005f42d90000c012328..."} 
[2026-07-27 20:15:37] local.INFO: Packet analysis {"connection_id":144261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa406"} 
[2026-07-27 20:15:37] local.INFO: Extracted packet for processing {"connection_id":144261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa406"} 
[2026-07-27 20:15:37] local.INFO: GPS Element Parsed {"raw_longitude":765832768,"raw_latitude":99888528,"longitude_deg":76.5832768,"latitude_deg":9.9888528,"altitude":12,"angle":291,"satellites":40,"speed":0,"hex_longitude":"2da5ae40","hex_latitude":"05f42d90","is_valid_coordinates":true} 
[2026-07-27 20:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001735936001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359345147558756352,"note":"Value kept but may cause issues"} 
[2026-07-27 20:15:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6508194017188147200,"note":"Value kept but may cause issues"} 
[2026-07-27 20:15:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785163332000,"timestamp_ms":1785163332000,"timestamp_seconds":1785163332,"priority":1,"record_length":96,"hex_timestamp":"0000019fa406b9a0"} 
[2026-07-27 20:15:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:15:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 20:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 20:15:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:15:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:15:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:15:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 20:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 20:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001735936001,"66":25343,"10":206,"88":19456,"24":0,"16":359345147558756352,"45":-6508194017188147200},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-07-27 20:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 20:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 20:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001735936001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:15:37] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-27 20:15:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-27 20:15:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359345147558756352,"km_value":359345147558756.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:15:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6508194017188147200,"description":"Unknown IO ID 45"} 
[2026-07-27 20:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001735936001,"power":25343,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6508194017188147200}} 
[2026-07-27 20:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":144261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:15:37] local.INFO: GPS data processed {"connection_id":144261,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:15:37] local.INFO: Acknowledgment sent {"connection_id":144261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:15:41] local.INFO: TCP Data received {"connection_id":145547,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa407afb8012d196580071ff150003a014b24..."} 
[2026-07-27 20:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa407afb8012d196580071ff150003a014b24..."} 
[2026-07-27 20:15:41] local.INFO: Processing buffer {"connection_id":145547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa407afb8012d196580071ff150003a014b24..."} 
[2026-07-27 20:15:41] local.INFO: Packet analysis {"connection_id":145547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa407"} 
[2026-07-27 20:15:41] local.INFO: Extracted packet for processing {"connection_id":145547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa407"} 
[2026-07-27 20:15:41] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533904,"longitude_deg":75.6639104,"latitude_deg":11.9533904,"altitude":58,"angle":331,"satellites":36,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff150","is_valid_coordinates":true} 
[2026-07-27 20: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-07-27 20:15:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001823744001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:15:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971671285268480,"note":"Value kept but may cause issues"} 
[2026-07-27 20:15:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685009408,"note":"Value kept but may cause issues"} 
[2026-07-27 20:15:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:15:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785163395000,"timestamp_ms":1785163395000,"timestamp_seconds":1785163395,"priority":1,"record_length":96,"hex_timestamp":"0000019fa407afb8"} 
[2026-07-27 20:15:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:15:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-27 20:15:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20: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-07-27 20:15:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:15:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:15:41] local.INFO: Teltonika packet parsed successfully {"connection_id":145547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:15:41] local.INFO: Passing IMEI to GPS processor {"connection_id":145547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:15:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":145547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:15:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:15:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:15:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:15:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001823744001,"66":12254,"121":206,"28":31744,"24":0,"16":8971671285268480,"45":1830009591685009408},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:15:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:15:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:15:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001823744001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:15:41] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:15:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:15:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971671285268480,"km_value":8971671285268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:15:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685009408,"description":"Unknown IO ID 45"} 
[2026-07-27 20:15:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001823744001,"power":12254,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591685009408}} 
[2026-07-27 20:15:41] local.INFO: DEBUG: GPS processor result {"connection_id":145547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555235,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:15:41] local.INFO: GPS data processed {"connection_id":145547,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:15:41] local.INFO: Acknowledgment sent {"connection_id":145547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:15:59] local.INFO: TCP Data received {"connection_id":144262,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144262,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:15:59] local.INFO: Processing buffer {"connection_id":144262,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:15:59] local.INFO: IMEI packet received {"connection_id":144262,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 20:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":144262,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:16:00] local.INFO: TCP Data received {"connection_id":144262,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144262,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:16:00] local.INFO: Processing buffer {"connection_id":144262,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:16:00] local.INFO: IMEI packet received {"connection_id":144262,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 20:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":144262,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:16:04] local.INFO: TCP Data received {"connection_id":144262,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144262,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:16:04] local.INFO: Processing buffer {"connection_id":144262,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:16:04] local.INFO: IMEI packet received {"connection_id":144262,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 20:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":144262,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:16:05] local.INFO: TCP Data received {"connection_id":144262,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa40801c0012d196580071ff150003a014b22..."} 
[2026-07-27 20:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa40801c0012d196580071ff150003a014b22..."} 
[2026-07-27 20:16:05] local.INFO: Processing buffer {"connection_id":144262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa40801c0012d196580071ff150003a014b22..."} 
[2026-07-27 20:16:05] local.INFO: Packet analysis {"connection_id":144262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa408"} 
[2026-07-27 20:16:05] local.INFO: Extracted packet for processing {"connection_id":144262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa408"} 
[2026-07-27 20:16:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533904,"longitude_deg":75.6639104,"latitude_deg":11.9533904,"altitude":58,"angle":331,"satellites":34,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff150","is_valid_coordinates":true} 
[2026-07-27 20:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:16:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001829120001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:16:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971671285268480,"note":"Value kept but may cause issues"} 
[2026-07-27 20:16:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685009408,"note":"Value kept but may cause issues"} 
[2026-07-27 20:16:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:16:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785163416000,"timestamp_ms":1785163416000,"timestamp_seconds":1785163416,"priority":1,"record_length":96,"hex_timestamp":"0000019fa40801c0"} 
[2026-07-27 20:16:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:16:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-27 20:16:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:16:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:16:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:16:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:16:05] local.INFO: Teltonika packet parsed successfully {"connection_id":144262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:16:05] local.INFO: Passing IMEI to GPS processor {"connection_id":144262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:16:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":144262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:16:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:16:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:16:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:16:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001829120001,"66":12265,"121":206,"28":31744,"24":0,"16":8971671285268480,"45":1830009591685009408},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:16:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:16:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:16:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001829120001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:16:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:16:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:16:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971671285268480,"km_value":8971671285268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:16:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685009408,"description":"Unknown IO ID 45"} 
[2026-07-27 20:16:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001829120001,"power":12265,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591685009408}} 
[2026-07-27 20:16:06] local.INFO: DEBUG: GPS processor result {"connection_id":144262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555236,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:16:06] local.INFO: GPS data processed {"connection_id":144262,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:16:06] local.INFO: Acknowledgment sent {"connection_id":144262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:16:08] local.INFO: TCP Data received {"connection_id":144261,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fa406b9a0012da5ae4005f42d90000c012328..."} 
[2026-07-27 20:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa406b9a0012da5ae4005f42d90000c012328..."} 
[2026-07-27 20:16:08] local.INFO: Processing buffer {"connection_id":144261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa406b9a0012da5ae4005f42d90000c012328..."} 
[2026-07-27 20:16:08] local.INFO: Packet analysis {"connection_id":144261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa406"} 
[2026-07-27 20:16:08] local.INFO: Extracted packet for processing {"connection_id":144261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa406"} 
[2026-07-27 20:16:08] local.INFO: GPS Element Parsed {"raw_longitude":765832768,"raw_latitude":99888528,"longitude_deg":76.5832768,"latitude_deg":9.9888528,"altitude":12,"angle":291,"satellites":40,"speed":0,"hex_longitude":"2da5ae40","hex_latitude":"05f42d90","is_valid_coordinates":true} 
[2026-07-27 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-07-27 20:16:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001735936001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:16:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359345147558756352,"note":"Value kept but may cause issues"} 
[2026-07-27 20:16:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6508194017188147200,"note":"Value kept but may cause issues"} 
[2026-07-27 20:16:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:16:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785163332000,"timestamp_ms":1785163332000,"timestamp_seconds":1785163332,"priority":1,"record_length":96,"hex_timestamp":"0000019fa406b9a0"} 
[2026-07-27 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-07-27 20:16:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":233,"data_length":795,"current_offset":136} 
[2026-07-27 20:16:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 20:16:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:16:08] local.INFO: Teltonika packet parsed successfully {"connection_id":144261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:16:08] local.INFO: Passing IMEI to GPS processor {"connection_id":144261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:16:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":144261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20: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-07-27 20:16:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 20:16:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 20:16:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001735936001,"66":25343,"10":206,"88":19456,"24":0,"16":359345147558756352,"45":-6508194017188147200},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-07-27 20:16:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 20:16:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 20:16:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001735936001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:16:08] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-27 20:16:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-27 20:16:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359345147558756352,"km_value":359345147558756.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:16:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6508194017188147200,"description":"Unknown IO ID 45"} 
[2026-07-27 20:16:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001735936001,"power":25343,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6508194017188147200}} 
[2026-07-27 20:16:08] local.INFO: DEBUG: GPS processor result {"connection_id":144261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:16:08] local.INFO: GPS data processed {"connection_id":144261,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:16:08] local.INFO: Acknowledgment sent {"connection_id":144261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:16:31] local.INFO: TCP Data received {"connection_id":145548,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:16:31] local.INFO: Processing buffer {"connection_id":145548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:16:31] local.INFO: IMEI packet received {"connection_id":145548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 20:16:31] local.INFO: IMEI acknowledgment sent {"connection_id":145548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:16:36] local.INFO: TCP Data received {"connection_id":145548,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:16:36] local.INFO: Processing buffer {"connection_id":145548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:16:36] local.INFO: IMEI packet received {"connection_id":145548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 20:16:36] local.INFO: IMEI acknowledgment sent {"connection_id":145548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:16:37] local.INFO: TCP Data received {"connection_id":144262,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa40853c8012d196580071ff150003a014b25..."} 
[2026-07-27 20:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa40853c8012d196580071ff150003a014b25..."} 
[2026-07-27 20:16:37] local.INFO: Processing buffer {"connection_id":144262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa40853c8012d196580071ff150003a014b25..."} 
[2026-07-27 20:16:37] local.INFO: Packet analysis {"connection_id":144262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa408"} 
[2026-07-27 20:16:37] local.INFO: Extracted packet for processing {"connection_id":144262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa408"} 
[2026-07-27 20:16:37] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533904,"longitude_deg":75.6639104,"latitude_deg":11.9533904,"altitude":58,"angle":331,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff150","is_valid_coordinates":true} 
[2026-07-27 20:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:16:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001834496001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:16:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971671285268480,"note":"Value kept but may cause issues"} 
[2026-07-27 20:16:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685009408,"note":"Value kept but may cause issues"} 
[2026-07-27 20:16:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:16:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785163437000,"timestamp_ms":1785163437000,"timestamp_seconds":1785163437,"priority":1,"record_length":96,"hex_timestamp":"0000019fa40853c8"} 
[2026-07-27 20:16:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:16:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 20:16:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2530,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:16:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:16:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:16:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:16:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:16:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:16:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:16:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:16:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:16:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:16:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001834496001,"66":12232,"121":206,"28":31744,"24":0,"16":8971671285268480,"45":1830009591685009408},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:16:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:16:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:16:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001834496001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:16:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:16:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:16:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971671285268480,"km_value":8971671285268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:16:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685009408,"description":"Unknown IO ID 45"} 
[2026-07-27 20:16:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001834496001,"power":12232,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591685009408}} 
[2026-07-27 20:16:37] local.INFO: DEBUG: GPS processor result {"connection_id":144262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555238,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:16:37] local.INFO: GPS data processed {"connection_id":144262,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:16:37] local.INFO: Acknowledgment sent {"connection_id":144262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:16:37] local.INFO: TCP Data received {"connection_id":145548,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fa406b9a0012da5ae4005f42d90000c012328..."} 
[2026-07-27 20:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa406b9a0012da5ae4005f42d90000c012328..."} 
[2026-07-27 20:16:37] local.INFO: Processing buffer {"connection_id":145548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa406b9a0012da5ae4005f42d90000c012328..."} 
[2026-07-27 20:16:37] local.INFO: Packet analysis {"connection_id":145548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa406"} 
[2026-07-27 20:16:37] local.INFO: Extracted packet for processing {"connection_id":145548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa406"} 
[2026-07-27 20:16:37] local.INFO: GPS Element Parsed {"raw_longitude":765832768,"raw_latitude":99888528,"longitude_deg":76.5832768,"latitude_deg":9.9888528,"altitude":12,"angle":291,"satellites":40,"speed":0,"hex_longitude":"2da5ae40","hex_latitude":"05f42d90","is_valid_coordinates":true} 
[2026-07-27 20:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:16:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001735936001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:16:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359345147558756352,"note":"Value kept but may cause issues"} 
[2026-07-27 20:16:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6508194017188147200,"note":"Value kept but may cause issues"} 
[2026-07-27 20:16:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:16:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785163332000,"timestamp_ms":1785163332000,"timestamp_seconds":1785163332,"priority":1,"record_length":96,"hex_timestamp":"0000019fa406b9a0"} 
[2026-07-27 20:16:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:16:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 20:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 20:16:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:16:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:16:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:16:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:16:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:16:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:16:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:16:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:16:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 20:16:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 20:16:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001735936001,"66":25343,"10":206,"88":19456,"24":0,"16":359345147558756352,"45":-6508194017188147200},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-07-27 20:16:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 20:16:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 20:16:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001735936001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:16:37] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-27 20:16:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-27 20:16:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359345147558756352,"km_value":359345147558756.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:16:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6508194017188147200,"description":"Unknown IO ID 45"} 
[2026-07-27 20:16:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001735936001,"power":25343,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6508194017188147200}} 
[2026-07-27 20:16:37] local.INFO: DEBUG: GPS processor result {"connection_id":145548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:16:37] local.INFO: GPS data processed {"connection_id":145548,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:16:37] local.INFO: Acknowledgment sent {"connection_id":145548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:16:59] local.INFO: TCP Data received {"connection_id":144263,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144263,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:16:59] local.INFO: Processing buffer {"connection_id":144263,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:16:59] local.INFO: IMEI packet received {"connection_id":144263,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 20:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":144263,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:17:03] local.INFO: TCP Data received {"connection_id":144263,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144263,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:17:03] local.INFO: Processing buffer {"connection_id":144263,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:17:03] local.INFO: IMEI packet received {"connection_id":144263,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 20:17:03] local.INFO: IMEI acknowledgment sent {"connection_id":144263,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:17:04] local.INFO: TCP Data received {"connection_id":144263,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa408a5d0012d196580071ff150003a014b27..."} 
[2026-07-27 20:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa408a5d0012d196580071ff150003a014b27..."} 
[2026-07-27 20:17:04] local.INFO: Processing buffer {"connection_id":144263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa408a5d0012d196580071ff150003a014b27..."} 
[2026-07-27 20:17:04] local.INFO: Packet analysis {"connection_id":144263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa408"} 
[2026-07-27 20:17:04] local.INFO: Extracted packet for processing {"connection_id":144263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa408"} 
[2026-07-27 20:17:04] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533904,"longitude_deg":75.6639104,"latitude_deg":11.9533904,"altitude":58,"angle":331,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff150","is_valid_coordinates":true} 
[2026-07-27 20:17:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:17:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001839872001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:17:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971671285268480,"note":"Value kept but may cause issues"} 
[2026-07-27 20:17:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685009408,"note":"Value kept but may cause issues"} 
[2026-07-27 20:17:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:17:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785163458000,"timestamp_ms":1785163458000,"timestamp_seconds":1785163458,"priority":1,"record_length":96,"hex_timestamp":"0000019fa408a5d0"} 
[2026-07-27 20:17:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:17:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20:17:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-27 20:17:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:17:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:17:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:17:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:17:04] local.INFO: Teltonika packet parsed successfully {"connection_id":144263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:17:04] local.INFO: Passing IMEI to GPS processor {"connection_id":144263,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:17:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":144263,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:17:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:17:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:17:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:17:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001839872001,"66":12211,"121":206,"28":31744,"24":0,"16":8971671285268480,"45":1830009591685009408},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:17:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:17:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:17:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001839872001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:17:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:17:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:17:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971671285268480,"km_value":8971671285268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:17:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685009408,"description":"Unknown IO ID 45"} 
[2026-07-27 20:17:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001839872001,"power":12211,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591685009408}} 
[2026-07-27 20:17:04] local.INFO: DEBUG: GPS processor result {"connection_id":144263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555240,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:17:04] local.INFO: GPS data processed {"connection_id":144263,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:17:04] local.INFO: Acknowledgment sent {"connection_id":144263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:17:08] local.INFO: TCP Data received {"connection_id":145548,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fa40a6ed8012da5ae4005f42d90000c012328..."} 
[2026-07-27 20:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa40a6ed8012da5ae4005f42d90000c012328..."} 
[2026-07-27 20:17:08] local.INFO: Processing buffer {"connection_id":145548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa40a6ed8012da5ae4005f42d90000c012328..."} 
[2026-07-27 20:17:08] local.INFO: Packet analysis {"connection_id":145548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa40a"} 
[2026-07-27 20:17:08] local.INFO: Extracted packet for processing {"connection_id":145548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa40a"} 
[2026-07-27 20:17:08] local.INFO: GPS Element Parsed {"raw_longitude":765832768,"raw_latitude":99888528,"longitude_deg":76.5832768,"latitude_deg":9.9888528,"altitude":12,"angle":291,"satellites":40,"speed":0,"hex_longitude":"2da5ae40","hex_latitude":"05f42d90","is_valid_coordinates":true} 
[2026-07-27 20:17:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:17:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001812992001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:17:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359345147558756352,"note":"Value kept but may cause issues"} 
[2026-07-27 20:17:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6508194017188147200,"note":"Value kept but may cause issues"} 
[2026-07-27 20:17:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:17:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785163575000,"timestamp_ms":1785163575000,"timestamp_seconds":1785163575,"priority":1,"record_length":96,"hex_timestamp":"0000019fa40a6ed8"} 
[2026-07-27 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-07-27 20:17:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":255,"data_length":795,"current_offset":136} 
[2026-07-27 20:17:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 20:17:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:17:08] local.INFO: Teltonika packet parsed successfully {"connection_id":145548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:17:08] local.INFO: Passing IMEI to GPS processor {"connection_id":145548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:17:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":145548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 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-07-27 20:17:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 20:17:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 20:17:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001812992001,"66":25321,"10":206,"88":19456,"24":0,"16":359345147558756352,"45":-6508194017188147200},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-07-27 20:17:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 20:17:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 20:17:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001812992001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:17:08] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-27 20:17:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-27 20:17:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359345147558756352,"km_value":359345147558756.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:17:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6508194017188147200,"description":"Unknown IO ID 45"} 
[2026-07-27 20:17:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001812992001,"power":25321,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6508194017188147200}} 
[2026-07-27 20:17:08] local.INFO: DEBUG: GPS processor result {"connection_id":145548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:17:08] local.INFO: GPS data processed {"connection_id":145548,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:17:08] local.INFO: Acknowledgment sent {"connection_id":145548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:17:36] local.INFO: TCP Data received {"connection_id":144263,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa408f7d8012d196580071ff150003a014b23..."} 
[2026-07-27 20:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa408f7d8012d196580071ff150003a014b23..."} 
[2026-07-27 20:17:36] local.INFO: Processing buffer {"connection_id":144263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa408f7d8012d196580071ff150003a014b23..."} 
[2026-07-27 20:17:36] local.INFO: Packet analysis {"connection_id":144263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa408"} 
[2026-07-27 20:17:36] local.INFO: Extracted packet for processing {"connection_id":144263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa408"} 
[2026-07-27 20:17:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533904,"longitude_deg":75.6639104,"latitude_deg":11.9533904,"altitude":58,"angle":331,"satellites":35,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff150","is_valid_coordinates":true} 
[2026-07-27 20:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:17:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001845248001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:17:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971671285268480,"note":"Value kept but may cause issues"} 
[2026-07-27 20:17:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685009408,"note":"Value kept but may cause issues"} 
[2026-07-27 20:17:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:17:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785163479000,"timestamp_ms":1785163479000,"timestamp_seconds":1785163479,"priority":1,"record_length":96,"hex_timestamp":"0000019fa408f7d8"} 
[2026-07-27 20:17:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:17:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-27 20:17:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:17:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:17:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:17:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:17:36] local.INFO: Teltonika packet parsed successfully {"connection_id":144263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:17:36] local.INFO: Passing IMEI to GPS processor {"connection_id":144263,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:17:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":144263,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:17:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:17:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:17:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:17:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001845248001,"66":11678,"121":206,"28":31744,"24":0,"16":8971671285268480,"45":1830009591685009408},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:17:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:17:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:17:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001845248001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:17:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:17:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:17:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971671285268480,"km_value":8971671285268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:17:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685009408,"description":"Unknown IO ID 45"} 
[2026-07-27 20:17:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001845248001,"power":11678,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591685009408}} 
[2026-07-27 20:17:36] local.INFO: DEBUG: GPS processor result {"connection_id":144263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555242,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:17:36] local.INFO: GPS data processed {"connection_id":144263,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:17:36] local.INFO: Acknowledgment sent {"connection_id":144263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:17:36] local.INFO: TCP Data received {"connection_id":144264,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:17:36] local.INFO: Processing buffer {"connection_id":144264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:17:36] local.INFO: IMEI packet received {"connection_id":144264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 20:17:36] local.INFO: IMEI acknowledgment sent {"connection_id":144264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:17:39] local.INFO: TCP Data received {"connection_id":144264,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:17:39] local.INFO: Processing buffer {"connection_id":144264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:17:39] local.INFO: IMEI packet received {"connection_id":144264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 20:17:39] local.INFO: IMEI acknowledgment sent {"connection_id":144264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:17:40] local.INFO: TCP Data received {"connection_id":144264,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fa40a7e78012da5ae4005f42d50000c011828..."} 
[2026-07-27 20:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144264,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa40a7e78012da5ae4005f42d50000c011828..."} 
[2026-07-27 20:17:40] local.INFO: Processing buffer {"connection_id":144264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa40a7e78012da5ae4005f42d50000c011828..."} 
[2026-07-27 20:17:40] local.INFO: Packet analysis {"connection_id":144264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa40a"} 
[2026-07-27 20:17:40] local.INFO: Extracted packet for processing {"connection_id":144264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa40a"} 
[2026-07-27 20:17:40] local.INFO: GPS Element Parsed {"raw_longitude":765832768,"raw_latitude":99888464,"longitude_deg":76.5832768,"latitude_deg":9.9888464,"altitude":12,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2da5ae40","hex_latitude":"05f42d50","is_valid_coordinates":true} 
[2026-07-27 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-07-27 20:17:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001875200001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:17:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359345147558756352,"note":"Value kept but may cause issues"} 
[2026-07-27 20:17:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6508194017188147200,"note":"Value kept but may cause issues"} 
[2026-07-27 20:17:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:17:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785163579000,"timestamp_ms":1785163579000,"timestamp_seconds":1785163579,"priority":1,"record_length":96,"hex_timestamp":"0000019fa40a7e78"} 
[2026-07-27 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-07-27 20:17:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":233,"data_length":795,"current_offset":136} 
[2026-07-27 20:17: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-07-27 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-07-27 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-07-27 20:17:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:17:40] local.INFO: Teltonika packet parsed successfully {"connection_id":144264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:17:40] local.INFO: Passing IMEI to GPS processor {"connection_id":144264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:17:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":144264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 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-07-27 20:17:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 20:17:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 20:17:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001875200001,"66":27332,"10":206,"88":19456,"24":0,"16":359345147558756352,"45":-6508194017188147200},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-07-27 20:17:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 20:17:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 20:17:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001875200001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:17:40] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-27 20:17:40] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-27 20:17:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359345147558756352,"km_value":359345147558756.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:17:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6508194017188147200,"description":"Unknown IO ID 45"} 
[2026-07-27 20:17:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001875200001,"power":27332,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6508194017188147200}} 
[2026-07-27 20:17:40] local.INFO: DEBUG: GPS processor result {"connection_id":144264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:17:40] local.INFO: GPS data processed {"connection_id":144264,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:17:40] local.INFO: Acknowledgment sent {"connection_id":144264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:17:59] local.INFO: TCP Data received {"connection_id":143135,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143135,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:17:59] local.INFO: Processing buffer {"connection_id":143135,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:17:59] local.INFO: IMEI packet received {"connection_id":143135,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 20:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":143135,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:18:01] local.INFO: TCP Data received {"connection_id":143135,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143135,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:18:01] local.INFO: Processing buffer {"connection_id":143135,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:18:01] local.INFO: IMEI packet received {"connection_id":143135,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 20:18:01] local.INFO: IMEI acknowledgment sent {"connection_id":143135,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:18:04] local.INFO: TCP Data received {"connection_id":143135,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143135,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:18:04] local.INFO: Processing buffer {"connection_id":143135,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:18:04] local.INFO: IMEI packet received {"connection_id":143135,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 20:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":143135,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:18:07] local.INFO: TCP Data received {"connection_id":143135,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa40949e0012d196580071ff150003a014b25..."} 
[2026-07-27 20:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143135,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa40949e0012d196580071ff150003a014b25..."} 
[2026-07-27 20:18:07] local.INFO: Processing buffer {"connection_id":143135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa40949e0012d196580071ff150003a014b25..."} 
[2026-07-27 20:18:07] local.INFO: Packet analysis {"connection_id":143135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa409"} 
[2026-07-27 20:18:07] local.INFO: Extracted packet for processing {"connection_id":143135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa409"} 
[2026-07-27 20:18:07] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533904,"longitude_deg":75.6639104,"latitude_deg":11.9533904,"altitude":58,"angle":331,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff150","is_valid_coordinates":true} 
[2026-07-27 20:18:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:18:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001850624001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:18:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971671285268480,"note":"Value kept but may cause issues"} 
[2026-07-27 20:18:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685009408,"note":"Value kept but may cause issues"} 
[2026-07-27 20:18:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:18:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785163500000,"timestamp_ms":1785163500000,"timestamp_seconds":1785163500,"priority":1,"record_length":96,"hex_timestamp":"0000019fa40949e0"} 
[2026-07-27 20:18:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:18:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20:18:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-07-27 20:18:07] 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-07-27 20:18:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:18:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:18:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:18:07] local.INFO: Teltonika packet parsed successfully {"connection_id":143135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:18:07] local.INFO: Passing IMEI to GPS processor {"connection_id":143135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:18:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":143135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:18:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:18:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:18:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:18:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001850624001,"66":12102,"121":206,"28":31744,"24":0,"16":8971671285268480,"45":1830009591685009408},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:18:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:18:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:18:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001850624001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:18:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:18:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:18:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971671285268480,"km_value":8971671285268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:18:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685009408,"description":"Unknown IO ID 45"} 
[2026-07-27 20:18:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001850624001,"power":12102,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591685009408}} 
[2026-07-27 20:18:07] local.INFO: DEBUG: GPS processor result {"connection_id":143135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555244,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:18:07] local.INFO: GPS data processed {"connection_id":143135,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:18:07] local.INFO: Acknowledgment sent {"connection_id":143135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:18:09] local.INFO: TCP Data received {"connection_id":143135,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4099be8012d196580071ff150003a014b23..."} 
[2026-07-27 20:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143135,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4099be8012d196580071ff150003a014b23..."} 
[2026-07-27 20:18:09] local.INFO: Processing buffer {"connection_id":143135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4099be8012d196580071ff150003a014b23..."} 
[2026-07-27 20:18:09] local.INFO: Packet analysis {"connection_id":143135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa409"} 
[2026-07-27 20:18:09] local.INFO: Extracted packet for processing {"connection_id":143135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa409"} 
[2026-07-27 20:18:09] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533904,"longitude_deg":75.6639104,"latitude_deg":11.9533904,"altitude":58,"angle":331,"satellites":35,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff150","is_valid_coordinates":true} 
[2026-07-27 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-07-27 20:18:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001856000001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:18:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971671285268480,"note":"Value kept but may cause issues"} 
[2026-07-27 20:18:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685009408,"note":"Value kept but may cause issues"} 
[2026-07-27 20:18:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:18:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785163521000,"timestamp_ms":1785163521000,"timestamp_seconds":1785163521,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4099be8"} 
[2026-07-27 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-07-27 20:18:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":47,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-27 20:18:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1063,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 20:18:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:18:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:18:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:18:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:18:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:18:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:18:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:18:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001856000001,"66":12178,"121":206,"28":31744,"24":0,"16":8971671285268480,"45":1830009591685009408},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:18:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:18:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:18:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001856000001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:18:09] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:18:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:18:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971671285268480,"km_value":8971671285268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:18:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685009408,"description":"Unknown IO ID 45"} 
[2026-07-27 20:18:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001856000001,"power":12178,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591685009408}} 
[2026-07-27 20:18:09] local.INFO: DEBUG: GPS processor result {"connection_id":143135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555245,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:18:09] local.INFO: GPS data processed {"connection_id":143135,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:18:09] local.INFO: Acknowledgment sent {"connection_id":143135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:18:11] local.INFO: TCP Data received {"connection_id":144264,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fa40ad080012da5ae4005f42d50000c011828..."} 
[2026-07-27 20:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144264,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa40ad080012da5ae4005f42d50000c011828..."} 
[2026-07-27 20:18:11] local.INFO: Processing buffer {"connection_id":144264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa40ad080012da5ae4005f42d50000c011828..."} 
[2026-07-27 20:18:11] local.INFO: Packet analysis {"connection_id":144264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa40a"} 
[2026-07-27 20:18:11] local.INFO: Extracted packet for processing {"connection_id":144264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa40a"} 
[2026-07-27 20:18:11] local.INFO: GPS Element Parsed {"raw_longitude":765832768,"raw_latitude":99888464,"longitude_deg":76.5832768,"latitude_deg":9.9888464,"altitude":12,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2da5ae40","hex_latitude":"05f42d50","is_valid_coordinates":true} 
[2026-07-27 20:18:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:18:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001876224001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:18:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359345147558756352,"note":"Value kept but may cause issues"} 
[2026-07-27 20:18:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6508194017188163584,"note":"Value kept but may cause issues"} 
[2026-07-27 20:18:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:18:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785163600000,"timestamp_ms":1785163600000,"timestamp_seconds":1785163600,"priority":1,"record_length":96,"hex_timestamp":"0000019fa40ad080"} 
[2026-07-27 20:18:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:18:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20:18:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-27 20:18:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:18:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:18:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:18:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:18:11] local.INFO: Teltonika packet parsed successfully {"connection_id":144264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:18:11] local.INFO: Passing IMEI to GPS processor {"connection_id":144264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:18:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":144264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:18:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:18:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 20:18:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 20:18:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001876224001,"66":27234,"10":206,"88":19456,"24":0,"16":359345147558756352,"45":-6508194017188163584},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-07-27 20:18:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 20:18:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 20:18:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001876224001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:18:11] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-27 20:18:11] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-27 20:18:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359345147558756352,"km_value":359345147558756.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:18:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6508194017188163584,"description":"Unknown IO ID 45"} 
[2026-07-27 20:18:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001876224001,"power":27234,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6508194017188163584}} 
[2026-07-27 20:18:11] local.INFO: DEBUG: GPS processor result {"connection_id":144264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:18:11] local.INFO: GPS data processed {"connection_id":144264,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:18:11] local.INFO: Acknowledgment sent {"connection_id":144264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:18:31] local.INFO: TCP Data received {"connection_id":145549,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:18:31] local.INFO: Processing buffer {"connection_id":145549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:18:31] local.INFO: IMEI packet received {"connection_id":145549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 20:18:31] local.INFO: IMEI acknowledgment sent {"connection_id":145549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:18:33] local.INFO: TCP Data received {"connection_id":145549,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:18:33] local.INFO: Processing buffer {"connection_id":145549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:18:33] local.INFO: IMEI packet received {"connection_id":145549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 20:18:33] local.INFO: IMEI acknowledgment sent {"connection_id":145549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:18:34] local.INFO: TCP Data received {"connection_id":145549,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fa40b2288012da5ae4005f42d50000c01182b..."} 
[2026-07-27 20:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa40b2288012da5ae4005f42d50000c01182b..."} 
[2026-07-27 20:18:34] local.INFO: Processing buffer {"connection_id":145549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa40b2288012da5ae4005f42d50000c01182b..."} 
[2026-07-27 20:18:34] local.INFO: Packet analysis {"connection_id":145549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa40b"} 
[2026-07-27 20:18:34] local.INFO: Extracted packet for processing {"connection_id":145549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa40b"} 
[2026-07-27 20:18:34] local.INFO: GPS Element Parsed {"raw_longitude":765832768,"raw_latitude":99888464,"longitude_deg":76.5832768,"latitude_deg":9.9888464,"altitude":12,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2da5ae40","hex_latitude":"05f42d50","is_valid_coordinates":true} 
[2026-07-27 20:18:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:18:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001881600001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:18:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359345147558756352,"note":"Value kept but may cause issues"} 
[2026-07-27 20:18:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6508194017188163584,"note":"Value kept but may cause issues"} 
[2026-07-27 20:18:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:18:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785163621000,"timestamp_ms":1785163621000,"timestamp_seconds":1785163621,"priority":1,"record_length":96,"hex_timestamp":"0000019fa40b2288"} 
[2026-07-27 20:18:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:18:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20:18:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-27 20:18:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:18:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:18:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:18:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:18:34] local.INFO: Teltonika packet parsed successfully {"connection_id":145549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:18:34] local.INFO: Passing IMEI to GPS processor {"connection_id":145549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:18:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":145549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:18:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:18:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 20:18:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 20:18:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001881600001,"66":27365,"10":206,"88":19456,"24":0,"16":359345147558756352,"45":-6508194017188163584},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-07-27 20:18:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 20:18:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 20:18:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001881600001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:18:34] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-27 20:18:34] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-27 20:18:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359345147558756352,"km_value":359345147558756.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:18:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6508194017188163584,"description":"Unknown IO ID 45"} 
[2026-07-27 20:18:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001881600001,"power":27365,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6508194017188163584}} 
[2026-07-27 20:18:34] local.INFO: DEBUG: GPS processor result {"connection_id":145549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:18:34] local.INFO: GPS data processed {"connection_id":145549,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:18:34] local.INFO: Acknowledgment sent {"connection_id":145549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:18:40] local.INFO: TCP Data received {"connection_id":143135,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa409edf0012d196580071ff150003a014b2a..."} 
[2026-07-27 20:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143135,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa409edf0012d196580071ff150003a014b2a..."} 
[2026-07-27 20:18:40] local.INFO: Processing buffer {"connection_id":143135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa409edf0012d196580071ff150003a014b2a..."} 
[2026-07-27 20:18:40] local.INFO: Packet analysis {"connection_id":143135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa409"} 
[2026-07-27 20:18:40] local.INFO: Extracted packet for processing {"connection_id":143135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa409"} 
[2026-07-27 20:18:40] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533904,"longitude_deg":75.6639104,"latitude_deg":11.9533904,"altitude":58,"angle":331,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff150","is_valid_coordinates":true} 
[2026-07-27 20:18:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:18:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001861376001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:18:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971671285268480,"note":"Value kept but may cause issues"} 
[2026-07-27 20:18:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685009408,"note":"Value kept but may cause issues"} 
[2026-07-27 20:18:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:18:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785163542000,"timestamp_ms":1785163542000,"timestamp_seconds":1785163542,"priority":1,"record_length":96,"hex_timestamp":"0000019fa409edf0"} 
[2026-07-27 20:18:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:18:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20: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":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-27 20:18:40] 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-07-27 20:18:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:18:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:18:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:18:40] local.INFO: Teltonika packet parsed successfully {"connection_id":143135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:18:40] local.INFO: Passing IMEI to GPS processor {"connection_id":143135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:18:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":143135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:18:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:18:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:18:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:18:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001861376001,"66":12232,"121":206,"28":31744,"24":0,"16":8971671285268480,"45":1830009591685009408},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:18:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:18:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:18:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001861376001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:18:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:18:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:18:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971671285268480,"km_value":8971671285268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:18:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685009408,"description":"Unknown IO ID 45"} 
[2026-07-27 20:18:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001861376001,"power":12232,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591685009408}} 
[2026-07-27 20:18:41] local.INFO: DEBUG: GPS processor result {"connection_id":143135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555248,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:18:41] local.INFO: GPS data processed {"connection_id":143135,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:18:41] local.INFO: Acknowledgment sent {"connection_id":143135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:18:59] local.INFO: TCP Data received {"connection_id":143276,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143276,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:18:59] local.INFO: Processing buffer {"connection_id":143276,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:18:59] local.INFO: IMEI packet received {"connection_id":143276,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 20:18:59] local.INFO: IMEI acknowledgment sent {"connection_id":143276,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:19:04] local.INFO: TCP Data received {"connection_id":143276,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143276,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:19:04] local.INFO: Processing buffer {"connection_id":143276,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:19:04] local.INFO: IMEI packet received {"connection_id":143276,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 20:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":143276,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:19:05] local.INFO: TCP Data received {"connection_id":145549,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fa40b3228012da5ac8005f42ca80014010529..."} 
[2026-07-27 20:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa40b3228012da5ac8005f42ca80014010529..."} 
[2026-07-27 20:19:05] local.INFO: Processing buffer {"connection_id":145549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa40b3228012da5ac8005f42ca80014010529..."} 
[2026-07-27 20:19:05] local.INFO: Packet analysis {"connection_id":145549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa40b"} 
[2026-07-27 20:19:05] local.INFO: Extracted packet for processing {"connection_id":145549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa40b"} 
[2026-07-27 20:19:05] local.INFO: GPS Element Parsed {"raw_longitude":765832320,"raw_latitude":99888296,"longitude_deg":76.583232,"latitude_deg":9.9888296,"altitude":20,"angle":261,"satellites":41,"speed":6,"hex_longitude":"2da5ac80","hex_latitude":"05f42ca8","is_valid_coordinates":true} 
[2026-07-27 20:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:19:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001886976001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:19:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359345173328560128,"note":"Value kept but may cause issues"} 
[2026-07-27 20:19:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6508194017188163584,"note":"Value kept but may cause issues"} 
[2026-07-27 20:19:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:19:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785163625000,"timestamp_ms":1785163625000,"timestamp_seconds":1785163625,"priority":1,"record_length":96,"hex_timestamp":"0000019fa40b3228"} 
[2026-07-27 20:19:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:19:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-27 20:19:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:19:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:19:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:19:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:19:05] local.INFO: Teltonika packet parsed successfully {"connection_id":145549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:19:05] local.INFO: Passing IMEI to GPS processor {"connection_id":145549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:19:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":145549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:19:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:19:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 20:19:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 20:19:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001886976001,"66":27213,"10":206,"88":19456,"24":6,"16":359345173328560128,"45":-6508194017188163584},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-07-27 20:19:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 20:19:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 20:19:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001886976001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:19:05] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-27 20:19:05] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-27 20:19:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359345173328560128,"km_value":359345173328560.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:19:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6508194017188163584,"description":"Unknown IO ID 45"} 
[2026-07-27 20:19:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001886976001,"power":27213,"unknown_10":206,"unknown_88":19456,"ignition":6,"odometer":null,"unknown_45":-6508194017188163584}} 
[2026-07-27 20:19:05] local.INFO: DEBUG: GPS processor result {"connection_id":145549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:19:05] local.INFO: GPS data processed {"connection_id":145549,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:19:05] local.INFO: Acknowledgment sent {"connection_id":145549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:19:06] local.INFO: TCP Data received {"connection_id":143276,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa40a3ff8012d196580071ff150003a014b26..."} 
[2026-07-27 20:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143276,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa40a3ff8012d196580071ff150003a014b26..."} 
[2026-07-27 20:19:06] local.INFO: Processing buffer {"connection_id":143276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa40a3ff8012d196580071ff150003a014b26..."} 
[2026-07-27 20:19:06] local.INFO: Packet analysis {"connection_id":143276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa40a"} 
[2026-07-27 20:19:06] local.INFO: Extracted packet for processing {"connection_id":143276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa40a"} 
[2026-07-27 20:19:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533904,"longitude_deg":75.6639104,"latitude_deg":11.9533904,"altitude":58,"angle":331,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff150","is_valid_coordinates":true} 
[2026-07-27 20:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001866752001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:19:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971671285268480,"note":"Value kept but may cause issues"} 
[2026-07-27 20:19:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685009408,"note":"Value kept but may cause issues"} 
[2026-07-27 20:19:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:19:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785163563000,"timestamp_ms":1785163563000,"timestamp_seconds":1785163563,"priority":1,"record_length":96,"hex_timestamp":"0000019fa40a3ff8"} 
[2026-07-27 20:19:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:19:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-27 20:19:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:19:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:19:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:19:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:19:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:19:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143276,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:19:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143276,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:19:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:19:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:19:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:19:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001866752001,"66":12178,"121":206,"28":31744,"24":0,"16":8971671285268480,"45":1830009591685009408},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:19:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:19:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:19:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001866752001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:19:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:19:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:19:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971671285268480,"km_value":8971671285268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:19:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685009408,"description":"Unknown IO ID 45"} 
[2026-07-27 20:19:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001866752001,"power":12178,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591685009408}} 
[2026-07-27 20:19:06] local.INFO: DEBUG: GPS processor result {"connection_id":143276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555250,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:19:06] local.INFO: GPS data processed {"connection_id":143276,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:19:06] local.INFO: Acknowledgment sent {"connection_id":143276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:19:31] local.INFO: TCP Data received {"connection_id":143136,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:19:31] local.INFO: Processing buffer {"connection_id":143136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:19:31] local.INFO: IMEI packet received {"connection_id":143136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 20:19:31] local.INFO: IMEI acknowledgment sent {"connection_id":143136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:19:36] local.INFO: TCP Data received {"connection_id":143136,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:19:36] local.INFO: Processing buffer {"connection_id":143136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:19:36] local.INFO: IMEI packet received {"connection_id":143136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 20:19:36] local.INFO: IMEI acknowledgment sent {"connection_id":143136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:19:37] local.INFO: TCP Data received {"connection_id":143136,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fa40b41c8012da5a8c005f42ca0001301132a..."} 
[2026-07-27 20:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143136,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa40b41c8012da5a8c005f42ca0001301132a..."} 
[2026-07-27 20:19:37] local.INFO: Processing buffer {"connection_id":143136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa40b41c8012da5a8c005f42ca0001301132a..."} 
[2026-07-27 20:19:37] local.INFO: Packet analysis {"connection_id":143136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa40b"} 
[2026-07-27 20:19:37] local.INFO: Extracted packet for processing {"connection_id":143136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa40b"} 
[2026-07-27 20:19:37] local.INFO: GPS Element Parsed {"raw_longitude":765831360,"raw_latitude":99888288,"longitude_deg":76.583136,"latitude_deg":9.9888288,"altitude":19,"angle":275,"satellites":42,"speed":10,"hex_longitude":"2da5a8c0","hex_latitude":"05f42ca0","is_valid_coordinates":true} 
[2026-07-27 20:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001888000001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359345216278233088,"note":"Value kept but may cause issues"} 
[2026-07-27 20:19:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6508686598397450240,"note":"Value kept but may cause issues"} 
[2026-07-27 20:19:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785163629000,"timestamp_ms":1785163629000,"timestamp_seconds":1785163629,"priority":1,"record_length":96,"hex_timestamp":"0000019fa40b41c8"} 
[2026-07-27 20:19:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:19:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-27 20:19:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:19:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:19:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:19:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 20:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 20:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001888000001,"66":27180,"10":206,"88":19456,"24":10,"16":359345216278233088,"45":-6508686598397450240},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-07-27 20:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 20:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 20:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001888000001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:19:37] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-27 20:19:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-27 20:19:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359345216278233088,"km_value":359345216278233.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:19:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6508686598397450240,"description":"Unknown IO ID 45"} 
[2026-07-27 20:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001888000001,"power":27180,"unknown_10":206,"unknown_88":19456,"ignition":10,"odometer":null,"unknown_45":-6508686598397450240}} 
[2026-07-27 20:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":143136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:19:37] local.INFO: GPS data processed {"connection_id":143136,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:19:37] local.INFO: Acknowledgment sent {"connection_id":143136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:19:38] local.INFO: TCP Data received {"connection_id":143276,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa40a9200012d196580071ff150003a014b26..."} 
[2026-07-27 20:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143276,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa40a9200012d196580071ff150003a014b26..."} 
[2026-07-27 20:19:38] local.INFO: Processing buffer {"connection_id":143276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa40a9200012d196580071ff150003a014b26..."} 
[2026-07-27 20:19:38] local.INFO: Packet analysis {"connection_id":143276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa40a"} 
[2026-07-27 20:19:38] local.INFO: Extracted packet for processing {"connection_id":143276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa40a"} 
[2026-07-27 20:19:38] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533904,"longitude_deg":75.6639104,"latitude_deg":11.9533904,"altitude":58,"angle":331,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff150","is_valid_coordinates":true} 
[2026-07-27 20:19:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:19:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001872128001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:19:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971671285268480,"note":"Value kept but may cause issues"} 
[2026-07-27 20:19:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685009408,"note":"Value kept but may cause issues"} 
[2026-07-27 20:19:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:19:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785163584000,"timestamp_ms":1785163584000,"timestamp_seconds":1785163584,"priority":1,"record_length":96,"hex_timestamp":"0000019fa40a9200"} 
[2026-07-27 20:19:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:19:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20:19:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-27 20:19:38] 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-07-27 20:19:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:19:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:19:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:19:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:19:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143276,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:19:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143276,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:19:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:19:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:19:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:19:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001872128001,"66":12232,"121":206,"28":31744,"24":0,"16":8971671285268480,"45":1830009591685009408},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:19:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:19:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:19:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001872128001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:19:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:19:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:19:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971671285268480,"km_value":8971671285268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:19:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685009408,"description":"Unknown IO ID 45"} 
[2026-07-27 20:19:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001872128001,"power":12232,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591685009408}} 
[2026-07-27 20:19:38] local.INFO: DEBUG: GPS processor result {"connection_id":143276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555252,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:19:38] local.INFO: GPS data processed {"connection_id":143276,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:19:38] local.INFO: Acknowledgment sent {"connection_id":143276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:20:04] local.INFO: TCP Data received {"connection_id":143277,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143277,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:20:04] local.INFO: Processing buffer {"connection_id":143277,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:20:04] local.INFO: IMEI packet received {"connection_id":143277,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 20:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":143277,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:20:07] local.INFO: TCP Data received {"connection_id":143277,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143277,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:20:07] local.INFO: Processing buffer {"connection_id":143277,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:20:07] local.INFO: IMEI packet received {"connection_id":143277,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 20:20:07] local.INFO: IMEI acknowledgment sent {"connection_id":143277,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:20:08] local.INFO: TCP Data received {"connection_id":143136,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fa40b93d0012da5878005f43378000e011a27..."} 
[2026-07-27 20:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143136,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa40b93d0012da5878005f43378000e011a27..."} 
[2026-07-27 20:20:08] local.INFO: Processing buffer {"connection_id":143136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa40b93d0012da5878005f43378000e011a27..."} 
[2026-07-27 20:20:08] local.INFO: Packet analysis {"connection_id":143136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa40b"} 
[2026-07-27 20:20:08] local.INFO: Extracted packet for processing {"connection_id":143136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa40b"} 
[2026-07-27 20:20:08] local.INFO: GPS Element Parsed {"raw_longitude":765822848,"raw_latitude":99890040,"longitude_deg":76.5822848,"latitude_deg":9.989004,"altitude":14,"angle":282,"satellites":39,"speed":17,"hex_longitude":"2da58780","hex_latitude":"05f43378","is_valid_coordinates":true} 
[2026-07-27 20:20:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:20:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001889024001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:20:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359345632890060800,"note":"Value kept but may cause issues"} 
[2026-07-27 20:20:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6509742129560117248,"note":"Value kept but may cause issues"} 
[2026-07-27 20:20:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:20:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785163650000,"timestamp_ms":1785163650000,"timestamp_seconds":1785163650,"priority":1,"record_length":96,"hex_timestamp":"0000019fa40b93d0"} 
[2026-07-27 20:20:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:20:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20:20:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-07-27 20:20:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:20:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:20:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:20:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:20:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:20:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:20:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:20:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:20:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 20:20:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 20:20:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001889024001,"66":27365,"12":206,"88":19456,"24":17,"16":359345632890060800,"45":-6509742129560117248},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,88,24,16,45]} 
[2026-07-27 20:20:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 20:20:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 20:20:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001889024001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:20:08] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-07-27 20:20:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-27 20:20:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359345632890060800,"km_value":359345632890060.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:20:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6509742129560117248,"description":"Unknown IO ID 45"} 
[2026-07-27 20:20:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001889024001,"power":27365,"unknown_12":206,"unknown_88":19456,"ignition":17,"odometer":null,"unknown_45":-6509742129560117248}} 
[2026-07-27 20:20:08] local.INFO: DEBUG: GPS processor result {"connection_id":143136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:20:08] local.INFO: GPS data processed {"connection_id":143136,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:20:08] local.INFO: Acknowledgment sent {"connection_id":143136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:20:08] local.INFO: TCP Data received {"connection_id":143277,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa40ad468012d196840071feee0003d007f26..."} 
[2026-07-27 20:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa40ad468012d196840071feee0003d007f26..."} 
[2026-07-27 20:20:08] local.INFO: Processing buffer {"connection_id":143277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa40ad468012d196840071feee0003d007f26..."} 
[2026-07-27 20:20:08] local.INFO: Packet analysis {"connection_id":143277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa40a"} 
[2026-07-27 20:20:08] local.INFO: Extracted packet for processing {"connection_id":143277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa40a"} 
[2026-07-27 20:20:08] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533280,"longitude_deg":75.6639808,"latitude_deg":11.953328,"altitude":61,"angle":127,"satellites":38,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-07-27 20:20:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:20:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001877504001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:20:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971714234941440,"note":"Value kept but may cause issues"} 
[2026-07-27 20:20:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685009408,"note":"Value kept but may cause issues"} 
[2026-07-27 20:20:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:20:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785163601000,"timestamp_ms":1785163601000,"timestamp_seconds":1785163601,"priority":1,"record_length":96,"hex_timestamp":"0000019fa40ad468"} 
[2026-07-27 20:20:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:20:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20:20:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-27 20:20:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:20:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:20:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:20:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:20:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:20:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:20:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:20:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:20:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:20:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:20:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001877504001,"66":12232,"121":206,"28":31744,"24":0,"16":8971714234941440,"45":1830009591685009408},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:20:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:20:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:20:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001877504001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:20:08] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:20:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:20:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971714234941440,"km_value":8971714234941.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:20:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685009408,"description":"Unknown IO ID 45"} 
[2026-07-27 20:20:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001877504001,"power":12232,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591685009408}} 
[2026-07-27 20:20:08] local.INFO: DEBUG: GPS processor result {"connection_id":143277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555254,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:20:08] local.INFO: GPS data processed {"connection_id":143277,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:20:08] local.INFO: Acknowledgment sent {"connection_id":143277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:20:09] local.INFO: TCP Data received {"connection_id":143277,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa40b2670012d196840071feed0003d007f24..."} 
[2026-07-27 20:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa40b2670012d196840071feed0003d007f24..."} 
[2026-07-27 20:20:09] local.INFO: Processing buffer {"connection_id":143277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa40b2670012d196840071feed0003d007f24..."} 
[2026-07-27 20:20:09] local.INFO: Packet analysis {"connection_id":143277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa40b"} 
[2026-07-27 20:20:09] local.INFO: Extracted packet for processing {"connection_id":143277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa40b"} 
[2026-07-27 20:20:09] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533264,"longitude_deg":75.6639808,"latitude_deg":11.9533264,"altitude":61,"angle":127,"satellites":36,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071feed0","is_valid_coordinates":true} 
[2026-07-27 20:20:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:20:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001881856001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:20:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971714234941440,"note":"Value kept but may cause issues"} 
[2026-07-27 20:20:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870803968,"note":"Value kept but may cause issues"} 
[2026-07-27 20:20:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:20:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785163622000,"timestamp_ms":1785163622000,"timestamp_seconds":1785163622,"priority":1,"record_length":96,"hex_timestamp":"0000019fa40b2670"} 
[2026-07-27 20:20:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:20:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-27 20:20:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:20:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:20:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:20:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:20:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:20:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:20:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:20:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:20:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:20:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:20:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001881856001,"66":12232,"121":206,"28":31744,"24":0,"16":8971714234941440,"45":1830783647870803968},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:20:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:20:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:20:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001881856001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:20:09] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:20:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:20:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971714234941440,"km_value":8971714234941.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:20:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870803968,"description":"Unknown IO ID 45"} 
[2026-07-27 20:20:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001881856001,"power":12232,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870803968}} 
[2026-07-27 20:20:09] local.INFO: DEBUG: GPS processor result {"connection_id":143277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555255,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:20:09] local.INFO: GPS data processed {"connection_id":143277,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:20:09] local.INFO: Acknowledgment sent {"connection_id":143277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:20:31] local.INFO: TCP Data received {"connection_id":145550,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:20:31] local.INFO: Processing buffer {"connection_id":145550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:20:31] local.INFO: IMEI packet received {"connection_id":145550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 20:20:31] local.INFO: IMEI acknowledgment sent {"connection_id":145550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:20:33] local.INFO: TCP Data received {"connection_id":145550,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:20:33] local.INFO: Processing buffer {"connection_id":145550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:20:33] local.INFO: IMEI packet received {"connection_id":145550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 20:20:33] local.INFO: IMEI acknowledgment sent {"connection_id":145550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:20:36] local.INFO: TCP Data received {"connection_id":145550,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:20:36] local.INFO: Processing buffer {"connection_id":145550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:20:36] local.INFO: IMEI packet received {"connection_id":145550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 20:20:36] local.INFO: IMEI acknowledgment sent {"connection_id":145550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:20:38] local.INFO: TCP Data received {"connection_id":145550,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fa40d31e0012da5f18005f4b8a8001500542c..."} 
[2026-07-27 20:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa40d31e0012da5f18005f4b8a8001500542c..."} 
[2026-07-27 20:20:38] local.INFO: Processing buffer {"connection_id":145550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa40d31e0012da5f18005f4b8a8001500542c..."} 
[2026-07-27 20:20:38] local.INFO: Packet analysis {"connection_id":145550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa40d"} 
[2026-07-27 20:20:38] local.INFO: Extracted packet for processing {"connection_id":145550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa40d"} 
[2026-07-27 20:20:38] local.INFO: GPS Element Parsed {"raw_longitude":765849984,"raw_latitude":99924136,"longitude_deg":76.5849984,"latitude_deg":9.9924136,"altitude":21,"angle":84,"satellites":44,"speed":14,"hex_longitude":"2da5f180","hex_latitude":"05f4b8a8","is_valid_coordinates":true} 
[2026-07-27 20:20:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:20:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001920512001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:20:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359348192690569216,"note":"Value kept but may cause issues"} 
[2026-07-27 20:20:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6490601831134660608,"note":"Value kept but may cause issues"} 
[2026-07-27 20:20:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:20:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785163756000,"timestamp_ms":1785163756000,"timestamp_seconds":1785163756,"priority":1,"record_length":96,"hex_timestamp":"0000019fa40d31e0"} 
[2026-07-27 20:20:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:20:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20:20:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-27 20:20:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:20:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:20:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:20:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:20:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:20:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:20:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:20:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:20:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 20:20:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 20:20:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001920512001,"66":27267,"164":206,"88":19456,"24":14,"16":359348192690569216,"45":-6490601831134660608},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,88,24,16,45]} 
[2026-07-27 20:20:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 20:20:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 20:20:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001920512001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:20:38] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-07-27 20:20:38] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-27 20:20:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359348192690569216,"km_value":359348192690569.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:20:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6490601831134660608,"description":"Unknown IO ID 45"} 
[2026-07-27 20:20:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001920512001,"power":27267,"unknown_164":206,"unknown_88":19456,"ignition":14,"odometer":null,"unknown_45":-6490601831134660608}} 
[2026-07-27 20:20:38] local.INFO: DEBUG: GPS processor result {"connection_id":145550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:20:38] local.INFO: GPS data processed {"connection_id":145550,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:20:38] local.INFO: Acknowledgment sent {"connection_id":145550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:20:40] local.INFO: TCP Data received {"connection_id":143277,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa40b7878012d196840071feed0003d007f22..."} 
[2026-07-27 20:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa40b7878012d196840071feed0003d007f22..."} 
[2026-07-27 20:20:40] local.INFO: Processing buffer {"connection_id":143277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa40b7878012d196840071feed0003d007f22..."} 
[2026-07-27 20:20:40] local.INFO: Packet analysis {"connection_id":143277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa40b"} 
[2026-07-27 20:20:40] local.INFO: Extracted packet for processing {"connection_id":143277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa40b"} 
[2026-07-27 20:20:40] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533264,"longitude_deg":75.6639808,"latitude_deg":11.9533264,"altitude":61,"angle":127,"satellites":34,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071feed0","is_valid_coordinates":true} 
[2026-07-27 20: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-07-27 20:20:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001887232001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:20:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971714234941440,"note":"Value kept but may cause issues"} 
[2026-07-27 20:20:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870799872,"note":"Value kept but may cause issues"} 
[2026-07-27 20:20:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:20:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785163643000,"timestamp_ms":1785163643000,"timestamp_seconds":1785163643,"priority":1,"record_length":96,"hex_timestamp":"0000019fa40b7878"} 
[2026-07-27 20:20:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:20:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-27 20:20:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20: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-07-27 20:20:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:20:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:20:40] local.INFO: Teltonika packet parsed successfully {"connection_id":143277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:20:40] local.INFO: Passing IMEI to GPS processor {"connection_id":143277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:20:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":143277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:20:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:20:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:20:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:20:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001887232001,"66":12254,"121":206,"28":31744,"24":0,"16":8971714234941440,"45":1830783647870799872},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:20:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:20:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:20:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001887232001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:20:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:20:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:20:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971714234941440,"km_value":8971714234941.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:20:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870799872,"description":"Unknown IO ID 45"} 
[2026-07-27 20:20:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001887232001,"power":12254,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870799872}} 
[2026-07-27 20:20:41] local.INFO: DEBUG: GPS processor result {"connection_id":143277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555257,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:20:41] local.INFO: GPS data processed {"connection_id":143277,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:20:41] local.INFO: Acknowledgment sent {"connection_id":143277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:20:59] local.INFO: TCP Data received {"connection_id":143137,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143137,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:20:59] local.INFO: Processing buffer {"connection_id":143137,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:20:59] local.INFO: IMEI packet received {"connection_id":143137,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 20:20:59] local.INFO: IMEI acknowledgment sent {"connection_id":143137,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:21:04] local.INFO: TCP Data received {"connection_id":143137,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143137,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:21:04] local.INFO: Processing buffer {"connection_id":143137,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:21:04] local.INFO: IMEI packet received {"connection_id":143137,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 20:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":143137,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:21:05] local.INFO: TCP Data received {"connection_id":143137,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa40bca80012d196840071feed0003d007f23..."} 
[2026-07-27 20:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143137,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa40bca80012d196840071feed0003d007f23..."} 
[2026-07-27 20:21:05] local.INFO: Processing buffer {"connection_id":143137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa40bca80012d196840071feed0003d007f23..."} 
[2026-07-27 20:21:05] local.INFO: Packet analysis {"connection_id":143137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa40b"} 
[2026-07-27 20:21:05] local.INFO: Extracted packet for processing {"connection_id":143137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa40b"} 
[2026-07-27 20:21:05] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533264,"longitude_deg":75.6639808,"latitude_deg":11.9533264,"altitude":61,"angle":127,"satellites":35,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071feed0","is_valid_coordinates":true} 
[2026-07-27 20:21:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:21:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001892608001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:21:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971714234941440,"note":"Value kept but may cause issues"} 
[2026-07-27 20:21:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870799872,"note":"Value kept but may cause issues"} 
[2026-07-27 20:21:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:21:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785163664000,"timestamp_ms":1785163664000,"timestamp_seconds":1785163664,"priority":1,"record_length":96,"hex_timestamp":"0000019fa40bca80"} 
[2026-07-27 20:21:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:21:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20:21:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-27 20:21:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:21:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:21:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:21:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:21:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:21:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143137,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:21:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143137,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:21:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:21:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:21:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:21:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001892608001,"66":12178,"121":206,"28":31744,"24":0,"16":8971714234941440,"45":1830783647870799872},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:21:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:21:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:21:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001892608001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:21:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:21:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:21:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971714234941440,"km_value":8971714234941.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:21:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870799872,"description":"Unknown IO ID 45"} 
[2026-07-27 20:21:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001892608001,"power":12178,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870799872}} 
[2026-07-27 20:21:05] local.INFO: DEBUG: GPS processor result {"connection_id":143137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555258,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:21:05] local.INFO: GPS data processed {"connection_id":143137,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:21:05] local.INFO: Acknowledgment sent {"connection_id":143137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:21:15] local.INFO: TCP Data received {"connection_id":145550,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fa40d6c78012da614c005f4be70001500522c..."} 
[2026-07-27 20:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa40d6c78012da614c005f4be70001500522c..."} 
[2026-07-27 20:21:15] local.INFO: Processing buffer {"connection_id":145550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa40d6c78012da614c005f4be70001500522c..."} 
[2026-07-27 20:21:15] local.INFO: Packet analysis {"connection_id":145550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa40d"} 
[2026-07-27 20:21:15] local.INFO: Extracted packet for processing {"connection_id":145550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa40d"} 
[2026-07-27 20:21:15] local.INFO: GPS Element Parsed {"raw_longitude":765859008,"raw_latitude":99925616,"longitude_deg":76.5859008,"latitude_deg":9.9925616,"altitude":21,"angle":82,"satellites":44,"speed":29,"hex_longitude":"2da614c0","hex_latitude":"05f4be70","is_valid_coordinates":true} 
[2026-07-27 20: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-07-27 20:21:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001921536001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:21:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359348630777233408,"note":"Value kept but may cause issues"} 
[2026-07-27 20:21:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6489264824995239936,"note":"Value kept but may cause issues"} 
[2026-07-27 20:21:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:21:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785163771000,"timestamp_ms":1785163771000,"timestamp_seconds":1785163771,"priority":1,"record_length":96,"hex_timestamp":"0000019fa40d6c78"} 
[2026-07-27 20:21:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:21:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-27 20:21:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20: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-07-27 20:21:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:21:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:21:15] local.INFO: Teltonika packet parsed successfully {"connection_id":145550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:21:15] local.INFO: Passing IMEI to GPS processor {"connection_id":145550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:21:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":145550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:21:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:21:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 20:21:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 20:21:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001921536001,"66":27213,"164":206,"88":19456,"24":29,"16":359348630777233408,"45":-6489264824995239936},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,88,24,16,45]} 
[2026-07-27 20:21:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 20:21:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 20:21:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001921536001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:21:15] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-07-27 20:21:15] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-27 20:21:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359348630777233408,"km_value":359348630777233.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:21:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6489264824995239936,"description":"Unknown IO ID 45"} 
[2026-07-27 20:21:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001921536001,"power":27213,"unknown_164":206,"unknown_88":19456,"ignition":29,"odometer":null,"unknown_45":-6489264824995239936}} 
[2026-07-27 20:21:15] local.INFO: DEBUG: GPS processor result {"connection_id":145550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:21:15] local.INFO: GPS data processed {"connection_id":145550,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:21:15] local.INFO: Acknowledgment sent {"connection_id":145550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:21:22] local.INFO: TCP Data received {"connection_id":143134,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 20:21:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143134,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 20:21:22] local.INFO: Processing buffer {"connection_id":143134,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 20:21:22] local.INFO: IMEI packet received {"connection_id":143134,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 20:21:22] local.INFO: IMEI acknowledgment sent {"connection_id":143134,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:21:39] local.INFO: TCP Data received {"connection_id":143137,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa40c1c88012d196840071feed0003d007f24..."} 
[2026-07-27 20:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143137,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa40c1c88012d196840071feed0003d007f24..."} 
[2026-07-27 20:21:39] local.INFO: Processing buffer {"connection_id":143137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa40c1c88012d196840071feed0003d007f24..."} 
[2026-07-27 20:21:39] local.INFO: Packet analysis {"connection_id":143137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa40c"} 
[2026-07-27 20:21:39] local.INFO: Extracted packet for processing {"connection_id":143137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa40c"} 
[2026-07-27 20:21:39] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533264,"longitude_deg":75.6639808,"latitude_deg":11.9533264,"altitude":61,"angle":127,"satellites":36,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071feed0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 20:21:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001897984001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:21:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971714234941440,"note":"Value kept but may cause issues"} 
[2026-07-27 20:21:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870799872,"note":"Value kept but may cause issues"} 
[2026-07-27 20:21:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:21:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785163685000,"timestamp_ms":1785163685000,"timestamp_seconds":1785163685,"priority":1,"record_length":96,"hex_timestamp":"0000019fa40c1c88"} 
[2026-07-27 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-07-27 20:21:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-27 20:21:39] 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-07-27 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-07-27 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-07-27 20:21:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:21:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:21:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143137,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:21:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143137,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:21:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:21:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:21:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:21:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001897984001,"66":12178,"121":206,"28":31744,"24":0,"16":8971714234941440,"45":1830783647870799872},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:21:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:21:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:21:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001897984001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:21:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:21:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:21:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971714234941440,"km_value":8971714234941.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:21:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870799872,"description":"Unknown IO ID 45"} 
[2026-07-27 20:21:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001897984001,"power":12178,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870799872}} 
[2026-07-27 20:21:39] local.INFO: DEBUG: GPS processor result {"connection_id":143137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555260,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:21:39] local.INFO: GPS data processed {"connection_id":143137,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:21:39] local.INFO: Acknowledgment sent {"connection_id":143137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:21:41] local.INFO: TCP Data received {"connection_id":144265,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:21:41] local.INFO: Processing buffer {"connection_id":144265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:21:41] local.INFO: IMEI packet received {"connection_id":144265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 20:21:41] local.INFO: IMEI acknowledgment sent {"connection_id":144265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:21:44] local.INFO: TCP Data received {"connection_id":144265,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:21:44] local.INFO: Processing buffer {"connection_id":144265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:21:44] local.INFO: IMEI packet received {"connection_id":144265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 20:21:44] local.INFO: IMEI acknowledgment sent {"connection_id":144265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:21:46] local.INFO: TCP Data received {"connection_id":144265,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:21:46] local.INFO: Processing buffer {"connection_id":144265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:21:46] local.INFO: IMEI packet received {"connection_id":144265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 20:21:46] local.INFO: IMEI acknowledgment sent {"connection_id":144265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:21:47] local.INFO: TCP Data received {"connection_id":144265,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fa40d9770012da6314005f4c410001700452a..."} 
[2026-07-27 20:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa40d9770012da6314005f4c410001700452a..."} 
[2026-07-27 20:21:47] local.INFO: Processing buffer {"connection_id":144265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa40d9770012da6314005f4c410001700452a..."} 
[2026-07-27 20:21:47] local.INFO: Packet analysis {"connection_id":144265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa40d"} 
[2026-07-27 20:21:47] local.INFO: Extracted packet for processing {"connection_id":144265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa40d"} 
[2026-07-27 20:21:47] local.INFO: GPS Element Parsed {"raw_longitude":765866304,"raw_latitude":99927056,"longitude_deg":76.5866304,"latitude_deg":9.9927056,"altitude":23,"angle":69,"satellites":42,"speed":24,"hex_longitude":"2da63140","hex_latitude":"05f4c410","is_valid_coordinates":true} 
[2026-07-27 20:21:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:21:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001925376001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:21:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359348987259518976,"note":"Value kept but may cause issues"} 
[2026-07-27 20:21:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6479342832065810432,"note":"Value kept but may cause issues"} 
[2026-07-27 20:21:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:21:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785163782000,"timestamp_ms":1785163782000,"timestamp_seconds":1785163782,"priority":1,"record_length":96,"hex_timestamp":"0000019fa40d9770"} 
[2026-07-27 20:21:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:21:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20:21:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-27 20:21:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:21:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:21:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:21:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:21:47] local.INFO: Teltonika packet parsed successfully {"connection_id":144265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:21:47] local.INFO: Passing IMEI to GPS processor {"connection_id":144265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:21:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":144265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:21:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:21:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 20:21:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 20:21:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001925376001,"66":27300,"164":206,"88":19456,"24":24,"16":359348987259518976,"45":-6479342832065810432},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,88,24,16,45]} 
[2026-07-27 20:21:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 20:21:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 20:21:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001925376001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:21:47] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-07-27 20:21:47] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-27 20:21:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359348987259518976,"km_value":359348987259519.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:21:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6479342832065810432,"description":"Unknown IO ID 45"} 
[2026-07-27 20:21:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001925376001,"power":27300,"unknown_164":206,"unknown_88":19456,"ignition":24,"odometer":null,"unknown_45":-6479342832065810432}} 
[2026-07-27 20:21:47] local.INFO: DEBUG: GPS processor result {"connection_id":144265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:21:47] local.INFO: GPS data processed {"connection_id":144265,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:21:47] local.INFO: Acknowledgment sent {"connection_id":144265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:21:59] local.INFO: TCP Data received {"connection_id":145551,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145551,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:21:59] local.INFO: Processing buffer {"connection_id":145551,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:21:59] local.INFO: IMEI packet received {"connection_id":145551,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 20:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":145551,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:22:04] local.INFO: TCP Data received {"connection_id":145551,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145551,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:22:04] local.INFO: Processing buffer {"connection_id":145551,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:22:04] local.INFO: IMEI packet received {"connection_id":145551,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 20:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":145551,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:22:05] local.INFO: TCP Data received {"connection_id":145551,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa40c6e90012d196840071feed0003d007f24..."} 
[2026-07-27 20:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa40c6e90012d196840071feed0003d007f24..."} 
[2026-07-27 20:22:05] local.INFO: Processing buffer {"connection_id":145551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa40c6e90012d196840071feed0003d007f24..."} 
[2026-07-27 20:22:05] local.INFO: Packet analysis {"connection_id":145551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa40c"} 
[2026-07-27 20:22:05] local.INFO: Extracted packet for processing {"connection_id":145551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa40c"} 
[2026-07-27 20:22:05] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533264,"longitude_deg":75.6639808,"latitude_deg":11.9533264,"altitude":61,"angle":127,"satellites":36,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071feed0","is_valid_coordinates":true} 
[2026-07-27 20:22:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:22:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001903360001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:22:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971714234941440,"note":"Value kept but may cause issues"} 
[2026-07-27 20:22:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870799872,"note":"Value kept but may cause issues"} 
[2026-07-27 20:22:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:22:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785163706000,"timestamp_ms":1785163706000,"timestamp_seconds":1785163706,"priority":1,"record_length":96,"hex_timestamp":"0000019fa40c6e90"} 
[2026-07-27 20:22:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:22:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20:22:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-27 20:22:05] 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-07-27 20:22:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:22:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:22:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:22:05] local.INFO: Teltonika packet parsed successfully {"connection_id":145551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:22:05] local.INFO: Passing IMEI to GPS processor {"connection_id":145551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:22:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":145551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:22:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:22:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:22:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:22:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001903360001,"66":12254,"121":206,"28":31744,"24":0,"16":8971714234941440,"45":1830783647870799872},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:22:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:22:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:22:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001903360001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:22:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:22:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:22:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971714234941440,"km_value":8971714234941.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:22:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870799872,"description":"Unknown IO ID 45"} 
[2026-07-27 20:22:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001903360001,"power":12254,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870799872}} 
[2026-07-27 20:22:06] local.INFO: DEBUG: GPS processor result {"connection_id":145551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555262,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:22:06] local.INFO: GPS data processed {"connection_id":145551,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:22:06] local.INFO: Acknowledgment sent {"connection_id":145551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:22:36] local.INFO: TCP Data received {"connection_id":144267,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:22:36] local.INFO: Processing buffer {"connection_id":144267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:22:36] local.INFO: IMEI packet received {"connection_id":144267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 20:22:36] local.INFO: IMEI acknowledgment sent {"connection_id":144267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:22:37] local.INFO: TCP Data received {"connection_id":145551,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa40cc098012d196840071feed0003d007f24..."} 
[2026-07-27 20:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa40cc098012d196840071feed0003d007f24..."} 
[2026-07-27 20:22:37] local.INFO: Processing buffer {"connection_id":145551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa40cc098012d196840071feed0003d007f24..."} 
[2026-07-27 20:22:37] local.INFO: Packet analysis {"connection_id":145551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa40c"} 
[2026-07-27 20:22:37] local.INFO: Extracted packet for processing {"connection_id":145551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa40c"} 
[2026-07-27 20:22:37] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533264,"longitude_deg":75.6639808,"latitude_deg":11.9533264,"altitude":61,"angle":127,"satellites":36,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071feed0","is_valid_coordinates":true} 
[2026-07-27 20:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:22:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001908736001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:22:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971714234941440,"note":"Value kept but may cause issues"} 
[2026-07-27 20:22:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870799872,"note":"Value kept but may cause issues"} 
[2026-07-27 20:22:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:22:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785163727000,"timestamp_ms":1785163727000,"timestamp_seconds":1785163727,"priority":1,"record_length":96,"hex_timestamp":"0000019fa40cc098"} 
[2026-07-27 20:22:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:22:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-27 20:22:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:22:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:22:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:22:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:22:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:22:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:22:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:22:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:22:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:22:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:22:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001908736001,"66":12178,"121":206,"28":31744,"24":0,"16":8971714234941440,"45":1830783647870799872},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:22:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:22:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:22:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001908736001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:22:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:22:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:22:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971714234941440,"km_value":8971714234941.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:22:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870799872,"description":"Unknown IO ID 45"} 
[2026-07-27 20:22:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001908736001,"power":12178,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870799872}} 
[2026-07-27 20:22:37] local.INFO: DEBUG: GPS processor result {"connection_id":145551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555263,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:22:37] local.INFO: GPS data processed {"connection_id":145551,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:22:37] local.INFO: Acknowledgment sent {"connection_id":145551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:22:40] local.INFO: TCP Data received {"connection_id":144267,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:22:40] local.INFO: Processing buffer {"connection_id":144267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:22:40] local.INFO: IMEI packet received {"connection_id":144267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 20:22:40] local.INFO: IMEI acknowledgment sent {"connection_id":144267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:22:49] local.INFO: TCP Data received {"connection_id":144267,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fa40dca38012da6534005f4d0d80017004629..."} 
[2026-07-27 20:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144267,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa40dca38012da6534005f4d0d80017004629..."} 
[2026-07-27 20:22:49] local.INFO: Processing buffer {"connection_id":144267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa40dca38012da6534005f4d0d80017004629..."} 
[2026-07-27 20:22:49] local.INFO: Packet analysis {"connection_id":144267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa40d"} 
[2026-07-27 20:22:49] local.INFO: Extracted packet for processing {"connection_id":144267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa40d"} 
[2026-07-27 20:22:49] local.INFO: GPS Element Parsed {"raw_longitude":765875008,"raw_latitude":99930328,"longitude_deg":76.5875008,"latitude_deg":9.9930328,"altitude":23,"angle":70,"satellites":41,"speed":21,"hex_longitude":"2da65340","hex_latitude":"05f4d0d8","is_valid_coordinates":true} 
[2026-07-27 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-07-27 20:22:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001928192001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:22:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359349433936117760,"note":"Value kept but may cause issues"} 
[2026-07-27 20:22:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6471320795229188096,"note":"Value kept but may cause issues"} 
[2026-07-27 20:22:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:22:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785163795000,"timestamp_ms":1785163795000,"timestamp_seconds":1785163795,"priority":1,"record_length":96,"hex_timestamp":"0000019fa40dca38"} 
[2026-07-27 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-07-27 20:22:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-27 20:22:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 20:22:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:22:49] local.INFO: Teltonika packet parsed successfully {"connection_id":144267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:22:49] local.INFO: Passing IMEI to GPS processor {"connection_id":144267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:22:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":144267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:22:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:22:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 20:22:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 20:22:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001928192001,"66":27332,"164":206,"88":19456,"24":21,"16":359349433936117760,"45":-6471320795229188096},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,88,24,16,45]} 
[2026-07-27 20:22:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 20:22:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 20:22:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001928192001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:22:49] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-07-27 20:22:49] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-27 20:22:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359349433936117760,"km_value":359349433936117.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:22:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6471320795229188096,"description":"Unknown IO ID 45"} 
[2026-07-27 20:22:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001928192001,"power":27332,"unknown_164":206,"unknown_88":19456,"ignition":21,"odometer":null,"unknown_45":-6471320795229188096}} 
[2026-07-27 20:22:49] local.INFO: DEBUG: GPS processor result {"connection_id":144267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:22:49] local.INFO: GPS data processed {"connection_id":144267,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:22:49] local.INFO: Acknowledgment sent {"connection_id":144267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:22:52] local.INFO: TCP Data received {"connection_id":144267,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fa40e1c40012da6724005f4dbc00014003b2c..."} 
[2026-07-27 20:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144267,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa40e1c40012da6724005f4dbc00014003b2c..."} 
[2026-07-27 20:22:52] local.INFO: Processing buffer {"connection_id":144267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa40e1c40012da6724005f4dbc00014003b2c..."} 
[2026-07-27 20:22:52] local.INFO: Packet analysis {"connection_id":144267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa40e"} 
[2026-07-27 20:22:52] local.INFO: Extracted packet for processing {"connection_id":144267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa40e"} 
[2026-07-27 20:22:52] local.INFO: GPS Element Parsed {"raw_longitude":765882944,"raw_latitude":99933120,"longitude_deg":76.5882944,"latitude_deg":9.993312,"altitude":20,"angle":59,"satellites":44,"speed":0,"hex_longitude":"2da67240","hex_latitude":"05f4dbc0","is_valid_coordinates":true} 
[2026-07-27 20:22:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:22:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001931520001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:22:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359349833368076288,"note":"Value kept but may cause issues"} 
[2026-07-27 20:22:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6461750646020188160,"note":"Value kept but may cause issues"} 
[2026-07-27 20:22:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:22:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785163816000,"timestamp_ms":1785163816000,"timestamp_seconds":1785163816,"priority":1,"record_length":96,"hex_timestamp":"0000019fa40e1c40"} 
[2026-07-27 20:22:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:22:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20:22:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-27 20:22:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:22:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:22:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:22:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:22:52] local.INFO: Teltonika packet parsed successfully {"connection_id":144267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:22:52] local.INFO: Passing IMEI to GPS processor {"connection_id":144267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:22:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":144267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:22:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:22:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 20:22:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 20:22:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001931520001,"66":27376,"164":206,"88":19456,"24":0,"16":359349833368076288,"45":-6461750646020188160},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,88,24,16,45]} 
[2026-07-27 20:22:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 20:22:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 20:22:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001931520001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:22:52] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-07-27 20:22:52] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-27 20:22:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359349833368076288,"km_value":359349833368076.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:22:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6461750646020188160,"description":"Unknown IO ID 45"} 
[2026-07-27 20:22:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001931520001,"power":27376,"unknown_164":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6461750646020188160}} 
[2026-07-27 20:22:52] local.INFO: DEBUG: GPS processor result {"connection_id":144267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:22:52] local.INFO: GPS data processed {"connection_id":144267,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:22:52] local.INFO: Acknowledgment sent {"connection_id":144267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:23:04] local.INFO: TCP Data received {"connection_id":144268,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144268,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:23:04] local.INFO: Processing buffer {"connection_id":144268,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:23:04] local.INFO: IMEI packet received {"connection_id":144268,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 20:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":144268,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:23:09] local.INFO: TCP Data received {"connection_id":144268,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144268,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:23:09] local.INFO: Processing buffer {"connection_id":144268,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:23:09] local.INFO: IMEI packet received {"connection_id":144268,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 20:23:09] local.INFO: IMEI acknowledgment sent {"connection_id":144268,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:23:10] local.INFO: TCP Data received {"connection_id":144268,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa40d12a0012d196840071feed0003d007f25..."} 
[2026-07-27 20:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa40d12a0012d196840071feed0003d007f25..."} 
[2026-07-27 20:23:10] local.INFO: Processing buffer {"connection_id":144268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa40d12a0012d196840071feed0003d007f25..."} 
[2026-07-27 20:23:10] local.INFO: Packet analysis {"connection_id":144268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa40d"} 
[2026-07-27 20:23:10] local.INFO: Extracted packet for processing {"connection_id":144268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa40d"} 
[2026-07-27 20:23:10] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533264,"longitude_deg":75.6639808,"latitude_deg":11.9533264,"altitude":61,"angle":127,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071feed0","is_valid_coordinates":true} 
[2026-07-27 20:23:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:23:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001914112001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:23:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971714234941440,"note":"Value kept but may cause issues"} 
[2026-07-27 20:23:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870799872,"note":"Value kept but may cause issues"} 
[2026-07-27 20:23:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:23:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785163748000,"timestamp_ms":1785163748000,"timestamp_seconds":1785163748,"priority":1,"record_length":96,"hex_timestamp":"0000019fa40d12a0"} 
[2026-07-27 20:23:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:23:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20: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":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-27 20:23:10] 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-07-27 20:23:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:23:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:23:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:23:10] local.INFO: Teltonika packet parsed successfully {"connection_id":144268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:23:10] local.INFO: Passing IMEI to GPS processor {"connection_id":144268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:23:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":144268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:23:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:23:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:23:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:23:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001914112001,"66":11547,"121":206,"28":31744,"24":0,"16":8971714234941440,"45":1830783647870799872},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:23:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:23:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:23:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001914112001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:23:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:23:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:23:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971714234941440,"km_value":8971714234941.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:23:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870799872,"description":"Unknown IO ID 45"} 
[2026-07-27 20:23:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001914112001,"power":11547,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870799872}} 
[2026-07-27 20:23:10] local.INFO: DEBUG: GPS processor result {"connection_id":144268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555266,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:23:10] local.INFO: GPS data processed {"connection_id":144268,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:23:10] local.INFO: Acknowledgment sent {"connection_id":144268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:23:12] local.INFO: TCP Data received {"connection_id":144268,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa40d64a8012d196840071feed0003d007f28..."} 
[2026-07-27 20:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa40d64a8012d196840071feed0003d007f28..."} 
[2026-07-27 20:23:12] local.INFO: Processing buffer {"connection_id":144268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa40d64a8012d196840071feed0003d007f28..."} 
[2026-07-27 20:23:12] local.INFO: Packet analysis {"connection_id":144268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa40d"} 
[2026-07-27 20:23:12] local.INFO: Extracted packet for processing {"connection_id":144268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa40d"} 
[2026-07-27 20:23:12] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533264,"longitude_deg":75.6639808,"latitude_deg":11.9533264,"altitude":61,"angle":127,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071feed0","is_valid_coordinates":true} 
[2026-07-27 20: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-07-27 20:23:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001919488001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:23:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971714234941440,"note":"Value kept but may cause issues"} 
[2026-07-27 20:23:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870799872,"note":"Value kept but may cause issues"} 
[2026-07-27 20:23:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:23:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785163769000,"timestamp_ms":1785163769000,"timestamp_seconds":1785163769,"priority":1,"record_length":96,"hex_timestamp":"0000019fa40d64a8"} 
[2026-07-27 20:23:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:23:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20: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":45,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-07-27 20:23:12] 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-07-27 20: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-07-27 20:23:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:23:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:23:12] local.INFO: Teltonika packet parsed successfully {"connection_id":144268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:23:12] local.INFO: Passing IMEI to GPS processor {"connection_id":144268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:23:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":144268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:23:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:23:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:23:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:23:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001919488001,"66":12232,"121":206,"28":31744,"24":0,"16":8971714234941440,"45":1830783647870799872},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:23:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:23:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:23:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001919488001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:23:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:23:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:23:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971714234941440,"km_value":8971714234941.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:23:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870799872,"description":"Unknown IO ID 45"} 
[2026-07-27 20:23:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001919488001,"power":12232,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870799872}} 
[2026-07-27 20:23:12] local.INFO: DEBUG: GPS processor result {"connection_id":144268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555267,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:23:12] local.INFO: GPS data processed {"connection_id":144268,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:23:12] local.INFO: Acknowledgment sent {"connection_id":144268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:23:31] local.INFO: TCP Data received {"connection_id":145552,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:23:31] local.INFO: Processing buffer {"connection_id":145552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:23:31] local.INFO: IMEI packet received {"connection_id":145552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 20:23:31] local.INFO: IMEI acknowledgment sent {"connection_id":145552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:23:31] local.INFO: TCP Data received {"connection_id":145552,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:23:31] local.INFO: Processing buffer {"connection_id":145552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:23:31] local.INFO: IMEI packet received {"connection_id":145552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 20:23:31] local.INFO: IMEI acknowledgment sent {"connection_id":145552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:23:36] local.INFO: TCP Data received {"connection_id":145552,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:23:36] local.INFO: Processing buffer {"connection_id":145552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:23:36] local.INFO: IMEI packet received {"connection_id":145552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 20:23:36] local.INFO: IMEI acknowledgment sent {"connection_id":145552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:23:39] local.INFO: TCP Data received {"connection_id":145552,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4100488012da794c005f563680018006025..."} 
[2026-07-27 20:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145552,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4100488012da794c005f563680018006025..."} 
[2026-07-27 20:23:39] local.INFO: Processing buffer {"connection_id":145552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4100488012da794c005f563680018006025..."} 
[2026-07-27 20:23:39] local.INFO: Packet analysis {"connection_id":145552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa410"} 
[2026-07-27 20:23:39] local.INFO: Extracted packet for processing {"connection_id":145552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa410"} 
[2026-07-27 20:23:39] local.INFO: GPS Element Parsed {"raw_longitude":765957312,"raw_latitude":99967848,"longitude_deg":76.5957312,"latitude_deg":9.9967848,"altitude":24,"angle":96,"satellites":37,"speed":26,"hex_longitude":"2da794c0","hex_latitude":"05f56368","is_valid_coordinates":true} 
[2026-07-27 20:23:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:23:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001968384001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:23:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359353939356811264,"note":"Value kept but may cause issues"} 
[2026-07-27 20:23:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6372663815881576448,"note":"Value kept but may cause issues"} 
[2026-07-27 20:23:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:23:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785163941000,"timestamp_ms":1785163941000,"timestamp_seconds":1785163941,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4100488"} 
[2026-07-27 20:23:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:23:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-27 20:23:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:23:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:23:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:23:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:23:39] local.INFO: Teltonika packet parsed successfully {"connection_id":145552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:23:39] local.INFO: Passing IMEI to GPS processor {"connection_id":145552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:23:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":145552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:23: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-07-27 20:23:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 20:23:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 20:23:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001968384001,"66":27343,"38":206,"88":19456,"24":26,"16":359353939356811264,"45":-6372663815881576448},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,88,24,16,45]} 
[2026-07-27 20:23:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 20:23:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 20:23:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001968384001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:23:39] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-07-27 20:23:39] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-27 20:23:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359353939356811264,"km_value":359353939356811.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:23:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6372663815881576448,"description":"Unknown IO ID 45"} 
[2026-07-27 20:23:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001968384001,"power":27343,"unknown_38":206,"unknown_88":19456,"ignition":26,"odometer":null,"unknown_45":-6372663815881576448}} 
[2026-07-27 20:23:39] local.INFO: DEBUG: GPS processor result {"connection_id":145552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:23:39] local.INFO: GPS data processed {"connection_id":145552,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:23:39] local.INFO: Acknowledgment sent {"connection_id":145552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:23:44] local.INFO: TCP Data received {"connection_id":144268,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa40db6b0012d196840071feed0003d007f26..."} 
[2026-07-27 20:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa40db6b0012d196840071feed0003d007f26..."} 
[2026-07-27 20:23:44] local.INFO: Processing buffer {"connection_id":144268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa40db6b0012d196840071feed0003d007f26..."} 
[2026-07-27 20:23:44] local.INFO: Packet analysis {"connection_id":144268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa40d"} 
[2026-07-27 20:23:44] local.INFO: Extracted packet for processing {"connection_id":144268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa40d"} 
[2026-07-27 20:23:44] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533264,"longitude_deg":75.6639808,"latitude_deg":11.9533264,"altitude":61,"angle":127,"satellites":38,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071feed0","is_valid_coordinates":true} 
[2026-07-27 20:23:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:23:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001924864001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:23:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971714234941440,"note":"Value kept but may cause issues"} 
[2026-07-27 20:23:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870799872,"note":"Value kept but may cause issues"} 
[2026-07-27 20:23:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:23:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785163790000,"timestamp_ms":1785163790000,"timestamp_seconds":1785163790,"priority":1,"record_length":96,"hex_timestamp":"0000019fa40db6b0"} 
[2026-07-27 20:23:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:23:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20:23:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-27 20:23:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:23:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:23:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:23:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:23:44] local.INFO: Teltonika packet parsed successfully {"connection_id":144268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:23:44] local.INFO: Passing IMEI to GPS processor {"connection_id":144268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:23:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":144268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:23:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:23:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:23:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:23:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001924864001,"66":12156,"121":206,"28":31744,"24":0,"16":8971714234941440,"45":1830783647870799872},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:23:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:23:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:23:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001924864001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:23:44] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:23:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:23:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971714234941440,"km_value":8971714234941.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:23:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870799872,"description":"Unknown IO ID 45"} 
[2026-07-27 20:23:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001924864001,"power":12156,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870799872}} 
[2026-07-27 20:23:44] local.INFO: DEBUG: GPS processor result {"connection_id":144268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555269,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:23:44] local.INFO: GPS data processed {"connection_id":144268,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:23:44] local.INFO: Acknowledgment sent {"connection_id":144268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:23:59] local.INFO: TCP Data received {"connection_id":143278,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143278,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:23:59] local.INFO: Processing buffer {"connection_id":143278,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:23:59] local.INFO: IMEI packet received {"connection_id":143278,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 20:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":143278,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:24:04] local.INFO: TCP Data received {"connection_id":143278,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143278,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:24:04] local.INFO: Processing buffer {"connection_id":143278,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:24:04] local.INFO: IMEI packet received {"connection_id":143278,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 20:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":143278,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:24:05] local.INFO: TCP Data received {"connection_id":143278,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa40e08b8012d196840071feed0003d007f26..."} 
[2026-07-27 20:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa40e08b8012d196840071feed0003d007f26..."} 
[2026-07-27 20:24:05] local.INFO: Processing buffer {"connection_id":143278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa40e08b8012d196840071feed0003d007f26..."} 
[2026-07-27 20:24:05] local.INFO: Packet analysis {"connection_id":143278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa40e"} 
[2026-07-27 20:24:05] local.INFO: Extracted packet for processing {"connection_id":143278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa40e"} 
[2026-07-27 20:24:05] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533264,"longitude_deg":75.6639808,"latitude_deg":11.9533264,"altitude":61,"angle":127,"satellites":38,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071feed0","is_valid_coordinates":true} 
[2026-07-27 20:24:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:24:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001930240001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:24:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971714234941440,"note":"Value kept but may cause issues"} 
[2026-07-27 20:24:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870799872,"note":"Value kept but may cause issues"} 
[2026-07-27 20:24:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:24:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785163811000,"timestamp_ms":1785163811000,"timestamp_seconds":1785163811,"priority":1,"record_length":96,"hex_timestamp":"0000019fa40e08b8"} 
[2026-07-27 20:24:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:24:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20:24:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-27 20:24:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:24:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:24:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:24:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:24:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:24:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143278,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:24:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143278,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:24:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:24:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:24:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:24:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001930240001,"66":12265,"121":206,"28":31744,"24":0,"16":8971714234941440,"45":1830783647870799872},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:24:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:24:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:24:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001930240001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:24:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:24:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:24:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971714234941440,"km_value":8971714234941.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:24:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870799872,"description":"Unknown IO ID 45"} 
[2026-07-27 20:24:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001930240001,"power":12265,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870799872}} 
[2026-07-27 20:24:05] local.INFO: DEBUG: GPS processor result {"connection_id":143278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555270,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:24:05] local.INFO: GPS data processed {"connection_id":143278,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:24:05] local.INFO: Acknowledgment sent {"connection_id":143278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:24:10] local.INFO: TCP Data received {"connection_id":145552,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4101428012da79fc005f563b00018005328..."} 
[2026-07-27 20:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145552,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4101428012da79fc005f563b00018005328..."} 
[2026-07-27 20:24:10] local.INFO: Processing buffer {"connection_id":145552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4101428012da79fc005f563b00018005328..."} 
[2026-07-27 20:24:10] local.INFO: Packet analysis {"connection_id":145552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa410"} 
[2026-07-27 20:24:10] local.INFO: Extracted packet for processing {"connection_id":145552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa410"} 
[2026-07-27 20:24:10] local.INFO: GPS Element Parsed {"raw_longitude":765960128,"raw_latitude":99967920,"longitude_deg":76.5960128,"latitude_deg":9.996792,"altitude":24,"angle":83,"satellites":40,"speed":28,"hex_longitude":"2da79fc0","hex_latitude":"05f563b0","is_valid_coordinates":true} 
[2026-07-27 20:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:24:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001968896001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:24:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359354072500797440,"note":"Value kept but may cause issues"} 
[2026-07-27 20:24:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6371256440998107136,"note":"Value kept but may cause issues"} 
[2026-07-27 20:24:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:24:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785163945000,"timestamp_ms":1785163945000,"timestamp_seconds":1785163945,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4101428"} 
[2026-07-27 20:24:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:24:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-27 20:24:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:24:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:24:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:24:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:24:10] local.INFO: Teltonika packet parsed successfully {"connection_id":145552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:24:10] local.INFO: Passing IMEI to GPS processor {"connection_id":145552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:24:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":145552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:24:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:24:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 20:24:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 20:24:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001968896001,"66":27300,"38":206,"88":19456,"24":28,"16":359354072500797440,"45":-6371256440998107136},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,88,24,16,45]} 
[2026-07-27 20:24:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 20:24:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 20:24:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001968896001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:24:10] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-07-27 20:24:10] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-27 20:24:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359354072500797440,"km_value":359354072500797.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:24:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6371256440998107136,"description":"Unknown IO ID 45"} 
[2026-07-27 20:24:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001968896001,"power":27300,"unknown_38":206,"unknown_88":19456,"ignition":28,"odometer":null,"unknown_45":-6371256440998107136}} 
[2026-07-27 20:24:10] local.INFO: DEBUG: GPS processor result {"connection_id":145552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:24:10] local.INFO: GPS data processed {"connection_id":145552,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:24:10] local.INFO: Acknowledgment sent {"connection_id":145552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:24:36] local.INFO: TCP Data received {"connection_id":145553,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:24:36] local.INFO: Processing buffer {"connection_id":145553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:24:36] local.INFO: IMEI packet received {"connection_id":145553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 20:24:36] local.INFO: IMEI acknowledgment sent {"connection_id":145553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:24:37] local.INFO: TCP Data received {"connection_id":143278,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa40e5ac0012d196840071feed0003d007f26..."} 
[2026-07-27 20:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa40e5ac0012d196840071feed0003d007f26..."} 
[2026-07-27 20:24:37] local.INFO: Processing buffer {"connection_id":143278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa40e5ac0012d196840071feed0003d007f26..."} 
[2026-07-27 20:24:37] local.INFO: Packet analysis {"connection_id":143278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa40e"} 
[2026-07-27 20:24:37] local.INFO: Extracted packet for processing {"connection_id":143278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa40e"} 
[2026-07-27 20:24:37] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533264,"longitude_deg":75.6639808,"latitude_deg":11.9533264,"altitude":61,"angle":127,"satellites":38,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071feed0","is_valid_coordinates":true} 
[2026-07-27 20:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001935616001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:24:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971714234941440,"note":"Value kept but may cause issues"} 
[2026-07-27 20:24:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870799872,"note":"Value kept but may cause issues"} 
[2026-07-27 20:24:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:24:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785163832000,"timestamp_ms":1785163832000,"timestamp_seconds":1785163832,"priority":1,"record_length":96,"hex_timestamp":"0000019fa40e5ac0"} 
[2026-07-27 20:24:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:24:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 20:24:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2530,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:24:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:24:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:24:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:24:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:24:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143278,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:24:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143278,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:24:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:24:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:24:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:24:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001935616001,"66":12211,"121":206,"28":31744,"24":0,"16":8971714234941440,"45":1830783647870799872},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:24:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:24:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:24:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001935616001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:24:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:24:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:24:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971714234941440,"km_value":8971714234941.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:24:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870799872,"description":"Unknown IO ID 45"} 
[2026-07-27 20:24:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001935616001,"power":12211,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870799872}} 
[2026-07-27 20:24:37] local.INFO: DEBUG: GPS processor result {"connection_id":143278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555272,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:24:37] local.INFO: GPS data processed {"connection_id":143278,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:24:37] local.INFO: Acknowledgment sent {"connection_id":143278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:24:38] local.INFO: TCP Data received {"connection_id":145553,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:24:38] local.INFO: Processing buffer {"connection_id":145553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:24:38] local.INFO: IMEI packet received {"connection_id":145553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 20:24:38] local.INFO: IMEI acknowledgment sent {"connection_id":145553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:24:43] local.INFO: TCP Data received {"connection_id":145553,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:24:43] local.INFO: Processing buffer {"connection_id":145553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:24:43] local.INFO: IMEI packet received {"connection_id":145553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 20:24:43] local.INFO: IMEI acknowledgment sent {"connection_id":145553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:24:44] local.INFO: TCP Data received {"connection_id":145553,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fa41148c0012da8264005f5cc40000e016628..."} 
[2026-07-27 20:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa41148c0012da8264005f5cc40000e016628..."} 
[2026-07-27 20:24:44] local.INFO: Processing buffer {"connection_id":145553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa41148c0012da8264005f5cc40000e016628..."} 
[2026-07-27 20:24:44] local.INFO: Packet analysis {"connection_id":145553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa411"} 
[2026-07-27 20:24:44] local.INFO: Extracted packet for processing {"connection_id":145553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa411"} 
[2026-07-27 20:24:44] local.INFO: GPS Element Parsed {"raw_longitude":765994560,"raw_latitude":99994688,"longitude_deg":76.599456,"latitude_deg":9.9994688,"altitude":14,"angle":358,"satellites":40,"speed":41,"hex_longitude":"2da82640","hex_latitude":"05f5cc40","is_valid_coordinates":true} 
[2026-07-27 20:24:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:24:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001987584001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:24:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359356709610717184,"note":"Value kept but may cause issues"} 
[2026-07-27 20:24:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6327627819603521536,"note":"Value kept but may cause issues"} 
[2026-07-27 20:24:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:24:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785164024000,"timestamp_ms":1785164024000,"timestamp_seconds":1785164024,"priority":1,"record_length":96,"hex_timestamp":"0000019fa41148c0"} 
[2026-07-27 20:24:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:24:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20:24:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":67,"data_length":795,"current_offset":136} 
[2026-07-27 20:24:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1321,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:24:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:24:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:24:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:24:44] local.INFO: Teltonika packet parsed successfully {"connection_id":145553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:24:44] local.INFO: Passing IMEI to GPS processor {"connection_id":145553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:24:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":145553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:24:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:24:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 20:24:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 20:24:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001987584001,"66":27234,"182":206,"88":19456,"24":41,"16":359356709610717184,"45":-6327627819603521536},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,88,24,16,45]} 
[2026-07-27 20:24:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 20:24:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 20:24:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001987584001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:24:44] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-07-27 20:24:44] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-27 20:24:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359356709610717184,"km_value":359356709610717.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:24:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6327627819603521536,"description":"Unknown IO ID 45"} 
[2026-07-27 20:24:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001987584001,"power":27234,"unknown_182":206,"unknown_88":19456,"ignition":41,"odometer":null,"unknown_45":-6327627819603521536}} 
[2026-07-27 20:24:44] local.INFO: DEBUG: GPS processor result {"connection_id":145553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:24:44] local.INFO: GPS data processed {"connection_id":145553,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:24:44] local.INFO: Acknowledgment sent {"connection_id":145553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:24:57] local.INFO: TCP Data received {"connection_id":145554,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145554,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:24:57] local.INFO: Processing buffer {"connection_id":145554,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:24:57] local.INFO: IMEI packet received {"connection_id":145554,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 20:24:57] local.INFO: IMEI acknowledgment sent {"connection_id":145554,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:24:59] local.INFO: TCP Data received {"connection_id":145554,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145554,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:24:59] local.INFO: Processing buffer {"connection_id":145554,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:24:59] local.INFO: IMEI packet received {"connection_id":145554,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 20:24:59] local.INFO: IMEI acknowledgment sent {"connection_id":145554,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:25:04] local.INFO: TCP Data received {"connection_id":145554,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145554,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:25:04] local.INFO: Processing buffer {"connection_id":145554,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:25:04] local.INFO: IMEI packet received {"connection_id":145554,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 20:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":145554,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:25:05] local.INFO: TCP Data received {"connection_id":145554,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa40eacc8012d196840071feed0003d007f27..."} 
[2026-07-27 20:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa40eacc8012d196840071feed0003d007f27..."} 
[2026-07-27 20:25:05] local.INFO: Processing buffer {"connection_id":145554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa40eacc8012d196840071feed0003d007f27..."} 
[2026-07-27 20:25:05] local.INFO: Packet analysis {"connection_id":145554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa40e"} 
[2026-07-27 20:25:05] local.INFO: Extracted packet for processing {"connection_id":145554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa40e"} 
[2026-07-27 20:25:05] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533264,"longitude_deg":75.6639808,"latitude_deg":11.9533264,"altitude":61,"angle":127,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071feed0","is_valid_coordinates":true} 
[2026-07-27 20:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:25:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001940992001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:25:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971714234941440,"note":"Value kept but may cause issues"} 
[2026-07-27 20:25:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870799872,"note":"Value kept but may cause issues"} 
[2026-07-27 20:25:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:25:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785163853000,"timestamp_ms":1785163853000,"timestamp_seconds":1785163853,"priority":1,"record_length":96,"hex_timestamp":"0000019fa40eacc8"} 
[2026-07-27 20:25:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:25:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-27 20:25:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:25:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:25:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:25:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:25:05] local.INFO: Teltonika packet parsed successfully {"connection_id":145554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:25:05] local.INFO: Passing IMEI to GPS processor {"connection_id":145554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:25:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":145554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:25:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:25:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:25:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:25:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001940992001,"66":12254,"121":206,"28":31744,"24":0,"16":8971714234941440,"45":1830783647870799872},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:25:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:25:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:25:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001940992001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:25:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:25:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:25:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971714234941440,"km_value":8971714234941.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:25:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870799872,"description":"Unknown IO ID 45"} 
[2026-07-27 20:25:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001940992001,"power":12254,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870799872}} 
[2026-07-27 20:25:05] local.INFO: DEBUG: GPS processor result {"connection_id":145554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555274,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:25:05] local.INFO: GPS data processed {"connection_id":145554,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:25:05] local.INFO: Acknowledgment sent {"connection_id":145554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:25:15] local.INFO: TCP Data received {"connection_id":145553,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fa41148c0012da8264005f5cc40000e016628..."} 
[2026-07-27 20:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa41148c0012da8264005f5cc40000e016628..."} 
[2026-07-27 20:25:15] local.INFO: Processing buffer {"connection_id":145553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa41148c0012da8264005f5cc40000e016628..."} 
[2026-07-27 20:25:15] local.INFO: Packet analysis {"connection_id":145553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa411"} 
[2026-07-27 20:25:15] local.INFO: Extracted packet for processing {"connection_id":145553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa411"} 
[2026-07-27 20:25:15] local.INFO: GPS Element Parsed {"raw_longitude":765994560,"raw_latitude":99994688,"longitude_deg":76.599456,"latitude_deg":9.9994688,"altitude":14,"angle":358,"satellites":40,"speed":41,"hex_longitude":"2da82640","hex_latitude":"05f5cc40","is_valid_coordinates":true} 
[2026-07-27 20: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-07-27 20:25:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001990144001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:25:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359356709610717184,"note":"Value kept but may cause issues"} 
[2026-07-27 20:25:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6330301831879835648,"note":"Value kept but may cause issues"} 
[2026-07-27 20:25:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:25:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785164024000,"timestamp_ms":1785164024000,"timestamp_seconds":1785164024,"priority":1,"record_length":96,"hex_timestamp":"0000019fa41148c0"} 
[2026-07-27 20:25:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:25:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-27 20:25:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20: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-07-27 20:25:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:25:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:25:15] local.INFO: Teltonika packet parsed successfully {"connection_id":145553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:25:15] local.INFO: Passing IMEI to GPS processor {"connection_id":145553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:25:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":145553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:25:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:25:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 20:25:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 20:25:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001990144001,"66":27234,"182":206,"88":19456,"24":41,"16":359356709610717184,"45":-6330301831879835648},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,88,24,16,45]} 
[2026-07-27 20:25:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 20:25:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 20:25:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001990144001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:25:15] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-07-27 20:25:15] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-27 20:25:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359356709610717184,"km_value":359356709610717.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:25:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6330301831879835648,"description":"Unknown IO ID 45"} 
[2026-07-27 20:25:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001990144001,"power":27234,"unknown_182":206,"unknown_88":19456,"ignition":41,"odometer":null,"unknown_45":-6330301831879835648}} 
[2026-07-27 20:25:15] local.INFO: DEBUG: GPS processor result {"connection_id":145553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:25:15] local.INFO: GPS data processed {"connection_id":145553,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:25:15] local.INFO: Acknowledgment sent {"connection_id":145553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:25:31] local.INFO: TCP Data received {"connection_id":145555,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:25:31] local.INFO: Processing buffer {"connection_id":145555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:25:31] local.INFO: IMEI packet received {"connection_id":145555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 20:25:31] local.INFO: IMEI acknowledgment sent {"connection_id":145555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:25:35] local.INFO: TCP Data received {"connection_id":145555,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:25:35] local.INFO: Processing buffer {"connection_id":145555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:25:35] local.INFO: IMEI packet received {"connection_id":145555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 20:25:35] local.INFO: IMEI acknowledgment sent {"connection_id":145555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:25:36] local.INFO: TCP Data received {"connection_id":145555,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4116030012da8294005f5e448000e000828..."} 
[2026-07-27 20:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4116030012da8294005f5e448000e000828..."} 
[2026-07-27 20:25:36] local.INFO: Processing buffer {"connection_id":145555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4116030012da8294005f5e448000e000828..."} 
[2026-07-27 20:25:36] local.INFO: Packet analysis {"connection_id":145555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa411"} 
[2026-07-27 20:25:36] local.INFO: Extracted packet for processing {"connection_id":145555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa411"} 
[2026-07-27 20:25:36] local.INFO: GPS Element Parsed {"raw_longitude":765995328,"raw_latitude":100000840,"longitude_deg":76.5995328,"latitude_deg":10.000084,"altitude":14,"angle":8,"satellites":40,"speed":42,"hex_longitude":"2da82940","hex_latitude":"05f5e448","is_valid_coordinates":true} 
[2026-07-27 20:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:25:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001990144001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:25:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359357010258427904,"note":"Value kept but may cause issues"} 
[2026-07-27 20:25:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6330301831879835648,"note":"Value kept but may cause issues"} 
[2026-07-27 20:25:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:25:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785164030000,"timestamp_ms":1785164030000,"timestamp_seconds":1785164030,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4116030"} 
[2026-07-27 20:25:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:25:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-27 20:25:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:25:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:25:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:25:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:25:36] local.INFO: Teltonika packet parsed successfully {"connection_id":145555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:25:36] local.INFO: Passing IMEI to GPS processor {"connection_id":145555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:25:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":145555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:25:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:25:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 20:25:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 20:25:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001990144001,"66":27267,"182":206,"88":19456,"24":42,"16":359357010258427904,"45":-6330301831879835648},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,88,24,16,45]} 
[2026-07-27 20:25:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 20:25:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 20:25:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001990144001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:25:36] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-07-27 20:25:36] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-27 20:25:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359357010258427904,"km_value":359357010258427.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:25:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6330301831879835648,"description":"Unknown IO ID 45"} 
[2026-07-27 20:25:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001990144001,"power":27267,"unknown_182":206,"unknown_88":19456,"ignition":42,"odometer":null,"unknown_45":-6330301831879835648}} 
[2026-07-27 20:25:36] local.INFO: DEBUG: GPS processor result {"connection_id":145555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:25:36] local.INFO: GPS data processed {"connection_id":145555,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:25:36] local.INFO: Acknowledgment sent {"connection_id":145555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:25:37] local.INFO: TCP Data received {"connection_id":145554,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa40eef30012d196680071ff1e00036016624..."} 
[2026-07-27 20:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa40eef30012d196680071ff1e00036016624..."} 
[2026-07-27 20:25:37] local.INFO: Processing buffer {"connection_id":145554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa40eef30012d196680071ff1e00036016624..."} 
[2026-07-27 20:25:37] local.INFO: Packet analysis {"connection_id":145554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa40e"} 
[2026-07-27 20:25:37] local.INFO: Extracted packet for processing {"connection_id":145554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa40e"} 
[2026-07-27 20:25:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119534048,"longitude_deg":75.663936,"latitude_deg":11.9534048,"altitude":54,"angle":358,"satellites":36,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff1e0","is_valid_coordinates":true} 
[2026-07-27 20:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001946368001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971757184614400,"note":"Value kept but may cause issues"} 
[2026-07-27 20:25:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870799872,"note":"Value kept but may cause issues"} 
[2026-07-27 20:25:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785163870000,"timestamp_ms":1785163870000,"timestamp_seconds":1785163870,"priority":1,"record_length":96,"hex_timestamp":"0000019fa40eef30"} 
[2026-07-27 20:25:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:25:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-27 20:25:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:25:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:25:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:25:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001946368001,"66":12254,"121":206,"28":31744,"24":0,"16":8971757184614400,"45":1830783647870799872},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001946368001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:25:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:25:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:25:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971757184614400,"km_value":8971757184614.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:25:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870799872,"description":"Unknown IO ID 45"} 
[2026-07-27 20:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001946368001,"power":12254,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870799872}} 
[2026-07-27 20:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":145554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555277,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:25:37] local.INFO: GPS data processed {"connection_id":145554,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:25:37] local.INFO: Acknowledgment sent {"connection_id":145554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:25:59] local.INFO: TCP Data received {"connection_id":143279,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143279,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:25:59] local.INFO: Processing buffer {"connection_id":143279,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:25:59] local.INFO: IMEI packet received {"connection_id":143279,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 20:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":143279,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:26:00] local.INFO: TCP Data received {"connection_id":143279,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143279,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:26:00] local.INFO: Processing buffer {"connection_id":143279,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:26:00] local.INFO: IMEI packet received {"connection_id":143279,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 20:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":143279,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:26:04] local.INFO: TCP Data received {"connection_id":143279,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143279,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:26:04] local.INFO: Processing buffer {"connection_id":143279,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:26:04] local.INFO: IMEI packet received {"connection_id":143279,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 20:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":143279,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:26:06] local.INFO: TCP Data received {"connection_id":143279,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa40f4138012d196680071ff1c00036016625..."} 
[2026-07-27 20:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa40f4138012d196680071ff1c00036016625..."} 
[2026-07-27 20:26:06] local.INFO: Processing buffer {"connection_id":143279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa40f4138012d196680071ff1c00036016625..."} 
[2026-07-27 20:26:06] local.INFO: Packet analysis {"connection_id":143279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa40f"} 
[2026-07-27 20:26:06] local.INFO: Extracted packet for processing {"connection_id":143279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa40f"} 
[2026-07-27 20:26:06] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119534016,"longitude_deg":75.663936,"latitude_deg":11.9534016,"altitude":54,"angle":358,"satellites":37,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-07-27 20:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:26:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001950720001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:26:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971761479581696,"note":"Value kept but may cause issues"} 
[2026-07-27 20:26:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661756928,"note":"Value kept but may cause issues"} 
[2026-07-27 20:26:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:26:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785163891000,"timestamp_ms":1785163891000,"timestamp_seconds":1785163891,"priority":1,"record_length":96,"hex_timestamp":"0000019fa40f4138"} 
[2026-07-27 20:26:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:26:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-27 20:26:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:26:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:26:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:26:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:26:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:26:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143279,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:26:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143279,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:26:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:26:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:26:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:26:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001950720001,"66":12156,"121":206,"28":31744,"24":0,"16":8971761479581696,"45":1830291066661756928},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:26:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:26:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:26:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001950720001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:26:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:26:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:26:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971761479581696,"km_value":8971761479581.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:26:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661756928,"description":"Unknown IO ID 45"} 
[2026-07-27 20:26:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001950720001,"power":12156,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661756928}} 
[2026-07-27 20:26:06] local.INFO: DEBUG: GPS processor result {"connection_id":143279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555278,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:26:06] local.INFO: GPS data processed {"connection_id":143279,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:26:06] local.INFO: Acknowledgment sent {"connection_id":143279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:26:07] local.INFO: TCP Data received {"connection_id":145555,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4129c98012da8ca0005f69e400012001c2a..."} 
[2026-07-27 20:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4129c98012da8ca0005f69e400012001c2a..."} 
[2026-07-27 20:26:07] local.INFO: Processing buffer {"connection_id":145555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4129c98012da8ca0005f69e400012001c2a..."} 
[2026-07-27 20:26:07] local.INFO: Packet analysis {"connection_id":145555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa412"} 
[2026-07-27 20:26:07] local.INFO: Extracted packet for processing {"connection_id":145555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa412"} 
[2026-07-27 20:26:07] local.INFO: GPS Element Parsed {"raw_longitude":766036480,"raw_latitude":100048448,"longitude_deg":76.603648,"latitude_deg":10.0048448,"altitude":18,"angle":28,"satellites":42,"speed":39,"hex_longitude":"2da8ca00","hex_latitude":"05f69e40","is_valid_coordinates":true} 
[2026-07-27 20:26:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:26:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002011392001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:26:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359360313088278528,"note":"Value kept but may cause issues"} 
[2026-07-27 20:26:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6285899154290878464,"note":"Value kept but may cause issues"} 
[2026-07-27 20:26:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:26:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785164111000,"timestamp_ms":1785164111000,"timestamp_seconds":1785164111,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4129c98"} 
[2026-07-27 20:26:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:26:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20:26:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-27 20:26:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:26:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:26:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:26:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:26:07] local.INFO: Teltonika packet parsed successfully {"connection_id":145555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:26:07] local.INFO: Passing IMEI to GPS processor {"connection_id":145555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:26:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":145555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:26:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:26:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 20:26:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 20:26:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002011392001,"66":27300,"206":206,"88":19456,"24":39,"16":359360313088278528,"45":-6285899154290878464},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,88,24,16,45]} 
[2026-07-27 20:26:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 20:26:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 20:26:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002011392001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:26:07] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-07-27 20:26:07] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-27 20:26:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359360313088278528,"km_value":359360313088278.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:26:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6285899154290878464,"description":"Unknown IO ID 45"} 
[2026-07-27 20:26:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002011392001,"power":27300,"unknown_206":206,"unknown_88":19456,"ignition":39,"odometer":null,"unknown_45":-6285899154290878464}} 
[2026-07-27 20:26:07] local.INFO: DEBUG: GPS processor result {"connection_id":145555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:26:07] local.INFO: GPS data processed {"connection_id":145555,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:26:07] local.INFO: Acknowledgment sent {"connection_id":145555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:26:31] local.INFO: TCP Data received {"connection_id":143138,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:26:31] local.INFO: Processing buffer {"connection_id":143138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:26:31] local.INFO: IMEI packet received {"connection_id":143138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 20:26:31] local.INFO: IMEI acknowledgment sent {"connection_id":143138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:26:36] local.INFO: TCP Data received {"connection_id":143138,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:26:36] local.INFO: Processing buffer {"connection_id":143138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:26:36] local.INFO: IMEI packet received {"connection_id":143138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 20:26:36] local.INFO: IMEI acknowledgment sent {"connection_id":143138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:26:37] local.INFO: TCP Data received {"connection_id":143138,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fa412bfc0012da8db4005f6bde0001100142a..."} 
[2026-07-27 20:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143138,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa412bfc0012da8db4005f6bde0001100142a..."} 
[2026-07-27 20:26:37] local.INFO: Processing buffer {"connection_id":143138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa412bfc0012da8db4005f6bde0001100142a..."} 
[2026-07-27 20:26:37] local.INFO: Packet analysis {"connection_id":143138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa412"} 
[2026-07-27 20:26:37] local.INFO: Extracted packet for processing {"connection_id":143138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa412"} 
[2026-07-27 20:26:37] local.INFO: GPS Element Parsed {"raw_longitude":766040896,"raw_latitude":100056544,"longitude_deg":76.6040896,"latitude_deg":10.0056544,"altitude":17,"angle":20,"satellites":42,"speed":41,"hex_longitude":"2da8db40","hex_latitude":"05f6bde0","is_valid_coordinates":true} 
[2026-07-27 20:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:26:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002012416001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:26:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359360759764877312,"note":"Value kept but may cause issues"} 
[2026-07-27 20:26:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6284210304429703168,"note":"Value kept but may cause issues"} 
[2026-07-27 20:26:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:26:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785164120000,"timestamp_ms":1785164120000,"timestamp_seconds":1785164120,"priority":1,"record_length":96,"hex_timestamp":"0000019fa412bfc0"} 
[2026-07-27 20:26:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:26:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-27 20:26:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:26:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:26:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:26:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:26:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:26:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:26:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:26:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:26:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 20:26:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 20:26:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002012416001,"66":27463,"206":206,"88":19456,"24":41,"16":359360759764877312,"45":-6284210304429703168},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,88,24,16,45]} 
[2026-07-27 20:26:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 20:26:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 20:26:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002012416001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:26:37] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-07-27 20:26:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-27 20:26:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359360759764877312,"km_value":359360759764877.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:26:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6284210304429703168,"description":"Unknown IO ID 45"} 
[2026-07-27 20:26:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002012416001,"power":27463,"unknown_206":206,"unknown_88":19456,"ignition":41,"odometer":null,"unknown_45":-6284210304429703168}} 
[2026-07-27 20:26:37] local.INFO: DEBUG: GPS processor result {"connection_id":143138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:26:37] local.INFO: GPS data processed {"connection_id":143138,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:26:37] local.INFO: Acknowledgment sent {"connection_id":143138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:26:39] local.INFO: TCP Data received {"connection_id":143279,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa40f9340012d196680071ff1c00036016627..."} 
[2026-07-27 20:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa40f9340012d196680071ff1c00036016627..."} 
[2026-07-27 20:26:39] local.INFO: Processing buffer {"connection_id":143279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa40f9340012d196680071ff1c00036016627..."} 
[2026-07-27 20:26:39] local.INFO: Packet analysis {"connection_id":143279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa40f"} 
[2026-07-27 20:26:39] local.INFO: Extracted packet for processing {"connection_id":143279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa40f"} 
[2026-07-27 20:26:39] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119534016,"longitude_deg":75.663936,"latitude_deg":11.9534016,"altitude":54,"angle":358,"satellites":39,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-07-27 20:26:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:26:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457001956096001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:26:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971761479581696,"note":"Value kept but may cause issues"} 
[2026-07-27 20:26:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661748736,"note":"Value kept but may cause issues"} 
[2026-07-27 20:26:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:26:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785163912000,"timestamp_ms":1785163912000,"timestamp_seconds":1785163912,"priority":1,"record_length":96,"hex_timestamp":"0000019fa40f9340"} 
[2026-07-27 20:26:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:26:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20: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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-27 20:26:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:26:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:26:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:26:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:26:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:26:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143279,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:26:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143279,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:26:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:26:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:26:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:26:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457001956096001,"66":12232,"121":206,"28":31744,"24":0,"16":8971761479581696,"45":1830291066661748736},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:26:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:26:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:26:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457001956096001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:26:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:26:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:26:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971761479581696,"km_value":8971761479581.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:26:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661748736,"description":"Unknown IO ID 45"} 
[2026-07-27 20:26:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457001956096001,"power":12232,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661748736}} 
[2026-07-27 20:26:39] local.INFO: DEBUG: GPS processor result {"connection_id":143279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555281,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:26:39] local.INFO: GPS data processed {"connection_id":143279,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:26:39] local.INFO: Acknowledgment sent {"connection_id":143279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:26:59] local.INFO: TCP Data received {"connection_id":144269,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144269,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:26:59] local.INFO: Processing buffer {"connection_id":144269,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:26:59] local.INFO: IMEI packet received {"connection_id":144269,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 20:26:59] local.INFO: IMEI acknowledgment sent {"connection_id":144269,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:27:03] local.INFO: TCP Data received {"connection_id":144269,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144269,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:27:03] local.INFO: Processing buffer {"connection_id":144269,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:27:03] local.INFO: IMEI packet received {"connection_id":144269,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 20:27:03] local.INFO: IMEI acknowledgment sent {"connection_id":144269,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:27:04] local.INFO: TCP Data received {"connection_id":144269,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4131998012d196680071ff1c00036016626..."} 
[2026-07-27 20:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144269,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4131998012d196680071ff1c00036016626..."} 
[2026-07-27 20:27:04] local.INFO: Processing buffer {"connection_id":144269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4131998012d196680071ff1c00036016626..."} 
[2026-07-27 20:27:04] local.INFO: Packet analysis {"connection_id":144269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa413"} 
[2026-07-27 20:27:04] local.INFO: Extracted packet for processing {"connection_id":144269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa413"} 
[2026-07-27 20:27:04] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119534016,"longitude_deg":75.663936,"latitude_deg":11.9534016,"altitude":54,"angle":358,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-07-27 20:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:27:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002015232001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:27:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971761479581696,"note":"Value kept but may cause issues"} 
[2026-07-27 20:27:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661748736,"note":"Value kept but may cause issues"} 
[2026-07-27 20:27:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:27:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785164143000,"timestamp_ms":1785164143000,"timestamp_seconds":1785164143,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4131998"} 
[2026-07-27 20:27:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:27:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-27 20:27:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1796,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:27:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:27:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:27:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:27:04] local.INFO: Teltonika packet parsed successfully {"connection_id":144269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:27:04] local.INFO: Passing IMEI to GPS processor {"connection_id":144269,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:27:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":144269,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:27:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:27:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:27:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:27:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002015232001,"66":12254,"121":206,"28":31744,"24":0,"16":8971761479581696,"45":1830291066661748736},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:27:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:27:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:27:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002015232001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:27:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:27:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:27:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971761479581696,"km_value":8971761479581.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:27:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661748736,"description":"Unknown IO ID 45"} 
[2026-07-27 20:27:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002015232001,"power":12254,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661748736}} 
[2026-07-27 20:27:05] local.INFO: DEBUG: GPS processor result {"connection_id":144269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555282,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:27:05] local.INFO: GPS data processed {"connection_id":144269,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:27:05] local.INFO: Acknowledgment sent {"connection_id":144269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:27:08] local.INFO: TCP Data received {"connection_id":143138,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fa412db18012da8e60005f6d6e0001200242b..."} 
[2026-07-27 20:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143138,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa412db18012da8e60005f6d6e0001200242b..."} 
[2026-07-27 20:27:08] local.INFO: Processing buffer {"connection_id":143138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa412db18012da8e60005f6d6e0001200242b..."} 
[2026-07-27 20:27:08] local.INFO: Packet analysis {"connection_id":143138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa412"} 
[2026-07-27 20:27:08] local.INFO: Extracted packet for processing {"connection_id":143138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa412"} 
[2026-07-27 20:27:08] local.INFO: GPS Element Parsed {"raw_longitude":766043648,"raw_latitude":100062944,"longitude_deg":76.6043648,"latitude_deg":10.0062944,"altitude":18,"angle":36,"satellites":43,"speed":39,"hex_longitude":"2da8e600","hex_latitude":"05f6d6e0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 20:27:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002014720001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:27:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359361099067293696,"note":"Value kept but may cause issues"} 
[2026-07-27 20:27:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6279354861079371776,"note":"Value kept but may cause issues"} 
[2026-07-27 20:27:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:27:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785164127000,"timestamp_ms":1785164127000,"timestamp_seconds":1785164127,"priority":1,"record_length":96,"hex_timestamp":"0000019fa412db18"} 
[2026-07-27 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-07-27 20:27:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-27 20:27:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 20:27:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:27:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:27:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:27:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:27:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:27:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 20:27:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 20:27:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002014720001,"66":27213,"206":206,"88":19456,"24":39,"16":359361099067293696,"45":-6279354861079371776},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,88,24,16,45]} 
[2026-07-27 20:27:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 20:27:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 20:27:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002014720001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:27:08] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-07-27 20:27:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-27 20:27:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359361099067293696,"km_value":359361099067293.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:27:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6279354861079371776,"description":"Unknown IO ID 45"} 
[2026-07-27 20:27:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002014720001,"power":27213,"unknown_206":206,"unknown_88":19456,"ignition":39,"odometer":null,"unknown_45":-6279354861079371776}} 
[2026-07-27 20:27:08] local.INFO: DEBUG: GPS processor result {"connection_id":143138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:27:08] local.INFO: GPS data processed {"connection_id":143138,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:27:08] local.INFO: Acknowledgment sent {"connection_id":143138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:27:27] local.INFO: TCP Data received {"connection_id":145556,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 20:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145556,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 20:27:27] local.INFO: Processing buffer {"connection_id":145556,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 20:27:27] local.INFO: IMEI packet received {"connection_id":145556,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 20:27:27] local.INFO: IMEI acknowledgment sent {"connection_id":145556,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:27:31] local.INFO: TCP Data received {"connection_id":144270,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:27:31] local.INFO: Processing buffer {"connection_id":144270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:27:31] local.INFO: IMEI packet received {"connection_id":144270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 20:27:31] local.INFO: IMEI acknowledgment sent {"connection_id":144270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:27:32] local.INFO: TCP Data received {"connection_id":144270,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:27:32] local.INFO: Processing buffer {"connection_id":144270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:27:32] local.INFO: IMEI packet received {"connection_id":144270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 20:27:32] local.INFO: IMEI acknowledgment sent {"connection_id":144270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:27:35] local.INFO: TCP Data received {"connection_id":144270,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:27:35] local.INFO: Processing buffer {"connection_id":144270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:27:35] local.INFO: IMEI packet received {"connection_id":144270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 20:27:35] local.INFO: IMEI acknowledgment sent {"connection_id":144270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:27:36] local.INFO: TCP Data received {"connection_id":144270,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:27:36] local.INFO: Processing buffer {"connection_id":144270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:27:36] local.INFO: IMEI packet received {"connection_id":144270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 20:27:36] local.INFO: IMEI acknowledgment sent {"connection_id":144270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:27:36] local.INFO: TCP Data received {"connection_id":144269,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4136ba0012d196680071ff1c00036016625..."} 
[2026-07-27 20:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144269,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4136ba0012d196680071ff1c00036016625..."} 
[2026-07-27 20:27:36] local.INFO: Processing buffer {"connection_id":144269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4136ba0012d196680071ff1c00036016625..."} 
[2026-07-27 20:27:36] local.INFO: Packet analysis {"connection_id":144269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa413"} 
[2026-07-27 20:27:36] local.INFO: Extracted packet for processing {"connection_id":144269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa413"} 
[2026-07-27 20:27:36] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119534016,"longitude_deg":75.663936,"latitude_deg":11.9534016,"altitude":54,"angle":358,"satellites":37,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-07-27 20:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:27:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002020608001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:27:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971761479581696,"note":"Value kept but may cause issues"} 
[2026-07-27 20:27:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661748736,"note":"Value kept but may cause issues"} 
[2026-07-27 20:27:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:27:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785164164000,"timestamp_ms":1785164164000,"timestamp_seconds":1785164164,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4136ba0"} 
[2026-07-27 20:27:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:27:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-27 20:27:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:27:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:27:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:27:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:27:36] local.INFO: Teltonika packet parsed successfully {"connection_id":144269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:27:36] local.INFO: Passing IMEI to GPS processor {"connection_id":144269,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:27:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":144269,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:27:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:27:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:27:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:27:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002020608001,"66":12178,"121":206,"28":31744,"24":0,"16":8971761479581696,"45":1830291066661748736},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:27:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:27:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:27:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002020608001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:27:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:27:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:27:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971761479581696,"km_value":8971761479581.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:27:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661748736,"description":"Unknown IO ID 45"} 
[2026-07-27 20:27:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002020608001,"power":12178,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661748736}} 
[2026-07-27 20:27:36] local.INFO: DEBUG: GPS processor result {"connection_id":144269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555284,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:27:36] local.INFO: GPS data processed {"connection_id":144269,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:27:36] local.INFO: Acknowledgment sent {"connection_id":144269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:27:36] local.INFO: TCP Data received {"connection_id":144270,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fa412e2e8012da8eb4005f6dc780012003029..."} 
[2026-07-27 20:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa412e2e8012da8eb4005f6dc780012003029..."} 
[2026-07-27 20:27:36] local.INFO: Processing buffer {"connection_id":144270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa412e2e8012da8eb4005f6dc780012003029..."} 
[2026-07-27 20:27:36] local.INFO: Packet analysis {"connection_id":144270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa412"} 
[2026-07-27 20:27:36] local.INFO: Extracted packet for processing {"connection_id":144270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa412"} 
[2026-07-27 20:27:36] local.INFO: GPS Element Parsed {"raw_longitude":766044992,"raw_latitude":100064376,"longitude_deg":76.6044992,"latitude_deg":10.0064376,"altitude":18,"angle":48,"satellites":41,"speed":39,"hex_longitude":"2da8eb40","hex_latitude":"05f6dc78","is_valid_coordinates":true} 
[2026-07-27 20:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:27:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002016512001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:27:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359361193556574208,"note":"Value kept but may cause issues"} 
[2026-07-27 20:27:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6276329005078093824,"note":"Value kept but may cause issues"} 
[2026-07-27 20:27:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:27:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785164129000,"timestamp_ms":1785164129000,"timestamp_seconds":1785164129,"priority":1,"record_length":96,"hex_timestamp":"0000019fa412e2e8"} 
[2026-07-27 20:27:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:27:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-27 20:27:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:27:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:27:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:27:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:27:36] local.INFO: Teltonika packet parsed successfully {"connection_id":144270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:27:36] local.INFO: Passing IMEI to GPS processor {"connection_id":144270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:27:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":144270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:27:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:27:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 20:27:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 20:27:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002016512001,"66":27332,"206":206,"88":19456,"24":39,"16":359361193556574208,"45":-6276329005078093824},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,88,24,16,45]} 
[2026-07-27 20:27:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 20:27:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 20:27:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002016512001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:27:36] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-07-27 20:27:36] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-27 20:27:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359361193556574208,"km_value":359361193556574.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:27:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6276329005078093824,"description":"Unknown IO ID 45"} 
[2026-07-27 20:27:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002016512001,"power":27332,"unknown_206":206,"unknown_88":19456,"ignition":39,"odometer":null,"unknown_45":-6276329005078093824}} 
[2026-07-27 20:27:36] local.INFO: DEBUG: GPS processor result {"connection_id":144270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:27:36] local.INFO: GPS data processed {"connection_id":144270,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:27:36] local.INFO: Acknowledgment sent {"connection_id":144270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:27:59] local.INFO: TCP Data received {"connection_id":143280,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143280,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:27:59] local.INFO: Processing buffer {"connection_id":143280,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:27:59] local.INFO: IMEI packet received {"connection_id":143280,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 20:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":143280,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:28:04] local.INFO: TCP Data received {"connection_id":143280,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143280,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:28:04] local.INFO: Processing buffer {"connection_id":143280,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:28:04] local.INFO: IMEI packet received {"connection_id":143280,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 20:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":143280,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:28:06] local.INFO: TCP Data received {"connection_id":143280,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa413bda8012d196680071ff1c00036016626..."} 
[2026-07-27 20:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa413bda8012d196680071ff1c00036016626..."} 
[2026-07-27 20:28:06] local.INFO: Processing buffer {"connection_id":143280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa413bda8012d196680071ff1c00036016626..."} 
[2026-07-27 20:28:06] local.INFO: Packet analysis {"connection_id":143280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa413"} 
[2026-07-27 20:28:06] local.INFO: Extracted packet for processing {"connection_id":143280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa413"} 
[2026-07-27 20:28:06] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119534016,"longitude_deg":75.663936,"latitude_deg":11.9534016,"altitude":54,"angle":358,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-07-27 20:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:28:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002025984001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:28:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971761479581696,"note":"Value kept but may cause issues"} 
[2026-07-27 20:28:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661748736,"note":"Value kept but may cause issues"} 
[2026-07-27 20:28:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:28:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785164185000,"timestamp_ms":1785164185000,"timestamp_seconds":1785164185,"priority":1,"record_length":96,"hex_timestamp":"0000019fa413bda8"} 
[2026-07-27 20:28:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:28:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-27 20:28:06] 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-07-27 20:28:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:28:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:28:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:28:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:28:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143280,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:28:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143280,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:28:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:28:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:28:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:28:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002025984001,"66":12232,"121":206,"28":31744,"24":0,"16":8971761479581696,"45":1830291066661748736},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:28:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:28:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:28:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002025984001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:28:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:28:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:28:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971761479581696,"km_value":8971761479581.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:28:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661748736,"description":"Unknown IO ID 45"} 
[2026-07-27 20:28:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002025984001,"power":12232,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661748736}} 
[2026-07-27 20:28:06] local.INFO: DEBUG: GPS processor result {"connection_id":143280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555286,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:28:06] local.INFO: GPS data processed {"connection_id":143280,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:28:06] local.INFO: Acknowledgment sent {"connection_id":143280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:28:08] local.INFO: TCP Data received {"connection_id":144270,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4149098012da90b8005f7fbf80011016229..."} 
[2026-07-27 20:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4149098012da90b8005f7fbf80011016229..."} 
[2026-07-27 20:28:08] local.INFO: Processing buffer {"connection_id":144270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4149098012da90b8005f7fbf80011016229..."} 
[2026-07-27 20:28:08] local.INFO: Packet analysis {"connection_id":144270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa414"} 
[2026-07-27 20:28:08] local.INFO: Extracted packet for processing {"connection_id":144270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa414"} 
[2026-07-27 20:28:08] local.INFO: GPS Element Parsed {"raw_longitude":766053248,"raw_latitude":100137976,"longitude_deg":76.6053248,"latitude_deg":10.0137976,"altitude":17,"angle":354,"satellites":41,"speed":34,"hex_longitude":"2da90b80","hex_latitude":"05f7fbf8","is_valid_coordinates":true} 
[2026-07-27 20:28:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:28:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002042368001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:28:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359365153516421120,"note":"Value kept but may cause issues"} 
[2026-07-27 20:28:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6267532912038868992,"note":"Value kept but may cause issues"} 
[2026-07-27 20:28:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:28:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785164239000,"timestamp_ms":1785164239000,"timestamp_seconds":1785164239,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4149098"} 
[2026-07-27 20:28:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:28:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20: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":104,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-07-27 20:28:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2104,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:28:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:28:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:28:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:28:08] local.INFO: Teltonika packet parsed successfully {"connection_id":144270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:28:08] local.INFO: Passing IMEI to GPS processor {"connection_id":144270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:28:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":144270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:28:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:28:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 20:28:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 20:28:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002042368001,"66":27321,"19":206,"88":19456,"24":34,"16":359365153516421120,"45":-6267532912038868992},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,88,24,16,45]} 
[2026-07-27 20:28:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 20:28:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 20:28:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002042368001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:28:08] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-07-27 20:28:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-27 20:28:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359365153516421120,"km_value":359365153516421.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:28:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6267532912038868992,"description":"Unknown IO ID 45"} 
[2026-07-27 20:28:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002042368001,"power":27321,"unknown_19":206,"unknown_88":19456,"ignition":34,"odometer":null,"unknown_45":-6267532912038868992}} 
[2026-07-27 20:28:08] local.INFO: DEBUG: GPS processor result {"connection_id":144270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:28:08] local.INFO: GPS data processed {"connection_id":144270,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:28:08] local.INFO: Acknowledgment sent {"connection_id":144270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:28:33] local.INFO: TCP Data received {"connection_id":145557,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:28:33] local.INFO: Processing buffer {"connection_id":145557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:28:33] local.INFO: IMEI packet received {"connection_id":145557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 20:28:33] local.INFO: IMEI acknowledgment sent {"connection_id":145557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:28:37] local.INFO: TCP Data received {"connection_id":145557,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:28:37] local.INFO: Processing buffer {"connection_id":145557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:28:37] local.INFO: IMEI packet received {"connection_id":145557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 20:28:37] local.INFO: IMEI acknowledgment sent {"connection_id":145557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:28:37] local.INFO: TCP Data received {"connection_id":143280,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4140fb0012d196680071ff1c00036016627..."} 
[2026-07-27 20:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4140fb0012d196680071ff1c00036016627..."} 
[2026-07-27 20:28:37] local.INFO: Processing buffer {"connection_id":143280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4140fb0012d196680071ff1c00036016627..."} 
[2026-07-27 20:28:37] local.INFO: Packet analysis {"connection_id":143280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa414"} 
[2026-07-27 20:28:37] local.INFO: Extracted packet for processing {"connection_id":143280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa414"} 
[2026-07-27 20:28:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119534016,"longitude_deg":75.663936,"latitude_deg":11.9534016,"altitude":54,"angle":358,"satellites":39,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-07-27 20:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:28:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002031360001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:28:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971761479581696,"note":"Value kept but may cause issues"} 
[2026-07-27 20:28:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661748736,"note":"Value kept but may cause issues"} 
[2026-07-27 20:28:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:28:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785164206000,"timestamp_ms":1785164206000,"timestamp_seconds":1785164206,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4140fb0"} 
[2026-07-27 20:28:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:28:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-27 20:28:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:28:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:28:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:28:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:28:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:28:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143280,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:28:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143280,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:28:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:28:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:28:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:28:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002031360001,"66":12232,"121":206,"28":31744,"24":0,"16":8971761479581696,"45":1830291066661748736},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:28:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:28:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:28:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002031360001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:28:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:28:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:28:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971761479581696,"km_value":8971761479581.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:28:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661748736,"description":"Unknown IO ID 45"} 
[2026-07-27 20:28:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002031360001,"power":12232,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661748736}} 
[2026-07-27 20:28:37] local.INFO: DEBUG: GPS processor result {"connection_id":143280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555288,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:28:37] local.INFO: GPS data processed {"connection_id":143280,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:28:37] local.INFO: Acknowledgment sent {"connection_id":143280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:28:41] local.INFO: TCP Data received {"connection_id":145557,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:28:41] local.INFO: Processing buffer {"connection_id":145557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:28:41] local.INFO: IMEI packet received {"connection_id":145557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 20:28:41] local.INFO: IMEI acknowledgment sent {"connection_id":145557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:28:42] local.INFO: TCP Data received {"connection_id":145557,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4149868012da90a0005f80290001101532a..."} 
[2026-07-27 20:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4149868012da90a0005f80290001101532a..."} 
[2026-07-27 20:28:42] local.INFO: Processing buffer {"connection_id":145557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4149868012da90a0005f80290001101532a..."} 
[2026-07-27 20:28:42] local.INFO: Packet analysis {"connection_id":145557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa414"} 
[2026-07-27 20:28:42] local.INFO: Extracted packet for processing {"connection_id":145557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa414"} 
[2026-07-27 20:28:42] local.INFO: GPS Element Parsed {"raw_longitude":766052864,"raw_latitude":100139664,"longitude_deg":76.6052864,"latitude_deg":10.0139664,"altitude":17,"angle":339,"satellites":42,"speed":33,"hex_longitude":"2da90a00","hex_latitude":"05f80290","is_valid_coordinates":true} 
[2026-07-27 20:28:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:28:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002045184001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:28:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359365239415767040,"note":"Value kept but may cause issues"} 
[2026-07-27 20:28:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6265773693432236032,"note":"Value kept but may cause issues"} 
[2026-07-27 20:28:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:28:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785164241000,"timestamp_ms":1785164241000,"timestamp_seconds":1785164241,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4149868"} 
[2026-07-27 20:28:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:28:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20:28:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-27 20:28:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:28:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:28:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:28:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:28:42] local.INFO: Teltonika packet parsed successfully {"connection_id":145557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:28:42] local.INFO: Passing IMEI to GPS processor {"connection_id":145557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:28:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":145557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:28:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:28:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 20:28:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 20:28:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002045184001,"66":27376,"19":206,"88":19456,"24":33,"16":359365239415767040,"45":-6265773693432236032},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,88,24,16,45]} 
[2026-07-27 20:28:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 20:28:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 20:28:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002045184001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:28:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-07-27 20:28:42] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-27 20:28:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359365239415767040,"km_value":359365239415767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:28:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6265773693432236032,"description":"Unknown IO ID 45"} 
[2026-07-27 20:28:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002045184001,"power":27376,"unknown_19":206,"unknown_88":19456,"ignition":33,"odometer":null,"unknown_45":-6265773693432236032}} 
[2026-07-27 20:28:43] local.INFO: DEBUG: GPS processor result {"connection_id":145557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:28:43] local.INFO: GPS data processed {"connection_id":145557,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:28:43] local.INFO: Acknowledgment sent {"connection_id":145557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:28:43] local.INFO: TCP Data received {"connection_id":145557,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fa414a420012da9058005f80ba80012014729..."} 
[2026-07-27 20:28:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa414a420012da9058005f80ba80012014729..."} 
[2026-07-27 20:28:43] local.INFO: Processing buffer {"connection_id":145557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa414a420012da9058005f80ba80012014729..."} 
[2026-07-27 20:28:43] local.INFO: Packet analysis {"connection_id":145557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa414"} 
[2026-07-27 20:28:43] local.INFO: Extracted packet for processing {"connection_id":145557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa414"} 
[2026-07-27 20:28:43] local.INFO: GPS Element Parsed {"raw_longitude":766051712,"raw_latitude":100141992,"longitude_deg":76.6051712,"latitude_deg":10.0141992,"altitude":18,"angle":327,"satellites":41,"speed":35,"hex_longitude":"2da90580","hex_latitude":"05f80ba8","is_valid_coordinates":true} 
[2026-07-27 20: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-07-27 20:28:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002045696001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:28:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359365363969818624,"note":"Value kept but may cause issues"} 
[2026-07-27 20:28:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6266195905896869888,"note":"Value kept but may cause issues"} 
[2026-07-27 20:28:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:28:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785164244000,"timestamp_ms":1785164244000,"timestamp_seconds":1785164244,"priority":1,"record_length":96,"hex_timestamp":"0000019fa414a420"} 
[2026-07-27 20:28:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:28:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20:28:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-27 20:28:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20: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-07-27 20:28:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:28:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:28:43] local.INFO: Teltonika packet parsed successfully {"connection_id":145557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:28:43] local.INFO: Passing IMEI to GPS processor {"connection_id":145557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:28:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":145557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:28:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:28:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 20:28:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 20:28:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002045696001,"66":27223,"19":206,"88":19456,"24":35,"16":359365363969818624,"45":-6266195905896869888},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,88,24,16,45]} 
[2026-07-27 20:28:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 20:28:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 20:28:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002045696001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:28:43] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-07-27 20:28:43] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-27 20:28:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359365363969818624,"km_value":359365363969818.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:28:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6266195905896869888,"description":"Unknown IO ID 45"} 
[2026-07-27 20:28:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002045696001,"power":27223,"unknown_19":206,"unknown_88":19456,"ignition":35,"odometer":null,"unknown_45":-6266195905896869888}} 
[2026-07-27 20:28:43] local.INFO: DEBUG: GPS processor result {"connection_id":145557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:28:43] local.INFO: GPS data processed {"connection_id":145557,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:28:43] local.INFO: Acknowledgment sent {"connection_id":145557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:29:04] local.INFO: TCP Data received {"connection_id":143139,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143139,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:29:04] local.INFO: Processing buffer {"connection_id":143139,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:29:04] local.INFO: IMEI packet received {"connection_id":143139,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 20:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":143139,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:29:09] local.INFO: TCP Data received {"connection_id":143139,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143139,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:29:09] local.INFO: Processing buffer {"connection_id":143139,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:29:09] local.INFO: IMEI packet received {"connection_id":143139,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 20:29:09] local.INFO: IMEI acknowledgment sent {"connection_id":143139,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:29:10] local.INFO: TCP Data received {"connection_id":143139,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa41461b8012d196680071ff1c00036016627..."} 
[2026-07-27 20:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143139,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa41461b8012d196680071ff1c00036016627..."} 
[2026-07-27 20:29:10] local.INFO: Processing buffer {"connection_id":143139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa41461b8012d196680071ff1c00036016627..."} 
[2026-07-27 20:29:10] local.INFO: Packet analysis {"connection_id":143139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa414"} 
[2026-07-27 20:29:10] local.INFO: Extracted packet for processing {"connection_id":143139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa414"} 
[2026-07-27 20:29:10] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119534016,"longitude_deg":75.663936,"latitude_deg":11.9534016,"altitude":54,"angle":358,"satellites":39,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-07-27 20:29:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:29:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002036736001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:29:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971761479581696,"note":"Value kept but may cause issues"} 
[2026-07-27 20:29:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661748736,"note":"Value kept but may cause issues"} 
[2026-07-27 20:29:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:29:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785164227000,"timestamp_ms":1785164227000,"timestamp_seconds":1785164227,"priority":1,"record_length":96,"hex_timestamp":"0000019fa41461b8"} 
[2026-07-27 20:29:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:29:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-27 20:29:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:29:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:29:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:29:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:29:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:29:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:29:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:29:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:29:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:29:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:29:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002036736001,"66":12232,"121":206,"28":31744,"24":0,"16":8971761479581696,"45":1830291066661748736},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:29:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:29:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:29:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002036736001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:29:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:29:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:29:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971761479581696,"km_value":8971761479581.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:29:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661748736,"description":"Unknown IO ID 45"} 
[2026-07-27 20:29:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002036736001,"power":12232,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661748736}} 
[2026-07-27 20:29:10] local.INFO: DEBUG: GPS processor result {"connection_id":143139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555291,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:29:10] local.INFO: GPS data processed {"connection_id":143139,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:29:10] local.INFO: Acknowledgment sent {"connection_id":143139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:29:15] local.INFO: TCP Data received {"connection_id":145557,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fa415a9d8012da9250005f8b4e0000f003329..."} 
[2026-07-27 20:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa415a9d8012da9250005f8b4e0000f003329..."} 
[2026-07-27 20:29:15] local.INFO: Processing buffer {"connection_id":145557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa415a9d8012da9250005f8b4e0000f003329..."} 
[2026-07-27 20:29:15] local.INFO: Packet analysis {"connection_id":145557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa415"} 
[2026-07-27 20:29:15] local.INFO: Extracted packet for processing {"connection_id":145557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa415"} 
[2026-07-27 20:29:15] local.INFO: GPS Element Parsed {"raw_longitude":766059776,"raw_latitude":100185312,"longitude_deg":76.6059776,"latitude_deg":10.0185312,"altitude":15,"angle":51,"satellites":41,"speed":28,"hex_longitude":"2da92500","hex_latitude":"05f8b4e0","is_valid_coordinates":true} 
[2026-07-27 20: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-07-27 20:29:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002062848001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:29:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359367988194836480,"note":"Value kept but may cause issues"} 
[2026-07-27 20:29:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6260777512583802880,"note":"Value kept but may cause issues"} 
[2026-07-27 20:29:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:29:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785164311000,"timestamp_ms":1785164311000,"timestamp_seconds":1785164311,"priority":1,"record_length":96,"hex_timestamp":"0000019fa415a9d8"} 
[2026-07-27 20:29:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:29:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-27 20:29:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20: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-07-27 20:29:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:29:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:29:15] local.INFO: Teltonika packet parsed successfully {"connection_id":145557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:29:15] local.INFO: Passing IMEI to GPS processor {"connection_id":145557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:29:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":145557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:29:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:29:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 20:29:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 20:29:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002062848001,"66":27343,"195":206,"88":19456,"24":28,"16":359367988194836480,"45":-6260777512583802880},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,88,24,16,45]} 
[2026-07-27 20:29:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 20:29:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 20:29:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002062848001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:29:15] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-07-27 20:29:15] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-27 20:29:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359367988194836480,"km_value":359367988194836.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:29:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6260777512583802880,"description":"Unknown IO ID 45"} 
[2026-07-27 20:29:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002062848001,"power":27343,"unknown_195":206,"unknown_88":19456,"ignition":28,"odometer":null,"unknown_45":-6260777512583802880}} 
[2026-07-27 20:29:15] local.INFO: DEBUG: GPS processor result {"connection_id":145557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:29:15] local.INFO: GPS data processed {"connection_id":145557,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:29:15] local.INFO: Acknowledgment sent {"connection_id":145557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:29:19] local.INFO: TCP Data received {"connection_id":143139,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa414b3c0012d196680071ff1c00036016626..."} 
[2026-07-27 20:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143139,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa414b3c0012d196680071ff1c00036016626..."} 
[2026-07-27 20:29:19] local.INFO: Processing buffer {"connection_id":143139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa414b3c0012d196680071ff1c00036016626..."} 
[2026-07-27 20:29:19] local.INFO: Packet analysis {"connection_id":143139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa414"} 
[2026-07-27 20:29:19] local.INFO: Extracted packet for processing {"connection_id":143139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa414"} 
[2026-07-27 20:29:19] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119534016,"longitude_deg":75.663936,"latitude_deg":11.9534016,"altitude":54,"angle":358,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-07-27 20:29:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:29:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002042112001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:29:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971761479581696,"note":"Value kept but may cause issues"} 
[2026-07-27 20:29:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661748736,"note":"Value kept but may cause issues"} 
[2026-07-27 20:29: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-07-27 20:29:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785164248000,"timestamp_ms":1785164248000,"timestamp_seconds":1785164248,"priority":1,"record_length":96,"hex_timestamp":"0000019fa414b3c0"} 
[2026-07-27 20:29:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:29:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20:29:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-27 20:29:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:29:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:29:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:29:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:29:19] local.INFO: Teltonika packet parsed successfully {"connection_id":143139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:29:19] local.INFO: Passing IMEI to GPS processor {"connection_id":143139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:29:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":143139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:29:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:29:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:29:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:29:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002042112001,"66":11754,"121":206,"28":31744,"24":0,"16":8971761479581696,"45":1830291066661748736},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:29:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:29:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:29:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002042112001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:29:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:29:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:29:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971761479581696,"km_value":8971761479581.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:29:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661748736,"description":"Unknown IO ID 45"} 
[2026-07-27 20:29:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002042112001,"power":11754,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661748736}} 
[2026-07-27 20:29:19] local.INFO: DEBUG: GPS processor result {"connection_id":143139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555293,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:29:19] local.INFO: GPS data processed {"connection_id":143139,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:29:19] local.INFO: Acknowledgment sent {"connection_id":143139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:29:31] local.INFO: TCP Data received {"connection_id":144271,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:29:31] local.INFO: Processing buffer {"connection_id":144271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:29:31] local.INFO: IMEI packet received {"connection_id":144271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 20:29:31] local.INFO: IMEI acknowledgment sent {"connection_id":144271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:29:32] local.INFO: TCP Data received {"connection_id":144271,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:29:32] local.INFO: Processing buffer {"connection_id":144271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:29:32] local.INFO: IMEI packet received {"connection_id":144271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 20:29:32] local.INFO: IMEI acknowledgment sent {"connection_id":144271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:29:36] local.INFO: TCP Data received {"connection_id":144271,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:29:36] local.INFO: Processing buffer {"connection_id":144271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:29:36] local.INFO: IMEI packet received {"connection_id":144271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 20:29:36] local.INFO: IMEI acknowledgment sent {"connection_id":144271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:29:37] local.INFO: TCP Data received {"connection_id":144271,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fa415adc0012da9270005f8b6b0000f002629..."} 
[2026-07-27 20:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144271,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa415adc0012da9270005f8b6b0000f002629..."} 
[2026-07-27 20:29:37] local.INFO: Processing buffer {"connection_id":144271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa415adc0012da9270005f8b6b0000f002629..."} 
[2026-07-27 20:29:37] local.INFO: Packet analysis {"connection_id":144271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa415"} 
[2026-07-27 20:29:37] local.INFO: Extracted packet for processing {"connection_id":144271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa415"} 
[2026-07-27 20:29:37] local.INFO: GPS Element Parsed {"raw_longitude":766060288,"raw_latitude":100185776,"longitude_deg":76.6060288,"latitude_deg":10.0185776,"altitude":15,"angle":38,"satellites":41,"speed":25,"hex_longitude":"2da92700","hex_latitude":"05f8b6b0","is_valid_coordinates":true} 
[2026-07-27 20:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002063616001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:29:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359368022554574848,"note":"Value kept but may cause issues"} 
[2026-07-27 20:29:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6258596081513996288,"note":"Value kept but may cause issues"} 
[2026-07-27 20:29:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:29:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785164312000,"timestamp_ms":1785164312000,"timestamp_seconds":1785164312,"priority":1,"record_length":96,"hex_timestamp":"0000019fa415adc0"} 
[2026-07-27 20:29:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:29:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-27 20:29:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:29:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:29:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:29:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:29:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:29:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:29:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:29:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:29:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 20:29:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 20:29:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002063616001,"66":27180,"195":206,"88":19456,"24":25,"16":359368022554574848,"45":-6258596081513996288},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,88,24,16,45]} 
[2026-07-27 20:29:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 20:29:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 20:29:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002063616001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:29:37] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-07-27 20:29:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-27 20:29:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359368022554574848,"km_value":359368022554574.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:29:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6258596081513996288,"description":"Unknown IO ID 45"} 
[2026-07-27 20:29:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002063616001,"power":27180,"unknown_195":206,"unknown_88":19456,"ignition":25,"odometer":null,"unknown_45":-6258596081513996288}} 
[2026-07-27 20:29:37] local.INFO: DEBUG: GPS processor result {"connection_id":144271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:29:37] local.INFO: GPS data processed {"connection_id":144271,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:29:37] local.INFO: Acknowledgment sent {"connection_id":144271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:29:41] local.INFO: TCP Data received {"connection_id":144271,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fa415b590012da9294005f8bb30000f00172b..."} 
[2026-07-27 20:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144271,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa415b590012da9294005f8bb30000f00172b..."} 
[2026-07-27 20:29:41] local.INFO: Processing buffer {"connection_id":144271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa415b590012da9294005f8bb30000f00172b..."} 
[2026-07-27 20:29:41] local.INFO: Packet analysis {"connection_id":144271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa415"} 
[2026-07-27 20:29:41] local.INFO: Extracted packet for processing {"connection_id":144271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa415"} 
[2026-07-27 20:29:41] local.INFO: GPS Element Parsed {"raw_longitude":766060864,"raw_latitude":100186928,"longitude_deg":76.6060864,"latitude_deg":10.0186928,"altitude":15,"angle":23,"satellites":43,"speed":27,"hex_longitude":"2da92940","hex_latitude":"05f8bb30","is_valid_coordinates":true} 
[2026-07-27 20:29:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:29:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002063872001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:29:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359368082684116992,"note":"Value kept but may cause issues"} 
[2026-07-27 20:29:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6258033131560456192,"note":"Value kept but may cause issues"} 
[2026-07-27 20:29:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:29:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785164314000,"timestamp_ms":1785164314000,"timestamp_seconds":1785164314,"priority":1,"record_length":96,"hex_timestamp":"0000019fa415b590"} 
[2026-07-27 20:29:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:29:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20: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":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-07-27 20:29:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:29:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:29:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:29:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:29:41] local.INFO: Teltonika packet parsed successfully {"connection_id":144271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:29:41] local.INFO: Passing IMEI to GPS processor {"connection_id":144271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:29:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":144271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:29:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:29:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 20:29:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 20:29:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002063872001,"66":26691,"195":206,"88":19456,"24":27,"16":359368082684116992,"45":-6258033131560456192},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,88,24,16,45]} 
[2026-07-27 20:29:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 20:29:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 20:29:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002063872001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:29:41] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-07-27 20:29:41] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-27 20:29:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359368082684116992,"km_value":359368082684117.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:29:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6258033131560456192,"description":"Unknown IO ID 45"} 
[2026-07-27 20:29:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002063872001,"power":26691,"unknown_195":206,"unknown_88":19456,"ignition":27,"odometer":null,"unknown_45":-6258033131560456192}} 
[2026-07-27 20:29:41] local.INFO: DEBUG: GPS processor result {"connection_id":144271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:29:41] local.INFO: GPS data processed {"connection_id":144271,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:29:41] local.INFO: Acknowledgment sent {"connection_id":144271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:29:59] local.INFO: TCP Data received {"connection_id":144272,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144272,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:29:59] local.INFO: Processing buffer {"connection_id":144272,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:29:59] local.INFO: IMEI packet received {"connection_id":144272,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 20:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":144272,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:30:04] local.INFO: TCP Data received {"connection_id":144272,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144272,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:30:04] local.INFO: Processing buffer {"connection_id":144272,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:30:04] local.INFO: IMEI packet received {"connection_id":144272,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 20:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":144272,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:30:05] local.INFO: TCP Data received {"connection_id":144272,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa41505c8012d196680071ff1c00036016627..."} 
[2026-07-27 20:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa41505c8012d196680071ff1c00036016627..."} 
[2026-07-27 20:30:05] local.INFO: Processing buffer {"connection_id":144272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa41505c8012d196680071ff1c00036016627..."} 
[2026-07-27 20:30:05] local.INFO: Packet analysis {"connection_id":144272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa415"} 
[2026-07-27 20:30:05] local.INFO: Extracted packet for processing {"connection_id":144272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa415"} 
[2026-07-27 20:30:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119534016,"longitude_deg":75.663936,"latitude_deg":11.9534016,"altitude":54,"angle":358,"satellites":39,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-07-27 20:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:30:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002047488001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:30:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971761479581696,"note":"Value kept but may cause issues"} 
[2026-07-27 20:30:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661748736,"note":"Value kept but may cause issues"} 
[2026-07-27 20:30:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:30:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785164269000,"timestamp_ms":1785164269000,"timestamp_seconds":1785164269,"priority":1,"record_length":96,"hex_timestamp":"0000019fa41505c8"} 
[2026-07-27 20:30:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:30:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-07-27 20:30:05] 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-07-27 20:30:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:30:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:30:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:30:05] local.INFO: Teltonika packet parsed successfully {"connection_id":144272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:30:05] local.INFO: Passing IMEI to GPS processor {"connection_id":144272,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:30:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":144272,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:30:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:30:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:30:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:30:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002047488001,"66":12232,"121":206,"28":31744,"24":0,"16":8971761479581696,"45":1830291066661748736},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:30:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:30:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:30:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002047488001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:30:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:30:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:30:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971761479581696,"km_value":8971761479581.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:30:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661748736,"description":"Unknown IO ID 45"} 
[2026-07-27 20:30:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002047488001,"power":12232,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661748736}} 
[2026-07-27 20:30:05] local.INFO: DEBUG: GPS processor result {"connection_id":144272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555296,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:30:05] local.INFO: GPS data processed {"connection_id":144272,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:30:05] local.INFO: Acknowledgment sent {"connection_id":144272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:30:12] local.INFO: TCP Data received {"connection_id":144271,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fa415c148012da92c0005f8c358000f000c2b..."} 
[2026-07-27 20:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144271,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa415c148012da92c0005f8c358000f000c2b..."} 
[2026-07-27 20:30:12] local.INFO: Processing buffer {"connection_id":144271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa415c148012da92c0005f8c358000f000c2b..."} 
[2026-07-27 20:30:12] local.INFO: Packet analysis {"connection_id":144271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa415"} 
[2026-07-27 20:30:12] local.INFO: Extracted packet for processing {"connection_id":144271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa415"} 
[2026-07-27 20:30:12] local.INFO: GPS Element Parsed {"raw_longitude":766061568,"raw_latitude":100189016,"longitude_deg":76.6061568,"latitude_deg":10.0189016,"altitude":15,"angle":12,"satellites":43,"speed":31,"hex_longitude":"2da92c00","hex_latitude":"05f8c358","is_valid_coordinates":true} 
[2026-07-27 20:30:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:30:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002064384001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:30:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359368190058299392,"note":"Value kept but may cause issues"} 
[2026-07-27 20:30:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6257399812862562304,"note":"Value kept but may cause issues"} 
[2026-07-27 20:30:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:30:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785164317000,"timestamp_ms":1785164317000,"timestamp_seconds":1785164317,"priority":1,"record_length":96,"hex_timestamp":"0000019fa415c148"} 
[2026-07-27 20:30:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:30:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20:30:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":67,"data_length":795,"current_offset":136} 
[2026-07-27 20:30:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1321,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:30:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:30:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:30:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:30:12] local.INFO: Teltonika packet parsed successfully {"connection_id":144271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:30:12] local.INFO: Passing IMEI to GPS processor {"connection_id":144271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:30:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":144271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:30: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-07-27 20:30:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 20:30:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 20:30:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002064384001,"66":27300,"195":206,"88":19456,"24":31,"16":359368190058299392,"45":-6257399812862562304},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,88,24,16,45]} 
[2026-07-27 20:30:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 20:30:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 20:30:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002064384001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:30:12] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-07-27 20:30:12] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-27 20:30:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359368190058299392,"km_value":359368190058299.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:30:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6257399812862562304,"description":"Unknown IO ID 45"} 
[2026-07-27 20:30:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002064384001,"power":27300,"unknown_195":206,"unknown_88":19456,"ignition":31,"odometer":null,"unknown_45":-6257399812862562304}} 
[2026-07-27 20:30:12] local.INFO: DEBUG: GPS processor result {"connection_id":144271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:30:12] local.INFO: GPS data processed {"connection_id":144271,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:30:12] local.INFO: Acknowledgment sent {"connection_id":144271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:30:31] local.INFO: TCP Data received {"connection_id":145558,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:30:31] local.INFO: Processing buffer {"connection_id":145558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:30:31] local.INFO: IMEI packet received {"connection_id":145558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 20:30:31] local.INFO: IMEI acknowledgment sent {"connection_id":145558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:30:36] local.INFO: TCP Data received {"connection_id":145558,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:30:36] local.INFO: Processing buffer {"connection_id":145558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:30:36] local.INFO: IMEI packet received {"connection_id":145558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 20:30:36] local.INFO: IMEI acknowledgment sent {"connection_id":145558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:30:36] local.INFO: TCP Data received {"connection_id":144272,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa41557d0012d196680071ff1c00036016626..."} 
[2026-07-27 20:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa41557d0012d196680071ff1c00036016626..."} 
[2026-07-27 20:30:36] local.INFO: Processing buffer {"connection_id":144272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa41557d0012d196680071ff1c00036016626..."} 
[2026-07-27 20:30:36] local.INFO: Packet analysis {"connection_id":144272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa415"} 
[2026-07-27 20:30:36] local.INFO: Extracted packet for processing {"connection_id":144272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa415"} 
[2026-07-27 20:30:36] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119534016,"longitude_deg":75.663936,"latitude_deg":11.9534016,"altitude":54,"angle":358,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-07-27 20:30:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:30:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002052864001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:30:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971761479581696,"note":"Value kept but may cause issues"} 
[2026-07-27 20:30:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661748736,"note":"Value kept but may cause issues"} 
[2026-07-27 20:30:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:30:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785164290000,"timestamp_ms":1785164290000,"timestamp_seconds":1785164290,"priority":1,"record_length":96,"hex_timestamp":"0000019fa41557d0"} 
[2026-07-27 20:30:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:30:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20:30:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-27 20:30:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:30:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:30:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:30:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:30:36] local.INFO: Teltonika packet parsed successfully {"connection_id":144272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:30:36] local.INFO: Passing IMEI to GPS processor {"connection_id":144272,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:30:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":144272,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:30:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:30:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:30:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:30:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002052864001,"66":12232,"121":206,"28":31744,"24":0,"16":8971761479581696,"45":1830291066661748736},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:30:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:30:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:30:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002052864001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:30:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:30:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:30:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971761479581696,"km_value":8971761479581.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:30:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661748736,"description":"Unknown IO ID 45"} 
[2026-07-27 20:30:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002052864001,"power":12232,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661748736}} 
[2026-07-27 20:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":144272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555298,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:30:37] local.INFO: GPS data processed {"connection_id":144272,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:30:37] local.INFO: Acknowledgment sent {"connection_id":144272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:30:37] local.INFO: TCP Data received {"connection_id":145558,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fa415d8b8012da9310005f8d618000f001b2a..."} 
[2026-07-27 20:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145558,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa415d8b8012da9310005f8d618000f001b2a..."} 
[2026-07-27 20:30:37] local.INFO: Processing buffer {"connection_id":145558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa415d8b8012da9310005f8d618000f001b2a..."} 
[2026-07-27 20:30:37] local.INFO: Packet analysis {"connection_id":145558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa415"} 
[2026-07-27 20:30:37] local.INFO: Extracted packet for processing {"connection_id":145558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa415"} 
[2026-07-27 20:30:37] local.INFO: GPS Element Parsed {"raw_longitude":766062848,"raw_latitude":100193816,"longitude_deg":76.6062848,"latitude_deg":10.0193816,"altitude":15,"angle":27,"satellites":42,"speed":33,"hex_longitude":"2da93100","hex_latitude":"05f8d618","is_valid_coordinates":true} 
[2026-07-27 20:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:30:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002065152001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:30:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359368430576467968,"note":"Value kept but may cause issues"} 
[2026-07-27 20:30:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6256625756676073472,"note":"Value kept but may cause issues"} 
[2026-07-27 20:30:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:30:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785164323000,"timestamp_ms":1785164323000,"timestamp_seconds":1785164323,"priority":1,"record_length":96,"hex_timestamp":"0000019fa415d8b8"} 
[2026-07-27 20:30:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:30:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-27 20:30:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:30:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:30:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:30:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:30:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:30:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:30:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:30:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:30:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 20:30:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 20:30:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002065152001,"66":27376,"195":206,"88":19456,"24":33,"16":359368430576467968,"45":-6256625756676073472},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,88,24,16,45]} 
[2026-07-27 20:30:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 20:30:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 20:30:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002065152001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:30:37] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-07-27 20:30:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-27 20:30:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359368430576467968,"km_value":359368430576467.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:30:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6256625756676073472,"description":"Unknown IO ID 45"} 
[2026-07-27 20:30:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002065152001,"power":27376,"unknown_195":206,"unknown_88":19456,"ignition":33,"odometer":null,"unknown_45":-6256625756676073472}} 
[2026-07-27 20:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":145558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:30:37] local.INFO: GPS data processed {"connection_id":145558,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:30:37] local.INFO: Acknowledgment sent {"connection_id":145558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:30:59] local.INFO: TCP Data received {"connection_id":143281,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143281,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:30:59] local.INFO: Processing buffer {"connection_id":143281,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:30:59] local.INFO: IMEI packet received {"connection_id":143281,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 20:30:59] local.INFO: IMEI acknowledgment sent {"connection_id":143281,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:31:04] local.INFO: TCP Data received {"connection_id":143281,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143281,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:31:04] local.INFO: Processing buffer {"connection_id":143281,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:31:04] local.INFO: IMEI packet received {"connection_id":143281,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 20:31:04] local.INFO: IMEI acknowledgment sent {"connection_id":143281,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:31:05] local.INFO: TCP Data received {"connection_id":143281,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa415a9d8012d196680071ff1c00036016626..."} 
[2026-07-27 20:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa415a9d8012d196680071ff1c00036016626..."} 
[2026-07-27 20:31:05] local.INFO: Processing buffer {"connection_id":143281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa415a9d8012d196680071ff1c00036016626..."} 
[2026-07-27 20:31:05] local.INFO: Packet analysis {"connection_id":143281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa415"} 
[2026-07-27 20:31:05] local.INFO: Extracted packet for processing {"connection_id":143281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa415"} 
[2026-07-27 20:31:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119534016,"longitude_deg":75.663936,"latitude_deg":11.9534016,"altitude":54,"angle":358,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-07-27 20:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:31:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002058240001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:31:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971761479581696,"note":"Value kept but may cause issues"} 
[2026-07-27 20:31:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661748736,"note":"Value kept but may cause issues"} 
[2026-07-27 20:31:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:31:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785164311000,"timestamp_ms":1785164311000,"timestamp_seconds":1785164311,"priority":1,"record_length":96,"hex_timestamp":"0000019fa415a9d8"} 
[2026-07-27 20:31:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:31:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-27 20:31:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:31:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:31:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:31:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:31:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:31:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143281,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:31:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143281,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:31:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:31:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:31:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:31:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002058240001,"66":12211,"121":206,"28":31744,"24":0,"16":8971761479581696,"45":1830291066661748736},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:31:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:31:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:31:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002058240001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:31:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:31:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:31:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971761479581696,"km_value":8971761479581.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:31:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661748736,"description":"Unknown IO ID 45"} 
[2026-07-27 20:31:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002058240001,"power":12211,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661748736}} 
[2026-07-27 20:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":143281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555300,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:31:06] local.INFO: GPS data processed {"connection_id":143281,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:31:06] local.INFO: Acknowledgment sent {"connection_id":143281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:31:08] local.INFO: TCP Data received {"connection_id":145558,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4172c90012da9a1c005f9e770001200112a..."} 
[2026-07-27 20:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145558,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4172c90012da9a1c005f9e770001200112a..."} 
[2026-07-27 20:31:08] local.INFO: Processing buffer {"connection_id":145558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4172c90012da9a1c005f9e770001200112a..."} 
[2026-07-27 20:31:08] local.INFO: Packet analysis {"connection_id":145558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa417"} 
[2026-07-27 20:31:08] local.INFO: Extracted packet for processing {"connection_id":145558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa417"} 
[2026-07-27 20:31:08] local.INFO: GPS Element Parsed {"raw_longitude":766091712,"raw_latitude":100263792,"longitude_deg":76.6091712,"latitude_deg":10.0263792,"altitude":18,"angle":17,"satellites":42,"speed":45,"hex_longitude":"2da9a1c0","hex_latitude":"05f9e770","is_valid_coordinates":true} 
[2026-07-27 20:31:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:31:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002086912001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:31:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359372253097361408,"note":"Value kept but may cause issues"} 
[2026-07-27 20:31:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6225522771732490240,"note":"Value kept but may cause issues"} 
[2026-07-27 20:31:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:31:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785164410000,"timestamp_ms":1785164410000,"timestamp_seconds":1785164410,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4172c90"} 
[2026-07-27 20:31:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:31:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20:31:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-27 20:31:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:31:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:31:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:31:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:31:08] local.INFO: Teltonika packet parsed successfully {"connection_id":145558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:31:08] local.INFO: Passing IMEI to GPS processor {"connection_id":145558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:31:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":145558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:31:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:31:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 20:31:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 20:31:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002086912001,"66":27376,"193":206,"88":19456,"24":45,"16":359372253097361408,"45":-6225522771732490240},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,88,24,16,45]} 
[2026-07-27 20:31:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 20:31:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 20:31:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002086912001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:31:08] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-07-27 20:31:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-27 20:31:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359372253097361408,"km_value":359372253097361.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:31:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6225522771732490240,"description":"Unknown IO ID 45"} 
[2026-07-27 20:31:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002086912001,"power":27376,"unknown_193":206,"unknown_88":19456,"ignition":45,"odometer":null,"unknown_45":-6225522771732490240}} 
[2026-07-27 20:31:08] local.INFO: DEBUG: GPS processor result {"connection_id":145558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:31:08] local.INFO: GPS data processed {"connection_id":145558,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:31:08] local.INFO: Acknowledgment sent {"connection_id":145558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:31:31] local.INFO: TCP Data received {"connection_id":143282,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:31:31] local.INFO: Processing buffer {"connection_id":143282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:31:31] local.INFO: IMEI packet received {"connection_id":143282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 20:31:31] local.INFO: IMEI acknowledgment sent {"connection_id":143282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:31:36] local.INFO: TCP Data received {"connection_id":143282,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:31:36] local.INFO: Processing buffer {"connection_id":143282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:31:36] local.INFO: IMEI packet received {"connection_id":143282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 20:31:36] local.INFO: IMEI acknowledgment sent {"connection_id":143282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:31:37] local.INFO: TCP Data received {"connection_id":143282,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4174bd0012da9ac0005fa0b500013000c2b..."} 
[2026-07-27 20:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4174bd0012da9ac0005fa0b500013000c2b..."} 
[2026-07-27 20:31:37] local.INFO: Processing buffer {"connection_id":143282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4174bd0012da9ac0005fa0b500013000c2b..."} 
[2026-07-27 20:31:37] local.INFO: Packet analysis {"connection_id":143282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa417"} 
[2026-07-27 20:31:37] local.INFO: Extracted packet for processing {"connection_id":143282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa417"} 
[2026-07-27 20:31:37] local.INFO: GPS Element Parsed {"raw_longitude":766094336,"raw_latitude":100272976,"longitude_deg":76.6094336,"latitude_deg":10.0272976,"altitude":19,"angle":12,"satellites":43,"speed":45,"hex_longitude":"2da9ac00","hex_latitude":"05fa0b50","is_valid_coordinates":true} 
[2026-07-27 20:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:31:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002088960001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:31:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359372716953829376,"note":"Value kept but may cause issues"} 
[2026-07-27 20:31:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6223482078149251072,"note":"Value kept but may cause issues"} 
[2026-07-27 20:31:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:31:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785164418000,"timestamp_ms":1785164418000,"timestamp_seconds":1785164418,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4174bd0"} 
[2026-07-27 20:31:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:31:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-27 20:31:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:31:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:31:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:31:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:31:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:31:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:31:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:31:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:31:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 20:31:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 20:31:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002088960001,"66":27267,"193":206,"88":19456,"24":45,"16":359372716953829376,"45":-6223482078149251072},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,88,24,16,45]} 
[2026-07-27 20:31:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 20:31:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 20:31:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002088960001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:31:37] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-07-27 20:31:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-27 20:31:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359372716953829376,"km_value":359372716953829.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:31:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6223482078149251072,"description":"Unknown IO ID 45"} 
[2026-07-27 20:31:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002088960001,"power":27267,"unknown_193":206,"unknown_88":19456,"ignition":45,"odometer":null,"unknown_45":-6223482078149251072}} 
[2026-07-27 20:31:37] local.INFO: DEBUG: GPS processor result {"connection_id":143282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:31:37] local.INFO: GPS data processed {"connection_id":143282,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:31:37] local.INFO: Acknowledgment sent {"connection_id":143282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:31:37] local.INFO: TCP Data received {"connection_id":143281,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa415fbe0012d196680071ff1c00036016627..."} 
[2026-07-27 20:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa415fbe0012d196680071ff1c00036016627..."} 
[2026-07-27 20:31:37] local.INFO: Processing buffer {"connection_id":143281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa415fbe0012d196680071ff1c00036016627..."} 
[2026-07-27 20:31:37] local.INFO: Packet analysis {"connection_id":143281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa415"} 
[2026-07-27 20:31:37] local.INFO: Extracted packet for processing {"connection_id":143281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa415"} 
[2026-07-27 20:31:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119534016,"longitude_deg":75.663936,"latitude_deg":11.9534016,"altitude":54,"angle":358,"satellites":39,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-07-27 20:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:31:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002063616001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:31:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971761479581696,"note":"Value kept but may cause issues"} 
[2026-07-27 20:31:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661748736,"note":"Value kept but may cause issues"} 
[2026-07-27 20:31:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:31:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785164332000,"timestamp_ms":1785164332000,"timestamp_seconds":1785164332,"priority":1,"record_length":96,"hex_timestamp":"0000019fa415fbe0"} 
[2026-07-27 20:31:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:31:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-27 20:31:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:31:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:31:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:31:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:31:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:31:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143281,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:31:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143281,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:31:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:31:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:31:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:31:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002063616001,"66":12178,"121":206,"28":31744,"24":0,"16":8971761479581696,"45":1830291066661748736},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:31:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:31:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:31:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002063616001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:31:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:31:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:31:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971761479581696,"km_value":8971761479581.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:31:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661748736,"description":"Unknown IO ID 45"} 
[2026-07-27 20:31:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002063616001,"power":12178,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661748736}} 
[2026-07-27 20:31:37] local.INFO: DEBUG: GPS processor result {"connection_id":143281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555303,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:31:37] local.INFO: GPS data processed {"connection_id":143281,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:31:37] local.INFO: Acknowledgment sent {"connection_id":143281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:31:59] local.INFO: TCP Data received {"connection_id":144273,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144273,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:31:59] local.INFO: Processing buffer {"connection_id":144273,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:31:59] local.INFO: IMEI packet received {"connection_id":144273,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 20:31:59] local.INFO: IMEI acknowledgment sent {"connection_id":144273,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:32:04] local.INFO: TCP Data received {"connection_id":144273,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144273,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:32:04] local.INFO: Processing buffer {"connection_id":144273,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:32:04] local.INFO: IMEI packet received {"connection_id":144273,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 20:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":144273,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:32:05] local.INFO: TCP Data received {"connection_id":144273,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4164de8012d196680071ff1c00036016627..."} 
[2026-07-27 20:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144273,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4164de8012d196680071ff1c00036016627..."} 
[2026-07-27 20:32:05] local.INFO: Processing buffer {"connection_id":144273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4164de8012d196680071ff1c00036016627..."} 
[2026-07-27 20:32:05] local.INFO: Packet analysis {"connection_id":144273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa416"} 
[2026-07-27 20:32:05] local.INFO: Extracted packet for processing {"connection_id":144273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa416"} 
[2026-07-27 20:32:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119534016,"longitude_deg":75.663936,"latitude_deg":11.9534016,"altitude":54,"angle":358,"satellites":39,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-07-27 20:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:32:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002068992001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:32:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971761479581696,"note":"Value kept but may cause issues"} 
[2026-07-27 20:32:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661748736,"note":"Value kept but may cause issues"} 
[2026-07-27 20:32:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:32:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785164353000,"timestamp_ms":1785164353000,"timestamp_seconds":1785164353,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4164de8"} 
[2026-07-27 20:32:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:32:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-27 20:32:05] 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-07-27 20:32:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:32:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:32:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:32:05] local.INFO: Teltonika packet parsed successfully {"connection_id":144273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:32:05] local.INFO: Passing IMEI to GPS processor {"connection_id":144273,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:32:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":144273,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:32:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:32:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:32:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:32:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002068992001,"66":11721,"121":206,"28":31744,"24":0,"16":8971761479581696,"45":1830291066661748736},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:32:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:32:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:32:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002068992001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:32:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:32:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:32:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971761479581696,"km_value":8971761479581.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:32:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661748736,"description":"Unknown IO ID 45"} 
[2026-07-27 20:32:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002068992001,"power":11721,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661748736}} 
[2026-07-27 20:32:05] local.INFO: DEBUG: GPS processor result {"connection_id":144273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555304,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:32:05] local.INFO: GPS data processed {"connection_id":144273,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:32:05] local.INFO: Acknowledgment sent {"connection_id":144273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:32:08] local.INFO: TCP Data received {"connection_id":143282,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fa41772e0012da9b48005fa2fb0001900082b..."} 
[2026-07-27 20:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa41772e0012da9b48005fa2fb0001900082b..."} 
[2026-07-27 20:32:08] local.INFO: Processing buffer {"connection_id":143282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa41772e0012da9b48005fa2fb0001900082b..."} 
[2026-07-27 20:32:08] local.INFO: Packet analysis {"connection_id":143282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa417"} 
[2026-07-27 20:32:08] local.INFO: Extracted packet for processing {"connection_id":143282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa417"} 
[2026-07-27 20:32:08] local.INFO: GPS Element Parsed {"raw_longitude":766096512,"raw_latitude":100282288,"longitude_deg":76.6096512,"latitude_deg":10.0282288,"altitude":25,"angle":8,"satellites":43,"speed":30,"hex_longitude":"2da9b480","hex_latitude":"05fa2fb0","is_valid_coordinates":true} 
[2026-07-27 20:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:32:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002091008001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:32:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359373176515330048,"note":"Value kept but may cause issues"} 
[2026-07-27 20:32:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6220596959635615744,"note":"Value kept but may cause issues"} 
[2026-07-27 20:32:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:32:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785164428000,"timestamp_ms":1785164428000,"timestamp_seconds":1785164428,"priority":1,"record_length":96,"hex_timestamp":"0000019fa41772e0"} 
[2026-07-27 20:32:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:32:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-27 20:32:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:32:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:32:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:32:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:32:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:32:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:32:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:32:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:32:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 20:32:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 20:32:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002091008001,"66":26713,"193":206,"88":19456,"24":30,"16":359373176515330048,"45":-6220596959635615744},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,88,24,16,45]} 
[2026-07-27 20:32:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 20:32:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 20:32:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002091008001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:32:08] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-07-27 20:32:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-27 20:32:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359373176515330048,"km_value":359373176515330.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:32:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6220596959635615744,"description":"Unknown IO ID 45"} 
[2026-07-27 20:32:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002091008001,"power":26713,"unknown_193":206,"unknown_88":19456,"ignition":30,"odometer":null,"unknown_45":-6220596959635615744}} 
[2026-07-27 20:32:08] local.INFO: DEBUG: GPS processor result {"connection_id":143282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:32:08] local.INFO: GPS data processed {"connection_id":143282,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:32:08] local.INFO: Acknowledgment sent {"connection_id":143282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:32:36] local.INFO: TCP Data received {"connection_id":144273,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4169ff0012d196680071ff1c00036016624..."} 
[2026-07-27 20:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144273,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4169ff0012d196680071ff1c00036016624..."} 
[2026-07-27 20:32:36] local.INFO: Processing buffer {"connection_id":144273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4169ff0012d196680071ff1c00036016624..."} 
[2026-07-27 20:32:36] local.INFO: Packet analysis {"connection_id":144273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa416"} 
[2026-07-27 20:32:36] local.INFO: Extracted packet for processing {"connection_id":144273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa416"} 
[2026-07-27 20:32:36] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119534016,"longitude_deg":75.663936,"latitude_deg":11.9534016,"altitude":54,"angle":358,"satellites":36,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-07-27 20:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:32:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002074368001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:32:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971761479581696,"note":"Value kept but may cause issues"} 
[2026-07-27 20:32:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661748736,"note":"Value kept but may cause issues"} 
[2026-07-27 20:32:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:32:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785164374000,"timestamp_ms":1785164374000,"timestamp_seconds":1785164374,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4169ff0"} 
[2026-07-27 20:32:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:32:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-27 20:32:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2232,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:32:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:32:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:32:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:32:36] local.INFO: Teltonika packet parsed successfully {"connection_id":144273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:32:36] local.INFO: Passing IMEI to GPS processor {"connection_id":144273,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:32:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":144273,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:32:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:32:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:32:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:32:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002074368001,"66":12232,"121":206,"28":31744,"24":0,"16":8971761479581696,"45":1830291066661748736},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:32:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:32:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:32:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002074368001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:32:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:32:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:32:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971761479581696,"km_value":8971761479581.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:32:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661748736,"description":"Unknown IO ID 45"} 
[2026-07-27 20:32:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002074368001,"power":12232,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661748736}} 
[2026-07-27 20:32:37] local.INFO: DEBUG: GPS processor result {"connection_id":144273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555306,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:32:37] local.INFO: GPS data processed {"connection_id":144273,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:32:37] local.INFO: Acknowledgment sent {"connection_id":144273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:32:38] local.INFO: TCP Data received {"connection_id":145560,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:32:38] local.INFO: Processing buffer {"connection_id":145560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:32:38] local.INFO: IMEI packet received {"connection_id":145560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 20:32:38] local.INFO: IMEI acknowledgment sent {"connection_id":145560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:32:41] local.INFO: TCP Data received {"connection_id":145560,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:32:41] local.INFO: Processing buffer {"connection_id":145560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:32:41] local.INFO: IMEI packet received {"connection_id":145560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 20:32:41] local.INFO: IMEI acknowledgment sent {"connection_id":145560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:32:42] local.INFO: TCP Data received {"connection_id":145560,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fa417a1c0012da9b94005fa52a8001c00072b..."} 
[2026-07-27 20:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa417a1c0012da9b94005fa52a8001c00072b..."} 
[2026-07-27 20:32:42] local.INFO: Processing buffer {"connection_id":145560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa417a1c0012da9b94005fa52a8001c00072b..."} 
[2026-07-27 20:32:42] local.INFO: Packet analysis {"connection_id":145560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa417"} 
[2026-07-27 20:32:42] local.INFO: Extracted packet for processing {"connection_id":145560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa417"} 
[2026-07-27 20:32:42] local.INFO: GPS Element Parsed {"raw_longitude":766097728,"raw_latitude":100291240,"longitude_deg":76.6097728,"latitude_deg":10.029124,"altitude":28,"angle":7,"satellites":43,"speed":33,"hex_longitude":"2da9b940","hex_latitude":"05fa52a8","is_valid_coordinates":true} 
[2026-07-27 20:32:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:32:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002093568001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:32:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359373614601994240,"note":"Value kept but may cause issues"} 
[2026-07-27 20:32:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6218204422331191296,"note":"Value kept but may cause issues"} 
[2026-07-27 20:32:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:32:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785164440000,"timestamp_ms":1785164440000,"timestamp_seconds":1785164440,"priority":1,"record_length":96,"hex_timestamp":"0000019fa417a1c0"} 
[2026-07-27 20:32:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:32:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20: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":104,"n8_eight_byte":89,"data_length":795,"current_offset":136} 
[2026-07-27 20:32:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1519,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:32:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:32:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:32:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:32:42] local.INFO: Teltonika packet parsed successfully {"connection_id":145560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:32:42] local.INFO: Passing IMEI to GPS processor {"connection_id":145560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:32:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":145560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:32:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:32:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 20:32:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 20:32:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002093568001,"66":27321,"193":206,"88":19456,"24":33,"16":359373614601994240,"45":-6218204422331191296},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,88,24,16,45]} 
[2026-07-27 20:32:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 20:32:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 20:32:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002093568001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:32:42] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-07-27 20:32:42] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-27 20:32:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359373614601994240,"km_value":359373614601994.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:32:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6218204422331191296,"description":"Unknown IO ID 45"} 
[2026-07-27 20:32:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002093568001,"power":27321,"unknown_193":206,"unknown_88":19456,"ignition":33,"odometer":null,"unknown_45":-6218204422331191296}} 
[2026-07-27 20:32:42] local.INFO: DEBUG: GPS processor result {"connection_id":145560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:32:42] local.INFO: GPS data processed {"connection_id":145560,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:32:42] local.INFO: Acknowledgment sent {"connection_id":145560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:32:58] local.INFO: TCP Data received {"connection_id":145559,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 20:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145559,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 20:32:58] local.INFO: Processing buffer {"connection_id":145559,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 20:32:58] local.INFO: IMEI packet received {"connection_id":145559,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 20:32:58] local.INFO: IMEI acknowledgment sent {"connection_id":145559,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:32:59] local.INFO: TCP Data received {"connection_id":143140,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143140,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:32:59] local.INFO: Processing buffer {"connection_id":143140,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:32:59] local.INFO: IMEI packet received {"connection_id":143140,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 20:32:59] local.INFO: IMEI acknowledgment sent {"connection_id":143140,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:33:00] local.INFO: TCP Data received {"connection_id":143140,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143140,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:33:00] local.INFO: Processing buffer {"connection_id":143140,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:33:00] local.INFO: IMEI packet received {"connection_id":143140,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 20:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":143140,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:33:04] local.INFO: TCP Data received {"connection_id":143140,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143140,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:33:04] local.INFO: Processing buffer {"connection_id":143140,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:33:04] local.INFO: IMEI packet received {"connection_id":143140,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 20:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":143140,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:33:05] local.INFO: TCP Data received {"connection_id":143140,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa416f1f8012d196680071ff1c00036016625..."} 
[2026-07-27 20:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143140,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa416f1f8012d196680071ff1c00036016625..."} 
[2026-07-27 20:33:05] local.INFO: Processing buffer {"connection_id":143140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa416f1f8012d196680071ff1c00036016625..."} 
[2026-07-27 20:33:05] local.INFO: Packet analysis {"connection_id":143140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa416"} 
[2026-07-27 20:33:05] local.INFO: Extracted packet for processing {"connection_id":143140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa416"} 
[2026-07-27 20:33:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119534016,"longitude_deg":75.663936,"latitude_deg":11.9534016,"altitude":54,"angle":358,"satellites":37,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-07-27 20:33:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:33:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002079744001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:33:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971761479581696,"note":"Value kept but may cause issues"} 
[2026-07-27 20:33:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661748736,"note":"Value kept but may cause issues"} 
[2026-07-27 20:33:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:33:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785164395000,"timestamp_ms":1785164395000,"timestamp_seconds":1785164395,"priority":1,"record_length":96,"hex_timestamp":"0000019fa416f1f8"} 
[2026-07-27 20:33:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:33:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20:33:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-27 20:33:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:33:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:33:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:33:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:33:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:33:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143140,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:33:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143140,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:33:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:33:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:33:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:33:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002079744001,"66":12178,"121":206,"28":31744,"24":0,"16":8971761479581696,"45":1830291066661748736},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:33:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:33:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:33:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002079744001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:33:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:33:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:33:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971761479581696,"km_value":8971761479581.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:33:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661748736,"description":"Unknown IO ID 45"} 
[2026-07-27 20:33:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002079744001,"power":12178,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661748736}} 
[2026-07-27 20:33:05] local.INFO: DEBUG: GPS processor result {"connection_id":143140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555308,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:33:05] local.INFO: GPS data processed {"connection_id":143140,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:33:05] local.INFO: Acknowledgment sent {"connection_id":143140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:33:13] local.INFO: TCP Data received {"connection_id":145560,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4193418012daa0fc005fb86300015002b27..."} 
[2026-07-27 20:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4193418012daa0fc005fb86300015002b27..."} 
[2026-07-27 20:33:13] local.INFO: Processing buffer {"connection_id":145560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4193418012daa0fc005fb86300015002b27..."} 
[2026-07-27 20:33:13] local.INFO: Packet analysis {"connection_id":145560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa419"} 
[2026-07-27 20:33:13] local.INFO: Extracted packet for processing {"connection_id":145560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa419"} 
[2026-07-27 20:33:13] local.INFO: GPS Element Parsed {"raw_longitude":766119872,"raw_latitude":100369968,"longitude_deg":76.6119872,"latitude_deg":10.0369968,"altitude":21,"angle":43,"satellites":39,"speed":35,"hex_longitude":"2daa0fc0","hex_latitude":"05fb8630","is_valid_coordinates":true} 
[2026-07-27 20:33:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:33:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002123008001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:33:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359377664756154368,"note":"Value kept but may cause issues"} 
[2026-07-27 20:33:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6192519830683897856,"note":"Value kept but may cause issues"} 
[2026-07-27 20:33:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:33:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785164543000,"timestamp_ms":1785164543000,"timestamp_seconds":1785164543,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4193418"} 
[2026-07-27 20:33:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:33:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20:33:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-27 20:33:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:33:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:33:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:33:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:33:13] local.INFO: Teltonika packet parsed successfully {"connection_id":145560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:33:13] local.INFO: Passing IMEI to GPS processor {"connection_id":145560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:33:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":145560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:33:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:33:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 20:33:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 20:33:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002123008001,"66":27332,"137":206,"88":20480,"24":35,"16":359377664756154368,"45":-6192519830683897856},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,88,24,16,45]} 
[2026-07-27 20:33:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 20:33:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 20:33:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002123008001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:33:13] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-07-27 20:33:13] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 20:33:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359377664756154368,"km_value":359377664756154.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:33:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6192519830683897856,"description":"Unknown IO ID 45"} 
[2026-07-27 20:33:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002123008001,"power":27332,"unknown_137":206,"unknown_88":20480,"ignition":35,"odometer":null,"unknown_45":-6192519830683897856}} 
[2026-07-27 20:33:13] local.INFO: DEBUG: GPS processor result {"connection_id":145560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:33:13] local.INFO: GPS data processed {"connection_id":145560,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:33:13] local.INFO: Acknowledgment sent {"connection_id":145560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:33:33] local.INFO: TCP Data received {"connection_id":145561,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:33:33] local.INFO: Processing buffer {"connection_id":145561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:33:33] local.INFO: IMEI packet received {"connection_id":145561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 20:33:33] local.INFO: IMEI acknowledgment sent {"connection_id":145561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:33:36] local.INFO: TCP Data received {"connection_id":145561,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:33:36] local.INFO: Processing buffer {"connection_id":145561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:33:36] local.INFO: IMEI packet received {"connection_id":145561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 20:33:36] local.INFO: IMEI acknowledgment sent {"connection_id":145561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:33:37] local.INFO: TCP Data received {"connection_id":143140,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4174400012d196680071ff1c00036016624..."} 
[2026-07-27 20:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143140,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4174400012d196680071ff1c00036016624..."} 
[2026-07-27 20:33:37] local.INFO: Processing buffer {"connection_id":143140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4174400012d196680071ff1c00036016624..."} 
[2026-07-27 20:33:37] local.INFO: Packet analysis {"connection_id":143140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa417"} 
[2026-07-27 20:33:37] local.INFO: Extracted packet for processing {"connection_id":143140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa417"} 
[2026-07-27 20:33:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119534016,"longitude_deg":75.663936,"latitude_deg":11.9534016,"altitude":54,"angle":358,"satellites":36,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-07-27 20:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:33:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002085120001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:33:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971761479581696,"note":"Value kept but may cause issues"} 
[2026-07-27 20:33:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661748736,"note":"Value kept but may cause issues"} 
[2026-07-27 20:33:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:33:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785164416000,"timestamp_ms":1785164416000,"timestamp_seconds":1785164416,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4174400"} 
[2026-07-27 20:33:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:33:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-27 20:33:37] 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-07-27 20:33:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:33:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:33:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:33:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:33:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143140,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:33:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143140,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:33:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:33:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:33:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:33:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002085120001,"66":12232,"121":206,"28":31744,"24":0,"16":8971761479581696,"45":1830291066661748736},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:33:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:33:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:33:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002085120001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:33:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:33:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:33:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971761479581696,"km_value":8971761479581.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:33:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661748736,"description":"Unknown IO ID 45"} 
[2026-07-27 20:33:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002085120001,"power":12232,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661748736}} 
[2026-07-27 20:33:37] local.INFO: DEBUG: GPS processor result {"connection_id":143140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555310,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:33:37] local.INFO: GPS data processed {"connection_id":143140,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:33:37] local.INFO: Acknowledgment sent {"connection_id":143140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:33:41] local.INFO: TCP Data received {"connection_id":145561,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:33:41] local.INFO: Processing buffer {"connection_id":145561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:33:41] local.INFO: IMEI packet received {"connection_id":145561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 20:33:41] local.INFO: IMEI acknowledgment sent {"connection_id":145561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:33:42] local.INFO: TCP Data received {"connection_id":145561,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4193fd0012daa178005fb8cc00014003926..."} 
[2026-07-27 20:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4193fd0012daa178005fb8cc00014003926..."} 
[2026-07-27 20:33:42] local.INFO: Processing buffer {"connection_id":145561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4193fd0012daa178005fb8cc00014003926..."} 
[2026-07-27 20:33:42] local.INFO: Packet analysis {"connection_id":145561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa419"} 
[2026-07-27 20:33:42] local.INFO: Extracted packet for processing {"connection_id":145561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa419"} 
[2026-07-27 20:33:42] local.INFO: GPS Element Parsed {"raw_longitude":766121856,"raw_latitude":100371648,"longitude_deg":76.6121856,"latitude_deg":10.0371648,"altitude":20,"angle":57,"satellites":38,"speed":33,"hex_longitude":"2daa1780","hex_latitude":"05fb8cc0","is_valid_coordinates":true} 
[2026-07-27 20:33:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:33:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002123008001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:33:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359377789310205952,"note":"Value kept but may cause issues"} 
[2026-07-27 20:33:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6192519830683897856,"note":"Value kept but may cause issues"} 
[2026-07-27 20:33:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:33:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785164546000,"timestamp_ms":1785164546000,"timestamp_seconds":1785164546,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4193fd0"} 
[2026-07-27 20:33:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:33:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-27 20:33:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:33:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:33:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:33:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:33:42] local.INFO: Teltonika packet parsed successfully {"connection_id":145561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:33:42] local.INFO: Passing IMEI to GPS processor {"connection_id":145561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:33:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":145561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:33:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:33:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 20:33:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 20:33:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002123008001,"66":27365,"137":206,"88":20480,"24":33,"16":359377789310205952,"45":-6192519830683897856},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,88,24,16,45]} 
[2026-07-27 20:33:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 20:33:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 20:33:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002123008001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:33:42] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-07-27 20:33:42] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 20:33:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359377789310205952,"km_value":359377789310205.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:33:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6192519830683897856,"description":"Unknown IO ID 45"} 
[2026-07-27 20:33:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002123008001,"power":27365,"unknown_137":206,"unknown_88":20480,"ignition":33,"odometer":null,"unknown_45":-6192519830683897856}} 
[2026-07-27 20:33:42] local.INFO: DEBUG: GPS processor result {"connection_id":145561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:33:42] local.INFO: GPS data processed {"connection_id":145561,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:33:42] local.INFO: Acknowledgment sent {"connection_id":145561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:34:03] local.INFO: TCP Data received {"connection_id":143283,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143283,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:34:03] local.INFO: Processing buffer {"connection_id":143283,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:34:03] local.INFO: IMEI packet received {"connection_id":143283,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 20:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":143283,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:34:04] local.INFO: TCP Data received {"connection_id":143283,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143283,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:34:04] local.INFO: Processing buffer {"connection_id":143283,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:34:04] local.INFO: IMEI packet received {"connection_id":143283,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 20:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":143283,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:34:09] local.INFO: TCP Data received {"connection_id":143283,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143283,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:34:09] local.INFO: Processing buffer {"connection_id":143283,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:34:09] local.INFO: IMEI packet received {"connection_id":143283,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 20:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":143283,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:34:14] local.INFO: TCP Data received {"connection_id":145561,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4195f10012daa2d4005fb9b880013002a29..."} 
[2026-07-27 20:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4195f10012daa2d4005fb9b880013002a29..."} 
[2026-07-27 20:34:14] local.INFO: Processing buffer {"connection_id":145561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4195f10012daa2d4005fb9b880013002a29..."} 
[2026-07-27 20:34:14] local.INFO: Packet analysis {"connection_id":145561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa419"} 
[2026-07-27 20:34:14] local.INFO: Extracted packet for processing {"connection_id":145561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa419"} 
[2026-07-27 20:34:14] local.INFO: GPS Element Parsed {"raw_longitude":766127424,"raw_latitude":100375432,"longitude_deg":76.6127424,"latitude_deg":10.0375432,"altitude":19,"angle":42,"satellites":41,"speed":33,"hex_longitude":"2daa2d40","hex_latitude":"05fb9b88","is_valid_coordinates":true} 
[2026-07-27 20: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-07-27 20:34:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002123776001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:34:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359378111432753152,"note":"Value kept but may cause issues"} 
[2026-07-27 20:34:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6190338399613960192,"note":"Value kept but may cause issues"} 
[2026-07-27 20:34:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:34:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785164554000,"timestamp_ms":1785164554000,"timestamp_seconds":1785164554,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4195f10"} 
[2026-07-27 20:34:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:34:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-27 20:34:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20: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-07-27 20:34:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:34:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:34:14] local.INFO: Teltonika packet parsed successfully {"connection_id":145561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:34:14] local.INFO: Passing IMEI to GPS processor {"connection_id":145561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:34:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":145561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:34: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-07-27 20:34:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 20:34:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 20:34:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002123776001,"66":27332,"137":206,"88":20480,"24":33,"16":359378111432753152,"45":-6190338399613960192},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,88,24,16,45]} 
[2026-07-27 20:34:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 20:34:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 20:34:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002123776001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:34:14] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-07-27 20:34:14] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 20:34:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359378111432753152,"km_value":359378111432753.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:34:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6190338399613960192,"description":"Unknown IO ID 45"} 
[2026-07-27 20:34:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002123776001,"power":27332,"unknown_137":206,"unknown_88":20480,"ignition":33,"odometer":null,"unknown_45":-6190338399613960192}} 
[2026-07-27 20:34:14] local.INFO: DEBUG: GPS processor result {"connection_id":145561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:34:14] local.INFO: GPS data processed {"connection_id":145561,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:34:14] local.INFO: Acknowledgment sent {"connection_id":145561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:34:15] local.INFO: TCP Data received {"connection_id":143283,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4179608012d196680071ff1c00036016623..."} 
[2026-07-27 20:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143283,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4179608012d196680071ff1c00036016623..."} 
[2026-07-27 20:34:15] local.INFO: Processing buffer {"connection_id":143283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4179608012d196680071ff1c00036016623..."} 
[2026-07-27 20:34:15] local.INFO: Packet analysis {"connection_id":143283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa417"} 
[2026-07-27 20:34:15] local.INFO: Extracted packet for processing {"connection_id":143283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa417"} 
[2026-07-27 20:34:15] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119534016,"longitude_deg":75.663936,"latitude_deg":11.9534016,"altitude":54,"angle":358,"satellites":35,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-07-27 20:34:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:34:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002090496001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:34:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971761479581696,"note":"Value kept but may cause issues"} 
[2026-07-27 20:34:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661748736,"note":"Value kept but may cause issues"} 
[2026-07-27 20:34: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-07-27 20:34:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785164437000,"timestamp_ms":1785164437000,"timestamp_seconds":1785164437,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4179608"} 
[2026-07-27 20:34:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:34:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20:34:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-27 20:34:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:34:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:34:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:34:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:34:15] local.INFO: Teltonika packet parsed successfully {"connection_id":143283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:34:15] local.INFO: Passing IMEI to GPS processor {"connection_id":143283,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:34:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":143283,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:34:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:34:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:34:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:34:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002090496001,"66":12232,"121":206,"28":31744,"24":0,"16":8971761479581696,"45":1830291066661748736},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:34:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:34:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:34:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002090496001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:34:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:34:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:34:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971761479581696,"km_value":8971761479581.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:34:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661748736,"description":"Unknown IO ID 45"} 
[2026-07-27 20:34:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002090496001,"power":12232,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661748736}} 
[2026-07-27 20:34:15] local.INFO: DEBUG: GPS processor result {"connection_id":143283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555313,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:34:15] local.INFO: GPS data processed {"connection_id":143283,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:34:15] local.INFO: Acknowledgment sent {"connection_id":143283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:34:17] local.INFO: TCP Data received {"connection_id":143283,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa417e810012d196680071ff1c00036016624..."} 
[2026-07-27 20:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143283,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa417e810012d196680071ff1c00036016624..."} 
[2026-07-27 20:34:17] local.INFO: Processing buffer {"connection_id":143283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa417e810012d196680071ff1c00036016624..."} 
[2026-07-27 20:34:17] local.INFO: Packet analysis {"connection_id":143283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa417"} 
[2026-07-27 20:34:17] local.INFO: Extracted packet for processing {"connection_id":143283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa417"} 
[2026-07-27 20:34:17] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119534016,"longitude_deg":75.663936,"latitude_deg":11.9534016,"altitude":54,"angle":358,"satellites":36,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-07-27 20: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-07-27 20:34:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002095872001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:34:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971761479581696,"note":"Value kept but may cause issues"} 
[2026-07-27 20:34:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661748736,"note":"Value kept but may cause issues"} 
[2026-07-27 20:34:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:34:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785164458000,"timestamp_ms":1785164458000,"timestamp_seconds":1785164458,"priority":1,"record_length":96,"hex_timestamp":"0000019fa417e810"} 
[2026-07-27 20:34:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:34: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-07-27 20: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-27 20:34:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20: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-07-27 20:34:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:34:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:34:17] local.INFO: Teltonika packet parsed successfully {"connection_id":143283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:34:17] local.INFO: Passing IMEI to GPS processor {"connection_id":143283,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:34:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":143283,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:34:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:34:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:34:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:34:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002095872001,"66":12254,"121":206,"28":31744,"24":0,"16":8971761479581696,"45":1830291066661748736},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:34:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:34:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:34:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002095872001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:34:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:34:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:34:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971761479581696,"km_value":8971761479581.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:34:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661748736,"description":"Unknown IO ID 45"} 
[2026-07-27 20:34:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002095872001,"power":12254,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661748736}} 
[2026-07-27 20:34:17] local.INFO: DEBUG: GPS processor result {"connection_id":143283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555314,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:34:17] local.INFO: GPS data processed {"connection_id":143283,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:34:17] local.INFO: Acknowledgment sent {"connection_id":143283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:34:41] local.INFO: TCP Data received {"connection_id":143284,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:34:41] local.INFO: Processing buffer {"connection_id":143284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:34:41] local.INFO: IMEI packet received {"connection_id":143284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 20:34:41] local.INFO: IMEI acknowledgment sent {"connection_id":143284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:34:42] local.INFO: TCP Data received {"connection_id":143284,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:34:42] local.INFO: Processing buffer {"connection_id":143284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:34:42] local.INFO: IMEI packet received {"connection_id":143284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 20:34:42] local.INFO: IMEI acknowledgment sent {"connection_id":143284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:34:42] local.INFO: TCP Data received {"connection_id":143284,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:34:42] local.INFO: Processing buffer {"connection_id":143284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:34:42] local.INFO: IMEI packet received {"connection_id":143284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 20:34:42] local.INFO: IMEI acknowledgment sent {"connection_id":143284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:34:44] local.INFO: TCP Data received {"connection_id":143284,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:34:44] local.INFO: Processing buffer {"connection_id":143284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:34:44] local.INFO: IMEI packet received {"connection_id":143284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 20:34:44] local.INFO: IMEI acknowledgment sent {"connection_id":143284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:34:59] local.INFO: TCP Data received {"connection_id":143285,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143285,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:34:59] local.INFO: Processing buffer {"connection_id":143285,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:34:59] local.INFO: IMEI packet received {"connection_id":143285,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 20:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":143285,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:35:04] local.INFO: TCP Data received {"connection_id":143285,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143285,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:35:04] local.INFO: Processing buffer {"connection_id":143285,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:35:04] local.INFO: IMEI packet received {"connection_id":143285,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 20:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":143285,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:35:05] local.INFO: TCP Data received {"connection_id":143285,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4183a18012d196680071ff1c00036016626..."} 
[2026-07-27 20:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4183a18012d196680071ff1c00036016626..."} 
[2026-07-27 20:35:05] local.INFO: Processing buffer {"connection_id":143285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4183a18012d196680071ff1c00036016626..."} 
[2026-07-27 20:35:05] local.INFO: Packet analysis {"connection_id":143285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa418"} 
[2026-07-27 20:35:05] local.INFO: Extracted packet for processing {"connection_id":143285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa418"} 
[2026-07-27 20:35:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119534016,"longitude_deg":75.663936,"latitude_deg":11.9534016,"altitude":54,"angle":358,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-07-27 20:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002101248001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971761479581696,"note":"Value kept but may cause issues"} 
[2026-07-27 20:35:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661748736,"note":"Value kept but may cause issues"} 
[2026-07-27 20:35:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785164479000,"timestamp_ms":1785164479000,"timestamp_seconds":1785164479,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4183a18"} 
[2026-07-27 20:35:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:35:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-27 20:35:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:35:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:35:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:35:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002101248001,"66":12265,"121":206,"28":31744,"24":0,"16":8971761479581696,"45":1830291066661748736},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002101248001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:35:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:35:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971761479581696,"km_value":8971761479581.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:35:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661748736,"description":"Unknown IO ID 45"} 
[2026-07-27 20:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002101248001,"power":12265,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661748736}} 
[2026-07-27 20:35:05] local.INFO: DEBUG: GPS processor result {"connection_id":143285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555315,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:35:05] local.INFO: GPS data processed {"connection_id":143285,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:35:05] local.INFO: Acknowledgment sent {"connection_id":143285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:35:37] local.INFO: TCP Data received {"connection_id":143285,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4188c20012d196680071ff1c00036016627..."} 
[2026-07-27 20:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4188c20012d196680071ff1c00036016627..."} 
[2026-07-27 20:35:37] local.INFO: Processing buffer {"connection_id":143285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4188c20012d196680071ff1c00036016627..."} 
[2026-07-27 20:35:37] local.INFO: Packet analysis {"connection_id":143285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa418"} 
[2026-07-27 20:35:37] local.INFO: Extracted packet for processing {"connection_id":143285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa418"} 
[2026-07-27 20:35:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119534016,"longitude_deg":75.663936,"latitude_deg":11.9534016,"altitude":54,"angle":358,"satellites":39,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-07-27 20:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002106624001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971761479581696,"note":"Value kept but may cause issues"} 
[2026-07-27 20:35:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661748736,"note":"Value kept but may cause issues"} 
[2026-07-27 20:35:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785164500000,"timestamp_ms":1785164500000,"timestamp_seconds":1785164500,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4188c20"} 
[2026-07-27 20:35:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:35:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 20:35:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2530,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:35:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:35:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:35:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002106624001,"66":12232,"121":206,"28":31744,"24":0,"16":8971761479581696,"45":1830291066661748736},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002106624001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:35:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:35:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:35:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971761479581696,"km_value":8971761479581.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:35:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661748736,"description":"Unknown IO ID 45"} 
[2026-07-27 20:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002106624001,"power":12232,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661748736}} 
[2026-07-27 20:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":143285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555316,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:35:37] local.INFO: GPS data processed {"connection_id":143285,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:35:37] local.INFO: Acknowledgment sent {"connection_id":143285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:36:02] local.INFO: TCP Data received {"connection_id":144274,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144274,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:36:02] local.INFO: Processing buffer {"connection_id":144274,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:36:02] local.INFO: IMEI packet received {"connection_id":144274,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 20:36:02] local.INFO: IMEI acknowledgment sent {"connection_id":144274,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:36:04] local.INFO: TCP Data received {"connection_id":144274,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144274,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:36:04] local.INFO: Processing buffer {"connection_id":144274,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:36:04] local.INFO: IMEI packet received {"connection_id":144274,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 20:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":144274,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:36:05] local.INFO: TCP Data received {"connection_id":144274,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa418de28012d196680071ff1c00036016625..."} 
[2026-07-27 20:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa418de28012d196680071ff1c00036016625..."} 
[2026-07-27 20:36:05] local.INFO: Processing buffer {"connection_id":144274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa418de28012d196680071ff1c00036016625..."} 
[2026-07-27 20:36:05] local.INFO: Packet analysis {"connection_id":144274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa418"} 
[2026-07-27 20:36:05] local.INFO: Extracted packet for processing {"connection_id":144274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa418"} 
[2026-07-27 20:36:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119534016,"longitude_deg":75.663936,"latitude_deg":11.9534016,"altitude":54,"angle":358,"satellites":37,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-07-27 20:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:36:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002112000001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:36:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971761479581696,"note":"Value kept but may cause issues"} 
[2026-07-27 20:36:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661748736,"note":"Value kept but may cause issues"} 
[2026-07-27 20:36:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:36:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785164521000,"timestamp_ms":1785164521000,"timestamp_seconds":1785164521,"priority":1,"record_length":96,"hex_timestamp":"0000019fa418de28"} 
[2026-07-27 20:36:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:36:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-27 20:36:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:36:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:36:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:36:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:36:05] local.INFO: Teltonika packet parsed successfully {"connection_id":144274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:36:05] local.INFO: Passing IMEI to GPS processor {"connection_id":144274,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:36:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":144274,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:36:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:36:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:36:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:36:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002112000001,"66":12211,"121":206,"28":31744,"24":0,"16":8971761479581696,"45":1830291066661748736},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:36:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:36:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:36:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002112000001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:36:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:36:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:36:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971761479581696,"km_value":8971761479581.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:36:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661748736,"description":"Unknown IO ID 45"} 
[2026-07-27 20:36:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002112000001,"power":12211,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661748736}} 
[2026-07-27 20:36:05] local.INFO: DEBUG: GPS processor result {"connection_id":144274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555317,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:36:05] local.INFO: GPS data processed {"connection_id":144274,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:36:05] local.INFO: Acknowledgment sent {"connection_id":144274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:36:09] local.INFO: TCP Data received {"connection_id":144274,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4193030012d196680071ff1c00036016626..."} 
[2026-07-27 20:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4193030012d196680071ff1c00036016626..."} 
[2026-07-27 20:36:09] local.INFO: Processing buffer {"connection_id":144274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4193030012d196680071ff1c00036016626..."} 
[2026-07-27 20:36:09] local.INFO: Packet analysis {"connection_id":144274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa419"} 
[2026-07-27 20:36:09] local.INFO: Extracted packet for processing {"connection_id":144274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa419"} 
[2026-07-27 20:36:09] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119534016,"longitude_deg":75.663936,"latitude_deg":11.9534016,"altitude":54,"angle":358,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-07-27 20:36:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:36:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002117376001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:36:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971761479581696,"note":"Value kept but may cause issues"} 
[2026-07-27 20:36:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661748736,"note":"Value kept but may cause issues"} 
[2026-07-27 20:36:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:36:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785164542000,"timestamp_ms":1785164542000,"timestamp_seconds":1785164542,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4193030"} 
[2026-07-27 20:36:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:36:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20: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":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-27 20:36:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:36:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:36:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:36:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:36:09] local.INFO: Teltonika packet parsed successfully {"connection_id":144274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:36:09] local.INFO: Passing IMEI to GPS processor {"connection_id":144274,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:36:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":144274,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:36:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:36:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:36:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:36:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002117376001,"66":11461,"121":206,"28":31744,"24":0,"16":8971761479581696,"45":1830291066661748736},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:36:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:36:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:36:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002117376001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:36:09] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:36:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:36:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971761479581696,"km_value":8971761479581.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:36:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661748736,"description":"Unknown IO ID 45"} 
[2026-07-27 20:36:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002117376001,"power":11461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661748736}} 
[2026-07-27 20:36:10] local.INFO: DEBUG: GPS processor result {"connection_id":144274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555318,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:36:10] local.INFO: GPS data processed {"connection_id":144274,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:36:10] local.INFO: Acknowledgment sent {"connection_id":144274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:36:44] local.INFO: TCP Data received {"connection_id":144274,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4198238012d196680071ff1c00036016626..."} 
[2026-07-27 20:36:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4198238012d196680071ff1c00036016626..."} 
[2026-07-27 20:36:44] local.INFO: Processing buffer {"connection_id":144274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4198238012d196680071ff1c00036016626..."} 
[2026-07-27 20:36:44] local.INFO: Packet analysis {"connection_id":144274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa419"} 
[2026-07-27 20:36:44] local.INFO: Extracted packet for processing {"connection_id":144274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa419"} 
[2026-07-27 20:36:44] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119534016,"longitude_deg":75.663936,"latitude_deg":11.9534016,"altitude":54,"angle":358,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-07-27 20:36:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:36:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002122752001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:36:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971761479581696,"note":"Value kept but may cause issues"} 
[2026-07-27 20:36:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661748736,"note":"Value kept but may cause issues"} 
[2026-07-27 20:36:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:36:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785164563000,"timestamp_ms":1785164563000,"timestamp_seconds":1785164563,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4198238"} 
[2026-07-27 20:36:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:36:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20:36:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-07-27 20:36:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2191,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:36:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:36:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:36:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:36:44] local.INFO: Teltonika packet parsed successfully {"connection_id":144274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:36:44] local.INFO: Passing IMEI to GPS processor {"connection_id":144274,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:36:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":144274,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:36:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:36:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:36:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:36:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002122752001,"66":12254,"121":206,"28":31744,"24":0,"16":8971761479581696,"45":1830291066661748736},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:36:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:36:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:36:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002122752001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:36:44] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:36:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:36:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971761479581696,"km_value":8971761479581.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:36:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661748736,"description":"Unknown IO ID 45"} 
[2026-07-27 20:36:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002122752001,"power":12254,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661748736}} 
[2026-07-27 20:36:44] local.INFO: DEBUG: GPS processor result {"connection_id":144274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555319,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:36:44] local.INFO: GPS data processed {"connection_id":144274,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:36:44] local.INFO: Acknowledgment sent {"connection_id":144274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:36:59] local.INFO: TCP Data received {"connection_id":143286,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143286,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:36:59] local.INFO: Processing buffer {"connection_id":143286,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:36:59] local.INFO: IMEI packet received {"connection_id":143286,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 20:36:59] local.INFO: IMEI acknowledgment sent {"connection_id":143286,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:37:07] local.INFO: TCP Data received {"connection_id":143286,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143286,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:37:07] local.INFO: Processing buffer {"connection_id":143286,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:37:07] local.INFO: IMEI packet received {"connection_id":143286,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 20:37:07] local.INFO: IMEI acknowledgment sent {"connection_id":143286,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:37:19] local.INFO: TCP Data received {"connection_id":143286,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa419d440012d196680071ff1c00036016626..."} 
[2026-07-27 20:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143286,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa419d440012d196680071ff1c00036016626..."} 
[2026-07-27 20:37:19] local.INFO: Processing buffer {"connection_id":143286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa419d440012d196680071ff1c00036016626..."} 
[2026-07-27 20:37:19] local.INFO: Packet analysis {"connection_id":143286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa419"} 
[2026-07-27 20:37:19] local.INFO: Extracted packet for processing {"connection_id":143286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa419"} 
[2026-07-27 20:37:19] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119534016,"longitude_deg":75.663936,"latitude_deg":11.9534016,"altitude":54,"angle":358,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-07-27 20: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-07-27 20:37:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002128128001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:37:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971761479581696,"note":"Value kept but may cause issues"} 
[2026-07-27 20:37:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661748736,"note":"Value kept but may cause issues"} 
[2026-07-27 20:37: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-07-27 20:37:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785164584000,"timestamp_ms":1785164584000,"timestamp_seconds":1785164584,"priority":1,"record_length":96,"hex_timestamp":"0000019fa419d440"} 
[2026-07-27 20:37:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:37:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-27 20:37:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20: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-07-27 20:37:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:37:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:37:19] local.INFO: Teltonika packet parsed successfully {"connection_id":143286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:37:19] local.INFO: Passing IMEI to GPS processor {"connection_id":143286,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:37:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":143286,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:37:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:37:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:37:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:37:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002128128001,"66":12200,"121":206,"28":31744,"24":0,"16":8971761479581696,"45":1830291066661748736},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:37:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:37:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:37:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002128128001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:37:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:37:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:37:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971761479581696,"km_value":8971761479581.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:37:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661748736,"description":"Unknown IO ID 45"} 
[2026-07-27 20:37:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002128128001,"power":12200,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661748736}} 
[2026-07-27 20:37:19] local.INFO: DEBUG: GPS processor result {"connection_id":143286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555320,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:37:19] local.INFO: GPS data processed {"connection_id":143286,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:37:19] local.INFO: Acknowledgment sent {"connection_id":143286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:37:59] local.INFO: TCP Data received {"connection_id":144277,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144277,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:37:59] local.INFO: Processing buffer {"connection_id":144277,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:37:59] local.INFO: IMEI packet received {"connection_id":144277,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 20:37:59] local.INFO: IMEI acknowledgment sent {"connection_id":144277,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:38:04] local.INFO: TCP Data received {"connection_id":144277,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144277,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:38:04] local.INFO: Processing buffer {"connection_id":144277,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:38:04] local.INFO: IMEI packet received {"connection_id":144277,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 20:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":144277,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:38:05] local.INFO: TCP Data received {"connection_id":144277,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa41a2648012d196680071ff1c00036016620..."} 
[2026-07-27 20:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa41a2648012d196680071ff1c00036016620..."} 
[2026-07-27 20:38:05] local.INFO: Processing buffer {"connection_id":144277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa41a2648012d196680071ff1c00036016620..."} 
[2026-07-27 20:38:05] local.INFO: Packet analysis {"connection_id":144277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa41a"} 
[2026-07-27 20:38:05] local.INFO: Extracted packet for processing {"connection_id":144277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa41a"} 
[2026-07-27 20:38:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119534016,"longitude_deg":75.663936,"latitude_deg":11.9534016,"altitude":54,"angle":358,"satellites":32,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-07-27 20:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:38:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002133504001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:38:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971761479581696,"note":"Value kept but may cause issues"} 
[2026-07-27 20:38:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661748736,"note":"Value kept but may cause issues"} 
[2026-07-27 20:38:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:38:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785164605000,"timestamp_ms":1785164605000,"timestamp_seconds":1785164605,"priority":1,"record_length":96,"hex_timestamp":"0000019fa41a2648"} 
[2026-07-27 20:38:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:38:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-07-27 20:38:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1945,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:38:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:38:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:38:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:38:05] local.INFO: Teltonika packet parsed successfully {"connection_id":144277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:38:05] local.INFO: Passing IMEI to GPS processor {"connection_id":144277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:38:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":144277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:38:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:38:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:38:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:38:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002133504001,"66":12211,"121":206,"28":31744,"24":0,"16":8971761479581696,"45":1830291066661748736},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:38:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:38:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:38:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002133504001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:38:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:38:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:38:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971761479581696,"km_value":8971761479581.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:38:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661748736,"description":"Unknown IO ID 45"} 
[2026-07-27 20:38:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002133504001,"power":12211,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661748736}} 
[2026-07-27 20:38:05] local.INFO: DEBUG: GPS processor result {"connection_id":144277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555321,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:38:05] local.INFO: GPS data processed {"connection_id":144277,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:38:05] local.INFO: Acknowledgment sent {"connection_id":144277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:38:32] local.INFO: TCP Data received {"connection_id":144275,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 20:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144275,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 20:38:32] local.INFO: Processing buffer {"connection_id":144275,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 20:38:32] local.INFO: IMEI packet received {"connection_id":144275,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 20:38:32] local.INFO: IMEI acknowledgment sent {"connection_id":144275,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:38:37] local.INFO: TCP Data received {"connection_id":144277,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa41daca0012d196680071ff1c00036016623..."} 
[2026-07-27 20:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa41daca0012d196680071ff1c00036016623..."} 
[2026-07-27 20:38:37] local.INFO: Processing buffer {"connection_id":144277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa41daca0012d196680071ff1c00036016623..."} 
[2026-07-27 20:38:37] local.INFO: Packet analysis {"connection_id":144277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa41d"} 
[2026-07-27 20:38:37] local.INFO: Extracted packet for processing {"connection_id":144277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa41d"} 
[2026-07-27 20:38:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119534016,"longitude_deg":75.663936,"latitude_deg":11.9534016,"altitude":54,"angle":358,"satellites":35,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-07-27 20:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002192640001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:38:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971761479581696,"note":"Value kept but may cause issues"} 
[2026-07-27 20:38:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661748736,"note":"Value kept but may cause issues"} 
[2026-07-27 20:38:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:38:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785164836000,"timestamp_ms":1785164836000,"timestamp_seconds":1785164836,"priority":1,"record_length":96,"hex_timestamp":"0000019fa41daca0"} 
[2026-07-27 20:38:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:38:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-27 20:38:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2381,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:38:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:38:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:38:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:38:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:38:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:38:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:38:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:38:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:38:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:38:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002192640001,"66":12232,"121":206,"28":31744,"24":0,"16":8971761479581696,"45":1830291066661748736},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:38:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:38:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:38:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002192640001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:38:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:38:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:38:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971761479581696,"km_value":8971761479581.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:38:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661748736,"description":"Unknown IO ID 45"} 
[2026-07-27 20:38:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002192640001,"power":12232,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661748736}} 
[2026-07-27 20:38:37] local.INFO: DEBUG: GPS processor result {"connection_id":144277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555322,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:38:37] local.INFO: GPS data processed {"connection_id":144277,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:38:37] local.INFO: Acknowledgment sent {"connection_id":144277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:38:59] local.INFO: TCP Data received {"connection_id":144278,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144278,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:38:59] local.INFO: Processing buffer {"connection_id":144278,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:38:59] local.INFO: IMEI packet received {"connection_id":144278,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 20:38:59] local.INFO: IMEI acknowledgment sent {"connection_id":144278,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:39:04] local.INFO: TCP Data received {"connection_id":144278,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144278,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:39:04] local.INFO: Processing buffer {"connection_id":144278,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:39:04] local.INFO: IMEI packet received {"connection_id":144278,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 20:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":144278,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:39:06] local.INFO: TCP Data received {"connection_id":144278,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa41dfea8012d196680071ff1c00036016624..."} 
[2026-07-27 20:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa41dfea8012d196680071ff1c00036016624..."} 
[2026-07-27 20:39:06] local.INFO: Processing buffer {"connection_id":144278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa41dfea8012d196680071ff1c00036016624..."} 
[2026-07-27 20:39:06] local.INFO: Packet analysis {"connection_id":144278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa41d"} 
[2026-07-27 20:39:06] local.INFO: Extracted packet for processing {"connection_id":144278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa41d"} 
[2026-07-27 20:39:06] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119534016,"longitude_deg":75.663936,"latitude_deg":11.9534016,"altitude":54,"angle":358,"satellites":36,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-07-27 20:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:39:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002198016001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:39:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971761479581696,"note":"Value kept but may cause issues"} 
[2026-07-27 20:39:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661748736,"note":"Value kept but may cause issues"} 
[2026-07-27 20:39:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:39:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785164857000,"timestamp_ms":1785164857000,"timestamp_seconds":1785164857,"priority":1,"record_length":96,"hex_timestamp":"0000019fa41dfea8"} 
[2026-07-27 20:39:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:39:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-27 20:39:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:39:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:39:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:39:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:39:06] local.INFO: Teltonika packet parsed successfully {"connection_id":144278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:39:06] local.INFO: Passing IMEI to GPS processor {"connection_id":144278,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:39:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":144278,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:39:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:39:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:39:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:39:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002198016001,"66":12254,"121":206,"28":31744,"24":0,"16":8971761479581696,"45":1830291066661748736},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:39:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:39:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:39:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002198016001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:39:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:39:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:39:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971761479581696,"km_value":8971761479581.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:39:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661748736,"description":"Unknown IO ID 45"} 
[2026-07-27 20:39:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002198016001,"power":12254,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661748736}} 
[2026-07-27 20:39:06] local.INFO: DEBUG: GPS processor result {"connection_id":144278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555323,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:39:06] local.INFO: GPS data processed {"connection_id":144278,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:39:06] local.INFO: Acknowledgment sent {"connection_id":144278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:39:37] local.INFO: TCP Data received {"connection_id":144278,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa41e50b0012d196680071ff1c00036016623..."} 
[2026-07-27 20:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa41e50b0012d196680071ff1c00036016623..."} 
[2026-07-27 20:39:37] local.INFO: Processing buffer {"connection_id":144278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa41e50b0012d196680071ff1c00036016623..."} 
[2026-07-27 20:39:37] local.INFO: Packet analysis {"connection_id":144278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa41e"} 
[2026-07-27 20:39:37] local.INFO: Extracted packet for processing {"connection_id":144278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa41e"} 
[2026-07-27 20:39:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119534016,"longitude_deg":75.663936,"latitude_deg":11.9534016,"altitude":54,"angle":358,"satellites":35,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-07-27 20:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002203392001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971761479581696,"note":"Value kept but may cause issues"} 
[2026-07-27 20:39:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661748736,"note":"Value kept but may cause issues"} 
[2026-07-27 20:39:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785164878000,"timestamp_ms":1785164878000,"timestamp_seconds":1785164878,"priority":1,"record_length":96,"hex_timestamp":"0000019fa41e50b0"} 
[2026-07-27 20:39:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:39:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-27 20:39:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:39:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:39:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:39:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144278,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144278,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:39:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002203392001,"66":12232,"121":206,"28":31744,"24":0,"16":8971761479581696,"45":1830291066661748736},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002203392001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:39:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:39:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:39:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971761479581696,"km_value":8971761479581.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:39:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661748736,"description":"Unknown IO ID 45"} 
[2026-07-27 20:39:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002203392001,"power":12232,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661748736}} 
[2026-07-27 20:39:37] local.INFO: DEBUG: GPS processor result {"connection_id":144278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555324,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:39:37] local.INFO: GPS data processed {"connection_id":144278,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:39:37] local.INFO: Acknowledgment sent {"connection_id":144278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:39:46] local.INFO: TCP Data received {"connection_id":143287,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:39:46] local.INFO: Processing buffer {"connection_id":143287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:39:46] local.INFO: IMEI packet received {"connection_id":143287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 20:39:46] local.INFO: IMEI acknowledgment sent {"connection_id":143287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:39:47] local.INFO: TCP Data received {"connection_id":143287,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fa41e5498012daaaa4005fea0f8001b00082a..."} 
[2026-07-27 20:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa41e5498012daaaa4005fea0f8001b00082a..."} 
[2026-07-27 20:39:47] local.INFO: Processing buffer {"connection_id":143287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa41e5498012daaaa4005fea0f8001b00082a..."} 
[2026-07-27 20:39:47] local.INFO: Packet analysis {"connection_id":143287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa41e"} 
[2026-07-27 20:39:47] local.INFO: Extracted packet for processing {"connection_id":143287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa41e"} 
[2026-07-27 20:39:47] local.INFO: GPS Element Parsed {"raw_longitude":766159424,"raw_latitude":100573432,"longitude_deg":76.6159424,"latitude_deg":10.0573432,"altitude":27,"angle":8,"satellites":42,"speed":18,"hex_longitude":"2daaaa40","hex_latitude":"05fea0f8","is_valid_coordinates":true} 
[2026-07-27 20:39:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:39:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002205440001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:39:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359389544635695104,"note":"Value kept but may cause issues"} 
[2026-07-27 20:39:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6152057802731726848,"note":"Value kept but may cause issues"} 
[2026-07-27 20:39:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:39:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785164879000,"timestamp_ms":1785164879000,"timestamp_seconds":1785164879,"priority":1,"record_length":96,"hex_timestamp":"0000019fa41e5498"} 
[2026-07-27 20:39:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:39:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20:39:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-27 20:39:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:39:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:39:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:39:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:39:47] local.INFO: Teltonika packet parsed successfully {"connection_id":143287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:39:47] local.INFO: Passing IMEI to GPS processor {"connection_id":143287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:39:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":143287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:39:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:39:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 20:39:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 20:39:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002205440001,"66":27321,"119":206,"88":20480,"24":18,"16":359389544635695104,"45":-6152057802731726848},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,88,24,16,45]} 
[2026-07-27 20:39:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 20:39:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 20:39:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002205440001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:39:47] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-07-27 20:39:47] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 20:39:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359389544635695104,"km_value":359389544635695.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:39:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6152057802731726848,"description":"Unknown IO ID 45"} 
[2026-07-27 20:39:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002205440001,"power":27321,"unknown_119":206,"unknown_88":20480,"ignition":18,"odometer":null,"unknown_45":-6152057802731726848}} 
[2026-07-27 20:39:47] local.INFO: DEBUG: GPS processor result {"connection_id":143287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:39:47] local.INFO: GPS data processed {"connection_id":143287,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:39:47] local.INFO: Acknowledgment sent {"connection_id":143287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:40:00] local.INFO: TCP Data received {"connection_id":145563,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145563,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:40:00] local.INFO: Processing buffer {"connection_id":145563,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:40:00] local.INFO: IMEI packet received {"connection_id":145563,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 20:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":145563,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:40:04] local.INFO: TCP Data received {"connection_id":145563,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145563,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:40:04] local.INFO: Processing buffer {"connection_id":145563,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:40:04] local.INFO: IMEI packet received {"connection_id":145563,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 20:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":145563,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:40:09] local.INFO: TCP Data received {"connection_id":145563,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145563,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:40:09] local.INFO: Processing buffer {"connection_id":145563,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:40:09] local.INFO: IMEI packet received {"connection_id":145563,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 20:40:09] local.INFO: IMEI acknowledgment sent {"connection_id":145563,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:40:10] local.INFO: TCP Data received {"connection_id":145563,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa41ea2b8012d196680071ff1c00036016622..."} 
[2026-07-27 20:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa41ea2b8012d196680071ff1c00036016622..."} 
[2026-07-27 20:40:10] local.INFO: Processing buffer {"connection_id":145563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa41ea2b8012d196680071ff1c00036016622..."} 
[2026-07-27 20:40:10] local.INFO: Packet analysis {"connection_id":145563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa41e"} 
[2026-07-27 20:40:10] local.INFO: Extracted packet for processing {"connection_id":145563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa41e"} 
[2026-07-27 20:40:10] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119534016,"longitude_deg":75.663936,"latitude_deg":11.9534016,"altitude":54,"angle":358,"satellites":34,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-07-27 20:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:40:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002208768001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:40:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971761479581696,"note":"Value kept but may cause issues"} 
[2026-07-27 20:40:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661748736,"note":"Value kept but may cause issues"} 
[2026-07-27 20:40:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:40:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785164899000,"timestamp_ms":1785164899000,"timestamp_seconds":1785164899,"priority":1,"record_length":96,"hex_timestamp":"0000019fa41ea2b8"} 
[2026-07-27 20:40:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:40:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-27 20:40:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:40:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:40:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:40:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:40:10] local.INFO: Teltonika packet parsed successfully {"connection_id":145563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:40:10] local.INFO: Passing IMEI to GPS processor {"connection_id":145563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:40:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":145563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:40:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:40:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:40:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:40:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002208768001,"66":12232,"121":206,"28":31744,"24":0,"16":8971761479581696,"45":1830291066661748736},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:40:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:40:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:40:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002208768001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:40:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:40:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:40:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971761479581696,"km_value":8971761479581.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:40:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661748736,"description":"Unknown IO ID 45"} 
[2026-07-27 20:40:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002208768001,"power":12232,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661748736}} 
[2026-07-27 20:40:10] local.INFO: DEBUG: GPS processor result {"connection_id":145563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555326,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:40:10] local.INFO: GPS data processed {"connection_id":145563,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:40:10] local.INFO: Acknowledgment sent {"connection_id":145563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:40:14] local.INFO: TCP Data received {"connection_id":145563,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa41ef4c0012d196680071ff1c00036016621..."} 
[2026-07-27 20:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa41ef4c0012d196680071ff1c00036016621..."} 
[2026-07-27 20:40:14] local.INFO: Processing buffer {"connection_id":145563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa41ef4c0012d196680071ff1c00036016621..."} 
[2026-07-27 20:40:14] local.INFO: Packet analysis {"connection_id":145563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa41e"} 
[2026-07-27 20:40:14] local.INFO: Extracted packet for processing {"connection_id":145563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa41e"} 
[2026-07-27 20:40:14] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119534016,"longitude_deg":75.663936,"latitude_deg":11.9534016,"altitude":54,"angle":358,"satellites":33,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-07-27 20:40:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:40:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002214144001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:40:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971761479581696,"note":"Value kept but may cause issues"} 
[2026-07-27 20:40:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661748736,"note":"Value kept but may cause issues"} 
[2026-07-27 20:40:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:40:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785164920000,"timestamp_ms":1785164920000,"timestamp_seconds":1785164920,"priority":1,"record_length":96,"hex_timestamp":"0000019fa41ef4c0"} 
[2026-07-27 20:40:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:40:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20:40:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-27 20:40:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:40:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:40:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:40:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:40:14] local.INFO: Teltonika packet parsed successfully {"connection_id":145563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:40:14] local.INFO: Passing IMEI to GPS processor {"connection_id":145563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:40:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":145563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:40:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:40:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:40:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:40:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002214144001,"66":12232,"121":206,"28":31744,"24":0,"16":8971761479581696,"45":1830291066661748736},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:40:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:40:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:40:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002214144001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:40:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:40:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:40:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971761479581696,"km_value":8971761479581.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:40:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661748736,"description":"Unknown IO ID 45"} 
[2026-07-27 20:40:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002214144001,"power":12232,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661748736}} 
[2026-07-27 20:40:14] local.INFO: DEBUG: GPS processor result {"connection_id":145563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555327,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:40:14] local.INFO: GPS data processed {"connection_id":145563,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:40:14] local.INFO: Acknowledgment sent {"connection_id":145563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:40:30] local.INFO: TCP Data received {"connection_id":143143,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:40:30] local.INFO: Processing buffer {"connection_id":143143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:40:30] local.INFO: IMEI packet received {"connection_id":143143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 20:40:30] local.INFO: IMEI acknowledgment sent {"connection_id":143143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:40:31] local.INFO: TCP Data received {"connection_id":143143,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:40:31] local.INFO: Processing buffer {"connection_id":143143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:40:31] local.INFO: IMEI packet received {"connection_id":143143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 20:40:31] local.INFO: IMEI acknowledgment sent {"connection_id":143143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:40:36] local.INFO: TCP Data received {"connection_id":143143,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:40:36] local.INFO: Processing buffer {"connection_id":143143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:40:36] local.INFO: IMEI packet received {"connection_id":143143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 20:40:36] local.INFO: IMEI acknowledgment sent {"connection_id":143143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:40:37] local.INFO: TCP Data received {"connection_id":143143,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fa41f6608012daad88005ff09380019002b2b..."} 
[2026-07-27 20:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143143,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa41f6608012daad88005ff09380019002b2b..."} 
[2026-07-27 20:40:37] local.INFO: Processing buffer {"connection_id":143143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa41f6608012daad88005ff09380019002b2b..."} 
[2026-07-27 20:40:37] local.INFO: Packet analysis {"connection_id":143143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa41f"} 
[2026-07-27 20:40:37] local.INFO: Extracted packet for processing {"connection_id":143143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa41f"} 
[2026-07-27 20:40:37] local.INFO: GPS Element Parsed {"raw_longitude":766171264,"raw_latitude":100600120,"longitude_deg":76.6171264,"latitude_deg":10.060012,"altitude":25,"angle":43,"satellites":43,"speed":9,"hex_longitude":"2daad880","hex_latitude":"05ff0938","is_valid_coordinates":true} 
[2026-07-27 20:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002225664001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:40:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391344226992128,"note":"Value kept but may cause issues"} 
[2026-07-27 20:40:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6137702578910902272,"note":"Value kept but may cause issues"} 
[2026-07-27 20:40:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:40:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785164949000,"timestamp_ms":1785164949000,"timestamp_seconds":1785164949,"priority":1,"record_length":96,"hex_timestamp":"0000019fa41f6608"} 
[2026-07-27 20:40:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:40:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-27 20:40:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:40:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:40:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:40:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:40:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:40:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:40:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:40:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:40:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 20:40:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 20:40:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002225664001,"66":27343,"118":206,"88":20480,"24":9,"16":359391344226992128,"45":-6137702578910902272},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 20:40:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 20:40:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 20:40:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002225664001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:40:37] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 20:40:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 20:40:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391344226992128,"km_value":359391344226992.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:40:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6137702578910902272,"description":"Unknown IO ID 45"} 
[2026-07-27 20:40:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002225664001,"power":27343,"unknown_118":206,"unknown_88":20480,"ignition":9,"odometer":null,"unknown_45":-6137702578910902272}} 
[2026-07-27 20:40:37] local.INFO: DEBUG: GPS processor result {"connection_id":143143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:40:37] local.INFO: GPS data processed {"connection_id":143143,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:40:37] local.INFO: Acknowledgment sent {"connection_id":143143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:40:59] local.INFO: TCP Data received {"connection_id":143288,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143288,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:40:59] local.INFO: Processing buffer {"connection_id":143288,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:40:59] local.INFO: IMEI packet received {"connection_id":143288,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 20:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":143288,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:41:03] local.INFO: TCP Data received {"connection_id":143288,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143288,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:41:03] local.INFO: Processing buffer {"connection_id":143288,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:41:03] local.INFO: IMEI packet received {"connection_id":143288,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 20:41:03] local.INFO: IMEI acknowledgment sent {"connection_id":143288,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:41:04] local.INFO: TCP Data received {"connection_id":143288,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa41f46c8012d196680071ff1c00036016622..."} 
[2026-07-27 20:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa41f46c8012d196680071ff1c00036016622..."} 
[2026-07-27 20:41:04] local.INFO: Processing buffer {"connection_id":143288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa41f46c8012d196680071ff1c00036016622..."} 
[2026-07-27 20:41:04] local.INFO: Packet analysis {"connection_id":143288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa41f"} 
[2026-07-27 20:41:04] local.INFO: Extracted packet for processing {"connection_id":143288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa41f"} 
[2026-07-27 20:41:04] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119534016,"longitude_deg":75.663936,"latitude_deg":11.9534016,"altitude":54,"angle":358,"satellites":34,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-07-27 20:41:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:41:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002219520001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:41:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971761479581696,"note":"Value kept but may cause issues"} 
[2026-07-27 20:41:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661748736,"note":"Value kept but may cause issues"} 
[2026-07-27 20:41:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:41:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785164941000,"timestamp_ms":1785164941000,"timestamp_seconds":1785164941,"priority":1,"record_length":96,"hex_timestamp":"0000019fa41f46c8"} 
[2026-07-27 20:41:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:41:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20:41:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-27 20:41:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:41:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:41:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:41:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:41:04] local.INFO: Teltonika packet parsed successfully {"connection_id":143288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:41:04] local.INFO: Passing IMEI to GPS processor {"connection_id":143288,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:41:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":143288,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:41:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:41:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:41:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:41:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002219520001,"66":12102,"121":206,"28":31744,"24":0,"16":8971761479581696,"45":1830291066661748736},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:41:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:41:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:41:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002219520001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:41:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:41:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:41:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971761479581696,"km_value":8971761479581.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:41:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661748736,"description":"Unknown IO ID 45"} 
[2026-07-27 20:41:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002219520001,"power":12102,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661748736}} 
[2026-07-27 20:41:05] local.INFO: DEBUG: GPS processor result {"connection_id":143288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555329,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:41:05] local.INFO: GPS data processed {"connection_id":143288,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:41:05] local.INFO: Acknowledgment sent {"connection_id":143288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:41:08] local.INFO: TCP Data received {"connection_id":143143,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fa41f69f0012daad90005ff09d8001900192b..."} 
[2026-07-27 20:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143143,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa41f69f0012daad90005ff09d8001900192b..."} 
[2026-07-27 20:41:08] local.INFO: Processing buffer {"connection_id":143143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa41f69f0012daad90005ff09d8001900192b..."} 
[2026-07-27 20:41:08] local.INFO: Packet analysis {"connection_id":143143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa41f"} 
[2026-07-27 20:41:08] local.INFO: Extracted packet for processing {"connection_id":143143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa41f"} 
[2026-07-27 20:41:08] local.INFO: GPS Element Parsed {"raw_longitude":766171392,"raw_latitude":100600280,"longitude_deg":76.6171392,"latitude_deg":10.060028,"altitude":25,"angle":25,"satellites":43,"speed":7,"hex_longitude":"2daad900","hex_latitude":"05ff09d8","is_valid_coordinates":true} 
[2026-07-27 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-07-27 20:41:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002226944001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:41:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391357111894016,"note":"Value kept but may cause issues"} 
[2026-07-27 20:41:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6136013729050314752,"note":"Value kept but may cause issues"} 
[2026-07-27 20:41:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:41:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785164950000,"timestamp_ms":1785164950000,"timestamp_seconds":1785164950,"priority":1,"record_length":96,"hex_timestamp":"0000019fa41f69f0"} 
[2026-07-27 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-07-27 20:41:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-27 20:41:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 20:41:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:41:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:41:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:41:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:41:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:41:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 20:41:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 20:41:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002226944001,"66":27300,"118":206,"88":20480,"24":7,"16":359391357111894016,"45":-6136013729050314752},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 20:41:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 20:41:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 20:41:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002226944001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:41:08] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 20:41:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 20:41:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391357111894016,"km_value":359391357111894.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:41:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6136013729050314752,"description":"Unknown IO ID 45"} 
[2026-07-27 20:41:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002226944001,"power":27300,"unknown_118":206,"unknown_88":20480,"ignition":7,"odometer":null,"unknown_45":-6136013729050314752}} 
[2026-07-27 20:41:08] local.INFO: DEBUG: GPS processor result {"connection_id":143143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:41:08] local.INFO: GPS data processed {"connection_id":143143,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:41:08] local.INFO: Acknowledgment sent {"connection_id":143143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:41:36] local.INFO: TCP Data received {"connection_id":143288,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa41f98d0012d196680071ff1c00036016623..."} 
[2026-07-27 20:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa41f98d0012d196680071ff1c00036016623..."} 
[2026-07-27 20:41:36] local.INFO: Processing buffer {"connection_id":143288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa41f98d0012d196680071ff1c00036016623..."} 
[2026-07-27 20:41:36] local.INFO: Packet analysis {"connection_id":143288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa41f"} 
[2026-07-27 20:41:36] local.INFO: Extracted packet for processing {"connection_id":143288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa41f"} 
[2026-07-27 20:41:36] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119534016,"longitude_deg":75.663936,"latitude_deg":11.9534016,"altitude":54,"angle":358,"satellites":35,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-07-27 20:41:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:41:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002224896001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:41:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971761479581696,"note":"Value kept but may cause issues"} 
[2026-07-27 20:41:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661748736,"note":"Value kept but may cause issues"} 
[2026-07-27 20:41:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:41:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785164962000,"timestamp_ms":1785164962000,"timestamp_seconds":1785164962,"priority":1,"record_length":96,"hex_timestamp":"0000019fa41f98d0"} 
[2026-07-27 20:41:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:41:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20:41:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-27 20:41:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1063,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:41:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:41:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:41:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:41:36] local.INFO: Teltonika packet parsed successfully {"connection_id":143288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:41:36] local.INFO: Passing IMEI to GPS processor {"connection_id":143288,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:41:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":143288,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:41:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:41:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:41:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:41:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002224896001,"66":12232,"121":206,"28":31744,"24":0,"16":8971761479581696,"45":1830291066661748736},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:41:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:41:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:41:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002224896001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:41:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:41:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:41:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971761479581696,"km_value":8971761479581.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:41:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661748736,"description":"Unknown IO ID 45"} 
[2026-07-27 20:41:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002224896001,"power":12232,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661748736}} 
[2026-07-27 20:41:36] local.INFO: TCP Data received {"connection_id":145564,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:41:36] local.INFO: Processing buffer {"connection_id":145564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:41:36] local.INFO: IMEI packet received {"connection_id":145564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 20:41:36] local.INFO: IMEI acknowledgment sent {"connection_id":145564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:41:36] local.INFO: DEBUG: GPS processor result {"connection_id":143288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555331,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:41:36] local.INFO: GPS data processed {"connection_id":143288,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:41:36] local.INFO: Acknowledgment sent {"connection_id":143288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:41:41] local.INFO: TCP Data received {"connection_id":145564,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:41:41] local.INFO: Processing buffer {"connection_id":145564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:41:41] local.INFO: IMEI packet received {"connection_id":145564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 20:41:41] local.INFO: IMEI acknowledgment sent {"connection_id":145564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:41:42] local.INFO: TCP Data received {"connection_id":145564,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa41fbbf8012daada8005ff0dc8001b001428..."} 
[2026-07-27 20:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145564,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa41fbbf8012daada8005ff0dc8001b001428..."} 
[2026-07-27 20:41:42] local.INFO: Processing buffer {"connection_id":145564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa41fbbf8012daada8005ff0dc8001b001428..."} 
[2026-07-27 20:41:42] local.INFO: Packet analysis {"connection_id":145564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa41f"} 
[2026-07-27 20:41:42] local.INFO: Extracted packet for processing {"connection_id":145564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa41f"} 
[2026-07-27 20:41:42] local.INFO: GPS Element Parsed {"raw_longitude":766171776,"raw_latitude":100601288,"longitude_deg":76.6171776,"latitude_deg":10.0601288,"altitude":27,"angle":20,"satellites":40,"speed":1,"hex_longitude":"2daada80","hex_latitude":"05ff0dc8","is_valid_coordinates":true} 
[2026-07-27 20:41:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:41:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002227200001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:41:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391421536403456,"note":"Value kept but may cause issues"} 
[2026-07-27 20:41:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6135872991561918464,"note":"Value kept but may cause issues"} 
[2026-07-27 20:41:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:41:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785164971000,"timestamp_ms":1785164971000,"timestamp_seconds":1785164971,"priority":1,"record_length":96,"hex_timestamp":"0000019fa41fbbf8"} 
[2026-07-27 20:41:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:41:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-27 20:41:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:41:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:41:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:41:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:41:42] local.INFO: Teltonika packet parsed successfully {"connection_id":145564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:41:42] local.INFO: Passing IMEI to GPS processor {"connection_id":145564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:41:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":145564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:41:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:41:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 20:41:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 20:41:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002227200001,"66":27376,"118":206,"88":20480,"24":1,"16":359391421536403456,"45":-6135872991561918464},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 20:41:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 20:41:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 20:41:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002227200001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:41:42] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 20:41:42] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 20:41:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391421536403456,"km_value":359391421536403.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:41:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6135872991561918464,"description":"Unknown IO ID 45"} 
[2026-07-27 20:41:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002227200001,"power":27376,"unknown_118":206,"unknown_88":20480,"ignition":1,"odometer":null,"unknown_45":-6135872991561918464}} 
[2026-07-27 20:41:42] local.INFO: DEBUG: GPS processor result {"connection_id":145564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:41:42] local.INFO: GPS data processed {"connection_id":145564,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:41:42] local.INFO: Acknowledgment sent {"connection_id":145564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:41:46] local.INFO: TCP Data received {"connection_id":145564,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4200e00012daad80005ff0b00001b001428..."} 
[2026-07-27 20:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145564,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4200e00012daad80005ff0b00001b001428..."} 
[2026-07-27 20:41:46] local.INFO: Processing buffer {"connection_id":145564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4200e00012daad80005ff0b00001b001428..."} 
[2026-07-27 20:41:46] local.INFO: Packet analysis {"connection_id":145564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa420"} 
[2026-07-27 20:41:46] local.INFO: Extracted packet for processing {"connection_id":145564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa420"} 
[2026-07-27 20:41:46] local.INFO: GPS Element Parsed {"raw_longitude":766171136,"raw_latitude":100600576,"longitude_deg":76.6171136,"latitude_deg":10.0600576,"altitude":27,"angle":20,"satellites":40,"speed":1,"hex_longitude":"2daad800","hex_latitude":"05ff0b00","is_valid_coordinates":true} 
[2026-07-27 20:41:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:41:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002232576001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:41:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391481665945600,"note":"Value kept but may cause issues"} 
[2026-07-27 20:41:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6135450779096594432,"note":"Value kept but may cause issues"} 
[2026-07-27 20:41:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:41:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785164992000,"timestamp_ms":1785164992000,"timestamp_seconds":1785164992,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4200e00"} 
[2026-07-27 20:41:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:41:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20:41:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-27 20:41:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:41:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:41:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:41:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:41:46] local.INFO: Teltonika packet parsed successfully {"connection_id":145564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:41:46] local.INFO: Passing IMEI to GPS processor {"connection_id":145564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:41:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":145564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:41:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:41:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 20:41:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 20:41:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002232576001,"66":27245,"118":206,"88":20480,"24":1,"16":359391481665945600,"45":-6135450779096594432},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 20:41:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 20:41:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 20:41:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002232576001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:41:46] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 20:41:46] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 20:41:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391481665945600,"km_value":359391481665945.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:41:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6135450779096594432,"description":"Unknown IO ID 45"} 
[2026-07-27 20:41:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002232576001,"power":27245,"unknown_118":206,"unknown_88":20480,"ignition":1,"odometer":null,"unknown_45":-6135450779096594432}} 
[2026-07-27 20:41:46] local.INFO: DEBUG: GPS processor result {"connection_id":145564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:41:46] local.INFO: GPS data processed {"connection_id":145564,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:41:46] local.INFO: Acknowledgment sent {"connection_id":145564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:41:59] local.INFO: TCP Data received {"connection_id":143289,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143289,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:41:59] local.INFO: Processing buffer {"connection_id":143289,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:41:59] local.INFO: IMEI packet received {"connection_id":143289,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 20:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":143289,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:42:04] local.INFO: TCP Data received {"connection_id":143289,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143289,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:42:04] local.INFO: Processing buffer {"connection_id":143289,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:42:04] local.INFO: IMEI packet received {"connection_id":143289,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 20:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":143289,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:42:06] local.INFO: TCP Data received {"connection_id":143289,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa41fead8012d196680071ff1c00036016625..."} 
[2026-07-27 20:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa41fead8012d196680071ff1c00036016625..."} 
[2026-07-27 20:42:06] local.INFO: Processing buffer {"connection_id":143289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa41fead8012d196680071ff1c00036016625..."} 
[2026-07-27 20:42:06] local.INFO: Packet analysis {"connection_id":143289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa41f"} 
[2026-07-27 20:42:06] local.INFO: Extracted packet for processing {"connection_id":143289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa41f"} 
[2026-07-27 20:42:06] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119534016,"longitude_deg":75.663936,"latitude_deg":11.9534016,"altitude":54,"angle":358,"satellites":37,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-07-27 20:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:42:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002230272001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:42:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971761479581696,"note":"Value kept but may cause issues"} 
[2026-07-27 20:42:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661748736,"note":"Value kept but may cause issues"} 
[2026-07-27 20:42:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:42:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785164983000,"timestamp_ms":1785164983000,"timestamp_seconds":1785164983,"priority":1,"record_length":96,"hex_timestamp":"0000019fa41fead8"} 
[2026-07-27 20:42:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:42:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-27 20:42:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:42:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:42:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:42:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:42:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:42:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:42:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:42:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:42:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:42:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:42:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002230272001,"66":12265,"121":206,"28":31744,"24":0,"16":8971761479581696,"45":1830291066661748736},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:42:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:42:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:42:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002230272001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:42:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:42:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:42:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971761479581696,"km_value":8971761479581.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:42:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661748736,"description":"Unknown IO ID 45"} 
[2026-07-27 20:42:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002230272001,"power":12265,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661748736}} 
[2026-07-27 20:42:06] local.INFO: DEBUG: GPS processor result {"connection_id":143289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555334,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:42:06] local.INFO: GPS data processed {"connection_id":143289,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:42:06] local.INFO: Acknowledgment sent {"connection_id":143289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:42:31] local.INFO: TCP Data received {"connection_id":143145,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:42:31] local.INFO: Processing buffer {"connection_id":143145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:42:31] local.INFO: IMEI packet received {"connection_id":143145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 20:42:31] local.INFO: IMEI acknowledgment sent {"connection_id":143145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:42:36] local.INFO: TCP Data received {"connection_id":143145,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:42:36] local.INFO: Processing buffer {"connection_id":143145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:42:36] local.INFO: IMEI packet received {"connection_id":143145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 20:42:36] local.INFO: IMEI acknowledgment sent {"connection_id":143145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:42:37] local.INFO: TCP Data received {"connection_id":143145,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4206008012daada0005ff0978001b001424..."} 
[2026-07-27 20:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143145,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4206008012daada0005ff0978001b001424..."} 
[2026-07-27 20:42:37] local.INFO: Processing buffer {"connection_id":143145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4206008012daada0005ff0978001b001424..."} 
[2026-07-27 20:42:37] local.INFO: Packet analysis {"connection_id":143145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa420"} 
[2026-07-27 20:42:37] local.INFO: Extracted packet for processing {"connection_id":143145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa420"} 
[2026-07-27 20:42:37] local.INFO: GPS Element Parsed {"raw_longitude":766171648,"raw_latitude":100600184,"longitude_deg":76.6171648,"latitude_deg":10.0600184,"altitude":27,"angle":20,"satellites":36,"speed":0,"hex_longitude":"2daada00","hex_latitude":"05ff0978","is_valid_coordinates":true} 
[2026-07-27 20:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002237952001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391528910585856,"note":"Value kept but may cause issues"} 
[2026-07-27 20:42:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6136154466538553344,"note":"Value kept but may cause issues"} 
[2026-07-27 20:42:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785165013000,"timestamp_ms":1785165013000,"timestamp_seconds":1785165013,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4206008"} 
[2026-07-27 20:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:42:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-27 20:42:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:42:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:42:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 20:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 20:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002237952001,"66":27267,"118":206,"88":20480,"24":0,"16":359391528910585856,"45":-6136154466538553344},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 20:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 20:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 20:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002237952001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:42:37] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 20:42:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 20:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391528910585856,"km_value":359391528910585.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:42:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6136154466538553344,"description":"Unknown IO ID 45"} 
[2026-07-27 20:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002237952001,"power":27267,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6136154466538553344}} 
[2026-07-27 20:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":143145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:42:37] local.INFO: GPS data processed {"connection_id":143145,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:42:37] local.INFO: Acknowledgment sent {"connection_id":143145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:42:38] local.INFO: TCP Data received {"connection_id":143289,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4203ce0012d196680071ff1c00036016626..."} 
[2026-07-27 20:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4203ce0012d196680071ff1c00036016626..."} 
[2026-07-27 20:42:38] local.INFO: Processing buffer {"connection_id":143289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4203ce0012d196680071ff1c00036016626..."} 
[2026-07-27 20:42:38] local.INFO: Packet analysis {"connection_id":143289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa420"} 
[2026-07-27 20:42:38] local.INFO: Extracted packet for processing {"connection_id":143289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa420"} 
[2026-07-27 20:42:38] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119534016,"longitude_deg":75.663936,"latitude_deg":11.9534016,"altitude":54,"angle":358,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-07-27 20:42:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:42:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002235648001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:42:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971761479581696,"note":"Value kept but may cause issues"} 
[2026-07-27 20:42:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661748736,"note":"Value kept but may cause issues"} 
[2026-07-27 20:42:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:42:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785165004000,"timestamp_ms":1785165004000,"timestamp_seconds":1785165004,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4203ce0"} 
[2026-07-27 20:42:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:42:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20: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":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-27 20:42:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2530,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:42:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:42:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:42:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:42:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:42:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:42:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:42:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:42:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:42:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:42:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002235648001,"66":12254,"121":206,"28":31744,"24":0,"16":8971761479581696,"45":1830291066661748736},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:42:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:42:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:42:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002235648001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:42:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:42:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:42:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971761479581696,"km_value":8971761479581.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:42:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661748736,"description":"Unknown IO ID 45"} 
[2026-07-27 20:42:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002235648001,"power":12254,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661748736}} 
[2026-07-27 20:42:38] local.INFO: DEBUG: GPS processor result {"connection_id":143289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555336,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:42:38] local.INFO: GPS data processed {"connection_id":143289,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:42:38] local.INFO: Acknowledgment sent {"connection_id":143289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:42:59] local.INFO: TCP Data received {"connection_id":143146,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143146,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:42:59] local.INFO: Processing buffer {"connection_id":143146,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:42:59] local.INFO: IMEI packet received {"connection_id":143146,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 20:42:59] local.INFO: IMEI acknowledgment sent {"connection_id":143146,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:43:04] local.INFO: TCP Data received {"connection_id":143146,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143146,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:43:04] local.INFO: Processing buffer {"connection_id":143146,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:43:04] local.INFO: IMEI packet received {"connection_id":143146,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 20:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":143146,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:43:05] local.INFO: TCP Data received {"connection_id":143146,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4208ee8012d196680071ff1c00036016623..."} 
[2026-07-27 20:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143146,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4208ee8012d196680071ff1c00036016623..."} 
[2026-07-27 20:43:05] local.INFO: Processing buffer {"connection_id":143146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4208ee8012d196680071ff1c00036016623..."} 
[2026-07-27 20:43:05] local.INFO: Packet analysis {"connection_id":143146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa420"} 
[2026-07-27 20:43:05] local.INFO: Extracted packet for processing {"connection_id":143146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa420"} 
[2026-07-27 20:43:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119534016,"longitude_deg":75.663936,"latitude_deg":11.9534016,"altitude":54,"angle":358,"satellites":35,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-07-27 20:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:43:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002241024001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:43:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971761479581696,"note":"Value kept but may cause issues"} 
[2026-07-27 20:43:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661748736,"note":"Value kept but may cause issues"} 
[2026-07-27 20:43:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:43:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785165025000,"timestamp_ms":1785165025000,"timestamp_seconds":1785165025,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4208ee8"} 
[2026-07-27 20:43:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:43:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-27 20:43:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:43:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:43:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:43:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:43:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:43:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143146,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:43:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143146,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:43:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:43:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:43:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:43:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002241024001,"66":12178,"121":206,"28":31744,"24":0,"16":8971761479581696,"45":1830291066661748736},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:43:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:43:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:43:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002241024001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:43:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:43:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:43:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971761479581696,"km_value":8971761479581.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:43:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661748736,"description":"Unknown IO ID 45"} 
[2026-07-27 20:43:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002241024001,"power":12178,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661748736}} 
[2026-07-27 20:43:05] local.INFO: DEBUG: GPS processor result {"connection_id":143146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555337,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:43:05] local.INFO: GPS data processed {"connection_id":143146,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:43:05] local.INFO: Acknowledgment sent {"connection_id":143146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:43:08] local.INFO: TCP Data received {"connection_id":143145,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa42092d0012daaddc005ff08d0001c001421..."} 
[2026-07-27 20:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143145,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa42092d0012daaddc005ff08d0001c001421..."} 
[2026-07-27 20:43:08] local.INFO: Processing buffer {"connection_id":143145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa42092d0012daaddc005ff08d0001c001421..."} 
[2026-07-27 20:43:08] local.INFO: Packet analysis {"connection_id":143145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa420"} 
[2026-07-27 20:43:08] local.INFO: Extracted packet for processing {"connection_id":143145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa420"} 
[2026-07-27 20:43:08] local.INFO: GPS Element Parsed {"raw_longitude":766172608,"raw_latitude":100600016,"longitude_deg":76.6172608,"latitude_deg":10.0600016,"altitude":28,"angle":20,"satellites":33,"speed":3,"hex_longitude":"2daaddc0","hex_latitude":"05ff08d0","is_valid_coordinates":true} 
[2026-07-27 20:43:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:43:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002243328001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:43:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391576155226112,"note":"Value kept but may cause issues"} 
[2026-07-27 20:43:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6135591516585232384,"note":"Value kept but may cause issues"} 
[2026-07-27 20:43:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:43:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785165026000,"timestamp_ms":1785165026000,"timestamp_seconds":1785165026,"priority":1,"record_length":96,"hex_timestamp":"0000019fa42092d0"} 
[2026-07-27 20:43:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:43:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-27 20:43:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:43:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:43:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:43:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:43:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:43:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:43:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:43:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:43:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 20:43:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 20:43:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002243328001,"66":27919,"118":206,"88":20480,"24":3,"16":359391576155226112,"45":-6135591516585232384},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 20:43:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 20:43:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 20:43:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002243328001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:43:08] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 20:43:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 20:43:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391576155226112,"km_value":359391576155226.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:43:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6135591516585232384,"description":"Unknown IO ID 45"} 
[2026-07-27 20:43:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002243328001,"power":27919,"unknown_118":206,"unknown_88":20480,"ignition":3,"odometer":null,"unknown_45":-6135591516585232384}} 
[2026-07-27 20:43:08] local.INFO: DEBUG: GPS processor result {"connection_id":143145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:43:08] local.INFO: GPS data processed {"connection_id":143145,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:43:08] local.INFO: Acknowledgment sent {"connection_id":143145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:43:31] local.INFO: TCP Data received {"connection_id":143147,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:43:31] local.INFO: Processing buffer {"connection_id":143147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:43:31] local.INFO: IMEI packet received {"connection_id":143147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 20:43:31] local.INFO: IMEI acknowledgment sent {"connection_id":143147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:43:36] local.INFO: TCP Data received {"connection_id":143147,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:43:36] local.INFO: Processing buffer {"connection_id":143147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:43:36] local.INFO: IMEI packet received {"connection_id":143147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 20:43:36] local.INFO: IMEI acknowledgment sent {"connection_id":143147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:43:37] local.INFO: TCP Data received {"connection_id":143147,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa42092d0012daaddc005ff08d0001c001421..."} 
[2026-07-27 20:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa42092d0012daaddc005ff08d0001c001421..."} 
[2026-07-27 20:43:37] local.INFO: Processing buffer {"connection_id":143147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa42092d0012daaddc005ff08d0001c001421..."} 
[2026-07-27 20:43:37] local.INFO: Packet analysis {"connection_id":143147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa420"} 
[2026-07-27 20:43:37] local.INFO: Extracted packet for processing {"connection_id":143147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa420"} 
[2026-07-27 20:43:37] local.INFO: GPS Element Parsed {"raw_longitude":766172608,"raw_latitude":100600016,"longitude_deg":76.6172608,"latitude_deg":10.0600016,"altitude":28,"angle":20,"satellites":33,"speed":3,"hex_longitude":"2daaddc0","hex_latitude":"05ff08d0","is_valid_coordinates":true} 
[2026-07-27 20:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:43:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002243328001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:43:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391576155226112,"note":"Value kept but may cause issues"} 
[2026-07-27 20:43:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6135591516585232384,"note":"Value kept but may cause issues"} 
[2026-07-27 20:43:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:43:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785165026000,"timestamp_ms":1785165026000,"timestamp_seconds":1785165026,"priority":1,"record_length":96,"hex_timestamp":"0000019fa42092d0"} 
[2026-07-27 20:43:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:43:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-27 20:43:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:43:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:43:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:43:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:43:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:43:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:43:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:43:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:43:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 20:43:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 20:43:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002243328001,"66":27919,"118":206,"88":20480,"24":3,"16":359391576155226112,"45":-6135591516585232384},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 20:43:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 20:43:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 20:43:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002243328001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:43:37] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 20:43:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 20:43:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391576155226112,"km_value":359391576155226.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:43:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6135591516585232384,"description":"Unknown IO ID 45"} 
[2026-07-27 20:43:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002243328001,"power":27919,"unknown_118":206,"unknown_88":20480,"ignition":3,"odometer":null,"unknown_45":-6135591516585232384}} 
[2026-07-27 20:43:37] local.INFO: DEBUG: GPS processor result {"connection_id":143147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:43:37] local.INFO: GPS data processed {"connection_id":143147,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:43:37] local.INFO: Acknowledgment sent {"connection_id":143147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:43:37] local.INFO: TCP Data received {"connection_id":143146,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa420e0f0012d196680071ff1c00036016624..."} 
[2026-07-27 20:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143146,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa420e0f0012d196680071ff1c00036016624..."} 
[2026-07-27 20:43:37] local.INFO: Processing buffer {"connection_id":143146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa420e0f0012d196680071ff1c00036016624..."} 
[2026-07-27 20:43:37] local.INFO: Packet analysis {"connection_id":143146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa420"} 
[2026-07-27 20:43:37] local.INFO: Extracted packet for processing {"connection_id":143146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa420"} 
[2026-07-27 20:43:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119534016,"longitude_deg":75.663936,"latitude_deg":11.9534016,"altitude":54,"angle":358,"satellites":36,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-07-27 20:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:43:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002246400001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:43:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971761479581696,"note":"Value kept but may cause issues"} 
[2026-07-27 20:43:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661748736,"note":"Value kept but may cause issues"} 
[2026-07-27 20:43:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:43:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785165046000,"timestamp_ms":1785165046000,"timestamp_seconds":1785165046,"priority":1,"record_length":96,"hex_timestamp":"0000019fa420e0f0"} 
[2026-07-27 20:43:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:43:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-27 20:43:37] 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-07-27 20:43:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:43:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:43:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:43:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:43:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143146,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:43:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143146,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:43:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:43:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:43:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:43:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002246400001,"66":12254,"121":206,"28":31744,"24":0,"16":8971761479581696,"45":1830291066661748736},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:43:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:43:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:43:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002246400001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:43:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:43:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:43:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971761479581696,"km_value":8971761479581.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:43:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661748736,"description":"Unknown IO ID 45"} 
[2026-07-27 20:43:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002246400001,"power":12254,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661748736}} 
[2026-07-27 20:43:38] local.INFO: DEBUG: GPS processor result {"connection_id":143146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555340,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:43:38] local.INFO: GPS data processed {"connection_id":143146,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:43:38] local.INFO: Acknowledgment sent {"connection_id":143146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:43:57] local.INFO: TCP Data received {"connection_id":143148,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143148,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:43:57] local.INFO: Processing buffer {"connection_id":143148,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:43:57] local.INFO: IMEI packet received {"connection_id":143148,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 20:43:57] local.INFO: IMEI acknowledgment sent {"connection_id":143148,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:43:59] local.INFO: TCP Data received {"connection_id":143148,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143148,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:43:59] local.INFO: Processing buffer {"connection_id":143148,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:43:59] local.INFO: IMEI packet received {"connection_id":143148,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 20:43:59] local.INFO: IMEI acknowledgment sent {"connection_id":143148,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:44:04] local.INFO: TCP Data received {"connection_id":143148,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143148,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:44:04] local.INFO: Processing buffer {"connection_id":143148,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:44:04] local.INFO: IMEI packet received {"connection_id":143148,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 20:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":143148,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:44:05] local.INFO: TCP Data received {"connection_id":143148,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa42132f8012d196680071ff1c00036016624..."} 
[2026-07-27 20:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143148,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa42132f8012d196680071ff1c00036016624..."} 
[2026-07-27 20:44:05] local.INFO: Processing buffer {"connection_id":143148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa42132f8012d196680071ff1c00036016624..."} 
[2026-07-27 20:44:05] local.INFO: Packet analysis {"connection_id":143148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa421"} 
[2026-07-27 20:44:05] local.INFO: Extracted packet for processing {"connection_id":143148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa421"} 
[2026-07-27 20:44:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119534016,"longitude_deg":75.663936,"latitude_deg":11.9534016,"altitude":54,"angle":358,"satellites":36,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-07-27 20:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:44:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002251776001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:44:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971761479581696,"note":"Value kept but may cause issues"} 
[2026-07-27 20:44:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661748736,"note":"Value kept but may cause issues"} 
[2026-07-27 20:44:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:44:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785165067000,"timestamp_ms":1785165067000,"timestamp_seconds":1785165067,"priority":1,"record_length":96,"hex_timestamp":"0000019fa42132f8"} 
[2026-07-27 20:44:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:44:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-27 20:44:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:44:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:44:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:44:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:44:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:44:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143148,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:44:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143148,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:44:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:44:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:44:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:44:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002251776001,"66":12254,"121":206,"28":31744,"24":0,"16":8971761479581696,"45":1830291066661748736},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:44:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:44:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:44:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002251776001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:44:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:44:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:44:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971761479581696,"km_value":8971761479581.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:44:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661748736,"description":"Unknown IO ID 45"} 
[2026-07-27 20:44:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002251776001,"power":12254,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661748736}} 
[2026-07-27 20:44:05] local.INFO: DEBUG: GPS processor result {"connection_id":143148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555341,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:44:05] local.INFO: GPS data processed {"connection_id":143148,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:44:05] local.INFO: Acknowledgment sent {"connection_id":143148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:44:07] local.INFO: TCP Data received {"connection_id":143144,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 20:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143144,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 20:44:07] local.INFO: Processing buffer {"connection_id":143144,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 20:44:07] local.INFO: IMEI packet received {"connection_id":143144,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 20:44:07] local.INFO: IMEI acknowledgment sent {"connection_id":143144,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:44:08] local.INFO: TCP Data received {"connection_id":143147,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa42092d0012daaddc005ff08d0001c001421..."} 
[2026-07-27 20:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa42092d0012daaddc005ff08d0001c001421..."} 
[2026-07-27 20:44:08] local.INFO: Processing buffer {"connection_id":143147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa42092d0012daaddc005ff08d0001c001421..."} 
[2026-07-27 20:44:08] local.INFO: Packet analysis {"connection_id":143147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa420"} 
[2026-07-27 20:44:08] local.INFO: Extracted packet for processing {"connection_id":143147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa420"} 
[2026-07-27 20:44:08] local.INFO: GPS Element Parsed {"raw_longitude":766172608,"raw_latitude":100600016,"longitude_deg":76.6172608,"latitude_deg":10.0600016,"altitude":28,"angle":20,"satellites":33,"speed":3,"hex_longitude":"2daaddc0","hex_latitude":"05ff08d0","is_valid_coordinates":true} 
[2026-07-27 20:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:44:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002243328001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:44:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391576155226112,"note":"Value kept but may cause issues"} 
[2026-07-27 20:44:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6135591516585232384,"note":"Value kept but may cause issues"} 
[2026-07-27 20:44:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:44:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785165026000,"timestamp_ms":1785165026000,"timestamp_seconds":1785165026,"priority":1,"record_length":96,"hex_timestamp":"0000019fa42092d0"} 
[2026-07-27 20:44:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:44:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-27 20:44:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:44:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:44:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:44:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:44:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:44:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:44:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:44:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:44:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 20:44:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 20:44:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002243328001,"66":27919,"118":206,"88":20480,"24":3,"16":359391576155226112,"45":-6135591516585232384},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 20:44:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 20:44:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 20:44:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002243328001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:44:08] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 20:44:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 20:44:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391576155226112,"km_value":359391576155226.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:44:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6135591516585232384,"description":"Unknown IO ID 45"} 
[2026-07-27 20:44:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002243328001,"power":27919,"unknown_118":206,"unknown_88":20480,"ignition":3,"odometer":null,"unknown_45":-6135591516585232384}} 
[2026-07-27 20:44:08] local.INFO: DEBUG: GPS processor result {"connection_id":143147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:44:08] local.INFO: GPS data processed {"connection_id":143147,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:44:08] local.INFO: Acknowledgment sent {"connection_id":143147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:44:31] local.INFO: TCP Data received {"connection_id":143290,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:44:31] local.INFO: Processing buffer {"connection_id":143290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:44:31] local.INFO: IMEI packet received {"connection_id":143290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 20:44:31] local.INFO: IMEI acknowledgment sent {"connection_id":143290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:44:36] local.INFO: TCP Data received {"connection_id":143290,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:44:36] local.INFO: Processing buffer {"connection_id":143290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:44:36] local.INFO: IMEI packet received {"connection_id":143290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 20:44:36] local.INFO: IMEI acknowledgment sent {"connection_id":143290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:44:37] local.INFO: TCP Data received {"connection_id":143290,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa42092d0012daaddc005ff08d0001c001421..."} 
[2026-07-27 20:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143290,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa42092d0012daaddc005ff08d0001c001421..."} 
[2026-07-27 20:44:37] local.INFO: Processing buffer {"connection_id":143290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa42092d0012daaddc005ff08d0001c001421..."} 
[2026-07-27 20:44:37] local.INFO: Packet analysis {"connection_id":143290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa420"} 
[2026-07-27 20:44:37] local.INFO: Extracted packet for processing {"connection_id":143290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa420"} 
[2026-07-27 20:44:37] local.INFO: GPS Element Parsed {"raw_longitude":766172608,"raw_latitude":100600016,"longitude_deg":76.6172608,"latitude_deg":10.0600016,"altitude":28,"angle":20,"satellites":33,"speed":3,"hex_longitude":"2daaddc0","hex_latitude":"05ff08d0","is_valid_coordinates":true} 
[2026-07-27 20:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:44:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002243328001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:44:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391576155226112,"note":"Value kept but may cause issues"} 
[2026-07-27 20:44:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6135591516585232384,"note":"Value kept but may cause issues"} 
[2026-07-27 20:44:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:44:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785165026000,"timestamp_ms":1785165026000,"timestamp_seconds":1785165026,"priority":1,"record_length":96,"hex_timestamp":"0000019fa42092d0"} 
[2026-07-27 20:44:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:44:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-27 20:44:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:44:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:44:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:44:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:44:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:44:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:44:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:44:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:44:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 20:44:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 20:44:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002243328001,"66":27919,"118":206,"88":20480,"24":3,"16":359391576155226112,"45":-6135591516585232384},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 20:44:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 20:44:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 20:44:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002243328001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:44:37] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 20:44:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 20:44:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391576155226112,"km_value":359391576155226.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:44:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6135591516585232384,"description":"Unknown IO ID 45"} 
[2026-07-27 20:44:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002243328001,"power":27919,"unknown_118":206,"unknown_88":20480,"ignition":3,"odometer":null,"unknown_45":-6135591516585232384}} 
[2026-07-27 20:44:37] local.INFO: DEBUG: GPS processor result {"connection_id":143290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:44:37] local.INFO: GPS data processed {"connection_id":143290,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:44:37] local.INFO: Acknowledgment sent {"connection_id":143290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:44:40] local.INFO: TCP Data received {"connection_id":143148,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4218500012d196680071ff1c00036016625..."} 
[2026-07-27 20:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143148,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4218500012d196680071ff1c00036016625..."} 
[2026-07-27 20:44:40] local.INFO: Processing buffer {"connection_id":143148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4218500012d196680071ff1c00036016625..."} 
[2026-07-27 20:44:40] local.INFO: Packet analysis {"connection_id":143148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa421"} 
[2026-07-27 20:44:40] local.INFO: Extracted packet for processing {"connection_id":143148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa421"} 
[2026-07-27 20:44:40] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119534016,"longitude_deg":75.663936,"latitude_deg":11.9534016,"altitude":54,"angle":358,"satellites":37,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-07-27 20: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-07-27 20:44:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002257152001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:44:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971761479581696,"note":"Value kept but may cause issues"} 
[2026-07-27 20:44:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661748736,"note":"Value kept but may cause issues"} 
[2026-07-27 20:44:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:44:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785165088000,"timestamp_ms":1785165088000,"timestamp_seconds":1785165088,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4218500"} 
[2026-07-27 20:44:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:44:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-27 20:44:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20: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-07-27 20:44:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:44:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:44:40] local.INFO: Teltonika packet parsed successfully {"connection_id":143148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:44:40] local.INFO: Passing IMEI to GPS processor {"connection_id":143148,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:44:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":143148,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:44:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:44:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:44:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:44:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002257152001,"66":12232,"121":206,"28":31744,"24":0,"16":8971761479581696,"45":1830291066661748736},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:44:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:44:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:44:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002257152001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:44:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:44:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:44:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971761479581696,"km_value":8971761479581.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:44:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661748736,"description":"Unknown IO ID 45"} 
[2026-07-27 20:44:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002257152001,"power":12232,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661748736}} 
[2026-07-27 20:44:40] local.INFO: DEBUG: GPS processor result {"connection_id":143148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555344,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:44:40] local.INFO: GPS data processed {"connection_id":143148,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:44:40] local.INFO: Acknowledgment sent {"connection_id":143148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:44:59] local.INFO: TCP Data received {"connection_id":143291,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143291,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:44:59] local.INFO: Processing buffer {"connection_id":143291,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:44:59] local.INFO: IMEI packet received {"connection_id":143291,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 20:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":143291,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:45:00] local.INFO: TCP Data received {"connection_id":143291,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143291,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:45:00] local.INFO: Processing buffer {"connection_id":143291,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:45:00] local.INFO: IMEI packet received {"connection_id":143291,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 20:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":143291,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:45:04] local.INFO: TCP Data received {"connection_id":143291,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143291,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:45:04] local.INFO: Processing buffer {"connection_id":143291,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:45:04] local.INFO: IMEI packet received {"connection_id":143291,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 20:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":143291,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:45:06] local.INFO: TCP Data received {"connection_id":143291,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4219c70012d196740071fee580045013126..."} 
[2026-07-27 20:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4219c70012d196740071fee580045013126..."} 
[2026-07-27 20:45:06] local.INFO: Processing buffer {"connection_id":143291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4219c70012d196740071fee580045013126..."} 
[2026-07-27 20:45:06] local.INFO: Packet analysis {"connection_id":143291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa421"} 
[2026-07-27 20:45:06] local.INFO: Extracted packet for processing {"connection_id":143291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa421"} 
[2026-07-27 20:45:06] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533144,"longitude_deg":75.6639552,"latitude_deg":11.9533144,"altitude":69,"angle":305,"satellites":38,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee58","is_valid_coordinates":true} 
[2026-07-27 20:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:45:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002262528001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:45:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971804429254656,"note":"Value kept but may cause issues"} 
[2026-07-27 20:45:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661748736,"note":"Value kept but may cause issues"} 
[2026-07-27 20:45:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:45:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785165094000,"timestamp_ms":1785165094000,"timestamp_seconds":1785165094,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4219c70"} 
[2026-07-27 20:45:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:45:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-27 20:45:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:45:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:45:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:45:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:45:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:45:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:45:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:45:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:45:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:45:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:45:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002262528001,"66":12156,"121":206,"28":31744,"24":0,"16":8971804429254656,"45":1830291066661748736},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:45:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:45:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:45:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002262528001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:45:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:45:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:45:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971804429254656,"km_value":8971804429254.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:45:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661748736,"description":"Unknown IO ID 45"} 
[2026-07-27 20:45:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002262528001,"power":12156,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661748736}} 
[2026-07-27 20:45:06] local.INFO: DEBUG: GPS processor result {"connection_id":143291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555345,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:45:06] local.INFO: GPS data processed {"connection_id":143291,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:45:06] local.INFO: Acknowledgment sent {"connection_id":143291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:45:09] local.INFO: TCP Data received {"connection_id":143290,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa42092d0012daaddc005ff08d0001c001421..."} 
[2026-07-27 20:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143290,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa42092d0012daaddc005ff08d0001c001421..."} 
[2026-07-27 20:45:09] local.INFO: Processing buffer {"connection_id":143290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa42092d0012daaddc005ff08d0001c001421..."} 
[2026-07-27 20:45:09] local.INFO: Packet analysis {"connection_id":143290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa420"} 
[2026-07-27 20:45:09] local.INFO: Extracted packet for processing {"connection_id":143290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa420"} 
[2026-07-27 20:45:09] local.INFO: GPS Element Parsed {"raw_longitude":766172608,"raw_latitude":100600016,"longitude_deg":76.6172608,"latitude_deg":10.0600016,"altitude":28,"angle":20,"satellites":33,"speed":3,"hex_longitude":"2daaddc0","hex_latitude":"05ff08d0","is_valid_coordinates":true} 
[2026-07-27 20:45:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:45:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002243328001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:45:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391576155226112,"note":"Value kept but may cause issues"} 
[2026-07-27 20:45:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6135591516585232384,"note":"Value kept but may cause issues"} 
[2026-07-27 20:45:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:45:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785165026000,"timestamp_ms":1785165026000,"timestamp_seconds":1785165026,"priority":1,"record_length":96,"hex_timestamp":"0000019fa42092d0"} 
[2026-07-27 20:45:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:45:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20:45:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-27 20:45:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:45:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:45:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:45:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:45:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:45:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:45:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:45:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:45:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 20:45:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 20:45:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002243328001,"66":27919,"118":206,"88":20480,"24":3,"16":359391576155226112,"45":-6135591516585232384},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 20:45:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 20:45:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 20:45:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002243328001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:45:09] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 20:45:09] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 20:45:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391576155226112,"km_value":359391576155226.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:45:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6135591516585232384,"description":"Unknown IO ID 45"} 
[2026-07-27 20:45:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002243328001,"power":27919,"unknown_118":206,"unknown_88":20480,"ignition":3,"odometer":null,"unknown_45":-6135591516585232384}} 
[2026-07-27 20:45:09] local.INFO: DEBUG: GPS processor result {"connection_id":143290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:45:09] local.INFO: GPS data processed {"connection_id":143290,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:45:09] local.INFO: Acknowledgment sent {"connection_id":143290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:45:31] local.INFO: TCP Data received {"connection_id":145565,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:45:31] local.INFO: Processing buffer {"connection_id":145565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:45:31] local.INFO: IMEI packet received {"connection_id":145565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 20:45:31] local.INFO: IMEI acknowledgment sent {"connection_id":145565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:45:36] local.INFO: TCP Data received {"connection_id":145565,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:45:36] local.INFO: Processing buffer {"connection_id":145565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:45:36] local.INFO: IMEI packet received {"connection_id":145565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 20:45:36] local.INFO: IMEI acknowledgment sent {"connection_id":145565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:45:37] local.INFO: TCP Data received {"connection_id":145565,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa42092d0012daaddc005ff08d0001c001421..."} 
[2026-07-27 20:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145565,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa42092d0012daaddc005ff08d0001c001421..."} 
[2026-07-27 20:45:37] local.INFO: Processing buffer {"connection_id":145565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa42092d0012daaddc005ff08d0001c001421..."} 
[2026-07-27 20:45:37] local.INFO: Packet analysis {"connection_id":145565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa420"} 
[2026-07-27 20:45:37] local.INFO: Extracted packet for processing {"connection_id":145565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa420"} 
[2026-07-27 20:45:37] local.INFO: GPS Element Parsed {"raw_longitude":766172608,"raw_latitude":100600016,"longitude_deg":76.6172608,"latitude_deg":10.0600016,"altitude":28,"angle":20,"satellites":33,"speed":3,"hex_longitude":"2daaddc0","hex_latitude":"05ff08d0","is_valid_coordinates":true} 
[2026-07-27 20:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002243328001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391576155226112,"note":"Value kept but may cause issues"} 
[2026-07-27 20:45:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6135591516585232384,"note":"Value kept but may cause issues"} 
[2026-07-27 20:45:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785165026000,"timestamp_ms":1785165026000,"timestamp_seconds":1785165026,"priority":1,"record_length":96,"hex_timestamp":"0000019fa42092d0"} 
[2026-07-27 20:45:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:45:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-27 20:45:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:45:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:45:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:45:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 20:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 20:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002243328001,"66":27919,"118":206,"88":20480,"24":3,"16":359391576155226112,"45":-6135591516585232384},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 20:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 20:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 20:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002243328001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:45:37] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 20:45:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 20:45:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391576155226112,"km_value":359391576155226.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:45:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6135591516585232384,"description":"Unknown IO ID 45"} 
[2026-07-27 20:45:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002243328001,"power":27919,"unknown_118":206,"unknown_88":20480,"ignition":3,"odometer":null,"unknown_45":-6135591516585232384}} 
[2026-07-27 20:45:37] local.INFO: DEBUG: GPS processor result {"connection_id":145565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:45:37] local.INFO: GPS data processed {"connection_id":145565,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:45:37] local.INFO: Acknowledgment sent {"connection_id":145565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:45:42] local.INFO: TCP Data received {"connection_id":143291,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa421ee78012d196780071fee480045013125..."} 
[2026-07-27 20:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa421ee78012d196780071fee480045013125..."} 
[2026-07-27 20:45:42] local.INFO: Processing buffer {"connection_id":143291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa421ee78012d196780071fee480045013125..."} 
[2026-07-27 20:45:42] local.INFO: Packet analysis {"connection_id":143291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa421"} 
[2026-07-27 20:45:42] local.INFO: Extracted packet for processing {"connection_id":143291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa421"} 
[2026-07-27 20:45:42] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533128,"longitude_deg":75.6639616,"latitude_deg":11.9533128,"altitude":69,"angle":305,"satellites":37,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-07-27 20:45:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:45:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002264064001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:45:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 20:45:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894058496,"note":"Value kept but may cause issues"} 
[2026-07-27 20:45:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:45:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785165115000,"timestamp_ms":1785165115000,"timestamp_seconds":1785165115,"priority":1,"record_length":96,"hex_timestamp":"0000019fa421ee78"} 
[2026-07-27 20:45:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:45:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20: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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-27 20:45:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:45:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:45:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:45:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:45:42] local.INFO: Teltonika packet parsed successfully {"connection_id":143291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:45:42] local.INFO: Passing IMEI to GPS processor {"connection_id":143291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:45:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":143291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:45:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:45:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:45:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:45:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002264064001,"66":12254,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1830502172894058496},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:45:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:45:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:45:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002264064001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:45:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:45:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:45:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:45:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894058496,"description":"Unknown IO ID 45"} 
[2026-07-27 20:45:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002264064001,"power":12254,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830502172894058496}} 
[2026-07-27 20:45:42] local.INFO: DEBUG: GPS processor result {"connection_id":143291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555348,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:45:42] local.INFO: GPS data processed {"connection_id":143291,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:45:42] local.INFO: Acknowledgment sent {"connection_id":143291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:45:59] local.INFO: TCP Data received {"connection_id":145566,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145566,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:45:59] local.INFO: Processing buffer {"connection_id":145566,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:45:59] local.INFO: IMEI packet received {"connection_id":145566,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 20:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":145566,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:46:03] local.INFO: TCP Data received {"connection_id":145566,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145566,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:46:03] local.INFO: Processing buffer {"connection_id":145566,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:46:03] local.INFO: IMEI packet received {"connection_id":145566,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 20:46:03] local.INFO: IMEI acknowledgment sent {"connection_id":145566,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:46:04] local.INFO: TCP Data received {"connection_id":145566,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145566,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:46:04] local.INFO: Processing buffer {"connection_id":145566,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:46:04] local.INFO: IMEI packet received {"connection_id":145566,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 20:46:04] local.INFO: IMEI acknowledgment sent {"connection_id":145566,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:46:05] local.INFO: TCP Data received {"connection_id":145566,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4224080012d196780071fee480045013124..."} 
[2026-07-27 20:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4224080012d196780071fee480045013124..."} 
[2026-07-27 20:46:05] local.INFO: Processing buffer {"connection_id":145566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4224080012d196780071fee480045013124..."} 
[2026-07-27 20:46:05] local.INFO: Packet analysis {"connection_id":145566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa422"} 
[2026-07-27 20:46:05] local.INFO: Extracted packet for processing {"connection_id":145566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa422"} 
[2026-07-27 20:46:05] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533128,"longitude_deg":75.6639616,"latitude_deg":11.9533128,"altitude":69,"angle":305,"satellites":36,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-07-27 20:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:46:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002269440001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:46:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 20:46:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638232064,"note":"Value kept but may cause issues"} 
[2026-07-27 20:46:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:46:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785165136000,"timestamp_ms":1785165136000,"timestamp_seconds":1785165136,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4224080"} 
[2026-07-27 20:46:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:46:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-27 20:46:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:46:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:46:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:46:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:46:05] local.INFO: Teltonika packet parsed successfully {"connection_id":145566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:46:05] local.INFO: Passing IMEI to GPS processor {"connection_id":145566,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:46:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":145566,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:46:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:46:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:46:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:46:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002269440001,"66":12178,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1830572541638232064},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:46:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:46:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:46:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002269440001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:46:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:46:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:46:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:46:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638232064,"description":"Unknown IO ID 45"} 
[2026-07-27 20:46:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002269440001,"power":12178,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638232064}} 
[2026-07-27 20:46:05] local.INFO: DEBUG: GPS processor result {"connection_id":145566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555349,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:46:05] local.INFO: GPS data processed {"connection_id":145566,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:46:05] local.INFO: Acknowledgment sent {"connection_id":145566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:46:08] local.INFO: TCP Data received {"connection_id":145565,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4253268012daae14005ff08a80021001422..."} 
[2026-07-27 20:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145565,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4253268012daae14005ff08a80021001422..."} 
[2026-07-27 20:46:08] local.INFO: Processing buffer {"connection_id":145565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4253268012daae14005ff08a80021001422..."} 
[2026-07-27 20:46:08] local.INFO: Packet analysis {"connection_id":145565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa425"} 
[2026-07-27 20:46:08] local.INFO: Extracted packet for processing {"connection_id":145565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa425"} 
[2026-07-27 20:46:08] local.INFO: GPS Element Parsed {"raw_longitude":766173504,"raw_latitude":100599976,"longitude_deg":76.6173504,"latitude_deg":10.0599976,"altitude":33,"angle":20,"satellites":34,"speed":0,"hex_longitude":"2daae140","hex_latitude":"05ff08a8","is_valid_coordinates":true} 
[2026-07-27 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-07-27 20:46:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002246656001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:46:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391576155226112,"note":"Value kept but may cause issues"} 
[2026-07-27 20:46:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6134535985422610432,"note":"Value kept but may cause issues"} 
[2026-07-27 20:46:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:46:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785165329000,"timestamp_ms":1785165329000,"timestamp_seconds":1785165329,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4253268"} 
[2026-07-27 20:46:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:46:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-27 20:46:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:46:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:46:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:46:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:46:08] local.INFO: Teltonika packet parsed successfully {"connection_id":145565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:46:08] local.INFO: Passing IMEI to GPS processor {"connection_id":145565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:46:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":145565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:46:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:46:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 20:46:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 20:46:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002246656001,"66":26267,"118":206,"88":20480,"24":0,"16":359391576155226112,"45":-6134535985422610432},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 20:46:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 20:46:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 20:46:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002246656001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:46:08] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 20:46:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 20:46:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391576155226112,"km_value":359391576155226.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:46:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6134535985422610432,"description":"Unknown IO ID 45"} 
[2026-07-27 20:46:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002246656001,"power":26267,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6134535985422610432}} 
[2026-07-27 20:46:08] local.INFO: DEBUG: GPS processor result {"connection_id":145565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:46:08] local.INFO: GPS data processed {"connection_id":145565,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:46:08] local.INFO: Acknowledgment sent {"connection_id":145565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:46:10] local.INFO: TCP Data received {"connection_id":145566,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4229288012d196780071fee480045013125..."} 
[2026-07-27 20:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4229288012d196780071fee480045013125..."} 
[2026-07-27 20:46:10] local.INFO: Processing buffer {"connection_id":145566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4229288012d196780071fee480045013125..."} 
[2026-07-27 20:46:10] local.INFO: Packet analysis {"connection_id":145566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa422"} 
[2026-07-27 20:46:10] local.INFO: Extracted packet for processing {"connection_id":145566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa422"} 
[2026-07-27 20:46:10] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533128,"longitude_deg":75.6639616,"latitude_deg":11.9533128,"altitude":69,"angle":305,"satellites":37,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-07-27 20:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:46:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002274816001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:46:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 20:46:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638232064,"note":"Value kept but may cause issues"} 
[2026-07-27 20:46:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:46:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785165157000,"timestamp_ms":1785165157000,"timestamp_seconds":1785165157,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4229288"} 
[2026-07-27 20:46:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:46:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20: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":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-27 20:46:10] 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-07-27 20:46:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:46:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:46:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:46:10] local.INFO: Teltonika packet parsed successfully {"connection_id":145566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:46:10] local.INFO: Passing IMEI to GPS processor {"connection_id":145566,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:46:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":145566,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:46:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:46:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:46:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:46:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002274816001,"66":12254,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1830572541638232064},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:46:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:46:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:46:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002274816001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:46:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:46:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:46:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:46:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638232064,"description":"Unknown IO ID 45"} 
[2026-07-27 20:46:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002274816001,"power":12254,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638232064}} 
[2026-07-27 20:46:10] local.INFO: DEBUG: GPS processor result {"connection_id":145566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555351,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:46:10] local.INFO: GPS data processed {"connection_id":145566,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:46:10] local.INFO: Acknowledgment sent {"connection_id":145566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:46:31] local.INFO: TCP Data received {"connection_id":144279,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:46:31] local.INFO: Processing buffer {"connection_id":144279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:46:31] local.INFO: IMEI packet received {"connection_id":144279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 20:46:31] local.INFO: IMEI acknowledgment sent {"connection_id":144279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:46:36] local.INFO: TCP Data received {"connection_id":144279,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:46:36] local.INFO: Processing buffer {"connection_id":144279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:46:36] local.INFO: IMEI packet received {"connection_id":144279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 20:46:36] local.INFO: IMEI acknowledgment sent {"connection_id":144279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:46:37] local.INFO: TCP Data received {"connection_id":144279,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4253268012daae14005ff08a80021001422..."} 
[2026-07-27 20:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4253268012daae14005ff08a80021001422..."} 
[2026-07-27 20:46:37] local.INFO: Processing buffer {"connection_id":144279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4253268012daae14005ff08a80021001422..."} 
[2026-07-27 20:46:37] local.INFO: Packet analysis {"connection_id":144279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa425"} 
[2026-07-27 20:46:37] local.INFO: Extracted packet for processing {"connection_id":144279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa425"} 
[2026-07-27 20:46:37] local.INFO: GPS Element Parsed {"raw_longitude":766173504,"raw_latitude":100599976,"longitude_deg":76.6173504,"latitude_deg":10.0599976,"altitude":33,"angle":20,"satellites":34,"speed":0,"hex_longitude":"2daae140","hex_latitude":"05ff08a8","is_valid_coordinates":true} 
[2026-07-27 20:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:46:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002246656001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:46:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391576155226112,"note":"Value kept but may cause issues"} 
[2026-07-27 20:46:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6134535985422610432,"note":"Value kept but may cause issues"} 
[2026-07-27 20:46:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:46:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785165329000,"timestamp_ms":1785165329000,"timestamp_seconds":1785165329,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4253268"} 
[2026-07-27 20:46:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:46:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 20:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-27 20:46:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:46:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:46:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:46:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:46:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:46:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:46:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:46:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:46:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 20:46:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 20:46:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002246656001,"66":26267,"118":206,"88":20480,"24":0,"16":359391576155226112,"45":-6134535985422610432},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 20:46:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 20:46:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 20:46:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002246656001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:46:37] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 20:46:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 20:46:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391576155226112,"km_value":359391576155226.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:46:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6134535985422610432,"description":"Unknown IO ID 45"} 
[2026-07-27 20:46:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002246656001,"power":26267,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6134535985422610432}} 
[2026-07-27 20:46:37] local.INFO: DEBUG: GPS processor result {"connection_id":144279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:46:37] local.INFO: GPS data processed {"connection_id":144279,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:46:37] local.INFO: Acknowledgment sent {"connection_id":144279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:46:45] local.INFO: TCP Data received {"connection_id":145566,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa422e490012d196780071fee480045013123..."} 
[2026-07-27 20:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa422e490012d196780071fee480045013123..."} 
[2026-07-27 20:46:45] local.INFO: Processing buffer {"connection_id":145566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa422e490012d196780071fee480045013123..."} 
[2026-07-27 20:46:45] local.INFO: Packet analysis {"connection_id":145566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa422"} 
[2026-07-27 20:46:45] local.INFO: Extracted packet for processing {"connection_id":145566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa422"} 
[2026-07-27 20:46:45] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533128,"longitude_deg":75.6639616,"latitude_deg":11.9533128,"altitude":69,"angle":305,"satellites":35,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-07-27 20:46:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:46:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002280192001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:46:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 20:46:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638232064,"note":"Value kept but may cause issues"} 
[2026-07-27 20:46:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:46:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785165178000,"timestamp_ms":1785165178000,"timestamp_seconds":1785165178,"priority":1,"record_length":96,"hex_timestamp":"0000019fa422e490"} 
[2026-07-27 20:46:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:46:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20:46:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-27 20:46:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:46:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:46:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:46:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:46:45] local.INFO: Teltonika packet parsed successfully {"connection_id":145566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:46:45] local.INFO: Passing IMEI to GPS processor {"connection_id":145566,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:46:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":145566,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:46:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:46:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:46:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:46:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002280192001,"66":12211,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1830572541638232064},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:46:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:46:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:46:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002280192001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:46:45] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:46:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:46:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:46:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638232064,"description":"Unknown IO ID 45"} 
[2026-07-27 20:46:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002280192001,"power":12211,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638232064}} 
[2026-07-27 20:46:45] local.INFO: DEBUG: GPS processor result {"connection_id":145566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555353,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:46:45] local.INFO: GPS data processed {"connection_id":145566,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:46:45] local.INFO: Acknowledgment sent {"connection_id":145566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:47:04] local.INFO: TCP Data received {"connection_id":143292,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143292,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:47:04] local.INFO: Processing buffer {"connection_id":143292,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:47:04] local.INFO: IMEI packet received {"connection_id":143292,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 20:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":143292,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:47:06] local.INFO: TCP Data received {"connection_id":143292,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143292,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:47:06] local.INFO: Processing buffer {"connection_id":143292,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:47:06] local.INFO: IMEI packet received {"connection_id":143292,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 20:47:06] local.INFO: IMEI acknowledgment sent {"connection_id":143292,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:47:07] local.INFO: TCP Data received {"connection_id":143292,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4233698012d196780071fee480045013125..."} 
[2026-07-27 20:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4233698012d196780071fee480045013125..."} 
[2026-07-27 20:47:07] local.INFO: Processing buffer {"connection_id":143292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4233698012d196780071fee480045013125..."} 
[2026-07-27 20:47:07] local.INFO: Packet analysis {"connection_id":143292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa423"} 
[2026-07-27 20:47:07] local.INFO: Extracted packet for processing {"connection_id":143292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa423"} 
[2026-07-27 20:47:07] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533128,"longitude_deg":75.6639616,"latitude_deg":11.9533128,"altitude":69,"angle":305,"satellites":37,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-07-27 20:47:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:47:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002285568001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:47:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 20:47:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638232064,"note":"Value kept but may cause issues"} 
[2026-07-27 20:47:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:47:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785165199000,"timestamp_ms":1785165199000,"timestamp_seconds":1785165199,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4233698"} 
[2026-07-27 20:47:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:47:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20:47:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-27 20:47:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:47:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:47:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:47:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:47:07] local.INFO: Teltonika packet parsed successfully {"connection_id":143292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:47:07] local.INFO: Passing IMEI to GPS processor {"connection_id":143292,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:47:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":143292,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:47:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:47:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:47:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:47:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002285568001,"66":12211,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1830572541638232064},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:47:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:47:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:47:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002285568001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:47:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:47:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:47:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:47:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638232064,"description":"Unknown IO ID 45"} 
[2026-07-27 20:47:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002285568001,"power":12211,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638232064}} 
[2026-07-27 20:47:07] local.INFO: DEBUG: GPS processor result {"connection_id":143292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555354,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:47:07] local.INFO: GPS data processed {"connection_id":143292,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:47:07] local.INFO: Acknowledgment sent {"connection_id":143292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:47:09] local.INFO: TCP Data received {"connection_id":144279,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4253268012daae14005ff08a80021001422..."} 
[2026-07-27 20:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4253268012daae14005ff08a80021001422..."} 
[2026-07-27 20:47:09] local.INFO: Processing buffer {"connection_id":144279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4253268012daae14005ff08a80021001422..."} 
[2026-07-27 20:47:09] local.INFO: Packet analysis {"connection_id":144279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa425"} 
[2026-07-27 20:47:09] local.INFO: Extracted packet for processing {"connection_id":144279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa425"} 
[2026-07-27 20:47:09] local.INFO: GPS Element Parsed {"raw_longitude":766173504,"raw_latitude":100599976,"longitude_deg":76.6173504,"latitude_deg":10.0599976,"altitude":33,"angle":20,"satellites":34,"speed":0,"hex_longitude":"2daae140","hex_latitude":"05ff08a8","is_valid_coordinates":true} 
[2026-07-27 20:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:47:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002246656001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:47:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391576155226112,"note":"Value kept but may cause issues"} 
[2026-07-27 20:47:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6134535985422610432,"note":"Value kept but may cause issues"} 
[2026-07-27 20:47:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:47:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785165329000,"timestamp_ms":1785165329000,"timestamp_seconds":1785165329,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4253268"} 
[2026-07-27 20:47:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:47:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 20: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-27 20:47:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:47:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:47:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:47:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:47:09] local.INFO: Teltonika packet parsed successfully {"connection_id":144279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:47:09] local.INFO: Passing IMEI to GPS processor {"connection_id":144279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:47:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":144279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:47:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:47:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 20:47:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 20:47:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002246656001,"66":26267,"118":206,"88":20480,"24":0,"16":359391576155226112,"45":-6134535985422610432},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 20:47:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 20:47:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 20:47:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002246656001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:47:09] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 20:47:09] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 20:47:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391576155226112,"km_value":359391576155226.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:47:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6134535985422610432,"description":"Unknown IO ID 45"} 
[2026-07-27 20:47:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002246656001,"power":26267,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6134535985422610432}} 
[2026-07-27 20:47:09] local.INFO: DEBUG: GPS processor result {"connection_id":144279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:47:09] local.INFO: GPS data processed {"connection_id":144279,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:47:09] local.INFO: Acknowledgment sent {"connection_id":144279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:47:09] local.INFO: TCP Data received {"connection_id":143292,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa42388a0012d196780071fee480045013123..."} 
[2026-07-27 20:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa42388a0012d196780071fee480045013123..."} 
[2026-07-27 20:47:09] local.INFO: Processing buffer {"connection_id":143292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa42388a0012d196780071fee480045013123..."} 
[2026-07-27 20:47:09] local.INFO: Packet analysis {"connection_id":143292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa423"} 
[2026-07-27 20:47:09] local.INFO: Extracted packet for processing {"connection_id":143292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa423"} 
[2026-07-27 20:47:09] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533128,"longitude_deg":75.6639616,"latitude_deg":11.9533128,"altitude":69,"angle":305,"satellites":35,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-07-27 20:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:47:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002290944001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:47:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 20:47:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638232064,"note":"Value kept but may cause issues"} 
[2026-07-27 20:47:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:47:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785165220000,"timestamp_ms":1785165220000,"timestamp_seconds":1785165220,"priority":1,"record_length":96,"hex_timestamp":"0000019fa42388a0"} 
[2026-07-27 20:47:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:47:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20: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":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-27 20:47:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:47:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:47:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:47:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:47:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:47:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143292,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:47:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143292,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:47:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:47:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:47:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:47:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002290944001,"66":12254,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1830572541638232064},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:47:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:47:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:47:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002290944001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:47:09] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:47:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:47:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:47:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638232064,"description":"Unknown IO ID 45"} 
[2026-07-27 20:47:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002290944001,"power":12254,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638232064}} 
[2026-07-27 20:47:09] local.INFO: DEBUG: GPS processor result {"connection_id":143292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555356,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:47:09] local.INFO: GPS data processed {"connection_id":143292,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:47:09] local.INFO: Acknowledgment sent {"connection_id":143292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:47:31] local.INFO: TCP Data received {"connection_id":144280,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:47:31] local.INFO: Processing buffer {"connection_id":144280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:47:31] local.INFO: IMEI packet received {"connection_id":144280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 20:47:31] local.INFO: IMEI acknowledgment sent {"connection_id":144280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:47:36] local.INFO: TCP Data received {"connection_id":144280,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:47:36] local.INFO: Processing buffer {"connection_id":144280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:47:36] local.INFO: IMEI packet received {"connection_id":144280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 20:47:36] local.INFO: IMEI acknowledgment sent {"connection_id":144280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:47:37] local.INFO: TCP Data received {"connection_id":144280,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4253268012daae14005ff08a80021001422..."} 
[2026-07-27 20:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4253268012daae14005ff08a80021001422..."} 
[2026-07-27 20:47:37] local.INFO: Processing buffer {"connection_id":144280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4253268012daae14005ff08a80021001422..."} 
[2026-07-27 20:47:37] local.INFO: Packet analysis {"connection_id":144280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa425"} 
[2026-07-27 20:47:37] local.INFO: Extracted packet for processing {"connection_id":144280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa425"} 
[2026-07-27 20:47:37] local.INFO: GPS Element Parsed {"raw_longitude":766173504,"raw_latitude":100599976,"longitude_deg":76.6173504,"latitude_deg":10.0599976,"altitude":33,"angle":20,"satellites":34,"speed":0,"hex_longitude":"2daae140","hex_latitude":"05ff08a8","is_valid_coordinates":true} 
[2026-07-27 20:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:47:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002246656001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:47:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391576155226112,"note":"Value kept but may cause issues"} 
[2026-07-27 20:47:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6134535985422610432,"note":"Value kept but may cause issues"} 
[2026-07-27 20:47:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:47:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785165329000,"timestamp_ms":1785165329000,"timestamp_seconds":1785165329,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4253268"} 
[2026-07-27 20:47:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:47:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 20:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-27 20:47:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:47:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:47:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:47:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:47:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:47:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:47:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:47:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:47:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 20:47:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 20:47:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002246656001,"66":26267,"118":206,"88":20480,"24":0,"16":359391576155226112,"45":-6134535985422610432},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 20:47:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 20:47:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 20:47:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002246656001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:47:37] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 20:47:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 20:47:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391576155226112,"km_value":359391576155226.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:47:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6134535985422610432,"description":"Unknown IO ID 45"} 
[2026-07-27 20:47:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002246656001,"power":26267,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6134535985422610432}} 
[2026-07-27 20:47:37] local.INFO: DEBUG: GPS processor result {"connection_id":144280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:47:37] local.INFO: GPS data processed {"connection_id":144280,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:47:37] local.INFO: Acknowledgment sent {"connection_id":144280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:47:42] local.INFO: TCP Data received {"connection_id":143292,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa423daa8012d196780071fee480045013126..."} 
[2026-07-27 20:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa423daa8012d196780071fee480045013126..."} 
[2026-07-27 20:47:42] local.INFO: Processing buffer {"connection_id":143292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa423daa8012d196780071fee480045013126..."} 
[2026-07-27 20:47:42] local.INFO: Packet analysis {"connection_id":143292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa423"} 
[2026-07-27 20:47:42] local.INFO: Extracted packet for processing {"connection_id":143292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa423"} 
[2026-07-27 20:47:42] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533128,"longitude_deg":75.6639616,"latitude_deg":11.9533128,"altitude":69,"angle":305,"satellites":38,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-07-27 20:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:47:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002296320001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:47:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 20:47:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638232064,"note":"Value kept but may cause issues"} 
[2026-07-27 20:47:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:47:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785165241000,"timestamp_ms":1785165241000,"timestamp_seconds":1785165241,"priority":1,"record_length":96,"hex_timestamp":"0000019fa423daa8"} 
[2026-07-27 20:47:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:47:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-27 20:47:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:47:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:47:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:47:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:47:42] local.INFO: Teltonika packet parsed successfully {"connection_id":143292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:47:42] local.INFO: Passing IMEI to GPS processor {"connection_id":143292,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:47:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":143292,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:47:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:47:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:47:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:47:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002296320001,"66":12145,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1830572541638232064},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:47:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:47:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:47:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002296320001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:47:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:47:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:47:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:47:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638232064,"description":"Unknown IO ID 45"} 
[2026-07-27 20:47:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002296320001,"power":12145,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638232064}} 
[2026-07-27 20:47:42] local.INFO: DEBUG: GPS processor result {"connection_id":143292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555358,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:47:42] local.INFO: GPS data processed {"connection_id":143292,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:47:42] local.INFO: Acknowledgment sent {"connection_id":143292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:47:59] local.INFO: TCP Data received {"connection_id":144281,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144281,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:47:59] local.INFO: Processing buffer {"connection_id":144281,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:47:59] local.INFO: IMEI packet received {"connection_id":144281,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 20:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":144281,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:48:04] local.INFO: TCP Data received {"connection_id":144281,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144281,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:48:04] local.INFO: Processing buffer {"connection_id":144281,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:48:04] local.INFO: IMEI packet received {"connection_id":144281,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 20:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":144281,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:48:05] local.INFO: TCP Data received {"connection_id":144281,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4242cb0012d196780071fee480045013126..."} 
[2026-07-27 20:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4242cb0012d196780071fee480045013126..."} 
[2026-07-27 20:48:05] local.INFO: Processing buffer {"connection_id":144281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4242cb0012d196780071fee480045013126..."} 
[2026-07-27 20:48:05] local.INFO: Packet analysis {"connection_id":144281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa424"} 
[2026-07-27 20:48:05] local.INFO: Extracted packet for processing {"connection_id":144281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa424"} 
[2026-07-27 20:48:05] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533128,"longitude_deg":75.6639616,"latitude_deg":11.9533128,"altitude":69,"angle":305,"satellites":38,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-07-27 20:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:48:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002301696001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:48:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 20:48:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638232064,"note":"Value kept but may cause issues"} 
[2026-07-27 20:48:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:48:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785165262000,"timestamp_ms":1785165262000,"timestamp_seconds":1785165262,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4242cb0"} 
[2026-07-27 20:48:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:48:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-27 20:48:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1450,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:48:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:48:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:48:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:48:05] local.INFO: Teltonika packet parsed successfully {"connection_id":144281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:48:05] local.INFO: Passing IMEI to GPS processor {"connection_id":144281,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:48:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":144281,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:48:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:48:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:48:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:48:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002301696001,"66":12113,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1830572541638232064},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:48:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:48:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:48:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002301696001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:48:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:48:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:48:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:48:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638232064,"description":"Unknown IO ID 45"} 
[2026-07-27 20:48:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002301696001,"power":12113,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638232064}} 
[2026-07-27 20:48:05] local.INFO: DEBUG: GPS processor result {"connection_id":144281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555359,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:48:05] local.INFO: GPS data processed {"connection_id":144281,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:48:05] local.INFO: Acknowledgment sent {"connection_id":144281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:48:08] local.INFO: TCP Data received {"connection_id":144280,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4253268012daae14005ff08a80021001422..."} 
[2026-07-27 20:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4253268012daae14005ff08a80021001422..."} 
[2026-07-27 20:48:08] local.INFO: Processing buffer {"connection_id":144280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4253268012daae14005ff08a80021001422..."} 
[2026-07-27 20:48:08] local.INFO: Packet analysis {"connection_id":144280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa425"} 
[2026-07-27 20:48:08] local.INFO: Extracted packet for processing {"connection_id":144280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa425"} 
[2026-07-27 20:48:08] local.INFO: GPS Element Parsed {"raw_longitude":766173504,"raw_latitude":100599976,"longitude_deg":76.6173504,"latitude_deg":10.0599976,"altitude":33,"angle":20,"satellites":34,"speed":0,"hex_longitude":"2daae140","hex_latitude":"05ff08a8","is_valid_coordinates":true} 
[2026-07-27 20:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:48:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002246656001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:48:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391576155226112,"note":"Value kept but may cause issues"} 
[2026-07-27 20:48:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6134535985422610432,"note":"Value kept but may cause issues"} 
[2026-07-27 20:48:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:48:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785165329000,"timestamp_ms":1785165329000,"timestamp_seconds":1785165329,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4253268"} 
[2026-07-27 20:48:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:48:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-27 20:48:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:48:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:48:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:48:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:48:08] local.INFO: Teltonika packet parsed successfully {"connection_id":144280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:48:08] local.INFO: Passing IMEI to GPS processor {"connection_id":144280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:48:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":144280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:48:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:48:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 20:48:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 20:48:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002246656001,"66":26267,"118":206,"88":20480,"24":0,"16":359391576155226112,"45":-6134535985422610432},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 20:48:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 20:48:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 20:48:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002246656001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:48:08] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 20:48:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 20:48:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391576155226112,"km_value":359391576155226.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:48:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6134535985422610432,"description":"Unknown IO ID 45"} 
[2026-07-27 20:48:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002246656001,"power":26267,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6134535985422610432}} 
[2026-07-27 20:48:08] local.INFO: DEBUG: GPS processor result {"connection_id":144280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:48:08] local.INFO: GPS data processed {"connection_id":144280,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:48:08] local.INFO: Acknowledgment sent {"connection_id":144280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:48:10] local.INFO: TCP Data received {"connection_id":144281,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4247eb8012d196780071fee480045013121..."} 
[2026-07-27 20:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4247eb8012d196780071fee480045013121..."} 
[2026-07-27 20:48:10] local.INFO: Processing buffer {"connection_id":144281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4247eb8012d196780071fee480045013121..."} 
[2026-07-27 20:48:10] local.INFO: Packet analysis {"connection_id":144281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa424"} 
[2026-07-27 20:48:10] local.INFO: Extracted packet for processing {"connection_id":144281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa424"} 
[2026-07-27 20:48:10] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533128,"longitude_deg":75.6639616,"latitude_deg":11.9533128,"altitude":69,"angle":305,"satellites":33,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-07-27 20:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:48:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002307072001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:48:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 20:48:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638232064,"note":"Value kept but may cause issues"} 
[2026-07-27 20:48:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:48:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785165283000,"timestamp_ms":1785165283000,"timestamp_seconds":1785165283,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4247eb8"} 
[2026-07-27 20:48:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:48:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20: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":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-07-27 20:48:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1162,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:48:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:48:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:48:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:48:10] local.INFO: Teltonika packet parsed successfully {"connection_id":144281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:48:10] local.INFO: Passing IMEI to GPS processor {"connection_id":144281,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:48:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":144281,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:48:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:48:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:48:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:48:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002307072001,"66":12254,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1830572541638232064},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:48:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:48:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:48:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002307072001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:48:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:48:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:48:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:48:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638232064,"description":"Unknown IO ID 45"} 
[2026-07-27 20:48:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002307072001,"power":12254,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638232064}} 
[2026-07-27 20:48:10] local.INFO: DEBUG: GPS processor result {"connection_id":144281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555361,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:48:10] local.INFO: GPS data processed {"connection_id":144281,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:48:10] local.INFO: Acknowledgment sent {"connection_id":144281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:48:31] local.INFO: TCP Data received {"connection_id":144282,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:48:31] local.INFO: Processing buffer {"connection_id":144282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:48:31] local.INFO: IMEI packet received {"connection_id":144282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 20:48:31] local.INFO: IMEI acknowledgment sent {"connection_id":144282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:48:36] local.INFO: TCP Data received {"connection_id":144282,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:48:36] local.INFO: Processing buffer {"connection_id":144282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:48:36] local.INFO: IMEI packet received {"connection_id":144282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 20:48:36] local.INFO: IMEI acknowledgment sent {"connection_id":144282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:48:37] local.INFO: TCP Data received {"connection_id":144282,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4253268012daae14005ff08a80021001422..."} 
[2026-07-27 20:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4253268012daae14005ff08a80021001422..."} 
[2026-07-27 20:48:37] local.INFO: Processing buffer {"connection_id":144282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4253268012daae14005ff08a80021001422..."} 
[2026-07-27 20:48:37] local.INFO: Packet analysis {"connection_id":144282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa425"} 
[2026-07-27 20:48:37] local.INFO: Extracted packet for processing {"connection_id":144282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa425"} 
[2026-07-27 20:48:37] local.INFO: GPS Element Parsed {"raw_longitude":766173504,"raw_latitude":100599976,"longitude_deg":76.6173504,"latitude_deg":10.0599976,"altitude":33,"angle":20,"satellites":34,"speed":0,"hex_longitude":"2daae140","hex_latitude":"05ff08a8","is_valid_coordinates":true} 
[2026-07-27 20:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002246656001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391576155226112,"note":"Value kept but may cause issues"} 
[2026-07-27 20:48:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6134535985422610432,"note":"Value kept but may cause issues"} 
[2026-07-27 20:48:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785165329000,"timestamp_ms":1785165329000,"timestamp_seconds":1785165329,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4253268"} 
[2026-07-27 20:48:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:48:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 20:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-27 20:48:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:48:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:48:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:48:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 20:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 20:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002246656001,"66":26267,"118":206,"88":20480,"24":0,"16":359391576155226112,"45":-6134535985422610432},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 20:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 20:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 20:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002246656001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:48:37] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 20:48:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 20:48:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391576155226112,"km_value":359391576155226.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:48:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6134535985422610432,"description":"Unknown IO ID 45"} 
[2026-07-27 20:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002246656001,"power":26267,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6134535985422610432}} 
[2026-07-27 20:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":144282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:48:37] local.INFO: GPS data processed {"connection_id":144282,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:48:37] local.INFO: Acknowledgment sent {"connection_id":144282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:48:42] local.INFO: TCP Data received {"connection_id":144281,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa424d0c0012d196780071fee480045013123..."} 
[2026-07-27 20:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa424d0c0012d196780071fee480045013123..."} 
[2026-07-27 20:48:42] local.INFO: Processing buffer {"connection_id":144281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa424d0c0012d196780071fee480045013123..."} 
[2026-07-27 20:48:42] local.INFO: Packet analysis {"connection_id":144281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa424"} 
[2026-07-27 20:48:42] local.INFO: Extracted packet for processing {"connection_id":144281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa424"} 
[2026-07-27 20:48:42] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533128,"longitude_deg":75.6639616,"latitude_deg":11.9533128,"altitude":69,"angle":305,"satellites":35,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-07-27 20:48:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:48:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002312448001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:48:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 20:48:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638232064,"note":"Value kept but may cause issues"} 
[2026-07-27 20:48:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:48:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785165304000,"timestamp_ms":1785165304000,"timestamp_seconds":1785165304,"priority":1,"record_length":96,"hex_timestamp":"0000019fa424d0c0"} 
[2026-07-27 20:48:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:48:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-27 20:48:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:48:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:48:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:48:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:48:42] local.INFO: Teltonika packet parsed successfully {"connection_id":144281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:48:42] local.INFO: Passing IMEI to GPS processor {"connection_id":144281,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:48:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":144281,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:48:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:48:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:48:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:48:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002312448001,"66":12211,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1830572541638232064},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:48:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:48:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:48:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002312448001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:48:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:48:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:48:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:48:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638232064,"description":"Unknown IO ID 45"} 
[2026-07-27 20:48:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002312448001,"power":12211,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638232064}} 
[2026-07-27 20:48:42] local.INFO: DEBUG: GPS processor result {"connection_id":144281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555363,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:48:42] local.INFO: GPS data processed {"connection_id":144281,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:48:42] local.INFO: Acknowledgment sent {"connection_id":144281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:48:59] local.INFO: TCP Data received {"connection_id":143149,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143149,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:48:59] local.INFO: Processing buffer {"connection_id":143149,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:48:59] local.INFO: IMEI packet received {"connection_id":143149,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 20:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":143149,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:49:04] local.INFO: TCP Data received {"connection_id":143149,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143149,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:49:04] local.INFO: Processing buffer {"connection_id":143149,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:49:04] local.INFO: IMEI packet received {"connection_id":143149,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 20:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":143149,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:49:06] local.INFO: TCP Data received {"connection_id":143149,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa42522c8012d196780071fee480045013125..."} 
[2026-07-27 20:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143149,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa42522c8012d196780071fee480045013125..."} 
[2026-07-27 20:49:06] local.INFO: Processing buffer {"connection_id":143149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa42522c8012d196780071fee480045013125..."} 
[2026-07-27 20:49:06] local.INFO: Packet analysis {"connection_id":143149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa425"} 
[2026-07-27 20:49:06] local.INFO: Extracted packet for processing {"connection_id":143149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa425"} 
[2026-07-27 20:49:06] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533128,"longitude_deg":75.6639616,"latitude_deg":11.9533128,"altitude":69,"angle":305,"satellites":37,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-07-27 20:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:49:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002317824001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:49:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 20:49:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638232064,"note":"Value kept but may cause issues"} 
[2026-07-27 20:49:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:49:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785165325000,"timestamp_ms":1785165325000,"timestamp_seconds":1785165325,"priority":1,"record_length":96,"hex_timestamp":"0000019fa42522c8"} 
[2026-07-27 20:49:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:49:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-27 20:49:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:49:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:49:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:49:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:49:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:49:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143149,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:49:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143149,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:49:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:49:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:49:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:49:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002317824001,"66":12178,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1830572541638232064},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:49:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:49:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:49:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002317824001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:49:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:49:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:49:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:49:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638232064,"description":"Unknown IO ID 45"} 
[2026-07-27 20:49:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002317824001,"power":12178,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638232064}} 
[2026-07-27 20:49:06] local.INFO: DEBUG: GPS processor result {"connection_id":143149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555364,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:49:06] local.INFO: GPS data processed {"connection_id":143149,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:49:06] local.INFO: Acknowledgment sent {"connection_id":143149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:49:09] local.INFO: TCP Data received {"connection_id":144282,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4253268012daae14005ff08a80021001422..."} 
[2026-07-27 20:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4253268012daae14005ff08a80021001422..."} 
[2026-07-27 20:49:09] local.INFO: Processing buffer {"connection_id":144282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4253268012daae14005ff08a80021001422..."} 
[2026-07-27 20:49:09] local.INFO: Packet analysis {"connection_id":144282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa425"} 
[2026-07-27 20:49:09] local.INFO: Extracted packet for processing {"connection_id":144282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa425"} 
[2026-07-27 20:49:09] local.INFO: GPS Element Parsed {"raw_longitude":766173504,"raw_latitude":100599976,"longitude_deg":76.6173504,"latitude_deg":10.0599976,"altitude":33,"angle":20,"satellites":34,"speed":0,"hex_longitude":"2daae140","hex_latitude":"05ff08a8","is_valid_coordinates":true} 
[2026-07-27 20:49:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:49:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002246656001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:49:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391576155226112,"note":"Value kept but may cause issues"} 
[2026-07-27 20:49:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6134535985422610432,"note":"Value kept but may cause issues"} 
[2026-07-27 20:49:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:49:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785165329000,"timestamp_ms":1785165329000,"timestamp_seconds":1785165329,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4253268"} 
[2026-07-27 20:49:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:49:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 20:49:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-27 20:49:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:49:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:49:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:49:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:49:09] local.INFO: Teltonika packet parsed successfully {"connection_id":144282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:49:09] local.INFO: Passing IMEI to GPS processor {"connection_id":144282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:49:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":144282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:49:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:49:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 20:49:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 20:49:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002246656001,"66":26267,"118":206,"88":20480,"24":0,"16":359391576155226112,"45":-6134535985422610432},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 20:49:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 20:49:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 20:49:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002246656001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:49:09] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 20:49:09] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 20:49:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391576155226112,"km_value":359391576155226.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:49:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6134535985422610432,"description":"Unknown IO ID 45"} 
[2026-07-27 20:49:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002246656001,"power":26267,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6134535985422610432}} 
[2026-07-27 20:49:09] local.INFO: DEBUG: GPS processor result {"connection_id":144282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:49:09] local.INFO: GPS data processed {"connection_id":144282,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:49:09] local.INFO: Acknowledgment sent {"connection_id":144282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:49:13] local.INFO: TCP Data received {"connection_id":143149,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa42574d0012d196780071fee480045013124..."} 
[2026-07-27 20:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143149,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa42574d0012d196780071fee480045013124..."} 
[2026-07-27 20:49:13] local.INFO: Processing buffer {"connection_id":143149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa42574d0012d196780071fee480045013124..."} 
[2026-07-27 20:49:13] local.INFO: Packet analysis {"connection_id":143149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa425"} 
[2026-07-27 20:49:13] local.INFO: Extracted packet for processing {"connection_id":143149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa425"} 
[2026-07-27 20:49:13] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533128,"longitude_deg":75.6639616,"latitude_deg":11.9533128,"altitude":69,"angle":305,"satellites":36,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-07-27 20:49:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:49:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002323200001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:49:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 20:49:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638232064,"note":"Value kept but may cause issues"} 
[2026-07-27 20:49:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:49:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785165346000,"timestamp_ms":1785165346000,"timestamp_seconds":1785165346,"priority":1,"record_length":96,"hex_timestamp":"0000019fa42574d0"} 
[2026-07-27 20:49:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:49:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 20: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":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-27 20:49:13] 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-07-27 20:49:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:49:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:49:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:49:13] local.INFO: Teltonika packet parsed successfully {"connection_id":143149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:49:13] local.INFO: Passing IMEI to GPS processor {"connection_id":143149,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:49:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":143149,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:49:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:49:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:49:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:49:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002323200001,"66":12254,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1830572541638232064},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:49:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:49:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:49:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002323200001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:49:13] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:49:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:49:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:49:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638232064,"description":"Unknown IO ID 45"} 
[2026-07-27 20:49:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002323200001,"power":12254,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638232064}} 
[2026-07-27 20:49:14] local.INFO: DEBUG: GPS processor result {"connection_id":143149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555366,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:49:14] local.INFO: GPS data processed {"connection_id":143149,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:49:14] local.INFO: Acknowledgment sent {"connection_id":143149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:49:36] local.INFO: TCP Data received {"connection_id":143293,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:49:36] local.INFO: Processing buffer {"connection_id":143293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:49:36] local.INFO: IMEI packet received {"connection_id":143293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 20:49:36] local.INFO: IMEI acknowledgment sent {"connection_id":143293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:49:41] local.INFO: TCP Data received {"connection_id":143293,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:49:41] local.INFO: Processing buffer {"connection_id":143293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:49:41] local.INFO: IMEI packet received {"connection_id":143293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 20:49:41] local.INFO: IMEI acknowledgment sent {"connection_id":143293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:49:42] local.INFO: TCP Data received {"connection_id":143293,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4253268012daae14005ff08a80021001422..."} 
[2026-07-27 20:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143293,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4253268012daae14005ff08a80021001422..."} 
[2026-07-27 20:49:42] local.INFO: Processing buffer {"connection_id":143293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4253268012daae14005ff08a80021001422..."} 
[2026-07-27 20:49:42] local.INFO: Packet analysis {"connection_id":143293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa425"} 
[2026-07-27 20:49:42] local.INFO: Extracted packet for processing {"connection_id":143293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa425"} 
[2026-07-27 20:49:42] local.INFO: GPS Element Parsed {"raw_longitude":766173504,"raw_latitude":100599976,"longitude_deg":76.6173504,"latitude_deg":10.0599976,"altitude":33,"angle":20,"satellites":34,"speed":0,"hex_longitude":"2daae140","hex_latitude":"05ff08a8","is_valid_coordinates":true} 
[2026-07-27 20:49:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:49:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002246656001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:49:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391576155226112,"note":"Value kept but may cause issues"} 
[2026-07-27 20:49:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6134535985422610432,"note":"Value kept but may cause issues"} 
[2026-07-27 20:49:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:49:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785165329000,"timestamp_ms":1785165329000,"timestamp_seconds":1785165329,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4253268"} 
[2026-07-27 20:49:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:49:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 20:49:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-27 20:49:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:49:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:49:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:49:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:49:42] local.INFO: Teltonika packet parsed successfully {"connection_id":143293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:49:42] local.INFO: Passing IMEI to GPS processor {"connection_id":143293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:49:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":143293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20: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-07-27 20:49:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 20:49:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 20:49:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002246656001,"66":26267,"118":206,"88":20480,"24":0,"16":359391576155226112,"45":-6134535985422610432},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 20:49:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 20:49:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 20:49:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002246656001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:49:42] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 20:49:42] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 20:49:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391576155226112,"km_value":359391576155226.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:49:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6134535985422610432,"description":"Unknown IO ID 45"} 
[2026-07-27 20:49:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002246656001,"power":26267,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6134535985422610432}} 
[2026-07-27 20:49:42] local.INFO: DEBUG: GPS processor result {"connection_id":143293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:49:42] local.INFO: GPS data processed {"connection_id":143293,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:49:42] local.INFO: Acknowledgment sent {"connection_id":143293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:49:42] local.INFO: TCP Data received {"connection_id":145567,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 20:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145567,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 20:49:42] local.INFO: Processing buffer {"connection_id":145567,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 20:49:42] local.INFO: IMEI packet received {"connection_id":145567,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 20:49:42] local.INFO: IMEI acknowledgment sent {"connection_id":145567,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:49:59] local.INFO: TCP Data received {"connection_id":143150,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143150,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:49:59] local.INFO: Processing buffer {"connection_id":143150,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:49:59] local.INFO: IMEI packet received {"connection_id":143150,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 20:49:59] local.INFO: IMEI acknowledgment sent {"connection_id":143150,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:50:04] local.INFO: TCP Data received {"connection_id":143150,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143150,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:50:04] local.INFO: Processing buffer {"connection_id":143150,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:50:04] local.INFO: IMEI packet received {"connection_id":143150,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 20:50:04] local.INFO: IMEI acknowledgment sent {"connection_id":143150,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:50:05] local.INFO: TCP Data received {"connection_id":143150,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4289980012d196780071fee480045013125..."} 
[2026-07-27 20:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143150,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4289980012d196780071fee480045013125..."} 
[2026-07-27 20:50:05] local.INFO: Processing buffer {"connection_id":143150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4289980012d196780071fee480045013125..."} 
[2026-07-27 20:50:05] local.INFO: Packet analysis {"connection_id":143150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa428"} 
[2026-07-27 20:50:05] local.INFO: Extracted packet for processing {"connection_id":143150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa428"} 
[2026-07-27 20:50:05] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533128,"longitude_deg":75.6639616,"latitude_deg":11.9533128,"altitude":69,"angle":305,"satellites":37,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-07-27 20:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:50:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002381056001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:50:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 20:50:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638232064,"note":"Value kept but may cause issues"} 
[2026-07-27 20:50:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:50:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785165552000,"timestamp_ms":1785165552000,"timestamp_seconds":1785165552,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4289980"} 
[2026-07-27 20:50:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:50:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 20:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-27 20:50:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:50:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:50:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:50:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:50:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:50:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143150,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:50:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143150,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:50:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:50:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:50:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:50:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002381056001,"66":4383,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1830572541638232064},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:50:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:50:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:50:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002381056001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:50:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:50:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:50:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:50:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638232064,"description":"Unknown IO ID 45"} 
[2026-07-27 20:50:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002381056001,"power":4383,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638232064}} 
[2026-07-27 20:50:05] local.INFO: DEBUG: GPS processor result {"connection_id":143150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555368,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:50:05] local.INFO: GPS data processed {"connection_id":143150,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:50:05] local.INFO: Acknowledgment sent {"connection_id":143150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:50:12] local.INFO: TCP Data received {"connection_id":143293,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4253268012daae14005ff08a80021001422..."} 
[2026-07-27 20:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143293,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4253268012daae14005ff08a80021001422..."} 
[2026-07-27 20:50:12] local.INFO: Processing buffer {"connection_id":143293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4253268012daae14005ff08a80021001422..."} 
[2026-07-27 20:50:12] local.INFO: Packet analysis {"connection_id":143293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa425"} 
[2026-07-27 20:50:12] local.INFO: Extracted packet for processing {"connection_id":143293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa425"} 
[2026-07-27 20:50:12] local.INFO: GPS Element Parsed {"raw_longitude":766173504,"raw_latitude":100599976,"longitude_deg":76.6173504,"latitude_deg":10.0599976,"altitude":33,"angle":20,"satellites":34,"speed":0,"hex_longitude":"2daae140","hex_latitude":"05ff08a8","is_valid_coordinates":true} 
[2026-07-27 20: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-07-27 20:50:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002246656001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:50:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391576155226112,"note":"Value kept but may cause issues"} 
[2026-07-27 20:50:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6134535985422610432,"note":"Value kept but may cause issues"} 
[2026-07-27 20:50:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:50:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785165329000,"timestamp_ms":1785165329000,"timestamp_seconds":1785165329,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4253268"} 
[2026-07-27 20:50:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:50:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 20: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-27 20:50:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20: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-07-27 20:50:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:50:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:50:12] local.INFO: Teltonika packet parsed successfully {"connection_id":143293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:50:12] local.INFO: Passing IMEI to GPS processor {"connection_id":143293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:50:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":143293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:50:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:50:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 20:50:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 20:50:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002246656001,"66":26267,"118":206,"88":20480,"24":0,"16":359391576155226112,"45":-6134535985422610432},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 20:50:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 20:50:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 20:50:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002246656001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:50:12] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 20:50:12] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 20:50:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391576155226112,"km_value":359391576155226.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:50:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6134535985422610432,"description":"Unknown IO ID 45"} 
[2026-07-27 20:50:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002246656001,"power":26267,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6134535985422610432}} 
[2026-07-27 20:50:12] local.INFO: DEBUG: GPS processor result {"connection_id":143293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:50:12] local.INFO: GPS data processed {"connection_id":143293,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:50:12] local.INFO: Acknowledgment sent {"connection_id":143293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:50:31] local.INFO: TCP Data received {"connection_id":144283,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:50:31] local.INFO: Processing buffer {"connection_id":144283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:50:31] local.INFO: IMEI packet received {"connection_id":144283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 20:50:31] local.INFO: IMEI acknowledgment sent {"connection_id":144283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:50:36] local.INFO: TCP Data received {"connection_id":144283,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:50:36] local.INFO: Processing buffer {"connection_id":144283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:50:36] local.INFO: IMEI packet received {"connection_id":144283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 20:50:36] local.INFO: IMEI acknowledgment sent {"connection_id":144283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:50:36] local.INFO: TCP Data received {"connection_id":143150,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4289980012d196780071fee480045013125..."} 
[2026-07-27 20:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143150,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4289980012d196780071fee480045013125..."} 
[2026-07-27 20:50:36] local.INFO: Processing buffer {"connection_id":143150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4289980012d196780071fee480045013125..."} 
[2026-07-27 20:50:36] local.INFO: Packet analysis {"connection_id":143150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa428"} 
[2026-07-27 20:50:36] local.INFO: Extracted packet for processing {"connection_id":143150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa428"} 
[2026-07-27 20:50:36] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533128,"longitude_deg":75.6639616,"latitude_deg":11.9533128,"altitude":69,"angle":305,"satellites":37,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-07-27 20:50:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:50:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002381312001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:50:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 20:50:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638232064,"note":"Value kept but may cause issues"} 
[2026-07-27 20:50:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:50:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785165552000,"timestamp_ms":1785165552000,"timestamp_seconds":1785165552,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4289980"} 
[2026-07-27 20:50:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:50:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 20:50:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":17,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 20:50:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733146624,"note":"Value kept but may cause issues"} 
[2026-07-27 20:50:36] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503736526307328,"note":"Value kept but may cause issues"} 
[2026-07-27 20:50:36] local.WARNING: Large IO value detected {"io_id":223,"raw_value":3489660928,"note":"Value kept but may cause issues"} 
[2026-07-27 20:50:36] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194872320,"note":"Value kept but may cause issues"} 
[2026-07-27 20:50:36] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3542081106926895114,"note":"Value kept but may cause issues"} 
[2026-07-27 20:50:36] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-27 20:50:36] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":13494137,"corrected_to":0} 
[2026-07-27 20:50:36] local.WARNING: Large IO value detected {"io_id":164,"raw_value":2837549245271730048,"note":"Value kept but may cause issues"} 
[2026-07-27 20:50:36] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3997696069,"note":"Value kept but may cause issues"} 
[2026-07-27 20:50:36] local.WARNING: Large IO value detected {"io_id":47,"raw_value":-2449731803238314468,"note":"Value kept but may cause issues"} 
[2026-07-27 20:50:36] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-07-27 20:50:36] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2300855625627808040,"note":"Value kept but may cause issues"} 
[2026-07-27 20:50:36] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182238299554048,"note":"Value kept but may cause issues"} 
[2026-07-27 20:50:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-1767380493525057512,"corrected_to":0} 
[2026-07-27 20:50:36] local.WARNING: Large IO value detected {"io_id":248,"raw_value":84751900310183918,"note":"Value kept but may cause issues"} 
[2026-07-27 20:50:36] local.WARNING: Large IO value detected {"io_id":72,"raw_value":19423084029149184,"note":"Value kept but may cause issues"} 
[2026-07-27 20:50:36] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6629562538579525888,"note":"Value kept but may cause issues"} 
[2026-07-27 20:50:36] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18629747077408633,"note":"Value kept but may cause issues"} 
[2026-07-27 20:50:36] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472039641104,"note":"Value kept but may cause issues"} 
[2026-07-27 20:50:36] local.WARNING: Large IO value detected {"io_id":25,"raw_value":7457968816648618053,"note":"Value kept but may cause issues"} 
[2026-07-27 20:50:36] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,121,28,24,241,158,16,223,159,149,45,128,238,69,37,10,66,87,39,5,1,240,200,164,31,47,124,208,7,239,205,248,72,113,4,2,25],"length":568,"final_offset":698,"validated_count":37,"validation_warnings":[{"io_id":200,"original":13494137,"validated":0},{"io_id":205,"original":-1767380493525057512,"validated":0}]} 
[2026-07-27 20:50:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4972309498577289247,"timestamp_seconds":4972309498577289.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 20:50:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:50:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:50:36] local.INFO: Teltonika packet parsed successfully {"connection_id":143150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:50:36] local.INFO: Passing IMEI to GPS processor {"connection_id":143150,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:50:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":143150,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:50:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:50:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:50:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:50:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002381312001,"66":4383,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1830572541638232064},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:50:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:50:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:50:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002381312001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:50:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:50:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:50:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:50:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638232064,"description":"Unknown IO ID 45"} 
[2026-07-27 20:50:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002381312001,"power":4383,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638232064}} 
[2026-07-27 20:50:36] local.INFO: DEBUG: GPS processor result {"connection_id":143150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555370,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:50:36] local.INFO: GPS data processed {"connection_id":143150,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:50:36] local.INFO: Acknowledgment sent {"connection_id":143150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:50:37] local.INFO: TCP Data received {"connection_id":144283,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4253268012daae14005ff08a80021001422..."} 
[2026-07-27 20:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144283,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4253268012daae14005ff08a80021001422..."} 
[2026-07-27 20:50:37] local.INFO: Processing buffer {"connection_id":144283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4253268012daae14005ff08a80021001422..."} 
[2026-07-27 20:50:37] local.INFO: Packet analysis {"connection_id":144283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa425"} 
[2026-07-27 20:50:37] local.INFO: Extracted packet for processing {"connection_id":144283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa425"} 
[2026-07-27 20:50:37] local.INFO: GPS Element Parsed {"raw_longitude":766173504,"raw_latitude":100599976,"longitude_deg":76.6173504,"latitude_deg":10.0599976,"altitude":33,"angle":20,"satellites":34,"speed":0,"hex_longitude":"2daae140","hex_latitude":"05ff08a8","is_valid_coordinates":true} 
[2026-07-27 20:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:50:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002246656001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:50:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391576155226112,"note":"Value kept but may cause issues"} 
[2026-07-27 20:50:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6134535985422610432,"note":"Value kept but may cause issues"} 
[2026-07-27 20:50:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:50:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785165329000,"timestamp_ms":1785165329000,"timestamp_seconds":1785165329,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4253268"} 
[2026-07-27 20:50:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:50:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 20:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-27 20:50:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:50:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:50:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:50:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:50:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:50:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:50:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:50:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:50:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 20:50:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 20:50:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002246656001,"66":26267,"118":206,"88":20480,"24":0,"16":359391576155226112,"45":-6134535985422610432},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 20:50:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 20:50:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 20:50:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002246656001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:50:37] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 20:50:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 20:50:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391576155226112,"km_value":359391576155226.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:50:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6134535985422610432,"description":"Unknown IO ID 45"} 
[2026-07-27 20:50:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002246656001,"power":26267,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6134535985422610432}} 
[2026-07-27 20:50:37] local.INFO: DEBUG: GPS processor result {"connection_id":144283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:50:37] local.INFO: GPS data processed {"connection_id":144283,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:50:37] local.INFO: Acknowledgment sent {"connection_id":144283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:51:04] local.INFO: TCP Data received {"connection_id":143151,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143151,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:51:04] local.INFO: Processing buffer {"connection_id":143151,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:51:04] local.INFO: IMEI packet received {"connection_id":143151,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 20:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":143151,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:51:08] local.INFO: TCP Data received {"connection_id":144283,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4253268012daae14005ff08a80021001422..."} 
[2026-07-27 20:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144283,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4253268012daae14005ff08a80021001422..."} 
[2026-07-27 20:51:08] local.INFO: Processing buffer {"connection_id":144283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4253268012daae14005ff08a80021001422..."} 
[2026-07-27 20:51:08] local.INFO: Packet analysis {"connection_id":144283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa425"} 
[2026-07-27 20:51:08] local.INFO: Extracted packet for processing {"connection_id":144283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa425"} 
[2026-07-27 20:51:08] local.INFO: GPS Element Parsed {"raw_longitude":766173504,"raw_latitude":100599976,"longitude_deg":76.6173504,"latitude_deg":10.0599976,"altitude":33,"angle":20,"satellites":34,"speed":0,"hex_longitude":"2daae140","hex_latitude":"05ff08a8","is_valid_coordinates":true} 
[2026-07-27 20:51:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:51:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002246656001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:51:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391576155226112,"note":"Value kept but may cause issues"} 
[2026-07-27 20:51:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6134535985422610432,"note":"Value kept but may cause issues"} 
[2026-07-27 20:51:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:51:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785165329000,"timestamp_ms":1785165329000,"timestamp_seconds":1785165329,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4253268"} 
[2026-07-27 20:51:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:51:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 20:51:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-27 20:51:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:51:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:51:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:51:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:51:08] local.INFO: Teltonika packet parsed successfully {"connection_id":144283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:51:08] local.INFO: Passing IMEI to GPS processor {"connection_id":144283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:51:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":144283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:51:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:51:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 20:51:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 20:51:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002246656001,"66":26267,"118":206,"88":20480,"24":0,"16":359391576155226112,"45":-6134535985422610432},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 20:51:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 20:51:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 20:51:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002246656001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:51:08] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 20:51:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 20:51:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391576155226112,"km_value":359391576155226.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:51:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6134535985422610432,"description":"Unknown IO ID 45"} 
[2026-07-27 20:51:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002246656001,"power":26267,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6134535985422610432}} 
[2026-07-27 20:51:08] local.INFO: DEBUG: GPS processor result {"connection_id":144283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:51:08] local.INFO: GPS data processed {"connection_id":144283,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:51:08] local.INFO: Acknowledgment sent {"connection_id":144283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:51:09] local.INFO: TCP Data received {"connection_id":143151,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143151,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:51:09] local.INFO: Processing buffer {"connection_id":143151,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:51:09] local.INFO: IMEI packet received {"connection_id":143151,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 20:51:09] local.INFO: IMEI acknowledgment sent {"connection_id":143151,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:51:10] local.INFO: TCP Data received {"connection_id":143151,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa428a920012d196780071fee480045013126..."} 
[2026-07-27 20:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa428a920012d196780071fee480045013126..."} 
[2026-07-27 20:51:10] local.INFO: Processing buffer {"connection_id":143151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa428a920012d196780071fee480045013126..."} 
[2026-07-27 20:51:10] local.INFO: Packet analysis {"connection_id":143151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa428"} 
[2026-07-27 20:51:10] local.INFO: Extracted packet for processing {"connection_id":143151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa428"} 
[2026-07-27 20:51:10] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533128,"longitude_deg":75.6639616,"latitude_deg":11.9533128,"altitude":69,"angle":305,"satellites":38,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-07-27 20:51:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:51:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002381312001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:51:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 20:51:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638232064,"note":"Value kept but may cause issues"} 
[2026-07-27 20:51:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:51:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785165556000,"timestamp_ms":1785165556000,"timestamp_seconds":1785165556,"priority":1,"record_length":96,"hex_timestamp":"0000019fa428a920"} 
[2026-07-27 20:51:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:51:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 20: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":17,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 20:51:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733146624,"note":"Value kept but may cause issues"} 
[2026-07-27 20:51:10] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503736526307328,"note":"Value kept but may cause issues"} 
[2026-07-27 20:51:10] local.WARNING: Large IO value detected {"io_id":223,"raw_value":3489660928,"note":"Value kept but may cause issues"} 
[2026-07-27 20:51:10] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194872320,"note":"Value kept but may cause issues"} 
[2026-07-27 20:51:10] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3542081106926895114,"note":"Value kept but may cause issues"} 
[2026-07-27 20:51:10] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-27 20:51:10] local.WARNING: Large IO value detected {"io_id":164,"raw_value":2860638989455026048,"note":"Value kept but may cause issues"} 
[2026-07-27 20:51:10] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3997696069,"note":"Value kept but may cause issues"} 
[2026-07-27 20:51:10] local.WARNING: Large IO value detected {"io_id":47,"raw_value":-6340841881286423012,"note":"Value kept but may cause issues"} 
[2026-07-27 20:51:10] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-07-27 20:51:10] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2300855625627808040,"note":"Value kept but may cause issues"} 
[2026-07-27 20:51:10] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182238299554048,"note":"Value kept but may cause issues"} 
[2026-07-27 20:51:10] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-1767380493525057512,"corrected_to":0} 
[2026-07-27 20:51:10] local.WARNING: Large IO value detected {"io_id":72,"raw_value":19423084029149184,"note":"Value kept but may cause issues"} 
[2026-07-27 20:51:10] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6701620132617453824,"note":"Value kept but may cause issues"} 
[2026-07-27 20:51:10] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18629979005642617,"note":"Value kept but may cause issues"} 
[2026-07-27 20:51:10] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472039641104,"note":"Value kept but may cause issues"} 
[2026-07-27 20:51:10] local.WARNING: Large IO value detected {"io_id":25,"raw_value":7457968816648618053,"note":"Value kept but may cause issues"} 
[2026-07-27 20:51:10] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,121,28,24,241,158,16,223,159,153,45,128,238,69,37,10,66,149,87,1,240,222,164,31,47,124,208,7,239,205,72,113,4,2,25],"length":568,"final_offset":698,"validated_count":35,"validation_warnings":[{"io_id":205,"original":-1767380493525057512,"validated":0}]} 
[2026-07-27 20:51:10] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4972309498577289282,"timestamp_seconds":4972309498577289.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 20:51:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:51:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:51:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:51:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:51:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:51:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:51:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:51:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:51:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002381312001,"66":2383,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1830572541638232064},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:51:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:51:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:51:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002381312001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:51:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:51:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:51:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:51:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638232064,"description":"Unknown IO ID 45"} 
[2026-07-27 20:51:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002381312001,"power":2383,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638232064}} 
[2026-07-27 20:51:11] local.INFO: DEBUG: GPS processor result {"connection_id":143151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555373,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:51:11] local.INFO: GPS data processed {"connection_id":143151,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:51:11] local.INFO: Acknowledgment sent {"connection_id":143151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:51:31] local.INFO: TCP Data received {"connection_id":143294,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:51:31] local.INFO: Processing buffer {"connection_id":143294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:51:31] local.INFO: IMEI packet received {"connection_id":143294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 20:51:31] local.INFO: IMEI acknowledgment sent {"connection_id":143294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:51:36] local.INFO: TCP Data received {"connection_id":143294,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:51:36] local.INFO: Processing buffer {"connection_id":143294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:51:36] local.INFO: IMEI packet received {"connection_id":143294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 20:51:36] local.INFO: IMEI acknowledgment sent {"connection_id":143294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:51:37] local.INFO: TCP Data received {"connection_id":143294,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa429ca30012daae14005ff08a8002f001420..."} 
[2026-07-27 20:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa429ca30012daae14005ff08a8002f001420..."} 
[2026-07-27 20:51:37] local.INFO: Processing buffer {"connection_id":143294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa429ca30012daae14005ff08a8002f001420..."} 
[2026-07-27 20:51:37] local.INFO: Packet analysis {"connection_id":143294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa429"} 
[2026-07-27 20:51:37] local.INFO: Extracted packet for processing {"connection_id":143294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa429"} 
[2026-07-27 20:51:37] local.INFO: GPS Element Parsed {"raw_longitude":766173504,"raw_latitude":100599976,"longitude_deg":76.6173504,"latitude_deg":10.0599976,"altitude":47,"angle":20,"satellites":32,"speed":0,"hex_longitude":"2daae140","hex_latitude":"05ff08a8","is_valid_coordinates":true} 
[2026-07-27 20:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:51:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002324224001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:51:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391576155226112,"note":"Value kept but may cause issues"} 
[2026-07-27 20:51:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133550823004133376,"note":"Value kept but may cause issues"} 
[2026-07-27 20:51:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:51:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785165630000,"timestamp_ms":1785165630000,"timestamp_seconds":1785165630,"priority":1,"record_length":96,"hex_timestamp":"0000019fa429ca30"} 
[2026-07-27 20:51:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:51:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 20:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-27 20:51:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:51:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:51:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:51:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:51:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:51:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:51:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:51:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:51:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 20:51:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 20:51:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002324224001,"66":26006,"118":206,"88":20480,"24":0,"16":359391576155226112,"45":-6133550823004133376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 20:51:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 20:51:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 20:51:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002324224001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:51:37] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 20:51:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 20:51:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391576155226112,"km_value":359391576155226.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:51:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133550823004133376,"description":"Unknown IO ID 45"} 
[2026-07-27 20:51:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002324224001,"power":26006,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133550823004133376}} 
[2026-07-27 20:51:37] local.INFO: DEBUG: GPS processor result {"connection_id":143294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:51:37] local.INFO: GPS data processed {"connection_id":143294,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:51:37] local.INFO: Acknowledgment sent {"connection_id":143294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:51:42] local.INFO: TCP Data received {"connection_id":143151,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa428a920012d196780071fee480045013126..."} 
[2026-07-27 20:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa428a920012d196780071fee480045013126..."} 
[2026-07-27 20:51:42] local.INFO: Processing buffer {"connection_id":143151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa428a920012d196780071fee480045013126..."} 
[2026-07-27 20:51:42] local.INFO: Packet analysis {"connection_id":143151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa428"} 
[2026-07-27 20:51:42] local.INFO: Extracted packet for processing {"connection_id":143151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa428"} 
[2026-07-27 20:51:42] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533128,"longitude_deg":75.6639616,"latitude_deg":11.9533128,"altitude":69,"angle":305,"satellites":38,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-07-27 20:51:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:51:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002381312001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:51:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 20:51:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638232064,"note":"Value kept but may cause issues"} 
[2026-07-27 20:51:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:51:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785165556000,"timestamp_ms":1785165556000,"timestamp_seconds":1785165556,"priority":1,"record_length":96,"hex_timestamp":"0000019fa428a920"} 
[2026-07-27 20:51:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:51:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 20: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":17,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 20:51:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733146624,"note":"Value kept but may cause issues"} 
[2026-07-27 20:51:42] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503736526307328,"note":"Value kept but may cause issues"} 
[2026-07-27 20:51:42] local.WARNING: Large IO value detected {"io_id":223,"raw_value":3489660928,"note":"Value kept but may cause issues"} 
[2026-07-27 20:51:42] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194872320,"note":"Value kept but may cause issues"} 
[2026-07-27 20:51:42] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3542081106926895114,"note":"Value kept but may cause issues"} 
[2026-07-27 20:51:42] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-27 20:51:42] local.WARNING: Large IO value detected {"io_id":164,"raw_value":2860638989455026048,"note":"Value kept but may cause issues"} 
[2026-07-27 20:51:42] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3997696069,"note":"Value kept but may cause issues"} 
[2026-07-27 20:51:42] local.WARNING: Large IO value detected {"io_id":47,"raw_value":-6340841881286423012,"note":"Value kept but may cause issues"} 
[2026-07-27 20:51:42] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-07-27 20:51:42] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2300855625627808040,"note":"Value kept but may cause issues"} 
[2026-07-27 20:51:42] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182238299554048,"note":"Value kept but may cause issues"} 
[2026-07-27 20:51:42] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-1767380493525057512,"corrected_to":0} 
[2026-07-27 20:51:42] local.WARNING: Large IO value detected {"io_id":72,"raw_value":19423084029149184,"note":"Value kept but may cause issues"} 
[2026-07-27 20:51:42] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6701620132617453824,"note":"Value kept but may cause issues"} 
[2026-07-27 20:51:42] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18629979005642617,"note":"Value kept but may cause issues"} 
[2026-07-27 20:51:42] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472039641104,"note":"Value kept but may cause issues"} 
[2026-07-27 20:51:42] local.WARNING: Large IO value detected {"io_id":25,"raw_value":7457968816648618053,"note":"Value kept but may cause issues"} 
[2026-07-27 20:51:42] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,121,28,24,241,158,16,223,159,153,45,128,238,69,37,10,66,149,87,1,240,222,164,31,47,124,208,7,239,205,72,113,4,2,25],"length":568,"final_offset":698,"validated_count":35,"validation_warnings":[{"io_id":205,"original":-1767380493525057512,"validated":0}]} 
[2026-07-27 20:51:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4972309498577289282,"timestamp_seconds":4972309498577289.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 20:51:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:51:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:51:42] local.INFO: Teltonika packet parsed successfully {"connection_id":143151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:51:42] local.INFO: Passing IMEI to GPS processor {"connection_id":143151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:51:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":143151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:51:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:51:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:51:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:51:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002381312001,"66":2383,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1830572541638232064},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:51:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:51:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:51:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002381312001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:51:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:51:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:51:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:51:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638232064,"description":"Unknown IO ID 45"} 
[2026-07-27 20:51:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002381312001,"power":2383,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638232064}} 
[2026-07-27 20:51:42] local.INFO: DEBUG: GPS processor result {"connection_id":143151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555375,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:51:42] local.INFO: GPS data processed {"connection_id":143151,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:51:42] local.INFO: Acknowledgment sent {"connection_id":143151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:51:59] local.INFO: TCP Data received {"connection_id":143295,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143295,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:51:59] local.INFO: Processing buffer {"connection_id":143295,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:51:59] local.INFO: IMEI packet received {"connection_id":143295,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 20:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":143295,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:52:04] local.INFO: TCP Data received {"connection_id":143295,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143295,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:52:04] local.INFO: Processing buffer {"connection_id":143295,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:52:04] local.INFO: IMEI packet received {"connection_id":143295,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 20:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":143295,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:52:05] local.INFO: TCP Data received {"connection_id":143295,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa428a920012d196780071fee480045013126..."} 
[2026-07-27 20:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143295,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa428a920012d196780071fee480045013126..."} 
[2026-07-27 20:52:05] local.INFO: Processing buffer {"connection_id":143295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa428a920012d196780071fee480045013126..."} 
[2026-07-27 20:52:05] local.INFO: Packet analysis {"connection_id":143295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa428"} 
[2026-07-27 20:52:05] local.INFO: Extracted packet for processing {"connection_id":143295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa428"} 
[2026-07-27 20:52:05] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533128,"longitude_deg":75.6639616,"latitude_deg":11.9533128,"altitude":69,"angle":305,"satellites":38,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-07-27 20:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:52:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002381312001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:52:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 20:52:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638232064,"note":"Value kept but may cause issues"} 
[2026-07-27 20:52:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:52:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785165556000,"timestamp_ms":1785165556000,"timestamp_seconds":1785165556,"priority":1,"record_length":96,"hex_timestamp":"0000019fa428a920"} 
[2026-07-27 20:52:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:52:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 20:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":17,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 20:52:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733146624,"note":"Value kept but may cause issues"} 
[2026-07-27 20:52:05] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503736526307328,"note":"Value kept but may cause issues"} 
[2026-07-27 20:52:05] local.WARNING: Large IO value detected {"io_id":223,"raw_value":3489660928,"note":"Value kept but may cause issues"} 
[2026-07-27 20:52:05] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194872320,"note":"Value kept but may cause issues"} 
[2026-07-27 20:52:05] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3542081106926895114,"note":"Value kept but may cause issues"} 
[2026-07-27 20:52:05] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-27 20:52:05] local.WARNING: Large IO value detected {"io_id":164,"raw_value":2860638989455026048,"note":"Value kept but may cause issues"} 
[2026-07-27 20:52:05] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3997696069,"note":"Value kept but may cause issues"} 
[2026-07-27 20:52:05] local.WARNING: Large IO value detected {"io_id":47,"raw_value":-6340841881286423012,"note":"Value kept but may cause issues"} 
[2026-07-27 20:52:05] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-07-27 20:52:05] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2300855625627808040,"note":"Value kept but may cause issues"} 
[2026-07-27 20:52:05] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182238299554048,"note":"Value kept but may cause issues"} 
[2026-07-27 20:52:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-1767380493525057512,"corrected_to":0} 
[2026-07-27 20:52:05] local.WARNING: Large IO value detected {"io_id":72,"raw_value":19423084029149184,"note":"Value kept but may cause issues"} 
[2026-07-27 20:52:05] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6701620132617453824,"note":"Value kept but may cause issues"} 
[2026-07-27 20:52:05] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18629979005642617,"note":"Value kept but may cause issues"} 
[2026-07-27 20:52:05] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472039641104,"note":"Value kept but may cause issues"} 
[2026-07-27 20:52:05] local.WARNING: Large IO value detected {"io_id":25,"raw_value":7457968816648618053,"note":"Value kept but may cause issues"} 
[2026-07-27 20:52:05] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,121,28,24,241,158,16,223,159,153,45,128,238,69,37,10,66,149,87,1,240,222,164,31,47,124,208,7,239,205,72,113,4,2,25],"length":568,"final_offset":698,"validated_count":35,"validation_warnings":[{"io_id":205,"original":-1767380493525057512,"validated":0}]} 
[2026-07-27 20:52:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4972309498577289282,"timestamp_seconds":4972309498577289.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 20:52:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:52:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:52:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:52:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143295,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:52:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143295,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:52:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:52:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:52:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:52:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002381312001,"66":2383,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1830572541638232064},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:52:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:52:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:52:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002381312001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:52:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:52:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:52:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:52:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638232064,"description":"Unknown IO ID 45"} 
[2026-07-27 20:52:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002381312001,"power":2383,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638232064}} 
[2026-07-27 20:52:05] local.INFO: DEBUG: GPS processor result {"connection_id":143295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555376,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:52:05] local.INFO: GPS data processed {"connection_id":143295,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:52:05] local.INFO: Acknowledgment sent {"connection_id":143295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:52:08] local.INFO: TCP Data received {"connection_id":143294,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa429ca30012daae14005ff08a8002f001420..."} 
[2026-07-27 20:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa429ca30012daae14005ff08a8002f001420..."} 
[2026-07-27 20:52:08] local.INFO: Processing buffer {"connection_id":143294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa429ca30012daae14005ff08a8002f001420..."} 
[2026-07-27 20:52:08] local.INFO: Packet analysis {"connection_id":143294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa429"} 
[2026-07-27 20:52:08] local.INFO: Extracted packet for processing {"connection_id":143294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa429"} 
[2026-07-27 20:52:08] local.INFO: GPS Element Parsed {"raw_longitude":766173504,"raw_latitude":100599976,"longitude_deg":76.6173504,"latitude_deg":10.0599976,"altitude":47,"angle":20,"satellites":32,"speed":0,"hex_longitude":"2daae140","hex_latitude":"05ff08a8","is_valid_coordinates":true} 
[2026-07-27 20:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:52:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002324224001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:52:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391576155226112,"note":"Value kept but may cause issues"} 
[2026-07-27 20:52:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133550823004133376,"note":"Value kept but may cause issues"} 
[2026-07-27 20:52:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:52:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785165630000,"timestamp_ms":1785165630000,"timestamp_seconds":1785165630,"priority":1,"record_length":96,"hex_timestamp":"0000019fa429ca30"} 
[2026-07-27 20:52:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:52:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-27 20:52:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:52:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:52:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:52:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:52:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:52:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:52:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:52:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:52:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 20:52:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 20:52:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002324224001,"66":26006,"118":206,"88":20480,"24":0,"16":359391576155226112,"45":-6133550823004133376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 20:52:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 20:52:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 20:52:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002324224001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:52:08] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 20:52:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 20:52:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391576155226112,"km_value":359391576155226.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:52:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133550823004133376,"description":"Unknown IO ID 45"} 
[2026-07-27 20:52:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002324224001,"power":26006,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133550823004133376}} 
[2026-07-27 20:52:08] local.INFO: DEBUG: GPS processor result {"connection_id":143294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:52:08] local.INFO: GPS data processed {"connection_id":143294,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:52:08] local.INFO: Acknowledgment sent {"connection_id":143294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:52:31] local.INFO: TCP Data received {"connection_id":144285,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:52:31] local.INFO: Processing buffer {"connection_id":144285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:52:31] local.INFO: IMEI packet received {"connection_id":144285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 20:52:31] local.INFO: IMEI acknowledgment sent {"connection_id":144285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:52:36] local.INFO: TCP Data received {"connection_id":144285,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:52:36] local.INFO: Processing buffer {"connection_id":144285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:52:36] local.INFO: IMEI packet received {"connection_id":144285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 20:52:36] local.INFO: IMEI acknowledgment sent {"connection_id":144285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:52:37] local.INFO: TCP Data received {"connection_id":144285,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa429ca30012daae14005ff08a8002f001420..."} 
[2026-07-27 20:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa429ca30012daae14005ff08a8002f001420..."} 
[2026-07-27 20:52:37] local.INFO: Processing buffer {"connection_id":144285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa429ca30012daae14005ff08a8002f001420..."} 
[2026-07-27 20:52:37] local.INFO: Packet analysis {"connection_id":144285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa429"} 
[2026-07-27 20:52:37] local.INFO: Extracted packet for processing {"connection_id":144285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa429"} 
[2026-07-27 20:52:37] local.INFO: GPS Element Parsed {"raw_longitude":766173504,"raw_latitude":100599976,"longitude_deg":76.6173504,"latitude_deg":10.0599976,"altitude":47,"angle":20,"satellites":32,"speed":0,"hex_longitude":"2daae140","hex_latitude":"05ff08a8","is_valid_coordinates":true} 
[2026-07-27 20:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002324224001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391576155226112,"note":"Value kept but may cause issues"} 
[2026-07-27 20:52:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133550823004133376,"note":"Value kept but may cause issues"} 
[2026-07-27 20:52:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785165630000,"timestamp_ms":1785165630000,"timestamp_seconds":1785165630,"priority":1,"record_length":96,"hex_timestamp":"0000019fa429ca30"} 
[2026-07-27 20:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:52:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 20:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-27 20:52:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:52:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:52:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 20:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 20:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002324224001,"66":26006,"118":206,"88":20480,"24":0,"16":359391576155226112,"45":-6133550823004133376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 20:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 20:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 20:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002324224001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:52:37] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 20:52:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 20:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391576155226112,"km_value":359391576155226.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:52:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133550823004133376,"description":"Unknown IO ID 45"} 
[2026-07-27 20:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002324224001,"power":26006,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133550823004133376}} 
[2026-07-27 20:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":144285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:52:37] local.INFO: GPS data processed {"connection_id":144285,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:52:37] local.INFO: Acknowledgment sent {"connection_id":144285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:52:37] local.INFO: TCP Data received {"connection_id":143295,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa428a920012d196780071fee480045013126..."} 
[2026-07-27 20:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143295,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa428a920012d196780071fee480045013126..."} 
[2026-07-27 20:52:37] local.INFO: Processing buffer {"connection_id":143295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa428a920012d196780071fee480045013126..."} 
[2026-07-27 20:52:37] local.INFO: Packet analysis {"connection_id":143295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa428"} 
[2026-07-27 20:52:37] local.INFO: Extracted packet for processing {"connection_id":143295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa428"} 
[2026-07-27 20:52:37] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533128,"longitude_deg":75.6639616,"latitude_deg":11.9533128,"altitude":69,"angle":305,"satellites":38,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-07-27 20:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002381312001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 20:52:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638232064,"note":"Value kept but may cause issues"} 
[2026-07-27 20:52:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785165556000,"timestamp_ms":1785165556000,"timestamp_seconds":1785165556,"priority":1,"record_length":96,"hex_timestamp":"0000019fa428a920"} 
[2026-07-27 20:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:52:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 20:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":17,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 20:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733146624,"note":"Value kept but may cause issues"} 
[2026-07-27 20:52:37] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503736526307328,"note":"Value kept but may cause issues"} 
[2026-07-27 20:52:37] local.WARNING: Large IO value detected {"io_id":223,"raw_value":3489660928,"note":"Value kept but may cause issues"} 
[2026-07-27 20:52:37] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194872320,"note":"Value kept but may cause issues"} 
[2026-07-27 20:52:37] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3542081106926895114,"note":"Value kept but may cause issues"} 
[2026-07-27 20:52:37] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-27 20:52:37] local.WARNING: Large IO value detected {"io_id":164,"raw_value":2860638989455026048,"note":"Value kept but may cause issues"} 
[2026-07-27 20:52:37] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3997696069,"note":"Value kept but may cause issues"} 
[2026-07-27 20:52:37] local.WARNING: Large IO value detected {"io_id":47,"raw_value":-6340841881286423012,"note":"Value kept but may cause issues"} 
[2026-07-27 20:52:37] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-07-27 20:52:37] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2300855625627808040,"note":"Value kept but may cause issues"} 
[2026-07-27 20:52:37] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182238299554048,"note":"Value kept but may cause issues"} 
[2026-07-27 20:52:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-1767380493525057512,"corrected_to":0} 
[2026-07-27 20:52:37] local.WARNING: Large IO value detected {"io_id":72,"raw_value":19423084029149184,"note":"Value kept but may cause issues"} 
[2026-07-27 20:52:37] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6701620132617453824,"note":"Value kept but may cause issues"} 
[2026-07-27 20:52:37] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18629979005642617,"note":"Value kept but may cause issues"} 
[2026-07-27 20:52:37] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472039641104,"note":"Value kept but may cause issues"} 
[2026-07-27 20:52:37] local.WARNING: Large IO value detected {"io_id":25,"raw_value":7457968816648618053,"note":"Value kept but may cause issues"} 
[2026-07-27 20:52:37] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,121,28,24,241,158,16,223,159,153,45,128,238,69,37,10,66,149,87,1,240,222,164,31,47,124,208,7,239,205,72,113,4,2,25],"length":568,"final_offset":698,"validated_count":35,"validation_warnings":[{"io_id":205,"original":-1767380493525057512,"validated":0}]} 
[2026-07-27 20:52:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4972309498577289282,"timestamp_seconds":4972309498577289.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 20:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143295,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143295,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:52:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002381312001,"66":2383,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1830572541638232064},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002381312001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:52:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:52:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:52:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638232064,"description":"Unknown IO ID 45"} 
[2026-07-27 20:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002381312001,"power":2383,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638232064}} 
[2026-07-27 20:52:38] local.INFO: DEBUG: GPS processor result {"connection_id":143295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555379,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:52:38] local.INFO: GPS data processed {"connection_id":143295,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:52:38] local.INFO: Acknowledgment sent {"connection_id":143295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:52:59] local.INFO: TCP Data received {"connection_id":145568,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145568,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:52:59] local.INFO: Processing buffer {"connection_id":145568,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:52:59] local.INFO: IMEI packet received {"connection_id":145568,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 20:52:59] local.INFO: IMEI acknowledgment sent {"connection_id":145568,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:53:04] local.INFO: TCP Data received {"connection_id":145568,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145568,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:53:04] local.INFO: Processing buffer {"connection_id":145568,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:53:04] local.INFO: IMEI packet received {"connection_id":145568,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 20:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":145568,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:53:05] local.INFO: TCP Data received {"connection_id":145568,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa428a920012d196780071fee480045013126..."} 
[2026-07-27 20:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa428a920012d196780071fee480045013126..."} 
[2026-07-27 20:53:05] local.INFO: Processing buffer {"connection_id":145568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa428a920012d196780071fee480045013126..."} 
[2026-07-27 20:53:05] local.INFO: Packet analysis {"connection_id":145568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa428"} 
[2026-07-27 20:53:05] local.INFO: Extracted packet for processing {"connection_id":145568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa428"} 
[2026-07-27 20:53:05] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533128,"longitude_deg":75.6639616,"latitude_deg":11.9533128,"altitude":69,"angle":305,"satellites":38,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-07-27 20:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:53:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002381312001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:53:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 20:53:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638232064,"note":"Value kept but may cause issues"} 
[2026-07-27 20:53:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:53:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785165556000,"timestamp_ms":1785165556000,"timestamp_seconds":1785165556,"priority":1,"record_length":96,"hex_timestamp":"0000019fa428a920"} 
[2026-07-27 20:53:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:53:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 20:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":17,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 20:53:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733146624,"note":"Value kept but may cause issues"} 
[2026-07-27 20:53:05] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503736526307328,"note":"Value kept but may cause issues"} 
[2026-07-27 20:53:05] local.WARNING: Large IO value detected {"io_id":223,"raw_value":3489660928,"note":"Value kept but may cause issues"} 
[2026-07-27 20:53:05] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194872320,"note":"Value kept but may cause issues"} 
[2026-07-27 20:53:05] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3542081106926895114,"note":"Value kept but may cause issues"} 
[2026-07-27 20:53:05] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-27 20:53:05] local.WARNING: Large IO value detected {"io_id":164,"raw_value":2860638989455026048,"note":"Value kept but may cause issues"} 
[2026-07-27 20:53:05] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3997696069,"note":"Value kept but may cause issues"} 
[2026-07-27 20:53:05] local.WARNING: Large IO value detected {"io_id":47,"raw_value":-6340841881286423012,"note":"Value kept but may cause issues"} 
[2026-07-27 20:53:05] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-07-27 20:53:05] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2300855625627808040,"note":"Value kept but may cause issues"} 
[2026-07-27 20:53:05] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182238299554048,"note":"Value kept but may cause issues"} 
[2026-07-27 20:53:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-1767380493525057512,"corrected_to":0} 
[2026-07-27 20:53:05] local.WARNING: Large IO value detected {"io_id":72,"raw_value":19423084029149184,"note":"Value kept but may cause issues"} 
[2026-07-27 20:53:05] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6701620132617453824,"note":"Value kept but may cause issues"} 
[2026-07-27 20:53:05] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18629979005642617,"note":"Value kept but may cause issues"} 
[2026-07-27 20:53:05] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472039641104,"note":"Value kept but may cause issues"} 
[2026-07-27 20:53:05] local.WARNING: Large IO value detected {"io_id":25,"raw_value":7457968816648618053,"note":"Value kept but may cause issues"} 
[2026-07-27 20:53:05] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,121,28,24,241,158,16,223,159,153,45,128,238,69,37,10,66,149,87,1,240,222,164,31,47,124,208,7,239,205,72,113,4,2,25],"length":568,"final_offset":698,"validated_count":35,"validation_warnings":[{"io_id":205,"original":-1767380493525057512,"validated":0}]} 
[2026-07-27 20:53:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4972309498577289282,"timestamp_seconds":4972309498577289.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 20:53:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:53:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:53:05] local.INFO: Teltonika packet parsed successfully {"connection_id":145568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:53:05] local.INFO: Passing IMEI to GPS processor {"connection_id":145568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:53:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":145568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:53:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:53:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:53:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:53:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002381312001,"66":2383,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1830572541638232064},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:53:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:53:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:53:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002381312001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:53:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:53:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:53:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:53:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638232064,"description":"Unknown IO ID 45"} 
[2026-07-27 20:53:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002381312001,"power":2383,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638232064}} 
[2026-07-27 20:53:05] local.INFO: DEBUG: GPS processor result {"connection_id":145568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555380,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:53:05] local.INFO: GPS data processed {"connection_id":145568,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:53:05] local.INFO: Acknowledgment sent {"connection_id":145568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:53:08] local.INFO: TCP Data received {"connection_id":144285,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa429ca30012daae14005ff08a8002f001420..."} 
[2026-07-27 20:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa429ca30012daae14005ff08a8002f001420..."} 
[2026-07-27 20:53:08] local.INFO: Processing buffer {"connection_id":144285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa429ca30012daae14005ff08a8002f001420..."} 
[2026-07-27 20:53:08] local.INFO: Packet analysis {"connection_id":144285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa429"} 
[2026-07-27 20:53:08] local.INFO: Extracted packet for processing {"connection_id":144285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa429"} 
[2026-07-27 20:53:08] local.INFO: GPS Element Parsed {"raw_longitude":766173504,"raw_latitude":100599976,"longitude_deg":76.6173504,"latitude_deg":10.0599976,"altitude":47,"angle":20,"satellites":32,"speed":0,"hex_longitude":"2daae140","hex_latitude":"05ff08a8","is_valid_coordinates":true} 
[2026-07-27 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-07-27 20:53:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002324224001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:53:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391576155226112,"note":"Value kept but may cause issues"} 
[2026-07-27 20:53:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133550823004133376,"note":"Value kept but may cause issues"} 
[2026-07-27 20:53:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:53:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785165630000,"timestamp_ms":1785165630000,"timestamp_seconds":1785165630,"priority":1,"record_length":96,"hex_timestamp":"0000019fa429ca30"} 
[2026-07-27 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-07-27 20:53:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-27 20:53:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 20:53:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:53:08] local.INFO: Teltonika packet parsed successfully {"connection_id":144285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:53:08] local.INFO: Passing IMEI to GPS processor {"connection_id":144285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:53:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":144285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:53:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:53:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 20:53:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 20:53:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002324224001,"66":26006,"118":206,"88":20480,"24":0,"16":359391576155226112,"45":-6133550823004133376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 20:53:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 20:53:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 20:53:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002324224001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:53:08] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 20:53:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 20:53:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391576155226112,"km_value":359391576155226.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:53:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133550823004133376,"description":"Unknown IO ID 45"} 
[2026-07-27 20:53:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002324224001,"power":26006,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133550823004133376}} 
[2026-07-27 20:53:09] local.INFO: DEBUG: GPS processor result {"connection_id":144285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:53:09] local.INFO: GPS data processed {"connection_id":144285,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:53:09] local.INFO: Acknowledgment sent {"connection_id":144285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:53:31] local.INFO: TCP Data received {"connection_id":143152,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:53:31] local.INFO: Processing buffer {"connection_id":143152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:53:31] local.INFO: IMEI packet received {"connection_id":143152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 20:53:31] local.INFO: IMEI acknowledgment sent {"connection_id":143152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:53:36] local.INFO: TCP Data received {"connection_id":143152,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:53:36] local.INFO: Processing buffer {"connection_id":143152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:53:36] local.INFO: IMEI packet received {"connection_id":143152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 20:53:36] local.INFO: IMEI acknowledgment sent {"connection_id":143152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:53:37] local.INFO: TCP Data received {"connection_id":143152,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa429ca30012daae14005ff08a8002f001420..."} 
[2026-07-27 20:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143152,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa429ca30012daae14005ff08a8002f001420..."} 
[2026-07-27 20:53:37] local.INFO: Processing buffer {"connection_id":143152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa429ca30012daae14005ff08a8002f001420..."} 
[2026-07-27 20:53:37] local.INFO: Packet analysis {"connection_id":143152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa429"} 
[2026-07-27 20:53:37] local.INFO: Extracted packet for processing {"connection_id":143152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa429"} 
[2026-07-27 20:53:37] local.INFO: GPS Element Parsed {"raw_longitude":766173504,"raw_latitude":100599976,"longitude_deg":76.6173504,"latitude_deg":10.0599976,"altitude":47,"angle":20,"satellites":32,"speed":0,"hex_longitude":"2daae140","hex_latitude":"05ff08a8","is_valid_coordinates":true} 
[2026-07-27 20:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002324224001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:53:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391576155226112,"note":"Value kept but may cause issues"} 
[2026-07-27 20:53:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133550823004133376,"note":"Value kept but may cause issues"} 
[2026-07-27 20:53:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:53:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785165630000,"timestamp_ms":1785165630000,"timestamp_seconds":1785165630,"priority":1,"record_length":96,"hex_timestamp":"0000019fa429ca30"} 
[2026-07-27 20:53:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:53:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 20:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-27 20:53:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:53:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:53:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:53:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:53:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:53:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:53:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:53:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:53:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 20:53:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 20:53:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002324224001,"66":26006,"118":206,"88":20480,"24":0,"16":359391576155226112,"45":-6133550823004133376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 20:53:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 20:53:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 20:53:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002324224001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:53:37] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 20:53:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 20:53:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391576155226112,"km_value":359391576155226.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:53:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133550823004133376,"description":"Unknown IO ID 45"} 
[2026-07-27 20:53:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002324224001,"power":26006,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133550823004133376}} 
[2026-07-27 20:53:37] local.INFO: DEBUG: GPS processor result {"connection_id":143152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:53:37] local.INFO: GPS data processed {"connection_id":143152,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:53:37] local.INFO: Acknowledgment sent {"connection_id":143152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:53:37] local.INFO: TCP Data received {"connection_id":145568,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa428a920012d196780071fee480045013126..."} 
[2026-07-27 20:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa428a920012d196780071fee480045013126..."} 
[2026-07-27 20:53:37] local.INFO: Processing buffer {"connection_id":145568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa428a920012d196780071fee480045013126..."} 
[2026-07-27 20:53:37] local.INFO: Packet analysis {"connection_id":145568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa428"} 
[2026-07-27 20:53:37] local.INFO: Extracted packet for processing {"connection_id":145568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa428"} 
[2026-07-27 20:53:37] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533128,"longitude_deg":75.6639616,"latitude_deg":11.9533128,"altitude":69,"angle":305,"satellites":38,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-07-27 20:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002381312001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:53:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 20:53:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638232064,"note":"Value kept but may cause issues"} 
[2026-07-27 20:53:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:53:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785165556000,"timestamp_ms":1785165556000,"timestamp_seconds":1785165556,"priority":1,"record_length":96,"hex_timestamp":"0000019fa428a920"} 
[2026-07-27 20:53:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:53:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 20:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":17,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 20:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733146624,"note":"Value kept but may cause issues"} 
[2026-07-27 20:53:37] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503736526307328,"note":"Value kept but may cause issues"} 
[2026-07-27 20:53:37] local.WARNING: Large IO value detected {"io_id":223,"raw_value":3489660928,"note":"Value kept but may cause issues"} 
[2026-07-27 20:53:37] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194872320,"note":"Value kept but may cause issues"} 
[2026-07-27 20:53:37] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3542081106926895114,"note":"Value kept but may cause issues"} 
[2026-07-27 20:53:37] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-27 20:53:37] local.WARNING: Large IO value detected {"io_id":164,"raw_value":2860638989455026048,"note":"Value kept but may cause issues"} 
[2026-07-27 20:53:37] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3997696069,"note":"Value kept but may cause issues"} 
[2026-07-27 20:53:37] local.WARNING: Large IO value detected {"io_id":47,"raw_value":-6340841881286423012,"note":"Value kept but may cause issues"} 
[2026-07-27 20:53:37] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-07-27 20:53:37] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2300855625627808040,"note":"Value kept but may cause issues"} 
[2026-07-27 20:53:37] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182238299554048,"note":"Value kept but may cause issues"} 
[2026-07-27 20:53:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-1767380493525057512,"corrected_to":0} 
[2026-07-27 20:53:37] local.WARNING: Large IO value detected {"io_id":72,"raw_value":19423084029149184,"note":"Value kept but may cause issues"} 
[2026-07-27 20:53:37] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6701620132617453824,"note":"Value kept but may cause issues"} 
[2026-07-27 20:53:37] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18629979005642617,"note":"Value kept but may cause issues"} 
[2026-07-27 20:53:37] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472039641104,"note":"Value kept but may cause issues"} 
[2026-07-27 20:53:37] local.WARNING: Large IO value detected {"io_id":25,"raw_value":7457968816648618053,"note":"Value kept but may cause issues"} 
[2026-07-27 20:53:37] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,121,28,24,241,158,16,223,159,153,45,128,238,69,37,10,66,149,87,1,240,222,164,31,47,124,208,7,239,205,72,113,4,2,25],"length":568,"final_offset":698,"validated_count":35,"validation_warnings":[{"io_id":205,"original":-1767380493525057512,"validated":0}]} 
[2026-07-27 20:53:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4972309498577289282,"timestamp_seconds":4972309498577289.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 20:53:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:53:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:53:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:53:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:53:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:53:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:53:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:53:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:53:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002381312001,"66":2383,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1830572541638232064},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:53:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:53:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:53:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002381312001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:53:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:53:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:53:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:53:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638232064,"description":"Unknown IO ID 45"} 
[2026-07-27 20:53:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002381312001,"power":2383,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638232064}} 
[2026-07-27 20:53:37] local.INFO: DEBUG: GPS processor result {"connection_id":145568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555383,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:53:37] local.INFO: GPS data processed {"connection_id":145568,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:53:37] local.INFO: Acknowledgment sent {"connection_id":145568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:53:59] local.INFO: TCP Data received {"connection_id":144286,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144286,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:53:59] local.INFO: Processing buffer {"connection_id":144286,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:53:59] local.INFO: IMEI packet received {"connection_id":144286,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 20:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":144286,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:54:04] local.INFO: TCP Data received {"connection_id":144286,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144286,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:54:04] local.INFO: Processing buffer {"connection_id":144286,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:54:04] local.INFO: IMEI packet received {"connection_id":144286,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 20:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":144286,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:54:08] local.INFO: TCP Data received {"connection_id":143152,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa429ca30012daae14005ff08a8002f001420..."} 
[2026-07-27 20:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143152,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa429ca30012daae14005ff08a8002f001420..."} 
[2026-07-27 20:54:08] local.INFO: Processing buffer {"connection_id":143152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa429ca30012daae14005ff08a8002f001420..."} 
[2026-07-27 20:54:08] local.INFO: Packet analysis {"connection_id":143152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa429"} 
[2026-07-27 20:54:08] local.INFO: Extracted packet for processing {"connection_id":143152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa429"} 
[2026-07-27 20:54:08] local.INFO: GPS Element Parsed {"raw_longitude":766173504,"raw_latitude":100599976,"longitude_deg":76.6173504,"latitude_deg":10.0599976,"altitude":47,"angle":20,"satellites":32,"speed":0,"hex_longitude":"2daae140","hex_latitude":"05ff08a8","is_valid_coordinates":true} 
[2026-07-27 20:54:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:54:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002324224001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:54:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391576155226112,"note":"Value kept but may cause issues"} 
[2026-07-27 20:54:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133550823004133376,"note":"Value kept but may cause issues"} 
[2026-07-27 20:54:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:54:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785165630000,"timestamp_ms":1785165630000,"timestamp_seconds":1785165630,"priority":1,"record_length":96,"hex_timestamp":"0000019fa429ca30"} 
[2026-07-27 20:54:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:54:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 20:54:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-27 20:54:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:54:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:54:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:54:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:54:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:54:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:54:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:54:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:54:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 20:54:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 20:54:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002324224001,"66":26006,"118":206,"88":20480,"24":0,"16":359391576155226112,"45":-6133550823004133376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 20:54:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 20:54:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 20:54:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002324224001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:54:08] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 20:54:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 20:54:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391576155226112,"km_value":359391576155226.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:54:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133550823004133376,"description":"Unknown IO ID 45"} 
[2026-07-27 20:54:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002324224001,"power":26006,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133550823004133376}} 
[2026-07-27 20:54:08] local.INFO: DEBUG: GPS processor result {"connection_id":143152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:54:08] local.INFO: GPS data processed {"connection_id":143152,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:54:08] local.INFO: Acknowledgment sent {"connection_id":143152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:54:13] local.INFO: TCP Data received {"connection_id":144286,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa428a920012d196780071fee480045013126..."} 
[2026-07-27 20:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144286,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa428a920012d196780071fee480045013126..."} 
[2026-07-27 20:54:13] local.INFO: Processing buffer {"connection_id":144286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa428a920012d196780071fee480045013126..."} 
[2026-07-27 20:54:13] local.INFO: Packet analysis {"connection_id":144286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa428"} 
[2026-07-27 20:54:13] local.INFO: Extracted packet for processing {"connection_id":144286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa428"} 
[2026-07-27 20:54:13] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533128,"longitude_deg":75.6639616,"latitude_deg":11.9533128,"altitude":69,"angle":305,"satellites":38,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-07-27 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-07-27 20:54:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002381312001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:54:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 20:54:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638232064,"note":"Value kept but may cause issues"} 
[2026-07-27 20:54:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:54:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785165556000,"timestamp_ms":1785165556000,"timestamp_seconds":1785165556,"priority":1,"record_length":96,"hex_timestamp":"0000019fa428a920"} 
[2026-07-27 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-07-27 20:54:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":17,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-27 20:54:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733146624,"note":"Value kept but may cause issues"} 
[2026-07-27 20:54:13] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503736526307328,"note":"Value kept but may cause issues"} 
[2026-07-27 20:54:13] local.WARNING: Large IO value detected {"io_id":223,"raw_value":3489660928,"note":"Value kept but may cause issues"} 
[2026-07-27 20:54:13] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194872320,"note":"Value kept but may cause issues"} 
[2026-07-27 20:54:13] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3542081106926895114,"note":"Value kept but may cause issues"} 
[2026-07-27 20:54:13] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-27 20:54:13] local.WARNING: Large IO value detected {"io_id":164,"raw_value":2860638989455026048,"note":"Value kept but may cause issues"} 
[2026-07-27 20:54:13] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3997696069,"note":"Value kept but may cause issues"} 
[2026-07-27 20:54:13] local.WARNING: Large IO value detected {"io_id":47,"raw_value":-6340841881286423012,"note":"Value kept but may cause issues"} 
[2026-07-27 20:54:13] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-07-27 20:54:13] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2300855625627808040,"note":"Value kept but may cause issues"} 
[2026-07-27 20:54:13] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182238299554048,"note":"Value kept but may cause issues"} 
[2026-07-27 20:54:13] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-1767380493525057512,"corrected_to":0} 
[2026-07-27 20:54:13] local.WARNING: Large IO value detected {"io_id":72,"raw_value":19423084029149184,"note":"Value kept but may cause issues"} 
[2026-07-27 20:54:13] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6701620132617453824,"note":"Value kept but may cause issues"} 
[2026-07-27 20:54:13] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18629979005642617,"note":"Value kept but may cause issues"} 
[2026-07-27 20:54:13] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472039641104,"note":"Value kept but may cause issues"} 
[2026-07-27 20:54:13] local.WARNING: Large IO value detected {"io_id":25,"raw_value":7457968816648618053,"note":"Value kept but may cause issues"} 
[2026-07-27 20:54:13] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,121,28,24,241,158,16,223,159,153,45,128,238,69,37,10,66,149,87,1,240,222,164,31,47,124,208,7,239,205,72,113,4,2,25],"length":568,"final_offset":698,"validated_count":35,"validation_warnings":[{"io_id":205,"original":-1767380493525057512,"validated":0}]} 
[2026-07-27 20:54:13] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4972309498577289282,"timestamp_seconds":4972309498577289.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-27 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-07-27 20:54:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:54:13] local.INFO: Teltonika packet parsed successfully {"connection_id":144286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:54:13] local.INFO: Passing IMEI to GPS processor {"connection_id":144286,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:54:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":144286,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:54:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:54:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:54:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:54:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002381312001,"66":2383,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1830572541638232064},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:54:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:54:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:54:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002381312001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:54:13] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:54:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:54:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:54:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638232064,"description":"Unknown IO ID 45"} 
[2026-07-27 20:54:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002381312001,"power":2383,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638232064}} 
[2026-07-27 20:54:13] local.INFO: DEBUG: GPS processor result {"connection_id":144286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555385,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:54:13] local.INFO: GPS data processed {"connection_id":144286,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:54:13] local.INFO: Acknowledgment sent {"connection_id":144286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:54:31] local.INFO: TCP Data received {"connection_id":143296,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:54:31] local.INFO: Processing buffer {"connection_id":143296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:54:31] local.INFO: IMEI packet received {"connection_id":143296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 20:54:31] local.INFO: IMEI acknowledgment sent {"connection_id":143296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:54:36] local.INFO: TCP Data received {"connection_id":143296,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:54:36] local.INFO: Processing buffer {"connection_id":143296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:54:36] local.INFO: IMEI packet received {"connection_id":143296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 20:54:36] local.INFO: IMEI acknowledgment sent {"connection_id":143296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:54:37] local.INFO: TCP Data received {"connection_id":143296,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa429ca30012daae14005ff08a8002f001420..."} 
[2026-07-27 20:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa429ca30012daae14005ff08a8002f001420..."} 
[2026-07-27 20:54:37] local.INFO: Processing buffer {"connection_id":143296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa429ca30012daae14005ff08a8002f001420..."} 
[2026-07-27 20:54:37] local.INFO: Packet analysis {"connection_id":143296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa429"} 
[2026-07-27 20:54:37] local.INFO: Extracted packet for processing {"connection_id":143296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa429"} 
[2026-07-27 20:54:37] local.INFO: GPS Element Parsed {"raw_longitude":766173504,"raw_latitude":100599976,"longitude_deg":76.6173504,"latitude_deg":10.0599976,"altitude":47,"angle":20,"satellites":32,"speed":0,"hex_longitude":"2daae140","hex_latitude":"05ff08a8","is_valid_coordinates":true} 
[2026-07-27 20:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:54:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002324224001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:54:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391576155226112,"note":"Value kept but may cause issues"} 
[2026-07-27 20:54:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133550823004133376,"note":"Value kept but may cause issues"} 
[2026-07-27 20:54:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:54:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785165630000,"timestamp_ms":1785165630000,"timestamp_seconds":1785165630,"priority":1,"record_length":96,"hex_timestamp":"0000019fa429ca30"} 
[2026-07-27 20:54:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:54:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 20:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-27 20:54:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:54:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:54:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:54:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:54:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:54:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:54:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:54:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:54:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 20:54:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 20:54:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002324224001,"66":26006,"118":206,"88":20480,"24":0,"16":359391576155226112,"45":-6133550823004133376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 20:54:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 20:54:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 20:54:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002324224001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:54:37] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 20:54:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 20:54:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391576155226112,"km_value":359391576155226.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:54:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133550823004133376,"description":"Unknown IO ID 45"} 
[2026-07-27 20:54:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002324224001,"power":26006,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133550823004133376}} 
[2026-07-27 20:54:37] local.INFO: DEBUG: GPS processor result {"connection_id":143296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:54:37] local.INFO: GPS data processed {"connection_id":143296,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:54:37] local.INFO: Acknowledgment sent {"connection_id":143296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:55:04] local.INFO: TCP Data received {"connection_id":144287,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144287,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:55:04] local.INFO: Processing buffer {"connection_id":144287,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:55:04] local.INFO: IMEI packet received {"connection_id":144287,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 20:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":144287,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:55:08] local.INFO: TCP Data received {"connection_id":143296,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa429ca30012daae14005ff08a8002f001420..."} 
[2026-07-27 20:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa429ca30012daae14005ff08a8002f001420..."} 
[2026-07-27 20:55:08] local.INFO: Processing buffer {"connection_id":143296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa429ca30012daae14005ff08a8002f001420..."} 
[2026-07-27 20:55:08] local.INFO: Packet analysis {"connection_id":143296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa429"} 
[2026-07-27 20:55:08] local.INFO: Extracted packet for processing {"connection_id":143296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa429"} 
[2026-07-27 20:55:08] local.INFO: GPS Element Parsed {"raw_longitude":766173504,"raw_latitude":100599976,"longitude_deg":76.6173504,"latitude_deg":10.0599976,"altitude":47,"angle":20,"satellites":32,"speed":0,"hex_longitude":"2daae140","hex_latitude":"05ff08a8","is_valid_coordinates":true} 
[2026-07-27 20:55:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:55:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002324224001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:55:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391576155226112,"note":"Value kept but may cause issues"} 
[2026-07-27 20:55:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133550823004133376,"note":"Value kept but may cause issues"} 
[2026-07-27 20:55:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:55:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785165630000,"timestamp_ms":1785165630000,"timestamp_seconds":1785165630,"priority":1,"record_length":96,"hex_timestamp":"0000019fa429ca30"} 
[2026-07-27 20:55:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:55:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 20:55:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-27 20:55:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:55:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:55:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:55:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:55:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:55:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:55:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:55:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:55:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 20:55:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 20:55:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002324224001,"66":26006,"118":206,"88":20480,"24":0,"16":359391576155226112,"45":-6133550823004133376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 20:55:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 20:55:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 20:55:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002324224001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:55:08] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 20:55:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 20:55:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391576155226112,"km_value":359391576155226.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:55:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133550823004133376,"description":"Unknown IO ID 45"} 
[2026-07-27 20:55:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002324224001,"power":26006,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133550823004133376}} 
[2026-07-27 20:55:08] local.INFO: DEBUG: GPS processor result {"connection_id":143296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:55:08] local.INFO: GPS data processed {"connection_id":143296,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:55:08] local.INFO: Acknowledgment sent {"connection_id":143296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:55:09] local.INFO: TCP Data received {"connection_id":144287,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144287,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:55:09] local.INFO: Processing buffer {"connection_id":144287,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:55:09] local.INFO: IMEI packet received {"connection_id":144287,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 20:55:09] local.INFO: IMEI acknowledgment sent {"connection_id":144287,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:55:11] local.INFO: TCP Data received {"connection_id":144287,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa42d40e8012d196940071fee200045013126..."} 
[2026-07-27 20:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa42d40e8012d196940071fee200045013126..."} 
[2026-07-27 20:55:11] local.INFO: Processing buffer {"connection_id":144287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa42d40e8012d196940071fee200045013126..."} 
[2026-07-27 20:55:11] local.INFO: Packet analysis {"connection_id":144287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa42d"} 
[2026-07-27 20:55:11] local.INFO: Extracted packet for processing {"connection_id":144287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa42d"} 
[2026-07-27 20:55:11] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":69,"angle":305,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 20:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:55:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002382336001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:55:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 20:55:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638232064,"note":"Value kept but may cause issues"} 
[2026-07-27 20:55:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:55:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785165857000,"timestamp_ms":1785165857000,"timestamp_seconds":1785165857,"priority":1,"record_length":96,"hex_timestamp":"0000019fa42d40e8"} 
[2026-07-27 20:55:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20: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-07-27 20: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":9,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-27 20:55:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:55:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:55:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:55:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:55:11] local.INFO: Teltonika packet parsed successfully {"connection_id":144287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:55:11] local.INFO: Passing IMEI to GPS processor {"connection_id":144287,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:55:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":144287,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:55:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:55:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:55:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:55:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002382336001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1830572541638232064},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:55:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:55:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:55:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002382336001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:55:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:55:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:55:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:55:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638232064,"description":"Unknown IO ID 45"} 
[2026-07-27 20:55:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002382336001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638232064}} 
[2026-07-27 20:55:11] local.INFO: DEBUG: GPS processor result {"connection_id":144287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555388,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:55:11] local.INFO: GPS data processed {"connection_id":144287,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:55:11] local.INFO: Acknowledgment sent {"connection_id":144287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:55:17] local.INFO: TCP Data received {"connection_id":144284,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 20:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144284,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 20:55:17] local.INFO: Processing buffer {"connection_id":144284,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 20:55:17] local.INFO: IMEI packet received {"connection_id":144284,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 20:55:17] local.INFO: IMEI acknowledgment sent {"connection_id":144284,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:55:31] local.INFO: TCP Data received {"connection_id":144288,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:55:31] local.INFO: Processing buffer {"connection_id":144288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:55:31] local.INFO: IMEI packet received {"connection_id":144288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 20:55:31] local.INFO: IMEI acknowledgment sent {"connection_id":144288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:55:36] local.INFO: TCP Data received {"connection_id":144288,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:55:36] local.INFO: Processing buffer {"connection_id":144288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:55:36] local.INFO: IMEI packet received {"connection_id":144288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 20:55:36] local.INFO: IMEI acknowledgment sent {"connection_id":144288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:55:37] local.INFO: TCP Data received {"connection_id":144288,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa429ca30012daae14005ff08a8002f001420..."} 
[2026-07-27 20:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa429ca30012daae14005ff08a8002f001420..."} 
[2026-07-27 20:55:37] local.INFO: Processing buffer {"connection_id":144288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa429ca30012daae14005ff08a8002f001420..."} 
[2026-07-27 20:55:37] local.INFO: Packet analysis {"connection_id":144288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa429"} 
[2026-07-27 20:55:37] local.INFO: Extracted packet for processing {"connection_id":144288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa429"} 
[2026-07-27 20:55:37] local.INFO: GPS Element Parsed {"raw_longitude":766173504,"raw_latitude":100599976,"longitude_deg":76.6173504,"latitude_deg":10.0599976,"altitude":47,"angle":20,"satellites":32,"speed":0,"hex_longitude":"2daae140","hex_latitude":"05ff08a8","is_valid_coordinates":true} 
[2026-07-27 20:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:55:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002324224001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:55:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391576155226112,"note":"Value kept but may cause issues"} 
[2026-07-27 20:55:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133550823004133376,"note":"Value kept but may cause issues"} 
[2026-07-27 20:55:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:55:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785165630000,"timestamp_ms":1785165630000,"timestamp_seconds":1785165630,"priority":1,"record_length":96,"hex_timestamp":"0000019fa429ca30"} 
[2026-07-27 20:55:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:55:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 20:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-27 20:55:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:55:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:55:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:55:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:55:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:55:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:55:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:55:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:55:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 20:55:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 20:55:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002324224001,"66":26006,"118":206,"88":20480,"24":0,"16":359391576155226112,"45":-6133550823004133376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 20:55:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 20:55:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 20:55:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002324224001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:55:37] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 20:55:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 20:55:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391576155226112,"km_value":359391576155226.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:55:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133550823004133376,"description":"Unknown IO ID 45"} 
[2026-07-27 20:55:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002324224001,"power":26006,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133550823004133376}} 
[2026-07-27 20:55:37] local.INFO: DEBUG: GPS processor result {"connection_id":144288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:55:37] local.INFO: GPS data processed {"connection_id":144288,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:55:37] local.INFO: Acknowledgment sent {"connection_id":144288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:55:43] local.INFO: TCP Data received {"connection_id":144287,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa42d40e8012d196940071fee200045013126..."} 
[2026-07-27 20:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa42d40e8012d196940071fee200045013126..."} 
[2026-07-27 20:55:43] local.INFO: Processing buffer {"connection_id":144287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa42d40e8012d196940071fee200045013126..."} 
[2026-07-27 20:55:43] local.INFO: Packet analysis {"connection_id":144287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa42d"} 
[2026-07-27 20:55:43] local.INFO: Extracted packet for processing {"connection_id":144287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa42d"} 
[2026-07-27 20:55:43] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":69,"angle":305,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 20:55:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:55:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002382336001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:55:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 20:55:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638232064,"note":"Value kept but may cause issues"} 
[2026-07-27 20:55:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:55:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785165857000,"timestamp_ms":1785165857000,"timestamp_seconds":1785165857,"priority":1,"record_length":96,"hex_timestamp":"0000019fa42d40e8"} 
[2026-07-27 20:55:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20: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-07-27 20: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":9,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-27 20:55:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:55:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:55:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:55:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:55:43] local.INFO: Teltonika packet parsed successfully {"connection_id":144287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:55:43] local.INFO: Passing IMEI to GPS processor {"connection_id":144287,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:55:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":144287,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:55:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:55:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:55:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:55:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002382336001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1830572541638232064},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:55:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:55:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:55:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002382336001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:55:43] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:55:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:55:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:55:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638232064,"description":"Unknown IO ID 45"} 
[2026-07-27 20:55:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002382336001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638232064}} 
[2026-07-27 20:55:43] local.INFO: DEBUG: GPS processor result {"connection_id":144287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555390,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:55:43] local.INFO: GPS data processed {"connection_id":144287,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:55:43] local.INFO: Acknowledgment sent {"connection_id":144287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:55:59] local.INFO: TCP Data received {"connection_id":143153,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143153,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:55:59] local.INFO: Processing buffer {"connection_id":143153,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:55:59] local.INFO: IMEI packet received {"connection_id":143153,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 20:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":143153,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:56:04] local.INFO: TCP Data received {"connection_id":143153,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143153,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:56:04] local.INFO: Processing buffer {"connection_id":143153,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:56:04] local.INFO: IMEI packet received {"connection_id":143153,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 20:56:04] local.INFO: IMEI acknowledgment sent {"connection_id":143153,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:56:05] local.INFO: TCP Data received {"connection_id":143153,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa42d40e8012d196940071fee200045013126..."} 
[2026-07-27 20:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143153,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa42d40e8012d196940071fee200045013126..."} 
[2026-07-27 20:56:05] local.INFO: Processing buffer {"connection_id":143153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa42d40e8012d196940071fee200045013126..."} 
[2026-07-27 20:56:05] local.INFO: Packet analysis {"connection_id":143153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa42d"} 
[2026-07-27 20:56:05] local.INFO: Extracted packet for processing {"connection_id":143153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa42d"} 
[2026-07-27 20:56:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":69,"angle":305,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 20:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:56:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002382336001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:56:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 20:56:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638232064,"note":"Value kept but may cause issues"} 
[2026-07-27 20:56:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:56:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785165857000,"timestamp_ms":1785165857000,"timestamp_seconds":1785165857,"priority":1,"record_length":96,"hex_timestamp":"0000019fa42d40e8"} 
[2026-07-27 20:56:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:56:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 20:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-27 20:56:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:56:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:56:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:56:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:56:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:56:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:56:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:56:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:56:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:56:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:56:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002382336001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1830572541638232064},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:56:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:56:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:56:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002382336001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:56:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:56:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:56:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:56:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638232064,"description":"Unknown IO ID 45"} 
[2026-07-27 20:56:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002382336001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638232064}} 
[2026-07-27 20:56:05] local.INFO: DEBUG: GPS processor result {"connection_id":143153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555391,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:56:05] local.INFO: GPS data processed {"connection_id":143153,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:56:05] local.INFO: Acknowledgment sent {"connection_id":143153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:56:08] local.INFO: TCP Data received {"connection_id":144288,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa429ca30012daae14005ff08a8002f001420..."} 
[2026-07-27 20:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa429ca30012daae14005ff08a8002f001420..."} 
[2026-07-27 20:56:08] local.INFO: Processing buffer {"connection_id":144288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa429ca30012daae14005ff08a8002f001420..."} 
[2026-07-27 20:56:08] local.INFO: Packet analysis {"connection_id":144288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa429"} 
[2026-07-27 20:56:08] local.INFO: Extracted packet for processing {"connection_id":144288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa429"} 
[2026-07-27 20:56:08] local.INFO: GPS Element Parsed {"raw_longitude":766173504,"raw_latitude":100599976,"longitude_deg":76.6173504,"latitude_deg":10.0599976,"altitude":47,"angle":20,"satellites":32,"speed":0,"hex_longitude":"2daae140","hex_latitude":"05ff08a8","is_valid_coordinates":true} 
[2026-07-27 20:56:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:56:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002324224001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:56:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391576155226112,"note":"Value kept but may cause issues"} 
[2026-07-27 20:56:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133550823004133376,"note":"Value kept but may cause issues"} 
[2026-07-27 20:56:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:56:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785165630000,"timestamp_ms":1785165630000,"timestamp_seconds":1785165630,"priority":1,"record_length":96,"hex_timestamp":"0000019fa429ca30"} 
[2026-07-27 20:56:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:56:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-27 20:56:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:56:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:56:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:56:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:56:08] local.INFO: Teltonika packet parsed successfully {"connection_id":144288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:56:08] local.INFO: Passing IMEI to GPS processor {"connection_id":144288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:56:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":144288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:56:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:56:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 20:56:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 20:56:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002324224001,"66":26006,"118":206,"88":20480,"24":0,"16":359391576155226112,"45":-6133550823004133376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 20:56:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 20:56:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 20:56:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002324224001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:56:08] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 20:56:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 20:56:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391576155226112,"km_value":359391576155226.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:56:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133550823004133376,"description":"Unknown IO ID 45"} 
[2026-07-27 20:56:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002324224001,"power":26006,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133550823004133376}} 
[2026-07-27 20:56:08] local.INFO: DEBUG: GPS processor result {"connection_id":144288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:56:08] local.INFO: GPS data processed {"connection_id":144288,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:56:08] local.INFO: Acknowledgment sent {"connection_id":144288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:56:31] local.INFO: TCP Data received {"connection_id":143297,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:56:31] local.INFO: Processing buffer {"connection_id":143297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:56:31] local.INFO: IMEI packet received {"connection_id":143297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 20:56:31] local.INFO: IMEI acknowledgment sent {"connection_id":143297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:56:36] local.INFO: TCP Data received {"connection_id":143297,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:56:36] local.INFO: Processing buffer {"connection_id":143297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:56:36] local.INFO: IMEI packet received {"connection_id":143297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 20:56:36] local.INFO: IMEI acknowledgment sent {"connection_id":143297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:56:37] local.INFO: TCP Data received {"connection_id":143297,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa42e61f8012daae14005ff08a80020001422..."} 
[2026-07-27 20:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa42e61f8012daae14005ff08a80020001422..."} 
[2026-07-27 20:56:37] local.INFO: Processing buffer {"connection_id":143297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa42e61f8012daae14005ff08a80020001422..."} 
[2026-07-27 20:56:37] local.INFO: Packet analysis {"connection_id":143297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa42e"} 
[2026-07-27 20:56:37] local.INFO: Extracted packet for processing {"connection_id":143297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa42e"} 
[2026-07-27 20:56:37] local.INFO: GPS Element Parsed {"raw_longitude":766173504,"raw_latitude":100599976,"longitude_deg":76.6173504,"latitude_deg":10.0599976,"altitude":32,"angle":20,"satellites":34,"speed":0,"hex_longitude":"2daae140","hex_latitude":"05ff08a8","is_valid_coordinates":true} 
[2026-07-27 20:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002401280001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391576155226112,"note":"Value kept but may cause issues"} 
[2026-07-27 20:56:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133550823004133376,"note":"Value kept but may cause issues"} 
[2026-07-27 20:56:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785165931000,"timestamp_ms":1785165931000,"timestamp_seconds":1785165931,"priority":1,"record_length":96,"hex_timestamp":"0000019fa42e61f8"} 
[2026-07-27 20:56:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:56:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 20: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-27 20:56:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:56:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:56:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:56:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 20:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 20:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002401280001,"66":25908,"118":206,"88":20480,"24":0,"16":359391576155226112,"45":-6133550823004133376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 20:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 20:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 20:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002401280001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:56:37] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 20:56:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 20:56:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391576155226112,"km_value":359391576155226.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:56:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133550823004133376,"description":"Unknown IO ID 45"} 
[2026-07-27 20:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002401280001,"power":25908,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133550823004133376}} 
[2026-07-27 20:56:37] local.INFO: DEBUG: GPS processor result {"connection_id":143297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:56:37] local.INFO: GPS data processed {"connection_id":143297,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:56:37] local.INFO: Acknowledgment sent {"connection_id":143297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:56:37] local.INFO: TCP Data received {"connection_id":143153,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa42d40e8012d196940071fee200045013126..."} 
[2026-07-27 20:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143153,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa42d40e8012d196940071fee200045013126..."} 
[2026-07-27 20:56:37] local.INFO: Processing buffer {"connection_id":143153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa42d40e8012d196940071fee200045013126..."} 
[2026-07-27 20:56:37] local.INFO: Packet analysis {"connection_id":143153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa42d"} 
[2026-07-27 20:56:37] local.INFO: Extracted packet for processing {"connection_id":143153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa42d"} 
[2026-07-27 20:56:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":69,"angle":305,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 20:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002382336001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 20:56:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638232064,"note":"Value kept but may cause issues"} 
[2026-07-27 20:56:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785165857000,"timestamp_ms":1785165857000,"timestamp_seconds":1785165857,"priority":1,"record_length":96,"hex_timestamp":"0000019fa42d40e8"} 
[2026-07-27 20:56:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:56:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 20: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":9,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-27 20:56:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:56:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:56:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:56:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002382336001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1830572541638232064},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002382336001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:56:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:56:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:56:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:56:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638232064,"description":"Unknown IO ID 45"} 
[2026-07-27 20:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002382336001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638232064}} 
[2026-07-27 20:56:37] local.INFO: DEBUG: GPS processor result {"connection_id":143153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555394,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:56:37] local.INFO: GPS data processed {"connection_id":143153,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:56:37] local.INFO: Acknowledgment sent {"connection_id":143153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:56:59] local.INFO: TCP Data received {"connection_id":144289,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144289,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:56:59] local.INFO: Processing buffer {"connection_id":144289,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:56:59] local.INFO: IMEI packet received {"connection_id":144289,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 20:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":144289,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:57:04] local.INFO: TCP Data received {"connection_id":144289,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144289,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:57:04] local.INFO: Processing buffer {"connection_id":144289,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:57:04] local.INFO: IMEI packet received {"connection_id":144289,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 20:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":144289,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:57:05] local.INFO: TCP Data received {"connection_id":144289,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa42d40e8012d196940071fee200045013126..."} 
[2026-07-27 20:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa42d40e8012d196940071fee200045013126..."} 
[2026-07-27 20:57:05] local.INFO: Processing buffer {"connection_id":144289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa42d40e8012d196940071fee200045013126..."} 
[2026-07-27 20:57:05] local.INFO: Packet analysis {"connection_id":144289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa42d"} 
[2026-07-27 20:57:05] local.INFO: Extracted packet for processing {"connection_id":144289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa42d"} 
[2026-07-27 20:57:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":69,"angle":305,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 20:57:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:57:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002382336001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:57:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 20:57:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638232064,"note":"Value kept but may cause issues"} 
[2026-07-27 20:57:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:57:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785165857000,"timestamp_ms":1785165857000,"timestamp_seconds":1785165857,"priority":1,"record_length":96,"hex_timestamp":"0000019fa42d40e8"} 
[2026-07-27 20:57:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:57:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 20:57:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-27 20:57:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:57:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:57:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:57:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:57:05] local.INFO: Teltonika packet parsed successfully {"connection_id":144289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:57:05] local.INFO: Passing IMEI to GPS processor {"connection_id":144289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:57:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":144289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:57:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:57:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:57:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:57:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002382336001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1830572541638232064},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:57:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:57:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:57:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002382336001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:57:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:57:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:57:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:57:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638232064,"description":"Unknown IO ID 45"} 
[2026-07-27 20:57:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002382336001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638232064}} 
[2026-07-27 20:57:05] local.INFO: DEBUG: GPS processor result {"connection_id":144289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555395,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:57:05] local.INFO: GPS data processed {"connection_id":144289,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:57:05] local.INFO: Acknowledgment sent {"connection_id":144289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:57:08] local.INFO: TCP Data received {"connection_id":143297,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa42e61f8012daae14005ff08a80020001422..."} 
[2026-07-27 20:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa42e61f8012daae14005ff08a80020001422..."} 
[2026-07-27 20:57:08] local.INFO: Processing buffer {"connection_id":143297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa42e61f8012daae14005ff08a80020001422..."} 
[2026-07-27 20:57:08] local.INFO: Packet analysis {"connection_id":143297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa42e"} 
[2026-07-27 20:57:08] local.INFO: Extracted packet for processing {"connection_id":143297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa42e"} 
[2026-07-27 20:57:08] local.INFO: GPS Element Parsed {"raw_longitude":766173504,"raw_latitude":100599976,"longitude_deg":76.6173504,"latitude_deg":10.0599976,"altitude":32,"angle":20,"satellites":34,"speed":0,"hex_longitude":"2daae140","hex_latitude":"05ff08a8","is_valid_coordinates":true} 
[2026-07-27 20:57:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:57:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002401280001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:57:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391576155226112,"note":"Value kept but may cause issues"} 
[2026-07-27 20:57:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133550823004133376,"note":"Value kept but may cause issues"} 
[2026-07-27 20:57:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:57:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785165931000,"timestamp_ms":1785165931000,"timestamp_seconds":1785165931,"priority":1,"record_length":96,"hex_timestamp":"0000019fa42e61f8"} 
[2026-07-27 20:57:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:57:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 20: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-27 20:57:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:57:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:57:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:57:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:57:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:57:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:57:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:57:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:57:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 20:57:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 20:57:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002401280001,"66":25908,"118":206,"88":20480,"24":0,"16":359391576155226112,"45":-6133550823004133376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 20:57:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 20:57:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 20:57:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002401280001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:57:08] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 20:57:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 20:57:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391576155226112,"km_value":359391576155226.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:57:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133550823004133376,"description":"Unknown IO ID 45"} 
[2026-07-27 20:57:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002401280001,"power":25908,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133550823004133376}} 
[2026-07-27 20:57:08] local.INFO: DEBUG: GPS processor result {"connection_id":143297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:57:08] local.INFO: GPS data processed {"connection_id":143297,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:57:08] local.INFO: Acknowledgment sent {"connection_id":143297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:57:31] local.INFO: TCP Data received {"connection_id":143154,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:57:31] local.INFO: Processing buffer {"connection_id":143154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:57:31] local.INFO: IMEI packet received {"connection_id":143154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 20:57:31] local.INFO: IMEI acknowledgment sent {"connection_id":143154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:57:36] local.INFO: TCP Data received {"connection_id":143154,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:57:36] local.INFO: Processing buffer {"connection_id":143154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:57:36] local.INFO: IMEI packet received {"connection_id":143154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 20:57:36] local.INFO: IMEI acknowledgment sent {"connection_id":143154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:57:37] local.INFO: TCP Data received {"connection_id":143154,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa42e61f8012daae14005ff08a80020001422..."} 
[2026-07-27 20:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143154,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa42e61f8012daae14005ff08a80020001422..."} 
[2026-07-27 20:57:37] local.INFO: Processing buffer {"connection_id":143154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa42e61f8012daae14005ff08a80020001422..."} 
[2026-07-27 20:57:37] local.INFO: Packet analysis {"connection_id":143154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa42e"} 
[2026-07-27 20:57:37] local.INFO: Extracted packet for processing {"connection_id":143154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa42e"} 
[2026-07-27 20:57:37] local.INFO: GPS Element Parsed {"raw_longitude":766173504,"raw_latitude":100599976,"longitude_deg":76.6173504,"latitude_deg":10.0599976,"altitude":32,"angle":20,"satellites":34,"speed":0,"hex_longitude":"2daae140","hex_latitude":"05ff08a8","is_valid_coordinates":true} 
[2026-07-27 20:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:57:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002401280001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:57:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391576155226112,"note":"Value kept but may cause issues"} 
[2026-07-27 20:57:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133550823004133376,"note":"Value kept but may cause issues"} 
[2026-07-27 20:57:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:57:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785165931000,"timestamp_ms":1785165931000,"timestamp_seconds":1785165931,"priority":1,"record_length":96,"hex_timestamp":"0000019fa42e61f8"} 
[2026-07-27 20:57:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:57:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 20:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-27 20:57:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:57:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:57:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:57:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:57:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:57:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:57:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:57:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:57:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 20:57:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 20:57:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002401280001,"66":25908,"118":206,"88":20480,"24":0,"16":359391576155226112,"45":-6133550823004133376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 20:57:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 20:57:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 20:57:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002401280001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:57:37] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 20:57:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 20:57:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391576155226112,"km_value":359391576155226.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:57:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133550823004133376,"description":"Unknown IO ID 45"} 
[2026-07-27 20:57:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002401280001,"power":25908,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133550823004133376}} 
[2026-07-27 20:57:37] local.INFO: DEBUG: GPS processor result {"connection_id":143154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:57:37] local.INFO: GPS data processed {"connection_id":143154,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:57:37] local.INFO: Acknowledgment sent {"connection_id":143154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:57:37] local.INFO: TCP Data received {"connection_id":144289,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa42d40e8012d196940071fee200045013126..."} 
[2026-07-27 20:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa42d40e8012d196940071fee200045013126..."} 
[2026-07-27 20:57:37] local.INFO: Processing buffer {"connection_id":144289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa42d40e8012d196940071fee200045013126..."} 
[2026-07-27 20:57:37] local.INFO: Packet analysis {"connection_id":144289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa42d"} 
[2026-07-27 20:57:37] local.INFO: Extracted packet for processing {"connection_id":144289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa42d"} 
[2026-07-27 20:57:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":69,"angle":305,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 20:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:57:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002382336001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:57:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 20:57:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638232064,"note":"Value kept but may cause issues"} 
[2026-07-27 20:57:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:57:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785165857000,"timestamp_ms":1785165857000,"timestamp_seconds":1785165857,"priority":1,"record_length":96,"hex_timestamp":"0000019fa42d40e8"} 
[2026-07-27 20:57:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:57:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 20:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-27 20:57:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:57:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:57:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:57:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:57:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:57:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:57:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:57:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:57:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:57:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:57:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002382336001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1830572541638232064},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:57:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:57:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:57:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002382336001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:57:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:57:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:57:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:57:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638232064,"description":"Unknown IO ID 45"} 
[2026-07-27 20:57:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002382336001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638232064}} 
[2026-07-27 20:57:37] local.INFO: DEBUG: GPS processor result {"connection_id":144289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555398,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:57:37] local.INFO: GPS data processed {"connection_id":144289,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:57:37] local.INFO: Acknowledgment sent {"connection_id":144289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:57:38] local.INFO: TCP Data received {"connection_id":143155,"ip":"64.111.93.71","data_length":224,"data_hex":"504f5354202f20485454502f312e310d0a486f73743a2033372e32372e39322e..."} 
[2026-07-27 20:57:38] local.INFO: TCP Data received {"connection_id":144291,"ip":"64.111.93.71","data_length":188,"data_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-07-27 20:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143155,"packet_length":224,"packet_hex":"504f5354202f20485454502f312e310d0a486f73743a2033372e32372e39322e..."} 
[2026-07-27 20:57:38] local.INFO: Processing buffer {"connection_id":143155,"buffer_length":224,"buffer_hex":"504f5354202f20485454502f312e310d0a486f73743a2033372e32372e39322e..."} 
[2026-07-27 20:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144291,"packet_length":188,"packet_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-07-27 20:57:38] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":143155,"buffer_length":224,"first_bytes_hex":"504f5354202f20485454502f312e310d"} 
[2026-07-27 20:57:38] local.INFO: Processing buffer {"connection_id":144291,"buffer_length":188,"buffer_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-07-27 20:57:38] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":144291,"buffer_length":188,"first_bytes_hex":"474554202f20485454502f312e310d0a"} 
[2026-07-27 20:57:38] local.INFO: TCP Data received {"connection_id":143156,"ip":"64.111.93.71","data_length":231,"data_hex":"504f5354202f6a736f6e72706320485454502f312e310d0a486f73743a203337..."} 
[2026-07-27 20:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143156,"packet_length":231,"packet_hex":"504f5354202f6a736f6e72706320485454502f312e310d0a486f73743a203337..."} 
[2026-07-27 20:57:38] local.INFO: Processing buffer {"connection_id":143156,"buffer_length":231,"buffer_hex":"504f5354202f6a736f6e72706320485454502f312e310d0a486f73743a203337..."} 
[2026-07-27 20:57:38] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":143156,"buffer_length":231,"first_bytes_hex":"504f5354202f6a736f6e727063204854"} 
[2026-07-27 20:57:38] local.INFO: TCP Data received {"connection_id":144292,"ip":"64.111.93.71","data_length":236,"data_hex":"504f5354202f6578742f62632f432f72706320485454502f312e310d0a486f73..."} 
[2026-07-27 20:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144292,"packet_length":236,"packet_hex":"504f5354202f6578742f62632f432f72706320485454502f312e310d0a486f73..."} 
[2026-07-27 20:57:38] local.INFO: Processing buffer {"connection_id":144292,"buffer_length":236,"buffer_hex":"504f5354202f6578742f62632f432f72706320485454502f312e310d0a486f73..."} 
[2026-07-27 20:57:38] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":144292,"buffer_length":236,"first_bytes_hex":"504f5354202f6578742f62632f432f72"} 
[2026-07-27 20:57:38] local.INFO: TCP Data received {"connection_id":145569,"ip":"64.111.93.71","data_length":199,"data_hex":"474554202f6578742f62632f432f777320485454502f312e310d0a486f73743a..."} 
[2026-07-27 20:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145569,"packet_length":199,"packet_hex":"474554202f6578742f62632f432f777320485454502f312e310d0a486f73743a..."} 
[2026-07-27 20:57:38] local.INFO: Processing buffer {"connection_id":145569,"buffer_length":199,"buffer_hex":"474554202f6578742f62632f432f777320485454502f312e310d0a486f73743a..."} 
[2026-07-27 20:57:38] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":145569,"buffer_length":199,"first_bytes_hex":"474554202f6578742f62632f432f7773"} 
[2026-07-27 20:57:38] local.INFO: TCP Data received {"connection_id":143157,"ip":"64.111.93.71","data_length":213,"data_hex":"504f5354202f20485454502f312e310d0a486f73743a2033372e32372e39322e..."} 
[2026-07-27 20:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143157,"packet_length":213,"packet_hex":"504f5354202f20485454502f312e310d0a486f73743a2033372e32372e39322e..."} 
[2026-07-27 20:57:38] local.INFO: Processing buffer {"connection_id":143157,"buffer_length":213,"buffer_hex":"504f5354202f20485454502f312e310d0a486f73743a2033372e32372e39322e..."} 
[2026-07-27 20:57:38] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":143157,"buffer_length":213,"first_bytes_hex":"504f5354202f20485454502f312e310d"} 
[2026-07-27 20:57:38] local.INFO: TCP Data received {"connection_id":143158,"ip":"64.111.93.71","data_length":220,"data_hex":"504f5354202f6a736f6e72706320485454502f312e310d0a486f73743a203337..."} 
[2026-07-27 20:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143158,"packet_length":220,"packet_hex":"504f5354202f6a736f6e72706320485454502f312e310d0a486f73743a203337..."} 
[2026-07-27 20:57:38] local.INFO: Processing buffer {"connection_id":143158,"buffer_length":220,"buffer_hex":"504f5354202f6a736f6e72706320485454502f312e310d0a486f73743a203337..."} 
[2026-07-27 20:57:38] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":143158,"buffer_length":220,"first_bytes_hex":"504f5354202f6a736f6e727063204854"} 
[2026-07-27 20:57:38] local.INFO: TCP Data received {"connection_id":145570,"ip":"64.111.93.71","data_length":225,"data_hex":"504f5354202f6578742f62632f432f72706320485454502f312e310d0a486f73..."} 
[2026-07-27 20:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145570,"packet_length":225,"packet_hex":"504f5354202f6578742f62632f432f72706320485454502f312e310d0a486f73..."} 
[2026-07-27 20:57:38] local.INFO: Processing buffer {"connection_id":145570,"buffer_length":225,"buffer_hex":"504f5354202f6578742f62632f432f72706320485454502f312e310d0a486f73..."} 
[2026-07-27 20:57:38] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":145570,"buffer_length":225,"first_bytes_hex":"504f5354202f6578742f62632f432f72"} 
[2026-07-27 20:57:38] local.INFO: TCP Data received {"connection_id":145571,"ip":"64.111.93.71","data_length":221,"data_hex":"504f5354202f20485454502f312e310d0a486f73743a2033372e32372e39322e..."} 
[2026-07-27 20:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145571,"packet_length":221,"packet_hex":"504f5354202f20485454502f312e310d0a486f73743a2033372e32372e39322e..."} 
[2026-07-27 20:57:38] local.INFO: Processing buffer {"connection_id":145571,"buffer_length":221,"buffer_hex":"504f5354202f20485454502f312e310d0a486f73743a2033372e32372e39322e..."} 
[2026-07-27 20:57:38] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":145571,"buffer_length":221,"first_bytes_hex":"504f5354202f20485454502f312e310d"} 
[2026-07-27 20:57:38] local.INFO: TCP Data received {"connection_id":145572,"ip":"64.111.93.71","data_length":228,"data_hex":"504f5354202f6a736f6e72706320485454502f312e310d0a486f73743a203337..."} 
[2026-07-27 20:57:38] local.INFO: TCP Data received {"connection_id":144293,"ip":"64.111.93.71","data_length":233,"data_hex":"504f5354202f6578742f62632f432f72706320485454502f312e310d0a486f73..."} 
[2026-07-27 20:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145572,"packet_length":228,"packet_hex":"504f5354202f6a736f6e72706320485454502f312e310d0a486f73743a203337..."} 
[2026-07-27 20:57:38] local.INFO: Processing buffer {"connection_id":145572,"buffer_length":228,"buffer_hex":"504f5354202f6a736f6e72706320485454502f312e310d0a486f73743a203337..."} 
[2026-07-27 20:57:38] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":145572,"buffer_length":228,"first_bytes_hex":"504f5354202f6a736f6e727063204854"} 
[2026-07-27 20:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144293,"packet_length":233,"packet_hex":"504f5354202f6578742f62632f432f72706320485454502f312e310d0a486f73..."} 
[2026-07-27 20:57:38] local.INFO: Processing buffer {"connection_id":144293,"buffer_length":233,"buffer_hex":"504f5354202f6578742f62632f432f72706320485454502f312e310d0a486f73..."} 
[2026-07-27 20:57:38] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":144293,"buffer_length":233,"first_bytes_hex":"504f5354202f6578742f62632f432f72"} 
[2026-07-27 20:57:59] local.INFO: TCP Data received {"connection_id":145573,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145573,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:57:59] local.INFO: Processing buffer {"connection_id":145573,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:57:59] local.INFO: IMEI packet received {"connection_id":145573,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 20:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":145573,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:58:04] local.INFO: TCP Data received {"connection_id":145573,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145573,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:58:04] local.INFO: Processing buffer {"connection_id":145573,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:58:04] local.INFO: IMEI packet received {"connection_id":145573,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 20:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":145573,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:58:05] local.INFO: TCP Data received {"connection_id":145573,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa42d40e8012d196940071fee200045013126..."} 
[2026-07-27 20:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145573,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa42d40e8012d196940071fee200045013126..."} 
[2026-07-27 20:58:05] local.INFO: Processing buffer {"connection_id":145573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa42d40e8012d196940071fee200045013126..."} 
[2026-07-27 20:58:05] local.INFO: Packet analysis {"connection_id":145573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa42d"} 
[2026-07-27 20:58:05] local.INFO: Extracted packet for processing {"connection_id":145573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa42d"} 
[2026-07-27 20:58:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":69,"angle":305,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 20:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:58:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002382336001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:58:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 20:58:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638232064,"note":"Value kept but may cause issues"} 
[2026-07-27 20:58:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:58:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785165857000,"timestamp_ms":1785165857000,"timestamp_seconds":1785165857,"priority":1,"record_length":96,"hex_timestamp":"0000019fa42d40e8"} 
[2026-07-27 20:58:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:58:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 20:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-27 20:58:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:58:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:58:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:58:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:58:05] local.INFO: Teltonika packet parsed successfully {"connection_id":145573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:58:05] local.INFO: Passing IMEI to GPS processor {"connection_id":145573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:58:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":145573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:58:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:58:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:58:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:58:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002382336001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1830572541638232064},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:58:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:58:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:58:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002382336001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:58:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:58:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:58:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:58:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638232064,"description":"Unknown IO ID 45"} 
[2026-07-27 20:58:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002382336001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638232064}} 
[2026-07-27 20:58:05] local.INFO: DEBUG: GPS processor result {"connection_id":145573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555399,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:58:05] local.INFO: GPS data processed {"connection_id":145573,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:58:05] local.INFO: Acknowledgment sent {"connection_id":145573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:58:08] local.INFO: TCP Data received {"connection_id":143154,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa42e61f8012daae14005ff08a80020001422..."} 
[2026-07-27 20:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143154,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa42e61f8012daae14005ff08a80020001422..."} 
[2026-07-27 20:58:08] local.INFO: Processing buffer {"connection_id":143154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa42e61f8012daae14005ff08a80020001422..."} 
[2026-07-27 20:58:08] local.INFO: Packet analysis {"connection_id":143154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa42e"} 
[2026-07-27 20:58:08] local.INFO: Extracted packet for processing {"connection_id":143154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa42e"} 
[2026-07-27 20:58:08] local.INFO: GPS Element Parsed {"raw_longitude":766173504,"raw_latitude":100599976,"longitude_deg":76.6173504,"latitude_deg":10.0599976,"altitude":32,"angle":20,"satellites":34,"speed":0,"hex_longitude":"2daae140","hex_latitude":"05ff08a8","is_valid_coordinates":true} 
[2026-07-27 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-07-27 20:58:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002401280001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:58:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391576155226112,"note":"Value kept but may cause issues"} 
[2026-07-27 20:58:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133550823004133376,"note":"Value kept but may cause issues"} 
[2026-07-27 20:58:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:58:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785165931000,"timestamp_ms":1785165931000,"timestamp_seconds":1785165931,"priority":1,"record_length":96,"hex_timestamp":"0000019fa42e61f8"} 
[2026-07-27 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-07-27 20:58:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-27 20:58:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 20:58:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:58:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:58:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:58:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20: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-07-27 20:58:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 20:58:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 20:58:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002401280001,"66":25908,"118":206,"88":20480,"24":0,"16":359391576155226112,"45":-6133550823004133376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 20:58:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 20:58:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 20:58:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002401280001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:58:08] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 20:58:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 20:58:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391576155226112,"km_value":359391576155226.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:58:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133550823004133376,"description":"Unknown IO ID 45"} 
[2026-07-27 20:58:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002401280001,"power":25908,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133550823004133376}} 
[2026-07-27 20:58:08] local.INFO: DEBUG: GPS processor result {"connection_id":143154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:58:08] local.INFO: GPS data processed {"connection_id":143154,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:58:08] local.INFO: Acknowledgment sent {"connection_id":143154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:58:36] local.INFO: TCP Data received {"connection_id":143298,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:58:36] local.INFO: Processing buffer {"connection_id":143298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:58:36] local.INFO: IMEI packet received {"connection_id":143298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 20:58:36] local.INFO: IMEI acknowledgment sent {"connection_id":143298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:58:37] local.INFO: TCP Data received {"connection_id":145573,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa42d40e8012d196940071fee200045013126..."} 
[2026-07-27 20:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145573,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa42d40e8012d196940071fee200045013126..."} 
[2026-07-27 20:58:37] local.INFO: Processing buffer {"connection_id":145573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa42d40e8012d196940071fee200045013126..."} 
[2026-07-27 20:58:37] local.INFO: Packet analysis {"connection_id":145573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa42d"} 
[2026-07-27 20:58:37] local.INFO: Extracted packet for processing {"connection_id":145573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa42d"} 
[2026-07-27 20:58:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":69,"angle":305,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 20:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:58:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002382336001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:58:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 20:58:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638232064,"note":"Value kept but may cause issues"} 
[2026-07-27 20:58:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:58:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785165857000,"timestamp_ms":1785165857000,"timestamp_seconds":1785165857,"priority":1,"record_length":96,"hex_timestamp":"0000019fa42d40e8"} 
[2026-07-27 20:58:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:58:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 20:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-27 20:58:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:58:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:58:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:58:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:58:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:58:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:58:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:58:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:58:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:58:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:58:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002382336001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1830572541638232064},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:58:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:58:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:58:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002382336001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:58:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:58:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:58:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:58:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638232064,"description":"Unknown IO ID 45"} 
[2026-07-27 20:58:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002382336001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638232064}} 
[2026-07-27 20:58:37] local.INFO: DEBUG: GPS processor result {"connection_id":145573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555401,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:58:37] local.INFO: GPS data processed {"connection_id":145573,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:58:37] local.INFO: Acknowledgment sent {"connection_id":145573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:58:41] local.INFO: TCP Data received {"connection_id":143298,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:58:41] local.INFO: Processing buffer {"connection_id":143298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:58:41] local.INFO: IMEI packet received {"connection_id":143298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 20:58:41] local.INFO: IMEI acknowledgment sent {"connection_id":143298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:58:42] local.INFO: TCP Data received {"connection_id":143298,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa42e61f8012daae14005ff08a80020001422..."} 
[2026-07-27 20:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143298,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa42e61f8012daae14005ff08a80020001422..."} 
[2026-07-27 20:58:42] local.INFO: Processing buffer {"connection_id":143298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa42e61f8012daae14005ff08a80020001422..."} 
[2026-07-27 20:58:42] local.INFO: Packet analysis {"connection_id":143298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa42e"} 
[2026-07-27 20:58:42] local.INFO: Extracted packet for processing {"connection_id":143298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa42e"} 
[2026-07-27 20:58:42] local.INFO: GPS Element Parsed {"raw_longitude":766173504,"raw_latitude":100599976,"longitude_deg":76.6173504,"latitude_deg":10.0599976,"altitude":32,"angle":20,"satellites":34,"speed":0,"hex_longitude":"2daae140","hex_latitude":"05ff08a8","is_valid_coordinates":true} 
[2026-07-27 20:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:58:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002401280001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:58:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391576155226112,"note":"Value kept but may cause issues"} 
[2026-07-27 20:58:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133550823004133376,"note":"Value kept but may cause issues"} 
[2026-07-27 20:58:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:58:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785165931000,"timestamp_ms":1785165931000,"timestamp_seconds":1785165931,"priority":1,"record_length":96,"hex_timestamp":"0000019fa42e61f8"} 
[2026-07-27 20:58:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:58:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 20: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-27 20:58:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:58:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:58:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:58:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:58:42] local.INFO: Teltonika packet parsed successfully {"connection_id":143298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:58:42] local.INFO: Passing IMEI to GPS processor {"connection_id":143298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:58:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":143298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:58:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:58:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 20:58:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 20:58:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002401280001,"66":25908,"118":206,"88":20480,"24":0,"16":359391576155226112,"45":-6133550823004133376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 20:58:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 20:58:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 20:58:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002401280001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:58:42] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 20:58:42] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 20:58:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391576155226112,"km_value":359391576155226.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:58:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133550823004133376,"description":"Unknown IO ID 45"} 
[2026-07-27 20:58:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002401280001,"power":25908,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133550823004133376}} 
[2026-07-27 20:58:42] local.INFO: DEBUG: GPS processor result {"connection_id":143298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:58:42] local.INFO: GPS data processed {"connection_id":143298,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:58:42] local.INFO: Acknowledgment sent {"connection_id":143298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:58:46] local.INFO: TCP Data received {"connection_id":143298,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa42e61f8012daae14005ff08a80020001422..."} 
[2026-07-27 20:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143298,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa42e61f8012daae14005ff08a80020001422..."} 
[2026-07-27 20:58:46] local.INFO: Processing buffer {"connection_id":143298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa42e61f8012daae14005ff08a80020001422..."} 
[2026-07-27 20:58:46] local.INFO: Packet analysis {"connection_id":143298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa42e"} 
[2026-07-27 20:58:46] local.INFO: Extracted packet for processing {"connection_id":143298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa42e"} 
[2026-07-27 20:58:46] local.INFO: GPS Element Parsed {"raw_longitude":766173504,"raw_latitude":100599976,"longitude_deg":76.6173504,"latitude_deg":10.0599976,"altitude":32,"angle":20,"satellites":34,"speed":0,"hex_longitude":"2daae140","hex_latitude":"05ff08a8","is_valid_coordinates":true} 
[2026-07-27 20:58:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:58:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002401280001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:58:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391576155226112,"note":"Value kept but may cause issues"} 
[2026-07-27 20:58:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133550823004133376,"note":"Value kept but may cause issues"} 
[2026-07-27 20:58:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:58:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785165931000,"timestamp_ms":1785165931000,"timestamp_seconds":1785165931,"priority":1,"record_length":96,"hex_timestamp":"0000019fa42e61f8"} 
[2026-07-27 20:58:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:58:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 20:58:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-27 20:58:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:58:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:58:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:58:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:58:46] local.INFO: Teltonika packet parsed successfully {"connection_id":143298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:58:46] local.INFO: Passing IMEI to GPS processor {"connection_id":143298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:58:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":143298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:58:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:58:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 20:58:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 20:58:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002401280001,"66":25908,"118":206,"88":20480,"24":0,"16":359391576155226112,"45":-6133550823004133376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 20:58:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 20:58:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 20:58:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002401280001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:58:46] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 20:58:46] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 20:58:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391576155226112,"km_value":359391576155226.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:58:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133550823004133376,"description":"Unknown IO ID 45"} 
[2026-07-27 20:58:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002401280001,"power":25908,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133550823004133376}} 
[2026-07-27 20:58:46] local.INFO: DEBUG: GPS processor result {"connection_id":143298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:58:46] local.INFO: GPS data processed {"connection_id":143298,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:58:46] local.INFO: Acknowledgment sent {"connection_id":143298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:58:59] local.INFO: TCP Data received {"connection_id":143159,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143159,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:58:59] local.INFO: Processing buffer {"connection_id":143159,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:58:59] local.INFO: IMEI packet received {"connection_id":143159,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 20:58:59] local.INFO: IMEI acknowledgment sent {"connection_id":143159,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:59:04] local.INFO: TCP Data received {"connection_id":143159,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143159,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:59:04] local.INFO: Processing buffer {"connection_id":143159,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:59:04] local.INFO: IMEI packet received {"connection_id":143159,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 20:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":143159,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:59:05] local.INFO: TCP Data received {"connection_id":143159,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa42d40e8012d196940071fee200045013126..."} 
[2026-07-27 20:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa42d40e8012d196940071fee200045013126..."} 
[2026-07-27 20:59:05] local.INFO: Processing buffer {"connection_id":143159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa42d40e8012d196940071fee200045013126..."} 
[2026-07-27 20:59:05] local.INFO: Packet analysis {"connection_id":143159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa42d"} 
[2026-07-27 20:59:05] local.INFO: Extracted packet for processing {"connection_id":143159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa42d"} 
[2026-07-27 20:59:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":69,"angle":305,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 20:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:59:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002382336001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:59:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 20:59:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638232064,"note":"Value kept but may cause issues"} 
[2026-07-27 20:59:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:59:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785165857000,"timestamp_ms":1785165857000,"timestamp_seconds":1785165857,"priority":1,"record_length":96,"hex_timestamp":"0000019fa42d40e8"} 
[2026-07-27 20:59:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:59:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 20:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-27 20:59:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:59:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:59:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:59:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:59:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:59:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:59:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:59:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:59:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:59:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:59:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002382336001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1830572541638232064},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:59:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:59:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:59:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002382336001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:59:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:59:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:59:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:59:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638232064,"description":"Unknown IO ID 45"} 
[2026-07-27 20:59:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002382336001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638232064}} 
[2026-07-27 20:59:06] local.INFO: DEBUG: GPS processor result {"connection_id":143159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555404,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:59:06] local.INFO: GPS data processed {"connection_id":143159,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:59:06] local.INFO: Acknowledgment sent {"connection_id":143159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:59:31] local.INFO: TCP Data received {"connection_id":143299,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:59:31] local.INFO: Processing buffer {"connection_id":143299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:59:31] local.INFO: IMEI packet received {"connection_id":143299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 20:59:31] local.INFO: IMEI acknowledgment sent {"connection_id":143299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 20:59:36] local.INFO: TCP Data received {"connection_id":143299,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:59:36] local.INFO: Processing buffer {"connection_id":143299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 20:59:36] local.INFO: IMEI packet received {"connection_id":143299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 20:59:36] local.INFO: IMEI acknowledgment sent {"connection_id":143299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 20:59:37] local.INFO: TCP Data received {"connection_id":143299,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa42e61f8012daae14005ff08a80020001422..."} 
[2026-07-27 20:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa42e61f8012daae14005ff08a80020001422..."} 
[2026-07-27 20:59:37] local.INFO: Processing buffer {"connection_id":143299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa42e61f8012daae14005ff08a80020001422..."} 
[2026-07-27 20:59:37] local.INFO: Packet analysis {"connection_id":143299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa42e"} 
[2026-07-27 20:59:37] local.INFO: Extracted packet for processing {"connection_id":143299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa42e"} 
[2026-07-27 20:59:37] local.INFO: GPS Element Parsed {"raw_longitude":766173504,"raw_latitude":100599976,"longitude_deg":76.6173504,"latitude_deg":10.0599976,"altitude":32,"angle":20,"satellites":34,"speed":0,"hex_longitude":"2daae140","hex_latitude":"05ff08a8","is_valid_coordinates":true} 
[2026-07-27 20:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:59:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002401280001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:59:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391576155226112,"note":"Value kept but may cause issues"} 
[2026-07-27 20:59:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133550823004133376,"note":"Value kept but may cause issues"} 
[2026-07-27 20:59:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:59:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785165931000,"timestamp_ms":1785165931000,"timestamp_seconds":1785165931,"priority":1,"record_length":96,"hex_timestamp":"0000019fa42e61f8"} 
[2026-07-27 20:59:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:59:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 20:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-27 20:59:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:59:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:59:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:59:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:59:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:59:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:59:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 20:59:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:59:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 20:59:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 20:59:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002401280001,"66":25908,"118":206,"88":20480,"24":0,"16":359391576155226112,"45":-6133550823004133376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 20:59:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 20:59:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 20:59:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002401280001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:59:37] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 20:59:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 20:59:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391576155226112,"km_value":359391576155226.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:59:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133550823004133376,"description":"Unknown IO ID 45"} 
[2026-07-27 20:59:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002401280001,"power":25908,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133550823004133376}} 
[2026-07-27 20:59:37] local.INFO: DEBUG: GPS processor result {"connection_id":143299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:59:37] local.INFO: GPS data processed {"connection_id":143299,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:59:37] local.INFO: Acknowledgment sent {"connection_id":143299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:59:37] local.INFO: TCP Data received {"connection_id":143159,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa42d40e8012d196940071fee200045013126..."} 
[2026-07-27 20:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa42d40e8012d196940071fee200045013126..."} 
[2026-07-27 20:59:37] local.INFO: Processing buffer {"connection_id":143159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa42d40e8012d196940071fee200045013126..."} 
[2026-07-27 20:59:37] local.INFO: Packet analysis {"connection_id":143159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa42d"} 
[2026-07-27 20:59:37] local.INFO: Extracted packet for processing {"connection_id":143159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa42d"} 
[2026-07-27 20:59:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":69,"angle":305,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 20:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 20:59:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002382336001,"note":"Value kept but may cause issues"} 
[2026-07-27 20:59:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 20:59:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638232064,"note":"Value kept but may cause issues"} 
[2026-07-27 20:59:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 20:59:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785165857000,"timestamp_ms":1785165857000,"timestamp_seconds":1785165857,"priority":1,"record_length":96,"hex_timestamp":"0000019fa42d40e8"} 
[2026-07-27 20:59:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 20:59:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 20:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-27 20:59:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 20:59:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 20:59:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 20:59:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 20:59:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 20:59:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:59:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 20:59:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 20:59:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 20:59:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 20:59:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002382336001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1830572541638232064},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 20:59:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 20:59:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 20:59:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002382336001,"description":"Unknown IO ID 0"} 
[2026-07-27 20:59:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 20:59:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 20:59:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 20:59:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638232064,"description":"Unknown IO ID 45"} 
[2026-07-27 20:59:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002382336001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638232064}} 
[2026-07-27 20:59:37] local.INFO: DEBUG: GPS processor result {"connection_id":143159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555406,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 20:59:37] local.INFO: GPS data processed {"connection_id":143159,"processed":1,"errors":0,"total":1} 
[2026-07-27 20:59:37] local.INFO: Acknowledgment sent {"connection_id":143159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 20:59:59] local.INFO: TCP Data received {"connection_id":145574,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145574,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:59:59] local.INFO: Processing buffer {"connection_id":145574,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 20:59:59] local.INFO: IMEI packet received {"connection_id":145574,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 20:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":145574,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:00:04] local.INFO: TCP Data received {"connection_id":145574,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145574,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:00:04] local.INFO: Processing buffer {"connection_id":145574,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:00:04] local.INFO: IMEI packet received {"connection_id":145574,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 21:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":145574,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:00:05] local.INFO: TCP Data received {"connection_id":145574,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa431d8b0012d196940071fee200045013125..."} 
[2026-07-27 21:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145574,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa431d8b0012d196940071fee200045013125..."} 
[2026-07-27 21:00:05] local.INFO: Processing buffer {"connection_id":145574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa431d8b0012d196940071fee200045013125..."} 
[2026-07-27 21:00:05] local.INFO: Packet analysis {"connection_id":145574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa431"} 
[2026-07-27 21:00:05] local.INFO: Extracted packet for processing {"connection_id":145574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa431"} 
[2026-07-27 21:00:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":69,"angle":305,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 21:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002459392001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:00:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 21:00:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:00:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:00:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785166158000,"timestamp_ms":1785166158000,"timestamp_seconds":1785166158,"priority":1,"record_length":96,"hex_timestamp":"0000019fa431d8b0"} 
[2026-07-27 21:00:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:00:05] 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-07-27 21:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 21:00:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:00:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:00:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:00:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:00:05] local.INFO: Teltonika packet parsed successfully {"connection_id":145574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:00:05] local.INFO: Passing IMEI to GPS processor {"connection_id":145574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:00:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":145574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:00:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:00:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 21:00:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 21:00:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002459392001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 21:00:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 21:00:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 21:00:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002459392001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:00:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 21:00:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 21:00:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:00:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:00:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002459392001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 21:00:05] local.INFO: DEBUG: GPS processor result {"connection_id":145574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555407,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:00:05] local.INFO: GPS data processed {"connection_id":145574,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:00:05] local.INFO: Acknowledgment sent {"connection_id":145574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:00:08] local.INFO: TCP Data received {"connection_id":143299,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa42e61f8012daae14005ff08a80020001422..."} 
[2026-07-27 21:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa42e61f8012daae14005ff08a80020001422..."} 
[2026-07-27 21:00:08] local.INFO: Processing buffer {"connection_id":143299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa42e61f8012daae14005ff08a80020001422..."} 
[2026-07-27 21:00:08] local.INFO: Packet analysis {"connection_id":143299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa42e"} 
[2026-07-27 21:00:08] local.INFO: Extracted packet for processing {"connection_id":143299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa42e"} 
[2026-07-27 21:00:08] local.INFO: GPS Element Parsed {"raw_longitude":766173504,"raw_latitude":100599976,"longitude_deg":76.6173504,"latitude_deg":10.0599976,"altitude":32,"angle":20,"satellites":34,"speed":0,"hex_longitude":"2daae140","hex_latitude":"05ff08a8","is_valid_coordinates":true} 
[2026-07-27 21:00:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:00:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002401280001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:00:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391576155226112,"note":"Value kept but may cause issues"} 
[2026-07-27 21:00:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133550823004133376,"note":"Value kept but may cause issues"} 
[2026-07-27 21:00:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:00:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785165931000,"timestamp_ms":1785165931000,"timestamp_seconds":1785165931,"priority":1,"record_length":96,"hex_timestamp":"0000019fa42e61f8"} 
[2026-07-27 21:00:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:00:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-27 21:00:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:00:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:00:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:00:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:00:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:00:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:00:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:00:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:00:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:00:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:00:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002401280001,"66":25908,"118":206,"88":20480,"24":0,"16":359391576155226112,"45":-6133550823004133376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 21:00:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:00:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:00:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002401280001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:00:08] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 21:00:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 21:00:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391576155226112,"km_value":359391576155226.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:00:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133550823004133376,"description":"Unknown IO ID 45"} 
[2026-07-27 21:00:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002401280001,"power":25908,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133550823004133376}} 
[2026-07-27 21:00:08] local.INFO: DEBUG: GPS processor result {"connection_id":143299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:00:08] local.INFO: GPS data processed {"connection_id":143299,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:00:08] local.INFO: Acknowledgment sent {"connection_id":143299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:00:31] local.INFO: TCP Data received {"connection_id":145575,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:00:31] local.INFO: Processing buffer {"connection_id":145575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:00:31] local.INFO: IMEI packet received {"connection_id":145575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 21:00:31] local.INFO: IMEI acknowledgment sent {"connection_id":145575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:00:36] local.INFO: TCP Data received {"connection_id":145575,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:00:36] local.INFO: Processing buffer {"connection_id":145575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:00:36] local.INFO: IMEI packet received {"connection_id":145575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 21:00:36] local.INFO: IMEI acknowledgment sent {"connection_id":145575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:00:37] local.INFO: TCP Data received {"connection_id":145575,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa42e61f8012daae14005ff08a80020001422..."} 
[2026-07-27 21:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145575,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa42e61f8012daae14005ff08a80020001422..."} 
[2026-07-27 21:00:37] local.INFO: Processing buffer {"connection_id":145575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa42e61f8012daae14005ff08a80020001422..."} 
[2026-07-27 21:00:37] local.INFO: Packet analysis {"connection_id":145575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa42e"} 
[2026-07-27 21:00:37] local.INFO: Extracted packet for processing {"connection_id":145575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa42e"} 
[2026-07-27 21:00:37] local.INFO: GPS Element Parsed {"raw_longitude":766173504,"raw_latitude":100599976,"longitude_deg":76.6173504,"latitude_deg":10.0599976,"altitude":32,"angle":20,"satellites":34,"speed":0,"hex_longitude":"2daae140","hex_latitude":"05ff08a8","is_valid_coordinates":true} 
[2026-07-27 21:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002401280001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391576155226112,"note":"Value kept but may cause issues"} 
[2026-07-27 21:00:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133550823004133376,"note":"Value kept but may cause issues"} 
[2026-07-27 21:00:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785165931000,"timestamp_ms":1785165931000,"timestamp_seconds":1785165931,"priority":1,"record_length":96,"hex_timestamp":"0000019fa42e61f8"} 
[2026-07-27 21:00:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:00:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-27 21:00:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:00:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:00:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:00:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:00:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002401280001,"66":25908,"118":206,"88":20480,"24":0,"16":359391576155226112,"45":-6133550823004133376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 21:00:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:00:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:00:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002401280001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:00:37] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 21:00:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 21:00:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391576155226112,"km_value":359391576155226.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:00:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133550823004133376,"description":"Unknown IO ID 45"} 
[2026-07-27 21:00:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002401280001,"power":25908,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133550823004133376}} 
[2026-07-27 21:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":145575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:00:37] local.INFO: GPS data processed {"connection_id":145575,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:00:37] local.INFO: Acknowledgment sent {"connection_id":145575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:00:37] local.INFO: TCP Data received {"connection_id":145574,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa431d8b0012d196940071fee200045013125..."} 
[2026-07-27 21:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145574,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa431d8b0012d196940071fee200045013125..."} 
[2026-07-27 21:00:37] local.INFO: Processing buffer {"connection_id":145574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa431d8b0012d196940071fee200045013125..."} 
[2026-07-27 21:00:37] local.INFO: Packet analysis {"connection_id":145574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa431"} 
[2026-07-27 21:00:37] local.INFO: Extracted packet for processing {"connection_id":145574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa431"} 
[2026-07-27 21:00:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":69,"angle":305,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 21:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002459392001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 21:00:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:00:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785166158000,"timestamp_ms":1785166158000,"timestamp_seconds":1785166158,"priority":1,"record_length":96,"hex_timestamp":"0000019fa431d8b0"} 
[2026-07-27 21:00:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:00:37] 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-07-27 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 21:00:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:00:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:00:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:00:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 21:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 21:00:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002459392001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 21:00:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 21:00:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 21:00:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002459392001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:00:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 21:00:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 21:00:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:00:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:00:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002459392001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 21:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":145574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555410,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:00:37] local.INFO: GPS data processed {"connection_id":145574,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:00:37] local.INFO: Acknowledgment sent {"connection_id":145574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:00:52] local.INFO: TCP Data received {"connection_id":144290,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 21:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144290,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 21:00:52] local.INFO: Processing buffer {"connection_id":144290,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 21:00:52] local.INFO: IMEI packet received {"connection_id":144290,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 21:00:52] local.INFO: IMEI acknowledgment sent {"connection_id":144290,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:01:04] local.INFO: TCP Data received {"connection_id":143300,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143300,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:01:04] local.INFO: Processing buffer {"connection_id":143300,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:01:04] local.INFO: IMEI packet received {"connection_id":143300,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 21:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":143300,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:01:08] local.INFO: TCP Data received {"connection_id":145575,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa42e61f8012daae14005ff08a80020001422..."} 
[2026-07-27 21:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145575,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa42e61f8012daae14005ff08a80020001422..."} 
[2026-07-27 21:01:08] local.INFO: Processing buffer {"connection_id":145575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa42e61f8012daae14005ff08a80020001422..."} 
[2026-07-27 21:01:08] local.INFO: Packet analysis {"connection_id":145575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa42e"} 
[2026-07-27 21:01:08] local.INFO: Extracted packet for processing {"connection_id":145575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa42e"} 
[2026-07-27 21:01:08] local.INFO: GPS Element Parsed {"raw_longitude":766173504,"raw_latitude":100599976,"longitude_deg":76.6173504,"latitude_deg":10.0599976,"altitude":32,"angle":20,"satellites":34,"speed":0,"hex_longitude":"2daae140","hex_latitude":"05ff08a8","is_valid_coordinates":true} 
[2026-07-27 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-07-27 21:01:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002401280001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:01:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391576155226112,"note":"Value kept but may cause issues"} 
[2026-07-27 21:01:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133550823004133376,"note":"Value kept but may cause issues"} 
[2026-07-27 21:01:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:01:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785165931000,"timestamp_ms":1785165931000,"timestamp_seconds":1785165931,"priority":1,"record_length":96,"hex_timestamp":"0000019fa42e61f8"} 
[2026-07-27 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-07-27 21:01:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-27 21:01:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 21:01:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:01:08] local.INFO: Teltonika packet parsed successfully {"connection_id":145575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:01:08] local.INFO: Passing IMEI to GPS processor {"connection_id":145575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:01:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":145575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:01:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:01:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:01:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:01:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002401280001,"66":25908,"118":206,"88":20480,"24":0,"16":359391576155226112,"45":-6133550823004133376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 21:01:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:01:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:01:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002401280001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:01:08] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 21:01:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 21:01:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391576155226112,"km_value":359391576155226.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:01:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133550823004133376,"description":"Unknown IO ID 45"} 
[2026-07-27 21:01:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002401280001,"power":25908,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133550823004133376}} 
[2026-07-27 21:01:08] local.INFO: DEBUG: GPS processor result {"connection_id":145575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:01:08] local.INFO: GPS data processed {"connection_id":145575,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:01:08] local.INFO: Acknowledgment sent {"connection_id":145575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:01:09] local.INFO: TCP Data received {"connection_id":143300,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143300,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:01:09] local.INFO: Processing buffer {"connection_id":143300,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:01:09] local.INFO: IMEI packet received {"connection_id":143300,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 21:01:09] local.INFO: IMEI acknowledgment sent {"connection_id":143300,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:01:11] local.INFO: TCP Data received {"connection_id":143300,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa431d8b0012d196940071fee200045013125..."} 
[2026-07-27 21:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa431d8b0012d196940071fee200045013125..."} 
[2026-07-27 21:01:11] local.INFO: Processing buffer {"connection_id":143300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa431d8b0012d196940071fee200045013125..."} 
[2026-07-27 21:01:11] local.INFO: Packet analysis {"connection_id":143300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa431"} 
[2026-07-27 21:01:11] local.INFO: Extracted packet for processing {"connection_id":143300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa431"} 
[2026-07-27 21:01:11] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":69,"angle":305,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 21:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:01:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002459392001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:01:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 21:01:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:01:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:01:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785166158000,"timestamp_ms":1785166158000,"timestamp_seconds":1785166158,"priority":1,"record_length":96,"hex_timestamp":"0000019fa431d8b0"} 
[2026-07-27 21:01:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:01:11] 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-07-27 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 21:01:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:01:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:01:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:01:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:01:11] local.INFO: Teltonika packet parsed successfully {"connection_id":143300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:01:11] local.INFO: Passing IMEI to GPS processor {"connection_id":143300,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:01:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":143300,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:01:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:01:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 21:01:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 21:01:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002459392001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 21:01:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 21:01:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 21:01:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002459392001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:01:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 21:01:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 21:01:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:01:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:01:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002459392001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 21:01:11] local.INFO: DEBUG: GPS processor result {"connection_id":143300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555412,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:01:11] local.INFO: GPS data processed {"connection_id":143300,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:01:11] local.INFO: Acknowledgment sent {"connection_id":143300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:01:31] local.INFO: TCP Data received {"connection_id":145576,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:01:31] local.INFO: Processing buffer {"connection_id":145576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:01:31] local.INFO: IMEI packet received {"connection_id":145576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 21:01:31] local.INFO: IMEI acknowledgment sent {"connection_id":145576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:01:36] local.INFO: TCP Data received {"connection_id":145576,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:01:36] local.INFO: Processing buffer {"connection_id":145576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:01:36] local.INFO: IMEI packet received {"connection_id":145576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 21:01:36] local.INFO: IMEI acknowledgment sent {"connection_id":145576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:01:37] local.INFO: TCP Data received {"connection_id":145576,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa432f9c0012daae14005ff08a8002000141f..."} 
[2026-07-27 21:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa432f9c0012daae14005ff08a8002000141f..."} 
[2026-07-27 21:01:37] local.INFO: Processing buffer {"connection_id":145576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa432f9c0012daae14005ff08a8002000141f..."} 
[2026-07-27 21:01:37] local.INFO: Packet analysis {"connection_id":145576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa432"} 
[2026-07-27 21:01:37] local.INFO: Extracted packet for processing {"connection_id":145576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa432"} 
[2026-07-27 21:01:37] local.INFO: GPS Element Parsed {"raw_longitude":766173504,"raw_latitude":100599976,"longitude_deg":76.6173504,"latitude_deg":10.0599976,"altitude":32,"angle":20,"satellites":31,"speed":0,"hex_longitude":"2daae140","hex_latitude":"05ff08a8","is_valid_coordinates":true} 
[2026-07-27 21:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002478336001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391576155226112,"note":"Value kept but may cause issues"} 
[2026-07-27 21:01:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133550823004133376,"note":"Value kept but may cause issues"} 
[2026-07-27 21:01:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785166232000,"timestamp_ms":1785166232000,"timestamp_seconds":1785166232,"priority":1,"record_length":96,"hex_timestamp":"0000019fa432f9c0"} 
[2026-07-27 21:01:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:01:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-27 21:01:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:01:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:01:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:01:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002478336001,"66":25832,"118":206,"88":20480,"24":0,"16":359391576155226112,"45":-6133550823004133376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 21:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002478336001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:01:37] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 21:01:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 21:01:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391576155226112,"km_value":359391576155226.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:01:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133550823004133376,"description":"Unknown IO ID 45"} 
[2026-07-27 21:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002478336001,"power":25832,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133550823004133376}} 
[2026-07-27 21:01:37] local.INFO: DEBUG: GPS processor result {"connection_id":145576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:01:37] local.INFO: GPS data processed {"connection_id":145576,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:01:37] local.INFO: Acknowledgment sent {"connection_id":145576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:01:42] local.INFO: TCP Data received {"connection_id":143300,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa431d8b0012d196940071fee200045013125..."} 
[2026-07-27 21:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa431d8b0012d196940071fee200045013125..."} 
[2026-07-27 21:01:42] local.INFO: Processing buffer {"connection_id":143300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa431d8b0012d196940071fee200045013125..."} 
[2026-07-27 21:01:42] local.INFO: Packet analysis {"connection_id":143300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa431"} 
[2026-07-27 21:01:42] local.INFO: Extracted packet for processing {"connection_id":143300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa431"} 
[2026-07-27 21:01:42] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":69,"angle":305,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 21:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:01:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002459392001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:01:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 21:01:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:01:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:01:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785166158000,"timestamp_ms":1785166158000,"timestamp_seconds":1785166158,"priority":1,"record_length":96,"hex_timestamp":"0000019fa431d8b0"} 
[2026-07-27 21:01:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:01: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-07-27 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 21:01:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:01:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:01:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:01:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:01:42] local.INFO: Teltonika packet parsed successfully {"connection_id":143300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:01:42] local.INFO: Passing IMEI to GPS processor {"connection_id":143300,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:01:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":143300,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:01:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:01:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 21:01:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 21:01:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002459392001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 21:01:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 21:01:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 21:01:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002459392001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:01:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 21:01:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 21:01:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:01:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:01:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002459392001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 21:01:43] local.INFO: DEBUG: GPS processor result {"connection_id":143300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555414,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:01:43] local.INFO: GPS data processed {"connection_id":143300,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:01:43] local.INFO: Acknowledgment sent {"connection_id":143300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:02:00] local.INFO: TCP Data received {"connection_id":143160,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143160,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:02:00] local.INFO: Processing buffer {"connection_id":143160,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:02:00] local.INFO: IMEI packet received {"connection_id":143160,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 21:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":143160,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:02:04] local.INFO: TCP Data received {"connection_id":143160,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143160,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:02:04] local.INFO: Processing buffer {"connection_id":143160,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:02:04] local.INFO: IMEI packet received {"connection_id":143160,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 21:02:04] local.INFO: IMEI acknowledgment sent {"connection_id":143160,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:02:07] local.INFO: TCP Data received {"connection_id":143160,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa431d8b0012d196940071fee200045013125..."} 
[2026-07-27 21:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143160,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa431d8b0012d196940071fee200045013125..."} 
[2026-07-27 21:02:07] local.INFO: Processing buffer {"connection_id":143160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa431d8b0012d196940071fee200045013125..."} 
[2026-07-27 21:02:07] local.INFO: Packet analysis {"connection_id":143160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa431"} 
[2026-07-27 21:02:07] local.INFO: Extracted packet for processing {"connection_id":143160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa431"} 
[2026-07-27 21:02:07] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":69,"angle":305,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 21:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:02:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002459392001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:02:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 21:02:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:02:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:02:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785166158000,"timestamp_ms":1785166158000,"timestamp_seconds":1785166158,"priority":1,"record_length":96,"hex_timestamp":"0000019fa431d8b0"} 
[2026-07-27 21:02:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:02:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 21:02:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:02:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:02:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:02:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:02:07] local.INFO: Teltonika packet parsed successfully {"connection_id":143160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:02:07] local.INFO: Passing IMEI to GPS processor {"connection_id":143160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:02:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":143160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:02:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:02:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 21:02:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 21:02:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002459392001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 21:02:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 21:02:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 21:02:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002459392001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:02:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 21:02:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 21:02:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:02:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:02:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002459392001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 21:02:08] local.INFO: DEBUG: GPS processor result {"connection_id":143160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555415,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:02:08] local.INFO: GPS data processed {"connection_id":143160,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:02:08] local.INFO: Acknowledgment sent {"connection_id":143160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:02:08] local.INFO: TCP Data received {"connection_id":145576,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa432f9c0012daae14005ff08a8002000141f..."} 
[2026-07-27 21:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa432f9c0012daae14005ff08a8002000141f..."} 
[2026-07-27 21:02:08] local.INFO: Processing buffer {"connection_id":145576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa432f9c0012daae14005ff08a8002000141f..."} 
[2026-07-27 21:02:08] local.INFO: Packet analysis {"connection_id":145576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa432"} 
[2026-07-27 21:02:08] local.INFO: Extracted packet for processing {"connection_id":145576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa432"} 
[2026-07-27 21:02:08] local.INFO: GPS Element Parsed {"raw_longitude":766173504,"raw_latitude":100599976,"longitude_deg":76.6173504,"latitude_deg":10.0599976,"altitude":32,"angle":20,"satellites":31,"speed":0,"hex_longitude":"2daae140","hex_latitude":"05ff08a8","is_valid_coordinates":true} 
[2026-07-27 21:02:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:02:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002478336001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:02:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391576155226112,"note":"Value kept but may cause issues"} 
[2026-07-27 21:02:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133550823004133376,"note":"Value kept but may cause issues"} 
[2026-07-27 21:02:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:02:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785166232000,"timestamp_ms":1785166232000,"timestamp_seconds":1785166232,"priority":1,"record_length":96,"hex_timestamp":"0000019fa432f9c0"} 
[2026-07-27 21:02:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:02:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-27 21:02:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:02:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:02:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:02:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:02:08] local.INFO: Teltonika packet parsed successfully {"connection_id":145576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:02:08] local.INFO: Passing IMEI to GPS processor {"connection_id":145576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:02:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":145576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:02:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:02:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:02:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:02:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002478336001,"66":25832,"118":206,"88":20480,"24":0,"16":359391576155226112,"45":-6133550823004133376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 21:02:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:02:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:02:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002478336001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:02:08] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 21:02:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 21:02:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391576155226112,"km_value":359391576155226.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:02:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133550823004133376,"description":"Unknown IO ID 45"} 
[2026-07-27 21:02:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002478336001,"power":25832,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133550823004133376}} 
[2026-07-27 21:02:08] local.INFO: DEBUG: GPS processor result {"connection_id":145576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:02:08] local.INFO: GPS data processed {"connection_id":145576,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:02:08] local.INFO: Acknowledgment sent {"connection_id":145576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:02:11] local.INFO: TCP Data received {"connection_id":143160,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa431d8b0012d196940071fee200045013125..."} 
[2026-07-27 21:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143160,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa431d8b0012d196940071fee200045013125..."} 
[2026-07-27 21:02:11] local.INFO: Processing buffer {"connection_id":143160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa431d8b0012d196940071fee200045013125..."} 
[2026-07-27 21:02:11] local.INFO: Packet analysis {"connection_id":143160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa431"} 
[2026-07-27 21:02:11] local.INFO: Extracted packet for processing {"connection_id":143160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa431"} 
[2026-07-27 21:02:11] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":69,"angle":305,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 21: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-07-27 21:02:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002459392001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:02:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 21:02:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:02:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:02:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785166158000,"timestamp_ms":1785166158000,"timestamp_seconds":1785166158,"priority":1,"record_length":96,"hex_timestamp":"0000019fa431d8b0"} 
[2026-07-27 21:02:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:02:11] 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-07-27 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 21:02:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21: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-07-27 21:02:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:02:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:02:11] local.INFO: Teltonika packet parsed successfully {"connection_id":143160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:02:11] local.INFO: Passing IMEI to GPS processor {"connection_id":143160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:02:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":143160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:02:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:02:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 21:02:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 21:02:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002459392001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 21:02:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 21:02:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 21:02:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002459392001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:02:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 21:02:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 21:02:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:02:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:02:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002459392001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 21:02:11] local.INFO: DEBUG: GPS processor result {"connection_id":143160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555417,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:02:11] local.INFO: GPS data processed {"connection_id":143160,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:02:11] local.INFO: Acknowledgment sent {"connection_id":143160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:02:31] local.INFO: TCP Data received {"connection_id":145577,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:02:31] local.INFO: Processing buffer {"connection_id":145577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:02:31] local.INFO: IMEI packet received {"connection_id":145577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 21:02:31] local.INFO: IMEI acknowledgment sent {"connection_id":145577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:02:36] local.INFO: TCP Data received {"connection_id":145577,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:02:36] local.INFO: Processing buffer {"connection_id":145577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:02:36] local.INFO: IMEI packet received {"connection_id":145577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 21:02:36] local.INFO: IMEI acknowledgment sent {"connection_id":145577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:02:37] local.INFO: TCP Data received {"connection_id":145577,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa432f9c0012daae14005ff08a8002000141f..."} 
[2026-07-27 21:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa432f9c0012daae14005ff08a8002000141f..."} 
[2026-07-27 21:02:37] local.INFO: Processing buffer {"connection_id":145577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa432f9c0012daae14005ff08a8002000141f..."} 
[2026-07-27 21:02:37] local.INFO: Packet analysis {"connection_id":145577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa432"} 
[2026-07-27 21:02:37] local.INFO: Extracted packet for processing {"connection_id":145577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa432"} 
[2026-07-27 21:02:37] local.INFO: GPS Element Parsed {"raw_longitude":766173504,"raw_latitude":100599976,"longitude_deg":76.6173504,"latitude_deg":10.0599976,"altitude":32,"angle":20,"satellites":31,"speed":0,"hex_longitude":"2daae140","hex_latitude":"05ff08a8","is_valid_coordinates":true} 
[2026-07-27 21:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002478336001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391576155226112,"note":"Value kept but may cause issues"} 
[2026-07-27 21:02:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133550823004133376,"note":"Value kept but may cause issues"} 
[2026-07-27 21:02:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785166232000,"timestamp_ms":1785166232000,"timestamp_seconds":1785166232,"priority":1,"record_length":96,"hex_timestamp":"0000019fa432f9c0"} 
[2026-07-27 21:02:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:02:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-27 21:02:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:02:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:02:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:02:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002478336001,"66":25832,"118":206,"88":20480,"24":0,"16":359391576155226112,"45":-6133550823004133376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 21:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002478336001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:02:37] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 21:02:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 21:02:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391576155226112,"km_value":359391576155226.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:02:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133550823004133376,"description":"Unknown IO ID 45"} 
[2026-07-27 21:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002478336001,"power":25832,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133550823004133376}} 
[2026-07-27 21:02:37] local.INFO: DEBUG: GPS processor result {"connection_id":145577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:02:37] local.INFO: GPS data processed {"connection_id":145577,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:02:37] local.INFO: Acknowledgment sent {"connection_id":145577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:02:42] local.INFO: TCP Data received {"connection_id":143160,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa431d8b0012d196940071fee200045013125..."} 
[2026-07-27 21:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143160,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa431d8b0012d196940071fee200045013125..."} 
[2026-07-27 21:02:42] local.INFO: Processing buffer {"connection_id":143160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa431d8b0012d196940071fee200045013125..."} 
[2026-07-27 21:02:42] local.INFO: Packet analysis {"connection_id":143160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa431"} 
[2026-07-27 21:02:42] local.INFO: Extracted packet for processing {"connection_id":143160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa431"} 
[2026-07-27 21:02:42] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":69,"angle":305,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 21: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-07-27 21:02:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002459392001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:02:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 21:02:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:02:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:02:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785166158000,"timestamp_ms":1785166158000,"timestamp_seconds":1785166158,"priority":1,"record_length":96,"hex_timestamp":"0000019fa431d8b0"} 
[2026-07-27 21:02:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:02: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-07-27 21:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 21:02:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21: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-07-27 21:02:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:02:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:02:42] local.INFO: Teltonika packet parsed successfully {"connection_id":143160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:02:42] local.INFO: Passing IMEI to GPS processor {"connection_id":143160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:02:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":143160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:02:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:02:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 21:02:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 21:02:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002459392001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 21:02:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 21:02:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 21:02:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002459392001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:02:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 21:02:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 21:02:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:02:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:02:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002459392001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 21:02:42] local.INFO: DEBUG: GPS processor result {"connection_id":143160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555419,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:02:42] local.INFO: GPS data processed {"connection_id":143160,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:02:42] local.INFO: Acknowledgment sent {"connection_id":143160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:02:59] local.INFO: TCP Data received {"connection_id":144295,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144295,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:02:59] local.INFO: Processing buffer {"connection_id":144295,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:02:59] local.INFO: IMEI packet received {"connection_id":144295,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 21:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":144295,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:03:04] local.INFO: TCP Data received {"connection_id":144295,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144295,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:03:04] local.INFO: Processing buffer {"connection_id":144295,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:03:04] local.INFO: IMEI packet received {"connection_id":144295,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 21:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":144295,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:03:05] local.INFO: TCP Data received {"connection_id":144295,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa431d8b0012d196940071fee200045013125..."} 
[2026-07-27 21:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144295,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa431d8b0012d196940071fee200045013125..."} 
[2026-07-27 21:03:05] local.INFO: Processing buffer {"connection_id":144295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa431d8b0012d196940071fee200045013125..."} 
[2026-07-27 21:03:05] local.INFO: Packet analysis {"connection_id":144295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa431"} 
[2026-07-27 21:03:05] local.INFO: Extracted packet for processing {"connection_id":144295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa431"} 
[2026-07-27 21:03:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":69,"angle":305,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 21:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:03:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002459392001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:03:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 21:03:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:03:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:03:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785166158000,"timestamp_ms":1785166158000,"timestamp_seconds":1785166158,"priority":1,"record_length":96,"hex_timestamp":"0000019fa431d8b0"} 
[2026-07-27 21:03:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:03:05] 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-07-27 21:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 21:03:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:03:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:03:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:03:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:03:05] local.INFO: Teltonika packet parsed successfully {"connection_id":144295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:03:05] local.INFO: Passing IMEI to GPS processor {"connection_id":144295,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:03:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":144295,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:03:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:03:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 21:03:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 21:03:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002459392001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 21:03:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 21:03:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 21:03:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002459392001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:03:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 21:03:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 21:03:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:03:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:03:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002459392001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 21:03:05] local.INFO: DEBUG: GPS processor result {"connection_id":144295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555420,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:03:05] local.INFO: GPS data processed {"connection_id":144295,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:03:05] local.INFO: Acknowledgment sent {"connection_id":144295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:03:08] local.INFO: TCP Data received {"connection_id":145577,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa432f9c0012daae14005ff08a8002000141f..."} 
[2026-07-27 21:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa432f9c0012daae14005ff08a8002000141f..."} 
[2026-07-27 21:03:08] local.INFO: Processing buffer {"connection_id":145577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa432f9c0012daae14005ff08a8002000141f..."} 
[2026-07-27 21:03:08] local.INFO: Packet analysis {"connection_id":145577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa432"} 
[2026-07-27 21:03:08] local.INFO: Extracted packet for processing {"connection_id":145577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa432"} 
[2026-07-27 21:03:08] local.INFO: GPS Element Parsed {"raw_longitude":766173504,"raw_latitude":100599976,"longitude_deg":76.6173504,"latitude_deg":10.0599976,"altitude":32,"angle":20,"satellites":31,"speed":0,"hex_longitude":"2daae140","hex_latitude":"05ff08a8","is_valid_coordinates":true} 
[2026-07-27 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-07-27 21:03:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002478336001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:03:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391576155226112,"note":"Value kept but may cause issues"} 
[2026-07-27 21:03:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133550823004133376,"note":"Value kept but may cause issues"} 
[2026-07-27 21:03:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:03:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785166232000,"timestamp_ms":1785166232000,"timestamp_seconds":1785166232,"priority":1,"record_length":96,"hex_timestamp":"0000019fa432f9c0"} 
[2026-07-27 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-07-27 21:03:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-27 21:03:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 21:03:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:03:08] local.INFO: Teltonika packet parsed successfully {"connection_id":145577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:03:08] local.INFO: Passing IMEI to GPS processor {"connection_id":145577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:03:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":145577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:03:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:03:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:03:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:03:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002478336001,"66":25832,"118":206,"88":20480,"24":0,"16":359391576155226112,"45":-6133550823004133376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 21:03:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:03:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:03:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002478336001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:03:08] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 21:03:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 21:03:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391576155226112,"km_value":359391576155226.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:03:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133550823004133376,"description":"Unknown IO ID 45"} 
[2026-07-27 21:03:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002478336001,"power":25832,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133550823004133376}} 
[2026-07-27 21:03:08] local.INFO: DEBUG: GPS processor result {"connection_id":145577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:03:08] local.INFO: GPS data processed {"connection_id":145577,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:03:08] local.INFO: Acknowledgment sent {"connection_id":145577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:03:31] local.INFO: TCP Data received {"connection_id":143161,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:03:31] local.INFO: Processing buffer {"connection_id":143161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:03:31] local.INFO: IMEI packet received {"connection_id":143161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 21:03:31] local.INFO: IMEI acknowledgment sent {"connection_id":143161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:03:36] local.INFO: TCP Data received {"connection_id":143161,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:03:36] local.INFO: Processing buffer {"connection_id":143161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:03:36] local.INFO: IMEI packet received {"connection_id":143161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 21:03:36] local.INFO: IMEI acknowledgment sent {"connection_id":143161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:03:37] local.INFO: TCP Data received {"connection_id":143161,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa432f9c0012daae14005ff08a8002000141f..."} 
[2026-07-27 21:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143161,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa432f9c0012daae14005ff08a8002000141f..."} 
[2026-07-27 21:03:37] local.INFO: Processing buffer {"connection_id":143161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa432f9c0012daae14005ff08a8002000141f..."} 
[2026-07-27 21:03:37] local.INFO: Packet analysis {"connection_id":143161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa432"} 
[2026-07-27 21:03:37] local.INFO: Extracted packet for processing {"connection_id":143161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa432"} 
[2026-07-27 21:03:37] local.INFO: GPS Element Parsed {"raw_longitude":766173504,"raw_latitude":100599976,"longitude_deg":76.6173504,"latitude_deg":10.0599976,"altitude":32,"angle":20,"satellites":31,"speed":0,"hex_longitude":"2daae140","hex_latitude":"05ff08a8","is_valid_coordinates":true} 
[2026-07-27 21:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:03:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002478336001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:03:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391576155226112,"note":"Value kept but may cause issues"} 
[2026-07-27 21:03:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133550823004133376,"note":"Value kept but may cause issues"} 
[2026-07-27 21:03:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:03:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785166232000,"timestamp_ms":1785166232000,"timestamp_seconds":1785166232,"priority":1,"record_length":96,"hex_timestamp":"0000019fa432f9c0"} 
[2026-07-27 21:03:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:03:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-27 21:03:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:03:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:03:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:03:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:03:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:03:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:03:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:03:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:03:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:03:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:03:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002478336001,"66":25832,"118":206,"88":20480,"24":0,"16":359391576155226112,"45":-6133550823004133376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 21:03:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:03:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:03:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002478336001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:03:37] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 21:03:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 21:03:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391576155226112,"km_value":359391576155226.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:03:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133550823004133376,"description":"Unknown IO ID 45"} 
[2026-07-27 21:03:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002478336001,"power":25832,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133550823004133376}} 
[2026-07-27 21:03:37] local.INFO: DEBUG: GPS processor result {"connection_id":143161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:03:37] local.INFO: GPS data processed {"connection_id":143161,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:03:37] local.INFO: Acknowledgment sent {"connection_id":143161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:03:37] local.INFO: TCP Data received {"connection_id":144295,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa431d8b0012d196940071fee200045013125..."} 
[2026-07-27 21:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144295,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa431d8b0012d196940071fee200045013125..."} 
[2026-07-27 21:03:37] local.INFO: Processing buffer {"connection_id":144295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa431d8b0012d196940071fee200045013125..."} 
[2026-07-27 21:03:37] local.INFO: Packet analysis {"connection_id":144295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa431"} 
[2026-07-27 21:03:37] local.INFO: Extracted packet for processing {"connection_id":144295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa431"} 
[2026-07-27 21:03:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":69,"angle":305,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 21:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:03:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002459392001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:03:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 21:03:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:03:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:03:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785166158000,"timestamp_ms":1785166158000,"timestamp_seconds":1785166158,"priority":1,"record_length":96,"hex_timestamp":"0000019fa431d8b0"} 
[2026-07-27 21:03:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:03:37] 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-07-27 21:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 21:03:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:03:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:03:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:03:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:03:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:03:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144295,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:03:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144295,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:03:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:03:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 21:03:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 21:03:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002459392001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 21:03:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 21:03:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 21:03:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002459392001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:03:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 21:03:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 21:03:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:03:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:03:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002459392001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 21:03:37] local.INFO: DEBUG: GPS processor result {"connection_id":144295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555423,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:03:37] local.INFO: GPS data processed {"connection_id":144295,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:03:37] local.INFO: Acknowledgment sent {"connection_id":144295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:03:59] local.INFO: TCP Data received {"connection_id":143162,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143162,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:03:59] local.INFO: Processing buffer {"connection_id":143162,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:03:59] local.INFO: IMEI packet received {"connection_id":143162,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 21:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":143162,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:04:04] local.INFO: TCP Data received {"connection_id":143162,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143162,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:04:04] local.INFO: Processing buffer {"connection_id":143162,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:04:04] local.INFO: IMEI packet received {"connection_id":143162,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 21:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":143162,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:04:05] local.INFO: TCP Data received {"connection_id":143162,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa431d8b0012d196940071fee200045013125..."} 
[2026-07-27 21:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa431d8b0012d196940071fee200045013125..."} 
[2026-07-27 21:04:05] local.INFO: Processing buffer {"connection_id":143162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa431d8b0012d196940071fee200045013125..."} 
[2026-07-27 21:04:05] local.INFO: Packet analysis {"connection_id":143162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa431"} 
[2026-07-27 21:04:05] local.INFO: Extracted packet for processing {"connection_id":143162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa431"} 
[2026-07-27 21:04:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":69,"angle":305,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 21:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:04:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002459392001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:04:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 21:04:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:04:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:04:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785166158000,"timestamp_ms":1785166158000,"timestamp_seconds":1785166158,"priority":1,"record_length":96,"hex_timestamp":"0000019fa431d8b0"} 
[2026-07-27 21:04:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:04:05] 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-07-27 21:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 21:04:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:04:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:04:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:04:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:04:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:04:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:04:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:04:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:04:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 21:04:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 21:04:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002459392001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 21:04:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 21:04:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 21:04:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002459392001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:04:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 21:04:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 21:04:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:04:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:04:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002459392001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 21:04:05] local.INFO: DEBUG: GPS processor result {"connection_id":143162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555424,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:04:05] local.INFO: GPS data processed {"connection_id":143162,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:04:05] local.INFO: Acknowledgment sent {"connection_id":143162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:04:09] local.INFO: TCP Data received {"connection_id":143161,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa432f9c0012daae14005ff08a8002000141f..."} 
[2026-07-27 21:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143161,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa432f9c0012daae14005ff08a8002000141f..."} 
[2026-07-27 21:04:09] local.INFO: Processing buffer {"connection_id":143161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa432f9c0012daae14005ff08a8002000141f..."} 
[2026-07-27 21:04:09] local.INFO: Packet analysis {"connection_id":143161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa432"} 
[2026-07-27 21:04:09] local.INFO: Extracted packet for processing {"connection_id":143161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa432"} 
[2026-07-27 21:04:09] local.INFO: GPS Element Parsed {"raw_longitude":766173504,"raw_latitude":100599976,"longitude_deg":76.6173504,"latitude_deg":10.0599976,"altitude":32,"angle":20,"satellites":31,"speed":0,"hex_longitude":"2daae140","hex_latitude":"05ff08a8","is_valid_coordinates":true} 
[2026-07-27 21:04:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:04:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002478336001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:04:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391576155226112,"note":"Value kept but may cause issues"} 
[2026-07-27 21:04:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133550823004133376,"note":"Value kept but may cause issues"} 
[2026-07-27 21:04:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:04:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785166232000,"timestamp_ms":1785166232000,"timestamp_seconds":1785166232,"priority":1,"record_length":96,"hex_timestamp":"0000019fa432f9c0"} 
[2026-07-27 21:04:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:04:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:04:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-27 21:04:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:04:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:04:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:04:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:04:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:04:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:04:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:04:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:04:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:04:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:04:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002478336001,"66":25832,"118":206,"88":20480,"24":0,"16":359391576155226112,"45":-6133550823004133376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 21:04:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:04:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:04:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002478336001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:04:09] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 21:04:09] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 21:04:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391576155226112,"km_value":359391576155226.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:04:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133550823004133376,"description":"Unknown IO ID 45"} 
[2026-07-27 21:04:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002478336001,"power":25832,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133550823004133376}} 
[2026-07-27 21:04:09] local.INFO: DEBUG: GPS processor result {"connection_id":143161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:04:09] local.INFO: GPS data processed {"connection_id":143161,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:04:09] local.INFO: Acknowledgment sent {"connection_id":143161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:04:31] local.INFO: TCP Data received {"connection_id":143301,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:04:31] local.INFO: Processing buffer {"connection_id":143301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:04:31] local.INFO: IMEI packet received {"connection_id":143301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 21:04:31] local.INFO: IMEI acknowledgment sent {"connection_id":143301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:04:36] local.INFO: TCP Data received {"connection_id":143301,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:04:36] local.INFO: Processing buffer {"connection_id":143301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:04:36] local.INFO: IMEI packet received {"connection_id":143301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 21:04:36] local.INFO: IMEI acknowledgment sent {"connection_id":143301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:04:37] local.INFO: TCP Data received {"connection_id":143301,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa432f9c0012daae14005ff08a8002000141f..."} 
[2026-07-27 21:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa432f9c0012daae14005ff08a8002000141f..."} 
[2026-07-27 21:04:37] local.INFO: Processing buffer {"connection_id":143301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa432f9c0012daae14005ff08a8002000141f..."} 
[2026-07-27 21:04:37] local.INFO: Packet analysis {"connection_id":143301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa432"} 
[2026-07-27 21:04:37] local.INFO: Extracted packet for processing {"connection_id":143301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa432"} 
[2026-07-27 21:04:37] local.INFO: GPS Element Parsed {"raw_longitude":766173504,"raw_latitude":100599976,"longitude_deg":76.6173504,"latitude_deg":10.0599976,"altitude":32,"angle":20,"satellites":31,"speed":0,"hex_longitude":"2daae140","hex_latitude":"05ff08a8","is_valid_coordinates":true} 
[2026-07-27 21:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:04:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002478336001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:04:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391576155226112,"note":"Value kept but may cause issues"} 
[2026-07-27 21:04:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133550823004133376,"note":"Value kept but may cause issues"} 
[2026-07-27 21:04:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:04:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785166232000,"timestamp_ms":1785166232000,"timestamp_seconds":1785166232,"priority":1,"record_length":96,"hex_timestamp":"0000019fa432f9c0"} 
[2026-07-27 21:04:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:04:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-27 21:04:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:04:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:04:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:04:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:04:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:04:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:04:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:04:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:04:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:04:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:04:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002478336001,"66":25832,"118":206,"88":20480,"24":0,"16":359391576155226112,"45":-6133550823004133376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 21:04:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:04:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:04:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002478336001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:04:37] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 21:04:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 21:04:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391576155226112,"km_value":359391576155226.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:04:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133550823004133376,"description":"Unknown IO ID 45"} 
[2026-07-27 21:04:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002478336001,"power":25832,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133550823004133376}} 
[2026-07-27 21:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":143301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:04:37] local.INFO: GPS data processed {"connection_id":143301,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:04:37] local.INFO: Acknowledgment sent {"connection_id":143301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:04:37] local.INFO: TCP Data received {"connection_id":143162,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa431d8b0012d196940071fee200045013125..."} 
[2026-07-27 21:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa431d8b0012d196940071fee200045013125..."} 
[2026-07-27 21:04:37] local.INFO: Processing buffer {"connection_id":143162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa431d8b0012d196940071fee200045013125..."} 
[2026-07-27 21:04:37] local.INFO: Packet analysis {"connection_id":143162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa431"} 
[2026-07-27 21:04:37] local.INFO: Extracted packet for processing {"connection_id":143162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa431"} 
[2026-07-27 21:04:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":69,"angle":305,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 21:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:04:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002459392001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:04:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 21:04:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:04:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:04:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785166158000,"timestamp_ms":1785166158000,"timestamp_seconds":1785166158,"priority":1,"record_length":96,"hex_timestamp":"0000019fa431d8b0"} 
[2026-07-27 21:04:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:04:37] 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-07-27 21:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 21:04:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:04:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:04:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:04:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:04:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:04:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:04:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:04:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:04:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 21:04:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 21:04:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002459392001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 21:04:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 21:04:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 21:04:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002459392001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:04:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 21:04:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 21:04:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:04:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:04:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002459392001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 21:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":143162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555427,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:04:37] local.INFO: GPS data processed {"connection_id":143162,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:04:37] local.INFO: Acknowledgment sent {"connection_id":143162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:05:04] local.INFO: TCP Data received {"connection_id":144296,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144296,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:05:04] local.INFO: Processing buffer {"connection_id":144296,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:05:04] local.INFO: IMEI packet received {"connection_id":144296,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 21:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":144296,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:05:08] local.INFO: TCP Data received {"connection_id":143301,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa432f9c0012daae14005ff08a8002000141f..."} 
[2026-07-27 21:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa432f9c0012daae14005ff08a8002000141f..."} 
[2026-07-27 21:05:08] local.INFO: Processing buffer {"connection_id":143301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa432f9c0012daae14005ff08a8002000141f..."} 
[2026-07-27 21:05:08] local.INFO: Packet analysis {"connection_id":143301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa432"} 
[2026-07-27 21:05:08] local.INFO: Extracted packet for processing {"connection_id":143301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa432"} 
[2026-07-27 21:05:08] local.INFO: GPS Element Parsed {"raw_longitude":766173504,"raw_latitude":100599976,"longitude_deg":76.6173504,"latitude_deg":10.0599976,"altitude":32,"angle":20,"satellites":31,"speed":0,"hex_longitude":"2daae140","hex_latitude":"05ff08a8","is_valid_coordinates":true} 
[2026-07-27 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-07-27 21:05:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002478336001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:05:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391576155226112,"note":"Value kept but may cause issues"} 
[2026-07-27 21:05:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133550823004133376,"note":"Value kept but may cause issues"} 
[2026-07-27 21:05:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:05:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785166232000,"timestamp_ms":1785166232000,"timestamp_seconds":1785166232,"priority":1,"record_length":96,"hex_timestamp":"0000019fa432f9c0"} 
[2026-07-27 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-07-27 21:05:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-27 21:05:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 21:05:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:05:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:05:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:05:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 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-07-27 21:05:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:05:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:05:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002478336001,"66":25832,"118":206,"88":20480,"24":0,"16":359391576155226112,"45":-6133550823004133376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 21:05:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:05:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:05:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002478336001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:05:08] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 21:05:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 21:05:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391576155226112,"km_value":359391576155226.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:05:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133550823004133376,"description":"Unknown IO ID 45"} 
[2026-07-27 21:05:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002478336001,"power":25832,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133550823004133376}} 
[2026-07-27 21:05:08] local.INFO: DEBUG: GPS processor result {"connection_id":143301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:05:08] local.INFO: GPS data processed {"connection_id":143301,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:05:08] local.INFO: Acknowledgment sent {"connection_id":143301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:05:09] local.INFO: TCP Data received {"connection_id":144296,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144296,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:05:09] local.INFO: Processing buffer {"connection_id":144296,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:05:09] local.INFO: IMEI packet received {"connection_id":144296,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 21:05:09] local.INFO: IMEI acknowledgment sent {"connection_id":144296,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:05:10] local.INFO: TCP Data received {"connection_id":144296,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4367078012d196940071fee200045013129..."} 
[2026-07-27 21:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4367078012d196940071fee200045013129..."} 
[2026-07-27 21:05:10] local.INFO: Processing buffer {"connection_id":144296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4367078012d196940071fee200045013129..."} 
[2026-07-27 21:05:10] local.INFO: Packet analysis {"connection_id":144296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa436"} 
[2026-07-27 21:05:10] local.INFO: Extracted packet for processing {"connection_id":144296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa436"} 
[2026-07-27 21:05:10] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":69,"angle":305,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 21:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:05:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002536448001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:05:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 21:05:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:05:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:05:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785166459000,"timestamp_ms":1785166459000,"timestamp_seconds":1785166459,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4367078"} 
[2026-07-27 21:05:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:05:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 21:05:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:05:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:05:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:05:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:05:10] local.INFO: Teltonika packet parsed successfully {"connection_id":144296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:05:10] local.INFO: Passing IMEI to GPS processor {"connection_id":144296,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:05:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":144296,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:05:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:05:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 21:05:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 21:05:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002536448001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 21:05:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 21:05:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 21:05:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002536448001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:05:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 21:05:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 21:05:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:05:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:05:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002536448001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 21:05:10] local.INFO: DEBUG: GPS processor result {"connection_id":144296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555429,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:05:10] local.INFO: GPS data processed {"connection_id":144296,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:05:10] local.INFO: Acknowledgment sent {"connection_id":144296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:05:31] local.INFO: TCP Data received {"connection_id":143163,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:05:31] local.INFO: Processing buffer {"connection_id":143163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:05:31] local.INFO: IMEI packet received {"connection_id":143163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 21:05:31] local.INFO: IMEI acknowledgment sent {"connection_id":143163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:05:36] local.INFO: TCP Data received {"connection_id":143163,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:05:36] local.INFO: Processing buffer {"connection_id":143163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:05:36] local.INFO: IMEI packet received {"connection_id":143163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 21:05:36] local.INFO: IMEI acknowledgment sent {"connection_id":143163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:05:37] local.INFO: TCP Data received {"connection_id":143163,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa432f9c0012daae14005ff08a8002000141f..."} 
[2026-07-27 21:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143163,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa432f9c0012daae14005ff08a8002000141f..."} 
[2026-07-27 21:05:37] local.INFO: Processing buffer {"connection_id":143163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa432f9c0012daae14005ff08a8002000141f..."} 
[2026-07-27 21:05:37] local.INFO: Packet analysis {"connection_id":143163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa432"} 
[2026-07-27 21:05:37] local.INFO: Extracted packet for processing {"connection_id":143163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa432"} 
[2026-07-27 21:05:37] local.INFO: GPS Element Parsed {"raw_longitude":766173504,"raw_latitude":100599976,"longitude_deg":76.6173504,"latitude_deg":10.0599976,"altitude":32,"angle":20,"satellites":31,"speed":0,"hex_longitude":"2daae140","hex_latitude":"05ff08a8","is_valid_coordinates":true} 
[2026-07-27 21:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:05:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002478336001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:05:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391576155226112,"note":"Value kept but may cause issues"} 
[2026-07-27 21:05:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133550823004133376,"note":"Value kept but may cause issues"} 
[2026-07-27 21:05:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:05:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785166232000,"timestamp_ms":1785166232000,"timestamp_seconds":1785166232,"priority":1,"record_length":96,"hex_timestamp":"0000019fa432f9c0"} 
[2026-07-27 21:05:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:05:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-27 21:05:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:05:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:05:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:05:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:05:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:05:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:05:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:05:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:05:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:05:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:05:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002478336001,"66":25832,"118":206,"88":20480,"24":0,"16":359391576155226112,"45":-6133550823004133376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 21:05:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:05:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:05:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002478336001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:05:37] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 21:05:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 21:05:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391576155226112,"km_value":359391576155226.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:05:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133550823004133376,"description":"Unknown IO ID 45"} 
[2026-07-27 21:05:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002478336001,"power":25832,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133550823004133376}} 
[2026-07-27 21:05:37] local.INFO: DEBUG: GPS processor result {"connection_id":143163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:05:37] local.INFO: GPS data processed {"connection_id":143163,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:05:37] local.INFO: Acknowledgment sent {"connection_id":143163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:05:42] local.INFO: TCP Data received {"connection_id":144296,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4367078012d196940071fee200045013129..."} 
[2026-07-27 21:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4367078012d196940071fee200045013129..."} 
[2026-07-27 21:05:42] local.INFO: Processing buffer {"connection_id":144296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4367078012d196940071fee200045013129..."} 
[2026-07-27 21:05:42] local.INFO: Packet analysis {"connection_id":144296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa436"} 
[2026-07-27 21:05:42] local.INFO: Extracted packet for processing {"connection_id":144296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa436"} 
[2026-07-27 21:05:42] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":69,"angle":305,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 21:05:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:05:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002536448001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:05:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 21:05:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:05:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:05:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785166459000,"timestamp_ms":1785166459000,"timestamp_seconds":1785166459,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4367078"} 
[2026-07-27 21:05:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:05:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 21:05:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:05:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:05:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:05:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:05:42] local.INFO: Teltonika packet parsed successfully {"connection_id":144296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:05:42] local.INFO: Passing IMEI to GPS processor {"connection_id":144296,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:05:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":144296,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:05:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:05:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 21:05:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 21:05:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002536448001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 21:05:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 21:05:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 21:05:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002536448001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:05:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 21:05:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 21:05:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:05:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:05:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002536448001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 21:05:42] local.INFO: DEBUG: GPS processor result {"connection_id":144296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555431,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:05:42] local.INFO: GPS data processed {"connection_id":144296,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:05:42] local.INFO: Acknowledgment sent {"connection_id":144296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:05:59] local.INFO: TCP Data received {"connection_id":144297,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144297,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:05:59] local.INFO: Processing buffer {"connection_id":144297,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:05:59] local.INFO: IMEI packet received {"connection_id":144297,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 21:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":144297,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:06:04] local.INFO: TCP Data received {"connection_id":144297,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144297,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:06:04] local.INFO: Processing buffer {"connection_id":144297,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:06:04] local.INFO: IMEI packet received {"connection_id":144297,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 21:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":144297,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:06:05] local.INFO: TCP Data received {"connection_id":144297,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4367078012d196940071fee200045013129..."} 
[2026-07-27 21:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4367078012d196940071fee200045013129..."} 
[2026-07-27 21:06:05] local.INFO: Processing buffer {"connection_id":144297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4367078012d196940071fee200045013129..."} 
[2026-07-27 21:06:05] local.INFO: Packet analysis {"connection_id":144297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa436"} 
[2026-07-27 21:06:05] local.INFO: Extracted packet for processing {"connection_id":144297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa436"} 
[2026-07-27 21:06:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":69,"angle":305,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 21:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:06:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002536448001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:06:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 21:06:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:06:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:06:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785166459000,"timestamp_ms":1785166459000,"timestamp_seconds":1785166459,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4367078"} 
[2026-07-27 21:06:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:06:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 21:06:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:06:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:06:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:06:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:06:05] local.INFO: Teltonika packet parsed successfully {"connection_id":144297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:06:05] local.INFO: Passing IMEI to GPS processor {"connection_id":144297,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:06:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":144297,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:06:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:06:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 21:06:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 21:06:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002536448001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 21:06:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 21:06:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 21:06:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002536448001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:06:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 21:06:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 21:06:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:06:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:06:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002536448001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 21:06:05] local.INFO: DEBUG: GPS processor result {"connection_id":144297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555432,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:06:05] local.INFO: GPS data processed {"connection_id":144297,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:06:05] local.INFO: Acknowledgment sent {"connection_id":144297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:06:08] local.INFO: TCP Data received {"connection_id":143163,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa432f9c0012daae14005ff08a8002000141f..."} 
[2026-07-27 21:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143163,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa432f9c0012daae14005ff08a8002000141f..."} 
[2026-07-27 21:06:08] local.INFO: Processing buffer {"connection_id":143163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa432f9c0012daae14005ff08a8002000141f..."} 
[2026-07-27 21:06:08] local.INFO: Packet analysis {"connection_id":143163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa432"} 
[2026-07-27 21:06:08] local.INFO: Extracted packet for processing {"connection_id":143163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa432"} 
[2026-07-27 21:06:08] local.INFO: GPS Element Parsed {"raw_longitude":766173504,"raw_latitude":100599976,"longitude_deg":76.6173504,"latitude_deg":10.0599976,"altitude":32,"angle":20,"satellites":31,"speed":0,"hex_longitude":"2daae140","hex_latitude":"05ff08a8","is_valid_coordinates":true} 
[2026-07-27 21:06:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:06:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002478336001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:06:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391576155226112,"note":"Value kept but may cause issues"} 
[2026-07-27 21:06:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133550823004133376,"note":"Value kept but may cause issues"} 
[2026-07-27 21:06:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:06:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785166232000,"timestamp_ms":1785166232000,"timestamp_seconds":1785166232,"priority":1,"record_length":96,"hex_timestamp":"0000019fa432f9c0"} 
[2026-07-27 21:06:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:06:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-27 21:06:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:06:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:06:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:06:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:06:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:06:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:06:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:06:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:06:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:06:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:06:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002478336001,"66":25832,"118":206,"88":20480,"24":0,"16":359391576155226112,"45":-6133550823004133376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 21:06:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:06:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:06:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002478336001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:06:08] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 21:06:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 21:06:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391576155226112,"km_value":359391576155226.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:06:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133550823004133376,"description":"Unknown IO ID 45"} 
[2026-07-27 21:06:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002478336001,"power":25832,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133550823004133376}} 
[2026-07-27 21:06:08] local.INFO: DEBUG: GPS processor result {"connection_id":143163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:06:08] local.INFO: GPS data processed {"connection_id":143163,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:06:08] local.INFO: Acknowledgment sent {"connection_id":143163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:06:27] local.INFO: TCP Data received {"connection_id":144294,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 21:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144294,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 21:06:27] local.INFO: Processing buffer {"connection_id":144294,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 21:06:27] local.INFO: IMEI packet received {"connection_id":144294,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 21:06:27] local.INFO: IMEI acknowledgment sent {"connection_id":144294,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:06:36] local.INFO: TCP Data received {"connection_id":143164,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:06:36] local.INFO: Processing buffer {"connection_id":143164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:06:36] local.INFO: IMEI packet received {"connection_id":143164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 21:06:36] local.INFO: IMEI acknowledgment sent {"connection_id":143164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:06:37] local.INFO: TCP Data received {"connection_id":144297,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4367078012d196940071fee200045013129..."} 
[2026-07-27 21:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4367078012d196940071fee200045013129..."} 
[2026-07-27 21:06:37] local.INFO: Processing buffer {"connection_id":144297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4367078012d196940071fee200045013129..."} 
[2026-07-27 21:06:37] local.INFO: Packet analysis {"connection_id":144297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa436"} 
[2026-07-27 21:06:37] local.INFO: Extracted packet for processing {"connection_id":144297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa436"} 
[2026-07-27 21:06:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":69,"angle":305,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 21:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:06:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002536448001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:06:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 21:06:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:06:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:06:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785166459000,"timestamp_ms":1785166459000,"timestamp_seconds":1785166459,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4367078"} 
[2026-07-27 21:06:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:06:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 21:06:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:06:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:06:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:06:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:06:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:06:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144297,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:06:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144297,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:06:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:06:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 21:06:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 21:06:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002536448001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 21:06:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 21:06:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 21:06:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002536448001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:06:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 21:06:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 21:06:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:06:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:06:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002536448001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 21:06:37] local.INFO: DEBUG: GPS processor result {"connection_id":144297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555434,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:06:37] local.INFO: GPS data processed {"connection_id":144297,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:06:37] local.INFO: Acknowledgment sent {"connection_id":144297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:06:41] local.INFO: TCP Data received {"connection_id":143164,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:06:41] local.INFO: Processing buffer {"connection_id":143164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:06:41] local.INFO: IMEI packet received {"connection_id":143164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 21:06:41] local.INFO: IMEI acknowledgment sent {"connection_id":143164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:06:42] local.INFO: TCP Data received {"connection_id":143164,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4379188012daae14005ff08a80020001422..."} 
[2026-07-27 21:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4379188012daae14005ff08a80020001422..."} 
[2026-07-27 21:06:42] local.INFO: Processing buffer {"connection_id":143164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4379188012daae14005ff08a80020001422..."} 
[2026-07-27 21:06:42] local.INFO: Packet analysis {"connection_id":143164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa437"} 
[2026-07-27 21:06:42] local.INFO: Extracted packet for processing {"connection_id":143164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa437"} 
[2026-07-27 21:06:42] local.INFO: GPS Element Parsed {"raw_longitude":766173504,"raw_latitude":100599976,"longitude_deg":76.6173504,"latitude_deg":10.0599976,"altitude":32,"angle":20,"satellites":34,"speed":0,"hex_longitude":"2daae140","hex_latitude":"05ff08a8","is_valid_coordinates":true} 
[2026-07-27 21:06:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:06:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002555392001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:06:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391576155226112,"note":"Value kept but may cause issues"} 
[2026-07-27 21:06:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133550823004133376,"note":"Value kept but may cause issues"} 
[2026-07-27 21:06:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:06:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785166533000,"timestamp_ms":1785166533000,"timestamp_seconds":1785166533,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4379188"} 
[2026-07-27 21:06:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:06:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-27 21:06:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:06:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:06:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:06:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:06:42] local.INFO: Teltonika packet parsed successfully {"connection_id":143164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:06:42] local.INFO: Passing IMEI to GPS processor {"connection_id":143164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:06:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":143164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:06:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:06:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:06:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:06:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002555392001,"66":25756,"118":206,"88":20480,"24":0,"16":359391576155226112,"45":-6133550823004133376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 21:06:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:06:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:06:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002555392001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:06:42] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 21:06:42] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 21:06:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391576155226112,"km_value":359391576155226.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:06:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133550823004133376,"description":"Unknown IO ID 45"} 
[2026-07-27 21:06:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002555392001,"power":25756,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133550823004133376}} 
[2026-07-27 21:06:42] local.INFO: DEBUG: GPS processor result {"connection_id":143164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:06:42] local.INFO: GPS data processed {"connection_id":143164,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:06:42] local.INFO: Acknowledgment sent {"connection_id":143164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:06:46] local.INFO: TCP Data received {"connection_id":143164,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4379188012daae14005ff08a80020001422..."} 
[2026-07-27 21:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4379188012daae14005ff08a80020001422..."} 
[2026-07-27 21:06:46] local.INFO: Processing buffer {"connection_id":143164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4379188012daae14005ff08a80020001422..."} 
[2026-07-27 21:06:46] local.INFO: Packet analysis {"connection_id":143164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa437"} 
[2026-07-27 21:06:46] local.INFO: Extracted packet for processing {"connection_id":143164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa437"} 
[2026-07-27 21:06:46] local.INFO: GPS Element Parsed {"raw_longitude":766173504,"raw_latitude":100599976,"longitude_deg":76.6173504,"latitude_deg":10.0599976,"altitude":32,"angle":20,"satellites":34,"speed":0,"hex_longitude":"2daae140","hex_latitude":"05ff08a8","is_valid_coordinates":true} 
[2026-07-27 21:06:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:06:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002555392001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:06:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391576155226112,"note":"Value kept but may cause issues"} 
[2026-07-27 21:06:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133550823004133376,"note":"Value kept but may cause issues"} 
[2026-07-27 21:06:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:06:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785166533000,"timestamp_ms":1785166533000,"timestamp_seconds":1785166533,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4379188"} 
[2026-07-27 21:06:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:06:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:06:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-27 21:06:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:06:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:06:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:06:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:06:46] local.INFO: Teltonika packet parsed successfully {"connection_id":143164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:06:46] local.INFO: Passing IMEI to GPS processor {"connection_id":143164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:06:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":143164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:06:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:06:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:06:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:06:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002555392001,"66":25756,"118":206,"88":20480,"24":0,"16":359391576155226112,"45":-6133550823004133376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 21:06:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:06:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:06:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002555392001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:06:46] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 21:06:46] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 21:06:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391576155226112,"km_value":359391576155226.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:06:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133550823004133376,"description":"Unknown IO ID 45"} 
[2026-07-27 21:06:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002555392001,"power":25756,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133550823004133376}} 
[2026-07-27 21:06:46] local.INFO: DEBUG: GPS processor result {"connection_id":143164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:06:46] local.INFO: GPS data processed {"connection_id":143164,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:06:46] local.INFO: Acknowledgment sent {"connection_id":143164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:06:59] local.INFO: TCP Data received {"connection_id":145578,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145578,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:06:59] local.INFO: Processing buffer {"connection_id":145578,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:06:59] local.INFO: IMEI packet received {"connection_id":145578,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 21:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":145578,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:07:04] local.INFO: TCP Data received {"connection_id":145578,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145578,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:07:04] local.INFO: Processing buffer {"connection_id":145578,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:07:04] local.INFO: IMEI packet received {"connection_id":145578,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 21:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":145578,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:07:06] local.INFO: TCP Data received {"connection_id":145578,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4367078012d196940071fee200045013129..."} 
[2026-07-27 21:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145578,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4367078012d196940071fee200045013129..."} 
[2026-07-27 21:07:06] local.INFO: Processing buffer {"connection_id":145578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4367078012d196940071fee200045013129..."} 
[2026-07-27 21:07:06] local.INFO: Packet analysis {"connection_id":145578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa436"} 
[2026-07-27 21:07:06] local.INFO: Extracted packet for processing {"connection_id":145578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa436"} 
[2026-07-27 21:07:06] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":69,"angle":305,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 21:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:07:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002536448001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:07:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 21:07:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:07:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:07:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785166459000,"timestamp_ms":1785166459000,"timestamp_seconds":1785166459,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4367078"} 
[2026-07-27 21:07:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:07:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 21:07:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:07:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:07:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:07:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:07:06] local.INFO: Teltonika packet parsed successfully {"connection_id":145578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:07:06] local.INFO: Passing IMEI to GPS processor {"connection_id":145578,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:07:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":145578,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:07:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:07:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 21:07:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 21:07:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002536448001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 21:07:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 21:07:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 21:07:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002536448001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:07:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 21:07:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 21:07:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:07:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:07:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002536448001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 21:07:06] local.INFO: DEBUG: GPS processor result {"connection_id":145578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555437,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:07:06] local.INFO: GPS data processed {"connection_id":145578,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:07:06] local.INFO: Acknowledgment sent {"connection_id":145578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:07:31] local.INFO: TCP Data received {"connection_id":144298,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:07:31] local.INFO: Processing buffer {"connection_id":144298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:07:31] local.INFO: IMEI packet received {"connection_id":144298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 21:07:31] local.INFO: IMEI acknowledgment sent {"connection_id":144298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:07:36] local.INFO: TCP Data received {"connection_id":144298,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:07:36] local.INFO: Processing buffer {"connection_id":144298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:07:36] local.INFO: IMEI packet received {"connection_id":144298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 21:07:36] local.INFO: IMEI acknowledgment sent {"connection_id":144298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:07:37] local.INFO: TCP Data received {"connection_id":144298,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4379188012daae14005ff08a80020001422..."} 
[2026-07-27 21:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144298,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4379188012daae14005ff08a80020001422..."} 
[2026-07-27 21:07:37] local.INFO: Processing buffer {"connection_id":144298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4379188012daae14005ff08a80020001422..."} 
[2026-07-27 21:07:37] local.INFO: Packet analysis {"connection_id":144298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa437"} 
[2026-07-27 21:07:37] local.INFO: Extracted packet for processing {"connection_id":144298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa437"} 
[2026-07-27 21:07:37] local.INFO: GPS Element Parsed {"raw_longitude":766173504,"raw_latitude":100599976,"longitude_deg":76.6173504,"latitude_deg":10.0599976,"altitude":32,"angle":20,"satellites":34,"speed":0,"hex_longitude":"2daae140","hex_latitude":"05ff08a8","is_valid_coordinates":true} 
[2026-07-27 21:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002555392001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391576155226112,"note":"Value kept but may cause issues"} 
[2026-07-27 21:07:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133550823004133376,"note":"Value kept but may cause issues"} 
[2026-07-27 21:07:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785166533000,"timestamp_ms":1785166533000,"timestamp_seconds":1785166533,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4379188"} 
[2026-07-27 21:07:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:07:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-27 21:07:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:07:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:07:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:07:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002555392001,"66":25756,"118":206,"88":20480,"24":0,"16":359391576155226112,"45":-6133550823004133376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 21:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002555392001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:07:37] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 21:07:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 21:07:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391576155226112,"km_value":359391576155226.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:07:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133550823004133376,"description":"Unknown IO ID 45"} 
[2026-07-27 21:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002555392001,"power":25756,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133550823004133376}} 
[2026-07-27 21:07:37] local.INFO: DEBUG: GPS processor result {"connection_id":144298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:07:37] local.INFO: GPS data processed {"connection_id":144298,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:07:37] local.INFO: Acknowledgment sent {"connection_id":144298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:07:38] local.INFO: TCP Data received {"connection_id":145578,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4367078012d196940071fee200045013129..."} 
[2026-07-27 21:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145578,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4367078012d196940071fee200045013129..."} 
[2026-07-27 21:07:38] local.INFO: Processing buffer {"connection_id":145578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4367078012d196940071fee200045013129..."} 
[2026-07-27 21:07:38] local.INFO: Packet analysis {"connection_id":145578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa436"} 
[2026-07-27 21:07:38] local.INFO: Extracted packet for processing {"connection_id":145578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa436"} 
[2026-07-27 21:07:38] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":69,"angle":305,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 21:07:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:07:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002536448001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:07:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 21:07:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:07:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:07:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785166459000,"timestamp_ms":1785166459000,"timestamp_seconds":1785166459,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4367078"} 
[2026-07-27 21:07:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:07:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:07:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 21:07:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:07:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:07:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:07:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:07:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:07:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145578,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:07:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145578,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:07:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:07:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 21:07:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 21:07:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002536448001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 21:07:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 21:07:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 21:07:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002536448001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:07:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 21:07:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 21:07:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:07:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:07:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002536448001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 21:07:38] local.INFO: DEBUG: GPS processor result {"connection_id":145578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555439,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:07:38] local.INFO: GPS data processed {"connection_id":145578,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:07:38] local.INFO: Acknowledgment sent {"connection_id":145578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:07:59] local.INFO: TCP Data received {"connection_id":145579,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145579,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:07:59] local.INFO: Processing buffer {"connection_id":145579,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:07:59] local.INFO: IMEI packet received {"connection_id":145579,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 21:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":145579,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:08:04] local.INFO: TCP Data received {"connection_id":145579,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145579,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:08:04] local.INFO: Processing buffer {"connection_id":145579,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:08:04] local.INFO: IMEI packet received {"connection_id":145579,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 21:08:04] local.INFO: IMEI acknowledgment sent {"connection_id":145579,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:08:05] local.INFO: TCP Data received {"connection_id":145579,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4367078012d196940071fee200045013129..."} 
[2026-07-27 21:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4367078012d196940071fee200045013129..."} 
[2026-07-27 21:08:05] local.INFO: Processing buffer {"connection_id":145579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4367078012d196940071fee200045013129..."} 
[2026-07-27 21:08:05] local.INFO: Packet analysis {"connection_id":145579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa436"} 
[2026-07-27 21:08:05] local.INFO: Extracted packet for processing {"connection_id":145579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa436"} 
[2026-07-27 21:08:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":69,"angle":305,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 21:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:08:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002536448001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:08:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 21:08:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:08:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:08:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785166459000,"timestamp_ms":1785166459000,"timestamp_seconds":1785166459,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4367078"} 
[2026-07-27 21:08:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:08:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 21:08:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:08:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:08:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:08:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:08:05] local.INFO: Teltonika packet parsed successfully {"connection_id":145579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:08:05] local.INFO: Passing IMEI to GPS processor {"connection_id":145579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:08:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":145579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:08:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:08:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 21:08:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 21:08:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002536448001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 21:08:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 21:08:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 21:08:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002536448001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:08:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 21:08:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 21:08:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:08:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:08:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002536448001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 21:08:05] local.INFO: DEBUG: GPS processor result {"connection_id":145579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555440,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:08:05] local.INFO: GPS data processed {"connection_id":145579,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:08:05] local.INFO: Acknowledgment sent {"connection_id":145579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:08:08] local.INFO: TCP Data received {"connection_id":144298,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4379188012daae14005ff08a80020001422..."} 
[2026-07-27 21:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144298,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4379188012daae14005ff08a80020001422..."} 
[2026-07-27 21:08:08] local.INFO: Processing buffer {"connection_id":144298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4379188012daae14005ff08a80020001422..."} 
[2026-07-27 21:08:08] local.INFO: Packet analysis {"connection_id":144298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa437"} 
[2026-07-27 21:08:08] local.INFO: Extracted packet for processing {"connection_id":144298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa437"} 
[2026-07-27 21:08:08] local.INFO: GPS Element Parsed {"raw_longitude":766173504,"raw_latitude":100599976,"longitude_deg":76.6173504,"latitude_deg":10.0599976,"altitude":32,"angle":20,"satellites":34,"speed":0,"hex_longitude":"2daae140","hex_latitude":"05ff08a8","is_valid_coordinates":true} 
[2026-07-27 21:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:08:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002555392001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:08:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391576155226112,"note":"Value kept but may cause issues"} 
[2026-07-27 21:08:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133550823004133376,"note":"Value kept but may cause issues"} 
[2026-07-27 21:08:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:08:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785166533000,"timestamp_ms":1785166533000,"timestamp_seconds":1785166533,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4379188"} 
[2026-07-27 21:08:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:08:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-27 21:08:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:08:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:08:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:08:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:08:08] local.INFO: Teltonika packet parsed successfully {"connection_id":144298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:08:08] local.INFO: Passing IMEI to GPS processor {"connection_id":144298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:08:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":144298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:08:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:08:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:08:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:08:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002555392001,"66":25756,"118":206,"88":20480,"24":0,"16":359391576155226112,"45":-6133550823004133376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 21:08:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:08:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:08:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002555392001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:08:08] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 21:08:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 21:08:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391576155226112,"km_value":359391576155226.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:08:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133550823004133376,"description":"Unknown IO ID 45"} 
[2026-07-27 21:08:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002555392001,"power":25756,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133550823004133376}} 
[2026-07-27 21:08:08] local.INFO: DEBUG: GPS processor result {"connection_id":144298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:08:08] local.INFO: GPS data processed {"connection_id":144298,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:08:08] local.INFO: Acknowledgment sent {"connection_id":144298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:08:31] local.INFO: TCP Data received {"connection_id":143166,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:08:31] local.INFO: Processing buffer {"connection_id":143166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:08:31] local.INFO: IMEI packet received {"connection_id":143166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 21:08:31] local.INFO: IMEI acknowledgment sent {"connection_id":143166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:08:36] local.INFO: TCP Data received {"connection_id":143166,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:08:36] local.INFO: Processing buffer {"connection_id":143166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:08:36] local.INFO: IMEI packet received {"connection_id":143166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 21:08:36] local.INFO: IMEI acknowledgment sent {"connection_id":143166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:08:36] local.INFO: TCP Data received {"connection_id":143166,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4379188012daae14005ff08a80020001422..."} 
[2026-07-27 21:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4379188012daae14005ff08a80020001422..."} 
[2026-07-27 21:08:36] local.INFO: Processing buffer {"connection_id":143166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4379188012daae14005ff08a80020001422..."} 
[2026-07-27 21:08:36] local.INFO: Packet analysis {"connection_id":143166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa437"} 
[2026-07-27 21:08:36] local.INFO: Extracted packet for processing {"connection_id":143166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa437"} 
[2026-07-27 21:08:36] local.INFO: GPS Element Parsed {"raw_longitude":766173504,"raw_latitude":100599976,"longitude_deg":76.6173504,"latitude_deg":10.0599976,"altitude":32,"angle":20,"satellites":34,"speed":0,"hex_longitude":"2daae140","hex_latitude":"05ff08a8","is_valid_coordinates":true} 
[2026-07-27 21:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:08:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002555392001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:08:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391576155226112,"note":"Value kept but may cause issues"} 
[2026-07-27 21:08:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133550823004133376,"note":"Value kept but may cause issues"} 
[2026-07-27 21:08:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:08:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785166533000,"timestamp_ms":1785166533000,"timestamp_seconds":1785166533,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4379188"} 
[2026-07-27 21:08:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:08:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-27 21:08:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:08:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:08:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:08:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:08:36] local.INFO: Teltonika packet parsed successfully {"connection_id":143166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:08:36] local.INFO: Passing IMEI to GPS processor {"connection_id":143166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:08:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":143166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:08:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:08:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:08:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:08:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002555392001,"66":25756,"118":206,"88":20480,"24":0,"16":359391576155226112,"45":-6133550823004133376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 21:08:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:08:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:08:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002555392001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:08:36] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 21:08:36] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 21:08:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391576155226112,"km_value":359391576155226.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:08:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133550823004133376,"description":"Unknown IO ID 45"} 
[2026-07-27 21:08:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002555392001,"power":25756,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133550823004133376}} 
[2026-07-27 21:08:36] local.INFO: DEBUG: GPS processor result {"connection_id":143166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:08:36] local.INFO: GPS data processed {"connection_id":143166,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:08:36] local.INFO: Acknowledgment sent {"connection_id":143166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:08:37] local.INFO: TCP Data received {"connection_id":145579,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4367078012d196940071fee200045013129..."} 
[2026-07-27 21:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4367078012d196940071fee200045013129..."} 
[2026-07-27 21:08:37] local.INFO: Processing buffer {"connection_id":145579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4367078012d196940071fee200045013129..."} 
[2026-07-27 21:08:37] local.INFO: Packet analysis {"connection_id":145579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa436"} 
[2026-07-27 21:08:37] local.INFO: Extracted packet for processing {"connection_id":145579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa436"} 
[2026-07-27 21:08:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":69,"angle":305,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 21:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:08:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002536448001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:08:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 21:08:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:08:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:08:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785166459000,"timestamp_ms":1785166459000,"timestamp_seconds":1785166459,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4367078"} 
[2026-07-27 21:08:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:08:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 21:08:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:08:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:08:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:08:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:08:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:08:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:08:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:08:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:08:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 21:08:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 21:08:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002536448001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 21:08:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 21:08:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 21:08:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002536448001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:08:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 21:08:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 21:08:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:08:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:08:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002536448001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 21:08:37] local.INFO: DEBUG: GPS processor result {"connection_id":145579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555443,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:08:37] local.INFO: GPS data processed {"connection_id":145579,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:08:37] local.INFO: Acknowledgment sent {"connection_id":145579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:08:59] local.INFO: TCP Data received {"connection_id":143302,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143302,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:08:59] local.INFO: Processing buffer {"connection_id":143302,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:08:59] local.INFO: IMEI packet received {"connection_id":143302,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 21:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":143302,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:09:04] local.INFO: TCP Data received {"connection_id":143302,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143302,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:09:04] local.INFO: Processing buffer {"connection_id":143302,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:09:04] local.INFO: IMEI packet received {"connection_id":143302,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 21:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":143302,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:09:05] local.INFO: TCP Data received {"connection_id":143302,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4367078012d196940071fee200045013129..."} 
[2026-07-27 21:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4367078012d196940071fee200045013129..."} 
[2026-07-27 21:09:05] local.INFO: Processing buffer {"connection_id":143302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4367078012d196940071fee200045013129..."} 
[2026-07-27 21:09:05] local.INFO: Packet analysis {"connection_id":143302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa436"} 
[2026-07-27 21:09:05] local.INFO: Extracted packet for processing {"connection_id":143302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa436"} 
[2026-07-27 21:09:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":69,"angle":305,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 21:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:09:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002536448001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:09:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 21:09:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:09:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:09:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785166459000,"timestamp_ms":1785166459000,"timestamp_seconds":1785166459,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4367078"} 
[2026-07-27 21:09:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:09:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 21:09:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:09:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:09:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:09:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:09:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:09:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143302,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:09:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143302,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:09:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:09:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 21:09:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 21:09:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002536448001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 21:09:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 21:09:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 21:09:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002536448001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:09:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 21:09:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 21:09:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:09:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:09:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002536448001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 21:09:05] local.INFO: DEBUG: GPS processor result {"connection_id":143302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555444,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:09:05] local.INFO: GPS data processed {"connection_id":143302,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:09:05] local.INFO: Acknowledgment sent {"connection_id":143302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:09:08] local.INFO: TCP Data received {"connection_id":143166,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4379188012daae14005ff08a80020001422..."} 
[2026-07-27 21:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4379188012daae14005ff08a80020001422..."} 
[2026-07-27 21:09:08] local.INFO: Processing buffer {"connection_id":143166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4379188012daae14005ff08a80020001422..."} 
[2026-07-27 21:09:08] local.INFO: Packet analysis {"connection_id":143166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa437"} 
[2026-07-27 21:09:08] local.INFO: Extracted packet for processing {"connection_id":143166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa437"} 
[2026-07-27 21:09:08] local.INFO: GPS Element Parsed {"raw_longitude":766173504,"raw_latitude":100599976,"longitude_deg":76.6173504,"latitude_deg":10.0599976,"altitude":32,"angle":20,"satellites":34,"speed":0,"hex_longitude":"2daae140","hex_latitude":"05ff08a8","is_valid_coordinates":true} 
[2026-07-27 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-07-27 21:09:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002555392001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:09:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391576155226112,"note":"Value kept but may cause issues"} 
[2026-07-27 21:09:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133550823004133376,"note":"Value kept but may cause issues"} 
[2026-07-27 21:09:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:09:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785166533000,"timestamp_ms":1785166533000,"timestamp_seconds":1785166533,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4379188"} 
[2026-07-27 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-07-27 21:09:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-27 21:09:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 21:09:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:09:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:09:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:09:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:09:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:09:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:09:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:09:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002555392001,"66":25756,"118":206,"88":20480,"24":0,"16":359391576155226112,"45":-6133550823004133376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 21:09:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:09:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:09:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002555392001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:09:08] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 21:09:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 21:09:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391576155226112,"km_value":359391576155226.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:09:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133550823004133376,"description":"Unknown IO ID 45"} 
[2026-07-27 21:09:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002555392001,"power":25756,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133550823004133376}} 
[2026-07-27 21:09:08] local.INFO: DEBUG: GPS processor result {"connection_id":143166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:09:08] local.INFO: GPS data processed {"connection_id":143166,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:09:08] local.INFO: Acknowledgment sent {"connection_id":143166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:09:31] local.INFO: TCP Data received {"connection_id":143303,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:09:31] local.INFO: Processing buffer {"connection_id":143303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:09:31] local.INFO: IMEI packet received {"connection_id":143303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 21:09:31] local.INFO: IMEI acknowledgment sent {"connection_id":143303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:09:36] local.INFO: TCP Data received {"connection_id":143303,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:09:36] local.INFO: Processing buffer {"connection_id":143303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:09:36] local.INFO: IMEI packet received {"connection_id":143303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 21:09:36] local.INFO: IMEI acknowledgment sent {"connection_id":143303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:09:36] local.INFO: TCP Data received {"connection_id":143303,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4379188012daae14005ff08a80020001422..."} 
[2026-07-27 21:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4379188012daae14005ff08a80020001422..."} 
[2026-07-27 21:09:36] local.INFO: Processing buffer {"connection_id":143303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4379188012daae14005ff08a80020001422..."} 
[2026-07-27 21:09:36] local.INFO: Packet analysis {"connection_id":143303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa437"} 
[2026-07-27 21:09:36] local.INFO: Extracted packet for processing {"connection_id":143303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa437"} 
[2026-07-27 21:09:36] local.INFO: GPS Element Parsed {"raw_longitude":766173504,"raw_latitude":100599976,"longitude_deg":76.6173504,"latitude_deg":10.0599976,"altitude":32,"angle":20,"satellites":34,"speed":0,"hex_longitude":"2daae140","hex_latitude":"05ff08a8","is_valid_coordinates":true} 
[2026-07-27 21:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:09:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002555392001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:09:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391576155226112,"note":"Value kept but may cause issues"} 
[2026-07-27 21:09:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133550823004133376,"note":"Value kept but may cause issues"} 
[2026-07-27 21:09:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:09:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785166533000,"timestamp_ms":1785166533000,"timestamp_seconds":1785166533,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4379188"} 
[2026-07-27 21:09:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:09:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-27 21:09:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:09:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:09:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:09:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:09:36] local.INFO: Teltonika packet parsed successfully {"connection_id":143303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:09:36] local.INFO: Passing IMEI to GPS processor {"connection_id":143303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:09:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":143303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:09:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:09:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:09:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:09:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002555392001,"66":25756,"118":206,"88":20480,"24":0,"16":359391576155226112,"45":-6133550823004133376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 21:09:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:09:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:09:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002555392001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:09:36] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 21:09:36] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 21:09:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391576155226112,"km_value":359391576155226.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:09:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133550823004133376,"description":"Unknown IO ID 45"} 
[2026-07-27 21:09:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002555392001,"power":25756,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133550823004133376}} 
[2026-07-27 21:09:36] local.INFO: DEBUG: GPS processor result {"connection_id":143303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:09:36] local.INFO: GPS data processed {"connection_id":143303,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:09:36] local.INFO: Acknowledgment sent {"connection_id":143303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:09:37] local.INFO: TCP Data received {"connection_id":143302,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4367078012d196940071fee200045013129..."} 
[2026-07-27 21:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4367078012d196940071fee200045013129..."} 
[2026-07-27 21:09:37] local.INFO: Processing buffer {"connection_id":143302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4367078012d196940071fee200045013129..."} 
[2026-07-27 21:09:37] local.INFO: Packet analysis {"connection_id":143302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa436"} 
[2026-07-27 21:09:37] local.INFO: Extracted packet for processing {"connection_id":143302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa436"} 
[2026-07-27 21:09:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":69,"angle":305,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 21:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002536448001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 21:09:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:09:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785166459000,"timestamp_ms":1785166459000,"timestamp_seconds":1785166459,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4367078"} 
[2026-07-27 21:09:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:09:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 21:09:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:09:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:09:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143302,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143302,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:09:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 21:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 21:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002536448001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 21:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 21:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 21:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002536448001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:09:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 21:09:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 21:09:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:09:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002536448001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 21:09:37] local.INFO: DEBUG: GPS processor result {"connection_id":143302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555447,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:09:37] local.INFO: GPS data processed {"connection_id":143302,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:09:37] local.INFO: Acknowledgment sent {"connection_id":143302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:09:59] local.INFO: TCP Data received {"connection_id":144299,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144299,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:09:59] local.INFO: Processing buffer {"connection_id":144299,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:09:59] local.INFO: IMEI packet received {"connection_id":144299,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 21:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":144299,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:10:04] local.INFO: TCP Data received {"connection_id":144299,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144299,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:10:04] local.INFO: Processing buffer {"connection_id":144299,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:10:04] local.INFO: IMEI packet received {"connection_id":144299,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 21:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":144299,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:10:05] local.INFO: TCP Data received {"connection_id":144299,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa43b0840012d196940071fee200045013128..."} 
[2026-07-27 21:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa43b0840012d196940071fee200045013128..."} 
[2026-07-27 21:10:05] local.INFO: Processing buffer {"connection_id":144299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa43b0840012d196940071fee200045013128..."} 
[2026-07-27 21:10:05] local.INFO: Packet analysis {"connection_id":144299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa43b"} 
[2026-07-27 21:10:05] local.INFO: Extracted packet for processing {"connection_id":144299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa43b"} 
[2026-07-27 21:10:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":69,"angle":305,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 21:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:10:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002613504001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:10:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 21:10:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:10:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:10:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785166760000,"timestamp_ms":1785166760000,"timestamp_seconds":1785166760,"priority":1,"record_length":96,"hex_timestamp":"0000019fa43b0840"} 
[2026-07-27 21:10:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:10:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 21:10:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:10:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:10:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:10:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:10:05] local.INFO: Teltonika packet parsed successfully {"connection_id":144299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:10:05] local.INFO: Passing IMEI to GPS processor {"connection_id":144299,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:10:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":144299,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:10:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:10:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 21:10:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 21:10:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002613504001,"66":2155,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 21:10:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 21:10:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 21:10:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002613504001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:10:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 21:10:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 21:10:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:10:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:10:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002613504001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 21:10:05] local.INFO: DEBUG: GPS processor result {"connection_id":144299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555448,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:10:05] local.INFO: GPS data processed {"connection_id":144299,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:10:05] local.INFO: Acknowledgment sent {"connection_id":144299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:10:07] local.INFO: TCP Data received {"connection_id":143303,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4379188012daae14005ff08a80020001422..."} 
[2026-07-27 21:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4379188012daae14005ff08a80020001422..."} 
[2026-07-27 21:10:07] local.INFO: Processing buffer {"connection_id":143303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4379188012daae14005ff08a80020001422..."} 
[2026-07-27 21:10:07] local.INFO: Packet analysis {"connection_id":143303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa437"} 
[2026-07-27 21:10:07] local.INFO: Extracted packet for processing {"connection_id":143303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa437"} 
[2026-07-27 21:10:07] local.INFO: GPS Element Parsed {"raw_longitude":766173504,"raw_latitude":100599976,"longitude_deg":76.6173504,"latitude_deg":10.0599976,"altitude":32,"angle":20,"satellites":34,"speed":0,"hex_longitude":"2daae140","hex_latitude":"05ff08a8","is_valid_coordinates":true} 
[2026-07-27 21:10:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:10:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002555392001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:10:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391576155226112,"note":"Value kept but may cause issues"} 
[2026-07-27 21:10:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133550823004133376,"note":"Value kept but may cause issues"} 
[2026-07-27 21:10:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:10:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785166533000,"timestamp_ms":1785166533000,"timestamp_seconds":1785166533,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4379188"} 
[2026-07-27 21:10:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:10:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:10:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-27 21:10:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:10:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:10:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:10:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:10:07] local.INFO: Teltonika packet parsed successfully {"connection_id":143303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:10:07] local.INFO: Passing IMEI to GPS processor {"connection_id":143303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:10:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":143303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:10:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:10:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:10:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:10:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002555392001,"66":25756,"118":206,"88":20480,"24":0,"16":359391576155226112,"45":-6133550823004133376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 21:10:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:10:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:10:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002555392001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:10:07] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 21:10:07] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 21:10:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391576155226112,"km_value":359391576155226.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:10:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133550823004133376,"description":"Unknown IO ID 45"} 
[2026-07-27 21:10:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002555392001,"power":25756,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133550823004133376}} 
[2026-07-27 21:10:07] local.INFO: DEBUG: GPS processor result {"connection_id":143303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:10:07] local.INFO: GPS data processed {"connection_id":143303,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:10:07] local.INFO: Acknowledgment sent {"connection_id":143303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:10:31] local.INFO: TCP Data received {"connection_id":145580,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:10:31] local.INFO: Processing buffer {"connection_id":145580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:10:31] local.INFO: IMEI packet received {"connection_id":145580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 21:10:31] local.INFO: IMEI acknowledgment sent {"connection_id":145580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:10:36] local.INFO: TCP Data received {"connection_id":145580,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:10:36] local.INFO: Processing buffer {"connection_id":145580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:10:36] local.INFO: IMEI packet received {"connection_id":145580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 21:10:36] local.INFO: IMEI acknowledgment sent {"connection_id":145580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:10:37] local.INFO: TCP Data received {"connection_id":145580,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4379188012daae14005ff08a80020001422..."} 
[2026-07-27 21:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145580,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4379188012daae14005ff08a80020001422..."} 
[2026-07-27 21:10:37] local.INFO: Processing buffer {"connection_id":145580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4379188012daae14005ff08a80020001422..."} 
[2026-07-27 21:10:37] local.INFO: Packet analysis {"connection_id":145580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa437"} 
[2026-07-27 21:10:37] local.INFO: Extracted packet for processing {"connection_id":145580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa437"} 
[2026-07-27 21:10:37] local.INFO: GPS Element Parsed {"raw_longitude":766173504,"raw_latitude":100599976,"longitude_deg":76.6173504,"latitude_deg":10.0599976,"altitude":32,"angle":20,"satellites":34,"speed":0,"hex_longitude":"2daae140","hex_latitude":"05ff08a8","is_valid_coordinates":true} 
[2026-07-27 21:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002555392001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391576155226112,"note":"Value kept but may cause issues"} 
[2026-07-27 21:10:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133550823004133376,"note":"Value kept but may cause issues"} 
[2026-07-27 21:10:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785166533000,"timestamp_ms":1785166533000,"timestamp_seconds":1785166533,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4379188"} 
[2026-07-27 21:10:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:10:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-27 21:10:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:10:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:10:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:10:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002555392001,"66":25756,"118":206,"88":20480,"24":0,"16":359391576155226112,"45":-6133550823004133376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 21:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002555392001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:10:37] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 21:10:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 21:10:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391576155226112,"km_value":359391576155226.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:10:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133550823004133376,"description":"Unknown IO ID 45"} 
[2026-07-27 21:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002555392001,"power":25756,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133550823004133376}} 
[2026-07-27 21:10:37] local.INFO: DEBUG: GPS processor result {"connection_id":145580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:10:37] local.INFO: GPS data processed {"connection_id":145580,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:10:37] local.INFO: Acknowledgment sent {"connection_id":145580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:10:37] local.INFO: TCP Data received {"connection_id":144299,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa43b0840012d196940071fee200045013128..."} 
[2026-07-27 21:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa43b0840012d196940071fee200045013128..."} 
[2026-07-27 21:10:37] local.INFO: Processing buffer {"connection_id":144299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa43b0840012d196940071fee200045013128..."} 
[2026-07-27 21:10:37] local.INFO: Packet analysis {"connection_id":144299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa43b"} 
[2026-07-27 21:10:37] local.INFO: Extracted packet for processing {"connection_id":144299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa43b"} 
[2026-07-27 21:10:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":69,"angle":305,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 21:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002613504001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 21:10:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:10:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785166760000,"timestamp_ms":1785166760000,"timestamp_seconds":1785166760,"priority":1,"record_length":96,"hex_timestamp":"0000019fa43b0840"} 
[2026-07-27 21:10:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:10:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 21:10:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:10:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:10:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144299,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144299,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:10:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 21:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 21:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002613504001,"66":2155,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 21:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 21:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 21:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002613504001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:10:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 21:10:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 21:10:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:10:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002613504001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 21:10:37] local.INFO: DEBUG: GPS processor result {"connection_id":144299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555451,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:10:37] local.INFO: GPS data processed {"connection_id":144299,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:10:37] local.INFO: Acknowledgment sent {"connection_id":144299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:10:59] local.INFO: TCP Data received {"connection_id":143167,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143167,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:10:59] local.INFO: Processing buffer {"connection_id":143167,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:10:59] local.INFO: IMEI packet received {"connection_id":143167,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 21:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":143167,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:11:04] local.INFO: TCP Data received {"connection_id":143167,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143167,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:11:04] local.INFO: Processing buffer {"connection_id":143167,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:11:04] local.INFO: IMEI packet received {"connection_id":143167,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 21:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":143167,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:11:05] local.INFO: TCP Data received {"connection_id":143167,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa43b0840012d196940071fee200045013128..."} 
[2026-07-27 21:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143167,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa43b0840012d196940071fee200045013128..."} 
[2026-07-27 21:11:05] local.INFO: Processing buffer {"connection_id":143167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa43b0840012d196940071fee200045013128..."} 
[2026-07-27 21:11:05] local.INFO: Packet analysis {"connection_id":143167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa43b"} 
[2026-07-27 21:11:05] local.INFO: Extracted packet for processing {"connection_id":143167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa43b"} 
[2026-07-27 21:11:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":69,"angle":305,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 21:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:11:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002613504001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:11:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 21:11:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:11:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:11:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785166760000,"timestamp_ms":1785166760000,"timestamp_seconds":1785166760,"priority":1,"record_length":96,"hex_timestamp":"0000019fa43b0840"} 
[2026-07-27 21:11:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:11:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 21:11:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:11:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:11:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:11:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:11:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:11:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143167,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:11:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143167,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:11:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:11:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 21:11:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 21:11:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002613504001,"66":2155,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 21:11:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 21:11:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 21:11:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002613504001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:11:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 21:11:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 21:11:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:11:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:11:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002613504001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 21:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":143167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555452,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:11:06] local.INFO: GPS data processed {"connection_id":143167,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:11:06] local.INFO: Acknowledgment sent {"connection_id":143167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:11:08] local.INFO: TCP Data received {"connection_id":145580,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4379188012daae14005ff08a80020001422..."} 
[2026-07-27 21:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145580,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4379188012daae14005ff08a80020001422..."} 
[2026-07-27 21:11:08] local.INFO: Processing buffer {"connection_id":145580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4379188012daae14005ff08a80020001422..."} 
[2026-07-27 21:11:08] local.INFO: Packet analysis {"connection_id":145580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa437"} 
[2026-07-27 21:11:08] local.INFO: Extracted packet for processing {"connection_id":145580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa437"} 
[2026-07-27 21:11:08] local.INFO: GPS Element Parsed {"raw_longitude":766173504,"raw_latitude":100599976,"longitude_deg":76.6173504,"latitude_deg":10.0599976,"altitude":32,"angle":20,"satellites":34,"speed":0,"hex_longitude":"2daae140","hex_latitude":"05ff08a8","is_valid_coordinates":true} 
[2026-07-27 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-07-27 21:11:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002555392001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:11:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391576155226112,"note":"Value kept but may cause issues"} 
[2026-07-27 21:11:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133550823004133376,"note":"Value kept but may cause issues"} 
[2026-07-27 21:11:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:11:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785166533000,"timestamp_ms":1785166533000,"timestamp_seconds":1785166533,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4379188"} 
[2026-07-27 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-07-27 21:11:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-27 21:11:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 21:11:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:11:08] local.INFO: Teltonika packet parsed successfully {"connection_id":145580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:11:08] local.INFO: Passing IMEI to GPS processor {"connection_id":145580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:11:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":145580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21: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-07-27 21:11:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:11:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:11:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002555392001,"66":25756,"118":206,"88":20480,"24":0,"16":359391576155226112,"45":-6133550823004133376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 21:11:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:11:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:11:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002555392001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:11:08] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 21:11:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 21:11:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391576155226112,"km_value":359391576155226.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:11:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133550823004133376,"description":"Unknown IO ID 45"} 
[2026-07-27 21:11:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002555392001,"power":25756,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133550823004133376}} 
[2026-07-27 21:11:08] local.INFO: DEBUG: GPS processor result {"connection_id":145580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:11:08] local.INFO: GPS data processed {"connection_id":145580,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:11:08] local.INFO: Acknowledgment sent {"connection_id":145580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:11:31] local.INFO: TCP Data received {"connection_id":145581,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145581,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:11:31] local.INFO: Processing buffer {"connection_id":145581,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:11:31] local.INFO: IMEI packet received {"connection_id":145581,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 21:11:31] local.INFO: IMEI acknowledgment sent {"connection_id":145581,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:11:36] local.INFO: TCP Data received {"connection_id":145581,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145581,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:11:36] local.INFO: Processing buffer {"connection_id":145581,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:11:36] local.INFO: IMEI packet received {"connection_id":145581,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 21:11:36] local.INFO: IMEI acknowledgment sent {"connection_id":145581,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:11:37] local.INFO: TCP Data received {"connection_id":145581,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa43c2950012daae14005ff08a80020001423..."} 
[2026-07-27 21:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145581,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa43c2950012daae14005ff08a80020001423..."} 
[2026-07-27 21:11:37] local.INFO: Processing buffer {"connection_id":145581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa43c2950012daae14005ff08a80020001423..."} 
[2026-07-27 21:11:37] local.INFO: Packet analysis {"connection_id":145581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa43c"} 
[2026-07-27 21:11:37] local.INFO: Extracted packet for processing {"connection_id":145581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa43c"} 
[2026-07-27 21:11:37] local.INFO: GPS Element Parsed {"raw_longitude":766173504,"raw_latitude":100599976,"longitude_deg":76.6173504,"latitude_deg":10.0599976,"altitude":32,"angle":20,"satellites":35,"speed":0,"hex_longitude":"2daae140","hex_latitude":"05ff08a8","is_valid_coordinates":true} 
[2026-07-27 21:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002632448001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391576155226112,"note":"Value kept but may cause issues"} 
[2026-07-27 21:11:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133550823004133376,"note":"Value kept but may cause issues"} 
[2026-07-27 21:11:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785166834000,"timestamp_ms":1785166834000,"timestamp_seconds":1785166834,"priority":1,"record_length":96,"hex_timestamp":"0000019fa43c2950"} 
[2026-07-27 21:11:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:11:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-27 21:11:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:11:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:11:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:11:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002632448001,"66":25734,"118":206,"88":20480,"24":0,"16":359391576155226112,"45":-6133550823004133376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 21:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002632448001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:11:37] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 21:11:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 21:11:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391576155226112,"km_value":359391576155226.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:11:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133550823004133376,"description":"Unknown IO ID 45"} 
[2026-07-27 21:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002632448001,"power":25734,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133550823004133376}} 
[2026-07-27 21:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":145581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:11:37] local.INFO: GPS data processed {"connection_id":145581,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:11:37] local.INFO: Acknowledgment sent {"connection_id":145581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:11:37] local.INFO: TCP Data received {"connection_id":143167,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa43b0840012d196940071fee200045013128..."} 
[2026-07-27 21:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143167,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa43b0840012d196940071fee200045013128..."} 
[2026-07-27 21:11:37] local.INFO: Processing buffer {"connection_id":143167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa43b0840012d196940071fee200045013128..."} 
[2026-07-27 21:11:37] local.INFO: Packet analysis {"connection_id":143167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa43b"} 
[2026-07-27 21:11:37] local.INFO: Extracted packet for processing {"connection_id":143167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa43b"} 
[2026-07-27 21:11:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":69,"angle":305,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 21:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002613504001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 21:11:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:11:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785166760000,"timestamp_ms":1785166760000,"timestamp_seconds":1785166760,"priority":1,"record_length":96,"hex_timestamp":"0000019fa43b0840"} 
[2026-07-27 21:11:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:11:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 21:11:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:11:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:11:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143167,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143167,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:11:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 21:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 21:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002613504001,"66":2155,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 21:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 21:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 21:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002613504001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:11:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 21:11:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 21:11:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:11:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002613504001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 21:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":143167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555455,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:11:37] local.INFO: GPS data processed {"connection_id":143167,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:11:37] local.INFO: Acknowledgment sent {"connection_id":143167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:11:59] local.INFO: TCP Data received {"connection_id":143168,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143168,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:11:59] local.INFO: Processing buffer {"connection_id":143168,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:11:59] local.INFO: IMEI packet received {"connection_id":143168,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 21:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":143168,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:12:02] local.INFO: TCP Data received {"connection_id":143165,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 21:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143165,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 21:12:02] local.INFO: Processing buffer {"connection_id":143165,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 21:12:02] local.INFO: IMEI packet received {"connection_id":143165,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 21:12:02] local.INFO: IMEI acknowledgment sent {"connection_id":143165,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:12:04] local.INFO: TCP Data received {"connection_id":143168,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143168,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:12:04] local.INFO: Processing buffer {"connection_id":143168,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:12:04] local.INFO: IMEI packet received {"connection_id":143168,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 21:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":143168,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:12:08] local.INFO: TCP Data received {"connection_id":145581,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa43c2950012daae14005ff08a80020001423..."} 
[2026-07-27 21:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145581,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa43c2950012daae14005ff08a80020001423..."} 
[2026-07-27 21:12:08] local.INFO: Processing buffer {"connection_id":145581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa43c2950012daae14005ff08a80020001423..."} 
[2026-07-27 21:12:08] local.INFO: Packet analysis {"connection_id":145581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa43c"} 
[2026-07-27 21:12:08] local.INFO: Extracted packet for processing {"connection_id":145581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa43c"} 
[2026-07-27 21:12:08] local.INFO: GPS Element Parsed {"raw_longitude":766173504,"raw_latitude":100599976,"longitude_deg":76.6173504,"latitude_deg":10.0599976,"altitude":32,"angle":20,"satellites":35,"speed":0,"hex_longitude":"2daae140","hex_latitude":"05ff08a8","is_valid_coordinates":true} 
[2026-07-27 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-07-27 21:12:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002632448001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:12:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391576155226112,"note":"Value kept but may cause issues"} 
[2026-07-27 21:12:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133550823004133376,"note":"Value kept but may cause issues"} 
[2026-07-27 21:12:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:12:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785166834000,"timestamp_ms":1785166834000,"timestamp_seconds":1785166834,"priority":1,"record_length":96,"hex_timestamp":"0000019fa43c2950"} 
[2026-07-27 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-07-27 21:12:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-27 21:12:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 21:12:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:12:08] local.INFO: Teltonika packet parsed successfully {"connection_id":145581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:12:08] local.INFO: Passing IMEI to GPS processor {"connection_id":145581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:12:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":145581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:12:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:12:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:12:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:12:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002632448001,"66":25734,"118":206,"88":20480,"24":0,"16":359391576155226112,"45":-6133550823004133376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 21:12:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:12:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:12:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002632448001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:12:08] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 21:12:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 21:12:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391576155226112,"km_value":359391576155226.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:12:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133550823004133376,"description":"Unknown IO ID 45"} 
[2026-07-27 21:12:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002632448001,"power":25734,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133550823004133376}} 
[2026-07-27 21:12:08] local.INFO: DEBUG: GPS processor result {"connection_id":145581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:12:08] local.INFO: GPS data processed {"connection_id":145581,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:12:08] local.INFO: Acknowledgment sent {"connection_id":145581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:12:08] local.INFO: TCP Data received {"connection_id":143168,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa43b0840012d196940071fee200045013128..."} 
[2026-07-27 21:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa43b0840012d196940071fee200045013128..."} 
[2026-07-27 21:12:08] local.INFO: Processing buffer {"connection_id":143168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa43b0840012d196940071fee200045013128..."} 
[2026-07-27 21:12:08] local.INFO: Packet analysis {"connection_id":143168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa43b"} 
[2026-07-27 21:12:08] local.INFO: Extracted packet for processing {"connection_id":143168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa43b"} 
[2026-07-27 21:12:08] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":69,"angle":305,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 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-07-27 21:12:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002613504001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:12:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 21:12:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:12:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:12:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785166760000,"timestamp_ms":1785166760000,"timestamp_seconds":1785166760,"priority":1,"record_length":96,"hex_timestamp":"0000019fa43b0840"} 
[2026-07-27 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-07-27 21:12: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-07-27 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 21:12:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 21:12:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:12:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:12:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143168,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:12:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143168,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:12:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:12:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 21:12:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 21:12:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002613504001,"66":2155,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 21:12:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 21:12:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 21:12:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002613504001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:12:08] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 21:12:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 21:12:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:12:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:12:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002613504001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 21:12:08] local.INFO: DEBUG: GPS processor result {"connection_id":143168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555457,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:12:08] local.INFO: GPS data processed {"connection_id":143168,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:12:08] local.INFO: Acknowledgment sent {"connection_id":143168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:12:29] local.INFO: TCP Data received {"connection_id":145582,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 21:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145582,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 21:12:29] local.INFO: Processing buffer {"connection_id":145582,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 21:12:29] local.INFO: IMEI packet received {"connection_id":145582,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 21:12:29] local.INFO: IMEI acknowledgment sent {"connection_id":145582,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:12:31] local.INFO: TCP Data received {"connection_id":144300,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:12:31] local.INFO: Processing buffer {"connection_id":144300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:12:31] local.INFO: IMEI packet received {"connection_id":144300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 21:12:31] local.INFO: IMEI acknowledgment sent {"connection_id":144300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:12:36] local.INFO: TCP Data received {"connection_id":144300,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:12:36] local.INFO: Processing buffer {"connection_id":144300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:12:36] local.INFO: IMEI packet received {"connection_id":144300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 21:12:36] local.INFO: IMEI acknowledgment sent {"connection_id":144300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:12:37] local.INFO: TCP Data received {"connection_id":144300,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa43c2950012daae14005ff08a80020001423..."} 
[2026-07-27 21:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa43c2950012daae14005ff08a80020001423..."} 
[2026-07-27 21:12:37] local.INFO: Processing buffer {"connection_id":144300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa43c2950012daae14005ff08a80020001423..."} 
[2026-07-27 21:12:37] local.INFO: Packet analysis {"connection_id":144300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa43c"} 
[2026-07-27 21:12:37] local.INFO: Extracted packet for processing {"connection_id":144300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa43c"} 
[2026-07-27 21:12:37] local.INFO: GPS Element Parsed {"raw_longitude":766173504,"raw_latitude":100599976,"longitude_deg":76.6173504,"latitude_deg":10.0599976,"altitude":32,"angle":20,"satellites":35,"speed":0,"hex_longitude":"2daae140","hex_latitude":"05ff08a8","is_valid_coordinates":true} 
[2026-07-27 21:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:12:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002632448001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:12:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391576155226112,"note":"Value kept but may cause issues"} 
[2026-07-27 21:12:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133550823004133376,"note":"Value kept but may cause issues"} 
[2026-07-27 21:12:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:12:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785166834000,"timestamp_ms":1785166834000,"timestamp_seconds":1785166834,"priority":1,"record_length":96,"hex_timestamp":"0000019fa43c2950"} 
[2026-07-27 21:12:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:12:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-27 21:12:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:12:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:12:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:12:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:12:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:12:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:12:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:12:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:12:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:12:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:12:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002632448001,"66":25734,"118":206,"88":20480,"24":0,"16":359391576155226112,"45":-6133550823004133376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 21:12:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:12:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:12:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002632448001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:12:37] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 21:12:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 21:12:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391576155226112,"km_value":359391576155226.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:12:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133550823004133376,"description":"Unknown IO ID 45"} 
[2026-07-27 21:12:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002632448001,"power":25734,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133550823004133376}} 
[2026-07-27 21:12:37] local.INFO: DEBUG: GPS processor result {"connection_id":144300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:12:37] local.INFO: GPS data processed {"connection_id":144300,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:12:37] local.INFO: Acknowledgment sent {"connection_id":144300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:12:40] local.INFO: TCP Data received {"connection_id":143168,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa43b0840012d196940071fee200045013128..."} 
[2026-07-27 21:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa43b0840012d196940071fee200045013128..."} 
[2026-07-27 21:12:40] local.INFO: Processing buffer {"connection_id":143168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa43b0840012d196940071fee200045013128..."} 
[2026-07-27 21:12:40] local.INFO: Packet analysis {"connection_id":143168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa43b"} 
[2026-07-27 21:12:40] local.INFO: Extracted packet for processing {"connection_id":143168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa43b"} 
[2026-07-27 21:12:40] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":69,"angle":305,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 21: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-07-27 21:12:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002613504001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:12:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 21:12:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:12:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:12:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785166760000,"timestamp_ms":1785166760000,"timestamp_seconds":1785166760,"priority":1,"record_length":96,"hex_timestamp":"0000019fa43b0840"} 
[2026-07-27 21:12:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21: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-07-27 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 21:12:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21: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-07-27 21:12:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:12:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:12:40] local.INFO: Teltonika packet parsed successfully {"connection_id":143168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:12:40] local.INFO: Passing IMEI to GPS processor {"connection_id":143168,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:12:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":143168,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:12:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:12:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 21:12:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 21:12:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002613504001,"66":2155,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 21:12:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 21:12:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 21:12:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002613504001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:12:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 21:12:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 21:12:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:12:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:12:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002613504001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 21:12:40] local.INFO: DEBUG: GPS processor result {"connection_id":143168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555459,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:12:40] local.INFO: GPS data processed {"connection_id":143168,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:12:40] local.INFO: Acknowledgment sent {"connection_id":143168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:12:59] local.INFO: TCP Data received {"connection_id":145583,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145583,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:12:59] local.INFO: Processing buffer {"connection_id":145583,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:12:59] local.INFO: IMEI packet received {"connection_id":145583,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 21:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":145583,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:13:04] local.INFO: TCP Data received {"connection_id":145583,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145583,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:13:04] local.INFO: Processing buffer {"connection_id":145583,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:13:04] local.INFO: IMEI packet received {"connection_id":145583,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 21:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":145583,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:13:05] local.INFO: TCP Data received {"connection_id":145583,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa43b0840012d196940071fee200045013128..."} 
[2026-07-27 21:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145583,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa43b0840012d196940071fee200045013128..."} 
[2026-07-27 21:13:05] local.INFO: Processing buffer {"connection_id":145583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa43b0840012d196940071fee200045013128..."} 
[2026-07-27 21:13:05] local.INFO: Packet analysis {"connection_id":145583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa43b"} 
[2026-07-27 21:13:05] local.INFO: Extracted packet for processing {"connection_id":145583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa43b"} 
[2026-07-27 21:13:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":69,"angle":305,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 21:13:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:13:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002613504001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:13:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 21:13:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:13:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:13:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785166760000,"timestamp_ms":1785166760000,"timestamp_seconds":1785166760,"priority":1,"record_length":96,"hex_timestamp":"0000019fa43b0840"} 
[2026-07-27 21:13:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:13:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:13:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 21:13:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:13:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:13:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:13:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:13:05] local.INFO: Teltonika packet parsed successfully {"connection_id":145583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:13:05] local.INFO: Passing IMEI to GPS processor {"connection_id":145583,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:13:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":145583,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:13:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:13:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 21:13:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 21:13:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002613504001,"66":2155,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 21:13:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 21:13:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 21:13:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002613504001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:13:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 21:13:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 21:13:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:13:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:13:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002613504001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 21:13:05] local.INFO: DEBUG: GPS processor result {"connection_id":145583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555460,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:13:05] local.INFO: GPS data processed {"connection_id":145583,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:13:05] local.INFO: Acknowledgment sent {"connection_id":145583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:13:08] local.INFO: TCP Data received {"connection_id":144300,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa43c2950012daae14005ff08a80020001423..."} 
[2026-07-27 21:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa43c2950012daae14005ff08a80020001423..."} 
[2026-07-27 21:13:08] local.INFO: Processing buffer {"connection_id":144300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa43c2950012daae14005ff08a80020001423..."} 
[2026-07-27 21:13:08] local.INFO: Packet analysis {"connection_id":144300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa43c"} 
[2026-07-27 21:13:08] local.INFO: Extracted packet for processing {"connection_id":144300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa43c"} 
[2026-07-27 21:13:08] local.INFO: GPS Element Parsed {"raw_longitude":766173504,"raw_latitude":100599976,"longitude_deg":76.6173504,"latitude_deg":10.0599976,"altitude":32,"angle":20,"satellites":35,"speed":0,"hex_longitude":"2daae140","hex_latitude":"05ff08a8","is_valid_coordinates":true} 
[2026-07-27 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-07-27 21:13:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002632448001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:13:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391576155226112,"note":"Value kept but may cause issues"} 
[2026-07-27 21:13:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133550823004133376,"note":"Value kept but may cause issues"} 
[2026-07-27 21:13:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:13:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785166834000,"timestamp_ms":1785166834000,"timestamp_seconds":1785166834,"priority":1,"record_length":96,"hex_timestamp":"0000019fa43c2950"} 
[2026-07-27 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-07-27 21:13:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-27 21:13:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 21:13:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:13:08] local.INFO: Teltonika packet parsed successfully {"connection_id":144300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:13:08] local.INFO: Passing IMEI to GPS processor {"connection_id":144300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:13:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":144300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 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-07-27 21:13:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:13:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:13:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002632448001,"66":25734,"118":206,"88":20480,"24":0,"16":359391576155226112,"45":-6133550823004133376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 21:13:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:13:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:13:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002632448001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:13:08] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 21:13:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 21:13:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391576155226112,"km_value":359391576155226.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:13:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133550823004133376,"description":"Unknown IO ID 45"} 
[2026-07-27 21:13:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002632448001,"power":25734,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133550823004133376}} 
[2026-07-27 21:13:08] local.INFO: DEBUG: GPS processor result {"connection_id":144300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:13:08] local.INFO: GPS data processed {"connection_id":144300,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:13:08] local.INFO: Acknowledgment sent {"connection_id":144300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:13:31] local.INFO: TCP Data received {"connection_id":143169,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:13:31] local.INFO: Processing buffer {"connection_id":143169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:13:31] local.INFO: IMEI packet received {"connection_id":143169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 21:13:31] local.INFO: IMEI acknowledgment sent {"connection_id":143169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:13:36] local.INFO: TCP Data received {"connection_id":143169,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:13:36] local.INFO: Processing buffer {"connection_id":143169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:13:36] local.INFO: IMEI packet received {"connection_id":143169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 21:13:36] local.INFO: IMEI acknowledgment sent {"connection_id":143169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:13:37] local.INFO: TCP Data received {"connection_id":143169,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa43c2950012daae14005ff08a80020001423..."} 
[2026-07-27 21:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143169,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa43c2950012daae14005ff08a80020001423..."} 
[2026-07-27 21:13:37] local.INFO: Processing buffer {"connection_id":143169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa43c2950012daae14005ff08a80020001423..."} 
[2026-07-27 21:13:37] local.INFO: Packet analysis {"connection_id":143169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa43c"} 
[2026-07-27 21:13:37] local.INFO: Extracted packet for processing {"connection_id":143169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa43c"} 
[2026-07-27 21:13:37] local.INFO: GPS Element Parsed {"raw_longitude":766173504,"raw_latitude":100599976,"longitude_deg":76.6173504,"latitude_deg":10.0599976,"altitude":32,"angle":20,"satellites":35,"speed":0,"hex_longitude":"2daae140","hex_latitude":"05ff08a8","is_valid_coordinates":true} 
[2026-07-27 21:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:13:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002632448001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:13:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391576155226112,"note":"Value kept but may cause issues"} 
[2026-07-27 21:13:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133550823004133376,"note":"Value kept but may cause issues"} 
[2026-07-27 21:13:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:13:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785166834000,"timestamp_ms":1785166834000,"timestamp_seconds":1785166834,"priority":1,"record_length":96,"hex_timestamp":"0000019fa43c2950"} 
[2026-07-27 21:13:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:13:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-27 21:13:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:13:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:13:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:13:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:13:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:13:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:13:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:13:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:13:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:13:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:13:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002632448001,"66":25734,"118":206,"88":20480,"24":0,"16":359391576155226112,"45":-6133550823004133376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 21:13:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:13:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:13:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002632448001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:13:37] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 21:13:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 21:13:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391576155226112,"km_value":359391576155226.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:13:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133550823004133376,"description":"Unknown IO ID 45"} 
[2026-07-27 21:13:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002632448001,"power":25734,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133550823004133376}} 
[2026-07-27 21:13:37] local.INFO: DEBUG: GPS processor result {"connection_id":143169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:13:37] local.INFO: GPS data processed {"connection_id":143169,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:13:37] local.INFO: Acknowledgment sent {"connection_id":143169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:13:40] local.INFO: TCP Data received {"connection_id":145583,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa43b0840012d196940071fee200045013128..."} 
[2026-07-27 21:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145583,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa43b0840012d196940071fee200045013128..."} 
[2026-07-27 21:13:40] local.INFO: Processing buffer {"connection_id":145583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa43b0840012d196940071fee200045013128..."} 
[2026-07-27 21:13:40] local.INFO: Packet analysis {"connection_id":145583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa43b"} 
[2026-07-27 21:13:40] local.INFO: Extracted packet for processing {"connection_id":145583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa43b"} 
[2026-07-27 21:13:40] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":69,"angle":305,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 21: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-07-27 21:13:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002613504001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:13:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 21:13:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:13:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:13:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785166760000,"timestamp_ms":1785166760000,"timestamp_seconds":1785166760,"priority":1,"record_length":96,"hex_timestamp":"0000019fa43b0840"} 
[2026-07-27 21:13:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:13: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-07-27 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 21:13:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21: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-07-27 21:13:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:13:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:13:40] local.INFO: Teltonika packet parsed successfully {"connection_id":145583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:13:40] local.INFO: Passing IMEI to GPS processor {"connection_id":145583,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:13:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":145583,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:13:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:13:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 21:13:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 21:13:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002613504001,"66":2155,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 21:13:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 21:13:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 21:13:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002613504001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:13:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 21:13:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 21:13:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:13:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:13:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002613504001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 21:13:40] local.INFO: DEBUG: GPS processor result {"connection_id":145583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555463,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:13:40] local.INFO: GPS data processed {"connection_id":145583,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:13:40] local.INFO: Acknowledgment sent {"connection_id":145583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:13:59] local.INFO: TCP Data received {"connection_id":144301,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144301,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:13:59] local.INFO: Processing buffer {"connection_id":144301,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:13:59] local.INFO: IMEI packet received {"connection_id":144301,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 21:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":144301,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:14:04] local.INFO: TCP Data received {"connection_id":144301,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144301,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:14:04] local.INFO: Processing buffer {"connection_id":144301,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:14:04] local.INFO: IMEI packet received {"connection_id":144301,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 21:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":144301,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:14:05] local.INFO: TCP Data received {"connection_id":144301,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa43b0840012d196940071fee200045013128..."} 
[2026-07-27 21:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa43b0840012d196940071fee200045013128..."} 
[2026-07-27 21:14:05] local.INFO: Processing buffer {"connection_id":144301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa43b0840012d196940071fee200045013128..."} 
[2026-07-27 21:14:05] local.INFO: Packet analysis {"connection_id":144301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa43b"} 
[2026-07-27 21:14:05] local.INFO: Extracted packet for processing {"connection_id":144301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa43b"} 
[2026-07-27 21:14:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":69,"angle":305,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 21:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:14:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002613504001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:14:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 21:14:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:14:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:14:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785166760000,"timestamp_ms":1785166760000,"timestamp_seconds":1785166760,"priority":1,"record_length":96,"hex_timestamp":"0000019fa43b0840"} 
[2026-07-27 21:14:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:14:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 21:14:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:14:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:14:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:14:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:14:05] local.INFO: Teltonika packet parsed successfully {"connection_id":144301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:14:05] local.INFO: Passing IMEI to GPS processor {"connection_id":144301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:14:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":144301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:14:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:14:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 21:14:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 21:14:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002613504001,"66":2155,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 21:14:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 21:14:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 21:14:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002613504001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:14:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 21:14:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 21:14:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:14:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:14:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002613504001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 21:14:05] local.INFO: DEBUG: GPS processor result {"connection_id":144301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555464,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:14:05] local.INFO: GPS data processed {"connection_id":144301,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:14:05] local.INFO: Acknowledgment sent {"connection_id":144301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:14:08] local.INFO: TCP Data received {"connection_id":143169,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa43c2950012daae14005ff08a80020001423..."} 
[2026-07-27 21:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143169,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa43c2950012daae14005ff08a80020001423..."} 
[2026-07-27 21:14:08] local.INFO: Processing buffer {"connection_id":143169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa43c2950012daae14005ff08a80020001423..."} 
[2026-07-27 21:14:08] local.INFO: Packet analysis {"connection_id":143169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa43c"} 
[2026-07-27 21:14:08] local.INFO: Extracted packet for processing {"connection_id":143169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa43c"} 
[2026-07-27 21:14:08] local.INFO: GPS Element Parsed {"raw_longitude":766173504,"raw_latitude":100599976,"longitude_deg":76.6173504,"latitude_deg":10.0599976,"altitude":32,"angle":20,"satellites":35,"speed":0,"hex_longitude":"2daae140","hex_latitude":"05ff08a8","is_valid_coordinates":true} 
[2026-07-27 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-07-27 21:14:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002632448001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:14:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391576155226112,"note":"Value kept but may cause issues"} 
[2026-07-27 21:14:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133550823004133376,"note":"Value kept but may cause issues"} 
[2026-07-27 21:14:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:14:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785166834000,"timestamp_ms":1785166834000,"timestamp_seconds":1785166834,"priority":1,"record_length":96,"hex_timestamp":"0000019fa43c2950"} 
[2026-07-27 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-07-27 21:14:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-27 21:14:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 21:14:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:14:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:14:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:14:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:14:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:14:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:14:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:14:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002632448001,"66":25734,"118":206,"88":20480,"24":0,"16":359391576155226112,"45":-6133550823004133376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 21:14:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:14:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:14:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002632448001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:14:08] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 21:14:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 21:14:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391576155226112,"km_value":359391576155226.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:14:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133550823004133376,"description":"Unknown IO ID 45"} 
[2026-07-27 21:14:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002632448001,"power":25734,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133550823004133376}} 
[2026-07-27 21:14:08] local.INFO: DEBUG: GPS processor result {"connection_id":143169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:14:08] local.INFO: GPS data processed {"connection_id":143169,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:14:08] local.INFO: Acknowledgment sent {"connection_id":143169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:14:36] local.INFO: TCP Data received {"connection_id":143304,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:14:36] local.INFO: Processing buffer {"connection_id":143304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:14:36] local.INFO: IMEI packet received {"connection_id":143304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 21:14:36] local.INFO: IMEI acknowledgment sent {"connection_id":143304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:14:38] local.INFO: TCP Data received {"connection_id":144301,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa43b0840012d196940071fee200045013128..."} 
[2026-07-27 21:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa43b0840012d196940071fee200045013128..."} 
[2026-07-27 21:14:38] local.INFO: Processing buffer {"connection_id":144301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa43b0840012d196940071fee200045013128..."} 
[2026-07-27 21:14:38] local.INFO: Packet analysis {"connection_id":144301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa43b"} 
[2026-07-27 21:14:38] local.INFO: Extracted packet for processing {"connection_id":144301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa43b"} 
[2026-07-27 21:14:38] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":69,"angle":305,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 21:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:14:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002613504001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:14:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 21:14:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:14:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:14:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785166760000,"timestamp_ms":1785166760000,"timestamp_seconds":1785166760,"priority":1,"record_length":96,"hex_timestamp":"0000019fa43b0840"} 
[2026-07-27 21:14:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:14:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 21:14:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:14:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:14:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:14:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:14:38] local.INFO: Teltonika packet parsed successfully {"connection_id":144301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:14:38] local.INFO: Passing IMEI to GPS processor {"connection_id":144301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:14:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":144301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:14:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:14:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 21:14:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 21:14:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002613504001,"66":2155,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 21:14:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 21:14:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 21:14:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002613504001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:14:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 21:14:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 21:14:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:14:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:14:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002613504001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 21:14:38] local.INFO: DEBUG: GPS processor result {"connection_id":144301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555466,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:14:38] local.INFO: GPS data processed {"connection_id":144301,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:14:38] local.INFO: Acknowledgment sent {"connection_id":144301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:14:41] local.INFO: TCP Data received {"connection_id":143304,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:14:41] local.INFO: Processing buffer {"connection_id":143304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:14:41] local.INFO: IMEI packet received {"connection_id":143304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 21:14:41] local.INFO: IMEI acknowledgment sent {"connection_id":143304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:14:42] local.INFO: TCP Data received {"connection_id":143304,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa43c2950012daae14005ff08a80020001423..."} 
[2026-07-27 21:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa43c2950012daae14005ff08a80020001423..."} 
[2026-07-27 21:14:42] local.INFO: Processing buffer {"connection_id":143304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa43c2950012daae14005ff08a80020001423..."} 
[2026-07-27 21:14:42] local.INFO: Packet analysis {"connection_id":143304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa43c"} 
[2026-07-27 21:14:42] local.INFO: Extracted packet for processing {"connection_id":143304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa43c"} 
[2026-07-27 21:14:42] local.INFO: GPS Element Parsed {"raw_longitude":766173504,"raw_latitude":100599976,"longitude_deg":76.6173504,"latitude_deg":10.0599976,"altitude":32,"angle":20,"satellites":35,"speed":0,"hex_longitude":"2daae140","hex_latitude":"05ff08a8","is_valid_coordinates":true} 
[2026-07-27 21:14:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:14:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002632448001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:14:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391576155226112,"note":"Value kept but may cause issues"} 
[2026-07-27 21:14:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133550823004133376,"note":"Value kept but may cause issues"} 
[2026-07-27 21:14:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:14:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785166834000,"timestamp_ms":1785166834000,"timestamp_seconds":1785166834,"priority":1,"record_length":96,"hex_timestamp":"0000019fa43c2950"} 
[2026-07-27 21:14:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:14:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:14:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-27 21:14:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:14:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:14:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:14:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:14:42] local.INFO: Teltonika packet parsed successfully {"connection_id":143304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:14:42] local.INFO: Passing IMEI to GPS processor {"connection_id":143304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:14:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":143304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:14:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:14:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:14:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:14:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002632448001,"66":25734,"118":206,"88":20480,"24":0,"16":359391576155226112,"45":-6133550823004133376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 21:14:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:14:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:14:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002632448001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:14:42] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 21:14:42] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 21:14:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391576155226112,"km_value":359391576155226.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:14:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133550823004133376,"description":"Unknown IO ID 45"} 
[2026-07-27 21:14:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002632448001,"power":25734,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133550823004133376}} 
[2026-07-27 21:14:42] local.INFO: DEBUG: GPS processor result {"connection_id":143304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:14:42] local.INFO: GPS data processed {"connection_id":143304,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:14:42] local.INFO: Acknowledgment sent {"connection_id":143304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:14:59] local.INFO: TCP Data received {"connection_id":143170,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143170,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:14:59] local.INFO: Processing buffer {"connection_id":143170,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:14:59] local.INFO: IMEI packet received {"connection_id":143170,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 21:14:59] local.INFO: IMEI acknowledgment sent {"connection_id":143170,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:14:59] local.INFO: TCP Data received {"connection_id":143170,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143170,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:14:59] local.INFO: Processing buffer {"connection_id":143170,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:14:59] local.INFO: IMEI packet received {"connection_id":143170,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 21:14:59] local.INFO: IMEI acknowledgment sent {"connection_id":143170,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:15:04] local.INFO: TCP Data received {"connection_id":143170,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143170,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:15:04] local.INFO: Processing buffer {"connection_id":143170,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:15:04] local.INFO: IMEI packet received {"connection_id":143170,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 21:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":143170,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:15:05] local.INFO: TCP Data received {"connection_id":143170,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa43fa008012d196940071fee20004501312a..."} 
[2026-07-27 21:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143170,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa43fa008012d196940071fee20004501312a..."} 
[2026-07-27 21:15:05] local.INFO: Processing buffer {"connection_id":143170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa43fa008012d196940071fee20004501312a..."} 
[2026-07-27 21:15:05] local.INFO: Packet analysis {"connection_id":143170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa43f"} 
[2026-07-27 21:15:05] local.INFO: Extracted packet for processing {"connection_id":143170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa43f"} 
[2026-07-27 21:15:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":69,"angle":305,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 21:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:15:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002690560001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:15:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 21:15:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:15:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:15:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785167061000,"timestamp_ms":1785167061000,"timestamp_seconds":1785167061,"priority":1,"record_length":96,"hex_timestamp":"0000019fa43fa008"} 
[2026-07-27 21:15:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:15:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-27 21:15:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:15:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:15:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:15:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:15:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:15:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143170,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:15:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143170,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:15:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:15:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 21:15:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 21:15:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002690560001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 21:15:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 21:15:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 21:15:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002690560001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:15:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 21:15:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 21:15:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:15:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:15:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002690560001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 21:15:05] local.INFO: DEBUG: GPS processor result {"connection_id":143170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555468,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:15:05] local.INFO: GPS data processed {"connection_id":143170,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:15:05] local.INFO: Acknowledgment sent {"connection_id":143170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:15:13] local.INFO: TCP Data received {"connection_id":143304,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa43c2950012daae14005ff08a80020001423..."} 
[2026-07-27 21:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa43c2950012daae14005ff08a80020001423..."} 
[2026-07-27 21:15:13] local.INFO: Processing buffer {"connection_id":143304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa43c2950012daae14005ff08a80020001423..."} 
[2026-07-27 21:15:13] local.INFO: Packet analysis {"connection_id":143304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa43c"} 
[2026-07-27 21:15:13] local.INFO: Extracted packet for processing {"connection_id":143304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa43c"} 
[2026-07-27 21:15:13] local.INFO: GPS Element Parsed {"raw_longitude":766173504,"raw_latitude":100599976,"longitude_deg":76.6173504,"latitude_deg":10.0599976,"altitude":32,"angle":20,"satellites":35,"speed":0,"hex_longitude":"2daae140","hex_latitude":"05ff08a8","is_valid_coordinates":true} 
[2026-07-27 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-07-27 21:15:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002632448001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:15:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391576155226112,"note":"Value kept but may cause issues"} 
[2026-07-27 21:15:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133550823004133376,"note":"Value kept but may cause issues"} 
[2026-07-27 21:15:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:15:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785166834000,"timestamp_ms":1785166834000,"timestamp_seconds":1785166834,"priority":1,"record_length":96,"hex_timestamp":"0000019fa43c2950"} 
[2026-07-27 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-07-27 21:15:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-27 21:15:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 21:15:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:15:13] local.INFO: Teltonika packet parsed successfully {"connection_id":143304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:15:13] local.INFO: Passing IMEI to GPS processor {"connection_id":143304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:15:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":143304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:15:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:15:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:15:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:15:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002632448001,"66":25734,"118":206,"88":20480,"24":0,"16":359391576155226112,"45":-6133550823004133376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 21:15:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:15:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:15:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002632448001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:15:13] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 21:15:13] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 21:15:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391576155226112,"km_value":359391576155226.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:15:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133550823004133376,"description":"Unknown IO ID 45"} 
[2026-07-27 21:15:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002632448001,"power":25734,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133550823004133376}} 
[2026-07-27 21:15:13] local.INFO: DEBUG: GPS processor result {"connection_id":143304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:15:13] local.INFO: GPS data processed {"connection_id":143304,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:15:13] local.INFO: Acknowledgment sent {"connection_id":143304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:15:31] local.INFO: TCP Data received {"connection_id":145584,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:15:31] local.INFO: Processing buffer {"connection_id":145584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:15:31] local.INFO: IMEI packet received {"connection_id":145584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 21:15:31] local.INFO: IMEI acknowledgment sent {"connection_id":145584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:15:36] local.INFO: TCP Data received {"connection_id":145584,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:15:36] local.INFO: Processing buffer {"connection_id":145584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:15:36] local.INFO: IMEI packet received {"connection_id":145584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 21:15:36] local.INFO: IMEI acknowledgment sent {"connection_id":145584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:15:37] local.INFO: TCP Data received {"connection_id":145584,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa43c2950012daae14005ff08a80020001423..."} 
[2026-07-27 21:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa43c2950012daae14005ff08a80020001423..."} 
[2026-07-27 21:15:37] local.INFO: Processing buffer {"connection_id":145584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa43c2950012daae14005ff08a80020001423..."} 
[2026-07-27 21:15:37] local.INFO: Packet analysis {"connection_id":145584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa43c"} 
[2026-07-27 21:15:37] local.INFO: Extracted packet for processing {"connection_id":145584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa43c"} 
[2026-07-27 21:15:37] local.INFO: GPS Element Parsed {"raw_longitude":766173504,"raw_latitude":100599976,"longitude_deg":76.6173504,"latitude_deg":10.0599976,"altitude":32,"angle":20,"satellites":35,"speed":0,"hex_longitude":"2daae140","hex_latitude":"05ff08a8","is_valid_coordinates":true} 
[2026-07-27 21:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002632448001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391576155226112,"note":"Value kept but may cause issues"} 
[2026-07-27 21:15:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133550823004133376,"note":"Value kept but may cause issues"} 
[2026-07-27 21:15:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785166834000,"timestamp_ms":1785166834000,"timestamp_seconds":1785166834,"priority":1,"record_length":96,"hex_timestamp":"0000019fa43c2950"} 
[2026-07-27 21:15:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:15:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-27 21:15:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:15:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:15:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:15:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002632448001,"66":25734,"118":206,"88":20480,"24":0,"16":359391576155226112,"45":-6133550823004133376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 21:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002632448001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:15:37] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 21:15:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 21:15:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391576155226112,"km_value":359391576155226.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:15:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133550823004133376,"description":"Unknown IO ID 45"} 
[2026-07-27 21:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002632448001,"power":25734,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133550823004133376}} 
[2026-07-27 21:15:37] local.INFO: TCP Data received {"connection_id":143170,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa43fa008012d196940071fee20004501312a..."} 
[2026-07-27 21:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143170,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa43fa008012d196940071fee20004501312a..."} 
[2026-07-27 21:15:37] local.INFO: Processing buffer {"connection_id":143170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa43fa008012d196940071fee20004501312a..."} 
[2026-07-27 21:15:37] local.INFO: Packet analysis {"connection_id":143170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa43f"} 
[2026-07-27 21:15:37] local.INFO: Extracted packet for processing {"connection_id":143170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa43f"} 
[2026-07-27 21:15:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":69,"angle":305,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 21:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002690560001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 21:15:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:15:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785167061000,"timestamp_ms":1785167061000,"timestamp_seconds":1785167061,"priority":1,"record_length":96,"hex_timestamp":"0000019fa43fa008"} 
[2026-07-27 21:15:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:15:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-27 21:15:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:15:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:15:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":145584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:15:37] local.INFO: GPS data processed {"connection_id":145584,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:15:37] local.INFO: Acknowledgment sent {"connection_id":145584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143170,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143170,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:15:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 21:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 21:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002690560001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 21:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 21:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 21:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002690560001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:15:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 21:15:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 21:15:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:15:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002690560001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 21:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":143170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555471,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:15:37] local.INFO: GPS data processed {"connection_id":143170,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:15:37] local.INFO: Acknowledgment sent {"connection_id":143170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:15:59] local.INFO: TCP Data received {"connection_id":143305,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143305,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:15:59] local.INFO: Processing buffer {"connection_id":143305,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:15:59] local.INFO: IMEI packet received {"connection_id":143305,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 21:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":143305,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:16:04] local.INFO: TCP Data received {"connection_id":143305,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143305,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:16:04] local.INFO: Processing buffer {"connection_id":143305,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:16:04] local.INFO: IMEI packet received {"connection_id":143305,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 21:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":143305,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:16:07] local.INFO: TCP Data received {"connection_id":143305,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa43fa008012d196940071fee20004501312a..."} 
[2026-07-27 21:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa43fa008012d196940071fee20004501312a..."} 
[2026-07-27 21:16:07] local.INFO: Processing buffer {"connection_id":143305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa43fa008012d196940071fee20004501312a..."} 
[2026-07-27 21:16:07] local.INFO: Packet analysis {"connection_id":143305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa43f"} 
[2026-07-27 21:16:07] local.INFO: Extracted packet for processing {"connection_id":143305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa43f"} 
[2026-07-27 21:16:07] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":69,"angle":305,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 21:16:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:16:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002690560001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:16:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 21:16:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:16:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:16:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785167061000,"timestamp_ms":1785167061000,"timestamp_seconds":1785167061,"priority":1,"record_length":96,"hex_timestamp":"0000019fa43fa008"} 
[2026-07-27 21:16:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:16:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:16:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-27 21:16:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:16:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:16:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:16:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:16:07] local.INFO: Teltonika packet parsed successfully {"connection_id":143305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:16:07] local.INFO: Passing IMEI to GPS processor {"connection_id":143305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:16:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":143305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:16:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:16:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 21:16:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 21:16:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002690560001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 21:16:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 21:16:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 21:16:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002690560001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:16:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 21:16:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 21:16:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:16:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:16:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002690560001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 21:16:07] local.INFO: DEBUG: GPS processor result {"connection_id":143305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555472,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:16:07] local.INFO: GPS data processed {"connection_id":143305,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:16:07] local.INFO: Acknowledgment sent {"connection_id":143305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:16:08] local.INFO: TCP Data received {"connection_id":145584,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa43c2950012daae14005ff08a80020001423..."} 
[2026-07-27 21:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa43c2950012daae14005ff08a80020001423..."} 
[2026-07-27 21:16:08] local.INFO: Processing buffer {"connection_id":145584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa43c2950012daae14005ff08a80020001423..."} 
[2026-07-27 21:16:08] local.INFO: Packet analysis {"connection_id":145584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa43c"} 
[2026-07-27 21:16:08] local.INFO: Extracted packet for processing {"connection_id":145584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa43c"} 
[2026-07-27 21:16:08] local.INFO: GPS Element Parsed {"raw_longitude":766173504,"raw_latitude":100599976,"longitude_deg":76.6173504,"latitude_deg":10.0599976,"altitude":32,"angle":20,"satellites":35,"speed":0,"hex_longitude":"2daae140","hex_latitude":"05ff08a8","is_valid_coordinates":true} 
[2026-07-27 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-07-27 21:16:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002632448001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:16:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391576155226112,"note":"Value kept but may cause issues"} 
[2026-07-27 21:16:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133550823004133376,"note":"Value kept but may cause issues"} 
[2026-07-27 21:16:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:16:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785166834000,"timestamp_ms":1785166834000,"timestamp_seconds":1785166834,"priority":1,"record_length":96,"hex_timestamp":"0000019fa43c2950"} 
[2026-07-27 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-07-27 21:16:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-27 21:16:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 21:16:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:16:08] local.INFO: Teltonika packet parsed successfully {"connection_id":145584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:16:08] local.INFO: Passing IMEI to GPS processor {"connection_id":145584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:16:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":145584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:16:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:16:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:16:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:16:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002632448001,"66":25734,"118":206,"88":20480,"24":0,"16":359391576155226112,"45":-6133550823004133376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 21:16:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:16:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:16:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002632448001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:16:08] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 21:16:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 21:16:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391576155226112,"km_value":359391576155226.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:16:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133550823004133376,"description":"Unknown IO ID 45"} 
[2026-07-27 21:16:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002632448001,"power":25734,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133550823004133376}} 
[2026-07-27 21:16:08] local.INFO: DEBUG: GPS processor result {"connection_id":145584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:16:08] local.INFO: GPS data processed {"connection_id":145584,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:16:08] local.INFO: Acknowledgment sent {"connection_id":145584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:16:31] local.INFO: TCP Data received {"connection_id":143171,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:16:31] local.INFO: Processing buffer {"connection_id":143171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:16:31] local.INFO: IMEI packet received {"connection_id":143171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 21:16:31] local.INFO: IMEI acknowledgment sent {"connection_id":143171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:16:36] local.INFO: TCP Data received {"connection_id":143171,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:16:36] local.INFO: Processing buffer {"connection_id":143171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:16:36] local.INFO: IMEI packet received {"connection_id":143171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 21:16:36] local.INFO: IMEI acknowledgment sent {"connection_id":143171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:16:37] local.INFO: TCP Data received {"connection_id":143171,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa440c118012daae14005ff08a80020001422..."} 
[2026-07-27 21:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143171,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa440c118012daae14005ff08a80020001422..."} 
[2026-07-27 21:16:37] local.INFO: Processing buffer {"connection_id":143171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa440c118012daae14005ff08a80020001422..."} 
[2026-07-27 21:16:37] local.INFO: Packet analysis {"connection_id":143171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa440"} 
[2026-07-27 21:16:37] local.INFO: Extracted packet for processing {"connection_id":143171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa440"} 
[2026-07-27 21:16:37] local.INFO: GPS Element Parsed {"raw_longitude":766173504,"raw_latitude":100599976,"longitude_deg":76.6173504,"latitude_deg":10.0599976,"altitude":32,"angle":20,"satellites":34,"speed":0,"hex_longitude":"2daae140","hex_latitude":"05ff08a8","is_valid_coordinates":true} 
[2026-07-27 21:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:16:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002709504001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:16:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391576155226112,"note":"Value kept but may cause issues"} 
[2026-07-27 21:16:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133550823004133376,"note":"Value kept but may cause issues"} 
[2026-07-27 21:16:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:16:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785167135000,"timestamp_ms":1785167135000,"timestamp_seconds":1785167135,"priority":1,"record_length":96,"hex_timestamp":"0000019fa440c118"} 
[2026-07-27 21:16:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:16:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-27 21:16:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:16:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:16:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:16:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:16:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:16:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:16:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:16:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:16:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:16:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:16:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002709504001,"66":25702,"118":206,"88":20480,"24":0,"16":359391576155226112,"45":-6133550823004133376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 21:16:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:16:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:16:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002709504001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:16:37] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 21:16:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 21:16:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391576155226112,"km_value":359391576155226.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:16:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133550823004133376,"description":"Unknown IO ID 45"} 
[2026-07-27 21:16:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002709504001,"power":25702,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133550823004133376}} 
[2026-07-27 21:16:37] local.INFO: DEBUG: GPS processor result {"connection_id":143171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:16:37] local.INFO: GPS data processed {"connection_id":143171,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:16:37] local.INFO: Acknowledgment sent {"connection_id":143171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:16:38] local.INFO: TCP Data received {"connection_id":143305,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa43fa008012d196940071fee20004501312a..."} 
[2026-07-27 21:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa43fa008012d196940071fee20004501312a..."} 
[2026-07-27 21:16:38] local.INFO: Processing buffer {"connection_id":143305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa43fa008012d196940071fee20004501312a..."} 
[2026-07-27 21:16:38] local.INFO: Packet analysis {"connection_id":143305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa43f"} 
[2026-07-27 21:16:38] local.INFO: Extracted packet for processing {"connection_id":143305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa43f"} 
[2026-07-27 21:16:38] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":69,"angle":305,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 21:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:16:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002690560001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:16:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 21:16:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:16:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:16:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785167061000,"timestamp_ms":1785167061000,"timestamp_seconds":1785167061,"priority":1,"record_length":96,"hex_timestamp":"0000019fa43fa008"} 
[2026-07-27 21:16:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:16:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-27 21:16:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:16:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:16:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:16:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:16:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:16:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:16:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:16:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:16:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 21:16:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 21:16:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002690560001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 21:16:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 21:16:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 21:16:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002690560001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:16:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 21:16:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 21:16:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:16:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:16:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002690560001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 21:16:38] local.INFO: DEBUG: GPS processor result {"connection_id":143305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555475,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:16:38] local.INFO: GPS data processed {"connection_id":143305,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:16:38] local.INFO: Acknowledgment sent {"connection_id":143305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:16:59] local.INFO: TCP Data received {"connection_id":143172,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143172,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:16:59] local.INFO: Processing buffer {"connection_id":143172,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:16:59] local.INFO: IMEI packet received {"connection_id":143172,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 21:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":143172,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:17:04] local.INFO: TCP Data received {"connection_id":143172,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143172,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:17:04] local.INFO: Processing buffer {"connection_id":143172,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:17:04] local.INFO: IMEI packet received {"connection_id":143172,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 21:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":143172,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:17:06] local.INFO: TCP Data received {"connection_id":143172,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa43fa008012d196940071fee20004501312a..."} 
[2026-07-27 21:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143172,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa43fa008012d196940071fee20004501312a..."} 
[2026-07-27 21:17:06] local.INFO: Processing buffer {"connection_id":143172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa43fa008012d196940071fee20004501312a..."} 
[2026-07-27 21:17:06] local.INFO: Packet analysis {"connection_id":143172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa43f"} 
[2026-07-27 21:17:06] local.INFO: Extracted packet for processing {"connection_id":143172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa43f"} 
[2026-07-27 21:17:06] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":69,"angle":305,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 21:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002690560001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 21:17:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:17:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785167061000,"timestamp_ms":1785167061000,"timestamp_seconds":1785167061,"priority":1,"record_length":96,"hex_timestamp":"0000019fa43fa008"} 
[2026-07-27 21:17:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:17:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-27 21:17:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:17:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:17:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143172,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143172,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:17:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 21:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 21:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002690560001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 21:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 21:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 21:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002690560001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:17:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 21:17:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 21:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:17:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002690560001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 21:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":143172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555476,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:17:06] local.INFO: GPS data processed {"connection_id":143172,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:17:06] local.INFO: Acknowledgment sent {"connection_id":143172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:17:08] local.INFO: TCP Data received {"connection_id":143171,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa440c118012daae14005ff08a80020001422..."} 
[2026-07-27 21:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143171,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa440c118012daae14005ff08a80020001422..."} 
[2026-07-27 21:17:08] local.INFO: Processing buffer {"connection_id":143171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa440c118012daae14005ff08a80020001422..."} 
[2026-07-27 21:17:08] local.INFO: Packet analysis {"connection_id":143171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa440"} 
[2026-07-27 21:17:08] local.INFO: Extracted packet for processing {"connection_id":143171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa440"} 
[2026-07-27 21:17:08] local.INFO: GPS Element Parsed {"raw_longitude":766173504,"raw_latitude":100599976,"longitude_deg":76.6173504,"latitude_deg":10.0599976,"altitude":32,"angle":20,"satellites":34,"speed":0,"hex_longitude":"2daae140","hex_latitude":"05ff08a8","is_valid_coordinates":true} 
[2026-07-27 21:17:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:17:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002709504001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:17:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391576155226112,"note":"Value kept but may cause issues"} 
[2026-07-27 21:17:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133550823004133376,"note":"Value kept but may cause issues"} 
[2026-07-27 21:17:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:17:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785167135000,"timestamp_ms":1785167135000,"timestamp_seconds":1785167135,"priority":1,"record_length":96,"hex_timestamp":"0000019fa440c118"} 
[2026-07-27 21:17:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:17:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-27 21:17:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:17:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:17:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:17:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:17:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:17:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:17:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:17:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:17:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:17:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:17:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002709504001,"66":25702,"118":206,"88":20480,"24":0,"16":359391576155226112,"45":-6133550823004133376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 21:17:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:17:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:17:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002709504001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:17:08] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 21:17:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 21:17:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391576155226112,"km_value":359391576155226.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:17:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133550823004133376,"description":"Unknown IO ID 45"} 
[2026-07-27 21:17:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002709504001,"power":25702,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133550823004133376}} 
[2026-07-27 21:17:08] local.INFO: DEBUG: GPS processor result {"connection_id":143171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:17:08] local.INFO: GPS data processed {"connection_id":143171,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:17:08] local.INFO: Acknowledgment sent {"connection_id":143171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:17:31] local.INFO: TCP Data received {"connection_id":145585,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:17:31] local.INFO: Processing buffer {"connection_id":145585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:17:31] local.INFO: IMEI packet received {"connection_id":145585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 21:17:31] local.INFO: IMEI acknowledgment sent {"connection_id":145585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:17:36] local.INFO: TCP Data received {"connection_id":145585,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:17:36] local.INFO: Processing buffer {"connection_id":145585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:17:36] local.INFO: IMEI packet received {"connection_id":145585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 21:17:36] local.INFO: IMEI acknowledgment sent {"connection_id":145585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:17:37] local.INFO: TCP Data received {"connection_id":145585,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa440c118012daae14005ff08a80020001422..."} 
[2026-07-27 21:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa440c118012daae14005ff08a80020001422..."} 
[2026-07-27 21:17:37] local.INFO: Processing buffer {"connection_id":145585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa440c118012daae14005ff08a80020001422..."} 
[2026-07-27 21:17:37] local.INFO: Packet analysis {"connection_id":145585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa440"} 
[2026-07-27 21:17:37] local.INFO: Extracted packet for processing {"connection_id":145585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa440"} 
[2026-07-27 21:17:37] local.INFO: GPS Element Parsed {"raw_longitude":766173504,"raw_latitude":100599976,"longitude_deg":76.6173504,"latitude_deg":10.0599976,"altitude":32,"angle":20,"satellites":34,"speed":0,"hex_longitude":"2daae140","hex_latitude":"05ff08a8","is_valid_coordinates":true} 
[2026-07-27 21:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:17:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002709504001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:17:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391576155226112,"note":"Value kept but may cause issues"} 
[2026-07-27 21:17:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133550823004133376,"note":"Value kept but may cause issues"} 
[2026-07-27 21:17:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:17:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785167135000,"timestamp_ms":1785167135000,"timestamp_seconds":1785167135,"priority":1,"record_length":96,"hex_timestamp":"0000019fa440c118"} 
[2026-07-27 21:17:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:17:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-27 21:17:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:17:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:17:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:17:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:17:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:17:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:17:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:17:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:17:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:17:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:17:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002709504001,"66":25702,"118":206,"88":20480,"24":0,"16":359391576155226112,"45":-6133550823004133376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 21:17:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:17:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:17:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002709504001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:17:37] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 21:17:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 21:17:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391576155226112,"km_value":359391576155226.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:17:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133550823004133376,"description":"Unknown IO ID 45"} 
[2026-07-27 21:17:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002709504001,"power":25702,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133550823004133376}} 
[2026-07-27 21:17:37] local.INFO: DEBUG: GPS processor result {"connection_id":145585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:17:37] local.INFO: GPS data processed {"connection_id":145585,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:17:37] local.INFO: Acknowledgment sent {"connection_id":145585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:17:37] local.INFO: TCP Data received {"connection_id":143172,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa43fa008012d196940071fee20004501312a..."} 
[2026-07-27 21:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143172,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa43fa008012d196940071fee20004501312a..."} 
[2026-07-27 21:17:37] local.INFO: Processing buffer {"connection_id":143172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa43fa008012d196940071fee20004501312a..."} 
[2026-07-27 21:17:37] local.INFO: Packet analysis {"connection_id":143172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa43f"} 
[2026-07-27 21:17:37] local.INFO: Extracted packet for processing {"connection_id":143172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa43f"} 
[2026-07-27 21:17:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":69,"angle":305,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 21:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:17:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002690560001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:17:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 21:17:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:17:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:17:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785167061000,"timestamp_ms":1785167061000,"timestamp_seconds":1785167061,"priority":1,"record_length":96,"hex_timestamp":"0000019fa43fa008"} 
[2026-07-27 21:17:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:17:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-27 21:17:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:17:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:17:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:17:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:17:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:17:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143172,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:17:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143172,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:17:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:17:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 21:17:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 21:17:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002690560001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 21:17:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 21:17:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 21:17:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002690560001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:17:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 21:17:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 21:17:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:17:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:17:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002690560001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 21:17:37] local.INFO: DEBUG: GPS processor result {"connection_id":143172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555479,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:17:37] local.INFO: GPS data processed {"connection_id":143172,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:17:37] local.INFO: Acknowledgment sent {"connection_id":143172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:17:47] local.INFO: TCP Data received {"connection_id":144302,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 21:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144302,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 21:17:47] local.INFO: Processing buffer {"connection_id":144302,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 21:17:47] local.INFO: IMEI packet received {"connection_id":144302,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 21:17:47] local.INFO: IMEI acknowledgment sent {"connection_id":144302,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:17:59] local.INFO: TCP Data received {"connection_id":145586,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145586,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:17:59] local.INFO: Processing buffer {"connection_id":145586,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:17:59] local.INFO: IMEI packet received {"connection_id":145586,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 21:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":145586,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:18:04] local.INFO: TCP Data received {"connection_id":145586,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145586,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:18:04] local.INFO: Processing buffer {"connection_id":145586,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:18:04] local.INFO: IMEI packet received {"connection_id":145586,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 21:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":145586,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:18:05] local.INFO: TCP Data received {"connection_id":145586,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa43fa008012d196940071fee20004501312a..."} 
[2026-07-27 21:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa43fa008012d196940071fee20004501312a..."} 
[2026-07-27 21:18:05] local.INFO: Processing buffer {"connection_id":145586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa43fa008012d196940071fee20004501312a..."} 
[2026-07-27 21:18:05] local.INFO: Packet analysis {"connection_id":145586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa43f"} 
[2026-07-27 21:18:05] local.INFO: Extracted packet for processing {"connection_id":145586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa43f"} 
[2026-07-27 21:18:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":69,"angle":305,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 21:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:18:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002690560001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:18:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 21:18:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:18:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:18:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785167061000,"timestamp_ms":1785167061000,"timestamp_seconds":1785167061,"priority":1,"record_length":96,"hex_timestamp":"0000019fa43fa008"} 
[2026-07-27 21:18:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:18:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-27 21:18:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:18:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:18:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:18:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:18:05] local.INFO: Teltonika packet parsed successfully {"connection_id":145586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:18:05] local.INFO: Passing IMEI to GPS processor {"connection_id":145586,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:18:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":145586,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:18:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:18:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 21:18:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 21:18:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002690560001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 21:18:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 21:18:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 21:18:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002690560001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:18:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 21:18:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 21:18:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:18:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:18:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002690560001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 21:18:05] local.INFO: DEBUG: GPS processor result {"connection_id":145586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555480,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:18:05] local.INFO: GPS data processed {"connection_id":145586,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:18:05] local.INFO: Acknowledgment sent {"connection_id":145586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:18:08] local.INFO: TCP Data received {"connection_id":145585,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa440c118012daae14005ff08a80020001422..."} 
[2026-07-27 21:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa440c118012daae14005ff08a80020001422..."} 
[2026-07-27 21:18:08] local.INFO: Processing buffer {"connection_id":145585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa440c118012daae14005ff08a80020001422..."} 
[2026-07-27 21:18:08] local.INFO: Packet analysis {"connection_id":145585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa440"} 
[2026-07-27 21:18:08] local.INFO: Extracted packet for processing {"connection_id":145585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa440"} 
[2026-07-27 21:18:08] local.INFO: GPS Element Parsed {"raw_longitude":766173504,"raw_latitude":100599976,"longitude_deg":76.6173504,"latitude_deg":10.0599976,"altitude":32,"angle":20,"satellites":34,"speed":0,"hex_longitude":"2daae140","hex_latitude":"05ff08a8","is_valid_coordinates":true} 
[2026-07-27 21:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:18:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002709504001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:18:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391576155226112,"note":"Value kept but may cause issues"} 
[2026-07-27 21:18:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133550823004133376,"note":"Value kept but may cause issues"} 
[2026-07-27 21:18:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:18:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785167135000,"timestamp_ms":1785167135000,"timestamp_seconds":1785167135,"priority":1,"record_length":96,"hex_timestamp":"0000019fa440c118"} 
[2026-07-27 21:18:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:18:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-27 21:18:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:18:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:18:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:18:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:18:08] local.INFO: Teltonika packet parsed successfully {"connection_id":145585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:18:08] local.INFO: Passing IMEI to GPS processor {"connection_id":145585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:18:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":145585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:18:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:18:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:18:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:18:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002709504001,"66":25702,"118":206,"88":20480,"24":0,"16":359391576155226112,"45":-6133550823004133376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 21:18:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:18:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:18:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002709504001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:18:08] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 21:18:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 21:18:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391576155226112,"km_value":359391576155226.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:18:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133550823004133376,"description":"Unknown IO ID 45"} 
[2026-07-27 21:18:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002709504001,"power":25702,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133550823004133376}} 
[2026-07-27 21:18:08] local.INFO: DEBUG: GPS processor result {"connection_id":145585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:18:08] local.INFO: GPS data processed {"connection_id":145585,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:18:08] local.INFO: Acknowledgment sent {"connection_id":145585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:18:31] local.INFO: TCP Data received {"connection_id":144303,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:18:31] local.INFO: Processing buffer {"connection_id":144303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:18:31] local.INFO: IMEI packet received {"connection_id":144303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 21:18:31] local.INFO: IMEI acknowledgment sent {"connection_id":144303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:18:36] local.INFO: TCP Data received {"connection_id":144303,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:18:36] local.INFO: Processing buffer {"connection_id":144303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:18:36] local.INFO: IMEI packet received {"connection_id":144303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 21:18:36] local.INFO: IMEI acknowledgment sent {"connection_id":144303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:18:37] local.INFO: TCP Data received {"connection_id":144303,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa440c118012daae14005ff08a80020001422..."} 
[2026-07-27 21:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa440c118012daae14005ff08a80020001422..."} 
[2026-07-27 21:18:37] local.INFO: Processing buffer {"connection_id":144303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa440c118012daae14005ff08a80020001422..."} 
[2026-07-27 21:18:37] local.INFO: Packet analysis {"connection_id":144303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa440"} 
[2026-07-27 21:18:37] local.INFO: Extracted packet for processing {"connection_id":144303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa440"} 
[2026-07-27 21:18:37] local.INFO: GPS Element Parsed {"raw_longitude":766173504,"raw_latitude":100599976,"longitude_deg":76.6173504,"latitude_deg":10.0599976,"altitude":32,"angle":20,"satellites":34,"speed":0,"hex_longitude":"2daae140","hex_latitude":"05ff08a8","is_valid_coordinates":true} 
[2026-07-27 21:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002709504001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391576155226112,"note":"Value kept but may cause issues"} 
[2026-07-27 21:18:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133550823004133376,"note":"Value kept but may cause issues"} 
[2026-07-27 21:18:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785167135000,"timestamp_ms":1785167135000,"timestamp_seconds":1785167135,"priority":1,"record_length":96,"hex_timestamp":"0000019fa440c118"} 
[2026-07-27 21:18:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:18:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-27 21:18:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:18:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:18:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:18:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002709504001,"66":25702,"118":206,"88":20480,"24":0,"16":359391576155226112,"45":-6133550823004133376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 21:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002709504001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:18:37] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 21:18:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 21:18:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391576155226112,"km_value":359391576155226.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:18:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133550823004133376,"description":"Unknown IO ID 45"} 
[2026-07-27 21:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002709504001,"power":25702,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133550823004133376}} 
[2026-07-27 21:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":144303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:18:37] local.INFO: GPS data processed {"connection_id":144303,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:18:37] local.INFO: Acknowledgment sent {"connection_id":144303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:18:37] local.INFO: TCP Data received {"connection_id":145586,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa43fa008012d196940071fee20004501312a..."} 
[2026-07-27 21:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa43fa008012d196940071fee20004501312a..."} 
[2026-07-27 21:18:37] local.INFO: Processing buffer {"connection_id":145586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa43fa008012d196940071fee20004501312a..."} 
[2026-07-27 21:18:37] local.INFO: Packet analysis {"connection_id":145586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa43f"} 
[2026-07-27 21:18:37] local.INFO: Extracted packet for processing {"connection_id":145586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa43f"} 
[2026-07-27 21:18:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":69,"angle":305,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 21:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002690560001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 21:18:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:18:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785167061000,"timestamp_ms":1785167061000,"timestamp_seconds":1785167061,"priority":1,"record_length":96,"hex_timestamp":"0000019fa43fa008"} 
[2026-07-27 21:18:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:18:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-27 21:18:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:18:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:18:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145586,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145586,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:18:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 21:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 21:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002690560001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 21:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 21:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 21:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002690560001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:18:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 21:18:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 21:18:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:18:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002690560001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 21:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":145586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555483,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:18:37] local.INFO: GPS data processed {"connection_id":145586,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:18:37] local.INFO: Acknowledgment sent {"connection_id":145586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:19:04] local.INFO: TCP Data received {"connection_id":143306,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143306,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:19:04] local.INFO: Processing buffer {"connection_id":143306,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:19:04] local.INFO: IMEI packet received {"connection_id":143306,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 21:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":143306,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:19:08] local.INFO: TCP Data received {"connection_id":144303,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa440c118012daae14005ff08a80020001422..."} 
[2026-07-27 21:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa440c118012daae14005ff08a80020001422..."} 
[2026-07-27 21:19:08] local.INFO: Processing buffer {"connection_id":144303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa440c118012daae14005ff08a80020001422..."} 
[2026-07-27 21:19:08] local.INFO: Packet analysis {"connection_id":144303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa440"} 
[2026-07-27 21:19:08] local.INFO: Extracted packet for processing {"connection_id":144303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa440"} 
[2026-07-27 21:19:08] local.INFO: GPS Element Parsed {"raw_longitude":766173504,"raw_latitude":100599976,"longitude_deg":76.6173504,"latitude_deg":10.0599976,"altitude":32,"angle":20,"satellites":34,"speed":0,"hex_longitude":"2daae140","hex_latitude":"05ff08a8","is_valid_coordinates":true} 
[2026-07-27 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-07-27 21:19:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002709504001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:19:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391576155226112,"note":"Value kept but may cause issues"} 
[2026-07-27 21:19:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133550823004133376,"note":"Value kept but may cause issues"} 
[2026-07-27 21:19:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:19:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785167135000,"timestamp_ms":1785167135000,"timestamp_seconds":1785167135,"priority":1,"record_length":96,"hex_timestamp":"0000019fa440c118"} 
[2026-07-27 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-07-27 21:19:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-27 21:19:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 21:19:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:19:08] local.INFO: Teltonika packet parsed successfully {"connection_id":144303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:19:08] local.INFO: Passing IMEI to GPS processor {"connection_id":144303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:19:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":144303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21: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-07-27 21:19:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:19:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:19:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002709504001,"66":25702,"118":206,"88":20480,"24":0,"16":359391576155226112,"45":-6133550823004133376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 21:19:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:19:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:19:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002709504001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:19:08] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 21:19:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 21:19:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391576155226112,"km_value":359391576155226.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:19:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133550823004133376,"description":"Unknown IO ID 45"} 
[2026-07-27 21:19:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002709504001,"power":25702,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133550823004133376}} 
[2026-07-27 21:19:08] local.INFO: DEBUG: GPS processor result {"connection_id":144303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:19:08] local.INFO: GPS data processed {"connection_id":144303,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:19:08] local.INFO: Acknowledgment sent {"connection_id":144303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:19:09] local.INFO: TCP Data received {"connection_id":143306,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143306,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:19:09] local.INFO: Processing buffer {"connection_id":143306,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:19:09] local.INFO: IMEI packet received {"connection_id":143306,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 21:19:09] local.INFO: IMEI acknowledgment sent {"connection_id":143306,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:19:10] local.INFO: TCP Data received {"connection_id":143306,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa43fa008012d196940071fee20004501312a..."} 
[2026-07-27 21:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa43fa008012d196940071fee20004501312a..."} 
[2026-07-27 21:19:10] local.INFO: Processing buffer {"connection_id":143306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa43fa008012d196940071fee20004501312a..."} 
[2026-07-27 21:19:10] local.INFO: Packet analysis {"connection_id":143306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa43f"} 
[2026-07-27 21:19:10] local.INFO: Extracted packet for processing {"connection_id":143306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa43f"} 
[2026-07-27 21:19:10] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":69,"angle":305,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 21:19:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:19:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002690560001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:19:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 21:19:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:19:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:19:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785167061000,"timestamp_ms":1785167061000,"timestamp_seconds":1785167061,"priority":1,"record_length":96,"hex_timestamp":"0000019fa43fa008"} 
[2026-07-27 21:19:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:19:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-27 21:19:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:19:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:19:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:19:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:19:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:19:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:19:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:19:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:19:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 21:19:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 21:19:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002690560001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 21:19:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 21:19:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 21:19:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002690560001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:19:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 21:19:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 21:19:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:19:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:19:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002690560001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 21:19:10] local.INFO: DEBUG: GPS processor result {"connection_id":143306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555485,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:19:10] local.INFO: GPS data processed {"connection_id":143306,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:19:10] local.INFO: Acknowledgment sent {"connection_id":143306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:19:15] local.INFO: TCP Data received {"connection_id":143306,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa43fa008012d196940071fee20004501312a..."} 
[2026-07-27 21:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa43fa008012d196940071fee20004501312a..."} 
[2026-07-27 21:19:15] local.INFO: Processing buffer {"connection_id":143306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa43fa008012d196940071fee20004501312a..."} 
[2026-07-27 21:19:15] local.INFO: Packet analysis {"connection_id":143306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa43f"} 
[2026-07-27 21:19:15] local.INFO: Extracted packet for processing {"connection_id":143306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa43f"} 
[2026-07-27 21:19:15] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":69,"angle":305,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 21:19:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:19:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002690560001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:19:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 21:19:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:19: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-07-27 21:19:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785167061000,"timestamp_ms":1785167061000,"timestamp_seconds":1785167061,"priority":1,"record_length":96,"hex_timestamp":"0000019fa43fa008"} 
[2026-07-27 21:19:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:19:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-27 21:19:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:19:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:19:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:19:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:19:15] local.INFO: Teltonika packet parsed successfully {"connection_id":143306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:19:15] local.INFO: Passing IMEI to GPS processor {"connection_id":143306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:19:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":143306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:19:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:19:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 21:19:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 21:19:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002690560001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 21:19:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 21:19:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 21:19:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002690560001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:19:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 21:19:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 21:19:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:19:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:19:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002690560001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 21:19:15] local.INFO: DEBUG: GPS processor result {"connection_id":143306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555486,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:19:15] local.INFO: GPS data processed {"connection_id":143306,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:19:15] local.INFO: Acknowledgment sent {"connection_id":143306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:19:31] local.INFO: TCP Data received {"connection_id":145587,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:19:31] local.INFO: Processing buffer {"connection_id":145587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:19:31] local.INFO: IMEI packet received {"connection_id":145587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 21:19:31] local.INFO: IMEI acknowledgment sent {"connection_id":145587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:19:36] local.INFO: TCP Data received {"connection_id":145587,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:19:36] local.INFO: Processing buffer {"connection_id":145587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:19:36] local.INFO: IMEI packet received {"connection_id":145587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 21:19:36] local.INFO: IMEI acknowledgment sent {"connection_id":145587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:19:36] local.INFO: TCP Data received {"connection_id":145587,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa440c118012daae14005ff08a80020001422..."} 
[2026-07-27 21:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa440c118012daae14005ff08a80020001422..."} 
[2026-07-27 21:19:36] local.INFO: Processing buffer {"connection_id":145587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa440c118012daae14005ff08a80020001422..."} 
[2026-07-27 21:19:36] local.INFO: Packet analysis {"connection_id":145587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa440"} 
[2026-07-27 21:19:36] local.INFO: Extracted packet for processing {"connection_id":145587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa440"} 
[2026-07-27 21:19:36] local.INFO: GPS Element Parsed {"raw_longitude":766173504,"raw_latitude":100599976,"longitude_deg":76.6173504,"latitude_deg":10.0599976,"altitude":32,"angle":20,"satellites":34,"speed":0,"hex_longitude":"2daae140","hex_latitude":"05ff08a8","is_valid_coordinates":true} 
[2026-07-27 21:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:19:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002709504001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:19:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391576155226112,"note":"Value kept but may cause issues"} 
[2026-07-27 21:19:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133550823004133376,"note":"Value kept but may cause issues"} 
[2026-07-27 21:19:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:19:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785167135000,"timestamp_ms":1785167135000,"timestamp_seconds":1785167135,"priority":1,"record_length":96,"hex_timestamp":"0000019fa440c118"} 
[2026-07-27 21:19:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:19:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-27 21:19:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:19:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:19:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:19:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:19:36] local.INFO: Teltonika packet parsed successfully {"connection_id":145587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:19:36] local.INFO: Passing IMEI to GPS processor {"connection_id":145587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:19:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":145587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:19:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:19:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:19:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:19:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002709504001,"66":25702,"118":206,"88":20480,"24":0,"16":359391576155226112,"45":-6133550823004133376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 21:19:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:19:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:19:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002709504001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:19:36] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 21:19:36] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 21:19:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391576155226112,"km_value":359391576155226.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:19:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133550823004133376,"description":"Unknown IO ID 45"} 
[2026-07-27 21:19:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002709504001,"power":25702,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133550823004133376}} 
[2026-07-27 21:19:36] local.INFO: DEBUG: GPS processor result {"connection_id":145587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:19:36] local.INFO: GPS data processed {"connection_id":145587,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:19:36] local.INFO: Acknowledgment sent {"connection_id":145587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:19:59] local.INFO: TCP Data received {"connection_id":143173,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143173,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:19:59] local.INFO: Processing buffer {"connection_id":143173,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:19:59] local.INFO: IMEI packet received {"connection_id":143173,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 21:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":143173,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:20:00] local.INFO: TCP Data received {"connection_id":143173,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143173,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:20:00] local.INFO: Processing buffer {"connection_id":143173,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:20:00] local.INFO: IMEI packet received {"connection_id":143173,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 21:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":143173,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:20:01] local.INFO: TCP Data received {"connection_id":143173,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa44437d0012d196940071fee200045013129..."} 
[2026-07-27 21:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa44437d0012d196940071fee200045013129..."} 
[2026-07-27 21:20:01] local.INFO: Processing buffer {"connection_id":143173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa44437d0012d196940071fee200045013129..."} 
[2026-07-27 21:20:01] local.INFO: Packet analysis {"connection_id":143173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa444"} 
[2026-07-27 21:20:01] local.INFO: Extracted packet for processing {"connection_id":143173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa444"} 
[2026-07-27 21:20:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":69,"angle":305,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 21:20:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:20:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002767616001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:20:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 21:20:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:20:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:20:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785167362000,"timestamp_ms":1785167362000,"timestamp_seconds":1785167362,"priority":1,"record_length":96,"hex_timestamp":"0000019fa44437d0"} 
[2026-07-27 21:20:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:20:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:20:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 21:20:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:20:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:20:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:20:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:20:01] local.INFO: Teltonika packet parsed successfully {"connection_id":143173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:20:01] local.INFO: Passing IMEI to GPS processor {"connection_id":143173,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:20:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":143173,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:20:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:20:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 21:20:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 21:20:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002767616001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 21:20:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 21:20:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 21:20:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002767616001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:20:01] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 21:20:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 21:20:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:20:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:20:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002767616001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 21:20:01] local.INFO: DEBUG: GPS processor result {"connection_id":143173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555488,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:20:01] local.INFO: GPS data processed {"connection_id":143173,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:20:01] local.INFO: Acknowledgment sent {"connection_id":143173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:20:05] local.INFO: TCP Data received {"connection_id":143173,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa44437d0012d196940071fee200045013129..."} 
[2026-07-27 21:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa44437d0012d196940071fee200045013129..."} 
[2026-07-27 21:20:05] local.INFO: Processing buffer {"connection_id":143173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa44437d0012d196940071fee200045013129..."} 
[2026-07-27 21:20:05] local.INFO: Packet analysis {"connection_id":143173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa444"} 
[2026-07-27 21:20:05] local.INFO: Extracted packet for processing {"connection_id":143173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa444"} 
[2026-07-27 21:20:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":69,"angle":305,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 21:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:20:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002767616001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:20:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 21:20:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:20:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:20:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785167362000,"timestamp_ms":1785167362000,"timestamp_seconds":1785167362,"priority":1,"record_length":96,"hex_timestamp":"0000019fa44437d0"} 
[2026-07-27 21:20:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:20:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 21:20:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:20:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:20:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:20:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:20:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:20:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143173,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:20:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143173,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:20:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:20:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 21:20:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 21:20:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002767616001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 21:20:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 21:20:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 21:20:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002767616001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:20:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 21:20:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 21:20:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:20:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:20:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002767616001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 21:20:05] local.INFO: DEBUG: GPS processor result {"connection_id":143173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555489,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:20:05] local.INFO: GPS data processed {"connection_id":143173,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:20:05] local.INFO: Acknowledgment sent {"connection_id":143173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:20:08] local.INFO: TCP Data received {"connection_id":145587,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fa440c118012daae14005ff08a80020001422..."} 
[2026-07-27 21:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa440c118012daae14005ff08a80020001422..."} 
[2026-07-27 21:20:08] local.INFO: Processing buffer {"connection_id":145587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa440c118012daae14005ff08a80020001422..."} 
[2026-07-27 21:20:08] local.INFO: Packet analysis {"connection_id":145587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa440"} 
[2026-07-27 21:20:08] local.INFO: Extracted packet for processing {"connection_id":145587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa440"} 
[2026-07-27 21:20:08] local.INFO: GPS Element Parsed {"raw_longitude":766173504,"raw_latitude":100599976,"longitude_deg":76.6173504,"latitude_deg":10.0599976,"altitude":32,"angle":20,"satellites":34,"speed":0,"hex_longitude":"2daae140","hex_latitude":"05ff08a8","is_valid_coordinates":true} 
[2026-07-27 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-07-27 21:20:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002709504001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:20:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391576155226112,"note":"Value kept but may cause issues"} 
[2026-07-27 21:20:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133550823004133376,"note":"Value kept but may cause issues"} 
[2026-07-27 21:20:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:20:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785167135000,"timestamp_ms":1785167135000,"timestamp_seconds":1785167135,"priority":1,"record_length":96,"hex_timestamp":"0000019fa440c118"} 
[2026-07-27 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-07-27 21:20:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-27 21:20:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 21:20:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:20:08] local.INFO: Teltonika packet parsed successfully {"connection_id":145587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:20:08] local.INFO: Passing IMEI to GPS processor {"connection_id":145587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:20:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":145587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:20:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:20:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:20:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:20:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002709504001,"66":25702,"118":206,"88":20480,"24":0,"16":359391576155226112,"45":-6133550823004133376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 21:20:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:20:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:20:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002709504001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:20:08] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 21:20:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 21:20:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391576155226112,"km_value":359391576155226.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:20:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133550823004133376,"description":"Unknown IO ID 45"} 
[2026-07-27 21:20:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002709504001,"power":25702,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133550823004133376}} 
[2026-07-27 21:20:08] local.INFO: DEBUG: GPS processor result {"connection_id":145587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:20:08] local.INFO: GPS data processed {"connection_id":145587,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:20:08] local.INFO: Acknowledgment sent {"connection_id":145587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:20:31] local.INFO: TCP Data received {"connection_id":144304,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:20:31] local.INFO: Processing buffer {"connection_id":144304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:20:31] local.INFO: IMEI packet received {"connection_id":144304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 21:20:31] local.INFO: IMEI acknowledgment sent {"connection_id":144304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:20:36] local.INFO: TCP Data received {"connection_id":144304,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:20:36] local.INFO: Processing buffer {"connection_id":144304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:20:36] local.INFO: IMEI packet received {"connection_id":144304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 21:20:36] local.INFO: IMEI acknowledgment sent {"connection_id":144304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:20:36] local.INFO: TCP Data received {"connection_id":143173,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa44437d0012d196940071fee200045013129..."} 
[2026-07-27 21:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa44437d0012d196940071fee200045013129..."} 
[2026-07-27 21:20:36] local.INFO: Processing buffer {"connection_id":143173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa44437d0012d196940071fee200045013129..."} 
[2026-07-27 21:20:36] local.INFO: Packet analysis {"connection_id":143173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa444"} 
[2026-07-27 21:20:36] local.INFO: Extracted packet for processing {"connection_id":143173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa444"} 
[2026-07-27 21:20:36] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":69,"angle":305,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 21:20:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:20:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002767616001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:20:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 21:20:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:20:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:20:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785167362000,"timestamp_ms":1785167362000,"timestamp_seconds":1785167362,"priority":1,"record_length":96,"hex_timestamp":"0000019fa44437d0"} 
[2026-07-27 21:20:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:20:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:20:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 21:20:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:20:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:20:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:20:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:20:36] local.INFO: Teltonika packet parsed successfully {"connection_id":143173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:20:36] local.INFO: Passing IMEI to GPS processor {"connection_id":143173,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:20:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":143173,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:20:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:20:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 21:20:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 21:20:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002767616001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 21:20:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 21:20:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 21:20:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002767616001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:20:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 21:20:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 21:20:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:20:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:20:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002767616001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 21:20:37] local.INFO: DEBUG: GPS processor result {"connection_id":143173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555491,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:20:37] local.INFO: GPS data processed {"connection_id":143173,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:20:37] local.INFO: Acknowledgment sent {"connection_id":143173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:20:37] local.INFO: TCP Data received {"connection_id":144304,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fa440c118012daae14005ff08a80020001422..."} 
[2026-07-27 21:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa440c118012daae14005ff08a80020001422..."} 
[2026-07-27 21:20:37] local.INFO: Processing buffer {"connection_id":144304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa440c118012daae14005ff08a80020001422..."} 
[2026-07-27 21:20:37] local.INFO: Packet analysis {"connection_id":144304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa440"} 
[2026-07-27 21:20:37] local.INFO: Extracted packet for processing {"connection_id":144304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa440"} 
[2026-07-27 21:20:37] local.INFO: GPS Element Parsed {"raw_longitude":766173504,"raw_latitude":100599976,"longitude_deg":76.6173504,"latitude_deg":10.0599976,"altitude":32,"angle":20,"satellites":34,"speed":0,"hex_longitude":"2daae140","hex_latitude":"05ff08a8","is_valid_coordinates":true} 
[2026-07-27 21:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:20:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002709504001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:20:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391576155226112,"note":"Value kept but may cause issues"} 
[2026-07-27 21:20:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133550823004133376,"note":"Value kept but may cause issues"} 
[2026-07-27 21:20:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:20:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785167135000,"timestamp_ms":1785167135000,"timestamp_seconds":1785167135,"priority":1,"record_length":96,"hex_timestamp":"0000019fa440c118"} 
[2026-07-27 21:20:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:20:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-27 21:20:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:20:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:20:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:20:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:20:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:20:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:20:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:20:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:20:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:20:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:20:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002709504001,"66":25702,"118":206,"88":20480,"24":0,"16":359391576155226112,"45":-6133550823004133376},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 21:20:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:20:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:20:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002709504001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:20:37] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 21:20:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 21:20:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391576155226112,"km_value":359391576155226.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:20:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133550823004133376,"description":"Unknown IO ID 45"} 
[2026-07-27 21:20:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002709504001,"power":25702,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133550823004133376}} 
[2026-07-27 21:20:37] local.INFO: DEBUG: GPS processor result {"connection_id":144304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:20:37] local.INFO: GPS data processed {"connection_id":144304,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:20:37] local.INFO: Acknowledgment sent {"connection_id":144304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:20:59] local.INFO: TCP Data received {"connection_id":144305,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144305,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:20:59] local.INFO: Processing buffer {"connection_id":144305,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:20:59] local.INFO: IMEI packet received {"connection_id":144305,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 21:20:59] local.INFO: IMEI acknowledgment sent {"connection_id":144305,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:21:04] local.INFO: TCP Data received {"connection_id":144305,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144305,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:21:04] local.INFO: Processing buffer {"connection_id":144305,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:21:04] local.INFO: IMEI packet received {"connection_id":144305,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 21:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":144305,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:21:05] local.INFO: TCP Data received {"connection_id":144305,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa44437d0012d196940071fee200045013129..."} 
[2026-07-27 21:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa44437d0012d196940071fee200045013129..."} 
[2026-07-27 21:21:05] local.INFO: Processing buffer {"connection_id":144305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa44437d0012d196940071fee200045013129..."} 
[2026-07-27 21:21:05] local.INFO: Packet analysis {"connection_id":144305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa444"} 
[2026-07-27 21:21:05] local.INFO: Extracted packet for processing {"connection_id":144305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa444"} 
[2026-07-27 21:21:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":69,"angle":305,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 21:21:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:21:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002767616001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:21:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 21:21:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:21:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:21:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785167362000,"timestamp_ms":1785167362000,"timestamp_seconds":1785167362,"priority":1,"record_length":96,"hex_timestamp":"0000019fa44437d0"} 
[2026-07-27 21:21:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:21:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:21:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 21:21:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:21:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:21:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:21:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:21:05] local.INFO: Teltonika packet parsed successfully {"connection_id":144305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:21:05] local.INFO: Passing IMEI to GPS processor {"connection_id":144305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:21:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":144305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:21:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:21:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 21:21:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 21:21:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002767616001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 21:21:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 21:21:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 21:21:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002767616001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:21:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 21:21:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 21:21:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:21:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:21:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002767616001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 21:21:05] local.INFO: DEBUG: GPS processor result {"connection_id":144305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555493,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:21:05] local.INFO: GPS data processed {"connection_id":144305,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:21:05] local.INFO: Acknowledgment sent {"connection_id":144305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:21:08] local.INFO: TCP Data received {"connection_id":144304,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fa440c118012daae14005ff08a80020001422..."} 
[2026-07-27 21:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa440c118012daae14005ff08a80020001422..."} 
[2026-07-27 21:21:08] local.INFO: Processing buffer {"connection_id":144304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa440c118012daae14005ff08a80020001422..."} 
[2026-07-27 21:21:08] local.INFO: Packet analysis {"connection_id":144304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa440"} 
[2026-07-27 21:21:08] local.INFO: Extracted packet for processing {"connection_id":144304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa440"} 
[2026-07-27 21:21:08] local.INFO: GPS Element Parsed {"raw_longitude":766173504,"raw_latitude":100599976,"longitude_deg":76.6173504,"latitude_deg":10.0599976,"altitude":32,"angle":20,"satellites":34,"speed":0,"hex_longitude":"2daae140","hex_latitude":"05ff08a8","is_valid_coordinates":true} 
[2026-07-27 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-07-27 21:21:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002709504001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:21:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391576155226112,"note":"Value kept but may cause issues"} 
[2026-07-27 21:21:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133550823004133376,"note":"Value kept but may cause issues"} 
[2026-07-27 21:21:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:21:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785167135000,"timestamp_ms":1785167135000,"timestamp_seconds":1785167135,"priority":1,"record_length":96,"hex_timestamp":"0000019fa440c118"} 
[2026-07-27 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-07-27 21:21:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-27 21:21:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 21:21:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:21:08] local.INFO: Teltonika packet parsed successfully {"connection_id":144304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:21:08] local.INFO: Passing IMEI to GPS processor {"connection_id":144304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:21:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":144304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:21:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:21:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:21:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:21:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002709504001,"66":25702,"118":206,"88":20480,"24":0,"16":359391576155226112,"45":-6133550823004133376},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 21:21:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:21:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:21:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002709504001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:21:08] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 21:21:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 21:21:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391576155226112,"km_value":359391576155226.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:21:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133550823004133376,"description":"Unknown IO ID 45"} 
[2026-07-27 21:21:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002709504001,"power":25702,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133550823004133376}} 
[2026-07-27 21:21:08] local.INFO: DEBUG: GPS processor result {"connection_id":144304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:21:08] local.INFO: GPS data processed {"connection_id":144304,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:21:08] local.INFO: Acknowledgment sent {"connection_id":144304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:21:36] local.INFO: TCP Data received {"connection_id":143307,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:21:36] local.INFO: Processing buffer {"connection_id":143307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:21:36] local.INFO: IMEI packet received {"connection_id":143307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 21:21:36] local.INFO: IMEI acknowledgment sent {"connection_id":143307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:21:37] local.INFO: TCP Data received {"connection_id":144305,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa44437d0012d196940071fee200045013129..."} 
[2026-07-27 21:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa44437d0012d196940071fee200045013129..."} 
[2026-07-27 21:21:37] local.INFO: Processing buffer {"connection_id":144305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa44437d0012d196940071fee200045013129..."} 
[2026-07-27 21:21:37] local.INFO: Packet analysis {"connection_id":144305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa444"} 
[2026-07-27 21:21:37] local.INFO: Extracted packet for processing {"connection_id":144305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa444"} 
[2026-07-27 21:21:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":69,"angle":305,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 21:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:21:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002767616001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:21:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 21:21:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:21:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:21:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785167362000,"timestamp_ms":1785167362000,"timestamp_seconds":1785167362,"priority":1,"record_length":96,"hex_timestamp":"0000019fa44437d0"} 
[2026-07-27 21:21:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:21:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 21:21:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:21:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:21:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:21:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:21:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:21:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:21:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:21:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:21:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 21:21:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 21:21:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002767616001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 21:21:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 21:21:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 21:21:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002767616001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:21:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 21:21:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 21:21:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:21:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:21:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002767616001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 21:21:37] local.INFO: DEBUG: GPS processor result {"connection_id":144305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555495,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:21:37] local.INFO: GPS data processed {"connection_id":144305,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:21:37] local.INFO: Acknowledgment sent {"connection_id":144305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:21:41] local.INFO: TCP Data received {"connection_id":143307,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:21:41] local.INFO: Processing buffer {"connection_id":143307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:21:41] local.INFO: IMEI packet received {"connection_id":143307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 21:21:41] local.INFO: IMEI acknowledgment sent {"connection_id":143307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:21:42] local.INFO: TCP Data received {"connection_id":143307,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fa44558e0012daae14005ff08a80024001421..."} 
[2026-07-27 21:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143307,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa44558e0012daae14005ff08a80024001421..."} 
[2026-07-27 21:21:42] local.INFO: Processing buffer {"connection_id":143307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa44558e0012daae14005ff08a80024001421..."} 
[2026-07-27 21:21:42] local.INFO: Packet analysis {"connection_id":143307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa445"} 
[2026-07-27 21:21:42] local.INFO: Extracted packet for processing {"connection_id":143307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa445"} 
[2026-07-27 21:21:42] local.INFO: GPS Element Parsed {"raw_longitude":766173504,"raw_latitude":100599976,"longitude_deg":76.6173504,"latitude_deg":10.0599976,"altitude":36,"angle":20,"satellites":33,"speed":0,"hex_longitude":"2daae140","hex_latitude":"05ff08a8","is_valid_coordinates":true} 
[2026-07-27 21: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-07-27 21:21:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002786560001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:21:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391576155226112,"note":"Value kept but may cause issues"} 
[2026-07-27 21:21:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133550823004133376,"note":"Value kept but may cause issues"} 
[2026-07-27 21:21:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:21:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785167436000,"timestamp_ms":1785167436000,"timestamp_seconds":1785167436,"priority":1,"record_length":96,"hex_timestamp":"0000019fa44558e0"} 
[2026-07-27 21:21:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:21:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-27 21:21:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21: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-07-27 21:21:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:21:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:21:42] local.INFO: Teltonika packet parsed successfully {"connection_id":143307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:21:42] local.INFO: Passing IMEI to GPS processor {"connection_id":143307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:21:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":143307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:21:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:21:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:21:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:21:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002786560001,"66":25625,"118":206,"88":20480,"24":0,"16":359391576155226112,"45":-6133550823004133376},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 21:21:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:21:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:21:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002786560001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:21:42] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 21:21:42] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 21:21:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391576155226112,"km_value":359391576155226.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:21:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133550823004133376,"description":"Unknown IO ID 45"} 
[2026-07-27 21:21:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002786560001,"power":25625,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133550823004133376}} 
[2026-07-27 21:21:42] local.INFO: DEBUG: GPS processor result {"connection_id":143307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:21:42] local.INFO: GPS data processed {"connection_id":143307,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:21:42] local.INFO: Acknowledgment sent {"connection_id":143307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:21:59] local.INFO: TCP Data received {"connection_id":144306,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144306,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:21:59] local.INFO: Processing buffer {"connection_id":144306,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:21:59] local.INFO: IMEI packet received {"connection_id":144306,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 21:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":144306,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:22:04] local.INFO: TCP Data received {"connection_id":144306,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144306,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:22:04] local.INFO: Processing buffer {"connection_id":144306,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:22:04] local.INFO: IMEI packet received {"connection_id":144306,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 21:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":144306,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:22:05] local.INFO: TCP Data received {"connection_id":144306,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa44437d0012d196940071fee200045013129..."} 
[2026-07-27 21:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa44437d0012d196940071fee200045013129..."} 
[2026-07-27 21:22:05] local.INFO: Processing buffer {"connection_id":144306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa44437d0012d196940071fee200045013129..."} 
[2026-07-27 21:22:05] local.INFO: Packet analysis {"connection_id":144306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa444"} 
[2026-07-27 21:22:05] local.INFO: Extracted packet for processing {"connection_id":144306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa444"} 
[2026-07-27 21:22:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":69,"angle":305,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 21:22:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:22:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002767616001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:22:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 21:22:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:22:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:22:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785167362000,"timestamp_ms":1785167362000,"timestamp_seconds":1785167362,"priority":1,"record_length":96,"hex_timestamp":"0000019fa44437d0"} 
[2026-07-27 21:22:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:22:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:22:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 21:22:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:22:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:22:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:22:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:22:05] local.INFO: Teltonika packet parsed successfully {"connection_id":144306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:22:05] local.INFO: Passing IMEI to GPS processor {"connection_id":144306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:22:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":144306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:22:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:22:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 21:22:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 21:22:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002767616001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 21:22:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 21:22:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 21:22:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002767616001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:22:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 21:22:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 21:22:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:22:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:22:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002767616001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 21:22:05] local.INFO: DEBUG: GPS processor result {"connection_id":144306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555497,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:22:05] local.INFO: GPS data processed {"connection_id":144306,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:22:05] local.INFO: Acknowledgment sent {"connection_id":144306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:22:14] local.INFO: TCP Data received {"connection_id":143307,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fa44558e0012daae14005ff08a80024001421..."} 
[2026-07-27 21:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143307,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa44558e0012daae14005ff08a80024001421..."} 
[2026-07-27 21:22:14] local.INFO: Processing buffer {"connection_id":143307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa44558e0012daae14005ff08a80024001421..."} 
[2026-07-27 21:22:14] local.INFO: Packet analysis {"connection_id":143307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa445"} 
[2026-07-27 21:22:14] local.INFO: Extracted packet for processing {"connection_id":143307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa445"} 
[2026-07-27 21:22:14] local.INFO: GPS Element Parsed {"raw_longitude":766173504,"raw_latitude":100599976,"longitude_deg":76.6173504,"latitude_deg":10.0599976,"altitude":36,"angle":20,"satellites":33,"speed":0,"hex_longitude":"2daae140","hex_latitude":"05ff08a8","is_valid_coordinates":true} 
[2026-07-27 21:22:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:22:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002786560001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:22:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391576155226112,"note":"Value kept but may cause issues"} 
[2026-07-27 21:22:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133550823004133376,"note":"Value kept but may cause issues"} 
[2026-07-27 21:22:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:22:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785167436000,"timestamp_ms":1785167436000,"timestamp_seconds":1785167436,"priority":1,"record_length":96,"hex_timestamp":"0000019fa44558e0"} 
[2026-07-27 21:22:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:22:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:22:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-27 21:22:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:22:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:22:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:22:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:22:14] local.INFO: Teltonika packet parsed successfully {"connection_id":143307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:22:14] local.INFO: Passing IMEI to GPS processor {"connection_id":143307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:22:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":143307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:22:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:22:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:22:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:22:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002786560001,"66":25625,"118":206,"88":20480,"24":0,"16":359391576155226112,"45":-6133550823004133376},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 21:22:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:22:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:22:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002786560001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:22:14] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 21:22:14] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 21:22:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391576155226112,"km_value":359391576155226.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:22:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133550823004133376,"description":"Unknown IO ID 45"} 
[2026-07-27 21:22:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002786560001,"power":25625,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133550823004133376}} 
[2026-07-27 21:22:14] local.INFO: DEBUG: GPS processor result {"connection_id":143307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:22:14] local.INFO: GPS data processed {"connection_id":143307,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:22:14] local.INFO: Acknowledgment sent {"connection_id":143307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:22:31] local.INFO: TCP Data received {"connection_id":144308,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:22:31] local.INFO: Processing buffer {"connection_id":144308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:22:31] local.INFO: IMEI packet received {"connection_id":144308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 21:22:31] local.INFO: IMEI acknowledgment sent {"connection_id":144308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:22:36] local.INFO: TCP Data received {"connection_id":144308,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:22:36] local.INFO: Processing buffer {"connection_id":144308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:22:36] local.INFO: IMEI packet received {"connection_id":144308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 21:22:36] local.INFO: IMEI acknowledgment sent {"connection_id":144308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:22:37] local.INFO: TCP Data received {"connection_id":144306,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa44437d0012d196940071fee200045013129..."} 
[2026-07-27 21:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa44437d0012d196940071fee200045013129..."} 
[2026-07-27 21:22:37] local.INFO: Processing buffer {"connection_id":144306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa44437d0012d196940071fee200045013129..."} 
[2026-07-27 21:22:37] local.INFO: Packet analysis {"connection_id":144306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa444"} 
[2026-07-27 21:22:37] local.INFO: Extracted packet for processing {"connection_id":144306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa444"} 
[2026-07-27 21:22:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":69,"angle":305,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 21:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:22:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002767616001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:22:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 21:22:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:22:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:22:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785167362000,"timestamp_ms":1785167362000,"timestamp_seconds":1785167362,"priority":1,"record_length":96,"hex_timestamp":"0000019fa44437d0"} 
[2026-07-27 21:22:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:22:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 21:22:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:22:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:22:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:22:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:22:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:22:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:22:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:22:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:22:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 21:22:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 21:22:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002767616001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 21:22:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 21:22:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 21:22:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002767616001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:22:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 21:22:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 21:22:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:22:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:22:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002767616001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 21:22:37] local.INFO: DEBUG: GPS processor result {"connection_id":144306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555499,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:22:37] local.INFO: GPS data processed {"connection_id":144306,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:22:37] local.INFO: Acknowledgment sent {"connection_id":144306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:22:37] local.INFO: TCP Data received {"connection_id":144308,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fa44558e0012daae14005ff08a80024001421..."} 
[2026-07-27 21:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa44558e0012daae14005ff08a80024001421..."} 
[2026-07-27 21:22:37] local.INFO: Processing buffer {"connection_id":144308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa44558e0012daae14005ff08a80024001421..."} 
[2026-07-27 21:22:37] local.INFO: Packet analysis {"connection_id":144308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa445"} 
[2026-07-27 21:22:37] local.INFO: Extracted packet for processing {"connection_id":144308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa445"} 
[2026-07-27 21:22:37] local.INFO: GPS Element Parsed {"raw_longitude":766173504,"raw_latitude":100599976,"longitude_deg":76.6173504,"latitude_deg":10.0599976,"altitude":36,"angle":20,"satellites":33,"speed":0,"hex_longitude":"2daae140","hex_latitude":"05ff08a8","is_valid_coordinates":true} 
[2026-07-27 21:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:22:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002786560001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:22:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391576155226112,"note":"Value kept but may cause issues"} 
[2026-07-27 21:22:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133550823004133376,"note":"Value kept but may cause issues"} 
[2026-07-27 21:22:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:22:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785167436000,"timestamp_ms":1785167436000,"timestamp_seconds":1785167436,"priority":1,"record_length":96,"hex_timestamp":"0000019fa44558e0"} 
[2026-07-27 21:22:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:22:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-27 21:22:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:22:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:22:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:22:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:22:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:22:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:22:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:22:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:22:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:22:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:22:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002786560001,"66":25625,"118":206,"88":20480,"24":0,"16":359391576155226112,"45":-6133550823004133376},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 21:22:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:22:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:22:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002786560001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:22:37] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 21:22:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 21:22:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391576155226112,"km_value":359391576155226.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:22:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133550823004133376,"description":"Unknown IO ID 45"} 
[2026-07-27 21:22:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002786560001,"power":25625,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133550823004133376}} 
[2026-07-27 21:22:37] local.INFO: DEBUG: GPS processor result {"connection_id":144308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:22:37] local.INFO: GPS data processed {"connection_id":144308,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:22:37] local.INFO: Acknowledgment sent {"connection_id":144308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:22:59] local.INFO: TCP Data received {"connection_id":144309,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144309,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:22:59] local.INFO: Processing buffer {"connection_id":144309,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:22:59] local.INFO: IMEI packet received {"connection_id":144309,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 21:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":144309,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:23:04] local.INFO: TCP Data received {"connection_id":144309,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144309,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:23:04] local.INFO: Processing buffer {"connection_id":144309,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:23:04] local.INFO: IMEI packet received {"connection_id":144309,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 21:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":144309,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:23:05] local.INFO: TCP Data received {"connection_id":144309,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa44437d0012d196940071fee200045013129..."} 
[2026-07-27 21:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa44437d0012d196940071fee200045013129..."} 
[2026-07-27 21:23:05] local.INFO: Processing buffer {"connection_id":144309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa44437d0012d196940071fee200045013129..."} 
[2026-07-27 21:23:05] local.INFO: Packet analysis {"connection_id":144309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa444"} 
[2026-07-27 21:23:05] local.INFO: Extracted packet for processing {"connection_id":144309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa444"} 
[2026-07-27 21:23:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":69,"angle":305,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 21:23:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:23:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002767616001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:23:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 21:23:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:23:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:23:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785167362000,"timestamp_ms":1785167362000,"timestamp_seconds":1785167362,"priority":1,"record_length":96,"hex_timestamp":"0000019fa44437d0"} 
[2026-07-27 21:23:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:23:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:23:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 21:23:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:23:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:23:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:23:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:23:05] local.INFO: Teltonika packet parsed successfully {"connection_id":144309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:23:05] local.INFO: Passing IMEI to GPS processor {"connection_id":144309,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:23:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":144309,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:23:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:23:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 21:23:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 21:23:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002767616001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 21:23:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 21:23:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 21:23:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002767616001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:23:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 21:23:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 21:23:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:23:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:23:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002767616001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 21:23:05] local.INFO: DEBUG: GPS processor result {"connection_id":144309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555501,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:23:05] local.INFO: GPS data processed {"connection_id":144309,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:23:05] local.INFO: Acknowledgment sent {"connection_id":144309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:23:08] local.INFO: TCP Data received {"connection_id":144308,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fa44558e0012daae14005ff08a80024001421..."} 
[2026-07-27 21:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa44558e0012daae14005ff08a80024001421..."} 
[2026-07-27 21:23:08] local.INFO: Processing buffer {"connection_id":144308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa44558e0012daae14005ff08a80024001421..."} 
[2026-07-27 21:23:08] local.INFO: Packet analysis {"connection_id":144308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa445"} 
[2026-07-27 21:23:08] local.INFO: Extracted packet for processing {"connection_id":144308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa445"} 
[2026-07-27 21:23:08] local.INFO: GPS Element Parsed {"raw_longitude":766173504,"raw_latitude":100599976,"longitude_deg":76.6173504,"latitude_deg":10.0599976,"altitude":36,"angle":20,"satellites":33,"speed":0,"hex_longitude":"2daae140","hex_latitude":"05ff08a8","is_valid_coordinates":true} 
[2026-07-27 21:23:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:23:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002786560001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:23:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391576155226112,"note":"Value kept but may cause issues"} 
[2026-07-27 21:23:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133550823004133376,"note":"Value kept but may cause issues"} 
[2026-07-27 21:23:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:23:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785167436000,"timestamp_ms":1785167436000,"timestamp_seconds":1785167436,"priority":1,"record_length":96,"hex_timestamp":"0000019fa44558e0"} 
[2026-07-27 21:23:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:23:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-27 21:23:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:23:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:23:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:23:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:23:08] local.INFO: Teltonika packet parsed successfully {"connection_id":144308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:23:08] local.INFO: Passing IMEI to GPS processor {"connection_id":144308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:23:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":144308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:23:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:23:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:23:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:23:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002786560001,"66":25625,"118":206,"88":20480,"24":0,"16":359391576155226112,"45":-6133550823004133376},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 21:23:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:23:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:23:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002786560001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:23:08] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 21:23:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 21:23:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391576155226112,"km_value":359391576155226.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:23:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133550823004133376,"description":"Unknown IO ID 45"} 
[2026-07-27 21:23:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002786560001,"power":25625,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133550823004133376}} 
[2026-07-27 21:23:08] local.INFO: DEBUG: GPS processor result {"connection_id":144308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:23:08] local.INFO: GPS data processed {"connection_id":144308,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:23:08] local.INFO: Acknowledgment sent {"connection_id":144308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:23:22] local.INFO: TCP Data received {"connection_id":144307,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 21:23:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144307,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 21:23:22] local.INFO: Processing buffer {"connection_id":144307,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 21:23:22] local.INFO: IMEI packet received {"connection_id":144307,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 21:23:22] local.INFO: IMEI acknowledgment sent {"connection_id":144307,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:23:31] local.INFO: TCP Data received {"connection_id":144310,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:23:31] local.INFO: Processing buffer {"connection_id":144310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:23:31] local.INFO: IMEI packet received {"connection_id":144310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 21:23:31] local.INFO: IMEI acknowledgment sent {"connection_id":144310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:23:36] local.INFO: TCP Data received {"connection_id":144310,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:23:36] local.INFO: Processing buffer {"connection_id":144310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:23:36] local.INFO: IMEI packet received {"connection_id":144310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 21:23:36] local.INFO: IMEI acknowledgment sent {"connection_id":144310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:23:37] local.INFO: TCP Data received {"connection_id":144310,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fa44558e0012daae14005ff08a80024001421..."} 
[2026-07-27 21:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa44558e0012daae14005ff08a80024001421..."} 
[2026-07-27 21:23:37] local.INFO: Processing buffer {"connection_id":144310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa44558e0012daae14005ff08a80024001421..."} 
[2026-07-27 21:23:37] local.INFO: Packet analysis {"connection_id":144310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa445"} 
[2026-07-27 21:23:37] local.INFO: Extracted packet for processing {"connection_id":144310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa445"} 
[2026-07-27 21:23:37] local.INFO: GPS Element Parsed {"raw_longitude":766173504,"raw_latitude":100599976,"longitude_deg":76.6173504,"latitude_deg":10.0599976,"altitude":36,"angle":20,"satellites":33,"speed":0,"hex_longitude":"2daae140","hex_latitude":"05ff08a8","is_valid_coordinates":true} 
[2026-07-27 21:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002786560001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391576155226112,"note":"Value kept but may cause issues"} 
[2026-07-27 21:23:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133550823004133376,"note":"Value kept but may cause issues"} 
[2026-07-27 21:23:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785167436000,"timestamp_ms":1785167436000,"timestamp_seconds":1785167436,"priority":1,"record_length":96,"hex_timestamp":"0000019fa44558e0"} 
[2026-07-27 21:23:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:23:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-27 21:23:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:23:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:23:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:23:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002786560001,"66":25625,"118":206,"88":20480,"24":0,"16":359391576155226112,"45":-6133550823004133376},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 21:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:23:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:23:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002786560001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:23:37] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 21:23:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 21:23:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391576155226112,"km_value":359391576155226.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:23:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133550823004133376,"description":"Unknown IO ID 45"} 
[2026-07-27 21:23:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002786560001,"power":25625,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133550823004133376}} 
[2026-07-27 21:23:37] local.INFO: DEBUG: GPS processor result {"connection_id":144310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:23:37] local.INFO: GPS data processed {"connection_id":144310,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:23:37] local.INFO: Acknowledgment sent {"connection_id":144310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:23:37] local.INFO: TCP Data received {"connection_id":144309,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa44437d0012d196940071fee200045013129..."} 
[2026-07-27 21:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa44437d0012d196940071fee200045013129..."} 
[2026-07-27 21:23:37] local.INFO: Processing buffer {"connection_id":144309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa44437d0012d196940071fee200045013129..."} 
[2026-07-27 21:23:37] local.INFO: Packet analysis {"connection_id":144309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa444"} 
[2026-07-27 21:23:37] local.INFO: Extracted packet for processing {"connection_id":144309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa444"} 
[2026-07-27 21:23:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":69,"angle":305,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 21:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002767616001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 21:23:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:23:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785167362000,"timestamp_ms":1785167362000,"timestamp_seconds":1785167362,"priority":1,"record_length":96,"hex_timestamp":"0000019fa44437d0"} 
[2026-07-27 21:23:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:23:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 21:23:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:23:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:23:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144309,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144309,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:23:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 21:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 21:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002767616001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 21:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 21:23:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 21:23:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002767616001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:23:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 21:23:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 21:23:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:23:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:23:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002767616001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 21:23:37] local.INFO: DEBUG: GPS processor result {"connection_id":144309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555504,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:23:37] local.INFO: GPS data processed {"connection_id":144309,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:23:37] local.INFO: Acknowledgment sent {"connection_id":144309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:24:04] local.INFO: TCP Data received {"connection_id":145588,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145588,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:24:04] local.INFO: Processing buffer {"connection_id":145588,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:24:04] local.INFO: IMEI packet received {"connection_id":145588,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 21:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":145588,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:24:08] local.INFO: TCP Data received {"connection_id":144310,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fa44558e0012daae14005ff08a80024001421..."} 
[2026-07-27 21:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa44558e0012daae14005ff08a80024001421..."} 
[2026-07-27 21:24:08] local.INFO: Processing buffer {"connection_id":144310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa44558e0012daae14005ff08a80024001421..."} 
[2026-07-27 21:24:08] local.INFO: Packet analysis {"connection_id":144310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa445"} 
[2026-07-27 21:24:08] local.INFO: Extracted packet for processing {"connection_id":144310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa445"} 
[2026-07-27 21:24:08] local.INFO: GPS Element Parsed {"raw_longitude":766173504,"raw_latitude":100599976,"longitude_deg":76.6173504,"latitude_deg":10.0599976,"altitude":36,"angle":20,"satellites":33,"speed":0,"hex_longitude":"2daae140","hex_latitude":"05ff08a8","is_valid_coordinates":true} 
[2026-07-27 21:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:24:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002786560001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:24:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391576155226112,"note":"Value kept but may cause issues"} 
[2026-07-27 21:24:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133550823004133376,"note":"Value kept but may cause issues"} 
[2026-07-27 21:24:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:24:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785167436000,"timestamp_ms":1785167436000,"timestamp_seconds":1785167436,"priority":1,"record_length":96,"hex_timestamp":"0000019fa44558e0"} 
[2026-07-27 21:24:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:24:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-27 21:24:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:24:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:24:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:24:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:24:08] local.INFO: Teltonika packet parsed successfully {"connection_id":144310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:24:08] local.INFO: Passing IMEI to GPS processor {"connection_id":144310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:24:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":144310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:24:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:24:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:24:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:24:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002786560001,"66":25625,"118":206,"88":20480,"24":0,"16":359391576155226112,"45":-6133550823004133376},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 21:24:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:24:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:24:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002786560001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:24:08] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 21:24:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 21:24:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391576155226112,"km_value":359391576155226.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:24:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133550823004133376,"description":"Unknown IO ID 45"} 
[2026-07-27 21:24:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002786560001,"power":25625,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133550823004133376}} 
[2026-07-27 21:24:08] local.INFO: DEBUG: GPS processor result {"connection_id":144310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:24:08] local.INFO: GPS data processed {"connection_id":144310,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:24:08] local.INFO: Acknowledgment sent {"connection_id":144310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:24:09] local.INFO: TCP Data received {"connection_id":145588,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145588,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:24:09] local.INFO: Processing buffer {"connection_id":145588,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:24:09] local.INFO: IMEI packet received {"connection_id":145588,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 21:24:09] local.INFO: IMEI acknowledgment sent {"connection_id":145588,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:24:10] local.INFO: TCP Data received {"connection_id":145588,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa44437d0012d196940071fee200045013129..."} 
[2026-07-27 21:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa44437d0012d196940071fee200045013129..."} 
[2026-07-27 21:24:10] local.INFO: Processing buffer {"connection_id":145588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa44437d0012d196940071fee200045013129..."} 
[2026-07-27 21:24:10] local.INFO: Packet analysis {"connection_id":145588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa444"} 
[2026-07-27 21:24:10] local.INFO: Extracted packet for processing {"connection_id":145588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa444"} 
[2026-07-27 21:24:10] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":69,"angle":305,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 21:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:24:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002767616001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:24:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 21:24:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:24:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:24:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785167362000,"timestamp_ms":1785167362000,"timestamp_seconds":1785167362,"priority":1,"record_length":96,"hex_timestamp":"0000019fa44437d0"} 
[2026-07-27 21:24:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21: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-07-27 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 21:24:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:24:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:24:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:24:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:24:10] local.INFO: Teltonika packet parsed successfully {"connection_id":145588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:24:10] local.INFO: Passing IMEI to GPS processor {"connection_id":145588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:24:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":145588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:24:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:24:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 21:24:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 21:24:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002767616001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 21:24:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 21:24:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 21:24:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002767616001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:24:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 21:24:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 21:24:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:24:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:24:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002767616001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 21:24:10] local.INFO: DEBUG: GPS processor result {"connection_id":145588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555506,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:24:10] local.INFO: GPS data processed {"connection_id":145588,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:24:10] local.INFO: Acknowledgment sent {"connection_id":145588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:24:15] local.INFO: TCP Data received {"connection_id":145588,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa44437d0012d196940071fee200045013129..."} 
[2026-07-27 21:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa44437d0012d196940071fee200045013129..."} 
[2026-07-27 21:24:15] local.INFO: Processing buffer {"connection_id":145588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa44437d0012d196940071fee200045013129..."} 
[2026-07-27 21:24:15] local.INFO: Packet analysis {"connection_id":145588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa444"} 
[2026-07-27 21:24:15] local.INFO: Extracted packet for processing {"connection_id":145588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa444"} 
[2026-07-27 21:24:15] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":69,"angle":305,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 21:24:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:24:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002767616001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:24:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 21:24:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:24: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-07-27 21:24:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785167362000,"timestamp_ms":1785167362000,"timestamp_seconds":1785167362,"priority":1,"record_length":96,"hex_timestamp":"0000019fa44437d0"} 
[2026-07-27 21:24:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:24: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-07-27 21:24:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 21:24:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:24:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:24:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:24:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:24:15] local.INFO: Teltonika packet parsed successfully {"connection_id":145588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:24:15] local.INFO: Passing IMEI to GPS processor {"connection_id":145588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:24:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":145588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:24:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:24:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 21:24:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 21:24:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002767616001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 21:24:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 21:24:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 21:24:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002767616001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:24:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 21:24:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 21:24:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:24:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:24:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002767616001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 21:24:15] local.INFO: DEBUG: GPS processor result {"connection_id":145588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555507,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:24:15] local.INFO: GPS data processed {"connection_id":145588,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:24:15] local.INFO: Acknowledgment sent {"connection_id":145588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:24:31] local.INFO: TCP Data received {"connection_id":143174,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:24:31] local.INFO: Processing buffer {"connection_id":143174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:24:31] local.INFO: IMEI packet received {"connection_id":143174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 21:24:31] local.INFO: IMEI acknowledgment sent {"connection_id":143174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:24:36] local.INFO: TCP Data received {"connection_id":143174,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:24:36] local.INFO: Processing buffer {"connection_id":143174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:24:36] local.INFO: IMEI packet received {"connection_id":143174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 21:24:36] local.INFO: IMEI acknowledgment sent {"connection_id":143174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:24:37] local.INFO: TCP Data received {"connection_id":143174,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fa44558e0012daae14005ff08a80024001421..."} 
[2026-07-27 21:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143174,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa44558e0012daae14005ff08a80024001421..."} 
[2026-07-27 21:24:37] local.INFO: Processing buffer {"connection_id":143174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa44558e0012daae14005ff08a80024001421..."} 
[2026-07-27 21:24:37] local.INFO: Packet analysis {"connection_id":143174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa445"} 
[2026-07-27 21:24:37] local.INFO: Extracted packet for processing {"connection_id":143174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa445"} 
[2026-07-27 21:24:37] local.INFO: GPS Element Parsed {"raw_longitude":766173504,"raw_latitude":100599976,"longitude_deg":76.6173504,"latitude_deg":10.0599976,"altitude":36,"angle":20,"satellites":33,"speed":0,"hex_longitude":"2daae140","hex_latitude":"05ff08a8","is_valid_coordinates":true} 
[2026-07-27 21:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002786560001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:24:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391576155226112,"note":"Value kept but may cause issues"} 
[2026-07-27 21:24:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133550823004133376,"note":"Value kept but may cause issues"} 
[2026-07-27 21:24:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:24:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785167436000,"timestamp_ms":1785167436000,"timestamp_seconds":1785167436,"priority":1,"record_length":96,"hex_timestamp":"0000019fa44558e0"} 
[2026-07-27 21:24:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:24:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-27 21:24:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:24:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:24:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:24:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:24:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:24:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:24:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:24:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:24:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:24:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:24:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002786560001,"66":25625,"118":206,"88":20480,"24":0,"16":359391576155226112,"45":-6133550823004133376},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 21:24:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:24:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:24:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002786560001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:24:37] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 21:24:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 21:24:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391576155226112,"km_value":359391576155226.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:24:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133550823004133376,"description":"Unknown IO ID 45"} 
[2026-07-27 21:24:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002786560001,"power":25625,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133550823004133376}} 
[2026-07-27 21:24:37] local.INFO: DEBUG: GPS processor result {"connection_id":143174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:24:37] local.INFO: GPS data processed {"connection_id":143174,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:24:37] local.INFO: Acknowledgment sent {"connection_id":143174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:24:59] local.INFO: TCP Data received {"connection_id":143308,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143308,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:24:59] local.INFO: Processing buffer {"connection_id":143308,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:24:59] local.INFO: IMEI packet received {"connection_id":143308,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 21:24:59] local.INFO: IMEI acknowledgment sent {"connection_id":143308,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:25:01] local.INFO: TCP Data received {"connection_id":143308,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143308,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:25:01] local.INFO: Processing buffer {"connection_id":143308,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:25:01] local.INFO: IMEI packet received {"connection_id":143308,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 21:25:01] local.INFO: IMEI acknowledgment sent {"connection_id":143308,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:25:01] local.INFO: TCP Data received {"connection_id":143308,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa448cf98012d196940071fee200045013129..."} 
[2026-07-27 21:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa448cf98012d196940071fee200045013129..."} 
[2026-07-27 21:25:01] local.INFO: Processing buffer {"connection_id":143308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa448cf98012d196940071fee200045013129..."} 
[2026-07-27 21:25:01] local.INFO: Packet analysis {"connection_id":143308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa448"} 
[2026-07-27 21:25:01] local.INFO: Extracted packet for processing {"connection_id":143308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa448"} 
[2026-07-27 21:25:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":69,"angle":305,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 21:25:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:25:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002844672001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:25:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 21:25:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:25:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:25:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785167663000,"timestamp_ms":1785167663000,"timestamp_seconds":1785167663,"priority":1,"record_length":96,"hex_timestamp":"0000019fa448cf98"} 
[2026-07-27 21:25:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:25:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:25:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 21:25:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:25:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:25:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:25:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:25:01] local.INFO: Teltonika packet parsed successfully {"connection_id":143308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:25:01] local.INFO: Passing IMEI to GPS processor {"connection_id":143308,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:25:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":143308,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:25:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:25:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 21:25:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 21:25:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002844672001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 21:25:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 21:25:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 21:25:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002844672001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:25:01] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 21:25:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 21:25:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:25:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:25:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002844672001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 21:25:02] local.INFO: DEBUG: GPS processor result {"connection_id":143308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555509,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:25:02] local.INFO: GPS data processed {"connection_id":143308,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:25:02] local.INFO: Acknowledgment sent {"connection_id":143308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:25:09] local.INFO: TCP Data received {"connection_id":143174,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fa44558e0012daae14005ff08a80024001421..."} 
[2026-07-27 21:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143174,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa44558e0012daae14005ff08a80024001421..."} 
[2026-07-27 21:25:09] local.INFO: Processing buffer {"connection_id":143174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa44558e0012daae14005ff08a80024001421..."} 
[2026-07-27 21:25:09] local.INFO: Packet analysis {"connection_id":143174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa445"} 
[2026-07-27 21:25:09] local.INFO: Extracted packet for processing {"connection_id":143174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa445"} 
[2026-07-27 21:25:09] local.INFO: GPS Element Parsed {"raw_longitude":766173504,"raw_latitude":100599976,"longitude_deg":76.6173504,"latitude_deg":10.0599976,"altitude":36,"angle":20,"satellites":33,"speed":0,"hex_longitude":"2daae140","hex_latitude":"05ff08a8","is_valid_coordinates":true} 
[2026-07-27 21:25:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:25:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002786560001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:25:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391576155226112,"note":"Value kept but may cause issues"} 
[2026-07-27 21:25:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133550823004133376,"note":"Value kept but may cause issues"} 
[2026-07-27 21:25:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:25:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785167436000,"timestamp_ms":1785167436000,"timestamp_seconds":1785167436,"priority":1,"record_length":96,"hex_timestamp":"0000019fa44558e0"} 
[2026-07-27 21:25:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:25:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:25:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-27 21:25:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:25:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:25:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:25:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:25:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:25:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:25:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:25:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:25:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:25:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:25:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002786560001,"66":25625,"118":206,"88":20480,"24":0,"16":359391576155226112,"45":-6133550823004133376},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 21:25:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:25:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:25:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002786560001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:25:09] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 21:25:09] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 21:25:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391576155226112,"km_value":359391576155226.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:25:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133550823004133376,"description":"Unknown IO ID 45"} 
[2026-07-27 21:25:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002786560001,"power":25625,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133550823004133376}} 
[2026-07-27 21:25:09] local.INFO: DEBUG: GPS processor result {"connection_id":143174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:25:09] local.INFO: GPS data processed {"connection_id":143174,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:25:09] local.INFO: Acknowledgment sent {"connection_id":143174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:25:31] local.INFO: TCP Data received {"connection_id":144311,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:25:31] local.INFO: Processing buffer {"connection_id":144311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:25:31] local.INFO: IMEI packet received {"connection_id":144311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 21:25:31] local.INFO: IMEI acknowledgment sent {"connection_id":144311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:25:36] local.INFO: TCP Data received {"connection_id":144311,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:25:36] local.INFO: Processing buffer {"connection_id":144311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:25:36] local.INFO: IMEI packet received {"connection_id":144311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 21:25:36] local.INFO: IMEI acknowledgment sent {"connection_id":144311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:25:37] local.INFO: TCP Data received {"connection_id":143308,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa448cf98012d196940071fee200045013129..."} 
[2026-07-27 21:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa448cf98012d196940071fee200045013129..."} 
[2026-07-27 21:25:37] local.INFO: Processing buffer {"connection_id":143308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa448cf98012d196940071fee200045013129..."} 
[2026-07-27 21:25:37] local.INFO: Packet analysis {"connection_id":143308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa448"} 
[2026-07-27 21:25:37] local.INFO: Extracted packet for processing {"connection_id":143308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa448"} 
[2026-07-27 21:25:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":69,"angle":305,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 21:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002844672001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 21:25:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:25:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785167663000,"timestamp_ms":1785167663000,"timestamp_seconds":1785167663,"priority":1,"record_length":96,"hex_timestamp":"0000019fa448cf98"} 
[2026-07-27 21:25:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:25:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 21:25:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:25:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:25:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143308,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143308,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:25:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 21:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 21:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002844672001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 21:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 21:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 21:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002844672001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:25:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 21:25:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 21:25:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:25:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002844672001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 21:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":143308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555511,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:25:37] local.INFO: GPS data processed {"connection_id":143308,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:25:37] local.INFO: Acknowledgment sent {"connection_id":143308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:25:37] local.INFO: TCP Data received {"connection_id":144311,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fa44558e0012daae14005ff08a80024001421..."} 
[2026-07-27 21:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144311,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa44558e0012daae14005ff08a80024001421..."} 
[2026-07-27 21:25:37] local.INFO: Processing buffer {"connection_id":144311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa44558e0012daae14005ff08a80024001421..."} 
[2026-07-27 21:25:37] local.INFO: Packet analysis {"connection_id":144311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa445"} 
[2026-07-27 21:25:37] local.INFO: Extracted packet for processing {"connection_id":144311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa445"} 
[2026-07-27 21:25:37] local.INFO: GPS Element Parsed {"raw_longitude":766173504,"raw_latitude":100599976,"longitude_deg":76.6173504,"latitude_deg":10.0599976,"altitude":36,"angle":20,"satellites":33,"speed":0,"hex_longitude":"2daae140","hex_latitude":"05ff08a8","is_valid_coordinates":true} 
[2026-07-27 21:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002786560001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391576155226112,"note":"Value kept but may cause issues"} 
[2026-07-27 21:25:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133550823004133376,"note":"Value kept but may cause issues"} 
[2026-07-27 21:25:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785167436000,"timestamp_ms":1785167436000,"timestamp_seconds":1785167436,"priority":1,"record_length":96,"hex_timestamp":"0000019fa44558e0"} 
[2026-07-27 21:25:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:25:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-27 21:25:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:25:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:25:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:25:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002786560001,"66":25625,"118":206,"88":20480,"24":0,"16":359391576155226112,"45":-6133550823004133376},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 21:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002786560001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:25:37] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 21:25:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 21:25:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391576155226112,"km_value":359391576155226.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:25:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133550823004133376,"description":"Unknown IO ID 45"} 
[2026-07-27 21:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002786560001,"power":25625,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133550823004133376}} 
[2026-07-27 21:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":144311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:25:37] local.INFO: GPS data processed {"connection_id":144311,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:25:37] local.INFO: Acknowledgment sent {"connection_id":144311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:25:59] local.INFO: TCP Data received {"connection_id":144312,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144312,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:25:59] local.INFO: Processing buffer {"connection_id":144312,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:25:59] local.INFO: IMEI packet received {"connection_id":144312,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 21:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":144312,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:26:04] local.INFO: TCP Data received {"connection_id":144312,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144312,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:26:04] local.INFO: Processing buffer {"connection_id":144312,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:26:04] local.INFO: IMEI packet received {"connection_id":144312,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 21:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":144312,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:26:05] local.INFO: TCP Data received {"connection_id":144312,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa448cf98012d196940071fee200045013129..."} 
[2026-07-27 21:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa448cf98012d196940071fee200045013129..."} 
[2026-07-27 21:26:05] local.INFO: Processing buffer {"connection_id":144312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa448cf98012d196940071fee200045013129..."} 
[2026-07-27 21:26:05] local.INFO: Packet analysis {"connection_id":144312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa448"} 
[2026-07-27 21:26:05] local.INFO: Extracted packet for processing {"connection_id":144312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa448"} 
[2026-07-27 21:26:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":69,"angle":305,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 21:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:26:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002844672001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:26:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 21:26:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:26:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:26:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785167663000,"timestamp_ms":1785167663000,"timestamp_seconds":1785167663,"priority":1,"record_length":96,"hex_timestamp":"0000019fa448cf98"} 
[2026-07-27 21:26:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:26:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 21:26:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:26:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:26:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:26:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:26:05] local.INFO: Teltonika packet parsed successfully {"connection_id":144312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:26:05] local.INFO: Passing IMEI to GPS processor {"connection_id":144312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:26:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":144312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:26:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:26:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 21:26:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 21:26:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002844672001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 21:26:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 21:26:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 21:26:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002844672001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:26:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 21:26:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 21:26:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:26:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:26:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002844672001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 21:26:05] local.INFO: DEBUG: GPS processor result {"connection_id":144312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555513,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:26:05] local.INFO: GPS data processed {"connection_id":144312,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:26:05] local.INFO: Acknowledgment sent {"connection_id":144312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:26:09] local.INFO: TCP Data received {"connection_id":144311,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fa44558e0012daae14005ff08a80024001421..."} 
[2026-07-27 21:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144311,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa44558e0012daae14005ff08a80024001421..."} 
[2026-07-27 21:26:09] local.INFO: Processing buffer {"connection_id":144311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa44558e0012daae14005ff08a80024001421..."} 
[2026-07-27 21:26:09] local.INFO: Packet analysis {"connection_id":144311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa445"} 
[2026-07-27 21:26:09] local.INFO: Extracted packet for processing {"connection_id":144311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa445"} 
[2026-07-27 21:26:09] local.INFO: GPS Element Parsed {"raw_longitude":766173504,"raw_latitude":100599976,"longitude_deg":76.6173504,"latitude_deg":10.0599976,"altitude":36,"angle":20,"satellites":33,"speed":0,"hex_longitude":"2daae140","hex_latitude":"05ff08a8","is_valid_coordinates":true} 
[2026-07-27 21:26:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:26:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002786560001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:26:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391576155226112,"note":"Value kept but may cause issues"} 
[2026-07-27 21:26:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133550823004133376,"note":"Value kept but may cause issues"} 
[2026-07-27 21:26:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:26:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785167436000,"timestamp_ms":1785167436000,"timestamp_seconds":1785167436,"priority":1,"record_length":96,"hex_timestamp":"0000019fa44558e0"} 
[2026-07-27 21:26:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:26:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:26:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-27 21:26:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:26:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:26:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:26:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:26:09] local.INFO: Teltonika packet parsed successfully {"connection_id":144311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:26:09] local.INFO: Passing IMEI to GPS processor {"connection_id":144311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:26:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":144311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:26:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:26:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:26:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:26:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002786560001,"66":25625,"118":206,"88":20480,"24":0,"16":359391576155226112,"45":-6133550823004133376},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 21:26:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:26:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:26:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002786560001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:26:09] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 21:26:09] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 21:26:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391576155226112,"km_value":359391576155226.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:26:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133550823004133376,"description":"Unknown IO ID 45"} 
[2026-07-27 21:26:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002786560001,"power":25625,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133550823004133376}} 
[2026-07-27 21:26:09] local.INFO: DEBUG: GPS processor result {"connection_id":144311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:26:09] local.INFO: GPS data processed {"connection_id":144311,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:26:09] local.INFO: Acknowledgment sent {"connection_id":144311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:26:36] local.INFO: TCP Data received {"connection_id":145589,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:26:36] local.INFO: Processing buffer {"connection_id":145589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:26:36] local.INFO: IMEI packet received {"connection_id":145589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 21:26:36] local.INFO: IMEI acknowledgment sent {"connection_id":145589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:26:37] local.INFO: TCP Data received {"connection_id":144312,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa448cf98012d196940071fee200045013129..."} 
[2026-07-27 21:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa448cf98012d196940071fee200045013129..."} 
[2026-07-27 21:26:37] local.INFO: Processing buffer {"connection_id":144312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa448cf98012d196940071fee200045013129..."} 
[2026-07-27 21:26:37] local.INFO: Packet analysis {"connection_id":144312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa448"} 
[2026-07-27 21:26:37] local.INFO: Extracted packet for processing {"connection_id":144312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa448"} 
[2026-07-27 21:26:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":69,"angle":305,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 21:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:26:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002844672001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:26:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 21:26:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:26:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:26:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785167663000,"timestamp_ms":1785167663000,"timestamp_seconds":1785167663,"priority":1,"record_length":96,"hex_timestamp":"0000019fa448cf98"} 
[2026-07-27 21:26:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:26:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 21:26:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:26:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:26:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:26:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:26:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:26:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:26:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:26:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:26:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 21:26:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 21:26:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002844672001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 21:26:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 21:26:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 21:26:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002844672001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:26:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 21:26:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 21:26:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:26:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:26:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002844672001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 21:26:37] local.INFO: DEBUG: GPS processor result {"connection_id":144312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555515,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:26:37] local.INFO: GPS data processed {"connection_id":144312,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:26:37] local.INFO: Acknowledgment sent {"connection_id":144312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:26:41] local.INFO: TCP Data received {"connection_id":145589,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:26:41] local.INFO: Processing buffer {"connection_id":145589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:26:41] local.INFO: IMEI packet received {"connection_id":145589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 21:26:41] local.INFO: IMEI acknowledgment sent {"connection_id":145589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:26:42] local.INFO: TCP Data received {"connection_id":145589,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fa449f0a8012daae14005ff08a80024001422..."} 
[2026-07-27 21:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa449f0a8012daae14005ff08a80024001422..."} 
[2026-07-27 21:26:42] local.INFO: Processing buffer {"connection_id":145589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa449f0a8012daae14005ff08a80024001422..."} 
[2026-07-27 21:26:42] local.INFO: Packet analysis {"connection_id":145589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa449"} 
[2026-07-27 21:26:42] local.INFO: Extracted packet for processing {"connection_id":145589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa449"} 
[2026-07-27 21:26:42] local.INFO: GPS Element Parsed {"raw_longitude":766173504,"raw_latitude":100599976,"longitude_deg":76.6173504,"latitude_deg":10.0599976,"altitude":36,"angle":20,"satellites":34,"speed":0,"hex_longitude":"2daae140","hex_latitude":"05ff08a8","is_valid_coordinates":true} 
[2026-07-27 21:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:26:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002863616001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:26:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391576155226112,"note":"Value kept but may cause issues"} 
[2026-07-27 21:26:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133550823004133376,"note":"Value kept but may cause issues"} 
[2026-07-27 21:26:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:26:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785167737000,"timestamp_ms":1785167737000,"timestamp_seconds":1785167737,"priority":1,"record_length":96,"hex_timestamp":"0000019fa449f0a8"} 
[2026-07-27 21:26:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:26:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-27 21:26:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:26:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:26:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:26:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:26:42] local.INFO: Teltonika packet parsed successfully {"connection_id":145589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:26:42] local.INFO: Passing IMEI to GPS processor {"connection_id":145589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:26:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":145589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:26:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:26:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:26:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:26:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002863616001,"66":25680,"118":206,"88":20480,"24":0,"16":359391576155226112,"45":-6133550823004133376},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 21:26:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:26:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:26:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002863616001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:26:42] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 21:26:42] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 21:26:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391576155226112,"km_value":359391576155226.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:26:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133550823004133376,"description":"Unknown IO ID 45"} 
[2026-07-27 21:26:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002863616001,"power":25680,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133550823004133376}} 
[2026-07-27 21:26:42] local.INFO: DEBUG: GPS processor result {"connection_id":145589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:26:42] local.INFO: GPS data processed {"connection_id":145589,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:26:42] local.INFO: Acknowledgment sent {"connection_id":145589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:26:59] local.INFO: TCP Data received {"connection_id":143309,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143309,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:26:59] local.INFO: Processing buffer {"connection_id":143309,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:26:59] local.INFO: IMEI packet received {"connection_id":143309,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 21:26:59] local.INFO: IMEI acknowledgment sent {"connection_id":143309,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:27:04] local.INFO: TCP Data received {"connection_id":143309,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143309,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:27:04] local.INFO: Processing buffer {"connection_id":143309,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:27:04] local.INFO: IMEI packet received {"connection_id":143309,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 21:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":143309,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:27:05] local.INFO: TCP Data received {"connection_id":143309,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa448cf98012d196940071fee200045013129..."} 
[2026-07-27 21:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa448cf98012d196940071fee200045013129..."} 
[2026-07-27 21:27:05] local.INFO: Processing buffer {"connection_id":143309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa448cf98012d196940071fee200045013129..."} 
[2026-07-27 21:27:05] local.INFO: Packet analysis {"connection_id":143309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa448"} 
[2026-07-27 21:27:05] local.INFO: Extracted packet for processing {"connection_id":143309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa448"} 
[2026-07-27 21:27:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":69,"angle":305,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 21:27:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:27:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002844672001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:27:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 21:27:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:27:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:27:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785167663000,"timestamp_ms":1785167663000,"timestamp_seconds":1785167663,"priority":1,"record_length":96,"hex_timestamp":"0000019fa448cf98"} 
[2026-07-27 21:27:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:27:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:27:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 21:27:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:27:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:27:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:27:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:27:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:27:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143309,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:27:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143309,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:27:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:27:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 21:27:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 21:27:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002844672001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 21:27:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 21:27:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 21:27:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002844672001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:27:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 21:27:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 21:27:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:27:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:27:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002844672001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 21:27:06] local.INFO: DEBUG: GPS processor result {"connection_id":143309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555517,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:27:06] local.INFO: GPS data processed {"connection_id":143309,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:27:06] local.INFO: Acknowledgment sent {"connection_id":143309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:27:13] local.INFO: TCP Data received {"connection_id":145589,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fa449f0a8012daae14005ff08a80024001422..."} 
[2026-07-27 21:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa449f0a8012daae14005ff08a80024001422..."} 
[2026-07-27 21:27:13] local.INFO: Processing buffer {"connection_id":145589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa449f0a8012daae14005ff08a80024001422..."} 
[2026-07-27 21:27:13] local.INFO: Packet analysis {"connection_id":145589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa449"} 
[2026-07-27 21:27:13] local.INFO: Extracted packet for processing {"connection_id":145589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa449"} 
[2026-07-27 21:27:13] local.INFO: GPS Element Parsed {"raw_longitude":766173504,"raw_latitude":100599976,"longitude_deg":76.6173504,"latitude_deg":10.0599976,"altitude":36,"angle":20,"satellites":34,"speed":0,"hex_longitude":"2daae140","hex_latitude":"05ff08a8","is_valid_coordinates":true} 
[2026-07-27 21:27:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:27:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002863616001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:27:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391576155226112,"note":"Value kept but may cause issues"} 
[2026-07-27 21:27:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133550823004133376,"note":"Value kept but may cause issues"} 
[2026-07-27 21:27:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:27:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785167737000,"timestamp_ms":1785167737000,"timestamp_seconds":1785167737,"priority":1,"record_length":96,"hex_timestamp":"0000019fa449f0a8"} 
[2026-07-27 21:27:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:27:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:27:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-27 21:27:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:27:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:27:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:27:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:27:13] local.INFO: Teltonika packet parsed successfully {"connection_id":145589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:27:13] local.INFO: Passing IMEI to GPS processor {"connection_id":145589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:27:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":145589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:27:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:27:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:27:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:27:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002863616001,"66":25680,"118":206,"88":20480,"24":0,"16":359391576155226112,"45":-6133550823004133376},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 21:27:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:27:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:27:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002863616001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:27:13] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 21:27:13] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 21:27:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391576155226112,"km_value":359391576155226.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:27:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133550823004133376,"description":"Unknown IO ID 45"} 
[2026-07-27 21:27:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002863616001,"power":25680,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133550823004133376}} 
[2026-07-27 21:27:13] local.INFO: DEBUG: GPS processor result {"connection_id":145589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:27:13] local.INFO: GPS data processed {"connection_id":145589,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:27:13] local.INFO: Acknowledgment sent {"connection_id":145589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:27:31] local.INFO: TCP Data received {"connection_id":143310,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:27:31] local.INFO: Processing buffer {"connection_id":143310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:27:31] local.INFO: IMEI packet received {"connection_id":143310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 21:27:31] local.INFO: IMEI acknowledgment sent {"connection_id":143310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:27:36] local.INFO: TCP Data received {"connection_id":143310,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:27:36] local.INFO: Processing buffer {"connection_id":143310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:27:36] local.INFO: IMEI packet received {"connection_id":143310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 21:27:36] local.INFO: IMEI acknowledgment sent {"connection_id":143310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:27:37] local.INFO: TCP Data received {"connection_id":143310,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fa449f0a8012daae14005ff08a80024001422..."} 
[2026-07-27 21:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa449f0a8012daae14005ff08a80024001422..."} 
[2026-07-27 21:27:37] local.INFO: Processing buffer {"connection_id":143310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa449f0a8012daae14005ff08a80024001422..."} 
[2026-07-27 21:27:37] local.INFO: Packet analysis {"connection_id":143310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa449"} 
[2026-07-27 21:27:37] local.INFO: Extracted packet for processing {"connection_id":143310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa449"} 
[2026-07-27 21:27:37] local.INFO: GPS Element Parsed {"raw_longitude":766173504,"raw_latitude":100599976,"longitude_deg":76.6173504,"latitude_deg":10.0599976,"altitude":36,"angle":20,"satellites":34,"speed":0,"hex_longitude":"2daae140","hex_latitude":"05ff08a8","is_valid_coordinates":true} 
[2026-07-27 21:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:27:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002863616001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:27:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391576155226112,"note":"Value kept but may cause issues"} 
[2026-07-27 21:27:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133550823004133376,"note":"Value kept but may cause issues"} 
[2026-07-27 21:27:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:27:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785167737000,"timestamp_ms":1785167737000,"timestamp_seconds":1785167737,"priority":1,"record_length":96,"hex_timestamp":"0000019fa449f0a8"} 
[2026-07-27 21:27:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:27:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-27 21:27:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:27:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:27:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:27:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:27:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:27:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:27:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:27:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:27:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:27:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:27:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002863616001,"66":25680,"118":206,"88":20480,"24":0,"16":359391576155226112,"45":-6133550823004133376},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 21:27:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:27:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:27:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002863616001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:27:37] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 21:27:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 21:27:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391576155226112,"km_value":359391576155226.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:27:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133550823004133376,"description":"Unknown IO ID 45"} 
[2026-07-27 21:27:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002863616001,"power":25680,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133550823004133376}} 
[2026-07-27 21:27:37] local.INFO: DEBUG: GPS processor result {"connection_id":143310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:27:37] local.INFO: GPS data processed {"connection_id":143310,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:27:37] local.INFO: Acknowledgment sent {"connection_id":143310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:27:37] local.INFO: TCP Data received {"connection_id":143309,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa448cf98012d196940071fee200045013129..."} 
[2026-07-27 21:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa448cf98012d196940071fee200045013129..."} 
[2026-07-27 21:27:37] local.INFO: Processing buffer {"connection_id":143309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa448cf98012d196940071fee200045013129..."} 
[2026-07-27 21:27:37] local.INFO: Packet analysis {"connection_id":143309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa448"} 
[2026-07-27 21:27:37] local.INFO: Extracted packet for processing {"connection_id":143309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa448"} 
[2026-07-27 21:27:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":69,"angle":305,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 21:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:27:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002844672001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:27:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 21:27:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:27:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:27:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785167663000,"timestamp_ms":1785167663000,"timestamp_seconds":1785167663,"priority":1,"record_length":96,"hex_timestamp":"0000019fa448cf98"} 
[2026-07-27 21:27:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:27:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 21:27:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:27:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:27:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:27:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:27:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:27:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143309,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:27:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143309,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:27:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:27:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 21:27:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 21:27:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002844672001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 21:27:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 21:27:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 21:27:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002844672001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:27:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 21:27:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 21:27:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:27:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:27:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002844672001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 21:27:37] local.INFO: DEBUG: GPS processor result {"connection_id":143309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555520,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:27:37] local.INFO: GPS data processed {"connection_id":143309,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:27:37] local.INFO: Acknowledgment sent {"connection_id":143309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:28:04] local.INFO: TCP Data received {"connection_id":144313,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144313,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:28:04] local.INFO: Processing buffer {"connection_id":144313,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:28:04] local.INFO: IMEI packet received {"connection_id":144313,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 21:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":144313,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:28:08] local.INFO: TCP Data received {"connection_id":143310,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fa449f0a8012daae14005ff08a80024001422..."} 
[2026-07-27 21:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa449f0a8012daae14005ff08a80024001422..."} 
[2026-07-27 21:28:08] local.INFO: Processing buffer {"connection_id":143310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa449f0a8012daae14005ff08a80024001422..."} 
[2026-07-27 21:28:08] local.INFO: Packet analysis {"connection_id":143310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa449"} 
[2026-07-27 21:28:08] local.INFO: Extracted packet for processing {"connection_id":143310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa449"} 
[2026-07-27 21:28:08] local.INFO: GPS Element Parsed {"raw_longitude":766173504,"raw_latitude":100599976,"longitude_deg":76.6173504,"latitude_deg":10.0599976,"altitude":36,"angle":20,"satellites":34,"speed":0,"hex_longitude":"2daae140","hex_latitude":"05ff08a8","is_valid_coordinates":true} 
[2026-07-27 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-07-27 21:28:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002863616001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:28:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391576155226112,"note":"Value kept but may cause issues"} 
[2026-07-27 21:28:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133550823004133376,"note":"Value kept but may cause issues"} 
[2026-07-27 21:28:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:28:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785167737000,"timestamp_ms":1785167737000,"timestamp_seconds":1785167737,"priority":1,"record_length":96,"hex_timestamp":"0000019fa449f0a8"} 
[2026-07-27 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-07-27 21:28:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-27 21:28:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 21:28:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:28:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:28:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:28:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:28:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:28:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:28:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:28:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002863616001,"66":25680,"118":206,"88":20480,"24":0,"16":359391576155226112,"45":-6133550823004133376},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 21:28:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:28:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:28:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002863616001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:28:08] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 21:28:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 21:28:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391576155226112,"km_value":359391576155226.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:28:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133550823004133376,"description":"Unknown IO ID 45"} 
[2026-07-27 21:28:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002863616001,"power":25680,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133550823004133376}} 
[2026-07-27 21:28:08] local.INFO: DEBUG: GPS processor result {"connection_id":143310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:28:08] local.INFO: GPS data processed {"connection_id":143310,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:28:08] local.INFO: Acknowledgment sent {"connection_id":143310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:28:09] local.INFO: TCP Data received {"connection_id":144313,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144313,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:28:09] local.INFO: Processing buffer {"connection_id":144313,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:28:09] local.INFO: IMEI packet received {"connection_id":144313,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 21:28:09] local.INFO: IMEI acknowledgment sent {"connection_id":144313,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:28:10] local.INFO: TCP Data received {"connection_id":144313,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa448cf98012d196940071fee200045013129..."} 
[2026-07-27 21:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144313,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa448cf98012d196940071fee200045013129..."} 
[2026-07-27 21:28:10] local.INFO: Processing buffer {"connection_id":144313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa448cf98012d196940071fee200045013129..."} 
[2026-07-27 21:28:10] local.INFO: Packet analysis {"connection_id":144313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa448"} 
[2026-07-27 21:28:10] local.INFO: Extracted packet for processing {"connection_id":144313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa448"} 
[2026-07-27 21:28:10] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":69,"angle":305,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 21:28:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:28:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002844672001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:28:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 21:28:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:28:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:28:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785167663000,"timestamp_ms":1785167663000,"timestamp_seconds":1785167663,"priority":1,"record_length":96,"hex_timestamp":"0000019fa448cf98"} 
[2026-07-27 21:28:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:28:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 21:28:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:28:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:28:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:28:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:28:10] local.INFO: Teltonika packet parsed successfully {"connection_id":144313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:28:10] local.INFO: Passing IMEI to GPS processor {"connection_id":144313,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:28:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":144313,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:28:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:28:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 21:28:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 21:28:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002844672001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 21:28:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 21:28:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 21:28:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002844672001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:28:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 21:28:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 21:28:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:28:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:28:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002844672001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 21:28:10] local.INFO: DEBUG: GPS processor result {"connection_id":144313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555522,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:28:10] local.INFO: GPS data processed {"connection_id":144313,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:28:10] local.INFO: Acknowledgment sent {"connection_id":144313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:28:15] local.INFO: TCP Data received {"connection_id":144313,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa448cf98012d196940071fee200045013129..."} 
[2026-07-27 21:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144313,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa448cf98012d196940071fee200045013129..."} 
[2026-07-27 21:28:15] local.INFO: Processing buffer {"connection_id":144313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa448cf98012d196940071fee200045013129..."} 
[2026-07-27 21:28:15] local.INFO: Packet analysis {"connection_id":144313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa448"} 
[2026-07-27 21:28:15] local.INFO: Extracted packet for processing {"connection_id":144313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa448"} 
[2026-07-27 21:28:15] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":69,"angle":305,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 21:28:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:28:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002844672001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:28:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 21:28:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:28: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-07-27 21:28:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785167663000,"timestamp_ms":1785167663000,"timestamp_seconds":1785167663,"priority":1,"record_length":96,"hex_timestamp":"0000019fa448cf98"} 
[2026-07-27 21:28:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:28:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:28:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 21:28:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:28:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:28:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:28:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:28:15] local.INFO: Teltonika packet parsed successfully {"connection_id":144313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:28:15] local.INFO: Passing IMEI to GPS processor {"connection_id":144313,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:28:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":144313,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:28:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:28:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 21:28:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 21:28:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002844672001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 21:28:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 21:28:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 21:28:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002844672001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:28:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 21:28:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 21:28:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:28:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:28:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002844672001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 21:28:15] local.INFO: DEBUG: GPS processor result {"connection_id":144313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555523,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:28:15] local.INFO: GPS data processed {"connection_id":144313,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:28:15] local.INFO: Acknowledgment sent {"connection_id":144313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:28:31] local.INFO: TCP Data received {"connection_id":144314,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:28:31] local.INFO: Processing buffer {"connection_id":144314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:28:31] local.INFO: IMEI packet received {"connection_id":144314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 21:28:31] local.INFO: IMEI acknowledgment sent {"connection_id":144314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:28:36] local.INFO: TCP Data received {"connection_id":144314,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:28:36] local.INFO: Processing buffer {"connection_id":144314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:28:36] local.INFO: IMEI packet received {"connection_id":144314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 21:28:36] local.INFO: IMEI acknowledgment sent {"connection_id":144314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:28:37] local.INFO: TCP Data received {"connection_id":144314,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fa449f0a8012daae14005ff08a80024001422..."} 
[2026-07-27 21:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144314,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa449f0a8012daae14005ff08a80024001422..."} 
[2026-07-27 21:28:37] local.INFO: Processing buffer {"connection_id":144314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa449f0a8012daae14005ff08a80024001422..."} 
[2026-07-27 21:28:37] local.INFO: Packet analysis {"connection_id":144314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa449"} 
[2026-07-27 21:28:37] local.INFO: Extracted packet for processing {"connection_id":144314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa449"} 
[2026-07-27 21:28:37] local.INFO: GPS Element Parsed {"raw_longitude":766173504,"raw_latitude":100599976,"longitude_deg":76.6173504,"latitude_deg":10.0599976,"altitude":36,"angle":20,"satellites":34,"speed":0,"hex_longitude":"2daae140","hex_latitude":"05ff08a8","is_valid_coordinates":true} 
[2026-07-27 21:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:28:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002863616001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:28:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391576155226112,"note":"Value kept but may cause issues"} 
[2026-07-27 21:28:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133550823004133376,"note":"Value kept but may cause issues"} 
[2026-07-27 21:28:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:28:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785167737000,"timestamp_ms":1785167737000,"timestamp_seconds":1785167737,"priority":1,"record_length":96,"hex_timestamp":"0000019fa449f0a8"} 
[2026-07-27 21:28:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:28:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-27 21:28:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:28:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:28:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:28:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:28:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:28:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:28:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:28:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:28:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:28:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:28:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002863616001,"66":25680,"118":206,"88":20480,"24":0,"16":359391576155226112,"45":-6133550823004133376},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 21:28:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:28:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:28:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002863616001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:28:37] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 21:28:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 21:28:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391576155226112,"km_value":359391576155226.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:28:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133550823004133376,"description":"Unknown IO ID 45"} 
[2026-07-27 21:28:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002863616001,"power":25680,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133550823004133376}} 
[2026-07-27 21:28:37] local.INFO: DEBUG: GPS processor result {"connection_id":144314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:28:37] local.INFO: GPS data processed {"connection_id":144314,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:28:37] local.INFO: Acknowledgment sent {"connection_id":144314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:28:57] local.INFO: TCP Data received {"connection_id":143175,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 21:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143175,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 21:28:57] local.INFO: Processing buffer {"connection_id":143175,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 21:28:57] local.INFO: IMEI packet received {"connection_id":143175,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 21:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":143175,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:28:59] local.INFO: TCP Data received {"connection_id":144315,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144315,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:28:59] local.INFO: Processing buffer {"connection_id":144315,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:28:59] local.INFO: IMEI packet received {"connection_id":144315,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 21:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":144315,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:29:04] local.INFO: TCP Data received {"connection_id":144315,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144315,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:29:04] local.INFO: Processing buffer {"connection_id":144315,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:29:04] local.INFO: IMEI packet received {"connection_id":144315,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 21:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":144315,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:29:05] local.INFO: TCP Data received {"connection_id":144315,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa448cf98012d196940071fee200045013129..."} 
[2026-07-27 21:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa448cf98012d196940071fee200045013129..."} 
[2026-07-27 21:29:05] local.INFO: Processing buffer {"connection_id":144315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa448cf98012d196940071fee200045013129..."} 
[2026-07-27 21:29:05] local.INFO: Packet analysis {"connection_id":144315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa448"} 
[2026-07-27 21:29:05] local.INFO: Extracted packet for processing {"connection_id":144315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa448"} 
[2026-07-27 21:29:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":69,"angle":305,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 21:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:29:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002844672001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:29:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 21:29:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:29:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:29:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785167663000,"timestamp_ms":1785167663000,"timestamp_seconds":1785167663,"priority":1,"record_length":96,"hex_timestamp":"0000019fa448cf98"} 
[2026-07-27 21:29:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:29:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 21:29:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:29:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:29:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:29:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:29:05] local.INFO: Teltonika packet parsed successfully {"connection_id":144315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:29:05] local.INFO: Passing IMEI to GPS processor {"connection_id":144315,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:29:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":144315,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:29:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:29:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 21:29:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 21:29:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002844672001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 21:29:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 21:29:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 21:29:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002844672001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:29:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 21:29:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 21:29:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:29:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:29:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002844672001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 21:29:05] local.INFO: DEBUG: GPS processor result {"connection_id":144315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555525,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:29:05] local.INFO: GPS data processed {"connection_id":144315,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:29:05] local.INFO: Acknowledgment sent {"connection_id":144315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:29:09] local.INFO: TCP Data received {"connection_id":144314,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fa449f0a8012daae14005ff08a80024001422..."} 
[2026-07-27 21:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144314,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa449f0a8012daae14005ff08a80024001422..."} 
[2026-07-27 21:29:09] local.INFO: Processing buffer {"connection_id":144314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa449f0a8012daae14005ff08a80024001422..."} 
[2026-07-27 21:29:09] local.INFO: Packet analysis {"connection_id":144314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa449"} 
[2026-07-27 21:29:09] local.INFO: Extracted packet for processing {"connection_id":144314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa449"} 
[2026-07-27 21:29:09] local.INFO: GPS Element Parsed {"raw_longitude":766173504,"raw_latitude":100599976,"longitude_deg":76.6173504,"latitude_deg":10.0599976,"altitude":36,"angle":20,"satellites":34,"speed":0,"hex_longitude":"2daae140","hex_latitude":"05ff08a8","is_valid_coordinates":true} 
[2026-07-27 21:29:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:29:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002863616001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:29:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391576155226112,"note":"Value kept but may cause issues"} 
[2026-07-27 21:29:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133550823004133376,"note":"Value kept but may cause issues"} 
[2026-07-27 21:29:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:29:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785167737000,"timestamp_ms":1785167737000,"timestamp_seconds":1785167737,"priority":1,"record_length":96,"hex_timestamp":"0000019fa449f0a8"} 
[2026-07-27 21:29:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:29:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:29:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-27 21:29:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:29:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:29:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:29:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:29:09] local.INFO: Teltonika packet parsed successfully {"connection_id":144314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:29:09] local.INFO: Passing IMEI to GPS processor {"connection_id":144314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:29:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":144314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:29:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:29:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:29:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:29:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002863616001,"66":25680,"118":206,"88":20480,"24":0,"16":359391576155226112,"45":-6133550823004133376},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 21:29:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:29:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:29:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002863616001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:29:09] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 21:29:09] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 21:29:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391576155226112,"km_value":359391576155226.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:29:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133550823004133376,"description":"Unknown IO ID 45"} 
[2026-07-27 21:29:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002863616001,"power":25680,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133550823004133376}} 
[2026-07-27 21:29:09] local.INFO: DEBUG: GPS processor result {"connection_id":144314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:29:09] local.INFO: GPS data processed {"connection_id":144314,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:29:09] local.INFO: Acknowledgment sent {"connection_id":144314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:29:31] local.INFO: TCP Data received {"connection_id":143311,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:29:31] local.INFO: Processing buffer {"connection_id":143311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:29:31] local.INFO: IMEI packet received {"connection_id":143311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 21:29:31] local.INFO: IMEI acknowledgment sent {"connection_id":143311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:29:36] local.INFO: TCP Data received {"connection_id":143311,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:29:36] local.INFO: Processing buffer {"connection_id":143311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:29:36] local.INFO: IMEI packet received {"connection_id":143311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 21:29:36] local.INFO: IMEI acknowledgment sent {"connection_id":143311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:29:37] local.INFO: TCP Data received {"connection_id":144315,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa448cf98012d196940071fee200045013129..."} 
[2026-07-27 21:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa448cf98012d196940071fee200045013129..."} 
[2026-07-27 21:29:37] local.INFO: Processing buffer {"connection_id":144315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa448cf98012d196940071fee200045013129..."} 
[2026-07-27 21:29:37] local.INFO: Packet analysis {"connection_id":144315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa448"} 
[2026-07-27 21:29:37] local.INFO: Extracted packet for processing {"connection_id":144315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa448"} 
[2026-07-27 21:29:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":69,"angle":305,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 21:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002844672001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:29:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 21:29:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:29:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:29:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785167663000,"timestamp_ms":1785167663000,"timestamp_seconds":1785167663,"priority":1,"record_length":96,"hex_timestamp":"0000019fa448cf98"} 
[2026-07-27 21:29:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:29:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 21:29:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:29:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:29:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:29:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:29:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:29:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144315,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:29:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144315,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:29:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:29:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 21:29:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 21:29:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002844672001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 21:29:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 21:29:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 21:29:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002844672001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:29:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 21:29:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 21:29:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:29:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:29:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002844672001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 21:29:37] local.INFO: DEBUG: GPS processor result {"connection_id":144315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555527,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:29:37] local.INFO: GPS data processed {"connection_id":144315,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:29:37] local.INFO: Acknowledgment sent {"connection_id":144315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:29:37] local.INFO: TCP Data received {"connection_id":143311,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fa449f0a8012daae14005ff08a80024001422..."} 
[2026-07-27 21:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143311,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa449f0a8012daae14005ff08a80024001422..."} 
[2026-07-27 21:29:37] local.INFO: Processing buffer {"connection_id":143311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa449f0a8012daae14005ff08a80024001422..."} 
[2026-07-27 21:29:37] local.INFO: Packet analysis {"connection_id":143311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa449"} 
[2026-07-27 21:29:37] local.INFO: Extracted packet for processing {"connection_id":143311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa449"} 
[2026-07-27 21:29:37] local.INFO: GPS Element Parsed {"raw_longitude":766173504,"raw_latitude":100599976,"longitude_deg":76.6173504,"latitude_deg":10.0599976,"altitude":36,"angle":20,"satellites":34,"speed":0,"hex_longitude":"2daae140","hex_latitude":"05ff08a8","is_valid_coordinates":true} 
[2026-07-27 21:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002863616001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:29:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391576155226112,"note":"Value kept but may cause issues"} 
[2026-07-27 21:29:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133550823004133376,"note":"Value kept but may cause issues"} 
[2026-07-27 21:29:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:29:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785167737000,"timestamp_ms":1785167737000,"timestamp_seconds":1785167737,"priority":1,"record_length":96,"hex_timestamp":"0000019fa449f0a8"} 
[2026-07-27 21:29:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:29:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-27 21:29:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:29:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:29:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:29:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:29:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:29:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:29:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:29:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:29:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:29:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:29:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002863616001,"66":25680,"118":206,"88":20480,"24":0,"16":359391576155226112,"45":-6133550823004133376},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 21:29:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:29:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:29:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002863616001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:29:37] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 21:29:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 21:29:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391576155226112,"km_value":359391576155226.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:29:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133550823004133376,"description":"Unknown IO ID 45"} 
[2026-07-27 21:29:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002863616001,"power":25680,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133550823004133376}} 
[2026-07-27 21:29:37] local.INFO: DEBUG: GPS processor result {"connection_id":143311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:29:37] local.INFO: GPS data processed {"connection_id":143311,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:29:37] local.INFO: Acknowledgment sent {"connection_id":143311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:29:59] local.INFO: TCP Data received {"connection_id":145590,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145590,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:29:59] local.INFO: Processing buffer {"connection_id":145590,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:29:59] local.INFO: IMEI packet received {"connection_id":145590,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 21:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":145590,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:30:02] local.INFO: TCP Data received {"connection_id":145590,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145590,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:30:02] local.INFO: Processing buffer {"connection_id":145590,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:30:02] local.INFO: IMEI packet received {"connection_id":145590,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 21:30:02] local.INFO: IMEI acknowledgment sent {"connection_id":145590,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:30:03] local.INFO: TCP Data received {"connection_id":145590,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa44d6760012d196940071fee20004501312c..."} 
[2026-07-27 21:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145590,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa44d6760012d196940071fee20004501312c..."} 
[2026-07-27 21:30:03] local.INFO: Processing buffer {"connection_id":145590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa44d6760012d196940071fee20004501312c..."} 
[2026-07-27 21:30:03] local.INFO: Packet analysis {"connection_id":145590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa44d"} 
[2026-07-27 21:30:03] local.INFO: Extracted packet for processing {"connection_id":145590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa44d"} 
[2026-07-27 21:30:03] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":69,"angle":305,"satellites":44,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 21:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:30:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002921728001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:30:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 21:30:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:30:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:30:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785167964000,"timestamp_ms":1785167964000,"timestamp_seconds":1785167964,"priority":1,"record_length":96,"hex_timestamp":"0000019fa44d6760"} 
[2026-07-27 21:30:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:30:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 21:30:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:30:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:30:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:30:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:30:03] local.INFO: Teltonika packet parsed successfully {"connection_id":145590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:30:03] local.INFO: Passing IMEI to GPS processor {"connection_id":145590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:30:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":145590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:30:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:30:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 21:30:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 21:30:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002921728001,"66":2144,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 21:30:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 21:30:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 21:30:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002921728001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:30:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 21:30:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 21:30:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:30:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:30:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002921728001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 21:30:03] local.INFO: DEBUG: GPS processor result {"connection_id":145590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555529,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:30:03] local.INFO: GPS data processed {"connection_id":145590,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:30:03] local.INFO: Acknowledgment sent {"connection_id":145590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:30:08] local.INFO: TCP Data received {"connection_id":143311,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fa449f0a8012daae14005ff08a80024001422..."} 
[2026-07-27 21:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143311,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa449f0a8012daae14005ff08a80024001422..."} 
[2026-07-27 21:30:08] local.INFO: Processing buffer {"connection_id":143311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa449f0a8012daae14005ff08a80024001422..."} 
[2026-07-27 21:30:08] local.INFO: Packet analysis {"connection_id":143311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa449"} 
[2026-07-27 21:30:08] local.INFO: Extracted packet for processing {"connection_id":143311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa449"} 
[2026-07-27 21:30:08] local.INFO: GPS Element Parsed {"raw_longitude":766173504,"raw_latitude":100599976,"longitude_deg":76.6173504,"latitude_deg":10.0599976,"altitude":36,"angle":20,"satellites":34,"speed":0,"hex_longitude":"2daae140","hex_latitude":"05ff08a8","is_valid_coordinates":true} 
[2026-07-27 21:30:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:30:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002863616001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:30:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391576155226112,"note":"Value kept but may cause issues"} 
[2026-07-27 21:30:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133550823004133376,"note":"Value kept but may cause issues"} 
[2026-07-27 21:30:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:30:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785167737000,"timestamp_ms":1785167737000,"timestamp_seconds":1785167737,"priority":1,"record_length":96,"hex_timestamp":"0000019fa449f0a8"} 
[2026-07-27 21:30:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:30:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:30:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-27 21:30:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:30:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:30:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:30:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:30:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:30:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:30:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:30:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:30:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:30:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:30:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002863616001,"66":25680,"118":206,"88":20480,"24":0,"16":359391576155226112,"45":-6133550823004133376},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 21:30:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:30:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:30:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002863616001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:30:08] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 21:30:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 21:30:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391576155226112,"km_value":359391576155226.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:30:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133550823004133376,"description":"Unknown IO ID 45"} 
[2026-07-27 21:30:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002863616001,"power":25680,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133550823004133376}} 
[2026-07-27 21:30:08] local.INFO: DEBUG: GPS processor result {"connection_id":143311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:30:08] local.INFO: GPS data processed {"connection_id":143311,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:30:08] local.INFO: Acknowledgment sent {"connection_id":143311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:30:34] local.INFO: TCP Data received {"connection_id":145590,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa44d6760012d196940071fee20004501312c..."} 
[2026-07-27 21:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145590,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa44d6760012d196940071fee20004501312c..."} 
[2026-07-27 21:30:34] local.INFO: Processing buffer {"connection_id":145590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa44d6760012d196940071fee20004501312c..."} 
[2026-07-27 21:30:34] local.INFO: Packet analysis {"connection_id":145590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa44d"} 
[2026-07-27 21:30:34] local.INFO: Extracted packet for processing {"connection_id":145590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa44d"} 
[2026-07-27 21:30:34] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":69,"angle":305,"satellites":44,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 21: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-07-27 21:30:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002921728001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:30:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 21:30:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:30:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:30:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785167964000,"timestamp_ms":1785167964000,"timestamp_seconds":1785167964,"priority":1,"record_length":96,"hex_timestamp":"0000019fa44d6760"} 
[2026-07-27 21:30:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:30:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:30:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 21:30:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:30:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:30:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:30:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:30:34] local.INFO: Teltonika packet parsed successfully {"connection_id":145590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:30:34] local.INFO: Passing IMEI to GPS processor {"connection_id":145590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:30:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":145590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:30:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:30:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 21:30:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 21:30:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002921728001,"66":2144,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 21:30:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 21:30:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 21:30:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002921728001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:30:34] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 21:30:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 21:30:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:30:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:30:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002921728001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 21:30:34] local.INFO: DEBUG: GPS processor result {"connection_id":145590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555531,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:30:34] local.INFO: GPS data processed {"connection_id":145590,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:30:34] local.INFO: Acknowledgment sent {"connection_id":145590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:30:36] local.INFO: TCP Data received {"connection_id":144316,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:30:36] local.INFO: Processing buffer {"connection_id":144316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:30:36] local.INFO: IMEI packet received {"connection_id":144316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 21:30:36] local.INFO: IMEI acknowledgment sent {"connection_id":144316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:30:41] local.INFO: TCP Data received {"connection_id":144316,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:30:41] local.INFO: Processing buffer {"connection_id":144316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:30:41] local.INFO: IMEI packet received {"connection_id":144316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 21:30:41] local.INFO: IMEI acknowledgment sent {"connection_id":144316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:30:42] local.INFO: TCP Data received {"connection_id":144316,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fa449f0a8012daae14005ff08a80024001422..."} 
[2026-07-27 21:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa449f0a8012daae14005ff08a80024001422..."} 
[2026-07-27 21:30:42] local.INFO: Processing buffer {"connection_id":144316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa449f0a8012daae14005ff08a80024001422..."} 
[2026-07-27 21:30:42] local.INFO: Packet analysis {"connection_id":144316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa449"} 
[2026-07-27 21:30:42] local.INFO: Extracted packet for processing {"connection_id":144316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa449"} 
[2026-07-27 21:30:42] local.INFO: GPS Element Parsed {"raw_longitude":766173504,"raw_latitude":100599976,"longitude_deg":76.6173504,"latitude_deg":10.0599976,"altitude":36,"angle":20,"satellites":34,"speed":0,"hex_longitude":"2daae140","hex_latitude":"05ff08a8","is_valid_coordinates":true} 
[2026-07-27 21: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-07-27 21:30:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002863616001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:30:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391576155226112,"note":"Value kept but may cause issues"} 
[2026-07-27 21:30:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133550823004133376,"note":"Value kept but may cause issues"} 
[2026-07-27 21:30:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:30:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785167737000,"timestamp_ms":1785167737000,"timestamp_seconds":1785167737,"priority":1,"record_length":96,"hex_timestamp":"0000019fa449f0a8"} 
[2026-07-27 21:30:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:30:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-27 21:30:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21: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-07-27 21:30:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:30:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:30:42] local.INFO: Teltonika packet parsed successfully {"connection_id":144316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:30:42] local.INFO: Passing IMEI to GPS processor {"connection_id":144316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:30:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":144316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:30:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:30:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:30:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:30:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002863616001,"66":25680,"118":206,"88":20480,"24":0,"16":359391576155226112,"45":-6133550823004133376},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 21:30:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:30:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:30:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002863616001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:30:42] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 21:30:42] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 21:30:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391576155226112,"km_value":359391576155226.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:30:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133550823004133376,"description":"Unknown IO ID 45"} 
[2026-07-27 21:30:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002863616001,"power":25680,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133550823004133376}} 
[2026-07-27 21:30:42] local.INFO: DEBUG: GPS processor result {"connection_id":144316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:30:42] local.INFO: GPS data processed {"connection_id":144316,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:30:42] local.INFO: Acknowledgment sent {"connection_id":144316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:30:46] local.INFO: TCP Data received {"connection_id":144316,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fa449f0a8012daae14005ff08a80024001422..."} 
[2026-07-27 21:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa449f0a8012daae14005ff08a80024001422..."} 
[2026-07-27 21:30:46] local.INFO: Processing buffer {"connection_id":144316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa449f0a8012daae14005ff08a80024001422..."} 
[2026-07-27 21:30:46] local.INFO: Packet analysis {"connection_id":144316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa449"} 
[2026-07-27 21:30:46] local.INFO: Extracted packet for processing {"connection_id":144316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa449"} 
[2026-07-27 21:30:46] local.INFO: GPS Element Parsed {"raw_longitude":766173504,"raw_latitude":100599976,"longitude_deg":76.6173504,"latitude_deg":10.0599976,"altitude":36,"angle":20,"satellites":34,"speed":0,"hex_longitude":"2daae140","hex_latitude":"05ff08a8","is_valid_coordinates":true} 
[2026-07-27 21:30:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:30:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002863616001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:30:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391576155226112,"note":"Value kept but may cause issues"} 
[2026-07-27 21:30:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133550823004133376,"note":"Value kept but may cause issues"} 
[2026-07-27 21:30:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:30:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785167737000,"timestamp_ms":1785167737000,"timestamp_seconds":1785167737,"priority":1,"record_length":96,"hex_timestamp":"0000019fa449f0a8"} 
[2026-07-27 21:30:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:30:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:30:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-27 21:30:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:30:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:30:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:30:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:30:46] local.INFO: Teltonika packet parsed successfully {"connection_id":144316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:30:46] local.INFO: Passing IMEI to GPS processor {"connection_id":144316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:30:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":144316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:30:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:30:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:30:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:30:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002863616001,"66":25680,"118":206,"88":20480,"24":0,"16":359391576155226112,"45":-6133550823004133376},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 21:30:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:30:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:30:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002863616001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:30:46] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 21:30:46] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 21:30:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391576155226112,"km_value":359391576155226.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:30:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133550823004133376,"description":"Unknown IO ID 45"} 
[2026-07-27 21:30:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002863616001,"power":25680,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133550823004133376}} 
[2026-07-27 21:30:46] local.INFO: DEBUG: GPS processor result {"connection_id":144316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:30:46] local.INFO: GPS data processed {"connection_id":144316,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:30:46] local.INFO: Acknowledgment sent {"connection_id":144316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:30:59] local.INFO: TCP Data received {"connection_id":144317,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144317,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:30:59] local.INFO: Processing buffer {"connection_id":144317,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:30:59] local.INFO: IMEI packet received {"connection_id":144317,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 21:30:59] local.INFO: IMEI acknowledgment sent {"connection_id":144317,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:31:04] local.INFO: TCP Data received {"connection_id":144317,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144317,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:31:04] local.INFO: Processing buffer {"connection_id":144317,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:31:04] local.INFO: IMEI packet received {"connection_id":144317,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 21:31:04] local.INFO: IMEI acknowledgment sent {"connection_id":144317,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:31:05] local.INFO: TCP Data received {"connection_id":144317,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa44d6760012d196940071fee20004501312c..."} 
[2026-07-27 21:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144317,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa44d6760012d196940071fee20004501312c..."} 
[2026-07-27 21:31:05] local.INFO: Processing buffer {"connection_id":144317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa44d6760012d196940071fee20004501312c..."} 
[2026-07-27 21:31:05] local.INFO: Packet analysis {"connection_id":144317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa44d"} 
[2026-07-27 21:31:05] local.INFO: Extracted packet for processing {"connection_id":144317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa44d"} 
[2026-07-27 21:31:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":69,"angle":305,"satellites":44,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 21:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:31:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002921728001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:31:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 21:31:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:31:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:31:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785167964000,"timestamp_ms":1785167964000,"timestamp_seconds":1785167964,"priority":1,"record_length":96,"hex_timestamp":"0000019fa44d6760"} 
[2026-07-27 21:31:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:31:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 21:31:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:31:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:31:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:31:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:31:05] local.INFO: Teltonika packet parsed successfully {"connection_id":144317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:31:05] local.INFO: Passing IMEI to GPS processor {"connection_id":144317,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:31:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":144317,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:31:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:31:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 21:31:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 21:31:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002921728001,"66":2144,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 21:31:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 21:31:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 21:31:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002921728001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:31:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 21:31:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 21:31:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:31:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:31:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002921728001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 21:31:05] local.INFO: DEBUG: GPS processor result {"connection_id":144317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555534,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:31:05] local.INFO: GPS data processed {"connection_id":144317,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:31:05] local.INFO: Acknowledgment sent {"connection_id":144317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:31:31] local.INFO: TCP Data received {"connection_id":144318,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:31:31] local.INFO: Processing buffer {"connection_id":144318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:31:31] local.INFO: IMEI packet received {"connection_id":144318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 21:31:31] local.INFO: IMEI acknowledgment sent {"connection_id":144318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:31:36] local.INFO: TCP Data received {"connection_id":144318,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:31:36] local.INFO: Processing buffer {"connection_id":144318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:31:36] local.INFO: IMEI packet received {"connection_id":144318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 21:31:36] local.INFO: IMEI acknowledgment sent {"connection_id":144318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:31:37] local.INFO: TCP Data received {"connection_id":144318,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa44e8870012daae14005ff08a80024001420..."} 
[2026-07-27 21:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa44e8870012daae14005ff08a80024001420..."} 
[2026-07-27 21:31:37] local.INFO: Processing buffer {"connection_id":144318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa44e8870012daae14005ff08a80024001420..."} 
[2026-07-27 21:31:37] local.INFO: Packet analysis {"connection_id":144318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa44e"} 
[2026-07-27 21:31:37] local.INFO: Extracted packet for processing {"connection_id":144318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa44e"} 
[2026-07-27 21:31:37] local.INFO: GPS Element Parsed {"raw_longitude":766173504,"raw_latitude":100599976,"longitude_deg":76.6173504,"latitude_deg":10.0599976,"altitude":36,"angle":20,"satellites":32,"speed":0,"hex_longitude":"2daae140","hex_latitude":"05ff08a8","is_valid_coordinates":true} 
[2026-07-27 21:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:31:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002940672001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:31:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391576155226112,"note":"Value kept but may cause issues"} 
[2026-07-27 21:31:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133550823004133376,"note":"Value kept but may cause issues"} 
[2026-07-27 21:31:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:31:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785168038000,"timestamp_ms":1785168038000,"timestamp_seconds":1785168038,"priority":1,"record_length":96,"hex_timestamp":"0000019fa44e8870"} 
[2026-07-27 21:31:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:31:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-27 21:31:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:31:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:31:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:31:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:31:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:31:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:31:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:31:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:31:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:31:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:31:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002940672001,"66":25615,"118":206,"88":20480,"24":0,"16":359391576155226112,"45":-6133550823004133376},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 21:31:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:31:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:31:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002940672001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:31:37] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 21:31:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 21:31:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391576155226112,"km_value":359391576155226.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:31:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133550823004133376,"description":"Unknown IO ID 45"} 
[2026-07-27 21:31:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002940672001,"power":25615,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133550823004133376}} 
[2026-07-27 21:31:37] local.INFO: DEBUG: GPS processor result {"connection_id":144318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:31:37] local.INFO: GPS data processed {"connection_id":144318,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:31:37] local.INFO: Acknowledgment sent {"connection_id":144318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:31:37] local.INFO: TCP Data received {"connection_id":144317,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa44d6760012d196940071fee20004501312c..."} 
[2026-07-27 21:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144317,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa44d6760012d196940071fee20004501312c..."} 
[2026-07-27 21:31:37] local.INFO: Processing buffer {"connection_id":144317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa44d6760012d196940071fee20004501312c..."} 
[2026-07-27 21:31:37] local.INFO: Packet analysis {"connection_id":144317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa44d"} 
[2026-07-27 21:31:37] local.INFO: Extracted packet for processing {"connection_id":144317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa44d"} 
[2026-07-27 21:31:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":69,"angle":305,"satellites":44,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 21:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:31:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002921728001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:31:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 21:31:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:31:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:31:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785167964000,"timestamp_ms":1785167964000,"timestamp_seconds":1785167964,"priority":1,"record_length":96,"hex_timestamp":"0000019fa44d6760"} 
[2026-07-27 21:31:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:31:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 21:31:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:31:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:31:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:31:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:31:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:31:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144317,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:31:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144317,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:31:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:31:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 21:31:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 21:31:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002921728001,"66":2144,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 21:31:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 21:31:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 21:31:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002921728001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:31:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 21:31:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 21:31:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:31:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:31:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002921728001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 21:31:37] local.INFO: DEBUG: GPS processor result {"connection_id":144317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555536,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:31:37] local.INFO: GPS data processed {"connection_id":144317,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:31:37] local.INFO: Acknowledgment sent {"connection_id":144317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:31:59] local.INFO: TCP Data received {"connection_id":143312,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143312,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:31:59] local.INFO: Processing buffer {"connection_id":143312,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:31:59] local.INFO: IMEI packet received {"connection_id":143312,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 21:31:59] local.INFO: IMEI acknowledgment sent {"connection_id":143312,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:32:04] local.INFO: TCP Data received {"connection_id":143312,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143312,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:32:04] local.INFO: Processing buffer {"connection_id":143312,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:32:04] local.INFO: IMEI packet received {"connection_id":143312,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 21:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":143312,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:32:05] local.INFO: TCP Data received {"connection_id":143312,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa44d6760012d196940071fee20004501312c..."} 
[2026-07-27 21:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa44d6760012d196940071fee20004501312c..."} 
[2026-07-27 21:32:05] local.INFO: Processing buffer {"connection_id":143312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa44d6760012d196940071fee20004501312c..."} 
[2026-07-27 21:32:05] local.INFO: Packet analysis {"connection_id":143312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa44d"} 
[2026-07-27 21:32:05] local.INFO: Extracted packet for processing {"connection_id":143312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa44d"} 
[2026-07-27 21:32:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":69,"angle":305,"satellites":44,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 21:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:32:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002921728001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:32:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 21:32:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:32:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:32:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785167964000,"timestamp_ms":1785167964000,"timestamp_seconds":1785167964,"priority":1,"record_length":96,"hex_timestamp":"0000019fa44d6760"} 
[2026-07-27 21:32:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:32:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 21:32:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:32:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:32:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:32:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:32:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:32:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:32:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:32:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:32:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 21:32:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 21:32:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002921728001,"66":2144,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 21:32:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 21:32:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 21:32:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002921728001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:32:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 21:32:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 21:32:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:32:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:32:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002921728001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 21:32:05] local.INFO: DEBUG: GPS processor result {"connection_id":143312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555537,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:32:05] local.INFO: GPS data processed {"connection_id":143312,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:32:05] local.INFO: Acknowledgment sent {"connection_id":143312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:32:08] local.INFO: TCP Data received {"connection_id":144318,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fa44e8870012daae14005ff08a80024001420..."} 
[2026-07-27 21:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa44e8870012daae14005ff08a80024001420..."} 
[2026-07-27 21:32:08] local.INFO: Processing buffer {"connection_id":144318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa44e8870012daae14005ff08a80024001420..."} 
[2026-07-27 21:32:08] local.INFO: Packet analysis {"connection_id":144318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa44e"} 
[2026-07-27 21:32:08] local.INFO: Extracted packet for processing {"connection_id":144318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa44e"} 
[2026-07-27 21:32:08] local.INFO: GPS Element Parsed {"raw_longitude":766173504,"raw_latitude":100599976,"longitude_deg":76.6173504,"latitude_deg":10.0599976,"altitude":36,"angle":20,"satellites":32,"speed":0,"hex_longitude":"2daae140","hex_latitude":"05ff08a8","is_valid_coordinates":true} 
[2026-07-27 21:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:32:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002940672001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:32:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391576155226112,"note":"Value kept but may cause issues"} 
[2026-07-27 21:32:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133550823004133376,"note":"Value kept but may cause issues"} 
[2026-07-27 21:32:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:32:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785168038000,"timestamp_ms":1785168038000,"timestamp_seconds":1785168038,"priority":1,"record_length":96,"hex_timestamp":"0000019fa44e8870"} 
[2026-07-27 21:32:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:32:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-27 21:32:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:32:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:32:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:32:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:32:08] local.INFO: Teltonika packet parsed successfully {"connection_id":144318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:32:08] local.INFO: Passing IMEI to GPS processor {"connection_id":144318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:32:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":144318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:32:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:32:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:32:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:32:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002940672001,"66":25615,"118":206,"88":20480,"24":0,"16":359391576155226112,"45":-6133550823004133376},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 21:32:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:32:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:32:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002940672001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:32:08] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 21:32:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 21:32:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391576155226112,"km_value":359391576155226.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:32:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133550823004133376,"description":"Unknown IO ID 45"} 
[2026-07-27 21:32:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002940672001,"power":25615,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133550823004133376}} 
[2026-07-27 21:32:08] local.INFO: DEBUG: GPS processor result {"connection_id":144318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:32:08] local.INFO: GPS data processed {"connection_id":144318,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:32:08] local.INFO: Acknowledgment sent {"connection_id":144318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:32:31] local.INFO: TCP Data received {"connection_id":143177,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:32:31] local.INFO: Processing buffer {"connection_id":143177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:32:31] local.INFO: IMEI packet received {"connection_id":143177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 21:32:31] local.INFO: IMEI acknowledgment sent {"connection_id":143177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:32:36] local.INFO: TCP Data received {"connection_id":143177,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:32:36] local.INFO: Processing buffer {"connection_id":143177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:32:36] local.INFO: IMEI packet received {"connection_id":143177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 21:32:36] local.INFO: IMEI acknowledgment sent {"connection_id":143177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:32:37] local.INFO: TCP Data received {"connection_id":143177,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fa44e8870012daae14005ff08a80024001420..."} 
[2026-07-27 21:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143177,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa44e8870012daae14005ff08a80024001420..."} 
[2026-07-27 21:32:37] local.INFO: Processing buffer {"connection_id":143177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa44e8870012daae14005ff08a80024001420..."} 
[2026-07-27 21:32:37] local.INFO: Packet analysis {"connection_id":143177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa44e"} 
[2026-07-27 21:32:37] local.INFO: Extracted packet for processing {"connection_id":143177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa44e"} 
[2026-07-27 21:32:37] local.INFO: GPS Element Parsed {"raw_longitude":766173504,"raw_latitude":100599976,"longitude_deg":76.6173504,"latitude_deg":10.0599976,"altitude":36,"angle":20,"satellites":32,"speed":0,"hex_longitude":"2daae140","hex_latitude":"05ff08a8","is_valid_coordinates":true} 
[2026-07-27 21:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:32:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002940672001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:32:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391576155226112,"note":"Value kept but may cause issues"} 
[2026-07-27 21:32:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133550823004133376,"note":"Value kept but may cause issues"} 
[2026-07-27 21:32:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:32:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785168038000,"timestamp_ms":1785168038000,"timestamp_seconds":1785168038,"priority":1,"record_length":96,"hex_timestamp":"0000019fa44e8870"} 
[2026-07-27 21:32:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:32:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-27 21:32:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:32:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:32:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:32:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:32:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:32:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:32:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:32:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:32:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:32:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:32:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002940672001,"66":25615,"118":206,"88":20480,"24":0,"16":359391576155226112,"45":-6133550823004133376},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 21:32:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:32:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:32:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002940672001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:32:37] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 21:32:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 21:32:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391576155226112,"km_value":359391576155226.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:32:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133550823004133376,"description":"Unknown IO ID 45"} 
[2026-07-27 21:32:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002940672001,"power":25615,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133550823004133376}} 
[2026-07-27 21:32:37] local.INFO: DEBUG: GPS processor result {"connection_id":143177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:32:37] local.INFO: GPS data processed {"connection_id":143177,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:32:37] local.INFO: Acknowledgment sent {"connection_id":143177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:32:37] local.INFO: TCP Data received {"connection_id":143312,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa44d6760012d196940071fee20004501312c..."} 
[2026-07-27 21:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa44d6760012d196940071fee20004501312c..."} 
[2026-07-27 21:32:37] local.INFO: Processing buffer {"connection_id":143312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa44d6760012d196940071fee20004501312c..."} 
[2026-07-27 21:32:37] local.INFO: Packet analysis {"connection_id":143312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa44d"} 
[2026-07-27 21:32:37] local.INFO: Extracted packet for processing {"connection_id":143312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa44d"} 
[2026-07-27 21:32:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":69,"angle":305,"satellites":44,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 21:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:32:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002921728001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:32:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 21:32:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:32:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:32:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785167964000,"timestamp_ms":1785167964000,"timestamp_seconds":1785167964,"priority":1,"record_length":96,"hex_timestamp":"0000019fa44d6760"} 
[2026-07-27 21:32:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:32:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 21:32:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:32:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:32:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:32:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:32:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:32:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:32:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:32:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:32:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 21:32:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 21:32:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002921728001,"66":2144,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 21:32:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 21:32:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 21:32:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002921728001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:32:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 21:32:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 21:32:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:32:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:32:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002921728001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 21:32:37] local.INFO: DEBUG: GPS processor result {"connection_id":143312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555540,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:32:37] local.INFO: GPS data processed {"connection_id":143312,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:32:37] local.INFO: Acknowledgment sent {"connection_id":143312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:33:04] local.INFO: TCP Data received {"connection_id":145591,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145591,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:33:04] local.INFO: Processing buffer {"connection_id":145591,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:33:04] local.INFO: IMEI packet received {"connection_id":145591,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 21:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":145591,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:33:08] local.INFO: TCP Data received {"connection_id":143177,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fa44e8870012daae14005ff08a80024001420..."} 
[2026-07-27 21:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143177,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa44e8870012daae14005ff08a80024001420..."} 
[2026-07-27 21:33:08] local.INFO: Processing buffer {"connection_id":143177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa44e8870012daae14005ff08a80024001420..."} 
[2026-07-27 21:33:08] local.INFO: Packet analysis {"connection_id":143177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa44e"} 
[2026-07-27 21:33:08] local.INFO: Extracted packet for processing {"connection_id":143177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa44e"} 
[2026-07-27 21:33:08] local.INFO: GPS Element Parsed {"raw_longitude":766173504,"raw_latitude":100599976,"longitude_deg":76.6173504,"latitude_deg":10.0599976,"altitude":36,"angle":20,"satellites":32,"speed":0,"hex_longitude":"2daae140","hex_latitude":"05ff08a8","is_valid_coordinates":true} 
[2026-07-27 21:33:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:33:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002940672001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:33:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391576155226112,"note":"Value kept but may cause issues"} 
[2026-07-27 21:33:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133550823004133376,"note":"Value kept but may cause issues"} 
[2026-07-27 21:33:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:33:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785168038000,"timestamp_ms":1785168038000,"timestamp_seconds":1785168038,"priority":1,"record_length":96,"hex_timestamp":"0000019fa44e8870"} 
[2026-07-27 21:33:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:33:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-27 21:33:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:33:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:33:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:33:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:33:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:33:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:33:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:33:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:33:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:33:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:33:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002940672001,"66":25615,"118":206,"88":20480,"24":0,"16":359391576155226112,"45":-6133550823004133376},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 21:33:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:33:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:33:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002940672001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:33:08] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 21:33:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 21:33:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391576155226112,"km_value":359391576155226.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:33:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133550823004133376,"description":"Unknown IO ID 45"} 
[2026-07-27 21:33:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002940672001,"power":25615,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133550823004133376}} 
[2026-07-27 21:33:08] local.INFO: DEBUG: GPS processor result {"connection_id":143177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:33:08] local.INFO: GPS data processed {"connection_id":143177,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:33:08] local.INFO: Acknowledgment sent {"connection_id":143177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:33:09] local.INFO: TCP Data received {"connection_id":145591,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145591,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:33:09] local.INFO: Processing buffer {"connection_id":145591,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:33:09] local.INFO: IMEI packet received {"connection_id":145591,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 21:33:09] local.INFO: IMEI acknowledgment sent {"connection_id":145591,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:33:10] local.INFO: TCP Data received {"connection_id":145591,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa44d6760012d196940071fee20004501312c..."} 
[2026-07-27 21:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa44d6760012d196940071fee20004501312c..."} 
[2026-07-27 21:33:10] local.INFO: Processing buffer {"connection_id":145591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa44d6760012d196940071fee20004501312c..."} 
[2026-07-27 21:33:10] local.INFO: Packet analysis {"connection_id":145591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa44d"} 
[2026-07-27 21:33:10] local.INFO: Extracted packet for processing {"connection_id":145591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa44d"} 
[2026-07-27 21:33:10] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":69,"angle":305,"satellites":44,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 21:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:33:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002921728001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:33:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 21:33:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:33:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:33:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785167964000,"timestamp_ms":1785167964000,"timestamp_seconds":1785167964,"priority":1,"record_length":96,"hex_timestamp":"0000019fa44d6760"} 
[2026-07-27 21:33:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:33:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 21:33:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:33:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:33:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:33:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:33:10] local.INFO: Teltonika packet parsed successfully {"connection_id":145591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:33:10] local.INFO: Passing IMEI to GPS processor {"connection_id":145591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:33:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":145591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:33:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:33:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 21:33:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 21:33:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002921728001,"66":2144,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 21:33:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 21:33:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 21:33:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002921728001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:33:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 21:33:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 21:33:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:33:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:33:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002921728001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 21:33:10] local.INFO: DEBUG: GPS processor result {"connection_id":145591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555542,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:33:10] local.INFO: GPS data processed {"connection_id":145591,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:33:10] local.INFO: Acknowledgment sent {"connection_id":145591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:33:15] local.INFO: TCP Data received {"connection_id":145591,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa44d6760012d196940071fee20004501312c..."} 
[2026-07-27 21:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa44d6760012d196940071fee20004501312c..."} 
[2026-07-27 21:33:15] local.INFO: Processing buffer {"connection_id":145591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa44d6760012d196940071fee20004501312c..."} 
[2026-07-27 21:33:15] local.INFO: Packet analysis {"connection_id":145591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa44d"} 
[2026-07-27 21:33:15] local.INFO: Extracted packet for processing {"connection_id":145591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa44d"} 
[2026-07-27 21:33:15] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":69,"angle":305,"satellites":44,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 21: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-07-27 21:33:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002921728001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:33:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 21:33:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:33: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-07-27 21:33:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785167964000,"timestamp_ms":1785167964000,"timestamp_seconds":1785167964,"priority":1,"record_length":96,"hex_timestamp":"0000019fa44d6760"} 
[2026-07-27 21:33:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:33:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 21:33:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21: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-07-27 21:33:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:33:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:33:15] local.INFO: Teltonika packet parsed successfully {"connection_id":145591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:33:15] local.INFO: Passing IMEI to GPS processor {"connection_id":145591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:33:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":145591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:33:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:33:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 21:33:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 21:33:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002921728001,"66":2144,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 21:33:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 21:33:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 21:33:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002921728001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:33:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 21:33:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 21:33:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:33:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:33:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002921728001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 21:33:15] local.INFO: DEBUG: GPS processor result {"connection_id":145591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555543,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:33:15] local.INFO: GPS data processed {"connection_id":145591,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:33:15] local.INFO: Acknowledgment sent {"connection_id":145591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:33:31] local.INFO: TCP Data received {"connection_id":143313,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:33:31] local.INFO: Processing buffer {"connection_id":143313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:33:31] local.INFO: IMEI packet received {"connection_id":143313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 21:33:31] local.INFO: IMEI acknowledgment sent {"connection_id":143313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:33:36] local.INFO: TCP Data received {"connection_id":143313,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:33:36] local.INFO: Processing buffer {"connection_id":143313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:33:36] local.INFO: IMEI packet received {"connection_id":143313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 21:33:36] local.INFO: IMEI acknowledgment sent {"connection_id":143313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:33:37] local.INFO: TCP Data received {"connection_id":143313,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fa44e8870012daae14005ff08a80024001420..."} 
[2026-07-27 21:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143313,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa44e8870012daae14005ff08a80024001420..."} 
[2026-07-27 21:33:37] local.INFO: Processing buffer {"connection_id":143313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa44e8870012daae14005ff08a80024001420..."} 
[2026-07-27 21:33:37] local.INFO: Packet analysis {"connection_id":143313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa44e"} 
[2026-07-27 21:33:37] local.INFO: Extracted packet for processing {"connection_id":143313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa44e"} 
[2026-07-27 21:33:37] local.INFO: GPS Element Parsed {"raw_longitude":766173504,"raw_latitude":100599976,"longitude_deg":76.6173504,"latitude_deg":10.0599976,"altitude":36,"angle":20,"satellites":32,"speed":0,"hex_longitude":"2daae140","hex_latitude":"05ff08a8","is_valid_coordinates":true} 
[2026-07-27 21:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:33:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002940672001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:33:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391576155226112,"note":"Value kept but may cause issues"} 
[2026-07-27 21:33:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133550823004133376,"note":"Value kept but may cause issues"} 
[2026-07-27 21:33:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:33:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785168038000,"timestamp_ms":1785168038000,"timestamp_seconds":1785168038,"priority":1,"record_length":96,"hex_timestamp":"0000019fa44e8870"} 
[2026-07-27 21:33:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:33:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-27 21:33:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:33:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:33:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:33:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:33:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:33:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:33:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:33:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:33:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:33:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:33:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002940672001,"66":25615,"118":206,"88":20480,"24":0,"16":359391576155226112,"45":-6133550823004133376},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 21:33:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:33:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:33:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002940672001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:33:37] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 21:33:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 21:33:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391576155226112,"km_value":359391576155226.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:33:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133550823004133376,"description":"Unknown IO ID 45"} 
[2026-07-27 21:33:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002940672001,"power":25615,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133550823004133376}} 
[2026-07-27 21:33:37] local.INFO: DEBUG: GPS processor result {"connection_id":143313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:33:37] local.INFO: GPS data processed {"connection_id":143313,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:33:37] local.INFO: Acknowledgment sent {"connection_id":143313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:33:59] local.INFO: TCP Data received {"connection_id":144319,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144319,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:33:59] local.INFO: Processing buffer {"connection_id":144319,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:33:59] local.INFO: IMEI packet received {"connection_id":144319,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 21:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":144319,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:34:04] local.INFO: TCP Data received {"connection_id":144319,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144319,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:34:04] local.INFO: Processing buffer {"connection_id":144319,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:34:04] local.INFO: IMEI packet received {"connection_id":144319,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 21:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":144319,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:34:05] local.INFO: TCP Data received {"connection_id":144319,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa44d6760012d196940071fee20004501312c..."} 
[2026-07-27 21:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa44d6760012d196940071fee20004501312c..."} 
[2026-07-27 21:34:05] local.INFO: Processing buffer {"connection_id":144319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa44d6760012d196940071fee20004501312c..."} 
[2026-07-27 21:34:05] local.INFO: Packet analysis {"connection_id":144319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa44d"} 
[2026-07-27 21:34:05] local.INFO: Extracted packet for processing {"connection_id":144319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa44d"} 
[2026-07-27 21:34:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":69,"angle":305,"satellites":44,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 21:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:34:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002921728001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:34:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 21:34:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:34:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:34:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785167964000,"timestamp_ms":1785167964000,"timestamp_seconds":1785167964,"priority":1,"record_length":96,"hex_timestamp":"0000019fa44d6760"} 
[2026-07-27 21:34:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:34:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 21:34:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:34:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:34:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:34:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:34:05] local.INFO: Teltonika packet parsed successfully {"connection_id":144319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:34:05] local.INFO: Passing IMEI to GPS processor {"connection_id":144319,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:34:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":144319,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:34:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:34:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 21:34:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 21:34:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002921728001,"66":2144,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 21:34:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 21:34:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 21:34:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002921728001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:34:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 21:34:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 21:34:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:34:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:34:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002921728001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 21:34:05] local.INFO: DEBUG: GPS processor result {"connection_id":144319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555545,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:34:05] local.INFO: GPS data processed {"connection_id":144319,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:34:05] local.INFO: Acknowledgment sent {"connection_id":144319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:34:08] local.INFO: TCP Data received {"connection_id":143313,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fa44e8870012daae14005ff08a80024001420..."} 
[2026-07-27 21:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143313,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa44e8870012daae14005ff08a80024001420..."} 
[2026-07-27 21:34:08] local.INFO: Processing buffer {"connection_id":143313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa44e8870012daae14005ff08a80024001420..."} 
[2026-07-27 21:34:08] local.INFO: Packet analysis {"connection_id":143313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa44e"} 
[2026-07-27 21:34:08] local.INFO: Extracted packet for processing {"connection_id":143313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa44e"} 
[2026-07-27 21:34:08] local.INFO: GPS Element Parsed {"raw_longitude":766173504,"raw_latitude":100599976,"longitude_deg":76.6173504,"latitude_deg":10.0599976,"altitude":36,"angle":20,"satellites":32,"speed":0,"hex_longitude":"2daae140","hex_latitude":"05ff08a8","is_valid_coordinates":true} 
[2026-07-27 21:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:34:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002940672001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:34:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391576155226112,"note":"Value kept but may cause issues"} 
[2026-07-27 21:34:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133550823004133376,"note":"Value kept but may cause issues"} 
[2026-07-27 21:34:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:34:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785168038000,"timestamp_ms":1785168038000,"timestamp_seconds":1785168038,"priority":1,"record_length":96,"hex_timestamp":"0000019fa44e8870"} 
[2026-07-27 21:34:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:34:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-27 21:34:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:34:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:34:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:34:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:34:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:34:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:34:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:34:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:34:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:34:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:34:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002940672001,"66":25615,"118":206,"88":20480,"24":0,"16":359391576155226112,"45":-6133550823004133376},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 21:34:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:34:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:34:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002940672001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:34:08] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 21:34:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 21:34:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391576155226112,"km_value":359391576155226.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:34:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133550823004133376,"description":"Unknown IO ID 45"} 
[2026-07-27 21:34:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002940672001,"power":25615,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133550823004133376}} 
[2026-07-27 21:34:08] local.INFO: DEBUG: GPS processor result {"connection_id":143313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:34:08] local.INFO: GPS data processed {"connection_id":143313,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:34:08] local.INFO: Acknowledgment sent {"connection_id":143313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:34:10] local.INFO: TCP Data received {"connection_id":144319,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa44d6760012d196940071fee20004501312c..."} 
[2026-07-27 21:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa44d6760012d196940071fee20004501312c..."} 
[2026-07-27 21:34:10] local.INFO: Processing buffer {"connection_id":144319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa44d6760012d196940071fee20004501312c..."} 
[2026-07-27 21:34:10] local.INFO: Packet analysis {"connection_id":144319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa44d"} 
[2026-07-27 21:34:10] local.INFO: Extracted packet for processing {"connection_id":144319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa44d"} 
[2026-07-27 21:34:10] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":69,"angle":305,"satellites":44,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 21:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:34:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002921728001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:34:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 21:34:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:34:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:34:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785167964000,"timestamp_ms":1785167964000,"timestamp_seconds":1785167964,"priority":1,"record_length":96,"hex_timestamp":"0000019fa44d6760"} 
[2026-07-27 21:34:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:34:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 21:34:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:34:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:34:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:34:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:34:10] local.INFO: Teltonika packet parsed successfully {"connection_id":144319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:34:10] local.INFO: Passing IMEI to GPS processor {"connection_id":144319,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:34:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":144319,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:34:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:34:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 21:34:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 21:34:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002921728001,"66":2144,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 21:34:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 21:34:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 21:34:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002921728001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:34:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 21:34:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 21:34:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:34:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:34:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002921728001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 21:34:10] local.INFO: DEBUG: GPS processor result {"connection_id":144319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555547,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:34:10] local.INFO: GPS data processed {"connection_id":144319,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:34:10] local.INFO: Acknowledgment sent {"connection_id":144319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:34:31] local.INFO: TCP Data received {"connection_id":145592,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:34:31] local.INFO: Processing buffer {"connection_id":145592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:34:31] local.INFO: IMEI packet received {"connection_id":145592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 21:34:31] local.INFO: IMEI acknowledgment sent {"connection_id":145592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:34:32] local.INFO: TCP Data received {"connection_id":143176,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 21:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143176,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 21:34:32] local.INFO: Processing buffer {"connection_id":143176,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 21:34:32] local.INFO: IMEI packet received {"connection_id":143176,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 21:34:32] local.INFO: IMEI acknowledgment sent {"connection_id":143176,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:34:36] local.INFO: TCP Data received {"connection_id":145592,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:34:36] local.INFO: Processing buffer {"connection_id":145592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:34:36] local.INFO: IMEI packet received {"connection_id":145592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 21:34:36] local.INFO: IMEI acknowledgment sent {"connection_id":145592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:34:37] local.INFO: TCP Data received {"connection_id":145592,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fa44e8870012daae14005ff08a80024001420..."} 
[2026-07-27 21:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa44e8870012daae14005ff08a80024001420..."} 
[2026-07-27 21:34:37] local.INFO: Processing buffer {"connection_id":145592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa44e8870012daae14005ff08a80024001420..."} 
[2026-07-27 21:34:37] local.INFO: Packet analysis {"connection_id":145592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa44e"} 
[2026-07-27 21:34:37] local.INFO: Extracted packet for processing {"connection_id":145592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa44e"} 
[2026-07-27 21:34:37] local.INFO: GPS Element Parsed {"raw_longitude":766173504,"raw_latitude":100599976,"longitude_deg":76.6173504,"latitude_deg":10.0599976,"altitude":36,"angle":20,"satellites":32,"speed":0,"hex_longitude":"2daae140","hex_latitude":"05ff08a8","is_valid_coordinates":true} 
[2026-07-27 21:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:34:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002940672001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:34:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391576155226112,"note":"Value kept but may cause issues"} 
[2026-07-27 21:34:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133550823004133376,"note":"Value kept but may cause issues"} 
[2026-07-27 21:34:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:34:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785168038000,"timestamp_ms":1785168038000,"timestamp_seconds":1785168038,"priority":1,"record_length":96,"hex_timestamp":"0000019fa44e8870"} 
[2026-07-27 21:34:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:34:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-27 21:34:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:34:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:34:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:34:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:34:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:34:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:34:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:34:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:34:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:34:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:34:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002940672001,"66":25615,"118":206,"88":20480,"24":0,"16":359391576155226112,"45":-6133550823004133376},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 21:34:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:34:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:34:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002940672001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:34:37] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 21:34:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 21:34:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391576155226112,"km_value":359391576155226.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:34:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133550823004133376,"description":"Unknown IO ID 45"} 
[2026-07-27 21:34:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002940672001,"power":25615,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133550823004133376}} 
[2026-07-27 21:34:37] local.INFO: DEBUG: GPS processor result {"connection_id":145592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:34:37] local.INFO: GPS data processed {"connection_id":145592,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:34:37] local.INFO: Acknowledgment sent {"connection_id":145592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:34:42] local.INFO: TCP Data received {"connection_id":144319,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa44d6760012d196940071fee20004501312c..."} 
[2026-07-27 21:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa44d6760012d196940071fee20004501312c..."} 
[2026-07-27 21:34:42] local.INFO: Processing buffer {"connection_id":144319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa44d6760012d196940071fee20004501312c..."} 
[2026-07-27 21:34:42] local.INFO: Packet analysis {"connection_id":144319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa44d"} 
[2026-07-27 21:34:42] local.INFO: Extracted packet for processing {"connection_id":144319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa44d"} 
[2026-07-27 21:34:42] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":69,"angle":305,"satellites":44,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 21:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:34:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002921728001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:34:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 21:34:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:34:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:34:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785167964000,"timestamp_ms":1785167964000,"timestamp_seconds":1785167964,"priority":1,"record_length":96,"hex_timestamp":"0000019fa44d6760"} 
[2026-07-27 21:34:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:34:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 21:34:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:34:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:34:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:34:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:34:42] local.INFO: Teltonika packet parsed successfully {"connection_id":144319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:34:42] local.INFO: Passing IMEI to GPS processor {"connection_id":144319,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:34:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":144319,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:34:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:34:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 21:34:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 21:34:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002921728001,"66":2144,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 21:34:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 21:34:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 21:34:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002921728001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:34:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 21:34:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 21:34:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:34:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:34:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002921728001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 21:34:42] local.INFO: DEBUG: GPS processor result {"connection_id":144319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555549,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:34:42] local.INFO: GPS data processed {"connection_id":144319,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:34:42] local.INFO: Acknowledgment sent {"connection_id":144319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:34:59] local.INFO: TCP Data received {"connection_id":143178,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143178,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:34:59] local.INFO: Processing buffer {"connection_id":143178,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:34:59] local.INFO: IMEI packet received {"connection_id":143178,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 21:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":143178,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:35:03] local.INFO: TCP Data received {"connection_id":143178,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143178,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:35:03] local.INFO: Processing buffer {"connection_id":143178,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:35:03] local.INFO: IMEI packet received {"connection_id":143178,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 21:35:03] local.INFO: IMEI acknowledgment sent {"connection_id":143178,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:35:04] local.INFO: TCP Data received {"connection_id":143178,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa451ff28012d196940071fee200046013128..."} 
[2026-07-27 21:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143178,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa451ff28012d196940071fee200046013128..."} 
[2026-07-27 21:35:04] local.INFO: Processing buffer {"connection_id":143178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa451ff28012d196940071fee200046013128..."} 
[2026-07-27 21:35:04] local.INFO: Packet analysis {"connection_id":143178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa451"} 
[2026-07-27 21:35:04] local.INFO: Extracted packet for processing {"connection_id":143178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa451"} 
[2026-07-27 21:35:04] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":70,"angle":305,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 21:35:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:35:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002998784001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:35:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 21:35:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:35:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:35:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785168265000,"timestamp_ms":1785168265000,"timestamp_seconds":1785168265,"priority":1,"record_length":96,"hex_timestamp":"0000019fa451ff28"} 
[2026-07-27 21:35:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:35:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:35:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-27 21:35:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:35:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:35:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:35:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:35:04] local.INFO: Teltonika packet parsed successfully {"connection_id":143178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:35:04] local.INFO: Passing IMEI to GPS processor {"connection_id":143178,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:35:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":143178,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:35:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:35:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 21:35:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 21:35:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002998784001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 21:35:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 21:35:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 21:35:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002998784001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:35:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 21:35:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 21:35:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:35:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:35:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002998784001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 21:35:04] local.INFO: DEBUG: GPS processor result {"connection_id":143178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555550,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:35:04] local.INFO: GPS data processed {"connection_id":143178,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:35:04] local.INFO: Acknowledgment sent {"connection_id":143178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:35:09] local.INFO: TCP Data received {"connection_id":145592,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fa44e8870012daae14005ff08a80024001420..."} 
[2026-07-27 21:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa44e8870012daae14005ff08a80024001420..."} 
[2026-07-27 21:35:09] local.INFO: Processing buffer {"connection_id":145592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa44e8870012daae14005ff08a80024001420..."} 
[2026-07-27 21:35:09] local.INFO: Packet analysis {"connection_id":145592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa44e"} 
[2026-07-27 21:35:09] local.INFO: Extracted packet for processing {"connection_id":145592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa44e"} 
[2026-07-27 21:35:09] local.INFO: GPS Element Parsed {"raw_longitude":766173504,"raw_latitude":100599976,"longitude_deg":76.6173504,"latitude_deg":10.0599976,"altitude":36,"angle":20,"satellites":32,"speed":0,"hex_longitude":"2daae140","hex_latitude":"05ff08a8","is_valid_coordinates":true} 
[2026-07-27 21:35:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:35:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002940672001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:35:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391576155226112,"note":"Value kept but may cause issues"} 
[2026-07-27 21:35:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133550823004133376,"note":"Value kept but may cause issues"} 
[2026-07-27 21:35:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:35:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785168038000,"timestamp_ms":1785168038000,"timestamp_seconds":1785168038,"priority":1,"record_length":96,"hex_timestamp":"0000019fa44e8870"} 
[2026-07-27 21:35:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:35:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-27 21:35:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:35:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:35:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:35:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:35:09] local.INFO: Teltonika packet parsed successfully {"connection_id":145592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:35:09] local.INFO: Passing IMEI to GPS processor {"connection_id":145592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:35:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":145592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:35:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:35:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:35:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:35:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002940672001,"66":25615,"118":206,"88":20480,"24":0,"16":359391576155226112,"45":-6133550823004133376},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 21:35:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:35:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:35:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002940672001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:35:09] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 21:35:09] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 21:35:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391576155226112,"km_value":359391576155226.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:35:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133550823004133376,"description":"Unknown IO ID 45"} 
[2026-07-27 21:35:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002940672001,"power":25615,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133550823004133376}} 
[2026-07-27 21:35:09] local.INFO: DEBUG: GPS processor result {"connection_id":145592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:35:09] local.INFO: GPS data processed {"connection_id":145592,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:35:09] local.INFO: Acknowledgment sent {"connection_id":145592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:35:31] local.INFO: TCP Data received {"connection_id":143179,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:35:31] local.INFO: Processing buffer {"connection_id":143179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:35:31] local.INFO: IMEI packet received {"connection_id":143179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 21:35:31] local.INFO: IMEI acknowledgment sent {"connection_id":143179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:35:36] local.INFO: TCP Data received {"connection_id":143179,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:35:36] local.INFO: Processing buffer {"connection_id":143179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:35:36] local.INFO: IMEI packet received {"connection_id":143179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 21:35:36] local.INFO: IMEI acknowledgment sent {"connection_id":143179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:35:37] local.INFO: TCP Data received {"connection_id":143179,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fa44e8870012daae14005ff08a80024001420..."} 
[2026-07-27 21:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143179,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa44e8870012daae14005ff08a80024001420..."} 
[2026-07-27 21:35:37] local.INFO: Processing buffer {"connection_id":143179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa44e8870012daae14005ff08a80024001420..."} 
[2026-07-27 21:35:37] local.INFO: Packet analysis {"connection_id":143179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa44e"} 
[2026-07-27 21:35:37] local.INFO: Extracted packet for processing {"connection_id":143179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa44e"} 
[2026-07-27 21:35:37] local.INFO: GPS Element Parsed {"raw_longitude":766173504,"raw_latitude":100599976,"longitude_deg":76.6173504,"latitude_deg":10.0599976,"altitude":36,"angle":20,"satellites":32,"speed":0,"hex_longitude":"2daae140","hex_latitude":"05ff08a8","is_valid_coordinates":true} 
[2026-07-27 21:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002940672001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391576155226112,"note":"Value kept but may cause issues"} 
[2026-07-27 21:35:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133550823004133376,"note":"Value kept but may cause issues"} 
[2026-07-27 21:35:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785168038000,"timestamp_ms":1785168038000,"timestamp_seconds":1785168038,"priority":1,"record_length":96,"hex_timestamp":"0000019fa44e8870"} 
[2026-07-27 21:35:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:35:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-27 21:35:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:35:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:35:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:35:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002940672001,"66":25615,"118":206,"88":20480,"24":0,"16":359391576155226112,"45":-6133550823004133376},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 21:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002940672001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:35:37] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 21:35:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 21:35:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391576155226112,"km_value":359391576155226.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:35:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133550823004133376,"description":"Unknown IO ID 45"} 
[2026-07-27 21:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002940672001,"power":25615,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133550823004133376}} 
[2026-07-27 21:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":143179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:35:37] local.INFO: GPS data processed {"connection_id":143179,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:35:37] local.INFO: Acknowledgment sent {"connection_id":143179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:35:37] local.INFO: TCP Data received {"connection_id":143178,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa451ff28012d196940071fee200046013128..."} 
[2026-07-27 21:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143178,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa451ff28012d196940071fee200046013128..."} 
[2026-07-27 21:35:37] local.INFO: Processing buffer {"connection_id":143178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa451ff28012d196940071fee200046013128..."} 
[2026-07-27 21:35:37] local.INFO: Packet analysis {"connection_id":143178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa451"} 
[2026-07-27 21:35:37] local.INFO: Extracted packet for processing {"connection_id":143178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa451"} 
[2026-07-27 21:35:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":70,"angle":305,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 21:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002998784001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 21:35:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:35:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785168265000,"timestamp_ms":1785168265000,"timestamp_seconds":1785168265,"priority":1,"record_length":96,"hex_timestamp":"0000019fa451ff28"} 
[2026-07-27 21:35:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:35:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-27 21:35:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:35:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:35:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143178,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143178,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:35:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 21:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 21:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002998784001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 21:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 21:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 21:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002998784001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:35:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 21:35:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 21:35:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:35:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002998784001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 21:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":143178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555553,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:35:37] local.INFO: GPS data processed {"connection_id":143178,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:35:37] local.INFO: Acknowledgment sent {"connection_id":143178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:35:59] local.INFO: TCP Data received {"connection_id":144320,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144320,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:35:59] local.INFO: Processing buffer {"connection_id":144320,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:35:59] local.INFO: IMEI packet received {"connection_id":144320,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 21:35:59] local.INFO: IMEI acknowledgment sent {"connection_id":144320,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:36:04] local.INFO: TCP Data received {"connection_id":144320,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144320,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:36:04] local.INFO: Processing buffer {"connection_id":144320,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:36:04] local.INFO: IMEI packet received {"connection_id":144320,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 21:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":144320,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:36:05] local.INFO: TCP Data received {"connection_id":144320,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa451ff28012d196940071fee200046013128..."} 
[2026-07-27 21:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa451ff28012d196940071fee200046013128..."} 
[2026-07-27 21:36:05] local.INFO: Processing buffer {"connection_id":144320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa451ff28012d196940071fee200046013128..."} 
[2026-07-27 21:36:05] local.INFO: Packet analysis {"connection_id":144320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa451"} 
[2026-07-27 21:36:05] local.INFO: Extracted packet for processing {"connection_id":144320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa451"} 
[2026-07-27 21:36:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":70,"angle":305,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 21:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:36:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002998784001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:36:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 21:36:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:36:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:36:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785168265000,"timestamp_ms":1785168265000,"timestamp_seconds":1785168265,"priority":1,"record_length":96,"hex_timestamp":"0000019fa451ff28"} 
[2026-07-27 21:36:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:36:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-27 21:36:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:36:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:36:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:36:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:36:05] local.INFO: Teltonika packet parsed successfully {"connection_id":144320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:36:05] local.INFO: Passing IMEI to GPS processor {"connection_id":144320,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:36:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":144320,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:36:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:36:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 21:36:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 21:36:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002998784001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 21:36:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 21:36:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 21:36:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002998784001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:36:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 21:36:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 21:36:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:36:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:36:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002998784001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 21:36:05] local.INFO: DEBUG: GPS processor result {"connection_id":144320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555554,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:36:05] local.INFO: GPS data processed {"connection_id":144320,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:36:05] local.INFO: Acknowledgment sent {"connection_id":144320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:36:08] local.INFO: TCP Data received {"connection_id":143179,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fa44e8870012daae14005ff08a80024001420..."} 
[2026-07-27 21:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143179,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa44e8870012daae14005ff08a80024001420..."} 
[2026-07-27 21:36:08] local.INFO: Processing buffer {"connection_id":143179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa44e8870012daae14005ff08a80024001420..."} 
[2026-07-27 21:36:08] local.INFO: Packet analysis {"connection_id":143179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa44e"} 
[2026-07-27 21:36:08] local.INFO: Extracted packet for processing {"connection_id":143179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa44e"} 
[2026-07-27 21:36:08] local.INFO: GPS Element Parsed {"raw_longitude":766173504,"raw_latitude":100599976,"longitude_deg":76.6173504,"latitude_deg":10.0599976,"altitude":36,"angle":20,"satellites":32,"speed":0,"hex_longitude":"2daae140","hex_latitude":"05ff08a8","is_valid_coordinates":true} 
[2026-07-27 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-07-27 21:36:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002940672001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:36:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391576155226112,"note":"Value kept but may cause issues"} 
[2026-07-27 21:36:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133550823004133376,"note":"Value kept but may cause issues"} 
[2026-07-27 21:36:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:36:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785168038000,"timestamp_ms":1785168038000,"timestamp_seconds":1785168038,"priority":1,"record_length":96,"hex_timestamp":"0000019fa44e8870"} 
[2026-07-27 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-07-27 21:36:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-27 21:36:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 21:36:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:36:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:36:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:36:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21: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-07-27 21:36:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:36:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:36:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002940672001,"66":25615,"118":206,"88":20480,"24":0,"16":359391576155226112,"45":-6133550823004133376},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 21:36:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:36:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:36:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002940672001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:36:08] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 21:36:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 21:36:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391576155226112,"km_value":359391576155226.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:36:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133550823004133376,"description":"Unknown IO ID 45"} 
[2026-07-27 21:36:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002940672001,"power":25615,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133550823004133376}} 
[2026-07-27 21:36:08] local.INFO: DEBUG: GPS processor result {"connection_id":143179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:36:08] local.INFO: GPS data processed {"connection_id":143179,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:36:08] local.INFO: Acknowledgment sent {"connection_id":143179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:36:10] local.INFO: TCP Data received {"connection_id":144320,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa451ff28012d196940071fee200046013128..."} 
[2026-07-27 21:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa451ff28012d196940071fee200046013128..."} 
[2026-07-27 21:36:10] local.INFO: Processing buffer {"connection_id":144320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa451ff28012d196940071fee200046013128..."} 
[2026-07-27 21:36:10] local.INFO: Packet analysis {"connection_id":144320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa451"} 
[2026-07-27 21:36:10] local.INFO: Extracted packet for processing {"connection_id":144320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa451"} 
[2026-07-27 21:36:10] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":70,"angle":305,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 21:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:36:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002998784001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:36:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 21:36:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:36:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:36:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785168265000,"timestamp_ms":1785168265000,"timestamp_seconds":1785168265,"priority":1,"record_length":96,"hex_timestamp":"0000019fa451ff28"} 
[2026-07-27 21:36:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:36:10] 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-07-27 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-27 21:36:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:36:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:36:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:36:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:36:10] local.INFO: Teltonika packet parsed successfully {"connection_id":144320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:36:10] local.INFO: Passing IMEI to GPS processor {"connection_id":144320,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:36:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":144320,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:36:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:36:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 21:36:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 21:36:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002998784001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 21:36:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 21:36:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 21:36:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002998784001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:36:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 21:36:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 21:36:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:36:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:36:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002998784001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 21:36:10] local.INFO: DEBUG: GPS processor result {"connection_id":144320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555556,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:36:10] local.INFO: GPS data processed {"connection_id":144320,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:36:10] local.INFO: Acknowledgment sent {"connection_id":144320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:36:36] local.INFO: TCP Data received {"connection_id":144321,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:36:36] local.INFO: Processing buffer {"connection_id":144321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:36:36] local.INFO: IMEI packet received {"connection_id":144321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 21:36:36] local.INFO: IMEI acknowledgment sent {"connection_id":144321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:36:41] local.INFO: TCP Data received {"connection_id":144321,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:36:41] local.INFO: Processing buffer {"connection_id":144321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:36:41] local.INFO: IMEI packet received {"connection_id":144321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 21:36:41] local.INFO: IMEI acknowledgment sent {"connection_id":144321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:36:42] local.INFO: TCP Data received {"connection_id":144321,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4532038012daae14005ff08a80024001422..."} 
[2026-07-27 21:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144321,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4532038012daae14005ff08a80024001422..."} 
[2026-07-27 21:36:42] local.INFO: Processing buffer {"connection_id":144321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4532038012daae14005ff08a80024001422..."} 
[2026-07-27 21:36:42] local.INFO: Packet analysis {"connection_id":144321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa453"} 
[2026-07-27 21:36:42] local.INFO: Extracted packet for processing {"connection_id":144321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa453"} 
[2026-07-27 21:36:42] local.INFO: GPS Element Parsed {"raw_longitude":766173504,"raw_latitude":100599976,"longitude_deg":76.6173504,"latitude_deg":10.0599976,"altitude":36,"angle":20,"satellites":34,"speed":0,"hex_longitude":"2daae140","hex_latitude":"05ff08a8","is_valid_coordinates":true} 
[2026-07-27 21:36:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:36:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003017728001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:36:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391576155226112,"note":"Value kept but may cause issues"} 
[2026-07-27 21:36:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133550823004133376,"note":"Value kept but may cause issues"} 
[2026-07-27 21:36:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:36:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785168339000,"timestamp_ms":1785168339000,"timestamp_seconds":1785168339,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4532038"} 
[2026-07-27 21:36:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:36:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-27 21:36:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:36:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:36:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:36:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:36:42] local.INFO: Teltonika packet parsed successfully {"connection_id":144321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:36:42] local.INFO: Passing IMEI to GPS processor {"connection_id":144321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:36:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":144321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:36:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:36:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:36:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:36:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003017728001,"66":25615,"118":206,"88":20480,"24":0,"16":359391576155226112,"45":-6133550823004133376},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 21:36:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:36:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:36:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003017728001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:36:42] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 21:36:42] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 21:36:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391576155226112,"km_value":359391576155226.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:36:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133550823004133376,"description":"Unknown IO ID 45"} 
[2026-07-27 21:36:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003017728001,"power":25615,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133550823004133376}} 
[2026-07-27 21:36:42] local.INFO: DEBUG: GPS processor result {"connection_id":144321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:36:42] local.INFO: GPS data processed {"connection_id":144321,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:36:42] local.INFO: Acknowledgment sent {"connection_id":144321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:36:46] local.INFO: TCP Data received {"connection_id":144320,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa451ff28012d196940071fee200046013128..."} 
[2026-07-27 21:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa451ff28012d196940071fee200046013128..."} 
[2026-07-27 21:36:46] local.INFO: Processing buffer {"connection_id":144320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa451ff28012d196940071fee200046013128..."} 
[2026-07-27 21:36:46] local.INFO: Packet analysis {"connection_id":144320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa451"} 
[2026-07-27 21:36:46] local.INFO: Extracted packet for processing {"connection_id":144320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa451"} 
[2026-07-27 21:36:46] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":70,"angle":305,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 21: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-07-27 21:36:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002998784001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:36:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 21:36:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:36: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-07-27 21:36:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785168265000,"timestamp_ms":1785168265000,"timestamp_seconds":1785168265,"priority":1,"record_length":96,"hex_timestamp":"0000019fa451ff28"} 
[2026-07-27 21:36:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:36:46] 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-07-27 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-27 21:36:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21: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-07-27 21:36:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:36:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:36:46] local.INFO: Teltonika packet parsed successfully {"connection_id":144320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:36:46] local.INFO: Passing IMEI to GPS processor {"connection_id":144320,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:36:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":144320,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:36:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:36:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 21:36:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 21:36:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002998784001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 21:36:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 21:36:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 21:36:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002998784001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:36:46] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 21:36:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 21:36:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:36:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:36:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002998784001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 21:36:46] local.INFO: DEBUG: GPS processor result {"connection_id":144320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555558,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:36:46] local.INFO: GPS data processed {"connection_id":144320,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:36:46] local.INFO: Acknowledgment sent {"connection_id":144320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:36:47] local.INFO: TCP Data received {"connection_id":144321,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4532038012daae14005ff08a80024001422..."} 
[2026-07-27 21:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144321,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4532038012daae14005ff08a80024001422..."} 
[2026-07-27 21:36:47] local.INFO: Processing buffer {"connection_id":144321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4532038012daae14005ff08a80024001422..."} 
[2026-07-27 21:36:47] local.INFO: Packet analysis {"connection_id":144321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa453"} 
[2026-07-27 21:36:47] local.INFO: Extracted packet for processing {"connection_id":144321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa453"} 
[2026-07-27 21:36:47] local.INFO: GPS Element Parsed {"raw_longitude":766173504,"raw_latitude":100599976,"longitude_deg":76.6173504,"latitude_deg":10.0599976,"altitude":36,"angle":20,"satellites":34,"speed":0,"hex_longitude":"2daae140","hex_latitude":"05ff08a8","is_valid_coordinates":true} 
[2026-07-27 21: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-07-27 21:36:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003017728001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:36:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391576155226112,"note":"Value kept but may cause issues"} 
[2026-07-27 21:36:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133550823004133376,"note":"Value kept but may cause issues"} 
[2026-07-27 21:36:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:36:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785168339000,"timestamp_ms":1785168339000,"timestamp_seconds":1785168339,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4532038"} 
[2026-07-27 21:36:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:36:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-27 21:36:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21: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-07-27 21:36:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:36:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:36:47] local.INFO: Teltonika packet parsed successfully {"connection_id":144321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:36:47] local.INFO: Passing IMEI to GPS processor {"connection_id":144321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:36:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":144321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:36:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:36:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:36:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:36:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003017728001,"66":25615,"118":206,"88":20480,"24":0,"16":359391576155226112,"45":-6133550823004133376},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 21:36:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:36:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:36:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003017728001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:36:47] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 21:36:47] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 21:36:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391576155226112,"km_value":359391576155226.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:36:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133550823004133376,"description":"Unknown IO ID 45"} 
[2026-07-27 21:36:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003017728001,"power":25615,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133550823004133376}} 
[2026-07-27 21:36:47] local.INFO: DEBUG: GPS processor result {"connection_id":144321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:36:47] local.INFO: GPS data processed {"connection_id":144321,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:36:47] local.INFO: Acknowledgment sent {"connection_id":144321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:36:59] local.INFO: TCP Data received {"connection_id":145593,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145593,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:36:59] local.INFO: Processing buffer {"connection_id":145593,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:36:59] local.INFO: IMEI packet received {"connection_id":145593,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 21:36:59] local.INFO: IMEI acknowledgment sent {"connection_id":145593,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:37:04] local.INFO: TCP Data received {"connection_id":145593,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145593,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:37:04] local.INFO: Processing buffer {"connection_id":145593,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:37:04] local.INFO: IMEI packet received {"connection_id":145593,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 21:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":145593,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:37:05] local.INFO: TCP Data received {"connection_id":145593,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa451ff28012d196940071fee200046013128..."} 
[2026-07-27 21:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa451ff28012d196940071fee200046013128..."} 
[2026-07-27 21:37:05] local.INFO: Processing buffer {"connection_id":145593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa451ff28012d196940071fee200046013128..."} 
[2026-07-27 21:37:05] local.INFO: Packet analysis {"connection_id":145593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa451"} 
[2026-07-27 21:37:05] local.INFO: Extracted packet for processing {"connection_id":145593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa451"} 
[2026-07-27 21:37:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":70,"angle":305,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 21:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:37:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002998784001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:37:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 21:37:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:37:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:37:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785168265000,"timestamp_ms":1785168265000,"timestamp_seconds":1785168265,"priority":1,"record_length":96,"hex_timestamp":"0000019fa451ff28"} 
[2026-07-27 21:37:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:37:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-27 21:37:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:37:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:37:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:37:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:37:05] local.INFO: Teltonika packet parsed successfully {"connection_id":145593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:37:05] local.INFO: Passing IMEI to GPS processor {"connection_id":145593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:37:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":145593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:37:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:37:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 21:37:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 21:37:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002998784001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 21:37:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 21:37:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 21:37:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002998784001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:37:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 21:37:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 21:37:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:37:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:37:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002998784001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 21:37:05] local.INFO: DEBUG: GPS processor result {"connection_id":145593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555560,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:37:05] local.INFO: GPS data processed {"connection_id":145593,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:37:05] local.INFO: Acknowledgment sent {"connection_id":145593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:37:31] local.INFO: TCP Data received {"connection_id":144323,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:37:31] local.INFO: Processing buffer {"connection_id":144323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:37:31] local.INFO: IMEI packet received {"connection_id":144323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 21:37:31] local.INFO: IMEI acknowledgment sent {"connection_id":144323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:37:36] local.INFO: TCP Data received {"connection_id":144323,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:37:36] local.INFO: Processing buffer {"connection_id":144323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:37:36] local.INFO: IMEI packet received {"connection_id":144323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 21:37:36] local.INFO: IMEI acknowledgment sent {"connection_id":144323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:37:37] local.INFO: TCP Data received {"connection_id":144323,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4541a38012daae14005ff08a80024001422..."} 
[2026-07-27 21:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144323,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4541a38012daae14005ff08a80024001422..."} 
[2026-07-27 21:37:37] local.INFO: Processing buffer {"connection_id":144323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4541a38012daae14005ff08a80024001422..."} 
[2026-07-27 21:37:37] local.INFO: Packet analysis {"connection_id":144323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa454"} 
[2026-07-27 21:37:37] local.INFO: Extracted packet for processing {"connection_id":144323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa454"} 
[2026-07-27 21:37:37] local.INFO: GPS Element Parsed {"raw_longitude":766173504,"raw_latitude":100599976,"longitude_deg":76.6173504,"latitude_deg":10.0599976,"altitude":36,"angle":20,"satellites":34,"speed":0,"hex_longitude":"2daae140","hex_latitude":"05ff08a8","is_valid_coordinates":true} 
[2026-07-27 21:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003094784001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391576155226112,"note":"Value kept but may cause issues"} 
[2026-07-27 21:37:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133550823004133376,"note":"Value kept but may cause issues"} 
[2026-07-27 21:37:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785168403000,"timestamp_ms":1785168403000,"timestamp_seconds":1785168403,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4541a38"} 
[2026-07-27 21:37:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:37:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-27 21:37:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:37:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:37:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:37:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:37:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003094784001,"66":25604,"118":206,"88":20480,"24":0,"16":359391576155226112,"45":-6133550823004133376},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 21:37:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:37:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:37:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003094784001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:37:37] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 21:37:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 21:37:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391576155226112,"km_value":359391576155226.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:37:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133550823004133376,"description":"Unknown IO ID 45"} 
[2026-07-27 21:37:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003094784001,"power":25604,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133550823004133376}} 
[2026-07-27 21:37:37] local.INFO: DEBUG: GPS processor result {"connection_id":144323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:37:37] local.INFO: GPS data processed {"connection_id":144323,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:37:37] local.INFO: Acknowledgment sent {"connection_id":144323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:37:37] local.INFO: TCP Data received {"connection_id":145593,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa451ff28012d196940071fee200046013128..."} 
[2026-07-27 21:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa451ff28012d196940071fee200046013128..."} 
[2026-07-27 21:37:37] local.INFO: Processing buffer {"connection_id":145593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa451ff28012d196940071fee200046013128..."} 
[2026-07-27 21:37:37] local.INFO: Packet analysis {"connection_id":145593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa451"} 
[2026-07-27 21:37:37] local.INFO: Extracted packet for processing {"connection_id":145593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa451"} 
[2026-07-27 21:37:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":70,"angle":305,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 21:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002998784001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 21:37:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:37:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785168265000,"timestamp_ms":1785168265000,"timestamp_seconds":1785168265,"priority":1,"record_length":96,"hex_timestamp":"0000019fa451ff28"} 
[2026-07-27 21:37:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:37:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-27 21:37:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:37:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:37:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:37:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 21:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 21:37:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002998784001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 21:37:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 21:37:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 21:37:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002998784001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:37:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 21:37:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 21:37:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:37:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:37:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002998784001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 21:37:37] local.INFO: DEBUG: GPS processor result {"connection_id":145593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555562,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:37:37] local.INFO: GPS data processed {"connection_id":145593,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:37:37] local.INFO: Acknowledgment sent {"connection_id":145593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:37:59] local.INFO: TCP Data received {"connection_id":144324,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144324,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:37:59] local.INFO: Processing buffer {"connection_id":144324,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:37:59] local.INFO: IMEI packet received {"connection_id":144324,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 21:37:59] local.INFO: IMEI acknowledgment sent {"connection_id":144324,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:38:04] local.INFO: TCP Data received {"connection_id":144324,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144324,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:38:04] local.INFO: Processing buffer {"connection_id":144324,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:38:04] local.INFO: IMEI packet received {"connection_id":144324,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 21:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":144324,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:38:05] local.INFO: TCP Data received {"connection_id":144324,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa451ff28012d196940071fee200046013128..."} 
[2026-07-27 21:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa451ff28012d196940071fee200046013128..."} 
[2026-07-27 21:38:05] local.INFO: Processing buffer {"connection_id":144324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa451ff28012d196940071fee200046013128..."} 
[2026-07-27 21:38:05] local.INFO: Packet analysis {"connection_id":144324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa451"} 
[2026-07-27 21:38:05] local.INFO: Extracted packet for processing {"connection_id":144324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa451"} 
[2026-07-27 21:38:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":70,"angle":305,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 21:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:38:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002998784001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:38:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 21:38:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:38:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:38:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785168265000,"timestamp_ms":1785168265000,"timestamp_seconds":1785168265,"priority":1,"record_length":96,"hex_timestamp":"0000019fa451ff28"} 
[2026-07-27 21:38:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:38:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-27 21:38:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:38:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:38:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:38:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:38:05] local.INFO: Teltonika packet parsed successfully {"connection_id":144324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:38:05] local.INFO: Passing IMEI to GPS processor {"connection_id":144324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:38:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":144324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:38:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:38:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 21:38:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 21:38:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002998784001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 21:38:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 21:38:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 21:38:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002998784001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:38:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 21:38:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 21:38:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:38:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:38:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002998784001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 21:38:05] local.INFO: DEBUG: GPS processor result {"connection_id":144324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555563,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:38:05] local.INFO: GPS data processed {"connection_id":144324,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:38:05] local.INFO: Acknowledgment sent {"connection_id":144324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:38:08] local.INFO: TCP Data received {"connection_id":144323,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fa45431a8012daae38005ff08380024014723..."} 
[2026-07-27 21:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144323,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa45431a8012daae38005ff08380024014723..."} 
[2026-07-27 21:38:08] local.INFO: Processing buffer {"connection_id":144323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa45431a8012daae38005ff08380024014723..."} 
[2026-07-27 21:38:08] local.INFO: Packet analysis {"connection_id":144323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa454"} 
[2026-07-27 21:38:08] local.INFO: Extracted packet for processing {"connection_id":144323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa454"} 
[2026-07-27 21:38:08] local.INFO: GPS Element Parsed {"raw_longitude":766174080,"raw_latitude":100599864,"longitude_deg":76.617408,"latitude_deg":10.0599864,"altitude":36,"angle":327,"satellites":35,"speed":0,"hex_longitude":"2daae380","hex_latitude":"05ff0838","is_valid_coordinates":true} 
[2026-07-27 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-07-27 21:38:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003111168001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:38:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391576155226112,"note":"Value kept but may cause issues"} 
[2026-07-27 21:38:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133550823004133376,"note":"Value kept but may cause issues"} 
[2026-07-27 21:38:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:38:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785168409000,"timestamp_ms":1785168409000,"timestamp_seconds":1785168409,"priority":1,"record_length":96,"hex_timestamp":"0000019fa45431a8"} 
[2026-07-27 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-07-27 21:38:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-27 21:38:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 21:38:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:38:08] local.INFO: Teltonika packet parsed successfully {"connection_id":144323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:38:08] local.INFO: Passing IMEI to GPS processor {"connection_id":144323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:38:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":144323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:38:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:38:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:38:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:38:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003111168001,"66":27593,"118":206,"88":20480,"24":0,"16":359391576155226112,"45":-6133550823004133376},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 21:38:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:38:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:38:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003111168001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:38:08] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 21:38:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 21:38:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391576155226112,"km_value":359391576155226.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:38:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133550823004133376,"description":"Unknown IO ID 45"} 
[2026-07-27 21:38:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003111168001,"power":27593,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133550823004133376}} 
[2026-07-27 21:38:08] local.INFO: DEBUG: GPS processor result {"connection_id":144323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:38:08] local.INFO: GPS data processed {"connection_id":144323,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:38:08] local.INFO: Acknowledgment sent {"connection_id":144323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:38:30] local.INFO: TCP Data received {"connection_id":144325,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:38:30] local.INFO: Processing buffer {"connection_id":144325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:38:30] local.INFO: IMEI packet received {"connection_id":144325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 21:38:30] local.INFO: IMEI acknowledgment sent {"connection_id":144325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:38:31] local.INFO: TCP Data received {"connection_id":144325,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:38:31] local.INFO: Processing buffer {"connection_id":144325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:38:31] local.INFO: IMEI packet received {"connection_id":144325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 21:38:31] local.INFO: IMEI acknowledgment sent {"connection_id":144325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:38:32] local.INFO: TCP Data received {"connection_id":144325,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:38:32] local.INFO: Processing buffer {"connection_id":144325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:38:32] local.INFO: IMEI packet received {"connection_id":144325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 21:38:32] local.INFO: IMEI acknowledgment sent {"connection_id":144325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:38:36] local.INFO: TCP Data received {"connection_id":144325,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:38:36] local.INFO: Processing buffer {"connection_id":144325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:38:36] local.INFO: IMEI packet received {"connection_id":144325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 21:38:36] local.INFO: IMEI acknowledgment sent {"connection_id":144325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:38:37] local.INFO: TCP Data received {"connection_id":144324,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa451ff28012d196940071fee200046013128..."} 
[2026-07-27 21:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa451ff28012d196940071fee200046013128..."} 
[2026-07-27 21:38:37] local.INFO: Processing buffer {"connection_id":144324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa451ff28012d196940071fee200046013128..."} 
[2026-07-27 21:38:37] local.INFO: Packet analysis {"connection_id":144324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa451"} 
[2026-07-27 21:38:37] local.INFO: Extracted packet for processing {"connection_id":144324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa451"} 
[2026-07-27 21:38:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":70,"angle":305,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 21:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002998784001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:38:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 21:38:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:38:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:38:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785168265000,"timestamp_ms":1785168265000,"timestamp_seconds":1785168265,"priority":1,"record_length":96,"hex_timestamp":"0000019fa451ff28"} 
[2026-07-27 21:38:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:38:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-27 21:38:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:38:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:38:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:38:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:38:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:38:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:38:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:38:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:38:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 21:38:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 21:38:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002998784001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 21:38:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 21:38:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 21:38:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002998784001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:38:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 21:38:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 21:38:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:38:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:38:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002998784001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 21:38:37] local.INFO: DEBUG: GPS processor result {"connection_id":144324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555565,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:38:37] local.INFO: GPS data processed {"connection_id":144324,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:38:37] local.INFO: Acknowledgment sent {"connection_id":144324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:38:37] local.INFO: TCP Data received {"connection_id":144325,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fa45483b0012daae38005ff08380024014724..."} 
[2026-07-27 21:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144325,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa45483b0012daae38005ff08380024014724..."} 
[2026-07-27 21:38:37] local.INFO: Processing buffer {"connection_id":144325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa45483b0012daae38005ff08380024014724..."} 
[2026-07-27 21:38:37] local.INFO: Packet analysis {"connection_id":144325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa454"} 
[2026-07-27 21:38:37] local.INFO: Extracted packet for processing {"connection_id":144325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa454"} 
[2026-07-27 21:38:37] local.INFO: GPS Element Parsed {"raw_longitude":766174080,"raw_latitude":100599864,"longitude_deg":76.617408,"latitude_deg":10.0599864,"altitude":36,"angle":327,"satellites":36,"speed":0,"hex_longitude":"2daae380","hex_latitude":"05ff0838","is_valid_coordinates":true} 
[2026-07-27 21:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003112704001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:38:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359391576155226112,"note":"Value kept but may cause issues"} 
[2026-07-27 21:38:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6132917504306563072,"note":"Value kept but may cause issues"} 
[2026-07-27 21:38:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:38:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785168430000,"timestamp_ms":1785168430000,"timestamp_seconds":1785168430,"priority":1,"record_length":96,"hex_timestamp":"0000019fa45483b0"} 
[2026-07-27 21:38:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:38:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 21:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-27 21:38:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2542,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:38:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:38:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:38:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:38:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:38:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:38:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:38:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:38:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:38:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:38:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003112704001,"66":27213,"118":206,"88":20480,"24":0,"16":359391576155226112,"45":-6132917504306563072},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-27 21:38:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:38:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:38:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003112704001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:38:37] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-27 21:38:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 21:38:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359391576155226112,"km_value":359391576155226.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:38:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6132917504306563072,"description":"Unknown IO ID 45"} 
[2026-07-27 21:38:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003112704001,"power":27213,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6132917504306563072}} 
[2026-07-27 21:38:37] local.INFO: DEBUG: GPS processor result {"connection_id":144325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:38:37] local.INFO: GPS data processed {"connection_id":144325,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:38:37] local.INFO: Acknowledgment sent {"connection_id":144325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:38:58] local.INFO: TCP Data received {"connection_id":143180,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143180,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:38:58] local.INFO: Processing buffer {"connection_id":143180,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:38:58] local.INFO: IMEI packet received {"connection_id":143180,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 21:38:58] local.INFO: IMEI acknowledgment sent {"connection_id":143180,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:39:04] local.INFO: TCP Data received {"connection_id":143180,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143180,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:39:04] local.INFO: Processing buffer {"connection_id":143180,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:39:04] local.INFO: IMEI packet received {"connection_id":143180,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 21:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":143180,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:39:06] local.INFO: TCP Data received {"connection_id":143180,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa451ff28012d196940071fee200046013128..."} 
[2026-07-27 21:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143180,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa451ff28012d196940071fee200046013128..."} 
[2026-07-27 21:39:06] local.INFO: Processing buffer {"connection_id":143180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa451ff28012d196940071fee200046013128..."} 
[2026-07-27 21:39:06] local.INFO: Packet analysis {"connection_id":143180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa451"} 
[2026-07-27 21:39:06] local.INFO: Extracted packet for processing {"connection_id":143180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa451"} 
[2026-07-27 21:39:06] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":70,"angle":305,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 21:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:39:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002998784001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:39:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 21:39:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:39:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:39:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785168265000,"timestamp_ms":1785168265000,"timestamp_seconds":1785168265,"priority":1,"record_length":96,"hex_timestamp":"0000019fa451ff28"} 
[2026-07-27 21:39:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:39:06] 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-07-27 21:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-27 21:39:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:39:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:39:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:39:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:39:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:39:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:39:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:39:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:39:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 21:39:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 21:39:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002998784001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 21:39:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 21:39:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 21:39:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002998784001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:39:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 21:39:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 21:39:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:39:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:39:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002998784001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 21:39:06] local.INFO: DEBUG: GPS processor result {"connection_id":143180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555567,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:39:06] local.INFO: GPS data processed {"connection_id":143180,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:39:06] local.INFO: Acknowledgment sent {"connection_id":143180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:39:08] local.INFO: TCP Data received {"connection_id":144325,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4558580012daaf2c005ff27880021003028..."} 
[2026-07-27 21:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144325,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4558580012daaf2c005ff27880021003028..."} 
[2026-07-27 21:39:08] local.INFO: Processing buffer {"connection_id":144325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4558580012daaf2c005ff27880021003028..."} 
[2026-07-27 21:39:08] local.INFO: Packet analysis {"connection_id":144325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa455"} 
[2026-07-27 21:39:08] local.INFO: Extracted packet for processing {"connection_id":144325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa455"} 
[2026-07-27 21:39:08] local.INFO: GPS Element Parsed {"raw_longitude":766177984,"raw_latitude":100607880,"longitude_deg":76.6177984,"latitude_deg":10.060788,"altitude":33,"angle":48,"satellites":40,"speed":22,"hex_longitude":"2daaf2c0","hex_latitude":"05ff2788","is_valid_coordinates":true} 
[2026-07-27 21:39:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:39:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003132672001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:39:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359392250465091584,"note":"Value kept but may cause issues"} 
[2026-07-27 21:39:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6132847135561050112,"note":"Value kept but may cause issues"} 
[2026-07-27 21:39:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:39:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785168496000,"timestamp_ms":1785168496000,"timestamp_seconds":1785168496,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4558580"} 
[2026-07-27 21:39:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:39:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 21: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-27 21:39:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:39:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:39:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:39:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:39:08] local.INFO: Teltonika packet parsed successfully {"connection_id":144325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:39:08] local.INFO: Passing IMEI to GPS processor {"connection_id":144325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:39:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":144325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:39:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:39:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:39:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:39:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003132672001,"66":27332,"130":206,"88":20480,"24":22,"16":359392250465091584,"45":-6132847135561050112},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,88,24,16,45]} 
[2026-07-27 21:39:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:39:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:39:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003132672001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:39:08] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-07-27 21:39:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 21:39:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359392250465091584,"km_value":359392250465091.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:39:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6132847135561050112,"description":"Unknown IO ID 45"} 
[2026-07-27 21:39:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003132672001,"power":27332,"unknown_130":206,"unknown_88":20480,"ignition":22,"odometer":null,"unknown_45":-6132847135561050112}} 
[2026-07-27 21:39:08] local.INFO: DEBUG: GPS processor result {"connection_id":144325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:39:08] local.INFO: GPS data processed {"connection_id":144325,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:39:08] local.INFO: Acknowledgment sent {"connection_id":144325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:39:31] local.INFO: TCP Data received {"connection_id":145594,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:39:31] local.INFO: Processing buffer {"connection_id":145594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:39:31] local.INFO: IMEI packet received {"connection_id":145594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 21:39:31] local.INFO: IMEI acknowledgment sent {"connection_id":145594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:39:36] local.INFO: TCP Data received {"connection_id":145594,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:39:36] local.INFO: Processing buffer {"connection_id":145594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:39:36] local.INFO: IMEI packet received {"connection_id":145594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 21:39:36] local.INFO: IMEI acknowledgment sent {"connection_id":145594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:39:37] local.INFO: TCP Data received {"connection_id":145594,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fa455a8a8012dab038005ff34d80020003e28..."} 
[2026-07-27 21:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa455a8a8012dab038005ff34d80020003e28..."} 
[2026-07-27 21:39:37] local.INFO: Processing buffer {"connection_id":145594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa455a8a8012dab038005ff34d80020003e28..."} 
[2026-07-27 21:39:37] local.INFO: Packet analysis {"connection_id":145594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa455"} 
[2026-07-27 21:39:37] local.INFO: Extracted packet for processing {"connection_id":145594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa455"} 
[2026-07-27 21:39:37] local.INFO: GPS Element Parsed {"raw_longitude":766182272,"raw_latitude":100611288,"longitude_deg":76.6182272,"latitude_deg":10.0611288,"altitude":32,"angle":62,"satellites":40,"speed":25,"hex_longitude":"2dab0380","hex_latitude":"05ff34d8","is_valid_coordinates":true} 
[2026-07-27 21:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003134976001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359392512458096640,"note":"Value kept but may cause issues"} 
[2026-07-27 21:39:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6128625010909673472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:39:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785168505000,"timestamp_ms":1785168505000,"timestamp_seconds":1785168505,"priority":1,"record_length":96,"hex_timestamp":"0000019fa455a8a8"} 
[2026-07-27 21:39:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:39:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 21:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-27 21:39:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:39:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:39:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:39:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:39:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003134976001,"66":27376,"130":206,"88":20480,"24":25,"16":359392512458096640,"45":-6128625010909673472},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,88,24,16,45]} 
[2026-07-27 21:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003134976001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:39:37] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-07-27 21:39:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 21:39:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359392512458096640,"km_value":359392512458096.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:39:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6128625010909673472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:39:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003134976001,"power":27376,"unknown_130":206,"unknown_88":20480,"ignition":25,"odometer":null,"unknown_45":-6128625010909673472}} 
[2026-07-27 21:39:37] local.INFO: DEBUG: GPS processor result {"connection_id":145594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:39:37] local.INFO: GPS data processed {"connection_id":145594,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:39:37] local.INFO: Acknowledgment sent {"connection_id":145594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:39:38] local.INFO: TCP Data received {"connection_id":143180,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa451ff28012d196940071fee200046013128..."} 
[2026-07-27 21:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143180,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa451ff28012d196940071fee200046013128..."} 
[2026-07-27 21:39:38] local.INFO: Processing buffer {"connection_id":143180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa451ff28012d196940071fee200046013128..."} 
[2026-07-27 21:39:38] local.INFO: Packet analysis {"connection_id":143180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa451"} 
[2026-07-27 21:39:38] local.INFO: Extracted packet for processing {"connection_id":143180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa451"} 
[2026-07-27 21:39:38] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":70,"angle":305,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 21:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:39:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457002998784001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:39:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 21:39:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:39:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:39:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785168265000,"timestamp_ms":1785168265000,"timestamp_seconds":1785168265,"priority":1,"record_length":96,"hex_timestamp":"0000019fa451ff28"} 
[2026-07-27 21:39:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:39:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-27 21:39:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:39:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:39:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:39:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:39:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:39:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:39:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:39:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:39:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 21:39:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 21:39:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457002998784001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 21:39:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 21:39:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 21:39:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457002998784001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:39:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 21:39:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 21:39:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:39:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:39:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457002998784001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 21:39:38] local.INFO: DEBUG: GPS processor result {"connection_id":143180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555570,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:39:38] local.INFO: GPS data processed {"connection_id":143180,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:39:38] local.INFO: Acknowledgment sent {"connection_id":143180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:39:58] local.INFO: TCP Data received {"connection_id":143181,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143181,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:39:58] local.INFO: Processing buffer {"connection_id":143181,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:39:58] local.INFO: IMEI packet received {"connection_id":143181,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 21:39:58] local.INFO: IMEI acknowledgment sent {"connection_id":143181,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:40:04] local.INFO: TCP Data received {"connection_id":143181,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143181,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:40:04] local.INFO: Processing buffer {"connection_id":143181,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:40:04] local.INFO: IMEI packet received {"connection_id":143181,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 21:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":143181,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:40:05] local.INFO: TCP Data received {"connection_id":143181,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa45696f0012d196940071fee200046013127..."} 
[2026-07-27 21:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143181,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa45696f0012d196940071fee200046013127..."} 
[2026-07-27 21:40:05] local.INFO: Processing buffer {"connection_id":143181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa45696f0012d196940071fee200046013127..."} 
[2026-07-27 21:40:05] local.INFO: Packet analysis {"connection_id":143181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa456"} 
[2026-07-27 21:40:05] local.INFO: Extracted packet for processing {"connection_id":143181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa456"} 
[2026-07-27 21:40:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":70,"angle":305,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 21:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:40:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003075840001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:40:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 21:40:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:40:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:40:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785168566000,"timestamp_ms":1785168566000,"timestamp_seconds":1785168566,"priority":1,"record_length":96,"hex_timestamp":"0000019fa45696f0"} 
[2026-07-27 21:40:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:40:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 21:40:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:40:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:40:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:40:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:40:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:40:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143181,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:40:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143181,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:40:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:40:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 21:40:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 21:40:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003075840001,"66":2144,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 21:40:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 21:40:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 21:40:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003075840001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:40:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 21:40:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 21:40:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:40:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:40:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003075840001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 21:40:05] local.INFO: DEBUG: GPS processor result {"connection_id":143181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555571,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:40:05] local.INFO: GPS data processed {"connection_id":143181,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:40:05] local.INFO: Acknowledgment sent {"connection_id":143181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:40:07] local.INFO: TCP Data received {"connection_id":144322,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 21:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144322,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 21:40:07] local.INFO: Processing buffer {"connection_id":144322,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 21:40:07] local.INFO: IMEI packet received {"connection_id":144322,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 21:40:07] local.INFO: IMEI acknowledgment sent {"connection_id":144322,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:40:08] local.INFO: TCP Data received {"connection_id":145594,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fa455b848012dab0cc005ff38100020004c28..."} 
[2026-07-27 21:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa455b848012dab0cc005ff38100020004c28..."} 
[2026-07-27 21:40:08] local.INFO: Processing buffer {"connection_id":145594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa455b848012dab0cc005ff38100020004c28..."} 
[2026-07-27 21:40:08] local.INFO: Packet analysis {"connection_id":145594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa455"} 
[2026-07-27 21:40:08] local.INFO: Extracted packet for processing {"connection_id":145594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa455"} 
[2026-07-27 21:40:08] local.INFO: GPS Element Parsed {"raw_longitude":766184640,"raw_latitude":100612112,"longitude_deg":76.618464,"latitude_deg":10.0612112,"altitude":32,"angle":76,"satellites":40,"speed":22,"hex_longitude":"2dab0cc0","hex_latitude":"05ff3810","is_valid_coordinates":true} 
[2026-07-27 21:40:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:40:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003137280001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:40:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359392632717180928,"note":"Value kept but may cause issues"} 
[2026-07-27 21:40:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6123910305048897536,"note":"Value kept but may cause issues"} 
[2026-07-27 21:40:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:40:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785168509000,"timestamp_ms":1785168509000,"timestamp_seconds":1785168509,"priority":1,"record_length":96,"hex_timestamp":"0000019fa455b848"} 
[2026-07-27 21:40:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:40:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 21:40:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-27 21:40:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:40:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:40:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:40:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:40:08] local.INFO: Teltonika packet parsed successfully {"connection_id":145594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:40:08] local.INFO: Passing IMEI to GPS processor {"connection_id":145594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:40:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":145594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:40:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:40:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:40:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:40:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003137280001,"66":27332,"130":206,"88":20480,"24":22,"16":359392632717180928,"45":-6123910305048897536},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,88,24,16,45]} 
[2026-07-27 21:40:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:40:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:40:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003137280001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:40:08] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-07-27 21:40:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 21:40:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359392632717180928,"km_value":359392632717180.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:40:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6123910305048897536,"description":"Unknown IO ID 45"} 
[2026-07-27 21:40:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003137280001,"power":27332,"unknown_130":206,"unknown_88":20480,"ignition":22,"odometer":null,"unknown_45":-6123910305048897536}} 
[2026-07-27 21:40:08] local.INFO: DEBUG: GPS processor result {"connection_id":145594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:40:08] local.INFO: GPS data processed {"connection_id":145594,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:40:08] local.INFO: Acknowledgment sent {"connection_id":145594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:40:32] local.INFO: TCP Data received {"connection_id":145595,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:40:32] local.INFO: Processing buffer {"connection_id":145595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:40:32] local.INFO: IMEI packet received {"connection_id":145595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 21:40:32] local.INFO: IMEI acknowledgment sent {"connection_id":145595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:40:36] local.INFO: TCP Data received {"connection_id":145595,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:40:36] local.INFO: Processing buffer {"connection_id":145595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:40:36] local.INFO: IMEI packet received {"connection_id":145595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 21:40:36] local.INFO: IMEI acknowledgment sent {"connection_id":145595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:40:37] local.INFO: TCP Data received {"connection_id":143181,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa45696f0012d196940071fee200046013127..."} 
[2026-07-27 21:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143181,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa45696f0012d196940071fee200046013127..."} 
[2026-07-27 21:40:37] local.INFO: Processing buffer {"connection_id":143181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa45696f0012d196940071fee200046013127..."} 
[2026-07-27 21:40:37] local.INFO: Packet analysis {"connection_id":143181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa456"} 
[2026-07-27 21:40:37] local.INFO: Extracted packet for processing {"connection_id":143181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa456"} 
[2026-07-27 21:40:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":70,"angle":305,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 21:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003075840001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:40:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 21:40:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:40:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:40:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785168566000,"timestamp_ms":1785168566000,"timestamp_seconds":1785168566,"priority":1,"record_length":96,"hex_timestamp":"0000019fa45696f0"} 
[2026-07-27 21:40:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:40:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 21:40:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:40:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:40:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:40:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:40:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:40:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143181,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:40:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143181,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:40:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:40:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 21:40:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 21:40:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003075840001,"66":2144,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 21:40:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 21:40:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 21:40:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003075840001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:40:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 21:40:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 21:40:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:40:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:40:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003075840001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 21:40:37] local.INFO: DEBUG: GPS processor result {"connection_id":143181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555573,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:40:37] local.INFO: GPS data processed {"connection_id":143181,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:40:37] local.INFO: Acknowledgment sent {"connection_id":143181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:40:38] local.INFO: TCP Data received {"connection_id":145595,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:40:38] local.INFO: Processing buffer {"connection_id":145595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:40:38] local.INFO: IMEI packet received {"connection_id":145595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 21:40:38] local.INFO: IMEI acknowledgment sent {"connection_id":145595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:40:39] local.INFO: TCP Data received {"connection_id":145595,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4569308012dab01c005ffbaf00018014426..."} 
[2026-07-27 21:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4569308012dab01c005ffbaf00018014426..."} 
[2026-07-27 21:40:39] local.INFO: Processing buffer {"connection_id":145595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4569308012dab01c005ffbaf00018014426..."} 
[2026-07-27 21:40:39] local.INFO: Packet analysis {"connection_id":145595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa456"} 
[2026-07-27 21:40:39] local.INFO: Extracted packet for processing {"connection_id":145595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa456"} 
[2026-07-27 21:40:39] local.INFO: GPS Element Parsed {"raw_longitude":766181824,"raw_latitude":100645616,"longitude_deg":76.6181824,"latitude_deg":10.0645616,"altitude":24,"angle":324,"satellites":38,"speed":37,"hex_longitude":"2dab01c0","hex_latitude":"05ffbaf0","is_valid_coordinates":true} 
[2026-07-27 21:40:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:40:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003150592001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:40:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359394462373249024,"note":"Value kept but may cause issues"} 
[2026-07-27 21:40:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6120321499088715776,"note":"Value kept but may cause issues"} 
[2026-07-27 21:40:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:40:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785168565000,"timestamp_ms":1785168565000,"timestamp_seconds":1785168565,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4569308"} 
[2026-07-27 21:40:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:40:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 21: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-27 21:40:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:40:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:40:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:40:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:40:39] local.INFO: Teltonika packet parsed successfully {"connection_id":145595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:40:39] local.INFO: Passing IMEI to GPS processor {"connection_id":145595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:40:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":145595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:40:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:40:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:40:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:40:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003150592001,"66":27463,"130":206,"88":20480,"24":37,"16":359394462373249024,"45":-6120321499088715776},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,88,24,16,45]} 
[2026-07-27 21:40:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:40:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:40:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003150592001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:40:39] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-07-27 21:40:39] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 21:40:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359394462373249024,"km_value":359394462373249.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:40:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6120321499088715776,"description":"Unknown IO ID 45"} 
[2026-07-27 21:40:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003150592001,"power":27463,"unknown_130":206,"unknown_88":20480,"ignition":37,"odometer":null,"unknown_45":-6120321499088715776}} 
[2026-07-27 21:40:39] local.INFO: DEBUG: GPS processor result {"connection_id":145595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:40:39] local.INFO: GPS data processed {"connection_id":145595,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:40:39] local.INFO: Acknowledgment sent {"connection_id":145595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:40:42] local.INFO: TCP Data received {"connection_id":145595,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fa456aa78012daaf28005ffcb500017013826..."} 
[2026-07-27 21:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa456aa78012daaf28005ffcb500017013826..."} 
[2026-07-27 21:40:42] local.INFO: Processing buffer {"connection_id":145595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa456aa78012daaf28005ffcb500017013826..."} 
[2026-07-27 21:40:42] local.INFO: Packet analysis {"connection_id":145595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa456"} 
[2026-07-27 21:40:42] local.INFO: Extracted packet for processing {"connection_id":145595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa456"} 
[2026-07-27 21:40:42] local.INFO: GPS Element Parsed {"raw_longitude":766177920,"raw_latitude":100649808,"longitude_deg":76.617792,"latitude_deg":10.0649808,"altitude":23,"angle":312,"satellites":38,"speed":38,"hex_longitude":"2daaf280","hex_latitude":"05ffcb50","is_valid_coordinates":true} 
[2026-07-27 21:40:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:40:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003152640001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:40:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359394737251155968,"note":"Value kept but may cause issues"} 
[2026-07-27 21:40:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6124402886249353216,"note":"Value kept but may cause issues"} 
[2026-07-27 21:40:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:40:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785168571000,"timestamp_ms":1785168571000,"timestamp_seconds":1785168571,"priority":1,"record_length":96,"hex_timestamp":"0000019fa456aa78"} 
[2026-07-27 21:40:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:40:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 21: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-27 21:40:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:40:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:40:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:40:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:40:42] local.INFO: Teltonika packet parsed successfully {"connection_id":145595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:40:42] local.INFO: Passing IMEI to GPS processor {"connection_id":145595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:40:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":145595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:40:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:40:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:40:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:40:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003152640001,"66":27234,"130":206,"88":20480,"24":38,"16":359394737251155968,"45":-6124402886249353216},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,88,24,16,45]} 
[2026-07-27 21:40:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:40:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:40:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003152640001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:40:42] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-07-27 21:40:42] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 21:40:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359394737251155968,"km_value":359394737251155.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:40:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6124402886249353216,"description":"Unknown IO ID 45"} 
[2026-07-27 21:40:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003152640001,"power":27234,"unknown_130":206,"unknown_88":20480,"ignition":38,"odometer":null,"unknown_45":-6124402886249353216}} 
[2026-07-27 21:40:42] local.INFO: DEBUG: GPS processor result {"connection_id":145595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:40:42] local.INFO: GPS data processed {"connection_id":145595,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:40:42] local.INFO: Acknowledgment sent {"connection_id":145595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:41:04] local.INFO: TCP Data received {"connection_id":144326,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144326,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:41:04] local.INFO: Processing buffer {"connection_id":144326,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:41:04] local.INFO: IMEI packet received {"connection_id":144326,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 21:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":144326,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:41:09] local.INFO: TCP Data received {"connection_id":144326,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144326,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:41:09] local.INFO: Processing buffer {"connection_id":144326,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:41:09] local.INFO: IMEI packet received {"connection_id":144326,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 21:41:09] local.INFO: IMEI acknowledgment sent {"connection_id":144326,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:41:10] local.INFO: TCP Data received {"connection_id":144326,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa45696f0012d196940071fee200046013127..."} 
[2026-07-27 21:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa45696f0012d196940071fee200046013127..."} 
[2026-07-27 21:41:10] local.INFO: Processing buffer {"connection_id":144326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa45696f0012d196940071fee200046013127..."} 
[2026-07-27 21:41:10] local.INFO: Packet analysis {"connection_id":144326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa456"} 
[2026-07-27 21:41:10] local.INFO: Extracted packet for processing {"connection_id":144326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa456"} 
[2026-07-27 21:41:10] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":70,"angle":305,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 21:41:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:41:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003075840001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:41:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 21:41:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:41:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:41:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785168566000,"timestamp_ms":1785168566000,"timestamp_seconds":1785168566,"priority":1,"record_length":96,"hex_timestamp":"0000019fa45696f0"} 
[2026-07-27 21:41:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:41:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 21:41:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:41:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:41:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:41:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:41:10] local.INFO: Teltonika packet parsed successfully {"connection_id":144326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:41:10] local.INFO: Passing IMEI to GPS processor {"connection_id":144326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:41:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":144326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:41:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:41:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 21:41:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 21:41:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003075840001,"66":2144,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 21:41:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 21:41:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 21:41:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003075840001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:41:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 21:41:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 21:41:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:41:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:41:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003075840001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 21:41:10] local.INFO: DEBUG: GPS processor result {"connection_id":144326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555576,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:41:10] local.INFO: GPS data processed {"connection_id":144326,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:41:10] local.INFO: Acknowledgment sent {"connection_id":144326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:41:12] local.INFO: TCP Data received {"connection_id":145595,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fa456ba18012daae64005ffd3e00017012a27..."} 
[2026-07-27 21:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa456ba18012daae64005ffd3e00017012a27..."} 
[2026-07-27 21:41:12] local.INFO: Processing buffer {"connection_id":145595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa456ba18012daae64005ffd3e00017012a27..."} 
[2026-07-27 21:41:12] local.INFO: Packet analysis {"connection_id":145595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa456"} 
[2026-07-27 21:41:12] local.INFO: Extracted packet for processing {"connection_id":145595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa456"} 
[2026-07-27 21:41:12] local.INFO: GPS Element Parsed {"raw_longitude":766174784,"raw_latitude":100652000,"longitude_deg":76.6174784,"latitude_deg":10.0652,"altitude":23,"angle":298,"satellites":39,"speed":38,"hex_longitude":"2daae640","hex_latitude":"05ffd3e0","is_valid_coordinates":true} 
[2026-07-27 21:41:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:41:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003154176001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:41:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359394921934749696,"note":"Value kept but may cause issues"} 
[2026-07-27 21:41:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6128695379643117568,"note":"Value kept but may cause issues"} 
[2026-07-27 21:41:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:41:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785168575000,"timestamp_ms":1785168575000,"timestamp_seconds":1785168575,"priority":1,"record_length":96,"hex_timestamp":"0000019fa456ba18"} 
[2026-07-27 21:41:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:41:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 21:41:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-27 21:41:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:41:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:41:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:41:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:41:12] local.INFO: Teltonika packet parsed successfully {"connection_id":145595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:41:12] local.INFO: Passing IMEI to GPS processor {"connection_id":145595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:41:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":145595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:41:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:41:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:41:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:41:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003154176001,"66":27321,"130":206,"88":20480,"24":38,"16":359394921934749696,"45":-6128695379643117568},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,88,24,16,45]} 
[2026-07-27 21:41:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:41:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:41:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003154176001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:41:13] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-07-27 21:41:13] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 21:41:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359394921934749696,"km_value":359394921934749.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:41:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6128695379643117568,"description":"Unknown IO ID 45"} 
[2026-07-27 21:41:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003154176001,"power":27321,"unknown_130":206,"unknown_88":20480,"ignition":38,"odometer":null,"unknown_45":-6128695379643117568}} 
[2026-07-27 21:41:13] local.INFO: DEBUG: GPS processor result {"connection_id":145595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:41:13] local.INFO: GPS data processed {"connection_id":145595,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:41:13] local.INFO: Acknowledgment sent {"connection_id":145595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:41:15] local.INFO: TCP Data received {"connection_id":144326,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa45696f0012d196940071fee200046013127..."} 
[2026-07-27 21:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa45696f0012d196940071fee200046013127..."} 
[2026-07-27 21:41:15] local.INFO: Processing buffer {"connection_id":144326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa45696f0012d196940071fee200046013127..."} 
[2026-07-27 21:41:15] local.INFO: Packet analysis {"connection_id":144326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa456"} 
[2026-07-27 21:41:15] local.INFO: Extracted packet for processing {"connection_id":144326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa456"} 
[2026-07-27 21:41:15] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":70,"angle":305,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 21: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-07-27 21:41:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003075840001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:41:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 21:41:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:41: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-07-27 21:41:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785168566000,"timestamp_ms":1785168566000,"timestamp_seconds":1785168566,"priority":1,"record_length":96,"hex_timestamp":"0000019fa45696f0"} 
[2026-07-27 21:41:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:41:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 21:41:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21: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-07-27 21:41:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:41:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:41:15] local.INFO: Teltonika packet parsed successfully {"connection_id":144326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:41:15] local.INFO: Passing IMEI to GPS processor {"connection_id":144326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:41:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":144326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:41:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:41:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 21:41:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 21:41:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003075840001,"66":2144,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 21:41:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 21:41:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 21:41:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003075840001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:41:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 21:41:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 21:41:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:41:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:41:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003075840001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 21:41:15] local.INFO: DEBUG: GPS processor result {"connection_id":144326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555578,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:41:15] local.INFO: GPS data processed {"connection_id":144326,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:41:15] local.INFO: Acknowledgment sent {"connection_id":144326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:41:31] local.INFO: TCP Data received {"connection_id":144327,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:41:31] local.INFO: Processing buffer {"connection_id":144327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:41:31] local.INFO: IMEI packet received {"connection_id":144327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 21:41:31] local.INFO: IMEI acknowledgment sent {"connection_id":144327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:41:32] local.INFO: TCP Data received {"connection_id":144327,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:41:32] local.INFO: Processing buffer {"connection_id":144327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:41:32] local.INFO: IMEI packet received {"connection_id":144327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 21:41:32] local.INFO: IMEI acknowledgment sent {"connection_id":144327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:41:36] local.INFO: TCP Data received {"connection_id":144327,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:41:36] local.INFO: Processing buffer {"connection_id":144327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:41:36] local.INFO: IMEI packet received {"connection_id":144327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 21:41:36] local.INFO: IMEI acknowledgment sent {"connection_id":144327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:41:37] local.INFO: TCP Data received {"connection_id":144327,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fa457b418012daa74c006004338001900092b..."} 
[2026-07-27 21:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa457b418012daa74c006004338001900092b..."} 
[2026-07-27 21:41:37] local.INFO: Processing buffer {"connection_id":144327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa457b418012daa74c006004338001900092b..."} 
[2026-07-27 21:41:37] local.INFO: Packet analysis {"connection_id":144327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa457"} 
[2026-07-27 21:41:37] local.INFO: Extracted packet for processing {"connection_id":144327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa457"} 
[2026-07-27 21:41:37] local.INFO: GPS Element Parsed {"raw_longitude":766145728,"raw_latitude":100680504,"longitude_deg":76.6145728,"latitude_deg":10.0680504,"altitude":25,"angle":9,"satellites":43,"speed":12,"hex_longitude":"2daa74c0","hex_latitude":"06004338","is_valid_coordinates":true} 
[2026-07-27 21:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:41:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003168256001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:41:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359397202562383872,"note":"Value kept but may cause issues"} 
[2026-07-27 21:41:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6166764870236651520,"note":"Value kept but may cause issues"} 
[2026-07-27 21:41:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:41:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785168639000,"timestamp_ms":1785168639000,"timestamp_seconds":1785168639,"priority":1,"record_length":96,"hex_timestamp":"0000019fa457b418"} 
[2026-07-27 21:41:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:41:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 21:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-27 21:41:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:41:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:41:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:41:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:41:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:41:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:41:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:41:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:41:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:41:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:41:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003168256001,"66":27267,"60":206,"88":20480,"24":12,"16":359397202562383872,"45":-6166764870236651520},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,88,24,16,45]} 
[2026-07-27 21:41:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:41:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:41:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003168256001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:41:37] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-07-27 21:41:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 21:41:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359397202562383872,"km_value":359397202562383.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:41:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6166764870236651520,"description":"Unknown IO ID 45"} 
[2026-07-27 21:41:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003168256001,"power":27267,"unknown_60":206,"unknown_88":20480,"ignition":12,"odometer":null,"unknown_45":-6166764870236651520}} 
[2026-07-27 21:41:37] local.INFO: DEBUG: GPS processor result {"connection_id":144327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:41:37] local.INFO: GPS data processed {"connection_id":144327,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:41:37] local.INFO: Acknowledgment sent {"connection_id":144327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:41:39] local.INFO: TCP Data received {"connection_id":144327,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fa457bbe8012daa7500060045c0001901592b..."} 
[2026-07-27 21:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa457bbe8012daa7500060045c0001901592b..."} 
[2026-07-27 21:41:39] local.INFO: Processing buffer {"connection_id":144327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa457bbe8012daa7500060045c0001901592b..."} 
[2026-07-27 21:41:39] local.INFO: Packet analysis {"connection_id":144327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa457"} 
[2026-07-27 21:41:39] local.INFO: Extracted packet for processing {"connection_id":144327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa457"} 
[2026-07-27 21:41:39] local.INFO: GPS Element Parsed {"raw_longitude":766145792,"raw_latitude":100681152,"longitude_deg":76.6145792,"latitude_deg":10.0681152,"altitude":25,"angle":345,"satellites":43,"speed":12,"hex_longitude":"2daa7500","hex_latitude":"060045c0","is_valid_coordinates":true} 
[2026-07-27 21: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-07-27 21:41:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003171584001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:41:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359397236922122240,"note":"Value kept but may cause issues"} 
[2026-07-27 21:41:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6164090857956624384,"note":"Value kept but may cause issues"} 
[2026-07-27 21:41:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:41:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785168641000,"timestamp_ms":1785168641000,"timestamp_seconds":1785168641,"priority":1,"record_length":96,"hex_timestamp":"0000019fa457bbe8"} 
[2026-07-27 21:41:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:41:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 21: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-27 21:41:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21: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-07-27 21:41:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:41:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:41:39] local.INFO: Teltonika packet parsed successfully {"connection_id":144327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:41:39] local.INFO: Passing IMEI to GPS processor {"connection_id":144327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:41:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":144327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:41:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:41:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:41:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:41:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003171584001,"66":27267,"60":206,"88":20480,"24":12,"16":359397236922122240,"45":-6164090857956624384},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,88,24,16,45]} 
[2026-07-27 21:41:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:41:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:41:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003171584001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:41:39] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-07-27 21:41:39] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 21:41:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359397236922122240,"km_value":359397236922122.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:41:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6164090857956624384,"description":"Unknown IO ID 45"} 
[2026-07-27 21:41:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003171584001,"power":27267,"unknown_60":206,"unknown_88":20480,"ignition":12,"odometer":null,"unknown_45":-6164090857956624384}} 
[2026-07-27 21:41:39] local.INFO: DEBUG: GPS processor result {"connection_id":144327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:41:39] local.INFO: GPS data processed {"connection_id":144327,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:41:39] local.INFO: Acknowledgment sent {"connection_id":144327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:41:59] local.INFO: TCP Data received {"connection_id":143182,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143182,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:41:59] local.INFO: Processing buffer {"connection_id":143182,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:41:59] local.INFO: IMEI packet received {"connection_id":143182,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 21:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":143182,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:42:10] local.INFO: TCP Data received {"connection_id":144327,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fa457bfd0012daa7440060046f00019014d29..."} 
[2026-07-27 21:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa457bfd0012daa7440060046f00019014d29..."} 
[2026-07-27 21:42:10] local.INFO: Processing buffer {"connection_id":144327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa457bfd0012daa7440060046f00019014d29..."} 
[2026-07-27 21:42:10] local.INFO: Packet analysis {"connection_id":144327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa457"} 
[2026-07-27 21:42:10] local.INFO: Extracted packet for processing {"connection_id":144327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa457"} 
[2026-07-27 21:42:10] local.INFO: GPS Element Parsed {"raw_longitude":766145600,"raw_latitude":100681456,"longitude_deg":76.61456,"latitude_deg":10.0681456,"altitude":25,"angle":333,"satellites":41,"speed":13,"hex_longitude":"2daa7440","hex_latitude":"060046f0","is_valid_coordinates":true} 
[2026-07-27 21:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:42:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003172096001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:42:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359397249807024128,"note":"Value kept but may cause issues"} 
[2026-07-27 21:42:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6164020489212280832,"note":"Value kept but may cause issues"} 
[2026-07-27 21:42:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:42:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785168642000,"timestamp_ms":1785168642000,"timestamp_seconds":1785168642,"priority":1,"record_length":96,"hex_timestamp":"0000019fa457bfd0"} 
[2026-07-27 21:42:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:42:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 21:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-27 21:42:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:42:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:42:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:42:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:42:10] local.INFO: Teltonika packet parsed successfully {"connection_id":144327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:42:10] local.INFO: Passing IMEI to GPS processor {"connection_id":144327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:42:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":144327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:42:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:42:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:42:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:42:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003172096001,"66":27310,"60":206,"88":20480,"24":13,"16":359397249807024128,"45":-6164020489212280832},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,88,24,16,45]} 
[2026-07-27 21:42:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:42:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:42:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003172096001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:42:10] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-07-27 21:42:10] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-27 21:42:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359397249807024128,"km_value":359397249807024.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:42:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6164020489212280832,"description":"Unknown IO ID 45"} 
[2026-07-27 21:42:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003172096001,"power":27310,"unknown_60":206,"unknown_88":20480,"ignition":13,"odometer":null,"unknown_45":-6164020489212280832}} 
[2026-07-27 21:42:10] local.INFO: DEBUG: GPS processor result {"connection_id":144327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:42:10] local.INFO: GPS data processed {"connection_id":144327,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:42:10] local.INFO: Acknowledgment sent {"connection_id":144327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:42:15] local.INFO: TCP Data received {"connection_id":143182,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143182,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:42:15] local.INFO: Processing buffer {"connection_id":143182,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:42:15] local.INFO: IMEI packet received {"connection_id":143182,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 21:42:15] local.INFO: IMEI acknowledgment sent {"connection_id":143182,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:42:29] local.INFO: TCP Data received {"connection_id":145597,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:42:29] local.INFO: Processing buffer {"connection_id":145597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:42:29] local.INFO: IMEI packet received {"connection_id":145597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 21:42:29] local.INFO: IMEI acknowledgment sent {"connection_id":145597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:42:29] local.INFO: TCP Data received {"connection_id":145597,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:42:29] local.INFO: Processing buffer {"connection_id":145597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:42:29] local.INFO: IMEI packet received {"connection_id":145597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 21:42:29] local.INFO: IMEI acknowledgment sent {"connection_id":145597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:42:31] local.INFO: TCP Data received {"connection_id":145597,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:42:31] local.INFO: Processing buffer {"connection_id":145597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:42:31] local.INFO: IMEI packet received {"connection_id":145597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 21:42:31] local.INFO: IMEI acknowledgment sent {"connection_id":145597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:42:32] local.INFO: TCP Data received {"connection_id":145597,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:42:32] local.INFO: Processing buffer {"connection_id":145597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:42:32] local.INFO: IMEI packet received {"connection_id":145597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 21:42:32] local.INFO: IMEI acknowledgment sent {"connection_id":145597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:42:52] local.INFO: TCP Data received {"connection_id":143182,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa45696f0012d196940071fee200046013127..."} 
[2026-07-27 21:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143182,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa45696f0012d196940071fee200046013127..."} 
[2026-07-27 21:42:52] local.INFO: Processing buffer {"connection_id":143182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa45696f0012d196940071fee200046013127..."} 
[2026-07-27 21:42:52] local.INFO: Packet analysis {"connection_id":143182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa456"} 
[2026-07-27 21:42:52] local.INFO: Extracted packet for processing {"connection_id":143182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa456"} 
[2026-07-27 21:42:52] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":70,"angle":305,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 21:42:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:42:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003075840001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:42:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 21:42:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:42: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-07-27 21:42:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785168566000,"timestamp_ms":1785168566000,"timestamp_seconds":1785168566,"priority":1,"record_length":96,"hex_timestamp":"0000019fa45696f0"} 
[2026-07-27 21:42:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:42:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:42:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 21:42:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:42:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:42:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:42:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:42:52] local.INFO: Teltonika packet parsed successfully {"connection_id":143182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:42:52] local.INFO: Passing IMEI to GPS processor {"connection_id":143182,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:42:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":143182,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:42:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:42:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 21:42:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 21:42:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003075840001,"66":2144,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 21:42:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 21:42:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 21:42:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003075840001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:42:52] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 21:42:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 21:42:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:42:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:42:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003075840001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 21:42:52] local.INFO: DEBUG: GPS processor result {"connection_id":143182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555582,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:42:52] local.INFO: GPS data processed {"connection_id":143182,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:42:52] local.INFO: Acknowledgment sent {"connection_id":143182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:43:24] local.INFO: TCP Data received {"connection_id":145598,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:43:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145598,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:43:24] local.INFO: Processing buffer {"connection_id":145598,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:43:24] local.INFO: IMEI packet received {"connection_id":145598,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 21:43:24] local.INFO: IMEI acknowledgment sent {"connection_id":145598,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:43:24] local.INFO: TCP Data received {"connection_id":145598,"ip":"117.225.227.158","data_length":51,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-27 21:43:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145598,"packet_length":51,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-27 21:43:24] local.INFO: Processing buffer {"connection_id":145598,"buffer_length":51,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-27 21:43:24] local.INFO: IMEI packet received {"connection_id":145598,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 21:43:24] local.INFO: IMEI acknowledgment sent {"connection_id":145598,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:45:42] local.INFO: TCP Data received {"connection_id":145596,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 21:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145596,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 21:45:42] local.INFO: Processing buffer {"connection_id":145596,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 21:45:42] local.INFO: IMEI packet received {"connection_id":145596,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 21:45:42] local.INFO: IMEI acknowledgment sent {"connection_id":145596,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:47:36] local.INFO: TCP Data received {"connection_id":145602,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:47:36] local.INFO: Processing buffer {"connection_id":145602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:47:36] local.INFO: IMEI packet received {"connection_id":145602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 21:47:36] local.INFO: IMEI acknowledgment sent {"connection_id":145602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:47:37] local.INFO: TCP Data received {"connection_id":145602,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa45bafa0012da7c9000600fe880024013a28..."} 
[2026-07-27 21:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145602,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa45bafa0012da7c9000600fe880024013a28..."} 
[2026-07-27 21:47:37] local.INFO: Processing buffer {"connection_id":145602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa45bafa0012da7c9000600fe880024013a28..."} 
[2026-07-27 21:47:37] local.INFO: Packet analysis {"connection_id":145602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa45b"} 
[2026-07-27 21:47:37] local.INFO: Extracted packet for processing {"connection_id":145602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa45b"} 
[2026-07-27 21:47:37] local.INFO: GPS Element Parsed {"raw_longitude":765970688,"raw_latitude":100728456,"longitude_deg":76.5970688,"latitude_deg":10.0728456,"altitude":36,"angle":314,"satellites":40,"speed":36,"hex_longitude":"2da7c900","hex_latitude":"0600fe88","is_valid_coordinates":true} 
[2026-07-27 21:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:47:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003235840001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:47:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359406668670304256,"note":"Value kept but may cause issues"} 
[2026-07-27 21:47:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6349160655133171712,"note":"Value kept but may cause issues"} 
[2026-07-27 21:47:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:47:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785168900000,"timestamp_ms":1785168900000,"timestamp_seconds":1785168900,"priority":1,"record_length":96,"hex_timestamp":"0000019fa45bafa0"} 
[2026-07-27 21:47:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:47:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 21:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-27 21:47:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:47:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:47:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:47:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:47:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:47:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:47:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:47:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:47:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:47:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:47:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003235840001,"66":27397,"221":206,"88":20992,"24":36,"16":359406668670304256,"45":-6349160655133171712},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,88,24,16,45]} 
[2026-07-27 21:47:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:47:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:47:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003235840001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:47:37] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-27 21:47:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-07-27 21:47:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359406668670304256,"km_value":359406668670304.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:47:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6349160655133171712,"description":"Unknown IO ID 45"} 
[2026-07-27 21:47:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003235840001,"power":27397,"unknown_221":206,"unknown_88":20992,"ignition":36,"odometer":null,"unknown_45":-6349160655133171712}} 
[2026-07-27 21:47:37] local.INFO: DEBUG: GPS processor result {"connection_id":145602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:47:37] local.INFO: GPS data processed {"connection_id":145602,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:47:37] local.INFO: Acknowledgment sent {"connection_id":145602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:48:08] local.INFO: TCP Data received {"connection_id":145602,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fa45bd6b0012da7af40060119e00022013e29..."} 
[2026-07-27 21:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145602,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa45bd6b0012da7af40060119e00022013e29..."} 
[2026-07-27 21:48:08] local.INFO: Processing buffer {"connection_id":145602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa45bd6b0012da7af40060119e00022013e29..."} 
[2026-07-27 21:48:08] local.INFO: Packet analysis {"connection_id":145602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa45b"} 
[2026-07-27 21:48:08] local.INFO: Extracted packet for processing {"connection_id":145602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa45b"} 
[2026-07-27 21:48:08] local.INFO: GPS Element Parsed {"raw_longitude":765964096,"raw_latitude":100735456,"longitude_deg":76.5964096,"latitude_deg":10.0735456,"altitude":34,"angle":318,"satellites":41,"speed":39,"hex_longitude":"2da7af40","hex_latitude":"060119e0","is_valid_coordinates":true} 
[2026-07-27 21:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:48:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003238400001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:48:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359407132526772224,"note":"Value kept but may cause issues"} 
[2026-07-27 21:48:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6356549373270259712,"note":"Value kept but may cause issues"} 
[2026-07-27 21:48:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:48:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785168910000,"timestamp_ms":1785168910000,"timestamp_seconds":1785168910,"priority":1,"record_length":96,"hex_timestamp":"0000019fa45bd6b0"} 
[2026-07-27 21:48:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:48:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-27 21:48:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:48:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:48:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:48:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:48:08] local.INFO: Teltonika packet parsed successfully {"connection_id":145602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:48:08] local.INFO: Passing IMEI to GPS processor {"connection_id":145602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:48:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":145602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:48:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:48:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:48:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:48:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003238400001,"66":27484,"221":206,"88":20992,"24":39,"16":359407132526772224,"45":-6356549373270259712},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,88,24,16,45]} 
[2026-07-27 21:48:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:48:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:48:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003238400001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:48:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-27 21:48:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-07-27 21:48:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359407132526772224,"km_value":359407132526772.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:48:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6356549373270259712,"description":"Unknown IO ID 45"} 
[2026-07-27 21:48:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003238400001,"power":27484,"unknown_221":206,"unknown_88":20992,"ignition":39,"odometer":null,"unknown_45":-6356549373270259712}} 
[2026-07-27 21:48:08] local.INFO: DEBUG: GPS processor result {"connection_id":145602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:48:08] local.INFO: GPS data processed {"connection_id":145602,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:48:08] local.INFO: Acknowledgment sent {"connection_id":145602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:48:29] local.INFO: TCP Data received {"connection_id":143183,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143183,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:48:29] local.INFO: Processing buffer {"connection_id":143183,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:48:29] local.INFO: IMEI packet received {"connection_id":143183,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 21:48:29] local.INFO: IMEI acknowledgment sent {"connection_id":143183,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:48:30] local.INFO: TCP Data received {"connection_id":143183,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa45b2eb8012d196940071fee200046013126..."} 
[2026-07-27 21:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143183,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa45b2eb8012d196940071fee200046013126..."} 
[2026-07-27 21:48:30] local.INFO: Processing buffer {"connection_id":143183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa45b2eb8012d196940071fee200046013126..."} 
[2026-07-27 21:48:30] local.INFO: Packet analysis {"connection_id":143183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa45b"} 
[2026-07-27 21:48:30] local.INFO: Extracted packet for processing {"connection_id":143183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa45b"} 
[2026-07-27 21:48:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":70,"angle":305,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 21:48:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:48:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003152896001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:48:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 21:48:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:48:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:48:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785168867000,"timestamp_ms":1785168867000,"timestamp_seconds":1785168867,"priority":1,"record_length":96,"hex_timestamp":"0000019fa45b2eb8"} 
[2026-07-27 21:48:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:48:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:48:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-27 21:48:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:48:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:48:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:48:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:48:30] local.INFO: Teltonika packet parsed successfully {"connection_id":143183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:48:30] local.INFO: Passing IMEI to GPS processor {"connection_id":143183,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:48:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":143183,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:48:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:48:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 21:48:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 21:48:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003152896001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 21:48:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 21:48:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 21:48:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003152896001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:48:30] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 21:48:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 21:48:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:48:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:48:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003152896001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 21:48:30] local.INFO: DEBUG: GPS processor result {"connection_id":143183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555585,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:48:30] local.INFO: GPS data processed {"connection_id":143183,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:48:30] local.INFO: Acknowledgment sent {"connection_id":143183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:48:36] local.INFO: TCP Data received {"connection_id":143319,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:48:36] local.INFO: Processing buffer {"connection_id":143319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:48:36] local.INFO: IMEI packet received {"connection_id":143319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 21:48:36] local.INFO: IMEI acknowledgment sent {"connection_id":143319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:48:41] local.INFO: TCP Data received {"connection_id":143319,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:48:41] local.INFO: Processing buffer {"connection_id":143319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:48:41] local.INFO: IMEI packet received {"connection_id":143319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 21:48:41] local.INFO: IMEI acknowledgment sent {"connection_id":143319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:48:42] local.INFO: TCP Data received {"connection_id":143319,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa45bfdc0012da79640060136000023014026..."} 
[2026-07-27 21:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa45bfdc0012da79640060136000023014026..."} 
[2026-07-27 21:48:42] local.INFO: Processing buffer {"connection_id":143319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa45bfdc0012da79640060136000023014026..."} 
[2026-07-27 21:48:42] local.INFO: Packet analysis {"connection_id":143319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa45b"} 
[2026-07-27 21:48:42] local.INFO: Extracted packet for processing {"connection_id":143319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa45b"} 
[2026-07-27 21:48:42] local.INFO: GPS Element Parsed {"raw_longitude":765957696,"raw_latitude":100742656,"longitude_deg":76.5957696,"latitude_deg":10.0742656,"altitude":35,"angle":320,"satellites":38,"speed":36,"hex_longitude":"2da79640","hex_latitude":"06013600","is_valid_coordinates":true} 
[2026-07-27 21:48:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:48:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003240960001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:48:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359407596383240192,"note":"Value kept but may cause issues"} 
[2026-07-27 21:48:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6363797353918767104,"note":"Value kept but may cause issues"} 
[2026-07-27 21:48:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:48:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785168920000,"timestamp_ms":1785168920000,"timestamp_seconds":1785168920,"priority":1,"record_length":96,"hex_timestamp":"0000019fa45bfdc0"} 
[2026-07-27 21:48:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:48:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 21: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-27 21:48:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:48:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:48:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:48:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:48:42] local.INFO: Teltonika packet parsed successfully {"connection_id":143319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:48:42] local.INFO: Passing IMEI to GPS processor {"connection_id":143319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:48:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":143319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:48:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:48:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:48:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:48:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003240960001,"66":27310,"188":206,"88":20992,"24":36,"16":359407596383240192,"45":-6363797353918767104},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,88,24,16,45]} 
[2026-07-27 21:48:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:48:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:48:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003240960001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:48:42] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-07-27 21:48:42] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-07-27 21:48:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359407596383240192,"km_value":359407596383240.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:48:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6363797353918767104,"description":"Unknown IO ID 45"} 
[2026-07-27 21:48:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003240960001,"power":27310,"unknown_188":206,"unknown_88":20992,"ignition":36,"odometer":null,"unknown_45":-6363797353918767104}} 
[2026-07-27 21:48:42] local.INFO: DEBUG: GPS processor result {"connection_id":143319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:48:42] local.INFO: GPS data processed {"connection_id":143319,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:48:42] local.INFO: Acknowledgment sent {"connection_id":143319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:48:46] local.INFO: TCP Data received {"connection_id":143319,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa45c28b8012da77c00060151600024013826..."} 
[2026-07-27 21:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa45c28b8012da77c00060151600024013826..."} 
[2026-07-27 21:48:46] local.INFO: Processing buffer {"connection_id":143319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa45c28b8012da77c00060151600024013826..."} 
[2026-07-27 21:48:46] local.INFO: Packet analysis {"connection_id":143319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa45c"} 
[2026-07-27 21:48:46] local.INFO: Extracted packet for processing {"connection_id":143319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa45c"} 
[2026-07-27 21:48:46] local.INFO: GPS Element Parsed {"raw_longitude":765950976,"raw_latitude":100749664,"longitude_deg":76.5950976,"latitude_deg":10.0749664,"altitude":36,"angle":312,"satellites":38,"speed":34,"hex_longitude":"2da77c00","hex_latitude":"06015160","is_valid_coordinates":true} 
[2026-07-27 21:48:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:48:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003243520001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:48:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359408064534675456,"note":"Value kept but may cause issues"} 
[2026-07-27 21:48:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6370834228334690304,"note":"Value kept but may cause issues"} 
[2026-07-27 21:48:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:48:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785168931000,"timestamp_ms":1785168931000,"timestamp_seconds":1785168931,"priority":1,"record_length":96,"hex_timestamp":"0000019fa45c28b8"} 
[2026-07-27 21:48:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:48:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 21:48:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-27 21:48:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:48:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:48:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:48:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:48:46] local.INFO: Teltonika packet parsed successfully {"connection_id":143319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:48:46] local.INFO: Passing IMEI to GPS processor {"connection_id":143319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:48:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":143319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:48:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:48:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:48:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:48:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003243520001,"66":27517,"188":206,"88":20992,"24":34,"16":359408064534675456,"45":-6370834228334690304},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,88,24,16,45]} 
[2026-07-27 21:48:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:48:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:48:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003243520001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:48:46] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-07-27 21:48:46] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-07-27 21:48:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359408064534675456,"km_value":359408064534675.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:48:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6370834228334690304,"description":"Unknown IO ID 45"} 
[2026-07-27 21:48:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003243520001,"power":27517,"unknown_188":206,"unknown_88":20992,"ignition":34,"odometer":null,"unknown_45":-6370834228334690304}} 
[2026-07-27 21:48:46] local.INFO: DEBUG: GPS processor result {"connection_id":143319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:48:46] local.INFO: GPS data processed {"connection_id":143319,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:48:46] local.INFO: Acknowledgment sent {"connection_id":143319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:48:59] local.INFO: TCP Data received {"connection_id":143184,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143184,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:48:59] local.INFO: Processing buffer {"connection_id":143184,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:48:59] local.INFO: IMEI packet received {"connection_id":143184,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 21:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":143184,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:49:04] local.INFO: TCP Data received {"connection_id":143184,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143184,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:49:04] local.INFO: Processing buffer {"connection_id":143184,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:49:04] local.INFO: IMEI packet received {"connection_id":143184,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 21:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":143184,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:49:05] local.INFO: TCP Data received {"connection_id":143184,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa45b2eb8012d196940071fee200046013126..."} 
[2026-07-27 21:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143184,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa45b2eb8012d196940071fee200046013126..."} 
[2026-07-27 21:49:05] local.INFO: Processing buffer {"connection_id":143184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa45b2eb8012d196940071fee200046013126..."} 
[2026-07-27 21:49:05] local.INFO: Packet analysis {"connection_id":143184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa45b"} 
[2026-07-27 21:49:05] local.INFO: Extracted packet for processing {"connection_id":143184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa45b"} 
[2026-07-27 21:49:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":70,"angle":305,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 21:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:49:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003152896001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:49:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 21:49:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:49:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:49:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785168867000,"timestamp_ms":1785168867000,"timestamp_seconds":1785168867,"priority":1,"record_length":96,"hex_timestamp":"0000019fa45b2eb8"} 
[2026-07-27 21:49:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:49:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-27 21:49:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:49:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:49:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:49:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:49:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:49:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143184,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:49:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143184,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:49:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:49:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 21:49:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 21:49:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003152896001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 21:49:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 21:49:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 21:49:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003152896001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:49:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 21:49:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 21:49:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:49:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:49:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003152896001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 21:49:05] local.INFO: DEBUG: GPS processor result {"connection_id":143184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555588,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:49:05] local.INFO: GPS data processed {"connection_id":143184,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:49:05] local.INFO: Acknowledgment sent {"connection_id":143184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:49:31] local.INFO: TCP Data received {"connection_id":144329,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:49:31] local.INFO: Processing buffer {"connection_id":144329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:49:31] local.INFO: IMEI packet received {"connection_id":144329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 21:49:31] local.INFO: IMEI acknowledgment sent {"connection_id":144329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:49:36] local.INFO: TCP Data received {"connection_id":144329,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:49:36] local.INFO: Processing buffer {"connection_id":144329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:49:36] local.INFO: IMEI packet received {"connection_id":144329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 21:49:36] local.INFO: IMEI acknowledgment sent {"connection_id":144329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:49:37] local.INFO: TCP Data received {"connection_id":144329,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa45c53b0012da75e40060169a00025013526..."} 
[2026-07-27 21:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa45c53b0012da75e40060169a00025013526..."} 
[2026-07-27 21:49:37] local.INFO: Processing buffer {"connection_id":144329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa45c53b0012da75e40060169a00025013526..."} 
[2026-07-27 21:49:37] local.INFO: Packet analysis {"connection_id":144329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa45c"} 
[2026-07-27 21:49:37] local.INFO: Extracted packet for processing {"connection_id":144329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa45c"} 
[2026-07-27 21:49:37] local.INFO: GPS Element Parsed {"raw_longitude":765943360,"raw_latitude":100755872,"longitude_deg":76.594336,"latitude_deg":10.0755872,"altitude":37,"angle":309,"satellites":38,"speed":37,"hex_longitude":"2da75e40","hex_latitude":"060169a0","is_valid_coordinates":true} 
[2026-07-27 21:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:49:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003246336001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:49:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359408536981078016,"note":"Value kept but may cause issues"} 
[2026-07-27 21:49:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6378222946471550976,"note":"Value kept but may cause issues"} 
[2026-07-27 21:49:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:49:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785168942000,"timestamp_ms":1785168942000,"timestamp_seconds":1785168942,"priority":1,"record_length":96,"hex_timestamp":"0000019fa45c53b0"} 
[2026-07-27 21:49:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:49:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 21:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-27 21:49:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:49:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:49:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:49:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:49:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:49:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:49:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:49:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:49:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:49:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:49:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003246336001,"66":27713,"188":206,"88":20992,"24":37,"16":359408536981078016,"45":-6378222946471550976},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,88,24,16,45]} 
[2026-07-27 21:49:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:49:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:49:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003246336001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:49:37] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-07-27 21:49:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-07-27 21:49:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359408536981078016,"km_value":359408536981078.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:49:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6378222946471550976,"description":"Unknown IO ID 45"} 
[2026-07-27 21:49:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003246336001,"power":27713,"unknown_188":206,"unknown_88":20992,"ignition":37,"odometer":null,"unknown_45":-6378222946471550976}} 
[2026-07-27 21:49:37] local.INFO: DEBUG: GPS processor result {"connection_id":144329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:49:37] local.INFO: GPS data processed {"connection_id":144329,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:49:37] local.INFO: Acknowledgment sent {"connection_id":144329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:49:37] local.INFO: TCP Data received {"connection_id":143184,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa45b2eb8012d196940071fee200046013126..."} 
[2026-07-27 21:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143184,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa45b2eb8012d196940071fee200046013126..."} 
[2026-07-27 21:49:37] local.INFO: Processing buffer {"connection_id":143184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa45b2eb8012d196940071fee200046013126..."} 
[2026-07-27 21:49:37] local.INFO: Packet analysis {"connection_id":143184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa45b"} 
[2026-07-27 21:49:37] local.INFO: Extracted packet for processing {"connection_id":143184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa45b"} 
[2026-07-27 21:49:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":70,"angle":305,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 21:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:49:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003152896001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:49:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 21:49:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:49:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:49:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785168867000,"timestamp_ms":1785168867000,"timestamp_seconds":1785168867,"priority":1,"record_length":96,"hex_timestamp":"0000019fa45b2eb8"} 
[2026-07-27 21:49:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:49:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-27 21:49:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:49:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:49:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:49:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:49:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:49:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143184,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:49:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143184,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:49:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:49:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 21:49:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 21:49:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003152896001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 21:49:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 21:49:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 21:49:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003152896001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:49:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 21:49:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 21:49:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:49:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:49:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003152896001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 21:49:37] local.INFO: DEBUG: GPS processor result {"connection_id":143184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555590,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:49:37] local.INFO: GPS data processed {"connection_id":143184,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:49:37] local.INFO: Acknowledgment sent {"connection_id":143184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:49:58] local.INFO: TCP Data received {"connection_id":145603,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145603,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:49:58] local.INFO: Processing buffer {"connection_id":145603,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:49:58] local.INFO: IMEI packet received {"connection_id":145603,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 21:49:58] local.INFO: IMEI acknowledgment sent {"connection_id":145603,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:50:04] local.INFO: TCP Data received {"connection_id":145603,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145603,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:50:04] local.INFO: Processing buffer {"connection_id":145603,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:50:04] local.INFO: IMEI packet received {"connection_id":145603,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 21:50:04] local.INFO: IMEI acknowledgment sent {"connection_id":145603,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:50:05] local.INFO: TCP Data received {"connection_id":145603,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa45b2eb8012d196940071fee200046013126..."} 
[2026-07-27 21:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa45b2eb8012d196940071fee200046013126..."} 
[2026-07-27 21:50:05] local.INFO: Processing buffer {"connection_id":145603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa45b2eb8012d196940071fee200046013126..."} 
[2026-07-27 21:50:05] local.INFO: Packet analysis {"connection_id":145603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa45b"} 
[2026-07-27 21:50:05] local.INFO: Extracted packet for processing {"connection_id":145603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa45b"} 
[2026-07-27 21:50:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":70,"angle":305,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 21:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:50:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003152896001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:50:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 21:50:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:50:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:50:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785168867000,"timestamp_ms":1785168867000,"timestamp_seconds":1785168867,"priority":1,"record_length":96,"hex_timestamp":"0000019fa45b2eb8"} 
[2026-07-27 21:50:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:50:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-27 21:50:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:50:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:50:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:50:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:50:05] local.INFO: Teltonika packet parsed successfully {"connection_id":145603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:50:05] local.INFO: Passing IMEI to GPS processor {"connection_id":145603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:50:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":145603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:50:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:50:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 21:50:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 21:50:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003152896001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 21:50:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 21:50:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 21:50:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003152896001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:50:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 21:50:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 21:50:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:50:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:50:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003152896001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 21:50:05] local.INFO: DEBUG: GPS processor result {"connection_id":145603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555591,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:50:05] local.INFO: GPS data processed {"connection_id":145603,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:50:05] local.INFO: Acknowledgment sent {"connection_id":145603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:50:08] local.INFO: TCP Data received {"connection_id":144329,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa45c5f68012da75680060170700026013525..."} 
[2026-07-27 21:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa45c5f68012da75680060170700026013525..."} 
[2026-07-27 21:50:08] local.INFO: Processing buffer {"connection_id":144329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa45c5f68012da75680060170700026013525..."} 
[2026-07-27 21:50:08] local.INFO: Packet analysis {"connection_id":144329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa45c"} 
[2026-07-27 21:50:08] local.INFO: Extracted packet for processing {"connection_id":144329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa45c"} 
[2026-07-27 21:50:08] local.INFO: GPS Element Parsed {"raw_longitude":765941376,"raw_latitude":100757616,"longitude_deg":76.5941376,"latitude_deg":10.0757616,"altitude":38,"angle":309,"satellites":37,"speed":34,"hex_longitude":"2da75680","hex_latitude":"06017070","is_valid_coordinates":true} 
[2026-07-27 21:50:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:50:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003249152001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:50:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359408661535129600,"note":"Value kept but may cause issues"} 
[2026-07-27 21:50:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6386596827027103744,"note":"Value kept but may cause issues"} 
[2026-07-27 21:50:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:50:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785168945000,"timestamp_ms":1785168945000,"timestamp_seconds":1785168945,"priority":1,"record_length":96,"hex_timestamp":"0000019fa45c5f68"} 
[2026-07-27 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-07-27 21:50:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-27 21:50:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 21:50:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:50:08] local.INFO: Teltonika packet parsed successfully {"connection_id":144329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:50:08] local.INFO: Passing IMEI to GPS processor {"connection_id":144329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:50:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":144329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:50:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:50:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:50:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:50:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003249152001,"66":27658,"188":206,"88":20992,"24":34,"16":359408661535129600,"45":-6386596827027103744},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,88,24,16,45]} 
[2026-07-27 21:50:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:50:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:50:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003249152001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:50:08] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-07-27 21:50:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-07-27 21:50:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359408661535129600,"km_value":359408661535129.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:50:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6386596827027103744,"description":"Unknown IO ID 45"} 
[2026-07-27 21:50:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003249152001,"power":27658,"unknown_188":206,"unknown_88":20992,"ignition":34,"odometer":null,"unknown_45":-6386596827027103744}} 
[2026-07-27 21:50:08] local.INFO: DEBUG: GPS processor result {"connection_id":144329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:50:08] local.INFO: GPS data processed {"connection_id":144329,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:50:08] local.INFO: Acknowledgment sent {"connection_id":144329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:50:31] local.INFO: TCP Data received {"connection_id":144330,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:50:31] local.INFO: Processing buffer {"connection_id":144330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:50:31] local.INFO: IMEI packet received {"connection_id":144330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 21:50:31] local.INFO: IMEI acknowledgment sent {"connection_id":144330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:50:36] local.INFO: TCP Data received {"connection_id":144330,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:50:36] local.INFO: Processing buffer {"connection_id":144330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:50:36] local.INFO: IMEI packet received {"connection_id":144330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 21:50:36] local.INFO: IMEI acknowledgment sent {"connection_id":144330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:50:36] local.INFO: TCP Data received {"connection_id":145603,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa45fc680012d196940071fee200046013129..."} 
[2026-07-27 21:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa45fc680012d196940071fee200046013129..."} 
[2026-07-27 21:50:36] local.INFO: Processing buffer {"connection_id":145603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa45fc680012d196940071fee200046013129..."} 
[2026-07-27 21:50:36] local.INFO: Packet analysis {"connection_id":145603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa45f"} 
[2026-07-27 21:50:36] local.INFO: Extracted packet for processing {"connection_id":145603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa45f"} 
[2026-07-27 21:50:36] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":70,"angle":305,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 21:50:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:50:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003229952001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:50:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 21:50:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:50:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:50:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785169168000,"timestamp_ms":1785169168000,"timestamp_seconds":1785169168,"priority":1,"record_length":96,"hex_timestamp":"0000019fa45fc680"} 
[2026-07-27 21:50:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:50:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:50:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 21:50:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:50:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:50:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:50:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:50:36] local.INFO: Teltonika packet parsed successfully {"connection_id":145603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:50:36] local.INFO: Passing IMEI to GPS processor {"connection_id":145603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:50:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":145603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:50:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:50:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 21:50:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 21:50:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003229952001,"66":2144,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 21:50:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 21:50:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 21:50:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003229952001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:50:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 21:50:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 21:50:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:50:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:50:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003229952001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 21:50:36] local.INFO: DEBUG: GPS processor result {"connection_id":145603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555593,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:50:36] local.INFO: GPS data processed {"connection_id":145603,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:50:36] local.INFO: Acknowledgment sent {"connection_id":145603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:50:37] local.INFO: TCP Data received {"connection_id":144330,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa45c5f68012da75680060170700026013525..."} 
[2026-07-27 21:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa45c5f68012da75680060170700026013525..."} 
[2026-07-27 21:50:37] local.INFO: Processing buffer {"connection_id":144330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa45c5f68012da75680060170700026013525..."} 
[2026-07-27 21:50:37] local.INFO: Packet analysis {"connection_id":144330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa45c"} 
[2026-07-27 21:50:37] local.INFO: Extracted packet for processing {"connection_id":144330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa45c"} 
[2026-07-27 21:50:37] local.INFO: GPS Element Parsed {"raw_longitude":765941376,"raw_latitude":100757616,"longitude_deg":76.5941376,"latitude_deg":10.0757616,"altitude":38,"angle":309,"satellites":37,"speed":34,"hex_longitude":"2da75680","hex_latitude":"06017070","is_valid_coordinates":true} 
[2026-07-27 21:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:50:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003249152001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:50:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359408661535129600,"note":"Value kept but may cause issues"} 
[2026-07-27 21:50:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6386596827027103744,"note":"Value kept but may cause issues"} 
[2026-07-27 21:50:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:50:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785168945000,"timestamp_ms":1785168945000,"timestamp_seconds":1785168945,"priority":1,"record_length":96,"hex_timestamp":"0000019fa45c5f68"} 
[2026-07-27 21:50:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:50:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 21:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-27 21:50:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:50:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:50:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:50:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:50:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:50:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:50:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:50:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:50:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:50:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:50:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003249152001,"66":27658,"188":206,"88":20992,"24":34,"16":359408661535129600,"45":-6386596827027103744},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,88,24,16,45]} 
[2026-07-27 21:50:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:50:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:50:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003249152001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:50:37] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-07-27 21:50:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-07-27 21:50:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359408661535129600,"km_value":359408661535129.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:50:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6386596827027103744,"description":"Unknown IO ID 45"} 
[2026-07-27 21:50:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003249152001,"power":27658,"unknown_188":206,"unknown_88":20992,"ignition":34,"odometer":null,"unknown_45":-6386596827027103744}} 
[2026-07-27 21:50:37] local.INFO: DEBUG: GPS processor result {"connection_id":144330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:50:37] local.INFO: GPS data processed {"connection_id":144330,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:50:37] local.INFO: Acknowledgment sent {"connection_id":144330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:50:59] local.INFO: TCP Data received {"connection_id":144331,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144331,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:50:59] local.INFO: Processing buffer {"connection_id":144331,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:50:59] local.INFO: IMEI packet received {"connection_id":144331,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 21:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":144331,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:51:04] local.INFO: TCP Data received {"connection_id":144331,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144331,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:51:04] local.INFO: Processing buffer {"connection_id":144331,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:51:04] local.INFO: IMEI packet received {"connection_id":144331,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 21:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":144331,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:51:05] local.INFO: TCP Data received {"connection_id":144331,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa45fc680012d196940071fee200046013129..."} 
[2026-07-27 21:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa45fc680012d196940071fee200046013129..."} 
[2026-07-27 21:51:05] local.INFO: Processing buffer {"connection_id":144331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa45fc680012d196940071fee200046013129..."} 
[2026-07-27 21:51:05] local.INFO: Packet analysis {"connection_id":144331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa45f"} 
[2026-07-27 21:51:05] local.INFO: Extracted packet for processing {"connection_id":144331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa45f"} 
[2026-07-27 21:51:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":70,"angle":305,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 21:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:51:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003229952001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:51:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 21:51:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:51:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:51:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785169168000,"timestamp_ms":1785169168000,"timestamp_seconds":1785169168,"priority":1,"record_length":96,"hex_timestamp":"0000019fa45fc680"} 
[2026-07-27 21:51:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:51:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 21:51:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:51:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:51:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:51:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:51:05] local.INFO: Teltonika packet parsed successfully {"connection_id":144331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:51:05] local.INFO: Passing IMEI to GPS processor {"connection_id":144331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:51:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":144331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:51:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:51:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 21:51:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 21:51:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003229952001,"66":2144,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 21:51:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 21:51:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 21:51:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003229952001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:51:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 21:51:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 21:51:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:51:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:51:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003229952001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 21:51:05] local.INFO: DEBUG: GPS processor result {"connection_id":144331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555595,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:51:05] local.INFO: GPS data processed {"connection_id":144331,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:51:05] local.INFO: Acknowledgment sent {"connection_id":144331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:51:08] local.INFO: TCP Data received {"connection_id":144330,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa45c5f68012da75680060170700026013525..."} 
[2026-07-27 21:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa45c5f68012da75680060170700026013525..."} 
[2026-07-27 21:51:08] local.INFO: Processing buffer {"connection_id":144330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa45c5f68012da75680060170700026013525..."} 
[2026-07-27 21:51:08] local.INFO: Packet analysis {"connection_id":144330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa45c"} 
[2026-07-27 21:51:08] local.INFO: Extracted packet for processing {"connection_id":144330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa45c"} 
[2026-07-27 21:51:08] local.INFO: GPS Element Parsed {"raw_longitude":765941376,"raw_latitude":100757616,"longitude_deg":76.5941376,"latitude_deg":10.0757616,"altitude":38,"angle":309,"satellites":37,"speed":34,"hex_longitude":"2da75680","hex_latitude":"06017070","is_valid_coordinates":true} 
[2026-07-27 21:51:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:51:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003249152001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:51:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359408661535129600,"note":"Value kept but may cause issues"} 
[2026-07-27 21:51:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6386596827027103744,"note":"Value kept but may cause issues"} 
[2026-07-27 21:51:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:51:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785168945000,"timestamp_ms":1785168945000,"timestamp_seconds":1785168945,"priority":1,"record_length":96,"hex_timestamp":"0000019fa45c5f68"} 
[2026-07-27 21:51:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:51:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-27 21:51:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:51:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:51:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:51:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:51:08] local.INFO: Teltonika packet parsed successfully {"connection_id":144330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:51:08] local.INFO: Passing IMEI to GPS processor {"connection_id":144330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:51:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":144330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:51:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:51:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:51:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:51:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003249152001,"66":27658,"188":206,"88":20992,"24":34,"16":359408661535129600,"45":-6386596827027103744},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,88,24,16,45]} 
[2026-07-27 21:51:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:51:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:51:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003249152001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:51:08] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-07-27 21:51:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-07-27 21:51:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359408661535129600,"km_value":359408661535129.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:51:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6386596827027103744,"description":"Unknown IO ID 45"} 
[2026-07-27 21:51:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003249152001,"power":27658,"unknown_188":206,"unknown_88":20992,"ignition":34,"odometer":null,"unknown_45":-6386596827027103744}} 
[2026-07-27 21:51:08] local.INFO: DEBUG: GPS processor result {"connection_id":144330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:51:08] local.INFO: GPS data processed {"connection_id":144330,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:51:08] local.INFO: Acknowledgment sent {"connection_id":144330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:51:17] local.INFO: TCP Data received {"connection_id":143318,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 21:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143318,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 21:51:17] local.INFO: Processing buffer {"connection_id":143318,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-27 21:51:17] local.INFO: IMEI packet received {"connection_id":143318,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-27 21:51:17] local.INFO: IMEI acknowledgment sent {"connection_id":143318,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:51:31] local.INFO: TCP Data received {"connection_id":144332,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:51:31] local.INFO: Processing buffer {"connection_id":144332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:51:31] local.INFO: IMEI packet received {"connection_id":144332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 21:51:31] local.INFO: IMEI acknowledgment sent {"connection_id":144332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:51:36] local.INFO: TCP Data received {"connection_id":144332,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:51:36] local.INFO: Processing buffer {"connection_id":144332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:51:36] local.INFO: IMEI packet received {"connection_id":144332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 21:51:36] local.INFO: IMEI acknowledgment sent {"connection_id":144332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:51:36] local.INFO: TCP Data received {"connection_id":144332,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa46102e8012da7418006017ea00028013429..."} 
[2026-07-27 21:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa46102e8012da7418006017ea00028013429..."} 
[2026-07-27 21:51:36] local.INFO: Processing buffer {"connection_id":144332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa46102e8012da7418006017ea00028013429..."} 
[2026-07-27 21:51:36] local.INFO: Packet analysis {"connection_id":144332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa461"} 
[2026-07-27 21:51:36] local.INFO: Extracted packet for processing {"connection_id":144332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa461"} 
[2026-07-27 21:51:36] local.INFO: GPS Element Parsed {"raw_longitude":765936000,"raw_latitude":100761248,"longitude_deg":76.5936,"latitude_deg":10.0761248,"altitude":40,"angle":308,"satellites":41,"speed":0,"hex_longitude":"2da74180","hex_latitude":"06017ea0","is_valid_coordinates":true} 
[2026-07-27 21:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:51:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003249920001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:51:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359408661535129600,"note":"Value kept but may cause issues"} 
[2026-07-27 21:51:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6388778258096164864,"note":"Value kept but may cause issues"} 
[2026-07-27 21:51:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:51:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785169249000,"timestamp_ms":1785169249000,"timestamp_seconds":1785169249,"priority":1,"record_length":96,"hex_timestamp":"0000019fa46102e8"} 
[2026-07-27 21:51:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:51:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-27 21:51:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:51:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:51:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:51:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:51:36] local.INFO: Teltonika packet parsed successfully {"connection_id":144332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:51:36] local.INFO: Passing IMEI to GPS processor {"connection_id":144332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:51:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":144332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:51:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:51:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:51:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:51:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003249920001,"66":25495,"188":206,"88":20992,"24":0,"16":359408661535129600,"45":-6388778258096164864},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,88,24,16,45]} 
[2026-07-27 21:51:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:51:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:51:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003249920001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:51:36] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-07-27 21:51:36] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-07-27 21:51:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359408661535129600,"km_value":359408661535129.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:51:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6388778258096164864,"description":"Unknown IO ID 45"} 
[2026-07-27 21:51:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003249920001,"power":25495,"unknown_188":206,"unknown_88":20992,"ignition":0,"odometer":null,"unknown_45":-6388778258096164864}} 
[2026-07-27 21:51:37] local.INFO: DEBUG: GPS processor result {"connection_id":144332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:51:37] local.INFO: GPS data processed {"connection_id":144332,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:51:37] local.INFO: Acknowledgment sent {"connection_id":144332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:51:37] local.INFO: TCP Data received {"connection_id":144331,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa45fc680012d196940071fee200046013129..."} 
[2026-07-27 21:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa45fc680012d196940071fee200046013129..."} 
[2026-07-27 21:51:37] local.INFO: Processing buffer {"connection_id":144331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa45fc680012d196940071fee200046013129..."} 
[2026-07-27 21:51:37] local.INFO: Packet analysis {"connection_id":144331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa45f"} 
[2026-07-27 21:51:37] local.INFO: Extracted packet for processing {"connection_id":144331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa45f"} 
[2026-07-27 21:51:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":70,"angle":305,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 21:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:51:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003229952001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:51:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 21:51:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:51:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:51:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785169168000,"timestamp_ms":1785169168000,"timestamp_seconds":1785169168,"priority":1,"record_length":96,"hex_timestamp":"0000019fa45fc680"} 
[2026-07-27 21:51:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:51:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 21:51:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:51:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:51:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:51:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:51:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:51:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:51:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:51:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:51:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 21:51:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 21:51:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003229952001,"66":2144,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 21:51:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 21:51:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 21:51:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003229952001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:51:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 21:51:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 21:51:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:51:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:51:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003229952001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 21:51:37] local.INFO: DEBUG: GPS processor result {"connection_id":144331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555598,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:51:37] local.INFO: GPS data processed {"connection_id":144331,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:51:37] local.INFO: Acknowledgment sent {"connection_id":144331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:51:59] local.INFO: TCP Data received {"connection_id":143320,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143320,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:51:59] local.INFO: Processing buffer {"connection_id":143320,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:51:59] local.INFO: IMEI packet received {"connection_id":143320,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 21:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":143320,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:52:04] local.INFO: TCP Data received {"connection_id":143320,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143320,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:52:04] local.INFO: Processing buffer {"connection_id":143320,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:52:04] local.INFO: IMEI packet received {"connection_id":143320,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 21:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":143320,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:52:05] local.INFO: TCP Data received {"connection_id":143320,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa45fc680012d196940071fee200046013129..."} 
[2026-07-27 21:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa45fc680012d196940071fee200046013129..."} 
[2026-07-27 21:52:05] local.INFO: Processing buffer {"connection_id":143320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa45fc680012d196940071fee200046013129..."} 
[2026-07-27 21:52:05] local.INFO: Packet analysis {"connection_id":143320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa45f"} 
[2026-07-27 21:52:05] local.INFO: Extracted packet for processing {"connection_id":143320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa45f"} 
[2026-07-27 21:52:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":70,"angle":305,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 21:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:52:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003229952001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:52:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 21:52:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:52:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:52:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785169168000,"timestamp_ms":1785169168000,"timestamp_seconds":1785169168,"priority":1,"record_length":96,"hex_timestamp":"0000019fa45fc680"} 
[2026-07-27 21:52:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:52:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 21:52:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:52:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:52:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:52:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:52:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:52:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143320,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:52:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143320,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:52:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:52:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 21:52:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 21:52:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003229952001,"66":2144,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 21:52:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 21:52:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 21:52:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003229952001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:52:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 21:52:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 21:52:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:52:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:52:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003229952001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 21:52:05] local.INFO: DEBUG: GPS processor result {"connection_id":143320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555599,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:52:05] local.INFO: GPS data processed {"connection_id":143320,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:52:05] local.INFO: Acknowledgment sent {"connection_id":143320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:52:08] local.INFO: TCP Data received {"connection_id":144332,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa46102e8012da7418006017ea00028013429..."} 
[2026-07-27 21:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa46102e8012da7418006017ea00028013429..."} 
[2026-07-27 21:52:08] local.INFO: Processing buffer {"connection_id":144332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa46102e8012da7418006017ea00028013429..."} 
[2026-07-27 21:52:08] local.INFO: Packet analysis {"connection_id":144332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa461"} 
[2026-07-27 21:52:08] local.INFO: Extracted packet for processing {"connection_id":144332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa461"} 
[2026-07-27 21:52:08] local.INFO: GPS Element Parsed {"raw_longitude":765936000,"raw_latitude":100761248,"longitude_deg":76.5936,"latitude_deg":10.0761248,"altitude":40,"angle":308,"satellites":41,"speed":0,"hex_longitude":"2da74180","hex_latitude":"06017ea0","is_valid_coordinates":true} 
[2026-07-27 21:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:52:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003249920001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:52:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359408661535129600,"note":"Value kept but may cause issues"} 
[2026-07-27 21:52:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6388778258096164864,"note":"Value kept but may cause issues"} 
[2026-07-27 21:52:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:52:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785169249000,"timestamp_ms":1785169249000,"timestamp_seconds":1785169249,"priority":1,"record_length":96,"hex_timestamp":"0000019fa46102e8"} 
[2026-07-27 21:52:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:52:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-27 21:52:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:52:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:52:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:52:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:52:08] local.INFO: Teltonika packet parsed successfully {"connection_id":144332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:52:08] local.INFO: Passing IMEI to GPS processor {"connection_id":144332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:52:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":144332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:52:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:52:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:52:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:52:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003249920001,"66":25495,"188":206,"88":20992,"24":0,"16":359408661535129600,"45":-6388778258096164864},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,88,24,16,45]} 
[2026-07-27 21:52:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:52:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:52:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003249920001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:52:08] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-07-27 21:52:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-07-27 21:52:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359408661535129600,"km_value":359408661535129.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:52:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6388778258096164864,"description":"Unknown IO ID 45"} 
[2026-07-27 21:52:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003249920001,"power":25495,"unknown_188":206,"unknown_88":20992,"ignition":0,"odometer":null,"unknown_45":-6388778258096164864}} 
[2026-07-27 21:52:08] local.INFO: DEBUG: GPS processor result {"connection_id":144332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:52:08] local.INFO: GPS data processed {"connection_id":144332,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:52:08] local.INFO: Acknowledgment sent {"connection_id":144332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:52:31] local.INFO: TCP Data received {"connection_id":145604,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:52:31] local.INFO: Processing buffer {"connection_id":145604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:52:31] local.INFO: IMEI packet received {"connection_id":145604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 21:52:31] local.INFO: IMEI acknowledgment sent {"connection_id":145604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:52:36] local.INFO: TCP Data received {"connection_id":145604,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:52:36] local.INFO: Processing buffer {"connection_id":145604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:52:36] local.INFO: IMEI packet received {"connection_id":145604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 21:52:36] local.INFO: IMEI acknowledgment sent {"connection_id":145604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:52:37] local.INFO: TCP Data received {"connection_id":145604,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa46102e8012da7418006017ea00028013429..."} 
[2026-07-27 21:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145604,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa46102e8012da7418006017ea00028013429..."} 
[2026-07-27 21:52:37] local.INFO: Processing buffer {"connection_id":145604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa46102e8012da7418006017ea00028013429..."} 
[2026-07-27 21:52:37] local.INFO: Packet analysis {"connection_id":145604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa461"} 
[2026-07-27 21:52:37] local.INFO: Extracted packet for processing {"connection_id":145604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa461"} 
[2026-07-27 21:52:37] local.INFO: GPS Element Parsed {"raw_longitude":765936000,"raw_latitude":100761248,"longitude_deg":76.5936,"latitude_deg":10.0761248,"altitude":40,"angle":308,"satellites":41,"speed":0,"hex_longitude":"2da74180","hex_latitude":"06017ea0","is_valid_coordinates":true} 
[2026-07-27 21:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003249920001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359408661535129600,"note":"Value kept but may cause issues"} 
[2026-07-27 21:52:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6388778258096164864,"note":"Value kept but may cause issues"} 
[2026-07-27 21:52:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785169249000,"timestamp_ms":1785169249000,"timestamp_seconds":1785169249,"priority":1,"record_length":96,"hex_timestamp":"0000019fa46102e8"} 
[2026-07-27 21:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:52:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-27 21:52:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:52:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:52:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003249920001,"66":25495,"188":206,"88":20992,"24":0,"16":359408661535129600,"45":-6388778258096164864},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,88,24,16,45]} 
[2026-07-27 21:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003249920001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:52:37] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-07-27 21:52:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-07-27 21:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359408661535129600,"km_value":359408661535129.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:52:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6388778258096164864,"description":"Unknown IO ID 45"} 
[2026-07-27 21:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003249920001,"power":25495,"unknown_188":206,"unknown_88":20992,"ignition":0,"odometer":null,"unknown_45":-6388778258096164864}} 
[2026-07-27 21:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":145604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:52:37] local.INFO: GPS data processed {"connection_id":145604,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:52:37] local.INFO: Acknowledgment sent {"connection_id":145604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:52:37] local.INFO: TCP Data received {"connection_id":143320,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa45fc680012d196940071fee200046013129..."} 
[2026-07-27 21:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa45fc680012d196940071fee200046013129..."} 
[2026-07-27 21:52:37] local.INFO: Processing buffer {"connection_id":143320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa45fc680012d196940071fee200046013129..."} 
[2026-07-27 21:52:37] local.INFO: Packet analysis {"connection_id":143320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa45f"} 
[2026-07-27 21:52:37] local.INFO: Extracted packet for processing {"connection_id":143320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa45f"} 
[2026-07-27 21:52:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":70,"angle":305,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 21:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003229952001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 21:52:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:52:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785169168000,"timestamp_ms":1785169168000,"timestamp_seconds":1785169168,"priority":1,"record_length":96,"hex_timestamp":"0000019fa45fc680"} 
[2026-07-27 21:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:52:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 21:52:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:52:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143320,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143320,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:52:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 21:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 21:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003229952001,"66":2144,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 21:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 21:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 21:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003229952001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:52:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 21:52:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 21:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:52:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003229952001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 21:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":143320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555602,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:52:37] local.INFO: GPS data processed {"connection_id":143320,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:52:37] local.INFO: Acknowledgment sent {"connection_id":143320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:52:59] local.INFO: TCP Data received {"connection_id":143185,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143185,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:52:59] local.INFO: Processing buffer {"connection_id":143185,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:52:59] local.INFO: IMEI packet received {"connection_id":143185,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 21:52:59] local.INFO: IMEI acknowledgment sent {"connection_id":143185,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:53:04] local.INFO: TCP Data received {"connection_id":143185,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143185,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:53:04] local.INFO: Processing buffer {"connection_id":143185,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:53:04] local.INFO: IMEI packet received {"connection_id":143185,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 21:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":143185,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:53:05] local.INFO: TCP Data received {"connection_id":143185,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa45fc680012d196940071fee200046013129..."} 
[2026-07-27 21:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa45fc680012d196940071fee200046013129..."} 
[2026-07-27 21:53:05] local.INFO: Processing buffer {"connection_id":143185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa45fc680012d196940071fee200046013129..."} 
[2026-07-27 21:53:05] local.INFO: Packet analysis {"connection_id":143185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa45f"} 
[2026-07-27 21:53:05] local.INFO: Extracted packet for processing {"connection_id":143185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa45f"} 
[2026-07-27 21:53:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":70,"angle":305,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 21:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:53:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003229952001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:53:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 21:53:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:53:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:53:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785169168000,"timestamp_ms":1785169168000,"timestamp_seconds":1785169168,"priority":1,"record_length":96,"hex_timestamp":"0000019fa45fc680"} 
[2026-07-27 21:53:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:53:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 21:53:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:53:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:53:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:53:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:53:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:53:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143185,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:53:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143185,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:53:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:53:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 21:53:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 21:53:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003229952001,"66":2144,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 21:53:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 21:53:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 21:53:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003229952001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:53:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 21:53:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 21:53:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:53:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:53:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003229952001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 21:53:05] local.INFO: DEBUG: GPS processor result {"connection_id":143185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555603,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:53:05] local.INFO: GPS data processed {"connection_id":143185,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:53:05] local.INFO: Acknowledgment sent {"connection_id":143185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:53:08] local.INFO: TCP Data received {"connection_id":145604,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa46102e8012da7418006017ea00028013429..."} 
[2026-07-27 21:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145604,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa46102e8012da7418006017ea00028013429..."} 
[2026-07-27 21:53:08] local.INFO: Processing buffer {"connection_id":145604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa46102e8012da7418006017ea00028013429..."} 
[2026-07-27 21:53:08] local.INFO: Packet analysis {"connection_id":145604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa461"} 
[2026-07-27 21:53:08] local.INFO: Extracted packet for processing {"connection_id":145604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa461"} 
[2026-07-27 21:53:08] local.INFO: GPS Element Parsed {"raw_longitude":765936000,"raw_latitude":100761248,"longitude_deg":76.5936,"latitude_deg":10.0761248,"altitude":40,"angle":308,"satellites":41,"speed":0,"hex_longitude":"2da74180","hex_latitude":"06017ea0","is_valid_coordinates":true} 
[2026-07-27 21:53:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:53:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003249920001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:53:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359408661535129600,"note":"Value kept but may cause issues"} 
[2026-07-27 21:53:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6388778258096164864,"note":"Value kept but may cause issues"} 
[2026-07-27 21:53:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:53:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785169249000,"timestamp_ms":1785169249000,"timestamp_seconds":1785169249,"priority":1,"record_length":96,"hex_timestamp":"0000019fa46102e8"} 
[2026-07-27 21:53:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:53:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:53:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-27 21:53:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:53:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:53:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:53:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:53:08] local.INFO: Teltonika packet parsed successfully {"connection_id":145604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:53:08] local.INFO: Passing IMEI to GPS processor {"connection_id":145604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:53:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":145604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:53:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:53:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:53:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:53:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003249920001,"66":25495,"188":206,"88":20992,"24":0,"16":359408661535129600,"45":-6388778258096164864},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,88,24,16,45]} 
[2026-07-27 21:53:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:53:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:53:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003249920001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:53:08] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-07-27 21:53:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-07-27 21:53:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359408661535129600,"km_value":359408661535129.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:53:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6388778258096164864,"description":"Unknown IO ID 45"} 
[2026-07-27 21:53:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003249920001,"power":25495,"unknown_188":206,"unknown_88":20992,"ignition":0,"odometer":null,"unknown_45":-6388778258096164864}} 
[2026-07-27 21:53:08] local.INFO: DEBUG: GPS processor result {"connection_id":145604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:53:08] local.INFO: GPS data processed {"connection_id":145604,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:53:08] local.INFO: Acknowledgment sent {"connection_id":145604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:53:31] local.INFO: TCP Data received {"connection_id":143322,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:53:31] local.INFO: Processing buffer {"connection_id":143322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:53:31] local.INFO: IMEI packet received {"connection_id":143322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 21:53:31] local.INFO: IMEI acknowledgment sent {"connection_id":143322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:53:36] local.INFO: TCP Data received {"connection_id":143322,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:53:36] local.INFO: Processing buffer {"connection_id":143322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:53:36] local.INFO: IMEI packet received {"connection_id":143322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 21:53:36] local.INFO: IMEI acknowledgment sent {"connection_id":143322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:53:37] local.INFO: TCP Data received {"connection_id":143322,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fa46102e8012da7418006017ea00028013429..."} 
[2026-07-27 21:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa46102e8012da7418006017ea00028013429..."} 
[2026-07-27 21:53:37] local.INFO: Processing buffer {"connection_id":143322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa46102e8012da7418006017ea00028013429..."} 
[2026-07-27 21:53:37] local.INFO: Packet analysis {"connection_id":143322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa461"} 
[2026-07-27 21:53:37] local.INFO: Extracted packet for processing {"connection_id":143322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa461"} 
[2026-07-27 21:53:37] local.INFO: GPS Element Parsed {"raw_longitude":765936000,"raw_latitude":100761248,"longitude_deg":76.5936,"latitude_deg":10.0761248,"altitude":40,"angle":308,"satellites":41,"speed":0,"hex_longitude":"2da74180","hex_latitude":"06017ea0","is_valid_coordinates":true} 
[2026-07-27 21:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003249920001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:53:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359408661535129600,"note":"Value kept but may cause issues"} 
[2026-07-27 21:53:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6388778258096164864,"note":"Value kept but may cause issues"} 
[2026-07-27 21:53:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:53:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785169249000,"timestamp_ms":1785169249000,"timestamp_seconds":1785169249,"priority":1,"record_length":96,"hex_timestamp":"0000019fa46102e8"} 
[2026-07-27 21:53:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:53:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-27 21:53:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:53:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:53:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:53:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:53:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:53:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:53:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:53:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:53:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:53:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:53:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003249920001,"66":25495,"188":206,"88":20992,"24":0,"16":359408661535129600,"45":-6388778258096164864},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,88,24,16,45]} 
[2026-07-27 21:53:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:53:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:53:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003249920001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:53:37] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-07-27 21:53:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-07-27 21:53:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359408661535129600,"km_value":359408661535129.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:53:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6388778258096164864,"description":"Unknown IO ID 45"} 
[2026-07-27 21:53:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003249920001,"power":25495,"unknown_188":206,"unknown_88":20992,"ignition":0,"odometer":null,"unknown_45":-6388778258096164864}} 
[2026-07-27 21:53:37] local.INFO: DEBUG: GPS processor result {"connection_id":143322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:53:37] local.INFO: GPS data processed {"connection_id":143322,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:53:37] local.INFO: Acknowledgment sent {"connection_id":143322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:53:37] local.INFO: TCP Data received {"connection_id":143185,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa45fc680012d196940071fee200046013129..."} 
[2026-07-27 21:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa45fc680012d196940071fee200046013129..."} 
[2026-07-27 21:53:37] local.INFO: Processing buffer {"connection_id":143185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa45fc680012d196940071fee200046013129..."} 
[2026-07-27 21:53:37] local.INFO: Packet analysis {"connection_id":143185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa45f"} 
[2026-07-27 21:53:37] local.INFO: Extracted packet for processing {"connection_id":143185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa45f"} 
[2026-07-27 21:53:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":70,"angle":305,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 21:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003229952001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:53:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 21:53:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:53:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:53:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785169168000,"timestamp_ms":1785169168000,"timestamp_seconds":1785169168,"priority":1,"record_length":96,"hex_timestamp":"0000019fa45fc680"} 
[2026-07-27 21:53:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:53:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 21:53:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:53:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:53:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:53:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:53:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:53:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143185,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:53:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143185,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:53:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:53:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 21:53:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 21:53:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003229952001,"66":2144,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 21:53:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 21:53:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 21:53:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003229952001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:53:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 21:53:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 21:53:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:53:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:53:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003229952001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 21:53:37] local.INFO: DEBUG: GPS processor result {"connection_id":143185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555606,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:53:37] local.INFO: GPS data processed {"connection_id":143185,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:53:37] local.INFO: Acknowledgment sent {"connection_id":143185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:53:59] local.INFO: TCP Data received {"connection_id":143323,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143323,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:53:59] local.INFO: Processing buffer {"connection_id":143323,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:53:59] local.INFO: IMEI packet received {"connection_id":143323,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 21:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":143323,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:54:04] local.INFO: TCP Data received {"connection_id":143323,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143323,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:54:04] local.INFO: Processing buffer {"connection_id":143323,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:54:04] local.INFO: IMEI packet received {"connection_id":143323,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 21:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":143323,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:54:05] local.INFO: TCP Data received {"connection_id":143323,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa45fc680012d196940071fee200046013129..."} 
[2026-07-27 21:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143323,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa45fc680012d196940071fee200046013129..."} 
[2026-07-27 21:54:05] local.INFO: Processing buffer {"connection_id":143323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa45fc680012d196940071fee200046013129..."} 
[2026-07-27 21:54:05] local.INFO: Packet analysis {"connection_id":143323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa45f"} 
[2026-07-27 21:54:05] local.INFO: Extracted packet for processing {"connection_id":143323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa45f"} 
[2026-07-27 21:54:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":70,"angle":305,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 21:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:54:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003229952001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:54:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 21:54:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:54:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:54:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785169168000,"timestamp_ms":1785169168000,"timestamp_seconds":1785169168,"priority":1,"record_length":96,"hex_timestamp":"0000019fa45fc680"} 
[2026-07-27 21:54:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:54:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 21:54:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:54:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:54:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:54:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:54:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:54:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143323,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:54:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143323,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:54:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:54:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 21:54:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 21:54:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003229952001,"66":2144,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 21:54:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 21:54:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 21:54:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003229952001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:54:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 21:54:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 21:54:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:54:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:54:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003229952001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 21:54:05] local.INFO: DEBUG: GPS processor result {"connection_id":143323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555607,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:54:05] local.INFO: GPS data processed {"connection_id":143323,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:54:05] local.INFO: Acknowledgment sent {"connection_id":143323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:54:08] local.INFO: TCP Data received {"connection_id":143322,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fa46102e8012da7418006017ea00028013429..."} 
[2026-07-27 21:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa46102e8012da7418006017ea00028013429..."} 
[2026-07-27 21:54:08] local.INFO: Processing buffer {"connection_id":143322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa46102e8012da7418006017ea00028013429..."} 
[2026-07-27 21:54:08] local.INFO: Packet analysis {"connection_id":143322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa461"} 
[2026-07-27 21:54:08] local.INFO: Extracted packet for processing {"connection_id":143322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa461"} 
[2026-07-27 21:54:08] local.INFO: GPS Element Parsed {"raw_longitude":765936000,"raw_latitude":100761248,"longitude_deg":76.5936,"latitude_deg":10.0761248,"altitude":40,"angle":308,"satellites":41,"speed":0,"hex_longitude":"2da74180","hex_latitude":"06017ea0","is_valid_coordinates":true} 
[2026-07-27 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-07-27 21:54:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003249920001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:54:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359408661535129600,"note":"Value kept but may cause issues"} 
[2026-07-27 21:54:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6388778258096164864,"note":"Value kept but may cause issues"} 
[2026-07-27 21:54:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:54:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785169249000,"timestamp_ms":1785169249000,"timestamp_seconds":1785169249,"priority":1,"record_length":96,"hex_timestamp":"0000019fa46102e8"} 
[2026-07-27 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-07-27 21:54:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-27 21:54:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 21:54:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:54:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:54:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:54:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:54:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:54:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:54:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:54:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003249920001,"66":25495,"188":206,"88":20992,"24":0,"16":359408661535129600,"45":-6388778258096164864},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,88,24,16,45]} 
[2026-07-27 21:54:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:54:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:54:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003249920001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:54:08] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-07-27 21:54:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-07-27 21:54:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359408661535129600,"km_value":359408661535129.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:54:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6388778258096164864,"description":"Unknown IO ID 45"} 
[2026-07-27 21:54:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003249920001,"power":25495,"unknown_188":206,"unknown_88":20992,"ignition":0,"odometer":null,"unknown_45":-6388778258096164864}} 
[2026-07-27 21:54:08] local.INFO: DEBUG: GPS processor result {"connection_id":143322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:54:08] local.INFO: GPS data processed {"connection_id":143322,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:54:08] local.INFO: Acknowledgment sent {"connection_id":143322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:54:36] local.INFO: TCP Data received {"connection_id":145605,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:54:36] local.INFO: Processing buffer {"connection_id":145605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:54:36] local.INFO: IMEI packet received {"connection_id":145605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 21:54:36] local.INFO: IMEI acknowledgment sent {"connection_id":145605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:54:37] local.INFO: TCP Data received {"connection_id":143323,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa45fc680012d196940071fee200046013129..."} 
[2026-07-27 21:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143323,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa45fc680012d196940071fee200046013129..."} 
[2026-07-27 21:54:37] local.INFO: Processing buffer {"connection_id":143323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa45fc680012d196940071fee200046013129..."} 
[2026-07-27 21:54:37] local.INFO: Packet analysis {"connection_id":143323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa45f"} 
[2026-07-27 21:54:37] local.INFO: Extracted packet for processing {"connection_id":143323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa45f"} 
[2026-07-27 21:54:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":70,"angle":305,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 21:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:54:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003229952001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:54:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 21:54:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:54:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:54:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785169168000,"timestamp_ms":1785169168000,"timestamp_seconds":1785169168,"priority":1,"record_length":96,"hex_timestamp":"0000019fa45fc680"} 
[2026-07-27 21:54:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:54:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 21:54:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:54:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:54:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:54:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:54:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:54:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143323,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:54:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143323,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:54:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:54:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 21:54:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 21:54:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003229952001,"66":2144,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 21:54:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 21:54:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 21:54:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003229952001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:54:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 21:54:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 21:54:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:54:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:54:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003229952001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 21:54:37] local.INFO: DEBUG: GPS processor result {"connection_id":143323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555609,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:54:37] local.INFO: GPS data processed {"connection_id":143323,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:54:37] local.INFO: Acknowledgment sent {"connection_id":143323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:54:41] local.INFO: TCP Data received {"connection_id":145605,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:54:41] local.INFO: Processing buffer {"connection_id":145605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:54:41] local.INFO: IMEI packet received {"connection_id":145605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 21:54:41] local.INFO: IMEI acknowledgment sent {"connection_id":145605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:54:42] local.INFO: TCP Data received {"connection_id":145605,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa46102e8012da7418006017ea00028013429..."} 
[2026-07-27 21:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa46102e8012da7418006017ea00028013429..."} 
[2026-07-27 21:54:42] local.INFO: Processing buffer {"connection_id":145605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa46102e8012da7418006017ea00028013429..."} 
[2026-07-27 21:54:42] local.INFO: Packet analysis {"connection_id":145605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa461"} 
[2026-07-27 21:54:42] local.INFO: Extracted packet for processing {"connection_id":145605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa461"} 
[2026-07-27 21:54:42] local.INFO: GPS Element Parsed {"raw_longitude":765936000,"raw_latitude":100761248,"longitude_deg":76.5936,"latitude_deg":10.0761248,"altitude":40,"angle":308,"satellites":41,"speed":0,"hex_longitude":"2da74180","hex_latitude":"06017ea0","is_valid_coordinates":true} 
[2026-07-27 21:54:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:54:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003249920001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:54:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359408661535129600,"note":"Value kept but may cause issues"} 
[2026-07-27 21:54:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6388778258096164864,"note":"Value kept but may cause issues"} 
[2026-07-27 21:54:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:54:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785169249000,"timestamp_ms":1785169249000,"timestamp_seconds":1785169249,"priority":1,"record_length":96,"hex_timestamp":"0000019fa46102e8"} 
[2026-07-27 21:54:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:54:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-27 21:54:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:54:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:54:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:54:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:54:42] local.INFO: Teltonika packet parsed successfully {"connection_id":145605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:54:42] local.INFO: Passing IMEI to GPS processor {"connection_id":145605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:54:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":145605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:54:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:54:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:54:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:54:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003249920001,"66":25495,"188":206,"88":20992,"24":0,"16":359408661535129600,"45":-6388778258096164864},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,88,24,16,45]} 
[2026-07-27 21:54:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:54:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:54:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003249920001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:54:42] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-07-27 21:54:42] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-07-27 21:54:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359408661535129600,"km_value":359408661535129.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:54:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6388778258096164864,"description":"Unknown IO ID 45"} 
[2026-07-27 21:54:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003249920001,"power":25495,"unknown_188":206,"unknown_88":20992,"ignition":0,"odometer":null,"unknown_45":-6388778258096164864}} 
[2026-07-27 21:54:42] local.INFO: DEBUG: GPS processor result {"connection_id":145605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:54:42] local.INFO: GPS data processed {"connection_id":145605,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:54:42] local.INFO: Acknowledgment sent {"connection_id":145605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:54:46] local.INFO: TCP Data received {"connection_id":145605,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa46102e8012da7418006017ea00028013429..."} 
[2026-07-27 21:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa46102e8012da7418006017ea00028013429..."} 
[2026-07-27 21:54:46] local.INFO: Processing buffer {"connection_id":145605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa46102e8012da7418006017ea00028013429..."} 
[2026-07-27 21:54:46] local.INFO: Packet analysis {"connection_id":145605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa461"} 
[2026-07-27 21:54:46] local.INFO: Extracted packet for processing {"connection_id":145605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa461"} 
[2026-07-27 21:54:46] local.INFO: GPS Element Parsed {"raw_longitude":765936000,"raw_latitude":100761248,"longitude_deg":76.5936,"latitude_deg":10.0761248,"altitude":40,"angle":308,"satellites":41,"speed":0,"hex_longitude":"2da74180","hex_latitude":"06017ea0","is_valid_coordinates":true} 
[2026-07-27 21:54:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:54:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003249920001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:54:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359408661535129600,"note":"Value kept but may cause issues"} 
[2026-07-27 21:54:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6388778258096164864,"note":"Value kept but may cause issues"} 
[2026-07-27 21:54:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:54:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785169249000,"timestamp_ms":1785169249000,"timestamp_seconds":1785169249,"priority":1,"record_length":96,"hex_timestamp":"0000019fa46102e8"} 
[2026-07-27 21:54:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:54:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 21:54:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-27 21:54:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:54:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:54:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:54:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:54:46] local.INFO: Teltonika packet parsed successfully {"connection_id":145605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:54:46] local.INFO: Passing IMEI to GPS processor {"connection_id":145605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:54:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":145605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:54:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:54:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:54:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:54:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003249920001,"66":25495,"188":206,"88":20992,"24":0,"16":359408661535129600,"45":-6388778258096164864},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,88,24,16,45]} 
[2026-07-27 21:54:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:54:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:54:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003249920001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:54:46] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-07-27 21:54:46] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-07-27 21:54:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359408661535129600,"km_value":359408661535129.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:54:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6388778258096164864,"description":"Unknown IO ID 45"} 
[2026-07-27 21:54:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003249920001,"power":25495,"unknown_188":206,"unknown_88":20992,"ignition":0,"odometer":null,"unknown_45":-6388778258096164864}} 
[2026-07-27 21:54:46] local.INFO: DEBUG: GPS processor result {"connection_id":145605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:54:46] local.INFO: GPS data processed {"connection_id":145605,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:54:46] local.INFO: Acknowledgment sent {"connection_id":145605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:54:58] local.INFO: TCP Data received {"connection_id":145606,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145606,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:54:58] local.INFO: Processing buffer {"connection_id":145606,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:54:58] local.INFO: IMEI packet received {"connection_id":145606,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 21:54:58] local.INFO: IMEI acknowledgment sent {"connection_id":145606,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:55:04] local.INFO: TCP Data received {"connection_id":145606,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145606,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:55:04] local.INFO: Processing buffer {"connection_id":145606,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:55:04] local.INFO: IMEI packet received {"connection_id":145606,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 21:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":145606,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:55:05] local.INFO: TCP Data received {"connection_id":145606,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa45fc680012d196940071fee200046013129..."} 
[2026-07-27 21:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa45fc680012d196940071fee200046013129..."} 
[2026-07-27 21:55:05] local.INFO: Processing buffer {"connection_id":145606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa45fc680012d196940071fee200046013129..."} 
[2026-07-27 21:55:05] local.INFO: Packet analysis {"connection_id":145606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa45f"} 
[2026-07-27 21:55:05] local.INFO: Extracted packet for processing {"connection_id":145606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa45f"} 
[2026-07-27 21:55:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":70,"angle":305,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 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-07-27 21:55:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003229952001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:55:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 21:55:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:55:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:55:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785169168000,"timestamp_ms":1785169168000,"timestamp_seconds":1785169168,"priority":1,"record_length":96,"hex_timestamp":"0000019fa45fc680"} 
[2026-07-27 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-07-27 21:55:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 21:55:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 21:55:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:55:05] local.INFO: Teltonika packet parsed successfully {"connection_id":145606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:55:05] local.INFO: Passing IMEI to GPS processor {"connection_id":145606,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:55:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":145606,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:55:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:55:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 21:55:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 21:55:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003229952001,"66":2144,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 21:55:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 21:55:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 21:55:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003229952001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:55:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 21:55:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 21:55:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:55:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:55:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003229952001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 21:55:05] local.INFO: DEBUG: GPS processor result {"connection_id":145606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555612,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:55:05] local.INFO: GPS data processed {"connection_id":145606,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:55:05] local.INFO: Acknowledgment sent {"connection_id":145606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:55:31] local.INFO: TCP Data received {"connection_id":143324,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:55:31] local.INFO: Processing buffer {"connection_id":143324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:55:31] local.INFO: IMEI packet received {"connection_id":143324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 21:55:31] local.INFO: IMEI acknowledgment sent {"connection_id":143324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:55:36] local.INFO: TCP Data received {"connection_id":143324,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:55:36] local.INFO: Processing buffer {"connection_id":143324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:55:36] local.INFO: IMEI packet received {"connection_id":143324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 21:55:36] local.INFO: IMEI acknowledgment sent {"connection_id":143324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:55:36] local.INFO: TCP Data received {"connection_id":145606,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4645e48012d196940071fee200046013129..."} 
[2026-07-27 21:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4645e48012d196940071fee200046013129..."} 
[2026-07-27 21:55:36] local.INFO: Processing buffer {"connection_id":145606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4645e48012d196940071fee200046013129..."} 
[2026-07-27 21:55:36] local.INFO: Packet analysis {"connection_id":145606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa464"} 
[2026-07-27 21:55:36] local.INFO: Extracted packet for processing {"connection_id":145606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa464"} 
[2026-07-27 21:55:36] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":70,"angle":305,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 21:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:55:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003307008001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:55:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 21:55:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:55:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:55:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785169469000,"timestamp_ms":1785169469000,"timestamp_seconds":1785169469,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4645e48"} 
[2026-07-27 21:55:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:55:36] 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-07-27 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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-27 21:55:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:55:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:55:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:55:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:55:36] local.INFO: Teltonika packet parsed successfully {"connection_id":145606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:55:36] local.INFO: Passing IMEI to GPS processor {"connection_id":145606,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:55:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":145606,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:55:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:55:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 21:55:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 21:55:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003307008001,"66":2177,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 21:55:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 21:55:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 21:55:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003307008001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:55:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 21:55:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 21:55:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:55:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:55:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003307008001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 21:55:36] local.INFO: DEBUG: GPS processor result {"connection_id":145606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555613,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:55:36] local.INFO: GPS data processed {"connection_id":145606,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:55:36] local.INFO: Acknowledgment sent {"connection_id":145606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:55:36] local.INFO: TCP Data received {"connection_id":143324,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4640c40012da7418006017ea0002801342c..."} 
[2026-07-27 21:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4640c40012da7418006017ea0002801342c..."} 
[2026-07-27 21:55:36] local.INFO: Processing buffer {"connection_id":143324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4640c40012da7418006017ea0002801342c..."} 
[2026-07-27 21:55:36] local.INFO: Packet analysis {"connection_id":143324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa464"} 
[2026-07-27 21:55:36] local.INFO: Extracted packet for processing {"connection_id":143324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa464"} 
[2026-07-27 21:55:36] local.INFO: GPS Element Parsed {"raw_longitude":765936000,"raw_latitude":100761248,"longitude_deg":76.5936,"latitude_deg":10.0761248,"altitude":40,"angle":308,"satellites":44,"speed":0,"hex_longitude":"2da74180","hex_latitude":"06017ea0","is_valid_coordinates":true} 
[2026-07-27 21:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:55:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003327744001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:55:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359408661535129600,"note":"Value kept but may cause issues"} 
[2026-07-27 21:55:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6394689232606158848,"note":"Value kept but may cause issues"} 
[2026-07-27 21:55:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:55:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785169448000,"timestamp_ms":1785169448000,"timestamp_seconds":1785169448,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4640c40"} 
[2026-07-27 21:55:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:55:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":151,"data_length":795,"current_offset":136} 
[2026-07-27 21:55:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:55:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:55:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:55:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:55:36] local.INFO: Teltonika packet parsed successfully {"connection_id":143324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:55:36] local.INFO: Passing IMEI to GPS processor {"connection_id":143324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:55:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":143324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:55:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:55:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:55:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:55:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003327744001,"66":25212,"188":206,"88":20992,"24":0,"16":359408661535129600,"45":-6394689232606158848},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,88,24,16,45]} 
[2026-07-27 21:55:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:55:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:55:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003327744001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:55:36] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-07-27 21:55:36] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-07-27 21:55:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359408661535129600,"km_value":359408661535129.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:55:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6394689232606158848,"description":"Unknown IO ID 45"} 
[2026-07-27 21:55:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003327744001,"power":25212,"unknown_188":206,"unknown_88":20992,"ignition":0,"odometer":null,"unknown_45":-6394689232606158848}} 
[2026-07-27 21:55:36] local.INFO: DEBUG: GPS processor result {"connection_id":143324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:55:36] local.INFO: GPS data processed {"connection_id":143324,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:55:36] local.INFO: Acknowledgment sent {"connection_id":143324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:55:59] local.INFO: TCP Data received {"connection_id":143186,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143186,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:55:59] local.INFO: Processing buffer {"connection_id":143186,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:55:59] local.INFO: IMEI packet received {"connection_id":143186,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 21:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":143186,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:56:04] local.INFO: TCP Data received {"connection_id":143186,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143186,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:56:04] local.INFO: Processing buffer {"connection_id":143186,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:56:04] local.INFO: IMEI packet received {"connection_id":143186,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 21:56:04] local.INFO: IMEI acknowledgment sent {"connection_id":143186,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:56:05] local.INFO: TCP Data received {"connection_id":143186,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4645e48012d196940071fee200046013129..."} 
[2026-07-27 21:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143186,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4645e48012d196940071fee200046013129..."} 
[2026-07-27 21:56:05] local.INFO: Processing buffer {"connection_id":143186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4645e48012d196940071fee200046013129..."} 
[2026-07-27 21:56:05] local.INFO: Packet analysis {"connection_id":143186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa464"} 
[2026-07-27 21:56:05] local.INFO: Extracted packet for processing {"connection_id":143186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa464"} 
[2026-07-27 21:56:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":70,"angle":305,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 21:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:56:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003307008001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:56:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 21:56:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:56:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:56:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785169469000,"timestamp_ms":1785169469000,"timestamp_seconds":1785169469,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4645e48"} 
[2026-07-27 21:56:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:56:05] 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-07-27 21:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-27 21:56:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:56:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:56:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:56:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:56:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:56:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143186,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:56:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143186,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:56:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:56:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 21:56:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 21:56:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003307008001,"66":2177,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 21:56:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 21:56:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 21:56:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003307008001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:56:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 21:56:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 21:56:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:56:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:56:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003307008001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 21:56:05] local.INFO: DEBUG: GPS processor result {"connection_id":143186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555615,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:56:05] local.INFO: GPS data processed {"connection_id":143186,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:56:05] local.INFO: Acknowledgment sent {"connection_id":143186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:56:07] local.INFO: TCP Data received {"connection_id":143324,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa46423b0012da73f8006017fb0002801252a..."} 
[2026-07-27 21:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa46423b0012da73f8006017fb0002801252a..."} 
[2026-07-27 21:56:07] local.INFO: Processing buffer {"connection_id":143324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa46423b0012da73f8006017fb0002801252a..."} 
[2026-07-27 21:56:07] local.INFO: Packet analysis {"connection_id":143324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa464"} 
[2026-07-27 21:56:07] local.INFO: Extracted packet for processing {"connection_id":143324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa464"} 
[2026-07-27 21:56:07] local.INFO: GPS Element Parsed {"raw_longitude":765935488,"raw_latitude":100761520,"longitude_deg":76.5935488,"latitude_deg":10.076152,"altitude":40,"angle":293,"satellites":42,"speed":0,"hex_longitude":"2da73f80","hex_latitude":"06017fb0","is_valid_coordinates":true} 
[2026-07-27 21:56:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:56:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003378688001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:56:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359408661535129600,"note":"Value kept but may cause issues"} 
[2026-07-27 21:56:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6394689232606158848,"note":"Value kept but may cause issues"} 
[2026-07-27 21:56:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:56:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785169454000,"timestamp_ms":1785169454000,"timestamp_seconds":1785169454,"priority":1,"record_length":96,"hex_timestamp":"0000019fa46423b0"} 
[2026-07-27 21:56:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:56:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 21:56:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-27 21:56:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:56:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:56:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:56:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:56:07] local.INFO: Teltonika packet parsed successfully {"connection_id":143324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:56:07] local.INFO: Passing IMEI to GPS processor {"connection_id":143324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:56:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":143324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:56:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:56:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:56:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:56:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003378688001,"66":27626,"188":206,"88":20992,"24":0,"16":359408661535129600,"45":-6394689232606158848},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,88,24,16,45]} 
[2026-07-27 21:56:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:56:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:56:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003378688001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:56:07] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-07-27 21:56:07] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-07-27 21:56:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359408661535129600,"km_value":359408661535129.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:56:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6394689232606158848,"description":"Unknown IO ID 45"} 
[2026-07-27 21:56:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003378688001,"power":27626,"unknown_188":206,"unknown_88":20992,"ignition":0,"odometer":null,"unknown_45":-6394689232606158848}} 
[2026-07-27 21:56:07] local.INFO: DEBUG: GPS processor result {"connection_id":143324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:56:07] local.INFO: GPS data processed {"connection_id":143324,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:56:07] local.INFO: Acknowledgment sent {"connection_id":143324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:56:10] local.INFO: TCP Data received {"connection_id":143186,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4645e48012d196940071fee200046013129..."} 
[2026-07-27 21:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143186,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4645e48012d196940071fee200046013129..."} 
[2026-07-27 21:56:10] local.INFO: Processing buffer {"connection_id":143186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4645e48012d196940071fee200046013129..."} 
[2026-07-27 21:56:10] local.INFO: Packet analysis {"connection_id":143186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa464"} 
[2026-07-27 21:56:10] local.INFO: Extracted packet for processing {"connection_id":143186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa464"} 
[2026-07-27 21:56:10] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":70,"angle":305,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 21:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:56:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003307008001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:56:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 21:56:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:56:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:56:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785169469000,"timestamp_ms":1785169469000,"timestamp_seconds":1785169469,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4645e48"} 
[2026-07-27 21:56:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:56:10] 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-07-27 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-27 21:56:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:56:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:56:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:56:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:56:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:56:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143186,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:56:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143186,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:56:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:56:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 21:56:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 21:56:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003307008001,"66":2177,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 21:56:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 21:56:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 21:56:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003307008001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:56:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 21:56:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 21:56:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:56:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:56:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003307008001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 21:56:10] local.INFO: DEBUG: GPS processor result {"connection_id":143186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555617,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:56:10] local.INFO: GPS data processed {"connection_id":143186,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:56:10] local.INFO: Acknowledgment sent {"connection_id":143186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:56:31] local.INFO: TCP Data received {"connection_id":145607,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:56:31] local.INFO: Processing buffer {"connection_id":145607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:56:31] local.INFO: IMEI packet received {"connection_id":145607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 21:56:31] local.INFO: IMEI acknowledgment sent {"connection_id":145607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:56:36] local.INFO: TCP Data received {"connection_id":145607,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:56:36] local.INFO: Processing buffer {"connection_id":145607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:56:36] local.INFO: IMEI packet received {"connection_id":145607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 21:56:36] local.INFO: IMEI acknowledgment sent {"connection_id":145607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:56:36] local.INFO: TCP Data received {"connection_id":145607,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa46475b8012da73f8006017fb0002801252c..."} 
[2026-07-27 21:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa46475b8012da73f8006017fb0002801252c..."} 
[2026-07-27 21:56:36] local.INFO: Processing buffer {"connection_id":145607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa46475b8012da73f8006017fb0002801252c..."} 
[2026-07-27 21:56:36] local.INFO: Packet analysis {"connection_id":145607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa464"} 
[2026-07-27 21:56:36] local.INFO: Extracted packet for processing {"connection_id":145607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa464"} 
[2026-07-27 21:56:36] local.INFO: GPS Element Parsed {"raw_longitude":765935488,"raw_latitude":100761520,"longitude_deg":76.5935488,"latitude_deg":10.076152,"altitude":40,"angle":293,"satellites":44,"speed":0,"hex_longitude":"2da73f80","hex_latitude":"06017fb0","is_valid_coordinates":true} 
[2026-07-27 21:56:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:56:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003380224001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:56:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359408661535129600,"note":"Value kept but may cause issues"} 
[2026-07-27 21:56:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6395252182559510528,"note":"Value kept but may cause issues"} 
[2026-07-27 21:56:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:56:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785169475000,"timestamp_ms":1785169475000,"timestamp_seconds":1785169475,"priority":1,"record_length":96,"hex_timestamp":"0000019fa46475b8"} 
[2026-07-27 21:56:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:56:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 21: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":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-07-27 21:56:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:56:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:56:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:56:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:56:36] local.INFO: Teltonika packet parsed successfully {"connection_id":145607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:56:36] local.INFO: Passing IMEI to GPS processor {"connection_id":145607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:56:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":145607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:56:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:56:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:56:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:56:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003380224001,"66":27213,"188":206,"88":20992,"24":0,"16":359408661535129600,"45":-6395252182559510528},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,88,24,16,45]} 
[2026-07-27 21:56:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:56:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:56:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003380224001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:56:36] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-07-27 21:56:36] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-07-27 21:56:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359408661535129600,"km_value":359408661535129.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:56:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6395252182559510528,"description":"Unknown IO ID 45"} 
[2026-07-27 21:56:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003380224001,"power":27213,"unknown_188":206,"unknown_88":20992,"ignition":0,"odometer":null,"unknown_45":-6395252182559510528}} 
[2026-07-27 21:56:36] local.INFO: DEBUG: GPS processor result {"connection_id":145607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:56:36] local.INFO: GPS data processed {"connection_id":145607,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:56:36] local.INFO: Acknowledgment sent {"connection_id":145607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:56:41] local.INFO: TCP Data received {"connection_id":143186,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4645e48012d196940071fee200046013129..."} 
[2026-07-27 21:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143186,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4645e48012d196940071fee200046013129..."} 
[2026-07-27 21:56:41] local.INFO: Processing buffer {"connection_id":143186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4645e48012d196940071fee200046013129..."} 
[2026-07-27 21:56:41] local.INFO: Packet analysis {"connection_id":143186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa464"} 
[2026-07-27 21:56:41] local.INFO: Extracted packet for processing {"connection_id":143186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa464"} 
[2026-07-27 21:56:41] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":70,"angle":305,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 21:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:56:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003307008001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:56:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 21:56:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:56:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:56:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785169469000,"timestamp_ms":1785169469000,"timestamp_seconds":1785169469,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4645e48"} 
[2026-07-27 21:56:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:56:41] 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-07-27 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-27 21:56:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:56:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:56:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:56:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:56:41] local.INFO: Teltonika packet parsed successfully {"connection_id":143186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:56:41] local.INFO: Passing IMEI to GPS processor {"connection_id":143186,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:56:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":143186,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:56:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:56:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 21:56:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 21:56:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003307008001,"66":2177,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 21:56:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 21:56:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 21:56:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003307008001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:56:41] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 21:56:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 21:56:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:56:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:56:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003307008001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 21:56:41] local.INFO: DEBUG: GPS processor result {"connection_id":143186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555619,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:56:41] local.INFO: GPS data processed {"connection_id":143186,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:56:41] local.INFO: Acknowledgment sent {"connection_id":143186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:56:59] local.INFO: TCP Data received {"connection_id":143325,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143325,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:56:59] local.INFO: Processing buffer {"connection_id":143325,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:56:59] local.INFO: IMEI packet received {"connection_id":143325,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 21:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":143325,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:57:04] local.INFO: TCP Data received {"connection_id":143325,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143325,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:57:04] local.INFO: Processing buffer {"connection_id":143325,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:57:04] local.INFO: IMEI packet received {"connection_id":143325,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 21:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":143325,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:57:05] local.INFO: TCP Data received {"connection_id":143325,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4645e48012d196940071fee200046013129..."} 
[2026-07-27 21:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143325,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4645e48012d196940071fee200046013129..."} 
[2026-07-27 21:57:05] local.INFO: Processing buffer {"connection_id":143325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4645e48012d196940071fee200046013129..."} 
[2026-07-27 21:57:05] local.INFO: Packet analysis {"connection_id":143325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa464"} 
[2026-07-27 21:57:05] local.INFO: Extracted packet for processing {"connection_id":143325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa464"} 
[2026-07-27 21:57:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":70,"angle":305,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 21:57:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:57:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003307008001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:57:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 21:57:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:57:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:57:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785169469000,"timestamp_ms":1785169469000,"timestamp_seconds":1785169469,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4645e48"} 
[2026-07-27 21:57:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:57:05] 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-07-27 21:57:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-27 21:57:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:57:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:57:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:57:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:57:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:57:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143325,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:57:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143325,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:57:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:57:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 21:57:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 21:57:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003307008001,"66":2177,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 21:57:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 21:57:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 21:57:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003307008001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:57:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 21:57:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 21:57:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:57:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:57:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003307008001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 21:57:05] local.INFO: DEBUG: GPS processor result {"connection_id":143325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555620,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:57:05] local.INFO: GPS data processed {"connection_id":143325,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:57:05] local.INFO: Acknowledgment sent {"connection_id":143325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:57:07] local.INFO: TCP Data received {"connection_id":145607,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa464c7c0012da73f8006017fb00028012528..."} 
[2026-07-27 21:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa464c7c0012da73f8006017fb00028012528..."} 
[2026-07-27 21:57:07] local.INFO: Processing buffer {"connection_id":145607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa464c7c0012da73f8006017fb00028012528..."} 
[2026-07-27 21:57:07] local.INFO: Packet analysis {"connection_id":145607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa464"} 
[2026-07-27 21:57:07] local.INFO: Extracted packet for processing {"connection_id":145607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa464"} 
[2026-07-27 21:57:07] local.INFO: GPS Element Parsed {"raw_longitude":765935488,"raw_latitude":100761520,"longitude_deg":76.5935488,"latitude_deg":10.076152,"altitude":40,"angle":293,"satellites":40,"speed":0,"hex_longitude":"2da73f80","hex_latitude":"06017fb0","is_valid_coordinates":true} 
[2026-07-27 21:57:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:57:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003385600001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:57:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359408661535129600,"note":"Value kept but may cause issues"} 
[2026-07-27 21:57:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6395252182559510528,"note":"Value kept but may cause issues"} 
[2026-07-27 21:57:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:57:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785169496000,"timestamp_ms":1785169496000,"timestamp_seconds":1785169496,"priority":1,"record_length":96,"hex_timestamp":"0000019fa464c7c0"} 
[2026-07-27 21:57:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:57:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 21:57:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-27 21:57:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:57:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:57:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:57:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:57:07] local.INFO: Teltonika packet parsed successfully {"connection_id":145607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:57:07] local.INFO: Passing IMEI to GPS processor {"connection_id":145607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:57:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":145607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:57:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:57:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:57:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:57:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003385600001,"66":27376,"188":206,"88":20992,"24":0,"16":359408661535129600,"45":-6395252182559510528},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,88,24,16,45]} 
[2026-07-27 21:57:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:57:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:57:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003385600001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:57:07] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-07-27 21:57:07] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-07-27 21:57:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359408661535129600,"km_value":359408661535129.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:57:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6395252182559510528,"description":"Unknown IO ID 45"} 
[2026-07-27 21:57:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003385600001,"power":27376,"unknown_188":206,"unknown_88":20992,"ignition":0,"odometer":null,"unknown_45":-6395252182559510528}} 
[2026-07-27 21:57:07] local.INFO: DEBUG: GPS processor result {"connection_id":145607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:57:07] local.INFO: GPS data processed {"connection_id":145607,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:57:07] local.INFO: Acknowledgment sent {"connection_id":145607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:57:31] local.INFO: TCP Data received {"connection_id":143326,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:57:31] local.INFO: Processing buffer {"connection_id":143326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:57:31] local.INFO: IMEI packet received {"connection_id":143326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 21:57:31] local.INFO: IMEI acknowledgment sent {"connection_id":143326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:57:36] local.INFO: TCP Data received {"connection_id":143326,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:57:36] local.INFO: Processing buffer {"connection_id":143326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:57:36] local.INFO: IMEI packet received {"connection_id":143326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 21:57:36] local.INFO: IMEI acknowledgment sent {"connection_id":143326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:57:37] local.INFO: TCP Data received {"connection_id":143325,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4645e48012d196940071fee200046013129..."} 
[2026-07-27 21:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143325,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4645e48012d196940071fee200046013129..."} 
[2026-07-27 21:57:37] local.INFO: Processing buffer {"connection_id":143325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4645e48012d196940071fee200046013129..."} 
[2026-07-27 21:57:37] local.INFO: Packet analysis {"connection_id":143325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa464"} 
[2026-07-27 21:57:37] local.INFO: Extracted packet for processing {"connection_id":143325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa464"} 
[2026-07-27 21:57:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":70,"angle":305,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 21:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:57:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003307008001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:57:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 21:57:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:57:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:57:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785169469000,"timestamp_ms":1785169469000,"timestamp_seconds":1785169469,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4645e48"} 
[2026-07-27 21:57:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:57:37] 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-07-27 21:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-27 21:57:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:57:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:57:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:57:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:57:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:57:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143325,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:57:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143325,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:57:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:57:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 21:57:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 21:57:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003307008001,"66":2177,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 21:57:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 21:57:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 21:57:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003307008001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:57:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 21:57:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 21:57:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:57:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:57:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003307008001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 21:57:37] local.INFO: DEBUG: GPS processor result {"connection_id":143325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555622,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:57:37] local.INFO: GPS data processed {"connection_id":143325,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:57:37] local.INFO: Acknowledgment sent {"connection_id":143325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:57:43] local.INFO: TCP Data received {"connection_id":143326,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4650e10012da7400006018140002c014a2a..."} 
[2026-07-27 21:57:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4650e10012da7400006018140002c014a2a..."} 
[2026-07-27 21:57:43] local.INFO: Processing buffer {"connection_id":143326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4650e10012da7400006018140002c014a2a..."} 
[2026-07-27 21:57:43] local.INFO: Packet analysis {"connection_id":143326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa465"} 
[2026-07-27 21:57:43] local.INFO: Extracted packet for processing {"connection_id":143326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa465"} 
[2026-07-27 21:57:43] local.INFO: GPS Element Parsed {"raw_longitude":765935616,"raw_latitude":100761920,"longitude_deg":76.5935616,"latitude_deg":10.076192,"altitude":44,"angle":330,"satellites":42,"speed":1,"hex_longitude":"2da74000","hex_latitude":"06018140","is_valid_coordinates":true} 
[2026-07-27 21: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-07-27 21:57:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003390976001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:57:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359408683009966080,"note":"Value kept but may cause issues"} 
[2026-07-27 21:57:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6395252182559510528,"note":"Value kept but may cause issues"} 
[2026-07-27 21:57:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:57:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785169514000,"timestamp_ms":1785169514000,"timestamp_seconds":1785169514,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4650e10"} 
[2026-07-27 21:57:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:57:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 21: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-27 21:57:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21: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-07-27 21:57:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:57:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:57:43] local.INFO: Teltonika packet parsed successfully {"connection_id":143326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:57:43] local.INFO: Passing IMEI to GPS processor {"connection_id":143326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:57:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":143326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:57:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:57:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:57:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:57:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003390976001,"66":27332,"189":206,"88":20992,"24":1,"16":359408683009966080,"45":-6395252182559510528},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,88,24,16,45]} 
[2026-07-27 21:57:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:57:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:57:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003390976001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:57:43] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-07-27 21:57:43] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-07-27 21:57:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359408683009966080,"km_value":359408683009966.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:57:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6395252182559510528,"description":"Unknown IO ID 45"} 
[2026-07-27 21:57:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003390976001,"power":27332,"unknown_189":206,"unknown_88":20992,"ignition":1,"odometer":null,"unknown_45":-6395252182559510528}} 
[2026-07-27 21:57:43] local.INFO: DEBUG: GPS processor result {"connection_id":143326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:57:43] local.INFO: GPS data processed {"connection_id":143326,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:57:43] local.INFO: Acknowledgment sent {"connection_id":143326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:57:44] local.INFO: TCP Data received {"connection_id":143326,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa46515e0012da73f40060181e0002c013a2a..."} 
[2026-07-27 21:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa46515e0012da73f40060181e0002c013a2a..."} 
[2026-07-27 21:57:44] local.INFO: Processing buffer {"connection_id":143326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa46515e0012da73f40060181e0002c013a2a..."} 
[2026-07-27 21:57:44] local.INFO: Packet analysis {"connection_id":143326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa465"} 
[2026-07-27 21:57:44] local.INFO: Extracted packet for processing {"connection_id":143326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa465"} 
[2026-07-27 21:57:44] local.INFO: GPS Element Parsed {"raw_longitude":765935424,"raw_latitude":100762080,"longitude_deg":76.5935424,"latitude_deg":10.076208,"altitude":44,"angle":314,"satellites":42,"speed":6,"hex_longitude":"2da73f40","hex_latitude":"060181e0","is_valid_coordinates":true} 
[2026-07-27 21:57:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:57:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003395584001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:57:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359408691599900672,"note":"Value kept but may cause issues"} 
[2026-07-27 21:57:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6395111445071052800,"note":"Value kept but may cause issues"} 
[2026-07-27 21:57:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:57:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785169516000,"timestamp_ms":1785169516000,"timestamp_seconds":1785169516,"priority":1,"record_length":96,"hex_timestamp":"0000019fa46515e0"} 
[2026-07-27 21:57:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:57:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 21:57:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-27 21:57:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:57:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:57:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:57:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:57:44] local.INFO: Teltonika packet parsed successfully {"connection_id":143326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:57:44] local.INFO: Passing IMEI to GPS processor {"connection_id":143326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:57:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":143326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:57: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-07-27 21:57:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:57:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:57:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003395584001,"66":27332,"189":206,"88":20992,"24":6,"16":359408691599900672,"45":-6395111445071052800},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,88,24,16,45]} 
[2026-07-27 21:57:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:57:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:57:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003395584001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:57:44] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-07-27 21:57:44] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-07-27 21:57:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359408691599900672,"km_value":359408691599900.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:57:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6395111445071052800,"description":"Unknown IO ID 45"} 
[2026-07-27 21:57:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003395584001,"power":27332,"unknown_189":206,"unknown_88":20992,"ignition":6,"odometer":null,"unknown_45":-6395111445071052800}} 
[2026-07-27 21:57:44] local.INFO: DEBUG: GPS processor result {"connection_id":143326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:57:44] local.INFO: GPS data processed {"connection_id":143326,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:57:44] local.INFO: Acknowledgment sent {"connection_id":143326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:57:59] local.INFO: TCP Data received {"connection_id":144333,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144333,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:57:59] local.INFO: Processing buffer {"connection_id":144333,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:57:59] local.INFO: IMEI packet received {"connection_id":144333,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 21:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":144333,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:58:04] local.INFO: TCP Data received {"connection_id":144333,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144333,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:58:04] local.INFO: Processing buffer {"connection_id":144333,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:58:04] local.INFO: IMEI packet received {"connection_id":144333,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 21:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":144333,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:58:05] local.INFO: TCP Data received {"connection_id":144333,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4645e48012d196940071fee200046013129..."} 
[2026-07-27 21:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4645e48012d196940071fee200046013129..."} 
[2026-07-27 21:58:05] local.INFO: Processing buffer {"connection_id":144333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4645e48012d196940071fee200046013129..."} 
[2026-07-27 21:58:05] local.INFO: Packet analysis {"connection_id":144333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa464"} 
[2026-07-27 21:58:05] local.INFO: Extracted packet for processing {"connection_id":144333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa464"} 
[2026-07-27 21:58:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":70,"angle":305,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 21:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:58:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003307008001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:58:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 21:58:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:58:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:58:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785169469000,"timestamp_ms":1785169469000,"timestamp_seconds":1785169469,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4645e48"} 
[2026-07-27 21:58:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:58:05] 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-07-27 21:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-27 21:58:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:58:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:58:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:58:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:58:05] local.INFO: Teltonika packet parsed successfully {"connection_id":144333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:58:05] local.INFO: Passing IMEI to GPS processor {"connection_id":144333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:58:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":144333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:58:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:58:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 21:58:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 21:58:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003307008001,"66":2177,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 21:58:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 21:58:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 21:58:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003307008001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:58:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 21:58:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 21:58:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:58:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:58:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003307008001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 21:58:05] local.INFO: DEBUG: GPS processor result {"connection_id":144333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555625,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:58:05] local.INFO: GPS data processed {"connection_id":144333,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:58:05] local.INFO: Acknowledgment sent {"connection_id":144333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:58:15] local.INFO: TCP Data received {"connection_id":143326,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa466eaa0012da5fd400601eed8002401352c..."} 
[2026-07-27 21:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa466eaa0012da5fd400601eed8002401352c..."} 
[2026-07-27 21:58:15] local.INFO: Processing buffer {"connection_id":143326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa466eaa0012da5fd400601eed8002401352c..."} 
[2026-07-27 21:58:15] local.INFO: Packet analysis {"connection_id":143326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa466"} 
[2026-07-27 21:58:15] local.INFO: Extracted packet for processing {"connection_id":143326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa466"} 
[2026-07-27 21:58:15] local.INFO: GPS Element Parsed {"raw_longitude":765852992,"raw_latitude":100789976,"longitude_deg":76.5852992,"latitude_deg":10.0789976,"altitude":36,"angle":309,"satellites":44,"speed":26,"hex_longitude":"2da5fd40","hex_latitude":"0601eed8","is_valid_coordinates":true} 
[2026-07-27 21: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-07-27 21:58:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003424000001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:58:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359412943617523712,"note":"Value kept but may cause issues"} 
[2026-07-27 21:58:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6478498406915909632,"note":"Value kept but may cause issues"} 
[2026-07-27 21:58:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:58:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785169636000,"timestamp_ms":1785169636000,"timestamp_seconds":1785169636,"priority":1,"record_length":96,"hex_timestamp":"0000019fa466eaa0"} 
[2026-07-27 21:58:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:58:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 21: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-27 21:58:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21: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-07-27 21:58:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:58:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:58:15] local.INFO: Teltonika packet parsed successfully {"connection_id":143326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:58:15] local.INFO: Passing IMEI to GPS processor {"connection_id":143326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:58:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":143326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:58:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:58:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:58:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:58:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003424000001,"66":27343,"99":206,"88":20992,"24":26,"16":359412943617523712,"45":-6478498406915909632},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,88,24,16,45]} 
[2026-07-27 21:58:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:58:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:58:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003424000001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:58:15] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-07-27 21:58:15] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-07-27 21:58:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359412943617523712,"km_value":359412943617523.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:58:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6478498406915909632,"description":"Unknown IO ID 45"} 
[2026-07-27 21:58:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003424000001,"power":27343,"unknown_99":206,"unknown_88":20992,"ignition":26,"odometer":null,"unknown_45":-6478498406915909632}} 
[2026-07-27 21:58:15] local.INFO: DEBUG: GPS processor result {"connection_id":143326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:58:15] local.INFO: GPS data processed {"connection_id":143326,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:58:15] local.INFO: Acknowledgment sent {"connection_id":143326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:58:31] local.INFO: TCP Data received {"connection_id":145608,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:58:31] local.INFO: Processing buffer {"connection_id":145608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:58:31] local.INFO: IMEI packet received {"connection_id":145608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 21:58:31] local.INFO: IMEI acknowledgment sent {"connection_id":145608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:58:35] local.INFO: TCP Data received {"connection_id":145608,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:58:35] local.INFO: Processing buffer {"connection_id":145608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:58:35] local.INFO: IMEI packet received {"connection_id":145608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 21:58:35] local.INFO: IMEI acknowledgment sent {"connection_id":145608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:58:36] local.INFO: TCP Data received {"connection_id":145608,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:58:36] local.INFO: Processing buffer {"connection_id":145608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:58:36] local.INFO: IMEI packet received {"connection_id":145608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 21:58:36] local.INFO: IMEI acknowledgment sent {"connection_id":145608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:58:36] local.INFO: TCP Data received {"connection_id":145608,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4670210012da5f2c00601f6f00024012a2b..."} 
[2026-07-27 21:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4670210012da5f2c00601f6f00024012a2b..."} 
[2026-07-27 21:58:36] local.INFO: Processing buffer {"connection_id":145608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4670210012da5f2c00601f6f00024012a2b..."} 
[2026-07-27 21:58:36] local.INFO: Packet analysis {"connection_id":145608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa467"} 
[2026-07-27 21:58:36] local.INFO: Extracted packet for processing {"connection_id":145608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa467"} 
[2026-07-27 21:58:36] local.INFO: GPS Element Parsed {"raw_longitude":765850304,"raw_latitude":100792048,"longitude_deg":76.5850304,"latitude_deg":10.0792048,"altitude":36,"angle":298,"satellites":43,"speed":20,"hex_longitude":"2da5f2c0","hex_latitude":"0601f6f0","is_valid_coordinates":true} 
[2026-07-27 21:58:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:58:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003426816001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:58:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359413106826280960,"note":"Value kept but may cause issues"} 
[2026-07-27 21:58:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6485957493797234688,"note":"Value kept but may cause issues"} 
[2026-07-27 21:58:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:58:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785169642000,"timestamp_ms":1785169642000,"timestamp_seconds":1785169642,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4670210"} 
[2026-07-27 21:58:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:58:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 21:58:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-27 21:58:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:58:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:58:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:58:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:58:36] local.INFO: Teltonika packet parsed successfully {"connection_id":145608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:58:36] local.INFO: Passing IMEI to GPS processor {"connection_id":145608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:58:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":145608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:58:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:58:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:58:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:58:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003426816001,"66":27310,"99":206,"88":20992,"24":20,"16":359413106826280960,"45":-6485957493797234688},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,88,24,16,45]} 
[2026-07-27 21:58:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:58:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:58:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003426816001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:58:36] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-07-27 21:58:36] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-07-27 21:58:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359413106826280960,"km_value":359413106826280.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:58:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6485957493797234688,"description":"Unknown IO ID 45"} 
[2026-07-27 21:58:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003426816001,"power":27310,"unknown_99":206,"unknown_88":20992,"ignition":20,"odometer":null,"unknown_45":-6485957493797234688}} 
[2026-07-27 21:58:36] local.INFO: DEBUG: GPS processor result {"connection_id":145608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:58:36] local.INFO: GPS data processed {"connection_id":145608,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:58:36] local.INFO: Acknowledgment sent {"connection_id":145608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:58:41] local.INFO: TCP Data received {"connection_id":144333,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4645e48012d196940071fee200046013129..."} 
[2026-07-27 21:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4645e48012d196940071fee200046013129..."} 
[2026-07-27 21:58:41] local.INFO: Processing buffer {"connection_id":144333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4645e48012d196940071fee200046013129..."} 
[2026-07-27 21:58:41] local.INFO: Packet analysis {"connection_id":144333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa464"} 
[2026-07-27 21:58:41] local.INFO: Extracted packet for processing {"connection_id":144333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa464"} 
[2026-07-27 21:58:41] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":70,"angle":305,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 21:58:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:58:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003307008001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:58:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 21:58:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:58:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:58:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785169469000,"timestamp_ms":1785169469000,"timestamp_seconds":1785169469,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4645e48"} 
[2026-07-27 21:58:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:58:41] 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-07-27 21:58:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-27 21:58:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:58:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:58:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:58:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:58:41] local.INFO: Teltonika packet parsed successfully {"connection_id":144333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:58:41] local.INFO: Passing IMEI to GPS processor {"connection_id":144333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:58:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":144333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:58:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:58:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 21:58:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 21:58:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003307008001,"66":2177,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 21:58:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 21:58:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 21:58:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003307008001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:58:41] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 21:58:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 21:58:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:58:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:58:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003307008001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 21:58:41] local.INFO: DEBUG: GPS processor result {"connection_id":144333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555628,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:58:41] local.INFO: GPS data processed {"connection_id":144333,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:58:41] local.INFO: Acknowledgment sent {"connection_id":144333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:58:41] local.INFO: TCP Data received {"connection_id":145608,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa46730f0012da5d500060202600023011f2b..."} 
[2026-07-27 21:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa46730f0012da5d500060202600023011f2b..."} 
[2026-07-27 21:58:41] local.INFO: Processing buffer {"connection_id":145608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa46730f0012da5d500060202600023011f2b..."} 
[2026-07-27 21:58:41] local.INFO: Packet analysis {"connection_id":145608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa467"} 
[2026-07-27 21:58:41] local.INFO: Extracted packet for processing {"connection_id":145608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa467"} 
[2026-07-27 21:58:41] local.INFO: GPS Element Parsed {"raw_longitude":765842688,"raw_latitude":100794976,"longitude_deg":76.5842688,"latitude_deg":10.0794976,"altitude":35,"angle":287,"satellites":43,"speed":28,"hex_longitude":"2da5d500","hex_latitude":"06020260","is_valid_coordinates":true} 
[2026-07-27 21:58:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:58:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003428352001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:58:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359413497668304896,"note":"Value kept but may cause issues"} 
[2026-07-27 21:58:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6488912981052166144,"note":"Value kept but may cause issues"} 
[2026-07-27 21:58:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:58:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785169654000,"timestamp_ms":1785169654000,"timestamp_seconds":1785169654,"priority":1,"record_length":96,"hex_timestamp":"0000019fa46730f0"} 
[2026-07-27 21:58:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:58:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 21:58:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-27 21:58:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:58:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:58:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:58:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:58:41] local.INFO: Teltonika packet parsed successfully {"connection_id":145608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:58:41] local.INFO: Passing IMEI to GPS processor {"connection_id":145608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:58:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":145608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:58:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:58:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:58:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:58:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003428352001,"66":27365,"99":206,"88":20992,"24":28,"16":359413497668304896,"45":-6488912981052166144},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,88,24,16,45]} 
[2026-07-27 21:58:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:58:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:58:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003428352001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:58:41] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-07-27 21:58:41] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-07-27 21:58:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359413497668304896,"km_value":359413497668304.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:58:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6488912981052166144,"description":"Unknown IO ID 45"} 
[2026-07-27 21:58:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003428352001,"power":27365,"unknown_99":206,"unknown_88":20992,"ignition":28,"odometer":null,"unknown_45":-6488912981052166144}} 
[2026-07-27 21:58:41] local.INFO: DEBUG: GPS processor result {"connection_id":145608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:58:41] local.INFO: GPS data processed {"connection_id":145608,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:58:41] local.INFO: Acknowledgment sent {"connection_id":145608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:58:58] local.INFO: TCP Data received {"connection_id":143187,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143187,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:58:58] local.INFO: Processing buffer {"connection_id":143187,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:58:58] local.INFO: IMEI packet received {"connection_id":143187,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 21:58:58] local.INFO: IMEI acknowledgment sent {"connection_id":143187,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:59:04] local.INFO: TCP Data received {"connection_id":143187,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143187,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:59:04] local.INFO: Processing buffer {"connection_id":143187,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:59:04] local.INFO: IMEI packet received {"connection_id":143187,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 21:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":143187,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:59:05] local.INFO: TCP Data received {"connection_id":143187,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4645e48012d196940071fee200046013129..."} 
[2026-07-27 21:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143187,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4645e48012d196940071fee200046013129..."} 
[2026-07-27 21:59:05] local.INFO: Processing buffer {"connection_id":143187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4645e48012d196940071fee200046013129..."} 
[2026-07-27 21:59:05] local.INFO: Packet analysis {"connection_id":143187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa464"} 
[2026-07-27 21:59:05] local.INFO: Extracted packet for processing {"connection_id":143187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa464"} 
[2026-07-27 21:59:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":70,"angle":305,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 21:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:59:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003307008001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:59:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 21:59:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:59:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:59:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785169469000,"timestamp_ms":1785169469000,"timestamp_seconds":1785169469,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4645e48"} 
[2026-07-27 21:59:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:59:05] 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-07-27 21:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-27 21:59:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:59:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:59:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:59:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:59:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:59:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143187,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:59:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143187,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:59:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:59:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 21:59:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 21:59:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003307008001,"66":2177,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 21:59:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 21:59:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 21:59:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003307008001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:59:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 21:59:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 21:59:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:59:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:59:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003307008001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 21:59:05] local.INFO: DEBUG: GPS processor result {"connection_id":143187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555630,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:59:05] local.INFO: GPS data processed {"connection_id":143187,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:59:05] local.INFO: Acknowledgment sent {"connection_id":143187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:59:12] local.INFO: TCP Data received {"connection_id":145608,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4675fd0012da5b18006020db80024012128..."} 
[2026-07-27 21:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4675fd0012da5b18006020db80024012128..."} 
[2026-07-27 21:59:12] local.INFO: Processing buffer {"connection_id":145608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4675fd0012da5b18006020db80024012128..."} 
[2026-07-27 21:59:12] local.INFO: Packet analysis {"connection_id":145608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa467"} 
[2026-07-27 21:59:12] local.INFO: Extracted packet for processing {"connection_id":145608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa467"} 
[2026-07-27 21:59:12] local.INFO: GPS Element Parsed {"raw_longitude":765833600,"raw_latitude":100797880,"longitude_deg":76.58336,"latitude_deg":10.079788,"altitude":36,"angle":289,"satellites":40,"speed":32,"hex_longitude":"2da5b180","hex_latitude":"06020db8","is_valid_coordinates":true} 
[2026-07-27 21:59:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:59:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003431424001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:59:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359413952934838272,"note":"Value kept but may cause issues"} 
[2026-07-27 21:59:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6497286861608558592,"note":"Value kept but may cause issues"} 
[2026-07-27 21:59:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:59:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785169666000,"timestamp_ms":1785169666000,"timestamp_seconds":1785169666,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4675fd0"} 
[2026-07-27 21:59:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:59:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 21:59:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-27 21:59:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:59:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:59:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:59:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:59:12] local.INFO: Teltonika packet parsed successfully {"connection_id":145608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:59:12] local.INFO: Passing IMEI to GPS processor {"connection_id":145608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:59:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":145608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:59: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-07-27 21:59:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:59:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:59:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003431424001,"66":26691,"99":206,"88":20992,"24":32,"16":359413952934838272,"45":-6497286861608558592},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,88,24,16,45]} 
[2026-07-27 21:59:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:59:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:59:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003431424001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:59:12] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-07-27 21:59:12] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-07-27 21:59:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359413952934838272,"km_value":359413952934838.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:59:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6497286861608558592,"description":"Unknown IO ID 45"} 
[2026-07-27 21:59:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003431424001,"power":26691,"unknown_99":206,"unknown_88":20992,"ignition":32,"odometer":null,"unknown_45":-6497286861608558592}} 
[2026-07-27 21:59:12] local.INFO: DEBUG: GPS processor result {"connection_id":145608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:59:12] local.INFO: GPS data processed {"connection_id":145608,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:59:12] local.INFO: Acknowledgment sent {"connection_id":145608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:59:31] local.INFO: TCP Data received {"connection_id":144334,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:59:31] local.INFO: Processing buffer {"connection_id":144334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:59:31] local.INFO: IMEI packet received {"connection_id":144334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 21:59:31] local.INFO: IMEI acknowledgment sent {"connection_id":144334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 21:59:36] local.INFO: TCP Data received {"connection_id":144334,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:59:36] local.INFO: Processing buffer {"connection_id":144334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 21:59:36] local.INFO: IMEI packet received {"connection_id":144334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 21:59:36] local.INFO: IMEI acknowledgment sent {"connection_id":144334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 21:59:37] local.INFO: TCP Data received {"connection_id":144334,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4678ac8012da58e40060219e00024011e2a..."} 
[2026-07-27 21:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144334,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4678ac8012da58e40060219e00024011e2a..."} 
[2026-07-27 21:59:37] local.INFO: Processing buffer {"connection_id":144334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4678ac8012da58e40060219e00024011e2a..."} 
[2026-07-27 21:59:37] local.INFO: Packet analysis {"connection_id":144334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa467"} 
[2026-07-27 21:59:37] local.INFO: Extracted packet for processing {"connection_id":144334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa467"} 
[2026-07-27 21:59:37] local.INFO: GPS Element Parsed {"raw_longitude":765824576,"raw_latitude":100800992,"longitude_deg":76.5824576,"latitude_deg":10.0800992,"altitude":36,"angle":286,"satellites":42,"speed":34,"hex_longitude":"2da58e40","hex_latitude":"060219e0","is_valid_coordinates":true} 
[2026-07-27 21:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:59:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003434496001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:59:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359414408201371648,"note":"Value kept but may cause issues"} 
[2026-07-27 21:59:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6507279223281043456,"note":"Value kept but may cause issues"} 
[2026-07-27 21:59:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:59:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785169677000,"timestamp_ms":1785169677000,"timestamp_seconds":1785169677,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4678ac8"} 
[2026-07-27 21:59:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:59:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 21:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":67,"data_length":795,"current_offset":136} 
[2026-07-27 21:59:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1321,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:59:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:59:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:59:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:59:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:59:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:59:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 21:59:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:59:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 21:59:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 21:59:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003434496001,"66":27343,"99":206,"88":20992,"24":34,"16":359414408201371648,"45":-6507279223281043456},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,88,24,16,45]} 
[2026-07-27 21:59:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 21:59:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 21:59:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003434496001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:59:37] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-07-27 21:59:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-07-27 21:59:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359414408201371648,"km_value":359414408201371.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:59:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6507279223281043456,"description":"Unknown IO ID 45"} 
[2026-07-27 21:59:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003434496001,"power":27343,"unknown_99":206,"unknown_88":20992,"ignition":34,"odometer":null,"unknown_45":-6507279223281043456}} 
[2026-07-27 21:59:37] local.INFO: DEBUG: GPS processor result {"connection_id":144334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:59:37] local.INFO: GPS data processed {"connection_id":144334,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:59:37] local.INFO: Acknowledgment sent {"connection_id":144334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:59:37] local.INFO: TCP Data received {"connection_id":143187,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4645e48012d196940071fee200046013129..."} 
[2026-07-27 21:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143187,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4645e48012d196940071fee200046013129..."} 
[2026-07-27 21:59:37] local.INFO: Processing buffer {"connection_id":143187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4645e48012d196940071fee200046013129..."} 
[2026-07-27 21:59:37] local.INFO: Packet analysis {"connection_id":143187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa464"} 
[2026-07-27 21:59:37] local.INFO: Extracted packet for processing {"connection_id":143187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa464"} 
[2026-07-27 21:59:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":70,"angle":305,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 21:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 21:59:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003307008001,"note":"Value kept but may cause issues"} 
[2026-07-27 21:59:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 21:59:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 21:59:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 21:59:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785169469000,"timestamp_ms":1785169469000,"timestamp_seconds":1785169469,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4645e48"} 
[2026-07-27 21:59:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 21:59:37] 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-07-27 21:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-27 21:59:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 21:59:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 21:59:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 21:59:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 21:59:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 21:59:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143187,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:59:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143187,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 21:59:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 21:59:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 21:59:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 21:59:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003307008001,"66":2177,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 21:59:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 21:59:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 21:59:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003307008001,"description":"Unknown IO ID 0"} 
[2026-07-27 21:59:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 21:59:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 21:59:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 21:59:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 21:59:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003307008001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 21:59:37] local.INFO: DEBUG: GPS processor result {"connection_id":143187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555633,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 21:59:37] local.INFO: GPS data processed {"connection_id":143187,"processed":1,"errors":0,"total":1} 
[2026-07-27 21:59:37] local.INFO: Acknowledgment sent {"connection_id":143187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 21:59:58] local.INFO: TCP Data received {"connection_id":143327,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143327,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:59:58] local.INFO: Processing buffer {"connection_id":143327,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 21:59:58] local.INFO: IMEI packet received {"connection_id":143327,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 21:59:58] local.INFO: IMEI acknowledgment sent {"connection_id":143327,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 22:00:04] local.INFO: TCP Data received {"connection_id":143327,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143327,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:00:04] local.INFO: Processing buffer {"connection_id":143327,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:00:04] local.INFO: IMEI packet received {"connection_id":143327,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 22:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":143327,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:00:05] local.INFO: TCP Data received {"connection_id":143327,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4645e48012d196940071fee200046013129..."} 
[2026-07-27 22:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4645e48012d196940071fee200046013129..."} 
[2026-07-27 22:00:05] local.INFO: Processing buffer {"connection_id":143327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4645e48012d196940071fee200046013129..."} 
[2026-07-27 22:00:05] local.INFO: Packet analysis {"connection_id":143327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa464"} 
[2026-07-27 22:00:05] local.INFO: Extracted packet for processing {"connection_id":143327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa464"} 
[2026-07-27 22:00:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":70,"angle":305,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003307008001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:00:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:00:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:00:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:00:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785169469000,"timestamp_ms":1785169469000,"timestamp_seconds":1785169469,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4645e48"} 
[2026-07-27 22:00:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:00:05] 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-07-27 22:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-27 22:00:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:00:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:00:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:00:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:00:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:00:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143327,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:00:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143327,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:00:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:00:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:00:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:00:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003307008001,"66":2177,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:00:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:00:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:00:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003307008001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:00:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:00:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:00:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:00:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:00:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003307008001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:00:05] local.INFO: DEBUG: GPS processor result {"connection_id":143327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555634,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:00:05] local.INFO: GPS data processed {"connection_id":143327,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:00:05] local.INFO: Acknowledgment sent {"connection_id":143327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:00:08] local.INFO: TCP Data received {"connection_id":144334,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa468a020012da47b8006023350002101332c..."} 
[2026-07-27 22:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144334,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa468a020012da47b8006023350002101332c..."} 
[2026-07-27 22:00:08] local.INFO: Processing buffer {"connection_id":144334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa468a020012da47b8006023350002101332c..."} 
[2026-07-27 22:00:08] local.INFO: Packet analysis {"connection_id":144334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa468"} 
[2026-07-27 22:00:08] local.INFO: Extracted packet for processing {"connection_id":144334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa468"} 
[2026-07-27 22:00:08] local.INFO: GPS Element Parsed {"raw_longitude":765754240,"raw_latitude":100807504,"longitude_deg":76.575424,"latitude_deg":10.0807504,"altitude":33,"angle":307,"satellites":44,"speed":37,"hex_longitude":"2da47b80","hex_latitude":"06023350","is_valid_coordinates":true} 
[2026-07-27 22:00:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:00:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003454976001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:00:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359417848470175744,"note":"Value kept but may cause issues"} 
[2026-07-27 22:00:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6592706878710521856,"note":"Value kept but may cause issues"} 
[2026-07-27 22:00:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:00:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785169748000,"timestamp_ms":1785169748000,"timestamp_seconds":1785169748,"priority":1,"record_length":96,"hex_timestamp":"0000019fa468a020"} 
[2026-07-27 22:00:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:00:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 22: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-27 22:00:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:00:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:00:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:00:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:00:08] local.INFO: Teltonika packet parsed successfully {"connection_id":144334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:00:08] local.INFO: Passing IMEI to GPS processor {"connection_id":144334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:00:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":144334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:00:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:00:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:00:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:00:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003454976001,"66":27310,"213":206,"88":20992,"24":37,"16":359417848470175744,"45":-6592706878710521856},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,88,24,16,45]} 
[2026-07-27 22:00:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:00:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:00:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003454976001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:00:08] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-07-27 22:00:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-07-27 22:00:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359417848470175744,"km_value":359417848470175.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:00:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6592706878710521856,"description":"Unknown IO ID 45"} 
[2026-07-27 22:00:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003454976001,"power":27310,"unknown_213":206,"unknown_88":20992,"ignition":37,"odometer":null,"unknown_45":-6592706878710521856}} 
[2026-07-27 22:00:08] local.INFO: DEBUG: GPS processor result {"connection_id":144334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:00:08] local.INFO: GPS data processed {"connection_id":144334,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:00:08] local.INFO: Acknowledgment sent {"connection_id":144334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:00:36] local.INFO: TCP Data received {"connection_id":143188,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:00:36] local.INFO: Processing buffer {"connection_id":143188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:00:36] local.INFO: IMEI packet received {"connection_id":143188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 22:00:36] local.INFO: IMEI acknowledgment sent {"connection_id":143188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 22:00:36] local.INFO: TCP Data received {"connection_id":143188,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:00:36] local.INFO: Processing buffer {"connection_id":143188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:00:36] local.INFO: IMEI packet received {"connection_id":143188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 22:00:36] local.INFO: IMEI acknowledgment sent {"connection_id":143188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:00:36] local.INFO: TCP Data received {"connection_id":143327,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa468f610012d196940071fee200046013129..."} 
[2026-07-27 22:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa468f610012d196940071fee200046013129..."} 
[2026-07-27 22:00:36] local.INFO: Processing buffer {"connection_id":143327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa468f610012d196940071fee200046013129..."} 
[2026-07-27 22:00:36] local.INFO: Packet analysis {"connection_id":143327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa468"} 
[2026-07-27 22:00:36] local.INFO: Extracted packet for processing {"connection_id":143327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa468"} 
[2026-07-27 22:00:36] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":70,"angle":305,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:00:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003384064001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:00:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:00:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:00:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:00:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785169770000,"timestamp_ms":1785169770000,"timestamp_seconds":1785169770,"priority":1,"record_length":96,"hex_timestamp":"0000019fa468f610"} 
[2026-07-27 22:00:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:00:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-27 22:00:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:00:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:00:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:00:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:00:36] local.INFO: Teltonika packet parsed successfully {"connection_id":143327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:00:36] local.INFO: Passing IMEI to GPS processor {"connection_id":143327,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:00:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":143327,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:00:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:00:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:00:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:00:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003384064001,"66":2144,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:00:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:00:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:00:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003384064001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:00:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:00:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:00:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:00:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:00:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003384064001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":143327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555636,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:00:37] local.INFO: GPS data processed {"connection_id":143327,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:00:37] local.INFO: Acknowledgment sent {"connection_id":143327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:00:41] local.INFO: TCP Data received {"connection_id":143188,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:00:41] local.INFO: Processing buffer {"connection_id":143188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:00:41] local.INFO: IMEI packet received {"connection_id":143188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 22:00:41] local.INFO: IMEI acknowledgment sent {"connection_id":143188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:00:46] local.INFO: TCP Data received {"connection_id":143188,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa468c730012da45e8006024d700022013a2a..."} 
[2026-07-27 22:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa468c730012da45e8006024d700022013a2a..."} 
[2026-07-27 22:00:46] local.INFO: Processing buffer {"connection_id":143188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa468c730012da45e8006024d700022013a2a..."} 
[2026-07-27 22:00:46] local.INFO: Packet analysis {"connection_id":143188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa468"} 
[2026-07-27 22:00:46] local.INFO: Extracted packet for processing {"connection_id":143188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa468"} 
[2026-07-27 22:00:46] local.INFO: GPS Element Parsed {"raw_longitude":765746816,"raw_latitude":100814192,"longitude_deg":76.5746816,"latitude_deg":10.0814192,"altitude":34,"angle":314,"satellites":42,"speed":41,"hex_longitude":"2da45e80","hex_latitude":"06024d70","is_valid_coordinates":true} 
[2026-07-27 22:00:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:00:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003455488001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:00:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359418325211545600,"note":"Value kept but may cause issues"} 
[2026-07-27 22:00:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6594536466058883072,"note":"Value kept but may cause issues"} 
[2026-07-27 22:00:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:00:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785169758000,"timestamp_ms":1785169758000,"timestamp_seconds":1785169758,"priority":1,"record_length":96,"hex_timestamp":"0000019fa468c730"} 
[2026-07-27 22:00:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:00:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 22: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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-27 22:00:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:00:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:00:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:00:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:00:46] local.INFO: Teltonika packet parsed successfully {"connection_id":143188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:00:46] local.INFO: Passing IMEI to GPS processor {"connection_id":143188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:00:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":143188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:00:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:00:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:00:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:00:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003455488001,"66":27376,"213":206,"88":20992,"24":41,"16":359418325211545600,"45":-6594536466058883072},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,88,24,16,45]} 
[2026-07-27 22:00:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:00:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:00:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003455488001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:00:46] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-07-27 22:00:46] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-07-27 22:00:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359418325211545600,"km_value":359418325211545.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:00:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6594536466058883072,"description":"Unknown IO ID 45"} 
[2026-07-27 22:00:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003455488001,"power":27376,"unknown_213":206,"unknown_88":20992,"ignition":41,"odometer":null,"unknown_45":-6594536466058883072}} 
[2026-07-27 22:00:46] local.INFO: DEBUG: GPS processor result {"connection_id":143188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:00:46] local.INFO: GPS data processed {"connection_id":143188,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:00:46] local.INFO: Acknowledgment sent {"connection_id":143188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:00:48] local.INFO: TCP Data received {"connection_id":143188,"ip":"42.106.6.32","data_length":1348,"data_hex":"000000000000030f8e0a0000019fa468ea58012da44540060266b8002401342a..."} 
[2026-07-27 22:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143188,"packet_length":1348,"packet_hex":"000000000000030f8e0a0000019fa468ea58012da44540060266b8002401342a..."} 
[2026-07-27 22:00:48] local.INFO: Processing buffer {"connection_id":143188,"buffer_length":1348,"buffer_hex":"000000000000030f8e0a0000019fa468ea58012da44540060266b8002401342a..."} 
[2026-07-27 22:00:48] local.INFO: Packet analysis {"connection_id":143188,"data_field_length":783,"total_packet_length":795,"buffer_length":1348,"packet_hex_start":"000000000000030f8e0a0000019fa468"} 
[2026-07-27 22:00:48] local.INFO: Extracted packet for processing {"connection_id":143188,"packet_length":795,"remaining_buffer_length":553,"packet_hex_start":"000000000000030f8e0a0000019fa468"} 
[2026-07-27 22:00:48] local.INFO: GPS Element Parsed {"raw_longitude":765740352,"raw_latitude":100820664,"longitude_deg":76.5740352,"latitude_deg":10.0820664,"altitude":36,"angle":308,"satellites":42,"speed":40,"hex_longitude":"2da44540","hex_latitude":"060266b8","is_valid_coordinates":true} 
[2026-07-27 22: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-07-27 22:00:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003458048001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:00:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359418767593177088,"note":"Value kept but may cause issues"} 
[2026-07-27 22:00:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6602699240381779968,"note":"Value kept but may cause issues"} 
[2026-07-27 22:00:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:00:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785169767000,"timestamp_ms":1785169767000,"timestamp_seconds":1785169767,"priority":1,"record_length":96,"hex_timestamp":"0000019fa468ea58"} 
[2026-07-27 22:00:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:00:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 22: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-27 22:00:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22: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-07-27 22:00:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:00:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:00:48] local.INFO: Teltonika packet parsed successfully {"connection_id":143188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:00:48] local.INFO: Passing IMEI to GPS processor {"connection_id":143188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:00:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":143188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:00:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:00:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:00:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:00:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003458048001,"66":27484,"213":206,"88":20992,"24":40,"16":359418767593177088,"45":-6602699240381779968},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,88,24,16,45]} 
[2026-07-27 22:00:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:00:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:00:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003458048001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:00:48] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-07-27 22:00:48] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-07-27 22:00:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359418767593177088,"km_value":359418767593177.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:00:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6602699240381779968,"description":"Unknown IO ID 45"} 
[2026-07-27 22:00:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003458048001,"power":27484,"unknown_213":206,"unknown_88":20992,"ignition":40,"odometer":null,"unknown_45":-6602699240381779968}} 
[2026-07-27 22:00:48] local.INFO: DEBUG: GPS processor result {"connection_id":143188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:00:48] local.INFO: GPS data processed {"connection_id":143188,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:00:48] local.INFO: Acknowledgment sent {"connection_id":143188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:00:48] local.INFO: Packet analysis {"connection_id":143188,"data_field_length":783,"total_packet_length":795,"buffer_length":553,"packet_hex_start":"000000000000030f8e0a0000019fa469"} 
[2026-07-27 22:00:48] local.INFO: Incomplete packet, waiting for more data {"connection_id":143188,"needed":795,"available":553} 
[2026-07-27 22:00:48] local.INFO: TCP Data received {"connection_id":143188,"ip":"42.106.6.32","data_length":242,"data_hex":"0000000000019fa4685db8012da4c000060229a80022011028002d0000000a00..."} 
[2026-07-27 22:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143188,"packet_length":242,"packet_hex":"0000000000019fa4685db8012da4c000060229a80022011028002d0000000a00..."} 
[2026-07-27 22:00:48] local.INFO: Processing buffer {"connection_id":143188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4690d80012da4280006027d98002501362a..."} 
[2026-07-27 22:00:48] local.INFO: Packet analysis {"connection_id":143188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa469"} 
[2026-07-27 22:00:48] local.INFO: Extracted packet for processing {"connection_id":143188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa469"} 
[2026-07-27 22:00:48] local.INFO: GPS Element Parsed {"raw_longitude":765732864,"raw_latitude":100826520,"longitude_deg":76.5732864,"latitude_deg":10.082652,"altitude":37,"angle":310,"satellites":42,"speed":42,"hex_longitude":"2da42800","hex_latitude":"06027d98","is_valid_coordinates":true} 
[2026-07-27 22: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-07-27 22:00:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003460352001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:00:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359419222859710464,"note":"Value kept but may cause issues"} 
[2026-07-27 22:00:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6609806483542067200,"note":"Value kept but may cause issues"} 
[2026-07-27 22:00:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:00:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785169776000,"timestamp_ms":1785169776000,"timestamp_seconds":1785169776,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4690d80"} 
[2026-07-27 22:00:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:00:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 22: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-27 22:00:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22: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-07-27 22:00:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:00:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:00:48] local.INFO: Teltonika packet parsed successfully {"connection_id":143188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:00:48] local.INFO: Passing IMEI to GPS processor {"connection_id":143188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:00:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":143188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:00:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:00:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:00:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:00:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003460352001,"66":27484,"213":206,"88":20992,"24":42,"16":359419222859710464,"45":-6609806483542067200},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,88,24,16,45]} 
[2026-07-27 22:00:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:00:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:00:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003460352001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:00:48] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-07-27 22:00:48] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-07-27 22:00:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359419222859710464,"km_value":359419222859710.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:00:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6609806483542067200,"description":"Unknown IO ID 45"} 
[2026-07-27 22:00:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003460352001,"power":27484,"unknown_213":206,"unknown_88":20992,"ignition":42,"odometer":null,"unknown_45":-6609806483542067200}} 
[2026-07-27 22:00:48] local.INFO: DEBUG: GPS processor result {"connection_id":143188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:00:48] local.INFO: GPS data processed {"connection_id":143188,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:00:48] local.INFO: Acknowledgment sent {"connection_id":143188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:00:59] local.INFO: TCP Data received {"connection_id":145609,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145609,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:00:59] local.INFO: Processing buffer {"connection_id":145609,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:00:59] local.INFO: IMEI packet received {"connection_id":145609,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 22:00:59] local.INFO: IMEI acknowledgment sent {"connection_id":145609,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 22:01:04] local.INFO: TCP Data received {"connection_id":145609,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145609,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:01:04] local.INFO: Processing buffer {"connection_id":145609,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:01:04] local.INFO: IMEI packet received {"connection_id":145609,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 22:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":145609,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:01:05] local.INFO: TCP Data received {"connection_id":145609,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa468f610012d196940071fee200046013129..."} 
[2026-07-27 22:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa468f610012d196940071fee200046013129..."} 
[2026-07-27 22:01:05] local.INFO: Processing buffer {"connection_id":145609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa468f610012d196940071fee200046013129..."} 
[2026-07-27 22:01:05] local.INFO: Packet analysis {"connection_id":145609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa468"} 
[2026-07-27 22:01:05] local.INFO: Extracted packet for processing {"connection_id":145609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa468"} 
[2026-07-27 22:01:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":70,"angle":305,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:01:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003384064001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:01:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:01:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:01:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:01:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785169770000,"timestamp_ms":1785169770000,"timestamp_seconds":1785169770,"priority":1,"record_length":96,"hex_timestamp":"0000019fa468f610"} 
[2026-07-27 22:01:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:01:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-27 22:01:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:01:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:01:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:01:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:01:05] local.INFO: Teltonika packet parsed successfully {"connection_id":145609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:01:05] local.INFO: Passing IMEI to GPS processor {"connection_id":145609,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:01:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":145609,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:01:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:01:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:01:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:01:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003384064001,"66":2144,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:01:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:01:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:01:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003384064001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:01:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:01:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:01:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:01:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:01:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003384064001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:01:05] local.INFO: DEBUG: GPS processor result {"connection_id":145609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555640,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:01:05] local.INFO: GPS data processed {"connection_id":145609,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:01:05] local.INFO: Acknowledgment sent {"connection_id":145609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:01:34] local.INFO: TCP Data received {"connection_id":144335,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:01:34] local.INFO: Processing buffer {"connection_id":144335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:01:34] local.INFO: IMEI packet received {"connection_id":144335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 22:01:34] local.INFO: IMEI acknowledgment sent {"connection_id":144335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 22:01:37] local.INFO: TCP Data received {"connection_id":145609,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa468f610012d196940071fee200046013129..."} 
[2026-07-27 22:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa468f610012d196940071fee200046013129..."} 
[2026-07-27 22:01:37] local.INFO: Processing buffer {"connection_id":145609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa468f610012d196940071fee200046013129..."} 
[2026-07-27 22:01:37] local.INFO: Packet analysis {"connection_id":145609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa468"} 
[2026-07-27 22:01:37] local.INFO: Extracted packet for processing {"connection_id":145609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa468"} 
[2026-07-27 22:01:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":70,"angle":305,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003384064001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:01:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:01:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785169770000,"timestamp_ms":1785169770000,"timestamp_seconds":1785169770,"priority":1,"record_length":96,"hex_timestamp":"0000019fa468f610"} 
[2026-07-27 22:01:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:01:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-27 22:01:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:01:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:01:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145609,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145609,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:01:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003384064001,"66":2144,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003384064001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:01:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:01:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:01:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:01:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003384064001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:01:37] local.INFO: DEBUG: GPS processor result {"connection_id":145609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555641,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:01:37] local.INFO: GPS data processed {"connection_id":145609,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:01:37] local.INFO: Acknowledgment sent {"connection_id":145609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:01:40] local.INFO: TCP Data received {"connection_id":144335,"ip":"42.106.6.32","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-27 22:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144335,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-27 22:01:40] local.INFO: Processing buffer {"connection_id":144335,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-27 22:01:40] local.INFO: IMEI packet received {"connection_id":144335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 22:01:40] local.INFO: IMEI acknowledgment sent {"connection_id":144335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:01:42] local.INFO: TCP Data received {"connection_id":144335,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa46930a8012da40d00060297400026013829..."} 
[2026-07-27 22:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa46930a8012da40d00060297400026013829..."} 
[2026-07-27 22:01:42] local.INFO: Processing buffer {"connection_id":144335,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019fa4..."} 
[2026-07-27 22:01:42] local.INFO: IMEI packet received {"connection_id":144335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 22:01:42] local.INFO: IMEI acknowledgment sent {"connection_id":144335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:01:43] local.INFO: TCP Data received {"connection_id":144335,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4694fe8012da3f1800602ad480026013026..."} 
[2026-07-27 22:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4694fe8012da3f1800602ad480026013026..."} 
[2026-07-27 22:01:43] local.INFO: Processing buffer {"connection_id":144335,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019fa46930a8012da40d00060297400026013829..."} 
[2026-07-27 22:01:43] local.INFO: Packet analysis {"connection_id":144335,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fa469"} 
[2026-07-27 22:01:43] local.INFO: Extracted packet for processing {"connection_id":144335,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa469"} 
[2026-07-27 22:01:43] local.INFO: GPS Element Parsed {"raw_longitude":765725952,"raw_latitude":100833088,"longitude_deg":76.5725952,"latitude_deg":10.0833088,"altitude":38,"angle":312,"satellites":41,"speed":43,"hex_longitude":"2da40d00","hex_latitude":"06029740","is_valid_coordinates":true} 
[2026-07-27 22:01:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:01:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003462656001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:01:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359419682421211136,"note":"Value kept but may cause issues"} 
[2026-07-27 22:01:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6618039626609354752,"note":"Value kept but may cause issues"} 
[2026-07-27 22:01:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:01:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785169785000,"timestamp_ms":1785169785000,"timestamp_seconds":1785169785,"priority":1,"record_length":96,"hex_timestamp":"0000019fa46930a8"} 
[2026-07-27 22:01:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:01:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 22: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-27 22:01:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:01:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:01:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:01:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:01:43] local.INFO: Teltonika packet parsed successfully {"connection_id":144335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:01:43] local.INFO: Passing IMEI to GPS processor {"connection_id":144335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:01:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":144335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:01:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:01:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:01:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:01:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003462656001,"66":27376,"236":206,"88":20992,"24":43,"16":359419682421211136,"45":-6618039626609354752},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,88,24,16,45]} 
[2026-07-27 22:01:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:01:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:01:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003462656001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:01:43] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 22:01:43] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-07-27 22:01:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359419682421211136,"km_value":359419682421211.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:01:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6618039626609354752,"description":"Unknown IO ID 45"} 
[2026-07-27 22:01:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003462656001,"power":27376,"unknown_236":206,"unknown_88":20992,"ignition":43,"odometer":null,"unknown_45":-6618039626609354752}} 
[2026-07-27 22:01:43] local.INFO: DEBUG: GPS processor result {"connection_id":144335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:01:43] local.INFO: GPS data processed {"connection_id":144335,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:01:43] local.INFO: Acknowledgment sent {"connection_id":144335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:01:43] local.INFO: Packet analysis {"connection_id":144335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa469"} 
[2026-07-27 22:01:43] local.INFO: Extracted packet for processing {"connection_id":144335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa469"} 
[2026-07-27 22:01:43] local.INFO: GPS Element Parsed {"raw_longitude":765718912,"raw_latitude":100838728,"longitude_deg":76.5718912,"latitude_deg":10.0838728,"altitude":38,"angle":304,"satellites":38,"speed":45,"hex_longitude":"2da3f180","hex_latitude":"0602ad48","is_valid_coordinates":true} 
[2026-07-27 22:01:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:01:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003464960001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:01:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359420116212908032,"note":"Value kept but may cause issues"} 
[2026-07-27 22:01:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6625639450978861056,"note":"Value kept but may cause issues"} 
[2026-07-27 22:01:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:01:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785169793000,"timestamp_ms":1785169793000,"timestamp_seconds":1785169793,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4694fe8"} 
[2026-07-27 22:01:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:01:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 22: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-27 22:01:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:01:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:01:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:01:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:01:43] local.INFO: Teltonika packet parsed successfully {"connection_id":144335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:01:43] local.INFO: Passing IMEI to GPS processor {"connection_id":144335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:01:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":144335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:01:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:01:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:01:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:01:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003464960001,"66":27376,"236":206,"88":20992,"24":45,"16":359420116212908032,"45":-6625639450978861056},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,88,24,16,45]} 
[2026-07-27 22:01:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:01:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:01:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003464960001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:01:43] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 22:01:43] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-07-27 22:01:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359420116212908032,"km_value":359420116212908.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:01:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6625639450978861056,"description":"Unknown IO ID 45"} 
[2026-07-27 22:01:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003464960001,"power":27376,"unknown_236":206,"unknown_88":20992,"ignition":45,"odometer":null,"unknown_45":-6625639450978861056}} 
[2026-07-27 22:01:43] local.INFO: DEBUG: GPS processor result {"connection_id":144335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:01:43] local.INFO: GPS data processed {"connection_id":144335,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:01:43] local.INFO: Acknowledgment sent {"connection_id":144335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:01:44] local.INFO: TCP Data received {"connection_id":144335,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4696370012da3de400602b7e00028012325..."} 
[2026-07-27 22:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4696370012da3de400602b7e00028012325..."} 
[2026-07-27 22:01:44] local.INFO: Processing buffer {"connection_id":144335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4696370012da3de400602b7e00028012325..."} 
[2026-07-27 22:01:44] local.INFO: Packet analysis {"connection_id":144335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa469"} 
[2026-07-27 22:01:44] local.INFO: Extracted packet for processing {"connection_id":144335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa469"} 
[2026-07-27 22:01:44] local.INFO: GPS Element Parsed {"raw_longitude":765713984,"raw_latitude":100841440,"longitude_deg":76.5713984,"latitude_deg":10.084144,"altitude":40,"angle":291,"satellites":37,"speed":43,"hex_longitude":"2da3de40","hex_latitude":"0602b7e0","is_valid_coordinates":true} 
[2026-07-27 22: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-07-27 22:01:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003467008001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:01:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359420386795847680,"note":"Value kept but may cause issues"} 
[2026-07-27 22:01:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6633380012836960256,"note":"Value kept but may cause issues"} 
[2026-07-27 22:01:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:01:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785169798000,"timestamp_ms":1785169798000,"timestamp_seconds":1785169798,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4696370"} 
[2026-07-27 22:01:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:01:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 22: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-27 22:01:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22: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-07-27 22:01:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:01:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:01:44] local.INFO: Teltonika packet parsed successfully {"connection_id":144335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:01:44] local.INFO: Passing IMEI to GPS processor {"connection_id":144335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:01:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":144335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:01: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-07-27 22:01:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:01:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:01:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003467008001,"66":27397,"236":206,"88":20992,"24":43,"16":359420386795847680,"45":-6633380012836960256},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,88,24,16,45]} 
[2026-07-27 22:01:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:01:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:01:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003467008001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:01:44] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-27 22:01:44] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-07-27 22:01:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359420386795847680,"km_value":359420386795847.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:01:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6633380012836960256,"description":"Unknown IO ID 45"} 
[2026-07-27 22:01:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003467008001,"power":27397,"unknown_236":206,"unknown_88":20992,"ignition":43,"odometer":null,"unknown_45":-6633380012836960256}} 
[2026-07-27 22:01:44] local.INFO: DEBUG: GPS processor result {"connection_id":144335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:01:44] local.INFO: GPS data processed {"connection_id":144335,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:01:44] local.INFO: Acknowledgment sent {"connection_id":144335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:01:59] local.INFO: TCP Data received {"connection_id":143328,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143328,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:01:59] local.INFO: Processing buffer {"connection_id":143328,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:01:59] local.INFO: IMEI packet received {"connection_id":143328,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 22:01:59] local.INFO: IMEI acknowledgment sent {"connection_id":143328,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 22:02:04] local.INFO: TCP Data received {"connection_id":143328,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143328,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:02:04] local.INFO: Processing buffer {"connection_id":143328,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:02:04] local.INFO: IMEI packet received {"connection_id":143328,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 22:02:04] local.INFO: IMEI acknowledgment sent {"connection_id":143328,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:02:05] local.INFO: TCP Data received {"connection_id":143328,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa468f610012d196940071fee200046013129..."} 
[2026-07-27 22:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa468f610012d196940071fee200046013129..."} 
[2026-07-27 22:02:05] local.INFO: Processing buffer {"connection_id":143328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa468f610012d196940071fee200046013129..."} 
[2026-07-27 22:02:05] local.INFO: Packet analysis {"connection_id":143328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa468"} 
[2026-07-27 22:02:05] local.INFO: Extracted packet for processing {"connection_id":143328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa468"} 
[2026-07-27 22:02:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":70,"angle":305,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:02:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003384064001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:02:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:02:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:02:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:02:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785169770000,"timestamp_ms":1785169770000,"timestamp_seconds":1785169770,"priority":1,"record_length":96,"hex_timestamp":"0000019fa468f610"} 
[2026-07-27 22:02:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:02:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-27 22:02:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:02:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:02:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:02:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:02:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:02:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:02:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:02:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:02:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:02:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:02:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003384064001,"66":2144,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:02:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:02:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:02:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003384064001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:02:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:02:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:02:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:02:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:02:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003384064001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:02:05] local.INFO: DEBUG: GPS processor result {"connection_id":143328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555645,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:02:05] local.INFO: GPS data processed {"connection_id":143328,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:02:05] local.INFO: Acknowledgment sent {"connection_id":143328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:02:15] local.INFO: TCP Data received {"connection_id":144335,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa46a9420012da31740060386b8002a013228..."} 
[2026-07-27 22:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa46a9420012da31740060386b8002a013228..."} 
[2026-07-27 22:02:15] local.INFO: Processing buffer {"connection_id":144335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa46a9420012da31740060386b8002a013228..."} 
[2026-07-27 22:02:15] local.INFO: Packet analysis {"connection_id":144335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa46a"} 
[2026-07-27 22:02:15] local.INFO: Extracted packet for processing {"connection_id":144335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa46a"} 
[2026-07-27 22:02:15] local.INFO: GPS Element Parsed {"raw_longitude":765663040,"raw_latitude":100894392,"longitude_deg":76.566304,"latitude_deg":10.0894392,"altitude":42,"angle":306,"satellites":40,"speed":42,"hex_longitude":"2da31740","hex_latitude":"060386b8","is_valid_coordinates":true} 
[2026-07-27 22: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-07-27 22:02:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003485952001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:02:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359424149187198976,"note":"Value kept but may cause issues"} 
[2026-07-27 22:02:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6686156570957244416,"note":"Value kept but may cause issues"} 
[2026-07-27 22:02:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,134,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:02:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785169876000,"timestamp_ms":1785169876000,"timestamp_seconds":1785169876,"priority":1,"record_length":96,"hex_timestamp":"0000019fa46a9420"} 
[2026-07-27 22:02:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:02:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 22: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-27 22:02:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22: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-07-27 22:02:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:02:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:02:15] local.INFO: Teltonika packet parsed successfully {"connection_id":144335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:02:15] local.INFO: Passing IMEI to GPS processor {"connection_id":144335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:02:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":144335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:02:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:02:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:02:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:02:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003485952001,"66":27397,"134":206,"88":20992,"24":42,"16":359424149187198976,"45":-6686156570957244416},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,134,88,24,16,45]} 
[2026-07-27 22:02:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:02:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:02:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003485952001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:02:15] local.INFO: Unknown IO ID detected {"io_id":134,"value":206,"description":"Unknown IO ID 134"} 
[2026-07-27 22:02:15] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-07-27 22:02:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359424149187198976,"km_value":359424149187199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:02:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6686156570957244416,"description":"Unknown IO ID 45"} 
[2026-07-27 22:02:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003485952001,"power":27397,"unknown_134":206,"unknown_88":20992,"ignition":42,"odometer":null,"unknown_45":-6686156570957244416}} 
[2026-07-27 22:02:15] local.INFO: DEBUG: GPS processor result {"connection_id":144335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:02:15] local.INFO: GPS data processed {"connection_id":144335,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:02:15] local.INFO: Acknowledgment sent {"connection_id":144335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:02:30] local.INFO: TCP Data received {"connection_id":143189,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:02:30] local.INFO: Processing buffer {"connection_id":143189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:02:30] local.INFO: IMEI packet received {"connection_id":143189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 22:02:30] local.INFO: IMEI acknowledgment sent {"connection_id":143189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 22:02:31] local.INFO: TCP Data received {"connection_id":143189,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:02:31] local.INFO: Processing buffer {"connection_id":143189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:02:31] local.INFO: IMEI packet received {"connection_id":143189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 22:02:31] local.INFO: IMEI acknowledgment sent {"connection_id":143189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:02:36] local.INFO: TCP Data received {"connection_id":143189,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:02:36] local.INFO: Processing buffer {"connection_id":143189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:02:36] local.INFO: IMEI packet received {"connection_id":143189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 22:02:36] local.INFO: IMEI acknowledgment sent {"connection_id":143189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:02:37] local.INFO: TCP Data received {"connection_id":143189,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa46ab748012da2fb4006039e28002d01342a..."} 
[2026-07-27 22:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143189,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa46ab748012da2fb4006039e28002d01342a..."} 
[2026-07-27 22:02:37] local.INFO: Processing buffer {"connection_id":143189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa46ab748012da2fb4006039e28002d01342a..."} 
[2026-07-27 22:02:37] local.INFO: Packet analysis {"connection_id":143189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa46a"} 
[2026-07-27 22:02:37] local.INFO: Extracted packet for processing {"connection_id":143189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa46a"} 
[2026-07-27 22:02:37] local.INFO: GPS Element Parsed {"raw_longitude":765655872,"raw_latitude":100900392,"longitude_deg":76.5655872,"latitude_deg":10.0900392,"altitude":45,"angle":308,"satellites":42,"speed":40,"hex_longitude":"2da2fb40","hex_latitude":"06039e28","is_valid_coordinates":true} 
[2026-07-27 22:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003488256001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359424600158765056,"note":"Value kept but may cause issues"} 
[2026-07-27 22:02:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6694811926489810944,"note":"Value kept but may cause issues"} 
[2026-07-27 22:02:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,134,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785169885000,"timestamp_ms":1785169885000,"timestamp_seconds":1785169885,"priority":1,"record_length":96,"hex_timestamp":"0000019fa46ab748"} 
[2026-07-27 22:02:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:02:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 22:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-27 22:02:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:02:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:02:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:02:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003488256001,"66":27343,"134":206,"88":20992,"24":40,"16":359424600158765056,"45":-6694811926489810944},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,134,88,24,16,45]} 
[2026-07-27 22:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003488256001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:02:37] local.INFO: Unknown IO ID detected {"io_id":134,"value":206,"description":"Unknown IO ID 134"} 
[2026-07-27 22:02:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-07-27 22:02:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359424600158765056,"km_value":359424600158765.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:02:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6694811926489810944,"description":"Unknown IO ID 45"} 
[2026-07-27 22:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003488256001,"power":27343,"unknown_134":206,"unknown_88":20992,"ignition":40,"odometer":null,"unknown_45":-6694811926489810944}} 
[2026-07-27 22:02:37] local.INFO: DEBUG: GPS processor result {"connection_id":143189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:02:37] local.INFO: GPS data processed {"connection_id":143189,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:02:37] local.INFO: Acknowledgment sent {"connection_id":143189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:02:37] local.INFO: TCP Data received {"connection_id":143328,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa468f610012d196940071fee200046013129..."} 
[2026-07-27 22:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa468f610012d196940071fee200046013129..."} 
[2026-07-27 22:02:37] local.INFO: Processing buffer {"connection_id":143328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa468f610012d196940071fee200046013129..."} 
[2026-07-27 22:02:37] local.INFO: Packet analysis {"connection_id":143328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa468"} 
[2026-07-27 22:02:37] local.INFO: Extracted packet for processing {"connection_id":143328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa468"} 
[2026-07-27 22:02:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":70,"angle":305,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003384064001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:02:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:02:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785169770000,"timestamp_ms":1785169770000,"timestamp_seconds":1785169770,"priority":1,"record_length":96,"hex_timestamp":"0000019fa468f610"} 
[2026-07-27 22:02:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:02:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-27 22:02:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:02:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:02:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:02:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003384064001,"66":2144,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003384064001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:02:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:02:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:02:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:02:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003384064001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:02:37] local.INFO: DEBUG: GPS processor result {"connection_id":143328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555648,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:02:37] local.INFO: GPS data processed {"connection_id":143328,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:02:37] local.INFO: Acknowledgment sent {"connection_id":143328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:02:59] local.INFO: TCP Data received {"connection_id":145610,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145610,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:02:59] local.INFO: Processing buffer {"connection_id":145610,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:02:59] local.INFO: IMEI packet received {"connection_id":145610,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 22:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":145610,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 22:03:04] local.INFO: TCP Data received {"connection_id":145610,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145610,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:03:04] local.INFO: Processing buffer {"connection_id":145610,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:03:04] local.INFO: IMEI packet received {"connection_id":145610,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 22:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":145610,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:03:05] local.INFO: TCP Data received {"connection_id":145610,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa468f610012d196940071fee200046013129..."} 
[2026-07-27 22:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145610,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa468f610012d196940071fee200046013129..."} 
[2026-07-27 22:03:05] local.INFO: Processing buffer {"connection_id":145610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa468f610012d196940071fee200046013129..."} 
[2026-07-27 22:03:05] local.INFO: Packet analysis {"connection_id":145610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa468"} 
[2026-07-27 22:03:05] local.INFO: Extracted packet for processing {"connection_id":145610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa468"} 
[2026-07-27 22:03:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":70,"angle":305,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:03:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003384064001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:03:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:03:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:03:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:03:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785169770000,"timestamp_ms":1785169770000,"timestamp_seconds":1785169770,"priority":1,"record_length":96,"hex_timestamp":"0000019fa468f610"} 
[2026-07-27 22:03:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:03:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-27 22:03:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:03:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:03:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:03:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:03:05] local.INFO: Teltonika packet parsed successfully {"connection_id":145610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:03:05] local.INFO: Passing IMEI to GPS processor {"connection_id":145610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:03:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":145610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:03:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:03:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:03:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:03:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003384064001,"66":2144,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:03:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:03:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:03:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003384064001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:03:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:03:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:03:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:03:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:03:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003384064001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:03:05] local.INFO: DEBUG: GPS processor result {"connection_id":145610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555649,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:03:05] local.INFO: GPS data processed {"connection_id":145610,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:03:05] local.INFO: Acknowledgment sent {"connection_id":145610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:03:08] local.INFO: TCP Data received {"connection_id":143189,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa46ada70012da2dcc00603b320002e012d29..."} 
[2026-07-27 22:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143189,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa46ada70012da2dcc00603b320002e012d29..."} 
[2026-07-27 22:03:08] local.INFO: Processing buffer {"connection_id":143189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa46ada70012da2dcc00603b320002e012d29..."} 
[2026-07-27 22:03:08] local.INFO: Packet analysis {"connection_id":143189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa46a"} 
[2026-07-27 22:03:08] local.INFO: Extracted packet for processing {"connection_id":143189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa46a"} 
[2026-07-27 22:03:08] local.INFO: GPS Element Parsed {"raw_longitude":765648064,"raw_latitude":100905760,"longitude_deg":76.5648064,"latitude_deg":10.090576,"altitude":46,"angle":301,"satellites":41,"speed":42,"hex_longitude":"2da2dcc0","hex_latitude":"0603b320","is_valid_coordinates":true} 
[2026-07-27 22:03:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:03:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003490560001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:03:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359425055425298432,"note":"Value kept but may cause issues"} 
[2026-07-27 22:03:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6702693225836173312,"note":"Value kept but may cause issues"} 
[2026-07-27 22:03:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,134,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:03:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785169894000,"timestamp_ms":1785169894000,"timestamp_seconds":1785169894,"priority":1,"record_length":96,"hex_timestamp":"0000019fa46ada70"} 
[2026-07-27 22:03:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:03:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 22: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-27 22:03:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:03:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:03:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:03:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:03:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:03:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:03:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:03:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:03:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:03:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:03:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003490560001,"66":27376,"134":206,"88":20992,"24":42,"16":359425055425298432,"45":-6702693225836173312},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,134,88,24,16,45]} 
[2026-07-27 22:03:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:03:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:03:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003490560001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:03:08] local.INFO: Unknown IO ID detected {"io_id":134,"value":206,"description":"Unknown IO ID 134"} 
[2026-07-27 22:03:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-07-27 22:03:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359425055425298432,"km_value":359425055425298.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:03:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6702693225836173312,"description":"Unknown IO ID 45"} 
[2026-07-27 22:03:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003490560001,"power":27376,"unknown_134":206,"unknown_88":20992,"ignition":42,"odometer":null,"unknown_45":-6702693225836173312}} 
[2026-07-27 22:03:08] local.INFO: DEBUG: GPS processor result {"connection_id":143189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:03:08] local.INFO: GPS data processed {"connection_id":143189,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:03:08] local.INFO: Acknowledgment sent {"connection_id":143189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:03:31] local.INFO: TCP Data received {"connection_id":143329,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:03:31] local.INFO: Processing buffer {"connection_id":143329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:03:31] local.INFO: IMEI packet received {"connection_id":143329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 22:03:31] local.INFO: IMEI acknowledgment sent {"connection_id":143329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 22:03:34] local.INFO: TCP Data received {"connection_id":143329,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:03:34] local.INFO: Processing buffer {"connection_id":143329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:03:34] local.INFO: IMEI packet received {"connection_id":143329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 22:03:34] local.INFO: IMEI acknowledgment sent {"connection_id":143329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:03:36] local.INFO: TCP Data received {"connection_id":143329,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:03:36] local.INFO: Processing buffer {"connection_id":143329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:03:36] local.INFO: IMEI packet received {"connection_id":143329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 22:03:36] local.INFO: IMEI acknowledgment sent {"connection_id":143329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:03:36] local.INFO: TCP Data received {"connection_id":143329,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa46afd98012da2bb800603c4b8003101282a..."} 
[2026-07-27 22:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa46afd98012da2bb800603c4b8003101282a..."} 
[2026-07-27 22:03:36] local.INFO: Processing buffer {"connection_id":143329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa46afd98012da2bb800603c4b8003101282a..."} 
[2026-07-27 22:03:36] local.INFO: Packet analysis {"connection_id":143329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa46a"} 
[2026-07-27 22:03:36] local.INFO: Extracted packet for processing {"connection_id":143329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa46a"} 
[2026-07-27 22:03:36] local.INFO: GPS Element Parsed {"raw_longitude":765639552,"raw_latitude":100910264,"longitude_deg":76.5639552,"latitude_deg":10.0910264,"altitude":49,"angle":296,"satellites":42,"speed":41,"hex_longitude":"2da2bb80","hex_latitude":"0603c4b8","is_valid_coordinates":true} 
[2026-07-27 22:03:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:03:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003492864001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:03:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359425514986799104,"note":"Value kept but may cause issues"} 
[2026-07-27 22:03:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6711278212624474112,"note":"Value kept but may cause issues"} 
[2026-07-27 22:03:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,134,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:03:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785169903000,"timestamp_ms":1785169903000,"timestamp_seconds":1785169903,"priority":1,"record_length":96,"hex_timestamp":"0000019fa46afd98"} 
[2026-07-27 22:03:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:03:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 22:03:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-27 22:03:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:03:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:03:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:03:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:03:36] local.INFO: Teltonika packet parsed successfully {"connection_id":143329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:03:36] local.INFO: Passing IMEI to GPS processor {"connection_id":143329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:03:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":143329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:03:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:03:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:03:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:03:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003492864001,"66":27332,"134":206,"88":20992,"24":41,"16":359425514986799104,"45":-6711278212624474112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,134,88,24,16,45]} 
[2026-07-27 22:03:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:03:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:03:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003492864001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:03:36] local.INFO: Unknown IO ID detected {"io_id":134,"value":206,"description":"Unknown IO ID 134"} 
[2026-07-27 22:03:36] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-07-27 22:03:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359425514986799104,"km_value":359425514986799.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:03:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6711278212624474112,"description":"Unknown IO ID 45"} 
[2026-07-27 22:03:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003492864001,"power":27332,"unknown_134":206,"unknown_88":20992,"ignition":41,"odometer":null,"unknown_45":-6711278212624474112}} 
[2026-07-27 22:03:36] local.INFO: DEBUG: GPS processor result {"connection_id":143329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:03:36] local.INFO: GPS data processed {"connection_id":143329,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:03:36] local.INFO: Acknowledgment sent {"connection_id":143329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:03:37] local.INFO: TCP Data received {"connection_id":145610,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa468f610012d196940071fee200046013129..."} 
[2026-07-27 22:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145610,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa468f610012d196940071fee200046013129..."} 
[2026-07-27 22:03:37] local.INFO: Processing buffer {"connection_id":145610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa468f610012d196940071fee200046013129..."} 
[2026-07-27 22:03:37] local.INFO: Packet analysis {"connection_id":145610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa468"} 
[2026-07-27 22:03:37] local.INFO: Extracted packet for processing {"connection_id":145610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa468"} 
[2026-07-27 22:03:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":70,"angle":305,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:03:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003384064001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:03:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:03:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:03:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:03:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785169770000,"timestamp_ms":1785169770000,"timestamp_seconds":1785169770,"priority":1,"record_length":96,"hex_timestamp":"0000019fa468f610"} 
[2026-07-27 22:03:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:03:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-27 22:03:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:03:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:03:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:03:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:03:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:03:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:03:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:03:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:03:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:03:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:03:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003384064001,"66":2144,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:03:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:03:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:03:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003384064001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:03:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:03:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:03:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:03:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:03:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003384064001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:03:37] local.INFO: DEBUG: GPS processor result {"connection_id":145610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555652,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:03:37] local.INFO: GPS data processed {"connection_id":145610,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:03:37] local.INFO: Acknowledgment sent {"connection_id":145610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:03:41] local.INFO: TCP Data received {"connection_id":143329,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa46b20c0012da29ac00603d540003401292b..."} 
[2026-07-27 22:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa46b20c0012da29ac00603d540003401292b..."} 
[2026-07-27 22:03:41] local.INFO: Processing buffer {"connection_id":143329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa46b20c0012da29ac00603d540003401292b..."} 
[2026-07-27 22:03:41] local.INFO: Packet analysis {"connection_id":143329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa46b"} 
[2026-07-27 22:03:41] local.INFO: Extracted packet for processing {"connection_id":143329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa46b"} 
[2026-07-27 22:03:41] local.INFO: GPS Element Parsed {"raw_longitude":765631168,"raw_latitude":100914496,"longitude_deg":76.5631168,"latitude_deg":10.0914496,"altitude":52,"angle":297,"satellites":43,"speed":40,"hex_longitude":"2da29ac0","hex_latitude":"0603d540","is_valid_coordinates":true} 
[2026-07-27 22:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:03:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003495168001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:03:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359425965958365184,"note":"Value kept but may cause issues"} 
[2026-07-27 22:03:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6720637255598950400,"note":"Value kept but may cause issues"} 
[2026-07-27 22:03:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,134,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:03:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785169912000,"timestamp_ms":1785169912000,"timestamp_seconds":1785169912,"priority":1,"record_length":96,"hex_timestamp":"0000019fa46b20c0"} 
[2026-07-27 22:03:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:03:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 22:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-27 22:03:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:03:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:03:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:03:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:03:41] local.INFO: Teltonika packet parsed successfully {"connection_id":143329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:03:41] local.INFO: Passing IMEI to GPS processor {"connection_id":143329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:03:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":143329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:03:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:03:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:03:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:03:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003495168001,"66":27321,"134":206,"88":20992,"24":40,"16":359425965958365184,"45":-6720637255598950400},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,134,88,24,16,45]} 
[2026-07-27 22:03:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:03:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:03:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003495168001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:03:41] local.INFO: Unknown IO ID detected {"io_id":134,"value":206,"description":"Unknown IO ID 134"} 
[2026-07-27 22:03:41] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-07-27 22:03:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359425965958365184,"km_value":359425965958365.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:03:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6720637255598950400,"description":"Unknown IO ID 45"} 
[2026-07-27 22:03:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003495168001,"power":27321,"unknown_134":206,"unknown_88":20992,"ignition":40,"odometer":null,"unknown_45":-6720637255598950400}} 
[2026-07-27 22:03:41] local.INFO: DEBUG: GPS processor result {"connection_id":143329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:03:41] local.INFO: GPS data processed {"connection_id":143329,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:03:41] local.INFO: Acknowledgment sent {"connection_id":143329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:03:58] local.INFO: TCP Data received {"connection_id":144336,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144336,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:03:58] local.INFO: Processing buffer {"connection_id":144336,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:03:58] local.INFO: IMEI packet received {"connection_id":144336,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 22:03:58] local.INFO: IMEI acknowledgment sent {"connection_id":144336,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 22:04:04] local.INFO: TCP Data received {"connection_id":144336,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144336,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:04:04] local.INFO: Processing buffer {"connection_id":144336,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:04:04] local.INFO: IMEI packet received {"connection_id":144336,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 22:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":144336,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:04:05] local.INFO: TCP Data received {"connection_id":144336,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa468f610012d196940071fee200046013129..."} 
[2026-07-27 22:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa468f610012d196940071fee200046013129..."} 
[2026-07-27 22:04:05] local.INFO: Processing buffer {"connection_id":144336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa468f610012d196940071fee200046013129..."} 
[2026-07-27 22:04:05] local.INFO: Packet analysis {"connection_id":144336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa468"} 
[2026-07-27 22:04:05] local.INFO: Extracted packet for processing {"connection_id":144336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa468"} 
[2026-07-27 22:04:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":70,"angle":305,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:04:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003384064001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:04:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:04:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:04:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:04:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785169770000,"timestamp_ms":1785169770000,"timestamp_seconds":1785169770,"priority":1,"record_length":96,"hex_timestamp":"0000019fa468f610"} 
[2026-07-27 22:04:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:04:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-27 22:04:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:04:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:04:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:04:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:04:05] local.INFO: Teltonika packet parsed successfully {"connection_id":144336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:04:05] local.INFO: Passing IMEI to GPS processor {"connection_id":144336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:04:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":144336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:04:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:04:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:04:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:04:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003384064001,"66":2144,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:04:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:04:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:04:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003384064001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:04:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:04:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:04:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:04:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:04:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003384064001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:04:05] local.INFO: DEBUG: GPS processor result {"connection_id":144336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555654,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:04:05] local.INFO: GPS data processed {"connection_id":144336,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:04:05] local.INFO: Acknowledgment sent {"connection_id":144336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:04:17] local.INFO: TCP Data received {"connection_id":143329,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa46b43e8012da27a400603e5b00033012929..."} 
[2026-07-27 22:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa46b43e8012da27a400603e5b00033012929..."} 
[2026-07-27 22:04:17] local.INFO: Processing buffer {"connection_id":143329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa46b43e8012da27a400603e5b00033012929..."} 
[2026-07-27 22:04:17] local.INFO: Packet analysis {"connection_id":143329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa46b"} 
[2026-07-27 22:04:17] local.INFO: Extracted packet for processing {"connection_id":143329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa46b"} 
[2026-07-27 22:04:17] local.INFO: GPS Element Parsed {"raw_longitude":765622848,"raw_latitude":100918704,"longitude_deg":76.5622848,"latitude_deg":10.0918704,"altitude":51,"angle":297,"satellites":41,"speed":41,"hex_longitude":"2da27a40","hex_latitude":"0603e5b0","is_valid_coordinates":true} 
[2026-07-27 22: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-07-27 22:04:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003497472001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:04:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359426412634963968,"note":"Value kept but may cause issues"} 
[2026-07-27 22:04:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6729855561085140992,"note":"Value kept but may cause issues"} 
[2026-07-27 22:04:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,134,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:04:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785169921000,"timestamp_ms":1785169921000,"timestamp_seconds":1785169921,"priority":1,"record_length":96,"hex_timestamp":"0000019fa46b43e8"} 
[2026-07-27 22:04:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:04:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 22: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-27 22:04:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22: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-07-27 22:04:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:04:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:04:17] local.INFO: Teltonika packet parsed successfully {"connection_id":143329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:04:17] local.INFO: Passing IMEI to GPS processor {"connection_id":143329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:04:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":143329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:04:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:04:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:04:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:04:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003497472001,"66":27321,"134":206,"88":20992,"24":41,"16":359426412634963968,"45":-6729855561085140992},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,134,88,24,16,45]} 
[2026-07-27 22:04:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:04:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:04:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003497472001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:04:17] local.INFO: Unknown IO ID detected {"io_id":134,"value":206,"description":"Unknown IO ID 134"} 
[2026-07-27 22:04:17] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-07-27 22:04:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359426412634963968,"km_value":359426412634963.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:04:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6729855561085140992,"description":"Unknown IO ID 45"} 
[2026-07-27 22:04:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003497472001,"power":27321,"unknown_134":206,"unknown_88":20992,"ignition":41,"odometer":null,"unknown_45":-6729855561085140992}} 
[2026-07-27 22:04:17] local.INFO: DEBUG: GPS processor result {"connection_id":143329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:04:17] local.INFO: GPS data processed {"connection_id":143329,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:04:17] local.INFO: Acknowledgment sent {"connection_id":143329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:04:37] local.INFO: TCP Data received {"connection_id":144336,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa468f610012d196940071fee200046013129..."} 
[2026-07-27 22:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa468f610012d196940071fee200046013129..."} 
[2026-07-27 22:04:37] local.INFO: Processing buffer {"connection_id":144336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa468f610012d196940071fee200046013129..."} 
[2026-07-27 22:04:37] local.INFO: Packet analysis {"connection_id":144336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa468"} 
[2026-07-27 22:04:37] local.INFO: Extracted packet for processing {"connection_id":144336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa468"} 
[2026-07-27 22:04:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":70,"angle":305,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:04:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003384064001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:04:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:04:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:04:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:04:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785169770000,"timestamp_ms":1785169770000,"timestamp_seconds":1785169770,"priority":1,"record_length":96,"hex_timestamp":"0000019fa468f610"} 
[2026-07-27 22:04:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:04:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-27 22:04:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:04:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:04:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:04:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:04:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:04:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:04:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:04:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:04:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:04:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:04:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003384064001,"66":2144,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:04:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:04:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:04:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003384064001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:04:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:04:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:04:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:04:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:04:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003384064001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":144336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555656,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:04:37] local.INFO: GPS data processed {"connection_id":144336,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:04:37] local.INFO: Acknowledgment sent {"connection_id":144336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:04:41] local.INFO: TCP Data received {"connection_id":145611,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145611,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:04:41] local.INFO: Processing buffer {"connection_id":145611,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:04:41] local.INFO: IMEI packet received {"connection_id":145611,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 22:04:41] local.INFO: IMEI acknowledgment sent {"connection_id":145611,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 22:04:44] local.INFO: TCP Data received {"connection_id":145611,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145611,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:04:44] local.INFO: Processing buffer {"connection_id":145611,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:04:44] local.INFO: IMEI packet received {"connection_id":145611,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 22:04:44] local.INFO: IMEI acknowledgment sent {"connection_id":145611,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:04:45] local.INFO: TCP Data received {"connection_id":145611,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa46cde10012da1130006048768003b012a2a..."} 
[2026-07-27 22:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145611,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa46cde10012da1130006048768003b012a2a..."} 
[2026-07-27 22:04:45] local.INFO: Processing buffer {"connection_id":145611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa46cde10012da1130006048768003b012a2a..."} 
[2026-07-27 22:04:45] local.INFO: Packet analysis {"connection_id":145611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa46c"} 
[2026-07-27 22:04:45] local.INFO: Extracted packet for processing {"connection_id":145611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa46c"} 
[2026-07-27 22:04:45] local.INFO: GPS Element Parsed {"raw_longitude":765530880,"raw_latitude":100960104,"longitude_deg":76.553088,"latitude_deg":10.0960104,"altitude":59,"angle":298,"satellites":42,"speed":39,"hex_longitude":"2da11300","hex_latitude":"06048768","is_valid_coordinates":true} 
[2026-07-27 22:04:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:04:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003524352001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:04:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359431296012779520,"note":"Value kept but may cause issues"} 
[2026-07-27 22:04:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6831116183946117120,"note":"Value kept but may cause issues"} 
[2026-07-27 22:04:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:04:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785170026000,"timestamp_ms":1785170026000,"timestamp_seconds":1785170026,"priority":1,"record_length":96,"hex_timestamp":"0000019fa46cde10"} 
[2026-07-27 22:04:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:04:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 22:04:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-27 22:04:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:04:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:04:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:04:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:04:45] local.INFO: Teltonika packet parsed successfully {"connection_id":145611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:04:45] local.INFO: Passing IMEI to GPS processor {"connection_id":145611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:04:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":145611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:04: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-07-27 22:04:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:04:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:04:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003524352001,"66":27321,"135":206,"88":20992,"24":39,"16":359431296012779520,"45":-6831116183946117120},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,88,24,16,45]} 
[2026-07-27 22:04:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:04:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:04:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003524352001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:04:45] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-07-27 22:04:45] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-07-27 22:04:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359431296012779520,"km_value":359431296012779.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:04:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6831116183946117120,"description":"Unknown IO ID 45"} 
[2026-07-27 22:04:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003524352001,"power":27321,"unknown_135":206,"unknown_88":20992,"ignition":39,"odometer":null,"unknown_45":-6831116183946117120}} 
[2026-07-27 22:04:45] local.INFO: DEBUG: GPS processor result {"connection_id":145611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:04:45] local.INFO: GPS data processed {"connection_id":145611,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:04:45] local.INFO: Acknowledgment sent {"connection_id":145611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:04:58] local.INFO: TCP Data received {"connection_id":143190,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143190,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:04:58] local.INFO: Processing buffer {"connection_id":143190,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:04:58] local.INFO: IMEI packet received {"connection_id":143190,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 22:04:58] local.INFO: IMEI acknowledgment sent {"connection_id":143190,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 22:05:04] local.INFO: TCP Data received {"connection_id":143190,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143190,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:05:04] local.INFO: Processing buffer {"connection_id":143190,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:05:04] local.INFO: IMEI packet received {"connection_id":143190,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 22:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":143190,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:05:05] local.INFO: TCP Data received {"connection_id":143190,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa468f610012d196940071fee200046013129..."} 
[2026-07-27 22:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143190,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa468f610012d196940071fee200046013129..."} 
[2026-07-27 22:05:05] local.INFO: Processing buffer {"connection_id":143190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa468f610012d196940071fee200046013129..."} 
[2026-07-27 22:05:05] local.INFO: Packet analysis {"connection_id":143190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa468"} 
[2026-07-27 22:05:05] local.INFO: Extracted packet for processing {"connection_id":143190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa468"} 
[2026-07-27 22:05:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":70,"angle":305,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22: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-07-27 22:05:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003384064001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:05:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:05:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:05:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:05:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785169770000,"timestamp_ms":1785169770000,"timestamp_seconds":1785169770,"priority":1,"record_length":96,"hex_timestamp":"0000019fa468f610"} 
[2026-07-27 22:05:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:05:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-27 22:05:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22: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-07-27 22:05:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:05:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:05:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:05:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143190,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:05:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143190,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:05:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:05:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:05:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:05:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003384064001,"66":2144,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:05:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:05:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:05:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003384064001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:05:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:05:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:05:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:05:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:05:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003384064001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:05:06] local.INFO: DEBUG: GPS processor result {"connection_id":143190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555658,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:05:06] local.INFO: GPS data processed {"connection_id":143190,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:05:06] local.INFO: Acknowledgment sent {"connection_id":143190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:05:16] local.INFO: TCP Data received {"connection_id":145611,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa46cedb0012da1050006048d48003a011e2a..."} 
[2026-07-27 22:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145611,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa46cedb0012da1050006048d48003a011e2a..."} 
[2026-07-27 22:05:16] local.INFO: Processing buffer {"connection_id":145611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa46cedb0012da1050006048d48003a011e2a..."} 
[2026-07-27 22:05:16] local.INFO: Packet analysis {"connection_id":145611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa46c"} 
[2026-07-27 22:05:16] local.INFO: Extracted packet for processing {"connection_id":145611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa46c"} 
[2026-07-27 22:05:16] local.INFO: GPS Element Parsed {"raw_longitude":765527296,"raw_latitude":100961608,"longitude_deg":76.5527296,"latitude_deg":10.0961608,"altitude":58,"angle":286,"satellites":42,"speed":38,"hex_longitude":"2da10500","hex_latitude":"06048d48","is_valid_coordinates":true} 
[2026-07-27 22:05:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:05:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003526656001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:05:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359431480696373248,"note":"Value kept but may cause issues"} 
[2026-07-27 22:05:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6840123383199864832,"note":"Value kept but may cause issues"} 
[2026-07-27 22:05:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:05:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785170030000,"timestamp_ms":1785170030000,"timestamp_seconds":1785170030,"priority":1,"record_length":96,"hex_timestamp":"0000019fa46cedb0"} 
[2026-07-27 22:05:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:05:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 22:05:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-27 22:05:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:05:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:05:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:05:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:05:16] local.INFO: Teltonika packet parsed successfully {"connection_id":145611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:05:16] local.INFO: Passing IMEI to GPS processor {"connection_id":145611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:05:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":145611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:05:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:05:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:05:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:05:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003526656001,"66":27376,"135":206,"88":20992,"24":38,"16":359431480696373248,"45":-6840123383199864832},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,88,24,16,45]} 
[2026-07-27 22:05:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:05:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:05:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003526656001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:05:16] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-07-27 22:05:16] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-07-27 22:05:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359431480696373248,"km_value":359431480696373.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:05:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6840123383199864832,"description":"Unknown IO ID 45"} 
[2026-07-27 22:05:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003526656001,"power":27376,"unknown_135":206,"unknown_88":20992,"ignition":38,"odometer":null,"unknown_45":-6840123383199864832}} 
[2026-07-27 22:05:16] local.INFO: DEBUG: GPS processor result {"connection_id":145611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:05:16] local.INFO: GPS data processed {"connection_id":145611,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:05:16] local.INFO: Acknowledgment sent {"connection_id":145611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:05:31] local.INFO: TCP Data received {"connection_id":145612,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:05:31] local.INFO: Processing buffer {"connection_id":145612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:05:31] local.INFO: IMEI packet received {"connection_id":145612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 22:05:31] local.INFO: IMEI acknowledgment sent {"connection_id":145612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 22:05:34] local.INFO: TCP Data received {"connection_id":145612,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:05:34] local.INFO: Processing buffer {"connection_id":145612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:05:34] local.INFO: IMEI packet received {"connection_id":145612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 22:05:34] local.INFO: IMEI acknowledgment sent {"connection_id":145612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:05:36] local.INFO: TCP Data received {"connection_id":145612,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:05:36] local.INFO: Processing buffer {"connection_id":145612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:05:36] local.INFO: IMEI packet received {"connection_id":145612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 22:05:36] local.INFO: IMEI acknowledgment sent {"connection_id":145612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:05:36] local.INFO: TCP Data received {"connection_id":143190,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa46d8dd8012d196940071fee20004601312c..."} 
[2026-07-27 22:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143190,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa46d8dd8012d196940071fee20004601312c..."} 
[2026-07-27 22:05:36] local.INFO: Processing buffer {"connection_id":143190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa46d8dd8012d196940071fee20004601312c..."} 
[2026-07-27 22:05:36] local.INFO: Packet analysis {"connection_id":143190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa46d"} 
[2026-07-27 22:05:36] local.INFO: Extracted packet for processing {"connection_id":143190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa46d"} 
[2026-07-27 22:05:36] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":70,"angle":305,"satellites":44,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:05:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003461120001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:05:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:05:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:05:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:05:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785170071000,"timestamp_ms":1785170071000,"timestamp_seconds":1785170071,"priority":1,"record_length":96,"hex_timestamp":"0000019fa46d8dd8"} 
[2026-07-27 22:05:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:05:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-27 22:05:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:05:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:05:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:05:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:05:36] local.INFO: Teltonika packet parsed successfully {"connection_id":143190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:05:36] local.INFO: Passing IMEI to GPS processor {"connection_id":143190,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:05:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":143190,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:05:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:05:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:05:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:05:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003461120001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:05:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:05:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:05:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003461120001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:05:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:05:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:05:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:05:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:05:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003461120001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:05:36] local.INFO: TCP Data received {"connection_id":145612,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa46d10d8012da0e0c0060496e8003501212c..."} 
[2026-07-27 22:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa46d10d8012da0e0c0060496e8003501212c..."} 
[2026-07-27 22:05:36] local.INFO: Processing buffer {"connection_id":145612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa46d10d8012da0e0c0060496e8003501212c..."} 
[2026-07-27 22:05:36] local.INFO: Packet analysis {"connection_id":145612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa46d"} 
[2026-07-27 22:05:36] local.INFO: Extracted packet for processing {"connection_id":145612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa46d"} 
[2026-07-27 22:05:36] local.INFO: GPS Element Parsed {"raw_longitude":765518016,"raw_latitude":100964072,"longitude_deg":76.5518016,"latitude_deg":10.0964072,"altitude":53,"angle":289,"satellites":44,"speed":42,"hex_longitude":"2da0e0c0","hex_latitude":"060496e8","is_valid_coordinates":true} 
[2026-07-27 22:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:05:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003527680001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:05:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359431940257873920,"note":"Value kept but may cause issues"} 
[2026-07-27 22:05:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6844064032873428992,"note":"Value kept but may cause issues"} 
[2026-07-27 22:05:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:05:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785170039000,"timestamp_ms":1785170039000,"timestamp_seconds":1785170039,"priority":1,"record_length":96,"hex_timestamp":"0000019fa46d10d8"} 
[2026-07-27 22:05:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:05:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 22:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-27 22:05:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:05:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:05:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:05:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:05:36] local.INFO: Teltonika packet parsed successfully {"connection_id":145612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:05:36] local.INFO: Passing IMEI to GPS processor {"connection_id":145612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:05:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":145612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:05:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:05:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:05:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:05:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003527680001,"66":27365,"135":206,"88":20992,"24":42,"16":359431940257873920,"45":-6844064032873428992},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,88,24,16,45]} 
[2026-07-27 22:05:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:05:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:05:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003527680001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:05:36] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-07-27 22:05:36] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-07-27 22:05:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359431940257873920,"km_value":359431940257873.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:05:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6844064032873428992,"description":"Unknown IO ID 45"} 
[2026-07-27 22:05:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003527680001,"power":27365,"unknown_135":206,"unknown_88":20992,"ignition":42,"odometer":null,"unknown_45":-6844064032873428992}} 
[2026-07-27 22:05:37] local.INFO: DEBUG: GPS processor result {"connection_id":145612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:05:37] local.INFO: GPS data processed {"connection_id":145612,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:05:37] local.INFO: Acknowledgment sent {"connection_id":145612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:05:37] local.INFO: DEBUG: GPS processor result {"connection_id":143190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555661,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:05:37] local.INFO: GPS data processed {"connection_id":143190,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:05:37] local.INFO: Acknowledgment sent {"connection_id":143190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:05:41] local.INFO: TCP Data received {"connection_id":145612,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa46d2c30012da0c7000604a2d00031012e2c..."} 
[2026-07-27 22:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa46d2c30012da0c7000604a2d00031012e2c..."} 
[2026-07-27 22:05:41] local.INFO: Processing buffer {"connection_id":145612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa46d2c30012da0c7000604a2d00031012e2c..."} 
[2026-07-27 22:05:41] local.INFO: Packet analysis {"connection_id":145612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa46d"} 
[2026-07-27 22:05:41] local.INFO: Extracted packet for processing {"connection_id":145612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa46d"} 
[2026-07-27 22:05:41] local.INFO: GPS Element Parsed {"raw_longitude":765511424,"raw_latitude":100967120,"longitude_deg":76.5511424,"latitude_deg":10.096712,"altitude":49,"angle":302,"satellites":44,"speed":39,"hex_longitude":"2da0c700","hex_latitude":"0604a2d0","is_valid_coordinates":true} 
[2026-07-27 22: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-07-27 22:05:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003529984001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:05:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359432288150224896,"note":"Value kept but may cause issues"} 
[2026-07-27 22:05:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6854267500778559488,"note":"Value kept but may cause issues"} 
[2026-07-27 22:05:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:05:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785170046000,"timestamp_ms":1785170046000,"timestamp_seconds":1785170046,"priority":1,"record_length":96,"hex_timestamp":"0000019fa46d2c30"} 
[2026-07-27 22:05:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:05:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 22: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-27 22:05:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22: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-07-27 22:05:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:05:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:05:41] local.INFO: Teltonika packet parsed successfully {"connection_id":145612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:05:41] local.INFO: Passing IMEI to GPS processor {"connection_id":145612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:05:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":145612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22: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-07-27 22:05:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:05:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:05:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003529984001,"66":27267,"114":206,"88":20992,"24":39,"16":359432288150224896,"45":-6854267500778559488},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,88,24,16,45]} 
[2026-07-27 22:05:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:05:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:05:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003529984001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:05:41] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-07-27 22:05:41] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-07-27 22:05:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359432288150224896,"km_value":359432288150224.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:05:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6854267500778559488,"description":"Unknown IO ID 45"} 
[2026-07-27 22:05:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003529984001,"power":27267,"unknown_114":206,"unknown_88":20992,"ignition":39,"odometer":null,"unknown_45":-6854267500778559488}} 
[2026-07-27 22:05:41] local.INFO: DEBUG: GPS processor result {"connection_id":145612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:05:41] local.INFO: GPS data processed {"connection_id":145612,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:05:41] local.INFO: Acknowledgment sent {"connection_id":145612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:05:58] local.INFO: TCP Data received {"connection_id":143330,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143330,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:05:58] local.INFO: Processing buffer {"connection_id":143330,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:05:58] local.INFO: IMEI packet received {"connection_id":143330,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 22:05:58] local.INFO: IMEI acknowledgment sent {"connection_id":143330,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 22:06:04] local.INFO: TCP Data received {"connection_id":143330,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143330,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:06:04] local.INFO: Processing buffer {"connection_id":143330,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:06:04] local.INFO: IMEI packet received {"connection_id":143330,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 22:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":143330,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:06:05] local.INFO: TCP Data received {"connection_id":143330,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa46d8dd8012d196940071fee20004601312c..."} 
[2026-07-27 22:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa46d8dd8012d196940071fee20004601312c..."} 
[2026-07-27 22:06:05] local.INFO: Processing buffer {"connection_id":143330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa46d8dd8012d196940071fee20004601312c..."} 
[2026-07-27 22:06:05] local.INFO: Packet analysis {"connection_id":143330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa46d"} 
[2026-07-27 22:06:05] local.INFO: Extracted packet for processing {"connection_id":143330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa46d"} 
[2026-07-27 22:06:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":70,"angle":305,"satellites":44,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:06:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003461120001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:06:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:06:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:06:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:06:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785170071000,"timestamp_ms":1785170071000,"timestamp_seconds":1785170071,"priority":1,"record_length":96,"hex_timestamp":"0000019fa46d8dd8"} 
[2026-07-27 22:06:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:06:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-27 22:06:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:06:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:06:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:06:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:06:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:06:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143330,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:06:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143330,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:06:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:06:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:06:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:06:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003461120001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:06:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:06:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:06:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003461120001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:06:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:06:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:06:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:06:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:06:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003461120001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:06:05] local.INFO: DEBUG: GPS processor result {"connection_id":143330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555663,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:06:05] local.INFO: GPS data processed {"connection_id":143330,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:06:05] local.INFO: Acknowledgment sent {"connection_id":143330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:06:12] local.INFO: TCP Data received {"connection_id":145612,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa46d5340012da0abc00604b658002d01222c..."} 
[2026-07-27 22:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa46d5340012da0abc00604b658002d01222c..."} 
[2026-07-27 22:06:12] local.INFO: Processing buffer {"connection_id":145612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa46d5340012da0abc00604b658002d01222c..."} 
[2026-07-27 22:06:12] local.INFO: Packet analysis {"connection_id":145612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa46d"} 
[2026-07-27 22:06:12] local.INFO: Extracted packet for processing {"connection_id":145612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa46d"} 
[2026-07-27 22:06:12] local.INFO: GPS Element Parsed {"raw_longitude":765504448,"raw_latitude":100972120,"longitude_deg":76.5504448,"latitude_deg":10.097212,"altitude":45,"angle":290,"satellites":44,"speed":34,"hex_longitude":"2da0abc0","hex_latitude":"0604b658","is_valid_coordinates":true} 
[2026-07-27 22:06:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:06:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003531776001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:06:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359432700467085312,"note":"Value kept but may cause issues"} 
[2026-07-27 22:06:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6861515481428078592,"note":"Value kept but may cause issues"} 
[2026-07-27 22:06:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:06:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785170056000,"timestamp_ms":1785170056000,"timestamp_seconds":1785170056,"priority":1,"record_length":96,"hex_timestamp":"0000019fa46d5340"} 
[2026-07-27 22:06:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:06:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 22:06:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-27 22:06:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:06:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:06:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:06:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:06:12] local.INFO: Teltonika packet parsed successfully {"connection_id":145612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:06:12] local.INFO: Passing IMEI to GPS processor {"connection_id":145612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:06:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":145612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:06: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-07-27 22:06:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:06:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:06:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003531776001,"66":27321,"114":206,"88":20992,"24":34,"16":359432700467085312,"45":-6861515481428078592},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,88,24,16,45]} 
[2026-07-27 22:06:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:06:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:06:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003531776001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:06:12] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-07-27 22:06:12] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-07-27 22:06:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359432700467085312,"km_value":359432700467085.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:06:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6861515481428078592,"description":"Unknown IO ID 45"} 
[2026-07-27 22:06:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003531776001,"power":27321,"unknown_114":206,"unknown_88":20992,"ignition":34,"odometer":null,"unknown_45":-6861515481428078592}} 
[2026-07-27 22:06:12] local.INFO: DEBUG: GPS processor result {"connection_id":145612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:06:12] local.INFO: GPS data processed {"connection_id":145612,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:06:12] local.INFO: Acknowledgment sent {"connection_id":145612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:06:31] local.INFO: TCP Data received {"connection_id":144337,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:06:31] local.INFO: Processing buffer {"connection_id":144337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:06:31] local.INFO: IMEI packet received {"connection_id":144337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 22:06:31] local.INFO: IMEI acknowledgment sent {"connection_id":144337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 22:06:36] local.INFO: TCP Data received {"connection_id":144337,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:06:36] local.INFO: Processing buffer {"connection_id":144337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:06:36] local.INFO: IMEI packet received {"connection_id":144337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 22:06:36] local.INFO: IMEI acknowledgment sent {"connection_id":144337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:06:37] local.INFO: TCP Data received {"connection_id":143330,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa46d8dd8012d196940071fee20004601312c..."} 
[2026-07-27 22:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa46d8dd8012d196940071fee20004601312c..."} 
[2026-07-27 22:06:37] local.INFO: Processing buffer {"connection_id":143330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa46d8dd8012d196940071fee20004601312c..."} 
[2026-07-27 22:06:37] local.INFO: Packet analysis {"connection_id":143330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa46d"} 
[2026-07-27 22:06:37] local.INFO: Extracted packet for processing {"connection_id":143330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa46d"} 
[2026-07-27 22:06:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":70,"angle":305,"satellites":44,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:06:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003461120001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:06:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:06:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:06:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:06:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785170071000,"timestamp_ms":1785170071000,"timestamp_seconds":1785170071,"priority":1,"record_length":96,"hex_timestamp":"0000019fa46d8dd8"} 
[2026-07-27 22:06:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:06:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-27 22:06:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:06:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:06:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:06:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:06:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:06:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143330,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:06:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143330,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:06:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:06:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:06:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:06:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003461120001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:06:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:06:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:06:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003461120001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:06:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:06:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:06:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:06:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:06:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003461120001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:06:37] local.INFO: DEBUG: GPS processor result {"connection_id":143330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555665,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:06:37] local.INFO: GPS data processed {"connection_id":143330,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:06:37] local.INFO: Acknowledgment sent {"connection_id":143330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:06:42] local.INFO: TCP Data received {"connection_id":144337,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa46d7e38012da087800604c1c0002a012a29..."} 
[2026-07-27 22:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa46d7e38012da087800604c1c0002a012a29..."} 
[2026-07-27 22:06:42] local.INFO: Processing buffer {"connection_id":144337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa46d7e38012da087800604c1c0002a012a29..."} 
[2026-07-27 22:06:42] local.INFO: Packet analysis {"connection_id":144337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa46d"} 
[2026-07-27 22:06:42] local.INFO: Extracted packet for processing {"connection_id":144337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa46d"} 
[2026-07-27 22:06:42] local.INFO: GPS Element Parsed {"raw_longitude":765495168,"raw_latitude":100975040,"longitude_deg":76.5495168,"latitude_deg":10.097504,"altitude":42,"angle":298,"satellites":41,"speed":39,"hex_longitude":"2da08780","hex_latitude":"0604c1c0","is_valid_coordinates":true} 
[2026-07-27 22:06:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:06:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003534336001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:06:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359433168618520576,"note":"Value kept but may cause issues"} 
[2026-07-27 22:06:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6869185674542163968,"note":"Value kept but may cause issues"} 
[2026-07-27 22:06:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:06:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785170067000,"timestamp_ms":1785170067000,"timestamp_seconds":1785170067,"priority":1,"record_length":96,"hex_timestamp":"0000019fa46d7e38"} 
[2026-07-27 22:06:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:06:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 22: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-27 22:06:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:06:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:06:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:06:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:06:42] local.INFO: Teltonika packet parsed successfully {"connection_id":144337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:06:42] local.INFO: Passing IMEI to GPS processor {"connection_id":144337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:06:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":144337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:06:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:06:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:06:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:06:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003534336001,"66":27343,"114":206,"88":20992,"24":39,"16":359433168618520576,"45":-6869185674542163968},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,88,24,16,45]} 
[2026-07-27 22:06:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:06:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:06:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003534336001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:06:42] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-07-27 22:06:42] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-07-27 22:06:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359433168618520576,"km_value":359433168618520.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:06:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6869185674542163968,"description":"Unknown IO ID 45"} 
[2026-07-27 22:06:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003534336001,"power":27343,"unknown_114":206,"unknown_88":20992,"ignition":39,"odometer":null,"unknown_45":-6869185674542163968}} 
[2026-07-27 22:06:42] local.INFO: DEBUG: GPS processor result {"connection_id":144337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:06:42] local.INFO: GPS data processed {"connection_id":144337,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:06:42] local.INFO: Acknowledgment sent {"connection_id":144337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:06:59] local.INFO: TCP Data received {"connection_id":144338,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144338,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:06:59] local.INFO: Processing buffer {"connection_id":144338,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:06:59] local.INFO: IMEI packet received {"connection_id":144338,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 22:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":144338,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 22:07:04] local.INFO: TCP Data received {"connection_id":144338,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144338,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:07:04] local.INFO: Processing buffer {"connection_id":144338,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:07:04] local.INFO: IMEI packet received {"connection_id":144338,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 22:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":144338,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:07:05] local.INFO: TCP Data received {"connection_id":144338,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa46d8dd8012d196940071fee20004601312c..."} 
[2026-07-27 22:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa46d8dd8012d196940071fee20004601312c..."} 
[2026-07-27 22:07:05] local.INFO: Processing buffer {"connection_id":144338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa46d8dd8012d196940071fee20004601312c..."} 
[2026-07-27 22:07:05] local.INFO: Packet analysis {"connection_id":144338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa46d"} 
[2026-07-27 22:07:05] local.INFO: Extracted packet for processing {"connection_id":144338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa46d"} 
[2026-07-27 22:07:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":70,"angle":305,"satellites":44,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:07:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003461120001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:07:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:07:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:07:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:07:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785170071000,"timestamp_ms":1785170071000,"timestamp_seconds":1785170071,"priority":1,"record_length":96,"hex_timestamp":"0000019fa46d8dd8"} 
[2026-07-27 22:07:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:07:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-27 22:07:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:07:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:07:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:07:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:07:05] local.INFO: Teltonika packet parsed successfully {"connection_id":144338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:07:05] local.INFO: Passing IMEI to GPS processor {"connection_id":144338,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:07:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":144338,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:07:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:07:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:07:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:07:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003461120001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:07:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:07:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:07:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003461120001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:07:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:07:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:07:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:07:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:07:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003461120001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:07:05] local.INFO: DEBUG: GPS processor result {"connection_id":144338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555667,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:07:05] local.INFO: GPS data processed {"connection_id":144338,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:07:05] local.INFO: Acknowledgment sent {"connection_id":144338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:07:13] local.INFO: TCP Data received {"connection_id":144337,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa46f3f70012d9ef3000605c1b0002001332a..."} 
[2026-07-27 22:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa46f3f70012d9ef3000605c1b0002001332a..."} 
[2026-07-27 22:07:13] local.INFO: Processing buffer {"connection_id":144337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa46f3f70012d9ef3000605c1b0002001332a..."} 
[2026-07-27 22:07:13] local.INFO: Packet analysis {"connection_id":144337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa46f"} 
[2026-07-27 22:07:13] local.INFO: Extracted packet for processing {"connection_id":144337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa46f"} 
[2026-07-27 22:07:13] local.INFO: GPS Element Parsed {"raw_longitude":765391616,"raw_latitude":101040560,"longitude_deg":76.5391616,"latitude_deg":10.104056,"altitude":32,"angle":307,"satellites":42,"speed":46,"hex_longitude":"2d9ef300","hex_latitude":"0605c1b0","is_valid_coordinates":true} 
[2026-07-27 22:07:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:07:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003564544001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:07:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359439121443192832,"note":"Value kept but may cause issues"} 
[2026-07-27 22:07:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6985294102419265536,"note":"Value kept but may cause issues"} 
[2026-07-27 22:07:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:07:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785170182000,"timestamp_ms":1785170182000,"timestamp_seconds":1785170182,"priority":1,"record_length":96,"hex_timestamp":"0000019fa46f3f70"} 
[2026-07-27 22:07:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:07:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 22:07:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-27 22:07:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:07:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:07:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:07:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:07:13] local.INFO: Teltonika packet parsed successfully {"connection_id":144337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:07:13] local.INFO: Passing IMEI to GPS processor {"connection_id":144337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:07:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":144337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:07:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:07:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:07:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:07:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003564544001,"66":27267,"69":206,"88":20992,"24":46,"16":359439121443192832,"45":-6985294102419265536},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,88,24,16,45]} 
[2026-07-27 22:07:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:07:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:07:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003564544001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:07:13] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-07-27 22:07:13] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-07-27 22:07:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359439121443192832,"km_value":359439121443192.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:07:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6985294102419265536,"description":"Unknown IO ID 45"} 
[2026-07-27 22:07:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003564544001,"power":27267,"unknown_69":206,"unknown_88":20992,"ignition":46,"odometer":null,"unknown_45":-6985294102419265536}} 
[2026-07-27 22:07:13] local.INFO: DEBUG: GPS processor result {"connection_id":144337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:07:13] local.INFO: GPS data processed {"connection_id":144337,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:07:13] local.INFO: Acknowledgment sent {"connection_id":144337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:07:31] local.INFO: TCP Data received {"connection_id":145613,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:07:31] local.INFO: Processing buffer {"connection_id":145613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:07:31] local.INFO: IMEI packet received {"connection_id":145613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 22:07:31] local.INFO: IMEI acknowledgment sent {"connection_id":145613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 22:07:31] local.INFO: TCP Data received {"connection_id":145613,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:07:31] local.INFO: Processing buffer {"connection_id":145613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:07:31] local.INFO: IMEI packet received {"connection_id":145613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 22:07:31] local.INFO: IMEI acknowledgment sent {"connection_id":145613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:07:36] local.INFO: TCP Data received {"connection_id":145613,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:07:36] local.INFO: Processing buffer {"connection_id":145613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:07:36] local.INFO: IMEI packet received {"connection_id":145613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 22:07:36] local.INFO: IMEI acknowledgment sent {"connection_id":145613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:07:37] local.INFO: TCP Data received {"connection_id":145613,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa46f4f10012d9ee3000605cb280020012729..."} 
[2026-07-27 22:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa46f4f10012d9ee3000605cb280020012729..."} 
[2026-07-27 22:07:37] local.INFO: Processing buffer {"connection_id":145613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa46f4f10012d9ee3000605cb280020012729..."} 
[2026-07-27 22:07:37] local.INFO: Packet analysis {"connection_id":145613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa46f"} 
[2026-07-27 22:07:37] local.INFO: Extracted packet for processing {"connection_id":145613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa46f"} 
[2026-07-27 22:07:37] local.INFO: GPS Element Parsed {"raw_longitude":765387520,"raw_latitude":101042984,"longitude_deg":76.538752,"latitude_deg":10.1042984,"altitude":32,"angle":295,"satellites":41,"speed":47,"hex_longitude":"2d9ee300","hex_latitude":"0605cb28","is_valid_coordinates":true} 
[2026-07-27 22:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003566592001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359439349076459520,"note":"Value kept but may cause issues"} 
[2026-07-27 22:07:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6993245770509864960,"note":"Value kept but may cause issues"} 
[2026-07-27 22:07:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785170186000,"timestamp_ms":1785170186000,"timestamp_seconds":1785170186,"priority":1,"record_length":96,"hex_timestamp":"0000019fa46f4f10"} 
[2026-07-27 22:07:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:07:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 22:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-27 22:07:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:07:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:07:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:07:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003566592001,"66":27321,"69":206,"88":20992,"24":47,"16":359439349076459520,"45":-6993245770509864960},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,88,24,16,45]} 
[2026-07-27 22:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003566592001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:07:37] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-07-27 22:07:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-07-27 22:07:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359439349076459520,"km_value":359439349076459.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:07:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6993245770509864960,"description":"Unknown IO ID 45"} 
[2026-07-27 22:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003566592001,"power":27321,"unknown_69":206,"unknown_88":20992,"ignition":47,"odometer":null,"unknown_45":-6993245770509864960}} 
[2026-07-27 22:07:37] local.INFO: DEBUG: GPS processor result {"connection_id":145613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:07:37] local.INFO: GPS data processed {"connection_id":145613,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:07:37] local.INFO: Acknowledgment sent {"connection_id":145613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:07:37] local.INFO: TCP Data received {"connection_id":144338,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa46d8dd8012d196940071fee20004601312c..."} 
[2026-07-27 22:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa46d8dd8012d196940071fee20004601312c..."} 
[2026-07-27 22:07:37] local.INFO: Processing buffer {"connection_id":144338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa46d8dd8012d196940071fee20004601312c..."} 
[2026-07-27 22:07:37] local.INFO: Packet analysis {"connection_id":144338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa46d"} 
[2026-07-27 22:07:37] local.INFO: Extracted packet for processing {"connection_id":144338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa46d"} 
[2026-07-27 22:07:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":70,"angle":305,"satellites":44,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003461120001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:07:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:07:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785170071000,"timestamp_ms":1785170071000,"timestamp_seconds":1785170071,"priority":1,"record_length":96,"hex_timestamp":"0000019fa46d8dd8"} 
[2026-07-27 22:07:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:07:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-27 22:07:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:07:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:07:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144338,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144338,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:07:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003461120001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003461120001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:07:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:07:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:07:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:07:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003461120001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:07:37] local.INFO: DEBUG: GPS processor result {"connection_id":144338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555670,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:07:37] local.INFO: GPS data processed {"connection_id":144338,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:07:37] local.INFO: Acknowledgment sent {"connection_id":144338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:07:59] local.INFO: TCP Data received {"connection_id":143331,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143331,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:07:59] local.INFO: Processing buffer {"connection_id":143331,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:07:59] local.INFO: IMEI packet received {"connection_id":143331,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 22:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":143331,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 22:08:04] local.INFO: TCP Data received {"connection_id":143331,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143331,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:08:04] local.INFO: Processing buffer {"connection_id":143331,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:08:04] local.INFO: IMEI packet received {"connection_id":143331,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 22:08:04] local.INFO: IMEI acknowledgment sent {"connection_id":143331,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:08:05] local.INFO: TCP Data received {"connection_id":143331,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa46d8dd8012d196940071fee20004601312c..."} 
[2026-07-27 22:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa46d8dd8012d196940071fee20004601312c..."} 
[2026-07-27 22:08:05] local.INFO: Processing buffer {"connection_id":143331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa46d8dd8012d196940071fee20004601312c..."} 
[2026-07-27 22:08:05] local.INFO: Packet analysis {"connection_id":143331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa46d"} 
[2026-07-27 22:08:05] local.INFO: Extracted packet for processing {"connection_id":143331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa46d"} 
[2026-07-27 22:08:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":70,"angle":305,"satellites":44,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:08:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003461120001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:08:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:08:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:08:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:08:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785170071000,"timestamp_ms":1785170071000,"timestamp_seconds":1785170071,"priority":1,"record_length":96,"hex_timestamp":"0000019fa46d8dd8"} 
[2026-07-27 22:08:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:08:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-27 22:08:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:08:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:08:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:08:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:08:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:08:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:08:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:08:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:08:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:08:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:08:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003461120001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:08:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:08:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:08:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003461120001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:08:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:08:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:08:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:08:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:08:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003461120001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:08:05] local.INFO: DEBUG: GPS processor result {"connection_id":143331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555671,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:08:05] local.INFO: GPS data processed {"connection_id":143331,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:08:05] local.INFO: Acknowledgment sent {"connection_id":143331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:08:08] local.INFO: TCP Data received {"connection_id":145613,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa46f6e50012d9ec1800605da100020012629..."} 
[2026-07-27 22:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa46f6e50012d9ec1800605da100020012629..."} 
[2026-07-27 22:08:08] local.INFO: Processing buffer {"connection_id":145613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa46f6e50012d9ec1800605da100020012629..."} 
[2026-07-27 22:08:08] local.INFO: Packet analysis {"connection_id":145613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa46f"} 
[2026-07-27 22:08:08] local.INFO: Extracted packet for processing {"connection_id":145613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa46f"} 
[2026-07-27 22:08:08] local.INFO: GPS Element Parsed {"raw_longitude":765378944,"raw_latitude":101046800,"longitude_deg":76.5378944,"latitude_deg":10.10468,"altitude":32,"angle":294,"satellites":41,"speed":47,"hex_longitude":"2d9ec180","hex_latitude":"0605da10","is_valid_coordinates":true} 
[2026-07-27 22:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:08:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003567616001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:08:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359439795753058304,"note":"Value kept but may cause issues"} 
[2026-07-27 22:08:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6997749370136614912,"note":"Value kept but may cause issues"} 
[2026-07-27 22:08:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:08:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785170194000,"timestamp_ms":1785170194000,"timestamp_seconds":1785170194,"priority":1,"record_length":96,"hex_timestamp":"0000019fa46f6e50"} 
[2026-07-27 22:08:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:08:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 22:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-27 22:08:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:08:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:08:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:08:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:08:08] local.INFO: Teltonika packet parsed successfully {"connection_id":145613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:08:08] local.INFO: Passing IMEI to GPS processor {"connection_id":145613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:08:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":145613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:08:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:08:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:08:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:08:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003567616001,"66":27300,"69":206,"88":20992,"24":47,"16":359439795753058304,"45":-6997749370136614912},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,88,24,16,45]} 
[2026-07-27 22:08:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:08:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:08:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003567616001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:08:08] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-07-27 22:08:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-07-27 22:08:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359439795753058304,"km_value":359439795753058.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:08:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6997749370136614912,"description":"Unknown IO ID 45"} 
[2026-07-27 22:08:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003567616001,"power":27300,"unknown_69":206,"unknown_88":20992,"ignition":47,"odometer":null,"unknown_45":-6997749370136614912}} 
[2026-07-27 22:08:08] local.INFO: DEBUG: GPS processor result {"connection_id":145613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:08:08] local.INFO: GPS data processed {"connection_id":145613,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:08:08] local.INFO: Acknowledgment sent {"connection_id":145613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:08:31] local.INFO: TCP Data received {"connection_id":143332,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:08:31] local.INFO: Processing buffer {"connection_id":143332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:08:31] local.INFO: IMEI packet received {"connection_id":143332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 22:08:31] local.INFO: IMEI acknowledgment sent {"connection_id":143332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 22:08:34] local.INFO: TCP Data received {"connection_id":143332,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:08:34] local.INFO: Processing buffer {"connection_id":143332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:08:34] local.INFO: IMEI packet received {"connection_id":143332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 22:08:34] local.INFO: IMEI acknowledgment sent {"connection_id":143332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:08:37] local.INFO: TCP Data received {"connection_id":143331,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa46d8dd8012d196940071fee20004601312c..."} 
[2026-07-27 22:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa46d8dd8012d196940071fee20004601312c..."} 
[2026-07-27 22:08:37] local.INFO: Processing buffer {"connection_id":143331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa46d8dd8012d196940071fee20004601312c..."} 
[2026-07-27 22:08:37] local.INFO: Packet analysis {"connection_id":143331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa46d"} 
[2026-07-27 22:08:37] local.INFO: Extracted packet for processing {"connection_id":143331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa46d"} 
[2026-07-27 22:08:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":70,"angle":305,"satellites":44,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:08:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003461120001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:08:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:08:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:08:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:08:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785170071000,"timestamp_ms":1785170071000,"timestamp_seconds":1785170071,"priority":1,"record_length":96,"hex_timestamp":"0000019fa46d8dd8"} 
[2026-07-27 22:08:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:08:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-27 22:08:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:08:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:08:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:08:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:08:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:08:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:08:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:08:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:08:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:08:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:08:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003461120001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:08:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:08:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:08:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003461120001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:08:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:08:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:08:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:08:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:08:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003461120001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:08:37] local.INFO: DEBUG: GPS processor result {"connection_id":143331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555673,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:08:37] local.INFO: GPS data processed {"connection_id":143331,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:08:37] local.INFO: Acknowledgment sent {"connection_id":143331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:08:39] local.INFO: TCP Data received {"connection_id":143332,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:08:39] local.INFO: Processing buffer {"connection_id":143332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:08:39] local.INFO: IMEI packet received {"connection_id":143332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 22:08:39] local.INFO: IMEI acknowledgment sent {"connection_id":143332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:08:41] local.INFO: TCP Data received {"connection_id":143332,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4702db8012d9e76c0060673380017013e2b..."} 
[2026-07-27 22:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4702db8012d9e76c0060673380017013e2b..."} 
[2026-07-27 22:08:41] local.INFO: Processing buffer {"connection_id":143332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4702db8012d9e76c0060673380017013e2b..."} 
[2026-07-27 22:08:41] local.INFO: Packet analysis {"connection_id":143332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa470"} 
[2026-07-27 22:08:41] local.INFO: Extracted packet for processing {"connection_id":143332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa470"} 
[2026-07-27 22:08:41] local.INFO: GPS Element Parsed {"raw_longitude":765359808,"raw_latitude":101086008,"longitude_deg":76.5359808,"latitude_deg":10.1086008,"altitude":23,"angle":318,"satellites":43,"speed":38,"hex_longitude":"2d9e76c0","hex_latitude":"06067338","is_valid_coordinates":true} 
[2026-07-27 22:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:08:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003581184001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:08:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359442265359253504,"note":"Value kept but may cause issues"} 
[2026-07-27 22:08:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7025685761564973056,"note":"Value kept but may cause issues"} 
[2026-07-27 22:08:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:08:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785170243000,"timestamp_ms":1785170243000,"timestamp_seconds":1785170243,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4702db8"} 
[2026-07-27 22:08:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:08:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 22:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-07-27 22:08:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2541,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:08:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:08:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:08:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:08:41] local.INFO: Teltonika packet parsed successfully {"connection_id":143332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:08:41] local.INFO: Passing IMEI to GPS processor {"connection_id":143332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:08:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":143332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22: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-07-27 22:08:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:08:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:08:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003581184001,"66":27376,"239":206,"88":20992,"24":38,"16":359442265359253504,"45":-7025685761564973056},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,88,24,16,45]} 
[2026-07-27 22:08:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:08:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:08:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003581184001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:08:41] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-27 22:08:41] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-07-27 22:08:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359442265359253504,"km_value":359442265359253.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:08:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7025685761564973056,"description":"Unknown IO ID 45"} 
[2026-07-27 22:08:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003581184001,"power":27376,"unknown_239":206,"unknown_88":20992,"ignition":38,"odometer":null,"unknown_45":-7025685761564973056}} 
[2026-07-27 22:08:41] local.INFO: DEBUG: GPS processor result {"connection_id":143332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:08:41] local.INFO: GPS data processed {"connection_id":143332,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:08:41] local.INFO: Acknowledgment sent {"connection_id":143332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:08:59] local.INFO: TCP Data received {"connection_id":143191,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143191,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:08:59] local.INFO: Processing buffer {"connection_id":143191,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:08:59] local.INFO: IMEI packet received {"connection_id":143191,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 22:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":143191,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 22:09:04] local.INFO: TCP Data received {"connection_id":143191,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143191,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:09:04] local.INFO: Processing buffer {"connection_id":143191,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:09:04] local.INFO: IMEI packet received {"connection_id":143191,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 22:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":143191,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:09:05] local.INFO: TCP Data received {"connection_id":143191,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa46d8dd8012d196940071fee20004601312c..."} 
[2026-07-27 22:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143191,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa46d8dd8012d196940071fee20004601312c..."} 
[2026-07-27 22:09:05] local.INFO: Processing buffer {"connection_id":143191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa46d8dd8012d196940071fee20004601312c..."} 
[2026-07-27 22:09:05] local.INFO: Packet analysis {"connection_id":143191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa46d"} 
[2026-07-27 22:09:05] local.INFO: Extracted packet for processing {"connection_id":143191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa46d"} 
[2026-07-27 22:09:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":70,"angle":305,"satellites":44,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:09:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003461120001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:09:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:09:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:09:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:09:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785170071000,"timestamp_ms":1785170071000,"timestamp_seconds":1785170071,"priority":1,"record_length":96,"hex_timestamp":"0000019fa46d8dd8"} 
[2026-07-27 22:09:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:09:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-27 22:09:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:09:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:09:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:09:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:09:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:09:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143191,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:09:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143191,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:09:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:09:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:09:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:09:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003461120001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:09:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:09:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:09:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003461120001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:09:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:09:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:09:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:09:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:09:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003461120001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:09:05] local.INFO: DEBUG: GPS processor result {"connection_id":143191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555675,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:09:05] local.INFO: GPS data processed {"connection_id":143191,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:09:05] local.INFO: Acknowledgment sent {"connection_id":143191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:09:11] local.INFO: TCP Data received {"connection_id":143332,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa47054c8012d9e5b8006068df00016013b2c..."} 
[2026-07-27 22:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa47054c8012d9e5b8006068df00016013b2c..."} 
[2026-07-27 22:09:12] local.INFO: Processing buffer {"connection_id":143332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa47054c8012d9e5b8006068df00016013b2c..."} 
[2026-07-27 22:09:12] local.INFO: Packet analysis {"connection_id":143332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa470"} 
[2026-07-27 22:09:12] local.INFO: Extracted packet for processing {"connection_id":143332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa470"} 
[2026-07-27 22:09:12] local.INFO: GPS Element Parsed {"raw_longitude":765352832,"raw_latitude":101092848,"longitude_deg":76.5352832,"latitude_deg":10.1092848,"altitude":22,"angle":315,"satellites":44,"speed":35,"hex_longitude":"2d9e5b80","hex_latitude":"06068df0","is_valid_coordinates":true} 
[2026-07-27 22:09:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:09:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003582208001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:09:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359442733510688768,"note":"Value kept but may cause issues"} 
[2026-07-27 22:09:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7028219036354529280,"note":"Value kept but may cause issues"} 
[2026-07-27 22:09:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:09:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785170253000,"timestamp_ms":1785170253000,"timestamp_seconds":1785170253,"priority":1,"record_length":96,"hex_timestamp":"0000019fa47054c8"} 
[2026-07-27 22:09:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:09:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 22: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-27 22:09:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:09:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:09:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:09:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:09:12] local.INFO: Teltonika packet parsed successfully {"connection_id":143332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:09:12] local.INFO: Passing IMEI to GPS processor {"connection_id":143332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:09:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":143332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:09: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-07-27 22:09:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:09:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:09:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003582208001,"66":27376,"239":206,"88":20992,"24":35,"16":359442733510688768,"45":-7028219036354529280},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,88,24,16,45]} 
[2026-07-27 22:09:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:09:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:09:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003582208001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:09:12] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-27 22:09:12] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-07-27 22:09:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359442733510688768,"km_value":359442733510688.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:09:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7028219036354529280,"description":"Unknown IO ID 45"} 
[2026-07-27 22:09:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003582208001,"power":27376,"unknown_239":206,"unknown_88":20992,"ignition":35,"odometer":null,"unknown_45":-7028219036354529280}} 
[2026-07-27 22:09:12] local.INFO: DEBUG: GPS processor result {"connection_id":143332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:09:12] local.INFO: GPS data processed {"connection_id":143332,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:09:12] local.INFO: Acknowledgment sent {"connection_id":143332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:09:32] local.INFO: TCP Data received {"connection_id":143333,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:09:32] local.INFO: Processing buffer {"connection_id":143333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:09:32] local.INFO: IMEI packet received {"connection_id":143333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 22:09:32] local.INFO: IMEI acknowledgment sent {"connection_id":143333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 22:09:36] local.INFO: TCP Data received {"connection_id":143333,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:09:36] local.INFO: Processing buffer {"connection_id":143333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:09:36] local.INFO: IMEI packet received {"connection_id":143333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 22:09:36] local.INFO: IMEI acknowledgment sent {"connection_id":143333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:09:36] local.INFO: TCP Data received {"connection_id":143333,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:09:36] local.INFO: Processing buffer {"connection_id":143333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:09:36] local.INFO: IMEI packet received {"connection_id":143333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 22:09:36] local.INFO: IMEI acknowledgment sent {"connection_id":143333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:09:37] local.INFO: TCP Data received {"connection_id":143191,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa46d8dd8012d196940071fee20004601312c..."} 
[2026-07-27 22:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143191,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa46d8dd8012d196940071fee20004601312c..."} 
[2026-07-27 22:09:37] local.INFO: Processing buffer {"connection_id":143191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa46d8dd8012d196940071fee20004601312c..."} 
[2026-07-27 22:09:37] local.INFO: Packet analysis {"connection_id":143191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa46d"} 
[2026-07-27 22:09:37] local.INFO: Extracted packet for processing {"connection_id":143191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa46d"} 
[2026-07-27 22:09:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":70,"angle":305,"satellites":44,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003461120001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:09:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:09:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785170071000,"timestamp_ms":1785170071000,"timestamp_seconds":1785170071,"priority":1,"record_length":96,"hex_timestamp":"0000019fa46d8dd8"} 
[2026-07-27 22:09:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:09:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-27 22:09:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:09:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:09:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143191,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143191,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:09:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003461120001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003461120001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:09:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:09:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:09:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:09:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003461120001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:09:37] local.INFO: DEBUG: GPS processor result {"connection_id":143191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555677,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:09:37] local.INFO: GPS data processed {"connection_id":143191,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:09:37] local.INFO: Acknowledgment sent {"connection_id":143191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:09:41] local.INFO: TCP Data received {"connection_id":143333,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:09:41] local.INFO: Processing buffer {"connection_id":143333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:09:41] local.INFO: IMEI packet received {"connection_id":143333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 22:09:41] local.INFO: IMEI acknowledgment sent {"connection_id":143333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:09:42] local.INFO: TCP Data received {"connection_id":143333,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4707bd8012d9e3f800606a770001701302b..."} 
[2026-07-27 22:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4707bd8012d9e3f800606a770001701302b..."} 
[2026-07-27 22:09:42] local.INFO: Processing buffer {"connection_id":143333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4707bd8012d9e3f800606a770001701302b..."} 
[2026-07-27 22:09:42] local.INFO: Packet analysis {"connection_id":143333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa470"} 
[2026-07-27 22:09:42] local.INFO: Extracted packet for processing {"connection_id":143333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa470"} 
[2026-07-27 22:09:42] local.INFO: GPS Element Parsed {"raw_longitude":765345664,"raw_latitude":101099376,"longitude_deg":76.5345664,"latitude_deg":10.1099376,"altitude":23,"angle":304,"satellites":43,"speed":38,"hex_longitude":"2d9e3f80","hex_latitude":"0606a770","is_valid_coordinates":true} 
[2026-07-27 22: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-07-27 22:09:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003584768001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:09:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359443201662124032,"note":"Value kept but may cause issues"} 
[2026-07-27 22:09:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7035889229468143616,"note":"Value kept but may cause issues"} 
[2026-07-27 22:09:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:09:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785170263000,"timestamp_ms":1785170263000,"timestamp_seconds":1785170263,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4707bd8"} 
[2026-07-27 22:09:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:09:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 22: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-27 22:09:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22: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-07-27 22:09:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:09:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:09:42] local.INFO: Teltonika packet parsed successfully {"connection_id":143333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:09:42] local.INFO: Passing IMEI to GPS processor {"connection_id":143333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:09:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":143333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:09:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:09:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:09:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:09:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003584768001,"66":26658,"239":206,"88":20992,"24":38,"16":359443201662124032,"45":-7035889229468143616},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,88,24,16,45]} 
[2026-07-27 22:09:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:09:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:09:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003584768001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:09:42] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-27 22:09:42] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-07-27 22:09:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359443201662124032,"km_value":359443201662124.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:09:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7035889229468143616,"description":"Unknown IO ID 45"} 
[2026-07-27 22:09:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003584768001,"power":26658,"unknown_239":206,"unknown_88":20992,"ignition":38,"odometer":null,"unknown_45":-7035889229468143616}} 
[2026-07-27 22:09:42] local.INFO: DEBUG: GPS processor result {"connection_id":143333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:09:42] local.INFO: GPS data processed {"connection_id":143333,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:09:42] local.INFO: Acknowledgment sent {"connection_id":143333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:09:45] local.INFO: TCP Data received {"connection_id":143333,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4708b78012d9e32000606af50001701242a..."} 
[2026-07-27 22:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4708b78012d9e32000606af50001701242a..."} 
[2026-07-27 22:09:45] local.INFO: Processing buffer {"connection_id":143333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4708b78012d9e32000606af50001701242a..."} 
[2026-07-27 22:09:45] local.INFO: Packet analysis {"connection_id":143333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa470"} 
[2026-07-27 22:09:45] local.INFO: Extracted packet for processing {"connection_id":143333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa470"} 
[2026-07-27 22:09:45] local.INFO: GPS Element Parsed {"raw_longitude":765342208,"raw_latitude":101101392,"longitude_deg":76.5342208,"latitude_deg":10.1101392,"altitude":23,"angle":292,"satellites":42,"speed":39,"hex_longitude":"2d9e3200","hex_latitude":"0606af50","is_valid_coordinates":true} 
[2026-07-27 22:09:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:09:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003587328001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:09:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359443394935652352,"note":"Value kept but may cause issues"} 
[2026-07-27 22:09:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043770528814370816,"note":"Value kept but may cause issues"} 
[2026-07-27 22:09:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:09:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785170267000,"timestamp_ms":1785170267000,"timestamp_seconds":1785170267,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4708b78"} 
[2026-07-27 22:09:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:09:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 22: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":104,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-07-27 22:09:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1024,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:09:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:09:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:09:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:09:45] local.INFO: Teltonika packet parsed successfully {"connection_id":143333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:09:45] local.INFO: Passing IMEI to GPS processor {"connection_id":143333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:09:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":143333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:09: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-07-27 22:09:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:09:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:09:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003587328001,"66":27463,"239":206,"88":20992,"24":39,"16":359443394935652352,"45":-7043770528814370816},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,88,24,16,45]} 
[2026-07-27 22:09:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:09:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:09:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003587328001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:09:45] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-27 22:09:45] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-07-27 22:09:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359443394935652352,"km_value":359443394935652.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:09:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043770528814370816,"description":"Unknown IO ID 45"} 
[2026-07-27 22:09:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003587328001,"power":27463,"unknown_239":206,"unknown_88":20992,"ignition":39,"odometer":null,"unknown_45":-7043770528814370816}} 
[2026-07-27 22:09:45] local.INFO: DEBUG: GPS processor result {"connection_id":143333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:09:45] local.INFO: GPS data processed {"connection_id":143333,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:09:45] local.INFO: Acknowledgment sent {"connection_id":143333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:09:59] local.INFO: TCP Data received {"connection_id":143192,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143192,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:09:59] local.INFO: Processing buffer {"connection_id":143192,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:09:59] local.INFO: IMEI packet received {"connection_id":143192,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 22:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":143192,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 22:10:04] local.INFO: TCP Data received {"connection_id":143192,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143192,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:10:04] local.INFO: Processing buffer {"connection_id":143192,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:10:04] local.INFO: IMEI packet received {"connection_id":143192,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 22:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":143192,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:10:06] local.INFO: TCP Data received {"connection_id":143192,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa46d8dd8012d196940071fee20004601312c..."} 
[2026-07-27 22:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa46d8dd8012d196940071fee20004601312c..."} 
[2026-07-27 22:10:06] local.INFO: Processing buffer {"connection_id":143192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa46d8dd8012d196940071fee20004601312c..."} 
[2026-07-27 22:10:06] local.INFO: Packet analysis {"connection_id":143192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa46d"} 
[2026-07-27 22:10:06] local.INFO: Extracted packet for processing {"connection_id":143192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa46d"} 
[2026-07-27 22:10:06] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":70,"angle":305,"satellites":44,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003461120001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:10:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:10:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:10:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:10:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785170071000,"timestamp_ms":1785170071000,"timestamp_seconds":1785170071,"priority":1,"record_length":96,"hex_timestamp":"0000019fa46d8dd8"} 
[2026-07-27 22:10:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:10:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-27 22:10:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:10:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:10:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:10:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:10:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:10:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:10:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:10:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:10:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:10:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:10:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003461120001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:10:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003461120001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:10:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:10:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:10:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:10:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003461120001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:10:06] local.INFO: DEBUG: GPS processor result {"connection_id":143192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555680,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:10:06] local.INFO: GPS data processed {"connection_id":143192,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:10:06] local.INFO: Acknowledgment sent {"connection_id":143192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:10:28] local.INFO: TCP Data received {"connection_id":144339,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:10:28] local.INFO: Processing buffer {"connection_id":144339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:10:28] local.INFO: IMEI packet received {"connection_id":144339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 22:10:28] local.INFO: IMEI acknowledgment sent {"connection_id":144339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 22:10:31] local.INFO: TCP Data received {"connection_id":144339,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:10:31] local.INFO: Processing buffer {"connection_id":144339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:10:31] local.INFO: IMEI packet received {"connection_id":144339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 22:10:31] local.INFO: IMEI acknowledgment sent {"connection_id":144339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:10:36] local.INFO: TCP Data received {"connection_id":144339,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:10:36] local.INFO: Processing buffer {"connection_id":144339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:10:36] local.INFO: IMEI packet received {"connection_id":144339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 22:10:36] local.INFO: IMEI acknowledgment sent {"connection_id":144339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:10:37] local.INFO: TCP Data received {"connection_id":144339,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4720e30012d9ca6800606fa28001f01252a..."} 
[2026-07-27 22:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4720e30012d9ca6800606fa28001f01252a..."} 
[2026-07-27 22:10:37] local.INFO: Processing buffer {"connection_id":144339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4720e30012d9ca6800606fa28001f01252a..."} 
[2026-07-27 22:10:37] local.INFO: Packet analysis {"connection_id":144339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa472"} 
[2026-07-27 22:10:37] local.INFO: Extracted packet for processing {"connection_id":144339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa472"} 
[2026-07-27 22:10:37] local.INFO: GPS Element Parsed {"raw_longitude":765240960,"raw_latitude":101120552,"longitude_deg":76.524096,"latitude_deg":10.1120552,"altitude":31,"angle":293,"satellites":42,"speed":36,"hex_longitude":"2d9ca680","hex_latitude":"0606fa28","is_valid_coordinates":true} 
[2026-07-27 22:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003611136001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359448458702094336,"note":"Value kept but may cause issues"} 
[2026-07-27 22:10:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7149605120053045248,"note":"Value kept but may cause issues"} 
[2026-07-27 22:10:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785170366000,"timestamp_ms":1785170366000,"timestamp_seconds":1785170366,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4720e30"} 
[2026-07-27 22:10:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:10:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 22:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-27 22:10:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:10:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:10:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:10:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003611136001,"66":27213,"114":206,"88":20992,"24":36,"16":359448458702094336,"45":-7149605120053045248},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,88,24,16,45]} 
[2026-07-27 22:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003611136001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:10:37] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-07-27 22:10:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-07-27 22:10:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359448458702094336,"km_value":359448458702094.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:10:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7149605120053045248,"description":"Unknown IO ID 45"} 
[2026-07-27 22:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003611136001,"power":27213,"unknown_114":206,"unknown_88":20992,"ignition":36,"odometer":null,"unknown_45":-7149605120053045248}} 
[2026-07-27 22:10:37] local.INFO: DEBUG: GPS processor result {"connection_id":144339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:10:37] local.INFO: GPS data processed {"connection_id":144339,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:10:37] local.INFO: Acknowledgment sent {"connection_id":144339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:10:37] local.INFO: TCP Data received {"connection_id":143192,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa47225a0012d196940071fee20004601312a..."} 
[2026-07-27 22:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa47225a0012d196940071fee20004601312a..."} 
[2026-07-27 22:10:37] local.INFO: Processing buffer {"connection_id":143192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa47225a0012d196940071fee20004601312a..."} 
[2026-07-27 22:10:37] local.INFO: Packet analysis {"connection_id":143192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa472"} 
[2026-07-27 22:10:37] local.INFO: Extracted packet for processing {"connection_id":143192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa472"} 
[2026-07-27 22:10:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":70,"angle":305,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003538176001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:10:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:10:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785170372000,"timestamp_ms":1785170372000,"timestamp_seconds":1785170372,"priority":1,"record_length":96,"hex_timestamp":"0000019fa47225a0"} 
[2026-07-27 22:10:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:10:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 22:10:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:10:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:10:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:10:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003538176001,"66":2155,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003538176001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:10:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:10:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:10:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:10:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003538176001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:10:37] local.INFO: DEBUG: GPS processor result {"connection_id":143192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555682,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:10:37] local.INFO: GPS data processed {"connection_id":143192,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:10:37] local.INFO: Acknowledgment sent {"connection_id":143192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:10:59] local.INFO: TCP Data received {"connection_id":144340,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144340,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:10:59] local.INFO: Processing buffer {"connection_id":144340,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:10:59] local.INFO: IMEI packet received {"connection_id":144340,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 22:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":144340,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 22:11:04] local.INFO: TCP Data received {"connection_id":144340,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144340,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:11:04] local.INFO: Processing buffer {"connection_id":144340,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:11:04] local.INFO: IMEI packet received {"connection_id":144340,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 22:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":144340,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:11:05] local.INFO: TCP Data received {"connection_id":144340,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa47225a0012d196940071fee20004601312a..."} 
[2026-07-27 22:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa47225a0012d196940071fee20004601312a..."} 
[2026-07-27 22:11:05] local.INFO: Processing buffer {"connection_id":144340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa47225a0012d196940071fee20004601312a..."} 
[2026-07-27 22:11:05] local.INFO: Packet analysis {"connection_id":144340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa472"} 
[2026-07-27 22:11:05] local.INFO: Extracted packet for processing {"connection_id":144340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa472"} 
[2026-07-27 22:11:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":70,"angle":305,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:11:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003538176001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:11:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:11:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:11:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:11:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785170372000,"timestamp_ms":1785170372000,"timestamp_seconds":1785170372,"priority":1,"record_length":96,"hex_timestamp":"0000019fa47225a0"} 
[2026-07-27 22:11:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:11:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 22:11:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:11:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:11:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:11:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:11:05] local.INFO: Teltonika packet parsed successfully {"connection_id":144340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:11:05] local.INFO: Passing IMEI to GPS processor {"connection_id":144340,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:11:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":144340,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:11:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:11:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:11:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:11:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003538176001,"66":2155,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:11:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:11:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:11:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003538176001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:11:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:11:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:11:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:11:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:11:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003538176001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:11:05] local.INFO: DEBUG: GPS processor result {"connection_id":144340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555683,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:11:05] local.INFO: GPS data processed {"connection_id":144340,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:11:05] local.INFO: Acknowledgment sent {"connection_id":144340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:11:08] local.INFO: TCP Data received {"connection_id":144339,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4723540012d9c858006070908002001232b..."} 
[2026-07-27 22:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4723540012d9c858006070908002001232b..."} 
[2026-07-27 22:11:08] local.INFO: Processing buffer {"connection_id":144339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4723540012d9c858006070908002001232b..."} 
[2026-07-27 22:11:08] local.INFO: Packet analysis {"connection_id":144339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa472"} 
[2026-07-27 22:11:08] local.INFO: Extracted packet for processing {"connection_id":144339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa472"} 
[2026-07-27 22:11:08] local.INFO: GPS Element Parsed {"raw_longitude":765232512,"raw_latitude":101124360,"longitude_deg":76.5232512,"latitude_deg":10.112436,"altitude":32,"angle":291,"satellites":43,"speed":34,"hex_longitude":"2d9c8580","hex_latitude":"06070908","is_valid_coordinates":true} 
[2026-07-27 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-07-27 22:11:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003613696001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:11:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359448901083725824,"note":"Value kept but may cause issues"} 
[2026-07-27 22:11:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7158893794283608064,"note":"Value kept but may cause issues"} 
[2026-07-27 22:11:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:11:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785170376000,"timestamp_ms":1785170376000,"timestamp_seconds":1785170376,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4723540"} 
[2026-07-27 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-07-27 22:11:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-27 22:11:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 22:11:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:11:08] local.INFO: Teltonika packet parsed successfully {"connection_id":144339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:11:08] local.INFO: Passing IMEI to GPS processor {"connection_id":144339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:11:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":144339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 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-07-27 22:11:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:11:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:11:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003613696001,"66":27376,"114":206,"88":20992,"24":34,"16":359448901083725824,"45":-7158893794283608064},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,88,24,16,45]} 
[2026-07-27 22:11:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:11:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:11:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003613696001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:11:08] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-07-27 22:11:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-07-27 22:11:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359448901083725824,"km_value":359448901083725.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:11:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7158893794283608064,"description":"Unknown IO ID 45"} 
[2026-07-27 22:11:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003613696001,"power":27376,"unknown_114":206,"unknown_88":20992,"ignition":34,"odometer":null,"unknown_45":-7158893794283608064}} 
[2026-07-27 22:11:08] local.INFO: DEBUG: GPS processor result {"connection_id":144339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:11:08] local.INFO: GPS data processed {"connection_id":144339,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:11:08] local.INFO: Acknowledgment sent {"connection_id":144339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:11:31] local.INFO: TCP Data received {"connection_id":145614,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:11:31] local.INFO: Processing buffer {"connection_id":145614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:11:31] local.INFO: IMEI packet received {"connection_id":145614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 22:11:31] local.INFO: IMEI acknowledgment sent {"connection_id":145614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 22:11:35] local.INFO: TCP Data received {"connection_id":145614,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:11:35] local.INFO: Processing buffer {"connection_id":145614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:11:35] local.INFO: IMEI packet received {"connection_id":145614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 22:11:35] local.INFO: IMEI acknowledgment sent {"connection_id":145614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:11:36] local.INFO: TCP Data received {"connection_id":145614,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4731000012d9bb880060703c8002601202a..."} 
[2026-07-27 22:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145614,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4731000012d9bb880060703c8002601202a..."} 
[2026-07-27 22:11:36] local.INFO: Processing buffer {"connection_id":145614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4731000012d9bb880060703c8002601202a..."} 
[2026-07-27 22:11:36] local.INFO: Packet analysis {"connection_id":145614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa473"} 
[2026-07-27 22:11:36] local.INFO: Extracted packet for processing {"connection_id":145614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa473"} 
[2026-07-27 22:11:36] local.INFO: GPS Element Parsed {"raw_longitude":765180032,"raw_latitude":101123016,"longitude_deg":76.5180032,"latitude_deg":10.1123016,"altitude":38,"angle":288,"satellites":42,"speed":32,"hex_longitude":"2d9bb880","hex_latitude":"060703c8","is_valid_coordinates":true} 
[2026-07-27 22:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:11:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003627776001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:11:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359451581143318528,"note":"Value kept but may cause issues"} 
[2026-07-27 22:11:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7215962845811935232,"note":"Value kept but may cause issues"} 
[2026-07-27 22:11:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:11:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785170432000,"timestamp_ms":1785170432000,"timestamp_seconds":1785170432,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4731000"} 
[2026-07-27 22:11:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:11:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 22:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-27 22:11:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:11:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:11:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:11:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:11:36] local.INFO: Teltonika packet parsed successfully {"connection_id":145614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:11:36] local.INFO: Passing IMEI to GPS processor {"connection_id":145614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:11:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":145614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:11:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:11:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:11:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:11:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003627776001,"66":27332,"115":206,"88":20992,"24":32,"16":359451581143318528,"45":-7215962845811935232},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,88,24,16,45]} 
[2026-07-27 22:11:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:11:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:11:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003627776001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:11:36] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-27 22:11:36] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-07-27 22:11:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359451581143318528,"km_value":359451581143318.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:11:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7215962845811935232,"description":"Unknown IO ID 45"} 
[2026-07-27 22:11:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003627776001,"power":27332,"unknown_115":206,"unknown_88":20992,"ignition":32,"odometer":null,"unknown_45":-7215962845811935232}} 
[2026-07-27 22:11:36] local.INFO: DEBUG: GPS processor result {"connection_id":145614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:11:36] local.INFO: GPS data processed {"connection_id":145614,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:11:36] local.INFO: Acknowledgment sent {"connection_id":145614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:11:37] local.INFO: TCP Data received {"connection_id":144340,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa47225a0012d196940071fee20004601312a..."} 
[2026-07-27 22:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa47225a0012d196940071fee20004601312a..."} 
[2026-07-27 22:11:37] local.INFO: Processing buffer {"connection_id":144340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa47225a0012d196940071fee20004601312a..."} 
[2026-07-27 22:11:37] local.INFO: Packet analysis {"connection_id":144340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa472"} 
[2026-07-27 22:11:37] local.INFO: Extracted packet for processing {"connection_id":144340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa472"} 
[2026-07-27 22:11:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":70,"angle":305,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003538176001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:11:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:11:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785170372000,"timestamp_ms":1785170372000,"timestamp_seconds":1785170372,"priority":1,"record_length":96,"hex_timestamp":"0000019fa47225a0"} 
[2026-07-27 22:11:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:11:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 22:11:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:11:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:11:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144340,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144340,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:11:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003538176001,"66":2155,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003538176001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:11:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:11:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:11:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:11:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003538176001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":144340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555686,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:11:37] local.INFO: GPS data processed {"connection_id":144340,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:11:37] local.INFO: Acknowledgment sent {"connection_id":144340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:11:59] local.INFO: TCP Data received {"connection_id":143193,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143193,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:11:59] local.INFO: Processing buffer {"connection_id":143193,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:11:59] local.INFO: IMEI packet received {"connection_id":143193,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 22:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":143193,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 22:12:04] local.INFO: TCP Data received {"connection_id":143193,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143193,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:12:04] local.INFO: Processing buffer {"connection_id":143193,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:12:04] local.INFO: IMEI packet received {"connection_id":143193,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 22:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":143193,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:12:05] local.INFO: TCP Data received {"connection_id":143193,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa47225a0012d196940071fee20004601312a..."} 
[2026-07-27 22:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa47225a0012d196940071fee20004601312a..."} 
[2026-07-27 22:12:05] local.INFO: Processing buffer {"connection_id":143193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa47225a0012d196940071fee20004601312a..."} 
[2026-07-27 22:12:05] local.INFO: Packet analysis {"connection_id":143193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa472"} 
[2026-07-27 22:12:05] local.INFO: Extracted packet for processing {"connection_id":143193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa472"} 
[2026-07-27 22:12:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":70,"angle":305,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:12:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003538176001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:12:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:12:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:12:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:12:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785170372000,"timestamp_ms":1785170372000,"timestamp_seconds":1785170372,"priority":1,"record_length":96,"hex_timestamp":"0000019fa47225a0"} 
[2026-07-27 22:12:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:12:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 22:12:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:12:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:12:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:12:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:12:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:12:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143193,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:12:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143193,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:12:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:12:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:12:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:12:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003538176001,"66":2155,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:12:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:12:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:12:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003538176001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:12:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:12:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:12:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:12:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:12:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003538176001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:12:05] local.INFO: DEBUG: GPS processor result {"connection_id":143193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555687,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:12:05] local.INFO: GPS data processed {"connection_id":143193,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:12:05] local.INFO: Acknowledgment sent {"connection_id":143193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:12:07] local.INFO: TCP Data received {"connection_id":145614,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4733710012d9b948006071120002101202b..."} 
[2026-07-27 22:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145614,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4733710012d9b948006071120002101202b..."} 
[2026-07-27 22:12:07] local.INFO: Processing buffer {"connection_id":145614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4733710012d9b948006071120002101202b..."} 
[2026-07-27 22:12:07] local.INFO: Packet analysis {"connection_id":145614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa473"} 
[2026-07-27 22:12:07] local.INFO: Extracted packet for processing {"connection_id":145614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa473"} 
[2026-07-27 22:12:07] local.INFO: GPS Element Parsed {"raw_longitude":765170816,"raw_latitude":101126432,"longitude_deg":76.5170816,"latitude_deg":10.1126432,"altitude":33,"angle":288,"satellites":43,"speed":43,"hex_longitude":"2d9b9480","hex_latitude":"06071120","is_valid_coordinates":true} 
[2026-07-27 22:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:12:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003630592001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:12:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359452053589721088,"note":"Value kept but may cause issues"} 
[2026-07-27 22:12:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7225884838740113408,"note":"Value kept but may cause issues"} 
[2026-07-27 22:12:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:12:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785170442000,"timestamp_ms":1785170442000,"timestamp_seconds":1785170442,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4733710"} 
[2026-07-27 22:12:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:12:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 22:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-27 22:12:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:12:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:12:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:12:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:12:07] local.INFO: Teltonika packet parsed successfully {"connection_id":145614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:12:07] local.INFO: Passing IMEI to GPS processor {"connection_id":145614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:12:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":145614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:12:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:12:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:12:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:12:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003630592001,"66":27376,"234":206,"79":48640,"24":43,"16":359452053589721088,"45":-7225884838740113408},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,79,24,16,45]} 
[2026-07-27 22:12:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:12:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:12:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003630592001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:12:07] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-07-27 22:12:07] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 22:12:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359452053589721088,"km_value":359452053589721.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:12:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7225884838740113408,"description":"Unknown IO ID 45"} 
[2026-07-27 22:12:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003630592001,"power":27376,"unknown_234":206,"unknown_79":48640,"ignition":43,"odometer":null,"unknown_45":-7225884838740113408}} 
[2026-07-27 22:12:07] local.INFO: DEBUG: GPS processor result {"connection_id":145614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:12:07] local.INFO: GPS data processed {"connection_id":145614,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:12:07] local.INFO: Acknowledgment sent {"connection_id":145614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:12:37] local.INFO: TCP Data received {"connection_id":143193,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa47225a0012d196940071fee20004601312a..."} 
[2026-07-27 22:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa47225a0012d196940071fee20004601312a..."} 
[2026-07-27 22:12:37] local.INFO: Processing buffer {"connection_id":143193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa47225a0012d196940071fee20004601312a..."} 
[2026-07-27 22:12:37] local.INFO: Packet analysis {"connection_id":143193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa472"} 
[2026-07-27 22:12:37] local.INFO: Extracted packet for processing {"connection_id":143193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa472"} 
[2026-07-27 22:12:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":70,"angle":305,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:12:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003538176001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:12:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:12:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:12:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:12:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785170372000,"timestamp_ms":1785170372000,"timestamp_seconds":1785170372,"priority":1,"record_length":96,"hex_timestamp":"0000019fa47225a0"} 
[2026-07-27 22:12:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:12:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 22:12:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:12:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:12:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:12:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:12:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:12:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143193,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:12:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143193,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:12:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:12:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:12:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:12:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003538176001,"66":2155,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:12:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:12:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:12:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003538176001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:12:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:12:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:12:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:12:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:12:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003538176001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:12:37] local.INFO: DEBUG: GPS processor result {"connection_id":143193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555689,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:12:37] local.INFO: GPS data processed {"connection_id":143193,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:12:37] local.INFO: Acknowledgment sent {"connection_id":143193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:12:58] local.INFO: TCP Data received {"connection_id":144341,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144341,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:12:58] local.INFO: Processing buffer {"connection_id":144341,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:12:58] local.INFO: IMEI packet received {"connection_id":144341,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 22:12:58] local.INFO: IMEI acknowledgment sent {"connection_id":144341,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 22:13:04] local.INFO: TCP Data received {"connection_id":144341,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144341,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:13:04] local.INFO: Processing buffer {"connection_id":144341,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:13:04] local.INFO: IMEI packet received {"connection_id":144341,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 22:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":144341,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:13:05] local.INFO: TCP Data received {"connection_id":144341,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa47225a0012d196940071fee20004601312a..."} 
[2026-07-27 22:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144341,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa47225a0012d196940071fee20004601312a..."} 
[2026-07-27 22:13:05] local.INFO: Processing buffer {"connection_id":144341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa47225a0012d196940071fee20004601312a..."} 
[2026-07-27 22:13:05] local.INFO: Packet analysis {"connection_id":144341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa472"} 
[2026-07-27 22:13:05] local.INFO: Extracted packet for processing {"connection_id":144341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa472"} 
[2026-07-27 22:13:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":70,"angle":305,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22:13:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:13:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003538176001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:13:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:13:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:13:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:13:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785170372000,"timestamp_ms":1785170372000,"timestamp_seconds":1785170372,"priority":1,"record_length":96,"hex_timestamp":"0000019fa47225a0"} 
[2026-07-27 22:13:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:13:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:13:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 22:13:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:13:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:13:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:13:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:13:05] local.INFO: Teltonika packet parsed successfully {"connection_id":144341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:13:05] local.INFO: Passing IMEI to GPS processor {"connection_id":144341,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:13:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":144341,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:13:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:13:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:13:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:13:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003538176001,"66":2155,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:13:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:13:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:13:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003538176001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:13:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:13:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:13:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:13:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:13:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003538176001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:13:05] local.INFO: DEBUG: GPS processor result {"connection_id":144341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555690,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:13:05] local.INFO: GPS data processed {"connection_id":144341,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:13:05] local.INFO: Acknowledgment sent {"connection_id":144341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:13:37] local.INFO: TCP Data received {"connection_id":144341,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa47225a0012d196940071fee20004601312a..."} 
[2026-07-27 22:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144341,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa47225a0012d196940071fee20004601312a..."} 
[2026-07-27 22:13:37] local.INFO: Processing buffer {"connection_id":144341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa47225a0012d196940071fee20004601312a..."} 
[2026-07-27 22:13:37] local.INFO: Packet analysis {"connection_id":144341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa472"} 
[2026-07-27 22:13:37] local.INFO: Extracted packet for processing {"connection_id":144341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa472"} 
[2026-07-27 22:13:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":70,"angle":305,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:13:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003538176001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:13:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:13:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:13:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:13:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785170372000,"timestamp_ms":1785170372000,"timestamp_seconds":1785170372,"priority":1,"record_length":96,"hex_timestamp":"0000019fa47225a0"} 
[2026-07-27 22:13:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:13:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 22:13:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:13:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:13:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:13:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:13:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:13:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144341,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:13:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144341,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:13:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:13:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:13:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:13:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003538176001,"66":2155,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:13:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:13:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:13:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003538176001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:13:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:13:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:13:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:13:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:13:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003538176001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:13:37] local.INFO: DEBUG: GPS processor result {"connection_id":144341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555691,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:13:37] local.INFO: GPS data processed {"connection_id":144341,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:13:37] local.INFO: Acknowledgment sent {"connection_id":144341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:13:50] local.INFO: TCP Data received {"connection_id":143335,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:13:50] local.INFO: Processing buffer {"connection_id":143335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:13:50] local.INFO: IMEI packet received {"connection_id":143335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 22:13:50] local.INFO: IMEI acknowledgment sent {"connection_id":143335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 22:13:51] local.INFO: TCP Data received {"connection_id":143335,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:13:51] local.INFO: Processing buffer {"connection_id":143335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:13:51] local.INFO: IMEI packet received {"connection_id":143335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 22:13:51] local.INFO: IMEI acknowledgment sent {"connection_id":143335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:13:59] local.INFO: TCP Data received {"connection_id":143336,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143336,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:13:59] local.INFO: Processing buffer {"connection_id":143336,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:13:59] local.INFO: IMEI packet received {"connection_id":143336,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 22:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":143336,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 22:14:00] local.INFO: TCP Data received {"connection_id":143335,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:14:00] local.INFO: Processing buffer {"connection_id":143335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:14:00] local.INFO: IMEI packet received {"connection_id":143335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 22:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":143335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:14:02] local.INFO: TCP Data received {"connection_id":143335,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4749a88012d99e600060739a0001a011e29..."} 
[2026-07-27 22:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4749a88012d99e600060739a0001a011e29..."} 
[2026-07-27 22:14:02] local.INFO: Processing buffer {"connection_id":143335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4749a88012d99e600060739a0001a011e29..."} 
[2026-07-27 22:14:02] local.INFO: Packet analysis {"connection_id":143335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa474"} 
[2026-07-27 22:14:02] local.INFO: Extracted packet for processing {"connection_id":143335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa474"} 
[2026-07-27 22:14:02] local.INFO: GPS Element Parsed {"raw_longitude":765060608,"raw_latitude":101136800,"longitude_deg":76.5060608,"latitude_deg":10.11368,"altitude":26,"angle":286,"satellites":41,"speed":51,"hex_longitude":"2d99e600","hex_latitude":"060739a0","is_valid_coordinates":true} 
[2026-07-27 22:14:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:14:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359456172463357952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:14:02] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,66,24,16],"length":72,"final_offset":106,"validated_count":4,"validation_warnings":[]} 
[2026-07-27 22:14:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785170533000,"timestamp_ms":1785170533000,"timestamp_seconds":1785170533,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4749a88"} 
[2026-07-27 22:14:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:14:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 22:14:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-27 22:14:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:14:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:14:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:14:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:14:02] local.INFO: Teltonika packet parsed successfully {"connection_id":143335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:14:02] local.INFO: Passing IMEI to GPS processor {"connection_id":143335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:14:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":143335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:14:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:14:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:14:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:14:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27463,"24":51,"16":359456172463357952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16]} 
[2026-07-27 22:14:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:14:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:14:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-07-27 22:14:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359456172463357952,"km_value":359456172463357.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:14:02] local.INFO: IO Data Validated and Processed {"original_count":4,"validated_count":4,"validated_data":{"unknown_0":0,"power":27463,"ignition":51,"odometer":null}} 
[2026-07-27 22:14:02] local.INFO: DEBUG: GPS processor result {"connection_id":143335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:14:02] local.INFO: GPS data processed {"connection_id":143335,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:14:02] local.INFO: Acknowledgment sent {"connection_id":143335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:14:04] local.INFO: TCP Data received {"connection_id":143336,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143336,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:14:04] local.INFO: Processing buffer {"connection_id":143336,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:14:04] local.INFO: IMEI packet received {"connection_id":143336,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 22:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":143336,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:14:05] local.INFO: TCP Data received {"connection_id":143336,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa47225a0012d196940071fee20004601312a..."} 
[2026-07-27 22:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa47225a0012d196940071fee20004601312a..."} 
[2026-07-27 22:14:05] local.INFO: Processing buffer {"connection_id":143336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa47225a0012d196940071fee20004601312a..."} 
[2026-07-27 22:14:05] local.INFO: Packet analysis {"connection_id":143336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa472"} 
[2026-07-27 22:14:05] local.INFO: Extracted packet for processing {"connection_id":143336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa472"} 
[2026-07-27 22:14:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":70,"angle":305,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:14:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003538176001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:14:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:14:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:14:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:14:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785170372000,"timestamp_ms":1785170372000,"timestamp_seconds":1785170372,"priority":1,"record_length":96,"hex_timestamp":"0000019fa47225a0"} 
[2026-07-27 22:14:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:14:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 22:14:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:14:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:14:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:14:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:14:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:14:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:14:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:14:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:14:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:14:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:14:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003538176001,"66":2155,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:14:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:14:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:14:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003538176001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:14:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:14:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:14:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:14:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:14:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003538176001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:14:05] local.INFO: DEBUG: GPS processor result {"connection_id":143336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555693,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:14:05] local.INFO: GPS data processed {"connection_id":143336,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:14:05] local.INFO: Acknowledgment sent {"connection_id":143336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:14:32] local.INFO: TCP Data received {"connection_id":143335,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fa474b5e0012d99c200060744200018011f2b..."} 
[2026-07-27 22:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa474b5e0012d99c200060744200018011f2b..."} 
[2026-07-27 22:14:32] local.INFO: Processing buffer {"connection_id":143335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa474b5e0012d99c200060744200018011f2b..."} 
[2026-07-27 22:14:32] local.INFO: Packet analysis {"connection_id":143335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa474"} 
[2026-07-27 22:14:32] local.INFO: Extracted packet for processing {"connection_id":143335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa474"} 
[2026-07-27 22:14:32] local.INFO: GPS Element Parsed {"raw_longitude":765051392,"raw_latitude":101139488,"longitude_deg":76.5051392,"latitude_deg":10.1139488,"altitude":24,"angle":287,"satellites":43,"speed":54,"hex_longitude":"2d99c200","hex_latitude":"06074420","is_valid_coordinates":true} 
[2026-07-27 22:14:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:14:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003656448001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:14:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359456627729891328,"note":"Value kept but may cause issues"} 
[2026-07-27 22:14:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7357192915372105728,"note":"Value kept but may cause issues"} 
[2026-07-27 22:14:32] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-07-27 22:14:32] local.INFO: AVL Record Parsed {"raw_timestamp":1785170540000,"timestamp_ms":1785170540000,"timestamp_seconds":1785170540,"priority":1,"record_length":96,"hex_timestamp":"0000019fa474b5e0"} 
[2026-07-27 22:14:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:14:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 22:14:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-27 22:14:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:14:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:14:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:14:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:14:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:14:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:14:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:14:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:14:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:14:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:14:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003656448001,"66":27397,"24":54,"16":359456627729891328,"45":-7357192915372105728},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-07-27 22:14:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:14:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:14:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003656448001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:14:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359456627729891328,"km_value":359456627729891.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:14:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7357192915372105728,"description":"Unknown IO ID 45"} 
[2026-07-27 22:14:32] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457003656448001,"power":27397,"ignition":54,"odometer":null,"unknown_45":-7357192915372105728}} 
[2026-07-27 22:14:32] local.INFO: DEBUG: GPS processor result {"connection_id":143335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:14:32] local.INFO: GPS data processed {"connection_id":143335,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:14:32] local.INFO: Acknowledgment sent {"connection_id":143335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:14:37] local.INFO: TCP Data received {"connection_id":143336,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa47225a0012d196940071fee20004601312a..."} 
[2026-07-27 22:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa47225a0012d196940071fee20004601312a..."} 
[2026-07-27 22:14:37] local.INFO: Processing buffer {"connection_id":143336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa47225a0012d196940071fee20004601312a..."} 
[2026-07-27 22:14:37] local.INFO: Packet analysis {"connection_id":143336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa472"} 
[2026-07-27 22:14:37] local.INFO: Extracted packet for processing {"connection_id":143336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa472"} 
[2026-07-27 22:14:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":70,"angle":305,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:14:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003538176001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:14:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:14:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:14:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:14:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785170372000,"timestamp_ms":1785170372000,"timestamp_seconds":1785170372,"priority":1,"record_length":96,"hex_timestamp":"0000019fa47225a0"} 
[2026-07-27 22:14:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:14:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 22:14:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:14:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:14:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:14:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:14:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:14:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:14:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:14:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:14:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:14:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:14:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003538176001,"66":2155,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:14:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:14:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:14:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003538176001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:14:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:14:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:14:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:14:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:14:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003538176001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:14:37] local.INFO: DEBUG: GPS processor result {"connection_id":143336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555695,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:14:37] local.INFO: GPS data processed {"connection_id":143336,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:14:37] local.INFO: Acknowledgment sent {"connection_id":143336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:14:58] local.INFO: TCP Data received {"connection_id":144342,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144342,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:14:58] local.INFO: Processing buffer {"connection_id":144342,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:14:58] local.INFO: IMEI packet received {"connection_id":144342,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 22:14:58] local.INFO: IMEI acknowledgment sent {"connection_id":144342,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 22:15:04] local.INFO: TCP Data received {"connection_id":144342,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144342,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:15:04] local.INFO: Processing buffer {"connection_id":144342,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:15:04] local.INFO: IMEI packet received {"connection_id":144342,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 22:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":144342,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:15:05] local.INFO: TCP Data received {"connection_id":144342,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa47225a0012d196940071fee20004601312a..."} 
[2026-07-27 22:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa47225a0012d196940071fee20004601312a..."} 
[2026-07-27 22:15:05] local.INFO: Processing buffer {"connection_id":144342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa47225a0012d196940071fee20004601312a..."} 
[2026-07-27 22:15:05] local.INFO: Packet analysis {"connection_id":144342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa472"} 
[2026-07-27 22:15:05] local.INFO: Extracted packet for processing {"connection_id":144342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa472"} 
[2026-07-27 22:15:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":70,"angle":305,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:15:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003538176001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:15:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:15:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:15:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:15:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785170372000,"timestamp_ms":1785170372000,"timestamp_seconds":1785170372,"priority":1,"record_length":96,"hex_timestamp":"0000019fa47225a0"} 
[2026-07-27 22:15:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:15:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 22:15:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:15:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:15:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:15:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:15:05] local.INFO: Teltonika packet parsed successfully {"connection_id":144342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:15:05] local.INFO: Passing IMEI to GPS processor {"connection_id":144342,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:15:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":144342,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:15:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:15:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:15:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:15:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003538176001,"66":2155,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:15:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:15:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:15:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003538176001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:15:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:15:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:15:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:15:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:15:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003538176001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:15:05] local.INFO: DEBUG: GPS processor result {"connection_id":144342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555696,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:15:05] local.INFO: GPS data processed {"connection_id":144342,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:15:05] local.INFO: Acknowledgment sent {"connection_id":144342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:15:22] local.INFO: TCP Data received {"connection_id":143335,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4769658012d97cac00607aa10001d01162a..."} 
[2026-07-27 22:15:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4769658012d97cac00607aa10001d01162a..."} 
[2026-07-27 22:15:22] local.INFO: Processing buffer {"connection_id":143335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4769658012d97cac00607aa10001d01162a..."} 
[2026-07-27 22:15:22] local.INFO: Packet analysis {"connection_id":143335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa476"} 
[2026-07-27 22:15:22] local.INFO: Extracted packet for processing {"connection_id":143335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa476"} 
[2026-07-27 22:15:22] local.INFO: GPS Element Parsed {"raw_longitude":764922560,"raw_latitude":101165584,"longitude_deg":76.492256,"latitude_deg":10.1165584,"altitude":29,"angle":278,"satellites":42,"speed":47,"hex_longitude":"2d97cac0","hex_latitude":"0607aa10","is_valid_coordinates":true} 
[2026-07-27 22:15:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:15:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003687680001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:15:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359462962806652928,"note":"Value kept but may cause issues"} 
[2026-07-27 22:15:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7498845197394647040,"note":"Value kept but may cause issues"} 
[2026-07-27 22:15:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:15:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785170663000,"timestamp_ms":1785170663000,"timestamp_seconds":1785170663,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4769658"} 
[2026-07-27 22:15:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:15:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 22:15:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-27 22:15:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:15:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:15:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:15:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:15:22] local.INFO: Teltonika packet parsed successfully {"connection_id":143335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:15:22] local.INFO: Passing IMEI to GPS processor {"connection_id":143335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:15:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":143335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:15:22] 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-07-27 22:15:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:15:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:15:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003687680001,"66":27343,"227":206,"79":48640,"24":47,"16":359462962806652928,"45":-7498845197394647040},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,79,24,16,45]} 
[2026-07-27 22:15:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:15:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:15:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003687680001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:15:22] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-07-27 22:15:22] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 22:15:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359462962806652928,"km_value":359462962806652.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:15:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7498845197394647040,"description":"Unknown IO ID 45"} 
[2026-07-27 22:15:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003687680001,"power":27343,"unknown_227":206,"unknown_79":48640,"ignition":47,"odometer":null,"unknown_45":-7498845197394647040}} 
[2026-07-27 22:15:22] local.INFO: DEBUG: GPS processor result {"connection_id":143335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:15:22] local.INFO: GPS data processed {"connection_id":143335,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:15:22] local.INFO: Acknowledgment sent {"connection_id":143335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:15:36] local.INFO: TCP Data received {"connection_id":144342,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa476bd68012d196940071fee200041013129..."} 
[2026-07-27 22:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa476bd68012d196940071fee200041013129..."} 
[2026-07-27 22:15:36] local.INFO: Processing buffer {"connection_id":144342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa476bd68012d196940071fee200041013129..."} 
[2026-07-27 22:15:36] local.INFO: Packet analysis {"connection_id":144342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa476"} 
[2026-07-27 22:15:36] local.INFO: Extracted packet for processing {"connection_id":144342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa476"} 
[2026-07-27 22:15:36] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:15:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003615232001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:15:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:15:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:15:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:15:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785170673000,"timestamp_ms":1785170673000,"timestamp_seconds":1785170673,"priority":1,"record_length":96,"hex_timestamp":"0000019fa476bd68"} 
[2026-07-27 22:15:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:15:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-27 22:15:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:15:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:15:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:15:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:15:36] local.INFO: Teltonika packet parsed successfully {"connection_id":144342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:15:36] local.INFO: Passing IMEI to GPS processor {"connection_id":144342,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:15:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":144342,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:15:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:15:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:15:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:15:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003615232001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:15:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:15:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:15:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003615232001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:15:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:15:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:15:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:15:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:15:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003615232001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:15:36] local.INFO: DEBUG: GPS processor result {"connection_id":144342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555698,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:15:36] local.INFO: GPS data processed {"connection_id":144342,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:15:36] local.INFO: Acknowledgment sent {"connection_id":144342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:15:53] local.INFO: TCP Data received {"connection_id":143335,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fa476b598012d97a3c00607b110001e01172a..."} 
[2026-07-27 22:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa476b598012d97a3c00607b110001e01172a..."} 
[2026-07-27 22:15:53] local.INFO: Processing buffer {"connection_id":143335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa476b598012d97a3c00607b110001e01172a..."} 
[2026-07-27 22:15:53] local.INFO: Packet analysis {"connection_id":143335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa476"} 
[2026-07-27 22:15:53] local.INFO: Extracted packet for processing {"connection_id":143335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa476"} 
[2026-07-27 22:15:53] local.INFO: GPS Element Parsed {"raw_longitude":764912576,"raw_latitude":101167376,"longitude_deg":76.4912576,"latitude_deg":10.1167376,"altitude":30,"angle":279,"satellites":42,"speed":51,"hex_longitude":"2d97a3c0","hex_latitude":"0607b110","is_valid_coordinates":true} 
[2026-07-27 22:15:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:15:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003689728001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:15:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359463448137957376,"note":"Value kept but may cause issues"} 
[2026-07-27 22:15:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7508978296555958272,"note":"Value kept but may cause issues"} 
[2026-07-27 22:15:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:15:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785170671000,"timestamp_ms":1785170671000,"timestamp_seconds":1785170671,"priority":1,"record_length":96,"hex_timestamp":"0000019fa476b598"} 
[2026-07-27 22:15:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:15:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 22:15:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-27 22:15:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:15:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:15:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:15:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:15:53] local.INFO: Teltonika packet parsed successfully {"connection_id":143335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:15:53] local.INFO: Passing IMEI to GPS processor {"connection_id":143335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:15:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":143335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:15:53] 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-07-27 22:15:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:15:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:15:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003689728001,"66":27245,"227":206,"79":48640,"24":51,"16":359463448137957376,"45":-7508978296555958272},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,79,24,16,45]} 
[2026-07-27 22:15:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:15:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:15:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003689728001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:15:53] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-07-27 22:15:53] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 22:15:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359463448137957376,"km_value":359463448137957.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:15:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7508978296555958272,"description":"Unknown IO ID 45"} 
[2026-07-27 22:15:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003689728001,"power":27245,"unknown_227":206,"unknown_79":48640,"ignition":51,"odometer":null,"unknown_45":-7508978296555958272}} 
[2026-07-27 22:15:53] local.INFO: DEBUG: GPS processor result {"connection_id":143335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:15:53] local.INFO: GPS data processed {"connection_id":143335,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:15:53] local.INFO: Acknowledgment sent {"connection_id":143335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:15:58] local.INFO: TCP Data received {"connection_id":144343,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144343,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:15:58] local.INFO: Processing buffer {"connection_id":144343,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:15:58] local.INFO: IMEI packet received {"connection_id":144343,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 22:15:58] local.INFO: IMEI acknowledgment sent {"connection_id":144343,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 22:16:04] local.INFO: TCP Data received {"connection_id":144343,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144343,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:16:04] local.INFO: Processing buffer {"connection_id":144343,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:16:04] local.INFO: IMEI packet received {"connection_id":144343,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 22:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":144343,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:16:05] local.INFO: TCP Data received {"connection_id":144343,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa476bd68012d196940071fee200041013129..."} 
[2026-07-27 22:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144343,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa476bd68012d196940071fee200041013129..."} 
[2026-07-27 22:16:05] local.INFO: Processing buffer {"connection_id":144343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa476bd68012d196940071fee200041013129..."} 
[2026-07-27 22:16:05] local.INFO: Packet analysis {"connection_id":144343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa476"} 
[2026-07-27 22:16:05] local.INFO: Extracted packet for processing {"connection_id":144343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa476"} 
[2026-07-27 22:16:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:16:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003615232001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:16:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:16:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:16:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:16:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785170673000,"timestamp_ms":1785170673000,"timestamp_seconds":1785170673,"priority":1,"record_length":96,"hex_timestamp":"0000019fa476bd68"} 
[2026-07-27 22:16:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:16:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-27 22:16:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:16:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:16:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:16:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:16:05] local.INFO: Teltonika packet parsed successfully {"connection_id":144343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:16:05] local.INFO: Passing IMEI to GPS processor {"connection_id":144343,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:16:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":144343,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:16:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:16:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:16:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:16:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003615232001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:16:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:16:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:16:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003615232001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:16:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:16:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:16:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:16:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:16:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003615232001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:16:05] local.INFO: DEBUG: GPS processor result {"connection_id":144343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555700,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:16:05] local.INFO: GPS data processed {"connection_id":144343,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:16:05] local.INFO: Acknowledgment sent {"connection_id":144343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:16:24] local.INFO: TCP Data received {"connection_id":143335,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fa476d0f0012d977f400607b3a0001a010f2b..."} 
[2026-07-27 22:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa476d0f0012d977f400607b3a0001a010f2b..."} 
[2026-07-27 22:16:24] local.INFO: Processing buffer {"connection_id":143335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa476d0f0012d977f400607b3a0001a010f2b..."} 
[2026-07-27 22:16:24] local.INFO: Packet analysis {"connection_id":143335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa476"} 
[2026-07-27 22:16:24] local.INFO: Extracted packet for processing {"connection_id":143335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa476"} 
[2026-07-27 22:16:24] local.INFO: GPS Element Parsed {"raw_longitude":764903232,"raw_latitude":101168032,"longitude_deg":76.4903232,"latitude_deg":10.1168032,"altitude":26,"angle":271,"satellites":43,"speed":53,"hex_longitude":"2d977f40","hex_latitude":"0607b3a0","is_valid_coordinates":true} 
[2026-07-27 22:16:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:16:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003691776001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:16:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359463894814556160,"note":"Value kept but may cause issues"} 
[2026-07-27 22:16:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7519955820647215104,"note":"Value kept but may cause issues"} 
[2026-07-27 22:16:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:16:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785170678000,"timestamp_ms":1785170678000,"timestamp_seconds":1785170678,"priority":1,"record_length":96,"hex_timestamp":"0000019fa476d0f0"} 
[2026-07-27 22:16:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:16:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 22:16:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-27 22:16:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:16:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:16:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:16:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:16:24] local.INFO: Teltonika packet parsed successfully {"connection_id":143335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:16:24] local.INFO: Passing IMEI to GPS processor {"connection_id":143335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:16:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":143335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:16:24] 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-07-27 22:16:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:16:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:16:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003691776001,"66":27343,"227":206,"79":48640,"24":53,"16":359463894814556160,"45":-7519955820647215104},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,79,24,16,45]} 
[2026-07-27 22:16:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:16:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:16:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003691776001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:16:24] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-07-27 22:16:24] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 22:16:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359463894814556160,"km_value":359463894814556.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:16:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7519955820647215104,"description":"Unknown IO ID 45"} 
[2026-07-27 22:16:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003691776001,"power":27343,"unknown_227":206,"unknown_79":48640,"ignition":53,"odometer":null,"unknown_45":-7519955820647215104}} 
[2026-07-27 22:16:24] local.INFO: DEBUG: GPS processor result {"connection_id":143335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:16:24] local.INFO: GPS data processed {"connection_id":143335,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:16:24] local.INFO: Acknowledgment sent {"connection_id":143335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:16:37] local.INFO: TCP Data received {"connection_id":144343,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa476bd68012d196940071fee200041013129..."} 
[2026-07-27 22:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144343,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa476bd68012d196940071fee200041013129..."} 
[2026-07-27 22:16:37] local.INFO: Processing buffer {"connection_id":144343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa476bd68012d196940071fee200041013129..."} 
[2026-07-27 22:16:37] local.INFO: Packet analysis {"connection_id":144343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa476"} 
[2026-07-27 22:16:37] local.INFO: Extracted packet for processing {"connection_id":144343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa476"} 
[2026-07-27 22:16:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:16:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003615232001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:16:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:16:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:16:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:16:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785170673000,"timestamp_ms":1785170673000,"timestamp_seconds":1785170673,"priority":1,"record_length":96,"hex_timestamp":"0000019fa476bd68"} 
[2026-07-27 22:16:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:16:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-27 22:16:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:16:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:16:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:16:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:16:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:16:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144343,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:16:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144343,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:16:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:16:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:16:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:16:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003615232001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:16:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:16:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:16:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003615232001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:16:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:16:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:16:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:16:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:16:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003615232001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:16:37] local.INFO: DEBUG: GPS processor result {"connection_id":144343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555702,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:16:37] local.INFO: GPS data processed {"connection_id":144343,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:16:37] local.INFO: Acknowledgment sent {"connection_id":144343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:16:56] local.INFO: TCP Data received {"connection_id":143335,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4784020012d96490006076090001800d028..."} 
[2026-07-27 22:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4784020012d96490006076090001800d028..."} 
[2026-07-27 22:16:56] local.INFO: Processing buffer {"connection_id":143335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4784020012d96490006076090001800d028..."} 
[2026-07-27 22:16:56] local.INFO: Packet analysis {"connection_id":143335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa478"} 
[2026-07-27 22:16:56] local.INFO: Extracted packet for processing {"connection_id":143335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa478"} 
[2026-07-27 22:16:56] local.INFO: GPS Element Parsed {"raw_longitude":764823808,"raw_latitude":101146768,"longitude_deg":76.4823808,"latitude_deg":10.1146768,"altitude":24,"angle":208,"satellites":40,"speed":19,"hex_longitude":"2d964900","hex_latitude":"06076090","is_valid_coordinates":true} 
[2026-07-27 22:16:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:16:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003717120001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:16:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359468194076819456,"note":"Value kept but may cause issues"} 
[2026-07-27 22:16:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7616783212640770048,"note":"Value kept but may cause issues"} 
[2026-07-27 22:16:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:16:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785170772000,"timestamp_ms":1785170772000,"timestamp_seconds":1785170772,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4784020"} 
[2026-07-27 22:16:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:16:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 22:16:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-27 22:16:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:16:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:16:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:16:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:16:56] local.INFO: Teltonika packet parsed successfully {"connection_id":143335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:16:56] local.INFO: Passing IMEI to GPS processor {"connection_id":143335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:16:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":143335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:16:56] 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-07-27 22:16:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:16:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:16:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003717120001,"66":27213,"254":206,"79":48640,"24":19,"16":359468194076819456,"45":-7616783212640770048},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,79,24,16,45]} 
[2026-07-27 22:16:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:16:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:16:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003717120001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:16:56] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-07-27 22:16:56] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 22:16:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359468194076819456,"km_value":359468194076819.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:16:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7616783212640770048,"description":"Unknown IO ID 45"} 
[2026-07-27 22:16:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003717120001,"power":27213,"unknown_254":206,"unknown_79":48640,"ignition":19,"odometer":null,"unknown_45":-7616783212640770048}} 
[2026-07-27 22:16:56] local.INFO: DEBUG: GPS processor result {"connection_id":143335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:16:56] local.INFO: GPS data processed {"connection_id":143335,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:16:56] local.INFO: Acknowledgment sent {"connection_id":143335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:17:04] local.INFO: TCP Data received {"connection_id":144344,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144344,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:17:04] local.INFO: Processing buffer {"connection_id":144344,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:17:04] local.INFO: IMEI packet received {"connection_id":144344,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 22:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":144344,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 22:17:09] local.INFO: TCP Data received {"connection_id":144344,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144344,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:17:09] local.INFO: Processing buffer {"connection_id":144344,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:17:09] local.INFO: IMEI packet received {"connection_id":144344,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 22:17:09] local.INFO: IMEI acknowledgment sent {"connection_id":144344,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:17:10] local.INFO: TCP Data received {"connection_id":144344,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa476bd68012d196940071fee200041013129..."} 
[2026-07-27 22:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144344,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa476bd68012d196940071fee200041013129..."} 
[2026-07-27 22:17:10] local.INFO: Processing buffer {"connection_id":144344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa476bd68012d196940071fee200041013129..."} 
[2026-07-27 22:17:10] local.INFO: Packet analysis {"connection_id":144344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa476"} 
[2026-07-27 22:17:10] local.INFO: Extracted packet for processing {"connection_id":144344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa476"} 
[2026-07-27 22:17:10] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22:17:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:17:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003615232001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:17:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:17:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:17:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:17:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785170673000,"timestamp_ms":1785170673000,"timestamp_seconds":1785170673,"priority":1,"record_length":96,"hex_timestamp":"0000019fa476bd68"} 
[2026-07-27 22:17:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:17:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-27 22:17:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:17:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:17:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:17:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:17:10] local.INFO: Teltonika packet parsed successfully {"connection_id":144344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:17:10] local.INFO: Passing IMEI to GPS processor {"connection_id":144344,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:17:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":144344,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:17:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:17:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:17:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:17:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003615232001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:17:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:17:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:17:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003615232001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:17:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:17:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:17:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:17:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:17:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003615232001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:17:10] local.INFO: DEBUG: GPS processor result {"connection_id":144344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555704,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:17:10] local.INFO: GPS data processed {"connection_id":144344,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:17:10] local.INFO: Acknowledgment sent {"connection_id":144344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:17:14] local.INFO: TCP Data received {"connection_id":144344,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa476bd68012d196940071fee200041013129..."} 
[2026-07-27 22:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144344,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa476bd68012d196940071fee200041013129..."} 
[2026-07-27 22:17:14] local.INFO: Processing buffer {"connection_id":144344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa476bd68012d196940071fee200041013129..."} 
[2026-07-27 22:17:14] local.INFO: Packet analysis {"connection_id":144344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa476"} 
[2026-07-27 22:17:14] local.INFO: Extracted packet for processing {"connection_id":144344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa476"} 
[2026-07-27 22:17:14] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22:17:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:17:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003615232001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:17:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:17:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:17:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:17:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785170673000,"timestamp_ms":1785170673000,"timestamp_seconds":1785170673,"priority":1,"record_length":96,"hex_timestamp":"0000019fa476bd68"} 
[2026-07-27 22:17:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:17:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:17:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-27 22:17:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:17:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:17:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:17:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:17:14] local.INFO: Teltonika packet parsed successfully {"connection_id":144344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:17:14] local.INFO: Passing IMEI to GPS processor {"connection_id":144344,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:17:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":144344,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:17:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:17:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:17:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:17:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003615232001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:17:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:17:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:17:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003615232001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:17:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:17:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:17:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:17:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:17:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003615232001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:17:15] local.INFO: DEBUG: GPS processor result {"connection_id":144344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555705,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:17:15] local.INFO: GPS data processed {"connection_id":144344,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:17:15] local.INFO: Acknowledgment sent {"connection_id":144344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:17:27] local.INFO: TCP Data received {"connection_id":143335,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4784408012d96488006075eb8001800be2a..."} 
[2026-07-27 22:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4784408012d96488006075eb8001800be2a..."} 
[2026-07-27 22:17:27] local.INFO: Processing buffer {"connection_id":143335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4784408012d96488006075eb8001800be2a..."} 
[2026-07-27 22:17:27] local.INFO: Packet analysis {"connection_id":143335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa478"} 
[2026-07-27 22:17:27] local.INFO: Extracted packet for processing {"connection_id":143335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa478"} 
[2026-07-27 22:17:27] local.INFO: GPS Element Parsed {"raw_longitude":764823680,"raw_latitude":101146296,"longitude_deg":76.482368,"latitude_deg":10.1146296,"altitude":24,"angle":190,"satellites":42,"speed":20,"hex_longitude":"2d964880","hex_latitude":"06075eb8","is_valid_coordinates":true} 
[2026-07-27 22:17:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:17:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003717632001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:17:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359468215551655936,"note":"Value kept but may cause issues"} 
[2026-07-27 22:17:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7617557268826910720,"note":"Value kept but may cause issues"} 
[2026-07-27 22:17:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:17:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785170773000,"timestamp_ms":1785170773000,"timestamp_seconds":1785170773,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4784408"} 
[2026-07-27 22:17:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:17:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 22:17:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-27 22:17:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:17:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:17:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:17:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:17:27] local.INFO: Teltonika packet parsed successfully {"connection_id":143335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:17:27] local.INFO: Passing IMEI to GPS processor {"connection_id":143335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:17:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":143335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:17:27] 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-07-27 22:17:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:17:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:17:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003717632001,"66":27267,"254":206,"79":48640,"24":20,"16":359468215551655936,"45":-7617557268826910720},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,79,24,16,45]} 
[2026-07-27 22:17:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:17:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:17:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003717632001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:17:27] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-07-27 22:17:27] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 22:17:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359468215551655936,"km_value":359468215551655.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:17:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7617557268826910720,"description":"Unknown IO ID 45"} 
[2026-07-27 22:17:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003717632001,"power":27267,"unknown_254":206,"unknown_79":48640,"ignition":20,"odometer":null,"unknown_45":-7617557268826910720}} 
[2026-07-27 22:17:27] local.INFO: DEBUG: GPS processor result {"connection_id":143335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:17:27] local.INFO: GPS data processed {"connection_id":143335,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:17:27] local.INFO: Acknowledgment sent {"connection_id":143335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:17:59] local.INFO: TCP Data received {"connection_id":143194,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143194,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:17:59] local.INFO: Processing buffer {"connection_id":143194,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:17:59] local.INFO: IMEI packet received {"connection_id":143194,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 22:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":143194,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 22:18:00] local.INFO: TCP Data received {"connection_id":143337,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:18:00] local.INFO: Processing buffer {"connection_id":143337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:18:00] local.INFO: IMEI packet received {"connection_id":143337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 22:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":143337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 22:18:03] local.INFO: TCP Data received {"connection_id":143337,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:18:03] local.INFO: Processing buffer {"connection_id":143337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:18:03] local.INFO: IMEI packet received {"connection_id":143337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 22:18:03] local.INFO: IMEI acknowledgment sent {"connection_id":143337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:18:04] local.INFO: TCP Data received {"connection_id":143194,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143194,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:18:04] local.INFO: Processing buffer {"connection_id":143194,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:18:04] local.INFO: IMEI packet received {"connection_id":143194,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 22:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":143194,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:18:05] local.INFO: TCP Data received {"connection_id":143337,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:18:05] local.INFO: Processing buffer {"connection_id":143337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:18:05] local.INFO: IMEI packet received {"connection_id":143337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 22:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":143337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:18:05] local.INFO: TCP Data received {"connection_id":143194,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa476bd68012d196940071fee200041013129..."} 
[2026-07-27 22:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143194,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa476bd68012d196940071fee200041013129..."} 
[2026-07-27 22:18:05] local.INFO: Processing buffer {"connection_id":143194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa476bd68012d196940071fee200041013129..."} 
[2026-07-27 22:18:05] local.INFO: Packet analysis {"connection_id":143194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa476"} 
[2026-07-27 22:18:05] local.INFO: Extracted packet for processing {"connection_id":143194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa476"} 
[2026-07-27 22:18:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:18:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003615232001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:18:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:18:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:18:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:18:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785170673000,"timestamp_ms":1785170673000,"timestamp_seconds":1785170673,"priority":1,"record_length":96,"hex_timestamp":"0000019fa476bd68"} 
[2026-07-27 22:18:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:18:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-27 22:18:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:18:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:18:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:18:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:18:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:18:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143194,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:18:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143194,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:18:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:18:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:18:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:18:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003615232001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:18:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:18:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:18:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003615232001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:18:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:18:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:18:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:18:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:18:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003615232001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:18:05] local.INFO: DEBUG: GPS processor result {"connection_id":143194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555707,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:18:05] local.INFO: GPS data processed {"connection_id":143194,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:18:05] local.INFO: Acknowledgment sent {"connection_id":143194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:18:06] local.INFO: TCP Data received {"connection_id":143337,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fa47847f0012d96488006075cc0001800b02a..."} 
[2026-07-27 22:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa47847f0012d96488006075cc0001800b02a..."} 
[2026-07-27 22:18:06] local.INFO: Processing buffer {"connection_id":143337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa47847f0012d96488006075cc0001800b02a..."} 
[2026-07-27 22:18:06] local.INFO: Packet analysis {"connection_id":143337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa478"} 
[2026-07-27 22:18:06] local.INFO: Extracted packet for processing {"connection_id":143337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa478"} 
[2026-07-27 22:18:06] local.INFO: GPS Element Parsed {"raw_longitude":764823680,"raw_latitude":101145792,"longitude_deg":76.482368,"latitude_deg":10.1145792,"altitude":24,"angle":176,"satellites":42,"speed":20,"hex_longitude":"2d964880","hex_latitude":"06075cc0","is_valid_coordinates":true} 
[2026-07-27 22:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:18:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003717888001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:18:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359468241321459712,"note":"Value kept but may cause issues"} 
[2026-07-27 22:18:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7617698006315386880,"note":"Value kept but may cause issues"} 
[2026-07-27 22:18:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:18:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785170774000,"timestamp_ms":1785170774000,"timestamp_seconds":1785170774,"priority":1,"record_length":96,"hex_timestamp":"0000019fa47847f0"} 
[2026-07-27 22:18:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:18:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 22:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-27 22:18:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:18:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:18:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:18:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:18:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:18:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:18:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:18:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:18:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:18:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:18:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003717888001,"66":27267,"254":206,"79":48640,"24":20,"16":359468241321459712,"45":-7617698006315386880},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,79,24,16,45]} 
[2026-07-27 22:18:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:18:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:18:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003717888001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:18:06] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-07-27 22:18:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 22:18:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359468241321459712,"km_value":359468241321459.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:18:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7617698006315386880,"description":"Unknown IO ID 45"} 
[2026-07-27 22:18:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003717888001,"power":27267,"unknown_254":206,"unknown_79":48640,"ignition":20,"odometer":null,"unknown_45":-7617698006315386880}} 
[2026-07-27 22:18:06] local.INFO: DEBUG: GPS processor result {"connection_id":143337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:18:06] local.INFO: GPS data processed {"connection_id":143337,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:18:06] local.INFO: Acknowledgment sent {"connection_id":143337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:18:37] local.INFO: TCP Data received {"connection_id":143194,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa476bd68012d196940071fee200041013129..."} 
[2026-07-27 22:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143194,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa476bd68012d196940071fee200041013129..."} 
[2026-07-27 22:18:37] local.INFO: Processing buffer {"connection_id":143194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa476bd68012d196940071fee200041013129..."} 
[2026-07-27 22:18:37] local.INFO: Packet analysis {"connection_id":143194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa476"} 
[2026-07-27 22:18:37] local.INFO: Extracted packet for processing {"connection_id":143194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa476"} 
[2026-07-27 22:18:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003615232001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:18:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:18:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785170673000,"timestamp_ms":1785170673000,"timestamp_seconds":1785170673,"priority":1,"record_length":96,"hex_timestamp":"0000019fa476bd68"} 
[2026-07-27 22:18:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:18:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-27 22:18:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:18:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:18:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143194,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143194,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:18:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003615232001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003615232001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:18:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:18:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:18:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:18:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003615232001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":143194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555709,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:18:37] local.INFO: GPS data processed {"connection_id":143194,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:18:37] local.INFO: Acknowledgment sent {"connection_id":143194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:18:37] local.INFO: TCP Data received {"connection_id":143337,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fa479c6c0012d95fd000606cc20001300f927..."} 
[2026-07-27 22:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa479c6c0012d95fd000606cc20001300f927..."} 
[2026-07-27 22:18:37] local.INFO: Processing buffer {"connection_id":143337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa479c6c0012d95fd000606cc20001300f927..."} 
[2026-07-27 22:18:37] local.INFO: Packet analysis {"connection_id":143337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa479"} 
[2026-07-27 22:18:37] local.INFO: Extracted packet for processing {"connection_id":143337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa479"} 
[2026-07-27 22:18:37] local.INFO: GPS Element Parsed {"raw_longitude":764804352,"raw_latitude":101108768,"longitude_deg":76.4804352,"latitude_deg":10.1108768,"altitude":19,"angle":249,"satellites":39,"speed":16,"hex_longitude":"2d95fd00","hex_latitude":"0606cc20","is_valid_coordinates":true} 
[2026-07-27 22:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003742976001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359470921381052416,"note":"Value kept but may cause issues"} 
[2026-07-27 22:18:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7638527154601527296,"note":"Value kept but may cause issues"} 
[2026-07-27 22:18:37] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,79,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-27 22:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785170872000,"timestamp_ms":1785170872000,"timestamp_seconds":1785170872,"priority":1,"record_length":96,"hex_timestamp":"0000019fa479c6c0"} 
[2026-07-27 22:18:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:18:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 22:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-27 22:18:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:18:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:18:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:18:37] 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-07-27 22:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003742976001,"66":27365,"79":48640,"24":16,"16":359470921381052416,"45":-7638527154601527296},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,24,16,45]} 
[2026-07-27 22:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003742976001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:18:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 22:18:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359470921381052416,"km_value":359470921381052.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:18:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7638527154601527296,"description":"Unknown IO ID 45"} 
[2026-07-27 22:18:37] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457003742976001,"power":27365,"unknown_79":48640,"ignition":16,"odometer":null,"unknown_45":-7638527154601527296}} 
[2026-07-27 22:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":143337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:18:37] local.INFO: GPS data processed {"connection_id":143337,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:18:37] local.INFO: Acknowledgment sent {"connection_id":143337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:18:59] local.INFO: TCP Data received {"connection_id":145615,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145615,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:18:59] local.INFO: Processing buffer {"connection_id":145615,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:18:59] local.INFO: IMEI packet received {"connection_id":145615,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 22:18:59] local.INFO: IMEI acknowledgment sent {"connection_id":145615,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 22:19:04] local.INFO: TCP Data received {"connection_id":145615,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145615,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:19:04] local.INFO: Processing buffer {"connection_id":145615,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:19:04] local.INFO: IMEI packet received {"connection_id":145615,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 22:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":145615,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:19:05] local.INFO: TCP Data received {"connection_id":145615,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa476bd68012d196940071fee200041013129..."} 
[2026-07-27 22:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa476bd68012d196940071fee200041013129..."} 
[2026-07-27 22:19:05] local.INFO: Processing buffer {"connection_id":145615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa476bd68012d196940071fee200041013129..."} 
[2026-07-27 22:19:05] local.INFO: Packet analysis {"connection_id":145615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa476"} 
[2026-07-27 22:19:05] local.INFO: Extracted packet for processing {"connection_id":145615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa476"} 
[2026-07-27 22:19:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:19:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003615232001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:19:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:19:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:19:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:19:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785170673000,"timestamp_ms":1785170673000,"timestamp_seconds":1785170673,"priority":1,"record_length":96,"hex_timestamp":"0000019fa476bd68"} 
[2026-07-27 22:19:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:19:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-27 22:19:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:19:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:19:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:19:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:19:05] local.INFO: Teltonika packet parsed successfully {"connection_id":145615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:19:05] local.INFO: Passing IMEI to GPS processor {"connection_id":145615,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:19:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":145615,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:19:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:19:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:19:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:19:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003615232001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:19:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:19:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:19:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003615232001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:19:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:19:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:19:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:19:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:19:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003615232001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:19:05] local.INFO: DEBUG: GPS processor result {"connection_id":145615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555711,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:19:05] local.INFO: GPS data processed {"connection_id":145615,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:19:05] local.INFO: Acknowledgment sent {"connection_id":145615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:19:12] local.INFO: TCP Data received {"connection_id":143337,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fa479caa8012d95fbc00606cbb80013010527..."} 
[2026-07-27 22:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa479caa8012d95fbc00606cbb80013010527..."} 
[2026-07-27 22:19:12] local.INFO: Processing buffer {"connection_id":143337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa479caa8012d95fbc00606cbb80013010527..."} 
[2026-07-27 22:19:12] local.INFO: Packet analysis {"connection_id":143337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa479"} 
[2026-07-27 22:19:12] local.INFO: Extracted packet for processing {"connection_id":143337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa479"} 
[2026-07-27 22:19:12] local.INFO: GPS Element Parsed {"raw_longitude":764804032,"raw_latitude":101108664,"longitude_deg":76.4804032,"latitude_deg":10.1108664,"altitude":19,"angle":261,"satellites":39,"speed":18,"hex_longitude":"2d95fbc0","hex_latitude":"0606cbb8","is_valid_coordinates":true} 
[2026-07-27 22:19:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:19:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003743232001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:19:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359470938560921600,"note":"Value kept but may cause issues"} 
[2026-07-27 22:19:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7638949367066648576,"note":"Value kept but may cause issues"} 
[2026-07-27 22:19:12] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,79,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-27 22:19:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785170873000,"timestamp_ms":1785170873000,"timestamp_seconds":1785170873,"priority":1,"record_length":96,"hex_timestamp":"0000019fa479caa8"} 
[2026-07-27 22:19:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:19:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 22:19:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-27 22:19:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:19:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:19:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:19:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:19:12] local.INFO: Teltonika packet parsed successfully {"connection_id":143337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:19:12] local.INFO: Passing IMEI to GPS processor {"connection_id":143337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:19:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":143337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:19:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:19:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:19:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:19:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003743232001,"66":27300,"79":48640,"24":18,"16":359470938560921600,"45":-7638949367066648576},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,24,16,45]} 
[2026-07-27 22:19:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:19:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:19:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003743232001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:19:12] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 22:19:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359470938560921600,"km_value":359470938560921.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:19:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7638949367066648576,"description":"Unknown IO ID 45"} 
[2026-07-27 22:19:12] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457003743232001,"power":27300,"unknown_79":48640,"ignition":18,"odometer":null,"unknown_45":-7638949367066648576}} 
[2026-07-27 22:19:12] local.INFO: DEBUG: GPS processor result {"connection_id":143337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:19:12] local.INFO: GPS data processed {"connection_id":143337,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:19:12] local.INFO: Acknowledgment sent {"connection_id":143337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:19:37] local.INFO: TCP Data received {"connection_id":145615,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa476bd68012d196940071fee200041013129..."} 
[2026-07-27 22:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa476bd68012d196940071fee200041013129..."} 
[2026-07-27 22:19:37] local.INFO: Processing buffer {"connection_id":145615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa476bd68012d196940071fee200041013129..."} 
[2026-07-27 22:19:37] local.INFO: Packet analysis {"connection_id":145615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa476"} 
[2026-07-27 22:19:37] local.INFO: Extracted packet for processing {"connection_id":145615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa476"} 
[2026-07-27 22:19:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003615232001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:19:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:19:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785170673000,"timestamp_ms":1785170673000,"timestamp_seconds":1785170673,"priority":1,"record_length":96,"hex_timestamp":"0000019fa476bd68"} 
[2026-07-27 22:19:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:19:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-27 22:19:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:19:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:19:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145615,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145615,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:19:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003615232001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003615232001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:19:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:19:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:19:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:19:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003615232001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":145615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555713,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:19:37] local.INFO: GPS data processed {"connection_id":145615,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:19:37] local.INFO: Acknowledgment sent {"connection_id":145615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:19:43] local.INFO: TCP Data received {"connection_id":143337,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fa479d278012d95f7c00606cbc00013011125..."} 
[2026-07-27 22:19:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa479d278012d95f7c00606cbc00013011125..."} 
[2026-07-27 22:19:43] local.INFO: Processing buffer {"connection_id":143337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa479d278012d95f7c00606cbc00013011125..."} 
[2026-07-27 22:19:43] local.INFO: Packet analysis {"connection_id":143337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa479"} 
[2026-07-27 22:19:43] local.INFO: Extracted packet for processing {"connection_id":143337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa479"} 
[2026-07-27 22:19:43] local.INFO: GPS Element Parsed {"raw_longitude":764803008,"raw_latitude":101108672,"longitude_deg":76.4803008,"latitude_deg":10.1108672,"altitude":19,"angle":273,"satellites":37,"speed":18,"hex_longitude":"2d95f7c0","hex_latitude":"0606cbc0","is_valid_coordinates":true} 
[2026-07-27 22:19:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:19:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003743488001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:19:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359470985805561856,"note":"Value kept but may cause issues"} 
[2026-07-27 22:19:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7639301210787563520,"note":"Value kept but may cause issues"} 
[2026-07-27 22:19:43] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,79,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-27 22:19:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785170875000,"timestamp_ms":1785170875000,"timestamp_seconds":1785170875,"priority":1,"record_length":96,"hex_timestamp":"0000019fa479d278"} 
[2026-07-27 22:19:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:19:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 22:19:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-27 22:19:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:19:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:19:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:19:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:19:43] local.INFO: Teltonika packet parsed successfully {"connection_id":143337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:19:43] local.INFO: Passing IMEI to GPS processor {"connection_id":143337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:19:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":143337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:19: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-07-27 22:19:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:19:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:19:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003743488001,"66":27343,"79":48640,"24":18,"16":359470985805561856,"45":-7639301210787563520},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,24,16,45]} 
[2026-07-27 22:19:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:19:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:19:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003743488001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:19:43] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 22:19:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359470985805561856,"km_value":359470985805561.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:19:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7639301210787563520,"description":"Unknown IO ID 45"} 
[2026-07-27 22:19:43] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457003743488001,"power":27343,"unknown_79":48640,"ignition":18,"odometer":null,"unknown_45":-7639301210787563520}} 
[2026-07-27 22:19:43] local.INFO: DEBUG: GPS processor result {"connection_id":143337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:19:43] local.INFO: GPS data processed {"connection_id":143337,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:19:43] local.INFO: Acknowledgment sent {"connection_id":143337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:19:59] local.INFO: TCP Data received {"connection_id":143195,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143195,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:19:59] local.INFO: Processing buffer {"connection_id":143195,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:19:59] local.INFO: IMEI packet received {"connection_id":143195,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 22:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":143195,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 22:20:04] local.INFO: TCP Data received {"connection_id":143195,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143195,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:20:04] local.INFO: Processing buffer {"connection_id":143195,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:20:04] local.INFO: IMEI packet received {"connection_id":143195,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 22:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":143195,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:20:06] local.INFO: TCP Data received {"connection_id":143195,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa476bd68012d196940071fee200041013129..."} 
[2026-07-27 22:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143195,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa476bd68012d196940071fee200041013129..."} 
[2026-07-27 22:20:06] local.INFO: Processing buffer {"connection_id":143195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa476bd68012d196940071fee200041013129..."} 
[2026-07-27 22:20:06] local.INFO: Packet analysis {"connection_id":143195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa476"} 
[2026-07-27 22:20:06] local.INFO: Extracted packet for processing {"connection_id":143195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa476"} 
[2026-07-27 22:20:06] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003615232001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:20:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:20:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:20:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:20:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785170673000,"timestamp_ms":1785170673000,"timestamp_seconds":1785170673,"priority":1,"record_length":96,"hex_timestamp":"0000019fa476bd68"} 
[2026-07-27 22:20:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:20:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-27 22:20:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:20:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:20:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:20:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:20:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:20:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143195,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:20:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143195,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:20:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:20:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:20:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:20:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003615232001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:20:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:20:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:20:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003615232001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:20:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:20:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:20:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:20:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:20:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003615232001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:20:06] local.INFO: DEBUG: GPS processor result {"connection_id":143195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555715,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:20:06] local.INFO: GPS data processed {"connection_id":143195,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:20:06] local.INFO: Acknowledgment sent {"connection_id":143195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:20:14] local.INFO: TCP Data received {"connection_id":143337,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fa47acc78012d961b40060665d00010009229..."} 
[2026-07-27 22:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa47acc78012d961b40060665d00010009229..."} 
[2026-07-27 22:20:14] local.INFO: Processing buffer {"connection_id":143337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa47acc78012d961b40060665d00010009229..."} 
[2026-07-27 22:20:14] local.INFO: Packet analysis {"connection_id":143337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa47a"} 
[2026-07-27 22:20:14] local.INFO: Extracted packet for processing {"connection_id":143337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa47a"} 
[2026-07-27 22:20:14] local.INFO: GPS Element Parsed {"raw_longitude":764812096,"raw_latitude":101082576,"longitude_deg":76.4812096,"latitude_deg":10.1082576,"altitude":16,"angle":146,"satellites":41,"speed":19,"hex_longitude":"2d961b40","hex_latitude":"060665d0","is_valid_coordinates":true} 
[2026-07-27 22:20:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:20:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003756288001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:20:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359472763922022400,"note":"Value kept but may cause issues"} 
[2026-07-27 22:20:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7635993879815964672,"note":"Value kept but may cause issues"} 
[2026-07-27 22:20:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:20:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785170939000,"timestamp_ms":1785170939000,"timestamp_seconds":1785170939,"priority":1,"record_length":96,"hex_timestamp":"0000019fa47acc78"} 
[2026-07-27 22:20:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:20:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 22: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-27 22:20:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:20:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:20:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:20:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:20:14] local.INFO: Teltonika packet parsed successfully {"connection_id":143337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:20:14] local.INFO: Passing IMEI to GPS processor {"connection_id":143337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:20:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":143337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:20: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-07-27 22:20:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:20:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:20:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003756288001,"66":27267,"255":206,"79":48640,"24":19,"16":359472763922022400,"45":-7635993879815964672},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,79,24,16,45]} 
[2026-07-27 22:20:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:20:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:20:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003756288001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:20:14] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-07-27 22:20:14] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 22:20:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359472763922022400,"km_value":359472763922022.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:20:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7635993879815964672,"description":"Unknown IO ID 45"} 
[2026-07-27 22:20:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003756288001,"power":27267,"unknown_255":206,"unknown_79":48640,"ignition":19,"odometer":null,"unknown_45":-7635993879815964672}} 
[2026-07-27 22:20:14] local.INFO: DEBUG: GPS processor result {"connection_id":143337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:20:14] local.INFO: GPS data processed {"connection_id":143337,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:20:14] local.INFO: Acknowledgment sent {"connection_id":143337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:20:37] local.INFO: TCP Data received {"connection_id":143195,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa47b5530012d196940071fee200041013128..."} 
[2026-07-27 22:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143195,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa47b5530012d196940071fee200041013128..."} 
[2026-07-27 22:20:37] local.INFO: Processing buffer {"connection_id":143195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa47b5530012d196940071fee200041013128..."} 
[2026-07-27 22:20:37] local.INFO: Packet analysis {"connection_id":143195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa47b"} 
[2026-07-27 22:20:37] local.INFO: Extracted packet for processing {"connection_id":143195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa47b"} 
[2026-07-27 22:20:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:20:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003692288001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:20:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:20:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:20:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:20:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785170974000,"timestamp_ms":1785170974000,"timestamp_seconds":1785170974,"priority":1,"record_length":96,"hex_timestamp":"0000019fa47b5530"} 
[2026-07-27 22:20:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:20:37] 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-07-27 22:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 22:20:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:20:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:20:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:20:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:20:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:20:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143195,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:20:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143195,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:20:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:20:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:20:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:20:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003692288001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:20:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:20:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:20:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003692288001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:20:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:20:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:20:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:20:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:20:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003692288001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:20:37] local.INFO: DEBUG: GPS processor result {"connection_id":143195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555717,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:20:37] local.INFO: GPS data processed {"connection_id":143195,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:20:37] local.INFO: Acknowledgment sent {"connection_id":143195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:20:45] local.INFO: TCP Data received {"connection_id":143337,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fa47b0710012d962800060651e8001000822c..."} 
[2026-07-27 22:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa47b0710012d962800060651e8001000822c..."} 
[2026-07-27 22:20:45] local.INFO: Processing buffer {"connection_id":143337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa47b0710012d962800060651e8001000822c..."} 
[2026-07-27 22:20:45] local.INFO: Packet analysis {"connection_id":143337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa47b"} 
[2026-07-27 22:20:45] local.INFO: Extracted packet for processing {"connection_id":143337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa47b"} 
[2026-07-27 22:20:45] local.INFO: GPS Element Parsed {"raw_longitude":764815360,"raw_latitude":101077480,"longitude_deg":76.481536,"latitude_deg":10.107748,"altitude":16,"angle":130,"satellites":44,"speed":8,"hex_longitude":"2d962800","hex_latitude":"060651e8","is_valid_coordinates":true} 
[2026-07-27 22:20:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:20:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003760384001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:20:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359473060274765824,"note":"Value kept but may cause issues"} 
[2026-07-27 22:20:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7630434749027856384,"note":"Value kept but may cause issues"} 
[2026-07-27 22:20:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:20:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785170954000,"timestamp_ms":1785170954000,"timestamp_seconds":1785170954,"priority":1,"record_length":96,"hex_timestamp":"0000019fa47b0710"} 
[2026-07-27 22:20:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:20:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 22:20:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-27 22:20:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:20:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:20:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:20:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:20:45] local.INFO: Teltonika packet parsed successfully {"connection_id":143337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:20:45] local.INFO: Passing IMEI to GPS processor {"connection_id":143337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:20:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":143337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:20:45] 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-07-27 22:20:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:20:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:20:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003760384001,"66":27180,"174":206,"79":48640,"24":8,"16":359473060274765824,"45":-7630434749027856384},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,79,24,16,45]} 
[2026-07-27 22:20:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:20:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:20:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003760384001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:20:45] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-07-27 22:20:45] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 22:20:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359473060274765824,"km_value":359473060274765.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:20:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7630434749027856384,"description":"Unknown IO ID 45"} 
[2026-07-27 22:20:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003760384001,"power":27180,"unknown_174":206,"unknown_79":48640,"ignition":8,"odometer":null,"unknown_45":-7630434749027856384}} 
[2026-07-27 22:20:45] local.INFO: DEBUG: GPS processor result {"connection_id":143337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:20:45] local.INFO: GPS data processed {"connection_id":143337,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:20:45] local.INFO: Acknowledgment sent {"connection_id":143337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:20:58] local.INFO: TCP Data received {"connection_id":143196,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143196,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:20:58] local.INFO: Processing buffer {"connection_id":143196,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:20:58] local.INFO: IMEI packet received {"connection_id":143196,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 22:20:58] local.INFO: IMEI acknowledgment sent {"connection_id":143196,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 22:21:00] local.INFO: TCP Data received {"connection_id":143338,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:21:00] local.INFO: Processing buffer {"connection_id":143338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:21:00] local.INFO: IMEI packet received {"connection_id":143338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 22:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":143338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 22:21:04] local.INFO: TCP Data received {"connection_id":143196,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143196,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:21:04] local.INFO: Processing buffer {"connection_id":143196,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:21:04] local.INFO: IMEI packet received {"connection_id":143196,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 22:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":143196,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:21:05] local.INFO: TCP Data received {"connection_id":143196,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa47b5530012d196940071fee200041013128..."} 
[2026-07-27 22:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143196,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa47b5530012d196940071fee200041013128..."} 
[2026-07-27 22:21:05] local.INFO: Processing buffer {"connection_id":143196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa47b5530012d196940071fee200041013128..."} 
[2026-07-27 22:21:05] local.INFO: Packet analysis {"connection_id":143196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa47b"} 
[2026-07-27 22:21:05] local.INFO: Extracted packet for processing {"connection_id":143196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa47b"} 
[2026-07-27 22:21:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22:21:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:21:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003692288001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:21:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:21:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:21:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:21:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785170974000,"timestamp_ms":1785170974000,"timestamp_seconds":1785170974,"priority":1,"record_length":96,"hex_timestamp":"0000019fa47b5530"} 
[2026-07-27 22:21:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:21:05] 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-07-27 22:21:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 22:21:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:21:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:21:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:21:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:21:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:21:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143196,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:21:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143196,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:21:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:21:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:21:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:21:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003692288001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:21:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:21:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:21:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003692288001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:21:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:21:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:21:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:21:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:21:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003692288001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:21:05] local.INFO: DEBUG: GPS processor result {"connection_id":143196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555719,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:21:05] local.INFO: GPS data processed {"connection_id":143196,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:21:05] local.INFO: Acknowledgment sent {"connection_id":143196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:21:12] local.INFO: TCP Data received {"connection_id":143338,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:21:12] local.INFO: Processing buffer {"connection_id":143338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:21:12] local.INFO: IMEI packet received {"connection_id":143338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 22:21:12] local.INFO: IMEI acknowledgment sent {"connection_id":143338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:21:14] local.INFO: TCP Data received {"connection_id":143338,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fa47b12c8012d96298006065058001100912c..."} 
[2026-07-27 22:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa47b12c8012d96298006065058001100912c..."} 
[2026-07-27 22:21:14] local.INFO: Processing buffer {"connection_id":143338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa47b12c8012d96298006065058001100912c..."} 
[2026-07-27 22:21:14] local.INFO: Packet analysis {"connection_id":143338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa47b"} 
[2026-07-27 22:21:14] local.INFO: Extracted packet for processing {"connection_id":143338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa47b"} 
[2026-07-27 22:21:14] local.INFO: GPS Element Parsed {"raw_longitude":764815744,"raw_latitude":101077080,"longitude_deg":76.4815744,"latitude_deg":10.107708,"altitude":17,"angle":145,"satellites":44,"speed":5,"hex_longitude":"2d962980","hex_latitude":"06065058","is_valid_coordinates":true} 
[2026-07-27 22:21:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:21:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003764224001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:21:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359473086044569600,"note":"Value kept but may cause issues"} 
[2026-07-27 22:21:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7626845943076100096,"note":"Value kept but may cause issues"} 
[2026-07-27 22:21:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:21:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785170957000,"timestamp_ms":1785170957000,"timestamp_seconds":1785170957,"priority":1,"record_length":96,"hex_timestamp":"0000019fa47b12c8"} 
[2026-07-27 22:21:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:21:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 22:21:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-07-27 22:21:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:21:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:21:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:21:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:21:14] local.INFO: Teltonika packet parsed successfully {"connection_id":143338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:21:14] local.INFO: Passing IMEI to GPS processor {"connection_id":143338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:21:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":143338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:21: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-07-27 22:21:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:21:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:21:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003764224001,"66":27267,"174":206,"79":48640,"24":5,"16":359473086044569600,"45":-7626845943076100096},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,79,24,16,45]} 
[2026-07-27 22:21:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:21:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:21:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003764224001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:21:14] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-07-27 22:21:14] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 22:21:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359473086044569600,"km_value":359473086044569.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:21:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7626845943076100096,"description":"Unknown IO ID 45"} 
[2026-07-27 22:21:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003764224001,"power":27267,"unknown_174":206,"unknown_79":48640,"ignition":5,"odometer":null,"unknown_45":-7626845943076100096}} 
[2026-07-27 22:21:14] local.INFO: DEBUG: GPS processor result {"connection_id":143338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:21:14] local.INFO: GPS data processed {"connection_id":143338,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:21:14] local.INFO: Acknowledgment sent {"connection_id":143338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:21:37] local.INFO: TCP Data received {"connection_id":143196,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa47b5530012d196940071fee200041013128..."} 
[2026-07-27 22:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143196,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa47b5530012d196940071fee200041013128..."} 
[2026-07-27 22:21:37] local.INFO: Processing buffer {"connection_id":143196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa47b5530012d196940071fee200041013128..."} 
[2026-07-27 22:21:37] local.INFO: Packet analysis {"connection_id":143196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa47b"} 
[2026-07-27 22:21:37] local.INFO: Extracted packet for processing {"connection_id":143196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa47b"} 
[2026-07-27 22:21:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:21:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003692288001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:21:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:21:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:21:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:21:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785170974000,"timestamp_ms":1785170974000,"timestamp_seconds":1785170974,"priority":1,"record_length":96,"hex_timestamp":"0000019fa47b5530"} 
[2026-07-27 22:21:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:21:37] 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-07-27 22:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 22:21:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:21:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:21:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:21:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:21:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:21:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143196,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:21:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143196,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:21:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:21:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:21:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:21:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003692288001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:21:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:21:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:21:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003692288001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:21:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:21:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:21:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:21:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:21:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003692288001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:21:37] local.INFO: DEBUG: GPS processor result {"connection_id":143196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555721,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:21:37] local.INFO: GPS data processed {"connection_id":143196,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:21:37] local.INFO: Acknowledgment sent {"connection_id":143196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:21:45] local.INFO: TCP Data received {"connection_id":143338,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fa47b64d0012d962b4006064d68001000912c..."} 
[2026-07-27 22:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa47b64d0012d962b4006064d68001000912c..."} 
[2026-07-27 22:21:45] local.INFO: Processing buffer {"connection_id":143338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa47b64d0012d962b4006064d68001000912c..."} 
[2026-07-27 22:21:45] local.INFO: Packet analysis {"connection_id":143338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa47b"} 
[2026-07-27 22:21:45] local.INFO: Extracted packet for processing {"connection_id":143338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa47b"} 
[2026-07-27 22:21:45] local.INFO: GPS Element Parsed {"raw_longitude":764816192,"raw_latitude":101076328,"longitude_deg":76.4816192,"latitude_deg":10.1076328,"altitude":16,"angle":145,"satellites":44,"speed":0,"hex_longitude":"2d962b40","hex_latitude":"06064d68","is_valid_coordinates":true} 
[2026-07-27 22:21:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:21:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003764992001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:21:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359473133289209856,"note":"Value kept but may cause issues"} 
[2026-07-27 22:21:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7626423730611136512,"note":"Value kept but may cause issues"} 
[2026-07-27 22:21:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:21:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785170978000,"timestamp_ms":1785170978000,"timestamp_seconds":1785170978,"priority":1,"record_length":96,"hex_timestamp":"0000019fa47b64d0"} 
[2026-07-27 22:21:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:21:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 22:21:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-27 22:21:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:21:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:21:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:21:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:21:45] local.INFO: Teltonika packet parsed successfully {"connection_id":143338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:21:45] local.INFO: Passing IMEI to GPS processor {"connection_id":143338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:21:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":143338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:21:45] 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-07-27 22:21:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:21:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:21:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003764992001,"66":27245,"174":206,"79":48640,"24":0,"16":359473133289209856,"45":-7626423730611136512},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,79,24,16,45]} 
[2026-07-27 22:21:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:21:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:21:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003764992001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:21:45] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-07-27 22:21:45] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 22:21:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359473133289209856,"km_value":359473133289209.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:21:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7626423730611136512,"description":"Unknown IO ID 45"} 
[2026-07-27 22:21:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003764992001,"power":27245,"unknown_174":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7626423730611136512}} 
[2026-07-27 22:21:45] local.INFO: DEBUG: GPS processor result {"connection_id":143338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:21:45] local.INFO: GPS data processed {"connection_id":143338,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:21:45] local.INFO: Acknowledgment sent {"connection_id":143338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:22:04] local.INFO: TCP Data received {"connection_id":144345,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144345,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:22:04] local.INFO: Processing buffer {"connection_id":144345,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:22:04] local.INFO: IMEI packet received {"connection_id":144345,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 22:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":144345,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 22:22:05] local.INFO: TCP Data received {"connection_id":145616,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:22:05] local.INFO: Processing buffer {"connection_id":145616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:22:05] local.INFO: IMEI packet received {"connection_id":145616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 22:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":145616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 22:22:09] local.INFO: TCP Data received {"connection_id":144345,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144345,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:22:09] local.INFO: Processing buffer {"connection_id":144345,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:22:09] local.INFO: IMEI packet received {"connection_id":144345,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 22:22:09] local.INFO: IMEI acknowledgment sent {"connection_id":144345,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:22:10] local.INFO: TCP Data received {"connection_id":144345,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa47b5530012d196940071fee200041013128..."} 
[2026-07-27 22:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa47b5530012d196940071fee200041013128..."} 
[2026-07-27 22:22:10] local.INFO: Processing buffer {"connection_id":144345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa47b5530012d196940071fee200041013128..."} 
[2026-07-27 22:22:10] local.INFO: Packet analysis {"connection_id":144345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa47b"} 
[2026-07-27 22:22:10] local.INFO: Extracted packet for processing {"connection_id":144345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa47b"} 
[2026-07-27 22:22:10] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:22:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003692288001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:22:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:22:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:22:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:22:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785170974000,"timestamp_ms":1785170974000,"timestamp_seconds":1785170974,"priority":1,"record_length":96,"hex_timestamp":"0000019fa47b5530"} 
[2026-07-27 22:22:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:22:10] 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-07-27 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 22:22:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:22:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:22:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:22:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:22:10] local.INFO: Teltonika packet parsed successfully {"connection_id":144345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:22:10] local.INFO: Passing IMEI to GPS processor {"connection_id":144345,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:22:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":144345,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:22:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:22:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:22:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:22:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003692288001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:22:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:22:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:22:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003692288001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:22:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:22:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:22:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:22:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:22:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003692288001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:22:10] local.INFO: DEBUG: GPS processor result {"connection_id":144345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555723,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:22:10] local.INFO: GPS data processed {"connection_id":144345,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:22:10] local.INFO: Acknowledgment sent {"connection_id":144345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:22:11] local.INFO: TCP Data received {"connection_id":145616,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:22:11] local.INFO: Processing buffer {"connection_id":145616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:22:11] local.INFO: IMEI packet received {"connection_id":145616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 22:22:11] local.INFO: IMEI acknowledgment sent {"connection_id":145616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:22:12] local.INFO: TCP Data received {"connection_id":145616,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fa47bb6d8012d962a0006064f20001000912a..."} 
[2026-07-27 22:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa47bb6d8012d962a0006064f20001000912a..."} 
[2026-07-27 22:22:12] local.INFO: Processing buffer {"connection_id":145616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa47bb6d8012d962a0006064f20001000912a..."} 
[2026-07-27 22:22:12] local.INFO: Packet analysis {"connection_id":145616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa47b"} 
[2026-07-27 22:22:12] local.INFO: Extracted packet for processing {"connection_id":145616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa47b"} 
[2026-07-27 22:22:12] local.INFO: GPS Element Parsed {"raw_longitude":764815872,"raw_latitude":101076768,"longitude_deg":76.4815872,"latitude_deg":10.1076768,"altitude":16,"angle":145,"satellites":42,"speed":0,"hex_longitude":"2d962a00","hex_latitude":"06064f20","is_valid_coordinates":true} 
[2026-07-27 22:22:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:22:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003770368001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:22:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359473159059013632,"note":"Value kept but may cause issues"} 
[2026-07-27 22:22:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7625931149402085376,"note":"Value kept but may cause issues"} 
[2026-07-27 22:22:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:22:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785170999000,"timestamp_ms":1785170999000,"timestamp_seconds":1785170999,"priority":1,"record_length":96,"hex_timestamp":"0000019fa47bb6d8"} 
[2026-07-27 22:22:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:22:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 22:22:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-27 22:22:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:22:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:22:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:22:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:22:12] local.INFO: Teltonika packet parsed successfully {"connection_id":145616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:22:12] local.INFO: Passing IMEI to GPS processor {"connection_id":145616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:22:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":145616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:22:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:22:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:22:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:22:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003770368001,"66":27343,"174":206,"79":48640,"24":0,"16":359473159059013632,"45":-7625931149402085376},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,79,24,16,45]} 
[2026-07-27 22:22:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:22:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:22:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003770368001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:22:12] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-07-27 22:22:12] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 22:22:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359473159059013632,"km_value":359473159059013.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:22:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7625931149402085376,"description":"Unknown IO ID 45"} 
[2026-07-27 22:22:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003770368001,"power":27343,"unknown_174":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7625931149402085376}} 
[2026-07-27 22:22:12] local.INFO: DEBUG: GPS processor result {"connection_id":145616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:22:12] local.INFO: GPS data processed {"connection_id":145616,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:22:12] local.INFO: Acknowledgment sent {"connection_id":145616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:22:14] local.INFO: TCP Data received {"connection_id":144345,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa47b5530012d196940071fee200041013128..."} 
[2026-07-27 22:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa47b5530012d196940071fee200041013128..."} 
[2026-07-27 22:22:14] local.INFO: Processing buffer {"connection_id":144345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa47b5530012d196940071fee200041013128..."} 
[2026-07-27 22:22:14] local.INFO: Packet analysis {"connection_id":144345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa47b"} 
[2026-07-27 22:22:14] local.INFO: Extracted packet for processing {"connection_id":144345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa47b"} 
[2026-07-27 22:22:14] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22: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-07-27 22:22:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003692288001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:22:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:22:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:22:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:22:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785170974000,"timestamp_ms":1785170974000,"timestamp_seconds":1785170974,"priority":1,"record_length":96,"hex_timestamp":"0000019fa47b5530"} 
[2026-07-27 22:22:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:22:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:22:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 22:22:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22: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-07-27 22:22:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:22:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:22:14] local.INFO: Teltonika packet parsed successfully {"connection_id":144345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:22:14] local.INFO: Passing IMEI to GPS processor {"connection_id":144345,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:22:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":144345,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:22:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:22:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:22:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:22:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003692288001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:22:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:22:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:22:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003692288001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:22:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:22:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:22:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:22:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:22:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003692288001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:22:15] local.INFO: DEBUG: GPS processor result {"connection_id":144345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555725,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:22:15] local.INFO: GPS data processed {"connection_id":144345,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:22:15] local.INFO: Acknowledgment sent {"connection_id":144345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:22:15] local.INFO: TCP Data received {"connection_id":145616,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fa47c08e0012d96280006065378001100912d..."} 
[2026-07-27 22:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa47c08e0012d96280006065378001100912d..."} 
[2026-07-27 22:22:15] local.INFO: Processing buffer {"connection_id":145616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa47c08e0012d96280006065378001100912d..."} 
[2026-07-27 22:22:15] local.INFO: Packet analysis {"connection_id":145616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa47c"} 
[2026-07-27 22:22:15] local.INFO: Extracted packet for processing {"connection_id":145616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa47c"} 
[2026-07-27 22:22:15] local.INFO: GPS Element Parsed {"raw_longitude":764815360,"raw_latitude":101077880,"longitude_deg":76.481536,"latitude_deg":10.107788,"altitude":17,"angle":145,"satellites":45,"speed":1,"hex_longitude":"2d962800","hex_latitude":"06065378","is_valid_coordinates":true} 
[2026-07-27 22:22:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:22:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003775744001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:22:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359473227778490368,"note":"Value kept but may cause issues"} 
[2026-07-27 22:22:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7626282993122861056,"note":"Value kept but may cause issues"} 
[2026-07-27 22:22:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:22:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785171020000,"timestamp_ms":1785171020000,"timestamp_seconds":1785171020,"priority":1,"record_length":96,"hex_timestamp":"0000019fa47c08e0"} 
[2026-07-27 22:22:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:22:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 22: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-27 22:22:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:22:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:22:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:22:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:22:15] local.INFO: Teltonika packet parsed successfully {"connection_id":145616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:22:15] local.INFO: Passing IMEI to GPS processor {"connection_id":145616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:22:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":145616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:22: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-07-27 22:22:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:22:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:22:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003775744001,"66":27245,"174":206,"79":48640,"24":1,"16":359473227778490368,"45":-7626282993122861056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,79,24,16,45]} 
[2026-07-27 22:22:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:22:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:22:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003775744001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:22:15] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-07-27 22:22:15] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 22:22:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359473227778490368,"km_value":359473227778490.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:22:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7626282993122861056,"description":"Unknown IO ID 45"} 
[2026-07-27 22:22:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003775744001,"power":27245,"unknown_174":206,"unknown_79":48640,"ignition":1,"odometer":null,"unknown_45":-7626282993122861056}} 
[2026-07-27 22:22:15] local.INFO: DEBUG: GPS processor result {"connection_id":145616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:22:15] local.INFO: GPS data processed {"connection_id":145616,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:22:15] local.INFO: Acknowledgment sent {"connection_id":145616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:22:58] local.INFO: TCP Data received {"connection_id":143197,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:22:58] local.INFO: Processing buffer {"connection_id":143197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:22:58] local.INFO: IMEI packet received {"connection_id":143197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 22:22:58] local.INFO: IMEI acknowledgment sent {"connection_id":143197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 22:22:59] local.INFO: TCP Data received {"connection_id":144346,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144346,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:22:59] local.INFO: Processing buffer {"connection_id":144346,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:22:59] local.INFO: IMEI packet received {"connection_id":144346,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 22:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":144346,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 22:23:00] local.INFO: TCP Data received {"connection_id":143197,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:23:00] local.INFO: Processing buffer {"connection_id":143197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:23:00] local.INFO: IMEI packet received {"connection_id":143197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 22:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":143197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:23:03] local.INFO: TCP Data received {"connection_id":143197,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:23:03] local.INFO: Processing buffer {"connection_id":143197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:23:03] local.INFO: IMEI packet received {"connection_id":143197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 22:23:03] local.INFO: IMEI acknowledgment sent {"connection_id":143197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:23:04] local.INFO: TCP Data received {"connection_id":144346,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144346,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:23:04] local.INFO: Processing buffer {"connection_id":144346,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:23:04] local.INFO: IMEI packet received {"connection_id":144346,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 22:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":144346,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:23:04] local.INFO: TCP Data received {"connection_id":143197,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fa47c2c08012d962900060653e8001100492d..."} 
[2026-07-27 22:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143197,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa47c2c08012d962900060653e8001100492d..."} 
[2026-07-27 22:23:04] local.INFO: Processing buffer {"connection_id":143197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa47c2c08012d962900060653e8001100492d..."} 
[2026-07-27 22:23:04] local.INFO: Packet analysis {"connection_id":143197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa47c"} 
[2026-07-27 22:23:04] local.INFO: Extracted packet for processing {"connection_id":143197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa47c"} 
[2026-07-27 22:23:04] local.INFO: GPS Element Parsed {"raw_longitude":764815616,"raw_latitude":101077992,"longitude_deg":76.4815616,"latitude_deg":10.1077992,"altitude":17,"angle":73,"satellites":45,"speed":6,"hex_longitude":"2d962900","hex_latitude":"060653e8","is_valid_coordinates":true} 
[2026-07-27 22:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:23:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003781120001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:23:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359473253548294144,"note":"Value kept but may cause issues"} 
[2026-07-27 22:23:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7626845943075997696,"note":"Value kept but may cause issues"} 
[2026-07-27 22:23:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:23:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785171029000,"timestamp_ms":1785171029000,"timestamp_seconds":1785171029,"priority":1,"record_length":96,"hex_timestamp":"0000019fa47c2c08"} 
[2026-07-27 22:23:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:23:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 22:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-27 22:23:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:23:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:23:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:23:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:23:04] local.INFO: Teltonika packet parsed successfully {"connection_id":143197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:23:04] local.INFO: Passing IMEI to GPS processor {"connection_id":143197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:23:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":143197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:23:04] 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-07-27 22:23:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:23:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:23:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003781120001,"66":27321,"174":206,"79":48640,"24":6,"16":359473253548294144,"45":-7626845943075997696},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,79,24,16,45]} 
[2026-07-27 22:23:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:23:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:23:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003781120001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:23:04] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-07-27 22:23:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 22:23:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359473253548294144,"km_value":359473253548294.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:23:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7626845943075997696,"description":"Unknown IO ID 45"} 
[2026-07-27 22:23:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003781120001,"power":27321,"unknown_174":206,"unknown_79":48640,"ignition":6,"odometer":null,"unknown_45":-7626845943075997696}} 
[2026-07-27 22:23:04] local.INFO: DEBUG: GPS processor result {"connection_id":143197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:23:04] local.INFO: GPS data processed {"connection_id":143197,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:23:04] local.INFO: Acknowledgment sent {"connection_id":143197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:23:05] local.INFO: TCP Data received {"connection_id":144346,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa47b5530012d196940071fee200041013128..."} 
[2026-07-27 22:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa47b5530012d196940071fee200041013128..."} 
[2026-07-27 22:23:05] local.INFO: Processing buffer {"connection_id":144346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa47b5530012d196940071fee200041013128..."} 
[2026-07-27 22:23:05] local.INFO: Packet analysis {"connection_id":144346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa47b"} 
[2026-07-27 22:23:05] local.INFO: Extracted packet for processing {"connection_id":144346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa47b"} 
[2026-07-27 22:23:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22:23:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:23:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003692288001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:23:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:23:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:23:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:23:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785170974000,"timestamp_ms":1785170974000,"timestamp_seconds":1785170974,"priority":1,"record_length":96,"hex_timestamp":"0000019fa47b5530"} 
[2026-07-27 22:23:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:23:05] 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-07-27 22:23:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 22:23:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:23:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:23:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:23:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:23:05] local.INFO: Teltonika packet parsed successfully {"connection_id":144346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:23:05] local.INFO: Passing IMEI to GPS processor {"connection_id":144346,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:23:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":144346,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:23:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:23:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:23:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:23:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003692288001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:23:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:23:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:23:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003692288001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:23:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:23:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:23:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:23:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:23:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003692288001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:23:05] local.INFO: DEBUG: GPS processor result {"connection_id":144346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555728,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:23:05] local.INFO: GPS data processed {"connection_id":144346,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:23:05] local.INFO: Acknowledgment sent {"connection_id":144346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:23:35] local.INFO: TCP Data received {"connection_id":143197,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fa47c37c0012d962b0006065478001100552d..."} 
[2026-07-27 22:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143197,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa47c37c0012d962b0006065478001100552d..."} 
[2026-07-27 22:23:35] local.INFO: Processing buffer {"connection_id":143197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa47c37c0012d962b0006065478001100552d..."} 
[2026-07-27 22:23:35] local.INFO: Packet analysis {"connection_id":143197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa47c"} 
[2026-07-27 22:23:35] local.INFO: Extracted packet for processing {"connection_id":143197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa47c"} 
[2026-07-27 22:23:35] local.INFO: GPS Element Parsed {"raw_longitude":764816128,"raw_latitude":101078136,"longitude_deg":76.4816128,"latitude_deg":10.1078136,"altitude":17,"angle":85,"satellites":45,"speed":8,"hex_longitude":"2d962b00","hex_latitude":"06065478","is_valid_coordinates":true} 
[2026-07-27 22:23:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:23:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003783424001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:23:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359473279318097920,"note":"Value kept but may cause issues"} 
[2026-07-27 22:23:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7626564468099258368,"note":"Value kept but may cause issues"} 
[2026-07-27 22:23:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:23:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785171032000,"timestamp_ms":1785171032000,"timestamp_seconds":1785171032,"priority":1,"record_length":96,"hex_timestamp":"0000019fa47c37c0"} 
[2026-07-27 22:23:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:23:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 22:23:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-27 22:23:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:23:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:23:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:23:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:23:35] local.INFO: Teltonika packet parsed successfully {"connection_id":143197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:23:35] local.INFO: Passing IMEI to GPS processor {"connection_id":143197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:23:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":143197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:23:35] 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-07-27 22:23:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:23:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:23:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003783424001,"66":27343,"174":206,"79":48640,"24":8,"16":359473279318097920,"45":-7626564468099258368},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,79,24,16,45]} 
[2026-07-27 22:23:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:23:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:23:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003783424001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:23:35] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-07-27 22:23:35] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 22:23:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359473279318097920,"km_value":359473279318097.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:23:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7626564468099258368,"description":"Unknown IO ID 45"} 
[2026-07-27 22:23:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003783424001,"power":27343,"unknown_174":206,"unknown_79":48640,"ignition":8,"odometer":null,"unknown_45":-7626564468099258368}} 
[2026-07-27 22:23:35] local.INFO: DEBUG: GPS processor result {"connection_id":143197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:23:35] local.INFO: GPS data processed {"connection_id":143197,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:23:35] local.INFO: Acknowledgment sent {"connection_id":143197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:23:37] local.INFO: TCP Data received {"connection_id":144346,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa47b5530012d196940071fee200041013128..."} 
[2026-07-27 22:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa47b5530012d196940071fee200041013128..."} 
[2026-07-27 22:23:37] local.INFO: Processing buffer {"connection_id":144346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa47b5530012d196940071fee200041013128..."} 
[2026-07-27 22:23:37] local.INFO: Packet analysis {"connection_id":144346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa47b"} 
[2026-07-27 22:23:37] local.INFO: Extracted packet for processing {"connection_id":144346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa47b"} 
[2026-07-27 22:23:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003692288001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:23:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:23:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785170974000,"timestamp_ms":1785170974000,"timestamp_seconds":1785170974,"priority":1,"record_length":96,"hex_timestamp":"0000019fa47b5530"} 
[2026-07-27 22:23:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:23:37] 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-07-27 22:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 22:23:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:23:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:23:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144346,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144346,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:23:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003692288001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:23:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:23:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003692288001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:23:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:23:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:23:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:23:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:23:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003692288001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:23:37] local.INFO: DEBUG: GPS processor result {"connection_id":144346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555730,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:23:37] local.INFO: GPS data processed {"connection_id":144346,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:23:37] local.INFO: Acknowledgment sent {"connection_id":144346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:23:59] local.INFO: TCP Data received {"connection_id":143339,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143339,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:23:59] local.INFO: Processing buffer {"connection_id":143339,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:23:59] local.INFO: IMEI packet received {"connection_id":143339,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 22:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":143339,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 22:24:00] local.INFO: TCP Data received {"connection_id":143340,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:24:00] local.INFO: Processing buffer {"connection_id":143340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:24:00] local.INFO: IMEI packet received {"connection_id":143340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 22:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":143340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 22:24:04] local.INFO: TCP Data received {"connection_id":143339,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143339,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:24:04] local.INFO: Processing buffer {"connection_id":143339,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:24:04] local.INFO: IMEI packet received {"connection_id":143339,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 22:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":143339,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:24:05] local.INFO: TCP Data received {"connection_id":143339,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa47b5530012d196940071fee200041013128..."} 
[2026-07-27 22:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa47b5530012d196940071fee200041013128..."} 
[2026-07-27 22:24:05] local.INFO: Processing buffer {"connection_id":143339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa47b5530012d196940071fee200041013128..."} 
[2026-07-27 22:24:05] local.INFO: Packet analysis {"connection_id":143339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa47b"} 
[2026-07-27 22:24:05] local.INFO: Extracted packet for processing {"connection_id":143339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa47b"} 
[2026-07-27 22:24:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22:24:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:24:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003692288001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:24:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:24:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:24:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:24:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785170974000,"timestamp_ms":1785170974000,"timestamp_seconds":1785170974,"priority":1,"record_length":96,"hex_timestamp":"0000019fa47b5530"} 
[2026-07-27 22:24:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:24:05] 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-07-27 22:24:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 22:24:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:24:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:24:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:24:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:24:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:24:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143339,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:24:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143339,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:24:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:24:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:24:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:24:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003692288001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:24:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:24:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:24:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003692288001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:24:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:24:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:24:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:24:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:24:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003692288001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:24:05] local.INFO: DEBUG: GPS processor result {"connection_id":143339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555731,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:24:05] local.INFO: GPS data processed {"connection_id":143339,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:24:05] local.INFO: Acknowledgment sent {"connection_id":143339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:24:05] local.INFO: TCP Data received {"connection_id":143340,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:24:05] local.INFO: Processing buffer {"connection_id":143340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:24:05] local.INFO: IMEI packet received {"connection_id":143340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 22:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":143340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:24:06] local.INFO: TCP Data received {"connection_id":143340,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fa47c89c8012d96440006065538001000582b..."} 
[2026-07-27 22:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa47c89c8012d96440006065538001000582b..."} 
[2026-07-27 22:24:06] local.INFO: Processing buffer {"connection_id":143340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa47c89c8012d96440006065538001000582b..."} 
[2026-07-27 22:24:06] local.INFO: Packet analysis {"connection_id":143340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa47c"} 
[2026-07-27 22:24:06] local.INFO: Extracted packet for processing {"connection_id":143340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa47c"} 
[2026-07-27 22:24:06] local.INFO: GPS Element Parsed {"raw_longitude":764822528,"raw_latitude":101078328,"longitude_deg":76.4822528,"latitude_deg":10.1078328,"altitude":16,"angle":88,"satellites":43,"speed":19,"hex_longitude":"2d964400","hex_latitude":"06065538","is_valid_coordinates":true} 
[2026-07-27 22:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003784192001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359473584260775936,"note":"Value kept but may cause issues"} 
[2026-07-27 22:24:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7626001518145800192,"note":"Value kept but may cause issues"} 
[2026-07-27 22:24:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785171053000,"timestamp_ms":1785171053000,"timestamp_seconds":1785171053,"priority":1,"record_length":96,"hex_timestamp":"0000019fa47c89c8"} 
[2026-07-27 22:24:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:24:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 22:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-27 22:24:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:24:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:24:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:24:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003784192001,"66":27104,"172":206,"79":48640,"24":19,"16":359473584260775936,"45":-7626001518145800192},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,79,24,16,45]} 
[2026-07-27 22:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003784192001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:24:06] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-07-27 22:24:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 22:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359473584260775936,"km_value":359473584260775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:24:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7626001518145800192,"description":"Unknown IO ID 45"} 
[2026-07-27 22:24:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003784192001,"power":27104,"unknown_172":206,"unknown_79":48640,"ignition":19,"odometer":null,"unknown_45":-7626001518145800192}} 
[2026-07-27 22:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":143340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:24:06] local.INFO: GPS data processed {"connection_id":143340,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:24:06] local.INFO: Acknowledgment sent {"connection_id":143340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:24:37] local.INFO: TCP Data received {"connection_id":143339,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa47b5530012d196940071fee200041013128..."} 
[2026-07-27 22:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa47b5530012d196940071fee200041013128..."} 
[2026-07-27 22:24:37] local.INFO: Processing buffer {"connection_id":143339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa47b5530012d196940071fee200041013128..."} 
[2026-07-27 22:24:37] local.INFO: Packet analysis {"connection_id":143339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa47b"} 
[2026-07-27 22:24:37] local.INFO: Extracted packet for processing {"connection_id":143339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa47b"} 
[2026-07-27 22:24:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003692288001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:24:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:24:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:24:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:24:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785170974000,"timestamp_ms":1785170974000,"timestamp_seconds":1785170974,"priority":1,"record_length":96,"hex_timestamp":"0000019fa47b5530"} 
[2026-07-27 22:24:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:24:37] 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-07-27 22:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 22:24:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:24:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:24:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:24:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:24:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:24:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143339,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:24:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143339,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:24:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:24:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:24:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:24:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003692288001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:24:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:24:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:24:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003692288001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:24:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:24:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:24:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:24:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:24:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003692288001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:24:37] local.INFO: DEBUG: GPS processor result {"connection_id":143339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555733,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:24:37] local.INFO: GPS data processed {"connection_id":143339,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:24:37] local.INFO: Acknowledgment sent {"connection_id":143339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:24:37] local.INFO: TCP Data received {"connection_id":143340,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fa47ca138012d96508006065680001000462d..."} 
[2026-07-27 22:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa47ca138012d96508006065680001000462d..."} 
[2026-07-27 22:24:37] local.INFO: Processing buffer {"connection_id":143340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa47ca138012d96508006065680001000462d..."} 
[2026-07-27 22:24:37] local.INFO: Packet analysis {"connection_id":143340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa47c"} 
[2026-07-27 22:24:37] local.INFO: Extracted packet for processing {"connection_id":143340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa47c"} 
[2026-07-27 22:24:37] local.INFO: GPS Element Parsed {"raw_longitude":764825728,"raw_latitude":101078656,"longitude_deg":76.4825728,"latitude_deg":10.1078656,"altitude":16,"angle":70,"satellites":45,"speed":22,"hex_longitude":"2d965080","hex_latitude":"06065680","is_valid_coordinates":true} 
[2026-07-27 22:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003789568001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:24:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359473738879598592,"note":"Value kept but may cause issues"} 
[2026-07-27 22:24:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7618964643727984640,"note":"Value kept but may cause issues"} 
[2026-07-27 22:24:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:24:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785171059000,"timestamp_ms":1785171059000,"timestamp_seconds":1785171059,"priority":1,"record_length":96,"hex_timestamp":"0000019fa47ca138"} 
[2026-07-27 22:24:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:24:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 22:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-07-27 22:24:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2739,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:24:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:24:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:24:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:24:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:24:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:24:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:24:37] 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-07-27 22:24:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:24:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:24:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003789568001,"66":27376,"172":206,"79":48640,"24":22,"16":359473738879598592,"45":-7618964643727984640},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,79,24,16,45]} 
[2026-07-27 22:24:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:24:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:24:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003789568001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:24:37] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-07-27 22:24:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 22:24:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359473738879598592,"km_value":359473738879598.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:24:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7618964643727984640,"description":"Unknown IO ID 45"} 
[2026-07-27 22:24:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003789568001,"power":27376,"unknown_172":206,"unknown_79":48640,"ignition":22,"odometer":null,"unknown_45":-7618964643727984640}} 
[2026-07-27 22:24:37] local.INFO: DEBUG: GPS processor result {"connection_id":143340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:24:37] local.INFO: GPS data processed {"connection_id":143340,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:24:37] local.INFO: Acknowledgment sent {"connection_id":143340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:24:58] local.INFO: TCP Data received {"connection_id":145617,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145617,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:24:58] local.INFO: Processing buffer {"connection_id":145617,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:24:58] local.INFO: IMEI packet received {"connection_id":145617,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 22:24:58] local.INFO: IMEI acknowledgment sent {"connection_id":145617,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 22:25:00] local.INFO: TCP Data received {"connection_id":144347,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:25:00] local.INFO: Processing buffer {"connection_id":144347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:25:00] local.INFO: IMEI packet received {"connection_id":144347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 22:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":144347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 22:25:04] local.INFO: TCP Data received {"connection_id":145617,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145617,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:25:04] local.INFO: Processing buffer {"connection_id":145617,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:25:04] local.INFO: IMEI packet received {"connection_id":145617,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 22:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":145617,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:25:05] local.INFO: TCP Data received {"connection_id":144347,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:25:05] local.INFO: Processing buffer {"connection_id":144347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:25:05] local.INFO: IMEI packet received {"connection_id":144347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 22:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":144347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:25:05] local.INFO: TCP Data received {"connection_id":145617,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa47b5530012d196940071fee200041013128..."} 
[2026-07-27 22:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa47b5530012d196940071fee200041013128..."} 
[2026-07-27 22:25:05] local.INFO: Processing buffer {"connection_id":145617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa47b5530012d196940071fee200041013128..."} 
[2026-07-27 22:25:05] local.INFO: Packet analysis {"connection_id":145617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa47b"} 
[2026-07-27 22:25:05] local.INFO: Extracted packet for processing {"connection_id":145617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa47b"} 
[2026-07-27 22:25:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:25:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003692288001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:25:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:25:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:25:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:25:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785170974000,"timestamp_ms":1785170974000,"timestamp_seconds":1785170974,"priority":1,"record_length":96,"hex_timestamp":"0000019fa47b5530"} 
[2026-07-27 22:25:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:25:05] 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-07-27 22:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 22:25:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:25:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:25:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:25:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:25:05] local.INFO: Teltonika packet parsed successfully {"connection_id":145617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:25:05] local.INFO: Passing IMEI to GPS processor {"connection_id":145617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:25:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":145617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:25:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:25:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:25:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:25:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003692288001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:25:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:25:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:25:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003692288001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:25:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:25:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:25:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:25:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:25:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003692288001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:25:05] local.INFO: DEBUG: GPS processor result {"connection_id":145617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555735,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:25:05] local.INFO: GPS data processed {"connection_id":145617,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:25:05] local.INFO: Acknowledgment sent {"connection_id":145617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:25:06] local.INFO: TCP Data received {"connection_id":144347,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fa47cd400012d96688006066098001000522b..."} 
[2026-07-27 22:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144347,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa47cd400012d96688006066098001000522b..."} 
[2026-07-27 22:25:06] local.INFO: Processing buffer {"connection_id":144347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa47cd400012d96688006066098001000522b..."} 
[2026-07-27 22:25:06] local.INFO: Packet analysis {"connection_id":144347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa47c"} 
[2026-07-27 22:25:06] local.INFO: Extracted packet for processing {"connection_id":144347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa47c"} 
[2026-07-27 22:25:06] local.INFO: GPS Element Parsed {"raw_longitude":764831872,"raw_latitude":101081240,"longitude_deg":76.4831872,"latitude_deg":10.108124,"altitude":16,"angle":82,"satellites":43,"speed":14,"hex_longitude":"2d966880","hex_latitude":"06066098","is_valid_coordinates":true} 
[2026-07-27 22:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:25:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003791104001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:25:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359474056707178496,"note":"Value kept but may cause issues"} 
[2026-07-27 22:25:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7615446206519017472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:25:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:25:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785171072000,"timestamp_ms":1785171072000,"timestamp_seconds":1785171072,"priority":1,"record_length":96,"hex_timestamp":"0000019fa47cd400"} 
[2026-07-27 22:25:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:25:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 22:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-27 22:25:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:25:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:25:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:25:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:25:06] local.INFO: Teltonika packet parsed successfully {"connection_id":144347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:25:06] local.INFO: Passing IMEI to GPS processor {"connection_id":144347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:25:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":144347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:25:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:25:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:25:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:25:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003791104001,"66":27365,"172":206,"79":48640,"24":14,"16":359474056707178496,"45":-7615446206519017472},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,79,24,16,45]} 
[2026-07-27 22:25:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:25:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:25:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003791104001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:25:06] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-07-27 22:25:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 22:25:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359474056707178496,"km_value":359474056707178.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:25:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7615446206519017472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:25:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003791104001,"power":27365,"unknown_172":206,"unknown_79":48640,"ignition":14,"odometer":null,"unknown_45":-7615446206519017472}} 
[2026-07-27 22:25:06] local.INFO: DEBUG: GPS processor result {"connection_id":144347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:25:06] local.INFO: GPS data processed {"connection_id":144347,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:25:06] local.INFO: Acknowledgment sent {"connection_id":144347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:25:36] local.INFO: TCP Data received {"connection_id":145617,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa47fecf8012d196940071fee20004101312a..."} 
[2026-07-27 22:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa47fecf8012d196940071fee20004101312a..."} 
[2026-07-27 22:25:36] local.INFO: Processing buffer {"connection_id":145617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa47fecf8012d196940071fee20004101312a..."} 
[2026-07-27 22:25:36] local.INFO: Packet analysis {"connection_id":145617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa47f"} 
[2026-07-27 22:25:36] local.INFO: Extracted packet for processing {"connection_id":145617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa47f"} 
[2026-07-27 22:25:36] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:25:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003769344001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:25:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:25:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:25:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:25:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785171275000,"timestamp_ms":1785171275000,"timestamp_seconds":1785171275,"priority":1,"record_length":96,"hex_timestamp":"0000019fa47fecf8"} 
[2026-07-27 22:25:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:25:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 22:25:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:25:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:25:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:25:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:25:36] local.INFO: Teltonika packet parsed successfully {"connection_id":145617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:25:36] local.INFO: Passing IMEI to GPS processor {"connection_id":145617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:25:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":145617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:25:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:25:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:25:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:25:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003769344001,"66":2144,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:25:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:25:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:25:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003769344001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:25:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:25:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:25:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:25:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:25:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003769344001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:25:36] local.INFO: DEBUG: GPS processor result {"connection_id":145617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555737,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:25:36] local.INFO: GPS data processed {"connection_id":145617,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:25:36] local.INFO: Acknowledgment sent {"connection_id":145617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:25:37] local.INFO: TCP Data received {"connection_id":144347,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fa47cdfb8012d966c0006066128001000462b..."} 
[2026-07-27 22:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144347,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa47cdfb8012d966c0006066128001000462b..."} 
[2026-07-27 22:25:37] local.INFO: Processing buffer {"connection_id":144347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa47cdfb8012d966c0006066128001000462b..."} 
[2026-07-27 22:25:37] local.INFO: Packet analysis {"connection_id":144347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa47c"} 
[2026-07-27 22:25:37] local.INFO: Extracted packet for processing {"connection_id":144347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa47c"} 
[2026-07-27 22:25:37] local.INFO: GPS Element Parsed {"raw_longitude":764832768,"raw_latitude":101081384,"longitude_deg":76.4832768,"latitude_deg":10.1081384,"altitude":16,"angle":70,"satellites":43,"speed":9,"hex_longitude":"2d966c00","hex_latitude":"06066128","is_valid_coordinates":true} 
[2026-07-27 22:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003794432001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359474099656851456,"note":"Value kept but may cause issues"} 
[2026-07-27 22:25:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7608690807077300224,"note":"Value kept but may cause issues"} 
[2026-07-27 22:25:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785171075000,"timestamp_ms":1785171075000,"timestamp_seconds":1785171075,"priority":1,"record_length":96,"hex_timestamp":"0000019fa47cdfb8"} 
[2026-07-27 22:25:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:25:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 22:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-27 22:25:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:25:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:25:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:25:37] 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-07-27 22:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003794432001,"66":27234,"172":206,"79":48640,"24":9,"16":359474099656851456,"45":-7608690807077300224},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,79,24,16,45]} 
[2026-07-27 22:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003794432001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:25:37] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-07-27 22:25:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 22:25:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359474099656851456,"km_value":359474099656851.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:25:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7608690807077300224,"description":"Unknown IO ID 45"} 
[2026-07-27 22:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003794432001,"power":27234,"unknown_172":206,"unknown_79":48640,"ignition":9,"odometer":null,"unknown_45":-7608690807077300224}} 
[2026-07-27 22:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":144347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:25:37] local.INFO: GPS data processed {"connection_id":144347,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:25:37] local.INFO: Acknowledgment sent {"connection_id":144347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:26:00] local.INFO: TCP Data received {"connection_id":143341,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:26:00] local.INFO: Processing buffer {"connection_id":143341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:26:00] local.INFO: IMEI packet received {"connection_id":143341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 22:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":143341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 22:26:04] local.INFO: TCP Data received {"connection_id":143342,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143342,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:26:04] local.INFO: Processing buffer {"connection_id":143342,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:26:04] local.INFO: IMEI packet received {"connection_id":143342,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 22:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":143342,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 22:26:05] local.INFO: TCP Data received {"connection_id":143341,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:26:05] local.INFO: Processing buffer {"connection_id":143341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:26:05] local.INFO: IMEI packet received {"connection_id":143341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 22:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":143341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:26:06] local.INFO: TCP Data received {"connection_id":143341,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fa47ce788012d966d8006066190001000532c..."} 
[2026-07-27 22:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143341,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa47ce788012d966d8006066190001000532c..."} 
[2026-07-27 22:26:06] local.INFO: Processing buffer {"connection_id":143341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa47ce788012d966d8006066190001000532c..."} 
[2026-07-27 22:26:06] local.INFO: Packet analysis {"connection_id":143341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa47c"} 
[2026-07-27 22:26:06] local.INFO: Extracted packet for processing {"connection_id":143341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa47c"} 
[2026-07-27 22:26:06] local.INFO: GPS Element Parsed {"raw_longitude":764833152,"raw_latitude":101081488,"longitude_deg":76.4833152,"latitude_deg":10.1081488,"altitude":16,"angle":83,"satellites":44,"speed":6,"hex_longitude":"2d966d80","hex_latitude":"06066190","is_valid_coordinates":true} 
[2026-07-27 22:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:26:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003795200001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:26:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359474121131687936,"note":"Value kept but may cause issues"} 
[2026-07-27 22:26:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7607705644658776064,"note":"Value kept but may cause issues"} 
[2026-07-27 22:26:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:26:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785171077000,"timestamp_ms":1785171077000,"timestamp_seconds":1785171077,"priority":1,"record_length":96,"hex_timestamp":"0000019fa47ce788"} 
[2026-07-27 22:26:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:26:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 22:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-27 22:26:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:26:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:26:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:26:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:26:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:26:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:26:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:26:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:26:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:26:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:26:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003795200001,"66":27376,"172":206,"79":48640,"24":6,"16":359474121131687936,"45":-7607705644658776064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,79,24,16,45]} 
[2026-07-27 22:26:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:26:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:26:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003795200001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:26:06] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-07-27 22:26:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 22:26:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359474121131687936,"km_value":359474121131687.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:26:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7607705644658776064,"description":"Unknown IO ID 45"} 
[2026-07-27 22:26:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003795200001,"power":27376,"unknown_172":206,"unknown_79":48640,"ignition":6,"odometer":null,"unknown_45":-7607705644658776064}} 
[2026-07-27 22:26:06] local.INFO: DEBUG: GPS processor result {"connection_id":143341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:26:06] local.INFO: GPS data processed {"connection_id":143341,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:26:06] local.INFO: Acknowledgment sent {"connection_id":143341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:26:09] local.INFO: TCP Data received {"connection_id":143342,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143342,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:26:09] local.INFO: Processing buffer {"connection_id":143342,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:26:09] local.INFO: IMEI packet received {"connection_id":143342,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 22:26:09] local.INFO: IMEI acknowledgment sent {"connection_id":143342,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:26:10] local.INFO: TCP Data received {"connection_id":143342,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa47fecf8012d196940071fee20004101312a..."} 
[2026-07-27 22:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa47fecf8012d196940071fee20004101312a..."} 
[2026-07-27 22:26:10] local.INFO: Processing buffer {"connection_id":143342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa47fecf8012d196940071fee20004101312a..."} 
[2026-07-27 22:26:10] local.INFO: Packet analysis {"connection_id":143342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa47f"} 
[2026-07-27 22:26:10] local.INFO: Extracted packet for processing {"connection_id":143342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa47f"} 
[2026-07-27 22:26:10] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22:26:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:26:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003769344001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:26:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:26:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:26:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:26:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785171275000,"timestamp_ms":1785171275000,"timestamp_seconds":1785171275,"priority":1,"record_length":96,"hex_timestamp":"0000019fa47fecf8"} 
[2026-07-27 22:26:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:26:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 22:26:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:26:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:26:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:26:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:26:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:26:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143342,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:26:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143342,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:26:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:26:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:26:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:26:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003769344001,"66":2144,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:26:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:26:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:26:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003769344001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:26:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:26:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:26:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:26:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:26:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003769344001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:26:10] local.INFO: DEBUG: GPS processor result {"connection_id":143342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555740,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:26:10] local.INFO: GPS data processed {"connection_id":143342,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:26:10] local.INFO: Acknowledgment sent {"connection_id":143342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:26:14] local.INFO: TCP Data received {"connection_id":143342,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa47fecf8012d196940071fee20004101312a..."} 
[2026-07-27 22:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa47fecf8012d196940071fee20004101312a..."} 
[2026-07-27 22:26:14] local.INFO: Processing buffer {"connection_id":143342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa47fecf8012d196940071fee20004101312a..."} 
[2026-07-27 22:26:14] local.INFO: Packet analysis {"connection_id":143342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa47f"} 
[2026-07-27 22:26:14] local.INFO: Extracted packet for processing {"connection_id":143342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa47f"} 
[2026-07-27 22:26:14] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22: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-07-27 22:26:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003769344001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:26:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:26:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:26:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:26:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785171275000,"timestamp_ms":1785171275000,"timestamp_seconds":1785171275,"priority":1,"record_length":96,"hex_timestamp":"0000019fa47fecf8"} 
[2026-07-27 22:26:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:26:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:26:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 22:26:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22: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-07-27 22:26:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:26:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:26:14] local.INFO: Teltonika packet parsed successfully {"connection_id":143342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:26:14] local.INFO: Passing IMEI to GPS processor {"connection_id":143342,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:26:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":143342,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:26:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:26:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:26:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:26:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003769344001,"66":2144,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:26:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:26:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:26:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003769344001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:26:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:26:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:26:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:26:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:26:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003769344001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:26:15] local.INFO: DEBUG: GPS processor result {"connection_id":143342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555741,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:26:15] local.INFO: GPS data processed {"connection_id":143342,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:26:15] local.INFO: Acknowledgment sent {"connection_id":143342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:26:38] local.INFO: TCP Data received {"connection_id":143341,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fa47d3990012d967100060660d8001200572c..."} 
[2026-07-27 22:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143341,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa47d3990012d967100060660d8001200572c..."} 
[2026-07-27 22:26:38] local.INFO: Processing buffer {"connection_id":143341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa47d3990012d967100060660d8001200572c..."} 
[2026-07-27 22:26:38] local.INFO: Packet analysis {"connection_id":143341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa47d"} 
[2026-07-27 22:26:38] local.INFO: Extracted packet for processing {"connection_id":143341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa47d"} 
[2026-07-27 22:26:38] local.INFO: GPS Element Parsed {"raw_longitude":764834048,"raw_latitude":101081304,"longitude_deg":76.4834048,"latitude_deg":10.1081304,"altitude":18,"angle":87,"satellites":44,"speed":0,"hex_longitude":"2d967100","hex_latitude":"060660d8","is_valid_coordinates":true} 
[2026-07-27 22:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:26:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003795712001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:26:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359474194146131968,"note":"Value kept but may cause issues"} 
[2026-07-27 22:26:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7607283432193683456,"note":"Value kept but may cause issues"} 
[2026-07-27 22:26:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:26:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785171098000,"timestamp_ms":1785171098000,"timestamp_seconds":1785171098,"priority":1,"record_length":96,"hex_timestamp":"0000019fa47d3990"} 
[2026-07-27 22:26:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:26:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 22:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-27 22:26:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:26:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:26:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:26:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:26:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:26:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:26:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:26:38] 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-07-27 22:26:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:26:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:26:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003795712001,"66":27245,"172":206,"79":48640,"24":0,"16":359474194146131968,"45":-7607283432193683456},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,79,24,16,45]} 
[2026-07-27 22:26:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:26:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:26:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003795712001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:26:38] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-07-27 22:26:38] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 22:26:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359474194146131968,"km_value":359474194146131.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:26:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7607283432193683456,"description":"Unknown IO ID 45"} 
[2026-07-27 22:26:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003795712001,"power":27245,"unknown_172":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7607283432193683456}} 
[2026-07-27 22:26:38] local.INFO: DEBUG: GPS processor result {"connection_id":143341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:26:38] local.INFO: GPS data processed {"connection_id":143341,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:26:38] local.INFO: Acknowledgment sent {"connection_id":143341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:26:59] local.INFO: TCP Data received {"connection_id":145618,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145618,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:26:59] local.INFO: Processing buffer {"connection_id":145618,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:26:59] local.INFO: IMEI packet received {"connection_id":145618,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 22:26:59] local.INFO: IMEI acknowledgment sent {"connection_id":145618,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 22:27:00] local.INFO: TCP Data received {"connection_id":143343,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:27:00] local.INFO: Processing buffer {"connection_id":143343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:27:00] local.INFO: IMEI packet received {"connection_id":143343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 22:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":143343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 22:27:04] local.INFO: TCP Data received {"connection_id":145618,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145618,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:27:04] local.INFO: Processing buffer {"connection_id":145618,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:27:04] local.INFO: IMEI packet received {"connection_id":145618,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 22:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":145618,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:27:05] local.INFO: TCP Data received {"connection_id":143343,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:27:05] local.INFO: Processing buffer {"connection_id":143343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:27:05] local.INFO: IMEI packet received {"connection_id":143343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 22:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":143343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:27:05] local.INFO: TCP Data received {"connection_id":145618,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa47fecf8012d196940071fee20004101312a..."} 
[2026-07-27 22:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa47fecf8012d196940071fee20004101312a..."} 
[2026-07-27 22:27:05] local.INFO: Processing buffer {"connection_id":145618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa47fecf8012d196940071fee20004101312a..."} 
[2026-07-27 22:27:05] local.INFO: Packet analysis {"connection_id":145618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa47f"} 
[2026-07-27 22:27:05] local.INFO: Extracted packet for processing {"connection_id":145618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa47f"} 
[2026-07-27 22:27:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22:27:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:27:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003769344001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:27:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:27:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:27:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:27:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785171275000,"timestamp_ms":1785171275000,"timestamp_seconds":1785171275,"priority":1,"record_length":96,"hex_timestamp":"0000019fa47fecf8"} 
[2026-07-27 22:27:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:27:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:27:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 22:27:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:27:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:27:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:27:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:27:05] local.INFO: Teltonika packet parsed successfully {"connection_id":145618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:27:05] local.INFO: Passing IMEI to GPS processor {"connection_id":145618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:27:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":145618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:27:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:27:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:27:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:27:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003769344001,"66":2144,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:27:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:27:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:27:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003769344001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:27:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:27:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:27:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:27:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:27:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003769344001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:27:05] local.INFO: DEBUG: GPS processor result {"connection_id":145618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555743,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:27:05] local.INFO: GPS data processed {"connection_id":145618,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:27:05] local.INFO: Acknowledgment sent {"connection_id":145618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:27:06] local.INFO: TCP Data received {"connection_id":143343,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fa47d8b98012d966d0006066198001300572d..."} 
[2026-07-27 22:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143343,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa47d8b98012d966d0006066198001300572d..."} 
[2026-07-27 22:27:06] local.INFO: Processing buffer {"connection_id":143343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa47d8b98012d966d0006066198001300572d..."} 
[2026-07-27 22:27:06] local.INFO: Packet analysis {"connection_id":143343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa47d"} 
[2026-07-27 22:27:06] local.INFO: Extracted packet for processing {"connection_id":143343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa47d"} 
[2026-07-27 22:27:06] local.INFO: GPS Element Parsed {"raw_longitude":764833024,"raw_latitude":101081496,"longitude_deg":76.4833024,"latitude_deg":10.1081496,"altitude":19,"angle":87,"satellites":45,"speed":0,"hex_longitude":"2d966d00","hex_latitude":"06066198","is_valid_coordinates":true} 
[2026-07-27 22:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:27:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003801088001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:27:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359474254275674112,"note":"Value kept but may cause issues"} 
[2026-07-27 22:27:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606298269775243264,"note":"Value kept but may cause issues"} 
[2026-07-27 22:27:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:27:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785171119000,"timestamp_ms":1785171119000,"timestamp_seconds":1785171119,"priority":1,"record_length":96,"hex_timestamp":"0000019fa47d8b98"} 
[2026-07-27 22:27:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:27:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 22:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-27 22:27:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:27:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:27:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:27:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:27:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:27:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:27:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:27:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:27:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:27:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:27:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003801088001,"66":27463,"172":206,"79":48640,"24":0,"16":359474254275674112,"45":-7606298269775243264},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,79,24,16,45]} 
[2026-07-27 22:27:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:27:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:27:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003801088001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:27:06] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-07-27 22:27:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 22:27:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359474254275674112,"km_value":359474254275674.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:27:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606298269775243264,"description":"Unknown IO ID 45"} 
[2026-07-27 22:27:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003801088001,"power":27463,"unknown_172":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606298269775243264}} 
[2026-07-27 22:27:06] local.INFO: DEBUG: GPS processor result {"connection_id":143343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:27:06] local.INFO: GPS data processed {"connection_id":143343,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:27:06] local.INFO: Acknowledgment sent {"connection_id":143343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:27:37] local.INFO: TCP Data received {"connection_id":145618,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa47fecf8012d196940071fee20004101312a..."} 
[2026-07-27 22:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa47fecf8012d196940071fee20004101312a..."} 
[2026-07-27 22:27:37] local.INFO: Processing buffer {"connection_id":145618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa47fecf8012d196940071fee20004101312a..."} 
[2026-07-27 22:27:37] local.INFO: Packet analysis {"connection_id":145618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa47f"} 
[2026-07-27 22:27:37] local.INFO: Extracted packet for processing {"connection_id":145618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa47f"} 
[2026-07-27 22:27:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:27:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003769344001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:27:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:27:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:27:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:27:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785171275000,"timestamp_ms":1785171275000,"timestamp_seconds":1785171275,"priority":1,"record_length":96,"hex_timestamp":"0000019fa47fecf8"} 
[2026-07-27 22:27:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:27:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 22:27:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:27:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:27:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:27:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:27:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:27:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:27:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:27:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:27:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:27:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:27:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003769344001,"66":2144,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:27:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:27:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:27:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003769344001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:27:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:27:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:27:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:27:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:27:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003769344001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:27:37] local.INFO: DEBUG: GPS processor result {"connection_id":145618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555745,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:27:37] local.INFO: GPS data processed {"connection_id":145618,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:27:37] local.INFO: Acknowledgment sent {"connection_id":145618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:27:38] local.INFO: TCP Data received {"connection_id":143343,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fa47ddda0012d966d0006066270001300572a..."} 
[2026-07-27 22:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143343,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa47ddda0012d966d0006066270001300572a..."} 
[2026-07-27 22:27:38] local.INFO: Processing buffer {"connection_id":143343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa47ddda0012d966d0006066270001300572a..."} 
[2026-07-27 22:27:38] local.INFO: Packet analysis {"connection_id":143343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa47d"} 
[2026-07-27 22:27:38] local.INFO: Extracted packet for processing {"connection_id":143343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa47d"} 
[2026-07-27 22:27:38] local.INFO: GPS Element Parsed {"raw_longitude":764833024,"raw_latitude":101081712,"longitude_deg":76.4833024,"latitude_deg":10.1081712,"altitude":19,"angle":87,"satellites":42,"speed":0,"hex_longitude":"2d966d00","hex_latitude":"06066270","is_valid_coordinates":true} 
[2026-07-27 22:27:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:27:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003806464001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:27:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359474288635412480,"note":"Value kept but may cause issues"} 
[2026-07-27 22:27:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7607424169682036736,"note":"Value kept but may cause issues"} 
[2026-07-27 22:27:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:27:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785171140000,"timestamp_ms":1785171140000,"timestamp_seconds":1785171140,"priority":1,"record_length":96,"hex_timestamp":"0000019fa47ddda0"} 
[2026-07-27 22:27:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:27:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 22:27:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-27 22:27:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:27:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:27:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:27:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:27:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:27:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:27:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:27:38] 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-07-27 22:27:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:27:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:27:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003806464001,"66":27876,"172":206,"79":48640,"24":0,"16":359474288635412480,"45":-7607424169682036736},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,79,24,16,45]} 
[2026-07-27 22:27:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:27:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:27:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003806464001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:27:38] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-07-27 22:27:38] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 22:27:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359474288635412480,"km_value":359474288635412.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:27:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7607424169682036736,"description":"Unknown IO ID 45"} 
[2026-07-27 22:27:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003806464001,"power":27876,"unknown_172":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7607424169682036736}} 
[2026-07-27 22:27:38] local.INFO: DEBUG: GPS processor result {"connection_id":143343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:27:38] local.INFO: GPS data processed {"connection_id":143343,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:27:38] local.INFO: Acknowledgment sent {"connection_id":143343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:27:59] local.INFO: TCP Data received {"connection_id":143198,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143198,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:27:59] local.INFO: Processing buffer {"connection_id":143198,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:27:59] local.INFO: IMEI packet received {"connection_id":143198,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 22:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":143198,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 22:28:04] local.INFO: TCP Data received {"connection_id":143198,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143198,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:28:04] local.INFO: Processing buffer {"connection_id":143198,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:28:04] local.INFO: IMEI packet received {"connection_id":143198,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 22:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":143198,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:28:05] local.INFO: TCP Data received {"connection_id":143198,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa47fecf8012d196940071fee20004101312a..."} 
[2026-07-27 22:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143198,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa47fecf8012d196940071fee20004101312a..."} 
[2026-07-27 22:28:05] local.INFO: Processing buffer {"connection_id":143198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa47fecf8012d196940071fee20004101312a..."} 
[2026-07-27 22:28:05] local.INFO: Packet analysis {"connection_id":143198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa47f"} 
[2026-07-27 22:28:05] local.INFO: Extracted packet for processing {"connection_id":143198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa47f"} 
[2026-07-27 22:28:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:28:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003769344001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:28:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:28:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:28:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:28:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785171275000,"timestamp_ms":1785171275000,"timestamp_seconds":1785171275,"priority":1,"record_length":96,"hex_timestamp":"0000019fa47fecf8"} 
[2026-07-27 22:28:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:28:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 22:28:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:28:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:28:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:28:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:28:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:28:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143198,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:28:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143198,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:28:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:28:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:28:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:28:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003769344001,"66":2144,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:28:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:28:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:28:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003769344001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:28:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:28:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:28:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:28:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:28:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003769344001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:28:05] local.INFO: DEBUG: GPS processor result {"connection_id":143198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555747,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:28:05] local.INFO: GPS data processed {"connection_id":143198,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:28:05] local.INFO: Acknowledgment sent {"connection_id":143198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:28:10] local.INFO: TCP Data received {"connection_id":145619,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:28:10] local.INFO: Processing buffer {"connection_id":145619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:28:10] local.INFO: IMEI packet received {"connection_id":145619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 22:28:10] local.INFO: IMEI acknowledgment sent {"connection_id":145619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 22:28:15] local.INFO: TCP Data received {"connection_id":145619,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:28:15] local.INFO: Processing buffer {"connection_id":145619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:28:15] local.INFO: IMEI packet received {"connection_id":145619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 22:28:15] local.INFO: IMEI acknowledgment sent {"connection_id":145619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:28:15] local.INFO: TCP Data received {"connection_id":145619,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fa47ded40012d966d40060662f0001300572b..."} 
[2026-07-27 22:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa47ded40012d966d40060662f0001300572b..."} 
[2026-07-27 22:28:15] local.INFO: Processing buffer {"connection_id":145619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa47ded40012d966d40060662f0001300572b..."} 
[2026-07-27 22:28:15] local.INFO: Packet analysis {"connection_id":145619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa47d"} 
[2026-07-27 22:28:15] local.INFO: Extracted packet for processing {"connection_id":145619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa47d"} 
[2026-07-27 22:28:15] local.INFO: GPS Element Parsed {"raw_longitude":764833088,"raw_latitude":101081840,"longitude_deg":76.4833088,"latitude_deg":10.108184,"altitude":19,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d966d40","hex_latitude":"060662f0","is_valid_coordinates":true} 
[2026-07-27 22:28:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:28:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003811840001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:28:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359474292930379776,"note":"Value kept but may cause issues"} 
[2026-07-27 22:28:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7607424169681981440,"note":"Value kept but may cause issues"} 
[2026-07-27 22:28:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:28:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785171144000,"timestamp_ms":1785171144000,"timestamp_seconds":1785171144,"priority":1,"record_length":96,"hex_timestamp":"0000019fa47ded40"} 
[2026-07-27 22:28:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:28:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 22:28:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-27 22:28:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:28:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:28:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:28:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:28:15] local.INFO: Teltonika packet parsed successfully {"connection_id":145619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:28:15] local.INFO: Passing IMEI to GPS processor {"connection_id":145619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:28:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":145619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:28: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-07-27 22:28:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:28:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:28:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003811840001,"66":27800,"172":206,"79":48640,"24":0,"16":359474292930379776,"45":-7607424169681981440},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,79,24,16,45]} 
[2026-07-27 22:28:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:28:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:28:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003811840001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:28:15] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-07-27 22:28:15] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 22:28:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359474292930379776,"km_value":359474292930379.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:28:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7607424169681981440,"description":"Unknown IO ID 45"} 
[2026-07-27 22:28:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003811840001,"power":27800,"unknown_172":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7607424169681981440}} 
[2026-07-27 22:28:15] local.INFO: DEBUG: GPS processor result {"connection_id":145619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:28:15] local.INFO: GPS data processed {"connection_id":145619,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:28:15] local.INFO: Acknowledgment sent {"connection_id":145619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:28:37] local.INFO: TCP Data received {"connection_id":143198,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa47fecf8012d196940071fee20004101312a..."} 
[2026-07-27 22:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143198,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa47fecf8012d196940071fee20004101312a..."} 
[2026-07-27 22:28:37] local.INFO: Processing buffer {"connection_id":143198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa47fecf8012d196940071fee20004101312a..."} 
[2026-07-27 22:28:37] local.INFO: Packet analysis {"connection_id":143198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa47f"} 
[2026-07-27 22:28:37] local.INFO: Extracted packet for processing {"connection_id":143198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa47f"} 
[2026-07-27 22:28:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:28:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003769344001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:28:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:28:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:28:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:28:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785171275000,"timestamp_ms":1785171275000,"timestamp_seconds":1785171275,"priority":1,"record_length":96,"hex_timestamp":"0000019fa47fecf8"} 
[2026-07-27 22:28:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:28:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 22:28:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:28:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:28:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:28:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:28:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:28:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143198,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:28:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143198,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:28:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:28:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:28:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:28:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003769344001,"66":2144,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:28:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:28:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:28:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003769344001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:28:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:28:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:28:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:28:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:28:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003769344001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:28:37] local.INFO: DEBUG: GPS processor result {"connection_id":143198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555749,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:28:37] local.INFO: GPS data processed {"connection_id":143198,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:28:37] local.INFO: Acknowledgment sent {"connection_id":143198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:28:58] local.INFO: TCP Data received {"connection_id":145620,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145620,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:28:58] local.INFO: Processing buffer {"connection_id":145620,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:28:58] local.INFO: IMEI packet received {"connection_id":145620,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 22:28:58] local.INFO: IMEI acknowledgment sent {"connection_id":145620,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 22:29:04] local.INFO: TCP Data received {"connection_id":145620,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145620,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:29:04] local.INFO: Processing buffer {"connection_id":145620,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:29:04] local.INFO: IMEI packet received {"connection_id":145620,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 22:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":145620,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:29:05] local.INFO: TCP Data received {"connection_id":145621,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:29:05] local.INFO: Processing buffer {"connection_id":145621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:29:05] local.INFO: IMEI packet received {"connection_id":145621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 22:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":145621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 22:29:05] local.INFO: TCP Data received {"connection_id":145620,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa47fecf8012d196940071fee20004101312a..."} 
[2026-07-27 22:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145620,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa47fecf8012d196940071fee20004101312a..."} 
[2026-07-27 22:29:05] local.INFO: Processing buffer {"connection_id":145620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa47fecf8012d196940071fee20004101312a..."} 
[2026-07-27 22:29:05] local.INFO: Packet analysis {"connection_id":145620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa47f"} 
[2026-07-27 22:29:05] local.INFO: Extracted packet for processing {"connection_id":145620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa47f"} 
[2026-07-27 22:29:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:29:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003769344001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:29:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:29:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:29:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:29:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785171275000,"timestamp_ms":1785171275000,"timestamp_seconds":1785171275,"priority":1,"record_length":96,"hex_timestamp":"0000019fa47fecf8"} 
[2026-07-27 22:29:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:29:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 22:29:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:29:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:29:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:29:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:29:05] local.INFO: Teltonika packet parsed successfully {"connection_id":145620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:29:05] local.INFO: Passing IMEI to GPS processor {"connection_id":145620,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:29:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":145620,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:29:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:29:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:29:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:29:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003769344001,"66":2144,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:29:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:29:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:29:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003769344001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:29:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:29:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:29:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:29:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:29:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003769344001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:29:05] local.INFO: DEBUG: GPS processor result {"connection_id":145620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555750,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:29:05] local.INFO: GPS data processed {"connection_id":145620,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:29:05] local.INFO: Acknowledgment sent {"connection_id":145620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:29:10] local.INFO: TCP Data received {"connection_id":145621,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:29:10] local.INFO: Processing buffer {"connection_id":145621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:29:10] local.INFO: IMEI packet received {"connection_id":145621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 22:29:10] local.INFO: IMEI acknowledgment sent {"connection_id":145621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:29:11] local.INFO: TCP Data received {"connection_id":145621,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fa48290c0012d966f0006066570001400572a..."} 
[2026-07-27 22:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa48290c0012d966f0006066570001400572a..."} 
[2026-07-27 22:29:11] local.INFO: Processing buffer {"connection_id":145621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa48290c0012d966f0006066570001400572a..."} 
[2026-07-27 22:29:11] local.INFO: Packet analysis {"connection_id":145621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa482"} 
[2026-07-27 22:29:11] local.INFO: Extracted packet for processing {"connection_id":145621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa482"} 
[2026-07-27 22:29:11] local.INFO: GPS Element Parsed {"raw_longitude":764833536,"raw_latitude":101082480,"longitude_deg":76.4833536,"latitude_deg":10.108248,"altitude":20,"angle":87,"satellites":42,"speed":0,"hex_longitude":"2d966f00","hex_latitude":"06066570","is_valid_coordinates":true} 
[2026-07-27 22:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:29:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003812864001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:29:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359474292930379776,"note":"Value kept but may cause issues"} 
[2026-07-27 22:29:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7607353800937771008,"note":"Value kept but may cause issues"} 
[2026-07-27 22:29:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:29:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785171448000,"timestamp_ms":1785171448000,"timestamp_seconds":1785171448,"priority":1,"record_length":96,"hex_timestamp":"0000019fa48290c0"} 
[2026-07-27 22:29:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:29:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-27 22:29:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:29:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:29:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:29:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:29:11] local.INFO: Teltonika packet parsed successfully {"connection_id":145621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:29:11] local.INFO: Passing IMEI to GPS processor {"connection_id":145621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:29:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":145621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:29: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-07-27 22:29:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:29:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:29:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003812864001,"66":26267,"172":206,"79":48640,"24":0,"16":359474292930379776,"45":-7607353800937771008},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,79,24,16,45]} 
[2026-07-27 22:29:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:29:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:29:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003812864001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:29:11] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-07-27 22:29:11] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 22:29:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359474292930379776,"km_value":359474292930379.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:29:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7607353800937771008,"description":"Unknown IO ID 45"} 
[2026-07-27 22:29:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003812864001,"power":26267,"unknown_172":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7607353800937771008}} 
[2026-07-27 22:29:11] local.INFO: DEBUG: GPS processor result {"connection_id":145621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:29:11] local.INFO: GPS data processed {"connection_id":145621,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:29:11] local.INFO: Acknowledgment sent {"connection_id":145621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:29:15] local.INFO: TCP Data received {"connection_id":145621,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fa48290c0012d966f0006066570001400572a..."} 
[2026-07-27 22:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa48290c0012d966f0006066570001400572a..."} 
[2026-07-27 22:29:15] local.INFO: Processing buffer {"connection_id":145621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa48290c0012d966f0006066570001400572a..."} 
[2026-07-27 22:29:15] local.INFO: Packet analysis {"connection_id":145621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa482"} 
[2026-07-27 22:29:15] local.INFO: Extracted packet for processing {"connection_id":145621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa482"} 
[2026-07-27 22:29:15] local.INFO: GPS Element Parsed {"raw_longitude":764833536,"raw_latitude":101082480,"longitude_deg":76.4833536,"latitude_deg":10.108248,"altitude":20,"angle":87,"satellites":42,"speed":0,"hex_longitude":"2d966f00","hex_latitude":"06066570","is_valid_coordinates":true} 
[2026-07-27 22: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-07-27 22:29:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003812864001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:29:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359474292930379776,"note":"Value kept but may cause issues"} 
[2026-07-27 22:29:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7607353800937771008,"note":"Value kept but may cause issues"} 
[2026-07-27 22:29:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:29:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785171448000,"timestamp_ms":1785171448000,"timestamp_seconds":1785171448,"priority":1,"record_length":96,"hex_timestamp":"0000019fa48290c0"} 
[2026-07-27 22:29:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:29:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-27 22:29:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22: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-07-27 22:29:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:29:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:29:15] local.INFO: Teltonika packet parsed successfully {"connection_id":145621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:29:15] local.INFO: Passing IMEI to GPS processor {"connection_id":145621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:29:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":145621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:29: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-07-27 22:29:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:29:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:29:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003812864001,"66":26267,"172":206,"79":48640,"24":0,"16":359474292930379776,"45":-7607353800937771008},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,79,24,16,45]} 
[2026-07-27 22:29:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:29:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:29:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003812864001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:29:15] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-07-27 22:29:15] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 22:29:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359474292930379776,"km_value":359474292930379.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:29:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7607353800937771008,"description":"Unknown IO ID 45"} 
[2026-07-27 22:29:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003812864001,"power":26267,"unknown_172":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7607353800937771008}} 
[2026-07-27 22:29:15] local.INFO: DEBUG: GPS processor result {"connection_id":145621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:29:15] local.INFO: GPS data processed {"connection_id":145621,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:29:15] local.INFO: Acknowledgment sent {"connection_id":145621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:29:27] local.INFO: TCP Data received {"connection_id":144348,"ip":"194.165.16.162","data_length":47,"data_hex":"0300002f2ae00000000000436f6f6b69653a206d737473686173683d41646d69..."} 
[2026-07-27 22:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144348,"packet_length":47,"packet_hex":"0300002f2ae00000000000436f6f6b69653a206d737473686173683d41646d69..."} 
[2026-07-27 22:29:27] local.INFO: Processing buffer {"connection_id":144348,"buffer_length":47,"buffer_hex":"0300002f2ae00000000000436f6f6b69653a206d737473686173683d41646d69..."} 
[2026-07-27 22:29:27] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":144348,"buffer_length":47,"first_bytes_hex":"0300002f2ae00000000000436f6f6b69"} 
[2026-07-27 22:29:37] local.INFO: TCP Data received {"connection_id":145620,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa47fecf8012d196940071fee20004101312a..."} 
[2026-07-27 22:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145620,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa47fecf8012d196940071fee20004101312a..."} 
[2026-07-27 22:29:37] local.INFO: Processing buffer {"connection_id":145620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa47fecf8012d196940071fee20004101312a..."} 
[2026-07-27 22:29:37] local.INFO: Packet analysis {"connection_id":145620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa47f"} 
[2026-07-27 22:29:37] local.INFO: Extracted packet for processing {"connection_id":145620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa47f"} 
[2026-07-27 22:29:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003769344001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:29:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:29:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:29:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:29:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785171275000,"timestamp_ms":1785171275000,"timestamp_seconds":1785171275,"priority":1,"record_length":96,"hex_timestamp":"0000019fa47fecf8"} 
[2026-07-27 22:29:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:29:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 22:29:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:29:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:29:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:29:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:29:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:29:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145620,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:29:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145620,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:29:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:29:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:29:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:29:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003769344001,"66":2144,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:29:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:29:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:29:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003769344001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:29:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:29:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:29:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:29:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:29:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003769344001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:29:37] local.INFO: DEBUG: GPS processor result {"connection_id":145620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555753,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:29:37] local.INFO: GPS data processed {"connection_id":145620,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:29:37] local.INFO: Acknowledgment sent {"connection_id":145620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:29:58] local.INFO: TCP Data received {"connection_id":143200,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143200,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:29:58] local.INFO: Processing buffer {"connection_id":143200,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:29:58] local.INFO: IMEI packet received {"connection_id":143200,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 22:29:58] local.INFO: IMEI acknowledgment sent {"connection_id":143200,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 22:30:00] local.INFO: TCP Data received {"connection_id":143199,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:30:00] local.INFO: Processing buffer {"connection_id":143199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:30:00] local.INFO: IMEI packet received {"connection_id":143199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 22:30:00] local.INFO: IMEI acknowledgment sent {"connection_id":143199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 22:30:03] local.INFO: TCP Data received {"connection_id":143200,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143200,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:30:03] local.INFO: Processing buffer {"connection_id":143200,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:30:03] local.INFO: IMEI packet received {"connection_id":143200,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 22:30:03] local.INFO: IMEI acknowledgment sent {"connection_id":143200,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:30:05] local.INFO: TCP Data received {"connection_id":143200,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa47fecf8012d196940071fee20004101312a..."} 
[2026-07-27 22:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143200,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa47fecf8012d196940071fee20004101312a..."} 
[2026-07-27 22:30:05] local.INFO: Processing buffer {"connection_id":143200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa47fecf8012d196940071fee20004101312a..."} 
[2026-07-27 22:30:05] local.INFO: Packet analysis {"connection_id":143200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa47f"} 
[2026-07-27 22:30:05] local.INFO: Extracted packet for processing {"connection_id":143200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa47f"} 
[2026-07-27 22:30:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:30:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003769344001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:30:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:30:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:30:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:30:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785171275000,"timestamp_ms":1785171275000,"timestamp_seconds":1785171275,"priority":1,"record_length":96,"hex_timestamp":"0000019fa47fecf8"} 
[2026-07-27 22:30:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:30:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 22:30:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:30:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:30:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:30:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:30:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:30:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143200,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:30:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143200,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:30:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:30:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:30:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:30:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003769344001,"66":2144,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:30:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:30:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:30:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003769344001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:30:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:30:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:30:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:30:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:30:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003769344001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:30:05] local.INFO: DEBUG: GPS processor result {"connection_id":143200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555754,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:30:05] local.INFO: GPS data processed {"connection_id":143200,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:30:05] local.INFO: Acknowledgment sent {"connection_id":143200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:30:05] local.INFO: TCP Data received {"connection_id":143199,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:30:05] local.INFO: Processing buffer {"connection_id":143199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:30:05] local.INFO: IMEI packet received {"connection_id":143199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 22:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":143199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:30:08] local.INFO: TCP Data received {"connection_id":143199,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fa48290c0012d966f0006066570001400572a..."} 
[2026-07-27 22:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143199,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa48290c0012d966f0006066570001400572a..."} 
[2026-07-27 22:30:08] local.INFO: Processing buffer {"connection_id":143199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa48290c0012d966f0006066570001400572a..."} 
[2026-07-27 22:30:08] local.INFO: Packet analysis {"connection_id":143199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa482"} 
[2026-07-27 22:30:08] local.INFO: Extracted packet for processing {"connection_id":143199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa482"} 
[2026-07-27 22:30:08] local.INFO: GPS Element Parsed {"raw_longitude":764833536,"raw_latitude":101082480,"longitude_deg":76.4833536,"latitude_deg":10.108248,"altitude":20,"angle":87,"satellites":42,"speed":0,"hex_longitude":"2d966f00","hex_latitude":"06066570","is_valid_coordinates":true} 
[2026-07-27 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-07-27 22:30:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003812864001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:30:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359474292930379776,"note":"Value kept but may cause issues"} 
[2026-07-27 22:30:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7607353800937771008,"note":"Value kept but may cause issues"} 
[2026-07-27 22:30:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:30:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785171448000,"timestamp_ms":1785171448000,"timestamp_seconds":1785171448,"priority":1,"record_length":96,"hex_timestamp":"0000019fa48290c0"} 
[2026-07-27 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-07-27 22:30:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-27 22:30:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 22:30:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:30:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:30:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:30:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:30:08] 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-07-27 22:30:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:30:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:30:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003812864001,"66":26267,"172":206,"79":48640,"24":0,"16":359474292930379776,"45":-7607353800937771008},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,79,24,16,45]} 
[2026-07-27 22:30:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:30:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:30:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003812864001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:30:08] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-07-27 22:30:08] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 22:30:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359474292930379776,"km_value":359474292930379.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:30:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7607353800937771008,"description":"Unknown IO ID 45"} 
[2026-07-27 22:30:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003812864001,"power":26267,"unknown_172":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7607353800937771008}} 
[2026-07-27 22:30:08] local.INFO: DEBUG: GPS processor result {"connection_id":143199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:30:08] local.INFO: GPS data processed {"connection_id":143199,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:30:08] local.INFO: Acknowledgment sent {"connection_id":143199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:30:36] local.INFO: TCP Data received {"connection_id":143200,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa48484c0012d196940071fee20004101312d..."} 
[2026-07-27 22:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143200,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa48484c0012d196940071fee20004101312d..."} 
[2026-07-27 22:30:36] local.INFO: Processing buffer {"connection_id":143200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa48484c0012d196940071fee20004101312d..."} 
[2026-07-27 22:30:36] local.INFO: Packet analysis {"connection_id":143200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa484"} 
[2026-07-27 22:30:36] local.INFO: Extracted packet for processing {"connection_id":143200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa484"} 
[2026-07-27 22:30:36] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":45,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22:30:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:30:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003846400001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:30:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:30:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:30:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:30:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785171576000,"timestamp_ms":1785171576000,"timestamp_seconds":1785171576,"priority":1,"record_length":96,"hex_timestamp":"0000019fa48484c0"} 
[2026-07-27 22:30:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:30:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:30:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-27 22:30:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:30:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:30:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:30:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:30:36] local.INFO: Teltonika packet parsed successfully {"connection_id":143200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:30:36] local.INFO: Passing IMEI to GPS processor {"connection_id":143200,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:30:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":143200,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:30:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:30:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:30:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:30:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003846400001,"66":2133,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:30:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:30:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:30:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003846400001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:30:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:30:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:30:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:30:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:30:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003846400001,"power":2133,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:30:36] local.INFO: DEBUG: GPS processor result {"connection_id":143200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555756,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:30:36] local.INFO: GPS data processed {"connection_id":143200,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:30:36] local.INFO: Acknowledgment sent {"connection_id":143200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:30:39] local.INFO: TCP Data received {"connection_id":143199,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fa48290c0012d966f0006066570001400572a..."} 
[2026-07-27 22:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143199,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa48290c0012d966f0006066570001400572a..."} 
[2026-07-27 22:30:39] local.INFO: Processing buffer {"connection_id":143199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa48290c0012d966f0006066570001400572a..."} 
[2026-07-27 22:30:39] local.INFO: Packet analysis {"connection_id":143199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa482"} 
[2026-07-27 22:30:39] local.INFO: Extracted packet for processing {"connection_id":143199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa482"} 
[2026-07-27 22:30:39] local.INFO: GPS Element Parsed {"raw_longitude":764833536,"raw_latitude":101082480,"longitude_deg":76.4833536,"latitude_deg":10.108248,"altitude":20,"angle":87,"satellites":42,"speed":0,"hex_longitude":"2d966f00","hex_latitude":"06066570","is_valid_coordinates":true} 
[2026-07-27 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-07-27 22:30:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003812864001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:30:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359474292930379776,"note":"Value kept but may cause issues"} 
[2026-07-27 22:30:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7607353800937771008,"note":"Value kept but may cause issues"} 
[2026-07-27 22:30:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:30:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785171448000,"timestamp_ms":1785171448000,"timestamp_seconds":1785171448,"priority":1,"record_length":96,"hex_timestamp":"0000019fa48290c0"} 
[2026-07-27 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-07-27 22:30:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-27 22:30:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 22:30:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:30:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:30:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:30:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:30:39] 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-07-27 22:30:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:30:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:30:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003812864001,"66":26267,"172":206,"79":48640,"24":0,"16":359474292930379776,"45":-7607353800937771008},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,79,24,16,45]} 
[2026-07-27 22:30:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:30:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:30:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003812864001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:30:39] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-07-27 22:30:39] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 22:30:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359474292930379776,"km_value":359474292930379.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:30:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7607353800937771008,"description":"Unknown IO ID 45"} 
[2026-07-27 22:30:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003812864001,"power":26267,"unknown_172":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7607353800937771008}} 
[2026-07-27 22:30:39] local.INFO: DEBUG: GPS processor result {"connection_id":143199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:30:39] local.INFO: GPS data processed {"connection_id":143199,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:30:39] local.INFO: Acknowledgment sent {"connection_id":143199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:30:59] local.INFO: TCP Data received {"connection_id":143201,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143201,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:30:59] local.INFO: Processing buffer {"connection_id":143201,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:30:59] local.INFO: IMEI packet received {"connection_id":143201,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 22:30:59] local.INFO: IMEI acknowledgment sent {"connection_id":143201,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 22:31:00] local.INFO: TCP Data received {"connection_id":144349,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:31:00] local.INFO: Processing buffer {"connection_id":144349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:31:00] local.INFO: IMEI packet received {"connection_id":144349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 22:31:00] local.INFO: IMEI acknowledgment sent {"connection_id":144349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 22:31:04] local.INFO: TCP Data received {"connection_id":143201,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143201,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:31:04] local.INFO: Processing buffer {"connection_id":143201,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:31:04] local.INFO: IMEI packet received {"connection_id":143201,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 22:31:04] local.INFO: IMEI acknowledgment sent {"connection_id":143201,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:31:05] local.INFO: TCP Data received {"connection_id":143201,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa48484c0012d196940071fee20004101312d..."} 
[2026-07-27 22:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa48484c0012d196940071fee20004101312d..."} 
[2026-07-27 22:31:05] local.INFO: Processing buffer {"connection_id":143201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa48484c0012d196940071fee20004101312d..."} 
[2026-07-27 22:31:05] local.INFO: Packet analysis {"connection_id":143201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa484"} 
[2026-07-27 22:31:05] local.INFO: Extracted packet for processing {"connection_id":143201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa484"} 
[2026-07-27 22:31:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":45,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:31:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003846400001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:31:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:31:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:31:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:31:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785171576000,"timestamp_ms":1785171576000,"timestamp_seconds":1785171576,"priority":1,"record_length":96,"hex_timestamp":"0000019fa48484c0"} 
[2026-07-27 22:31:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:31:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-27 22:31:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:31:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:31:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:31:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:31:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:31:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143201,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:31:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143201,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:31:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:31:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:31:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:31:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003846400001,"66":2133,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:31:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:31:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:31:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003846400001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:31:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:31:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:31:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:31:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:31:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003846400001,"power":2133,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:31:05] local.INFO: TCP Data received {"connection_id":144349,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:31:05] local.INFO: Processing buffer {"connection_id":144349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:31:05] local.INFO: IMEI packet received {"connection_id":144349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 22:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":144349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:31:05] local.INFO: DEBUG: GPS processor result {"connection_id":143201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555758,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:31:05] local.INFO: GPS data processed {"connection_id":143201,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:31:05] local.INFO: Acknowledgment sent {"connection_id":143201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:31:06] local.INFO: TCP Data received {"connection_id":144349,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa48290c0012d966f0006066570001400572a..."} 
[2026-07-27 22:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144349,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa48290c0012d966f0006066570001400572a..."} 
[2026-07-27 22:31:06] local.INFO: Processing buffer {"connection_id":144349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa48290c0012d966f0006066570001400572a..."} 
[2026-07-27 22:31:06] local.INFO: Packet analysis {"connection_id":144349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa482"} 
[2026-07-27 22:31:06] local.INFO: Extracted packet for processing {"connection_id":144349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa482"} 
[2026-07-27 22:31:06] local.INFO: GPS Element Parsed {"raw_longitude":764833536,"raw_latitude":101082480,"longitude_deg":76.4833536,"latitude_deg":10.108248,"altitude":20,"angle":87,"satellites":42,"speed":0,"hex_longitude":"2d966f00","hex_latitude":"06066570","is_valid_coordinates":true} 
[2026-07-27 22:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003812864001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359474292930379776,"note":"Value kept but may cause issues"} 
[2026-07-27 22:31:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7607353800937771008,"note":"Value kept but may cause issues"} 
[2026-07-27 22:31:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785171448000,"timestamp_ms":1785171448000,"timestamp_seconds":1785171448,"priority":1,"record_length":96,"hex_timestamp":"0000019fa48290c0"} 
[2026-07-27 22:31:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:31:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-27 22:31:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:31:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:31:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":144349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":144349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":144349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:31:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003812864001,"66":26267,"172":206,"79":48640,"24":0,"16":359474292930379776,"45":-7607353800937771008},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,79,24,16,45]} 
[2026-07-27 22:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003812864001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:31:06] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-07-27 22:31:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 22:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359474292930379776,"km_value":359474292930379.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:31:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7607353800937771008,"description":"Unknown IO ID 45"} 
[2026-07-27 22:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003812864001,"power":26267,"unknown_172":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7607353800937771008}} 
[2026-07-27 22:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":144349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:31:06] local.INFO: GPS data processed {"connection_id":144349,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:31:06] local.INFO: Acknowledgment sent {"connection_id":144349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:31:37] local.INFO: TCP Data received {"connection_id":143201,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa48484c0012d196940071fee20004101312d..."} 
[2026-07-27 22:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa48484c0012d196940071fee20004101312d..."} 
[2026-07-27 22:31:37] local.INFO: Processing buffer {"connection_id":143201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa48484c0012d196940071fee20004101312d..."} 
[2026-07-27 22:31:37] local.INFO: Packet analysis {"connection_id":143201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa484"} 
[2026-07-27 22:31:37] local.INFO: Extracted packet for processing {"connection_id":143201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa484"} 
[2026-07-27 22:31:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":45,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:31:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003846400001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:31:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:31:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:31:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:31:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785171576000,"timestamp_ms":1785171576000,"timestamp_seconds":1785171576,"priority":1,"record_length":96,"hex_timestamp":"0000019fa48484c0"} 
[2026-07-27 22:31:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:31:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-27 22:31:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:31:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:31:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:31:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:31:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:31:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143201,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:31:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143201,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:31:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:31:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:31:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:31:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003846400001,"66":2133,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:31:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:31:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:31:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003846400001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:31:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:31:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:31:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:31:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:31:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003846400001,"power":2133,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:31:37] local.INFO: DEBUG: GPS processor result {"connection_id":143201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555760,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:31:37] local.INFO: GPS data processed {"connection_id":143201,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:31:37] local.INFO: Acknowledgment sent {"connection_id":143201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:31:38] local.INFO: TCP Data received {"connection_id":144349,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa48290c0012d966f0006066570001400572a..."} 
[2026-07-27 22:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144349,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa48290c0012d966f0006066570001400572a..."} 
[2026-07-27 22:31:38] local.INFO: Processing buffer {"connection_id":144349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa48290c0012d966f0006066570001400572a..."} 
[2026-07-27 22:31:38] local.INFO: Packet analysis {"connection_id":144349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa482"} 
[2026-07-27 22:31:38] local.INFO: Extracted packet for processing {"connection_id":144349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa482"} 
[2026-07-27 22:31:38] local.INFO: GPS Element Parsed {"raw_longitude":764833536,"raw_latitude":101082480,"longitude_deg":76.4833536,"latitude_deg":10.108248,"altitude":20,"angle":87,"satellites":42,"speed":0,"hex_longitude":"2d966f00","hex_latitude":"06066570","is_valid_coordinates":true} 
[2026-07-27 22:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:31:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003812864001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:31:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359474292930379776,"note":"Value kept but may cause issues"} 
[2026-07-27 22:31:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7607353800937771008,"note":"Value kept but may cause issues"} 
[2026-07-27 22:31:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:31:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785171448000,"timestamp_ms":1785171448000,"timestamp_seconds":1785171448,"priority":1,"record_length":96,"hex_timestamp":"0000019fa48290c0"} 
[2026-07-27 22:31:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:31:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-27 22:31:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:31:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:31:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:31:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:31:38] local.INFO: Teltonika packet parsed successfully {"connection_id":144349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:31:38] local.INFO: Passing IMEI to GPS processor {"connection_id":144349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:31:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":144349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:31:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:31:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:31:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:31:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003812864001,"66":26267,"172":206,"79":48640,"24":0,"16":359474292930379776,"45":-7607353800937771008},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,79,24,16,45]} 
[2026-07-27 22:31:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:31:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:31:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003812864001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:31:38] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-07-27 22:31:38] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 22:31:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359474292930379776,"km_value":359474292930379.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:31:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7607353800937771008,"description":"Unknown IO ID 45"} 
[2026-07-27 22:31:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003812864001,"power":26267,"unknown_172":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7607353800937771008}} 
[2026-07-27 22:31:38] local.INFO: DEBUG: GPS processor result {"connection_id":144349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:31:38] local.INFO: GPS data processed {"connection_id":144349,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:31:38] local.INFO: Acknowledgment sent {"connection_id":144349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:31:59] local.INFO: TCP Data received {"connection_id":143344,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143344,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:31:59] local.INFO: Processing buffer {"connection_id":143344,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:31:59] local.INFO: IMEI packet received {"connection_id":143344,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 22:31:59] local.INFO: IMEI acknowledgment sent {"connection_id":143344,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 22:32:00] local.INFO: TCP Data received {"connection_id":144350,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:32:00] local.INFO: Processing buffer {"connection_id":144350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:32:00] local.INFO: IMEI packet received {"connection_id":144350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 22:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":144350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 22:32:04] local.INFO: TCP Data received {"connection_id":143344,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143344,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:32:04] local.INFO: Processing buffer {"connection_id":143344,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:32:04] local.INFO: IMEI packet received {"connection_id":143344,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 22:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":143344,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:32:05] local.INFO: TCP Data received {"connection_id":143344,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa48484c0012d196940071fee20004101312d..."} 
[2026-07-27 22:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143344,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa48484c0012d196940071fee20004101312d..."} 
[2026-07-27 22:32:05] local.INFO: Processing buffer {"connection_id":143344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa48484c0012d196940071fee20004101312d..."} 
[2026-07-27 22:32:05] local.INFO: Packet analysis {"connection_id":143344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa484"} 
[2026-07-27 22:32:05] local.INFO: Extracted packet for processing {"connection_id":143344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa484"} 
[2026-07-27 22:32:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":45,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:32:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003846400001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:32:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:32:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:32:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:32:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785171576000,"timestamp_ms":1785171576000,"timestamp_seconds":1785171576,"priority":1,"record_length":96,"hex_timestamp":"0000019fa48484c0"} 
[2026-07-27 22:32:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:32:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-27 22:32:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:32:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:32:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:32:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:32:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:32:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143344,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:32:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143344,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:32:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:32:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:32:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:32:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003846400001,"66":2133,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:32:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:32:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:32:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003846400001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:32:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:32:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:32:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:32:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:32:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003846400001,"power":2133,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:32:05] local.INFO: TCP Data received {"connection_id":144350,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:32:05] local.INFO: Processing buffer {"connection_id":144350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:32:05] local.INFO: IMEI packet received {"connection_id":144350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 22:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":144350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:32:05] local.INFO: DEBUG: GPS processor result {"connection_id":143344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555762,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:32:05] local.INFO: GPS data processed {"connection_id":143344,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:32:05] local.INFO: Acknowledgment sent {"connection_id":143344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:32:06] local.INFO: TCP Data received {"connection_id":144350,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa48290c0012d966f0006066570001400572a..."} 
[2026-07-27 22:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144350,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa48290c0012d966f0006066570001400572a..."} 
[2026-07-27 22:32:06] local.INFO: Processing buffer {"connection_id":144350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa48290c0012d966f0006066570001400572a..."} 
[2026-07-27 22:32:06] local.INFO: Packet analysis {"connection_id":144350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa482"} 
[2026-07-27 22:32:06] local.INFO: Extracted packet for processing {"connection_id":144350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa482"} 
[2026-07-27 22:32:06] local.INFO: GPS Element Parsed {"raw_longitude":764833536,"raw_latitude":101082480,"longitude_deg":76.4833536,"latitude_deg":10.108248,"altitude":20,"angle":87,"satellites":42,"speed":0,"hex_longitude":"2d966f00","hex_latitude":"06066570","is_valid_coordinates":true} 
[2026-07-27 22:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:32:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003812864001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:32:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359474292930379776,"note":"Value kept but may cause issues"} 
[2026-07-27 22:32:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7607353800937771008,"note":"Value kept but may cause issues"} 
[2026-07-27 22:32:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:32:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785171448000,"timestamp_ms":1785171448000,"timestamp_seconds":1785171448,"priority":1,"record_length":96,"hex_timestamp":"0000019fa48290c0"} 
[2026-07-27 22:32:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:32:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-27 22:32:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:32:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:32:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:32:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:32:06] local.INFO: Teltonika packet parsed successfully {"connection_id":144350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:32:06] local.INFO: Passing IMEI to GPS processor {"connection_id":144350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:32:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":144350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:32:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:32:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:32:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:32:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003812864001,"66":26267,"172":206,"79":48640,"24":0,"16":359474292930379776,"45":-7607353800937771008},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,79,24,16,45]} 
[2026-07-27 22:32:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:32:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:32:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003812864001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:32:06] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-07-27 22:32:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 22:32:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359474292930379776,"km_value":359474292930379.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:32:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7607353800937771008,"description":"Unknown IO ID 45"} 
[2026-07-27 22:32:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003812864001,"power":26267,"unknown_172":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7607353800937771008}} 
[2026-07-27 22:32:06] local.INFO: DEBUG: GPS processor result {"connection_id":144350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:32:06] local.INFO: GPS data processed {"connection_id":144350,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:32:06] local.INFO: Acknowledgment sent {"connection_id":144350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:32:37] local.INFO: TCP Data received {"connection_id":143344,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa48484c0012d196940071fee20004101312d..."} 
[2026-07-27 22:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143344,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa48484c0012d196940071fee20004101312d..."} 
[2026-07-27 22:32:37] local.INFO: Processing buffer {"connection_id":143344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa48484c0012d196940071fee20004101312d..."} 
[2026-07-27 22:32:37] local.INFO: Packet analysis {"connection_id":143344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa484"} 
[2026-07-27 22:32:37] local.INFO: Extracted packet for processing {"connection_id":143344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa484"} 
[2026-07-27 22:32:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":45,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:32:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003846400001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:32:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:32:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:32:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:32:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785171576000,"timestamp_ms":1785171576000,"timestamp_seconds":1785171576,"priority":1,"record_length":96,"hex_timestamp":"0000019fa48484c0"} 
[2026-07-27 22:32:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:32:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-27 22:32:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:32:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:32:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:32:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:32:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:32:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143344,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:32:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143344,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:32:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:32:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:32:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:32:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003846400001,"66":2133,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:32:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:32:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:32:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003846400001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:32:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:32:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:32:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:32:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:32:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003846400001,"power":2133,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:32:37] local.INFO: DEBUG: GPS processor result {"connection_id":143344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555764,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:32:37] local.INFO: GPS data processed {"connection_id":143344,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:32:37] local.INFO: Acknowledgment sent {"connection_id":143344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:32:39] local.INFO: TCP Data received {"connection_id":144350,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa48290c0012d966f0006066570001400572a..."} 
[2026-07-27 22:32:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144350,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa48290c0012d966f0006066570001400572a..."} 
[2026-07-27 22:32:39] local.INFO: Processing buffer {"connection_id":144350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa48290c0012d966f0006066570001400572a..."} 
[2026-07-27 22:32:39] local.INFO: Packet analysis {"connection_id":144350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa482"} 
[2026-07-27 22:32:39] local.INFO: Extracted packet for processing {"connection_id":144350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa482"} 
[2026-07-27 22:32:39] local.INFO: GPS Element Parsed {"raw_longitude":764833536,"raw_latitude":101082480,"longitude_deg":76.4833536,"latitude_deg":10.108248,"altitude":20,"angle":87,"satellites":42,"speed":0,"hex_longitude":"2d966f00","hex_latitude":"06066570","is_valid_coordinates":true} 
[2026-07-27 22: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-07-27 22:32:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003812864001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:32:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359474292930379776,"note":"Value kept but may cause issues"} 
[2026-07-27 22:32:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7607353800937771008,"note":"Value kept but may cause issues"} 
[2026-07-27 22:32:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:32:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785171448000,"timestamp_ms":1785171448000,"timestamp_seconds":1785171448,"priority":1,"record_length":96,"hex_timestamp":"0000019fa48290c0"} 
[2026-07-27 22:32:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:32:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-27 22:32:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22: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-07-27 22:32:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:32:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:32:39] local.INFO: Teltonika packet parsed successfully {"connection_id":144350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:32:39] local.INFO: Passing IMEI to GPS processor {"connection_id":144350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:32:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":144350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:32:39] 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-07-27 22:32:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:32:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:32:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003812864001,"66":26267,"172":206,"79":48640,"24":0,"16":359474292930379776,"45":-7607353800937771008},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,79,24,16,45]} 
[2026-07-27 22:32:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:32:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:32:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003812864001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:32:39] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-07-27 22:32:39] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 22:32:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359474292930379776,"km_value":359474292930379.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:32:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7607353800937771008,"description":"Unknown IO ID 45"} 
[2026-07-27 22:32:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003812864001,"power":26267,"unknown_172":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7607353800937771008}} 
[2026-07-27 22:32:39] local.INFO: DEBUG: GPS processor result {"connection_id":144350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:32:39] local.INFO: GPS data processed {"connection_id":144350,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:32:39] local.INFO: Acknowledgment sent {"connection_id":144350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:33:00] local.INFO: TCP Data received {"connection_id":145623,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:33:00] local.INFO: Processing buffer {"connection_id":145623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:33:00] local.INFO: IMEI packet received {"connection_id":145623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 22:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":145623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 22:33:00] local.INFO: TCP Data received {"connection_id":145622,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145622,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:33:00] local.INFO: Processing buffer {"connection_id":145622,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:33:00] local.INFO: IMEI packet received {"connection_id":145622,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 22:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":145622,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 22:33:04] local.INFO: TCP Data received {"connection_id":145622,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145622,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:33:04] local.INFO: Processing buffer {"connection_id":145622,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:33:04] local.INFO: IMEI packet received {"connection_id":145622,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 22:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":145622,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:33:05] local.INFO: TCP Data received {"connection_id":145623,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:33:05] local.INFO: Processing buffer {"connection_id":145623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:33:05] local.INFO: IMEI packet received {"connection_id":145623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 22:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":145623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:33:05] local.INFO: TCP Data received {"connection_id":145622,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa48484c0012d196940071fee20004101312d..."} 
[2026-07-27 22:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa48484c0012d196940071fee20004101312d..."} 
[2026-07-27 22:33:05] local.INFO: Processing buffer {"connection_id":145622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa48484c0012d196940071fee20004101312d..."} 
[2026-07-27 22:33:05] local.INFO: Packet analysis {"connection_id":145622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa484"} 
[2026-07-27 22:33:05] local.INFO: Extracted packet for processing {"connection_id":145622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa484"} 
[2026-07-27 22:33:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":45,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22:33:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:33:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003846400001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:33:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:33:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:33:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:33:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785171576000,"timestamp_ms":1785171576000,"timestamp_seconds":1785171576,"priority":1,"record_length":96,"hex_timestamp":"0000019fa48484c0"} 
[2026-07-27 22:33:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:33:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:33:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-27 22:33:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:33:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:33:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:33:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:33:05] local.INFO: Teltonika packet parsed successfully {"connection_id":145622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:33:05] local.INFO: Passing IMEI to GPS processor {"connection_id":145622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:33:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":145622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:33:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:33:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:33:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:33:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003846400001,"66":2133,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:33:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:33:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:33:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003846400001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:33:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:33:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:33:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:33:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:33:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003846400001,"power":2133,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:33:05] local.INFO: DEBUG: GPS processor result {"connection_id":145622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555766,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:33:05] local.INFO: GPS data processed {"connection_id":145622,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:33:05] local.INFO: Acknowledgment sent {"connection_id":145622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:33:06] local.INFO: TCP Data received {"connection_id":145623,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa48290c0012d966f0006066570001400572a..."} 
[2026-07-27 22:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145623,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa48290c0012d966f0006066570001400572a..."} 
[2026-07-27 22:33:06] local.INFO: Processing buffer {"connection_id":145623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa48290c0012d966f0006066570001400572a..."} 
[2026-07-27 22:33:06] local.INFO: Packet analysis {"connection_id":145623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa482"} 
[2026-07-27 22:33:06] local.INFO: Extracted packet for processing {"connection_id":145623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa482"} 
[2026-07-27 22:33:06] local.INFO: GPS Element Parsed {"raw_longitude":764833536,"raw_latitude":101082480,"longitude_deg":76.4833536,"latitude_deg":10.108248,"altitude":20,"angle":87,"satellites":42,"speed":0,"hex_longitude":"2d966f00","hex_latitude":"06066570","is_valid_coordinates":true} 
[2026-07-27 22:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:33:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003812864001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:33:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359474292930379776,"note":"Value kept but may cause issues"} 
[2026-07-27 22:33:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7607353800937771008,"note":"Value kept but may cause issues"} 
[2026-07-27 22:33:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:33:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785171448000,"timestamp_ms":1785171448000,"timestamp_seconds":1785171448,"priority":1,"record_length":96,"hex_timestamp":"0000019fa48290c0"} 
[2026-07-27 22:33:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:33:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-27 22:33:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:33:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:33:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:33:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:33:06] local.INFO: Teltonika packet parsed successfully {"connection_id":145623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:33:06] local.INFO: Passing IMEI to GPS processor {"connection_id":145623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:33:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":145623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:33:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:33:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:33:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:33:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003812864001,"66":26267,"172":206,"79":48640,"24":0,"16":359474292930379776,"45":-7607353800937771008},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,79,24,16,45]} 
[2026-07-27 22:33:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:33:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:33:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003812864001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:33:06] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-07-27 22:33:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 22:33:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359474292930379776,"km_value":359474292930379.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:33:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7607353800937771008,"description":"Unknown IO ID 45"} 
[2026-07-27 22:33:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003812864001,"power":26267,"unknown_172":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7607353800937771008}} 
[2026-07-27 22:33:06] local.INFO: DEBUG: GPS processor result {"connection_id":145623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:33:06] local.INFO: GPS data processed {"connection_id":145623,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:33:06] local.INFO: Acknowledgment sent {"connection_id":145623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:33:37] local.INFO: TCP Data received {"connection_id":145622,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa48484c0012d196940071fee20004101312d..."} 
[2026-07-27 22:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa48484c0012d196940071fee20004101312d..."} 
[2026-07-27 22:33:37] local.INFO: Processing buffer {"connection_id":145622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa48484c0012d196940071fee20004101312d..."} 
[2026-07-27 22:33:37] local.INFO: Packet analysis {"connection_id":145622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa484"} 
[2026-07-27 22:33:37] local.INFO: Extracted packet for processing {"connection_id":145622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa484"} 
[2026-07-27 22:33:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":45,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:33:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003846400001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:33:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:33:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:33:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:33:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785171576000,"timestamp_ms":1785171576000,"timestamp_seconds":1785171576,"priority":1,"record_length":96,"hex_timestamp":"0000019fa48484c0"} 
[2026-07-27 22:33:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:33:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-27 22:33:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:33:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:33:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:33:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:33:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:33:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:33:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:33:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:33:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:33:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:33:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003846400001,"66":2133,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:33:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:33:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:33:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003846400001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:33:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:33:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:33:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:33:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:33:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003846400001,"power":2133,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:33:37] local.INFO: DEBUG: GPS processor result {"connection_id":145622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555768,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:33:37] local.INFO: GPS data processed {"connection_id":145622,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:33:37] local.INFO: Acknowledgment sent {"connection_id":145622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:33:38] local.INFO: TCP Data received {"connection_id":145623,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4872888012d966f0006066570001400572a..."} 
[2026-07-27 22:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145623,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4872888012d966f0006066570001400572a..."} 
[2026-07-27 22:33:38] local.INFO: Processing buffer {"connection_id":145623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4872888012d966f0006066570001400572a..."} 
[2026-07-27 22:33:38] local.INFO: Packet analysis {"connection_id":145623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa487"} 
[2026-07-27 22:33:38] local.INFO: Extracted packet for processing {"connection_id":145623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa487"} 
[2026-07-27 22:33:38] local.INFO: GPS Element Parsed {"raw_longitude":764833536,"raw_latitude":101082480,"longitude_deg":76.4833536,"latitude_deg":10.108248,"altitude":20,"angle":87,"satellites":42,"speed":0,"hex_longitude":"2d966f00","hex_latitude":"06066570","is_valid_coordinates":true} 
[2026-07-27 22:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:33:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003890688001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:33:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359474292930379776,"note":"Value kept but may cause issues"} 
[2026-07-27 22:33:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606861219728363520,"note":"Value kept but may cause issues"} 
[2026-07-27 22:33:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:33:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785171749000,"timestamp_ms":1785171749000,"timestamp_seconds":1785171749,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4872888"} 
[2026-07-27 22:33:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:33:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-27 22:33:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:33:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:33:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:33:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:33:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:33:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:33:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:33:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:33:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:33:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:33:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003890688001,"66":25995,"172":206,"79":48640,"24":0,"16":359474292930379776,"45":-7606861219728363520},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,79,24,16,45]} 
[2026-07-27 22:33:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:33:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:33:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003890688001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:33:38] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-07-27 22:33:38] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 22:33:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359474292930379776,"km_value":359474292930379.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:33:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606861219728363520,"description":"Unknown IO ID 45"} 
[2026-07-27 22:33:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003890688001,"power":25995,"unknown_172":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606861219728363520}} 
[2026-07-27 22:33:38] local.INFO: DEBUG: GPS processor result {"connection_id":145623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:33:38] local.INFO: GPS data processed {"connection_id":145623,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:33:38] local.INFO: Acknowledgment sent {"connection_id":145623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:33:58] local.INFO: TCP Data received {"connection_id":143202,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143202,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:33:58] local.INFO: Processing buffer {"connection_id":143202,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:33:58] local.INFO: IMEI packet received {"connection_id":143202,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 22:33:58] local.INFO: IMEI acknowledgment sent {"connection_id":143202,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 22:34:04] local.INFO: TCP Data received {"connection_id":143202,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143202,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:34:04] local.INFO: Processing buffer {"connection_id":143202,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:34:04] local.INFO: IMEI packet received {"connection_id":143202,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 22:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":143202,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:34:05] local.INFO: TCP Data received {"connection_id":143202,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa48484c0012d196940071fee20004101312d..."} 
[2026-07-27 22:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa48484c0012d196940071fee20004101312d..."} 
[2026-07-27 22:34:05] local.INFO: Processing buffer {"connection_id":143202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa48484c0012d196940071fee20004101312d..."} 
[2026-07-27 22:34:05] local.INFO: Packet analysis {"connection_id":143202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa484"} 
[2026-07-27 22:34:05] local.INFO: Extracted packet for processing {"connection_id":143202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa484"} 
[2026-07-27 22:34:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":45,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:34:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003846400001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:34:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:34:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:34:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:34:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785171576000,"timestamp_ms":1785171576000,"timestamp_seconds":1785171576,"priority":1,"record_length":96,"hex_timestamp":"0000019fa48484c0"} 
[2026-07-27 22:34:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:34:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-27 22:34:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:34:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:34:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:34:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:34:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:34:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143202,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:34:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143202,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:34:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:34:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:34:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:34:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003846400001,"66":2133,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:34:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:34:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:34:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003846400001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:34:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:34:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:34:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:34:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:34:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003846400001,"power":2133,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:34:05] local.INFO: DEBUG: GPS processor result {"connection_id":143202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555770,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:34:05] local.INFO: GPS data processed {"connection_id":143202,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:34:05] local.INFO: Acknowledgment sent {"connection_id":143202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:34:05] local.INFO: TCP Data received {"connection_id":143203,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:34:05] local.INFO: Processing buffer {"connection_id":143203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:34:05] local.INFO: IMEI packet received {"connection_id":143203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 22:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":143203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 22:34:10] local.INFO: TCP Data received {"connection_id":143203,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:34:10] local.INFO: Processing buffer {"connection_id":143203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:34:10] local.INFO: IMEI packet received {"connection_id":143203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 22:34:10] local.INFO: IMEI acknowledgment sent {"connection_id":143203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:34:11] local.INFO: TCP Data received {"connection_id":143203,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4872888012d966f0006066570001400572a..."} 
[2026-07-27 22:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143203,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4872888012d966f0006066570001400572a..."} 
[2026-07-27 22:34:11] local.INFO: Processing buffer {"connection_id":143203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4872888012d966f0006066570001400572a..."} 
[2026-07-27 22:34:11] local.INFO: Packet analysis {"connection_id":143203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa487"} 
[2026-07-27 22:34:11] local.INFO: Extracted packet for processing {"connection_id":143203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa487"} 
[2026-07-27 22:34:11] local.INFO: GPS Element Parsed {"raw_longitude":764833536,"raw_latitude":101082480,"longitude_deg":76.4833536,"latitude_deg":10.108248,"altitude":20,"angle":87,"satellites":42,"speed":0,"hex_longitude":"2d966f00","hex_latitude":"06066570","is_valid_coordinates":true} 
[2026-07-27 22:34:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:34:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003890688001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:34:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359474292930379776,"note":"Value kept but may cause issues"} 
[2026-07-27 22:34:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606861219728363520,"note":"Value kept but may cause issues"} 
[2026-07-27 22:34:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:34:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785171749000,"timestamp_ms":1785171749000,"timestamp_seconds":1785171749,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4872888"} 
[2026-07-27 22:34:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:34:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:34:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-27 22:34:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:34:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:34:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:34:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:34:11] local.INFO: Teltonika packet parsed successfully {"connection_id":143203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:34:11] local.INFO: Passing IMEI to GPS processor {"connection_id":143203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:34:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":143203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:34: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-07-27 22:34:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:34:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:34:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003890688001,"66":25995,"172":206,"79":48640,"24":0,"16":359474292930379776,"45":-7606861219728363520},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,79,24,16,45]} 
[2026-07-27 22:34:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:34:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:34:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003890688001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:34:11] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-07-27 22:34:11] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 22:34:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359474292930379776,"km_value":359474292930379.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:34:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606861219728363520,"description":"Unknown IO ID 45"} 
[2026-07-27 22:34:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003890688001,"power":25995,"unknown_172":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606861219728363520}} 
[2026-07-27 22:34:11] local.INFO: DEBUG: GPS processor result {"connection_id":143203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:34:11] local.INFO: GPS data processed {"connection_id":143203,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:34:11] local.INFO: Acknowledgment sent {"connection_id":143203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:34:37] local.INFO: TCP Data received {"connection_id":143202,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa48484c0012d196940071fee20004101312d..."} 
[2026-07-27 22:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa48484c0012d196940071fee20004101312d..."} 
[2026-07-27 22:34:37] local.INFO: Processing buffer {"connection_id":143202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa48484c0012d196940071fee20004101312d..."} 
[2026-07-27 22:34:37] local.INFO: Packet analysis {"connection_id":143202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa484"} 
[2026-07-27 22:34:37] local.INFO: Extracted packet for processing {"connection_id":143202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa484"} 
[2026-07-27 22:34:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":45,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:34:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003846400001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:34:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:34:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:34:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:34:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785171576000,"timestamp_ms":1785171576000,"timestamp_seconds":1785171576,"priority":1,"record_length":96,"hex_timestamp":"0000019fa48484c0"} 
[2026-07-27 22:34:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:34:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-27 22:34:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:34:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:34:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:34:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:34:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:34:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143202,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:34:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143202,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:34:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:34:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:34:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:34:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003846400001,"66":2133,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:34:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:34:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:34:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003846400001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:34:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:34:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:34:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:34:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:34:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003846400001,"power":2133,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:34:37] local.INFO: DEBUG: GPS processor result {"connection_id":143202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555772,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:34:37] local.INFO: GPS data processed {"connection_id":143202,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:34:37] local.INFO: Acknowledgment sent {"connection_id":143202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:34:43] local.INFO: TCP Data received {"connection_id":143203,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4872888012d966f0006066570001400572a..."} 
[2026-07-27 22:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143203,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4872888012d966f0006066570001400572a..."} 
[2026-07-27 22:34:43] local.INFO: Processing buffer {"connection_id":143203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4872888012d966f0006066570001400572a..."} 
[2026-07-27 22:34:43] local.INFO: Packet analysis {"connection_id":143203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa487"} 
[2026-07-27 22:34:43] local.INFO: Extracted packet for processing {"connection_id":143203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa487"} 
[2026-07-27 22:34:43] local.INFO: GPS Element Parsed {"raw_longitude":764833536,"raw_latitude":101082480,"longitude_deg":76.4833536,"latitude_deg":10.108248,"altitude":20,"angle":87,"satellites":42,"speed":0,"hex_longitude":"2d966f00","hex_latitude":"06066570","is_valid_coordinates":true} 
[2026-07-27 22:34:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:34:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003890688001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:34:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359474292930379776,"note":"Value kept but may cause issues"} 
[2026-07-27 22:34:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606861219728363520,"note":"Value kept but may cause issues"} 
[2026-07-27 22:34:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:34:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785171749000,"timestamp_ms":1785171749000,"timestamp_seconds":1785171749,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4872888"} 
[2026-07-27 22:34:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:34:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:34:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-27 22:34:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:34:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:34:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:34:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:34:43] local.INFO: Teltonika packet parsed successfully {"connection_id":143203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:34:43] local.INFO: Passing IMEI to GPS processor {"connection_id":143203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:34:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":143203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:34: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-07-27 22:34:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:34:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:34:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003890688001,"66":25995,"172":206,"79":48640,"24":0,"16":359474292930379776,"45":-7606861219728363520},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,79,24,16,45]} 
[2026-07-27 22:34:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:34:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:34:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003890688001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:34:43] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-07-27 22:34:43] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 22:34:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359474292930379776,"km_value":359474292930379.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:34:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606861219728363520,"description":"Unknown IO ID 45"} 
[2026-07-27 22:34:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003890688001,"power":25995,"unknown_172":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606861219728363520}} 
[2026-07-27 22:34:43] local.INFO: DEBUG: GPS processor result {"connection_id":143203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:34:43] local.INFO: GPS data processed {"connection_id":143203,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:34:43] local.INFO: Acknowledgment sent {"connection_id":143203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:34:58] local.INFO: TCP Data received {"connection_id":144351,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144351,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:34:58] local.INFO: Processing buffer {"connection_id":144351,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:34:58] local.INFO: IMEI packet received {"connection_id":144351,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 22:34:58] local.INFO: IMEI acknowledgment sent {"connection_id":144351,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 22:35:00] local.INFO: TCP Data received {"connection_id":143345,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:35:00] local.INFO: Processing buffer {"connection_id":143345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:35:00] local.INFO: IMEI packet received {"connection_id":143345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 22:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":143345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 22:35:04] local.INFO: TCP Data received {"connection_id":144351,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144351,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:35:04] local.INFO: Processing buffer {"connection_id":144351,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:35:04] local.INFO: IMEI packet received {"connection_id":144351,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 22:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":144351,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:35:05] local.INFO: TCP Data received {"connection_id":143345,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:35:05] local.INFO: Processing buffer {"connection_id":143345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:35:05] local.INFO: IMEI packet received {"connection_id":143345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 22:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":143345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:35:05] local.INFO: TCP Data received {"connection_id":144351,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa48484c0012d196940071fee20004101312d..."} 
[2026-07-27 22:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa48484c0012d196940071fee20004101312d..."} 
[2026-07-27 22:35:05] local.INFO: Processing buffer {"connection_id":144351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa48484c0012d196940071fee20004101312d..."} 
[2026-07-27 22:35:05] local.INFO: Packet analysis {"connection_id":144351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa484"} 
[2026-07-27 22:35:05] local.INFO: Extracted packet for processing {"connection_id":144351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa484"} 
[2026-07-27 22:35:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":45,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003846400001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:35:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:35:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785171576000,"timestamp_ms":1785171576000,"timestamp_seconds":1785171576,"priority":1,"record_length":96,"hex_timestamp":"0000019fa48484c0"} 
[2026-07-27 22:35:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:35:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-27 22:35:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:35:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:35:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":144351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":144351,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":144351,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:35:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003846400001,"66":2133,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003846400001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:35:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:35:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:35:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003846400001,"power":2133,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:35:05] local.INFO: DEBUG: GPS processor result {"connection_id":144351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555774,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:35:05] local.INFO: GPS data processed {"connection_id":144351,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:35:05] local.INFO: Acknowledgment sent {"connection_id":144351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:35:06] local.INFO: TCP Data received {"connection_id":143345,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4872888012d966f0006066570001400572a..."} 
[2026-07-27 22:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4872888012d966f0006066570001400572a..."} 
[2026-07-27 22:35:06] local.INFO: Processing buffer {"connection_id":143345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4872888012d966f0006066570001400572a..."} 
[2026-07-27 22:35:06] local.INFO: Packet analysis {"connection_id":143345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa487"} 
[2026-07-27 22:35:06] local.INFO: Extracted packet for processing {"connection_id":143345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa487"} 
[2026-07-27 22:35:06] local.INFO: GPS Element Parsed {"raw_longitude":764833536,"raw_latitude":101082480,"longitude_deg":76.4833536,"latitude_deg":10.108248,"altitude":20,"angle":87,"satellites":42,"speed":0,"hex_longitude":"2d966f00","hex_latitude":"06066570","is_valid_coordinates":true} 
[2026-07-27 22:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:35:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003890688001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:35:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359474292930379776,"note":"Value kept but may cause issues"} 
[2026-07-27 22:35:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606861219728363520,"note":"Value kept but may cause issues"} 
[2026-07-27 22:35:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:35:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785171749000,"timestamp_ms":1785171749000,"timestamp_seconds":1785171749,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4872888"} 
[2026-07-27 22:35:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:35:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-27 22:35:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:35:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:35:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:35:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:35:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:35:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:35:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:35:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:35:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:35:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:35:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003890688001,"66":25995,"172":206,"79":48640,"24":0,"16":359474292930379776,"45":-7606861219728363520},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,79,24,16,45]} 
[2026-07-27 22:35:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:35:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:35:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003890688001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:35:06] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-07-27 22:35:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 22:35:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359474292930379776,"km_value":359474292930379.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:35:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606861219728363520,"description":"Unknown IO ID 45"} 
[2026-07-27 22:35:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003890688001,"power":25995,"unknown_172":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606861219728363520}} 
[2026-07-27 22:35:06] local.INFO: DEBUG: GPS processor result {"connection_id":143345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:35:06] local.INFO: GPS data processed {"connection_id":143345,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:35:06] local.INFO: Acknowledgment sent {"connection_id":143345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:35:10] local.INFO: TCP Data received {"connection_id":143345,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4872888012d966f0006066570001400572a..."} 
[2026-07-27 22:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4872888012d966f0006066570001400572a..."} 
[2026-07-27 22:35:10] local.INFO: Processing buffer {"connection_id":143345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4872888012d966f0006066570001400572a..."} 
[2026-07-27 22:35:10] local.INFO: Packet analysis {"connection_id":143345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa487"} 
[2026-07-27 22:35:10] local.INFO: Extracted packet for processing {"connection_id":143345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa487"} 
[2026-07-27 22:35:10] local.INFO: GPS Element Parsed {"raw_longitude":764833536,"raw_latitude":101082480,"longitude_deg":76.4833536,"latitude_deg":10.108248,"altitude":20,"angle":87,"satellites":42,"speed":0,"hex_longitude":"2d966f00","hex_latitude":"06066570","is_valid_coordinates":true} 
[2026-07-27 22:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:35:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003890688001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:35:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359474292930379776,"note":"Value kept but may cause issues"} 
[2026-07-27 22:35:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606861219728363520,"note":"Value kept but may cause issues"} 
[2026-07-27 22:35:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:35:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785171749000,"timestamp_ms":1785171749000,"timestamp_seconds":1785171749,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4872888"} 
[2026-07-27 22:35:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:35:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-27 22:35:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:35:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:35:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:35:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:35:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:35:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:35:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:35: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-07-27 22:35:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:35:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:35:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003890688001,"66":25995,"172":206,"79":48640,"24":0,"16":359474292930379776,"45":-7606861219728363520},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,79,24,16,45]} 
[2026-07-27 22:35:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:35:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:35:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003890688001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:35:10] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-07-27 22:35:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 22:35:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359474292930379776,"km_value":359474292930379.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:35:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606861219728363520,"description":"Unknown IO ID 45"} 
[2026-07-27 22:35:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003890688001,"power":25995,"unknown_172":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606861219728363520}} 
[2026-07-27 22:35:10] local.INFO: DEBUG: GPS processor result {"connection_id":143345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:35:10] local.INFO: GPS data processed {"connection_id":143345,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:35:10] local.INFO: Acknowledgment sent {"connection_id":143345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:35:36] local.INFO: TCP Data received {"connection_id":144351,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4891c88012d196940071fee200041013128..."} 
[2026-07-27 22:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4891c88012d196940071fee200041013128..."} 
[2026-07-27 22:35:36] local.INFO: Processing buffer {"connection_id":144351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4891c88012d196940071fee200041013128..."} 
[2026-07-27 22:35:36] local.INFO: Packet analysis {"connection_id":144351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa489"} 
[2026-07-27 22:35:36] local.INFO: Extracted packet for processing {"connection_id":144351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa489"} 
[2026-07-27 22:35:36] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:35:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003923456001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:35:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:35:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:35:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:35:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785171877000,"timestamp_ms":1785171877000,"timestamp_seconds":1785171877,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4891c88"} 
[2026-07-27 22:35:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:35:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-27 22:35:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:35:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:35:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:35:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:35:36] local.INFO: Teltonika packet parsed successfully {"connection_id":144351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:35:36] local.INFO: Passing IMEI to GPS processor {"connection_id":144351,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:35:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":144351,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:35:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:35:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:35:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:35:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003923456001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:35:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:35:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:35:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003923456001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:35:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:35:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:35:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:35:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:35:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003923456001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:35:36] local.INFO: DEBUG: GPS processor result {"connection_id":144351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555777,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:35:36] local.INFO: GPS data processed {"connection_id":144351,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:35:36] local.INFO: Acknowledgment sent {"connection_id":144351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:35:41] local.INFO: TCP Data received {"connection_id":143345,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4872888012d966f0006066570001400572a..."} 
[2026-07-27 22:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4872888012d966f0006066570001400572a..."} 
[2026-07-27 22:35:41] local.INFO: Processing buffer {"connection_id":143345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4872888012d966f0006066570001400572a..."} 
[2026-07-27 22:35:41] local.INFO: Packet analysis {"connection_id":143345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa487"} 
[2026-07-27 22:35:41] local.INFO: Extracted packet for processing {"connection_id":143345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa487"} 
[2026-07-27 22:35:41] local.INFO: GPS Element Parsed {"raw_longitude":764833536,"raw_latitude":101082480,"longitude_deg":76.4833536,"latitude_deg":10.108248,"altitude":20,"angle":87,"satellites":42,"speed":0,"hex_longitude":"2d966f00","hex_latitude":"06066570","is_valid_coordinates":true} 
[2026-07-27 22:35:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:35:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003890688001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:35:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359474292930379776,"note":"Value kept but may cause issues"} 
[2026-07-27 22:35:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606861219728363520,"note":"Value kept but may cause issues"} 
[2026-07-27 22:35:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:35:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785171749000,"timestamp_ms":1785171749000,"timestamp_seconds":1785171749,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4872888"} 
[2026-07-27 22:35:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:35:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:35:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-27 22:35:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:35:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:35:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:35:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:35:41] local.INFO: Teltonika packet parsed successfully {"connection_id":143345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:35:41] local.INFO: Passing IMEI to GPS processor {"connection_id":143345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:35:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":143345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:35: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-07-27 22:35:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:35:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:35:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003890688001,"66":25995,"172":206,"79":48640,"24":0,"16":359474292930379776,"45":-7606861219728363520},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,79,24,16,45]} 
[2026-07-27 22:35:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:35:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:35:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003890688001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:35:41] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-07-27 22:35:41] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 22:35:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359474292930379776,"km_value":359474292930379.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:35:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606861219728363520,"description":"Unknown IO ID 45"} 
[2026-07-27 22:35:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003890688001,"power":25995,"unknown_172":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606861219728363520}} 
[2026-07-27 22:35:41] local.INFO: DEBUG: GPS processor result {"connection_id":143345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:35:41] local.INFO: GPS data processed {"connection_id":143345,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:35:41] local.INFO: Acknowledgment sent {"connection_id":143345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:35:59] local.INFO: TCP Data received {"connection_id":143346,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143346,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:35:59] local.INFO: Processing buffer {"connection_id":143346,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:35:59] local.INFO: IMEI packet received {"connection_id":143346,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 22:35:59] local.INFO: IMEI acknowledgment sent {"connection_id":143346,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 22:36:00] local.INFO: TCP Data received {"connection_id":143347,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:36:00] local.INFO: Processing buffer {"connection_id":143347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:36:00] local.INFO: IMEI packet received {"connection_id":143347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 22:36:00] local.INFO: IMEI acknowledgment sent {"connection_id":143347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 22:36:04] local.INFO: TCP Data received {"connection_id":143346,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143346,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:36:04] local.INFO: Processing buffer {"connection_id":143346,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:36:04] local.INFO: IMEI packet received {"connection_id":143346,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 22:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":143346,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:36:05] local.INFO: TCP Data received {"connection_id":143347,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:36:05] local.INFO: Processing buffer {"connection_id":143347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:36:05] local.INFO: IMEI packet received {"connection_id":143347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 22:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":143347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:36:05] local.INFO: TCP Data received {"connection_id":143346,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4891c88012d196940071fee200041013128..."} 
[2026-07-27 22:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4891c88012d196940071fee200041013128..."} 
[2026-07-27 22:36:05] local.INFO: Processing buffer {"connection_id":143346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4891c88012d196940071fee200041013128..."} 
[2026-07-27 22:36:05] local.INFO: Packet analysis {"connection_id":143346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa489"} 
[2026-07-27 22:36:05] local.INFO: Extracted packet for processing {"connection_id":143346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa489"} 
[2026-07-27 22:36:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:36:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003923456001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:36:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:36:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:36:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:36:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785171877000,"timestamp_ms":1785171877000,"timestamp_seconds":1785171877,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4891c88"} 
[2026-07-27 22:36:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:36:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-27 22:36:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:36:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:36:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:36:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:36:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:36:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143346,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:36:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143346,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:36:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:36:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:36:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:36:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003923456001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:36:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:36:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:36:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003923456001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:36:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:36:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:36:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:36:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:36:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003923456001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:36:05] local.INFO: DEBUG: GPS processor result {"connection_id":143346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555779,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:36:05] local.INFO: GPS data processed {"connection_id":143346,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:36:05] local.INFO: Acknowledgment sent {"connection_id":143346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:36:06] local.INFO: TCP Data received {"connection_id":143347,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4872888012d966f0006066570001400572a..."} 
[2026-07-27 22:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143347,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4872888012d966f0006066570001400572a..."} 
[2026-07-27 22:36:06] local.INFO: Processing buffer {"connection_id":143347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4872888012d966f0006066570001400572a..."} 
[2026-07-27 22:36:06] local.INFO: Packet analysis {"connection_id":143347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa487"} 
[2026-07-27 22:36:06] local.INFO: Extracted packet for processing {"connection_id":143347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa487"} 
[2026-07-27 22:36:06] local.INFO: GPS Element Parsed {"raw_longitude":764833536,"raw_latitude":101082480,"longitude_deg":76.4833536,"latitude_deg":10.108248,"altitude":20,"angle":87,"satellites":42,"speed":0,"hex_longitude":"2d966f00","hex_latitude":"06066570","is_valid_coordinates":true} 
[2026-07-27 22:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:36:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003890688001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:36:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359474292930379776,"note":"Value kept but may cause issues"} 
[2026-07-27 22:36:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606861219728363520,"note":"Value kept but may cause issues"} 
[2026-07-27 22:36:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:36:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785171749000,"timestamp_ms":1785171749000,"timestamp_seconds":1785171749,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4872888"} 
[2026-07-27 22:36:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:36:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-27 22:36:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:36:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:36:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:36:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:36:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:36:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:36:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:36:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:36:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:36:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:36:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003890688001,"66":25995,"172":206,"79":48640,"24":0,"16":359474292930379776,"45":-7606861219728363520},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,79,24,16,45]} 
[2026-07-27 22:36:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:36:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:36:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003890688001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:36:06] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-07-27 22:36:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 22:36:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359474292930379776,"km_value":359474292930379.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:36:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606861219728363520,"description":"Unknown IO ID 45"} 
[2026-07-27 22:36:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003890688001,"power":25995,"unknown_172":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606861219728363520}} 
[2026-07-27 22:36:06] local.INFO: DEBUG: GPS processor result {"connection_id":143347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:36:06] local.INFO: GPS data processed {"connection_id":143347,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:36:06] local.INFO: Acknowledgment sent {"connection_id":143347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:36:37] local.INFO: TCP Data received {"connection_id":143346,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4891c88012d196940071fee200041013128..."} 
[2026-07-27 22:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4891c88012d196940071fee200041013128..."} 
[2026-07-27 22:36:37] local.INFO: Processing buffer {"connection_id":143346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4891c88012d196940071fee200041013128..."} 
[2026-07-27 22:36:37] local.INFO: Packet analysis {"connection_id":143346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa489"} 
[2026-07-27 22:36:37] local.INFO: Extracted packet for processing {"connection_id":143346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa489"} 
[2026-07-27 22:36:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003923456001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:36:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:36:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785171877000,"timestamp_ms":1785171877000,"timestamp_seconds":1785171877,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4891c88"} 
[2026-07-27 22:36:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:36:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-27 22:36:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:36:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:36:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143346,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143346,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:36:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003923456001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003923456001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:36:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:36:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:36:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:36:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:36:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003923456001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":143346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555781,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:36:37] local.INFO: GPS data processed {"connection_id":143346,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:36:37] local.INFO: Acknowledgment sent {"connection_id":143346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:36:39] local.INFO: TCP Data received {"connection_id":143347,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4872888012d966f0006066570001400572a..."} 
[2026-07-27 22:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143347,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4872888012d966f0006066570001400572a..."} 
[2026-07-27 22:36:39] local.INFO: Processing buffer {"connection_id":143347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4872888012d966f0006066570001400572a..."} 
[2026-07-27 22:36:39] local.INFO: Packet analysis {"connection_id":143347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa487"} 
[2026-07-27 22:36:39] local.INFO: Extracted packet for processing {"connection_id":143347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa487"} 
[2026-07-27 22:36:39] local.INFO: GPS Element Parsed {"raw_longitude":764833536,"raw_latitude":101082480,"longitude_deg":76.4833536,"latitude_deg":10.108248,"altitude":20,"angle":87,"satellites":42,"speed":0,"hex_longitude":"2d966f00","hex_latitude":"06066570","is_valid_coordinates":true} 
[2026-07-27 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-07-27 22:36:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003890688001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:36:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359474292930379776,"note":"Value kept but may cause issues"} 
[2026-07-27 22:36:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606861219728363520,"note":"Value kept but may cause issues"} 
[2026-07-27 22:36:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:36:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785171749000,"timestamp_ms":1785171749000,"timestamp_seconds":1785171749,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4872888"} 
[2026-07-27 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-07-27 22:36:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-27 22:36:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 22:36:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:36:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:36:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:36:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:36:39] 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-07-27 22:36:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:36:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:36:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003890688001,"66":25995,"172":206,"79":48640,"24":0,"16":359474292930379776,"45":-7606861219728363520},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,79,24,16,45]} 
[2026-07-27 22:36:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:36:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:36:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003890688001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:36:39] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-07-27 22:36:39] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 22:36:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359474292930379776,"km_value":359474292930379.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:36:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606861219728363520,"description":"Unknown IO ID 45"} 
[2026-07-27 22:36:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003890688001,"power":25995,"unknown_172":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606861219728363520}} 
[2026-07-27 22:36:39] local.INFO: DEBUG: GPS processor result {"connection_id":143347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:36:39] local.INFO: GPS data processed {"connection_id":143347,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:36:39] local.INFO: Acknowledgment sent {"connection_id":143347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:36:59] local.INFO: TCP Data received {"connection_id":144352,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144352,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:36:59] local.INFO: Processing buffer {"connection_id":144352,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:36:59] local.INFO: IMEI packet received {"connection_id":144352,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 22:36:59] local.INFO: IMEI acknowledgment sent {"connection_id":144352,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 22:37:00] local.INFO: TCP Data received {"connection_id":145624,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:37:00] local.INFO: Processing buffer {"connection_id":145624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:37:00] local.INFO: IMEI packet received {"connection_id":145624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 22:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":145624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 22:37:04] local.INFO: TCP Data received {"connection_id":144352,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144352,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:37:04] local.INFO: Processing buffer {"connection_id":144352,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:37:04] local.INFO: IMEI packet received {"connection_id":144352,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 22:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":144352,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:37:05] local.INFO: TCP Data received {"connection_id":145624,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:37:05] local.INFO: Processing buffer {"connection_id":145624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:37:05] local.INFO: IMEI packet received {"connection_id":145624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 22:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":145624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:37:05] local.INFO: TCP Data received {"connection_id":144352,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4891c88012d196940071fee200041013128..."} 
[2026-07-27 22:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4891c88012d196940071fee200041013128..."} 
[2026-07-27 22:37:05] local.INFO: Processing buffer {"connection_id":144352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4891c88012d196940071fee200041013128..."} 
[2026-07-27 22:37:05] local.INFO: Packet analysis {"connection_id":144352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa489"} 
[2026-07-27 22:37:05] local.INFO: Extracted packet for processing {"connection_id":144352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa489"} 
[2026-07-27 22:37:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:37:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003923456001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:37:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:37:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:37:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:37:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785171877000,"timestamp_ms":1785171877000,"timestamp_seconds":1785171877,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4891c88"} 
[2026-07-27 22:37:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:37:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-27 22:37:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:37:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:37:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:37:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:37:05] local.INFO: Teltonika packet parsed successfully {"connection_id":144352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:37:05] local.INFO: Passing IMEI to GPS processor {"connection_id":144352,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:37:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":144352,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:37:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:37:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:37:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:37:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003923456001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:37:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:37:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:37:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003923456001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:37:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:37:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:37:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:37:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:37:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003923456001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:37:05] local.INFO: DEBUG: GPS processor result {"connection_id":144352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555783,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:37:05] local.INFO: GPS data processed {"connection_id":144352,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:37:05] local.INFO: Acknowledgment sent {"connection_id":144352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:37:06] local.INFO: TCP Data received {"connection_id":145624,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4872888012d966f0006066570001400572a..."} 
[2026-07-27 22:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4872888012d966f0006066570001400572a..."} 
[2026-07-27 22:37:06] local.INFO: Processing buffer {"connection_id":145624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4872888012d966f0006066570001400572a..."} 
[2026-07-27 22:37:06] local.INFO: Packet analysis {"connection_id":145624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa487"} 
[2026-07-27 22:37:06] local.INFO: Extracted packet for processing {"connection_id":145624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa487"} 
[2026-07-27 22:37:06] local.INFO: GPS Element Parsed {"raw_longitude":764833536,"raw_latitude":101082480,"longitude_deg":76.4833536,"latitude_deg":10.108248,"altitude":20,"angle":87,"satellites":42,"speed":0,"hex_longitude":"2d966f00","hex_latitude":"06066570","is_valid_coordinates":true} 
[2026-07-27 22:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:37:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003890688001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:37:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359474292930379776,"note":"Value kept but may cause issues"} 
[2026-07-27 22:37:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606861219728363520,"note":"Value kept but may cause issues"} 
[2026-07-27 22:37:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:37:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785171749000,"timestamp_ms":1785171749000,"timestamp_seconds":1785171749,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4872888"} 
[2026-07-27 22:37:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:37:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-27 22:37:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:37:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:37:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:37:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:37:06] local.INFO: Teltonika packet parsed successfully {"connection_id":145624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:37:06] local.INFO: Passing IMEI to GPS processor {"connection_id":145624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:37:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":145624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:37:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:37:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:37:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:37:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003890688001,"66":25995,"172":206,"79":48640,"24":0,"16":359474292930379776,"45":-7606861219728363520},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,79,24,16,45]} 
[2026-07-27 22:37:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:37:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:37:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003890688001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:37:06] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-07-27 22:37:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 22:37:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359474292930379776,"km_value":359474292930379.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:37:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606861219728363520,"description":"Unknown IO ID 45"} 
[2026-07-27 22:37:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003890688001,"power":25995,"unknown_172":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606861219728363520}} 
[2026-07-27 22:37:06] local.INFO: DEBUG: GPS processor result {"connection_id":145624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:37:06] local.INFO: GPS data processed {"connection_id":145624,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:37:06] local.INFO: Acknowledgment sent {"connection_id":145624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:37:37] local.INFO: TCP Data received {"connection_id":144352,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4891c88012d196940071fee200041013128..."} 
[2026-07-27 22:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4891c88012d196940071fee200041013128..."} 
[2026-07-27 22:37:37] local.INFO: Processing buffer {"connection_id":144352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4891c88012d196940071fee200041013128..."} 
[2026-07-27 22:37:37] local.INFO: Packet analysis {"connection_id":144352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa489"} 
[2026-07-27 22:37:37] local.INFO: Extracted packet for processing {"connection_id":144352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa489"} 
[2026-07-27 22:37:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003923456001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:37:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:37:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785171877000,"timestamp_ms":1785171877000,"timestamp_seconds":1785171877,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4891c88"} 
[2026-07-27 22:37:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:37:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-27 22:37:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:37:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:37:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144352,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144352,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:37:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:37:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003923456001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:37:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:37:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:37:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003923456001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:37:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:37:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:37:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:37:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:37:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003923456001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:37:37] local.INFO: DEBUG: GPS processor result {"connection_id":144352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555785,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:37:37] local.INFO: GPS data processed {"connection_id":144352,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:37:37] local.INFO: Acknowledgment sent {"connection_id":144352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:37:37] local.INFO: TCP Data received {"connection_id":145624,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa48b2028012d966f00060665700010005727..."} 
[2026-07-27 22:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa48b2028012d966f00060665700010005727..."} 
[2026-07-27 22:37:37] local.INFO: Processing buffer {"connection_id":145624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa48b2028012d966f00060665700010005727..."} 
[2026-07-27 22:37:37] local.INFO: Packet analysis {"connection_id":145624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa48b"} 
[2026-07-27 22:37:37] local.INFO: Extracted packet for processing {"connection_id":145624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa48b"} 
[2026-07-27 22:37:37] local.INFO: GPS Element Parsed {"raw_longitude":764833536,"raw_latitude":101082480,"longitude_deg":76.4833536,"latitude_deg":10.108248,"altitude":16,"angle":87,"satellites":39,"speed":0,"hex_longitude":"2d966f00","hex_latitude":"06066570","is_valid_coordinates":true} 
[2026-07-27 22:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003967744001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359474292930379776,"note":"Value kept but may cause issues"} 
[2026-07-27 22:37:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606861219728363520,"note":"Value kept but may cause issues"} 
[2026-07-27 22:37:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785172009000,"timestamp_ms":1785172009000,"timestamp_seconds":1785172009,"priority":1,"record_length":96,"hex_timestamp":"0000019fa48b2028"} 
[2026-07-27 22:37:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:37:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-27 22:37:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:37:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:37:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:37:37] 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-07-27 22:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:37:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003967744001,"66":25952,"172":206,"79":48640,"24":0,"16":359474292930379776,"45":-7606861219728363520},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,79,24,16,45]} 
[2026-07-27 22:37:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:37:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:37:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003967744001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:37:37] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-07-27 22:37:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 22:37:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359474292930379776,"km_value":359474292930379.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:37:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606861219728363520,"description":"Unknown IO ID 45"} 
[2026-07-27 22:37:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003967744001,"power":25952,"unknown_172":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606861219728363520}} 
[2026-07-27 22:37:37] local.INFO: DEBUG: GPS processor result {"connection_id":145624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:37:37] local.INFO: GPS data processed {"connection_id":145624,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:37:37] local.INFO: Acknowledgment sent {"connection_id":145624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:37:58] local.INFO: TCP Data received {"connection_id":143348,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143348,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:37:58] local.INFO: Processing buffer {"connection_id":143348,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:37:58] local.INFO: IMEI packet received {"connection_id":143348,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 22:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":143348,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 22:38:04] local.INFO: TCP Data received {"connection_id":143348,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143348,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:38:04] local.INFO: Processing buffer {"connection_id":143348,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:38:04] local.INFO: IMEI packet received {"connection_id":143348,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 22:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":143348,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:38:05] local.INFO: TCP Data received {"connection_id":143348,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4891c88012d196940071fee200041013128..."} 
[2026-07-27 22:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143348,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4891c88012d196940071fee200041013128..."} 
[2026-07-27 22:38:05] local.INFO: Processing buffer {"connection_id":143348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4891c88012d196940071fee200041013128..."} 
[2026-07-27 22:38:05] local.INFO: Packet analysis {"connection_id":143348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa489"} 
[2026-07-27 22:38:05] local.INFO: Extracted packet for processing {"connection_id":143348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa489"} 
[2026-07-27 22:38:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:38:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003923456001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:38:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:38:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:38:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:38:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785171877000,"timestamp_ms":1785171877000,"timestamp_seconds":1785171877,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4891c88"} 
[2026-07-27 22:38:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:38:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-27 22:38:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:38:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:38:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:38:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:38:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:38:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143348,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:38:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143348,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:38:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:38:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:38:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:38:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003923456001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:38:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:38:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:38:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003923456001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:38:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:38:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:38:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:38:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:38:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003923456001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:38:05] local.INFO: DEBUG: GPS processor result {"connection_id":143348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555787,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:38:05] local.INFO: GPS data processed {"connection_id":143348,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:38:05] local.INFO: Acknowledgment sent {"connection_id":143348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:38:20] local.INFO: TCP Data received {"connection_id":145625,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:38:20] local.INFO: Processing buffer {"connection_id":145625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:38:20] local.INFO: IMEI packet received {"connection_id":145625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 22:38:20] local.INFO: IMEI acknowledgment sent {"connection_id":145625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 22:38:25] local.INFO: TCP Data received {"connection_id":145625,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:38:25] local.INFO: Processing buffer {"connection_id":145625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:38:25] local.INFO: IMEI packet received {"connection_id":145625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 22:38:25] local.INFO: IMEI acknowledgment sent {"connection_id":145625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:38:26] local.INFO: TCP Data received {"connection_id":145625,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa48b2fc8012d966d80060668f80010015f26..."} 
[2026-07-27 22:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145625,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa48b2fc8012d966d80060668f80010015f26..."} 
[2026-07-27 22:38:26] local.INFO: Processing buffer {"connection_id":145625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa48b2fc8012d966d80060668f80010015f26..."} 
[2026-07-27 22:38:26] local.INFO: Packet analysis {"connection_id":145625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa48b"} 
[2026-07-27 22:38:26] local.INFO: Extracted packet for processing {"connection_id":145625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa48b"} 
[2026-07-27 22:38:26] local.INFO: GPS Element Parsed {"raw_longitude":764833152,"raw_latitude":101083384,"longitude_deg":76.4833152,"latitude_deg":10.1083384,"altitude":16,"angle":351,"satellites":38,"speed":0,"hex_longitude":"2d966d80","hex_latitude":"060668f8","is_valid_coordinates":true} 
[2026-07-27 22:38:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:38:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004034304001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:38:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359474292930379776,"note":"Value kept but may cause issues"} 
[2026-07-27 22:38:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606861219728363520,"note":"Value kept but may cause issues"} 
[2026-07-27 22:38:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:38:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785172013000,"timestamp_ms":1785172013000,"timestamp_seconds":1785172013,"priority":1,"record_length":96,"hex_timestamp":"0000019fa48b2fc8"} 
[2026-07-27 22:38:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:38:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 22:38:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-27 22:38:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:38:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:38:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:38:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:38:26] local.INFO: Teltonika packet parsed successfully {"connection_id":145625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:38:26] local.INFO: Passing IMEI to GPS processor {"connection_id":145625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:38:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":145625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:38:26] 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-07-27 22:38:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:38:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:38:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004034304001,"66":27463,"172":206,"79":48640,"24":0,"16":359474292930379776,"45":-7606861219728363520},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,79,24,16,45]} 
[2026-07-27 22:38:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:38:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:38:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004034304001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:38:26] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-07-27 22:38:26] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 22:38:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359474292930379776,"km_value":359474292930379.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:38:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606861219728363520,"description":"Unknown IO ID 45"} 
[2026-07-27 22:38:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004034304001,"power":27463,"unknown_172":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606861219728363520}} 
[2026-07-27 22:38:26] local.INFO: DEBUG: GPS processor result {"connection_id":145625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:38:26] local.INFO: GPS data processed {"connection_id":145625,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:38:26] local.INFO: Acknowledgment sent {"connection_id":145625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:38:37] local.INFO: TCP Data received {"connection_id":143348,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4891c88012d196940071fee200041013128..."} 
[2026-07-27 22:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143348,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4891c88012d196940071fee200041013128..."} 
[2026-07-27 22:38:37] local.INFO: Processing buffer {"connection_id":143348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4891c88012d196940071fee200041013128..."} 
[2026-07-27 22:38:37] local.INFO: Packet analysis {"connection_id":143348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa489"} 
[2026-07-27 22:38:37] local.INFO: Extracted packet for processing {"connection_id":143348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa489"} 
[2026-07-27 22:38:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003923456001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:38:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:38:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:38:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:38:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785171877000,"timestamp_ms":1785171877000,"timestamp_seconds":1785171877,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4891c88"} 
[2026-07-27 22:38:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:38:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-27 22:38:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:38:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:38:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:38:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:38:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:38:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143348,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:38:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143348,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:38:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:38:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:38:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:38:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003923456001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:38:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:38:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:38:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003923456001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:38:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:38:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:38:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:38:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:38:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003923456001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:38:37] local.INFO: DEBUG: GPS processor result {"connection_id":143348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555789,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:38:37] local.INFO: GPS data processed {"connection_id":143348,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:38:37] local.INFO: Acknowledgment sent {"connection_id":143348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:38:58] local.INFO: TCP Data received {"connection_id":143205,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143205,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:38:58] local.INFO: Processing buffer {"connection_id":143205,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:38:58] local.INFO: IMEI packet received {"connection_id":143205,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 22:38:58] local.INFO: IMEI acknowledgment sent {"connection_id":143205,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 22:39:00] local.INFO: TCP Data received {"connection_id":143204,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:39:00] local.INFO: Processing buffer {"connection_id":143204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:39:00] local.INFO: IMEI packet received {"connection_id":143204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 22:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":143204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 22:39:04] local.INFO: TCP Data received {"connection_id":143205,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143205,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:39:04] local.INFO: Processing buffer {"connection_id":143205,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:39:04] local.INFO: IMEI packet received {"connection_id":143205,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 22:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":143205,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:39:05] local.INFO: TCP Data received {"connection_id":143204,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:39:05] local.INFO: Processing buffer {"connection_id":143204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:39:05] local.INFO: IMEI packet received {"connection_id":143204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 22:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":143204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:39:05] local.INFO: TCP Data received {"connection_id":143205,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4891c88012d196940071fee200041013128..."} 
[2026-07-27 22:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4891c88012d196940071fee200041013128..."} 
[2026-07-27 22:39:05] local.INFO: Processing buffer {"connection_id":143205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4891c88012d196940071fee200041013128..."} 
[2026-07-27 22:39:05] local.INFO: Packet analysis {"connection_id":143205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa489"} 
[2026-07-27 22:39:05] local.INFO: Extracted packet for processing {"connection_id":143205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa489"} 
[2026-07-27 22:39:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:39:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003923456001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:39:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:39:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:39:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:39:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785171877000,"timestamp_ms":1785171877000,"timestamp_seconds":1785171877,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4891c88"} 
[2026-07-27 22:39:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:39:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-27 22:39:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:39:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:39:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:39:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:39:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:39:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143205,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:39:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143205,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:39:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:39:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:39:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:39:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003923456001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:39:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:39:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:39:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003923456001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:39:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:39:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:39:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:39:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:39:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003923456001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:39:05] local.INFO: DEBUG: GPS processor result {"connection_id":143205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555790,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:39:05] local.INFO: GPS data processed {"connection_id":143205,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:39:05] local.INFO: Acknowledgment sent {"connection_id":143205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:39:06] local.INFO: TCP Data received {"connection_id":143204,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa48b81d0012d966d80060668f80010015f25..."} 
[2026-07-27 22:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa48b81d0012d966d80060668f80010015f25..."} 
[2026-07-27 22:39:06] local.INFO: Processing buffer {"connection_id":143204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa48b81d0012d966d80060668f80010015f25..."} 
[2026-07-27 22:39:06] local.INFO: Packet analysis {"connection_id":143204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa48b"} 
[2026-07-27 22:39:06] local.INFO: Extracted packet for processing {"connection_id":143204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa48b"} 
[2026-07-27 22:39:06] local.INFO: GPS Element Parsed {"raw_longitude":764833152,"raw_latitude":101083384,"longitude_deg":76.4833152,"latitude_deg":10.1083384,"altitude":16,"angle":351,"satellites":37,"speed":0,"hex_longitude":"2d966d80","hex_latitude":"060668f8","is_valid_coordinates":true} 
[2026-07-27 22:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:39:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004035328001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:39:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359474292930379776,"note":"Value kept but may cause issues"} 
[2026-07-27 22:39:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7607283432193198080,"note":"Value kept but may cause issues"} 
[2026-07-27 22:39:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:39:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785172034000,"timestamp_ms":1785172034000,"timestamp_seconds":1785172034,"priority":1,"record_length":96,"hex_timestamp":"0000019fa48b81d0"} 
[2026-07-27 22:39:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:39:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 22:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-27 22:39:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:39:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:39:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:39:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:39:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:39:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:39:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:39:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:39:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:39:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:39:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004035328001,"66":27974,"172":206,"79":48640,"24":0,"16":359474292930379776,"45":-7607283432193198080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,79,24,16,45]} 
[2026-07-27 22:39:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:39:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:39:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004035328001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:39:06] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-07-27 22:39:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 22:39:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359474292930379776,"km_value":359474292930379.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:39:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7607283432193198080,"description":"Unknown IO ID 45"} 
[2026-07-27 22:39:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004035328001,"power":27974,"unknown_172":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7607283432193198080}} 
[2026-07-27 22:39:06] local.INFO: DEBUG: GPS processor result {"connection_id":143204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:39:06] local.INFO: GPS data processed {"connection_id":143204,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:39:06] local.INFO: Acknowledgment sent {"connection_id":143204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:39:37] local.INFO: TCP Data received {"connection_id":143205,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4891c88012d196940071fee200041013128..."} 
[2026-07-27 22:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4891c88012d196940071fee200041013128..."} 
[2026-07-27 22:39:37] local.INFO: Processing buffer {"connection_id":143205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4891c88012d196940071fee200041013128..."} 
[2026-07-27 22:39:37] local.INFO: Packet analysis {"connection_id":143205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa489"} 
[2026-07-27 22:39:37] local.INFO: Extracted packet for processing {"connection_id":143205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa489"} 
[2026-07-27 22:39:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003923456001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:39:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:39:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785171877000,"timestamp_ms":1785171877000,"timestamp_seconds":1785171877,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4891c88"} 
[2026-07-27 22:39:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:39:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-27 22:39:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:39:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:39:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:39:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143205,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143205,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:39:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003923456001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003923456001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:39:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:39:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:39:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:39:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:39:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003923456001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:39:37] local.INFO: DEBUG: GPS processor result {"connection_id":143205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555792,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:39:37] local.INFO: GPS data processed {"connection_id":143205,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:39:37] local.INFO: Acknowledgment sent {"connection_id":143205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:39:37] local.INFO: TCP Data received {"connection_id":143204,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa48bb0b0012d966d80060668f80010015f26..."} 
[2026-07-27 22:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa48bb0b0012d966d80060668f80010015f26..."} 
[2026-07-27 22:39:37] local.INFO: Processing buffer {"connection_id":143204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa48bb0b0012d966d80060668f80010015f26..."} 
[2026-07-27 22:39:37] local.INFO: Packet analysis {"connection_id":143204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa48b"} 
[2026-07-27 22:39:37] local.INFO: Extracted packet for processing {"connection_id":143204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa48b"} 
[2026-07-27 22:39:37] local.INFO: GPS Element Parsed {"raw_longitude":764833152,"raw_latitude":101083384,"longitude_deg":76.4833152,"latitude_deg":10.1083384,"altitude":16,"angle":351,"satellites":38,"speed":0,"hex_longitude":"2d966d80","hex_latitude":"060668f8","is_valid_coordinates":true} 
[2026-07-27 22:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004040704001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359474292930379776,"note":"Value kept but may cause issues"} 
[2026-07-27 22:39:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7607283432193198080,"note":"Value kept but may cause issues"} 
[2026-07-27 22:39:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785172046000,"timestamp_ms":1785172046000,"timestamp_seconds":1785172046,"priority":1,"record_length":96,"hex_timestamp":"0000019fa48bb0b0"} 
[2026-07-27 22:39:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:39:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 22:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-27 22:39:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:39:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:39:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:39:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:39:37] 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-07-27 22:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004040704001,"66":27843,"172":206,"79":48640,"24":0,"16":359474292930379776,"45":-7607283432193198080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,79,24,16,45]} 
[2026-07-27 22:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004040704001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:39:37] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-07-27 22:39:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 22:39:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359474292930379776,"km_value":359474292930379.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:39:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7607283432193198080,"description":"Unknown IO ID 45"} 
[2026-07-27 22:39:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004040704001,"power":27843,"unknown_172":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7607283432193198080}} 
[2026-07-27 22:39:37] local.INFO: DEBUG: GPS processor result {"connection_id":143204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:39:37] local.INFO: GPS data processed {"connection_id":143204,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:39:37] local.INFO: Acknowledgment sent {"connection_id":143204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:39:58] local.INFO: TCP Data received {"connection_id":145627,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145627,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:39:58] local.INFO: Processing buffer {"connection_id":145627,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:39:58] local.INFO: IMEI packet received {"connection_id":145627,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 22:39:58] local.INFO: IMEI acknowledgment sent {"connection_id":145627,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 22:40:00] local.INFO: TCP Data received {"connection_id":145626,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:40:00] local.INFO: Processing buffer {"connection_id":145626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:40:00] local.INFO: IMEI packet received {"connection_id":145626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 22:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":145626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 22:40:04] local.INFO: TCP Data received {"connection_id":145627,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145627,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:40:04] local.INFO: Processing buffer {"connection_id":145627,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:40:04] local.INFO: IMEI packet received {"connection_id":145627,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 22:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":145627,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:40:05] local.INFO: TCP Data received {"connection_id":145627,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4891c88012d196940071fee200041013128..."} 
[2026-07-27 22:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145627,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4891c88012d196940071fee200041013128..."} 
[2026-07-27 22:40:05] local.INFO: Processing buffer {"connection_id":145627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4891c88012d196940071fee200041013128..."} 
[2026-07-27 22:40:05] local.INFO: Packet analysis {"connection_id":145627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa489"} 
[2026-07-27 22:40:05] local.INFO: Extracted packet for processing {"connection_id":145627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa489"} 
[2026-07-27 22:40:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:40:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457003923456001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:40:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:40:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:40:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:40:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785171877000,"timestamp_ms":1785171877000,"timestamp_seconds":1785171877,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4891c88"} 
[2026-07-27 22:40:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:40:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-27 22:40:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:40:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:40:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:40:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:40:05] local.INFO: Teltonika packet parsed successfully {"connection_id":145627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:40:05] local.INFO: Passing IMEI to GPS processor {"connection_id":145627,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:40:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":145627,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:40:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:40:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:40:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:40:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457003923456001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:40:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:40:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:40:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457003923456001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:40:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:40:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:40:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:40:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:40:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457003923456001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:40:05] local.INFO: DEBUG: GPS processor result {"connection_id":145627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555794,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:40:05] local.INFO: GPS data processed {"connection_id":145627,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:40:05] local.INFO: Acknowledgment sent {"connection_id":145627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:40:05] local.INFO: TCP Data received {"connection_id":145626,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:40:05] local.INFO: Processing buffer {"connection_id":145626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:40:05] local.INFO: IMEI packet received {"connection_id":145626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 22:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":145626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:40:06] local.INFO: TCP Data received {"connection_id":145626,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa48bb0b0012d966d80060668f80010015f26..."} 
[2026-07-27 22:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa48bb0b0012d966d80060668f80010015f26..."} 
[2026-07-27 22:40:06] local.INFO: Processing buffer {"connection_id":145626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa48bb0b0012d966d80060668f80010015f26..."} 
[2026-07-27 22:40:06] local.INFO: Packet analysis {"connection_id":145626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa48b"} 
[2026-07-27 22:40:06] local.INFO: Extracted packet for processing {"connection_id":145626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa48b"} 
[2026-07-27 22:40:06] local.INFO: GPS Element Parsed {"raw_longitude":764833152,"raw_latitude":101083384,"longitude_deg":76.4833152,"latitude_deg":10.1083384,"altitude":16,"angle":351,"satellites":38,"speed":0,"hex_longitude":"2d966d80","hex_latitude":"060668f8","is_valid_coordinates":true} 
[2026-07-27 22:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:40:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004040704001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:40:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359474292930379776,"note":"Value kept but may cause issues"} 
[2026-07-27 22:40:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7607283432193198080,"note":"Value kept but may cause issues"} 
[2026-07-27 22:40:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:40:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785172046000,"timestamp_ms":1785172046000,"timestamp_seconds":1785172046,"priority":1,"record_length":96,"hex_timestamp":"0000019fa48bb0b0"} 
[2026-07-27 22:40:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:40:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 22:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-27 22:40:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:40:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:40:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:40:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:40:06] local.INFO: Teltonika packet parsed successfully {"connection_id":145626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:40:06] local.INFO: Passing IMEI to GPS processor {"connection_id":145626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:40:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":145626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:40:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:40:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:40:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:40:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004040704001,"66":27843,"172":206,"79":48640,"24":0,"16":359474292930379776,"45":-7607283432193198080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,79,24,16,45]} 
[2026-07-27 22:40:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:40:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:40:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004040704001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:40:06] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-07-27 22:40:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 22:40:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359474292930379776,"km_value":359474292930379.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:40:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7607283432193198080,"description":"Unknown IO ID 45"} 
[2026-07-27 22:40:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004040704001,"power":27843,"unknown_172":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7607283432193198080}} 
[2026-07-27 22:40:06] local.INFO: DEBUG: GPS processor result {"connection_id":145626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:40:06] local.INFO: GPS data processed {"connection_id":145626,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:40:06] local.INFO: Acknowledgment sent {"connection_id":145626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:40:37] local.INFO: TCP Data received {"connection_id":145627,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa48db450012d196940071fee200041013128..."} 
[2026-07-27 22:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145627,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa48db450012d196940071fee200041013128..."} 
[2026-07-27 22:40:37] local.INFO: Processing buffer {"connection_id":145627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa48db450012d196940071fee200041013128..."} 
[2026-07-27 22:40:37] local.INFO: Packet analysis {"connection_id":145627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa48d"} 
[2026-07-27 22:40:37] local.INFO: Extracted packet for processing {"connection_id":145627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa48d"} 
[2026-07-27 22:40:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004000512001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:40:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:40:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:40:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:40:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785172178000,"timestamp_ms":1785172178000,"timestamp_seconds":1785172178,"priority":1,"record_length":96,"hex_timestamp":"0000019fa48db450"} 
[2026-07-27 22:40:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:40:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 22:40:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:40:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:40:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:40:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:40:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:40:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145627,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:40:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145627,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:40:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:40:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:40:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:40:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004000512001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:40:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:40:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:40:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004000512001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:40:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:40:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:40:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:40:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:40:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004000512001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:40:37] local.INFO: DEBUG: GPS processor result {"connection_id":145627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555796,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:40:37] local.INFO: GPS data processed {"connection_id":145627,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:40:37] local.INFO: Acknowledgment sent {"connection_id":145627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:40:37] local.INFO: TCP Data received {"connection_id":145626,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa48bb0b0012d966d80060668f80010015f26..."} 
[2026-07-27 22:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa48bb0b0012d966d80060668f80010015f26..."} 
[2026-07-27 22:40:37] local.INFO: Processing buffer {"connection_id":145626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa48bb0b0012d966d80060668f80010015f26..."} 
[2026-07-27 22:40:37] local.INFO: Packet analysis {"connection_id":145626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa48b"} 
[2026-07-27 22:40:37] local.INFO: Extracted packet for processing {"connection_id":145626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa48b"} 
[2026-07-27 22:40:37] local.INFO: GPS Element Parsed {"raw_longitude":764833152,"raw_latitude":101083384,"longitude_deg":76.4833152,"latitude_deg":10.1083384,"altitude":16,"angle":351,"satellites":38,"speed":0,"hex_longitude":"2d966d80","hex_latitude":"060668f8","is_valid_coordinates":true} 
[2026-07-27 22:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004040704001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:40:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359474292930379776,"note":"Value kept but may cause issues"} 
[2026-07-27 22:40:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7607283432193198080,"note":"Value kept but may cause issues"} 
[2026-07-27 22:40:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:40:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785172046000,"timestamp_ms":1785172046000,"timestamp_seconds":1785172046,"priority":1,"record_length":96,"hex_timestamp":"0000019fa48bb0b0"} 
[2026-07-27 22:40:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:40:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 22:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-27 22:40:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:40:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:40:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:40:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:40:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:40:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:40:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:40:37] 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-07-27 22:40:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:40:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:40:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004040704001,"66":27843,"172":206,"79":48640,"24":0,"16":359474292930379776,"45":-7607283432193198080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,79,24,16,45]} 
[2026-07-27 22:40:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:40:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:40:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004040704001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:40:37] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-07-27 22:40:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 22:40:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359474292930379776,"km_value":359474292930379.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:40:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7607283432193198080,"description":"Unknown IO ID 45"} 
[2026-07-27 22:40:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004040704001,"power":27843,"unknown_172":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7607283432193198080}} 
[2026-07-27 22:40:37] local.INFO: DEBUG: GPS processor result {"connection_id":145626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:40:37] local.INFO: GPS data processed {"connection_id":145626,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:40:37] local.INFO: Acknowledgment sent {"connection_id":145626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:40:59] local.INFO: TCP Data received {"connection_id":144353,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144353,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:40:59] local.INFO: Processing buffer {"connection_id":144353,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:40:59] local.INFO: IMEI packet received {"connection_id":144353,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 22:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":144353,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 22:41:00] local.INFO: TCP Data received {"connection_id":143206,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:41:00] local.INFO: Processing buffer {"connection_id":143206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:41:00] local.INFO: IMEI packet received {"connection_id":143206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 22:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":143206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 22:41:04] local.INFO: TCP Data received {"connection_id":144353,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144353,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:41:04] local.INFO: Processing buffer {"connection_id":144353,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:41:04] local.INFO: IMEI packet received {"connection_id":144353,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 22:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":144353,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:41:05] local.INFO: TCP Data received {"connection_id":143206,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:41:05] local.INFO: Processing buffer {"connection_id":143206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:41:05] local.INFO: IMEI packet received {"connection_id":143206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 22:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":143206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:41:05] local.INFO: TCP Data received {"connection_id":144353,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa48db450012d196940071fee200041013128..."} 
[2026-07-27 22:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144353,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa48db450012d196940071fee200041013128..."} 
[2026-07-27 22:41:05] local.INFO: Processing buffer {"connection_id":144353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa48db450012d196940071fee200041013128..."} 
[2026-07-27 22:41:05] local.INFO: Packet analysis {"connection_id":144353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa48d"} 
[2026-07-27 22:41:05] local.INFO: Extracted packet for processing {"connection_id":144353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa48d"} 
[2026-07-27 22:41:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:41:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004000512001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:41:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:41:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:41:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:41:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785172178000,"timestamp_ms":1785172178000,"timestamp_seconds":1785172178,"priority":1,"record_length":96,"hex_timestamp":"0000019fa48db450"} 
[2026-07-27 22:41:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:41:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 22:41:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:41:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:41:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:41:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:41:05] local.INFO: Teltonika packet parsed successfully {"connection_id":144353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:41:05] local.INFO: Passing IMEI to GPS processor {"connection_id":144353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:41:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":144353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:41:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:41:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:41:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:41:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004000512001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:41:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:41:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:41:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004000512001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:41:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:41:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:41:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:41:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:41:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004000512001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:41:05] local.INFO: DEBUG: GPS processor result {"connection_id":144353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555798,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:41:05] local.INFO: GPS data processed {"connection_id":144353,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:41:05] local.INFO: Acknowledgment sent {"connection_id":144353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:41:06] local.INFO: TCP Data received {"connection_id":143206,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa48bb0b0012d966d80060668f80010015f26..."} 
[2026-07-27 22:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa48bb0b0012d966d80060668f80010015f26..."} 
[2026-07-27 22:41:06] local.INFO: Processing buffer {"connection_id":143206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa48bb0b0012d966d80060668f80010015f26..."} 
[2026-07-27 22:41:06] local.INFO: Packet analysis {"connection_id":143206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa48b"} 
[2026-07-27 22:41:06] local.INFO: Extracted packet for processing {"connection_id":143206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa48b"} 
[2026-07-27 22:41:06] local.INFO: GPS Element Parsed {"raw_longitude":764833152,"raw_latitude":101083384,"longitude_deg":76.4833152,"latitude_deg":10.1083384,"altitude":16,"angle":351,"satellites":38,"speed":0,"hex_longitude":"2d966d80","hex_latitude":"060668f8","is_valid_coordinates":true} 
[2026-07-27 22:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:41:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004040704001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:41:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359474292930379776,"note":"Value kept but may cause issues"} 
[2026-07-27 22:41:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7607283432193198080,"note":"Value kept but may cause issues"} 
[2026-07-27 22:41:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:41:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785172046000,"timestamp_ms":1785172046000,"timestamp_seconds":1785172046,"priority":1,"record_length":96,"hex_timestamp":"0000019fa48bb0b0"} 
[2026-07-27 22:41:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:41:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 22:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-27 22:41:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:41:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:41:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:41:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:41:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:41:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:41:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:41:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:41:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:41:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:41:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004040704001,"66":27843,"172":206,"79":48640,"24":0,"16":359474292930379776,"45":-7607283432193198080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,79,24,16,45]} 
[2026-07-27 22:41:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:41:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:41:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004040704001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:41:06] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-07-27 22:41:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 22:41:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359474292930379776,"km_value":359474292930379.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:41:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7607283432193198080,"description":"Unknown IO ID 45"} 
[2026-07-27 22:41:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004040704001,"power":27843,"unknown_172":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7607283432193198080}} 
[2026-07-27 22:41:06] local.INFO: DEBUG: GPS processor result {"connection_id":143206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:41:06] local.INFO: GPS data processed {"connection_id":143206,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:41:06] local.INFO: Acknowledgment sent {"connection_id":143206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:41:37] local.INFO: TCP Data received {"connection_id":144353,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa48db450012d196940071fee200041013128..."} 
[2026-07-27 22:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144353,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa48db450012d196940071fee200041013128..."} 
[2026-07-27 22:41:37] local.INFO: Processing buffer {"connection_id":144353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa48db450012d196940071fee200041013128..."} 
[2026-07-27 22:41:37] local.INFO: Packet analysis {"connection_id":144353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa48d"} 
[2026-07-27 22:41:37] local.INFO: Extracted packet for processing {"connection_id":144353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa48d"} 
[2026-07-27 22:41:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:41:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004000512001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:41:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:41:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:41:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:41:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785172178000,"timestamp_ms":1785172178000,"timestamp_seconds":1785172178,"priority":1,"record_length":96,"hex_timestamp":"0000019fa48db450"} 
[2026-07-27 22:41:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:41:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 22:41:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:41:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:41:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:41:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:41:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:41:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:41:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:41:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:41:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:41:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:41:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004000512001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:41:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:41:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:41:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004000512001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:41:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:41:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:41:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:41:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:41:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004000512001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:41:37] local.INFO: TCP Data received {"connection_id":143206,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa48bb0b0012d966d80060668f80010015f26..."} 
[2026-07-27 22:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa48bb0b0012d966d80060668f80010015f26..."} 
[2026-07-27 22:41:37] local.INFO: Processing buffer {"connection_id":143206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa48bb0b0012d966d80060668f80010015f26..."} 
[2026-07-27 22:41:37] local.INFO: Packet analysis {"connection_id":143206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa48b"} 
[2026-07-27 22:41:37] local.INFO: Extracted packet for processing {"connection_id":143206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa48b"} 
[2026-07-27 22:41:37] local.INFO: GPS Element Parsed {"raw_longitude":764833152,"raw_latitude":101083384,"longitude_deg":76.4833152,"latitude_deg":10.1083384,"altitude":16,"angle":351,"satellites":38,"speed":0,"hex_longitude":"2d966d80","hex_latitude":"060668f8","is_valid_coordinates":true} 
[2026-07-27 22:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:41:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004040704001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:41:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359474292930379776,"note":"Value kept but may cause issues"} 
[2026-07-27 22:41:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7607283432193198080,"note":"Value kept but may cause issues"} 
[2026-07-27 22:41:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:41:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785172046000,"timestamp_ms":1785172046000,"timestamp_seconds":1785172046,"priority":1,"record_length":96,"hex_timestamp":"0000019fa48bb0b0"} 
[2026-07-27 22:41:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:41:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 22:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-27 22:41:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:41:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:41:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:41:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:41:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:41:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:41:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:41:37] 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-07-27 22:41:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:41:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:41:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004040704001,"66":27843,"172":206,"79":48640,"24":0,"16":359474292930379776,"45":-7607283432193198080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,79,24,16,45]} 
[2026-07-27 22:41:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:41:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:41:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004040704001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:41:37] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-07-27 22:41:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 22:41:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359474292930379776,"km_value":359474292930379.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:41:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7607283432193198080,"description":"Unknown IO ID 45"} 
[2026-07-27 22:41:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004040704001,"power":27843,"unknown_172":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7607283432193198080}} 
[2026-07-27 22:41:37] local.INFO: DEBUG: GPS processor result {"connection_id":143206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:41:37] local.INFO: GPS data processed {"connection_id":143206,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:41:37] local.INFO: Acknowledgment sent {"connection_id":143206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:41:37] local.INFO: DEBUG: GPS processor result {"connection_id":144353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555801,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:41:37] local.INFO: GPS data processed {"connection_id":144353,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:41:37] local.INFO: Acknowledgment sent {"connection_id":144353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:41:59] local.INFO: TCP Data received {"connection_id":143207,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143207,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:41:59] local.INFO: Processing buffer {"connection_id":143207,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:41:59] local.INFO: IMEI packet received {"connection_id":143207,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 22:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":143207,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 22:42:00] local.INFO: TCP Data received {"connection_id":145628,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:42:00] local.INFO: Processing buffer {"connection_id":145628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:42:00] local.INFO: IMEI packet received {"connection_id":145628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 22:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":145628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 22:42:04] local.INFO: TCP Data received {"connection_id":143207,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143207,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:42:04] local.INFO: Processing buffer {"connection_id":143207,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:42:04] local.INFO: IMEI packet received {"connection_id":143207,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 22:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":143207,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:42:05] local.INFO: TCP Data received {"connection_id":145628,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:42:05] local.INFO: Processing buffer {"connection_id":145628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:42:05] local.INFO: IMEI packet received {"connection_id":145628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 22:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":145628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:42:05] local.INFO: TCP Data received {"connection_id":143207,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa48db450012d196940071fee200041013128..."} 
[2026-07-27 22:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143207,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa48db450012d196940071fee200041013128..."} 
[2026-07-27 22:42:05] local.INFO: Processing buffer {"connection_id":143207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa48db450012d196940071fee200041013128..."} 
[2026-07-27 22:42:05] local.INFO: Packet analysis {"connection_id":143207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa48d"} 
[2026-07-27 22:42:05] local.INFO: Extracted packet for processing {"connection_id":143207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa48d"} 
[2026-07-27 22:42:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:42:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004000512001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:42:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:42:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:42:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:42:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785172178000,"timestamp_ms":1785172178000,"timestamp_seconds":1785172178,"priority":1,"record_length":96,"hex_timestamp":"0000019fa48db450"} 
[2026-07-27 22:42:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:42:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 22:42:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:42:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:42:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:42:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:42:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:42:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143207,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:42:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143207,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:42:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:42:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:42:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:42:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004000512001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:42:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:42:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:42:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004000512001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:42:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:42:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:42:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:42:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:42:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004000512001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:42:05] local.INFO: DEBUG: GPS processor result {"connection_id":143207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555802,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:42:05] local.INFO: GPS data processed {"connection_id":143207,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:42:05] local.INFO: Acknowledgment sent {"connection_id":143207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:42:06] local.INFO: TCP Data received {"connection_id":145628,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa48bb0b0012d966d80060668f80010015f26..."} 
[2026-07-27 22:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145628,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa48bb0b0012d966d80060668f80010015f26..."} 
[2026-07-27 22:42:06] local.INFO: Processing buffer {"connection_id":145628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa48bb0b0012d966d80060668f80010015f26..."} 
[2026-07-27 22:42:06] local.INFO: Packet analysis {"connection_id":145628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa48b"} 
[2026-07-27 22:42:06] local.INFO: Extracted packet for processing {"connection_id":145628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa48b"} 
[2026-07-27 22:42:06] local.INFO: GPS Element Parsed {"raw_longitude":764833152,"raw_latitude":101083384,"longitude_deg":76.4833152,"latitude_deg":10.1083384,"altitude":16,"angle":351,"satellites":38,"speed":0,"hex_longitude":"2d966d80","hex_latitude":"060668f8","is_valid_coordinates":true} 
[2026-07-27 22:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:42:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004040704001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:42:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359474292930379776,"note":"Value kept but may cause issues"} 
[2026-07-27 22:42:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7607283432193198080,"note":"Value kept but may cause issues"} 
[2026-07-27 22:42:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:42:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785172046000,"timestamp_ms":1785172046000,"timestamp_seconds":1785172046,"priority":1,"record_length":96,"hex_timestamp":"0000019fa48bb0b0"} 
[2026-07-27 22:42:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:42:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 22:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-27 22:42:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:42:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:42:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:42:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:42:06] local.INFO: Teltonika packet parsed successfully {"connection_id":145628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:42:06] local.INFO: Passing IMEI to GPS processor {"connection_id":145628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:42:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":145628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:42:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:42:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:42:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:42:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004040704001,"66":27843,"172":206,"79":48640,"24":0,"16":359474292930379776,"45":-7607283432193198080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,79,24,16,45]} 
[2026-07-27 22:42:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:42:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:42:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004040704001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:42:06] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-07-27 22:42:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 22:42:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359474292930379776,"km_value":359474292930379.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:42:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7607283432193198080,"description":"Unknown IO ID 45"} 
[2026-07-27 22:42:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004040704001,"power":27843,"unknown_172":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7607283432193198080}} 
[2026-07-27 22:42:06] local.INFO: DEBUG: GPS processor result {"connection_id":145628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:42:06] local.INFO: GPS data processed {"connection_id":145628,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:42:06] local.INFO: Acknowledgment sent {"connection_id":145628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:42:37] local.INFO: TCP Data received {"connection_id":143207,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa48db450012d196940071fee200041013128..."} 
[2026-07-27 22:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143207,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa48db450012d196940071fee200041013128..."} 
[2026-07-27 22:42:37] local.INFO: Processing buffer {"connection_id":143207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa48db450012d196940071fee200041013128..."} 
[2026-07-27 22:42:37] local.INFO: Packet analysis {"connection_id":143207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa48d"} 
[2026-07-27 22:42:37] local.INFO: Extracted packet for processing {"connection_id":143207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa48d"} 
[2026-07-27 22:42:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004000512001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:42:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:42:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785172178000,"timestamp_ms":1785172178000,"timestamp_seconds":1785172178,"priority":1,"record_length":96,"hex_timestamp":"0000019fa48db450"} 
[2026-07-27 22:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:42:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 22:42:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:42:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143207,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143207,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:42:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004000512001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004000512001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:42:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:42:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:42:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004000512001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:42:37] local.INFO: TCP Data received {"connection_id":145628,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa48bb0b0012d966d80060668f80010015f26..."} 
[2026-07-27 22:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145628,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa48bb0b0012d966d80060668f80010015f26..."} 
[2026-07-27 22:42:37] local.INFO: Processing buffer {"connection_id":145628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa48bb0b0012d966d80060668f80010015f26..."} 
[2026-07-27 22:42:37] local.INFO: Packet analysis {"connection_id":145628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa48b"} 
[2026-07-27 22:42:37] local.INFO: Extracted packet for processing {"connection_id":145628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa48b"} 
[2026-07-27 22:42:37] local.INFO: GPS Element Parsed {"raw_longitude":764833152,"raw_latitude":101083384,"longitude_deg":76.4833152,"latitude_deg":10.1083384,"altitude":16,"angle":351,"satellites":38,"speed":0,"hex_longitude":"2d966d80","hex_latitude":"060668f8","is_valid_coordinates":true} 
[2026-07-27 22:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004040704001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359474292930379776,"note":"Value kept but may cause issues"} 
[2026-07-27 22:42:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7607283432193198080,"note":"Value kept but may cause issues"} 
[2026-07-27 22:42:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785172046000,"timestamp_ms":1785172046000,"timestamp_seconds":1785172046,"priority":1,"record_length":96,"hex_timestamp":"0000019fa48bb0b0"} 
[2026-07-27 22:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:42:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 22:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-27 22:42:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:42:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:42:37] 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-07-27 22:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004040704001,"66":27843,"172":206,"79":48640,"24":0,"16":359474292930379776,"45":-7607283432193198080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,79,24,16,45]} 
[2026-07-27 22:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004040704001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:42:37] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-07-27 22:42:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 22:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359474292930379776,"km_value":359474292930379.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:42:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7607283432193198080,"description":"Unknown IO ID 45"} 
[2026-07-27 22:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004040704001,"power":27843,"unknown_172":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7607283432193198080}} 
[2026-07-27 22:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":145628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:42:37] local.INFO: GPS data processed {"connection_id":145628,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:42:37] local.INFO: Acknowledgment sent {"connection_id":145628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":143207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555805,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:42:37] local.INFO: GPS data processed {"connection_id":143207,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:42:37] local.INFO: Acknowledgment sent {"connection_id":143207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:42:58] local.INFO: TCP Data received {"connection_id":144354,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144354,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:42:58] local.INFO: Processing buffer {"connection_id":144354,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:42:58] local.INFO: IMEI packet received {"connection_id":144354,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 22:42:58] local.INFO: IMEI acknowledgment sent {"connection_id":144354,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 22:43:04] local.INFO: TCP Data received {"connection_id":144354,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144354,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:43:04] local.INFO: Processing buffer {"connection_id":144354,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:43:04] local.INFO: IMEI packet received {"connection_id":144354,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 22:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":144354,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:43:05] local.INFO: TCP Data received {"connection_id":144355,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:43:05] local.INFO: Processing buffer {"connection_id":144355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:43:05] local.INFO: IMEI packet received {"connection_id":144355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 22:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":144355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 22:43:05] local.INFO: TCP Data received {"connection_id":144354,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa48db450012d196940071fee200041013128..."} 
[2026-07-27 22:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa48db450012d196940071fee200041013128..."} 
[2026-07-27 22:43:05] local.INFO: Processing buffer {"connection_id":144354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa48db450012d196940071fee200041013128..."} 
[2026-07-27 22:43:05] local.INFO: Packet analysis {"connection_id":144354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa48d"} 
[2026-07-27 22:43:05] local.INFO: Extracted packet for processing {"connection_id":144354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa48d"} 
[2026-07-27 22:43:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:43:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004000512001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:43:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:43:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:43:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:43:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785172178000,"timestamp_ms":1785172178000,"timestamp_seconds":1785172178,"priority":1,"record_length":96,"hex_timestamp":"0000019fa48db450"} 
[2026-07-27 22:43:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:43:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 22:43:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:43:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:43:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:43:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:43:05] local.INFO: Teltonika packet parsed successfully {"connection_id":144354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:43:05] local.INFO: Passing IMEI to GPS processor {"connection_id":144354,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:43:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":144354,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:43:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:43:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:43:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:43:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004000512001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:43:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:43:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:43:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004000512001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:43:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:43:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:43:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:43:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:43:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004000512001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:43:05] local.INFO: DEBUG: GPS processor result {"connection_id":144354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555806,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:43:05] local.INFO: GPS data processed {"connection_id":144354,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:43:05] local.INFO: Acknowledgment sent {"connection_id":144354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:43:06] local.INFO: TCP Data received {"connection_id":144355,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:43:06] local.INFO: Processing buffer {"connection_id":144355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:43:06] local.INFO: IMEI packet received {"connection_id":144355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 22:43:06] local.INFO: IMEI acknowledgment sent {"connection_id":144355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:43:06] local.INFO: TCP Data received {"connection_id":144355,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4904c60012d966f00060666d00017015f25..."} 
[2026-07-27 22:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4904c60012d966f00060666d00017015f25..."} 
[2026-07-27 22:43:06] local.INFO: Processing buffer {"connection_id":144355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4904c60012d966f00060666d00017015f25..."} 
[2026-07-27 22:43:06] local.INFO: Packet analysis {"connection_id":144355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa490"} 
[2026-07-27 22:43:06] local.INFO: Extracted packet for processing {"connection_id":144355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa490"} 
[2026-07-27 22:43:06] local.INFO: GPS Element Parsed {"raw_longitude":764833536,"raw_latitude":101082832,"longitude_deg":76.4833536,"latitude_deg":10.1082832,"altitude":23,"angle":351,"satellites":37,"speed":0,"hex_longitude":"2d966f00","hex_latitude":"060666d0","is_valid_coordinates":true} 
[2026-07-27 22:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:43:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004043776001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:43:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359474292930379776,"note":"Value kept but may cause issues"} 
[2026-07-27 22:43:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7607283432193198080,"note":"Value kept but may cause issues"} 
[2026-07-27 22:43:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:43:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785172348000,"timestamp_ms":1785172348000,"timestamp_seconds":1785172348,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4904c60"} 
[2026-07-27 22:43:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:43:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-27 22:43:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:43:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:43:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:43:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:43:06] local.INFO: Teltonika packet parsed successfully {"connection_id":144355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:43:06] local.INFO: Passing IMEI to GPS processor {"connection_id":144355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:43:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":144355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:43:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:43:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:43:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:43:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004043776001,"66":26115,"231":206,"79":48640,"24":0,"16":359474292930379776,"45":-7607283432193198080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,79,24,16,45]} 
[2026-07-27 22:43:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:43:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:43:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004043776001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:43:06] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-07-27 22:43:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 22:43:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359474292930379776,"km_value":359474292930379.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:43:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7607283432193198080,"description":"Unknown IO ID 45"} 
[2026-07-27 22:43:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004043776001,"power":26115,"unknown_231":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7607283432193198080}} 
[2026-07-27 22:43:06] local.INFO: DEBUG: GPS processor result {"connection_id":144355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:43:06] local.INFO: GPS data processed {"connection_id":144355,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:43:06] local.INFO: Acknowledgment sent {"connection_id":144355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:43:10] local.INFO: TCP Data received {"connection_id":144355,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4904c60012d966f00060666d00017015f25..."} 
[2026-07-27 22:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4904c60012d966f00060666d00017015f25..."} 
[2026-07-27 22:43:10] local.INFO: Processing buffer {"connection_id":144355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4904c60012d966f00060666d00017015f25..."} 
[2026-07-27 22:43:10] local.INFO: Packet analysis {"connection_id":144355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa490"} 
[2026-07-27 22:43:10] local.INFO: Extracted packet for processing {"connection_id":144355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa490"} 
[2026-07-27 22:43:10] local.INFO: GPS Element Parsed {"raw_longitude":764833536,"raw_latitude":101082832,"longitude_deg":76.4833536,"latitude_deg":10.1082832,"altitude":23,"angle":351,"satellites":37,"speed":0,"hex_longitude":"2d966f00","hex_latitude":"060666d0","is_valid_coordinates":true} 
[2026-07-27 22:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:43:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004043776001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:43:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359474292930379776,"note":"Value kept but may cause issues"} 
[2026-07-27 22:43:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7607283432193198080,"note":"Value kept but may cause issues"} 
[2026-07-27 22:43:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:43:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785172348000,"timestamp_ms":1785172348000,"timestamp_seconds":1785172348,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4904c60"} 
[2026-07-27 22:43:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:43:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-27 22:43:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:43:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:43:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:43:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:43:10] local.INFO: Teltonika packet parsed successfully {"connection_id":144355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:43:10] local.INFO: Passing IMEI to GPS processor {"connection_id":144355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:43:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":144355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:43: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-07-27 22:43:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:43:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:43:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004043776001,"66":26115,"231":206,"79":48640,"24":0,"16":359474292930379776,"45":-7607283432193198080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,79,24,16,45]} 
[2026-07-27 22:43:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:43:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:43:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004043776001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:43:10] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-07-27 22:43:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 22:43:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359474292930379776,"km_value":359474292930379.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:43:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7607283432193198080,"description":"Unknown IO ID 45"} 
[2026-07-27 22:43:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004043776001,"power":26115,"unknown_231":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7607283432193198080}} 
[2026-07-27 22:43:10] local.INFO: DEBUG: GPS processor result {"connection_id":144355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:43:10] local.INFO: GPS data processed {"connection_id":144355,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:43:10] local.INFO: Acknowledgment sent {"connection_id":144355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:43:37] local.INFO: TCP Data received {"connection_id":144354,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa48db450012d196940071fee200041013128..."} 
[2026-07-27 22:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa48db450012d196940071fee200041013128..."} 
[2026-07-27 22:43:37] local.INFO: Processing buffer {"connection_id":144354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa48db450012d196940071fee200041013128..."} 
[2026-07-27 22:43:37] local.INFO: Packet analysis {"connection_id":144354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa48d"} 
[2026-07-27 22:43:37] local.INFO: Extracted packet for processing {"connection_id":144354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa48d"} 
[2026-07-27 22:43:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:43:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004000512001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:43:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:43:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:43:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:43:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785172178000,"timestamp_ms":1785172178000,"timestamp_seconds":1785172178,"priority":1,"record_length":96,"hex_timestamp":"0000019fa48db450"} 
[2026-07-27 22:43:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:43:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 22:43:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:43:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:43:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:43:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:43:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:43:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144354,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:43:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144354,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:43:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:43:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:43:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:43:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004000512001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:43:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:43:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:43:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004000512001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:43:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:43:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:43:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:43:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:43:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004000512001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:43:37] local.INFO: DEBUG: GPS processor result {"connection_id":144354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555809,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:43:37] local.INFO: GPS data processed {"connection_id":144354,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:43:37] local.INFO: Acknowledgment sent {"connection_id":144354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:43:41] local.INFO: TCP Data received {"connection_id":144355,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4904c60012d966f00060666d00017015f25..."} 
[2026-07-27 22:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4904c60012d966f00060666d00017015f25..."} 
[2026-07-27 22:43:41] local.INFO: Processing buffer {"connection_id":144355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4904c60012d966f00060666d00017015f25..."} 
[2026-07-27 22:43:41] local.INFO: Packet analysis {"connection_id":144355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa490"} 
[2026-07-27 22:43:41] local.INFO: Extracted packet for processing {"connection_id":144355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa490"} 
[2026-07-27 22:43:41] local.INFO: GPS Element Parsed {"raw_longitude":764833536,"raw_latitude":101082832,"longitude_deg":76.4833536,"latitude_deg":10.1082832,"altitude":23,"angle":351,"satellites":37,"speed":0,"hex_longitude":"2d966f00","hex_latitude":"060666d0","is_valid_coordinates":true} 
[2026-07-27 22:43:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:43:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004043776001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:43:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359474292930379776,"note":"Value kept but may cause issues"} 
[2026-07-27 22:43:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7607283432193198080,"note":"Value kept but may cause issues"} 
[2026-07-27 22:43:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:43:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785172348000,"timestamp_ms":1785172348000,"timestamp_seconds":1785172348,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4904c60"} 
[2026-07-27 22:43:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:43:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-27 22:43:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:43:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:43:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:43:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:43:41] local.INFO: Teltonika packet parsed successfully {"connection_id":144355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:43:41] local.INFO: Passing IMEI to GPS processor {"connection_id":144355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:43:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":144355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:43: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-07-27 22:43:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:43:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:43:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004043776001,"66":26115,"231":206,"79":48640,"24":0,"16":359474292930379776,"45":-7607283432193198080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,79,24,16,45]} 
[2026-07-27 22:43:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:43:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:43:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004043776001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:43:41] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-07-27 22:43:41] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 22:43:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359474292930379776,"km_value":359474292930379.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:43:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7607283432193198080,"description":"Unknown IO ID 45"} 
[2026-07-27 22:43:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004043776001,"power":26115,"unknown_231":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7607283432193198080}} 
[2026-07-27 22:43:41] local.INFO: DEBUG: GPS processor result {"connection_id":144355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:43:41] local.INFO: GPS data processed {"connection_id":144355,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:43:41] local.INFO: Acknowledgment sent {"connection_id":144355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:43:58] local.INFO: TCP Data received {"connection_id":145629,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145629,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:43:58] local.INFO: Processing buffer {"connection_id":145629,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:43:58] local.INFO: IMEI packet received {"connection_id":145629,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 22:43:58] local.INFO: IMEI acknowledgment sent {"connection_id":145629,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 22:44:00] local.INFO: TCP Data received {"connection_id":143208,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:44:00] local.INFO: Processing buffer {"connection_id":143208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:44:00] local.INFO: IMEI packet received {"connection_id":143208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 22:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":143208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 22:44:04] local.INFO: TCP Data received {"connection_id":145629,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145629,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:44:04] local.INFO: Processing buffer {"connection_id":145629,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:44:04] local.INFO: IMEI packet received {"connection_id":145629,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 22:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":145629,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:44:05] local.INFO: TCP Data received {"connection_id":143208,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:44:05] local.INFO: Processing buffer {"connection_id":143208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:44:05] local.INFO: IMEI packet received {"connection_id":143208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 22:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":143208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:44:05] local.INFO: TCP Data received {"connection_id":145629,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa48db450012d196940071fee200041013128..."} 
[2026-07-27 22:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa48db450012d196940071fee200041013128..."} 
[2026-07-27 22:44:05] local.INFO: Processing buffer {"connection_id":145629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa48db450012d196940071fee200041013128..."} 
[2026-07-27 22:44:05] local.INFO: Packet analysis {"connection_id":145629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa48d"} 
[2026-07-27 22:44:05] local.INFO: Extracted packet for processing {"connection_id":145629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa48d"} 
[2026-07-27 22:44:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:44:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004000512001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:44:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:44:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:44:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:44:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785172178000,"timestamp_ms":1785172178000,"timestamp_seconds":1785172178,"priority":1,"record_length":96,"hex_timestamp":"0000019fa48db450"} 
[2026-07-27 22:44:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:44:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 22:44:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:44:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:44:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:44:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:44:05] local.INFO: Teltonika packet parsed successfully {"connection_id":145629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:44:05] local.INFO: Passing IMEI to GPS processor {"connection_id":145629,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:44:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":145629,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:44:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:44:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:44:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:44:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004000512001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:44:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:44:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:44:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004000512001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:44:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:44:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:44:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:44:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:44:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004000512001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:44:05] local.INFO: DEBUG: GPS processor result {"connection_id":145629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555811,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:44:05] local.INFO: GPS data processed {"connection_id":145629,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:44:05] local.INFO: Acknowledgment sent {"connection_id":145629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:44:06] local.INFO: TCP Data received {"connection_id":143208,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4904c60012d966f00060666d00017015f25..."} 
[2026-07-27 22:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4904c60012d966f00060666d00017015f25..."} 
[2026-07-27 22:44:06] local.INFO: Processing buffer {"connection_id":143208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4904c60012d966f00060666d00017015f25..."} 
[2026-07-27 22:44:06] local.INFO: Packet analysis {"connection_id":143208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa490"} 
[2026-07-27 22:44:06] local.INFO: Extracted packet for processing {"connection_id":143208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa490"} 
[2026-07-27 22:44:06] local.INFO: GPS Element Parsed {"raw_longitude":764833536,"raw_latitude":101082832,"longitude_deg":76.4833536,"latitude_deg":10.1082832,"altitude":23,"angle":351,"satellites":37,"speed":0,"hex_longitude":"2d966f00","hex_latitude":"060666d0","is_valid_coordinates":true} 
[2026-07-27 22:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:44:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004043776001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:44:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359474292930379776,"note":"Value kept but may cause issues"} 
[2026-07-27 22:44:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7607283432193198080,"note":"Value kept but may cause issues"} 
[2026-07-27 22:44:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:44:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785172348000,"timestamp_ms":1785172348000,"timestamp_seconds":1785172348,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4904c60"} 
[2026-07-27 22:44:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:44:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-27 22:44:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:44:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:44:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:44:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:44:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:44:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:44:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:44:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:44:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:44:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:44:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004043776001,"66":26115,"231":206,"79":48640,"24":0,"16":359474292930379776,"45":-7607283432193198080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,79,24,16,45]} 
[2026-07-27 22:44:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:44:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:44:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004043776001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:44:06] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-07-27 22:44:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 22:44:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359474292930379776,"km_value":359474292930379.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:44:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7607283432193198080,"description":"Unknown IO ID 45"} 
[2026-07-27 22:44:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004043776001,"power":26115,"unknown_231":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7607283432193198080}} 
[2026-07-27 22:44:06] local.INFO: DEBUG: GPS processor result {"connection_id":143208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:44:06] local.INFO: GPS data processed {"connection_id":143208,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:44:06] local.INFO: Acknowledgment sent {"connection_id":143208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:44:37] local.INFO: TCP Data received {"connection_id":145629,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa48db450012d196940071fee200041013128..."} 
[2026-07-27 22:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa48db450012d196940071fee200041013128..."} 
[2026-07-27 22:44:37] local.INFO: Processing buffer {"connection_id":145629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa48db450012d196940071fee200041013128..."} 
[2026-07-27 22:44:37] local.INFO: Packet analysis {"connection_id":145629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa48d"} 
[2026-07-27 22:44:37] local.INFO: Extracted packet for processing {"connection_id":145629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa48d"} 
[2026-07-27 22:44:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:44:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004000512001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:44:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:44:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:44:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:44:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785172178000,"timestamp_ms":1785172178000,"timestamp_seconds":1785172178,"priority":1,"record_length":96,"hex_timestamp":"0000019fa48db450"} 
[2026-07-27 22:44:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:44:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 22:44:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:44:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:44:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:44:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:44:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:44:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145629,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:44:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145629,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:44:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:44:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:44:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:44:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004000512001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:44:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:44:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:44:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004000512001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:44:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:44:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:44:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:44:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:44:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004000512001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:44:37] local.INFO: DEBUG: GPS processor result {"connection_id":145629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555813,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:44:37] local.INFO: GPS data processed {"connection_id":145629,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:44:37] local.INFO: Acknowledgment sent {"connection_id":145629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:44:37] local.INFO: TCP Data received {"connection_id":143208,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4904c60012d966f00060666d00017015f25..."} 
[2026-07-27 22:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4904c60012d966f00060666d00017015f25..."} 
[2026-07-27 22:44:37] local.INFO: Processing buffer {"connection_id":143208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4904c60012d966f00060666d00017015f25..."} 
[2026-07-27 22:44:37] local.INFO: Packet analysis {"connection_id":143208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa490"} 
[2026-07-27 22:44:37] local.INFO: Extracted packet for processing {"connection_id":143208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa490"} 
[2026-07-27 22:44:37] local.INFO: GPS Element Parsed {"raw_longitude":764833536,"raw_latitude":101082832,"longitude_deg":76.4833536,"latitude_deg":10.1082832,"altitude":23,"angle":351,"satellites":37,"speed":0,"hex_longitude":"2d966f00","hex_latitude":"060666d0","is_valid_coordinates":true} 
[2026-07-27 22:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:44:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004043776001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:44:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359474292930379776,"note":"Value kept but may cause issues"} 
[2026-07-27 22:44:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7607283432193198080,"note":"Value kept but may cause issues"} 
[2026-07-27 22:44:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:44:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785172348000,"timestamp_ms":1785172348000,"timestamp_seconds":1785172348,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4904c60"} 
[2026-07-27 22:44:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:44:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-27 22:44:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:44:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:44:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:44:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:44:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:44:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:44:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:44:37] 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-07-27 22:44:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:44:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:44:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004043776001,"66":26115,"231":206,"79":48640,"24":0,"16":359474292930379776,"45":-7607283432193198080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,79,24,16,45]} 
[2026-07-27 22:44:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:44:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:44:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004043776001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:44:37] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-07-27 22:44:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 22:44:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359474292930379776,"km_value":359474292930379.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:44:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7607283432193198080,"description":"Unknown IO ID 45"} 
[2026-07-27 22:44:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004043776001,"power":26115,"unknown_231":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7607283432193198080}} 
[2026-07-27 22:44:37] local.INFO: DEBUG: GPS processor result {"connection_id":143208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:44:37] local.INFO: GPS data processed {"connection_id":143208,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:44:37] local.INFO: Acknowledgment sent {"connection_id":143208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:45:00] local.INFO: TCP Data received {"connection_id":145630,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:45:00] local.INFO: Processing buffer {"connection_id":145630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:45:00] local.INFO: IMEI packet received {"connection_id":145630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 22:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":145630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 22:45:04] local.INFO: TCP Data received {"connection_id":145631,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145631,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:45:04] local.INFO: Processing buffer {"connection_id":145631,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:45:04] local.INFO: IMEI packet received {"connection_id":145631,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 22:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":145631,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 22:45:05] local.INFO: TCP Data received {"connection_id":145630,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:45:05] local.INFO: Processing buffer {"connection_id":145630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:45:05] local.INFO: IMEI packet received {"connection_id":145630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 22:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":145630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:45:06] local.INFO: TCP Data received {"connection_id":145630,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4904c60012d966f00060666d00017015f25..."} 
[2026-07-27 22:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145630,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4904c60012d966f00060666d00017015f25..."} 
[2026-07-27 22:45:06] local.INFO: Processing buffer {"connection_id":145630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4904c60012d966f00060666d00017015f25..."} 
[2026-07-27 22:45:06] local.INFO: Packet analysis {"connection_id":145630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa490"} 
[2026-07-27 22:45:06] local.INFO: Extracted packet for processing {"connection_id":145630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa490"} 
[2026-07-27 22:45:06] local.INFO: GPS Element Parsed {"raw_longitude":764833536,"raw_latitude":101082832,"longitude_deg":76.4833536,"latitude_deg":10.1082832,"altitude":23,"angle":351,"satellites":37,"speed":0,"hex_longitude":"2d966f00","hex_latitude":"060666d0","is_valid_coordinates":true} 
[2026-07-27 22:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:45:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004043776001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:45:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359474292930379776,"note":"Value kept but may cause issues"} 
[2026-07-27 22:45:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7607283432193198080,"note":"Value kept but may cause issues"} 
[2026-07-27 22:45:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:45:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785172348000,"timestamp_ms":1785172348000,"timestamp_seconds":1785172348,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4904c60"} 
[2026-07-27 22:45:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:45:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-27 22:45:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:45:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:45:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:45:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:45:06] local.INFO: Teltonika packet parsed successfully {"connection_id":145630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:45:06] local.INFO: Passing IMEI to GPS processor {"connection_id":145630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:45:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":145630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:45:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:45:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:45:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:45:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004043776001,"66":26115,"231":206,"79":48640,"24":0,"16":359474292930379776,"45":-7607283432193198080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,79,24,16,45]} 
[2026-07-27 22:45:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:45:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:45:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004043776001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:45:06] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-07-27 22:45:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 22:45:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359474292930379776,"km_value":359474292930379.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:45:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7607283432193198080,"description":"Unknown IO ID 45"} 
[2026-07-27 22:45:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004043776001,"power":26115,"unknown_231":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7607283432193198080}} 
[2026-07-27 22:45:06] local.INFO: DEBUG: GPS processor result {"connection_id":145630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:45:06] local.INFO: GPS data processed {"connection_id":145630,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:45:06] local.INFO: Acknowledgment sent {"connection_id":145630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:45:09] local.INFO: TCP Data received {"connection_id":145631,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145631,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:45:09] local.INFO: Processing buffer {"connection_id":145631,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:45:09] local.INFO: IMEI packet received {"connection_id":145631,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 22:45:09] local.INFO: IMEI acknowledgment sent {"connection_id":145631,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:45:10] local.INFO: TCP Data received {"connection_id":145631,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa48db450012d196940071fee200041013128..."} 
[2026-07-27 22:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa48db450012d196940071fee200041013128..."} 
[2026-07-27 22:45:10] local.INFO: Processing buffer {"connection_id":145631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa48db450012d196940071fee200041013128..."} 
[2026-07-27 22:45:10] local.INFO: Packet analysis {"connection_id":145631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa48d"} 
[2026-07-27 22:45:10] local.INFO: Extracted packet for processing {"connection_id":145631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa48d"} 
[2026-07-27 22:45:10] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22:45:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:45:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004000512001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:45:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:45:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:45:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:45:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785172178000,"timestamp_ms":1785172178000,"timestamp_seconds":1785172178,"priority":1,"record_length":96,"hex_timestamp":"0000019fa48db450"} 
[2026-07-27 22:45:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:45:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 22:45:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:45:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:45:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:45:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:45:10] local.INFO: Teltonika packet parsed successfully {"connection_id":145631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:45:10] local.INFO: Passing IMEI to GPS processor {"connection_id":145631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:45:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":145631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:45:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:45:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:45:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:45:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004000512001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:45:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:45:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:45:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004000512001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:45:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:45:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:45:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:45:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:45:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004000512001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:45:11] local.INFO: DEBUG: GPS processor result {"connection_id":145631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555816,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:45:11] local.INFO: GPS data processed {"connection_id":145631,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:45:11] local.INFO: Acknowledgment sent {"connection_id":145631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:45:15] local.INFO: TCP Data received {"connection_id":145631,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa48db450012d196940071fee200041013128..."} 
[2026-07-27 22:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa48db450012d196940071fee200041013128..."} 
[2026-07-27 22:45:15] local.INFO: Processing buffer {"connection_id":145631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa48db450012d196940071fee200041013128..."} 
[2026-07-27 22:45:15] local.INFO: Packet analysis {"connection_id":145631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa48d"} 
[2026-07-27 22:45:15] local.INFO: Extracted packet for processing {"connection_id":145631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa48d"} 
[2026-07-27 22:45:15] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22: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-07-27 22:45:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004000512001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:45:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:45:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:45: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-07-27 22:45:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785172178000,"timestamp_ms":1785172178000,"timestamp_seconds":1785172178,"priority":1,"record_length":96,"hex_timestamp":"0000019fa48db450"} 
[2026-07-27 22:45:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:45:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 22:45:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22: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-07-27 22:45:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:45:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:45:15] local.INFO: Teltonika packet parsed successfully {"connection_id":145631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:45:15] local.INFO: Passing IMEI to GPS processor {"connection_id":145631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:45:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":145631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:45:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:45:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:45:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:45:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004000512001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:45:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:45:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:45:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004000512001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:45:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:45:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:45:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:45:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:45:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004000512001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:45:15] local.INFO: DEBUG: GPS processor result {"connection_id":145631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555817,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:45:15] local.INFO: GPS data processed {"connection_id":145631,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:45:15] local.INFO: Acknowledgment sent {"connection_id":145631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:45:37] local.INFO: TCP Data received {"connection_id":145630,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4904c60012d966f00060666d00017015f25..."} 
[2026-07-27 22:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145630,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4904c60012d966f00060666d00017015f25..."} 
[2026-07-27 22:45:37] local.INFO: Processing buffer {"connection_id":145630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4904c60012d966f00060666d00017015f25..."} 
[2026-07-27 22:45:37] local.INFO: Packet analysis {"connection_id":145630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa490"} 
[2026-07-27 22:45:37] local.INFO: Extracted packet for processing {"connection_id":145630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa490"} 
[2026-07-27 22:45:37] local.INFO: GPS Element Parsed {"raw_longitude":764833536,"raw_latitude":101082832,"longitude_deg":76.4833536,"latitude_deg":10.1082832,"altitude":23,"angle":351,"satellites":37,"speed":0,"hex_longitude":"2d966f00","hex_latitude":"060666d0","is_valid_coordinates":true} 
[2026-07-27 22:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004043776001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359474292930379776,"note":"Value kept but may cause issues"} 
[2026-07-27 22:45:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7607283432193198080,"note":"Value kept but may cause issues"} 
[2026-07-27 22:45:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785172348000,"timestamp_ms":1785172348000,"timestamp_seconds":1785172348,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4904c60"} 
[2026-07-27 22:45:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:45:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-27 22:45:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:45:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:45:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:45:37] 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-07-27 22:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004043776001,"66":26115,"231":206,"79":48640,"24":0,"16":359474292930379776,"45":-7607283432193198080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,79,24,16,45]} 
[2026-07-27 22:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004043776001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:45:37] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-07-27 22:45:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 22:45:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359474292930379776,"km_value":359474292930379.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:45:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7607283432193198080,"description":"Unknown IO ID 45"} 
[2026-07-27 22:45:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004043776001,"power":26115,"unknown_231":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7607283432193198080}} 
[2026-07-27 22:45:37] local.INFO: DEBUG: GPS processor result {"connection_id":145630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:45:37] local.INFO: GPS data processed {"connection_id":145630,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:45:37] local.INFO: Acknowledgment sent {"connection_id":145630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:45:59] local.INFO: TCP Data received {"connection_id":144356,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144356,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:45:59] local.INFO: Processing buffer {"connection_id":144356,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:45:59] local.INFO: IMEI packet received {"connection_id":144356,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 22:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":144356,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 22:46:00] local.INFO: TCP Data received {"connection_id":144357,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:46:00] local.INFO: Processing buffer {"connection_id":144357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:46:00] local.INFO: IMEI packet received {"connection_id":144357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 22:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":144357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 22:46:04] local.INFO: TCP Data received {"connection_id":144356,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144356,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:46:04] local.INFO: Processing buffer {"connection_id":144356,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:46:04] local.INFO: IMEI packet received {"connection_id":144356,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 22:46:04] local.INFO: IMEI acknowledgment sent {"connection_id":144356,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:46:05] local.INFO: TCP Data received {"connection_id":144357,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:46:05] local.INFO: Processing buffer {"connection_id":144357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:46:05] local.INFO: IMEI packet received {"connection_id":144357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 22:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":144357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:46:05] local.INFO: TCP Data received {"connection_id":144356,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4924c18012d196940071fee200041013127..."} 
[2026-07-27 22:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144356,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4924c18012d196940071fee200041013127..."} 
[2026-07-27 22:46:05] local.INFO: Processing buffer {"connection_id":144356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4924c18012d196940071fee200041013127..."} 
[2026-07-27 22:46:05] local.INFO: Packet analysis {"connection_id":144356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa492"} 
[2026-07-27 22:46:05] local.INFO: Extracted packet for processing {"connection_id":144356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa492"} 
[2026-07-27 22:46:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:46:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004077568001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:46:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:46:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:46:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:46:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785172479000,"timestamp_ms":1785172479000,"timestamp_seconds":1785172479,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4924c18"} 
[2026-07-27 22:46:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:46:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 22:46:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:46:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:46:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:46:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:46:05] local.INFO: Teltonika packet parsed successfully {"connection_id":144356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:46:05] local.INFO: Passing IMEI to GPS processor {"connection_id":144356,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:46:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":144356,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:46:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:46:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:46:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:46:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004077568001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:46:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:46:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:46:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004077568001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:46:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:46:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:46:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:46:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:46:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004077568001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:46:05] local.INFO: DEBUG: GPS processor result {"connection_id":144356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555819,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:46:05] local.INFO: GPS data processed {"connection_id":144356,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:46:05] local.INFO: Acknowledgment sent {"connection_id":144356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:46:06] local.INFO: TCP Data received {"connection_id":144357,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4904c60012d966f00060666d00017015f25..."} 
[2026-07-27 22:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4904c60012d966f00060666d00017015f25..."} 
[2026-07-27 22:46:06] local.INFO: Processing buffer {"connection_id":144357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4904c60012d966f00060666d00017015f25..."} 
[2026-07-27 22:46:06] local.INFO: Packet analysis {"connection_id":144357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa490"} 
[2026-07-27 22:46:06] local.INFO: Extracted packet for processing {"connection_id":144357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa490"} 
[2026-07-27 22:46:06] local.INFO: GPS Element Parsed {"raw_longitude":764833536,"raw_latitude":101082832,"longitude_deg":76.4833536,"latitude_deg":10.1082832,"altitude":23,"angle":351,"satellites":37,"speed":0,"hex_longitude":"2d966f00","hex_latitude":"060666d0","is_valid_coordinates":true} 
[2026-07-27 22:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:46:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004043776001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:46:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359474292930379776,"note":"Value kept but may cause issues"} 
[2026-07-27 22:46:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7607283432193198080,"note":"Value kept but may cause issues"} 
[2026-07-27 22:46:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:46:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785172348000,"timestamp_ms":1785172348000,"timestamp_seconds":1785172348,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4904c60"} 
[2026-07-27 22:46:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:46:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-27 22:46:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:46:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:46:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:46:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:46:06] local.INFO: Teltonika packet parsed successfully {"connection_id":144357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:46:06] local.INFO: Passing IMEI to GPS processor {"connection_id":144357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:46:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":144357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:46:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:46:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:46:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:46:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004043776001,"66":26115,"231":206,"79":48640,"24":0,"16":359474292930379776,"45":-7607283432193198080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,79,24,16,45]} 
[2026-07-27 22:46:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:46:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:46:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004043776001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:46:06] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-07-27 22:46:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 22:46:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359474292930379776,"km_value":359474292930379.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:46:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7607283432193198080,"description":"Unknown IO ID 45"} 
[2026-07-27 22:46:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004043776001,"power":26115,"unknown_231":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7607283432193198080}} 
[2026-07-27 22:46:06] local.INFO: DEBUG: GPS processor result {"connection_id":144357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:46:06] local.INFO: GPS data processed {"connection_id":144357,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:46:06] local.INFO: Acknowledgment sent {"connection_id":144357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:46:37] local.INFO: TCP Data received {"connection_id":144357,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4904c60012d966f00060666d00017015f25..."} 
[2026-07-27 22:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4904c60012d966f00060666d00017015f25..."} 
[2026-07-27 22:46:37] local.INFO: Processing buffer {"connection_id":144357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4904c60012d966f00060666d00017015f25..."} 
[2026-07-27 22:46:37] local.INFO: Packet analysis {"connection_id":144357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa490"} 
[2026-07-27 22:46:37] local.INFO: Extracted packet for processing {"connection_id":144357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa490"} 
[2026-07-27 22:46:37] local.INFO: GPS Element Parsed {"raw_longitude":764833536,"raw_latitude":101082832,"longitude_deg":76.4833536,"latitude_deg":10.1082832,"altitude":23,"angle":351,"satellites":37,"speed":0,"hex_longitude":"2d966f00","hex_latitude":"060666d0","is_valid_coordinates":true} 
[2026-07-27 22:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:46:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004043776001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:46:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359474292930379776,"note":"Value kept but may cause issues"} 
[2026-07-27 22:46:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7607283432193198080,"note":"Value kept but may cause issues"} 
[2026-07-27 22:46:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:46:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785172348000,"timestamp_ms":1785172348000,"timestamp_seconds":1785172348,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4904c60"} 
[2026-07-27 22:46:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:46:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-27 22:46:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:46:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:46:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:46:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:46:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:46:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:46:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:46:37] 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-07-27 22:46:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:46:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:46:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004043776001,"66":26115,"231":206,"79":48640,"24":0,"16":359474292930379776,"45":-7607283432193198080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,79,24,16,45]} 
[2026-07-27 22:46:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:46:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:46:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004043776001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:46:37] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-07-27 22:46:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 22:46:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359474292930379776,"km_value":359474292930379.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:46:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7607283432193198080,"description":"Unknown IO ID 45"} 
[2026-07-27 22:46:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004043776001,"power":26115,"unknown_231":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7607283432193198080}} 
[2026-07-27 22:46:37] local.INFO: DEBUG: GPS processor result {"connection_id":144357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:46:37] local.INFO: GPS data processed {"connection_id":144357,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:46:37] local.INFO: Acknowledgment sent {"connection_id":144357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:46:37] local.INFO: TCP Data received {"connection_id":144356,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4924c18012d196940071fee200041013127..."} 
[2026-07-27 22:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144356,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4924c18012d196940071fee200041013127..."} 
[2026-07-27 22:46:37] local.INFO: Processing buffer {"connection_id":144356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4924c18012d196940071fee200041013127..."} 
[2026-07-27 22:46:37] local.INFO: Packet analysis {"connection_id":144356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa492"} 
[2026-07-27 22:46:37] local.INFO: Extracted packet for processing {"connection_id":144356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa492"} 
[2026-07-27 22:46:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:46:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004077568001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:46:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:46:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:46:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:46:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785172479000,"timestamp_ms":1785172479000,"timestamp_seconds":1785172479,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4924c18"} 
[2026-07-27 22:46:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:46:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 22:46:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:46:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:46:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:46:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:46:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:46:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144356,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:46:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144356,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:46:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:46:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:46:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:46:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004077568001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:46:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:46:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:46:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004077568001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:46:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:46:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:46:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:46:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:46:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004077568001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:46:37] local.INFO: DEBUG: GPS processor result {"connection_id":144356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555822,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:46:37] local.INFO: GPS data processed {"connection_id":144356,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:46:37] local.INFO: Acknowledgment sent {"connection_id":144356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:46:58] local.INFO: TCP Data received {"connection_id":145632,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145632,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:46:58] local.INFO: Processing buffer {"connection_id":145632,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:46:58] local.INFO: IMEI packet received {"connection_id":145632,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 22:46:58] local.INFO: IMEI acknowledgment sent {"connection_id":145632,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 22:47:00] local.INFO: TCP Data received {"connection_id":145633,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:47:00] local.INFO: Processing buffer {"connection_id":145633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:47:00] local.INFO: IMEI packet received {"connection_id":145633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 22:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":145633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 22:47:04] local.INFO: TCP Data received {"connection_id":145632,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145632,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:47:04] local.INFO: Processing buffer {"connection_id":145632,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:47:04] local.INFO: IMEI packet received {"connection_id":145632,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 22:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":145632,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:47:05] local.INFO: TCP Data received {"connection_id":145633,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:47:05] local.INFO: Processing buffer {"connection_id":145633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:47:05] local.INFO: IMEI packet received {"connection_id":145633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 22:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":145633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:47:05] local.INFO: TCP Data received {"connection_id":145632,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4924c18012d196940071fee200041013127..."} 
[2026-07-27 22:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4924c18012d196940071fee200041013127..."} 
[2026-07-27 22:47:05] local.INFO: Processing buffer {"connection_id":145632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4924c18012d196940071fee200041013127..."} 
[2026-07-27 22:47:05] local.INFO: Packet analysis {"connection_id":145632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa492"} 
[2026-07-27 22:47:05] local.INFO: Extracted packet for processing {"connection_id":145632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa492"} 
[2026-07-27 22:47:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22:47:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:47:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004077568001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:47:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:47:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:47:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:47:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785172479000,"timestamp_ms":1785172479000,"timestamp_seconds":1785172479,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4924c18"} 
[2026-07-27 22:47:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:47:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:47:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 22:47:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:47:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:47:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:47:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:47:05] local.INFO: Teltonika packet parsed successfully {"connection_id":145632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:47:05] local.INFO: Passing IMEI to GPS processor {"connection_id":145632,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:47:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":145632,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:47:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:47:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:47:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:47:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004077568001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:47:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:47:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:47:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004077568001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:47:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:47:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:47:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:47:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:47:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004077568001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:47:05] local.INFO: DEBUG: GPS processor result {"connection_id":145632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555823,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:47:05] local.INFO: GPS data processed {"connection_id":145632,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:47:05] local.INFO: Acknowledgment sent {"connection_id":145632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:47:06] local.INFO: TCP Data received {"connection_id":145633,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4904c60012d966f00060666d00017015f25..."} 
[2026-07-27 22:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145633,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4904c60012d966f00060666d00017015f25..."} 
[2026-07-27 22:47:06] local.INFO: Processing buffer {"connection_id":145633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4904c60012d966f00060666d00017015f25..."} 
[2026-07-27 22:47:06] local.INFO: Packet analysis {"connection_id":145633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa490"} 
[2026-07-27 22:47:06] local.INFO: Extracted packet for processing {"connection_id":145633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa490"} 
[2026-07-27 22:47:06] local.INFO: GPS Element Parsed {"raw_longitude":764833536,"raw_latitude":101082832,"longitude_deg":76.4833536,"latitude_deg":10.1082832,"altitude":23,"angle":351,"satellites":37,"speed":0,"hex_longitude":"2d966f00","hex_latitude":"060666d0","is_valid_coordinates":true} 
[2026-07-27 22:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:47:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004043776001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:47:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359474292930379776,"note":"Value kept but may cause issues"} 
[2026-07-27 22:47:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7607283432193198080,"note":"Value kept but may cause issues"} 
[2026-07-27 22:47:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:47:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785172348000,"timestamp_ms":1785172348000,"timestamp_seconds":1785172348,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4904c60"} 
[2026-07-27 22:47:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:47:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-27 22:47:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:47:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:47:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:47:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:47:06] local.INFO: Teltonika packet parsed successfully {"connection_id":145633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:47:06] local.INFO: Passing IMEI to GPS processor {"connection_id":145633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:47:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":145633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:47:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:47:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:47:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:47:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004043776001,"66":26115,"231":206,"79":48640,"24":0,"16":359474292930379776,"45":-7607283432193198080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,79,24,16,45]} 
[2026-07-27 22:47:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:47:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:47:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004043776001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:47:06] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-07-27 22:47:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 22:47:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359474292930379776,"km_value":359474292930379.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:47:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7607283432193198080,"description":"Unknown IO ID 45"} 
[2026-07-27 22:47:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004043776001,"power":26115,"unknown_231":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7607283432193198080}} 
[2026-07-27 22:47:06] local.INFO: DEBUG: GPS processor result {"connection_id":145633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:47:06] local.INFO: GPS data processed {"connection_id":145633,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:47:06] local.INFO: Acknowledgment sent {"connection_id":145633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:47:37] local.INFO: TCP Data received {"connection_id":145633,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4904c60012d966f00060666d00017015f25..."} 
[2026-07-27 22:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145633,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4904c60012d966f00060666d00017015f25..."} 
[2026-07-27 22:47:37] local.INFO: Processing buffer {"connection_id":145633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4904c60012d966f00060666d00017015f25..."} 
[2026-07-27 22:47:37] local.INFO: Packet analysis {"connection_id":145633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa490"} 
[2026-07-27 22:47:37] local.INFO: Extracted packet for processing {"connection_id":145633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa490"} 
[2026-07-27 22:47:37] local.INFO: GPS Element Parsed {"raw_longitude":764833536,"raw_latitude":101082832,"longitude_deg":76.4833536,"latitude_deg":10.1082832,"altitude":23,"angle":351,"satellites":37,"speed":0,"hex_longitude":"2d966f00","hex_latitude":"060666d0","is_valid_coordinates":true} 
[2026-07-27 22:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:47:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004043776001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:47:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359474292930379776,"note":"Value kept but may cause issues"} 
[2026-07-27 22:47:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7607283432193198080,"note":"Value kept but may cause issues"} 
[2026-07-27 22:47:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:47:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785172348000,"timestamp_ms":1785172348000,"timestamp_seconds":1785172348,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4904c60"} 
[2026-07-27 22:47:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:47:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-27 22:47:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:47:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:47:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:47:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:47:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:47:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:47:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:47:37] 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-07-27 22:47:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:47:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:47:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004043776001,"66":26115,"231":206,"79":48640,"24":0,"16":359474292930379776,"45":-7607283432193198080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,79,24,16,45]} 
[2026-07-27 22:47:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:47:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:47:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004043776001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:47:37] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-07-27 22:47:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 22:47:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359474292930379776,"km_value":359474292930379.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:47:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7607283432193198080,"description":"Unknown IO ID 45"} 
[2026-07-27 22:47:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004043776001,"power":26115,"unknown_231":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7607283432193198080}} 
[2026-07-27 22:47:37] local.INFO: DEBUG: GPS processor result {"connection_id":145633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:47:37] local.INFO: GPS data processed {"connection_id":145633,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:47:37] local.INFO: Acknowledgment sent {"connection_id":145633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:47:37] local.INFO: TCP Data received {"connection_id":145632,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4924c18012d196940071fee200041013127..."} 
[2026-07-27 22:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4924c18012d196940071fee200041013127..."} 
[2026-07-27 22:47:37] local.INFO: Processing buffer {"connection_id":145632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4924c18012d196940071fee200041013127..."} 
[2026-07-27 22:47:37] local.INFO: Packet analysis {"connection_id":145632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa492"} 
[2026-07-27 22:47:37] local.INFO: Extracted packet for processing {"connection_id":145632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa492"} 
[2026-07-27 22:47:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:47:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004077568001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:47:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:47:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:47:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:47:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785172479000,"timestamp_ms":1785172479000,"timestamp_seconds":1785172479,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4924c18"} 
[2026-07-27 22:47:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:47:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 22:47:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:47:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:47:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:47:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:47:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:47:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145632,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:47:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145632,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:47:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:47:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:47:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:47:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004077568001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:47:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:47:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:47:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004077568001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:47:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:47:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:47:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:47:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:47:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004077568001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:47:37] local.INFO: DEBUG: GPS processor result {"connection_id":145632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555826,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:47:37] local.INFO: GPS data processed {"connection_id":145632,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:47:37] local.INFO: Acknowledgment sent {"connection_id":145632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:47:58] local.INFO: TCP Data received {"connection_id":143209,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143209,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:47:58] local.INFO: Processing buffer {"connection_id":143209,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:47:58] local.INFO: IMEI packet received {"connection_id":143209,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 22:47:58] local.INFO: IMEI acknowledgment sent {"connection_id":143209,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 22:48:04] local.INFO: TCP Data received {"connection_id":143209,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143209,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:48:04] local.INFO: Processing buffer {"connection_id":143209,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:48:04] local.INFO: IMEI packet received {"connection_id":143209,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 22:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":143209,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:48:05] local.INFO: TCP Data received {"connection_id":145634,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:48:05] local.INFO: Processing buffer {"connection_id":145634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:48:05] local.INFO: IMEI packet received {"connection_id":145634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 22:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":145634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 22:48:06] local.INFO: TCP Data received {"connection_id":143209,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4924c18012d196940071fee200041013127..."} 
[2026-07-27 22:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4924c18012d196940071fee200041013127..."} 
[2026-07-27 22:48:06] local.INFO: Processing buffer {"connection_id":143209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4924c18012d196940071fee200041013127..."} 
[2026-07-27 22:48:06] local.INFO: Packet analysis {"connection_id":143209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa492"} 
[2026-07-27 22:48:06] local.INFO: Extracted packet for processing {"connection_id":143209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa492"} 
[2026-07-27 22:48:06] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:48:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004077568001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:48:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:48:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:48:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:48:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785172479000,"timestamp_ms":1785172479000,"timestamp_seconds":1785172479,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4924c18"} 
[2026-07-27 22:48:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:48:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 22:48:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:48:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:48:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:48:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:48:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:48:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143209,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:48:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143209,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:48:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:48:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:48:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:48:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004077568001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:48:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:48:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:48:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004077568001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:48:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:48:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:48:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:48:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:48:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004077568001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:48:06] local.INFO: DEBUG: GPS processor result {"connection_id":143209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555827,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:48:06] local.INFO: GPS data processed {"connection_id":143209,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:48:06] local.INFO: Acknowledgment sent {"connection_id":143209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:48:07] local.INFO: TCP Data received {"connection_id":145634,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:48:07] local.INFO: Processing buffer {"connection_id":145634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:48:07] local.INFO: IMEI packet received {"connection_id":145634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 22:48:07] local.INFO: IMEI acknowledgment sent {"connection_id":145634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:48:07] local.INFO: TCP Data received {"connection_id":145634,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa494e428012d966f00060666d00017015f26..."} 
[2026-07-27 22:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa494e428012d966f00060666d00017015f26..."} 
[2026-07-27 22:48:07] local.INFO: Processing buffer {"connection_id":145634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa494e428012d966f00060666d00017015f26..."} 
[2026-07-27 22:48:07] local.INFO: Packet analysis {"connection_id":145634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa494"} 
[2026-07-27 22:48:07] local.INFO: Extracted packet for processing {"connection_id":145634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa494"} 
[2026-07-27 22:48:07] local.INFO: GPS Element Parsed {"raw_longitude":764833536,"raw_latitude":101082832,"longitude_deg":76.4833536,"latitude_deg":10.1082832,"altitude":23,"angle":351,"satellites":38,"speed":0,"hex_longitude":"2d966f00","hex_latitude":"060666d0","is_valid_coordinates":true} 
[2026-07-27 22:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:48:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004121088001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:48:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359474292930379776,"note":"Value kept but may cause issues"} 
[2026-07-27 22:48:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606861219728273408,"note":"Value kept but may cause issues"} 
[2026-07-27 22:48:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:48:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785172649000,"timestamp_ms":1785172649000,"timestamp_seconds":1785172649,"priority":1,"record_length":96,"hex_timestamp":"0000019fa494e428"} 
[2026-07-27 22:48:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:48:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-27 22:48:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:48:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:48:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:48:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:48:07] local.INFO: Teltonika packet parsed successfully {"connection_id":145634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:48:07] local.INFO: Passing IMEI to GPS processor {"connection_id":145634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:48:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":145634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:48:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:48:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:48:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:48:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004121088001,"66":25897,"231":206,"79":48640,"24":0,"16":359474292930379776,"45":-7606861219728273408},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,79,24,16,45]} 
[2026-07-27 22:48:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:48:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:48:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004121088001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:48:07] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-07-27 22:48:07] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 22:48:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359474292930379776,"km_value":359474292930379.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:48:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606861219728273408,"description":"Unknown IO ID 45"} 
[2026-07-27 22:48:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004121088001,"power":25897,"unknown_231":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606861219728273408}} 
[2026-07-27 22:48:07] local.INFO: DEBUG: GPS processor result {"connection_id":145634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:48:07] local.INFO: GPS data processed {"connection_id":145634,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:48:07] local.INFO: Acknowledgment sent {"connection_id":145634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:48:10] local.INFO: TCP Data received {"connection_id":145634,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa494e428012d966f00060666d00017015f26..."} 
[2026-07-27 22:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa494e428012d966f00060666d00017015f26..."} 
[2026-07-27 22:48:10] local.INFO: Processing buffer {"connection_id":145634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa494e428012d966f00060666d00017015f26..."} 
[2026-07-27 22:48:10] local.INFO: Packet analysis {"connection_id":145634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa494"} 
[2026-07-27 22:48:10] local.INFO: Extracted packet for processing {"connection_id":145634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa494"} 
[2026-07-27 22:48:10] local.INFO: GPS Element Parsed {"raw_longitude":764833536,"raw_latitude":101082832,"longitude_deg":76.4833536,"latitude_deg":10.1082832,"altitude":23,"angle":351,"satellites":38,"speed":0,"hex_longitude":"2d966f00","hex_latitude":"060666d0","is_valid_coordinates":true} 
[2026-07-27 22:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:48:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004121088001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:48:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359474292930379776,"note":"Value kept but may cause issues"} 
[2026-07-27 22:48:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606861219728273408,"note":"Value kept but may cause issues"} 
[2026-07-27 22:48:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:48:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785172649000,"timestamp_ms":1785172649000,"timestamp_seconds":1785172649,"priority":1,"record_length":96,"hex_timestamp":"0000019fa494e428"} 
[2026-07-27 22:48:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:48:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-27 22:48:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:48:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:48:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:48:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:48:10] local.INFO: Teltonika packet parsed successfully {"connection_id":145634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:48:10] local.INFO: Passing IMEI to GPS processor {"connection_id":145634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:48:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":145634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22: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-07-27 22:48:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:48:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:48:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004121088001,"66":25897,"231":206,"79":48640,"24":0,"16":359474292930379776,"45":-7606861219728273408},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,79,24,16,45]} 
[2026-07-27 22:48:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:48:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:48:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004121088001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:48:10] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-07-27 22:48:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 22:48:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359474292930379776,"km_value":359474292930379.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:48:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606861219728273408,"description":"Unknown IO ID 45"} 
[2026-07-27 22:48:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004121088001,"power":25897,"unknown_231":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606861219728273408}} 
[2026-07-27 22:48:10] local.INFO: DEBUG: GPS processor result {"connection_id":145634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:48:10] local.INFO: GPS data processed {"connection_id":145634,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:48:10] local.INFO: Acknowledgment sent {"connection_id":145634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:48:37] local.INFO: TCP Data received {"connection_id":143209,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4924c18012d196940071fee200041013127..."} 
[2026-07-27 22:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4924c18012d196940071fee200041013127..."} 
[2026-07-27 22:48:37] local.INFO: Processing buffer {"connection_id":143209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4924c18012d196940071fee200041013127..."} 
[2026-07-27 22:48:37] local.INFO: Packet analysis {"connection_id":143209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa492"} 
[2026-07-27 22:48:37] local.INFO: Extracted packet for processing {"connection_id":143209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa492"} 
[2026-07-27 22:48:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004077568001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:48:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:48:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785172479000,"timestamp_ms":1785172479000,"timestamp_seconds":1785172479,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4924c18"} 
[2026-07-27 22:48:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:48:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 22:48:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:48:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:48:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143209,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143209,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:48:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004077568001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004077568001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:48:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:48:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:48:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:48:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004077568001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:48:38] local.INFO: DEBUG: GPS processor result {"connection_id":143209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555830,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:48:38] local.INFO: GPS data processed {"connection_id":143209,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:48:38] local.INFO: Acknowledgment sent {"connection_id":143209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:48:41] local.INFO: TCP Data received {"connection_id":145634,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa494e428012d966f00060666d00017015f26..."} 
[2026-07-27 22:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa494e428012d966f00060666d00017015f26..."} 
[2026-07-27 22:48:41] local.INFO: Processing buffer {"connection_id":145634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa494e428012d966f00060666d00017015f26..."} 
[2026-07-27 22:48:41] local.INFO: Packet analysis {"connection_id":145634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa494"} 
[2026-07-27 22:48:41] local.INFO: Extracted packet for processing {"connection_id":145634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa494"} 
[2026-07-27 22:48:41] local.INFO: GPS Element Parsed {"raw_longitude":764833536,"raw_latitude":101082832,"longitude_deg":76.4833536,"latitude_deg":10.1082832,"altitude":23,"angle":351,"satellites":38,"speed":0,"hex_longitude":"2d966f00","hex_latitude":"060666d0","is_valid_coordinates":true} 
[2026-07-27 22:48:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:48:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004121088001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:48:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359474292930379776,"note":"Value kept but may cause issues"} 
[2026-07-27 22:48:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606861219728273408,"note":"Value kept but may cause issues"} 
[2026-07-27 22:48:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:48:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785172649000,"timestamp_ms":1785172649000,"timestamp_seconds":1785172649,"priority":1,"record_length":96,"hex_timestamp":"0000019fa494e428"} 
[2026-07-27 22:48:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:48:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-27 22:48:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:48:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:48:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:48:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:48:41] local.INFO: Teltonika packet parsed successfully {"connection_id":145634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:48:41] local.INFO: Passing IMEI to GPS processor {"connection_id":145634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:48:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":145634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22: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-07-27 22:48:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:48:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:48:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004121088001,"66":25897,"231":206,"79":48640,"24":0,"16":359474292930379776,"45":-7606861219728273408},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,79,24,16,45]} 
[2026-07-27 22:48:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:48:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:48:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004121088001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:48:41] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-07-27 22:48:41] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 22:48:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359474292930379776,"km_value":359474292930379.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:48:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606861219728273408,"description":"Unknown IO ID 45"} 
[2026-07-27 22:48:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004121088001,"power":25897,"unknown_231":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606861219728273408}} 
[2026-07-27 22:48:41] local.INFO: DEBUG: GPS processor result {"connection_id":145634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:48:41] local.INFO: GPS data processed {"connection_id":145634,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:48:41] local.INFO: Acknowledgment sent {"connection_id":145634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:48:58] local.INFO: TCP Data received {"connection_id":145636,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145636,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:48:58] local.INFO: Processing buffer {"connection_id":145636,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:48:58] local.INFO: IMEI packet received {"connection_id":145636,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 22:48:58] local.INFO: IMEI acknowledgment sent {"connection_id":145636,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 22:49:00] local.INFO: TCP Data received {"connection_id":145635,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:49:00] local.INFO: Processing buffer {"connection_id":145635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:49:00] local.INFO: IMEI packet received {"connection_id":145635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 22:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":145635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 22:49:04] local.INFO: TCP Data received {"connection_id":145636,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145636,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:49:04] local.INFO: Processing buffer {"connection_id":145636,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:49:04] local.INFO: IMEI packet received {"connection_id":145636,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 22:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":145636,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:49:05] local.INFO: TCP Data received {"connection_id":145635,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:49:05] local.INFO: Processing buffer {"connection_id":145635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:49:05] local.INFO: IMEI packet received {"connection_id":145635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 22:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":145635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:49:05] local.INFO: TCP Data received {"connection_id":145636,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4924c18012d196940071fee200041013127..."} 
[2026-07-27 22:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4924c18012d196940071fee200041013127..."} 
[2026-07-27 22:49:05] local.INFO: Processing buffer {"connection_id":145636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4924c18012d196940071fee200041013127..."} 
[2026-07-27 22:49:05] local.INFO: Packet analysis {"connection_id":145636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa492"} 
[2026-07-27 22:49:05] local.INFO: Extracted packet for processing {"connection_id":145636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa492"} 
[2026-07-27 22:49:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:49:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004077568001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:49:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:49:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:49:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:49:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785172479000,"timestamp_ms":1785172479000,"timestamp_seconds":1785172479,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4924c18"} 
[2026-07-27 22:49:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:49:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 22:49:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:49:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:49:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:49:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:49:05] local.INFO: Teltonika packet parsed successfully {"connection_id":145636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:49:05] local.INFO: Passing IMEI to GPS processor {"connection_id":145636,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:49:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":145636,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:49:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:49:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:49:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:49:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004077568001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:49:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:49:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:49:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004077568001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:49:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:49:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:49:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:49:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:49:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004077568001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:49:05] local.INFO: DEBUG: GPS processor result {"connection_id":145636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555832,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:49:05] local.INFO: GPS data processed {"connection_id":145636,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:49:05] local.INFO: Acknowledgment sent {"connection_id":145636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:49:06] local.INFO: TCP Data received {"connection_id":145635,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa494e428012d966f00060666d00017015f26..."} 
[2026-07-27 22:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa494e428012d966f00060666d00017015f26..."} 
[2026-07-27 22:49:06] local.INFO: Processing buffer {"connection_id":145635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa494e428012d966f00060666d00017015f26..."} 
[2026-07-27 22:49:06] local.INFO: Packet analysis {"connection_id":145635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa494"} 
[2026-07-27 22:49:06] local.INFO: Extracted packet for processing {"connection_id":145635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa494"} 
[2026-07-27 22:49:06] local.INFO: GPS Element Parsed {"raw_longitude":764833536,"raw_latitude":101082832,"longitude_deg":76.4833536,"latitude_deg":10.1082832,"altitude":23,"angle":351,"satellites":38,"speed":0,"hex_longitude":"2d966f00","hex_latitude":"060666d0","is_valid_coordinates":true} 
[2026-07-27 22:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:49:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004121088001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:49:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359474292930379776,"note":"Value kept but may cause issues"} 
[2026-07-27 22:49:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606861219728273408,"note":"Value kept but may cause issues"} 
[2026-07-27 22:49:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:49:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785172649000,"timestamp_ms":1785172649000,"timestamp_seconds":1785172649,"priority":1,"record_length":96,"hex_timestamp":"0000019fa494e428"} 
[2026-07-27 22:49:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:49:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-27 22:49:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:49:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:49:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:49:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:49:06] local.INFO: Teltonika packet parsed successfully {"connection_id":145635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:49:06] local.INFO: Passing IMEI to GPS processor {"connection_id":145635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:49:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":145635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:49:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:49:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:49:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:49:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004121088001,"66":25897,"231":206,"79":48640,"24":0,"16":359474292930379776,"45":-7606861219728273408},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,79,24,16,45]} 
[2026-07-27 22:49:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:49:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:49:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004121088001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:49:06] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-07-27 22:49:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 22:49:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359474292930379776,"km_value":359474292930379.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:49:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606861219728273408,"description":"Unknown IO ID 45"} 
[2026-07-27 22:49:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004121088001,"power":25897,"unknown_231":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606861219728273408}} 
[2026-07-27 22:49:06] local.INFO: DEBUG: GPS processor result {"connection_id":145635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:49:06] local.INFO: GPS data processed {"connection_id":145635,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:49:06] local.INFO: Acknowledgment sent {"connection_id":145635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:49:37] local.INFO: TCP Data received {"connection_id":145636,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4924c18012d196940071fee200041013127..."} 
[2026-07-27 22:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4924c18012d196940071fee200041013127..."} 
[2026-07-27 22:49:37] local.INFO: Processing buffer {"connection_id":145636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4924c18012d196940071fee200041013127..."} 
[2026-07-27 22:49:37] local.INFO: Packet analysis {"connection_id":145636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa492"} 
[2026-07-27 22:49:37] local.INFO: Extracted packet for processing {"connection_id":145636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa492"} 
[2026-07-27 22:49:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:49:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004077568001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:49:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:49:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:49:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:49:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785172479000,"timestamp_ms":1785172479000,"timestamp_seconds":1785172479,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4924c18"} 
[2026-07-27 22:49:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:49:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 22:49:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:49:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:49:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:49:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:49:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:49:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145636,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:49:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145636,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:49:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:49:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:49:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:49:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004077568001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:49:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:49:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:49:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004077568001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:49:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:49:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:49:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:49:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:49:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004077568001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:49:37] local.INFO: DEBUG: GPS processor result {"connection_id":145636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555834,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:49:37] local.INFO: GPS data processed {"connection_id":145636,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:49:37] local.INFO: Acknowledgment sent {"connection_id":145636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:49:37] local.INFO: TCP Data received {"connection_id":145635,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa494e428012d966f00060666d00017015f26..."} 
[2026-07-27 22:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa494e428012d966f00060666d00017015f26..."} 
[2026-07-27 22:49:37] local.INFO: Processing buffer {"connection_id":145635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa494e428012d966f00060666d00017015f26..."} 
[2026-07-27 22:49:37] local.INFO: Packet analysis {"connection_id":145635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa494"} 
[2026-07-27 22:49:37] local.INFO: Extracted packet for processing {"connection_id":145635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa494"} 
[2026-07-27 22:49:37] local.INFO: GPS Element Parsed {"raw_longitude":764833536,"raw_latitude":101082832,"longitude_deg":76.4833536,"latitude_deg":10.1082832,"altitude":23,"angle":351,"satellites":38,"speed":0,"hex_longitude":"2d966f00","hex_latitude":"060666d0","is_valid_coordinates":true} 
[2026-07-27 22:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:49:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004121088001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:49:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359474292930379776,"note":"Value kept but may cause issues"} 
[2026-07-27 22:49:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606861219728273408,"note":"Value kept but may cause issues"} 
[2026-07-27 22:49:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:49:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785172649000,"timestamp_ms":1785172649000,"timestamp_seconds":1785172649,"priority":1,"record_length":96,"hex_timestamp":"0000019fa494e428"} 
[2026-07-27 22:49:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:49:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-27 22:49:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:49:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:49:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:49:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:49:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:49:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:49:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:49:37] 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-07-27 22:49:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:49:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:49:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004121088001,"66":25897,"231":206,"79":48640,"24":0,"16":359474292930379776,"45":-7606861219728273408},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,79,24,16,45]} 
[2026-07-27 22:49:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:49:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:49:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004121088001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:49:37] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-07-27 22:49:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 22:49:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359474292930379776,"km_value":359474292930379.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:49:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606861219728273408,"description":"Unknown IO ID 45"} 
[2026-07-27 22:49:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004121088001,"power":25897,"unknown_231":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606861219728273408}} 
[2026-07-27 22:49:37] local.INFO: DEBUG: GPS processor result {"connection_id":145635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:49:37] local.INFO: GPS data processed {"connection_id":145635,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:49:37] local.INFO: Acknowledgment sent {"connection_id":145635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:50:02] local.INFO: TCP Data received {"connection_id":145637,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:50:02] local.INFO: Processing buffer {"connection_id":145637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:50:02] local.INFO: IMEI packet received {"connection_id":145637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 22:50:02] local.INFO: IMEI acknowledgment sent {"connection_id":145637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 22:50:04] local.INFO: TCP Data received {"connection_id":145638,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145638,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:50:04] local.INFO: Processing buffer {"connection_id":145638,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:50:04] local.INFO: IMEI packet received {"connection_id":145638,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 22:50:04] local.INFO: IMEI acknowledgment sent {"connection_id":145638,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 22:50:05] local.INFO: TCP Data received {"connection_id":145637,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:50:05] local.INFO: Processing buffer {"connection_id":145637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:50:05] local.INFO: IMEI packet received {"connection_id":145637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 22:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":145637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:50:06] local.INFO: TCP Data received {"connection_id":145637,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa494e428012d966f00060666d00017015f26..."} 
[2026-07-27 22:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145637,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa494e428012d966f00060666d00017015f26..."} 
[2026-07-27 22:50:06] local.INFO: Processing buffer {"connection_id":145637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa494e428012d966f00060666d00017015f26..."} 
[2026-07-27 22:50:06] local.INFO: Packet analysis {"connection_id":145637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa494"} 
[2026-07-27 22:50:06] local.INFO: Extracted packet for processing {"connection_id":145637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa494"} 
[2026-07-27 22:50:06] local.INFO: GPS Element Parsed {"raw_longitude":764833536,"raw_latitude":101082832,"longitude_deg":76.4833536,"latitude_deg":10.1082832,"altitude":23,"angle":351,"satellites":38,"speed":0,"hex_longitude":"2d966f00","hex_latitude":"060666d0","is_valid_coordinates":true} 
[2026-07-27 22:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004121088001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359474292930379776,"note":"Value kept but may cause issues"} 
[2026-07-27 22:50:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606861219728273408,"note":"Value kept but may cause issues"} 
[2026-07-27 22:50:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785172649000,"timestamp_ms":1785172649000,"timestamp_seconds":1785172649,"priority":1,"record_length":96,"hex_timestamp":"0000019fa494e428"} 
[2026-07-27 22:50:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:50:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-27 22:50:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:50:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:50:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":145637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":145637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":145637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:50:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004121088001,"66":25897,"231":206,"79":48640,"24":0,"16":359474292930379776,"45":-7606861219728273408},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,79,24,16,45]} 
[2026-07-27 22:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004121088001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:50:06] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-07-27 22:50:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 22:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359474292930379776,"km_value":359474292930379.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:50:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606861219728273408,"description":"Unknown IO ID 45"} 
[2026-07-27 22:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004121088001,"power":25897,"unknown_231":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606861219728273408}} 
[2026-07-27 22:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":145637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:50:06] local.INFO: GPS data processed {"connection_id":145637,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:50:06] local.INFO: Acknowledgment sent {"connection_id":145637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:50:09] local.INFO: TCP Data received {"connection_id":145638,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145638,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:50:09] local.INFO: Processing buffer {"connection_id":145638,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:50:09] local.INFO: IMEI packet received {"connection_id":145638,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 22:50:09] local.INFO: IMEI acknowledgment sent {"connection_id":145638,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:50:10] local.INFO: TCP Data received {"connection_id":145638,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4924c18012d196940071fee200041013127..."} 
[2026-07-27 22:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145638,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4924c18012d196940071fee200041013127..."} 
[2026-07-27 22:50:10] local.INFO: Processing buffer {"connection_id":145638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4924c18012d196940071fee200041013127..."} 
[2026-07-27 22:50:10] local.INFO: Packet analysis {"connection_id":145638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa492"} 
[2026-07-27 22:50:10] local.INFO: Extracted packet for processing {"connection_id":145638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa492"} 
[2026-07-27 22:50:10] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22:50:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:50:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004077568001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:50:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:50:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:50:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:50:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785172479000,"timestamp_ms":1785172479000,"timestamp_seconds":1785172479,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4924c18"} 
[2026-07-27 22:50:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:50:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 22:50:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:50:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:50:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:50:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:50:10] local.INFO: Teltonika packet parsed successfully {"connection_id":145638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:50:10] local.INFO: Passing IMEI to GPS processor {"connection_id":145638,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:50:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":145638,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:50:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:50:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:50:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:50:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004077568001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:50:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:50:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:50:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004077568001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:50:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:50:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:50:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:50:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:50:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004077568001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:50:10] local.INFO: DEBUG: GPS processor result {"connection_id":145638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555837,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:50:10] local.INFO: GPS data processed {"connection_id":145638,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:50:10] local.INFO: Acknowledgment sent {"connection_id":145638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:50:15] local.INFO: TCP Data received {"connection_id":145638,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4924c18012d196940071fee200041013127..."} 
[2026-07-27 22:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145638,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4924c18012d196940071fee200041013127..."} 
[2026-07-27 22:50:15] local.INFO: Processing buffer {"connection_id":145638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4924c18012d196940071fee200041013127..."} 
[2026-07-27 22:50:15] local.INFO: Packet analysis {"connection_id":145638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa492"} 
[2026-07-27 22:50:15] local.INFO: Extracted packet for processing {"connection_id":145638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa492"} 
[2026-07-27 22:50:15] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22: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-07-27 22:50:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004077568001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:50:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:50:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:50: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-07-27 22:50:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785172479000,"timestamp_ms":1785172479000,"timestamp_seconds":1785172479,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4924c18"} 
[2026-07-27 22:50:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:50:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 22:50:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22: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-07-27 22:50:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:50:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:50:15] local.INFO: Teltonika packet parsed successfully {"connection_id":145638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:50:15] local.INFO: Passing IMEI to GPS processor {"connection_id":145638,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:50:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":145638,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:50:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:50:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:50:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:50:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004077568001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:50:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:50:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:50:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004077568001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:50:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:50:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:50:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:50:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:50:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004077568001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:50:15] local.INFO: DEBUG: GPS processor result {"connection_id":145638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555838,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:50:15] local.INFO: GPS data processed {"connection_id":145638,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:50:15] local.INFO: Acknowledgment sent {"connection_id":145638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:50:37] local.INFO: TCP Data received {"connection_id":145637,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa494e428012d966f00060666d00017015f26..."} 
[2026-07-27 22:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145637,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa494e428012d966f00060666d00017015f26..."} 
[2026-07-27 22:50:37] local.INFO: Processing buffer {"connection_id":145637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa494e428012d966f00060666d00017015f26..."} 
[2026-07-27 22:50:37] local.INFO: Packet analysis {"connection_id":145637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa494"} 
[2026-07-27 22:50:37] local.INFO: Extracted packet for processing {"connection_id":145637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa494"} 
[2026-07-27 22:50:37] local.INFO: GPS Element Parsed {"raw_longitude":764833536,"raw_latitude":101082832,"longitude_deg":76.4833536,"latitude_deg":10.1082832,"altitude":23,"angle":351,"satellites":38,"speed":0,"hex_longitude":"2d966f00","hex_latitude":"060666d0","is_valid_coordinates":true} 
[2026-07-27 22:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:50:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004121088001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:50:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359474292930379776,"note":"Value kept but may cause issues"} 
[2026-07-27 22:50:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606861219728273408,"note":"Value kept but may cause issues"} 
[2026-07-27 22:50:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:50:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785172649000,"timestamp_ms":1785172649000,"timestamp_seconds":1785172649,"priority":1,"record_length":96,"hex_timestamp":"0000019fa494e428"} 
[2026-07-27 22:50:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:50:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-27 22:50:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:50:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:50:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:50:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:50:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:50:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:50:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:50:37] 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-07-27 22:50:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:50:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:50:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004121088001,"66":25897,"231":206,"79":48640,"24":0,"16":359474292930379776,"45":-7606861219728273408},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,79,24,16,45]} 
[2026-07-27 22:50:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:50:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:50:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004121088001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:50:37] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-07-27 22:50:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 22:50:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359474292930379776,"km_value":359474292930379.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:50:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606861219728273408,"description":"Unknown IO ID 45"} 
[2026-07-27 22:50:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004121088001,"power":25897,"unknown_231":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606861219728273408}} 
[2026-07-27 22:50:37] local.INFO: DEBUG: GPS processor result {"connection_id":145637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:50:37] local.INFO: GPS data processed {"connection_id":145637,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:50:37] local.INFO: Acknowledgment sent {"connection_id":145637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:50:58] local.INFO: TCP Data received {"connection_id":143349,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143349,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:50:58] local.INFO: Processing buffer {"connection_id":143349,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:50:58] local.INFO: IMEI packet received {"connection_id":143349,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 22:50:58] local.INFO: IMEI acknowledgment sent {"connection_id":143349,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 22:51:00] local.INFO: TCP Data received {"connection_id":144358,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:51:00] local.INFO: Processing buffer {"connection_id":144358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:51:00] local.INFO: IMEI packet received {"connection_id":144358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 22:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":144358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 22:51:04] local.INFO: TCP Data received {"connection_id":143349,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143349,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:51:04] local.INFO: Processing buffer {"connection_id":143349,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:51:04] local.INFO: IMEI packet received {"connection_id":143349,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 22:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":143349,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:51:05] local.INFO: TCP Data received {"connection_id":144358,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:51:05] local.INFO: Processing buffer {"connection_id":144358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:51:05] local.INFO: IMEI packet received {"connection_id":144358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 22:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":144358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:51:05] local.INFO: TCP Data received {"connection_id":143349,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa496e3e0012d196940071fee200041013127..."} 
[2026-07-27 22:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143349,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa496e3e0012d196940071fee200041013127..."} 
[2026-07-27 22:51:05] local.INFO: Processing buffer {"connection_id":143349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa496e3e0012d196940071fee200041013127..."} 
[2026-07-27 22:51:05] local.INFO: Packet analysis {"connection_id":143349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa496"} 
[2026-07-27 22:51:05] local.INFO: Extracted packet for processing {"connection_id":143349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa496"} 
[2026-07-27 22:51:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:51:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004154624001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:51:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:51:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:51:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:51:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785172780000,"timestamp_ms":1785172780000,"timestamp_seconds":1785172780,"priority":1,"record_length":96,"hex_timestamp":"0000019fa496e3e0"} 
[2026-07-27 22:51:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:51:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 22:51:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:51:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:51:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:51:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:51:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:51:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143349,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:51:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143349,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:51:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:51:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:51:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:51:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004154624001,"66":2144,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:51:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:51:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:51:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004154624001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:51:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:51:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:51:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:51:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:51:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004154624001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:51:05] local.INFO: DEBUG: GPS processor result {"connection_id":143349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555840,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:51:05] local.INFO: GPS data processed {"connection_id":143349,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:51:05] local.INFO: Acknowledgment sent {"connection_id":143349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:51:10] local.INFO: TCP Data received {"connection_id":144358,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa494e428012d966f00060666d00017015f26..."} 
[2026-07-27 22:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144358,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa494e428012d966f00060666d00017015f26..."} 
[2026-07-27 22:51:10] local.INFO: Processing buffer {"connection_id":144358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa494e428012d966f00060666d00017015f26..."} 
[2026-07-27 22:51:10] local.INFO: Packet analysis {"connection_id":144358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa494"} 
[2026-07-27 22:51:10] local.INFO: Extracted packet for processing {"connection_id":144358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa494"} 
[2026-07-27 22:51:10] local.INFO: GPS Element Parsed {"raw_longitude":764833536,"raw_latitude":101082832,"longitude_deg":76.4833536,"latitude_deg":10.1082832,"altitude":23,"angle":351,"satellites":38,"speed":0,"hex_longitude":"2d966f00","hex_latitude":"060666d0","is_valid_coordinates":true} 
[2026-07-27 22:51:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:51:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004121088001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:51:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359474292930379776,"note":"Value kept but may cause issues"} 
[2026-07-27 22:51:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606861219728273408,"note":"Value kept but may cause issues"} 
[2026-07-27 22:51:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:51:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785172649000,"timestamp_ms":1785172649000,"timestamp_seconds":1785172649,"priority":1,"record_length":96,"hex_timestamp":"0000019fa494e428"} 
[2026-07-27 22:51:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:51:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-27 22:51:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:51:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:51:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:51:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:51:10] local.INFO: Teltonika packet parsed successfully {"connection_id":144358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:51:10] local.INFO: Passing IMEI to GPS processor {"connection_id":144358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:51:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":144358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22: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-07-27 22:51:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:51:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:51:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004121088001,"66":25897,"231":206,"79":48640,"24":0,"16":359474292930379776,"45":-7606861219728273408},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,79,24,16,45]} 
[2026-07-27 22:51:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:51:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:51:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004121088001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:51:10] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-07-27 22:51:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 22:51:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359474292930379776,"km_value":359474292930379.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:51:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606861219728273408,"description":"Unknown IO ID 45"} 
[2026-07-27 22:51:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004121088001,"power":25897,"unknown_231":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606861219728273408}} 
[2026-07-27 22:51:10] local.INFO: DEBUG: GPS processor result {"connection_id":144358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:51:10] local.INFO: GPS data processed {"connection_id":144358,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:51:10] local.INFO: Acknowledgment sent {"connection_id":144358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:51:37] local.INFO: TCP Data received {"connection_id":143349,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa496e3e0012d196940071fee200041013127..."} 
[2026-07-27 22:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143349,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa496e3e0012d196940071fee200041013127..."} 
[2026-07-27 22:51:37] local.INFO: Processing buffer {"connection_id":143349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa496e3e0012d196940071fee200041013127..."} 
[2026-07-27 22:51:37] local.INFO: Packet analysis {"connection_id":143349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa496"} 
[2026-07-27 22:51:37] local.INFO: Extracted packet for processing {"connection_id":143349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa496"} 
[2026-07-27 22:51:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:51:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004154624001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:51:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:51:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:51:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:51:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785172780000,"timestamp_ms":1785172780000,"timestamp_seconds":1785172780,"priority":1,"record_length":96,"hex_timestamp":"0000019fa496e3e0"} 
[2026-07-27 22:51:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:51:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 22:51:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:51:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:51:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:51:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:51:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:51:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143349,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:51:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143349,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:51:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:51:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:51:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:51:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004154624001,"66":2144,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:51:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:51:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:51:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004154624001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:51:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:51:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:51:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:51:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:51:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004154624001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:51:37] local.INFO: DEBUG: GPS processor result {"connection_id":143349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555842,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:51:37] local.INFO: GPS data processed {"connection_id":143349,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:51:37] local.INFO: Acknowledgment sent {"connection_id":143349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:51:41] local.INFO: TCP Data received {"connection_id":144358,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa494e428012d966f00060666d00017015f26..."} 
[2026-07-27 22:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144358,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa494e428012d966f00060666d00017015f26..."} 
[2026-07-27 22:51:41] local.INFO: Processing buffer {"connection_id":144358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa494e428012d966f00060666d00017015f26..."} 
[2026-07-27 22:51:41] local.INFO: Packet analysis {"connection_id":144358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa494"} 
[2026-07-27 22:51:41] local.INFO: Extracted packet for processing {"connection_id":144358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa494"} 
[2026-07-27 22:51:41] local.INFO: GPS Element Parsed {"raw_longitude":764833536,"raw_latitude":101082832,"longitude_deg":76.4833536,"latitude_deg":10.1082832,"altitude":23,"angle":351,"satellites":38,"speed":0,"hex_longitude":"2d966f00","hex_latitude":"060666d0","is_valid_coordinates":true} 
[2026-07-27 22: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-07-27 22:51:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004121088001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:51:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359474292930379776,"note":"Value kept but may cause issues"} 
[2026-07-27 22:51:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606861219728273408,"note":"Value kept but may cause issues"} 
[2026-07-27 22:51:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:51:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785172649000,"timestamp_ms":1785172649000,"timestamp_seconds":1785172649,"priority":1,"record_length":96,"hex_timestamp":"0000019fa494e428"} 
[2026-07-27 22:51:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:51:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-27 22:51:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22: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-07-27 22:51:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:51:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:51:41] local.INFO: Teltonika packet parsed successfully {"connection_id":144358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:51:41] local.INFO: Passing IMEI to GPS processor {"connection_id":144358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:51:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":144358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:51: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-07-27 22:51:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:51:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:51:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004121088001,"66":25897,"231":206,"79":48640,"24":0,"16":359474292930379776,"45":-7606861219728273408},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,79,24,16,45]} 
[2026-07-27 22:51:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:51:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:51:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004121088001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:51:41] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-07-27 22:51:41] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 22:51:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359474292930379776,"km_value":359474292930379.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:51:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606861219728273408,"description":"Unknown IO ID 45"} 
[2026-07-27 22:51:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004121088001,"power":25897,"unknown_231":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606861219728273408}} 
[2026-07-27 22:51:41] local.INFO: DEBUG: GPS processor result {"connection_id":144358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:51:41] local.INFO: GPS data processed {"connection_id":144358,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:51:41] local.INFO: Acknowledgment sent {"connection_id":144358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:51:58] local.INFO: TCP Data received {"connection_id":143350,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143350,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:51:58] local.INFO: Processing buffer {"connection_id":143350,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:51:58] local.INFO: IMEI packet received {"connection_id":143350,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 22:51:58] local.INFO: IMEI acknowledgment sent {"connection_id":143350,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 22:52:04] local.INFO: TCP Data received {"connection_id":143350,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143350,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:52:04] local.INFO: Processing buffer {"connection_id":143350,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:52:04] local.INFO: IMEI packet received {"connection_id":143350,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 22:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":143350,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:52:05] local.INFO: TCP Data received {"connection_id":145639,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:52:05] local.INFO: Processing buffer {"connection_id":145639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:52:05] local.INFO: IMEI packet received {"connection_id":145639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 22:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":145639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 22:52:05] local.INFO: TCP Data received {"connection_id":143350,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa496e3e0012d196940071fee200041013127..."} 
[2026-07-27 22:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143350,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa496e3e0012d196940071fee200041013127..."} 
[2026-07-27 22:52:05] local.INFO: Processing buffer {"connection_id":143350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa496e3e0012d196940071fee200041013127..."} 
[2026-07-27 22:52:05] local.INFO: Packet analysis {"connection_id":143350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa496"} 
[2026-07-27 22:52:05] local.INFO: Extracted packet for processing {"connection_id":143350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa496"} 
[2026-07-27 22:52:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:52:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004154624001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:52:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:52:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:52:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:52:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785172780000,"timestamp_ms":1785172780000,"timestamp_seconds":1785172780,"priority":1,"record_length":96,"hex_timestamp":"0000019fa496e3e0"} 
[2026-07-27 22:52:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:52:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 22:52:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:52:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:52:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:52:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:52:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:52:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143350,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:52:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143350,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:52:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:52:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:52:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:52:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004154624001,"66":2144,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:52:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:52:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:52:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004154624001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:52:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:52:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:52:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:52:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:52:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004154624001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:52:05] local.INFO: DEBUG: GPS processor result {"connection_id":143350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555844,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:52:05] local.INFO: GPS data processed {"connection_id":143350,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:52:05] local.INFO: Acknowledgment sent {"connection_id":143350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:52:10] local.INFO: TCP Data received {"connection_id":145639,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:52:10] local.INFO: Processing buffer {"connection_id":145639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:52:10] local.INFO: IMEI packet received {"connection_id":145639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 22:52:10] local.INFO: IMEI acknowledgment sent {"connection_id":145639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:52:11] local.INFO: TCP Data received {"connection_id":145639,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa494e428012d966f00060666d00017015f26..."} 
[2026-07-27 22:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa494e428012d966f00060666d00017015f26..."} 
[2026-07-27 22:52:11] local.INFO: Processing buffer {"connection_id":145639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa494e428012d966f00060666d00017015f26..."} 
[2026-07-27 22:52:11] local.INFO: Packet analysis {"connection_id":145639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa494"} 
[2026-07-27 22:52:11] local.INFO: Extracted packet for processing {"connection_id":145639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa494"} 
[2026-07-27 22:52:11] local.INFO: GPS Element Parsed {"raw_longitude":764833536,"raw_latitude":101082832,"longitude_deg":76.4833536,"latitude_deg":10.1082832,"altitude":23,"angle":351,"satellites":38,"speed":0,"hex_longitude":"2d966f00","hex_latitude":"060666d0","is_valid_coordinates":true} 
[2026-07-27 22:52:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:52:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004121088001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:52:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359474292930379776,"note":"Value kept but may cause issues"} 
[2026-07-27 22:52:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606861219728273408,"note":"Value kept but may cause issues"} 
[2026-07-27 22:52:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:52:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785172649000,"timestamp_ms":1785172649000,"timestamp_seconds":1785172649,"priority":1,"record_length":96,"hex_timestamp":"0000019fa494e428"} 
[2026-07-27 22:52:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:52:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-27 22:52:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:52:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:52:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:52:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:52:11] local.INFO: Teltonika packet parsed successfully {"connection_id":145639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:52:11] local.INFO: Passing IMEI to GPS processor {"connection_id":145639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:52:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":145639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:52: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-07-27 22:52:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:52:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:52:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004121088001,"66":25897,"231":206,"79":48640,"24":0,"16":359474292930379776,"45":-7606861219728273408},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,79,24,16,45]} 
[2026-07-27 22:52:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:52:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:52:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004121088001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:52:11] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-07-27 22:52:11] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 22:52:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359474292930379776,"km_value":359474292930379.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:52:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606861219728273408,"description":"Unknown IO ID 45"} 
[2026-07-27 22:52:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004121088001,"power":25897,"unknown_231":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606861219728273408}} 
[2026-07-27 22:52:11] local.INFO: DEBUG: GPS processor result {"connection_id":145639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:52:11] local.INFO: GPS data processed {"connection_id":145639,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:52:11] local.INFO: Acknowledgment sent {"connection_id":145639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:52:15] local.INFO: TCP Data received {"connection_id":145639,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa494e428012d966f00060666d00017015f26..."} 
[2026-07-27 22:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa494e428012d966f00060666d00017015f26..."} 
[2026-07-27 22:52:15] local.INFO: Processing buffer {"connection_id":145639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa494e428012d966f00060666d00017015f26..."} 
[2026-07-27 22:52:15] local.INFO: Packet analysis {"connection_id":145639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa494"} 
[2026-07-27 22:52:15] local.INFO: Extracted packet for processing {"connection_id":145639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa494"} 
[2026-07-27 22:52:15] local.INFO: GPS Element Parsed {"raw_longitude":764833536,"raw_latitude":101082832,"longitude_deg":76.4833536,"latitude_deg":10.1082832,"altitude":23,"angle":351,"satellites":38,"speed":0,"hex_longitude":"2d966f00","hex_latitude":"060666d0","is_valid_coordinates":true} 
[2026-07-27 22:52:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:52:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004121088001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:52:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359474292930379776,"note":"Value kept but may cause issues"} 
[2026-07-27 22:52:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606861219728273408,"note":"Value kept but may cause issues"} 
[2026-07-27 22:52:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:52:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785172649000,"timestamp_ms":1785172649000,"timestamp_seconds":1785172649,"priority":1,"record_length":96,"hex_timestamp":"0000019fa494e428"} 
[2026-07-27 22:52:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:52:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:52:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-27 22:52:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:52:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:52:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:52:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:52:15] local.INFO: Teltonika packet parsed successfully {"connection_id":145639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:52:15] local.INFO: Passing IMEI to GPS processor {"connection_id":145639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:52:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":145639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:52: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-07-27 22:52:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:52:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:52:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004121088001,"66":25897,"231":206,"79":48640,"24":0,"16":359474292930379776,"45":-7606861219728273408},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,79,24,16,45]} 
[2026-07-27 22:52:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:52:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:52:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004121088001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:52:15] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-07-27 22:52:15] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 22:52:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359474292930379776,"km_value":359474292930379.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:52:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606861219728273408,"description":"Unknown IO ID 45"} 
[2026-07-27 22:52:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004121088001,"power":25897,"unknown_231":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606861219728273408}} 
[2026-07-27 22:52:15] local.INFO: DEBUG: GPS processor result {"connection_id":145639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:52:15] local.INFO: GPS data processed {"connection_id":145639,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:52:15] local.INFO: Acknowledgment sent {"connection_id":145639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:52:37] local.INFO: TCP Data received {"connection_id":143350,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa496e3e0012d196940071fee200041013127..."} 
[2026-07-27 22:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143350,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa496e3e0012d196940071fee200041013127..."} 
[2026-07-27 22:52:37] local.INFO: Processing buffer {"connection_id":143350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa496e3e0012d196940071fee200041013127..."} 
[2026-07-27 22:52:37] local.INFO: Packet analysis {"connection_id":143350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa496"} 
[2026-07-27 22:52:37] local.INFO: Extracted packet for processing {"connection_id":143350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa496"} 
[2026-07-27 22:52:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004154624001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:52:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:52:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785172780000,"timestamp_ms":1785172780000,"timestamp_seconds":1785172780,"priority":1,"record_length":96,"hex_timestamp":"0000019fa496e3e0"} 
[2026-07-27 22:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:52:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 22:52:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:52:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143350,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143350,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:52:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004154624001,"66":2144,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004154624001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:52:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:52:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:52:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004154624001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":143350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555847,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:52:37] local.INFO: GPS data processed {"connection_id":143350,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:52:37] local.INFO: Acknowledgment sent {"connection_id":143350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:53:00] local.INFO: TCP Data received {"connection_id":143210,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:53:00] local.INFO: Processing buffer {"connection_id":143210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:53:00] local.INFO: IMEI packet received {"connection_id":143210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 22:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":143210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 22:53:04] local.INFO: TCP Data received {"connection_id":144359,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144359,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:53:04] local.INFO: Processing buffer {"connection_id":144359,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:53:04] local.INFO: IMEI packet received {"connection_id":144359,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 22:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":144359,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 22:53:05] local.INFO: TCP Data received {"connection_id":143210,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:53:05] local.INFO: Processing buffer {"connection_id":143210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:53:05] local.INFO: IMEI packet received {"connection_id":143210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 22:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":143210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:53:06] local.INFO: TCP Data received {"connection_id":143210,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa494e428012d966f00060666d00017015f26..."} 
[2026-07-27 22:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa494e428012d966f00060666d00017015f26..."} 
[2026-07-27 22:53:06] local.INFO: Processing buffer {"connection_id":143210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa494e428012d966f00060666d00017015f26..."} 
[2026-07-27 22:53:06] local.INFO: Packet analysis {"connection_id":143210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa494"} 
[2026-07-27 22:53:06] local.INFO: Extracted packet for processing {"connection_id":143210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa494"} 
[2026-07-27 22:53:06] local.INFO: GPS Element Parsed {"raw_longitude":764833536,"raw_latitude":101082832,"longitude_deg":76.4833536,"latitude_deg":10.1082832,"altitude":23,"angle":351,"satellites":38,"speed":0,"hex_longitude":"2d966f00","hex_latitude":"060666d0","is_valid_coordinates":true} 
[2026-07-27 22:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:53:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004121088001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:53:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359474292930379776,"note":"Value kept but may cause issues"} 
[2026-07-27 22:53:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606861219728273408,"note":"Value kept but may cause issues"} 
[2026-07-27 22:53:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:53:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785172649000,"timestamp_ms":1785172649000,"timestamp_seconds":1785172649,"priority":1,"record_length":96,"hex_timestamp":"0000019fa494e428"} 
[2026-07-27 22:53:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:53:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-27 22:53:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:53:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:53:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:53:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:53:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:53:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:53:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:53:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:53:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:53:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:53:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004121088001,"66":25897,"231":206,"79":48640,"24":0,"16":359474292930379776,"45":-7606861219728273408},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,79,24,16,45]} 
[2026-07-27 22:53:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:53:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:53:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004121088001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:53:06] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-07-27 22:53:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 22:53:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359474292930379776,"km_value":359474292930379.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:53:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606861219728273408,"description":"Unknown IO ID 45"} 
[2026-07-27 22:53:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004121088001,"power":25897,"unknown_231":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606861219728273408}} 
[2026-07-27 22:53:06] local.INFO: DEBUG: GPS processor result {"connection_id":143210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:53:06] local.INFO: GPS data processed {"connection_id":143210,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:53:06] local.INFO: Acknowledgment sent {"connection_id":143210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:53:09] local.INFO: TCP Data received {"connection_id":144359,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144359,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:53:09] local.INFO: Processing buffer {"connection_id":144359,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:53:09] local.INFO: IMEI packet received {"connection_id":144359,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 22:53:09] local.INFO: IMEI acknowledgment sent {"connection_id":144359,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:53:10] local.INFO: TCP Data received {"connection_id":144359,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa496e3e0012d196940071fee200041013127..."} 
[2026-07-27 22:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa496e3e0012d196940071fee200041013127..."} 
[2026-07-27 22:53:10] local.INFO: Processing buffer {"connection_id":144359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa496e3e0012d196940071fee200041013127..."} 
[2026-07-27 22:53:10] local.INFO: Packet analysis {"connection_id":144359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa496"} 
[2026-07-27 22:53:10] local.INFO: Extracted packet for processing {"connection_id":144359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa496"} 
[2026-07-27 22:53:10] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:53:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004154624001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:53:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:53:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:53:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:53:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785172780000,"timestamp_ms":1785172780000,"timestamp_seconds":1785172780,"priority":1,"record_length":96,"hex_timestamp":"0000019fa496e3e0"} 
[2026-07-27 22:53:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:53:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 22:53:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:53:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:53:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:53:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:53:10] local.INFO: Teltonika packet parsed successfully {"connection_id":144359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:53:10] local.INFO: Passing IMEI to GPS processor {"connection_id":144359,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:53:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":144359,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:53:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:53:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:53:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:53:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004154624001,"66":2144,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:53:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:53:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:53:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004154624001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:53:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:53:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:53:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:53:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:53:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004154624001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:53:10] local.INFO: DEBUG: GPS processor result {"connection_id":144359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555849,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:53:10] local.INFO: GPS data processed {"connection_id":144359,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:53:10] local.INFO: Acknowledgment sent {"connection_id":144359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:53:14] local.INFO: TCP Data received {"connection_id":144359,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa496e3e0012d196940071fee200041013127..."} 
[2026-07-27 22:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa496e3e0012d196940071fee200041013127..."} 
[2026-07-27 22:53:14] local.INFO: Processing buffer {"connection_id":144359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa496e3e0012d196940071fee200041013127..."} 
[2026-07-27 22:53:14] local.INFO: Packet analysis {"connection_id":144359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa496"} 
[2026-07-27 22:53:14] local.INFO: Extracted packet for processing {"connection_id":144359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa496"} 
[2026-07-27 22:53:14] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22:53:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:53:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004154624001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:53:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:53:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:53:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:53:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785172780000,"timestamp_ms":1785172780000,"timestamp_seconds":1785172780,"priority":1,"record_length":96,"hex_timestamp":"0000019fa496e3e0"} 
[2026-07-27 22:53:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:53:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:53:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 22:53:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:53:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:53:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:53:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:53:14] local.INFO: Teltonika packet parsed successfully {"connection_id":144359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:53:14] local.INFO: Passing IMEI to GPS processor {"connection_id":144359,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:53:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":144359,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:53:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:53:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:53:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:53:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004154624001,"66":2144,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:53:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:53:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:53:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004154624001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:53:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:53:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:53:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:53:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:53:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004154624001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:53:14] local.INFO: DEBUG: GPS processor result {"connection_id":144359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555850,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:53:14] local.INFO: GPS data processed {"connection_id":144359,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:53:14] local.INFO: Acknowledgment sent {"connection_id":144359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:53:37] local.INFO: TCP Data received {"connection_id":143210,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4997bf0012d966f00060666d00017015f27..."} 
[2026-07-27 22:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4997bf0012d966f00060666d00017015f27..."} 
[2026-07-27 22:53:37] local.INFO: Processing buffer {"connection_id":143210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4997bf0012d966f00060666d00017015f27..."} 
[2026-07-27 22:53:37] local.INFO: Packet analysis {"connection_id":143210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa499"} 
[2026-07-27 22:53:37] local.INFO: Extracted packet for processing {"connection_id":143210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa499"} 
[2026-07-27 22:53:37] local.INFO: GPS Element Parsed {"raw_longitude":764833536,"raw_latitude":101082832,"longitude_deg":76.4833536,"latitude_deg":10.1082832,"altitude":23,"angle":351,"satellites":39,"speed":0,"hex_longitude":"2d966f00","hex_latitude":"060666d0","is_valid_coordinates":true} 
[2026-07-27 22:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004198144001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:53:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359474292930379776,"note":"Value kept but may cause issues"} 
[2026-07-27 22:53:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606861219728273408,"note":"Value kept but may cause issues"} 
[2026-07-27 22:53:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:53:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785172950000,"timestamp_ms":1785172950000,"timestamp_seconds":1785172950,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4997bf0"} 
[2026-07-27 22:53:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:53:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-27 22:53:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:53:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:53:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:53:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:53:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:53:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:53:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:53:37] 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-07-27 22:53:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:53:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:53:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004198144001,"66":25843,"231":206,"79":48640,"24":0,"16":359474292930379776,"45":-7606861219728273408},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,79,24,16,45]} 
[2026-07-27 22:53:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:53:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:53:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004198144001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:53:37] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-07-27 22:53:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 22:53:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359474292930379776,"km_value":359474292930379.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:53:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606861219728273408,"description":"Unknown IO ID 45"} 
[2026-07-27 22:53:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004198144001,"power":25843,"unknown_231":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606861219728273408}} 
[2026-07-27 22:53:37] local.INFO: DEBUG: GPS processor result {"connection_id":143210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:53:37] local.INFO: GPS data processed {"connection_id":143210,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:53:37] local.INFO: Acknowledgment sent {"connection_id":143210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:53:59] local.INFO: TCP Data received {"connection_id":143351,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143351,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:53:59] local.INFO: Processing buffer {"connection_id":143351,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:53:59] local.INFO: IMEI packet received {"connection_id":143351,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 22:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":143351,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 22:54:00] local.INFO: TCP Data received {"connection_id":143352,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:54:00] local.INFO: Processing buffer {"connection_id":143352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:54:00] local.INFO: IMEI packet received {"connection_id":143352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 22:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":143352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 22:54:04] local.INFO: TCP Data received {"connection_id":143351,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143351,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:54:04] local.INFO: Processing buffer {"connection_id":143351,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:54:04] local.INFO: IMEI packet received {"connection_id":143351,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 22:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":143351,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:54:05] local.INFO: TCP Data received {"connection_id":143352,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:54:05] local.INFO: Processing buffer {"connection_id":143352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:54:05] local.INFO: IMEI packet received {"connection_id":143352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 22:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":143352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:54:05] local.INFO: TCP Data received {"connection_id":143351,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa496e3e0012d196940071fee200041013127..."} 
[2026-07-27 22:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa496e3e0012d196940071fee200041013127..."} 
[2026-07-27 22:54:05] local.INFO: Processing buffer {"connection_id":143351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa496e3e0012d196940071fee200041013127..."} 
[2026-07-27 22:54:05] local.INFO: Packet analysis {"connection_id":143351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa496"} 
[2026-07-27 22:54:05] local.INFO: Extracted packet for processing {"connection_id":143351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa496"} 
[2026-07-27 22:54:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:54:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004154624001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:54:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:54:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:54:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:54:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785172780000,"timestamp_ms":1785172780000,"timestamp_seconds":1785172780,"priority":1,"record_length":96,"hex_timestamp":"0000019fa496e3e0"} 
[2026-07-27 22:54:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:54:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 22:54:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:54:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:54:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:54:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:54:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:54:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143351,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:54:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143351,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:54:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:54:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:54:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:54:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004154624001,"66":2144,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:54:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:54:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:54:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004154624001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:54:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:54:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:54:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:54:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:54:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004154624001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:54:05] local.INFO: DEBUG: GPS processor result {"connection_id":143351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555852,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:54:05] local.INFO: GPS data processed {"connection_id":143351,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:54:05] local.INFO: Acknowledgment sent {"connection_id":143351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:54:06] local.INFO: TCP Data received {"connection_id":143352,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4997bf0012d966f00060666d00017015f27..."} 
[2026-07-27 22:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4997bf0012d966f00060666d00017015f27..."} 
[2026-07-27 22:54:06] local.INFO: Processing buffer {"connection_id":143352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4997bf0012d966f00060666d00017015f27..."} 
[2026-07-27 22:54:06] local.INFO: Packet analysis {"connection_id":143352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa499"} 
[2026-07-27 22:54:06] local.INFO: Extracted packet for processing {"connection_id":143352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa499"} 
[2026-07-27 22:54:06] local.INFO: GPS Element Parsed {"raw_longitude":764833536,"raw_latitude":101082832,"longitude_deg":76.4833536,"latitude_deg":10.1082832,"altitude":23,"angle":351,"satellites":39,"speed":0,"hex_longitude":"2d966f00","hex_latitude":"060666d0","is_valid_coordinates":true} 
[2026-07-27 22:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:54:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004198144001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:54:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359474292930379776,"note":"Value kept but may cause issues"} 
[2026-07-27 22:54:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606861219728273408,"note":"Value kept but may cause issues"} 
[2026-07-27 22:54:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:54:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785172950000,"timestamp_ms":1785172950000,"timestamp_seconds":1785172950,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4997bf0"} 
[2026-07-27 22:54:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:54:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-27 22:54:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:54:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:54:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:54:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:54:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:54:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:54:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:54:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:54:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:54:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:54:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004198144001,"66":25843,"231":206,"79":48640,"24":0,"16":359474292930379776,"45":-7606861219728273408},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,79,24,16,45]} 
[2026-07-27 22:54:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:54:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:54:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004198144001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:54:06] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-07-27 22:54:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 22:54:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359474292930379776,"km_value":359474292930379.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:54:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606861219728273408,"description":"Unknown IO ID 45"} 
[2026-07-27 22:54:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004198144001,"power":25843,"unknown_231":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606861219728273408}} 
[2026-07-27 22:54:06] local.INFO: DEBUG: GPS processor result {"connection_id":143352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:54:06] local.INFO: GPS data processed {"connection_id":143352,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:54:06] local.INFO: Acknowledgment sent {"connection_id":143352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:54:09] local.INFO: TCP Data received {"connection_id":143351,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa496e3e0012d196940071fee200041013127..."} 
[2026-07-27 22:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa496e3e0012d196940071fee200041013127..."} 
[2026-07-27 22:54:09] local.INFO: Processing buffer {"connection_id":143351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa496e3e0012d196940071fee200041013127..."} 
[2026-07-27 22:54:09] local.INFO: Packet analysis {"connection_id":143351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa496"} 
[2026-07-27 22:54:09] local.INFO: Extracted packet for processing {"connection_id":143351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa496"} 
[2026-07-27 22:54:09] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 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-07-27 22:54:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004154624001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:54:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:54:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:54:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:54:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785172780000,"timestamp_ms":1785172780000,"timestamp_seconds":1785172780,"priority":1,"record_length":96,"hex_timestamp":"0000019fa496e3e0"} 
[2026-07-27 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-07-27 22:54:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 22:54:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 22:54:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:54:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:54:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143351,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:54:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143351,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:54:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:54:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:54:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:54:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004154624001,"66":2144,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:54:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:54:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:54:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004154624001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:54:09] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:54:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:54:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:54:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:54:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004154624001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:54:10] local.INFO: DEBUG: GPS processor result {"connection_id":143351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555854,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:54:10] local.INFO: GPS data processed {"connection_id":143351,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:54:10] local.INFO: Acknowledgment sent {"connection_id":143351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:54:37] local.INFO: TCP Data received {"connection_id":143352,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4997bf0012d966f00060666d00017015f27..."} 
[2026-07-27 22:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4997bf0012d966f00060666d00017015f27..."} 
[2026-07-27 22:54:37] local.INFO: Processing buffer {"connection_id":143352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4997bf0012d966f00060666d00017015f27..."} 
[2026-07-27 22:54:37] local.INFO: Packet analysis {"connection_id":143352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa499"} 
[2026-07-27 22:54:37] local.INFO: Extracted packet for processing {"connection_id":143352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa499"} 
[2026-07-27 22:54:37] local.INFO: GPS Element Parsed {"raw_longitude":764833536,"raw_latitude":101082832,"longitude_deg":76.4833536,"latitude_deg":10.1082832,"altitude":23,"angle":351,"satellites":39,"speed":0,"hex_longitude":"2d966f00","hex_latitude":"060666d0","is_valid_coordinates":true} 
[2026-07-27 22:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:54:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004198144001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:54:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359474292930379776,"note":"Value kept but may cause issues"} 
[2026-07-27 22:54:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606861219728273408,"note":"Value kept but may cause issues"} 
[2026-07-27 22:54:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:54:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785172950000,"timestamp_ms":1785172950000,"timestamp_seconds":1785172950,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4997bf0"} 
[2026-07-27 22:54:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:54:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-27 22:54:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:54:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:54:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:54:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:54:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:54:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:54:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:54:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:54:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:54:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:54:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004198144001,"66":25843,"231":206,"79":48640,"24":0,"16":359474292930379776,"45":-7606861219728273408},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,79,24,16,45]} 
[2026-07-27 22:54:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:54:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:54:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004198144001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:54:37] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-07-27 22:54:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 22:54:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359474292930379776,"km_value":359474292930379.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:54:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606861219728273408,"description":"Unknown IO ID 45"} 
[2026-07-27 22:54:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004198144001,"power":25843,"unknown_231":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606861219728273408}} 
[2026-07-27 22:54:37] local.INFO: DEBUG: GPS processor result {"connection_id":143352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:54:37] local.INFO: GPS data processed {"connection_id":143352,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:54:37] local.INFO: Acknowledgment sent {"connection_id":143352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:54:41] local.INFO: TCP Data received {"connection_id":143351,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa496e3e0012d196940071fee200041013127..."} 
[2026-07-27 22:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa496e3e0012d196940071fee200041013127..."} 
[2026-07-27 22:54:41] local.INFO: Processing buffer {"connection_id":143351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa496e3e0012d196940071fee200041013127..."} 
[2026-07-27 22:54:41] local.INFO: Packet analysis {"connection_id":143351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa496"} 
[2026-07-27 22:54:41] local.INFO: Extracted packet for processing {"connection_id":143351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa496"} 
[2026-07-27 22:54:41] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22: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-07-27 22:54:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004154624001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:54:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:54:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:54:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:54:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785172780000,"timestamp_ms":1785172780000,"timestamp_seconds":1785172780,"priority":1,"record_length":96,"hex_timestamp":"0000019fa496e3e0"} 
[2026-07-27 22:54:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:54:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 22:54:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22: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-07-27 22:54:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:54:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:54:41] local.INFO: Teltonika packet parsed successfully {"connection_id":143351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:54:41] local.INFO: Passing IMEI to GPS processor {"connection_id":143351,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:54:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":143351,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:54:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:54:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:54:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:54:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004154624001,"66":2144,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:54:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:54:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:54:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004154624001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:54:41] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:54:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:54:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:54:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:54:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004154624001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:54:42] local.INFO: DEBUG: GPS processor result {"connection_id":143351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555856,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:54:42] local.INFO: GPS data processed {"connection_id":143351,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:54:42] local.INFO: Acknowledgment sent {"connection_id":143351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:54:59] local.INFO: TCP Data received {"connection_id":143353,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143353,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:54:59] local.INFO: Processing buffer {"connection_id":143353,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:54:59] local.INFO: IMEI packet received {"connection_id":143353,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 22:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":143353,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 22:55:00] local.INFO: TCP Data received {"connection_id":144360,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:55:00] local.INFO: Processing buffer {"connection_id":144360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:55:00] local.INFO: IMEI packet received {"connection_id":144360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 22:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":144360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 22:55:04] local.INFO: TCP Data received {"connection_id":143353,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143353,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:55:04] local.INFO: Processing buffer {"connection_id":143353,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:55:04] local.INFO: IMEI packet received {"connection_id":143353,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 22:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":143353,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:55:05] local.INFO: TCP Data received {"connection_id":144360,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:55:05] local.INFO: Processing buffer {"connection_id":144360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:55:05] local.INFO: IMEI packet received {"connection_id":144360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 22:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":144360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:55:05] local.INFO: TCP Data received {"connection_id":143353,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa496e3e0012d196940071fee200041013127..."} 
[2026-07-27 22:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143353,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa496e3e0012d196940071fee200041013127..."} 
[2026-07-27 22:55:05] local.INFO: Processing buffer {"connection_id":143353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa496e3e0012d196940071fee200041013127..."} 
[2026-07-27 22:55:05] local.INFO: Packet analysis {"connection_id":143353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa496"} 
[2026-07-27 22:55:05] local.INFO: Extracted packet for processing {"connection_id":143353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa496"} 
[2026-07-27 22:55:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22: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-07-27 22:55:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004154624001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:55:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:55:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:55:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:55:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785172780000,"timestamp_ms":1785172780000,"timestamp_seconds":1785172780,"priority":1,"record_length":96,"hex_timestamp":"0000019fa496e3e0"} 
[2026-07-27 22:55:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:55:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 22:55:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22: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-07-27 22:55:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:55:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:55:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:55:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:55:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:55:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:55:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:55:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:55:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004154624001,"66":2144,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:55:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:55:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:55:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004154624001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:55:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:55:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:55:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:55:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:55:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004154624001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:55:05] local.INFO: DEBUG: GPS processor result {"connection_id":143353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555857,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:55:05] local.INFO: GPS data processed {"connection_id":143353,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:55:05] local.INFO: Acknowledgment sent {"connection_id":143353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:55:06] local.INFO: TCP Data received {"connection_id":144360,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4997bf0012d966f00060666d00017015f27..."} 
[2026-07-27 22:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4997bf0012d966f00060666d00017015f27..."} 
[2026-07-27 22:55:06] local.INFO: Processing buffer {"connection_id":144360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4997bf0012d966f00060666d00017015f27..."} 
[2026-07-27 22:55:06] local.INFO: Packet analysis {"connection_id":144360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa499"} 
[2026-07-27 22:55:06] local.INFO: Extracted packet for processing {"connection_id":144360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa499"} 
[2026-07-27 22:55:06] local.INFO: GPS Element Parsed {"raw_longitude":764833536,"raw_latitude":101082832,"longitude_deg":76.4833536,"latitude_deg":10.1082832,"altitude":23,"angle":351,"satellites":39,"speed":0,"hex_longitude":"2d966f00","hex_latitude":"060666d0","is_valid_coordinates":true} 
[2026-07-27 22:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:55:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004198144001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:55:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359474292930379776,"note":"Value kept but may cause issues"} 
[2026-07-27 22:55:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606861219728273408,"note":"Value kept but may cause issues"} 
[2026-07-27 22:55:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:55:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785172950000,"timestamp_ms":1785172950000,"timestamp_seconds":1785172950,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4997bf0"} 
[2026-07-27 22:55:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:55:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-27 22:55:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:55:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:55:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:55:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:55:06] local.INFO: Teltonika packet parsed successfully {"connection_id":144360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:55:06] local.INFO: Passing IMEI to GPS processor {"connection_id":144360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:55:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":144360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:55:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:55:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:55:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:55:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004198144001,"66":25843,"231":206,"79":48640,"24":0,"16":359474292930379776,"45":-7606861219728273408},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,79,24,16,45]} 
[2026-07-27 22:55:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:55:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:55:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004198144001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:55:06] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-07-27 22:55:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 22:55:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359474292930379776,"km_value":359474292930379.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:55:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606861219728273408,"description":"Unknown IO ID 45"} 
[2026-07-27 22:55:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004198144001,"power":25843,"unknown_231":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606861219728273408}} 
[2026-07-27 22:55:06] local.INFO: DEBUG: GPS processor result {"connection_id":144360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:55:06] local.INFO: GPS data processed {"connection_id":144360,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:55:06] local.INFO: Acknowledgment sent {"connection_id":144360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:55:36] local.INFO: TCP Data received {"connection_id":143353,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa49b7ba8012d196940071fee200041013126..."} 
[2026-07-27 22:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143353,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa49b7ba8012d196940071fee200041013126..."} 
[2026-07-27 22:55:36] local.INFO: Processing buffer {"connection_id":143353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa49b7ba8012d196940071fee200041013126..."} 
[2026-07-27 22:55:36] local.INFO: Packet analysis {"connection_id":143353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa49b"} 
[2026-07-27 22:55:36] local.INFO: Extracted packet for processing {"connection_id":143353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa49b"} 
[2026-07-27 22:55:36] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:55:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004231680001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:55:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:55:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:55:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:55:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785173081000,"timestamp_ms":1785173081000,"timestamp_seconds":1785173081,"priority":1,"record_length":96,"hex_timestamp":"0000019fa49b7ba8"} 
[2026-07-27 22:55:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:55:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-27 22:55:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:55:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:55:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:55:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:55:36] local.INFO: Teltonika packet parsed successfully {"connection_id":143353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:55:36] local.INFO: Passing IMEI to GPS processor {"connection_id":143353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:55:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":143353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:55:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:55:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:55:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:55:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004231680001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:55:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:55:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:55:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004231680001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:55:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:55:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:55:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:55:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:55:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004231680001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:55:37] local.INFO: DEBUG: GPS processor result {"connection_id":143353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555859,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:55:37] local.INFO: GPS data processed {"connection_id":143353,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:55:37] local.INFO: Acknowledgment sent {"connection_id":143353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:55:37] local.INFO: TCP Data received {"connection_id":144360,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4997bf0012d966f00060666d00017015f27..."} 
[2026-07-27 22:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4997bf0012d966f00060666d00017015f27..."} 
[2026-07-27 22:55:37] local.INFO: Processing buffer {"connection_id":144360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4997bf0012d966f00060666d00017015f27..."} 
[2026-07-27 22:55:37] local.INFO: Packet analysis {"connection_id":144360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa499"} 
[2026-07-27 22:55:37] local.INFO: Extracted packet for processing {"connection_id":144360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa499"} 
[2026-07-27 22:55:37] local.INFO: GPS Element Parsed {"raw_longitude":764833536,"raw_latitude":101082832,"longitude_deg":76.4833536,"latitude_deg":10.1082832,"altitude":23,"angle":351,"satellites":39,"speed":0,"hex_longitude":"2d966f00","hex_latitude":"060666d0","is_valid_coordinates":true} 
[2026-07-27 22:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:55:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004198144001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:55:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359474292930379776,"note":"Value kept but may cause issues"} 
[2026-07-27 22:55:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606861219728273408,"note":"Value kept but may cause issues"} 
[2026-07-27 22:55:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:55:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785172950000,"timestamp_ms":1785172950000,"timestamp_seconds":1785172950,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4997bf0"} 
[2026-07-27 22:55:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:55:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-27 22:55:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:55:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:55:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:55:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:55:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:55:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:55:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:55:37] 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-07-27 22:55:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:55:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:55:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004198144001,"66":25843,"231":206,"79":48640,"24":0,"16":359474292930379776,"45":-7606861219728273408},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,79,24,16,45]} 
[2026-07-27 22:55:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:55:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:55:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004198144001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:55:37] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-07-27 22:55:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 22:55:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359474292930379776,"km_value":359474292930379.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:55:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606861219728273408,"description":"Unknown IO ID 45"} 
[2026-07-27 22:55:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004198144001,"power":25843,"unknown_231":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606861219728273408}} 
[2026-07-27 22:55:37] local.INFO: DEBUG: GPS processor result {"connection_id":144360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:55:37] local.INFO: GPS data processed {"connection_id":144360,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:55:37] local.INFO: Acknowledgment sent {"connection_id":144360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:55:58] local.INFO: TCP Data received {"connection_id":144361,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144361,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:55:58] local.INFO: Processing buffer {"connection_id":144361,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:55:58] local.INFO: IMEI packet received {"connection_id":144361,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 22:55:58] local.INFO: IMEI acknowledgment sent {"connection_id":144361,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 22:56:04] local.INFO: TCP Data received {"connection_id":144361,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144361,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:56:04] local.INFO: Processing buffer {"connection_id":144361,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:56:04] local.INFO: IMEI packet received {"connection_id":144361,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 22:56:04] local.INFO: IMEI acknowledgment sent {"connection_id":144361,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:56:05] local.INFO: TCP Data received {"connection_id":144362,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:56:05] local.INFO: Processing buffer {"connection_id":144362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:56:05] local.INFO: IMEI packet received {"connection_id":144362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 22:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":144362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 22:56:05] local.INFO: TCP Data received {"connection_id":144361,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa49b7ba8012d196940071fee200041013126..."} 
[2026-07-27 22:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144361,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa49b7ba8012d196940071fee200041013126..."} 
[2026-07-27 22:56:05] local.INFO: Processing buffer {"connection_id":144361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa49b7ba8012d196940071fee200041013126..."} 
[2026-07-27 22:56:05] local.INFO: Packet analysis {"connection_id":144361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa49b"} 
[2026-07-27 22:56:05] local.INFO: Extracted packet for processing {"connection_id":144361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa49b"} 
[2026-07-27 22:56:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:56:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004231680001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:56:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:56:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:56:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:56:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785173081000,"timestamp_ms":1785173081000,"timestamp_seconds":1785173081,"priority":1,"record_length":96,"hex_timestamp":"0000019fa49b7ba8"} 
[2026-07-27 22:56:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:56:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-27 22:56:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:56:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:56:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:56:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:56:05] local.INFO: Teltonika packet parsed successfully {"connection_id":144361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:56:05] local.INFO: Passing IMEI to GPS processor {"connection_id":144361,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:56:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":144361,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:56:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:56:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:56:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:56:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004231680001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:56:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:56:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:56:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004231680001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:56:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:56:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:56:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:56:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:56:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004231680001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:56:05] local.INFO: DEBUG: GPS processor result {"connection_id":144361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555861,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:56:05] local.INFO: GPS data processed {"connection_id":144361,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:56:05] local.INFO: Acknowledgment sent {"connection_id":144361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:56:10] local.INFO: TCP Data received {"connection_id":144362,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:56:10] local.INFO: Processing buffer {"connection_id":144362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:56:10] local.INFO: IMEI packet received {"connection_id":144362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 22:56:10] local.INFO: IMEI acknowledgment sent {"connection_id":144362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:56:11] local.INFO: TCP Data received {"connection_id":144362,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4997bf0012d966f00060666d00017015f27..."} 
[2026-07-27 22:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144362,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4997bf0012d966f00060666d00017015f27..."} 
[2026-07-27 22:56:11] local.INFO: Processing buffer {"connection_id":144362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4997bf0012d966f00060666d00017015f27..."} 
[2026-07-27 22:56:11] local.INFO: Packet analysis {"connection_id":144362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa499"} 
[2026-07-27 22:56:11] local.INFO: Extracted packet for processing {"connection_id":144362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa499"} 
[2026-07-27 22:56:11] local.INFO: GPS Element Parsed {"raw_longitude":764833536,"raw_latitude":101082832,"longitude_deg":76.4833536,"latitude_deg":10.1082832,"altitude":23,"angle":351,"satellites":39,"speed":0,"hex_longitude":"2d966f00","hex_latitude":"060666d0","is_valid_coordinates":true} 
[2026-07-27 22:56:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:56:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004198144001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:56:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359474292930379776,"note":"Value kept but may cause issues"} 
[2026-07-27 22:56:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606861219728273408,"note":"Value kept but may cause issues"} 
[2026-07-27 22:56:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:56:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785172950000,"timestamp_ms":1785172950000,"timestamp_seconds":1785172950,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4997bf0"} 
[2026-07-27 22:56:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:56:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22: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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-27 22:56:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:56:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:56:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:56:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:56:11] local.INFO: Teltonika packet parsed successfully {"connection_id":144362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:56:11] local.INFO: Passing IMEI to GPS processor {"connection_id":144362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:56:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":144362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:56: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-07-27 22:56:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:56:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:56:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004198144001,"66":25843,"231":206,"79":48640,"24":0,"16":359474292930379776,"45":-7606861219728273408},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,79,24,16,45]} 
[2026-07-27 22:56:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:56:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:56:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004198144001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:56:11] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-07-27 22:56:11] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 22:56:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359474292930379776,"km_value":359474292930379.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:56:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606861219728273408,"description":"Unknown IO ID 45"} 
[2026-07-27 22:56:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004198144001,"power":25843,"unknown_231":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606861219728273408}} 
[2026-07-27 22:56:11] local.INFO: DEBUG: GPS processor result {"connection_id":144362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:56:11] local.INFO: GPS data processed {"connection_id":144362,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:56:11] local.INFO: Acknowledgment sent {"connection_id":144362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:56:16] local.INFO: TCP Data received {"connection_id":144362,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4997bf0012d966f00060666d00017015f27..."} 
[2026-07-27 22:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144362,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4997bf0012d966f00060666d00017015f27..."} 
[2026-07-27 22:56:16] local.INFO: Processing buffer {"connection_id":144362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4997bf0012d966f00060666d00017015f27..."} 
[2026-07-27 22:56:16] local.INFO: Packet analysis {"connection_id":144362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa499"} 
[2026-07-27 22:56:16] local.INFO: Extracted packet for processing {"connection_id":144362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa499"} 
[2026-07-27 22:56:16] local.INFO: GPS Element Parsed {"raw_longitude":764833536,"raw_latitude":101082832,"longitude_deg":76.4833536,"latitude_deg":10.1082832,"altitude":23,"angle":351,"satellites":39,"speed":0,"hex_longitude":"2d966f00","hex_latitude":"060666d0","is_valid_coordinates":true} 
[2026-07-27 22:56:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:56:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004198144001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:56:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359474292930379776,"note":"Value kept but may cause issues"} 
[2026-07-27 22:56:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606861219728273408,"note":"Value kept but may cause issues"} 
[2026-07-27 22:56:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:56:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785172950000,"timestamp_ms":1785172950000,"timestamp_seconds":1785172950,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4997bf0"} 
[2026-07-27 22:56:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:56:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:56:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-27 22:56:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:56:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:56:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:56:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:56:16] local.INFO: Teltonika packet parsed successfully {"connection_id":144362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:56:16] local.INFO: Passing IMEI to GPS processor {"connection_id":144362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:56:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":144362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:56: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-07-27 22:56:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:56:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:56:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004198144001,"66":25843,"231":206,"79":48640,"24":0,"16":359474292930379776,"45":-7606861219728273408},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,79,24,16,45]} 
[2026-07-27 22:56:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:56:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:56:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004198144001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:56:16] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-07-27 22:56:16] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 22:56:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359474292930379776,"km_value":359474292930379.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:56:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606861219728273408,"description":"Unknown IO ID 45"} 
[2026-07-27 22:56:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004198144001,"power":25843,"unknown_231":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606861219728273408}} 
[2026-07-27 22:56:16] local.INFO: DEBUG: GPS processor result {"connection_id":144362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:56:16] local.INFO: GPS data processed {"connection_id":144362,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:56:16] local.INFO: Acknowledgment sent {"connection_id":144362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:56:37] local.INFO: TCP Data received {"connection_id":144361,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa49b7ba8012d196940071fee200041013126..."} 
[2026-07-27 22:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144361,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa49b7ba8012d196940071fee200041013126..."} 
[2026-07-27 22:56:37] local.INFO: Processing buffer {"connection_id":144361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa49b7ba8012d196940071fee200041013126..."} 
[2026-07-27 22:56:37] local.INFO: Packet analysis {"connection_id":144361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa49b"} 
[2026-07-27 22:56:37] local.INFO: Extracted packet for processing {"connection_id":144361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa49b"} 
[2026-07-27 22:56:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004231680001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:56:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:56:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785173081000,"timestamp_ms":1785173081000,"timestamp_seconds":1785173081,"priority":1,"record_length":96,"hex_timestamp":"0000019fa49b7ba8"} 
[2026-07-27 22:56:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:56:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-27 22:56:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:56:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:56:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144361,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144361,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:56:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004231680001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004231680001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:56:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:56:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:56:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:56:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004231680001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:56:37] local.INFO: DEBUG: GPS processor result {"connection_id":144361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555864,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:56:37] local.INFO: GPS data processed {"connection_id":144361,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:56:37] local.INFO: Acknowledgment sent {"connection_id":144361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:57:00] local.INFO: TCP Data received {"connection_id":143354,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:57:00] local.INFO: Processing buffer {"connection_id":143354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:57:00] local.INFO: IMEI packet received {"connection_id":143354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 22:57:00] local.INFO: IMEI acknowledgment sent {"connection_id":143354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 22:57:04] local.INFO: TCP Data received {"connection_id":143211,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143211,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:57:04] local.INFO: Processing buffer {"connection_id":143211,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:57:04] local.INFO: IMEI packet received {"connection_id":143211,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 22:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":143211,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 22:57:05] local.INFO: TCP Data received {"connection_id":143354,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:57:05] local.INFO: Processing buffer {"connection_id":143354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:57:05] local.INFO: IMEI packet received {"connection_id":143354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 22:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":143354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:57:06] local.INFO: TCP Data received {"connection_id":143354,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4997bf0012d966f00060666d00017015f27..."} 
[2026-07-27 22:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4997bf0012d966f00060666d00017015f27..."} 
[2026-07-27 22:57:06] local.INFO: Processing buffer {"connection_id":143354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4997bf0012d966f00060666d00017015f27..."} 
[2026-07-27 22:57:06] local.INFO: Packet analysis {"connection_id":143354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa499"} 
[2026-07-27 22:57:06] local.INFO: Extracted packet for processing {"connection_id":143354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa499"} 
[2026-07-27 22:57:06] local.INFO: GPS Element Parsed {"raw_longitude":764833536,"raw_latitude":101082832,"longitude_deg":76.4833536,"latitude_deg":10.1082832,"altitude":23,"angle":351,"satellites":39,"speed":0,"hex_longitude":"2d966f00","hex_latitude":"060666d0","is_valid_coordinates":true} 
[2026-07-27 22:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004198144001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359474292930379776,"note":"Value kept but may cause issues"} 
[2026-07-27 22:57:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606861219728273408,"note":"Value kept but may cause issues"} 
[2026-07-27 22:57:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785172950000,"timestamp_ms":1785172950000,"timestamp_seconds":1785172950,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4997bf0"} 
[2026-07-27 22:57:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:57:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-27 22:57:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:57:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:57:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:57:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004198144001,"66":25843,"231":206,"79":48640,"24":0,"16":359474292930379776,"45":-7606861219728273408},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,79,24,16,45]} 
[2026-07-27 22:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004198144001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:57:06] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-07-27 22:57:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 22:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359474292930379776,"km_value":359474292930379.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:57:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606861219728273408,"description":"Unknown IO ID 45"} 
[2026-07-27 22:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004198144001,"power":25843,"unknown_231":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606861219728273408}} 
[2026-07-27 22:57:06] local.INFO: DEBUG: GPS processor result {"connection_id":143354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:57:06] local.INFO: GPS data processed {"connection_id":143354,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:57:06] local.INFO: Acknowledgment sent {"connection_id":143354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:57:09] local.INFO: TCP Data received {"connection_id":143211,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143211,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:57:09] local.INFO: Processing buffer {"connection_id":143211,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:57:09] local.INFO: IMEI packet received {"connection_id":143211,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 22:57:09] local.INFO: IMEI acknowledgment sent {"connection_id":143211,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:57:10] local.INFO: TCP Data received {"connection_id":143211,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa49b7ba8012d196940071fee200041013126..."} 
[2026-07-27 22:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143211,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa49b7ba8012d196940071fee200041013126..."} 
[2026-07-27 22:57:10] local.INFO: Processing buffer {"connection_id":143211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa49b7ba8012d196940071fee200041013126..."} 
[2026-07-27 22:57:10] local.INFO: Packet analysis {"connection_id":143211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa49b"} 
[2026-07-27 22:57:10] local.INFO: Extracted packet for processing {"connection_id":143211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa49b"} 
[2026-07-27 22:57:10] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22:57:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:57:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004231680001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:57:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:57:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:57:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:57:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785173081000,"timestamp_ms":1785173081000,"timestamp_seconds":1785173081,"priority":1,"record_length":96,"hex_timestamp":"0000019fa49b7ba8"} 
[2026-07-27 22:57:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:57:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-27 22:57:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:57:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:57:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:57:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:57:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:57:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143211,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:57:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143211,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:57:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:57:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:57:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:57:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004231680001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:57:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:57:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:57:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004231680001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:57:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:57:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:57:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:57:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:57:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004231680001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:57:10] local.INFO: DEBUG: GPS processor result {"connection_id":143211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555866,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:57:10] local.INFO: GPS data processed {"connection_id":143211,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:57:10] local.INFO: Acknowledgment sent {"connection_id":143211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:57:10] local.INFO: TCP Data received {"connection_id":143354,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4997bf0012d966f00060666d00017015f27..."} 
[2026-07-27 22:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4997bf0012d966f00060666d00017015f27..."} 
[2026-07-27 22:57:10] local.INFO: Processing buffer {"connection_id":143354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4997bf0012d966f00060666d00017015f27..."} 
[2026-07-27 22:57:10] local.INFO: Packet analysis {"connection_id":143354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa499"} 
[2026-07-27 22:57:10] local.INFO: Extracted packet for processing {"connection_id":143354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa499"} 
[2026-07-27 22:57:10] local.INFO: GPS Element Parsed {"raw_longitude":764833536,"raw_latitude":101082832,"longitude_deg":76.4833536,"latitude_deg":10.1082832,"altitude":23,"angle":351,"satellites":39,"speed":0,"hex_longitude":"2d966f00","hex_latitude":"060666d0","is_valid_coordinates":true} 
[2026-07-27 22:57:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:57:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004198144001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:57:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359474292930379776,"note":"Value kept but may cause issues"} 
[2026-07-27 22:57:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606861219728273408,"note":"Value kept but may cause issues"} 
[2026-07-27 22:57:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:57:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785172950000,"timestamp_ms":1785172950000,"timestamp_seconds":1785172950,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4997bf0"} 
[2026-07-27 22:57:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:57:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22: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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-27 22:57:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:57:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:57:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:57:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:57:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:57:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:57:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:57: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-07-27 22:57:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:57:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:57:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004198144001,"66":25843,"231":206,"79":48640,"24":0,"16":359474292930379776,"45":-7606861219728273408},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,79,24,16,45]} 
[2026-07-27 22:57:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:57:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:57:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004198144001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:57:10] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-07-27 22:57:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 22:57:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359474292930379776,"km_value":359474292930379.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:57:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606861219728273408,"description":"Unknown IO ID 45"} 
[2026-07-27 22:57:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004198144001,"power":25843,"unknown_231":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606861219728273408}} 
[2026-07-27 22:57:10] local.INFO: DEBUG: GPS processor result {"connection_id":143354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:57:10] local.INFO: GPS data processed {"connection_id":143354,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:57:10] local.INFO: Acknowledgment sent {"connection_id":143354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:57:14] local.INFO: TCP Data received {"connection_id":143211,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa49b7ba8012d196940071fee200041013126..."} 
[2026-07-27 22:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143211,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa49b7ba8012d196940071fee200041013126..."} 
[2026-07-27 22:57:14] local.INFO: Processing buffer {"connection_id":143211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa49b7ba8012d196940071fee200041013126..."} 
[2026-07-27 22:57:14] local.INFO: Packet analysis {"connection_id":143211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa49b"} 
[2026-07-27 22:57:14] local.INFO: Extracted packet for processing {"connection_id":143211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa49b"} 
[2026-07-27 22:57:14] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22: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-07-27 22:57:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004231680001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:57:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:57:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:57:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:57:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785173081000,"timestamp_ms":1785173081000,"timestamp_seconds":1785173081,"priority":1,"record_length":96,"hex_timestamp":"0000019fa49b7ba8"} 
[2026-07-27 22:57:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:57:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:57:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-27 22:57:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22: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-07-27 22:57:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:57:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:57:14] local.INFO: Teltonika packet parsed successfully {"connection_id":143211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:57:14] local.INFO: Passing IMEI to GPS processor {"connection_id":143211,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:57:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":143211,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:57:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:57:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:57:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:57:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004231680001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:57:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:57:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:57:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004231680001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:57:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:57:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:57:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:57:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:57:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004231680001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:57:15] local.INFO: DEBUG: GPS processor result {"connection_id":143211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555868,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:57:15] local.INFO: GPS data processed {"connection_id":143211,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:57:15] local.INFO: Acknowledgment sent {"connection_id":143211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:57:41] local.INFO: TCP Data received {"connection_id":143354,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4997bf0012d966f00060666d00017015f27..."} 
[2026-07-27 22:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4997bf0012d966f00060666d00017015f27..."} 
[2026-07-27 22:57:41] local.INFO: Processing buffer {"connection_id":143354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4997bf0012d966f00060666d00017015f27..."} 
[2026-07-27 22:57:41] local.INFO: Packet analysis {"connection_id":143354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa499"} 
[2026-07-27 22:57:41] local.INFO: Extracted packet for processing {"connection_id":143354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa499"} 
[2026-07-27 22:57:41] local.INFO: GPS Element Parsed {"raw_longitude":764833536,"raw_latitude":101082832,"longitude_deg":76.4833536,"latitude_deg":10.1082832,"altitude":23,"angle":351,"satellites":39,"speed":0,"hex_longitude":"2d966f00","hex_latitude":"060666d0","is_valid_coordinates":true} 
[2026-07-27 22:57:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:57:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004198144001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:57:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359474292930379776,"note":"Value kept but may cause issues"} 
[2026-07-27 22:57:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606861219728273408,"note":"Value kept but may cause issues"} 
[2026-07-27 22:57:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:57:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785172950000,"timestamp_ms":1785172950000,"timestamp_seconds":1785172950,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4997bf0"} 
[2026-07-27 22:57:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:57:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:57:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-27 22:57:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:57:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:57:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:57:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:57:41] local.INFO: Teltonika packet parsed successfully {"connection_id":143354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:57:41] local.INFO: Passing IMEI to GPS processor {"connection_id":143354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:57:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":143354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:57: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-07-27 22:57:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:57:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:57:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004198144001,"66":25843,"231":206,"79":48640,"24":0,"16":359474292930379776,"45":-7606861219728273408},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,79,24,16,45]} 
[2026-07-27 22:57:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:57:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:57:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004198144001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:57:41] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-07-27 22:57:41] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 22:57:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359474292930379776,"km_value":359474292930379.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:57:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606861219728273408,"description":"Unknown IO ID 45"} 
[2026-07-27 22:57:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004198144001,"power":25843,"unknown_231":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606861219728273408}} 
[2026-07-27 22:57:41] local.INFO: DEBUG: GPS processor result {"connection_id":143354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:57:41] local.INFO: GPS data processed {"connection_id":143354,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:57:41] local.INFO: Acknowledgment sent {"connection_id":143354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:57:59] local.INFO: TCP Data received {"connection_id":144363,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144363,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:57:59] local.INFO: Processing buffer {"connection_id":144363,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:57:59] local.INFO: IMEI packet received {"connection_id":144363,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 22:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":144363,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 22:58:00] local.INFO: TCP Data received {"connection_id":143355,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:58:00] local.INFO: Processing buffer {"connection_id":143355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:58:00] local.INFO: IMEI packet received {"connection_id":143355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 22:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":143355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 22:58:04] local.INFO: TCP Data received {"connection_id":144363,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144363,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:58:04] local.INFO: Processing buffer {"connection_id":144363,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:58:04] local.INFO: IMEI packet received {"connection_id":144363,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 22:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":144363,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:58:05] local.INFO: TCP Data received {"connection_id":143355,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:58:05] local.INFO: Processing buffer {"connection_id":143355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:58:05] local.INFO: IMEI packet received {"connection_id":143355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 22:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":143355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:58:05] local.INFO: TCP Data received {"connection_id":144363,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa49b7ba8012d196940071fee200041013126..."} 
[2026-07-27 22:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa49b7ba8012d196940071fee200041013126..."} 
[2026-07-27 22:58:05] local.INFO: Processing buffer {"connection_id":144363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa49b7ba8012d196940071fee200041013126..."} 
[2026-07-27 22:58:05] local.INFO: Packet analysis {"connection_id":144363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa49b"} 
[2026-07-27 22:58:05] local.INFO: Extracted packet for processing {"connection_id":144363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa49b"} 
[2026-07-27 22:58:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:58:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004231680001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:58:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:58:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:58:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:58:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785173081000,"timestamp_ms":1785173081000,"timestamp_seconds":1785173081,"priority":1,"record_length":96,"hex_timestamp":"0000019fa49b7ba8"} 
[2026-07-27 22:58:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:58:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-27 22:58:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:58:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:58:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:58:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:58:05] local.INFO: Teltonika packet parsed successfully {"connection_id":144363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:58:05] local.INFO: Passing IMEI to GPS processor {"connection_id":144363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:58:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":144363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:58:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:58:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:58:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:58:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004231680001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:58:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:58:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:58:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004231680001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:58:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:58:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:58:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:58:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:58:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004231680001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:58:05] local.INFO: DEBUG: GPS processor result {"connection_id":144363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555870,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:58:05] local.INFO: GPS data processed {"connection_id":144363,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:58:05] local.INFO: Acknowledgment sent {"connection_id":144363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:58:06] local.INFO: TCP Data received {"connection_id":143355,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4997bf0012d966f00060666d00017015f27..."} 
[2026-07-27 22:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4997bf0012d966f00060666d00017015f27..."} 
[2026-07-27 22:58:06] local.INFO: Processing buffer {"connection_id":143355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4997bf0012d966f00060666d00017015f27..."} 
[2026-07-27 22:58:06] local.INFO: Packet analysis {"connection_id":143355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa499"} 
[2026-07-27 22:58:06] local.INFO: Extracted packet for processing {"connection_id":143355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa499"} 
[2026-07-27 22:58:06] local.INFO: GPS Element Parsed {"raw_longitude":764833536,"raw_latitude":101082832,"longitude_deg":76.4833536,"latitude_deg":10.1082832,"altitude":23,"angle":351,"satellites":39,"speed":0,"hex_longitude":"2d966f00","hex_latitude":"060666d0","is_valid_coordinates":true} 
[2026-07-27 22:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004198144001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359474292930379776,"note":"Value kept but may cause issues"} 
[2026-07-27 22:58:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606861219728273408,"note":"Value kept but may cause issues"} 
[2026-07-27 22:58:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785172950000,"timestamp_ms":1785172950000,"timestamp_seconds":1785172950,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4997bf0"} 
[2026-07-27 22:58:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:58:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-27 22:58:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:58:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:58:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:58:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004198144001,"66":25843,"231":206,"79":48640,"24":0,"16":359474292930379776,"45":-7606861219728273408},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,79,24,16,45]} 
[2026-07-27 22:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004198144001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:58:06] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-07-27 22:58:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 22:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359474292930379776,"km_value":359474292930379.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:58:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606861219728273408,"description":"Unknown IO ID 45"} 
[2026-07-27 22:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004198144001,"power":25843,"unknown_231":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606861219728273408}} 
[2026-07-27 22:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":143355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:58:06] local.INFO: GPS data processed {"connection_id":143355,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:58:06] local.INFO: Acknowledgment sent {"connection_id":143355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:58:09] local.INFO: TCP Data received {"connection_id":144363,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa49b7ba8012d196940071fee200041013126..."} 
[2026-07-27 22:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa49b7ba8012d196940071fee200041013126..."} 
[2026-07-27 22:58:09] local.INFO: Processing buffer {"connection_id":144363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa49b7ba8012d196940071fee200041013126..."} 
[2026-07-27 22:58:09] local.INFO: Packet analysis {"connection_id":144363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa49b"} 
[2026-07-27 22:58:09] local.INFO: Extracted packet for processing {"connection_id":144363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa49b"} 
[2026-07-27 22:58:09] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22:58:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:58:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004231680001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:58:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:58:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:58:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:58:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785173081000,"timestamp_ms":1785173081000,"timestamp_seconds":1785173081,"priority":1,"record_length":96,"hex_timestamp":"0000019fa49b7ba8"} 
[2026-07-27 22:58:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:58:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:58:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-27 22:58:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:58:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:58:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:58:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:58:09] local.INFO: Teltonika packet parsed successfully {"connection_id":144363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:58:09] local.INFO: Passing IMEI to GPS processor {"connection_id":144363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:58:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":144363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:58:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:58:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:58:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:58:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004231680001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:58:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:58:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:58:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004231680001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:58:09] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:58:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:58:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:58:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:58:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004231680001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:58:10] local.INFO: DEBUG: GPS processor result {"connection_id":144363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555872,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:58:10] local.INFO: GPS data processed {"connection_id":144363,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:58:10] local.INFO: Acknowledgment sent {"connection_id":144363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:58:37] local.INFO: TCP Data received {"connection_id":143355,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fa49e13b8012d966f00060666d00017015f27..."} 
[2026-07-27 22:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa49e13b8012d966f00060666d00017015f27..."} 
[2026-07-27 22:58:37] local.INFO: Processing buffer {"connection_id":143355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa49e13b8012d966f00060666d00017015f27..."} 
[2026-07-27 22:58:37] local.INFO: Packet analysis {"connection_id":143355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa49e"} 
[2026-07-27 22:58:37] local.INFO: Extracted packet for processing {"connection_id":143355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa49e"} 
[2026-07-27 22:58:37] local.INFO: GPS Element Parsed {"raw_longitude":764833536,"raw_latitude":101082832,"longitude_deg":76.4833536,"latitude_deg":10.1082832,"altitude":23,"angle":351,"satellites":39,"speed":0,"hex_longitude":"2d966f00","hex_latitude":"060666d0","is_valid_coordinates":true} 
[2026-07-27 22:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:58:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004275200001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:58:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359474292930379776,"note":"Value kept but may cause issues"} 
[2026-07-27 22:58:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606861219728273408,"note":"Value kept but may cause issues"} 
[2026-07-27 22:58:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:58:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785173251000,"timestamp_ms":1785173251000,"timestamp_seconds":1785173251,"priority":1,"record_length":96,"hex_timestamp":"0000019fa49e13b8"} 
[2026-07-27 22:58:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:58:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-27 22:58:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:58:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:58:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:58:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:58:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:58:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:58:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:58:37] 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-07-27 22:58:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:58:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:58:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004275200001,"66":25778,"231":206,"79":48640,"24":0,"16":359474292930379776,"45":-7606861219728273408},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,79,24,16,45]} 
[2026-07-27 22:58:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:58:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:58:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004275200001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:58:37] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-07-27 22:58:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 22:58:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359474292930379776,"km_value":359474292930379.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:58:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606861219728273408,"description":"Unknown IO ID 45"} 
[2026-07-27 22:58:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004275200001,"power":25778,"unknown_231":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606861219728273408}} 
[2026-07-27 22:58:37] local.INFO: DEBUG: GPS processor result {"connection_id":143355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:58:37] local.INFO: GPS data processed {"connection_id":143355,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:58:37] local.INFO: Acknowledgment sent {"connection_id":143355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:58:41] local.INFO: TCP Data received {"connection_id":144363,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa49b7ba8012d196940071fee200041013126..."} 
[2026-07-27 22:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa49b7ba8012d196940071fee200041013126..."} 
[2026-07-27 22:58:41] local.INFO: Processing buffer {"connection_id":144363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa49b7ba8012d196940071fee200041013126..."} 
[2026-07-27 22:58:41] local.INFO: Packet analysis {"connection_id":144363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa49b"} 
[2026-07-27 22:58:41] local.INFO: Extracted packet for processing {"connection_id":144363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa49b"} 
[2026-07-27 22:58:41] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22:58:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:58:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004231680001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:58:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:58:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:58:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:58:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785173081000,"timestamp_ms":1785173081000,"timestamp_seconds":1785173081,"priority":1,"record_length":96,"hex_timestamp":"0000019fa49b7ba8"} 
[2026-07-27 22:58:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:58:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:58:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-27 22:58:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:58:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:58:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:58:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:58:41] local.INFO: Teltonika packet parsed successfully {"connection_id":144363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:58:41] local.INFO: Passing IMEI to GPS processor {"connection_id":144363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:58:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":144363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:58:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:58:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:58:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:58:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004231680001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:58:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:58:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:58:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004231680001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:58:41] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:58:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:58:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:58:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:58:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004231680001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:58:41] local.INFO: DEBUG: GPS processor result {"connection_id":144363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555874,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:58:41] local.INFO: GPS data processed {"connection_id":144363,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:58:41] local.INFO: Acknowledgment sent {"connection_id":144363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:58:59] local.INFO: TCP Data received {"connection_id":143212,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143212,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:58:59] local.INFO: Processing buffer {"connection_id":143212,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:58:59] local.INFO: IMEI packet received {"connection_id":143212,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 22:58:59] local.INFO: IMEI acknowledgment sent {"connection_id":143212,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 22:59:01] local.INFO: TCP Data received {"connection_id":143356,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:59:01] local.INFO: Processing buffer {"connection_id":143356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:59:01] local.INFO: IMEI packet received {"connection_id":143356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 22:59:01] local.INFO: IMEI acknowledgment sent {"connection_id":143356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 22:59:04] local.INFO: TCP Data received {"connection_id":143212,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143212,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:59:04] local.INFO: Processing buffer {"connection_id":143212,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:59:04] local.INFO: IMEI packet received {"connection_id":143212,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 22:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":143212,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:59:05] local.INFO: TCP Data received {"connection_id":143356,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:59:05] local.INFO: Processing buffer {"connection_id":143356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:59:05] local.INFO: IMEI packet received {"connection_id":143356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 22:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":143356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:59:05] local.INFO: TCP Data received {"connection_id":143212,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa49b7ba8012d196940071fee200041013126..."} 
[2026-07-27 22:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa49b7ba8012d196940071fee200041013126..."} 
[2026-07-27 22:59:05] local.INFO: Processing buffer {"connection_id":143212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa49b7ba8012d196940071fee200041013126..."} 
[2026-07-27 22:59:05] local.INFO: Packet analysis {"connection_id":143212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa49b"} 
[2026-07-27 22:59:05] local.INFO: Extracted packet for processing {"connection_id":143212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa49b"} 
[2026-07-27 22:59:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:59:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004231680001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:59:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:59:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:59:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:59:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785173081000,"timestamp_ms":1785173081000,"timestamp_seconds":1785173081,"priority":1,"record_length":96,"hex_timestamp":"0000019fa49b7ba8"} 
[2026-07-27 22:59:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:59:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-27 22:59:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:59:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:59:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:59:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:59:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:59:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143212,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:59:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143212,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:59:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:59:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:59:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:59:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004231680001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:59:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:59:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:59:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004231680001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:59:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:59:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:59:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:59:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:59:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004231680001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:59:05] local.INFO: DEBUG: GPS processor result {"connection_id":143212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555875,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:59:05] local.INFO: GPS data processed {"connection_id":143212,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:59:05] local.INFO: Acknowledgment sent {"connection_id":143212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:59:10] local.INFO: TCP Data received {"connection_id":143356,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:59:10] local.INFO: Processing buffer {"connection_id":143356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 22:59:10] local.INFO: IMEI packet received {"connection_id":143356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 22:59:10] local.INFO: IMEI acknowledgment sent {"connection_id":143356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 22:59:11] local.INFO: TCP Data received {"connection_id":143356,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa49e13b8012d966f00060666d00017015f27..."} 
[2026-07-27 22:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143356,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa49e13b8012d966f00060666d00017015f27..."} 
[2026-07-27 22:59:11] local.INFO: Processing buffer {"connection_id":143356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa49e13b8012d966f00060666d00017015f27..."} 
[2026-07-27 22:59:11] local.INFO: Packet analysis {"connection_id":143356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa49e"} 
[2026-07-27 22:59:11] local.INFO: Extracted packet for processing {"connection_id":143356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa49e"} 
[2026-07-27 22:59:11] local.INFO: GPS Element Parsed {"raw_longitude":764833536,"raw_latitude":101082832,"longitude_deg":76.4833536,"latitude_deg":10.1082832,"altitude":23,"angle":351,"satellites":39,"speed":0,"hex_longitude":"2d966f00","hex_latitude":"060666d0","is_valid_coordinates":true} 
[2026-07-27 22:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:59:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004275200001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:59:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359474292930379776,"note":"Value kept but may cause issues"} 
[2026-07-27 22:59:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606861219728273408,"note":"Value kept but may cause issues"} 
[2026-07-27 22:59:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:59:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785173251000,"timestamp_ms":1785173251000,"timestamp_seconds":1785173251,"priority":1,"record_length":96,"hex_timestamp":"0000019fa49e13b8"} 
[2026-07-27 22:59:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:59:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-27 22:59:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:59:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:59:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:59:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:59:11] local.INFO: Teltonika packet parsed successfully {"connection_id":143356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:59:11] local.INFO: Passing IMEI to GPS processor {"connection_id":143356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:59:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":143356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:59: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-07-27 22:59:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:59:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:59:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004275200001,"66":25778,"231":206,"79":48640,"24":0,"16":359474292930379776,"45":-7606861219728273408},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,79,24,16,45]} 
[2026-07-27 22:59:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:59:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:59:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004275200001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:59:11] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-07-27 22:59:11] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 22:59:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359474292930379776,"km_value":359474292930379.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:59:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606861219728273408,"description":"Unknown IO ID 45"} 
[2026-07-27 22:59:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004275200001,"power":25778,"unknown_231":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606861219728273408}} 
[2026-07-27 22:59:11] local.INFO: DEBUG: GPS processor result {"connection_id":143356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:59:11] local.INFO: GPS data processed {"connection_id":143356,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:59:11] local.INFO: Acknowledgment sent {"connection_id":143356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:59:37] local.INFO: TCP Data received {"connection_id":143212,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa49b7ba8012d196940071fee200041013126..."} 
[2026-07-27 22:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa49b7ba8012d196940071fee200041013126..."} 
[2026-07-27 22:59:37] local.INFO: Processing buffer {"connection_id":143212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa49b7ba8012d196940071fee200041013126..."} 
[2026-07-27 22:59:37] local.INFO: Packet analysis {"connection_id":143212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa49b"} 
[2026-07-27 22:59:37] local.INFO: Extracted packet for processing {"connection_id":143212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa49b"} 
[2026-07-27 22:59:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 22:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:59:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004231680001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:59:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 22:59:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 22:59:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:59:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785173081000,"timestamp_ms":1785173081000,"timestamp_seconds":1785173081,"priority":1,"record_length":96,"hex_timestamp":"0000019fa49b7ba8"} 
[2026-07-27 22:59:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:59:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-27 22:59:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:59:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:59:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:59:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:59:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:59:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143212,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:59:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143212,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 22:59:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 22:59:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 22:59:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 22:59:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004231680001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 22:59:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 22:59:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 22:59:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004231680001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:59:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 22:59:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 22:59:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:59:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 22:59:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004231680001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 22:59:37] local.INFO: DEBUG: GPS processor result {"connection_id":143212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555877,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:59:37] local.INFO: GPS data processed {"connection_id":143212,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:59:37] local.INFO: Acknowledgment sent {"connection_id":143212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:59:42] local.INFO: TCP Data received {"connection_id":143356,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa49e13b8012d966f00060666d00017015f27..."} 
[2026-07-27 22:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143356,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa49e13b8012d966f00060666d00017015f27..."} 
[2026-07-27 22:59:42] local.INFO: Processing buffer {"connection_id":143356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa49e13b8012d966f00060666d00017015f27..."} 
[2026-07-27 22:59:42] local.INFO: Packet analysis {"connection_id":143356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa49e"} 
[2026-07-27 22:59:42] local.INFO: Extracted packet for processing {"connection_id":143356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa49e"} 
[2026-07-27 22:59:42] local.INFO: GPS Element Parsed {"raw_longitude":764833536,"raw_latitude":101082832,"longitude_deg":76.4833536,"latitude_deg":10.1082832,"altitude":23,"angle":351,"satellites":39,"speed":0,"hex_longitude":"2d966f00","hex_latitude":"060666d0","is_valid_coordinates":true} 
[2026-07-27 22:59:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 22:59:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004275200001,"note":"Value kept but may cause issues"} 
[2026-07-27 22:59:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359474292930379776,"note":"Value kept but may cause issues"} 
[2026-07-27 22:59:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606861219728273408,"note":"Value kept but may cause issues"} 
[2026-07-27 22:59:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 22:59:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785173251000,"timestamp_ms":1785173251000,"timestamp_seconds":1785173251,"priority":1,"record_length":96,"hex_timestamp":"0000019fa49e13b8"} 
[2026-07-27 22:59:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 22:59:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 22: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-27 22:59:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 22:59:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 22:59:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 22:59:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 22:59:42] local.INFO: Teltonika packet parsed successfully {"connection_id":143356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 22:59:42] local.INFO: Passing IMEI to GPS processor {"connection_id":143356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:59:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":143356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 22:59: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-07-27 22:59:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 22:59:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 22:59:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004275200001,"66":25778,"231":206,"79":48640,"24":0,"16":359474292930379776,"45":-7606861219728273408},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,79,24,16,45]} 
[2026-07-27 22:59:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 22:59:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 22:59:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004275200001,"description":"Unknown IO ID 0"} 
[2026-07-27 22:59:42] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-07-27 22:59:42] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 22:59:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359474292930379776,"km_value":359474292930379.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 22:59:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606861219728273408,"description":"Unknown IO ID 45"} 
[2026-07-27 22:59:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004275200001,"power":25778,"unknown_231":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606861219728273408}} 
[2026-07-27 22:59:42] local.INFO: DEBUG: GPS processor result {"connection_id":143356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 22:59:42] local.INFO: GPS data processed {"connection_id":143356,"processed":1,"errors":0,"total":1} 
[2026-07-27 22:59:42] local.INFO: Acknowledgment sent {"connection_id":143356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 22:59:58] local.INFO: TCP Data received {"connection_id":145640,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145640,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:59:58] local.INFO: Processing buffer {"connection_id":145640,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 22:59:58] local.INFO: IMEI packet received {"connection_id":145640,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 22:59:58] local.INFO: IMEI acknowledgment sent {"connection_id":145640,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 23:00:00] local.INFO: TCP Data received {"connection_id":144364,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:00:00] local.INFO: Processing buffer {"connection_id":144364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:00:00] local.INFO: IMEI packet received {"connection_id":144364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 23:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":144364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 23:00:03] local.INFO: TCP Data received {"connection_id":145640,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145640,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:00:03] local.INFO: Processing buffer {"connection_id":145640,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:00:03] local.INFO: IMEI packet received {"connection_id":145640,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 23:00:03] local.INFO: IMEI acknowledgment sent {"connection_id":145640,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:00:04] local.INFO: TCP Data received {"connection_id":145640,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa49b7ba8012d196940071fee200041013126..."} 
[2026-07-27 23:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa49b7ba8012d196940071fee200041013126..."} 
[2026-07-27 23:00:04] local.INFO: Processing buffer {"connection_id":145640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa49b7ba8012d196940071fee200041013126..."} 
[2026-07-27 23:00:04] local.INFO: Packet analysis {"connection_id":145640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa49b"} 
[2026-07-27 23:00:04] local.INFO: Extracted packet for processing {"connection_id":145640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa49b"} 
[2026-07-27 23:00:04] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 23:00:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:00:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004231680001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:00:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 23:00:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:00:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:00:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785173081000,"timestamp_ms":1785173081000,"timestamp_seconds":1785173081,"priority":1,"record_length":96,"hex_timestamp":"0000019fa49b7ba8"} 
[2026-07-27 23:00:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:00:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 23:00:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-27 23:00:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:00:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:00:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:00:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:00:04] local.INFO: Teltonika packet parsed successfully {"connection_id":145640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:00:04] local.INFO: Passing IMEI to GPS processor {"connection_id":145640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:00:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":145640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:00:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:00:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 23:00:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 23:00:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004231680001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 23:00:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 23:00:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 23:00:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004231680001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:00:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 23:00:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 23:00:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:00:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 23:00:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004231680001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 23:00:04] local.INFO: DEBUG: GPS processor result {"connection_id":145640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555879,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:00:04] local.INFO: GPS data processed {"connection_id":145640,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:00:04] local.INFO: Acknowledgment sent {"connection_id":145640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:00:05] local.INFO: TCP Data received {"connection_id":144364,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:00:05] local.INFO: Processing buffer {"connection_id":144364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:00:05] local.INFO: IMEI packet received {"connection_id":144364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 23:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":144364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:00:06] local.INFO: TCP Data received {"connection_id":144364,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa49e13b8012d966f00060666d00017015f27..."} 
[2026-07-27 23:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa49e13b8012d966f00060666d00017015f27..."} 
[2026-07-27 23:00:06] local.INFO: Processing buffer {"connection_id":144364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa49e13b8012d966f00060666d00017015f27..."} 
[2026-07-27 23:00:06] local.INFO: Packet analysis {"connection_id":144364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa49e"} 
[2026-07-27 23:00:06] local.INFO: Extracted packet for processing {"connection_id":144364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa49e"} 
[2026-07-27 23:00:06] local.INFO: GPS Element Parsed {"raw_longitude":764833536,"raw_latitude":101082832,"longitude_deg":76.4833536,"latitude_deg":10.1082832,"altitude":23,"angle":351,"satellites":39,"speed":0,"hex_longitude":"2d966f00","hex_latitude":"060666d0","is_valid_coordinates":true} 
[2026-07-27 23: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-07-27 23:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004275200001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359474292930379776,"note":"Value kept but may cause issues"} 
[2026-07-27 23:00:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606861219728273408,"note":"Value kept but may cause issues"} 
[2026-07-27 23:00:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785173251000,"timestamp_ms":1785173251000,"timestamp_seconds":1785173251,"priority":1,"record_length":96,"hex_timestamp":"0000019fa49e13b8"} 
[2026-07-27 23:00:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:00:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 23:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-27 23:00:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23: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-07-27 23:00:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":144364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":144364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":144364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:00:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004275200001,"66":25778,"231":206,"79":48640,"24":0,"16":359474292930379776,"45":-7606861219728273408},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,79,24,16,45]} 
[2026-07-27 23:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004275200001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:00:06] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-07-27 23:00:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 23:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359474292930379776,"km_value":359474292930379.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:00:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606861219728273408,"description":"Unknown IO ID 45"} 
[2026-07-27 23:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004275200001,"power":25778,"unknown_231":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606861219728273408}} 
[2026-07-27 23:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":144364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:00:06] local.INFO: GPS data processed {"connection_id":144364,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:00:06] local.INFO: Acknowledgment sent {"connection_id":144364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:00:37] local.INFO: TCP Data received {"connection_id":145640,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4a01370012d196940071fee200041013123..."} 
[2026-07-27 23:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4a01370012d196940071fee200041013123..."} 
[2026-07-27 23:00:37] local.INFO: Processing buffer {"connection_id":145640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4a01370012d196940071fee200041013123..."} 
[2026-07-27 23:00:37] local.INFO: Packet analysis {"connection_id":145640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4a0"} 
[2026-07-27 23:00:37] local.INFO: Extracted packet for processing {"connection_id":145640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4a0"} 
[2026-07-27 23:00:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 23:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004308736001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 23:00:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:00:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785173382000,"timestamp_ms":1785173382000,"timestamp_seconds":1785173382,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4a01370"} 
[2026-07-27 23:00:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:00:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 23:00:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:00:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:00:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:00:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 23:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 23:00:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004308736001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 23:00:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 23:00:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 23:00:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004308736001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:00:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 23:00:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 23:00:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:00:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 23:00:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004308736001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 23:00:37] local.INFO: TCP Data received {"connection_id":144364,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa49e13b8012d966f00060666d00017015f27..."} 
[2026-07-27 23:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa49e13b8012d966f00060666d00017015f27..."} 
[2026-07-27 23:00:37] local.INFO: Processing buffer {"connection_id":144364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa49e13b8012d966f00060666d00017015f27..."} 
[2026-07-27 23:00:37] local.INFO: Packet analysis {"connection_id":144364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa49e"} 
[2026-07-27 23:00:37] local.INFO: Extracted packet for processing {"connection_id":144364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa49e"} 
[2026-07-27 23:00:37] local.INFO: GPS Element Parsed {"raw_longitude":764833536,"raw_latitude":101082832,"longitude_deg":76.4833536,"latitude_deg":10.1082832,"altitude":23,"angle":351,"satellites":39,"speed":0,"hex_longitude":"2d966f00","hex_latitude":"060666d0","is_valid_coordinates":true} 
[2026-07-27 23:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004275200001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359474292930379776,"note":"Value kept but may cause issues"} 
[2026-07-27 23:00:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606861219728273408,"note":"Value kept but may cause issues"} 
[2026-07-27 23:00:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785173251000,"timestamp_ms":1785173251000,"timestamp_seconds":1785173251,"priority":1,"record_length":96,"hex_timestamp":"0000019fa49e13b8"} 
[2026-07-27 23:00:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:00:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 23:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-27 23:00:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:00:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:00:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:00:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:00:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004275200001,"66":25778,"231":206,"79":48640,"24":0,"16":359474292930379776,"45":-7606861219728273408},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,79,24,16,45]} 
[2026-07-27 23:00:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:00:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:00:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004275200001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:00:37] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-07-27 23:00:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 23:00:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359474292930379776,"km_value":359474292930379.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:00:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606861219728273408,"description":"Unknown IO ID 45"} 
[2026-07-27 23:00:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004275200001,"power":25778,"unknown_231":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606861219728273408}} 
[2026-07-27 23:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":144364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:00:37] local.INFO: GPS data processed {"connection_id":144364,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:00:37] local.INFO: Acknowledgment sent {"connection_id":144364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":145640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555882,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:00:37] local.INFO: GPS data processed {"connection_id":145640,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:00:37] local.INFO: Acknowledgment sent {"connection_id":145640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:00:59] local.INFO: TCP Data received {"connection_id":143357,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143357,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:00:59] local.INFO: Processing buffer {"connection_id":143357,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:00:59] local.INFO: IMEI packet received {"connection_id":143357,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 23:00:59] local.INFO: IMEI acknowledgment sent {"connection_id":143357,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 23:01:04] local.INFO: TCP Data received {"connection_id":143357,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143357,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:01:04] local.INFO: Processing buffer {"connection_id":143357,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:01:04] local.INFO: IMEI packet received {"connection_id":143357,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 23:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":143357,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:01:05] local.INFO: TCP Data received {"connection_id":143358,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:01:05] local.INFO: Processing buffer {"connection_id":143358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:01:05] local.INFO: IMEI packet received {"connection_id":143358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 23:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":143358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 23:01:05] local.INFO: TCP Data received {"connection_id":143357,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4a01370012d196940071fee200041013123..."} 
[2026-07-27 23:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4a01370012d196940071fee200041013123..."} 
[2026-07-27 23:01:05] local.INFO: Processing buffer {"connection_id":143357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4a01370012d196940071fee200041013123..."} 
[2026-07-27 23:01:05] local.INFO: Packet analysis {"connection_id":143357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4a0"} 
[2026-07-27 23:01:05] local.INFO: Extracted packet for processing {"connection_id":143357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4a0"} 
[2026-07-27 23:01:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 23:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:01:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004308736001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:01:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 23:01:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:01:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:01:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785173382000,"timestamp_ms":1785173382000,"timestamp_seconds":1785173382,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4a01370"} 
[2026-07-27 23:01:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:01:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 23:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 23:01:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:01:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:01:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:01:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:01:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:01:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:01:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:01:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:01:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 23:01:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 23:01:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004308736001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 23:01:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 23:01:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 23:01:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004308736001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:01:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 23:01:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 23:01:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:01:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 23:01:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004308736001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 23:01:05] local.INFO: DEBUG: GPS processor result {"connection_id":143357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555883,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:01:05] local.INFO: GPS data processed {"connection_id":143357,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:01:05] local.INFO: Acknowledgment sent {"connection_id":143357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:01:10] local.INFO: TCP Data received {"connection_id":143358,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:01:10] local.INFO: Processing buffer {"connection_id":143358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:01:10] local.INFO: IMEI packet received {"connection_id":143358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 23:01:10] local.INFO: IMEI acknowledgment sent {"connection_id":143358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:01:11] local.INFO: TCP Data received {"connection_id":143358,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa49e13b8012d966f00060666d00017015f27..."} 
[2026-07-27 23:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143358,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa49e13b8012d966f00060666d00017015f27..."} 
[2026-07-27 23:01:11] local.INFO: Processing buffer {"connection_id":143358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa49e13b8012d966f00060666d00017015f27..."} 
[2026-07-27 23:01:11] local.INFO: Packet analysis {"connection_id":143358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa49e"} 
[2026-07-27 23:01:11] local.INFO: Extracted packet for processing {"connection_id":143358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa49e"} 
[2026-07-27 23:01:11] local.INFO: GPS Element Parsed {"raw_longitude":764833536,"raw_latitude":101082832,"longitude_deg":76.4833536,"latitude_deg":10.1082832,"altitude":23,"angle":351,"satellites":39,"speed":0,"hex_longitude":"2d966f00","hex_latitude":"060666d0","is_valid_coordinates":true} 
[2026-07-27 23:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:01:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004275200001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:01:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359474292930379776,"note":"Value kept but may cause issues"} 
[2026-07-27 23:01:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606861219728273408,"note":"Value kept but may cause issues"} 
[2026-07-27 23:01:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:01:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785173251000,"timestamp_ms":1785173251000,"timestamp_seconds":1785173251,"priority":1,"record_length":96,"hex_timestamp":"0000019fa49e13b8"} 
[2026-07-27 23:01:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:01:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 23:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-27 23:01:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:01:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:01:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:01:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:01:11] local.INFO: Teltonika packet parsed successfully {"connection_id":143358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:01:11] local.INFO: Passing IMEI to GPS processor {"connection_id":143358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:01:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":143358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:01: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-07-27 23:01:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:01:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:01:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004275200001,"66":25778,"231":206,"79":48640,"24":0,"16":359474292930379776,"45":-7606861219728273408},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,79,24,16,45]} 
[2026-07-27 23:01:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:01:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:01:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004275200001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:01:11] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-07-27 23:01:11] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 23:01:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359474292930379776,"km_value":359474292930379.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:01:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606861219728273408,"description":"Unknown IO ID 45"} 
[2026-07-27 23:01:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004275200001,"power":25778,"unknown_231":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606861219728273408}} 
[2026-07-27 23:01:11] local.INFO: DEBUG: GPS processor result {"connection_id":143358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:01:11] local.INFO: GPS data processed {"connection_id":143358,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:01:11] local.INFO: Acknowledgment sent {"connection_id":143358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:01:15] local.INFO: TCP Data received {"connection_id":143358,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019fa49e13b8012d966f00060666d00017015f27..."} 
[2026-07-27 23:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143358,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa49e13b8012d966f00060666d00017015f27..."} 
[2026-07-27 23:01:15] local.INFO: Processing buffer {"connection_id":143358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa49e13b8012d966f00060666d00017015f27..."} 
[2026-07-27 23:01:15] local.INFO: Packet analysis {"connection_id":143358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa49e"} 
[2026-07-27 23:01:15] local.INFO: Extracted packet for processing {"connection_id":143358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa49e"} 
[2026-07-27 23:01:15] local.INFO: GPS Element Parsed {"raw_longitude":764833536,"raw_latitude":101082832,"longitude_deg":76.4833536,"latitude_deg":10.1082832,"altitude":23,"angle":351,"satellites":39,"speed":0,"hex_longitude":"2d966f00","hex_latitude":"060666d0","is_valid_coordinates":true} 
[2026-07-27 23: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-07-27 23:01:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004275200001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:01:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359474292930379776,"note":"Value kept but may cause issues"} 
[2026-07-27 23:01:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606861219728273408,"note":"Value kept but may cause issues"} 
[2026-07-27 23:01:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:01:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785173251000,"timestamp_ms":1785173251000,"timestamp_seconds":1785173251,"priority":1,"record_length":96,"hex_timestamp":"0000019fa49e13b8"} 
[2026-07-27 23:01:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:01:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 23: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-27 23:01:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23: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-07-27 23:01:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:01:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:01:15] local.INFO: Teltonika packet parsed successfully {"connection_id":143358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:01:15] local.INFO: Passing IMEI to GPS processor {"connection_id":143358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:01:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":143358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:01: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-07-27 23:01:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:01:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:01:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004275200001,"66":25778,"231":206,"79":48640,"24":0,"16":359474292930379776,"45":-7606861219728273408},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,79,24,16,45]} 
[2026-07-27 23:01:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:01:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:01:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004275200001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:01:15] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-07-27 23:01:15] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 23:01:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359474292930379776,"km_value":359474292930379.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:01:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606861219728273408,"description":"Unknown IO ID 45"} 
[2026-07-27 23:01:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004275200001,"power":25778,"unknown_231":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606861219728273408}} 
[2026-07-27 23:01:15] local.INFO: DEBUG: GPS processor result {"connection_id":143358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:01:15] local.INFO: GPS data processed {"connection_id":143358,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:01:15] local.INFO: Acknowledgment sent {"connection_id":143358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:01:37] local.INFO: TCP Data received {"connection_id":143357,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4a01370012d196940071fee200041013123..."} 
[2026-07-27 23:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4a01370012d196940071fee200041013123..."} 
[2026-07-27 23:01:37] local.INFO: Processing buffer {"connection_id":143357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4a01370012d196940071fee200041013123..."} 
[2026-07-27 23:01:37] local.INFO: Packet analysis {"connection_id":143357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4a0"} 
[2026-07-27 23:01:37] local.INFO: Extracted packet for processing {"connection_id":143357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4a0"} 
[2026-07-27 23:01:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 23:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004308736001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 23:01:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:01:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785173382000,"timestamp_ms":1785173382000,"timestamp_seconds":1785173382,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4a01370"} 
[2026-07-27 23:01:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:01:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 23:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 23:01:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:01:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:01:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:01:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 23:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 23:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004308736001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 23:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 23:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 23:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004308736001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:01:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 23:01:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 23:01:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:01:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 23:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004308736001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 23:01:37] local.INFO: DEBUG: GPS processor result {"connection_id":143357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555886,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:01:37] local.INFO: GPS data processed {"connection_id":143357,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:01:37] local.INFO: Acknowledgment sent {"connection_id":143357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:01:59] local.INFO: TCP Data received {"connection_id":144365,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144365,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:01:59] local.INFO: Processing buffer {"connection_id":144365,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:01:59] local.INFO: IMEI packet received {"connection_id":144365,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 23:01:59] local.INFO: IMEI acknowledgment sent {"connection_id":144365,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 23:02:00] local.INFO: TCP Data received {"connection_id":144366,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:02:00] local.INFO: Processing buffer {"connection_id":144366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:02:00] local.INFO: IMEI packet received {"connection_id":144366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 23:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":144366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 23:02:04] local.INFO: TCP Data received {"connection_id":144365,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144365,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:02:04] local.INFO: Processing buffer {"connection_id":144365,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:02:04] local.INFO: IMEI packet received {"connection_id":144365,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 23:02:04] local.INFO: IMEI acknowledgment sent {"connection_id":144365,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:02:05] local.INFO: TCP Data received {"connection_id":144366,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:02:05] local.INFO: Processing buffer {"connection_id":144366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:02:05] local.INFO: IMEI packet received {"connection_id":144366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 23:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":144366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:02:05] local.INFO: TCP Data received {"connection_id":144365,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4a01370012d196940071fee200041013123..."} 
[2026-07-27 23:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4a01370012d196940071fee200041013123..."} 
[2026-07-27 23:02:05] local.INFO: Processing buffer {"connection_id":144365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4a01370012d196940071fee200041013123..."} 
[2026-07-27 23:02:05] local.INFO: Packet analysis {"connection_id":144365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4a0"} 
[2026-07-27 23:02:05] local.INFO: Extracted packet for processing {"connection_id":144365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4a0"} 
[2026-07-27 23:02:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 23:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:02:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004308736001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:02:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 23:02:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:02:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:02:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785173382000,"timestamp_ms":1785173382000,"timestamp_seconds":1785173382,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4a01370"} 
[2026-07-27 23:02:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:02:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 23:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 23:02:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:02:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:02:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:02:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:02:05] local.INFO: Teltonika packet parsed successfully {"connection_id":144365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:02:05] local.INFO: Passing IMEI to GPS processor {"connection_id":144365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:02:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":144365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:02:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:02:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 23:02:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 23:02:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004308736001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 23:02:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 23:02:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 23:02:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004308736001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:02:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 23:02:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 23:02:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:02:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 23:02:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004308736001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 23:02:05] local.INFO: DEBUG: GPS processor result {"connection_id":144365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555887,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:02:05] local.INFO: GPS data processed {"connection_id":144365,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:02:05] local.INFO: Acknowledgment sent {"connection_id":144365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:02:06] local.INFO: TCP Data received {"connection_id":144366,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa49e13b8012d966f00060666d00017015f27..."} 
[2026-07-27 23:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa49e13b8012d966f00060666d00017015f27..."} 
[2026-07-27 23:02:06] local.INFO: Processing buffer {"connection_id":144366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa49e13b8012d966f00060666d00017015f27..."} 
[2026-07-27 23:02:06] local.INFO: Packet analysis {"connection_id":144366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa49e"} 
[2026-07-27 23:02:06] local.INFO: Extracted packet for processing {"connection_id":144366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa49e"} 
[2026-07-27 23:02:06] local.INFO: GPS Element Parsed {"raw_longitude":764833536,"raw_latitude":101082832,"longitude_deg":76.4833536,"latitude_deg":10.1082832,"altitude":23,"angle":351,"satellites":39,"speed":0,"hex_longitude":"2d966f00","hex_latitude":"060666d0","is_valid_coordinates":true} 
[2026-07-27 23:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:02:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004275200001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:02:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359474292930379776,"note":"Value kept but may cause issues"} 
[2026-07-27 23:02:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606861219728273408,"note":"Value kept but may cause issues"} 
[2026-07-27 23:02:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:02:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785173251000,"timestamp_ms":1785173251000,"timestamp_seconds":1785173251,"priority":1,"record_length":96,"hex_timestamp":"0000019fa49e13b8"} 
[2026-07-27 23:02:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:02:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 23: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-27 23:02:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:02:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:02:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:02:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:02:06] local.INFO: Teltonika packet parsed successfully {"connection_id":144366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:02:06] local.INFO: Passing IMEI to GPS processor {"connection_id":144366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:02:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":144366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:02:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:02:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:02:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:02:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004275200001,"66":25778,"231":206,"79":48640,"24":0,"16":359474292930379776,"45":-7606861219728273408},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,79,24,16,45]} 
[2026-07-27 23:02:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:02:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:02:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004275200001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:02:06] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-07-27 23:02:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 23:02:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359474292930379776,"km_value":359474292930379.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:02:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606861219728273408,"description":"Unknown IO ID 45"} 
[2026-07-27 23:02:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004275200001,"power":25778,"unknown_231":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606861219728273408}} 
[2026-07-27 23:02:06] local.INFO: DEBUG: GPS processor result {"connection_id":144366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:02:06] local.INFO: GPS data processed {"connection_id":144366,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:02:06] local.INFO: Acknowledgment sent {"connection_id":144366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:02:37] local.INFO: TCP Data received {"connection_id":144365,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4a01370012d196940071fee200041013123..."} 
[2026-07-27 23:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4a01370012d196940071fee200041013123..."} 
[2026-07-27 23:02:37] local.INFO: Processing buffer {"connection_id":144365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4a01370012d196940071fee200041013123..."} 
[2026-07-27 23:02:37] local.INFO: Packet analysis {"connection_id":144365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4a0"} 
[2026-07-27 23:02:37] local.INFO: Extracted packet for processing {"connection_id":144365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4a0"} 
[2026-07-27 23:02:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 23:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004308736001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 23:02:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:02:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785173382000,"timestamp_ms":1785173382000,"timestamp_seconds":1785173382,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4a01370"} 
[2026-07-27 23:02:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:02:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 23:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 23:02:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:02:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:02:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:02:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 23:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 23:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004308736001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 23:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 23:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 23:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004308736001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:02:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 23:02:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 23:02:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:02:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 23:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004308736001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 23:02:37] local.INFO: DEBUG: GPS processor result {"connection_id":144365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555889,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:02:37] local.INFO: GPS data processed {"connection_id":144365,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:02:37] local.INFO: Acknowledgment sent {"connection_id":144365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:02:37] local.INFO: TCP Data received {"connection_id":144366,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019fa49e13b8012d966f00060666d00017015f27..."} 
[2026-07-27 23:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa49e13b8012d966f00060666d00017015f27..."} 
[2026-07-27 23:02:37] local.INFO: Processing buffer {"connection_id":144366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa49e13b8012d966f00060666d00017015f27..."} 
[2026-07-27 23:02:37] local.INFO: Packet analysis {"connection_id":144366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa49e"} 
[2026-07-27 23:02:37] local.INFO: Extracted packet for processing {"connection_id":144366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa49e"} 
[2026-07-27 23:02:37] local.INFO: GPS Element Parsed {"raw_longitude":764833536,"raw_latitude":101082832,"longitude_deg":76.4833536,"latitude_deg":10.1082832,"altitude":23,"angle":351,"satellites":39,"speed":0,"hex_longitude":"2d966f00","hex_latitude":"060666d0","is_valid_coordinates":true} 
[2026-07-27 23:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004275200001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359474292930379776,"note":"Value kept but may cause issues"} 
[2026-07-27 23:02:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606861219728273408,"note":"Value kept but may cause issues"} 
[2026-07-27 23:02:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785173251000,"timestamp_ms":1785173251000,"timestamp_seconds":1785173251,"priority":1,"record_length":96,"hex_timestamp":"0000019fa49e13b8"} 
[2026-07-27 23:02:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:02:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 23:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-27 23:02:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:02:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:02:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:02:37] 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-07-27 23:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004275200001,"66":25778,"231":206,"79":48640,"24":0,"16":359474292930379776,"45":-7606861219728273408},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,79,24,16,45]} 
[2026-07-27 23:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004275200001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:02:37] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-07-27 23:02:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 23:02:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359474292930379776,"km_value":359474292930379.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:02:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606861219728273408,"description":"Unknown IO ID 45"} 
[2026-07-27 23:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004275200001,"power":25778,"unknown_231":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606861219728273408}} 
[2026-07-27 23:02:37] local.INFO: DEBUG: GPS processor result {"connection_id":144366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:02:37] local.INFO: GPS data processed {"connection_id":144366,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:02:37] local.INFO: Acknowledgment sent {"connection_id":144366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:02:58] local.INFO: TCP Data received {"connection_id":144367,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144367,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:02:58] local.INFO: Processing buffer {"connection_id":144367,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:02:58] local.INFO: IMEI packet received {"connection_id":144367,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 23:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":144367,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 23:03:04] local.INFO: TCP Data received {"connection_id":144367,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144367,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:03:04] local.INFO: Processing buffer {"connection_id":144367,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:03:04] local.INFO: IMEI packet received {"connection_id":144367,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 23:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":144367,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:03:05] local.INFO: TCP Data received {"connection_id":144367,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4a01370012d196940071fee200041013123..."} 
[2026-07-27 23:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4a01370012d196940071fee200041013123..."} 
[2026-07-27 23:03:05] local.INFO: Processing buffer {"connection_id":144367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4a01370012d196940071fee200041013123..."} 
[2026-07-27 23:03:05] local.INFO: Packet analysis {"connection_id":144367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4a0"} 
[2026-07-27 23:03:05] local.INFO: Extracted packet for processing {"connection_id":144367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4a0"} 
[2026-07-27 23:03:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 23:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:03:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004308736001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:03:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 23:03:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:03:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:03:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785173382000,"timestamp_ms":1785173382000,"timestamp_seconds":1785173382,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4a01370"} 
[2026-07-27 23:03:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:03:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 23:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 23:03:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:03:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:03:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:03:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:03:05] local.INFO: Teltonika packet parsed successfully {"connection_id":144367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:03:05] local.INFO: Passing IMEI to GPS processor {"connection_id":144367,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:03:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":144367,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:03:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:03:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 23:03:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 23:03:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004308736001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 23:03:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 23:03:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 23:03:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004308736001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:03:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 23:03:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 23:03:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:03:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 23:03:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004308736001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 23:03:05] local.INFO: DEBUG: GPS processor result {"connection_id":144367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555891,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:03:05] local.INFO: GPS data processed {"connection_id":144367,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:03:05] local.INFO: Acknowledgment sent {"connection_id":144367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:03:07] local.INFO: TCP Data received {"connection_id":145641,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:03:07] local.INFO: Processing buffer {"connection_id":145641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:03:07] local.INFO: IMEI packet received {"connection_id":145641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 23:03:07] local.INFO: IMEI acknowledgment sent {"connection_id":145641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 23:03:10] local.INFO: TCP Data received {"connection_id":145641,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:03:10] local.INFO: Processing buffer {"connection_id":145641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:03:10] local.INFO: IMEI packet received {"connection_id":145641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 23:03:10] local.INFO: IMEI acknowledgment sent {"connection_id":145641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:03:15] local.INFO: TCP Data received {"connection_id":145641,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:03:15] local.INFO: Processing buffer {"connection_id":145641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:03:15] local.INFO: IMEI packet received {"connection_id":145641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 23:03:15] local.INFO: IMEI acknowledgment sent {"connection_id":145641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:03:16] local.INFO: TCP Data received {"connection_id":145641,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4a23650012d966f00060666d00017015f26..."} 
[2026-07-27 23:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4a23650012d966f00060666d00017015f26..."} 
[2026-07-27 23:03:16] local.INFO: Processing buffer {"connection_id":145641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4a23650012d966f00060666d00017015f26..."} 
[2026-07-27 23:03:16] local.INFO: Packet analysis {"connection_id":145641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4a2"} 
[2026-07-27 23:03:16] local.INFO: Extracted packet for processing {"connection_id":145641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4a2"} 
[2026-07-27 23:03:16] local.INFO: GPS Element Parsed {"raw_longitude":764833536,"raw_latitude":101082832,"longitude_deg":76.4833536,"latitude_deg":10.1082832,"altitude":23,"angle":351,"satellites":38,"speed":0,"hex_longitude":"2d966f00","hex_latitude":"060666d0","is_valid_coordinates":true} 
[2026-07-27 23:03:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:03:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004352256001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:03:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359474292930379776,"note":"Value kept but may cause issues"} 
[2026-07-27 23:03:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606861219728273408,"note":"Value kept but may cause issues"} 
[2026-07-27 23:03:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:03:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785173522000,"timestamp_ms":1785173522000,"timestamp_seconds":1785173522,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4a23650"} 
[2026-07-27 23:03:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:03:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 23: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-27 23:03:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23: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-07-27 23:03:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:03:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:03:16] local.INFO: Teltonika packet parsed successfully {"connection_id":145641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:03:16] local.INFO: Passing IMEI to GPS processor {"connection_id":145641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:03:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":145641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:03: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-07-27 23:03:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:03:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:03:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004352256001,"66":25647,"231":206,"79":48640,"24":0,"16":359474292930379776,"45":-7606861219728273408},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,79,24,16,45]} 
[2026-07-27 23:03:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:03:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:03:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004352256001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:03:16] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-07-27 23:03:16] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 23:03:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359474292930379776,"km_value":359474292930379.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:03:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606861219728273408,"description":"Unknown IO ID 45"} 
[2026-07-27 23:03:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004352256001,"power":25647,"unknown_231":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606861219728273408}} 
[2026-07-27 23:03:16] local.INFO: DEBUG: GPS processor result {"connection_id":145641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:03:16] local.INFO: GPS data processed {"connection_id":145641,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:03:16] local.INFO: Acknowledgment sent {"connection_id":145641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:03:37] local.INFO: TCP Data received {"connection_id":144367,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4a01370012d196940071fee200041013123..."} 
[2026-07-27 23:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4a01370012d196940071fee200041013123..."} 
[2026-07-27 23:03:37] local.INFO: Processing buffer {"connection_id":144367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4a01370012d196940071fee200041013123..."} 
[2026-07-27 23:03:37] local.INFO: Packet analysis {"connection_id":144367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4a0"} 
[2026-07-27 23:03:37] local.INFO: Extracted packet for processing {"connection_id":144367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4a0"} 
[2026-07-27 23:03:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 23:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:03:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004308736001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:03:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 23:03:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:03:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:03:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785173382000,"timestamp_ms":1785173382000,"timestamp_seconds":1785173382,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4a01370"} 
[2026-07-27 23:03:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:03:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 23:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 23:03:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:03:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:03:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:03:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:03:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:03:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144367,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:03:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144367,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:03:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:03:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 23:03:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 23:03:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004308736001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 23:03:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 23:03:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 23:03:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004308736001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:03:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 23:03:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 23:03:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:03:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 23:03:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004308736001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 23:03:37] local.INFO: DEBUG: GPS processor result {"connection_id":144367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555893,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:03:37] local.INFO: GPS data processed {"connection_id":144367,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:03:37] local.INFO: Acknowledgment sent {"connection_id":144367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:03:58] local.INFO: TCP Data received {"connection_id":143213,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143213,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:03:58] local.INFO: Processing buffer {"connection_id":143213,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:03:58] local.INFO: IMEI packet received {"connection_id":143213,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 23:03:58] local.INFO: IMEI acknowledgment sent {"connection_id":143213,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 23:03:59] local.INFO: TCP Data received {"connection_id":143214,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:03:59] local.INFO: Processing buffer {"connection_id":143214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:03:59] local.INFO: IMEI packet received {"connection_id":143214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 23:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":143214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 23:04:00] local.INFO: TCP Data received {"connection_id":143214,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:04:00] local.INFO: Processing buffer {"connection_id":143214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:04:00] local.INFO: IMEI packet received {"connection_id":143214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 23:04:00] local.INFO: IMEI acknowledgment sent {"connection_id":143214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:04:04] local.INFO: TCP Data received {"connection_id":143213,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143213,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:04:04] local.INFO: Processing buffer {"connection_id":143213,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:04:04] local.INFO: IMEI packet received {"connection_id":143213,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 23:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":143213,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:04:05] local.INFO: TCP Data received {"connection_id":143214,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:04:05] local.INFO: Processing buffer {"connection_id":143214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:04:05] local.INFO: IMEI packet received {"connection_id":143214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 23:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":143214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:04:05] local.INFO: TCP Data received {"connection_id":143213,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4a01370012d196940071fee200041013123..."} 
[2026-07-27 23:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143213,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4a01370012d196940071fee200041013123..."} 
[2026-07-27 23:04:05] local.INFO: Processing buffer {"connection_id":143213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4a01370012d196940071fee200041013123..."} 
[2026-07-27 23:04:05] local.INFO: Packet analysis {"connection_id":143213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4a0"} 
[2026-07-27 23:04:05] local.INFO: Extracted packet for processing {"connection_id":143213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4a0"} 
[2026-07-27 23:04:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 23:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:04:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004308736001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:04:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 23:04:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:04:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:04:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785173382000,"timestamp_ms":1785173382000,"timestamp_seconds":1785173382,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4a01370"} 
[2026-07-27 23:04:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:04:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 23:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 23:04:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:04:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:04:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:04:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:04:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:04:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143213,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:04:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143213,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:04:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:04:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 23:04:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 23:04:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004308736001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 23:04:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 23:04:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 23:04:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004308736001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:04:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 23:04:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 23:04:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:04:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 23:04:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004308736001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 23:04:05] local.INFO: DEBUG: GPS processor result {"connection_id":143213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555894,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:04:05] local.INFO: GPS data processed {"connection_id":143213,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:04:05] local.INFO: Acknowledgment sent {"connection_id":143213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:04:06] local.INFO: TCP Data received {"connection_id":143214,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4a24dc0012d966980060665e00017000e28..."} 
[2026-07-27 23:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4a24dc0012d966980060665e00017000e28..."} 
[2026-07-27 23:04:06] local.INFO: Processing buffer {"connection_id":143214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4a24dc0012d966980060665e00017000e28..."} 
[2026-07-27 23:04:06] local.INFO: Packet analysis {"connection_id":143214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4a2"} 
[2026-07-27 23:04:06] local.INFO: Extracted packet for processing {"connection_id":143214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4a2"} 
[2026-07-27 23:04:06] local.INFO: GPS Element Parsed {"raw_longitude":764832128,"raw_latitude":101082592,"longitude_deg":76.4832128,"latitude_deg":10.1082592,"altitude":23,"angle":14,"satellites":40,"speed":0,"hex_longitude":"2d966980","hex_latitude":"060665e0","is_valid_coordinates":true} 
[2026-07-27 23:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:04:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004421632001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:04:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359474292930379776,"note":"Value kept but may cause issues"} 
[2026-07-27 23:04:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606861219728273408,"note":"Value kept but may cause issues"} 
[2026-07-27 23:04:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:04:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785173528000,"timestamp_ms":1785173528000,"timestamp_seconds":1785173528,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4a24dc0"} 
[2026-07-27 23:04:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:04:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 23:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-27 23:04:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:04:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:04:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:04:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:04:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:04:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:04:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:04:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:04:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:04:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:04:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004421632001,"66":27604,"231":206,"79":48640,"24":0,"16":359474292930379776,"45":-7606861219728273408},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,79,24,16,45]} 
[2026-07-27 23:04:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:04:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:04:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004421632001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:04:06] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-07-27 23:04:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 23:04:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359474292930379776,"km_value":359474292930379.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:04:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606861219728273408,"description":"Unknown IO ID 45"} 
[2026-07-27 23:04:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004421632001,"power":27604,"unknown_231":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606861219728273408}} 
[2026-07-27 23:04:06] local.INFO: DEBUG: GPS processor result {"connection_id":143214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:04:06] local.INFO: GPS data processed {"connection_id":143214,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:04:06] local.INFO: Acknowledgment sent {"connection_id":143214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:04:37] local.INFO: TCP Data received {"connection_id":143213,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4a01370012d196940071fee200041013123..."} 
[2026-07-27 23:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143213,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4a01370012d196940071fee200041013123..."} 
[2026-07-27 23:04:37] local.INFO: Processing buffer {"connection_id":143213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4a01370012d196940071fee200041013123..."} 
[2026-07-27 23:04:37] local.INFO: Packet analysis {"connection_id":143213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4a0"} 
[2026-07-27 23:04:37] local.INFO: Extracted packet for processing {"connection_id":143213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4a0"} 
[2026-07-27 23:04:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 23:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:04:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004308736001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:04:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 23:04:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:04:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:04:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785173382000,"timestamp_ms":1785173382000,"timestamp_seconds":1785173382,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4a01370"} 
[2026-07-27 23:04:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:04:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 23:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 23:04:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:04:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:04:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:04:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:04:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:04:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143213,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:04:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143213,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:04:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:04:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 23:04:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 23:04:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004308736001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 23:04:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 23:04:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 23:04:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004308736001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:04:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 23:04:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 23:04:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:04:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 23:04:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004308736001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 23:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":143213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555896,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:04:37] local.INFO: GPS data processed {"connection_id":143213,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:04:37] local.INFO: Acknowledgment sent {"connection_id":143213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:04:37] local.INFO: TCP Data received {"connection_id":143214,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4a3cc90012d96930006067838001101512e..."} 
[2026-07-27 23:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4a3cc90012d96930006067838001101512e..."} 
[2026-07-27 23:04:37] local.INFO: Processing buffer {"connection_id":143214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4a3cc90012d96930006067838001101512e..."} 
[2026-07-27 23:04:37] local.INFO: Packet analysis {"connection_id":143214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4a3"} 
[2026-07-27 23:04:37] local.INFO: Extracted packet for processing {"connection_id":143214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4a3"} 
[2026-07-27 23:04:37] local.INFO: GPS Element Parsed {"raw_longitude":764842752,"raw_latitude":101087288,"longitude_deg":76.4842752,"latitude_deg":10.1087288,"altitude":17,"angle":337,"satellites":46,"speed":17,"hex_longitude":"2d969300","hex_latitude":"06067838","is_valid_coordinates":true} 
[2026-07-27 23:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:04:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004444672001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:04:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359475160513773568,"note":"Value kept but may cause issues"} 
[2026-07-27 23:04:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7595742958148272128,"note":"Value kept but may cause issues"} 
[2026-07-27 23:04:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:04:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785173626000,"timestamp_ms":1785173626000,"timestamp_seconds":1785173626,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4a3cc90"} 
[2026-07-27 23:04:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:04:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 23:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":213,"data_length":795,"current_offset":136} 
[2026-07-27 23:04:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2640,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:04:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:04:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:04:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:04:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:04:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:04:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:04:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:04:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:04:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:04:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004444672001,"66":27234,"254":206,"79":48640,"24":17,"16":359475160513773568,"45":-7595742958148272128},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,79,24,16,45]} 
[2026-07-27 23:04:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:04:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:04:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004444672001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:04:37] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-07-27 23:04:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 23:04:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359475160513773568,"km_value":359475160513773.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:04:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7595742958148272128,"description":"Unknown IO ID 45"} 
[2026-07-27 23:04:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004444672001,"power":27234,"unknown_254":206,"unknown_79":48640,"ignition":17,"odometer":null,"unknown_45":-7595742958148272128}} 
[2026-07-27 23:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":143214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:04:37] local.INFO: GPS data processed {"connection_id":143214,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:04:37] local.INFO: Acknowledgment sent {"connection_id":143214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:04:58] local.INFO: TCP Data received {"connection_id":143215,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143215,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:04:58] local.INFO: Processing buffer {"connection_id":143215,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:04:58] local.INFO: IMEI packet received {"connection_id":143215,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 23:04:58] local.INFO: IMEI acknowledgment sent {"connection_id":143215,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 23:05:00] local.INFO: TCP Data received {"connection_id":143359,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:05:00] local.INFO: Processing buffer {"connection_id":143359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:05:00] local.INFO: IMEI packet received {"connection_id":143359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 23:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":143359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 23:05:03] local.INFO: TCP Data received {"connection_id":143359,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:05:03] local.INFO: Processing buffer {"connection_id":143359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:05:03] local.INFO: IMEI packet received {"connection_id":143359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 23:05:03] local.INFO: IMEI acknowledgment sent {"connection_id":143359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:05:03] local.INFO: TCP Data received {"connection_id":143215,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143215,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:05:03] local.INFO: Processing buffer {"connection_id":143215,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:05:03] local.INFO: IMEI packet received {"connection_id":143215,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 23:05:03] local.INFO: IMEI acknowledgment sent {"connection_id":143215,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:05:04] local.INFO: TCP Data received {"connection_id":143215,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4a01370012d196940071fee200041013123..."} 
[2026-07-27 23:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143215,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4a01370012d196940071fee200041013123..."} 
[2026-07-27 23:05:04] local.INFO: Processing buffer {"connection_id":143215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4a01370012d196940071fee200041013123..."} 
[2026-07-27 23:05:04] local.INFO: Packet analysis {"connection_id":143215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4a0"} 
[2026-07-27 23:05:04] local.INFO: Extracted packet for processing {"connection_id":143215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4a0"} 
[2026-07-27 23:05:04] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 23:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:05:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004308736001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:05:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 23:05:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:05:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:05:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785173382000,"timestamp_ms":1785173382000,"timestamp_seconds":1785173382,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4a01370"} 
[2026-07-27 23:05:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:05:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 23:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 23:05:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:05:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:05:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:05:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:05:04] local.INFO: Teltonika packet parsed successfully {"connection_id":143215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:05:04] local.INFO: Passing IMEI to GPS processor {"connection_id":143215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:05:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":143215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:05:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:05:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 23:05:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 23:05:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004308736001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 23:05:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 23:05:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 23:05:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004308736001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:05:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 23:05:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 23:05:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:05:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 23:05:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004308736001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 23:05:04] local.INFO: DEBUG: GPS processor result {"connection_id":143215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555898,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:05:04] local.INFO: GPS data processed {"connection_id":143215,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:05:04] local.INFO: Acknowledgment sent {"connection_id":143215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:05:05] local.INFO: TCP Data received {"connection_id":143359,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:05:05] local.INFO: Processing buffer {"connection_id":143359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:05:05] local.INFO: IMEI packet received {"connection_id":143359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 23:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":143359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:05:07] local.INFO: TCP Data received {"connection_id":143359,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4a3d460012d96914006067b28001101412d..."} 
[2026-07-27 23:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4a3d460012d96914006067b28001101412d..."} 
[2026-07-27 23:05:07] local.INFO: Processing buffer {"connection_id":143359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4a3d460012d96914006067b28001101412d..."} 
[2026-07-27 23:05:07] local.INFO: Packet analysis {"connection_id":143359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4a3"} 
[2026-07-27 23:05:07] local.INFO: Extracted packet for processing {"connection_id":143359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4a3"} 
[2026-07-27 23:05:07] local.INFO: GPS Element Parsed {"raw_longitude":764842304,"raw_latitude":101088040,"longitude_deg":76.4842304,"latitude_deg":10.108804,"altitude":17,"angle":321,"satellites":45,"speed":17,"hex_longitude":"2d969140","hex_latitude":"06067b28","is_valid_coordinates":true} 
[2026-07-27 23:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:05:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004448256001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:05:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359475203463446528,"note":"Value kept but may cause issues"} 
[2026-07-27 23:05:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7596728120565549056,"note":"Value kept but may cause issues"} 
[2026-07-27 23:05:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:05:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785173628000,"timestamp_ms":1785173628000,"timestamp_seconds":1785173628,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4a3d460"} 
[2026-07-27 23:05:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:05:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 23: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-27 23:05:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:05:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:05:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:05:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:05:07] local.INFO: Teltonika packet parsed successfully {"connection_id":143359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:05:07] local.INFO: Passing IMEI to GPS processor {"connection_id":143359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:05:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":143359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:05:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:05:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:05:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:05:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004448256001,"66":27169,"254":206,"79":48640,"24":17,"16":359475203463446528,"45":-7596728120565549056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,79,24,16,45]} 
[2026-07-27 23:05:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:05:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:05:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004448256001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:05:07] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-07-27 23:05:07] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 23:05:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359475203463446528,"km_value":359475203463446.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:05:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7596728120565549056,"description":"Unknown IO ID 45"} 
[2026-07-27 23:05:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004448256001,"power":27169,"unknown_254":206,"unknown_79":48640,"ignition":17,"odometer":null,"unknown_45":-7596728120565549056}} 
[2026-07-27 23:05:07] local.INFO: DEBUG: GPS processor result {"connection_id":143359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:05:07] local.INFO: GPS data processed {"connection_id":143359,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:05:07] local.INFO: Acknowledgment sent {"connection_id":143359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:05:36] local.INFO: TCP Data received {"connection_id":143215,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4a4ab38012d196940071fee200041013124..."} 
[2026-07-27 23:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143215,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4a4ab38012d196940071fee200041013124..."} 
[2026-07-27 23:05:36] local.INFO: Processing buffer {"connection_id":143215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4a4ab38012d196940071fee200041013124..."} 
[2026-07-27 23:05:36] local.INFO: Packet analysis {"connection_id":143215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4a4"} 
[2026-07-27 23:05:36] local.INFO: Extracted packet for processing {"connection_id":143215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4a4"} 
[2026-07-27 23:05:36] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 23:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:05:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004385792001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:05:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 23:05:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:05:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:05:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785173683000,"timestamp_ms":1785173683000,"timestamp_seconds":1785173683,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4a4ab38"} 
[2026-07-27 23:05:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:05:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 23:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 23:05:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:05:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:05:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:05:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:05:36] local.INFO: Teltonika packet parsed successfully {"connection_id":143215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:05:36] local.INFO: Passing IMEI to GPS processor {"connection_id":143215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:05:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":143215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:05:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:05:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 23:05:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 23:05:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004385792001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 23:05:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 23:05:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 23:05:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004385792001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:05:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 23:05:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 23:05:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:05:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 23:05:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004385792001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 23:05:36] local.INFO: DEBUG: GPS processor result {"connection_id":143215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555900,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:05:36] local.INFO: GPS data processed {"connection_id":143215,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:05:36] local.INFO: Acknowledgment sent {"connection_id":143215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:05:39] local.INFO: TCP Data received {"connection_id":143359,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4a3e400012d968b8006068100001201362a..."} 
[2026-07-27 23:05:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4a3e400012d968b8006068100001201362a..."} 
[2026-07-27 23:05:39] local.INFO: Processing buffer {"connection_id":143359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4a3e400012d968b8006068100001201362a..."} 
[2026-07-27 23:05:39] local.INFO: Packet analysis {"connection_id":143359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4a3"} 
[2026-07-27 23:05:39] local.INFO: Extracted packet for processing {"connection_id":143359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4a3"} 
[2026-07-27 23:05:39] local.INFO: GPS Element Parsed {"raw_longitude":764840832,"raw_latitude":101089536,"longitude_deg":76.4840832,"latitude_deg":10.1089536,"altitude":18,"angle":310,"satellites":42,"speed":22,"hex_longitude":"2d968b80","hex_latitude":"06068100","is_valid_coordinates":true} 
[2026-07-27 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-07-27 23:05:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004448768001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:05:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359475302247694336,"note":"Value kept but may cause issues"} 
[2026-07-27 23:05:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7597220701774600192,"note":"Value kept but may cause issues"} 
[2026-07-27 23:05:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:05:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785173632000,"timestamp_ms":1785173632000,"timestamp_seconds":1785173632,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4a3e400"} 
[2026-07-27 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-07-27 23:05:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-27 23:05:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1025,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 23:05:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:05:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:05:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:05:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:05:39] 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-07-27 23:05:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:05:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:05:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004448768001,"66":27343,"254":206,"79":48640,"24":22,"16":359475302247694336,"45":-7597220701774600192},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,79,24,16,45]} 
[2026-07-27 23:05:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:05:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:05:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004448768001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:05:39] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-07-27 23:05:39] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 23:05:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359475302247694336,"km_value":359475302247694.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:05:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7597220701774600192,"description":"Unknown IO ID 45"} 
[2026-07-27 23:05:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004448768001,"power":27343,"unknown_254":206,"unknown_79":48640,"ignition":22,"odometer":null,"unknown_45":-7597220701774600192}} 
[2026-07-27 23:05:39] local.INFO: DEBUG: GPS processor result {"connection_id":143359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:05:39] local.INFO: GPS data processed {"connection_id":143359,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:05:39] local.INFO: Acknowledgment sent {"connection_id":143359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:05:59] local.INFO: TCP Data received {"connection_id":143360,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143360,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:05:59] local.INFO: Processing buffer {"connection_id":143360,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:05:59] local.INFO: IMEI packet received {"connection_id":143360,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 23:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":143360,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 23:06:04] local.INFO: TCP Data received {"connection_id":143360,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143360,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:06:04] local.INFO: Processing buffer {"connection_id":143360,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:06:04] local.INFO: IMEI packet received {"connection_id":143360,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 23:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":143360,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:06:05] local.INFO: TCP Data received {"connection_id":143360,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4a4ab38012d196940071fee200041013124..."} 
[2026-07-27 23:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4a4ab38012d196940071fee200041013124..."} 
[2026-07-27 23:06:05] local.INFO: Processing buffer {"connection_id":143360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4a4ab38012d196940071fee200041013124..."} 
[2026-07-27 23:06:05] local.INFO: Packet analysis {"connection_id":143360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4a4"} 
[2026-07-27 23:06:05] local.INFO: Extracted packet for processing {"connection_id":143360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4a4"} 
[2026-07-27 23:06:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 23:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:06:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004385792001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:06:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 23:06:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:06:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:06:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785173683000,"timestamp_ms":1785173683000,"timestamp_seconds":1785173683,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4a4ab38"} 
[2026-07-27 23:06:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:06:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 23:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 23:06:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:06:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:06:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:06:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:06:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:06:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143360,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:06:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143360,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:06:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:06:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 23:06:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 23:06:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004385792001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 23:06:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 23:06:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 23:06:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004385792001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:06:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 23:06:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 23:06:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:06:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 23:06:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004385792001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 23:06:05] local.INFO: DEBUG: GPS processor result {"connection_id":143360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555902,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:06:05] local.INFO: GPS data processed {"connection_id":143360,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:06:05] local.INFO: Acknowledgment sent {"connection_id":143360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:06:10] local.INFO: TCP Data received {"connection_id":145642,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:06:10] local.INFO: Processing buffer {"connection_id":145642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:06:10] local.INFO: IMEI packet received {"connection_id":145642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 23:06:10] local.INFO: IMEI acknowledgment sent {"connection_id":145642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 23:06:11] local.INFO: TCP Data received {"connection_id":145642,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:06:11] local.INFO: Processing buffer {"connection_id":145642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:06:11] local.INFO: IMEI packet received {"connection_id":145642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 23:06:11] local.INFO: IMEI acknowledgment sent {"connection_id":145642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:06:15] local.INFO: TCP Data received {"connection_id":145642,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:06:15] local.INFO: Processing buffer {"connection_id":145642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:06:15] local.INFO: IMEI packet received {"connection_id":145642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 23:06:15] local.INFO: IMEI acknowledgment sent {"connection_id":145642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:06:16] local.INFO: TCP Data received {"connection_id":145642,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4a40ef8012d96758006069638001201412b..."} 
[2026-07-27 23:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145642,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4a40ef8012d96758006069638001201412b..."} 
[2026-07-27 23:06:16] local.INFO: Processing buffer {"connection_id":145642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4a40ef8012d96758006069638001201412b..."} 
[2026-07-27 23:06:16] local.INFO: Packet analysis {"connection_id":145642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4a4"} 
[2026-07-27 23:06:16] local.INFO: Extracted packet for processing {"connection_id":145642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4a4"} 
[2026-07-27 23:06:16] local.INFO: GPS Element Parsed {"raw_longitude":764835200,"raw_latitude":101094968,"longitude_deg":76.48352,"latitude_deg":10.1094968,"altitude":18,"angle":321,"satellites":43,"speed":32,"hex_longitude":"2d967580","hex_latitude":"06069638","is_valid_coordinates":true} 
[2026-07-27 23: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-07-27 23:06:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004449792001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:06:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359475680204816384,"note":"Value kept but may cause issues"} 
[2026-07-27 23:06:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7598839182890303488,"note":"Value kept but may cause issues"} 
[2026-07-27 23:06:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:06:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785173643000,"timestamp_ms":1785173643000,"timestamp_seconds":1785173643,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4a40ef8"} 
[2026-07-27 23:06:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:06:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 23: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-27 23:06:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23: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-07-27 23:06:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:06:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:06:16] local.INFO: Teltonika packet parsed successfully {"connection_id":145642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:06:16] local.INFO: Passing IMEI to GPS processor {"connection_id":145642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:06:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":145642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:06: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-07-27 23:06:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:06:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:06:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004449792001,"66":27365,"254":206,"79":48640,"24":32,"16":359475680204816384,"45":-7598839182890303488},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,79,24,16,45]} 
[2026-07-27 23:06:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:06:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:06:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004449792001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:06:16] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-07-27 23:06:16] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 23:06:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359475680204816384,"km_value":359475680204816.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:06:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7598839182890303488,"description":"Unknown IO ID 45"} 
[2026-07-27 23:06:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004449792001,"power":27365,"unknown_254":206,"unknown_79":48640,"ignition":32,"odometer":null,"unknown_45":-7598839182890303488}} 
[2026-07-27 23:06:16] local.INFO: DEBUG: GPS processor result {"connection_id":145642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:06:16] local.INFO: GPS data processed {"connection_id":145642,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:06:16] local.INFO: Acknowledgment sent {"connection_id":145642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:06:17] local.INFO: TCP Data received {"connection_id":145642,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4a439f0012d965dc00606b1f80012013a2a..."} 
[2026-07-27 23:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145642,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4a439f0012d965dc00606b1f80012013a2a..."} 
[2026-07-27 23:06:17] local.INFO: Processing buffer {"connection_id":145642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4a439f0012d965dc00606b1f80012013a2a..."} 
[2026-07-27 23:06:17] local.INFO: Packet analysis {"connection_id":145642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4a4"} 
[2026-07-27 23:06:17] local.INFO: Extracted packet for processing {"connection_id":145642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4a4"} 
[2026-07-27 23:06:17] local.INFO: GPS Element Parsed {"raw_longitude":764829120,"raw_latitude":101102072,"longitude_deg":76.482912,"latitude_deg":10.1102072,"altitude":18,"angle":314,"satellites":42,"speed":34,"hex_longitude":"2d965dc0","hex_latitude":"0606b1f8","is_valid_coordinates":true} 
[2026-07-27 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-07-27 23:06:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004452608001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:06:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359476131176382464,"note":"Value kept but may cause issues"} 
[2026-07-27 23:06:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7605031632376547328,"note":"Value kept but may cause issues"} 
[2026-07-27 23:06:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:06:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785173654000,"timestamp_ms":1785173654000,"timestamp_seconds":1785173654,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4a439f0"} 
[2026-07-27 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-07-27 23:06:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-27 23:06:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 23:06:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:06:17] local.INFO: Teltonika packet parsed successfully {"connection_id":145642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:06:17] local.INFO: Passing IMEI to GPS processor {"connection_id":145642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:06:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":145642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:06:17] 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-07-27 23:06:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:06:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:06:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004452608001,"66":27332,"254":206,"79":48640,"24":34,"16":359476131176382464,"45":-7605031632376547328},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,79,24,16,45]} 
[2026-07-27 23:06:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:06:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:06:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004452608001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:06:17] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-07-27 23:06:17] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 23:06:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359476131176382464,"km_value":359476131176382.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:06:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7605031632376547328,"description":"Unknown IO ID 45"} 
[2026-07-27 23:06:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004452608001,"power":27332,"unknown_254":206,"unknown_79":48640,"ignition":34,"odometer":null,"unknown_45":-7605031632376547328}} 
[2026-07-27 23:06:17] local.INFO: DEBUG: GPS processor result {"connection_id":145642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:06:17] local.INFO: GPS data processed {"connection_id":145642,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:06:17] local.INFO: Acknowledgment sent {"connection_id":145642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:06:37] local.INFO: TCP Data received {"connection_id":143360,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4a4ab38012d196940071fee200041013124..."} 
[2026-07-27 23:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4a4ab38012d196940071fee200041013124..."} 
[2026-07-27 23:06:37] local.INFO: Processing buffer {"connection_id":143360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4a4ab38012d196940071fee200041013124..."} 
[2026-07-27 23:06:37] local.INFO: Packet analysis {"connection_id":143360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4a4"} 
[2026-07-27 23:06:37] local.INFO: Extracted packet for processing {"connection_id":143360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4a4"} 
[2026-07-27 23:06:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 23:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:06:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004385792001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:06:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 23:06:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:06:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:06:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785173683000,"timestamp_ms":1785173683000,"timestamp_seconds":1785173683,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4a4ab38"} 
[2026-07-27 23:06:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:06:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 23:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 23:06:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:06:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:06:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:06:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:06:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:06:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143360,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:06:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143360,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:06:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:06:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 23:06:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 23:06:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004385792001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 23:06:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 23:06:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 23:06:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004385792001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:06:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 23:06:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 23:06:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:06:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 23:06:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004385792001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 23:06:37] local.INFO: DEBUG: GPS processor result {"connection_id":143360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555905,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:06:37] local.INFO: GPS data processed {"connection_id":143360,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:06:37] local.INFO: Acknowledgment sent {"connection_id":143360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:06:58] local.INFO: TCP Data received {"connection_id":144368,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144368,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:06:58] local.INFO: Processing buffer {"connection_id":144368,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:06:58] local.INFO: IMEI packet received {"connection_id":144368,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 23:06:58] local.INFO: IMEI acknowledgment sent {"connection_id":144368,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 23:07:00] local.INFO: TCP Data received {"connection_id":144369,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:07:00] local.INFO: Processing buffer {"connection_id":144369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:07:00] local.INFO: IMEI packet received {"connection_id":144369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 23:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":144369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 23:07:05] local.INFO: TCP Data received {"connection_id":144369,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:07:05] local.INFO: Processing buffer {"connection_id":144369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:07:05] local.INFO: IMEI packet received {"connection_id":144369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 23:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":144369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:07:07] local.INFO: TCP Data received {"connection_id":144368,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144368,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:07:07] local.INFO: Processing buffer {"connection_id":144368,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:07:07] local.INFO: IMEI packet received {"connection_id":144368,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 23:07:07] local.INFO: IMEI acknowledgment sent {"connection_id":144368,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:07:07] local.INFO: TCP Data received {"connection_id":144369,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4a5a150012d95b7c0060760a8001d011c28..."} 
[2026-07-27 23:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4a5a150012d95b7c0060760a8001d011c28..."} 
[2026-07-27 23:07:07] local.INFO: Processing buffer {"connection_id":144369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4a5a150012d95b7c0060760a8001d011c28..."} 
[2026-07-27 23:07:07] local.INFO: Packet analysis {"connection_id":144369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4a5"} 
[2026-07-27 23:07:07] local.INFO: Extracted packet for processing {"connection_id":144369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4a5"} 
[2026-07-27 23:07:07] local.INFO: GPS Element Parsed {"raw_longitude":764786624,"raw_latitude":101146792,"longitude_deg":76.4786624,"latitude_deg":10.1146792,"altitude":29,"angle":284,"satellites":40,"speed":9,"hex_longitude":"2d95b7c0","hex_latitude":"060760a8","is_valid_coordinates":true} 
[2026-07-27 23:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:07:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004478720001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:07:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359479129063555072,"note":"Value kept but may cause issues"} 
[2026-07-27 23:07:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7658230402961620992,"note":"Value kept but may cause issues"} 
[2026-07-27 23:07:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:07:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785173746000,"timestamp_ms":1785173746000,"timestamp_seconds":1785173746,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4a5a150"} 
[2026-07-27 23:07:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:07:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 23:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-27 23:07:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:07:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:07:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:07:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:07:07] local.INFO: Teltonika packet parsed successfully {"connection_id":144369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:07:07] local.INFO: Passing IMEI to GPS processor {"connection_id":144369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:07:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":144369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:07:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:07:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:07:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:07:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004478720001,"66":27376,"162":206,"79":48640,"24":9,"16":359479129063555072,"45":-7658230402961620992},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,79,24,16,45]} 
[2026-07-27 23:07:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:07:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:07:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004478720001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:07:07] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-07-27 23:07:07] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 23:07:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359479129063555072,"km_value":359479129063555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:07:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7658230402961620992,"description":"Unknown IO ID 45"} 
[2026-07-27 23:07:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004478720001,"power":27376,"unknown_162":206,"unknown_79":48640,"ignition":9,"odometer":null,"unknown_45":-7658230402961620992}} 
[2026-07-27 23:07:07] local.INFO: DEBUG: GPS processor result {"connection_id":144369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:07:07] local.INFO: GPS data processed {"connection_id":144369,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:07:07] local.INFO: Acknowledgment sent {"connection_id":144369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:07:08] local.INFO: TCP Data received {"connection_id":144368,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4a4ab38012d196940071fee200041013124..."} 
[2026-07-27 23:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4a4ab38012d196940071fee200041013124..."} 
[2026-07-27 23:07:08] local.INFO: Processing buffer {"connection_id":144368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4a4ab38012d196940071fee200041013124..."} 
[2026-07-27 23:07:08] local.INFO: Packet analysis {"connection_id":144368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4a4"} 
[2026-07-27 23:07:08] local.INFO: Extracted packet for processing {"connection_id":144368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4a4"} 
[2026-07-27 23:07:08] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 23:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:07:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004385792001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:07:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 23:07:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:07:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:07:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785173683000,"timestamp_ms":1785173683000,"timestamp_seconds":1785173683,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4a4ab38"} 
[2026-07-27 23:07:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:07:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 23:07:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:07:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:07:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:07:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:07:08] local.INFO: Teltonika packet parsed successfully {"connection_id":144368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:07:08] local.INFO: Passing IMEI to GPS processor {"connection_id":144368,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:07:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":144368,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:07:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:07:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 23:07:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 23:07:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004385792001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 23:07:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 23:07:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 23:07:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004385792001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:07:08] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 23:07:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 23:07:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:07:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 23:07:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004385792001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 23:07:08] local.INFO: DEBUG: GPS processor result {"connection_id":144368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555907,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:07:08] local.INFO: GPS data processed {"connection_id":144368,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:07:08] local.INFO: Acknowledgment sent {"connection_id":144368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:07:38] local.INFO: TCP Data received {"connection_id":144369,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4a5a538012d95b680060760d8001d011028..."} 
[2026-07-27 23:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4a5a538012d95b680060760d8001d011028..."} 
[2026-07-27 23:07:38] local.INFO: Processing buffer {"connection_id":144369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4a5a538012d95b680060760d8001d011028..."} 
[2026-07-27 23:07:38] local.INFO: Packet analysis {"connection_id":144369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4a5"} 
[2026-07-27 23:07:38] local.INFO: Extracted packet for processing {"connection_id":144369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4a5"} 
[2026-07-27 23:07:38] local.INFO: GPS Element Parsed {"raw_longitude":764786304,"raw_latitude":101146840,"longitude_deg":76.4786304,"latitude_deg":10.114684,"altitude":29,"angle":272,"satellites":40,"speed":10,"hex_longitude":"2d95b680","hex_latitude":"060760d8","is_valid_coordinates":true} 
[2026-07-27 23:07:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:07:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004478976001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:07:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359479141948456960,"note":"Value kept but may cause issues"} 
[2026-07-27 23:07:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7658441509194127360,"note":"Value kept but may cause issues"} 
[2026-07-27 23:07:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:07:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785173747000,"timestamp_ms":1785173747000,"timestamp_seconds":1785173747,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4a5a538"} 
[2026-07-27 23:07:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:07:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 23:07:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-27 23:07:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:07:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:07:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:07:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:07:38] local.INFO: Teltonika packet parsed successfully {"connection_id":144369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:07:38] local.INFO: Passing IMEI to GPS processor {"connection_id":144369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:07:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":144369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:07:38] 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-07-27 23:07:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:07:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:07:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004478976001,"66":27332,"162":206,"79":48640,"24":10,"16":359479141948456960,"45":-7658441509194127360},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,79,24,16,45]} 
[2026-07-27 23:07:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:07:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:07:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004478976001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:07:38] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-07-27 23:07:38] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 23:07:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359479141948456960,"km_value":359479141948456.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:07:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7658441509194127360,"description":"Unknown IO ID 45"} 
[2026-07-27 23:07:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004478976001,"power":27332,"unknown_162":206,"unknown_79":48640,"ignition":10,"odometer":null,"unknown_45":-7658441509194127360}} 
[2026-07-27 23:07:38] local.INFO: DEBUG: GPS processor result {"connection_id":144369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:07:38] local.INFO: GPS data processed {"connection_id":144369,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:07:38] local.INFO: Acknowledgment sent {"connection_id":144369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:07:39] local.INFO: TCP Data received {"connection_id":144368,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4a4ab38012d196940071fee200041013124..."} 
[2026-07-27 23:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4a4ab38012d196940071fee200041013124..."} 
[2026-07-27 23:07:39] local.INFO: Processing buffer {"connection_id":144368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4a4ab38012d196940071fee200041013124..."} 
[2026-07-27 23:07:39] local.INFO: Packet analysis {"connection_id":144368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4a4"} 
[2026-07-27 23:07:39] local.INFO: Extracted packet for processing {"connection_id":144368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4a4"} 
[2026-07-27 23:07:39] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 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-07-27 23:07:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004385792001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:07:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 23:07:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:07:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:07:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785173683000,"timestamp_ms":1785173683000,"timestamp_seconds":1785173683,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4a4ab38"} 
[2026-07-27 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-07-27 23:07:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 23:07:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 23:07:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:07:39] local.INFO: Teltonika packet parsed successfully {"connection_id":144368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:07:39] local.INFO: Passing IMEI to GPS processor {"connection_id":144368,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:07:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":144368,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:07:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:07:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 23:07:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 23:07:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004385792001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 23:07:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 23:07:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 23:07:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004385792001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:07:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 23:07:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 23:07:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:07:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 23:07:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004385792001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 23:07:40] local.INFO: DEBUG: GPS processor result {"connection_id":144368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555909,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:07:40] local.INFO: GPS data processed {"connection_id":144368,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:07:40] local.INFO: Acknowledgment sent {"connection_id":144368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:07:58] local.INFO: TCP Data received {"connection_id":143216,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143216,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:07:58] local.INFO: Processing buffer {"connection_id":143216,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:07:58] local.INFO: IMEI packet received {"connection_id":143216,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 23:07:58] local.INFO: IMEI acknowledgment sent {"connection_id":143216,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 23:07:59] local.INFO: TCP Data received {"connection_id":143217,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:07:59] local.INFO: Processing buffer {"connection_id":143217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:07:59] local.INFO: IMEI packet received {"connection_id":143217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 23:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":143217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 23:08:00] local.INFO: TCP Data received {"connection_id":143217,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:08:00] local.INFO: Processing buffer {"connection_id":143217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:08:00] local.INFO: IMEI packet received {"connection_id":143217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 23:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":143217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:08:04] local.INFO: TCP Data received {"connection_id":143216,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143216,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:08:04] local.INFO: Processing buffer {"connection_id":143216,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:08:04] local.INFO: IMEI packet received {"connection_id":143216,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 23:08:04] local.INFO: IMEI acknowledgment sent {"connection_id":143216,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:08:05] local.INFO: TCP Data received {"connection_id":143217,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:08:05] local.INFO: Processing buffer {"connection_id":143217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:08:05] local.INFO: IMEI packet received {"connection_id":143217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 23:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":143217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:08:05] local.INFO: TCP Data received {"connection_id":143216,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4a4ab38012d196940071fee200041013124..."} 
[2026-07-27 23:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4a4ab38012d196940071fee200041013124..."} 
[2026-07-27 23:08:05] local.INFO: Processing buffer {"connection_id":143216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4a4ab38012d196940071fee200041013124..."} 
[2026-07-27 23:08:05] local.INFO: Packet analysis {"connection_id":143216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4a4"} 
[2026-07-27 23:08:05] local.INFO: Extracted packet for processing {"connection_id":143216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4a4"} 
[2026-07-27 23:08:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 23:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:08:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004385792001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:08:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 23:08:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:08:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:08:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785173683000,"timestamp_ms":1785173683000,"timestamp_seconds":1785173683,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4a4ab38"} 
[2026-07-27 23:08:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:08:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 23:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 23:08:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:08:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:08:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:08:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:08:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:08:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:08:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:08:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:08:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 23:08:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 23:08:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004385792001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 23:08:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 23:08:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 23:08:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004385792001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:08:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 23:08:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 23:08:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:08:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 23:08:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004385792001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 23:08:05] local.INFO: DEBUG: GPS processor result {"connection_id":143216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555910,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:08:05] local.INFO: GPS data processed {"connection_id":143216,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:08:05] local.INFO: Acknowledgment sent {"connection_id":143216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:08:06] local.INFO: TCP Data received {"connection_id":143217,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4a5ad08012d95b480060760a8001c010428..."} 
[2026-07-27 23:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143217,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4a5ad08012d95b480060760a8001c010428..."} 
[2026-07-27 23:08:06] local.INFO: Processing buffer {"connection_id":143217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4a5ad08012d95b480060760a8001c010428..."} 
[2026-07-27 23:08:06] local.INFO: Packet analysis {"connection_id":143217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4a5"} 
[2026-07-27 23:08:06] local.INFO: Extracted packet for processing {"connection_id":143217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4a5"} 
[2026-07-27 23:08:06] local.INFO: GPS Element Parsed {"raw_longitude":764785792,"raw_latitude":101146792,"longitude_deg":76.4785792,"latitude_deg":10.1146792,"altitude":28,"angle":260,"satellites":40,"speed":10,"hex_longitude":"2d95b480","hex_latitude":"060760a8","is_valid_coordinates":true} 
[2026-07-27 23:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:08:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004479232001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:08:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359479167718260736,"note":"Value kept but may cause issues"} 
[2026-07-27 23:08:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7658793352915003392,"note":"Value kept but may cause issues"} 
[2026-07-27 23:08:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:08:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785173749000,"timestamp_ms":1785173749000,"timestamp_seconds":1785173749,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4a5ad08"} 
[2026-07-27 23:08:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:08:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 23:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-27 23:08:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:08:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:08:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:08:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:08:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:08:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:08:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:08:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:08:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:08:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:08:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004479232001,"66":27332,"162":206,"79":48640,"24":10,"16":359479167718260736,"45":-7658793352915003392},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,79,24,16,45]} 
[2026-07-27 23:08:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:08:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:08:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004479232001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:08:06] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-07-27 23:08:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 23:08:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359479167718260736,"km_value":359479167718260.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:08:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7658793352915003392,"description":"Unknown IO ID 45"} 
[2026-07-27 23:08:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004479232001,"power":27332,"unknown_162":206,"unknown_79":48640,"ignition":10,"odometer":null,"unknown_45":-7658793352915003392}} 
[2026-07-27 23:08:06] local.INFO: DEBUG: GPS processor result {"connection_id":143217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:08:06] local.INFO: GPS data processed {"connection_id":143217,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:08:06] local.INFO: Acknowledgment sent {"connection_id":143217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:08:37] local.INFO: TCP Data received {"connection_id":143216,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4a4ab38012d196940071fee200041013124..."} 
[2026-07-27 23:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4a4ab38012d196940071fee200041013124..."} 
[2026-07-27 23:08:37] local.INFO: Processing buffer {"connection_id":143216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4a4ab38012d196940071fee200041013124..."} 
[2026-07-27 23:08:37] local.INFO: Packet analysis {"connection_id":143216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4a4"} 
[2026-07-27 23:08:37] local.INFO: Extracted packet for processing {"connection_id":143216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4a4"} 
[2026-07-27 23:08:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 23:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:08:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004385792001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:08:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 23:08:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:08:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:08:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785173683000,"timestamp_ms":1785173683000,"timestamp_seconds":1785173683,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4a4ab38"} 
[2026-07-27 23:08:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:08:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 23:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 23:08:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:08:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:08:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:08:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:08:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:08:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:08:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:08:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:08:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 23:08:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 23:08:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004385792001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 23:08:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 23:08:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 23:08:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004385792001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:08:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 23:08:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 23:08:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:08:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 23:08:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004385792001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 23:08:37] local.INFO: DEBUG: GPS processor result {"connection_id":143216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555912,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:08:37] local.INFO: GPS data processed {"connection_id":143216,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:08:37] local.INFO: Acknowledgment sent {"connection_id":143216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:08:38] local.INFO: TCP Data received {"connection_id":143217,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4a5ff10012d95af4006076060001c01072c..."} 
[2026-07-27 23:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143217,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4a5ff10012d95af4006076060001c01072c..."} 
[2026-07-27 23:08:38] local.INFO: Processing buffer {"connection_id":143217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4a5ff10012d95af4006076060001c01072c..."} 
[2026-07-27 23:08:38] local.INFO: Packet analysis {"connection_id":143217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4a5"} 
[2026-07-27 23:08:38] local.INFO: Extracted packet for processing {"connection_id":143217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4a5"} 
[2026-07-27 23:08:38] local.INFO: GPS Element Parsed {"raw_longitude":764784448,"raw_latitude":101146720,"longitude_deg":76.4784448,"latitude_deg":10.114672,"altitude":28,"angle":263,"satellites":44,"speed":0,"hex_longitude":"2d95af40","hex_latitude":"06076060","is_valid_coordinates":true} 
[2026-07-27 23:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:08:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004479744001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:08:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359479232142770176,"note":"Value kept but may cause issues"} 
[2026-07-27 23:08:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7659356302868436992,"note":"Value kept but may cause issues"} 
[2026-07-27 23:08:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:08:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785173770000,"timestamp_ms":1785173770000,"timestamp_seconds":1785173770,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4a5ff10"} 
[2026-07-27 23:08:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:08:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 23:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-27 23:08:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:08:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:08:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:08:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:08:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:08:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:08:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:08:38] 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-07-27 23:08:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:08:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:08:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004479744001,"66":27310,"162":206,"79":48640,"24":0,"16":359479232142770176,"45":-7659356302868436992},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,79,24,16,45]} 
[2026-07-27 23:08:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:08:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:08:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004479744001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:08:38] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-07-27 23:08:38] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 23:08:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359479232142770176,"km_value":359479232142770.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:08:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7659356302868436992,"description":"Unknown IO ID 45"} 
[2026-07-27 23:08:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004479744001,"power":27310,"unknown_162":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7659356302868436992}} 
[2026-07-27 23:08:38] local.INFO: DEBUG: GPS processor result {"connection_id":143217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:08:38] local.INFO: GPS data processed {"connection_id":143217,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:08:38] local.INFO: Acknowledgment sent {"connection_id":143217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:08:58] local.INFO: TCP Data received {"connection_id":143361,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143361,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:08:58] local.INFO: Processing buffer {"connection_id":143361,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:08:58] local.INFO: IMEI packet received {"connection_id":143361,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 23:08:58] local.INFO: IMEI acknowledgment sent {"connection_id":143361,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 23:09:01] local.INFO: TCP Data received {"connection_id":143218,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:09:01] local.INFO: Processing buffer {"connection_id":143218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:09:01] local.INFO: IMEI packet received {"connection_id":143218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 23:09:01] local.INFO: IMEI acknowledgment sent {"connection_id":143218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 23:09:04] local.INFO: TCP Data received {"connection_id":143361,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143361,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:09:04] local.INFO: Processing buffer {"connection_id":143361,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:09:04] local.INFO: IMEI packet received {"connection_id":143361,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 23:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":143361,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:09:05] local.INFO: TCP Data received {"connection_id":143218,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:09:05] local.INFO: Processing buffer {"connection_id":143218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:09:05] local.INFO: IMEI packet received {"connection_id":143218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 23:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":143218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:09:09] local.INFO: TCP Data received {"connection_id":143361,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4a4ab38012d196940071fee200041013124..."} 
[2026-07-27 23:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143361,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4a4ab38012d196940071fee200041013124..."} 
[2026-07-27 23:09:09] local.INFO: Processing buffer {"connection_id":143361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4a4ab38012d196940071fee200041013124..."} 
[2026-07-27 23:09:09] local.INFO: Packet analysis {"connection_id":143361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4a4"} 
[2026-07-27 23:09:09] local.INFO: Extracted packet for processing {"connection_id":143361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4a4"} 
[2026-07-27 23:09:09] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 23:09:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:09:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004385792001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:09:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 23:09:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:09:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:09:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785173683000,"timestamp_ms":1785173683000,"timestamp_seconds":1785173683,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4a4ab38"} 
[2026-07-27 23:09:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:09:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 23:09:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:09:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:09:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:09:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:09:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:09:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143361,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:09:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143361,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:09:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:09:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 23:09:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 23:09:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004385792001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 23:09:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 23:09:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 23:09:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004385792001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:09:09] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 23:09:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 23:09:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:09:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 23:09:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004385792001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 23:09:09] local.INFO: DEBUG: GPS processor result {"connection_id":143361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555914,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:09:09] local.INFO: GPS data processed {"connection_id":143361,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:09:09] local.INFO: Acknowledgment sent {"connection_id":143361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:09:09] local.INFO: TCP Data received {"connection_id":143218,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:09:09] local.INFO: Processing buffer {"connection_id":143218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:09:09] local.INFO: IMEI packet received {"connection_id":143218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 23:09:09] local.INFO: IMEI acknowledgment sent {"connection_id":143218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:09:10] local.INFO: TCP Data received {"connection_id":143218,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4a7b0a8012d95048006083720001a014928..."} 
[2026-07-27 23:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143218,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4a7b0a8012d95048006083720001a014928..."} 
[2026-07-27 23:09:10] local.INFO: Processing buffer {"connection_id":143218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4a7b0a8012d95048006083720001a014928..."} 
[2026-07-27 23:09:10] local.INFO: Packet analysis {"connection_id":143218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4a7"} 
[2026-07-27 23:09:10] local.INFO: Extracted packet for processing {"connection_id":143218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4a7"} 
[2026-07-27 23:09:10] local.INFO: GPS Element Parsed {"raw_longitude":764740736,"raw_latitude":101201696,"longitude_deg":76.4740736,"latitude_deg":10.1201696,"altitude":26,"angle":329,"satellites":40,"speed":44,"hex_longitude":"2d950480","hex_latitude":"06083720","is_valid_coordinates":true} 
[2026-07-27 23:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:09:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004511232001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:09:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359482754015952896,"note":"Value kept but may cause issues"} 
[2026-07-27 23:09:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7703477505455876096,"note":"Value kept but may cause issues"} 
[2026-07-27 23:09:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:09:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785173881000,"timestamp_ms":1785173881000,"timestamp_seconds":1785173881,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4a7b0a8"} 
[2026-07-27 23:09:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:09:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 23: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-27 23:09:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:09:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:09:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:09:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:09:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:09:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:09:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23: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-07-27 23:09:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:09:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:09:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004511232001,"66":27365,"36":206,"79":48640,"24":44,"16":359482754015952896,"45":-7703477505455876096},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,79,24,16,45]} 
[2026-07-27 23:09:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:09:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:09:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004511232001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:09:10] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-07-27 23:09:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 23:09:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359482754015952896,"km_value":359482754015952.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:09:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7703477505455876096,"description":"Unknown IO ID 45"} 
[2026-07-27 23:09:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004511232001,"power":27365,"unknown_36":206,"unknown_79":48640,"ignition":44,"odometer":null,"unknown_45":-7703477505455876096}} 
[2026-07-27 23:09:10] local.INFO: DEBUG: GPS processor result {"connection_id":143218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:09:10] local.INFO: GPS data processed {"connection_id":143218,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:09:10] local.INFO: Acknowledgment sent {"connection_id":143218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:09:11] local.INFO: TCP Data received {"connection_id":143218,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4a7cfe8012d94f300060856d80018014e2a..."} 
[2026-07-27 23:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143218,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4a7cfe8012d94f300060856d80018014e2a..."} 
[2026-07-27 23:09:11] local.INFO: Processing buffer {"connection_id":143218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4a7cfe8012d94f300060856d80018014e2a..."} 
[2026-07-27 23:09:11] local.INFO: Packet analysis {"connection_id":143218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4a7"} 
[2026-07-27 23:09:11] local.INFO: Extracted packet for processing {"connection_id":143218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4a7"} 
[2026-07-27 23:09:11] local.INFO: GPS Element Parsed {"raw_longitude":764736256,"raw_latitude":101209816,"longitude_deg":76.4736256,"latitude_deg":10.1209816,"altitude":24,"angle":334,"satellites":42,"speed":47,"hex_longitude":"2d94f300","hex_latitude":"060856d8","is_valid_coordinates":true} 
[2026-07-27 23: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-07-27 23:09:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004513536001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:09:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359483200692551680,"note":"Value kept but may cause issues"} 
[2026-07-27 23:09:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7708895898755457024,"note":"Value kept but may cause issues"} 
[2026-07-27 23:09:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:09:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785173889000,"timestamp_ms":1785173889000,"timestamp_seconds":1785173889,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4a7cfe8"} 
[2026-07-27 23:09:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:09:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 23: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-27 23:09:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23: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-07-27 23:09:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:09:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:09:11] local.INFO: Teltonika packet parsed successfully {"connection_id":143218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:09:11] local.INFO: Passing IMEI to GPS processor {"connection_id":143218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:09:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":143218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23: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-07-27 23:09:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:09:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:09:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004513536001,"66":27343,"36":206,"79":48640,"24":47,"16":359483200692551680,"45":-7708895898755457024},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,79,24,16,45]} 
[2026-07-27 23:09:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:09:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:09:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004513536001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:09:11] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-07-27 23:09:11] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 23:09:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359483200692551680,"km_value":359483200692551.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:09:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7708895898755457024,"description":"Unknown IO ID 45"} 
[2026-07-27 23:09:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004513536001,"power":27343,"unknown_36":206,"unknown_79":48640,"ignition":47,"odometer":null,"unknown_45":-7708895898755457024}} 
[2026-07-27 23:09:11] local.INFO: DEBUG: GPS processor result {"connection_id":143218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:09:11] local.INFO: GPS data processed {"connection_id":143218,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:09:11] local.INFO: Acknowledgment sent {"connection_id":143218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:09:40] local.INFO: TCP Data received {"connection_id":143361,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4a4ab38012d196940071fee200041013124..."} 
[2026-07-27 23:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143361,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4a4ab38012d196940071fee200041013124..."} 
[2026-07-27 23:09:40] local.INFO: Processing buffer {"connection_id":143361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4a4ab38012d196940071fee200041013124..."} 
[2026-07-27 23:09:40] local.INFO: Packet analysis {"connection_id":143361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4a4"} 
[2026-07-27 23:09:40] local.INFO: Extracted packet for processing {"connection_id":143361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4a4"} 
[2026-07-27 23:09:40] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 23: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-07-27 23:09:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004385792001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:09:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 23:09:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:09:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:09:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785173683000,"timestamp_ms":1785173683000,"timestamp_seconds":1785173683,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4a4ab38"} 
[2026-07-27 23:09:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:09:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 23:09:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23: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-07-27 23:09:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:09:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:09:40] local.INFO: Teltonika packet parsed successfully {"connection_id":143361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:09:40] local.INFO: Passing IMEI to GPS processor {"connection_id":143361,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:09:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":143361,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:09:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:09:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 23:09:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 23:09:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004385792001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 23:09:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 23:09:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 23:09:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004385792001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:09:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 23:09:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 23:09:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:09:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 23:09:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004385792001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 23:09:40] local.INFO: DEBUG: GPS processor result {"connection_id":143361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555917,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:09:40] local.INFO: GPS data processed {"connection_id":143361,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:09:40] local.INFO: Acknowledgment sent {"connection_id":143361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:09:42] local.INFO: TCP Data received {"connection_id":143218,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4a7e370012d94eb8006086c180017015d29..."} 
[2026-07-27 23:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143218,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4a7e370012d94eb8006086c180017015d29..."} 
[2026-07-27 23:09:42] local.INFO: Processing buffer {"connection_id":143218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4a7e370012d94eb8006086c180017015d29..."} 
[2026-07-27 23:09:42] local.INFO: Packet analysis {"connection_id":143218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4a7"} 
[2026-07-27 23:09:42] local.INFO: Extracted packet for processing {"connection_id":143218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4a7"} 
[2026-07-27 23:09:42] local.INFO: GPS Element Parsed {"raw_longitude":764734336,"raw_latitude":101215256,"longitude_deg":76.4734336,"latitude_deg":10.1215256,"altitude":23,"angle":349,"satellites":41,"speed":42,"hex_longitude":"2d94eb80","hex_latitude":"06086c18","is_valid_coordinates":true} 
[2026-07-27 23: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-07-27 23:09:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004515584001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:09:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359483479865425920,"note":"Value kept but may cause issues"} 
[2026-07-27 23:09:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7713821710845814784,"note":"Value kept but may cause issues"} 
[2026-07-27 23:09:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:09:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785173894000,"timestamp_ms":1785173894000,"timestamp_seconds":1785173894,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4a7e370"} 
[2026-07-27 23:09:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:09:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 23: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-27 23:09:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23: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-07-27 23:09:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:09:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:09:42] local.INFO: Teltonika packet parsed successfully {"connection_id":143218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:09:42] local.INFO: Passing IMEI to GPS processor {"connection_id":143218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:09:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":143218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23: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-07-27 23:09:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:09:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:09:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004515584001,"66":27234,"36":206,"79":48640,"24":42,"16":359483479865425920,"45":-7713821710845814784},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,79,24,16,45]} 
[2026-07-27 23:09:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:09:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:09:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004515584001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:09:42] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-07-27 23:09:42] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 23:09:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359483479865425920,"km_value":359483479865425.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:09:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7713821710845814784,"description":"Unknown IO ID 45"} 
[2026-07-27 23:09:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004515584001,"power":27234,"unknown_36":206,"unknown_79":48640,"ignition":42,"odometer":null,"unknown_45":-7713821710845814784}} 
[2026-07-27 23:09:42] local.INFO: DEBUG: GPS processor result {"connection_id":143218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:09:42] local.INFO: GPS data processed {"connection_id":143218,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:09:42] local.INFO: Acknowledgment sent {"connection_id":143218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:09:58] local.INFO: TCP Data received {"connection_id":144370,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144370,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:09:58] local.INFO: Processing buffer {"connection_id":144370,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:09:58] local.INFO: IMEI packet received {"connection_id":144370,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 23:09:58] local.INFO: IMEI acknowledgment sent {"connection_id":144370,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 23:10:00] local.INFO: TCP Data received {"connection_id":145643,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:10:00] local.INFO: Processing buffer {"connection_id":145643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:10:00] local.INFO: IMEI packet received {"connection_id":145643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 23:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":145643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 23:10:01] local.INFO: TCP Data received {"connection_id":145643,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:10:01] local.INFO: Processing buffer {"connection_id":145643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:10:01] local.INFO: IMEI packet received {"connection_id":145643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 23:10:01] local.INFO: IMEI acknowledgment sent {"connection_id":145643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:10:03] local.INFO: TCP Data received {"connection_id":145643,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:10:03] local.INFO: Processing buffer {"connection_id":145643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:10:03] local.INFO: IMEI packet received {"connection_id":145643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 23:10:03] local.INFO: IMEI acknowledgment sent {"connection_id":145643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:10:04] local.INFO: TCP Data received {"connection_id":145643,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4a8c218012d94db8006094af80012014129..."} 
[2026-07-27 23:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4a8c218012d94db8006094af80012014129..."} 
[2026-07-27 23:10:04] local.INFO: Processing buffer {"connection_id":145643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4a8c218012d94db8006094af80012014129..."} 
[2026-07-27 23:10:04] local.INFO: Packet analysis {"connection_id":145643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4a8"} 
[2026-07-27 23:10:04] local.INFO: Extracted packet for processing {"connection_id":145643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4a8"} 
[2026-07-27 23:10:04] local.INFO: GPS Element Parsed {"raw_longitude":764730240,"raw_latitude":101272312,"longitude_deg":76.473024,"latitude_deg":10.1272312,"altitude":18,"angle":321,"satellites":41,"speed":40,"hex_longitude":"2d94db80","hex_latitude":"06094af8","is_valid_coordinates":true} 
[2026-07-27 23:10:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:10:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004530688001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:10:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359486340313645056,"note":"Value kept but may cause issues"} 
[2026-07-27 23:10:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7718958629155485696,"note":"Value kept but may cause issues"} 
[2026-07-27 23:10:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:10:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785173951000,"timestamp_ms":1785173951000,"timestamp_seconds":1785173951,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4a8c218"} 
[2026-07-27 23:10:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:10:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 23:10:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-27 23:10:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:10:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:10:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:10:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:10:04] local.INFO: Teltonika packet parsed successfully {"connection_id":145643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:10:04] local.INFO: Passing IMEI to GPS processor {"connection_id":145643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:10:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":145643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:10:04] 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-07-27 23:10:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:10:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:10:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004530688001,"66":27321,"243":206,"79":48640,"24":40,"16":359486340313645056,"45":-7718958629155485696},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,79,24,16,45]} 
[2026-07-27 23:10:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:10:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:10:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004530688001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:10:04] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-07-27 23:10:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 23:10:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359486340313645056,"km_value":359486340313645.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:10:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7718958629155485696,"description":"Unknown IO ID 45"} 
[2026-07-27 23:10:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004530688001,"power":27321,"unknown_243":206,"unknown_79":48640,"ignition":40,"odometer":null,"unknown_45":-7718958629155485696}} 
[2026-07-27 23:10:04] local.INFO: DEBUG: GPS processor result {"connection_id":145643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:10:04] local.INFO: GPS data processed {"connection_id":145643,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:10:04] local.INFO: Acknowledgment sent {"connection_id":145643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:10:04] local.INFO: TCP Data received {"connection_id":144370,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144370,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:10:04] local.INFO: Processing buffer {"connection_id":144370,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:10:04] local.INFO: IMEI packet received {"connection_id":144370,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 23:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":144370,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:10:05] local.INFO: TCP Data received {"connection_id":144370,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4a4ab38012d196940071fee200041013124..."} 
[2026-07-27 23:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4a4ab38012d196940071fee200041013124..."} 
[2026-07-27 23:10:05] local.INFO: Processing buffer {"connection_id":144370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4a4ab38012d196940071fee200041013124..."} 
[2026-07-27 23:10:05] local.INFO: Packet analysis {"connection_id":144370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4a4"} 
[2026-07-27 23:10:05] local.INFO: Extracted packet for processing {"connection_id":144370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4a4"} 
[2026-07-27 23:10:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 23:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:10:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004385792001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:10:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 23:10:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:10:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:10:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785173683000,"timestamp_ms":1785173683000,"timestamp_seconds":1785173683,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4a4ab38"} 
[2026-07-27 23:10:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:10:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 23:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 23:10:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:10:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:10:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:10:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:10:05] local.INFO: Teltonika packet parsed successfully {"connection_id":144370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:10:05] local.INFO: Passing IMEI to GPS processor {"connection_id":144370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:10:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":144370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:10:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:10:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 23:10:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 23:10:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004385792001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 23:10:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 23:10:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 23:10:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004385792001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:10:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 23:10:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 23:10:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:10:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 23:10:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004385792001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 23:10:05] local.INFO: DEBUG: GPS processor result {"connection_id":144370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555920,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:10:05] local.INFO: GPS data processed {"connection_id":144370,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:10:05] local.INFO: Acknowledgment sent {"connection_id":144370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:10:35] local.INFO: TCP Data received {"connection_id":145643,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4a8c9e8012d94d58006095078001101312a..."} 
[2026-07-27 23:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4a8c9e8012d94d58006095078001101312a..."} 
[2026-07-27 23:10:35] local.INFO: Processing buffer {"connection_id":145643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4a8c9e8012d94d58006095078001101312a..."} 
[2026-07-27 23:10:35] local.INFO: Packet analysis {"connection_id":145643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4a8"} 
[2026-07-27 23:10:35] local.INFO: Extracted packet for processing {"connection_id":145643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4a8"} 
[2026-07-27 23:10:35] local.INFO: GPS Element Parsed {"raw_longitude":764728704,"raw_latitude":101273720,"longitude_deg":76.4728704,"latitude_deg":10.127372,"altitude":17,"angle":305,"satellites":42,"speed":39,"hex_longitude":"2d94d580","hex_latitude":"06095078","is_valid_coordinates":true} 
[2026-07-27 23:10:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:10:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004531456001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:10:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359486439097892864,"note":"Value kept but may cause issues"} 
[2026-07-27 23:10:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7720436372782516224,"note":"Value kept but may cause issues"} 
[2026-07-27 23:10:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:10:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785173953000,"timestamp_ms":1785173953000,"timestamp_seconds":1785173953,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4a8c9e8"} 
[2026-07-27 23:10:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:10:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 23:10:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-27 23:10:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:10:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:10:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:10:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:10:35] local.INFO: Teltonika packet parsed successfully {"connection_id":145643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:10:35] local.INFO: Passing IMEI to GPS processor {"connection_id":145643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:10:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":145643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:10:35] 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-07-27 23:10:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:10:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:10:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004531456001,"66":27321,"243":206,"79":48640,"24":39,"16":359486439097892864,"45":-7720436372782516224},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,79,24,16,45]} 
[2026-07-27 23:10:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:10:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:10:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004531456001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:10:35] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-07-27 23:10:35] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 23:10:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359486439097892864,"km_value":359486439097892.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:10:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7720436372782516224,"description":"Unknown IO ID 45"} 
[2026-07-27 23:10:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004531456001,"power":27321,"unknown_243":206,"unknown_79":48640,"ignition":39,"odometer":null,"unknown_45":-7720436372782516224}} 
[2026-07-27 23:10:35] local.INFO: DEBUG: GPS processor result {"connection_id":145643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:10:35] local.INFO: GPS data processed {"connection_id":145643,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:10:35] local.INFO: Acknowledgment sent {"connection_id":145643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:10:37] local.INFO: TCP Data received {"connection_id":144370,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4a94300012d196940071fee200041013124..."} 
[2026-07-27 23:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4a94300012d196940071fee200041013124..."} 
[2026-07-27 23:10:37] local.INFO: Processing buffer {"connection_id":144370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4a94300012d196940071fee200041013124..."} 
[2026-07-27 23:10:37] local.INFO: Packet analysis {"connection_id":144370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4a9"} 
[2026-07-27 23:10:37] local.INFO: Extracted packet for processing {"connection_id":144370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4a9"} 
[2026-07-27 23:10:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 23:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004462848001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 23:10:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:10:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785173984000,"timestamp_ms":1785173984000,"timestamp_seconds":1785173984,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4a94300"} 
[2026-07-27 23:10:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:10:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 23:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 23:10:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:10:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:10:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:10:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 23:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 23:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004462848001,"66":2155,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 23:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 23:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 23:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004462848001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:10:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 23:10:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 23:10:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:10:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 23:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004462848001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 23:10:37] local.INFO: DEBUG: GPS processor result {"connection_id":144370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555922,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:10:37] local.INFO: GPS data processed {"connection_id":144370,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:10:37] local.INFO: Acknowledgment sent {"connection_id":144370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:10:59] local.INFO: TCP Data received {"connection_id":144371,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144371,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:10:59] local.INFO: Processing buffer {"connection_id":144371,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:10:59] local.INFO: IMEI packet received {"connection_id":144371,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 23:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":144371,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 23:11:00] local.INFO: TCP Data received {"connection_id":145644,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:11:00] local.INFO: Processing buffer {"connection_id":145644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:11:00] local.INFO: IMEI packet received {"connection_id":145644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 23:11:00] local.INFO: IMEI acknowledgment sent {"connection_id":145644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 23:11:04] local.INFO: TCP Data received {"connection_id":144371,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144371,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:11:04] local.INFO: Processing buffer {"connection_id":144371,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:11:04] local.INFO: IMEI packet received {"connection_id":144371,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 23:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":144371,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:11:05] local.INFO: TCP Data received {"connection_id":144371,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4a94300012d196940071fee200041013124..."} 
[2026-07-27 23:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4a94300012d196940071fee200041013124..."} 
[2026-07-27 23:11:05] local.INFO: Processing buffer {"connection_id":144371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4a94300012d196940071fee200041013124..."} 
[2026-07-27 23:11:05] local.INFO: Packet analysis {"connection_id":144371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4a9"} 
[2026-07-27 23:11:05] local.INFO: Extracted packet for processing {"connection_id":144371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4a9"} 
[2026-07-27 23:11:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 23:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:11:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004462848001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:11:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 23:11:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:11:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:11:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785173984000,"timestamp_ms":1785173984000,"timestamp_seconds":1785173984,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4a94300"} 
[2026-07-27 23:11:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:11:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 23:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 23:11:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:11:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:11:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:11:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:11:05] local.INFO: Teltonika packet parsed successfully {"connection_id":144371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:11:05] local.INFO: Passing IMEI to GPS processor {"connection_id":144371,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:11:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":144371,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:11:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:11:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 23:11:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 23:11:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004462848001,"66":2155,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 23:11:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 23:11:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 23:11:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004462848001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:11:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 23:11:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 23:11:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:11:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 23:11:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004462848001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 23:11:05] local.INFO: DEBUG: GPS processor result {"connection_id":144371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555923,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:11:05] local.INFO: GPS data processed {"connection_id":144371,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:11:05] local.INFO: Acknowledgment sent {"connection_id":144371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:11:14] local.INFO: TCP Data received {"connection_id":145644,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:11:14] local.INFO: Processing buffer {"connection_id":145644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:11:14] local.INFO: IMEI packet received {"connection_id":145644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 23:11:14] local.INFO: IMEI acknowledgment sent {"connection_id":145644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:11:15] local.INFO: TCP Data received {"connection_id":145644,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4a8d1b8012d94ce40060953f8001201202b..."} 
[2026-07-27 23:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4a8d1b8012d94ce40060953f8001201202b..."} 
[2026-07-27 23:11:15] local.INFO: Processing buffer {"connection_id":145644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4a8d1b8012d94ce40060953f8001201202b..."} 
[2026-07-27 23:11:15] local.INFO: Packet analysis {"connection_id":145644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4a8"} 
[2026-07-27 23:11:15] local.INFO: Extracted packet for processing {"connection_id":145644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4a8"} 
[2026-07-27 23:11:15] local.INFO: GPS Element Parsed {"raw_longitude":764726848,"raw_latitude":101274616,"longitude_deg":76.4726848,"latitude_deg":10.1274616,"altitude":18,"angle":288,"satellites":43,"speed":39,"hex_longitude":"2d94ce40","hex_latitude":"060953f8","is_valid_coordinates":true} 
[2026-07-27 23: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-07-27 23:11:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004531968001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:11:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359486537882140672,"note":"Value kept but may cause issues"} 
[2026-07-27 23:11:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7722125222642419712,"note":"Value kept but may cause issues"} 
[2026-07-27 23:11:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:11:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785173955000,"timestamp_ms":1785173955000,"timestamp_seconds":1785173955,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4a8d1b8"} 
[2026-07-27 23:11:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:11:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 23: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-27 23:11:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23: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-07-27 23:11:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:11:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:11:15] local.INFO: Teltonika packet parsed successfully {"connection_id":145644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:11:15] local.INFO: Passing IMEI to GPS processor {"connection_id":145644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:11:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":145644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:11: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-07-27 23:11:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:11:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:11:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004531968001,"66":27321,"146":206,"79":48640,"24":39,"16":359486537882140672,"45":-7722125222642419712},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,79,24,16,45]} 
[2026-07-27 23:11:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:11:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:11:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004531968001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:11:15] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-07-27 23:11:15] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 23:11:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359486537882140672,"km_value":359486537882140.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:11:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7722125222642419712,"description":"Unknown IO ID 45"} 
[2026-07-27 23:11:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004531968001,"power":27321,"unknown_146":206,"unknown_79":48640,"ignition":39,"odometer":null,"unknown_45":-7722125222642419712}} 
[2026-07-27 23:11:15] local.INFO: DEBUG: GPS processor result {"connection_id":145644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:11:15] local.INFO: GPS data processed {"connection_id":145644,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:11:15] local.INFO: Acknowledgment sent {"connection_id":145644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:11:37] local.INFO: TCP Data received {"connection_id":144371,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4a94300012d196940071fee200041013124..."} 
[2026-07-27 23:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4a94300012d196940071fee200041013124..."} 
[2026-07-27 23:11:37] local.INFO: Processing buffer {"connection_id":144371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4a94300012d196940071fee200041013124..."} 
[2026-07-27 23:11:37] local.INFO: Packet analysis {"connection_id":144371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4a9"} 
[2026-07-27 23:11:37] local.INFO: Extracted packet for processing {"connection_id":144371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4a9"} 
[2026-07-27 23:11:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 23:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004462848001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 23:11:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:11:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785173984000,"timestamp_ms":1785173984000,"timestamp_seconds":1785173984,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4a94300"} 
[2026-07-27 23:11:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:11:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 23:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 23:11:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:11:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:11:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144371,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144371,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:11:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 23:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 23:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004462848001,"66":2155,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 23:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 23:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 23:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004462848001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:11:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 23:11:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 23:11:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:11:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 23:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004462848001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 23:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":144371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555925,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:11:37] local.INFO: GPS data processed {"connection_id":144371,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:11:37] local.INFO: Acknowledgment sent {"connection_id":144371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:11:59] local.INFO: TCP Data received {"connection_id":143219,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143219,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:11:59] local.INFO: Processing buffer {"connection_id":143219,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:11:59] local.INFO: IMEI packet received {"connection_id":143219,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 23:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":143219,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 23:12:00] local.INFO: TCP Data received {"connection_id":143362,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:12:00] local.INFO: Processing buffer {"connection_id":143362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:12:00] local.INFO: IMEI packet received {"connection_id":143362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 23:12:00] local.INFO: IMEI acknowledgment sent {"connection_id":143362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 23:12:03] local.INFO: TCP Data received {"connection_id":143362,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:12:03] local.INFO: Processing buffer {"connection_id":143362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:12:03] local.INFO: IMEI packet received {"connection_id":143362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 23:12:03] local.INFO: IMEI acknowledgment sent {"connection_id":143362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:12:04] local.INFO: TCP Data received {"connection_id":143219,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143219,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:12:04] local.INFO: Processing buffer {"connection_id":143219,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:12:04] local.INFO: IMEI packet received {"connection_id":143219,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 23:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":143219,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:12:05] local.INFO: TCP Data received {"connection_id":143219,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4a94300012d196940071fee200041013124..."} 
[2026-07-27 23:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4a94300012d196940071fee200041013124..."} 
[2026-07-27 23:12:05] local.INFO: Processing buffer {"connection_id":143219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4a94300012d196940071fee200041013124..."} 
[2026-07-27 23:12:05] local.INFO: Packet analysis {"connection_id":143219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4a9"} 
[2026-07-27 23:12:05] local.INFO: Extracted packet for processing {"connection_id":143219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4a9"} 
[2026-07-27 23:12:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 23:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:12:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004462848001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:12:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 23:12:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:12:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:12:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785173984000,"timestamp_ms":1785173984000,"timestamp_seconds":1785173984,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4a94300"} 
[2026-07-27 23:12:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:12:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 23:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 23:12:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:12:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:12:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:12:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:12:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:12:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:12:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:12:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:12:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 23:12:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 23:12:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004462848001,"66":2155,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 23:12:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 23:12:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 23:12:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004462848001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:12:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 23:12:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 23:12:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:12:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 23:12:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004462848001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 23:12:05] local.INFO: DEBUG: GPS processor result {"connection_id":143219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555926,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:12:05] local.INFO: GPS data processed {"connection_id":143219,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:12:05] local.INFO: Acknowledgment sent {"connection_id":143219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:12:08] local.INFO: TCP Data received {"connection_id":143362,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:12:08] local.INFO: Processing buffer {"connection_id":143362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:12:08] local.INFO: IMEI packet received {"connection_id":143362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 23:12:08] local.INFO: IMEI acknowledgment sent {"connection_id":143362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:12:27] local.INFO: TCP Data received {"connection_id":143362,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4aa0a38012d942340060a71c8000d014c29..."} 
[2026-07-27 23:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143362,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4aa0a38012d942340060a71c8000d014c29..."} 
[2026-07-27 23:12:27] local.INFO: Processing buffer {"connection_id":143362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4aa0a38012d942340060a71c8000d014c29..."} 
[2026-07-27 23:12:27] local.INFO: Packet analysis {"connection_id":143362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4aa"} 
[2026-07-27 23:12:27] local.INFO: Extracted packet for processing {"connection_id":143362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4aa"} 
[2026-07-27 23:12:27] local.INFO: GPS Element Parsed {"raw_longitude":764683072,"raw_latitude":101347784,"longitude_deg":76.4683072,"latitude_deg":10.1347784,"altitude":13,"angle":332,"satellites":41,"speed":42,"hex_longitude":"2d942340","hex_latitude":"060a71c8","is_valid_coordinates":true} 
[2026-07-27 23:12:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:12:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004550912001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:12:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359490759834992640,"note":"Value kept but may cause issues"} 
[2026-07-27 23:12:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7767231587643461632,"note":"Value kept but may cause issues"} 
[2026-07-27 23:12:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:12:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785174035000,"timestamp_ms":1785174035000,"timestamp_seconds":1785174035,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4aa0a38"} 
[2026-07-27 23:12:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:12:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 23:12:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-27 23:12:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:12:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:12:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:12:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:12:27] local.INFO: Teltonika packet parsed successfully {"connection_id":143362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:12:27] local.INFO: Passing IMEI to GPS processor {"connection_id":143362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:12:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":143362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:12:27] 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-07-27 23:12:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:12:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:12:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004550912001,"66":27365,"146":206,"79":48640,"24":42,"16":359490759834992640,"45":-7767231587643461632},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,79,24,16,45]} 
[2026-07-27 23:12:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:12:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:12:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004550912001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:12:27] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-07-27 23:12:27] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 23:12:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359490759834992640,"km_value":359490759834992.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:12:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7767231587643461632,"description":"Unknown IO ID 45"} 
[2026-07-27 23:12:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004550912001,"power":27365,"unknown_146":206,"unknown_79":48640,"ignition":42,"odometer":null,"unknown_45":-7767231587643461632}} 
[2026-07-27 23:12:27] local.INFO: DEBUG: GPS processor result {"connection_id":143362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:12:27] local.INFO: GPS data processed {"connection_id":143362,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:12:27] local.INFO: Acknowledgment sent {"connection_id":143362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:12:28] local.INFO: TCP Data received {"connection_id":143362,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4aa3148012d9411c0060a9070000c01462d..."} 
[2026-07-27 23:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143362,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4aa3148012d9411c0060a9070000c01462d..."} 
[2026-07-27 23:12:28] local.INFO: Processing buffer {"connection_id":143362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4aa3148012d9411c0060a9070000c01462d..."} 
[2026-07-27 23:12:28] local.INFO: Packet analysis {"connection_id":143362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4aa"} 
[2026-07-27 23:12:28] local.INFO: Extracted packet for processing {"connection_id":143362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4aa"} 
[2026-07-27 23:12:28] local.INFO: GPS Element Parsed {"raw_longitude":764678592,"raw_latitude":101355632,"longitude_deg":76.4678592,"latitude_deg":10.1355632,"altitude":12,"angle":326,"satellites":45,"speed":28,"hex_longitude":"2d9411c0","hex_latitude":"060a9070","is_valid_coordinates":true} 
[2026-07-27 23:12:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:12:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004552960001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:12:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359491197921656832,"note":"Value kept but may cause issues"} 
[2026-07-27 23:12:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7772298137222133760,"note":"Value kept but may cause issues"} 
[2026-07-27 23:12:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:12:28] local.INFO: AVL Record Parsed {"raw_timestamp":1785174045000,"timestamp_ms":1785174045000,"timestamp_seconds":1785174045,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4aa3148"} 
[2026-07-27 23:12:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:12:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 23:12:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-27 23:12:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:12:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:12:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:12:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:12:28] local.INFO: Teltonika packet parsed successfully {"connection_id":143362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:12:28] local.INFO: Passing IMEI to GPS processor {"connection_id":143362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:12:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":143362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:12:28] 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-07-27 23:12:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:12:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:12:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004552960001,"66":27365,"147":206,"79":48640,"24":28,"16":359491197921656832,"45":-7772298137222133760},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,79,24,16,45]} 
[2026-07-27 23:12:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:12:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:12:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004552960001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:12:28] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-27 23:12:28] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 23:12:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359491197921656832,"km_value":359491197921656.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:12:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7772298137222133760,"description":"Unknown IO ID 45"} 
[2026-07-27 23:12:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004552960001,"power":27365,"unknown_147":206,"unknown_79":48640,"ignition":28,"odometer":null,"unknown_45":-7772298137222133760}} 
[2026-07-27 23:12:28] local.INFO: DEBUG: GPS processor result {"connection_id":143362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:12:28] local.INFO: GPS data processed {"connection_id":143362,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:12:28] local.INFO: Acknowledgment sent {"connection_id":143362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:12:37] local.INFO: TCP Data received {"connection_id":143219,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4a94300012d196940071fee200041013124..."} 
[2026-07-27 23:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4a94300012d196940071fee200041013124..."} 
[2026-07-27 23:12:37] local.INFO: Processing buffer {"connection_id":143219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4a94300012d196940071fee200041013124..."} 
[2026-07-27 23:12:37] local.INFO: Packet analysis {"connection_id":143219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4a9"} 
[2026-07-27 23:12:37] local.INFO: Extracted packet for processing {"connection_id":143219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4a9"} 
[2026-07-27 23:12:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 23:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:12:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004462848001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:12:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 23:12:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:12:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:12:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785173984000,"timestamp_ms":1785173984000,"timestamp_seconds":1785173984,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4a94300"} 
[2026-07-27 23:12:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:12:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 23:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 23:12:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:12:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:12:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:12:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:12:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:12:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:12:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:12:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:12:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 23:12:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 23:12:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004462848001,"66":2155,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 23:12:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 23:12:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 23:12:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004462848001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:12:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 23:12:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 23:12:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:12:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 23:12:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004462848001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 23:12:37] local.INFO: DEBUG: GPS processor result {"connection_id":143219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555929,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:12:37] local.INFO: GPS data processed {"connection_id":143219,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:12:37] local.INFO: Acknowledgment sent {"connection_id":143219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:12:58] local.INFO: TCP Data received {"connection_id":144372,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144372,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:12:58] local.INFO: Processing buffer {"connection_id":144372,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:12:58] local.INFO: IMEI packet received {"connection_id":144372,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 23:12:58] local.INFO: IMEI acknowledgment sent {"connection_id":144372,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 23:13:04] local.INFO: TCP Data received {"connection_id":144372,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144372,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:13:04] local.INFO: Processing buffer {"connection_id":144372,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:13:04] local.INFO: IMEI packet received {"connection_id":144372,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 23:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":144372,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:13:05] local.INFO: TCP Data received {"connection_id":144372,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4a94300012d196940071fee200041013124..."} 
[2026-07-27 23:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4a94300012d196940071fee200041013124..."} 
[2026-07-27 23:13:05] local.INFO: Processing buffer {"connection_id":144372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4a94300012d196940071fee200041013124..."} 
[2026-07-27 23:13:05] local.INFO: Packet analysis {"connection_id":144372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4a9"} 
[2026-07-27 23:13:05] local.INFO: Extracted packet for processing {"connection_id":144372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4a9"} 
[2026-07-27 23:13:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 23:13:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:13:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004462848001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:13:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 23:13:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:13:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:13:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785173984000,"timestamp_ms":1785173984000,"timestamp_seconds":1785173984,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4a94300"} 
[2026-07-27 23:13:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:13:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 23:13:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 23:13:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:13:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:13:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:13:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:13:05] local.INFO: Teltonika packet parsed successfully {"connection_id":144372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:13:05] local.INFO: Passing IMEI to GPS processor {"connection_id":144372,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:13:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":144372,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:13:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:13:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 23:13:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 23:13:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004462848001,"66":2155,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 23:13:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 23:13:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 23:13:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004462848001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:13:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 23:13:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 23:13:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:13:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 23:13:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004462848001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 23:13:05] local.INFO: DEBUG: GPS processor result {"connection_id":144372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555930,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:13:05] local.INFO: GPS data processed {"connection_id":144372,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:13:05] local.INFO: Acknowledgment sent {"connection_id":144372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:13:15] local.INFO: TCP Data received {"connection_id":143363,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:13:15] local.INFO: Processing buffer {"connection_id":143363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:13:15] local.INFO: IMEI packet received {"connection_id":143363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 23:13:15] local.INFO: IMEI acknowledgment sent {"connection_id":143363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 23:13:19] local.INFO: TCP Data received {"connection_id":143363,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:13:19] local.INFO: Processing buffer {"connection_id":143363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:13:19] local.INFO: IMEI packet received {"connection_id":143363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 23:13:19] local.INFO: IMEI acknowledgment sent {"connection_id":143363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:13:20] local.INFO: TCP Data received {"connection_id":143363,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:13:20] local.INFO: Processing buffer {"connection_id":143363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:13:20] local.INFO: IMEI packet received {"connection_id":143363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 23:13:20] local.INFO: IMEI acknowledgment sent {"connection_id":143363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:13:22] local.INFO: TCP Data received {"connection_id":143363,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4aa44d0012d940a80060a98c8000c013a2d..."} 
[2026-07-27 23:13:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4aa44d0012d940a80060a98c8000c013a2d..."} 
[2026-07-27 23:13:22] local.INFO: Processing buffer {"connection_id":143363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4aa44d0012d940a80060a98c8000c013a2d..."} 
[2026-07-27 23:13:22] local.INFO: Packet analysis {"connection_id":143363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4aa"} 
[2026-07-27 23:13:22] local.INFO: Extracted packet for processing {"connection_id":143363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4aa"} 
[2026-07-27 23:13:22] local.INFO: GPS Element Parsed {"raw_longitude":764676736,"raw_latitude":101357768,"longitude_deg":76.4676736,"latitude_deg":10.1357768,"altitude":12,"angle":314,"satellites":45,"speed":16,"hex_longitude":"2d940a80","hex_latitude":"060a98c8","is_valid_coordinates":true} 
[2026-07-27 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-07-27 23:13:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004555520001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:13:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359491335360610304,"note":"Value kept but may cause issues"} 
[2026-07-27 23:13:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7777223949312561152,"note":"Value kept but may cause issues"} 
[2026-07-27 23:13:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:13:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785174050000,"timestamp_ms":1785174050000,"timestamp_seconds":1785174050,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4aa44d0"} 
[2026-07-27 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-07-27 23:13:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-27 23:13:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 23:13:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:13:22] local.INFO: Teltonika packet parsed successfully {"connection_id":143363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:13:22] local.INFO: Passing IMEI to GPS processor {"connection_id":143363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:13:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":143363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:13:22] 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-07-27 23:13:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:13:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:13:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004555520001,"66":27463,"147":206,"79":48640,"24":16,"16":359491335360610304,"45":-7777223949312561152},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,79,24,16,45]} 
[2026-07-27 23:13:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:13:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:13:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004555520001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:13:22] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-27 23:13:22] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 23:13:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359491335360610304,"km_value":359491335360610.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:13:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7777223949312561152,"description":"Unknown IO ID 45"} 
[2026-07-27 23:13:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004555520001,"power":27463,"unknown_147":206,"unknown_79":48640,"ignition":16,"odometer":null,"unknown_45":-7777223949312561152}} 
[2026-07-27 23:13:22] local.INFO: DEBUG: GPS processor result {"connection_id":143363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:13:22] local.INFO: GPS data processed {"connection_id":143363,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:13:22] local.INFO: Acknowledgment sent {"connection_id":143363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:13:25] local.INFO: TCP Data received {"connection_id":143363,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4aa8b20012d93efc0060ab050000f01342e..."} 
[2026-07-27 23:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4aa8b20012d93efc0060ab050000f01342e..."} 
[2026-07-27 23:13:25] local.INFO: Processing buffer {"connection_id":143363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4aa8b20012d93efc0060ab050000f01342e..."} 
[2026-07-27 23:13:25] local.INFO: Packet analysis {"connection_id":143363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4aa"} 
[2026-07-27 23:13:25] local.INFO: Extracted packet for processing {"connection_id":143363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4aa"} 
[2026-07-27 23:13:25] local.INFO: GPS Element Parsed {"raw_longitude":764669888,"raw_latitude":101363792,"longitude_deg":76.4669888,"latitude_deg":10.1363792,"altitude":15,"angle":308,"satellites":46,"speed":15,"hex_longitude":"2d93efc0","hex_latitude":"060ab050","is_valid_coordinates":true} 
[2026-07-27 23:13:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:13:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004556800001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:13:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359491773447274496,"note":"Value kept but may cause issues"} 
[2026-07-27 23:13:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7779264642893166592,"note":"Value kept but may cause issues"} 
[2026-07-27 23:13:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:13:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785174068000,"timestamp_ms":1785174068000,"timestamp_seconds":1785174068,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4aa8b20"} 
[2026-07-27 23:13:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:13:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 23:13:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-27 23:13:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:13:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:13:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:13:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:13:25] local.INFO: Teltonika packet parsed successfully {"connection_id":143363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:13:25] local.INFO: Passing IMEI to GPS processor {"connection_id":143363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:13:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":143363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:13:25] 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-07-27 23:13:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:13:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:13:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004556800001,"66":27343,"147":206,"79":48640,"24":15,"16":359491773447274496,"45":-7779264642893166592},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,79,24,16,45]} 
[2026-07-27 23:13:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:13:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:13:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004556800001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:13:25] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-27 23:13:25] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-27 23:13:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359491773447274496,"km_value":359491773447274.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:13:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7779264642893166592,"description":"Unknown IO ID 45"} 
[2026-07-27 23:13:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004556800001,"power":27343,"unknown_147":206,"unknown_79":48640,"ignition":15,"odometer":null,"unknown_45":-7779264642893166592}} 
[2026-07-27 23:13:25] local.INFO: DEBUG: GPS processor result {"connection_id":143363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:13:25] local.INFO: GPS data processed {"connection_id":143363,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:13:25] local.INFO: Acknowledgment sent {"connection_id":143363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:13:37] local.INFO: TCP Data received {"connection_id":144372,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4a94300012d196940071fee200041013124..."} 
[2026-07-27 23:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4a94300012d196940071fee200041013124..."} 
[2026-07-27 23:13:37] local.INFO: Processing buffer {"connection_id":144372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4a94300012d196940071fee200041013124..."} 
[2026-07-27 23:13:37] local.INFO: Packet analysis {"connection_id":144372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4a9"} 
[2026-07-27 23:13:37] local.INFO: Extracted packet for processing {"connection_id":144372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4a9"} 
[2026-07-27 23:13:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 23:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:13:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004462848001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:13:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 23:13:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:13:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:13:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785173984000,"timestamp_ms":1785173984000,"timestamp_seconds":1785173984,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4a94300"} 
[2026-07-27 23:13:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:13:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 23:13:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:13:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:13:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:13:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:13:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:13:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144372,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:13:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144372,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:13:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:13:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 23:13:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 23:13:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004462848001,"66":2155,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 23:13:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 23:13:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 23:13:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004462848001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:13:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 23:13:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 23:13:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:13:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 23:13:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004462848001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 23:13:37] local.INFO: DEBUG: GPS processor result {"connection_id":144372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555933,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:13:37] local.INFO: GPS data processed {"connection_id":144372,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:13:37] local.INFO: Acknowledgment sent {"connection_id":144372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:13:58] local.INFO: TCP Data received {"connection_id":144373,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144373,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:13:58] local.INFO: Processing buffer {"connection_id":144373,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:13:58] local.INFO: IMEI packet received {"connection_id":144373,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 23:13:58] local.INFO: IMEI acknowledgment sent {"connection_id":144373,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 23:14:04] local.INFO: TCP Data received {"connection_id":144373,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144373,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:14:04] local.INFO: Processing buffer {"connection_id":144373,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:14:04] local.INFO: IMEI packet received {"connection_id":144373,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 23:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":144373,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:14:05] local.INFO: TCP Data received {"connection_id":143364,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:14:05] local.INFO: Processing buffer {"connection_id":143364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:14:05] local.INFO: IMEI packet received {"connection_id":143364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 23:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":143364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 23:14:05] local.INFO: TCP Data received {"connection_id":144373,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4a94300012d196940071fee200041013124..."} 
[2026-07-27 23:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4a94300012d196940071fee200041013124..."} 
[2026-07-27 23:14:05] local.INFO: Processing buffer {"connection_id":144373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4a94300012d196940071fee200041013124..."} 
[2026-07-27 23:14:05] local.INFO: Packet analysis {"connection_id":144373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4a9"} 
[2026-07-27 23:14:05] local.INFO: Extracted packet for processing {"connection_id":144373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4a9"} 
[2026-07-27 23:14:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 23:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:14:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004462848001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:14:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 23:14:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:14:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:14:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785173984000,"timestamp_ms":1785173984000,"timestamp_seconds":1785173984,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4a94300"} 
[2026-07-27 23:14:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:14:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 23:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 23:14:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:14:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:14:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:14:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:14:05] local.INFO: Teltonika packet parsed successfully {"connection_id":144373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:14:05] local.INFO: Passing IMEI to GPS processor {"connection_id":144373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:14:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":144373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:14:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:14:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 23:14:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 23:14:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004462848001,"66":2155,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 23:14:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 23:14:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 23:14:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004462848001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:14:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 23:14:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 23:14:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:14:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 23:14:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004462848001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 23:14:05] local.INFO: DEBUG: GPS processor result {"connection_id":144373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555934,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:14:05] local.INFO: GPS data processed {"connection_id":144373,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:14:05] local.INFO: Acknowledgment sent {"connection_id":144373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:14:07] local.INFO: TCP Data received {"connection_id":143364,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:14:07] local.INFO: Processing buffer {"connection_id":143364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:14:07] local.INFO: IMEI packet received {"connection_id":143364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 23:14:07] local.INFO: IMEI acknowledgment sent {"connection_id":143364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:14:07] local.INFO: TCP Data received {"connection_id":143364,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4ac2d18012d930000060c0d68000c014729..."} 
[2026-07-27 23:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4ac2d18012d930000060c0d68000c014729..."} 
[2026-07-27 23:14:07] local.INFO: Processing buffer {"connection_id":143364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4ac2d18012d930000060c0d68000c014729..."} 
[2026-07-27 23:14:07] local.INFO: Packet analysis {"connection_id":143364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4ac"} 
[2026-07-27 23:14:07] local.INFO: Extracted packet for processing {"connection_id":143364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4ac"} 
[2026-07-27 23:14:07] local.INFO: GPS Element Parsed {"raw_longitude":764608512,"raw_latitude":101453160,"longitude_deg":76.4608512,"latitude_deg":10.145316,"altitude":12,"angle":327,"satellites":41,"speed":47,"hex_longitude":"2d930000","hex_latitude":"060c0d68","is_valid_coordinates":true} 
[2026-07-27 23:14:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:14:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004588800001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:14:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359497112091623424,"note":"Value kept but may cause issues"} 
[2026-07-27 23:14:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7854277724162136064,"note":"Value kept but may cause issues"} 
[2026-07-27 23:14:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:14:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785174175000,"timestamp_ms":1785174175000,"timestamp_seconds":1785174175,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4ac2d18"} 
[2026-07-27 23:14:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:14:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 23:14:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-27 23:14:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:14:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:14:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:14:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:14:07] local.INFO: Teltonika packet parsed successfully {"connection_id":143364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:14:07] local.INFO: Passing IMEI to GPS processor {"connection_id":143364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:14:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":143364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:14:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:14:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:14:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:14:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004588800001,"66":27463,"176":206,"79":46848,"24":47,"16":359497112091623424,"45":-7854277724162136064},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,79,24,16,45]} 
[2026-07-27 23:14:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:14:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:14:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004588800001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:14:07] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-27 23:14:07] local.INFO: Unknown IO ID detected {"io_id":79,"value":46848,"description":"Unknown IO ID 79"} 
[2026-07-27 23:14:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359497112091623424,"km_value":359497112091623.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:14:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7854277724162136064,"description":"Unknown IO ID 45"} 
[2026-07-27 23:14:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004588800001,"power":27463,"unknown_176":206,"unknown_79":46848,"ignition":47,"odometer":null,"unknown_45":-7854277724162136064}} 
[2026-07-27 23:14:07] local.INFO: DEBUG: GPS processor result {"connection_id":143364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:14:07] local.INFO: GPS data processed {"connection_id":143364,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:14:07] local.INFO: Acknowledgment sent {"connection_id":143364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:14:10] local.INFO: TCP Data received {"connection_id":143364,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4ac34e8012d92fa40060c1458000c01372b..."} 
[2026-07-27 23:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4ac34e8012d92fa40060c1458000c01372b..."} 
[2026-07-27 23:14:10] local.INFO: Processing buffer {"connection_id":143364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4ac34e8012d92fa40060c1458000c01372b..."} 
[2026-07-27 23:14:10] local.INFO: Packet analysis {"connection_id":143364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4ac"} 
[2026-07-27 23:14:10] local.INFO: Extracted packet for processing {"connection_id":143364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4ac"} 
[2026-07-27 23:14:10] local.INFO: GPS Element Parsed {"raw_longitude":764607040,"raw_latitude":101454936,"longitude_deg":76.460704,"latitude_deg":10.1454936,"altitude":12,"angle":311,"satellites":43,"speed":44,"hex_longitude":"2d92fa40","hex_latitude":"060c1458","is_valid_coordinates":true} 
[2026-07-27 23:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:14:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004588800001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:14:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359497223760773120,"note":"Value kept but may cause issues"} 
[2026-07-27 23:14:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7854277724162136064,"note":"Value kept but may cause issues"} 
[2026-07-27 23:14:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:14:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785174177000,"timestamp_ms":1785174177000,"timestamp_seconds":1785174177,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4ac34e8"} 
[2026-07-27 23:14:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:14:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 23: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-27 23:14:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:14:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:14:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:14:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:14:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:14:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:14:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:14: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-07-27 23:14:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:14:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:14:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004588800001,"66":27332,"176":206,"79":46848,"24":44,"16":359497223760773120,"45":-7854277724162136064},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,79,24,16,45]} 
[2026-07-27 23:14:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:14:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:14:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004588800001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:14:10] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-27 23:14:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":46848,"description":"Unknown IO ID 79"} 
[2026-07-27 23:14:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359497223760773120,"km_value":359497223760773.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:14:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7854277724162136064,"description":"Unknown IO ID 45"} 
[2026-07-27 23:14:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004588800001,"power":27332,"unknown_176":206,"unknown_79":46848,"ignition":44,"odometer":null,"unknown_45":-7854277724162136064}} 
[2026-07-27 23:14:10] local.INFO: DEBUG: GPS processor result {"connection_id":143364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:14:10] local.INFO: GPS data processed {"connection_id":143364,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:14:10] local.INFO: Acknowledgment sent {"connection_id":143364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:14:37] local.INFO: TCP Data received {"connection_id":144373,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4a94300012d196940071fee200041013124..."} 
[2026-07-27 23:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4a94300012d196940071fee200041013124..."} 
[2026-07-27 23:14:37] local.INFO: Processing buffer {"connection_id":144373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4a94300012d196940071fee200041013124..."} 
[2026-07-27 23:14:37] local.INFO: Packet analysis {"connection_id":144373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4a9"} 
[2026-07-27 23:14:37] local.INFO: Extracted packet for processing {"connection_id":144373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4a9"} 
[2026-07-27 23:14:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 23:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:14:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004462848001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:14:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 23:14:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:14:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:14:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785173984000,"timestamp_ms":1785173984000,"timestamp_seconds":1785173984,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4a94300"} 
[2026-07-27 23:14:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:14:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 23:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 23:14:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:14:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:14:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:14:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:14:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:14:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:14:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:14:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:14:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 23:14:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 23:14:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004462848001,"66":2155,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 23:14:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 23:14:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 23:14:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004462848001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:14:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 23:14:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 23:14:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:14:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 23:14:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004462848001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 23:14:37] local.INFO: DEBUG: GPS processor result {"connection_id":144373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555937,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:14:37] local.INFO: GPS data processed {"connection_id":144373,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:14:37] local.INFO: Acknowledgment sent {"connection_id":144373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:14:41] local.INFO: TCP Data received {"connection_id":143364,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4ac5428012d92dbc0060c2928000b01312c..."} 
[2026-07-27 23:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4ac5428012d92dbc0060c2928000b01312c..."} 
[2026-07-27 23:14:41] local.INFO: Processing buffer {"connection_id":143364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4ac5428012d92dbc0060c2928000b01312c..."} 
[2026-07-27 23:14:41] local.INFO: Packet analysis {"connection_id":143364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4ac"} 
[2026-07-27 23:14:41] local.INFO: Extracted packet for processing {"connection_id":143364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4ac"} 
[2026-07-27 23:14:41] local.INFO: GPS Element Parsed {"raw_longitude":764599232,"raw_latitude":101460264,"longitude_deg":76.4599232,"latitude_deg":10.1460264,"altitude":11,"angle":305,"satellites":44,"speed":46,"hex_longitude":"2d92dbc0","hex_latitude":"060c2928","is_valid_coordinates":true} 
[2026-07-27 23: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-07-27 23:14:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004589312001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:14:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359497679027306496,"note":"Value kept but may cause issues"} 
[2026-07-27 23:14:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7855896205277767680,"note":"Value kept but may cause issues"} 
[2026-07-27 23:14:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:14:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785174185000,"timestamp_ms":1785174185000,"timestamp_seconds":1785174185,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4ac5428"} 
[2026-07-27 23:14:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:14:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 23: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-27 23:14:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:14:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:14:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:14:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:14:41] local.INFO: Teltonika packet parsed successfully {"connection_id":143364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:14:41] local.INFO: Passing IMEI to GPS processor {"connection_id":143364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:14:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":143364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:14: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-07-27 23:14:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:14:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:14:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004589312001,"66":27463,"176":206,"79":46848,"24":46,"16":359497679027306496,"45":-7855896205277767680},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,79,24,16,45]} 
[2026-07-27 23:14:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:14:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:14:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004589312001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:14:41] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-27 23:14:41] local.INFO: Unknown IO ID detected {"io_id":79,"value":46848,"description":"Unknown IO ID 79"} 
[2026-07-27 23:14:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359497679027306496,"km_value":359497679027306.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:14:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7855896205277767680,"description":"Unknown IO ID 45"} 
[2026-07-27 23:14:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004589312001,"power":27463,"unknown_176":206,"unknown_79":46848,"ignition":46,"odometer":null,"unknown_45":-7855896205277767680}} 
[2026-07-27 23:14:41] local.INFO: DEBUG: GPS processor result {"connection_id":143364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:14:41] local.INFO: GPS data processed {"connection_id":143364,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:14:41] local.INFO: Acknowledgment sent {"connection_id":143364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:14:59] local.INFO: TCP Data received {"connection_id":145645,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:14:59] local.INFO: Processing buffer {"connection_id":145645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:14:59] local.INFO: IMEI packet received {"connection_id":145645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 23:14:59] local.INFO: IMEI acknowledgment sent {"connection_id":145645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 23:15:00] local.INFO: TCP Data received {"connection_id":145645,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:15:00] local.INFO: Processing buffer {"connection_id":145645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:15:00] local.INFO: IMEI packet received {"connection_id":145645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 23:15:00] local.INFO: IMEI acknowledgment sent {"connection_id":145645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:15:04] local.INFO: TCP Data received {"connection_id":144374,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144374,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:15:04] local.INFO: Processing buffer {"connection_id":144374,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:15:04] local.INFO: IMEI packet received {"connection_id":144374,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 23:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":144374,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 23:15:05] local.INFO: TCP Data received {"connection_id":145645,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:15:05] local.INFO: Processing buffer {"connection_id":145645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:15:05] local.INFO: IMEI packet received {"connection_id":145645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 23:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":145645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:15:06] local.INFO: TCP Data received {"connection_id":145645,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4ac7368012d92bcc0060c3df0000c012f2a..."} 
[2026-07-27 23:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145645,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4ac7368012d92bcc0060c3df0000c012f2a..."} 
[2026-07-27 23:15:06] local.INFO: Processing buffer {"connection_id":145645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4ac7368012d92bcc0060c3df0000c012f2a..."} 
[2026-07-27 23:15:06] local.INFO: Packet analysis {"connection_id":145645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4ac"} 
[2026-07-27 23:15:06] local.INFO: Extracted packet for processing {"connection_id":145645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4ac"} 
[2026-07-27 23:15:06] local.INFO: GPS Element Parsed {"raw_longitude":764591296,"raw_latitude":101465584,"longitude_deg":76.4591296,"latitude_deg":10.1465584,"altitude":12,"angle":303,"satellites":42,"speed":46,"hex_longitude":"2d92bcc0","hex_latitude":"060c3df0","is_valid_coordinates":true} 
[2026-07-27 23:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:15:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004591360001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:15:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359498134293839872,"note":"Value kept but may cause issues"} 
[2026-07-27 23:15:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7864481192066078720,"note":"Value kept but may cause issues"} 
[2026-07-27 23:15:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:15:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785174193000,"timestamp_ms":1785174193000,"timestamp_seconds":1785174193,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4ac7368"} 
[2026-07-27 23:15:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:15:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 23:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-27 23:15:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:15:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:15:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:15:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:15:06] local.INFO: Teltonika packet parsed successfully {"connection_id":145645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:15:06] local.INFO: Passing IMEI to GPS processor {"connection_id":145645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:15:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":145645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:15:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:15:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:15:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:15:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004591360001,"66":27376,"176":206,"79":46848,"24":46,"16":359498134293839872,"45":-7864481192066078720},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,79,24,16,45]} 
[2026-07-27 23:15:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:15:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:15:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004591360001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:15:06] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-27 23:15:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":46848,"description":"Unknown IO ID 79"} 
[2026-07-27 23:15:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359498134293839872,"km_value":359498134293839.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:15:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7864481192066078720,"description":"Unknown IO ID 45"} 
[2026-07-27 23:15:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004591360001,"power":27376,"unknown_176":206,"unknown_79":46848,"ignition":46,"odometer":null,"unknown_45":-7864481192066078720}} 
[2026-07-27 23:15:06] local.INFO: DEBUG: GPS processor result {"connection_id":145645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:15:06] local.INFO: GPS data processed {"connection_id":145645,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:15:06] local.INFO: Acknowledgment sent {"connection_id":145645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:15:09] local.INFO: TCP Data received {"connection_id":144374,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144374,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:15:09] local.INFO: Processing buffer {"connection_id":144374,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:15:09] local.INFO: IMEI packet received {"connection_id":144374,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 23:15:09] local.INFO: IMEI acknowledgment sent {"connection_id":144374,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:15:11] local.INFO: TCP Data received {"connection_id":144374,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4a94300012d196940071fee200041013124..."} 
[2026-07-27 23:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4a94300012d196940071fee200041013124..."} 
[2026-07-27 23:15:11] local.INFO: Processing buffer {"connection_id":144374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4a94300012d196940071fee200041013124..."} 
[2026-07-27 23:15:11] local.INFO: Packet analysis {"connection_id":144374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4a9"} 
[2026-07-27 23:15:11] local.INFO: Extracted packet for processing {"connection_id":144374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4a9"} 
[2026-07-27 23:15:11] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 23:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:15:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004462848001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:15:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 23:15:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:15:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:15:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785173984000,"timestamp_ms":1785173984000,"timestamp_seconds":1785173984,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4a94300"} 
[2026-07-27 23:15:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:15:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 23:15:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:15:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:15:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:15:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:15:11] local.INFO: Teltonika packet parsed successfully {"connection_id":144374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:15:11] local.INFO: Passing IMEI to GPS processor {"connection_id":144374,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:15:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":144374,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:15:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:15:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 23:15:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 23:15:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004462848001,"66":2155,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 23:15:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 23:15:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 23:15:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004462848001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:15:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 23:15:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 23:15:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:15:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 23:15:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004462848001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 23:15:11] local.INFO: DEBUG: GPS processor result {"connection_id":144374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555940,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:15:11] local.INFO: GPS data processed {"connection_id":144374,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:15:11] local.INFO: Acknowledgment sent {"connection_id":144374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:15:15] local.INFO: TCP Data received {"connection_id":144374,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4a94300012d196940071fee200041013124..."} 
[2026-07-27 23:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4a94300012d196940071fee200041013124..."} 
[2026-07-27 23:15:15] local.INFO: Processing buffer {"connection_id":144374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4a94300012d196940071fee200041013124..."} 
[2026-07-27 23:15:15] local.INFO: Packet analysis {"connection_id":144374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4a9"} 
[2026-07-27 23:15:15] local.INFO: Extracted packet for processing {"connection_id":144374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4a9"} 
[2026-07-27 23:15:15] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 23: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-07-27 23:15:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004462848001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:15:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 23:15:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:15: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-07-27 23:15:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785173984000,"timestamp_ms":1785173984000,"timestamp_seconds":1785173984,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4a94300"} 
[2026-07-27 23:15:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:15:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 23:15:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23: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-07-27 23:15:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:15:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:15:15] local.INFO: Teltonika packet parsed successfully {"connection_id":144374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:15:15] local.INFO: Passing IMEI to GPS processor {"connection_id":144374,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:15:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":144374,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:15:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:15:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 23:15:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 23:15:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004462848001,"66":2155,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 23:15:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 23:15:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 23:15:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004462848001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:15:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 23:15:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 23:15:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:15:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 23:15:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004462848001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 23:15:15] local.INFO: DEBUG: GPS processor result {"connection_id":144374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555941,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:15:15] local.INFO: GPS data processed {"connection_id":144374,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:15:15] local.INFO: Acknowledgment sent {"connection_id":144374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:15:38] local.INFO: TCP Data received {"connection_id":145645,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4ac92a8012d929f00060c5230000c01312e..."} 
[2026-07-27 23:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145645,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4ac92a8012d929f00060c5230000c01312e..."} 
[2026-07-27 23:15:38] local.INFO: Processing buffer {"connection_id":145645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4ac92a8012d929f00060c5230000c01312e..."} 
[2026-07-27 23:15:38] local.INFO: Packet analysis {"connection_id":145645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4ac"} 
[2026-07-27 23:15:38] local.INFO: Extracted packet for processing {"connection_id":145645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4ac"} 
[2026-07-27 23:15:38] local.INFO: GPS Element Parsed {"raw_longitude":764583680,"raw_latitude":101470768,"longitude_deg":76.458368,"latitude_deg":10.1470768,"altitude":12,"angle":305,"satellites":46,"speed":47,"hex_longitude":"2d929f00","hex_latitude":"060c5230","is_valid_coordinates":true} 
[2026-07-27 23:15:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:15:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004593408001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:15:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359498576675471360,"note":"Value kept but may cause issues"} 
[2026-07-27 23:15:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7873206916342747136,"note":"Value kept but may cause issues"} 
[2026-07-27 23:15:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:15:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785174201000,"timestamp_ms":1785174201000,"timestamp_seconds":1785174201,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4ac92a8"} 
[2026-07-27 23:15:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:15:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 23:15:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-27 23:15:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:15:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:15:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:15:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:15:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:15:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:15:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:15:38] 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-07-27 23:15:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:15:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:15:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004593408001,"66":27267,"176":206,"79":46848,"24":47,"16":359498576675471360,"45":-7873206916342747136},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,79,24,16,45]} 
[2026-07-27 23:15:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:15:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:15:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004593408001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:15:38] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-27 23:15:38] local.INFO: Unknown IO ID detected {"io_id":79,"value":46848,"description":"Unknown IO ID 79"} 
[2026-07-27 23:15:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359498576675471360,"km_value":359498576675471.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:15:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7873206916342747136,"description":"Unknown IO ID 45"} 
[2026-07-27 23:15:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004593408001,"power":27267,"unknown_176":206,"unknown_79":46848,"ignition":47,"odometer":null,"unknown_45":-7873206916342747136}} 
[2026-07-27 23:15:38] local.INFO: DEBUG: GPS processor result {"connection_id":145645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:15:38] local.INFO: GPS data processed {"connection_id":145645,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:15:38] local.INFO: Acknowledgment sent {"connection_id":145645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:15:59] local.INFO: TCP Data received {"connection_id":143220,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143220,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:15:59] local.INFO: Processing buffer {"connection_id":143220,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:15:59] local.INFO: IMEI packet received {"connection_id":143220,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 23:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":143220,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 23:16:04] local.INFO: TCP Data received {"connection_id":143220,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143220,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:16:04] local.INFO: Processing buffer {"connection_id":143220,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:16:04] local.INFO: IMEI packet received {"connection_id":143220,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 23:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":143220,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:16:05] local.INFO: TCP Data received {"connection_id":144375,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:16:05] local.INFO: Processing buffer {"connection_id":144375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:16:05] local.INFO: IMEI packet received {"connection_id":144375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 23:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":144375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 23:16:05] local.INFO: TCP Data received {"connection_id":143220,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4addac8012d196940071fee200041013123..."} 
[2026-07-27 23:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143220,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4addac8012d196940071fee200041013123..."} 
[2026-07-27 23:16:05] local.INFO: Processing buffer {"connection_id":143220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4addac8012d196940071fee200041013123..."} 
[2026-07-27 23:16:05] local.INFO: Packet analysis {"connection_id":143220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4ad"} 
[2026-07-27 23:16:05] local.INFO: Extracted packet for processing {"connection_id":143220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4ad"} 
[2026-07-27 23:16:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 23:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:16:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004539904001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:16:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 23:16:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:16:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:16:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785174285000,"timestamp_ms":1785174285000,"timestamp_seconds":1785174285,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4addac8"} 
[2026-07-27 23:16:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:16:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 23:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-27 23:16:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:16:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:16:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:16:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:16:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:16:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143220,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:16:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143220,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:16:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:16:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 23:16:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 23:16:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004539904001,"66":2177,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 23:16:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 23:16:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 23:16:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004539904001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:16:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 23:16:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 23:16:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:16:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 23:16:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004539904001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 23:16:05] local.INFO: DEBUG: GPS processor result {"connection_id":143220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555943,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:16:05] local.INFO: GPS data processed {"connection_id":143220,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:16:05] local.INFO: Acknowledgment sent {"connection_id":143220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:16:05] local.INFO: TCP Data received {"connection_id":144375,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:16:05] local.INFO: Processing buffer {"connection_id":144375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:16:05] local.INFO: IMEI packet received {"connection_id":144375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 23:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":144375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:16:06] local.INFO: TCP Data received {"connection_id":144375,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4ae09a8012d915a00060d39f0001101362a..."} 
[2026-07-27 23:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4ae09a8012d915a00060d39f0001101362a..."} 
[2026-07-27 23:16:06] local.INFO: Processing buffer {"connection_id":144375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4ae09a8012d915a00060d39f0001101362a..."} 
[2026-07-27 23:16:06] local.INFO: Packet analysis {"connection_id":144375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4ae"} 
[2026-07-27 23:16:06] local.INFO: Extracted packet for processing {"connection_id":144375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4ae"} 
[2026-07-27 23:16:06] local.INFO: GPS Element Parsed {"raw_longitude":764500480,"raw_latitude":101530096,"longitude_deg":76.450048,"latitude_deg":10.1530096,"altitude":17,"angle":310,"satellites":42,"speed":40,"hex_longitude":"2d915a00","hex_latitude":"060d39f0","is_valid_coordinates":true} 
[2026-07-27 23:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004617728001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:16:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359503485823090688,"note":"Value kept but may cause issues"} 
[2026-07-27 23:16:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7965249233712148480,"note":"Value kept but may cause issues"} 
[2026-07-27 23:16:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:16:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785174297000,"timestamp_ms":1785174297000,"timestamp_seconds":1785174297,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4ae09a8"} 
[2026-07-27 23:16:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:16:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 23:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-07-27 23:16:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":826,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:16:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:16:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:16:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:16:06] local.INFO: Teltonika packet parsed successfully {"connection_id":144375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:16:06] local.INFO: Passing IMEI to GPS processor {"connection_id":144375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:16:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":144375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:16:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:16:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:16:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:16:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004617728001,"66":27213,"177":206,"79":46848,"24":40,"16":359503485823090688,"45":-7965249233712148480},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,79,24,16,45]} 
[2026-07-27 23:16:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:16:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:16:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004617728001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:16:06] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-27 23:16:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":46848,"description":"Unknown IO ID 79"} 
[2026-07-27 23:16:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359503485823090688,"km_value":359503485823090.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:16:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7965249233712148480,"description":"Unknown IO ID 45"} 
[2026-07-27 23:16:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004617728001,"power":27213,"unknown_177":206,"unknown_79":46848,"ignition":40,"odometer":null,"unknown_45":-7965249233712148480}} 
[2026-07-27 23:16:06] local.INFO: DEBUG: GPS processor result {"connection_id":144375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:16:06] local.INFO: GPS data processed {"connection_id":144375,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:16:06] local.INFO: Acknowledgment sent {"connection_id":144375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:16:07] local.INFO: TCP Data received {"connection_id":144375,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4ae2cd0012d913e80060d51a0001001372b..."} 
[2026-07-27 23:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4ae2cd0012d913e80060d51a0001001372b..."} 
[2026-07-27 23:16:07] local.INFO: Processing buffer {"connection_id":144375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4ae2cd0012d913e80060d51a0001001372b..."} 
[2026-07-27 23:16:07] local.INFO: Packet analysis {"connection_id":144375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4ae"} 
[2026-07-27 23:16:07] local.INFO: Extracted packet for processing {"connection_id":144375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4ae"} 
[2026-07-27 23:16:07] local.INFO: GPS Element Parsed {"raw_longitude":764493440,"raw_latitude":101536160,"longitude_deg":76.449344,"latitude_deg":10.153616,"altitude":16,"angle":311,"satellites":43,"speed":41,"hex_longitude":"2d913e80","hex_latitude":"060d51a0","is_valid_coordinates":true} 
[2026-07-27 23:16:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:16:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004620032001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:16:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359503932499689472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:16:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7973060164314337280,"note":"Value kept but may cause issues"} 
[2026-07-27 23:16:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:16:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785174306000,"timestamp_ms":1785174306000,"timestamp_seconds":1785174306,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4ae2cd0"} 
[2026-07-27 23:16:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:16:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 23:16:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-27 23:16:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:16:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:16:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:16:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:16:07] local.INFO: Teltonika packet parsed successfully {"connection_id":144375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:16:07] local.INFO: Passing IMEI to GPS processor {"connection_id":144375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:16:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":144375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:16:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:16:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:16:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:16:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004620032001,"66":27267,"177":206,"79":46848,"24":41,"16":359503932499689472,"45":-7973060164314337280},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,79,24,16,45]} 
[2026-07-27 23:16:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:16:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:16:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004620032001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:16:07] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-27 23:16:07] local.INFO: Unknown IO ID detected {"io_id":79,"value":46848,"description":"Unknown IO ID 79"} 
[2026-07-27 23:16:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359503932499689472,"km_value":359503932499689.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:16:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7973060164314337280,"description":"Unknown IO ID 45"} 
[2026-07-27 23:16:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004620032001,"power":27267,"unknown_177":206,"unknown_79":46848,"ignition":41,"odometer":null,"unknown_45":-7973060164314337280}} 
[2026-07-27 23:16:07] local.INFO: DEBUG: GPS processor result {"connection_id":144375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:16:07] local.INFO: GPS data processed {"connection_id":144375,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:16:07] local.INFO: Acknowledgment sent {"connection_id":144375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:16:36] local.INFO: TCP Data received {"connection_id":143220,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4addac8012d196940071fee200041013123..."} 
[2026-07-27 23:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143220,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4addac8012d196940071fee200041013123..."} 
[2026-07-27 23:16:36] local.INFO: Processing buffer {"connection_id":143220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4addac8012d196940071fee200041013123..."} 
[2026-07-27 23:16:36] local.INFO: Packet analysis {"connection_id":143220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4ad"} 
[2026-07-27 23:16:36] local.INFO: Extracted packet for processing {"connection_id":143220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4ad"} 
[2026-07-27 23:16:36] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 23:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:16:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004539904001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:16:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 23:16:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:16:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:16:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785174285000,"timestamp_ms":1785174285000,"timestamp_seconds":1785174285,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4addac8"} 
[2026-07-27 23:16:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:16:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 23:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-27 23:16:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:16:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:16:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:16:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:16:36] local.INFO: Teltonika packet parsed successfully {"connection_id":143220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:16:36] local.INFO: Passing IMEI to GPS processor {"connection_id":143220,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:16:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":143220,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:16:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:16:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 23:16:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 23:16:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004539904001,"66":2177,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 23:16:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 23:16:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 23:16:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004539904001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:16:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 23:16:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 23:16:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:16:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 23:16:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004539904001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 23:16:36] local.INFO: DEBUG: GPS processor result {"connection_id":143220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555946,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:16:36] local.INFO: GPS data processed {"connection_id":143220,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:16:36] local.INFO: Acknowledgment sent {"connection_id":143220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:16:38] local.INFO: TCP Data received {"connection_id":144375,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4ae4ff8012d912200060d6a300010013628..."} 
[2026-07-27 23:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4ae4ff8012d912200060d6a300010013628..."} 
[2026-07-27 23:16:38] local.INFO: Processing buffer {"connection_id":144375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4ae4ff8012d912200060d6a300010013628..."} 
[2026-07-27 23:16:38] local.INFO: Packet analysis {"connection_id":144375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4ae"} 
[2026-07-27 23:16:38] local.INFO: Extracted packet for processing {"connection_id":144375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4ae"} 
[2026-07-27 23:16:38] local.INFO: GPS Element Parsed {"raw_longitude":764486144,"raw_latitude":101542448,"longitude_deg":76.4486144,"latitude_deg":10.1542448,"altitude":16,"angle":310,"satellites":40,"speed":43,"hex_longitude":"2d912200","hex_latitude":"060d6a30","is_valid_coordinates":true} 
[2026-07-27 23:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:16:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004622336001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:16:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359504392061190144,"note":"Value kept but may cause issues"} 
[2026-07-27 23:16:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7980800726172327936,"note":"Value kept but may cause issues"} 
[2026-07-27 23:16:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:16:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785174315000,"timestamp_ms":1785174315000,"timestamp_seconds":1785174315,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4ae4ff8"} 
[2026-07-27 23:16:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:16:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 23:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-27 23:16:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:16:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:16:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:16:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:16:38] local.INFO: Teltonika packet parsed successfully {"connection_id":144375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:16:38] local.INFO: Passing IMEI to GPS processor {"connection_id":144375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:16:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":144375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:16:38] 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-07-27 23:16:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:16:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:16:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004622336001,"66":27321,"177":206,"79":46848,"24":43,"16":359504392061190144,"45":-7980800726172327936},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,79,24,16,45]} 
[2026-07-27 23:16:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:16:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:16:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004622336001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:16:38] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-27 23:16:38] local.INFO: Unknown IO ID detected {"io_id":79,"value":46848,"description":"Unknown IO ID 79"} 
[2026-07-27 23:16:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359504392061190144,"km_value":359504392061190.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:16:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7980800726172327936,"description":"Unknown IO ID 45"} 
[2026-07-27 23:16:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004622336001,"power":27321,"unknown_177":206,"unknown_79":46848,"ignition":43,"odometer":null,"unknown_45":-7980800726172327936}} 
[2026-07-27 23:16:38] local.INFO: DEBUG: GPS processor result {"connection_id":144375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:16:38] local.INFO: GPS data processed {"connection_id":144375,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:16:38] local.INFO: Acknowledgment sent {"connection_id":144375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:16:58] local.INFO: TCP Data received {"connection_id":144376,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144376,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:16:58] local.INFO: Processing buffer {"connection_id":144376,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:16:58] local.INFO: IMEI packet received {"connection_id":144376,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 23:16:58] local.INFO: IMEI acknowledgment sent {"connection_id":144376,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 23:17:00] local.INFO: TCP Data received {"connection_id":144377,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:17:00] local.INFO: Processing buffer {"connection_id":144377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:17:00] local.INFO: IMEI packet received {"connection_id":144377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 23:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":144377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 23:17:03] local.INFO: TCP Data received {"connection_id":144377,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:17:03] local.INFO: Processing buffer {"connection_id":144377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:17:03] local.INFO: IMEI packet received {"connection_id":144377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 23:17:03] local.INFO: IMEI acknowledgment sent {"connection_id":144377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:17:04] local.INFO: TCP Data received {"connection_id":144376,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144376,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:17:04] local.INFO: Processing buffer {"connection_id":144376,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:17:04] local.INFO: IMEI packet received {"connection_id":144376,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 23:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":144376,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:17:05] local.INFO: TCP Data received {"connection_id":144376,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4addac8012d196940071fee200041013123..."} 
[2026-07-27 23:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4addac8012d196940071fee200041013123..."} 
[2026-07-27 23:17:05] local.INFO: Processing buffer {"connection_id":144376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4addac8012d196940071fee200041013123..."} 
[2026-07-27 23:17:05] local.INFO: Packet analysis {"connection_id":144376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4ad"} 
[2026-07-27 23:17:05] local.INFO: Extracted packet for processing {"connection_id":144376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4ad"} 
[2026-07-27 23:17:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 23:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:17:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004539904001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:17:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 23:17:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:17:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:17:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785174285000,"timestamp_ms":1785174285000,"timestamp_seconds":1785174285,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4addac8"} 
[2026-07-27 23:17:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:17:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 23:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-27 23:17:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:17:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:17:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:17:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:17:05] local.INFO: Teltonika packet parsed successfully {"connection_id":144376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:17:05] local.INFO: Passing IMEI to GPS processor {"connection_id":144376,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:17:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":144376,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:17:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:17:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 23:17:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 23:17:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004539904001,"66":2177,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 23:17:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 23:17:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 23:17:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004539904001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:17:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 23:17:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 23:17:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:17:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 23:17:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004539904001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 23:17:05] local.INFO: DEBUG: GPS processor result {"connection_id":144376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555948,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:17:05] local.INFO: GPS data processed {"connection_id":144376,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:17:05] local.INFO: Acknowledgment sent {"connection_id":144376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:17:07] local.INFO: TCP Data received {"connection_id":144377,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4ae7320012d910440060d8388000f01372d..."} 
[2026-07-27 23:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4ae7320012d910440060d8388000f01372d..."} 
[2026-07-27 23:17:07] local.INFO: Processing buffer {"connection_id":144377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4ae7320012d910440060d8388000f01372d..."} 
[2026-07-27 23:17:07] local.INFO: Packet analysis {"connection_id":144377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4ae"} 
[2026-07-27 23:17:07] local.INFO: Extracted packet for processing {"connection_id":144377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4ae"} 
[2026-07-27 23:17:07] local.INFO: GPS Element Parsed {"raw_longitude":764478528,"raw_latitude":101548936,"longitude_deg":76.4478528,"latitude_deg":10.1548936,"altitude":15,"angle":311,"satellites":45,"speed":44,"hex_longitude":"2d910440","hex_latitude":"060d8388","is_valid_coordinates":true} 
[2026-07-27 23:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:17:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004624640001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:17:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359504873097527296,"note":"Value kept but may cause issues"} 
[2026-07-27 23:17:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7988822763006971904,"note":"Value kept but may cause issues"} 
[2026-07-27 23:17:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:17:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785174324000,"timestamp_ms":1785174324000,"timestamp_seconds":1785174324,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4ae7320"} 
[2026-07-27 23:17:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:17:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 23:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-27 23:17:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:17:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:17:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:17:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:17:07] local.INFO: Teltonika packet parsed successfully {"connection_id":144377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:17:07] local.INFO: Passing IMEI to GPS processor {"connection_id":144377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:17:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":144377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:17:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:17:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:17:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:17:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004624640001,"66":27365,"177":206,"79":46848,"24":44,"16":359504873097527296,"45":-7988822763006971904},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,79,24,16,45]} 
[2026-07-27 23:17:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:17:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:17:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004624640001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:17:07] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-27 23:17:07] local.INFO: Unknown IO ID detected {"io_id":79,"value":46848,"description":"Unknown IO ID 79"} 
[2026-07-27 23:17:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359504873097527296,"km_value":359504873097527.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:17:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7988822763006971904,"description":"Unknown IO ID 45"} 
[2026-07-27 23:17:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004624640001,"power":27365,"unknown_177":206,"unknown_79":46848,"ignition":44,"odometer":null,"unknown_45":-7988822763006971904}} 
[2026-07-27 23:17:07] local.INFO: DEBUG: GPS processor result {"connection_id":144377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:17:07] local.INFO: GPS data processed {"connection_id":144377,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:17:07] local.INFO: Acknowledgment sent {"connection_id":144377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:17:37] local.INFO: TCP Data received {"connection_id":144376,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4addac8012d196940071fee200041013123..."} 
[2026-07-27 23:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4addac8012d196940071fee200041013123..."} 
[2026-07-27 23:17:37] local.INFO: Processing buffer {"connection_id":144376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4addac8012d196940071fee200041013123..."} 
[2026-07-27 23:17:37] local.INFO: Packet analysis {"connection_id":144376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4ad"} 
[2026-07-27 23:17:37] local.INFO: Extracted packet for processing {"connection_id":144376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4ad"} 
[2026-07-27 23:17:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 23:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:17:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004539904001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:17:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 23:17:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:17:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:17:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785174285000,"timestamp_ms":1785174285000,"timestamp_seconds":1785174285,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4addac8"} 
[2026-07-27 23:17:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:17:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 23:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-27 23:17:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:17:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:17:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:17:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:17:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:17:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144376,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:17:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144376,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:17:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:17:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 23:17:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 23:17:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004539904001,"66":2177,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 23:17:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 23:17:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 23:17:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004539904001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:17:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 23:17:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 23:17:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:17:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 23:17:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004539904001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 23:17:37] local.INFO: DEBUG: GPS processor result {"connection_id":144376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555950,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:17:37] local.INFO: GPS data processed {"connection_id":144376,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:17:37] local.INFO: Acknowledgment sent {"connection_id":144376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:17:38] local.INFO: TCP Data received {"connection_id":144377,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4ae9648012d90e880060d9c48000f01372c..."} 
[2026-07-27 23:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4ae9648012d90e880060d9c48000f01372c..."} 
[2026-07-27 23:17:38] local.INFO: Processing buffer {"connection_id":144377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4ae9648012d90e880060d9c48000f01372c..."} 
[2026-07-27 23:17:38] local.INFO: Packet analysis {"connection_id":144377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4ae"} 
[2026-07-27 23:17:38] local.INFO: Extracted packet for processing {"connection_id":144377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4ae"} 
[2026-07-27 23:17:38] local.INFO: GPS Element Parsed {"raw_longitude":764471424,"raw_latitude":101555272,"longitude_deg":76.4471424,"latitude_deg":10.1555272,"altitude":15,"angle":311,"satellites":44,"speed":39,"hex_longitude":"2d90e880","hex_latitude":"060d9c48","is_valid_coordinates":true} 
[2026-07-27 23:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:17:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004626944001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:17:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359505332659027968,"note":"Value kept but may cause issues"} 
[2026-07-27 23:17:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7997196643562452992,"note":"Value kept but may cause issues"} 
[2026-07-27 23:17:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:17:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785174333000,"timestamp_ms":1785174333000,"timestamp_seconds":1785174333,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4ae9648"} 
[2026-07-27 23:17:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:17:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 23:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-27 23:17:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:17:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:17:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:17:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:17:38] local.INFO: Teltonika packet parsed successfully {"connection_id":144377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:17:38] local.INFO: Passing IMEI to GPS processor {"connection_id":144377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:17:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":144377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:17:38] 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-07-27 23:17:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:17:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:17:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004626944001,"66":27365,"201":206,"79":46848,"24":39,"16":359505332659027968,"45":-7997196643562452992},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,79,24,16,45]} 
[2026-07-27 23:17:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:17:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:17:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004626944001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:17:38] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-07-27 23:17:38] local.INFO: Unknown IO ID detected {"io_id":79,"value":46848,"description":"Unknown IO ID 79"} 
[2026-07-27 23:17:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359505332659027968,"km_value":359505332659027.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:17:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7997196643562452992,"description":"Unknown IO ID 45"} 
[2026-07-27 23:17:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004626944001,"power":27365,"unknown_201":206,"unknown_79":46848,"ignition":39,"odometer":null,"unknown_45":-7997196643562452992}} 
[2026-07-27 23:17:38] local.INFO: DEBUG: GPS processor result {"connection_id":144377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:17:38] local.INFO: GPS data processed {"connection_id":144377,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:17:38] local.INFO: Acknowledgment sent {"connection_id":144377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:17:58] local.INFO: TCP Data received {"connection_id":145646,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145646,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:17:58] local.INFO: Processing buffer {"connection_id":145646,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:17:58] local.INFO: IMEI packet received {"connection_id":145646,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 23:17:58] local.INFO: IMEI acknowledgment sent {"connection_id":145646,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 23:18:00] local.INFO: TCP Data received {"connection_id":145647,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:18:00] local.INFO: Processing buffer {"connection_id":145647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:18:00] local.INFO: IMEI packet received {"connection_id":145647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 23:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":145647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 23:18:01] local.INFO: TCP Data received {"connection_id":145647,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:18:01] local.INFO: Processing buffer {"connection_id":145647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:18:01] local.INFO: IMEI packet received {"connection_id":145647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 23:18:01] local.INFO: IMEI acknowledgment sent {"connection_id":145647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:18:04] local.INFO: TCP Data received {"connection_id":145646,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145646,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:18:04] local.INFO: Processing buffer {"connection_id":145646,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:18:04] local.INFO: IMEI packet received {"connection_id":145646,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 23:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":145646,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:18:05] local.INFO: TCP Data received {"connection_id":145647,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:18:05] local.INFO: Processing buffer {"connection_id":145647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:18:05] local.INFO: IMEI packet received {"connection_id":145647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 23:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":145647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:18:05] local.INFO: TCP Data received {"connection_id":145646,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4addac8012d196940071fee200041013123..."} 
[2026-07-27 23:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4addac8012d196940071fee200041013123..."} 
[2026-07-27 23:18:05] local.INFO: Processing buffer {"connection_id":145646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4addac8012d196940071fee200041013123..."} 
[2026-07-27 23:18:05] local.INFO: Packet analysis {"connection_id":145646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4ad"} 
[2026-07-27 23:18:05] local.INFO: Extracted packet for processing {"connection_id":145646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4ad"} 
[2026-07-27 23:18:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 23:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:18:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004539904001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:18:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 23:18:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:18:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:18:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785174285000,"timestamp_ms":1785174285000,"timestamp_seconds":1785174285,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4addac8"} 
[2026-07-27 23:18:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:18:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 23:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-27 23:18:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:18:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:18:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:18:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:18:05] local.INFO: Teltonika packet parsed successfully {"connection_id":145646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:18:05] local.INFO: Passing IMEI to GPS processor {"connection_id":145646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:18:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":145646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:18:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:18:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 23:18:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 23:18:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004539904001,"66":2177,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 23:18:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 23:18:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 23:18:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004539904001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:18:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 23:18:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 23:18:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:18:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 23:18:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004539904001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 23:18:05] local.INFO: DEBUG: GPS processor result {"connection_id":145646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555952,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:18:05] local.INFO: GPS data processed {"connection_id":145646,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:18:05] local.INFO: Acknowledgment sent {"connection_id":145646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:18:06] local.INFO: TCP Data received {"connection_id":145647,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4aebd58012d90cb40060db5e8001001382e..."} 
[2026-07-27 23:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145647,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4aebd58012d90cb40060db5e8001001382e..."} 
[2026-07-27 23:18:06] local.INFO: Processing buffer {"connection_id":145647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4aebd58012d90cb40060db5e8001001382e..."} 
[2026-07-27 23:18:06] local.INFO: Packet analysis {"connection_id":145647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4ae"} 
[2026-07-27 23:18:06] local.INFO: Extracted packet for processing {"connection_id":145647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4ae"} 
[2026-07-27 23:18:06] local.INFO: GPS Element Parsed {"raw_longitude":764463936,"raw_latitude":101561832,"longitude_deg":76.4463936,"latitude_deg":10.1561832,"altitude":16,"angle":312,"satellites":46,"speed":40,"hex_longitude":"2d90cb40","hex_latitude":"060db5e8","is_valid_coordinates":true} 
[2026-07-27 23:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:18:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004629248001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:18:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359505809400397824,"note":"Value kept but may cause issues"} 
[2026-07-27 23:18:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8005007574164551680,"note":"Value kept but may cause issues"} 
[2026-07-27 23:18:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:18:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785174343000,"timestamp_ms":1785174343000,"timestamp_seconds":1785174343,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4aebd58"} 
[2026-07-27 23:18:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:18:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 23:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-27 23:18:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:18:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:18:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:18:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:18:06] local.INFO: Teltonika packet parsed successfully {"connection_id":145647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:18:06] local.INFO: Passing IMEI to GPS processor {"connection_id":145647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:18:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":145647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:18:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:18:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:18:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:18:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004629248001,"66":27397,"201":206,"79":46848,"24":40,"16":359505809400397824,"45":-8005007574164551680},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,79,24,16,45]} 
[2026-07-27 23:18:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:18:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:18:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004629248001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:18:06] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-07-27 23:18:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":46848,"description":"Unknown IO ID 79"} 
[2026-07-27 23:18:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359505809400397824,"km_value":359505809400397.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:18:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8005007574164551680,"description":"Unknown IO ID 45"} 
[2026-07-27 23:18:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004629248001,"power":27397,"unknown_201":206,"unknown_79":46848,"ignition":40,"odometer":null,"unknown_45":-8005007574164551680}} 
[2026-07-27 23:18:06] local.INFO: DEBUG: GPS processor result {"connection_id":145647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:18:06] local.INFO: GPS data processed {"connection_id":145647,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:18:06] local.INFO: Acknowledgment sent {"connection_id":145647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:18:37] local.INFO: TCP Data received {"connection_id":145646,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4addac8012d196940071fee200041013123..."} 
[2026-07-27 23:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4addac8012d196940071fee200041013123..."} 
[2026-07-27 23:18:37] local.INFO: Processing buffer {"connection_id":145646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4addac8012d196940071fee200041013123..."} 
[2026-07-27 23:18:37] local.INFO: Packet analysis {"connection_id":145646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4ad"} 
[2026-07-27 23:18:37] local.INFO: Extracted packet for processing {"connection_id":145646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4ad"} 
[2026-07-27 23:18:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 23:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004539904001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 23:18:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:18:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785174285000,"timestamp_ms":1785174285000,"timestamp_seconds":1785174285,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4addac8"} 
[2026-07-27 23:18:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:18:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 23:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-27 23:18:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:18:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:18:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:18:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 23:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 23:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004539904001,"66":2177,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 23:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 23:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 23:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004539904001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:18:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 23:18:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 23:18:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:18:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 23:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004539904001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 23:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":145646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555954,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:18:37] local.INFO: GPS data processed {"connection_id":145646,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:18:37] local.INFO: Acknowledgment sent {"connection_id":145646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:18:37] local.INFO: TCP Data received {"connection_id":145647,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4aee080012d90b000060dcdf0001001382a..."} 
[2026-07-27 23:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145647,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4aee080012d90b000060dcdf0001001382a..."} 
[2026-07-27 23:18:37] local.INFO: Processing buffer {"connection_id":145647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4aee080012d90b000060dcdf0001001382a..."} 
[2026-07-27 23:18:37] local.INFO: Packet analysis {"connection_id":145647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4ae"} 
[2026-07-27 23:18:37] local.INFO: Extracted packet for processing {"connection_id":145647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4ae"} 
[2026-07-27 23:18:37] local.INFO: GPS Element Parsed {"raw_longitude":764456960,"raw_latitude":101567984,"longitude_deg":76.445696,"latitude_deg":10.1567984,"altitude":16,"angle":312,"satellites":42,"speed":43,"hex_longitude":"2d90b000","hex_latitude":"060dcdf0","is_valid_coordinates":true} 
[2026-07-27 23:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004631808001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359506260371963904,"note":"Value kept but may cause issues"} 
[2026-07-27 23:18:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8013240717231659008,"note":"Value kept but may cause issues"} 
[2026-07-27 23:18:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785174352000,"timestamp_ms":1785174352000,"timestamp_seconds":1785174352,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4aee080"} 
[2026-07-27 23:18:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:18:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 23:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-27 23:18:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:18:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:18:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:18:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004631808001,"66":27245,"201":206,"79":46848,"24":43,"16":359506260371963904,"45":-8013240717231659008},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,79,24,16,45]} 
[2026-07-27 23:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004631808001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:18:37] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-07-27 23:18:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":46848,"description":"Unknown IO ID 79"} 
[2026-07-27 23:18:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359506260371963904,"km_value":359506260371963.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:18:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8013240717231659008,"description":"Unknown IO ID 45"} 
[2026-07-27 23:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004631808001,"power":27245,"unknown_201":206,"unknown_79":46848,"ignition":43,"odometer":null,"unknown_45":-8013240717231659008}} 
[2026-07-27 23:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":145647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:18:37] local.INFO: GPS data processed {"connection_id":145647,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:18:37] local.INFO: Acknowledgment sent {"connection_id":145647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:18:58] local.INFO: TCP Data received {"connection_id":144378,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144378,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:18:58] local.INFO: Processing buffer {"connection_id":144378,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:18:58] local.INFO: IMEI packet received {"connection_id":144378,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 23:18:58] local.INFO: IMEI acknowledgment sent {"connection_id":144378,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 23:19:00] local.INFO: TCP Data received {"connection_id":144379,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:19:00] local.INFO: Processing buffer {"connection_id":144379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:19:00] local.INFO: IMEI packet received {"connection_id":144379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 23:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":144379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 23:19:04] local.INFO: TCP Data received {"connection_id":144378,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144378,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:19:04] local.INFO: Processing buffer {"connection_id":144378,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:19:04] local.INFO: IMEI packet received {"connection_id":144378,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 23:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":144378,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:19:05] local.INFO: TCP Data received {"connection_id":144379,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:19:05] local.INFO: Processing buffer {"connection_id":144379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:19:05] local.INFO: IMEI packet received {"connection_id":144379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 23:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":144379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:19:05] local.INFO: TCP Data received {"connection_id":144378,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4addac8012d196940071fee200041013123..."} 
[2026-07-27 23:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4addac8012d196940071fee200041013123..."} 
[2026-07-27 23:19:05] local.INFO: Processing buffer {"connection_id":144378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4addac8012d196940071fee200041013123..."} 
[2026-07-27 23:19:05] local.INFO: Packet analysis {"connection_id":144378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4ad"} 
[2026-07-27 23:19:05] local.INFO: Extracted packet for processing {"connection_id":144378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4ad"} 
[2026-07-27 23:19:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 23:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:19:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004539904001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:19:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 23:19:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:19:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:19:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785174285000,"timestamp_ms":1785174285000,"timestamp_seconds":1785174285,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4addac8"} 
[2026-07-27 23:19:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:19:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 23:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-27 23:19:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:19:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:19:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:19:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:19:05] local.INFO: Teltonika packet parsed successfully {"connection_id":144378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:19:05] local.INFO: Passing IMEI to GPS processor {"connection_id":144378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:19:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":144378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:19:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:19:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 23:19:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 23:19:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004539904001,"66":2177,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 23:19:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 23:19:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 23:19:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004539904001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:19:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 23:19:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 23:19:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:19:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 23:19:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004539904001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 23:19:05] local.INFO: DEBUG: GPS processor result {"connection_id":144378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555956,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:19:05] local.INFO: GPS data processed {"connection_id":144378,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:19:05] local.INFO: Acknowledgment sent {"connection_id":144378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:19:06] local.INFO: TCP Data received {"connection_id":144379,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4af03a8012d909340060de6700010013528..."} 
[2026-07-27 23:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4af03a8012d909340060de6700010013528..."} 
[2026-07-27 23:19:06] local.INFO: Processing buffer {"connection_id":144379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4af03a8012d909340060de6700010013528..."} 
[2026-07-27 23:19:06] local.INFO: Packet analysis {"connection_id":144379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4af"} 
[2026-07-27 23:19:06] local.INFO: Extracted packet for processing {"connection_id":144379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4af"} 
[2026-07-27 23:19:06] local.INFO: GPS Element Parsed {"raw_longitude":764449600,"raw_latitude":101574256,"longitude_deg":76.44496,"latitude_deg":10.1574256,"altitude":16,"angle":309,"satellites":40,"speed":42,"hex_longitude":"2d909340","hex_latitude":"060de670","is_valid_coordinates":true} 
[2026-07-27 23:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004634112001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:19:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359506719933464576,"note":"Value kept but may cause issues"} 
[2026-07-27 23:19:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8020910910345449472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:19:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:19:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785174361000,"timestamp_ms":1785174361000,"timestamp_seconds":1785174361,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4af03a8"} 
[2026-07-27 23:19:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:19:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 23:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-27 23:19:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:19:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:19:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:19:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:19:06] local.INFO: Teltonika packet parsed successfully {"connection_id":144379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:19:06] local.INFO: Passing IMEI to GPS processor {"connection_id":144379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:19:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":144379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:19:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:19:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:19:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:19:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004634112001,"66":27321,"195":206,"79":46848,"24":42,"16":359506719933464576,"45":-8020910910345449472},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,79,24,16,45]} 
[2026-07-27 23:19:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:19:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:19:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004634112001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:19:06] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-07-27 23:19:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":46848,"description":"Unknown IO ID 79"} 
[2026-07-27 23:19:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359506719933464576,"km_value":359506719933464.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:19:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8020910910345449472,"description":"Unknown IO ID 45"} 
[2026-07-27 23:19:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004634112001,"power":27321,"unknown_195":206,"unknown_79":46848,"ignition":42,"odometer":null,"unknown_45":-8020910910345449472}} 
[2026-07-27 23:19:06] local.INFO: DEBUG: GPS processor result {"connection_id":144379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:19:06] local.INFO: GPS data processed {"connection_id":144379,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:19:06] local.INFO: Acknowledgment sent {"connection_id":144379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:19:37] local.INFO: TCP Data received {"connection_id":144379,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4b0ff78012d900240060eb570001401462d..."} 
[2026-07-27 23:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4b0ff78012d900240060eb570001401462d..."} 
[2026-07-27 23:19:37] local.INFO: Processing buffer {"connection_id":144379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4b0ff78012d900240060eb570001401462d..."} 
[2026-07-27 23:19:37] local.INFO: Packet analysis {"connection_id":144379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4b0"} 
[2026-07-27 23:19:37] local.INFO: Extracted packet for processing {"connection_id":144379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4b0"} 
[2026-07-27 23:19:37] local.INFO: GPS Element Parsed {"raw_longitude":764412480,"raw_latitude":101627248,"longitude_deg":76.441248,"latitude_deg":10.1627248,"altitude":20,"angle":326,"satellites":45,"speed":30,"hex_longitude":"2d900240","hex_latitude":"060eb570","is_valid_coordinates":true} 
[2026-07-27 23:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004666624001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359509941158936576,"note":"Value kept but may cause issues"} 
[2026-07-27 23:19:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8064187688001484800,"note":"Value kept but may cause issues"} 
[2026-07-27 23:19:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785174491000,"timestamp_ms":1785174491000,"timestamp_seconds":1785174491,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4b0ff78"} 
[2026-07-27 23:19:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:19:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 23:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-27 23:19:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:19:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:19:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:19:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004666624001,"66":27571,"195":206,"79":46848,"24":30,"16":359509941158936576,"45":-8064187688001484800},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,79,24,16,45]} 
[2026-07-27 23:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004666624001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:19:37] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-07-27 23:19:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":46848,"description":"Unknown IO ID 79"} 
[2026-07-27 23:19:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359509941158936576,"km_value":359509941158936.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:19:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8064187688001484800,"description":"Unknown IO ID 45"} 
[2026-07-27 23:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004666624001,"power":27571,"unknown_195":206,"unknown_79":46848,"ignition":30,"odometer":null,"unknown_45":-8064187688001484800}} 
[2026-07-27 23:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":144379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:19:37] local.INFO: GPS data processed {"connection_id":144379,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:19:37] local.INFO: Acknowledgment sent {"connection_id":144379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:19:37] local.INFO: TCP Data received {"connection_id":144378,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4addac8012d196940071fee200041013123..."} 
[2026-07-27 23:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4addac8012d196940071fee200041013123..."} 
[2026-07-27 23:19:37] local.INFO: Processing buffer {"connection_id":144378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4addac8012d196940071fee200041013123..."} 
[2026-07-27 23:19:37] local.INFO: Packet analysis {"connection_id":144378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4ad"} 
[2026-07-27 23:19:37] local.INFO: Extracted packet for processing {"connection_id":144378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4ad"} 
[2026-07-27 23:19:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 23:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004539904001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 23:19:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:19:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785174285000,"timestamp_ms":1785174285000,"timestamp_seconds":1785174285,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4addac8"} 
[2026-07-27 23:19:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:19:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 23:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-27 23:19:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:19:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:19:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:19:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 23:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 23:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004539904001,"66":2177,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 23:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 23:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 23:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004539904001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:19:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 23:19:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 23:19:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:19:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 23:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004539904001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 23:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":144378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555959,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:19:37] local.INFO: GPS data processed {"connection_id":144378,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:19:37] local.INFO: Acknowledgment sent {"connection_id":144378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:20:01] local.INFO: TCP Data received {"connection_id":144380,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:20:01] local.INFO: Processing buffer {"connection_id":144380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:20:01] local.INFO: IMEI packet received {"connection_id":144380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 23:20:01] local.INFO: IMEI acknowledgment sent {"connection_id":144380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 23:20:01] local.INFO: TCP Data received {"connection_id":144380,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:20:01] local.INFO: Processing buffer {"connection_id":144380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:20:01] local.INFO: IMEI packet received {"connection_id":144380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 23:20:01] local.INFO: IMEI acknowledgment sent {"connection_id":144380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:20:04] local.INFO: TCP Data received {"connection_id":143365,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143365,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:20:04] local.INFO: Processing buffer {"connection_id":143365,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:20:04] local.INFO: IMEI packet received {"connection_id":143365,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 23:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":143365,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 23:20:05] local.INFO: TCP Data received {"connection_id":144380,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:20:05] local.INFO: Processing buffer {"connection_id":144380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:20:05] local.INFO: IMEI packet received {"connection_id":144380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 23:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":144380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:20:09] local.INFO: TCP Data received {"connection_id":143365,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143365,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:20:09] local.INFO: Processing buffer {"connection_id":143365,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:20:09] local.INFO: IMEI packet received {"connection_id":143365,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 23:20:09] local.INFO: IMEI acknowledgment sent {"connection_id":143365,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:20:10] local.INFO: TCP Data received {"connection_id":144380,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:20:10] local.INFO: Processing buffer {"connection_id":144380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:20:10] local.INFO: IMEI packet received {"connection_id":144380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 23:20:10] local.INFO: IMEI acknowledgment sent {"connection_id":144380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:20:10] local.INFO: TCP Data received {"connection_id":143365,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4addac8012d196940071fee200041013123..."} 
[2026-07-27 23:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4addac8012d196940071fee200041013123..."} 
[2026-07-27 23:20:10] local.INFO: Processing buffer {"connection_id":143365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4addac8012d196940071fee200041013123..."} 
[2026-07-27 23:20:10] local.INFO: Packet analysis {"connection_id":143365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4ad"} 
[2026-07-27 23:20:10] local.INFO: Extracted packet for processing {"connection_id":143365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4ad"} 
[2026-07-27 23:20:10] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 23:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:20:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004539904001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:20:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 23:20:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:20:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:20:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785174285000,"timestamp_ms":1785174285000,"timestamp_seconds":1785174285,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4addac8"} 
[2026-07-27 23:20:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:20:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 23: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-27 23:20:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:20:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:20:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:20:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:20:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:20:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:20:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:20:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:20:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 23:20:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 23:20:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004539904001,"66":2177,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 23:20:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 23:20:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 23:20:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004539904001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:20:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 23:20:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 23:20:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:20:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 23:20:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004539904001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 23:20:10] local.INFO: DEBUG: GPS processor result {"connection_id":143365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555960,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:20:10] local.INFO: GPS data processed {"connection_id":143365,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:20:10] local.INFO: Acknowledgment sent {"connection_id":143365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:20:11] local.INFO: TCP Data received {"connection_id":144380,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4b15180012d8ff080060ecfb00012014732..."} 
[2026-07-27 23:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4b15180012d8ff080060ecfb00012014732..."} 
[2026-07-27 23:20:11] local.INFO: Processing buffer {"connection_id":144380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4b15180012d8ff080060ecfb00012014732..."} 
[2026-07-27 23:20:11] local.INFO: Packet analysis {"connection_id":144380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4b1"} 
[2026-07-27 23:20:11] local.INFO: Extracted packet for processing {"connection_id":144380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4b1"} 
[2026-07-27 23:20:11] local.INFO: GPS Element Parsed {"raw_longitude":764407936,"raw_latitude":101633968,"longitude_deg":76.4407936,"latitude_deg":10.1633968,"altitude":18,"angle":327,"satellites":50,"speed":7,"hex_longitude":"2d8ff080","hex_latitude":"060ecfb0","is_valid_coordinates":true} 
[2026-07-27 23:20:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:20:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004669696001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:20:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359510332000960512,"note":"Value kept but may cause issues"} 
[2026-07-27 23:20:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8069817187533754368,"note":"Value kept but may cause issues"} 
[2026-07-27 23:20:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:20:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785174512000,"timestamp_ms":1785174512000,"timestamp_seconds":1785174512,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4b15180"} 
[2026-07-27 23:20:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:20:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 23: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":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-27 23:20:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:20:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:20:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:20:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:20:11] local.INFO: Teltonika packet parsed successfully {"connection_id":144380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:20:11] local.INFO: Passing IMEI to GPS processor {"connection_id":144380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:20:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":144380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:20: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-07-27 23:20:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:20:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:20:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004669696001,"66":27300,"195":206,"79":46848,"24":7,"16":359510332000960512,"45":-8069817187533754368},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,79,24,16,45]} 
[2026-07-27 23:20:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:20:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:20:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004669696001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:20:11] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-07-27 23:20:11] local.INFO: Unknown IO ID detected {"io_id":79,"value":46848,"description":"Unknown IO ID 79"} 
[2026-07-27 23:20:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359510332000960512,"km_value":359510332000960.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:20:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8069817187533754368,"description":"Unknown IO ID 45"} 
[2026-07-27 23:20:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004669696001,"power":27300,"unknown_195":206,"unknown_79":46848,"ignition":7,"odometer":null,"unknown_45":-8069817187533754368}} 
[2026-07-27 23:20:11] local.INFO: DEBUG: GPS processor result {"connection_id":144380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:20:11] local.INFO: GPS data processed {"connection_id":144380,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:20:11] local.INFO: Acknowledgment sent {"connection_id":144380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:20:12] local.INFO: TCP Data received {"connection_id":144380,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4b1a388012d8fe840060edbd80012014832..."} 
[2026-07-27 23:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4b1a388012d8fe840060edbd80012014832..."} 
[2026-07-27 23:20:12] local.INFO: Processing buffer {"connection_id":144380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4b1a388012d8fe840060edbd80012014832..."} 
[2026-07-27 23:20:12] local.INFO: Packet analysis {"connection_id":144380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4b1"} 
[2026-07-27 23:20:12] local.INFO: Extracted packet for processing {"connection_id":144380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4b1"} 
[2026-07-27 23:20:12] local.INFO: GPS Element Parsed {"raw_longitude":764405824,"raw_latitude":101637080,"longitude_deg":76.4405824,"latitude_deg":10.163708,"altitude":18,"angle":328,"satellites":50,"speed":5,"hex_longitude":"2d8fe840","hex_latitude":"060edbd8","is_valid_coordinates":true} 
[2026-07-27 23:20:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:20:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004675072001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:20:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359510516684554240,"note":"Value kept but may cause issues"} 
[2026-07-27 23:20:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8074813368368648192,"note":"Value kept but may cause issues"} 
[2026-07-27 23:20:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:20:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785174533000,"timestamp_ms":1785174533000,"timestamp_seconds":1785174533,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4b1a388"} 
[2026-07-27 23:20:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:20:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 23:20:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-27 23:20:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:20:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:20:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:20:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:20:12] local.INFO: Teltonika packet parsed successfully {"connection_id":144380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:20:12] local.INFO: Passing IMEI to GPS processor {"connection_id":144380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:20:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":144380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:20: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-07-27 23:20:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:20:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:20:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004675072001,"66":27300,"195":206,"79":46848,"24":5,"16":359510516684554240,"45":-8074813368368648192},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,79,24,16,45]} 
[2026-07-27 23:20:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:20:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:20:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004675072001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:20:12] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-07-27 23:20:12] local.INFO: Unknown IO ID detected {"io_id":79,"value":46848,"description":"Unknown IO ID 79"} 
[2026-07-27 23:20:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359510516684554240,"km_value":359510516684554.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:20:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8074813368368648192,"description":"Unknown IO ID 45"} 
[2026-07-27 23:20:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004675072001,"power":27300,"unknown_195":206,"unknown_79":46848,"ignition":5,"odometer":null,"unknown_45":-8074813368368648192}} 
[2026-07-27 23:20:12] local.INFO: DEBUG: GPS processor result {"connection_id":144380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:20:12] local.INFO: GPS data processed {"connection_id":144380,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:20:12] local.INFO: Acknowledgment sent {"connection_id":144380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:20:14] local.INFO: TCP Data received {"connection_id":143365,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4addac8012d196940071fee200041013123..."} 
[2026-07-27 23:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4addac8012d196940071fee200041013123..."} 
[2026-07-27 23:20:14] local.INFO: Processing buffer {"connection_id":143365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4addac8012d196940071fee200041013123..."} 
[2026-07-27 23:20:14] local.INFO: Packet analysis {"connection_id":143365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4ad"} 
[2026-07-27 23:20:14] local.INFO: Extracted packet for processing {"connection_id":143365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4ad"} 
[2026-07-27 23:20:14] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 23:20:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:20:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004539904001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:20:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 23:20:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:20:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:20:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785174285000,"timestamp_ms":1785174285000,"timestamp_seconds":1785174285,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4addac8"} 
[2026-07-27 23:20:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:20:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 23:20:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-27 23:20:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:20:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:20:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:20:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:20:14] local.INFO: Teltonika packet parsed successfully {"connection_id":143365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:20:14] local.INFO: Passing IMEI to GPS processor {"connection_id":143365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:20:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":143365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:20:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:20:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 23:20:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 23:20:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004539904001,"66":2177,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 23:20:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 23:20:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 23:20:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004539904001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:20:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 23:20:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 23:20:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:20:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 23:20:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004539904001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 23:20:14] local.INFO: DEBUG: GPS processor result {"connection_id":143365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555963,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:20:14] local.INFO: GPS data processed {"connection_id":143365,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:20:14] local.INFO: Acknowledgment sent {"connection_id":143365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:20:43] local.INFO: TCP Data received {"connection_id":144380,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4b1e9d8012d8fde80060ee9180011013b32..."} 
[2026-07-27 23:20:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4b1e9d8012d8fde80060ee9180011013b32..."} 
[2026-07-27 23:20:43] local.INFO: Processing buffer {"connection_id":144380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4b1e9d8012d8fde80060ee9180011013b32..."} 
[2026-07-27 23:20:43] local.INFO: Packet analysis {"connection_id":144380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4b1"} 
[2026-07-27 23:20:43] local.INFO: Extracted packet for processing {"connection_id":144380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4b1"} 
[2026-07-27 23:20:43] local.INFO: GPS Element Parsed {"raw_longitude":764403328,"raw_latitude":101640472,"longitude_deg":76.4403328,"latitude_deg":10.1640472,"altitude":17,"angle":315,"satellites":50,"speed":19,"hex_longitude":"2d8fde80","hex_latitude":"060ee918","is_valid_coordinates":true} 
[2026-07-27 23: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-07-27 23:20:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004680448001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:20:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359510722842984448,"note":"Value kept but may cause issues"} 
[2026-07-27 23:20:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8077135536925714432,"note":"Value kept but may cause issues"} 
[2026-07-27 23:20:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:20:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785174551000,"timestamp_ms":1785174551000,"timestamp_seconds":1785174551,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4b1e9d8"} 
[2026-07-27 23:20:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:20:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 23: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-27 23:20:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23: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-07-27 23:20:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:20:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:20:43] local.INFO: Teltonika packet parsed successfully {"connection_id":144380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:20:43] local.INFO: Passing IMEI to GPS processor {"connection_id":144380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:20:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":144380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:20:43] 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-07-27 23:20:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:20:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:20:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004680448001,"66":27343,"196":206,"79":46848,"24":19,"16":359510722842984448,"45":-8077135536925714432},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,79,24,16,45]} 
[2026-07-27 23:20:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:20:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:20:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004680448001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:20:43] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-07-27 23:20:43] local.INFO: Unknown IO ID detected {"io_id":79,"value":46848,"description":"Unknown IO ID 79"} 
[2026-07-27 23:20:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359510722842984448,"km_value":359510722842984.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:20:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8077135536925714432,"description":"Unknown IO ID 45"} 
[2026-07-27 23:20:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004680448001,"power":27343,"unknown_196":206,"unknown_79":46848,"ignition":19,"odometer":null,"unknown_45":-8077135536925714432}} 
[2026-07-27 23:20:43] local.INFO: DEBUG: GPS processor result {"connection_id":144380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:20:43] local.INFO: GPS data processed {"connection_id":144380,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:20:43] local.INFO: Acknowledgment sent {"connection_id":144380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:20:58] local.INFO: TCP Data received {"connection_id":144381,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144381,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:20:58] local.INFO: Processing buffer {"connection_id":144381,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:20:58] local.INFO: IMEI packet received {"connection_id":144381,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 23:20:58] local.INFO: IMEI acknowledgment sent {"connection_id":144381,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 23:21:00] local.INFO: TCP Data received {"connection_id":143221,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:21:00] local.INFO: Processing buffer {"connection_id":143221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:21:00] local.INFO: IMEI packet received {"connection_id":143221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 23:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":143221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 23:21:04] local.INFO: TCP Data received {"connection_id":144381,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144381,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:21:04] local.INFO: Processing buffer {"connection_id":144381,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:21:04] local.INFO: IMEI packet received {"connection_id":144381,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 23:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":144381,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:21:05] local.INFO: TCP Data received {"connection_id":143221,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:21:05] local.INFO: Processing buffer {"connection_id":143221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:21:05] local.INFO: IMEI packet received {"connection_id":143221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 23:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":143221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:21:06] local.INFO: TCP Data received {"connection_id":143221,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4b218b8012d8fc5c0060f0218000e01472e..."} 
[2026-07-27 23:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143221,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4b218b8012d8fc5c0060f0218000e01472e..."} 
[2026-07-27 23:21:06] local.INFO: Processing buffer {"connection_id":143221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4b218b8012d8fc5c0060f0218000e01472e..."} 
[2026-07-27 23:21:06] local.INFO: Packet analysis {"connection_id":143221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4b2"} 
[2026-07-27 23:21:06] local.INFO: Extracted packet for processing {"connection_id":143221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4b2"} 
[2026-07-27 23:21:06] local.INFO: GPS Element Parsed {"raw_longitude":764396992,"raw_latitude":101646872,"longitude_deg":76.4396992,"latitude_deg":10.1646872,"altitude":14,"angle":327,"satellites":46,"speed":39,"hex_longitude":"2d8fc5c0","hex_latitude":"060f0218","is_valid_coordinates":true} 
[2026-07-27 23:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:21:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004685056001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:21:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359511156634681344,"note":"Value kept but may cause issues"} 
[2026-07-27 23:21:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8079879917947774976,"note":"Value kept but may cause issues"} 
[2026-07-27 23:21:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:21:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785174563000,"timestamp_ms":1785174563000,"timestamp_seconds":1785174563,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4b218b8"} 
[2026-07-27 23:21:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:21:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 23:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-27 23:21:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:21:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:21:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:21:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:21:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:21:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:21:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:21:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:21:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:21:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:21:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004685056001,"66":27267,"196":206,"79":46848,"24":39,"16":359511156634681344,"45":-8079879917947774976},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,79,24,16,45]} 
[2026-07-27 23:21:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:21:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:21:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004685056001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:21:06] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-07-27 23:21:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":46848,"description":"Unknown IO ID 79"} 
[2026-07-27 23:21:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359511156634681344,"km_value":359511156634681.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:21:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8079879917947774976,"description":"Unknown IO ID 45"} 
[2026-07-27 23:21:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004685056001,"power":27267,"unknown_196":206,"unknown_79":46848,"ignition":39,"odometer":null,"unknown_45":-8079879917947774976}} 
[2026-07-27 23:21:06] local.INFO: DEBUG: GPS processor result {"connection_id":143221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:21:06] local.INFO: GPS data processed {"connection_id":143221,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:21:06] local.INFO: Acknowledgment sent {"connection_id":143221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:21:06] local.INFO: TCP Data received {"connection_id":144381,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4b27290012d196940071fee200041013127..."} 
[2026-07-27 23:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4b27290012d196940071fee200041013127..."} 
[2026-07-27 23:21:06] local.INFO: Processing buffer {"connection_id":144381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4b27290012d196940071fee200041013127..."} 
[2026-07-27 23:21:06] local.INFO: Packet analysis {"connection_id":144381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4b2"} 
[2026-07-27 23:21:06] local.INFO: Extracted packet for processing {"connection_id":144381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4b2"} 
[2026-07-27 23:21:06] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 23:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:21:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004616960001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:21:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 23:21:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:21:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:21:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785174586000,"timestamp_ms":1785174586000,"timestamp_seconds":1785174586,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4b27290"} 
[2026-07-27 23:21:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:21:06] 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-07-27 23:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-27 23:21:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:21:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:21:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:21:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:21:06] local.INFO: Teltonika packet parsed successfully {"connection_id":144381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:21:06] local.INFO: Passing IMEI to GPS processor {"connection_id":144381,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:21:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":144381,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:21:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:21:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 23:21:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 23:21:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004616960001,"66":2144,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 23:21:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 23:21:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 23:21:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004616960001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:21:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 23:21:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 23:21:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:21:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 23:21:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004616960001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 23:21:06] local.INFO: DEBUG: GPS processor result {"connection_id":144381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555966,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:21:06] local.INFO: GPS data processed {"connection_id":144381,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:21:06] local.INFO: Acknowledgment sent {"connection_id":144381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:21:08] local.INFO: TCP Data received {"connection_id":143221,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4b218b8012d8fc5c0060f0218000e01472e..."} 
[2026-07-27 23:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143221,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4b218b8012d8fc5c0060f0218000e01472e..."} 
[2026-07-27 23:21:08] local.INFO: Processing buffer {"connection_id":143221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4b218b8012d8fc5c0060f0218000e01472e..."} 
[2026-07-27 23:21:08] local.INFO: Packet analysis {"connection_id":143221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4b2"} 
[2026-07-27 23:21:08] local.INFO: Extracted packet for processing {"connection_id":143221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4b2"} 
[2026-07-27 23:21:08] local.INFO: GPS Element Parsed {"raw_longitude":764396992,"raw_latitude":101646872,"longitude_deg":76.4396992,"latitude_deg":10.1646872,"altitude":14,"angle":327,"satellites":46,"speed":39,"hex_longitude":"2d8fc5c0","hex_latitude":"060f0218","is_valid_coordinates":true} 
[2026-07-27 23:21:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:21:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004688128001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:21:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359511156634681344,"note":"Value kept but may cause issues"} 
[2026-07-27 23:21:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8086846423619725312,"note":"Value kept but may cause issues"} 
[2026-07-27 23:21:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:21:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785174563000,"timestamp_ms":1785174563000,"timestamp_seconds":1785174563,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4b218b8"} 
[2026-07-27 23:21:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:21:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 23:21:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-27 23:21:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:21:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:21:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:21:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:21:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:21:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:21:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:21:08] 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-07-27 23:21:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:21:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:21:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004688128001,"66":27267,"196":206,"79":46848,"24":39,"16":359511156634681344,"45":-8086846423619725312},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,79,24,16,45]} 
[2026-07-27 23:21:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:21:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:21:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004688128001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:21:08] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-07-27 23:21:08] local.INFO: Unknown IO ID detected {"io_id":79,"value":46848,"description":"Unknown IO ID 79"} 
[2026-07-27 23:21:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359511156634681344,"km_value":359511156634681.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:21:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8086846423619725312,"description":"Unknown IO ID 45"} 
[2026-07-27 23:21:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004688128001,"power":27267,"unknown_196":206,"unknown_79":46848,"ignition":39,"odometer":null,"unknown_45":-8086846423619725312}} 
[2026-07-27 23:21:08] local.INFO: DEBUG: GPS processor result {"connection_id":143221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:21:08] local.INFO: GPS data processed {"connection_id":143221,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:21:08] local.INFO: Acknowledgment sent {"connection_id":143221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:21:37] local.INFO: TCP Data received {"connection_id":144381,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4b27290012d196940071fee200041013127..."} 
[2026-07-27 23:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4b27290012d196940071fee200041013127..."} 
[2026-07-27 23:21:37] local.INFO: Processing buffer {"connection_id":144381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4b27290012d196940071fee200041013127..."} 
[2026-07-27 23:21:37] local.INFO: Packet analysis {"connection_id":144381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4b2"} 
[2026-07-27 23:21:37] local.INFO: Extracted packet for processing {"connection_id":144381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4b2"} 
[2026-07-27 23:21:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 23:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:21:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004616960001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:21:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 23:21:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:21:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:21:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785174586000,"timestamp_ms":1785174586000,"timestamp_seconds":1785174586,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4b27290"} 
[2026-07-27 23:21:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:21:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 23:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-27 23:21:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:21:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:21:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:21:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:21:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:21:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144381,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:21:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144381,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:21:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:21:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 23:21:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 23:21:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004616960001,"66":2144,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 23:21:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 23:21:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 23:21:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004616960001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:21:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 23:21:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 23:21:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:21:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 23:21:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004616960001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 23:21:37] local.INFO: DEBUG: GPS processor result {"connection_id":144381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555968,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:21:37] local.INFO: GPS data processed {"connection_id":144381,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:21:37] local.INFO: Acknowledgment sent {"connection_id":144381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:21:39] local.INFO: TCP Data received {"connection_id":143221,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4b23be0012d8fb400060f21c80010014b2d..."} 
[2026-07-27 23:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143221,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4b23be0012d8fb400060f21c80010014b2d..."} 
[2026-07-27 23:21:39] local.INFO: Processing buffer {"connection_id":143221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4b23be0012d8fb400060f21c80010014b2d..."} 
[2026-07-27 23:21:39] local.INFO: Packet analysis {"connection_id":143221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4b2"} 
[2026-07-27 23:21:39] local.INFO: Extracted packet for processing {"connection_id":143221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4b2"} 
[2026-07-27 23:21:39] local.INFO: GPS Element Parsed {"raw_longitude":764392448,"raw_latitude":101654984,"longitude_deg":76.4392448,"latitude_deg":10.1654984,"altitude":16,"angle":331,"satellites":45,"speed":41,"hex_longitude":"2d8fb400","hex_latitude":"060f21c8","is_valid_coordinates":true} 
[2026-07-27 23:21:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:21:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004688128001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:21:39] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-07-27 23:21:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359511607606247424,"note":"Value kept but may cause issues"} 
[2026-07-27 23:21:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8086846423619725312,"note":"Value kept but may cause issues"} 
[2026-07-27 23:21:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-07-27 23:21:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785174572000,"timestamp_ms":1785174572000,"timestamp_seconds":1785174572,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4b23be0"} 
[2026-07-27 23:21:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:21:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 23:21:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-27 23:21:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:21:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:21:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:21:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:21:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:21:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:21:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:21:39] 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-07-27 23:21:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:21:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:21:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004688128001,"66":27321,"200":0,"79":46848,"24":41,"16":359511607606247424,"45":-8086846423619725312},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,79,24,16,45]} 
[2026-07-27 23:21:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:21:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:21:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004688128001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:21:39] local.INFO: Unknown IO ID detected {"io_id":79,"value":46848,"description":"Unknown IO ID 79"} 
[2026-07-27 23:21:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359511607606247424,"km_value":359511607606247.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:21:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8086846423619725312,"description":"Unknown IO ID 45"} 
[2026-07-27 23:21:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004688128001,"power":27321,"gsm_signal":0,"unknown_79":46848,"ignition":41,"odometer":null,"unknown_45":-8086846423619725312}} 
[2026-07-27 23:21:39] local.INFO: DEBUG: GPS processor result {"connection_id":143221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:21:39] local.INFO: GPS data processed {"connection_id":143221,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:21:39] local.INFO: Acknowledgment sent {"connection_id":143221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:21:59] local.INFO: TCP Data received {"connection_id":145648,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145648,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:21:59] local.INFO: Processing buffer {"connection_id":145648,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:21:59] local.INFO: IMEI packet received {"connection_id":145648,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 23:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":145648,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 23:22:00] local.INFO: TCP Data received {"connection_id":145649,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:22:00] local.INFO: Processing buffer {"connection_id":145649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:22:00] local.INFO: IMEI packet received {"connection_id":145649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 23:22:00] local.INFO: IMEI acknowledgment sent {"connection_id":145649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 23:22:04] local.INFO: TCP Data received {"connection_id":145648,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145648,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:22:04] local.INFO: Processing buffer {"connection_id":145648,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:22:04] local.INFO: IMEI packet received {"connection_id":145648,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 23:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":145648,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:22:06] local.INFO: TCP Data received {"connection_id":145648,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4b27290012d196940071fee200041013127..."} 
[2026-07-27 23:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4b27290012d196940071fee200041013127..."} 
[2026-07-27 23:22:06] local.INFO: Processing buffer {"connection_id":145648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4b27290012d196940071fee200041013127..."} 
[2026-07-27 23:22:06] local.INFO: Packet analysis {"connection_id":145648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4b2"} 
[2026-07-27 23:22:06] local.INFO: Extracted packet for processing {"connection_id":145648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4b2"} 
[2026-07-27 23:22:06] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 23:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:22:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004616960001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:22:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 23:22:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:22:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:22:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785174586000,"timestamp_ms":1785174586000,"timestamp_seconds":1785174586,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4b27290"} 
[2026-07-27 23:22:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:22:06] 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-07-27 23:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-27 23:22:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:22:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:22:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:22:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:22:06] local.INFO: Teltonika packet parsed successfully {"connection_id":145648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:22:06] local.INFO: Passing IMEI to GPS processor {"connection_id":145648,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:22:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":145648,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:22:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:22:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 23:22:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 23:22:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004616960001,"66":2144,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 23:22:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 23:22:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 23:22:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004616960001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:22:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 23:22:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 23:22:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:22:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 23:22:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004616960001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 23:22:06] local.INFO: DEBUG: GPS processor result {"connection_id":145648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555970,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:22:06] local.INFO: GPS data processed {"connection_id":145648,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:22:06] local.INFO: Acknowledgment sent {"connection_id":145648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:22:16] local.INFO: TCP Data received {"connection_id":145649,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:22:16] local.INFO: Processing buffer {"connection_id":145649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:22:16] local.INFO: IMEI packet received {"connection_id":145649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 23:22:16] local.INFO: IMEI acknowledgment sent {"connection_id":145649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:22:22] local.INFO: TCP Data received {"connection_id":145649,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4b26ac0012d8fa440060f3c580013013d2a..."} 
[2026-07-27 23:22:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4b26ac0012d8fa440060f3c580013013d2a..."} 
[2026-07-27 23:22:22] local.INFO: Processing buffer {"connection_id":145649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4b26ac0012d8fa440060f3c580013013d2a..."} 
[2026-07-27 23:22:22] local.INFO: Packet analysis {"connection_id":145649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4b2"} 
[2026-07-27 23:22:22] local.INFO: Extracted packet for processing {"connection_id":145649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4b2"} 
[2026-07-27 23:22:22] local.INFO: GPS Element Parsed {"raw_longitude":764388416,"raw_latitude":101661784,"longitude_deg":76.4388416,"latitude_deg":10.1661784,"altitude":19,"angle":317,"satellites":42,"speed":22,"hex_longitude":"2d8fa440","hex_latitude":"060f3c58","is_valid_coordinates":true} 
[2026-07-27 23: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-07-27 23:22:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004690432001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:22:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-07-27 23:22:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359511989858336768,"note":"Value kept but may cause issues"} 
[2026-07-27 23:22:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8091842604454262784,"note":"Value kept but may cause issues"} 
[2026-07-27 23:22:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-07-27 23:22:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785174584000,"timestamp_ms":1785174584000,"timestamp_seconds":1785174584,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4b26ac0"} 
[2026-07-27 23:22:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:22:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 23: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-27 23:22:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23: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-07-27 23:22:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:22:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:22:22] local.INFO: Teltonika packet parsed successfully {"connection_id":145649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:22:22] local.INFO: Passing IMEI to GPS processor {"connection_id":145649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:22:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":145649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:22:22] 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-07-27 23:22:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:22:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:22:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004690432001,"66":27463,"200":0,"79":46848,"24":22,"16":359511989858336768,"45":-8091842604454262784},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,79,24,16,45]} 
[2026-07-27 23:22:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:22:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:22:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004690432001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:22:22] local.INFO: Unknown IO ID detected {"io_id":79,"value":46848,"description":"Unknown IO ID 79"} 
[2026-07-27 23:22:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359511989858336768,"km_value":359511989858336.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:22:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8091842604454262784,"description":"Unknown IO ID 45"} 
[2026-07-27 23:22:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004690432001,"power":27463,"gsm_signal":0,"unknown_79":46848,"ignition":22,"odometer":null,"unknown_45":-8091842604454262784}} 
[2026-07-27 23:22:22] local.INFO: DEBUG: GPS processor result {"connection_id":145649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:22:22] local.INFO: GPS data processed {"connection_id":145649,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:22:22] local.INFO: Acknowledgment sent {"connection_id":145649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:22:23] local.INFO: TCP Data received {"connection_id":145649,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4b27678012d8f9f40060f40f0001301302c..."} 
[2026-07-27 23:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4b27678012d8f9f40060f40f0001301302c..."} 
[2026-07-27 23:22:23] local.INFO: Processing buffer {"connection_id":145649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4b27678012d8f9f40060f40f0001301302c..."} 
[2026-07-27 23:22:23] local.INFO: Packet analysis {"connection_id":145649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4b2"} 
[2026-07-27 23:22:23] local.INFO: Extracted packet for processing {"connection_id":145649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4b2"} 
[2026-07-27 23:22:23] local.INFO: GPS Element Parsed {"raw_longitude":764387136,"raw_latitude":101662960,"longitude_deg":76.4387136,"latitude_deg":10.166296,"altitude":19,"angle":304,"satellites":44,"speed":25,"hex_longitude":"2d8f9f40","hex_latitude":"060f40f0","is_valid_coordinates":true} 
[2026-07-27 23:22:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:22:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004693504001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:22:23] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-07-27 23:22:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359512071462715392,"note":"Value kept but may cause issues"} 
[2026-07-27 23:22:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8096275835335714816,"note":"Value kept but may cause issues"} 
[2026-07-27 23:22:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-07-27 23:22:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785174587000,"timestamp_ms":1785174587000,"timestamp_seconds":1785174587,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4b27678"} 
[2026-07-27 23:22:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:22:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 23:22:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-27 23:22:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:22:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:22:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:22:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:22:23] local.INFO: Teltonika packet parsed successfully {"connection_id":145649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:22:23] local.INFO: Passing IMEI to GPS processor {"connection_id":145649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:22:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":145649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:22:23] 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-07-27 23:22:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:22:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:22:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004693504001,"66":27300,"200":0,"79":46848,"24":25,"16":359512071462715392,"45":-8096275835335714816},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,79,24,16,45]} 
[2026-07-27 23:22:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:22:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:22:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004693504001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:22:23] local.INFO: Unknown IO ID detected {"io_id":79,"value":46848,"description":"Unknown IO ID 79"} 
[2026-07-27 23:22:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359512071462715392,"km_value":359512071462715.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:22:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8096275835335714816,"description":"Unknown IO ID 45"} 
[2026-07-27 23:22:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004693504001,"power":27300,"gsm_signal":0,"unknown_79":46848,"ignition":25,"odometer":null,"unknown_45":-8096275835335714816}} 
[2026-07-27 23:22:23] local.INFO: DEBUG: GPS processor result {"connection_id":145649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:22:23] local.INFO: GPS data processed {"connection_id":145649,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:22:23] local.INFO: Acknowledgment sent {"connection_id":145649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:22:37] local.INFO: TCP Data received {"connection_id":145648,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4b27290012d196940071fee200041013127..."} 
[2026-07-27 23:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4b27290012d196940071fee200041013127..."} 
[2026-07-27 23:22:37] local.INFO: Processing buffer {"connection_id":145648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4b27290012d196940071fee200041013127..."} 
[2026-07-27 23:22:37] local.INFO: Packet analysis {"connection_id":145648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4b2"} 
[2026-07-27 23:22:37] local.INFO: Extracted packet for processing {"connection_id":145648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4b2"} 
[2026-07-27 23:22:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 23:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:22:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004616960001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:22:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 23:22:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:22:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:22:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785174586000,"timestamp_ms":1785174586000,"timestamp_seconds":1785174586,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4b27290"} 
[2026-07-27 23:22:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:22:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 23:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-27 23:22:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:22:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:22:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:22:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:22:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:22:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145648,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:22:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145648,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:22:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:22:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 23:22:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 23:22:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004616960001,"66":2144,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 23:22:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 23:22:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 23:22:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004616960001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:22:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 23:22:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 23:22:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:22:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 23:22:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004616960001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 23:22:38] local.INFO: DEBUG: GPS processor result {"connection_id":145648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555973,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:22:38] local.INFO: GPS data processed {"connection_id":145648,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:22:38] local.INFO: Acknowledgment sent {"connection_id":145648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:22:58] local.INFO: TCP Data received {"connection_id":145650,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145650,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:22:58] local.INFO: Processing buffer {"connection_id":145650,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:22:58] local.INFO: IMEI packet received {"connection_id":145650,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 23:22:58] local.INFO: IMEI acknowledgment sent {"connection_id":145650,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 23:23:00] local.INFO: TCP Data received {"connection_id":143222,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:23:00] local.INFO: Processing buffer {"connection_id":143222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:23:00] local.INFO: IMEI packet received {"connection_id":143222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 23:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":143222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 23:23:04] local.INFO: TCP Data received {"connection_id":145650,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145650,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:23:04] local.INFO: Processing buffer {"connection_id":145650,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:23:04] local.INFO: IMEI packet received {"connection_id":145650,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 23:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":145650,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:23:05] local.INFO: TCP Data received {"connection_id":143222,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:23:05] local.INFO: Processing buffer {"connection_id":143222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:23:05] local.INFO: IMEI packet received {"connection_id":143222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 23:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":143222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:23:06] local.INFO: TCP Data received {"connection_id":145650,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4b27290012d196940071fee200041013127..."} 
[2026-07-27 23:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145650,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4b27290012d196940071fee200041013127..."} 
[2026-07-27 23:23:06] local.INFO: Processing buffer {"connection_id":145650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4b27290012d196940071fee200041013127..."} 
[2026-07-27 23:23:06] local.INFO: TCP Data received {"connection_id":143222,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4b43b98012d8e30c0060ff0380017012830..."} 
[2026-07-27 23:23:06] local.INFO: Packet analysis {"connection_id":145650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4b2"} 
[2026-07-27 23:23:06] local.INFO: Extracted packet for processing {"connection_id":145650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4b2"} 
[2026-07-27 23:23:06] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 23:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:23:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004616960001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:23:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 23:23:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:23:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:23:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785174586000,"timestamp_ms":1785174586000,"timestamp_seconds":1785174586,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4b27290"} 
[2026-07-27 23:23:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:23:06] 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-07-27 23:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-27 23:23:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:23:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:23:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:23:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:23:06] local.INFO: Teltonika packet parsed successfully {"connection_id":145650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:23:06] local.INFO: Passing IMEI to GPS processor {"connection_id":145650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:23:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":145650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:23:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:23:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 23:23:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 23:23:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004616960001,"66":2144,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 23:23:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 23:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143222,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4b43b98012d8e30c0060ff0380017012830..."} 
[2026-07-27 23:23:06] local.INFO: Processing buffer {"connection_id":143222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4b43b98012d8e30c0060ff0380017012830..."} 
[2026-07-27 23:23:06] local.INFO: Packet analysis {"connection_id":143222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4b4"} 
[2026-07-27 23:23:06] local.INFO: Extracted packet for processing {"connection_id":143222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4b4"} 
[2026-07-27 23:23:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 23:23:06] local.INFO: GPS Element Parsed {"raw_longitude":764293312,"raw_latitude":101707832,"longitude_deg":76.4293312,"latitude_deg":10.1707832,"altitude":23,"angle":296,"satellites":48,"speed":43,"hex_longitude":"2d8e30c0","hex_latitude":"060ff038","is_valid_coordinates":true} 
[2026-07-27 23:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:23:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004616960001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:23:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004721664001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:23:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 23:23:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 23:23:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359517053624778752,"note":"Value kept but may cause issues"} 
[2026-07-27 23:23:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:23:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8191062533732335616,"note":"Value kept but may cause issues"} 
[2026-07-27 23:23:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 23:23:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:23:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004616960001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 23:23:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785174703000,"timestamp_ms":1785174703000,"timestamp_seconds":1785174703,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4b43b98"} 
[2026-07-27 23:23:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:23:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 23:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-27 23:23:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:23:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:23:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:23:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:23:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:23:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:23:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:23:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:23:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:23:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:23:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004721664001,"66":27365,"209":206,"79":46592,"24":43,"16":359517053624778752,"45":-8191062533732335616},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,79,24,16,45]} 
[2026-07-27 23:23:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:23:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:23:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004721664001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:23:06] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-07-27 23:23:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-27 23:23:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359517053624778752,"km_value":359517053624778.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:23:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8191062533732335616,"description":"Unknown IO ID 45"} 
[2026-07-27 23:23:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004721664001,"power":27365,"unknown_209":206,"unknown_79":46592,"ignition":43,"odometer":null,"unknown_45":-8191062533732335616}} 
[2026-07-27 23:23:06] local.INFO: DEBUG: GPS processor result {"connection_id":143222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:23:06] local.INFO: GPS data processed {"connection_id":143222,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:23:06] local.INFO: Acknowledgment sent {"connection_id":143222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:23:06] local.INFO: DEBUG: GPS processor result {"connection_id":145650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555975,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:23:06] local.INFO: GPS data processed {"connection_id":145650,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:23:06] local.INFO: Acknowledgment sent {"connection_id":145650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:23:37] local.INFO: TCP Data received {"connection_id":143222,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4b45ec0012d8e0d80061000980017012730..."} 
[2026-07-27 23:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143222,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4b45ec0012d8e0d80061000980017012730..."} 
[2026-07-27 23:23:37] local.INFO: Processing buffer {"connection_id":143222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4b45ec0012d8e0d80061000980017012730..."} 
[2026-07-27 23:23:37] local.INFO: Packet analysis {"connection_id":143222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4b4"} 
[2026-07-27 23:23:37] local.INFO: Extracted packet for processing {"connection_id":143222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4b4"} 
[2026-07-27 23:23:37] local.INFO: GPS Element Parsed {"raw_longitude":764284288,"raw_latitude":101712024,"longitude_deg":76.4284288,"latitude_deg":10.1712024,"altitude":23,"angle":295,"satellites":48,"speed":42,"hex_longitude":"2d8e0d80","hex_latitude":"06100098","is_valid_coordinates":true} 
[2026-07-27 23:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004723968001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359517530366148608,"note":"Value kept but may cause issues"} 
[2026-07-27 23:23:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8200843789171935232,"note":"Value kept but may cause issues"} 
[2026-07-27 23:23:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785174712000,"timestamp_ms":1785174712000,"timestamp_seconds":1785174712,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4b45ec0"} 
[2026-07-27 23:23:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:23:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 23:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-27 23:23:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:23:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:23:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:23:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004723968001,"66":27321,"209":206,"79":46592,"24":42,"16":359517530366148608,"45":-8200843789171935232},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,79,24,16,45]} 
[2026-07-27 23:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:23:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:23:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004723968001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:23:37] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-07-27 23:23:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-27 23:23:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359517530366148608,"km_value":359517530366148.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:23:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8200843789171935232,"description":"Unknown IO ID 45"} 
[2026-07-27 23:23:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004723968001,"power":27321,"unknown_209":206,"unknown_79":46592,"ignition":42,"odometer":null,"unknown_45":-8200843789171935232}} 
[2026-07-27 23:23:37] local.INFO: DEBUG: GPS processor result {"connection_id":143222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:23:37] local.INFO: GPS data processed {"connection_id":143222,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:23:37] local.INFO: Acknowledgment sent {"connection_id":143222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:23:37] local.INFO: TCP Data received {"connection_id":145650,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4b27290012d196940071fee200041013127..."} 
[2026-07-27 23:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145650,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4b27290012d196940071fee200041013127..."} 
[2026-07-27 23:23:37] local.INFO: Processing buffer {"connection_id":145650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4b27290012d196940071fee200041013127..."} 
[2026-07-27 23:23:37] local.INFO: Packet analysis {"connection_id":145650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4b2"} 
[2026-07-27 23:23:37] local.INFO: Extracted packet for processing {"connection_id":145650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4b2"} 
[2026-07-27 23:23:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 23:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004616960001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 23:23:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:23:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785174586000,"timestamp_ms":1785174586000,"timestamp_seconds":1785174586,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4b27290"} 
[2026-07-27 23:23:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:23:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 23:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-27 23:23:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:23:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:23:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:23:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 23:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 23:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004616960001,"66":2144,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 23:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 23:23:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 23:23:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004616960001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:23:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 23:23:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 23:23:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:23:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 23:23:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004616960001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 23:23:37] local.INFO: DEBUG: GPS processor result {"connection_id":145650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555977,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:23:37] local.INFO: GPS data processed {"connection_id":145650,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:23:37] local.INFO: Acknowledgment sent {"connection_id":145650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:23:58] local.INFO: TCP Data received {"connection_id":143367,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143367,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:23:58] local.INFO: Processing buffer {"connection_id":143367,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:23:58] local.INFO: IMEI packet received {"connection_id":143367,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 23:23:58] local.INFO: IMEI acknowledgment sent {"connection_id":143367,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 23:24:00] local.INFO: TCP Data received {"connection_id":143366,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:24:00] local.INFO: Processing buffer {"connection_id":143366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:24:00] local.INFO: IMEI packet received {"connection_id":143366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 23:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":143366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 23:24:04] local.INFO: TCP Data received {"connection_id":143367,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143367,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:24:04] local.INFO: Processing buffer {"connection_id":143367,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:24:04] local.INFO: IMEI packet received {"connection_id":143367,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 23:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":143367,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:24:05] local.INFO: TCP Data received {"connection_id":143366,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:24:05] local.INFO: Processing buffer {"connection_id":143366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:24:05] local.INFO: IMEI packet received {"connection_id":143366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 23:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":143366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:24:05] local.INFO: TCP Data received {"connection_id":143367,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4b27290012d196940071fee200041013127..."} 
[2026-07-27 23:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4b27290012d196940071fee200041013127..."} 
[2026-07-27 23:24:05] local.INFO: Processing buffer {"connection_id":143367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4b27290012d196940071fee200041013127..."} 
[2026-07-27 23:24:05] local.INFO: Packet analysis {"connection_id":143367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4b2"} 
[2026-07-27 23:24:05] local.INFO: Extracted packet for processing {"connection_id":143367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4b2"} 
[2026-07-27 23:24:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 23:24:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:24:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004616960001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:24:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 23:24:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:24:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:24:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785174586000,"timestamp_ms":1785174586000,"timestamp_seconds":1785174586,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4b27290"} 
[2026-07-27 23:24:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:24:05] 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-07-27 23:24:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-27 23:24:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:24:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:24:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:24:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:24:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:24:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143367,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:24:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143367,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:24:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:24:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 23:24:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 23:24:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004616960001,"66":2144,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 23:24:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 23:24:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 23:24:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004616960001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:24:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 23:24:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 23:24:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:24:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 23:24:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004616960001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 23:24:05] local.INFO: DEBUG: GPS processor result {"connection_id":143367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555978,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:24:05] local.INFO: GPS data processed {"connection_id":143367,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:24:05] local.INFO: Acknowledgment sent {"connection_id":143367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:24:06] local.INFO: TCP Data received {"connection_id":143366,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4b481e8012d8deb00061010480018012830..."} 
[2026-07-27 23:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4b481e8012d8deb00061010480018012830..."} 
[2026-07-27 23:24:06] local.INFO: Processing buffer {"connection_id":143366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4b481e8012d8deb00061010480018012830..."} 
[2026-07-27 23:24:06] local.INFO: Packet analysis {"connection_id":143366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4b4"} 
[2026-07-27 23:24:06] local.INFO: Extracted packet for processing {"connection_id":143366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4b4"} 
[2026-07-27 23:24:06] local.INFO: GPS Element Parsed {"raw_longitude":764275456,"raw_latitude":101716040,"longitude_deg":76.4275456,"latitude_deg":10.171604,"altitude":24,"angle":296,"satellites":48,"speed":41,"hex_longitude":"2d8deb00","hex_latitude":"06101048","is_valid_coordinates":true} 
[2026-07-27 23:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004726272001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359517994222616576,"note":"Value kept but may cause issues"} 
[2026-07-27 23:24:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8210765782099912704,"note":"Value kept but may cause issues"} 
[2026-07-27 23:24:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785174721000,"timestamp_ms":1785174721000,"timestamp_seconds":1785174721,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4b481e8"} 
[2026-07-27 23:24:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:24:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 23:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-27 23:24:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:24:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:24:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:24:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004726272001,"66":27365,"209":206,"79":46592,"24":41,"16":359517994222616576,"45":-8210765782099912704},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,79,24,16,45]} 
[2026-07-27 23:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004726272001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:24:06] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-07-27 23:24:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-27 23:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359517994222616576,"km_value":359517994222616.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:24:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8210765782099912704,"description":"Unknown IO ID 45"} 
[2026-07-27 23:24:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004726272001,"power":27365,"unknown_209":206,"unknown_79":46592,"ignition":41,"odometer":null,"unknown_45":-8210765782099912704}} 
[2026-07-27 23:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":143366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:24:06] local.INFO: GPS data processed {"connection_id":143366,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:24:06] local.INFO: Acknowledgment sent {"connection_id":143366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:24:37] local.INFO: TCP Data received {"connection_id":143366,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4b4a128012d8dcf40061022780015013331..."} 
[2026-07-27 23:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4b4a128012d8dcf40061022780015013331..."} 
[2026-07-27 23:24:37] local.INFO: Processing buffer {"connection_id":143366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4b4a128012d8dcf40061022780015013331..."} 
[2026-07-27 23:24:37] local.INFO: Packet analysis {"connection_id":143366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4b4"} 
[2026-07-27 23:24:37] local.INFO: Extracted packet for processing {"connection_id":143366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4b4"} 
[2026-07-27 23:24:37] local.INFO: GPS Element Parsed {"raw_longitude":764268352,"raw_latitude":101720696,"longitude_deg":76.4268352,"latitude_deg":10.1720696,"altitude":21,"angle":307,"satellites":49,"speed":42,"hex_longitude":"2d8dcf40","hex_latitude":"06102278","is_valid_coordinates":true} 
[2026-07-27 23:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004728576001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:24:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359518402244509696,"note":"Value kept but may cause issues"} 
[2026-07-27 23:24:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8220476668795402240,"note":"Value kept but may cause issues"} 
[2026-07-27 23:24:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:24:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785174729000,"timestamp_ms":1785174729000,"timestamp_seconds":1785174729,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4b4a128"} 
[2026-07-27 23:24:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:24:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 23:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-27 23:24:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:24:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:24:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:24:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:24:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:24:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:24:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:24:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:24:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:24:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:24:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004728576001,"66":27365,"216":206,"79":46592,"24":42,"16":359518402244509696,"45":-8220476668795402240},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,79,24,16,45]} 
[2026-07-27 23:24:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:24:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:24:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004728576001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:24:37] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-27 23:24:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-27 23:24:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359518402244509696,"km_value":359518402244509.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:24:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8220476668795402240,"description":"Unknown IO ID 45"} 
[2026-07-27 23:24:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004728576001,"power":27365,"unknown_216":206,"unknown_79":46592,"ignition":42,"odometer":null,"unknown_45":-8220476668795402240}} 
[2026-07-27 23:24:37] local.INFO: DEBUG: GPS processor result {"connection_id":143366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:24:37] local.INFO: GPS data processed {"connection_id":143366,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:24:37] local.INFO: Acknowledgment sent {"connection_id":143366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:24:37] local.INFO: TCP Data received {"connection_id":143367,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4b27290012d196940071fee200041013127..."} 
[2026-07-27 23:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4b27290012d196940071fee200041013127..."} 
[2026-07-27 23:24:37] local.INFO: Processing buffer {"connection_id":143367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4b27290012d196940071fee200041013127..."} 
[2026-07-27 23:24:37] local.INFO: Packet analysis {"connection_id":143367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4b2"} 
[2026-07-27 23:24:37] local.INFO: Extracted packet for processing {"connection_id":143367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4b2"} 
[2026-07-27 23:24:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 23:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004616960001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:24:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 23:24:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:24:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:24:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785174586000,"timestamp_ms":1785174586000,"timestamp_seconds":1785174586,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4b27290"} 
[2026-07-27 23:24:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:24:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 23:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-27 23:24:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:24:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:24:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:24:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:24:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:24:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143367,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:24:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143367,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:24:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:24:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 23:24:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 23:24:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004616960001,"66":2144,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 23:24:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 23:24:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 23:24:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004616960001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:24:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 23:24:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 23:24:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:24:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 23:24:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004616960001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 23:24:37] local.INFO: DEBUG: GPS processor result {"connection_id":143367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555981,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:24:37] local.INFO: GPS data processed {"connection_id":143367,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:24:37] local.INFO: Acknowledgment sent {"connection_id":143367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:25:00] local.INFO: TCP Data received {"connection_id":143223,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:25:00] local.INFO: Processing buffer {"connection_id":143223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:25:00] local.INFO: IMEI packet received {"connection_id":143223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 23:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":143223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 23:25:03] local.INFO: TCP Data received {"connection_id":143223,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:25:03] local.INFO: Processing buffer {"connection_id":143223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:25:03] local.INFO: IMEI packet received {"connection_id":143223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 23:25:03] local.INFO: IMEI acknowledgment sent {"connection_id":143223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:25:04] local.INFO: TCP Data received {"connection_id":144382,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144382,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:25:04] local.INFO: Processing buffer {"connection_id":144382,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:25:04] local.INFO: IMEI packet received {"connection_id":144382,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 23:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":144382,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 23:25:05] local.INFO: TCP Data received {"connection_id":143223,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:25:05] local.INFO: Processing buffer {"connection_id":143223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:25:05] local.INFO: IMEI packet received {"connection_id":143223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 23:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":143223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:25:05] local.INFO: TCP Data received {"connection_id":143223,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4b652c0012d8cb74006110838000f012b32..."} 
[2026-07-27 23:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4b652c0012d8cb74006110838000f012b32..."} 
[2026-07-27 23:25:05] local.INFO: Processing buffer {"connection_id":143223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4b652c0012d8cb74006110838000f012b32..."} 
[2026-07-27 23:25:05] local.INFO: Packet analysis {"connection_id":143223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4b6"} 
[2026-07-27 23:25:05] local.INFO: Extracted packet for processing {"connection_id":143223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4b6"} 
[2026-07-27 23:25:05] local.INFO: GPS Element Parsed {"raw_longitude":764196672,"raw_latitude":101779512,"longitude_deg":76.4196672,"latitude_deg":10.1779512,"altitude":15,"angle":299,"satellites":50,"speed":39,"hex_longitude":"2d8cb740","hex_latitude":"06110838","is_valid_coordinates":true} 
[2026-07-27 23:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:25:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004756736001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:25:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359522869010497536,"note":"Value kept but may cause issues"} 
[2026-07-27 23:25:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8298234131096582144,"note":"Value kept but may cause issues"} 
[2026-07-27 23:25:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:25:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785174840000,"timestamp_ms":1785174840000,"timestamp_seconds":1785174840,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4b652c0"} 
[2026-07-27 23:25:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:25:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 23:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-27 23:25:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:25:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:25:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:25:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:25:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:25:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:25:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:25:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:25:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:25:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:25:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004756736001,"66":27343,"46":206,"79":46592,"24":39,"16":359522869010497536,"45":-8298234131096582144},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,79,24,16,45]} 
[2026-07-27 23:25:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:25:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:25:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004756736001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:25:05] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-07-27 23:25:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-27 23:25:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359522869010497536,"km_value":359522869010497.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:25:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8298234131096582144,"description":"Unknown IO ID 45"} 
[2026-07-27 23:25:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004756736001,"power":27343,"unknown_46":206,"unknown_79":46592,"ignition":39,"odometer":null,"unknown_45":-8298234131096582144}} 
[2026-07-27 23:25:05] local.INFO: DEBUG: GPS processor result {"connection_id":143223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:25:05] local.INFO: GPS data processed {"connection_id":143223,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:25:05] local.INFO: Acknowledgment sent {"connection_id":143223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:25:09] local.INFO: TCP Data received {"connection_id":144382,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144382,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:25:09] local.INFO: Processing buffer {"connection_id":144382,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:25:09] local.INFO: IMEI packet received {"connection_id":144382,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 23:25:09] local.INFO: IMEI acknowledgment sent {"connection_id":144382,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:25:10] local.INFO: TCP Data received {"connection_id":144382,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4b27290012d196940071fee200041013127..."} 
[2026-07-27 23:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4b27290012d196940071fee200041013127..."} 
[2026-07-27 23:25:10] local.INFO: Processing buffer {"connection_id":144382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4b27290012d196940071fee200041013127..."} 
[2026-07-27 23:25:10] local.INFO: Packet analysis {"connection_id":144382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4b2"} 
[2026-07-27 23:25:10] local.INFO: Extracted packet for processing {"connection_id":144382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4b2"} 
[2026-07-27 23:25:10] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 23:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:25:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004616960001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:25:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 23:25:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:25:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:25:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785174586000,"timestamp_ms":1785174586000,"timestamp_seconds":1785174586,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4b27290"} 
[2026-07-27 23:25:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:25:10] 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-07-27 23: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-27 23:25:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:25:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:25:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:25:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:25:10] local.INFO: Teltonika packet parsed successfully {"connection_id":144382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:25:10] local.INFO: Passing IMEI to GPS processor {"connection_id":144382,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:25:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":144382,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:25:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:25:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 23:25:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 23:25:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004616960001,"66":2144,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 23:25:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 23:25:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 23:25:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004616960001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:25:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 23:25:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 23:25:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:25:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 23:25:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004616960001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 23:25:10] local.INFO: DEBUG: GPS processor result {"connection_id":144382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555983,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:25:10] local.INFO: GPS data processed {"connection_id":144382,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:25:10] local.INFO: Acknowledgment sent {"connection_id":144382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:25:10] local.INFO: TCP Data received {"connection_id":143223,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4b675e8012d8c9500061119c8000e01272f..."} 
[2026-07-27 23:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4b675e8012d8c9500061119c8000e01272f..."} 
[2026-07-27 23:25:10] local.INFO: Processing buffer {"connection_id":143223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4b675e8012d8c9500061119c8000e01272f..."} 
[2026-07-27 23:25:10] local.INFO: Packet analysis {"connection_id":143223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4b6"} 
[2026-07-27 23:25:10] local.INFO: Extracted packet for processing {"connection_id":143223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4b6"} 
[2026-07-27 23:25:10] local.INFO: GPS Element Parsed {"raw_longitude":764187904,"raw_latitude":101784008,"longitude_deg":76.4187904,"latitude_deg":10.1784008,"altitude":14,"angle":295,"satellites":47,"speed":47,"hex_longitude":"2d8c9500","hex_latitude":"061119c8","is_valid_coordinates":true} 
[2026-07-27 23:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:25:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004759040001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:25:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359523341456900096,"note":"Value kept but may cause issues"} 
[2026-07-27 23:25:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8307100592861857792,"note":"Value kept but may cause issues"} 
[2026-07-27 23:25:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:25:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785174849000,"timestamp_ms":1785174849000,"timestamp_seconds":1785174849,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4b675e8"} 
[2026-07-27 23:25:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:25:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 23: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-27 23:25:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:25:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:25:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:25:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:25:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:25:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:25:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23: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-07-27 23:25:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:25:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:25:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004759040001,"66":27343,"46":206,"79":46592,"24":47,"16":359523341456900096,"45":-8307100592861857792},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,79,24,16,45]} 
[2026-07-27 23:25:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:25:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:25:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004759040001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:25:10] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-07-27 23:25:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-27 23:25:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359523341456900096,"km_value":359523341456900.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:25:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8307100592861857792,"description":"Unknown IO ID 45"} 
[2026-07-27 23:25:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004759040001,"power":27343,"unknown_46":206,"unknown_79":46592,"ignition":47,"odometer":null,"unknown_45":-8307100592861857792}} 
[2026-07-27 23:25:10] local.INFO: DEBUG: GPS processor result {"connection_id":143223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:25:10] local.INFO: GPS data processed {"connection_id":143223,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:25:10] local.INFO: Acknowledgment sent {"connection_id":143223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:25:14] local.INFO: TCP Data received {"connection_id":144382,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4b27290012d196940071fee200041013127..."} 
[2026-07-27 23:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4b27290012d196940071fee200041013127..."} 
[2026-07-27 23:25:14] local.INFO: Processing buffer {"connection_id":144382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4b27290012d196940071fee200041013127..."} 
[2026-07-27 23:25:14] local.INFO: Packet analysis {"connection_id":144382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4b2"} 
[2026-07-27 23:25:14] local.INFO: Extracted packet for processing {"connection_id":144382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4b2"} 
[2026-07-27 23:25:14] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 23:25:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:25:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004616960001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:25:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 23:25:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:25:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:25:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785174586000,"timestamp_ms":1785174586000,"timestamp_seconds":1785174586,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4b27290"} 
[2026-07-27 23:25:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:25:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 23:25:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-27 23:25:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:25:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:25:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:25:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:25:14] local.INFO: Teltonika packet parsed successfully {"connection_id":144382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:25:14] local.INFO: Passing IMEI to GPS processor {"connection_id":144382,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:25:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":144382,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:25:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:25:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 23:25:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 23:25:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004616960001,"66":2144,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 23:25:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 23:25:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 23:25:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004616960001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:25:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 23:25:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 23:25:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:25:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 23:25:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004616960001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 23:25:15] local.INFO: DEBUG: GPS processor result {"connection_id":144382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555985,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:25:15] local.INFO: GPS data processed {"connection_id":144382,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:25:15] local.INFO: Acknowledgment sent {"connection_id":144382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:25:41] local.INFO: TCP Data received {"connection_id":143223,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4b69528012d8c71c006112a18000e01282d..."} 
[2026-07-27 23:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4b69528012d8c71c006112a18000e01282d..."} 
[2026-07-27 23:25:41] local.INFO: Processing buffer {"connection_id":143223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4b69528012d8c71c006112a18000e01282d..."} 
[2026-07-27 23:25:41] local.INFO: Packet analysis {"connection_id":143223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4b6"} 
[2026-07-27 23:25:41] local.INFO: Extracted packet for processing {"connection_id":143223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4b6"} 
[2026-07-27 23:25:41] local.INFO: GPS Element Parsed {"raw_longitude":764178880,"raw_latitude":101788184,"longitude_deg":76.417888,"latitude_deg":10.1788184,"altitude":14,"angle":296,"satellites":45,"speed":48,"hex_longitude":"2d8c71c0","hex_latitude":"06112a18","is_valid_coordinates":true} 
[2026-07-27 23: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-07-27 23:25:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004761344001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:25:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359523818198269952,"note":"Value kept but may cause issues"} 
[2026-07-27 23:25:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8316741110813046784,"note":"Value kept but may cause issues"} 
[2026-07-27 23:25:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:25:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785174857000,"timestamp_ms":1785174857000,"timestamp_seconds":1785174857,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4b69528"} 
[2026-07-27 23:25:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:25:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 23: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-27 23:25:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23: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-07-27 23:25:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:25:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:25:41] local.INFO: Teltonika packet parsed successfully {"connection_id":143223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:25:41] local.INFO: Passing IMEI to GPS processor {"connection_id":143223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:25:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":143223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23: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-07-27 23:25:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:25:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:25:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004761344001,"66":27365,"213":206,"79":46592,"24":48,"16":359523818198269952,"45":-8316741110813046784},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,79,24,16,45]} 
[2026-07-27 23:25:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:25:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:25:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004761344001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:25:41] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-07-27 23:25:41] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-27 23:25:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359523818198269952,"km_value":359523818198269.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:25:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8316741110813046784,"description":"Unknown IO ID 45"} 
[2026-07-27 23:25:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004761344001,"power":27365,"unknown_213":206,"unknown_79":46592,"ignition":48,"odometer":null,"unknown_45":-8316741110813046784}} 
[2026-07-27 23:25:41] local.INFO: DEBUG: GPS processor result {"connection_id":143223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:25:41] local.INFO: GPS data processed {"connection_id":143223,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:25:41] local.INFO: Acknowledgment sent {"connection_id":143223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:25:58] local.INFO: TCP Data received {"connection_id":145651,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145651,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:25:58] local.INFO: Processing buffer {"connection_id":145651,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:25:58] local.INFO: IMEI packet received {"connection_id":145651,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 23:25:58] local.INFO: IMEI acknowledgment sent {"connection_id":145651,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 23:26:03] local.INFO: TCP Data received {"connection_id":145652,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:26:03] local.INFO: Processing buffer {"connection_id":145652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:26:03] local.INFO: IMEI packet received {"connection_id":145652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 23:26:03] local.INFO: IMEI acknowledgment sent {"connection_id":145652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 23:26:04] local.INFO: TCP Data received {"connection_id":145651,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145651,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:26:04] local.INFO: Processing buffer {"connection_id":145651,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:26:04] local.INFO: IMEI packet received {"connection_id":145651,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 23:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":145651,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:26:05] local.INFO: TCP Data received {"connection_id":145652,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:26:05] local.INFO: Processing buffer {"connection_id":145652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:26:05] local.INFO: IMEI packet received {"connection_id":145652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 23:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":145652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:26:05] local.INFO: TCP Data received {"connection_id":145651,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4b70670012d196940071fee200041013128..."} 
[2026-07-27 23:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4b70670012d196940071fee200041013128..."} 
[2026-07-27 23:26:05] local.INFO: Processing buffer {"connection_id":145651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4b70670012d196940071fee200041013128..."} 
[2026-07-27 23:26:05] local.INFO: Packet analysis {"connection_id":145651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4b7"} 
[2026-07-27 23:26:05] local.INFO: Extracted packet for processing {"connection_id":145651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4b7"} 
[2026-07-27 23:26:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 23:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:26:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004694016001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:26:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 23:26:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:26:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:26:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785174886000,"timestamp_ms":1785174886000,"timestamp_seconds":1785174886,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4b70670"} 
[2026-07-27 23:26:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:26:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 23:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-27 23:26:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:26:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:26:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:26:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:26:05] local.INFO: Teltonika packet parsed successfully {"connection_id":145651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:26:05] local.INFO: Passing IMEI to GPS processor {"connection_id":145651,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:26:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":145651,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:26:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:26:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 23:26:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 23:26:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004694016001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 23:26:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 23:26:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 23:26:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004694016001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:26:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 23:26:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 23:26:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:26:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 23:26:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004694016001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 23:26:05] local.INFO: DEBUG: GPS processor result {"connection_id":145651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555987,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:26:05] local.INFO: GPS data processed {"connection_id":145651,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:26:05] local.INFO: Acknowledgment sent {"connection_id":145651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:26:22] local.INFO: TCP Data received {"connection_id":145652,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:26:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:26:22] local.INFO: Processing buffer {"connection_id":145652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:26:22] local.INFO: IMEI packet received {"connection_id":145652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 23:26:22] local.INFO: IMEI acknowledgment sent {"connection_id":145652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:26:36] local.INFO: TCP Data received {"connection_id":145652,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4b6b468012d8c4ec006113d00000e012a30..."} 
[2026-07-27 23:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4b6b468012d8c4ec006113d00000e012a30..."} 
[2026-07-27 23:26:36] local.INFO: Processing buffer {"connection_id":145652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4b6b468012d8c4ec006113d00000e012a30..."} 
[2026-07-27 23:26:36] local.INFO: Packet analysis {"connection_id":145652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4b6"} 
[2026-07-27 23:26:36] local.INFO: Extracted packet for processing {"connection_id":145652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4b6"} 
[2026-07-27 23:26:36] local.INFO: GPS Element Parsed {"raw_longitude":764169920,"raw_latitude":101793024,"longitude_deg":76.416992,"latitude_deg":10.1793024,"altitude":14,"angle":298,"satellites":48,"speed":47,"hex_longitude":"2d8c4ec0","hex_latitude":"06113d00","is_valid_coordinates":true} 
[2026-07-27 23:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:26:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004763392001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:26:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359524303529574400,"note":"Value kept but may cause issues"} 
[2026-07-27 23:26:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8326663103741028352,"note":"Value kept but may cause issues"} 
[2026-07-27 23:26:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:26:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785174865000,"timestamp_ms":1785174865000,"timestamp_seconds":1785174865,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4b6b468"} 
[2026-07-27 23:26:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:26:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 23:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-27 23:26:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:26:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:26:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:26:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:26:36] local.INFO: Teltonika packet parsed successfully {"connection_id":145652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:26:36] local.INFO: Passing IMEI to GPS processor {"connection_id":145652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:26:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":145652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:26:36] 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-07-27 23:26:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:26:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:26:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004763392001,"66":27321,"213":206,"79":46592,"24":47,"16":359524303529574400,"45":-8326663103741028352},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,79,24,16,45]} 
[2026-07-27 23:26:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:26:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:26:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004763392001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:26:36] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-07-27 23:26:36] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-27 23:26:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359524303529574400,"km_value":359524303529574.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:26:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8326663103741028352,"description":"Unknown IO ID 45"} 
[2026-07-27 23:26:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004763392001,"power":27321,"unknown_213":206,"unknown_79":46592,"ignition":47,"odometer":null,"unknown_45":-8326663103741028352}} 
[2026-07-27 23:26:36] local.INFO: DEBUG: GPS processor result {"connection_id":145652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:26:36] local.INFO: GPS data processed {"connection_id":145652,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:26:36] local.INFO: Acknowledgment sent {"connection_id":145652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:26:37] local.INFO: TCP Data received {"connection_id":145651,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4b70670012d196940071fee200041013128..."} 
[2026-07-27 23:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4b70670012d196940071fee200041013128..."} 
[2026-07-27 23:26:37] local.INFO: Processing buffer {"connection_id":145651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4b70670012d196940071fee200041013128..."} 
[2026-07-27 23:26:37] local.INFO: Packet analysis {"connection_id":145651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4b7"} 
[2026-07-27 23:26:37] local.INFO: Extracted packet for processing {"connection_id":145651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4b7"} 
[2026-07-27 23:26:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 23:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:26:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004694016001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:26:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 23:26:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:26:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:26:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785174886000,"timestamp_ms":1785174886000,"timestamp_seconds":1785174886,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4b70670"} 
[2026-07-27 23:26:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:26:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 23:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-27 23:26:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:26:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:26:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:26:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:26:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:26:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145651,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:26:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145651,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:26:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:26:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 23:26:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 23:26:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004694016001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 23:26:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 23:26:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 23:26:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004694016001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:26:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 23:26:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 23:26:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:26:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 23:26:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004694016001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 23:26:37] local.INFO: DEBUG: GPS processor result {"connection_id":145651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555989,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:26:37] local.INFO: GPS data processed {"connection_id":145651,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:26:37] local.INFO: Acknowledgment sent {"connection_id":145651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:26:37] local.INFO: TCP Data received {"connection_id":145652,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4b7e900012d8ae1c00611e340001701192f..."} 
[2026-07-27 23:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4b7e900012d8ae1c00611e340001701192f..."} 
[2026-07-27 23:26:37] local.INFO: Processing buffer {"connection_id":145652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4b7e900012d8ae1c00611e340001701192f..."} 
[2026-07-27 23:26:37] local.INFO: Packet analysis {"connection_id":145652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4b7"} 
[2026-07-27 23:26:37] local.INFO: Extracted packet for processing {"connection_id":145652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4b7"} 
[2026-07-27 23:26:37] local.INFO: GPS Element Parsed {"raw_longitude":764076480,"raw_latitude":101835584,"longitude_deg":76.407648,"latitude_deg":10.1835584,"altitude":23,"angle":281,"satellites":47,"speed":56,"hex_longitude":"2d8ae1c0","hex_latitude":"0611e340","is_valid_coordinates":true} 
[2026-07-27 23:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:26:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004783872001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:26:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359529251331899392,"note":"Value kept but may cause issues"} 
[2026-07-27 23:26:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8428486676554475520,"note":"Value kept but may cause issues"} 
[2026-07-27 23:26:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:26:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785174944000,"timestamp_ms":1785174944000,"timestamp_seconds":1785174944,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4b7e900"} 
[2026-07-27 23:26:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:26:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 23:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-27 23:26:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:26:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:26:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:26:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:26:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:26:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:26:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:26:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:26:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:26:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:26:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004783872001,"66":27484,"214":206,"79":46592,"24":56,"16":359529251331899392,"45":-8428486676554475520},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,79,24,16,45]} 
[2026-07-27 23:26:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:26:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:26:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004783872001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:26:37] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-07-27 23:26:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-27 23:26:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359529251331899392,"km_value":359529251331899.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:26:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8428486676554475520,"description":"Unknown IO ID 45"} 
[2026-07-27 23:26:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004783872001,"power":27484,"unknown_214":206,"unknown_79":46592,"ignition":56,"odometer":null,"unknown_45":-8428486676554475520}} 
[2026-07-27 23:26:37] local.INFO: DEBUG: GPS processor result {"connection_id":145652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:26:37] local.INFO: GPS data processed {"connection_id":145652,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:26:37] local.INFO: Acknowledgment sent {"connection_id":145652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:26:58] local.INFO: TCP Data received {"connection_id":144384,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144384,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:26:58] local.INFO: Processing buffer {"connection_id":144384,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:26:58] local.INFO: IMEI packet received {"connection_id":144384,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 23:26:58] local.INFO: IMEI acknowledgment sent {"connection_id":144384,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 23:27:00] local.INFO: TCP Data received {"connection_id":144383,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:27:00] local.INFO: Processing buffer {"connection_id":144383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:27:00] local.INFO: IMEI packet received {"connection_id":144383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 23:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":144383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 23:27:03] local.INFO: TCP Data received {"connection_id":144383,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:27:03] local.INFO: Processing buffer {"connection_id":144383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:27:03] local.INFO: IMEI packet received {"connection_id":144383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 23:27:03] local.INFO: IMEI acknowledgment sent {"connection_id":144383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:27:04] local.INFO: TCP Data received {"connection_id":144384,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144384,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:27:04] local.INFO: Processing buffer {"connection_id":144384,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:27:04] local.INFO: IMEI packet received {"connection_id":144384,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 23:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":144384,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:27:04] local.INFO: TCP Data received {"connection_id":144383,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4b80458012d8abb800611eaf8001701192c..."} 
[2026-07-27 23:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4b80458012d8abb800611eaf8001701192c..."} 
[2026-07-27 23:27:04] local.INFO: Processing buffer {"connection_id":144383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4b80458012d8abb800611eaf8001701192c..."} 
[2026-07-27 23:27:04] local.INFO: Packet analysis {"connection_id":144383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4b8"} 
[2026-07-27 23:27:04] local.INFO: Extracted packet for processing {"connection_id":144383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4b8"} 
[2026-07-27 23:27:04] local.INFO: GPS Element Parsed {"raw_longitude":764066688,"raw_latitude":101837560,"longitude_deg":76.4066688,"latitude_deg":10.183756,"altitude":23,"angle":281,"satellites":44,"speed":52,"hex_longitude":"2d8abb80","hex_latitude":"0611eaf8","is_valid_coordinates":true} 
[2026-07-27 23:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:27:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004785664001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:27:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359529728073269248,"note":"Value kept but may cause issues"} 
[2026-07-27 23:27:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8439253094413156352,"note":"Value kept but may cause issues"} 
[2026-07-27 23:27:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:27:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785174951000,"timestamp_ms":1785174951000,"timestamp_seconds":1785174951,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4b80458"} 
[2026-07-27 23:27:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:27:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 23:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-27 23:27:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:27:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:27:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:27:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:27:04] local.INFO: Teltonika packet parsed successfully {"connection_id":144383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:27:04] local.INFO: Passing IMEI to GPS processor {"connection_id":144383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:27:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":144383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:27:04] 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-07-27 23:27:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:27:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:27:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004785664001,"66":27397,"214":206,"79":46592,"24":52,"16":359529728073269248,"45":-8439253094413156352},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,79,24,16,45]} 
[2026-07-27 23:27:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:27:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:27:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004785664001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:27:04] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-07-27 23:27:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-27 23:27:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359529728073269248,"km_value":359529728073269.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:27:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8439253094413156352,"description":"Unknown IO ID 45"} 
[2026-07-27 23:27:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004785664001,"power":27397,"unknown_214":206,"unknown_79":46592,"ignition":52,"odometer":null,"unknown_45":-8439253094413156352}} 
[2026-07-27 23:27:04] local.INFO: DEBUG: GPS processor result {"connection_id":144383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:27:04] local.INFO: GPS data processed {"connection_id":144383,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:27:04] local.INFO: Acknowledgment sent {"connection_id":144383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:27:05] local.INFO: TCP Data received {"connection_id":144384,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4b70670012d196940071fee200041013128..."} 
[2026-07-27 23:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4b70670012d196940071fee200041013128..."} 
[2026-07-27 23:27:05] local.INFO: Processing buffer {"connection_id":144384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4b70670012d196940071fee200041013128..."} 
[2026-07-27 23:27:05] local.INFO: Packet analysis {"connection_id":144384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4b7"} 
[2026-07-27 23:27:05] local.INFO: Extracted packet for processing {"connection_id":144384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4b7"} 
[2026-07-27 23:27:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 23:27:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:27:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004694016001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:27:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 23:27:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:27:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:27:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785174886000,"timestamp_ms":1785174886000,"timestamp_seconds":1785174886,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4b70670"} 
[2026-07-27 23:27:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:27:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 23:27:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-27 23:27:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:27:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:27:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:27:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:27:05] local.INFO: Teltonika packet parsed successfully {"connection_id":144384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:27:05] local.INFO: Passing IMEI to GPS processor {"connection_id":144384,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:27:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":144384,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:27:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:27:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 23:27:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 23:27:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004694016001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 23:27:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 23:27:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 23:27:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004694016001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:27:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 23:27:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 23:27:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:27:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 23:27:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004694016001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 23:27:05] local.INFO: DEBUG: GPS processor result {"connection_id":144384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555992,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:27:05] local.INFO: GPS data processed {"connection_id":144384,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:27:05] local.INFO: Acknowledgment sent {"connection_id":144384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:27:35] local.INFO: TCP Data received {"connection_id":144383,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4b81fb0012d8a96800611f288001401192e..."} 
[2026-07-27 23:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4b81fb0012d8a96800611f288001401192e..."} 
[2026-07-27 23:27:35] local.INFO: Processing buffer {"connection_id":144383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4b81fb0012d8a96800611f288001401192e..."} 
[2026-07-27 23:27:35] local.INFO: Packet analysis {"connection_id":144383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4b8"} 
[2026-07-27 23:27:35] local.INFO: Extracted packet for processing {"connection_id":144383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4b8"} 
[2026-07-27 23:27:35] local.INFO: GPS Element Parsed {"raw_longitude":764057216,"raw_latitude":101839496,"longitude_deg":76.4057216,"latitude_deg":10.1839496,"altitude":20,"angle":281,"satellites":46,"speed":57,"hex_longitude":"2d8a9680","hex_latitude":"0611f288","is_valid_coordinates":true} 
[2026-07-27 23:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:27:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004787456001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:27:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359530187634769920,"note":"Value kept but may cause issues"} 
[2026-07-27 23:27:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8450019512271833088,"note":"Value kept but may cause issues"} 
[2026-07-27 23:27:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:27:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785174958000,"timestamp_ms":1785174958000,"timestamp_seconds":1785174958,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4b81fb0"} 
[2026-07-27 23:27:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:27:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 23:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-27 23:27:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:27:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:27:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:27:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:27:35] local.INFO: Teltonika packet parsed successfully {"connection_id":144383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:27:35] local.INFO: Passing IMEI to GPS processor {"connection_id":144383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:27:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":144383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:27:35] 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-07-27 23:27:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:27:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:27:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004787456001,"66":27397,"37":206,"79":46592,"24":57,"16":359530187634769920,"45":-8450019512271833088},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,79,24,16,45]} 
[2026-07-27 23:27:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:27:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:27:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004787456001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:27:35] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-27 23:27:35] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-27 23:27:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359530187634769920,"km_value":359530187634769.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:27:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8450019512271833088,"description":"Unknown IO ID 45"} 
[2026-07-27 23:27:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004787456001,"power":27397,"unknown_37":206,"unknown_79":46592,"ignition":57,"odometer":null,"unknown_45":-8450019512271833088}} 
[2026-07-27 23:27:35] local.INFO: DEBUG: GPS processor result {"connection_id":144383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:27:35] local.INFO: GPS data processed {"connection_id":144383,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:27:35] local.INFO: Acknowledgment sent {"connection_id":144383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:27:37] local.INFO: TCP Data received {"connection_id":144384,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4b70670012d196940071fee200041013128..."} 
[2026-07-27 23:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4b70670012d196940071fee200041013128..."} 
[2026-07-27 23:27:37] local.INFO: Processing buffer {"connection_id":144384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4b70670012d196940071fee200041013128..."} 
[2026-07-27 23:27:37] local.INFO: Packet analysis {"connection_id":144384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4b7"} 
[2026-07-27 23:27:37] local.INFO: Extracted packet for processing {"connection_id":144384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4b7"} 
[2026-07-27 23:27:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 23:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:27:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004694016001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:27:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 23:27:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:27:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:27:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785174886000,"timestamp_ms":1785174886000,"timestamp_seconds":1785174886,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4b70670"} 
[2026-07-27 23:27:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:27:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 23:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-27 23:27:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:27:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:27:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:27:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:27:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:27:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144384,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:27:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144384,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:27:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:27:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 23:27:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 23:27:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004694016001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 23:27:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 23:27:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 23:27:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004694016001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:27:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 23:27:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 23:27:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:27:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 23:27:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004694016001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 23:27:37] local.INFO: DEBUG: GPS processor result {"connection_id":144384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555994,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:27:37] local.INFO: GPS data processed {"connection_id":144384,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:27:37] local.INFO: Acknowledgment sent {"connection_id":144384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:27:57] local.INFO: TCP Data received {"connection_id":145653,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145653,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:27:57] local.INFO: Processing buffer {"connection_id":145653,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:27:57] local.INFO: IMEI packet received {"connection_id":145653,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 23:27:57] local.INFO: IMEI acknowledgment sent {"connection_id":145653,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 23:27:58] local.INFO: TCP Data received {"connection_id":145654,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145654,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:27:58] local.INFO: Processing buffer {"connection_id":145654,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:27:58] local.INFO: IMEI packet received {"connection_id":145654,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 23:27:58] local.INFO: IMEI acknowledgment sent {"connection_id":145654,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 23:28:02] local.INFO: TCP Data received {"connection_id":145653,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145653,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:28:02] local.INFO: Processing buffer {"connection_id":145653,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:28:02] local.INFO: IMEI packet received {"connection_id":145653,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 23:28:02] local.INFO: IMEI acknowledgment sent {"connection_id":145653,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:28:04] local.INFO: TCP Data received {"connection_id":145654,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145654,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:28:04] local.INFO: Processing buffer {"connection_id":145654,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:28:04] local.INFO: IMEI packet received {"connection_id":145654,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 23:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":145654,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:28:05] local.INFO: TCP Data received {"connection_id":145654,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4b70670012d196940071fee200041013128..."} 
[2026-07-27 23:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4b70670012d196940071fee200041013128..."} 
[2026-07-27 23:28:05] local.INFO: Processing buffer {"connection_id":145654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4b70670012d196940071fee200041013128..."} 
[2026-07-27 23:28:05] local.INFO: Packet analysis {"connection_id":145654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4b7"} 
[2026-07-27 23:28:05] local.INFO: Extracted packet for processing {"connection_id":145654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4b7"} 
[2026-07-27 23:28:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 23:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:28:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004694016001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:28:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 23:28:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:28:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:28:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785174886000,"timestamp_ms":1785174886000,"timestamp_seconds":1785174886,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4b70670"} 
[2026-07-27 23:28:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:28:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 23:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-27 23:28:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:28:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:28:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:28:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:28:05] local.INFO: Teltonika packet parsed successfully {"connection_id":145654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:28:05] local.INFO: Passing IMEI to GPS processor {"connection_id":145654,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:28:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":145654,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:28:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:28:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 23:28:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 23:28:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004694016001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 23:28:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 23:28:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 23:28:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004694016001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:28:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 23:28:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 23:28:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:28:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 23:28:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004694016001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 23:28:05] local.INFO: DEBUG: GPS processor result {"connection_id":145654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555995,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:28:05] local.INFO: GPS data processed {"connection_id":145654,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:28:05] local.INFO: Acknowledgment sent {"connection_id":145654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:28:06] local.INFO: TCP Data received {"connection_id":145653,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145653,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:28:06] local.INFO: Processing buffer {"connection_id":145653,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:28:06] local.INFO: IMEI packet received {"connection_id":145653,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 23:28:06] local.INFO: IMEI acknowledgment sent {"connection_id":145653,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:28:07] local.INFO: TCP Data received {"connection_id":145653,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4b83b08012d8a70400611fa20001101192c..."} 
[2026-07-27 23:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4b83b08012d8a70400611fa20001101192c..."} 
[2026-07-27 23:28:07] local.INFO: Processing buffer {"connection_id":145653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4b83b08012d8a70400611fa20001101192c..."} 
[2026-07-27 23:28:07] local.INFO: Packet analysis {"connection_id":145653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4b8"} 
[2026-07-27 23:28:07] local.INFO: Extracted packet for processing {"connection_id":145653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4b8"} 
[2026-07-27 23:28:07] local.INFO: GPS Element Parsed {"raw_longitude":764047424,"raw_latitude":101841440,"longitude_deg":76.4047424,"latitude_deg":10.184144,"altitude":17,"angle":281,"satellites":44,"speed":54,"hex_longitude":"2d8a7040","hex_latitude":"0611fa20","is_valid_coordinates":true} 
[2026-07-27 23:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:28:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004789248001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:28:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359530668671107072,"note":"Value kept but may cause issues"} 
[2026-07-27 23:28:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8460434086409631744,"note":"Value kept but may cause issues"} 
[2026-07-27 23:28:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:28:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785174965000,"timestamp_ms":1785174965000,"timestamp_seconds":1785174965,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4b83b08"} 
[2026-07-27 23:28:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:28:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 23:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-27 23:28:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:28:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:28:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:28:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:28:07] local.INFO: Teltonika packet parsed successfully {"connection_id":145653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:28:07] local.INFO: Passing IMEI to GPS processor {"connection_id":145653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:28:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":145653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:28:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:28:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:28:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:28:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004789248001,"66":27213,"37":206,"79":46592,"24":54,"16":359530668671107072,"45":-8460434086409631744},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,79,24,16,45]} 
[2026-07-27 23:28:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:28:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:28:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004789248001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:28:07] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-27 23:28:07] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-27 23:28:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359530668671107072,"km_value":359530668671107.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:28:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8460434086409631744,"description":"Unknown IO ID 45"} 
[2026-07-27 23:28:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004789248001,"power":27213,"unknown_37":206,"unknown_79":46592,"ignition":54,"odometer":null,"unknown_45":-8460434086409631744}} 
[2026-07-27 23:28:07] local.INFO: DEBUG: GPS processor result {"connection_id":145653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:28:07] local.INFO: GPS data processed {"connection_id":145653,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:28:07] local.INFO: Acknowledgment sent {"connection_id":145653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:28:10] local.INFO: TCP Data received {"connection_id":145653,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4b85660012d8a48c0061201e8000f01192c..."} 
[2026-07-27 23:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4b85660012d8a48c0061201e8000f01192c..."} 
[2026-07-27 23:28:10] local.INFO: Processing buffer {"connection_id":145653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4b85660012d8a48c0061201e8000f01192c..."} 
[2026-07-27 23:28:10] local.INFO: Packet analysis {"connection_id":145653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4b8"} 
[2026-07-27 23:28:10] local.INFO: Extracted packet for processing {"connection_id":145653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4b8"} 
[2026-07-27 23:28:10] local.INFO: GPS Element Parsed {"raw_longitude":764037312,"raw_latitude":101843432,"longitude_deg":76.4037312,"latitude_deg":10.1843432,"altitude":15,"angle":281,"satellites":44,"speed":59,"hex_longitude":"2d8a48c0","hex_latitude":"061201e8","is_valid_coordinates":true} 
[2026-07-27 23:28:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:28:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004791040001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:28:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359531158297378816,"note":"Value kept but may cause issues"} 
[2026-07-27 23:28:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8471200504268316672,"note":"Value kept but may cause issues"} 
[2026-07-27 23:28:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:28:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785174972000,"timestamp_ms":1785174972000,"timestamp_seconds":1785174972,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4b85660"} 
[2026-07-27 23:28:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:28:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 23: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-27 23:28:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:28:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:28:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:28:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:28:10] local.INFO: Teltonika packet parsed successfully {"connection_id":145653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:28:10] local.INFO: Passing IMEI to GPS processor {"connection_id":145653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:28:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":145653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:28: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-07-27 23:28:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:28:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:28:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004791040001,"66":27300,"37":206,"79":46592,"24":59,"16":359531158297378816,"45":-8471200504268316672},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,79,24,16,45]} 
[2026-07-27 23:28:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:28:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:28:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004791040001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:28:10] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-27 23:28:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-27 23:28:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359531158297378816,"km_value":359531158297378.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:28:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8471200504268316672,"description":"Unknown IO ID 45"} 
[2026-07-27 23:28:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004791040001,"power":27300,"unknown_37":206,"unknown_79":46592,"ignition":59,"odometer":null,"unknown_45":-8471200504268316672}} 
[2026-07-27 23:28:10] local.INFO: DEBUG: GPS processor result {"connection_id":145653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:28:10] local.INFO: GPS data processed {"connection_id":145653,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:28:10] local.INFO: Acknowledgment sent {"connection_id":145653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:28:36] local.INFO: TCP Data received {"connection_id":145654,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4b70670012d196940071fee200041013128..."} 
[2026-07-27 23:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4b70670012d196940071fee200041013128..."} 
[2026-07-27 23:28:36] local.INFO: Processing buffer {"connection_id":145654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4b70670012d196940071fee200041013128..."} 
[2026-07-27 23:28:36] local.INFO: Packet analysis {"connection_id":145654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4b7"} 
[2026-07-27 23:28:36] local.INFO: Extracted packet for processing {"connection_id":145654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4b7"} 
[2026-07-27 23:28:36] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 23:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:28:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004694016001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:28:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 23:28:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:28:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:28:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785174886000,"timestamp_ms":1785174886000,"timestamp_seconds":1785174886,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4b70670"} 
[2026-07-27 23:28:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:28:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 23:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-27 23:28:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:28:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:28:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:28:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:28:36] local.INFO: Teltonika packet parsed successfully {"connection_id":145654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:28:36] local.INFO: Passing IMEI to GPS processor {"connection_id":145654,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:28:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":145654,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:28:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:28:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 23:28:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 23:28:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004694016001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 23:28:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 23:28:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 23:28:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004694016001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:28:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 23:28:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 23:28:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:28:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 23:28:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004694016001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 23:28:36] local.INFO: DEBUG: GPS processor result {"connection_id":145654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555998,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:28:36] local.INFO: GPS data processed {"connection_id":145654,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:28:36] local.INFO: Acknowledgment sent {"connection_id":145654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:28:41] local.INFO: TCP Data received {"connection_id":145653,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4b99a98012d892380061261500019013130..."} 
[2026-07-27 23:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4b99a98012d892380061261500019013130..."} 
[2026-07-27 23:28:41] local.INFO: Processing buffer {"connection_id":145653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4b99a98012d892380061261500019013130..."} 
[2026-07-27 23:28:41] local.INFO: Packet analysis {"connection_id":145653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4b9"} 
[2026-07-27 23:28:41] local.INFO: Extracted packet for processing {"connection_id":145653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4b9"} 
[2026-07-27 23:28:41] local.INFO: GPS Element Parsed {"raw_longitude":763962240,"raw_latitude":101867856,"longitude_deg":76.396224,"latitude_deg":10.1867856,"altitude":25,"angle":305,"satellites":48,"speed":20,"hex_longitude":"2d892380","hex_latitude":"06126150","is_valid_coordinates":true} 
[2026-07-27 23:28:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:28:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004809984001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:28:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359535083897487360,"note":"Value kept but may cause issues"} 
[2026-07-27 23:28:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8556628159694702592,"note":"Value kept but may cause issues"} 
[2026-07-27 23:28:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,124,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:28:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785175055000,"timestamp_ms":1785175055000,"timestamp_seconds":1785175055,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4b99a98"} 
[2026-07-27 23:28:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:28:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 23:28:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-27 23:28:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:28:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:28:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:28:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:28:41] local.INFO: Teltonika packet parsed successfully {"connection_id":145653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:28:41] local.INFO: Passing IMEI to GPS processor {"connection_id":145653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:28:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":145653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:28: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-07-27 23:28:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:28:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:28:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004809984001,"66":27376,"124":206,"79":46592,"24":20,"16":359535083897487360,"45":-8556628159694702592},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,124,79,24,16,45]} 
[2026-07-27 23:28:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:28:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:28:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004809984001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:28:41] local.INFO: Unknown IO ID detected {"io_id":124,"value":206,"description":"Unknown IO ID 124"} 
[2026-07-27 23:28:41] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-27 23:28:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359535083897487360,"km_value":359535083897487.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:28:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8556628159694702592,"description":"Unknown IO ID 45"} 
[2026-07-27 23:28:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004809984001,"power":27376,"unknown_124":206,"unknown_79":46592,"ignition":20,"odometer":null,"unknown_45":-8556628159694702592}} 
[2026-07-27 23:28:41] local.INFO: DEBUG: GPS processor result {"connection_id":145653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:28:41] local.INFO: GPS data processed {"connection_id":145653,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:28:41] local.INFO: Acknowledgment sent {"connection_id":145653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:28:58] local.INFO: TCP Data received {"connection_id":143369,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143369,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:28:58] local.INFO: Processing buffer {"connection_id":143369,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:28:58] local.INFO: IMEI packet received {"connection_id":143369,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 23:28:58] local.INFO: IMEI acknowledgment sent {"connection_id":143369,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 23:29:00] local.INFO: TCP Data received {"connection_id":143368,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:29:00] local.INFO: Processing buffer {"connection_id":143368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:29:00] local.INFO: IMEI packet received {"connection_id":143368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 23:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":143368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 23:29:03] local.INFO: TCP Data received {"connection_id":143368,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:29:03] local.INFO: Processing buffer {"connection_id":143368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:29:03] local.INFO: IMEI packet received {"connection_id":143368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 23:29:03] local.INFO: IMEI acknowledgment sent {"connection_id":143368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:29:04] local.INFO: TCP Data received {"connection_id":143369,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143369,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:29:04] local.INFO: Processing buffer {"connection_id":143369,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:29:04] local.INFO: IMEI packet received {"connection_id":143369,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 23:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":143369,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:29:04] local.INFO: TCP Data received {"connection_id":143368,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4b9d918012d89054006127548001b012a2d..."} 
[2026-07-27 23:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4b9d918012d89054006127548001b012a2d..."} 
[2026-07-27 23:29:04] local.INFO: Processing buffer {"connection_id":143368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4b9d918012d89054006127548001b012a2d..."} 
[2026-07-27 23:29:04] local.INFO: Packet analysis {"connection_id":143368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4b9"} 
[2026-07-27 23:29:04] local.INFO: Extracted packet for processing {"connection_id":143368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4b9"} 
[2026-07-27 23:29:04] local.INFO: GPS Element Parsed {"raw_longitude":763954496,"raw_latitude":101872968,"longitude_deg":76.3954496,"latitude_deg":10.1872968,"altitude":27,"angle":298,"satellites":45,"speed":30,"hex_longitude":"2d890540","hex_latitude":"06127548","is_valid_coordinates":true} 
[2026-07-27 23: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-07-27 23:29:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004814080001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:29:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359535530574086144,"note":"Value kept but may cause issues"} 
[2026-07-27 23:29:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8564861302762024960,"note":"Value kept but may cause issues"} 
[2026-07-27 23:29:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,124,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:29:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785175071000,"timestamp_ms":1785175071000,"timestamp_seconds":1785175071,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4b9d918"} 
[2026-07-27 23:29:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:29:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 23:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-27 23:29:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:29:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:29:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:29:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:29:04] local.INFO: Teltonika packet parsed successfully {"connection_id":143368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:29:04] local.INFO: Passing IMEI to GPS processor {"connection_id":143368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:29:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":143368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:29:04] 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-07-27 23:29:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:29:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:29:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004814080001,"66":27006,"124":206,"79":46592,"24":30,"16":359535530574086144,"45":-8564861302762024960},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,124,79,24,16,45]} 
[2026-07-27 23:29:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:29:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:29:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004814080001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:29:04] local.INFO: Unknown IO ID detected {"io_id":124,"value":206,"description":"Unknown IO ID 124"} 
[2026-07-27 23:29:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-27 23:29:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359535530574086144,"km_value":359535530574086.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:29:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8564861302762024960,"description":"Unknown IO ID 45"} 
[2026-07-27 23:29:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004814080001,"power":27006,"unknown_124":206,"unknown_79":46592,"ignition":30,"odometer":null,"unknown_45":-8564861302762024960}} 
[2026-07-27 23:29:04] local.INFO: DEBUG: GPS processor result {"connection_id":143368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":556000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:29:04] local.INFO: GPS data processed {"connection_id":143368,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:29:04] local.INFO: Acknowledgment sent {"connection_id":143368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:29:05] local.INFO: TCP Data received {"connection_id":143369,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4b70670012d196940071fee200041013128..."} 
[2026-07-27 23:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4b70670012d196940071fee200041013128..."} 
[2026-07-27 23:29:05] local.INFO: Processing buffer {"connection_id":143369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4b70670012d196940071fee200041013128..."} 
[2026-07-27 23:29:05] local.INFO: Packet analysis {"connection_id":143369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4b7"} 
[2026-07-27 23:29:05] local.INFO: Extracted packet for processing {"connection_id":143369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4b7"} 
[2026-07-27 23:29:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 23:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:29:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004694016001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:29:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 23:29:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:29:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:29:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785174886000,"timestamp_ms":1785174886000,"timestamp_seconds":1785174886,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4b70670"} 
[2026-07-27 23:29:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:29:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 23:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-27 23:29:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:29:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:29:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:29:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:29:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:29:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143369,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:29:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143369,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:29:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:29:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 23:29:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 23:29:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004694016001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 23:29:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 23:29:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 23:29:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004694016001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:29:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 23:29:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 23:29:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:29:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 23:29:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004694016001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 23:29:05] local.INFO: DEBUG: GPS processor result {"connection_id":143369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":556001,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:29:05] local.INFO: GPS data processed {"connection_id":143369,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:29:05] local.INFO: Acknowledgment sent {"connection_id":143369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:29:37] local.INFO: TCP Data received {"connection_id":143369,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4b70670012d196940071fee200041013128..."} 
[2026-07-27 23:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4b70670012d196940071fee200041013128..."} 
[2026-07-27 23:29:37] local.INFO: Processing buffer {"connection_id":143369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4b70670012d196940071fee200041013128..."} 
[2026-07-27 23:29:37] local.INFO: Packet analysis {"connection_id":143369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4b7"} 
[2026-07-27 23:29:37] local.INFO: Extracted packet for processing {"connection_id":143369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4b7"} 
[2026-07-27 23:29:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 23:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004694016001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:29:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 23:29:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:29:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:29:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785174886000,"timestamp_ms":1785174886000,"timestamp_seconds":1785174886,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4b70670"} 
[2026-07-27 23:29:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:29:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 23: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-27 23:29:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:29:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:29:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:29:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:29:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:29:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143369,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:29:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143369,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:29:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:29:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 23:29:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 23:29:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004694016001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 23:29:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 23:29:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 23:29:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004694016001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:29:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 23:29:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 23:29:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:29:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 23:29:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004694016001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 23:29:37] local.INFO: DEBUG: GPS processor result {"connection_id":143369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":556002,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:29:37] local.INFO: GPS data processed {"connection_id":143369,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:29:37] local.INFO: Acknowledgment sent {"connection_id":143369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:29:41] local.INFO: TCP Data received {"connection_id":143368,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4ba0410012d88e54006128470001901282c..."} 
[2026-07-27 23:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4ba0410012d88e54006128470001901282c..."} 
[2026-07-27 23:29:41] local.INFO: Processing buffer {"connection_id":143368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4ba0410012d88e54006128470001901282c..."} 
[2026-07-27 23:29:41] local.INFO: Packet analysis {"connection_id":143368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4ba"} 
[2026-07-27 23:29:41] local.INFO: Extracted packet for processing {"connection_id":143368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4ba"} 
[2026-07-27 23:29:41] local.INFO: GPS Element Parsed {"raw_longitude":763946304,"raw_latitude":101876848,"longitude_deg":76.3946304,"latitude_deg":10.1876848,"altitude":25,"angle":296,"satellites":44,"speed":21,"hex_longitude":"2d88e540","hex_latitude":"06128470","is_valid_coordinates":true} 
[2026-07-27 23:29:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:29:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004818176001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:29:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359535964365783040,"note":"Value kept but may cause issues"} 
[2026-07-27 23:29:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8573375920806213632,"note":"Value kept but may cause issues"} 
[2026-07-27 23:29:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:29:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785175082000,"timestamp_ms":1785175082000,"timestamp_seconds":1785175082,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4ba0410"} 
[2026-07-27 23:29:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:29:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 23: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":105,"n8_eight_byte":126,"data_length":795,"current_offset":136} 
[2026-07-27 23:29:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1857,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:29:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:29:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:29:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:29:41] local.INFO: Teltonika packet parsed successfully {"connection_id":143368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:29:41] local.INFO: Passing IMEI to GPS processor {"connection_id":143368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:29:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":143368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:29: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-07-27 23:29:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:29:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:29:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004818176001,"66":27376,"125":206,"79":46592,"24":21,"16":359535964365783040,"45":-8573375920806213632},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,79,24,16,45]} 
[2026-07-27 23:29:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:29:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:29:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004818176001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:29:41] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-07-27 23:29:41] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-27 23:29:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359535964365783040,"km_value":359535964365783.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:29:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8573375920806213632,"description":"Unknown IO ID 45"} 
[2026-07-27 23:29:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004818176001,"power":27376,"unknown_125":206,"unknown_79":46592,"ignition":21,"odometer":null,"unknown_45":-8573375920806213632}} 
[2026-07-27 23:29:41] local.INFO: DEBUG: GPS processor result {"connection_id":143368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":556003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:29:41] local.INFO: GPS data processed {"connection_id":143368,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:29:41] local.INFO: Acknowledgment sent {"connection_id":143368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:30:04] local.INFO: TCP Data received {"connection_id":143370,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143370,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:30:04] local.INFO: Processing buffer {"connection_id":143370,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:30:04] local.INFO: IMEI packet received {"connection_id":143370,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 23:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":143370,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 23:30:09] local.INFO: TCP Data received {"connection_id":143370,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143370,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:30:09] local.INFO: Processing buffer {"connection_id":143370,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:30:09] local.INFO: IMEI packet received {"connection_id":143370,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 23:30:09] local.INFO: IMEI acknowledgment sent {"connection_id":143370,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:30:10] local.INFO: TCP Data received {"connection_id":143224,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:30:10] local.INFO: Processing buffer {"connection_id":143224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:30:10] local.INFO: IMEI packet received {"connection_id":143224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 23:30:10] local.INFO: IMEI acknowledgment sent {"connection_id":143224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 23:30:10] local.INFO: TCP Data received {"connection_id":143370,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4b70670012d196940071fee200041013128..."} 
[2026-07-27 23:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4b70670012d196940071fee200041013128..."} 
[2026-07-27 23:30:10] local.INFO: Processing buffer {"connection_id":143370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4b70670012d196940071fee200041013128..."} 
[2026-07-27 23:30:10] local.INFO: Packet analysis {"connection_id":143370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4b7"} 
[2026-07-27 23:30:10] local.INFO: Extracted packet for processing {"connection_id":143370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4b7"} 
[2026-07-27 23:30:10] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 23:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:30:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004694016001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:30:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 23:30:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:30:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:30:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785174886000,"timestamp_ms":1785174886000,"timestamp_seconds":1785174886,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4b70670"} 
[2026-07-27 23:30:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:30:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 23: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-27 23:30:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:30:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:30:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:30:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:30:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:30:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:30:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:30:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:30:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 23:30:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 23:30:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004694016001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 23:30:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 23:30:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 23:30:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004694016001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:30:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 23:30:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 23:30:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:30:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 23:30:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004694016001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 23:30:10] local.INFO: DEBUG: GPS processor result {"connection_id":143370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":556004,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:30:10] local.INFO: GPS data processed {"connection_id":143370,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:30:10] local.INFO: Acknowledgment sent {"connection_id":143370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:30:14] local.INFO: TCP Data received {"connection_id":143370,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4b70670012d196940071fee200041013128..."} 
[2026-07-27 23:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4b70670012d196940071fee200041013128..."} 
[2026-07-27 23:30:14] local.INFO: Processing buffer {"connection_id":143370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4b70670012d196940071fee200041013128..."} 
[2026-07-27 23:30:14] local.INFO: Packet analysis {"connection_id":143370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4b7"} 
[2026-07-27 23:30:14] local.INFO: Extracted packet for processing {"connection_id":143370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4b7"} 
[2026-07-27 23:30:14] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 23: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-07-27 23:30:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004694016001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:30:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 23:30:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:30:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:30:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785174886000,"timestamp_ms":1785174886000,"timestamp_seconds":1785174886,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4b70670"} 
[2026-07-27 23:30:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:30:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 23:30:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-27 23:30:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23: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-07-27 23:30:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:30:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:30:14] local.INFO: Teltonika packet parsed successfully {"connection_id":143370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:30:14] local.INFO: Passing IMEI to GPS processor {"connection_id":143370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:30:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":143370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:30:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:30:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 23:30:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 23:30:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004694016001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 23:30:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 23:30:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 23:30:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004694016001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:30:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 23:30:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 23:30:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:30:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 23:30:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004694016001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 23:30:15] local.INFO: DEBUG: GPS processor result {"connection_id":143370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":556005,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:30:15] local.INFO: GPS data processed {"connection_id":143370,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:30:15] local.INFO: Acknowledgment sent {"connection_id":143370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:30:15] local.INFO: TCP Data received {"connection_id":143224,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:30:15] local.INFO: Processing buffer {"connection_id":143224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:30:15] local.INFO: IMEI packet received {"connection_id":143224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 23:30:15] local.INFO: IMEI acknowledgment sent {"connection_id":143224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:30:16] local.INFO: TCP Data received {"connection_id":143224,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4ba36d8012d88c380061294b0001a012831..."} 
[2026-07-27 23:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143224,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4ba36d8012d88c380061294b0001a012831..."} 
[2026-07-27 23:30:16] local.INFO: Processing buffer {"connection_id":143224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4ba36d8012d88c380061294b0001a012831..."} 
[2026-07-27 23:30:16] local.INFO: Packet analysis {"connection_id":143224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4ba"} 
[2026-07-27 23:30:16] local.INFO: Extracted packet for processing {"connection_id":143224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4ba"} 
[2026-07-27 23:30:16] local.INFO: GPS Element Parsed {"raw_longitude":763937664,"raw_latitude":101881008,"longitude_deg":76.3937664,"latitude_deg":10.1881008,"altitude":26,"angle":296,"satellites":49,"speed":35,"hex_longitude":"2d88c380","hex_latitude":"061294b0","is_valid_coordinates":true} 
[2026-07-27 23: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-07-27 23:30:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004820992001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:30:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359536423927283712,"note":"Value kept but may cause issues"} 
[2026-07-27 23:30:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8582383120059961344,"note":"Value kept but may cause issues"} 
[2026-07-27 23:30:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:30:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785175095000,"timestamp_ms":1785175095000,"timestamp_seconds":1785175095,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4ba36d8"} 
[2026-07-27 23:30:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:30:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 23: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-27 23:30:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23: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-07-27 23:30:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:30:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:30:16] local.INFO: Teltonika packet parsed successfully {"connection_id":143224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:30:16] local.INFO: Passing IMEI to GPS processor {"connection_id":143224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:30:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":143224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:30: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-07-27 23:30:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:30:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:30:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004820992001,"66":27321,"125":206,"79":46592,"24":35,"16":359536423927283712,"45":-8582383120059961344},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,79,24,16,45]} 
[2026-07-27 23:30:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:30:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:30:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004820992001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:30:16] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-07-27 23:30:16] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-27 23:30:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359536423927283712,"km_value":359536423927283.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:30:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8582383120059961344,"description":"Unknown IO ID 45"} 
[2026-07-27 23:30:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004820992001,"power":27321,"unknown_125":206,"unknown_79":46592,"ignition":35,"odometer":null,"unknown_45":-8582383120059961344}} 
[2026-07-27 23:30:16] local.INFO: DEBUG: GPS processor result {"connection_id":143224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":556006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:30:16] local.INFO: GPS data processed {"connection_id":143224,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:30:16] local.INFO: Acknowledgment sent {"connection_id":143224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:30:58] local.INFO: TCP Data received {"connection_id":145655,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145655,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:30:58] local.INFO: Processing buffer {"connection_id":145655,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:30:58] local.INFO: IMEI packet received {"connection_id":145655,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 23:30:58] local.INFO: IMEI acknowledgment sent {"connection_id":145655,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 23:31:04] local.INFO: TCP Data received {"connection_id":145655,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145655,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:31:04] local.INFO: Processing buffer {"connection_id":145655,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:31:04] local.INFO: IMEI packet received {"connection_id":145655,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 23:31:04] local.INFO: IMEI acknowledgment sent {"connection_id":145655,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:31:05] local.INFO: TCP Data received {"connection_id":145655,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4bb9e38012d196940071fee200041013124..."} 
[2026-07-27 23:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4bb9e38012d196940071fee200041013124..."} 
[2026-07-27 23:31:05] local.INFO: Processing buffer {"connection_id":145655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4bb9e38012d196940071fee200041013124..."} 
[2026-07-27 23:31:05] local.INFO: Packet analysis {"connection_id":145655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4bb"} 
[2026-07-27 23:31:05] local.INFO: Extracted packet for processing {"connection_id":145655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4bb"} 
[2026-07-27 23:31:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 23:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:31:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004770816001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:31:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 23:31:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:31:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:31:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785175187000,"timestamp_ms":1785175187000,"timestamp_seconds":1785175187,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4bb9e38"} 
[2026-07-27 23:31:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:31:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 23:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 23:31:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:31:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:31:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:31:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:31:05] local.INFO: Teltonika packet parsed successfully {"connection_id":145655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:31:05] local.INFO: Passing IMEI to GPS processor {"connection_id":145655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:31:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":145655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:31:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:31:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 23:31:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 23:31:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004770816001,"66":2155,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 23:31:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 23:31:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 23:31:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004770816001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:31:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 23:31:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 23:31:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:31:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 23:31:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004770816001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 23:31:05] local.INFO: DEBUG: GPS processor result {"connection_id":145655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":556007,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:31:05] local.INFO: GPS data processed {"connection_id":145655,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:31:05] local.INFO: Acknowledgment sent {"connection_id":145655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:31:05] local.INFO: TCP Data received {"connection_id":144385,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:31:05] local.INFO: Processing buffer {"connection_id":144385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:31:05] local.INFO: IMEI packet received {"connection_id":144385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 23:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":144385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 23:31:06] local.INFO: TCP Data received {"connection_id":144385,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:31:06] local.INFO: Processing buffer {"connection_id":144385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:31:06] local.INFO: IMEI packet received {"connection_id":144385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 23:31:06] local.INFO: IMEI acknowledgment sent {"connection_id":144385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:31:10] local.INFO: TCP Data received {"connection_id":144385,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:31:10] local.INFO: Processing buffer {"connection_id":144385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:31:10] local.INFO: IMEI packet received {"connection_id":144385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 23:31:10] local.INFO: IMEI acknowledgment sent {"connection_id":144385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:31:11] local.INFO: TCP Data received {"connection_id":144385,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4bbdcb8012d87b3c006134a580019014531..."} 
[2026-07-27 23:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4bbdcb8012d87b3c006134a580019014531..."} 
[2026-07-27 23:31:11] local.INFO: Processing buffer {"connection_id":144385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4bbdcb8012d87b3c006134a580019014531..."} 
[2026-07-27 23:31:11] local.INFO: Packet analysis {"connection_id":144385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4bb"} 
[2026-07-27 23:31:11] local.INFO: Extracted packet for processing {"connection_id":144385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4bb"} 
[2026-07-27 23:31:11] local.INFO: GPS Element Parsed {"raw_longitude":763868096,"raw_latitude":101927512,"longitude_deg":76.3868096,"latitude_deg":10.1927512,"altitude":25,"angle":325,"satellites":49,"speed":16,"hex_longitude":"2d87b3c0","hex_latitude":"06134a58","is_valid_coordinates":true} 
[2026-07-27 23:31:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:31:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004851712001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:31:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359540478376411136,"note":"Value kept but may cause issues"} 
[2026-07-27 23:31:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8668021881711282176,"note":"Value kept but may cause issues"} 
[2026-07-27 23:31:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:31:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785175203000,"timestamp_ms":1785175203000,"timestamp_seconds":1785175203,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4bbdcb8"} 
[2026-07-27 23:31:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:31:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 23: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-27 23:31:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:31:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:31:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:31:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:31:11] local.INFO: Teltonika packet parsed successfully {"connection_id":144385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:31:11] local.INFO: Passing IMEI to GPS processor {"connection_id":144385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:31:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":144385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:31: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-07-27 23:31:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:31:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:31:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004851712001,"66":27300,"204":206,"79":46592,"24":16,"16":359540478376411136,"45":-8668021881711282176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,79,24,16,45]} 
[2026-07-27 23:31:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:31:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:31:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004851712001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:31:11] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-27 23:31:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359540478376411136,"km_value":359540478376411.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:31:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8668021881711282176,"description":"Unknown IO ID 45"} 
[2026-07-27 23:31:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004851712001,"power":27300,"lac":206,"unknown_79":46592,"ignition":16,"odometer":null,"unknown_45":-8668021881711282176}} 
[2026-07-27 23:31:11] local.INFO: DEBUG: GPS processor result {"connection_id":144385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":556008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:31:11] local.INFO: GPS data processed {"connection_id":144385,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:31:11] local.INFO: Acknowledgment sent {"connection_id":144385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:31:14] local.INFO: TCP Data received {"connection_id":144385,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4bbe0a0012d87b34006134be00018015531..."} 
[2026-07-27 23:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4bbe0a0012d87b34006134be00018015531..."} 
[2026-07-27 23:31:14] local.INFO: Processing buffer {"connection_id":144385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4bbe0a0012d87b34006134be00018015531..."} 
[2026-07-27 23:31:14] local.INFO: Packet analysis {"connection_id":144385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4bb"} 
[2026-07-27 23:31:14] local.INFO: Extracted packet for processing {"connection_id":144385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4bb"} 
[2026-07-27 23:31:14] local.INFO: GPS Element Parsed {"raw_longitude":763867968,"raw_latitude":101927904,"longitude_deg":76.3867968,"latitude_deg":10.1927904,"altitude":24,"angle":341,"satellites":49,"speed":18,"hex_longitude":"2d87b340","hex_latitude":"06134be0","is_valid_coordinates":true} 
[2026-07-27 23: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-07-27 23:31:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004851968001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:31:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359540495556280320,"note":"Value kept but may cause issues"} 
[2026-07-27 23:31:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8668373725432096768,"note":"Value kept but may cause issues"} 
[2026-07-27 23:31:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:31:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785175204000,"timestamp_ms":1785175204000,"timestamp_seconds":1785175204,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4bbe0a0"} 
[2026-07-27 23:31:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:31:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 23: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-27 23:31:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23: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-07-27 23:31:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:31:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:31:14] local.INFO: Teltonika packet parsed successfully {"connection_id":144385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:31:14] local.INFO: Passing IMEI to GPS processor {"connection_id":144385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:31:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":144385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:31: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-07-27 23:31:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:31:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:31:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004851968001,"66":27300,"204":206,"79":46592,"24":18,"16":359540495556280320,"45":-8668373725432096768},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,79,24,16,45]} 
[2026-07-27 23:31:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:31:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:31:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004851968001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:31:14] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-27 23:31:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359540495556280320,"km_value":359540495556280.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:31:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8668373725432096768,"description":"Unknown IO ID 45"} 
[2026-07-27 23:31:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004851968001,"power":27300,"lac":206,"unknown_79":46592,"ignition":18,"odometer":null,"unknown_45":-8668373725432096768}} 
[2026-07-27 23:31:14] local.INFO: DEBUG: GPS processor result {"connection_id":144385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":556009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:31:14] local.INFO: GPS data processed {"connection_id":144385,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:31:14] local.INFO: Acknowledgment sent {"connection_id":144385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:31:36] local.INFO: TCP Data received {"connection_id":145655,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4bb9e38012d196940071fee200041013124..."} 
[2026-07-27 23:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4bb9e38012d196940071fee200041013124..."} 
[2026-07-27 23:31:36] local.INFO: Processing buffer {"connection_id":145655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4bb9e38012d196940071fee200041013124..."} 
[2026-07-27 23:31:36] local.INFO: Packet analysis {"connection_id":145655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4bb"} 
[2026-07-27 23:31:36] local.INFO: Extracted packet for processing {"connection_id":145655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4bb"} 
[2026-07-27 23:31:36] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 23:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:31:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004770816001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:31:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 23:31:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:31:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:31:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785175187000,"timestamp_ms":1785175187000,"timestamp_seconds":1785175187,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4bb9e38"} 
[2026-07-27 23:31:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:31:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 23:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 23:31:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:31:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:31:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:31:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:31:36] local.INFO: Teltonika packet parsed successfully {"connection_id":145655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:31:36] local.INFO: Passing IMEI to GPS processor {"connection_id":145655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:31:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":145655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:31:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:31:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 23:31:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 23:31:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004770816001,"66":2155,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 23:31:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 23:31:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 23:31:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004770816001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:31:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 23:31:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 23:31:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:31:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 23:31:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004770816001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 23:31:36] local.INFO: DEBUG: GPS processor result {"connection_id":145655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":556010,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:31:36] local.INFO: GPS data processed {"connection_id":145655,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:31:36] local.INFO: Acknowledgment sent {"connection_id":145655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:31:58] local.INFO: TCP Data received {"connection_id":143371,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143371,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:31:58] local.INFO: Processing buffer {"connection_id":143371,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:31:58] local.INFO: IMEI packet received {"connection_id":143371,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 23:31:58] local.INFO: IMEI acknowledgment sent {"connection_id":143371,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 23:32:04] local.INFO: TCP Data received {"connection_id":143371,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143371,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:32:04] local.INFO: Processing buffer {"connection_id":143371,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:32:04] local.INFO: IMEI packet received {"connection_id":143371,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 23:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":143371,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:32:05] local.INFO: TCP Data received {"connection_id":144386,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:32:05] local.INFO: Processing buffer {"connection_id":144386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:32:05] local.INFO: IMEI packet received {"connection_id":144386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 23:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":144386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 23:32:05] local.INFO: TCP Data received {"connection_id":143371,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4bb9e38012d196940071fee200041013124..."} 
[2026-07-27 23:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4bb9e38012d196940071fee200041013124..."} 
[2026-07-27 23:32:05] local.INFO: Processing buffer {"connection_id":143371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4bb9e38012d196940071fee200041013124..."} 
[2026-07-27 23:32:05] local.INFO: Packet analysis {"connection_id":143371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4bb"} 
[2026-07-27 23:32:05] local.INFO: Extracted packet for processing {"connection_id":143371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4bb"} 
[2026-07-27 23:32:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 23:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:32:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004770816001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:32:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 23:32:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:32:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:32:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785175187000,"timestamp_ms":1785175187000,"timestamp_seconds":1785175187,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4bb9e38"} 
[2026-07-27 23:32:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:32:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 23:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 23:32:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:32:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:32:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:32:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:32:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:32:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143371,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:32:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143371,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:32:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:32:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 23:32:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 23:32:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004770816001,"66":2155,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 23:32:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 23:32:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 23:32:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004770816001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:32:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 23:32:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 23:32:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:32:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 23:32:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004770816001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 23:32:05] local.INFO: DEBUG: GPS processor result {"connection_id":143371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":556011,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:32:05] local.INFO: GPS data processed {"connection_id":143371,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:32:05] local.INFO: Acknowledgment sent {"connection_id":143371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:32:09] local.INFO: TCP Data received {"connection_id":144386,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:32:09] local.INFO: Processing buffer {"connection_id":144386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:32:09] local.INFO: IMEI packet received {"connection_id":144386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 23:32:09] local.INFO: IMEI acknowledgment sent {"connection_id":144386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:32:10] local.INFO: TCP Data received {"connection_id":144386,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4bbe870012d87b24006134fe00018016130..."} 
[2026-07-27 23:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4bbe870012d87b24006134fe00018016130..."} 
[2026-07-27 23:32:10] local.INFO: Processing buffer {"connection_id":144386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4bbe870012d87b24006134fe00018016130..."} 
[2026-07-27 23:32:10] local.INFO: Packet analysis {"connection_id":144386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4bb"} 
[2026-07-27 23:32:10] local.INFO: Extracted packet for processing {"connection_id":144386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4bb"} 
[2026-07-27 23:32:10] local.INFO: GPS Element Parsed {"raw_longitude":763867712,"raw_latitude":101928928,"longitude_deg":76.3867712,"latitude_deg":10.1928928,"altitude":24,"angle":353,"satellites":48,"speed":22,"hex_longitude":"2d87b240","hex_latitude":"06134fe0","is_valid_coordinates":true} 
[2026-07-27 23:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:32:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004852224001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:32:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359540547095887872,"note":"Value kept but may cause issues"} 
[2026-07-27 23:32:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8668514462920351744,"note":"Value kept but may cause issues"} 
[2026-07-27 23:32:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:32:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785175206000,"timestamp_ms":1785175206000,"timestamp_seconds":1785175206,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4bbe870"} 
[2026-07-27 23:32:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:32:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 23: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-27 23:32:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:32:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:32:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:32:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:32:10] local.INFO: Teltonika packet parsed successfully {"connection_id":144386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:32:10] local.INFO: Passing IMEI to GPS processor {"connection_id":144386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:32:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":144386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:32: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-07-27 23:32:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:32:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:32:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004852224001,"66":27310,"204":206,"79":46592,"24":22,"16":359540547095887872,"45":-8668514462920351744},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,79,24,16,45]} 
[2026-07-27 23:32:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:32:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:32:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004852224001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:32:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-27 23:32:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359540547095887872,"km_value":359540547095887.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:32:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8668514462920351744,"description":"Unknown IO ID 45"} 
[2026-07-27 23:32:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004852224001,"power":27310,"lac":206,"unknown_79":46592,"ignition":22,"odometer":null,"unknown_45":-8668514462920351744}} 
[2026-07-27 23:32:10] local.INFO: DEBUG: GPS processor result {"connection_id":144386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":556012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:32:10] local.INFO: GPS data processed {"connection_id":144386,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:32:10] local.INFO: Acknowledgment sent {"connection_id":144386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:32:41] local.INFO: TCP Data received {"connection_id":144386,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4bd6b28012d8714c00614ec98000c015b29..."} 
[2026-07-27 23:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4bd6b28012d8714c00614ec98000c015b29..."} 
[2026-07-27 23:32:41] local.INFO: Processing buffer {"connection_id":144386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4bd6b28012d8714c00614ec98000c015b29..."} 
[2026-07-27 23:32:41] local.INFO: Packet analysis {"connection_id":144386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4bd"} 
[2026-07-27 23:32:41] local.INFO: Extracted packet for processing {"connection_id":144386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4bd"} 
[2026-07-27 23:32:41] local.INFO: GPS Element Parsed {"raw_longitude":763827392,"raw_latitude":102034584,"longitude_deg":76.3827392,"latitude_deg":10.2034584,"altitude":12,"angle":347,"satellites":41,"speed":58,"hex_longitude":"2d8714c0","hex_latitude":"0614ec98","is_valid_coordinates":true} 
[2026-07-27 23: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-07-27 23:32:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004876288001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:32:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359546036064092160,"note":"Value kept but may cause issues"} 
[2026-07-27 23:32:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8710806078146314240,"note":"Value kept but may cause issues"} 
[2026-07-27 23:32:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:32:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785175305000,"timestamp_ms":1785175305000,"timestamp_seconds":1785175305,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4bd6b28"} 
[2026-07-27 23:32:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:32:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 23: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-27 23:32:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23: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-07-27 23:32:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:32:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:32:41] local.INFO: Teltonika packet parsed successfully {"connection_id":144386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:32:41] local.INFO: Passing IMEI to GPS processor {"connection_id":144386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:32:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":144386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:32: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-07-27 23:32:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:32:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:32:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004876288001,"66":27397,"154":206,"79":46592,"24":58,"16":359546036064092160,"45":-8710806078146314240},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,79,24,16,45]} 
[2026-07-27 23:32:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:32:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:32:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004876288001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:32:41] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-07-27 23:32:41] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-27 23:32:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359546036064092160,"km_value":359546036064092.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:32:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8710806078146314240,"description":"Unknown IO ID 45"} 
[2026-07-27 23:32:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004876288001,"power":27397,"unknown_154":206,"unknown_79":46592,"ignition":58,"odometer":null,"unknown_45":-8710806078146314240}} 
[2026-07-27 23:32:41] local.INFO: DEBUG: GPS processor result {"connection_id":144386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":556013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:32:41] local.INFO: GPS data processed {"connection_id":144386,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:32:41] local.INFO: Acknowledgment sent {"connection_id":144386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:33:00] local.INFO: TCP Data received {"connection_id":145656,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:33:00] local.INFO: Processing buffer {"connection_id":145656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:33:00] local.INFO: IMEI packet received {"connection_id":145656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 23:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":145656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 23:33:04] local.INFO: TCP Data received {"connection_id":143225,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143225,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:33:04] local.INFO: Processing buffer {"connection_id":143225,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:33:04] local.INFO: IMEI packet received {"connection_id":143225,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 23:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":143225,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 23:33:05] local.INFO: TCP Data received {"connection_id":145656,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:33:05] local.INFO: Processing buffer {"connection_id":145656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:33:05] local.INFO: IMEI packet received {"connection_id":145656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 23:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":145656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:33:05] local.INFO: TCP Data received {"connection_id":145656,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:33:05] local.INFO: Processing buffer {"connection_id":145656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:33:05] local.INFO: IMEI packet received {"connection_id":145656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 23:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":145656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:33:08] local.INFO: TCP Data received {"connection_id":143225,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143225,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:33:08] local.INFO: Processing buffer {"connection_id":143225,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:33:08] local.INFO: IMEI packet received {"connection_id":143225,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 23:33:08] local.INFO: IMEI acknowledgment sent {"connection_id":143225,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:33:10] local.INFO: TCP Data received {"connection_id":143225,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4bb9e38012d196940071fee200041013124..."} 
[2026-07-27 23:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4bb9e38012d196940071fee200041013124..."} 
[2026-07-27 23:33:10] local.INFO: Processing buffer {"connection_id":143225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4bb9e38012d196940071fee200041013124..."} 
[2026-07-27 23:33:10] local.INFO: Packet analysis {"connection_id":143225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4bb"} 
[2026-07-27 23:33:10] local.INFO: Extracted packet for processing {"connection_id":143225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4bb"} 
[2026-07-27 23:33:10] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 23:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:33:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004770816001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:33:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 23:33:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:33:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:33:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785175187000,"timestamp_ms":1785175187000,"timestamp_seconds":1785175187,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4bb9e38"} 
[2026-07-27 23:33:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:33:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 23:33:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:33:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:33:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:33:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:33:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:33:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143225,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:33:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143225,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:33:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:33:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 23:33:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 23:33:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004770816001,"66":2155,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 23:33:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 23:33:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 23:33:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004770816001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:33:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 23:33:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 23:33:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:33:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 23:33:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004770816001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 23:33:10] local.INFO: DEBUG: GPS processor result {"connection_id":143225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":556014,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:33:10] local.INFO: GPS data processed {"connection_id":143225,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:33:10] local.INFO: Acknowledgment sent {"connection_id":143225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:33:11] local.INFO: TCP Data received {"connection_id":145656,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:33:11] local.INFO: Processing buffer {"connection_id":145656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:33:11] local.INFO: IMEI packet received {"connection_id":145656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 23:33:11] local.INFO: IMEI acknowledgment sent {"connection_id":145656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:33:41] local.INFO: TCP Data received {"connection_id":143225,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4bb9e38012d196940071fee200041013124..."} 
[2026-07-27 23:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4bb9e38012d196940071fee200041013124..."} 
[2026-07-27 23:33:41] local.INFO: Processing buffer {"connection_id":143225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4bb9e38012d196940071fee200041013124..."} 
[2026-07-27 23:33:41] local.INFO: Packet analysis {"connection_id":143225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4bb"} 
[2026-07-27 23:33:41] local.INFO: Extracted packet for processing {"connection_id":143225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4bb"} 
[2026-07-27 23:33:41] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 23:33:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:33:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004770816001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:33:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 23:33:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:33:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:33:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785175187000,"timestamp_ms":1785175187000,"timestamp_seconds":1785175187,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4bb9e38"} 
[2026-07-27 23:33:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:33:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 23:33:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 23:33:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:33:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:33:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:33:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:33:41] local.INFO: Teltonika packet parsed successfully {"connection_id":143225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:33:41] local.INFO: Passing IMEI to GPS processor {"connection_id":143225,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:33:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":143225,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:33:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:33:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 23:33:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 23:33:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004770816001,"66":2155,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 23:33:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 23:33:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 23:33:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004770816001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:33:41] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 23:33:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 23:33:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:33:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 23:33:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004770816001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 23:33:41] local.INFO: DEBUG: GPS processor result {"connection_id":143225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":556015,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:33:41] local.INFO: GPS data processed {"connection_id":143225,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:33:41] local.INFO: Acknowledgment sent {"connection_id":143225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:33:58] local.INFO: TCP Data received {"connection_id":145657,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145657,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:33:58] local.INFO: Processing buffer {"connection_id":145657,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:33:58] local.INFO: IMEI packet received {"connection_id":145657,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 23:33:58] local.INFO: IMEI acknowledgment sent {"connection_id":145657,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 23:34:04] local.INFO: TCP Data received {"connection_id":145657,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145657,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:34:04] local.INFO: Processing buffer {"connection_id":145657,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:34:04] local.INFO: IMEI packet received {"connection_id":145657,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 23:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":145657,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:34:07] local.INFO: TCP Data received {"connection_id":145657,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4bb9e38012d196940071fee200041013124..."} 
[2026-07-27 23:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145657,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4bb9e38012d196940071fee200041013124..."} 
[2026-07-27 23:34:07] local.INFO: Processing buffer {"connection_id":145657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4bb9e38012d196940071fee200041013124..."} 
[2026-07-27 23:34:07] local.INFO: Packet analysis {"connection_id":145657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4bb"} 
[2026-07-27 23:34:07] local.INFO: Extracted packet for processing {"connection_id":145657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4bb"} 
[2026-07-27 23:34:07] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 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-07-27 23:34:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004770816001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:34:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 23:34:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:34:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:34:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785175187000,"timestamp_ms":1785175187000,"timestamp_seconds":1785175187,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4bb9e38"} 
[2026-07-27 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-07-27 23:34:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 23:34:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 23:34:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:34:07] local.INFO: Teltonika packet parsed successfully {"connection_id":145657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:34:07] local.INFO: Passing IMEI to GPS processor {"connection_id":145657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:34:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":145657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:34:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:34:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 23:34:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 23:34:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004770816001,"66":2155,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 23:34:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 23:34:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 23:34:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004770816001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:34:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 23:34:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 23:34:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:34:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 23:34:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004770816001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 23:34:07] local.INFO: DEBUG: GPS processor result {"connection_id":145657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":556016,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:34:07] local.INFO: GPS data processed {"connection_id":145657,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:34:07] local.INFO: Acknowledgment sent {"connection_id":145657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:34:39] local.INFO: TCP Data received {"connection_id":145657,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4bb9e38012d196940071fee200041013124..."} 
[2026-07-27 23:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145657,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4bb9e38012d196940071fee200041013124..."} 
[2026-07-27 23:34:39] local.INFO: Processing buffer {"connection_id":145657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4bb9e38012d196940071fee200041013124..."} 
[2026-07-27 23:34:39] local.INFO: Packet analysis {"connection_id":145657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4bb"} 
[2026-07-27 23:34:39] local.INFO: Extracted packet for processing {"connection_id":145657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4bb"} 
[2026-07-27 23:34:39] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 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-07-27 23:34:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004770816001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:34:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 23:34:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:34:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:34:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785175187000,"timestamp_ms":1785175187000,"timestamp_seconds":1785175187,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4bb9e38"} 
[2026-07-27 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-07-27 23:34:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 23:34:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 23:34:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:34:39] local.INFO: Teltonika packet parsed successfully {"connection_id":145657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:34:39] local.INFO: Passing IMEI to GPS processor {"connection_id":145657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:34:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":145657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:34:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:34:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 23:34:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 23:34:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004770816001,"66":2155,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 23:34:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 23:34:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 23:34:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004770816001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:34:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 23:34:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 23:34:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:34:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 23:34:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004770816001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 23:34:40] local.INFO: DEBUG: GPS processor result {"connection_id":145657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":556017,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:34:40] local.INFO: GPS data processed {"connection_id":145657,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:34:40] local.INFO: Acknowledgment sent {"connection_id":145657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:34:59] local.INFO: TCP Data received {"connection_id":143226,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143226,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:34:59] local.INFO: Processing buffer {"connection_id":143226,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:34:59] local.INFO: IMEI packet received {"connection_id":143226,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 23:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":143226,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 23:35:04] local.INFO: TCP Data received {"connection_id":143226,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143226,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:35:04] local.INFO: Processing buffer {"connection_id":143226,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:35:04] local.INFO: IMEI packet received {"connection_id":143226,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 23:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":143226,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:35:05] local.INFO: TCP Data received {"connection_id":143226,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4bb9e38012d196940071fee200041013124..."} 
[2026-07-27 23:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4bb9e38012d196940071fee200041013124..."} 
[2026-07-27 23:35:05] local.INFO: Processing buffer {"connection_id":143226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4bb9e38012d196940071fee200041013124..."} 
[2026-07-27 23:35:05] local.INFO: Packet analysis {"connection_id":143226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4bb"} 
[2026-07-27 23:35:05] local.INFO: Extracted packet for processing {"connection_id":143226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4bb"} 
[2026-07-27 23:35:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 23:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004770816001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 23:35:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:35:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785175187000,"timestamp_ms":1785175187000,"timestamp_seconds":1785175187,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4bb9e38"} 
[2026-07-27 23:35:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:35:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 23:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 23:35:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:35:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:35:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143226,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143226,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:35:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 23:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 23:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004770816001,"66":2155,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 23:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 23:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 23:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004770816001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:35:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 23:35:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 23:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:35:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 23:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004770816001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 23:35:05] local.INFO: DEBUG: GPS processor result {"connection_id":143226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":556018,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:35:05] local.INFO: GPS data processed {"connection_id":143226,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:35:05] local.INFO: Acknowledgment sent {"connection_id":143226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:35:37] local.INFO: TCP Data received {"connection_id":143226,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4c03600012d196940071fee200041013125..."} 
[2026-07-27 23:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4c03600012d196940071fee200041013125..."} 
[2026-07-27 23:35:37] local.INFO: Processing buffer {"connection_id":143226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4c03600012d196940071fee200041013125..."} 
[2026-07-27 23:35:37] local.INFO: Packet analysis {"connection_id":143226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4c0"} 
[2026-07-27 23:35:37] local.INFO: Extracted packet for processing {"connection_id":143226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4c0"} 
[2026-07-27 23:35:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 23:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004847872001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 23:35:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:35:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785175488000,"timestamp_ms":1785175488000,"timestamp_seconds":1785175488,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4c03600"} 
[2026-07-27 23:35:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:35:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 23:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-27 23:35:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:35:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:35:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143226,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143226,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:35:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 23:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 23:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004847872001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 23:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 23:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 23:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004847872001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:35:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 23:35:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 23:35:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:35:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 23:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004847872001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 23:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":143226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":556019,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:35:37] local.INFO: GPS data processed {"connection_id":143226,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:35:37] local.INFO: Acknowledgment sent {"connection_id":143226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:36:04] local.INFO: TCP Data received {"connection_id":145658,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145658,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:36:04] local.INFO: Processing buffer {"connection_id":145658,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:36:04] local.INFO: IMEI packet received {"connection_id":145658,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 23:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":145658,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 23:36:09] local.INFO: TCP Data received {"connection_id":145658,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145658,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:36:09] local.INFO: Processing buffer {"connection_id":145658,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:36:09] local.INFO: IMEI packet received {"connection_id":145658,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 23:36:09] local.INFO: IMEI acknowledgment sent {"connection_id":145658,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:36:10] local.INFO: TCP Data received {"connection_id":145658,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4c03600012d196940071fee200041013125..."} 
[2026-07-27 23:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4c03600012d196940071fee200041013125..."} 
[2026-07-27 23:36:10] local.INFO: Processing buffer {"connection_id":145658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4c03600012d196940071fee200041013125..."} 
[2026-07-27 23:36:10] local.INFO: Packet analysis {"connection_id":145658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4c0"} 
[2026-07-27 23:36:10] local.INFO: Extracted packet for processing {"connection_id":145658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4c0"} 
[2026-07-27 23:36:10] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 23:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:36:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004847872001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:36:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 23:36:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:36:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:36:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785175488000,"timestamp_ms":1785175488000,"timestamp_seconds":1785175488,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4c03600"} 
[2026-07-27 23:36:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:36:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 23: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-27 23:36:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:36:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:36:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:36:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:36:10] local.INFO: Teltonika packet parsed successfully {"connection_id":145658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:36:10] local.INFO: Passing IMEI to GPS processor {"connection_id":145658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:36:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":145658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:36:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:36:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 23:36:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 23:36:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004847872001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 23:36:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 23:36:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 23:36:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004847872001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:36:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 23:36:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 23:36:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:36:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 23:36:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004847872001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 23:36:11] local.INFO: DEBUG: GPS processor result {"connection_id":145658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":556020,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:36:11] local.INFO: GPS data processed {"connection_id":145658,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:36:11] local.INFO: Acknowledgment sent {"connection_id":145658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:36:15] local.INFO: TCP Data received {"connection_id":145658,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4c03600012d196940071fee200041013125..."} 
[2026-07-27 23:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4c03600012d196940071fee200041013125..."} 
[2026-07-27 23:36:15] local.INFO: Processing buffer {"connection_id":145658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4c03600012d196940071fee200041013125..."} 
[2026-07-27 23:36:15] local.INFO: Packet analysis {"connection_id":145658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4c0"} 
[2026-07-27 23:36:15] local.INFO: Extracted packet for processing {"connection_id":145658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4c0"} 
[2026-07-27 23:36:15] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 23: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-07-27 23:36:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004847872001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:36:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 23:36:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:36: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-07-27 23:36:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785175488000,"timestamp_ms":1785175488000,"timestamp_seconds":1785175488,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4c03600"} 
[2026-07-27 23:36:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:36:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 23: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-27 23:36:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23: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-07-27 23:36:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:36:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:36:15] local.INFO: Teltonika packet parsed successfully {"connection_id":145658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:36:15] local.INFO: Passing IMEI to GPS processor {"connection_id":145658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:36:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":145658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:36:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:36:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 23:36:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 23:36:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004847872001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 23:36:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 23:36:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 23:36:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004847872001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:36:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 23:36:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 23:36:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:36:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 23:36:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004847872001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 23:36:15] local.INFO: DEBUG: GPS processor result {"connection_id":145658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":556021,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:36:15] local.INFO: GPS data processed {"connection_id":145658,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:36:15] local.INFO: Acknowledgment sent {"connection_id":145658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:36:59] local.INFO: TCP Data received {"connection_id":144388,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144388,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:36:59] local.INFO: Processing buffer {"connection_id":144388,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:36:59] local.INFO: IMEI packet received {"connection_id":144388,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 23:36:59] local.INFO: IMEI acknowledgment sent {"connection_id":144388,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 23:37:04] local.INFO: TCP Data received {"connection_id":144388,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144388,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:37:04] local.INFO: Processing buffer {"connection_id":144388,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:37:04] local.INFO: IMEI packet received {"connection_id":144388,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 23:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":144388,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:37:05] local.INFO: TCP Data received {"connection_id":144388,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4c03600012d196940071fee200041013125..."} 
[2026-07-27 23:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4c03600012d196940071fee200041013125..."} 
[2026-07-27 23:37:05] local.INFO: Processing buffer {"connection_id":144388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4c03600012d196940071fee200041013125..."} 
[2026-07-27 23:37:05] local.INFO: Packet analysis {"connection_id":144388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4c0"} 
[2026-07-27 23:37:05] local.INFO: Extracted packet for processing {"connection_id":144388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4c0"} 
[2026-07-27 23:37:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 23:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:37:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004847872001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:37:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 23:37:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:37:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:37:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785175488000,"timestamp_ms":1785175488000,"timestamp_seconds":1785175488,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4c03600"} 
[2026-07-27 23:37:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:37:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 23:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-27 23:37:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:37:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:37:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:37:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:37:05] local.INFO: Teltonika packet parsed successfully {"connection_id":144388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:37:05] local.INFO: Passing IMEI to GPS processor {"connection_id":144388,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:37:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":144388,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:37:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:37:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 23:37:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 23:37:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004847872001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 23:37:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 23:37:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 23:37:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004847872001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:37:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 23:37:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 23:37:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:37:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 23:37:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004847872001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 23:37:05] local.INFO: DEBUG: GPS processor result {"connection_id":144388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":556022,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:37:05] local.INFO: GPS data processed {"connection_id":144388,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:37:05] local.INFO: Acknowledgment sent {"connection_id":144388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:37:37] local.INFO: TCP Data received {"connection_id":144388,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4c03600012d196940071fee200041013125..."} 
[2026-07-27 23:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4c03600012d196940071fee200041013125..."} 
[2026-07-27 23:37:37] local.INFO: Processing buffer {"connection_id":144388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4c03600012d196940071fee200041013125..."} 
[2026-07-27 23:37:37] local.INFO: Packet analysis {"connection_id":144388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4c0"} 
[2026-07-27 23:37:37] local.INFO: Extracted packet for processing {"connection_id":144388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4c0"} 
[2026-07-27 23:37:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 23:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004847872001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 23:37:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:37:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785175488000,"timestamp_ms":1785175488000,"timestamp_seconds":1785175488,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4c03600"} 
[2026-07-27 23:37:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:37:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 23:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-27 23:37:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:37:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:37:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144388,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144388,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:37:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 23:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 23:37:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004847872001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 23:37:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 23:37:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 23:37:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004847872001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:37:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 23:37:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 23:37:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:37:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 23:37:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004847872001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 23:37:37] local.INFO: DEBUG: GPS processor result {"connection_id":144388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":556023,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:37:37] local.INFO: GPS data processed {"connection_id":144388,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:37:37] local.INFO: Acknowledgment sent {"connection_id":144388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:37:59] local.INFO: TCP Data received {"connection_id":144390,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144390,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:37:59] local.INFO: Processing buffer {"connection_id":144390,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:37:59] local.INFO: IMEI packet received {"connection_id":144390,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 23:37:59] local.INFO: IMEI acknowledgment sent {"connection_id":144390,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 23:38:04] local.INFO: TCP Data received {"connection_id":144390,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144390,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:38:04] local.INFO: Processing buffer {"connection_id":144390,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:38:04] local.INFO: IMEI packet received {"connection_id":144390,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 23:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":144390,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:38:05] local.INFO: TCP Data received {"connection_id":144390,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4c03600012d196940071fee200041013125..."} 
[2026-07-27 23:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144390,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4c03600012d196940071fee200041013125..."} 
[2026-07-27 23:38:05] local.INFO: Processing buffer {"connection_id":144390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4c03600012d196940071fee200041013125..."} 
[2026-07-27 23:38:05] local.INFO: Packet analysis {"connection_id":144390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4c0"} 
[2026-07-27 23:38:05] local.INFO: Extracted packet for processing {"connection_id":144390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4c0"} 
[2026-07-27 23:38:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 23:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:38:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004847872001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:38:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 23:38:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:38:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:38:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785175488000,"timestamp_ms":1785175488000,"timestamp_seconds":1785175488,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4c03600"} 
[2026-07-27 23:38:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:38:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 23:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-27 23:38:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:38:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:38:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:38:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:38:05] local.INFO: Teltonika packet parsed successfully {"connection_id":144390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:38:05] local.INFO: Passing IMEI to GPS processor {"connection_id":144390,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:38:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":144390,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:38:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:38:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 23:38:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 23:38:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004847872001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 23:38:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 23:38:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 23:38:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004847872001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:38:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 23:38:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 23:38:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:38:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 23:38:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004847872001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 23:38:05] local.INFO: DEBUG: GPS processor result {"connection_id":144390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":556024,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:38:05] local.INFO: GPS data processed {"connection_id":144390,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:38:05] local.INFO: Acknowledgment sent {"connection_id":144390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:38:09] local.INFO: TCP Data received {"connection_id":144391,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:38:09] local.INFO: Processing buffer {"connection_id":144391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:38:09] local.INFO: IMEI packet received {"connection_id":144391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 23:38:09] local.INFO: IMEI acknowledgment sent {"connection_id":144391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 23:38:10] local.INFO: TCP Data received {"connection_id":144391,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4c260b0012d85a380061a5b30002401642d..."} 
[2026-07-27 23:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4c260b0012d85a380061a5b30002401642d..."} 
[2026-07-27 23:38:10] local.INFO: Processing buffer {"connection_id":144391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4c260b0012d85a380061a5b30002401642d..."} 
[2026-07-27 23:38:10] local.INFO: Packet analysis {"connection_id":144391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4c2"} 
[2026-07-27 23:38:10] local.INFO: Extracted packet for processing {"connection_id":144391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4c2"} 
[2026-07-27 23:38:10] local.INFO: GPS Element Parsed {"raw_longitude":763732864,"raw_latitude":102390576,"longitude_deg":76.3732864,"latitude_deg":10.2390576,"altitude":36,"angle":356,"satellites":45,"speed":53,"hex_longitude":"2d85a380","hex_latitude":"061a5b30","is_valid_coordinates":true} 
[2026-07-27 23:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:38:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004959488001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:38:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359564156531113984,"note":"Value kept but may cause issues"} 
[2026-07-27 23:38:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8816288825577408512,"note":"Value kept but may cause issues"} 
[2026-07-27 23:38:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:38:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785175630000,"timestamp_ms":1785175630000,"timestamp_seconds":1785175630,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4c260b0"} 
[2026-07-27 23:38:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:38:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 23:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-27 23:38:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:38:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:38:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:38:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:38:10] local.INFO: Teltonika packet parsed successfully {"connection_id":144391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:38:10] local.INFO: Passing IMEI to GPS processor {"connection_id":144391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:38:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":144391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:38: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-07-27 23:38:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:38:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:38:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004959488001,"66":27158,"78":206,"79":21504,"24":53,"16":359564156531113984,"45":-8816288825577408512},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,79,24,16,45]} 
[2026-07-27 23:38:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:38:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:38:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004959488001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:38:10] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-07-27 23:38:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-27 23:38:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359564156531113984,"km_value":359564156531114.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:38:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8816288825577408512,"description":"Unknown IO ID 45"} 
[2026-07-27 23:38:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004959488001,"power":27158,"unknown_78":206,"unknown_79":21504,"ignition":53,"odometer":null,"unknown_45":-8816288825577408512}} 
[2026-07-27 23:38:10] local.INFO: DEBUG: GPS processor result {"connection_id":144391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":556025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:38:10] local.INFO: GPS data processed {"connection_id":144391,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:38:10] local.INFO: Acknowledgment sent {"connection_id":144391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:38:37] local.INFO: TCP Data received {"connection_id":144390,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4c03600012d196940071fee200041013125..."} 
[2026-07-27 23:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144390,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4c03600012d196940071fee200041013125..."} 
[2026-07-27 23:38:37] local.INFO: Processing buffer {"connection_id":144390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4c03600012d196940071fee200041013125..."} 
[2026-07-27 23:38:37] local.INFO: Packet analysis {"connection_id":144390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4c0"} 
[2026-07-27 23:38:37] local.INFO: Extracted packet for processing {"connection_id":144390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4c0"} 
[2026-07-27 23:38:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 23:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004847872001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:38:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 23:38:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:38:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:38:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785175488000,"timestamp_ms":1785175488000,"timestamp_seconds":1785175488,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4c03600"} 
[2026-07-27 23:38:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:38:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 23:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-27 23:38:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:38:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:38:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:38:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:38:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:38:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144390,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:38:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144390,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:38:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:38:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 23:38:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 23:38:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004847872001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 23:38:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 23:38:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 23:38:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004847872001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:38:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 23:38:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 23:38:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:38:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 23:38:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004847872001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 23:38:37] local.INFO: DEBUG: GPS processor result {"connection_id":144390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":556026,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:38:37] local.INFO: GPS data processed {"connection_id":144390,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:38:37] local.INFO: Acknowledgment sent {"connection_id":144390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:38:49] local.INFO: TCP Data received {"connection_id":144391,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4c27c08012d85a0c0061a7f38002401632e..."} 
[2026-07-27 23:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4c27c08012d85a0c0061a7f38002401632e..."} 
[2026-07-27 23:38:49] local.INFO: Processing buffer {"connection_id":144391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4c27c08012d85a0c0061a7f38002401632e..."} 
[2026-07-27 23:38:49] local.INFO: Packet analysis {"connection_id":144391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4c2"} 
[2026-07-27 23:38:49] local.INFO: Extracted packet for processing {"connection_id":144391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4c2"} 
[2026-07-27 23:38:49] local.INFO: GPS Element Parsed {"raw_longitude":763732160,"raw_latitude":102399800,"longitude_deg":76.373216,"latitude_deg":10.23998,"altitude":36,"angle":355,"satellites":46,"speed":53,"hex_longitude":"2d85a0c0","hex_latitude":"061a7f38","is_valid_coordinates":true} 
[2026-07-27 23:38:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:38:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004961280001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:38:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359564603207712768,"note":"Value kept but may cause issues"} 
[2026-07-27 23:38:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8817062881760956416,"note":"Value kept but may cause issues"} 
[2026-07-27 23:38:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:38:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785175637000,"timestamp_ms":1785175637000,"timestamp_seconds":1785175637,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4c27c08"} 
[2026-07-27 23:38:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:38:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 23:38:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-27 23:38:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":926,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:38:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:38:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:38:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:38:49] local.INFO: Teltonika packet parsed successfully {"connection_id":144391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:38:49] local.INFO: Passing IMEI to GPS processor {"connection_id":144391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:38:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":144391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:38:49] 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-07-27 23:38:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:38:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:38:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004961280001,"66":27137,"78":206,"79":21504,"24":53,"16":359564603207712768,"45":-8817062881760956416},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,79,24,16,45]} 
[2026-07-27 23:38:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:38:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:38:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004961280001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:38:49] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-07-27 23:38:49] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-27 23:38:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359564603207712768,"km_value":359564603207712.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:38:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8817062881760956416,"description":"Unknown IO ID 45"} 
[2026-07-27 23:38:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004961280001,"power":27137,"unknown_78":206,"unknown_79":21504,"ignition":53,"odometer":null,"unknown_45":-8817062881760956416}} 
[2026-07-27 23:38:49] local.INFO: DEBUG: GPS processor result {"connection_id":144391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":556027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:38:49] local.INFO: GPS data processed {"connection_id":144391,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:38:49] local.INFO: Acknowledgment sent {"connection_id":144391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:38:58] local.INFO: TCP Data received {"connection_id":145659,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145659,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:38:58] local.INFO: Processing buffer {"connection_id":145659,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:38:58] local.INFO: IMEI packet received {"connection_id":145659,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 23:38:58] local.INFO: IMEI acknowledgment sent {"connection_id":145659,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 23:39:04] local.INFO: TCP Data received {"connection_id":145659,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145659,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:39:04] local.INFO: Processing buffer {"connection_id":145659,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:39:04] local.INFO: IMEI packet received {"connection_id":145659,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 23:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":145659,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:39:05] local.INFO: TCP Data received {"connection_id":145659,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4c03600012d196940071fee200041013125..."} 
[2026-07-27 23:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4c03600012d196940071fee200041013125..."} 
[2026-07-27 23:39:05] local.INFO: Processing buffer {"connection_id":145659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4c03600012d196940071fee200041013125..."} 
[2026-07-27 23:39:05] local.INFO: Packet analysis {"connection_id":145659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4c0"} 
[2026-07-27 23:39:05] local.INFO: Extracted packet for processing {"connection_id":145659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4c0"} 
[2026-07-27 23:39:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 23:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:39:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004847872001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:39:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 23:39:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:39:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:39:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785175488000,"timestamp_ms":1785175488000,"timestamp_seconds":1785175488,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4c03600"} 
[2026-07-27 23:39:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:39:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 23:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-27 23:39:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:39:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:39:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:39:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:39:05] local.INFO: Teltonika packet parsed successfully {"connection_id":145659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:39:05] local.INFO: Passing IMEI to GPS processor {"connection_id":145659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:39:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":145659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:39:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:39:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 23:39:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 23:39:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004847872001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 23:39:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 23:39:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 23:39:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004847872001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:39:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 23:39:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 23:39:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:39:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 23:39:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004847872001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 23:39:05] local.INFO: DEBUG: GPS processor result {"connection_id":145659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":556028,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:39:05] local.INFO: GPS data processed {"connection_id":145659,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:39:05] local.INFO: Acknowledgment sent {"connection_id":145659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:39:10] local.INFO: TCP Data received {"connection_id":143227,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:39:10] local.INFO: Processing buffer {"connection_id":143227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:39:10] local.INFO: IMEI packet received {"connection_id":143227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 23:39:10] local.INFO: IMEI acknowledgment sent {"connection_id":143227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 23:39:19] local.INFO: TCP Data received {"connection_id":143227,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:39:19] local.INFO: Processing buffer {"connection_id":143227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:39:19] local.INFO: IMEI packet received {"connection_id":143227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 23:39:19] local.INFO: IMEI acknowledgment sent {"connection_id":143227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:39:21] local.INFO: TCP Data received {"connection_id":143227,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4c29760012d859e00061aa338002701632e..."} 
[2026-07-27 23:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4c29760012d859e00061aa338002701632e..."} 
[2026-07-27 23:39:21] local.INFO: Processing buffer {"connection_id":143227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4c29760012d859e00061aa338002701632e..."} 
[2026-07-27 23:39:21] local.INFO: Packet analysis {"connection_id":143227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4c2"} 
[2026-07-27 23:39:21] local.INFO: Extracted packet for processing {"connection_id":143227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4c2"} 
[2026-07-27 23:39:21] local.INFO: GPS Element Parsed {"raw_longitude":763731456,"raw_latitude":102409016,"longitude_deg":76.3731456,"latitude_deg":10.2409016,"altitude":39,"angle":355,"satellites":46,"speed":50,"hex_longitude":"2d859e00","hex_latitude":"061aa338","is_valid_coordinates":true} 
[2026-07-27 23:39:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:39:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004963072001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:39:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359565054179278848,"note":"Value kept but may cause issues"} 
[2026-07-27 23:39:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8817836937944549376,"note":"Value kept but may cause issues"} 
[2026-07-27 23:39:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:39:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785175644000,"timestamp_ms":1785175644000,"timestamp_seconds":1785175644,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4c29760"} 
[2026-07-27 23:39:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:39:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 23: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":106,"n8_eight_byte":1,"data_length":795,"current_offset":136} 
[2026-07-27 23:39:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:39:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:39:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:39:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:39:21] local.INFO: Teltonika packet parsed successfully {"connection_id":143227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:39:21] local.INFO: Passing IMEI to GPS processor {"connection_id":143227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:39:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":143227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:39:21] 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-07-27 23:39:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:39:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:39:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004963072001,"66":27180,"78":206,"79":21504,"24":50,"16":359565054179278848,"45":-8817836937944549376},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,79,24,16,45]} 
[2026-07-27 23:39:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:39:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:39:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004963072001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:39:21] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-07-27 23:39:21] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-27 23:39:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359565054179278848,"km_value":359565054179278.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:39:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8817836937944549376,"description":"Unknown IO ID 45"} 
[2026-07-27 23:39:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004963072001,"power":27180,"unknown_78":206,"unknown_79":21504,"ignition":50,"odometer":null,"unknown_45":-8817836937944549376}} 
[2026-07-27 23:39:21] local.INFO: DEBUG: GPS processor result {"connection_id":143227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":556029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:39:21] local.INFO: GPS data processed {"connection_id":143227,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:39:21] local.INFO: Acknowledgment sent {"connection_id":143227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:39:21] local.INFO: TCP Data received {"connection_id":143227,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4c2b2b8012d859a80061ac6b00028015f2f..."} 
[2026-07-27 23:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4c2b2b8012d859a80061ac6b00028015f2f..."} 
[2026-07-27 23:39:21] local.INFO: Processing buffer {"connection_id":143227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4c2b2b8012d859a80061ac6b00028015f2f..."} 
[2026-07-27 23:39:21] local.INFO: Packet analysis {"connection_id":143227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4c2"} 
[2026-07-27 23:39:21] local.INFO: Extracted packet for processing {"connection_id":143227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4c2"} 
[2026-07-27 23:39:21] local.INFO: GPS Element Parsed {"raw_longitude":763730560,"raw_latitude":102418096,"longitude_deg":76.373056,"latitude_deg":10.2418096,"altitude":40,"angle":351,"satellites":47,"speed":52,"hex_longitude":"2d859a80","hex_latitude":"061ac6b0","is_valid_coordinates":true} 
[2026-07-27 23:39:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:39:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004964864001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:39:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359565496560910336,"note":"Value kept but may cause issues"} 
[2026-07-27 23:39:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8818610994128144384,"note":"Value kept but may cause issues"} 
[2026-07-27 23:39:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:39:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785175651000,"timestamp_ms":1785175651000,"timestamp_seconds":1785175651,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4c2b2b8"} 
[2026-07-27 23:39:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:39:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 23: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":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-07-27 23:39:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:39:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:39:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:39:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:39:21] local.INFO: Teltonika packet parsed successfully {"connection_id":143227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:39:21] local.INFO: Passing IMEI to GPS processor {"connection_id":143227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:39:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":143227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:39:21] 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-07-27 23:39:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:39:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:39:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004964864001,"66":27343,"78":206,"79":21504,"24":52,"16":359565496560910336,"45":-8818610994128144384},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,79,24,16,45]} 
[2026-07-27 23:39:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:39:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:39:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004964864001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:39:21] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-07-27 23:39:21] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-27 23:39:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359565496560910336,"km_value":359565496560910.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:39:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8818610994128144384,"description":"Unknown IO ID 45"} 
[2026-07-27 23:39:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004964864001,"power":27343,"unknown_78":206,"unknown_79":21504,"ignition":52,"odometer":null,"unknown_45":-8818610994128144384}} 
[2026-07-27 23:39:21] local.INFO: DEBUG: GPS processor result {"connection_id":143227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":556030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:39:21] local.INFO: GPS data processed {"connection_id":143227,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:39:21] local.INFO: Acknowledgment sent {"connection_id":143227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:39:36] local.INFO: TCP Data received {"connection_id":145659,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4c03600012d196940071fee200041013125..."} 
[2026-07-27 23:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4c03600012d196940071fee200041013125..."} 
[2026-07-27 23:39:36] local.INFO: Processing buffer {"connection_id":145659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4c03600012d196940071fee200041013125..."} 
[2026-07-27 23:39:36] local.INFO: Packet analysis {"connection_id":145659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4c0"} 
[2026-07-27 23:39:36] local.INFO: Extracted packet for processing {"connection_id":145659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4c0"} 
[2026-07-27 23:39:36] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 23:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:39:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004847872001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:39:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 23:39:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:39:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:39:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785175488000,"timestamp_ms":1785175488000,"timestamp_seconds":1785175488,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4c03600"} 
[2026-07-27 23:39:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:39:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 23:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-27 23:39:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:39:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:39:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:39:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:39:36] local.INFO: Teltonika packet parsed successfully {"connection_id":145659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:39:36] local.INFO: Passing IMEI to GPS processor {"connection_id":145659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:39:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":145659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:39:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:39:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 23:39:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 23:39:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004847872001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 23:39:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 23:39:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 23:39:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004847872001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:39:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 23:39:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 23:39:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:39:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 23:39:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004847872001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 23:39:36] local.INFO: DEBUG: GPS processor result {"connection_id":145659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":556031,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:39:36] local.INFO: GPS data processed {"connection_id":145659,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:39:36] local.INFO: Acknowledgment sent {"connection_id":145659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:39:58] local.INFO: TCP Data received {"connection_id":143374,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143374,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:39:58] local.INFO: Processing buffer {"connection_id":143374,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:39:58] local.INFO: IMEI packet received {"connection_id":143374,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 23:39:58] local.INFO: IMEI acknowledgment sent {"connection_id":143374,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 23:40:00] local.INFO: TCP Data received {"connection_id":143375,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:40:00] local.INFO: Processing buffer {"connection_id":143375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:40:00] local.INFO: IMEI packet received {"connection_id":143375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 23:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":143375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 23:40:02] local.INFO: TCP Data received {"connection_id":143375,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:40:02] local.INFO: Processing buffer {"connection_id":143375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:40:02] local.INFO: IMEI packet received {"connection_id":143375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 23:40:02] local.INFO: IMEI acknowledgment sent {"connection_id":143375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:40:02] local.INFO: TCP Data received {"connection_id":143375,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4c3f308012d84db00061c2ef80019015230..."} 
[2026-07-27 23:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4c3f308012d84db00061c2ef80019015230..."} 
[2026-07-27 23:40:02] local.INFO: Processing buffer {"connection_id":143375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4c3f308012d84db00061c2ef80019015230..."} 
[2026-07-27 23:40:02] local.INFO: Packet analysis {"connection_id":143375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4c3"} 
[2026-07-27 23:40:02] local.INFO: Extracted packet for processing {"connection_id":143375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4c3"} 
[2026-07-27 23:40:02] local.INFO: GPS Element Parsed {"raw_longitude":763681536,"raw_latitude":102510328,"longitude_deg":76.3681536,"latitude_deg":10.2510328,"altitude":25,"angle":338,"satellites":48,"speed":46,"hex_longitude":"2d84db00","hex_latitude":"061c2ef8","is_valid_coordinates":true} 
[2026-07-27 23:40:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:40:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004985600001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:40:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359570594687090688,"note":"Value kept but may cause issues"} 
[2026-07-27 23:40:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8869557964889073664,"note":"Value kept but may cause issues"} 
[2026-07-27 23:40:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:40:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785175733000,"timestamp_ms":1785175733000,"timestamp_seconds":1785175733,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4c3f308"} 
[2026-07-27 23:40:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:40:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 23:40:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-27 23:40:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:40:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:40:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:40:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:40:02] local.INFO: Teltonika packet parsed successfully {"connection_id":143375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:40:02] local.INFO: Passing IMEI to GPS processor {"connection_id":143375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:40:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":143375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:40:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:40:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:40:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:40:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004985600001,"66":27267,"115":206,"79":21504,"24":46,"16":359570594687090688,"45":-8869557964889073664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,79,24,16,45]} 
[2026-07-27 23:40:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:40:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:40:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004985600001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:40:02] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-27 23:40:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-27 23:40:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359570594687090688,"km_value":359570594687090.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:40:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8869557964889073664,"description":"Unknown IO ID 45"} 
[2026-07-27 23:40:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004985600001,"power":27267,"unknown_115":206,"unknown_79":21504,"ignition":46,"odometer":null,"unknown_45":-8869557964889073664}} 
[2026-07-27 23:40:02] local.INFO: DEBUG: GPS processor result {"connection_id":143375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":556032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:40:02] local.INFO: GPS data processed {"connection_id":143375,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:40:02] local.INFO: Acknowledgment sent {"connection_id":143375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:40:04] local.INFO: TCP Data received {"connection_id":143374,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143374,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:40:04] local.INFO: Processing buffer {"connection_id":143374,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:40:04] local.INFO: IMEI packet received {"connection_id":143374,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 23:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":143374,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:40:05] local.INFO: TCP Data received {"connection_id":143374,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4c03600012d196940071fee200041013125..."} 
[2026-07-27 23:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4c03600012d196940071fee200041013125..."} 
[2026-07-27 23:40:05] local.INFO: Processing buffer {"connection_id":143374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4c03600012d196940071fee200041013125..."} 
[2026-07-27 23:40:05] local.INFO: Packet analysis {"connection_id":143374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4c0"} 
[2026-07-27 23:40:05] local.INFO: Extracted packet for processing {"connection_id":143374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4c0"} 
[2026-07-27 23:40:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 23:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:40:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004847872001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:40:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 23:40:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:40:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:40:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785175488000,"timestamp_ms":1785175488000,"timestamp_seconds":1785175488,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4c03600"} 
[2026-07-27 23:40:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:40:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 23:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-27 23:40:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:40:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:40:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:40:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:40:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:40:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143374,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:40:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143374,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:40:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:40:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 23:40:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 23:40:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004847872001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 23:40:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 23:40:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 23:40:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004847872001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:40:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 23:40:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 23:40:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:40:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 23:40:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004847872001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 23:40:05] local.INFO: DEBUG: GPS processor result {"connection_id":143374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":556033,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:40:05] local.INFO: GPS data processed {"connection_id":143374,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:40:05] local.INFO: Acknowledgment sent {"connection_id":143374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:40:33] local.INFO: TCP Data received {"connection_id":143375,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4c41248012d84cd80061c5028001a015130..."} 
[2026-07-27 23:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4c41248012d84cd80061c5028001a015130..."} 
[2026-07-27 23:40:33] local.INFO: Processing buffer {"connection_id":143375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4c41248012d84cd80061c5028001a015130..."} 
[2026-07-27 23:40:33] local.INFO: Packet analysis {"connection_id":143375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4c4"} 
[2026-07-27 23:40:33] local.INFO: Extracted packet for processing {"connection_id":143375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4c4"} 
[2026-07-27 23:40:33] local.INFO: GPS Element Parsed {"raw_longitude":763678080,"raw_latitude":102518824,"longitude_deg":76.367808,"latitude_deg":10.2518824,"altitude":26,"angle":337,"satellites":48,"speed":45,"hex_longitude":"2d84cd80","hex_latitude":"061c5028","is_valid_coordinates":true} 
[2026-07-27 23:40:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:40:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004987648001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:40:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359571041363689472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:40:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8873498614560786432,"note":"Value kept but may cause issues"} 
[2026-07-27 23:40:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:40:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785175741000,"timestamp_ms":1785175741000,"timestamp_seconds":1785175741,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4c41248"} 
[2026-07-27 23:40:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:40:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 23:40:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-27 23:40:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:40:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:40:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:40:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:40:33] local.INFO: Teltonika packet parsed successfully {"connection_id":143375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:40:33] local.INFO: Passing IMEI to GPS processor {"connection_id":143375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:40:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":143375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:40:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:40:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:40:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:40:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004987648001,"66":27343,"115":206,"79":21504,"24":45,"16":359571041363689472,"45":-8873498614560786432},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,79,24,16,45]} 
[2026-07-27 23:40:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:40:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:40:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004987648001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:40:33] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-27 23:40:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-27 23:40:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359571041363689472,"km_value":359571041363689.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:40:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8873498614560786432,"description":"Unknown IO ID 45"} 
[2026-07-27 23:40:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004987648001,"power":27343,"unknown_115":206,"unknown_79":21504,"ignition":45,"odometer":null,"unknown_45":-8873498614560786432}} 
[2026-07-27 23:40:33] local.INFO: DEBUG: GPS processor result {"connection_id":143375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":556034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:40:33] local.INFO: GPS data processed {"connection_id":143375,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:40:33] local.INFO: Acknowledgment sent {"connection_id":143375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:40:37] local.INFO: TCP Data received {"connection_id":143374,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4c4cdc8012d196940071fee200041013124..."} 
[2026-07-27 23:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4c4cdc8012d196940071fee200041013124..."} 
[2026-07-27 23:40:37] local.INFO: Processing buffer {"connection_id":143374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4c4cdc8012d196940071fee200041013124..."} 
[2026-07-27 23:40:37] local.INFO: Packet analysis {"connection_id":143374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4c4"} 
[2026-07-27 23:40:37] local.INFO: Extracted packet for processing {"connection_id":143374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4c4"} 
[2026-07-27 23:40:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 23:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004924928001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:40:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 23:40:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:40:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:40:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785175789000,"timestamp_ms":1785175789000,"timestamp_seconds":1785175789,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4c4cdc8"} 
[2026-07-27 23:40:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:40:37] 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-07-27 23:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 23:40:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:40:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:40:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:40:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:40:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:40:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143374,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:40:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143374,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:40:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:40:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 23:40:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 23:40:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004924928001,"66":2155,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 23:40:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 23:40:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 23:40:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004924928001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:40:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 23:40:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 23:40:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:40:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 23:40:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004924928001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 23:40:37] local.INFO: DEBUG: GPS processor result {"connection_id":143374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":556035,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:40:37] local.INFO: GPS data processed {"connection_id":143374,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:40:37] local.INFO: Acknowledgment sent {"connection_id":143374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:41:00] local.INFO: TCP Data received {"connection_id":143228,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:41:00] local.INFO: Processing buffer {"connection_id":143228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:41:00] local.INFO: IMEI packet received {"connection_id":143228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 23:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":143228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 23:41:04] local.INFO: TCP Data received {"connection_id":143229,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143229,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:41:04] local.INFO: Processing buffer {"connection_id":143229,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:41:04] local.INFO: IMEI packet received {"connection_id":143229,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 23:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":143229,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 23:41:06] local.INFO: TCP Data received {"connection_id":143228,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:41:06] local.INFO: Processing buffer {"connection_id":143228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:41:06] local.INFO: IMEI packet received {"connection_id":143228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 23:41:06] local.INFO: IMEI acknowledgment sent {"connection_id":143228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:41:07] local.INFO: TCP Data received {"connection_id":143228,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4c43188012d84bf00061c7110001a014d30..."} 
[2026-07-27 23:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4c43188012d84bf00061c7110001a014d30..."} 
[2026-07-27 23:41:07] local.INFO: Processing buffer {"connection_id":143228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4c43188012d84bf00061c7110001a014d30..."} 
[2026-07-27 23:41:07] local.INFO: Packet analysis {"connection_id":143228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4c4"} 
[2026-07-27 23:41:07] local.INFO: Extracted packet for processing {"connection_id":143228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4c4"} 
[2026-07-27 23:41:07] local.INFO: GPS Element Parsed {"raw_longitude":763674368,"raw_latitude":102527248,"longitude_deg":76.3674368,"latitude_deg":10.2527248,"altitude":26,"angle":333,"satellites":48,"speed":46,"hex_longitude":"2d84bf00","hex_latitude":"061c7110","is_valid_coordinates":true} 
[2026-07-27 23:41:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:41:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004989696001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:41:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359571483745320960,"note":"Value kept but may cause issues"} 
[2026-07-27 23:41:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8877298526744205312,"note":"Value kept but may cause issues"} 
[2026-07-27 23:41:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:41:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785175749000,"timestamp_ms":1785175749000,"timestamp_seconds":1785175749,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4c43188"} 
[2026-07-27 23:41:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:41:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 23:41:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-27 23:41:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:41:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:41:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:41:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:41:07] local.INFO: Teltonika packet parsed successfully {"connection_id":143228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:41:07] local.INFO: Passing IMEI to GPS processor {"connection_id":143228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:41:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":143228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:41:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:41:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:41:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:41:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004989696001,"66":27332,"115":206,"79":21504,"24":46,"16":359571483745320960,"45":-8877298526744205312},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,79,24,16,45]} 
[2026-07-27 23:41:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:41:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:41:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004989696001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:41:07] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-27 23:41:07] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-27 23:41:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359571483745320960,"km_value":359571483745320.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:41:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8877298526744205312,"description":"Unknown IO ID 45"} 
[2026-07-27 23:41:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004989696001,"power":27332,"unknown_115":206,"unknown_79":21504,"ignition":46,"odometer":null,"unknown_45":-8877298526744205312}} 
[2026-07-27 23:41:07] local.INFO: DEBUG: GPS processor result {"connection_id":143228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":556036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:41:07] local.INFO: GPS data processed {"connection_id":143228,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:41:07] local.INFO: Acknowledgment sent {"connection_id":143228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:41:08] local.INFO: TCP Data received {"connection_id":143229,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143229,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:41:08] local.INFO: Processing buffer {"connection_id":143229,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:41:08] local.INFO: IMEI packet received {"connection_id":143229,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 23:41:08] local.INFO: IMEI acknowledgment sent {"connection_id":143229,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:41:09] local.INFO: TCP Data received {"connection_id":143229,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4c4cdc8012d196940071fee200041013124..."} 
[2026-07-27 23:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4c4cdc8012d196940071fee200041013124..."} 
[2026-07-27 23:41:09] local.INFO: Processing buffer {"connection_id":143229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4c4cdc8012d196940071fee200041013124..."} 
[2026-07-27 23:41:09] local.INFO: Packet analysis {"connection_id":143229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4c4"} 
[2026-07-27 23:41:09] local.INFO: Extracted packet for processing {"connection_id":143229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4c4"} 
[2026-07-27 23:41:09] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 23:41:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:41:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004924928001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:41:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 23:41:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:41:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:41:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785175789000,"timestamp_ms":1785175789000,"timestamp_seconds":1785175789,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4c4cdc8"} 
[2026-07-27 23:41:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:41:09] 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-07-27 23:41:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 23:41:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:41:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:41:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:41:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:41:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:41:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143229,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:41:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143229,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:41:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:41:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 23:41:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 23:41:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004924928001,"66":2155,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 23:41:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 23:41:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 23:41:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004924928001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:41:09] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 23:41:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 23:41:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:41:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 23:41:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004924928001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 23:41:09] local.INFO: DEBUG: GPS processor result {"connection_id":143229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":556037,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:41:09] local.INFO: GPS data processed {"connection_id":143229,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:41:09] local.INFO: Acknowledgment sent {"connection_id":143229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:41:14] local.INFO: TCP Data received {"connection_id":143229,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4c4cdc8012d196940071fee200041013124..."} 
[2026-07-27 23:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4c4cdc8012d196940071fee200041013124..."} 
[2026-07-27 23:41:14] local.INFO: Processing buffer {"connection_id":143229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4c4cdc8012d196940071fee200041013124..."} 
[2026-07-27 23:41:14] local.INFO: Packet analysis {"connection_id":143229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4c4"} 
[2026-07-27 23:41:14] local.INFO: Extracted packet for processing {"connection_id":143229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4c4"} 
[2026-07-27 23:41:14] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 23:41:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:41:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004924928001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:41:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 23:41:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:41:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:41:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785175789000,"timestamp_ms":1785175789000,"timestamp_seconds":1785175789,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4c4cdc8"} 
[2026-07-27 23:41:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:41:14] 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-07-27 23:41:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 23:41:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:41:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:41:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:41:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:41:14] local.INFO: Teltonika packet parsed successfully {"connection_id":143229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:41:14] local.INFO: Passing IMEI to GPS processor {"connection_id":143229,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:41:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":143229,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:41:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:41:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 23:41:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 23:41:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004924928001,"66":2155,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 23:41:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 23:41:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 23:41:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004924928001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:41:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 23:41:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 23:41:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:41:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 23:41:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004924928001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 23:41:14] local.INFO: DEBUG: GPS processor result {"connection_id":143229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":556038,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:41:14] local.INFO: GPS data processed {"connection_id":143229,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:41:14] local.INFO: Acknowledgment sent {"connection_id":143229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:41:39] local.INFO: TCP Data received {"connection_id":143228,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4c58560012d83a640061d9508000e012930..."} 
[2026-07-27 23:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4c58560012d83a640061d9508000e012930..."} 
[2026-07-27 23:41:39] local.INFO: Processing buffer {"connection_id":143228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4c58560012d83a640061d9508000e012930..."} 
[2026-07-27 23:41:39] local.INFO: Packet analysis {"connection_id":143228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4c5"} 
[2026-07-27 23:41:39] local.INFO: Extracted packet for processing {"connection_id":143228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4c5"} 
[2026-07-27 23:41:39] local.INFO: GPS Element Parsed {"raw_longitude":763602496,"raw_latitude":102601992,"longitude_deg":76.3602496,"latitude_deg":10.2601992,"altitude":14,"angle":297,"satellites":48,"speed":42,"hex_longitude":"2d83a640","hex_latitude":"061d9508","is_valid_coordinates":true} 
[2026-07-27 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-07-27 23:41:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457005011712001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:41:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359576779439996928,"note":"Value kept but may cause issues"} 
[2026-07-27 23:41:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8950833864389668864,"note":"Value kept but may cause issues"} 
[2026-07-27 23:41:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:41:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785175836000,"timestamp_ms":1785175836000,"timestamp_seconds":1785175836,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4c58560"} 
[2026-07-27 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-07-27 23:41:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":106,"n8_eight_byte":1,"data_length":795,"current_offset":136} 
[2026-07-27 23:41:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 23:41:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:41:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:41:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:41:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:41:39] 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-07-27 23:41:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:41:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:41:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457005011712001,"66":27213,"117":206,"79":21504,"24":42,"16":359576779439996928,"45":-8950833864389668864},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-07-27 23:41:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:41:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:41:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457005011712001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:41:39] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-07-27 23:41:39] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-27 23:41:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359576779439996928,"km_value":359576779439996.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:41:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8950833864389668864,"description":"Unknown IO ID 45"} 
[2026-07-27 23:41:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457005011712001,"power":27213,"unknown_117":206,"unknown_79":21504,"ignition":42,"odometer":null,"unknown_45":-8950833864389668864}} 
[2026-07-27 23:41:39] local.INFO: DEBUG: GPS processor result {"connection_id":143228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":556039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:41:39] local.INFO: GPS data processed {"connection_id":143228,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:41:39] local.INFO: Acknowledgment sent {"connection_id":143228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:41:59] local.INFO: TCP Data received {"connection_id":143230,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143230,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:41:59] local.INFO: Processing buffer {"connection_id":143230,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:41:59] local.INFO: IMEI packet received {"connection_id":143230,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 23:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":143230,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 23:42:00] local.INFO: TCP Data received {"connection_id":145660,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:42:00] local.INFO: Processing buffer {"connection_id":145660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:42:00] local.INFO: IMEI packet received {"connection_id":145660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 23:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":145660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 23:42:04] local.INFO: TCP Data received {"connection_id":143230,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143230,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:42:04] local.INFO: Processing buffer {"connection_id":143230,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:42:04] local.INFO: IMEI packet received {"connection_id":143230,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 23:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":143230,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:42:05] local.INFO: TCP Data received {"connection_id":145660,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:42:05] local.INFO: Processing buffer {"connection_id":145660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:42:05] local.INFO: IMEI packet received {"connection_id":145660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 23:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":145660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:42:05] local.INFO: TCP Data received {"connection_id":143230,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4c4cdc8012d196940071fee200041013124..."} 
[2026-07-27 23:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4c4cdc8012d196940071fee200041013124..."} 
[2026-07-27 23:42:05] local.INFO: Processing buffer {"connection_id":143230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4c4cdc8012d196940071fee200041013124..."} 
[2026-07-27 23:42:05] local.INFO: Packet analysis {"connection_id":143230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4c4"} 
[2026-07-27 23:42:05] local.INFO: Extracted packet for processing {"connection_id":143230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4c4"} 
[2026-07-27 23:42:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 23:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:42:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004924928001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:42:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 23:42:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:42:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:42:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785175789000,"timestamp_ms":1785175789000,"timestamp_seconds":1785175789,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4c4cdc8"} 
[2026-07-27 23:42:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:42:05] 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-07-27 23:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 23:42:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:42:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:42:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:42:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:42:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:42:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143230,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:42:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143230,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:42:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:42:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 23:42:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 23:42:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004924928001,"66":2155,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 23:42:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 23:42:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 23:42:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004924928001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:42:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 23:42:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 23:42:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:42:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 23:42:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004924928001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 23:42:05] local.INFO: DEBUG: GPS processor result {"connection_id":143230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":556040,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:42:05] local.INFO: GPS data processed {"connection_id":143230,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:42:05] local.INFO: Acknowledgment sent {"connection_id":143230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:42:06] local.INFO: TCP Data received {"connection_id":145660,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4c5a4a0012d838680061da448000d012730..."} 
[2026-07-27 23:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4c5a4a0012d838680061da448000d012730..."} 
[2026-07-27 23:42:06] local.INFO: Processing buffer {"connection_id":145660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4c5a4a0012d838680061da448000d012730..."} 
[2026-07-27 23:42:06] local.INFO: Packet analysis {"connection_id":145660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4c5"} 
[2026-07-27 23:42:06] local.INFO: Extracted packet for processing {"connection_id":145660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4c5"} 
[2026-07-27 23:42:06] local.INFO: GPS Element Parsed {"raw_longitude":763594368,"raw_latitude":102605896,"longitude_deg":76.3594368,"latitude_deg":10.2605896,"altitude":13,"angle":295,"satellites":48,"speed":47,"hex_longitude":"2d838680","hex_latitude":"061da448","is_valid_coordinates":true} 
[2026-07-27 23:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:42:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457005014016001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:42:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359577213231693824,"note":"Value kept but may cause issues"} 
[2026-07-27 23:42:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8960404013596735488,"note":"Value kept but may cause issues"} 
[2026-07-27 23:42:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:42:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785175844000,"timestamp_ms":1785175844000,"timestamp_seconds":1785175844,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4c5a4a0"} 
[2026-07-27 23:42:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:42:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 23:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-27 23:42:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:42:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:42:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:42:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:42:06] local.INFO: Teltonika packet parsed successfully {"connection_id":145660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:42:06] local.INFO: Passing IMEI to GPS processor {"connection_id":145660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:42:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":145660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:42:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:42:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:42:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:42:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457005014016001,"66":27234,"117":206,"79":21504,"24":47,"16":359577213231693824,"45":-8960404013596735488},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-07-27 23:42:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:42:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:42:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457005014016001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:42:06] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-07-27 23:42:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-27 23:42:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359577213231693824,"km_value":359577213231693.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:42:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8960404013596735488,"description":"Unknown IO ID 45"} 
[2026-07-27 23:42:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457005014016001,"power":27234,"unknown_117":206,"unknown_79":21504,"ignition":47,"odometer":null,"unknown_45":-8960404013596735488}} 
[2026-07-27 23:42:06] local.INFO: DEBUG: GPS processor result {"connection_id":145660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":556041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:42:06] local.INFO: GPS data processed {"connection_id":145660,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:42:06] local.INFO: Acknowledgment sent {"connection_id":145660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:42:09] local.INFO: TCP Data received {"connection_id":143230,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4c4cdc8012d196940071fee200041013124..."} 
[2026-07-27 23:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4c4cdc8012d196940071fee200041013124..."} 
[2026-07-27 23:42:09] local.INFO: Processing buffer {"connection_id":143230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4c4cdc8012d196940071fee200041013124..."} 
[2026-07-27 23:42:09] local.INFO: Packet analysis {"connection_id":143230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4c4"} 
[2026-07-27 23:42:09] local.INFO: Extracted packet for processing {"connection_id":143230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4c4"} 
[2026-07-27 23:42:09] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 23:42:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:42:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004924928001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:42:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 23:42:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:42:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:42:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785175789000,"timestamp_ms":1785175789000,"timestamp_seconds":1785175789,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4c4cdc8"} 
[2026-07-27 23:42:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:42:09] 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-07-27 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 23:42:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:42:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:42:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:42:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:42:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:42:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143230,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:42:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143230,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:42:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:42:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 23:42:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 23:42:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004924928001,"66":2155,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 23:42:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 23:42:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 23:42:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004924928001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:42:09] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 23:42:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 23:42:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:42:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 23:42:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004924928001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 23:42:09] local.INFO: DEBUG: GPS processor result {"connection_id":143230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":556042,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:42:09] local.INFO: GPS data processed {"connection_id":143230,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:42:09] local.INFO: Acknowledgment sent {"connection_id":143230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:42:37] local.INFO: TCP Data received {"connection_id":145660,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4c5c3e0012d836340061db500000c01282f..."} 
[2026-07-27 23:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4c5c3e0012d836340061db500000c01282f..."} 
[2026-07-27 23:42:37] local.INFO: Processing buffer {"connection_id":145660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4c5c3e0012d836340061db500000c01282f..."} 
[2026-07-27 23:42:37] local.INFO: Packet analysis {"connection_id":145660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4c5"} 
[2026-07-27 23:42:37] local.INFO: Extracted packet for processing {"connection_id":145660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4c5"} 
[2026-07-27 23:42:37] local.INFO: GPS Element Parsed {"raw_longitude":763585344,"raw_latitude":102610176,"longitude_deg":76.3585344,"latitude_deg":10.2610176,"altitude":12,"angle":296,"satellites":47,"speed":51,"hex_longitude":"2d836340","hex_latitude":"061db500","is_valid_coordinates":true} 
[2026-07-27 23:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457005016064001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359577689973063680,"note":"Value kept but may cause issues"} 
[2026-07-27 23:42:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8969340844106299392,"note":"Value kept but may cause issues"} 
[2026-07-27 23:42:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785175852000,"timestamp_ms":1785175852000,"timestamp_seconds":1785175852,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4c5c3e0"} 
[2026-07-27 23:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:42:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 23:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-27 23:42:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:42:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:42:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457005016064001,"66":27397,"117":206,"79":21504,"24":51,"16":359577689973063680,"45":-8969340844106299392},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-07-27 23:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457005016064001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:42:37] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-07-27 23:42:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-27 23:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359577689973063680,"km_value":359577689973063.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:42:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8969340844106299392,"description":"Unknown IO ID 45"} 
[2026-07-27 23:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457005016064001,"power":27397,"unknown_117":206,"unknown_79":21504,"ignition":51,"odometer":null,"unknown_45":-8969340844106299392}} 
[2026-07-27 23:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":145660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":556043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:42:37] local.INFO: GPS data processed {"connection_id":145660,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:42:37] local.INFO: Acknowledgment sent {"connection_id":145660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:42:41] local.INFO: TCP Data received {"connection_id":143230,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4c4cdc8012d196940071fee200041013124..."} 
[2026-07-27 23:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4c4cdc8012d196940071fee200041013124..."} 
[2026-07-27 23:42:41] local.INFO: Processing buffer {"connection_id":143230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4c4cdc8012d196940071fee200041013124..."} 
[2026-07-27 23:42:41] local.INFO: Packet analysis {"connection_id":143230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4c4"} 
[2026-07-27 23:42:41] local.INFO: Extracted packet for processing {"connection_id":143230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4c4"} 
[2026-07-27 23:42:41] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 23: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-07-27 23:42:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004924928001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:42:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 23:42:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:42:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:42:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785175789000,"timestamp_ms":1785175789000,"timestamp_seconds":1785175789,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4c4cdc8"} 
[2026-07-27 23:42:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:42:41] 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-07-27 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 23:42:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23: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-07-27 23:42:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:42:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:42:41] local.INFO: Teltonika packet parsed successfully {"connection_id":143230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:42:41] local.INFO: Passing IMEI to GPS processor {"connection_id":143230,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:42:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":143230,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:42:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:42:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 23:42:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 23:42:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004924928001,"66":2155,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 23:42:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 23:42:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 23:42:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004924928001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:42:41] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 23:42:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 23:42:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:42:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 23:42:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004924928001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 23:42:41] local.INFO: DEBUG: GPS processor result {"connection_id":143230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":556044,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:42:41] local.INFO: GPS data processed {"connection_id":143230,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:42:41] local.INFO: Acknowledgment sent {"connection_id":143230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:42:59] local.INFO: TCP Data received {"connection_id":145661,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145661,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:42:59] local.INFO: Processing buffer {"connection_id":145661,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:42:59] local.INFO: IMEI packet received {"connection_id":145661,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 23:42:59] local.INFO: IMEI acknowledgment sent {"connection_id":145661,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 23:43:00] local.INFO: TCP Data received {"connection_id":145662,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:43:00] local.INFO: Processing buffer {"connection_id":145662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:43:00] local.INFO: IMEI packet received {"connection_id":145662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 23:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":145662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 23:43:04] local.INFO: TCP Data received {"connection_id":145661,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145661,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:43:04] local.INFO: Processing buffer {"connection_id":145661,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:43:04] local.INFO: IMEI packet received {"connection_id":145661,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 23:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":145661,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:43:05] local.INFO: TCP Data received {"connection_id":145662,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:43:05] local.INFO: Processing buffer {"connection_id":145662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:43:05] local.INFO: IMEI packet received {"connection_id":145662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 23:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":145662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:43:05] local.INFO: TCP Data received {"connection_id":145661,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4c4cdc8012d196940071fee200041013124..."} 
[2026-07-27 23:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4c4cdc8012d196940071fee200041013124..."} 
[2026-07-27 23:43:05] local.INFO: Processing buffer {"connection_id":145661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4c4cdc8012d196940071fee200041013124..."} 
[2026-07-27 23:43:05] local.INFO: Packet analysis {"connection_id":145661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4c4"} 
[2026-07-27 23:43:05] local.INFO: Extracted packet for processing {"connection_id":145661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4c4"} 
[2026-07-27 23:43:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 23:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:43:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004924928001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:43:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 23:43:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:43:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:43:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785175789000,"timestamp_ms":1785175789000,"timestamp_seconds":1785175789,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4c4cdc8"} 
[2026-07-27 23:43:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:43:05] 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-07-27 23:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 23:43:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:43:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:43:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:43:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:43:05] local.INFO: Teltonika packet parsed successfully {"connection_id":145661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:43:05] local.INFO: Passing IMEI to GPS processor {"connection_id":145661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:43:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":145661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:43:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:43:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 23:43:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 23:43:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004924928001,"66":2155,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 23:43:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 23:43:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 23:43:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004924928001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:43:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 23:43:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 23:43:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:43:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 23:43:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004924928001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 23:43:05] local.INFO: DEBUG: GPS processor result {"connection_id":145661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":556045,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:43:05] local.INFO: GPS data processed {"connection_id":145661,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:43:05] local.INFO: Acknowledgment sent {"connection_id":145661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:43:06] local.INFO: TCP Data received {"connection_id":145662,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4c5e320012d834040061dc6a0000c012a2d..."} 
[2026-07-27 23:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4c5e320012d834040061dc6a0000c012a2d..."} 
[2026-07-27 23:43:06] local.INFO: Processing buffer {"connection_id":145662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4c5e320012d834040061dc6a0000c012a2d..."} 
[2026-07-27 23:43:06] local.INFO: Packet analysis {"connection_id":145662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4c5"} 
[2026-07-27 23:43:06] local.INFO: Extracted packet for processing {"connection_id":145662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4c5"} 
[2026-07-27 23:43:06] local.INFO: GPS Element Parsed {"raw_longitude":763576384,"raw_latitude":102614688,"longitude_deg":76.3576384,"latitude_deg":10.2614688,"altitude":12,"angle":298,"satellites":45,"speed":43,"hex_longitude":"2d834040","hex_latitude":"061dc6a0","is_valid_coordinates":true} 
[2026-07-27 23:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:43:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457005018112001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:43:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359578171009400832,"note":"Value kept but may cause issues"} 
[2026-07-27 23:43:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8979262837034254336,"note":"Value kept but may cause issues"} 
[2026-07-27 23:43:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:43:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785175860000,"timestamp_ms":1785175860000,"timestamp_seconds":1785175860,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4c5e320"} 
[2026-07-27 23:43:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:43:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 23:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-27 23:43:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:43:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:43:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:43:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:43:06] local.INFO: Teltonika packet parsed successfully {"connection_id":145662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:43:06] local.INFO: Passing IMEI to GPS processor {"connection_id":145662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:43:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":145662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:43:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:43:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:43:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:43:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457005018112001,"66":27321,"117":206,"79":21504,"24":43,"16":359578171009400832,"45":-8979262837034254336},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-07-27 23:43:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:43:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:43:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457005018112001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:43:06] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-07-27 23:43:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-27 23:43:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359578171009400832,"km_value":359578171009400.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:43:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8979262837034254336,"description":"Unknown IO ID 45"} 
[2026-07-27 23:43:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457005018112001,"power":27321,"unknown_117":206,"unknown_79":21504,"ignition":43,"odometer":null,"unknown_45":-8979262837034254336}} 
[2026-07-27 23:43:06] local.INFO: DEBUG: GPS processor result {"connection_id":145662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":556046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:43:06] local.INFO: GPS data processed {"connection_id":145662,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:43:06] local.INFO: Acknowledgment sent {"connection_id":145662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:43:36] local.INFO: TCP Data received {"connection_id":145662,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4c61200012d8320c0061dd768000d01262f..."} 
[2026-07-27 23:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4c61200012d8320c0061dd768000d01262f..."} 
[2026-07-27 23:43:36] local.INFO: Processing buffer {"connection_id":145662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4c61200012d8320c0061dd768000d01262f..."} 
[2026-07-27 23:43:36] local.INFO: Packet analysis {"connection_id":145662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4c6"} 
[2026-07-27 23:43:36] local.INFO: Extracted packet for processing {"connection_id":145662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4c6"} 
[2026-07-27 23:43:36] local.INFO: GPS Element Parsed {"raw_longitude":763568320,"raw_latitude":102618984,"longitude_deg":76.356832,"latitude_deg":10.2618984,"altitude":13,"angle":294,"satellites":47,"speed":14,"hex_longitude":"2d8320c0","hex_latitude":"061dd768","is_valid_coordinates":true} 
[2026-07-27 23:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:43:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457005020160001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:43:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359578604801097728,"note":"Value kept but may cause issues"} 
[2026-07-27 23:43:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8989114461217972224,"note":"Value kept but may cause issues"} 
[2026-07-27 23:43:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:43:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785175872000,"timestamp_ms":1785175872000,"timestamp_seconds":1785175872,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4c61200"} 
[2026-07-27 23:43:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:43:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 23:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-27 23:43:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:43:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:43:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:43:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:43:36] local.INFO: Teltonika packet parsed successfully {"connection_id":145662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:43:36] local.INFO: Passing IMEI to GPS processor {"connection_id":145662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:43:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":145662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:43:36] 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-07-27 23:43:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:43:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:43:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457005020160001,"66":27397,"117":206,"79":21504,"24":14,"16":359578604801097728,"45":-8989114461217972224},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-07-27 23:43:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:43:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:43:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457005020160001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:43:36] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-07-27 23:43:36] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-27 23:43:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359578604801097728,"km_value":359578604801097.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:43:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8989114461217972224,"description":"Unknown IO ID 45"} 
[2026-07-27 23:43:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457005020160001,"power":27397,"unknown_117":206,"unknown_79":21504,"ignition":14,"odometer":null,"unknown_45":-8989114461217972224}} 
[2026-07-27 23:43:36] local.INFO: DEBUG: GPS processor result {"connection_id":145662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":556047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:43:36] local.INFO: GPS data processed {"connection_id":145662,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:43:36] local.INFO: Acknowledgment sent {"connection_id":145662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:43:37] local.INFO: TCP Data received {"connection_id":145661,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4c4cdc8012d196940071fee200041013124..."} 
[2026-07-27 23:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4c4cdc8012d196940071fee200041013124..."} 
[2026-07-27 23:43:37] local.INFO: Processing buffer {"connection_id":145661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4c4cdc8012d196940071fee200041013124..."} 
[2026-07-27 23:43:37] local.INFO: Packet analysis {"connection_id":145661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4c4"} 
[2026-07-27 23:43:37] local.INFO: Extracted packet for processing {"connection_id":145661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4c4"} 
[2026-07-27 23:43:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 23:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:43:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004924928001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:43:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 23:43:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:43:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:43:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785175789000,"timestamp_ms":1785175789000,"timestamp_seconds":1785175789,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4c4cdc8"} 
[2026-07-27 23:43:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:43:37] 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-07-27 23:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 23:43:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:43:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:43:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:43:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:43:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:43:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:43:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:43:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:43:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 23:43:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 23:43:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004924928001,"66":2155,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 23:43:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 23:43:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 23:43:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004924928001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:43:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 23:43:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 23:43:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:43:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 23:43:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004924928001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 23:43:37] local.INFO: DEBUG: GPS processor result {"connection_id":145661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":556048,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:43:37] local.INFO: GPS data processed {"connection_id":145661,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:43:37] local.INFO: Acknowledgment sent {"connection_id":145661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:43:58] local.INFO: TCP Data received {"connection_id":143376,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143376,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:43:58] local.INFO: Processing buffer {"connection_id":143376,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:43:58] local.INFO: IMEI packet received {"connection_id":143376,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 23:43:58] local.INFO: IMEI acknowledgment sent {"connection_id":143376,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 23:44:00] local.INFO: TCP Data received {"connection_id":145663,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:44:00] local.INFO: Processing buffer {"connection_id":145663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:44:00] local.INFO: IMEI packet received {"connection_id":145663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 23:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":145663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 23:44:04] local.INFO: TCP Data received {"connection_id":143376,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143376,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:44:04] local.INFO: Processing buffer {"connection_id":143376,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:44:04] local.INFO: IMEI packet received {"connection_id":143376,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 23:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":143376,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:44:05] local.INFO: TCP Data received {"connection_id":145663,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:44:05] local.INFO: Processing buffer {"connection_id":145663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:44:05] local.INFO: IMEI packet received {"connection_id":145663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 23:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":145663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:44:05] local.INFO: TCP Data received {"connection_id":143376,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4c4cdc8012d196940071fee200041013124..."} 
[2026-07-27 23:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4c4cdc8012d196940071fee200041013124..."} 
[2026-07-27 23:44:05] local.INFO: Processing buffer {"connection_id":143376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4c4cdc8012d196940071fee200041013124..."} 
[2026-07-27 23:44:05] local.INFO: Packet analysis {"connection_id":143376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4c4"} 
[2026-07-27 23:44:05] local.INFO: Extracted packet for processing {"connection_id":143376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4c4"} 
[2026-07-27 23:44:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 23:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:44:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004924928001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:44:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 23:44:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:44:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:44:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785175789000,"timestamp_ms":1785175789000,"timestamp_seconds":1785175789,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4c4cdc8"} 
[2026-07-27 23:44:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:44:05] 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-07-27 23:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 23:44:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:44:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:44:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:44:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:44:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:44:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143376,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:44:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143376,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:44:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:44:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 23:44:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 23:44:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004924928001,"66":2155,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 23:44:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 23:44:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 23:44:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004924928001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:44:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 23:44:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 23:44:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:44:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 23:44:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004924928001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 23:44:05] local.INFO: DEBUG: GPS processor result {"connection_id":143376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":556049,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:44:05] local.INFO: GPS data processed {"connection_id":143376,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:44:05] local.INFO: Acknowledgment sent {"connection_id":143376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:44:06] local.INFO: TCP Data received {"connection_id":145663,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4c66408012d831b80061dd9c8000c012730..."} 
[2026-07-27 23:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4c66408012d831b80061dd9c8000c012730..."} 
[2026-07-27 23:44:06] local.INFO: Processing buffer {"connection_id":145663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4c66408012d831b80061dd9c8000c012730..."} 
[2026-07-27 23:44:06] local.INFO: Packet analysis {"connection_id":145663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4c6"} 
[2026-07-27 23:44:06] local.INFO: Extracted packet for processing {"connection_id":145663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4c6"} 
[2026-07-27 23:44:06] local.INFO: GPS Element Parsed {"raw_longitude":763566976,"raw_latitude":102619592,"longitude_deg":76.3566976,"latitude_deg":10.2619592,"altitude":12,"angle":295,"satellites":48,"speed":6,"hex_longitude":"2d831b80","hex_latitude":"061dd9c8","is_valid_coordinates":true} 
[2026-07-27 23:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:44:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457005023232001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:44:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359578677815541760,"note":"Value kept but may cause issues"} 
[2026-07-27 23:44:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8997980922983258112,"note":"Value kept but may cause issues"} 
[2026-07-27 23:44:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:44:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785175893000,"timestamp_ms":1785175893000,"timestamp_seconds":1785175893,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4c66408"} 
[2026-07-27 23:44:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:44:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 23:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-27 23:44:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:44:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:44:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:44:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:44:06] local.INFO: Teltonika packet parsed successfully {"connection_id":145663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:44:06] local.INFO: Passing IMEI to GPS processor {"connection_id":145663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:44:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":145663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:44:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:44:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:44:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:44:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457005023232001,"66":27343,"119":206,"79":21504,"24":6,"16":359578677815541760,"45":-8997980922983258112},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,79,24,16,45]} 
[2026-07-27 23:44:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:44:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:44:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457005023232001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:44:06] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-07-27 23:44:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-27 23:44:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359578677815541760,"km_value":359578677815541.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:44:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8997980922983258112,"description":"Unknown IO ID 45"} 
[2026-07-27 23:44:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457005023232001,"power":27343,"unknown_119":206,"unknown_79":21504,"ignition":6,"odometer":null,"unknown_45":-8997980922983258112}} 
[2026-07-27 23:44:06] local.INFO: DEBUG: GPS processor result {"connection_id":145663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":556050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:44:06] local.INFO: GPS data processed {"connection_id":145663,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:44:06] local.INFO: Acknowledgment sent {"connection_id":145663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:44:37] local.INFO: TCP Data received {"connection_id":143376,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4c4cdc8012d196940071fee200041013124..."} 
[2026-07-27 23:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4c4cdc8012d196940071fee200041013124..."} 
[2026-07-27 23:44:37] local.INFO: Processing buffer {"connection_id":143376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4c4cdc8012d196940071fee200041013124..."} 
[2026-07-27 23:44:37] local.INFO: Packet analysis {"connection_id":143376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4c4"} 
[2026-07-27 23:44:37] local.INFO: Extracted packet for processing {"connection_id":143376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4c4"} 
[2026-07-27 23:44:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 23:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:44:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004924928001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:44:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 23:44:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:44:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:44:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785175789000,"timestamp_ms":1785175789000,"timestamp_seconds":1785175789,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4c4cdc8"} 
[2026-07-27 23:44:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:44:37] 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-07-27 23:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 23:44:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:44:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:44:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:44:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:44:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:44:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143376,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:44:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143376,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:44:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:44:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 23:44:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 23:44:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004924928001,"66":2155,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 23:44:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 23:44:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 23:44:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004924928001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:44:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 23:44:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 23:44:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:44:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 23:44:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004924928001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 23:44:37] local.INFO: DEBUG: GPS processor result {"connection_id":143376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":556051,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:44:37] local.INFO: GPS data processed {"connection_id":143376,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:44:37] local.INFO: Acknowledgment sent {"connection_id":143376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:44:37] local.INFO: TCP Data received {"connection_id":145663,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4c6b610012d830f40061ddfc0000d01282d..."} 
[2026-07-27 23:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4c6b610012d830f40061ddfc0000d01282d..."} 
[2026-07-27 23:44:37] local.INFO: Processing buffer {"connection_id":145663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4c6b610012d830f40061ddfc0000d01282d..."} 
[2026-07-27 23:44:37] local.INFO: Packet analysis {"connection_id":145663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4c6"} 
[2026-07-27 23:44:37] local.INFO: Extracted packet for processing {"connection_id":145663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4c6"} 
[2026-07-27 23:44:37] local.INFO: GPS Element Parsed {"raw_longitude":763563840,"raw_latitude":102621120,"longitude_deg":76.356384,"latitude_deg":10.262112,"altitude":13,"angle":296,"satellites":45,"speed":6,"hex_longitude":"2d830f40","hex_latitude":"061ddfc0","is_valid_coordinates":true} 
[2026-07-27 23:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:44:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457005028608001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:44:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359578845319266304,"note":"Value kept but may cause issues"} 
[2026-07-27 23:44:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8999458666610833408,"note":"Value kept but may cause issues"} 
[2026-07-27 23:44:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:44:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785175914000,"timestamp_ms":1785175914000,"timestamp_seconds":1785175914,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4c6b610"} 
[2026-07-27 23:44:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:44:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 23:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-27 23:44:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:44:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:44:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:44:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:44:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:44:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:44:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:44:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:44:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:44:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:44:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457005028608001,"66":27234,"119":206,"79":21504,"24":6,"16":359578845319266304,"45":-8999458666610833408},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,79,24,16,45]} 
[2026-07-27 23:44:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:44:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:44:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457005028608001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:44:37] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-07-27 23:44:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-27 23:44:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359578845319266304,"km_value":359578845319266.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:44:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8999458666610833408,"description":"Unknown IO ID 45"} 
[2026-07-27 23:44:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457005028608001,"power":27234,"unknown_119":206,"unknown_79":21504,"ignition":6,"odometer":null,"unknown_45":-8999458666610833408}} 
[2026-07-27 23:44:37] local.INFO: DEBUG: GPS processor result {"connection_id":145663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":556052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:44:37] local.INFO: GPS data processed {"connection_id":145663,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:44:37] local.INFO: Acknowledgment sent {"connection_id":145663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:44:58] local.INFO: TCP Data received {"connection_id":144392,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144392,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:44:58] local.INFO: Processing buffer {"connection_id":144392,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:44:58] local.INFO: IMEI packet received {"connection_id":144392,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 23:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":144392,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 23:45:00] local.INFO: TCP Data received {"connection_id":143377,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:45:00] local.INFO: Processing buffer {"connection_id":143377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:45:00] local.INFO: IMEI packet received {"connection_id":143377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 23:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":143377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 23:45:04] local.INFO: TCP Data received {"connection_id":144392,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144392,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:45:04] local.INFO: Processing buffer {"connection_id":144392,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:45:04] local.INFO: IMEI packet received {"connection_id":144392,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 23:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":144392,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:45:05] local.INFO: TCP Data received {"connection_id":143377,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:45:05] local.INFO: TCP Data received {"connection_id":144392,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4c4cdc8012d196940071fee200041013124..."} 
[2026-07-27 23:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:45:05] local.INFO: Processing buffer {"connection_id":143377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:45:05] local.INFO: IMEI packet received {"connection_id":143377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 23:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":143377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4c4cdc8012d196940071fee200041013124..."} 
[2026-07-27 23:45:05] local.INFO: Processing buffer {"connection_id":144392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4c4cdc8012d196940071fee200041013124..."} 
[2026-07-27 23:45:05] local.INFO: Packet analysis {"connection_id":144392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4c4"} 
[2026-07-27 23:45:05] local.INFO: Extracted packet for processing {"connection_id":144392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4c4"} 
[2026-07-27 23:45:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 23:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:45:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457004924928001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:45:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 23:45:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:45:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:45:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785175789000,"timestamp_ms":1785175789000,"timestamp_seconds":1785175789,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4c4cdc8"} 
[2026-07-27 23:45:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:45:05] 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-07-27 23:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 23:45:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:45:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:45:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:45:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:45:05] local.INFO: Teltonika packet parsed successfully {"connection_id":144392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:45:05] local.INFO: Passing IMEI to GPS processor {"connection_id":144392,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:45:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":144392,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:45:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:45:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 23:45:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 23:45:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457004924928001,"66":2155,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 23:45:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 23:45:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 23:45:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457004924928001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:45:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 23:45:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 23:45:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:45:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 23:45:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457004924928001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 23:45:05] local.INFO: DEBUG: GPS processor result {"connection_id":144392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":556053,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:45:05] local.INFO: GPS data processed {"connection_id":144392,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:45:05] local.INFO: Acknowledgment sent {"connection_id":144392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:45:06] local.INFO: TCP Data received {"connection_id":143377,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4c70818012d8303c0061de580000f01292e..."} 
[2026-07-27 23:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4c70818012d8303c0061de580000f01292e..."} 
[2026-07-27 23:45:06] local.INFO: Processing buffer {"connection_id":143377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4c70818012d8303c0061de580000f01292e..."} 
[2026-07-27 23:45:06] local.INFO: Packet analysis {"connection_id":143377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4c7"} 
[2026-07-27 23:45:06] local.INFO: Extracted packet for processing {"connection_id":143377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4c7"} 
[2026-07-27 23:45:06] local.INFO: GPS Element Parsed {"raw_longitude":763560896,"raw_latitude":102622592,"longitude_deg":76.3560896,"latitude_deg":10.2622592,"altitude":15,"angle":297,"satellites":46,"speed":0,"hex_longitude":"2d8303c0","hex_latitude":"061de580","is_valid_coordinates":true} 
[2026-07-27 23:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:45:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457005033984001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:45:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359579008528023552,"note":"Value kept but may cause issues"} 
[2026-07-27 23:45:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9002906735075147776,"note":"Value kept but may cause issues"} 
[2026-07-27 23:45:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:45:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785175935000,"timestamp_ms":1785175935000,"timestamp_seconds":1785175935,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4c70818"} 
[2026-07-27 23:45:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:45:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 23:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-27 23:45:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:45:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:45:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:45:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:45:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:45:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:45:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:45:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:45:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:45:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:45:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457005033984001,"66":27376,"119":206,"79":21504,"24":0,"16":359579008528023552,"45":-9002906735075147776},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,79,24,16,45]} 
[2026-07-27 23:45:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:45:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:45:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457005033984001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:45:06] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-07-27 23:45:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-27 23:45:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359579008528023552,"km_value":359579008528023.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:45:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9002906735075147776,"description":"Unknown IO ID 45"} 
[2026-07-27 23:45:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457005033984001,"power":27376,"unknown_119":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-9002906735075147776}} 
[2026-07-27 23:45:06] local.INFO: DEBUG: GPS processor result {"connection_id":143377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":556054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:45:06] local.INFO: GPS data processed {"connection_id":143377,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:45:06] local.INFO: Acknowledgment sent {"connection_id":143377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:45:37] local.INFO: TCP Data received {"connection_id":144392,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4c96590012d196940071fee200041013126..."} 
[2026-07-27 23:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4c96590012d196940071fee200041013126..."} 
[2026-07-27 23:45:37] local.INFO: Processing buffer {"connection_id":144392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4c96590012d196940071fee200041013126..."} 
[2026-07-27 23:45:37] local.INFO: Packet analysis {"connection_id":144392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4c9"} 
[2026-07-27 23:45:37] local.INFO: Extracted packet for processing {"connection_id":144392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4c9"} 
[2026-07-27 23:45:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 23:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457005001984001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 23:45:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:45:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785176090000,"timestamp_ms":1785176090000,"timestamp_seconds":1785176090,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4c96590"} 
[2026-07-27 23:45:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:45:37] 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-07-27 23:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-27 23:45:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:45:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:45:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144392,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144392,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:45:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 23:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 23:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457005001984001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 23:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 23:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 23:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457005001984001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:45:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 23:45:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 23:45:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:45:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 23:45:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457005001984001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 23:45:37] local.INFO: DEBUG: GPS processor result {"connection_id":144392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":556055,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:45:37] local.INFO: GPS data processed {"connection_id":144392,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:45:37] local.INFO: Acknowledgment sent {"connection_id":144392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:45:37] local.INFO: TCP Data received {"connection_id":143377,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4c75a20012d830340061de5b0000f012930..."} 
[2026-07-27 23:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4c75a20012d830340061de5b0000f012930..."} 
[2026-07-27 23:45:37] local.INFO: Processing buffer {"connection_id":143377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4c75a20012d830340061de5b0000f012930..."} 
[2026-07-27 23:45:37] local.INFO: Packet analysis {"connection_id":143377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4c7"} 
[2026-07-27 23:45:37] local.INFO: Extracted packet for processing {"connection_id":143377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4c7"} 
[2026-07-27 23:45:37] local.INFO: GPS Element Parsed {"raw_longitude":763560768,"raw_latitude":102622640,"longitude_deg":76.3560768,"latitude_deg":10.262264,"altitude":15,"angle":297,"satellites":48,"speed":0,"hex_longitude":"2d830340","hex_latitude":"061de5b0","is_valid_coordinates":true} 
[2026-07-27 23:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457005039360001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359579012822990848,"note":"Value kept but may cause issues"} 
[2026-07-27 23:45:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9006143697306943488,"note":"Value kept but may cause issues"} 
[2026-07-27 23:45:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785175956000,"timestamp_ms":1785175956000,"timestamp_seconds":1785175956,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4c75a20"} 
[2026-07-27 23:45:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:45:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 23:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-27 23:45:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:45:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:45:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:45:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457005039360001,"66":27321,"119":206,"79":21504,"24":0,"16":359579012822990848,"45":-9006143697306943488},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,79,24,16,45]} 
[2026-07-27 23:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457005039360001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:45:37] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-07-27 23:45:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-27 23:45:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359579012822990848,"km_value":359579012822990.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:45:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9006143697306943488,"description":"Unknown IO ID 45"} 
[2026-07-27 23:45:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457005039360001,"power":27321,"unknown_119":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-9006143697306943488}} 
[2026-07-27 23:45:37] local.INFO: DEBUG: GPS processor result {"connection_id":143377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":556056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:45:37] local.INFO: GPS data processed {"connection_id":143377,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:45:37] local.INFO: Acknowledgment sent {"connection_id":143377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:46:02] local.INFO: TCP Data received {"connection_id":144393,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:46:02] local.INFO: Processing buffer {"connection_id":144393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:46:02] local.INFO: IMEI packet received {"connection_id":144393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 23:46:02] local.INFO: IMEI acknowledgment sent {"connection_id":144393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 23:46:04] local.INFO: TCP Data received {"connection_id":145664,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145664,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:46:04] local.INFO: Processing buffer {"connection_id":145664,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:46:04] local.INFO: IMEI packet received {"connection_id":145664,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 23:46:04] local.INFO: IMEI acknowledgment sent {"connection_id":145664,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 23:46:05] local.INFO: TCP Data received {"connection_id":144393,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:46:05] local.INFO: Processing buffer {"connection_id":144393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:46:05] local.INFO: IMEI packet received {"connection_id":144393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 23:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":144393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:46:09] local.INFO: TCP Data received {"connection_id":145664,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145664,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:46:09] local.INFO: Processing buffer {"connection_id":145664,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:46:09] local.INFO: IMEI packet received {"connection_id":145664,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 23:46:09] local.INFO: IMEI acknowledgment sent {"connection_id":145664,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:46:10] local.INFO: TCP Data received {"connection_id":144393,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:46:10] local.INFO: Processing buffer {"connection_id":144393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:46:10] local.INFO: IMEI packet received {"connection_id":144393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 23:46:10] local.INFO: IMEI acknowledgment sent {"connection_id":144393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:46:10] local.INFO: TCP Data received {"connection_id":145664,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4c96590012d196940071fee200041013126..."} 
[2026-07-27 23:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4c96590012d196940071fee200041013126..."} 
[2026-07-27 23:46:10] local.INFO: Processing buffer {"connection_id":145664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4c96590012d196940071fee200041013126..."} 
[2026-07-27 23:46:10] local.INFO: Packet analysis {"connection_id":145664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4c9"} 
[2026-07-27 23:46:10] local.INFO: Extracted packet for processing {"connection_id":145664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4c9"} 
[2026-07-27 23:46:10] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 23:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:46:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457005001984001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:46:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 23:46:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:46:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:46:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785176090000,"timestamp_ms":1785176090000,"timestamp_seconds":1785176090,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4c96590"} 
[2026-07-27 23:46:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:46:10] 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-07-27 23: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-27 23:46:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:46:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:46:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:46:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:46:10] local.INFO: Teltonika packet parsed successfully {"connection_id":145664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:46:10] local.INFO: Passing IMEI to GPS processor {"connection_id":145664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:46:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":145664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:46:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:46:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 23:46:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 23:46:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457005001984001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 23:46:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 23:46:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 23:46:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457005001984001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:46:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 23:46:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 23:46:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:46:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 23:46:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457005001984001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 23:46:10] local.INFO: DEBUG: GPS processor result {"connection_id":145664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":556057,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:46:10] local.INFO: GPS data processed {"connection_id":145664,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:46:10] local.INFO: Acknowledgment sent {"connection_id":145664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:46:11] local.INFO: TCP Data received {"connection_id":144393,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4c7ac28012d82f940061dea68000e01292f..."} 
[2026-07-27 23:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4c7ac28012d82f940061dea68000e01292f..."} 
[2026-07-27 23:46:11] local.INFO: Processing buffer {"connection_id":144393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4c7ac28012d82f940061dea68000e01292f..."} 
[2026-07-27 23:46:11] local.INFO: Packet analysis {"connection_id":144393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4c7"} 
[2026-07-27 23:46:11] local.INFO: Extracted packet for processing {"connection_id":144393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4c7"} 
[2026-07-27 23:46:11] local.INFO: GPS Element Parsed {"raw_longitude":763558208,"raw_latitude":102623848,"longitude_deg":76.3558208,"latitude_deg":10.2623848,"altitude":14,"angle":297,"satellites":47,"speed":8,"hex_longitude":"2d82f940","hex_latitude":"061dea68","is_valid_coordinates":true} 
[2026-07-27 23:46:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:46:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457005044736001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:46:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359579150261944320,"note":"Value kept but may cause issues"} 
[2026-07-27 23:46:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9006284434795286528,"note":"Value kept but may cause issues"} 
[2026-07-27 23:46:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:46:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785175977000,"timestamp_ms":1785175977000,"timestamp_seconds":1785175977,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4c7ac28"} 
[2026-07-27 23:46:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:46:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 23: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-27 23:46:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:46:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:46:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:46:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:46:11] local.INFO: Teltonika packet parsed successfully {"connection_id":144393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:46:11] local.INFO: Passing IMEI to GPS processor {"connection_id":144393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:46:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":144393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:46: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-07-27 23:46:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:46:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:46:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457005044736001,"66":27376,"119":206,"79":21504,"24":8,"16":359579150261944320,"45":-9006284434795286528},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,79,24,16,45]} 
[2026-07-27 23:46:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:46:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:46:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457005044736001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:46:11] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-07-27 23:46:11] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-27 23:46:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359579150261944320,"km_value":359579150261944.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:46:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9006284434795286528,"description":"Unknown IO ID 45"} 
[2026-07-27 23:46:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457005044736001,"power":27376,"unknown_119":206,"unknown_79":21504,"ignition":8,"odometer":null,"unknown_45":-9006284434795286528}} 
[2026-07-27 23:46:11] local.INFO: DEBUG: GPS processor result {"connection_id":144393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":556058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:46:11] local.INFO: GPS data processed {"connection_id":144393,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:46:11] local.INFO: Acknowledgment sent {"connection_id":144393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:46:14] local.INFO: TCP Data received {"connection_id":145664,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4c96590012d196940071fee200041013126..."} 
[2026-07-27 23:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4c96590012d196940071fee200041013126..."} 
[2026-07-27 23:46:14] local.INFO: Processing buffer {"connection_id":145664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4c96590012d196940071fee200041013126..."} 
[2026-07-27 23:46:14] local.INFO: Packet analysis {"connection_id":145664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4c9"} 
[2026-07-27 23:46:14] local.INFO: Extracted packet for processing {"connection_id":145664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4c9"} 
[2026-07-27 23:46:14] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 23:46:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:46:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457005001984001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:46:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 23:46:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:46:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:46:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785176090000,"timestamp_ms":1785176090000,"timestamp_seconds":1785176090,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4c96590"} 
[2026-07-27 23:46:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:46:14] 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-07-27 23:46:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-27 23:46:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:46:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:46:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:46:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:46:14] local.INFO: Teltonika packet parsed successfully {"connection_id":145664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:46:14] local.INFO: Passing IMEI to GPS processor {"connection_id":145664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:46:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":145664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:46:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:46:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 23:46:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 23:46:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457005001984001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 23:46:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 23:46:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 23:46:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457005001984001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:46:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 23:46:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 23:46:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:46:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 23:46:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457005001984001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 23:46:14] local.INFO: DEBUG: GPS processor result {"connection_id":145664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":556059,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:46:14] local.INFO: GPS data processed {"connection_id":145664,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:46:14] local.INFO: Acknowledgment sent {"connection_id":145664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:46:15] local.INFO: TCP Data received {"connection_id":144393,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4c7fe30012d82e8c0061df2f0000f012930..."} 
[2026-07-27 23:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4c7fe30012d82e8c0061df2f0000f012930..."} 
[2026-07-27 23:46:15] local.INFO: Processing buffer {"connection_id":144393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4c7fe30012d82e8c0061df2f0000f012930..."} 
[2026-07-27 23:46:15] local.INFO: Packet analysis {"connection_id":144393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4c7"} 
[2026-07-27 23:46:15] local.INFO: Extracted packet for processing {"connection_id":144393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4c7"} 
[2026-07-27 23:46:15] local.INFO: GPS Element Parsed {"raw_longitude":763553984,"raw_latitude":102626032,"longitude_deg":76.3553984,"latitude_deg":10.2626032,"altitude":15,"angle":297,"satellites":48,"speed":6,"hex_longitude":"2d82e8c0","hex_latitude":"061df2f0","is_valid_coordinates":true} 
[2026-07-27 23: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-07-27 23:46:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457005050112001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:46:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359579373600243712,"note":"Value kept but may cause issues"} 
[2026-07-27 23:46:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9009099184562083840,"note":"Value kept but may cause issues"} 
[2026-07-27 23:46:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:46:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785175998000,"timestamp_ms":1785175998000,"timestamp_seconds":1785175998,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4c7fe30"} 
[2026-07-27 23:46:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:46:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 23: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-27 23:46:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23: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-07-27 23:46:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:46:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:46:15] local.INFO: Teltonika packet parsed successfully {"connection_id":144393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:46:15] local.INFO: Passing IMEI to GPS processor {"connection_id":144393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:46:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":144393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:46: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-07-27 23:46:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:46:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:46:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457005050112001,"66":27234,"119":206,"79":21504,"24":6,"16":359579373600243712,"45":-9009099184562083840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,79,24,16,45]} 
[2026-07-27 23:46:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:46:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:46:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457005050112001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:46:15] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-07-27 23:46:15] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-27 23:46:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359579373600243712,"km_value":359579373600243.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:46:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9009099184562083840,"description":"Unknown IO ID 45"} 
[2026-07-27 23:46:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457005050112001,"power":27234,"unknown_119":206,"unknown_79":21504,"ignition":6,"odometer":null,"unknown_45":-9009099184562083840}} 
[2026-07-27 23:46:15] local.INFO: DEBUG: GPS processor result {"connection_id":144393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":556060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:46:15] local.INFO: GPS data processed {"connection_id":144393,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:46:15] local.INFO: Acknowledgment sent {"connection_id":144393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:46:59] local.INFO: TCP Data received {"connection_id":144394,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144394,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:46:59] local.INFO: Processing buffer {"connection_id":144394,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:46:59] local.INFO: IMEI packet received {"connection_id":144394,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 23:46:59] local.INFO: IMEI acknowledgment sent {"connection_id":144394,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 23:46:59] local.INFO: TCP Data received {"connection_id":144395,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:46:59] local.INFO: Processing buffer {"connection_id":144395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:46:59] local.INFO: IMEI packet received {"connection_id":144395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 23:46:59] local.INFO: IMEI acknowledgment sent {"connection_id":144395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 23:47:04] local.INFO: TCP Data received {"connection_id":144394,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144394,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:47:04] local.INFO: Processing buffer {"connection_id":144394,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:47:04] local.INFO: IMEI packet received {"connection_id":144394,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 23:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":144394,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:47:05] local.INFO: TCP Data received {"connection_id":144394,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4c96590012d196940071fee200041013126..."} 
[2026-07-27 23:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144394,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4c96590012d196940071fee200041013126..."} 
[2026-07-27 23:47:05] local.INFO: Processing buffer {"connection_id":144394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4c96590012d196940071fee200041013126..."} 
[2026-07-27 23:47:05] local.INFO: Packet analysis {"connection_id":144394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4c9"} 
[2026-07-27 23:47:05] local.INFO: Extracted packet for processing {"connection_id":144394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4c9"} 
[2026-07-27 23:47:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 23:47:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:47:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457005001984001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:47:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 23:47:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:47:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:47:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785176090000,"timestamp_ms":1785176090000,"timestamp_seconds":1785176090,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4c96590"} 
[2026-07-27 23:47:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:47:05] 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-07-27 23:47:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-27 23:47:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:47:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:47:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:47:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:47:05] local.INFO: Teltonika packet parsed successfully {"connection_id":144394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:47:05] local.INFO: Passing IMEI to GPS processor {"connection_id":144394,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:47:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":144394,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:47:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:47:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 23:47:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 23:47:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457005001984001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 23:47:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 23:47:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 23:47:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457005001984001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:47:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 23:47:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 23:47:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:47:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 23:47:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457005001984001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 23:47:05] local.INFO: DEBUG: GPS processor result {"connection_id":144394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":556061,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:47:05] local.INFO: GPS data processed {"connection_id":144394,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:47:05] local.INFO: Acknowledgment sent {"connection_id":144394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:47:05] local.INFO: TCP Data received {"connection_id":144395,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:47:05] local.INFO: Processing buffer {"connection_id":144395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:47:05] local.INFO: IMEI packet received {"connection_id":144395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 23:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":144395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:47:06] local.INFO: TCP Data received {"connection_id":144395,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4c85038012d82d740061dfc18000f012a31..."} 
[2026-07-27 23:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4c85038012d82d740061dfc18000f012a31..."} 
[2026-07-27 23:47:06] local.INFO: Processing buffer {"connection_id":144395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4c85038012d82d740061dfc18000f012a31..."} 
[2026-07-27 23:47:06] local.INFO: Packet analysis {"connection_id":144395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4c8"} 
[2026-07-27 23:47:06] local.INFO: Extracted packet for processing {"connection_id":144395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4c8"} 
[2026-07-27 23:47:06] local.INFO: GPS Element Parsed {"raw_longitude":763549504,"raw_latitude":102628376,"longitude_deg":76.3549504,"latitude_deg":10.2628376,"altitude":15,"angle":298,"satellites":49,"speed":12,"hex_longitude":"2d82d740","hex_latitude":"061dfc18","is_valid_coordinates":true} 
[2026-07-27 23:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:47:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457005055488001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:47:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359579618413379584,"note":"Value kept but may cause issues"} 
[2026-07-27 23:47:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9013743521677250560,"note":"Value kept but may cause issues"} 
[2026-07-27 23:47:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:47:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785176019000,"timestamp_ms":1785176019000,"timestamp_seconds":1785176019,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4c85038"} 
[2026-07-27 23:47:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:47:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 23:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-27 23:47:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:47:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:47:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:47:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:47:06] local.INFO: Teltonika packet parsed successfully {"connection_id":144395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:47:06] local.INFO: Passing IMEI to GPS processor {"connection_id":144395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:47:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":144395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:47:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:47:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:47:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:47:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457005055488001,"66":27213,"119":206,"79":21504,"24":12,"16":359579618413379584,"45":-9013743521677250560},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,79,24,16,45]} 
[2026-07-27 23:47:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:47:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:47:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457005055488001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:47:06] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-07-27 23:47:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-27 23:47:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359579618413379584,"km_value":359579618413379.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:47:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9013743521677250560,"description":"Unknown IO ID 45"} 
[2026-07-27 23:47:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457005055488001,"power":27213,"unknown_119":206,"unknown_79":21504,"ignition":12,"odometer":null,"unknown_45":-9013743521677250560}} 
[2026-07-27 23:47:06] local.INFO: DEBUG: GPS processor result {"connection_id":144395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":556062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:47:06] local.INFO: GPS data processed {"connection_id":144395,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:47:06] local.INFO: Acknowledgment sent {"connection_id":144395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:47:36] local.INFO: TCP Data received {"connection_id":144394,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4c96590012d196940071fee200041013126..."} 
[2026-07-27 23:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144394,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4c96590012d196940071fee200041013126..."} 
[2026-07-27 23:47:36] local.INFO: Processing buffer {"connection_id":144394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4c96590012d196940071fee200041013126..."} 
[2026-07-27 23:47:36] local.INFO: Packet analysis {"connection_id":144394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4c9"} 
[2026-07-27 23:47:36] local.INFO: Extracted packet for processing {"connection_id":144394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4c9"} 
[2026-07-27 23:47:36] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 23:47:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:47:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457005001984001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:47:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 23:47:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:47:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:47:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785176090000,"timestamp_ms":1785176090000,"timestamp_seconds":1785176090,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4c96590"} 
[2026-07-27 23:47:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:47:36] 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-07-27 23:47:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-27 23:47:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:47:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:47:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:47:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:47:36] local.INFO: Teltonika packet parsed successfully {"connection_id":144394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:47:36] local.INFO: Passing IMEI to GPS processor {"connection_id":144394,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:47:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":144394,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:47:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:47:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 23:47:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 23:47:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457005001984001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 23:47:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 23:47:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 23:47:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457005001984001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:47:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 23:47:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 23:47:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:47:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 23:47:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457005001984001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 23:47:37] local.INFO: DEBUG: GPS processor result {"connection_id":144394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":556063,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:47:37] local.INFO: GPS data processed {"connection_id":144394,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:47:37] local.INFO: Acknowledgment sent {"connection_id":144394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:47:37] local.INFO: TCP Data received {"connection_id":144395,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4c8a240012d82cc80061e01f0000f012931..."} 
[2026-07-27 23:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4c8a240012d82cc80061e01f0000f012931..."} 
[2026-07-27 23:47:37] local.INFO: Processing buffer {"connection_id":144395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4c8a240012d82cc80061e01f0000f012931..."} 
[2026-07-27 23:47:37] local.INFO: Packet analysis {"connection_id":144395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4c8"} 
[2026-07-27 23:47:37] local.INFO: Extracted packet for processing {"connection_id":144395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4c8"} 
[2026-07-27 23:47:37] local.INFO: GPS Element Parsed {"raw_longitude":763546752,"raw_latitude":102629872,"longitude_deg":76.3546752,"latitude_deg":10.2629872,"altitude":15,"angle":297,"satellites":49,"speed":0,"hex_longitude":"2d82cc80","hex_latitude":"061e01f0","is_valid_coordinates":true} 
[2026-07-27 23:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:47:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457005060864001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:47:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359579773032202240,"note":"Value kept but may cause issues"} 
[2026-07-27 23:47:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9018669333769086976,"note":"Value kept but may cause issues"} 
[2026-07-27 23:47:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:47:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785176040000,"timestamp_ms":1785176040000,"timestamp_seconds":1785176040,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4c8a240"} 
[2026-07-27 23:47:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:47:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 23:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-27 23:47:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:47:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:47:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:47:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:47:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:47:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:47:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:47:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:47:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:47:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:47:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457005060864001,"66":27245,"119":206,"79":21504,"24":0,"16":359579773032202240,"45":-9018669333769086976},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,79,24,16,45]} 
[2026-07-27 23:47:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:47:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:47:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457005060864001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:47:37] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-07-27 23:47:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-27 23:47:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359579773032202240,"km_value":359579773032202.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:47:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9018669333769086976,"description":"Unknown IO ID 45"} 
[2026-07-27 23:47:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457005060864001,"power":27245,"unknown_119":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-9018669333769086976}} 
[2026-07-27 23:47:37] local.INFO: DEBUG: GPS processor result {"connection_id":144395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":556064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:47:37] local.INFO: GPS data processed {"connection_id":144395,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:47:37] local.INFO: Acknowledgment sent {"connection_id":144395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:47:59] local.INFO: TCP Data received {"connection_id":143378,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143378,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:47:59] local.INFO: Processing buffer {"connection_id":143378,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:47:59] local.INFO: IMEI packet received {"connection_id":143378,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 23:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":143378,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 23:47:59] local.INFO: TCP Data received {"connection_id":145665,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:47:59] local.INFO: Processing buffer {"connection_id":145665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:47:59] local.INFO: IMEI packet received {"connection_id":145665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 23:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":145665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 23:48:03] local.INFO: TCP Data received {"connection_id":143378,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143378,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:48:03] local.INFO: Processing buffer {"connection_id":143378,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:48:03] local.INFO: IMEI packet received {"connection_id":143378,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 23:48:03] local.INFO: IMEI acknowledgment sent {"connection_id":143378,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:48:04] local.INFO: TCP Data received {"connection_id":143378,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4c96590012d196940071fee200041013126..."} 
[2026-07-27 23:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4c96590012d196940071fee200041013126..."} 
[2026-07-27 23:48:04] local.INFO: Processing buffer {"connection_id":143378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4c96590012d196940071fee200041013126..."} 
[2026-07-27 23:48:04] local.INFO: Packet analysis {"connection_id":143378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4c9"} 
[2026-07-27 23:48:04] local.INFO: Extracted packet for processing {"connection_id":143378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4c9"} 
[2026-07-27 23:48:04] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 23:48:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:48:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457005001984001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:48:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 23:48:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:48:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:48:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785176090000,"timestamp_ms":1785176090000,"timestamp_seconds":1785176090,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4c96590"} 
[2026-07-27 23:48:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:48:04] 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-07-27 23:48:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-27 23:48:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:48:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:48:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:48:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:48:04] local.INFO: Teltonika packet parsed successfully {"connection_id":143378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:48:04] local.INFO: Passing IMEI to GPS processor {"connection_id":143378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:48:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":143378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:48:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:48:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 23:48:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 23:48:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457005001984001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 23:48:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 23:48:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 23:48:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457005001984001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:48:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 23:48:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 23:48:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:48:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 23:48:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457005001984001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 23:48:04] local.INFO: DEBUG: GPS processor result {"connection_id":143378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":556065,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:48:04] local.INFO: GPS data processed {"connection_id":143378,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:48:04] local.INFO: Acknowledgment sent {"connection_id":143378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:48:05] local.INFO: TCP Data received {"connection_id":145665,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:48:05] local.INFO: Processing buffer {"connection_id":145665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:48:05] local.INFO: IMEI packet received {"connection_id":145665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 23:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":145665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:48:06] local.INFO: TCP Data received {"connection_id":145665,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4c8f448012d82c540061e0648000f012d31..."} 
[2026-07-27 23:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4c8f448012d82c540061e0648000f012d31..."} 
[2026-07-27 23:48:06] local.INFO: Processing buffer {"connection_id":145665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4c8f448012d82c540061e0648000f012d31..."} 
[2026-07-27 23:48:06] local.INFO: Packet analysis {"connection_id":145665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4c8"} 
[2026-07-27 23:48:06] local.INFO: Extracted packet for processing {"connection_id":145665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4c8"} 
[2026-07-27 23:48:06] local.INFO: GPS Element Parsed {"raw_longitude":763544896,"raw_latitude":102630984,"longitude_deg":76.3544896,"latitude_deg":10.2630984,"altitude":15,"angle":301,"satellites":49,"speed":12,"hex_longitude":"2d82c540","hex_latitude":"061e0648","is_valid_coordinates":true} 
[2026-07-27 23:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:48:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457005066240001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:48:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359579876111417344,"note":"Value kept but may cause issues"} 
[2026-07-27 23:48:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9021695189768343552,"note":"Value kept but may cause issues"} 
[2026-07-27 23:48:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:48:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785176061000,"timestamp_ms":1785176061000,"timestamp_seconds":1785176061,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4c8f448"} 
[2026-07-27 23:48:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:48:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 23:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-27 23:48:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:48:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:48:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:48:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:48:06] local.INFO: Teltonika packet parsed successfully {"connection_id":145665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:48:06] local.INFO: Passing IMEI to GPS processor {"connection_id":145665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:48:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":145665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:48:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:48:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:48:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:48:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457005066240001,"66":27310,"157":206,"79":21504,"24":12,"16":359579876111417344,"45":-9021695189768343552},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,79,24,16,45]} 
[2026-07-27 23:48:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:48:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:48:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457005066240001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:48:06] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-27 23:48:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-27 23:48:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359579876111417344,"km_value":359579876111417.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:48:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9021695189768343552,"description":"Unknown IO ID 45"} 
[2026-07-27 23:48:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457005066240001,"power":27310,"unknown_157":206,"unknown_79":21504,"ignition":12,"odometer":null,"unknown_45":-9021695189768343552}} 
[2026-07-27 23:48:06] local.INFO: DEBUG: GPS processor result {"connection_id":145665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":556066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:48:06] local.INFO: GPS data processed {"connection_id":145665,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:48:06] local.INFO: Acknowledgment sent {"connection_id":145665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:48:36] local.INFO: TCP Data received {"connection_id":143378,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4c96590012d196940071fee200041013126..."} 
[2026-07-27 23:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4c96590012d196940071fee200041013126..."} 
[2026-07-27 23:48:36] local.INFO: Processing buffer {"connection_id":143378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4c96590012d196940071fee200041013126..."} 
[2026-07-27 23:48:36] local.INFO: Packet analysis {"connection_id":143378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4c9"} 
[2026-07-27 23:48:36] local.INFO: Extracted packet for processing {"connection_id":143378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4c9"} 
[2026-07-27 23:48:36] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 23:48:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:48:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457005001984001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:48:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 23:48:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:48:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:48:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785176090000,"timestamp_ms":1785176090000,"timestamp_seconds":1785176090,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4c96590"} 
[2026-07-27 23:48:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:48:36] 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-07-27 23:48:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-27 23:48:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:48:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:48:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:48:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:48:36] local.INFO: Teltonika packet parsed successfully {"connection_id":143378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:48:36] local.INFO: Passing IMEI to GPS processor {"connection_id":143378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:48:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":143378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:48:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:48:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 23:48:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 23:48:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457005001984001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 23:48:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 23:48:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 23:48:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457005001984001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:48:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 23:48:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 23:48:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:48:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 23:48:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457005001984001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 23:48:36] local.INFO: DEBUG: GPS processor result {"connection_id":143378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":556067,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:48:36] local.INFO: GPS data processed {"connection_id":143378,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:48:36] local.INFO: Acknowledgment sent {"connection_id":143378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:48:37] local.INFO: TCP Data received {"connection_id":145665,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4c94650012d82bb00061e0ca00010012d31..."} 
[2026-07-27 23:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4c94650012d82bb00061e0ca00010012d31..."} 
[2026-07-27 23:48:37] local.INFO: Processing buffer {"connection_id":145665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4c94650012d82bb00061e0ca00010012d31..."} 
[2026-07-27 23:48:37] local.INFO: Packet analysis {"connection_id":145665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4c9"} 
[2026-07-27 23:48:37] local.INFO: Extracted packet for processing {"connection_id":145665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4c9"} 
[2026-07-27 23:48:37] local.INFO: GPS Element Parsed {"raw_longitude":763542272,"raw_latitude":102632608,"longitude_deg":76.3542272,"latitude_deg":10.2632608,"altitude":16,"angle":301,"satellites":49,"speed":3,"hex_longitude":"2d82bb00","hex_latitude":"061e0ca0","is_valid_coordinates":true} 
[2026-07-27 23:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457005071616001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359580026435272704,"note":"Value kept but may cause issues"} 
[2026-07-27 23:48:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9023735883349211136,"note":"Value kept but may cause issues"} 
[2026-07-27 23:48:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785176082000,"timestamp_ms":1785176082000,"timestamp_seconds":1785176082,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4c94650"} 
[2026-07-27 23:48:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:48:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 23:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-27 23:48:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:48:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:48:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:48:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457005071616001,"66":27376,"157":206,"79":21504,"24":3,"16":359580026435272704,"45":-9023735883349211136},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,79,24,16,45]} 
[2026-07-27 23:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457005071616001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:48:37] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-27 23:48:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-27 23:48:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359580026435272704,"km_value":359580026435272.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:48:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9023735883349211136,"description":"Unknown IO ID 45"} 
[2026-07-27 23:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457005071616001,"power":27376,"unknown_157":206,"unknown_79":21504,"ignition":3,"odometer":null,"unknown_45":-9023735883349211136}} 
[2026-07-27 23:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":145665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":556068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:48:37] local.INFO: GPS data processed {"connection_id":145665,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:48:37] local.INFO: Acknowledgment sent {"connection_id":145665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:48:58] local.INFO: TCP Data received {"connection_id":143379,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143379,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:48:58] local.INFO: Processing buffer {"connection_id":143379,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:48:58] local.INFO: IMEI packet received {"connection_id":143379,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 23:48:58] local.INFO: IMEI acknowledgment sent {"connection_id":143379,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 23:49:00] local.INFO: TCP Data received {"connection_id":143231,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:49:00] local.INFO: Processing buffer {"connection_id":143231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:49:00] local.INFO: IMEI packet received {"connection_id":143231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 23:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":143231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 23:49:04] local.INFO: TCP Data received {"connection_id":143379,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143379,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:49:04] local.INFO: Processing buffer {"connection_id":143379,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:49:04] local.INFO: IMEI packet received {"connection_id":143379,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 23:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":143379,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:49:05] local.INFO: TCP Data received {"connection_id":143379,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4c96590012d196940071fee200041013126..."} 
[2026-07-27 23:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4c96590012d196940071fee200041013126..."} 
[2026-07-27 23:49:05] local.INFO: Processing buffer {"connection_id":143379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4c96590012d196940071fee200041013126..."} 
[2026-07-27 23:49:05] local.INFO: Packet analysis {"connection_id":143379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4c9"} 
[2026-07-27 23:49:05] local.INFO: Extracted packet for processing {"connection_id":143379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4c9"} 
[2026-07-27 23:49:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 23:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:49:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457005001984001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:49:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 23:49:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:49:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:49:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785176090000,"timestamp_ms":1785176090000,"timestamp_seconds":1785176090,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4c96590"} 
[2026-07-27 23:49:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:49:05] 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-07-27 23:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-27 23:49:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:49:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:49:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:49:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:49:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:49:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143379,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:49:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143379,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:49:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:49:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 23:49:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 23:49:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457005001984001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 23:49:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 23:49:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 23:49:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457005001984001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:49:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 23:49:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 23:49:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:49:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 23:49:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457005001984001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 23:49:05] local.INFO: DEBUG: GPS processor result {"connection_id":143379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":556069,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:49:05] local.INFO: GPS data processed {"connection_id":143379,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:49:05] local.INFO: Acknowledgment sent {"connection_id":143379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:49:05] local.INFO: TCP Data received {"connection_id":143231,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:49:05] local.INFO: Processing buffer {"connection_id":143231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:49:05] local.INFO: IMEI packet received {"connection_id":143231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 23:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":143231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:49:10] local.INFO: TCP Data received {"connection_id":143231,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:49:10] local.INFO: Processing buffer {"connection_id":143231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:49:10] local.INFO: IMEI packet received {"connection_id":143231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 23:49:10] local.INFO: IMEI acknowledgment sent {"connection_id":143231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:49:10] local.INFO: TCP Data received {"connection_id":143231,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4c99858012d82ac00061e16280011013030..."} 
[2026-07-27 23:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4c99858012d82ac00061e16280011013030..."} 
[2026-07-27 23:49:10] local.INFO: Processing buffer {"connection_id":143231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4c99858012d82ac00061e16280011013030..."} 
[2026-07-27 23:49:10] local.INFO: Packet analysis {"connection_id":143231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4c9"} 
[2026-07-27 23:49:10] local.INFO: Extracted packet for processing {"connection_id":143231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4c9"} 
[2026-07-27 23:49:10] local.INFO: GPS Element Parsed {"raw_longitude":763538432,"raw_latitude":102635048,"longitude_deg":76.3538432,"latitude_deg":10.2635048,"altitude":17,"angle":304,"satellites":48,"speed":7,"hex_longitude":"2d82ac00","hex_latitude":"061e1628","is_valid_coordinates":true} 
[2026-07-27 23:49:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:49:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457005076992001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:49:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359580245478604800,"note":"Value kept but may cause issues"} 
[2026-07-27 23:49:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9026621001860079616,"note":"Value kept but may cause issues"} 
[2026-07-27 23:49:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:49:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785176103000,"timestamp_ms":1785176103000,"timestamp_seconds":1785176103,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4c99858"} 
[2026-07-27 23:49:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:49:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 23: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-27 23:49:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:49:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:49:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:49:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:49:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:49:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:49:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:49: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-07-27 23:49:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:49:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:49:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457005076992001,"66":27517,"157":206,"79":21504,"24":7,"16":359580245478604800,"45":-9026621001860079616},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,79,24,16,45]} 
[2026-07-27 23:49:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:49:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:49:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457005076992001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:49:10] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-27 23:49:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-27 23:49:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359580245478604800,"km_value":359580245478604.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:49:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9026621001860079616,"description":"Unknown IO ID 45"} 
[2026-07-27 23:49:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457005076992001,"power":27517,"unknown_157":206,"unknown_79":21504,"ignition":7,"odometer":null,"unknown_45":-9026621001860079616}} 
[2026-07-27 23:49:10] local.INFO: DEBUG: GPS processor result {"connection_id":143231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":556070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:49:10] local.INFO: GPS data processed {"connection_id":143231,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:49:10] local.INFO: Acknowledgment sent {"connection_id":143231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:49:37] local.INFO: TCP Data received {"connection_id":143379,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4c96590012d196940071fee200041013126..."} 
[2026-07-27 23:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4c96590012d196940071fee200041013126..."} 
[2026-07-27 23:49:37] local.INFO: Processing buffer {"connection_id":143379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4c96590012d196940071fee200041013126..."} 
[2026-07-27 23:49:37] local.INFO: Packet analysis {"connection_id":143379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4c9"} 
[2026-07-27 23:49:37] local.INFO: Extracted packet for processing {"connection_id":143379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4c9"} 
[2026-07-27 23:49:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 23:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:49:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457005001984001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:49:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 23:49:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:49:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:49:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785176090000,"timestamp_ms":1785176090000,"timestamp_seconds":1785176090,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4c96590"} 
[2026-07-27 23:49:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:49:37] 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-07-27 23:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-27 23:49:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:49:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:49:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:49:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:49:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:49:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143379,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:49:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143379,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:49:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:49:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 23:49:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 23:49:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457005001984001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 23:49:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 23:49:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 23:49:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457005001984001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:49:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 23:49:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 23:49:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:49:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 23:49:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457005001984001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 23:49:37] local.INFO: DEBUG: GPS processor result {"connection_id":143379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":556071,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:49:37] local.INFO: GPS data processed {"connection_id":143379,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:49:37] local.INFO: Acknowledgment sent {"connection_id":143379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:49:41] local.INFO: TCP Data received {"connection_id":143231,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4ccd860012d822540061e9d38001a013d2f..."} 
[2026-07-27 23:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4ccd860012d822540061e9d38001a013d2f..."} 
[2026-07-27 23:49:41] local.INFO: Processing buffer {"connection_id":143231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4ccd860012d822540061e9d38001a013d2f..."} 
[2026-07-27 23:49:41] local.INFO: Packet analysis {"connection_id":143231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4cc"} 
[2026-07-27 23:49:41] local.INFO: Extracted packet for processing {"connection_id":143231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4cc"} 
[2026-07-27 23:49:41] local.INFO: GPS Element Parsed {"raw_longitude":763503936,"raw_latitude":102669624,"longitude_deg":76.3503936,"latitude_deg":10.2669624,"altitude":26,"angle":317,"satellites":47,"speed":23,"hex_longitude":"2d822540","hex_latitude":"061e9d38","is_valid_coordinates":true} 
[2026-07-27 23: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-07-27 23:49:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457005131776001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:49:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359582624890486784,"note":"Value kept but may cause issues"} 
[2026-07-27 23:49:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9062016480173778944,"note":"Value kept but may cause issues"} 
[2026-07-27 23:49:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:49:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785176316000,"timestamp_ms":1785176316000,"timestamp_seconds":1785176316,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4ccd860"} 
[2026-07-27 23:49:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:49:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 23: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-27 23:49:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23: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-07-27 23:49:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:49:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:49:41] local.INFO: Teltonika packet parsed successfully {"connection_id":143231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:49:41] local.INFO: Passing IMEI to GPS processor {"connection_id":143231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:49:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":143231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:49: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-07-27 23:49:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:49:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:49:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457005131776001,"66":27332,"157":206,"79":21504,"24":23,"16":359582624890486784,"45":-9062016480173778944},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,79,24,16,45]} 
[2026-07-27 23:49:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:49:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:49:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457005131776001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:49:41] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-27 23:49:41] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-27 23:49:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359582624890486784,"km_value":359582624890486.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:49:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9062016480173778944,"description":"Unknown IO ID 45"} 
[2026-07-27 23:49:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457005131776001,"power":27332,"unknown_157":206,"unknown_79":21504,"ignition":23,"odometer":null,"unknown_45":-9062016480173778944}} 
[2026-07-27 23:49:41] local.INFO: DEBUG: GPS processor result {"connection_id":143231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":556072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:49:41] local.INFO: GPS data processed {"connection_id":143231,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:49:41] local.INFO: Acknowledgment sent {"connection_id":143231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:49:58] local.INFO: TCP Data received {"connection_id":144396,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144396,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:49:58] local.INFO: Processing buffer {"connection_id":144396,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:49:58] local.INFO: IMEI packet received {"connection_id":144396,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 23:49:58] local.INFO: IMEI acknowledgment sent {"connection_id":144396,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 23:50:04] local.INFO: TCP Data received {"connection_id":144396,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144396,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:50:04] local.INFO: Processing buffer {"connection_id":144396,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:50:04] local.INFO: IMEI packet received {"connection_id":144396,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 23:50:04] local.INFO: IMEI acknowledgment sent {"connection_id":144396,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:50:05] local.INFO: TCP Data received {"connection_id":144396,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4c96590012d196940071fee200041013126..."} 
[2026-07-27 23:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144396,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4c96590012d196940071fee200041013126..."} 
[2026-07-27 23:50:05] local.INFO: Processing buffer {"connection_id":144396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4c96590012d196940071fee200041013126..."} 
[2026-07-27 23:50:05] local.INFO: Packet analysis {"connection_id":144396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4c9"} 
[2026-07-27 23:50:05] local.INFO: Extracted packet for processing {"connection_id":144396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4c9"} 
[2026-07-27 23:50:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 23:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:50:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457005001984001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:50:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 23:50:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:50:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:50:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785176090000,"timestamp_ms":1785176090000,"timestamp_seconds":1785176090,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4c96590"} 
[2026-07-27 23:50:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:50:05] 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-07-27 23:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-27 23:50:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:50:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:50:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:50:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:50:05] local.INFO: Teltonika packet parsed successfully {"connection_id":144396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:50:05] local.INFO: Passing IMEI to GPS processor {"connection_id":144396,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:50:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":144396,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:50:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:50:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 23:50:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 23:50:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457005001984001,"66":2166,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 23:50:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 23:50:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 23:50:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457005001984001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:50:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 23:50:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 23:50:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:50:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 23:50:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457005001984001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 23:50:05] local.INFO: DEBUG: GPS processor result {"connection_id":144396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":556073,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:50:05] local.INFO: GPS data processed {"connection_id":144396,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:50:05] local.INFO: Acknowledgment sent {"connection_id":144396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:50:05] local.INFO: TCP Data received {"connection_id":145666,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:50:05] local.INFO: Processing buffer {"connection_id":145666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:50:05] local.INFO: IMEI packet received {"connection_id":145666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 23:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":145666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 23:50:10] local.INFO: TCP Data received {"connection_id":145666,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:50:10] local.INFO: Processing buffer {"connection_id":145666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:50:10] local.INFO: IMEI packet received {"connection_id":145666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 23:50:10] local.INFO: IMEI acknowledgment sent {"connection_id":145666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:50:11] local.INFO: TCP Data received {"connection_id":145666,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4cd2a68012d820cc0061eb7b8001b013d2f..."} 
[2026-07-27 23:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4cd2a68012d820cc0061eb7b8001b013d2f..."} 
[2026-07-27 23:50:11] local.INFO: Processing buffer {"connection_id":145666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4cd2a68012d820cc0061eb7b8001b013d2f..."} 
[2026-07-27 23:50:11] local.INFO: Packet analysis {"connection_id":145666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4cd"} 
[2026-07-27 23:50:11] local.INFO: Extracted packet for processing {"connection_id":145666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4cd"} 
[2026-07-27 23:50:11] local.INFO: GPS Element Parsed {"raw_longitude":763497664,"raw_latitude":102676408,"longitude_deg":76.3497664,"latitude_deg":10.2676408,"altitude":27,"angle":317,"satellites":47,"speed":13,"hex_longitude":"2d820cc0","hex_latitude":"061eb7b8","is_valid_coordinates":true} 
[2026-07-27 23: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-07-27 23:50:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457005136896001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:50:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359583071567085568,"note":"Value kept but may cause issues"} 
[2026-07-27 23:50:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9068771879613024256,"note":"Value kept but may cause issues"} 
[2026-07-27 23:50:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:50:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785176337000,"timestamp_ms":1785176337000,"timestamp_seconds":1785176337,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4cd2a68"} 
[2026-07-27 23:50:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:50:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 23: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-27 23:50:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23: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-07-27 23:50:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:50:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:50:11] local.INFO: Teltonika packet parsed successfully {"connection_id":145666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:50:11] local.INFO: Passing IMEI to GPS processor {"connection_id":145666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:50:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":145666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:50: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-07-27 23:50:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:50:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:50:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457005136896001,"66":27267,"157":206,"79":21504,"24":13,"16":359583071567085568,"45":-9068771879613024256},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,79,24,16,45]} 
[2026-07-27 23:50:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:50:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:50:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457005136896001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:50:11] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-27 23:50:11] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-27 23:50:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359583071567085568,"km_value":359583071567085.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:50:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9068771879613024256,"description":"Unknown IO ID 45"} 
[2026-07-27 23:50:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457005136896001,"power":27267,"unknown_157":206,"unknown_79":21504,"ignition":13,"odometer":null,"unknown_45":-9068771879613024256}} 
[2026-07-27 23:50:11] local.INFO: DEBUG: GPS processor result {"connection_id":145666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":556074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:50:11] local.INFO: GPS data processed {"connection_id":145666,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:50:11] local.INFO: Acknowledgment sent {"connection_id":145666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:50:37] local.INFO: TCP Data received {"connection_id":144396,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4cdfd58012d196940071fee200041013128..."} 
[2026-07-27 23:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144396,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4cdfd58012d196940071fee200041013128..."} 
[2026-07-27 23:50:37] local.INFO: Processing buffer {"connection_id":144396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4cdfd58012d196940071fee200041013128..."} 
[2026-07-27 23:50:37] local.INFO: Packet analysis {"connection_id":144396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4cd"} 
[2026-07-27 23:50:37] local.INFO: Extracted packet for processing {"connection_id":144396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4cd"} 
[2026-07-27 23:50:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 23:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:50:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457005079040001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:50:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 23:50:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:50:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:50:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785176391000,"timestamp_ms":1785176391000,"timestamp_seconds":1785176391,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4cdfd58"} 
[2026-07-27 23:50:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:50:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 23:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 23:50:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:50:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:50:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:50:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:50:37] local.INFO: Teltonika packet parsed successfully {"connection_id":144396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:50:37] local.INFO: Passing IMEI to GPS processor {"connection_id":144396,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:50:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":144396,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:50:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:50:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 23:50:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 23:50:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457005079040001,"66":2177,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 23:50:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 23:50:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 23:50:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457005079040001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:50:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 23:50:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 23:50:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:50:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 23:50:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457005079040001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 23:50:37] local.INFO: DEBUG: GPS processor result {"connection_id":144396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":556075,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:50:37] local.INFO: GPS data processed {"connection_id":144396,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:50:37] local.INFO: Acknowledgment sent {"connection_id":144396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:50:42] local.INFO: TCP Data received {"connection_id":145666,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4cd2a68012d820cc0061eb7b8001b013d2f..."} 
[2026-07-27 23:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4cd2a68012d820cc0061eb7b8001b013d2f..."} 
[2026-07-27 23:50:42] local.INFO: Processing buffer {"connection_id":145666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4cd2a68012d820cc0061eb7b8001b013d2f..."} 
[2026-07-27 23:50:42] local.INFO: Packet analysis {"connection_id":145666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4cd"} 
[2026-07-27 23:50:42] local.INFO: Extracted packet for processing {"connection_id":145666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4cd"} 
[2026-07-27 23:50:42] local.INFO: GPS Element Parsed {"raw_longitude":763497664,"raw_latitude":102676408,"longitude_deg":76.3497664,"latitude_deg":10.2676408,"altitude":27,"angle":317,"satellites":47,"speed":13,"hex_longitude":"2d820cc0","hex_latitude":"061eb7b8","is_valid_coordinates":true} 
[2026-07-27 23: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-07-27 23:50:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457005142272001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:50:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359583071567085568,"note":"Value kept but may cause issues"} 
[2026-07-27 23:50:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9075668016540698624,"note":"Value kept but may cause issues"} 
[2026-07-27 23:50:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:50:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785176337000,"timestamp_ms":1785176337000,"timestamp_seconds":1785176337,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4cd2a68"} 
[2026-07-27 23:50:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:50:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 23: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-27 23:50:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23: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-07-27 23:50:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:50:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:50:42] local.INFO: Teltonika packet parsed successfully {"connection_id":145666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:50:42] local.INFO: Passing IMEI to GPS processor {"connection_id":145666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:50:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":145666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:50: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-07-27 23:50:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:50:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:50:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457005142272001,"66":27267,"157":206,"79":21504,"24":13,"16":359583071567085568,"45":-9075668016540698624},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,79,24,16,45]} 
[2026-07-27 23:50:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:50:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:50:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457005142272001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:50:42] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-27 23:50:42] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-27 23:50:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359583071567085568,"km_value":359583071567085.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:50:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9075668016540698624,"description":"Unknown IO ID 45"} 
[2026-07-27 23:50:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457005142272001,"power":27267,"unknown_157":206,"unknown_79":21504,"ignition":13,"odometer":null,"unknown_45":-9075668016540698624}} 
[2026-07-27 23:50:42] local.INFO: DEBUG: GPS processor result {"connection_id":145666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":556076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:50:42] local.INFO: GPS data processed {"connection_id":145666,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:50:42] local.INFO: Acknowledgment sent {"connection_id":145666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:51:04] local.INFO: TCP Data received {"connection_id":143232,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143232,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:51:04] local.INFO: Processing buffer {"connection_id":143232,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:51:04] local.INFO: IMEI packet received {"connection_id":143232,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 23:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":143232,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 23:51:05] local.INFO: TCP Data received {"connection_id":143380,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:51:05] local.INFO: Processing buffer {"connection_id":143380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:51:05] local.INFO: IMEI packet received {"connection_id":143380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 23:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":143380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 23:51:09] local.INFO: TCP Data received {"connection_id":143232,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143232,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:51:09] local.INFO: Processing buffer {"connection_id":143232,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:51:09] local.INFO: IMEI packet received {"connection_id":143232,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 23:51:09] local.INFO: IMEI acknowledgment sent {"connection_id":143232,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:51:10] local.INFO: TCP Data received {"connection_id":143380,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:51:10] local.INFO: TCP Data received {"connection_id":143232,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4cdfd58012d196940071fee200041013128..."} 
[2026-07-27 23:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:51:10] local.INFO: Processing buffer {"connection_id":143380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:51:10] local.INFO: IMEI packet received {"connection_id":143380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 23:51:10] local.INFO: IMEI acknowledgment sent {"connection_id":143380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4cdfd58012d196940071fee200041013128..."} 
[2026-07-27 23:51:10] local.INFO: Processing buffer {"connection_id":143232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4cdfd58012d196940071fee200041013128..."} 
[2026-07-27 23:51:10] local.INFO: Packet analysis {"connection_id":143232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4cd"} 
[2026-07-27 23:51:10] local.INFO: Extracted packet for processing {"connection_id":143232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4cd"} 
[2026-07-27 23:51:10] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 23:51:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:51:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457005079040001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:51:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 23:51:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:51:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:51:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785176391000,"timestamp_ms":1785176391000,"timestamp_seconds":1785176391,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4cdfd58"} 
[2026-07-27 23:51:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:51:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 23:51:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:51:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:51:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:51:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:51:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:51:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143232,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:51:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143232,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:51:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:51:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 23:51:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 23:51:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457005079040001,"66":2177,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 23:51:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 23:51:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 23:51:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457005079040001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:51:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 23:51:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 23:51:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:51:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 23:51:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457005079040001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 23:51:10] local.INFO: DEBUG: GPS processor result {"connection_id":143232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":556077,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:51:10] local.INFO: GPS data processed {"connection_id":143232,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:51:10] local.INFO: Acknowledgment sent {"connection_id":143232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:51:11] local.INFO: TCP Data received {"connection_id":143380,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4cd7c70012d81fec0061ec780001b013f2f..."} 
[2026-07-27 23:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4cd7c70012d81fec0061ec780001b013f2f..."} 
[2026-07-27 23:51:11] local.INFO: Processing buffer {"connection_id":143380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4cd7c70012d81fec0061ec780001b013f2f..."} 
[2026-07-27 23:51:11] local.INFO: Packet analysis {"connection_id":143380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4cd"} 
[2026-07-27 23:51:11] local.INFO: Extracted packet for processing {"connection_id":143380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4cd"} 
[2026-07-27 23:51:11] local.INFO: GPS Element Parsed {"raw_longitude":763494080,"raw_latitude":102680448,"longitude_deg":76.349408,"latitude_deg":10.2680448,"altitude":27,"angle":319,"satellites":47,"speed":8,"hex_longitude":"2d81fec0","hex_latitude":"061ec780","is_valid_coordinates":true} 
[2026-07-27 23:51:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:51:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457005142272001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:51:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359583333560090624,"note":"Value kept but may cause issues"} 
[2026-07-27 23:51:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9075668016540698624,"note":"Value kept but may cause issues"} 
[2026-07-27 23:51:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:51:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785176358000,"timestamp_ms":1785176358000,"timestamp_seconds":1785176358,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4cd7c70"} 
[2026-07-27 23:51:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:51:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 23:51:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-27 23:51:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:51:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:51:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:51:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:51:11] local.INFO: Teltonika packet parsed successfully {"connection_id":143380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:51:11] local.INFO: Passing IMEI to GPS processor {"connection_id":143380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:51:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":143380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:51: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-07-27 23:51:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:51:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:51:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457005142272001,"66":27300,"157":206,"79":21504,"24":8,"16":359583333560090624,"45":-9075668016540698624},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,79,24,16,45]} 
[2026-07-27 23:51:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:51:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:51:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457005142272001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:51:11] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-27 23:51:11] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-27 23:51:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359583333560090624,"km_value":359583333560090.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:51:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9075668016540698624,"description":"Unknown IO ID 45"} 
[2026-07-27 23:51:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457005142272001,"power":27300,"unknown_157":206,"unknown_79":21504,"ignition":8,"odometer":null,"unknown_45":-9075668016540698624}} 
[2026-07-27 23:51:11] local.INFO: DEBUG: GPS processor result {"connection_id":143380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":556078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:51:11] local.INFO: GPS data processed {"connection_id":143380,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:51:11] local.INFO: Acknowledgment sent {"connection_id":143380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:51:12] local.INFO: TCP Data received {"connection_id":143380,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4cdce78012d81e9c0061ee258001c01452f..."} 
[2026-07-27 23:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4cdce78012d81e9c0061ee258001c01452f..."} 
[2026-07-27 23:51:12] local.INFO: Processing buffer {"connection_id":143380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4cdce78012d81e9c0061ee258001c01452f..."} 
[2026-07-27 23:51:12] local.INFO: Packet analysis {"connection_id":143380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4cd"} 
[2026-07-27 23:51:12] local.INFO: Extracted packet for processing {"connection_id":143380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4cd"} 
[2026-07-27 23:51:12] local.INFO: GPS Element Parsed {"raw_longitude":763488704,"raw_latitude":102687320,"longitude_deg":76.3488704,"latitude_deg":10.268732,"altitude":28,"angle":325,"satellites":47,"speed":17,"hex_longitude":"2d81e9c0","hex_latitude":"061ee258","is_valid_coordinates":true} 
[2026-07-27 23:51:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:51:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457005147648001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:51:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359583754466885632,"note":"Value kept but may cause issues"} 
[2026-07-27 23:51:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9079608666213613568,"note":"Value kept but may cause issues"} 
[2026-07-27 23:51:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:51:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785176379000,"timestamp_ms":1785176379000,"timestamp_seconds":1785176379,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4cdce78"} 
[2026-07-27 23:51:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:51:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 23:51:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-27 23:51:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:51:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:51:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:51:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:51:12] local.INFO: Teltonika packet parsed successfully {"connection_id":143380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:51:12] local.INFO: Passing IMEI to GPS processor {"connection_id":143380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:51:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":143380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:51: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-07-27 23:51:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:51:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:51:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457005147648001,"66":27267,"159":206,"79":21504,"24":17,"16":359583754466885632,"45":-9079608666213613568},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,79,24,16,45]} 
[2026-07-27 23:51:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:51:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:51:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457005147648001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:51:12] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-07-27 23:51:12] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-27 23:51:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359583754466885632,"km_value":359583754466885.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:51:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9079608666213613568,"description":"Unknown IO ID 45"} 
[2026-07-27 23:51:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457005147648001,"power":27267,"unknown_159":206,"unknown_79":21504,"ignition":17,"odometer":null,"unknown_45":-9079608666213613568}} 
[2026-07-27 23:51:12] local.INFO: DEBUG: GPS processor result {"connection_id":143380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":556079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:51:12] local.INFO: GPS data processed {"connection_id":143380,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:51:12] local.INFO: Acknowledgment sent {"connection_id":143380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:51:14] local.INFO: TCP Data received {"connection_id":143232,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4cdfd58012d196940071fee200041013128..."} 
[2026-07-27 23:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4cdfd58012d196940071fee200041013128..."} 
[2026-07-27 23:51:14] local.INFO: Processing buffer {"connection_id":143232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4cdfd58012d196940071fee200041013128..."} 
[2026-07-27 23:51:14] local.INFO: Packet analysis {"connection_id":143232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4cd"} 
[2026-07-27 23:51:14] local.INFO: Extracted packet for processing {"connection_id":143232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4cd"} 
[2026-07-27 23:51:14] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 23: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-07-27 23:51:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457005079040001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:51:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 23:51:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:51:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:51:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785176391000,"timestamp_ms":1785176391000,"timestamp_seconds":1785176391,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4cdfd58"} 
[2026-07-27 23:51:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:51:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 23:51:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 23:51:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23: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-07-27 23:51:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:51:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:51:14] local.INFO: Teltonika packet parsed successfully {"connection_id":143232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:51:14] local.INFO: Passing IMEI to GPS processor {"connection_id":143232,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:51:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":143232,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:51:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:51:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 23:51:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 23:51:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457005079040001,"66":2177,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 23:51:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 23:51:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 23:51:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457005079040001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:51:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 23:51:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 23:51:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:51:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 23:51:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457005079040001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 23:51:14] local.INFO: DEBUG: GPS processor result {"connection_id":143232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":556080,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:51:14] local.INFO: GPS data processed {"connection_id":143232,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:51:14] local.INFO: Acknowledgment sent {"connection_id":143232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:51:43] local.INFO: TCP Data received {"connection_id":143380,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4ce0910012d81dc80061ef9b8001c01502b..."} 
[2026-07-27 23:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4ce0910012d81dc80061ef9b8001c01502b..."} 
[2026-07-27 23:51:43] local.INFO: Processing buffer {"connection_id":143380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4ce0910012d81dc80061ef9b8001c01502b..."} 
[2026-07-27 23:51:43] local.INFO: Packet analysis {"connection_id":143380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4ce"} 
[2026-07-27 23:51:43] local.INFO: Extracted packet for processing {"connection_id":143380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4ce"} 
[2026-07-27 23:51:43] local.INFO: GPS Element Parsed {"raw_longitude":763485312,"raw_latitude":102693304,"longitude_deg":76.3485312,"latitude_deg":10.2693304,"altitude":28,"angle":336,"satellites":43,"speed":22,"hex_longitude":"2d81dc80","hex_latitude":"061ef9b8","is_valid_coordinates":true} 
[2026-07-27 23: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-07-27 23:51:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457005153024001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:51:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359584089474334720,"note":"Value kept but may cause issues"} 
[2026-07-27 23:51:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9085519640722778112,"note":"Value kept but may cause issues"} 
[2026-07-27 23:51:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:51:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785176394000,"timestamp_ms":1785176394000,"timestamp_seconds":1785176394,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4ce0910"} 
[2026-07-27 23:51:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:51:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 23: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-27 23:51:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23: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-07-27 23:51:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:51:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:51:43] local.INFO: Teltonika packet parsed successfully {"connection_id":143380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:51:43] local.INFO: Passing IMEI to GPS processor {"connection_id":143380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:51:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":143380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:51:43] 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-07-27 23:51:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:51:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:51:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457005153024001,"66":27376,"159":206,"79":21504,"24":22,"16":359584089474334720,"45":-9085519640722778112},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,79,24,16,45]} 
[2026-07-27 23:51:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:51:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:51:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457005153024001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:51:43] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-07-27 23:51:43] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-27 23:51:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359584089474334720,"km_value":359584089474334.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:51:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9085519640722778112,"description":"Unknown IO ID 45"} 
[2026-07-27 23:51:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457005153024001,"power":27376,"unknown_159":206,"unknown_79":21504,"ignition":22,"odometer":null,"unknown_45":-9085519640722778112}} 
[2026-07-27 23:51:43] local.INFO: DEBUG: GPS processor result {"connection_id":143380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":556081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:51:43] local.INFO: GPS data processed {"connection_id":143380,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:51:43] local.INFO: Acknowledgment sent {"connection_id":143380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:51:59] local.INFO: TCP Data received {"connection_id":145667,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:51:59] local.INFO: Processing buffer {"connection_id":145667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:51:59] local.INFO: IMEI packet received {"connection_id":145667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 23:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":145667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 23:51:59] local.INFO: TCP Data received {"connection_id":144397,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144397,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:51:59] local.INFO: Processing buffer {"connection_id":144397,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:51:59] local.INFO: IMEI packet received {"connection_id":144397,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 23:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":144397,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 23:52:00] local.INFO: TCP Data received {"connection_id":145667,"ip":"42.109.136.6","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-27 23:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145667,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-27 23:52:00] local.INFO: Processing buffer {"connection_id":145667,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-27 23:52:00] local.INFO: IMEI packet received {"connection_id":145667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 23:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":145667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:52:04] local.INFO: TCP Data received {"connection_id":144397,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144397,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:52:04] local.INFO: Processing buffer {"connection_id":144397,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:52:04] local.INFO: IMEI packet received {"connection_id":144397,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 23:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":144397,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:52:05] local.INFO: TCP Data received {"connection_id":144397,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4cdfd58012d196940071fee200041013128..."} 
[2026-07-27 23:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144397,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4cdfd58012d196940071fee200041013128..."} 
[2026-07-27 23:52:05] local.INFO: Processing buffer {"connection_id":144397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4cdfd58012d196940071fee200041013128..."} 
[2026-07-27 23:52:05] local.INFO: Packet analysis {"connection_id":144397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4cd"} 
[2026-07-27 23:52:05] local.INFO: Extracted packet for processing {"connection_id":144397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4cd"} 
[2026-07-27 23:52:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 23:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:52:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457005079040001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:52:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 23:52:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:52:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:52:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785176391000,"timestamp_ms":1785176391000,"timestamp_seconds":1785176391,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4cdfd58"} 
[2026-07-27 23:52:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:52:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 23:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 23:52:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:52:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:52:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:52:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:52:05] local.INFO: Teltonika packet parsed successfully {"connection_id":144397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:52:05] local.INFO: Passing IMEI to GPS processor {"connection_id":144397,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:52:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":144397,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:52:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:52:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 23:52:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 23:52:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457005079040001,"66":2177,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 23:52:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 23:52:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 23:52:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457005079040001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:52:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 23:52:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 23:52:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:52:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 23:52:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457005079040001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 23:52:05] local.INFO: TCP Data received {"connection_id":145667,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:52:05] local.INFO: Processing buffer {"connection_id":145667,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-27 23:52:05] local.INFO: IMEI packet received {"connection_id":145667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 23:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":145667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:52:05] local.INFO: DEBUG: GPS processor result {"connection_id":144397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":556082,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:52:05] local.INFO: GPS data processed {"connection_id":144397,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:52:05] local.INFO: Acknowledgment sent {"connection_id":144397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:52:09] local.INFO: TCP Data received {"connection_id":144397,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4cdfd58012d196940071fee200041013128..."} 
[2026-07-27 23:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144397,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4cdfd58012d196940071fee200041013128..."} 
[2026-07-27 23:52:09] local.INFO: Processing buffer {"connection_id":144397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4cdfd58012d196940071fee200041013128..."} 
[2026-07-27 23:52:09] local.INFO: Packet analysis {"connection_id":144397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4cd"} 
[2026-07-27 23:52:09] local.INFO: Extracted packet for processing {"connection_id":144397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4cd"} 
[2026-07-27 23:52:09] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 23:52:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:52:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457005079040001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:52:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 23:52:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:52:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:52:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785176391000,"timestamp_ms":1785176391000,"timestamp_seconds":1785176391,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4cdfd58"} 
[2026-07-27 23:52:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:52:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 23:52:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:52:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:52:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:52:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:52:09] local.INFO: Teltonika packet parsed successfully {"connection_id":144397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:52:09] local.INFO: Passing IMEI to GPS processor {"connection_id":144397,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:52:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":144397,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:52:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:52:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 23:52:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 23:52:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457005079040001,"66":2177,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 23:52:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 23:52:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 23:52:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457005079040001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:52:09] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 23:52:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 23:52:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:52:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 23:52:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457005079040001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 23:52:09] local.INFO: DEBUG: GPS processor result {"connection_id":144397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":556083,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:52:09] local.INFO: GPS data processed {"connection_id":144397,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:52:09] local.INFO: Acknowledgment sent {"connection_id":144397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:52:11] local.INFO: TCP Data received {"connection_id":145667,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4ce43a8012d81ce00061f1a70001d015128..."} 
[2026-07-27 23:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4ce43a8012d81ce00061f1a70001d015128..."} 
[2026-07-27 23:52:11] local.INFO: Processing buffer {"connection_id":145667,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019fa4..."} 
[2026-07-27 23:52:11] local.INFO: IMEI packet received {"connection_id":145667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 23:52:11] local.INFO: IMEI acknowledgment sent {"connection_id":145667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:52:12] local.INFO: TCP Data received {"connection_id":145667,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4ce7288012d81c040061f3d18001b01532f..."} 
[2026-07-27 23:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4ce7288012d81c040061f3d18001b01532f..."} 
[2026-07-27 23:52:12] local.INFO: Processing buffer {"connection_id":145667,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019fa4ce43a8012d81ce00061f1a70001d015128..."} 
[2026-07-27 23:52:12] local.INFO: Packet analysis {"connection_id":145667,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fa4ce"} 
[2026-07-27 23:52:12] local.INFO: Extracted packet for processing {"connection_id":145667,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4ce"} 
[2026-07-27 23:52:12] local.INFO: GPS Element Parsed {"raw_longitude":763481600,"raw_latitude":102701680,"longitude_deg":76.34816,"latitude_deg":10.270168,"altitude":29,"angle":337,"satellites":40,"speed":28,"hex_longitude":"2d81ce00","hex_latitude":"061f1a70","is_valid_coordinates":true} 
[2026-07-27 23:52:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:52:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457005156864001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:52:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359584531855966208,"note":"Value kept but may cause issues"} 
[2026-07-27 23:52:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9089249184162662400,"note":"Value kept but may cause issues"} 
[2026-07-27 23:52:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:52:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785176409000,"timestamp_ms":1785176409000,"timestamp_seconds":1785176409,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4ce43a8"} 
[2026-07-27 23:52:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:52:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 23:52:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-27 23:52:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:52:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:52:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:52:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:52:12] local.INFO: Teltonika packet parsed successfully {"connection_id":145667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:52:12] local.INFO: Passing IMEI to GPS processor {"connection_id":145667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:52:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":145667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:52: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-07-27 23:52:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:52:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:52:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457005156864001,"66":27376,"159":206,"79":21504,"24":28,"16":359584531855966208,"45":-9089249184162662400},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,79,24,16,45]} 
[2026-07-27 23:52:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:52:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:52:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457005156864001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:52:12] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-07-27 23:52:12] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-27 23:52:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359584531855966208,"km_value":359584531855966.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:52:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9089249184162662400,"description":"Unknown IO ID 45"} 
[2026-07-27 23:52:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457005156864001,"power":27376,"unknown_159":206,"unknown_79":21504,"ignition":28,"odometer":null,"unknown_45":-9089249184162662400}} 
[2026-07-27 23:52:13] local.INFO: DEBUG: GPS processor result {"connection_id":145667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":556084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:52:13] local.INFO: GPS data processed {"connection_id":145667,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:52:13] local.INFO: Acknowledgment sent {"connection_id":145667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:52:13] local.INFO: Packet analysis {"connection_id":145667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4ce"} 
[2026-07-27 23:52:13] local.INFO: Extracted packet for processing {"connection_id":145667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4ce"} 
[2026-07-27 23:52:13] local.INFO: GPS Element Parsed {"raw_longitude":763478080,"raw_latitude":102710552,"longitude_deg":76.347808,"latitude_deg":10.2710552,"altitude":27,"angle":339,"satellites":47,"speed":29,"hex_longitude":"2d81c040","hex_latitude":"061f3d18","is_valid_coordinates":true} 
[2026-07-27 23:52:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:52:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457005160704001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:52:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359584995712434176,"note":"Value kept but may cause issues"} 
[2026-07-27 23:52:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9093330571322822656,"note":"Value kept but may cause issues"} 
[2026-07-27 23:52:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:52:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785176421000,"timestamp_ms":1785176421000,"timestamp_seconds":1785176421,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4ce7288"} 
[2026-07-27 23:52:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:52:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 23:52:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-27 23:52:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:52:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:52:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:52:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:52:13] local.INFO: Teltonika packet parsed successfully {"connection_id":145667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:52:13] local.INFO: Passing IMEI to GPS processor {"connection_id":145667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:52:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":145667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:52: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-07-27 23:52:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:52:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:52:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457005160704001,"66":26810,"159":206,"79":21504,"24":29,"16":359584995712434176,"45":-9093330571322822656},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,79,24,16,45]} 
[2026-07-27 23:52:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:52:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:52:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457005160704001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:52:13] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-07-27 23:52:13] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-27 23:52:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359584995712434176,"km_value":359584995712434.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:52:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9093330571322822656,"description":"Unknown IO ID 45"} 
[2026-07-27 23:52:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457005160704001,"power":26810,"unknown_159":206,"unknown_79":21504,"ignition":29,"odometer":null,"unknown_45":-9093330571322822656}} 
[2026-07-27 23:52:13] local.INFO: DEBUG: GPS processor result {"connection_id":145667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":556085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:52:13] local.INFO: GPS data processed {"connection_id":145667,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:52:13] local.INFO: Acknowledgment sent {"connection_id":145667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:52:42] local.INFO: TCP Data received {"connection_id":144397,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4cdfd58012d196940071fee200041013128..."} 
[2026-07-27 23:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144397,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4cdfd58012d196940071fee200041013128..."} 
[2026-07-27 23:52:42] local.INFO: Processing buffer {"connection_id":144397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4cdfd58012d196940071fee200041013128..."} 
[2026-07-27 23:52:42] local.INFO: Packet analysis {"connection_id":144397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4cd"} 
[2026-07-27 23:52:42] local.INFO: Extracted packet for processing {"connection_id":144397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4cd"} 
[2026-07-27 23:52:42] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 23:52:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:52:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457005079040001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:52:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 23:52:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:52:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:52:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785176391000,"timestamp_ms":1785176391000,"timestamp_seconds":1785176391,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4cdfd58"} 
[2026-07-27 23:52:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:52:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 23:52:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:52:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:52:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:52:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:52:42] local.INFO: Teltonika packet parsed successfully {"connection_id":144397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:52:42] local.INFO: Passing IMEI to GPS processor {"connection_id":144397,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:52:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":144397,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:52:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:52:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 23:52:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 23:52:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457005079040001,"66":2177,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 23:52:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 23:52:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 23:52:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457005079040001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:52:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 23:52:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 23:52:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:52:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 23:52:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457005079040001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 23:52:42] local.INFO: DEBUG: GPS processor result {"connection_id":144397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":556086,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:52:42] local.INFO: GPS data processed {"connection_id":144397,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:52:42] local.INFO: Acknowledgment sent {"connection_id":144397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:52:44] local.INFO: TCP Data received {"connection_id":145667,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4cfddd0012d8128400620d6200015015a2f..."} 
[2026-07-27 23:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4cfddd0012d8128400620d6200015015a2f..."} 
[2026-07-27 23:52:44] local.INFO: Processing buffer {"connection_id":145667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4cfddd0012d8128400620d6200015015a2f..."} 
[2026-07-27 23:52:44] local.INFO: Packet analysis {"connection_id":145667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4cf"} 
[2026-07-27 23:52:44] local.INFO: Extracted packet for processing {"connection_id":145667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4cf"} 
[2026-07-27 23:52:44] local.INFO: GPS Element Parsed {"raw_longitude":763439168,"raw_latitude":102815264,"longitude_deg":76.3439168,"latitude_deg":10.2815264,"altitude":21,"angle":346,"satellites":47,"speed":56,"hex_longitude":"2d812840","hex_latitude":"0620d620","is_valid_coordinates":true} 
[2026-07-27 23:52:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:52:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457005185792001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:52:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359590557695082496,"note":"Value kept but may cause issues"} 
[2026-07-27 23:52:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9138436936314230784,"note":"Value kept but may cause issues"} 
[2026-07-27 23:52:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:52:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785176514000,"timestamp_ms":1785176514000,"timestamp_seconds":1785176514,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4cfddd0"} 
[2026-07-27 23:52:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:52:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 23:52:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-27 23:52:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:52:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:52:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:52:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:52:44] local.INFO: Teltonika packet parsed successfully {"connection_id":145667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:52:44] local.INFO: Passing IMEI to GPS processor {"connection_id":145667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:52:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":145667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:52:44] 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-07-27 23:52:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:52:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:52:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457005185792001,"66":27213,"145":206,"79":21504,"24":56,"16":359590557695082496,"45":-9138436936314230784},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,79,24,16,45]} 
[2026-07-27 23:52:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:52:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:52:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457005185792001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:52:44] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-07-27 23:52:44] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-27 23:52:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359590557695082496,"km_value":359590557695082.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:52:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9138436936314230784,"description":"Unknown IO ID 45"} 
[2026-07-27 23:52:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457005185792001,"power":27213,"unknown_145":206,"unknown_79":21504,"ignition":56,"odometer":null,"unknown_45":-9138436936314230784}} 
[2026-07-27 23:52:44] local.INFO: DEBUG: GPS processor result {"connection_id":145667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":556087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:52:44] local.INFO: GPS data processed {"connection_id":145667,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:52:44] local.INFO: Acknowledgment sent {"connection_id":145667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:52:59] local.INFO: TCP Data received {"connection_id":143381,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143381,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:52:59] local.INFO: Processing buffer {"connection_id":143381,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:52:59] local.INFO: IMEI packet received {"connection_id":143381,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 23:52:59] local.INFO: IMEI acknowledgment sent {"connection_id":143381,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 23:53:00] local.INFO: TCP Data received {"connection_id":143382,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:53:00] local.INFO: Processing buffer {"connection_id":143382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:53:00] local.INFO: IMEI packet received {"connection_id":143382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 23:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":143382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 23:53:00] local.INFO: TCP Data received {"connection_id":143382,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:53:00] local.INFO: Processing buffer {"connection_id":143382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:53:00] local.INFO: IMEI packet received {"connection_id":143382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 23:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":143382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:53:04] local.INFO: TCP Data received {"connection_id":143381,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143381,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:53:04] local.INFO: Processing buffer {"connection_id":143381,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:53:04] local.INFO: IMEI packet received {"connection_id":143381,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 23:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":143381,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:53:05] local.INFO: TCP Data received {"connection_id":143381,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4cdfd58012d196940071fee200041013128..."} 
[2026-07-27 23:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4cdfd58012d196940071fee200041013128..."} 
[2026-07-27 23:53:05] local.INFO: Processing buffer {"connection_id":143381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4cdfd58012d196940071fee200041013128..."} 
[2026-07-27 23:53:05] local.INFO: Packet analysis {"connection_id":143381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4cd"} 
[2026-07-27 23:53:05] local.INFO: Extracted packet for processing {"connection_id":143381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4cd"} 
[2026-07-27 23:53:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 23:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:53:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457005079040001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:53:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 23:53:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:53:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:53:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785176391000,"timestamp_ms":1785176391000,"timestamp_seconds":1785176391,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4cdfd58"} 
[2026-07-27 23:53:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:53:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 23:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 23:53:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:53:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:53:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:53:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:53:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:53:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143381,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:53:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143381,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:53:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:53:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 23:53:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 23:53:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457005079040001,"66":2177,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 23:53:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 23:53:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 23:53:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457005079040001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:53:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 23:53:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 23:53:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:53:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 23:53:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457005079040001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 23:53:05] local.INFO: DEBUG: GPS processor result {"connection_id":143381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":556088,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:53:05] local.INFO: GPS data processed {"connection_id":143381,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:53:05] local.INFO: Acknowledgment sent {"connection_id":143381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:53:05] local.INFO: TCP Data received {"connection_id":143382,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:53:05] local.INFO: Processing buffer {"connection_id":143382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:53:05] local.INFO: IMEI packet received {"connection_id":143382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 23:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":143382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:53:07] local.INFO: TCP Data received {"connection_id":143382,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4cfddd0012d8128400620d6200015015a2f..."} 
[2026-07-27 23:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4cfddd0012d8128400620d6200015015a2f..."} 
[2026-07-27 23:53:07] local.INFO: Processing buffer {"connection_id":143382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4cfddd0012d8128400620d6200015015a2f..."} 
[2026-07-27 23:53:07] local.INFO: Packet analysis {"connection_id":143382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4cf"} 
[2026-07-27 23:53:07] local.INFO: Extracted packet for processing {"connection_id":143382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4cf"} 
[2026-07-27 23:53:07] local.INFO: GPS Element Parsed {"raw_longitude":763439168,"raw_latitude":102815264,"longitude_deg":76.3439168,"latitude_deg":10.2815264,"altitude":21,"angle":346,"satellites":47,"speed":56,"hex_longitude":"2d812840","hex_latitude":"0620d620","is_valid_coordinates":true} 
[2026-07-27 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-07-27 23:53:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457005187584001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:53:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359590557695082496,"note":"Value kept but may cause issues"} 
[2026-07-27 23:53:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9139985048683536384,"note":"Value kept but may cause issues"} 
[2026-07-27 23:53:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:53:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785176514000,"timestamp_ms":1785176514000,"timestamp_seconds":1785176514,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4cfddd0"} 
[2026-07-27 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-07-27 23:53:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-27 23:53:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 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-07-27 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-07-27 23:53:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:53:07] local.INFO: Teltonika packet parsed successfully {"connection_id":143382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:53:07] local.INFO: Passing IMEI to GPS processor {"connection_id":143382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:53:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":143382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:53:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:53:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:53:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:53:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457005187584001,"66":27213,"145":206,"79":21504,"24":56,"16":359590557695082496,"45":-9139985048683536384},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,79,24,16,45]} 
[2026-07-27 23:53:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:53:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:53:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457005187584001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:53:07] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-07-27 23:53:07] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-27 23:53:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359590557695082496,"km_value":359590557695082.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:53:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9139985048683536384,"description":"Unknown IO ID 45"} 
[2026-07-27 23:53:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457005187584001,"power":27213,"unknown_145":206,"unknown_79":21504,"ignition":56,"odometer":null,"unknown_45":-9139985048683536384}} 
[2026-07-27 23:53:07] local.INFO: DEBUG: GPS processor result {"connection_id":143382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":556089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:53:07] local.INFO: GPS data processed {"connection_id":143382,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:53:07] local.INFO: Acknowledgment sent {"connection_id":143382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:53:37] local.INFO: TCP Data received {"connection_id":143381,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4cdfd58012d196940071fee200041013128..."} 
[2026-07-27 23:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4cdfd58012d196940071fee200041013128..."} 
[2026-07-27 23:53:37] local.INFO: Processing buffer {"connection_id":143381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4cdfd58012d196940071fee200041013128..."} 
[2026-07-27 23:53:37] local.INFO: Packet analysis {"connection_id":143381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4cd"} 
[2026-07-27 23:53:37] local.INFO: Extracted packet for processing {"connection_id":143381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4cd"} 
[2026-07-27 23:53:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 23:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457005079040001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:53:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 23:53:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:53:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:53:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785176391000,"timestamp_ms":1785176391000,"timestamp_seconds":1785176391,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4cdfd58"} 
[2026-07-27 23:53:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:53:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 23:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 23:53:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:53:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:53:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:53:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:53:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:53:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143381,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:53:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143381,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:53:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:53:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 23:53:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 23:53:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457005079040001,"66":2177,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 23:53:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 23:53:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 23:53:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457005079040001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:53:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 23:53:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 23:53:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:53:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 23:53:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457005079040001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 23:53:37] local.INFO: DEBUG: GPS processor result {"connection_id":143381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":556090,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:53:37] local.INFO: GPS data processed {"connection_id":143381,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:53:37] local.INFO: Acknowledgment sent {"connection_id":143381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:53:43] local.INFO: TCP Data received {"connection_id":143382,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4cff928012d811c000620f980001701502e..."} 
[2026-07-27 23:53:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4cff928012d811c000620f980001701502e..."} 
[2026-07-27 23:53:43] local.INFO: Processing buffer {"connection_id":143382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4cff928012d811c000620f980001701502e..."} 
[2026-07-27 23:53:43] local.INFO: Packet analysis {"connection_id":143382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4cf"} 
[2026-07-27 23:53:43] local.INFO: Extracted packet for processing {"connection_id":143382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4cf"} 
[2026-07-27 23:53:43] local.INFO: GPS Element Parsed {"raw_longitude":763436032,"raw_latitude":102824320,"longitude_deg":76.3436032,"latitude_deg":10.282432,"altitude":23,"angle":336,"satellites":46,"speed":52,"hex_longitude":"2d811c00","hex_latitude":"0620f980","is_valid_coordinates":true} 
[2026-07-27 23: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-07-27 23:53:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457005187584001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:53:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359591021551550464,"note":"Value kept but may cause issues"} 
[2026-07-27 23:53:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9139985048683536384,"note":"Value kept but may cause issues"} 
[2026-07-27 23:53:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:53:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785176521000,"timestamp_ms":1785176521000,"timestamp_seconds":1785176521,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4cff928"} 
[2026-07-27 23:53:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:53:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 23: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-27 23:53:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23: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-07-27 23:53:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:53:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:53:43] local.INFO: Teltonika packet parsed successfully {"connection_id":143382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:53:43] local.INFO: Passing IMEI to GPS processor {"connection_id":143382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:53:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":143382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:53:43] 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-07-27 23:53:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:53:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:53:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457005187584001,"66":27213,"145":206,"79":21504,"24":52,"16":359591021551550464,"45":-9139985048683536384},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,79,24,16,45]} 
[2026-07-27 23:53:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:53:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:53:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457005187584001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:53:43] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-07-27 23:53:43] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-27 23:53:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359591021551550464,"km_value":359591021551550.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:53:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9139985048683536384,"description":"Unknown IO ID 45"} 
[2026-07-27 23:53:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457005187584001,"power":27213,"unknown_145":206,"unknown_79":21504,"ignition":52,"odometer":null,"unknown_45":-9139985048683536384}} 
[2026-07-27 23:53:43] local.INFO: DEBUG: GPS processor result {"connection_id":143382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":556091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:53:43] local.INFO: GPS data processed {"connection_id":143382,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:53:43] local.INFO: Acknowledgment sent {"connection_id":143382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:53:59] local.INFO: TCP Data received {"connection_id":143233,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143233,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:53:59] local.INFO: Processing buffer {"connection_id":143233,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:53:59] local.INFO: IMEI packet received {"connection_id":143233,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 23:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":143233,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 23:54:04] local.INFO: TCP Data received {"connection_id":143233,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143233,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:54:04] local.INFO: Processing buffer {"connection_id":143233,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:54:04] local.INFO: IMEI packet received {"connection_id":143233,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 23:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":143233,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:54:05] local.INFO: TCP Data received {"connection_id":143233,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4cdfd58012d196940071fee200041013128..."} 
[2026-07-27 23:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4cdfd58012d196940071fee200041013128..."} 
[2026-07-27 23:54:05] local.INFO: Processing buffer {"connection_id":143233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4cdfd58012d196940071fee200041013128..."} 
[2026-07-27 23:54:05] local.INFO: Packet analysis {"connection_id":143233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4cd"} 
[2026-07-27 23:54:05] local.INFO: Extracted packet for processing {"connection_id":143233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4cd"} 
[2026-07-27 23:54:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 23:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:54:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457005079040001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:54:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 23:54:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:54:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:54:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785176391000,"timestamp_ms":1785176391000,"timestamp_seconds":1785176391,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4cdfd58"} 
[2026-07-27 23:54:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:54:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 23:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 23:54:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:54:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:54:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:54:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:54:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:54:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143233,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:54:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143233,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:54:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:54:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 23:54:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 23:54:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457005079040001,"66":2177,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 23:54:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 23:54:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 23:54:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457005079040001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:54:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 23:54:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 23:54:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:54:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 23:54:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457005079040001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 23:54:05] local.INFO: DEBUG: GPS processor result {"connection_id":143233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":556092,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:54:05] local.INFO: GPS data processed {"connection_id":143233,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:54:05] local.INFO: Acknowledgment sent {"connection_id":143233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:54:11] local.INFO: TCP Data received {"connection_id":145668,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:54:11] local.INFO: Processing buffer {"connection_id":145668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:54:11] local.INFO: IMEI packet received {"connection_id":145668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 23:54:11] local.INFO: IMEI acknowledgment sent {"connection_id":145668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 23:54:12] local.INFO: TCP Data received {"connection_id":145668,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:54:12] local.INFO: Processing buffer {"connection_id":145668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:54:12] local.INFO: IMEI packet received {"connection_id":145668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 23:54:12] local.INFO: IMEI acknowledgment sent {"connection_id":145668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:54:23] local.INFO: TCP Data received {"connection_id":145668,"ip":"42.109.136.6","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-27 23:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145668,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-27 23:54:23] local.INFO: Processing buffer {"connection_id":145668,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-27 23:54:23] local.INFO: IMEI packet received {"connection_id":145668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 23:54:23] local.INFO: IMEI acknowledgment sent {"connection_id":145668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:54:24] local.INFO: TCP Data received {"connection_id":145668,"ip":"42.109.136.6","data_length":1348,"data_hex":"000000000000030f8e0a0000019fa4d11268012d7ffec006221d80000e014b31..."} 
[2026-07-27 23:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145668,"packet_length":1348,"packet_hex":"000000000000030f8e0a0000019fa4d11268012d7ffec006221d80000e014b31..."} 
[2026-07-27 23:54:24] local.INFO: Processing buffer {"connection_id":145668,"buffer_length":1365,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019fa4..."} 
[2026-07-27 23:54:24] local.INFO: IMEI packet received {"connection_id":145668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 23:54:24] local.INFO: IMEI acknowledgment sent {"connection_id":145668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:54:25] local.INFO: TCP Data received {"connection_id":145668,"ip":"42.109.136.6","data_length":1037,"data_hex":"0000000000019fa4d089b0012d80ac800621b040000d012f3100420000000a00..."} 
[2026-07-27 23:54:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145668,"packet_length":1037,"packet_hex":"0000000000019fa4d089b0012d80ac800621b040000d012f3100420000000a00..."} 
[2026-07-27 23:54:25] local.INFO: Processing buffer {"connection_id":145668,"buffer_length":2385,"buffer_hex":"000000000000030f8e0a0000019fa4d11268012d7ffec006221d80000e014b31..."} 
[2026-07-27 23:54:25] local.INFO: Packet analysis {"connection_id":145668,"data_field_length":783,"total_packet_length":795,"buffer_length":2385,"packet_hex_start":"000000000000030f8e0a0000019fa4d1"} 
[2026-07-27 23:54:25] local.INFO: Extracted packet for processing {"connection_id":145668,"packet_length":795,"remaining_buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fa4d1"} 
[2026-07-27 23:54:25] local.INFO: GPS Element Parsed {"raw_longitude":763363008,"raw_latitude":102899072,"longitude_deg":76.3363008,"latitude_deg":10.2899072,"altitude":14,"angle":331,"satellites":49,"speed":57,"hex_longitude":"2d7ffec0","hex_latitude":"06221d80","is_valid_coordinates":true} 
[2026-07-27 23:54:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:54:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457005206784001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:54:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359596257116684288,"note":"Value kept but may cause issues"} 
[2026-07-27 23:54:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9219923942049120256,"note":"Value kept but may cause issues"} 
[2026-07-27 23:54:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:54:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785176593000,"timestamp_ms":1785176593000,"timestamp_seconds":1785176593,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4d11268"} 
[2026-07-27 23:54:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:54:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 23: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-27 23:54:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:54:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:54:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:54:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:54:25] local.INFO: Teltonika packet parsed successfully {"connection_id":145668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:54:25] local.INFO: Passing IMEI to GPS processor {"connection_id":145668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:54:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":145668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:54:25] 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-07-27 23:54:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:54:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:54:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457005206784001,"66":27343,"147":206,"79":21504,"24":57,"16":359596257116684288,"45":-9219923942049120256},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,79,24,16,45]} 
[2026-07-27 23:54:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:54:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:54:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457005206784001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:54:25] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-27 23:54:25] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-27 23:54:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359596257116684288,"km_value":359596257116684.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:54:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9219923942049120256,"description":"Unknown IO ID 45"} 
[2026-07-27 23:54:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457005206784001,"power":27343,"unknown_147":206,"unknown_79":21504,"ignition":57,"odometer":null,"unknown_45":-9219923942049120256}} 
[2026-07-27 23:54:25] local.INFO: DEBUG: GPS processor result {"connection_id":145668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":556093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:54:25] local.INFO: GPS data processed {"connection_id":145668,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:54:25] local.INFO: Acknowledgment sent {"connection_id":145668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:54:25] local.INFO: Packet analysis {"connection_id":145668,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fa4d1"} 
[2026-07-27 23:54:25] local.INFO: Extracted packet for processing {"connection_id":145668,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4d1"} 
[2026-07-27 23:54:25] local.INFO: GPS Element Parsed {"raw_longitude":763358976,"raw_latitude":102908344,"longitude_deg":76.3358976,"latitude_deg":10.2908344,"altitude":14,"angle":343,"satellites":46,"speed":58,"hex_longitude":"2d7fef00","hex_latitude":"062241b8","is_valid_coordinates":true} 
[2026-07-27 23:54:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:54:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457005207808001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:54:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359596751037923328,"note":"Value kept but may cause issues"} 
[2026-07-27 23:54:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9223020219476049920,"note":"Value kept but may cause issues"} 
[2026-07-27 23:54:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:54:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785176600000,"timestamp_ms":1785176600000,"timestamp_seconds":1785176600,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4d12dc0"} 
[2026-07-27 23:54:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:54:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 23: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-27 23:54:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:54:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:54:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:54:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:54:25] local.INFO: Teltonika packet parsed successfully {"connection_id":145668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:54:25] local.INFO: Passing IMEI to GPS processor {"connection_id":145668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:54:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":145668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:54:25] 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-07-27 23:54:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:54:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:54:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457005207808001,"66":27213,"147":206,"79":21504,"24":58,"16":359596751037923328,"45":9223020219476049920},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,79,24,16,45]} 
[2026-07-27 23:54:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:54:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:54:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457005207808001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:54:25] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-27 23:54:25] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-27 23:54:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359596751037923328,"km_value":359596751037923.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:54:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9223020219476049920,"description":"Unknown IO ID 45"} 
[2026-07-27 23:54:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457005207808001,"power":27213,"unknown_147":206,"unknown_79":21504,"ignition":58,"odometer":null,"unknown_45":9223020219476049920}} 
[2026-07-27 23:54:25] local.INFO: DEBUG: GPS processor result {"connection_id":145668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":556094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:54:25] local.INFO: GPS data processed {"connection_id":145668,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:54:25] local.INFO: Acknowledgment sent {"connection_id":145668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:54:25] local.INFO: Packet analysis {"connection_id":145668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4d1"} 
[2026-07-27 23:54:25] local.INFO: Extracted packet for processing {"connection_id":145668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4d1"} 
[2026-07-27 23:54:25] local.INFO: GPS Element Parsed {"raw_longitude":763358976,"raw_latitude":102908344,"longitude_deg":76.3358976,"latitude_deg":10.2908344,"altitude":14,"angle":343,"satellites":46,"speed":58,"hex_longitude":"2d7fef00","hex_latitude":"062241b8","is_valid_coordinates":true} 
[2026-07-27 23:54:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:54:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457005209600001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:54:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359596751037923328,"note":"Value kept but may cause issues"} 
[2026-07-27 23:54:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9218586988595230720,"note":"Value kept but may cause issues"} 
[2026-07-27 23:54:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:54:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785176600000,"timestamp_ms":1785176600000,"timestamp_seconds":1785176600,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4d12dc0"} 
[2026-07-27 23:54:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:54:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 23: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-27 23:54:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:54:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:54:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:54:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:54:25] local.INFO: Teltonika packet parsed successfully {"connection_id":145668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:54:25] local.INFO: Passing IMEI to GPS processor {"connection_id":145668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:54:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":145668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:54:25] 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-07-27 23:54:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:54:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:54:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457005209600001,"66":27213,"147":206,"79":21504,"24":58,"16":359596751037923328,"45":9218586988595230720},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,79,24,16,45]} 
[2026-07-27 23:54:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:54:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:54:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457005209600001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:54:25] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-27 23:54:25] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-27 23:54:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359596751037923328,"km_value":359596751037923.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:54:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9218586988595230720,"description":"Unknown IO ID 45"} 
[2026-07-27 23:54:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457005209600001,"power":27213,"unknown_147":206,"unknown_79":21504,"ignition":58,"odometer":null,"unknown_45":9218586988595230720}} 
[2026-07-27 23:54:25] local.INFO: DEBUG: GPS processor result {"connection_id":145668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":556095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:54:25] local.INFO: GPS data processed {"connection_id":145668,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:54:25] local.INFO: Acknowledgment sent {"connection_id":145668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:54:26] local.INFO: TCP Data received {"connection_id":145668,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4d14530012d7fe90006226158000e016330..."} 
[2026-07-27 23:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4d14530012d7fe90006226158000e016330..."} 
[2026-07-27 23:54:26] local.INFO: Processing buffer {"connection_id":145668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4d14530012d7fe90006226158000e016330..."} 
[2026-07-27 23:54:26] local.INFO: Packet analysis {"connection_id":145668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4d1"} 
[2026-07-27 23:54:26] local.INFO: Extracted packet for processing {"connection_id":145668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4d1"} 
[2026-07-27 23:54:26] local.INFO: GPS Element Parsed {"raw_longitude":763357440,"raw_latitude":102916440,"longitude_deg":76.335744,"latitude_deg":10.291644,"altitude":14,"angle":355,"satellites":48,"speed":51,"hex_longitude":"2d7fe900","hex_latitude":"06226158","is_valid_coordinates":true} 
[2026-07-27 23:54:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:54:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457005209600001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:54:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359597150469881856,"note":"Value kept but may cause issues"} 
[2026-07-27 23:54:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9218586988595230720,"note":"Value kept but may cause issues"} 
[2026-07-27 23:54:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:54:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785176606000,"timestamp_ms":1785176606000,"timestamp_seconds":1785176606,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4d14530"} 
[2026-07-27 23:54:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:54:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 23:54:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-27 23:54:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:54:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:54:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:54:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:54:26] local.INFO: Teltonika packet parsed successfully {"connection_id":145668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:54:26] local.INFO: Passing IMEI to GPS processor {"connection_id":145668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:54:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":145668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:54:26] 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-07-27 23:54:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:54:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:54:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457005209600001,"66":27213,"177":206,"79":21504,"24":51,"16":359597150469881856,"45":9218586988595230720},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,79,24,16,45]} 
[2026-07-27 23:54:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:54:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:54:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457005209600001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:54:26] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-27 23:54:26] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-27 23:54:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359597150469881856,"km_value":359597150469881.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:54:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9218586988595230720,"description":"Unknown IO ID 45"} 
[2026-07-27 23:54:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457005209600001,"power":27213,"unknown_177":206,"unknown_79":21504,"ignition":51,"odometer":null,"unknown_45":9218586988595230720}} 
[2026-07-27 23:54:26] local.INFO: DEBUG: GPS processor result {"connection_id":145668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":556096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:54:26] local.INFO: GPS data processed {"connection_id":145668,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:54:26] local.INFO: Acknowledgment sent {"connection_id":145668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:54:27] local.INFO: TCP Data received {"connection_id":145668,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4d16088012d7fea00062284480010000631..."} 
[2026-07-27 23:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4d16088012d7fea00062284480010000631..."} 
[2026-07-27 23:54:27] local.INFO: Processing buffer {"connection_id":145668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4d16088012d7fea00062284480010000631..."} 
[2026-07-27 23:54:27] local.INFO: Packet analysis {"connection_id":145668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4d1"} 
[2026-07-27 23:54:27] local.INFO: Extracted packet for processing {"connection_id":145668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4d1"} 
[2026-07-27 23:54:27] local.INFO: GPS Element Parsed {"raw_longitude":763357696,"raw_latitude":102925384,"longitude_deg":76.3357696,"latitude_deg":10.2925384,"altitude":16,"angle":6,"satellites":49,"speed":50,"hex_longitude":"2d7fea00","hex_latitude":"06228448","is_valid_coordinates":true} 
[2026-07-27 23:54:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:54:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457005211136001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:54:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359597584261578752,"note":"Value kept but may cause issues"} 
[2026-07-27 23:54:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9216898138737039360,"note":"Value kept but may cause issues"} 
[2026-07-27 23:54:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:54:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785176613000,"timestamp_ms":1785176613000,"timestamp_seconds":1785176613,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4d16088"} 
[2026-07-27 23:54:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:54:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 23:54:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-27 23:54:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:54:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:54:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:54:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:54:27] local.INFO: Teltonika packet parsed successfully {"connection_id":145668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:54:27] local.INFO: Passing IMEI to GPS processor {"connection_id":145668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:54:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":145668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:54:27] 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-07-27 23:54:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:54:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:54:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457005211136001,"66":26984,"177":206,"79":21504,"24":50,"16":359597584261578752,"45":9216898138737039360},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,79,24,16,45]} 
[2026-07-27 23:54:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:54:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:54:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457005211136001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:54:27] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-27 23:54:27] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-27 23:54:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359597584261578752,"km_value":359597584261578.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:54:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9216898138737039360,"description":"Unknown IO ID 45"} 
[2026-07-27 23:54:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457005211136001,"power":26984,"unknown_177":206,"unknown_79":21504,"ignition":50,"odometer":null,"unknown_45":9216898138737039360}} 
[2026-07-27 23:54:27] local.INFO: DEBUG: GPS processor result {"connection_id":145668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":556097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:54:27] local.INFO: GPS data processed {"connection_id":145668,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:54:27] local.INFO: Acknowledgment sent {"connection_id":145668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:54:37] local.INFO: TCP Data received {"connection_id":143233,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4cdfd58012d196940071fee200041013128..."} 
[2026-07-27 23:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4cdfd58012d196940071fee200041013128..."} 
[2026-07-27 23:54:37] local.INFO: Processing buffer {"connection_id":143233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4cdfd58012d196940071fee200041013128..."} 
[2026-07-27 23:54:37] local.INFO: Packet analysis {"connection_id":143233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4cd"} 
[2026-07-27 23:54:37] local.INFO: Extracted packet for processing {"connection_id":143233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4cd"} 
[2026-07-27 23:54:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 23:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:54:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457005079040001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:54:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 23:54:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:54:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:54:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785176391000,"timestamp_ms":1785176391000,"timestamp_seconds":1785176391,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4cdfd58"} 
[2026-07-27 23:54:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:54:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 23:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 23:54:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:54:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:54:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:54:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:54:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:54:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143233,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:54:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143233,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:54:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:54:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 23:54:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 23:54:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457005079040001,"66":2177,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 23:54:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 23:54:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 23:54:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457005079040001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:54:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 23:54:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 23:54:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:54:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 23:54:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457005079040001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 23:54:37] local.INFO: DEBUG: GPS processor result {"connection_id":143233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":556098,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:54:37] local.INFO: GPS data processed {"connection_id":143233,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:54:37] local.INFO: Acknowledgment sent {"connection_id":143233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:54:58] local.INFO: TCP Data received {"connection_id":143383,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143383,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:54:58] local.INFO: Processing buffer {"connection_id":143383,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:54:58] local.INFO: IMEI packet received {"connection_id":143383,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-27 23:54:58] local.INFO: IMEI acknowledgment sent {"connection_id":143383,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 23:55:03] local.INFO: TCP Data received {"connection_id":143384,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:55:03] local.INFO: Processing buffer {"connection_id":143384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:55:03] local.INFO: IMEI packet received {"connection_id":143384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 23:55:03] local.INFO: IMEI acknowledgment sent {"connection_id":143384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 23:55:04] local.INFO: TCP Data received {"connection_id":143383,"ip":"117.225.227.158","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143383,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:55:04] local.INFO: Processing buffer {"connection_id":143383,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-27 23:55:04] local.INFO: IMEI packet received {"connection_id":143383,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-27 23:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":143383,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:55:05] local.INFO: TCP Data received {"connection_id":143384,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:55:05] local.INFO: Processing buffer {"connection_id":143384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:55:05] local.INFO: IMEI packet received {"connection_id":143384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 23:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":143384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:55:05] local.INFO: TCP Data received {"connection_id":143383,"ip":"117.225.227.158","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4cdfd58012d196940071fee200041013128..."} 
[2026-07-27 23:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4cdfd58012d196940071fee200041013128..."} 
[2026-07-27 23:55:05] local.INFO: Processing buffer {"connection_id":143383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4cdfd58012d196940071fee200041013128..."} 
[2026-07-27 23:55:05] local.INFO: Packet analysis {"connection_id":143383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4cd"} 
[2026-07-27 23:55:05] local.INFO: Extracted packet for processing {"connection_id":143383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4cd"} 
[2026-07-27 23:55:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533088,"longitude_deg":75.6640064,"latitude_deg":11.9533088,"altitude":65,"angle":305,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-27 23: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-07-27 23:55:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457005079040001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:55:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8971808724221952,"note":"Value kept but may cause issues"} 
[2026-07-27 23:55:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847465472,"note":"Value kept but may cause issues"} 
[2026-07-27 23:55:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:55:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785176391000,"timestamp_ms":1785176391000,"timestamp_seconds":1785176391,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4cdfd58"} 
[2026-07-27 23:55:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:55:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-27 23:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-27 23:55:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23: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-07-27 23:55:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:55:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:55:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:55:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:55:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-27 23:55:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:55:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-27 23:55:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-27 23:55:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457005079040001,"66":2177,"121":206,"28":31744,"24":0,"16":8971808724221952,"45":1831065122847465472},"client_ip":"117.225.227.158","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-27 23:55:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-27 23:55:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-27 23:55:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457005079040001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:55:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-27 23:55:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-27 23:55:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8971808724221952,"km_value":8971808724221.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:55:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847465472,"description":"Unknown IO ID 45"} 
[2026-07-27 23:55:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457005079040001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847465472}} 
[2026-07-27 23:55:05] local.INFO: DEBUG: GPS processor result {"connection_id":143383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":556099,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:55:05] local.INFO: GPS data processed {"connection_id":143383,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:55:05] local.INFO: Acknowledgment sent {"connection_id":143383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:55:10] local.INFO: TCP Data received {"connection_id":143384,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:55:10] local.INFO: Processing buffer {"connection_id":143384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:55:10] local.INFO: IMEI packet received {"connection_id":143384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 23:55:10] local.INFO: IMEI acknowledgment sent {"connection_id":143384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:55:11] local.INFO: TCP Data received {"connection_id":143384,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4d16088012d7fea00062284480010000631..."} 
[2026-07-27 23:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4d16088012d7fea00062284480010000631..."} 
[2026-07-27 23:55:11] local.INFO: Processing buffer {"connection_id":143384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4d16088012d7fea00062284480010000631..."} 
[2026-07-27 23:55:11] local.INFO: Packet analysis {"connection_id":143384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4d1"} 
[2026-07-27 23:55:11] local.INFO: Extracted packet for processing {"connection_id":143384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4d1"} 
[2026-07-27 23:55:11] local.INFO: GPS Element Parsed {"raw_longitude":763357696,"raw_latitude":102925384,"longitude_deg":76.3357696,"latitude_deg":10.2925384,"altitude":16,"angle":6,"satellites":49,"speed":50,"hex_longitude":"2d7fea00","hex_latitude":"06228448","is_valid_coordinates":true} 
[2026-07-27 23:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:55:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457005212928001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:55:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359597584261578752,"note":"Value kept but may cause issues"} 
[2026-07-27 23:55:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9217179613716039680,"note":"Value kept but may cause issues"} 
[2026-07-27 23:55:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:55:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785176613000,"timestamp_ms":1785176613000,"timestamp_seconds":1785176613,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4d16088"} 
[2026-07-27 23:55:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:55:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 23: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":105,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-07-27 23:55:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1659,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:55:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:55:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:55:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:55:11] local.INFO: Teltonika packet parsed successfully {"connection_id":143384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:55:11] local.INFO: Passing IMEI to GPS processor {"connection_id":143384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:55:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":143384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:55: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-07-27 23:55:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:55:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:55:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457005212928001,"66":26984,"177":206,"79":21504,"24":50,"16":359597584261578752,"45":9217179613716039680},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,79,24,16,45]} 
[2026-07-27 23:55:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:55:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:55:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457005212928001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:55:11] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-27 23:55:11] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-27 23:55:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359597584261578752,"km_value":359597584261578.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:55:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9217179613716039680,"description":"Unknown IO ID 45"} 
[2026-07-27 23:55:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457005212928001,"power":26984,"unknown_177":206,"unknown_79":21504,"ignition":50,"odometer":null,"unknown_45":9217179613716039680}} 
[2026-07-27 23:55:11] local.INFO: DEBUG: GPS processor result {"connection_id":143384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":556100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:55:11] local.INFO: GPS data processed {"connection_id":143384,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:55:11] local.INFO: Acknowledgment sent {"connection_id":143384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:55:42] local.INFO: TCP Data received {"connection_id":143384,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4d279c8012d8013800623ef500017015530..."} 
[2026-07-27 23:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4d279c8012d8013800623ef500017015530..."} 
[2026-07-27 23:55:42] local.INFO: Processing buffer {"connection_id":143384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4d279c8012d8013800623ef500017015530..."} 
[2026-07-27 23:55:42] local.INFO: Packet analysis {"connection_id":143384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4d2"} 
[2026-07-27 23:55:42] local.INFO: Extracted packet for processing {"connection_id":143384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4d2"} 
[2026-07-27 23:55:42] local.INFO: GPS Element Parsed {"raw_longitude":763368320,"raw_latitude":103018320,"longitude_deg":76.336832,"latitude_deg":10.301832,"altitude":23,"angle":341,"satellites":48,"speed":50,"hex_longitude":"2d801380","hex_latitude":"0623ef50","is_valid_coordinates":true} 
[2026-07-27 23: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-07-27 23:55:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457005229568001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:55:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359602222826258432,"note":"Value kept but may cause issues"} 
[2026-07-27 23:55:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9215701817368860672,"note":"Value kept but may cause issues"} 
[2026-07-27 23:55:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:55:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785176685000,"timestamp_ms":1785176685000,"timestamp_seconds":1785176685,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4d279c8"} 
[2026-07-27 23:55:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:55:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 23: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-27 23:55:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23: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-07-27 23:55:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:55:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:55:42] local.INFO: Teltonika packet parsed successfully {"connection_id":143384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:55:42] local.INFO: Passing IMEI to GPS processor {"connection_id":143384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:55:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":143384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:55: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-07-27 23:55:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:55:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:55:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457005229568001,"66":27321,"112":206,"79":21504,"24":50,"16":359602222826258432,"45":-9215701817368860672},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,79,24,16,45]} 
[2026-07-27 23:55:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:55:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:55:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457005229568001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:55:42] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-27 23:55:42] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-27 23:55:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359602222826258432,"km_value":359602222826258.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:55:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9215701817368860672,"description":"Unknown IO ID 45"} 
[2026-07-27 23:55:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457005229568001,"power":27321,"unknown_112":206,"unknown_79":21504,"ignition":50,"odometer":null,"unknown_45":-9215701817368860672}} 
[2026-07-27 23:55:42] local.INFO: DEBUG: GPS processor result {"connection_id":143384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":556101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:55:42] local.INFO: GPS data processed {"connection_id":143384,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:55:42] local.INFO: Acknowledgment sent {"connection_id":143384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:56:00] local.INFO: TCP Data received {"connection_id":145669,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:56:00] local.INFO: Processing buffer {"connection_id":145669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:56:00] local.INFO: IMEI packet received {"connection_id":145669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 23:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":145669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 23:56:03] local.INFO: TCP Data received {"connection_id":145669,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:56:03] local.INFO: Processing buffer {"connection_id":145669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:56:03] local.INFO: IMEI packet received {"connection_id":145669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 23:56:03] local.INFO: IMEI acknowledgment sent {"connection_id":145669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:56:04] local.INFO: TCP Data received {"connection_id":145669,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4d29520012d8004c006240f380017014c2d..."} 
[2026-07-27 23:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145669,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4d29520012d8004c006240f380017014c2d..."} 
[2026-07-27 23:56:04] local.INFO: Processing buffer {"connection_id":145669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4d29520012d8004c006240f380017014c2d..."} 
[2026-07-27 23:56:04] local.INFO: Packet analysis {"connection_id":145669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4d2"} 
[2026-07-27 23:56:04] local.INFO: Extracted packet for processing {"connection_id":145669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4d2"} 
[2026-07-27 23:56:04] local.INFO: GPS Element Parsed {"raw_longitude":763364544,"raw_latitude":103026488,"longitude_deg":76.3364544,"latitude_deg":10.3026488,"altitude":23,"angle":332,"satellites":45,"speed":52,"hex_longitude":"2d8004c0","hex_latitude":"06240f38","is_valid_coordinates":true} 
[2026-07-27 23:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:56:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457005231360001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:56:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359602656617955328,"note":"Value kept but may cause issues"} 
[2026-07-27 23:56:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9217883248436228096,"note":"Value kept but may cause issues"} 
[2026-07-27 23:56:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:56:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785176692000,"timestamp_ms":1785176692000,"timestamp_seconds":1785176692,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4d29520"} 
[2026-07-27 23:56:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:56:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 23:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-27 23:56:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:56:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:56:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:56:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:56:04] local.INFO: Teltonika packet parsed successfully {"connection_id":145669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:56:04] local.INFO: Passing IMEI to GPS processor {"connection_id":145669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:56:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":145669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:56:04] 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-07-27 23:56:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:56:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:56:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457005231360001,"66":27234,"112":206,"79":21504,"24":52,"16":359602656617955328,"45":-9217883248436228096},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,79,24,16,45]} 
[2026-07-27 23:56:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:56:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:56:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457005231360001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:56:04] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-27 23:56:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-27 23:56:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359602656617955328,"km_value":359602656617955.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:56:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9217883248436228096,"description":"Unknown IO ID 45"} 
[2026-07-27 23:56:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457005231360001,"power":27234,"unknown_112":206,"unknown_79":21504,"ignition":52,"odometer":null,"unknown_45":-9217883248436228096}} 
[2026-07-27 23:56:04] local.INFO: DEBUG: GPS processor result {"connection_id":145669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":556102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:56:04] local.INFO: GPS data processed {"connection_id":145669,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:56:04] local.INFO: Acknowledgment sent {"connection_id":145669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:56:05] local.INFO: TCP Data received {"connection_id":145669,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4d2b078012d7ff2c0062430d80015014c2e..."} 
[2026-07-27 23:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145669,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4d2b078012d7ff2c0062430d80015014c2e..."} 
[2026-07-27 23:56:05] local.INFO: Processing buffer {"connection_id":145669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4d2b078012d7ff2c0062430d80015014c2e..."} 
[2026-07-27 23:56:05] local.INFO: Packet analysis {"connection_id":145669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4d2"} 
[2026-07-27 23:56:05] local.INFO: Extracted packet for processing {"connection_id":145669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4d2"} 
[2026-07-27 23:56:05] local.INFO: GPS Element Parsed {"raw_longitude":763359936,"raw_latitude":103035096,"longitude_deg":76.3359936,"latitude_deg":10.3035096,"altitude":21,"angle":332,"satellites":46,"speed":58,"hex_longitude":"2d7ff2c0","hex_latitude":"062430d8","is_valid_coordinates":true} 
[2026-07-27 23:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:56:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457005233152001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:56:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359603133359325184,"note":"Value kept but may cause issues"} 
[2026-07-27 23:56:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9222035004340619264,"note":"Value kept but may cause issues"} 
[2026-07-27 23:56:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:56:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785176699000,"timestamp_ms":1785176699000,"timestamp_seconds":1785176699,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4d2b078"} 
[2026-07-27 23:56:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:56:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 23:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-27 23:56:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:56:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:56:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:56:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:56:05] local.INFO: Teltonika packet parsed successfully {"connection_id":145669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:56:05] local.INFO: Passing IMEI to GPS processor {"connection_id":145669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:56:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":145669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:56:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-27 23:56:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:56:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:56:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457005233152001,"66":27310,"112":206,"79":21504,"24":58,"16":359603133359325184,"45":-9222035004340619264},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,79,24,16,45]} 
[2026-07-27 23:56:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:56:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:56:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457005233152001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:56:05] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-27 23:56:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-27 23:56:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359603133359325184,"km_value":359603133359325.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:56:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9222035004340619264,"description":"Unknown IO ID 45"} 
[2026-07-27 23:56:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457005233152001,"power":27310,"unknown_112":206,"unknown_79":21504,"ignition":58,"odometer":null,"unknown_45":-9222035004340619264}} 
[2026-07-27 23:56:05] local.INFO: DEBUG: GPS processor result {"connection_id":145669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":556103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:56:05] local.INFO: GPS data processed {"connection_id":145669,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:56:05] local.INFO: Acknowledgment sent {"connection_id":145669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:56:36] local.INFO: TCP Data received {"connection_id":145669,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4d2c7e8012d7fe200062450b00011014c2f..."} 
[2026-07-27 23:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145669,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4d2c7e8012d7fe200062450b00011014c2f..."} 
[2026-07-27 23:56:36] local.INFO: Processing buffer {"connection_id":145669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4d2c7e8012d7fe200062450b00011014c2f..."} 
[2026-07-27 23:56:36] local.INFO: Packet analysis {"connection_id":145669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4d2"} 
[2026-07-27 23:56:36] local.INFO: Extracted packet for processing {"connection_id":145669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4d2"} 
[2026-07-27 23:56:36] local.INFO: GPS Element Parsed {"raw_longitude":763355648,"raw_latitude":103043248,"longitude_deg":76.3355648,"latitude_deg":10.3043248,"altitude":17,"angle":332,"satellites":47,"speed":62,"hex_longitude":"2d7fe200","hex_latitude":"062450b0","is_valid_coordinates":true} 
[2026-07-27 23:56:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:56:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457005234944001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:56:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359603575740956672,"note":"Value kept but may cause issues"} 
[2026-07-27 23:56:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9219642519790344192,"note":"Value kept but may cause issues"} 
[2026-07-27 23:56:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:56:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785176705000,"timestamp_ms":1785176705000,"timestamp_seconds":1785176705,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4d2c7e8"} 
[2026-07-27 23:56:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:56:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 23:56:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-27 23:56:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:56:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:56:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:56:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:56:36] local.INFO: Teltonika packet parsed successfully {"connection_id":145669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:56:36] local.INFO: Passing IMEI to GPS processor {"connection_id":145669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:56:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":145669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:56:36] 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-07-27 23:56:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:56:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:56:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457005234944001,"66":27169,"52":206,"79":21504,"24":62,"16":359603575740956672,"45":9219642519790344192},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,79,24,16,45]} 
[2026-07-27 23:56:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:56:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:56:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457005234944001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:56:36] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-07-27 23:56:36] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-27 23:56:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359603575740956672,"km_value":359603575740956.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:56:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9219642519790344192,"description":"Unknown IO ID 45"} 
[2026-07-27 23:56:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457005234944001,"power":27169,"unknown_52":206,"unknown_79":21504,"ignition":62,"odometer":null,"unknown_45":9219642519790344192}} 
[2026-07-27 23:56:36] local.INFO: DEBUG: GPS processor result {"connection_id":145669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":556104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:56:36] local.INFO: GPS data processed {"connection_id":145669,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:56:36] local.INFO: Acknowledgment sent {"connection_id":145669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:57:00] local.INFO: TCP Data received {"connection_id":144398,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:57:00] local.INFO: Processing buffer {"connection_id":144398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:57:00] local.INFO: IMEI packet received {"connection_id":144398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 23:57:00] local.INFO: IMEI acknowledgment sent {"connection_id":144398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 23:57:04] local.INFO: TCP Data received {"connection_id":144398,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:57:04] local.INFO: Processing buffer {"connection_id":144398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:57:04] local.INFO: IMEI packet received {"connection_id":144398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 23:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":144398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:57:04] local.INFO: TCP Data received {"connection_id":144398,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4d2df58012d7fd040062470300012014c2f..."} 
[2026-07-27 23:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4d2df58012d7fd040062470300012014c2f..."} 
[2026-07-27 23:57:04] local.INFO: Processing buffer {"connection_id":144398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4d2df58012d7fd040062470300012014c2f..."} 
[2026-07-27 23:57:04] local.INFO: Packet analysis {"connection_id":144398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4d2"} 
[2026-07-27 23:57:04] local.INFO: Extracted packet for processing {"connection_id":144398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4d2"} 
[2026-07-27 23:57:04] local.INFO: GPS Element Parsed {"raw_longitude":763351104,"raw_latitude":103051312,"longitude_deg":76.3351104,"latitude_deg":10.3051312,"altitude":18,"angle":332,"satellites":47,"speed":59,"hex_longitude":"2d7fd040","hex_latitude":"06247030","is_valid_coordinates":true} 
[2026-07-27 23:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:57:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457005236480001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:57:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359604022417555456,"note":"Value kept but may cause issues"} 
[2026-07-27 23:57:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9214927813932527616,"note":"Value kept but may cause issues"} 
[2026-07-27 23:57:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:57:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785176711000,"timestamp_ms":1785176711000,"timestamp_seconds":1785176711,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4d2df58"} 
[2026-07-27 23:57:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:57:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 23:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-27 23:57:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1025,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:57:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:57:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:57:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:57:04] local.INFO: Teltonika packet parsed successfully {"connection_id":144398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:57:04] local.INFO: Passing IMEI to GPS processor {"connection_id":144398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:57:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":144398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:57:04] 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-07-27 23:57:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:57:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:57:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457005236480001,"66":27234,"52":206,"79":21504,"24":59,"16":359604022417555456,"45":9214927813932527616},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,79,24,16,45]} 
[2026-07-27 23:57:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:57:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:57:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457005236480001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:57:04] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-07-27 23:57:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-27 23:57:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359604022417555456,"km_value":359604022417555.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:57:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9214927813932527616,"description":"Unknown IO ID 45"} 
[2026-07-27 23:57:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457005236480001,"power":27234,"unknown_52":206,"unknown_79":21504,"ignition":59,"odometer":null,"unknown_45":9214927813932527616}} 
[2026-07-27 23:57:04] local.INFO: DEBUG: GPS processor result {"connection_id":144398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":556105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:57:04] local.INFO: GPS data processed {"connection_id":144398,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:57:04] local.INFO: Acknowledgment sent {"connection_id":144398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:57:36] local.INFO: TCP Data received {"connection_id":144398,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4d43b00012d7ece4006260fa8000d014b30..."} 
[2026-07-27 23:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4d43b00012d7ece4006260fa8000d014b30..."} 
[2026-07-27 23:57:36] local.INFO: Processing buffer {"connection_id":144398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4d43b00012d7ece4006260fa8000d014b30..."} 
[2026-07-27 23:57:36] local.INFO: Packet analysis {"connection_id":144398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4d4"} 
[2026-07-27 23:57:36] local.INFO: Extracted packet for processing {"connection_id":144398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4d4"} 
[2026-07-27 23:57:36] local.INFO: GPS Element Parsed {"raw_longitude":763285056,"raw_latitude":103157672,"longitude_deg":76.3285056,"latitude_deg":10.3157672,"altitude":13,"angle":331,"satellites":48,"speed":57,"hex_longitude":"2d7ece40","hex_latitude":"06260fa8","is_valid_coordinates":true} 
[2026-07-27 23:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:57:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457005259008001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:57:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359610074026475520,"note":"Value kept but may cause issues"} 
[2026-07-27 23:57:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9142518376200730624,"note":"Value kept but may cause issues"} 
[2026-07-27 23:57:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:57:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785176800000,"timestamp_ms":1785176800000,"timestamp_seconds":1785176800,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4d43b00"} 
[2026-07-27 23:57:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:57:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 23:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-27 23:57:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:57:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:57:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:57:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:57:36] local.INFO: Teltonika packet parsed successfully {"connection_id":144398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:57:36] local.INFO: Passing IMEI to GPS processor {"connection_id":144398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:57:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":144398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:57:36] 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-07-27 23:57:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:57:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:57:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457005259008001,"66":27245,"52":206,"79":21504,"24":57,"16":359610074026475520,"45":9142518376200730624},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,79,24,16,45]} 
[2026-07-27 23:57:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:57:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:57:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457005259008001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:57:36] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-07-27 23:57:36] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-27 23:57:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359610074026475520,"km_value":359610074026475.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:57:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9142518376200730624,"description":"Unknown IO ID 45"} 
[2026-07-27 23:57:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457005259008001,"power":27245,"unknown_52":206,"unknown_79":21504,"ignition":57,"odometer":null,"unknown_45":9142518376200730624}} 
[2026-07-27 23:57:36] local.INFO: DEBUG: GPS processor result {"connection_id":144398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":556106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:57:36] local.INFO: GPS data processed {"connection_id":144398,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:57:36] local.INFO: Acknowledgment sent {"connection_id":144398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:58:00] local.INFO: TCP Data received {"connection_id":143234,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:58:00] local.INFO: Processing buffer {"connection_id":143234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:58:00] local.INFO: IMEI packet received {"connection_id":143234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 23:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":143234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 23:58:00] local.INFO: TCP Data received {"connection_id":143234,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:58:00] local.INFO: Processing buffer {"connection_id":143234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:58:00] local.INFO: IMEI packet received {"connection_id":143234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 23:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":143234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:58:13] local.INFO: TCP Data received {"connection_id":143234,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:58:13] local.INFO: Processing buffer {"connection_id":143234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:58:13] local.INFO: IMEI packet received {"connection_id":143234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 23:58:13] local.INFO: IMEI acknowledgment sent {"connection_id":143234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:58:14] local.INFO: TCP Data received {"connection_id":143234,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4d45658012d7ebb4006263238000d014b31..."} 
[2026-07-27 23:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4d45658012d7ebb4006263238000d014b31..."} 
[2026-07-27 23:58:14] local.INFO: Processing buffer {"connection_id":143234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4d45658012d7ebb4006263238000d014b31..."} 
[2026-07-27 23:58:14] local.INFO: Packet analysis {"connection_id":143234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4d4"} 
[2026-07-27 23:58:14] local.INFO: Extracted packet for processing {"connection_id":143234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4d4"} 
[2026-07-27 23:58:14] local.INFO: GPS Element Parsed {"raw_longitude":763280192,"raw_latitude":103166520,"longitude_deg":76.3280192,"latitude_deg":10.316652,"altitude":13,"angle":331,"satellites":49,"speed":57,"hex_longitude":"2d7ebb40","hex_latitude":"06263238","is_valid_coordinates":true} 
[2026-07-27 23: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-07-27 23:58:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457005260800001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:58:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359610559357779968,"note":"Value kept but may cause issues"} 
[2026-07-27 23:58:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9137311089133856768,"note":"Value kept but may cause issues"} 
[2026-07-27 23:58:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:58:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785176807000,"timestamp_ms":1785176807000,"timestamp_seconds":1785176807,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4d45658"} 
[2026-07-27 23:58:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:58:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 23: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-27 23:58:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23: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-07-27 23:58:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:58:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:58:14] local.INFO: Teltonika packet parsed successfully {"connection_id":143234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:58:14] local.INFO: Passing IMEI to GPS processor {"connection_id":143234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:58:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":143234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:58: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-07-27 23:58:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:58:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:58:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457005260800001,"66":27289,"52":206,"79":21504,"24":57,"16":359610559357779968,"45":9137311089133856768},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,79,24,16,45]} 
[2026-07-27 23:58:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:58:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:58:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457005260800001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:58:14] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-07-27 23:58:14] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-27 23:58:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359610559357779968,"km_value":359610559357779.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:58:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9137311089133856768,"description":"Unknown IO ID 45"} 
[2026-07-27 23:58:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457005260800001,"power":27289,"unknown_52":206,"unknown_79":21504,"ignition":57,"odometer":null,"unknown_45":9137311089133856768}} 
[2026-07-27 23:58:14] local.INFO: DEBUG: GPS processor result {"connection_id":143234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":556107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:58:14] local.INFO: GPS data processed {"connection_id":143234,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:58:14] local.INFO: Acknowledgment sent {"connection_id":143234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:59:05] local.INFO: TCP Data received {"connection_id":144399,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:59:05] local.INFO: Processing buffer {"connection_id":144399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:59:05] local.INFO: IMEI packet received {"connection_id":144399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-27 23:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":144399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-27 23:59:10] local.INFO: TCP Data received {"connection_id":144399,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:59:10] local.INFO: Processing buffer {"connection_id":144399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-27 23:59:10] local.INFO: IMEI packet received {"connection_id":144399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-27 23:59:10] local.INFO: IMEI acknowledgment sent {"connection_id":144399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-27 23:59:11] local.INFO: TCP Data received {"connection_id":144399,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4d471b0012d7ea880062654a0000d014b2f..."} 
[2026-07-27 23:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4d471b0012d7ea880062654a0000d014b2f..."} 
[2026-07-27 23:59:11] local.INFO: Processing buffer {"connection_id":144399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4d471b0012d7ea880062654a0000d014b2f..."} 
[2026-07-27 23:59:11] local.INFO: Packet analysis {"connection_id":144399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4d4"} 
[2026-07-27 23:59:11] local.INFO: Extracted packet for processing {"connection_id":144399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4d4"} 
[2026-07-27 23:59:11] local.INFO: GPS Element Parsed {"raw_longitude":763275392,"raw_latitude":103175328,"longitude_deg":76.3275392,"latitude_deg":10.3175328,"altitude":13,"angle":331,"satellites":47,"speed":57,"hex_longitude":"2d7ea880","hex_latitude":"062654a0","is_valid_coordinates":true} 
[2026-07-27 23:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:59:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457005262592001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:59:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359611044689084416,"note":"Value kept but may cause issues"} 
[2026-07-27 23:59:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9131963064578619392,"note":"Value kept but may cause issues"} 
[2026-07-27 23:59:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:59:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785176814000,"timestamp_ms":1785176814000,"timestamp_seconds":1785176814,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4d471b0"} 
[2026-07-27 23:59:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:59:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 23:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-07-27 23:59:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2105,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:59:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:59:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:59:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:59:11] local.INFO: Teltonika packet parsed successfully {"connection_id":144399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:59:11] local.INFO: Passing IMEI to GPS processor {"connection_id":144399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:59:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":144399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:59: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-07-27 23:59:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:59:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:59:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457005262592001,"66":27300,"52":206,"79":21504,"24":57,"16":359611044689084416,"45":9131963064578619392},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,79,24,16,45]} 
[2026-07-27 23:59:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:59:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:59:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457005262592001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:59:11] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-07-27 23:59:11] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-27 23:59:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359611044689084416,"km_value":359611044689084.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:59:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9131963064578619392,"description":"Unknown IO ID 45"} 
[2026-07-27 23:59:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457005262592001,"power":27300,"unknown_52":206,"unknown_79":21504,"ignition":57,"odometer":null,"unknown_45":9131963064578619392}} 
[2026-07-27 23:59:11] local.INFO: DEBUG: GPS processor result {"connection_id":144399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":556108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:59:11] local.INFO: GPS data processed {"connection_id":144399,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:59:11] local.INFO: Acknowledgment sent {"connection_id":144399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-27 23:59:42] local.INFO: TCP Data received {"connection_id":144399,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019fa4d5f080012d7de4000627e5a8001c015a31..."} 
[2026-07-27 23:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":144399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fa4d5f080012d7de4000627e5a8001c015a31..."} 
[2026-07-27 23:59:42] local.INFO: Processing buffer {"connection_id":144399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fa4d5f080012d7de4000627e5a8001c015a31..."} 
[2026-07-27 23:59:42] local.INFO: Packet analysis {"connection_id":144399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fa4d5"} 
[2026-07-27 23:59:42] local.INFO: Extracted packet for processing {"connection_id":144399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fa4d5"} 
[2026-07-27 23:59:42] local.INFO: GPS Element Parsed {"raw_longitude":763225088,"raw_latitude":103277992,"longitude_deg":76.3225088,"latitude_deg":10.3277992,"altitude":28,"angle":346,"satellites":49,"speed":22,"hex_longitude":"2d7de400","hex_latitude":"0627e5a8","is_valid_coordinates":true} 
[2026-07-27 23:59:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-27 23:59:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457005285888001,"note":"Value kept but may cause issues"} 
[2026-07-27 23:59:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359616585196896256,"note":"Value kept but may cause issues"} 
[2026-07-27 23:59:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9074049588146610176,"note":"Value kept but may cause issues"} 
[2026-07-27 23:59:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-27 23:59:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785176912000,"timestamp_ms":1785176912000,"timestamp_seconds":1785176912,"priority":1,"record_length":96,"hex_timestamp":"0000019fa4d5f080"} 
[2026-07-27 23:59:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-27 23:59:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-27 23: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-27 23:59:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-27 23:59:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-27 23:59:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-27 23:59:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-27 23:59:42] local.INFO: Teltonika packet parsed successfully {"connection_id":144399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-27 23:59:42] local.INFO: Passing IMEI to GPS processor {"connection_id":144399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:59:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":144399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-27 23:59: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-07-27 23:59:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-27 23:59:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-27 23:59:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457005285888001,"66":27300,"53":206,"79":21504,"24":22,"16":359616585196896256,"45":9074049588146610176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,79,24,16,45]} 
[2026-07-27 23:59:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-27 23:59:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-27 23:59:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457005285888001,"description":"Unknown IO ID 0"} 
[2026-07-27 23:59:42] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-07-27 23:59:42] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-27 23:59:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359616585196896256,"km_value":359616585196896.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-27 23:59:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9074049588146610176,"description":"Unknown IO ID 45"} 
[2026-07-27 23:59:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457005285888001,"power":27300,"unknown_53":206,"unknown_79":21504,"ignition":22,"odometer":null,"unknown_45":9074049588146610176}} 
[2026-07-27 23:59:42] local.INFO: DEBUG: GPS processor result {"connection_id":144399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":556109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-27 23:59:42] local.INFO: GPS data processed {"connection_id":144399,"processed":1,"errors":0,"total":1} 
[2026-07-27 23:59:42] local.INFO: Acknowledgment sent {"connection_id":144399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
